@univerjs-pro/collaboration-client 0.10.10-nightly.202510170942 → 0.10.10-nightly.202510180256
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0xd75253=_0xf06a;(function(_0x565204,_0x2dc6c0){var _0x2a0e90=_0xf06a,_0x1be1e6=_0x565204();while(!![]){try{var _0x2be504=parseInt(_0x2a0e90(0x1e5))/0x1+parseInt(_0x2a0e90(0x3c2))/0x2*(parseInt(_0x2a0e90(0x20c))/0x3)+parseInt(_0x2a0e90(0x324))/0x4+-parseInt(_0x2a0e90(0x38c))/0x5+parseInt(_0x2a0e90(0x2f1))/0x6*(parseInt(_0x2a0e90(0x12d))/0x7)+parseInt(_0x2a0e90(0x333))/0x8+-parseInt(_0x2a0e90(0x10c))/0x9;if(_0x2be504===_0x2dc6c0)break;else _0x1be1e6['push'](_0x1be1e6['shift']());}catch(_0x1c0b93){_0x1be1e6['push'](_0x1be1e6['shift']());}}}(_0x2c28,0xd55de));var bi=Object[_0xd75253(0x2f9)],Di=(_0x1ef1ae,_0x2b5e83,_0x461609)=>_0x2b5e83 in _0x1ef1ae?bi(_0x1ef1ae,_0x2b5e83,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x461609}):_0x1ef1ae[_0x2b5e83]=_0x461609,D=(_0x297a92,_0x1657d5,_0x35fda8)=>Di(_0x297a92,typeof _0x1657d5!=_0xd75253(0x26a)?_0x1657d5+'':_0x1657d5,_0x35fda8);import{CollaborationEvent as _0x6e45b,ITransformService as _0x1c8ebf,isTransformMutationsWithChangesetSuccess as _0x1ccd69,mapDocumentTypeToUniverType as _0x2076fd,RevisionService as _0x3d78cb,isTransformChangesetsSuccess as _0x3cc985,CompressMutationService as _0x4206a3,parseProtocolChangeset as _0x5012ff,uuidv4 as _0x39af30,ISnapshotServerService as _0x3ee6a7,parseChangesetToProtocol as _0x9e253a,SnapshotService as _0x30135d,textEncoder as _0xf7ba99,b64DecodeUnicode as _0x34aeab,isTransformMutationsWithChangesetFailure as _0x337a83,UniverCollaborationPlugin as _0x1d51a8}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x35e7f5,Inject as _0x4f8a93,UserManagerService as _0x1ce6f1,Disposable as _0x29b788,UniverInstanceType as _0x2cb638,ILogService as _0x3c99db,IConfigService as _0x14120a,Optional as _0x17f639,RxDisposable as _0xa8e605,createIdentifier as _0x306684,Injector as _0x33d727,Tools as _0x4750d6,Rectangle as _0x379cff,ICommandService as _0x247b14,JSONX as _0x6bf323,CommandType as _0x58455e,IUndoRedoService as _0x297756,IPermissionService as _0x4ebcc2,LocaleService as _0x2bc8f4,sequenceExecute as _0x581d1f,toDisposable as _0x4ba861,DisposableCollection as _0x20d5c5,Workbook as _0xfbc5cc,generateRandomId as _0x50bdc5,MentionType as _0x5717d6,isInternalEditorID as _0x4e2fa8,LocalUndoRedoService as _0x20eb67,IContextService as _0x578557,DependentOn as _0x21ff77,Plugin as _0x2adf41,merge as _0x228bea,mergeOverrideWithDependencies as _0x174b0c,IAuthzIoService as _0x1a7e16,IMentionIOService as _0x85b4ad,registerDependencies as _0x1f3ebc,Quantity as _0xa8780,touchDependencies as _0x39a0f5}from'@univerjs/core';import{RichTextEditingMutation as _0x17bf54}from'@univerjs/docs';import{SheetsSelectionsService as _0x411acf,SetSelectionsOperation as _0x2d23f8,InsertSheetMutation as _0x299c0e,EmptyMutation as _0x3e725b,WorkbookEditablePermission as _0x1dd60a,SheetPermissionInitController as _0x32af60}from'@univerjs/sheets';import{Subject as _0x1c7476,merge as _0xad9f69,of as _0x1032ed,BehaviorSubject as _0x2a8cbc,takeUntil as _0x29a2e6,ReplaySubject as _0x18e156,take as _0x2e1ff9,map as _0x344d96,shareReplay as _0x146ba1,firstValueFrom as _0x3b2293,concatMap as _0x5e471d}from'rxjs';import{ITelemetryService as _0x5ee5af}from'@univerjs/telemetry';import{map as _0x2eed3b,take as _0x53f001,filter as _0x19cade,delay as _0x2796c5,takeUntil as _0xa8c0b5}from'rxjs/operators';import{HTTPService as _0x4e0a79,ISocketService as _0x1f55fd,MergeInterceptorFactory as _0x2ea74e,HTTPRequest as _0x577b4e,UniverNetworkPlugin as _0x577d02,ThresholdInterceptorFactory as _0xad5f88}from'@univerjs/network';import{ImageSourceType as _0x3c4cf0,ImageUploadStatusType as _0x42e1de,IImageIoService as _0x53bbed}from'@univerjs/drawing';import{getGlobalObject as _0x38a879}from'@univerjs-pro/license';const fs=_0xd75253(0x1d9),vs=_0xd75253(0x3de),ps=0x7d0,Es='ws://127.0.0.1:8000/universer-api/comb/connect',gr=_0xd75253(0x3a3),ms=_0xd75253(0x290),Is=0x7530,di=_0xd75253(0x381),fi=0x4e20,Ss=0x4e20,gs=_0xd75253(0x13a),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os='/universer-api/comb',Rs='/universer-api/oidc/authpage',Rr=_0xd75253(0x2a5),Cr=_0xd75253(0x367);var vi=(_0x3839a6=>(_0x3839a6[_0x3839a6['UNDEFINED']=0x0]=_0xd75253(0x32f),_0x3839a6[_0x3839a6['OK']=0x1]='OK',_0x3839a6[_0x3839a6[_0xd75253(0x362)]=0x2]=_0xd75253(0x362),_0x3839a6[_0x3839a6[_0xd75253(0x261)]=0x3]=_0xd75253(0x261),_0x3839a6[_0x3839a6[_0xd75253(0x2f0)]=0x4]=_0xd75253(0x2f0),_0x3839a6[_0x3839a6[_0xd75253(0x3e9)]=0x5]=_0xd75253(0x3e9),_0x3839a6[_0x3839a6['ALREADY_EXISTS']=0x6]=_0xd75253(0x1ea),_0x3839a6[_0x3839a6['INVALID_ARGUMENT']=0x7]=_0xd75253(0x34b),_0x3839a6[_0x3839a6[_0xd75253(0x142)]=0x8]=_0xd75253(0x142),_0x3839a6[_0x3839a6[_0xd75253(0x2f3)]=0x9]=_0xd75253(0x2f3),_0x3839a6[_0x3839a6['LOGIN_FAILED']=0xa]=_0xd75253(0x302),_0x3839a6[_0x3839a6[_0xd75253(0x347)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x3839a6[_0x3839a6['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0xd75253(0x13b),_0x3839a6[_0x3839a6[_0xd75253(0x209)]=0xd]=_0xd75253(0x209),_0x3839a6[_0x3839a6[_0xd75253(0x202)]=0xe]=_0xd75253(0x202),_0x3839a6[_0x3839a6[_0xd75253(0x1a0)]=0xf]=_0xd75253(0x1a0),_0x3839a6[_0x3839a6[_0xd75253(0x2a1)]=0x10]=_0xd75253(0x2a1),_0x3839a6[_0x3839a6[_0xd75253(0x390)]=0x64]=_0xd75253(0x390),_0x3839a6[_0x3839a6[_0xd75253(0x2e7)]=0x65]=_0xd75253(0x2e7),_0x3839a6[_0x3839a6[_0xd75253(0x226)]=0xc9]=_0xd75253(0x226),_0x3839a6[_0x3839a6[_0xd75253(0x2cf)]=0xca]=_0xd75253(0x2cf),_0x3839a6[_0x3839a6[_0xd75253(0x20e)]=0x1389]=_0xd75253(0x20e),_0x3839a6[_0x3839a6[_0xd75253(0x31d)]=0x1771]=_0xd75253(0x31d),_0x3839a6[_0x3839a6[_0xd75253(0x2d0)]=0x1772]=_0xd75253(0x2d0),_0x3839a6[_0x3839a6[_0xd75253(0x1f2)]=0x1773]=_0xd75253(0x1f2),_0x3839a6[_0x3839a6[_0xd75253(0x237)]=0x1b59]='APPLY_REJECT',_0x3839a6[_0x3839a6['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xd75253(0x39f),_0x3839a6[_0x3839a6[_0xd75253(0x1d7)]=0x1b5b]=_0xd75253(0x1d7),_0x3839a6[_0x3839a6[_0xd75253(0x2d6)]=0x1b5c]=_0xd75253(0x2d6),_0x3839a6[_0x3839a6[_0xd75253(0x225)]=0x1b5d]=_0xd75253(0x225),_0x3839a6[_0x3839a6[_0xd75253(0x33d)]=0x1f41]=_0xd75253(0x33d),_0x3839a6[_0x3839a6[_0xd75253(0x34a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3839a6[_0x3839a6[_0xd75253(0x16f)]=0x232a]=_0xd75253(0x16f),_0x3839a6[_0x3839a6[_0xd75253(0x28e)]=0x232b]=_0xd75253(0x28e),_0x3839a6[_0x3839a6[_0xd75253(0x277)]=0x232c]=_0xd75253(0x277),_0x3839a6[_0x3839a6[_0xd75253(0x2ad)]=0x232d]=_0xd75253(0x2ad),_0x3839a6[_0x3839a6[_0xd75253(0x3e5)]=0x2711]=_0xd75253(0x3e5),_0x3839a6[_0x3839a6[_0xd75253(0x2c0)]=0x2712]=_0xd75253(0x2c0),_0x3839a6[_0x3839a6['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3839a6[_0x3839a6[_0xd75253(0x2ac)]=0x2714]=_0xd75253(0x2ac),_0x3839a6[_0x3839a6[_0xd75253(0x2b0)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3839a6[_0x3839a6['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3839a6[_0x3839a6[_0xd75253(0x306)]=0x271c]=_0xd75253(0x306),_0x3839a6[_0x3839a6[_0xd75253(0x305)]=0x271d]=_0xd75253(0x305),_0x3839a6[_0x3839a6[_0xd75253(0x3d0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3839a6[_0x3839a6[_0xd75253(0x19e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3839a6[_0x3839a6[_0xd75253(0x1cf)]=0x2720]=_0xd75253(0x1cf),_0x3839a6[_0x3839a6[_0xd75253(0x1de)]=0x2af9]=_0xd75253(0x1de),_0x3839a6[_0x3839a6[_0xd75253(0x246)]=0x2ee1]=_0xd75253(0x246),_0x3839a6[_0x3839a6[_0xd75253(0x2b9)]=0x2ee2]='INVALID_INVITE_CODE',_0x3839a6[_0x3839a6[_0xd75253(0x113)]=0x2ee3]=_0xd75253(0x113),_0x3839a6[_0x3839a6['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x3839a6[_0x3839a6[_0xd75253(0x18c)]=0x2ee5]=_0xd75253(0x18c),_0x3839a6[_0x3839a6['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0xd75253(0x288),_0x3839a6[_0x3839a6[_0xd75253(0x19d)]=0x32ca]=_0xd75253(0x19d),_0x3839a6[_0x3839a6[_0xd75253(0x1d0)]=0x32cb]=_0xd75253(0x1d0),_0x3839a6[_0x3839a6['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0xd75253(0x368),_0x3839a6[_0x3839a6[_0xd75253(0x123)]=0x36b2]=_0xd75253(0x123),_0x3839a6[_0x3839a6[_0xd75253(0x31b)]=0x36b3]=_0xd75253(0x31b),_0x3839a6[_0x3839a6[_0xd75253(0x3a7)]=0x36b4]=_0xd75253(0x3a7),_0x3839a6[_0x3839a6[_0xd75253(0x2b2)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3839a6[_0x3839a6[_0xd75253(0x25e)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x3839a6[_0x3839a6['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x3839a6[_0x3839a6['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x3839a6[_0x3839a6[_0xd75253(0x2fe)]=0x3a9a]=_0xd75253(0x2fe),_0x3839a6[_0x3839a6[_0xd75253(0x271)]=0x3a9b]=_0xd75253(0x271),_0x3839a6[_0x3839a6[_0xd75253(0x35b)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x3839a6[_0x3839a6[_0xd75253(0x268)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3839a6[_0x3839a6[_0xd75253(0x2ef)]=0x3a9e]=_0xd75253(0x2ef),_0x3839a6[_0x3839a6[_0xd75253(0x241)]=0x3a9f]=_0xd75253(0x241),_0x3839a6[_0x3839a6[_0xd75253(0x294)]=-0x1]='UNRECOGNIZED',_0x3839a6))(vi||{}),Q=(_0x437c5f=>(_0x437c5f[_0x437c5f['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x437c5f[_0x437c5f['UNIVER_DOC']=0x1]=_0xd75253(0x2af),_0x437c5f[_0x437c5f['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x437c5f[_0x437c5f[_0xd75253(0x1cd)]=0x3]=_0xd75253(0x1cd),_0x437c5f[_0x437c5f['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x437c5f[_0x437c5f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x437c5f))(Q||{}),F=(_0x1b757b=>(_0x1b757b[_0x1b757b[_0xd75253(0x2e2)]=0x0]='UNKNOWN_CMD',_0x1b757b[_0x1b757b[_0xd75253(0x397)]=0x1]=_0xd75253(0x397),_0x1b757b[_0x1b757b[_0xd75253(0x16d)]=0x2]=_0xd75253(0x16d),_0x1b757b[_0x1b757b[_0xd75253(0x23a)]=0x3]=_0xd75253(0x23a),_0x1b757b[_0x1b757b['INGEST']=0x4]=_0xd75253(0x222),_0x1b757b[_0x1b757b[_0xd75253(0x410)]=0x5]=_0xd75253(0x410),_0x1b757b[_0x1b757b[_0xd75253(0x37b)]=0x6]=_0xd75253(0x37b),_0x1b757b[_0x1b757b[_0xd75253(0x294)]=-0x1]='UNRECOGNIZED',_0x1b757b))(F||{}),pe=(_0x324caa=>(_0x324caa[_0x324caa[_0xd75253(0x1e6)]=0x0]=_0xd75253(0x1e6),_0x324caa[_0x324caa['OK']=0x1]='OK',_0x324caa[_0x324caa['FAIL']=0x2]='FAIL',_0x324caa[_0x324caa[_0xd75253(0x2bd)]=0x3e9]='JOIN_ROOM_FULL',_0x324caa[_0x324caa[_0xd75253(0x17a)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x324caa[_0x324caa[_0xd75253(0x171)]=0x3eb]=_0xd75253(0x171),_0x324caa[_0x324caa[_0xd75253(0x35d)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x324caa[_0x324caa[_0xd75253(0x294)]=-0x1]=_0xd75253(0x294),_0x324caa))(pe||{}),pi=(_0x4f1e7f=>(_0x4f1e7f[_0x4f1e7f[_0xd75253(0x38e)]=0x0]=_0xd75253(0x38e),_0x4f1e7f[_0x4f1e7f[_0xd75253(0x13e)]=0x1]='HttpImport',_0x4f1e7f[_0x4f1e7f[_0xd75253(0x3f5)]=0x2]=_0xd75253(0x3f5),_0x4f1e7f[_0x4f1e7f['UnitEmbedded']=0x3]='UnitEmbedded',_0x4f1e7f[_0x4f1e7f[_0xd75253(0x143)]=0x4]=_0xd75253(0x143),_0x4f1e7f[_0x4f1e7f[_0xd75253(0x292)]=0x5]=_0xd75253(0x292),_0x4f1e7f[_0x4f1e7f[_0xd75253(0x21f)]=0x6]=_0xd75253(0x21f),_0x4f1e7f[_0x4f1e7f[_0xd75253(0x294)]=-0x1]=_0xd75253(0x294),_0x4f1e7f))(pi||{});const Cs=_0xd75253(0x282);function Ns(_0x2f5c7b){var _0x25a3da=_0xd75253;return JSON['stringify'](_0x2f5c7b)[_0x25a3da(0x1eb)];}var re=(_0x4bc0be=>(_0x4bc0be[_0xd75253(0x129)]='OTHER_CLIENT_EDITING',_0x4bc0be[_0xd75253(0x261)]=_0xd75253(0x261),_0x4bc0be['CONFLICT']=_0xd75253(0x1e3),_0x4bc0be[_0xd75253(0x3bd)]='CLOSE_ROOM',_0x4bc0be[_0xd75253(0x2de)]='JOIN_ROOM_FAILED',_0x4bc0be['SOCKET_FAILED_RETRY']=_0xd75253(0x11c),_0x4bc0be[_0xd75253(0x1e8)]='SOCKET_FAILED',_0x4bc0be[_0xd75253(0x18d)]=_0xd75253(0x18d),_0x4bc0be))(re||{});class ve{constructor(){var _0x5a740b=_0xd75253;D(this,'_event$',new _0x1c7476()),D(this,_0x5a740b(0x1fd),this[_0x5a740b(0x3ee)][_0x5a740b(0x361)]());}[_0xd75253(0x3a0)](_0x2bd55f){var _0x3ffbc1=_0xd75253;this['_event$'][_0x3ffbc1(0x178)](_0x2bd55f);}}class Ei{constructor(){var _0x1e39f3=_0xd75253;D(this,_0x1e39f3(0x409),new _0x1c7476()),D(this,_0x1e39f3(0x1e2),this[_0x1e39f3(0x409)][_0x1e39f3(0x361)]());}[_0xd75253(0x3d7)](_0xc0d82){var _0x4349f1=_0xd75253;this[_0x4349f1(0x409)][_0x4349f1(0x178)](_0xc0d82);}}var bs=Object[_0xd75253(0x404)],Ds=(_0x4620c1,_0x105307,_0x199d27,_0x30c841)=>{var _0xb96c50=_0xd75253;for(var _0x565d99=_0x30c841>0x1?void 0x0:_0x30c841?bs(_0x105307,_0x199d27):_0x105307,_0x55c6cf=_0x4620c1[_0xb96c50(0x1eb)]-0x1,_0x145c8f;_0x55c6cf>=0x0;_0x55c6cf--)(_0x145c8f=_0x4620c1[_0x55c6cf])&&(_0x565d99=_0x145c8f(_0x565d99)||_0x565d99);return _0x565d99;},Ft=(_0x4a0ace,_0x23f206)=>(_0x37b6bc,_0x2f7a69)=>_0x23f206(_0x37b6bc,_0x2f7a69,_0x4a0ace);let Pe=class extends _0x29b788{constructor(_0x10268c,_0x15adc4){var _0x42bf76=_0xd75253;super(),D(this,_0x42bf76(0x116),new Map()),D(this,_0x42bf76(0x1dd),new _0x1c7476()),(this['_univerInstanceService']=_0x10268c,this['_userManagerService']=_0x15adc4,this[_0x42bf76(0x275)](_0xad9f69(this[_0x42bf76(0x2fb)][_0x42bf76(0x3c3)](_0x2cb638[_0x42bf76(0x376)])[_0x42bf76(0x151)](_0x2eed3b(_0x537e60=>_0x537e60['getUnitId']())),this[_0x42bf76(0x2fb)][_0x42bf76(0x3c3)](_0x2cb638[_0x42bf76(0x2af)])[_0x42bf76(0x151)](_0x2eed3b(_0x2cbb36=>_0x2cbb36['getUnitId']())),this[_0x42bf76(0x2fb)][_0x42bf76(0x3c3)](_0x2cb638[_0x42bf76(0x1cd)])['pipe'](_0x2eed3b(_0x19003=>_0x19003[_0x42bf76(0x1a7)]())))[_0x42bf76(0x234)](_0x394cd0=>this[_0x42bf76(0x22b)](_0x394cd0))));}[_0xd75253(0x140)](_0x3a1768){var _0x95fb78=_0xd75253;return this[_0x95fb78(0x116)][_0x95fb78(0x243)](_0x3a1768)?_0x1032ed(this['_roomMembers']['get'](_0x3a1768)):this[_0x95fb78(0x1dd)][_0x95fb78(0x151)](_0x2eed3b(_0x53a3e2=>{var _0x2bc261=_0x95fb78;if(_0x53a3e2===_0x3a1768)return this[_0x2bc261(0x116)][_0x2bc261(0x313)](_0x53a3e2);}));}[_0xd75253(0x1f7)](_0x25f008){var _0x4adf1e=_0xd75253;this[_0x4adf1e(0x28d)]['setCurrentUser'](_0x25f008);}[_0xd75253(0x203)](){var _0x7bde2d=_0xd75253;return this[_0x7bde2d(0x28d)][_0x7bde2d(0x203)]();}[_0xd75253(0x3f8)](_0x2270bf,_0x25c911){var _0x5d8502=_0xd75253;let _0xb9b4a3=this[_0x5d8502(0x116)][_0x5d8502(0x313)](_0x2270bf);_0xb9b4a3||(_0xb9b4a3=new ys(),this[_0x5d8502(0x116)]['set'](_0x2270bf,_0xb9b4a3),this[_0x5d8502(0x1dd)][_0x5d8502(0x178)](_0x2270bf)),_0xb9b4a3[_0x5d8502(0x3f8)](_0x25c911);}[_0xd75253(0x26c)](_0x355ee0,_0x4f5610){var _0x28decd=_0xd75253;const _0x4ff8f4=this[_0x28decd(0x116)]['get'](_0x355ee0);_0x4ff8f4&&_0x4ff8f4['removeMember'](_0x4f5610);}[_0xd75253(0x183)](_0x129cd0){var _0x5f4cae=_0xd75253;return this[_0x5f4cae(0x116)][_0x5f4cae(0x313)](_0x129cd0);}[_0xd75253(0x3d5)](_0x1aa415,_0xd9b949){var _0x27c4ac=_0xd75253;const _0x476b5d=this['_roomMembers'][_0x27c4ac(0x313)](_0x1aa415);if(_0x476b5d)return _0x476b5d[_0x27c4ac(0x3d5)](_0xd9b949);}[_0xd75253(0x22b)](_0x22030c){var _0x529b12=_0xd75253;const _0x25ac7c=this[_0x529b12(0x116)]['get'](_0x22030c);_0x25ac7c&&(_0x25ac7c[_0x529b12(0x16a)](),this[_0x529b12(0x116)]['delete'](_0x22030c));}[_0xd75253(0x16a)](){var _0x36fb84=_0xd75253;this['_roomMembers'][_0x36fb84(0x317)](_0x124a1c=>_0x124a1c['dispose']()),this['_roomMembers'][_0x36fb84(0x3c9)](),this[_0x36fb84(0x1dd)][_0x36fb84(0x154)]();}};Pe=Ds([Ft(0x0,_0x35e7f5),Ft(0x1,_0x4f8a93(_0x1ce6f1))],Pe);class ys extends _0x29b788{constructor(){var _0x14a2d8=_0xd75253;super(...arguments),D(this,_0x14a2d8(0x201),new Map()),D(this,_0x14a2d8(0x3ea),new _0x2a8cbc(this[_0x14a2d8(0x201)])),D(this,_0x14a2d8(0x161),this[_0x14a2d8(0x3ea)][_0x14a2d8(0x361)]());}[_0xd75253(0x16a)](){var _0x3e0038=_0xd75253;this[_0x3e0038(0x201)][_0x3e0038(0x3c9)]();}[_0xd75253(0x3f8)](_0x532be6){var _0x57c7f3=_0xd75253;this[_0x57c7f3(0x201)][_0x57c7f3(0x20a)](_0x532be6[_0x57c7f3(0x12a)],_0x532be6),this[_0x57c7f3(0x1a1)]();}[_0xd75253(0x26c)](_0x30342b){var _0x24f24c=_0xd75253;this[_0x24f24c(0x201)][_0x24f24c(0x2f8)](_0x30342b);}[_0xd75253(0x3d5)](_0x5eaf06){var _0x161050=_0xd75253;return this['_members'][_0x161050(0x313)](_0x5eaf06);}[_0xd75253(0x1f5)](){var _0x2fd170=_0xd75253;return Array['from'](this[_0x2fd170(0x201)][_0x2fd170(0x418)]());}['_emitMembers'](){var _0xa48a58=_0xd75253;this[_0xa48a58(0x3ea)]['next'](this[_0xa48a58(0x201)]);}}var Us=Object[_0xd75253(0x404)],As=(_0x59a682,_0x25decc,_0x3feda3,_0x553af6)=>{var _0x308002=_0xd75253;for(var _0xf5f38a=_0x553af6>0x1?void 0x0:_0x553af6?Us(_0x25decc,_0x3feda3):_0x25decc,_0xea4247=_0x59a682[_0x308002(0x1eb)]-0x1,_0x5c30ec;_0xea4247>=0x0;_0xea4247--)(_0x5c30ec=_0x59a682[_0xea4247])&&(_0xf5f38a=_0x5c30ec(_0xf5f38a)||_0xf5f38a);return _0xf5f38a;},Oe=(_0x4fb57c,_0x3b8be9)=>(_0x1c9331,_0x14c259)=>_0x3b8be9(_0x1c9331,_0x14c259,_0x4fb57c),me=(_0x132b76=>(_0x132b76[_0x132b76['IDLE']=0x0]=_0xd75253(0x26d),_0x132b76[_0x132b76[_0xd75253(0x166)]=0x1]=_0xd75253(0x166),_0x132b76[_0x132b76[_0xd75253(0x38b)]=0x2]=_0xd75253(0x38b),_0x132b76[_0x132b76[_0xd75253(0x25b)]=0x3]=_0xd75253(0x25b),_0x132b76))(me||{});const Vt={[pe[_0xd75253(0x33e)]]:_0xd75253(0x242),[pe['JOIN_ROOM_FULL']]:'session.room-full',[pe[_0xd75253(0x17a)]]:_0xd75253(0x342),[pe[_0xd75253(0x171)]]:_0xd75253(0x10e),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let mt=class extends _0xa8e605{constructor(_0xccd3ef,_0x5014b4,_0x25662a,_0x32f7a0,_0x694711,_0x52c360,_0x545b02,_0x3a5ee1){var _0x570722=_0xd75253;super(),D(this,_0x570722(0x387),new _0x2a8cbc(0x0)),D(this,'sessionStatus$',this[_0x570722(0x387)][_0x570722(0x361)]()),D(this,_0x570722(0x3ee),new _0x1c7476()),D(this,_0x570722(0x1fd),this[_0x570722(0x3ee)]['asObservable']()),D(this,'_socket'),D(this,_0x570722(0x2b7)),D(this,'_collaborationTimeoutTimer'),D(this,_0x570722(0x162),!0x1),D(this,_0x570722(0x300),null),(this['_unitID']=_0xccd3ef,this[_0x570722(0x280)]=_0x25662a,this[_0x570722(0x398)]=_0x32f7a0,this[_0x570722(0x3a5)]=_0x694711,this[_0x570722(0x1cb)]=_0x52c360,this[_0x570722(0x2ee)]=_0x545b02,this[_0x570722(0x213)]=_0x3a5ee1,this[_0x570722(0x162)]=!!this['_telemetryService'],_0x5014b4[_0x570722(0x151)](_0x29a2e6(this['dispose$']))['subscribe'](_0x161bfa=>{var _0x2a5998=_0x570722,_0x56652a;typeof _0x161bfa>'u'||(this[_0x2a5998(0x3e2)]=_0x161bfa,_0x161bfa?(this['_joinRoom'](_0x161bfa),this[_0x2a5998(0x2b7)]=_0x161bfa[_0x2a5998(0x3df)][_0x2a5998(0x234)](_0xa4057a=>{var _0x38d206=_0x2a5998;_0xa4057a[_0x38d206(0x17b)]===this[_0x38d206(0x32d)]&&this[_0x38d206(0x267)](_0xa4057a);})):(this[_0x2a5998(0x39c)](),this['_sessionStatus$'][_0x2a5998(0x178)](0x2),(_0x56652a=this['_socketMessageSubscription'])==null||_0x56652a[_0x2a5998(0x258)](),this[_0x2a5998(0x2b7)]=null));}));}get['sessionStatus'](){var _0x4a6d62=_0xd75253;return this[_0x4a6d62(0x387)]['getValue']();}[_0xd75253(0x1e4)](){var _0x5ae982=_0xd75253,_0x195026,_0x3f03fe;return(_0x3f03fe=(_0x195026=this[_0x5ae982(0x3e2)])==null?void 0x0:_0x195026['memberID'])!=null?_0x3f03fe:null;}['dispose'](){var _0x37fd1c=_0xd75253;super['dispose'](),this['dispose$']['next'](),this['dispose$'][_0x37fd1c(0x154)]();}[_0xd75253(0x110)](){var _0x13b85b=_0xd75253,_0x18f381,_0x44a138;this[_0x13b85b(0x39c)](),(_0x18f381=this[_0x13b85b(0x3e2)])==null||_0x18f381[_0x13b85b(0x31f)]({'cmd':F[_0x13b85b(0x23a)],'data':{'roomID':this['_unitID']}}),(_0x44a138=this[_0x13b85b(0x3e2)])==null||_0x44a138['close'](),this[_0x13b85b(0x3ee)][_0x13b85b(0x154)](),this['_sessionStatus$'][_0x13b85b(0x154)](),this[_0x13b85b(0x16a)]();}[_0xd75253(0x267)](_0xd930ee){var _0x1f0a6a=_0xd75253;_0xd930ee['cmd']===F[_0x1f0a6a(0x16d)]?this['_onJoinRoomEvent'](_0xd930ee):_0xd930ee[_0x1f0a6a(0x148)]===F[_0x1f0a6a(0x37b)]&&this[_0x1f0a6a(0x250)](_0xd930ee);}[_0xd75253(0x1b5)](_0x59a287){var _0x24bad4=_0xd75253;this[_0x24bad4(0x387)]['next'](0x1),_0x59a287[_0x24bad4(0x31f)]({'cmd':F[_0x24bad4(0x16d)],'routeKey':this[_0x24bad4(0x32d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24bad4(0x32d)]}]}});}['_onJoinRoomEvent'](_0x9eb25a){var _0x3337d0=_0xd75253,_0xefbf39;if(_0x9eb25a[_0x3337d0(0x14c)]in Vt){this[_0x3337d0(0x2ee)]['emitEvent']({'id':re[_0x3337d0(0x2de)],'data':Vt[_0x9eb25a[_0x3337d0(0x14c)]]}),this[_0x3337d0(0x387)][_0x3337d0(0x178)](0x2);return;}this[_0x3337d0(0x387)]['next'](0x3);const _0x37bbb3=(_0xefbf39=_0x9eb25a[_0x3337d0(0x21e)][_0x3337d0(0x353)][this[_0x3337d0(0x32d)]])==null?void 0x0:_0xefbf39[_0x3337d0(0x118)];_0x37bbb3&&_0x37bbb3[_0x3337d0(0x317)](_0x21d5b8=>this[_0x3337d0(0x3a5)]['updateMember'](this[_0x3337d0(0x32d)],_0x21d5b8));}[_0xd75253(0x250)](_0x59552e){var _0x876c3=_0xd75253;try{const _0xdf6a7d=_0x59552e[_0x876c3(0x21e)];switch(_0xdf6a7d[_0x876c3(0x3f4)]){case _0x6e45b[_0x876c3(0x272)]:this[_0x876c3(0x266)](_0xdf6a7d),this[_0x876c3(0x3ee)]['next'](_0xdf6a7d);break;case _0x6e45b[_0x876c3(0x3c5)]:this['_onUserLeave'](_0xdf6a7d),this['_event$'][_0x876c3(0x178)](_0xdf6a7d);break;case _0x6e45b[_0x876c3(0x1b4)]:case _0x6e45b[_0x876c3(0x3fa)]:this[_0x876c3(0x403)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x876c3(0x178)](_0xdf6a7d);break;case _0x6e45b[_0x876c3(0x1bd)]:this[_0x876c3(0x280)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x876c3(0x3a4)](_0xdf6a7d)),this['_event$'][_0x876c3(0x178)](_0xdf6a7d);break;case _0x6e45b[_0x876c3(0x15c)]:this['_commentService']['onCommentUpdate'](_0xdf6a7d[_0x876c3(0x21e)]),this[_0x876c3(0x3ee)]['next'](_0xdf6a7d);break;default:this[_0x876c3(0x3ee)][_0x876c3(0x178)](_0xdf6a7d);}}catch(_0x5488b3){this['_logService'][_0x876c3(0x238)](_0x5488b3,_0x59552e);}}[_0xd75253(0x266)](_0x4eb196){var _0x66e438=_0xd75253;this['_memberService']['updateMember'](this[_0x66e438(0x32d)],_0x4eb196[_0x66e438(0x21e)]);}['_onUserLeave'](_0x28240f){var _0x5ed166=_0xd75253;this['_memberService']['removeMember'](this[_0x5ed166(0x32d)],_0x28240f['data'][_0x5ed166(0x12a)]);}async['send'](_0x339e3d,_0x30d279){var _0x4f1e6c=_0xd75253;if(this['sessionStatus']!==0x3||!this[_0x4f1e6c(0x3e2)])throw new Error(_0x4f1e6c(0x40a));try{_0x339e3d[_0x4f1e6c(0x3f4)]===_0x6e45b[_0x4f1e6c(0x359)]&&(this[_0x4f1e6c(0x159)](),this[_0x4f1e6c(0x389)](_0x339e3d)),this[_0x4f1e6c(0x3e2)][_0x4f1e6c(0x31f)]({'cmd':F[_0x4f1e6c(0x222)],'routeKey':_0x30d279,'routeType':'','data':_0x339e3d});}catch(_0x549cbd){this[_0x4f1e6c(0x280)][_0x4f1e6c(0x238)](_0x549cbd);}}[_0xd75253(0x159)](){var _0x5621ce=_0xd75253,_0xfa57b9;this[_0x5621ce(0x3af)]=setTimeout(()=>{var _0x496445=_0x5621ce;this[_0x496445(0x3af)]=null,this[_0x496445(0x2ee)][_0x496445(0x3a0)]({'id':re[_0x496445(0x18d)]});},(_0xfa57b9=this[_0x5621ce(0x398)][_0x5621ce(0x205)](di))!=null?_0xfa57b9:fi);}[_0xd75253(0x411)](){var _0x5cc89b=_0xd75253;this[_0x5cc89b(0x3af)]&&(clearTimeout(this[_0x5cc89b(0x3af)]),this[_0x5cc89b(0x3af)]=null);}[_0xd75253(0x389)](_0x32862a){var _0x34e67d=_0xd75253;if(!this[_0x34e67d(0x162)])return;const {data:_0x4300e3}=_0x32862a,{unitID:_0x13db38,changeset:_0x1c215a}=_0x4300e3,{mutations:_0x467ea2,type:_0x12ddf0}=_0x1c215a;this['_telemetryInfo']={'unitId':_0x13db38,'type':_0x12ddf0,'startTime':performance[_0x34e67d(0x128)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x467ea2)};}[_0xd75253(0x403)](){var _0x324dd7=_0xd75253;if(this[_0x324dd7(0x162)]){if(!this[_0x324dd7(0x300)]){this['_logService'][_0x324dd7(0x238)](_0x324dd7(0x2a3),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x324dd7(0x300)][_0x324dd7(0x19a)]=performance['now'](),this[_0x324dd7(0x300)]['duration']=this['_telemetryInfo'][_0x324dd7(0x19a)]-this[_0x324dd7(0x300)][_0x324dd7(0x1f9)],this[_0x324dd7(0x213)][_0x324dd7(0x2c7)](Cs,this[_0x324dd7(0x300)]),this[_0x324dd7(0x300)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x4435c6=_0xd75253;this[_0x4435c6(0x300)]=null;}};mt=As([Oe(0x2,_0x3c99db),Oe(0x3,_0x14120a),Oe(0x4,_0x4f8a93(Pe)),Oe(0x5,_0x4f8a93(Ei)),Oe(0x6,_0x4f8a93(ve)),Oe(0x7,_0x17f639(_0x5ee5af))],mt);const J=_0x306684(_0xd75253(0x1f4));function Nr(_0x276c92){var _0x306a4a=_0xd75253;return _0x306a4a(0x276)+_0x276c92;}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x3b1785,_0x4c7d87,_0x598cce,_0x336ade)=>{for(var _0xdc3033=_0x336ade>0x1?void 0x0:_0x336ade?Ps(_0x4c7d87,_0x598cce):_0x4c7d87,_0x4c5a98=_0x3b1785['length']-0x1,_0x330497;_0x4c5a98>=0x0;_0x4c5a98--)(_0x330497=_0x3b1785[_0x4c5a98])&&(_0xdc3033=_0x330497(_0xdc3033)||_0xdc3033);return _0xdc3033;},ut=(_0x527761,_0x5589e2)=>(_0x34f078,_0x5b967b)=>_0x5589e2(_0x34f078,_0x5b967b,_0x527761);function Ms(_0x5ba9a1){var _0x3e3242=_0xd75253;const {unitID:_0x1d3ce1,mutations:_0x7c0336}=_0x5ba9a1;return{'unitId':_0x1d3ce1,'subUnitId':_0x7c0336[0x0][_0x3e3242(0x134)][_0x3e3242(0x29a)]};}let it=class{constructor(_0x4dc34f,_0x31bb7a,_0x52d5f5){var _0x46fbd6=_0xd75253;this[_0x46fbd6(0x37c)]=_0x4dc34f,this[_0x46fbd6(0x399)]=_0x31bb7a,this[_0x46fbd6(0x343)]=_0x52d5f5;}[_0xd75253(0x3c7)](_0x4d5350){var _0x322e2f=_0xd75253,_0x319f02,_0x1d6431,_0x60b4d3,_0x5b728d;const _0x31ebfa=this[_0x322e2f(0x37c)]['get'](_0x411acf),{unitId:_0x1547e7,subUnitId:_0x45eff3}=Ms(_0x4d5350),_0x3b3f23=_0x31ebfa==null?void 0x0:_0x31ebfa['getWorkbookSelections'](_0x1547e7)[_0x322e2f(0x145)](),_0x31c7a8=(_0x1d6431=(_0x319f02=this[_0x322e2f(0x343)][_0x322e2f(0x22e)](_0x1547e7))==null?void 0x0:_0x319f02[_0x322e2f(0x3e6)]())==null?void 0x0:_0x1d6431['getSheetId']();if(_0x3b3f23['length']===0x0||!_0x1547e7||!_0x45eff3)return;const _0x266bd8=[{'id':_0x2d23f8['id'],'params':{'unitId':_0x1547e7,'subUnitId':_0x31c7a8,'selections':_0x4750d6[_0x322e2f(0x284)](_0x3b3f23)}}],_0x24c56d=this['_transformService'][_0x322e2f(0x41a)](_0x4d5350,_0x266bd8);if(!_0x1ccd69(_0x24c56d))throw _0x24c56d['error'];const _0x4e41e2=(_0x5b728d=(_0x60b4d3=_0x24c56d[_0x322e2f(0x34d)][0x0])==null?void 0x0:_0x60b4d3[_0x322e2f(0x134)])==null?void 0x0:_0x5b728d[_0x322e2f(0x3fd)];if(Array['isArray'](_0x4e41e2)&&_0x4e41e2[_0x322e2f(0x1eb)]){if(_0x4e41e2[_0x322e2f(0x1eb)]===_0x266bd8[0x0]['params'][_0x322e2f(0x3fd)][_0x322e2f(0x1eb)]&&_0x4e41e2[_0x322e2f(0x1c8)]((_0x3ff0a5,_0x365b93)=>_0x379cff[_0x322e2f(0x26e)](_0x3ff0a5[_0x322e2f(0x340)],_0x266bd8[0x0][_0x322e2f(0x134)][_0x322e2f(0x3fd)][_0x365b93][_0x322e2f(0x340)])))return;this['_injector'][_0x322e2f(0x313)](_0x247b14)[_0x322e2f(0x2d3)](_0x2d23f8['id'],{'unitId':_0x1547e7,'subUnitId':_0x31c7a8,'selections':_0x4e41e2});}}};it=ws([ut(0x0,_0x4f8a93(_0x33d727)),ut(0x1,_0x1c8ebf),ut(0x2,_0x35e7f5)],it);const _t=_0x306684(_0xd75253(0x338));var mi=(_0x192fc0=>(_0x192fc0[_0x192fc0[_0xd75253(0x37e)]=0x0]=_0xd75253(0x37e),_0x192fc0[_0x192fc0[_0xd75253(0x3ae)]=0x1]='OTHER_CLIENTS_EDITING',_0x192fc0))(mi||{});const K=_0xd75253(0x180),Ls={},xs=new Set([_0x299c0e['id']]);function Gt(_0x3e3fa6,_0x23d15e,_0x324aff,_0x142e0a,_0x3ca6fc){var _0x377944=_0xd75253,_0x5a9521,_0x4da3b0,_0x1070df,_0x6ca2ef;const _0x2def47=[];for(const _0x2839b3 of _0x3e3fa6)if(xs['has'](_0x2839b3['id'])){if(_0x2def47[_0x377944(0x1eb)]>0x0)break;_0x2def47[_0x377944(0x3fb)](_0x2839b3);break;}else _0x2def47['push'](_0x2839b3);const _0x9bab1e=(_0x4da3b0=(_0x5a9521=_0x3ca6fc['getCurrentUser']())==null?void 0x0:_0x5a9521[_0x377944(0x3e4)])!=null?_0x4da3b0:_0x377944(0x177),_0x41a1ca=(_0x6ca2ef=(_0x1070df=_0x3ca6fc[_0x377944(0x203)]())==null?void 0x0:_0x1070df['memberID'])!=null?_0x6ca2ef:_0x377944(0x177);return{'changeset':{'unitID':_0x23d15e,'type':_0x2076fd(_0x324aff[_0x377944(0x27c)](_0x23d15e)),'baseRev':_0x142e0a[_0x377944(0x3bf)](_0x23d15e),'revision':0x0,'userID':_0x9bab1e,'memberID':_0x41a1ca,'mutations':_0x2def47},'pendingMutations':_0x3e3fa6[_0x377944(0x1ec)](_0x2def47[_0x377944(0x1eb)])};}function ks(_0x48d7dd,_0x15ae4f,_0x18ca95,_0x53e6d0,_0x2d8bea){var _0x10f3bd=_0xd75253,_0x67f223,_0x596c95,_0x22458f,_0x2747f6;const _0x8c834e=[_0x48d7dd['reduce']((_0x813dd2,_0x3dd26c)=>{var _0x2703e9=_0xf06a,_0x472781;const {id:_0x1a99ea}=_0x813dd2,{id:_0x569e94,type:_0xcf38f7}=_0x3dd26c,_0x447b16=(_0x472781=_0x813dd2[_0x2703e9(0x134)])!=null?_0x472781:{'actions':null},_0x2ba193=_0x3dd26c['params'];if(_0x1a99ea&&_0x1a99ea!==_0x569e94)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1a99ea+_0x2703e9(0x393)+_0x569e94+'.');return{..._0x813dd2,'id':_0x569e94,'type':_0xcf38f7,'params':{'unitId':_0x2ba193['unitId'],'textRanges':_0x2ba193[_0x2703e9(0x37a)],'actions':_0x6bf323[_0x2703e9(0x2eb)](_0x447b16[_0x2703e9(0x3b5)],_0x2ba193[_0x2703e9(0x3b5)])}};},{})],_0xde56ec=(_0x596c95=(_0x67f223=_0x2d8bea[_0x10f3bd(0x203)]())==null?void 0x0:_0x67f223[_0x10f3bd(0x3e4)])!=null?_0x596c95:_0x10f3bd(0x177),_0x31fc06=(_0x2747f6=(_0x22458f=_0x2d8bea[_0x10f3bd(0x203)]())==null?void 0x0:_0x22458f[_0x10f3bd(0x12a)])!=null?_0x2747f6:_0x10f3bd(0x177);return{'changeset':{'unitID':_0x15ae4f,'type':_0x2076fd(_0x18ca95[_0x10f3bd(0x27c)](_0x15ae4f)),'baseRev':_0x53e6d0[_0x10f3bd(0x3bf)](_0x15ae4f),'revision':0x0,'userID':_0xde56ec,'memberID':_0x31fc06,'mutations':_0x8c834e},'pendingMutations':[]};}function Ii(_0x523402,_0xc109e8){var _0x207243=_0xd75253;const _0x7dc8a5=new _0x18e156(0x1);return setTimeout(()=>_0x7dc8a5[_0x207243(0x178)](_0xc109e8),_0x523402),_0x7dc8a5[_0x207243(0x361)]()[_0x207243(0x151)](_0x2e1ff9(0x1));}const $s={'id':_0x3e725b['id'],'type':_0x58455e[_0xd75253(0x12f)],'params':{}};var Hs=Object['getOwnPropertyDescriptor'],Se=(_0x9eb643,_0x2ad7e4,_0x396e69,_0x104044)=>{var _0x59a673=_0xd75253;for(var _0x52e035=_0x104044>0x1?void 0x0:_0x104044?Hs(_0x2ad7e4,_0x396e69):_0x2ad7e4,_0x279a17=_0x9eb643[_0x59a673(0x1eb)]-0x1,_0x5bc479;_0x279a17>=0x0;_0x279a17--)(_0x5bc479=_0x9eb643[_0x279a17])&&(_0x52e035=_0x5bc479(_0x52e035)||_0x52e035);return _0x52e035;},w=(_0x40c7ab,_0xb57523)=>(_0x8ea3a5,_0x1d60e8)=>_0xb57523(_0x8ea3a5,_0x1d60e8,_0x40c7ab),Si=(_0x1387eb=>(_0x1387eb[_0xd75253(0x1bc)]=_0xd75253(0x3b8),_0x1387eb[_0xd75253(0x2e8)]=_0xd75253(0x239),_0x1387eb['PENDING']=_0xd75253(0x386),_0x1387eb[_0xd75253(0x23e)]=_0xd75253(0x19c),_0x1387eb['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x1387eb[_0xd75253(0x1a9)]=_0xd75253(0x2e0),_0x1387eb[_0xd75253(0x1e3)]=_0xd75253(0x2be),_0x1387eb['OFFLINE']=_0xd75253(0x122),_0x1387eb))(Si||{});const gi=0xea60;class ge{constructor(_0x149fb3,_0x47570a,_0x17d7ce,_0x1ecb06,_0x42d73,_0x14eb09,_0x463b04,_0x4f7d46,_0x5948d9){var _0x1d381a=_0xd75253;D(this,_0x1d381a(0x245),null),D(this,_0x1d381a(0x364),[]),(this[_0x1d381a(0x3c6)]=_0x149fb3,this[_0x1d381a(0x19f)]=_0x47570a,this[_0x1d381a(0x259)]=_0x42d73,this[_0x1d381a(0x264)]=_0x14eb09,this[_0x1d381a(0x3ff)]=_0x463b04,this[_0x1d381a(0x27a)]=_0x4f7d46,this[_0x1d381a(0x207)]=_0x5948d9,this[_0x1d381a(0x245)]=_0x17d7ce,this[_0x1d381a(0x364)]=_0x1ecb06);}[_0xd75253(0x23b)](_0x2145ab){var _0x117c1a=_0xd75253;const _0xfd6733=this['_revisionService'][_0x117c1a(0x3bf)](this[_0x117c1a(0x3c6)]);return _0x2145ab[_0x117c1a(0x1d2)]>_0xfd6733+0x1?(this[_0x117c1a(0x259)][_0x117c1a(0x38d)]({'from':_0xfd6733,'to':_0x2145ab[_0x117c1a(0x1d2)]-0x1}),!0x0):!0x1;}[_0xd75253(0x18b)](_0x4f847b){var _0x3e1ed2=_0xd75253;this[_0x3e1ed2(0x3ff)][_0x3e1ed2(0x3f0)](this[_0x3e1ed2(0x3c6)],_0x4f847b);}['_transformSelections'](_0x11b565){var _0x1ad28a=_0xd75253,_0x227035,_0x4a271f;(_0x4a271f=(_0x227035=this['_handler'])['onTransformSelections'])==null||_0x4a271f[_0x1ad28a(0x3ca)](_0x227035,_0x11b565);}['_transformIMECache'](_0x46a5f3){var _0x33ffd3=_0xd75253,_0x12455a,_0x42ea6d;return(_0x42ea6d=(_0x12455a=this[_0x33ffd3(0x259)])[_0x33ffd3(0x31a)])==null?void 0x0:_0x42ea6d[_0x33ffd3(0x3ca)](_0x12455a,_0x46a5f3);}[_0xd75253(0x155)](_0x51ed53){var _0x309b18=_0xd75253,_0x32b843,_0x494292;return(_0x494292=(_0x32b843=this[_0x309b18(0x259)])[_0x309b18(0x193)])==null?void 0x0:_0x494292[_0x309b18(0x3ca)](_0x32b843,_0x51ed53);}[_0xd75253(0x378)](_0x3f5ea8){var _0x29c2f9=_0xd75253,_0x2e9e0c,_0x267ff1,_0xf69fb6;return(_0xf69fb6=(_0x267ff1=(_0x2e9e0c=this[_0x29c2f9(0x259)])[_0x29c2f9(0x2d7)])==null?void 0x0:_0x267ff1['call'](_0x2e9e0c,_0x3f5ea8))!=null?_0xf69fb6:_0x3f5ea8;}['_transformRemoteChangesetByStateCache'](_0x1d5f8a){var _0x2ae13c=_0xd75253,_0x2b73b8,_0x45617a,_0x12ca48;return(_0x12ca48=(_0x45617a=(_0x2b73b8=this[_0x2ae13c(0x259)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x45617a[_0x2ae13c(0x3ca)](_0x2b73b8,_0x1d5f8a))!=null?_0x12ca48:_0x1d5f8a;}[_0xd75253(0x1ac)](_0x5c71aa){var _0x5b0054=_0xd75253,_0x270237,_0x1fa4ef;if(this[_0x5b0054(0x19f)]===Q[_0x5b0054(0x2af)]){const {unitID:_0x55fdf7,mutations:_0x281473,memberID:_0x31ca1d}=_0x5c71aa,_0x55ab62=_0x281473[0x0][_0x5b0054(0x134)]['textRanges'];Array[_0x5b0054(0x32e)](_0x55ab62)&&_0x55ab62['length']>0x0&&((_0x1fa4ef=(_0x270237=this[_0x5b0054(0x259)])[_0x5b0054(0x179)])==null||_0x1fa4ef[_0x5b0054(0x3ca)](_0x270237,{'unitID':_0x55fdf7,'memberID':_0x31ca1d,'textRanges':_0x55ab62}));}}[_0xd75253(0x1e9)](){var _0x46e7bb=_0xd75253,_0x49186d;(_0x49186d=this[_0x46e7bb(0x207)])==null||_0x49186d[_0x46e7bb(0x401)](this[_0x46e7bb(0x3c6)],this['type'],this['_awaitingChangeset'],this[_0x46e7bb(0x364)]);}[_0xd75253(0x36a)](){var _0x3a0f53=_0xd75253;return this[_0x3a0f53(0x27a)][_0x3a0f53(0x3bf)](this[_0x3a0f53(0x3c6)]);}[_0xd75253(0x249)](){var _0x11af7f=_0xd75253;this['_revisionService'][_0x11af7f(0x2ec)](this[_0x11af7f(0x3c6)]);}[_0xd75253(0x2c3)](_0x505391){var _0x1f29e1=_0xd75253,_0x2dcbef;let _0x37413a=this[_0x1f29e1(0x378)](_0x505391);_0x37413a=this[_0x1f29e1(0x191)](_0x37413a);const _0x19aa12=_0x581d1f(_0x37413a[_0x1f29e1(0x311)],this[_0x1f29e1(0x264)],{'fromCollab':!0x0});if(!_0x19aa12[_0x1f29e1(0x416)])throw _0x19aa12['error']instanceof Error?_0x19aa12[_0x1f29e1(0x238)]:new Error((_0x2dcbef=_0x19aa12[_0x1f29e1(0x238)])!=null?_0x2dcbef:'[CollaborationState]:\x20apply\x20error!');this[_0x1f29e1(0x256)](_0x37413a),this[_0x1f29e1(0x155)](_0x37413a),this[_0x1f29e1(0x18b)](_0x505391),this[_0x1f29e1(0x15e)](_0x37413a),this[_0x1f29e1(0x1ac)](_0x37413a),this[_0x1f29e1(0x249)]();}}let be=class extends ge{constructor(_0x25b7a2,_0xfec0f3,_0x5114dc,_0x320244,_0x58672c,_0xc5cc93,_0x8e8db1,_0x4f24ed,_0x2613cb,_0x109bd3){var _0x44f448=_0xd75253;super(_0x25b7a2,_0xfec0f3,null,[],_0x5114dc,_0x8e8db1,_0xc5cc93,_0x320244,_0x109bd3),D(this,_0x44f448(0x22a),_0x44f448(0x239)),(this[_0x44f448(0x37c)]=_0x58672c,this['_logService']=_0x4f24ed,this[_0x44f448(0x399)]=_0x2613cb,this[_0x44f448(0x2bb)]=_0x109bd3);}['appendMutation'](_0x448dd9){var _0x427d0a=_0xd75253;const _0x681674=this[_0x427d0a(0x37c)][_0x427d0a(0x36e)](ae,this[_0x427d0a(0x3c6)],this['type'],[_0x448dd9],this[_0x427d0a(0x259)]);return _0x681674[_0x427d0a(0x413)](),_0x681674[_0x427d0a(0x1e9)](),_0x681674;}['onRemoteChangeset'](_0x516b54){var _0x35e25c=_0xd75253;if(this[_0x35e25c(0x23b)](_0x516b54))return this['_injector']['createInstance'](ee,this['unitID'],this[_0x35e25c(0x19f)],null,[],null,[_0x516b54],this['_handler']);try{const _0x492daa=this[_0x35e25c(0x399)]['transformMutationsWithChangeset'](_0x516b54,[$s]);if(_0x1ccd69(_0x492daa)){const {c1Prime:_0x9f1b27}=_0x492daa;return this['_executeRemoteChangeset'](_0x9f1b27),this;}throw _0x492daa[_0x35e25c(0x238)];}catch(_0x4267f3){return this[_0x35e25c(0x280)]['error'](_0x4267f3),this['_onConflict'](!0x1);}}[_0xd75253(0x3b6)](_0xd7e9a6){var _0x3d9c5f=_0xd75253;return this[_0x3d9c5f(0x37c)][_0x3d9c5f(0x36e)](ue,this[_0x3d9c5f(0x3c6)],this[_0x3d9c5f(0x19f)],null,[],this['_handler'],_0xd7e9a6);}['onRemoteAck'](){var _0x5ac8e7=_0xd75253;throw new Error(_0x5ac8e7(0x210));}[_0xd75253(0x412)](){var _0x4960d6=_0xd75253;throw new Error(_0x4960d6(0x1c2));}[_0xd75253(0x1c9)](){return this;}[_0xd75253(0x1ed)](){var _0x3ffa78=_0xd75253;return this[_0x3ffa78(0x37c)][_0x3ffa78(0x36e)](de,this[_0x3ffa78(0x3c6)],this[_0x3ffa78(0x19f)],null,[],this['_handler']);}[_0xd75253(0x39b)](){return this;}[_0xd75253(0x3f1)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd75253(0x327)](){var _0x37559d=_0xd75253;const _0x2b38aa=this['_revisionService'][_0x37559d(0x3bf)](this['unitID']);return this[_0x37559d(0x259)][_0x37559d(0x38d)]({'from':_0x2b38aa,'to':0x0}),this['_injector'][_0x37559d(0x36e)](ee,this['unitID'],this[_0x37559d(0x19f)],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x4f8a93(_0x3d78cb)),w(0x4,_0x4f8a93(_0x33d727)),w(0x5,_0x297756),w(0x6,_0x247b14),w(0x7,_0x3c99db),w(0x8,_0x1c8ebf),w(0x9,_0x17f639(J))],be);let ae=class extends ge{constructor(_0x42aee6,_0x43ad73,_0xc30bc9,_0x2dbbf7,_0x2af5d0,_0x63b7d4,_0x4caf92,_0x12cf9f,_0x1c9697,_0x560f00,_0x3e6e60,_0x3e122a,_0x1e683e,_0x244b43){var _0x254f47=_0xd75253;super(_0x42aee6,_0x43ad73,null,_0xc30bc9,_0x2dbbf7,_0x1c9697,_0x1e683e,_0x63b7d4,_0x244b43),D(this,'status','pending'),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this[_0x254f47(0x37c)]=_0x2af5d0,this['_memberService']=_0x4caf92,this['_logService']=_0x12cf9f,this['_configService']=_0x560f00,this[_0x254f47(0x399)]=_0x3e6e60,this[_0x254f47(0x2fb)]=_0x3e122a);}['appendMutation'](_0x1b7d8b){var _0xcafd=_0xd75253;return this[_0xcafd(0x364)]['push'](_0x1b7d8b),this['_updateLocalCache'](),this;}[_0xd75253(0x3f2)](_0x5bef68){var _0x1aee9a=_0xd75253;if(this[_0x1aee9a(0x23b)](_0x5bef68))return this[_0x1aee9a(0x18a)](),this[_0x1aee9a(0x37c)][_0x1aee9a(0x36e)](ee,this[_0x1aee9a(0x3c6)],this[_0x1aee9a(0x19f)],null,this[_0x1aee9a(0x364)],null,[_0x5bef68],this[_0x1aee9a(0x259)]);try{const _0x3db897=this[_0x1aee9a(0x399)]['transformMutationsWithChangeset'](_0x5bef68,this[_0x1aee9a(0x364)]);if(_0x1ccd69(_0x3db897)){const {c1Prime:_0x89ff10,m2Prime:_0x58131a}=_0x3db897;this[_0x1aee9a(0x2c3)](_0x89ff10);const _0x5e4c51=this[_0x1aee9a(0x37c)][_0x1aee9a(0x36e)](ae,this[_0x1aee9a(0x3c6)],this[_0x1aee9a(0x19f)],_0x58131a,this['_handler']);this[_0x1aee9a(0x18a)]();const _0x517f85=new Date()[_0x1aee9a(0x1b9)](),_0x21515f=this['_scheduleCompleteTimestamp']?Math[_0x1aee9a(0x208)](this[_0x1aee9a(0x287)]-_0x517f85,0x0):this['_getSendChangesetTimeout']();return _0x5e4c51[_0x1aee9a(0x413)](_0x21515f),_0x5e4c51;}throw _0x3db897[_0x1aee9a(0x238)];}catch(_0x3ed8f8){return this['_logService'][_0x1aee9a(0x238)](_0x3ed8f8),this[_0x1aee9a(0x3b6)](!0x1);}}[_0xd75253(0x1a2)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0xd75253(0x412)](){var _0x2661ba=_0xd75253;throw new Error(_0x2661ba(0x1c1));}['onRemoteRetry'](){return this;}[_0xd75253(0x1ed)](){var _0x14550b=_0xd75253;return this[_0x14550b(0x18a)](),this[_0x14550b(0x37c)][_0x14550b(0x36e)](de,this[_0x14550b(0x3c6)],this[_0x14550b(0x19f)],null,this[_0x14550b(0x364)],this[_0x14550b(0x259)]);}[_0xd75253(0x39b)](){return this;}[_0xd75253(0x413)](_0x1fdd2d){var _0x5993f7=_0xd75253;const _0x1d6ec5=_0x1fdd2d!=null?_0x1fdd2d:this[_0x5993f7(0x299)]();this[_0x5993f7(0x287)]=new Date()[_0x5993f7(0x1b9)]()+_0x1d6ec5,this[_0x5993f7(0x21d)]=setTimeout(()=>{var _0x1efa24=_0x5993f7;this[_0x1efa24(0x18a)]();let _0x5f3463=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x5f3463=Gt(this[_0x1efa24(0x364)],this[_0x1efa24(0x3c6)],this[_0x1efa24(0x2fb)],this[_0x1efa24(0x27a)],this['_memberService']);break;}case Q[_0x1efa24(0x2af)]:{this[_0x1efa24(0x364)][_0x1efa24(0x1c8)](_0x496c0f=>_0x496c0f['id']===_0x17bf54['id'])?_0x5f3463=ks(this[_0x1efa24(0x364)],this[_0x1efa24(0x3c6)],this[_0x1efa24(0x2fb)],this[_0x1efa24(0x27a)],this[_0x1efa24(0x3a5)]):_0x5f3463=Gt(this[_0x1efa24(0x364)],this[_0x1efa24(0x3c6)],this['_univerInstanceService'],this['_revisionService'],this[_0x1efa24(0x3a5)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x1efa24(0x2ba));}const {changeset:_0x5afff6,pendingMutations:_0x5811bf}=_0x5f3463;this[_0x1efa24(0x259)][_0x1efa24(0x1bf)](_0x5afff6);const _0x534699=_0x5811bf[_0x1efa24(0x1eb)]?this[_0x1efa24(0x37c)][_0x1efa24(0x36e)](oe,this['unitID'],this[_0x1efa24(0x19f)],_0x5afff6,_0x5811bf,this[_0x1efa24(0x259)],void 0x0):this[_0x1efa24(0x37c)]['createInstance'](le,this[_0x1efa24(0x3c6)],this[_0x1efa24(0x19f)],_0x5afff6,this['_handler']);_0x534699['_updateLocalCache'](),this[_0x1efa24(0x259)][_0x1efa24(0x354)](this,_0x534699);},_0x1d6ec5);}[_0xd75253(0x299)](){var _0x181499=_0xd75253,_0x172e7a;const _0x4ff7ef=this[_0x181499(0x398)]['getConfig'](K);return(_0x172e7a=_0x4ff7ef==null?void 0x0:_0x4ff7ef['sendChangesetTimeout'])!=null?_0x172e7a:ps;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd75253(0x18a)](){var _0x2e5663=_0xd75253;this[_0x2e5663(0x21d)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x2e5663(0x21d)]=null);}['_onConflict'](_0x5860cf){var _0x38d3e1=_0xd75253;return this[_0x38d3e1(0x18a)](),this['_injector'][_0x38d3e1(0x36e)](ue,this[_0x38d3e1(0x3c6)],this[_0x38d3e1(0x19f)],null,this[_0x38d3e1(0x364)],this[_0x38d3e1(0x259)],_0x5860cf);}};ae=Se([w(0x4,_0x4f8a93(_0x33d727)),w(0x5,_0x4f8a93(_0x3d78cb)),w(0x6,_0x4f8a93(Pe)),w(0x7,_0x3c99db),w(0x8,_0x247b14),w(0x9,_0x14120a),w(0xa,_0x1c8ebf),w(0xb,_0x35e7f5),w(0xc,_0x297756),w(0xd,_0x17f639(J))],ae);let le=class extends ge{constructor(_0x423abc,_0x4bf66f,_0x304619,_0x164b97,_0x2096f9,_0x416f30,_0x4e5655,_0x3c023b,_0x8a7867,_0x1af29c,_0x19df2a){var _0x125d31=_0xd75253;super(_0x423abc,_0x4bf66f,_0x304619,[],_0x164b97,_0x4e5655,_0x1af29c,_0x416f30,_0x19df2a),D(this,_0x125d31(0x22a),_0x125d31(0x19c)),D(this,'_resendTimeout',0x0),D(this,_0x125d31(0x1fa)),D(this,_0x125d31(0x3b7)),(this[_0x125d31(0x37c)]=_0x2096f9,this[_0x125d31(0x280)]=_0x3c023b,this[_0x125d31(0x399)]=_0x8a7867);}['appendMutation'](_0x14bbe3){var _0x1a4a90=_0xd75253;this[_0x1a4a90(0x18a)]();const _0x200a45=this['_injector'][_0x1a4a90(0x36e)](oe,this[_0x1a4a90(0x3c6)],this[_0x1a4a90(0x19f)],this[_0x1a4a90(0x245)],[_0x14bbe3],this['_handler'],this[_0x1a4a90(0x1fa)]);return _0x200a45[_0x1a4a90(0x1e9)](),_0x200a45;}['onRemoteChangeset'](_0x4a2088){var _0x4ecff8=_0xd75253;if(this['_checkMissing'](_0x4a2088))return this['_clearScheduledTask'](),this[_0x4ecff8(0x37c)]['createInstance'](ee,this[_0x4ecff8(0x3c6)],this[_0x4ecff8(0x19f)],this[_0x4ecff8(0x245)],[],null,[_0x4a2088],this['_handler']);try{const _0x253e14=this[_0x4ecff8(0x399)][_0x4ecff8(0x2d1)]([_0x4a2088],[this[_0x4ecff8(0x245)]],!0x1);if(_0x3cc985(_0x253e14)){const {c1Prime:_0x2f8a76,c2Prime:_0x57b59c}=_0x253e14;this[_0x4ecff8(0x2c3)](_0x2f8a76[0x0]),_0x57b59c[0x0][_0x4ecff8(0x36c)]=this[_0x4ecff8(0x36a)](),this[_0x4ecff8(0x18a)]();const _0x1b9ae1=this[_0x4ecff8(0x37c)][_0x4ecff8(0x36e)](le,this['unitID'],this['type'],_0x57b59c[0x0],this[_0x4ecff8(0x259)]);return _0x1b9ae1['_updateLocalCache'](),_0x1b9ae1;}return this[_0x4ecff8(0x3b6)](!0x1);}catch(_0xc099a5){return this['_logService'][_0x4ecff8(0x238)](_0xc099a5),this[_0x4ecff8(0x3b6)](!0x1);}}[_0xd75253(0x1a2)](_0x164cc9){var _0x3b7ee1=_0xd75253;this[_0x3b7ee1(0x18a)]();const _0x561bbc=this[_0x3b7ee1(0x27a)]['getCurrentRevOfUnit'](this['unitID']);if(_0x164cc9[_0x3b7ee1(0x1d2)]<_0x561bbc-0x1)return this;if(this['_checkMissing'](_0x164cc9))return this[_0x3b7ee1(0x37c)][_0x3b7ee1(0x36e)](ee,this[_0x3b7ee1(0x3c6)],this[_0x3b7ee1(0x19f)],null,[],this['_awaitingChangeset'],[],this[_0x3b7ee1(0x259)]);this[_0x3b7ee1(0x249)]();const _0x1069f2=this[_0x3b7ee1(0x37c)][_0x3b7ee1(0x36e)](be,this[_0x3b7ee1(0x3c6)],this['type'],this[_0x3b7ee1(0x259)]);return _0x1069f2['_updateLocalCache'](),_0x1069f2;}[_0xd75253(0x412)](_0x344c5e){var _0x1a451c=_0xd75253;return this[_0x1a451c(0x3b6)](!!(_0x344c5e!=null&&_0x344c5e[_0x1a451c(0x2d9)]));}[_0xd75253(0x1c9)](_0x2c37ae){var _0x1e0d4e=_0xd75253;return this[_0x1e0d4e(0x36f)]>gi?this[_0x1e0d4e(0x1ed)]():(this[_0x1e0d4e(0x1fa)]=Ii(this[_0x1e0d4e(0x36f)],{'timeout':this[_0x1e0d4e(0x36f)],'reqId':_0x2c37ae[_0x1e0d4e(0x3e7)]}),this[_0x1e0d4e(0x3b7)]=this[_0x1e0d4e(0x1fa)][_0x1e0d4e(0x234)](({reqId:_0x5e87a4,timeout:_0x310a77})=>{var _0x2f957e=_0x1e0d4e;this[_0x2f957e(0x1fb)](_0x5e87a4,_0x310a77);}),this);}[_0xd75253(0x1ed)](){var _0x50cf6f=_0xd75253;return this[_0x50cf6f(0x18a)](),this[_0x50cf6f(0x37c)][_0x50cf6f(0x36e)](de,this[_0x50cf6f(0x3c6)],this[_0x50cf6f(0x19f)],this['_awaitingChangeset'],[],this[_0x50cf6f(0x259)]);}['toggleOnline'](){return this;}[_0xd75253(0x3f1)](){var _0x516164=_0xd75253;this[_0x516164(0x259)][_0x516164(0x1bf)](this[_0x516164(0x245)]);}['_onConflict'](_0x295ff5){var _0x2919dc=_0xd75253;return this[_0x2919dc(0x18a)](),this[_0x2919dc(0x37c)][_0x2919dc(0x36e)](ue,this[_0x2919dc(0x3c6)],this[_0x2919dc(0x19f)],this[_0x2919dc(0x245)],[],this[_0x2919dc(0x259)],_0x295ff5);}[_0xd75253(0x1fb)](_0xdeaa7,_0x1505f5){var _0x214884=_0xd75253,_0x16e392;_0xdeaa7===((_0x16e392=this[_0x214884(0x245)])==null?void 0x0:_0x16e392['reqId'])&&(this['resend'](),this[_0x214884(0x36f)]=_0x1505f5===0x0?0x3e8:_0x1505f5*0x2);}[_0xd75253(0x18a)](){var _0x3559b1=_0xd75253,_0x4d5b8a;(_0x4d5b8a=this[_0x3559b1(0x3b7)])==null||_0x4d5b8a[_0x3559b1(0x258)](),this[_0x3559b1(0x36f)]=0x0;}};le=Se([w(0x4,_0x4f8a93(_0x33d727)),w(0x5,_0x4f8a93(_0x3d78cb)),w(0x6,_0x247b14),w(0x7,_0x3c99db),w(0x8,_0x1c8ebf),w(0x9,_0x297756),w(0xa,_0x17f639(J))],le);let oe=class extends ge{constructor(_0x5c2354,_0x494fc7,_0x2d614e,_0x47cb41,_0x7db368,_0x1b0fab,_0x1fecba,_0x2d16d1,_0x2105af,_0x5079ac,_0x4f3401,_0x2ad3a3,_0x4f32ed){var _0x27a460=_0xd75253;super(_0x5c2354,_0x494fc7,_0x2d614e,_0x47cb41,_0x7db368,_0x2105af,_0x2ad3a3,_0x2d16d1,_0x4f32ed),D(this,_0x27a460(0x22a),_0x27a460(0x31e)),D(this,_0x27a460(0x36f),0x0),D(this,_0x27a460(0x1fa)),D(this,_0x27a460(0x3b7)),(this[_0x27a460(0x37c)]=_0x1fecba,this['_logService']=_0x5079ac,this['_transformService']=_0x4f3401,this[_0x27a460(0x2bb)]=_0x4f32ed,_0x1b0fab&&(this[_0x27a460(0x1fa)]=_0x1b0fab,this[_0x27a460(0x3b7)]=this[_0x27a460(0x1fa)][_0x27a460(0x234)](({reqId:_0x143abb,timeout:_0x2c933b})=>{var _0x132176=_0x27a460;this[_0x132176(0x1fb)](_0x143abb,_0x2c933b);})));}[_0xd75253(0x33a)](_0xa2b73a){return this['_pendingMutations']['push'](_0xa2b73a),this;}[_0xd75253(0x3f2)](_0x344635){var _0x57a2c6=_0xd75253;if(this[_0x57a2c6(0x23b)](_0x344635))return this[_0x57a2c6(0x18a)](),this[_0x57a2c6(0x37c)][_0x57a2c6(0x36e)](ee,this[_0x57a2c6(0x3c6)],this[_0x57a2c6(0x19f)],this[_0x57a2c6(0x245)],this[_0x57a2c6(0x364)],null,[_0x344635],this['_handler']);try{const _0x486243=this[_0x57a2c6(0x399)][_0x57a2c6(0x2d1)]([_0x344635],[this['_awaitingChangeset']],!0x1);if(_0x3cc985(_0x486243)){const {c1Prime:_0x88825,c2Prime:_0x3cc587}=_0x486243,_0x5ee1d7=this[_0x57a2c6(0x399)][_0x57a2c6(0x41a)](_0x88825[0x0],this[_0x57a2c6(0x364)]);if(_0x1ccd69(_0x5ee1d7)){const {c1Prime:_0x195e73,m2Prime:_0x48beda}=_0x5ee1d7;return this[_0x57a2c6(0x2c3)](_0x195e73),_0x3cc587[0x0][_0x57a2c6(0x36c)]=this[_0x57a2c6(0x36a)](),this['_clearScheduledTask'](),this[_0x57a2c6(0x37c)][_0x57a2c6(0x36e)](oe,this['unitID'],this[_0x57a2c6(0x19f)],_0x3cc587[0x0],_0x48beda,this[_0x57a2c6(0x259)],void 0x0);}throw _0x5ee1d7[_0x57a2c6(0x238)];}throw _0x486243['error'];}catch(_0x430566){return this[_0x57a2c6(0x280)][_0x57a2c6(0x238)](_0x430566),this[_0x57a2c6(0x3b6)](!0x1);}}[_0xd75253(0x1a2)](_0x4f6f0a){var _0x2fa369=_0xd75253;if(this[_0x2fa369(0x18a)](),this[_0x2fa369(0x23b)](_0x4f6f0a))return this[_0x2fa369(0x37c)][_0x2fa369(0x36e)](ee,this[_0x2fa369(0x3c6)],this[_0x2fa369(0x19f)],null,this[_0x2fa369(0x364)],this[_0x2fa369(0x245)],[],this[_0x2fa369(0x259)]);this['_incrementRevisionNumber']();const _0x1484cf=this[_0x2fa369(0x37c)]['createInstance'](ae,this[_0x2fa369(0x3c6)],this['type'],this[_0x2fa369(0x364)],this[_0x2fa369(0x259)]);return _0x1484cf['_schedule'](),_0x1484cf['_updateLocalCache'](),_0x1484cf;}[_0xd75253(0x412)](_0x52db7b){var _0x16a290=_0xd75253;return this[_0x16a290(0x3b6)](!!(_0x52db7b!=null&&_0x52db7b[_0x16a290(0x2d9)]));}[_0xd75253(0x1c9)](_0x201f36){var _0x59d398=_0xd75253;return this['_resendTimeout']>gi?this[_0x59d398(0x1ed)]():(this[_0x59d398(0x1fa)]=Ii(this[_0x59d398(0x36f)],{'timeout':this[_0x59d398(0x36f)],'reqId':_0x201f36[_0x59d398(0x3e7)]}),this[_0x59d398(0x3b7)]=this[_0x59d398(0x1fa)][_0x59d398(0x234)](({reqId:_0x482359,timeout:_0x2c21db})=>{this['_resendWithTimeout'](_0x482359,_0x2c21db);}),this);}[_0xd75253(0x1ed)](){var _0x5dcdfb=_0xd75253;return this[_0x5dcdfb(0x18a)](),this[_0x5dcdfb(0x37c)][_0x5dcdfb(0x36e)](de,this[_0x5dcdfb(0x3c6)],this[_0x5dcdfb(0x19f)],this[_0x5dcdfb(0x245)],this['_pendingMutations'],this[_0x5dcdfb(0x259)]);}['toggleOnline'](){return this;}[_0xd75253(0x3f1)](){var _0x598112=_0xd75253;this[_0x598112(0x259)][_0x598112(0x1bf)](this['_awaitingChangeset']);}[_0xd75253(0x3b6)](_0x289126){var _0x49354d=_0xd75253;return this['_clearScheduledTask'](),this[_0x49354d(0x37c)][_0x49354d(0x36e)](ue,this[_0x49354d(0x3c6)],this[_0x49354d(0x19f)],null,this[_0x49354d(0x364)],this[_0x49354d(0x259)],_0x289126);}[_0xd75253(0x1fb)](_0x3926ae,_0x5a1664){var _0x121dd0=_0xd75253,_0x4d971e;_0x3926ae===((_0x4d971e=this['_awaitingChangeset'])==null?void 0x0:_0x4d971e[_0x121dd0(0x3e7)])&&(this[_0x121dd0(0x3f1)](),this[_0x121dd0(0x36f)]=_0x5a1664===0x0?0x3e8:_0x5a1664*0x2);}[_0xd75253(0x18a)](){var _0x396307=_0xd75253,_0x17babd;(_0x17babd=this[_0x396307(0x3b7)])==null||_0x17babd['unsubscribe'](),this[_0x396307(0x36f)]=0x0;}};oe=Se([w(0x6,_0x4f8a93(_0x33d727)),w(0x7,_0x4f8a93(_0x3d78cb)),w(0x8,_0x247b14),w(0x9,_0x3c99db),w(0xa,_0x1c8ebf),w(0xb,_0x297756),w(0xc,_0x17f639(J))],oe);let ue=class extends ge{constructor(_0x219540,_0x1df103,_0x10535f,_0x4b2785,_0x5ddfd9,_0x34e21e=!0x1,_0x1eb2e1,_0x4c5d2d,_0x4c1407,_0x4e185f,_0x141e1e,_0x4abda0,_0x2e3a56){var _0x2af570=_0xd75253;super(_0x219540,_0x1df103,_0x10535f,_0x4b2785,_0x5ddfd9,_0x4c5d2d,_0x4c1407,_0x4e185f,_0x2e3a56),D(this,_0x2af570(0x22a),_0x2af570(0x2be)),(this['_isPermissionRej']=_0x34e21e,this[_0x2af570(0x2cb)]=_0x1eb2e1,this[_0x2af570(0x23d)]=_0x141e1e,this[_0x2af570(0x2ee)]=_0x4abda0,this[_0x2af570(0x2bb)]=_0x2e3a56,this[_0x2af570(0x252)](),this[_0x2af570(0x2c2)](),this[_0x2af570(0x2f7)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0xd75253(0x1a2)](){return this;}[_0xd75253(0x412)](){return this;}['onRemoteRetry'](){return this;}[_0xd75253(0x1ed)](){return this;}[_0xd75253(0x39b)](){return this;}['resend'](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x45b5e6=_0xd75253,_0x2463d6;(_0x2463d6=this[_0x45b5e6(0x207)])==null||_0x2463d6[_0x45b5e6(0x401)](this['unitID'],this[_0x45b5e6(0x19f)],null,[]);}[_0xd75253(0x252)](){var _0x1866b2=_0xd75253;this[_0x1866b2(0x336)]?this[_0x1866b2(0x2ee)][_0x1866b2(0x3a0)]({'id':re[_0x1866b2(0x261)]}):this['_collaborationUIEventService'][_0x1866b2(0x3a0)]({'id':re['CONFLICT']});}[_0xd75253(0x2f7)](){var _0x2af60a=_0xd75253;this[_0x2af60a(0x2cb)][_0x2af60a(0x373)](new _0x1dd60a(this[_0x2af60a(0x3c6)])['id'],!0x1);}};ue=Se([w(0x6,_0x4f8a93(_0x4ebcc2)),w(0x7,_0x247b14),w(0x8,_0x297756),w(0x9,_0x4f8a93(_0x3d78cb)),w(0xa,_0x4f8a93(_0x2bc8f4)),w(0xb,_0x4f8a93(ve)),w(0xc,_0x17f639(J))],ue);let de=class extends ge{constructor(_0x4df794,_0x607495,_0x29264e,_0x2d3839,_0xbe7751,_0x333475,_0x1d73fd,_0x1babc6,_0x118593,_0x55a000){var _0x26b6f6=_0xd75253;super(_0x4df794,_0x607495,_0x29264e,_0x2d3839,_0xbe7751,_0x1babc6,_0x118593,_0x1d73fd,_0x55a000),D(this,_0x26b6f6(0x22a),_0x26b6f6(0x122)),this[_0x26b6f6(0x37c)]=_0x333475;}[_0xd75253(0x33a)](_0x23f17f){var _0x12794a=_0xd75253;return this['_pendingMutations'][_0x12794a(0x3fb)](_0x23f17f),this[_0x12794a(0x1e9)](),this;}[_0xd75253(0x3f2)](_0x4b084e){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xd75253(0x1a2)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x3a0c08=_0xd75253;throw new Error(_0x3a0c08(0x139));}['onRemoteRetry'](){return this;}[_0xd75253(0x1ed)](){return this;}[_0xd75253(0x39b)](){var _0xf4105a=_0xd75253;const {_injector:_0xe85cf0,_pendingMutations:_0x367455,_awaitingChangeset:_0x130e4a,unitID:_0x20a76b,_handler:_0x3eef69,type:_0x23d449}=this,_0x40861e=Ti(_0xe85cf0,_0x20a76b,_0x23d449,_0x130e4a,_0x367455,_0x3eef69);return _0x40861e instanceof ae?_0x40861e[_0xf4105a(0x413)]():(_0x40861e instanceof oe||_0x40861e instanceof le)&&_0x40861e[_0xf4105a(0x3f1)](),_0x40861e;}[_0xd75253(0x3f1)](){var _0xa9229a=_0xd75253;throw new Error(_0xa9229a(0x3a2));}};de=Se([w(0x5,_0x4f8a93(_0x33d727)),w(0x6,_0x4f8a93(_0x3d78cb)),w(0x7,_0x247b14),w(0x8,_0x297756),w(0x9,_0x17f639(J))],de);let ee=class extends ge{constructor(_0xdcfe44,_0x63bbd8,_0x465e86,_0x59ad6f,_0x518829,_0x1384dc,_0x274e59,_0x3a666e,_0x4fcd32,_0x42b18c,_0xaec45,_0x2526ec,_0x35fb05,_0x372eac){var _0x29faf9=_0xd75253;super(_0xdcfe44,_0x63bbd8,_0x465e86,_0x59ad6f,_0x274e59,_0xaec45,_0x2526ec,_0x4fcd32,_0x372eac),D(this,_0x29faf9(0x22a),_0x29faf9(0x2e0)),(this['_acknowledgedAwaitingChangeset']=_0x518829,this[_0x29faf9(0x3f7)]=_0x1384dc,this[_0x29faf9(0x37c)]=_0x3a666e,this[_0x29faf9(0x280)]=_0x42b18c,this[_0x29faf9(0x399)]=_0x35fb05,this[_0x29faf9(0x2bb)]=_0x372eac);}[_0xd75253(0x384)](_0x17c516){var _0x273811=_0xd75253;try{const _0x392642=[..._0x17c516,...this[_0x273811(0x3f7)]],_0x5c067c=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']]['filter'](_0x6101b0=>!!_0x6101b0);let _0xbe6353,_0x2eeed4;if(_0x5c067c[_0x273811(0x1eb)]){const _0x579eec=this[_0x273811(0x399)][_0x273811(0x2d1)](_0x392642,_0x5c067c,!0x1);if(!_0x3cc985(_0x579eec))throw _0x579eec[_0x273811(0x238)];_0xbe6353=_0x579eec[_0x273811(0x3a9)],_0x2eeed4=_0x579eec[_0x273811(0x1c4)];}else _0xbe6353=_0x392642,_0x2eeed4=[];let _0xe5a4c4=this[_0x273811(0x364)];_0xbe6353[_0x273811(0x317)](_0x16841e=>{var _0x537515=_0x273811;let _0x513d28;if(_0xe5a4c4[_0x537515(0x1eb)]){const _0xe8022c=this[_0x537515(0x399)]['transformMutationsWithChangeset'](_0x16841e,_0xe5a4c4);if(!_0x1ccd69(_0xe8022c))throw _0xe8022c[_0x537515(0x238)];_0x513d28=_0xe8022c['c1Prime'],_0xe5a4c4=_0xe8022c[_0x537515(0x34d)];}else _0x513d28=_0x16841e;this[_0x537515(0x2c3)](_0x513d28);}),this[_0x273811(0x3d8)]&&this['_incrementRevisionNumber'](),this[_0x273811(0x245)]&&_0x2eeed4['length']&&(_0x2eeed4[0x0]['baseRev']=this['_getCurrentRevision']());let _0x4d5270;if(this['_awaitingChangeset']&&_0xe5a4c4[_0x273811(0x1eb)]!==0x0)_0x4d5270=this[_0x273811(0x37c)]['createInstance'](oe,this['unitID'],this[_0x273811(0x19f)],_0x2eeed4[0x0],_0xe5a4c4,this['_handler'],void 0x0);else{if(this[_0x273811(0x245)]&&_0xe5a4c4['length']===0x0)_0x2eeed4[0x0][_0x273811(0x36c)]=this[_0x273811(0x36a)](),_0x4d5270=this['_injector'][_0x273811(0x36e)](le,this[_0x273811(0x3c6)],this[_0x273811(0x19f)],_0x2eeed4[0x0],this[_0x273811(0x259)]);else{if(_0xe5a4c4['length']!==0x0){const _0x373d1e=this[_0x273811(0x37c)][_0x273811(0x36e)](ae,this['unitID'],this[_0x273811(0x19f)],_0xe5a4c4,this[_0x273811(0x259)]);_0x373d1e[_0x273811(0x413)](),_0x4d5270=_0x373d1e;}else _0x4d5270=this[_0x273811(0x37c)][_0x273811(0x36e)](be,this['unitID'],this['type'],this[_0x273811(0x259)]);}}return _0x4d5270['_updateLocalCache'](),_0x4d5270;}catch(_0x2df574){return this['_logService'][_0x273811(0x238)]('[FetchMissState]',_0x273811(0x350),_0x2df574),this[_0x273811(0x37c)][_0x273811(0x36e)](ue,this[_0x273811(0x3c6)],this[_0x273811(0x19f)],this[_0x273811(0x245)],this['_pendingMutations'],this[_0x273811(0x259)],!0x1);}}[_0xd75253(0x3f1)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xd75253(0x33a)](_0x18da41){var _0x23358f=_0xd75253;return this[_0x23358f(0x364)]['push'](_0x18da41),this;}[_0xd75253(0x3f2)](_0x198404){var _0x5de847=_0xd75253;return this['_queuedRemoteChangesets'][_0x5de847(0x3fb)](_0x198404),this;}[_0xd75253(0x1a2)](_0x1fdf98){var _0x15438d=_0xd75253;if(this['_awaitingChangeset'])return this[_0x15438d(0x3d8)]=this[_0x15438d(0x245)],this[_0x15438d(0x245)]=null,this;throw new Error(_0x15438d(0x173));}[_0xd75253(0x412)](_0x298ea3){var _0x4c100e=_0xd75253;return this[_0x4c100e(0x3b6)](!!(_0x298ea3!=null&&_0x298ea3[_0x4c100e(0x2d9)]));}['onRemoteRetry'](){return this;}[_0xd75253(0x1ed)](){var _0x8d926d=_0xd75253;return this[_0x8d926d(0x37c)][_0x8d926d(0x36e)](de,this[_0x8d926d(0x3c6)],this['type'],this[_0x8d926d(0x245)],this[_0x8d926d(0x364)],this[_0x8d926d(0x259)]);}[_0xd75253(0x39b)](){return this;}[_0xd75253(0x3b6)](_0x360f0d){var _0x27c972=_0xd75253;return this[_0x27c972(0x37c)]['createInstance'](ue,this[_0x27c972(0x3c6)],this[_0x27c972(0x19f)],this[_0x27c972(0x245)],this[_0x27c972(0x364)],this[_0x27c972(0x259)],_0x360f0d);}};ee=Se([w(0x7,_0x4f8a93(_0x33d727)),w(0x8,_0x4f8a93(_0x3d78cb)),w(0x9,_0x3c99db),w(0xa,_0x247b14),w(0xb,_0x297756),w(0xc,_0x1c8ebf),w(0xd,_0x17f639(J))],ee);function Ti(_0x295cdc,_0x23ce79,_0x236306,_0x124dd3,_0x1cc1b3,_0x5e78c4){var _0x5587b7=_0xd75253;return _0x124dd3&&_0x1cc1b3[_0x5587b7(0x1eb)]?_0x295cdc[_0x5587b7(0x36e)](oe,_0x23ce79,_0x236306,_0x124dd3,_0x1cc1b3,_0x5e78c4,void 0x0):_0x124dd3?_0x295cdc[_0x5587b7(0x36e)](le,_0x23ce79,_0x236306,_0x124dd3,_0x5e78c4):_0x1cc1b3[_0x5587b7(0x1eb)]?_0x295cdc[_0x5587b7(0x36e)](ae,_0x23ce79,_0x236306,_0x1cc1b3,_0x5e78c4):_0x295cdc[_0x5587b7(0x36e)](be,_0x23ce79,_0x236306,_0x5e78c4);}var Bs=Object['getOwnPropertyDescriptor'],Pt=(_0xcd9e5b,_0x59665f,_0xa3f216,_0x528a78)=>{var _0x3809ca=_0xd75253;for(var _0x1c406e=_0x528a78>0x1?void 0x0:_0x528a78?Bs(_0x59665f,_0xa3f216):_0x59665f,_0x4ff3ea=_0xcd9e5b[_0x3809ca(0x1eb)]-0x1,_0x1762bd;_0x4ff3ea>=0x0;_0x4ff3ea--)(_0x1762bd=_0xcd9e5b[_0x4ff3ea])&&(_0x1c406e=_0x1762bd(_0x1c406e)||_0x1c406e);return _0x1c406e;},$=(_0x7d4d3a,_0x25a81a)=>(_0x48aa3f,_0x1a6aa1)=>_0x25a81a(_0x48aa3f,_0x1a6aa1,_0x7d4d3a);let st=class extends _0xa8e605{constructor(_0x523942,_0x491f28,_0x546c89,_0x51a86a,_0x1d9554,_0x12c4e0,_0x3129c2,_0x5e7427,_0x2501e3,_0x3865a7,_0x3e1483,_0x5a3bdf,_0x3b514a,_0x4fa22f){var _0x1d564c=_0xd75253;super(),D(this,_0x1d564c(0x1fe),new _0x2a8cbc(null)),D(this,_0x1d564c(0x156),this[_0x1d564c(0x1fe)][_0x1d564c(0x361)]()),D(this,_0x1d564c(0x40d)),D(this,'_collaborationPaused',!0x1),D(this,_0x1d564c(0x3aa),''),D(this,_0x1d564c(0x385),0x0),D(this,_0x1d564c(0x325),this[_0x1d564c(0x156)][_0x1d564c(0x151)](_0x344d96(_0x4c9f80=>_0x4c9f80?_0x4c9f80[_0x1d564c(0x22a)]:Si[_0x1d564c(0x38b)]),_0x146ba1(0x1))),D(this,_0x1d564c(0x21c),!0x1),D(this,_0x1d564c(0x30a),[]),(this['unitID']=_0x523942,this[_0x1d564c(0x37d)]=_0x491f28,this[_0x1d564c(0x24e)]=_0x546c89,this[_0x1d564c(0x37c)]=_0x51a86a,this['_compressMutationService']=_0x1d9554,this['_localeService']=_0x12c4e0,this[_0x1d564c(0x27a)]=_0x3129c2,this[_0x1d564c(0x1c3)]=_0x5e7427,this[_0x1d564c(0x2fb)]=_0x2501e3,this[_0x1d564c(0x280)]=_0x3865a7,this[_0x1d564c(0x264)]=_0x3e1483,this['_permissionService']=_0x5a3bdf,this['_singleActiveUnitService']=_0x3b514a,this[_0x1d564c(0x207)]=_0x4fa22f);}get[_0xd75253(0x136)](){return this['_state'];}async[_0xd75253(0x37f)](){var _0x579154=_0xd75253;if(this[_0x579154(0x136)])throw new Error(_0x579154(0x1b7));await this[_0x579154(0x119)]();}[_0xd75253(0x1da)](){var _0x39ed7a=_0xd75253;return this[_0x39ed7a(0x269)]=!0x0,_0x4ba861(()=>{var _0x321de2=_0x39ed7a;this['_collaborationPaused']=!0x1,this[_0x321de2(0x351)]();});}[_0xd75253(0x352)](_0x558403){var _0x3988f3=_0xd75253;this[_0x3988f3(0x2dd)](_0x558403);}[_0xd75253(0x221)](_0x2be7cb){var _0x1073fb=_0xd75253;this['_state']=_0x2be7cb,this[_0x1073fb(0x1fe)][_0x1073fb(0x178)](_0x2be7cb);}async[_0xd75253(0x119)](){var _0x57ba87=_0xd75253,_0xacd338;this[_0x57ba87(0x221)](await this['_createInitialState']()),this[_0x57ba87(0x22c)]&&((_0xacd338=this[_0x57ba87(0x22c)])==null||_0xacd338['editingUnit'](this[_0x57ba87(0x3c6)]),this['disposeWithMe'](this[_0x57ba87(0x22c)][_0x57ba87(0x3ec)](this[_0x57ba87(0x3c6)])['subscribe'](_0x24fdf0=>{var _0x501e26=_0x57ba87;this[_0x501e26(0x280)]['debug'](_0x501e26(0x348),'editing\x20status\x20changed\x20to',_0x24fdf0),_0x24fdf0===mi['OTHER_CLIENTS_EDITING']?(this[_0x501e26(0x1c3)]['emitEvent']({'id':re[_0x501e26(0x129)]}),this[_0x501e26(0x2cb)][_0x501e26(0x373)](new _0x1dd60a(this['unitID'])['id'],!0x1),this['_permissionService'][_0x501e26(0x25a)](!0x1)):(this[_0x501e26(0x2cb)]['updatePermissionPoint'](new _0x1dd60a(this[_0x501e26(0x3c6)])['id'],!0x0),this[_0x501e26(0x2cb)][_0x501e26(0x25a)](!0x0));})));let _0x3065f0=!0x1;return this[_0x57ba87(0x275)](this[_0x57ba87(0x37d)]['sessionStatus$'][_0x57ba87(0x234)](_0x34c27e=>{var _0x5babf9=_0x57ba87;_0x34c27e===me[_0x5babf9(0x25b)]?this[_0x5babf9(0x16b)](_0x3065f0):_0x34c27e===me[_0x5babf9(0x38b)]&&(_0x3065f0=!0x0,this[_0x5babf9(0x370)]());})),this[_0x57ba87(0x275)](this[_0x57ba87(0x37d)][_0x57ba87(0x1fd)][_0x57ba87(0x234)](_0x222176=>{var _0x3d75b4=_0x57ba87;try{switch(_0x222176['eventID']){case _0x6e45b[_0x3d75b4(0x3fc)]:{this[_0x3d75b4(0x197)](_0x5012ff(_0x222176['data']));break;}case _0x6e45b['CHANGESET_ACK']:{this[_0x3d75b4(0x407)](_0x222176['data']);break;}case _0x6e45b[_0x3d75b4(0x2cd)]:{this[_0x3d75b4(0x369)]();break;}case _0x6e45b[_0x3d75b4(0x3fa)]:{this[_0x3d75b4(0x414)](_0x222176[_0x3d75b4(0x21e)]);break;}case _0x6e45b[_0x3d75b4(0x1e1)]:{this[_0x3d75b4(0x1b1)](_0x222176[_0x3d75b4(0x21e)][_0x3d75b4(0x158)][_0x3d75b4(0x395)](_0x4e7358=>_0x5012ff(_0x4e7358)));break;}case _0x6e45b[_0x3d75b4(0x11f)]:{this[_0x3d75b4(0x369)]({'isPermissionRej':!0x0});break;}case _0x6e45b[_0x3d75b4(0x3e3)]:break;}}catch(_0xcddc01){throw console[_0x3d75b4(0x238)]('Error\x20on\x20receiving\x20event',_0xcddc01),_0xcddc01;}})),this['_state'];}[_0xd75253(0x147)](){var _0x13d548=_0xd75253;this[_0x13d548(0x21c)]=!0x1;}[_0xd75253(0x111)](){var _0x1a9bf5=_0xd75253;if(this['_transitionLocked'])throw new Error(_0x1a9bf5(0x374));this[_0x1a9bf5(0x21c)]=!0x0;}[_0xd75253(0x2dd)](_0x95b59b){var _0x256e38=_0xd75253;this[_0x256e38(0x111)](),this[_0x256e38(0x221)](this[_0x256e38(0x40d)]['appendMutation'](_0x95b59b)),this[_0x256e38(0x147)]();}[_0xd75253(0x197)](_0x5a6956){var _0x2a054f=_0xd75253;if(!(_0x5a6956[_0x2a054f(0x1d2)]<=this[_0x2a054f(0x27a)][_0x2a054f(0x3bf)](this[_0x2a054f(0x3c6)]))){if(this[_0x2a054f(0x269)]){this[_0x2a054f(0x30a)][_0x2a054f(0x3fb)](_0x5a6956);return;}this[_0x2a054f(0x174)](_0x5a6956);}}[_0xd75253(0x351)](){var _0x419580=_0xd75253;this[_0x419580(0x30a)]['forEach'](_0x3374e2=>this[_0x419580(0x174)](_0x3374e2)),this[_0x419580(0x30a)]=[];}[_0xd75253(0x174)](_0x44db6d){var _0xdfc834=_0xd75253;const _0x246589=this[_0xdfc834(0x2c4)]['interceptor'][_0xdfc834(0x285)](this[_0xdfc834(0x2c4)]['interceptor']['getInterceptPoints']()[_0xdfc834(0x15d)])(_0x44db6d[_0xdfc834(0x311)],null)||_0x44db6d['mutations'],_0x3f14b0={..._0x44db6d,'mutations':_0x246589};this[_0xdfc834(0x111)](),this['_updateState'](this['_state'][_0xdfc834(0x3f2)](_0x3f14b0)),this['_unlockTransition']();}[_0xd75253(0x407)](_0x3d2395){var _0x137185=_0xd75253;this['_lockTransition'](),this[_0x137185(0x221)](this[_0x137185(0x40d)][_0x137185(0x1a2)](_0x3d2395)),this[_0x137185(0x147)]();}['_onRemoteRejected'](_0x155101){var _0x577f59=_0xd75253;this[_0x577f59(0x111)](),this[_0x577f59(0x221)](this[_0x577f59(0x40d)][_0x577f59(0x412)](_0x155101)),this[_0x577f59(0x147)]();}[_0xd75253(0x414)](_0x258dfa){var _0x3f3e5b=_0xd75253;this[_0x3f3e5b(0x111)](),this[_0x3f3e5b(0x221)](this[_0x3f3e5b(0x40d)][_0x3f3e5b(0x1c9)](_0x258dfa)),this[_0x3f3e5b(0x147)]();}[_0xd75253(0x1b1)](_0x1c77d8){var _0x4400e8=_0xd75253;if(!(this['_state']instanceof ee))throw new TypeError(_0x4400e8(0x34f));const _0x22a296=_0x1c77d8['map'](_0x3e4260=>{var _0x3b2991=_0x4400e8;const _0x5c106a=this[_0x3b2991(0x2c4)][_0x3b2991(0x2a7)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x3b2991(0x2a7)][_0x3b2991(0x331)]()['COMPRESS_MUTATION_APPLY'])(_0x3e4260[_0x3b2991(0x311)],null)||_0x3e4260[_0x3b2991(0x311)];return{..._0x3e4260,'mutations':_0x5c106a};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x4400e8(0x384)](_0x22a296)),this[_0x4400e8(0x147)]();}['_toggleOffline'](){var _0x52ee7e=_0xd75253;this['_lockTransition'](),this['_updateState'](this[_0x52ee7e(0x40d)]['toggleOffline']()),this[_0x52ee7e(0x147)]();}['_toggleOnline'](_0x55da6b=!0x1){var _0x4be673=_0xd75253;this['_lockTransition'](),this['_updateState'](this[_0x4be673(0x40d)][_0x4be673(0x39b)]()),this[_0x4be673(0x147)]();const _0xbeaed8=this[_0x4be673(0x40d)];_0x55da6b&&_0xbeaed8 instanceof be&&(this[_0x4be673(0x111)](),this[_0x4be673(0x221)](_0xbeaed8[_0x4be673(0x327)]()),this[_0x4be673(0x147)]());}async['_createInitialState'](){return new Promise(_0x5bf28a=>{var _0x4c08d0=_0xf06a;this['session']['sessionStatus$'][_0x4c08d0(0x151)](_0x2e1ff9(0x1))[_0x4c08d0(0x234)](async _0xf05076=>{var _0x4f962f=_0x4c08d0;_0x5bf28a(await this[_0x4f962f(0x27d)](_0xf05076===me['ONLINE']));});});}[_0xd75253(0x3d1)](){const _0x2845c1=this['unitID'];return{'onStateChange':(_0x1ca5c1,_0x3850f5)=>{var _0x356384=_0xf06a;if(_0x1ca5c1!==this[_0x356384(0x40d)])throw new Error(_0x356384(0x34e)+_0x1ca5c1[_0x356384(0x22a)]+_0x356384(0x1ab)+_0x3850f5[_0x356384(0x22a)]+_0x356384(0x3b3)+this[_0x356384(0x40d)]['status']);this[_0x356384(0x221)](_0x3850f5);},'onSendChangeset':_0x184b16=>{var _0x161f83=_0xf06a;_0x184b16[_0x161f83(0x2ae)]||(_0x184b16['sid']=this['_changesetSessionId'],_0x184b16[_0x161f83(0x3e7)]=++this[_0x161f83(0x385)]);const _0x34be56={'eventID':_0x6e45b[_0x161f83(0x359)],'data':{'unitID':_0x184b16['unitID'],'unitType':this[_0x161f83(0x24e)],'changeset':_0x184b16,'memberID':this['session']['getMemberID']()}};this['session'][_0x161f83(0x31f)](_0x34be56,this['unitID']);},'onMissingChangesets':({from:_0x2f1ef0,to:_0x1395ae})=>{var _0x58e476=_0xf06a;this[_0x58e476(0x280)][_0x58e476(0x15f)]('[CollaborationEntity]',_0x58e476(0x38a)+_0x2f1ef0+_0x58e476(0x1af)+_0x1395ae);const _0xb7c867={'eventID':_0x6e45b[_0x58e476(0x217)],'data':{'unitID':_0x2845c1,'unitType':this[_0x58e476(0x24e)],'from':_0x2f1ef0,'to':_0x1395ae}};this['session'][_0x58e476(0x31f)](_0xb7c867,this['unitID']);}};}async[_0xd75253(0x27d)](_0x3948f1){var _0x133660=_0xd75253,_0x47fa7b,_0x2bdefb,_0x4a4c52;const _0x4c9b8b=await((_0x47fa7b=this[_0x133660(0x207)])==null?void 0x0:_0x47fa7b[_0x133660(0x40c)](this[_0x133660(0x3c6)])),_0x57917d=(_0x2bdefb=_0x4c9b8b==null?void 0x0:_0x4c9b8b[_0x133660(0x311)])!=null?_0x2bdefb:[],_0x1290e4=(_0x4a4c52=_0x4c9b8b==null?void 0x0:_0x4c9b8b[_0x133660(0x1a3)])!=null?_0x4a4c52:null,_0xeda64f=!!(_0x1290e4!=null&&_0x1290e4[_0x133660(0x2ae)])&&!!(_0x1290e4!=null&&_0x1290e4[_0x133660(0x3e7)]);this[_0x133660(0x3aa)]=_0xeda64f?_0x1290e4['sid']:_0x39af30(),this[_0x133660(0x385)]=_0xeda64f?_0x1290e4[_0x133660(0x3e7)]:0x0;const _0xa900c9=this[_0x133660(0x3c6)];try{this[_0x133660(0x3da)](_0x1290e4,_0x57917d);}catch(_0x3cfba6){this[_0x133660(0x280)][_0x133660(0x238)](_0x3cfba6);}const _0x208011=this[_0x133660(0x3d1)]();if(_0x3948f1){const _0x33162f=Ti(this['_injector'],_0xa900c9,this[_0x133660(0x24e)],_0x1290e4,_0x57917d,_0x208011);return _0x33162f instanceof ae?_0x33162f[_0x133660(0x413)]():(_0x33162f instanceof oe||_0x33162f instanceof le)&&_0x33162f[_0x133660(0x3f1)](),_0x33162f;}return this[_0x133660(0x37c)][_0x133660(0x36e)](de,_0xa900c9,this['_type'],_0x1290e4,_0x57917d,_0x208011);}[_0xd75253(0x3da)](_0x2db87c,_0x5b6449){var _0x1694b1=_0xd75253,_0x4e7d50,_0x54f61c;const _0x3d6239=this[_0x1694b1(0x2c4)][_0x1694b1(0x2a7)][_0x1694b1(0x285)](this[_0x1694b1(0x2c4)][_0x1694b1(0x2a7)][_0x1694b1(0x331)]()[_0x1694b1(0x15d)]);(_0x4e7d50=_0x3d6239((_0x2db87c==null?void 0x0:_0x2db87c[_0x1694b1(0x311)])||[],null))==null||_0x4e7d50[_0x1694b1(0x317)](_0x33bd88=>this[_0x1694b1(0x264)][_0x1694b1(0x2d3)](_0x33bd88['id'],_0x33bd88['params'])),(_0x54f61c=_0x3d6239(_0x5b6449||[],null))==null||_0x54f61c[_0x1694b1(0x317)](_0x1dd11d=>this[_0x1694b1(0x264)][_0x1694b1(0x2d3)](_0x1dd11d['id'],_0x1dd11d[_0x1694b1(0x134)]));}};st=Pt([$(0x3,_0x4f8a93(_0x33d727)),$(0x4,_0x4f8a93(_0x4206a3)),$(0x5,_0x4f8a93(_0x2bc8f4)),$(0x6,_0x4f8a93(_0x3d78cb)),$(0x7,_0x4f8a93(ve)),$(0x8,_0x35e7f5),$(0x9,_0x3c99db),$(0xa,_0x247b14),$(0xb,_0x4ebcc2),$(0xc,_0x17f639(_t)),$(0xd,_0x17f639(J))],st);let It=class extends st{constructor(_0x283896,_0x150f95,_0x5139b7,_0x394786,_0xe9cc28,_0x1bb62b,_0x5925ca,_0x4da93c,_0xf13132,_0x55f28c,_0x2824d5,_0x375d88,_0xbb67dc,_0x11e332){var _0x1a80d5=_0xd75253;super(_0x283896,_0x5139b7,_0x150f95,_0x394786,_0xe9cc28,_0x1bb62b,_0x5925ca,_0x4da93c,_0xf13132,_0x55f28c,_0x2824d5,_0x375d88,_0xbb67dc,_0x11e332),D(this,_0x1a80d5(0x316),null),(this[_0x1a80d5(0x3c6)]=_0x283896,this['type']=_0x150f95);}['addHandlerCallback'](_0x472bb4){this['_handlerCallback']=_0x472bb4;}[_0xd75253(0x16a)](){var _0x46d8d8=_0xd75253;this[_0x46d8d8(0x316)]=null,super[_0x46d8d8(0x16a)]();}['_createHandler'](){var _0x4aa76f=_0xd75253;const _0x3e05d0=super[_0x4aa76f(0x3d1)]();return _0x3e05d0['onTransformIME']=_0xc21fbc=>{var _0x429f74=_0x4aa76f,_0x18631a,_0x1ce45b;return(_0x1ce45b=(_0x18631a=this['_handlerCallback'])==null?void 0x0:_0x18631a[_0x429f74(0x31a)])==null?void 0x0:_0x1ce45b[_0x429f74(0x3ca)](_0x18631a,_0xc21fbc);},_0x3e05d0['onTransformState']=_0x826dec=>{var _0x57ac1f=_0x4aa76f,_0x4130b0,_0x1ab17c;return(_0x1ab17c=(_0x4130b0=this[_0x57ac1f(0x316)])==null?void 0x0:_0x4130b0[_0x57ac1f(0x193)])==null?void 0x0:_0x1ab17c[_0x57ac1f(0x3ca)](_0x4130b0,_0x826dec);},_0x3e05d0['onTransformSelections']=_0x172a88=>{var _0x411f97=_0x4aa76f,_0x11f29d,_0x2e7dc3;return(_0x2e7dc3=(_0x11f29d=this['_handlerCallback'])==null?void 0x0:_0x11f29d[_0x411f97(0x1a5)])==null?void 0x0:_0x2e7dc3['call'](_0x11f29d,_0x172a88);},_0x3e05d0['onSyncEditingCollabCursor']=_0x369115=>{var _0x17268c=_0x4aa76f,_0x2d2662,_0x2b5a81;return(_0x2b5a81=(_0x2d2662=this[_0x17268c(0x316)])==null?void 0x0:_0x2d2662['onSyncEditingCollabCursor'])==null?void 0x0:_0x2b5a81['call'](_0x2d2662,_0x369115);},_0x3e05d0[_0x4aa76f(0x2d7)]=_0x2572dd=>{var _0x406bcb=_0x4aa76f,_0x3788b5,_0xd49ae8,_0x5a3267;if(!((_0x3788b5=this[_0x406bcb(0x316)])!=null&&_0x3788b5['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5a3267=(_0xd49ae8=this[_0x406bcb(0x316)])==null?void 0x0:_0xd49ae8[_0x406bcb(0x2d7)])==null?void 0x0:_0x5a3267[_0x406bcb(0x3ca)](_0xd49ae8,_0x2572dd);},_0x3e05d0[_0x4aa76f(0x298)]=_0x414681=>{var _0x4c4c2b=_0x4aa76f,_0x17fcf5,_0x6788d3,_0xfac1db;if(!((_0x17fcf5=this['_handlerCallback'])!=null&&_0x17fcf5['onTransformRemoteChangesetByStateCache']))throw new Error(_0x4c4c2b(0x29b));return(_0xfac1db=(_0x6788d3=this[_0x4c4c2b(0x316)])==null?void 0x0:_0x6788d3['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xfac1db[_0x4c4c2b(0x3ca)](_0x6788d3,_0x414681);},_0x3e05d0;}async[_0xd75253(0x119)](){var _0x8d93fe=_0xd75253;const _0x56ae54=await super['_init']();return this[_0x8d93fe(0x275)](this[_0x8d93fe(0x264)][_0x8d93fe(0x30d)]((_0x4d7267,_0x66b593)=>{var _0x9f76fe=_0x8d93fe;if(_0x4d7267[_0x9f76fe(0x19f)]!==_0x58455e[_0x9f76fe(0x12f)]||_0x66b593!=null&&_0x66b593[_0x9f76fe(0x21b)]||_0x66b593!=null&&_0x66b593['onlyLocal']||_0x4d7267['id']===_0x17bf54['id'])return;const _0x20cc54=_0x4d7267[_0x9f76fe(0x134)];if((_0x20cc54==null?void 0x0:_0x20cc54[_0x9f76fe(0x408)])!==this[_0x9f76fe(0x3c6)])return;const _0x4c5294=_0x4d7267,_0x46ee55=this['_compressMutationService'][_0x9f76fe(0x2a7)]['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x9f76fe(0x331)]()[_0x9f76fe(0x254)])([_0x4c5294],this[_0x9f76fe(0x2fb)])||[_0x4c5294];this['_onLocalMutation'](_0x46ee55[0x0]);})),_0x56ae54;}};It=Pt([$(0x3,_0x4f8a93(_0x33d727)),$(0x4,_0x4f8a93(_0x4206a3)),$(0x5,_0x4f8a93(_0x2bc8f4)),$(0x6,_0x4f8a93(_0x3d78cb)),$(0x7,_0x4f8a93(ve)),$(0x8,_0x35e7f5),$(0x9,_0x3c99db),$(0xa,_0x247b14),$(0xb,_0x4ebcc2),$(0xc,_0x17f639(_t)),$(0xd,_0x17f639(J))],It);let St=class extends st{constructor(_0x1a4b8a,_0x52592e,_0x296e6f,_0x5d13b3,_0x245664,_0x130255,_0x19c221,_0x5b45d5,_0x5d4231,_0x1b8f47,_0x357ce3,_0xa6ebe6,_0x224256,_0x10d4bd,_0x5be536){var _0x435f0a=_0xd75253;super(_0x1a4b8a,_0x296e6f,_0x52592e,_0x5d13b3,_0x245664,_0x130255,_0x19c221,_0x5d4231,_0x1b8f47,_0x357ce3,_0xa6ebe6,_0x224256,_0x10d4bd,_0x5be536),this[_0x435f0a(0x3c6)]=_0x1a4b8a,this[_0x435f0a(0x19f)]=_0x52592e,this['_sheetTransformSelectionsService']=_0x5b45d5;}['_createHandler'](){var _0x14cfb4=_0xd75253;const _0x279c1e=super[_0x14cfb4(0x3d1)]();return _0x279c1e[_0x14cfb4(0x1a5)]=_0x1e54d6=>this['_sheetTransformSelectionsService'][_0x14cfb4(0x3c7)](_0x1e54d6),_0x279c1e;}async[_0xd75253(0x119)](){var _0x3d6853=_0xd75253;const _0x2977e7=await super[_0x3d6853(0x119)]();return this[_0x3d6853(0x275)](this[_0x3d6853(0x264)][_0x3d6853(0x30d)]((_0x443cdc,_0x5b45fe)=>{var _0x580f84=_0x3d6853;if(_0x443cdc[_0x580f84(0x19f)]!==_0x58455e[_0x580f84(0x12f)]||_0x5b45fe!=null&&_0x5b45fe[_0x580f84(0x21b)]||_0x5b45fe!=null&&_0x5b45fe['onlyLocal'])return;const _0x2dfc2f=_0x443cdc[_0x580f84(0x134)];if((_0x2dfc2f==null?void 0x0:_0x2dfc2f[_0x580f84(0x408)])!==this[_0x580f84(0x3c6)])return;const _0x296af4=_0x443cdc,_0x256155=this['_compressMutationService']['interceptor'][_0x580f84(0x285)](this[_0x580f84(0x2c4)][_0x580f84(0x2a7)][_0x580f84(0x331)]()[_0x580f84(0x254)])([_0x296af4],this[_0x580f84(0x2fb)])||[_0x296af4];this[_0x580f84(0x2dd)](_0x256155[0x0]);})),_0x2977e7;}};St=Pt([$(0x3,_0x4f8a93(_0x33d727)),$(0x4,_0x4f8a93(_0x4206a3)),$(0x5,_0x4f8a93(_0x2bc8f4)),$(0x6,_0x4f8a93(_0x3d78cb)),$(0x7,_0x4f8a93(it)),$(0x8,_0x4f8a93(ve)),$(0x9,_0x35e7f5),$(0xa,_0x3c99db),$(0xb,_0x247b14),$(0xc,_0x4ebcc2),$(0xd,_0x17f639(_t)),$(0xe,_0x17f639(J))],St);const js=_0x306684('univer-pro.collaboration-client.network-condition.service');function Fs(_0xf5cd28){var _0x571c25=_0xd75253,_0x698752,_0x11128e,_0x357e02,_0x1da77f,_0x34f66f;const _0x182372=_0xf5cd28[_0x571c25(0x21e)],_0x13151a=JSON[_0x571c25(0x323)](_0x182372);switch(_0x13151a[_0x571c25(0x148)]){case F['HEARTBEAT']:case F[_0x571c25(0x397)]:{const _0x23c351=_0x13151a['infoRsp'];return{..._0x13151a,'data':_0x23c351,'cmd':_0x13151a[_0x571c25(0x148)]};}case F['JOIN']:{const _0x1568c1=_0x13151a[_0x571c25(0x326)];return{..._0x13151a,'data':_0x1568c1,'cmd':_0x13151a[_0x571c25(0x148)]};}case F[_0x571c25(0x37b)]:{const _0x4a8018=_0x13151a[_0x571c25(0x127)];switch(_0x4a8018[_0x571c25(0x3f4)]){case _0x6e45b[_0x571c25(0x11f)]:return{..._0x13151a,'data':{..._0x4a8018,'data':(_0x698752=_0x4a8018[_0x571c25(0x34c)])==null?void 0x0:_0x698752['cs']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x1b4)]:return{..._0x13151a,'data':{..._0x4a8018,'data':(_0x11128e=_0x4a8018[_0x571c25(0x3ed)])==null?void 0x0:_0x11128e['cs']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x3fc)]:return{..._0x13151a,'data':{..._0x4a8018,'data':(_0x357e02=_0x4a8018['newCsEvent'])==null?void 0x0:_0x357e02['cs']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b['CHANGESET_REJ']:return{..._0x13151a,'data':{..._0x4a8018,'data':(_0x1da77f=_0x4a8018['csRejEvent'])==null?void 0x0:_0x1da77f['cs']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b['CHANGESET_SHOULD_RETRY']:return{..._0x13151a,'data':{..._0x4a8018,'data':(_0x34f66f=_0x4a8018[_0x571c25(0x3eb)])==null?void 0x0:_0x34f66f['cs']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x3d4)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x1b6)]},'cmd':_0x13151a['cmd']};case _0x6e45b[_0x571c25(0x272)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x253)]},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x3c5)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x2f2)]},'cmd':_0x13151a['cmd']};case _0x6e45b[_0x571c25(0x310)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x149)]},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x157)]:case _0x6e45b['LIVESHARE_OPERATION']:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018['liveShareOperation']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x2a4)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x149)]},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b['MSG_FOR_ERROR']:return{..._0x13151a,'data':_0x4a8018,'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x15c)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018['commentUpdateEvent']},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x281)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x1d4)]},'cmd':_0x13151a[_0x571c25(0x148)]};case _0x6e45b[_0x571c25(0x3ef)]:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x20f)]},'cmd':_0x13151a['cmd']};case _0x6e45b['UNISCRIPT_RUN']:return{..._0x13151a,'data':{..._0x4a8018,'data':_0x4a8018[_0x571c25(0x28c)]},'cmd':_0x13151a[_0x571c25(0x148)]};default:return _0x13151a;}}default:return _0x13151a;}}function Vs(_0x346f9f){var _0x53d5ee=_0xd75253;switch(_0x346f9f[_0x53d5ee(0x148)]){case F[_0x53d5ee(0x410)]:case F[_0x53d5ee(0x397)]:return JSON[_0x53d5ee(0x3a4)]({'cmd':_0x346f9f[_0x53d5ee(0x148)],'routeKey':_0x346f9f['routeKey']});case F[_0x53d5ee(0x222)]:{let _0x36b951;switch(_0x346f9f[_0x53d5ee(0x21e)][_0x53d5ee(0x3f4)]){case _0x6e45b['UPDATE_CURSOR']:{_0x36b951={'eventID':_0x6e45b[_0x53d5ee(0x3d4)],'updateCursorEvent':_0x346f9f[_0x53d5ee(0x21e)][_0x53d5ee(0x21e)]};break;}case _0x6e45b[_0x53d5ee(0x3c5)]:{_0x36b951={'eventID':_0x6e45b['USERS_LEAVE'],'leaveEvent':_0x346f9f['data']['data']};break;}case _0x6e45b[_0x53d5ee(0x272)]:{_0x36b951={'eventID':_0x6e45b['USERS_ENTER'],'joinEvent':_0x346f9f[_0x53d5ee(0x21e)][_0x53d5ee(0x21e)]};break;}case _0x6e45b[_0x53d5ee(0x310)]:{_0x36b951={'eventID':_0x6e45b[_0x53d5ee(0x310)],'liveShareNewHost':_0x346f9f[_0x53d5ee(0x21e)]['data']};break;}case _0x6e45b[_0x53d5ee(0x17f)]:{_0x36b951={'eventID':_0x6e45b['LIVESHARE_OPERATION'],'liveShareOperation':_0x346f9f['data'][_0x53d5ee(0x21e)]};break;}case _0x6e45b[_0x53d5ee(0x2a4)]:{_0x36b951={'eventID':_0x6e45b[_0x53d5ee(0x2a4)],'liveShareTerminate':_0x346f9f['data']['data']};break;}case _0x6e45b[_0x53d5ee(0x1e7)]:{_0x36b951={'eventID':_0x6e45b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x346f9f[_0x53d5ee(0x21e)][_0x53d5ee(0x21e)]};break;}case _0x6e45b[_0x53d5ee(0x157)]:{_0x36b951={'eventID':_0x6e45b['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x36b951={'eventID':_0x346f9f['data'][_0x53d5ee(0x3f4)]};}return JSON[_0x53d5ee(0x3a4)]({'cmd':_0x346f9f[_0x53d5ee(0x148)],'routeKey':_0x346f9f[_0x53d5ee(0x17b)],'collaMsg':_0x36b951});}case F[_0x53d5ee(0x16d)]:return JSON[_0x53d5ee(0x3a4)]({'cmd':_0x346f9f[_0x53d5ee(0x148)],'routeKey':_0x346f9f[_0x53d5ee(0x17b)],'joinReq':_0x346f9f[_0x53d5ee(0x21e)]});case F['LEAVE']:return JSON[_0x53d5ee(0x3a4)]({'cmd':_0x346f9f['cmd'],'routeKey':_0x346f9f['routeKey'],'leaveReq':_0x346f9f[_0x53d5ee(0x21e)]});default:throw new Error(_0x53d5ee(0x3c1));}}var Gs=Object['getOwnPropertyDescriptor'],Ws=(_0xfbc210,_0x1807d5,_0x4cbb23,_0x11b2b5)=>{var _0x5c53a3=_0xd75253;for(var _0x47a77f=_0x11b2b5>0x1?void 0x0:_0x11b2b5?Gs(_0x1807d5,_0x4cbb23):_0x1807d5,_0x6510f1=_0xfbc210[_0x5c53a3(0x1eb)]-0x1,_0x532705;_0x6510f1>=0x0;_0x6510f1--)(_0x532705=_0xfbc210[_0x6510f1])&&(_0x47a77f=_0x532705(_0x47a77f)||_0x47a77f);return _0x47a77f;},ye=(_0x57ac32,_0xecccdc)=>(_0x93d07d,_0x212f31)=>_0xecccdc(_0x93d07d,_0x212f31,_0x57ac32);const Oi=_0x306684('univer-pro.collaboration-client-socket-service');function Ys(_0x8703e5,_0x56a76b,_0x68f317){return _0x8703e5+'/'+_0x56a76b+'/unit/'+_0x68f317+'/new_changes';}let Wt=class extends _0x29b788{constructor(_0x5c431d,_0x1d114f,_0x538dbf,_0xba598a,_0x3012c8){var _0x591fe4=_0xd75253;super(),this[_0x591fe4(0x37c)]=_0x5c431d,this[_0x591fe4(0x309)]=_0x1d114f,this[_0x591fe4(0x398)]=_0x538dbf,this['_logService']=_0xba598a,this[_0x591fe4(0x330)]=_0x3012c8;}[_0xd75253(0x2b3)](_0xe8b263){var _0x10f997=_0xd75253;const _0x25ac03=this['_injector'][_0x10f997(0x313)](_0x1f55fd);if(!_0x25ac03)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1dfa82=_0x25ac03[_0x10f997(0x247)](_0xe8b263);if(!_0x1dfa82)throw new Error(_0x10f997(0x13f));const _0x4fb263=new _0x20d5c5(),_0x27a36d=new _0x1c7476();_0x4fb263[_0x10f997(0x36b)](_0x1dfa82[_0x10f997(0x135)]['subscribe'](_0x4fb55c=>_0x27a36d[_0x10f997(0x178)](_0x4fb55c))),_0x4fb263['add'](_0x4ba861(()=>_0x27a36d[_0x10f997(0x154)]()));const _0x24adce=new _0x1c7476();_0x4fb263['add'](_0x1dfa82[_0x10f997(0x314)][_0x10f997(0x234)](_0x4f7a2f=>_0x24adce[_0x10f997(0x178)](_0x4f7a2f))),_0x4fb263[_0x10f997(0x36b)](_0x4ba861(()=>_0x24adce[_0x10f997(0x154)]()));const _0x2d1f28=new _0x1c7476();_0x4fb263[_0x10f997(0x36b)](_0x1dfa82['message$']['subscribe'](_0x14c7a8=>{var _0xa39a5=_0x10f997;const _0x12b773=Fs(_0x14c7a8);_0x2d1f28[_0xa39a5(0x178)](_0x12b773);})),_0x4fb263[_0x10f997(0x36b)](_0x4ba861(()=>_0x2d1f28[_0x10f997(0x154)]()));let _0x27bf1c;const _0x42cfbc=()=>{var _0xf76b22=_0x10f997;_0x24adce[_0xf76b22(0x178)](new Event('connection\x20error')),_0x27a36d[_0xf76b22(0x178)](new Event(_0xf76b22(0x379))),_0x27bf1c[_0xf76b22(0x110)]();};return _0x27bf1c={'memberID':'','close$':_0x27a36d[_0x10f997(0x361)](),'error$':_0x24adce['asObservable'](),'open$':_0x1dfa82[_0x10f997(0x36d)],'message$':_0x2d1f28[_0x10f997(0x361)](),'send':_0x163db4=>{var _0x1d775e=_0x10f997;if(_0x163db4[_0x1d775e(0x148)]===F['INGEST']){if(_0x163db4['data'][_0x1d775e(0x3f4)]===_0x6e45b[_0x1d775e(0x359)]){this[_0x1d775e(0x1be)](_0x27bf1c,_0x163db4[_0x1d775e(0x21e)])[_0x1d775e(0x3b9)](_0xc90033=>{var _0x665a70=_0x1d775e;this['_logService'][_0x665a70(0x238)](_0xc90033),_0x42cfbc();});return;}if(_0x163db4['data']['eventID']===_0x6e45b[_0x1d775e(0x217)]){const _0x5ee964=_0x163db4[_0x1d775e(0x21e)];this['_fetchMissChangesets'](_0x5ee964)['then'](_0x1b146a=>{var _0x56f747=_0x1d775e;_0x2d1f28['next']({'cmd':F[_0x56f747(0x37b)],'code':pe['OK'],'routeKey':_0x5ee964[_0x56f747(0x21e)][_0x56f747(0x3c6)],'routeType':'','data':{'eventID':_0x6e45b[_0x56f747(0x1e1)],'data':{'changesets':_0x1b146a}}});})['catch'](_0x4310b7=>{var _0x543f54=_0x1d775e;this['_logService'][_0x543f54(0x238)](_0x4310b7),_0x42cfbc();});return;}}_0x1dfa82['send'](Vs(_0x163db4));},'close':()=>{var _0x21edf4=_0x10f997;_0x1dfa82[_0x21edf4(0x110)](),_0x4fb263[_0x21edf4(0x16a)]();}},_0x27bf1c;}async[_0xd75253(0x1be)](_0x10e57c,_0xab7c14){var _0xec8870=_0xd75253,_0x2c4a7b;const {unitType:_0x10a930,unitID:_0x437c4b,changeset:_0x5e4687}=_0xab7c14['data'],_0x292db1={'unitID':_0x437c4b,'memberID':_0x10e57c[_0xec8870(0x12a)],'type':_0x10a930,'changeset':_0x9e253a(_0x5e4687)},_0x409415=this[_0xec8870(0x398)][_0xec8870(0x205)](K),_0x293735=Ys((_0x2c4a7b=_0x409415==null?void 0x0:_0x409415[_0xec8870(0x35c)])!=null?_0x2c4a7b:Os,_0x10a930,_0x437c4b);try{await this[_0xec8870(0x309)][_0xec8870(0x138)](_0x293735,{'body':_0x292db1});}catch(_0x347633){throw this[_0xec8870(0x280)][_0xec8870(0x238)](_0xec8870(0x2a3),_0xec8870(0x1f0)),_0x347633;}}async['_fetchMissChangesets'](_0x47e464){var _0x44c870=_0xd75253;const {unitID:_0x46100c,from:_0xbbeb7,to:_0x39b59c,unitType:_0x206341}=_0x47e464[_0x44c870(0x21e)];return(await this['_snapshotServerService'][_0x44c870(0x192)]({'metadata':void 0x0},{'unitID':_0x46100c,'type':_0x206341,'from':_0xbbeb7,'to':_0x39b59c}))[_0x44c870(0x158)];}};Wt=Ws([ye(0x0,_0x4f8a93(_0x33d727)),ye(0x1,_0x4f8a93(_0x4e0a79)),ye(0x2,_0x14120a),ye(0x3,_0x3c99db),ye(0x4,_0x3ee6a7)],Wt);var Ks=Object[_0xd75253(0x404)],qs=(_0x28f9fb,_0xbc42c6,_0x3f1c39,_0x25f5c4)=>{var _0xa01556=_0xd75253;for(var _0x529822=_0x25f5c4>0x1?void 0x0:_0x25f5c4?Ks(_0xbc42c6,_0x3f1c39):_0xbc42c6,_0xadcc1e=_0x28f9fb[_0xa01556(0x1eb)]-0x1,_0x2deb2b;_0xadcc1e>=0x0;_0xadcc1e--)(_0x2deb2b=_0x28f9fb[_0xadcc1e])&&(_0x529822=_0x2deb2b(_0x529822)||_0x529822);return _0x529822;},Re=(_0x6e5dbe,_0x4eb887)=>(_0x1175dd,_0x274fa0)=>_0x4eb887(_0x1175dd,_0x274fa0,_0x6e5dbe);let we=class extends _0x29b788{constructor(_0x4ed463,_0x53094d,_0x2c69c6,_0x3e7e13,_0x2f9d49,_0x236cd1){var _0x44988c=_0xd75253;super(),D(this,_0x44988c(0x402),new _0x2a8cbc(void 0x0)),D(this,_0x44988c(0x349),this[_0x44988c(0x402)][_0x44988c(0x361)]()),D(this,_0x44988c(0x318),null),D(this,_0x44988c(0x3be),new Map()),D(this,'_status$',new _0x2a8cbc(me[_0x44988c(0x26d)])),D(this,'status$',this[_0x44988c(0x22f)]['asObservable']()),D(this,_0x44988c(0x388),!0x1),D(this,_0x44988c(0x212)),D(this,_0x44988c(0x233),0x0),D(this,_0x44988c(0x2b1)),D(this,_0x44988c(0x2f6)),(this[_0x44988c(0x37c)]=_0x4ed463,this[_0x44988c(0x280)]=_0x53094d,this[_0x44988c(0x398)]=_0x2c69c6,this['_socketService']=_0x3e7e13,this[_0x44988c(0x2ee)]=_0x2f9d49,this['_networkConditionService']=_0x236cd1,this['_listenToNetworkCondition']());}get[_0xd75253(0x3e2)](){var _0x5339b7=_0xd75253;return this[_0x5339b7(0x402)]['getValue']();}[_0xd75253(0x3e0)](){var _0x54232c=_0xd75253;this[_0x54232c(0x11a)]&&this[_0x54232c(0x275)](this[_0x54232c(0x11a)][_0x54232c(0x3d9)][_0x54232c(0x234)](_0x432018=>{var _0x330437=_0x54232c;_0x432018&&!this[_0x330437(0x3e2)]&&this[_0x330437(0x3ac)](),_0x432018||this[_0x330437(0x1f3)]();}));}[_0xd75253(0x16a)](){var _0x2bb378=_0xd75253;super['dispose'](),this[_0x2bb378(0x117)](),this[_0x2bb378(0x1a6)](),this[_0x2bb378(0x16c)](),this[_0x2bb378(0x3be)][_0x2bb378(0x317)](_0x1b613a=>_0x1b613a[_0x2bb378(0x16a)]()),this[_0x2bb378(0x3be)]['clear'](),this[_0x2bb378(0x22f)][_0x2bb378(0x154)]();}async[_0xd75253(0x1d6)](_0x5d049b){var _0x356172=_0xd75253;if(this[_0x356172(0x3be)][_0x356172(0x243)](_0x5d049b))return this['_sessions'][_0x356172(0x313)](_0x5d049b);this['_tryEnsureSocket']();const _0x2cfe92=this[_0x356172(0x37c)][_0x356172(0x36e)](mt,_0x5d049b,this[_0x356172(0x402)][_0x356172(0x361)]());return this['_sessions']['set'](_0x5d049b,_0x2cfe92),_0x2cfe92;}[_0xd75253(0x10f)](_0x296259){var _0xa47a0c=_0xd75253,_0x18ffcc;const _0xe880f3=this[_0xa47a0c(0x3be)][_0xa47a0c(0x313)](_0x296259);_0xe880f3&&(this[_0xa47a0c(0x3be)][_0xa47a0c(0x2f8)](_0x296259),_0xe880f3[_0xa47a0c(0x110)]()),this['_sessions']['size']||(_0x18ffcc=this['_socket'])==null||_0x18ffcc[_0xa47a0c(0x110)]();}[_0xd75253(0x3ac)](){var _0x158efe=_0xd75253;this[_0x158efe(0x233)]=0x0,this[_0x158efe(0x117)](),this['_tryReconnect']();}['_clearRetryConnectingTimer'](){var _0x1045d8=_0xd75253;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x1045d8(0x212)]),this[_0x1045d8(0x212)]=null);}async[_0xd75253(0x115)](){var _0x34d82b=_0xd75253,_0x4cc0e7;const _0x37dd73=this[_0x34d82b(0x398)][_0x34d82b(0x205)](K),_0x227844=(_0x4cc0e7=_0x37dd73==null?void 0x0:_0x37dd73[_0x34d82b(0x3c4)])!=null?_0x4cc0e7:Es,_0x345166=await this['_socketService'][_0x34d82b(0x247)](_0x227844);return this[_0x34d82b(0x318)]=_0x345166,_0x345166;}async[_0xd75253(0x2ce)](){var _0x591016=_0xd75253,_0xbf0b2d,_0xeb5c7c;try{const _0x1c0a3f=(_0xeb5c7c=(_0xbf0b2d=this['_socket'])!=null?_0xbf0b2d:this['_candidateSocket'])!=null?_0xeb5c7c:await this['_createSocket']();if(_0x1c0a3f){const _0x2315c9=_0x1c0a3f[_0x591016(0x31f)];_0x1c0a3f[_0x591016(0x31f)]=_0x530beb=>(this[_0x591016(0x334)](),_0x2315c9['apply'](_0x1c0a3f,[_0x530beb])),_0x1c0a3f['message$'][_0x591016(0x234)](_0xae59=>this[_0x591016(0x303)](_0x1c0a3f,_0xae59)),_0x1c0a3f['error$'][_0x591016(0x151)](_0x53f001(0x1))[_0x591016(0x234)](_0x27cd82=>this[_0x591016(0x280)][_0x591016(0x238)]('[CollaborationSessionService]:\x20socket\x20error',_0x27cd82)),_0x1c0a3f[_0x591016(0x36d)][_0x591016(0x151)](_0x53f001(0x1))[_0x591016(0x234)](()=>{this['_onConnectionOpen'](_0x1c0a3f);}),_0x1c0a3f['close$'][_0x591016(0x151)](_0x53f001(0x1))[_0x591016(0x234)](_0x1d0be7=>{var _0x4ea32c=_0x591016;this['_logService']['debug']('[CollaborationSessionService]',_0x4ea32c(0x3fe),_0x1d0be7),this[_0x4ea32c(0x21a)]();});}}catch(_0x5b97fe){this[_0x591016(0x280)][_0x591016(0x238)](_0x5b97fe),this[_0x591016(0x21a)]();}}[_0xd75253(0x19b)](_0x144c98){var _0x587a5a=_0xd75253;this[_0x587a5a(0x280)][_0x587a5a(0x15f)](_0x587a5a(0x112),'socket\x20open.'),_0x144c98[_0x587a5a(0x31f)]({'cmd':F['HELLO']}),this[_0x587a5a(0x334)]();}[_0xd75253(0x1f3)](){var _0x1bb279=_0xd75253;this[_0x1bb279(0x388)]=!0x1,this[_0x1bb279(0x318)]=null,this[_0x1bb279(0x22f)][_0x1bb279(0x178)](me['OFFLINE']),this[_0x1bb279(0x402)][_0x1bb279(0x178)](null),this[_0x1bb279(0x1a6)](),this[_0x1bb279(0x16c)]();}[_0xd75253(0x21a)](){var _0x2339ff=_0xd75253,_0x1460c5;this[_0x2339ff(0x1f3)](),this[_0x2339ff(0x233)]<((_0x1460c5=this[_0x2339ff(0x398)]['getConfig'](gs))!=null?_0x1460c5:Ts)?(this[_0x2339ff(0x2ee)]['emitEvent']({'id':re[_0x2339ff(0x11c)]}),this[_0x2339ff(0x141)]()):this[_0x2339ff(0x2ee)][_0x2339ff(0x3a0)]({'id':re['SOCKET_FAILED']});}[_0xd75253(0x141)](){var _0x485b18=_0xd75253,_0x239474;const _0x5890ed=this[_0x485b18(0x233)],_0x1465b8=this['_configService'][_0x485b18(0x205)](K),_0x39d730=_0x5890ed===0x0?0x0:((_0x239474=_0x1465b8==null?void 0x0:_0x1465b8[_0x485b18(0x23c)])!=null?_0x239474:Ss)*0x2**_0x5890ed;this['_retryConnectingTimer']=setTimeout(()=>{var _0x228284=_0x485b18;clearTimeout(this[_0x228284(0x212)]),this[_0x228284(0x212)]=null,this[_0x228284(0x2ce)]();},_0x39d730),this[_0x485b18(0x233)]+=0x1;}[_0xd75253(0x303)](_0x29caaf,_0x3d2a3a){var _0x473fd5=_0xd75253;const {cmd:_0x1eb2b8}=_0x3d2a3a;_0x1eb2b8===F[_0x473fd5(0x397)]&&!this['_socketReady']&&(_0x29caaf[_0x473fd5(0x12a)]=_0x3d2a3a[_0x473fd5(0x21e)][_0x473fd5(0x12a)],this['_socket$'][_0x473fd5(0x178)](_0x29caaf),this[_0x473fd5(0x22f)][_0x473fd5(0x178)](me[_0x473fd5(0x25b)]),this[_0x473fd5(0x388)]=!0x0,this[_0x473fd5(0x318)]=null),_0x1eb2b8===F[_0x473fd5(0x410)]&&this[_0x473fd5(0x1a6)](),this[_0x473fd5(0x334)]();}[_0xd75253(0x334)](){var _0x2461d8=_0xd75253,_0x4f3c45;this['_clearHeartbeatTimer'](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x4f3c45=this['_configService'][_0x2461d8(0x205)](ms))!=null?_0x4f3c45:Is);}[_0xd75253(0x405)](){var _0x900480=_0xd75253;this[_0x900480(0x3e2)][_0x900480(0x31f)]({'cmd':F[_0x900480(0x410)]}),this[_0x900480(0x391)]();}[_0xd75253(0x391)](){var _0x3bca26=_0xd75253,_0x179897;this['_timeoutTimer']=setTimeout(()=>this[_0x3bca26(0x21a)](),(_0x179897=this['_configService'][_0x3bca26(0x205)](di))!=null?_0x179897:fi);}[_0xd75253(0x16c)](){var _0x27c823=_0xd75253;this[_0x27c823(0x2b1)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x27c823(0x2b1)]=null);}[_0xd75253(0x1a6)](){var _0x30ec05=_0xd75253;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x30ec05(0x2f6)]),this['_timeoutTimer']=null);}};we=qs([Re(0x0,_0x4f8a93(_0x33d727)),Re(0x1,_0x3c99db),Re(0x2,_0x14120a),Re(0x3,Oi),Re(0x4,_0x4f8a93(ve)),Re(0x5,_0x17f639(js))],we);var zs=Object[_0xd75253(0x404)],Js=(_0x168133,_0x16e6d4,_0x3ae11f,_0x25c2d0)=>{var _0x519376=_0xd75253;for(var _0x25c704=_0x25c2d0>0x1?void 0x0:_0x25c2d0?zs(_0x16e6d4,_0x3ae11f):_0x16e6d4,_0x3828fe=_0x168133[_0x519376(0x1eb)]-0x1,_0x1664cf;_0x3828fe>=0x0;_0x3828fe--)(_0x1664cf=_0x168133[_0x3828fe])&&(_0x25c704=_0x1664cf(_0x25c704)||_0x25c704);return _0x25c704;},Be=(_0x24fdab,_0x41c49f)=>(_0x409824,_0x33f75c)=>_0x41c49f(_0x409824,_0x33f75c,_0x24fdab);let nt=class extends _0xa8e605{constructor(_0x31daf2,_0x567027,_0x5e50a7,_0x286296){var _0x5f1726=_0xd75253,_0x407839;super(),D(this,_0x5f1726(0x375),new Map()),D(this,_0x5f1726(0x392),new _0x1c7476()),D(this,_0x5f1726(0x30b),this[_0x5f1726(0x392)][_0x5f1726(0x361)]()),(this['_injector']=_0x31daf2,this[_0x5f1726(0x25c)]=_0x567027,this[_0x5f1726(0x398)]=_0x5e50a7,this['_univerInstanceService']=_0x286296,((_0x407839=this[_0x5f1726(0x398)][_0x5f1726(0x205)](K))==null?void 0x0:_0x407839[_0x5f1726(0x283)])!==!0x1&&this[_0x5f1726(0x119)]());}[_0xd75253(0x16a)](){var _0x2ac801=_0xd75253;super[_0x2ac801(0x16a)](),this[_0x2ac801(0x375)]['forEach'](_0x58c6a7=>_0x58c6a7[_0x2ac801(0x16a)]()),this[_0x2ac801(0x375)][_0x2ac801(0x3c9)]();}[_0xd75253(0x150)](_0x18383c){var _0x20616=_0xd75253,_0x46d4ea;return(_0x46d4ea=this[_0x20616(0x375)][_0x20616(0x313)](_0x18383c))!=null?_0x46d4ea:null;}[_0xd75253(0x31c)](_0x47239b){var _0x877fe8=_0xd75253;const _0xa0385b=this[_0x877fe8(0x150)](_0x47239b);return _0xa0385b?_0x1032ed(_0xa0385b):this[_0x877fe8(0x392)][_0x877fe8(0x151)](_0x19cade(_0x240eda=>_0x240eda[_0x877fe8(0x3c6)]===_0x47239b));}[_0xd75253(0x11b)](_0x5e9f0c){var _0xc3dd7b=_0xd75253;return _0x3b2293(this[_0xc3dd7b(0x31c)](_0x5e9f0c)['pipe'](_0x2eed3b(()=>{})));}[_0xd75253(0x119)](){var _0x3738e9=_0xd75253;this[_0x3738e9(0x2fb)][_0x3738e9(0x33c)](_0x2cb638[_0x3738e9(0x376)])[_0x3738e9(0x151)](_0x29a2e6(this['dispose$']),_0x2796c5(0x10))[_0x3738e9(0x234)](async _0x45cd9a=>{var _0x1271e6=_0x3738e9;const _0x115ee9=_0x45cd9a['getUnitId'](),_0x1e5c33=await this[_0x1271e6(0x10a)](_0x115ee9,Q['UNIVER_SHEET']);this[_0x1271e6(0x375)][_0x1271e6(0x20a)](_0x115ee9,_0x1e5c33);}),this['_univerInstanceService'][_0x3738e9(0x33c)](_0x2cb638['UNIVER_DOC'])[_0x3738e9(0x151)](_0x29a2e6(this[_0x3738e9(0x244)]),_0x2796c5(0x10))['pipe'](_0x19cade(_0x4cb924=>!_0x4cb924['getUnitId']()['startsWith']('__')))[_0x3738e9(0x234)](async _0x26955e=>{var _0x600c1a=_0x3738e9;const _0x2d67db=_0x26955e[_0x600c1a(0x1a7)](),_0x4da5f6=await this['_startCollaboration'](_0x2d67db,Q['UNIVER_DOC']);this[_0x600c1a(0x375)][_0x600c1a(0x20a)](_0x2d67db,_0x4da5f6);}),_0xad9f69(this[_0x3738e9(0x2fb)][_0x3738e9(0x3c3)](_0x2cb638[_0x3738e9(0x376)]),this['_univerInstanceService'][_0x3738e9(0x3c3)](_0x2cb638[_0x3738e9(0x2af)]))[_0x3738e9(0x151)](_0x29a2e6(this[_0x3738e9(0x244)]))[_0x3738e9(0x234)](_0x27dcbe=>{var _0x43d8d7=_0x3738e9;const _0xbc9be0=_0x27dcbe[_0x43d8d7(0x1a7)](),_0x1990f5=this['_entities'][_0x43d8d7(0x313)](_0xbc9be0);_0x1990f5&&(_0x1990f5[_0x43d8d7(0x16a)](),this[_0x43d8d7(0x375)][_0x43d8d7(0x2f8)](_0xbc9be0));});}async['_startCollaboration'](_0x5e7417,_0x315ef9){var _0x501c2e=_0xd75253;const _0x4dc37e=await this[_0x501c2e(0x25c)][_0x501c2e(0x1d6)](_0x5e7417),_0x5ff114=this[_0x501c2e(0x37c)]['createInstance'](this[_0x501c2e(0x23f)](_0x315ef9),_0x5e7417,_0x315ef9,_0x4dc37e);return await _0x5ff114[_0x501c2e(0x37f)](),this[_0x501c2e(0x392)]['next'](_0x5ff114),_0x5ff114;}[_0xd75253(0x23f)](_0x1bd7be){var _0x4a74ff=_0xd75253;switch(_0x1bd7be){case Q[_0x4a74ff(0x2af)]:return It;case Q[_0x4a74ff(0x376)]:return St;default:throw new Error(_0x4a74ff(0x10d)+_0x1bd7be);}}};nt=Js([Be(0x0,_0x4f8a93(_0x33d727)),Be(0x1,_0x4f8a93(we)),Be(0x2,_0x14120a),Be(0x3,_0x35e7f5)],nt);var Xs=Object[_0xd75253(0x404)],Zs=(_0x33c8cc,_0x3bb178,_0x3d8ddb,_0x149cca)=>{var _0x3f8882=_0xd75253;for(var _0x51a7fd=_0x149cca>0x1?void 0x0:_0x149cca?Xs(_0x3bb178,_0x3d8ddb):_0x3bb178,_0x37ea81=_0x33c8cc[_0x3f8882(0x1eb)]-0x1,_0x2f67fb;_0x37ea81>=0x0;_0x37ea81--)(_0x2f67fb=_0x33c8cc[_0x37ea81])&&(_0x51a7fd=_0x2f67fb(_0x51a7fd)||_0x51a7fd);return _0x51a7fd;},Yt=(_0x3eff88,_0x21f45f)=>(_0x2f0010,_0x4b2172)=>_0x21f45f(_0x2f0010,_0x4b2172,_0x3eff88);const Qs=_0xd75253(0x3cb),en=_0xd75253(0x2d4);let gt=class extends _0x29b788{constructor(_0x279e2c,_0x367f73){var _0x5cc9b2=_0xd75253;super(),this['_univerInstanceService']=_0x279e2c,this[_0x5cc9b2(0x398)]=_0x367f73,this[_0x5cc9b2(0x119)]();}[_0xd75253(0x119)](){var _0x2b1053=_0xd75253;this[_0x2b1053(0x275)](this[_0x2b1053(0x2fb)][_0x2b1053(0x30f)]['subscribe'](()=>{var _0x739cde=_0x2b1053,_0x315d93;const _0x39043a=this[_0x739cde(0x2fb)][_0x739cde(0x188)]();let _0xd1534b=(_0x315d93=this[_0x739cde(0x398)][_0x739cde(0x205)](Qs))!=null?_0x315d93:en;_0x39043a instanceof _0xfbc5cc&&(_0xd1534b=_0x39043a[_0x739cde(0x181)]),document['title']=_0xd1534b;}));}};gt=Zs([Yt(0x0,_0x35e7f5),Yt(0x1,_0x14120a)],gt);var tn=Object['getOwnPropertyDescriptor'],sn=(_0x317174,_0x5d0f12,_0x154502,_0x47a105)=>{var _0x5699d5=_0xd75253;for(var _0x5a2e03=_0x47a105>0x1?void 0x0:_0x47a105?tn(_0x5d0f12,_0x154502):_0x5d0f12,_0x11d094=_0x317174[_0x5699d5(0x1eb)]-0x1,_0x5a8adf;_0x11d094>=0x0;_0x11d094--)(_0x5a8adf=_0x317174[_0x11d094])&&(_0x5a2e03=_0x5a8adf(_0x5a2e03)||_0x5a2e03);return _0x5a2e03;},dt=(_0x41c4b8,_0x373cb5)=>(_0x46ce7a,_0x1e9eba)=>_0x373cb5(_0x46ce7a,_0x1e9eba,_0x41c4b8);let rt=class{constructor(_0x5cddc5,_0x15f94,_0x420969){var _0x117b93=_0xd75253;this['_configService']=_0x5cddc5,this[_0x117b93(0x309)]=_0x15f94,this[_0x117b93(0x295)]=_0x420969,this[_0x117b93(0x37f)]();}[_0xd75253(0x37f)](){var _0x298eb8=_0xd75253;this[_0x298eb8(0x309)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x3db392,_0x7f8d1d)=>_0x7f8d1d(_0x3db392)[_0x298eb8(0x151)](_0x5e471d(async _0x261d10=>{var _0x36bdeb=_0x298eb8;const _0x555496=_0x261d10;if(_0x555496['status']===0x191){if(typeof window>'u')throw new Error(_0x36bdeb(0x356));if(window[_0x36bdeb(0x345)](this[_0x36bdeb(0x295)]['t'](_0x36bdeb(0x2e4)))){const _0x16a498=window[_0x36bdeb(0x2e5)](window[_0x36bdeb(0x39a)][_0x36bdeb(0x30c)]);window[_0x36bdeb(0x39a)][_0x36bdeb(0x30c)]=this[_0x36bdeb(0x3b1)]()+'?url='+_0x16a498;}}return _0x555496;}))});}[_0xd75253(0x3b1)](){var _0x203884=_0xd75253,_0x1ae3f9;const _0x623573=this[_0x203884(0x398)]['getConfig'](K);return(_0x1ae3f9=_0x623573==null?void 0x0:_0x623573[_0x203884(0x13c)])!=null?_0x1ae3f9:Rs;}};rt=sn([dt(0x0,_0x14120a),dt(0x1,_0x4f8a93(_0x4e0a79)),dt(0x2,_0x4f8a93(_0x2bc8f4))],rt);var nn=Object[_0xd75253(0x404)],rn=(_0x3a8660,_0x4fd9a2,_0x2ef202,_0x4397f1)=>{var _0x5645a7=_0xd75253;for(var _0x37fb1e=_0x4397f1>0x1?void 0x0:_0x4397f1?nn(_0x4fd9a2,_0x2ef202):_0x4fd9a2,_0x5914e0=_0x3a8660[_0x5645a7(0x1eb)]-0x1,_0x1113f0;_0x5914e0>=0x0;_0x5914e0--)(_0x1113f0=_0x3a8660[_0x5914e0])&&(_0x37fb1e=_0x1113f0(_0x37fb1e)||_0x37fb1e);return _0x37fb1e;},Kt=(_0x373b73,_0x100cc7)=>(_0x426167,_0x49c9)=>_0x100cc7(_0x426167,_0x49c9,_0x373b73);const an=_0xd75253(0x24d);let Tt=class extends _0x29b788{constructor(_0x24f164,_0x2b0a90){var _0x48d3fa=_0xd75253;super(),this['_HTTPService']=_0x24f164,this[_0x48d3fa(0x398)]=_0x2b0a90,this[_0x48d3fa(0x2df)]();}['_initMergeInterceptor'](){var _0x508ec7=_0xd75253;const _0xa2ddfb=this;this[_0x508ec7(0x275)](this[_0x508ec7(0x30e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x2ea74e({'isMatch'(_0x414117){var _0x3cad04=_0x508ec7,_0x4d24a8;if(_0x414117['method']==='POST'&&((_0x4d24a8=_0x414117['requestParams'])!=null&&_0x4d24a8['body'])){const {objectID:_0xeedb41,objectType:_0x5c85a8}=_0x414117['requestParams']['body']||{};if(!_0xeedb41||_0x5c85a8===void 0x0)return!0x1;const _0x4f048d=_0xa2ddfb['_getAPIPrefixPath']()+'/'+_0x5c85a8+_0x3cad04(0x417)+_0xeedb41+_0x3cad04(0x114);if(_0x414117[_0x3cad04(0x35f)]===_0x4f048d)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x472e53){var _0x4a3cdd=_0x508ec7,_0x5affe0;return(_0x5affe0=_0x472e53[_0x4a3cdd(0x320)])==null?void 0x0:_0x5affe0[_0x4a3cdd(0x291)];},'mergeParamsToRequest'(_0x47ebf5,_0x30f99b){var _0x326794=_0x508ec7;const _0x3dc25a=_0xa2ddfb['_getAPIPrefixPath']()+_0x326794(0x3c8),_0x31b707=_0x47ebf5[_0x326794(0x170)]((_0x357fb0,_0x303006)=>{var _0x34cba4=_0x326794;const {unitID:_0x29fd38,objectID:_0x3a34b0,objectType:_0x3e5bde,actions:_0x333537}=_0x303006;return _0x357fb0[_0x29fd38]||(_0x357fb0[_0x29fd38]={}),_0x357fb0[_0x29fd38][_0x3a34b0]||(_0x357fb0[_0x29fd38][_0x3a34b0]={'objectID':_0x3a34b0,'objectType':_0x3e5bde,'actions':[]}),_0x357fb0[_0x29fd38][_0x3a34b0][_0x34cba4(0x3b5)]['push'](..._0x333537),_0x357fb0;},{}),_0x1a279c=[];for(const _0x7b4dd5 in _0x31b707)for(const _0x4de8c8 in _0x31b707[_0x7b4dd5]){const {actions:_0x44a244,objectType:_0x1f2595}=_0x31b707[_0x7b4dd5][_0x4de8c8],_0x2f69b2=[...new Set(_0x44a244)];_0x1a279c[_0x326794(0x3fb)]({'unitID':_0x7b4dd5,'objectID':_0x4de8c8,'objectType':_0x1f2595,'actions':_0x2f69b2});}return new _0x577b4e(_0x326794(0x2aa),_0x3dc25a,{'headers':_0x30f99b['headers'],'withCredentials':_0x30f99b[_0x326794(0x3b2)],'responseType':_0x30f99b[_0x326794(0x133)],'body':{'requests':_0x1a279c}});}},{'distributeResult'(_0x3e5d70,_0x1174fb){var _0x3d936d=_0x508ec7;const {objectActions:_0x5c4e0a}=_0x3e5d70;return _0x1174fb[_0x3d936d(0x395)](_0x391f1a=>{var _0x58fe7c=_0x3d936d;const {unitID:_0x3b0f11,objectID:_0x3a6366,actions:_0xa5eb79}=_0x391f1a,_0x264cf0=_0x5c4e0a[_0x58fe7c(0x26f)](_0x268c56=>_0x268c56[_0x58fe7c(0x3c6)]===_0x3b0f11&&_0x268c56['objectID']===_0x3a6366),_0x24ef06=_0xa5eb79[_0x58fe7c(0x395)](_0x5e2990=>_0x264cf0==null?void 0x0:_0x264cf0[_0x58fe7c(0x3b5)][_0x58fe7c(0x26f)](_0x458641=>_0x458641[_0x58fe7c(0x329)]===_0x5e2990))[_0x58fe7c(0x2fa)](_0x755460=>!!_0x755460);return{'config':_0x391f1a,'result':{'actions':_0x24ef06,'error':_0x3e5d70[_0x58fe7c(0x238)]}};});}})}));}[_0xd75253(0x3e8)](){var _0x4fec0d=_0xd75253,_0x3bf8f1;const _0x310b38=this[_0x4fec0d(0x398)]['getConfig'](K);return(_0x3bf8f1=_0x310b38==null?void 0x0:_0x310b38['authzUrl'])!=null?_0x3bf8f1:an;}async['create'](_0x2c28f0){var _0x4baed9=_0xd75253;const _0x3e3e5b=this['_getAPIPrefixPath']()+'/'+_0x2c28f0[_0x4baed9(0x1f6)]+_0x4baed9(0x206);return(await this['_HTTPService']['post'](_0x3e3e5b,{'body':_0x2c28f0}))[_0x4baed9(0x291)][_0x4baed9(0x2b4)]||'';}async[_0xd75253(0x1ff)](_0x440ee5){var _0x3f7f8b=_0xd75253;const _0x2e2a60=this['_getAPIPrefixPath']()+_0x3f7f8b(0x146);return(await this[_0x3f7f8b(0x30e)][_0x3f7f8b(0x138)](_0x2e2a60,{'body':_0x440ee5}))[_0x3f7f8b(0x291)][_0x3f7f8b(0x16e)];}async[_0xd75253(0x257)](_0x53d46a){var _0x3bbd05=_0xd75253,_0x4b9ef4,_0x4e0aa4;const _0xdbdc97=this[_0x3bbd05(0x3e8)]()+'/'+_0x53d46a[_0x3bbd05(0x1f6)]+_0x3bbd05(0x417)+_0x53d46a['objectID'],_0x27203f=await this[_0x3bbd05(0x30e)][_0x3bbd05(0x224)](_0xdbdc97,{'body':_0x53d46a});if(((_0x4e0aa4=(_0x4b9ef4=_0x27203f==null?void 0x0:_0x27203f[_0x3bbd05(0x291)])==null?void 0x0:_0x4b9ef4['error'])==null?void 0x0:_0x4e0aa4[_0x3bbd05(0x14c)])!==0x1)throw new Error(_0x3bbd05(0x3dd));}async[_0xd75253(0x307)](_0x10e591){var _0x2b0d4e=_0xd75253;const _0x5ec603=this['_getAPIPrefixPath']()+'/'+_0x10e591[_0x2b0d4e(0x1f6)]+'/object/'+_0x10e591[_0x2b0d4e(0x2b4)]+_0x2b0d4e(0x114);return(await this[_0x2b0d4e(0x30e)][_0x2b0d4e(0x138)](_0x5ec603,{'body':_0x10e591}))['body']['actions'];}async[_0xd75253(0x14d)](_0x262320){var _0x52730c=_0xd75253;const _0x43a438=this[_0x52730c(0x3e8)]()+_0x52730c(0x3c8);return(await this[_0x52730c(0x30e)][_0x52730c(0x138)](_0x43a438,{'body':{'requests':_0x262320}}))[_0x52730c(0x291)]['objectActions'];}async[_0xd75253(0x3ab)](_0x74097e){var _0x54072e=_0xd75253;const _0x42450b=this[_0x54072e(0x3e8)]()+'/'+_0x74097e[_0x54072e(0x1f6)]+_0x54072e(0x3c0),_0x3cb274=await this[_0x54072e(0x30e)][_0x54072e(0x138)](_0x42450b,{'body':_0x74097e});return{'roles':_0x3cb274['body'][_0x54072e(0x2a6)],'actions':_0x3cb274['body'][_0x54072e(0x3b5)]};}async[_0xd75253(0x2cc)](_0x29334b){var _0xf1a330=_0xd75253;const _0x4d7436=this[_0xf1a330(0x3e8)]()+_0xf1a330(0x153);await this['_HTTPService']['delete'](_0x4d7436,{'params':{'collaboratorID':_0x29334b[_0xf1a330(0x17c)],'objectID':_0x29334b['objectID'],'unitID':_0x29334b[_0xf1a330(0x3c6)]}});}async[_0xd75253(0x3d6)](_0x2828dd){var _0xced98a=_0xd75253;const _0x5decf5=this['_getAPIPrefixPath']()+_0xced98a(0x153);await this[_0xced98a(0x30e)][_0xced98a(0x175)](_0x5decf5,{'body':_0x2828dd});}async[_0xd75253(0x13d)](_0x217c6f){var _0x110fcc=_0xd75253;const _0x39684c=this[_0x110fcc(0x3e8)]()+_0x110fcc(0x153);await this[_0x110fcc(0x30e)]['post'](_0x39684c,{'body':_0x217c6f});}async['listCollaborators'](_0x3a2c81){var _0xab13c1=_0xd75253;const _0x316305=this[_0xab13c1(0x3e8)]()+_0xab13c1(0x153);return(await this[_0xab13c1(0x30e)][_0xab13c1(0x313)](_0x316305,{'params':{'objectID':_0x3a2c81['objectID'],'unitID':_0x3a2c81['unitID']}}))[_0xab13c1(0x291)]['collaborators'];}async['putCollaborators'](_0x27ce4b){var _0x47e517=_0xd75253;const _0x45ec7a=this[_0x47e517(0x3e8)]()+_0x47e517(0x153);await this['_HTTPService'][_0x47e517(0x224)](_0x45ec7a,{'body':_0x27ce4b});}};Tt=rn([Kt(0x0,_0x4f8a93(_0x4e0a79)),Kt(0x1,_0x4f8a93(_0x14120a))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x54cb15){var _0x18ef7f=_0xd75253;return _0x54cb15&&_0x54cb15[_0x18ef7f(0x3a6)]&&Object[_0x18ef7f(0x184)]['hasOwnProperty'][_0x18ef7f(0x3ca)](_0x54cb15,_0x18ef7f(0x3f6))?_0x54cb15['default']:_0x54cb15;}var Ve={'exports':{}};function on(_0x42f238){var _0x31e72f=_0xd75253;throw new Error(_0x31e72f(0x3f3)+_0x42f238+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge['exports'],qt;function ie(){return qt||(qt=0x1,function(_0x57b186,_0x3081ce){(function(_0x46b711,_0x53a752){var _0x9f28df=_0xf06a;_0x57b186[_0x9f28df(0x33f)]=_0x53a752();}(cn,function(){var _0xaf4501=_0xaf4501||function(_0x5ec1fc,_0x2df6a3){var _0x30d836=_0xf06a,_0x1b3d22;if(typeof window<'u'&&window[_0x30d836(0x1f1)]&&(_0x1b3d22=window[_0x30d836(0x1f1)]),typeof self<'u'&&self[_0x30d836(0x1f1)]&&(_0x1b3d22=self[_0x30d836(0x1f1)]),typeof globalThis<'u'&&globalThis[_0x30d836(0x1f1)]&&(_0x1b3d22=globalThis['crypto']),!_0x1b3d22&&typeof window<'u'&&window['msCrypto']&&(_0x1b3d22=window[_0x30d836(0x130)]),!_0x1b3d22&&typeof ft<'u'&&ft[_0x30d836(0x1f1)]&&(_0x1b3d22=ft['crypto']),!_0x1b3d22&&typeof on==_0x30d836(0x131))try{_0x1b3d22=require('crypto');}catch{}var _0x57168b=function(){var _0x498988=_0x30d836;if(_0x1b3d22){if(typeof _0x1b3d22[_0x498988(0x15a)]==_0x498988(0x131))try{return _0x1b3d22[_0x498988(0x15a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1b3d22['randomBytes']==_0x498988(0x131))try{return _0x1b3d22[_0x498988(0x383)](0x4)[_0x498988(0x169)]();}catch{}}throw new Error(_0x498988(0x1b8));},_0x36930c=Object['create']||(function(){function _0x32fb96(){}return function(_0x3b490){var _0x4119cc=_0xf06a,_0x5366fd;return _0x32fb96[_0x4119cc(0x184)]=_0x3b490,_0x5366fd=new _0x32fb96(),_0x32fb96[_0x4119cc(0x184)]=null,_0x5366fd;};}()),_0x4832dc={},_0x407b21=_0x4832dc[_0x30d836(0x321)]={},_0x1b5bca=_0x407b21['Base']=(function(){return{'extend':function(_0x49066f){var _0x3f0f7c=_0xf06a,_0x58f125=_0x36930c(this);return _0x49066f&&_0x58f125['mixIn'](_0x49066f),(!_0x58f125[_0x3f0f7c(0x1db)](_0x3f0f7c(0x37f))||this[_0x3f0f7c(0x37f)]===_0x58f125[_0x3f0f7c(0x37f)])&&(_0x58f125[_0x3f0f7c(0x37f)]=function(){var _0x596792=_0x3f0f7c;_0x58f125[_0x596792(0x419)][_0x596792(0x37f)][_0x596792(0x29f)](this,arguments);}),_0x58f125[_0x3f0f7c(0x37f)][_0x3f0f7c(0x184)]=_0x58f125,_0x58f125['$super']=this,_0x58f125;},'create':function(){var _0x22166b=_0xf06a,_0x59a29c=this['extend']();return _0x59a29c['init'][_0x22166b(0x29f)](_0x59a29c,arguments),_0x59a29c;},'init':function(){},'mixIn':function(_0x2d2aaf){var _0x1acef8=_0xf06a;for(var _0x2c59c7 in _0x2d2aaf)_0x2d2aaf[_0x1acef8(0x1db)](_0x2c59c7)&&(this[_0x2c59c7]=_0x2d2aaf[_0x2c59c7]);_0x2d2aaf[_0x1acef8(0x1db)](_0x1acef8(0x1c0))&&(this[_0x1acef8(0x1c0)]=_0x2d2aaf[_0x1acef8(0x1c0)]);},'clone':function(){var _0x2b5860=_0xf06a;return this[_0x2b5860(0x37f)][_0x2b5860(0x184)]['extend'](this);}};}()),_0x151380=_0x407b21[_0x30d836(0x3d2)]=_0x1b5bca['extend']({'init':function(_0x5716e0,_0x4aa358){var _0x5a7a0e=_0x30d836;_0x5716e0=this[_0x5a7a0e(0x341)]=_0x5716e0||[],_0x4aa358!=_0x2df6a3?this['sigBytes']=_0x4aa358:this[_0x5a7a0e(0x11e)]=_0x5716e0[_0x5a7a0e(0x1eb)]*0x4;},'toString':function(_0x5be464){var _0x4ac497=_0x30d836;return(_0x5be464||_0x13dabc)[_0x4ac497(0x3a4)](this);},'concat':function(_0xe521e9){var _0x4eb719=_0x30d836,_0x314905=this[_0x4eb719(0x341)],_0x153888=_0xe521e9[_0x4eb719(0x341)],_0x1c1ae3=this[_0x4eb719(0x11e)],_0x28da8e=_0xe521e9[_0x4eb719(0x11e)];if(this['clamp'](),_0x1c1ae3%0x4)for(var _0x417e29=0x0;_0x417e29<_0x28da8e;_0x417e29++){var _0x386cc3=_0x153888[_0x417e29>>>0x2]>>>0x18-_0x417e29%0x4*0x8&0xff;_0x314905[_0x1c1ae3+_0x417e29>>>0x2]|=_0x386cc3<<0x18-(_0x1c1ae3+_0x417e29)%0x4*0x8;}else{for(var _0x50e7c2=0x0;_0x50e7c2<_0x28da8e;_0x50e7c2+=0x4)_0x314905[_0x1c1ae3+_0x50e7c2>>>0x2]=_0x153888[_0x50e7c2>>>0x2];}return this[_0x4eb719(0x11e)]+=_0x28da8e,this;},'clamp':function(){var _0x3480a=_0x30d836,_0x4311dc=this[_0x3480a(0x341)],_0x18f2ea=this[_0x3480a(0x11e)];_0x4311dc[_0x18f2ea>>>0x2]&=0xffffffff<<0x20-_0x18f2ea%0x4*0x8,_0x4311dc[_0x3480a(0x1eb)]=_0x5ec1fc[_0x3480a(0x3ce)](_0x18f2ea/0x4);},'clone':function(){var _0x2430dd=_0x30d836,_0x4872b8=_0x1b5bca['clone'][_0x2430dd(0x3ca)](this);return _0x4872b8[_0x2430dd(0x341)]=this['words'][_0x2430dd(0x1ec)](0x0),_0x4872b8;},'random':function(_0x1ca69d){var _0x5c1684=_0x30d836;for(var _0x5a006f=[],_0x4b81a7=0x0;_0x4b81a7<_0x1ca69d;_0x4b81a7+=0x4)_0x5a006f[_0x5c1684(0x3fb)](_0x57168b());return new _0x151380[(_0x5c1684(0x37f))](_0x5a006f,_0x1ca69d);}}),_0x4b3aed=_0x4832dc[_0x30d836(0x2d5)]={},_0x13dabc=_0x4b3aed[_0x30d836(0x189)]={'stringify':function(_0x3cf189){var _0x3700a2=_0x30d836;for(var _0x80ccd2=_0x3cf189[_0x3700a2(0x341)],_0x53cb78=_0x3cf189[_0x3700a2(0x11e)],_0x3ed4de=[],_0x3af1a9=0x0;_0x3af1a9<_0x53cb78;_0x3af1a9++){var _0x336edb=_0x80ccd2[_0x3af1a9>>>0x2]>>>0x18-_0x3af1a9%0x4*0x8&0xff;_0x3ed4de[_0x3700a2(0x3fb)]((_0x336edb>>>0x4)[_0x3700a2(0x1c0)](0x10)),_0x3ed4de[_0x3700a2(0x3fb)]((_0x336edb&0xf)[_0x3700a2(0x1c0)](0x10));}return _0x3ed4de[_0x3700a2(0x3bc)]('');},'parse':function(_0x2b1442){var _0x404235=_0x30d836;for(var _0x1c4778=_0x2b1442[_0x404235(0x1eb)],_0x25d3f5=[],_0x53de4f=0x0;_0x53de4f<_0x1c4778;_0x53de4f+=0x2)_0x25d3f5[_0x53de4f>>>0x3]|=parseInt(_0x2b1442[_0x404235(0x297)](_0x53de4f,0x2),0x10)<<0x18-_0x53de4f%0x8*0x4;return new _0x151380['init'](_0x25d3f5,_0x1c4778/0x2);}},_0x27744a=_0x4b3aed[_0x30d836(0x2ca)]={'stringify':function(_0xfcbd7b){var _0x54fa58=_0x30d836;for(var _0x32b8ac=_0xfcbd7b[_0x54fa58(0x341)],_0x4023ba=_0xfcbd7b['sigBytes'],_0x5079ce=[],_0x4654f8=0x0;_0x4654f8<_0x4023ba;_0x4654f8++){var _0x19d25e=_0x32b8ac[_0x4654f8>>>0x2]>>>0x18-_0x4654f8%0x4*0x8&0xff;_0x5079ce[_0x54fa58(0x3fb)](String[_0x54fa58(0x3cf)](_0x19d25e));}return _0x5079ce[_0x54fa58(0x3bc)]('');},'parse':function(_0x15a01e){var _0x37c2fa=_0x30d836;for(var _0x2423de=_0x15a01e[_0x37c2fa(0x1eb)],_0x2462c4=[],_0x91535=0x0;_0x91535<_0x2423de;_0x91535++)_0x2462c4[_0x91535>>>0x2]|=(_0x15a01e[_0x37c2fa(0x168)](_0x91535)&0xff)<<0x18-_0x91535%0x4*0x8;return new _0x151380['init'](_0x2462c4,_0x2423de);}},_0x3cd858=_0x4b3aed[_0x30d836(0x29d)]={'stringify':function(_0x51fc9d){var _0x1f72a7=_0x30d836;try{return decodeURIComponent(escape(_0x27744a[_0x1f72a7(0x3a4)](_0x51fc9d)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x5e5635){var _0x52085f=_0x30d836;return _0x27744a[_0x52085f(0x323)](unescape(encodeURIComponent(_0x5e5635)));}},_0xe1b2e2=_0x407b21[_0x30d836(0x1b0)]=_0x1b5bca['extend']({'reset':function(){var _0x271ff1=_0x30d836;this['_data']=new _0x151380[(_0x271ff1(0x37f))](),this['_nDataBytes']=0x0;},'_append':function(_0x3d578e){var _0x2939e3=_0x30d836;typeof _0x3d578e==_0x2939e3(0x231)&&(_0x3d578e=_0x3cd858['parse'](_0x3d578e)),this[_0x2939e3(0x39e)][_0x2939e3(0x279)](_0x3d578e),this[_0x2939e3(0x28a)]+=_0x3d578e[_0x2939e3(0x11e)];},'_process':function(_0x37a720){var _0x21a1ef=_0x30d836,_0x10e859,_0x10d2ad=this[_0x21a1ef(0x39e)],_0x77f64b=_0x10d2ad[_0x21a1ef(0x341)],_0x24b9ed=_0x10d2ad[_0x21a1ef(0x11e)],_0x4807fb=this[_0x21a1ef(0x360)],_0x212069=_0x4807fb*0x4,_0x3fef02=_0x24b9ed/_0x212069;_0x37a720?_0x3fef02=_0x5ec1fc[_0x21a1ef(0x3ce)](_0x3fef02):_0x3fef02=_0x5ec1fc['max']((_0x3fef02|0x0)-this[_0x21a1ef(0x190)],0x0);var _0x187276=_0x3fef02*_0x4807fb,_0x2cb704=_0x5ec1fc[_0x21a1ef(0x1a8)](_0x187276*0x4,_0x24b9ed);if(_0x187276){for(var _0x2384d1=0x0;_0x2384d1<_0x187276;_0x2384d1+=_0x4807fb)this['_doProcessBlock'](_0x77f64b,_0x2384d1);_0x10e859=_0x77f64b[_0x21a1ef(0x315)](0x0,_0x187276),_0x10d2ad['sigBytes']-=_0x2cb704;}return new _0x151380['init'](_0x10e859,_0x2cb704);},'clone':function(){var _0x1fde39=_0x30d836,_0x203ecd=_0x1b5bca[_0x1fde39(0x194)]['call'](this);return _0x203ecd[_0x1fde39(0x39e)]=this[_0x1fde39(0x39e)][_0x1fde39(0x194)](),_0x203ecd;},'_minBufferSize':0x0});_0x407b21['Hasher']=_0xe1b2e2['extend']({'cfg':_0x1b5bca[_0x30d836(0x1b3)](),'init':function(_0x3b54fa){var _0x5862d4=_0x30d836;this[_0x5862d4(0x289)]=this[_0x5862d4(0x289)][_0x5862d4(0x1b3)](_0x3b54fa),this['reset']();},'reset':function(){var _0x30407d=_0x30d836;_0xe1b2e2[_0x30407d(0x380)]['call'](this),this[_0x30407d(0x1e0)]();},'update':function(_0x2dd340){return this['_append'](_0x2dd340),this['_process'](),this;},'finalize':function(_0x225b34){var _0xda28db=_0x30d836;_0x225b34&&this[_0xda28db(0x20b)](_0x225b34);var _0x23d8c5=this[_0xda28db(0x120)]();return _0x23d8c5;},'blockSize':0x10,'_createHelper':function(_0x371f0c){return function(_0x3856eb,_0x3abbb9){var _0x15089f=_0xf06a;return new _0x371f0c[(_0x15089f(0x37f))](_0x3abbb9)[_0x15089f(0x2b5)](_0x3856eb);};},'_createHmacHelper':function(_0x3492b2){return function(_0x1e4e1a,_0x4359e5){var _0x113c79=_0xf06a;return new _0x50fee3[(_0x113c79(0x1ee))][(_0x113c79(0x37f))](_0x3492b2,_0x4359e5)[_0x113c79(0x2b5)](_0x1e4e1a);};}});var _0x50fee3=_0x4832dc[_0x30d836(0x40e)]={};return _0x4832dc;}(Math);return _0xaf4501;}));}(Ge)),Ge['exports'];}var We={'exports':{}},_n=We['exports'],zt;function Ri(){var _0x22a170=_0xd75253;return zt||(zt=0x1,function(_0x391867,_0x198e83){(function(_0x2e8011,_0x1ad715){var _0x4281d2=_0xf06a;_0x391867[_0x4281d2(0x33f)]=_0x1ad715(ie());}(_n,function(_0x28e9c9){var _0xc32145=_0xf06a;return(function(){var _0x2e2cc1=_0xf06a,_0x31bf1c=_0x28e9c9,_0x4cba35=_0x31bf1c[_0x2e2cc1(0x321)],_0x425012=_0x4cba35[_0x2e2cc1(0x3d2)],_0x9b8f53=_0x31bf1c['enc'];_0x9b8f53[_0x2e2cc1(0x18e)]={'stringify':function(_0x15bd6e){var _0x20a389=_0x2e2cc1,_0x349b1e=_0x15bd6e[_0x20a389(0x341)],_0x3935b0=_0x15bd6e[_0x20a389(0x11e)],_0x54db1d=this[_0x20a389(0x1d8)];_0x15bd6e['clamp']();for(var _0x3c3bcf=[],_0x329229=0x0;_0x329229<_0x3935b0;_0x329229+=0x3)for(var _0x51d069=_0x349b1e[_0x329229>>>0x2]>>>0x18-_0x329229%0x4*0x8&0xff,_0x1a8041=_0x349b1e[_0x329229+0x1>>>0x2]>>>0x18-(_0x329229+0x1)%0x4*0x8&0xff,_0x346d6e=_0x349b1e[_0x329229+0x2>>>0x2]>>>0x18-(_0x329229+0x2)%0x4*0x8&0xff,_0x443ffe=_0x51d069<<0x10|_0x1a8041<<0x8|_0x346d6e,_0x437f7e=0x0;_0x437f7e<0x4&&_0x329229+_0x437f7e*0.75<_0x3935b0;_0x437f7e++)_0x3c3bcf[_0x20a389(0x3fb)](_0x54db1d[_0x20a389(0x312)](_0x443ffe>>>0x6*(0x3-_0x437f7e)&0x3f));var _0x37aec4=_0x54db1d[_0x20a389(0x312)](0x40);if(_0x37aec4){for(;_0x3c3bcf['length']%0x4;)_0x3c3bcf[_0x20a389(0x3fb)](_0x37aec4);}return _0x3c3bcf['join']('');},'parse':function(_0x3bf66b){var _0x4b6fd6=_0x2e2cc1,_0x3159b6=_0x3bf66b[_0x4b6fd6(0x1eb)],_0x26af6a=this[_0x4b6fd6(0x1d8)],_0x4e6a88=this[_0x4b6fd6(0x25d)];if(!_0x4e6a88){_0x4e6a88=this['_reverseMap']=[];for(var _0xd4593=0x0;_0xd4593<_0x26af6a[_0x4b6fd6(0x1eb)];_0xd4593++)_0x4e6a88[_0x26af6a['charCodeAt'](_0xd4593)]=_0xd4593;}var _0x3eeefc=_0x26af6a['charAt'](0x40);if(_0x3eeefc){var _0x4039d4=_0x3bf66b[_0x4b6fd6(0x14e)](_0x3eeefc);_0x4039d4!==-0x1&&(_0x3159b6=_0x4039d4);}return _0x40675f(_0x3bf66b,_0x3159b6,_0x4e6a88);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x40675f(_0xc21486,_0xe3594,_0x4fca44){var _0x5da028=_0x2e2cc1;for(var _0x41423b=[],_0x5108ea=0x0,_0x48274a=0x0;_0x48274a<_0xe3594;_0x48274a++)if(_0x48274a%0x4){var _0xd42211=_0x4fca44[_0xc21486[_0x5da028(0x168)](_0x48274a-0x1)]<<_0x48274a%0x4*0x2,_0x9ee90e=_0x4fca44[_0xc21486[_0x5da028(0x168)](_0x48274a)]>>>0x6-_0x48274a%0x4*0x2,_0x8a165d=_0xd42211|_0x9ee90e;_0x41423b[_0x5108ea>>>0x2]|=_0x8a165d<<0x18-_0x5108ea%0x4*0x8,_0x5108ea++;}return _0x425012[_0x5da028(0x335)](_0x41423b,_0x5108ea);}}()),_0x28e9c9[_0xc32145(0x2d5)]['Base64'];}));}(We)),We[_0x22a170(0x33f)];}var Ye={'exports':{}},hn=Ye['exports'],Jt;function ln(){return Jt||(Jt=0x1,function(_0x420e04,_0x58aa3d){(function(_0x17d6a4,_0x38ece9){_0x420e04['exports']=_0x38ece9(ie());}(hn,function(_0x11d7ed){var _0x1782eb=_0xf06a;return function(_0x96643c){var _0x534655=_0xf06a,_0x529dfc=_0x11d7ed,_0x1f4050=_0x529dfc[_0x534655(0x321)],_0x52c6c6=_0x1f4050[_0x534655(0x3d2)],_0x8b5770=_0x1f4050[_0x534655(0x29e)],_0x4b161e=_0x529dfc[_0x534655(0x40e)],_0x5e7e95=[];(function(){var _0xfbbe8e=_0x534655;for(var _0x4b2ce8=0x0;_0x4b2ce8<0x40;_0x4b2ce8++)_0x5e7e95[_0x4b2ce8]=_0x96643c[_0xfbbe8e(0x195)](_0x96643c[_0xfbbe8e(0x230)](_0x4b2ce8+0x1))*0x100000000|0x0;}());var _0x2fa276=_0x4b161e[_0x534655(0x40f)]=_0x8b5770[_0x534655(0x1b3)]({'_doReset':function(){var _0x10aa62=_0x534655;this[_0x10aa62(0x1b2)]=new _0x52c6c6['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x47eaf9,_0x32c901){var _0x43dfa7=_0x534655;for(var _0x1b7fb3=0x0;_0x1b7fb3<0x10;_0x1b7fb3++){var _0x293189=_0x32c901+_0x1b7fb3,_0x4a9a41=_0x47eaf9[_0x293189];_0x47eaf9[_0x293189]=(_0x4a9a41<<0x8|_0x4a9a41>>>0x18)&0xff00ff|(_0x4a9a41<<0x18|_0x4a9a41>>>0x8)&0xff00ff00;}var _0x14a46e=this[_0x43dfa7(0x1b2)][_0x43dfa7(0x341)],_0x49d0f5=_0x47eaf9[_0x32c901+0x0],_0x2ba19c=_0x47eaf9[_0x32c901+0x1],_0x447e3a=_0x47eaf9[_0x32c901+0x2],_0x8ca06d=_0x47eaf9[_0x32c901+0x3],_0x4ab08b=_0x47eaf9[_0x32c901+0x4],_0x52524e=_0x47eaf9[_0x32c901+0x5],_0x3bbf7b=_0x47eaf9[_0x32c901+0x6],_0x2d5410=_0x47eaf9[_0x32c901+0x7],_0x47bfdd=_0x47eaf9[_0x32c901+0x8],_0x192292=_0x47eaf9[_0x32c901+0x9],_0xb0bf5a=_0x47eaf9[_0x32c901+0xa],_0x36fc1d=_0x47eaf9[_0x32c901+0xb],_0xa53fcd=_0x47eaf9[_0x32c901+0xc],_0x34ed27=_0x47eaf9[_0x32c901+0xd],_0xdb1e8e=_0x47eaf9[_0x32c901+0xe],_0x55e62f=_0x47eaf9[_0x32c901+0xf],_0x4b65c7=_0x14a46e[0x0],_0x9fcb8f=_0x14a46e[0x1],_0x356e22=_0x14a46e[0x2],_0xda64e9=_0x14a46e[0x3];_0x4b65c7=_0x96dbe9(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x49d0f5,0x7,_0x5e7e95[0x0]),_0xda64e9=_0x96dbe9(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x2ba19c,0xc,_0x5e7e95[0x1]),_0x356e22=_0x96dbe9(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x447e3a,0x11,_0x5e7e95[0x2]),_0x9fcb8f=_0x96dbe9(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x8ca06d,0x16,_0x5e7e95[0x3]),_0x4b65c7=_0x96dbe9(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x4ab08b,0x7,_0x5e7e95[0x4]),_0xda64e9=_0x96dbe9(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x52524e,0xc,_0x5e7e95[0x5]),_0x356e22=_0x96dbe9(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x3bbf7b,0x11,_0x5e7e95[0x6]),_0x9fcb8f=_0x96dbe9(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x2d5410,0x16,_0x5e7e95[0x7]),_0x4b65c7=_0x96dbe9(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x47bfdd,0x7,_0x5e7e95[0x8]),_0xda64e9=_0x96dbe9(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x192292,0xc,_0x5e7e95[0x9]),_0x356e22=_0x96dbe9(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0xb0bf5a,0x11,_0x5e7e95[0xa]),_0x9fcb8f=_0x96dbe9(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x36fc1d,0x16,_0x5e7e95[0xb]),_0x4b65c7=_0x96dbe9(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0xa53fcd,0x7,_0x5e7e95[0xc]),_0xda64e9=_0x96dbe9(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x34ed27,0xc,_0x5e7e95[0xd]),_0x356e22=_0x96dbe9(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0xdb1e8e,0x11,_0x5e7e95[0xe]),_0x9fcb8f=_0x96dbe9(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x55e62f,0x16,_0x5e7e95[0xf]),_0x4b65c7=_0x291715(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x2ba19c,0x5,_0x5e7e95[0x10]),_0xda64e9=_0x291715(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x3bbf7b,0x9,_0x5e7e95[0x11]),_0x356e22=_0x291715(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x36fc1d,0xe,_0x5e7e95[0x12]),_0x9fcb8f=_0x291715(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x49d0f5,0x14,_0x5e7e95[0x13]),_0x4b65c7=_0x291715(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x52524e,0x5,_0x5e7e95[0x14]),_0xda64e9=_0x291715(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0xb0bf5a,0x9,_0x5e7e95[0x15]),_0x356e22=_0x291715(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x55e62f,0xe,_0x5e7e95[0x16]),_0x9fcb8f=_0x291715(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x4ab08b,0x14,_0x5e7e95[0x17]),_0x4b65c7=_0x291715(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x192292,0x5,_0x5e7e95[0x18]),_0xda64e9=_0x291715(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0xdb1e8e,0x9,_0x5e7e95[0x19]),_0x356e22=_0x291715(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x8ca06d,0xe,_0x5e7e95[0x1a]),_0x9fcb8f=_0x291715(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x47bfdd,0x14,_0x5e7e95[0x1b]),_0x4b65c7=_0x291715(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x34ed27,0x5,_0x5e7e95[0x1c]),_0xda64e9=_0x291715(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x447e3a,0x9,_0x5e7e95[0x1d]),_0x356e22=_0x291715(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x2d5410,0xe,_0x5e7e95[0x1e]),_0x9fcb8f=_0x291715(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0xa53fcd,0x14,_0x5e7e95[0x1f]),_0x4b65c7=_0x2739c4(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x52524e,0x4,_0x5e7e95[0x20]),_0xda64e9=_0x2739c4(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x47bfdd,0xb,_0x5e7e95[0x21]),_0x356e22=_0x2739c4(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x36fc1d,0x10,_0x5e7e95[0x22]),_0x9fcb8f=_0x2739c4(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0xdb1e8e,0x17,_0x5e7e95[0x23]),_0x4b65c7=_0x2739c4(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x2ba19c,0x4,_0x5e7e95[0x24]),_0xda64e9=_0x2739c4(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x4ab08b,0xb,_0x5e7e95[0x25]),_0x356e22=_0x2739c4(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x2d5410,0x10,_0x5e7e95[0x26]),_0x9fcb8f=_0x2739c4(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0xb0bf5a,0x17,_0x5e7e95[0x27]),_0x4b65c7=_0x2739c4(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x34ed27,0x4,_0x5e7e95[0x28]),_0xda64e9=_0x2739c4(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x49d0f5,0xb,_0x5e7e95[0x29]),_0x356e22=_0x2739c4(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x8ca06d,0x10,_0x5e7e95[0x2a]),_0x9fcb8f=_0x2739c4(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x3bbf7b,0x17,_0x5e7e95[0x2b]),_0x4b65c7=_0x2739c4(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x192292,0x4,_0x5e7e95[0x2c]),_0xda64e9=_0x2739c4(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0xa53fcd,0xb,_0x5e7e95[0x2d]),_0x356e22=_0x2739c4(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x55e62f,0x10,_0x5e7e95[0x2e]),_0x9fcb8f=_0x2739c4(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x447e3a,0x17,_0x5e7e95[0x2f]),_0x4b65c7=_0x294caf(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x49d0f5,0x6,_0x5e7e95[0x30]),_0xda64e9=_0x294caf(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x2d5410,0xa,_0x5e7e95[0x31]),_0x356e22=_0x294caf(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0xdb1e8e,0xf,_0x5e7e95[0x32]),_0x9fcb8f=_0x294caf(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x52524e,0x15,_0x5e7e95[0x33]),_0x4b65c7=_0x294caf(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0xa53fcd,0x6,_0x5e7e95[0x34]),_0xda64e9=_0x294caf(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x8ca06d,0xa,_0x5e7e95[0x35]),_0x356e22=_0x294caf(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0xb0bf5a,0xf,_0x5e7e95[0x36]),_0x9fcb8f=_0x294caf(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x2ba19c,0x15,_0x5e7e95[0x37]),_0x4b65c7=_0x294caf(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x47bfdd,0x6,_0x5e7e95[0x38]),_0xda64e9=_0x294caf(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x55e62f,0xa,_0x5e7e95[0x39]),_0x356e22=_0x294caf(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x3bbf7b,0xf,_0x5e7e95[0x3a]),_0x9fcb8f=_0x294caf(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x34ed27,0x15,_0x5e7e95[0x3b]),_0x4b65c7=_0x294caf(_0x4b65c7,_0x9fcb8f,_0x356e22,_0xda64e9,_0x4ab08b,0x6,_0x5e7e95[0x3c]),_0xda64e9=_0x294caf(_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x356e22,_0x36fc1d,0xa,_0x5e7e95[0x3d]),_0x356e22=_0x294caf(_0x356e22,_0xda64e9,_0x4b65c7,_0x9fcb8f,_0x447e3a,0xf,_0x5e7e95[0x3e]),_0x9fcb8f=_0x294caf(_0x9fcb8f,_0x356e22,_0xda64e9,_0x4b65c7,_0x192292,0x15,_0x5e7e95[0x3f]),_0x14a46e[0x0]=_0x14a46e[0x0]+_0x4b65c7|0x0,_0x14a46e[0x1]=_0x14a46e[0x1]+_0x9fcb8f|0x0,_0x14a46e[0x2]=_0x14a46e[0x2]+_0x356e22|0x0,_0x14a46e[0x3]=_0x14a46e[0x3]+_0xda64e9|0x0;},'_doFinalize':function(){var _0x2b6599=_0x534655,_0x5a8878=this['_data'],_0x549484=_0x5a8878[_0x2b6599(0x341)],_0x321fc0=this[_0x2b6599(0x28a)]*0x8,_0x4ebd09=_0x5a8878['sigBytes']*0x8;_0x549484[_0x4ebd09>>>0x5]|=0x80<<0x18-_0x4ebd09%0x20;var _0x24a222=_0x96643c['floor'](_0x321fc0/0x100000000),_0x2d4e79=_0x321fc0;_0x549484[(_0x4ebd09+0x40>>>0x9<<0x4)+0xf]=(_0x24a222<<0x8|_0x24a222>>>0x18)&0xff00ff|(_0x24a222<<0x18|_0x24a222>>>0x8)&0xff00ff00,_0x549484[(_0x4ebd09+0x40>>>0x9<<0x4)+0xe]=(_0x2d4e79<<0x8|_0x2d4e79>>>0x18)&0xff00ff|(_0x2d4e79<<0x18|_0x2d4e79>>>0x8)&0xff00ff00,_0x5a8878[_0x2b6599(0x11e)]=(_0x549484[_0x2b6599(0x1eb)]+0x1)*0x4,this[_0x2b6599(0x3d3)]();for(var _0x158c47=this['_hash'],_0x38d980=_0x158c47['words'],_0x58c05b=0x0;_0x58c05b<0x4;_0x58c05b++){var _0x3229dd=_0x38d980[_0x58c05b];_0x38d980[_0x58c05b]=(_0x3229dd<<0x8|_0x3229dd>>>0x18)&0xff00ff|(_0x3229dd<<0x18|_0x3229dd>>>0x8)&0xff00ff00;}return _0x158c47;},'clone':function(){var _0x5617d0=_0x534655,_0x3d0184=_0x8b5770[_0x5617d0(0x194)][_0x5617d0(0x3ca)](this);return _0x3d0184[_0x5617d0(0x1b2)]=this['_hash'][_0x5617d0(0x194)](),_0x3d0184;}});function _0x96dbe9(_0x4586a8,_0x330ffa,_0x1fb5a,_0x2d59c9,_0xa9dc4,_0x4bc621,_0x3df5f8){var _0x323f74=_0x4586a8+(_0x330ffa&_0x1fb5a|~_0x330ffa&_0x2d59c9)+_0xa9dc4+_0x3df5f8;return(_0x323f74<<_0x4bc621|_0x323f74>>>0x20-_0x4bc621)+_0x330ffa;}function _0x291715(_0x22aa86,_0x3afcac,_0x21b3a9,_0x5279be,_0x49801b,_0x3b1e08,_0x376e5a){var _0x25f8d0=_0x22aa86+(_0x3afcac&_0x5279be|_0x21b3a9&~_0x5279be)+_0x49801b+_0x376e5a;return(_0x25f8d0<<_0x3b1e08|_0x25f8d0>>>0x20-_0x3b1e08)+_0x3afcac;}function _0x2739c4(_0x2f6544,_0x30dd30,_0x207c8e,_0xa78df6,_0x17d263,_0xb43d4b,_0x3c0a4){var _0x5df064=_0x2f6544+(_0x30dd30^_0x207c8e^_0xa78df6)+_0x17d263+_0x3c0a4;return(_0x5df064<<_0xb43d4b|_0x5df064>>>0x20-_0xb43d4b)+_0x30dd30;}function _0x294caf(_0x14752f,_0x2481d8,_0x298e7d,_0x58b59b,_0x3f3550,_0x441ee7,_0x2c83a7){var _0x22b6b3=_0x14752f+(_0x298e7d^(_0x2481d8|~_0x58b59b))+_0x3f3550+_0x2c83a7;return(_0x22b6b3<<_0x441ee7|_0x22b6b3>>>0x20-_0x441ee7)+_0x2481d8;}_0x529dfc['MD5']=_0x8b5770[_0x534655(0x218)](_0x2fa276),_0x529dfc['HmacMD5']=_0x8b5770[_0x534655(0x167)](_0x2fa276);}(Math),_0x11d7ed[_0x1782eb(0x40f)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xd75253(0x33f)],Xt;function dn(){var _0xdee46b=_0xd75253;return Xt||(Xt=0x1,function(_0x598cfc,_0x128021){(function(_0x55e129,_0x32a090){var _0xd53391=_0xf06a;_0x598cfc[_0xd53391(0x33f)]=_0x32a090(ie());}(un,function(_0x5f528b){var _0x2552aa=_0xf06a;return(function(){var _0xa18f78=_0xf06a,_0x2386a5=_0x5f528b,_0x5d1db9=_0x2386a5['lib'],_0x45723d=_0x5d1db9[_0xa18f78(0x3d2)],_0x349cd9=_0x5d1db9[_0xa18f78(0x29e)],_0x33de7e=_0x2386a5['algo'],_0x2f83d7=[],_0x296663=_0x33de7e[_0xa18f78(0x365)]=_0x349cd9[_0xa18f78(0x1b3)]({'_doReset':function(){var _0x472dba=_0xa18f78;this[_0x472dba(0x1b2)]=new _0x45723d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3863a8,_0x41aa5e){var _0xa78cd6=_0xa18f78;for(var _0x2c8268=this[_0xa78cd6(0x1b2)][_0xa78cd6(0x341)],_0x12a215=_0x2c8268[0x0],_0x32fde6=_0x2c8268[0x1],_0x4da06b=_0x2c8268[0x2],_0x44e9b9=_0x2c8268[0x3],_0x2a3cac=_0x2c8268[0x4],_0x45b960=0x0;_0x45b960<0x50;_0x45b960++){if(_0x45b960<0x10)_0x2f83d7[_0x45b960]=_0x3863a8[_0x41aa5e+_0x45b960]|0x0;else{var _0x21a040=_0x2f83d7[_0x45b960-0x3]^_0x2f83d7[_0x45b960-0x8]^_0x2f83d7[_0x45b960-0xe]^_0x2f83d7[_0x45b960-0x10];_0x2f83d7[_0x45b960]=_0x21a040<<0x1|_0x21a040>>>0x1f;}var _0x24e7da=(_0x12a215<<0x5|_0x12a215>>>0x1b)+_0x2a3cac+_0x2f83d7[_0x45b960];_0x45b960<0x14?_0x24e7da+=(_0x32fde6&_0x4da06b|~_0x32fde6&_0x44e9b9)+0x5a827999:_0x45b960<0x28?_0x24e7da+=(_0x32fde6^_0x4da06b^_0x44e9b9)+0x6ed9eba1:_0x45b960<0x3c?_0x24e7da+=(_0x32fde6&_0x4da06b|_0x32fde6&_0x44e9b9|_0x4da06b&_0x44e9b9)-0x70e44324:_0x24e7da+=(_0x32fde6^_0x4da06b^_0x44e9b9)-0x359d3e2a,_0x2a3cac=_0x44e9b9,_0x44e9b9=_0x4da06b,_0x4da06b=_0x32fde6<<0x1e|_0x32fde6>>>0x2,_0x32fde6=_0x12a215,_0x12a215=_0x24e7da;}_0x2c8268[0x0]=_0x2c8268[0x0]+_0x12a215|0x0,_0x2c8268[0x1]=_0x2c8268[0x1]+_0x32fde6|0x0,_0x2c8268[0x2]=_0x2c8268[0x2]+_0x4da06b|0x0,_0x2c8268[0x3]=_0x2c8268[0x3]+_0x44e9b9|0x0,_0x2c8268[0x4]=_0x2c8268[0x4]+_0x2a3cac|0x0;},'_doFinalize':function(){var _0x34a11a=_0xa18f78,_0x4655f4=this[_0x34a11a(0x39e)],_0x278d8f=_0x4655f4['words'],_0x235556=this['_nDataBytes']*0x8,_0x5a40ca=_0x4655f4[_0x34a11a(0x11e)]*0x8;return _0x278d8f[_0x5a40ca>>>0x5]|=0x80<<0x18-_0x5a40ca%0x20,_0x278d8f[(_0x5a40ca+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x235556/0x100000000),_0x278d8f[(_0x5a40ca+0x40>>>0x9<<0x4)+0xf]=_0x235556,_0x4655f4[_0x34a11a(0x11e)]=_0x278d8f[_0x34a11a(0x1eb)]*0x4,this[_0x34a11a(0x3d3)](),this[_0x34a11a(0x1b2)];},'clone':function(){var _0x3ab304=_0xa18f78,_0x2627e7=_0x349cd9[_0x3ab304(0x194)][_0x3ab304(0x3ca)](this);return _0x2627e7[_0x3ab304(0x1b2)]=this[_0x3ab304(0x1b2)][_0x3ab304(0x194)](),_0x2627e7;}});_0x2386a5['SHA1']=_0x349cd9['_createHelper'](_0x296663),_0x2386a5[_0xa18f78(0x366)]=_0x349cd9['_createHmacHelper'](_0x296663);}()),_0x5f528b[_0x2552aa(0x365)];}));}(qe)),qe[_0xdee46b(0x33f)];}var ze={'exports':{}},fn=ze[_0xd75253(0x33f)],Zt;function _0x2c28(){var _0x46f416=['registerHTTPInterceptor','REDEMPTION_CODE_FULLY_REDEEMED','USERS_ENTER','onStarting','_clearRedo','disposeWithMe','unit-cache-','LICENSE_EXPORT_SIZE_EXCEEDED','_snapshotService','concat','_revisionService','EvpKDF','getUnitType','_createInitialStateImpl','compute','snapshot','_logService','UPDATE_PERMISSION_OBJ','collaboration_new_changeset','enableCollaboration','deepClone','fetchThroughInterceptors','NoPadding','_scheduleCompleteTimestamp','WECHAT_HAS_BEEN_BOUND','cfg','_nDataBytes','image/bmp','uniscriptRunEvent','_userManagerService','LICENSE_IMPORT_SIZE_EXCEEDED','buffer','HEARTBEAT_INTERVAL','body','UserProfileImg','&assign=','UNRECOGNIZED','localeService','initWorkbookPermissionChange','substr','onTransformRemoteChangesetByStateCache','_getSendChangesetTimeout','subUnitId','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','[UniverCollaborationClientPlugin]','Utf8','Hasher','apply','_unitInfo$','LOGIN_TOKEN_PROCESSING_FAILED','authzUrl','[CollaborationSession]','LIVESHARE_TERMINATE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','roles','interceptor','byteLength','encryptBlock','POST','?size=','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_DISTRO_REJECTED','sid','UNIVER_DOC','YUUMI_NO_CUBOID_FOR_QUESTION','_sendHeartbeatTimer','ENTITLE_CHAT_LIMIT_EXCEED','_doCreateSocket','objectID','finalize','decryptBlock','_socketMessageSubscription','_invKeySchedule','INVALID_INVITE_CODE','\x20in\x20_schedule.','localCacheService','loadSheet','JOIN_ROOM_FULL','conflict','_oKey','YUUMI_URL_COL_OUT_OF_RANGE','getImageSourceCache','_clearLocalCache','_executeRemoteChangeset','_compressMutationService','_collaborationSessionService','OPTIONAL','capture','collaborators','/unit/','Latin1','_permissionService','deleteCollaborator','CHANGESET_REJ','_tryEnsureSocket','USER_IS_ANONYMOUS','SNAPSHOT_HAS_BEEN_REMOVED','transformChangesets','pad','executeCommand','Univer','enc','APPLY_PERMISSION_DENIED','onTransformRemoteChangesetByIMECache','onload','isPermissionRej','ciphertext','Decryptor','copyFileMeta','_onLocalMutation','JOIN_ROOM_FAILED','_initMergeInterceptor','fetch_missing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNKNOWN_CMD','_ENC_XFORM_MODE','auth.needGotoLoginAlert','encodeURIComponent','_prevBlock','ERROR_AGAIN','SYNCED','saveImage','_iv','compose','incrementRevOfUnit','__creator','_collaborationUIEventService','REDEMPTION_USER_REDEEM_TIMES_EXCEED','NOT_FOUND','536694SLffNi','leaveEvent','COMPLETION_FINISHED','_cipher','_initRequestHeader','_timeoutTimer','_disableEditing','delete','defineProperty','filter','_univerInstanceService','_iKey','entries','REDEMPTION_CODE_INACTIVE','ivSize','_telemetryInfo','FileId','LOGIN_FAILED','_onMessage','encode','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','allowed','_change$','_httpService','_remoteChangesetQueue','entityInit$','href','onCommandExecuted','_HTTPService','focused$','LIVESHARE_NEW_HOST','mutations','charAt','get','error$','splice','_handlerCallback','forEach','_candidateSocket','enableSingleActiveInstanceLock','onTransformIME','ENTITLE_DUP_SUBSCRIPTION','getCollabEntity$','SNAPSHOT_INVALID_SNAPSHOT','awaiting_with_pending','send','requestParams','lib','image/jpeg','parse','3153356CKQatg','status$','joinRsp','fetchMiss','socketService','action','ERROR_IMAGE','PasswordBasedCipher','setWaitCount','_unitID','isArray','UNDEFINED','_snapshotServerService','getInterceptPoints','file','2692976UIJUhp','_rescheduleHeartbeat','create','_isPermissionRej','getSheetBlock','univer-pro.collaboration-client.single-active-unit-service','_transformStack','appendMutation','headers','getTypeOfUnitAdded$','CONNECTOR_DATA_TOO_LARGE','FAIL','exports','range','words','session.room-not-exists','_instanceService','change$','confirm','_parse','MOBILE_VERIFY_CODE_MISMATCH','[CollaborationEntity]','socket$','LICENSE_MAX_UNITS_EXCEEDED','INVALID_ARGUMENT','permissionRejEvent','m2Prime','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','failed\x20to\x20apply\x20missed\x20changesets!','_exhaustRemoteChangesetQueue','onLocalMutation','roomInfos','onStateChange','getResourcesRequest','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','setConfig','floor','SUBMIT_CHANGESET','_keySchedule','REDEMPTION_CODE_NOT_STARTED','collabSubmitChangesetUrl','GLOBAL_ROOMS_CNT_EXCEEDS','/universer-api/snapshot/','url','blockSize','asObservable','INTERNAL_ERROR','{fileID}','_pendingMutations','SHA1','HmacSHA1','/universer-api/uniscript','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_onRemoteRejected','_getCurrentRevision','add','baseRev','open$','createInstance','_resendTimeout','_toggleOffline','salt','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','updatePermissionPoint','[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.','_entities','UNIVER_SHEET','PERSON','_transformRemoteChangesetByIMECache','connection\x20error','textRanges','RECV','_injector','session','NO_OTHER_CLIENTS_EDITING','init','reset','HEARTBEAT_TIMEOUT','size','randomBytes','onMissedChangesetFetched','_changesetReqId','pending','_sessionStatus$','_socketReady','_startTelemetryCollaborationNewChangeset','fetching\x20missing\x20changesets\x20from\x20','OFFLINE','6679315LBFXyP','onMissingChangesets','Undefined','Cipher','CURRENT_STATUS_CANNOT_OPERATE','_waitForHeartbeatResponse','_entityInit$','\x20-\x20','mixIn','map','override','HELLO','_configService','_transformService','location','toggleOnline','_throwTelemetryCollaborationNewChangeset','refreshPermission','_data','APPLY_NON_SEQUENTIAL_REVISION','emitEvent','padding','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','stringify','_memberService','__esModule','PAYMENT_CHANNEL_NOT_SUPPORT','subject','c1Prime','_changesetSessionId','listRoles','reconnect','createDecryptor','OTHER_CLIENTS_EDITING','_collaborationTimeoutTimer','_waitCount','_getLoginPath','withCredentials','\x0aCurrent:\x20','/rev/','actions','_onConflict','_sender','not_collab','catch','saveSheetBlock','[CollaborationUndoRedoService]','join','CLOSE_ROOM','_sessions','getCurrentRevOfUnit','/role','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','249478OLCtsx','getTypeOfUnitDisposed$','collabWebSocketUrl','USERS_LEAVE','unitID','transformSelections','/-/object/-/batch_allowed','clear','call','DEFAULT_FILE_NAME','enableAuthServer','keySize','ceil','fromCharCode','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createHandler','WordArray','_process','UPDATE_CURSOR','getMember','updateCollaborator','onCommentUpdate','_acknowledgedAwaitingChangeset','online$','_replayCachedMutations','iterations','disableLocalCache','Failed\x20to\x20update\x20permission\x20point','SNAPSHOT_URL_KEY','message$','_listenToNetworkCondition','mode','_socket','UNISCRIPT_RUN','userID','YUUMI_UNABLE_LOAD_URL','getActiveSheet','reqId','_getAPIPrefixPath','UNAUTHENTICATED','_members$','csShouldRetryEvent','getUnitStatus$','csAckEvent','_event$','SHOULD_CLOSE_CONN','transformUndoRedo','resend','onRemoteChangeset','Could\x20not\x20dynamically\x20require\x20\x22','eventID','HttpExport','default','_queuedRemoteChangesets','updateMember','[DataLoaderService]','CHANGESET_SHOULD_RETRY','push','NEW_CHANGESETS','selections','socket\x20close','_undoRedoService','_substituteUndoStack','updateOfflineData','_socket$','_stopTelemetryCollaborationNewChangeset','getOwnPropertyDescriptor','_sendHeartbeat','SUCCUSS','_onRemoteACK','unitId','_commentUpdate$','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','avatar','loadOfflineData','_state','algo','MD5','HEARTBEAT','_clearCollaborationTimeoutTimer','onRemoteRej','_schedule','_onRemoteRetry','_initUnitPermissionChange','result','/object/','values','$super','transformMutationsWithChangeset','_getUndoStack','_startCollaboration','Encryptor','5266350fhXouC','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','session.room-permission-denied','closeSession','close','_lockTransition','[CollaborationSessionService]','INVITE_CODE_REQUIRED','/allowed','_createSocket','_roomMembers','_clearRetryConnectingTimer','members','_init','_networkConditionService','readyForCollab','SOCKET_FAILED_RETRY','/resources','sigBytes','PERMISSION_REJ','_doFinalize','BASE64','offline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_keyPriorReset','/block/','CBC','collaMsg','now','OTHER_CLIENT_EDITING','memberID','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','execute','28uRwZPP','readAsDataURL','MUTATION','msCrypto','function','includes','responseType','params','close$','state','/universer-api/file/{fileID}/sign-url','post','[OfflineState]:\x20received\x20rejection.','RETRY_CONNECTING_MAX_COUNT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loginUrlKey','createCollaborator','HttpImport','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','waitForRoom$','_tryReconnect','TOO_MANY_REQUESTS','UnitSnapshot','_mode','getCurrentSelections','/-/object/list','_unlockTransition','cmd','liveShareNewHost','originalMeta','processBlock','code','batchAllowed','indexOf','reject','getCollabEntity','pipe','resolve','/collaborator','complete','_transformStateCache','state$','LIVESHARE_FETCH_OPERATIONS','changesets','_scheduleCollaborationTimeoutTimer','getRandomValues','hostname','COMMENT_UPDATE','COMPRESS_MUTATION_APPLY','_transformSelections','debug','_getSignURL','members$','_shouldReportTelemetry','OpenSSL','_key','getSnapshotAPIPath','JOINING','_createHmacHelper','charCodeAt','readInt32LE','dispose','_toggleOnline','_clearHeartbeatTimer','JOIN','objects','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','reduce','JOIN_ROOM_PERMISSION_DENIED','random','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_applyRemoteChangeset','patch','image/png','unknown','next','onSyncEditingCollabCursor','JOIN_ROOM_NOT_EXISTS','routeKey','collaboratorID','Base','UUID','LIVESHARE_OPERATION','collaboration-client.config','name','_updateStatus','getRoom','prototype','ERROR_IMAGE_TYPE','image/jpg','repeat','getFocusedUnit','Hex','_clearScheduledTask','_transformUndoredo','INVITE_CODE_ALREADY_BOUND','SUBMIT_CHANGESET_TIMEOUT','Base64','/fetchmissing?from=','_minBufferSize','_transformRemoteChangesetByStateCache','fetchMissingChangesets','onTransformState','clone','abs','byteOffset','_onRemoteChangeset','hasher','_config','stopTime','_onConnectionOpen','awaiting','MOBILE_HAS_BEEN_BOUND','YUUMI_AI_RUN_FAILED','type','AUTHORIZE_CODE_ILLEGAL','_emitMembers','onRemoteAck','awaitingChangeset','BlockCipherMode','onTransformSelections','_clearTimeoutTimer','getUnitId','min','FETCH_MISS','AES','\x0aAfter:\x20','_syncEditingCollabCursor','unitId\x20is\x20not\x20found','uploadFileServerUrl','\x20to\x20','BufferedBlockAlgorithm','_onFetchMissResult','_hash','extend','CHANGESET_ACK','_joinRoom','updateCursorEvent','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','getTime','CipherParams','resourceIDs','NOT_COLLAB','MSG_FOR_ERROR','_submitChangeset','onSendChangeset','toString','[PendingState]:\x20received\x20rejection.','[SyncedState]:\x20received\x20rejection.','_eventService','c2Prime','_getUploadFileURL','enableOfflineEditing','snapshotServerUrl','every','onRemoteRetry','addImageSourceCache','_commentService','createEncryptor','UNIVER_SLIDE','target','YUUMI_CONNECTOR_URL_NOT_FOUND','EMAIL_HAS_BEEN_BOUND','format','revision','clamp','updatePermissionObjEvent','replace','requireSession','APPLY_REVISION_CONFILICT','_map','/universer-api/snapshot','pauseCollaboration','hasOwnProperty','unpad','_roomCreated$','PY_RUNTIME_SCRIPT_ERROR','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_doReset','PSEUDO_FETCH_MISSING_RESULT','commentUpdate$','CONFLICT','getMemberID','439033GjrRbH','UNKNOWN_CODE','LIVESHARE_REQUEST_HOST','SOCKET_FAILED','_updateLocalCache','ALREADY_EXISTS','length','slice','toggleOffline','HMAC','UNIVER_COLLABORATION_CLIENT_PLUGIN','submit\x20changeset\x20error!','crypto','ENSURE_SNAPSHOT_EXECUTION','_onOffline','collaboration-client.local-cache-service','getAllMembers','objectType','setCurrentUser','_nRounds','startTime','_resendTimer','_resendWithTimeout','_clearUndo','event$','_state$','list','src','_members','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrentUser','_getRedoStack','getConfig','/object','_localCacheService','max','EMAIL_VERIFY_CODE_MISMATCH','set','_append','21LkwiMU','sheets','CHANGESET_REVISION_CONFILICT','shouldCloseConn','[SyncedState]:\x20received\x20acknowledgement.','getImage','_retryConnectingTimer','_telemetryService','_imageSourceCache','decrypt','Pkcs7','FETCH_MISSING','_createHelper','_hasher','_onConnectionFailed','fromCollab','_transitionLocked','_sendingTimer','data','ClipsheetFragments','unitInfo$','_updateState','INGEST','encrypt','put','APPLY_DUPLICATED','USER_NOT_FOUND','_decreaseWaiting','loadUnitOfRevision','_getAPIPrefix','status','_removeRoom','_singleActiveUnitService','UnitEmbedded','getUnit','_status$','sin','string','transformStack\x20failed!','_retryCount','subscribe','_replaceFileID','_registerDependencies','APPLY_REJECT','error','synced','LEAVE','_checkMissing','retryConnectingInterval','_localeService','AWAITING','_getCtorByUniverType','BlockCipher','REDEMPTION_CODE_HAS_BEEN_CREATED','session.join-failed','has','dispose$','_awaitingChangeset','INVITE_CODE_HAS_BEEN_UES','createSocket','_substituteRedoStack','_incrementRevisionNumber','People','_getDownloadEndpointURL','getUnitOnRev','/universer-api/authz','_type','append','_onRecvEvent','saveChangeset','_showConflictNotification','joinEvent','COMPRESS_MUTATION_SEND','downloadEndpointUrl','_transformIMECache','update','unsubscribe','_handler','setShowComponents','ONLINE','_collabSessionService','_reverseMap','ENTITLE_REPORT_LIMIT_EXCEED','getDeserializedSheetBlock','kdf','PERMISSION_DENIED','_xformMode','&to=','_commandService','x-univer-host','_onUserJoin','_onCombEvent','REDEMPTION_USER_NOT_ELIGIBLE','_collaborationPaused','symbol','_initDependencies','removeMember','IDLE','equals','find'];_0x2c28=function(){return _0x46f416;};return _0x2c28();}function vn(){return Zt||(Zt=0x1,function(_0x5bbe03,_0x4b7aa1){(function(_0x4bea4c,_0x310450){var _0x1d1e15=_0xf06a;_0x5bbe03[_0x1d1e15(0x33f)]=_0x310450(ie());}(fn,function(_0x277e7e){(function(){var _0x5654c3=_0xf06a,_0x4fc667=_0x277e7e,_0x1b7330=_0x4fc667[_0x5654c3(0x321)],_0x1189a6=_0x1b7330[_0x5654c3(0x17d)],_0x2b169c=_0x4fc667[_0x5654c3(0x2d5)],_0x583dbf=_0x2b169c[_0x5654c3(0x29d)],_0x3bb6a5=_0x4fc667[_0x5654c3(0x40e)];_0x3bb6a5[_0x5654c3(0x1ee)]=_0x1189a6[_0x5654c3(0x1b3)]({'init':function(_0x2fed36,_0x581e6c){var _0x520593=_0x5654c3;_0x2fed36=this[_0x520593(0x219)]=new _0x2fed36[(_0x520593(0x37f))](),typeof _0x581e6c=='string'&&(_0x581e6c=_0x583dbf['parse'](_0x581e6c));var _0x502597=_0x2fed36[_0x520593(0x360)],_0x3f308f=_0x502597*0x4;_0x581e6c[_0x520593(0x11e)]>_0x3f308f&&(_0x581e6c=_0x2fed36['finalize'](_0x581e6c)),_0x581e6c[_0x520593(0x1d3)]();for(var _0x52187d=this[_0x520593(0x2bf)]=_0x581e6c['clone'](),_0x316474=this[_0x520593(0x2fc)]=_0x581e6c[_0x520593(0x194)](),_0x419feb=_0x52187d[_0x520593(0x341)],_0x568188=_0x316474[_0x520593(0x341)],_0x13170f=0x0;_0x13170f<_0x502597;_0x13170f++)_0x419feb[_0x13170f]^=0x5c5c5c5c,_0x568188[_0x13170f]^=0x36363636;_0x52187d[_0x520593(0x11e)]=_0x316474[_0x520593(0x11e)]=_0x3f308f,this['reset']();},'reset':function(){var _0x5749a9=_0x5654c3,_0x18fb1e=this['_hasher'];_0x18fb1e['reset'](),_0x18fb1e['update'](this[_0x5749a9(0x2fc)]);},'update':function(_0x548721){return this['_hasher']['update'](_0x548721),this;},'finalize':function(_0x3ff748){var _0x566310=_0x5654c3,_0x51574d=this['_hasher'],_0x386e5a=_0x51574d[_0x566310(0x2b5)](_0x3ff748);_0x51574d[_0x566310(0x380)]();var _0x332b31=_0x51574d[_0x566310(0x2b5)](this[_0x566310(0x2bf)][_0x566310(0x194)]()[_0x566310(0x279)](_0x386e5a));return _0x332b31;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0xd75253(0x33f)],Qt;function Ci(){var _0x55a1dc=_0xd75253;return Qt||(Qt=0x1,function(_0x2c8ea3,_0x9e195a){(function(_0x1f383f,_0x519156,_0x2d7a00){_0x2c8ea3['exports']=_0x519156(ie(),dn(),vn());}(pn,function(_0x50c9d5){var _0x211e65=_0xf06a;return(function(){var _0x3cee76=_0xf06a,_0x125017=_0x50c9d5,_0x3cd002=_0x125017[_0x3cee76(0x321)],_0x5e7a51=_0x3cd002['Base'],_0x2c2cbc=_0x3cd002[_0x3cee76(0x3d2)],_0x58318f=_0x125017['algo'],_0x559e6d=_0x58318f[_0x3cee76(0x40f)],_0x5d0142=_0x58318f[_0x3cee76(0x27b)]=_0x5e7a51[_0x3cee76(0x1b3)]({'cfg':_0x5e7a51[_0x3cee76(0x1b3)]({'keySize':0x80/0x20,'hasher':_0x559e6d,'iterations':0x1}),'init':function(_0x49c21b){var _0x287320=_0x3cee76;this[_0x287320(0x289)]=this['cfg']['extend'](_0x49c21b);},'compute':function(_0x8c52fe,_0x4dde10){var _0x205c20=_0x3cee76;for(var _0x322e7f,_0x96603a=this[_0x205c20(0x289)],_0x9f8fc8=_0x96603a[_0x205c20(0x198)][_0x205c20(0x335)](),_0x30ea2d=_0x2c2cbc['create'](),_0x4ef9c4=_0x30ea2d[_0x205c20(0x341)],_0x6af097=_0x96603a['keySize'],_0xcdbc6d=_0x96603a[_0x205c20(0x3db)];_0x4ef9c4[_0x205c20(0x1eb)]<_0x6af097;){_0x322e7f&&_0x9f8fc8['update'](_0x322e7f),_0x322e7f=_0x9f8fc8[_0x205c20(0x257)](_0x8c52fe)[_0x205c20(0x2b5)](_0x4dde10),_0x9f8fc8[_0x205c20(0x380)]();for(var _0x3f9212=0x1;_0x3f9212<_0xcdbc6d;_0x3f9212++)_0x322e7f=_0x9f8fc8[_0x205c20(0x2b5)](_0x322e7f),_0x9f8fc8[_0x205c20(0x380)]();_0x30ea2d[_0x205c20(0x279)](_0x322e7f);}return _0x30ea2d['sigBytes']=_0x6af097*0x4,_0x30ea2d;}});_0x125017['EvpKDF']=function(_0x19ff7a,_0x3664e8,_0x49073e){return _0x5d0142['create'](_0x49073e)['compute'](_0x19ff7a,_0x3664e8);};}()),_0x50c9d5[_0x211e65(0x27b)];}));}(Ke)),Ke[_0x55a1dc(0x33f)];}var Je={'exports':{}},En=Je[_0xd75253(0x33f)],ei;function Ni(){var _0x33b40d=_0xd75253;return ei||(ei=0x1,function(_0x38ad3f,_0x1aece6){(function(_0x18137b,_0x545350,_0x4c12cb){var _0x35d021=_0xf06a;_0x38ad3f[_0x35d021(0x33f)]=_0x545350(ie(),Ci());}(En,function(_0x54689a){var _0x2e7d80=_0xf06a;_0x54689a[_0x2e7d80(0x321)]['Cipher']||function(_0x40c6db){var _0x5c3ae9=_0x2e7d80,_0x2b207f=_0x54689a,_0x3765f3=_0x2b207f[_0x5c3ae9(0x321)],_0x567805=_0x3765f3[_0x5c3ae9(0x17d)],_0x96d335=_0x3765f3[_0x5c3ae9(0x3d2)],_0x518f76=_0x3765f3[_0x5c3ae9(0x1b0)],_0x1768fb=_0x2b207f[_0x5c3ae9(0x2d5)];_0x1768fb['Utf8'];var _0x59bb20=_0x1768fb[_0x5c3ae9(0x18e)],_0x2b751f=_0x2b207f[_0x5c3ae9(0x40e)],_0x5a0dcd=_0x2b751f[_0x5c3ae9(0x27b)],_0x198223=_0x3765f3[_0x5c3ae9(0x38f)]=_0x518f76[_0x5c3ae9(0x1b3)]({'cfg':_0x567805['extend'](),'createEncryptor':function(_0x24afe2,_0x4a3b4d){var _0x36ee51=_0x5c3ae9;return this[_0x36ee51(0x335)](this['_ENC_XFORM_MODE'],_0x24afe2,_0x4a3b4d);},'createDecryptor':function(_0x1486a8,_0x555389){var _0x5677e8=_0x5c3ae9;return this[_0x5677e8(0x335)](this['_DEC_XFORM_MODE'],_0x1486a8,_0x555389);},'init':function(_0x9fadaa,_0x359d68,_0x36f4fd){var _0x170ab7=_0x5c3ae9;this[_0x170ab7(0x289)]=this[_0x170ab7(0x289)][_0x170ab7(0x1b3)](_0x36f4fd),this[_0x170ab7(0x262)]=_0x9fadaa,this[_0x170ab7(0x164)]=_0x359d68,this[_0x170ab7(0x380)]();},'reset':function(){var _0x3db95b=_0x5c3ae9;_0x518f76[_0x3db95b(0x380)][_0x3db95b(0x3ca)](this),this[_0x3db95b(0x1e0)]();},'process':function(_0x2ac9f8){var _0xe8b7ff=_0x5c3ae9;return this[_0xe8b7ff(0x20b)](_0x2ac9f8),this['_process']();},'finalize':function(_0x588fea){var _0x38f1a5=_0x5c3ae9;_0x588fea&&this[_0x38f1a5(0x20b)](_0x588fea);var _0xc45065=this[_0x38f1a5(0x120)]();return _0xc45065;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x338703(_0x7b712b){return typeof _0x7b712b=='string'?_0x21f1ac:_0x48ae63;}return function(_0x1bcd55){return{'encrypt':function(_0x5a6e29,_0x248c85,_0x18f6b6){var _0x26d128=_0xf06a;return _0x338703(_0x248c85)[_0x26d128(0x223)](_0x1bcd55,_0x5a6e29,_0x248c85,_0x18f6b6);},'decrypt':function(_0x43b119,_0xae494f,_0x30d0a7){var _0x2e869b=_0xf06a;return _0x338703(_0xae494f)[_0x2e869b(0x215)](_0x1bcd55,_0x43b119,_0xae494f,_0x30d0a7);}};};}())});_0x3765f3['StreamCipher']=_0x198223[_0x5c3ae9(0x1b3)]({'_doFinalize':function(){var _0x2e5d52=_0x5c3ae9,_0x20aa5f=this[_0x2e5d52(0x3d3)](!0x0);return _0x20aa5f;},'blockSize':0x1});var _0x2014f6=_0x2b207f[_0x5c3ae9(0x3e1)]={},_0x55a202=_0x3765f3[_0x5c3ae9(0x1a4)]=_0x567805[_0x5c3ae9(0x1b3)]({'createEncryptor':function(_0x3c6c08,_0x374e7b){var _0x4ff203=_0x5c3ae9;return this[_0x4ff203(0x10b)][_0x4ff203(0x335)](_0x3c6c08,_0x374e7b);},'createDecryptor':function(_0x524205,_0x48ff16){var _0x543682=_0x5c3ae9;return this['Decryptor'][_0x543682(0x335)](_0x524205,_0x48ff16);},'init':function(_0x54409d,_0x55270e){var _0x55dd5a=_0x5c3ae9;this[_0x55dd5a(0x2f4)]=_0x54409d,this[_0x55dd5a(0x2ea)]=_0x55270e;}}),_0xc42015=_0x2014f6[_0x5c3ae9(0x126)]=(function(){var _0x175617=_0x5c3ae9,_0x5260d4=_0x55a202[_0x175617(0x1b3)]();_0x5260d4[_0x175617(0x10b)]=_0x5260d4['extend']({'processBlock':function(_0x1ee734,_0x1558e8){var _0x307102=_0x175617,_0x491660=this['_cipher'],_0x581c27=_0x491660[_0x307102(0x360)];_0x42dafc['call'](this,_0x1ee734,_0x1558e8,_0x581c27),_0x491660[_0x307102(0x2a9)](_0x1ee734,_0x1558e8),this[_0x307102(0x2e6)]=_0x1ee734['slice'](_0x1558e8,_0x1558e8+_0x581c27);}}),_0x5260d4[_0x175617(0x2db)]=_0x5260d4[_0x175617(0x1b3)]({'processBlock':function(_0x55e284,_0x506216){var _0xe2f06=_0x175617,_0x50dde7=this[_0xe2f06(0x2f4)],_0x3a1d0f=_0x50dde7[_0xe2f06(0x360)],_0x5ea9bd=_0x55e284[_0xe2f06(0x1ec)](_0x506216,_0x506216+_0x3a1d0f);_0x50dde7[_0xe2f06(0x2b6)](_0x55e284,_0x506216),_0x42dafc[_0xe2f06(0x3ca)](this,_0x55e284,_0x506216,_0x3a1d0f),this['_prevBlock']=_0x5ea9bd;}});function _0x42dafc(_0x1a1779,_0x18732f,_0x5da9fb){var _0x30678a=_0x175617,_0x5ca86d,_0x6ea27a=this[_0x30678a(0x2ea)];_0x6ea27a?(_0x5ca86d=_0x6ea27a,this[_0x30678a(0x2ea)]=_0x40c6db):_0x5ca86d=this[_0x30678a(0x2e6)];for(var _0x5ba67d=0x0;_0x5ba67d<_0x5da9fb;_0x5ba67d++)_0x1a1779[_0x18732f+_0x5ba67d]^=_0x5ca86d[_0x5ba67d];}return _0x5260d4;}()),_0x4bb450=_0x2b207f[_0x5c3ae9(0x2d2)]={},_0x12dbaa=_0x4bb450[_0x5c3ae9(0x216)]={'pad':function(_0x4829e2,_0x4c9d54){var _0x4ac611=_0x5c3ae9;for(var _0x16a53c=_0x4c9d54*0x4,_0x59cc4b=_0x16a53c-_0x4829e2[_0x4ac611(0x11e)]%_0x16a53c,_0x45dc5e=_0x59cc4b<<0x18|_0x59cc4b<<0x10|_0x59cc4b<<0x8|_0x59cc4b,_0x5201ed=[],_0x351808=0x0;_0x351808<_0x59cc4b;_0x351808+=0x4)_0x5201ed[_0x4ac611(0x3fb)](_0x45dc5e);var _0xa8c293=_0x96d335['create'](_0x5201ed,_0x59cc4b);_0x4829e2[_0x4ac611(0x279)](_0xa8c293);},'unpad':function(_0x1221c3){var _0xa0fd74=_0x5c3ae9,_0x3610d0=_0x1221c3[_0xa0fd74(0x341)][_0x1221c3['sigBytes']-0x1>>>0x2]&0xff;_0x1221c3['sigBytes']-=_0x3610d0;}};_0x3765f3[_0x5c3ae9(0x240)]=_0x198223[_0x5c3ae9(0x1b3)]({'cfg':_0x198223[_0x5c3ae9(0x289)][_0x5c3ae9(0x1b3)]({'mode':_0xc42015,'padding':_0x12dbaa}),'reset':function(){var _0x300966=_0x5c3ae9,_0x21fc71;_0x198223[_0x300966(0x380)]['call'](this);var _0x56a61e=this['cfg'],_0x541317=_0x56a61e['iv'],_0x37cb8f=_0x56a61e[_0x300966(0x3e1)];this[_0x300966(0x262)]==this[_0x300966(0x2e3)]?_0x21fc71=_0x37cb8f[_0x300966(0x1cc)]:(_0x21fc71=_0x37cb8f[_0x300966(0x3ad)],this[_0x300966(0x190)]=0x1),this[_0x300966(0x144)]&&this[_0x300966(0x144)][_0x300966(0x2ed)]==_0x21fc71?this[_0x300966(0x144)][_0x300966(0x37f)](this,_0x541317&&_0x541317[_0x300966(0x341)]):(this[_0x300966(0x144)]=_0x21fc71[_0x300966(0x3ca)](_0x37cb8f,this,_0x541317&&_0x541317['words']),this[_0x300966(0x144)][_0x300966(0x2ed)]=_0x21fc71);},'_doProcessBlock':function(_0x1ffee2,_0x21a274){var _0x1e0e91=_0x5c3ae9;this[_0x1e0e91(0x144)][_0x1e0e91(0x14b)](_0x1ffee2,_0x21a274);},'_doFinalize':function(){var _0x101027=_0x5c3ae9,_0x5e8e53,_0x15cc9b=this[_0x101027(0x289)][_0x101027(0x3a1)];return this[_0x101027(0x262)]==this[_0x101027(0x2e3)]?(_0x15cc9b[_0x101027(0x2d2)](this['_data'],this[_0x101027(0x360)]),_0x5e8e53=this[_0x101027(0x3d3)](!0x0)):(_0x5e8e53=this[_0x101027(0x3d3)](!0x0),_0x15cc9b[_0x101027(0x1dc)](_0x5e8e53)),_0x5e8e53;},'blockSize':0x80/0x20});var _0x449ac7=_0x3765f3[_0x5c3ae9(0x1ba)]=_0x567805[_0x5c3ae9(0x1b3)]({'init':function(_0x18e052){var _0x71a24f=_0x5c3ae9;this[_0x71a24f(0x394)](_0x18e052);},'toString':function(_0x1c2eec){var _0x5e85e7=_0x5c3ae9;return(_0x1c2eec||this['formatter'])[_0x5e85e7(0x3a4)](this);}}),_0x1ad1e3=_0x2b207f[_0x5c3ae9(0x1d1)]={},_0x349add=_0x1ad1e3[_0x5c3ae9(0x163)]={'stringify':function(_0x578b7c){var _0x3719c5=_0x5c3ae9,_0x1975fa,_0x375f97=_0x578b7c[_0x3719c5(0x2da)],_0x548eb0=_0x578b7c[_0x3719c5(0x371)];return _0x548eb0?_0x1975fa=_0x96d335[_0x3719c5(0x335)]([0x53616c74,0x65645f5f])['concat'](_0x548eb0)[_0x3719c5(0x279)](_0x375f97):_0x1975fa=_0x375f97,_0x1975fa['toString'](_0x59bb20);},'parse':function(_0x3014fa){var _0x587fd8=_0x5c3ae9,_0x355a73,_0x596529=_0x59bb20[_0x587fd8(0x323)](_0x3014fa),_0x25ecd1=_0x596529[_0x587fd8(0x341)];return _0x25ecd1[0x0]==0x53616c74&&_0x25ecd1[0x1]==0x65645f5f&&(_0x355a73=_0x96d335[_0x587fd8(0x335)](_0x25ecd1[_0x587fd8(0x1ec)](0x2,0x4)),_0x25ecd1[_0x587fd8(0x315)](0x0,0x4),_0x596529['sigBytes']-=0x10),_0x449ac7[_0x587fd8(0x335)]({'ciphertext':_0x596529,'salt':_0x355a73});}},_0x48ae63=_0x3765f3['SerializableCipher']=_0x567805[_0x5c3ae9(0x1b3)]({'cfg':_0x567805['extend']({'format':_0x349add}),'encrypt':function(_0x4af977,_0x3a55e2,_0x38ab24,_0x238853){var _0x575c77=_0x5c3ae9;_0x238853=this[_0x575c77(0x289)][_0x575c77(0x1b3)](_0x238853);var _0x30aa53=_0x4af977[_0x575c77(0x1cc)](_0x38ab24,_0x238853),_0x4dcad4=_0x30aa53[_0x575c77(0x2b5)](_0x3a55e2),_0x200eda=_0x30aa53[_0x575c77(0x289)];return _0x449ac7[_0x575c77(0x335)]({'ciphertext':_0x4dcad4,'key':_0x38ab24,'iv':_0x200eda['iv'],'algorithm':_0x4af977,'mode':_0x200eda[_0x575c77(0x3e1)],'padding':_0x200eda[_0x575c77(0x3a1)],'blockSize':_0x4af977['blockSize'],'formatter':_0x238853[_0x575c77(0x1d1)]});},'decrypt':function(_0x10db67,_0x191adb,_0x30e74d,_0x2b6317){var _0x331fd9=_0x5c3ae9;_0x2b6317=this['cfg'][_0x331fd9(0x1b3)](_0x2b6317),_0x191adb=this['_parse'](_0x191adb,_0x2b6317[_0x331fd9(0x1d1)]);var _0x34ebd7=_0x10db67[_0x331fd9(0x3ad)](_0x30e74d,_0x2b6317)['finalize'](_0x191adb[_0x331fd9(0x2da)]);return _0x34ebd7;},'_parse':function(_0x195778,_0x269059){var _0x46bbba=_0x5c3ae9;return typeof _0x195778==_0x46bbba(0x231)?_0x269059['parse'](_0x195778,this):_0x195778;}}),_0x3444c1=_0x2b207f[_0x5c3ae9(0x260)]={},_0x4c436d=_0x3444c1[_0x5c3ae9(0x163)]={'execute':function(_0x158987,_0x378c40,_0x381f29,_0x5326fd,_0x153190){var _0x589e6e=_0x5c3ae9;if(_0x5326fd||(_0x5326fd=_0x96d335['random'](0x40/0x8)),_0x153190)var _0x36c6fa=_0x5a0dcd[_0x589e6e(0x335)]({'keySize':_0x378c40+_0x381f29,'hasher':_0x153190})[_0x589e6e(0x27e)](_0x158987,_0x5326fd);else var _0x36c6fa=_0x5a0dcd[_0x589e6e(0x335)]({'keySize':_0x378c40+_0x381f29})['compute'](_0x158987,_0x5326fd);var _0x2889e2=_0x96d335[_0x589e6e(0x335)](_0x36c6fa[_0x589e6e(0x341)]['slice'](_0x378c40),_0x381f29*0x4);return _0x36c6fa[_0x589e6e(0x11e)]=_0x378c40*0x4,_0x449ac7[_0x589e6e(0x335)]({'key':_0x36c6fa,'iv':_0x2889e2,'salt':_0x5326fd});}},_0x21f1ac=_0x3765f3[_0x5c3ae9(0x32b)]=_0x48ae63[_0x5c3ae9(0x1b3)]({'cfg':_0x48ae63[_0x5c3ae9(0x289)][_0x5c3ae9(0x1b3)]({'kdf':_0x4c436d}),'encrypt':function(_0x1165ac,_0x2a8aee,_0xcaaa1a,_0x4cac52){var _0x40e0b5=_0x5c3ae9;_0x4cac52=this[_0x40e0b5(0x289)][_0x40e0b5(0x1b3)](_0x4cac52);var _0x4f0b81=_0x4cac52[_0x40e0b5(0x260)]['execute'](_0xcaaa1a,_0x1165ac[_0x40e0b5(0x3cd)],_0x1165ac['ivSize'],_0x4cac52['salt'],_0x4cac52[_0x40e0b5(0x198)]);_0x4cac52['iv']=_0x4f0b81['iv'];var _0x5598d1=_0x48ae63[_0x40e0b5(0x223)][_0x40e0b5(0x3ca)](this,_0x1165ac,_0x2a8aee,_0x4f0b81['key'],_0x4cac52);return _0x5598d1['mixIn'](_0x4f0b81),_0x5598d1;},'decrypt':function(_0x3397b0,_0x27fc1b,_0x28ce1a,_0x560860){var _0x3ec07c=_0x5c3ae9;_0x560860=this['cfg']['extend'](_0x560860),_0x27fc1b=this[_0x3ec07c(0x346)](_0x27fc1b,_0x560860[_0x3ec07c(0x1d1)]);var _0x3b13b4=_0x560860[_0x3ec07c(0x260)][_0x3ec07c(0x12c)](_0x28ce1a,_0x3397b0[_0x3ec07c(0x3cd)],_0x3397b0[_0x3ec07c(0x2ff)],_0x27fc1b[_0x3ec07c(0x371)],_0x560860[_0x3ec07c(0x198)]);_0x560860['iv']=_0x3b13b4['iv'];var _0x15e0c8=_0x48ae63[_0x3ec07c(0x215)][_0x3ec07c(0x3ca)](this,_0x3397b0,_0x27fc1b,_0x3b13b4['key'],_0x560860);return _0x15e0c8;}});}();}));}(Je)),Je[_0x33b40d(0x33f)];}var mn=Ve[_0xd75253(0x33f)],ti;function In(){return ti||(ti=0x1,function(_0x5accc1,_0x2fdcea){(function(_0xcec49b,_0x1a381a,_0x5805c1){_0x5accc1['exports']=_0x1a381a(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x577028){var _0x5bd7ae=_0xf06a;return(function(){var _0x335a17=_0xf06a,_0x221dc2=_0x577028,_0x500f22=_0x221dc2[_0x335a17(0x321)],_0x86a156=_0x500f22[_0x335a17(0x240)],_0x3a5b17=_0x221dc2['algo'],_0x317af2=[],_0x284381=[],_0x1785c1=[],_0x5b3de2=[],_0x486f87=[],_0x54b6e8=[],_0xc87a60=[],_0x501392=[],_0x3bb718=[],_0x2fb3c0=[];(function(){for(var _0x4ba129=[],_0x29ae12=0x0;_0x29ae12<0x100;_0x29ae12++)_0x29ae12<0x80?_0x4ba129[_0x29ae12]=_0x29ae12<<0x1:_0x4ba129[_0x29ae12]=_0x29ae12<<0x1^0x11b;for(var _0x47016=0x0,_0x491712=0x0,_0x29ae12=0x0;_0x29ae12<0x100;_0x29ae12++){var _0x2e5658=_0x491712^_0x491712<<0x1^_0x491712<<0x2^_0x491712<<0x3^_0x491712<<0x4;_0x2e5658=_0x2e5658>>>0x8^_0x2e5658&0xff^0x63,_0x317af2[_0x47016]=_0x2e5658,_0x284381[_0x2e5658]=_0x47016;var _0x557228=_0x4ba129[_0x47016],_0x3fe9b3=_0x4ba129[_0x557228],_0x139a61=_0x4ba129[_0x3fe9b3],_0x3d8bf7=_0x4ba129[_0x2e5658]*0x101^_0x2e5658*0x1010100;_0x1785c1[_0x47016]=_0x3d8bf7<<0x18|_0x3d8bf7>>>0x8,_0x5b3de2[_0x47016]=_0x3d8bf7<<0x10|_0x3d8bf7>>>0x10,_0x486f87[_0x47016]=_0x3d8bf7<<0x8|_0x3d8bf7>>>0x18,_0x54b6e8[_0x47016]=_0x3d8bf7;var _0x3d8bf7=_0x139a61*0x1010101^_0x3fe9b3*0x10001^_0x557228*0x101^_0x47016*0x1010100;_0xc87a60[_0x2e5658]=_0x3d8bf7<<0x18|_0x3d8bf7>>>0x8,_0x501392[_0x2e5658]=_0x3d8bf7<<0x10|_0x3d8bf7>>>0x10,_0x3bb718[_0x2e5658]=_0x3d8bf7<<0x8|_0x3d8bf7>>>0x18,_0x2fb3c0[_0x2e5658]=_0x3d8bf7,_0x47016?(_0x47016=_0x557228^_0x4ba129[_0x4ba129[_0x4ba129[_0x139a61^_0x557228]]],_0x491712^=_0x4ba129[_0x4ba129[_0x491712]]):_0x47016=_0x491712=0x1;}}());var _0x18cffb=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2fe906=_0x3a5b17['AES']=_0x86a156[_0x335a17(0x1b3)]({'_doReset':function(){var _0x3ef6db=_0x335a17,_0x411673;if(!(this[_0x3ef6db(0x1f8)]&&this['_keyPriorReset']===this[_0x3ef6db(0x164)])){for(var _0x5d2902=this[_0x3ef6db(0x124)]=this['_key'],_0x11a885=_0x5d2902['words'],_0x102cfe=_0x5d2902[_0x3ef6db(0x11e)]/0x4,_0x2ae0a2=this[_0x3ef6db(0x1f8)]=_0x102cfe+0x6,_0x2ffd9a=(_0x2ae0a2+0x1)*0x4,_0x284f5f=this[_0x3ef6db(0x35a)]=[],_0x228a5d=0x0;_0x228a5d<_0x2ffd9a;_0x228a5d++)_0x228a5d<_0x102cfe?_0x284f5f[_0x228a5d]=_0x11a885[_0x228a5d]:(_0x411673=_0x284f5f[_0x228a5d-0x1],_0x228a5d%_0x102cfe?_0x102cfe>0x6&&_0x228a5d%_0x102cfe==0x4&&(_0x411673=_0x317af2[_0x411673>>>0x18]<<0x18|_0x317af2[_0x411673>>>0x10&0xff]<<0x10|_0x317af2[_0x411673>>>0x8&0xff]<<0x8|_0x317af2[_0x411673&0xff]):(_0x411673=_0x411673<<0x8|_0x411673>>>0x18,_0x411673=_0x317af2[_0x411673>>>0x18]<<0x18|_0x317af2[_0x411673>>>0x10&0xff]<<0x10|_0x317af2[_0x411673>>>0x8&0xff]<<0x8|_0x317af2[_0x411673&0xff],_0x411673^=_0x18cffb[_0x228a5d/_0x102cfe|0x0]<<0x18),_0x284f5f[_0x228a5d]=_0x284f5f[_0x228a5d-_0x102cfe]^_0x411673);for(var _0x4220b0=this['_invKeySchedule']=[],_0x14d4b9=0x0;_0x14d4b9<_0x2ffd9a;_0x14d4b9++){var _0x228a5d=_0x2ffd9a-_0x14d4b9;if(_0x14d4b9%0x4)var _0x411673=_0x284f5f[_0x228a5d];else var _0x411673=_0x284f5f[_0x228a5d-0x4];_0x14d4b9<0x4||_0x228a5d<=0x4?_0x4220b0[_0x14d4b9]=_0x411673:_0x4220b0[_0x14d4b9]=_0xc87a60[_0x317af2[_0x411673>>>0x18]]^_0x501392[_0x317af2[_0x411673>>>0x10&0xff]]^_0x3bb718[_0x317af2[_0x411673>>>0x8&0xff]]^_0x2fb3c0[_0x317af2[_0x411673&0xff]];}}},'encryptBlock':function(_0x520a56,_0x540d54){this['_doCryptBlock'](_0x520a56,_0x540d54,this['_keySchedule'],_0x1785c1,_0x5b3de2,_0x486f87,_0x54b6e8,_0x317af2);},'decryptBlock':function(_0x55d174,_0x46ebaf){var _0x12100a=_0x335a17,_0x2e1b91=_0x55d174[_0x46ebaf+0x1];_0x55d174[_0x46ebaf+0x1]=_0x55d174[_0x46ebaf+0x3],_0x55d174[_0x46ebaf+0x3]=_0x2e1b91,this['_doCryptBlock'](_0x55d174,_0x46ebaf,this[_0x12100a(0x2b8)],_0xc87a60,_0x501392,_0x3bb718,_0x2fb3c0,_0x284381);var _0x2e1b91=_0x55d174[_0x46ebaf+0x1];_0x55d174[_0x46ebaf+0x1]=_0x55d174[_0x46ebaf+0x3],_0x55d174[_0x46ebaf+0x3]=_0x2e1b91;},'_doCryptBlock':function(_0x4af24f,_0x542dfe,_0x4b0ac8,_0x2e2dd7,_0x2fb48b,_0x4daa70,_0x2e9b6f,_0xd81f98){for(var _0x2dadb4=this['_nRounds'],_0x24f744=_0x4af24f[_0x542dfe]^_0x4b0ac8[0x0],_0x5e59bf=_0x4af24f[_0x542dfe+0x1]^_0x4b0ac8[0x1],_0x2cb1ad=_0x4af24f[_0x542dfe+0x2]^_0x4b0ac8[0x2],_0x1f666e=_0x4af24f[_0x542dfe+0x3]^_0x4b0ac8[0x3],_0x2869fd=0x4,_0x1e5864=0x1;_0x1e5864<_0x2dadb4;_0x1e5864++){var _0x3c36a0=_0x2e2dd7[_0x24f744>>>0x18]^_0x2fb48b[_0x5e59bf>>>0x10&0xff]^_0x4daa70[_0x2cb1ad>>>0x8&0xff]^_0x2e9b6f[_0x1f666e&0xff]^_0x4b0ac8[_0x2869fd++],_0x2336af=_0x2e2dd7[_0x5e59bf>>>0x18]^_0x2fb48b[_0x2cb1ad>>>0x10&0xff]^_0x4daa70[_0x1f666e>>>0x8&0xff]^_0x2e9b6f[_0x24f744&0xff]^_0x4b0ac8[_0x2869fd++],_0x400729=_0x2e2dd7[_0x2cb1ad>>>0x18]^_0x2fb48b[_0x1f666e>>>0x10&0xff]^_0x4daa70[_0x24f744>>>0x8&0xff]^_0x2e9b6f[_0x5e59bf&0xff]^_0x4b0ac8[_0x2869fd++],_0x24cd9d=_0x2e2dd7[_0x1f666e>>>0x18]^_0x2fb48b[_0x24f744>>>0x10&0xff]^_0x4daa70[_0x5e59bf>>>0x8&0xff]^_0x2e9b6f[_0x2cb1ad&0xff]^_0x4b0ac8[_0x2869fd++];_0x24f744=_0x3c36a0,_0x5e59bf=_0x2336af,_0x2cb1ad=_0x400729,_0x1f666e=_0x24cd9d;}var _0x3c36a0=(_0xd81f98[_0x24f744>>>0x18]<<0x18|_0xd81f98[_0x5e59bf>>>0x10&0xff]<<0x10|_0xd81f98[_0x2cb1ad>>>0x8&0xff]<<0x8|_0xd81f98[_0x1f666e&0xff])^_0x4b0ac8[_0x2869fd++],_0x2336af=(_0xd81f98[_0x5e59bf>>>0x18]<<0x18|_0xd81f98[_0x2cb1ad>>>0x10&0xff]<<0x10|_0xd81f98[_0x1f666e>>>0x8&0xff]<<0x8|_0xd81f98[_0x24f744&0xff])^_0x4b0ac8[_0x2869fd++],_0x400729=(_0xd81f98[_0x2cb1ad>>>0x18]<<0x18|_0xd81f98[_0x1f666e>>>0x10&0xff]<<0x10|_0xd81f98[_0x24f744>>>0x8&0xff]<<0x8|_0xd81f98[_0x5e59bf&0xff])^_0x4b0ac8[_0x2869fd++],_0x24cd9d=(_0xd81f98[_0x1f666e>>>0x18]<<0x18|_0xd81f98[_0x24f744>>>0x10&0xff]<<0x10|_0xd81f98[_0x5e59bf>>>0x8&0xff]<<0x8|_0xd81f98[_0x2cb1ad&0xff])^_0x4b0ac8[_0x2869fd++];_0x4af24f[_0x542dfe]=_0x3c36a0,_0x4af24f[_0x542dfe+0x1]=_0x2336af,_0x4af24f[_0x542dfe+0x2]=_0x400729,_0x4af24f[_0x542dfe+0x3]=_0x24cd9d;},'keySize':0x100/0x20});_0x221dc2[_0x335a17(0x1aa)]=_0x86a156[_0x335a17(0x218)](_0x2fe906);}()),_0x577028[_0x5bd7ae(0x1aa)];}));}(Ve)),Ve['exports'];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0xd75253(0x33f)],si;function Rn(){var _0x1a438d=_0xd75253;return si||(si=0x1,function(_0x3ea876,_0x1d917b){(function(_0x5aaa95,_0x3a5069){_0x3ea876['exports']=_0x3a5069(ie());}(On,function(_0x5938a4){var _0x2c156b=_0xf06a;return _0x5938a4[_0x2c156b(0x2d5)]['Utf8'];}));}(Xe)),Xe[_0x1a438d(0x33f)];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0xd75253(0x33f)],ni;function Dn(){var _0x23aed8=_0xd75253;return ni||(ni=0x1,function(_0x3330eb,_0x753245){(function(_0x36e3e0,_0x2f4bf1){var _0x406185=_0xf06a;_0x3330eb[_0x406185(0x33f)]=_0x2f4bf1(ie());}(bn,function(_0x72426d){var _0x165a09=_0xf06a;return(function(){var _0x5ab1ea=_0xf06a;if(typeof ArrayBuffer==_0x5ab1ea(0x131)){var _0x4b603a=_0x72426d,_0x4d611d=_0x4b603a[_0x5ab1ea(0x321)],_0x403c36=_0x4d611d['WordArray'],_0x1649cc=_0x403c36[_0x5ab1ea(0x37f)],_0x5ead1f=_0x403c36[_0x5ab1ea(0x37f)]=function(_0x4bc0c0){var _0x15e18c=_0x5ab1ea;if(_0x4bc0c0 instanceof ArrayBuffer&&(_0x4bc0c0=new Uint8Array(_0x4bc0c0)),(_0x4bc0c0 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4bc0c0 instanceof Uint8ClampedArray||_0x4bc0c0 instanceof Int16Array||_0x4bc0c0 instanceof Uint16Array||_0x4bc0c0 instanceof Int32Array||_0x4bc0c0 instanceof Uint32Array||_0x4bc0c0 instanceof Float32Array||_0x4bc0c0 instanceof Float64Array)&&(_0x4bc0c0=new Uint8Array(_0x4bc0c0[_0x15e18c(0x28f)],_0x4bc0c0[_0x15e18c(0x196)],_0x4bc0c0[_0x15e18c(0x2a8)])),_0x4bc0c0 instanceof Uint8Array){for(var _0x2cf22d=_0x4bc0c0[_0x15e18c(0x2a8)],_0x6b7c9e=[],_0x205bce=0x0;_0x205bce<_0x2cf22d;_0x205bce++)_0x6b7c9e[_0x205bce>>>0x2]|=_0x4bc0c0[_0x205bce]<<0x18-_0x205bce%0x4*0x8;_0x1649cc[_0x15e18c(0x3ca)](this,_0x6b7c9e,_0x2cf22d);}else _0x1649cc[_0x15e18c(0x29f)](this,arguments);};_0x5ead1f['prototype']=_0x403c36;}}()),_0x72426d['lib'][_0x165a09(0x3d2)];}));}(Ze)),Ze[_0x23aed8(0x33f)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe['exports'],ri;function Pn(){var _0x203af2=_0xd75253;return ri||(ri=0x1,function(_0x156412,_0x4cd87c){(function(_0x78f7,_0x465209,_0x96fa7e){_0x156412['exports']=_0x465209(ie(),Ni());}(An,function(_0x45d5d5){var _0x2affee=_0xf06a;return _0x45d5d5[_0x2affee(0x2d2)][_0x2affee(0x286)]={'pad':function(){},'unpad':function(){}},_0x45d5d5[_0x2affee(0x2d2)][_0x2affee(0x286)];}));}(Qe)),Qe[_0x203af2(0x33f)];}var wn=Pn();const Mn=$e(wn);function Ln(_0xec7e77,_0x22ed51){var _0x27d429=_0xd75253;const _0x4d9e85=_0x22ed51-_0xec7e77[_0x27d429(0x1eb)]%_0x22ed51,_0x179f7e=String[_0x27d429(0x3cf)](_0x4d9e85)[_0x27d429(0x187)](_0x4d9e85);return _0xec7e77+_0x179f7e;}function xn(_0x28bf1a,_0x357050){var _0x4787e0=_0xd75253;const _0x1ab2ae=Un[_0x4787e0(0x172)](0x10),_0x282557=Ln(_0x28bf1a,0x10),_0x49aded=gn[_0x4787e0(0x223)](Nn[_0x4787e0(0x323)](_0x282557),ii[_0x4787e0(0x323)](_0x357050),{'iv':_0x1ab2ae,'padding':Mn});return _0x1ab2ae[_0x4787e0(0x279)](_0x49aded[_0x4787e0(0x2da)])[_0x4787e0(0x1c0)](ii);}function kn(){var _0x20028d=_0xd75253;const _0xfad2e4=_0x38a879()['__Key__'];if(_0xfad2e4){const _0x3313db={'time':Math[_0x20028d(0x358)](Date[_0x20028d(0x128)]()/0x3e8),'domain':location[_0x20028d(0x15b)]};return xn(JSON['stringify'](_0x3313db),_0xfad2e4);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0x485a95,_0x6de642,_0x70e865,_0x2bdb94)=>{for(var _0x16aed4=_0x2bdb94>0x1?void 0x0:_0x2bdb94?$n(_0x6de642,_0x70e865):_0x6de642,_0x36c44f=_0x485a95['length']-0x1,_0x97f001;_0x36c44f>=0x0;_0x36c44f--)(_0x97f001=_0x485a95[_0x36c44f])&&(_0x16aed4=_0x97f001(_0x16aed4)||_0x16aed4);return _0x16aed4;},Bn=(_0x5a6cf4,_0x15da97)=>(_0x575475,_0x2f32a4)=>_0x15da97(_0x575475,_0x2f32a4,_0x5a6cf4);let at=class{constructor(_0x32bdb5){var _0x4935a9=_0xd75253;this[_0x4935a9(0x309)]=_0x32bdb5,this[_0x4935a9(0x2f5)]();}[_0xd75253(0x2f5)](){var _0x25df81=_0xd75253;this[_0x25df81(0x309)][_0x25df81(0x270)]({'interceptor':(_0x48d217,_0x10a7c3)=>{var _0x2ec391=_0x25df81;const _0x272a00=_0x48d217[_0x2ec391(0x33b)],_0x2efd78=kn();return _0x2efd78&&_0x272a00[_0x2ec391(0x20a)](_0x2ec391(0x265),_0x2efd78),_0x10a7c3(_0x48d217);}});}};at=Hn([Bn(0x0,_0x4f8a93(_0x4e0a79))],at);var jn=Object[_0xd75253(0x404)],Fn=(_0x6fe908,_0xb81a0c,_0x123e0e,_0x39af58)=>{var _0x5c3622=_0xd75253;for(var _0x495400=_0x39af58>0x1?void 0x0:_0x39af58?jn(_0xb81a0c,_0x123e0e):_0xb81a0c,_0x929fcf=_0x6fe908[_0x5c3622(0x1eb)]-0x1,_0x4fc717;_0x929fcf>=0x0;_0x929fcf--)(_0x4fc717=_0x6fe908[_0x929fcf])&&(_0x495400=_0x4fc717(_0x495400)||_0x495400);return _0x495400;},vt=(_0x7cf9cd,_0x34e612)=>(_0x2734df,_0x4d7ebe)=>_0x34e612(_0x2734df,_0x4d7ebe,_0x7cf9cd);let Ot=class extends _0xa8e605{constructor(_0x23da9f,_0x5bd89d,_0x39f4ac){var _0x35c45c=_0xd75253;super(),D(this,_0x35c45c(0x2a0),new _0x2a8cbc(null)),D(this,_0x35c45c(0x220),this[_0x35c45c(0x2a0)]['asObservable']()),(this['_logService']=_0x23da9f,this[_0x35c45c(0x278)]=_0x5bd89d,this[_0x35c45c(0x207)]=_0x39f4ac);}async[_0xd75253(0x228)](_0x85625e,_0x362bd3,_0x35a228){var _0x36930f=_0xd75253;this['_unitInfo$'][_0x36930f(0x178)]({'unitId':_0x85625e,'type':_0x362bd3});let _0x133f54=null;switch(_0x362bd3){case Q['UNIVER_SHEET']:{_0x133f54=await this['_snapshotService'][_0x36930f(0x2bc)](_0x85625e,_0x35a228);break;}case Q[_0x36930f(0x2af)]:{_0x133f54=await this[_0x36930f(0x278)]['loadDoc'](_0x85625e,_0x35a228);break;}default:{this[_0x36930f(0x280)][_0x36930f(0x238)](_0x36930f(0x3f9),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x133f54;}async['loadUnit'](_0x29e269,_0x54941a,_0x4f0eea){var _0x44c98c=_0xd75253,_0x3caf2a;this[_0x44c98c(0x2a0)]['next']({'unitId':_0x29e269,'type':_0x54941a,'subUnitId':_0x4f0eea});let _0x20769d=0x0;const _0x23fbb8=await((_0x3caf2a=this[_0x44c98c(0x207)])==null?void 0x0:_0x3caf2a[_0x44c98c(0x40c)](_0x29e269));return _0x23fbb8&&(_0x23fbb8['awaitingChangeset']||_0x23fbb8[_0x44c98c(0x311)][_0x44c98c(0x1eb)]!==0x0)&&(_0x20769d=_0x23fbb8['rev']),_0x20769d===0x0&&this[_0x44c98c(0x280)][_0x44c98c(0x15f)]('[DataLoaderService]',_0x44c98c(0x1df)),this[_0x44c98c(0x228)](_0x29e269,_0x54941a,_0x20769d);}};Ot=Fn([vt(0x0,_0x3c99db),vt(0x1,_0x4f8a93(_0x30135d)),vt(0x2,_0x17f639(J))],Ot);var Vn=Object['getOwnPropertyDescriptor'],Gn=(_0x32b61d,_0x3bb028,_0x378576,_0x35001c)=>{var _0x208146=_0xd75253;for(var _0x2fdcd3=_0x35001c>0x1?void 0x0:_0x35001c?Vn(_0x3bb028,_0x378576):_0x3bb028,_0x1c6410=_0x32b61d[_0x208146(0x1eb)]-0x1,_0x2d6b00;_0x1c6410>=0x0;_0x1c6410--)(_0x2d6b00=_0x32b61d[_0x1c6410])&&(_0x2fdcd3=_0x2d6b00(_0x2fdcd3)||_0x2fdcd3);return _0x2fdcd3;},pt=(_0x52d783,_0x23f497)=>(_0x51aaa6,_0x2e980b)=>_0x23f497(_0x51aaa6,_0x2e980b,_0x52d783);const Wn=[_0xd75253(0x176),_0xd75253(0x322),_0xd75253(0x186),'image/gif',_0xd75253(0x28b)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0xd75253(0x137);let Rt=class{constructor(_0xc2385d,_0x5e1107,_0x213c1a){var _0x1ea0e1=_0xd75253;D(this,_0x1ea0e1(0x3b0),0x0),D(this,'_change$',new _0x1c7476()),D(this,_0x1ea0e1(0x344),this[_0x1ea0e1(0x308)]),D(this,_0x1ea0e1(0x214),new Map()),(this[_0x1ea0e1(0x309)]=_0xc2385d,this['_configService']=_0x5e1107,this['_univerInstanceService']=_0x213c1a);}[_0xd75253(0x32c)](_0x26f809){var _0x138216=_0xd75253;this['_waitCount']=_0x26f809,this[_0x138216(0x308)]['next'](_0x26f809);}[_0xd75253(0x2c1)](_0x453226,_0x20f07d){var _0x590f9e=_0xd75253;if(_0x20f07d===_0x3c4cf0['BASE64']){const _0x1a9807=new Image();return _0x1a9807[_0x590f9e(0x200)]=_0x453226,_0x1a9807;}return this[_0x590f9e(0x214)][_0x590f9e(0x313)](_0x453226);}[_0xd75253(0x1ca)](_0x24c128,_0x4a7414,_0x206726){var _0x54fc46=_0xd75253;_0x4a7414===_0x3c4cf0[_0x54fc46(0x121)]||_0x206726==null||this[_0x54fc46(0x214)]['set'](_0x24c128,_0x206726);}async[_0xd75253(0x211)](_0x157371){var _0x3f5d55=_0xd75253;try{const _0x5783ae=this['_replaceFileID'](this[_0x3f5d55(0x160)](),''+_0x157371),_0x3e6b75=(await this[_0x3f5d55(0x309)]['get'](_0x5783ae))[_0x3f5d55(0x291)];if(_0x3e6b75[_0x3f5d55(0x238)]&&_0x3e6b75[_0x3f5d55(0x238)]['code']===vi['OK']){const _0x134fb9=new URL(_0x3e6b75[_0x3f5d55(0x35f)],this[_0x3f5d55(0x24b)]())[_0x3f5d55(0x1c0)]();return Promise[_0x3f5d55(0x152)](_0x134fb9);}return Promise['reject'](_0x3e6b75[_0x3f5d55(0x238)]);}catch(_0x91ef21){return Promise[_0x3f5d55(0x14f)](_0x91ef21);}}async[_0xd75253(0x2e9)](_0x2ef4bd){var _0x2fd033=_0xd75253;let _0x10bdea='';if(!Wn[_0x2fd033(0x132)](_0x2ef4bd['type']))return this[_0x2fd033(0x227)](),Promise[_0x2fd033(0x14f)](new Error(_0x42e1de[_0x2fd033(0x185)]));if(_0x2ef4bd['size']>Yn)return this[_0x2fd033(0x227)](),Promise[_0x2fd033(0x14f)](new Error(_0x42e1de['ERROR_EXCEED_SIZE']));try{const _0xa5e21b=new FormData();_0xa5e21b[_0x2fd033(0x24f)](_0x2fd033(0x332),_0x2ef4bd);const _0x44c433=this[_0x2fd033(0x2fb)][_0x2fd033(0x188)](),_0x594bf8=_0x44c433==null?void 0x0:_0x44c433[_0x2fd033(0x1a7)]();if(!_0x594bf8)throw new Error(_0x2fd033(0x1ad));const _0x5bfa9d=this[_0x2fd033(0x1c5)]()+_0x2fd033(0x2ab)+_0x2ef4bd[_0x2fd033(0x382)]['toString']()+'&source='+pi[_0x2fd033(0x22d)]+_0x2fd033(0x293)+encodeURIComponent(_0x594bf8),_0x2af769={'body':_0xa5e21b},_0x305f73=(await this[_0x2fd033(0x309)]['post'](_0x5bfa9d,_0x2af769))[_0x2fd033(0x291)];if(typeof _0x305f73['FileId']!=_0x2fd033(0x231))return this[_0x2fd033(0x227)](),Promise[_0x2fd033(0x14f)](new Error(_0x42e1de['ERROR_IMAGE']));_0x10bdea=_0x305f73[_0x2fd033(0x301)];}catch{return this[_0x2fd033(0x227)](),Promise[_0x2fd033(0x14f)](new Error(_0x42e1de[_0x2fd033(0x32a)]));}return new Promise((_0x4a3e6e,_0x5db280)=>{var _0x480dcf=_0x2fd033;const _0x5af0cd=new FileReader();_0x5af0cd[_0x480dcf(0x12e)](_0x2ef4bd),_0x5af0cd[_0x480dcf(0x2d8)]=_0x3b888d=>{var _0xfc76fc=_0x480dcf,_0x2eb888;const _0x8842a=(_0x2eb888=_0x3b888d[_0xfc76fc(0x1ce)])==null?void 0x0:_0x2eb888[_0xfc76fc(0x416)];if(_0x8842a==null){this['_decreaseWaiting'](),_0x5db280(new Error(_0x42e1de[_0xfc76fc(0x32a)]));return;}const _0x2dcd56=_0x50bdc5(0x6);_0x4a3e6e({'imageId':_0x2dcd56,'imageSourceType':_0x3c4cf0[_0xfc76fc(0x17e)],'source':_0x10bdea,'base64Cache':_0x8842a,'status':_0x42e1de[_0xfc76fc(0x406)]}),this[_0xfc76fc(0x227)]();};});}['_getUploadFileURL'](){var _0x538576=_0xd75253,_0x28b01d;const _0x5b1a57=this[_0x538576(0x398)][_0x538576(0x205)](K);return(_0x28b01d=_0x5b1a57==null?void 0x0:_0x5b1a57[_0x538576(0x1ae)])!=null?_0x28b01d:Kn;}[_0xd75253(0x160)](){var _0xdc03c5=_0xd75253,_0x58e65e;const _0x35c0b0=this[_0xdc03c5(0x398)][_0xdc03c5(0x205)](K);return(_0x58e65e=_0x35c0b0==null?void 0x0:_0x35c0b0['signUrlServerUrl'])!=null?_0x58e65e:qn;}[_0xd75253(0x24b)](){var _0x3d5cf1=_0xd75253,_0x26a321;const _0x1b1b76=this[_0x3d5cf1(0x398)]['getConfig'](K);return(_0x26a321=_0x1b1b76==null?void 0x0:_0x1b1b76[_0x3d5cf1(0x255)])!=null?_0x26a321:location['origin'];}[_0xd75253(0x235)](_0x2ea826,_0x1d6248){var _0x43038b=_0xd75253;return _0x2ea826[_0x43038b(0x1d5)](_0x43038b(0x363),_0x1d6248);}[_0xd75253(0x227)](){var _0x5143e2=_0xd75253;this[_0x5143e2(0x3b0)]-=0x1,this[_0x5143e2(0x308)][_0x5143e2(0x178)](this[_0x5143e2(0x3b0)]);}};Rt=Gn([pt(0x0,_0x4f8a93(_0x4e0a79)),pt(0x1,_0x14120a),pt(0x2,_0x4f8a93(_0x35e7f5))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x404e22,_0x593753,_0x5b5422,_0x48a3c1)=>{for(var _0xeeeab1=_0x48a3c1>0x1?void 0x0:_0x48a3c1?zn(_0x593753,_0x5b5422):_0x593753,_0x154bc4=_0x404e22['length']-0x1,_0x2354af;_0x154bc4>=0x0;_0x154bc4--)(_0x2354af=_0x404e22[_0x154bc4])&&(_0xeeeab1=_0x2354af(_0xeeeab1)||_0xeeeab1);return _0xeeeab1;},ai=(_0x513981,_0x11bffc)=>(_0x372cb1,_0x5810a9)=>_0x11bffc(_0x372cb1,_0x5810a9,_0x513981);const Xn=_0xd75253(0x24d);function _0xf06a(_0x556819,_0x110dc2){var _0x2c28ec=_0x2c28();return _0xf06a=function(_0xf06a1a,_0x46cccd){_0xf06a1a=_0xf06a1a-0x109;var _0x5ad380=_0x2c28ec[_0xf06a1a];return _0x5ad380;},_0xf06a(_0x556819,_0x110dc2);}let Ct=class{constructor(_0x4494fa,_0x2eb919){var _0x5607a9=_0xd75253;this['_configService']=_0x4494fa,this[_0x5607a9(0x30e)]=_0x2eb919;}[_0xd75253(0x3e8)](){var _0x3da547=_0xd75253,_0x409d8f;const _0x147c74=this['_configService'][_0x3da547(0x205)](K);return(_0x409d8f=_0x147c74==null?void 0x0:_0x147c74[_0x3da547(0x2a2)])!=null?_0x409d8f:Xn;}async[_0xd75253(0x1ff)](_0x2e3462){var _0xdbe1e3=_0xd75253;const _0x84478e=this[_0xdbe1e3(0x3e8)]()+_0xdbe1e3(0x153);return{'list':[{'title':_0xdbe1e3(0x24a),'mentions':(await this[_0xdbe1e3(0x30e)]['get'](_0x84478e,{'params':{'objectID':_0x2e3462[_0xdbe1e3(0x408)],'unitID':_0x2e3462[_0xdbe1e3(0x408)]}}))[_0xdbe1e3(0x291)][_0xdbe1e3(0x2c8)]['map'](_0x3a5398=>({'objectId':_0x3a5398['id'],'name':_0x3a5398[_0xdbe1e3(0x3a8)]['name'],'metadata':{'icon':_0x3a5398[_0xdbe1e3(0x3a8)][_0xdbe1e3(0x40b)]},'label':_0x3a5398[_0xdbe1e3(0x3a8)]['name'],'objectType':_0x5717d6[_0xdbe1e3(0x377)]})),'metadata':{},'type':_0x5717d6['PERSON']}]};}};Ct=Jn([ai(0x0,_0x4f8a93(_0x14120a)),ai(0x1,_0x4f8a93(_0x4e0a79))],Ct);var Zn=Object[_0xd75253(0x404)],Qn=(_0x4c0988,_0x4b7582,_0x3e06d0,_0x57b9a2)=>{var _0x357442=_0xd75253;for(var _0x3c3b63=_0x57b9a2>0x1?void 0x0:_0x57b9a2?Zn(_0x4b7582,_0x3e06d0):_0x4b7582,_0x3681b7=_0x4c0988[_0x357442(0x1eb)]-0x1,_0x223d14;_0x3681b7>=0x0;_0x3681b7--)(_0x223d14=_0x4c0988[_0x3681b7])&&(_0x3c3b63=_0x223d14(_0x3c3b63)||_0x3c3b63);return _0x3c3b63;},Ue=(_0x30e054,_0x27400a)=>(_0x1625f6,_0x1c719c)=>_0x27400a(_0x1625f6,_0x1c719c,_0x30e054);let ot=class extends _0xa8e605{constructor(_0x3aadff,_0x2465a6,_0xe8c6ba,_0x400227,_0x2fb475){var _0x9d7834=_0xd75253;super(),this[_0x9d7834(0x37c)]=_0x3aadff,this[_0x9d7834(0x2fb)]=_0x2465a6,this[_0x9d7834(0x2cb)]=_0xe8c6ba,this[_0x9d7834(0x2c5)]=_0x400227,this[_0x9d7834(0x2ee)]=_0x2fb475,this[_0x9d7834(0x415)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x2bf68b=_0xd75253;const _0x2071c5=async _0x5758a7=>{var _0x12844f=_0xf06a;(await this[_0x12844f(0x2c5)][_0x12844f(0x1d6)](_0x5758a7))[_0x12844f(0x1fd)][_0x12844f(0x151)](_0x19cade(_0x461fe1=>_0x461fe1[_0x12844f(0x3f4)]===_0x6e45b[_0x12844f(0x3ef)]),_0xa8c0b5(this['dispose$']))[_0x12844f(0x234)](_0x2d06a1=>{var _0x141519=_0x12844f;const _0x48e6d2=_0x2d06a1,{reason:_0x3f39a5}=_0x48e6d2[_0x141519(0x21e)];this[_0x141519(0x2ee)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x3f39a5}),this[_0x141519(0x2cb)][_0x141519(0x373)](new _0x1dd60a(_0x5758a7)['id'],!0x1),this[_0x141519(0x2c5)][_0x141519(0x10f)](_0x5758a7);});};_0xad9f69(this[_0x2bf68b(0x2fb)][_0x2bf68b(0x33c)](_0x2cb638[_0x2bf68b(0x376)]),this[_0x2bf68b(0x2fb)][_0x2bf68b(0x33c)](_0x2cb638[_0x2bf68b(0x2af)]))[_0x2bf68b(0x151)](_0x2eed3b(_0x218005=>_0x218005['getUnitId']()),_0x19cade(_0x1d9d73=>!_0x4e2fa8(_0x1d9d73)),_0xa8c0b5(this[_0x2bf68b(0x244)]))[_0x2bf68b(0x234)](_0x359b06=>{_0x2071c5(_0x359b06);});}[_0xd75253(0x415)](){var _0x354fdc=_0xd75253;const _0x916613=async _0x54724c=>{var _0x592e73=_0xf06a;const _0x7f2485=await this[_0x592e73(0x2c5)][_0x592e73(0x1d6)](_0x54724c),_0x343da8=this[_0x592e73(0x37c)][_0x592e73(0x313)](_0x32af60);_0x7f2485[_0x592e73(0x1fd)][_0x592e73(0x151)](_0x19cade(_0x307382=>_0x307382[_0x592e73(0x3f4)]===_0x6e45b[_0x592e73(0x281)]),_0xa8c0b5(this[_0x592e73(0x244)]))[_0x592e73(0x234)](_0x55ef4b=>{var _0x1b60fa=_0x592e73;const _0x241925=_0x55ef4b,{objectId:_0x18783d}=_0x241925['data'];_0x18783d===_0x54724c?_0x343da8[_0x1b60fa(0x296)](_0x54724c):_0x343da8[_0x1b60fa(0x39d)](_0x54724c,_0x18783d);});};_0xad9f69(this[_0x354fdc(0x2fb)][_0x354fdc(0x33c)](_0x2cb638[_0x354fdc(0x376)]))[_0x354fdc(0x151)](_0x2eed3b(_0x5c961c=>_0x5c961c[_0x354fdc(0x1a7)]()),_0x19cade(_0x52eed9=>!_0x4e2fa8(_0x52eed9)),_0xa8c0b5(this['dispose$']))[_0x354fdc(0x234)](_0x466c35=>{_0x916613(_0x466c35);});}};ot=Qn([Ue(0x0,_0x4f8a93(_0x33d727)),Ue(0x1,_0x35e7f5),Ue(0x2,_0x4ebcc2),Ue(0x3,_0x4f8a93(we)),Ue(0x4,_0x4f8a93(ve))],ot);var er=Object[_0xd75253(0x404)],tr=(_0x475edf,_0x55ba77,_0x5605f3,_0xb08bf8)=>{var _0x1d3182=_0xd75253;for(var _0x531ea1=_0xb08bf8>0x1?void 0x0:_0xb08bf8?er(_0x55ba77,_0x5605f3):_0x55ba77,_0x1ad3a8=_0x475edf[_0x1d3182(0x1eb)]-0x1,_0xafc3fd;_0x1ad3a8>=0x0;_0x1ad3a8--)(_0xafc3fd=_0x475edf[_0x1ad3a8])&&(_0x531ea1=_0xafc3fd(_0x531ea1)||_0x531ea1);return _0x531ea1;},oi=(_0x3c516c,_0x29a007)=>(_0x12b8e1,_0x15d009)=>_0x29a007(_0x12b8e1,_0x15d009,_0x3c516c);let Nt=class{constructor(_0x2ee8ad,_0x19990f){var _0x1838d6=_0xd75253;this[_0x1838d6(0x398)]=_0x2ee8ad,this['_httpService']=_0x19990f;}async[_0xd75253(0x24c)](_0x3767ba,_0x403f6d){var _0x3de7e5=_0xd75253,_0x781b15;const {unitID:_0x49146c,type:_0x53475d,revision:_0x4e557e=0x0}=_0x403f6d,_0x11ea04=this[_0x3de7e5(0x165)]()+'/'+_0x53475d+'/unit/'+_0x49146c+_0x3de7e5(0x3b4)+_0x4e557e,_0x1a83a8=(await this['_httpService']['get'](_0x11ea04))[_0x3de7e5(0x291)],_0x5cbdbc=(_0x781b15=_0x1a83a8[_0x3de7e5(0x27f)])==null?void 0x0:_0x781b15['workbook'];if(_0x5cbdbc){const _0x361b35=_0x5cbdbc==null?void 0x0:_0x5cbdbc[_0x3de7e5(0x14a)],_0xbb552b=_0xf7ba99[_0x3de7e5(0x304)](_0x34aeab(_0x361b35));_0x5cbdbc[_0x3de7e5(0x14a)]=_0xbb552b,Object[_0x3de7e5(0x2fd)](_0x5cbdbc[_0x3de7e5(0x20d)])['forEach'](([,_0x23335d])=>{var _0x1d2eb0=_0x3de7e5;const _0x8a24e2=_0x23335d[_0x1d2eb0(0x14a)],_0x122e9d=_0xf7ba99[_0x1d2eb0(0x304)](_0x34aeab(_0x8a24e2));_0x23335d['originalMeta']=_0x122e9d;});}return _0x1a83a8;}async[_0xd75253(0x337)](_0x3ebda6,_0x4dde5e){var _0x4045ba=_0xd75253;const {unitID:_0x54ad7a,type:_0x965b0f,blockID:_0x2358b5}=_0x4dde5e,_0x27c072=this[_0x4045ba(0x229)]()+'/'+_0x965b0f+_0x4045ba(0x2c9)+_0x54ad7a+_0x4045ba(0x125)+_0x2358b5;return(await this[_0x4045ba(0x309)][_0x4045ba(0x313)](_0x27c072))[_0x4045ba(0x291)];}async[_0xd75253(0x25f)](_0x17b28e,_0x421f8d){var _0xf89a5c=_0xd75253;const {unitID:_0x1b461e,type:_0x41114b,blockID:_0x378d06}=_0x421f8d,_0x254d50=this[_0xf89a5c(0x229)]()+_0xf89a5c(0x125)+_0x41114b+'/unit/'+_0x1b461e+'/block/'+_0x378d06;return(await this['_httpService'][_0xf89a5c(0x313)](_0x254d50))['body'];}async[_0xd75253(0x192)](_0x3b57e0,_0x44b51d){var _0x106832=_0xd75253;const {unitID:_0x2d82ba,type:_0x2232f6,from:_0x20199e,to:_0x5cd68c}=_0x44b51d,_0xe13645=this[_0x106832(0x229)]()+'/'+_0x2232f6+_0x106832(0x2c9)+_0x2d82ba+_0x106832(0x18f)+_0x20199e+_0x106832(0x263)+_0x5cd68c;return(await this[_0x106832(0x309)]['get'](_0xe13645))[_0x106832(0x291)];}['getSnapshotAPIPath'](){var _0x488833=_0xd75253,_0x24bc18;return(_0x24bc18=this[_0x488833(0x398)]['getConfig'](vs))!=null?_0x24bc18:this[_0x488833(0x229)]();}[_0xd75253(0x229)](){var _0x2d6505=_0xd75253,_0x2b62a5;const _0x54c7a8=this['_configService'][_0x2d6505(0x205)](K);return(_0x2b62a5=_0x54c7a8==null?void 0x0:_0x54c7a8[_0x2d6505(0x1c7)])!=null?_0x2b62a5:fs;}async[_0xd75253(0x355)](_0x28336c,_0xf41c5d){var _0xefab8c=_0xd75253;const _0x4ab0ea=_0xefab8c(0x35e)+_0xf41c5d[_0xefab8c(0x19f)]+_0xefab8c(0x2c9)+_0xf41c5d[_0xefab8c(0x3c6)]+_0xefab8c(0x11d);return(await this['_httpService'][_0xefab8c(0x313)](_0x4ab0ea,{'params':{'resourceId':JSON[_0xefab8c(0x3a4)](_0xf41c5d[_0xefab8c(0x1bb)])}}))[_0xefab8c(0x291)];}['saveSnapshot'](){var _0x3a6032=_0xd75253;throw new Error(_0x3a6032(0x2e1));}['updateSnapshot'](){var _0x2b5353=_0xd75253;throw new Error(_0x2b5353(0x2e1));}[_0xd75253(0x3ba)](){var _0x59553a=_0xd75253;throw new Error(_0x59553a(0x2e1));}[_0xd75253(0x251)](){var _0x450faa=_0xd75253;throw new Error(_0x450faa(0x2e1));}[_0xd75253(0x2dc)](){var _0x3d35f1=_0xd75253;throw new Error(_0x3d35f1(0x2e1));}['getLatestCsReqIdBySid'](){var _0x3d75fa=_0xd75253;throw new Error(_0x3d75fa(0x2e1));}};Nt=tr([oi(0x0,_0x14120a),oi(0x1,_0x4f8a93(_0x4e0a79))],Nt);var ir=Object[_0xd75253(0x404)],sr=(_0x32676a,_0x52a211,_0x236fc5,_0x2ca062)=>{for(var _0x2638c5=_0x2ca062>0x1?void 0x0:_0x2ca062?ir(_0x52a211,_0x236fc5):_0x52a211,_0x3c2948=_0x32676a['length']-0x1,_0x4359cc;_0x3c2948>=0x0;_0x3c2948--)(_0x4359cc=_0x32676a[_0x3c2948])&&(_0x2638c5=_0x4359cc(_0x2638c5)||_0x2638c5);return _0x2638c5;},Ae=(_0x104e93,_0xcf680a)=>(_0x142ebb,_0x476661)=>_0xcf680a(_0x142ebb,_0x476661,_0x104e93);let bt=class extends _0x20eb67{constructor(_0x3c3279,_0x130dd3,_0x341547,_0x4c40a6,_0x3679af){var _0x15004a=_0xd75253;super(_0x3c3279,_0x130dd3,_0x341547),this[_0x15004a(0x399)]=_0x4c40a6,this['_logService']=_0x3679af;}[_0xd75253(0x3f0)](_0x545469,_0x1986bc){var _0x14fef0=_0xd75253;const _0x493b69=this[_0x14fef0(0x109)](_0x545469);if(_0x493b69)try{const _0x21353d=this['_transformStack'](_0x493b69,_0x1986bc);this[_0x14fef0(0x400)](_0x545469,_0x21353d);}catch(_0x49ad4b){this[_0x14fef0(0x280)]['error'](_0x14fef0(0x3bb),_0x49ad4b),this[_0x14fef0(0x1fc)](_0x545469);}const _0x440c5d=this[_0x14fef0(0x204)](_0x545469);if(_0x440c5d)try{const _0x14b689=this[_0x14fef0(0x339)](_0x440c5d,_0x1986bc);this[_0x14fef0(0x248)](_0x545469,_0x14b689);}catch(_0x215442){this[_0x14fef0(0x280)][_0x14fef0(0x238)](_0x215442),this[_0x14fef0(0x274)](_0x545469);}}['_clearUndo'](_0x4ec43d){var _0x40df3b=_0xd75253;const _0x4b8279=this[_0x40df3b(0x109)](_0x4ec43d);_0x4b8279&&(_0x4b8279[_0x40df3b(0x1eb)]=0x0,this[_0x40df3b(0x182)]());}[_0xd75253(0x274)](_0x2f6ac9){var _0x537c9b=_0xd75253;const _0x267a9b=this[_0x537c9b(0x204)](_0x2f6ac9);_0x267a9b&&(_0x267a9b[_0x537c9b(0x1eb)]=0x0,this['_updateStatus']());}[_0xd75253(0x400)](_0x526204,_0x4a581d){var _0x54b7a6=_0xd75253;this['_undoStacks'][_0x54b7a6(0x20a)](_0x526204,_0x4a581d),this[_0x54b7a6(0x182)]();}[_0xd75253(0x248)](_0x5490b6,_0x24fb9b){var _0x45f096=_0xd75253;this['_redoStacks'][_0x45f096(0x20a)](_0x5490b6,_0x24fb9b),this[_0x45f096(0x182)]();}[_0xd75253(0x339)](_0x5f4ed3,_0x36dbcd){var _0xd06fcc=_0xd75253;const _0x5c459a=[];let _0xd134cc=_0x36dbcd,_0x118426=_0x36dbcd;for(let _0x916385=_0x5f4ed3[_0xd06fcc(0x1eb)]-0x1;_0x916385>=0x0;_0x916385--){const {unitID:_0x51d380,undoMutations:_0x505ebc,redoMutations:_0xbc2146}=_0x5f4ed3[_0x916385],_0x806439=this['_transformService'][_0xd06fcc(0x41a)](_0xd134cc,_0x505ebc),_0x9cd62b=this[_0xd06fcc(0x399)][_0xd06fcc(0x41a)](_0x118426,_0xbc2146);if(_0x337a83(_0x806439)||_0x337a83(_0x9cd62b)){this['_logService'][_0xd06fcc(0x238)]('[CollaborationUndoRedoService]',_0xd06fcc(0x232),_0x806439,_0x9cd62b);break;}_0xd134cc=_0x806439[_0xd06fcc(0x3a9)],_0x118426=_0x9cd62b[_0xd06fcc(0x3a9)],_0x5c459a[_0xd06fcc(0x3fb)]({'unitID':_0x51d380,'undoMutations':_0x806439['m2Prime'],'redoMutations':_0x9cd62b[_0xd06fcc(0x34d)]});}return _0x5c459a['reverse']();}};bt=sr([Ae(0x0,_0x35e7f5),Ae(0x1,_0x247b14),Ae(0x2,_0x578557),Ae(0x3,_0x1c8ebf),Ae(0x4,_0x3c99db)],bt);var nr=Object[_0xd75253(0x2f9)],rr=Object[_0xd75253(0x404)],ar=(_0x4dfc3c,_0x577e2c,_0x5f2a24)=>_0x577e2c in _0x4dfc3c?nr(_0x4dfc3c,_0x577e2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5f2a24}):_0x4dfc3c[_0x577e2c]=_0x5f2a24,or=(_0x30b5e0,_0x41d10c,_0x4c6357,_0x527a56)=>{var _0x282a8b=_0xd75253;for(var _0xb42f5d=_0x527a56>0x1?void 0x0:_0x527a56?rr(_0x41d10c,_0x4c6357):_0x41d10c,_0x273b14=_0x30b5e0[_0x282a8b(0x1eb)]-0x1,_0x59fa77;_0x273b14>=0x0;_0x273b14--)(_0x59fa77=_0x30b5e0[_0x273b14])&&(_0xb42f5d=_0x59fa77(_0xb42f5d)||_0xb42f5d);return _0xb42f5d;},Et=(_0x3e7245,_0x2e097f)=>(_0xc6b44c,_0x3d68bd)=>_0x2e097f(_0xc6b44c,_0x3d68bd,_0x3e7245),cr=(_0x31dbce,_0x19ca84,_0x70f23b)=>ar(_0x31dbce,_0x19ca84+'',_0x70f23b);const _r=_0xd75253(0x1ef);let Dt=class extends _0x2adf41{constructor(_0x535b07,_0x3afba6,_0x4f85b3,_0x4f1a5e){var _0x2c7e59=_0xd75253;super(),D(this,_0x2c7e59(0x199)),(this[_0x2c7e59(0x280)]=_0x3afba6,this[_0x2c7e59(0x37c)]=_0x4f85b3,this[_0x2c7e59(0x398)]=_0x4f1a5e);const {..._0x3c63b1}=_0x228bea({},Ls,_0x535b07);if(!_0x3c63b1[_0x2c7e59(0x328)])throw new Error(_0x2c7e59(0x12b));this[_0x2c7e59(0x199)]=_0x3c63b1,this[_0x2c7e59(0x398)][_0x2c7e59(0x357)](K,_0x3c63b1);}[_0xd75253(0x273)](){var _0x4e825a=_0xd75253;this[_0x4e825a(0x236)](),this['_initDependencies']();}[_0xd75253(0x236)](){var _0x3c14f5=_0xd75253,_0x3bbb51,_0x4ac4f2;this[_0x3c14f5(0x37c)][_0x3c14f5(0x243)](_0x297756)&&this[_0x3c14f5(0x280)]['error'](_0x3c14f5(0x29c),_0x3c14f5(0x372));const _0x4749ec=_0x174b0c([[_0x297756,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x3c14f5(0x199)][_0x3c14f5(0x328)]}],[_0x3ee6a7,{'useClass':Nt}],[_0x1a7e16,{'useClass':Tt}],[_0x53bbed,{'useClass':Rt}],[_0x85b4ad,{'useClass':Ct}],[nt],[gt]],(_0x3bbb51=this[_0x3c14f5(0x199)])==null?void 0x0:_0x3bbb51[_0x3c14f5(0x396)]);if(!((_0x4ac4f2=this[_0x3c14f5(0x199)])!=null&&_0x4ac4f2[_0x3c14f5(0x319)])){const _0x514b21=_0x4749ec['findIndex'](([_0x30a347])=>_0x30a347===_t);_0x514b21!==-0x1&&_0x4749ec['splice'](_0x514b21,0x1);}_0x1f3ebc(this[_0x3c14f5(0x37c)],_0x4749ec);}[_0xd75253(0x26b)](){var _0x55cf46=_0xd75253,_0x1ecd65,_0x5b5d8c,_0x53da8b;this['_injector'][_0x55cf46(0x313)](_0x4e0a79)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0xad5f88({'maxParallel':0x6})}),(_0x1ecd65=this[_0x55cf46(0x199)])!=null&&_0x1ecd65[_0x55cf46(0x1c6)]||(_0x5b5d8c=this['_injector'][_0x55cf46(0x313)](J,_0xa8780[_0x55cf46(0x2c6)]))==null||_0x5b5d8c[_0x55cf46(0x3dc)](),(_0x53da8b=this[_0x55cf46(0x199)])!=null&&_0x53da8b[_0x55cf46(0x3cc)]&&_0x39a0f5(this[_0x55cf46(0x37c)],[[rt]]),_0x39a0f5(this[_0x55cf46(0x37c)],[[at],[nt],[ot]]);}};cr(Dt,'pluginName',_r),Dt=or([_0x21ff77(_0x1d51a8,_0x577d02),Et(0x1,_0x3c99db),Et(0x2,_0x4f8a93(_0x33d727)),Et(0x3,_0x14120a)],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,Wt 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,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr 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,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr 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,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|
|
1
|
+
var _0x1c333e=_0x9d4b;(function(_0x451dd8,_0x2d44cd){var _0x45b754=_0x9d4b,_0x302ea5=_0x451dd8();while(!![]){try{var _0x2937ca=-parseInt(_0x45b754(0x34b))/0x1*(-parseInt(_0x45b754(0x388))/0x2)+-parseInt(_0x45b754(0x363))/0x3+parseInt(_0x45b754(0x263))/0x4+-parseInt(_0x45b754(0x2f5))/0x5+parseInt(_0x45b754(0xcd))/0x6+-parseInt(_0x45b754(0x342))/0x7+-parseInt(_0x45b754(0x2a7))/0x8*(-parseInt(_0x45b754(0x2fd))/0x9);if(_0x2937ca===_0x2d44cd)break;else _0x302ea5['push'](_0x302ea5['shift']());}catch(_0x3a3ad8){_0x302ea5['push'](_0x302ea5['shift']());}}}(_0x5cf6,0x7e37b));var bi=Object['defineProperty'],Di=(_0x512b30,_0x3013f1,_0x445d6c)=>_0x3013f1 in _0x512b30?bi(_0x512b30,_0x3013f1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x445d6c}):_0x512b30[_0x3013f1]=_0x445d6c,D=(_0x5b8208,_0x111528,_0x5ed250)=>Di(_0x5b8208,typeof _0x111528!=_0x1c333e(0xa3)?_0x111528+'':_0x111528,_0x5ed250);import{CollaborationEvent as _0x49b802,ITransformService as _0xa73e93,isTransformMutationsWithChangesetSuccess as _0xfdaf08,mapDocumentTypeToUniverType as _0x4d91c0,RevisionService as _0x37b7b6,isTransformChangesetsSuccess as _0x1c368c,CompressMutationService as _0x5c0ce9,parseProtocolChangeset as _0x290fda,uuidv4 as _0x3da2dd,ISnapshotServerService as _0x57f5b6,parseChangesetToProtocol as _0x9f3c11,SnapshotService as _0x29a689,textEncoder as _0x277da1,b64DecodeUnicode as _0x4d348b,isTransformMutationsWithChangesetFailure as _0x34a12a,UniverCollaborationPlugin as _0x5f3378}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x498d5c,Inject as _0x127c6e,UserManagerService as _0x2f24ae,Disposable as _0x34f54e,UniverInstanceType as _0x1a510f,ILogService as _0xab01ef,IConfigService as _0x50b237,Optional as _0x4c8504,RxDisposable as _0x3d746a,createIdentifier as _0x4d4bb1,Injector as _0x26bcb2,Tools as _0x24078b,Rectangle as _0x5dcf6c,ICommandService as _0x587b1a,JSONX as _0x19584e,CommandType as _0xbb6252,IUndoRedoService as _0x40605b,IPermissionService as _0x1b3e55,LocaleService as _0x85757,sequenceExecute as _0x177ab6,toDisposable as _0x5eb4fd,DisposableCollection as _0x251285,Workbook as _0x3cb998,generateRandomId as _0x2db4ab,MentionType as _0x4ef9b6,isInternalEditorID as _0x18afdd,LocalUndoRedoService as _0x2a2815,IContextService as _0x580cd6,DependentOn as _0x353887,Plugin as _0x320152,merge as _0x57b72d,mergeOverrideWithDependencies as _0x2f0c87,IAuthzIoService as _0xbf0664,IMentionIOService as _0x10ff2e,registerDependencies as _0x4aecb5,Quantity as _0x5e1642,touchDependencies as _0x1a0bdd}from'@univerjs/core';import{RichTextEditingMutation as _0xe3b90a}from'@univerjs/docs';import{SheetsSelectionsService as _0x2ad32e,SetSelectionsOperation as _0xef3ea2,InsertSheetMutation as _0x41daa1,EmptyMutation as _0x59acbf,WorkbookEditablePermission as _0x521266,SheetPermissionInitController as _0xe6bb79}from'@univerjs/sheets';import{Subject as _0x2a38ce,merge as _0x3e3aeb,of as _0x2b5448,BehaviorSubject as _0x3033b2,takeUntil as _0x11a8eb,ReplaySubject as _0x561af4,take as _0x236e9e,map as _0x5b1bf0,shareReplay as _0x24a342,firstValueFrom as _0x4e38f7,concatMap as _0x47abd7}from'rxjs';import{ITelemetryService as _0x12151c}from'@univerjs/telemetry';import{map as _0x337713,take as _0x2d2f88,filter as _0xaadfb,delay as _0x29bf3d,takeUntil as _0x380c68}from'rxjs/operators';import{HTTPService as _0x3b781f,ISocketService as _0x42e0d6,MergeInterceptorFactory as _0x1e1856,HTTPRequest as _0x137adf,UniverNetworkPlugin as _0x5dee0d,ThresholdInterceptorFactory as _0x26e0bf}from'@univerjs/network';import{ImageSourceType as _0x4afc2f,ImageUploadStatusType as _0xfa96b9,IImageIoService as _0x553c7c}from'@univerjs/drawing';import{getGlobalObject as _0xf24599}from'@univerjs-pro/license';const fs=_0x1c333e(0x367),vs=_0x1c333e(0x20d),ps=0x7d0,Es=_0x1c333e(0x2cc),gr=_0x1c333e(0xee),ms=_0x1c333e(0x354),Is=0x7530,di=_0x1c333e(0x90),fi=0x4e20,Ss=0x4e20,gs=_0x1c333e(0x2f6),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Or=0x3e8,Os=_0x1c333e(0x13c),Rs=_0x1c333e(0x108),Rr=_0x1c333e(0x224),Cr='/universer-api/uniscript';var vi=(_0x2f6471=>(_0x2f6471[_0x2f6471['UNDEFINED']=0x0]=_0x1c333e(0x303),_0x2f6471[_0x2f6471['OK']=0x1]='OK',_0x2f6471[_0x2f6471[_0x1c333e(0x170)]=0x2]=_0x1c333e(0x170),_0x2f6471[_0x2f6471[_0x1c333e(0x314)]=0x3]=_0x1c333e(0x314),_0x2f6471[_0x2f6471['NOT_FOUND']=0x4]='NOT_FOUND',_0x2f6471[_0x2f6471[_0x1c333e(0x161)]=0x5]=_0x1c333e(0x161),_0x2f6471[_0x2f6471[_0x1c333e(0x160)]=0x6]=_0x1c333e(0x160),_0x2f6471[_0x2f6471['INVALID_ARGUMENT']=0x7]=_0x1c333e(0x23c),_0x2f6471[_0x2f6471[_0x1c333e(0x32d)]=0x8]=_0x1c333e(0x32d),_0x2f6471[_0x2f6471[_0x1c333e(0x2c3)]=0x9]=_0x1c333e(0x2c3),_0x2f6471[_0x2f6471[_0x1c333e(0x2fa)]=0xa]='LOGIN_FAILED',_0x2f6471[_0x2f6471[_0x1c333e(0x118)]=0xb]=_0x1c333e(0x118),_0x2f6471[_0x2f6471['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1c333e(0x377),_0x2f6471[_0x2f6471[_0x1c333e(0x1f7)]=0xd]=_0x1c333e(0x1f7),_0x2f6471[_0x2f6471[_0x1c333e(0x164)]=0xe]=_0x1c333e(0x164),_0x2f6471[_0x2f6471[_0x1c333e(0x1c6)]=0xf]=_0x1c333e(0x1c6),_0x2f6471[_0x2f6471[_0x1c333e(0x8b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x2f6471[_0x2f6471[_0x1c333e(0x38d)]=0x64]=_0x1c333e(0x38d),_0x2f6471[_0x2f6471[_0x1c333e(0x380)]=0x65]='ERROR_AGAIN',_0x2f6471[_0x2f6471[_0x1c333e(0x20c)]=0xc9]=_0x1c333e(0x20c),_0x2f6471[_0x2f6471['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x2f6471[_0x2f6471[_0x1c333e(0x177)]=0x1389]=_0x1c333e(0x177),_0x2f6471[_0x2f6471[_0x1c333e(0x30a)]=0x1771]=_0x1c333e(0x30a),_0x2f6471[_0x2f6471[_0x1c333e(0xa8)]=0x1772]=_0x1c333e(0xa8),_0x2f6471[_0x2f6471['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1c333e(0xf2),_0x2f6471[_0x2f6471['APPLY_REJECT']=0x1b59]=_0x1c333e(0x297),_0x2f6471[_0x2f6471[_0x1c333e(0x21e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2f6471[_0x2f6471[_0x1c333e(0x201)]=0x1b5b]=_0x1c333e(0x201),_0x2f6471[_0x2f6471[_0x1c333e(0x11d)]=0x1b5c]=_0x1c333e(0x11d),_0x2f6471[_0x2f6471[_0x1c333e(0x264)]=0x1b5d]=_0x1c333e(0x264),_0x2f6471[_0x2f6471['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1c333e(0x84),_0x2f6471[_0x2f6471[_0x1c333e(0x7e)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f6471[_0x2f6471['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2f6471[_0x2f6471['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2f6471[_0x2f6471[_0x1c333e(0x2a6)]=0x232c]=_0x1c333e(0x2a6),_0x2f6471[_0x2f6471[_0x1c333e(0x279)]=0x232d]=_0x1c333e(0x279),_0x2f6471[_0x2f6471[_0x1c333e(0xb8)]=0x2711]=_0x1c333e(0xb8),_0x2f6471[_0x2f6471['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1c333e(0x26e),_0x2f6471[_0x2f6471[_0x1c333e(0x1c3)]=0x2713]=_0x1c333e(0x1c3),_0x2f6471[_0x2f6471[_0x1c333e(0x386)]=0x2714]=_0x1c333e(0x386),_0x2f6471[_0x2f6471['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2f6471[_0x2f6471[_0x1c333e(0x123)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2f6471[_0x2f6471['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1c333e(0x29c),_0x2f6471[_0x2f6471[_0x1c333e(0x229)]=0x271d]=_0x1c333e(0x229),_0x2f6471[_0x2f6471[_0x1c333e(0xbb)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2f6471[_0x2f6471[_0x1c333e(0x2fc)]=0x271f]=_0x1c333e(0x2fc),_0x2f6471[_0x2f6471['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1c333e(0x2e1),_0x2f6471[_0x2f6471['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1c333e(0x383),_0x2f6471[_0x2f6471[_0x1c333e(0x361)]=0x2ee1]=_0x1c333e(0x361),_0x2f6471[_0x2f6471[_0x1c333e(0x99)]=0x2ee2]=_0x1c333e(0x99),_0x2f6471[_0x2f6471['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1c333e(0x387),_0x2f6471[_0x2f6471[_0x1c333e(0x127)]=0x2ee4]=_0x1c333e(0x127),_0x2f6471[_0x2f6471[_0x1c333e(0xb3)]=0x2ee5]=_0x1c333e(0xb3),_0x2f6471[_0x2f6471[_0x1c333e(0x1ce)]=0x32c9]=_0x1c333e(0x1ce),_0x2f6471[_0x2f6471[_0x1c333e(0x15e)]=0x32ca]=_0x1c333e(0x15e),_0x2f6471[_0x2f6471[_0x1c333e(0x173)]=0x32cb]=_0x1c333e(0x173),_0x2f6471[_0x2f6471[_0x1c333e(0x2a9)]=0x36b1]=_0x1c333e(0x2a9),_0x2f6471[_0x2f6471[_0x1c333e(0x16b)]=0x36b2]=_0x1c333e(0x16b),_0x2f6471[_0x2f6471['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1c333e(0x35f),_0x2f6471[_0x2f6471[_0x1c333e(0x1dc)]=0x36b4]=_0x1c333e(0x1dc),_0x2f6471[_0x2f6471[_0x1c333e(0x10b)]=0x3715]=_0x1c333e(0x10b),_0x2f6471[_0x2f6471['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x1c333e(0x2bc),_0x2f6471[_0x2f6471[_0x1c333e(0x21c)]=0x37dd]=_0x1c333e(0x21c),_0x2f6471[_0x2f6471[_0x1c333e(0x2f3)]=0x3a99]=_0x1c333e(0x2f3),_0x2f6471[_0x2f6471[_0x1c333e(0xb4)]=0x3a9a]=_0x1c333e(0xb4),_0x2f6471[_0x2f6471[_0x1c333e(0x17b)]=0x3a9b]=_0x1c333e(0x17b),_0x2f6471[_0x2f6471[_0x1c333e(0xc6)]=0x3a9c]=_0x1c333e(0xc6),_0x2f6471[_0x2f6471[_0x1c333e(0x165)]=0x3a9d]=_0x1c333e(0x165),_0x2f6471[_0x2f6471[_0x1c333e(0x15d)]=0x3a9e]=_0x1c333e(0x15d),_0x2f6471[_0x2f6471[_0x1c333e(0x9d)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2f6471[_0x2f6471[_0x1c333e(0x1d1)]=-0x1]=_0x1c333e(0x1d1),_0x2f6471))(vi||{}),Q=(_0x2a026d=>(_0x2a026d[_0x2a026d[_0x1c333e(0x28c)]=0x0]=_0x1c333e(0x28c),_0x2a026d[_0x2a026d[_0x1c333e(0x1a5)]=0x1]='UNIVER_DOC',_0x2a026d[_0x2a026d[_0x1c333e(0xeb)]=0x2]=_0x1c333e(0xeb),_0x2a026d[_0x2a026d[_0x1c333e(0x290)]=0x3]=_0x1c333e(0x290),_0x2a026d[_0x2a026d[_0x1c333e(0x2f2)]=0x4]=_0x1c333e(0x2f2),_0x2a026d[_0x2a026d[_0x1c333e(0x1d1)]=-0x1]='UNRECOGNIZED',_0x2a026d))(Q||{}),F=(_0x49face=>(_0x49face[_0x49face[_0x1c333e(0x2ef)]=0x0]=_0x1c333e(0x2ef),_0x49face[_0x49face['HELLO']=0x1]='HELLO',_0x49face[_0x49face['JOIN']=0x2]=_0x1c333e(0x77),_0x49face[_0x49face[_0x1c333e(0x12a)]=0x3]=_0x1c333e(0x12a),_0x49face[_0x49face[_0x1c333e(0x267)]=0x4]=_0x1c333e(0x267),_0x49face[_0x49face[_0x1c333e(0xd5)]=0x5]=_0x1c333e(0xd5),_0x49face[_0x49face[_0x1c333e(0x33d)]=0x6]=_0x1c333e(0x33d),_0x49face[_0x49face[_0x1c333e(0x1d1)]=-0x1]=_0x1c333e(0x1d1),_0x49face))(F||{}),pe=(_0x2e1a06=>(_0x2e1a06[_0x2e1a06[_0x1c333e(0x91)]=0x0]=_0x1c333e(0x91),_0x2e1a06[_0x2e1a06['OK']=0x1]='OK',_0x2e1a06[_0x2e1a06[_0x1c333e(0x32a)]=0x2]=_0x1c333e(0x32a),_0x2e1a06[_0x2e1a06[_0x1c333e(0xdb)]=0x3e9]=_0x1c333e(0xdb),_0x2e1a06[_0x2e1a06[_0x1c333e(0x13b)]=0x3ea]=_0x1c333e(0x13b),_0x2e1a06[_0x2e1a06[_0x1c333e(0x1a6)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2e1a06[_0x2e1a06['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x1c333e(0x131),_0x2e1a06[_0x2e1a06[_0x1c333e(0x1d1)]=-0x1]='UNRECOGNIZED',_0x2e1a06))(pe||{}),pi=(_0x55bf6f=>(_0x55bf6f[_0x55bf6f[_0x1c333e(0x31c)]=0x0]='Undefined',_0x55bf6f[_0x55bf6f['HttpImport']=0x1]=_0x1c333e(0x32c),_0x55bf6f[_0x55bf6f[_0x1c333e(0x33a)]=0x2]=_0x1c333e(0x33a),_0x55bf6f[_0x55bf6f[_0x1c333e(0x24f)]=0x3]=_0x1c333e(0x24f),_0x55bf6f[_0x55bf6f[_0x1c333e(0xa5)]=0x4]=_0x1c333e(0xa5),_0x55bf6f[_0x55bf6f[_0x1c333e(0x2eb)]=0x5]=_0x1c333e(0x2eb),_0x55bf6f[_0x55bf6f[_0x1c333e(0xf0)]=0x6]=_0x1c333e(0xf0),_0x55bf6f[_0x55bf6f[_0x1c333e(0x1d1)]=-0x1]=_0x1c333e(0x1d1),_0x55bf6f))(pi||{});const Cs='collaboration_new_changeset';function Ns(_0x32fa2c){var _0x3b8ef8=_0x1c333e;return JSON[_0x3b8ef8(0x370)](_0x32fa2c)[_0x3b8ef8(0x162)];}var re=(_0x2590c6=>(_0x2590c6[_0x1c333e(0x96)]=_0x1c333e(0x96),_0x2590c6[_0x1c333e(0x314)]=_0x1c333e(0x314),_0x2590c6[_0x1c333e(0x180)]=_0x1c333e(0x180),_0x2590c6[_0x1c333e(0x24e)]=_0x1c333e(0x24e),_0x2590c6[_0x1c333e(0x316)]='JOIN_ROOM_FAILED',_0x2590c6[_0x1c333e(0x36d)]='SOCKET_FAILED_RETRY',_0x2590c6['SOCKET_FAILED']=_0x1c333e(0xae),_0x2590c6[_0x1c333e(0x13a)]=_0x1c333e(0x13a),_0x2590c6))(re||{});class ve{constructor(){var _0x355b53=_0x1c333e;D(this,_0x355b53(0x257),new _0x2a38ce()),D(this,_0x355b53(0xcc),this[_0x355b53(0x257)][_0x355b53(0x1bc)]());}[_0x1c333e(0x295)](_0x28a2fd){this['_event$']['next'](_0x28a2fd);}}class Ei{constructor(){var _0xd4b005=_0x1c333e;D(this,'_commentUpdate$',new _0x2a38ce()),D(this,'commentUpdate$',this[_0xd4b005(0x23d)][_0xd4b005(0x1bc)]());}[_0x1c333e(0x12f)](_0x8bfeeb){var _0x3922fc=_0x1c333e;this[_0x3922fc(0x23d)][_0x3922fc(0x149)](_0x8bfeeb);}}var bs=Object[_0x1c333e(0x31e)],Ds=(_0x129984,_0x54a724,_0x7337a,_0x23d5de)=>{for(var _0xb4d1a2=_0x23d5de>0x1?void 0x0:_0x23d5de?bs(_0x54a724,_0x7337a):_0x54a724,_0x2021ce=_0x129984['length']-0x1,_0x235ee0;_0x2021ce>=0x0;_0x2021ce--)(_0x235ee0=_0x129984[_0x2021ce])&&(_0xb4d1a2=_0x235ee0(_0xb4d1a2)||_0xb4d1a2);return _0xb4d1a2;},Ft=(_0x3f92c9,_0x45ff86)=>(_0x2c91db,_0x1a71e8)=>_0x45ff86(_0x2c91db,_0x1a71e8,_0x3f92c9);let Pe=class extends _0x34f54e{constructor(_0x29b1a2,_0x5c8ad3){var _0x4c5ec8=_0x1c333e;super(),D(this,_0x4c5ec8(0x36a),new Map()),D(this,_0x4c5ec8(0x307),new _0x2a38ce()),(this['_univerInstanceService']=_0x29b1a2,this[_0x4c5ec8(0x309)]=_0x5c8ad3,this[_0x4c5ec8(0x2d9)](_0x3e3aeb(this['_univerInstanceService'][_0x4c5ec8(0x72)](_0x1a510f[_0x4c5ec8(0xeb)])[_0x4c5ec8(0x31f)](_0x337713(_0x32f3a7=>_0x32f3a7[_0x4c5ec8(0x1b8)]())),this[_0x4c5ec8(0x137)]['getTypeOfUnitDisposed$'](_0x1a510f[_0x4c5ec8(0x1a5)])[_0x4c5ec8(0x31f)](_0x337713(_0x4ff2da=>_0x4ff2da[_0x4c5ec8(0x1b8)]())),this[_0x4c5ec8(0x137)][_0x4c5ec8(0x72)](_0x1a510f[_0x4c5ec8(0x290)])[_0x4c5ec8(0x31f)](_0x337713(_0x4981cf=>_0x4981cf[_0x4c5ec8(0x1b8)]())))['subscribe'](_0x46e03f=>this[_0x4c5ec8(0x1d9)](_0x46e03f))));}['waitForRoom$'](_0x3dc1b0){var _0x517936=_0x1c333e;return this['_roomMembers']['has'](_0x3dc1b0)?_0x2b5448(this['_roomMembers'][_0x517936(0x122)](_0x3dc1b0)):this[_0x517936(0x307)][_0x517936(0x31f)](_0x337713(_0x14b956=>{var _0x1fb475=_0x517936;if(_0x14b956===_0x3dc1b0)return this['_roomMembers'][_0x1fb475(0x122)](_0x14b956);}));}[_0x1c333e(0x1a3)](_0x250b13){var _0x238441=_0x1c333e;this[_0x238441(0x309)][_0x238441(0x1a3)](_0x250b13);}[_0x1c333e(0x25b)](){var _0x5b562a=_0x1c333e;return this[_0x5b562a(0x309)][_0x5b562a(0x25b)]();}[_0x1c333e(0x1cf)](_0x345cb4,_0x5acb08){var _0x545f49=_0x1c333e;let _0x17a89d=this[_0x545f49(0x36a)]['get'](_0x345cb4);_0x17a89d||(_0x17a89d=new ys(),this['_roomMembers'][_0x545f49(0x232)](_0x345cb4,_0x17a89d),this[_0x545f49(0x307)][_0x545f49(0x149)](_0x345cb4)),_0x17a89d[_0x545f49(0x1cf)](_0x5acb08);}[_0x1c333e(0x2bf)](_0x14abca,_0x30bf1a){var _0x2a6f43=_0x1c333e;const _0x743efb=this['_roomMembers']['get'](_0x14abca);_0x743efb&&_0x743efb[_0x2a6f43(0x2bf)](_0x30bf1a);}[_0x1c333e(0x213)](_0x1d93da){var _0x19fd4c=_0x1c333e;return this[_0x19fd4c(0x36a)]['get'](_0x1d93da);}['getMember'](_0x194692,_0x571113){var _0x3e5368=_0x1c333e;const _0x10b621=this[_0x3e5368(0x36a)][_0x3e5368(0x122)](_0x194692);if(_0x10b621)return _0x10b621[_0x3e5368(0x336)](_0x571113);}[_0x1c333e(0x1d9)](_0x16c037){var _0xf89a8b=_0x1c333e;const _0x120486=this[_0xf89a8b(0x36a)][_0xf89a8b(0x122)](_0x16c037);_0x120486&&(_0x120486[_0xf89a8b(0x105)](),this[_0xf89a8b(0x36a)][_0xf89a8b(0x27e)](_0x16c037));}[_0x1c333e(0x105)](){var _0x257a3e=_0x1c333e;this[_0x257a3e(0x36a)][_0x257a3e(0x2c6)](_0x1c3b65=>_0x1c3b65[_0x257a3e(0x105)]()),this['_roomMembers'][_0x257a3e(0x238)](),this['_roomCreated$']['complete']();}};Pe=Ds([Ft(0x0,_0x498d5c),Ft(0x1,_0x127c6e(_0x2f24ae))],Pe);class ys extends _0x34f54e{constructor(){var _0x281657=_0x1c333e;super(...arguments),D(this,'_members',new Map()),D(this,'_members$',new _0x3033b2(this[_0x281657(0x2d8)])),D(this,_0x281657(0x205),this[_0x281657(0x310)][_0x281657(0x1bc)]());}[_0x1c333e(0x105)](){var _0x3cc419=_0x1c333e;this[_0x3cc419(0x2d8)]['clear']();}[_0x1c333e(0x1cf)](_0x1b555f){var _0x339ea1=_0x1c333e;this[_0x339ea1(0x2d8)]['set'](_0x1b555f[_0x339ea1(0x2b1)],_0x1b555f),this['_emitMembers']();}['removeMember'](_0x1cf064){var _0x54d931=_0x1c333e;this['_members'][_0x54d931(0x27e)](_0x1cf064);}[_0x1c333e(0x336)](_0x28431f){var _0x35789e=_0x1c333e;return this[_0x35789e(0x2d8)][_0x35789e(0x122)](_0x28431f);}[_0x1c333e(0x1b0)](){var _0x49a7b8=_0x1c333e;return Array[_0x49a7b8(0x381)](this[_0x49a7b8(0x2d8)][_0x49a7b8(0x2b6)]());}[_0x1c333e(0x80)](){var _0xc6d943=_0x1c333e;this[_0xc6d943(0x310)]['next'](this['_members']);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0xc3dd8e,_0x407ff4,_0x5b140c,_0x3d8347)=>{var _0x39ac53=_0x1c333e;for(var _0x30d774=_0x3d8347>0x1?void 0x0:_0x3d8347?Us(_0x407ff4,_0x5b140c):_0x407ff4,_0x85513b=_0xc3dd8e[_0x39ac53(0x162)]-0x1,_0xb58f41;_0x85513b>=0x0;_0x85513b--)(_0xb58f41=_0xc3dd8e[_0x85513b])&&(_0x30d774=_0xb58f41(_0x30d774)||_0x30d774);return _0x30d774;},Oe=(_0x5e5218,_0x4b5384)=>(_0x581cee,_0x3be312)=>_0x4b5384(_0x581cee,_0x3be312,_0x5e5218),me=(_0x8e47a3=>(_0x8e47a3[_0x8e47a3['IDLE']=0x0]=_0x1c333e(0x333),_0x8e47a3[_0x8e47a3['JOINING']=0x1]=_0x1c333e(0x153),_0x8e47a3[_0x8e47a3[_0x1c333e(0x198)]=0x2]=_0x1c333e(0x198),_0x8e47a3[_0x8e47a3[_0x1c333e(0x359)]=0x3]=_0x1c333e(0x359),_0x8e47a3))(me||{});const Vt={[pe['FAIL']]:'session.join-failed',[pe[_0x1c333e(0xdb)]]:_0x1c333e(0x141),[pe[_0x1c333e(0x13b)]]:_0x1c333e(0x23a),[pe[_0x1c333e(0x1a6)]]:'session.room-permission-denied',[pe[_0x1c333e(0x131)]]:_0x1c333e(0x345)};let mt=class extends _0x3d746a{constructor(_0x24dde6,_0x2b66d5,_0xd42ff9,_0x20a0f7,_0x1015d2,_0x36aa92,_0x89b164,_0x4a8909){var _0x40647f=_0x1c333e;super(),D(this,'_sessionStatus$',new _0x3033b2(0x0)),D(this,'sessionStatus$',this['_sessionStatus$'][_0x40647f(0x1bc)]()),D(this,_0x40647f(0x257),new _0x2a38ce()),D(this,_0x40647f(0xcc),this['_event$']['asObservable']()),D(this,'_socket'),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x40647f(0x199),!0x1),D(this,_0x40647f(0x369),null),(this[_0x40647f(0x230)]=_0x24dde6,this[_0x40647f(0xc1)]=_0xd42ff9,this['_configService']=_0x20a0f7,this[_0x40647f(0x25d)]=_0x1015d2,this[_0x40647f(0xa9)]=_0x36aa92,this[_0x40647f(0x344)]=_0x89b164,this['_telemetryService']=_0x4a8909,this[_0x40647f(0x199)]=!!this[_0x40647f(0x27f)],_0x2b66d5[_0x40647f(0x31f)](_0x11a8eb(this[_0x40647f(0x346)]))[_0x40647f(0x14f)](_0x92b04a=>{var _0x1ba1e6=_0x40647f,_0x3e9caf;typeof _0x92b04a>'u'||(this[_0x1ba1e6(0x17f)]=_0x92b04a,_0x92b04a?(this[_0x1ba1e6(0x323)](_0x92b04a),this[_0x1ba1e6(0x2b5)]=_0x92b04a[_0x1ba1e6(0x9b)][_0x1ba1e6(0x14f)](_0x34da52=>{var _0x57b7ab=_0x1ba1e6;_0x34da52['routeKey']===this[_0x57b7ab(0x230)]&&this[_0x57b7ab(0x1e3)](_0x34da52);})):(this[_0x1ba1e6(0x2e8)](),this['_sessionStatus$']['next'](0x2),(_0x3e9caf=this[_0x1ba1e6(0x2b5)])==null||_0x3e9caf['unsubscribe'](),this[_0x1ba1e6(0x2b5)]=null));}));}get['sessionStatus'](){var _0x26e869=_0x1c333e;return this[_0x26e869(0x271)][_0x26e869(0x215)]();}[_0x1c333e(0x276)](){var _0x285ce9=_0x1c333e,_0x391909,_0x1911a6;return(_0x1911a6=(_0x391909=this[_0x285ce9(0x17f)])==null?void 0x0:_0x391909[_0x285ce9(0x2b1)])!=null?_0x1911a6:null;}[_0x1c333e(0x105)](){var _0x300097=_0x1c333e;super[_0x300097(0x105)](),this['dispose$'][_0x300097(0x149)](),this['dispose$'][_0x300097(0x343)]();}[_0x1c333e(0x128)](){var _0x33e079=_0x1c333e,_0x2ec369,_0x1ded8c;this[_0x33e079(0x2e8)](),(_0x2ec369=this['_socket'])==null||_0x2ec369['send']({'cmd':F[_0x33e079(0x12a)],'data':{'roomID':this[_0x33e079(0x230)]}}),(_0x1ded8c=this[_0x33e079(0x17f)])==null||_0x1ded8c['close'](),this[_0x33e079(0x257)][_0x33e079(0x343)](),this[_0x33e079(0x271)]['complete'](),this[_0x33e079(0x105)]();}['_onCombEvent'](_0x1346ac){var _0x31006a=_0x1c333e;_0x1346ac['cmd']===F[_0x31006a(0x77)]?this[_0x31006a(0x38c)](_0x1346ac):_0x1346ac['cmd']===F['RECV']&&this[_0x31006a(0xc7)](_0x1346ac);}[_0x1c333e(0x323)](_0x4effad){var _0x47afe8=_0x1c333e;this[_0x47afe8(0x271)]['next'](0x1),_0x4effad[_0x47afe8(0x2a2)]({'cmd':F[_0x47afe8(0x77)],'routeKey':this[_0x47afe8(0x230)],'routeType':'','data':{'rooms':[{'roomID':this[_0x47afe8(0x230)]}]}});}[_0x1c333e(0x38c)](_0x4acf98){var _0x249d84=_0x1c333e,_0x3872c4;if(_0x4acf98[_0x249d84(0x211)]in Vt){this[_0x249d84(0x344)][_0x249d84(0x295)]({'id':re[_0x249d84(0x316)],'data':Vt[_0x4acf98[_0x249d84(0x211)]]}),this['_sessionStatus$'][_0x249d84(0x149)](0x2);return;}this[_0x249d84(0x271)][_0x249d84(0x149)](0x3);const _0x1b47cc=(_0x3872c4=_0x4acf98['data']['roomInfos'][this[_0x249d84(0x230)]])==null?void 0x0:_0x3872c4[_0x249d84(0x322)];_0x1b47cc&&_0x1b47cc[_0x249d84(0x2c6)](_0x44d70b=>this[_0x249d84(0x25d)]['updateMember'](this[_0x249d84(0x230)],_0x44d70b));}[_0x1c333e(0xc7)](_0x783056){var _0x3720f8=_0x1c333e;try{const _0x15427b=_0x783056['data'];switch(_0x15427b[_0x3720f8(0xe8)]){case _0x49b802['USERS_ENTER']:this[_0x3720f8(0x19b)](_0x15427b),this['_event$'][_0x3720f8(0x149)](_0x15427b);break;case _0x49b802[_0x3720f8(0x302)]:this[_0x3720f8(0x97)](_0x15427b),this[_0x3720f8(0x257)][_0x3720f8(0x149)](_0x15427b);break;case _0x49b802['CHANGESET_ACK']:case _0x49b802[_0x3720f8(0xb7)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3720f8(0x35d)](),this[_0x3720f8(0x257)][_0x3720f8(0x149)](_0x15427b);break;case _0x49b802['MSG_FOR_ERROR']:this[_0x3720f8(0xc1)][_0x3720f8(0x2c1)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x3720f8(0x370)](_0x15427b)),this[_0x3720f8(0x257)][_0x3720f8(0x149)](_0x15427b);break;case _0x49b802[_0x3720f8(0x2f1)]:this[_0x3720f8(0xa9)][_0x3720f8(0x12f)](_0x15427b['data']),this[_0x3720f8(0x257)][_0x3720f8(0x149)](_0x15427b);break;default:this['_event$'][_0x3720f8(0x149)](_0x15427b);}}catch(_0x51580a){this[_0x3720f8(0xc1)][_0x3720f8(0x2c1)](_0x51580a,_0x783056);}}[_0x1c333e(0x19b)](_0x5b8d0d){var _0x254518=_0x1c333e;this[_0x254518(0x25d)][_0x254518(0x1cf)](this[_0x254518(0x230)],_0x5b8d0d['data']);}[_0x1c333e(0x97)](_0x33a0af){var _0x5d00d7=_0x1c333e;this[_0x5d00d7(0x25d)][_0x5d00d7(0x2bf)](this[_0x5d00d7(0x230)],_0x33a0af[_0x5d00d7(0xfa)][_0x5d00d7(0x2b1)]);}async[_0x1c333e(0x2a2)](_0x464d27,_0x1dfecb){var _0x41c4dc=_0x1c333e;if(this[_0x41c4dc(0x9e)]!==0x3||!this['_socket'])throw new Error(_0x41c4dc(0xda));try{_0x464d27[_0x41c4dc(0xe8)]===_0x49b802[_0x41c4dc(0x78)]&&(this[_0x41c4dc(0x242)](),this['_startTelemetryCollaborationNewChangeset'](_0x464d27)),this[_0x41c4dc(0x17f)][_0x41c4dc(0x2a2)]({'cmd':F[_0x41c4dc(0x267)],'routeKey':_0x1dfecb,'routeType':'','data':_0x464d27});}catch(_0x2ace26){this[_0x41c4dc(0xc1)][_0x41c4dc(0x2c1)](_0x2ace26);}}[_0x1c333e(0x242)](){var _0x1fd751=_0x1c333e,_0x22cd4d;this[_0x1fd751(0x26a)]=setTimeout(()=>{var _0x30b3eb=_0x1fd751;this[_0x30b3eb(0x26a)]=null,this[_0x30b3eb(0x344)][_0x30b3eb(0x295)]({'id':re[_0x30b3eb(0x13a)]});},(_0x22cd4d=this[_0x1fd751(0x14c)][_0x1fd751(0x1b6)](di))!=null?_0x22cd4d:fi);}[_0x1c333e(0x35d)](){var _0x2a7346=_0x1c333e;this[_0x2a7346(0x26a)]&&(clearTimeout(this[_0x2a7346(0x26a)]),this[_0x2a7346(0x26a)]=null);}[_0x1c333e(0x286)](_0x3fac3b){var _0x49b214=_0x1c333e;if(!this[_0x49b214(0x199)])return;const {data:_0x31ad87}=_0x3fac3b,{unitID:_0x4e5206,changeset:_0x16863e}=_0x31ad87,{mutations:_0x507ad9,type:_0x17cdcd}=_0x16863e;this[_0x49b214(0x369)]={'unitId':_0x4e5206,'type':_0x17cdcd,'startTime':performance[_0x49b214(0x2c4)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x507ad9)};}['_stopTelemetryCollaborationNewChangeset'](){var _0xc6eb7=_0x1c333e;if(this[_0xc6eb7(0x199)]){if(!this[_0xc6eb7(0x369)]){this[_0xc6eb7(0xc1)]['error']('[CollaborationSession]',_0xc6eb7(0x1ff));return;}this['_telemetryInfo'][_0xc6eb7(0x212)]=performance['now'](),this[_0xc6eb7(0x369)]['duration']=this[_0xc6eb7(0x369)][_0xc6eb7(0x212)]-this[_0xc6eb7(0x369)][_0xc6eb7(0x17c)],this[_0xc6eb7(0x27f)][_0xc6eb7(0x266)](Cs,this[_0xc6eb7(0x369)]),this[_0xc6eb7(0x369)]=null;}}[_0x1c333e(0x2e8)](){var _0x1ad3c5=_0x1c333e;this[_0x1ad3c5(0x369)]=null;}};mt=As([Oe(0x2,_0xab01ef),Oe(0x3,_0x50b237),Oe(0x4,_0x127c6e(Pe)),Oe(0x5,_0x127c6e(Ei)),Oe(0x6,_0x127c6e(ve)),Oe(0x7,_0x4c8504(_0x12151c))],mt);const J=_0x4d4bb1(_0x1c333e(0x1fa));function _0x9d4b(_0x1d0e82,_0x26c56c){var _0x5cf66e=_0x5cf6();return _0x9d4b=function(_0x9d4bf0,_0x159ebe){_0x9d4bf0=_0x9d4bf0-0x72;var _0x151aec=_0x5cf66e[_0x9d4bf0];return _0x151aec;},_0x9d4b(_0x1d0e82,_0x26c56c);}function Nr(_0x2871b9){return'unit-cache-'+_0x2871b9;}var Ps=Object[_0x1c333e(0x31e)],ws=(_0x11be8a,_0x256af8,_0x39f5c9,_0x4dbc00)=>{var _0x26d65f=_0x1c333e;for(var _0x466051=_0x4dbc00>0x1?void 0x0:_0x4dbc00?Ps(_0x256af8,_0x39f5c9):_0x256af8,_0x526ab3=_0x11be8a[_0x26d65f(0x162)]-0x1,_0x3044d3;_0x526ab3>=0x0;_0x526ab3--)(_0x3044d3=_0x11be8a[_0x526ab3])&&(_0x466051=_0x3044d3(_0x466051)||_0x466051);return _0x466051;},ut=(_0x326117,_0x5a2fa4)=>(_0x36087d,_0x44fba9)=>_0x5a2fa4(_0x36087d,_0x44fba9,_0x326117);function Ms(_0x440f17){var _0x4b88a2=_0x1c333e;const {unitID:_0x33ac26,mutations:_0x59cc0c}=_0x440f17;return{'unitId':_0x33ac26,'subUnitId':_0x59cc0c[0x0][_0x4b88a2(0x23e)][_0x4b88a2(0x373)]};}let it=class{constructor(_0x2d9016,_0x14e728,_0x113d3c){var _0x28d137=_0x1c333e;this['_injector']=_0x2d9016,this['_transformService']=_0x14e728,this[_0x28d137(0x1da)]=_0x113d3c;}['transformSelections'](_0x35b776){var _0x2980eb=_0x1c333e,_0x123a7f,_0x31868d,_0x13c0fa,_0x142516;const _0x207408=this['_injector'][_0x2980eb(0x122)](_0x2ad32e),{unitId:_0x3048b7,subUnitId:_0x58c9d7}=Ms(_0x35b776),_0x13c322=_0x207408==null?void 0x0:_0x207408['getWorkbookSelections'](_0x3048b7)[_0x2980eb(0x339)](),_0x147d7c=(_0x31868d=(_0x123a7f=this[_0x2980eb(0x1da)][_0x2980eb(0x20e)](_0x3048b7))==null?void 0x0:_0x123a7f[_0x2980eb(0x11c)]())==null?void 0x0:_0x31868d[_0x2980eb(0x328)]();if(_0x13c322[_0x2980eb(0x162)]===0x0||!_0x3048b7||!_0x58c9d7)return;const _0x5586ce=[{'id':_0xef3ea2['id'],'params':{'unitId':_0x3048b7,'subUnitId':_0x147d7c,'selections':_0x24078b['deepClone'](_0x13c322)}}],_0x105bc1=this[_0x2980eb(0x245)]['transformMutationsWithChangeset'](_0x35b776,_0x5586ce);if(!_0xfdaf08(_0x105bc1))throw _0x105bc1[_0x2980eb(0x2c1)];const _0x1c0e9a=(_0x142516=(_0x13c0fa=_0x105bc1[_0x2980eb(0x275)][0x0])==null?void 0x0:_0x13c0fa[_0x2980eb(0x23e)])==null?void 0x0:_0x142516[_0x2980eb(0xab)];if(Array[_0x2980eb(0x22c)](_0x1c0e9a)&&_0x1c0e9a[_0x2980eb(0x162)]){if(_0x1c0e9a[_0x2980eb(0x162)]===_0x5586ce[0x0]['params'][_0x2980eb(0xab)]['length']&&_0x1c0e9a['every']((_0x4fe0ab,_0xb6d7eb)=>_0x5dcf6c[_0x2980eb(0x21a)](_0x4fe0ab[_0x2980eb(0x34a)],_0x5586ce[0x0]['params'][_0x2980eb(0xab)][_0xb6d7eb][_0x2980eb(0x34a)])))return;this['_injector'][_0x2980eb(0x122)](_0x587b1a)[_0x2980eb(0x312)](_0xef3ea2['id'],{'unitId':_0x3048b7,'subUnitId':_0x147d7c,'selections':_0x1c0e9a});}}};it=ws([ut(0x0,_0x127c6e(_0x26bcb2)),ut(0x1,_0xa73e93),ut(0x2,_0x498d5c)],it);const _t=_0x4d4bb1(_0x1c333e(0x190));var mi=(_0x1f63eb=>(_0x1f63eb[_0x1f63eb[_0x1c333e(0x37a)]=0x0]=_0x1c333e(0x37a),_0x1f63eb[_0x1f63eb[_0x1c333e(0x28a)]=0x1]=_0x1c333e(0x28a),_0x1f63eb))(mi||{});const K='collaboration-client.config',Ls={},xs=new Set([_0x41daa1['id']]);function Gt(_0x54b21e,_0x1ce89b,_0x2fc57b,_0x2d193a,_0x36b721){var _0x4d4c39=_0x1c333e,_0x3ada65,_0x4bd74b,_0x1e8033,_0x120d6c;const _0x28a8e0=[];for(const _0x51ea72 of _0x54b21e)if(xs[_0x4d4c39(0xe6)](_0x51ea72['id'])){if(_0x28a8e0[_0x4d4c39(0x162)]>0x0)break;_0x28a8e0['push'](_0x51ea72);break;}else _0x28a8e0[_0x4d4c39(0x31d)](_0x51ea72);const _0x4da021=(_0x4bd74b=(_0x3ada65=_0x36b721['getCurrentUser']())==null?void 0x0:_0x3ada65[_0x4d4c39(0x356)])!=null?_0x4bd74b:_0x4d4c39(0x1a0),_0x1fff6c=(_0x120d6c=(_0x1e8033=_0x36b721[_0x4d4c39(0x25b)]())==null?void 0x0:_0x1e8033[_0x4d4c39(0x2b1)])!=null?_0x120d6c:_0x4d4c39(0x1a0);return{'changeset':{'unitID':_0x1ce89b,'type':_0x4d91c0(_0x2fc57b[_0x4d4c39(0xfe)](_0x1ce89b)),'baseRev':_0x2d193a['getCurrentRevOfUnit'](_0x1ce89b),'revision':0x0,'userID':_0x4da021,'memberID':_0x1fff6c,'mutations':_0x28a8e0},'pendingMutations':_0x54b21e[_0x4d4c39(0x158)](_0x28a8e0['length'])};}function ks(_0x2ab0cf,_0x5a939e,_0x3abc47,_0x2f083f,_0xfa4edc){var _0x2ac135=_0x1c333e,_0x575a42,_0x2edba2,_0x31c1dd,_0x40ae99;const _0xdea20d=[_0x2ab0cf[_0x2ac135(0x30c)]((_0x1d504c,_0x4d695e)=>{var _0x27dc68=_0x2ac135,_0x770823;const {id:_0x18c0ec}=_0x1d504c,{id:_0x450644,type:_0x15028c}=_0x4d695e,_0x508cf8=(_0x770823=_0x1d504c[_0x27dc68(0x23e)])!=null?_0x770823:{'actions':null},_0x2b1105=_0x4d695e[_0x27dc68(0x23e)];if(_0x18c0ec&&_0x18c0ec!==_0x450644)throw new Error(_0x27dc68(0x35a)+_0x18c0ec+_0x27dc68(0x1fc)+_0x450644+'.');return{..._0x1d504c,'id':_0x450644,'type':_0x15028c,'params':{'unitId':_0x2b1105['unitId'],'textRanges':_0x2b1105[_0x27dc68(0x1f8)],'actions':_0x19584e[_0x27dc68(0x191)](_0x508cf8[_0x27dc68(0x319)],_0x2b1105[_0x27dc68(0x319)])}};},{})],_0x5d9241=(_0x2edba2=(_0x575a42=_0xfa4edc[_0x2ac135(0x25b)]())==null?void 0x0:_0x575a42[_0x2ac135(0x356)])!=null?_0x2edba2:_0x2ac135(0x1a0),_0x5a7710=(_0x40ae99=(_0x31c1dd=_0xfa4edc['getCurrentUser']())==null?void 0x0:_0x31c1dd[_0x2ac135(0x2b1)])!=null?_0x40ae99:_0x2ac135(0x1a0);return{'changeset':{'unitID':_0x5a939e,'type':_0x4d91c0(_0x3abc47[_0x2ac135(0xfe)](_0x5a939e)),'baseRev':_0x2f083f[_0x2ac135(0x7c)](_0x5a939e),'revision':0x0,'userID':_0x5d9241,'memberID':_0x5a7710,'mutations':_0xdea20d},'pendingMutations':[]};}function Ii(_0x2bbaba,_0x2952b8){var _0x42bf3b=_0x1c333e;const _0x4cbca6=new _0x561af4(0x1);return setTimeout(()=>_0x4cbca6['next'](_0x2952b8),_0x2bbaba),_0x4cbca6['asObservable']()[_0x42bf3b(0x31f)](_0x236e9e(0x1));}const $s={'id':_0x59acbf['id'],'type':_0xbb6252[_0x1c333e(0x129)],'params':{}};var Hs=Object[_0x1c333e(0x31e)],Se=(_0x164cbe,_0x524ca6,_0x533647,_0x180051)=>{var _0x12ccaa=_0x1c333e;for(var _0x205fb2=_0x180051>0x1?void 0x0:_0x180051?Hs(_0x524ca6,_0x533647):_0x524ca6,_0xb2432c=_0x164cbe[_0x12ccaa(0x162)]-0x1,_0x532c15;_0xb2432c>=0x0;_0xb2432c--)(_0x532c15=_0x164cbe[_0xb2432c])&&(_0x205fb2=_0x532c15(_0x205fb2)||_0x205fb2);return _0x205fb2;},w=(_0x5be7ae,_0x33bfc5)=>(_0x3d4df6,_0x4906eb)=>_0x33bfc5(_0x3d4df6,_0x4906eb,_0x5be7ae),Si=(_0x4e95d9=>(_0x4e95d9[_0x1c333e(0x179)]=_0x1c333e(0x289),_0x4e95d9[_0x1c333e(0x2ab)]='synced',_0x4e95d9['PENDING']=_0x1c333e(0x17e),_0x4e95d9[_0x1c333e(0x35c)]='awaiting',_0x4e95d9[_0x1c333e(0x35e)]=_0x1c333e(0x1c0),_0x4e95d9[_0x1c333e(0x196)]=_0x1c333e(0x261),_0x4e95d9[_0x1c333e(0x180)]=_0x1c333e(0x226),_0x4e95d9[_0x1c333e(0x198)]='offline',_0x4e95d9))(Si||{});const gi=0xea60;class ge{constructor(_0x234b77,_0x182e72,_0x808263,_0x15f30b,_0x5970c4,_0x4b9488,_0x4bd004,_0x4f65c7,_0x59d7da){var _0x2a164a=_0x1c333e;D(this,'_awaitingChangeset',null),D(this,_0x2a164a(0x282),[]),(this[_0x2a164a(0x1b9)]=_0x234b77,this[_0x2a164a(0xc4)]=_0x182e72,this['_handler']=_0x5970c4,this['_commandService']=_0x4b9488,this['_undoRedoService']=_0x4bd004,this['_revisionService']=_0x4f65c7,this['_localCacheService']=_0x59d7da,this[_0x2a164a(0xd1)]=_0x808263,this[_0x2a164a(0x282)]=_0x15f30b);}[_0x1c333e(0x1d2)](_0x33e36c){var _0x4e293b=_0x1c333e;const _0x56e8a2=this['_revisionService'][_0x4e293b(0x7c)](this[_0x4e293b(0x1b9)]);return _0x33e36c['revision']>_0x56e8a2+0x1?(this[_0x4e293b(0x37d)][_0x4e293b(0x2d3)]({'from':_0x56e8a2,'to':_0x33e36c[_0x4e293b(0x8d)]-0x1}),!0x0):!0x1;}[_0x1c333e(0x29b)](_0x51b685){var _0x36283c=_0x1c333e;this[_0x36283c(0xce)]['transformUndoRedo'](this[_0x36283c(0x1b9)],_0x51b685);}[_0x1c333e(0x15c)](_0x15e721){var _0x3b7a55,_0x25a08f;(_0x25a08f=(_0x3b7a55=this['_handler'])['onTransformSelections'])==null||_0x25a08f['call'](_0x3b7a55,_0x15e721);}['_transformIMECache'](_0xa8b715){var _0x82268=_0x1c333e,_0x26dd15,_0x36da63;return(_0x36da63=(_0x26dd15=this[_0x82268(0x37d)])[_0x82268(0x134)])==null?void 0x0:_0x36da63[_0x82268(0x376)](_0x26dd15,_0xa8b715);}['_transformStateCache'](_0x1a0470){var _0x230bbd=_0x1c333e,_0x4da8bc,_0x59f920;return(_0x59f920=(_0x4da8bc=this[_0x230bbd(0x37d)])[_0x230bbd(0x292)])==null?void 0x0:_0x59f920[_0x230bbd(0x376)](_0x4da8bc,_0x1a0470);}[_0x1c333e(0x208)](_0x1799d2){var _0x302e49=_0x1c333e,_0x3c2a28,_0x1dcbb8,_0x1e2b96;return(_0x1e2b96=(_0x1dcbb8=(_0x3c2a28=this[_0x302e49(0x37d)])[_0x302e49(0xc2)])==null?void 0x0:_0x1dcbb8[_0x302e49(0x376)](_0x3c2a28,_0x1799d2))!=null?_0x1e2b96:_0x1799d2;}[_0x1c333e(0xb9)](_0x3a8704){var _0x5b038e=_0x1c333e,_0x36c4c6,_0x338a0e,_0x15c9bf;return(_0x15c9bf=(_0x338a0e=(_0x36c4c6=this[_0x5b038e(0x37d)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x338a0e[_0x5b038e(0x376)](_0x36c4c6,_0x3a8704))!=null?_0x15c9bf:_0x3a8704;}[_0x1c333e(0x330)](_0x3decd7){var _0x9d4f31=_0x1c333e,_0x4ce6ab,_0x2973ac;if(this[_0x9d4f31(0xc4)]===Q['UNIVER_DOC']){const {unitID:_0x526592,mutations:_0x2a254d,memberID:_0x1411ae}=_0x3decd7,_0x2d549d=_0x2a254d[0x0][_0x9d4f31(0x23e)][_0x9d4f31(0x1f8)];Array[_0x9d4f31(0x22c)](_0x2d549d)&&_0x2d549d[_0x9d4f31(0x162)]>0x0&&((_0x2973ac=(_0x4ce6ab=this[_0x9d4f31(0x37d)])[_0x9d4f31(0x1e1)])==null||_0x2973ac['call'](_0x4ce6ab,{'unitID':_0x526592,'memberID':_0x1411ae,'textRanges':_0x2d549d}));}}['_updateLocalCache'](){var _0x58d271=_0x1c333e,_0x11960d;(_0x11960d=this[_0x58d271(0xd0)])==null||_0x11960d[_0x58d271(0xa2)](this[_0x58d271(0x1b9)],this[_0x58d271(0xc4)],this[_0x58d271(0xd1)],this[_0x58d271(0x282)]);}['_getCurrentRevision'](){var _0x4ddcca=_0x1c333e;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4ddcca(0x1b9)]);}[_0x1c333e(0x246)](){var _0x3bede7=_0x1c333e;this['_revisionService'][_0x3bede7(0x24c)](this[_0x3bede7(0x1b9)]);}[_0x1c333e(0x14b)](_0x34064c){var _0x2cd689=_0x1c333e,_0x4c6c77;let _0x1ac536=this['_transformRemoteChangesetByIMECache'](_0x34064c);_0x1ac536=this[_0x2cd689(0xb9)](_0x1ac536);const _0x1eb66e=_0x177ab6(_0x1ac536[_0x2cd689(0x1ac)],this[_0x2cd689(0x102)],{'fromCollab':!0x0});if(!_0x1eb66e[_0x2cd689(0x187)])throw _0x1eb66e[_0x2cd689(0x2c1)]instanceof Error?_0x1eb66e[_0x2cd689(0x2c1)]:new Error((_0x4c6c77=_0x1eb66e[_0x2cd689(0x2c1)])!=null?_0x4c6c77:_0x2cd689(0x1e7));this['_transformIMECache'](_0x1ac536),this[_0x2cd689(0x296)](_0x1ac536),this['_transformUndoredo'](_0x34064c),this[_0x2cd689(0x15c)](_0x1ac536),this[_0x2cd689(0x330)](_0x1ac536),this[_0x2cd689(0x246)]();}}let be=class extends ge{constructor(_0x4f8c3d,_0x25c3ec,_0x548f33,_0x1692dd,_0x5a96f3,_0x263ba7,_0x26e813,_0xd5f532,_0x347904,_0x3a0415){var _0x3ef127=_0x1c333e;super(_0x4f8c3d,_0x25c3ec,null,[],_0x548f33,_0x26e813,_0x263ba7,_0x1692dd,_0x3a0415),D(this,_0x3ef127(0xa6),_0x3ef127(0x36e)),(this[_0x3ef127(0x2df)]=_0x5a96f3,this[_0x3ef127(0xc1)]=_0xd5f532,this['_transformService']=_0x347904,this[_0x3ef127(0xbe)]=_0x3a0415);}[_0x1c333e(0x357)](_0x54cf07){var _0x211b8f=_0x1c333e;const _0xf1f837=this[_0x211b8f(0x2df)][_0x211b8f(0x1ae)](ae,this[_0x211b8f(0x1b9)],this[_0x211b8f(0xc4)],[_0x54cf07],this[_0x211b8f(0x37d)]);return _0xf1f837[_0x211b8f(0x265)](),_0xf1f837[_0x211b8f(0x2d0)](),_0xf1f837;}[_0x1c333e(0x206)](_0x4d7095){var _0x27f672=_0x1c333e;if(this['_checkMissing'](_0x4d7095))return this['_injector'][_0x27f672(0x1ae)](ee,this[_0x27f672(0x1b9)],this['type'],null,[],null,[_0x4d7095],this[_0x27f672(0x37d)]);try{const _0x307370=this['_transformService'][_0x27f672(0x1f6)](_0x4d7095,[$s]);if(_0xfdaf08(_0x307370)){const {c1Prime:_0x333cc6}=_0x307370;return this[_0x27f672(0x14b)](_0x333cc6),this;}throw _0x307370['error'];}catch(_0x3d0b05){return this[_0x27f672(0xc1)][_0x27f672(0x2c1)](_0x3d0b05),this[_0x27f672(0xe7)](!0x1);}}[_0x1c333e(0xe7)](_0x3ad21d){var _0x3c8268=_0x1c333e;return this[_0x3c8268(0x2df)][_0x3c8268(0x1ae)](ue,this[_0x3c8268(0x1b9)],this[_0x3c8268(0xc4)],null,[],this['_handler'],_0x3ad21d);}[_0x1c333e(0x30b)](){var _0x41bc00=_0x1c333e;throw new Error(_0x41bc00(0x87));}[_0x1c333e(0x31b)](){var _0x26a86c=_0x1c333e;throw new Error(_0x26a86c(0x14e));}[_0x1c333e(0xb0)](){return this;}['toggleOffline'](){var _0x250a17=_0x1c333e;return this[_0x250a17(0x2df)][_0x250a17(0x1ae)](de,this[_0x250a17(0x1b9)],this[_0x250a17(0xc4)],null,[],this[_0x250a17(0x37d)]);}[_0x1c333e(0x1eb)](){return this;}[_0x1c333e(0x2ad)](){var _0x5e40d7=_0x1c333e;throw new Error(_0x5e40d7(0x92));}[_0x1c333e(0x325)](){var _0x116ae1=_0x1c333e;const _0x2b182e=this[_0x116ae1(0x1e6)][_0x116ae1(0x7c)](this[_0x116ae1(0x1b9)]);return this[_0x116ae1(0x37d)][_0x116ae1(0x2d3)]({'from':_0x2b182e,'to':0x0}),this[_0x116ae1(0x2df)][_0x116ae1(0x1ae)](ee,this[_0x116ae1(0x1b9)],this['type'],null,[],null,[],this['_handler']);}};be=Se([w(0x3,_0x127c6e(_0x37b7b6)),w(0x4,_0x127c6e(_0x26bcb2)),w(0x5,_0x40605b),w(0x6,_0x587b1a),w(0x7,_0xab01ef),w(0x8,_0xa73e93),w(0x9,_0x4c8504(J))],be);let ae=class extends ge{constructor(_0x5ae7ea,_0x2bc601,_0x24809a,_0x3ba522,_0x430c64,_0x251223,_0x1871c1,_0x2877ff,_0x32d76f,_0x3aec9b,_0x4acea4,_0x1b8640,_0x3beff8,_0x30d3f3){var _0x1887e8=_0x1c333e;super(_0x5ae7ea,_0x2bc601,null,_0x24809a,_0x3ba522,_0x32d76f,_0x3beff8,_0x251223,_0x30d3f3),D(this,_0x1887e8(0xa6),'pending'),D(this,_0x1887e8(0x22d),null),D(this,_0x1887e8(0x274),null),(this[_0x1887e8(0x2df)]=_0x430c64,this['_memberService']=_0x1871c1,this[_0x1887e8(0xc1)]=_0x2877ff,this[_0x1887e8(0x14c)]=_0x3aec9b,this[_0x1887e8(0x245)]=_0x4acea4,this[_0x1887e8(0x137)]=_0x1b8640);}[_0x1c333e(0x357)](_0x597d7b){var _0x41c1ae=_0x1c333e;return this[_0x41c1ae(0x282)][_0x41c1ae(0x31d)](_0x597d7b),this[_0x41c1ae(0x2d0)](),this;}[_0x1c333e(0x206)](_0x417c7c){var _0x573a94=_0x1c333e;if(this['_checkMissing'](_0x417c7c))return this[_0x573a94(0x321)](),this[_0x573a94(0x2df)][_0x573a94(0x1ae)](ee,this['unitID'],this[_0x573a94(0xc4)],null,this[_0x573a94(0x282)],null,[_0x417c7c],this['_handler']);try{const _0x383908=this[_0x573a94(0x245)][_0x573a94(0x1f6)](_0x417c7c,this[_0x573a94(0x282)]);if(_0xfdaf08(_0x383908)){const {c1Prime:_0xc2e1e8,m2Prime:_0x27d7aa}=_0x383908;this[_0x573a94(0x14b)](_0xc2e1e8);const _0x296625=this[_0x573a94(0x2df)][_0x573a94(0x1ae)](ae,this['unitID'],this[_0x573a94(0xc4)],_0x27d7aa,this['_handler']);this[_0x573a94(0x321)]();const _0x440463=new Date()[_0x573a94(0x8a)](),_0x28539d=this[_0x573a94(0x22d)]?Math[_0x573a94(0x2e9)](this[_0x573a94(0x22d)]-_0x440463,0x0):this[_0x573a94(0x1dd)]();return _0x296625[_0x573a94(0x265)](_0x28539d),_0x296625;}throw _0x383908['error'];}catch(_0x3f1705){return this[_0x573a94(0xc1)][_0x573a94(0x2c1)](_0x3f1705),this['_onConflict'](!0x1);}}[_0x1c333e(0x30b)](){var _0x42a1d0=_0x1c333e;throw new Error(_0x42a1d0(0x2fb));}[_0x1c333e(0x31b)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1c333e(0xb0)](){return this;}[_0x1c333e(0x112)](){var _0x424a59=_0x1c333e;return this[_0x424a59(0x321)](),this[_0x424a59(0x2df)][_0x424a59(0x1ae)](de,this['unitID'],this[_0x424a59(0xc4)],null,this[_0x424a59(0x282)],this[_0x424a59(0x37d)]);}[_0x1c333e(0x1eb)](){return this;}[_0x1c333e(0x265)](_0x486668){var _0x1fa695=_0x1c333e;const _0x4b4ea2=_0x486668!=null?_0x486668:this[_0x1fa695(0x1dd)]();this['_scheduleCompleteTimestamp']=new Date()[_0x1fa695(0x8a)]()+_0x4b4ea2,this[_0x1fa695(0x274)]=setTimeout(()=>{var _0x564a93=_0x1fa695;this[_0x564a93(0x321)]();let _0x8eda0e=null;switch(this[_0x564a93(0xc4)]){case Q[_0x564a93(0xeb)]:{_0x8eda0e=Gt(this['_pendingMutations'],this[_0x564a93(0x1b9)],this['_univerInstanceService'],this[_0x564a93(0x1e6)],this[_0x564a93(0x25d)]);break;}case Q[_0x564a93(0x1a5)]:{this[_0x564a93(0x282)][_0x564a93(0x33c)](_0x18f593=>_0x18f593['id']===_0xe3b90a['id'])?_0x8eda0e=ks(this[_0x564a93(0x282)],this[_0x564a93(0x1b9)],this[_0x564a93(0x137)],this[_0x564a93(0x1e6)],this[_0x564a93(0x25d)]):_0x8eda0e=Gt(this[_0x564a93(0x282)],this['unitID'],this[_0x564a93(0x137)],this[_0x564a93(0x1e6)],this['_memberService']);break;}default:throw new Error(_0x564a93(0x22a)+this[_0x564a93(0xc4)]+_0x564a93(0x185));}const {changeset:_0x23e1e4,pendingMutations:_0x4ea76f}=_0x8eda0e;this[_0x564a93(0x37d)]['onSendChangeset'](_0x23e1e4);const _0x34c233=_0x4ea76f[_0x564a93(0x162)]?this['_injector']['createInstance'](oe,this[_0x564a93(0x1b9)],this[_0x564a93(0xc4)],_0x23e1e4,_0x4ea76f,this[_0x564a93(0x37d)],void 0x0):this[_0x564a93(0x2df)][_0x564a93(0x1ae)](le,this[_0x564a93(0x1b9)],this[_0x564a93(0xc4)],_0x23e1e4,this[_0x564a93(0x37d)]);_0x34c233[_0x564a93(0x2d0)](),this['_handler'][_0x564a93(0xac)](this,_0x34c233);},_0x4b4ea2);}[_0x1c333e(0x1dd)](){var _0x518e84=_0x1c333e,_0x5c0a16;const _0x43fff8=this[_0x518e84(0x14c)]['getConfig'](K);return(_0x5c0a16=_0x43fff8==null?void 0x0:_0x43fff8[_0x518e84(0x298)])!=null?_0x5c0a16:ps;}[_0x1c333e(0x2ad)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1c333e(0x321)](){var _0xf70327=_0x1c333e;this[_0xf70327(0x274)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0xf70327(0x274)]=null);}[_0x1c333e(0xe7)](_0x3d8360){var _0x107af8=_0x1c333e;return this['_clearScheduledTask'](),this[_0x107af8(0x2df)][_0x107af8(0x1ae)](ue,this[_0x107af8(0x1b9)],this[_0x107af8(0xc4)],null,this[_0x107af8(0x282)],this[_0x107af8(0x37d)],_0x3d8360);}};ae=Se([w(0x4,_0x127c6e(_0x26bcb2)),w(0x5,_0x127c6e(_0x37b7b6)),w(0x6,_0x127c6e(Pe)),w(0x7,_0xab01ef),w(0x8,_0x587b1a),w(0x9,_0x50b237),w(0xa,_0xa73e93),w(0xb,_0x498d5c),w(0xc,_0x40605b),w(0xd,_0x4c8504(J))],ae);let le=class extends ge{constructor(_0xd10b3d,_0x1eb0fa,_0x25bd09,_0x335f29,_0x5e304c,_0x1f2103,_0x50352d,_0x174a2f,_0x594ada,_0x19d6d7,_0x50ea41){var _0x417bc7=_0x1c333e;super(_0xd10b3d,_0x1eb0fa,_0x25bd09,[],_0x335f29,_0x50352d,_0x19d6d7,_0x1f2103,_0x50ea41),D(this,'status',_0x417bc7(0x217)),D(this,_0x417bc7(0x82),0x0),D(this,_0x417bc7(0x2d2)),D(this,'_sender'),(this['_injector']=_0x5e304c,this[_0x417bc7(0xc1)]=_0x174a2f,this[_0x417bc7(0x245)]=_0x594ada);}[_0x1c333e(0x357)](_0x4637e4){var _0x230e1f=_0x1c333e;this['_clearScheduledTask']();const _0x51cb96=this[_0x230e1f(0x2df)][_0x230e1f(0x1ae)](oe,this[_0x230e1f(0x1b9)],this[_0x230e1f(0xc4)],this['_awaitingChangeset'],[_0x4637e4],this[_0x230e1f(0x37d)],this[_0x230e1f(0x2d2)]);return _0x51cb96[_0x230e1f(0x2d0)](),_0x51cb96;}[_0x1c333e(0x206)](_0x1e7c38){var _0x2b9568=_0x1c333e;if(this[_0x2b9568(0x1d2)](_0x1e7c38))return this[_0x2b9568(0x321)](),this[_0x2b9568(0x2df)]['createInstance'](ee,this[_0x2b9568(0x1b9)],this[_0x2b9568(0xc4)],this[_0x2b9568(0xd1)],[],null,[_0x1e7c38],this[_0x2b9568(0x37d)]);try{const _0x1afcf8=this['_transformService'][_0x2b9568(0x250)]([_0x1e7c38],[this[_0x2b9568(0xd1)]],!0x1);if(_0x1c368c(_0x1afcf8)){const {c1Prime:_0x1340c7,c2Prime:_0x36e353}=_0x1afcf8;this[_0x2b9568(0x14b)](_0x1340c7[0x0]),_0x36e353[0x0][_0x2b9568(0x209)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x1e92cc=this[_0x2b9568(0x2df)]['createInstance'](le,this['unitID'],this[_0x2b9568(0xc4)],_0x36e353[0x0],this[_0x2b9568(0x37d)]);return _0x1e92cc[_0x2b9568(0x2d0)](),_0x1e92cc;}return this[_0x2b9568(0xe7)](!0x1);}catch(_0x445faa){return this[_0x2b9568(0xc1)][_0x2b9568(0x2c1)](_0x445faa),this['_onConflict'](!0x1);}}[_0x1c333e(0x30b)](_0x3cd621){var _0x90877b=_0x1c333e;this['_clearScheduledTask']();const _0x5d19f2=this[_0x90877b(0x1e6)]['getCurrentRevOfUnit'](this[_0x90877b(0x1b9)]);if(_0x3cd621[_0x90877b(0x8d)]<_0x5d19f2-0x1)return this;if(this[_0x90877b(0x1d2)](_0x3cd621))return this[_0x90877b(0x2df)][_0x90877b(0x1ae)](ee,this[_0x90877b(0x1b9)],this[_0x90877b(0xc4)],null,[],this['_awaitingChangeset'],[],this[_0x90877b(0x37d)]);this['_incrementRevisionNumber']();const _0x1dee50=this[_0x90877b(0x2df)][_0x90877b(0x1ae)](be,this[_0x90877b(0x1b9)],this[_0x90877b(0xc4)],this[_0x90877b(0x37d)]);return _0x1dee50[_0x90877b(0x2d0)](),_0x1dee50;}[_0x1c333e(0x31b)](_0x438b94){var _0x458b5f=_0x1c333e;return this['_onConflict'](!!(_0x438b94!=null&&_0x438b94[_0x458b5f(0xcb)]));}[_0x1c333e(0xb0)](_0x34b766){var _0x12d181=_0x1c333e;return this[_0x12d181(0x82)]>gi?this[_0x12d181(0x112)]():(this['_resendTimer']=Ii(this[_0x12d181(0x82)],{'timeout':this['_resendTimeout'],'reqId':_0x34b766[_0x12d181(0x1fb)]}),this['_sender']=this['_resendTimer'][_0x12d181(0x14f)](({reqId:_0x4558fd,timeout:_0x36174d})=>{this['_resendWithTimeout'](_0x4558fd,_0x36174d);}),this);}[_0x1c333e(0x112)](){var _0x4634d8=_0x1c333e;return this[_0x4634d8(0x321)](),this[_0x4634d8(0x2df)]['createInstance'](de,this['unitID'],this[_0x4634d8(0xc4)],this['_awaitingChangeset'],[],this['_handler']);}['toggleOnline'](){return this;}[_0x1c333e(0x2ad)](){var _0x342be6=_0x1c333e;this[_0x342be6(0x37d)]['onSendChangeset'](this[_0x342be6(0xd1)]);}[_0x1c333e(0xe7)](_0x2c52f9){var _0x254da7=_0x1c333e;return this[_0x254da7(0x321)](),this[_0x254da7(0x2df)][_0x254da7(0x1ae)](ue,this[_0x254da7(0x1b9)],this[_0x254da7(0xc4)],this['_awaitingChangeset'],[],this[_0x254da7(0x37d)],_0x2c52f9);}['_resendWithTimeout'](_0x217254,_0x5d3f90){var _0x5c0303=_0x1c333e,_0x562950;_0x217254===((_0x562950=this['_awaitingChangeset'])==null?void 0x0:_0x562950[_0x5c0303(0x1fb)])&&(this['resend'](),this['_resendTimeout']=_0x5d3f90===0x0?0x3e8:_0x5d3f90*0x2);}[_0x1c333e(0x321)](){var _0x5dd350=_0x1c333e,_0x532217;(_0x532217=this[_0x5dd350(0x2c8)])==null||_0x532217[_0x5dd350(0x304)](),this[_0x5dd350(0x82)]=0x0;}};le=Se([w(0x4,_0x127c6e(_0x26bcb2)),w(0x5,_0x127c6e(_0x37b7b6)),w(0x6,_0x587b1a),w(0x7,_0xab01ef),w(0x8,_0xa73e93),w(0x9,_0x40605b),w(0xa,_0x4c8504(J))],le);let oe=class extends ge{constructor(_0x21e8f6,_0x5af661,_0x19d65c,_0x1d031c,_0x3e0591,_0x456dda,_0x20da6a,_0x1ada85,_0x57f38e,_0x139932,_0x4b0bf4,_0xb50b73,_0xf06459){var _0x1c1e10=_0x1c333e;super(_0x21e8f6,_0x5af661,_0x19d65c,_0x1d031c,_0x3e0591,_0x57f38e,_0xb50b73,_0x1ada85,_0xf06459),D(this,_0x1c1e10(0xa6),_0x1c1e10(0x1c0)),D(this,_0x1c1e10(0x82),0x0),D(this,_0x1c1e10(0x2d2)),D(this,_0x1c1e10(0x2c8)),(this[_0x1c1e10(0x2df)]=_0x20da6a,this[_0x1c1e10(0xc1)]=_0x139932,this['_transformService']=_0x4b0bf4,this[_0x1c1e10(0xbe)]=_0xf06459,_0x456dda&&(this['_resendTimer']=_0x456dda,this[_0x1c1e10(0x2c8)]=this[_0x1c1e10(0x2d2)][_0x1c1e10(0x14f)](({reqId:_0x4969fa,timeout:_0x46aac7})=>{var _0x465c27=_0x1c1e10;this[_0x465c27(0xed)](_0x4969fa,_0x46aac7);})));}[_0x1c333e(0x357)](_0x5f9aca){var _0x55745d=_0x1c333e;return this['_pendingMutations'][_0x55745d(0x31d)](_0x5f9aca),this;}[_0x1c333e(0x206)](_0x2285ec){var _0x5e8e87=_0x1c333e;if(this[_0x5e8e87(0x1d2)](_0x2285ec))return this[_0x5e8e87(0x321)](),this[_0x5e8e87(0x2df)][_0x5e8e87(0x1ae)](ee,this[_0x5e8e87(0x1b9)],this[_0x5e8e87(0xc4)],this[_0x5e8e87(0xd1)],this[_0x5e8e87(0x282)],null,[_0x2285ec],this[_0x5e8e87(0x37d)]);try{const _0x5f51cf=this[_0x5e8e87(0x245)][_0x5e8e87(0x250)]([_0x2285ec],[this['_awaitingChangeset']],!0x1);if(_0x1c368c(_0x5f51cf)){const {c1Prime:_0x27e375,c2Prime:_0x2c7f0c}=_0x5f51cf,_0x6ba4b9=this[_0x5e8e87(0x245)][_0x5e8e87(0x1f6)](_0x27e375[0x0],this['_pendingMutations']);if(_0xfdaf08(_0x6ba4b9)){const {c1Prime:_0x29796b,m2Prime:_0xb2949a}=_0x6ba4b9;return this[_0x5e8e87(0x14b)](_0x29796b),_0x2c7f0c[0x0]['baseRev']=this[_0x5e8e87(0x94)](),this[_0x5e8e87(0x321)](),this[_0x5e8e87(0x2df)][_0x5e8e87(0x1ae)](oe,this[_0x5e8e87(0x1b9)],this[_0x5e8e87(0xc4)],_0x2c7f0c[0x0],_0xb2949a,this[_0x5e8e87(0x37d)],void 0x0);}throw _0x6ba4b9[_0x5e8e87(0x2c1)];}throw _0x5f51cf[_0x5e8e87(0x2c1)];}catch(_0x610aa2){return this[_0x5e8e87(0xc1)]['error'](_0x610aa2),this[_0x5e8e87(0xe7)](!0x1);}}[_0x1c333e(0x30b)](_0x194a1c){var _0x5885d5=_0x1c333e;if(this['_clearScheduledTask'](),this[_0x5885d5(0x1d2)](_0x194a1c))return this[_0x5885d5(0x2df)][_0x5885d5(0x1ae)](ee,this[_0x5885d5(0x1b9)],this[_0x5885d5(0xc4)],null,this[_0x5885d5(0x282)],this[_0x5885d5(0xd1)],[],this[_0x5885d5(0x37d)]);this['_incrementRevisionNumber']();const _0x2a7810=this[_0x5885d5(0x2df)][_0x5885d5(0x1ae)](ae,this[_0x5885d5(0x1b9)],this['type'],this[_0x5885d5(0x282)],this[_0x5885d5(0x37d)]);return _0x2a7810['_schedule'](),_0x2a7810[_0x5885d5(0x2d0)](),_0x2a7810;}[_0x1c333e(0x31b)](_0x14a464){var _0x204477=_0x1c333e;return this[_0x204477(0xe7)](!!(_0x14a464!=null&&_0x14a464[_0x204477(0xcb)]));}[_0x1c333e(0xb0)](_0x36cc9d){var _0x5caaf1=_0x1c333e;return this['_resendTimeout']>gi?this[_0x5caaf1(0x112)]():(this[_0x5caaf1(0x2d2)]=Ii(this[_0x5caaf1(0x82)],{'timeout':this['_resendTimeout'],'reqId':_0x36cc9d['reqId']}),this[_0x5caaf1(0x2c8)]=this[_0x5caaf1(0x2d2)]['subscribe'](({reqId:_0x22e937,timeout:_0x58f318})=>{var _0x38b166=_0x5caaf1;this[_0x38b166(0xed)](_0x22e937,_0x58f318);}),this);}[_0x1c333e(0x112)](){var _0x38d706=_0x1c333e;return this[_0x38d706(0x321)](),this[_0x38d706(0x2df)][_0x38d706(0x1ae)](de,this[_0x38d706(0x1b9)],this[_0x38d706(0xc4)],this[_0x38d706(0xd1)],this[_0x38d706(0x282)],this[_0x38d706(0x37d)]);}[_0x1c333e(0x1eb)](){return this;}['resend'](){var _0x2e8feb=_0x1c333e;this[_0x2e8feb(0x37d)][_0x2e8feb(0xd7)](this['_awaitingChangeset']);}[_0x1c333e(0xe7)](_0x4b4c38){var _0x4bb5db=_0x1c333e;return this[_0x4bb5db(0x321)](),this[_0x4bb5db(0x2df)][_0x4bb5db(0x1ae)](ue,this[_0x4bb5db(0x1b9)],this[_0x4bb5db(0xc4)],null,this['_pendingMutations'],this['_handler'],_0x4b4c38);}[_0x1c333e(0xed)](_0x161cb2,_0x2280f4){var _0x36e644=_0x1c333e,_0x399fa1;_0x161cb2===((_0x399fa1=this[_0x36e644(0xd1)])==null?void 0x0:_0x399fa1[_0x36e644(0x1fb)])&&(this['resend'](),this[_0x36e644(0x82)]=_0x2280f4===0x0?0x3e8:_0x2280f4*0x2);}['_clearScheduledTask'](){var _0x22ed7f=_0x1c333e,_0x715662;(_0x715662=this['_sender'])==null||_0x715662[_0x22ed7f(0x304)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x127c6e(_0x26bcb2)),w(0x7,_0x127c6e(_0x37b7b6)),w(0x8,_0x587b1a),w(0x9,_0xab01ef),w(0xa,_0xa73e93),w(0xb,_0x40605b),w(0xc,_0x4c8504(J))],oe);let ue=class extends ge{constructor(_0x34a1bc,_0x4b786a,_0x3faee8,_0x3d712f,_0x5d17ee,_0x1d3f83=!0x1,_0xad4a75,_0x13d406,_0x47323c,_0x45cc57,_0x28d909,_0x40dfaf,_0x4d22d7){var _0x5539f8=_0x1c333e;super(_0x34a1bc,_0x4b786a,_0x3faee8,_0x3d712f,_0x5d17ee,_0x13d406,_0x47323c,_0x45cc57,_0x4d22d7),D(this,_0x5539f8(0xa6),_0x5539f8(0x226)),(this[_0x5539f8(0x207)]=_0x1d3f83,this[_0x5539f8(0x327)]=_0xad4a75,this[_0x5539f8(0x10e)]=_0x28d909,this['_collaborationUIEventService']=_0x40dfaf,this[_0x5539f8(0xbe)]=_0x4d22d7,this[_0x5539f8(0x1b2)](),this[_0x5539f8(0x183)](),this[_0x5539f8(0x379)]());}[_0x1c333e(0x357)](){return this;}[_0x1c333e(0x206)](){return this;}[_0x1c333e(0x30b)](){return this;}[_0x1c333e(0x31b)](){return this;}[_0x1c333e(0xb0)](){return this;}[_0x1c333e(0x112)](){return this;}[_0x1c333e(0x1eb)](){return this;}[_0x1c333e(0x2ad)](){var _0x49a5bb=_0x1c333e;throw new Error(_0x49a5bb(0x195));}['_clearLocalCache'](){var _0x1bbdaa=_0x1c333e,_0x28b518;(_0x28b518=this['_localCacheService'])==null||_0x28b518['updateOfflineData'](this['unitID'],this[_0x1bbdaa(0xc4)],null,[]);}['_showConflictNotification'](){var _0x3d31be=_0x1c333e;this[_0x3d31be(0x207)]?this[_0x3d31be(0x344)][_0x3d31be(0x295)]({'id':re[_0x3d31be(0x314)]}):this['_collaborationUIEventService']['emitEvent']({'id':re[_0x3d31be(0x180)]});}['_disableEditing'](){var _0xede9f2=_0x1c333e;this[_0xede9f2(0x327)][_0xede9f2(0x81)](new _0x521266(this[_0xede9f2(0x1b9)])['id'],!0x1);}};ue=Se([w(0x6,_0x127c6e(_0x1b3e55)),w(0x7,_0x587b1a),w(0x8,_0x40605b),w(0x9,_0x127c6e(_0x37b7b6)),w(0xa,_0x127c6e(_0x85757)),w(0xb,_0x127c6e(ve)),w(0xc,_0x4c8504(J))],ue);let de=class extends ge{constructor(_0x3aaa2d,_0x73b1f2,_0x33b50d,_0x35247b,_0x1cfcdc,_0x2ffa80,_0x42f4eb,_0x315dd6,_0x27999d,_0x1bc37a){var _0x49d1ae=_0x1c333e;super(_0x3aaa2d,_0x73b1f2,_0x33b50d,_0x35247b,_0x1cfcdc,_0x315dd6,_0x27999d,_0x42f4eb,_0x1bc37a),D(this,'status',_0x49d1ae(0x244)),this['_injector']=_0x2ffa80;}[_0x1c333e(0x357)](_0x52cba9){var _0x2e2f08=_0x1c333e;return this[_0x2e2f08(0x282)][_0x2e2f08(0x31d)](_0x52cba9),this[_0x2e2f08(0x2d0)](),this;}[_0x1c333e(0x206)](_0x4fd513){var _0x553fcd=_0x1c333e;throw new Error(_0x553fcd(0x1f9));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1c333e(0xb0)](){return this;}[_0x1c333e(0x112)](){return this;}[_0x1c333e(0x1eb)](){var _0x293cf8=_0x1c333e;const {_injector:_0x5e572a,_pendingMutations:_0x1d7f4,_awaitingChangeset:_0x4ad2fe,unitID:_0x2d444e,_handler:_0x440b72,type:_0x4449a8}=this,_0x3df83d=Ti(_0x5e572a,_0x2d444e,_0x4449a8,_0x4ad2fe,_0x1d7f4,_0x440b72);return _0x3df83d instanceof ae?_0x3df83d[_0x293cf8(0x265)]():(_0x3df83d instanceof oe||_0x3df83d instanceof le)&&_0x3df83d[_0x293cf8(0x2ad)](),_0x3df83d;}[_0x1c333e(0x2ad)](){var _0x36d41f=_0x1c333e;throw new Error(_0x36d41f(0x1bb));}};de=Se([w(0x5,_0x127c6e(_0x26bcb2)),w(0x6,_0x127c6e(_0x37b7b6)),w(0x7,_0x587b1a),w(0x8,_0x40605b),w(0x9,_0x4c8504(J))],de);let ee=class extends ge{constructor(_0x1033a6,_0x50bb83,_0x46b3b3,_0x250e07,_0x318aac,_0x357361,_0x5a9249,_0x1523f6,_0xa37f9e,_0x3295f8,_0x52505c,_0xa140ea,_0x3e8d0e,_0x430210){var _0x4c4fda=_0x1c333e;super(_0x1033a6,_0x50bb83,_0x46b3b3,_0x250e07,_0x5a9249,_0x52505c,_0xa140ea,_0xa37f9e,_0x430210),D(this,'status',_0x4c4fda(0x261)),(this['_acknowledgedAwaitingChangeset']=_0x318aac,this[_0x4c4fda(0x16d)]=_0x357361,this['_injector']=_0x1523f6,this['_logService']=_0x3295f8,this[_0x4c4fda(0x245)]=_0x3e8d0e,this[_0x4c4fda(0xbe)]=_0x430210);}['onMissedChangesetFetched'](_0x4dc4e3){var _0x48c3a6=_0x1c333e;try{const _0x30f54c=[..._0x4dc4e3,...this[_0x48c3a6(0x16d)]],_0xccf8ae=[this[_0x48c3a6(0xd1)]||this['_acknowledgedAwaitingChangeset']][_0x48c3a6(0x15b)](_0xdf2dc0=>!!_0xdf2dc0);let _0x150d46,_0x1ba124;if(_0xccf8ae[_0x48c3a6(0x162)]){const _0x4be54d=this[_0x48c3a6(0x245)][_0x48c3a6(0x250)](_0x30f54c,_0xccf8ae,!0x1);if(!_0x1c368c(_0x4be54d))throw _0x4be54d[_0x48c3a6(0x2c1)];_0x150d46=_0x4be54d['c1Prime'],_0x1ba124=_0x4be54d[_0x48c3a6(0x305)];}else _0x150d46=_0x30f54c,_0x1ba124=[];let _0x38b236=this[_0x48c3a6(0x282)];_0x150d46['forEach'](_0x52ace0=>{var _0x5acc68=_0x48c3a6;let _0x58a710;if(_0x38b236[_0x5acc68(0x162)]){const _0x2801be=this['_transformService'][_0x5acc68(0x1f6)](_0x52ace0,_0x38b236);if(!_0xfdaf08(_0x2801be))throw _0x2801be['error'];_0x58a710=_0x2801be[_0x5acc68(0x36f)],_0x38b236=_0x2801be['m2Prime'];}else _0x58a710=_0x52ace0;this[_0x5acc68(0x14b)](_0x58a710);}),this['_acknowledgedAwaitingChangeset']&&this[_0x48c3a6(0x246)](),this[_0x48c3a6(0xd1)]&&_0x1ba124[_0x48c3a6(0x162)]&&(_0x1ba124[0x0]['baseRev']=this[_0x48c3a6(0x94)]());let _0xf940fa;if(this['_awaitingChangeset']&&_0x38b236['length']!==0x0)_0xf940fa=this['_injector'][_0x48c3a6(0x1ae)](oe,this[_0x48c3a6(0x1b9)],this[_0x48c3a6(0xc4)],_0x1ba124[0x0],_0x38b236,this[_0x48c3a6(0x37d)],void 0x0);else{if(this[_0x48c3a6(0xd1)]&&_0x38b236[_0x48c3a6(0x162)]===0x0)_0x1ba124[0x0][_0x48c3a6(0x209)]=this['_getCurrentRevision'](),_0xf940fa=this[_0x48c3a6(0x2df)][_0x48c3a6(0x1ae)](le,this[_0x48c3a6(0x1b9)],this[_0x48c3a6(0xc4)],_0x1ba124[0x0],this['_handler']);else{if(_0x38b236[_0x48c3a6(0x162)]!==0x0){const _0x1309e7=this[_0x48c3a6(0x2df)][_0x48c3a6(0x1ae)](ae,this[_0x48c3a6(0x1b9)],this[_0x48c3a6(0xc4)],_0x38b236,this[_0x48c3a6(0x37d)]);_0x1309e7[_0x48c3a6(0x265)](),_0xf940fa=_0x1309e7;}else _0xf940fa=this[_0x48c3a6(0x2df)]['createInstance'](be,this['unitID'],this['type'],this[_0x48c3a6(0x37d)]);}}return _0xf940fa['_updateLocalCache'](),_0xf940fa;}catch(_0x1ba426){return this[_0x48c3a6(0xc1)]['error'](_0x48c3a6(0x352),_0x48c3a6(0x2ea),_0x1ba426),this[_0x48c3a6(0x2df)][_0x48c3a6(0x1ae)](ue,this['unitID'],this[_0x48c3a6(0xc4)],this[_0x48c3a6(0xd1)],this[_0x48c3a6(0x282)],this[_0x48c3a6(0x37d)],!0x1);}}[_0x1c333e(0x2ad)](){var _0x3a12b9=_0x1c333e;throw new Error(_0x3a12b9(0x93));}[_0x1c333e(0x357)](_0x5221e3){var _0x875a39=_0x1c333e;return this['_pendingMutations'][_0x875a39(0x31d)](_0x5221e3),this;}[_0x1c333e(0x206)](_0x1610cf){var _0x783bd=_0x1c333e;return this[_0x783bd(0x16d)][_0x783bd(0x31d)](_0x1610cf),this;}['onRemoteAck'](_0x2ff5f7){var _0xa78fc7=_0x1c333e;if(this[_0xa78fc7(0xd1)])return this[_0xa78fc7(0x365)]=this[_0xa78fc7(0xd1)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1c333e(0x31b)](_0x21fbc0){var _0x25beb5=_0x1c333e;return this[_0x25beb5(0xe7)](!!(_0x21fbc0!=null&&_0x21fbc0[_0x25beb5(0xcb)]));}[_0x1c333e(0xb0)](){return this;}[_0x1c333e(0x112)](){var _0x192376=_0x1c333e;return this['_injector'][_0x192376(0x1ae)](de,this['unitID'],this[_0x192376(0xc4)],this[_0x192376(0xd1)],this[_0x192376(0x282)],this['_handler']);}[_0x1c333e(0x1eb)](){return this;}[_0x1c333e(0xe7)](_0x2d0569){var _0x1d6e98=_0x1c333e;return this[_0x1d6e98(0x2df)]['createInstance'](ue,this[_0x1d6e98(0x1b9)],this[_0x1d6e98(0xc4)],this[_0x1d6e98(0xd1)],this[_0x1d6e98(0x282)],this['_handler'],_0x2d0569);}};ee=Se([w(0x7,_0x127c6e(_0x26bcb2)),w(0x8,_0x127c6e(_0x37b7b6)),w(0x9,_0xab01ef),w(0xa,_0x587b1a),w(0xb,_0x40605b),w(0xc,_0xa73e93),w(0xd,_0x4c8504(J))],ee);function Ti(_0x18eda5,_0x188668,_0x6bb693,_0x3443dc,_0x38ca56,_0x12dd93){var _0x59edfe=_0x1c333e;return _0x3443dc&&_0x38ca56[_0x59edfe(0x162)]?_0x18eda5['createInstance'](oe,_0x188668,_0x6bb693,_0x3443dc,_0x38ca56,_0x12dd93,void 0x0):_0x3443dc?_0x18eda5[_0x59edfe(0x1ae)](le,_0x188668,_0x6bb693,_0x3443dc,_0x12dd93):_0x38ca56[_0x59edfe(0x162)]?_0x18eda5['createInstance'](ae,_0x188668,_0x6bb693,_0x38ca56,_0x12dd93):_0x18eda5[_0x59edfe(0x1ae)](be,_0x188668,_0x6bb693,_0x12dd93);}var Bs=Object[_0x1c333e(0x31e)],Pt=(_0x3a451b,_0x1de99a,_0x1326b2,_0x886a8e)=>{var _0x15d3a8=_0x1c333e;for(var _0xf10daf=_0x886a8e>0x1?void 0x0:_0x886a8e?Bs(_0x1de99a,_0x1326b2):_0x1de99a,_0x14ec14=_0x3a451b[_0x15d3a8(0x162)]-0x1,_0x4fbfb8;_0x14ec14>=0x0;_0x14ec14--)(_0x4fbfb8=_0x3a451b[_0x14ec14])&&(_0xf10daf=_0x4fbfb8(_0xf10daf)||_0xf10daf);return _0xf10daf;},$=(_0x4d7c43,_0x3e9f3d)=>(_0x2e87fb,_0x26b169)=>_0x3e9f3d(_0x2e87fb,_0x26b169,_0x4d7c43);let st=class extends _0x3d746a{constructor(_0x2c5736,_0x533941,_0x3eaa10,_0x37c014,_0x1d2a8c,_0x330368,_0x2678c1,_0x189b33,_0x403c8d,_0xe8bf0,_0x433c6d,_0x2fd931,_0x1c531e,_0xa44389){var _0x4b9060=_0x1c333e;super(),D(this,_0x4b9060(0x254),new _0x3033b2(null)),D(this,'state$',this[_0x4b9060(0x254)][_0x4b9060(0x1bc)]()),D(this,_0x4b9060(0x255)),D(this,_0x4b9060(0x16c),!0x1),D(this,_0x4b9060(0x2e4),''),D(this,'_changesetReqId',0x0),D(this,_0x4b9060(0x355),this[_0x4b9060(0x157)][_0x4b9060(0x31f)](_0x5b1bf0(_0x2db3fa=>_0x2db3fa?_0x2db3fa['status']:Si[_0x4b9060(0x198)]),_0x24a342(0x1))),D(this,_0x4b9060(0x2c2),!0x1),D(this,_0x4b9060(0x13d),[]),(this[_0x4b9060(0x1b9)]=_0x2c5736,this[_0x4b9060(0x25e)]=_0x533941,this[_0x4b9060(0x253)]=_0x3eaa10,this[_0x4b9060(0x2df)]=_0x37c014,this[_0x4b9060(0x133)]=_0x1d2a8c,this['_localeService']=_0x330368,this[_0x4b9060(0x1e6)]=_0x2678c1,this[_0x4b9060(0x269)]=_0x189b33,this[_0x4b9060(0x137)]=_0x403c8d,this['_logService']=_0xe8bf0,this[_0x4b9060(0x102)]=_0x433c6d,this['_permissionService']=_0x2fd931,this[_0x4b9060(0x382)]=_0x1c531e,this[_0x4b9060(0xd0)]=_0xa44389);}get[_0x1c333e(0x1bf)](){var _0x56e832=_0x1c333e;return this[_0x56e832(0x255)];}async['init'](){var _0x585707=_0x1c333e;if(this[_0x585707(0x1bf)])throw new Error(_0x585707(0x23b));await this[_0x585707(0x219)]();}[_0x1c333e(0x1ad)](){return this['_collaborationPaused']=!0x0,_0x5eb4fd(()=>{var _0x3fb8e6=_0x9d4b;this[_0x3fb8e6(0x16c)]=!0x1,this[_0x3fb8e6(0x24d)]();});}['onLocalMutation'](_0x1f4fde){var _0x59f7df=_0x1c333e;this[_0x59f7df(0x2ff)](_0x1f4fde);}[_0x1c333e(0x1c7)](_0x4aaf70){var _0x809794=_0x1c333e;this[_0x809794(0x255)]=_0x4aaf70,this[_0x809794(0x254)][_0x809794(0x149)](_0x4aaf70);}async[_0x1c333e(0x219)](){var _0x10bc13=_0x1c333e,_0x2d1e45;this[_0x10bc13(0x1c7)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x2d1e45=this[_0x10bc13(0x382)])==null||_0x2d1e45[_0x10bc13(0x168)](this[_0x10bc13(0x1b9)]),this['disposeWithMe'](this[_0x10bc13(0x382)][_0x10bc13(0x2be)](this[_0x10bc13(0x1b9)])[_0x10bc13(0x14f)](_0xf9583e=>{var _0x5e27ad=_0x10bc13;this[_0x5e27ad(0xc1)]['debug'](_0x5e27ad(0x194),_0x5e27ad(0xf3),_0xf9583e),_0xf9583e===mi[_0x5e27ad(0x28a)]?(this[_0x5e27ad(0x269)][_0x5e27ad(0x295)]({'id':re[_0x5e27ad(0x96)]}),this['_permissionService']['updatePermissionPoint'](new _0x521266(this[_0x5e27ad(0x1b9)])['id'],!0x1),this[_0x5e27ad(0x327)][_0x5e27ad(0x28e)](!0x1)):(this[_0x5e27ad(0x327)][_0x5e27ad(0x81)](new _0x521266(this[_0x5e27ad(0x1b9)])['id'],!0x0),this[_0x5e27ad(0x327)][_0x5e27ad(0x28e)](!0x0));})));let _0x13c5e0=!0x1;return this[_0x10bc13(0x2d9)](this[_0x10bc13(0x25e)][_0x10bc13(0x33b)][_0x10bc13(0x14f)](_0x3bc4e7=>{var _0x37bc12=_0x10bc13;_0x3bc4e7===me[_0x37bc12(0x359)]?this[_0x37bc12(0x32b)](_0x13c5e0):_0x3bc4e7===me[_0x37bc12(0x198)]&&(_0x13c5e0=!0x0,this[_0x37bc12(0x237)]());})),this[_0x10bc13(0x2d9)](this['session'][_0x10bc13(0xcc)]['subscribe'](_0x4b4700=>{var _0x1be647=_0x10bc13;try{switch(_0x4b4700[_0x1be647(0xe8)]){case _0x49b802[_0x1be647(0xe4)]:{this[_0x1be647(0x220)](_0x290fda(_0x4b4700[_0x1be647(0xfa)]));break;}case _0x49b802['CHANGESET_ACK']:{this[_0x1be647(0x2e6)](_0x4b4700[_0x1be647(0xfa)]);break;}case _0x49b802[_0x1be647(0x311)]:{this['_onRemoteRejected']();break;}case _0x49b802[_0x1be647(0xb7)]:{this['_onRemoteRetry'](_0x4b4700[_0x1be647(0xfa)]);break;}case _0x49b802[_0x1be647(0x2fe)]:{this[_0x1be647(0x33f)](_0x4b4700['data'][_0x1be647(0x252)][_0x1be647(0x113)](_0x2c76ca=>_0x290fda(_0x2c76ca)));break;}case _0x49b802[_0x1be647(0x235)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x49b802[_0x1be647(0xdc)]:break;}}catch(_0x1e23f4){throw console[_0x1be647(0x2c1)]('Error\x20on\x20receiving\x20event',_0x1e23f4),_0x1e23f4;}})),this[_0x10bc13(0x255)];}[_0x1c333e(0x20b)](){var _0x4a57a7=_0x1c333e;this[_0x4a57a7(0x2c2)]=!0x1;}[_0x1c333e(0x2f9)](){var _0x4ed28f=_0x1c333e;if(this['_transitionLocked'])throw new Error(_0x4ed28f(0x34e));this[_0x4ed28f(0x2c2)]=!0x0;}[_0x1c333e(0x2ff)](_0x7aec10){var _0x3d4e32=_0x1c333e;this[_0x3d4e32(0x2f9)](),this[_0x3d4e32(0x1c7)](this['_state']['appendMutation'](_0x7aec10)),this[_0x3d4e32(0x20b)]();}[_0x1c333e(0x220)](_0x25a6a0){var _0x102333=_0x1c333e;if(!(_0x25a6a0['revision']<=this[_0x102333(0x1e6)]['getCurrentRevOfUnit'](this[_0x102333(0x1b9)]))){if(this[_0x102333(0x16c)]){this['_remoteChangesetQueue'][_0x102333(0x31d)](_0x25a6a0);return;}this[_0x102333(0x2a8)](_0x25a6a0);}}[_0x1c333e(0x24d)](){var _0x43dded=_0x1c333e;this['_remoteChangesetQueue'][_0x43dded(0x2c6)](_0x3948a3=>this['_applyRemoteChangeset'](_0x3948a3)),this[_0x43dded(0x13d)]=[];}[_0x1c333e(0x2a8)](_0x5012b0){var _0x9bd6b2=_0x1c333e;const _0x161df6=this[_0x9bd6b2(0x133)][_0x9bd6b2(0x132)][_0x9bd6b2(0x16a)](this[_0x9bd6b2(0x133)][_0x9bd6b2(0x132)]['getInterceptPoints']()[_0x9bd6b2(0xa0)])(_0x5012b0[_0x9bd6b2(0x1ac)],null)||_0x5012b0['mutations'],_0xfb1480={..._0x5012b0,'mutations':_0x161df6};this[_0x9bd6b2(0x2f9)](),this[_0x9bd6b2(0x1c7)](this[_0x9bd6b2(0x255)][_0x9bd6b2(0x206)](_0xfb1480)),this[_0x9bd6b2(0x20b)]();}[_0x1c333e(0x2e6)](_0x201393){var _0x7aec78=_0x1c333e;this[_0x7aec78(0x2f9)](),this[_0x7aec78(0x1c7)](this['_state'][_0x7aec78(0x30b)](_0x201393)),this[_0x7aec78(0x20b)]();}[_0x1c333e(0x1ab)](_0x15dbeb){var _0x174574=_0x1c333e;this['_lockTransition'](),this[_0x174574(0x1c7)](this[_0x174574(0x255)][_0x174574(0x31b)](_0x15dbeb)),this[_0x174574(0x20b)]();}[_0x1c333e(0x32f)](_0x40a6ec){var _0x5333c2=_0x1c333e;this[_0x5333c2(0x2f9)](),this[_0x5333c2(0x1c7)](this[_0x5333c2(0x255)]['onRemoteRetry'](_0x40a6ec)),this['_unlockTransition']();}[_0x1c333e(0x33f)](_0x33d5c8){var _0x3b54a4=_0x1c333e;if(!(this[_0x3b54a4(0x255)]instanceof ee))throw new TypeError(_0x3b54a4(0x236));const _0x3e7adc=_0x33d5c8[_0x3b54a4(0x113)](_0x15f480=>{var _0x51a076=_0x3b54a4;const _0x5c686f=this[_0x51a076(0x133)][_0x51a076(0x132)][_0x51a076(0x16a)](this[_0x51a076(0x133)][_0x51a076(0x132)][_0x51a076(0x29d)]()[_0x51a076(0xa0)])(_0x15f480['mutations'],null)||_0x15f480[_0x51a076(0x1ac)];return{..._0x15f480,'mutations':_0x5c686f};});this[_0x3b54a4(0x2f9)](),this[_0x3b54a4(0x1c7)](this[_0x3b54a4(0x255)][_0x3b54a4(0x159)](_0x3e7adc)),this[_0x3b54a4(0x20b)]();}[_0x1c333e(0x237)](){var _0x14b274=_0x1c333e;this['_lockTransition'](),this[_0x14b274(0x1c7)](this['_state']['toggleOffline']()),this[_0x14b274(0x20b)]();}[_0x1c333e(0x32b)](_0x3bbcaa=!0x1){var _0x75144b=_0x1c333e;this['_lockTransition'](),this[_0x75144b(0x1c7)](this[_0x75144b(0x255)][_0x75144b(0x1eb)]()),this[_0x75144b(0x20b)]();const _0x22c3f3=this[_0x75144b(0x255)];_0x3bbcaa&&_0x22c3f3 instanceof be&&(this[_0x75144b(0x2f9)](),this[_0x75144b(0x1c7)](_0x22c3f3['fetchMiss']()),this[_0x75144b(0x20b)]());}async[_0x1c333e(0x1ba)](){return new Promise(_0x1414ec=>{var _0x4d89a9=_0x9d4b;this['session'][_0x4d89a9(0x33b)][_0x4d89a9(0x31f)](_0x236e9e(0x1))[_0x4d89a9(0x14f)](async _0x21c239=>{var _0x39f578=_0x4d89a9;_0x1414ec(await this[_0x39f578(0xfd)](_0x21c239===me[_0x39f578(0x359)]));});});}[_0x1c333e(0x104)](){const _0x324723=this['unitID'];return{'onStateChange':(_0x30f56e,_0x14a9b4)=>{var _0x24a6f9=_0x9d4b;if(_0x30f56e!==this[_0x24a6f9(0x255)])throw new Error(_0x24a6f9(0x320)+_0x30f56e['status']+_0x24a6f9(0x353)+_0x14a9b4[_0x24a6f9(0xa6)]+_0x24a6f9(0xbc)+this[_0x24a6f9(0x255)][_0x24a6f9(0xa6)]);this[_0x24a6f9(0x1c7)](_0x14a9b4);},'onSendChangeset':_0x2ff32d=>{var _0x5963b7=_0x9d4b;_0x2ff32d[_0x5963b7(0x2c7)]||(_0x2ff32d['sid']=this[_0x5963b7(0x2e4)],_0x2ff32d[_0x5963b7(0x1fb)]=++this['_changesetReqId']);const _0x457de9={'eventID':_0x49b802[_0x5963b7(0x78)],'data':{'unitID':_0x2ff32d[_0x5963b7(0x1b9)],'unitType':this[_0x5963b7(0x253)],'changeset':_0x2ff32d,'memberID':this['session'][_0x5963b7(0x276)]()}};this[_0x5963b7(0x25e)]['send'](_0x457de9,this[_0x5963b7(0x1b9)]);},'onMissingChangesets':({from:_0x303ce8,to:_0x11728b})=>{var _0x35e40e=_0x9d4b;this[_0x35e40e(0xc1)]['debug']('[CollaborationEntity]',_0x35e40e(0x228)+_0x303ce8+_0x35e40e(0x181)+_0x11728b);const _0x1edfba={'eventID':_0x49b802[_0x35e40e(0x375)],'data':{'unitID':_0x324723,'unitType':this['_type'],'from':_0x303ce8,'to':_0x11728b}};this['session'][_0x35e40e(0x2a2)](_0x1edfba,this['unitID']);}};}async[_0x1c333e(0xfd)](_0xdce280){var _0x354031=_0x1c333e,_0x454d76,_0x39e1f1,_0x2293d3;const _0x70d94f=await((_0x454d76=this[_0x354031(0xd0)])==null?void 0x0:_0x454d76[_0x354031(0x268)](this['unitID'])),_0x459628=(_0x39e1f1=_0x70d94f==null?void 0x0:_0x70d94f[_0x354031(0x1ac)])!=null?_0x39e1f1:[],_0x25d507=(_0x2293d3=_0x70d94f==null?void 0x0:_0x70d94f['awaitingChangeset'])!=null?_0x2293d3:null,_0x19018e=!!(_0x25d507!=null&&_0x25d507[_0x354031(0x2c7)])&&!!(_0x25d507!=null&&_0x25d507[_0x354031(0x1fb)]);this[_0x354031(0x2e4)]=_0x19018e?_0x25d507[_0x354031(0x2c7)]:_0x3da2dd(),this[_0x354031(0x225)]=_0x19018e?_0x25d507[_0x354031(0x1fb)]:0x0;const _0x5857dd=this[_0x354031(0x1b9)];try{this['_replayCachedMutations'](_0x25d507,_0x459628);}catch(_0x2a581d){this[_0x354031(0xc1)][_0x354031(0x2c1)](_0x2a581d);}const _0x283306=this[_0x354031(0x104)]();if(_0xdce280){const _0x22121b=Ti(this[_0x354031(0x2df)],_0x5857dd,this['_type'],_0x25d507,_0x459628,_0x283306);return _0x22121b instanceof ae?_0x22121b[_0x354031(0x265)]():(_0x22121b instanceof oe||_0x22121b instanceof le)&&_0x22121b[_0x354031(0x2ad)](),_0x22121b;}return this[_0x354031(0x2df)][_0x354031(0x1ae)](de,_0x5857dd,this['_type'],_0x25d507,_0x459628,_0x283306);}[_0x1c333e(0x204)](_0x521b97,_0x23a8da){var _0x2c2efa=_0x1c333e,_0x2245e0,_0x5a4e8b;const _0x62863e=this[_0x2c2efa(0x133)][_0x2c2efa(0x132)][_0x2c2efa(0x16a)](this['_compressMutationService'][_0x2c2efa(0x132)][_0x2c2efa(0x29d)]()[_0x2c2efa(0xa0)]);(_0x2245e0=_0x62863e((_0x521b97==null?void 0x0:_0x521b97[_0x2c2efa(0x1ac)])||[],null))==null||_0x2245e0[_0x2c2efa(0x2c6)](_0x1df3f8=>this[_0x2c2efa(0x102)][_0x2c2efa(0x312)](_0x1df3f8['id'],_0x1df3f8[_0x2c2efa(0x23e)])),(_0x5a4e8b=_0x62863e(_0x23a8da||[],null))==null||_0x5a4e8b[_0x2c2efa(0x2c6)](_0x4ef3c0=>this[_0x2c2efa(0x102)][_0x2c2efa(0x312)](_0x4ef3c0['id'],_0x4ef3c0[_0x2c2efa(0x23e)]));}};st=Pt([$(0x3,_0x127c6e(_0x26bcb2)),$(0x4,_0x127c6e(_0x5c0ce9)),$(0x5,_0x127c6e(_0x85757)),$(0x6,_0x127c6e(_0x37b7b6)),$(0x7,_0x127c6e(ve)),$(0x8,_0x498d5c),$(0x9,_0xab01ef),$(0xa,_0x587b1a),$(0xb,_0x1b3e55),$(0xc,_0x4c8504(_t)),$(0xd,_0x4c8504(J))],st);let It=class extends st{constructor(_0xbd9685,_0xce2529,_0x51131b,_0x32249c,_0x24c467,_0x553aee,_0x1930d8,_0x386eb3,_0x26a431,_0x27bcc8,_0x2ab2ca,_0x491256,_0xe9b6ef,_0x49ba5f){var _0x1a1fdf=_0x1c333e;super(_0xbd9685,_0x51131b,_0xce2529,_0x32249c,_0x24c467,_0x553aee,_0x1930d8,_0x386eb3,_0x26a431,_0x27bcc8,_0x2ab2ca,_0x491256,_0xe9b6ef,_0x49ba5f),D(this,_0x1a1fdf(0x16e),null),(this['unitID']=_0xbd9685,this[_0x1a1fdf(0xc4)]=_0xce2529);}['addHandlerCallback'](_0x5dbda5){this['_handlerCallback']=_0x5dbda5;}['dispose'](){var _0x37a8be=_0x1c333e;this[_0x37a8be(0x16e)]=null,super[_0x37a8be(0x105)]();}['_createHandler'](){var _0x2f025c=_0x1c333e;const _0x3ab7c3=super[_0x2f025c(0x104)]();return _0x3ab7c3[_0x2f025c(0x134)]=_0x3b02c1=>{var _0x289d1b=_0x2f025c,_0x70e120,_0x58cf8d;return(_0x58cf8d=(_0x70e120=this[_0x289d1b(0x16e)])==null?void 0x0:_0x70e120['onTransformIME'])==null?void 0x0:_0x58cf8d['call'](_0x70e120,_0x3b02c1);},_0x3ab7c3[_0x2f025c(0x292)]=_0x50cd29=>{var _0x1e9f92=_0x2f025c,_0x47c3df,_0x31e093;return(_0x31e093=(_0x47c3df=this[_0x1e9f92(0x16e)])==null?void 0x0:_0x47c3df[_0x1e9f92(0x292)])==null?void 0x0:_0x31e093['call'](_0x47c3df,_0x50cd29);},_0x3ab7c3['onTransformSelections']=_0x5b7dbd=>{var _0x3bc2b1=_0x2f025c,_0xadd0f9,_0x4a441f;return(_0x4a441f=(_0xadd0f9=this[_0x3bc2b1(0x16e)])==null?void 0x0:_0xadd0f9[_0x3bc2b1(0x10c)])==null?void 0x0:_0x4a441f['call'](_0xadd0f9,_0x5b7dbd);},_0x3ab7c3[_0x2f025c(0x1e1)]=_0x201a98=>{var _0x51a769=_0x2f025c,_0x32c417,_0x28f3cf;return(_0x28f3cf=(_0x32c417=this[_0x51a769(0x16e)])==null?void 0x0:_0x32c417[_0x51a769(0x1e1)])==null?void 0x0:_0x28f3cf['call'](_0x32c417,_0x201a98);},_0x3ab7c3[_0x2f025c(0xc2)]=_0x113045=>{var _0x38ae10=_0x2f025c,_0x151a24,_0x4ad82a,_0x34ca5c;if(!((_0x151a24=this[_0x38ae10(0x16e)])!=null&&_0x151a24[_0x38ae10(0xc2)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x34ca5c=(_0x4ad82a=this[_0x38ae10(0x16e)])==null?void 0x0:_0x4ad82a[_0x38ae10(0xc2)])==null?void 0x0:_0x34ca5c[_0x38ae10(0x376)](_0x4ad82a,_0x113045);},_0x3ab7c3[_0x2f025c(0x341)]=_0x3cf704=>{var _0x78a497=_0x2f025c,_0x5cffe1,_0x9a1caa,_0x5c49ff;if(!((_0x5cffe1=this[_0x78a497(0x16e)])!=null&&_0x5cffe1[_0x78a497(0x341)]))throw new Error(_0x78a497(0xa1));return(_0x5c49ff=(_0x9a1caa=this[_0x78a497(0x16e)])==null?void 0x0:_0x9a1caa[_0x78a497(0x341)])==null?void 0x0:_0x5c49ff['call'](_0x9a1caa,_0x3cf704);},_0x3ab7c3;}async[_0x1c333e(0x219)](){var _0x4dfa78=_0x1c333e;const _0x1600e8=await super[_0x4dfa78(0x219)]();return this[_0x4dfa78(0x2d9)](this['_commandService'][_0x4dfa78(0x288)]((_0x453fd7,_0x22fb7a)=>{var _0x583964=_0x4dfa78;if(_0x453fd7[_0x583964(0xc4)]!==_0xbb6252[_0x583964(0x129)]||_0x22fb7a!=null&&_0x22fb7a['fromCollab']||_0x22fb7a!=null&&_0x22fb7a['onlyLocal']||_0x453fd7['id']===_0xe3b90a['id'])return;const _0x29eab6=_0x453fd7[_0x583964(0x23e)];if((_0x29eab6==null?void 0x0:_0x29eab6[_0x583964(0x1c8)])!==this[_0x583964(0x1b9)])return;const _0x3e72d1=_0x453fd7,_0x2fd053=this[_0x583964(0x133)][_0x583964(0x132)][_0x583964(0x16a)](this[_0x583964(0x133)][_0x583964(0x132)][_0x583964(0x29d)]()[_0x583964(0x350)])([_0x3e72d1],this[_0x583964(0x137)])||[_0x3e72d1];this[_0x583964(0x2ff)](_0x2fd053[0x0]);})),_0x1600e8;}};It=Pt([$(0x3,_0x127c6e(_0x26bcb2)),$(0x4,_0x127c6e(_0x5c0ce9)),$(0x5,_0x127c6e(_0x85757)),$(0x6,_0x127c6e(_0x37b7b6)),$(0x7,_0x127c6e(ve)),$(0x8,_0x498d5c),$(0x9,_0xab01ef),$(0xa,_0x587b1a),$(0xb,_0x1b3e55),$(0xc,_0x4c8504(_t)),$(0xd,_0x4c8504(J))],It);let St=class extends st{constructor(_0x331ba3,_0x299566,_0x32091d,_0x30837a,_0x3858b2,_0x51343f,_0x3a48e1,_0x120b34,_0x48053b,_0x2ca4cd,_0x1a567c,_0x4577f7,_0x14e833,_0x2c6623,_0x109e94){var _0xaeb61=_0x1c333e;super(_0x331ba3,_0x32091d,_0x299566,_0x30837a,_0x3858b2,_0x51343f,_0x3a48e1,_0x48053b,_0x2ca4cd,_0x1a567c,_0x4577f7,_0x14e833,_0x2c6623,_0x109e94),this[_0xaeb61(0x1b9)]=_0x331ba3,this[_0xaeb61(0xc4)]=_0x299566,this['_sheetTransformSelectionsService']=_0x120b34;}['_createHandler'](){var _0x596351=_0x1c333e;const _0x29c246=super[_0x596351(0x104)]();return _0x29c246[_0x596351(0x10c)]=_0x79e92b=>this[_0x596351(0x2dd)][_0x596351(0x348)](_0x79e92b),_0x29c246;}async[_0x1c333e(0x219)](){var _0x28d14d=_0x1c333e;const _0x1dd6f1=await super[_0x28d14d(0x219)]();return this[_0x28d14d(0x2d9)](this[_0x28d14d(0x102)]['onCommandExecuted']((_0x4e623d,_0x152dc0)=>{var _0x4be5ad=_0x28d14d;if(_0x4e623d[_0x4be5ad(0xc4)]!==_0xbb6252[_0x4be5ad(0x129)]||_0x152dc0!=null&&_0x152dc0[_0x4be5ad(0x166)]||_0x152dc0!=null&&_0x152dc0['onlyLocal'])return;const _0x2bdfad=_0x4e623d[_0x4be5ad(0x23e)];if((_0x2bdfad==null?void 0x0:_0x2bdfad['unitId'])!==this[_0x4be5ad(0x1b9)])return;const _0x112218=_0x4e623d,_0x520520=this[_0x4be5ad(0x133)][_0x4be5ad(0x132)]['fetchThroughInterceptors'](this[_0x4be5ad(0x133)][_0x4be5ad(0x132)][_0x4be5ad(0x29d)]()['COMPRESS_MUTATION_SEND'])([_0x112218],this[_0x4be5ad(0x137)])||[_0x112218];this[_0x4be5ad(0x2ff)](_0x520520[0x0]);})),_0x1dd6f1;}};St=Pt([$(0x3,_0x127c6e(_0x26bcb2)),$(0x4,_0x127c6e(_0x5c0ce9)),$(0x5,_0x127c6e(_0x85757)),$(0x6,_0x127c6e(_0x37b7b6)),$(0x7,_0x127c6e(it)),$(0x8,_0x127c6e(ve)),$(0x9,_0x498d5c),$(0xa,_0xab01ef),$(0xb,_0x587b1a),$(0xc,_0x1b3e55),$(0xd,_0x4c8504(_t)),$(0xe,_0x4c8504(J))],St);const js=_0x4d4bb1(_0x1c333e(0xd4));function Fs(_0x21bc1e){var _0x53bd3b=_0x1c333e,_0xac3cce,_0x1a5d11,_0x2abae2,_0x4fcd9b,_0x243f87;const _0x75e11e=_0x21bc1e[_0x53bd3b(0xfa)],_0x113bd0=JSON[_0x53bd3b(0x1ef)](_0x75e11e);switch(_0x113bd0['cmd']){case F[_0x53bd3b(0xd5)]:case F[_0x53bd3b(0x1cb)]:{const _0x2d890d=_0x113bd0[_0x53bd3b(0x347)];return{..._0x113bd0,'data':_0x2d890d,'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};}case F[_0x53bd3b(0x77)]:{const _0x34398a=_0x113bd0[_0x53bd3b(0x1aa)];return{..._0x113bd0,'data':_0x34398a,'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};}case F[_0x53bd3b(0x33d)]:{const _0x191ab7=_0x113bd0[_0x53bd3b(0x8e)];switch(_0x191ab7[_0x53bd3b(0xe8)]){case _0x49b802[_0x53bd3b(0x235)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':(_0xac3cce=_0x191ab7['permissionRejEvent'])==null?void 0x0:_0xac3cce['cs']},'cmd':_0x113bd0['cmd']};case _0x49b802[_0x53bd3b(0x2d7)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':(_0x1a5d11=_0x191ab7[_0x53bd3b(0x258)])==null?void 0x0:_0x1a5d11['cs']},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0xe4)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':(_0x2abae2=_0x191ab7[_0x53bd3b(0x368)])==null?void 0x0:_0x2abae2['cs']},'cmd':_0x113bd0['cmd']};case _0x49b802[_0x53bd3b(0x311)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':(_0x4fcd9b=_0x191ab7[_0x53bd3b(0x15f)])==null?void 0x0:_0x4fcd9b['cs']},'cmd':_0x113bd0['cmd']};case _0x49b802[_0x53bd3b(0xb7)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':(_0x243f87=_0x191ab7['csShouldRetryEvent'])==null?void 0x0:_0x243f87['cs']},'cmd':_0x113bd0['cmd']};case _0x49b802['UPDATE_CURSOR']:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7['updateCursorEvent']},'cmd':_0x113bd0['cmd']};case _0x49b802['USERS_ENTER']:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7[_0x53bd3b(0x75)]},'cmd':_0x113bd0['cmd']};case _0x49b802[_0x53bd3b(0x302)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7['leaveEvent']},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0x18f)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7[_0x53bd3b(0xe5)]},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0x249)]:case _0x49b802[_0x53bd3b(0x2ba)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7['liveShareOperation']},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0x287)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7['liveShareNewHost']},'cmd':_0x113bd0['cmd']};case _0x49b802[_0x53bd3b(0xc5)]:return{..._0x113bd0,'data':_0x191ab7,'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0x2f1)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7[_0x53bd3b(0xe1)]},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802['UPDATE_PERMISSION_OBJ']:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7[_0x53bd3b(0x318)]},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802[_0x53bd3b(0x240)]:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7[_0x53bd3b(0x150)]},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};case _0x49b802['UNISCRIPT_RUN']:return{..._0x113bd0,'data':{..._0x191ab7,'data':_0x191ab7['uniscriptRunEvent']},'cmd':_0x113bd0[_0x53bd3b(0x2e7)]};default:return _0x113bd0;}}default:return _0x113bd0;}}function Vs(_0x53b598){var _0x49893b=_0x1c333e;switch(_0x53b598[_0x49893b(0x2e7)]){case F['HEARTBEAT']:case F[_0x49893b(0x1cb)]:return JSON[_0x49893b(0x370)]({'cmd':_0x53b598['cmd'],'routeKey':_0x53b598[_0x49893b(0x2da)]});case F[_0x49893b(0x267)]:{let _0x166c34;switch(_0x53b598[_0x49893b(0xfa)][_0x49893b(0xe8)]){case _0x49b802['UPDATE_CURSOR']:{_0x166c34={'eventID':_0x49b802['UPDATE_CURSOR'],'updateCursorEvent':_0x53b598[_0x49893b(0xfa)][_0x49893b(0xfa)]};break;}case _0x49b802[_0x49893b(0x302)]:{_0x166c34={'eventID':_0x49b802['USERS_LEAVE'],'leaveEvent':_0x53b598[_0x49893b(0xfa)][_0x49893b(0xfa)]};break;}case _0x49b802['USERS_ENTER']:{_0x166c34={'eventID':_0x49b802['USERS_ENTER'],'joinEvent':_0x53b598[_0x49893b(0xfa)][_0x49893b(0xfa)]};break;}case _0x49b802[_0x49893b(0x18f)]:{_0x166c34={'eventID':_0x49b802[_0x49893b(0x18f)],'liveShareNewHost':_0x53b598[_0x49893b(0xfa)][_0x49893b(0xfa)]};break;}case _0x49b802[_0x49893b(0x2ba)]:{_0x166c34={'eventID':_0x49b802['LIVESHARE_OPERATION'],'liveShareOperation':_0x53b598['data'][_0x49893b(0xfa)]};break;}case _0x49b802[_0x49893b(0x287)]:{_0x166c34={'eventID':_0x49b802['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x53b598[_0x49893b(0xfa)][_0x49893b(0xfa)]};break;}case _0x49b802['LIVESHARE_REQUEST_HOST']:{_0x166c34={'eventID':_0x49b802[_0x49893b(0x10a)],'liveShareRequestHost':_0x53b598['data'][_0x49893b(0xfa)]};break;}case _0x49b802['LIVESHARE_FETCH_OPERATIONS']:{_0x166c34={'eventID':_0x49b802[_0x49893b(0x249)]};break;}default:_0x166c34={'eventID':_0x53b598[_0x49893b(0xfa)]['eventID']};}return JSON[_0x49893b(0x370)]({'cmd':_0x53b598[_0x49893b(0x2e7)],'routeKey':_0x53b598[_0x49893b(0x2da)],'collaMsg':_0x166c34});}case F[_0x49893b(0x77)]:return JSON[_0x49893b(0x370)]({'cmd':_0x53b598[_0x49893b(0x2e7)],'routeKey':_0x53b598[_0x49893b(0x2da)],'joinReq':_0x53b598[_0x49893b(0xfa)]});case F[_0x49893b(0x12a)]:return JSON[_0x49893b(0x370)]({'cmd':_0x53b598[_0x49893b(0x2e7)],'routeKey':_0x53b598[_0x49893b(0x2da)],'leaveReq':_0x53b598['data']});default:throw new Error(_0x49893b(0x1c5));}}var Gs=Object[_0x1c333e(0x31e)],Ws=(_0x161a7b,_0x392836,_0x30c607,_0x54dee1)=>{var _0x393af4=_0x1c333e;for(var _0x2e910e=_0x54dee1>0x1?void 0x0:_0x54dee1?Gs(_0x392836,_0x30c607):_0x392836,_0x5039b6=_0x161a7b[_0x393af4(0x162)]-0x1,_0x19959c;_0x5039b6>=0x0;_0x5039b6--)(_0x19959c=_0x161a7b[_0x5039b6])&&(_0x2e910e=_0x19959c(_0x2e910e)||_0x2e910e);return _0x2e910e;},ye=(_0x430490,_0x28dd5e)=>(_0x473ee2,_0xeae07c)=>_0x28dd5e(_0x473ee2,_0xeae07c,_0x430490);const Oi=_0x4d4bb1(_0x1c333e(0x114));function Ys(_0x800392,_0x1aae1a,_0x232ce1){var _0x4ed24f=_0x1c333e;return _0x800392+'/'+_0x1aae1a+_0x4ed24f(0x135)+_0x232ce1+_0x4ed24f(0x2b7);}let Wt=class extends _0x34f54e{constructor(_0x8b4d36,_0x568ef2,_0x271fa0,_0x488688,_0x14ade8){var _0x4f57de=_0x1c333e;super(),this[_0x4f57de(0x2df)]=_0x8b4d36,this[_0x4f57de(0x23f)]=_0x568ef2,this['_configService']=_0x271fa0,this[_0x4f57de(0xc1)]=_0x488688,this[_0x4f57de(0x277)]=_0x14ade8;}[_0x1c333e(0x2b4)](_0x3887a4){var _0xfa44f0=_0x1c333e;const _0x6673eb=this[_0xfa44f0(0x2df)][_0xfa44f0(0x122)](_0x42e0d6);if(!_0x6673eb)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2e2e0e=_0x6673eb[_0xfa44f0(0x331)](_0x3887a4);if(!_0x2e2e0e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x427d07=new _0x251285(),_0x396c6c=new _0x2a38ce();_0x427d07['add'](_0x2e2e0e[_0xfa44f0(0x1d6)][_0xfa44f0(0x14f)](_0x14f01e=>_0x396c6c[_0xfa44f0(0x149)](_0x14f01e))),_0x427d07[_0xfa44f0(0x28b)](_0x5eb4fd(()=>_0x396c6c[_0xfa44f0(0x343)]()));const _0x1c3474=new _0x2a38ce();_0x427d07[_0xfa44f0(0x28b)](_0x2e2e0e[_0xfa44f0(0x193)][_0xfa44f0(0x14f)](_0x1e101f=>_0x1c3474[_0xfa44f0(0x149)](_0x1e101f))),_0x427d07['add'](_0x5eb4fd(()=>_0x1c3474['complete']()));const _0x41d6d9=new _0x2a38ce();_0x427d07['add'](_0x2e2e0e['message$'][_0xfa44f0(0x14f)](_0x1558f0=>{var _0x2fa486=_0xfa44f0;const _0x8a227a=Fs(_0x1558f0);_0x41d6d9[_0x2fa486(0x149)](_0x8a227a);})),_0x427d07[_0xfa44f0(0x28b)](_0x5eb4fd(()=>_0x41d6d9['complete']()));let _0x42ab58;const _0x26a12a=()=>{var _0x57f3db=_0xfa44f0;_0x1c3474[_0x57f3db(0x149)](new Event(_0x57f3db(0x26d))),_0x396c6c['next'](new Event(_0x57f3db(0x26d))),_0x42ab58[_0x57f3db(0x128)]();};return _0x42ab58={'memberID':'','close$':_0x396c6c['asObservable'](),'error$':_0x1c3474[_0xfa44f0(0x1bc)](),'open$':_0x2e2e0e[_0xfa44f0(0x378)],'message$':_0x41d6d9['asObservable'](),'send':_0x1674f1=>{var _0x130f74=_0xfa44f0;if(_0x1674f1[_0x130f74(0x2e7)]===F[_0x130f74(0x267)]){if(_0x1674f1['data'][_0x130f74(0xe8)]===_0x49b802[_0x130f74(0x78)]){this[_0x130f74(0xc8)](_0x42ab58,_0x1674f1[_0x130f74(0xfa)])['catch'](_0x5e1534=>{this['_logService']['error'](_0x5e1534),_0x26a12a();});return;}if(_0x1674f1[_0x130f74(0xfa)]['eventID']===_0x49b802['FETCH_MISSING']){const _0x550208=_0x1674f1[_0x130f74(0xfa)];this[_0x130f74(0x26c)](_0x550208)[_0x130f74(0xe2)](_0x19d07d=>{var _0x293f1a=_0x130f74;_0x41d6d9[_0x293f1a(0x149)]({'cmd':F[_0x293f1a(0x33d)],'code':pe['OK'],'routeKey':_0x550208[_0x293f1a(0xfa)][_0x293f1a(0x1b9)],'routeType':'','data':{'eventID':_0x49b802[_0x293f1a(0x2fe)],'data':{'changesets':_0x19d07d}}});})[_0x130f74(0x155)](_0x1625c8=>{var _0x378f77=_0x130f74;this[_0x378f77(0xc1)][_0x378f77(0x2c1)](_0x1625c8),_0x26a12a();});return;}}_0x2e2e0e[_0x130f74(0x2a2)](Vs(_0x1674f1));},'close':()=>{var _0x6623fc=_0xfa44f0;_0x2e2e0e[_0x6623fc(0x128)](),_0x427d07['dispose']();}},_0x42ab58;}async[_0x1c333e(0xc8)](_0x219cc7,_0x42941c){var _0x57ecfb=_0x1c333e,_0x83e14f;const {unitType:_0x278a92,unitID:_0x1fe6df,changeset:_0x2dbca5}=_0x42941c['data'],_0x17da5d={'unitID':_0x1fe6df,'memberID':_0x219cc7['memberID'],'type':_0x278a92,'changeset':_0x9f3c11(_0x2dbca5)},_0x5722b2=this['_configService']['getConfig'](K),_0x2038d7=Ys((_0x83e14f=_0x5722b2==null?void 0x0:_0x5722b2[_0x57ecfb(0x1be)])!=null?_0x83e14f:Os,_0x278a92,_0x1fe6df);try{await this['_httpService'][_0x57ecfb(0x2a0)](_0x2038d7,{'body':_0x17da5d});}catch(_0x599f79){throw this[_0x57ecfb(0xc1)][_0x57ecfb(0x2c1)](_0x57ecfb(0x89),_0x57ecfb(0x2db)),_0x599f79;}}async[_0x1c333e(0x26c)](_0x523a7f){var _0x319b30=_0x1c333e;const {unitID:_0x6dc4be,from:_0x2bab1c,to:_0x5f0971,unitType:_0x836c6a}=_0x523a7f[_0x319b30(0xfa)];return(await this[_0x319b30(0x277)][_0x319b30(0x2b2)]({'metadata':void 0x0},{'unitID':_0x6dc4be,'type':_0x836c6a,'from':_0x2bab1c,'to':_0x5f0971}))[_0x319b30(0x252)];}};Wt=Ws([ye(0x0,_0x127c6e(_0x26bcb2)),ye(0x1,_0x127c6e(_0x3b781f)),ye(0x2,_0x50b237),ye(0x3,_0xab01ef),ye(0x4,_0x57f5b6)],Wt);var Ks=Object[_0x1c333e(0x31e)],qs=(_0x3c5af5,_0x1bdb30,_0x1ed0f6,_0x24e8a6)=>{for(var _0x21d412=_0x24e8a6>0x1?void 0x0:_0x24e8a6?Ks(_0x1bdb30,_0x1ed0f6):_0x1bdb30,_0x480890=_0x3c5af5['length']-0x1,_0x24569c;_0x480890>=0x0;_0x480890--)(_0x24569c=_0x3c5af5[_0x480890])&&(_0x21d412=_0x24569c(_0x21d412)||_0x21d412);return _0x21d412;},Re=(_0x218c27,_0x487e03)=>(_0x56230f,_0x173f6)=>_0x487e03(_0x56230f,_0x173f6,_0x218c27);let we=class extends _0x34f54e{constructor(_0x5068b8,_0x49ecaf,_0x41a308,_0x66fca5,_0x10a35e,_0x1793c1){var _0x360360=_0x1c333e;super(),D(this,_0x360360(0x35b),new _0x3033b2(void 0x0)),D(this,_0x360360(0x1a4),this['_socket$'][_0x360360(0x1bc)]()),D(this,_0x360360(0x372),null),D(this,'_sessions',new Map()),D(this,'_status$',new _0x3033b2(me[_0x360360(0x333)])),D(this,'status$',this[_0x360360(0x1c1)]['asObservable']()),D(this,_0x360360(0x1a7),!0x1),D(this,_0x360360(0x79)),D(this,_0x360360(0x115),0x0),D(this,_0x360360(0x2d4)),D(this,'_timeoutTimer'),(this['_injector']=_0x5068b8,this[_0x360360(0xc1)]=_0x49ecaf,this[_0x360360(0x14c)]=_0x41a308,this[_0x360360(0xec)]=_0x66fca5,this[_0x360360(0x344)]=_0x10a35e,this['_networkConditionService']=_0x1793c1,this[_0x360360(0x280)]());}get[_0x1c333e(0x17f)](){var _0x3b9bff=_0x1c333e;return this['_socket$'][_0x3b9bff(0x215)]();}[_0x1c333e(0x280)](){var _0x2ad91e=_0x1c333e;this[_0x2ad91e(0xc3)]&&this[_0x2ad91e(0x2d9)](this[_0x2ad91e(0xc3)]['online$']['subscribe'](_0x18b141=>{var _0x523d6c=_0x2ad91e;_0x18b141&&!this[_0x523d6c(0x17f)]&&this[_0x523d6c(0x2c5)](),_0x18b141||this['_onOffline']();}));}[_0x1c333e(0x105)](){var _0x45031d=_0x1c333e;super['dispose'](),this[_0x45031d(0x152)](),this[_0x45031d(0x21d)](),this['_clearHeartbeatTimer'](),this[_0x45031d(0x21f)][_0x45031d(0x2c6)](_0x22c724=>_0x22c724[_0x45031d(0x105)]()),this[_0x45031d(0x21f)][_0x45031d(0x238)](),this[_0x45031d(0x1c1)][_0x45031d(0x343)]();}async[_0x1c333e(0xe0)](_0x3d96db){var _0xd3341d=_0x1c333e;if(this[_0xd3341d(0x21f)][_0xd3341d(0xe6)](_0x3d96db))return this[_0xd3341d(0x21f)][_0xd3341d(0x122)](_0x3d96db);this[_0xd3341d(0x1fd)]();const _0x5bb1e4=this['_injector']['createInstance'](mt,_0x3d96db,this[_0xd3341d(0x35b)][_0xd3341d(0x1bc)]());return this[_0xd3341d(0x21f)][_0xd3341d(0x232)](_0x3d96db,_0x5bb1e4),_0x5bb1e4;}[_0x1c333e(0x28d)](_0x4b07c9){var _0x3480e0=_0x1c333e,_0x3ba002;const _0x290b07=this[_0x3480e0(0x21f)][_0x3480e0(0x122)](_0x4b07c9);_0x290b07&&(this[_0x3480e0(0x21f)][_0x3480e0(0x27e)](_0x4b07c9),_0x290b07['close']()),this['_sessions'][_0x3480e0(0x332)]||(_0x3ba002=this['_socket'])==null||_0x3ba002[_0x3480e0(0x128)]();}[_0x1c333e(0x2c5)](){var _0x25e20c=_0x1c333e;this[_0x25e20c(0x115)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x25e20c(0x364)]();}[_0x1c333e(0x152)](){var _0x43ae3c=_0x1c333e;this[_0x43ae3c(0x79)]!=null&&(clearTimeout(this[_0x43ae3c(0x79)]),this['_retryConnectingTimer']=null);}async[_0x1c333e(0x103)](){var _0x57525a=_0x1c333e,_0xfb389d;const _0x5d387f=this[_0x57525a(0x14c)][_0x57525a(0x1b6)](K),_0x22ae24=(_0xfb389d=_0x5d387f==null?void 0x0:_0x5d387f[_0x57525a(0x32e)])!=null?_0xfb389d:Es,_0x4149e6=await this[_0x57525a(0xec)][_0x57525a(0x331)](_0x22ae24);return this[_0x57525a(0x372)]=_0x4149e6,_0x4149e6;}async[_0x1c333e(0x1fd)](){var _0x524da1=_0x1c333e,_0x35aae3,_0x322274;try{const _0x2af6ef=(_0x322274=(_0x35aae3=this['_socket'])!=null?_0x35aae3:this[_0x524da1(0x372)])!=null?_0x322274:await this[_0x524da1(0x103)]();if(_0x2af6ef){const _0xb35706=_0x2af6ef['send'];_0x2af6ef[_0x524da1(0x2a2)]=_0x4dbcef=>(this['_rescheduleHeartbeat'](),_0xb35706[_0x524da1(0x2ac)](_0x2af6ef,[_0x4dbcef])),_0x2af6ef[_0x524da1(0x9b)]['subscribe'](_0x4b2d72=>this['_onMessage'](_0x2af6ef,_0x4b2d72)),_0x2af6ef[_0x524da1(0x193)]['pipe'](_0x2d2f88(0x1))[_0x524da1(0x14f)](_0x1f597d=>this[_0x524da1(0xc1)]['error'](_0x524da1(0x1ed),_0x1f597d)),_0x2af6ef[_0x524da1(0x378)][_0x524da1(0x31f)](_0x2d2f88(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x2af6ef);}),_0x2af6ef[_0x524da1(0x1d6)][_0x524da1(0x31f)](_0x2d2f88(0x1))[_0x524da1(0x14f)](_0x90df4b=>{var _0x3da8be=_0x524da1;this[_0x3da8be(0xc1)][_0x3da8be(0x192)]('[CollaborationSessionService]',_0x3da8be(0x2e0),_0x90df4b),this[_0x3da8be(0x231)]();});}}catch(_0x5e40f7){this['_logService']['error'](_0x5e40f7),this[_0x524da1(0x231)]();}}[_0x1c333e(0x1bd)](_0x5361b5){var _0x231333=_0x1c333e;this[_0x231333(0xc1)][_0x231333(0x192)](_0x231333(0x2af),_0x231333(0x172)),_0x5361b5['send']({'cmd':F[_0x231333(0x1cb)]}),this[_0x231333(0xf9)]();}[_0x1c333e(0x1ca)](){var _0x624f55=_0x1c333e;this['_socketReady']=!0x1,this[_0x624f55(0x372)]=null,this['_status$']['next'](me['OFFLINE']),this[_0x624f55(0x35b)]['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1c333e(0x231)](){var _0x20b973=_0x1c333e,_0xdfd37f;this[_0x20b973(0x1ca)](),this[_0x20b973(0x115)]<((_0xdfd37f=this['_configService'][_0x20b973(0x1b6)](gs))!=null?_0xdfd37f:Ts)?(this[_0x20b973(0x344)][_0x20b973(0x295)]({'id':re[_0x20b973(0x36d)]}),this[_0x20b973(0x364)]()):this[_0x20b973(0x344)]['emitEvent']({'id':re[_0x20b973(0xae)]});}[_0x1c333e(0x364)](){var _0x513561=_0x1c333e,_0x26b66d;const _0x2dd3b1=this[_0x513561(0x115)],_0x1872a6=this['_configService'][_0x513561(0x1b6)](K),_0x1b811a=_0x2dd3b1===0x0?0x0:((_0x26b66d=_0x1872a6==null?void 0x0:_0x1872a6[_0x513561(0x151)])!=null?_0x26b66d:Ss)*0x2**_0x2dd3b1;this[_0x513561(0x79)]=setTimeout(()=>{var _0x595c7f=_0x513561;clearTimeout(this[_0x595c7f(0x79)]),this[_0x595c7f(0x79)]=null,this[_0x595c7f(0x1fd)]();},_0x1b811a),this[_0x513561(0x115)]+=0x1;}[_0x1c333e(0x146)](_0x19f1ad,_0xfe350c){var _0x466f68=_0x1c333e;const {cmd:_0x44ca0b}=_0xfe350c;_0x44ca0b===F[_0x466f68(0x1cb)]&&!this[_0x466f68(0x1a7)]&&(_0x19f1ad[_0x466f68(0x2b1)]=_0xfe350c[_0x466f68(0xfa)][_0x466f68(0x2b1)],this[_0x466f68(0x35b)][_0x466f68(0x149)](_0x19f1ad),this[_0x466f68(0x1c1)]['next'](me[_0x466f68(0x359)]),this[_0x466f68(0x1a7)]=!0x0,this[_0x466f68(0x372)]=null),_0x44ca0b===F[_0x466f68(0xd5)]&&this[_0x466f68(0x21d)](),this[_0x466f68(0xf9)]();}[_0x1c333e(0xf9)](){var _0x50a5a9=_0x1c333e,_0x482de6;this[_0x50a5a9(0xe3)](),this[_0x50a5a9(0x2d4)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x482de6=this[_0x50a5a9(0x14c)][_0x50a5a9(0x1b6)](ms))!=null?_0x482de6:Is);}[_0x1c333e(0x360)](){var _0x1e30a5=_0x1c333e;this[_0x1e30a5(0x17f)][_0x1e30a5(0x2a2)]({'cmd':F[_0x1e30a5(0xd5)]}),this[_0x1e30a5(0x1ea)]();}['_waitForHeartbeatResponse'](){var _0xc80c12=_0x1c333e,_0x455f42;this[_0xc80c12(0x1e2)]=setTimeout(()=>this[_0xc80c12(0x231)](),(_0x455f42=this[_0xc80c12(0x14c)][_0xc80c12(0x1b6)](di))!=null?_0x455f42:fi);}[_0x1c333e(0xe3)](){var _0x411489=_0x1c333e;this[_0x411489(0x2d4)]!=null&&(clearTimeout(this[_0x411489(0x2d4)]),this[_0x411489(0x2d4)]=null);}[_0x1c333e(0x21d)](){var _0x1dd68b=_0x1c333e;this[_0x1dd68b(0x1e2)]!=null&&(clearTimeout(this[_0x1dd68b(0x1e2)]),this[_0x1dd68b(0x1e2)]=null);}};we=qs([Re(0x0,_0x127c6e(_0x26bcb2)),Re(0x1,_0xab01ef),Re(0x2,_0x50b237),Re(0x3,Oi),Re(0x4,_0x127c6e(ve)),Re(0x5,_0x4c8504(js))],we);var zs=Object[_0x1c333e(0x31e)],Js=(_0x13712c,_0x13c01a,_0x6861c8,_0x276ff3)=>{for(var _0x2c78c4=_0x276ff3>0x1?void 0x0:_0x276ff3?zs(_0x13c01a,_0x6861c8):_0x13c01a,_0x276fa5=_0x13712c['length']-0x1,_0x2af2d5;_0x276fa5>=0x0;_0x276fa5--)(_0x2af2d5=_0x13712c[_0x276fa5])&&(_0x2c78c4=_0x2af2d5(_0x2c78c4)||_0x2c78c4);return _0x2c78c4;},Be=(_0x472798,_0x41a4e0)=>(_0x339635,_0x1db27f)=>_0x41a4e0(_0x339635,_0x1db27f,_0x472798);let nt=class extends _0x3d746a{constructor(_0x233565,_0x1c84b1,_0x10c4cb,_0x136784){var _0x505e3e=_0x1c333e,_0xc756a4;super(),D(this,_0x505e3e(0xa4),new Map()),D(this,_0x505e3e(0x1a9),new _0x2a38ce()),D(this,'entityInit$',this[_0x505e3e(0x1a9)][_0x505e3e(0x1bc)]()),(this[_0x505e3e(0x2df)]=_0x233565,this[_0x505e3e(0xbd)]=_0x1c84b1,this[_0x505e3e(0x14c)]=_0x10c4cb,this[_0x505e3e(0x137)]=_0x136784,((_0xc756a4=this[_0x505e3e(0x14c)][_0x505e3e(0x1b6)](K))==null?void 0x0:_0xc756a4['enableCollaboration'])!==!0x1&&this[_0x505e3e(0x219)]());}[_0x1c333e(0x105)](){var _0x3853ea=_0x1c333e;super[_0x3853ea(0x105)](),this[_0x3853ea(0xa4)]['forEach'](_0x3f3d1f=>_0x3f3d1f[_0x3853ea(0x105)]()),this[_0x3853ea(0xa4)][_0x3853ea(0x238)]();}['getCollabEntity'](_0x2f40a4){var _0x8251d6=_0x1c333e,_0x385b06;return(_0x385b06=this[_0x8251d6(0xa4)]['get'](_0x2f40a4))!=null?_0x385b06:null;}[_0x1c333e(0x2dc)](_0xa3822c){var _0x4629b=_0x1c333e;const _0x20e38e=this[_0x4629b(0x154)](_0xa3822c);return _0x20e38e?_0x2b5448(_0x20e38e):this[_0x4629b(0x1a9)][_0x4629b(0x31f)](_0xaadfb(_0x5a9b4a=>_0x5a9b4a[_0x4629b(0x1b9)]===_0xa3822c));}[_0x1c333e(0x1af)](_0x474e77){var _0x3e5367=_0x1c333e;return _0x4e38f7(this['getCollabEntity$'](_0x474e77)[_0x3e5367(0x31f)](_0x337713(()=>{})));}[_0x1c333e(0x219)](){var _0x502549=_0x1c333e;this[_0x502549(0x137)][_0x502549(0xb1)](_0x1a510f[_0x502549(0xeb)])[_0x502549(0x31f)](_0x11a8eb(this[_0x502549(0x346)]),_0x29bf3d(0x10))[_0x502549(0x14f)](async _0x40bbc1=>{var _0x3decd2=_0x502549;const _0x347da1=_0x40bbc1[_0x3decd2(0x1b8)](),_0x55e313=await this[_0x3decd2(0x1d7)](_0x347da1,Q[_0x3decd2(0xeb)]);this[_0x3decd2(0xa4)][_0x3decd2(0x232)](_0x347da1,_0x55e313);}),this[_0x502549(0x137)][_0x502549(0xb1)](_0x1a510f[_0x502549(0x1a5)])[_0x502549(0x31f)](_0x11a8eb(this[_0x502549(0x346)]),_0x29bf3d(0x10))[_0x502549(0x31f)](_0xaadfb(_0x550b1f=>!_0x550b1f[_0x502549(0x1b8)]()[_0x502549(0xfc)]('__')))['subscribe'](async _0x59a4c6=>{var _0x9dd221=_0x502549;const _0x3ac418=_0x59a4c6[_0x9dd221(0x1b8)](),_0x2267d0=await this[_0x9dd221(0x1d7)](_0x3ac418,Q[_0x9dd221(0x1a5)]);this['_entities'][_0x9dd221(0x232)](_0x3ac418,_0x2267d0);}),_0x3e3aeb(this[_0x502549(0x137)]['getTypeOfUnitDisposed$'](_0x1a510f[_0x502549(0xeb)]),this[_0x502549(0x137)][_0x502549(0x72)](_0x1a510f[_0x502549(0x1a5)]))['pipe'](_0x11a8eb(this[_0x502549(0x346)]))[_0x502549(0x14f)](_0x58e342=>{var _0x4bde71=_0x502549;const _0x3af89c=_0x58e342[_0x4bde71(0x1b8)](),_0x2bd72d=this['_entities'][_0x4bde71(0x122)](_0x3af89c);_0x2bd72d&&(_0x2bd72d['dispose'](),this[_0x4bde71(0xa4)][_0x4bde71(0x27e)](_0x3af89c));});}async[_0x1c333e(0x1d7)](_0x5d7388,_0x3686d1){var _0x16e070=_0x1c333e;const _0x813bd8=await this['_collabSessionService'][_0x16e070(0xe0)](_0x5d7388),_0x3a7e18=this[_0x16e070(0x2df)][_0x16e070(0x1ae)](this[_0x16e070(0xdf)](_0x3686d1),_0x5d7388,_0x3686d1,_0x813bd8);return await _0x3a7e18[_0x16e070(0x371)](),this['_entityInit$'][_0x16e070(0x149)](_0x3a7e18),_0x3a7e18;}['_getCtorByUniverType'](_0x4dc27b){var _0x135132=_0x1c333e;switch(_0x4dc27b){case Q[_0x135132(0x1a5)]:return It;case Q['UNIVER_SHEET']:return St;default:throw new Error(_0x135132(0x1e8)+_0x4dc27b);}}};nt=Js([Be(0x0,_0x127c6e(_0x26bcb2)),Be(0x1,_0x127c6e(we)),Be(0x2,_0x50b237),Be(0x3,_0x498d5c)],nt);var Xs=Object[_0x1c333e(0x31e)],Zs=(_0x4f281d,_0x4b1eb5,_0x4c613b,_0xd3eb5a)=>{var _0x3b0341=_0x1c333e;for(var _0x413997=_0xd3eb5a>0x1?void 0x0:_0xd3eb5a?Xs(_0x4b1eb5,_0x4c613b):_0x4b1eb5,_0xfce993=_0x4f281d[_0x3b0341(0x162)]-0x1,_0x2e6c8f;_0xfce993>=0x0;_0xfce993--)(_0x2e6c8f=_0x4f281d[_0xfce993])&&(_0x413997=_0x2e6c8f(_0x413997)||_0x413997);return _0x413997;},Yt=(_0x314d08,_0x3bdbc6)=>(_0x2e67d5,_0x3fa59e)=>_0x3bdbc6(_0x2e67d5,_0x3fa59e,_0x314d08);const Qs=_0x1c333e(0x2b3),en=_0x1c333e(0x2f0);let gt=class extends _0x34f54e{constructor(_0x5d93b1,_0x265e92){var _0x5956a5=_0x1c333e;super(),this['_univerInstanceService']=_0x5d93b1,this[_0x5956a5(0x14c)]=_0x265e92,this['_init']();}[_0x1c333e(0x219)](){var _0x82f960=_0x1c333e;this['disposeWithMe'](this[_0x82f960(0x137)][_0x82f960(0x338)]['subscribe'](()=>{var _0x4149df=_0x82f960,_0x55299f;const _0x388d51=this[_0x4149df(0x137)][_0x4149df(0x27d)]();let _0x15b3cc=(_0x55299f=this[_0x4149df(0x14c)][_0x4149df(0x1b6)](Qs))!=null?_0x55299f:en;_0x388d51 instanceof _0x3cb998&&(_0x15b3cc=_0x388d51[_0x4149df(0x2bb)]),document[_0x4149df(0x145)]=_0x15b3cc;}));}};gt=Zs([Yt(0x0,_0x498d5c),Yt(0x1,_0x50b237)],gt);var tn=Object[_0x1c333e(0x31e)],sn=(_0xdbeb6d,_0x4467c4,_0x3d11cc,_0x9f564b)=>{var _0x3662ae=_0x1c333e;for(var _0x4ea008=_0x9f564b>0x1?void 0x0:_0x9f564b?tn(_0x4467c4,_0x3d11cc):_0x4467c4,_0x5eafbc=_0xdbeb6d[_0x3662ae(0x162)]-0x1,_0x453ef0;_0x5eafbc>=0x0;_0x5eafbc--)(_0x453ef0=_0xdbeb6d[_0x5eafbc])&&(_0x4ea008=_0x453ef0(_0x4ea008)||_0x4ea008);return _0x4ea008;},dt=(_0x46290d,_0x3eef55)=>(_0x7ce44e,_0x22724c)=>_0x3eef55(_0x7ce44e,_0x22724c,_0x46290d);let rt=class{constructor(_0x54639a,_0x35ec7e,_0x1066b5){var _0x321af8=_0x1c333e;this['_configService']=_0x54639a,this['_httpService']=_0x35ec7e,this[_0x321af8(0x7a)]=_0x1066b5,this['init']();}['init'](){var _0x5d05d8=_0x1c333e;this[_0x5d05d8(0x23f)][_0x5d05d8(0x9a)]({'priority':0x1,'interceptor':(_0x56247a,_0x104bd2)=>_0x104bd2(_0x56247a)[_0x5d05d8(0x31f)](_0x47abd7(async _0x2d1ea9=>{var _0x14011f=_0x5d05d8;const _0x197174=_0x2d1ea9;if(_0x197174[_0x14011f(0xa6)]===0x191){if(typeof window>'u')throw new Error(_0x14011f(0x300));if(window[_0x14011f(0x13e)](this[_0x14011f(0x7a)]['t']('auth.needGotoLoginAlert'))){const _0x32dff2=window[_0x14011f(0x76)](window[_0x14011f(0x30f)][_0x14011f(0x1c4)]);window[_0x14011f(0x30f)][_0x14011f(0x1c4)]=this['_getLoginPath']()+_0x14011f(0x1f4)+_0x32dff2;}}return _0x197174;}))});}[_0x1c333e(0x2a1)](){var _0x29ab9e=_0x1c333e,_0x2f5a3e;const _0x47dfd2=this['_configService'][_0x29ab9e(0x1b6)](K);return(_0x2f5a3e=_0x47dfd2==null?void 0x0:_0x47dfd2['loginUrlKey'])!=null?_0x2f5a3e:Rs;}};rt=sn([dt(0x0,_0x50b237),dt(0x1,_0x127c6e(_0x3b781f)),dt(0x2,_0x127c6e(_0x85757))],rt);var nn=Object[_0x1c333e(0x31e)],rn=(_0x224fb7,_0x1a4a28,_0x5aaf60,_0x84da20)=>{var _0xf4c41e=_0x1c333e;for(var _0x298ce8=_0x84da20>0x1?void 0x0:_0x84da20?nn(_0x1a4a28,_0x5aaf60):_0x1a4a28,_0x490e06=_0x224fb7[_0xf4c41e(0x162)]-0x1,_0x5254db;_0x490e06>=0x0;_0x490e06--)(_0x5254db=_0x224fb7[_0x490e06])&&(_0x298ce8=_0x5254db(_0x298ce8)||_0x298ce8);return _0x298ce8;},Kt=(_0x50ac5c,_0x5c6703)=>(_0x435f1a,_0x567d39)=>_0x5c6703(_0x435f1a,_0x567d39,_0x50ac5c);const an=_0x1c333e(0x223);let Tt=class extends _0x34f54e{constructor(_0x1058d0,_0x4e11e5){var _0x30c054=_0x1c333e;super(),this[_0x30c054(0xd3)]=_0x1058d0,this['_configService']=_0x4e11e5,this[_0x30c054(0x106)]();}['_initMergeInterceptor'](){var _0xc2869c=_0x1c333e;const _0x4e74ad=this;this[_0xc2869c(0x2d9)](this['_HTTPService'][_0xc2869c(0x9a)]({'priority':0x3e7,'interceptor':_0x1e1856({'isMatch'(_0x479db7){var _0x4530cb=_0xc2869c,_0x1e3bff;if(_0x479db7[_0x4530cb(0x86)]==='POST'&&((_0x1e3bff=_0x479db7[_0x4530cb(0x126)])!=null&&_0x1e3bff[_0x4530cb(0xf4)])){const {objectID:_0x5935e6,objectType:_0x310b9f}=_0x479db7[_0x4530cb(0x126)][_0x4530cb(0xf4)]||{};if(!_0x5935e6||_0x310b9f===void 0x0)return!0x1;const _0x255499=_0x4e74ad[_0x4530cb(0x30d)]()+'/'+_0x310b9f+_0x4530cb(0x1b4)+_0x5935e6+_0x4530cb(0x2a5);if(_0x479db7[_0x4530cb(0x2de)]===_0x255499)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4f0d44){var _0x440494=_0xc2869c,_0x283873;return(_0x283873=_0x4f0d44[_0x440494(0x126)])==null?void 0x0:_0x283873[_0x440494(0xf4)];},'mergeParamsToRequest'(_0x18fd9d,_0x3e65f0){var _0xbb97b5=_0xc2869c;const _0x38b82d=_0x4e74ad['_getAPIPrefixPath']()+_0xbb97b5(0x19e),_0x396d2c=_0x18fd9d[_0xbb97b5(0x30c)]((_0x441c47,_0x451efc)=>{var _0x10e29b=_0xbb97b5;const {unitID:_0x4cca12,objectID:_0x214982,objectType:_0x2b4277,actions:_0x16e087}=_0x451efc;return _0x441c47[_0x4cca12]||(_0x441c47[_0x4cca12]={}),_0x441c47[_0x4cca12][_0x214982]||(_0x441c47[_0x4cca12][_0x214982]={'objectID':_0x214982,'objectType':_0x2b4277,'actions':[]}),_0x441c47[_0x4cca12][_0x214982][_0x10e29b(0x319)][_0x10e29b(0x31d)](..._0x16e087),_0x441c47;},{}),_0x7b1231=[];for(const _0x49feee in _0x396d2c)for(const _0x5bcf60 in _0x396d2c[_0x49feee]){const {actions:_0x480ab7,objectType:_0x4e5c3f}=_0x396d2c[_0x49feee][_0x5bcf60],_0x46a65a=[...new Set(_0x480ab7)];_0x7b1231[_0xbb97b5(0x31d)]({'unitID':_0x49feee,'objectID':_0x5bcf60,'objectType':_0x4e5c3f,'actions':_0x46a65a});}return new _0x137adf(_0xbb97b5(0x1d4),_0x38b82d,{'headers':_0x3e65f0['headers'],'withCredentials':_0x3e65f0[_0xbb97b5(0x2d5)],'responseType':_0x3e65f0[_0xbb97b5(0x28f)],'body':{'requests':_0x7b1231}});}},{'distributeResult'(_0x2db67,_0x4822a6){var _0x1d4ef0=_0xc2869c;const {objectActions:_0x778362}=_0x2db67;return _0x4822a6[_0x1d4ef0(0x113)](_0x55e157=>{var _0x4c0eeb=_0x1d4ef0;const {unitID:_0x3aed64,objectID:_0x463a39,actions:_0x218422}=_0x55e157,_0x590839=_0x778362['find'](_0x12b74a=>_0x12b74a[_0x4c0eeb(0x1b9)]===_0x3aed64&&_0x12b74a['objectID']===_0x463a39),_0x5653e6=_0x218422['map'](_0x742c73=>_0x590839==null?void 0x0:_0x590839[_0x4c0eeb(0x319)][_0x4c0eeb(0x324)](_0x4e7a66=>_0x4e7a66[_0x4c0eeb(0x8c)]===_0x742c73))[_0x4c0eeb(0x15b)](_0x5d6ca7=>!!_0x5d6ca7);return{'config':_0x55e157,'result':{'actions':_0x5653e6,'error':_0x2db67[_0x4c0eeb(0x2c1)]}};});}})}));}[_0x1c333e(0x30d)](){var _0x126432=_0x1c333e,_0x396081;const _0x4e0bfc=this[_0x126432(0x14c)][_0x126432(0x1b6)](K);return(_0x396081=_0x4e0bfc==null?void 0x0:_0x4e0bfc[_0x126432(0x27c)])!=null?_0x396081:an;}async[_0x1c333e(0xf8)](_0x394c68){var _0x1e3b8f=_0x1c333e;const _0x4e2ba3=this[_0x1e3b8f(0x30d)]()+'/'+_0x394c68[_0x1e3b8f(0xff)]+'/object';return(await this[_0x1e3b8f(0xd3)][_0x1e3b8f(0x2a0)](_0x4e2ba3,{'body':_0x394c68}))[_0x1e3b8f(0xf4)][_0x1e3b8f(0x1f2)]||'';}async[_0x1c333e(0x21b)](_0x5ae6f6){var _0x44d011=_0x1c333e;const _0x441f3b=this[_0x44d011(0x30d)]()+'/-/object/list';return(await this['_HTTPService'][_0x44d011(0x2a0)](_0x441f3b,{'body':_0x5ae6f6}))[_0x44d011(0xf4)][_0x44d011(0x1c2)];}async[_0x1c333e(0x2cd)](_0x4add22){var _0x4a3c2d=_0x1c333e,_0x69b5db,_0x11fc6e;const _0x14041a=this['_getAPIPrefixPath']()+'/'+_0x4add22['objectType']+_0x4a3c2d(0x1b4)+_0x4add22[_0x4a3c2d(0x1f2)],_0x2b7996=await this[_0x4a3c2d(0xd3)][_0x4a3c2d(0x1a2)](_0x14041a,{'body':_0x4add22});if(((_0x11fc6e=(_0x69b5db=_0x2b7996==null?void 0x0:_0x2b7996[_0x4a3c2d(0xf4)])==null?void 0x0:_0x69b5db[_0x4a3c2d(0x2c1)])==null?void 0x0:_0x11fc6e['code'])!==0x1)throw new Error(_0x4a3c2d(0x29a));}async[_0x1c333e(0x182)](_0x3dbbc4){var _0x58d477=_0x1c333e;const _0x3c64ee=this[_0x58d477(0x30d)]()+'/'+_0x3dbbc4['objectType']+_0x58d477(0x1b4)+_0x3dbbc4['objectID']+_0x58d477(0x2a5);return(await this[_0x58d477(0xd3)]['post'](_0x3c64ee,{'body':_0x3dbbc4}))[_0x58d477(0xf4)][_0x58d477(0x319)];}async['batchAllowed'](_0x3b08a0){var _0x33ae51=_0x1c333e;const _0x407b84=this['_getAPIPrefixPath']()+_0x33ae51(0x19e);return(await this[_0x33ae51(0xd3)][_0x33ae51(0x2a0)](_0x407b84,{'body':{'requests':_0x3b08a0}}))[_0x33ae51(0xf4)][_0x33ae51(0x384)];}async[_0x1c333e(0x30e)](_0x298ad8){var _0x3801e7=_0x1c333e;const _0xa73da2=this[_0x3801e7(0x30d)]()+'/'+_0x298ad8[_0x3801e7(0xff)]+_0x3801e7(0x2d6),_0x1ab7dc=await this['_HTTPService']['post'](_0xa73da2,{'body':_0x298ad8});return{'roles':_0x1ab7dc['body'][_0x3801e7(0x1cd)],'actions':_0x1ab7dc[_0x3801e7(0xf4)][_0x3801e7(0x319)]};}async[_0x1c333e(0x2e5)](_0x3f398a){var _0x246d4b=_0x1c333e;const _0x2f8a33=this[_0x246d4b(0x30d)]()+'/collaborator';await this[_0x246d4b(0xd3)][_0x246d4b(0x27e)](_0x2f8a33,{'params':{'collaboratorID':_0x3f398a['collaboratorID'],'objectID':_0x3f398a['objectID'],'unitID':_0x3f398a['unitID']}});}async[_0x1c333e(0x294)](_0x525d16){var _0x392069=_0x1c333e;const _0x2d1415=this[_0x392069(0x30d)]()+'/collaborator';await this[_0x392069(0xd3)][_0x392069(0x247)](_0x2d1415,{'body':_0x525d16});}async[_0x1c333e(0x1d5)](_0x2881c9){var _0x3c0c5c=_0x1c333e;const _0x3c635d=this['_getAPIPrefixPath']()+_0x3c0c5c(0x36b);await this['_HTTPService']['post'](_0x3c635d,{'body':_0x2881c9});}async['listCollaborators'](_0x4e3d2b){var _0x40a905=_0x1c333e;const _0x526fe9=this[_0x40a905(0x30d)]()+_0x40a905(0x36b);return(await this[_0x40a905(0xd3)][_0x40a905(0x122)](_0x526fe9,{'params':{'objectID':_0x4e3d2b[_0x40a905(0x1f2)],'unitID':_0x4e3d2b[_0x40a905(0x1b9)]}}))[_0x40a905(0xf4)][_0x40a905(0x18a)];}async['putCollaborators'](_0x47ac6c){var _0x143241=_0x1c333e;const _0x38612d=this[_0x143241(0x30d)]()+_0x143241(0x36b);await this['_HTTPService']['put'](_0x38612d,{'body':_0x47ac6c});}};function _0x5cf6(){var _0x5e773f=['mutations','pauseCollaboration','createInstance','readyForCollab','getAllMembers','resourceIDs','_showConflictNotification','updateSnapshot','/object/','ciphertext','getConfig','avatar','getUnitId','unitID','_createInitialState','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','asObservable','_onConnectionOpen','collabSubmitChangesetUrl','state','awaiting_with_pending','_status$','objects','YUUMI_RATE_OVER_LIMIT','href','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','AUTHORIZE_CODE_ILLEGAL','_updateState','unitId','_ENC_XFORM_MODE','_onOffline','HELLO','getImage','roles','WECHAT_HAS_BEEN_BOUND','updateMember','clone','UNRECOGNIZED','_checkMissing','socketService','POST','createCollaborator','close$','_startCollaboration','PasswordBasedCipher','_removeRoom','_instanceService','Malformed\x20UTF-8\x20data','PAYMENT_CHANNEL_NOT_SUPPORT','_getSendChangesetTimeout','_initRequestHeader','ERROR_IMAGE','_createHelper','onSyncEditingCollabCursor','_timeoutTimer','_onCombEvent','saveChangeset','disableLocalCache','_revisionService','[CollaborationState]:\x20apply\x20error!','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Base64','_waitForHeartbeatResponse','toggleOnline','fromCharCode','[CollaborationSessionService]:\x20socket\x20error','enableAuthServer','parse','_nDataBytes','_minBufferSize','objectID','processBlock','?url=','words','transformMutationsWithChangeset','EMAIL_VERIFY_CODE_MISMATCH','textRanges','[OfflineState]:\x20received\x20changeset.','collaboration-client.local-cache-service','reqId','\x20-\x20','_tryEnsureSocket','HmacSHA1','telemetry\x20info\x20is\x20not\x20initialized','extend','APPLY_REVISION_CONFILICT','iterations','charCodeAt','_replayCachedMutations','members$','onRemoteChangeset','_isPermissionRej','_transformRemoteChangesetByIMECache','baseRev','target','_unlockTransition','USER_NOT_FOUND','SNAPSHOT_URL_KEY','getUnit','onStarting','enc','code','stopTime','getRoom','_nRounds','getValue','src','awaiting','signUrlServerUrl','_init','equals','list','ENTITLE_NEED_BILLING_ADDRESS','_clearTimeoutTimer','APPLY_NON_SEQUENTIAL_REVISION','_sessions','_onRemoteChangeset','_clearUndo','$super','/universer-api/authz','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_changesetReqId','conflict','_mode','fetching\x20missing\x20changesets\x20from\x20','YUUMI_ALL_TABLES_IS_INVALID','[PendingState]:\x20unhandled\x20univer\x20type:\x20','downloadEndpointUrl','isArray','_scheduleCompleteTimestamp','_getRedoStack','defineProperty','_unitID','_onConnectionFailed','set','msCrypto','_append','PERMISSION_REJ','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_toggleOffline','clear','__esModule','session.room-not-exists','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','INVALID_ARGUMENT','_commentUpdate$','params','_httpService','SHOULD_CLOSE_CONN','ERROR_EXCEED_SIZE','_scheduleCollaborationTimeoutTimer','{fileID}','offline','_transformService','_incrementRevisionNumber','patch','key','LIVESHARE_FETCH_OPERATIONS','_substituteRedoStack','UPDATE_PERMISSION_OBJ','incrementRevOfUnit','_exhaustRemoteChangesetQueue','CLOSE_ROOM','UnitEmbedded','transformChangesets','_initCloseConn','changesets','_type','_state$','_state','transformStack\x20failed!','_event$','csAckEvent','_map','crypto','getCurrentUser','indexOf','_memberService','session','_getAPIPrefix','_prevBlock','fetch_missing','saveSheetBlock','3180656jWbHnW','APPLY_DUPLICATED','_schedule','capture','INGEST','loadOfflineData','_eventService','_collaborationTimeoutTimer','_substituteUndoStack','_fetchMissChangesets','connection\x20error','YUUMI_URL_COL_OUT_OF_RANGE','?size=','createEncryptor','_sessionStatus$','image/png','encrypt','_sendingTimer','m2Prime','getMemberID','_snapshotServerService','keySize','LICENSE_DISTRO_REJECTED','_collaborationSessionService','padding','authzUrl','getFocusedUnit','delete','_telemetryService','_listenToNetworkCondition','lib','_pendingMutations','getSheetBlock','_oKey','[DataLoaderService]','_startTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','onCommandExecuted','not_collab','OTHER_CLIENTS_EDITING','add','UNIVER_UNKNOWN','closeSession','setShowComponents','responseType','UNIVER_SLIDE','ivSize','onTransformState','PERSON','updateCollaborator','emitEvent','_transformStateCache','APPLY_REJECT','sendChangesetTimeout','_cipher','Failed\x20to\x20update\x20permission\x20point','_transformUndoredo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getInterceptPoints','BufferedBlockAlgorithm','snapshot','post','_getLoginPath','send','_getUploadFileURL','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','/allowed','LICENSE_EXPORT_SIZE_EXCEEDED','3356296tOqwse','_applyRemoteChangeset','ENTITLE_CAN_NOT_BUY_LOWER_OTP','cfg','SYNCED','apply','resend','function','[CollaborationSessionService]','salt','memberID','fetchMissingChangesets','DEFAULT_FILE_NAME','_doCreateSocket','_socketMessageSubscription','values','/new_changes','override','_keySchedule','LIVESHARE_OPERATION','name','ENTITLE_REPORT_LIMIT_EXCEED','addImageSourceCache','getUnitStatus$','removeMember','_getDownloadEndpointURL','error','_transitionLocked','COMPLETION_FINISHED','now','reconnect','forEach','sid','_sender','CBC','UUID','AES','ws://127.0.0.1:8000/universer-api/comb/connect','update','format','Hasher','_updateLocalCache','/resources','_resendTimer','onMissingChangesets','_sendHeartbeatTimer','withCredentials','/role','CHANGESET_ACK','_members','disposeWithMe','routeKey','submit\x20changeset\x20error!','getCollabEntity$','_sheetTransformSelectionsService','url','_injector','socket\x20close','YUUMI_CONNECTOR_URL_NOT_FOUND','Latin1','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_changesetSessionId','deleteCollaborator','_onRemoteACK','cmd','_throwTelemetryCollaborationNewChangeset','max','failed\x20to\x20apply\x20missed\x20changesets!','UserProfileImg','_waitCount','_xformMode','loadDoc','UNKNOWN_CMD','Univer','COMMENT_UPDATE','UNIVER_PROJECT','REDEMPTION_INVALID_CODE','OPTIONAL','30640TXMQtx','RETRY_CONNECTING_MAX_COUNT','HmacMD5','_doProcessBlock','_lockTransition','LOGIN_FAILED','[PendingState]:\x20received\x20acknowledgement.','YUUMI_AI_RUN_FAILED','9bBLhcJ','PSEUDO_FETCH_MISSING_RESULT','_onLocalMutation','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_process','USERS_LEAVE','UNDEFINED','unsubscribe','c2Prime','hasOwnProperty','_roomCreated$','__creator','_userManagerService','SNAPSHOT_INVALID_SNAPSHOT','onRemoteAck','reduce','_getAPIPrefixPath','listRoles','location','_members$','CHANGESET_REJ','executeCommand','concat','PERMISSION_DENIED','algo','JOIN_ROOM_FAILED','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','updatePermissionObjEvent','actions','createDecryptor','onRemoteRej','Undefined','push','getOwnPropertyDescriptor','pipe','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_clearScheduledTask','members','_joinRoom','find','fetchMiss','encryptBlock','_permissionService','getSheetId','/universer-api/stream/file/upload','FAIL','_toggleOnline','HttpImport','TOO_MANY_REQUESTS','collabWebSocketUrl','_onRemoteRetry','_syncEditingCollabCursor','createSocket','size','IDLE','_decreaseWaiting','toString','getMember','awaitingChangeset','focused$','getCurrentSelections','HttpExport','sessionStatus$','every','RECV','charAt','_onFetchMissResult','readInt32LE','onTransformRemoteChangesetByStateCache','3051111zRJgqt','complete','_collaborationUIEventService','session.room-cnt-exceeds','dispose$','infoRsp','transformSelections','SerializableCipher','range','834rdytqd','/fetchmissing?from=','BlockCipher','[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.','_data','COMPRESS_MUTATION_SEND','loadUnit','[FetchMissState]','\x0aAfter:\x20','HEARTBEAT_INTERVAL','status$','userID','appendMutation','execute','ONLINE','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_socket$','AWAITING','_clearCollaborationTimeoutTimer','AWAITING_WITH_PENDING','ENTITLE_DUP_SUBSCRIPTION','_sendHeartbeat','INVITE_CODE_HAS_BEEN_UES','subject','1193337YQaqbC','_tryReconnect','_acknowledgedAwaitingChangeset','initWorkbookPermissionChange','/universer-api/snapshot','newCsEvent','_telemetryInfo','_roomMembers','/collaborator','snapshotServerUrl','SOCKET_FAILED_RETRY','synced','c1Prime','stringify','init','_candidateSocket','subUnitId','default','FETCH_MISSING','call','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','open$','_disableEditing','NO_OTHER_CLIENTS_EDITING','compute','_getUndoStack','_handler','getUnitOnRev','BlockCipherMode','ERROR_AGAIN','from','_singleActiveUnitService','PY_RUNTIME_SCRIPT_ERROR','objectActions','pad','YUUMI_SUBSCRIPTION_NOT_FOUND','INVITE_CODE_REQUIRED','82OyLYku','/rev/','pluginName','_updateStatus','_onJoinRoomEvent','CURRENT_STATUS_CANNOT_OPERATE','getTypeOfUnitDisposed$','EvpKDF','includes','joinEvent','encodeURIComponent','JOIN','SUBMIT_CHANGESET','_retryConnectingTimer','localeService','mode','getCurrentRevOfUnit','FileId','LICENSE_MAX_UNITS_EXCEEDED','abs','_emitMembers','updatePermissionPoint','_resendTimeout','byteOffset','CONNECTOR_DATA_TOO_LARGE','_config','method','[SyncedState]:\x20received\x20acknowledgement.','hasher','[CollaborationSession]','getTime','LOGIN_TOKEN_PROCESSING_FAILED','action','revision','collaMsg','_undoStacks','HEARTBEAT_TIMEOUT','UNKNOWN_CODE','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_getCurrentRevision','setConfig','OTHER_CLIENT_EDITING','_onUserLeave','__Key__','INVALID_INVITE_CODE','registerHTTPInterceptor','message$','copyFileMeta','REDEMPTION_CODE_HAS_BEEN_CREATED','sessionStatus','_registerDependencies','COMPRESS_MUTATION_APPLY','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','updateOfflineData','symbol','_entities','UnitSnapshot','status','string','SNAPSHOT_HAS_BEEN_REMOVED','_commentService','prototype','selections','onStateChange','Base','SOCKET_FAILED','unitId\x20is\x20not\x20found','onRemoteRetry','getTypeOfUnitAdded$','kdf','INVITE_CODE_ALREADY_BOUND','REDEMPTION_CODE_INACTIVE','image/bmp','x-univer-host','CHANGESET_SHOULD_RETRY','YUUMI_UNABLE_LOAD_URL','_transformRemoteChangesetByStateCache','WordArray','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','\x0aCurrent:\x20','_collabSessionService','localCacheService','blockSize','&assign=','_logService','onTransformRemoteChangesetByIMECache','_networkConditionService','type','MSG_FOR_ERROR','REDEMPTION_CODE_NOT_STARTED','_onRecvEvent','_submitChangeset','BASE64','_iv','isPermissionRej','event$','647232UjpcyV','_undoRedoService','getSnapshotAPIPath','_localCacheService','_awaitingChangeset','findIndex','_HTTPService','univer-pro.collaboration-client.network-condition.service','HEARTBEAT','workbook','onSendChangeset','reverse','Encryptor','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN_ROOM_FULL','UNISCRIPT_RUN','_iKey','setWaitCount','_getCtorByUniverType','requireSession','commentUpdateEvent','then','_clearHeartbeatTimer','NEW_CHANGESETS','liveShareNewHost','has','_onConflict','eventID','_unitInfo$','_transformStack','UNIVER_SHEET','_socketService','_resendWithTimeout','/universer-api/user/session-ticket','exports','ClipsheetFragments','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','ENSURE_SNAPSHOT_EXECUTION','editing\x20status\x20changed\x20to','body','sheets','transformUndoRedo','sigBytes','create','_rescheduleHeartbeat','data','unitInfo$','startsWith','_createInitialStateImpl','getUnitType','objectType','ceil','clamp','_commandService','_createSocket','_createHandler','dispose','_initMergeInterceptor','reject','/universer-api/oidc/authpage','_hash','LIVESHARE_REQUEST_HOST','ENTITLE_CHAT_LIMIT_EXCEED','onTransformSelections','SHA1','_localeService','OpenSSL','/universer-api/file/{fileID}/sign-url','mixIn','toggleOffline','map','univer-pro.collaboration-client-socket-service','_retryCount','Utf8','uploadFileServerUrl','MOBILE_VERIFY_CODE_MISMATCH','_parse','_doCryptBlock','_getSignURL','getActiveSheet','APPLY_PERMISSION_DENIED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','[CollaborationUndoRedoService]','decrypt','entries','get','YUUMI_ASYNCIO_CANCELLED','&to=','byteLength','requestParams','USER_NOT_INVITED_CODE','close','MUTATION','LEAVE','_keyPriorReset','saveSnapshot','randomBytes','reset','onCommentUpdate','buffer','GLOBAL_ROOMS_CNT_EXCEEDS','interceptor','_compressMutationService','onTransformIME','/unit/','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_univerInstanceService','_initDependencies','CipherParams','SUBMIT_CHANGESET_TIMEOUT','JOIN_ROOM_NOT_EXISTS','/universer-api/comb','_remoteChangesetQueue','confirm','Could\x20not\x20dynamically\x20require\x20\x22','getRandomValues','session.room-full','decryptBlock','join','_change$','title','_onMessage','originalMeta','_replaceFileID','next','rev','_executeRemoteChangeset','_configService','_initUnitPermissionChange','[SyncedState]:\x20received\x20rejection.','subscribe','shouldCloseConn','retryConnectingInterval','_clearRetryConnectingTimer','JOINING','getCollabEntity','catch','UNIVER_COLLABORATION_CLIENT_PLUGIN','state$','slice','onMissedChangesetFetched','_snapshotService','filter','_transformSelections','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_HAS_BEEN_BOUND','csRejEvent','ALREADY_EXISTS','UNAUTHENTICATED','length','Hex','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','REDEMPTION_USER_NOT_ELIGIBLE','fromCollab','_invKeySchedule','editingUnit','Cipher','fetchThroughInterceptors','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_collaborationPaused','_queuedRemoteChangesets','_handlerCallback','getResourcesRequest','INTERNAL_ERROR','encode','socket\x20open.','EMAIL_HAS_BEEN_BOUND','_doReset','floor','image/jpg','CHANGESET_REVISION_CONFILICT','NoPadding','NOT_COLLAB','substr','REDEMPTION_CODE_FULLY_REDEEMED','startTime','/block/','pending','_socket','CONFLICT','\x20to\x20','allowed','_clearLocalCache','getImageSourceCache','\x20in\x20_schedule.','getDeserializedSheetBlock','result','random','_clearRedo','collaborators','_DEC_XFORM_MODE','origin','StreamCipher','finalize','LIVESHARE_NEW_HOST','univer-pro.collaboration-client.single-active-unit-service','compose','debug','error$','[CollaborationEntity]','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISS','repeat','OFFLINE','_shouldReportTelemetry','MD5','_onUserJoin','append','_imageSourceCache','/-/object/-/batch_allowed','_hasher','unknown','getLatestCsReqIdBySid','put','setCurrentUser','socket$','UNIVER_DOC','JOIN_ROOM_PERMISSION_DENIED','_socketReady','_reverseMap','_entityInit$','joinRsp','_onRemoteRejected'];_0x5cf6=function(){return _0x5e773f;};return _0x5cf6();}Tt=rn([Kt(0x0,_0x127c6e(_0x3b781f)),Kt(0x1,_0x127c6e(_0x50b237))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x36885f){var _0x1b3cdd=_0x1c333e;return _0x36885f&&_0x36885f[_0x1b3cdd(0x239)]&&Object[_0x1b3cdd(0xaa)][_0x1b3cdd(0x306)][_0x1b3cdd(0x376)](_0x36885f,_0x1b3cdd(0x374))?_0x36885f[_0x1b3cdd(0x374)]:_0x36885f;}var Ve={'exports':{}};function on(_0x496932){var _0x238807=_0x1c333e;throw new Error(_0x238807(0x13f)+_0x496932+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},cn=Ge[_0x1c333e(0xef)],qt;function ie(){var _0x17fe7d=_0x1c333e;return qt||(qt=0x1,function(_0x5b0503,_0x412f9a){(function(_0x4dcefa,_0x2d447e){var _0x5e52a4=_0x9d4b;_0x5b0503[_0x5e52a4(0xef)]=_0x2d447e();}(cn,function(){var _0x28d003=_0x28d003||function(_0x2b3cb7,_0xb05bc4){var _0x1d27d7=_0x9d4b,_0x576782;if(typeof window<'u'&&window['crypto']&&(_0x576782=window[_0x1d27d7(0x25a)]),typeof self<'u'&&self[_0x1d27d7(0x25a)]&&(_0x576782=self[_0x1d27d7(0x25a)]),typeof globalThis<'u'&&globalThis[_0x1d27d7(0x25a)]&&(_0x576782=globalThis['crypto']),!_0x576782&&typeof window<'u'&&window[_0x1d27d7(0x233)]&&(_0x576782=window[_0x1d27d7(0x233)]),!_0x576782&&typeof ft<'u'&&ft[_0x1d27d7(0x25a)]&&(_0x576782=ft[_0x1d27d7(0x25a)]),!_0x576782&&typeof on==_0x1d27d7(0x2ae))try{_0x576782=require('crypto');}catch{}var _0x3483b0=function(){var _0x574d50=_0x1d27d7;if(_0x576782){if(typeof _0x576782[_0x574d50(0x140)]==_0x574d50(0x2ae))try{return _0x576782[_0x574d50(0x140)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x576782[_0x574d50(0x12d)]=='function')try{return _0x576782[_0x574d50(0x12d)](0x4)[_0x574d50(0x340)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x9d35fe=Object['create']||(function(){function _0x171ddb(){}return function(_0x4d1443){var _0x29a303;return _0x171ddb['prototype']=_0x4d1443,_0x29a303=new _0x171ddb(),_0x171ddb['prototype']=null,_0x29a303;};}()),_0xb97af4={},_0x4f2d38=_0xb97af4[_0x1d27d7(0x281)]={},_0x12837f=_0x4f2d38[_0x1d27d7(0xad)]=(function(){return{'extend':function(_0x2ba162){var _0x3dabab=_0x9d4b,_0x3e1053=_0x9d35fe(this);return _0x2ba162&&_0x3e1053[_0x3dabab(0x111)](_0x2ba162),(!_0x3e1053[_0x3dabab(0x306)](_0x3dabab(0x371))||this[_0x3dabab(0x371)]===_0x3e1053[_0x3dabab(0x371)])&&(_0x3e1053[_0x3dabab(0x371)]=function(){var _0x738ea0=_0x3dabab;_0x3e1053['$super']['init'][_0x738ea0(0x2ac)](this,arguments);}),_0x3e1053[_0x3dabab(0x371)]['prototype']=_0x3e1053,_0x3e1053[_0x3dabab(0x222)]=this,_0x3e1053;},'create':function(){var _0x23811f=_0x9d4b,_0x2a4850=this[_0x23811f(0x200)]();return _0x2a4850[_0x23811f(0x371)]['apply'](_0x2a4850,arguments),_0x2a4850;},'init':function(){},'mixIn':function(_0x19c97d){var _0x4e42b0=_0x9d4b;for(var _0x154d22 in _0x19c97d)_0x19c97d[_0x4e42b0(0x306)](_0x154d22)&&(this[_0x154d22]=_0x19c97d[_0x154d22]);_0x19c97d['hasOwnProperty'](_0x4e42b0(0x335))&&(this['toString']=_0x19c97d[_0x4e42b0(0x335)]);},'clone':function(){return this['init']['prototype']['extend'](this);}};}()),_0x334c29=_0x4f2d38[_0x1d27d7(0xba)]=_0x12837f[_0x1d27d7(0x200)]({'init':function(_0x1ab716,_0x193d34){var _0x4884df=_0x1d27d7;_0x1ab716=this[_0x4884df(0x1f5)]=_0x1ab716||[],_0x193d34!=_0xb05bc4?this['sigBytes']=_0x193d34:this[_0x4884df(0xf7)]=_0x1ab716['length']*0x4;},'toString':function(_0xf59efd){var _0x12077d=_0x1d27d7;return(_0xf59efd||_0x13845e)[_0x12077d(0x370)](this);},'concat':function(_0x588038){var _0xd8f15d=_0x1d27d7,_0x222475=this[_0xd8f15d(0x1f5)],_0x3a7a38=_0x588038[_0xd8f15d(0x1f5)],_0x27a4a1=this['sigBytes'],_0x23a027=_0x588038[_0xd8f15d(0xf7)];if(this[_0xd8f15d(0x101)](),_0x27a4a1%0x4)for(var _0x4a74a0=0x0;_0x4a74a0<_0x23a027;_0x4a74a0++){var _0x1203c1=_0x3a7a38[_0x4a74a0>>>0x2]>>>0x18-_0x4a74a0%0x4*0x8&0xff;_0x222475[_0x27a4a1+_0x4a74a0>>>0x2]|=_0x1203c1<<0x18-(_0x27a4a1+_0x4a74a0)%0x4*0x8;}else{for(var _0x2432b2=0x0;_0x2432b2<_0x23a027;_0x2432b2+=0x4)_0x222475[_0x27a4a1+_0x2432b2>>>0x2]=_0x3a7a38[_0x2432b2>>>0x2];}return this[_0xd8f15d(0xf7)]+=_0x23a027,this;},'clamp':function(){var _0x3df2ef=_0x1d27d7,_0x6a2e85=this[_0x3df2ef(0x1f5)],_0x48bf40=this[_0x3df2ef(0xf7)];_0x6a2e85[_0x48bf40>>>0x2]&=0xffffffff<<0x20-_0x48bf40%0x4*0x8,_0x6a2e85[_0x3df2ef(0x162)]=_0x2b3cb7['ceil'](_0x48bf40/0x4);},'clone':function(){var _0x29c095=_0x1d27d7,_0x1a0842=_0x12837f['clone']['call'](this);return _0x1a0842[_0x29c095(0x1f5)]=this['words'][_0x29c095(0x158)](0x0),_0x1a0842;},'random':function(_0x4d7e08){var _0x5c1b79=_0x1d27d7;for(var _0x4f6797=[],_0x1f3090=0x0;_0x1f3090<_0x4d7e08;_0x1f3090+=0x4)_0x4f6797[_0x5c1b79(0x31d)](_0x3483b0());return new _0x334c29[(_0x5c1b79(0x371))](_0x4f6797,_0x4d7e08);}}),_0x4dc92f=_0xb97af4[_0x1d27d7(0x210)]={},_0x13845e=_0x4dc92f[_0x1d27d7(0x163)]={'stringify':function(_0x14efb7){var _0x5b9573=_0x1d27d7;for(var _0x28f1d2=_0x14efb7[_0x5b9573(0x1f5)],_0x244b08=_0x14efb7[_0x5b9573(0xf7)],_0x427957=[],_0x3244ec=0x0;_0x3244ec<_0x244b08;_0x3244ec++){var _0x54929f=_0x28f1d2[_0x3244ec>>>0x2]>>>0x18-_0x3244ec%0x4*0x8&0xff;_0x427957['push']((_0x54929f>>>0x4)[_0x5b9573(0x335)](0x10)),_0x427957['push']((_0x54929f&0xf)[_0x5b9573(0x335)](0x10));}return _0x427957[_0x5b9573(0x143)]('');},'parse':function(_0x4b5ab1){var _0x51d11f=_0x1d27d7;for(var _0x417b96=_0x4b5ab1[_0x51d11f(0x162)],_0x5738fa=[],_0x223952=0x0;_0x223952<_0x417b96;_0x223952+=0x2)_0x5738fa[_0x223952>>>0x3]|=parseInt(_0x4b5ab1[_0x51d11f(0x17a)](_0x223952,0x2),0x10)<<0x18-_0x223952%0x8*0x4;return new _0x334c29[(_0x51d11f(0x371))](_0x5738fa,_0x417b96/0x2);}},_0x568c61=_0x4dc92f[_0x1d27d7(0x2e2)]={'stringify':function(_0x1df5e0){var _0x3b3ad6=_0x1d27d7;for(var _0x3b0e43=_0x1df5e0[_0x3b3ad6(0x1f5)],_0x2c9462=_0x1df5e0[_0x3b3ad6(0xf7)],_0x170215=[],_0x55a9d6=0x0;_0x55a9d6<_0x2c9462;_0x55a9d6++){var _0x50365b=_0x3b0e43[_0x55a9d6>>>0x2]>>>0x18-_0x55a9d6%0x4*0x8&0xff;_0x170215[_0x3b3ad6(0x31d)](String[_0x3b3ad6(0x1ec)](_0x50365b));}return _0x170215[_0x3b3ad6(0x143)]('');},'parse':function(_0x400c71){var _0x1096b3=_0x1d27d7;for(var _0x3a388e=_0x400c71[_0x1096b3(0x162)],_0x83879=[],_0x2afda2=0x0;_0x2afda2<_0x3a388e;_0x2afda2++)_0x83879[_0x2afda2>>>0x2]|=(_0x400c71[_0x1096b3(0x203)](_0x2afda2)&0xff)<<0x18-_0x2afda2%0x4*0x8;return new _0x334c29[(_0x1096b3(0x371))](_0x83879,_0x3a388e);}},_0x3d924c=_0x4dc92f[_0x1d27d7(0x116)]={'stringify':function(_0x9d4158){var _0x2b7ce0=_0x1d27d7;try{return decodeURIComponent(escape(_0x568c61[_0x2b7ce0(0x370)](_0x9d4158)));}catch{throw new Error(_0x2b7ce0(0x1db));}},'parse':function(_0x327f15){var _0x274e52=_0x1d27d7;return _0x568c61[_0x274e52(0x1ef)](unescape(encodeURIComponent(_0x327f15)));}},_0x315f9c=_0x4f2d38['BufferedBlockAlgorithm']=_0x12837f[_0x1d27d7(0x200)]({'reset':function(){var _0xb517be=_0x1d27d7;this[_0xb517be(0x34f)]=new _0x334c29[(_0xb517be(0x371))](),this[_0xb517be(0x1f0)]=0x0;},'_append':function(_0x5c7d10){var _0x2a30b3=_0x1d27d7;typeof _0x5c7d10==_0x2a30b3(0xa7)&&(_0x5c7d10=_0x3d924c[_0x2a30b3(0x1ef)](_0x5c7d10)),this[_0x2a30b3(0x34f)]['concat'](_0x5c7d10),this[_0x2a30b3(0x1f0)]+=_0x5c7d10[_0x2a30b3(0xf7)];},'_process':function(_0x1d05f6){var _0x2554db=_0x1d27d7,_0x3edd33,_0x41181f=this[_0x2554db(0x34f)],_0x113515=_0x41181f[_0x2554db(0x1f5)],_0x3ba6a9=_0x41181f[_0x2554db(0xf7)],_0x2c662d=this[_0x2554db(0xbf)],_0x5551d2=_0x2c662d*0x4,_0x248290=_0x3ba6a9/_0x5551d2;_0x1d05f6?_0x248290=_0x2b3cb7[_0x2554db(0x100)](_0x248290):_0x248290=_0x2b3cb7['max']((_0x248290|0x0)-this[_0x2554db(0x1f1)],0x0);var _0x24ea4b=_0x248290*_0x2c662d,_0x1688be=_0x2b3cb7['min'](_0x24ea4b*0x4,_0x3ba6a9);if(_0x24ea4b){for(var _0x4f7c50=0x0;_0x4f7c50<_0x24ea4b;_0x4f7c50+=_0x2c662d)this[_0x2554db(0x2f8)](_0x113515,_0x4f7c50);_0x3edd33=_0x113515['splice'](0x0,_0x24ea4b),_0x41181f['sigBytes']-=_0x1688be;}return new _0x334c29[(_0x2554db(0x371))](_0x3edd33,_0x1688be);},'clone':function(){var _0x5cf18f=_0x1d27d7,_0x2a557e=_0x12837f['clone']['call'](this);return _0x2a557e[_0x5cf18f(0x34f)]=this['_data'][_0x5cf18f(0x1d0)](),_0x2a557e;},'_minBufferSize':0x0});_0x4f2d38[_0x1d27d7(0x2cf)]=_0x315f9c[_0x1d27d7(0x200)]({'cfg':_0x12837f['extend'](),'init':function(_0x1cde18){var _0x22d7a9=_0x1d27d7;this[_0x22d7a9(0x2aa)]=this[_0x22d7a9(0x2aa)][_0x22d7a9(0x200)](_0x1cde18),this['reset']();},'reset':function(){var _0x426986=_0x1d27d7;_0x315f9c['reset'][_0x426986(0x376)](this),this[_0x426986(0x174)]();},'update':function(_0x3ac2ee){var _0x6c08a4=_0x1d27d7;return this[_0x6c08a4(0x234)](_0x3ac2ee),this[_0x6c08a4(0x301)](),this;},'finalize':function(_0x539944){var _0xad476d=_0x1d27d7;_0x539944&&this[_0xad476d(0x234)](_0x539944);var _0x331a13=this['_doFinalize']();return _0x331a13;},'blockSize':0x10,'_createHelper':function(_0x485817){return function(_0x2440aa,_0x3e578a){var _0x376a71=_0x9d4b;return new _0x485817['init'](_0x3e578a)[_0x376a71(0x18e)](_0x2440aa);};},'_createHmacHelper':function(_0x16eb26){return function(_0x372096,_0x17b1b8){var _0x2873c4=_0x9d4b;return new _0x4d6fb0['HMAC']['init'](_0x16eb26,_0x17b1b8)[_0x2873c4(0x18e)](_0x372096);};}});var _0x4d6fb0=_0xb97af4['algo']={};return _0xb97af4;}(Math);return _0x28d003;}));}(Ge)),Ge[_0x17fe7d(0xef)];}var We={'exports':{}},_n=We[_0x1c333e(0xef)],zt;function Ri(){var _0x462e03=_0x1c333e;return zt||(zt=0x1,function(_0x5b2017,_0x559545){(function(_0x7b8403,_0xb80bb8){_0x5b2017['exports']=_0xb80bb8(ie());}(_n,function(_0x37c63f){var _0x3ac8d3=_0x9d4b;return(function(){var _0x5b07b1=_0x9d4b,_0xcabe94=_0x37c63f,_0x1017b0=_0xcabe94[_0x5b07b1(0x281)],_0x3260bc=_0x1017b0[_0x5b07b1(0xba)],_0x55df63=_0xcabe94[_0x5b07b1(0x210)];_0x55df63[_0x5b07b1(0x1e9)]={'stringify':function(_0x30d229){var _0x261373=_0x5b07b1,_0x5b51f8=_0x30d229[_0x261373(0x1f5)],_0x376a69=_0x30d229[_0x261373(0xf7)],_0x1c1943=this[_0x261373(0x259)];_0x30d229[_0x261373(0x101)]();for(var _0x645b0c=[],_0x2b8ae9=0x0;_0x2b8ae9<_0x376a69;_0x2b8ae9+=0x3)for(var _0x2e6548=_0x5b51f8[_0x2b8ae9>>>0x2]>>>0x18-_0x2b8ae9%0x4*0x8&0xff,_0x5f557f=_0x5b51f8[_0x2b8ae9+0x1>>>0x2]>>>0x18-(_0x2b8ae9+0x1)%0x4*0x8&0xff,_0xc69def=_0x5b51f8[_0x2b8ae9+0x2>>>0x2]>>>0x18-(_0x2b8ae9+0x2)%0x4*0x8&0xff,_0x3c22da=_0x2e6548<<0x10|_0x5f557f<<0x8|_0xc69def,_0x37393a=0x0;_0x37393a<0x4&&_0x2b8ae9+_0x37393a*0.75<_0x376a69;_0x37393a++)_0x645b0c[_0x261373(0x31d)](_0x1c1943[_0x261373(0x33e)](_0x3c22da>>>0x6*(0x3-_0x37393a)&0x3f));var _0x2c4957=_0x1c1943[_0x261373(0x33e)](0x40);if(_0x2c4957){for(;_0x645b0c[_0x261373(0x162)]%0x4;)_0x645b0c['push'](_0x2c4957);}return _0x645b0c[_0x261373(0x143)]('');},'parse':function(_0x23512c){var _0x28b5dd=_0x5b07b1,_0x4416ed=_0x23512c[_0x28b5dd(0x162)],_0x1e10d2=this[_0x28b5dd(0x259)],_0xc4571a=this[_0x28b5dd(0x1a8)];if(!_0xc4571a){_0xc4571a=this[_0x28b5dd(0x1a8)]=[];for(var _0x3183e1=0x0;_0x3183e1<_0x1e10d2[_0x28b5dd(0x162)];_0x3183e1++)_0xc4571a[_0x1e10d2[_0x28b5dd(0x203)](_0x3183e1)]=_0x3183e1;}var _0x1c41bb=_0x1e10d2[_0x28b5dd(0x33e)](0x40);if(_0x1c41bb){var _0x3c869c=_0x23512c[_0x28b5dd(0x25c)](_0x1c41bb);_0x3c869c!==-0x1&&(_0x4416ed=_0x3c869c);}return _0x2a6127(_0x23512c,_0x4416ed,_0xc4571a);},'_map':_0x5b07b1(0xf1)};function _0x2a6127(_0x53d84c,_0x2e0f1b,_0xb499d4){var _0x23ec9a=_0x5b07b1;for(var _0x360139=[],_0x5f5640=0x0,_0x2501c7=0x0;_0x2501c7<_0x2e0f1b;_0x2501c7++)if(_0x2501c7%0x4){var _0x42a354=_0xb499d4[_0x53d84c['charCodeAt'](_0x2501c7-0x1)]<<_0x2501c7%0x4*0x2,_0x640db0=_0xb499d4[_0x53d84c['charCodeAt'](_0x2501c7)]>>>0x6-_0x2501c7%0x4*0x2,_0x14f33d=_0x42a354|_0x640db0;_0x360139[_0x5f5640>>>0x2]|=_0x14f33d<<0x18-_0x5f5640%0x4*0x8,_0x5f5640++;}return _0x3260bc[_0x23ec9a(0xf8)](_0x360139,_0x5f5640);}}()),_0x37c63f[_0x3ac8d3(0x210)][_0x3ac8d3(0x1e9)];}));}(We)),We[_0x462e03(0xef)];}var Ye={'exports':{}},hn=Ye[_0x1c333e(0xef)],Jt;function ln(){var _0x39c153=_0x1c333e;return Jt||(Jt=0x1,function(_0x529857,_0x5058d9){(function(_0x42b00a,_0x57e4ec){var _0x5904df=_0x9d4b;_0x529857[_0x5904df(0xef)]=_0x57e4ec(ie());}(hn,function(_0x52cd64){var _0xc3105d=_0x9d4b;return function(_0x40a44a){var _0x57fc50=_0x9d4b,_0x34c1d8=_0x52cd64,_0x35abc9=_0x34c1d8[_0x57fc50(0x281)],_0x3143b0=_0x35abc9[_0x57fc50(0xba)],_0x5ca520=_0x35abc9[_0x57fc50(0x2cf)],_0x4a8751=_0x34c1d8[_0x57fc50(0x315)],_0x1c5bc5=[];(function(){var _0x4bf763=_0x57fc50;for(var _0x157518=0x0;_0x157518<0x40;_0x157518++)_0x1c5bc5[_0x157518]=_0x40a44a[_0x4bf763(0x7f)](_0x40a44a['sin'](_0x157518+0x1))*0x100000000|0x0;}());var _0x5853e4=_0x4a8751[_0x57fc50(0x19a)]=_0x5ca520[_0x57fc50(0x200)]({'_doReset':function(){var _0x45eb00=_0x57fc50;this['_hash']=new _0x3143b0[(_0x45eb00(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2b1c9c,_0x33182b){var _0x2177c6=_0x57fc50;for(var _0x47eb89=0x0;_0x47eb89<0x10;_0x47eb89++){var _0x44fb9a=_0x33182b+_0x47eb89,_0x10b6f9=_0x2b1c9c[_0x44fb9a];_0x2b1c9c[_0x44fb9a]=(_0x10b6f9<<0x8|_0x10b6f9>>>0x18)&0xff00ff|(_0x10b6f9<<0x18|_0x10b6f9>>>0x8)&0xff00ff00;}var _0x3568fa=this['_hash'][_0x2177c6(0x1f5)],_0x224a5c=_0x2b1c9c[_0x33182b+0x0],_0x279f4e=_0x2b1c9c[_0x33182b+0x1],_0x807f00=_0x2b1c9c[_0x33182b+0x2],_0x22fbbd=_0x2b1c9c[_0x33182b+0x3],_0x4489e5=_0x2b1c9c[_0x33182b+0x4],_0x2604a9=_0x2b1c9c[_0x33182b+0x5],_0x48d720=_0x2b1c9c[_0x33182b+0x6],_0x2bc402=_0x2b1c9c[_0x33182b+0x7],_0x501129=_0x2b1c9c[_0x33182b+0x8],_0x47fb3e=_0x2b1c9c[_0x33182b+0x9],_0x211770=_0x2b1c9c[_0x33182b+0xa],_0x2c1ce4=_0x2b1c9c[_0x33182b+0xb],_0x528bfb=_0x2b1c9c[_0x33182b+0xc],_0x233077=_0x2b1c9c[_0x33182b+0xd],_0x5cffd0=_0x2b1c9c[_0x33182b+0xe],_0x1f6f69=_0x2b1c9c[_0x33182b+0xf],_0xafec9d=_0x3568fa[0x0],_0x2ed8b8=_0x3568fa[0x1],_0x3d7c8e=_0x3568fa[0x2],_0xef3fd5=_0x3568fa[0x3];_0xafec9d=_0x51c4f2(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x224a5c,0x7,_0x1c5bc5[0x0]),_0xef3fd5=_0x51c4f2(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x279f4e,0xc,_0x1c5bc5[0x1]),_0x3d7c8e=_0x51c4f2(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x807f00,0x11,_0x1c5bc5[0x2]),_0x2ed8b8=_0x51c4f2(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x22fbbd,0x16,_0x1c5bc5[0x3]),_0xafec9d=_0x51c4f2(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x4489e5,0x7,_0x1c5bc5[0x4]),_0xef3fd5=_0x51c4f2(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x2604a9,0xc,_0x1c5bc5[0x5]),_0x3d7c8e=_0x51c4f2(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x48d720,0x11,_0x1c5bc5[0x6]),_0x2ed8b8=_0x51c4f2(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2bc402,0x16,_0x1c5bc5[0x7]),_0xafec9d=_0x51c4f2(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x501129,0x7,_0x1c5bc5[0x8]),_0xef3fd5=_0x51c4f2(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x47fb3e,0xc,_0x1c5bc5[0x9]),_0x3d7c8e=_0x51c4f2(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x211770,0x11,_0x1c5bc5[0xa]),_0x2ed8b8=_0x51c4f2(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2c1ce4,0x16,_0x1c5bc5[0xb]),_0xafec9d=_0x51c4f2(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x528bfb,0x7,_0x1c5bc5[0xc]),_0xef3fd5=_0x51c4f2(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x233077,0xc,_0x1c5bc5[0xd]),_0x3d7c8e=_0x51c4f2(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x5cffd0,0x11,_0x1c5bc5[0xe]),_0x2ed8b8=_0x51c4f2(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x1f6f69,0x16,_0x1c5bc5[0xf]),_0xafec9d=_0x1e9652(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x279f4e,0x5,_0x1c5bc5[0x10]),_0xef3fd5=_0x1e9652(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x48d720,0x9,_0x1c5bc5[0x11]),_0x3d7c8e=_0x1e9652(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x2c1ce4,0xe,_0x1c5bc5[0x12]),_0x2ed8b8=_0x1e9652(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x224a5c,0x14,_0x1c5bc5[0x13]),_0xafec9d=_0x1e9652(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x2604a9,0x5,_0x1c5bc5[0x14]),_0xef3fd5=_0x1e9652(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x211770,0x9,_0x1c5bc5[0x15]),_0x3d7c8e=_0x1e9652(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x1f6f69,0xe,_0x1c5bc5[0x16]),_0x2ed8b8=_0x1e9652(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x4489e5,0x14,_0x1c5bc5[0x17]),_0xafec9d=_0x1e9652(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x47fb3e,0x5,_0x1c5bc5[0x18]),_0xef3fd5=_0x1e9652(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x5cffd0,0x9,_0x1c5bc5[0x19]),_0x3d7c8e=_0x1e9652(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x22fbbd,0xe,_0x1c5bc5[0x1a]),_0x2ed8b8=_0x1e9652(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x501129,0x14,_0x1c5bc5[0x1b]),_0xafec9d=_0x1e9652(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x233077,0x5,_0x1c5bc5[0x1c]),_0xef3fd5=_0x1e9652(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x807f00,0x9,_0x1c5bc5[0x1d]),_0x3d7c8e=_0x1e9652(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x2bc402,0xe,_0x1c5bc5[0x1e]),_0x2ed8b8=_0x1e9652(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x528bfb,0x14,_0x1c5bc5[0x1f]),_0xafec9d=_0x14f09b(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x2604a9,0x4,_0x1c5bc5[0x20]),_0xef3fd5=_0x14f09b(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x501129,0xb,_0x1c5bc5[0x21]),_0x3d7c8e=_0x14f09b(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x2c1ce4,0x10,_0x1c5bc5[0x22]),_0x2ed8b8=_0x14f09b(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x5cffd0,0x17,_0x1c5bc5[0x23]),_0xafec9d=_0x14f09b(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x279f4e,0x4,_0x1c5bc5[0x24]),_0xef3fd5=_0x14f09b(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x4489e5,0xb,_0x1c5bc5[0x25]),_0x3d7c8e=_0x14f09b(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x2bc402,0x10,_0x1c5bc5[0x26]),_0x2ed8b8=_0x14f09b(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x211770,0x17,_0x1c5bc5[0x27]),_0xafec9d=_0x14f09b(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x233077,0x4,_0x1c5bc5[0x28]),_0xef3fd5=_0x14f09b(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x224a5c,0xb,_0x1c5bc5[0x29]),_0x3d7c8e=_0x14f09b(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x22fbbd,0x10,_0x1c5bc5[0x2a]),_0x2ed8b8=_0x14f09b(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x48d720,0x17,_0x1c5bc5[0x2b]),_0xafec9d=_0x14f09b(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x47fb3e,0x4,_0x1c5bc5[0x2c]),_0xef3fd5=_0x14f09b(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x528bfb,0xb,_0x1c5bc5[0x2d]),_0x3d7c8e=_0x14f09b(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x1f6f69,0x10,_0x1c5bc5[0x2e]),_0x2ed8b8=_0x14f09b(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x807f00,0x17,_0x1c5bc5[0x2f]),_0xafec9d=_0x323467(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x224a5c,0x6,_0x1c5bc5[0x30]),_0xef3fd5=_0x323467(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x2bc402,0xa,_0x1c5bc5[0x31]),_0x3d7c8e=_0x323467(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x5cffd0,0xf,_0x1c5bc5[0x32]),_0x2ed8b8=_0x323467(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2604a9,0x15,_0x1c5bc5[0x33]),_0xafec9d=_0x323467(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x528bfb,0x6,_0x1c5bc5[0x34]),_0xef3fd5=_0x323467(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x22fbbd,0xa,_0x1c5bc5[0x35]),_0x3d7c8e=_0x323467(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x211770,0xf,_0x1c5bc5[0x36]),_0x2ed8b8=_0x323467(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x279f4e,0x15,_0x1c5bc5[0x37]),_0xafec9d=_0x323467(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x501129,0x6,_0x1c5bc5[0x38]),_0xef3fd5=_0x323467(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x1f6f69,0xa,_0x1c5bc5[0x39]),_0x3d7c8e=_0x323467(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x48d720,0xf,_0x1c5bc5[0x3a]),_0x2ed8b8=_0x323467(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x233077,0x15,_0x1c5bc5[0x3b]),_0xafec9d=_0x323467(_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0x4489e5,0x6,_0x1c5bc5[0x3c]),_0xef3fd5=_0x323467(_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x3d7c8e,_0x2c1ce4,0xa,_0x1c5bc5[0x3d]),_0x3d7c8e=_0x323467(_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x2ed8b8,_0x807f00,0xf,_0x1c5bc5[0x3e]),_0x2ed8b8=_0x323467(_0x2ed8b8,_0x3d7c8e,_0xef3fd5,_0xafec9d,_0x47fb3e,0x15,_0x1c5bc5[0x3f]),_0x3568fa[0x0]=_0x3568fa[0x0]+_0xafec9d|0x0,_0x3568fa[0x1]=_0x3568fa[0x1]+_0x2ed8b8|0x0,_0x3568fa[0x2]=_0x3568fa[0x2]+_0x3d7c8e|0x0,_0x3568fa[0x3]=_0x3568fa[0x3]+_0xef3fd5|0x0;},'_doFinalize':function(){var _0x4d695b=_0x57fc50,_0x5319e3=this[_0x4d695b(0x34f)],_0x2a73d1=_0x5319e3[_0x4d695b(0x1f5)],_0x25d946=this['_nDataBytes']*0x8,_0x338e7d=_0x5319e3['sigBytes']*0x8;_0x2a73d1[_0x338e7d>>>0x5]|=0x80<<0x18-_0x338e7d%0x20;var _0x860dfb=_0x40a44a[_0x4d695b(0x175)](_0x25d946/0x100000000),_0x2cfd35=_0x25d946;_0x2a73d1[(_0x338e7d+0x40>>>0x9<<0x4)+0xf]=(_0x860dfb<<0x8|_0x860dfb>>>0x18)&0xff00ff|(_0x860dfb<<0x18|_0x860dfb>>>0x8)&0xff00ff00,_0x2a73d1[(_0x338e7d+0x40>>>0x9<<0x4)+0xe]=(_0x2cfd35<<0x8|_0x2cfd35>>>0x18)&0xff00ff|(_0x2cfd35<<0x18|_0x2cfd35>>>0x8)&0xff00ff00,_0x5319e3[_0x4d695b(0xf7)]=(_0x2a73d1[_0x4d695b(0x162)]+0x1)*0x4,this[_0x4d695b(0x301)]();for(var _0xe9582f=this[_0x4d695b(0x109)],_0x2bb343=_0xe9582f[_0x4d695b(0x1f5)],_0x461d00=0x0;_0x461d00<0x4;_0x461d00++){var _0x210951=_0x2bb343[_0x461d00];_0x2bb343[_0x461d00]=(_0x210951<<0x8|_0x210951>>>0x18)&0xff00ff|(_0x210951<<0x18|_0x210951>>>0x8)&0xff00ff00;}return _0xe9582f;},'clone':function(){var _0x36c524=_0x57fc50,_0x198fce=_0x5ca520[_0x36c524(0x1d0)][_0x36c524(0x376)](this);return _0x198fce[_0x36c524(0x109)]=this[_0x36c524(0x109)]['clone'](),_0x198fce;}});function _0x51c4f2(_0x1e22cf,_0x16a18f,_0x1a2a70,_0x204394,_0x3f490b,_0x394712,_0x1005ff){var _0x3aad21=_0x1e22cf+(_0x16a18f&_0x1a2a70|~_0x16a18f&_0x204394)+_0x3f490b+_0x1005ff;return(_0x3aad21<<_0x394712|_0x3aad21>>>0x20-_0x394712)+_0x16a18f;}function _0x1e9652(_0x4a037f,_0x65ce28,_0x3b332a,_0x480e30,_0x259e0e,_0x4f6ddc,_0x3b9daf){var _0x3a37d0=_0x4a037f+(_0x65ce28&_0x480e30|_0x3b332a&~_0x480e30)+_0x259e0e+_0x3b9daf;return(_0x3a37d0<<_0x4f6ddc|_0x3a37d0>>>0x20-_0x4f6ddc)+_0x65ce28;}function _0x14f09b(_0x16dc44,_0x456efb,_0x3a64f5,_0x2e4fa0,_0x36a0a2,_0x28289a,_0x236ee2){var _0x509996=_0x16dc44+(_0x456efb^_0x3a64f5^_0x2e4fa0)+_0x36a0a2+_0x236ee2;return(_0x509996<<_0x28289a|_0x509996>>>0x20-_0x28289a)+_0x456efb;}function _0x323467(_0x593474,_0x7f8a8a,_0x398374,_0x5437c6,_0x9b6cdb,_0x1107f0,_0x50f6a8){var _0xbb3c83=_0x593474+(_0x398374^(_0x7f8a8a|~_0x5437c6))+_0x9b6cdb+_0x50f6a8;return(_0xbb3c83<<_0x1107f0|_0xbb3c83>>>0x20-_0x1107f0)+_0x7f8a8a;}_0x34c1d8['MD5']=_0x5ca520[_0x57fc50(0x1e0)](_0x5853e4),_0x34c1d8[_0x57fc50(0x2f7)]=_0x5ca520['_createHmacHelper'](_0x5853e4);}(Math),_0x52cd64[_0xc3105d(0x19a)];}));}(Ye)),Ye[_0x39c153(0xef)];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x1c333e(0xef)],Xt;function dn(){var _0xcaf8ae=_0x1c333e;return Xt||(Xt=0x1,function(_0x3e0c5e,_0x5793a9){(function(_0x4ab90f,_0x44fa83){var _0x3362c8=_0x9d4b;_0x3e0c5e[_0x3362c8(0xef)]=_0x44fa83(ie());}(un,function(_0x23d4c2){return(function(){var _0x8b007a=_0x9d4b,_0xc45463=_0x23d4c2,_0xac30b0=_0xc45463[_0x8b007a(0x281)],_0x3ed58=_0xac30b0[_0x8b007a(0xba)],_0xa892d5=_0xac30b0['Hasher'],_0x10a0d0=_0xc45463[_0x8b007a(0x315)],_0x3f100a=[],_0x23c76f=_0x10a0d0[_0x8b007a(0x10d)]=_0xa892d5['extend']({'_doReset':function(){var _0x384204=_0x8b007a;this[_0x384204(0x109)]=new _0x3ed58[(_0x384204(0x371))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c4343,_0x442a7a){var _0x317755=_0x8b007a;for(var _0x1ba571=this['_hash'][_0x317755(0x1f5)],_0x214aa5=_0x1ba571[0x0],_0x456485=_0x1ba571[0x1],_0x5d6eef=_0x1ba571[0x2],_0x4f8fde=_0x1ba571[0x3],_0x3c1987=_0x1ba571[0x4],_0x471c3c=0x0;_0x471c3c<0x50;_0x471c3c++){if(_0x471c3c<0x10)_0x3f100a[_0x471c3c]=_0x3c4343[_0x442a7a+_0x471c3c]|0x0;else{var _0x4ff351=_0x3f100a[_0x471c3c-0x3]^_0x3f100a[_0x471c3c-0x8]^_0x3f100a[_0x471c3c-0xe]^_0x3f100a[_0x471c3c-0x10];_0x3f100a[_0x471c3c]=_0x4ff351<<0x1|_0x4ff351>>>0x1f;}var _0x2eafaa=(_0x214aa5<<0x5|_0x214aa5>>>0x1b)+_0x3c1987+_0x3f100a[_0x471c3c];_0x471c3c<0x14?_0x2eafaa+=(_0x456485&_0x5d6eef|~_0x456485&_0x4f8fde)+0x5a827999:_0x471c3c<0x28?_0x2eafaa+=(_0x456485^_0x5d6eef^_0x4f8fde)+0x6ed9eba1:_0x471c3c<0x3c?_0x2eafaa+=(_0x456485&_0x5d6eef|_0x456485&_0x4f8fde|_0x5d6eef&_0x4f8fde)-0x70e44324:_0x2eafaa+=(_0x456485^_0x5d6eef^_0x4f8fde)-0x359d3e2a,_0x3c1987=_0x4f8fde,_0x4f8fde=_0x5d6eef,_0x5d6eef=_0x456485<<0x1e|_0x456485>>>0x2,_0x456485=_0x214aa5,_0x214aa5=_0x2eafaa;}_0x1ba571[0x0]=_0x1ba571[0x0]+_0x214aa5|0x0,_0x1ba571[0x1]=_0x1ba571[0x1]+_0x456485|0x0,_0x1ba571[0x2]=_0x1ba571[0x2]+_0x5d6eef|0x0,_0x1ba571[0x3]=_0x1ba571[0x3]+_0x4f8fde|0x0,_0x1ba571[0x4]=_0x1ba571[0x4]+_0x3c1987|0x0;},'_doFinalize':function(){var _0x444d19=_0x8b007a,_0x4bbeda=this[_0x444d19(0x34f)],_0x2330d7=_0x4bbeda[_0x444d19(0x1f5)],_0x32a5f0=this[_0x444d19(0x1f0)]*0x8,_0x188468=_0x4bbeda[_0x444d19(0xf7)]*0x8;return _0x2330d7[_0x188468>>>0x5]|=0x80<<0x18-_0x188468%0x20,_0x2330d7[(_0x188468+0x40>>>0x9<<0x4)+0xe]=Math[_0x444d19(0x175)](_0x32a5f0/0x100000000),_0x2330d7[(_0x188468+0x40>>>0x9<<0x4)+0xf]=_0x32a5f0,_0x4bbeda[_0x444d19(0xf7)]=_0x2330d7[_0x444d19(0x162)]*0x4,this[_0x444d19(0x301)](),this['_hash'];},'clone':function(){var _0xae959=_0x8b007a,_0x60ae8d=_0xa892d5[_0xae959(0x1d0)][_0xae959(0x376)](this);return _0x60ae8d['_hash']=this[_0xae959(0x109)][_0xae959(0x1d0)](),_0x60ae8d;}});_0xc45463[_0x8b007a(0x10d)]=_0xa892d5['_createHelper'](_0x23c76f),_0xc45463[_0x8b007a(0x1fe)]=_0xa892d5['_createHmacHelper'](_0x23c76f);}()),_0x23d4c2['SHA1'];}));}(qe)),qe[_0xcaf8ae(0xef)];}var ze={'exports':{}},fn=ze['exports'],Zt;function vn(){var _0x24a11f=_0x1c333e;return Zt||(Zt=0x1,function(_0x3c15d2,_0x51361f){(function(_0x2035ee,_0x33877b){var _0x324abd=_0x9d4b;_0x3c15d2[_0x324abd(0xef)]=_0x33877b(ie());}(fn,function(_0x26c704){(function(){var _0x30a47f=_0x9d4b,_0x3e6683=_0x26c704,_0x87c0d1=_0x3e6683[_0x30a47f(0x281)],_0x4112b7=_0x87c0d1[_0x30a47f(0xad)],_0x3f7526=_0x3e6683['enc'],_0x452613=_0x3f7526[_0x30a47f(0x116)],_0x22be36=_0x3e6683['algo'];_0x22be36['HMAC']=_0x4112b7[_0x30a47f(0x200)]({'init':function(_0x2d4fd4,_0x2517bf){var _0x2c319e=_0x30a47f;_0x2d4fd4=this['_hasher']=new _0x2d4fd4[(_0x2c319e(0x371))](),typeof _0x2517bf==_0x2c319e(0xa7)&&(_0x2517bf=_0x452613['parse'](_0x2517bf));var _0x40307f=_0x2d4fd4['blockSize'],_0x392640=_0x40307f*0x4;_0x2517bf['sigBytes']>_0x392640&&(_0x2517bf=_0x2d4fd4[_0x2c319e(0x18e)](_0x2517bf)),_0x2517bf['clamp']();for(var _0x4554e8=this[_0x2c319e(0x284)]=_0x2517bf['clone'](),_0x76ae8f=this['_iKey']=_0x2517bf[_0x2c319e(0x1d0)](),_0x48d2c1=_0x4554e8[_0x2c319e(0x1f5)],_0x845439=_0x76ae8f[_0x2c319e(0x1f5)],_0x4c9c52=0x0;_0x4c9c52<_0x40307f;_0x4c9c52++)_0x48d2c1[_0x4c9c52]^=0x5c5c5c5c,_0x845439[_0x4c9c52]^=0x36363636;_0x4554e8[_0x2c319e(0xf7)]=_0x76ae8f['sigBytes']=_0x392640,this['reset']();},'reset':function(){var _0x45c116=_0x30a47f,_0x184737=this[_0x45c116(0x19f)];_0x184737[_0x45c116(0x12e)](),_0x184737[_0x45c116(0x2cd)](this[_0x45c116(0xdd)]);},'update':function(_0x42c6da){var _0x2f4c2b=_0x30a47f;return this[_0x2f4c2b(0x19f)][_0x2f4c2b(0x2cd)](_0x42c6da),this;},'finalize':function(_0xfe05b9){var _0x5db7c4=_0x30a47f,_0x2cc625=this[_0x5db7c4(0x19f)],_0x2aacc0=_0x2cc625[_0x5db7c4(0x18e)](_0xfe05b9);_0x2cc625['reset']();var _0x547d7d=_0x2cc625[_0x5db7c4(0x18e)](this[_0x5db7c4(0x284)][_0x5db7c4(0x1d0)]()[_0x5db7c4(0x313)](_0x2aacc0));return _0x547d7d;}});}());}));}(ze)),ze[_0x24a11f(0xef)];}var pn=Ke[_0x1c333e(0xef)],Qt;function Ci(){var _0x531447=_0x1c333e;return Qt||(Qt=0x1,function(_0x5d3c75,_0x257078){(function(_0x9ec2ad,_0x22c6b0,_0x3168e1){var _0x3bc5c0=_0x9d4b;_0x5d3c75[_0x3bc5c0(0xef)]=_0x22c6b0(ie(),dn(),vn());}(pn,function(_0x36d292){return(function(){var _0x27ac0b=_0x9d4b,_0x31d1a3=_0x36d292,_0x3a5701=_0x31d1a3[_0x27ac0b(0x281)],_0x438696=_0x3a5701[_0x27ac0b(0xad)],_0x411122=_0x3a5701[_0x27ac0b(0xba)],_0x1d2b2e=_0x31d1a3[_0x27ac0b(0x315)],_0x27ac22=_0x1d2b2e[_0x27ac0b(0x19a)],_0xa1775a=_0x1d2b2e[_0x27ac0b(0x73)]=_0x438696[_0x27ac0b(0x200)]({'cfg':_0x438696[_0x27ac0b(0x200)]({'keySize':0x80/0x20,'hasher':_0x27ac22,'iterations':0x1}),'init':function(_0x36bbcf){var _0x2a866c=_0x27ac0b;this[_0x2a866c(0x2aa)]=this[_0x2a866c(0x2aa)][_0x2a866c(0x200)](_0x36bbcf);},'compute':function(_0x3d88da,_0x64ab09){var _0x3b586f=_0x27ac0b;for(var _0x4f05a2,_0x1c3037=this[_0x3b586f(0x2aa)],_0x120c7d=_0x1c3037[_0x3b586f(0x88)][_0x3b586f(0xf8)](),_0x9f7489=_0x411122[_0x3b586f(0xf8)](),_0x451711=_0x9f7489[_0x3b586f(0x1f5)],_0x7efff6=_0x1c3037[_0x3b586f(0x278)],_0x5400ae=_0x1c3037[_0x3b586f(0x202)];_0x451711[_0x3b586f(0x162)]<_0x7efff6;){_0x4f05a2&&_0x120c7d['update'](_0x4f05a2),_0x4f05a2=_0x120c7d[_0x3b586f(0x2cd)](_0x3d88da)['finalize'](_0x64ab09),_0x120c7d[_0x3b586f(0x12e)]();for(var _0x3c508f=0x1;_0x3c508f<_0x5400ae;_0x3c508f++)_0x4f05a2=_0x120c7d[_0x3b586f(0x18e)](_0x4f05a2),_0x120c7d[_0x3b586f(0x12e)]();_0x9f7489['concat'](_0x4f05a2);}return _0x9f7489[_0x3b586f(0xf7)]=_0x7efff6*0x4,_0x9f7489;}});_0x31d1a3[_0x27ac0b(0x73)]=function(_0x5bb3b3,_0x499712,_0x3c33e9){var _0xc7e574=_0x27ac0b;return _0xa1775a[_0xc7e574(0xf8)](_0x3c33e9)[_0xc7e574(0x37b)](_0x5bb3b3,_0x499712);};}()),_0x36d292['EvpKDF'];}));}(Ke)),Ke[_0x531447(0xef)];}var Je={'exports':{}},En=Je['exports'],ei;function Ni(){return ei||(ei=0x1,function(_0x45db12,_0x1e7acc){(function(_0x1d494b,_0x57500f,_0xcdac04){var _0xe9fe1b=_0x9d4b;_0x45db12[_0xe9fe1b(0xef)]=_0x57500f(ie(),Ci());}(En,function(_0x8c357d){var _0x2cb615=_0x9d4b;_0x8c357d[_0x2cb615(0x281)]['Cipher']||function(_0x3bea96){var _0x1e5895=_0x2cb615,_0x46cdfc=_0x8c357d,_0x1aa44e=_0x46cdfc[_0x1e5895(0x281)],_0x1beee2=_0x1aa44e[_0x1e5895(0xad)],_0x259f92=_0x1aa44e[_0x1e5895(0xba)],_0x1cf77a=_0x1aa44e[_0x1e5895(0x29e)],_0x18daf1=_0x46cdfc[_0x1e5895(0x210)];_0x18daf1[_0x1e5895(0x116)];var _0x3ec782=_0x18daf1['Base64'],_0x52def6=_0x46cdfc['algo'],_0xdb36d4=_0x52def6[_0x1e5895(0x73)],_0x2b79bc=_0x1aa44e[_0x1e5895(0x169)]=_0x1cf77a['extend']({'cfg':_0x1beee2[_0x1e5895(0x200)](),'createEncryptor':function(_0x40caa6,_0x16d924){var _0x20bd90=_0x1e5895;return this[_0x20bd90(0xf8)](this['_ENC_XFORM_MODE'],_0x40caa6,_0x16d924);},'createDecryptor':function(_0xc85b61,_0xfdc16c){var _0xf1564e=_0x1e5895;return this['create'](this[_0xf1564e(0x18b)],_0xc85b61,_0xfdc16c);},'init':function(_0x12ea06,_0x5a1188,_0xda3909){var _0x7f6a01=_0x1e5895;this[_0x7f6a01(0x2aa)]=this[_0x7f6a01(0x2aa)][_0x7f6a01(0x200)](_0xda3909),this['_xformMode']=_0x12ea06,this['_key']=_0x5a1188,this['reset']();},'reset':function(){var _0xa40123=_0x1e5895;_0x1cf77a[_0xa40123(0x12e)][_0xa40123(0x376)](this),this[_0xa40123(0x174)]();},'process':function(_0x4eb08d){var _0x2d1ffd=_0x1e5895;return this[_0x2d1ffd(0x234)](_0x4eb08d),this[_0x2d1ffd(0x301)]();},'finalize':function(_0x11fe23){var _0x3e2ccd=_0x1e5895;_0x11fe23&&this[_0x3e2ccd(0x234)](_0x11fe23);var _0x54bad0=this['_doFinalize']();return _0x54bad0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5b4485(_0x37b20f){var _0x4d2446=_0x9d4b;return typeof _0x37b20f==_0x4d2446(0xa7)?_0x35712c:_0x1dc567;}return function(_0x2d5ee1){return{'encrypt':function(_0x5b19b4,_0x1710b4,_0x85009a){var _0x164742=_0x9d4b;return _0x5b4485(_0x1710b4)[_0x164742(0x273)](_0x2d5ee1,_0x5b19b4,_0x1710b4,_0x85009a);},'decrypt':function(_0x588054,_0x58511b,_0x52a6ee){var _0x4a79f7=_0x9d4b;return _0x5b4485(_0x58511b)[_0x4a79f7(0x120)](_0x2d5ee1,_0x588054,_0x58511b,_0x52a6ee);}};};}())});_0x1aa44e[_0x1e5895(0x18d)]=_0x2b79bc[_0x1e5895(0x200)]({'_doFinalize':function(){var _0x2b4a99=_0x1e5895,_0x384553=this[_0x2b4a99(0x301)](!0x0);return _0x384553;},'blockSize':0x1});var _0x32fa02=_0x46cdfc[_0x1e5895(0x7b)]={},_0x4ce21c=_0x1aa44e[_0x1e5895(0x37f)]=_0x1beee2[_0x1e5895(0x200)]({'createEncryptor':function(_0x1a6fb8,_0x38406d){var _0x998b1a=_0x1e5895;return this[_0x998b1a(0xd9)][_0x998b1a(0xf8)](_0x1a6fb8,_0x38406d);},'createDecryptor':function(_0x2b4d08,_0x5e34c3){var _0x1c3c12=_0x1e5895;return this['Decryptor'][_0x1c3c12(0xf8)](_0x2b4d08,_0x5e34c3);},'init':function(_0x15a386,_0x1d7195){this['_cipher']=_0x15a386,this['_iv']=_0x1d7195;}}),_0x26ba0b=_0x32fa02[_0x1e5895(0x2c9)]=(function(){var _0x3de7cf=_0x1e5895,_0x241782=_0x4ce21c[_0x3de7cf(0x200)]();_0x241782['Encryptor']=_0x241782['extend']({'processBlock':function(_0x13c081,_0x573a6e){var _0x544e74=_0x3de7cf,_0x3e3929=this[_0x544e74(0x299)],_0xe5a23=_0x3e3929[_0x544e74(0xbf)];_0x431d36[_0x544e74(0x376)](this,_0x13c081,_0x573a6e,_0xe5a23),_0x3e3929[_0x544e74(0x326)](_0x13c081,_0x573a6e),this[_0x544e74(0x260)]=_0x13c081['slice'](_0x573a6e,_0x573a6e+_0xe5a23);}}),_0x241782['Decryptor']=_0x241782[_0x3de7cf(0x200)]({'processBlock':function(_0x5d2b3c,_0x31693c){var _0x219dfb=_0x3de7cf,_0x42d783=this[_0x219dfb(0x299)],_0x3169cc=_0x42d783[_0x219dfb(0xbf)],_0x19fb2f=_0x5d2b3c[_0x219dfb(0x158)](_0x31693c,_0x31693c+_0x3169cc);_0x42d783[_0x219dfb(0x142)](_0x5d2b3c,_0x31693c),_0x431d36['call'](this,_0x5d2b3c,_0x31693c,_0x3169cc),this[_0x219dfb(0x260)]=_0x19fb2f;}});function _0x431d36(_0x4c2899,_0x394813,_0x3c9de0){var _0x4e66e3=_0x3de7cf,_0x504c5f,_0x3b1154=this[_0x4e66e3(0xca)];_0x3b1154?(_0x504c5f=_0x3b1154,this[_0x4e66e3(0xca)]=_0x3bea96):_0x504c5f=this['_prevBlock'];for(var _0x4c56bb=0x0;_0x4c56bb<_0x3c9de0;_0x4c56bb++)_0x4c2899[_0x394813+_0x4c56bb]^=_0x504c5f[_0x4c56bb];}return _0x241782;}()),_0x24d43b=_0x46cdfc[_0x1e5895(0x385)]={},_0x87ce86=_0x24d43b['Pkcs7']={'pad':function(_0x10384c,_0xf982cf){var _0x13ef4a=_0x1e5895;for(var _0x1dd338=_0xf982cf*0x4,_0x1064a4=_0x1dd338-_0x10384c[_0x13ef4a(0xf7)]%_0x1dd338,_0x3fea0d=_0x1064a4<<0x18|_0x1064a4<<0x10|_0x1064a4<<0x8|_0x1064a4,_0x2170e9=[],_0x4619ff=0x0;_0x4619ff<_0x1064a4;_0x4619ff+=0x4)_0x2170e9[_0x13ef4a(0x31d)](_0x3fea0d);var _0x3bc77e=_0x259f92[_0x13ef4a(0xf8)](_0x2170e9,_0x1064a4);_0x10384c[_0x13ef4a(0x313)](_0x3bc77e);},'unpad':function(_0x4a56fb){var _0x111fbc=_0x1e5895,_0x20d539=_0x4a56fb[_0x111fbc(0x1f5)][_0x4a56fb[_0x111fbc(0xf7)]-0x1>>>0x2]&0xff;_0x4a56fb['sigBytes']-=_0x20d539;}};_0x1aa44e[_0x1e5895(0x34d)]=_0x2b79bc['extend']({'cfg':_0x2b79bc['cfg'][_0x1e5895(0x200)]({'mode':_0x26ba0b,'padding':_0x87ce86}),'reset':function(){var _0x4d926=_0x1e5895,_0x15eb5a;_0x2b79bc['reset'][_0x4d926(0x376)](this);var _0x187814=this[_0x4d926(0x2aa)],_0x47992=_0x187814['iv'],_0x1974a6=_0x187814[_0x4d926(0x7b)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x15eb5a=_0x1974a6[_0x4d926(0x270)]:(_0x15eb5a=_0x1974a6[_0x4d926(0x31a)],this[_0x4d926(0x1f1)]=0x1),this[_0x4d926(0x227)]&&this[_0x4d926(0x227)][_0x4d926(0x308)]==_0x15eb5a?this[_0x4d926(0x227)][_0x4d926(0x371)](this,_0x47992&&_0x47992[_0x4d926(0x1f5)]):(this[_0x4d926(0x227)]=_0x15eb5a[_0x4d926(0x376)](_0x1974a6,this,_0x47992&&_0x47992[_0x4d926(0x1f5)]),this[_0x4d926(0x227)][_0x4d926(0x308)]=_0x15eb5a);},'_doProcessBlock':function(_0x40f140,_0x1add0f){var _0x283ee9=_0x1e5895;this[_0x283ee9(0x227)][_0x283ee9(0x1f3)](_0x40f140,_0x1add0f);},'_doFinalize':function(){var _0x102e27=_0x1e5895,_0x32e197,_0x504741=this[_0x102e27(0x2aa)]['padding'];return this[_0x102e27(0x2ed)]==this[_0x102e27(0x1c9)]?(_0x504741[_0x102e27(0x385)](this['_data'],this[_0x102e27(0xbf)]),_0x32e197=this[_0x102e27(0x301)](!0x0)):(_0x32e197=this[_0x102e27(0x301)](!0x0),_0x504741['unpad'](_0x32e197)),_0x32e197;},'blockSize':0x80/0x20});var _0x587390=_0x1aa44e[_0x1e5895(0x139)]=_0x1beee2[_0x1e5895(0x200)]({'init':function(_0x163d6f){var _0x59dbb3=_0x1e5895;this[_0x59dbb3(0x111)](_0x163d6f);},'toString':function(_0x27497a){var _0x3557ed=_0x1e5895;return(_0x27497a||this['formatter'])[_0x3557ed(0x370)](this);}}),_0x361170=_0x46cdfc['format']={},_0x128ee0=_0x361170[_0x1e5895(0x10f)]={'stringify':function(_0x8cee4c){var _0x338d25=_0x1e5895,_0x4d45da,_0x240b40=_0x8cee4c[_0x338d25(0x1b5)],_0x218dd=_0x8cee4c[_0x338d25(0x2b0)];return _0x218dd?_0x4d45da=_0x259f92[_0x338d25(0xf8)]([0x53616c74,0x65645f5f])['concat'](_0x218dd)[_0x338d25(0x313)](_0x240b40):_0x4d45da=_0x240b40,_0x4d45da['toString'](_0x3ec782);},'parse':function(_0x5dab64){var _0x443a71=_0x1e5895,_0x1ddb6f,_0x5d35e9=_0x3ec782[_0x443a71(0x1ef)](_0x5dab64),_0x36b98d=_0x5d35e9[_0x443a71(0x1f5)];return _0x36b98d[0x0]==0x53616c74&&_0x36b98d[0x1]==0x65645f5f&&(_0x1ddb6f=_0x259f92[_0x443a71(0xf8)](_0x36b98d['slice'](0x2,0x4)),_0x36b98d['splice'](0x0,0x4),_0x5d35e9['sigBytes']-=0x10),_0x587390[_0x443a71(0xf8)]({'ciphertext':_0x5d35e9,'salt':_0x1ddb6f});}},_0x1dc567=_0x1aa44e[_0x1e5895(0x349)]=_0x1beee2['extend']({'cfg':_0x1beee2[_0x1e5895(0x200)]({'format':_0x128ee0}),'encrypt':function(_0x16e608,_0x7884bf,_0x442d97,_0x4ef4c3){var _0x129e99=_0x1e5895;_0x4ef4c3=this[_0x129e99(0x2aa)][_0x129e99(0x200)](_0x4ef4c3);var _0x570480=_0x16e608['createEncryptor'](_0x442d97,_0x4ef4c3),_0x7e5258=_0x570480[_0x129e99(0x18e)](_0x7884bf),_0xe39dda=_0x570480[_0x129e99(0x2aa)];return _0x587390[_0x129e99(0xf8)]({'ciphertext':_0x7e5258,'key':_0x442d97,'iv':_0xe39dda['iv'],'algorithm':_0x16e608,'mode':_0xe39dda[_0x129e99(0x7b)],'padding':_0xe39dda[_0x129e99(0x27b)],'blockSize':_0x16e608['blockSize'],'formatter':_0x4ef4c3[_0x129e99(0x2ce)]});},'decrypt':function(_0x224f76,_0x3c5ad9,_0x2dc074,_0x1cb74d){var _0x1dd48b=_0x1e5895;_0x1cb74d=this[_0x1dd48b(0x2aa)][_0x1dd48b(0x200)](_0x1cb74d),_0x3c5ad9=this[_0x1dd48b(0x119)](_0x3c5ad9,_0x1cb74d[_0x1dd48b(0x2ce)]);var _0x47d253=_0x224f76[_0x1dd48b(0x31a)](_0x2dc074,_0x1cb74d)[_0x1dd48b(0x18e)](_0x3c5ad9[_0x1dd48b(0x1b5)]);return _0x47d253;},'_parse':function(_0x210f48,_0x1adcc6){var _0x4c4848=_0x1e5895;return typeof _0x210f48=='string'?_0x1adcc6[_0x4c4848(0x1ef)](_0x210f48,this):_0x210f48;}}),_0x40a00e=_0x46cdfc[_0x1e5895(0xb2)]={},_0x598d92=_0x40a00e['OpenSSL']={'execute':function(_0x32305a,_0x1a3b57,_0x436fcf,_0x57d2a9,_0x5e1c70){var _0x1f3006=_0x1e5895;if(_0x57d2a9||(_0x57d2a9=_0x259f92['random'](0x40/0x8)),_0x5e1c70)var _0x19d578=_0xdb36d4[_0x1f3006(0xf8)]({'keySize':_0x1a3b57+_0x436fcf,'hasher':_0x5e1c70})[_0x1f3006(0x37b)](_0x32305a,_0x57d2a9);else var _0x19d578=_0xdb36d4[_0x1f3006(0xf8)]({'keySize':_0x1a3b57+_0x436fcf})['compute'](_0x32305a,_0x57d2a9);var _0x2df635=_0x259f92[_0x1f3006(0xf8)](_0x19d578[_0x1f3006(0x1f5)]['slice'](_0x1a3b57),_0x436fcf*0x4);return _0x19d578[_0x1f3006(0xf7)]=_0x1a3b57*0x4,_0x587390[_0x1f3006(0xf8)]({'key':_0x19d578,'iv':_0x2df635,'salt':_0x57d2a9});}},_0x35712c=_0x1aa44e[_0x1e5895(0x1d8)]=_0x1dc567[_0x1e5895(0x200)]({'cfg':_0x1dc567[_0x1e5895(0x2aa)]['extend']({'kdf':_0x598d92}),'encrypt':function(_0x10807d,_0x156680,_0x18d172,_0x596aa8){var _0x26a9a7=_0x1e5895;_0x596aa8=this[_0x26a9a7(0x2aa)][_0x26a9a7(0x200)](_0x596aa8);var _0x46a017=_0x596aa8['kdf']['execute'](_0x18d172,_0x10807d[_0x26a9a7(0x278)],_0x10807d[_0x26a9a7(0x291)],_0x596aa8[_0x26a9a7(0x2b0)],_0x596aa8[_0x26a9a7(0x88)]);_0x596aa8['iv']=_0x46a017['iv'];var _0x327abe=_0x1dc567['encrypt'][_0x26a9a7(0x376)](this,_0x10807d,_0x156680,_0x46a017[_0x26a9a7(0x248)],_0x596aa8);return _0x327abe['mixIn'](_0x46a017),_0x327abe;},'decrypt':function(_0x154dd7,_0x3ca88c,_0x3e4270,_0x5981d6){var _0x33688d=_0x1e5895;_0x5981d6=this[_0x33688d(0x2aa)][_0x33688d(0x200)](_0x5981d6),_0x3ca88c=this[_0x33688d(0x119)](_0x3ca88c,_0x5981d6[_0x33688d(0x2ce)]);var _0x851d17=_0x5981d6[_0x33688d(0xb2)][_0x33688d(0x358)](_0x3e4270,_0x154dd7[_0x33688d(0x278)],_0x154dd7[_0x33688d(0x291)],_0x3ca88c[_0x33688d(0x2b0)],_0x5981d6[_0x33688d(0x88)]);_0x5981d6['iv']=_0x851d17['iv'];var _0x491add=_0x1dc567[_0x33688d(0x120)][_0x33688d(0x376)](this,_0x154dd7,_0x3ca88c,_0x851d17[_0x33688d(0x248)],_0x5981d6);return _0x491add;}});}();}));}(Je)),Je['exports'];}var mn=Ve[_0x1c333e(0xef)],ti;function In(){var _0xca8bb8=_0x1c333e;return ti||(ti=0x1,function(_0x252427,_0x64b7b5){(function(_0x1bad31,_0x502ecc,_0x43f4ef){var _0x4808ce=_0x9d4b;_0x252427[_0x4808ce(0xef)]=_0x502ecc(ie(),Ri(),ln(),Ci(),Ni());}(mn,function(_0x4773d0){var _0x5c9d4c=_0x9d4b;return(function(){var _0x3781c1=_0x9d4b,_0x3c150a=_0x4773d0,_0xa3f72e=_0x3c150a['lib'],_0x195979=_0xa3f72e[_0x3781c1(0x34d)],_0x2525dd=_0x3c150a[_0x3781c1(0x315)],_0x616658=[],_0x2fbafb=[],_0x58eede=[],_0x181a80=[],_0x4bc892=[],_0x28ad96=[],_0x41b15a=[],_0x4427f2=[],_0x2c9b69=[],_0xe06c59=[];(function(){for(var _0xc02f31=[],_0x3691cc=0x0;_0x3691cc<0x100;_0x3691cc++)_0x3691cc<0x80?_0xc02f31[_0x3691cc]=_0x3691cc<<0x1:_0xc02f31[_0x3691cc]=_0x3691cc<<0x1^0x11b;for(var _0x2a6013=0x0,_0x532970=0x0,_0x3691cc=0x0;_0x3691cc<0x100;_0x3691cc++){var _0x3f4eae=_0x532970^_0x532970<<0x1^_0x532970<<0x2^_0x532970<<0x3^_0x532970<<0x4;_0x3f4eae=_0x3f4eae>>>0x8^_0x3f4eae&0xff^0x63,_0x616658[_0x2a6013]=_0x3f4eae,_0x2fbafb[_0x3f4eae]=_0x2a6013;var _0x1f4ef6=_0xc02f31[_0x2a6013],_0xca1f1b=_0xc02f31[_0x1f4ef6],_0xf32389=_0xc02f31[_0xca1f1b],_0x603439=_0xc02f31[_0x3f4eae]*0x101^_0x3f4eae*0x1010100;_0x58eede[_0x2a6013]=_0x603439<<0x18|_0x603439>>>0x8,_0x181a80[_0x2a6013]=_0x603439<<0x10|_0x603439>>>0x10,_0x4bc892[_0x2a6013]=_0x603439<<0x8|_0x603439>>>0x18,_0x28ad96[_0x2a6013]=_0x603439;var _0x603439=_0xf32389*0x1010101^_0xca1f1b*0x10001^_0x1f4ef6*0x101^_0x2a6013*0x1010100;_0x41b15a[_0x3f4eae]=_0x603439<<0x18|_0x603439>>>0x8,_0x4427f2[_0x3f4eae]=_0x603439<<0x10|_0x603439>>>0x10,_0x2c9b69[_0x3f4eae]=_0x603439<<0x8|_0x603439>>>0x18,_0xe06c59[_0x3f4eae]=_0x603439,_0x2a6013?(_0x2a6013=_0x1f4ef6^_0xc02f31[_0xc02f31[_0xc02f31[_0xf32389^_0x1f4ef6]]],_0x532970^=_0xc02f31[_0xc02f31[_0x532970]]):_0x2a6013=_0x532970=0x1;}}());var _0x276557=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f6dba=_0x2525dd[_0x3781c1(0x2cb)]=_0x195979[_0x3781c1(0x200)]({'_doReset':function(){var _0x3618d9=_0x3781c1,_0x3c957e;if(!(this['_nRounds']&&this[_0x3618d9(0x12b)]===this['_key'])){for(var _0x5ae442=this[_0x3618d9(0x12b)]=this['_key'],_0x402eb5=_0x5ae442[_0x3618d9(0x1f5)],_0x4eb806=_0x5ae442[_0x3618d9(0xf7)]/0x4,_0x19631c=this[_0x3618d9(0x214)]=_0x4eb806+0x6,_0x1f443e=(_0x19631c+0x1)*0x4,_0x235c75=this[_0x3618d9(0x2b9)]=[],_0x2b4106=0x0;_0x2b4106<_0x1f443e;_0x2b4106++)_0x2b4106<_0x4eb806?_0x235c75[_0x2b4106]=_0x402eb5[_0x2b4106]:(_0x3c957e=_0x235c75[_0x2b4106-0x1],_0x2b4106%_0x4eb806?_0x4eb806>0x6&&_0x2b4106%_0x4eb806==0x4&&(_0x3c957e=_0x616658[_0x3c957e>>>0x18]<<0x18|_0x616658[_0x3c957e>>>0x10&0xff]<<0x10|_0x616658[_0x3c957e>>>0x8&0xff]<<0x8|_0x616658[_0x3c957e&0xff]):(_0x3c957e=_0x3c957e<<0x8|_0x3c957e>>>0x18,_0x3c957e=_0x616658[_0x3c957e>>>0x18]<<0x18|_0x616658[_0x3c957e>>>0x10&0xff]<<0x10|_0x616658[_0x3c957e>>>0x8&0xff]<<0x8|_0x616658[_0x3c957e&0xff],_0x3c957e^=_0x276557[_0x2b4106/_0x4eb806|0x0]<<0x18),_0x235c75[_0x2b4106]=_0x235c75[_0x2b4106-_0x4eb806]^_0x3c957e);for(var _0x1cecad=this[_0x3618d9(0x167)]=[],_0x4baa4b=0x0;_0x4baa4b<_0x1f443e;_0x4baa4b++){var _0x2b4106=_0x1f443e-_0x4baa4b;if(_0x4baa4b%0x4)var _0x3c957e=_0x235c75[_0x2b4106];else var _0x3c957e=_0x235c75[_0x2b4106-0x4];_0x4baa4b<0x4||_0x2b4106<=0x4?_0x1cecad[_0x4baa4b]=_0x3c957e:_0x1cecad[_0x4baa4b]=_0x41b15a[_0x616658[_0x3c957e>>>0x18]]^_0x4427f2[_0x616658[_0x3c957e>>>0x10&0xff]]^_0x2c9b69[_0x616658[_0x3c957e>>>0x8&0xff]]^_0xe06c59[_0x616658[_0x3c957e&0xff]];}}},'encryptBlock':function(_0x26ab4c,_0x8a340c){var _0x1d8b49=_0x3781c1;this[_0x1d8b49(0x11a)](_0x26ab4c,_0x8a340c,this['_keySchedule'],_0x58eede,_0x181a80,_0x4bc892,_0x28ad96,_0x616658);},'decryptBlock':function(_0x3c1f64,_0x2013f8){var _0x123ed1=_0x3781c1,_0x56cb21=_0x3c1f64[_0x2013f8+0x1];_0x3c1f64[_0x2013f8+0x1]=_0x3c1f64[_0x2013f8+0x3],_0x3c1f64[_0x2013f8+0x3]=_0x56cb21,this[_0x123ed1(0x11a)](_0x3c1f64,_0x2013f8,this['_invKeySchedule'],_0x41b15a,_0x4427f2,_0x2c9b69,_0xe06c59,_0x2fbafb);var _0x56cb21=_0x3c1f64[_0x2013f8+0x1];_0x3c1f64[_0x2013f8+0x1]=_0x3c1f64[_0x2013f8+0x3],_0x3c1f64[_0x2013f8+0x3]=_0x56cb21;},'_doCryptBlock':function(_0x369e71,_0xdb50cc,_0x1fa273,_0x5dc1b2,_0x12ac0c,_0x564de6,_0x59c91d,_0x1fef4d){var _0x2bc561=_0x3781c1;for(var _0x3bad01=this[_0x2bc561(0x214)],_0x880e0=_0x369e71[_0xdb50cc]^_0x1fa273[0x0],_0x2303e3=_0x369e71[_0xdb50cc+0x1]^_0x1fa273[0x1],_0x2250c5=_0x369e71[_0xdb50cc+0x2]^_0x1fa273[0x2],_0x2c8110=_0x369e71[_0xdb50cc+0x3]^_0x1fa273[0x3],_0xc53268=0x4,_0x21b2df=0x1;_0x21b2df<_0x3bad01;_0x21b2df++){var _0x2043a7=_0x5dc1b2[_0x880e0>>>0x18]^_0x12ac0c[_0x2303e3>>>0x10&0xff]^_0x564de6[_0x2250c5>>>0x8&0xff]^_0x59c91d[_0x2c8110&0xff]^_0x1fa273[_0xc53268++],_0x17d6a7=_0x5dc1b2[_0x2303e3>>>0x18]^_0x12ac0c[_0x2250c5>>>0x10&0xff]^_0x564de6[_0x2c8110>>>0x8&0xff]^_0x59c91d[_0x880e0&0xff]^_0x1fa273[_0xc53268++],_0x5dabc1=_0x5dc1b2[_0x2250c5>>>0x18]^_0x12ac0c[_0x2c8110>>>0x10&0xff]^_0x564de6[_0x880e0>>>0x8&0xff]^_0x59c91d[_0x2303e3&0xff]^_0x1fa273[_0xc53268++],_0x3b9dc7=_0x5dc1b2[_0x2c8110>>>0x18]^_0x12ac0c[_0x880e0>>>0x10&0xff]^_0x564de6[_0x2303e3>>>0x8&0xff]^_0x59c91d[_0x2250c5&0xff]^_0x1fa273[_0xc53268++];_0x880e0=_0x2043a7,_0x2303e3=_0x17d6a7,_0x2250c5=_0x5dabc1,_0x2c8110=_0x3b9dc7;}var _0x2043a7=(_0x1fef4d[_0x880e0>>>0x18]<<0x18|_0x1fef4d[_0x2303e3>>>0x10&0xff]<<0x10|_0x1fef4d[_0x2250c5>>>0x8&0xff]<<0x8|_0x1fef4d[_0x2c8110&0xff])^_0x1fa273[_0xc53268++],_0x17d6a7=(_0x1fef4d[_0x2303e3>>>0x18]<<0x18|_0x1fef4d[_0x2250c5>>>0x10&0xff]<<0x10|_0x1fef4d[_0x2c8110>>>0x8&0xff]<<0x8|_0x1fef4d[_0x880e0&0xff])^_0x1fa273[_0xc53268++],_0x5dabc1=(_0x1fef4d[_0x2250c5>>>0x18]<<0x18|_0x1fef4d[_0x2c8110>>>0x10&0xff]<<0x10|_0x1fef4d[_0x880e0>>>0x8&0xff]<<0x8|_0x1fef4d[_0x2303e3&0xff])^_0x1fa273[_0xc53268++],_0x3b9dc7=(_0x1fef4d[_0x2c8110>>>0x18]<<0x18|_0x1fef4d[_0x880e0>>>0x10&0xff]<<0x10|_0x1fef4d[_0x2303e3>>>0x8&0xff]<<0x8|_0x1fef4d[_0x2250c5&0xff])^_0x1fa273[_0xc53268++];_0x369e71[_0xdb50cc]=_0x2043a7,_0x369e71[_0xdb50cc+0x1]=_0x17d6a7,_0x369e71[_0xdb50cc+0x2]=_0x5dabc1,_0x369e71[_0xdb50cc+0x3]=_0x3b9dc7;},'keySize':0x100/0x20});_0x3c150a[_0x3781c1(0x2cb)]=_0x195979[_0x3781c1(0x1e0)](_0x2f6dba);}()),_0x4773d0[_0x5c9d4c(0x2cb)];}));}(Ve)),Ve[_0xca8bb8(0xef)];}var Sn=In();const gn=$e(Sn);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},On=Xe[_0x1c333e(0xef)],si;function Rn(){return si||(si=0x1,function(_0x36ec22,_0x110a55){(function(_0x3851e6,_0x3b0a83){var _0x3ae833=_0x9d4b;_0x36ec22[_0x3ae833(0xef)]=_0x3b0a83(ie());}(On,function(_0x54cbf1){var _0x354624=_0x9d4b;return _0x54cbf1[_0x354624(0x210)][_0x354624(0x116)];}));}(Xe)),Xe['exports'];}var Cn=Rn();const Nn=$e(Cn);var Ze={'exports':{}},bn=Ze[_0x1c333e(0xef)],ni;function Dn(){var _0x1dcda8=_0x1c333e;return ni||(ni=0x1,function(_0x44dac0,_0x3ba6a7){(function(_0x242f46,_0x15d464){var _0x30b1e4=_0x9d4b;_0x44dac0[_0x30b1e4(0xef)]=_0x15d464(ie());}(bn,function(_0x573786){var _0x3eb8c7=_0x9d4b;return(function(){var _0x5ba034=_0x9d4b;if(typeof ArrayBuffer==_0x5ba034(0x2ae)){var _0x57f266=_0x573786,_0x2c5133=_0x57f266[_0x5ba034(0x281)],_0x366e9a=_0x2c5133[_0x5ba034(0xba)],_0x5f028c=_0x366e9a['init'],_0x5bd19e=_0x366e9a[_0x5ba034(0x371)]=function(_0x5ac73f){var _0x190285=_0x5ba034;if(_0x5ac73f instanceof ArrayBuffer&&(_0x5ac73f=new Uint8Array(_0x5ac73f)),(_0x5ac73f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5ac73f instanceof Uint8ClampedArray||_0x5ac73f instanceof Int16Array||_0x5ac73f instanceof Uint16Array||_0x5ac73f instanceof Int32Array||_0x5ac73f instanceof Uint32Array||_0x5ac73f instanceof Float32Array||_0x5ac73f instanceof Float64Array)&&(_0x5ac73f=new Uint8Array(_0x5ac73f[_0x190285(0x130)],_0x5ac73f[_0x190285(0x83)],_0x5ac73f[_0x190285(0x125)])),_0x5ac73f instanceof Uint8Array){for(var _0x360678=_0x5ac73f['byteLength'],_0xf39659=[],_0x3a20f7=0x0;_0x3a20f7<_0x360678;_0x3a20f7++)_0xf39659[_0x3a20f7>>>0x2]|=_0x5ac73f[_0x3a20f7]<<0x18-_0x3a20f7%0x4*0x8;_0x5f028c[_0x190285(0x376)](this,_0xf39659,_0x360678);}else _0x5f028c[_0x190285(0x2ac)](this,arguments);};_0x5bd19e[_0x5ba034(0xaa)]=_0x366e9a;}}()),_0x573786['lib'][_0x3eb8c7(0xba)];}));}(Ze)),Ze[_0x1dcda8(0xef)];}var yn=Dn();const Un=$e(yn);var Qe={'exports':{}},An=Qe[_0x1c333e(0xef)],ri;function Pn(){return ri||(ri=0x1,function(_0x1aeddd,_0x180ec2){(function(_0x2391c8,_0x3c0c23,_0x1f85fc){_0x1aeddd['exports']=_0x3c0c23(ie(),Ni());}(An,function(_0x3f531c){var _0x6e47db=_0x9d4b;return _0x3f531c['pad'][_0x6e47db(0x178)]={'pad':function(){},'unpad':function(){}},_0x3f531c[_0x6e47db(0x385)][_0x6e47db(0x178)];}));}(Qe)),Qe['exports'];}var wn=Pn();const Mn=$e(wn);function Ln(_0x2ae166,_0x3a1e2f){var _0x5af709=_0x1c333e;const _0x1548f4=_0x3a1e2f-_0x2ae166[_0x5af709(0x162)]%_0x3a1e2f,_0x3ee641=String[_0x5af709(0x1ec)](_0x1548f4)[_0x5af709(0x197)](_0x1548f4);return _0x2ae166+_0x3ee641;}function xn(_0x3ff4f8,_0xd5d2af){var _0x38e855=_0x1c333e;const _0x2b6f42=Un[_0x38e855(0x188)](0x10),_0x16bbbf=Ln(_0x3ff4f8,0x10),_0x375dad=gn[_0x38e855(0x273)](Nn[_0x38e855(0x1ef)](_0x16bbbf),ii[_0x38e855(0x1ef)](_0xd5d2af),{'iv':_0x2b6f42,'padding':Mn});return _0x2b6f42['concat'](_0x375dad[_0x38e855(0x1b5)])[_0x38e855(0x335)](ii);}function kn(){var _0x4c032d=_0x1c333e;const _0x2a25ec=_0xf24599()[_0x4c032d(0x98)];if(_0x2a25ec){const _0x239734={'time':Math['floor'](Date[_0x4c032d(0x2c4)]()/0x3e8),'domain':location['hostname']};return xn(JSON[_0x4c032d(0x370)](_0x239734),_0x2a25ec);}}var $n=Object[_0x1c333e(0x31e)],Hn=(_0x9ff004,_0x10df1b,_0x5037d4,_0x53ea80)=>{var _0x328d5f=_0x1c333e;for(var _0x22880b=_0x53ea80>0x1?void 0x0:_0x53ea80?$n(_0x10df1b,_0x5037d4):_0x10df1b,_0x3f611d=_0x9ff004[_0x328d5f(0x162)]-0x1,_0x3b81ec;_0x3f611d>=0x0;_0x3f611d--)(_0x3b81ec=_0x9ff004[_0x3f611d])&&(_0x22880b=_0x3b81ec(_0x22880b)||_0x22880b);return _0x22880b;},Bn=(_0x46415d,_0x429074)=>(_0x37445a,_0x3f3f18)=>_0x429074(_0x37445a,_0x3f3f18,_0x46415d);let at=class{constructor(_0x3763b7){var _0x1928a5=_0x1c333e;this[_0x1928a5(0x23f)]=_0x3763b7,this[_0x1928a5(0x1de)]();}['_initRequestHeader'](){var _0x42c9f2=_0x1c333e;this[_0x42c9f2(0x23f)][_0x42c9f2(0x9a)]({'interceptor':(_0x2ef1cf,_0xddd4b1)=>{var _0x27748b=_0x42c9f2;const _0x3fe0ea=_0x2ef1cf['headers'],_0xddf878=kn();return _0xddf878&&_0x3fe0ea['set'](_0x27748b(0xb6),_0xddf878),_0xddd4b1(_0x2ef1cf);}});}};at=Hn([Bn(0x0,_0x127c6e(_0x3b781f))],at);var jn=Object[_0x1c333e(0x31e)],Fn=(_0x245e43,_0x2ead1b,_0x514108,_0x2dc73c)=>{var _0x3aad18=_0x1c333e;for(var _0x3ae605=_0x2dc73c>0x1?void 0x0:_0x2dc73c?jn(_0x2ead1b,_0x514108):_0x2ead1b,_0x2dad9b=_0x245e43[_0x3aad18(0x162)]-0x1,_0x2d255c;_0x2dad9b>=0x0;_0x2dad9b--)(_0x2d255c=_0x245e43[_0x2dad9b])&&(_0x3ae605=_0x2d255c(_0x3ae605)||_0x3ae605);return _0x3ae605;},vt=(_0x4eea59,_0x443200)=>(_0x332925,_0x3920ab)=>_0x443200(_0x332925,_0x3920ab,_0x4eea59);let Ot=class extends _0x3d746a{constructor(_0x36242d,_0x1556b0,_0x207346){var _0x2f5d84=_0x1c333e;super(),D(this,_0x2f5d84(0xe9),new _0x3033b2(null)),D(this,_0x2f5d84(0xfb),this['_unitInfo$'][_0x2f5d84(0x1bc)]()),(this[_0x2f5d84(0xc1)]=_0x36242d,this[_0x2f5d84(0x15a)]=_0x1556b0,this[_0x2f5d84(0xd0)]=_0x207346);}async['loadUnitOfRevision'](_0x1cc207,_0x448f35,_0x5d701c){var _0x49ab62=_0x1c333e;this[_0x49ab62(0xe9)][_0x49ab62(0x149)]({'unitId':_0x1cc207,'type':_0x448f35});let _0x57cdc0=null;switch(_0x448f35){case Q[_0x49ab62(0xeb)]:{_0x57cdc0=await this[_0x49ab62(0x15a)]['loadSheet'](_0x1cc207,_0x5d701c);break;}case Q[_0x49ab62(0x1a5)]:{_0x57cdc0=await this[_0x49ab62(0x15a)][_0x49ab62(0x2ee)](_0x1cc207,_0x5d701c);break;}default:{this[_0x49ab62(0xc1)]['error'](_0x49ab62(0x285),_0x49ab62(0x11e));break;}}return _0x57cdc0;}async[_0x1c333e(0x351)](_0x5471fe,_0x321419,_0x3d66d4){var _0x4e7471=_0x1c333e,_0xbf09e3;this['_unitInfo$'][_0x4e7471(0x149)]({'unitId':_0x5471fe,'type':_0x321419,'subUnitId':_0x3d66d4});let _0x589e40=0x0;const _0x4b44b3=await((_0xbf09e3=this[_0x4e7471(0xd0)])==null?void 0x0:_0xbf09e3[_0x4e7471(0x268)](_0x5471fe));return _0x4b44b3&&(_0x4b44b3[_0x4e7471(0x337)]||_0x4b44b3[_0x4e7471(0x1ac)]['length']!==0x0)&&(_0x589e40=_0x4b44b3[_0x4e7471(0x14a)]),_0x589e40===0x0&&this[_0x4e7471(0xc1)]['debug'](_0x4e7471(0x285),_0x4e7471(0x136)),this['loadUnitOfRevision'](_0x5471fe,_0x321419,_0x589e40);}};Ot=Fn([vt(0x0,_0xab01ef),vt(0x1,_0x127c6e(_0x29a689)),vt(0x2,_0x4c8504(J))],Ot);var Vn=Object[_0x1c333e(0x31e)],Gn=(_0x4b96ef,_0x50c594,_0x3e5b2f,_0xa3df07)=>{var _0x20d9bd=_0x1c333e;for(var _0x2cc51e=_0xa3df07>0x1?void 0x0:_0xa3df07?Vn(_0x50c594,_0x3e5b2f):_0x50c594,_0xa0bd96=_0x4b96ef[_0x20d9bd(0x162)]-0x1,_0x4bd222;_0xa0bd96>=0x0;_0xa0bd96--)(_0x4bd222=_0x4b96ef[_0xa0bd96])&&(_0x2cc51e=_0x4bd222(_0x2cc51e)||_0x2cc51e);return _0x2cc51e;},pt=(_0x32b7f4,_0x24a966)=>(_0x55e029,_0x32e218)=>_0x24a966(_0x55e029,_0x32e218,_0x32b7f4);const Wn=[_0x1c333e(0x272),'image/jpeg',_0x1c333e(0x176),'image/gif',_0x1c333e(0xb5)],Yn=0x5*0x400*0x400,Kn=_0x1c333e(0x329),qn=_0x1c333e(0x110);let Rt=class{constructor(_0x6cf244,_0x3c8c93,_0x280c88){var _0x557754=_0x1c333e;D(this,_0x557754(0x2ec),0x0),D(this,'_change$',new _0x2a38ce()),D(this,'change$',this['_change$']),D(this,_0x557754(0x19d),new Map()),(this[_0x557754(0x23f)]=_0x6cf244,this[_0x557754(0x14c)]=_0x3c8c93,this['_univerInstanceService']=_0x280c88);}[_0x1c333e(0xde)](_0x1b6ec6){var _0x3b3867=_0x1c333e;this[_0x3b3867(0x2ec)]=_0x1b6ec6,this[_0x3b3867(0x144)][_0x3b3867(0x149)](_0x1b6ec6);}[_0x1c333e(0x184)](_0x4b71b5,_0x3e5433){var _0x39f1b2=_0x1c333e;if(_0x3e5433===_0x4afc2f[_0x39f1b2(0xc9)]){const _0x75a564=new Image();return _0x75a564[_0x39f1b2(0x216)]=_0x4b71b5,_0x75a564;}return this[_0x39f1b2(0x19d)]['get'](_0x4b71b5);}[_0x1c333e(0x2bd)](_0x4f8fe7,_0x304945,_0x36598d){var _0x3bc865=_0x1c333e;_0x304945===_0x4afc2f[_0x3bc865(0xc9)]||_0x36598d==null||this[_0x3bc865(0x19d)][_0x3bc865(0x232)](_0x4f8fe7,_0x36598d);}async[_0x1c333e(0x1cc)](_0xc8056f){var _0x5421bf=_0x1c333e;try{const _0x1267f8=this[_0x5421bf(0x148)](this[_0x5421bf(0x11b)](),''+_0xc8056f),_0x2da21d=(await this['_httpService'][_0x5421bf(0x122)](_0x1267f8))[_0x5421bf(0xf4)];if(_0x2da21d[_0x5421bf(0x2c1)]&&_0x2da21d[_0x5421bf(0x2c1)][_0x5421bf(0x211)]===vi['OK']){const _0x51cf08=new URL(_0x2da21d[_0x5421bf(0x2de)],this['_getDownloadEndpointURL']())[_0x5421bf(0x335)]();return Promise['resolve'](_0x51cf08);}return Promise[_0x5421bf(0x107)](_0x2da21d[_0x5421bf(0x2c1)]);}catch(_0xeb0b2a){return Promise[_0x5421bf(0x107)](_0xeb0b2a);}}async['saveImage'](_0x27963b){var _0x57cca8=_0x1c333e;let _0x224390='';if(!Wn[_0x57cca8(0x74)](_0x27963b[_0x57cca8(0xc4)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xfa96b9['ERROR_IMAGE_TYPE']));if(_0x27963b[_0x57cca8(0x332)]>Yn)return this[_0x57cca8(0x334)](),Promise[_0x57cca8(0x107)](new Error(_0xfa96b9[_0x57cca8(0x241)]));try{const _0x27a0c8=new FormData();_0x27a0c8[_0x57cca8(0x19c)]('file',_0x27963b);const _0x21d868=this['_univerInstanceService'][_0x57cca8(0x27d)](),_0x3cd7ca=_0x21d868==null?void 0x0:_0x21d868[_0x57cca8(0x1b8)]();if(!_0x3cd7ca)throw new Error(_0x57cca8(0xaf));const _0x519d51=this[_0x57cca8(0x2a3)]()+_0x57cca8(0x26f)+_0x27963b[_0x57cca8(0x332)]['toString']()+'&source='+pi[_0x57cca8(0x24f)]+_0x57cca8(0xc0)+encodeURIComponent(_0x3cd7ca),_0x598c72={'body':_0x27a0c8},_0x38d4a2=(await this['_httpService'][_0x57cca8(0x2a0)](_0x519d51,_0x598c72))[_0x57cca8(0xf4)];if(typeof _0x38d4a2[_0x57cca8(0x7d)]!=_0x57cca8(0xa7))return this['_decreaseWaiting'](),Promise[_0x57cca8(0x107)](new Error(_0xfa96b9[_0x57cca8(0x1df)]));_0x224390=_0x38d4a2[_0x57cca8(0x7d)];}catch{return this['_decreaseWaiting'](),Promise[_0x57cca8(0x107)](new Error(_0xfa96b9[_0x57cca8(0x1df)]));}return new Promise((_0x248915,_0x288b9c)=>{const _0x3a5133=new FileReader();_0x3a5133['readAsDataURL'](_0x27963b),_0x3a5133['onload']=_0x5dcd76=>{var _0x1dfb6e=_0x9d4b,_0x3a3beb;const _0x1d0686=(_0x3a3beb=_0x5dcd76[_0x1dfb6e(0x20a)])==null?void 0x0:_0x3a3beb[_0x1dfb6e(0x187)];if(_0x1d0686==null){this[_0x1dfb6e(0x334)](),_0x288b9c(new Error(_0xfa96b9[_0x1dfb6e(0x1df)]));return;}const _0x706835=_0x2db4ab(0x6);_0x248915({'imageId':_0x706835,'imageSourceType':_0x4afc2f[_0x1dfb6e(0x2ca)],'source':_0x224390,'base64Cache':_0x1d0686,'status':_0xfa96b9['SUCCUSS']}),this[_0x1dfb6e(0x334)]();};});}['_getUploadFileURL'](){var _0x2032a0=_0x1c333e,_0x289978;const _0x126662=this[_0x2032a0(0x14c)][_0x2032a0(0x1b6)](K);return(_0x289978=_0x126662==null?void 0x0:_0x126662[_0x2032a0(0x117)])!=null?_0x289978:Kn;}[_0x1c333e(0x11b)](){var _0x170250=_0x1c333e,_0xbf4ada;const _0x423532=this['_configService'][_0x170250(0x1b6)](K);return(_0xbf4ada=_0x423532==null?void 0x0:_0x423532[_0x170250(0x218)])!=null?_0xbf4ada:qn;}[_0x1c333e(0x2c0)](){var _0x4b9a13=_0x1c333e,_0x138dee;const _0x35bd9a=this[_0x4b9a13(0x14c)][_0x4b9a13(0x1b6)](K);return(_0x138dee=_0x35bd9a==null?void 0x0:_0x35bd9a[_0x4b9a13(0x22b)])!=null?_0x138dee:location[_0x4b9a13(0x18c)];}['_replaceFileID'](_0x5c78c5,_0x105daf){var _0x1877e3=_0x1c333e;return _0x5c78c5['replace'](_0x1877e3(0x243),_0x105daf);}['_decreaseWaiting'](){var _0x335de6=_0x1c333e;this[_0x335de6(0x2ec)]-=0x1,this[_0x335de6(0x144)][_0x335de6(0x149)](this['_waitCount']);}};Rt=Gn([pt(0x0,_0x127c6e(_0x3b781f)),pt(0x1,_0x50b237),pt(0x2,_0x127c6e(_0x498d5c))],Rt);var zn=Object[_0x1c333e(0x31e)],Jn=(_0x2c043c,_0x10f3e4,_0x22bf84,_0x4a5328)=>{var _0x2e7acd=_0x1c333e;for(var _0x597857=_0x4a5328>0x1?void 0x0:_0x4a5328?zn(_0x10f3e4,_0x22bf84):_0x10f3e4,_0xb408f8=_0x2c043c[_0x2e7acd(0x162)]-0x1,_0x3f6fef;_0xb408f8>=0x0;_0xb408f8--)(_0x3f6fef=_0x2c043c[_0xb408f8])&&(_0x597857=_0x3f6fef(_0x597857)||_0x597857);return _0x597857;},ai=(_0x3ce6e1,_0x4040f6)=>(_0x14f784,_0x5a6c09)=>_0x4040f6(_0x14f784,_0x5a6c09,_0x3ce6e1);const Xn=_0x1c333e(0x223);let Ct=class{constructor(_0x1ac314,_0x4f54ab){var _0x23aa31=_0x1c333e;this[_0x23aa31(0x14c)]=_0x1ac314,this[_0x23aa31(0xd3)]=_0x4f54ab;}[_0x1c333e(0x30d)](){var _0x29fdf4=_0x1c333e,_0x336e82;const _0x1b2d74=this[_0x29fdf4(0x14c)][_0x29fdf4(0x1b6)](K);return(_0x336e82=_0x1b2d74==null?void 0x0:_0x1b2d74[_0x29fdf4(0x27c)])!=null?_0x336e82:Xn;}async[_0x1c333e(0x21b)](_0x401b7b){var _0x51cf90=_0x1c333e;const _0x1d24b2=this['_getAPIPrefixPath']()+_0x51cf90(0x36b);return{'list':[{'title':'People','mentions':(await this[_0x51cf90(0xd3)][_0x51cf90(0x122)](_0x1d24b2,{'params':{'objectID':_0x401b7b[_0x51cf90(0x1c8)],'unitID':_0x401b7b[_0x51cf90(0x1c8)]}}))[_0x51cf90(0xf4)][_0x51cf90(0x18a)]['map'](_0x3ac5cd=>({'objectId':_0x3ac5cd['id'],'name':_0x3ac5cd[_0x51cf90(0x362)][_0x51cf90(0x2bb)],'metadata':{'icon':_0x3ac5cd[_0x51cf90(0x362)][_0x51cf90(0x1b7)]},'label':_0x3ac5cd[_0x51cf90(0x362)][_0x51cf90(0x2bb)],'objectType':_0x4ef9b6[_0x51cf90(0x293)]})),'metadata':{},'type':_0x4ef9b6[_0x51cf90(0x293)]}]};}};Ct=Jn([ai(0x0,_0x127c6e(_0x50b237)),ai(0x1,_0x127c6e(_0x3b781f))],Ct);var Zn=Object[_0x1c333e(0x31e)],Qn=(_0x43e368,_0x8f1e60,_0x55392b,_0xa8922e)=>{var _0x541054=_0x1c333e;for(var _0x2331f7=_0xa8922e>0x1?void 0x0:_0xa8922e?Zn(_0x8f1e60,_0x55392b):_0x8f1e60,_0x5567f7=_0x43e368[_0x541054(0x162)]-0x1,_0x563a67;_0x5567f7>=0x0;_0x5567f7--)(_0x563a67=_0x43e368[_0x5567f7])&&(_0x2331f7=_0x563a67(_0x2331f7)||_0x2331f7);return _0x2331f7;},Ue=(_0x38bedf,_0x459b29)=>(_0x254a24,_0x2b5e7f)=>_0x459b29(_0x254a24,_0x2b5e7f,_0x38bedf);let ot=class extends _0x3d746a{constructor(_0x4504e2,_0x5f220c,_0x5ed63b,_0x41be2a,_0x37e3da){var _0x57415c=_0x1c333e;super(),this[_0x57415c(0x2df)]=_0x4504e2,this[_0x57415c(0x137)]=_0x5f220c,this[_0x57415c(0x327)]=_0x5ed63b,this[_0x57415c(0x27a)]=_0x41be2a,this[_0x57415c(0x344)]=_0x37e3da,this[_0x57415c(0x14d)](),this[_0x57415c(0x251)]();}[_0x1c333e(0x251)](){var _0x3b80af=_0x1c333e;const _0x2a4203=async _0x3d09a7=>{var _0x595c3b=_0x9d4b;(await this[_0x595c3b(0x27a)][_0x595c3b(0xe0)](_0x3d09a7))['event$']['pipe'](_0xaadfb(_0x408d61=>_0x408d61[_0x595c3b(0xe8)]===_0x49b802[_0x595c3b(0x240)]),_0x380c68(this['dispose$']))['subscribe'](_0x5d2ae8=>{var _0x292e88=_0x595c3b;const _0x13639f=_0x5d2ae8,{reason:_0x41e2c2}=_0x13639f['data'];this[_0x292e88(0x344)][_0x292e88(0x295)]({'id':re[_0x292e88(0x24e)],'data':_0x41e2c2}),this[_0x292e88(0x327)][_0x292e88(0x81)](new _0x521266(_0x3d09a7)['id'],!0x1),this[_0x292e88(0x27a)]['closeSession'](_0x3d09a7);});};_0x3e3aeb(this[_0x3b80af(0x137)][_0x3b80af(0xb1)](_0x1a510f[_0x3b80af(0xeb)]),this[_0x3b80af(0x137)][_0x3b80af(0xb1)](_0x1a510f['UNIVER_DOC']))[_0x3b80af(0x31f)](_0x337713(_0x388dd4=>_0x388dd4[_0x3b80af(0x1b8)]()),_0xaadfb(_0x2a77ff=>!_0x18afdd(_0x2a77ff)),_0x380c68(this[_0x3b80af(0x346)]))[_0x3b80af(0x14f)](_0x5e870e=>{_0x2a4203(_0x5e870e);});}[_0x1c333e(0x14d)](){var _0xb08f88=_0x1c333e;const _0x349cb3=async _0x559907=>{var _0x40c67e=_0x9d4b;const _0x349129=await this[_0x40c67e(0x27a)]['requireSession'](_0x559907),_0x2d9489=this['_injector']['get'](_0xe6bb79);_0x349129[_0x40c67e(0xcc)]['pipe'](_0xaadfb(_0x27c804=>_0x27c804[_0x40c67e(0xe8)]===_0x49b802[_0x40c67e(0x24b)]),_0x380c68(this[_0x40c67e(0x346)]))['subscribe'](_0x40258d=>{var _0x180955=_0x40c67e;const _0x3214e3=_0x40258d,{objectId:_0x4fc97c}=_0x3214e3[_0x180955(0xfa)];_0x4fc97c===_0x559907?_0x2d9489[_0x180955(0x366)](_0x559907):_0x2d9489['refreshPermission'](_0x559907,_0x4fc97c);});};_0x3e3aeb(this[_0xb08f88(0x137)][_0xb08f88(0xb1)](_0x1a510f['UNIVER_SHEET']))[_0xb08f88(0x31f)](_0x337713(_0x41a46f=>_0x41a46f[_0xb08f88(0x1b8)]()),_0xaadfb(_0x183e1f=>!_0x18afdd(_0x183e1f)),_0x380c68(this[_0xb08f88(0x346)]))['subscribe'](_0x2ee819=>{_0x349cb3(_0x2ee819);});}};ot=Qn([Ue(0x0,_0x127c6e(_0x26bcb2)),Ue(0x1,_0x498d5c),Ue(0x2,_0x1b3e55),Ue(0x3,_0x127c6e(we)),Ue(0x4,_0x127c6e(ve))],ot);var er=Object[_0x1c333e(0x31e)],tr=(_0x3b1ed6,_0x51ab19,_0x3533a1,_0x42eb7e)=>{var _0x198929=_0x1c333e;for(var _0x3483bc=_0x42eb7e>0x1?void 0x0:_0x42eb7e?er(_0x51ab19,_0x3533a1):_0x51ab19,_0x155896=_0x3b1ed6[_0x198929(0x162)]-0x1,_0x40d5b8;_0x155896>=0x0;_0x155896--)(_0x40d5b8=_0x3b1ed6[_0x155896])&&(_0x3483bc=_0x40d5b8(_0x3483bc)||_0x3483bc);return _0x3483bc;},oi=(_0x51b18d,_0x5719bd)=>(_0x51ffde,_0xe513c3)=>_0x5719bd(_0x51ffde,_0xe513c3,_0x51b18d);let Nt=class{constructor(_0x4ed26c,_0x5f58c8){var _0x55bdfb=_0x1c333e;this[_0x55bdfb(0x14c)]=_0x4ed26c,this[_0x55bdfb(0x23f)]=_0x5f58c8;}async[_0x1c333e(0x37e)](_0x31d1f4,_0xa2c23e){var _0x1c03ec=_0x1c333e,_0x1f0e5c;const {unitID:_0x3907e8,type:_0x1564e1,revision:_0x53e39e=0x0}=_0xa2c23e,_0x1ee32d=this[_0x1c03ec(0xcf)]()+'/'+_0x1564e1+_0x1c03ec(0x135)+_0x3907e8+_0x1c03ec(0x389)+_0x53e39e,_0x43fbf4=(await this[_0x1c03ec(0x23f)]['get'](_0x1ee32d))[_0x1c03ec(0xf4)],_0x461ae5=(_0x1f0e5c=_0x43fbf4[_0x1c03ec(0x29f)])==null?void 0x0:_0x1f0e5c[_0x1c03ec(0xd6)];if(_0x461ae5){const _0x143350=_0x461ae5==null?void 0x0:_0x461ae5[_0x1c03ec(0x147)],_0x46f68a=_0x277da1[_0x1c03ec(0x171)](_0x4d348b(_0x143350));_0x461ae5[_0x1c03ec(0x147)]=_0x46f68a,Object[_0x1c03ec(0x121)](_0x461ae5[_0x1c03ec(0xf5)])[_0x1c03ec(0x2c6)](([,_0x3a9c73])=>{var _0x54e05f=_0x1c03ec;const _0xfb7ca3=_0x3a9c73[_0x54e05f(0x147)],_0xe0eb90=_0x277da1[_0x54e05f(0x171)](_0x4d348b(_0xfb7ca3));_0x3a9c73[_0x54e05f(0x147)]=_0xe0eb90;});}return _0x43fbf4;}async[_0x1c333e(0x283)](_0x43068e,_0x4eb867){var _0x431e7=_0x1c333e;const {unitID:_0x33035b,type:_0x30d6fc,blockID:_0x29fae3}=_0x4eb867,_0x1b5403=this[_0x431e7(0x25f)]()+'/'+_0x30d6fc+_0x431e7(0x135)+_0x33035b+'/block/'+_0x29fae3;return(await this[_0x431e7(0x23f)][_0x431e7(0x122)](_0x1b5403))[_0x431e7(0xf4)];}async[_0x1c333e(0x186)](_0x5cb518,_0x810ef){var _0x3b431e=_0x1c333e;const {unitID:_0x534c82,type:_0x169729,blockID:_0x14b9a8}=_0x810ef,_0xc950e6=this['_getAPIPrefix']()+_0x3b431e(0x17d)+_0x169729+_0x3b431e(0x135)+_0x534c82+_0x3b431e(0x17d)+_0x14b9a8;return(await this[_0x3b431e(0x23f)][_0x3b431e(0x122)](_0xc950e6))[_0x3b431e(0xf4)];}async[_0x1c333e(0x2b2)](_0x2318a1,_0x367c9a){var _0x3d4549=_0x1c333e;const {unitID:_0x4bfc78,type:_0x42ae40,from:_0x44ae22,to:_0x454367}=_0x367c9a,_0x3ea945=this['_getAPIPrefix']()+'/'+_0x42ae40+_0x3d4549(0x135)+_0x4bfc78+_0x3d4549(0x34c)+_0x44ae22+_0x3d4549(0x124)+_0x454367;return(await this[_0x3d4549(0x23f)][_0x3d4549(0x122)](_0x3ea945))[_0x3d4549(0xf4)];}[_0x1c333e(0xcf)](){var _0xa3f705=_0x1c333e,_0x2bf830;return(_0x2bf830=this[_0xa3f705(0x14c)][_0xa3f705(0x1b6)](vs))!=null?_0x2bf830:this['_getAPIPrefix']();}['_getAPIPrefix'](){var _0x2f9aaf=_0x1c333e,_0xec8927;const _0x120010=this[_0x2f9aaf(0x14c)][_0x2f9aaf(0x1b6)](K);return(_0xec8927=_0x120010==null?void 0x0:_0x120010[_0x2f9aaf(0x36c)])!=null?_0xec8927:fs;}async[_0x1c333e(0x16f)](_0x27ba1f,_0x1795b4){var _0x24d93f=_0x1c333e;const _0x3b1653='/universer-api/snapshot/'+_0x1795b4[_0x24d93f(0xc4)]+'/unit/'+_0x1795b4[_0x24d93f(0x1b9)]+_0x24d93f(0x2d1);return(await this[_0x24d93f(0x23f)]['get'](_0x3b1653,{'params':{'resourceId':JSON[_0x24d93f(0x370)](_0x1795b4[_0x24d93f(0x1b1)])}}))[_0x24d93f(0xf4)];}[_0x1c333e(0x12c)](){var _0x529bc2=_0x1c333e;throw new Error(_0x529bc2(0x317));}[_0x1c333e(0x1b3)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1c333e(0x262)](){var _0x4d0334=_0x1c333e;throw new Error(_0x4d0334(0x317));}[_0x1c333e(0x1e4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1c333e(0x9c)](){var _0x3c5464=_0x1c333e;throw new Error(_0x3c5464(0x317));}[_0x1c333e(0x1a1)](){var _0x48060b=_0x1c333e;throw new Error(_0x48060b(0x317));}};Nt=tr([oi(0x0,_0x50b237),oi(0x1,_0x127c6e(_0x3b781f))],Nt);var ir=Object[_0x1c333e(0x31e)],sr=(_0x31b7f3,_0x3c36d9,_0x647697,_0x3c9f27)=>{var _0x47b158=_0x1c333e;for(var _0x223d60=_0x3c9f27>0x1?void 0x0:_0x3c9f27?ir(_0x3c36d9,_0x647697):_0x3c36d9,_0x4e49dc=_0x31b7f3[_0x47b158(0x162)]-0x1,_0x5826fd;_0x4e49dc>=0x0;_0x4e49dc--)(_0x5826fd=_0x31b7f3[_0x4e49dc])&&(_0x223d60=_0x5826fd(_0x223d60)||_0x223d60);return _0x223d60;},Ae=(_0x3b50b7,_0xf6ee1c)=>(_0x57e70e,_0x110fb4)=>_0xf6ee1c(_0x57e70e,_0x110fb4,_0x3b50b7);let bt=class extends _0x2a2815{constructor(_0x5eeb77,_0x1cb019,_0x1dee96,_0x3462eb,_0x369d5e){var _0x2e8485=_0x1c333e;super(_0x5eeb77,_0x1cb019,_0x1dee96),this[_0x2e8485(0x245)]=_0x3462eb,this[_0x2e8485(0xc1)]=_0x369d5e;}[_0x1c333e(0xf6)](_0x20ee3f,_0x4ded1f){var _0x49f8d0=_0x1c333e;const _0x28304b=this[_0x49f8d0(0x37c)](_0x20ee3f);if(_0x28304b)try{const _0x55a77a=this[_0x49f8d0(0xea)](_0x28304b,_0x4ded1f);this[_0x49f8d0(0x26b)](_0x20ee3f,_0x55a77a);}catch(_0x5a58d5){this[_0x49f8d0(0xc1)][_0x49f8d0(0x2c1)](_0x49f8d0(0x11f),_0x5a58d5),this[_0x49f8d0(0x221)](_0x20ee3f);}const _0x4d07d2=this[_0x49f8d0(0x22e)](_0x20ee3f);if(_0x4d07d2)try{const _0x1b916a=this[_0x49f8d0(0xea)](_0x4d07d2,_0x4ded1f);this['_substituteRedoStack'](_0x20ee3f,_0x1b916a);}catch(_0x9e1dbb){this['_logService'][_0x49f8d0(0x2c1)](_0x9e1dbb),this['_clearRedo'](_0x20ee3f);}}[_0x1c333e(0x221)](_0x4d355d){var _0x50578c=_0x1c333e;const _0x3d9024=this[_0x50578c(0x37c)](_0x4d355d);_0x3d9024&&(_0x3d9024[_0x50578c(0x162)]=0x0,this[_0x50578c(0x38b)]());}[_0x1c333e(0x189)](_0x39683e){var _0x172d14=_0x1c333e;const _0x194925=this[_0x172d14(0x22e)](_0x39683e);_0x194925&&(_0x194925[_0x172d14(0x162)]=0x0,this[_0x172d14(0x38b)]());}[_0x1c333e(0x26b)](_0x522b65,_0x50131e){var _0x50f412=_0x1c333e;this[_0x50f412(0x8f)]['set'](_0x522b65,_0x50131e),this[_0x50f412(0x38b)]();}[_0x1c333e(0x24a)](_0x3afa91,_0xfeda45){var _0x1c3da8=_0x1c333e;this['_redoStacks'][_0x1c3da8(0x232)](_0x3afa91,_0xfeda45),this['_updateStatus']();}['_transformStack'](_0x39c780,_0x3363e2){var _0x4de391=_0x1c333e;const _0x1f7425=[];let _0x2f09f8=_0x3363e2,_0xb5994b=_0x3363e2;for(let _0x904ec=_0x39c780[_0x4de391(0x162)]-0x1;_0x904ec>=0x0;_0x904ec--){const {unitID:_0x1c1bc4,undoMutations:_0x497a91,redoMutations:_0x56e4ed}=_0x39c780[_0x904ec],_0x3ccab5=this[_0x4de391(0x245)][_0x4de391(0x1f6)](_0x2f09f8,_0x497a91),_0x39ea2d=this[_0x4de391(0x245)][_0x4de391(0x1f6)](_0xb5994b,_0x56e4ed);if(_0x34a12a(_0x3ccab5)||_0x34a12a(_0x39ea2d)){this['_logService'][_0x4de391(0x2c1)](_0x4de391(0x11f),_0x4de391(0x256),_0x3ccab5,_0x39ea2d);break;}_0x2f09f8=_0x3ccab5['c1Prime'],_0xb5994b=_0x39ea2d[_0x4de391(0x36f)],_0x1f7425[_0x4de391(0x31d)]({'unitID':_0x1c1bc4,'undoMutations':_0x3ccab5[_0x4de391(0x275)],'redoMutations':_0x39ea2d['m2Prime']});}return _0x1f7425[_0x4de391(0xd8)]();}};bt=sr([Ae(0x0,_0x498d5c),Ae(0x1,_0x587b1a),Ae(0x2,_0x580cd6),Ae(0x3,_0xa73e93),Ae(0x4,_0xab01ef)],bt);var nr=Object[_0x1c333e(0x22f)],rr=Object[_0x1c333e(0x31e)],ar=(_0x5f0661,_0x5aea84,_0x1ada59)=>_0x5aea84 in _0x5f0661?nr(_0x5f0661,_0x5aea84,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ada59}):_0x5f0661[_0x5aea84]=_0x1ada59,or=(_0x423791,_0x42181a,_0x3eb3a8,_0x5064d7)=>{var _0x1dbfba=_0x1c333e;for(var _0x258e84=_0x5064d7>0x1?void 0x0:_0x5064d7?rr(_0x42181a,_0x3eb3a8):_0x42181a,_0xda7689=_0x423791[_0x1dbfba(0x162)]-0x1,_0x4bc120;_0xda7689>=0x0;_0xda7689--)(_0x4bc120=_0x423791[_0xda7689])&&(_0x258e84=_0x4bc120(_0x258e84)||_0x258e84);return _0x258e84;},Et=(_0x2b5093,_0xfa163c)=>(_0x244c1b,_0x54ec62)=>_0xfa163c(_0x244c1b,_0x54ec62,_0x2b5093),cr=(_0x5464c8,_0x25f85d,_0x1c51bd)=>ar(_0x5464c8,_0x25f85d+'',_0x1c51bd);const _r=_0x1c333e(0x156);let Dt=class extends _0x320152{constructor(_0x245bd0,_0x1c37ad,_0x12eea6,_0x2839fa){var _0x33d8b5=_0x1c333e;super(),D(this,_0x33d8b5(0x85)),(this['_logService']=_0x1c37ad,this[_0x33d8b5(0x2df)]=_0x12eea6,this['_configService']=_0x2839fa);const {..._0x3470ed}=_0x57b72d({},Ls,_0x245bd0);if(!_0x3470ed[_0x33d8b5(0x1d3)])throw new Error(_0x33d8b5(0x2e3));this['_config']=_0x3470ed,this[_0x33d8b5(0x14c)][_0x33d8b5(0x95)](K,_0x3470ed);}[_0x1c333e(0x20f)](){var _0x45c6c4=_0x1c333e;this[_0x45c6c4(0x9f)](),this[_0x45c6c4(0x138)]();}[_0x1c333e(0x9f)](){var _0x2346d5=_0x1c333e,_0x274476,_0x318f07;this['_injector'][_0x2346d5(0xe6)](_0x40605b)&&this[_0x2346d5(0xc1)][_0x2346d5(0x2c1)]('[UniverCollaborationClientPlugin]',_0x2346d5(0x2a4));const _0x42c1fe=_0x2f0c87([[_0x40605b,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x2346d5(0x85)]['socketService']}],[_0x57f5b6,{'useClass':Nt}],[_0xbf0664,{'useClass':Tt}],[_0x553c7c,{'useClass':Rt}],[_0x10ff2e,{'useClass':Ct}],[nt],[gt]],(_0x274476=this[_0x2346d5(0x85)])==null?void 0x0:_0x274476[_0x2346d5(0x2b8)]);if(!((_0x318f07=this[_0x2346d5(0x85)])!=null&&_0x318f07['enableSingleActiveInstanceLock'])){const _0x24c146=_0x42c1fe[_0x2346d5(0xd2)](([_0x4458e3])=>_0x4458e3===_t);_0x24c146!==-0x1&&_0x42c1fe['splice'](_0x24c146,0x1);}_0x4aecb5(this[_0x2346d5(0x2df)],_0x42c1fe);}[_0x1c333e(0x138)](){var _0x4fb834=_0x1c333e,_0x305e44,_0x53a727,_0x36a88a;this[_0x4fb834(0x2df)][_0x4fb834(0x122)](_0x3b781f)[_0x4fb834(0x9a)]({'priority':0x14,'interceptor':_0x26e0bf({'maxParallel':0x6})}),(_0x305e44=this['_config'])!=null&&_0x305e44['enableOfflineEditing']||(_0x53a727=this[_0x4fb834(0x2df)]['get'](J,_0x5e1642[_0x4fb834(0x2f4)]))==null||_0x53a727[_0x4fb834(0x1e5)](),(_0x36a88a=this[_0x4fb834(0x85)])!=null&&_0x36a88a[_0x4fb834(0x1ee)]&&_0x1a0bdd(this['_injector'],[[rt]]),_0x1a0bdd(this[_0x4fb834(0x2df)],[[at],[nt],[ot]]);}};cr(Dt,_0x1c333e(0x38a),_r),Dt=or([_0x353887(_0x5f3378,_0x5dee0d),Et(0x1,_0xab01ef),Et(0x2,_0x127c6e(_0x26bcb2)),Et(0x3,_0x50b237)],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,Wt 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,Cr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,gr 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,js as INetworkConditionService,_t as ISingleActiveUnitService,Or as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Rr 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,Nr as getLocalCacheKey,Vs as serializeCombRequest};
|