@univerjs-pro/collaboration-client 0.11.0-nightly.202511151013 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 +11 -11
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x11fce5=_0x26d2;(function(_0x5a17a7,_0x4d8322){var _0x41227f=_0x26d2,_0x43a347=_0x5a17a7();while(!![]){try{var _0x14d98d=parseInt(_0x41227f(0x17d))/0x1+-parseInt(_0x41227f(0x3cf))/0x2+-parseInt(_0x41227f(0x2fb))/0x3*(-parseInt(_0x41227f(0x362))/0x4)+parseInt(_0x41227f(0x1df))/0x5*(parseInt(_0x41227f(0x237))/0x6)+-parseInt(_0x41227f(0x301))/0x7+-parseInt(_0x41227f(0x2d9))/0x8*(parseInt(_0x41227f(0x110))/0x9)+parseInt(_0x41227f(0x320))/0xa;if(_0x14d98d===_0x4d8322)break;else _0x43a347['push'](_0x43a347['shift']());}catch(_0x400c8a){_0x43a347['push'](_0x43a347['shift']());}}}(_0x4970,0x557a5));var bi=Object[_0x11fce5(0x337)],Di=(_0x4e8989,_0x4c5815,_0x38a940)=>_0x4c5815 in _0x4e8989?bi(_0x4e8989,_0x4c5815,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38a940}):_0x4e8989[_0x4c5815]=_0x38a940,D=(_0x5d04ee,_0x591174,_0x442fb0)=>Di(_0x5d04ee,typeof _0x591174!=_0x11fce5(0x3d2)?_0x591174+'':_0x591174,_0x442fb0);import{CollaborationEvent as _0x34af1a,ITransformService as _0x3cb156,isTransformMutationsWithChangesetSuccess as _0x25b4ba,mapDocumentTypeToUniverType as _0x1f81f7,RevisionService as _0x29042f,isTransformChangesetsSuccess as _0x10c704,EmptyMutationInfo as _0x2ee529,CompressMutationService as _0x149eda,parseProtocolChangeset as _0x54c39c,uuidv4 as _0x3eff4d,ISnapshotServerService as _0x596050,parseChangesetToProtocol as _0x104dd3,SnapshotService as _0x4d1a6d,textEncoder as _0x507c6b,b64DecodeUnicode as _0x5804fd,isTransformMutationsWithChangesetFailure as _0x186bcf,UniverCollaborationPlugin as _0x10c7c8}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x12d3b5,Inject as _0x2d55c5,UserManagerService as _0x43ff43,Disposable as _0x75f90f,UniverInstanceType as _0x529613,ILogService as _0x1df9aa,IConfigService as _0x4762e8,Optional as _0xe7a6e7,RxDisposable as _0x3f27f5,createIdentifier as _0x40b8d5,Injector as _0x2fa53b,Tools as _0x39e2a3,Rectangle as _0x7fa524,ICommandService as _0x3a47f5,JSONX as _0x1444c0,IUndoRedoService as _0x33866c,IPermissionService as _0x50b040,LocaleService as _0x246818,sequenceExecute as _0xf67648,toDisposable as _0x91ec0a,CommandType as _0x24c6a0,DisposableCollection as _0x53d4ad,Workbook as _0x39a33e,generateRandomId as _0x4cb107,MentionType as _0x59c210,isInternalEditorID as _0xfd5181,LocalUndoRedoService as _0x129fa2,IContextService as _0x1d39e0,DependentOn as _0x1bc563,Plugin as _0x17b8e2,merge as _0x1dd14a,mergeOverrideWithDependencies as _0x48e071,IAuthzIoService as _0x257af0,IMentionIOService as _0x108e7e,registerDependencies as _0x341bdf,Quantity as _0x56c9f4,touchDependencies as _0x1d83e0}from'@univerjs/core';import{RichTextEditingMutation as _0x312109}from'@univerjs/docs';import{SheetsSelectionsService as _0xf81ac,SetSelectionsOperation as _0x42d879,InsertSheetMutation as _0x32893e,WorkbookEditablePermission as _0x380b83,SheetPermissionInitController as _0x27c6e3}from'@univerjs/sheets';import{Subject as _0x47b396,merge as _0x3697f0,of as _0x55f4fc,BehaviorSubject as _0x5908b4,takeUntil as _0x541d53,ReplaySubject as _0x37b769,take as _0x57d335,map as _0x311905,shareReplay as _0x2ac085,firstValueFrom as _0x4b16f8,concatMap as _0x30be5a}from'rxjs';import{ITelemetryService as _0x3fe893}from'@univerjs/telemetry';import{map as _0x4b0737,take as _0x4ea921,filter as _0x295c81,delay as _0xd9e091,takeUntil as _0xa1274c}from'rxjs/operators';import{HTTPService as _0x4f418b,ISocketService as _0x1664d7,MergeInterceptorFactory as _0x528e9f,HTTPRequest as _0x2eadc7,UniverNetworkPlugin as _0x276b69,ThresholdInterceptorFactory as _0x8d0ab3}from'@univerjs/network';import{ImageSourceType as _0x4c3a25,ImageUploadStatusType as _0x12817a,IImageIoService as _0x5c9491}from'@univerjs/drawing';import{getGlobalObject as _0x2b8b0b}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs='SNAPSHOT_URL_KEY',ps=0x7d0,Es=_0x11fce5(0x2e9),Sr=_0x11fce5(0x1e2),ms=_0x11fce5(0x3e6),Is=0x7530,di=_0x11fce5(0x2b5),fi=0x4e20,Ss=0x4e20,gs=_0x11fce5(0xfa),Ts=0x3,gr=_0x11fce5(0x1f4),Tr=0x3e8,Os='/universer-api/comb',Rs=_0x11fce5(0x1ed),Or=_0x11fce5(0x3d6),Rr=_0x11fce5(0x3c7);var vi=(_0x44fdf9=>(_0x44fdf9[_0x44fdf9['UNDEFINED']=0x0]=_0x11fce5(0x16b),_0x44fdf9[_0x44fdf9['OK']=0x1]='OK',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2d4)]=0x2]=_0x11fce5(0x2d4),_0x44fdf9[_0x44fdf9['PERMISSION_DENIED']=0x3]=_0x11fce5(0x21d),_0x44fdf9[_0x44fdf9['NOT_FOUND']=0x4]=_0x11fce5(0xf2),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3ef)]=0x5]='UNAUTHENTICATED',_0x44fdf9[_0x44fdf9['ALREADY_EXISTS']=0x6]=_0x11fce5(0x245),_0x44fdf9[_0x44fdf9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x3da)]=0x8]='TOO_MANY_REQUESTS',_0x44fdf9[_0x44fdf9['COMPLETION_FINISHED']=0x9]=_0x11fce5(0x303),_0x44fdf9[_0x44fdf9[_0x11fce5(0x257)]=0xa]='LOGIN_FAILED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x16a)]=0xb]=_0x11fce5(0x16a),_0x44fdf9[_0x44fdf9[_0x11fce5(0x273)]=0xc]=_0x11fce5(0x273),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3e4)]=0xd]=_0x11fce5(0x3e4),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2f8)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x399)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2dd)]=0x10]=_0x11fce5(0x2dd),_0x44fdf9[_0x44fdf9['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x11fce5(0x25e),_0x44fdf9[_0x44fdf9['ERROR_AGAIN']=0x65]=_0x11fce5(0x322),_0x44fdf9[_0x44fdf9[_0x11fce5(0x197)]=0xc9]=_0x11fce5(0x197),_0x44fdf9[_0x44fdf9['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x44fdf9[_0x44fdf9[_0x11fce5(0x131)]=0x1389]=_0x11fce5(0x131),_0x44fdf9[_0x44fdf9[_0x11fce5(0x323)]=0x1771]=_0x11fce5(0x323),_0x44fdf9[_0x44fdf9[_0x11fce5(0x265)]=0x1772]=_0x11fce5(0x265),_0x44fdf9[_0x44fdf9[_0x11fce5(0x36e)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x44fdf9[_0x44fdf9[_0x11fce5(0x28b)]=0x1b59]=_0x11fce5(0x28b),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3dd)]=0x1b5a]=_0x11fce5(0x3dd),_0x44fdf9[_0x44fdf9['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x44fdf9[_0x44fdf9['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x11fce5(0x163),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1e3)]=0x1b5d]=_0x11fce5(0x1e3),_0x44fdf9[_0x44fdf9[_0x11fce5(0x3cd)]=0x1f41]=_0x11fce5(0x3cd),_0x44fdf9[_0x44fdf9[_0x11fce5(0x286)]=0x2329]=_0x11fce5(0x286),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2f5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x376)]=0x232b]=_0x11fce5(0x376),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1a5)]=0x232c]=_0x11fce5(0x1a5),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x44fdf9[_0x44fdf9[_0x11fce5(0x12f)]=0x2711]=_0x11fce5(0x12f),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2c2)]=0x2712]=_0x11fce5(0x2c2),_0x44fdf9[_0x44fdf9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x11fce5(0x3dc),_0x44fdf9[_0x44fdf9[_0x11fce5(0x27a)]=0x2714]=_0x11fce5(0x27a),_0x44fdf9[_0x44fdf9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x44fdf9[_0x44fdf9[_0x11fce5(0x168)]=0x271b]=_0x11fce5(0x168),_0x44fdf9[_0x44fdf9[_0x11fce5(0x281)]=0x271c]=_0x11fce5(0x281),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b3)]=0x271d]=_0x11fce5(0x2b3),_0x44fdf9[_0x44fdf9[_0x11fce5(0x39c)]=0x271e]=_0x11fce5(0x39c),_0x44fdf9[_0x44fdf9[_0x11fce5(0x22d)]=0x271f]=_0x11fce5(0x22d),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2cd)]=0x2720]=_0x11fce5(0x2cd),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1e6)]=0x2af9]=_0x11fce5(0x1e6),_0x44fdf9[_0x44fdf9['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x11fce5(0x151),_0x44fdf9[_0x44fdf9[_0x11fce5(0x2b9)]=0x2ee2]=_0x11fce5(0x2b9),_0x44fdf9[_0x44fdf9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x11fce5(0x123),_0x44fdf9[_0x44fdf9[_0x11fce5(0x371)]=0x2ee4]=_0x11fce5(0x371),_0x44fdf9[_0x44fdf9[_0x11fce5(0x208)]=0x2ee5]=_0x11fce5(0x208),_0x44fdf9[_0x44fdf9['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x44fdf9[_0x44fdf9[_0x11fce5(0x2bc)]=0x32ca]=_0x11fce5(0x2bc),_0x44fdf9[_0x44fdf9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x11fce5(0x2a6),_0x44fdf9[_0x44fdf9['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x11fce5(0x3c6),_0x44fdf9[_0x44fdf9[_0x11fce5(0x374)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x238)]=0x36b3]=_0x11fce5(0x238),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1ca)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x44fdf9[_0x44fdf9[_0x11fce5(0x160)]=0x3715]=_0x11fce5(0x160),_0x44fdf9[_0x44fdf9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x11fce5(0x3ab),_0x44fdf9[_0x44fdf9[_0x11fce5(0x108)]=0x3717]=_0x11fce5(0x108),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1ef)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x44fdf9[_0x44fdf9[_0x11fce5(0x18c)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x44fdf9[_0x44fdf9[_0x11fce5(0x112)]=0x3a9a]=_0x11fce5(0x112),_0x44fdf9[_0x44fdf9[_0x11fce5(0x153)]=0x3a9b]=_0x11fce5(0x153),_0x44fdf9[_0x44fdf9[_0x11fce5(0x38d)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x44fdf9[_0x44fdf9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x11fce5(0x2c0),_0x44fdf9[_0x44fdf9[_0x11fce5(0x1b7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x44fdf9[_0x44fdf9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x11fce5(0x1f7),_0x44fdf9[_0x44fdf9['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x11fce5(0x3df),_0x44fdf9[_0x44fdf9[_0x11fce5(0x31e)]=-0x1]='UNRECOGNIZED',_0x44fdf9))(vi||{}),Q=(_0x5b68e3=>(_0x5b68e3[_0x5b68e3[_0x11fce5(0x285)]=0x0]='UNIVER_UNKNOWN',_0x5b68e3[_0x5b68e3[_0x11fce5(0x346)]=0x1]='UNIVER_DOC',_0x5b68e3[_0x5b68e3['UNIVER_SHEET']=0x2]=_0x11fce5(0x190),_0x5b68e3[_0x5b68e3['UNIVER_SLIDE']=0x3]=_0x11fce5(0x39b),_0x5b68e3[_0x5b68e3['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x5b68e3[_0x5b68e3[_0x11fce5(0x31e)]=-0x1]='UNRECOGNIZED',_0x5b68e3))(Q||{}),j=(_0x27ae3b=>(_0x27ae3b[_0x27ae3b[_0x11fce5(0x19f)]=0x0]='UNKNOWN_CMD',_0x27ae3b[_0x27ae3b['HELLO']=0x1]=_0x11fce5(0x1bb),_0x27ae3b[_0x27ae3b[_0x11fce5(0xf3)]=0x2]=_0x11fce5(0xf3),_0x27ae3b[_0x27ae3b[_0x11fce5(0x147)]=0x3]=_0x11fce5(0x147),_0x27ae3b[_0x27ae3b[_0x11fce5(0x15e)]=0x4]='INGEST',_0x27ae3b[_0x27ae3b['HEARTBEAT']=0x5]=_0x11fce5(0x271),_0x27ae3b[_0x27ae3b['RECV']=0x6]=_0x11fce5(0x29f),_0x27ae3b[_0x27ae3b[_0x11fce5(0x31e)]=-0x1]=_0x11fce5(0x31e),_0x27ae3b))(j||{}),pe=(_0x1f8a3b=>(_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x1d6)]=0x0]='UNKNOWN_CODE',_0x1f8a3b[_0x1f8a3b['OK']=0x1]='OK',_0x1f8a3b[_0x1f8a3b['FAIL']=0x2]='FAIL',_0x1f8a3b[_0x1f8a3b['JOIN_ROOM_FULL']=0x3e9]=_0x11fce5(0x26a),_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x209)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x180)]=0x3eb]=_0x11fce5(0x180),_0x1f8a3b[_0x1f8a3b[_0x11fce5(0x2ae)]=0x3ec]=_0x11fce5(0x2ae),_0x1f8a3b[_0x1f8a3b['UNRECOGNIZED']=-0x1]=_0x11fce5(0x31e),_0x1f8a3b))(pe||{}),pi=(_0x347af0=>(_0x347af0[_0x347af0['Undefined']=0x0]=_0x11fce5(0x248),_0x347af0[_0x347af0['HttpImport']=0x1]=_0x11fce5(0x1d7),_0x347af0[_0x347af0['HttpExport']=0x2]=_0x11fce5(0x215),_0x347af0[_0x347af0[_0x11fce5(0xf0)]=0x3]='UnitEmbedded',_0x347af0[_0x347af0['UnitSnapshot']=0x4]=_0x11fce5(0x119),_0x347af0[_0x347af0[_0x11fce5(0x392)]=0x5]=_0x11fce5(0x392),_0x347af0[_0x347af0[_0x11fce5(0x357)]=0x6]=_0x11fce5(0x357),_0x347af0[_0x347af0[_0x11fce5(0x31e)]=-0x1]=_0x11fce5(0x31e),_0x347af0))(pi||{});const Cs=_0x11fce5(0x37e);function Ns(_0x41c233){var _0x575c49=_0x11fce5;return JSON[_0x575c49(0x3be)](_0x41c233)[_0x575c49(0x115)];}var re=(_0x534974=>(_0x534974['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x534974[_0x11fce5(0x21d)]=_0x11fce5(0x21d),_0x534974['CONFLICT']='CONFLICT',_0x534974[_0x11fce5(0x130)]=_0x11fce5(0x130),_0x534974[_0x11fce5(0x16d)]=_0x11fce5(0x16d),_0x534974['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x534974['SOCKET_FAILED']=_0x11fce5(0x269),_0x534974[_0x11fce5(0x364)]=_0x11fce5(0x364),_0x534974))(re||{});class ve{constructor(){var _0xbfeee8=_0x11fce5;D(this,_0xbfeee8(0x2f9),new _0x47b396()),D(this,_0xbfeee8(0x25f),this[_0xbfeee8(0x2f9)]['asObservable']());}[_0x11fce5(0x351)](_0x3a9b0f){var _0x38f60e=_0x11fce5;this['_event$'][_0x38f60e(0x16e)](_0x3a9b0f);}}class Ei{constructor(){var _0x1bef6d=_0x11fce5;D(this,'_commentUpdate$',new _0x47b396()),D(this,'commentUpdate$',this[_0x1bef6d(0x2b8)][_0x1bef6d(0x3c5)]());}['onCommentUpdate'](_0x201293){var _0x501246=_0x11fce5;this[_0x501246(0x2b8)]['next'](_0x201293);}}var bs=Object[_0x11fce5(0x381)],Ds=(_0x25c40b,_0x2e7ee1,_0x455658,_0x4cf008)=>{var _0x1a0aac=_0x11fce5;for(var _0x2fec31=_0x4cf008>0x1?void 0x0:_0x4cf008?bs(_0x2e7ee1,_0x455658):_0x2e7ee1,_0x23e4bc=_0x25c40b[_0x1a0aac(0x115)]-0x1,_0x4573a4;_0x23e4bc>=0x0;_0x23e4bc--)(_0x4573a4=_0x25c40b[_0x23e4bc])&&(_0x2fec31=_0x4573a4(_0x2fec31)||_0x2fec31);return _0x2fec31;},Ft=(_0x478372,_0x15723a)=>(_0x4269a4,_0x2f238f)=>_0x15723a(_0x4269a4,_0x2f238f,_0x478372);let Pe=class extends _0x75f90f{constructor(_0x2cc6b8,_0x22ff07){var _0x4a4610=_0x11fce5;super(),D(this,'_roomMembers',new Map()),D(this,_0x4a4610(0x2fe),new _0x47b396()),(this[_0x4a4610(0x2c5)]=_0x2cc6b8,this[_0x4a4610(0x2ab)]=_0x22ff07,this[_0x4a4610(0x3b2)](_0x3697f0(this[_0x4a4610(0x2c5)][_0x4a4610(0x35e)](_0x529613[_0x4a4610(0x190)])[_0x4a4610(0x377)](_0x4b0737(_0x427c40=>_0x427c40['getUnitId']())),this[_0x4a4610(0x2c5)]['getTypeOfUnitDisposed$'](_0x529613[_0x4a4610(0x346)])['pipe'](_0x4b0737(_0x46db90=>_0x46db90[_0x4a4610(0x378)]())),this[_0x4a4610(0x2c5)][_0x4a4610(0x35e)](_0x529613['UNIVER_SLIDE'])[_0x4a4610(0x377)](_0x4b0737(_0x31e990=>_0x31e990['getUnitId']())))[_0x4a4610(0x1c6)](_0xc7bfdf=>this[_0x4a4610(0x27f)](_0xc7bfdf))));}[_0x11fce5(0x3aa)](_0x882be){var _0x31aa86=_0x11fce5;return this[_0x31aa86(0x175)][_0x31aa86(0x33c)](_0x882be)?_0x55f4fc(this[_0x31aa86(0x175)][_0x31aa86(0x277)](_0x882be)):this[_0x31aa86(0x2fe)]['pipe'](_0x4b0737(_0xf3e845=>{var _0x30e3b5=_0x31aa86;if(_0xf3e845===_0x882be)return this[_0x30e3b5(0x175)][_0x30e3b5(0x277)](_0xf3e845);}));}[_0x11fce5(0x2ce)](_0x470c8f){var _0x234796=_0x11fce5;this[_0x234796(0x2ab)][_0x234796(0x2ce)](_0x470c8f);}[_0x11fce5(0x2fa)](){var _0x40d8d2=_0x11fce5;return this[_0x40d8d2(0x2ab)][_0x40d8d2(0x2fa)]();}[_0x11fce5(0x120)](_0x4768d5,_0x510dda){var _0x4f0165=_0x11fce5;let _0x44ba19=this[_0x4f0165(0x175)][_0x4f0165(0x277)](_0x4768d5);_0x44ba19||(_0x44ba19=new ys(),this['_roomMembers'][_0x4f0165(0x231)](_0x4768d5,_0x44ba19),this[_0x4f0165(0x2fe)][_0x4f0165(0x16e)](_0x4768d5)),_0x44ba19[_0x4f0165(0x120)](_0x510dda);}[_0x11fce5(0x1d9)](_0x3dee5c,_0x1a38a2){var _0x59f001=_0x11fce5;const _0x527a94=this[_0x59f001(0x175)][_0x59f001(0x277)](_0x3dee5c);_0x527a94&&_0x527a94['removeMember'](_0x1a38a2);}['getRoom'](_0x5045d2){var _0x2b1218=_0x11fce5;return this[_0x2b1218(0x175)][_0x2b1218(0x277)](_0x5045d2);}['getMember'](_0x46abc3,_0x306d3a){var _0x51e8cb=_0x11fce5;const _0x22f568=this[_0x51e8cb(0x175)][_0x51e8cb(0x277)](_0x46abc3);if(_0x22f568)return _0x22f568[_0x51e8cb(0x3ce)](_0x306d3a);}[_0x11fce5(0x27f)](_0x26d747){var _0xf7f0d9=_0x11fce5;const _0xe7688a=this[_0xf7f0d9(0x175)]['get'](_0x26d747);_0xe7688a&&(_0xe7688a[_0xf7f0d9(0x3e7)](),this[_0xf7f0d9(0x175)][_0xf7f0d9(0x29a)](_0x26d747));}[_0x11fce5(0x3e7)](){var _0x3d6b8a=_0x11fce5;this[_0x3d6b8a(0x175)][_0x3d6b8a(0x390)](_0xc7f4b7=>_0xc7f4b7[_0x3d6b8a(0x3e7)]()),this['_roomMembers'][_0x3d6b8a(0x3bd)](),this[_0x3d6b8a(0x2fe)][_0x3d6b8a(0x213)]();}};Pe=Ds([Ft(0x0,_0x12d3b5),Ft(0x1,_0x2d55c5(_0x43ff43))],Pe);class ys extends _0x75f90f{constructor(){var _0x4552a9=_0x11fce5;super(...arguments),D(this,_0x4552a9(0x37d),new Map()),D(this,_0x4552a9(0x1d5),new _0x5908b4(this[_0x4552a9(0x37d)])),D(this,_0x4552a9(0x2ea),this['_members$'][_0x4552a9(0x3c5)]());}['dispose'](){var _0x22aef6=_0x11fce5;this['_members'][_0x22aef6(0x3bd)]();}[_0x11fce5(0x120)](_0x4b374f){var _0x7852eb=_0x11fce5;this[_0x7852eb(0x37d)][_0x7852eb(0x231)](_0x4b374f[_0x7852eb(0x2ff)],_0x4b374f),this[_0x7852eb(0x18d)]();}[_0x11fce5(0x1d9)](_0x2a8f29){this['_members']['delete'](_0x2a8f29);}[_0x11fce5(0x3ce)](_0x4fb7fa){var _0xe82f3a=_0x11fce5;return this['_members'][_0xe82f3a(0x277)](_0x4fb7fa);}['getAllMembers'](){var _0x2506a5=_0x11fce5;return Array[_0x2506a5(0x15a)](this[_0x2506a5(0x37d)]['values']());}[_0x11fce5(0x18d)](){var _0x37a54c=_0x11fce5;this[_0x37a54c(0x1d5)][_0x37a54c(0x16e)](this[_0x37a54c(0x37d)]);}}var Us=Object[_0x11fce5(0x381)],As=(_0x5f17a6,_0xd86981,_0x1a3d38,_0x15b33a)=>{var _0x1b9bfd=_0x11fce5;for(var _0x123b5f=_0x15b33a>0x1?void 0x0:_0x15b33a?Us(_0xd86981,_0x1a3d38):_0xd86981,_0x8abfb3=_0x5f17a6[_0x1b9bfd(0x115)]-0x1,_0x1913a0;_0x8abfb3>=0x0;_0x8abfb3--)(_0x1913a0=_0x5f17a6[_0x8abfb3])&&(_0x123b5f=_0x1913a0(_0x123b5f)||_0x123b5f);return _0x123b5f;},Oe=(_0x4ff5a8,_0x22a690)=>(_0x3eb5ec,_0x52d4f3)=>_0x22a690(_0x3eb5ec,_0x52d4f3,_0x4ff5a8),me=(_0xcac2fc=>(_0xcac2fc[_0xcac2fc[_0x11fce5(0x124)]=0x0]=_0x11fce5(0x124),_0xcac2fc[_0xcac2fc['JOINING']=0x1]=_0x11fce5(0x210),_0xcac2fc[_0xcac2fc['OFFLINE']=0x2]=_0x11fce5(0x353),_0xcac2fc[_0xcac2fc[_0x11fce5(0x173)]=0x3]=_0x11fce5(0x173),_0xcac2fc))(me||{});const jt={[pe[_0x11fce5(0x270)]]:_0x11fce5(0x38c),[pe[_0x11fce5(0x26a)]]:_0x11fce5(0x359),[pe[_0x11fce5(0x209)]]:'session.room-not-exists',[pe['JOIN_ROOM_PERMISSION_DENIED']]:_0x11fce5(0x201),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x11fce5(0x3e3)};let mt=class extends _0x3f27f5{constructor(_0x4d6343,_0x563b0b,_0x17072c,_0x107421,_0x4ecb8d,_0x4c17a8,_0x212daa,_0x24df6c){var _0x4d4f80=_0x11fce5;super(),D(this,'_sessionStatus$',new _0x5908b4(0x0)),D(this,_0x4d4f80(0x262),this[_0x4d4f80(0x2c7)][_0x4d4f80(0x3c5)]()),D(this,_0x4d4f80(0x2f9),new _0x47b396()),D(this,'event$',this[_0x4d4f80(0x2f9)][_0x4d4f80(0x3c5)]()),D(this,_0x4d4f80(0x31a)),D(this,_0x4d4f80(0x33b)),D(this,_0x4d4f80(0x11c)),D(this,_0x4d4f80(0x26c),!0x1),D(this,_0x4d4f80(0x3ea),null),(this[_0x4d4f80(0x283)]=_0x4d6343,this['_logService']=_0x17072c,this[_0x4d4f80(0x182)]=_0x107421,this[_0x4d4f80(0x12e)]=_0x4ecb8d,this[_0x4d4f80(0x217)]=_0x4c17a8,this[_0x4d4f80(0x318)]=_0x212daa,this[_0x4d4f80(0x1fb)]=_0x24df6c,this[_0x4d4f80(0x26c)]=!!this[_0x4d4f80(0x1fb)],_0x563b0b[_0x4d4f80(0x377)](_0x541d53(this[_0x4d4f80(0x106)]))[_0x4d4f80(0x1c6)](_0x535813=>{var _0x4e8288=_0x4d4f80,_0x207de7;typeof _0x535813>'u'||(this[_0x4e8288(0x31a)]=_0x535813,_0x535813?(this[_0x4e8288(0x2a2)](_0x535813),this[_0x4e8288(0x33b)]=_0x535813[_0x4e8288(0x354)][_0x4e8288(0x1c6)](_0x346111=>{var _0x417159=_0x4e8288;_0x346111[_0x417159(0x363)]===this[_0x417159(0x283)]&&this['_onCombEvent'](_0x346111);})):(this[_0x4e8288(0x28e)](),this[_0x4e8288(0x2c7)]['next'](0x2),(_0x207de7=this[_0x4e8288(0x33b)])==null||_0x207de7[_0x4e8288(0x388)](),this[_0x4e8288(0x33b)]=null));}));}get[_0x11fce5(0x382)](){var _0x1b0051=_0x11fce5;return this[_0x1b0051(0x2c7)][_0x1b0051(0x293)]();}[_0x11fce5(0x3ff)](){var _0x320165=_0x11fce5,_0x15e8f4,_0x496c11;return(_0x496c11=(_0x15e8f4=this['_socket'])==null?void 0x0:_0x15e8f4[_0x320165(0x2ff)])!=null?_0x496c11:null;}[_0x11fce5(0x3e7)](){var _0x396e21=_0x11fce5;super[_0x396e21(0x3e7)](),this[_0x396e21(0x106)]['next'](),this['dispose$']['complete']();}['close'](){var _0x5d62fd=_0x11fce5,_0x21c3e3,_0x210e17;this[_0x5d62fd(0x28e)](),(_0x21c3e3=this['_socket'])==null||_0x21c3e3[_0x5d62fd(0x338)]({'cmd':j[_0x5d62fd(0x147)],'data':{'roomID':this[_0x5d62fd(0x283)]}}),(_0x210e17=this[_0x5d62fd(0x31a)])==null||_0x210e17['close'](),this[_0x5d62fd(0x2f9)]['complete'](),this['_sessionStatus$'][_0x5d62fd(0x213)](),this[_0x5d62fd(0x3e7)]();}[_0x11fce5(0x192)](_0x87a47){var _0x3029d8=_0x11fce5;_0x87a47[_0x3029d8(0x2c6)]===j[_0x3029d8(0xf3)]?this[_0x3029d8(0x2b0)](_0x87a47):_0x87a47[_0x3029d8(0x2c6)]===j[_0x3029d8(0x29f)]&&this['_onRecvEvent'](_0x87a47);}['_joinRoom'](_0x16a427){var _0x398afd=_0x11fce5;this[_0x398afd(0x2c7)][_0x398afd(0x16e)](0x1),_0x16a427[_0x398afd(0x338)]({'cmd':j[_0x398afd(0xf3)],'routeKey':this[_0x398afd(0x283)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x11fce5(0x2b0)](_0x294416){var _0x4de816=_0x11fce5,_0x53ba9d;if(_0x294416['code']in jt){this['_collaborationUIEventService']['emitEvent']({'id':re[_0x4de816(0x16d)],'data':jt[_0x294416[_0x4de816(0x2a8)]]}),this['_sessionStatus$'][_0x4de816(0x16e)](0x2);return;}this['_sessionStatus$'][_0x4de816(0x16e)](0x3);const _0x231b08=(_0x53ba9d=_0x294416[_0x4de816(0x292)][_0x4de816(0x148)][this['_unitID']])==null?void 0x0:_0x53ba9d[_0x4de816(0xef)];_0x231b08&&_0x231b08[_0x4de816(0x390)](_0x2d3c31=>this[_0x4de816(0x12e)][_0x4de816(0x120)](this[_0x4de816(0x283)],_0x2d3c31));}[_0x11fce5(0x2d5)](_0x3693c2){var _0x1426e5=_0x11fce5;try{const _0x8bba51=_0x3693c2[_0x1426e5(0x292)];switch(_0x8bba51[_0x1426e5(0x3cb)]){case _0x34af1a[_0x1426e5(0x391)]:this['_onUserJoin'](_0x8bba51),this['_event$'][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a['USERS_LEAVE']:this[_0x1426e5(0x276)](_0x8bba51),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a['CHANGESET_ACK']:case _0x34af1a['CHANGESET_SHOULD_RETRY']:this[_0x1426e5(0x296)](),this[_0x1426e5(0x118)](),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a[_0x1426e5(0x2b6)]:this[_0x1426e5(0x313)][_0x1426e5(0x177)](_0x1426e5(0x31c)+JSON[_0x1426e5(0x3be)](_0x8bba51)),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;case _0x34af1a[_0x1426e5(0xf8)]:this[_0x1426e5(0x217)][_0x1426e5(0x2e1)](_0x8bba51[_0x1426e5(0x292)]),this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);break;default:this[_0x1426e5(0x2f9)][_0x1426e5(0x16e)](_0x8bba51);}}catch(_0x52533e){this['_logService'][_0x1426e5(0x177)](_0x52533e,_0x3693c2);}}[_0x11fce5(0x1da)](_0x549854){var _0x41126a=_0x11fce5;this[_0x41126a(0x12e)][_0x41126a(0x120)](this[_0x41126a(0x283)],_0x549854[_0x41126a(0x292)]);}[_0x11fce5(0x276)](_0x38a462){var _0x3548e0=_0x11fce5;this['_memberService'][_0x3548e0(0x1d9)](this[_0x3548e0(0x283)],_0x38a462['data'][_0x3548e0(0x2ff)]);}async[_0x11fce5(0x338)](_0x2f2323,_0x1f1ef2){var _0x26a173=_0x11fce5;if(this[_0x26a173(0x382)]!==0x3||!this[_0x26a173(0x31a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x2f2323[_0x26a173(0x3cb)]===_0x34af1a[_0x26a173(0x1d1)]&&(this[_0x26a173(0x104)](),this['_startTelemetryCollaborationNewChangeset'](_0x2f2323)),this[_0x26a173(0x31a)][_0x26a173(0x338)]({'cmd':j[_0x26a173(0x15e)],'routeKey':_0x1f1ef2,'routeType':'','data':_0x2f2323});}catch(_0x4a08eb){this['_logService']['error'](_0x4a08eb);}}[_0x11fce5(0x104)](){var _0x32b916=_0x11fce5,_0x10904d;this[_0x32b916(0x11c)]=setTimeout(()=>{var _0x177958=_0x32b916;this['_collaborationTimeoutTimer']=null,this[_0x177958(0x318)][_0x177958(0x351)]({'id':re[_0x177958(0x364)]});},(_0x10904d=this[_0x32b916(0x182)]['getConfig'](di))!=null?_0x10904d:fi);}[_0x11fce5(0x118)](){var _0x3b1479=_0x11fce5;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x3b1479(0x11c)]),this[_0x3b1479(0x11c)]=null);}[_0x11fce5(0x2f3)](_0x4bc744){var _0xd0c8c0=_0x11fce5;if(!this[_0xd0c8c0(0x26c)])return;const {data:_0x426e71}=_0x4bc744,{unitID:_0x14dff0,changeset:_0xc7c827}=_0x426e71,{mutations:_0x20e4db,type:_0x45f8b0}=_0xc7c827;this['_telemetryInfo']={'unitId':_0x14dff0,'type':_0x45f8b0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x20e4db)};}[_0x11fce5(0x296)](){var _0x570f78=_0x11fce5;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x570f78(0x313)][_0x570f78(0x177)](_0x570f78(0x39f),_0x570f78(0x26e));return;}this[_0x570f78(0x3ea)][_0x570f78(0x373)]=performance[_0x570f78(0x219)](),this[_0x570f78(0x3ea)][_0x570f78(0x214)]=this['_telemetryInfo'][_0x570f78(0x373)]-this[_0x570f78(0x3ea)][_0x570f78(0x3b4)],this[_0x570f78(0x1fb)][_0x570f78(0x375)](Cs,this[_0x570f78(0x3ea)]),this['_telemetryInfo']=null;}}[_0x11fce5(0x28e)](){var _0x552929=_0x11fce5;this[_0x552929(0x3ea)]=null;}};mt=As([Oe(0x2,_0x1df9aa),Oe(0x3,_0x4762e8),Oe(0x4,_0x2d55c5(Pe)),Oe(0x5,_0x2d55c5(Ei)),Oe(0x6,_0x2d55c5(ve)),Oe(0x7,_0xe7a6e7(_0x3fe893))],mt);const J=_0x40b8d5('collaboration-client.local-cache-service');function Cr(_0x1ad067){return'unit-cache-'+_0x1ad067;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x5e2842,_0x56e7c6,_0x33f652,_0x353b4c)=>{var _0x52302e=_0x11fce5;for(var _0x513796=_0x353b4c>0x1?void 0x0:_0x353b4c?Ps(_0x56e7c6,_0x33f652):_0x56e7c6,_0x456f80=_0x5e2842[_0x52302e(0x115)]-0x1,_0xb4012b;_0x456f80>=0x0;_0x456f80--)(_0xb4012b=_0x5e2842[_0x456f80])&&(_0x513796=_0xb4012b(_0x513796)||_0x513796);return _0x513796;},ut=(_0xdf9c89,_0x54a25c)=>(_0x1a72ce,_0x52aa43)=>_0x54a25c(_0x1a72ce,_0x52aa43,_0xdf9c89);function Ms(_0x24aa27){var _0x54745d=_0x11fce5;const {unitID:_0xc430fd,mutations:_0x303b9b}=_0x24aa27;return{'unitId':_0xc430fd,'subUnitId':_0x303b9b[_0x54745d(0x115)]>0x0?_0x303b9b[0x0][_0x54745d(0x200)][_0x54745d(0x16c)]:null};}let it=class{constructor(_0x3ca90b,_0x121ee7,_0x524324){var _0x2f140a=_0x11fce5;this['_injector']=_0x3ca90b,this[_0x2f140a(0x305)]=_0x121ee7,this[_0x2f140a(0x12d)]=_0x524324;}['transformSelections'](_0x155117){var _0x449f51=_0x11fce5,_0x158530,_0xac176a,_0x56c825,_0x4afd9d;const _0x321c7a=this[_0x449f51(0x2b4)][_0x449f51(0x277)](_0xf81ac),{unitId:_0x5bd60b,subUnitId:_0x5b1973}=Ms(_0x155117),_0xe2f851=_0x321c7a==null?void 0x0:_0x321c7a['getWorkbookSelections'](_0x5bd60b)[_0x449f51(0x109)](),_0xbfbf84=(_0xac176a=(_0x158530=this[_0x449f51(0x12d)][_0x449f51(0x1ea)](_0x5bd60b))==null?void 0x0:_0x158530[_0x449f51(0x3c2)]())==null?void 0x0:_0xac176a[_0x449f51(0x2b7)]();if(_0xe2f851[_0x449f51(0x115)]===0x0||!_0x5bd60b||!_0x5b1973)return;const _0x4c75f3=[{'id':_0x42d879['id'],'params':{'unitId':_0x5bd60b,'subUnitId':_0xbfbf84,'selections':_0x39e2a3[_0x449f51(0x30c)](_0xe2f851)}}],_0x41de76=this[_0x449f51(0x305)]['transformMutationsWithChangeset'](_0x155117,_0x4c75f3);if(!_0x25b4ba(_0x41de76))throw _0x41de76[_0x449f51(0x177)];const _0xe142da=(_0x4afd9d=(_0x56c825=_0x41de76[_0x449f51(0x3ed)][0x0])==null?void 0x0:_0x56c825[_0x449f51(0x200)])==null?void 0x0:_0x4afd9d[_0x449f51(0x279)];if(Array['isArray'](_0xe142da)&&_0xe142da[_0x449f51(0x115)]){if(_0xe142da[_0x449f51(0x115)]===_0x4c75f3[0x0][_0x449f51(0x200)][_0x449f51(0x279)][_0x449f51(0x115)]&&_0xe142da['every']((_0x37c26c,_0x3eedbc)=>_0x7fa524[_0x449f51(0x29c)](_0x37c26c['range'],_0x4c75f3[0x0]['params'][_0x449f51(0x279)][_0x3eedbc][_0x449f51(0x288)])))return;this['_injector'][_0x449f51(0x277)](_0x3a47f5)[_0x449f51(0x336)](_0x42d879['id'],{'unitId':_0x5bd60b,'subUnitId':_0xbfbf84,'selections':_0xe142da});}}};it=ws([ut(0x0,_0x2d55c5(_0x2fa53b)),ut(0x1,_0x3cb156),ut(0x2,_0x12d3b5)],it);const _t=_0x40b8d5(_0x11fce5(0x3a2));var mi=(_0xdb9394=>(_0xdb9394[_0xdb9394[_0x11fce5(0x2ed)]=0x0]=_0x11fce5(0x2ed),_0xdb9394[_0xdb9394[_0x11fce5(0x126)]=0x1]=_0x11fce5(0x126),_0xdb9394))(mi||{});const K=_0x11fce5(0x1f0),Ls={},xs=new Set([_0x32893e['id']]);function Vt(_0x39c5bd,_0x545790,_0x52934f,_0xc176e,_0x4a4287){var _0x22a818=_0x11fce5,_0x21a39c,_0x38c372,_0x32ec79,_0x46ea6c;const _0x3ffd2c=[];for(const _0x110b97 of _0x39c5bd)if(xs['has'](_0x110b97['id'])){if(_0x3ffd2c[_0x22a818(0x115)]>0x0)break;_0x3ffd2c['push'](_0x110b97);break;}else _0x3ffd2c[_0x22a818(0x145)](_0x110b97);const _0x575324=(_0x38c372=(_0x21a39c=_0x4a4287['getCurrentUser']())==null?void 0x0:_0x21a39c[_0x22a818(0x142)])!=null?_0x38c372:_0x22a818(0x334),_0x1b3f85=(_0x46ea6c=(_0x32ec79=_0x4a4287[_0x22a818(0x2fa)]())==null?void 0x0:_0x32ec79[_0x22a818(0x2ff)])!=null?_0x46ea6c:_0x22a818(0x334);return{'changeset':{'unitID':_0x545790,'type':_0x1f81f7(_0x52934f['getUnitType'](_0x545790)),'baseRev':_0xc176e[_0x22a818(0x33e)](_0x545790),'revision':0x0,'userID':_0x575324,'memberID':_0x1b3f85,'mutations':_0x3ffd2c},'pendingMutations':_0x39c5bd[_0x22a818(0x2ee)](_0x3ffd2c[_0x22a818(0x115)])};}function ks(_0x568dff,_0x6d5417,_0x1d4f80,_0x1b67f7,_0x31bcd1){var _0x1c0843=_0x11fce5,_0x3e0871,_0x445fba,_0x13e5eb,_0x19996a;const _0x289790=[_0x568dff[_0x1c0843(0x275)]((_0x34ad4d,_0xd2703b)=>{var _0xa84c0f=_0x1c0843,_0x450c1a;const {id:_0x170cc7}=_0x34ad4d,{id:_0x209e25,type:_0x452b5a}=_0xd2703b,_0x30bdbd=(_0x450c1a=_0x34ad4d[_0xa84c0f(0x200)])!=null?_0x450c1a:{'actions':null},_0x198f76=_0xd2703b[_0xa84c0f(0x200)];if(_0x170cc7&&_0x170cc7!==_0x209e25)throw new Error(_0xa84c0f(0x329)+_0x170cc7+_0xa84c0f(0x3f1)+_0x209e25+'.');return{..._0x34ad4d,'id':_0x209e25,'type':_0x452b5a,'params':{'unitId':_0x198f76[_0xa84c0f(0x38f)],'textRanges':_0x198f76['textRanges'],'actions':_0x1444c0[_0xa84c0f(0x206)](_0x30bdbd[_0xa84c0f(0x3c4)],_0x198f76[_0xa84c0f(0x3c4)])}};},{})],_0x58030c=(_0x445fba=(_0x3e0871=_0x31bcd1[_0x1c0843(0x2fa)]())==null?void 0x0:_0x3e0871[_0x1c0843(0x142)])!=null?_0x445fba:_0x1c0843(0x334),_0x3526fa=(_0x19996a=(_0x13e5eb=_0x31bcd1['getCurrentUser']())==null?void 0x0:_0x13e5eb['memberID'])!=null?_0x19996a:_0x1c0843(0x334);return{'changeset':{'unitID':_0x6d5417,'type':_0x1f81f7(_0x1d4f80['getUnitType'](_0x6d5417)),'baseRev':_0x1b67f7['getCurrentRevOfUnit'](_0x6d5417),'revision':0x0,'userID':_0x58030c,'memberID':_0x3526fa,'mutations':_0x289790},'pendingMutations':[]};}function Ii(_0xbaf797,_0x3388a7){var _0x19a8ca=_0x11fce5;const _0x3ac955=new _0x37b769(0x1);return setTimeout(()=>_0x3ac955[_0x19a8ca(0x16e)](_0x3388a7),_0xbaf797),_0x3ac955[_0x19a8ca(0x3c5)]()[_0x19a8ca(0x377)](_0x57d335(0x1));}var $s=Object[_0x11fce5(0x381)],Se=(_0x2e8e43,_0x3b433e,_0x202e72,_0x1461ed)=>{for(var _0x2ae649=_0x1461ed>0x1?void 0x0:_0x1461ed?$s(_0x3b433e,_0x202e72):_0x3b433e,_0x2c3f2e=_0x2e8e43['length']-0x1,_0x497492;_0x2c3f2e>=0x0;_0x2c3f2e--)(_0x497492=_0x2e8e43[_0x2c3f2e])&&(_0x2ae649=_0x497492(_0x2ae649)||_0x2ae649);return _0x2ae649;},w=(_0x2e6cd5,_0x354610)=>(_0x105a71,_0x5f0706)=>_0x354610(_0x105a71,_0x5f0706,_0x2e6cd5),Si=(_0x17582c=>(_0x17582c[_0x11fce5(0x230)]='not_collab',_0x17582c[_0x11fce5(0xec)]=_0x11fce5(0x207),_0x17582c[_0x11fce5(0x358)]='pending',_0x17582c[_0x11fce5(0x2a0)]=_0x11fce5(0x187),_0x17582c[_0x11fce5(0x400)]=_0x11fce5(0x1bc),_0x17582c['FETCH_MISS']='fetch_missing',_0x17582c[_0x11fce5(0x183)]=_0x11fce5(0x116),_0x17582c[_0x11fce5(0x353)]=_0x11fce5(0x121),_0x17582c))(Si||{});const gi=0xea60;class ge{constructor(_0x5b32fe,_0x28d26a,_0x5ec08c,_0x13b5ce,_0x110c66,_0x32fa88,_0x338b5d,_0x354f3b,_0x3ce4df){var _0x2122a6=_0x11fce5;D(this,_0x2122a6(0x1af),null),D(this,'_pendingMutations',[]),(this[_0x2122a6(0x308)]=_0x5b32fe,this[_0x2122a6(0x2bf)]=_0x28d26a,this[_0x2122a6(0x21b)]=_0x110c66,this[_0x2122a6(0x35c)]=_0x32fa88,this[_0x2122a6(0x10c)]=_0x338b5d,this[_0x2122a6(0x3db)]=_0x354f3b,this['_localCacheService']=_0x3ce4df,this[_0x2122a6(0x1af)]=_0x5ec08c,this[_0x2122a6(0x2a9)]=_0x13b5ce);}[_0x11fce5(0x3d7)](_0x5309bd){var _0x2b26f4=_0x11fce5;const _0x429668=this[_0x2b26f4(0x3db)][_0x2b26f4(0x33e)](this[_0x2b26f4(0x308)]);return _0x5309bd['revision']>_0x429668+0x1?(this[_0x2b26f4(0x21b)]['onMissingChangesets']({'from':_0x429668,'to':_0x5309bd[_0x2b26f4(0x1f8)]-0x1}),!0x0):!0x1;}[_0x11fce5(0x150)](_0x37d1e0){var _0x278181=_0x11fce5;this['_undoRedoService'][_0x278181(0x396)](this[_0x278181(0x308)],_0x37d1e0);}[_0x11fce5(0x17b)](_0x232493){var _0x54ad18=_0x11fce5,_0x576aff,_0x132e8c;(_0x132e8c=(_0x576aff=this[_0x54ad18(0x21b)])['onTransformSelections'])==null||_0x132e8c['call'](_0x576aff,_0x232493);}[_0x11fce5(0x1cd)](_0x5cf8c1){var _0x56bf54=_0x11fce5,_0x5a2758,_0x17e43c;return(_0x17e43c=(_0x5a2758=this['_handler'])['onTransformIME'])==null?void 0x0:_0x17e43c[_0x56bf54(0x23e)](_0x5a2758,_0x5cf8c1);}[_0x11fce5(0x2e6)](_0xa50c93){var _0x32982b=_0x11fce5,_0x3e48d2,_0x5c0d79;return(_0x5c0d79=(_0x3e48d2=this[_0x32982b(0x21b)])[_0x32982b(0xeb)])==null?void 0x0:_0x5c0d79['call'](_0x3e48d2,_0xa50c93);}[_0x11fce5(0x289)](_0x623028){var _0x407970=_0x11fce5,_0x2de43a,_0x54440a,_0xe917ca;return(_0xe917ca=(_0x54440a=(_0x2de43a=this[_0x407970(0x21b)])[_0x407970(0x2d7)])==null?void 0x0:_0x54440a[_0x407970(0x23e)](_0x2de43a,_0x623028))!=null?_0xe917ca:_0x623028;}[_0x11fce5(0x267)](_0x195bc5){var _0xd2c474=_0x11fce5,_0x27385a,_0x1f9f8e,_0x3f9515;return(_0x3f9515=(_0x1f9f8e=(_0x27385a=this[_0xd2c474(0x21b)])[_0xd2c474(0x222)])==null?void 0x0:_0x1f9f8e['call'](_0x27385a,_0x195bc5))!=null?_0x3f9515:_0x195bc5;}['_syncEditingCollabCursor'](_0x46d9b3){var _0xdba3a3=_0x11fce5,_0x30b248,_0x1d7cef;if(this[_0xdba3a3(0x2bf)]===Q['UNIVER_DOC']){const {unitID:_0x478826,mutations:_0x544623,memberID:_0x19c940}=_0x46d9b3,_0x3ce8b9=_0x544623['length']>0x0?_0x544623[0x0]['params']['textRanges']:[];Array[_0xdba3a3(0x264)](_0x3ce8b9)&&_0x3ce8b9[_0xdba3a3(0x115)]>0x0&&((_0x1d7cef=(_0x30b248=this[_0xdba3a3(0x21b)])[_0xdba3a3(0x103)])==null||_0x1d7cef[_0xdba3a3(0x23e)](_0x30b248,{'unitID':_0x478826,'memberID':_0x19c940,'textRanges':_0x3ce8b9}));}}[_0x11fce5(0x129)](){var _0x264327=_0x11fce5,_0x3f2ed7;(_0x3f2ed7=this[_0x264327(0x32e)])==null||_0x3f2ed7['updateOfflineData'](this[_0x264327(0x308)],this[_0x264327(0x2bf)],this['_awaitingChangeset'],this[_0x264327(0x2a9)]);}[_0x11fce5(0x356)](){var _0x352fa9=_0x11fce5;return this['_revisionService'][_0x352fa9(0x33e)](this[_0x352fa9(0x308)]);}[_0x11fce5(0x24f)](){var _0x2a9d44=_0x11fce5;this[_0x2a9d44(0x3db)]['incrementRevOfUnit'](this['unitID']);}[_0x11fce5(0x352)](_0x5a78bc){var _0x2230a8=_0x11fce5,_0x27825e;let _0x566198=this[_0x2230a8(0x289)](_0x5a78bc);_0x566198=this[_0x2230a8(0x267)](_0x566198);const _0x6e7c75=_0xf67648(_0x566198[_0x2230a8(0x34b)],this['_commandService'],{'fromCollab':!0x0});if(!_0x6e7c75[_0x2230a8(0x155)])throw _0x6e7c75[_0x2230a8(0x177)]instanceof Error?_0x6e7c75[_0x2230a8(0x177)]:new Error((_0x27825e=_0x6e7c75[_0x2230a8(0x177)])!=null?_0x27825e:'[CollaborationState]:\x20apply\x20error!');this[_0x2230a8(0x1cd)](_0x566198),this['_transformStateCache'](_0x566198),this[_0x2230a8(0x150)](_0x5a78bc),this[_0x2230a8(0x17b)](_0x566198),this[_0x2230a8(0x1fd)](_0x566198),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x3b267a,_0x507285,_0x3d9a8c,_0x55696a,_0x3be85d,_0x561a1c,_0x4dd25a,_0x48bf6f,_0x2f7b59,_0x2c96b1){var _0x5d2b85=_0x11fce5;super(_0x3b267a,_0x507285,null,[],_0x3d9a8c,_0x4dd25a,_0x561a1c,_0x55696a,_0x2c96b1),D(this,'status',_0x5d2b85(0x207)),(this[_0x5d2b85(0x2b4)]=_0x3be85d,this[_0x5d2b85(0x313)]=_0x48bf6f,this['_transformService']=_0x2f7b59,this[_0x5d2b85(0x31b)]=_0x2c96b1);}[_0x11fce5(0x105)](_0x5e790d){var _0x48d221=_0x11fce5;const _0x3ee309=this[_0x48d221(0x2b4)]['createInstance'](ae,this[_0x48d221(0x308)],this[_0x48d221(0x2bf)],[_0x5e790d],this[_0x48d221(0x21b)]);return _0x3ee309[_0x48d221(0x216)](),_0x3ee309[_0x48d221(0x129)](),_0x3ee309;}[_0x11fce5(0x2e0)](_0x2d19c3){var _0x281e98=_0x11fce5;if(this[_0x281e98(0x3d7)](_0x2d19c3))return this[_0x281e98(0x2b4)]['createInstance'](ee,this[_0x281e98(0x308)],this[_0x281e98(0x2bf)],null,[],null,[_0x2d19c3],this[_0x281e98(0x21b)]);try{const _0x582157=this[_0x281e98(0x305)][_0x281e98(0x113)](_0x2d19c3,[_0x2ee529]);if(_0x25b4ba(_0x582157)){const {c1Prime:_0x4cfc95}=_0x582157;return this[_0x281e98(0x352)](_0x4cfc95),this;}throw _0x582157[_0x281e98(0x177)];}catch(_0x965cec){return this[_0x281e98(0x313)][_0x281e98(0x177)](_0x965cec),this[_0x281e98(0x139)](!0x1);}}['_onConflict'](_0x3c5fa1){var _0x515bc9=_0x11fce5;return this[_0x515bc9(0x2b4)][_0x515bc9(0x3a6)](ue,this[_0x515bc9(0x308)],this[_0x515bc9(0x2bf)],null,[],this[_0x515bc9(0x21b)],_0x3c5fa1);}[_0x11fce5(0x2b1)](){var _0x349c4f=_0x11fce5;throw new Error(_0x349c4f(0x152));}[_0x11fce5(0x3ec)](){var _0x5bb217=_0x11fce5;throw new Error(_0x5bb217(0x135));}[_0x11fce5(0x3e2)](){return this;}['toggleOffline'](){var _0x5dfe52=_0x11fce5;return this[_0x5dfe52(0x2b4)]['createInstance'](de,this[_0x5dfe52(0x308)],this[_0x5dfe52(0x2bf)],null,[],this[_0x5dfe52(0x21b)]);}[_0x11fce5(0x254)](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x556abe=_0x11fce5;const _0x598456=this['_revisionService'][_0x556abe(0x33e)](this[_0x556abe(0x308)]);return this[_0x556abe(0x21b)][_0x556abe(0x335)]({'from':_0x598456,'to':0x0}),this[_0x556abe(0x2b4)][_0x556abe(0x3a6)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x556abe(0x21b)]);}};be=Se([w(0x3,_0x2d55c5(_0x29042f)),w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x33866c),w(0x6,_0x3a47f5),w(0x7,_0x1df9aa),w(0x8,_0x3cb156),w(0x9,_0xe7a6e7(J))],be);let ae=class extends ge{constructor(_0x2aba76,_0x106a03,_0x59406a,_0x43c877,_0x4c0923,_0x121f4b,_0x41cae0,_0x4f7f95,_0x55ca92,_0x417e63,_0x219198,_0x468132,_0x101739,_0x44446f){var _0x1a95ef=_0x11fce5;super(_0x2aba76,_0x106a03,null,_0x59406a,_0x43c877,_0x55ca92,_0x101739,_0x121f4b,_0x44446f),D(this,_0x1a95ef(0x18e),_0x1a95ef(0x35a)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x1a95ef(0x2b4)]=_0x4c0923,this[_0x1a95ef(0x12e)]=_0x41cae0,this[_0x1a95ef(0x313)]=_0x4f7f95,this[_0x1a95ef(0x182)]=_0x417e63,this[_0x1a95ef(0x305)]=_0x219198,this[_0x1a95ef(0x2c5)]=_0x468132);}[_0x11fce5(0x105)](_0x29a752){var _0x2a883d=_0x11fce5;return this[_0x2a883d(0x2a9)][_0x2a883d(0x145)](_0x29a752),this[_0x2a883d(0x129)](),this;}[_0x11fce5(0x2e0)](_0x45f128){var _0x3a3846=_0x11fce5;if(this['_checkMissing'](_0x45f128))return this[_0x3a3846(0x1de)](),this[_0x3a3846(0x2b4)][_0x3a3846(0x3a6)](ee,this[_0x3a3846(0x308)],this[_0x3a3846(0x2bf)],null,this[_0x3a3846(0x2a9)],null,[_0x45f128],this[_0x3a3846(0x21b)]);try{const _0x5206b0=this[_0x3a3846(0x305)][_0x3a3846(0x113)](_0x45f128,this['_pendingMutations']);if(_0x25b4ba(_0x5206b0)){const {c1Prime:_0x310eb0,m2Prime:_0x3eea0e}=_0x5206b0;this['_executeRemoteChangeset'](_0x310eb0);const _0x1c1dd7=this[_0x3a3846(0x2b4)][_0x3a3846(0x3a6)](ae,this[_0x3a3846(0x308)],this[_0x3a3846(0x2bf)],_0x3eea0e,this[_0x3a3846(0x21b)]);this[_0x3a3846(0x1de)]();const _0x4ced4a=new Date()[_0x3a3846(0x30f)](),_0x5e8aef=this['_scheduleCompleteTimestamp']?Math[_0x3a3846(0x302)](this[_0x3a3846(0x2f2)]-_0x4ced4a,0x0):this[_0x3a3846(0x3cc)]();return _0x1c1dd7[_0x3a3846(0x216)](_0x5e8aef),_0x1c1dd7;}throw _0x5206b0[_0x3a3846(0x177)];}catch(_0x19d871){return this['_logService'][_0x3a3846(0x177)](_0x19d871),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x5c8450=_0x11fce5;throw new Error(_0x5c8450(0x1c9));}[_0x11fce5(0x3ec)](){var _0x1d4974=_0x11fce5;throw new Error(_0x1d4974(0x2a1));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){var _0xb0d405=_0x11fce5;return this[_0xb0d405(0x1de)](),this[_0xb0d405(0x2b4)][_0xb0d405(0x3a6)](de,this[_0xb0d405(0x308)],this[_0xb0d405(0x2bf)],null,this['_pendingMutations'],this[_0xb0d405(0x21b)]);}['toggleOnline'](){return this;}[_0x11fce5(0x216)](_0x3d46d2){var _0x47ec8a=_0x11fce5;const _0x3ca5a6=_0x3d46d2!=null?_0x3d46d2:this[_0x47ec8a(0x3cc)]();this[_0x47ec8a(0x2f2)]=new Date()[_0x47ec8a(0x30f)]()+_0x3ca5a6,this[_0x47ec8a(0x25c)]=setTimeout(()=>{var _0x5774b7=_0x47ec8a;this[_0x5774b7(0x1de)]();let _0x51dd5c=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x51dd5c=Vt(this['_pendingMutations'],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this['_revisionService'],this[_0x5774b7(0x12e)]);break;}case Q[_0x5774b7(0x346)]:{this['_pendingMutations']['every'](_0x181319=>_0x181319['id']===_0x312109['id'])?_0x51dd5c=ks(this[_0x5774b7(0x2a9)],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this[_0x5774b7(0x3db)],this['_memberService']):_0x51dd5c=Vt(this['_pendingMutations'],this[_0x5774b7(0x308)],this[_0x5774b7(0x2c5)],this['_revisionService'],this[_0x5774b7(0x12e)]);break;}default:throw new Error(_0x5774b7(0x25d)+this[_0x5774b7(0x2bf)]+_0x5774b7(0x23c));}const {changeset:_0x359692,pendingMutations:_0x7d1681}=_0x51dd5c;this['_handler'][_0x5774b7(0x17e)](_0x359692);const _0x5825ff=_0x7d1681[_0x5774b7(0x115)]?this[_0x5774b7(0x2b4)][_0x5774b7(0x3a6)](oe,this[_0x5774b7(0x308)],this[_0x5774b7(0x2bf)],_0x359692,_0x7d1681,this[_0x5774b7(0x21b)],void 0x0):this[_0x5774b7(0x2b4)][_0x5774b7(0x3a6)](le,this[_0x5774b7(0x308)],this[_0x5774b7(0x2bf)],_0x359692,this['_handler']);_0x5825ff[_0x5774b7(0x129)](),this[_0x5774b7(0x21b)]['onStateChange'](this,_0x5825ff);},_0x3ca5a6);}[_0x11fce5(0x3cc)](){var _0x2a8c02=_0x11fce5,_0x1324f4;const _0x39ff14=this[_0x2a8c02(0x182)][_0x2a8c02(0x33a)](K);return(_0x1324f4=_0x39ff14==null?void 0x0:_0x39ff14['sendChangesetTimeout'])!=null?_0x1324f4:ps;}[_0x11fce5(0x36b)](){var _0x33f6fa=_0x11fce5;throw new Error(_0x33f6fa(0x34f));}[_0x11fce5(0x1de)](){var _0x5bdcbd=_0x11fce5;this[_0x5bdcbd(0x25c)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x5bdcbd(0x25c)]=null);}[_0x11fce5(0x139)](_0x25951f){var _0x4b51fc=_0x11fce5;return this[_0x4b51fc(0x1de)](),this[_0x4b51fc(0x2b4)]['createInstance'](ue,this[_0x4b51fc(0x308)],this['type'],null,this['_pendingMutations'],this[_0x4b51fc(0x21b)],_0x25951f);}};ae=Se([w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x2d55c5(_0x29042f)),w(0x6,_0x2d55c5(Pe)),w(0x7,_0x1df9aa),w(0x8,_0x3a47f5),w(0x9,_0x4762e8),w(0xa,_0x3cb156),w(0xb,_0x12d3b5),w(0xc,_0x33866c),w(0xd,_0xe7a6e7(J))],ae);let le=class extends ge{constructor(_0x40a4ae,_0x26a44b,_0x476a70,_0x4c7ac9,_0x2b2696,_0x5d7c1d,_0x57e4fc,_0x131f06,_0x204ad2,_0x41a710,_0x2099ae){var _0x39b267=_0x11fce5;super(_0x40a4ae,_0x26a44b,_0x476a70,[],_0x4c7ac9,_0x57e4fc,_0x41a710,_0x5d7c1d,_0x2099ae),D(this,_0x39b267(0x18e),'awaiting'),D(this,_0x39b267(0x332),0x0),D(this,_0x39b267(0x166)),D(this,_0x39b267(0x138)),(this[_0x39b267(0x2b4)]=_0x2b2696,this['_logService']=_0x131f06,this['_transformService']=_0x204ad2);}[_0x11fce5(0x105)](_0x150d04){var _0x2d9237=_0x11fce5;this[_0x2d9237(0x1de)]();const _0x47e487=this['_injector'][_0x2d9237(0x3a6)](oe,this['unitID'],this[_0x2d9237(0x2bf)],this['_awaitingChangeset'],[_0x150d04],this[_0x2d9237(0x21b)],this['_resendTimer']);return _0x47e487[_0x2d9237(0x129)](),_0x47e487;}[_0x11fce5(0x2e0)](_0x1e4ce2){var _0x3619e2=_0x11fce5;if(this[_0x3619e2(0x3d7)](_0x1e4ce2))return this[_0x3619e2(0x1de)](),this['_injector'][_0x3619e2(0x3a6)](ee,this[_0x3619e2(0x308)],this['type'],this['_awaitingChangeset'],[],null,[_0x1e4ce2],this[_0x3619e2(0x21b)]);try{const _0x48ee01=this[_0x3619e2(0x305)][_0x3619e2(0x3fd)]([_0x1e4ce2],[this['_awaitingChangeset']],!0x1);if(_0x10c704(_0x48ee01)){const {c1Prime:_0x345cbb,c2Prime:_0x83db86}=_0x48ee01;this['_executeRemoteChangeset'](_0x345cbb[0x0]),_0x83db86[0x0][_0x3619e2(0x321)]=this['_getCurrentRevision'](),this[_0x3619e2(0x1de)]();const _0x3d9b48=this[_0x3619e2(0x2b4)][_0x3619e2(0x3a6)](le,this['unitID'],this[_0x3619e2(0x2bf)],_0x83db86[0x0],this[_0x3619e2(0x21b)]);return _0x3d9b48['_updateLocalCache'](),_0x3d9b48;}return this[_0x3619e2(0x139)](!0x1);}catch(_0x51948f){return this[_0x3619e2(0x313)]['error'](_0x51948f),this[_0x3619e2(0x139)](!0x1);}}['onRemoteAck'](_0x388b3a){var _0x5acfa8=_0x11fce5;this[_0x5acfa8(0x1de)]();const _0xf25de2=this[_0x5acfa8(0x3db)][_0x5acfa8(0x33e)](this[_0x5acfa8(0x308)]);if(_0x388b3a[_0x5acfa8(0x1f8)]<_0xf25de2-0x1)return this;if(this['_checkMissing'](_0x388b3a))return this['_injector'][_0x5acfa8(0x3a6)](ee,this[_0x5acfa8(0x308)],this[_0x5acfa8(0x2bf)],null,[],this[_0x5acfa8(0x1af)],[],this[_0x5acfa8(0x21b)]);this['_incrementRevisionNumber']();const _0xb5630b=this[_0x5acfa8(0x2b4)][_0x5acfa8(0x3a6)](be,this[_0x5acfa8(0x308)],this[_0x5acfa8(0x2bf)],this[_0x5acfa8(0x21b)]);return _0xb5630b[_0x5acfa8(0x129)](),_0xb5630b;}[_0x11fce5(0x3ec)](_0x13e073){var _0x31bb12=_0x11fce5;return this[_0x31bb12(0x139)](!!(_0x13e073!=null&&_0x13e073[_0x31bb12(0x140)]));}[_0x11fce5(0x3e2)](_0x109401){var _0x413aac=_0x11fce5;return this[_0x413aac(0x332)]>gi?this[_0x413aac(0x2ac)]():(this[_0x413aac(0x166)]=Ii(this[_0x413aac(0x332)],{'timeout':this[_0x413aac(0x332)],'reqId':_0x109401[_0x413aac(0x14f)]}),this['_sender']=this[_0x413aac(0x166)][_0x413aac(0x1c6)](({reqId:_0x33ec21,timeout:_0x2eaa08})=>{var _0x4b7ab7=_0x413aac;this[_0x4b7ab7(0x19d)](_0x33ec21,_0x2eaa08);}),this);}[_0x11fce5(0x2ac)](){var _0x3d23bf=_0x11fce5;return this[_0x3d23bf(0x1de)](),this[_0x3d23bf(0x2b4)]['createInstance'](de,this[_0x3d23bf(0x308)],this['type'],this[_0x3d23bf(0x1af)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x11fce5(0x36b)](){var _0x1a266a=_0x11fce5;this['_handler'][_0x1a266a(0x17e)](this[_0x1a266a(0x1af)]);}['_onConflict'](_0x11e97f){var _0x29f434=_0x11fce5;return this[_0x29f434(0x1de)](),this['_injector']['createInstance'](ue,this['unitID'],this[_0x29f434(0x2bf)],this[_0x29f434(0x1af)],[],this[_0x29f434(0x21b)],_0x11e97f);}[_0x11fce5(0x19d)](_0x3f8a11,_0x31ba19){var _0x6c013=_0x11fce5,_0x44a0df;_0x3f8a11===((_0x44a0df=this[_0x6c013(0x1af)])==null?void 0x0:_0x44a0df['reqId'])&&(this[_0x6c013(0x36b)](),this['_resendTimeout']=_0x31ba19===0x0?0x3e8:_0x31ba19*0x2);}[_0x11fce5(0x1de)](){var _0x10d9bd=_0x11fce5,_0x498bb8;(_0x498bb8=this['_sender'])==null||_0x498bb8[_0x10d9bd(0x388)](),this[_0x10d9bd(0x332)]=0x0;}};le=Se([w(0x4,_0x2d55c5(_0x2fa53b)),w(0x5,_0x2d55c5(_0x29042f)),w(0x6,_0x3a47f5),w(0x7,_0x1df9aa),w(0x8,_0x3cb156),w(0x9,_0x33866c),w(0xa,_0xe7a6e7(J))],le);let oe=class extends ge{constructor(_0x47f8ac,_0x5c471c,_0x334993,_0x5c769b,_0x4b4657,_0x36dbd5,_0x5d5999,_0x1f44ea,_0x5a8ed2,_0x1be3ce,_0x2f1956,_0x325eff,_0x393002){var _0x579264=_0x11fce5;super(_0x47f8ac,_0x5c471c,_0x334993,_0x5c769b,_0x4b4657,_0x5a8ed2,_0x325eff,_0x1f44ea,_0x393002),D(this,_0x579264(0x18e),_0x579264(0x1bc)),D(this,'_resendTimeout',0x0),D(this,_0x579264(0x166)),D(this,_0x579264(0x138)),(this[_0x579264(0x2b4)]=_0x5d5999,this[_0x579264(0x313)]=_0x1be3ce,this['_transformService']=_0x2f1956,this[_0x579264(0x31b)]=_0x393002,_0x36dbd5&&(this[_0x579264(0x166)]=_0x36dbd5,this[_0x579264(0x138)]=this[_0x579264(0x166)][_0x579264(0x1c6)](({reqId:_0x50cb5f,timeout:_0x325fa1})=>{this['_resendWithTimeout'](_0x50cb5f,_0x325fa1);})));}[_0x11fce5(0x105)](_0x164269){var _0x915750=_0x11fce5;return this[_0x915750(0x2a9)]['push'](_0x164269),this;}[_0x11fce5(0x2e0)](_0x283163){var _0x16960c=_0x11fce5;if(this[_0x16960c(0x3d7)](_0x283163))return this[_0x16960c(0x1de)](),this[_0x16960c(0x2b4)][_0x16960c(0x3a6)](ee,this[_0x16960c(0x308)],this[_0x16960c(0x2bf)],this['_awaitingChangeset'],this[_0x16960c(0x2a9)],null,[_0x283163],this[_0x16960c(0x21b)]);try{const _0x50f2ef=this[_0x16960c(0x305)][_0x16960c(0x3fd)]([_0x283163],[this[_0x16960c(0x1af)]],!0x1);if(_0x10c704(_0x50f2ef)){const {c1Prime:_0x3d755e,c2Prime:_0x244577}=_0x50f2ef,_0x128452=this[_0x16960c(0x305)][_0x16960c(0x113)](_0x3d755e[0x0],this[_0x16960c(0x2a9)]);if(_0x25b4ba(_0x128452)){const {c1Prime:_0x5cae0c,m2Prime:_0x471e10}=_0x128452;return this[_0x16960c(0x352)](_0x5cae0c),_0x244577[0x0][_0x16960c(0x321)]=this[_0x16960c(0x356)](),this[_0x16960c(0x1de)](),this[_0x16960c(0x2b4)]['createInstance'](oe,this[_0x16960c(0x308)],this['type'],_0x244577[0x0],_0x471e10,this['_handler'],void 0x0);}throw _0x128452[_0x16960c(0x177)];}throw _0x50f2ef['error'];}catch(_0xa661d3){return this[_0x16960c(0x313)][_0x16960c(0x177)](_0xa661d3),this[_0x16960c(0x139)](!0x1);}}[_0x11fce5(0x2b1)](_0x42d6c7){var _0x3fcf82=_0x11fce5;if(this[_0x3fcf82(0x1de)](),this['_checkMissing'](_0x42d6c7))return this[_0x3fcf82(0x2b4)][_0x3fcf82(0x3a6)](ee,this[_0x3fcf82(0x308)],this['type'],null,this['_pendingMutations'],this[_0x3fcf82(0x1af)],[],this[_0x3fcf82(0x21b)]);this[_0x3fcf82(0x24f)]();const _0x16baaa=this['_injector'][_0x3fcf82(0x3a6)](ae,this[_0x3fcf82(0x308)],this['type'],this[_0x3fcf82(0x2a9)],this['_handler']);return _0x16baaa[_0x3fcf82(0x216)](),_0x16baaa[_0x3fcf82(0x129)](),_0x16baaa;}[_0x11fce5(0x3ec)](_0x5acc3a){var _0x567879=_0x11fce5;return this[_0x567879(0x139)](!!(_0x5acc3a!=null&&_0x5acc3a['isPermissionRej']));}[_0x11fce5(0x3e2)](_0x44a29c){var _0x4f2a84=_0x11fce5;return this['_resendTimeout']>gi?this[_0x4f2a84(0x2ac)]():(this[_0x4f2a84(0x166)]=Ii(this['_resendTimeout'],{'timeout':this[_0x4f2a84(0x332)],'reqId':_0x44a29c['reqId']}),this[_0x4f2a84(0x138)]=this[_0x4f2a84(0x166)][_0x4f2a84(0x1c6)](({reqId:_0x2439c8,timeout:_0x1b5b5e})=>{var _0xb4d2c3=_0x4f2a84;this[_0xb4d2c3(0x19d)](_0x2439c8,_0x1b5b5e);}),this);}[_0x11fce5(0x2ac)](){var _0x523ff4=_0x11fce5;return this['_clearScheduledTask'](),this['_injector'][_0x523ff4(0x3a6)](de,this['unitID'],this[_0x523ff4(0x2bf)],this[_0x523ff4(0x1af)],this[_0x523ff4(0x2a9)],this[_0x523ff4(0x21b)]);}[_0x11fce5(0x254)](){return this;}[_0x11fce5(0x36b)](){var _0x10a535=_0x11fce5;this[_0x10a535(0x21b)][_0x10a535(0x17e)](this[_0x10a535(0x1af)]);}[_0x11fce5(0x139)](_0x505da9){var _0x3837ce=_0x11fce5;return this['_clearScheduledTask'](),this[_0x3837ce(0x2b4)][_0x3837ce(0x3a6)](ue,this[_0x3837ce(0x308)],this[_0x3837ce(0x2bf)],null,this['_pendingMutations'],this['_handler'],_0x505da9);}['_resendWithTimeout'](_0x52a8b9,_0xa7695){var _0x44916b=_0x11fce5,_0x238348;_0x52a8b9===((_0x238348=this[_0x44916b(0x1af)])==null?void 0x0:_0x238348['reqId'])&&(this[_0x44916b(0x36b)](),this[_0x44916b(0x332)]=_0xa7695===0x0?0x3e8:_0xa7695*0x2);}[_0x11fce5(0x1de)](){var _0x333056=_0x11fce5,_0x213399;(_0x213399=this[_0x333056(0x138)])==null||_0x213399[_0x333056(0x388)](),this[_0x333056(0x332)]=0x0;}};oe=Se([w(0x6,_0x2d55c5(_0x2fa53b)),w(0x7,_0x2d55c5(_0x29042f)),w(0x8,_0x3a47f5),w(0x9,_0x1df9aa),w(0xa,_0x3cb156),w(0xb,_0x33866c),w(0xc,_0xe7a6e7(J))],oe);let ue=class extends ge{constructor(_0x1c62a3,_0x9b2633,_0x1bef42,_0x221b84,_0xfaa5fd,_0x376155=!0x1,_0xbbc649,_0x5ae313,_0x4c1612,_0x5af955,_0x157f19,_0x20eb30,_0x2868b6){var _0x59ee65=_0x11fce5;super(_0x1c62a3,_0x9b2633,_0x1bef42,_0x221b84,_0xfaa5fd,_0x5ae313,_0x4c1612,_0x5af955,_0x2868b6),D(this,_0x59ee65(0x18e),_0x59ee65(0x116)),(this[_0x59ee65(0x1fc)]=_0x376155,this['_permissionService']=_0xbbc649,this[_0x59ee65(0x195)]=_0x157f19,this[_0x59ee65(0x318)]=_0x20eb30,this[_0x59ee65(0x31b)]=_0x2868b6,this[_0x59ee65(0x22a)](),this[_0x59ee65(0x3f0)](),this[_0x59ee65(0x3e8)]());}[_0x11fce5(0x105)](){return this;}[_0x11fce5(0x2e0)](){return this;}[_0x11fce5(0x2b1)](){return this;}[_0x11fce5(0x3ec)](){return this;}[_0x11fce5(0x3e2)](){return this;}['toggleOffline'](){return this;}[_0x11fce5(0x254)](){return this;}[_0x11fce5(0x36b)](){var _0x49b61b=_0x11fce5;throw new Error(_0x49b61b(0x1ee));}[_0x11fce5(0x3f0)](){var _0x152107=_0x11fce5,_0x4060cf;(_0x4060cf=this[_0x152107(0x32e)])==null||_0x4060cf['updateOfflineData'](this['unitID'],this[_0x152107(0x2bf)],null,[]);}[_0x11fce5(0x22a)](){var _0x463a2d=_0x11fce5;this[_0x463a2d(0x1fc)]?this[_0x463a2d(0x318)][_0x463a2d(0x351)]({'id':re['PERMISSION_DENIED']}):this[_0x463a2d(0x318)]['emitEvent']({'id':re[_0x463a2d(0x183)]});}[_0x11fce5(0x3e8)](){var _0x37808d=_0x11fce5;this['_permissionService']['updatePermissionPoint'](new _0x380b83(this[_0x37808d(0x308)])['id'],!0x1);}};ue=Se([w(0x6,_0x2d55c5(_0x50b040)),w(0x7,_0x3a47f5),w(0x8,_0x33866c),w(0x9,_0x2d55c5(_0x29042f)),w(0xa,_0x2d55c5(_0x246818)),w(0xb,_0x2d55c5(ve)),w(0xc,_0xe7a6e7(J))],ue);let de=class extends ge{constructor(_0xa9e8b0,_0x3d0621,_0x970649,_0x1115ae,_0x1b2d0e,_0xade3d5,_0xe85f49,_0x3c8a5c,_0x25f2c3,_0x40dc4b){var _0x456e45=_0x11fce5;super(_0xa9e8b0,_0x3d0621,_0x970649,_0x1115ae,_0x1b2d0e,_0x3c8a5c,_0x25f2c3,_0xe85f49,_0x40dc4b),D(this,_0x456e45(0x18e),_0x456e45(0x121)),this[_0x456e45(0x2b4)]=_0xade3d5;}['appendMutation'](_0x1a8cc0){var _0x1d4a92=_0x11fce5;return this['_pendingMutations'][_0x1d4a92(0x145)](_0x1a8cc0),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2e464d){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x11fce5(0x2b1)](){var _0x53b2bb=_0x11fce5;throw new Error(_0x53b2bb(0x361));}[_0x11fce5(0x3ec)](){var _0x558b05=_0x11fce5;throw new Error(_0x558b05(0x310));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){return this;}[_0x11fce5(0x254)](){var _0x38c238=_0x11fce5;const {_injector:_0x21cc35,_pendingMutations:_0x5219a0,_awaitingChangeset:_0x2b1568,unitID:_0x1e4c61,_handler:_0x56cc91,type:_0x3cc403}=this,_0x3022c2=Ti(_0x21cc35,_0x1e4c61,_0x3cc403,_0x2b1568,_0x5219a0,_0x56cc91);return _0x3022c2 instanceof ae?_0x3022c2['_schedule']():(_0x3022c2 instanceof oe||_0x3022c2 instanceof le)&&_0x3022c2[_0x38c238(0x36b)](),_0x3022c2;}[_0x11fce5(0x36b)](){var _0x57d035=_0x11fce5;throw new Error(_0x57d035(0x3a9));}};de=Se([w(0x5,_0x2d55c5(_0x2fa53b)),w(0x6,_0x2d55c5(_0x29042f)),w(0x7,_0x3a47f5),w(0x8,_0x33866c),w(0x9,_0xe7a6e7(J))],de);let ee=class extends ge{constructor(_0x4c9afb,_0x57b4a7,_0x1c854e,_0x21dff3,_0xed3a77,_0x587d81,_0x4c41c5,_0x1263ea,_0x213c25,_0x5ed86f,_0x338418,_0x1095e6,_0x559909,_0x34c8fd){var _0x272d89=_0x11fce5;super(_0x4c9afb,_0x57b4a7,_0x1c854e,_0x21dff3,_0x4c41c5,_0x338418,_0x1095e6,_0x213c25,_0x34c8fd),D(this,_0x272d89(0x18e),_0x272d89(0xfe)),(this[_0x272d89(0x3b5)]=_0xed3a77,this[_0x272d89(0x2f4)]=_0x587d81,this['_injector']=_0x1263ea,this['_logService']=_0x5ed86f,this['_transformService']=_0x559909,this[_0x272d89(0x31b)]=_0x34c8fd);}[_0x11fce5(0x3a1)](_0x4cb09f){var _0xab68e1=_0x11fce5;try{const _0x549637=[..._0x4cb09f,...this[_0xab68e1(0x2f4)]],_0x538cff=[this[_0xab68e1(0x1af)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x2b4b99=>!!_0x2b4b99);let _0x287211,_0x5c957f;if(_0x538cff['length']){const _0x3ade5a=this[_0xab68e1(0x305)][_0xab68e1(0x3fd)](_0x549637,_0x538cff,!0x1);if(!_0x10c704(_0x3ade5a))throw _0x3ade5a[_0xab68e1(0x177)];_0x287211=_0x3ade5a[_0xab68e1(0x3fe)],_0x5c957f=_0x3ade5a['c2Prime'];}else _0x287211=_0x549637,_0x5c957f=[];let _0x2d2aee=this[_0xab68e1(0x2a9)];_0x287211[_0xab68e1(0x390)](_0x28cbfd=>{var _0x289ceb=_0xab68e1;let _0x12d897;if(_0x2d2aee[_0x289ceb(0x115)]){const _0x46d458=this[_0x289ceb(0x305)][_0x289ceb(0x113)](_0x28cbfd,_0x2d2aee);if(!_0x25b4ba(_0x46d458))throw _0x46d458[_0x289ceb(0x177)];_0x12d897=_0x46d458[_0x289ceb(0x3fe)],_0x2d2aee=_0x46d458[_0x289ceb(0x3ed)];}else _0x12d897=_0x28cbfd;this[_0x289ceb(0x352)](_0x12d897);}),this['_acknowledgedAwaitingChangeset']&&this[_0xab68e1(0x24f)](),this[_0xab68e1(0x1af)]&&_0x5c957f[_0xab68e1(0x115)]&&(_0x5c957f[0x0]['baseRev']=this['_getCurrentRevision']());let _0x4471c1;if(this[_0xab68e1(0x1af)]&&_0x2d2aee['length']!==0x0)_0x4471c1=this['_injector'][_0xab68e1(0x3a6)](oe,this[_0xab68e1(0x308)],this[_0xab68e1(0x2bf)],_0x5c957f[0x0],_0x2d2aee,this[_0xab68e1(0x21b)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2d2aee['length']===0x0)_0x5c957f[0x0][_0xab68e1(0x321)]=this[_0xab68e1(0x356)](),_0x4471c1=this[_0xab68e1(0x2b4)][_0xab68e1(0x3a6)](le,this[_0xab68e1(0x308)],this['type'],_0x5c957f[0x0],this[_0xab68e1(0x21b)]);else{if(_0x2d2aee['length']!==0x0){const _0x483100=this[_0xab68e1(0x2b4)][_0xab68e1(0x3a6)](ae,this['unitID'],this[_0xab68e1(0x2bf)],_0x2d2aee,this[_0xab68e1(0x21b)]);_0x483100[_0xab68e1(0x216)](),_0x4471c1=_0x483100;}else _0x4471c1=this['_injector'][_0xab68e1(0x3a6)](be,this[_0xab68e1(0x308)],this['type'],this[_0xab68e1(0x21b)]);}}return _0x4471c1['_updateLocalCache'](),_0x4471c1;}catch(_0x1ad680){return this[_0xab68e1(0x313)][_0xab68e1(0x177)]('[FetchMissState]',_0xab68e1(0x18b),_0x1ad680),this['_injector']['createInstance'](ue,this['unitID'],this[_0xab68e1(0x2bf)],this[_0xab68e1(0x1af)],this[_0xab68e1(0x2a9)],this['_handler'],!0x1);}}[_0x11fce5(0x36b)](){var _0x4865fa=_0x11fce5;throw new Error(_0x4865fa(0x11b));}[_0x11fce5(0x105)](_0x2f0ff2){var _0x35d31a=_0x11fce5;return this['_pendingMutations'][_0x35d31a(0x145)](_0x2f0ff2),this;}[_0x11fce5(0x2e0)](_0x472639){var _0x4f1fd0=_0x11fce5;return this['_queuedRemoteChangesets'][_0x4f1fd0(0x145)](_0x472639),this;}['onRemoteAck'](_0x298522){var _0x6110a=_0x11fce5;if(this[_0x6110a(0x1af)])return this[_0x6110a(0x3b5)]=this[_0x6110a(0x1af)],this[_0x6110a(0x1af)]=null,this;throw new Error(_0x6110a(0x350));}[_0x11fce5(0x3ec)](_0x45c6fb){return this['_onConflict'](!!(_0x45c6fb!=null&&_0x45c6fb['isPermissionRej']));}[_0x11fce5(0x3e2)](){return this;}[_0x11fce5(0x2ac)](){var _0xafb888=_0x11fce5;return this[_0xafb888(0x2b4)][_0xafb888(0x3a6)](de,this['unitID'],this['type'],this[_0xafb888(0x1af)],this[_0xafb888(0x2a9)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0x19b43d){var _0xce140e=_0x11fce5;return this['_injector'][_0xce140e(0x3a6)](ue,this[_0xce140e(0x308)],this[_0xce140e(0x2bf)],this['_awaitingChangeset'],this[_0xce140e(0x2a9)],this['_handler'],_0x19b43d);}};ee=Se([w(0x7,_0x2d55c5(_0x2fa53b)),w(0x8,_0x2d55c5(_0x29042f)),w(0x9,_0x1df9aa),w(0xa,_0x3a47f5),w(0xb,_0x33866c),w(0xc,_0x3cb156),w(0xd,_0xe7a6e7(J))],ee);function Ti(_0x1ec2da,_0x502bf6,_0xe860a3,_0x3aee86,_0x22ae94,_0x311e17){var _0x4c8045=_0x11fce5;return _0x3aee86&&_0x22ae94[_0x4c8045(0x115)]?_0x1ec2da[_0x4c8045(0x3a6)](oe,_0x502bf6,_0xe860a3,_0x3aee86,_0x22ae94,_0x311e17,void 0x0):_0x3aee86?_0x1ec2da[_0x4c8045(0x3a6)](le,_0x502bf6,_0xe860a3,_0x3aee86,_0x311e17):_0x22ae94[_0x4c8045(0x115)]?_0x1ec2da['createInstance'](ae,_0x502bf6,_0xe860a3,_0x22ae94,_0x311e17):_0x1ec2da[_0x4c8045(0x3a6)](be,_0x502bf6,_0xe860a3,_0x311e17);}var Hs=Object[_0x11fce5(0x381)],At=(_0x1c1ec2,_0x47c879,_0x4aad28,_0x2de6ec)=>{for(var _0x1db4ed=_0x2de6ec>0x1?void 0x0:_0x2de6ec?Hs(_0x47c879,_0x4aad28):_0x47c879,_0x166f5c=_0x1c1ec2['length']-0x1,_0x2822ed;_0x166f5c>=0x0;_0x166f5c--)(_0x2822ed=_0x1c1ec2[_0x166f5c])&&(_0x1db4ed=_0x2822ed(_0x1db4ed)||_0x1db4ed);return _0x1db4ed;},$=(_0x3b66f0,_0x42288a)=>(_0x4bf56f,_0x65fd1d)=>_0x42288a(_0x4bf56f,_0x65fd1d,_0x3b66f0);let st=class extends _0x3f27f5{constructor(_0x2269d2,_0x3a7307,_0x5403fc,_0x3a7b93,_0x399ba2,_0x1401f6,_0x580dab,_0x1b5030,_0x1d995a,_0x7bd211,_0x346bf9,_0x55aac5,_0x500869,_0x2dacf6){var _0x4e65e7=_0x11fce5;super(),D(this,'_state$',new _0x5908b4(null)),D(this,_0x4e65e7(0x179),this[_0x4e65e7(0x2ec)]['asObservable']()),D(this,_0x4e65e7(0x3e1)),D(this,_0x4e65e7(0x162),!0x1),D(this,_0x4e65e7(0x1f5),''),D(this,_0x4e65e7(0x2e5),0x0),D(this,_0x4e65e7(0x1ff),this[_0x4e65e7(0x179)]['pipe'](_0x311905(_0x4d3328=>_0x4d3328?_0x4d3328['status']:Si[_0x4e65e7(0x353)]),_0x2ac085(0x1))),D(this,_0x4e65e7(0x2c1),!0x1),D(this,_0x4e65e7(0x37b),[]),(this[_0x4e65e7(0x308)]=_0x2269d2,this['session']=_0x3a7307,this[_0x4e65e7(0x2df)]=_0x5403fc,this[_0x4e65e7(0x2b4)]=_0x3a7b93,this[_0x4e65e7(0x2fc)]=_0x399ba2,this[_0x4e65e7(0x195)]=_0x1401f6,this[_0x4e65e7(0x3db)]=_0x580dab,this[_0x4e65e7(0x266)]=_0x1b5030,this['_univerInstanceService']=_0x1d995a,this[_0x4e65e7(0x313)]=_0x7bd211,this[_0x4e65e7(0x35c)]=_0x346bf9,this[_0x4e65e7(0x1f6)]=_0x55aac5,this[_0x4e65e7(0x290)]=_0x500869,this[_0x4e65e7(0x32e)]=_0x2dacf6);}get[_0x11fce5(0x13e)](){var _0x283e07=_0x11fce5;return this[_0x283e07(0x3e1)];}async['init'](){var _0x42b51e=_0x11fce5;if(this[_0x42b51e(0x13e)])throw new Error(_0x42b51e(0x170));await this[_0x42b51e(0x15f)]();}['pauseCollaboration'](){var _0x30656e=_0x11fce5;return this[_0x30656e(0x162)]=!0x0,_0x91ec0a(()=>{var _0x1e466c=_0x30656e;this[_0x1e466c(0x162)]=!0x1,this[_0x1e466c(0x2c4)]();});}[_0x11fce5(0x226)](_0x2643bd){var _0x15f544=_0x11fce5;this[_0x15f544(0x1c5)](_0x2643bd);}[_0x11fce5(0x2db)](_0xbb36e0){var _0x41609c=_0x11fce5;this[_0x41609c(0x3e1)]=_0xbb36e0,this[_0x41609c(0x2ec)][_0x41609c(0x16e)](_0xbb36e0);}async['_init'](){var _0x2ceae2=_0x11fce5,_0x1de8a7;this[_0x2ceae2(0x2db)](await this[_0x2ceae2(0x10f)]()),this[_0x2ceae2(0x290)]&&((_0x1de8a7=this[_0x2ceae2(0x290)])==null||_0x1de8a7['editingUnit'](this[_0x2ceae2(0x308)]),this[_0x2ceae2(0x3b2)](this['_singleActiveUnitService'][_0x2ceae2(0x2cb)](this['unitID'])[_0x2ceae2(0x1c6)](_0x50f642=>{var _0x273648=_0x2ceae2;this[_0x273648(0x313)][_0x273648(0x11a)](_0x273648(0x349),_0x273648(0x1cf),_0x50f642),_0x50f642===mi[_0x273648(0x126)]?(this[_0x273648(0x266)][_0x273648(0x351)]({'id':re[_0x273648(0x300)]}),this[_0x273648(0x1f6)][_0x273648(0x1a7)](new _0x380b83(this['unitID'])['id'],!0x1),this['_permissionService'][_0x273648(0x312)](!0x1)):(this[_0x273648(0x1f6)][_0x273648(0x1a7)](new _0x380b83(this[_0x273648(0x308)])['id'],!0x0),this[_0x273648(0x1f6)][_0x273648(0x312)](!0x0));})));let _0x22f3ef=!0x1;return this['disposeWithMe'](this[_0x2ceae2(0x372)]['sessionStatus$'][_0x2ceae2(0x1c6)](_0x3c3a27=>{var _0x434b94=_0x2ceae2;_0x3c3a27===me['ONLINE']?this[_0x434b94(0x221)](_0x22f3ef):_0x3c3a27===me[_0x434b94(0x353)]&&(_0x22f3ef=!0x0,this['_toggleOffline']());})),this[_0x2ceae2(0x3b2)](this['session']['event$']['subscribe'](_0x1ad54f=>{var _0x337de7=_0x2ceae2;try{switch(_0x1ad54f[_0x337de7(0x3cb)]){case _0x34af1a[_0x337de7(0x298)]:{this['_onRemoteChangeset'](_0x54c39c(_0x1ad54f[_0x337de7(0x292)]));break;}case _0x34af1a[_0x337de7(0x370)]:{this[_0x337de7(0x18f)](_0x1ad54f[_0x337de7(0x292)]);break;}case _0x34af1a[_0x337de7(0x20f)]:{this[_0x337de7(0x1ac)]();break;}case _0x34af1a[_0x337de7(0x27e)]:{this[_0x337de7(0x1e9)](_0x1ad54f[_0x337de7(0x292)]);break;}case _0x34af1a[_0x337de7(0x306)]:{this[_0x337de7(0x3b1)](_0x1ad54f[_0x337de7(0x292)][_0x337de7(0x29b)][_0x337de7(0x393)](_0x275cff=>_0x54c39c(_0x275cff)));break;}case _0x34af1a[_0x337de7(0x13b)]:{this[_0x337de7(0x1ac)]({'isPermissionRej':!0x0});break;}case _0x34af1a['UNISCRIPT_RUN']:break;}}catch(_0x4473dd){throw console['error'](_0x337de7(0x3fa),_0x4473dd),_0x4473dd;}})),this[_0x2ceae2(0x3e1)];}[_0x11fce5(0x342)](){var _0x23e105=_0x11fce5;this[_0x23e105(0x2c1)]=!0x1;}[_0x11fce5(0x20c)](){var _0x19d11f=_0x11fce5;if(this[_0x19d11f(0x2c1)])throw new Error(_0x19d11f(0x1db));this[_0x19d11f(0x2c1)]=!0x0;}[_0x11fce5(0x1c5)](_0x4e2638){var _0x341b78=_0x11fce5;this[_0x341b78(0x20c)](),this[_0x341b78(0x2db)](this[_0x341b78(0x3e1)][_0x341b78(0x105)](_0x4e2638)),this['_unlockTransition']();}[_0x11fce5(0x22b)](_0x5adaad){var _0x29da80=_0x11fce5;if(!(_0x5adaad[_0x29da80(0x1f8)]<=this[_0x29da80(0x3db)][_0x29da80(0x33e)](this['unitID']))){if(this[_0x29da80(0x162)]){this[_0x29da80(0x37b)][_0x29da80(0x145)](_0x5adaad);return;}this[_0x29da80(0x34c)](_0x5adaad);}}[_0x11fce5(0x2c4)](){var _0x207780=_0x11fce5;this['_remoteChangesetQueue']['forEach'](_0xbb4b5d=>this['_applyRemoteChangeset'](_0xbb4b5d)),this[_0x207780(0x37b)]=[];}[_0x11fce5(0x34c)](_0x80ac0f){var _0xb63662=_0x11fce5;const _0x2267ab=this['_compressMutationService']['interceptor'][_0xb63662(0x11d)](this[_0xb63662(0x2fc)][_0xb63662(0x24b)][_0xb63662(0x125)]()['COMPRESS_MUTATION_APPLY'])(_0x80ac0f[_0xb63662(0x34b)],null)||_0x80ac0f[_0xb63662(0x34b)],_0x4165c0={..._0x80ac0f,'mutations':_0x2267ab};this[_0xb63662(0x20c)](),this[_0xb63662(0x2db)](this['_state'][_0xb63662(0x2e0)](_0x4165c0)),this[_0xb63662(0x342)]();}[_0x11fce5(0x18f)](_0x16145f){var _0x11f056=_0x11fce5;this[_0x11f056(0x20c)](),this[_0x11f056(0x2db)](this[_0x11f056(0x3e1)]['onRemoteAck'](_0x16145f)),this[_0x11f056(0x342)]();}['_onRemoteRejected'](_0x33331d){var _0x1772f0=_0x11fce5;this[_0x1772f0(0x20c)](),this['_updateState'](this['_state'][_0x1772f0(0x3ec)](_0x33331d)),this[_0x1772f0(0x342)]();}[_0x11fce5(0x1e9)](_0x452cc2){var _0x53226b=_0x11fce5;this['_lockTransition'](),this['_updateState'](this[_0x53226b(0x3e1)][_0x53226b(0x3e2)](_0x452cc2)),this['_unlockTransition']();}[_0x11fce5(0x3b1)](_0x2e9afe){var _0x2ac5ae=_0x11fce5;if(!(this[_0x2ac5ae(0x3e1)]instanceof ee))throw new TypeError(_0x2ac5ae(0x1b8));const _0x49b1de=_0x2e9afe['map'](_0x28d114=>{var _0x3292d8=_0x2ac5ae;const _0x400459=this[_0x3292d8(0x2fc)][_0x3292d8(0x24b)][_0x3292d8(0x11d)](this['_compressMutationService'][_0x3292d8(0x24b)][_0x3292d8(0x125)]()[_0x3292d8(0x12b)])(_0x28d114[_0x3292d8(0x34b)],null)||_0x28d114[_0x3292d8(0x34b)];return{..._0x28d114,'mutations':_0x400459};});this[_0x2ac5ae(0x20c)](),this['_updateState'](this[_0x2ac5ae(0x3e1)]['onMissedChangesetFetched'](_0x49b1de)),this[_0x2ac5ae(0x342)]();}[_0x11fce5(0x23d)](){var _0x230831=_0x11fce5;this[_0x230831(0x20c)](),this['_updateState'](this[_0x230831(0x3e1)][_0x230831(0x2ac)]()),this[_0x230831(0x342)]();}[_0x11fce5(0x221)](_0xaf7539=!0x1){var _0xd30a77=_0x11fce5;this[_0xd30a77(0x20c)](),this[_0xd30a77(0x2db)](this[_0xd30a77(0x3e1)][_0xd30a77(0x254)]()),this['_unlockTransition']();const _0x295ecb=this[_0xd30a77(0x3e1)];_0xaf7539&&_0x295ecb instanceof be&&(this[_0xd30a77(0x20c)](),this[_0xd30a77(0x2db)](_0x295ecb['fetchMiss']()),this['_unlockTransition']());}async[_0x11fce5(0x10f)](){return new Promise(_0x420811=>{var _0x4338c8=_0x26d2;this[_0x4338c8(0x372)][_0x4338c8(0x262)][_0x4338c8(0x377)](_0x57d335(0x1))[_0x4338c8(0x1c6)](async _0x136df4=>{var _0x5ce113=_0x4338c8;_0x420811(await this[_0x5ce113(0x1e5)](_0x136df4===me[_0x5ce113(0x173)]));});});}[_0x11fce5(0x1a1)](){var _0x46a60d=_0x11fce5;const _0x301657=this[_0x46a60d(0x308)];return{'onStateChange':(_0x31a73e,_0x4f1f44)=>{var _0x4df0d4=_0x46a60d;if(_0x31a73e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x31a73e[_0x4df0d4(0x18e)]+_0x4df0d4(0x367)+_0x4f1f44['status']+_0x4df0d4(0x2bd)+this[_0x4df0d4(0x3e1)][_0x4df0d4(0x18e)]);this[_0x4df0d4(0x2db)](_0x4f1f44);},'onSendChangeset':_0xa69df0=>{var _0x553046=_0x46a60d;_0xa69df0['sid']||(_0xa69df0['sid']=this[_0x553046(0x1f5)],_0xa69df0[_0x553046(0x14f)]=++this[_0x553046(0x2e5)]);const _0x4dd425={'eventID':_0x34af1a[_0x553046(0x1d1)],'data':{'unitID':_0xa69df0[_0x553046(0x308)],'unitType':this[_0x553046(0x2df)],'changeset':_0xa69df0,'memberID':this['session'][_0x553046(0x3ff)]()}};this[_0x553046(0x372)][_0x553046(0x338)](_0x4dd425,this[_0x553046(0x308)]);},'onMissingChangesets':({from:_0x47e8a2,to:_0x31bb55})=>{var _0x5b2db1=_0x46a60d;this[_0x5b2db1(0x313)][_0x5b2db1(0x11a)]('[CollaborationEntity]',_0x5b2db1(0x37c)+_0x47e8a2+_0x5b2db1(0x117)+_0x31bb55);const _0x5073cb={'eventID':_0x34af1a[_0x5b2db1(0x1dc)],'data':{'unitID':_0x301657,'unitType':this[_0x5b2db1(0x2df)],'from':_0x47e8a2,'to':_0x31bb55}};this[_0x5b2db1(0x372)][_0x5b2db1(0x338)](_0x5073cb,this[_0x5b2db1(0x308)]);}};}async[_0x11fce5(0x1e5)](_0x9b3dc7){var _0x9c7250=_0x11fce5,_0x3df549,_0x4d2e31,_0x581583;const _0x5bc620=await((_0x3df549=this[_0x9c7250(0x32e)])==null?void 0x0:_0x3df549[_0x9c7250(0x2e2)](this[_0x9c7250(0x308)])),_0x23e00c=(_0x4d2e31=_0x5bc620==null?void 0x0:_0x5bc620['mutations'])!=null?_0x4d2e31:[],_0x23f0db=(_0x581583=_0x5bc620==null?void 0x0:_0x5bc620[_0x9c7250(0x2cc)])!=null?_0x581583:null,_0x1328b8=!!(_0x23f0db!=null&&_0x23f0db[_0x9c7250(0x35d)])&&!!(_0x23f0db!=null&&_0x23f0db['reqId']);this['_changesetSessionId']=_0x1328b8?_0x23f0db[_0x9c7250(0x35d)]:_0x3eff4d(),this[_0x9c7250(0x2e5)]=_0x1328b8?_0x23f0db[_0x9c7250(0x14f)]:0x0;const _0x42e41c=this[_0x9c7250(0x308)];try{this[_0x9c7250(0x244)](_0x23f0db,_0x23e00c);}catch(_0x431afa){this[_0x9c7250(0x313)][_0x9c7250(0x177)](_0x431afa);}const _0x7b7e38=this[_0x9c7250(0x1a1)]();if(_0x9b3dc7){const _0x2f9a1d=Ti(this['_injector'],_0x42e41c,this[_0x9c7250(0x2df)],_0x23f0db,_0x23e00c,_0x7b7e38);return _0x2f9a1d instanceof ae?_0x2f9a1d[_0x9c7250(0x216)]():(_0x2f9a1d instanceof oe||_0x2f9a1d instanceof le)&&_0x2f9a1d['resend'](),_0x2f9a1d;}return this[_0x9c7250(0x2b4)]['createInstance'](de,_0x42e41c,this[_0x9c7250(0x2df)],_0x23f0db,_0x23e00c,_0x7b7e38);}['_replayCachedMutations'](_0x5c043c,_0x2fd2b2){var _0xb161ec=_0x11fce5,_0x171835,_0x17745c;const _0x490d31=this[_0xb161ec(0x2fc)][_0xb161ec(0x24b)]['fetchThroughInterceptors'](this[_0xb161ec(0x2fc)]['interceptor']['getInterceptPoints']()[_0xb161ec(0x12b)]);(_0x171835=_0x490d31((_0x5c043c==null?void 0x0:_0x5c043c[_0xb161ec(0x34b)])||[],null))==null||_0x171835[_0xb161ec(0x390)](_0x2de736=>this[_0xb161ec(0x35c)][_0xb161ec(0x336)](_0x2de736['id'],_0x2de736['params'])),(_0x17745c=_0x490d31(_0x2fd2b2||[],null))==null||_0x17745c[_0xb161ec(0x390)](_0x5102d1=>this[_0xb161ec(0x35c)][_0xb161ec(0x336)](_0x5102d1['id'],_0x5102d1[_0xb161ec(0x200)]));}};st=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(ve)),$(0x8,_0x12d3b5),$(0x9,_0x1df9aa),$(0xa,_0x3a47f5),$(0xb,_0x50b040),$(0xc,_0xe7a6e7(_t)),$(0xd,_0xe7a6e7(J))],st);let It=class extends st{constructor(_0x496c7f,_0xbb4f4e,_0x4fbbd9,_0xbf0191,_0xbe5af7,_0xb443e0,_0x22875d,_0x291fae,_0x324f5b,_0x56b993,_0x1227c7,_0x704139,_0x37a342,_0x4676ca){var _0x151182=_0x11fce5;super(_0x496c7f,_0x4fbbd9,_0xbb4f4e,_0xbf0191,_0xbe5af7,_0xb443e0,_0x22875d,_0x291fae,_0x324f5b,_0x56b993,_0x1227c7,_0x704139,_0x37a342,_0x4676ca),D(this,'_handlerCallback',null),(this[_0x151182(0x308)]=_0x496c7f,this[_0x151182(0x2bf)]=_0xbb4f4e);}[_0x11fce5(0x14d)](_0x33ff18){this['_handlerCallback']=_0x33ff18;}[_0x11fce5(0x3e7)](){var _0x4d5967=_0x11fce5;this[_0x4d5967(0x319)]=null,super[_0x4d5967(0x3e7)]();}[_0x11fce5(0x1a1)](){var _0xebfcc=_0x11fce5;const _0x3f5048=super['_createHandler']();return _0x3f5048[_0xebfcc(0x259)]=_0x59027a=>{var _0x50062d=_0xebfcc,_0x51c5fe,_0x433e9a;return(_0x433e9a=(_0x51c5fe=this['_handlerCallback'])==null?void 0x0:_0x51c5fe[_0x50062d(0x259)])==null?void 0x0:_0x433e9a['call'](_0x51c5fe,_0x59027a);},_0x3f5048[_0xebfcc(0xeb)]=_0x2d1744=>{var _0x6964d2=_0xebfcc,_0x1b845b,_0x36d044;return(_0x36d044=(_0x1b845b=this[_0x6964d2(0x319)])==null?void 0x0:_0x1b845b['onTransformState'])==null?void 0x0:_0x36d044[_0x6964d2(0x23e)](_0x1b845b,_0x2d1744);},_0x3f5048[_0xebfcc(0x26b)]=_0x112790=>{var _0x4490d6=_0xebfcc,_0x47ea66,_0x1dceb8;return(_0x1dceb8=(_0x47ea66=this[_0x4490d6(0x319)])==null?void 0x0:_0x47ea66['onTransformSelections'])==null?void 0x0:_0x1dceb8[_0x4490d6(0x23e)](_0x47ea66,_0x112790);},_0x3f5048[_0xebfcc(0x103)]=_0x5b8b21=>{var _0x28da29=_0xebfcc,_0x5d3c9a,_0x1136ae;return(_0x1136ae=(_0x5d3c9a=this[_0x28da29(0x319)])==null?void 0x0:_0x5d3c9a['onSyncEditingCollabCursor'])==null?void 0x0:_0x1136ae[_0x28da29(0x23e)](_0x5d3c9a,_0x5b8b21);},_0x3f5048[_0xebfcc(0x2d7)]=_0x4b29d2=>{var _0x487db4=_0xebfcc,_0x17b112,_0x49ca02,_0x2f1298;if(!((_0x17b112=this[_0x487db4(0x319)])!=null&&_0x17b112[_0x487db4(0x2d7)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f1298=(_0x49ca02=this[_0x487db4(0x319)])==null?void 0x0:_0x49ca02['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x2f1298[_0x487db4(0x23e)](_0x49ca02,_0x4b29d2);},_0x3f5048['onTransformRemoteChangesetByStateCache']=_0x33e1a8=>{var _0xfc6542=_0xebfcc,_0x4e8a27,_0x9cfd7f,_0x408867;if(!((_0x4e8a27=this['_handlerCallback'])!=null&&_0x4e8a27[_0xfc6542(0x222)]))throw new Error(_0xfc6542(0x100));return(_0x408867=(_0x9cfd7f=this[_0xfc6542(0x319)])==null?void 0x0:_0x9cfd7f[_0xfc6542(0x222)])==null?void 0x0:_0x408867[_0xfc6542(0x23e)](_0x9cfd7f,_0x33e1a8);},_0x3f5048;}async[_0x11fce5(0x15f)](){var _0xef3957=_0x11fce5;const _0x1396f0=await super[_0xef3957(0x15f)]();return this['disposeWithMe'](this['_commandService'][_0xef3957(0x2ca)]((_0x56356d,_0x3986ff)=>{var _0x28e8b2=_0xef3957;if(_0x56356d[_0x28e8b2(0x2bf)]!==_0x24c6a0[_0x28e8b2(0x3f4)]||_0x3986ff!=null&&_0x3986ff[_0x28e8b2(0x174)]||_0x3986ff!=null&&_0x3986ff[_0x28e8b2(0x246)]||_0x56356d['id']===_0x312109['id'])return;const _0x38e7c4=_0x56356d[_0x28e8b2(0x200)];if((_0x38e7c4==null?void 0x0:_0x38e7c4['unitId'])!==this['unitID'])return;const _0x41666b=_0x56356d,_0x4348a4=this['_compressMutationService'][_0x28e8b2(0x24b)][_0x28e8b2(0x11d)](this[_0x28e8b2(0x2fc)][_0x28e8b2(0x24b)]['getInterceptPoints']()[_0x28e8b2(0x33d)])([_0x41666b],this[_0x28e8b2(0x2c5)])||[_0x41666b];this[_0x28e8b2(0x1c5)](_0x4348a4[0x0]);})),_0x1396f0;}};It=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(ve)),$(0x8,_0x12d3b5),$(0x9,_0x1df9aa),$(0xa,_0x3a47f5),$(0xb,_0x50b040),$(0xc,_0xe7a6e7(_t)),$(0xd,_0xe7a6e7(J))],It);let St=class extends st{constructor(_0x141f34,_0x9a78dd,_0x2e6efb,_0x2a5bd5,_0x3645e8,_0x2bec4e,_0x2f4b62,_0x2cd602,_0x14ca3d,_0x3f661d,_0x462945,_0xef1237,_0x118919,_0x349e09,_0x273cf2){var _0x35223a=_0x11fce5;super(_0x141f34,_0x2e6efb,_0x9a78dd,_0x2a5bd5,_0x3645e8,_0x2bec4e,_0x2f4b62,_0x14ca3d,_0x3f661d,_0x462945,_0xef1237,_0x118919,_0x349e09,_0x273cf2),this['unitID']=_0x141f34,this[_0x35223a(0x2bf)]=_0x9a78dd,this[_0x35223a(0x331)]=_0x2cd602;}[_0x11fce5(0x1a1)](){var _0x3e60bb=_0x11fce5;const _0x39d0cf=super[_0x3e60bb(0x1a1)]();return _0x39d0cf[_0x3e60bb(0x26b)]=_0x5e2797=>this[_0x3e60bb(0x331)][_0x3e60bb(0x30a)](_0x5e2797),_0x39d0cf;}async['_init'](){var _0x10ce25=_0x11fce5;const _0x333e9d=await super[_0x10ce25(0x15f)]();return this[_0x10ce25(0x3b2)](this[_0x10ce25(0x35c)][_0x10ce25(0x2ca)]((_0x3e9de3,_0x3ed718)=>{var _0x317a90=_0x10ce25;if(_0x3e9de3['type']!==_0x24c6a0[_0x317a90(0x3f4)]||_0x3ed718!=null&&_0x3ed718[_0x317a90(0x174)]||_0x3ed718!=null&&_0x3ed718[_0x317a90(0x246)])return;const _0x58a875=_0x3e9de3[_0x317a90(0x200)];if((_0x58a875==null?void 0x0:_0x58a875[_0x317a90(0x38f)])!==this[_0x317a90(0x308)])return;const _0x432a22=_0x3e9de3,_0x501953=this['_compressMutationService'][_0x317a90(0x24b)]['fetchThroughInterceptors'](this[_0x317a90(0x2fc)][_0x317a90(0x24b)][_0x317a90(0x125)]()[_0x317a90(0x33d)])([_0x432a22],this[_0x317a90(0x2c5)])||[_0x432a22];this['_onLocalMutation'](_0x501953[0x0]);})),_0x333e9d;}};St=At([$(0x3,_0x2d55c5(_0x2fa53b)),$(0x4,_0x2d55c5(_0x149eda)),$(0x5,_0x2d55c5(_0x246818)),$(0x6,_0x2d55c5(_0x29042f)),$(0x7,_0x2d55c5(it)),$(0x8,_0x2d55c5(ve)),$(0x9,_0x12d3b5),$(0xa,_0x1df9aa),$(0xb,_0x3a47f5),$(0xc,_0x50b040),$(0xd,_0xe7a6e7(_t)),$(0xe,_0xe7a6e7(J))],St);const Bs=_0x40b8d5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x40aea2){var _0x5d1a8d=_0x11fce5,_0x21526f,_0x2a18c0,_0x7a0898,_0x31fc6d,_0x2a237d;const _0x47b39e=_0x40aea2[_0x5d1a8d(0x292)],_0xbe3999=JSON['parse'](_0x47b39e);switch(_0xbe3999['cmd']){case j[_0x5d1a8d(0x271)]:case j['HELLO']:{const _0x4a0330=_0xbe3999[_0x5d1a8d(0x251)];return{..._0xbe3999,'data':_0x4a0330,'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};}case j['JOIN']:{const _0x4d6e18=_0xbe3999['joinRsp'];return{..._0xbe3999,'data':_0x4d6e18,'cmd':_0xbe3999['cmd']};}case j[_0x5d1a8d(0x29f)]:{const _0x5355d4=_0xbe3999[_0x5d1a8d(0x23b)];switch(_0x5355d4[_0x5d1a8d(0x3cb)]){case _0x34af1a[_0x5d1a8d(0x13b)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x21526f=_0x5355d4[_0x5d1a8d(0x1b4)])==null?void 0x0:_0x21526f['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['CHANGESET_ACK']:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x2a18c0=_0x5355d4[_0x5d1a8d(0x3c1)])==null?void 0x0:_0x2a18c0['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['NEW_CHANGESETS']:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x7a0898=_0x5355d4[_0x5d1a8d(0x3fb)])==null?void 0x0:_0x7a0898['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x20f)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x31fc6d=_0x5355d4[_0x5d1a8d(0x1e7)])==null?void 0x0:_0x31fc6d['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x27e)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':(_0x2a237d=_0x5355d4[_0x5d1a8d(0x325)])==null?void 0x0:_0x2a237d['cs']},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x3a8)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x26f)]},'cmd':_0xbe3999['cmd']};case _0x34af1a['USERS_ENTER']:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x27c)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['USERS_LEAVE']:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x328)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x14b)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x2f7)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x1a2)]:case _0x34af1a[_0x5d1a8d(0x1b9)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x39d)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x241)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x2f7)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a['MSG_FOR_ERROR']:return{..._0xbe3999,'data':_0x5355d4,'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0xf8)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4['commentUpdateEvent']},'cmd':_0xbe3999['cmd']};case _0x34af1a[_0x5d1a8d(0x184)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x1e8)]},'cmd':_0xbe3999['cmd']};case _0x34af1a[_0x5d1a8d(0x2be)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x22f)]},'cmd':_0xbe3999[_0x5d1a8d(0x2c6)]};case _0x34af1a[_0x5d1a8d(0x202)]:return{..._0xbe3999,'data':{..._0x5355d4,'data':_0x5355d4[_0x5d1a8d(0x20a)]},'cmd':_0xbe3999['cmd']};default:return _0xbe3999;}}default:return _0xbe3999;}}function js(_0x384ed6){var _0x2908ea=_0x11fce5;switch(_0x384ed6[_0x2908ea(0x2c6)]){case j[_0x2908ea(0x271)]:case j[_0x2908ea(0x1bb)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)]});case j[_0x2908ea(0x15e)]:{let _0x52ddae;switch(_0x384ed6[_0x2908ea(0x292)]['eventID']){case _0x34af1a['UPDATE_CURSOR']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x3a8)],'updateCursorEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a[_0x2908ea(0x24c)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x24c)],'leaveEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a['USERS_ENTER']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x391)],'joinEvent':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a['LIVESHARE_NEW_HOST']:{_0x52ddae={'eventID':_0x34af1a['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a['LIVESHARE_OPERATION']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x1b9)],'liveShareOperation':_0x384ed6[_0x2908ea(0x292)][_0x2908ea(0x292)]};break;}case _0x34af1a[_0x2908ea(0x241)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x241)],'liveShareTerminate':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a[_0x2908ea(0x196)]:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x196)],'liveShareRequestHost':_0x384ed6[_0x2908ea(0x292)]['data']};break;}case _0x34af1a['LIVESHARE_FETCH_OPERATIONS']:{_0x52ddae={'eventID':_0x34af1a[_0x2908ea(0x1a2)]};break;}default:_0x52ddae={'eventID':_0x384ed6['data'][_0x2908ea(0x3cb)]};}return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)],'collaMsg':_0x52ddae});}case j[_0x2908ea(0xf3)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6[_0x2908ea(0x363)],'joinReq':_0x384ed6['data']});case j[_0x2908ea(0x147)]:return JSON[_0x2908ea(0x3be)]({'cmd':_0x384ed6[_0x2908ea(0x2c6)],'routeKey':_0x384ed6['routeKey'],'leaveReq':_0x384ed6[_0x2908ea(0x292)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Vs=Object[_0x11fce5(0x381)],Gs=(_0x241e90,_0x3ae795,_0x50154a,_0x2f3f47)=>{for(var _0x5210a0=_0x2f3f47>0x1?void 0x0:_0x2f3f47?Vs(_0x3ae795,_0x50154a):_0x3ae795,_0x1ed665=_0x241e90['length']-0x1,_0x3ac393;_0x1ed665>=0x0;_0x1ed665--)(_0x3ac393=_0x241e90[_0x1ed665])&&(_0x5210a0=_0x3ac393(_0x5210a0)||_0x5210a0);return _0x5210a0;},ye=(_0x492c08,_0x5e7d53)=>(_0x342648,_0x5376e5)=>_0x5e7d53(_0x342648,_0x5376e5,_0x492c08);const Oi=_0x40b8d5(_0x11fce5(0x344));function Ws(_0x25239c,_0x53c792,_0x3e08dc){var _0x1dec6e=_0x11fce5;return _0x25239c+'/'+_0x53c792+_0x1dec6e(0x3a4)+_0x3e08dc+_0x1dec6e(0x3c3);}function _0x4970(){var _0x1a8a81=['PENDING','session.room-full','pending','reset','_commandService','sid','getTypeOfUnitDisposed$','charCodeAt','_nRounds','[OfflineState]:\x20received\x20acknowledgement.','4shssKZ','routeKey','SUBMIT_CHANGESET_TIMEOUT','createSocket','enableCollaboration','\x0aAfter:\x20','requireSession','_getAPIPrefix','hasher','resend','uploadFileServerUrl','_reverseMap','ENSURE_SNAPSHOT_EXECUTION','_timeoutTimer','CHANGESET_ACK','USER_NOT_INVITED_CODE','session','stopTime','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','capture','LICENSE_IMPORT_SIZE_EXCEEDED','pipe','getUnitId','objects','blockSize','_remoteChangesetQueue','fetching\x20missing\x20changesets\x20from\x20','_members','collaboration_new_changeset','clone','auth.needGotoLoginAlert','getOwnPropertyDescriptor','sessionStatus','enableSingleActiveInstanceLock','SHA1','join','_updateStatus','saveImage','unsubscribe','_submitChangeset','getSnapshotAPIPath','FileId','session.join-failed','REDEMPTION_CODE_NOT_STARTED','crypto','unitId','forEach','USERS_ENTER','UserProfileImg','map','retryConnectingInterval','_retryCount','transformUndoRedo','_createHelper','deleteCollaborator','AUTHORIZE_CODE_ILLEGAL','_startCollaboration','UNIVER_SLIDE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','liveShareOperation','key','[CollaborationSession]','_clearRetryConnectingTimer','onMissedChangesetFetched','univer-pro.collaboration-client.single-active-unit-service','finalize','/unit/','_doCryptBlock','createInstance','downloadEndpointUrl','UPDATE_CURSOR','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','waitForRoom$','ENTITLE_REPORT_LIMIT_EXCEED','_decreaseWaiting','putCollaborators','saveSnapshot','extend','random','_onFetchMissResult','disposeWithMe','_sendHeartbeat','startTime','_acknowledgedAwaitingChangeset','abs','close$','origin','__Key__','_replaceFileID','apply','patch','clear','stringify','_initRequestHeader','entries','csAckEvent','getActiveSheet','/new_changes','actions','asObservable','ENTITLE_CAN_NOT_BUY_LOWER_OTP','/universer-api/uniscript','BlockCipher','setConfig','&assign=','eventID','_getSendChangesetTimeout','CONNECTOR_DATA_TOO_LARGE','getMember','1331670JkncNg','includes','_imageSourceCache','symbol','Univer','clamp','[CollaborationSessionService]:\x20socket\x20error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_checkMissing','iterations','create','TOO_MANY_REQUESTS','_revisionService','YUUMI_RATE_OVER_LIMIT','APPLY_NON_SEQUENTIAL_REVISION','Decryptor','DATA_SOURCE_TOO_LARGE','saveChangeset','_state','onRemoteRetry','session.room-cnt-exceeds','EMAIL_VERIFY_CODE_MISMATCH','_clearTimeoutTimer','HEARTBEAT_INTERVAL','dispose','_disableEditing','_collaborationSessionService','_telemetryInfo','EvpKDF','onRemoteRej','m2Prime','_tryReconnect','UNAUTHENTICATED','_clearLocalCache','\x20-\x20','Malformed\x20UTF-8\x20data','x-univer-host','MUTATION','subject','transformStack\x20failed!','action','SUCCUSS','CBC','Error\x20on\x20receiving\x20event','newCsEvent','[DataLoaderService]','transformChangesets','c1Prime','getMemberID','AWAITING_WITH_PENDING','/-/object/-/batch_allowed','_getDownloadEndpointURL','msCrypto','_onConnectionOpen','onTransformState','SYNCED','onStarting','_append','members','UnitEmbedded','Pkcs7','NOT_FOUND','JOIN','_getAPIPrefixPath','file','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_change$','COMMENT_UPDATE','loadDoc','RETRY_CONNECTING_MAX_COUNT','SOCKET_FAILED_RETRY','concat','CipherParams','fetch_missing','signUrlServerUrl','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_sessions','_collabSessionService','onSyncEditingCollabCursor','_scheduleCollaborationTimeoutTimer','appendMutation','dispose$','_hash','ENTITLE_INSUFFICIENT_QUOTA','getCurrentSelections','size','_socket$','_undoRedoService','reverse','open$','_createInitialState','137277tFlmZP','OPTIONAL','REDEMPTION_CODE_INACTIVE','transformMutationsWithChangeset','formatter','length','conflict','\x20to\x20','_clearCollaborationTimeoutTimer','UnitSnapshot','debug','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_collaborationTimeoutTimer','fetchThroughInterceptors','socket\x20open.','Cipher','updateMember','offline','_rescheduleHeartbeat','INVITE_CODE_REQUIRED','IDLE','getInterceptPoints','OTHER_CLIENTS_EDITING','/fetchmissing?from=','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_updateLocalCache','getImageSourceCache','COMPRESS_MUTATION_APPLY','decrypt','_instanceService','_memberService','YUUMI_UNABLE_LOAD_URL','CLOSE_ROOM','CHANGESET_REVISION_CONFILICT','_httpService','/object/','_mode','[SyncedState]:\x20received\x20rejection.','_transformStack','withCredentials','_sender','_onConflict','put','PERMISSION_REJ','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','cfg','state','avatar','isPermissionRej','_initUnitPermissionChange','userID','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','encryptBlock','push','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','LEAVE','roomInfos','_socketService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','LIVESHARE_NEW_HOST','getTypeOfUnitAdded$','addHandlerCallback','getResourcesRequest','reqId','_transformUndoredo','INVITE_CODE_HAS_BEEN_UES','[SyncedState]:\x20received\x20acknowledgement.','REDEMPTION_CODE_FULLY_REDEEMED','startsWith','result','__creator','Base64','repeat','src','from','findIndex','_onConnectionFailed','hasOwnProperty','INGEST','_init','ENTITLE_CHAT_LIMIT_EXCEED','_hasher','_collaborationPaused','APPLY_PERMISSION_DENIED','UUID','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_resendTimer','post','YUUMI_ASYNCIO_CANCELLED','append','MOBILE_VERIFY_CODE_MISMATCH','UNDEFINED','subUnitId','JOIN_ROOM_FAILED','next','salt','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createSocket','$super','ONLINE','fromCollab','_roomMembers','_nDataBytes','error','Base','state$','enc','_transformSelections','connection\x20error','22668bhbGRK','onSendChangeset','_waitForHeartbeatResponse','JOIN_ROOM_PERMISSION_DENIED','_iKey','_configService','CONFLICT','UPDATE_PERMISSION_OBJ','update','AES','awaiting','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_networkConditionService','getUnitOnRev','failed\x20to\x20apply\x20missed\x20changesets!','REDEMPTION_INVALID_CODE','_emitMembers','status','_onRemoteACK','UNIVER_SHEET','init','_onCombEvent','_entityInit$','PasswordBasedCipher','_localeService','LIVESHARE_REQUEST_HOST','USER_NOT_FOUND','reconnect','encode','originalMeta','Could\x20not\x20dynamically\x20require\x20\x22','url','_resendWithTimeout','_retryConnectingTimer','UNKNOWN_CMD','toString','_createHandler','LIVESHARE_FETCH_OPERATIONS','loadUnitOfRevision','Latin1','LICENSE_EXPORT_SIZE_EXCEEDED','_entities','updatePermissionPoint','ciphertext','reject','requestParams','Utf8','_onRemoteRejected','substr','hostname','_awaitingChangeset','createEncryptor','registerHTTPInterceptor','_oKey','floor','permissionRejEvent','ERROR_IMAGE','catch','REDEMPTION_USER_REDEEM_TIMES_EXCEED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','LIVESHARE_OPERATION','prototype','HELLO','awaiting_with_pending','_xformMode','responseType','setWaitCount','name','_initMergeInterceptor','getFocusedUnit','Hasher','default','_onLocalMutation','subscribe','BlockCipherMode','_initDependencies','[PendingState]:\x20received\x20acknowledgement.','PAYMENT_CHANNEL_NOT_SUPPORT','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_candidateSocket','_transformIMECache','unitInfo$','editing\x20status\x20changed\x20to','updateCollaborator','SUBMIT_CHANGESET','BufferedBlockAlgorithm','createCollaborator','kdf','_members$','UNKNOWN_CODE','HttpImport','algo','removeMember','_onUserJoin','[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.','FETCH_MISSING','{fileID}','_clearScheduledTask','75AbSqYN','mixIn','ERROR_IMAGE_TYPE','/universer-api/user/session-ticket','APPLY_DUPLICATED','/rev/','_createInitialStateImpl','PY_RUNTIME_SCRIPT_ERROR','csRejEvent','updatePermissionObjEvent','_onRemoteRetry','getUnit','function','enableAuthServer','/universer-api/oidc/authpage','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','ENTITLE_NEED_BILLING_ADDRESS','collaboration-client.config','[CollaborationSessionService]','addImageSourceCache','_createHmacHelper','LOCAL_CACHE_INTERVAL','_changesetSessionId','_permissionService','REDEMPTION_CODE_HAS_BEEN_CREATED','revision','collabSubmitChangesetUrl','words','_telemetryService','_isPermissionRej','_syncEditingCollabCursor','snapshotServerUrl','status$','params','session.room-permission-denied','UNISCRIPT_RUN','_waitCount','_invKeySchedule','_ENC_XFORM_MODE','compose','synced','INVITE_CODE_ALREADY_BOUND','JOIN_ROOM_NOT_EXISTS','uniscriptRunEvent','_registerDependencies','_lockTransition','sin','BASE64','CHANGESET_REJ','JOINING','objectID','updateSnapshot','complete','duration','HttpExport','_schedule','_commentService','closeSession','now','_snapshotServerService','_handler','[CollaborationUndoRedoService]','PERMISSION_DENIED','sigBytes','pluginName','HmacSHA1','_toggleOnline','onTransformRemoteChangesetByStateCache','_socketReady','_status$','collaboratorID','onLocalMutation','_getUploadFileURL','min','_keySchedule','_showConflictNotification','_onRemoteChangeset','image/jpeg','YUUMI_AI_RUN_FAILED','readInt32LE','shouldCloseConn','NOT_COLLAB','set','change$','/object','roles','mode','compute','58434CxUPHz','ENTITLE_DUP_SUBSCRIPTION','location','getCollabEntity','collaMsg','\x20in\x20_schedule.','_toggleOffline','call','PERSON','&to=','LIVESHARE_TERMINATE','MD5','_clearUndo','_replayCachedMutations','ALREADY_EXISTS','onlyLocal','_unitInfo$','Undefined','fromCharCode','collabWebSocketUrl','interceptor','USERS_LEAVE','_key','getDeserializedSheetBlock','_incrementRevisionNumber','listRoles','infoRsp','_minBufferSize','listCollaborators','toggleOnline','lib','_parse','LOGIN_FAILED','replace','onTransformIME','?url=','HmacMD5','_sendingTimer','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CURRENT_STATUS_CANNOT_OPERATE','event$','getSheetBlock','padding','sessionStatus$','_substituteUndoStack','isArray','SNAPSHOT_HAS_BEEN_REMOVED','_eventService','_transformRemoteChangesetByStateCache','_getUndoStack','SOCKET_FAILED','JOIN_ROOM_FULL','onTransformSelections','_shouldReportTelemetry','_iv','telemetry\x20info\x20is\x20not\x20initialized','updateCursorEvent','FAIL','HEARTBEAT','refreshPermission','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','authzUrl','reduce','_onUserLeave','get','href','selections','YUUMI_SUBSCRIPTION_NOT_FOUND','_sendHeartbeatTimer','joinEvent','_getLoginPath','CHANGESET_SHOULD_RETRY','_removeRoom','People','YUUMI_TABLE_NOT_FOUND_IN_UNIT','processBlock','_unitID','collaborators','UNIVER_UNKNOWN','LICENSE_MAX_UNITS_EXCEEDED','_onOffline','range','_transformRemoteChangesetByIMECache','enableOfflineEditing','APPLY_REJECT','_map','saveSheetBlock','_throwTelemetryCollaborationNewChangeset','NoPadding','_singleActiveUnitService','_process','data','getValue','_config','_clearRedo','_stopTelemetryCollaborationNewChangeset','close','NEW_CHANGESETS','_initCloseConn','delete','changesets','equals','_doFinalize','sheets','RECV','AWAITING','[PendingState]:\x20received\x20rejection.','_joinRoom','/allowed','_data','_cipher','EMAIL_HAS_BEEN_BOUND','_redoStacks','code','_pendingMutations','localeService','_userManagerService','toggleOffline','parse','GLOBAL_ROOMS_CNT_EXCEEDS','exports','_onJoinRoomEvent','onRemoteAck','LICENSE_DISTRO_REJECTED','YUUMI_ALL_TABLES_IS_INVALID','_injector','HEARTBEAT_TIMEOUT','MSG_FOR_ERROR','getSheetId','_commentUpdate$','INVALID_INVITE_CODE','_getSignURL','execute','MOBILE_HAS_BEEN_BOUND','\x0aCurrent:\x20','SHOULD_CLOSE_CONN','type','REDEMPTION_USER_NOT_ELIGIBLE','_transitionLocked','YUUMI_URL_COL_OUT_OF_RANGE','rev','_exhaustRemoteChangesetQueue','_univerInstanceService','cmd','_sessionStatus$','StreamCipher','socket\x20close','onCommandExecuted','getUnitStatus$','awaitingChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','setCurrentUser','loginUrlKey','_substituteRedoStack','/universer-api/authz','_getRedoStack','format','INTERNAL_ERROR','_onRecvEvent','_tryEnsureSocket','onTransformRemoteChangesetByIMECache','resourceIDs','216AdPAMm','_onMessage','_updateState','Hex','LOGIN_TOKEN_PROCESSING_FAILED','?size=','_type','onRemoteChangeset','onCommentUpdate','loadOfflineData','createDecryptor','byteOffset','_changesetReqId','_transformStateCache','copyFileMeta','WordArray','ws://127.0.0.1:8000/universer-api/comb/connect','members$','override','_state$','NO_OTHER_CLIENTS_EDITING','slice','/universer-api/snapshot/','_clearHeartbeatTimer','body','_scheduleCompleteTimestamp','_startTelemetryCollaborationNewChangeset','_queuedRemoteChangesets','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_fetchMissChangesets','liveShareNewHost','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_event$','getCurrentUser','484188pjCbZi','_compressMutationService','online$','_roomCreated$','memberID','OTHER_CLIENT_EDITING','893767snUAdD','max','COMPLETION_FINISHED','image/jpg','_transformService','PSEUDO_FETCH_MISSING_RESULT','string','unitID','headers','transformSelections','_listenToNetworkCondition','deepClone','splice','_doReset','getTime','[OfflineState]:\x20received\x20rejection.','add','setShowComponents','_logService','image/gif','buffer','_getCtorByUniverType','/collaborator','_collaborationUIEventService','_handlerCallback','_socket','localCacheService','save\x20fail\x20reason\x20is\x20','encrypt','UNRECOGNIZED','_doCreateSocket','12253150RTTBlf','baseRev','ERROR_AGAIN','SNAPSHOT_INVALID_SNAPSHOT','pad','csShouldRetryEvent','keySize','error$','leaveEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','initWorkbookPermissionChange','randomBytes','_snapshotService','/role','_localCacheService','_prevBlock','getCollabEntity$','_sheetTransformSelectionsService','_resendTimeout','Encryptor','unknown','onMissingChangesets','executeCommand','defineProperty','send','fetchMissingChangesets','getConfig','_socketMessageSubscription','has','COMPRESS_MUTATION_SEND','getCurrentRevOfUnit','getLatestCsReqIdBySid','image/png','charAt','_unlockTransition','objectType','univer-pro.collaboration-client-socket-service','byteLength','UNIVER_DOC','batchAllowed','getRandomValues','[CollaborationEntity]','UNIVER_COLLABORATION_CLIENT_PLUGIN','mutations','_applyRemoteChangeset','_HTTPService','[UniverCollaborationClientPlugin]','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','emitEvent','_executeRemoteChangeset','OFFLINE','message$','decryptBlock','_getCurrentRevision','ClipsheetFragments'];_0x4970=function(){return _0x1a8a81;};return _0x4970();}let Gt=class extends _0x75f90f{constructor(_0x14da43,_0x47ba2c,_0x3d21da,_0x2a5a59,_0x252bd2){var _0x2db494=_0x11fce5;super(),this[_0x2db494(0x2b4)]=_0x14da43,this[_0x2db494(0x132)]=_0x47ba2c,this['_configService']=_0x3d21da,this[_0x2db494(0x313)]=_0x2a5a59,this['_snapshotServerService']=_0x252bd2;}[_0x11fce5(0x31f)](_0x11c85a){var _0x4455e1=_0x11fce5;const _0x267536=this[_0x4455e1(0x2b4)][_0x4455e1(0x277)](_0x1664d7);if(!_0x267536)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0xe80f9d=_0x267536['createSocket'](_0x11c85a);if(!_0xe80f9d)throw new Error(_0x4455e1(0x188));const _0x4ac1fa=new _0x53d4ad(),_0x5d9566=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x3b7)][_0x4455e1(0x1c6)](_0x431f75=>_0x5d9566[_0x4455e1(0x16e)](_0x431f75))),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x5d9566['complete']()));const _0x4d9918=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x327)][_0x4455e1(0x1c6)](_0x5625d6=>_0x4d9918[_0x4455e1(0x16e)](_0x5625d6))),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x4d9918[_0x4455e1(0x213)]()));const _0x52a54c=new _0x47b396();_0x4ac1fa[_0x4455e1(0x311)](_0xe80f9d[_0x4455e1(0x354)][_0x4455e1(0x1c6)](_0x36b92b=>{const _0x4fa27b=Fs(_0x36b92b);_0x52a54c['next'](_0x4fa27b);})),_0x4ac1fa[_0x4455e1(0x311)](_0x91ec0a(()=>_0x52a54c[_0x4455e1(0x213)]()));let _0x484eb5;const _0x32c873=()=>{var _0x3f19a8=_0x4455e1;_0x4d9918['next'](new Event(_0x3f19a8(0x17c))),_0x5d9566[_0x3f19a8(0x16e)](new Event(_0x3f19a8(0x17c))),_0x484eb5[_0x3f19a8(0x297)]();};return _0x484eb5={'memberID':'','close$':_0x5d9566[_0x4455e1(0x3c5)](),'error$':_0x4d9918[_0x4455e1(0x3c5)](),'open$':_0xe80f9d['open$'],'message$':_0x52a54c['asObservable'](),'send':_0x49d271=>{var _0x5dc7a2=_0x4455e1;if(_0x49d271[_0x5dc7a2(0x2c6)]===j['INGEST']){if(_0x49d271['data'][_0x5dc7a2(0x3cb)]===_0x34af1a[_0x5dc7a2(0x1d1)]){this[_0x5dc7a2(0x389)](_0x484eb5,_0x49d271[_0x5dc7a2(0x292)])['catch'](_0x256c13=>{var _0x35a9e5=_0x5dc7a2;this[_0x35a9e5(0x313)][_0x35a9e5(0x177)](_0x256c13),_0x32c873();});return;}if(_0x49d271[_0x5dc7a2(0x292)][_0x5dc7a2(0x3cb)]===_0x34af1a[_0x5dc7a2(0x1dc)]){const _0x156c8d=_0x49d271[_0x5dc7a2(0x292)];this['_fetchMissChangesets'](_0x156c8d)['then'](_0x357ab2=>{var _0x4f75f0=_0x5dc7a2;_0x52a54c['next']({'cmd':j[_0x4f75f0(0x29f)],'code':pe['OK'],'routeKey':_0x156c8d[_0x4f75f0(0x292)]['unitID'],'routeType':'','data':{'eventID':_0x34af1a[_0x4f75f0(0x306)],'data':{'changesets':_0x357ab2}}});})[_0x5dc7a2(0x1b6)](_0x2c0553=>{var _0x97a0ff=_0x5dc7a2;this[_0x97a0ff(0x313)][_0x97a0ff(0x177)](_0x2c0553),_0x32c873();});return;}}_0xe80f9d[_0x5dc7a2(0x338)](js(_0x49d271));},'close':()=>{var _0x4ba214=_0x4455e1;_0xe80f9d[_0x4ba214(0x297)](),_0x4ac1fa['dispose']();}},_0x484eb5;}async['_submitChangeset'](_0x4e8a69,_0x310524){var _0x25fc18=_0x11fce5,_0x45385c;const {unitType:_0x1373f8,unitID:_0x13e819,changeset:_0x583e2a}=_0x310524['data'],_0x45e454={'unitID':_0x13e819,'memberID':_0x4e8a69[_0x25fc18(0x2ff)],'type':_0x1373f8,'changeset':_0x104dd3(_0x583e2a)},_0x59e433=this[_0x25fc18(0x182)][_0x25fc18(0x33a)](K),_0x2940f1=Ws((_0x45385c=_0x59e433==null?void 0x0:_0x59e433[_0x25fc18(0x1f9)])!=null?_0x45385c:Os,_0x1373f8,_0x13e819);try{await this[_0x25fc18(0x132)][_0x25fc18(0x167)](_0x2940f1,{'body':_0x45e454});}catch(_0x156526){throw this[_0x25fc18(0x313)][_0x25fc18(0x177)]('[CollaborationSession]','submit\x20changeset\x20error!'),_0x156526;}}async[_0x11fce5(0x2f6)](_0x15ef7b){var _0x4d7d6b=_0x11fce5;const {unitID:_0x567585,from:_0x31c8b2,to:_0x3c9c57,unitType:_0x427bae}=_0x15ef7b[_0x4d7d6b(0x292)];return(await this[_0x4d7d6b(0x21a)][_0x4d7d6b(0x339)]({'metadata':void 0x0},{'unitID':_0x567585,'type':_0x427bae,'from':_0x31c8b2,'to':_0x3c9c57}))[_0x4d7d6b(0x29b)][_0x4d7d6b(0x393)](_0x292b3e=>((_0x292b3e['mutations']===null||_0x292b3e[_0x4d7d6b(0x34b)]===void 0x0)&&(_0x292b3e[_0x4d7d6b(0x34b)]=[]),_0x292b3e));}};Gt=Gs([ye(0x0,_0x2d55c5(_0x2fa53b)),ye(0x1,_0x2d55c5(_0x4f418b)),ye(0x2,_0x4762e8),ye(0x3,_0x1df9aa),ye(0x4,_0x596050)],Gt);var Ys=Object[_0x11fce5(0x381)],Ks=(_0x331827,_0x1fa35d,_0x482d4c,_0x1ba1d7)=>{for(var _0x3a5d9e=_0x1ba1d7>0x1?void 0x0:_0x1ba1d7?Ys(_0x1fa35d,_0x482d4c):_0x1fa35d,_0x2182ac=_0x331827['length']-0x1,_0x46f43c;_0x2182ac>=0x0;_0x2182ac--)(_0x46f43c=_0x331827[_0x2182ac])&&(_0x3a5d9e=_0x46f43c(_0x3a5d9e)||_0x3a5d9e);return _0x3a5d9e;},Re=(_0x9b173a,_0x2818fc)=>(_0x342382,_0x434123)=>_0x2818fc(_0x342382,_0x434123,_0x9b173a);let we=class extends _0x75f90f{constructor(_0x303f15,_0x32068d,_0x3f49c7,_0x18b2e3,_0x465f31,_0x175b89){var _0x221c08=_0x11fce5;super(),D(this,_0x221c08(0x10b),new _0x5908b4(void 0x0)),D(this,'socket$',this[_0x221c08(0x10b)]['asObservable']()),D(this,_0x221c08(0x1cc),null),D(this,'_sessions',new Map()),D(this,_0x221c08(0x224),new _0x5908b4(me[_0x221c08(0x124)])),D(this,_0x221c08(0x1ff),this[_0x221c08(0x224)][_0x221c08(0x3c5)]()),D(this,_0x221c08(0x223),!0x1),D(this,'_retryConnectingTimer'),D(this,'_retryCount',0x0),D(this,_0x221c08(0x27b)),D(this,_0x221c08(0x36f)),(this['_injector']=_0x303f15,this[_0x221c08(0x313)]=_0x32068d,this[_0x221c08(0x182)]=_0x3f49c7,this[_0x221c08(0x149)]=_0x18b2e3,this[_0x221c08(0x318)]=_0x465f31,this[_0x221c08(0x189)]=_0x175b89,this[_0x221c08(0x30b)]());}get[_0x11fce5(0x31a)](){var _0x259750=_0x11fce5;return this[_0x259750(0x10b)][_0x259750(0x293)]();}[_0x11fce5(0x30b)](){var _0x1eb8b1=_0x11fce5;this[_0x1eb8b1(0x189)]&&this[_0x1eb8b1(0x3b2)](this[_0x1eb8b1(0x189)][_0x1eb8b1(0x2fd)][_0x1eb8b1(0x1c6)](_0x4d9027=>{var _0x361710=_0x1eb8b1;_0x4d9027&&!this[_0x361710(0x31a)]&&this[_0x361710(0x198)](),_0x4d9027||this[_0x361710(0x287)]();}));}['dispose'](){var _0x18faf8=_0x11fce5;super['dispose'](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this[_0x18faf8(0x101)]['forEach'](_0x390811=>_0x390811[_0x18faf8(0x3e7)]()),this[_0x18faf8(0x101)][_0x18faf8(0x3bd)](),this['_status$'][_0x18faf8(0x213)]();}async['requireSession'](_0x5a71cf){var _0x669f17=_0x11fce5;if(this[_0x669f17(0x101)][_0x669f17(0x33c)](_0x5a71cf))return this[_0x669f17(0x101)][_0x669f17(0x277)](_0x5a71cf);this[_0x669f17(0x2d6)]();const _0x2cf047=this[_0x669f17(0x2b4)][_0x669f17(0x3a6)](mt,_0x5a71cf,this[_0x669f17(0x10b)][_0x669f17(0x3c5)]());return this[_0x669f17(0x101)]['set'](_0x5a71cf,_0x2cf047),_0x2cf047;}[_0x11fce5(0x218)](_0x45d13b){var _0x1931ae=_0x11fce5,_0xfe3839;const _0x202883=this[_0x1931ae(0x101)][_0x1931ae(0x277)](_0x45d13b);_0x202883&&(this['_sessions'][_0x1931ae(0x29a)](_0x45d13b),_0x202883[_0x1931ae(0x297)]()),this[_0x1931ae(0x101)][_0x1931ae(0x10a)]||(_0xfe3839=this[_0x1931ae(0x31a)])==null||_0xfe3839[_0x1931ae(0x297)]();}['reconnect'](){var _0x1731a7=_0x11fce5;this['_retryCount']=0x0,this[_0x1731a7(0x3a0)](),this[_0x1731a7(0x3ee)]();}[_0x11fce5(0x3a0)](){var _0x35fc8c=_0x11fce5;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x35fc8c(0x19e)]),this[_0x35fc8c(0x19e)]=null);}async['_createSocket'](){var _0x218e8e=_0x11fce5,_0x573866;const _0x588a44=this[_0x218e8e(0x182)][_0x218e8e(0x33a)](K),_0x594e0b=(_0x573866=_0x588a44==null?void 0x0:_0x588a44[_0x218e8e(0x24a)])!=null?_0x573866:Es,_0x2c2afb=await this[_0x218e8e(0x149)][_0x218e8e(0x365)](_0x594e0b);return this['_candidateSocket']=_0x2c2afb,_0x2c2afb;}async[_0x11fce5(0x2d6)](){var _0x4981e8=_0x11fce5,_0x522b55,_0x4bfa35;try{const _0x281e23=(_0x4bfa35=(_0x522b55=this[_0x4981e8(0x31a)])!=null?_0x522b55:this['_candidateSocket'])!=null?_0x4bfa35:await this[_0x4981e8(0x171)]();if(_0x281e23){const _0x5725e4=_0x281e23[_0x4981e8(0x338)];_0x281e23[_0x4981e8(0x338)]=_0x338d11=>(this[_0x4981e8(0x122)](),_0x5725e4[_0x4981e8(0x3bb)](_0x281e23,[_0x338d11])),_0x281e23['message$'][_0x4981e8(0x1c6)](_0x43f76e=>this['_onMessage'](_0x281e23,_0x43f76e)),_0x281e23[_0x4981e8(0x327)][_0x4981e8(0x377)](_0x4ea921(0x1))[_0x4981e8(0x1c6)](_0x2b8712=>this['_logService'][_0x4981e8(0x177)](_0x4981e8(0x3d5),_0x2b8712)),_0x281e23[_0x4981e8(0x10e)]['pipe'](_0x4ea921(0x1))[_0x4981e8(0x1c6)](()=>{var _0x4e50cf=_0x4981e8;this[_0x4e50cf(0xea)](_0x281e23);}),_0x281e23[_0x4981e8(0x3b7)]['pipe'](_0x4ea921(0x1))[_0x4981e8(0x1c6)](_0x42812c=>{var _0x33fa75=_0x4981e8;this['_logService'][_0x33fa75(0x11a)](_0x33fa75(0x1f1),_0x33fa75(0x2c9),_0x42812c),this[_0x33fa75(0x15c)]();});}}catch(_0x1cdcac){this[_0x4981e8(0x313)][_0x4981e8(0x177)](_0x1cdcac),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x516643){var _0xa2a96e=_0x11fce5;this[_0xa2a96e(0x313)][_0xa2a96e(0x11a)](_0xa2a96e(0x1f1),_0xa2a96e(0x11e)),_0x516643[_0xa2a96e(0x338)]({'cmd':j['HELLO']}),this['_rescheduleHeartbeat']();}[_0x11fce5(0x287)](){var _0x34cdd9=_0x11fce5;this[_0x34cdd9(0x223)]=!0x1,this[_0x34cdd9(0x1cc)]=null,this['_status$']['next'](me[_0x34cdd9(0x353)]),this['_socket$'][_0x34cdd9(0x16e)](null),this[_0x34cdd9(0x3e5)](),this[_0x34cdd9(0x2f0)]();}[_0x11fce5(0x15c)](){var _0x5c9169=_0x11fce5,_0x57964e;this[_0x5c9169(0x287)](),this[_0x5c9169(0x395)]<((_0x57964e=this[_0x5c9169(0x182)][_0x5c9169(0x33a)](gs))!=null?_0x57964e:Ts)?(this[_0x5c9169(0x318)][_0x5c9169(0x351)]({'id':re[_0x5c9169(0xfb)]}),this[_0x5c9169(0x3ee)]()):this[_0x5c9169(0x318)][_0x5c9169(0x351)]({'id':re['SOCKET_FAILED']});}[_0x11fce5(0x3ee)](){var _0x3e2e26=_0x11fce5,_0x243f6e;const _0x302011=this[_0x3e2e26(0x395)],_0x3c401e=this[_0x3e2e26(0x182)][_0x3e2e26(0x33a)](K),_0x2475a2=_0x302011===0x0?0x0:((_0x243f6e=_0x3c401e==null?void 0x0:_0x3c401e[_0x3e2e26(0x394)])!=null?_0x243f6e:Ss)*0x2**_0x302011;this['_retryConnectingTimer']=setTimeout(()=>{var _0x160c21=_0x3e2e26;clearTimeout(this[_0x160c21(0x19e)]),this[_0x160c21(0x19e)]=null,this['_tryEnsureSocket']();},_0x2475a2),this[_0x3e2e26(0x395)]+=0x1;}[_0x11fce5(0x2da)](_0x316898,_0x2224bc){var _0x30afe5=_0x11fce5;const {cmd:_0x2ebf6e}=_0x2224bc;_0x2ebf6e===j[_0x30afe5(0x1bb)]&&!this['_socketReady']&&(_0x316898[_0x30afe5(0x2ff)]=_0x2224bc[_0x30afe5(0x292)][_0x30afe5(0x2ff)],this['_socket$'][_0x30afe5(0x16e)](_0x316898),this['_status$']['next'](me[_0x30afe5(0x173)]),this[_0x30afe5(0x223)]=!0x0,this[_0x30afe5(0x1cc)]=null),_0x2ebf6e===j[_0x30afe5(0x271)]&&this[_0x30afe5(0x3e5)](),this['_rescheduleHeartbeat']();}[_0x11fce5(0x122)](){var _0x22f05e=_0x11fce5,_0x2487c0;this[_0x22f05e(0x2f0)](),this[_0x22f05e(0x27b)]=setTimeout(()=>this[_0x22f05e(0x3b3)](),(_0x2487c0=this[_0x22f05e(0x182)][_0x22f05e(0x33a)](ms))!=null?_0x2487c0:Is);}['_sendHeartbeat'](){var _0x6124ed=_0x11fce5;this['_socket'][_0x6124ed(0x338)]({'cmd':j[_0x6124ed(0x271)]}),this[_0x6124ed(0x17f)]();}['_waitForHeartbeatResponse'](){var _0x15ddc5=_0x11fce5,_0x5c117b;this['_timeoutTimer']=setTimeout(()=>this[_0x15ddc5(0x15c)](),(_0x5c117b=this[_0x15ddc5(0x182)][_0x15ddc5(0x33a)](di))!=null?_0x5c117b:fi);}['_clearHeartbeatTimer'](){var _0xcf3476=_0x11fce5;this[_0xcf3476(0x27b)]!=null&&(clearTimeout(this[_0xcf3476(0x27b)]),this['_sendHeartbeatTimer']=null);}[_0x11fce5(0x3e5)](){var _0xa89eb8=_0x11fce5;this[_0xa89eb8(0x36f)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xa89eb8(0x36f)]=null);}};we=Ks([Re(0x0,_0x2d55c5(_0x2fa53b)),Re(0x1,_0x1df9aa),Re(0x2,_0x4762e8),Re(0x3,Oi),Re(0x4,_0x2d55c5(ve)),Re(0x5,_0xe7a6e7(Bs))],we);var qs=Object[_0x11fce5(0x381)],zs=(_0x437d39,_0x4059ab,_0x4c0caf,_0x1b499f)=>{var _0x4e6d2c=_0x11fce5;for(var _0x42cf91=_0x1b499f>0x1?void 0x0:_0x1b499f?qs(_0x4059ab,_0x4c0caf):_0x4059ab,_0x2e4725=_0x437d39[_0x4e6d2c(0x115)]-0x1,_0x536910;_0x2e4725>=0x0;_0x2e4725--)(_0x536910=_0x437d39[_0x2e4725])&&(_0x42cf91=_0x536910(_0x42cf91)||_0x42cf91);return _0x42cf91;},Be=(_0x3cdafc,_0x4428fd)=>(_0x2b4d49,_0x4d7c2c)=>_0x4428fd(_0x2b4d49,_0x4d7c2c,_0x3cdafc);let nt=class extends _0x3f27f5{constructor(_0x50e6f1,_0x174ada,_0x282fb8,_0x354e98){var _0x2ed6ba=_0x11fce5,_0xf60225;super(),D(this,'_entities',new Map()),D(this,'_entityInit$',new _0x47b396()),D(this,'entityInit$',this[_0x2ed6ba(0x193)][_0x2ed6ba(0x3c5)]()),(this[_0x2ed6ba(0x2b4)]=_0x50e6f1,this[_0x2ed6ba(0x102)]=_0x174ada,this[_0x2ed6ba(0x182)]=_0x282fb8,this[_0x2ed6ba(0x2c5)]=_0x354e98,((_0xf60225=this[_0x2ed6ba(0x182)][_0x2ed6ba(0x33a)](K))==null?void 0x0:_0xf60225[_0x2ed6ba(0x366)])!==!0x1&&this[_0x2ed6ba(0x15f)]());}['dispose'](){var _0x28c7a4=_0x11fce5;super[_0x28c7a4(0x3e7)](),this['_entities']['forEach'](_0x295e93=>_0x295e93[_0x28c7a4(0x3e7)]()),this['_entities']['clear']();}['getCollabEntity'](_0x33aeda){var _0x1aece9=_0x11fce5,_0x889983;return(_0x889983=this['_entities'][_0x1aece9(0x277)](_0x33aeda))!=null?_0x889983:null;}[_0x11fce5(0x330)](_0x1ef081){var _0x212f3b=_0x11fce5;const _0x36ef8e=this[_0x212f3b(0x23a)](_0x1ef081);return _0x36ef8e?_0x55f4fc(_0x36ef8e):this[_0x212f3b(0x193)]['pipe'](_0x295c81(_0x45ae8a=>_0x45ae8a[_0x212f3b(0x308)]===_0x1ef081));}['readyForCollab'](_0x405b59){var _0x2e79e9=_0x11fce5;return _0x4b16f8(this[_0x2e79e9(0x330)](_0x405b59)[_0x2e79e9(0x377)](_0x4b0737(()=>{})));}[_0x11fce5(0x15f)](){var _0x2d6932=_0x11fce5;this[_0x2d6932(0x2c5)][_0x2d6932(0x14c)](_0x529613[_0x2d6932(0x190)])[_0x2d6932(0x377)](_0x541d53(this[_0x2d6932(0x106)]),_0xd9e091(0x10))[_0x2d6932(0x1c6)](async _0x56497f=>{var _0x583101=_0x2d6932;const _0x41fe9d=_0x56497f[_0x583101(0x378)](),_0x1683cb=await this['_startCollaboration'](_0x41fe9d,Q['UNIVER_SHEET']);this[_0x583101(0x1a6)]['set'](_0x41fe9d,_0x1683cb);}),this[_0x2d6932(0x2c5)][_0x2d6932(0x14c)](_0x529613[_0x2d6932(0x346)])['pipe'](_0x541d53(this[_0x2d6932(0x106)]),_0xd9e091(0x10))['pipe'](_0x295c81(_0x353c11=>!_0x353c11[_0x2d6932(0x378)]()[_0x2d6932(0x154)]('__')))[_0x2d6932(0x1c6)](async _0x34752d=>{var _0x24bf6c=_0x2d6932;const _0x3d961c=_0x34752d[_0x24bf6c(0x378)](),_0x19abc5=await this[_0x24bf6c(0x39a)](_0x3d961c,Q[_0x24bf6c(0x346)]);this['_entities'][_0x24bf6c(0x231)](_0x3d961c,_0x19abc5);}),_0x3697f0(this['_univerInstanceService'][_0x2d6932(0x35e)](_0x529613[_0x2d6932(0x190)]),this[_0x2d6932(0x2c5)][_0x2d6932(0x35e)](_0x529613['UNIVER_DOC']))['pipe'](_0x541d53(this[_0x2d6932(0x106)]))[_0x2d6932(0x1c6)](_0x12491b=>{var _0x1c8407=_0x2d6932;const _0x2bc8c1=_0x12491b[_0x1c8407(0x378)](),_0x5cbc1b=this[_0x1c8407(0x1a6)][_0x1c8407(0x277)](_0x2bc8c1);_0x5cbc1b&&(_0x5cbc1b['dispose'](),this['_entities'][_0x1c8407(0x29a)](_0x2bc8c1));});}async[_0x11fce5(0x39a)](_0x6235e2,_0x8396d){var _0x18ba50=_0x11fce5;const _0x9d56af=await this[_0x18ba50(0x102)][_0x18ba50(0x368)](_0x6235e2),_0x4cb26c=this[_0x18ba50(0x2b4)][_0x18ba50(0x3a6)](this['_getCtorByUniverType'](_0x8396d),_0x6235e2,_0x8396d,_0x9d56af);return await _0x4cb26c[_0x18ba50(0x191)](),this['_entityInit$'][_0x18ba50(0x16e)](_0x4cb26c),_0x4cb26c;}[_0x11fce5(0x316)](_0x3e3884){var _0x2f538e=_0x11fce5;switch(_0x3e3884){case Q[_0x2f538e(0x346)]:return It;case Q[_0x2f538e(0x190)]:return St;default:throw new Error(_0x2f538e(0x146)+_0x3e3884);}}};nt=zs([Be(0x0,_0x2d55c5(_0x2fa53b)),Be(0x1,_0x2d55c5(we)),Be(0x2,_0x4762e8),Be(0x3,_0x12d3b5)],nt);var Js=Object['getOwnPropertyDescriptor'],Xs=(_0x48b8f4,_0x53097f,_0x261ee5,_0x1e1e23)=>{var _0x128bba=_0x11fce5;for(var _0x536abd=_0x1e1e23>0x1?void 0x0:_0x1e1e23?Js(_0x53097f,_0x261ee5):_0x53097f,_0x233d32=_0x48b8f4[_0x128bba(0x115)]-0x1,_0x5d8874;_0x233d32>=0x0;_0x233d32--)(_0x5d8874=_0x48b8f4[_0x233d32])&&(_0x536abd=_0x5d8874(_0x536abd)||_0x536abd);return _0x536abd;},Wt=(_0x52ba0c,_0x227063)=>(_0x51f83d,_0x2c64ff)=>_0x227063(_0x51f83d,_0x2c64ff,_0x52ba0c);const Zs='DEFAULT_FILE_NAME',Qs=_0x11fce5(0x3d3);let gt=class extends _0x75f90f{constructor(_0x4c46f0,_0xdc755f){var _0x67a271=_0x11fce5;super(),this[_0x67a271(0x2c5)]=_0x4c46f0,this['_configService']=_0xdc755f,this[_0x67a271(0x15f)]();}[_0x11fce5(0x15f)](){var _0x1d4c51=_0x11fce5;this[_0x1d4c51(0x3b2)](this[_0x1d4c51(0x2c5)]['focused$'][_0x1d4c51(0x1c6)](()=>{var _0x8ae7df=_0x1d4c51,_0x236926;const _0xe1c7aa=this['_univerInstanceService'][_0x8ae7df(0x1c2)]();let _0x43d7a0=(_0x236926=this[_0x8ae7df(0x182)][_0x8ae7df(0x33a)](Zs))!=null?_0x236926:Qs;_0xe1c7aa instanceof _0x39a33e&&(_0x43d7a0=_0xe1c7aa[_0x8ae7df(0x1c0)]),document['title']=_0x43d7a0;}));}};gt=Xs([Wt(0x0,_0x12d3b5),Wt(0x1,_0x4762e8)],gt);var en=Object[_0x11fce5(0x381)],tn=(_0x42ee13,_0x7501e8,_0xda6a6d,_0x3a10cf)=>{var _0x43c6f8=_0x11fce5;for(var _0x236642=_0x3a10cf>0x1?void 0x0:_0x3a10cf?en(_0x7501e8,_0xda6a6d):_0x7501e8,_0xa745d3=_0x42ee13[_0x43c6f8(0x115)]-0x1,_0x3c4ef7;_0xa745d3>=0x0;_0xa745d3--)(_0x3c4ef7=_0x42ee13[_0xa745d3])&&(_0x236642=_0x3c4ef7(_0x236642)||_0x236642);return _0x236642;},dt=(_0x3546df,_0x5b25e8)=>(_0xfa60fa,_0x4b4303)=>_0x5b25e8(_0xfa60fa,_0x4b4303,_0x3546df);let rt=class{constructor(_0x4b7504,_0xc34058,_0x2c79bb){var _0x83f70a=_0x11fce5;this['_configService']=_0x4b7504,this['_httpService']=_0xc34058,this[_0x83f70a(0x2aa)]=_0x2c79bb,this[_0x83f70a(0x191)]();}[_0x11fce5(0x191)](){var _0x185e13=_0x11fce5;this[_0x185e13(0x132)][_0x185e13(0x1b1)]({'priority':0x1,'interceptor':(_0x29c1af,_0x4daf46)=>_0x4daf46(_0x29c1af)[_0x185e13(0x377)](_0x30be5a(async _0x49ed4b=>{var _0xee4e93=_0x185e13;const _0x3cc24d=_0x49ed4b;if(_0x3cc24d['status']===0x191){if(typeof window>'u')throw new Error(_0xee4e93(0x14a));if(window['confirm'](this['localeService']['t'](_0xee4e93(0x380)))){const _0x9c30b1=window['encodeURIComponent'](window[_0xee4e93(0x239)][_0xee4e93(0x278)]);window[_0xee4e93(0x239)][_0xee4e93(0x278)]=this[_0xee4e93(0x27d)]()+_0xee4e93(0x25a)+_0x9c30b1;}}return _0x3cc24d;}))});}[_0x11fce5(0x27d)](){var _0x5da38a=_0x11fce5,_0x440778;const _0x51cd02=this[_0x5da38a(0x182)][_0x5da38a(0x33a)](K);return(_0x440778=_0x51cd02==null?void 0x0:_0x51cd02[_0x5da38a(0x2cf)])!=null?_0x440778:Rs;}};rt=tn([dt(0x0,_0x4762e8),dt(0x1,_0x2d55c5(_0x4f418b)),dt(0x2,_0x2d55c5(_0x246818))],rt);var sn=Object[_0x11fce5(0x381)],nn=(_0xfd5b30,_0x511b2c,_0x32fa93,_0x39d3a8)=>{var _0xe89c13=_0x11fce5;for(var _0x4afd57=_0x39d3a8>0x1?void 0x0:_0x39d3a8?sn(_0x511b2c,_0x32fa93):_0x511b2c,_0x2bd5a6=_0xfd5b30[_0xe89c13(0x115)]-0x1,_0x1d7561;_0x2bd5a6>=0x0;_0x2bd5a6--)(_0x1d7561=_0xfd5b30[_0x2bd5a6])&&(_0x4afd57=_0x1d7561(_0x4afd57)||_0x4afd57);return _0x4afd57;},Yt=(_0x284b9b,_0x9ecbee)=>(_0x356885,_0x3c1c96)=>_0x9ecbee(_0x356885,_0x3c1c96,_0x284b9b);const rn=_0x11fce5(0x2d1);let Tt=class extends _0x75f90f{constructor(_0x549dc4,_0x6db50f){var _0x1762ce=_0x11fce5;super(),this['_HTTPService']=_0x549dc4,this[_0x1762ce(0x182)]=_0x6db50f,this[_0x1762ce(0x1c1)]();}[_0x11fce5(0x1c1)](){var _0xec8dd1=_0x11fce5;const _0x187ff6=this;this[_0xec8dd1(0x3b2)](this[_0xec8dd1(0x34d)][_0xec8dd1(0x1b1)]({'priority':0x3e7,'interceptor':_0x528e9f({'isMatch'(_0x8ffe00){var _0x16c69f=_0xec8dd1,_0x23adb6;if(_0x8ffe00['method']==='POST'&&((_0x23adb6=_0x8ffe00[_0x16c69f(0x1aa)])!=null&&_0x23adb6['body'])){const {objectID:_0xd3044c,objectType:_0x2a2890}=_0x8ffe00[_0x16c69f(0x1aa)][_0x16c69f(0x2f1)]||{};if(!_0xd3044c||_0x2a2890===void 0x0)return!0x1;const _0x5a4ea3=_0x187ff6['_getAPIPrefixPath']()+'/'+_0x2a2890+_0x16c69f(0x133)+_0xd3044c+'/allowed';if(_0x8ffe00['url']===_0x5a4ea3)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xfce09b){var _0x5205e8=_0xec8dd1,_0x474cdb;return(_0x474cdb=_0xfce09b['requestParams'])==null?void 0x0:_0x474cdb[_0x5205e8(0x2f1)];},'mergeParamsToRequest'(_0x300706,_0x47f445){var _0x85739=_0xec8dd1;const _0x3ad839=_0x187ff6['_getAPIPrefixPath']()+_0x85739(0xe7),_0x1225f2=_0x300706['reduce']((_0x36e3c3,_0x32873a)=>{var _0x41fe30=_0x85739;const {unitID:_0x59e025,objectID:_0x275ac8,objectType:_0x27d19d,actions:_0x28b70c}=_0x32873a;return _0x36e3c3[_0x59e025]||(_0x36e3c3[_0x59e025]={}),_0x36e3c3[_0x59e025][_0x275ac8]||(_0x36e3c3[_0x59e025][_0x275ac8]={'objectID':_0x275ac8,'objectType':_0x27d19d,'actions':[]}),_0x36e3c3[_0x59e025][_0x275ac8]['actions'][_0x41fe30(0x145)](..._0x28b70c),_0x36e3c3;},{}),_0x1d1db8=[];for(const _0x5cb11a in _0x1225f2)for(const _0x5d65ef in _0x1225f2[_0x5cb11a]){const {actions:_0x4a8637,objectType:_0x468cef}=_0x1225f2[_0x5cb11a][_0x5d65ef],_0xb62e8e=[...new Set(_0x4a8637)];_0x1d1db8['push']({'unitID':_0x5cb11a,'objectID':_0x5d65ef,'objectType':_0x468cef,'actions':_0xb62e8e});}return new _0x2eadc7('POST',_0x3ad839,{'headers':_0x47f445[_0x85739(0x309)],'withCredentials':_0x47f445[_0x85739(0x137)],'responseType':_0x47f445[_0x85739(0x1be)],'body':{'requests':_0x1d1db8}});}},{'distributeResult'(_0x560161,_0x5e67fa){var _0x419e73=_0xec8dd1;const {objectActions:_0x571821}=_0x560161;return _0x5e67fa[_0x419e73(0x393)](_0x1b15b4=>{var _0x21a91d=_0x419e73;const {unitID:_0x210fc7,objectID:_0x54a8de,actions:_0xc2c388}=_0x1b15b4,_0x11ba8=_0x571821['find'](_0x1d7012=>_0x1d7012[_0x21a91d(0x308)]===_0x210fc7&&_0x1d7012[_0x21a91d(0x211)]===_0x54a8de),_0x2dcf97=_0xc2c388[_0x21a91d(0x393)](_0x16cfb2=>_0x11ba8==null?void 0x0:_0x11ba8['actions']['find'](_0x37c181=>_0x37c181[_0x21a91d(0x3f7)]===_0x16cfb2))['filter'](_0x3b3201=>!!_0x3b3201);return{'config':_0x1b15b4,'result':{'actions':_0x2dcf97,'error':_0x560161[_0x21a91d(0x177)]}};});}})}));}[_0x11fce5(0xf4)](){var _0x441b17=_0x11fce5,_0x356606;const _0x3aa3f3=this['_configService'][_0x441b17(0x33a)](K);return(_0x356606=_0x3aa3f3==null?void 0x0:_0x3aa3f3[_0x441b17(0x274)])!=null?_0x356606:rn;}async[_0x11fce5(0x3d9)](_0x34c93f){var _0x308509=_0x11fce5;const _0x1e7e9a=this['_getAPIPrefixPath']()+'/'+_0x34c93f[_0x308509(0x343)]+_0x308509(0x233);return(await this[_0x308509(0x34d)][_0x308509(0x167)](_0x1e7e9a,{'body':_0x34c93f}))[_0x308509(0x2f1)]['objectID']||'';}async['list'](_0x3d1221){var _0x2a268a=_0x11fce5;const _0x7d9d0=this[_0x2a268a(0xf4)]()+'/-/object/list';return(await this[_0x2a268a(0x34d)]['post'](_0x7d9d0,{'body':_0x3d1221}))[_0x2a268a(0x2f1)][_0x2a268a(0x379)];}async['update'](_0x25f7c9){var _0x125ddb=_0x11fce5,_0x298eac,_0x56fedc;const _0x1af015=this[_0x125ddb(0xf4)]()+'/'+_0x25f7c9[_0x125ddb(0x343)]+'/object/'+_0x25f7c9['objectID'],_0xb86edb=await this['_HTTPService']['put'](_0x1af015,{'body':_0x25f7c9});if(((_0x56fedc=(_0x298eac=_0xb86edb==null?void 0x0:_0xb86edb['body'])==null?void 0x0:_0x298eac[_0x125ddb(0x177)])==null?void 0x0:_0x56fedc[_0x125ddb(0x2a8)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async['allowed'](_0x492f0f){var _0x34b736=_0x11fce5;const _0x503088=this[_0x34b736(0xf4)]()+'/'+_0x492f0f[_0x34b736(0x343)]+_0x34b736(0x133)+_0x492f0f[_0x34b736(0x211)]+_0x34b736(0x2a3);return(await this[_0x34b736(0x34d)][_0x34b736(0x167)](_0x503088,{'body':_0x492f0f}))[_0x34b736(0x2f1)][_0x34b736(0x3c4)];}async[_0x11fce5(0x347)](_0x315393){var _0x13561b=_0x11fce5;const _0x56d158=this['_getAPIPrefixPath']()+_0x13561b(0xe7);return(await this[_0x13561b(0x34d)][_0x13561b(0x167)](_0x56d158,{'body':{'requests':_0x315393}}))['body']['objectActions'];}async[_0x11fce5(0x250)](_0xe772a2){var _0x222d86=_0x11fce5;const _0x5303bf=this[_0x222d86(0xf4)]()+'/'+_0xe772a2[_0x222d86(0x343)]+_0x222d86(0x32d),_0xb6359f=await this[_0x222d86(0x34d)]['post'](_0x5303bf,{'body':_0xe772a2});return{'roles':_0xb6359f[_0x222d86(0x2f1)][_0x222d86(0x234)],'actions':_0xb6359f['body'][_0x222d86(0x3c4)]};}async[_0x11fce5(0x398)](_0x3eabf0){var _0x2a6766=_0x11fce5;const _0x4b57d2=this[_0x2a6766(0xf4)]()+_0x2a6766(0x317);await this['_HTTPService'][_0x2a6766(0x29a)](_0x4b57d2,{'params':{'collaboratorID':_0x3eabf0[_0x2a6766(0x225)],'objectID':_0x3eabf0[_0x2a6766(0x211)],'unitID':_0x3eabf0[_0x2a6766(0x308)]}});}async[_0x11fce5(0x1d0)](_0x203b97){var _0x18cde4=_0x11fce5;const _0x5e002a=this['_getAPIPrefixPath']()+_0x18cde4(0x317);await this[_0x18cde4(0x34d)][_0x18cde4(0x3bc)](_0x5e002a,{'body':_0x203b97});}async[_0x11fce5(0x1d3)](_0x4f0c95){var _0x547d00=_0x11fce5;const _0x555751=this['_getAPIPrefixPath']()+_0x547d00(0x317);await this['_HTTPService'][_0x547d00(0x167)](_0x555751,{'body':_0x4f0c95});}async[_0x11fce5(0x253)](_0x2026b3){var _0x1ef070=_0x11fce5;const _0x1a7c1f=this[_0x1ef070(0xf4)]()+_0x1ef070(0x317);return(await this['_HTTPService'][_0x1ef070(0x277)](_0x1a7c1f,{'params':{'objectID':_0x2026b3['objectID'],'unitID':_0x2026b3['unitID']}}))[_0x1ef070(0x2f1)][_0x1ef070(0x284)];}async[_0x11fce5(0x3ad)](_0x30ce9f){var _0x3f9ca6=_0x11fce5;const _0x495cda=this[_0x3f9ca6(0xf4)]()+_0x3f9ca6(0x317);await this['_HTTPService'][_0x3f9ca6(0x13a)](_0x495cda,{'body':_0x30ce9f});}};Tt=nn([Yt(0x0,_0x2d55c5(_0x4f418b)),Yt(0x1,_0x2d55c5(_0x4762e8))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x2d24ae){var _0x577b01=_0x11fce5;return _0x2d24ae&&_0x2d24ae['__esModule']&&Object['prototype'][_0x577b01(0x15d)]['call'](_0x2d24ae,_0x577b01(0x1c4))?_0x2d24ae[_0x577b01(0x1c4)]:_0x2d24ae;}var Ve={'exports':{}};function an(_0x578cb6){var _0x6222c=_0x11fce5;throw new Error(_0x6222c(0x19b)+_0x578cb6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},on=Ge[_0x11fce5(0x2af)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x116f18,_0x445660){(function(_0x38719f,_0x2dda9f){var _0x273339=_0x26d2;_0x116f18[_0x273339(0x2af)]=_0x2dda9f();}(on,function(){var _0x4ad917=_0x4ad917||function(_0x15797f,_0x5d032a){var _0x3df5e9=_0x26d2,_0x1eccc3;if(typeof window<'u'&&window[_0x3df5e9(0x38e)]&&(_0x1eccc3=window[_0x3df5e9(0x38e)]),typeof self<'u'&&self[_0x3df5e9(0x38e)]&&(_0x1eccc3=self[_0x3df5e9(0x38e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1eccc3=globalThis['crypto']),!_0x1eccc3&&typeof window<'u'&&window[_0x3df5e9(0xe9)]&&(_0x1eccc3=window[_0x3df5e9(0xe9)]),!_0x1eccc3&&typeof ft<'u'&&ft[_0x3df5e9(0x38e)]&&(_0x1eccc3=ft[_0x3df5e9(0x38e)]),!_0x1eccc3&&typeof an==_0x3df5e9(0x1eb))try{_0x1eccc3=require('crypto');}catch{}var _0xb0dde4=function(){var _0x3f9e4f=_0x3df5e9;if(_0x1eccc3){if(typeof _0x1eccc3[_0x3f9e4f(0x348)]==_0x3f9e4f(0x1eb))try{return _0x1eccc3[_0x3f9e4f(0x348)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1eccc3[_0x3f9e4f(0x32b)]==_0x3f9e4f(0x1eb))try{return _0x1eccc3[_0x3f9e4f(0x32b)](0x4)[_0x3f9e4f(0x22e)]();}catch{}}throw new Error(_0x3f9e4f(0x13c));},_0x9db1c4=Object['create']||(function(){function _0x2b4f03(){}return function(_0xf9030b){var _0x3ff7cb=_0x26d2,_0x1dc2da;return _0x2b4f03[_0x3ff7cb(0x1ba)]=_0xf9030b,_0x1dc2da=new _0x2b4f03(),_0x2b4f03[_0x3ff7cb(0x1ba)]=null,_0x1dc2da;};}()),_0x4004f6={},_0x29bf08=_0x4004f6[_0x3df5e9(0x255)]={},_0x3e1cf5=_0x29bf08[_0x3df5e9(0x178)]=(function(){return{'extend':function(_0x4c357e){var _0x38630f=_0x26d2,_0x2a1713=_0x9db1c4(this);return _0x4c357e&&_0x2a1713[_0x38630f(0x1e0)](_0x4c357e),(!_0x2a1713['hasOwnProperty']('init')||this[_0x38630f(0x191)]===_0x2a1713[_0x38630f(0x191)])&&(_0x2a1713[_0x38630f(0x191)]=function(){var _0x41c8c8=_0x38630f;_0x2a1713[_0x41c8c8(0x172)][_0x41c8c8(0x191)][_0x41c8c8(0x3bb)](this,arguments);}),_0x2a1713['init'][_0x38630f(0x1ba)]=_0x2a1713,_0x2a1713['$super']=this,_0x2a1713;},'create':function(){var _0x3cb0d4=_0x26d2,_0xa59bcb=this[_0x3cb0d4(0x3af)]();return _0xa59bcb[_0x3cb0d4(0x191)]['apply'](_0xa59bcb,arguments),_0xa59bcb;},'init':function(){},'mixIn':function(_0x47a815){var _0x1bf478=_0x26d2;for(var _0x40da07 in _0x47a815)_0x47a815[_0x1bf478(0x15d)](_0x40da07)&&(this[_0x40da07]=_0x47a815[_0x40da07]);_0x47a815[_0x1bf478(0x15d)]('toString')&&(this[_0x1bf478(0x1a0)]=_0x47a815[_0x1bf478(0x1a0)]);},'clone':function(){var _0x171afa=_0x26d2;return this[_0x171afa(0x191)][_0x171afa(0x1ba)][_0x171afa(0x3af)](this);}};}()),_0x198a1e=_0x29bf08[_0x3df5e9(0x2e8)]=_0x3e1cf5[_0x3df5e9(0x3af)]({'init':function(_0x7a12a4,_0x1a28ac){var _0x49e3d7=_0x3df5e9;_0x7a12a4=this[_0x49e3d7(0x1fa)]=_0x7a12a4||[],_0x1a28ac!=_0x5d032a?this[_0x49e3d7(0x21e)]=_0x1a28ac:this[_0x49e3d7(0x21e)]=_0x7a12a4['length']*0x4;},'toString':function(_0x55fc48){return(_0x55fc48||_0xbb8f84)['stringify'](this);},'concat':function(_0x4b51da){var _0x4b1fe3=_0x3df5e9,_0x30937f=this[_0x4b1fe3(0x1fa)],_0x1ee379=_0x4b51da[_0x4b1fe3(0x1fa)],_0x59a222=this[_0x4b1fe3(0x21e)],_0x894f73=_0x4b51da[_0x4b1fe3(0x21e)];if(this[_0x4b1fe3(0x3d4)](),_0x59a222%0x4)for(var _0x4bcb20=0x0;_0x4bcb20<_0x894f73;_0x4bcb20++){var _0x11ae26=_0x1ee379[_0x4bcb20>>>0x2]>>>0x18-_0x4bcb20%0x4*0x8&0xff;_0x30937f[_0x59a222+_0x4bcb20>>>0x2]|=_0x11ae26<<0x18-(_0x59a222+_0x4bcb20)%0x4*0x8;}else{for(var _0x29cd2e=0x0;_0x29cd2e<_0x894f73;_0x29cd2e+=0x4)_0x30937f[_0x59a222+_0x29cd2e>>>0x2]=_0x1ee379[_0x29cd2e>>>0x2];}return this[_0x4b1fe3(0x21e)]+=_0x894f73,this;},'clamp':function(){var _0x146072=_0x3df5e9,_0x2f4c83=this['words'],_0x35254a=this[_0x146072(0x21e)];_0x2f4c83[_0x35254a>>>0x2]&=0xffffffff<<0x20-_0x35254a%0x4*0x8,_0x2f4c83[_0x146072(0x115)]=_0x15797f['ceil'](_0x35254a/0x4);},'clone':function(){var _0x224815=_0x3df5e9,_0x43e16d=_0x3e1cf5[_0x224815(0x37f)][_0x224815(0x23e)](this);return _0x43e16d[_0x224815(0x1fa)]=this[_0x224815(0x1fa)][_0x224815(0x2ee)](0x0),_0x43e16d;},'random':function(_0x35fdf2){var _0x3ec0d0=_0x3df5e9;for(var _0x25ae30=[],_0x58023f=0x0;_0x58023f<_0x35fdf2;_0x58023f+=0x4)_0x25ae30[_0x3ec0d0(0x145)](_0xb0dde4());return new _0x198a1e[(_0x3ec0d0(0x191))](_0x25ae30,_0x35fdf2);}}),_0x406440=_0x4004f6[_0x3df5e9(0x17a)]={},_0xbb8f84=_0x406440[_0x3df5e9(0x2dc)]={'stringify':function(_0x2b0306){var _0x44ac7f=_0x3df5e9;for(var _0xf7fa2e=_0x2b0306[_0x44ac7f(0x1fa)],_0x1c6fe6=_0x2b0306[_0x44ac7f(0x21e)],_0xcbe0f3=[],_0x192206=0x0;_0x192206<_0x1c6fe6;_0x192206++){var _0x22887f=_0xf7fa2e[_0x192206>>>0x2]>>>0x18-_0x192206%0x4*0x8&0xff;_0xcbe0f3[_0x44ac7f(0x145)]((_0x22887f>>>0x4)['toString'](0x10)),_0xcbe0f3[_0x44ac7f(0x145)]((_0x22887f&0xf)[_0x44ac7f(0x1a0)](0x10));}return _0xcbe0f3['join']('');},'parse':function(_0x321f3e){var _0x181113=_0x3df5e9;for(var _0x542122=_0x321f3e['length'],_0x20698f=[],_0xd5c67b=0x0;_0xd5c67b<_0x542122;_0xd5c67b+=0x2)_0x20698f[_0xd5c67b>>>0x3]|=parseInt(_0x321f3e[_0x181113(0x1ad)](_0xd5c67b,0x2),0x10)<<0x18-_0xd5c67b%0x8*0x4;return new _0x198a1e[(_0x181113(0x191))](_0x20698f,_0x542122/0x2);}},_0x117b0b=_0x406440[_0x3df5e9(0x1a4)]={'stringify':function(_0x77f28b){var _0x4d8d7b=_0x3df5e9;for(var _0x25a71b=_0x77f28b[_0x4d8d7b(0x1fa)],_0x32d29c=_0x77f28b[_0x4d8d7b(0x21e)],_0x3e0699=[],_0x3732a9=0x0;_0x3732a9<_0x32d29c;_0x3732a9++){var _0x4bd845=_0x25a71b[_0x3732a9>>>0x2]>>>0x18-_0x3732a9%0x4*0x8&0xff;_0x3e0699[_0x4d8d7b(0x145)](String[_0x4d8d7b(0x249)](_0x4bd845));}return _0x3e0699[_0x4d8d7b(0x385)]('');},'parse':function(_0x1b690f){var _0x5a8096=_0x3df5e9;for(var _0x1a266f=_0x1b690f[_0x5a8096(0x115)],_0x545da1=[],_0x3d5daf=0x0;_0x3d5daf<_0x1a266f;_0x3d5daf++)_0x545da1[_0x3d5daf>>>0x2]|=(_0x1b690f['charCodeAt'](_0x3d5daf)&0xff)<<0x18-_0x3d5daf%0x4*0x8;return new _0x198a1e['init'](_0x545da1,_0x1a266f);}},_0xf7cc46=_0x406440['Utf8']={'stringify':function(_0x1f44dc){var _0x52673a=_0x3df5e9;try{return decodeURIComponent(escape(_0x117b0b[_0x52673a(0x3be)](_0x1f44dc)));}catch{throw new Error(_0x52673a(0x3f2));}},'parse':function(_0x5ebac4){return _0x117b0b['parse'](unescape(encodeURIComponent(_0x5ebac4)));}},_0x2b9cd4=_0x29bf08['BufferedBlockAlgorithm']=_0x3e1cf5[_0x3df5e9(0x3af)]({'reset':function(){this['_data']=new _0x198a1e['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x2057cf){var _0x4db34e=_0x3df5e9;typeof _0x2057cf==_0x4db34e(0x307)&&(_0x2057cf=_0xf7cc46[_0x4db34e(0x2ad)](_0x2057cf)),this['_data'][_0x4db34e(0xfc)](_0x2057cf),this[_0x4db34e(0x176)]+=_0x2057cf[_0x4db34e(0x21e)];},'_process':function(_0x340d2b){var _0xc24506=_0x3df5e9,_0x34e021,_0x1fce84=this[_0xc24506(0x2a4)],_0x1c1c84=_0x1fce84['words'],_0xdbd004=_0x1fce84[_0xc24506(0x21e)],_0x4aa4f7=this['blockSize'],_0x31f726=_0x4aa4f7*0x4,_0x5d434a=_0xdbd004/_0x31f726;_0x340d2b?_0x5d434a=_0x15797f['ceil'](_0x5d434a):_0x5d434a=_0x15797f[_0xc24506(0x302)]((_0x5d434a|0x0)-this['_minBufferSize'],0x0);var _0x385844=_0x5d434a*_0x4aa4f7,_0x21745a=_0x15797f[_0xc24506(0x228)](_0x385844*0x4,_0xdbd004);if(_0x385844){for(var _0x507cfa=0x0;_0x507cfa<_0x385844;_0x507cfa+=_0x4aa4f7)this['_doProcessBlock'](_0x1c1c84,_0x507cfa);_0x34e021=_0x1c1c84['splice'](0x0,_0x385844),_0x1fce84[_0xc24506(0x21e)]-=_0x21745a;}return new _0x198a1e['init'](_0x34e021,_0x21745a);},'clone':function(){var _0x28126d=_0x3df5e9,_0x4ec0f5=_0x3e1cf5['clone'][_0x28126d(0x23e)](this);return _0x4ec0f5[_0x28126d(0x2a4)]=this[_0x28126d(0x2a4)]['clone'](),_0x4ec0f5;},'_minBufferSize':0x0});_0x29bf08[_0x3df5e9(0x1c3)]=_0x2b9cd4[_0x3df5e9(0x3af)]({'cfg':_0x3e1cf5[_0x3df5e9(0x3af)](),'init':function(_0x1dd932){var _0x1010e6=_0x3df5e9;this[_0x1010e6(0x13d)]=this[_0x1010e6(0x13d)]['extend'](_0x1dd932),this[_0x1010e6(0x35b)]();},'reset':function(){var _0x1a4ef2=_0x3df5e9;_0x2b9cd4['reset']['call'](this),this[_0x1a4ef2(0x30e)]();},'update':function(_0x1bb26a){var _0x4d1e9e=_0x3df5e9;return this['_append'](_0x1bb26a),this[_0x4d1e9e(0x291)](),this;},'finalize':function(_0x26a9c2){var _0x378b98=_0x3df5e9;_0x26a9c2&&this[_0x378b98(0xee)](_0x26a9c2);var _0x18d362=this[_0x378b98(0x29d)]();return _0x18d362;},'blockSize':0x10,'_createHelper':function(_0x20e59b){return function(_0x3567c4,_0x48c98a){var _0x10c09c=_0x26d2;return new _0x20e59b[(_0x10c09c(0x191))](_0x48c98a)['finalize'](_0x3567c4);};},'_createHmacHelper':function(_0x5ed962){return function(_0x50c5ba,_0x26f384){var _0x1ed708=_0x26d2;return new _0x162a85['HMAC'][(_0x1ed708(0x191))](_0x5ed962,_0x26f384)['finalize'](_0x50c5ba);};}});var _0x162a85=_0x4004f6[_0x3df5e9(0x1d8)]={};return _0x4004f6;}(Math);return _0x4ad917;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x11fce5(0x2af)],qt;function Ri(){var _0x365fd1=_0x11fce5;return qt||(qt=0x1,function(_0x37e1a5,_0x4d875e){(function(_0x2121f0,_0x86df0e){_0x37e1a5['exports']=_0x86df0e(ie());}(cn,function(_0x770b9f){var _0x480faa=_0x26d2;return(function(){var _0x1d124c=_0x26d2,_0x5e40cd=_0x770b9f,_0x65640e=_0x5e40cd['lib'],_0x412ed4=_0x65640e[_0x1d124c(0x2e8)],_0x1ca9e3=_0x5e40cd[_0x1d124c(0x17a)];_0x1ca9e3[_0x1d124c(0x157)]={'stringify':function(_0x286748){var _0x2d5dd6=_0x1d124c,_0x349e7a=_0x286748[_0x2d5dd6(0x1fa)],_0x2cd58b=_0x286748[_0x2d5dd6(0x21e)],_0xe012b8=this[_0x2d5dd6(0x28c)];_0x286748[_0x2d5dd6(0x3d4)]();for(var _0x5a9d03=[],_0x1fb7d9=0x0;_0x1fb7d9<_0x2cd58b;_0x1fb7d9+=0x3)for(var _0x59e438=_0x349e7a[_0x1fb7d9>>>0x2]>>>0x18-_0x1fb7d9%0x4*0x8&0xff,_0x4cd7c2=_0x349e7a[_0x1fb7d9+0x1>>>0x2]>>>0x18-(_0x1fb7d9+0x1)%0x4*0x8&0xff,_0x481e65=_0x349e7a[_0x1fb7d9+0x2>>>0x2]>>>0x18-(_0x1fb7d9+0x2)%0x4*0x8&0xff,_0x2fce20=_0x59e438<<0x10|_0x4cd7c2<<0x8|_0x481e65,_0x20a49c=0x0;_0x20a49c<0x4&&_0x1fb7d9+_0x20a49c*0.75<_0x2cd58b;_0x20a49c++)_0x5a9d03[_0x2d5dd6(0x145)](_0xe012b8[_0x2d5dd6(0x341)](_0x2fce20>>>0x6*(0x3-_0x20a49c)&0x3f));var _0x15bf2a=_0xe012b8[_0x2d5dd6(0x341)](0x40);if(_0x15bf2a){for(;_0x5a9d03[_0x2d5dd6(0x115)]%0x4;)_0x5a9d03[_0x2d5dd6(0x145)](_0x15bf2a);}return _0x5a9d03['join']('');},'parse':function(_0x2f1a5c){var _0x526b48=_0x1d124c,_0x1c0a3a=_0x2f1a5c[_0x526b48(0x115)],_0x3b8c12=this[_0x526b48(0x28c)],_0x324b89=this[_0x526b48(0x36d)];if(!_0x324b89){_0x324b89=this[_0x526b48(0x36d)]=[];for(var _0x70502d=0x0;_0x70502d<_0x3b8c12[_0x526b48(0x115)];_0x70502d++)_0x324b89[_0x3b8c12['charCodeAt'](_0x70502d)]=_0x70502d;}var _0x1559b9=_0x3b8c12[_0x526b48(0x341)](0x40);if(_0x1559b9){var _0x1553ae=_0x2f1a5c['indexOf'](_0x1559b9);_0x1553ae!==-0x1&&(_0x1c0a3a=_0x1553ae);}return _0x2b95e7(_0x2f1a5c,_0x1c0a3a,_0x324b89);},'_map':_0x1d124c(0xf6)};function _0x2b95e7(_0x1f1898,_0x5ec20a,_0x12c520){var _0x3e6bdc=_0x1d124c;for(var _0x38febe=[],_0x2f0e99=0x0,_0x4b4380=0x0;_0x4b4380<_0x5ec20a;_0x4b4380++)if(_0x4b4380%0x4){var _0x4ecd8e=_0x12c520[_0x1f1898[_0x3e6bdc(0x35f)](_0x4b4380-0x1)]<<_0x4b4380%0x4*0x2,_0x1639ce=_0x12c520[_0x1f1898[_0x3e6bdc(0x35f)](_0x4b4380)]>>>0x6-_0x4b4380%0x4*0x2,_0x10cdc7=_0x4ecd8e|_0x1639ce;_0x38febe[_0x2f0e99>>>0x2]|=_0x10cdc7<<0x18-_0x2f0e99%0x4*0x8,_0x2f0e99++;}return _0x412ed4[_0x3e6bdc(0x3d9)](_0x38febe,_0x2f0e99);}}()),_0x770b9f[_0x480faa(0x17a)][_0x480faa(0x157)];}));}(We)),We[_0x365fd1(0x2af)];}var Ye={'exports':{}},_n=Ye[_0x11fce5(0x2af)],zt;function hn(){var _0x4c2b6c=_0x11fce5;return zt||(zt=0x1,function(_0x1d7319,_0x45bc89){(function(_0x51f9bf,_0x623119){var _0xb8a363=_0x26d2;_0x1d7319[_0xb8a363(0x2af)]=_0x623119(ie());}(_n,function(_0x164969){var _0x375d73=_0x26d2;return function(_0x25b8ac){var _0x43ae5c=_0x26d2,_0x2b99d8=_0x164969,_0x18f47c=_0x2b99d8[_0x43ae5c(0x255)],_0x1b5cd5=_0x18f47c[_0x43ae5c(0x2e8)],_0x4d1a82=_0x18f47c['Hasher'],_0x15b9ae=_0x2b99d8[_0x43ae5c(0x1d8)],_0x58ab25=[];(function(){var _0x55dd3c=_0x43ae5c;for(var _0x1a10db=0x0;_0x1a10db<0x40;_0x1a10db++)_0x58ab25[_0x1a10db]=_0x25b8ac[_0x55dd3c(0x3b6)](_0x25b8ac[_0x55dd3c(0x20d)](_0x1a10db+0x1))*0x100000000|0x0;}());var _0x263cce=_0x15b9ae['MD5']=_0x4d1a82[_0x43ae5c(0x3af)]({'_doReset':function(){var _0x5a216f=_0x43ae5c;this[_0x5a216f(0x107)]=new _0x1b5cd5[(_0x5a216f(0x191))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2755ef,_0x320047){var _0x2ffab2=_0x43ae5c;for(var _0x5593af=0x0;_0x5593af<0x10;_0x5593af++){var _0x24c864=_0x320047+_0x5593af,_0x1e378e=_0x2755ef[_0x24c864];_0x2755ef[_0x24c864]=(_0x1e378e<<0x8|_0x1e378e>>>0x18)&0xff00ff|(_0x1e378e<<0x18|_0x1e378e>>>0x8)&0xff00ff00;}var _0x9605c4=this[_0x2ffab2(0x107)]['words'],_0x585728=_0x2755ef[_0x320047+0x0],_0x4fc668=_0x2755ef[_0x320047+0x1],_0x9ca765=_0x2755ef[_0x320047+0x2],_0x39bed8=_0x2755ef[_0x320047+0x3],_0x48299d=_0x2755ef[_0x320047+0x4],_0x1b1d0f=_0x2755ef[_0x320047+0x5],_0x90b722=_0x2755ef[_0x320047+0x6],_0x6a7fcc=_0x2755ef[_0x320047+0x7],_0x183641=_0x2755ef[_0x320047+0x8],_0x334920=_0x2755ef[_0x320047+0x9],_0x23080b=_0x2755ef[_0x320047+0xa],_0x393c1e=_0x2755ef[_0x320047+0xb],_0x11ec11=_0x2755ef[_0x320047+0xc],_0x36aed7=_0x2755ef[_0x320047+0xd],_0x288d83=_0x2755ef[_0x320047+0xe],_0x5170b5=_0x2755ef[_0x320047+0xf],_0x591ec0=_0x9605c4[0x0],_0x5ddf06=_0x9605c4[0x1],_0xf625b5=_0x9605c4[0x2],_0x3a3e3a=_0x9605c4[0x3];_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x585728,0x7,_0x58ab25[0x0]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x4fc668,0xc,_0x58ab25[0x1]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x9ca765,0x11,_0x58ab25[0x2]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x39bed8,0x16,_0x58ab25[0x3]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x48299d,0x7,_0x58ab25[0x4]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x1b1d0f,0xc,_0x58ab25[0x5]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x90b722,0x11,_0x58ab25[0x6]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x6a7fcc,0x16,_0x58ab25[0x7]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x183641,0x7,_0x58ab25[0x8]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x334920,0xc,_0x58ab25[0x9]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x23080b,0x11,_0x58ab25[0xa]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x393c1e,0x16,_0x58ab25[0xb]),_0x591ec0=_0x23dbdf(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x11ec11,0x7,_0x58ab25[0xc]),_0x3a3e3a=_0x23dbdf(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x36aed7,0xc,_0x58ab25[0xd]),_0xf625b5=_0x23dbdf(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x288d83,0x11,_0x58ab25[0xe]),_0x5ddf06=_0x23dbdf(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5170b5,0x16,_0x58ab25[0xf]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x4fc668,0x5,_0x58ab25[0x10]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x90b722,0x9,_0x58ab25[0x11]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x393c1e,0xe,_0x58ab25[0x12]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x585728,0x14,_0x58ab25[0x13]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x1b1d0f,0x5,_0x58ab25[0x14]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x23080b,0x9,_0x58ab25[0x15]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x5170b5,0xe,_0x58ab25[0x16]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x48299d,0x14,_0x58ab25[0x17]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x334920,0x5,_0x58ab25[0x18]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x288d83,0x9,_0x58ab25[0x19]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x39bed8,0xe,_0x58ab25[0x1a]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x183641,0x14,_0x58ab25[0x1b]),_0x591ec0=_0x11b644(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x36aed7,0x5,_0x58ab25[0x1c]),_0x3a3e3a=_0x11b644(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x9ca765,0x9,_0x58ab25[0x1d]),_0xf625b5=_0x11b644(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x6a7fcc,0xe,_0x58ab25[0x1e]),_0x5ddf06=_0x11b644(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x11ec11,0x14,_0x58ab25[0x1f]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x1b1d0f,0x4,_0x58ab25[0x20]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x183641,0xb,_0x58ab25[0x21]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x393c1e,0x10,_0x58ab25[0x22]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x288d83,0x17,_0x58ab25[0x23]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x4fc668,0x4,_0x58ab25[0x24]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x48299d,0xb,_0x58ab25[0x25]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x6a7fcc,0x10,_0x58ab25[0x26]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x23080b,0x17,_0x58ab25[0x27]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x36aed7,0x4,_0x58ab25[0x28]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x585728,0xb,_0x58ab25[0x29]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x39bed8,0x10,_0x58ab25[0x2a]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x90b722,0x17,_0x58ab25[0x2b]),_0x591ec0=_0x63b1c2(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x334920,0x4,_0x58ab25[0x2c]),_0x3a3e3a=_0x63b1c2(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x11ec11,0xb,_0x58ab25[0x2d]),_0xf625b5=_0x63b1c2(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x5170b5,0x10,_0x58ab25[0x2e]),_0x5ddf06=_0x63b1c2(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x9ca765,0x17,_0x58ab25[0x2f]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x585728,0x6,_0x58ab25[0x30]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x6a7fcc,0xa,_0x58ab25[0x31]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x288d83,0xf,_0x58ab25[0x32]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x1b1d0f,0x15,_0x58ab25[0x33]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x11ec11,0x6,_0x58ab25[0x34]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x39bed8,0xa,_0x58ab25[0x35]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x23080b,0xf,_0x58ab25[0x36]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x4fc668,0x15,_0x58ab25[0x37]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x183641,0x6,_0x58ab25[0x38]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x5170b5,0xa,_0x58ab25[0x39]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x90b722,0xf,_0x58ab25[0x3a]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x36aed7,0x15,_0x58ab25[0x3b]),_0x591ec0=_0x1a3523(_0x591ec0,_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x48299d,0x6,_0x58ab25[0x3c]),_0x3a3e3a=_0x1a3523(_0x3a3e3a,_0x591ec0,_0x5ddf06,_0xf625b5,_0x393c1e,0xa,_0x58ab25[0x3d]),_0xf625b5=_0x1a3523(_0xf625b5,_0x3a3e3a,_0x591ec0,_0x5ddf06,_0x9ca765,0xf,_0x58ab25[0x3e]),_0x5ddf06=_0x1a3523(_0x5ddf06,_0xf625b5,_0x3a3e3a,_0x591ec0,_0x334920,0x15,_0x58ab25[0x3f]),_0x9605c4[0x0]=_0x9605c4[0x0]+_0x591ec0|0x0,_0x9605c4[0x1]=_0x9605c4[0x1]+_0x5ddf06|0x0,_0x9605c4[0x2]=_0x9605c4[0x2]+_0xf625b5|0x0,_0x9605c4[0x3]=_0x9605c4[0x3]+_0x3a3e3a|0x0;},'_doFinalize':function(){var _0x4015ca=_0x43ae5c,_0x5e01c7=this[_0x4015ca(0x2a4)],_0x485a95=_0x5e01c7[_0x4015ca(0x1fa)],_0x27955c=this[_0x4015ca(0x176)]*0x8,_0x139d4c=_0x5e01c7['sigBytes']*0x8;_0x485a95[_0x139d4c>>>0x5]|=0x80<<0x18-_0x139d4c%0x20;var _0x4781ab=_0x25b8ac[_0x4015ca(0x1b3)](_0x27955c/0x100000000),_0x163809=_0x27955c;_0x485a95[(_0x139d4c+0x40>>>0x9<<0x4)+0xf]=(_0x4781ab<<0x8|_0x4781ab>>>0x18)&0xff00ff|(_0x4781ab<<0x18|_0x4781ab>>>0x8)&0xff00ff00,_0x485a95[(_0x139d4c+0x40>>>0x9<<0x4)+0xe]=(_0x163809<<0x8|_0x163809>>>0x18)&0xff00ff|(_0x163809<<0x18|_0x163809>>>0x8)&0xff00ff00,_0x5e01c7[_0x4015ca(0x21e)]=(_0x485a95[_0x4015ca(0x115)]+0x1)*0x4,this[_0x4015ca(0x291)]();for(var _0x1c3d9e=this[_0x4015ca(0x107)],_0x1c0478=_0x1c3d9e[_0x4015ca(0x1fa)],_0x268b76=0x0;_0x268b76<0x4;_0x268b76++){var _0x34a9a4=_0x1c0478[_0x268b76];_0x1c0478[_0x268b76]=(_0x34a9a4<<0x8|_0x34a9a4>>>0x18)&0xff00ff|(_0x34a9a4<<0x18|_0x34a9a4>>>0x8)&0xff00ff00;}return _0x1c3d9e;},'clone':function(){var _0x175e0f=_0x43ae5c,_0x5c86c1=_0x4d1a82[_0x175e0f(0x37f)]['call'](this);return _0x5c86c1[_0x175e0f(0x107)]=this[_0x175e0f(0x107)][_0x175e0f(0x37f)](),_0x5c86c1;}});function _0x23dbdf(_0x292062,_0x3a54a0,_0x3eae5f,_0x1a0d10,_0x10259e,_0x585cbe,_0x50eb8c){var _0x2d8afa=_0x292062+(_0x3a54a0&_0x3eae5f|~_0x3a54a0&_0x1a0d10)+_0x10259e+_0x50eb8c;return(_0x2d8afa<<_0x585cbe|_0x2d8afa>>>0x20-_0x585cbe)+_0x3a54a0;}function _0x11b644(_0x5a265b,_0x42a4f2,_0x49c184,_0x5e6e4a,_0x512ad2,_0x10e983,_0x3bb653){var _0x4a55ed=_0x5a265b+(_0x42a4f2&_0x5e6e4a|_0x49c184&~_0x5e6e4a)+_0x512ad2+_0x3bb653;return(_0x4a55ed<<_0x10e983|_0x4a55ed>>>0x20-_0x10e983)+_0x42a4f2;}function _0x63b1c2(_0xce9e31,_0x26bef9,_0x186176,_0x4f5f3d,_0x8166ac,_0x17c2fb,_0x26cdf0){var _0x162908=_0xce9e31+(_0x26bef9^_0x186176^_0x4f5f3d)+_0x8166ac+_0x26cdf0;return(_0x162908<<_0x17c2fb|_0x162908>>>0x20-_0x17c2fb)+_0x26bef9;}function _0x1a3523(_0x43e17f,_0x582fa3,_0x14417d,_0x51cc26,_0x5f4f7c,_0x4aa3e0,_0x1a7955){var _0x48f797=_0x43e17f+(_0x14417d^(_0x582fa3|~_0x51cc26))+_0x5f4f7c+_0x1a7955;return(_0x48f797<<_0x4aa3e0|_0x48f797>>>0x20-_0x4aa3e0)+_0x582fa3;}_0x2b99d8[_0x43ae5c(0x242)]=_0x4d1a82[_0x43ae5c(0x397)](_0x263cce),_0x2b99d8[_0x43ae5c(0x25b)]=_0x4d1a82[_0x43ae5c(0x1f3)](_0x263cce);}(Math),_0x164969[_0x375d73(0x242)];}));}(Ye)),Ye[_0x4c2b6c(0x2af)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x11fce5(0x2af)],Jt;function un(){var _0x41ddb3=_0x11fce5;return Jt||(Jt=0x1,function(_0x2161cc,_0x3977ad){(function(_0x5c1bbe,_0x1d5491){_0x2161cc['exports']=_0x1d5491(ie());}(ln,function(_0x501948){var _0x44131f=_0x26d2;return(function(){var _0x286cd7=_0x26d2,_0x13d91a=_0x501948,_0x471b4f=_0x13d91a[_0x286cd7(0x255)],_0x58f4b=_0x471b4f['WordArray'],_0x13d3b2=_0x471b4f['Hasher'],_0x374d14=_0x13d91a['algo'],_0x137ef8=[],_0x143857=_0x374d14[_0x286cd7(0x384)]=_0x13d3b2[_0x286cd7(0x3af)]({'_doReset':function(){var _0x1a9bcd=_0x286cd7;this[_0x1a9bcd(0x107)]=new _0x58f4b[(_0x1a9bcd(0x191))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a205d,_0x5658a9){var _0x585bc9=_0x286cd7;for(var _0x2ea252=this['_hash'][_0x585bc9(0x1fa)],_0x2eae20=_0x2ea252[0x0],_0x29a0e2=_0x2ea252[0x1],_0x1a70c3=_0x2ea252[0x2],_0xcc2c5d=_0x2ea252[0x3],_0x4e1ef3=_0x2ea252[0x4],_0x391fa0=0x0;_0x391fa0<0x50;_0x391fa0++){if(_0x391fa0<0x10)_0x137ef8[_0x391fa0]=_0x2a205d[_0x5658a9+_0x391fa0]|0x0;else{var _0x47ae0a=_0x137ef8[_0x391fa0-0x3]^_0x137ef8[_0x391fa0-0x8]^_0x137ef8[_0x391fa0-0xe]^_0x137ef8[_0x391fa0-0x10];_0x137ef8[_0x391fa0]=_0x47ae0a<<0x1|_0x47ae0a>>>0x1f;}var _0x3273e8=(_0x2eae20<<0x5|_0x2eae20>>>0x1b)+_0x4e1ef3+_0x137ef8[_0x391fa0];_0x391fa0<0x14?_0x3273e8+=(_0x29a0e2&_0x1a70c3|~_0x29a0e2&_0xcc2c5d)+0x5a827999:_0x391fa0<0x28?_0x3273e8+=(_0x29a0e2^_0x1a70c3^_0xcc2c5d)+0x6ed9eba1:_0x391fa0<0x3c?_0x3273e8+=(_0x29a0e2&_0x1a70c3|_0x29a0e2&_0xcc2c5d|_0x1a70c3&_0xcc2c5d)-0x70e44324:_0x3273e8+=(_0x29a0e2^_0x1a70c3^_0xcc2c5d)-0x359d3e2a,_0x4e1ef3=_0xcc2c5d,_0xcc2c5d=_0x1a70c3,_0x1a70c3=_0x29a0e2<<0x1e|_0x29a0e2>>>0x2,_0x29a0e2=_0x2eae20,_0x2eae20=_0x3273e8;}_0x2ea252[0x0]=_0x2ea252[0x0]+_0x2eae20|0x0,_0x2ea252[0x1]=_0x2ea252[0x1]+_0x29a0e2|0x0,_0x2ea252[0x2]=_0x2ea252[0x2]+_0x1a70c3|0x0,_0x2ea252[0x3]=_0x2ea252[0x3]+_0xcc2c5d|0x0,_0x2ea252[0x4]=_0x2ea252[0x4]+_0x4e1ef3|0x0;},'_doFinalize':function(){var _0x41b061=_0x286cd7,_0x1a6b82=this['_data'],_0x5ce411=_0x1a6b82[_0x41b061(0x1fa)],_0x1bf0f5=this[_0x41b061(0x176)]*0x8,_0x10004d=_0x1a6b82['sigBytes']*0x8;return _0x5ce411[_0x10004d>>>0x5]|=0x80<<0x18-_0x10004d%0x20,_0x5ce411[(_0x10004d+0x40>>>0x9<<0x4)+0xe]=Math[_0x41b061(0x1b3)](_0x1bf0f5/0x100000000),_0x5ce411[(_0x10004d+0x40>>>0x9<<0x4)+0xf]=_0x1bf0f5,_0x1a6b82[_0x41b061(0x21e)]=_0x5ce411[_0x41b061(0x115)]*0x4,this['_process'](),this[_0x41b061(0x107)];},'clone':function(){var _0x37caa3=_0x286cd7,_0x4250ea=_0x13d3b2[_0x37caa3(0x37f)][_0x37caa3(0x23e)](this);return _0x4250ea['_hash']=this['_hash']['clone'](),_0x4250ea;}});_0x13d91a[_0x286cd7(0x384)]=_0x13d3b2[_0x286cd7(0x397)](_0x143857),_0x13d91a[_0x286cd7(0x220)]=_0x13d3b2[_0x286cd7(0x1f3)](_0x143857);}()),_0x501948[_0x44131f(0x384)];}));}(qe)),qe[_0x41ddb3(0x2af)];}var ze={'exports':{}},dn=ze[_0x11fce5(0x2af)],Xt;function fn(){var _0x4cf657=_0x11fce5;return Xt||(Xt=0x1,function(_0x286002,_0x3b908d){(function(_0x5cebdf,_0x1cc712){var _0x1ec3f8=_0x26d2;_0x286002[_0x1ec3f8(0x2af)]=_0x1cc712(ie());}(dn,function(_0x47d56b){(function(){var _0x541989=_0x26d2,_0x52719e=_0x47d56b,_0x175dfc=_0x52719e[_0x541989(0x255)],_0x134652=_0x175dfc[_0x541989(0x178)],_0x19d1ce=_0x52719e['enc'],_0x4f041f=_0x19d1ce[_0x541989(0x1ab)],_0x1a4186=_0x52719e[_0x541989(0x1d8)];_0x1a4186['HMAC']=_0x134652['extend']({'init':function(_0x34e3d9,_0x171eaf){var _0x269af1=_0x541989;_0x34e3d9=this['_hasher']=new _0x34e3d9[(_0x269af1(0x191))](),typeof _0x171eaf==_0x269af1(0x307)&&(_0x171eaf=_0x4f041f['parse'](_0x171eaf));var _0x54f3e2=_0x34e3d9['blockSize'],_0xe1a32d=_0x54f3e2*0x4;_0x171eaf[_0x269af1(0x21e)]>_0xe1a32d&&(_0x171eaf=_0x34e3d9[_0x269af1(0x3a3)](_0x171eaf)),_0x171eaf[_0x269af1(0x3d4)]();for(var _0x3d5222=this[_0x269af1(0x1b2)]=_0x171eaf[_0x269af1(0x37f)](),_0x3c3195=this[_0x269af1(0x181)]=_0x171eaf[_0x269af1(0x37f)](),_0x34d346=_0x3d5222[_0x269af1(0x1fa)],_0x2bba21=_0x3c3195[_0x269af1(0x1fa)],_0x5153a4=0x0;_0x5153a4<_0x54f3e2;_0x5153a4++)_0x34d346[_0x5153a4]^=0x5c5c5c5c,_0x2bba21[_0x5153a4]^=0x36363636;_0x3d5222['sigBytes']=_0x3c3195[_0x269af1(0x21e)]=_0xe1a32d,this[_0x269af1(0x35b)]();},'reset':function(){var _0x6827e4=_0x541989,_0x2d828b=this[_0x6827e4(0x161)];_0x2d828b[_0x6827e4(0x35b)](),_0x2d828b[_0x6827e4(0x185)](this[_0x6827e4(0x181)]);},'update':function(_0x4f6fc2){return this['_hasher']['update'](_0x4f6fc2),this;},'finalize':function(_0x55c45f){var _0x4a032b=_0x541989,_0x269109=this['_hasher'],_0x42f99e=_0x269109[_0x4a032b(0x3a3)](_0x55c45f);_0x269109[_0x4a032b(0x35b)]();var _0xc47134=_0x269109[_0x4a032b(0x3a3)](this[_0x4a032b(0x1b2)][_0x4a032b(0x37f)]()[_0x4a032b(0xfc)](_0x42f99e));return _0xc47134;}});}());}));}(ze)),ze[_0x4cf657(0x2af)];}var vn=Ke['exports'],Zt;function Ci(){var _0x327d6b=_0x11fce5;return Zt||(Zt=0x1,function(_0x33e100,_0x58ec92){(function(_0x41fb6a,_0x403425,_0x31b018){var _0x2e97b8=_0x26d2;_0x33e100[_0x2e97b8(0x2af)]=_0x403425(ie(),un(),fn());}(vn,function(_0x58da19){var _0x2b9cf3=_0x26d2;return(function(){var _0x51665f=_0x26d2,_0x219989=_0x58da19,_0x383367=_0x219989['lib'],_0x559ad2=_0x383367[_0x51665f(0x178)],_0x3e431b=_0x383367[_0x51665f(0x2e8)],_0xe41d93=_0x219989[_0x51665f(0x1d8)],_0x53a3c9=_0xe41d93[_0x51665f(0x242)],_0x2fd379=_0xe41d93[_0x51665f(0x3eb)]=_0x559ad2[_0x51665f(0x3af)]({'cfg':_0x559ad2[_0x51665f(0x3af)]({'keySize':0x80/0x20,'hasher':_0x53a3c9,'iterations':0x1}),'init':function(_0x4811b0){var _0x1c9799=_0x51665f;this[_0x1c9799(0x13d)]=this[_0x1c9799(0x13d)]['extend'](_0x4811b0);},'compute':function(_0x21cd38,_0x3f5b69){var _0x37dad1=_0x51665f;for(var _0x37bd36,_0x17778a=this['cfg'],_0x21f33a=_0x17778a[_0x37dad1(0x36a)][_0x37dad1(0x3d9)](),_0x175aee=_0x3e431b[_0x37dad1(0x3d9)](),_0x505bc0=_0x175aee['words'],_0x56f888=_0x17778a[_0x37dad1(0x326)],_0x1ea41a=_0x17778a[_0x37dad1(0x3d8)];_0x505bc0['length']<_0x56f888;){_0x37bd36&&_0x21f33a[_0x37dad1(0x185)](_0x37bd36),_0x37bd36=_0x21f33a[_0x37dad1(0x185)](_0x21cd38)[_0x37dad1(0x3a3)](_0x3f5b69),_0x21f33a['reset']();for(var _0x4383ee=0x1;_0x4383ee<_0x1ea41a;_0x4383ee++)_0x37bd36=_0x21f33a[_0x37dad1(0x3a3)](_0x37bd36),_0x21f33a['reset']();_0x175aee[_0x37dad1(0xfc)](_0x37bd36);}return _0x175aee[_0x37dad1(0x21e)]=_0x56f888*0x4,_0x175aee;}});_0x219989['EvpKDF']=function(_0x284773,_0x20e1e5,_0x9ceb66){var _0x1c3eee=_0x51665f;return _0x2fd379[_0x1c3eee(0x3d9)](_0x9ceb66)[_0x1c3eee(0x236)](_0x284773,_0x20e1e5);};}()),_0x58da19[_0x2b9cf3(0x3eb)];}));}(Ke)),Ke[_0x327d6b(0x2af)];}var Je={'exports':{}},pn=Je['exports'],Qt;function Ni(){var _0x1c07e8=_0x11fce5;return Qt||(Qt=0x1,function(_0x47a8c6,_0x44a27b){(function(_0x3d6bcb,_0x31682c,_0x430ac6){var _0x5cf9fe=_0x26d2;_0x47a8c6[_0x5cf9fe(0x2af)]=_0x31682c(ie(),Ci());}(pn,function(_0x1e59d3){var _0x5db291=_0x26d2;_0x1e59d3[_0x5db291(0x255)][_0x5db291(0x11f)]||function(_0x1a656b){var _0x4628be=_0x5db291,_0x2d8214=_0x1e59d3,_0x4f90c8=_0x2d8214[_0x4628be(0x255)],_0x310cf6=_0x4f90c8[_0x4628be(0x178)],_0xc114f=_0x4f90c8[_0x4628be(0x2e8)],_0x219cd0=_0x4f90c8[_0x4628be(0x1d2)],_0x55e899=_0x2d8214[_0x4628be(0x17a)];_0x55e899[_0x4628be(0x1ab)];var _0x56e62d=_0x55e899['Base64'],_0x2151e9=_0x2d8214[_0x4628be(0x1d8)],_0x22ecb7=_0x2151e9[_0x4628be(0x3eb)],_0x321bf1=_0x4f90c8[_0x4628be(0x11f)]=_0x219cd0[_0x4628be(0x3af)]({'cfg':_0x310cf6[_0x4628be(0x3af)](),'createEncryptor':function(_0x437b0c,_0x48c2a6){var _0x3cd215=_0x4628be;return this[_0x3cd215(0x3d9)](this[_0x3cd215(0x205)],_0x437b0c,_0x48c2a6);},'createDecryptor':function(_0x2629bd,_0x931d91){var _0x2d1b07=_0x4628be;return this[_0x2d1b07(0x3d9)](this['_DEC_XFORM_MODE'],_0x2629bd,_0x931d91);},'init':function(_0x48c40f,_0x14dd2c,_0x5b42ae){var _0x39dc87=_0x4628be;this[_0x39dc87(0x13d)]=this[_0x39dc87(0x13d)]['extend'](_0x5b42ae),this[_0x39dc87(0x1bd)]=_0x48c40f,this[_0x39dc87(0x24d)]=_0x14dd2c,this['reset']();},'reset':function(){var _0x18ee86=_0x4628be;_0x219cd0['reset'][_0x18ee86(0x23e)](this),this[_0x18ee86(0x30e)]();},'process':function(_0x9da74){var _0x23d7d8=_0x4628be;return this['_append'](_0x9da74),this[_0x23d7d8(0x291)]();},'finalize':function(_0x488f8e){var _0xe7c535=_0x4628be;_0x488f8e&&this[_0xe7c535(0xee)](_0x488f8e);var _0x3137a7=this[_0xe7c535(0x29d)]();return _0x3137a7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1d743a(_0xdf81b3){var _0x22b203=_0x26d2;return typeof _0xdf81b3==_0x22b203(0x307)?_0x3345fb:_0x4379ac;}return function(_0x1a5e8c){return{'encrypt':function(_0x3c60d3,_0x2a3510,_0x3a7ca6){var _0x5c083f=_0x26d2;return _0x1d743a(_0x2a3510)[_0x5c083f(0x31d)](_0x1a5e8c,_0x3c60d3,_0x2a3510,_0x3a7ca6);},'decrypt':function(_0x43202e,_0x232333,_0x468dd3){return _0x1d743a(_0x232333)['decrypt'](_0x1a5e8c,_0x43202e,_0x232333,_0x468dd3);}};};}())});_0x4f90c8[_0x4628be(0x2c8)]=_0x321bf1[_0x4628be(0x3af)]({'_doFinalize':function(){var _0x4a1f88=this['_process'](!0x0);return _0x4a1f88;},'blockSize':0x1});var _0x9140ae=_0x2d8214[_0x4628be(0x235)]={},_0x5ccc30=_0x4f90c8[_0x4628be(0x1c7)]=_0x310cf6['extend']({'createEncryptor':function(_0x43d88c,_0x156046){var _0x4410cc=_0x4628be;return this['Encryptor'][_0x4410cc(0x3d9)](_0x43d88c,_0x156046);},'createDecryptor':function(_0x5e5596,_0x58bf6d){var _0x5b20fa=_0x4628be;return this[_0x5b20fa(0x3de)][_0x5b20fa(0x3d9)](_0x5e5596,_0x58bf6d);},'init':function(_0x19d086,_0x242085){var _0x34a378=_0x4628be;this[_0x34a378(0x2a5)]=_0x19d086,this['_iv']=_0x242085;}}),_0x38fe26=_0x9140ae[_0x4628be(0x3f9)]=(function(){var _0xf8565f=_0x4628be,_0x492a1b=_0x5ccc30[_0xf8565f(0x3af)]();_0x492a1b[_0xf8565f(0x333)]=_0x492a1b[_0xf8565f(0x3af)]({'processBlock':function(_0x8ef05a,_0x30f380){var _0x61da94=_0xf8565f,_0xcfbd24=this['_cipher'],_0x3e6568=_0xcfbd24[_0x61da94(0x37a)];_0x33dfd6[_0x61da94(0x23e)](this,_0x8ef05a,_0x30f380,_0x3e6568),_0xcfbd24[_0x61da94(0x144)](_0x8ef05a,_0x30f380),this[_0x61da94(0x32f)]=_0x8ef05a[_0x61da94(0x2ee)](_0x30f380,_0x30f380+_0x3e6568);}}),_0x492a1b[_0xf8565f(0x3de)]=_0x492a1b['extend']({'processBlock':function(_0x3284b0,_0x2a79bb){var _0x9058b0=_0xf8565f,_0x375a9e=this[_0x9058b0(0x2a5)],_0x39bdf9=_0x375a9e[_0x9058b0(0x37a)],_0x282b2e=_0x3284b0['slice'](_0x2a79bb,_0x2a79bb+_0x39bdf9);_0x375a9e[_0x9058b0(0x355)](_0x3284b0,_0x2a79bb),_0x33dfd6[_0x9058b0(0x23e)](this,_0x3284b0,_0x2a79bb,_0x39bdf9),this['_prevBlock']=_0x282b2e;}});function _0x33dfd6(_0x10bc6a,_0x268ae7,_0x48de24){var _0x4cc468=_0xf8565f,_0x59cefa,_0x141128=this[_0x4cc468(0x26d)];_0x141128?(_0x59cefa=_0x141128,this[_0x4cc468(0x26d)]=_0x1a656b):_0x59cefa=this[_0x4cc468(0x32f)];for(var _0x315d24=0x0;_0x315d24<_0x48de24;_0x315d24++)_0x10bc6a[_0x268ae7+_0x315d24]^=_0x59cefa[_0x315d24];}return _0x492a1b;}()),_0x361ac9=_0x2d8214[_0x4628be(0x324)]={},_0x3a6c7f=_0x361ac9[_0x4628be(0xf1)]={'pad':function(_0x1ed5bc,_0x20c76c){var _0x319304=_0x4628be;for(var _0x27cf2e=_0x20c76c*0x4,_0x581d0c=_0x27cf2e-_0x1ed5bc[_0x319304(0x21e)]%_0x27cf2e,_0x35e2c3=_0x581d0c<<0x18|_0x581d0c<<0x10|_0x581d0c<<0x8|_0x581d0c,_0x1e120c=[],_0x565ae8=0x0;_0x565ae8<_0x581d0c;_0x565ae8+=0x4)_0x1e120c[_0x319304(0x145)](_0x35e2c3);var _0x19c6f2=_0xc114f['create'](_0x1e120c,_0x581d0c);_0x1ed5bc[_0x319304(0xfc)](_0x19c6f2);},'unpad':function(_0x4e5c29){var _0x1d9210=_0x4628be,_0x4bdd23=_0x4e5c29['words'][_0x4e5c29[_0x1d9210(0x21e)]-0x1>>>0x2]&0xff;_0x4e5c29[_0x1d9210(0x21e)]-=_0x4bdd23;}};_0x4f90c8['BlockCipher']=_0x321bf1[_0x4628be(0x3af)]({'cfg':_0x321bf1[_0x4628be(0x13d)][_0x4628be(0x3af)]({'mode':_0x38fe26,'padding':_0x3a6c7f}),'reset':function(){var _0x1d2f0d=_0x4628be,_0x5bcbee;_0x321bf1[_0x1d2f0d(0x35b)][_0x1d2f0d(0x23e)](this);var _0x49db65=this[_0x1d2f0d(0x13d)],_0x206806=_0x49db65['iv'],_0x8ba444=_0x49db65[_0x1d2f0d(0x235)];this[_0x1d2f0d(0x1bd)]==this[_0x1d2f0d(0x205)]?_0x5bcbee=_0x8ba444[_0x1d2f0d(0x1b0)]:(_0x5bcbee=_0x8ba444[_0x1d2f0d(0x2e3)],this[_0x1d2f0d(0x252)]=0x1),this[_0x1d2f0d(0x134)]&&this['_mode'][_0x1d2f0d(0x156)]==_0x5bcbee?this['_mode'][_0x1d2f0d(0x191)](this,_0x206806&&_0x206806[_0x1d2f0d(0x1fa)]):(this[_0x1d2f0d(0x134)]=_0x5bcbee[_0x1d2f0d(0x23e)](_0x8ba444,this,_0x206806&&_0x206806[_0x1d2f0d(0x1fa)]),this[_0x1d2f0d(0x134)]['__creator']=_0x5bcbee);},'_doProcessBlock':function(_0x1f4677,_0x36bb32){var _0x519610=_0x4628be;this[_0x519610(0x134)][_0x519610(0x282)](_0x1f4677,_0x36bb32);},'_doFinalize':function(){var _0x5e9bf4=_0x4628be,_0x25afd2,_0x47e249=this['cfg']['padding'];return this[_0x5e9bf4(0x1bd)]==this['_ENC_XFORM_MODE']?(_0x47e249[_0x5e9bf4(0x324)](this[_0x5e9bf4(0x2a4)],this[_0x5e9bf4(0x37a)]),_0x25afd2=this['_process'](!0x0)):(_0x25afd2=this[_0x5e9bf4(0x291)](!0x0),_0x47e249['unpad'](_0x25afd2)),_0x25afd2;},'blockSize':0x80/0x20});var _0x590feb=_0x4f90c8[_0x4628be(0xfd)]=_0x310cf6[_0x4628be(0x3af)]({'init':function(_0x523972){var _0x5360c9=_0x4628be;this[_0x5360c9(0x1e0)](_0x523972);},'toString':function(_0x3b0ade){var _0x25254c=_0x4628be;return(_0x3b0ade||this[_0x25254c(0x114)])[_0x25254c(0x3be)](this);}}),_0x3994aa=_0x2d8214[_0x4628be(0x2d3)]={},_0x1e571e=_0x3994aa['OpenSSL']={'stringify':function(_0x47723b){var _0x5054bc=_0x4628be,_0x1fa991,_0x31255f=_0x47723b[_0x5054bc(0x1a8)],_0x5c2301=_0x47723b[_0x5054bc(0x16f)];return _0x5c2301?_0x1fa991=_0xc114f['create']([0x53616c74,0x65645f5f])[_0x5054bc(0xfc)](_0x5c2301)[_0x5054bc(0xfc)](_0x31255f):_0x1fa991=_0x31255f,_0x1fa991[_0x5054bc(0x1a0)](_0x56e62d);},'parse':function(_0x1d23c8){var _0x2b1fa2=_0x4628be,_0x28c585,_0x32d714=_0x56e62d[_0x2b1fa2(0x2ad)](_0x1d23c8),_0x307f84=_0x32d714[_0x2b1fa2(0x1fa)];return _0x307f84[0x0]==0x53616c74&&_0x307f84[0x1]==0x65645f5f&&(_0x28c585=_0xc114f['create'](_0x307f84[_0x2b1fa2(0x2ee)](0x2,0x4)),_0x307f84[_0x2b1fa2(0x30d)](0x0,0x4),_0x32d714[_0x2b1fa2(0x21e)]-=0x10),_0x590feb[_0x2b1fa2(0x3d9)]({'ciphertext':_0x32d714,'salt':_0x28c585});}},_0x4379ac=_0x4f90c8['SerializableCipher']=_0x310cf6[_0x4628be(0x3af)]({'cfg':_0x310cf6[_0x4628be(0x3af)]({'format':_0x1e571e}),'encrypt':function(_0x476a1d,_0x27ef25,_0x5bb857,_0x572e08){var _0x10ab50=_0x4628be;_0x572e08=this['cfg']['extend'](_0x572e08);var _0x3c11a7=_0x476a1d[_0x10ab50(0x1b0)](_0x5bb857,_0x572e08),_0x1c96aa=_0x3c11a7[_0x10ab50(0x3a3)](_0x27ef25),_0x310048=_0x3c11a7['cfg'];return _0x590feb['create']({'ciphertext':_0x1c96aa,'key':_0x5bb857,'iv':_0x310048['iv'],'algorithm':_0x476a1d,'mode':_0x310048[_0x10ab50(0x235)],'padding':_0x310048[_0x10ab50(0x261)],'blockSize':_0x476a1d[_0x10ab50(0x37a)],'formatter':_0x572e08[_0x10ab50(0x2d3)]});},'decrypt':function(_0x25a23a,_0x1f163f,_0x497814,_0x656c8d){var _0x132bb8=_0x4628be;_0x656c8d=this[_0x132bb8(0x13d)][_0x132bb8(0x3af)](_0x656c8d),_0x1f163f=this[_0x132bb8(0x256)](_0x1f163f,_0x656c8d[_0x132bb8(0x2d3)]);var _0x26d30e=_0x25a23a[_0x132bb8(0x2e3)](_0x497814,_0x656c8d)[_0x132bb8(0x3a3)](_0x1f163f['ciphertext']);return _0x26d30e;},'_parse':function(_0x2a67c8,_0x1dcbf3){var _0x4f039d=_0x4628be;return typeof _0x2a67c8==_0x4f039d(0x307)?_0x1dcbf3[_0x4f039d(0x2ad)](_0x2a67c8,this):_0x2a67c8;}}),_0x66f80=_0x2d8214[_0x4628be(0x1d4)]={},_0x39fe8d=_0x66f80['OpenSSL']={'execute':function(_0x13069a,_0x4f0578,_0x5d1ac4,_0xcdc392,_0x1d59cd){var _0x29a9e4=_0x4628be;if(_0xcdc392||(_0xcdc392=_0xc114f[_0x29a9e4(0x3b0)](0x40/0x8)),_0x1d59cd)var _0x5dc793=_0x22ecb7['create']({'keySize':_0x4f0578+_0x5d1ac4,'hasher':_0x1d59cd})[_0x29a9e4(0x236)](_0x13069a,_0xcdc392);else var _0x5dc793=_0x22ecb7[_0x29a9e4(0x3d9)]({'keySize':_0x4f0578+_0x5d1ac4})[_0x29a9e4(0x236)](_0x13069a,_0xcdc392);var _0x400084=_0xc114f['create'](_0x5dc793['words'][_0x29a9e4(0x2ee)](_0x4f0578),_0x5d1ac4*0x4);return _0x5dc793['sigBytes']=_0x4f0578*0x4,_0x590feb['create']({'key':_0x5dc793,'iv':_0x400084,'salt':_0xcdc392});}},_0x3345fb=_0x4f90c8[_0x4628be(0x194)]=_0x4379ac['extend']({'cfg':_0x4379ac[_0x4628be(0x13d)][_0x4628be(0x3af)]({'kdf':_0x39fe8d}),'encrypt':function(_0x9950c9,_0x21619b,_0x515cd5,_0x2dc1c5){var _0x319338=_0x4628be;_0x2dc1c5=this[_0x319338(0x13d)][_0x319338(0x3af)](_0x2dc1c5);var _0x4262a9=_0x2dc1c5[_0x319338(0x1d4)]['execute'](_0x515cd5,_0x9950c9['keySize'],_0x9950c9['ivSize'],_0x2dc1c5[_0x319338(0x16f)],_0x2dc1c5['hasher']);_0x2dc1c5['iv']=_0x4262a9['iv'];var _0x2dd2ef=_0x4379ac[_0x319338(0x31d)]['call'](this,_0x9950c9,_0x21619b,_0x4262a9[_0x319338(0x39e)],_0x2dc1c5);return _0x2dd2ef[_0x319338(0x1e0)](_0x4262a9),_0x2dd2ef;},'decrypt':function(_0x585bb4,_0x56dd32,_0x171589,_0x33e9c9){var _0x441298=_0x4628be;_0x33e9c9=this['cfg'][_0x441298(0x3af)](_0x33e9c9),_0x56dd32=this[_0x441298(0x256)](_0x56dd32,_0x33e9c9['format']);var _0x585158=_0x33e9c9[_0x441298(0x1d4)][_0x441298(0x2bb)](_0x171589,_0x585bb4[_0x441298(0x326)],_0x585bb4['ivSize'],_0x56dd32['salt'],_0x33e9c9[_0x441298(0x36a)]);_0x33e9c9['iv']=_0x585158['iv'];var _0x55cd44=_0x4379ac[_0x441298(0x12c)]['call'](this,_0x585bb4,_0x56dd32,_0x585158[_0x441298(0x39e)],_0x33e9c9);return _0x55cd44;}});}();}));}(Je)),Je[_0x1c07e8(0x2af)];}var En=Ve[_0x11fce5(0x2af)],ei;function mn(){var _0x2fd36d=_0x11fce5;return ei||(ei=0x1,function(_0x390cce,_0xe7cc8e){(function(_0x5c0de1,_0x43a8d6,_0xae4bdd){var _0x206c49=_0x26d2;_0x390cce[_0x206c49(0x2af)]=_0x43a8d6(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x3383a0){var _0x1e30eb=_0x26d2;return(function(){var _0x9d7e3d=_0x26d2,_0x5afbf3=_0x3383a0,_0x300825=_0x5afbf3[_0x9d7e3d(0x255)],_0x301af1=_0x300825[_0x9d7e3d(0x3c8)],_0x23c521=_0x5afbf3[_0x9d7e3d(0x1d8)],_0x5a9d02=[],_0x386705=[],_0x12f501=[],_0x4fb4fd=[],_0x130006=[],_0x4eada4=[],_0x38c3c8=[],_0x445e09=[],_0x279232=[],_0x2f2e28=[];(function(){for(var _0x4413fa=[],_0x4a9e80=0x0;_0x4a9e80<0x100;_0x4a9e80++)_0x4a9e80<0x80?_0x4413fa[_0x4a9e80]=_0x4a9e80<<0x1:_0x4413fa[_0x4a9e80]=_0x4a9e80<<0x1^0x11b;for(var _0xbd2bbd=0x0,_0x530b5a=0x0,_0x4a9e80=0x0;_0x4a9e80<0x100;_0x4a9e80++){var _0xa81140=_0x530b5a^_0x530b5a<<0x1^_0x530b5a<<0x2^_0x530b5a<<0x3^_0x530b5a<<0x4;_0xa81140=_0xa81140>>>0x8^_0xa81140&0xff^0x63,_0x5a9d02[_0xbd2bbd]=_0xa81140,_0x386705[_0xa81140]=_0xbd2bbd;var _0x3085cf=_0x4413fa[_0xbd2bbd],_0x48ff41=_0x4413fa[_0x3085cf],_0x1ee00d=_0x4413fa[_0x48ff41],_0x3b4fb0=_0x4413fa[_0xa81140]*0x101^_0xa81140*0x1010100;_0x12f501[_0xbd2bbd]=_0x3b4fb0<<0x18|_0x3b4fb0>>>0x8,_0x4fb4fd[_0xbd2bbd]=_0x3b4fb0<<0x10|_0x3b4fb0>>>0x10,_0x130006[_0xbd2bbd]=_0x3b4fb0<<0x8|_0x3b4fb0>>>0x18,_0x4eada4[_0xbd2bbd]=_0x3b4fb0;var _0x3b4fb0=_0x1ee00d*0x1010101^_0x48ff41*0x10001^_0x3085cf*0x101^_0xbd2bbd*0x1010100;_0x38c3c8[_0xa81140]=_0x3b4fb0<<0x18|_0x3b4fb0>>>0x8,_0x445e09[_0xa81140]=_0x3b4fb0<<0x10|_0x3b4fb0>>>0x10,_0x279232[_0xa81140]=_0x3b4fb0<<0x8|_0x3b4fb0>>>0x18,_0x2f2e28[_0xa81140]=_0x3b4fb0,_0xbd2bbd?(_0xbd2bbd=_0x3085cf^_0x4413fa[_0x4413fa[_0x4413fa[_0x1ee00d^_0x3085cf]]],_0x530b5a^=_0x4413fa[_0x4413fa[_0x530b5a]]):_0xbd2bbd=_0x530b5a=0x1;}}());var _0xbe515d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x11864c=_0x23c521[_0x9d7e3d(0x186)]=_0x301af1['extend']({'_doReset':function(){var _0x2527e1=_0x9d7e3d,_0x36ea51;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x2527e1(0x24d)])){for(var _0x2c43e8=this['_keyPriorReset']=this[_0x2527e1(0x24d)],_0x32d08c=_0x2c43e8[_0x2527e1(0x1fa)],_0x5c5452=_0x2c43e8['sigBytes']/0x4,_0x49f930=this[_0x2527e1(0x360)]=_0x5c5452+0x6,_0x5d6728=(_0x49f930+0x1)*0x4,_0x144e96=this['_keySchedule']=[],_0xa08d79=0x0;_0xa08d79<_0x5d6728;_0xa08d79++)_0xa08d79<_0x5c5452?_0x144e96[_0xa08d79]=_0x32d08c[_0xa08d79]:(_0x36ea51=_0x144e96[_0xa08d79-0x1],_0xa08d79%_0x5c5452?_0x5c5452>0x6&&_0xa08d79%_0x5c5452==0x4&&(_0x36ea51=_0x5a9d02[_0x36ea51>>>0x18]<<0x18|_0x5a9d02[_0x36ea51>>>0x10&0xff]<<0x10|_0x5a9d02[_0x36ea51>>>0x8&0xff]<<0x8|_0x5a9d02[_0x36ea51&0xff]):(_0x36ea51=_0x36ea51<<0x8|_0x36ea51>>>0x18,_0x36ea51=_0x5a9d02[_0x36ea51>>>0x18]<<0x18|_0x5a9d02[_0x36ea51>>>0x10&0xff]<<0x10|_0x5a9d02[_0x36ea51>>>0x8&0xff]<<0x8|_0x5a9d02[_0x36ea51&0xff],_0x36ea51^=_0xbe515d[_0xa08d79/_0x5c5452|0x0]<<0x18),_0x144e96[_0xa08d79]=_0x144e96[_0xa08d79-_0x5c5452]^_0x36ea51);for(var _0x52b7b2=this[_0x2527e1(0x204)]=[],_0x200b2c=0x0;_0x200b2c<_0x5d6728;_0x200b2c++){var _0xa08d79=_0x5d6728-_0x200b2c;if(_0x200b2c%0x4)var _0x36ea51=_0x144e96[_0xa08d79];else var _0x36ea51=_0x144e96[_0xa08d79-0x4];_0x200b2c<0x4||_0xa08d79<=0x4?_0x52b7b2[_0x200b2c]=_0x36ea51:_0x52b7b2[_0x200b2c]=_0x38c3c8[_0x5a9d02[_0x36ea51>>>0x18]]^_0x445e09[_0x5a9d02[_0x36ea51>>>0x10&0xff]]^_0x279232[_0x5a9d02[_0x36ea51>>>0x8&0xff]]^_0x2f2e28[_0x5a9d02[_0x36ea51&0xff]];}}},'encryptBlock':function(_0x2f99fc,_0x1059c5){var _0x25f2e0=_0x9d7e3d;this[_0x25f2e0(0x3a5)](_0x2f99fc,_0x1059c5,this[_0x25f2e0(0x229)],_0x12f501,_0x4fb4fd,_0x130006,_0x4eada4,_0x5a9d02);},'decryptBlock':function(_0x4eb3c7,_0x549a40){var _0x31bf0d=_0x9d7e3d,_0x2aa959=_0x4eb3c7[_0x549a40+0x1];_0x4eb3c7[_0x549a40+0x1]=_0x4eb3c7[_0x549a40+0x3],_0x4eb3c7[_0x549a40+0x3]=_0x2aa959,this[_0x31bf0d(0x3a5)](_0x4eb3c7,_0x549a40,this['_invKeySchedule'],_0x38c3c8,_0x445e09,_0x279232,_0x2f2e28,_0x386705);var _0x2aa959=_0x4eb3c7[_0x549a40+0x1];_0x4eb3c7[_0x549a40+0x1]=_0x4eb3c7[_0x549a40+0x3],_0x4eb3c7[_0x549a40+0x3]=_0x2aa959;},'_doCryptBlock':function(_0x2f539e,_0x171af6,_0x238220,_0x2dfa5d,_0x39480c,_0x60041f,_0x324276,_0x433350){var _0x31a738=_0x9d7e3d;for(var _0x22e382=this[_0x31a738(0x360)],_0x122129=_0x2f539e[_0x171af6]^_0x238220[0x0],_0x1d14ef=_0x2f539e[_0x171af6+0x1]^_0x238220[0x1],_0xb8ff5d=_0x2f539e[_0x171af6+0x2]^_0x238220[0x2],_0x1b4f64=_0x2f539e[_0x171af6+0x3]^_0x238220[0x3],_0x2c2e2f=0x4,_0x40b78c=0x1;_0x40b78c<_0x22e382;_0x40b78c++){var _0x935170=_0x2dfa5d[_0x122129>>>0x18]^_0x39480c[_0x1d14ef>>>0x10&0xff]^_0x60041f[_0xb8ff5d>>>0x8&0xff]^_0x324276[_0x1b4f64&0xff]^_0x238220[_0x2c2e2f++],_0x324f63=_0x2dfa5d[_0x1d14ef>>>0x18]^_0x39480c[_0xb8ff5d>>>0x10&0xff]^_0x60041f[_0x1b4f64>>>0x8&0xff]^_0x324276[_0x122129&0xff]^_0x238220[_0x2c2e2f++],_0x24cbac=_0x2dfa5d[_0xb8ff5d>>>0x18]^_0x39480c[_0x1b4f64>>>0x10&0xff]^_0x60041f[_0x122129>>>0x8&0xff]^_0x324276[_0x1d14ef&0xff]^_0x238220[_0x2c2e2f++],_0x50989d=_0x2dfa5d[_0x1b4f64>>>0x18]^_0x39480c[_0x122129>>>0x10&0xff]^_0x60041f[_0x1d14ef>>>0x8&0xff]^_0x324276[_0xb8ff5d&0xff]^_0x238220[_0x2c2e2f++];_0x122129=_0x935170,_0x1d14ef=_0x324f63,_0xb8ff5d=_0x24cbac,_0x1b4f64=_0x50989d;}var _0x935170=(_0x433350[_0x122129>>>0x18]<<0x18|_0x433350[_0x1d14ef>>>0x10&0xff]<<0x10|_0x433350[_0xb8ff5d>>>0x8&0xff]<<0x8|_0x433350[_0x1b4f64&0xff])^_0x238220[_0x2c2e2f++],_0x324f63=(_0x433350[_0x1d14ef>>>0x18]<<0x18|_0x433350[_0xb8ff5d>>>0x10&0xff]<<0x10|_0x433350[_0x1b4f64>>>0x8&0xff]<<0x8|_0x433350[_0x122129&0xff])^_0x238220[_0x2c2e2f++],_0x24cbac=(_0x433350[_0xb8ff5d>>>0x18]<<0x18|_0x433350[_0x1b4f64>>>0x10&0xff]<<0x10|_0x433350[_0x122129>>>0x8&0xff]<<0x8|_0x433350[_0x1d14ef&0xff])^_0x238220[_0x2c2e2f++],_0x50989d=(_0x433350[_0x1b4f64>>>0x18]<<0x18|_0x433350[_0x122129>>>0x10&0xff]<<0x10|_0x433350[_0x1d14ef>>>0x8&0xff]<<0x8|_0x433350[_0xb8ff5d&0xff])^_0x238220[_0x2c2e2f++];_0x2f539e[_0x171af6]=_0x935170,_0x2f539e[_0x171af6+0x1]=_0x324f63,_0x2f539e[_0x171af6+0x2]=_0x24cbac,_0x2f539e[_0x171af6+0x3]=_0x50989d;},'keySize':0x100/0x20});_0x5afbf3['AES']=_0x301af1[_0x9d7e3d(0x397)](_0x11864c);}()),_0x3383a0[_0x1e30eb(0x186)];}));}(Ve)),Ve[_0x2fd36d(0x2af)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x11fce5(0x2af)],ii;function On(){var _0x11170c=_0x11fce5;return ii||(ii=0x1,function(_0x5a53d0,_0x28c394){(function(_0x42d312,_0x12b04b){var _0x28880f=_0x26d2;_0x5a53d0[_0x28880f(0x2af)]=_0x12b04b(ie());}(Tn,function(_0x3200eb){var _0x403103=_0x26d2;return _0x3200eb[_0x403103(0x17a)][_0x403103(0x1ab)];}));}(Xe)),Xe[_0x11170c(0x2af)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x11fce5(0x2af)],si;function bn(){var _0x2273b1=_0x11fce5;return si||(si=0x1,function(_0x20f057,_0x339600){(function(_0x275b7e,_0xedae7b){var _0x34d33f=_0x26d2;_0x20f057[_0x34d33f(0x2af)]=_0xedae7b(ie());}(Nn,function(_0xb15a90){var _0x161eea=_0x26d2;return(function(){var _0x17ebd0=_0x26d2;if(typeof ArrayBuffer==_0x17ebd0(0x1eb)){var _0x5e1d35=_0xb15a90,_0x29dcfa=_0x5e1d35[_0x17ebd0(0x255)],_0x3cc391=_0x29dcfa[_0x17ebd0(0x2e8)],_0x4722d0=_0x3cc391[_0x17ebd0(0x191)],_0x567230=_0x3cc391[_0x17ebd0(0x191)]=function(_0x10cece){var _0x1d5da6=_0x17ebd0;if(_0x10cece instanceof ArrayBuffer&&(_0x10cece=new Uint8Array(_0x10cece)),(_0x10cece instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x10cece instanceof Uint8ClampedArray||_0x10cece instanceof Int16Array||_0x10cece instanceof Uint16Array||_0x10cece instanceof Int32Array||_0x10cece instanceof Uint32Array||_0x10cece instanceof Float32Array||_0x10cece instanceof Float64Array)&&(_0x10cece=new Uint8Array(_0x10cece[_0x1d5da6(0x315)],_0x10cece[_0x1d5da6(0x2e4)],_0x10cece[_0x1d5da6(0x345)])),_0x10cece instanceof Uint8Array){for(var _0x5ce0b3=_0x10cece[_0x1d5da6(0x345)],_0x42466a=[],_0x55d1b0=0x0;_0x55d1b0<_0x5ce0b3;_0x55d1b0++)_0x42466a[_0x55d1b0>>>0x2]|=_0x10cece[_0x55d1b0]<<0x18-_0x55d1b0%0x4*0x8;_0x4722d0[_0x1d5da6(0x23e)](this,_0x42466a,_0x5ce0b3);}else _0x4722d0[_0x1d5da6(0x3bb)](this,arguments);};_0x567230['prototype']=_0x3cc391;}}()),_0xb15a90[_0x161eea(0x255)]['WordArray'];}));}(Ze)),Ze[_0x2273b1(0x2af)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x11fce5(0x2af)],ni;function An(){var _0x86bce9=_0x11fce5;return ni||(ni=0x1,function(_0x29b4b4,_0x10e7aa){(function(_0x4c909e,_0x591596,_0x4dc675){var _0x57b6f7=_0x26d2;_0x29b4b4[_0x57b6f7(0x2af)]=_0x591596(ie(),Ni());}(Un,function(_0x53eb8c){var _0x2db862=_0x26d2;return _0x53eb8c['pad'][_0x2db862(0x28f)]={'pad':function(){},'unpad':function(){}},_0x53eb8c[_0x2db862(0x324)][_0x2db862(0x28f)];}));}(Qe)),Qe[_0x86bce9(0x2af)];}var Pn=An();function _0x26d2(_0x23d723,_0x1062a5){var _0x4970da=_0x4970();return _0x26d2=function(_0x26d278,_0x2cdc93){_0x26d278=_0x26d278-0xe7;var _0x30e111=_0x4970da[_0x26d278];return _0x30e111;},_0x26d2(_0x23d723,_0x1062a5);}const wn=$e(Pn);function Mn(_0xc712cb,_0x234148){var _0x371e33=_0x11fce5;const _0x103ca5=_0x234148-_0xc712cb[_0x371e33(0x115)]%_0x234148,_0x39f352=String[_0x371e33(0x249)](_0x103ca5)[_0x371e33(0x158)](_0x103ca5);return _0xc712cb+_0x39f352;}function Ln(_0x3d426e,_0x4bd697){var _0x59c75b=_0x11fce5;const _0x37867b=yn[_0x59c75b(0x3b0)](0x10),_0x5022cb=Mn(_0x3d426e,0x10),_0x37c92b=Sn['encrypt'](Cn[_0x59c75b(0x2ad)](_0x5022cb),ti['parse'](_0x4bd697),{'iv':_0x37867b,'padding':wn});return _0x37867b['concat'](_0x37c92b['ciphertext'])[_0x59c75b(0x1a0)](ti);}function xn(){var _0x3e05f3=_0x11fce5;const _0x42ba52=_0x2b8b0b()[_0x3e05f3(0x3b9)];if(_0x42ba52){const _0x3f0569={'time':Math[_0x3e05f3(0x1b3)](Date['now']()/0x3e8),'domain':location[_0x3e05f3(0x1ae)]};return Ln(JSON[_0x3e05f3(0x3be)](_0x3f0569),_0x42ba52);}}var kn=Object[_0x11fce5(0x381)],$n=(_0x32947b,_0x3a6769,_0x14dba4,_0x5a6b94)=>{var _0x412b34=_0x11fce5;for(var _0x564e8d=_0x5a6b94>0x1?void 0x0:_0x5a6b94?kn(_0x3a6769,_0x14dba4):_0x3a6769,_0x49c4a3=_0x32947b[_0x412b34(0x115)]-0x1,_0x334821;_0x49c4a3>=0x0;_0x49c4a3--)(_0x334821=_0x32947b[_0x49c4a3])&&(_0x564e8d=_0x334821(_0x564e8d)||_0x564e8d);return _0x564e8d;},Hn=(_0x122fd4,_0x4cc26a)=>(_0x1e0541,_0x4aab06)=>_0x4cc26a(_0x1e0541,_0x4aab06,_0x122fd4);let at=class{constructor(_0xcaf2e4){var _0x1f366b=_0x11fce5;this['_httpService']=_0xcaf2e4,this[_0x1f366b(0x3bf)]();}[_0x11fce5(0x3bf)](){var _0x375be0=_0x11fce5;this[_0x375be0(0x132)][_0x375be0(0x1b1)]({'interceptor':(_0x329ce3,_0x148afe)=>{var _0x4d1fba=_0x375be0;const _0x2c544b=_0x329ce3['headers'],_0x508254=xn();return _0x508254&&_0x2c544b[_0x4d1fba(0x231)](_0x4d1fba(0x3f3),_0x508254),_0x148afe(_0x329ce3);}});}};at=$n([Hn(0x0,_0x2d55c5(_0x4f418b))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x23ac01,_0x5c8d2c,_0x3867cc,_0x346761)=>{for(var _0x502144=_0x346761>0x1?void 0x0:_0x346761?Bn(_0x5c8d2c,_0x3867cc):_0x5c8d2c,_0x56a0a5=_0x23ac01['length']-0x1,_0x5bdd1;_0x56a0a5>=0x0;_0x56a0a5--)(_0x5bdd1=_0x23ac01[_0x56a0a5])&&(_0x502144=_0x5bdd1(_0x502144)||_0x502144);return _0x502144;},vt=(_0x477c05,_0x46b2cd)=>(_0xcbc1dd,_0x3960ad)=>_0x46b2cd(_0xcbc1dd,_0x3960ad,_0x477c05);let Ot=class extends _0x3f27f5{constructor(_0x1cbe18,_0x3a16f4,_0x5a1d4f){var _0x336c7b=_0x11fce5;super(),D(this,_0x336c7b(0x247),new _0x5908b4(null)),D(this,_0x336c7b(0x1ce),this[_0x336c7b(0x247)][_0x336c7b(0x3c5)]()),(this[_0x336c7b(0x313)]=_0x1cbe18,this['_snapshotService']=_0x3a16f4,this[_0x336c7b(0x32e)]=_0x5a1d4f);}async[_0x11fce5(0x1a3)](_0x19204c,_0x268c6b,_0x8120b7){var _0x4b0886=_0x11fce5;this['_unitInfo$'][_0x4b0886(0x16e)]({'unitId':_0x19204c,'type':_0x268c6b});let _0x1988eb=null;switch(_0x268c6b){case Q[_0x4b0886(0x190)]:{_0x1988eb=await this['_snapshotService']['loadSheet'](_0x19204c,_0x8120b7);break;}case Q[_0x4b0886(0x346)]:{_0x1988eb=await this[_0x4b0886(0x32c)][_0x4b0886(0xf9)](_0x19204c,_0x8120b7);break;}default:{this[_0x4b0886(0x313)][_0x4b0886(0x177)](_0x4b0886(0x3fc),_0x4b0886(0x143));break;}}return _0x1988eb;}async['loadUnit'](_0x54e19b,_0x4d51d6,_0x33762e){var _0x4fc54b=_0x11fce5,_0x329be7;this[_0x4fc54b(0x247)][_0x4fc54b(0x16e)]({'unitId':_0x54e19b,'type':_0x4d51d6,'subUnitId':_0x33762e});let _0x12c2eb=0x0;const _0x84b7e8=await((_0x329be7=this[_0x4fc54b(0x32e)])==null?void 0x0:_0x329be7[_0x4fc54b(0x2e2)](_0x54e19b));return _0x84b7e8&&(_0x84b7e8[_0x4fc54b(0x2cc)]||_0x84b7e8[_0x4fc54b(0x34b)][_0x4fc54b(0x115)]!==0x0)&&(_0x12c2eb=_0x84b7e8[_0x4fc54b(0x2c3)]),_0x12c2eb===0x0&&this[_0x4fc54b(0x313)][_0x4fc54b(0x11a)](_0x4fc54b(0x3fc),_0x4fc54b(0x1cb)),this['loadUnitOfRevision'](_0x54e19b,_0x4d51d6,_0x12c2eb);}};Ot=Fn([vt(0x0,_0x1df9aa),vt(0x1,_0x2d55c5(_0x4d1a6d)),vt(0x2,_0xe7a6e7(J))],Ot);var jn=Object[_0x11fce5(0x381)],Vn=(_0xe64770,_0xd7ee0c,_0x17f302,_0x130fe8)=>{var _0x59493e=_0x11fce5;for(var _0x117ca5=_0x130fe8>0x1?void 0x0:_0x130fe8?jn(_0xd7ee0c,_0x17f302):_0xd7ee0c,_0x4323d9=_0xe64770[_0x59493e(0x115)]-0x1,_0x45914b;_0x4323d9>=0x0;_0x4323d9--)(_0x45914b=_0xe64770[_0x4323d9])&&(_0x117ca5=_0x45914b(_0x117ca5)||_0x117ca5);return _0x117ca5;},pt=(_0x18eb93,_0x43b72a)=>(_0x59edd0,_0x2a53f7)=>_0x43b72a(_0x59edd0,_0x2a53f7,_0x18eb93);const Gn=[_0x11fce5(0x340),_0x11fce5(0x22c),_0x11fce5(0x304),_0x11fce5(0x314),'image/bmp'],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x37a332,_0x537263,_0x2bae58){var _0x400c15=_0x11fce5;D(this,_0x400c15(0x203),0x0),D(this,_0x400c15(0xf7),new _0x47b396()),D(this,_0x400c15(0x232),this['_change$']),D(this,'_imageSourceCache',new Map()),(this[_0x400c15(0x132)]=_0x37a332,this['_configService']=_0x537263,this['_univerInstanceService']=_0x2bae58);}[_0x11fce5(0x1bf)](_0x2bbada){var _0x8c04de=_0x11fce5;this['_waitCount']=_0x2bbada,this[_0x8c04de(0xf7)]['next'](_0x2bbada);}[_0x11fce5(0x12a)](_0x44474f,_0x4ce3b1){var _0x46cf01=_0x11fce5;if(_0x4ce3b1===_0x4c3a25[_0x46cf01(0x20e)]){const _0x4e8310=new Image();return _0x4e8310[_0x46cf01(0x159)]=_0x44474f,_0x4e8310;}return this[_0x46cf01(0x3d1)][_0x46cf01(0x277)](_0x44474f);}[_0x11fce5(0x1f2)](_0x37becf,_0x4ffad1,_0x1b1383){var _0x3157e1=_0x11fce5;_0x4ffad1===_0x4c3a25['BASE64']||_0x1b1383==null||this[_0x3157e1(0x3d1)][_0x3157e1(0x231)](_0x37becf,_0x1b1383);}async['getImage'](_0x4ca7f6){var _0x1da08d=_0x11fce5;try{const _0x405e93=this[_0x1da08d(0x3ba)](this['_getSignURL'](),''+_0x4ca7f6),_0x4fb82e=(await this[_0x1da08d(0x132)][_0x1da08d(0x277)](_0x405e93))['body'];if(_0x4fb82e[_0x1da08d(0x177)]&&_0x4fb82e[_0x1da08d(0x177)][_0x1da08d(0x2a8)]===vi['OK']){const _0x46cb93=new URL(_0x4fb82e[_0x1da08d(0x19c)],this[_0x1da08d(0xe8)]())[_0x1da08d(0x1a0)]();return Promise['resolve'](_0x46cb93);}return Promise['reject'](_0x4fb82e['error']);}catch(_0x5deadf){return Promise[_0x1da08d(0x1a9)](_0x5deadf);}}async[_0x11fce5(0x387)](_0x1b0b88){var _0x909441=_0x11fce5;let _0x4bd240='';if(!Gn[_0x909441(0x3d0)](_0x1b0b88[_0x909441(0x2bf)]))return this[_0x909441(0x3ac)](),Promise['reject'](new Error(_0x12817a[_0x909441(0x1e1)]));if(_0x1b0b88[_0x909441(0x10a)]>Wn)return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a['ERROR_EXCEED_SIZE']));try{const _0x5a36db=new FormData();_0x5a36db[_0x909441(0x169)](_0x909441(0xf5),_0x1b0b88);const _0x196b13=this[_0x909441(0x2c5)][_0x909441(0x1c2)](),_0x48b8e1=_0x196b13==null?void 0x0:_0x196b13['getUnitId']();if(!_0x48b8e1)throw new Error('unitId\x20is\x20not\x20found');const _0x5e2727=this[_0x909441(0x227)]()+_0x909441(0x2de)+_0x1b0b88[_0x909441(0x10a)][_0x909441(0x1a0)]()+'&source='+pi[_0x909441(0xf0)]+_0x909441(0x3ca)+encodeURIComponent(_0x48b8e1),_0x133307={'body':_0x5a36db},_0x571962=(await this[_0x909441(0x132)][_0x909441(0x167)](_0x5e2727,_0x133307))['body'];if(typeof _0x571962[_0x909441(0x38b)]!='string')return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a[_0x909441(0x1b5)]));_0x4bd240=_0x571962[_0x909441(0x38b)];}catch{return this['_decreaseWaiting'](),Promise[_0x909441(0x1a9)](new Error(_0x12817a['ERROR_IMAGE']));}return new Promise((_0x10afb2,_0x1a6039)=>{const _0x5214a2=new FileReader();_0x5214a2['readAsDataURL'](_0x1b0b88),_0x5214a2['onload']=_0x19ef0d=>{var _0x1e8143=_0x26d2,_0x3de242;const _0x4dd592=(_0x3de242=_0x19ef0d['target'])==null?void 0x0:_0x3de242[_0x1e8143(0x155)];if(_0x4dd592==null){this[_0x1e8143(0x3ac)](),_0x1a6039(new Error(_0x12817a[_0x1e8143(0x1b5)]));return;}const _0x175a77=_0x4cb107(0x6);_0x10afb2({'imageId':_0x175a77,'imageSourceType':_0x4c3a25[_0x1e8143(0x164)],'source':_0x4bd240,'base64Cache':_0x4dd592,'status':_0x12817a[_0x1e8143(0x3f8)]}),this[_0x1e8143(0x3ac)]();};});}['_getUploadFileURL'](){var _0x14e245=_0x11fce5,_0x2a576c;const _0x4ce2fe=this[_0x14e245(0x182)]['getConfig'](K);return(_0x2a576c=_0x4ce2fe==null?void 0x0:_0x4ce2fe[_0x14e245(0x36c)])!=null?_0x2a576c:Yn;}[_0x11fce5(0x2ba)](){var _0x20e815=_0x11fce5,_0x2813a1;const _0x1d13c3=this[_0x20e815(0x182)][_0x20e815(0x33a)](K);return(_0x2813a1=_0x1d13c3==null?void 0x0:_0x1d13c3[_0x20e815(0xff)])!=null?_0x2813a1:Kn;}['_getDownloadEndpointURL'](){var _0x3b75e0=_0x11fce5,_0x112642;const _0x1bd5d7=this[_0x3b75e0(0x182)]['getConfig'](K);return(_0x112642=_0x1bd5d7==null?void 0x0:_0x1bd5d7[_0x3b75e0(0x3a7)])!=null?_0x112642:location[_0x3b75e0(0x3b8)];}['_replaceFileID'](_0x53d482,_0x457a62){var _0x11aa8d=_0x11fce5;return _0x53d482[_0x11aa8d(0x258)](_0x11aa8d(0x1dd),_0x457a62);}[_0x11fce5(0x3ac)](){var _0x24d150=_0x11fce5;this[_0x24d150(0x203)]-=0x1,this['_change$'][_0x24d150(0x16e)](this[_0x24d150(0x203)]);}};Rt=Vn([pt(0x0,_0x2d55c5(_0x4f418b)),pt(0x1,_0x4762e8),pt(0x2,_0x2d55c5(_0x12d3b5))],Rt);var qn=Object['getOwnPropertyDescriptor'],zn=(_0x38570d,_0x3f2ff8,_0x1ed99e,_0x5b1d74)=>{var _0x4bcf36=_0x11fce5;for(var _0x4768a2=_0x5b1d74>0x1?void 0x0:_0x5b1d74?qn(_0x3f2ff8,_0x1ed99e):_0x3f2ff8,_0x233bb1=_0x38570d[_0x4bcf36(0x115)]-0x1,_0x52578b;_0x233bb1>=0x0;_0x233bb1--)(_0x52578b=_0x38570d[_0x233bb1])&&(_0x4768a2=_0x52578b(_0x4768a2)||_0x4768a2);return _0x4768a2;},ri=(_0x2d78f4,_0x47f596)=>(_0x4756bc,_0x1f1c71)=>_0x47f596(_0x4756bc,_0x1f1c71,_0x2d78f4);const Jn=_0x11fce5(0x2d1);let Ct=class{constructor(_0x539031,_0xd5aee2){var _0x2ab61e=_0x11fce5;this[_0x2ab61e(0x182)]=_0x539031,this[_0x2ab61e(0x34d)]=_0xd5aee2;}['_getAPIPrefixPath'](){var _0x11282e=_0x11fce5,_0x2ac6b6;const _0x3b4567=this['_configService'][_0x11282e(0x33a)](K);return(_0x2ac6b6=_0x3b4567==null?void 0x0:_0x3b4567['authzUrl'])!=null?_0x2ac6b6:Jn;}async['list'](_0x8a9ab2){var _0xda1c8b=_0x11fce5;const _0x3ffbc0=this[_0xda1c8b(0xf4)]()+'/collaborator';return{'list':[{'title':_0xda1c8b(0x280),'mentions':(await this['_HTTPService'][_0xda1c8b(0x277)](_0x3ffbc0,{'params':{'objectID':_0x8a9ab2[_0xda1c8b(0x38f)],'unitID':_0x8a9ab2[_0xda1c8b(0x38f)]}}))['body']['collaborators']['map'](_0x4bf62a=>({'objectId':_0x4bf62a['id'],'name':_0x4bf62a[_0xda1c8b(0x3f5)][_0xda1c8b(0x1c0)],'metadata':{'icon':_0x4bf62a[_0xda1c8b(0x3f5)][_0xda1c8b(0x13f)]},'label':_0x4bf62a[_0xda1c8b(0x3f5)]['name'],'objectType':_0x59c210[_0xda1c8b(0x23f)]})),'metadata':{},'type':_0x59c210[_0xda1c8b(0x23f)]}]};}};Ct=zn([ri(0x0,_0x2d55c5(_0x4762e8)),ri(0x1,_0x2d55c5(_0x4f418b))],Ct);var Xn=Object[_0x11fce5(0x381)],Zn=(_0x201edc,_0x432475,_0xabd6fa,_0x28b738)=>{var _0x30d17f=_0x11fce5;for(var _0x18f299=_0x28b738>0x1?void 0x0:_0x28b738?Xn(_0x432475,_0xabd6fa):_0x432475,_0x38a092=_0x201edc[_0x30d17f(0x115)]-0x1,_0x211cbf;_0x38a092>=0x0;_0x38a092--)(_0x211cbf=_0x201edc[_0x38a092])&&(_0x18f299=_0x211cbf(_0x18f299)||_0x18f299);return _0x18f299;},Ue=(_0x5340cf,_0x509cbc)=>(_0x2998a1,_0x5db855)=>_0x509cbc(_0x2998a1,_0x5db855,_0x5340cf);let ot=class extends _0x3f27f5{constructor(_0x58e859,_0x5110bf,_0x246a34,_0x27efd8,_0x28e93d){var _0x153e31=_0x11fce5;super(),this[_0x153e31(0x2b4)]=_0x58e859,this[_0x153e31(0x2c5)]=_0x5110bf,this[_0x153e31(0x1f6)]=_0x246a34,this['_collaborationSessionService']=_0x27efd8,this[_0x153e31(0x318)]=_0x28e93d,this[_0x153e31(0x141)](),this['_initCloseConn']();}[_0x11fce5(0x299)](){var _0x43b789=_0x11fce5;const _0x41f9f1=async _0x222363=>{var _0x151d31=_0x26d2;(await this[_0x151d31(0x3e9)]['requireSession'](_0x222363))[_0x151d31(0x25f)]['pipe'](_0x295c81(_0x4a97b3=>_0x4a97b3[_0x151d31(0x3cb)]===_0x34af1a[_0x151d31(0x2be)]),_0xa1274c(this[_0x151d31(0x106)]))['subscribe'](_0x4d6908=>{var _0x4e9fd4=_0x151d31;const _0x268b7b=_0x4d6908,{reason:_0x36ef58}=_0x268b7b[_0x4e9fd4(0x292)];this['_collaborationUIEventService'][_0x4e9fd4(0x351)]({'id':re[_0x4e9fd4(0x130)],'data':_0x36ef58}),this[_0x4e9fd4(0x1f6)][_0x4e9fd4(0x1a7)](new _0x380b83(_0x222363)['id'],!0x1),this[_0x4e9fd4(0x3e9)][_0x4e9fd4(0x218)](_0x222363);});};_0x3697f0(this[_0x43b789(0x2c5)]['getTypeOfUnitAdded$'](_0x529613[_0x43b789(0x190)]),this[_0x43b789(0x2c5)][_0x43b789(0x14c)](_0x529613[_0x43b789(0x346)]))[_0x43b789(0x377)](_0x4b0737(_0x1014b6=>_0x1014b6[_0x43b789(0x378)]()),_0x295c81(_0x53ac20=>!_0xfd5181(_0x53ac20)),_0xa1274c(this[_0x43b789(0x106)]))[_0x43b789(0x1c6)](_0x209e07=>{_0x41f9f1(_0x209e07);});}[_0x11fce5(0x141)](){var _0x45cd4d=_0x11fce5;const _0x49b6ac=async _0x5c8da4=>{var _0x47a160=_0x26d2;const _0x55ac92=await this[_0x47a160(0x3e9)][_0x47a160(0x368)](_0x5c8da4),_0x445b68=this[_0x47a160(0x2b4)][_0x47a160(0x277)](_0x27c6e3);_0x55ac92['event$'][_0x47a160(0x377)](_0x295c81(_0xdab0c3=>_0xdab0c3[_0x47a160(0x3cb)]===_0x34af1a['UPDATE_PERMISSION_OBJ']),_0xa1274c(this[_0x47a160(0x106)]))[_0x47a160(0x1c6)](_0x267297=>{var _0x10be6a=_0x47a160;const _0x1b177e=_0x267297,{objectId:_0x16dbfa}=_0x1b177e[_0x10be6a(0x292)];_0x16dbfa===_0x5c8da4?_0x445b68[_0x10be6a(0x32a)](_0x5c8da4):_0x445b68[_0x10be6a(0x272)](_0x5c8da4,_0x16dbfa);});};_0x3697f0(this[_0x45cd4d(0x2c5)][_0x45cd4d(0x14c)](_0x529613[_0x45cd4d(0x190)]))['pipe'](_0x4b0737(_0x17c024=>_0x17c024[_0x45cd4d(0x378)]()),_0x295c81(_0x8866e3=>!_0xfd5181(_0x8866e3)),_0xa1274c(this['dispose$']))[_0x45cd4d(0x1c6)](_0x5a5920=>{_0x49b6ac(_0x5a5920);});}};ot=Zn([Ue(0x0,_0x2d55c5(_0x2fa53b)),Ue(0x1,_0x12d3b5),Ue(0x2,_0x50b040),Ue(0x3,_0x2d55c5(we)),Ue(0x4,_0x2d55c5(ve))],ot);var Qn=Object['getOwnPropertyDescriptor'],er=(_0x4979c7,_0x273e06,_0x19d43a,_0x479d09)=>{var _0x3cfe0c=_0x11fce5;for(var _0x39693c=_0x479d09>0x1?void 0x0:_0x479d09?Qn(_0x273e06,_0x19d43a):_0x273e06,_0x4e267d=_0x4979c7[_0x3cfe0c(0x115)]-0x1,_0x44505d;_0x4e267d>=0x0;_0x4e267d--)(_0x44505d=_0x4979c7[_0x4e267d])&&(_0x39693c=_0x44505d(_0x39693c)||_0x39693c);return _0x39693c;},ai=(_0x16a7e4,_0x3d8fd7)=>(_0x1213f1,_0x3fee9d)=>_0x3d8fd7(_0x1213f1,_0x3fee9d,_0x16a7e4);let Nt=class{constructor(_0x56183f,_0x389675){var _0x5b6ea2=_0x11fce5;this[_0x5b6ea2(0x182)]=_0x56183f,this[_0x5b6ea2(0x132)]=_0x389675;}async[_0x11fce5(0x18a)](_0x57df31,_0x2f6c12){var _0x58ffb0=_0x11fce5,_0x4aa6b0;const {unitID:_0x5741a7,type:_0x41d805,revision:_0x301063=0x0}=_0x2f6c12,_0x1e206a=this[_0x58ffb0(0x38a)]()+'/'+_0x41d805+_0x58ffb0(0x3a4)+_0x5741a7+_0x58ffb0(0x1e4)+_0x301063,_0x35803b=(await this[_0x58ffb0(0x132)]['get'](_0x1e206a))['body'],_0x13093f=(_0x4aa6b0=_0x35803b['snapshot'])==null?void 0x0:_0x4aa6b0['workbook'];if(_0x13093f){const _0x46b73c=_0x13093f==null?void 0x0:_0x13093f[_0x58ffb0(0x19a)],_0x262ef7=_0x507c6b[_0x58ffb0(0x199)](_0x5804fd(_0x46b73c));_0x13093f[_0x58ffb0(0x19a)]=_0x262ef7,Object[_0x58ffb0(0x3c0)](_0x13093f[_0x58ffb0(0x29e)])[_0x58ffb0(0x390)](([,_0x457335])=>{var _0x31a4b4=_0x58ffb0;const _0x2f52a2=_0x457335[_0x31a4b4(0x19a)],_0x2a42cb=_0x507c6b[_0x31a4b4(0x199)](_0x5804fd(_0x2f52a2));_0x457335[_0x31a4b4(0x19a)]=_0x2a42cb;});}return _0x35803b;}async[_0x11fce5(0x260)](_0x1c6f5b,_0x33a545){var _0x18b2e6=_0x11fce5;const {unitID:_0x82cca2,type:_0x3551bb,blockID:_0x4e2517}=_0x33a545,_0x31aa44=this[_0x18b2e6(0x369)]()+'/'+_0x3551bb+'/unit/'+_0x82cca2+'/block/'+_0x4e2517;return(await this['_httpService'][_0x18b2e6(0x277)](_0x31aa44))['body'];}async[_0x11fce5(0x24e)](_0xabe235,_0x5ca321){var _0x3da1da=_0x11fce5;const {unitID:_0x4495b0,type:_0x17437c,blockID:_0x44e7a8}=_0x5ca321,_0x1919c6=this[_0x3da1da(0x369)]()+'/block/'+_0x17437c+'/unit/'+_0x4495b0+'/block/'+_0x44e7a8;return(await this[_0x3da1da(0x132)][_0x3da1da(0x277)](_0x1919c6))[_0x3da1da(0x2f1)];}async[_0x11fce5(0x339)](_0x16ac5f,_0x51dfa5){var _0x4ed4bb=_0x11fce5;const {unitID:_0x34458b,type:_0xc7156e,from:_0x2588ee,to:_0x3ae62c}=_0x51dfa5,_0x5ef8d0=this['_getAPIPrefix']()+'/'+_0xc7156e+_0x4ed4bb(0x3a4)+_0x34458b+_0x4ed4bb(0x127)+_0x2588ee+_0x4ed4bb(0x240)+_0x3ae62c;return(await this['_httpService']['get'](_0x5ef8d0))[_0x4ed4bb(0x2f1)];}['getSnapshotAPIPath'](){var _0x76f65=_0x11fce5,_0x340a40;return(_0x340a40=this[_0x76f65(0x182)][_0x76f65(0x33a)](vs))!=null?_0x340a40:this[_0x76f65(0x369)]();}[_0x11fce5(0x369)](){var _0x3c584c=_0x11fce5,_0x277501;const _0x2c6855=this['_configService'][_0x3c584c(0x33a)](K);return(_0x277501=_0x2c6855==null?void 0x0:_0x2c6855[_0x3c584c(0x1fe)])!=null?_0x277501:fs;}async[_0x11fce5(0x14e)](_0x242c16,_0x32d6fa){var _0x27a497=_0x11fce5;const _0x2e62e7=_0x27a497(0x2ef)+_0x32d6fa[_0x27a497(0x2bf)]+_0x27a497(0x3a4)+_0x32d6fa[_0x27a497(0x308)]+'/resources';return(await this[_0x27a497(0x132)][_0x27a497(0x277)](_0x2e62e7,{'params':{'resourceId':JSON[_0x27a497(0x3be)](_0x32d6fa[_0x27a497(0x2d8)])}}))[_0x27a497(0x2f1)];}[_0x11fce5(0x3ae)](){var _0x587fb1=_0x11fce5;throw new Error(_0x587fb1(0x128));}[_0x11fce5(0x212)](){var _0x597966=_0x11fce5;throw new Error(_0x597966(0x128));}[_0x11fce5(0x28d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x11fce5(0x3e0)](){var _0x3ed25c=_0x11fce5;throw new Error(_0x3ed25c(0x128));}[_0x11fce5(0x2e7)](){var _0x3046f8=_0x11fce5;throw new Error(_0x3046f8(0x128));}[_0x11fce5(0x33f)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=er([ai(0x0,_0x4762e8),ai(0x1,_0x2d55c5(_0x4f418b))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x40393e,_0xcb1331,_0x240d9d,_0x49871b)=>{var _0x529df5=_0x11fce5;for(var _0x214097=_0x49871b>0x1?void 0x0:_0x49871b?tr(_0xcb1331,_0x240d9d):_0xcb1331,_0x17ae8c=_0x40393e[_0x529df5(0x115)]-0x1,_0x463677;_0x17ae8c>=0x0;_0x17ae8c--)(_0x463677=_0x40393e[_0x17ae8c])&&(_0x214097=_0x463677(_0x214097)||_0x214097);return _0x214097;},Ae=(_0x307ccf,_0x2c2d89)=>(_0x188a93,_0x14eb95)=>_0x2c2d89(_0x188a93,_0x14eb95,_0x307ccf);let bt=class extends _0x129fa2{constructor(_0x2c440c,_0x270fed,_0xc72fe3,_0xde2366,_0x529932){var _0x1e5649=_0x11fce5;super(_0x2c440c,_0x270fed,_0xc72fe3),this[_0x1e5649(0x305)]=_0xde2366,this['_logService']=_0x529932;}['transformUndoRedo'](_0x4f886f,_0xdefe37){var _0x5888a7=_0x11fce5;const _0x39f428=this[_0x5888a7(0x268)](_0x4f886f);if(_0x39f428)try{const _0xb095d9=this[_0x5888a7(0x136)](_0x39f428,_0xdefe37);this[_0x5888a7(0x263)](_0x4f886f,_0xb095d9);}catch(_0x5640cc){this[_0x5888a7(0x313)][_0x5888a7(0x177)](_0x5888a7(0x21c),_0x5640cc),this[_0x5888a7(0x243)](_0x4f886f);}const _0x2c47a2=this['_getRedoStack'](_0x4f886f);if(_0x2c47a2)try{const _0x373908=this[_0x5888a7(0x136)](_0x2c47a2,_0xdefe37);this[_0x5888a7(0x2d0)](_0x4f886f,_0x373908);}catch(_0x2fbdb2){this[_0x5888a7(0x313)]['error'](_0x2fbdb2),this[_0x5888a7(0x295)](_0x4f886f);}}['_clearUndo'](_0x2a9c92){var _0x9a2da2=_0x11fce5;const _0x418ae3=this['_getUndoStack'](_0x2a9c92);_0x418ae3&&(_0x418ae3['length']=0x0,this[_0x9a2da2(0x386)]());}[_0x11fce5(0x295)](_0x438122){var _0x45c419=_0x11fce5;const _0x40c1ee=this[_0x45c419(0x2d2)](_0x438122);_0x40c1ee&&(_0x40c1ee['length']=0x0,this[_0x45c419(0x386)]());}[_0x11fce5(0x263)](_0x199684,_0x13aaab){var _0x418cfb=_0x11fce5;this['_undoStacks']['set'](_0x199684,_0x13aaab),this[_0x418cfb(0x386)]();}[_0x11fce5(0x2d0)](_0x527165,_0x5f1a16){var _0x330a5a=_0x11fce5;this[_0x330a5a(0x2a7)][_0x330a5a(0x231)](_0x527165,_0x5f1a16),this[_0x330a5a(0x386)]();}[_0x11fce5(0x136)](_0x7fffee,_0x2a6a22){var _0x148627=_0x11fce5;const _0x173d4d=[];let _0x138d89=_0x2a6a22,_0x5df6cb=_0x2a6a22;for(let _0x3217c3=_0x7fffee[_0x148627(0x115)]-0x1;_0x3217c3>=0x0;_0x3217c3--){const {unitID:_0x34c956,undoMutations:_0x55e94d,redoMutations:_0x1c5da9}=_0x7fffee[_0x3217c3],_0x4b7ea5=this[_0x148627(0x305)][_0x148627(0x113)](_0x138d89,_0x55e94d),_0x3761e2=this[_0x148627(0x305)][_0x148627(0x113)](_0x5df6cb,_0x1c5da9);if(_0x186bcf(_0x4b7ea5)||_0x186bcf(_0x3761e2)){this['_logService'][_0x148627(0x177)](_0x148627(0x21c),_0x148627(0x3f6),_0x4b7ea5,_0x3761e2);break;}_0x138d89=_0x4b7ea5[_0x148627(0x3fe)],_0x5df6cb=_0x3761e2[_0x148627(0x3fe)],_0x173d4d[_0x148627(0x145)]({'unitID':_0x34c956,'undoMutations':_0x4b7ea5[_0x148627(0x3ed)],'redoMutations':_0x3761e2['m2Prime']});}return _0x173d4d[_0x148627(0x10d)]();}};bt=ir([Ae(0x0,_0x12d3b5),Ae(0x1,_0x3a47f5),Ae(0x2,_0x1d39e0),Ae(0x3,_0x3cb156),Ae(0x4,_0x1df9aa)],bt);var sr=Object[_0x11fce5(0x337)],nr=Object[_0x11fce5(0x381)],rr=(_0x4e977e,_0xcd4cc6,_0x1eb42c)=>_0xcd4cc6 in _0x4e977e?sr(_0x4e977e,_0xcd4cc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eb42c}):_0x4e977e[_0xcd4cc6]=_0x1eb42c,ar=(_0x383f4a,_0x4cbb27,_0x51567f,_0x3443ed)=>{var _0x2fe0e1=_0x11fce5;for(var _0x32d1ff=_0x3443ed>0x1?void 0x0:_0x3443ed?nr(_0x4cbb27,_0x51567f):_0x4cbb27,_0x1aa42b=_0x383f4a[_0x2fe0e1(0x115)]-0x1,_0x4b88fe;_0x1aa42b>=0x0;_0x1aa42b--)(_0x4b88fe=_0x383f4a[_0x1aa42b])&&(_0x32d1ff=_0x4b88fe(_0x32d1ff)||_0x32d1ff);return _0x32d1ff;},Et=(_0x92325b,_0x2cacb0)=>(_0x38fa5e,_0x3f1e61)=>_0x2cacb0(_0x38fa5e,_0x3f1e61,_0x92325b),or=(_0x2dc1cb,_0x41a218,_0x409301)=>rr(_0x2dc1cb,_0x41a218+'',_0x409301);const cr=_0x11fce5(0x34a);let Dt=class extends _0x17b8e2{constructor(_0x5b362e,_0x369272,_0x316a57,_0x2c2264){var _0x2bc4d2=_0x11fce5;super(),D(this,_0x2bc4d2(0x294)),(this['_logService']=_0x369272,this[_0x2bc4d2(0x2b4)]=_0x316a57,this[_0x2bc4d2(0x182)]=_0x2c2264);const {..._0x5c7d75}=_0x1dd14a({},Ls,_0x5b362e);if(!_0x5c7d75['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2bc4d2(0x294)]=_0x5c7d75,this['_configService'][_0x2bc4d2(0x3c9)](K,_0x5c7d75);}[_0x11fce5(0xed)](){var _0x475b79=_0x11fce5;this['_registerDependencies'](),this[_0x475b79(0x1c8)]();}[_0x11fce5(0x20b)](){var _0x1e352a=_0x11fce5,_0x457046,_0x4bed40;this[_0x1e352a(0x2b4)][_0x1e352a(0x33c)](_0x33866c)&&this['_logService'][_0x1e352a(0x177)](_0x1e352a(0x34e),_0x1e352a(0x165));const _0x1b0b41=_0x48e071([[_0x33866c,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x1e352a(0x294)]['socketService']}],[_0x596050,{'useClass':Nt}],[_0x257af0,{'useClass':Tt}],[_0x5c9491,{'useClass':Rt}],[_0x108e7e,{'useClass':Ct}],[nt],[gt]],(_0x457046=this[_0x1e352a(0x294)])==null?void 0x0:_0x457046[_0x1e352a(0x2eb)]);if(!((_0x4bed40=this[_0x1e352a(0x294)])!=null&&_0x4bed40[_0x1e352a(0x383)])){const _0x5ec21f=_0x1b0b41[_0x1e352a(0x15b)](([_0x1e2702])=>_0x1e2702===_t);_0x5ec21f!==-0x1&&_0x1b0b41[_0x1e352a(0x30d)](_0x5ec21f,0x1);}_0x341bdf(this[_0x1e352a(0x2b4)],_0x1b0b41);}[_0x11fce5(0x1c8)](){var _0x16b9e0=_0x11fce5,_0x193b11,_0x147325,_0x4fd7d1;this[_0x16b9e0(0x2b4)]['get'](_0x4f418b)[_0x16b9e0(0x1b1)]({'priority':0x14,'interceptor':_0x8d0ab3({'maxParallel':0x6})}),(_0x193b11=this[_0x16b9e0(0x294)])!=null&&_0x193b11[_0x16b9e0(0x28a)]||(_0x147325=this[_0x16b9e0(0x2b4)][_0x16b9e0(0x277)](J,_0x56c9f4[_0x16b9e0(0x111)]))==null||_0x147325['disableLocalCache'](),(_0x4fd7d1=this[_0x16b9e0(0x294)])!=null&&_0x4fd7d1[_0x16b9e0(0x1ec)]&&_0x1d83e0(this[_0x16b9e0(0x2b4)],[[rt]]),_0x1d83e0(this['_injector'],[[at],[nt],[ot]]);}};or(Dt,_0x11fce5(0x21f),cr),Dt=ar([_0x1bc563(_0x10c7c8,_0x276b69),Et(0x1,_0x1df9aa),Et(0x2,_0x2d55c5(_0x2fa53b)),Et(0x3,_0x4762e8)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|
|
1
|
+
var _0x16f01c=_0x2af7;(function(_0xfb5ff1,_0x10dfe3){var _0x8b71dd=_0x2af7,_0x14ab92=_0xfb5ff1();while(!![]){try{var _0x37cd32=-parseInt(_0x8b71dd(0x287))/0x1*(-parseInt(_0x8b71dd(0x15d))/0x2)+parseInt(_0x8b71dd(0x1d3))/0x3*(-parseInt(_0x8b71dd(0x2cc))/0x4)+-parseInt(_0x8b71dd(0x3c3))/0x5*(-parseInt(_0x8b71dd(0x206))/0x6)+-parseInt(_0x8b71dd(0x171))/0x7+-parseInt(_0x8b71dd(0x41f))/0x8*(-parseInt(_0x8b71dd(0x195))/0x9)+-parseInt(_0x8b71dd(0x160))/0xa+parseInt(_0x8b71dd(0x1aa))/0xb*(-parseInt(_0x8b71dd(0x114))/0xc);if(_0x37cd32===_0x10dfe3)break;else _0x14ab92['push'](_0x14ab92['shift']());}catch(_0x14f268){_0x14ab92['push'](_0x14ab92['shift']());}}}(_0xe9bb,0xa47c6));var bi=Object[_0x16f01c(0x2b9)],Di=(_0x5ee4ec,_0xb0f397,_0x54cd2d)=>_0xb0f397 in _0x5ee4ec?bi(_0x5ee4ec,_0xb0f397,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54cd2d}):_0x5ee4ec[_0xb0f397]=_0x54cd2d,D=(_0x37018c,_0x2640c1,_0x4284cf)=>Di(_0x37018c,typeof _0x2640c1!=_0x16f01c(0x40a)?_0x2640c1+'':_0x2640c1,_0x4284cf);import{CollaborationEvent as _0x5d931e,ITransformService as _0x24d75d,isTransformMutationsWithChangesetSuccess as _0x5c13df,mapDocumentTypeToUniverType as _0x3ec77f,RevisionService as _0x587581,isTransformChangesetsSuccess as _0x58320f,EmptyMutationInfo as _0x1882f6,CompressMutationService as _0x430c60,parseProtocolChangeset as _0x334361,uuidv4 as _0x2054da,ISnapshotServerService as _0x3bb936,parseChangesetToProtocol as _0x5158f9,SnapshotService as _0x195402,textEncoder as _0x75428d,b64DecodeUnicode as _0x5c183f,isTransformMutationsWithChangesetFailure as _0x222ad6,UniverCollaborationPlugin as _0x52e080}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2fe86b,Inject as _0x39a463,UserManagerService as _0x59c0f5,Disposable as _0x4cf69f,UniverInstanceType as _0x36f965,ILogService as _0x46c731,IConfigService as _0x5b80dc,Optional as _0x23ad4d,RxDisposable as _0x28ec07,createIdentifier as _0xdd7a4d,Injector as _0x487d01,Tools as _0x102be8,Rectangle as _0x35a369,ICommandService as _0x14b5ce,JSONX as _0x12e75e,IUndoRedoService as _0x26b5a7,IPermissionService as _0x2aca0e,LocaleService as _0x2d14a8,sequenceExecute as _0x2f9d40,toDisposable as _0x5615b1,CommandType as _0x17c949,DisposableCollection as _0x18bb07,Workbook as _0x319761,generateRandomId as _0x48f790,MentionType as _0x313e0b,isInternalEditorID as _0x3fe92c,LocalUndoRedoService as _0x562171,IContextService as _0x1849e0,DependentOn as _0xc9b64b,Plugin as _0xc16ecc,merge as _0x5e6178,mergeOverrideWithDependencies as _0x23ae68,IAuthzIoService as _0x3d5b78,IMentionIOService as _0x2dca66,registerDependencies as _0x2103e8,Quantity as _0x2117f7,touchDependencies as _0x42c8a7}from'@univerjs/core';import{RichTextEditingMutation as _0x33b06f}from'@univerjs/docs';import{SheetsSelectionsService as _0xb67d0a,SetSelectionsOperation as _0x5b6212,InsertSheetMutation as _0x9ef5e,WorkbookEditablePermission as _0x2f7775,SheetPermissionInitController as _0x557bbb}from'@univerjs/sheets';import{Subject as _0x4a9940,merge as _0x596e66,of as _0x3a0627,BehaviorSubject as _0x310797,takeUntil as _0x55796d,ReplaySubject as _0x13128a,take as _0x12d218,map as _0x1da0af,shareReplay as _0x156053,firstValueFrom as _0x4307ca,concatMap as _0x1c7141}from'rxjs';import{ITelemetryService as _0x4f33d4}from'@univerjs/telemetry';import{map as _0x971c50,take as _0x5ab4f4,filter as _0xabf85c,delay as _0x57f9e9,takeUntil as _0x56b980}from'rxjs/operators';import{HTTPService as _0x2e0fa2,ISocketService as _0x30773f,MergeInterceptorFactory as _0x52bcb8,HTTPRequest as _0x2816eb,UniverNetworkPlugin as _0x4b4a84,ThresholdInterceptorFactory as _0x446aab}from'@univerjs/network';import{ImageSourceType as _0x57808e,ImageUploadStatusType as _0x48d8a2,IImageIoService as _0x378e02}from'@univerjs/drawing';import{getGlobalObject as _0x133b38}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x16f01c(0x212),ps=0x7d0,Es='ws://127.0.0.1:8000/universer-api/comb/connect',Sr=_0x16f01c(0x29a),ms='HEARTBEAT_INTERVAL',Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x16f01c(0x2d6),Ts=0x3,gr=_0x16f01c(0x2a7),Tr=0x3e8,Os=_0x16f01c(0x102),Rs=_0x16f01c(0x356),Or=_0x16f01c(0x24a),Rr=_0x16f01c(0x27f);var vi=(_0x26dffe=>(_0x26dffe[_0x26dffe['UNDEFINED']=0x0]=_0x16f01c(0x1ae),_0x26dffe[_0x26dffe['OK']=0x1]='OK',_0x26dffe[_0x26dffe[_0x16f01c(0x1d9)]=0x2]=_0x16f01c(0x1d9),_0x26dffe[_0x26dffe['PERMISSION_DENIED']=0x3]=_0x16f01c(0x22b),_0x26dffe[_0x26dffe[_0x16f01c(0x31b)]=0x4]=_0x16f01c(0x31b),_0x26dffe[_0x26dffe[_0x16f01c(0x3dc)]=0x5]=_0x16f01c(0x3dc),_0x26dffe[_0x26dffe[_0x16f01c(0x417)]=0x6]=_0x16f01c(0x417),_0x26dffe[_0x26dffe[_0x16f01c(0x251)]=0x7]=_0x16f01c(0x251),_0x26dffe[_0x26dffe[_0x16f01c(0x185)]=0x8]='TOO_MANY_REQUESTS',_0x26dffe[_0x26dffe[_0x16f01c(0x3d4)]=0x9]=_0x16f01c(0x3d4),_0x26dffe[_0x26dffe['LOGIN_FAILED']=0xa]=_0x16f01c(0x2e8),_0x26dffe[_0x26dffe[_0x16f01c(0x20d)]=0xb]=_0x16f01c(0x20d),_0x26dffe[_0x26dffe[_0x16f01c(0x259)]=0xc]=_0x16f01c(0x259),_0x26dffe[_0x26dffe[_0x16f01c(0x11d)]=0xd]=_0x16f01c(0x11d),_0x26dffe[_0x26dffe['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x16f01c(0x284),_0x26dffe[_0x26dffe[_0x16f01c(0x382)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x26dffe[_0x26dffe[_0x16f01c(0x170)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x26dffe[_0x26dffe[_0x16f01c(0x1fd)]=0x64]=_0x16f01c(0x1fd),_0x26dffe[_0x26dffe[_0x16f01c(0x1df)]=0x65]='ERROR_AGAIN',_0x26dffe[_0x26dffe[_0x16f01c(0x1d2)]=0xc9]=_0x16f01c(0x1d2),_0x26dffe[_0x26dffe[_0x16f01c(0x17a)]=0xca]='USER_IS_ANONYMOUS',_0x26dffe[_0x26dffe[_0x16f01c(0x418)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x26dffe[_0x26dffe[_0x16f01c(0x27e)]=0x1771]=_0x16f01c(0x27e),_0x26dffe[_0x26dffe[_0x16f01c(0x2b4)]=0x1772]=_0x16f01c(0x2b4),_0x26dffe[_0x26dffe[_0x16f01c(0x3b8)]=0x1773]=_0x16f01c(0x3b8),_0x26dffe[_0x26dffe[_0x16f01c(0x23e)]=0x1b59]=_0x16f01c(0x23e),_0x26dffe[_0x26dffe[_0x16f01c(0x1b0)]=0x1b5a]=_0x16f01c(0x1b0),_0x26dffe[_0x26dffe[_0x16f01c(0x1a0)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x26dffe[_0x26dffe['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x16f01c(0x142),_0x26dffe[_0x26dffe[_0x16f01c(0x38b)]=0x1b5d]='APPLY_DUPLICATED',_0x26dffe[_0x26dffe['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x26dffe[_0x26dffe[_0x16f01c(0x404)]=0x2329]=_0x16f01c(0x404),_0x26dffe[_0x26dffe[_0x16f01c(0x260)]=0x232a]=_0x16f01c(0x260),_0x26dffe[_0x26dffe[_0x16f01c(0x37e)]=0x232b]=_0x16f01c(0x37e),_0x26dffe[_0x26dffe[_0x16f01c(0x209)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x26dffe[_0x26dffe[_0x16f01c(0x3d7)]=0x232d]=_0x16f01c(0x3d7),_0x26dffe[_0x26dffe[_0x16f01c(0x28e)]=0x2711]=_0x16f01c(0x28e),_0x26dffe[_0x26dffe[_0x16f01c(0x333)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x26dffe[_0x26dffe[_0x16f01c(0x237)]=0x2713]=_0x16f01c(0x237),_0x26dffe[_0x26dffe['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x16f01c(0x23c),_0x26dffe[_0x26dffe[_0x16f01c(0x1a1)]=0x271a]=_0x16f01c(0x1a1),_0x26dffe[_0x26dffe[_0x16f01c(0x300)]=0x271b]=_0x16f01c(0x300),_0x26dffe[_0x26dffe[_0x16f01c(0x16a)]=0x271c]=_0x16f01c(0x16a),_0x26dffe[_0x26dffe[_0x16f01c(0x362)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x26dffe[_0x26dffe[_0x16f01c(0x290)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x26dffe[_0x26dffe[_0x16f01c(0x14e)]=0x271f]=_0x16f01c(0x14e),_0x26dffe[_0x26dffe[_0x16f01c(0x2e3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x186)]=0x2af9]=_0x16f01c(0x186),_0x26dffe[_0x26dffe[_0x16f01c(0x241)]=0x2ee1]=_0x16f01c(0x241),_0x26dffe[_0x26dffe['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x26dffe[_0x26dffe[_0x16f01c(0x100)]=0x2ee3]=_0x16f01c(0x100),_0x26dffe[_0x26dffe[_0x16f01c(0x1be)]=0x2ee4]=_0x16f01c(0x1be),_0x26dffe[_0x26dffe[_0x16f01c(0x36b)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x2d0)]=0x32c9]=_0x16f01c(0x2d0),_0x26dffe[_0x26dffe[_0x16f01c(0x1a7)]=0x32ca]=_0x16f01c(0x1a7),_0x26dffe[_0x26dffe['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x334)]=0x36b1]=_0x16f01c(0x334),_0x26dffe[_0x26dffe[_0x16f01c(0x157)]=0x36b2]=_0x16f01c(0x157),_0x26dffe[_0x26dffe[_0x16f01c(0x359)]=0x36b3]=_0x16f01c(0x359),_0x26dffe[_0x26dffe[_0x16f01c(0x2a0)]=0x36b4]=_0x16f01c(0x2a0),_0x26dffe[_0x26dffe[_0x16f01c(0x1b6)]=0x3715]=_0x16f01c(0x1b6),_0x26dffe[_0x26dffe[_0x16f01c(0x1b4)]=0x3716]=_0x16f01c(0x1b4),_0x26dffe[_0x26dffe[_0x16f01c(0x38e)]=0x3717]=_0x16f01c(0x38e),_0x26dffe[_0x26dffe[_0x16f01c(0x240)]=0x37dd]=_0x16f01c(0x240),_0x26dffe[_0x26dffe[_0x16f01c(0x397)]=0x3a99]=_0x16f01c(0x397),_0x26dffe[_0x26dffe[_0x16f01c(0x2db)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x26dffe[_0x26dffe['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x26dffe[_0x26dffe[_0x16f01c(0x2d2)]=0x3a9c]=_0x16f01c(0x2d2),_0x26dffe[_0x26dffe[_0x16f01c(0x400)]=0x3a9d]=_0x16f01c(0x400),_0x26dffe[_0x26dffe[_0x16f01c(0x3c4)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x26dffe[_0x26dffe[_0x16f01c(0x231)]=0x3a9f]=_0x16f01c(0x231),_0x26dffe[_0x26dffe[_0x16f01c(0x276)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x26dffe[_0x26dffe[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x26dffe))(vi||{}),Q=(_0x144a84=>(_0x144a84[_0x144a84[_0x16f01c(0x111)]=0x0]=_0x16f01c(0x111),_0x144a84[_0x144a84['UNIVER_DOC']=0x1]=_0x16f01c(0x3b4),_0x144a84[_0x144a84[_0x16f01c(0x10e)]=0x2]=_0x16f01c(0x10e),_0x144a84[_0x144a84[_0x16f01c(0x1c2)]=0x3]='UNIVER_SLIDE',_0x144a84[_0x144a84[_0x16f01c(0x2c3)]=0x4]=_0x16f01c(0x2c3),_0x144a84[_0x144a84[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x144a84))(Q||{}),j=(_0x290873=>(_0x290873[_0x290873[_0x16f01c(0x183)]=0x0]='UNKNOWN_CMD',_0x290873[_0x290873[_0x16f01c(0x3db)]=0x1]=_0x16f01c(0x3db),_0x290873[_0x290873['JOIN']=0x2]=_0x16f01c(0x317),_0x290873[_0x290873[_0x16f01c(0x1eb)]=0x3]=_0x16f01c(0x1eb),_0x290873[_0x290873[_0x16f01c(0x1cd)]=0x4]='INGEST',_0x290873[_0x290873[_0x16f01c(0x3b3)]=0x5]=_0x16f01c(0x3b3),_0x290873[_0x290873[_0x16f01c(0x35a)]=0x6]=_0x16f01c(0x35a),_0x290873[_0x290873[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x290873))(j||{}),pe=(_0x331fab=>(_0x331fab[_0x331fab[_0x16f01c(0x175)]=0x0]=_0x16f01c(0x175),_0x331fab[_0x331fab['OK']=0x1]='OK',_0x331fab[_0x331fab[_0x16f01c(0x274)]=0x2]='FAIL',_0x331fab[_0x331fab[_0x16f01c(0x344)]=0x3e9]=_0x16f01c(0x344),_0x331fab[_0x331fab[_0x16f01c(0x258)]=0x3ea]=_0x16f01c(0x258),_0x331fab[_0x331fab[_0x16f01c(0x1c7)]=0x3eb]=_0x16f01c(0x1c7),_0x331fab[_0x331fab[_0x16f01c(0x120)]=0x3ec]=_0x16f01c(0x120),_0x331fab[_0x331fab['UNRECOGNIZED']=-0x1]=_0x16f01c(0x41a),_0x331fab))(pe||{}),pi=(_0xdebef1=>(_0xdebef1[_0xdebef1[_0x16f01c(0x293)]=0x0]=_0x16f01c(0x293),_0xdebef1[_0xdebef1[_0x16f01c(0x3ff)]=0x1]='HttpImport',_0xdebef1[_0xdebef1[_0x16f01c(0x156)]=0x2]=_0x16f01c(0x156),_0xdebef1[_0xdebef1['UnitEmbedded']=0x3]=_0x16f01c(0x338),_0xdebef1[_0xdebef1['UnitSnapshot']=0x4]=_0x16f01c(0x3ef),_0xdebef1[_0xdebef1['UserProfileImg']=0x5]=_0x16f01c(0x313),_0xdebef1[_0xdebef1['ClipsheetFragments']=0x6]='ClipsheetFragments',_0xdebef1[_0xdebef1[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0xdebef1))(pi||{});const Cs=_0x16f01c(0x372);function Ns(_0x312c41){var _0x421626=_0x16f01c;return JSON['stringify'](_0x312c41)[_0x421626(0x389)];}var re=(_0x10a86f=>(_0x10a86f[_0x16f01c(0x184)]='OTHER_CLIENT_EDITING',_0x10a86f[_0x16f01c(0x22b)]=_0x16f01c(0x22b),_0x10a86f[_0x16f01c(0x169)]=_0x16f01c(0x169),_0x10a86f[_0x16f01c(0x396)]='CLOSE_ROOM',_0x10a86f[_0x16f01c(0x39b)]=_0x16f01c(0x39b),_0x10a86f[_0x16f01c(0x10a)]=_0x16f01c(0x10a),_0x10a86f[_0x16f01c(0x2f2)]='SOCKET_FAILED',_0x10a86f['SUBMIT_CHANGESET_TIMEOUT']=_0x16f01c(0x35f),_0x10a86f))(re||{});class ve{constructor(){var _0x3d7e33=_0x16f01c;D(this,'_event$',new _0x4a9940()),D(this,_0x3d7e33(0x366),this[_0x3d7e33(0x1a9)][_0x3d7e33(0x2d4)]());}[_0x16f01c(0x10c)](_0x2dd056){var _0x43d6f5=_0x16f01c;this[_0x43d6f5(0x1a9)]['next'](_0x2dd056);}}class Ei{constructor(){var _0x5d11cf=_0x16f01c;D(this,_0x5d11cf(0x245),new _0x4a9940()),D(this,_0x5d11cf(0x18f),this[_0x5d11cf(0x245)][_0x5d11cf(0x2d4)]());}[_0x16f01c(0x270)](_0x1d3ede){var _0x4094ad=_0x16f01c;this[_0x4094ad(0x245)]['next'](_0x1d3ede);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x5f0698,_0x5ec685,_0x102125,_0x228785)=>{var _0x3fe6a2=_0x16f01c;for(var _0x561a46=_0x228785>0x1?void 0x0:_0x228785?bs(_0x5ec685,_0x102125):_0x5ec685,_0x1ecea0=_0x5f0698[_0x3fe6a2(0x389)]-0x1,_0x5f4b38;_0x1ecea0>=0x0;_0x1ecea0--)(_0x5f4b38=_0x5f0698[_0x1ecea0])&&(_0x561a46=_0x5f4b38(_0x561a46)||_0x561a46);return _0x561a46;},Ft=(_0x47181e,_0x2728b5)=>(_0x5e07d7,_0x136c5a)=>_0x2728b5(_0x5e07d7,_0x136c5a,_0x47181e);let Pe=class extends _0x4cf69f{constructor(_0x39d68a,_0x437c62){var _0x110e72=_0x16f01c;super(),D(this,_0x110e72(0x21e),new Map()),D(this,_0x110e72(0x1fb),new _0x4a9940()),(this[_0x110e72(0x373)]=_0x39d68a,this[_0x110e72(0x21f)]=_0x437c62,this[_0x110e72(0x107)](_0x596e66(this[_0x110e72(0x373)]['getTypeOfUnitDisposed$'](_0x36f965['UNIVER_SHEET'])[_0x110e72(0x36e)](_0x971c50(_0x5e5df0=>_0x5e5df0[_0x110e72(0x3f7)]())),this[_0x110e72(0x373)][_0x110e72(0x192)](_0x36f965[_0x110e72(0x3b4)])[_0x110e72(0x36e)](_0x971c50(_0x543a16=>_0x543a16[_0x110e72(0x3f7)]())),this[_0x110e72(0x373)]['getTypeOfUnitDisposed$'](_0x36f965[_0x110e72(0x1c2)])['pipe'](_0x971c50(_0x2f8c75=>_0x2f8c75[_0x110e72(0x3f7)]())))['subscribe'](_0x6875a2=>this[_0x110e72(0x1f0)](_0x6875a2))));}[_0x16f01c(0x108)](_0x2adcfb){var _0x5af99c=_0x16f01c;return this['_roomMembers'][_0x5af99c(0x1cb)](_0x2adcfb)?_0x3a0627(this[_0x5af99c(0x21e)]['get'](_0x2adcfb)):this[_0x5af99c(0x1fb)][_0x5af99c(0x36e)](_0x971c50(_0x18ad57=>{var _0x24f4fc=_0x5af99c;if(_0x18ad57===_0x2adcfb)return this[_0x24f4fc(0x21e)][_0x24f4fc(0x235)](_0x18ad57);}));}[_0x16f01c(0x20a)](_0x4c5938){var _0x3be296=_0x16f01c;this[_0x3be296(0x21f)][_0x3be296(0x20a)](_0x4c5938);}[_0x16f01c(0x130)](){var _0x5a82dc=_0x16f01c;return this['_userManagerService'][_0x5a82dc(0x130)]();}[_0x16f01c(0x218)](_0x4326e4,_0x445a26){var _0x53c98d=_0x16f01c;let _0x4843d4=this[_0x53c98d(0x21e)][_0x53c98d(0x235)](_0x4326e4);_0x4843d4||(_0x4843d4=new ys(),this[_0x53c98d(0x21e)][_0x53c98d(0x139)](_0x4326e4,_0x4843d4),this[_0x53c98d(0x1fb)][_0x53c98d(0x1ff)](_0x4326e4)),_0x4843d4[_0x53c98d(0x218)](_0x445a26);}['removeMember'](_0xb115b9,_0x1b2ade){var _0xfdc706=_0x16f01c;const _0x4082f6=this[_0xfdc706(0x21e)][_0xfdc706(0x235)](_0xb115b9);_0x4082f6&&_0x4082f6[_0xfdc706(0x12a)](_0x1b2ade);}[_0x16f01c(0x385)](_0x46a86c){var _0x515f85=_0x16f01c;return this['_roomMembers'][_0x515f85(0x235)](_0x46a86c);}[_0x16f01c(0x3e9)](_0x1c04dc,_0x1f14b1){var _0x49ad4e=_0x16f01c;const _0x52aa02=this[_0x49ad4e(0x21e)][_0x49ad4e(0x235)](_0x1c04dc);if(_0x52aa02)return _0x52aa02[_0x49ad4e(0x3e9)](_0x1f14b1);}['_removeRoom'](_0x1f34ae){var _0x2b9d66=_0x16f01c;const _0x4d040e=this[_0x2b9d66(0x21e)][_0x2b9d66(0x235)](_0x1f34ae);_0x4d040e&&(_0x4d040e[_0x2b9d66(0x1d1)](),this[_0x2b9d66(0x21e)][_0x2b9d66(0x12b)](_0x1f34ae));}['dispose'](){var _0x2244ea=_0x16f01c;this[_0x2244ea(0x21e)][_0x2244ea(0x17f)](_0x14bc6b=>_0x14bc6b['dispose']()),this[_0x2244ea(0x21e)][_0x2244ea(0x280)](),this[_0x2244ea(0x1fb)][_0x2244ea(0x199)]();}};Pe=Ds([Ft(0x0,_0x2fe86b),Ft(0x1,_0x39a463(_0x59c0f5))],Pe);class ys extends _0x4cf69f{constructor(){var _0x189ba5=_0x16f01c;super(...arguments),D(this,_0x189ba5(0x239),new Map()),D(this,_0x189ba5(0x253),new _0x310797(this[_0x189ba5(0x239)])),D(this,_0x189ba5(0x1c0),this[_0x189ba5(0x253)]['asObservable']());}[_0x16f01c(0x1d1)](){var _0x48e839=_0x16f01c;this['_members'][_0x48e839(0x280)]();}[_0x16f01c(0x218)](_0x2c45dc){var _0x5c27cf=_0x16f01c;this['_members'][_0x5c27cf(0x139)](_0x2c45dc['memberID'],_0x2c45dc),this[_0x5c27cf(0x3df)]();}[_0x16f01c(0x12a)](_0x5e5dc5){var _0x3bed3b=_0x16f01c;this[_0x3bed3b(0x239)]['delete'](_0x5e5dc5);}[_0x16f01c(0x3e9)](_0x5d31cd){var _0x4715a3=_0x16f01c;return this[_0x4715a3(0x239)][_0x4715a3(0x235)](_0x5d31cd);}[_0x16f01c(0x2eb)](){var _0x58bee1=_0x16f01c;return Array[_0x58bee1(0x3c8)](this[_0x58bee1(0x239)][_0x58bee1(0x118)]());}[_0x16f01c(0x3df)](){var _0x51edf8=_0x16f01c;this[_0x51edf8(0x253)][_0x51edf8(0x1ff)](this[_0x51edf8(0x239)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x43993c,_0x1bff7b,_0x264723,_0x5f0e34)=>{var _0x23731d=_0x16f01c;for(var _0x3925a6=_0x5f0e34>0x1?void 0x0:_0x5f0e34?Us(_0x1bff7b,_0x264723):_0x1bff7b,_0x1fc7c7=_0x43993c[_0x23731d(0x389)]-0x1,_0x3e8b58;_0x1fc7c7>=0x0;_0x1fc7c7--)(_0x3e8b58=_0x43993c[_0x1fc7c7])&&(_0x3925a6=_0x3e8b58(_0x3925a6)||_0x3925a6);return _0x3925a6;},Oe=(_0x512262,_0x1e7434)=>(_0x2c7716,_0x2fd677)=>_0x1e7434(_0x2c7716,_0x2fd677,_0x512262),me=(_0x56c341=>(_0x56c341[_0x56c341[_0x16f01c(0x416)]=0x0]='IDLE',_0x56c341[_0x56c341[_0x16f01c(0x3da)]=0x1]=_0x16f01c(0x3da),_0x56c341[_0x56c341[_0x16f01c(0x285)]=0x2]=_0x16f01c(0x285),_0x56c341[_0x56c341[_0x16f01c(0x187)]=0x3]=_0x16f01c(0x187),_0x56c341))(me||{});const jt={[pe[_0x16f01c(0x274)]]:_0x16f01c(0x168),[pe[_0x16f01c(0x344)]]:_0x16f01c(0x32a),[pe[_0x16f01c(0x258)]]:_0x16f01c(0x207),[pe[_0x16f01c(0x1c7)]]:_0x16f01c(0x28b),[pe[_0x16f01c(0x120)]]:_0x16f01c(0x265)};let mt=class extends _0x28ec07{constructor(_0x393a51,_0xa5aaff,_0x13d96c,_0x1457a1,_0x465107,_0x4672d8,_0x1ac758,_0xc848cc){var _0x13f9d0=_0x16f01c;super(),D(this,'_sessionStatus$',new _0x310797(0x0)),D(this,_0x13f9d0(0x29f),this[_0x13f9d0(0x33c)][_0x13f9d0(0x2d4)]()),D(this,_0x13f9d0(0x1a9),new _0x4a9940()),D(this,_0x13f9d0(0x366),this[_0x13f9d0(0x1a9)][_0x13f9d0(0x2d4)]()),D(this,_0x13f9d0(0x28a)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x13f9d0(0x3e5),!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x393a51,this[_0x13f9d0(0x36c)]=_0x13d96c,this[_0x13f9d0(0x1ce)]=_0x1457a1,this[_0x13f9d0(0x3e8)]=_0x465107,this[_0x13f9d0(0x2f4)]=_0x4672d8,this['_collaborationUIEventService']=_0x1ac758,this[_0x13f9d0(0x216)]=_0xc848cc,this['_shouldReportTelemetry']=!!this[_0x13f9d0(0x216)],_0xa5aaff['pipe'](_0x55796d(this[_0x13f9d0(0x19b)]))[_0x13f9d0(0x33f)](_0x36780e=>{var _0x1c3bd2=_0x13f9d0,_0x4029bf;typeof _0x36780e>'u'||(this['_socket']=_0x36780e,_0x36780e?(this['_joinRoom'](_0x36780e),this[_0x1c3bd2(0x12c)]=_0x36780e[_0x1c3bd2(0x420)]['subscribe'](_0x409ca8=>{var _0x5e93c8=_0x1c3bd2;_0x409ca8['routeKey']===this[_0x5e93c8(0x309)]&&this[_0x5e93c8(0x1bb)](_0x409ca8);})):(this[_0x1c3bd2(0x211)](),this['_sessionStatus$'][_0x1c3bd2(0x1ff)](0x2),(_0x4029bf=this[_0x1c3bd2(0x12c)])==null||_0x4029bf[_0x1c3bd2(0x148)](),this[_0x1c3bd2(0x12c)]=null));}));}get[_0x16f01c(0x31f)](){var _0x20c570=_0x16f01c;return this[_0x20c570(0x33c)][_0x20c570(0x3be)]();}[_0x16f01c(0x22a)](){var _0x30bc6f=_0x16f01c,_0x447a32,_0x5e0084;return(_0x5e0084=(_0x447a32=this['_socket'])==null?void 0x0:_0x447a32[_0x30bc6f(0x2fb)])!=null?_0x5e0084:null;}[_0x16f01c(0x1d1)](){var _0x1851af=_0x16f01c;super['dispose'](),this[_0x1851af(0x19b)]['next'](),this[_0x1851af(0x19b)][_0x1851af(0x199)]();}[_0x16f01c(0x2c6)](){var _0x5f43e8=_0x16f01c,_0x2a07ce,_0x42beb4;this[_0x5f43e8(0x211)](),(_0x2a07ce=this[_0x5f43e8(0x28a)])==null||_0x2a07ce['send']({'cmd':j[_0x5f43e8(0x1eb)],'data':{'roomID':this['_unitID']}}),(_0x42beb4=this['_socket'])==null||_0x42beb4['close'](),this[_0x5f43e8(0x1a9)]['complete'](),this[_0x5f43e8(0x33c)][_0x5f43e8(0x199)](),this[_0x5f43e8(0x1d1)]();}[_0x16f01c(0x1bb)](_0x490c3a){var _0x1196de=_0x16f01c;_0x490c3a[_0x1196de(0x395)]===j[_0x1196de(0x317)]?this['_onJoinRoomEvent'](_0x490c3a):_0x490c3a[_0x1196de(0x395)]===j[_0x1196de(0x35a)]&&this[_0x1196de(0x2f0)](_0x490c3a);}[_0x16f01c(0x2ce)](_0x402a5f){var _0x6de23a=_0x16f01c;this[_0x6de23a(0x33c)][_0x6de23a(0x1ff)](0x1),_0x402a5f['send']({'cmd':j[_0x6de23a(0x317)],'routeKey':this[_0x6de23a(0x309)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x134573){var _0x358a35=_0x16f01c,_0x41b539;if(_0x134573[_0x358a35(0x3b2)]in jt){this['_collaborationUIEventService'][_0x358a35(0x10c)]({'id':re[_0x358a35(0x39b)],'data':jt[_0x134573['code']]}),this[_0x358a35(0x33c)][_0x358a35(0x1ff)](0x2);return;}this[_0x358a35(0x33c)]['next'](0x3);const _0x35f906=(_0x41b539=_0x134573[_0x358a35(0x3fc)][_0x358a35(0x289)][this[_0x358a35(0x309)]])==null?void 0x0:_0x41b539['members'];_0x35f906&&_0x35f906[_0x358a35(0x17f)](_0xcca4b4=>this[_0x358a35(0x3e8)][_0x358a35(0x218)](this[_0x358a35(0x309)],_0xcca4b4));}[_0x16f01c(0x2f0)](_0x1d8bb1){var _0x35d449=_0x16f01c;try{const _0x776251=_0x1d8bb1['data'];switch(_0x776251[_0x35d449(0x141)]){case _0x5d931e[_0x35d449(0x178)]:this[_0x35d449(0x119)](_0x776251),this[_0x35d449(0x1a9)]['next'](_0x776251);break;case _0x5d931e[_0x35d449(0x13a)]:this[_0x35d449(0x12f)](_0x776251),this['_event$'][_0x35d449(0x1ff)](_0x776251);break;case _0x5d931e[_0x35d449(0x2e6)]:case _0x5d931e['CHANGESET_SHOULD_RETRY']:this[_0x35d449(0x1e7)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x35d449(0x1ff)](_0x776251);break;case _0x5d931e[_0x35d449(0x1e3)]:this[_0x35d449(0x36c)]['error'](_0x35d449(0x357)+JSON[_0x35d449(0x2a1)](_0x776251)),this[_0x35d449(0x1a9)]['next'](_0x776251);break;case _0x5d931e[_0x35d449(0x1af)]:this[_0x35d449(0x2f4)][_0x35d449(0x270)](_0x776251[_0x35d449(0x3fc)]),this[_0x35d449(0x1a9)][_0x35d449(0x1ff)](_0x776251);break;default:this[_0x35d449(0x1a9)][_0x35d449(0x1ff)](_0x776251);}}catch(_0x3d13c6){this[_0x35d449(0x36c)]['error'](_0x3d13c6,_0x1d8bb1);}}['_onUserJoin'](_0x5bbb18){var _0x365386=_0x16f01c;this[_0x365386(0x3e8)][_0x365386(0x218)](this[_0x365386(0x309)],_0x5bbb18[_0x365386(0x3fc)]);}[_0x16f01c(0x12f)](_0x377386){var _0x5a9d62=_0x16f01c;this[_0x5a9d62(0x3e8)]['removeMember'](this[_0x5a9d62(0x309)],_0x377386[_0x5a9d62(0x3fc)][_0x5a9d62(0x2fb)]);}async[_0x16f01c(0x16e)](_0x31356e,_0x38799e){var _0x1e7fc5=_0x16f01c;if(this[_0x1e7fc5(0x31f)]!==0x3||!this[_0x1e7fc5(0x28a)])throw new Error(_0x1e7fc5(0x1f3));try{_0x31356e[_0x1e7fc5(0x141)]===_0x5d931e['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1e7fc5(0x3ca)](_0x31356e)),this[_0x1e7fc5(0x28a)]['send']({'cmd':j[_0x1e7fc5(0x1cd)],'routeKey':_0x38799e,'routeType':'','data':_0x31356e});}catch(_0x2ed0fc){this[_0x1e7fc5(0x36c)][_0x1e7fc5(0x390)](_0x2ed0fc);}}[_0x16f01c(0x393)](){var _0x558d1c=_0x16f01c,_0x208983;this[_0x558d1c(0x40e)]=setTimeout(()=>{var _0x2869c6=_0x558d1c;this['_collaborationTimeoutTimer']=null,this[_0x2869c6(0x238)]['emitEvent']({'id':re[_0x2869c6(0x35f)]});},(_0x208983=this[_0x558d1c(0x1ce)][_0x558d1c(0x27b)](di))!=null?_0x208983:fi);}[_0x16f01c(0x2ef)](){var _0x68ca1d=_0x16f01c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x68ca1d(0x40e)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x4041a6){var _0x540e13=_0x16f01c;if(!this[_0x540e13(0x3e5)])return;const {data:_0x48ca78}=_0x4041a6,{unitID:_0x464d50,changeset:_0x54c3ad}=_0x48ca78,{mutations:_0x2c4326,type:_0x1b4cf0}=_0x54c3ad;this[_0x540e13(0x1e9)]={'unitId':_0x464d50,'type':_0x1b4cf0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x2c4326)};}[_0x16f01c(0x1e7)](){var _0xe0e3ef=_0x16f01c;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0xe0e3ef(0x36c)][_0xe0e3ef(0x390)](_0xe0e3ef(0x31c),_0xe0e3ef(0x125));return;}this[_0xe0e3ef(0x1e9)][_0xe0e3ef(0x30e)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0xe0e3ef(0x1e9)][_0xe0e3ef(0x30e)]-this[_0xe0e3ef(0x1e9)]['startTime'],this[_0xe0e3ef(0x216)][_0xe0e3ef(0x277)](Cs,this[_0xe0e3ef(0x1e9)]),this['_telemetryInfo']=null;}}[_0x16f01c(0x211)](){var _0x9b3a6c=_0x16f01c;this[_0x9b3a6c(0x1e9)]=null;}};mt=As([Oe(0x2,_0x46c731),Oe(0x3,_0x5b80dc),Oe(0x4,_0x39a463(Pe)),Oe(0x5,_0x39a463(Ei)),Oe(0x6,_0x39a463(ve)),Oe(0x7,_0x23ad4d(_0x4f33d4))],mt);const J=_0xdd7a4d('collaboration-client.local-cache-service');function Cr(_0x343f49){var _0x14ac3d=_0x16f01c;return _0x14ac3d(0x401)+_0x343f49;}var Ps=Object[_0x16f01c(0x11f)],ws=(_0x58c9b3,_0x14e614,_0x3aec37,_0x4e87c8)=>{var _0x3e8976=_0x16f01c;for(var _0x1b59ac=_0x4e87c8>0x1?void 0x0:_0x4e87c8?Ps(_0x14e614,_0x3aec37):_0x14e614,_0x253378=_0x58c9b3[_0x3e8976(0x389)]-0x1,_0x472639;_0x253378>=0x0;_0x253378--)(_0x472639=_0x58c9b3[_0x253378])&&(_0x1b59ac=_0x472639(_0x1b59ac)||_0x1b59ac);return _0x1b59ac;},ut=(_0x4dbbfe,_0x46bdb8)=>(_0x1d0515,_0x168c26)=>_0x46bdb8(_0x1d0515,_0x168c26,_0x4dbbfe);function Ms(_0x326971){var _0x4fdea0=_0x16f01c;const {unitID:_0x297c99,mutations:_0x2abb29}=_0x326971;return{'unitId':_0x297c99,'subUnitId':_0x2abb29[_0x4fdea0(0x389)]>0x0?_0x2abb29[0x0]['params'][_0x4fdea0(0x32b)]:null};}let it=class{constructor(_0x4a4f61,_0x50aa15,_0x1f2a7a){var _0x92858f=_0x16f01c;this[_0x92858f(0x314)]=_0x4a4f61,this['_transformService']=_0x50aa15,this[_0x92858f(0x3d3)]=_0x1f2a7a;}[_0x16f01c(0x20e)](_0x58bc01){var _0x80b872=_0x16f01c,_0x58b889,_0x58ab57,_0x4b9d5e,_0x27708e;const _0x56b0da=this[_0x80b872(0x314)][_0x80b872(0x235)](_0xb67d0a),{unitId:_0x39520e,subUnitId:_0x81b8b2}=Ms(_0x58bc01),_0x2db50b=_0x56b0da==null?void 0x0:_0x56b0da[_0x80b872(0x331)](_0x39520e)[_0x80b872(0x320)](),_0x345df8=(_0x58ab57=(_0x58b889=this[_0x80b872(0x3d3)][_0x80b872(0x135)](_0x39520e))==null?void 0x0:_0x58b889['getActiveSheet']())==null?void 0x0:_0x58ab57[_0x80b872(0x3ae)]();if(_0x2db50b['length']===0x0||!_0x39520e||!_0x81b8b2)return;const _0x153792=[{'id':_0x5b6212['id'],'params':{'unitId':_0x39520e,'subUnitId':_0x345df8,'selections':_0x102be8[_0x80b872(0x112)](_0x2db50b)}}],_0xc36a5e=this['_transformService'][_0x80b872(0x2e1)](_0x58bc01,_0x153792);if(!_0x5c13df(_0xc36a5e))throw _0xc36a5e[_0x80b872(0x390)];const _0x27719d=(_0x27708e=(_0x4b9d5e=_0xc36a5e[_0x80b872(0x1ea)][0x0])==null?void 0x0:_0x4b9d5e[_0x80b872(0x2b2)])==null?void 0x0:_0x27708e[_0x80b872(0x1a3)];if(Array[_0x80b872(0x204)](_0x27719d)&&_0x27719d[_0x80b872(0x389)]){if(_0x27719d[_0x80b872(0x389)]===_0x153792[0x0][_0x80b872(0x2b2)][_0x80b872(0x1a3)]['length']&&_0x27719d[_0x80b872(0x18b)]((_0xc86d67,_0x38522f)=>_0x35a369['equals'](_0xc86d67[_0x80b872(0x1bd)],_0x153792[0x0][_0x80b872(0x2b2)][_0x80b872(0x1a3)][_0x38522f][_0x80b872(0x1bd)])))return;this[_0x80b872(0x314)][_0x80b872(0x235)](_0x14b5ce)[_0x80b872(0x20c)](_0x5b6212['id'],{'unitId':_0x39520e,'subUnitId':_0x345df8,'selections':_0x27719d});}}};it=ws([ut(0x0,_0x39a463(_0x487d01)),ut(0x1,_0x24d75d),ut(0x2,_0x2fe86b)],it);const _t=_0xdd7a4d(_0x16f01c(0x419));var mi=(_0xfbc597=>(_0xfbc597[_0xfbc597[_0x16f01c(0x33e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xfbc597[_0xfbc597['OTHER_CLIENTS_EDITING']=0x1]=_0x16f01c(0x2cd),_0xfbc597))(mi||{});const K=_0x16f01c(0x355),Ls={},xs=new Set([_0x9ef5e['id']]);function Vt(_0x57e536,_0x32262f,_0x5c005c,_0x4f60d0,_0x4458a8){var _0x4ba698=_0x16f01c,_0x4a485b,_0x4170c8,_0x136b6c,_0x35501b;const _0x43e58e=[];for(const _0x43f55a of _0x57e536)if(xs['has'](_0x43f55a['id'])){if(_0x43e58e[_0x4ba698(0x389)]>0x0)break;_0x43e58e[_0x4ba698(0x288)](_0x43f55a);break;}else _0x43e58e[_0x4ba698(0x288)](_0x43f55a);const _0x32c3cc=(_0x4170c8=(_0x4a485b=_0x4458a8[_0x4ba698(0x130)]())==null?void 0x0:_0x4a485b[_0x4ba698(0x263)])!=null?_0x4170c8:_0x4ba698(0x39e),_0x52a67e=(_0x35501b=(_0x136b6c=_0x4458a8['getCurrentUser']())==null?void 0x0:_0x136b6c['memberID'])!=null?_0x35501b:'unknown';return{'changeset':{'unitID':_0x32262f,'type':_0x3ec77f(_0x5c005c[_0x4ba698(0x2d8)](_0x32262f)),'baseRev':_0x4f60d0[_0x4ba698(0x1d5)](_0x32262f),'revision':0x0,'userID':_0x32c3cc,'memberID':_0x52a67e,'mutations':_0x43e58e},'pendingMutations':_0x57e536[_0x4ba698(0x2fc)](_0x43e58e['length'])};}function ks(_0xa9ac13,_0x54be7c,_0x2952e4,_0x1f65ba,_0x48ac42){var _0x4fb941=_0x16f01c,_0x1f29d4,_0x34f401,_0x1d971d,_0x123489;const _0x415569=[_0xa9ac13['reduce']((_0x12dd64,_0x199cab)=>{var _0xef9a12=_0x2af7,_0x583de9;const {id:_0x2dd363}=_0x12dd64,{id:_0x12640e,type:_0x9e453c}=_0x199cab,_0x4731c1=(_0x583de9=_0x12dd64['params'])!=null?_0x583de9:{'actions':null},_0x32b74a=_0x199cab[_0xef9a12(0x2b2)];if(_0x2dd363&&_0x2dd363!==_0x12640e)throw new Error(_0xef9a12(0x26a)+_0x2dd363+_0xef9a12(0x2ab)+_0x12640e+'.');return{..._0x12dd64,'id':_0x12640e,'type':_0x9e453c,'params':{'unitId':_0x32b74a[_0xef9a12(0x220)],'textRanges':_0x32b74a[_0xef9a12(0x377)],'actions':_0x12e75e[_0xef9a12(0x22e)](_0x4731c1[_0xef9a12(0x278)],_0x32b74a[_0xef9a12(0x278)])}};},{})],_0x51e0f7=(_0x34f401=(_0x1f29d4=_0x48ac42[_0x4fb941(0x130)]())==null?void 0x0:_0x1f29d4['userID'])!=null?_0x34f401:_0x4fb941(0x39e),_0x32fdb5=(_0x123489=(_0x1d971d=_0x48ac42[_0x4fb941(0x130)]())==null?void 0x0:_0x1d971d[_0x4fb941(0x2fb)])!=null?_0x123489:_0x4fb941(0x39e);return{'changeset':{'unitID':_0x54be7c,'type':_0x3ec77f(_0x2952e4[_0x4fb941(0x2d8)](_0x54be7c)),'baseRev':_0x1f65ba[_0x4fb941(0x1d5)](_0x54be7c),'revision':0x0,'userID':_0x51e0f7,'memberID':_0x32fdb5,'mutations':_0x415569},'pendingMutations':[]};}function Ii(_0x5ac216,_0x33d90a){var _0x5b4693=_0x16f01c;const _0x2331f5=new _0x13128a(0x1);return setTimeout(()=>_0x2331f5[_0x5b4693(0x1ff)](_0x33d90a),_0x5ac216),_0x2331f5['asObservable']()[_0x5b4693(0x36e)](_0x12d218(0x1));}var $s=Object['getOwnPropertyDescriptor'],Se=(_0x410793,_0x3136e8,_0x411b47,_0x53b615)=>{var _0x3895d1=_0x16f01c;for(var _0x238ed0=_0x53b615>0x1?void 0x0:_0x53b615?$s(_0x3136e8,_0x411b47):_0x3136e8,_0x19c00e=_0x410793[_0x3895d1(0x389)]-0x1,_0x5c6bae;_0x19c00e>=0x0;_0x19c00e--)(_0x5c6bae=_0x410793[_0x19c00e])&&(_0x238ed0=_0x5c6bae(_0x238ed0)||_0x238ed0);return _0x238ed0;},w=(_0x46d56a,_0xa56b42)=>(_0x479b54,_0x266d8f)=>_0xa56b42(_0x479b54,_0x266d8f,_0x46d56a),Si=(_0x57f1bd=>(_0x57f1bd[_0x16f01c(0x166)]='not_collab',_0x57f1bd[_0x16f01c(0x273)]='synced',_0x57f1bd['PENDING']=_0x16f01c(0x3d9),_0x57f1bd[_0x16f01c(0x2b6)]=_0x16f01c(0x25f),_0x57f1bd[_0x16f01c(0x30b)]='awaiting_with_pending',_0x57f1bd[_0x16f01c(0x399)]=_0x16f01c(0x374),_0x57f1bd[_0x16f01c(0x169)]=_0x16f01c(0x228),_0x57f1bd['OFFLINE']=_0x16f01c(0x16f),_0x57f1bd))(Si||{});const gi=0xea60;class ge{constructor(_0xd5e4ed,_0x12be54,_0x143a41,_0xbfee07,_0x68fe0e,_0xe3e9ce,_0x2a4d44,_0x59cba0,_0x1bbf5f){var _0xe77367=_0x16f01c;D(this,_0xe77367(0x188),null),D(this,_0xe77367(0x1e5),[]),(this[_0xe77367(0x30d)]=_0xd5e4ed,this[_0xe77367(0x2f8)]=_0x12be54,this['_handler']=_0x68fe0e,this[_0xe77367(0x254)]=_0xe3e9ce,this['_undoRedoService']=_0x2a4d44,this[_0xe77367(0x3b6)]=_0x59cba0,this[_0xe77367(0x179)]=_0x1bbf5f,this[_0xe77367(0x188)]=_0x143a41,this[_0xe77367(0x1e5)]=_0xbfee07);}[_0x16f01c(0x20b)](_0x11ca9c){var _0x1e679e=_0x16f01c;const _0x5d5ce4=this[_0x1e679e(0x3b6)]['getCurrentRevOfUnit'](this[_0x1e679e(0x30d)]);return _0x11ca9c['revision']>_0x5d5ce4+0x1?(this['_handler'][_0x1e679e(0x242)]({'from':_0x5d5ce4,'to':_0x11ca9c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x7ec66b){var _0x4dbd14=_0x16f01c;this[_0x4dbd14(0x222)][_0x4dbd14(0x2d9)](this['unitID'],_0x7ec66b);}[_0x16f01c(0x3f0)](_0x249ef8){var _0x425131=_0x16f01c,_0x1a0d1b,_0x5924cf;(_0x5924cf=(_0x1a0d1b=this[_0x425131(0x3f5)])[_0x425131(0x18a)])==null||_0x5924cf[_0x425131(0x136)](_0x1a0d1b,_0x249ef8);}[_0x16f01c(0x208)](_0xb7bacb){var _0x27fcb4=_0x16f01c,_0xf48aed,_0x370b49;return(_0x370b49=(_0xf48aed=this['_handler'])['onTransformIME'])==null?void 0x0:_0x370b49[_0x27fcb4(0x136)](_0xf48aed,_0xb7bacb);}[_0x16f01c(0x173)](_0x37560c){var _0x3e872b=_0x16f01c,_0x4c5156,_0x548db3;return(_0x548db3=(_0x4c5156=this[_0x3e872b(0x3f5)])[_0x3e872b(0x154)])==null?void 0x0:_0x548db3[_0x3e872b(0x136)](_0x4c5156,_0x37560c);}[_0x16f01c(0x3c9)](_0x4323ca){var _0x308b9e=_0x16f01c,_0x541b59,_0x3296e8,_0x3cd214;return(_0x3cd214=(_0x3296e8=(_0x541b59=this['_handler'])[_0x308b9e(0x215)])==null?void 0x0:_0x3296e8[_0x308b9e(0x136)](_0x541b59,_0x4323ca))!=null?_0x3cd214:_0x4323ca;}['_transformRemoteChangesetByStateCache'](_0x1e41cb){var _0x3acf9a=_0x16f01c,_0x29b4ff,_0x19a949,_0xd322c9;return(_0xd322c9=(_0x19a949=(_0x29b4ff=this[_0x3acf9a(0x3f5)])[_0x3acf9a(0x229)])==null?void 0x0:_0x19a949[_0x3acf9a(0x136)](_0x29b4ff,_0x1e41cb))!=null?_0xd322c9:_0x1e41cb;}[_0x16f01c(0x405)](_0x1fd369){var _0x4a3d19=_0x16f01c,_0x41daad,_0x4cca66;if(this['type']===Q[_0x4a3d19(0x3b4)]){const {unitID:_0x4f8fc9,mutations:_0x464b40,memberID:_0x246fea}=_0x1fd369,_0x3fb26f=_0x464b40[_0x4a3d19(0x389)]>0x0?_0x464b40[0x0][_0x4a3d19(0x2b2)][_0x4a3d19(0x377)]:[];Array['isArray'](_0x3fb26f)&&_0x3fb26f['length']>0x0&&((_0x4cca66=(_0x41daad=this[_0x4a3d19(0x3f5)])[_0x4a3d19(0x155)])==null||_0x4cca66[_0x4a3d19(0x136)](_0x41daad,{'unitID':_0x4f8fc9,'memberID':_0x246fea,'textRanges':_0x3fb26f}));}}['_updateLocalCache'](){var _0x518643=_0x16f01c,_0x101083;(_0x101083=this[_0x518643(0x179)])==null||_0x101083[_0x518643(0x1f8)](this[_0x518643(0x30d)],this[_0x518643(0x2f8)],this[_0x518643(0x188)],this[_0x518643(0x1e5)]);}[_0x16f01c(0x3bf)](){var _0x5077aa=_0x16f01c;return this['_revisionService'][_0x5077aa(0x1d5)](this[_0x5077aa(0x30d)]);}[_0x16f01c(0x2d5)](){var _0x2d0467=_0x16f01c;this[_0x2d0467(0x3b6)][_0x2d0467(0x2a6)](this[_0x2d0467(0x30d)]);}[_0x16f01c(0x3fe)](_0x595c22){var _0x6a420=_0x16f01c,_0xedc4fc;let _0x6ed43c=this[_0x6a420(0x3c9)](_0x595c22);_0x6ed43c=this[_0x6a420(0x3a9)](_0x6ed43c);const _0x1e6c2d=_0x2f9d40(_0x6ed43c[_0x6a420(0x193)],this[_0x6a420(0x254)],{'fromCollab':!0x0});if(!_0x1e6c2d[_0x6a420(0x226)])throw _0x1e6c2d[_0x6a420(0x390)]instanceof Error?_0x1e6c2d['error']:new Error((_0xedc4fc=_0x1e6c2d[_0x6a420(0x390)])!=null?_0xedc4fc:_0x6a420(0x32f));this[_0x6a420(0x208)](_0x6ed43c),this[_0x6a420(0x173)](_0x6ed43c),this[_0x6a420(0x2da)](_0x595c22),this[_0x6a420(0x3f0)](_0x6ed43c),this[_0x6a420(0x405)](_0x6ed43c),this[_0x6a420(0x2d5)]();}}let be=class extends ge{constructor(_0x14a137,_0x93e7e,_0x2a78c9,_0x1c1746,_0x5f1808,_0x342ec9,_0x3233b1,_0x59acc1,_0x39c0b0,_0x16d77d){var _0x5886f0=_0x16f01c;super(_0x14a137,_0x93e7e,null,[],_0x2a78c9,_0x3233b1,_0x342ec9,_0x1c1746,_0x16d77d),D(this,'status','synced'),(this[_0x5886f0(0x314)]=_0x5f1808,this[_0x5886f0(0x36c)]=_0x59acc1,this['_transformService']=_0x39c0b0,this['localCacheService']=_0x16d77d);}['appendMutation'](_0x5418d6){var _0xeaf1c7=_0x16f01c;const _0x76846=this[_0xeaf1c7(0x314)]['createInstance'](ae,this[_0xeaf1c7(0x30d)],this[_0xeaf1c7(0x2f8)],[_0x5418d6],this[_0xeaf1c7(0x3f5)]);return _0x76846[_0xeaf1c7(0x291)](),_0x76846[_0xeaf1c7(0x2ca)](),_0x76846;}[_0x16f01c(0x411)](_0x2491a1){var _0x49a94e=_0x16f01c;if(this['_checkMissing'](_0x2491a1))return this[_0x49a94e(0x314)][_0x49a94e(0x421)](ee,this[_0x49a94e(0x30d)],this['type'],null,[],null,[_0x2491a1],this[_0x49a94e(0x3f5)]);try{const _0x566245=this[_0x49a94e(0x167)][_0x49a94e(0x2e1)](_0x2491a1,[_0x1882f6]);if(_0x5c13df(_0x566245)){const {c1Prime:_0x55022c}=_0x566245;return this[_0x49a94e(0x3fe)](_0x55022c),this;}throw _0x566245[_0x49a94e(0x390)];}catch(_0x348eac){return this[_0x49a94e(0x36c)][_0x49a94e(0x390)](_0x348eac),this[_0x49a94e(0x2e2)](!0x1);}}[_0x16f01c(0x2e2)](_0x5c93fc){var _0x1f1b2e=_0x16f01c;return this['_injector'][_0x1f1b2e(0x421)](ue,this['unitID'],this['type'],null,[],this['_handler'],_0x5c93fc);}[_0x16f01c(0x3f1)](){var _0x1a9524=_0x16f01c;throw new Error(_0x1a9524(0x1f2));}[_0x16f01c(0x1c8)](){var _0x3a4880=_0x16f01c;throw new Error(_0x3a4880(0x3b1));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x15a843=_0x16f01c;return this[_0x15a843(0x314)][_0x15a843(0x421)](de,this[_0x15a843(0x30d)],this['type'],null,[],this[_0x15a843(0x3f5)]);}[_0x16f01c(0x394)](){return this;}['resend'](){var _0x49d2bd=_0x16f01c;throw new Error(_0x49d2bd(0x3bb));}['fetchMiss'](){var _0x2e17bc=_0x16f01c;const _0x474fea=this[_0x2e17bc(0x3b6)]['getCurrentRevOfUnit'](this[_0x2e17bc(0x30d)]);return this[_0x2e17bc(0x3f5)][_0x2e17bc(0x242)]({'from':_0x474fea,'to':0x0}),this[_0x2e17bc(0x314)][_0x2e17bc(0x421)](ee,this['unitID'],this[_0x2e17bc(0x2f8)],null,[],null,[],this[_0x2e17bc(0x3f5)]);}};be=Se([w(0x3,_0x39a463(_0x587581)),w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x26b5a7),w(0x6,_0x14b5ce),w(0x7,_0x46c731),w(0x8,_0x24d75d),w(0x9,_0x23ad4d(J))],be);let ae=class extends ge{constructor(_0x2e0d7c,_0x2268b5,_0x2642ae,_0x1b9520,_0x3df357,_0x355d,_0x231579,_0x34b769,_0x18039d,_0x531238,_0xf5deff,_0x20d5d8,_0x1d7373,_0x4a78c4){var _0x3856a2=_0x16f01c;super(_0x2e0d7c,_0x2268b5,null,_0x2642ae,_0x1b9520,_0x18039d,_0x1d7373,_0x355d,_0x4a78c4),D(this,_0x3856a2(0x38f),_0x3856a2(0x3d9)),D(this,_0x3856a2(0x252),null),D(this,_0x3856a2(0x1a5),null),(this[_0x3856a2(0x314)]=_0x3df357,this[_0x3856a2(0x3e8)]=_0x231579,this[_0x3856a2(0x36c)]=_0x34b769,this[_0x3856a2(0x1ce)]=_0x531238,this[_0x3856a2(0x167)]=_0xf5deff,this[_0x3856a2(0x373)]=_0x20d5d8);}['appendMutation'](_0x120248){var _0x1e336b=_0x16f01c;return this[_0x1e336b(0x1e5)][_0x1e336b(0x288)](_0x120248),this[_0x1e336b(0x2ca)](),this;}[_0x16f01c(0x411)](_0x2f903e){var _0x29ac48=_0x16f01c;if(this['_checkMissing'](_0x2f903e))return this['_clearScheduledTask'](),this[_0x29ac48(0x314)][_0x29ac48(0x421)](ee,this['unitID'],this[_0x29ac48(0x2f8)],null,this['_pendingMutations'],null,[_0x2f903e],this[_0x29ac48(0x3f5)]);try{const _0x371c70=this[_0x29ac48(0x167)][_0x29ac48(0x2e1)](_0x2f903e,this[_0x29ac48(0x1e5)]);if(_0x5c13df(_0x371c70)){const {c1Prime:_0x3f13bb,m2Prime:_0x28e55e}=_0x371c70;this[_0x29ac48(0x3fe)](_0x3f13bb);const _0x1f0ea9=this['_injector'][_0x29ac48(0x421)](ae,this[_0x29ac48(0x30d)],this['type'],_0x28e55e,this['_handler']);this['_clearScheduledTask']();const _0x5f1172=new Date()[_0x29ac48(0x392)](),_0x2db13a=this[_0x29ac48(0x252)]?Math[_0x29ac48(0x410)](this[_0x29ac48(0x252)]-_0x5f1172,0x0):this[_0x29ac48(0x325)]();return _0x1f0ea9[_0x29ac48(0x291)](_0x2db13a),_0x1f0ea9;}throw _0x371c70[_0x29ac48(0x390)];}catch(_0x353d80){return this[_0x29ac48(0x36c)][_0x29ac48(0x390)](_0x353d80),this[_0x29ac48(0x2e2)](!0x1);}}['onRemoteAck'](){var _0x28a259=_0x16f01c;throw new Error(_0x28a259(0x3a3));}[_0x16f01c(0x1c8)](){var _0x35b353=_0x16f01c;throw new Error(_0x35b353(0x3ba));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x3ca914=_0x16f01c;return this[_0x3ca914(0x29c)](),this[_0x3ca914(0x314)][_0x3ca914(0x421)](de,this[_0x3ca914(0x30d)],this[_0x3ca914(0x2f8)],null,this[_0x3ca914(0x1e5)],this[_0x3ca914(0x3f5)]);}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x291)](_0x42a03e){var _0x2978ba=_0x16f01c;const _0x1db680=_0x42a03e!=null?_0x42a03e:this[_0x2978ba(0x325)]();this[_0x2978ba(0x252)]=new Date()['getTime']()+_0x1db680,this[_0x2978ba(0x1a5)]=setTimeout(()=>{var _0x1f3211=_0x2978ba;this[_0x1f3211(0x29c)]();let _0x455aff=null;switch(this['type']){case Q[_0x1f3211(0x10e)]:{_0x455aff=Vt(this[_0x1f3211(0x1e5)],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this['_revisionService'],this[_0x1f3211(0x3e8)]);break;}case Q[_0x1f3211(0x3b4)]:{this['_pendingMutations'][_0x1f3211(0x18b)](_0x2b0d48=>_0x2b0d48['id']===_0x33b06f['id'])?_0x455aff=ks(this['_pendingMutations'],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this[_0x1f3211(0x3b6)],this[_0x1f3211(0x3e8)]):_0x455aff=Vt(this[_0x1f3211(0x1e5)],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this[_0x1f3211(0x3b6)],this['_memberService']);break;}default:throw new Error(_0x1f3211(0x11e)+this[_0x1f3211(0x2f8)]+_0x1f3211(0x2cb));}const {changeset:_0x6bf1f9,pendingMutations:_0xe4819b}=_0x455aff;this[_0x1f3211(0x3f5)][_0x1f3211(0x349)](_0x6bf1f9);const _0x37dd9a=_0xe4819b['length']?this[_0x1f3211(0x314)][_0x1f3211(0x421)](oe,this[_0x1f3211(0x30d)],this[_0x1f3211(0x2f8)],_0x6bf1f9,_0xe4819b,this['_handler'],void 0x0):this[_0x1f3211(0x314)][_0x1f3211(0x421)](le,this[_0x1f3211(0x30d)],this[_0x1f3211(0x2f8)],_0x6bf1f9,this['_handler']);_0x37dd9a[_0x1f3211(0x2ca)](),this['_handler'][_0x1f3211(0x364)](this,_0x37dd9a);},_0x1db680);}[_0x16f01c(0x325)](){var _0x18e859=_0x16f01c,_0x589b8f;const _0x402400=this[_0x18e859(0x1ce)]['getConfig'](K);return(_0x589b8f=_0x402400==null?void 0x0:_0x402400[_0x18e859(0x31e)])!=null?_0x589b8f:ps;}[_0x16f01c(0x301)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16f01c(0x29c)](){var _0x308613=_0x16f01c;this[_0x308613(0x1a5)]!=null&&(clearTimeout(this[_0x308613(0x1a5)]),this[_0x308613(0x1a5)]=null);}[_0x16f01c(0x2e2)](_0x55c989){var _0x2f7b60=_0x16f01c;return this['_clearScheduledTask'](),this['_injector'][_0x2f7b60(0x421)](ue,this[_0x2f7b60(0x30d)],this[_0x2f7b60(0x2f8)],null,this[_0x2f7b60(0x1e5)],this[_0x2f7b60(0x3f5)],_0x55c989);}};ae=Se([w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x39a463(_0x587581)),w(0x6,_0x39a463(Pe)),w(0x7,_0x46c731),w(0x8,_0x14b5ce),w(0x9,_0x5b80dc),w(0xa,_0x24d75d),w(0xb,_0x2fe86b),w(0xc,_0x26b5a7),w(0xd,_0x23ad4d(J))],ae);let le=class extends ge{constructor(_0x2dfd8f,_0x4a67f7,_0x3bdeb1,_0x9a9244,_0x43116a,_0x155333,_0x4d995f,_0x548a19,_0x8b70a4,_0x5645bc,_0x1da8d8){var _0x111042=_0x16f01c;super(_0x2dfd8f,_0x4a67f7,_0x3bdeb1,[],_0x9a9244,_0x4d995f,_0x5645bc,_0x155333,_0x1da8d8),D(this,_0x111042(0x38f),_0x111042(0x25f)),D(this,_0x111042(0x26d),0x0),D(this,_0x111042(0x346)),D(this,_0x111042(0x2ea)),(this[_0x111042(0x314)]=_0x43116a,this[_0x111042(0x36c)]=_0x548a19,this[_0x111042(0x167)]=_0x8b70a4);}[_0x16f01c(0x25c)](_0x2938c9){var _0x15fe42=_0x16f01c;this['_clearScheduledTask']();const _0x5466c4=this[_0x15fe42(0x314)][_0x15fe42(0x421)](oe,this['unitID'],this['type'],this[_0x15fe42(0x188)],[_0x2938c9],this['_handler'],this['_resendTimer']);return _0x5466c4[_0x15fe42(0x2ca)](),_0x5466c4;}[_0x16f01c(0x411)](_0x5c6852){var _0x28736e=_0x16f01c;if(this[_0x28736e(0x20b)](_0x5c6852))return this['_clearScheduledTask'](),this[_0x28736e(0x314)]['createInstance'](ee,this[_0x28736e(0x30d)],this['type'],this['_awaitingChangeset'],[],null,[_0x5c6852],this[_0x28736e(0x3f5)]);try{const _0x34ae81=this[_0x28736e(0x167)][_0x28736e(0x1a4)]([_0x5c6852],[this[_0x28736e(0x188)]],!0x1);if(_0x58320f(_0x34ae81)){const {c1Prime:_0x22a9ca,c2Prime:_0x300009}=_0x34ae81;this[_0x28736e(0x3fe)](_0x22a9ca[0x0]),_0x300009[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x26dae0=this[_0x28736e(0x314)][_0x28736e(0x421)](le,this[_0x28736e(0x30d)],this[_0x28736e(0x2f8)],_0x300009[0x0],this[_0x28736e(0x3f5)]);return _0x26dae0['_updateLocalCache'](),_0x26dae0;}return this[_0x28736e(0x2e2)](!0x1);}catch(_0x69422e){return this[_0x28736e(0x36c)][_0x28736e(0x390)](_0x69422e),this[_0x28736e(0x2e2)](!0x1);}}[_0x16f01c(0x3f1)](_0x3a65c3){var _0x59260b=_0x16f01c;this[_0x59260b(0x29c)]();const _0x2a77a7=this[_0x59260b(0x3b6)]['getCurrentRevOfUnit'](this[_0x59260b(0x30d)]);if(_0x3a65c3[_0x59260b(0x323)]<_0x2a77a7-0x1)return this;if(this[_0x59260b(0x20b)](_0x3a65c3))return this[_0x59260b(0x314)][_0x59260b(0x421)](ee,this[_0x59260b(0x30d)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x59260b(0x3f5)]);this[_0x59260b(0x2d5)]();const _0x1cd1a6=this[_0x59260b(0x314)]['createInstance'](be,this[_0x59260b(0x30d)],this[_0x59260b(0x2f8)],this[_0x59260b(0x3f5)]);return _0x1cd1a6[_0x59260b(0x2ca)](),_0x1cd1a6;}[_0x16f01c(0x1c8)](_0x5bf1f8){var _0x30c480=_0x16f01c;return this[_0x30c480(0x2e2)](!!(_0x5bf1f8!=null&&_0x5bf1f8[_0x30c480(0x126)]));}['onRemoteRetry'](_0x8a4dc1){var _0x26aaf6=_0x16f01c;return this[_0x26aaf6(0x26d)]>gi?this['toggleOffline']():(this[_0x26aaf6(0x346)]=Ii(this['_resendTimeout'],{'timeout':this[_0x26aaf6(0x26d)],'reqId':_0x8a4dc1['reqId']}),this[_0x26aaf6(0x2ea)]=this['_resendTimer'][_0x26aaf6(0x33f)](({reqId:_0xe1a1d3,timeout:_0x206b37})=>{var _0x1c3b10=_0x26aaf6;this[_0x1c3b10(0x409)](_0xe1a1d3,_0x206b37);}),this);}[_0x16f01c(0x109)](){var _0x121366=_0x16f01c;return this[_0x121366(0x29c)](),this['_injector'][_0x121366(0x421)](de,this[_0x121366(0x30d)],this[_0x121366(0x2f8)],this[_0x121366(0x188)],[],this[_0x121366(0x3f5)]);}[_0x16f01c(0x394)](){return this;}['resend'](){var _0x60eeec=_0x16f01c;this[_0x60eeec(0x3f5)][_0x60eeec(0x349)](this[_0x60eeec(0x188)]);}[_0x16f01c(0x2e2)](_0xe242d6){var _0xfdc41=_0x16f01c;return this[_0xfdc41(0x29c)](),this[_0xfdc41(0x314)][_0xfdc41(0x421)](ue,this[_0xfdc41(0x30d)],this[_0xfdc41(0x2f8)],this[_0xfdc41(0x188)],[],this[_0xfdc41(0x3f5)],_0xe242d6);}['_resendWithTimeout'](_0x5c8440,_0x1a64da){var _0x256620=_0x16f01c,_0x1796a5;_0x5c8440===((_0x1796a5=this['_awaitingChangeset'])==null?void 0x0:_0x1796a5['reqId'])&&(this[_0x256620(0x301)](),this[_0x256620(0x26d)]=_0x1a64da===0x0?0x3e8:_0x1a64da*0x2);}[_0x16f01c(0x29c)](){var _0x1e420f=_0x16f01c,_0x2a76a9;(_0x2a76a9=this[_0x1e420f(0x2ea)])==null||_0x2a76a9['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x39a463(_0x587581)),w(0x6,_0x14b5ce),w(0x7,_0x46c731),w(0x8,_0x24d75d),w(0x9,_0x26b5a7),w(0xa,_0x23ad4d(J))],le);let oe=class extends ge{constructor(_0x3e6f5a,_0x32bab0,_0x34d925,_0x18905b,_0x25af03,_0x3419e3,_0x1188ee,_0x164919,_0x34856f,_0x180367,_0x28c1d4,_0x43dbe9,_0x15efe7){var _0x39982c=_0x16f01c;super(_0x3e6f5a,_0x32bab0,_0x34d925,_0x18905b,_0x25af03,_0x34856f,_0x43dbe9,_0x164919,_0x15efe7),D(this,'status',_0x39982c(0x2f9)),D(this,'_resendTimeout',0x0),D(this,_0x39982c(0x346)),D(this,_0x39982c(0x2ea)),(this[_0x39982c(0x314)]=_0x1188ee,this['_logService']=_0x180367,this[_0x39982c(0x167)]=_0x28c1d4,this[_0x39982c(0x1b5)]=_0x15efe7,_0x3419e3&&(this[_0x39982c(0x346)]=_0x3419e3,this[_0x39982c(0x2ea)]=this[_0x39982c(0x346)]['subscribe'](({reqId:_0x1bbc81,timeout:_0x3ee631})=>{var _0x5cd778=_0x39982c;this[_0x5cd778(0x409)](_0x1bbc81,_0x3ee631);})));}[_0x16f01c(0x25c)](_0x2b7def){var _0x58c6f9=_0x16f01c;return this[_0x58c6f9(0x1e5)]['push'](_0x2b7def),this;}[_0x16f01c(0x411)](_0x16fa78){var _0x314c9d=_0x16f01c;if(this[_0x314c9d(0x20b)](_0x16fa78))return this[_0x314c9d(0x29c)](),this[_0x314c9d(0x314)][_0x314c9d(0x421)](ee,this[_0x314c9d(0x30d)],this[_0x314c9d(0x2f8)],this[_0x314c9d(0x188)],this[_0x314c9d(0x1e5)],null,[_0x16fa78],this[_0x314c9d(0x3f5)]);try{const _0x48752e=this[_0x314c9d(0x167)][_0x314c9d(0x1a4)]([_0x16fa78],[this[_0x314c9d(0x188)]],!0x1);if(_0x58320f(_0x48752e)){const {c1Prime:_0xe4d354,c2Prime:_0x32b7fd}=_0x48752e,_0x31e76f=this[_0x314c9d(0x167)][_0x314c9d(0x2e1)](_0xe4d354[0x0],this[_0x314c9d(0x1e5)]);if(_0x5c13df(_0x31e76f)){const {c1Prime:_0x224424,m2Prime:_0x2aaea5}=_0x31e76f;return this['_executeRemoteChangeset'](_0x224424),_0x32b7fd[0x0][_0x314c9d(0x25a)]=this['_getCurrentRevision'](),this[_0x314c9d(0x29c)](),this[_0x314c9d(0x314)]['createInstance'](oe,this['unitID'],this[_0x314c9d(0x2f8)],_0x32b7fd[0x0],_0x2aaea5,this[_0x314c9d(0x3f5)],void 0x0);}throw _0x31e76f['error'];}throw _0x48752e[_0x314c9d(0x390)];}catch(_0x108a1c){return this[_0x314c9d(0x36c)][_0x314c9d(0x390)](_0x108a1c),this[_0x314c9d(0x2e2)](!0x1);}}[_0x16f01c(0x3f1)](_0x40c777){var _0x52b0ac=_0x16f01c;if(this['_clearScheduledTask'](),this[_0x52b0ac(0x20b)](_0x40c777))return this[_0x52b0ac(0x314)]['createInstance'](ee,this[_0x52b0ac(0x30d)],this[_0x52b0ac(0x2f8)],null,this[_0x52b0ac(0x1e5)],this[_0x52b0ac(0x188)],[],this[_0x52b0ac(0x3f5)]);this['_incrementRevisionNumber']();const _0x364f38=this[_0x52b0ac(0x314)][_0x52b0ac(0x421)](ae,this[_0x52b0ac(0x30d)],this[_0x52b0ac(0x2f8)],this[_0x52b0ac(0x1e5)],this['_handler']);return _0x364f38[_0x52b0ac(0x291)](),_0x364f38[_0x52b0ac(0x2ca)](),_0x364f38;}['onRemoteRej'](_0xd0474b){var _0x49b8c2=_0x16f01c;return this[_0x49b8c2(0x2e2)](!!(_0xd0474b!=null&&_0xd0474b[_0x49b8c2(0x126)]));}[_0x16f01c(0x2df)](_0x5f2e25){var _0x1aa179=_0x16f01c;return this[_0x1aa179(0x26d)]>gi?this[_0x1aa179(0x109)]():(this[_0x1aa179(0x346)]=Ii(this[_0x1aa179(0x26d)],{'timeout':this['_resendTimeout'],'reqId':_0x5f2e25[_0x1aa179(0x1e1)]}),this[_0x1aa179(0x2ea)]=this[_0x1aa179(0x346)][_0x1aa179(0x33f)](({reqId:_0x190f3f,timeout:_0x27f50d})=>{var _0x5e821b=_0x1aa179;this[_0x5e821b(0x409)](_0x190f3f,_0x27f50d);}),this);}[_0x16f01c(0x109)](){var _0xd5d8a1=_0x16f01c;return this['_clearScheduledTask'](),this[_0xd5d8a1(0x314)][_0xd5d8a1(0x421)](de,this[_0xd5d8a1(0x30d)],this[_0xd5d8a1(0x2f8)],this[_0xd5d8a1(0x188)],this[_0xd5d8a1(0x1e5)],this[_0xd5d8a1(0x3f5)]);}['toggleOnline'](){return this;}[_0x16f01c(0x301)](){var _0x16c7db=_0x16f01c;this['_handler'][_0x16c7db(0x349)](this[_0x16c7db(0x188)]);}[_0x16f01c(0x2e2)](_0x35545d){var _0x4c6a4e=_0x16f01c;return this[_0x4c6a4e(0x29c)](),this[_0x4c6a4e(0x314)][_0x4c6a4e(0x421)](ue,this[_0x4c6a4e(0x30d)],this[_0x4c6a4e(0x2f8)],null,this['_pendingMutations'],this[_0x4c6a4e(0x3f5)],_0x35545d);}[_0x16f01c(0x409)](_0x903e67,_0x549025){var _0x50499b=_0x16f01c,_0x52f207;_0x903e67===((_0x52f207=this[_0x50499b(0x188)])==null?void 0x0:_0x52f207[_0x50499b(0x1e1)])&&(this[_0x50499b(0x301)](),this[_0x50499b(0x26d)]=_0x549025===0x0?0x3e8:_0x549025*0x2);}['_clearScheduledTask'](){var _0x50c19e=_0x16f01c,_0xeaac13;(_0xeaac13=this[_0x50c19e(0x2ea)])==null||_0xeaac13[_0x50c19e(0x148)](),this[_0x50c19e(0x26d)]=0x0;}};oe=Se([w(0x6,_0x39a463(_0x487d01)),w(0x7,_0x39a463(_0x587581)),w(0x8,_0x14b5ce),w(0x9,_0x46c731),w(0xa,_0x24d75d),w(0xb,_0x26b5a7),w(0xc,_0x23ad4d(J))],oe);let ue=class extends ge{constructor(_0x4375a3,_0x17d022,_0x303bc7,_0x16f859,_0x5577d1,_0x362e40=!0x1,_0x3a8f0b,_0x472ff6,_0x5923cd,_0xb53b0d,_0x3a9919,_0x31dd97,_0x3aaf71){var _0x2dea5b=_0x16f01c;super(_0x4375a3,_0x17d022,_0x303bc7,_0x16f859,_0x5577d1,_0x472ff6,_0x5923cd,_0xb53b0d,_0x3aaf71),D(this,'status','conflict'),(this['_isPermissionRej']=_0x362e40,this[_0x2dea5b(0x3eb)]=_0x3a8f0b,this[_0x2dea5b(0x103)]=_0x3a9919,this[_0x2dea5b(0x238)]=_0x31dd97,this[_0x2dea5b(0x1b5)]=_0x3aaf71,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x2dea5b(0x3ee)]());}['appendMutation'](){return this;}[_0x16f01c(0x411)](){return this;}[_0x16f01c(0x3f1)](){return this;}[_0x16f01c(0x1c8)](){return this;}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){return this;}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x301)](){var _0x4a609d=_0x16f01c;throw new Error(_0x4a609d(0x1cc));}['_clearLocalCache'](){var _0x416582=_0x16f01c,_0x4f263a;(_0x4f263a=this[_0x416582(0x179)])==null||_0x4f263a['updateOfflineData'](this['unitID'],this[_0x416582(0x2f8)],null,[]);}[_0x16f01c(0x1b1)](){var _0x16baca=_0x16f01c;this[_0x16baca(0x1fe)]?this['_collaborationUIEventService'][_0x16baca(0x10c)]({'id':re[_0x16baca(0x22b)]}):this[_0x16baca(0x238)][_0x16baca(0x10c)]({'id':re['CONFLICT']});}[_0x16f01c(0x3ee)](){var _0x2f2f3b=_0x16f01c;this['_permissionService'][_0x2f2f3b(0x2c0)](new _0x2f7775(this[_0x2f2f3b(0x30d)])['id'],!0x1);}};ue=Se([w(0x6,_0x39a463(_0x2aca0e)),w(0x7,_0x14b5ce),w(0x8,_0x26b5a7),w(0x9,_0x39a463(_0x587581)),w(0xa,_0x39a463(_0x2d14a8)),w(0xb,_0x39a463(ve)),w(0xc,_0x23ad4d(J))],ue);let de=class extends ge{constructor(_0x458740,_0x13c18c,_0x2790e6,_0xbb52c8,_0x219081,_0x49a745,_0x47dc6f,_0x4340e9,_0x13baef,_0x51b370){var _0x4ef8c4=_0x16f01c;super(_0x458740,_0x13c18c,_0x2790e6,_0xbb52c8,_0x219081,_0x4340e9,_0x13baef,_0x47dc6f,_0x51b370),D(this,_0x4ef8c4(0x38f),_0x4ef8c4(0x16f)),this[_0x4ef8c4(0x314)]=_0x49a745;}['appendMutation'](_0x4996be){var _0x40e4eb=_0x16f01c;return this[_0x40e4eb(0x1e5)][_0x40e4eb(0x288)](_0x4996be),this[_0x40e4eb(0x2ca)](),this;}[_0x16f01c(0x411)](_0x3dd2fa){var _0x17df09=_0x16f01c;throw new Error(_0x17df09(0x340));}[_0x16f01c(0x3f1)](){var _0x39870a=_0x16f01c;throw new Error(_0x39870a(0x140));}[_0x16f01c(0x1c8)](){var _0x4cc23d=_0x16f01c;throw new Error(_0x4cc23d(0x124));}[_0x16f01c(0x2df)](){return this;}['toggleOffline'](){return this;}[_0x16f01c(0x394)](){var _0x4cabc9=_0x16f01c;const {_injector:_0x56733b,_pendingMutations:_0x49cbb6,_awaitingChangeset:_0xbf8c9e,unitID:_0xf169af,_handler:_0x20f8b6,type:_0x535736}=this,_0x1ab0bd=Ti(_0x56733b,_0xf169af,_0x535736,_0xbf8c9e,_0x49cbb6,_0x20f8b6);return _0x1ab0bd instanceof ae?_0x1ab0bd['_schedule']():(_0x1ab0bd instanceof oe||_0x1ab0bd instanceof le)&&_0x1ab0bd[_0x4cabc9(0x301)](),_0x1ab0bd;}[_0x16f01c(0x301)](){var _0x1d1aef=_0x16f01c;throw new Error(_0x1d1aef(0x247));}};de=Se([w(0x5,_0x39a463(_0x487d01)),w(0x6,_0x39a463(_0x587581)),w(0x7,_0x14b5ce),w(0x8,_0x26b5a7),w(0x9,_0x23ad4d(J))],de);let ee=class extends ge{constructor(_0x2c7178,_0x306f4b,_0x41e849,_0x11bed5,_0x40cb7a,_0xbe1d8f,_0x2b8cbf,_0x38681f,_0x252d4d,_0x37c8b7,_0x3be90b,_0x3520a8,_0x3fa3cc,_0x271e00){var _0x29774e=_0x16f01c;super(_0x2c7178,_0x306f4b,_0x41e849,_0x11bed5,_0x2b8cbf,_0x3be90b,_0x3520a8,_0x252d4d,_0x271e00),D(this,_0x29774e(0x38f),_0x29774e(0x374)),(this['_acknowledgedAwaitingChangeset']=_0x40cb7a,this['_queuedRemoteChangesets']=_0xbe1d8f,this['_injector']=_0x38681f,this['_logService']=_0x37c8b7,this[_0x29774e(0x167)]=_0x3fa3cc,this[_0x29774e(0x1b5)]=_0x271e00);}[_0x16f01c(0x23b)](_0x6c33c5){var _0x28d4f8=_0x16f01c;try{const _0x53ac25=[..._0x6c33c5,...this[_0x28d4f8(0x3ed)]],_0x35a9db=[this[_0x28d4f8(0x188)]||this[_0x28d4f8(0x32c)]]['filter'](_0x1c0a87=>!!_0x1c0a87);let _0x3942e2,_0x22a2ea;if(_0x35a9db[_0x28d4f8(0x389)]){const _0x594c11=this[_0x28d4f8(0x167)][_0x28d4f8(0x1a4)](_0x53ac25,_0x35a9db,!0x1);if(!_0x58320f(_0x594c11))throw _0x594c11[_0x28d4f8(0x390)];_0x3942e2=_0x594c11[_0x28d4f8(0x3c6)],_0x22a2ea=_0x594c11[_0x28d4f8(0x403)];}else _0x3942e2=_0x53ac25,_0x22a2ea=[];let _0x584254=this['_pendingMutations'];_0x3942e2[_0x28d4f8(0x17f)](_0x2385a7=>{var _0x2dba7f=_0x28d4f8;let _0x57c0c3;if(_0x584254['length']){const _0x48f44a=this['_transformService'][_0x2dba7f(0x2e1)](_0x2385a7,_0x584254);if(!_0x5c13df(_0x48f44a))throw _0x48f44a[_0x2dba7f(0x390)];_0x57c0c3=_0x48f44a[_0x2dba7f(0x3c6)],_0x584254=_0x48f44a[_0x2dba7f(0x1ea)];}else _0x57c0c3=_0x2385a7;this['_executeRemoteChangeset'](_0x57c0c3);}),this[_0x28d4f8(0x32c)]&&this[_0x28d4f8(0x2d5)](),this[_0x28d4f8(0x188)]&&_0x22a2ea[_0x28d4f8(0x389)]&&(_0x22a2ea[0x0]['baseRev']=this[_0x28d4f8(0x3bf)]());let _0x275c63;if(this[_0x28d4f8(0x188)]&&_0x584254['length']!==0x0)_0x275c63=this[_0x28d4f8(0x314)]['createInstance'](oe,this['unitID'],this['type'],_0x22a2ea[0x0],_0x584254,this[_0x28d4f8(0x3f5)],void 0x0);else{if(this[_0x28d4f8(0x188)]&&_0x584254[_0x28d4f8(0x389)]===0x0)_0x22a2ea[0x0]['baseRev']=this['_getCurrentRevision'](),_0x275c63=this[_0x28d4f8(0x314)][_0x28d4f8(0x421)](le,this['unitID'],this[_0x28d4f8(0x2f8)],_0x22a2ea[0x0],this[_0x28d4f8(0x3f5)]);else{if(_0x584254[_0x28d4f8(0x389)]!==0x0){const _0xca7b90=this[_0x28d4f8(0x314)][_0x28d4f8(0x421)](ae,this['unitID'],this['type'],_0x584254,this[_0x28d4f8(0x3f5)]);_0xca7b90[_0x28d4f8(0x291)](),_0x275c63=_0xca7b90;}else _0x275c63=this['_injector']['createInstance'](be,this['unitID'],this[_0x28d4f8(0x2f8)],this['_handler']);}}return _0x275c63[_0x28d4f8(0x2ca)](),_0x275c63;}catch(_0x3f9509){return this['_logService'][_0x28d4f8(0x390)]('[FetchMissState]',_0x28d4f8(0x2c7),_0x3f9509),this['_injector'][_0x28d4f8(0x421)](ue,this[_0x28d4f8(0x30d)],this['type'],this[_0x28d4f8(0x188)],this[_0x28d4f8(0x1e5)],this[_0x28d4f8(0x3f5)],!0x1);}}[_0x16f01c(0x301)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16f01c(0x25c)](_0x43c909){var _0x5a37c0=_0x16f01c;return this[_0x5a37c0(0x1e5)][_0x5a37c0(0x288)](_0x43c909),this;}[_0x16f01c(0x411)](_0x26d098){var _0x4d23a3=_0x16f01c;return this['_queuedRemoteChangesets'][_0x4d23a3(0x288)](_0x26d098),this;}[_0x16f01c(0x3f1)](_0x2b05d7){var _0x54f985=_0x16f01c;if(this[_0x54f985(0x188)])return this[_0x54f985(0x32c)]=this[_0x54f985(0x188)],this[_0x54f985(0x188)]=null,this;throw new Error(_0x54f985(0x304));}[_0x16f01c(0x1c8)](_0x5e1eb1){var _0x3c6df6=_0x16f01c;return this[_0x3c6df6(0x2e2)](!!(_0x5e1eb1!=null&&_0x5e1eb1[_0x3c6df6(0x126)]));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x2b54ed=_0x16f01c;return this[_0x2b54ed(0x314)]['createInstance'](de,this['unitID'],this[_0x2b54ed(0x2f8)],this[_0x2b54ed(0x188)],this[_0x2b54ed(0x1e5)],this[_0x2b54ed(0x3f5)]);}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x2e2)](_0x1c7e17){var _0x74f2d=_0x16f01c;return this[_0x74f2d(0x314)][_0x74f2d(0x421)](ue,this[_0x74f2d(0x30d)],this[_0x74f2d(0x2f8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x74f2d(0x3f5)],_0x1c7e17);}};ee=Se([w(0x7,_0x39a463(_0x487d01)),w(0x8,_0x39a463(_0x587581)),w(0x9,_0x46c731),w(0xa,_0x14b5ce),w(0xb,_0x26b5a7),w(0xc,_0x24d75d),w(0xd,_0x23ad4d(J))],ee);function Ti(_0x26c35a,_0x205df7,_0x45552a,_0x4200c1,_0x5d2102,_0xb18700){var _0x3ec44a=_0x16f01c;return _0x4200c1&&_0x5d2102[_0x3ec44a(0x389)]?_0x26c35a[_0x3ec44a(0x421)](oe,_0x205df7,_0x45552a,_0x4200c1,_0x5d2102,_0xb18700,void 0x0):_0x4200c1?_0x26c35a[_0x3ec44a(0x421)](le,_0x205df7,_0x45552a,_0x4200c1,_0xb18700):_0x5d2102[_0x3ec44a(0x389)]?_0x26c35a[_0x3ec44a(0x421)](ae,_0x205df7,_0x45552a,_0x5d2102,_0xb18700):_0x26c35a['createInstance'](be,_0x205df7,_0x45552a,_0xb18700);}var Hs=Object['getOwnPropertyDescriptor'],At=(_0x3b0cd8,_0x446e73,_0x1b2ef0,_0x233907)=>{for(var _0x106fba=_0x233907>0x1?void 0x0:_0x233907?Hs(_0x446e73,_0x1b2ef0):_0x446e73,_0x433ad9=_0x3b0cd8['length']-0x1,_0x4ab271;_0x433ad9>=0x0;_0x433ad9--)(_0x4ab271=_0x3b0cd8[_0x433ad9])&&(_0x106fba=_0x4ab271(_0x106fba)||_0x106fba);return _0x106fba;},$=(_0x484037,_0x5da470)=>(_0x79ccb8,_0x1bda63)=>_0x5da470(_0x79ccb8,_0x1bda63,_0x484037);let st=class extends _0x28ec07{constructor(_0x56ba9d,_0x1bd5d7,_0x2a98b5,_0x21f3ee,_0x230ff5,_0x2221de,_0x33450d,_0x517419,_0x4cdc5f,_0x9179c8,_0x3332c9,_0x1f7774,_0xe5c72a,_0x14e70d){var _0x41fa31=_0x16f01c;super(),D(this,_0x41fa31(0x3bc),new _0x310797(null)),D(this,_0x41fa31(0x21c),this['_state$']['asObservable']()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x41fa31(0x386),''),D(this,_0x41fa31(0x164),0x0),D(this,_0x41fa31(0x347),this[_0x41fa31(0x21c)]['pipe'](_0x1da0af(_0x2f3eb2=>_0x2f3eb2?_0x2f3eb2['status']:Si[_0x41fa31(0x285)]),_0x156053(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x41fa31(0x227),[]),(this[_0x41fa31(0x30d)]=_0x56ba9d,this[_0x41fa31(0x37b)]=_0x1bd5d7,this[_0x41fa31(0x115)]=_0x2a98b5,this['_injector']=_0x21f3ee,this[_0x41fa31(0x1ca)]=_0x230ff5,this[_0x41fa31(0x103)]=_0x2221de,this[_0x41fa31(0x3b6)]=_0x33450d,this['_eventService']=_0x517419,this['_univerInstanceService']=_0x4cdc5f,this[_0x41fa31(0x36c)]=_0x9179c8,this[_0x41fa31(0x254)]=_0x3332c9,this[_0x41fa31(0x3eb)]=_0x1f7774,this[_0x41fa31(0x33a)]=_0xe5c72a,this[_0x41fa31(0x179)]=_0x14e70d);}get[_0x16f01c(0x339)](){return this['_state'];}async[_0x16f01c(0x3a2)](){var _0x137807=_0x16f01c;if(this[_0x137807(0x339)])throw new Error(_0x137807(0x2e5));await this[_0x137807(0x3de)]();}[_0x16f01c(0x375)](){var _0x573400=_0x16f01c;return this[_0x573400(0x282)]=!0x0,_0x5615b1(()=>{var _0x104c28=_0x573400;this[_0x104c28(0x282)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x37a4b6){var _0x28518a=_0x16f01c;this[_0x28518a(0x163)](_0x37a4b6);}[_0x16f01c(0x246)](_0x30ca86){var _0x1179d8=_0x16f01c;this['_state']=_0x30ca86,this[_0x1179d8(0x3bc)]['next'](_0x30ca86);}async[_0x16f01c(0x3de)](){var _0x1ca5c4=_0x16f01c,_0x178a3c;this['_updateState'](await this['_createInitialState']()),this[_0x1ca5c4(0x33a)]&&((_0x178a3c=this[_0x1ca5c4(0x33a)])==null||_0x178a3c[_0x1ca5c4(0x189)](this['unitID']),this['disposeWithMe'](this[_0x1ca5c4(0x33a)][_0x1ca5c4(0x39c)](this['unitID'])[_0x1ca5c4(0x33f)](_0x235b0d=>{var _0xa51a08=_0x1ca5c4;this[_0xa51a08(0x36c)][_0xa51a08(0x14b)](_0xa51a08(0x3ec),_0xa51a08(0x33b),_0x235b0d),_0x235b0d===mi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0xa51a08(0x10c)]({'id':re[_0xa51a08(0x184)]}),this['_permissionService'][_0xa51a08(0x2c0)](new _0x2f7775(this['unitID'])['id'],!0x1),this[_0xa51a08(0x3eb)][_0xa51a08(0x3cc)](!0x1)):(this['_permissionService'][_0xa51a08(0x2c0)](new _0x2f7775(this[_0xa51a08(0x30d)])['id'],!0x0),this[_0xa51a08(0x3eb)]['setShowComponents'](!0x0));})));let _0x528316=!0x1;return this[_0x1ca5c4(0x107)](this['session'][_0x1ca5c4(0x29f)][_0x1ca5c4(0x33f)](_0x51680f=>{var _0x2f4b74=_0x1ca5c4;_0x51680f===me['ONLINE']?this[_0x2f4b74(0x24d)](_0x528316):_0x51680f===me[_0x2f4b74(0x285)]&&(_0x528316=!0x0,this[_0x2f4b74(0x14d)]());})),this[_0x1ca5c4(0x107)](this[_0x1ca5c4(0x37b)][_0x1ca5c4(0x366)][_0x1ca5c4(0x33f)](_0x3f7f6a=>{var _0x185c13=_0x1ca5c4;try{switch(_0x3f7f6a[_0x185c13(0x141)]){case _0x5d931e[_0x185c13(0x391)]:{this[_0x185c13(0x2d1)](_0x334361(_0x3f7f6a[_0x185c13(0x3fc)]));break;}case _0x5d931e[_0x185c13(0x2e6)]:{this['_onRemoteACK'](_0x3f7f6a[_0x185c13(0x3fc)]);break;}case _0x5d931e[_0x185c13(0x257)]:{this[_0x185c13(0x38d)]();break;}case _0x5d931e[_0x185c13(0x113)]:{this[_0x185c13(0x248)](_0x3f7f6a[_0x185c13(0x3fc)]);break;}case _0x5d931e[_0x185c13(0x1ec)]:{this[_0x185c13(0x21a)](_0x3f7f6a['data']['changesets']['map'](_0x118587=>_0x334361(_0x118587)));break;}case _0x5d931e[_0x185c13(0x319)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5d931e['UNISCRIPT_RUN']:break;}}catch(_0x22c43c){throw console[_0x185c13(0x390)](_0x185c13(0x1de),_0x22c43c),_0x22c43c;}})),this['_state'];}[_0x16f01c(0x256)](){var _0x3d9d13=_0x16f01c;this[_0x3d9d13(0x1e0)]=!0x1;}[_0x16f01c(0x1a6)](){var _0x3fe177=_0x16f01c;if(this['_transitionLocked'])throw new Error(_0x3fe177(0x203));this['_transitionLocked']=!0x0;}[_0x16f01c(0x163)](_0x3fc250){var _0x2ee744=_0x16f01c;this['_lockTransition'](),this[_0x2ee744(0x246)](this['_state'][_0x2ee744(0x25c)](_0x3fc250)),this[_0x2ee744(0x256)]();}[_0x16f01c(0x2d1)](_0x3820d3){var _0x53903f=_0x16f01c;if(!(_0x3820d3[_0x53903f(0x323)]<=this[_0x53903f(0x3b6)][_0x53903f(0x1d5)](this[_0x53903f(0x30d)]))){if(this[_0x53903f(0x282)]){this['_remoteChangesetQueue'][_0x53903f(0x288)](_0x3820d3);return;}this[_0x53903f(0x268)](_0x3820d3);}}[_0x16f01c(0x2c9)](){var _0xbc6794=_0x16f01c;this[_0xbc6794(0x227)][_0xbc6794(0x17f)](_0x223a04=>this[_0xbc6794(0x268)](_0x223a04)),this[_0xbc6794(0x227)]=[];}[_0x16f01c(0x268)](_0x4db648){var _0x53a92b=_0x16f01c;const _0x4f51c2=this['_compressMutationService'][_0x53a92b(0x1d4)][_0x53a92b(0x1f6)](this[_0x53a92b(0x1ca)]['interceptor'][_0x53a92b(0x37f)]()['COMPRESS_MUTATION_APPLY'])(_0x4db648[_0x53a92b(0x193)],null)||_0x4db648[_0x53a92b(0x193)],_0xdc19c9={..._0x4db648,'mutations':_0x4f51c2};this['_lockTransition'](),this['_updateState'](this['_state'][_0x53a92b(0x411)](_0xdc19c9)),this[_0x53a92b(0x256)]();}[_0x16f01c(0x1a2)](_0x43fd74){var _0x3edf0a=_0x16f01c;this[_0x3edf0a(0x1a6)](),this[_0x3edf0a(0x246)](this[_0x3edf0a(0x14c)][_0x3edf0a(0x3f1)](_0x43fd74)),this['_unlockTransition']();}[_0x16f01c(0x38d)](_0x5ed8bc){var _0x5b974e=_0x16f01c;this[_0x5b974e(0x1a6)](),this[_0x5b974e(0x246)](this[_0x5b974e(0x14c)][_0x5b974e(0x1c8)](_0x5ed8bc)),this['_unlockTransition']();}['_onRemoteRetry'](_0x160126){var _0x2122b8=_0x16f01c;this['_lockTransition'](),this['_updateState'](this[_0x2122b8(0x14c)][_0x2122b8(0x2df)](_0x160126)),this[_0x2122b8(0x256)]();}[_0x16f01c(0x21a)](_0x37b869){var _0x1efc60=_0x16f01c;if(!(this['_state']instanceof ee))throw new TypeError(_0x1efc60(0x29b));const _0x285c74=_0x37b869['map'](_0x1e3f9a=>{var _0x4233a6=_0x1efc60;const _0xeeb70f=this[_0x4233a6(0x1ca)]['interceptor'][_0x4233a6(0x1f6)](this['_compressMutationService'][_0x4233a6(0x1d4)][_0x4233a6(0x37f)]()[_0x4233a6(0x310)])(_0x1e3f9a['mutations'],null)||_0x1e3f9a[_0x4233a6(0x193)];return{..._0x1e3f9a,'mutations':_0xeeb70f};});this[_0x1efc60(0x1a6)](),this[_0x1efc60(0x246)](this['_state'][_0x1efc60(0x23b)](_0x285c74)),this[_0x1efc60(0x256)]();}[_0x16f01c(0x14d)](){var _0x36248b=_0x16f01c;this['_lockTransition'](),this[_0x36248b(0x246)](this[_0x36248b(0x14c)]['toggleOffline']()),this['_unlockTransition']();}[_0x16f01c(0x24d)](_0x1571f3=!0x1){var _0x5f19d9=_0x16f01c;this['_lockTransition'](),this[_0x5f19d9(0x246)](this['_state'][_0x5f19d9(0x394)]()),this['_unlockTransition']();const _0x3cf9ea=this['_state'];_0x1571f3&&_0x3cf9ea instanceof be&&(this[_0x5f19d9(0x1a6)](),this[_0x5f19d9(0x246)](_0x3cf9ea[_0x5f19d9(0x11a)]()),this[_0x5f19d9(0x256)]());}async[_0x16f01c(0x2ad)](){return new Promise(_0x56f40=>{var _0x5c7824=_0x2af7;this[_0x5c7824(0x37b)][_0x5c7824(0x29f)][_0x5c7824(0x36e)](_0x12d218(0x1))[_0x5c7824(0x33f)](async _0x31be8f=>{var _0x3913c0=_0x5c7824;_0x56f40(await this[_0x3913c0(0x279)](_0x31be8f===me['ONLINE']));});});}[_0x16f01c(0x1ef)](){var _0x568a3c=_0x16f01c;const _0x9fa75e=this[_0x568a3c(0x30d)];return{'onStateChange':(_0x2b0ef1,_0xd21f66)=>{var _0x3f81e6=_0x568a3c;if(_0x2b0ef1!==this[_0x3f81e6(0x14c)])throw new Error(_0x3f81e6(0x3e1)+_0x2b0ef1[_0x3f81e6(0x38f)]+_0x3f81e6(0x26f)+_0xd21f66[_0x3f81e6(0x38f)]+_0x3f81e6(0x2f7)+this[_0x3f81e6(0x14c)][_0x3f81e6(0x38f)]);this['_updateState'](_0xd21f66);},'onSendChangeset':_0x44730d=>{var _0x5c677b=_0x568a3c;_0x44730d[_0x5c677b(0x1d0)]||(_0x44730d[_0x5c677b(0x1d0)]=this[_0x5c677b(0x386)],_0x44730d[_0x5c677b(0x1e1)]=++this['_changesetReqId']);const _0xf56138={'eventID':_0x5d931e['SUBMIT_CHANGESET'],'data':{'unitID':_0x44730d[_0x5c677b(0x30d)],'unitType':this[_0x5c677b(0x115)],'changeset':_0x44730d,'memberID':this['session'][_0x5c677b(0x22a)]()}};this[_0x5c677b(0x37b)][_0x5c677b(0x16e)](_0xf56138,this[_0x5c677b(0x30d)]);},'onMissingChangesets':({from:_0x56d07e,to:_0x2cd998})=>{var _0x317d52=_0x568a3c;this[_0x317d52(0x36c)][_0x317d52(0x14b)](_0x317d52(0x3ec),_0x317d52(0x224)+_0x56d07e+_0x317d52(0x249)+_0x2cd998);const _0x3d9084={'eventID':_0x5d931e[_0x317d52(0x174)],'data':{'unitID':_0x9fa75e,'unitType':this[_0x317d52(0x115)],'from':_0x56d07e,'to':_0x2cd998}};this[_0x317d52(0x37b)][_0x317d52(0x16e)](_0x3d9084,this['unitID']);}};}async['_createInitialStateImpl'](_0x5fab7d){var _0x2939fb=_0x16f01c,_0x3cc77f,_0x36eee9,_0x98521c;const _0x58d27f=await((_0x3cc77f=this[_0x2939fb(0x179)])==null?void 0x0:_0x3cc77f[_0x2939fb(0x23f)](this[_0x2939fb(0x30d)])),_0x21c6d4=(_0x36eee9=_0x58d27f==null?void 0x0:_0x58d27f[_0x2939fb(0x193)])!=null?_0x36eee9:[],_0x129114=(_0x98521c=_0x58d27f==null?void 0x0:_0x58d27f['awaitingChangeset'])!=null?_0x98521c:null,_0x49e511=!!(_0x129114!=null&&_0x129114[_0x2939fb(0x1d0)])&&!!(_0x129114!=null&&_0x129114[_0x2939fb(0x1e1)]);this[_0x2939fb(0x386)]=_0x49e511?_0x129114['sid']:_0x2054da(),this[_0x2939fb(0x164)]=_0x49e511?_0x129114[_0x2939fb(0x1e1)]:0x0;const _0xfa3aad=this[_0x2939fb(0x30d)];try{this['_replayCachedMutations'](_0x129114,_0x21c6d4);}catch(_0x3238ce){this[_0x2939fb(0x36c)]['error'](_0x3238ce);}const _0x4cee97=this[_0x2939fb(0x1ef)]();if(_0x5fab7d){const _0x1c71fa=Ti(this[_0x2939fb(0x314)],_0xfa3aad,this[_0x2939fb(0x115)],_0x129114,_0x21c6d4,_0x4cee97);return _0x1c71fa instanceof ae?_0x1c71fa[_0x2939fb(0x291)]():(_0x1c71fa instanceof oe||_0x1c71fa instanceof le)&&_0x1c71fa['resend'](),_0x1c71fa;}return this[_0x2939fb(0x314)][_0x2939fb(0x421)](de,_0xfa3aad,this[_0x2939fb(0x115)],_0x129114,_0x21c6d4,_0x4cee97);}[_0x16f01c(0x1fa)](_0x2e2a3a,_0x3fe5f7){var _0x4e9897=_0x16f01c,_0x3f2cfb,_0x4a3386;const _0x3ab405=this[_0x4e9897(0x1ca)][_0x4e9897(0x1d4)][_0x4e9897(0x1f6)](this['_compressMutationService'][_0x4e9897(0x1d4)][_0x4e9897(0x37f)]()[_0x4e9897(0x310)]);(_0x3f2cfb=_0x3ab405((_0x2e2a3a==null?void 0x0:_0x2e2a3a[_0x4e9897(0x193)])||[],null))==null||_0x3f2cfb['forEach'](_0x52057d=>this[_0x4e9897(0x254)][_0x4e9897(0x20c)](_0x52057d['id'],_0x52057d['params'])),(_0x4a3386=_0x3ab405(_0x3fe5f7||[],null))==null||_0x4a3386['forEach'](_0x10ee2c=>this[_0x4e9897(0x254)]['executeCommand'](_0x10ee2c['id'],_0x10ee2c[_0x4e9897(0x2b2)]));}};st=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(ve)),$(0x8,_0x2fe86b),$(0x9,_0x46c731),$(0xa,_0x14b5ce),$(0xb,_0x2aca0e),$(0xc,_0x23ad4d(_t)),$(0xd,_0x23ad4d(J))],st);let It=class extends st{constructor(_0x3eeeb8,_0x4d7b71,_0x5971d2,_0x1e0350,_0x1da2c0,_0x396d07,_0x35967b,_0x5e3669,_0x12f6d0,_0x38423a,_0x5aa0f1,_0x30c6a0,_0x45eef0,_0x3cf02d){var _0x5e44c4=_0x16f01c;super(_0x3eeeb8,_0x5971d2,_0x4d7b71,_0x1e0350,_0x1da2c0,_0x396d07,_0x35967b,_0x5e3669,_0x12f6d0,_0x38423a,_0x5aa0f1,_0x30c6a0,_0x45eef0,_0x3cf02d),D(this,_0x5e44c4(0x145),null),(this[_0x5e44c4(0x30d)]=_0x3eeeb8,this[_0x5e44c4(0x2f8)]=_0x4d7b71);}['addHandlerCallback'](_0x4f5662){var _0x578e48=_0x16f01c;this[_0x578e48(0x145)]=_0x4f5662;}[_0x16f01c(0x1d1)](){var _0x517961=_0x16f01c;this[_0x517961(0x145)]=null,super[_0x517961(0x1d1)]();}[_0x16f01c(0x1ef)](){var _0x3bb33c=_0x16f01c;const _0x5c5ffc=super[_0x3bb33c(0x1ef)]();return _0x5c5ffc['onTransformIME']=_0x51d4d6=>{var _0x4ed7a8=_0x3bb33c,_0x5825b7,_0x1634a7;return(_0x1634a7=(_0x5825b7=this[_0x4ed7a8(0x145)])==null?void 0x0:_0x5825b7[_0x4ed7a8(0x2ee)])==null?void 0x0:_0x1634a7['call'](_0x5825b7,_0x51d4d6);},_0x5c5ffc['onTransformState']=_0x43c4a5=>{var _0x1f311d=_0x3bb33c,_0x2eb6fe,_0x4a2e79;return(_0x4a2e79=(_0x2eb6fe=this[_0x1f311d(0x145)])==null?void 0x0:_0x2eb6fe[_0x1f311d(0x154)])==null?void 0x0:_0x4a2e79['call'](_0x2eb6fe,_0x43c4a5);},_0x5c5ffc[_0x3bb33c(0x18a)]=_0x11e163=>{var _0x360ee8=_0x3bb33c,_0x51f60c,_0x5dfc6e;return(_0x5dfc6e=(_0x51f60c=this[_0x360ee8(0x145)])==null?void 0x0:_0x51f60c['onTransformSelections'])==null?void 0x0:_0x5dfc6e[_0x360ee8(0x136)](_0x51f60c,_0x11e163);},_0x5c5ffc[_0x3bb33c(0x155)]=_0x3e7dd9=>{var _0x10c5bd=_0x3bb33c,_0x1e9e3d,_0x31f4d5;return(_0x31f4d5=(_0x1e9e3d=this[_0x10c5bd(0x145)])==null?void 0x0:_0x1e9e3d[_0x10c5bd(0x155)])==null?void 0x0:_0x31f4d5[_0x10c5bd(0x136)](_0x1e9e3d,_0x3e7dd9);},_0x5c5ffc['onTransformRemoteChangesetByIMECache']=_0x31c980=>{var _0x3c3ce8=_0x3bb33c,_0x20ae88,_0x557352,_0x4d9865;if(!((_0x20ae88=this[_0x3c3ce8(0x145)])!=null&&_0x20ae88[_0x3c3ce8(0x215)]))throw new Error(_0x3c3ce8(0x15a));return(_0x4d9865=(_0x557352=this[_0x3c3ce8(0x145)])==null?void 0x0:_0x557352[_0x3c3ce8(0x215)])==null?void 0x0:_0x4d9865[_0x3c3ce8(0x136)](_0x557352,_0x31c980);},_0x5c5ffc['onTransformRemoteChangesetByStateCache']=_0x2b2d9e=>{var _0x12417e=_0x3bb33c,_0x11273a,_0x4dc33f,_0x3f7961;if(!((_0x11273a=this[_0x12417e(0x145)])!=null&&_0x11273a[_0x12417e(0x229)]))throw new Error(_0x12417e(0x17b));return(_0x3f7961=(_0x4dc33f=this[_0x12417e(0x145)])==null?void 0x0:_0x4dc33f[_0x12417e(0x229)])==null?void 0x0:_0x3f7961[_0x12417e(0x136)](_0x4dc33f,_0x2b2d9e);},_0x5c5ffc;}async['_init'](){var _0x5ea9de=_0x16f01c;const _0x48bb71=await super[_0x5ea9de(0x3de)]();return this['disposeWithMe'](this[_0x5ea9de(0x254)]['onCommandExecuted']((_0x59df6a,_0x17747e)=>{var _0x105e75=_0x5ea9de;if(_0x59df6a[_0x105e75(0x2f8)]!==_0x17c949[_0x105e75(0x367)]||_0x17747e!=null&&_0x17747e[_0x105e75(0x191)]||_0x17747e!=null&&_0x17747e[_0x105e75(0x388)]||_0x59df6a['id']===_0x33b06f['id'])return;const _0x390418=_0x59df6a[_0x105e75(0x2b2)];if((_0x390418==null?void 0x0:_0x390418[_0x105e75(0x220)])!==this[_0x105e75(0x30d)])return;const _0x3cfcf8=_0x59df6a,_0x134e98=this['_compressMutationService'][_0x105e75(0x1d4)][_0x105e75(0x1f6)](this[_0x105e75(0x1ca)][_0x105e75(0x1d4)][_0x105e75(0x37f)]()['COMPRESS_MUTATION_SEND'])([_0x3cfcf8],this[_0x105e75(0x373)])||[_0x3cfcf8];this[_0x105e75(0x163)](_0x134e98[0x0]);})),_0x48bb71;}};It=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(ve)),$(0x8,_0x2fe86b),$(0x9,_0x46c731),$(0xa,_0x14b5ce),$(0xb,_0x2aca0e),$(0xc,_0x23ad4d(_t)),$(0xd,_0x23ad4d(J))],It);let St=class extends st{constructor(_0x488746,_0xf292e0,_0xae6810,_0x5313d8,_0x1ab799,_0x3784a8,_0x2bf2d2,_0x1517f0,_0x365d74,_0x430a4a,_0x16594f,_0x11966a,_0x5848a6,_0x30796e,_0x491e03){var _0x446e61=_0x16f01c;super(_0x488746,_0xae6810,_0xf292e0,_0x5313d8,_0x1ab799,_0x3784a8,_0x2bf2d2,_0x365d74,_0x430a4a,_0x16594f,_0x11966a,_0x5848a6,_0x30796e,_0x491e03),this[_0x446e61(0x30d)]=_0x488746,this[_0x446e61(0x2f8)]=_0xf292e0,this[_0x446e61(0x24c)]=_0x1517f0;}['_createHandler'](){var _0x5b2d48=_0x16f01c;const _0x3b8e4a=super[_0x5b2d48(0x1ef)]();return _0x3b8e4a['onTransformSelections']=_0x335d3b=>this[_0x5b2d48(0x24c)][_0x5b2d48(0x20e)](_0x335d3b),_0x3b8e4a;}async['_init'](){var _0x260506=_0x16f01c;const _0x1ab9a3=await super[_0x260506(0x3de)]();return this[_0x260506(0x107)](this['_commandService'][_0x260506(0x298)]((_0x11c420,_0x1fe7f2)=>{var _0x2cb497=_0x260506;if(_0x11c420[_0x2cb497(0x2f8)]!==_0x17c949[_0x2cb497(0x367)]||_0x1fe7f2!=null&&_0x1fe7f2[_0x2cb497(0x191)]||_0x1fe7f2!=null&&_0x1fe7f2[_0x2cb497(0x388)])return;const _0x3aeac0=_0x11c420[_0x2cb497(0x2b2)];if((_0x3aeac0==null?void 0x0:_0x3aeac0[_0x2cb497(0x220)])!==this[_0x2cb497(0x30d)])return;const _0x5ea1a4=_0x11c420,_0x395d4c=this[_0x2cb497(0x1ca)][_0x2cb497(0x1d4)]['fetchThroughInterceptors'](this[_0x2cb497(0x1ca)][_0x2cb497(0x1d4)][_0x2cb497(0x37f)]()[_0x2cb497(0x2be)])([_0x5ea1a4],this['_univerInstanceService'])||[_0x5ea1a4];this[_0x2cb497(0x163)](_0x395d4c[0x0]);})),_0x1ab9a3;}};St=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(it)),$(0x8,_0x39a463(ve)),$(0x9,_0x2fe86b),$(0xa,_0x46c731),$(0xb,_0x14b5ce),$(0xc,_0x2aca0e),$(0xd,_0x23ad4d(_t)),$(0xe,_0x23ad4d(J))],St);const Bs=_0xdd7a4d(_0x16f01c(0x151));function Fs(_0x4378fa){var _0x5b82c9=_0x16f01c,_0x1ec86e,_0xaf7923,_0xe362b2,_0x5e33ae,_0x48607c;const _0x353f53=_0x4378fa['data'],_0x35bf55=JSON['parse'](_0x353f53);switch(_0x35bf55['cmd']){case j['HEARTBEAT']:case j[_0x5b82c9(0x3db)]:{const _0x11c500=_0x35bf55[_0x5b82c9(0x318)];return{..._0x35bf55,'data':_0x11c500,'cmd':_0x35bf55['cmd']};}case j[_0x5b82c9(0x317)]:{const _0x5947e0=_0x35bf55[_0x5b82c9(0x13c)];return{..._0x35bf55,'data':_0x5947e0,'cmd':_0x35bf55[_0x5b82c9(0x395)]};}case j['RECV']:{const _0x54b4a7=_0x35bf55[_0x5b82c9(0x19e)];switch(_0x54b4a7[_0x5b82c9(0x141)]){case _0x5d931e[_0x5b82c9(0x319)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x1ec86e=_0x54b4a7[_0x5b82c9(0x306)])==null?void 0x0:_0x1ec86e['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x2e6)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0xaf7923=_0x54b4a7[_0x5b82c9(0x143)])==null?void 0x0:_0xaf7923['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x391)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0xe362b2=_0x54b4a7[_0x5b82c9(0x1dd)])==null?void 0x0:_0xe362b2['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x257)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x5e33ae=_0x54b4a7[_0x5b82c9(0x3fa)])==null?void 0x0:_0x5e33ae['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x113)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x48607c=_0x54b4a7[_0x5b82c9(0x19c)])==null?void 0x0:_0x48607c['cs']},'cmd':_0x35bf55['cmd']};case _0x5d931e['UPDATE_CURSOR']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['updateCursorEvent']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x178)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x162)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x13a)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x101)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x342)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x383)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x271)]:case _0x5d931e[_0x5b82c9(0x2de)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['liveShareOperation']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x3cb)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['liveShareNewHost']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e['MSG_FOR_ERROR']:return{..._0x35bf55,'data':_0x54b4a7,'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e['COMMENT_UPDATE']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['commentUpdateEvent']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x387)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x17e)]},'cmd':_0x35bf55['cmd']};case _0x5d931e[_0x5b82c9(0x27d)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x341)]},'cmd':_0x35bf55['cmd']};case _0x5d931e['UNISCRIPT_RUN']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x132)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};default:return _0x35bf55;}}default:return _0x35bf55;}}function js(_0x128650){var _0xfe3c79=_0x16f01c;switch(_0x128650[_0xfe3c79(0x395)]){case j['HEARTBEAT']:case j[_0xfe3c79(0x3db)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)]});case j[_0xfe3c79(0x1cd)]:{let _0xf6fdd;switch(_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x141)]){case _0x5d931e[_0xfe3c79(0x116)]:{_0xf6fdd={'eventID':_0x5d931e['UPDATE_CURSOR'],'updateCursorEvent':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x13a)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x13a)],'leaveEvent':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e['USERS_ENTER']:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x178)],'joinEvent':_0x128650[_0xfe3c79(0x3fc)]['data']};break;}case _0x5d931e['LIVESHARE_NEW_HOST']:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x342)],'liveShareNewHost':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x2de)]:{_0xf6fdd={'eventID':_0x5d931e['LIVESHARE_OPERATION'],'liveShareOperation':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x3cb)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x3cb)],'liveShareTerminate':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x3ad)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x3ad)],'liveShareRequestHost':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x271)]:{_0xf6fdd={'eventID':_0x5d931e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xf6fdd={'eventID':_0x128650['data'][_0xfe3c79(0x141)]};}return JSON['stringify']({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)],'collaMsg':_0xf6fdd});}case j[_0xfe3c79(0x317)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650['routeKey'],'joinReq':_0x128650[_0xfe3c79(0x3fc)]});case j[_0xfe3c79(0x1eb)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)],'leaveReq':_0x128650[_0xfe3c79(0x3fc)]});default:throw new Error(_0xfe3c79(0x24e));}}var Vs=Object[_0x16f01c(0x11f)],Gs=(_0x518e21,_0x8e45b6,_0x148316,_0x521a93)=>{var _0x1ab570=_0x16f01c;for(var _0x5448e8=_0x521a93>0x1?void 0x0:_0x521a93?Vs(_0x8e45b6,_0x148316):_0x8e45b6,_0x5870b1=_0x518e21[_0x1ab570(0x389)]-0x1,_0x50c90c;_0x5870b1>=0x0;_0x5870b1--)(_0x50c90c=_0x518e21[_0x5870b1])&&(_0x5448e8=_0x50c90c(_0x5448e8)||_0x5448e8);return _0x5448e8;},ye=(_0x18f48e,_0x203ce4)=>(_0x3a47f7,_0x85e1a3)=>_0x203ce4(_0x3a47f7,_0x85e1a3,_0x18f48e);const Oi=_0xdd7a4d('univer-pro.collaboration-client-socket-service');function Ws(_0x3f450f,_0x287194,_0x4fb529){var _0x156d99=_0x16f01c;return _0x3f450f+'/'+_0x287194+_0x156d99(0x2b3)+_0x4fb529+'/new_changes';}let Gt=class extends _0x4cf69f{constructor(_0x311980,_0x39f971,_0x316416,_0x306aeb,_0x5465b6){var _0x56f75a=_0x16f01c;super(),this[_0x56f75a(0x314)]=_0x311980,this[_0x56f75a(0x361)]=_0x39f971,this['_configService']=_0x316416,this['_logService']=_0x306aeb,this['_snapshotServerService']=_0x5465b6;}['_doCreateSocket'](_0x45df0d){var _0x24c630=_0x16f01c;const _0x117dce=this[_0x24c630(0x314)][_0x24c630(0x235)](_0x30773f);if(!_0x117dce)throw new Error(_0x24c630(0x3ab));const _0x307c81=_0x117dce['createSocket'](_0x45df0d);if(!_0x307c81)throw new Error(_0x24c630(0x2fd));const _0x12d6c6=new _0x18bb07(),_0x35dab6=new _0x4a9940();_0x12d6c6[_0x24c630(0x3c1)](_0x307c81[_0x24c630(0x3a0)][_0x24c630(0x33f)](_0x2b462c=>_0x35dab6[_0x24c630(0x1ff)](_0x2b462c))),_0x12d6c6[_0x24c630(0x3c1)](_0x5615b1(()=>_0x35dab6[_0x24c630(0x199)]()));const _0x1a80d7=new _0x4a9940();_0x12d6c6[_0x24c630(0x3c1)](_0x307c81[_0x24c630(0x283)][_0x24c630(0x33f)](_0x2c3641=>_0x1a80d7[_0x24c630(0x1ff)](_0x2c3641))),_0x12d6c6['add'](_0x5615b1(()=>_0x1a80d7[_0x24c630(0x199)]()));const _0x34acb2=new _0x4a9940();_0x12d6c6['add'](_0x307c81['message$'][_0x24c630(0x33f)](_0x2ed9b0=>{var _0x454dc0=_0x24c630;const _0x1fcd42=Fs(_0x2ed9b0);_0x34acb2[_0x454dc0(0x1ff)](_0x1fcd42);})),_0x12d6c6[_0x24c630(0x3c1)](_0x5615b1(()=>_0x34acb2['complete']()));let _0xd2f8f5;const _0x42c159=()=>{var _0x3f421b=_0x24c630;_0x1a80d7['next'](new Event(_0x3f421b(0x3bd))),_0x35dab6['next'](new Event('connection\x20error')),_0xd2f8f5[_0x3f421b(0x2c6)]();};return _0xd2f8f5={'memberID':'','close$':_0x35dab6[_0x24c630(0x2d4)](),'error$':_0x1a80d7[_0x24c630(0x2d4)](),'open$':_0x307c81[_0x24c630(0x1f9)],'message$':_0x34acb2[_0x24c630(0x2d4)](),'send':_0x55a548=>{var _0x2ba5f6=_0x24c630;if(_0x55a548[_0x2ba5f6(0x395)]===j[_0x2ba5f6(0x1cd)]){if(_0x55a548[_0x2ba5f6(0x3fc)]['eventID']===_0x5d931e[_0x2ba5f6(0x137)]){this[_0x2ba5f6(0x147)](_0xd2f8f5,_0x55a548[_0x2ba5f6(0x3fc)])[_0x2ba5f6(0x2d7)](_0xfd69b7=>{var _0x31cb3a=_0x2ba5f6;this['_logService'][_0x31cb3a(0x390)](_0xfd69b7),_0x42c159();});return;}if(_0x55a548[_0x2ba5f6(0x3fc)]['eventID']===_0x5d931e[_0x2ba5f6(0x174)]){const _0x23dfdf=_0x55a548[_0x2ba5f6(0x3fc)];this[_0x2ba5f6(0x117)](_0x23dfdf)[_0x2ba5f6(0x1bc)](_0x109849=>{var _0x6e5142=_0x2ba5f6;_0x34acb2[_0x6e5142(0x1ff)]({'cmd':j[_0x6e5142(0x35a)],'code':pe['OK'],'routeKey':_0x23dfdf[_0x6e5142(0x3fc)][_0x6e5142(0x30d)],'routeType':'','data':{'eventID':_0x5d931e[_0x6e5142(0x1ec)],'data':{'changesets':_0x109849}}});})[_0x2ba5f6(0x2d7)](_0x26d580=>{var _0x137be7=_0x2ba5f6;this['_logService'][_0x137be7(0x390)](_0x26d580),_0x42c159();});return;}}_0x307c81['send'](js(_0x55a548));},'close':()=>{var _0x34ec7b=_0x24c630;_0x307c81['close'](),_0x12d6c6[_0x34ec7b(0x1d1)]();}},_0xd2f8f5;}async[_0x16f01c(0x147)](_0x2dcdb3,_0x463f86){var _0x4bb81b=_0x16f01c,_0x245238;const {unitType:_0x8ab216,unitID:_0x44313f,changeset:_0x513147}=_0x463f86[_0x4bb81b(0x3fc)],_0x51fe3c={'unitID':_0x44313f,'memberID':_0x2dcdb3[_0x4bb81b(0x2fb)],'type':_0x8ab216,'changeset':_0x5158f9(_0x513147)},_0x36e0b2=this[_0x4bb81b(0x1ce)][_0x4bb81b(0x27b)](K),_0x40c122=Ws((_0x245238=_0x36e0b2==null?void 0x0:_0x36e0b2['collabSubmitChangesetUrl'])!=null?_0x245238:Os,_0x8ab216,_0x44313f);try{await this[_0x4bb81b(0x361)]['post'](_0x40c122,{'body':_0x51fe3c});}catch(_0x2f8552){throw this[_0x4bb81b(0x36c)][_0x4bb81b(0x390)](_0x4bb81b(0x31c),_0x4bb81b(0x3f8)),_0x2f8552;}}async['_fetchMissChangesets'](_0x1f2ae5){var _0x1ed02c=_0x16f01c;const {unitID:_0x56e6e4,from:_0x3d9e6a,to:_0x186c97,unitType:_0x41f76e}=_0x1f2ae5[_0x1ed02c(0x3fc)];return(await this[_0x1ed02c(0x322)][_0x1ed02c(0x2ac)]({'metadata':void 0x0},{'unitID':_0x56e6e4,'type':_0x41f76e,'from':_0x3d9e6a,'to':_0x186c97}))[_0x1ed02c(0x28d)]['map'](_0x45b6b5=>((_0x45b6b5[_0x1ed02c(0x193)]===null||_0x45b6b5[_0x1ed02c(0x193)]===void 0x0)&&(_0x45b6b5[_0x1ed02c(0x193)]=[]),_0x45b6b5));}};Gt=Gs([ye(0x0,_0x39a463(_0x487d01)),ye(0x1,_0x39a463(_0x2e0fa2)),ye(0x2,_0x5b80dc),ye(0x3,_0x46c731),ye(0x4,_0x3bb936)],Gt);var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x2f2314,_0x403141,_0x161750,_0x466e91)=>{var _0x309992=_0x16f01c;for(var _0x2c62bb=_0x466e91>0x1?void 0x0:_0x466e91?Ys(_0x403141,_0x161750):_0x403141,_0x4bb54d=_0x2f2314[_0x309992(0x389)]-0x1,_0x19b203;_0x4bb54d>=0x0;_0x4bb54d--)(_0x19b203=_0x2f2314[_0x4bb54d])&&(_0x2c62bb=_0x19b203(_0x2c62bb)||_0x2c62bb);return _0x2c62bb;},Re=(_0x11ce86,_0x2dc2d8)=>(_0x32f663,_0x42e15d)=>_0x2dc2d8(_0x32f663,_0x42e15d,_0x11ce86);let we=class extends _0x4cf69f{constructor(_0x4e8fc5,_0x3784e5,_0x43ddf2,_0x58ddfd,_0x40f630,_0x37f005){var _0x245c91=_0x16f01c;super(),D(this,_0x245c91(0x180),new _0x310797(void 0x0)),D(this,'socket$',this[_0x245c91(0x180)]['asObservable']()),D(this,_0x245c91(0x197),null),D(this,_0x245c91(0x121),new Map()),D(this,_0x245c91(0x41b),new _0x310797(me['IDLE'])),D(this,'status$',this[_0x245c91(0x41b)][_0x245c91(0x2d4)]()),D(this,_0x245c91(0x2bc),!0x1),D(this,_0x245c91(0x153)),D(this,'_retryCount',0x0),D(this,_0x245c91(0x380)),D(this,_0x245c91(0x26e)),(this[_0x245c91(0x314)]=_0x4e8fc5,this['_logService']=_0x3784e5,this[_0x245c91(0x1ce)]=_0x43ddf2,this[_0x245c91(0x232)]=_0x58ddfd,this['_collaborationUIEventService']=_0x40f630,this['_networkConditionService']=_0x37f005,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x16f01c(0x17d)](){var _0x36438e=_0x16f01c;this[_0x36438e(0x2a8)]&&this[_0x36438e(0x107)](this[_0x36438e(0x2a8)][_0x36438e(0x2b5)]['subscribe'](_0x51ac64=>{var _0x3e413b=_0x36438e;_0x51ac64&&!this[_0x3e413b(0x28a)]&&this[_0x3e413b(0x295)](),_0x51ac64||this[_0x3e413b(0x3a8)]();}));}[_0x16f01c(0x1d1)](){var _0x56dc12=_0x16f01c;super[_0x56dc12(0x1d1)](),this[_0x56dc12(0x398)](),this[_0x56dc12(0x275)](),this[_0x56dc12(0x350)](),this[_0x56dc12(0x121)][_0x56dc12(0x17f)](_0x38ad16=>_0x38ad16[_0x56dc12(0x1d1)]()),this['_sessions'][_0x56dc12(0x280)](),this[_0x56dc12(0x41b)][_0x56dc12(0x199)]();}async[_0x16f01c(0x10f)](_0x335196){var _0xe55700=_0x16f01c;if(this[_0xe55700(0x121)][_0xe55700(0x1cb)](_0x335196))return this[_0xe55700(0x121)][_0xe55700(0x235)](_0x335196);this[_0xe55700(0x1b7)]();const _0x67d695=this['_injector'][_0xe55700(0x421)](mt,_0x335196,this[_0xe55700(0x180)][_0xe55700(0x2d4)]());return this[_0xe55700(0x121)][_0xe55700(0x139)](_0x335196,_0x67d695),_0x67d695;}[_0x16f01c(0x21d)](_0x1fb6ca){var _0x58ad66=_0x16f01c,_0x1efa2b;const _0x128ad8=this[_0x58ad66(0x121)][_0x58ad66(0x235)](_0x1fb6ca);_0x128ad8&&(this[_0x58ad66(0x121)][_0x58ad66(0x12b)](_0x1fb6ca),_0x128ad8[_0x58ad66(0x2c6)]()),this[_0x58ad66(0x121)]['size']||(_0x1efa2b=this[_0x58ad66(0x28a)])==null||_0x1efa2b[_0x58ad66(0x2c6)]();}[_0x16f01c(0x295)](){var _0x1f9bda=_0x16f01c;this[_0x1f9bda(0x129)]=0x0,this[_0x1f9bda(0x398)](),this[_0x1f9bda(0x230)]();}[_0x16f01c(0x398)](){var _0x146d8c=_0x16f01c;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x146d8c(0x153)]),this[_0x146d8c(0x153)]=null);}async[_0x16f01c(0x413)](){var _0xc16f9a=_0x16f01c,_0x368441;const _0x5aee1c=this[_0xc16f9a(0x1ce)]['getConfig'](K),_0x4de941=(_0x368441=_0x5aee1c==null?void 0x0:_0x5aee1c[_0xc16f9a(0x381)])!=null?_0x368441:Es,_0x575863=await this[_0xc16f9a(0x232)][_0xc16f9a(0x3f9)](_0x4de941);return this[_0xc16f9a(0x197)]=_0x575863,_0x575863;}async[_0x16f01c(0x1b7)](){var _0xc846e0=_0x16f01c,_0xbc5a45,_0x48201d;try{const _0x37d5c1=(_0x48201d=(_0xbc5a45=this[_0xc846e0(0x28a)])!=null?_0xbc5a45:this[_0xc846e0(0x197)])!=null?_0x48201d:await this[_0xc846e0(0x413)]();if(_0x37d5c1){const _0x113925=_0x37d5c1[_0xc846e0(0x16e)];_0x37d5c1['send']=_0x54f202=>(this['_rescheduleHeartbeat'](),_0x113925[_0xc846e0(0x3d2)](_0x37d5c1,[_0x54f202])),_0x37d5c1[_0xc846e0(0x420)]['subscribe'](_0x2a41cf=>this[_0xc846e0(0x3e4)](_0x37d5c1,_0x2a41cf)),_0x37d5c1[_0xc846e0(0x283)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](_0x4a8821=>this['_logService']['error'](_0xc846e0(0x2fa),_0x4a8821)),_0x37d5c1[_0xc846e0(0x1f9)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](()=>{this['_onConnectionOpen'](_0x37d5c1);}),_0x37d5c1[_0xc846e0(0x3a0)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](_0x4f1bda=>{var _0x3cf9f6=_0xc846e0;this[_0x3cf9f6(0x36c)][_0x3cf9f6(0x14b)](_0x3cf9f6(0x415),'socket\x20close',_0x4f1bda),this[_0x3cf9f6(0x217)]();});}}catch(_0x5b95e2){this['_logService']['error'](_0x5b95e2),this['_onConnectionFailed']();}}[_0x16f01c(0x2a4)](_0x1ad4c4){var _0x560655=_0x16f01c;this[_0x560655(0x36c)][_0x560655(0x14b)](_0x560655(0x415),_0x560655(0x368)),_0x1ad4c4['send']({'cmd':j[_0x560655(0x3db)]}),this[_0x560655(0x272)]();}[_0x16f01c(0x3a8)](){var _0x4225ec=_0x16f01c;this['_socketReady']=!0x1,this[_0x4225ec(0x197)]=null,this[_0x4225ec(0x41b)]['next'](me[_0x4225ec(0x285)]),this['_socket$'][_0x4225ec(0x1ff)](null),this[_0x4225ec(0x275)](),this[_0x4225ec(0x350)]();}[_0x16f01c(0x217)](){var _0x2773c5=_0x16f01c,_0x18d684;this['_onOffline'](),this[_0x2773c5(0x129)]<((_0x18d684=this[_0x2773c5(0x1ce)]['getConfig'](gs))!=null?_0x18d684:Ts)?(this[_0x2773c5(0x238)][_0x2773c5(0x10c)]({'id':re[_0x2773c5(0x10a)]}),this[_0x2773c5(0x230)]()):this[_0x2773c5(0x238)][_0x2773c5(0x10c)]({'id':re[_0x2773c5(0x2f2)]});}[_0x16f01c(0x230)](){var _0x47dcd9=_0x16f01c,_0x316824;const _0x4290c9=this['_retryCount'],_0x21b646=this[_0x47dcd9(0x1ce)][_0x47dcd9(0x27b)](K),_0x13af62=_0x4290c9===0x0?0x0:((_0x316824=_0x21b646==null?void 0x0:_0x21b646[_0x47dcd9(0x371)])!=null?_0x316824:Ss)*0x2**_0x4290c9;this[_0x47dcd9(0x153)]=setTimeout(()=>{var _0x36ec05=_0x47dcd9;clearTimeout(this[_0x36ec05(0x153)]),this[_0x36ec05(0x153)]=null,this[_0x36ec05(0x1b7)]();},_0x13af62),this[_0x47dcd9(0x129)]+=0x1;}[_0x16f01c(0x3e4)](_0x4dad23,_0x50e8c3){var _0x15a7c3=_0x16f01c;const {cmd:_0x48e90b}=_0x50e8c3;_0x48e90b===j[_0x15a7c3(0x3db)]&&!this[_0x15a7c3(0x2bc)]&&(_0x4dad23[_0x15a7c3(0x2fb)]=_0x50e8c3[_0x15a7c3(0x3fc)]['memberID'],this[_0x15a7c3(0x180)][_0x15a7c3(0x1ff)](_0x4dad23),this[_0x15a7c3(0x41b)][_0x15a7c3(0x1ff)](me['ONLINE']),this[_0x15a7c3(0x2bc)]=!0x0,this[_0x15a7c3(0x197)]=null),_0x48e90b===j[_0x15a7c3(0x3b3)]&&this[_0x15a7c3(0x275)](),this['_rescheduleHeartbeat']();}[_0x16f01c(0x272)](){var _0x16065d=_0x16f01c,_0x568a14;this[_0x16065d(0x350)](),this[_0x16065d(0x380)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x568a14=this[_0x16065d(0x1ce)][_0x16065d(0x27b)](ms))!=null?_0x568a14:Is);}['_sendHeartbeat'](){var _0x4efb7a=_0x16f01c;this[_0x4efb7a(0x28a)]['send']({'cmd':j[_0x4efb7a(0x3b3)]}),this[_0x4efb7a(0x1f5)]();}['_waitForHeartbeatResponse'](){var _0x366eaf=_0x16f01c,_0x5041e9;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x5041e9=this[_0x366eaf(0x1ce)][_0x366eaf(0x27b)](di))!=null?_0x5041e9:fi);}[_0x16f01c(0x350)](){var _0x275a86=_0x16f01c;this[_0x275a86(0x380)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x275a86(0x380)]=null);}['_clearTimeoutTimer'](){var _0x269737=_0x16f01c;this[_0x269737(0x26e)]!=null&&(clearTimeout(this[_0x269737(0x26e)]),this[_0x269737(0x26e)]=null);}};we=Ks([Re(0x0,_0x39a463(_0x487d01)),Re(0x1,_0x46c731),Re(0x2,_0x5b80dc),Re(0x3,Oi),Re(0x4,_0x39a463(ve)),Re(0x5,_0x23ad4d(Bs))],we);var qs=Object[_0x16f01c(0x11f)],zs=(_0xbc1384,_0x2488a7,_0x2aa4f2,_0x6858d3)=>{var _0x14e2c7=_0x16f01c;for(var _0x34670a=_0x6858d3>0x1?void 0x0:_0x6858d3?qs(_0x2488a7,_0x2aa4f2):_0x2488a7,_0x2bf277=_0xbc1384[_0x14e2c7(0x389)]-0x1,_0x1b4294;_0x2bf277>=0x0;_0x2bf277--)(_0x1b4294=_0xbc1384[_0x2bf277])&&(_0x34670a=_0x1b4294(_0x34670a)||_0x34670a);return _0x34670a;},Be=(_0x5ca6dc,_0x4eae15)=>(_0x5f11a3,_0x3a7cd0)=>_0x4eae15(_0x5f11a3,_0x3a7cd0,_0x5ca6dc);let nt=class extends _0x28ec07{constructor(_0x41c2c7,_0x256b99,_0x16c209,_0x5b4912){var _0x506485=_0x16f01c,_0x1ffd2e;super(),D(this,_0x506485(0x29e),new Map()),D(this,_0x506485(0x35d),new _0x4a9940()),D(this,'entityInit$',this[_0x506485(0x35d)][_0x506485(0x2d4)]()),(this[_0x506485(0x314)]=_0x41c2c7,this['_collabSessionService']=_0x256b99,this[_0x506485(0x1ce)]=_0x16c209,this[_0x506485(0x373)]=_0x5b4912,((_0x1ffd2e=this['_configService'][_0x506485(0x27b)](K))==null?void 0x0:_0x1ffd2e[_0x506485(0x213)])!==!0x1&&this['_init']());}[_0x16f01c(0x1d1)](){var _0x4be0f9=_0x16f01c;super[_0x4be0f9(0x1d1)](),this[_0x4be0f9(0x29e)][_0x4be0f9(0x17f)](_0x8fbd27=>_0x8fbd27['dispose']()),this[_0x4be0f9(0x29e)]['clear']();}[_0x16f01c(0x311)](_0x4fff9b){var _0x317607=_0x16f01c,_0x495d41;return(_0x495d41=this[_0x317607(0x29e)]['get'](_0x4fff9b))!=null?_0x495d41:null;}['getCollabEntity$'](_0x4f1cde){var _0x1ebfc5=_0x16f01c;const _0x4e6a0d=this[_0x1ebfc5(0x311)](_0x4f1cde);return _0x4e6a0d?_0x3a0627(_0x4e6a0d):this[_0x1ebfc5(0x35d)][_0x1ebfc5(0x36e)](_0xabf85c(_0x41cfc2=>_0x41cfc2[_0x1ebfc5(0x30d)]===_0x4f1cde));}['readyForCollab'](_0x532f94){var _0x32ccb5=_0x16f01c;return _0x4307ca(this[_0x32ccb5(0x3a5)](_0x532f94)[_0x32ccb5(0x36e)](_0x971c50(()=>{})));}[_0x16f01c(0x3de)](){var _0x1aa715=_0x16f01c;this['_univerInstanceService'][_0x1aa715(0x11c)](_0x36f965[_0x1aa715(0x10e)])[_0x1aa715(0x36e)](_0x55796d(this[_0x1aa715(0x19b)]),_0x57f9e9(0x10))[_0x1aa715(0x33f)](async _0x1777b0=>{var _0x114502=_0x1aa715;const _0x3173a5=_0x1777b0[_0x114502(0x3f7)](),_0x4a2d40=await this[_0x114502(0x134)](_0x3173a5,Q['UNIVER_SHEET']);this[_0x114502(0x29e)][_0x114502(0x139)](_0x3173a5,_0x4a2d40);}),this[_0x1aa715(0x373)][_0x1aa715(0x11c)](_0x36f965['UNIVER_DOC'])[_0x1aa715(0x36e)](_0x55796d(this[_0x1aa715(0x19b)]),_0x57f9e9(0x10))[_0x1aa715(0x36e)](_0xabf85c(_0x4b457f=>!_0x4b457f[_0x1aa715(0x3f7)]()[_0x1aa715(0x3b0)]('__')))[_0x1aa715(0x33f)](async _0x2322cc=>{var _0x511d30=_0x1aa715;const _0x1e1886=_0x2322cc[_0x511d30(0x3f7)](),_0x101da1=await this['_startCollaboration'](_0x1e1886,Q[_0x511d30(0x3b4)]);this[_0x511d30(0x29e)][_0x511d30(0x139)](_0x1e1886,_0x101da1);}),_0x596e66(this['_univerInstanceService'][_0x1aa715(0x192)](_0x36f965['UNIVER_SHEET']),this[_0x1aa715(0x373)][_0x1aa715(0x192)](_0x36f965['UNIVER_DOC']))['pipe'](_0x55796d(this[_0x1aa715(0x19b)]))[_0x1aa715(0x33f)](_0x283786=>{var _0x29bffc=_0x1aa715;const _0x380f24=_0x283786['getUnitId'](),_0x518f7e=this[_0x29bffc(0x29e)][_0x29bffc(0x235)](_0x380f24);_0x518f7e&&(_0x518f7e['dispose'](),this[_0x29bffc(0x29e)]['delete'](_0x380f24));});}async['_startCollaboration'](_0x18f1fb,_0x523702){var _0x3ad9f4=_0x16f01c;const _0x46757a=await this[_0x3ad9f4(0x39a)][_0x3ad9f4(0x10f)](_0x18f1fb),_0x52b31c=this[_0x3ad9f4(0x314)]['createInstance'](this['_getCtorByUniverType'](_0x523702),_0x18f1fb,_0x523702,_0x46757a);return await _0x52b31c[_0x3ad9f4(0x3a2)](),this[_0x3ad9f4(0x35d)]['next'](_0x52b31c),_0x52b31c;}[_0x16f01c(0x1e6)](_0x10ef46){var _0x37c619=_0x16f01c;switch(_0x10ef46){case Q[_0x37c619(0x3b4)]:return It;case Q[_0x37c619(0x10e)]:return St;default:throw new Error(_0x37c619(0x1b2)+_0x10ef46);}}};nt=zs([Be(0x0,_0x39a463(_0x487d01)),Be(0x1,_0x39a463(we)),Be(0x2,_0x5b80dc),Be(0x3,_0x2fe86b)],nt);var Js=Object[_0x16f01c(0x11f)],Xs=(_0x49d14a,_0x572868,_0xecc8e3,_0x20a6c3)=>{var _0x49453f=_0x16f01c;for(var _0x5ab30a=_0x20a6c3>0x1?void 0x0:_0x20a6c3?Js(_0x572868,_0xecc8e3):_0x572868,_0x13a878=_0x49d14a[_0x49453f(0x389)]-0x1,_0x4511c7;_0x13a878>=0x0;_0x13a878--)(_0x4511c7=_0x49d14a[_0x13a878])&&(_0x5ab30a=_0x4511c7(_0x5ab30a)||_0x5ab30a);return _0x5ab30a;},Wt=(_0x2bf973,_0x267ba2)=>(_0x59d990,_0xbb5925)=>_0x267ba2(_0x59d990,_0xbb5925,_0x2bf973);const Zs=_0x16f01c(0x305),Qs=_0x16f01c(0x10b);let gt=class extends _0x4cf69f{constructor(_0x26c38d,_0x4874a9){var _0x52ea98=_0x16f01c;super(),this[_0x52ea98(0x373)]=_0x26c38d,this['_configService']=_0x4874a9,this[_0x52ea98(0x3de)]();}['_init'](){var _0x38878f=_0x16f01c;this[_0x38878f(0x107)](this[_0x38878f(0x373)]['focused$'][_0x38878f(0x33f)](()=>{var _0x5952ab=_0x38878f,_0x5eeef4;const _0x23121b=this[_0x5952ab(0x373)][_0x5952ab(0x1f7)]();let _0x229422=(_0x5eeef4=this[_0x5952ab(0x1ce)][_0x5952ab(0x27b)](Zs))!=null?_0x5eeef4:Qs;_0x23121b instanceof _0x319761&&(_0x229422=_0x23121b[_0x5952ab(0x2c4)]),document['title']=_0x229422;}));}};gt=Xs([Wt(0x0,_0x2fe86b),Wt(0x1,_0x5b80dc)],gt);var en=Object['getOwnPropertyDescriptor'],tn=(_0x2caf56,_0x4913bd,_0x297ef4,_0x84192)=>{var _0x52fed7=_0x16f01c;for(var _0x232b05=_0x84192>0x1?void 0x0:_0x84192?en(_0x4913bd,_0x297ef4):_0x4913bd,_0x5701b8=_0x2caf56[_0x52fed7(0x389)]-0x1,_0x8b6e91;_0x5701b8>=0x0;_0x5701b8--)(_0x8b6e91=_0x2caf56[_0x5701b8])&&(_0x232b05=_0x8b6e91(_0x232b05)||_0x232b05);return _0x232b05;},dt=(_0x330337,_0x291e8b)=>(_0x1650e2,_0xd5b4af)=>_0x291e8b(_0x1650e2,_0xd5b4af,_0x330337);let rt=class{constructor(_0x4418d7,_0x577faa,_0x42617f){var _0x4492ba=_0x16f01c;this[_0x4492ba(0x1ce)]=_0x4418d7,this[_0x4492ba(0x361)]=_0x577faa,this[_0x4492ba(0x182)]=_0x42617f,this[_0x4492ba(0x3a2)]();}['init'](){var _0x1344eb=_0x16f01c;this['_httpService'][_0x1344eb(0x379)]({'priority':0x1,'interceptor':(_0x1287be,_0x42f2a3)=>_0x42f2a3(_0x1287be)['pipe'](_0x1c7141(async _0x463bd9=>{var _0x34f162=_0x1344eb;const _0x127ec0=_0x463bd9;if(_0x127ec0[_0x34f162(0x38f)]===0x191){if(typeof window>'u')throw new Error(_0x34f162(0x2c8));if(window[_0x34f162(0x161)](this['localeService']['t'](_0x34f162(0x13d)))){const _0x2540ec=window[_0x34f162(0x159)](window['location'][_0x34f162(0x41e)]);window[_0x34f162(0x267)][_0x34f162(0x41e)]=this[_0x34f162(0x2dc)]()+_0x34f162(0x1ee)+_0x2540ec;}}return _0x127ec0;}))});}[_0x16f01c(0x2dc)](){var _0x13b49d=_0x16f01c,_0xf27fc6;const _0xf54b49=this[_0x13b49d(0x1ce)][_0x13b49d(0x27b)](K);return(_0xf27fc6=_0xf54b49==null?void 0x0:_0xf54b49['loginUrlKey'])!=null?_0xf27fc6:Rs;}};rt=tn([dt(0x0,_0x5b80dc),dt(0x1,_0x39a463(_0x2e0fa2)),dt(0x2,_0x39a463(_0x2d14a8))],rt);var sn=Object[_0x16f01c(0x11f)],nn=(_0x5a1c0e,_0x430b82,_0x187431,_0x41d656)=>{var _0x6387ea=_0x16f01c;for(var _0x2565bb=_0x41d656>0x1?void 0x0:_0x41d656?sn(_0x430b82,_0x187431):_0x430b82,_0x69576a=_0x5a1c0e[_0x6387ea(0x389)]-0x1,_0x48bf66;_0x69576a>=0x0;_0x69576a--)(_0x48bf66=_0x5a1c0e[_0x69576a])&&(_0x2565bb=_0x48bf66(_0x2565bb)||_0x2565bb);return _0x2565bb;},Yt=(_0x11886b,_0x199c1c)=>(_0x5a2472,_0x294b7e)=>_0x199c1c(_0x5a2472,_0x294b7e,_0x11886b);const rn=_0x16f01c(0x352);let Tt=class extends _0x4cf69f{constructor(_0x59d681,_0x1328a0){var _0x1673b3=_0x16f01c;super(),this[_0x1673b3(0x36f)]=_0x59d681,this[_0x1673b3(0x1ce)]=_0x1328a0,this[_0x1673b3(0x2a5)]();}[_0x16f01c(0x2a5)](){var _0x4fea83=_0x16f01c;const _0x12e944=this;this[_0x4fea83(0x107)](this['_HTTPService'][_0x4fea83(0x379)]({'priority':0x3e7,'interceptor':_0x52bcb8({'isMatch'(_0x3afb91){var _0x444fe7=_0x4fea83,_0x2740cf;if(_0x3afb91[_0x444fe7(0x1e4)]===_0x444fe7(0x1a8)&&((_0x2740cf=_0x3afb91[_0x444fe7(0x34d)])!=null&&_0x2740cf[_0x444fe7(0x35b)])){const {objectID:_0x46e543,objectType:_0x49fe35}=_0x3afb91['requestParams']['body']||{};if(!_0x46e543||_0x49fe35===void 0x0)return!0x1;const _0x4b398c=_0x12e944['_getAPIPrefixPath']()+'/'+_0x49fe35+_0x444fe7(0x324)+_0x46e543+_0x444fe7(0x1b9);if(_0x3afb91[_0x444fe7(0x172)]===_0x4b398c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3971bd){var _0x4ad2d3=_0x4fea83,_0x334534;return(_0x334534=_0x3971bd[_0x4ad2d3(0x34d)])==null?void 0x0:_0x334534[_0x4ad2d3(0x35b)];},'mergeParamsToRequest'(_0x17becb,_0x4babbe){var _0x782a6e=_0x4fea83;const _0x15540b=_0x12e944[_0x782a6e(0x25d)]()+'/-/object/-/batch_allowed',_0x531290=_0x17becb['reduce']((_0x541f72,_0x6d2677)=>{var _0x518c56=_0x782a6e;const {unitID:_0x3464e5,objectID:_0x1c2079,objectType:_0x33cbe5,actions:_0x590ce1}=_0x6d2677;return _0x541f72[_0x3464e5]||(_0x541f72[_0x3464e5]={}),_0x541f72[_0x3464e5][_0x1c2079]||(_0x541f72[_0x3464e5][_0x1c2079]={'objectID':_0x1c2079,'objectType':_0x33cbe5,'actions':[]}),_0x541f72[_0x3464e5][_0x1c2079]['actions'][_0x518c56(0x288)](..._0x590ce1),_0x541f72;},{}),_0x1ab2e9=[];for(const _0x34168b in _0x531290)for(const _0x4e4666 in _0x531290[_0x34168b]){const {actions:_0x3d5605,objectType:_0x190f99}=_0x531290[_0x34168b][_0x4e4666],_0x4ce9e1=[...new Set(_0x3d5605)];_0x1ab2e9[_0x782a6e(0x288)]({'unitID':_0x34168b,'objectID':_0x4e4666,'objectType':_0x190f99,'actions':_0x4ce9e1});}return new _0x2816eb(_0x782a6e(0x1a8),_0x15540b,{'headers':_0x4babbe['headers'],'withCredentials':_0x4babbe[_0x782a6e(0x3aa)],'responseType':_0x4babbe[_0x782a6e(0x16c)],'body':{'requests':_0x1ab2e9}});}},{'distributeResult'(_0x168830,_0x5a1e47){var _0x5311a2=_0x4fea83;const {objectActions:_0x504471}=_0x168830;return _0x5a1e47[_0x5311a2(0x34c)](_0x434918=>{var _0x3be741=_0x5311a2;const {unitID:_0x51b1c9,objectID:_0x41b00a,actions:_0x2bdf2a}=_0x434918,_0x279633=_0x504471['find'](_0xe02c5f=>_0xe02c5f[_0x3be741(0x30d)]===_0x51b1c9&&_0xe02c5f['objectID']===_0x41b00a),_0x1af850=_0x2bdf2a[_0x3be741(0x34c)](_0x70fcc1=>_0x279633==null?void 0x0:_0x279633['actions']['find'](_0x500b94=>_0x500b94[_0x3be741(0x250)]===_0x70fcc1))[_0x3be741(0x2f5)](_0x45c77e=>!!_0x45c77e);return{'config':_0x434918,'result':{'actions':_0x1af850,'error':_0x168830[_0x3be741(0x390)]}};});}})}));}[_0x16f01c(0x25d)](){var _0x3ab634=_0x16f01c,_0xfd2e89;const _0x59f875=this[_0x3ab634(0x1ce)][_0x3ab634(0x27b)](K);return(_0xfd2e89=_0x59f875==null?void 0x0:_0x59f875[_0x3ab634(0x3a6)])!=null?_0xfd2e89:rn;}async[_0x16f01c(0x406)](_0x25aabd){var _0x37c68e=_0x16f01c;const _0x15ce64=this[_0x37c68e(0x25d)]()+'/'+_0x25aabd[_0x37c68e(0x2bb)]+_0x37c68e(0x2cf);return(await this['_HTTPService']['post'](_0x15ce64,{'body':_0x25aabd}))[_0x37c68e(0x35b)][_0x37c68e(0x12d)]||'';}async['list'](_0x13e4f4){var _0x597362=_0x16f01c;const _0x1cd7a5=this[_0x597362(0x25d)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x1cd7a5,{'body':_0x13e4f4}))['body'][_0x597362(0x17c)];}async[_0x16f01c(0x384)](_0x1b6a3a){var _0x517759=_0x16f01c,_0x2f7169,_0x475da5;const _0x2cb555=this['_getAPIPrefixPath']()+'/'+_0x1b6a3a['objectType']+'/object/'+_0x1b6a3a[_0x517759(0x12d)],_0x282258=await this[_0x517759(0x36f)]['put'](_0x2cb555,{'body':_0x1b6a3a});if(((_0x475da5=(_0x2f7169=_0x282258==null?void 0x0:_0x282258[_0x517759(0x35b)])==null?void 0x0:_0x2f7169[_0x517759(0x390)])==null?void 0x0:_0x475da5[_0x517759(0x3b2)])!==0x1)throw new Error(_0x517759(0x2b1));}async[_0x16f01c(0x3fd)](_0x17dfae){var _0x47700c=_0x16f01c;const _0x55bd32=this[_0x47700c(0x25d)]()+'/'+_0x17dfae['objectType']+_0x47700c(0x324)+_0x17dfae[_0x47700c(0x12d)]+_0x47700c(0x1b9);return(await this[_0x47700c(0x36f)][_0x47700c(0x3ea)](_0x55bd32,{'body':_0x17dfae}))['body'][_0x47700c(0x278)];}async['batchAllowed'](_0x3592c9){var _0x529a32=_0x16f01c;const _0x418d13=this[_0x529a32(0x25d)]()+_0x529a32(0x221);return(await this[_0x529a32(0x36f)][_0x529a32(0x3ea)](_0x418d13,{'body':{'requests':_0x3592c9}}))['body']['objectActions'];}async[_0x16f01c(0x2ff)](_0x36e434){var _0x5464ae=_0x16f01c;const _0x44c50d=this[_0x5464ae(0x25d)]()+'/'+_0x36e434['objectType']+'/role',_0x1a4dce=await this[_0x5464ae(0x36f)][_0x5464ae(0x3ea)](_0x44c50d,{'body':_0x36e434});return{'roles':_0x1a4dce[_0x5464ae(0x35b)]['roles'],'actions':_0x1a4dce[_0x5464ae(0x35b)]['actions']};}async['deleteCollaborator'](_0x1d2b19){var _0x2da855=_0x16f01c;const _0xb91613=this[_0x2da855(0x25d)]()+'/collaborator';await this[_0x2da855(0x36f)][_0x2da855(0x12b)](_0xb91613,{'params':{'collaboratorID':_0x1d2b19[_0x2da855(0x266)],'objectID':_0x1d2b19[_0x2da855(0x12d)],'unitID':_0x1d2b19[_0x2da855(0x30d)]}});}async[_0x16f01c(0x1c5)](_0x230694){var _0x589dc2=_0x16f01c;const _0x27f6d8=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x589dc2(0x37d)](_0x27f6d8,{'body':_0x230694});}async[_0x16f01c(0x30f)](_0x672555){var _0x51774c=_0x16f01c;const _0xca0e63=this['_getAPIPrefixPath']()+_0x51774c(0x26b);await this[_0x51774c(0x36f)][_0x51774c(0x3ea)](_0xca0e63,{'body':_0x672555});}async[_0x16f01c(0x348)](_0x28a10c){var _0x2594a1=_0x16f01c;const _0x282216=this[_0x2594a1(0x25d)]()+_0x2594a1(0x26b);return(await this[_0x2594a1(0x36f)]['get'](_0x282216,{'params':{'objectID':_0x28a10c['objectID'],'unitID':_0x28a10c[_0x2594a1(0x30d)]}}))[_0x2594a1(0x35b)][_0x2594a1(0x18d)];}async[_0x16f01c(0x28f)](_0x528d9b){var _0x3d55e8=_0x16f01c;const _0x55ac65=this[_0x3d55e8(0x25d)]()+_0x3d55e8(0x26b);await this[_0x3d55e8(0x36f)][_0x3d55e8(0x1d7)](_0x55ac65,{'body':_0x528d9b});}};Tt=nn([Yt(0x0,_0x39a463(_0x2e0fa2)),Yt(0x1,_0x39a463(_0x5b80dc))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x276fec){var _0x4e1483=_0x16f01c;return _0x276fec&&_0x276fec['__esModule']&&Object[_0x4e1483(0x25e)]['hasOwnProperty'][_0x4e1483(0x136)](_0x276fec,_0x4e1483(0x165))?_0x276fec[_0x4e1483(0x165)]:_0x276fec;}var Ve={'exports':{}};function an(_0x2fe576){var _0xc4f8c1=_0x16f01c;throw new Error(_0xc4f8c1(0x1db)+_0x2fe576+_0xc4f8c1(0x37c));}var Ge={'exports':{}},on=Ge[_0x16f01c(0x194)],Kt;function ie(){var _0x1e9aa6=_0x16f01c;return Kt||(Kt=0x1,function(_0x5bac9f,_0x444188){(function(_0x26ec38,_0xd321b9){_0x5bac9f['exports']=_0xd321b9();}(on,function(){var _0x4b653d=_0x4b653d||function(_0x2e22a1,_0x17a21){var _0x4a7405=_0x2af7,_0x5bf04f;if(typeof window<'u'&&window[_0x4a7405(0x1e8)]&&(_0x5bf04f=window[_0x4a7405(0x1e8)]),typeof self<'u'&&self[_0x4a7405(0x1e8)]&&(_0x5bf04f=self[_0x4a7405(0x1e8)]),typeof globalThis<'u'&&globalThis[_0x4a7405(0x1e8)]&&(_0x5bf04f=globalThis['crypto']),!_0x5bf04f&&typeof window<'u'&&window[_0x4a7405(0x13f)]&&(_0x5bf04f=window[_0x4a7405(0x13f)]),!_0x5bf04f&&typeof ft<'u'&&ft['crypto']&&(_0x5bf04f=ft[_0x4a7405(0x1e8)]),!_0x5bf04f&&typeof an==_0x4a7405(0x3b9))try{_0x5bf04f=require('crypto');}catch{}var _0x5560ab=function(){var _0x1ed135=_0x4a7405;if(_0x5bf04f){if(typeof _0x5bf04f[_0x1ed135(0x190)]==_0x1ed135(0x3b9))try{return _0x5bf04f[_0x1ed135(0x190)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bf04f[_0x1ed135(0x321)]==_0x1ed135(0x3b9))try{return _0x5bf04f[_0x1ed135(0x321)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1ed135(0x32e));},_0x27f631=Object[_0x4a7405(0x406)]||(function(){function _0x428534(){}return function(_0x28c297){var _0x7e0e5a=_0x2af7,_0x1c3455;return _0x428534[_0x7e0e5a(0x25e)]=_0x28c297,_0x1c3455=new _0x428534(),_0x428534['prototype']=null,_0x1c3455;};}()),_0x5dde29={},_0x32a5a8=_0x5dde29[_0x4a7405(0x3b7)]={},_0x389d8e=_0x32a5a8[_0x4a7405(0x303)]=(function(){return{'extend':function(_0xd77508){var _0x5c0f6c=_0x2af7,_0x6e1c6=_0x27f631(this);return _0xd77508&&_0x6e1c6[_0x5c0f6c(0x262)](_0xd77508),(!_0x6e1c6[_0x5c0f6c(0x24f)](_0x5c0f6c(0x3a2))||this[_0x5c0f6c(0x3a2)]===_0x6e1c6[_0x5c0f6c(0x3a2)])&&(_0x6e1c6['init']=function(){var _0x5257bc=_0x5c0f6c;_0x6e1c6[_0x5257bc(0x177)][_0x5257bc(0x3a2)][_0x5257bc(0x3d2)](this,arguments);}),_0x6e1c6[_0x5c0f6c(0x3a2)][_0x5c0f6c(0x25e)]=_0x6e1c6,_0x6e1c6[_0x5c0f6c(0x177)]=this,_0x6e1c6;},'create':function(){var _0x2e6185=_0x2af7,_0x330f07=this[_0x2e6185(0x302)]();return _0x330f07[_0x2e6185(0x3a2)][_0x2e6185(0x3d2)](_0x330f07,arguments),_0x330f07;},'init':function(){},'mixIn':function(_0x3e06fd){var _0x4f0422=_0x2af7;for(var _0x2d123b in _0x3e06fd)_0x3e06fd['hasOwnProperty'](_0x2d123b)&&(this[_0x2d123b]=_0x3e06fd[_0x2d123b]);_0x3e06fd['hasOwnProperty'](_0x4f0422(0x146))&&(this[_0x4f0422(0x146)]=_0x3e06fd[_0x4f0422(0x146)]);},'clone':function(){var _0x2a41aa=_0x2af7;return this[_0x2a41aa(0x3a2)][_0x2a41aa(0x25e)]['extend'](this);}};}()),_0x22424c=_0x32a5a8['WordArray']=_0x389d8e[_0x4a7405(0x302)]({'init':function(_0x32e5ec,_0x50a862){var _0x2bfe0a=_0x4a7405;_0x32e5ec=this[_0x2bfe0a(0x360)]=_0x32e5ec||[],_0x50a862!=_0x17a21?this[_0x2bfe0a(0x407)]=_0x50a862:this[_0x2bfe0a(0x407)]=_0x32e5ec[_0x2bfe0a(0x389)]*0x4;},'toString':function(_0xc1ec8b){var _0x58369a=_0x4a7405;return(_0xc1ec8b||_0x958839)[_0x58369a(0x2a1)](this);},'concat':function(_0x4bb6bb){var _0x4081ef=_0x4a7405,_0x3a263b=this['words'],_0x1cf3ea=_0x4bb6bb[_0x4081ef(0x360)],_0x4f6eec=this[_0x4081ef(0x407)],_0x33b929=_0x4bb6bb['sigBytes'];if(this[_0x4081ef(0x2bf)](),_0x4f6eec%0x4)for(var _0x535546=0x0;_0x535546<_0x33b929;_0x535546++){var _0x247f0a=_0x1cf3ea[_0x535546>>>0x2]>>>0x18-_0x535546%0x4*0x8&0xff;_0x3a263b[_0x4f6eec+_0x535546>>>0x2]|=_0x247f0a<<0x18-(_0x4f6eec+_0x535546)%0x4*0x8;}else{for(var _0x412409=0x0;_0x412409<_0x33b929;_0x412409+=0x4)_0x3a263b[_0x4f6eec+_0x412409>>>0x2]=_0x1cf3ea[_0x412409>>>0x2];}return this[_0x4081ef(0x407)]+=_0x33b929,this;},'clamp':function(){var _0x9d3441=_0x4a7405,_0x59e738=this['words'],_0x3db066=this[_0x9d3441(0x407)];_0x59e738[_0x3db066>>>0x2]&=0xffffffff<<0x20-_0x3db066%0x4*0x8,_0x59e738[_0x9d3441(0x389)]=_0x2e22a1[_0x9d3441(0x40c)](_0x3db066/0x4);},'clone':function(){var _0x1c77d0=_0x4a7405,_0xae37b8=_0x389d8e[_0x1c77d0(0x13e)][_0x1c77d0(0x136)](this);return _0xae37b8[_0x1c77d0(0x360)]=this['words'][_0x1c77d0(0x2fc)](0x0),_0xae37b8;},'random':function(_0x11317b){var _0xcebf58=_0x4a7405;for(var _0x334562=[],_0x328df4=0x0;_0x328df4<_0x11317b;_0x328df4+=0x4)_0x334562[_0xcebf58(0x288)](_0x5560ab());return new _0x22424c[(_0xcebf58(0x3a2))](_0x334562,_0x11317b);}}),_0x4c3ab4=_0x5dde29[_0x4a7405(0x31d)]={},_0x958839=_0x4c3ab4[_0x4a7405(0x18e)]={'stringify':function(_0x3246a0){var _0x1fa90b=_0x4a7405;for(var _0x192ec3=_0x3246a0[_0x1fa90b(0x360)],_0x113295=_0x3246a0[_0x1fa90b(0x407)],_0x3fe6c9=[],_0x3b5d9b=0x0;_0x3b5d9b<_0x113295;_0x3b5d9b++){var _0x426b8d=_0x192ec3[_0x3b5d9b>>>0x2]>>>0x18-_0x3b5d9b%0x4*0x8&0xff;_0x3fe6c9[_0x1fa90b(0x288)]((_0x426b8d>>>0x4)[_0x1fa90b(0x146)](0x10)),_0x3fe6c9['push']((_0x426b8d&0xf)[_0x1fa90b(0x146)](0x10));}return _0x3fe6c9[_0x1fa90b(0x223)]('');},'parse':function(_0xb75aa1){var _0x147f1b=_0x4a7405;for(var _0x27f754=_0xb75aa1[_0x147f1b(0x389)],_0x5b0ead=[],_0x5447ff=0x0;_0x5447ff<_0x27f754;_0x5447ff+=0x2)_0x5b0ead[_0x5447ff>>>0x3]|=parseInt(_0xb75aa1[_0x147f1b(0x1ad)](_0x5447ff,0x2),0x10)<<0x18-_0x5447ff%0x8*0x4;return new _0x22424c['init'](_0x5b0ead,_0x27f754/0x2);}},_0x1341a7=_0x4c3ab4[_0x4a7405(0x198)]={'stringify':function(_0x309922){var _0x50198b=_0x4a7405;for(var _0x503c65=_0x309922[_0x50198b(0x360)],_0x476d1d=_0x309922['sigBytes'],_0x2c3818=[],_0x33fe71=0x0;_0x33fe71<_0x476d1d;_0x33fe71++){var _0x536935=_0x503c65[_0x33fe71>>>0x2]>>>0x18-_0x33fe71%0x4*0x8&0xff;_0x2c3818[_0x50198b(0x288)](String[_0x50198b(0x21b)](_0x536935));}return _0x2c3818[_0x50198b(0x223)]('');},'parse':function(_0x500307){var _0x2e183f=_0x4a7405;for(var _0x154aad=_0x500307[_0x2e183f(0x389)],_0x292666=[],_0x38c1e3=0x0;_0x38c1e3<_0x154aad;_0x38c1e3++)_0x292666[_0x38c1e3>>>0x2]|=(_0x500307[_0x2e183f(0x365)](_0x38c1e3)&0xff)<<0x18-_0x38c1e3%0x4*0x8;return new _0x22424c[(_0x2e183f(0x3a2))](_0x292666,_0x154aad);}},_0x419802=_0x4c3ab4[_0x4a7405(0x22d)]={'stringify':function(_0xa50f07){var _0x6319d9=_0x4a7405;try{return decodeURIComponent(escape(_0x1341a7[_0x6319d9(0x2a1)](_0xa50f07)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xbde014){var _0x130bac=_0x4a7405;return _0x1341a7[_0x130bac(0x2a2)](unescape(encodeURIComponent(_0xbde014)));}},_0x46a97f=_0x32a5a8[_0x4a7405(0x30c)]=_0x389d8e[_0x4a7405(0x302)]({'reset':function(){var _0x3322ae=_0x4a7405;this[_0x3322ae(0x105)]=new _0x22424c[(_0x3322ae(0x3a2))](),this[_0x3322ae(0x15c)]=0x0;},'_append':function(_0x412bd3){var _0x69bf7f=_0x4a7405;typeof _0x412bd3==_0x69bf7f(0x19a)&&(_0x412bd3=_0x419802[_0x69bf7f(0x2a2)](_0x412bd3)),this['_data'][_0x69bf7f(0x2c1)](_0x412bd3),this['_nDataBytes']+=_0x412bd3['sigBytes'];},'_process':function(_0x5abf60){var _0x56ea81=_0x4a7405,_0x9d9f27,_0xe85ece=this[_0x56ea81(0x105)],_0x1f7ad4=_0xe85ece['words'],_0x34c991=_0xe85ece[_0x56ea81(0x407)],_0x7613d0=this['blockSize'],_0x4189e1=_0x7613d0*0x4,_0x50b76e=_0x34c991/_0x4189e1;_0x5abf60?_0x50b76e=_0x2e22a1[_0x56ea81(0x40c)](_0x50b76e):_0x50b76e=_0x2e22a1[_0x56ea81(0x410)]((_0x50b76e|0x0)-this[_0x56ea81(0x15b)],0x0);var _0x15b43d=_0x50b76e*_0x7613d0,_0x3a8ac3=_0x2e22a1[_0x56ea81(0x1c1)](_0x15b43d*0x4,_0x34c991);if(_0x15b43d){for(var _0x43e140=0x0;_0x43e140<_0x15b43d;_0x43e140+=_0x7613d0)this[_0x56ea81(0x297)](_0x1f7ad4,_0x43e140);_0x9d9f27=_0x1f7ad4[_0x56ea81(0x219)](0x0,_0x15b43d),_0xe85ece[_0x56ea81(0x407)]-=_0x3a8ac3;}return new _0x22424c[(_0x56ea81(0x3a2))](_0x9d9f27,_0x3a8ac3);},'clone':function(){var _0x40a2e3=_0x4a7405,_0x18963b=_0x389d8e['clone'][_0x40a2e3(0x136)](this);return _0x18963b[_0x40a2e3(0x105)]=this[_0x40a2e3(0x105)][_0x40a2e3(0x13e)](),_0x18963b;},'_minBufferSize':0x0});_0x32a5a8[_0x4a7405(0x3f3)]=_0x46a97f[_0x4a7405(0x302)]({'cfg':_0x389d8e['extend'](),'init':function(_0x182051){var _0x5d8888=_0x4a7405;this[_0x5d8888(0x2a3)]=this[_0x5d8888(0x2a3)][_0x5d8888(0x302)](_0x182051),this[_0x5d8888(0x244)]();},'reset':function(){var _0x284cbe=_0x4a7405;_0x46a97f[_0x284cbe(0x244)][_0x284cbe(0x136)](this),this[_0x284cbe(0x2e9)]();},'update':function(_0x173638){var _0xf2bb0d=_0x4a7405;return this['_append'](_0x173638),this[_0xf2bb0d(0x234)](),this;},'finalize':function(_0x2343d7){var _0x5dbfb0=_0x4a7405;_0x2343d7&&this[_0x5dbfb0(0x343)](_0x2343d7);var _0x5fda73=this[_0x5dbfb0(0x3ac)]();return _0x5fda73;},'blockSize':0x10,'_createHelper':function(_0x2fa1b7){return function(_0x25dd9d,_0xdadea){var _0x3d2b40=_0x2af7;return new _0x2fa1b7['init'](_0xdadea)[_0x3d2b40(0x307)](_0x25dd9d);};},'_createHmacHelper':function(_0x11107e){return function(_0x221850,_0x9a3f5b){var _0x43c7a5=_0x2af7;return new _0x56cda4[(_0x43c7a5(0x201))]['init'](_0x11107e,_0x9a3f5b)[_0x43c7a5(0x307)](_0x221850);};}});var _0x56cda4=_0x5dde29[_0x4a7405(0x2e4)]={};return _0x5dde29;}(Math);return _0x4b653d;}));}(Ge)),Ge[_0x1e9aa6(0x194)];}var We={'exports':{}},cn=We[_0x16f01c(0x194)],qt;function Ri(){var _0xef81a0=_0x16f01c;return qt||(qt=0x1,function(_0x190cf9,_0x2d250f){(function(_0x5942ae,_0x5f5102){var _0x4dffd0=_0x2af7;_0x190cf9[_0x4dffd0(0x194)]=_0x5f5102(ie());}(cn,function(_0x149058){var _0x28922c=_0x2af7;return(function(){var _0xe0211d=_0x2af7,_0x2c4e80=_0x149058,_0x201c18=_0x2c4e80[_0xe0211d(0x3b7)],_0x2aeb4d=_0x201c18[_0xe0211d(0x30a)],_0x483e0e=_0x2c4e80[_0xe0211d(0x31d)];_0x483e0e['Base64']={'stringify':function(_0xbbef30){var _0x567960=_0xe0211d,_0x343f84=_0xbbef30[_0x567960(0x360)],_0x57e3f3=_0xbbef30[_0x567960(0x407)],_0x57e57f=this[_0x567960(0x34f)];_0xbbef30[_0x567960(0x2bf)]();for(var _0x232992=[],_0x2ba9c5=0x0;_0x2ba9c5<_0x57e3f3;_0x2ba9c5+=0x3)for(var _0x40166f=_0x343f84[_0x2ba9c5>>>0x2]>>>0x18-_0x2ba9c5%0x4*0x8&0xff,_0x6f995c=_0x343f84[_0x2ba9c5+0x1>>>0x2]>>>0x18-(_0x2ba9c5+0x1)%0x4*0x8&0xff,_0x30584e=_0x343f84[_0x2ba9c5+0x2>>>0x2]>>>0x18-(_0x2ba9c5+0x2)%0x4*0x8&0xff,_0x4c632c=_0x40166f<<0x10|_0x6f995c<<0x8|_0x30584e,_0x2e1f3c=0x0;_0x2e1f3c<0x4&&_0x2ba9c5+_0x2e1f3c*0.75<_0x57e3f3;_0x2e1f3c++)_0x232992[_0x567960(0x288)](_0x57e57f[_0x567960(0x20f)](_0x4c632c>>>0x6*(0x3-_0x2e1f3c)&0x3f));var _0x49b34b=_0x57e57f[_0x567960(0x20f)](0x40);if(_0x49b34b){for(;_0x232992['length']%0x4;)_0x232992['push'](_0x49b34b);}return _0x232992[_0x567960(0x223)]('');},'parse':function(_0x1cceac){var _0x36ee6c=_0xe0211d,_0x4570db=_0x1cceac[_0x36ee6c(0x389)],_0xbd04ce=this[_0x36ee6c(0x34f)],_0x12a0dc=this[_0x36ee6c(0x3cf)];if(!_0x12a0dc){_0x12a0dc=this[_0x36ee6c(0x3cf)]=[];for(var _0x48839a=0x0;_0x48839a<_0xbd04ce[_0x36ee6c(0x389)];_0x48839a++)_0x12a0dc[_0xbd04ce[_0x36ee6c(0x365)](_0x48839a)]=_0x48839a;}var _0x27ff76=_0xbd04ce[_0x36ee6c(0x20f)](0x40);if(_0x27ff76){var _0x4772a9=_0x1cceac[_0x36ee6c(0x358)](_0x27ff76);_0x4772a9!==-0x1&&(_0x4570db=_0x4772a9);}return _0x9bac61(_0x1cceac,_0x4570db,_0x12a0dc);},'_map':_0xe0211d(0x34e)};function _0x9bac61(_0x4086eb,_0x41d25c,_0x26279b){var _0x4af029=_0xe0211d;for(var _0x5d7c4e=[],_0xbfa5d6=0x0,_0x54fe1e=0x0;_0x54fe1e<_0x41d25c;_0x54fe1e++)if(_0x54fe1e%0x4){var _0x392148=_0x26279b[_0x4086eb['charCodeAt'](_0x54fe1e-0x1)]<<_0x54fe1e%0x4*0x2,_0x65a2d5=_0x26279b[_0x4086eb['charCodeAt'](_0x54fe1e)]>>>0x6-_0x54fe1e%0x4*0x2,_0x4d30d8=_0x392148|_0x65a2d5;_0x5d7c4e[_0xbfa5d6>>>0x2]|=_0x4d30d8<<0x18-_0xbfa5d6%0x4*0x8,_0xbfa5d6++;}return _0x2aeb4d[_0x4af029(0x406)](_0x5d7c4e,_0xbfa5d6);}}()),_0x149058[_0x28922c(0x31d)][_0x28922c(0x1b3)];}));}(We)),We[_0xef81a0(0x194)];}var Ye={'exports':{}},_n=Ye['exports'],zt;function hn(){return zt||(zt=0x1,function(_0x22d277,_0x4fe7bf){(function(_0x3053f2,_0x46d0ea){var _0x2f7c50=_0x2af7;_0x22d277[_0x2f7c50(0x194)]=_0x46d0ea(ie());}(_n,function(_0x5c48ea){var _0x177756=_0x2af7;return function(_0x2c144c){var _0x37e43f=_0x2af7,_0x45ea2b=_0x5c48ea,_0x14520c=_0x45ea2b[_0x37e43f(0x3b7)],_0x2c1471=_0x14520c[_0x37e43f(0x30a)],_0x2ba2cc=_0x14520c['Hasher'],_0x4ea485=_0x45ea2b[_0x37e43f(0x2e4)],_0x36082f=[];(function(){var _0x8b0c93=_0x37e43f;for(var _0xa63ada=0x0;_0xa63ada<0x40;_0xa63ada++)_0x36082f[_0xa63ada]=_0x2c144c[_0x8b0c93(0x363)](_0x2c144c[_0x8b0c93(0x26c)](_0xa63ada+0x1))*0x100000000|0x0;}());var _0x540e9a=_0x4ea485[_0x37e43f(0x23d)]=_0x2ba2cc[_0x37e43f(0x302)]({'_doReset':function(){var _0x3e5724=_0x37e43f;this[_0x3e5724(0x22f)]=new _0x2c1471['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x547039,_0x3b1043){var _0x587221=_0x37e43f;for(var _0x1ed317=0x0;_0x1ed317<0x10;_0x1ed317++){var _0x2c0a68=_0x3b1043+_0x1ed317,_0x1cce3d=_0x547039[_0x2c0a68];_0x547039[_0x2c0a68]=(_0x1cce3d<<0x8|_0x1cce3d>>>0x18)&0xff00ff|(_0x1cce3d<<0x18|_0x1cce3d>>>0x8)&0xff00ff00;}var _0x1ae749=this[_0x587221(0x22f)][_0x587221(0x360)],_0x28901b=_0x547039[_0x3b1043+0x0],_0x1bffa8=_0x547039[_0x3b1043+0x1],_0x511047=_0x547039[_0x3b1043+0x2],_0x38a45f=_0x547039[_0x3b1043+0x3],_0x5ccd25=_0x547039[_0x3b1043+0x4],_0x5f417d=_0x547039[_0x3b1043+0x5],_0xc94269=_0x547039[_0x3b1043+0x6],_0x14420f=_0x547039[_0x3b1043+0x7],_0x1bdb74=_0x547039[_0x3b1043+0x8],_0x4fc70d=_0x547039[_0x3b1043+0x9],_0x5eb69f=_0x547039[_0x3b1043+0xa],_0x49a230=_0x547039[_0x3b1043+0xb],_0x1258cd=_0x547039[_0x3b1043+0xc],_0x1e7b6a=_0x547039[_0x3b1043+0xd],_0x4ad335=_0x547039[_0x3b1043+0xe],_0x5de604=_0x547039[_0x3b1043+0xf],_0x1e58da=_0x1ae749[0x0],_0x39c848=_0x1ae749[0x1],_0x3e27c1=_0x1ae749[0x2],_0x4fdf3a=_0x1ae749[0x3];_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x28901b,0x7,_0x36082f[0x0]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1bffa8,0xc,_0x36082f[0x1]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x511047,0x11,_0x36082f[0x2]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x38a45f,0x16,_0x36082f[0x3]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5ccd25,0x7,_0x36082f[0x4]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5f417d,0xc,_0x36082f[0x5]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0xc94269,0x11,_0x36082f[0x6]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x14420f,0x16,_0x36082f[0x7]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bdb74,0x7,_0x36082f[0x8]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x4fc70d,0xc,_0x36082f[0x9]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5eb69f,0x11,_0x36082f[0xa]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x49a230,0x16,_0x36082f[0xb]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1258cd,0x7,_0x36082f[0xc]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1e7b6a,0xc,_0x36082f[0xd]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x4ad335,0x11,_0x36082f[0xe]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5de604,0x16,_0x36082f[0xf]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bffa8,0x5,_0x36082f[0x10]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0xc94269,0x9,_0x36082f[0x11]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x49a230,0xe,_0x36082f[0x12]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x28901b,0x14,_0x36082f[0x13]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5f417d,0x5,_0x36082f[0x14]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5eb69f,0x9,_0x36082f[0x15]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5de604,0xe,_0x36082f[0x16]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5ccd25,0x14,_0x36082f[0x17]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x4fc70d,0x5,_0x36082f[0x18]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x4ad335,0x9,_0x36082f[0x19]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x38a45f,0xe,_0x36082f[0x1a]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1bdb74,0x14,_0x36082f[0x1b]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e7b6a,0x5,_0x36082f[0x1c]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x511047,0x9,_0x36082f[0x1d]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x14420f,0xe,_0x36082f[0x1e]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1258cd,0x14,_0x36082f[0x1f]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5f417d,0x4,_0x36082f[0x20]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1bdb74,0xb,_0x36082f[0x21]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x49a230,0x10,_0x36082f[0x22]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x4ad335,0x17,_0x36082f[0x23]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bffa8,0x4,_0x36082f[0x24]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5ccd25,0xb,_0x36082f[0x25]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x14420f,0x10,_0x36082f[0x26]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5eb69f,0x17,_0x36082f[0x27]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e7b6a,0x4,_0x36082f[0x28]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x28901b,0xb,_0x36082f[0x29]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x38a45f,0x10,_0x36082f[0x2a]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0xc94269,0x17,_0x36082f[0x2b]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x4fc70d,0x4,_0x36082f[0x2c]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1258cd,0xb,_0x36082f[0x2d]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5de604,0x10,_0x36082f[0x2e]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x511047,0x17,_0x36082f[0x2f]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x28901b,0x6,_0x36082f[0x30]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x14420f,0xa,_0x36082f[0x31]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x4ad335,0xf,_0x36082f[0x32]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5f417d,0x15,_0x36082f[0x33]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1258cd,0x6,_0x36082f[0x34]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x38a45f,0xa,_0x36082f[0x35]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5eb69f,0xf,_0x36082f[0x36]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1bffa8,0x15,_0x36082f[0x37]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bdb74,0x6,_0x36082f[0x38]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5de604,0xa,_0x36082f[0x39]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0xc94269,0xf,_0x36082f[0x3a]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1e7b6a,0x15,_0x36082f[0x3b]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5ccd25,0x6,_0x36082f[0x3c]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x49a230,0xa,_0x36082f[0x3d]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x511047,0xf,_0x36082f[0x3e]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x4fc70d,0x15,_0x36082f[0x3f]),_0x1ae749[0x0]=_0x1ae749[0x0]+_0x1e58da|0x0,_0x1ae749[0x1]=_0x1ae749[0x1]+_0x39c848|0x0,_0x1ae749[0x2]=_0x1ae749[0x2]+_0x3e27c1|0x0,_0x1ae749[0x3]=_0x1ae749[0x3]+_0x4fdf3a|0x0;},'_doFinalize':function(){var _0x42895c=_0x37e43f,_0x1e58a8=this[_0x42895c(0x105)],_0x2347f4=_0x1e58a8[_0x42895c(0x360)],_0x1dd43c=this[_0x42895c(0x15c)]*0x8,_0x1a41f9=_0x1e58a8[_0x42895c(0x407)]*0x8;_0x2347f4[_0x1a41f9>>>0x5]|=0x80<<0x18-_0x1a41f9%0x20;var _0x1509e6=_0x2c144c[_0x42895c(0x23a)](_0x1dd43c/0x100000000),_0x25cf6e=_0x1dd43c;_0x2347f4[(_0x1a41f9+0x40>>>0x9<<0x4)+0xf]=(_0x1509e6<<0x8|_0x1509e6>>>0x18)&0xff00ff|(_0x1509e6<<0x18|_0x1509e6>>>0x8)&0xff00ff00,_0x2347f4[(_0x1a41f9+0x40>>>0x9<<0x4)+0xe]=(_0x25cf6e<<0x8|_0x25cf6e>>>0x18)&0xff00ff|(_0x25cf6e<<0x18|_0x25cf6e>>>0x8)&0xff00ff00,_0x1e58a8[_0x42895c(0x407)]=(_0x2347f4[_0x42895c(0x389)]+0x1)*0x4,this[_0x42895c(0x234)]();for(var _0x42950f=this['_hash'],_0x330841=_0x42950f[_0x42895c(0x360)],_0x2bfc84=0x0;_0x2bfc84<0x4;_0x2bfc84++){var _0x4c9079=_0x330841[_0x2bfc84];_0x330841[_0x2bfc84]=(_0x4c9079<<0x8|_0x4c9079>>>0x18)&0xff00ff|(_0x4c9079<<0x18|_0x4c9079>>>0x8)&0xff00ff00;}return _0x42950f;},'clone':function(){var _0xfdb2a5=_0x37e43f,_0x4f000d=_0x2ba2cc[_0xfdb2a5(0x13e)][_0xfdb2a5(0x136)](this);return _0x4f000d[_0xfdb2a5(0x22f)]=this[_0xfdb2a5(0x22f)][_0xfdb2a5(0x13e)](),_0x4f000d;}});function _0x1d69fd(_0x4dd3d4,_0x20595f,_0x2f0cdd,_0x22c9f7,_0x5bd26b,_0x243a1d,_0x3605b5){var _0x50dfe5=_0x4dd3d4+(_0x20595f&_0x2f0cdd|~_0x20595f&_0x22c9f7)+_0x5bd26b+_0x3605b5;return(_0x50dfe5<<_0x243a1d|_0x50dfe5>>>0x20-_0x243a1d)+_0x20595f;}function _0x1172ca(_0x3010d1,_0x503c6a,_0x30dc62,_0x582ff0,_0x12c7c1,_0x347200,_0x3ef200){var _0x3cb075=_0x3010d1+(_0x503c6a&_0x582ff0|_0x30dc62&~_0x582ff0)+_0x12c7c1+_0x3ef200;return(_0x3cb075<<_0x347200|_0x3cb075>>>0x20-_0x347200)+_0x503c6a;}function _0x54f1ce(_0x225005,_0x5cfd02,_0x12eebb,_0x363e4f,_0x36a461,_0x3cae00,_0x454b5c){var _0x3586d0=_0x225005+(_0x5cfd02^_0x12eebb^_0x363e4f)+_0x36a461+_0x454b5c;return(_0x3586d0<<_0x3cae00|_0x3586d0>>>0x20-_0x3cae00)+_0x5cfd02;}function _0x54b323(_0x1a8939,_0x2d0c1b,_0x24a848,_0x265703,_0x4d05f7,_0x24bd70,_0x4290af){var _0x1ed545=_0x1a8939+(_0x24a848^(_0x2d0c1b|~_0x265703))+_0x4d05f7+_0x4290af;return(_0x1ed545<<_0x24bd70|_0x1ed545>>>0x20-_0x24bd70)+_0x2d0c1b;}_0x45ea2b[_0x37e43f(0x23d)]=_0x2ba2cc[_0x37e43f(0x2a9)](_0x540e9a),_0x45ea2b[_0x37e43f(0x328)]=_0x2ba2cc[_0x37e43f(0x1ac)](_0x540e9a);}(Math),_0x5c48ea[_0x177756(0x23d)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x16f01c(0x194)],Jt;function un(){var _0x3c5a63=_0x16f01c;return Jt||(Jt=0x1,function(_0x19a1c7,_0x1ee6a3){(function(_0x320cc2,_0x4ecd5e){var _0x95f9e4=_0x2af7;_0x19a1c7[_0x95f9e4(0x194)]=_0x4ecd5e(ie());}(ln,function(_0x4d835a){var _0x34695d=_0x2af7;return(function(){var _0x587746=_0x2af7,_0xbb14d8=_0x4d835a,_0x3328cb=_0xbb14d8[_0x587746(0x3b7)],_0x3a527b=_0x3328cb[_0x587746(0x30a)],_0x1b7a74=_0x3328cb[_0x587746(0x3f3)],_0x5151e8=_0xbb14d8[_0x587746(0x2e4)],_0x26d374=[],_0x4eeabe=_0x5151e8[_0x587746(0x312)]=_0x1b7a74[_0x587746(0x302)]({'_doReset':function(){var _0x1d3ad6=_0x587746;this['_hash']=new _0x3a527b[(_0x1d3ad6(0x3a2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1fc8d2,_0x553c72){var _0x3abcfa=_0x587746;for(var _0x2181cb=this[_0x3abcfa(0x22f)][_0x3abcfa(0x360)],_0x313141=_0x2181cb[0x0],_0x24a517=_0x2181cb[0x1],_0x3af2f8=_0x2181cb[0x2],_0xa3f3c0=_0x2181cb[0x3],_0x35684c=_0x2181cb[0x4],_0x549f13=0x0;_0x549f13<0x50;_0x549f13++){if(_0x549f13<0x10)_0x26d374[_0x549f13]=_0x1fc8d2[_0x553c72+_0x549f13]|0x0;else{var _0x2dc418=_0x26d374[_0x549f13-0x3]^_0x26d374[_0x549f13-0x8]^_0x26d374[_0x549f13-0xe]^_0x26d374[_0x549f13-0x10];_0x26d374[_0x549f13]=_0x2dc418<<0x1|_0x2dc418>>>0x1f;}var _0x1bcbe3=(_0x313141<<0x5|_0x313141>>>0x1b)+_0x35684c+_0x26d374[_0x549f13];_0x549f13<0x14?_0x1bcbe3+=(_0x24a517&_0x3af2f8|~_0x24a517&_0xa3f3c0)+0x5a827999:_0x549f13<0x28?_0x1bcbe3+=(_0x24a517^_0x3af2f8^_0xa3f3c0)+0x6ed9eba1:_0x549f13<0x3c?_0x1bcbe3+=(_0x24a517&_0x3af2f8|_0x24a517&_0xa3f3c0|_0x3af2f8&_0xa3f3c0)-0x70e44324:_0x1bcbe3+=(_0x24a517^_0x3af2f8^_0xa3f3c0)-0x359d3e2a,_0x35684c=_0xa3f3c0,_0xa3f3c0=_0x3af2f8,_0x3af2f8=_0x24a517<<0x1e|_0x24a517>>>0x2,_0x24a517=_0x313141,_0x313141=_0x1bcbe3;}_0x2181cb[0x0]=_0x2181cb[0x0]+_0x313141|0x0,_0x2181cb[0x1]=_0x2181cb[0x1]+_0x24a517|0x0,_0x2181cb[0x2]=_0x2181cb[0x2]+_0x3af2f8|0x0,_0x2181cb[0x3]=_0x2181cb[0x3]+_0xa3f3c0|0x0,_0x2181cb[0x4]=_0x2181cb[0x4]+_0x35684c|0x0;},'_doFinalize':function(){var _0x1d7c70=_0x587746,_0x3872dc=this[_0x1d7c70(0x105)],_0x5325ea=_0x3872dc[_0x1d7c70(0x360)],_0x4cf19c=this[_0x1d7c70(0x15c)]*0x8,_0x5646f6=_0x3872dc[_0x1d7c70(0x407)]*0x8;return _0x5325ea[_0x5646f6>>>0x5]|=0x80<<0x18-_0x5646f6%0x20,_0x5325ea[(_0x5646f6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4cf19c/0x100000000),_0x5325ea[(_0x5646f6+0x40>>>0x9<<0x4)+0xf]=_0x4cf19c,_0x3872dc['sigBytes']=_0x5325ea[_0x1d7c70(0x389)]*0x4,this[_0x1d7c70(0x234)](),this[_0x1d7c70(0x22f)];},'clone':function(){var _0x420eca=_0x587746,_0x120de9=_0x1b7a74[_0x420eca(0x13e)]['call'](this);return _0x120de9[_0x420eca(0x22f)]=this[_0x420eca(0x22f)][_0x420eca(0x13e)](),_0x120de9;}});_0xbb14d8[_0x587746(0x312)]=_0x1b7a74[_0x587746(0x2a9)](_0x4eeabe),_0xbb14d8[_0x587746(0x3f4)]=_0x1b7a74[_0x587746(0x1ac)](_0x4eeabe);}()),_0x4d835a[_0x34695d(0x312)];}));}(qe)),qe[_0x3c5a63(0x194)];}var ze={'exports':{}},dn=ze[_0x16f01c(0x194)],Xt;function fn(){return Xt||(Xt=0x1,function(_0x41633e,_0xd22cfd){(function(_0x5df13e,_0x1ee362){var _0x30c463=_0x2af7;_0x41633e[_0x30c463(0x194)]=_0x1ee362(ie());}(dn,function(_0x2346dc){(function(){var _0x1d6162=_0x2af7,_0xf526be=_0x2346dc,_0x30dd2d=_0xf526be[_0x1d6162(0x3b7)],_0xfe9c4c=_0x30dd2d[_0x1d6162(0x303)],_0x2dcd67=_0xf526be[_0x1d6162(0x31d)],_0x57326b=_0x2dcd67[_0x1d6162(0x22d)],_0x1c962c=_0xf526be[_0x1d6162(0x2e4)];_0x1c962c[_0x1d6162(0x201)]=_0xfe9c4c['extend']({'init':function(_0xd86992,_0xcf1745){var _0x2a0e9e=_0x1d6162;_0xd86992=this[_0x2a0e9e(0x308)]=new _0xd86992[(_0x2a0e9e(0x3a2))](),typeof _0xcf1745==_0x2a0e9e(0x19a)&&(_0xcf1745=_0x57326b['parse'](_0xcf1745));var _0xa350ae=_0xd86992['blockSize'],_0x575bc6=_0xa350ae*0x4;_0xcf1745['sigBytes']>_0x575bc6&&(_0xcf1745=_0xd86992[_0x2a0e9e(0x307)](_0xcf1745)),_0xcf1745[_0x2a0e9e(0x2bf)]();for(var _0x326bd2=this[_0x2a0e9e(0x19d)]=_0xcf1745[_0x2a0e9e(0x13e)](),_0x54fc9b=this['_iKey']=_0xcf1745['clone'](),_0x30a342=_0x326bd2[_0x2a0e9e(0x360)],_0x13066e=_0x54fc9b[_0x2a0e9e(0x360)],_0x31e4f3=0x0;_0x31e4f3<_0xa350ae;_0x31e4f3++)_0x30a342[_0x31e4f3]^=0x5c5c5c5c,_0x13066e[_0x31e4f3]^=0x36363636;_0x326bd2['sigBytes']=_0x54fc9b[_0x2a0e9e(0x407)]=_0x575bc6,this['reset']();},'reset':function(){var _0x3510ab=_0x1d6162,_0x39e290=this[_0x3510ab(0x308)];_0x39e290['reset'](),_0x39e290[_0x3510ab(0x384)](this[_0x3510ab(0x158)]);},'update':function(_0x58dd1f){var _0x26833f=_0x1d6162;return this[_0x26833f(0x308)][_0x26833f(0x384)](_0x58dd1f),this;},'finalize':function(_0x39b877){var _0x567271=_0x1d6162,_0x1fc2e0=this[_0x567271(0x308)],_0x46c3aa=_0x1fc2e0['finalize'](_0x39b877);_0x1fc2e0['reset']();var _0x27cb15=_0x1fc2e0[_0x567271(0x307)](this[_0x567271(0x19d)][_0x567271(0x13e)]()[_0x567271(0x2c1)](_0x46c3aa));return _0x27cb15;}});}());}));}(ze)),ze['exports'];}var vn=Ke[_0x16f01c(0x194)],Zt;function Ci(){var _0x527e85=_0x16f01c;return Zt||(Zt=0x1,function(_0x34231e,_0x5c3e8a){(function(_0x402f0d,_0x185259,_0x4bdec1){var _0x11f59e=_0x2af7;_0x34231e[_0x11f59e(0x194)]=_0x185259(ie(),un(),fn());}(vn,function(_0x4c9223){var _0x460ec5=_0x2af7;return(function(){var _0x2120b4=_0x2af7,_0x259ea0=_0x4c9223,_0xc0b174=_0x259ea0[_0x2120b4(0x3b7)],_0x32255f=_0xc0b174[_0x2120b4(0x303)],_0x28e8d5=_0xc0b174[_0x2120b4(0x30a)],_0x584080=_0x259ea0[_0x2120b4(0x2e4)],_0x20dcf4=_0x584080[_0x2120b4(0x23d)],_0x1448e3=_0x584080['EvpKDF']=_0x32255f[_0x2120b4(0x302)]({'cfg':_0x32255f[_0x2120b4(0x302)]({'keySize':0x80/0x20,'hasher':_0x20dcf4,'iterations':0x1}),'init':function(_0x5526ea){var _0x9d8ec0=_0x2120b4;this[_0x9d8ec0(0x2a3)]=this['cfg'][_0x9d8ec0(0x302)](_0x5526ea);},'compute':function(_0x43d3b4,_0x2997ca){var _0x114718=_0x2120b4;for(var _0x169bf3,_0x1170b9=this[_0x114718(0x2a3)],_0x222032=_0x1170b9['hasher'][_0x114718(0x406)](),_0x26deb3=_0x28e8d5[_0x114718(0x406)](),_0x492343=_0x26deb3[_0x114718(0x360)],_0x2ec1b5=_0x1170b9[_0x114718(0x2aa)],_0x287360=_0x1170b9[_0x114718(0x41d)];_0x492343['length']<_0x2ec1b5;){_0x169bf3&&_0x222032[_0x114718(0x384)](_0x169bf3),_0x169bf3=_0x222032[_0x114718(0x384)](_0x43d3b4)['finalize'](_0x2997ca),_0x222032[_0x114718(0x244)]();for(var _0x349b87=0x1;_0x349b87<_0x287360;_0x349b87++)_0x169bf3=_0x222032[_0x114718(0x307)](_0x169bf3),_0x222032['reset']();_0x26deb3[_0x114718(0x2c1)](_0x169bf3);}return _0x26deb3[_0x114718(0x407)]=_0x2ec1b5*0x4,_0x26deb3;}});_0x259ea0[_0x2120b4(0x335)]=function(_0x357511,_0x3ed4c7,_0x3a654b){var _0x1ca945=_0x2120b4;return _0x1448e3[_0x1ca945(0x406)](_0x3a654b)['compute'](_0x357511,_0x3ed4c7);};}()),_0x4c9223[_0x460ec5(0x335)];}));}(Ke)),Ke[_0x527e85(0x194)];}var Je={'exports':{}},pn=Je[_0x16f01c(0x194)],Qt;function Ni(){var _0x956848=_0x16f01c;return Qt||(Qt=0x1,function(_0x3a636a,_0xb7b2ad){(function(_0x64b379,_0x5c634d,_0x16d0b2){var _0x10dd40=_0x2af7;_0x3a636a[_0x10dd40(0x194)]=_0x5c634d(ie(),Ci());}(pn,function(_0x187586){var _0x411356=_0x2af7;_0x187586[_0x411356(0x3b7)][_0x411356(0x181)]||function(_0xdac5db){var _0x4f1d74=_0x411356,_0x11106d=_0x187586,_0x4400b9=_0x11106d[_0x4f1d74(0x3b7)],_0x257d4f=_0x4400b9[_0x4f1d74(0x303)],_0x171618=_0x4400b9[_0x4f1d74(0x30a)],_0x27d7f8=_0x4400b9[_0x4f1d74(0x30c)],_0x3dfef6=_0x11106d['enc'];_0x3dfef6[_0x4f1d74(0x22d)];var _0x1d880e=_0x3dfef6[_0x4f1d74(0x1b3)],_0x858262=_0x11106d[_0x4f1d74(0x2e4)],_0x491090=_0x858262['EvpKDF'],_0x302326=_0x4400b9[_0x4f1d74(0x181)]=_0x27d7f8[_0x4f1d74(0x302)]({'cfg':_0x257d4f['extend'](),'createEncryptor':function(_0x29a727,_0x177124){var _0x2f296c=_0x4f1d74;return this['create'](this[_0x2f296c(0x3c0)],_0x29a727,_0x177124);},'createDecryptor':function(_0x4c0141,_0x15c150){return this['create'](this['_DEC_XFORM_MODE'],_0x4c0141,_0x15c150);},'init':function(_0x12c1ca,_0x2a3eb0,_0x3ca6a9){var _0x1abc99=_0x4f1d74;this['cfg']=this[_0x1abc99(0x2a3)]['extend'](_0x3ca6a9),this[_0x1abc99(0x269)]=_0x12c1ca,this['_key']=_0x2a3eb0,this[_0x1abc99(0x244)]();},'reset':function(){var _0x16b1ba=_0x4f1d74;_0x27d7f8[_0x16b1ba(0x244)][_0x16b1ba(0x136)](this),this[_0x16b1ba(0x2e9)]();},'process':function(_0x282b04){var _0x46dc0d=_0x4f1d74;return this[_0x46dc0d(0x343)](_0x282b04),this[_0x46dc0d(0x234)]();},'finalize':function(_0x54db89){var _0x3c8f06=_0x4f1d74;_0x54db89&&this[_0x3c8f06(0x343)](_0x54db89);var _0xff039f=this[_0x3c8f06(0x3ac)]();return _0xff039f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x49f19e(_0x45ea9b){var _0x3efdea=_0x2af7;return typeof _0x45ea9b==_0x3efdea(0x19a)?_0x5c00cf:_0x47dda6;}return function(_0x38f863){return{'encrypt':function(_0x899ae4,_0x128c33,_0x338514){var _0x2c7790=_0x2af7;return _0x49f19e(_0x128c33)[_0x2c7790(0x2d3)](_0x38f863,_0x899ae4,_0x128c33,_0x338514);},'decrypt':function(_0x2884f4,_0x489da1,_0x51d2ca){var _0x313e12=_0x2af7;return _0x49f19e(_0x489da1)[_0x313e12(0x1dc)](_0x38f863,_0x2884f4,_0x489da1,_0x51d2ca);}};};}())});_0x4400b9[_0x4f1d74(0x176)]=_0x302326[_0x4f1d74(0x302)]({'_doFinalize':function(){var _0x29084a=_0x4f1d74,_0x2fb13f=this[_0x29084a(0x234)](!0x0);return _0x2fb13f;},'blockSize':0x1});var _0x5d7b1b=_0x11106d[_0x4f1d74(0x370)]={},_0x4de86b=_0x4400b9[_0x4f1d74(0x3af)]=_0x257d4f[_0x4f1d74(0x302)]({'createEncryptor':function(_0x5d81ed,_0x2b7865){var _0x2b4768=_0x4f1d74;return this[_0x2b4768(0x11b)]['create'](_0x5d81ed,_0x2b7865);},'createDecryptor':function(_0x229d1f,_0x11cd9a){var _0x154961=_0x4f1d74;return this[_0x154961(0x133)][_0x154961(0x406)](_0x229d1f,_0x11cd9a);},'init':function(_0x4fb1c2,_0x5755f8){var _0x18e59=_0x4f1d74;this[_0x18e59(0x255)]=_0x4fb1c2,this[_0x18e59(0x2e7)]=_0x5755f8;}}),_0x41ba6d=_0x5d7b1b[_0x4f1d74(0x110)]=(function(){var _0x1f4e46=_0x4f1d74,_0x5d1ad9=_0x4de86b[_0x1f4e46(0x302)]();_0x5d1ad9[_0x1f4e46(0x11b)]=_0x5d1ad9[_0x1f4e46(0x302)]({'processBlock':function(_0x18172c,_0x3cabec){var _0x1c4d97=_0x1f4e46,_0x4fc28b=this[_0x1c4d97(0x255)],_0x41edc5=_0x4fc28b[_0x1c4d97(0x3a1)];_0x4295bf[_0x1c4d97(0x136)](this,_0x18172c,_0x3cabec,_0x41edc5),_0x4fc28b[_0x1c4d97(0x123)](_0x18172c,_0x3cabec),this[_0x1c4d97(0x1ab)]=_0x18172c[_0x1c4d97(0x2fc)](_0x3cabec,_0x3cabec+_0x41edc5);}}),_0x5d1ad9[_0x1f4e46(0x133)]=_0x5d1ad9[_0x1f4e46(0x302)]({'processBlock':function(_0x128b61,_0x12e252){var _0x8b5831=_0x1f4e46,_0x2b94c3=this[_0x8b5831(0x255)],_0x14b051=_0x2b94c3['blockSize'],_0x8b4559=_0x128b61[_0x8b5831(0x2fc)](_0x12e252,_0x12e252+_0x14b051);_0x2b94c3['decryptBlock'](_0x128b61,_0x12e252),_0x4295bf[_0x8b5831(0x136)](this,_0x128b61,_0x12e252,_0x14b051),this[_0x8b5831(0x1ab)]=_0x8b4559;}});function _0x4295bf(_0x46820f,_0x2fe44e,_0xd846f9){var _0x1f54b5=_0x1f4e46,_0x1da12b,_0x58f4c7=this[_0x1f54b5(0x2e7)];_0x58f4c7?(_0x1da12b=_0x58f4c7,this['_iv']=_0xdac5db):_0x1da12b=this[_0x1f54b5(0x1ab)];for(var _0x4c666b=0x0;_0x4c666b<_0xd846f9;_0x4c666b++)_0x46820f[_0x2fe44e+_0x4c666b]^=_0x1da12b[_0x4c666b];}return _0x5d1ad9;}()),_0x1e7caf=_0x11106d[_0x4f1d74(0x2b7)]={},_0x41dad4=_0x1e7caf[_0x4f1d74(0x1f1)]={'pad':function(_0x4aa2bf,_0xbfd7b5){var _0x39a03b=_0x4f1d74;for(var _0x2b4252=_0xbfd7b5*0x4,_0x26eb9c=_0x2b4252-_0x4aa2bf[_0x39a03b(0x407)]%_0x2b4252,_0x40046a=_0x26eb9c<<0x18|_0x26eb9c<<0x10|_0x26eb9c<<0x8|_0x26eb9c,_0x3ec9b7=[],_0x19eb5d=0x0;_0x19eb5d<_0x26eb9c;_0x19eb5d+=0x4)_0x3ec9b7[_0x39a03b(0x288)](_0x40046a);var _0x47f170=_0x171618['create'](_0x3ec9b7,_0x26eb9c);_0x4aa2bf['concat'](_0x47f170);},'unpad':function(_0x6532d5){var _0x2bcd0b=_0x4f1d74,_0x152512=_0x6532d5[_0x2bcd0b(0x360)][_0x6532d5[_0x2bcd0b(0x407)]-0x1>>>0x2]&0xff;_0x6532d5[_0x2bcd0b(0x407)]-=_0x152512;}};_0x4400b9[_0x4f1d74(0x200)]=_0x302326['extend']({'cfg':_0x302326[_0x4f1d74(0x2a3)][_0x4f1d74(0x302)]({'mode':_0x41ba6d,'padding':_0x41dad4}),'reset':function(){var _0x1cba1a=_0x4f1d74,_0x144441;_0x302326[_0x1cba1a(0x244)][_0x1cba1a(0x136)](this);var _0x48a7e4=this[_0x1cba1a(0x2a3)],_0xe3e02f=_0x48a7e4['iv'],_0x39a35e=_0x48a7e4[_0x1cba1a(0x370)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x144441=_0x39a35e[_0x1cba1a(0x2c2)]:(_0x144441=_0x39a35e[_0x1cba1a(0x18c)],this[_0x1cba1a(0x15b)]=0x1),this['_mode']&&this[_0x1cba1a(0x32d)][_0x1cba1a(0x336)]==_0x144441?this['_mode'][_0x1cba1a(0x3a2)](this,_0xe3e02f&&_0xe3e02f['words']):(this[_0x1cba1a(0x32d)]=_0x144441[_0x1cba1a(0x136)](_0x39a35e,this,_0xe3e02f&&_0xe3e02f[_0x1cba1a(0x360)]),this[_0x1cba1a(0x32d)][_0x1cba1a(0x336)]=_0x144441);},'_doProcessBlock':function(_0x3e2fa8,_0x33e4a7){var _0x75ce2a=_0x4f1d74;this[_0x75ce2a(0x32d)]['processBlock'](_0x3e2fa8,_0x33e4a7);},'_doFinalize':function(){var _0x869e07=_0x4f1d74,_0x25e58e,_0xb9b08e=this['cfg']['padding'];return this[_0x869e07(0x269)]==this[_0x869e07(0x3c0)]?(_0xb9b08e[_0x869e07(0x2b7)](this[_0x869e07(0x105)],this['blockSize']),_0x25e58e=this[_0x869e07(0x234)](!0x0)):(_0x25e58e=this['_process'](!0x0),_0xb9b08e[_0x869e07(0x35c)](_0x25e58e)),_0x25e58e;},'blockSize':0x80/0x20});var _0x218fa8=_0x4400b9[_0x4f1d74(0x38a)]=_0x257d4f[_0x4f1d74(0x302)]({'init':function(_0x112d2d){var _0x1de065=_0x4f1d74;this[_0x1de065(0x262)](_0x112d2d);},'toString':function(_0x2d5ef2){var _0x4565d6=_0x4f1d74;return(_0x2d5ef2||this[_0x4565d6(0x205)])[_0x4565d6(0x2a1)](this);}}),_0xed80a6=_0x11106d['format']={},_0x38657a=_0xed80a6['OpenSSL']={'stringify':function(_0x38f4b5){var _0x4242af=_0x4f1d74,_0x3fe10d,_0x2ae2f6=_0x38f4b5[_0x4242af(0x3d5)],_0x19c579=_0x38f4b5['salt'];return _0x19c579?_0x3fe10d=_0x171618['create']([0x53616c74,0x65645f5f])[_0x4242af(0x2c1)](_0x19c579)[_0x4242af(0x2c1)](_0x2ae2f6):_0x3fe10d=_0x2ae2f6,_0x3fe10d[_0x4242af(0x146)](_0x1d880e);},'parse':function(_0x53f44c){var _0x4c9502=_0x4f1d74,_0x1b590c,_0x217208=_0x1d880e[_0x4c9502(0x2a2)](_0x53f44c),_0xdbfd74=_0x217208[_0x4c9502(0x360)];return _0xdbfd74[0x0]==0x53616c74&&_0xdbfd74[0x1]==0x65645f5f&&(_0x1b590c=_0x171618[_0x4c9502(0x406)](_0xdbfd74['slice'](0x2,0x4)),_0xdbfd74['splice'](0x0,0x4),_0x217208[_0x4c9502(0x407)]-=0x10),_0x218fa8[_0x4c9502(0x406)]({'ciphertext':_0x217208,'salt':_0x1b590c});}},_0x47dda6=_0x4400b9[_0x4f1d74(0x39d)]=_0x257d4f['extend']({'cfg':_0x257d4f[_0x4f1d74(0x302)]({'format':_0x38657a}),'encrypt':function(_0x1402cd,_0x573675,_0x12744a,_0x52f023){var _0x4431ff=_0x4f1d74;_0x52f023=this[_0x4431ff(0x2a3)][_0x4431ff(0x302)](_0x52f023);var _0x1a5a69=_0x1402cd[_0x4431ff(0x2c2)](_0x12744a,_0x52f023),_0x31a28f=_0x1a5a69['finalize'](_0x573675),_0x3f138b=_0x1a5a69[_0x4431ff(0x2a3)];return _0x218fa8[_0x4431ff(0x406)]({'ciphertext':_0x31a28f,'key':_0x12744a,'iv':_0x3f138b['iv'],'algorithm':_0x1402cd,'mode':_0x3f138b[_0x4431ff(0x370)],'padding':_0x3f138b['padding'],'blockSize':_0x1402cd['blockSize'],'formatter':_0x52f023[_0x4431ff(0x29d)]});},'decrypt':function(_0x329da4,_0x3a298b,_0x220274,_0x1e1dde){var _0x40577c=_0x4f1d74;_0x1e1dde=this['cfg'][_0x40577c(0x302)](_0x1e1dde),_0x3a298b=this[_0x40577c(0x2fe)](_0x3a298b,_0x1e1dde['format']);var _0x130c1b=_0x329da4[_0x40577c(0x18c)](_0x220274,_0x1e1dde)[_0x40577c(0x307)](_0x3a298b['ciphertext']);return _0x130c1b;},'_parse':function(_0x3685dd,_0x1a5eb4){var _0x30c2a1=_0x4f1d74;return typeof _0x3685dd=='string'?_0x1a5eb4[_0x30c2a1(0x2a2)](_0x3685dd,this):_0x3685dd;}}),_0x405f5b=_0x11106d[_0x4f1d74(0x202)]={},_0x43f21a=_0x405f5b[_0x4f1d74(0x36d)]={'execute':function(_0x22a69e,_0x4de805,_0x1c1a21,_0x551a41,_0x3d6875){var _0x1395bb=_0x4f1d74;if(_0x551a41||(_0x551a41=_0x171618[_0x1395bb(0x3d6)](0x40/0x8)),_0x3d6875)var _0x48d8b6=_0x491090[_0x1395bb(0x406)]({'keySize':_0x4de805+_0x1c1a21,'hasher':_0x3d6875})[_0x1395bb(0x294)](_0x22a69e,_0x551a41);else var _0x48d8b6=_0x491090['create']({'keySize':_0x4de805+_0x1c1a21})[_0x1395bb(0x294)](_0x22a69e,_0x551a41);var _0xe1a854=_0x171618[_0x1395bb(0x406)](_0x48d8b6[_0x1395bb(0x360)][_0x1395bb(0x2fc)](_0x4de805),_0x1c1a21*0x4);return _0x48d8b6[_0x1395bb(0x407)]=_0x4de805*0x4,_0x218fa8[_0x1395bb(0x406)]({'key':_0x48d8b6,'iv':_0xe1a854,'salt':_0x551a41});}},_0x5c00cf=_0x4400b9[_0x4f1d74(0x3e7)]=_0x47dda6[_0x4f1d74(0x302)]({'cfg':_0x47dda6[_0x4f1d74(0x2a3)][_0x4f1d74(0x302)]({'kdf':_0x43f21a}),'encrypt':function(_0x392ede,_0x2eb9b7,_0x45dae6,_0x80d20b){var _0x20582d=_0x4f1d74;_0x80d20b=this[_0x20582d(0x2a3)][_0x20582d(0x302)](_0x80d20b);var _0x17d224=_0x80d20b[_0x20582d(0x202)]['execute'](_0x45dae6,_0x392ede['keySize'],_0x392ede[_0x20582d(0x3e0)],_0x80d20b[_0x20582d(0x40b)],_0x80d20b['hasher']);_0x80d20b['iv']=_0x17d224['iv'];var _0x485d18=_0x47dda6[_0x20582d(0x2d3)]['call'](this,_0x392ede,_0x2eb9b7,_0x17d224[_0x20582d(0x37a)],_0x80d20b);return _0x485d18['mixIn'](_0x17d224),_0x485d18;},'decrypt':function(_0xf7a679,_0x44c851,_0x10195f,_0x3a3ebb){var _0x4c1521=_0x4f1d74;_0x3a3ebb=this[_0x4c1521(0x2a3)][_0x4c1521(0x302)](_0x3a3ebb),_0x44c851=this['_parse'](_0x44c851,_0x3a3ebb[_0x4c1521(0x29d)]);var _0x2e0ecb=_0x3a3ebb['kdf']['execute'](_0x10195f,_0xf7a679[_0x4c1521(0x2aa)],_0xf7a679[_0x4c1521(0x3e0)],_0x44c851[_0x4c1521(0x40b)],_0x3a3ebb[_0x4c1521(0x38c)]);_0x3a3ebb['iv']=_0x2e0ecb['iv'];var _0xbbb4a=_0x47dda6[_0x4c1521(0x1dc)][_0x4c1521(0x136)](this,_0xf7a679,_0x44c851,_0x2e0ecb[_0x4c1521(0x37a)],_0x3a3ebb);return _0xbbb4a;}});}();}));}(Je)),Je[_0x956848(0x194)];}var En=Ve['exports'],ei;function mn(){var _0x408a9a=_0x16f01c;return ei||(ei=0x1,function(_0x2af408,_0x45f182){(function(_0x2fefca,_0x3b5478,_0x3c9c28){_0x2af408['exports']=_0x3b5478(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x40823f){var _0x5c4225=_0x2af7;return(function(){var _0x1705a9=_0x2af7,_0x32bfa0=_0x40823f,_0x5d14c6=_0x32bfa0[_0x1705a9(0x3b7)],_0x1274b4=_0x5d14c6[_0x1705a9(0x200)],_0xb3474e=_0x32bfa0[_0x1705a9(0x2e4)],_0x2ffd42=[],_0xe13c84=[],_0x367c97=[],_0x1db8e7=[],_0x21388c=[],_0x2cbfc6=[],_0x613d33=[],_0x187148=[],_0x3c01a5=[],_0x217192=[];(function(){for(var _0x4aa26e=[],_0x3ca92c=0x0;_0x3ca92c<0x100;_0x3ca92c++)_0x3ca92c<0x80?_0x4aa26e[_0x3ca92c]=_0x3ca92c<<0x1:_0x4aa26e[_0x3ca92c]=_0x3ca92c<<0x1^0x11b;for(var _0x5bc1ec=0x0,_0x369488=0x0,_0x3ca92c=0x0;_0x3ca92c<0x100;_0x3ca92c++){var _0x52fa6d=_0x369488^_0x369488<<0x1^_0x369488<<0x2^_0x369488<<0x3^_0x369488<<0x4;_0x52fa6d=_0x52fa6d>>>0x8^_0x52fa6d&0xff^0x63,_0x2ffd42[_0x5bc1ec]=_0x52fa6d,_0xe13c84[_0x52fa6d]=_0x5bc1ec;var _0x19e706=_0x4aa26e[_0x5bc1ec],_0x470744=_0x4aa26e[_0x19e706],_0x5d7362=_0x4aa26e[_0x470744],_0x1f3a35=_0x4aa26e[_0x52fa6d]*0x101^_0x52fa6d*0x1010100;_0x367c97[_0x5bc1ec]=_0x1f3a35<<0x18|_0x1f3a35>>>0x8,_0x1db8e7[_0x5bc1ec]=_0x1f3a35<<0x10|_0x1f3a35>>>0x10,_0x21388c[_0x5bc1ec]=_0x1f3a35<<0x8|_0x1f3a35>>>0x18,_0x2cbfc6[_0x5bc1ec]=_0x1f3a35;var _0x1f3a35=_0x5d7362*0x1010101^_0x470744*0x10001^_0x19e706*0x101^_0x5bc1ec*0x1010100;_0x613d33[_0x52fa6d]=_0x1f3a35<<0x18|_0x1f3a35>>>0x8,_0x187148[_0x52fa6d]=_0x1f3a35<<0x10|_0x1f3a35>>>0x10,_0x3c01a5[_0x52fa6d]=_0x1f3a35<<0x8|_0x1f3a35>>>0x18,_0x217192[_0x52fa6d]=_0x1f3a35,_0x5bc1ec?(_0x5bc1ec=_0x19e706^_0x4aa26e[_0x4aa26e[_0x4aa26e[_0x5d7362^_0x19e706]]],_0x369488^=_0x4aa26e[_0x4aa26e[_0x369488]]):_0x5bc1ec=_0x369488=0x1;}}());var _0x3379ae=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x121e62=_0xb3474e[_0x1705a9(0x28c)]=_0x1274b4[_0x1705a9(0x302)]({'_doReset':function(){var _0x6de91c=_0x1705a9,_0x1505b0;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x6de91c(0x2ed)])){for(var _0x52c83e=this['_keyPriorReset']=this[_0x6de91c(0x2ed)],_0x5c92ef=_0x52c83e[_0x6de91c(0x360)],_0x319a5b=_0x52c83e[_0x6de91c(0x407)]/0x4,_0x3c5373=this['_nRounds']=_0x319a5b+0x6,_0x5e6480=(_0x3c5373+0x1)*0x4,_0x12e673=this[_0x6de91c(0x15e)]=[],_0x13e913=0x0;_0x13e913<_0x5e6480;_0x13e913++)_0x13e913<_0x319a5b?_0x12e673[_0x13e913]=_0x5c92ef[_0x13e913]:(_0x1505b0=_0x12e673[_0x13e913-0x1],_0x13e913%_0x319a5b?_0x319a5b>0x6&&_0x13e913%_0x319a5b==0x4&&(_0x1505b0=_0x2ffd42[_0x1505b0>>>0x18]<<0x18|_0x2ffd42[_0x1505b0>>>0x10&0xff]<<0x10|_0x2ffd42[_0x1505b0>>>0x8&0xff]<<0x8|_0x2ffd42[_0x1505b0&0xff]):(_0x1505b0=_0x1505b0<<0x8|_0x1505b0>>>0x18,_0x1505b0=_0x2ffd42[_0x1505b0>>>0x18]<<0x18|_0x2ffd42[_0x1505b0>>>0x10&0xff]<<0x10|_0x2ffd42[_0x1505b0>>>0x8&0xff]<<0x8|_0x2ffd42[_0x1505b0&0xff],_0x1505b0^=_0x3379ae[_0x13e913/_0x319a5b|0x0]<<0x18),_0x12e673[_0x13e913]=_0x12e673[_0x13e913-_0x319a5b]^_0x1505b0);for(var _0x1dcbd8=this['_invKeySchedule']=[],_0x17ce05=0x0;_0x17ce05<_0x5e6480;_0x17ce05++){var _0x13e913=_0x5e6480-_0x17ce05;if(_0x17ce05%0x4)var _0x1505b0=_0x12e673[_0x13e913];else var _0x1505b0=_0x12e673[_0x13e913-0x4];_0x17ce05<0x4||_0x13e913<=0x4?_0x1dcbd8[_0x17ce05]=_0x1505b0:_0x1dcbd8[_0x17ce05]=_0x613d33[_0x2ffd42[_0x1505b0>>>0x18]]^_0x187148[_0x2ffd42[_0x1505b0>>>0x10&0xff]]^_0x3c01a5[_0x2ffd42[_0x1505b0>>>0x8&0xff]]^_0x217192[_0x2ffd42[_0x1505b0&0xff]];}}},'encryptBlock':function(_0x511353,_0x5a10bf){var _0x33f857=_0x1705a9;this[_0x33f857(0x16d)](_0x511353,_0x5a10bf,this[_0x33f857(0x15e)],_0x367c97,_0x1db8e7,_0x21388c,_0x2cbfc6,_0x2ffd42);},'decryptBlock':function(_0x315207,_0x3f16fa){var _0x278451=_0x1705a9,_0x5279cb=_0x315207[_0x3f16fa+0x1];_0x315207[_0x3f16fa+0x1]=_0x315207[_0x3f16fa+0x3],_0x315207[_0x3f16fa+0x3]=_0x5279cb,this['_doCryptBlock'](_0x315207,_0x3f16fa,this[_0x278451(0x233)],_0x613d33,_0x187148,_0x3c01a5,_0x217192,_0xe13c84);var _0x5279cb=_0x315207[_0x3f16fa+0x1];_0x315207[_0x3f16fa+0x1]=_0x315207[_0x3f16fa+0x3],_0x315207[_0x3f16fa+0x3]=_0x5279cb;},'_doCryptBlock':function(_0x36d850,_0x963671,_0x3c0b9e,_0x275682,_0x24fd95,_0x1ad0bd,_0x11fb85,_0x1dc422){var _0x561492=_0x1705a9;for(var _0x3f26ad=this[_0x561492(0x40d)],_0x3b1df5=_0x36d850[_0x963671]^_0x3c0b9e[0x0],_0x215450=_0x36d850[_0x963671+0x1]^_0x3c0b9e[0x1],_0x4c5af3=_0x36d850[_0x963671+0x2]^_0x3c0b9e[0x2],_0x96f076=_0x36d850[_0x963671+0x3]^_0x3c0b9e[0x3],_0x1f5b5a=0x4,_0x20b49d=0x1;_0x20b49d<_0x3f26ad;_0x20b49d++){var _0x5bde18=_0x275682[_0x3b1df5>>>0x18]^_0x24fd95[_0x215450>>>0x10&0xff]^_0x1ad0bd[_0x4c5af3>>>0x8&0xff]^_0x11fb85[_0x96f076&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x28a040=_0x275682[_0x215450>>>0x18]^_0x24fd95[_0x4c5af3>>>0x10&0xff]^_0x1ad0bd[_0x96f076>>>0x8&0xff]^_0x11fb85[_0x3b1df5&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x414e02=_0x275682[_0x4c5af3>>>0x18]^_0x24fd95[_0x96f076>>>0x10&0xff]^_0x1ad0bd[_0x3b1df5>>>0x8&0xff]^_0x11fb85[_0x215450&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x54977e=_0x275682[_0x96f076>>>0x18]^_0x24fd95[_0x3b1df5>>>0x10&0xff]^_0x1ad0bd[_0x215450>>>0x8&0xff]^_0x11fb85[_0x4c5af3&0xff]^_0x3c0b9e[_0x1f5b5a++];_0x3b1df5=_0x5bde18,_0x215450=_0x28a040,_0x4c5af3=_0x414e02,_0x96f076=_0x54977e;}var _0x5bde18=(_0x1dc422[_0x3b1df5>>>0x18]<<0x18|_0x1dc422[_0x215450>>>0x10&0xff]<<0x10|_0x1dc422[_0x4c5af3>>>0x8&0xff]<<0x8|_0x1dc422[_0x96f076&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x28a040=(_0x1dc422[_0x215450>>>0x18]<<0x18|_0x1dc422[_0x4c5af3>>>0x10&0xff]<<0x10|_0x1dc422[_0x96f076>>>0x8&0xff]<<0x8|_0x1dc422[_0x3b1df5&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x414e02=(_0x1dc422[_0x4c5af3>>>0x18]<<0x18|_0x1dc422[_0x96f076>>>0x10&0xff]<<0x10|_0x1dc422[_0x3b1df5>>>0x8&0xff]<<0x8|_0x1dc422[_0x215450&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x54977e=(_0x1dc422[_0x96f076>>>0x18]<<0x18|_0x1dc422[_0x3b1df5>>>0x10&0xff]<<0x10|_0x1dc422[_0x215450>>>0x8&0xff]<<0x8|_0x1dc422[_0x4c5af3&0xff])^_0x3c0b9e[_0x1f5b5a++];_0x36d850[_0x963671]=_0x5bde18,_0x36d850[_0x963671+0x1]=_0x28a040,_0x36d850[_0x963671+0x2]=_0x414e02,_0x36d850[_0x963671+0x3]=_0x54977e;},'keySize':0x100/0x20});_0x32bfa0[_0x1705a9(0x28c)]=_0x1274b4['_createHelper'](_0x121e62);}()),_0x40823f[_0x5c4225(0x28c)];}));}(Ve)),Ve[_0x408a9a(0x194)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x16f01c(0x194)],ii;function On(){var _0xdab3c7=_0x16f01c;return ii||(ii=0x1,function(_0x9ac684,_0x856f26){(function(_0xbb128,_0x31887f){var _0x3567f9=_0x2af7;_0x9ac684[_0x3567f9(0x194)]=_0x31887f(ie());}(Tn,function(_0x3c13ff){var _0x4ba9b7=_0x2af7;return _0x3c13ff[_0x4ba9b7(0x31d)][_0x4ba9b7(0x22d)];}));}(Xe)),Xe[_0xdab3c7(0x194)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x16f01c(0x194)],si;function bn(){var _0x4a717f=_0x16f01c;return si||(si=0x1,function(_0x4a7bfb,_0x5c0a92){(function(_0x22e0e2,_0x2266f1){_0x4a7bfb['exports']=_0x2266f1(ie());}(Nn,function(_0x54efb5){var _0x2d6a62=_0x2af7;return(function(){var _0x47da81=_0x2af7;if(typeof ArrayBuffer==_0x47da81(0x3b9)){var _0x4f0ba2=_0x54efb5,_0x4330d2=_0x4f0ba2[_0x47da81(0x3b7)],_0x250b14=_0x4330d2[_0x47da81(0x30a)],_0x208f88=_0x250b14[_0x47da81(0x3a2)],_0x333a3b=_0x250b14[_0x47da81(0x3a2)]=function(_0xbfaecb){var _0x1566ce=_0x47da81;if(_0xbfaecb instanceof ArrayBuffer&&(_0xbfaecb=new Uint8Array(_0xbfaecb)),(_0xbfaecb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xbfaecb instanceof Uint8ClampedArray||_0xbfaecb instanceof Int16Array||_0xbfaecb instanceof Uint16Array||_0xbfaecb instanceof Int32Array||_0xbfaecb instanceof Uint32Array||_0xbfaecb instanceof Float32Array||_0xbfaecb instanceof Float64Array)&&(_0xbfaecb=new Uint8Array(_0xbfaecb[_0x1566ce(0x378)],_0xbfaecb[_0x1566ce(0x1c3)],_0xbfaecb['byteLength'])),_0xbfaecb instanceof Uint8Array){for(var _0x346aec=_0xbfaecb[_0x1566ce(0x12e)],_0xf5eda4=[],_0x373cb9=0x0;_0x373cb9<_0x346aec;_0x373cb9++)_0xf5eda4[_0x373cb9>>>0x2]|=_0xbfaecb[_0x373cb9]<<0x18-_0x373cb9%0x4*0x8;_0x208f88['call'](this,_0xf5eda4,_0x346aec);}else _0x208f88['apply'](this,arguments);};_0x333a3b['prototype']=_0x250b14;}}()),_0x54efb5[_0x2d6a62(0x3b7)][_0x2d6a62(0x30a)];}));}(Ze)),Ze[_0x4a717f(0x194)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe['exports'],ni;function An(){var _0x597dfb=_0x16f01c;return ni||(ni=0x1,function(_0xfe7b2,_0xb3116b){(function(_0x4e5cf7,_0x19a4a1,_0x1828e1){var _0x12ef3c=_0x2af7;_0xfe7b2[_0x12ef3c(0x194)]=_0x19a4a1(ie(),Ni());}(Un,function(_0xfe37e0){var _0x1c856b=_0x2af7;return _0xfe37e0[_0x1c856b(0x2b7)][_0x1c856b(0x3a7)]={'pad':function(){},'unpad':function(){}},_0xfe37e0['pad'][_0x1c856b(0x3a7)];}));}(Qe)),Qe[_0x597dfb(0x194)];}var Pn=An();const wn=$e(Pn);function Mn(_0x4c88f8,_0x4010b2){var _0x314a83=_0x16f01c;const _0x1c9b38=_0x4010b2-_0x4c88f8['length']%_0x4010b2,_0x10862c=String[_0x314a83(0x21b)](_0x1c9b38)[_0x314a83(0x39f)](_0x1c9b38);return _0x4c88f8+_0x10862c;}function Ln(_0x37c69f,_0x427c2e){var _0x2a3c6d=_0x16f01c;const _0x153496=yn['random'](0x10),_0x56cc4b=Mn(_0x37c69f,0x10),_0x5f0fb9=Sn[_0x2a3c6d(0x2d3)](Cn[_0x2a3c6d(0x2a2)](_0x56cc4b),ti['parse'](_0x427c2e),{'iv':_0x153496,'padding':wn});return _0x153496[_0x2a3c6d(0x2c1)](_0x5f0fb9[_0x2a3c6d(0x3d5)])['toString'](ti);}function xn(){var _0x185ca9=_0x16f01c;const _0x5a422f=_0x133b38()[_0x185ca9(0x3c7)];if(_0x5a422f){const _0x3f6396={'time':Math['floor'](Date[_0x185ca9(0x3d1)]()/0x3e8),'domain':location[_0x185ca9(0x3fb)]};return Ln(JSON['stringify'](_0x3f6396),_0x5a422f);}}var kn=Object[_0x16f01c(0x11f)],$n=(_0x4eb9ee,_0x5cf507,_0x3496a7,_0x14fa65)=>{var _0x41ef4d=_0x16f01c;for(var _0x2634b6=_0x14fa65>0x1?void 0x0:_0x14fa65?kn(_0x5cf507,_0x3496a7):_0x5cf507,_0x4f46bc=_0x4eb9ee[_0x41ef4d(0x389)]-0x1,_0x18e76e;_0x4f46bc>=0x0;_0x4f46bc--)(_0x18e76e=_0x4eb9ee[_0x4f46bc])&&(_0x2634b6=_0x18e76e(_0x2634b6)||_0x2634b6);return _0x2634b6;},Hn=(_0x2f4460,_0x4cc593)=>(_0x9acff1,_0x1e59be)=>_0x4cc593(_0x9acff1,_0x1e59be,_0x2f4460);let at=class{constructor(_0x51c011){var _0x24c267=_0x16f01c;this[_0x24c267(0x361)]=_0x51c011,this[_0x24c267(0x1c6)]();}[_0x16f01c(0x1c6)](){var _0x537eca=_0x16f01c;this[_0x537eca(0x361)][_0x537eca(0x379)]({'interceptor':(_0xa97412,_0x57cb51)=>{var _0x4e6874=_0x537eca;const _0xf3975a=_0xa97412[_0x4e6874(0x264)],_0x4a0a60=xn();return _0x4a0a60&&_0xf3975a[_0x4e6874(0x139)](_0x4e6874(0x1d6),_0x4a0a60),_0x57cb51(_0xa97412);}});}};at=$n([Hn(0x0,_0x39a463(_0x2e0fa2))],at);var Bn=Object[_0x16f01c(0x11f)],Fn=(_0x3a34e1,_0x477dee,_0x245697,_0x3f121d)=>{var _0x23459d=_0x16f01c;for(var _0x34d176=_0x3f121d>0x1?void 0x0:_0x3f121d?Bn(_0x477dee,_0x245697):_0x477dee,_0x26546b=_0x3a34e1[_0x23459d(0x389)]-0x1,_0x1e50df;_0x26546b>=0x0;_0x26546b--)(_0x1e50df=_0x3a34e1[_0x26546b])&&(_0x34d176=_0x1e50df(_0x34d176)||_0x34d176);return _0x34d176;},vt=(_0x41dee7,_0x50e201)=>(_0x24169f,_0x1f177f)=>_0x50e201(_0x24169f,_0x1f177f,_0x41dee7);function _0xe9bb(){var _0x267a33=['SNAPSHOT_HAS_BEEN_REMOVED','online$','AWAITING','pad','_getSignURL','defineProperty','socketService','objectType','_socketReady','saveSnapshot','COMPRESS_MUTATION_SEND','clamp','updatePermissionPoint','concat','createEncryptor','UNIVER_PROJECT','name','append','close','failed\x20to\x20apply\x20missed\x20changesets!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_exhaustRemoteChangesetQueue','_updateLocalCache','\x20in\x20_schedule.','276UhWnPP','OTHER_CLIENTS_EDITING','_joinRoom','/object','WECHAT_HAS_BEEN_BOUND','_onRemoteChangeset','REDEMPTION_CODE_NOT_STARTED','encrypt','asObservable','_incrementRevisionNumber','RETRY_CONNECTING_MAX_COUNT','catch','getUnitType','transformUndoRedo','_transformUndoredo','REDEMPTION_CODE_INACTIVE','_getLoginPath','_unitInfo$','LIVESHARE_OPERATION','onRemoteRetry','image/gif','transformMutationsWithChangeset','_onConflict','YUUMI_CONNECTOR_URL_NOT_FOUND','algo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_ACK','_iv','LOGIN_FAILED','_doReset','_sender','getAllMembers','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_key','onTransformIME','_clearCollaborationTimeoutTimer','_onRecvEvent','unitInfo$','SOCKET_FAILED','_getAPIPrefix','_commentService','filter','replace','\x0aCurrent:\x20','type','awaiting_with_pending','[CollaborationSessionService]:\x20socket\x20error','memberID','slice','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_parse','listRoles','YUUMI_ASYNCIO_CANCELLED','resend','extend','Base','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','DEFAULT_FILE_NAME','permissionRejEvent','finalize','_hasher','_unitID','WordArray','AWAITING_WITH_PENDING','BufferedBlockAlgorithm','unitID','stopTime','createCollaborator','COMPRESS_MUTATION_APPLY','getCollabEntity','SHA1','UserProfileImg','_injector','loadUnitOfRevision','avatar','JOIN','infoRsp','PERMISSION_REJ','enableAuthServer','NOT_FOUND','[CollaborationSession]','enc','sendChangesetTimeout','sessionStatus','getCurrentSelections','randomBytes','_snapshotServerService','revision','/object/','_getSendChangesetTimeout','snapshot','initWorkbookPermissionChange','HmacMD5','encode','session.room-full','subUnitId','_acknowledgedAwaitingChangeset','_mode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationState]:\x20apply\x20error!','file','getWorkbookSelections','_replaceFileID','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','EvpKDF','__creator','&to=','UnitEmbedded','state','_singleActiveUnitService','editing\x20status\x20changed\x20to','_sessionStatus$','reject','NO_OTHER_CLIENTS_EDITING','subscribe','[OfflineState]:\x20received\x20changeset.','shouldCloseConn','LIVESHARE_NEW_HOST','_append','JOIN_ROOM_FULL','_waitCount','_resendTimer','status$','listCollaborators','onSendChangeset','workbook','override','map','requestParams','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_map','_clearHeartbeatTimer','_imageSourceCache','/universer-api/authz','getUnitOnRev','&assign=','collaboration-client.config','/universer-api/oidc/authpage','save\x20fail\x20reason\x20is\x20','indexOf','ENTITLE_DUP_SUBSCRIPTION','RECV','body','unpad','_entityInit$','_change$','SUBMIT_CHANGESET_TIMEOUT','words','_httpService','YUUMI_ALL_TABLES_IS_INVALID','abs','onStateChange','charCodeAt','event$','MUTATION','socket\x20open.','_decreaseWaiting','signUrlServerUrl','INVITE_CODE_ALREADY_BOUND','_logService','OpenSSL','pipe','_HTTPService','mode','retryConnectingInterval','collaboration_new_changeset','_univerInstanceService','fetch_missing','pauseCollaboration','transformStack\x20failed!','textRanges','buffer','registerHTTPInterceptor','key','session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','patch','LICENSE_IMPORT_SIZE_EXCEEDED','getInterceptPoints','_sendHeartbeatTimer','collabWebSocketUrl','AUTHORIZE_CODE_ILLEGAL','liveShareNewHost','update','getRoom','_changesetSessionId','UPDATE_PERMISSION_OBJ','onlyLocal','length','CipherParams','APPLY_DUPLICATED','hasher','_onRemoteRejected','ENTITLE_INSUFFICIENT_QUOTA','status','error','NEW_CHANGESETS','getTime','_scheduleCollaborationTimeoutTimer','toggleOnline','cmd','CLOSE_ROOM','REDEMPTION_INVALID_CODE','_clearRetryConnectingTimer','FETCH_MISS','_collabSessionService','JOIN_ROOM_FAILED','getUnitStatus$','SerializableCipher','unknown','repeat','close$','blockSize','init','[PendingState]:\x20received\x20acknowledgement.','_registerDependencies','getCollabEntity$','authzUrl','NoPadding','_onOffline','_transformRemoteChangesetByStateCache','withCredentials','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_doFinalize','LIVESHARE_REQUEST_HOST','getSheetId','BlockCipherMode','startsWith','[SyncedState]:\x20received\x20rejection.','code','HEARTBEAT','UNIVER_DOC','findIndex','_revisionService','lib','ENSURE_SNAPSHOT_EXECUTION','function','[PendingState]:\x20received\x20rejection.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','connection\x20error','getValue','_getCurrentRevision','_ENC_XFORM_MODE','add','saveChangeset','935lasJMU','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_updateStatus','c1Prime','__Key__','from','_transformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','setShowComponents','PERSON','/fetchmissing?from=','_reverseMap','image/jpeg','now','apply','_instanceService','COMPLETION_FINISHED','ciphertext','random','LICENSE_DISTRO_REJECTED','_redoStacks','pending','JOINING','HELLO','UNAUTHENTICATED','_initDependencies','_init','_emitMembers','ivSize','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','subject','FileId','_onMessage','_shouldReportTelemetry','getResourcesRequest','PasswordBasedCipher','_memberService','getMember','post','_permissionService','[CollaborationEntity]','_queuedRemoteChangesets','_disableEditing','UnitSnapshot','_transformSelections','onRemoteAck','image/bmp','Hasher','HmacSHA1','_handler','getSnapshotAPIPath','getUnitId','submit\x20changeset\x20error!','createSocket','csRejEvent','hostname','data','allowed','_executeRemoteChangeset','HttpImport','REDEMPTION_USER_NOT_ELIGIBLE','unit-cache-','enableOfflineEditing','c2Prime','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursor','create','sigBytes','uploadFileServerUrl','_resendWithTimeout','symbol','salt','ceil','_nRounds','_collaborationTimeoutTimer','_snapshotService','max','onRemoteChangeset','[CollaborationUndoRedoService]','_createSocket','getImage','[CollaborationSessionService]','IDLE','ALREADY_EXISTS','CHANGESET_REVISION_CONFILICT','univer-pro.collaboration-client.single-active-unit-service','UNRECOGNIZED','_status$','loadUnit','iterations','href','1360oTdwom','message$','createInstance','INVITE_CODE_REQUIRED','leaveEvent','/universer-api/comb','_localeService','disableLocalCache','_data','_collaborationSessionService','disposeWithMe','waitForRoom$','toggleOffline','SOCKET_FAILED_RETRY','Univer','emitEvent','_clearUndo','UNIVER_SHEET','requireSession','CBC','UNIVER_UNKNOWN','deepClone','CHANGESET_SHOULD_RETRY','8268nmjJTu','_type','UPDATE_CURSOR','_fetchMissChangesets','values','_onUserJoin','fetchMiss','Encryptor','getTypeOfUnitAdded$','EMAIL_VERIFY_CODE_MISMATCH','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getOwnPropertyDescriptor','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','encryptBlock','[OfflineState]:\x20received\x20rejection.','telemetry\x20info\x20is\x20not\x20initialized','isPermissionRej','change$','_undoStacks','_retryCount','removeMember','delete','_socketMessageSubscription','objectID','byteLength','_onUserLeave','getCurrentUser','/universer-api/file/{fileID}/sign-url','uniscriptRunEvent','Decryptor','_startCollaboration','getUnit','call','SUBMIT_CHANGESET','saveImage','set','USERS_LEAVE','originalMeta','joinRsp','auth.needGotoLoginAlert','clone','msCrypto','[OfflineState]:\x20received\x20acknowledgement.','eventID','APPLY_PERMISSION_DENIED','csAckEvent','&source=','_handlerCallback','toString','_submitChangeset','unsubscribe','_getDownloadEndpointURL','OPTIONAL','debug','_state','_toggleOffline','YUUMI_AI_RUN_FAILED','sheets','awaitingChangeset','univer-pro.collaboration-client.network-condition.service','refreshPermission','_retryConnectingTimer','onTransformState','onSyncEditingCollabCursor','HttpExport','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_iKey','encodeURIComponent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_minBufferSize','_nDataBytes','1292402jrUWAI','_keySchedule','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','3123400owZpmV','confirm','joinEvent','_onLocalMutation','_changesetReqId','default','NOT_COLLAB','_transformService','session.join-failed','CONFLICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','src','responseType','_doCryptBlock','send','offline','LOGIN_TOKEN_PROCESSING_FAILED','2580907heNMtB','url','_transformStateCache','FETCH_MISSING','UNKNOWN_CODE','StreamCipher','$super','USERS_ENTER','_localCacheService','USER_IS_ANONYMOUS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','objects','_listenToNetworkCondition','updatePermissionObjEvent','forEach','_socket$','Cipher','localeService','UNKNOWN_CMD','OTHER_CLIENT_EDITING','TOO_MANY_REQUESTS','PY_RUNTIME_SCRIPT_ERROR','ONLINE','_awaitingChangeset','editingUnit','onTransformSelections','every','createDecryptor','collaborators','Hex','commentUpdate$','getRandomValues','fromCollab','getTypeOfUnitDisposed$','mutations','exports','61902HCwkue','loadDoc','_candidateSocket','Latin1','complete','string','dispose$','csShouldRetryEvent','_oKey','collaMsg','copyFileMeta','APPLY_REVISION_CONFILICT','YUUMI_NO_CUBOID_FOR_QUESTION','_onRemoteACK','selections','transformChangesets','_sendingTimer','_lockTransition','MOBILE_HAS_BEEN_BOUND','POST','_event$','1969iDoADd','_prevBlock','_createHmacHelper','substr','UNDEFINED','COMMENT_UPDATE','APPLY_NON_SEQUENTIAL_REVISION','_showConflictNotification','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Base64','ENTITLE_REPORT_LIMIT_EXCEED','localCacheService','ENTITLE_CHAT_LIMIT_EXCEED','_tryEnsureSocket','SUCCUSS','/allowed','list','_onCombEvent','then','range','USER_NOT_INVITED_CODE','ERROR_IMAGE','members$','min','UNIVER_SLIDE','byteOffset','/universer-api/snapshot/','updateCollaborator','_initRequestHeader','JOIN_ROOM_PERMISSION_DENIED','onRemoteRej','[DataLoaderService]','_compressMutationService','has','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INGEST','_configService','onStarting','sid','dispose','USER_NOT_FOUND','16188lGZucu','interceptor','getCurrentRevOfUnit','x-univer-host','put','/rev/','INTERNAL_ERROR','entries','Could\x20not\x20dynamically\x20require\x20\x22','decrypt','newCsEvent','Error\x20on\x20receiving\x20event','ERROR_AGAIN','_transitionLocked','reqId','ERROR_EXCEED_SIZE','MSG_FOR_ERROR','method','_pendingMutations','_getCtorByUniverType','_stopTelemetryCollaborationNewChangeset','crypto','_telemetryInfo','m2Prime','LEAVE','PSEUDO_FETCH_MISSING_RESULT','BASE64','?url=','_createHandler','_removeRoom','Pkcs7','[SyncedState]:\x20received\x20acknowledgement.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','_waitForHeartbeatResponse','fetchThroughInterceptors','getFocusedUnit','updateOfflineData','open$','_replayCachedMutations','_roomCreated$','_getRedoStack','CURRENT_STATUS_CANNOT_OPERATE','_isPermissionRej','next','BlockCipher','HMAC','kdf','[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.','isArray','formatter','1122bwQZTc','session.room-not-exists','_transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','setCurrentUser','_checkMissing','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','transformSelections','charAt','getImageSourceCache','_throwTelemetryCollaborationNewChangeset','SNAPSHOT_URL_KEY','enableCollaboration','unitId\x20is\x20not\x20found','onTransformRemoteChangesetByIMECache','_telemetryService','_onConnectionFailed','updateMember','splice','_onFetchMissResult','fromCharCode','state$','closeSession','_roomMembers','_userManagerService','unitId','/-/object/-/batch_allowed','_undoRedoService','join','fetching\x20missing\x20changesets\x20from\x20','reverse','result','_remoteChangesetQueue','conflict','onTransformRemoteChangesetByStateCache','getMemberID','PERMISSION_DENIED','downloadEndpointUrl','Utf8','compose','_hash','_tryReconnect','REDEMPTION_CODE_HAS_BEEN_CREATED','_socketService','_invKeySchedule','_process','get','target','YUUMI_RATE_OVER_LIMIT','_collaborationUIEventService','_members','floor','onMissedChangesetFetched','YUUMI_SUBSCRIPTION_NOT_FOUND','MD5','APPLY_REJECT','loadOfflineData','ENTITLE_NEED_BILLING_ADDRESS','INVITE_CODE_HAS_BEEN_UES','onMissingChangesets','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reset','_commentUpdate$','_updateState','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRetry','\x20to\x20','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','readAsDataURL','_sheetTransformSelectionsService','_toggleOnline','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','hasOwnProperty','action','INVALID_ARGUMENT','_scheduleCompleteTimestamp','_members$','_commandService','_cipher','_unlockTransition','CHANGESET_REJ','JOIN_ROOM_NOT_EXISTS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','baseRev','saveSheetBlock','appendMutation','_getAPIPrefixPath','prototype','awaiting','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_IMAGE_TYPE','mixIn','userID','headers','session.room-cnt-exceeds','collaboratorID','location','_applyRemoteChangeset','_xformMode','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/collaborator','sin','_resendTimeout','_timeoutTimer','\x0aAfter:\x20','onCommentUpdate','LIVESHARE_FETCH_OPERATIONS','_rescheduleHeartbeat','SYNCED','FAIL','_clearTimeoutTimer','DATA_SOURCE_TOO_LARGE','capture','actions','_createInitialStateImpl','/block/','getConfig','_config','SHOULD_CLOSE_CONN','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/uniscript','clear','rev','_collaborationPaused','error$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OFFLINE','UUID','1MhdOXG','push','roomInfos','_socket','session.room-permission-denied','AES','changesets','YUUMI_UNABLE_LOAD_URL','putCollaborators','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_schedule','setConfig','Undefined','compute','reconnect','pluginName','_doProcessBlock','onCommandExecuted','resolve','/universer-api/user/session-ticket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearScheduledTask','format','_entities','sessionStatus$','PAYMENT_CHANNEL_NOT_SUPPORT','stringify','parse','cfg','_onConnectionOpen','_initMergeInterceptor','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','_networkConditionService','_createHelper','keySize','\x20-\x20','fetchMissingChangesets','_createInitialState','routeKey','resourceIDs','size','Failed\x20to\x20update\x20permission\x20point','params','/unit/'];_0xe9bb=function(){return _0x267a33;};return _0xe9bb();}let Ot=class extends _0x28ec07{constructor(_0x4504b8,_0x35ff58,_0xf2152b){var _0x345d96=_0x16f01c;super(),D(this,'_unitInfo$',new _0x310797(null)),D(this,_0x345d96(0x2f1),this[_0x345d96(0x2dd)][_0x345d96(0x2d4)]()),(this[_0x345d96(0x36c)]=_0x4504b8,this['_snapshotService']=_0x35ff58,this[_0x345d96(0x179)]=_0xf2152b);}async[_0x16f01c(0x315)](_0x51e0c8,_0x19eb40,_0x3f048c){var _0x509978=_0x16f01c;this[_0x509978(0x2dd)][_0x509978(0x1ff)]({'unitId':_0x51e0c8,'type':_0x19eb40});let _0x135f34=null;switch(_0x19eb40){case Q[_0x509978(0x10e)]:{_0x135f34=await this[_0x509978(0x40f)]['loadSheet'](_0x51e0c8,_0x3f048c);break;}case Q[_0x509978(0x3b4)]:{_0x135f34=await this[_0x509978(0x40f)][_0x509978(0x196)](_0x51e0c8,_0x3f048c);break;}default:{this[_0x509978(0x36c)]['error'](_0x509978(0x1c9),_0x509978(0x122));break;}}return _0x135f34;}async[_0x16f01c(0x41c)](_0x36f93c,_0x4c3b87,_0x5a564f){var _0x2638a3=_0x16f01c,_0x7da16a;this['_unitInfo$'][_0x2638a3(0x1ff)]({'unitId':_0x36f93c,'type':_0x4c3b87,'subUnitId':_0x5a564f});let _0x8b9bc6=0x0;const _0x19c503=await((_0x7da16a=this[_0x2638a3(0x179)])==null?void 0x0:_0x7da16a['loadOfflineData'](_0x36f93c));return _0x19c503&&(_0x19c503[_0x2638a3(0x150)]||_0x19c503[_0x2638a3(0x193)]['length']!==0x0)&&(_0x8b9bc6=_0x19c503[_0x2638a3(0x281)]),_0x8b9bc6===0x0&&this[_0x2638a3(0x36c)]['debug'](_0x2638a3(0x1c9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2638a3(0x315)](_0x36f93c,_0x4c3b87,_0x8b9bc6);}};Ot=Fn([vt(0x0,_0x46c731),vt(0x1,_0x39a463(_0x195402)),vt(0x2,_0x23ad4d(J))],Ot);var jn=Object[_0x16f01c(0x11f)],Vn=(_0x4a9199,_0x230c1c,_0x2f6038,_0x1bf1ed)=>{var _0x352f4d=_0x16f01c;for(var _0x38aa13=_0x1bf1ed>0x1?void 0x0:_0x1bf1ed?jn(_0x230c1c,_0x2f6038):_0x230c1c,_0x236346=_0x4a9199[_0x352f4d(0x389)]-0x1,_0x405f94;_0x236346>=0x0;_0x236346--)(_0x405f94=_0x4a9199[_0x236346])&&(_0x38aa13=_0x405f94(_0x38aa13)||_0x38aa13);return _0x38aa13;},pt=(_0x127574,_0x1af7b5)=>(_0xb1401f,_0xd2fb4e)=>_0x1af7b5(_0xb1401f,_0xd2fb4e,_0x127574);const Gn=['image/png',_0x16f01c(0x3d0),'image/jpg',_0x16f01c(0x2e0),_0x16f01c(0x3f2)],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn=_0x16f01c(0x131);let Rt=class{constructor(_0x56788b,_0x4d59a5,_0x4b6c5a){var _0x56e077=_0x16f01c;D(this,_0x56e077(0x345),0x0),D(this,'_change$',new _0x4a9940()),D(this,_0x56e077(0x127),this['_change$']),D(this,_0x56e077(0x351),new Map()),(this['_httpService']=_0x56788b,this[_0x56e077(0x1ce)]=_0x4d59a5,this[_0x56e077(0x373)]=_0x4b6c5a);}['setWaitCount'](_0x2f2886){var _0x3300f6=_0x16f01c;this[_0x3300f6(0x345)]=_0x2f2886,this['_change$'][_0x3300f6(0x1ff)](_0x2f2886);}[_0x16f01c(0x210)](_0x3401de,_0x3c8d46){var _0x28487b=_0x16f01c;if(_0x3c8d46===_0x57808e['BASE64']){const _0x4ac76f=new Image();return _0x4ac76f[_0x28487b(0x16b)]=_0x3401de,_0x4ac76f;}return this['_imageSourceCache']['get'](_0x3401de);}['addImageSourceCache'](_0x5d80ff,_0x447b81,_0x543dd6){var _0x3034cd=_0x16f01c;_0x447b81===_0x57808e[_0x3034cd(0x1ed)]||_0x543dd6==null||this[_0x3034cd(0x351)][_0x3034cd(0x139)](_0x5d80ff,_0x543dd6);}async[_0x16f01c(0x414)](_0x1a6215){var _0x415460=_0x16f01c;try{const _0x590a20=this[_0x415460(0x332)](this[_0x415460(0x2b8)](),''+_0x1a6215),_0x2ad90b=(await this[_0x415460(0x361)][_0x415460(0x235)](_0x590a20))[_0x415460(0x35b)];if(_0x2ad90b['error']&&_0x2ad90b[_0x415460(0x390)][_0x415460(0x3b2)]===vi['OK']){const _0x5836ca=new URL(_0x2ad90b[_0x415460(0x172)],this[_0x415460(0x149)]())[_0x415460(0x146)]();return Promise[_0x415460(0x299)](_0x5836ca);}return Promise[_0x415460(0x33d)](_0x2ad90b[_0x415460(0x390)]);}catch(_0x43d331){return Promise[_0x415460(0x33d)](_0x43d331);}}async[_0x16f01c(0x138)](_0x45c109){var _0x325bfa=_0x16f01c;let _0x4aa99f='';if(!Gn['includes'](_0x45c109[_0x325bfa(0x2f8)]))return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x261)]));if(_0x45c109[_0x325bfa(0x2b0)]>Wn)return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x1e2)]));try{const _0x13b9a3=new FormData();_0x13b9a3[_0x325bfa(0x2c5)](_0x325bfa(0x330),_0x45c109);const _0x19d1fb=this[_0x325bfa(0x373)][_0x325bfa(0x1f7)](),_0x9a8c5c=_0x19d1fb==null?void 0x0:_0x19d1fb[_0x325bfa(0x3f7)]();if(!_0x9a8c5c)throw new Error(_0x325bfa(0x214));const _0x11d332=this['_getUploadFileURL']()+'?size='+_0x45c109[_0x325bfa(0x2b0)][_0x325bfa(0x146)]()+_0x325bfa(0x144)+pi['UnitEmbedded']+_0x325bfa(0x354)+encodeURIComponent(_0x9a8c5c),_0x2c949d={'body':_0x13b9a3},_0x5c6e80=(await this[_0x325bfa(0x361)]['post'](_0x11d332,_0x2c949d))[_0x325bfa(0x35b)];if(typeof _0x5c6e80[_0x325bfa(0x3e3)]!=_0x325bfa(0x19a))return this[_0x325bfa(0x369)](),Promise['reject'](new Error(_0x48d8a2[_0x325bfa(0x1bf)]));_0x4aa99f=_0x5c6e80[_0x325bfa(0x3e3)];}catch{return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x1bf)]));}return new Promise((_0x4f9e44,_0x20a36e)=>{var _0x124f93=_0x325bfa;const _0x37124e=new FileReader();_0x37124e[_0x124f93(0x24b)](_0x45c109),_0x37124e['onload']=_0x10c779=>{var _0x1e2316=_0x124f93,_0x386c2e;const _0x50b1c6=(_0x386c2e=_0x10c779[_0x1e2316(0x236)])==null?void 0x0:_0x386c2e['result'];if(_0x50b1c6==null){this['_decreaseWaiting'](),_0x20a36e(new Error(_0x48d8a2[_0x1e2316(0x1bf)]));return;}const _0x370796=_0x48f790(0x6);_0x4f9e44({'imageId':_0x370796,'imageSourceType':_0x57808e[_0x1e2316(0x286)],'source':_0x4aa99f,'base64Cache':_0x50b1c6,'status':_0x48d8a2[_0x1e2316(0x1b8)]}),this[_0x1e2316(0x369)]();};});}['_getUploadFileURL'](){var _0x100941=_0x16f01c,_0x2c96a5;const _0x4e1829=this['_configService'][_0x100941(0x27b)](K);return(_0x2c96a5=_0x4e1829==null?void 0x0:_0x4e1829[_0x100941(0x408)])!=null?_0x2c96a5:Yn;}[_0x16f01c(0x2b8)](){var _0x1710e6=_0x16f01c,_0x23ecf3;const _0xf630b2=this[_0x1710e6(0x1ce)]['getConfig'](K);return(_0x23ecf3=_0xf630b2==null?void 0x0:_0xf630b2[_0x1710e6(0x36a)])!=null?_0x23ecf3:Kn;}[_0x16f01c(0x149)](){var _0x29ce80=_0x16f01c,_0x366381;const _0x10e40b=this['_configService']['getConfig'](K);return(_0x366381=_0x10e40b==null?void 0x0:_0x10e40b[_0x29ce80(0x22c)])!=null?_0x366381:location['origin'];}[_0x16f01c(0x332)](_0x197937,_0x2260a4){var _0x20922c=_0x16f01c;return _0x197937[_0x20922c(0x2f6)]('{fileID}',_0x2260a4);}[_0x16f01c(0x369)](){var _0x36c0a7=_0x16f01c;this[_0x36c0a7(0x345)]-=0x1,this[_0x36c0a7(0x35e)]['next'](this[_0x36c0a7(0x345)]);}};Rt=Vn([pt(0x0,_0x39a463(_0x2e0fa2)),pt(0x1,_0x5b80dc),pt(0x2,_0x39a463(_0x2fe86b))],Rt);var qn=Object[_0x16f01c(0x11f)],zn=(_0x129e85,_0x49c628,_0x463bc2,_0xa662b8)=>{var _0x9d209d=_0x16f01c;for(var _0x356134=_0xa662b8>0x1?void 0x0:_0xa662b8?qn(_0x49c628,_0x463bc2):_0x49c628,_0x52458b=_0x129e85[_0x9d209d(0x389)]-0x1,_0x2d5554;_0x52458b>=0x0;_0x52458b--)(_0x2d5554=_0x129e85[_0x52458b])&&(_0x356134=_0x2d5554(_0x356134)||_0x356134);return _0x356134;},ri=(_0x44fa98,_0x444079)=>(_0x18552b,_0x322985)=>_0x444079(_0x18552b,_0x322985,_0x44fa98);const Jn=_0x16f01c(0x352);let Ct=class{constructor(_0x4b472e,_0x5ee6d0){var _0x71b083=_0x16f01c;this[_0x71b083(0x1ce)]=_0x4b472e,this[_0x71b083(0x36f)]=_0x5ee6d0;}[_0x16f01c(0x25d)](){var _0x2ef4dc=_0x16f01c,_0x249c0e;const _0x323af5=this[_0x2ef4dc(0x1ce)][_0x2ef4dc(0x27b)](K);return(_0x249c0e=_0x323af5==null?void 0x0:_0x323af5[_0x2ef4dc(0x3a6)])!=null?_0x249c0e:Jn;}async[_0x16f01c(0x1ba)](_0x525203){var _0x4ade5f=_0x16f01c;const _0x526f95=this[_0x4ade5f(0x25d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x4ade5f(0x36f)][_0x4ade5f(0x235)](_0x526f95,{'params':{'objectID':_0x525203['unitId'],'unitID':_0x525203['unitId']}}))['body'][_0x4ade5f(0x18d)]['map'](_0x18a069=>({'objectId':_0x18a069['id'],'name':_0x18a069[_0x4ade5f(0x3e2)][_0x4ade5f(0x2c4)],'metadata':{'icon':_0x18a069[_0x4ade5f(0x3e2)][_0x4ade5f(0x316)]},'label':_0x18a069[_0x4ade5f(0x3e2)]['name'],'objectType':_0x313e0b[_0x4ade5f(0x3cd)]})),'metadata':{},'type':_0x313e0b[_0x4ade5f(0x3cd)]}]};}};Ct=zn([ri(0x0,_0x39a463(_0x5b80dc)),ri(0x1,_0x39a463(_0x2e0fa2))],Ct);var Xn=Object[_0x16f01c(0x11f)],Zn=(_0x766a13,_0x3155f8,_0x2cac70,_0x2a168a)=>{var _0x4c8512=_0x16f01c;for(var _0xb8a91c=_0x2a168a>0x1?void 0x0:_0x2a168a?Xn(_0x3155f8,_0x2cac70):_0x3155f8,_0x3face8=_0x766a13[_0x4c8512(0x389)]-0x1,_0x104bb8;_0x3face8>=0x0;_0x3face8--)(_0x104bb8=_0x766a13[_0x3face8])&&(_0xb8a91c=_0x104bb8(_0xb8a91c)||_0xb8a91c);return _0xb8a91c;},Ue=(_0x244f49,_0x49804a)=>(_0x5b4064,_0x32fcab)=>_0x49804a(_0x5b4064,_0x32fcab,_0x244f49);function _0x2af7(_0x12e279,_0x20954e){var _0xe9bba8=_0xe9bb();return _0x2af7=function(_0x2af7f8,_0xd1e709){_0x2af7f8=_0x2af7f8-0x100;var _0x3d68d0=_0xe9bba8[_0x2af7f8];return _0x3d68d0;},_0x2af7(_0x12e279,_0x20954e);}let ot=class extends _0x28ec07{constructor(_0x312899,_0x286b68,_0x591827,_0x2c9d23,_0x4cd12e){var _0x30ab24=_0x16f01c;super(),this[_0x30ab24(0x314)]=_0x312899,this[_0x30ab24(0x373)]=_0x286b68,this[_0x30ab24(0x3eb)]=_0x591827,this[_0x30ab24(0x106)]=_0x2c9d23,this[_0x30ab24(0x238)]=_0x4cd12e,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x22e112=_0x16f01c;const _0x36fbd4=async _0x4dbf71=>{var _0x56e712=_0x2af7;(await this[_0x56e712(0x106)]['requireSession'](_0x4dbf71))['event$'][_0x56e712(0x36e)](_0xabf85c(_0x2e8ccc=>_0x2e8ccc[_0x56e712(0x141)]===_0x5d931e[_0x56e712(0x27d)]),_0x56b980(this['dispose$']))[_0x56e712(0x33f)](_0x37d98c=>{var _0x29ae1e=_0x56e712;const _0x4f2425=_0x37d98c,{reason:_0x31f5d7}=_0x4f2425[_0x29ae1e(0x3fc)];this[_0x29ae1e(0x238)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x31f5d7}),this['_permissionService']['updatePermissionPoint'](new _0x2f7775(_0x4dbf71)['id'],!0x1),this[_0x29ae1e(0x106)]['closeSession'](_0x4dbf71);});};_0x596e66(this[_0x22e112(0x373)][_0x22e112(0x11c)](_0x36f965[_0x22e112(0x10e)]),this[_0x22e112(0x373)]['getTypeOfUnitAdded$'](_0x36f965[_0x22e112(0x3b4)]))[_0x22e112(0x36e)](_0x971c50(_0x228fa4=>_0x228fa4['getUnitId']()),_0xabf85c(_0x7520e3=>!_0x3fe92c(_0x7520e3)),_0x56b980(this[_0x22e112(0x19b)]))['subscribe'](_0x350a59=>{_0x36fbd4(_0x350a59);});}['_initUnitPermissionChange'](){var _0x3e1c74=_0x16f01c;const _0x46bbe3=async _0x836ace=>{var _0x26d657=_0x2af7;const _0x54bc98=await this[_0x26d657(0x106)][_0x26d657(0x10f)](_0x836ace),_0x58e809=this[_0x26d657(0x314)]['get'](_0x557bbb);_0x54bc98['event$'][_0x26d657(0x36e)](_0xabf85c(_0x2fc04d=>_0x2fc04d[_0x26d657(0x141)]===_0x5d931e[_0x26d657(0x387)]),_0x56b980(this[_0x26d657(0x19b)]))[_0x26d657(0x33f)](_0x1b48af=>{var _0x20a532=_0x26d657;const _0x4ec546=_0x1b48af,{objectId:_0xdda662}=_0x4ec546[_0x20a532(0x3fc)];_0xdda662===_0x836ace?_0x58e809[_0x20a532(0x327)](_0x836ace):_0x58e809[_0x20a532(0x152)](_0x836ace,_0xdda662);});};_0x596e66(this[_0x3e1c74(0x373)]['getTypeOfUnitAdded$'](_0x36f965['UNIVER_SHEET']))['pipe'](_0x971c50(_0x3338eb=>_0x3338eb[_0x3e1c74(0x3f7)]()),_0xabf85c(_0x2029be=>!_0x3fe92c(_0x2029be)),_0x56b980(this[_0x3e1c74(0x19b)]))['subscribe'](_0x20add6=>{_0x46bbe3(_0x20add6);});}};ot=Zn([Ue(0x0,_0x39a463(_0x487d01)),Ue(0x1,_0x2fe86b),Ue(0x2,_0x2aca0e),Ue(0x3,_0x39a463(we)),Ue(0x4,_0x39a463(ve))],ot);var Qn=Object[_0x16f01c(0x11f)],er=(_0x8cd66,_0x453a7c,_0x28090f,_0x4395d9)=>{var _0x5a3746=_0x16f01c;for(var _0x1e364c=_0x4395d9>0x1?void 0x0:_0x4395d9?Qn(_0x453a7c,_0x28090f):_0x453a7c,_0x4f250c=_0x8cd66[_0x5a3746(0x389)]-0x1,_0x570267;_0x4f250c>=0x0;_0x4f250c--)(_0x570267=_0x8cd66[_0x4f250c])&&(_0x1e364c=_0x570267(_0x1e364c)||_0x1e364c);return _0x1e364c;},ai=(_0x19aead,_0x4eef49)=>(_0xcf0f80,_0x456cdd)=>_0x4eef49(_0xcf0f80,_0x456cdd,_0x19aead);let Nt=class{constructor(_0x27cd5b,_0x207c41){var _0x466bdb=_0x16f01c;this[_0x466bdb(0x1ce)]=_0x27cd5b,this[_0x466bdb(0x361)]=_0x207c41;}async[_0x16f01c(0x353)](_0x3295eb,_0x357075){var _0x112150=_0x16f01c,_0x443075;const {unitID:_0x4aa49b,type:_0x874de4,revision:_0x4e8e7e=0x0}=_0x357075,_0xb34746=this[_0x112150(0x3f6)]()+'/'+_0x874de4+'/unit/'+_0x4aa49b+_0x112150(0x1d8)+_0x4e8e7e,_0xc8f944=(await this[_0x112150(0x361)]['get'](_0xb34746))[_0x112150(0x35b)],_0x59e2ac=(_0x443075=_0xc8f944[_0x112150(0x326)])==null?void 0x0:_0x443075[_0x112150(0x34a)];if(_0x59e2ac){const _0x388e89=_0x59e2ac==null?void 0x0:_0x59e2ac['originalMeta'],_0x466984=_0x75428d[_0x112150(0x329)](_0x5c183f(_0x388e89));_0x59e2ac[_0x112150(0x13b)]=_0x466984,Object[_0x112150(0x1da)](_0x59e2ac[_0x112150(0x14f)])[_0x112150(0x17f)](([,_0x4252a2])=>{var _0xa61188=_0x112150;const _0x37e952=_0x4252a2[_0xa61188(0x13b)],_0x30d294=_0x75428d['encode'](_0x5c183f(_0x37e952));_0x4252a2[_0xa61188(0x13b)]=_0x30d294;});}return _0xc8f944;}async['getSheetBlock'](_0x2a17d6,_0x12f58a){var _0x22cba9=_0x16f01c;const {unitID:_0x13d361,type:_0x50e54d,blockID:_0x144d01}=_0x12f58a,_0x10f8c0=this[_0x22cba9(0x2f3)]()+'/'+_0x50e54d+_0x22cba9(0x2b3)+_0x13d361+_0x22cba9(0x27a)+_0x144d01;return(await this[_0x22cba9(0x361)][_0x22cba9(0x235)](_0x10f8c0))[_0x22cba9(0x35b)];}async['getDeserializedSheetBlock'](_0x2667e7,_0x24a26a){var _0x6da799=_0x16f01c;const {unitID:_0x26a5e8,type:_0x848ace,blockID:_0x223c78}=_0x24a26a,_0x214a6a=this['_getAPIPrefix']()+_0x6da799(0x27a)+_0x848ace+_0x6da799(0x2b3)+_0x26a5e8+_0x6da799(0x27a)+_0x223c78;return(await this[_0x6da799(0x361)][_0x6da799(0x235)](_0x214a6a))[_0x6da799(0x35b)];}async['fetchMissingChangesets'](_0x2bc877,_0xeb96af){var _0x2b4994=_0x16f01c;const {unitID:_0xd64daf,type:_0x31d37e,from:_0x436317,to:_0x44e476}=_0xeb96af,_0x123217=this[_0x2b4994(0x2f3)]()+'/'+_0x31d37e+'/unit/'+_0xd64daf+_0x2b4994(0x3ce)+_0x436317+_0x2b4994(0x337)+_0x44e476;return(await this[_0x2b4994(0x361)][_0x2b4994(0x235)](_0x123217))[_0x2b4994(0x35b)];}[_0x16f01c(0x3f6)](){var _0x427571=_0x16f01c,_0x21cd91;return(_0x21cd91=this[_0x427571(0x1ce)][_0x427571(0x27b)](vs))!=null?_0x21cd91:this[_0x427571(0x2f3)]();}['_getAPIPrefix'](){var _0x473f89=_0x16f01c,_0x55a131;const _0x3a4f06=this[_0x473f89(0x1ce)][_0x473f89(0x27b)](K);return(_0x55a131=_0x3a4f06==null?void 0x0:_0x3a4f06['snapshotServerUrl'])!=null?_0x55a131:fs;}async[_0x16f01c(0x3e6)](_0x4798a6,_0x4a6cc3){var _0x2705a6=_0x16f01c;const _0x3a1c7f=_0x2705a6(0x1c4)+_0x4a6cc3[_0x2705a6(0x2f8)]+_0x2705a6(0x2b3)+_0x4a6cc3[_0x2705a6(0x30d)]+'/resources';return(await this[_0x2705a6(0x361)][_0x2705a6(0x235)](_0x3a1c7f,{'params':{'resourceId':JSON['stringify'](_0x4a6cc3[_0x2705a6(0x2af)])}}))[_0x2705a6(0x35b)];}[_0x16f01c(0x2bd)](){var _0x3b75dc=_0x16f01c;throw new Error(_0x3b75dc(0x15f));}['updateSnapshot'](){var _0x367645=_0x16f01c;throw new Error(_0x367645(0x15f));}[_0x16f01c(0x25b)](){var _0x3a3de2=_0x16f01c;throw new Error(_0x3a3de2(0x15f));}[_0x16f01c(0x3c2)](){var _0x5b7446=_0x16f01c;throw new Error(_0x5b7446(0x15f));}[_0x16f01c(0x19f)](){var _0x3d06d4=_0x16f01c;throw new Error(_0x3d06d4(0x15f));}['getLatestCsReqIdBySid'](){var _0x436988=_0x16f01c;throw new Error(_0x436988(0x15f));}};Nt=er([ai(0x0,_0x5b80dc),ai(0x1,_0x39a463(_0x2e0fa2))],Nt);var tr=Object[_0x16f01c(0x11f)],ir=(_0x49d2e7,_0x3cf028,_0x330657,_0x16d54e)=>{var _0x31b87e=_0x16f01c;for(var _0x1a5b00=_0x16d54e>0x1?void 0x0:_0x16d54e?tr(_0x3cf028,_0x330657):_0x3cf028,_0x33dafa=_0x49d2e7[_0x31b87e(0x389)]-0x1,_0x10bc4f;_0x33dafa>=0x0;_0x33dafa--)(_0x10bc4f=_0x49d2e7[_0x33dafa])&&(_0x1a5b00=_0x10bc4f(_0x1a5b00)||_0x1a5b00);return _0x1a5b00;},Ae=(_0x34e16f,_0x2b3d39)=>(_0x3929b2,_0x18158b)=>_0x2b3d39(_0x3929b2,_0x18158b,_0x34e16f);let bt=class extends _0x562171{constructor(_0x553a62,_0x578b6e,_0x2266f0,_0x14d00e,_0x579553){var _0x599e0b=_0x16f01c;super(_0x553a62,_0x578b6e,_0x2266f0),this[_0x599e0b(0x167)]=_0x14d00e,this[_0x599e0b(0x36c)]=_0x579553;}['transformUndoRedo'](_0x3ad42e,_0x551373){var _0x3f13ae=_0x16f01c;const _0x56c252=this['_getUndoStack'](_0x3ad42e);if(_0x56c252)try{const _0x268475=this[_0x3f13ae(0x1f4)](_0x56c252,_0x551373);this['_substituteUndoStack'](_0x3ad42e,_0x268475);}catch(_0x3b5db6){this[_0x3f13ae(0x36c)][_0x3f13ae(0x390)](_0x3f13ae(0x412),_0x3b5db6),this[_0x3f13ae(0x10d)](_0x3ad42e);}const _0x3f66f3=this[_0x3f13ae(0x1fc)](_0x3ad42e);if(_0x3f66f3)try{const _0x410215=this['_transformStack'](_0x3f66f3,_0x551373);this['_substituteRedoStack'](_0x3ad42e,_0x410215);}catch(_0x375456){this['_logService']['error'](_0x375456),this['_clearRedo'](_0x3ad42e);}}['_clearUndo'](_0xa4398e){var _0x3ef85c=_0x16f01c;const _0x5d94a3=this['_getUndoStack'](_0xa4398e);_0x5d94a3&&(_0x5d94a3[_0x3ef85c(0x389)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x25c160){var _0x5d3680=_0x16f01c;const _0x387228=this['_getRedoStack'](_0x25c160);_0x387228&&(_0x387228['length']=0x0,this[_0x5d3680(0x3c5)]());}['_substituteUndoStack'](_0x2df244,_0x84404f){var _0x23e7f3=_0x16f01c;this[_0x23e7f3(0x128)][_0x23e7f3(0x139)](_0x2df244,_0x84404f),this['_updateStatus']();}['_substituteRedoStack'](_0x5e4ebe,_0x528d57){var _0x59ee92=_0x16f01c;this[_0x59ee92(0x3d8)][_0x59ee92(0x139)](_0x5e4ebe,_0x528d57),this['_updateStatus']();}[_0x16f01c(0x1f4)](_0x430aeb,_0x36a041){var _0x7fd4ba=_0x16f01c;const _0x4e9ee8=[];let _0x40d5a2=_0x36a041,_0x493ca8=_0x36a041;for(let _0x257cda=_0x430aeb[_0x7fd4ba(0x389)]-0x1;_0x257cda>=0x0;_0x257cda--){const {unitID:_0x3dee7b,undoMutations:_0x23fd29,redoMutations:_0x531890}=_0x430aeb[_0x257cda],_0x309d08=this[_0x7fd4ba(0x167)][_0x7fd4ba(0x2e1)](_0x40d5a2,_0x23fd29),_0x253711=this[_0x7fd4ba(0x167)][_0x7fd4ba(0x2e1)](_0x493ca8,_0x531890);if(_0x222ad6(_0x309d08)||_0x222ad6(_0x253711)){this[_0x7fd4ba(0x36c)][_0x7fd4ba(0x390)](_0x7fd4ba(0x412),_0x7fd4ba(0x376),_0x309d08,_0x253711);break;}_0x40d5a2=_0x309d08[_0x7fd4ba(0x3c6)],_0x493ca8=_0x253711[_0x7fd4ba(0x3c6)],_0x4e9ee8['push']({'unitID':_0x3dee7b,'undoMutations':_0x309d08['m2Prime'],'redoMutations':_0x253711['m2Prime']});}return _0x4e9ee8[_0x7fd4ba(0x225)]();}};bt=ir([Ae(0x0,_0x2fe86b),Ae(0x1,_0x14b5ce),Ae(0x2,_0x1849e0),Ae(0x3,_0x24d75d),Ae(0x4,_0x46c731)],bt);var sr=Object[_0x16f01c(0x2b9)],nr=Object[_0x16f01c(0x11f)],rr=(_0x5045da,_0x557939,_0x21c711)=>_0x557939 in _0x5045da?sr(_0x5045da,_0x557939,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21c711}):_0x5045da[_0x557939]=_0x21c711,ar=(_0x43efde,_0x3f8faa,_0x3c0e6f,_0x2ea874)=>{var _0x2f3375=_0x16f01c;for(var _0x397a60=_0x2ea874>0x1?void 0x0:_0x2ea874?nr(_0x3f8faa,_0x3c0e6f):_0x3f8faa,_0x380b98=_0x43efde[_0x2f3375(0x389)]-0x1,_0x52115f;_0x380b98>=0x0;_0x380b98--)(_0x52115f=_0x43efde[_0x380b98])&&(_0x397a60=_0x52115f(_0x397a60)||_0x397a60);return _0x397a60;},Et=(_0x417a95,_0xee9157)=>(_0x1b13ae,_0x411cba)=>_0xee9157(_0x1b13ae,_0x411cba,_0x417a95),or=(_0x5306e2,_0x598cf5,_0x22d22b)=>rr(_0x5306e2,_0x598cf5+'',_0x22d22b);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0xc16ecc{constructor(_0x2a4f43,_0xcc908c,_0x2a47fc,_0x4c5446){var _0x2bcbb9=_0x16f01c;super(),D(this,_0x2bcbb9(0x27c)),(this[_0x2bcbb9(0x36c)]=_0xcc908c,this[_0x2bcbb9(0x314)]=_0x2a47fc,this[_0x2bcbb9(0x1ce)]=_0x4c5446);const {..._0x2b98c7}=_0x5e6178({},Ls,_0x2a4f43);if(!_0x2b98c7['socketService'])throw new Error(_0x2bcbb9(0x243));this['_config']=_0x2b98c7,this[_0x2bcbb9(0x1ce)][_0x2bcbb9(0x292)](K,_0x2b98c7);}[_0x16f01c(0x1cf)](){var _0x116c6d=_0x16f01c;this['_registerDependencies'](),this[_0x116c6d(0x3dd)]();}[_0x16f01c(0x3a4)](){var _0x397ecb=_0x16f01c,_0x50a6c5,_0x19ec11;this[_0x397ecb(0x314)]['has'](_0x26b5a7)&&this[_0x397ecb(0x36c)][_0x397ecb(0x390)]('[UniverCollaborationClientPlugin]',_0x397ecb(0x2ec));const _0x45052f=_0x23ae68([[_0x26b5a7,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x397ecb(0x2ba)]}],[_0x3bb936,{'useClass':Nt}],[_0x3d5b78,{'useClass':Tt}],[_0x378e02,{'useClass':Rt}],[_0x2dca66,{'useClass':Ct}],[nt],[gt]],(_0x50a6c5=this[_0x397ecb(0x27c)])==null?void 0x0:_0x50a6c5[_0x397ecb(0x34b)]);if(!((_0x19ec11=this[_0x397ecb(0x27c)])!=null&&_0x19ec11['enableSingleActiveInstanceLock'])){const _0x359a02=_0x45052f[_0x397ecb(0x3b5)](([_0x455633])=>_0x455633===_t);_0x359a02!==-0x1&&_0x45052f[_0x397ecb(0x219)](_0x359a02,0x1);}_0x2103e8(this[_0x397ecb(0x314)],_0x45052f);}['_initDependencies'](){var _0x244889=_0x16f01c,_0x5db312,_0x524c16,_0x12fa0f;this[_0x244889(0x314)][_0x244889(0x235)](_0x2e0fa2)[_0x244889(0x379)]({'priority':0x14,'interceptor':_0x446aab({'maxParallel':0x6})}),(_0x5db312=this[_0x244889(0x27c)])!=null&&_0x5db312[_0x244889(0x402)]||(_0x524c16=this['_injector'][_0x244889(0x235)](J,_0x2117f7[_0x244889(0x14a)]))==null||_0x524c16[_0x244889(0x104)](),(_0x12fa0f=this[_0x244889(0x27c)])!=null&&_0x12fa0f[_0x244889(0x31a)]&&_0x42c8a7(this[_0x244889(0x314)],[[rt]]),_0x42c8a7(this[_0x244889(0x314)],[[at],[nt],[ot]]);}};or(Dt,_0x16f01c(0x296),cr),Dt=ar([_0xc9b64b(_0x52e080,_0x4b4a84),Et(0x1,_0x46c731),Et(0x2,_0x39a463(_0x487d01)),Et(0x3,_0x5b80dc)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|