@univerjs-pro/collaboration-client 0.7.0-nightly.202505091607 → 0.7.0-nightly.202505101606
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3527bc=_0x579a;(function(_0x3abdfb,_0x23945a){var _0x5bb070=_0x579a,_0x248bff=_0x3abdfb();while(!![]){try{var _0x4e9a19=-parseInt(_0x5bb070(0x1c0))/0x1*(-parseInt(_0x5bb070(0x2a7))/0x2)+parseInt(_0x5bb070(0x1f8))/0x3*(-parseInt(_0x5bb070(0x112))/0x4)+-parseInt(_0x5bb070(0x234))/0x5+parseInt(_0x5bb070(0x1a9))/0x6*(parseInt(_0x5bb070(0x205))/0x7)+-parseInt(_0x5bb070(0x22b))/0x8*(-parseInt(_0x5bb070(0x360))/0x9)+parseInt(_0x5bb070(0xca))/0xa*(parseInt(_0x5bb070(0xb6))/0xb)+parseInt(_0x5bb070(0x8c))/0xc*(-parseInt(_0x5bb070(0x18f))/0xd);if(_0x4e9a19===_0x23945a)break;else _0x248bff['push'](_0x248bff['shift']());}catch(_0x4f02bd){_0x248bff['push'](_0x248bff['shift']());}}}(_0x112a,0xe398f));var wi=Object['defineProperty'],Pi=(_0x46864e,_0x2f49ce,_0x598d9b)=>_0x2f49ce in _0x46864e?wi(_0x46864e,_0x2f49ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x598d9b}):_0x46864e[_0x2f49ce]=_0x598d9b,N=(_0xb0c6be,_0x4e2283,_0x441257)=>Pi(_0xb0c6be,typeof _0x4e2283!=_0x3527bc(0x163)?_0x4e2283+'':_0x4e2283,_0x441257);import{createIdentifier as _0x58c8cc,Inject as _0x316576,Injector as _0x2f1087,IConfigService as _0x1f147a,ILogService as _0x12a8cc,Disposable as _0x5b0698,DisposableCollection as _0x4b6ce9,toDisposable as _0x364fc5,IUniverInstanceService as _0x44db50,UserManagerService as _0x1bb846,UniverInstanceType as _0x1f2450,LocaleService as _0x59bcee,Optional as _0x40f615,RxDisposable as _0x4a34ad,Tools as _0x152b64,Rectangle as _0x5cbd58,ICommandService as _0x3d3bf2,JSONX as _0x215be1,CommandType as _0x203821,IUndoRedoService as _0x341bb1,IPermissionService as _0x1a815c,sequenceExecute as _0x309c75,Workbook as _0xf0084e,MentionType as _0x4dd4e4,isInternalEditorID as _0x56b013,LocalUndoRedoService as _0x2e4a10,IContextService as _0x6a6c7,DependentOn as _0x1ccec8,Plugin as _0x543877,merge as _0x30a2fd,mergeOverrideWithDependencies as _0x17a17a,IAuthzIoService as _0x467741,IMentionIOService as _0x25e9a1,registerDependencies as _0x27b5f4,Quantity as _0x3e0c84,touchDependencies as _0x31f4ab}from'@univerjs/core';import{Subject as _0x276857,merge as _0x48fd88,of as _0x399974,BehaviorSubject as _0x28f0cd,takeUntil as _0x47c2a5,ReplaySubject as _0x5515c3,take as _0x45086f,map as _0xf4e096,shareReplay as _0xb7b35d,firstValueFrom as _0x582f90,concatMap as _0x5df8aa}from'rxjs';import{map as _0xc31e53,take as _0xeb202f,filter as _0x35e324,delay as _0x1d894b,takeUntil as _0x5ee684}from'rxjs/operators';import{CollaborationEvent as _0x43939e,ISnapshotServerService as _0x330226,parseChangesetToProtocol as _0x4c539f,ITransformService as _0xcbb9b,isTransformMutationsWithChangesetSuccess as _0x172cb4,mapDocumentTypeToUniverType as _0x460f27,RevisionService as _0x2ab545,isTransformChangesetsSuccess as _0x48397b,CompressMutationService as _0x127b3b,parseProtocolChangeset as _0x478ab6,SnapshotService as _0x2961ee,textEncoder as _0x282826,b64DecodeUnicode as _0x42d520,isTransformMutationsWithChangesetFailure as _0x2c1739,UniverCollaborationPlugin as _0x1ce483}from'@univerjs-pro/collaboration';import{HTTPService as _0x2111ef,ISocketService as _0x57c9ca,MergeInterceptorFactory as _0x2c8340,HTTPRequest as _0x40ab5b,UniverNetworkPlugin as _0xa5d7d2,ThresholdInterceptorFactory as _0x3b004f}from'@univerjs/network';import{ITelemetryService as _0x11817b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x30d2aa}from'@univerjs/docs';import{SheetsSelectionsService as _0x5f1344,SetSelectionsOperation as _0x32fbde,InsertSheetMutation as _0x1d2ecf,EmptyMutation as _0x31450b,WorkbookEditablePermission as _0x41bfe5,SheetPermissionInitController as _0x175ecc}from'@univerjs/sheets';import{ImageSourceType as _0x1b1704,ImageUploadStatusType as _0x402439,IImageIoService as _0x5d1303}from'@univerjs/drawing';import{getGlobalObject as _0x57b992}from'@univerjs-pro/license';const mn=_0x3527bc(0x106),gn=_0x3527bc(0xee),Sn=_0x3527bc(0x1c8),Lr=_0x3527bc(0x22d),En=0x7d0,In=_0x3527bc(0x2af),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Mr=_0x3527bc(0x37f),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x3527bc(0x382),gi=0x4e20,bn=0x4e20,On=_0x3527bc(0x32c),yn=0x3,xr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn=_0x3527bc(0x2da),Dn=_0x3527bc(0x120),Un=_0x3527bc(0x359),An='/universer-api/oidc/authpage',$r=_0x3527bc(0x2f0),Hr=_0x3527bc(0xdc);var Si=(_0x5df14c=>(_0x5df14c[_0x5df14c[_0x3527bc(0x35d)]=0x0]=_0x3527bc(0x35d),_0x5df14c[_0x5df14c['OK']=0x1]='OK',_0x5df14c[_0x5df14c[_0x3527bc(0x9a)]=0x2]=_0x3527bc(0x9a),_0x5df14c[_0x5df14c[_0x3527bc(0x2e9)]=0x3]=_0x3527bc(0x2e9),_0x5df14c[_0x5df14c[_0x3527bc(0x289)]=0x4]=_0x3527bc(0x289),_0x5df14c[_0x5df14c[_0x3527bc(0x36a)]=0x5]='UNAUTHENTICATED',_0x5df14c[_0x5df14c['ALREADY_EXISTS']=0x6]=_0x3527bc(0x117),_0x5df14c[_0x5df14c[_0x3527bc(0x2aa)]=0x7]=_0x3527bc(0x2aa),_0x5df14c[_0x5df14c[_0x3527bc(0x386)]=0x8]=_0x3527bc(0x386),_0x5df14c[_0x5df14c[_0x3527bc(0xd6)]=0x9]='COMPLETION_FINISHED',_0x5df14c[_0x5df14c[_0x3527bc(0x21c)]=0xa]=_0x3527bc(0x21c),_0x5df14c[_0x5df14c[_0x3527bc(0xce)]=0x1389]=_0x3527bc(0xce),_0x5df14c[_0x5df14c[_0x3527bc(0x121)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5df14c[_0x5df14c[_0x3527bc(0x96)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5df14c[_0x5df14c[_0x3527bc(0x299)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5df14c[_0x5df14c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x5df14c[_0x5df14c['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5df14c[_0x5df14c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3527bc(0x2f3),_0x5df14c[_0x5df14c[_0x3527bc(0x2bd)]=0x1b5c]=_0x3527bc(0x2bd),_0x5df14c[_0x5df14c[_0x3527bc(0x1fe)]=0x1b5d]=_0x3527bc(0x1fe),_0x5df14c[_0x5df14c[_0x3527bc(0x2e0)]=0x1f41]=_0x3527bc(0x2e0),_0x5df14c[_0x5df14c[_0x3527bc(0x1c1)]=0x2329]=_0x3527bc(0x1c1),_0x5df14c[_0x5df14c[_0x3527bc(0xa5)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5df14c[_0x5df14c[_0x3527bc(0x1ac)]=0x232b]=_0x3527bc(0x1ac),_0x5df14c[_0x5df14c[_0x3527bc(0x260)]=0x232c]=_0x3527bc(0x260),_0x5df14c[_0x5df14c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x5df14c[_0x5df14c[_0x3527bc(0x82)]=0x2711]=_0x3527bc(0x82),_0x5df14c[_0x5df14c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3527bc(0x2db),_0x5df14c[_0x5df14c[_0x3527bc(0x310)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5df14c[_0x5df14c[_0x3527bc(0x1e5)]=0x2714]=_0x3527bc(0x1e5),_0x5df14c[_0x5df14c[_0x3527bc(0x257)]=0x271a]=_0x3527bc(0x257),_0x5df14c[_0x5df14c[_0x3527bc(0xad)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5df14c[_0x5df14c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5df14c[_0x5df14c[_0x3527bc(0x199)]=0x271d]=_0x3527bc(0x199),_0x5df14c[_0x5df14c[_0x3527bc(0x387)]=0x271e]=_0x3527bc(0x387),_0x5df14c[_0x5df14c['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3527bc(0x177),_0x5df14c[_0x5df14c[_0x3527bc(0x33c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5df14c[_0x5df14c[_0x3527bc(0x324)]=0x2ee1]=_0x3527bc(0x324),_0x5df14c[_0x5df14c[_0x3527bc(0x33b)]=0x2ee2]=_0x3527bc(0x33b),_0x5df14c[_0x5df14c['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3527bc(0x196),_0x5df14c[_0x5df14c[_0x3527bc(0x249)]=0x2ee4]=_0x3527bc(0x249),_0x5df14c[_0x5df14c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3527bc(0x34e),_0x5df14c[_0x5df14c[_0x3527bc(0x309)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5df14c[_0x5df14c['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5df14c[_0x5df14c[_0x3527bc(0x251)]=0x32cb]=_0x3527bc(0x251),_0x5df14c[_0x5df14c[_0x3527bc(0x226)]=-0x1]=_0x3527bc(0x226),_0x5df14c))(Si||{}),Q=(_0x14ce87=>(_0x14ce87[_0x14ce87[_0x3527bc(0x366)]=0x0]=_0x3527bc(0x366),_0x14ce87[_0x14ce87[_0x3527bc(0x38a)]=0x1]=_0x3527bc(0x38a),_0x14ce87[_0x14ce87[_0x3527bc(0x1b0)]=0x2]=_0x3527bc(0x1b0),_0x14ce87[_0x14ce87[_0x3527bc(0x9f)]=0x3]=_0x3527bc(0x9f),_0x14ce87[_0x14ce87[_0x3527bc(0x29d)]=0x4]=_0x3527bc(0x29d),_0x14ce87[_0x14ce87['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x14ce87))(Q||{}),F=(_0x47b5cd=>(_0x47b5cd[_0x47b5cd[_0x3527bc(0x236)]=0x0]=_0x3527bc(0x236),_0x47b5cd[_0x47b5cd[_0x3527bc(0x373)]=0x1]=_0x3527bc(0x373),_0x47b5cd[_0x47b5cd[_0x3527bc(0x301)]=0x2]=_0x3527bc(0x301),_0x47b5cd[_0x47b5cd[_0x3527bc(0x36b)]=0x3]=_0x3527bc(0x36b),_0x47b5cd[_0x47b5cd['INGEST']=0x4]='INGEST',_0x47b5cd[_0x47b5cd['HEARTBEAT']=0x5]=_0x3527bc(0x322),_0x47b5cd[_0x47b5cd['RECV']=0x6]=_0x3527bc(0x315),_0x47b5cd[_0x47b5cd['UNRECOGNIZED']=-0x1]=_0x3527bc(0x226),_0x47b5cd))(F||{}),ge=(_0x9910f1=>(_0x9910f1[_0x9910f1[_0x3527bc(0x1d7)]=0x0]=_0x3527bc(0x1d7),_0x9910f1[_0x9910f1['OK']=0x1]='OK',_0x9910f1[_0x9910f1['FAIL']=0x2]='FAIL',_0x9910f1[_0x9910f1['JOIN_ROOM_FULL']=0x3e9]=_0x3527bc(0x1bf),_0x9910f1[_0x9910f1[_0x3527bc(0x374)]=0x3ea]=_0x3527bc(0x374),_0x9910f1[_0x9910f1[_0x3527bc(0x128)]=0x3eb]=_0x3527bc(0x128),_0x9910f1[_0x9910f1[_0x3527bc(0xcb)]=0x3ec]=_0x3527bc(0xcb),_0x9910f1[_0x9910f1[_0x3527bc(0x226)]=-0x1]=_0x3527bc(0x226),_0x9910f1))(ge||{}),Ei=(_0x35e268=>(_0x35e268[_0x35e268[_0x3527bc(0xbe)]=0x0]=_0x3527bc(0xbe),_0x35e268[_0x35e268[_0x3527bc(0xd1)]=0x1]='HttpImport',_0x35e268[_0x35e268[_0x3527bc(0x212)]=0x2]=_0x3527bc(0x212),_0x35e268[_0x35e268[_0x3527bc(0xab)]=0x3]=_0x3527bc(0xab),_0x35e268[_0x35e268[_0x3527bc(0x20e)]=0x4]='UnitSnapshot',_0x35e268[_0x35e268[_0x3527bc(0x101)]=0x5]=_0x3527bc(0x101),_0x35e268[_0x35e268['UNRECOGNIZED']=-0x1]=_0x3527bc(0x226),_0x35e268))(Ei||{});const q='collaboration-client.config',wn={};var re=(_0x23c94d=>(_0x23c94d['OTHER_CLIENT_EDITING']=_0x3527bc(0x2f9),_0x23c94d[_0x3527bc(0x2e9)]=_0x3527bc(0x2e9),_0x23c94d[_0x3527bc(0x256)]=_0x3527bc(0x256),_0x23c94d['CLOSE_ROOM']=_0x3527bc(0x1ab),_0x23c94d[_0x3527bc(0x20f)]=_0x3527bc(0x20f),_0x23c94d[_0x3527bc(0x35a)]='SOCKET_FAILED_RETRY',_0x23c94d[_0x3527bc(0x11d)]=_0x3527bc(0x11d),_0x23c94d['SUBMIT_CHANGESET_TIMEOUT']=_0x3527bc(0x239),_0x23c94d))(re||{});class pe{constructor(){var _0xe07cbc=_0x3527bc;N(this,_0xe07cbc(0x1c2),new _0x276857()),N(this,'event$',this[_0xe07cbc(0x1c2)][_0xe07cbc(0x2c4)]());}[_0x3527bc(0x19f)](_0x2e6d0e){var _0x2a70e4=_0x3527bc;this['_event$'][_0x2a70e4(0x280)](_0x2e6d0e);}}const Pn=_0x58c8cc(_0x3527bc(0x159));function Ln(_0x5662d5){var _0x4a8157=_0x3527bc,_0x448810,_0x77176f,_0x46e128,_0x3f8d7c,_0x247e92;const _0x1d45dc=_0x5662d5[_0x4a8157(0x1a0)],_0x2f2e19=JSON['parse'](_0x1d45dc);switch(_0x2f2e19[_0x4a8157(0x271)]){case F[_0x4a8157(0x322)]:case F[_0x4a8157(0x373)]:{const _0xbda6b=_0x2f2e19[_0x4a8157(0x293)];return{..._0x2f2e19,'data':_0xbda6b,'cmd':_0x2f2e19['cmd']};}case F[_0x4a8157(0x301)]:{const _0x541376=_0x2f2e19[_0x4a8157(0x15b)];return{..._0x2f2e19,'data':_0x541376,'cmd':_0x2f2e19[_0x4a8157(0x271)]};}case F[_0x4a8157(0x315)]:{const _0x294777=_0x2f2e19[_0x4a8157(0x261)];switch(_0x294777['eventID']){case _0x43939e[_0x4a8157(0x297)]:return{..._0x2f2e19,'data':{..._0x294777,'data':(_0x448810=_0x294777[_0x4a8157(0x1ce)])==null?void 0x0:_0x448810['cs']},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x28d)]:return{..._0x2f2e19,'data':{..._0x294777,'data':(_0x77176f=_0x294777[_0x4a8157(0x186)])==null?void 0x0:_0x77176f['cs']},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x264)]:return{..._0x2f2e19,'data':{..._0x294777,'data':(_0x46e128=_0x294777[_0x4a8157(0x1b3)])==null?void 0x0:_0x46e128['cs']},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x329)]:return{..._0x2f2e19,'data':{..._0x294777,'data':(_0x3f8d7c=_0x294777['csRejEvent'])==null?void 0x0:_0x3f8d7c['cs']},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x23e)]:return{..._0x2f2e19,'data':{..._0x294777,'data':(_0x247e92=_0x294777[_0x4a8157(0x379)])==null?void 0x0:_0x247e92['cs']},'cmd':_0x2f2e19['cmd']};case _0x43939e[_0x4a8157(0x1dd)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0xb8)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x1b2)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x141)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e['USERS_LEAVE']:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x2a8)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x2c2)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x133)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x119)]:case _0x43939e[_0x4a8157(0x1bb)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0xea)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x370)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x133)]},'cmd':_0x2f2e19['cmd']};case _0x43939e[_0x4a8157(0x12e)]:return{..._0x2f2e19,'data':_0x294777,'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0xc1)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777['commentUpdateEvent']},'cmd':_0x2f2e19[_0x4a8157(0x271)]};case _0x43939e[_0x4a8157(0x127)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x33e)]},'cmd':_0x2f2e19['cmd']};case _0x43939e[_0x4a8157(0x316)]:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x388)]},'cmd':_0x2f2e19['cmd']};case _0x43939e['UNISCRIPT_RUN']:return{..._0x2f2e19,'data':{..._0x294777,'data':_0x294777[_0x4a8157(0x27d)]},'cmd':_0x2f2e19[_0x4a8157(0x271)]};default:return _0x2f2e19;}}default:return _0x2f2e19;}}function Mn(_0x3b9092){var _0x2443d8=_0x3527bc;switch(_0x3b9092[_0x2443d8(0x271)]){case F[_0x2443d8(0x322)]:case F[_0x2443d8(0x373)]:return JSON[_0x2443d8(0x12c)]({'cmd':_0x3b9092['cmd'],'routeKey':_0x3b9092[_0x2443d8(0x2ad)]});case F['INGEST']:{let _0x2c5922;switch(_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x142)]){case _0x43939e[_0x2443d8(0x1dd)]:{_0x2c5922={'eventID':_0x43939e[_0x2443d8(0x1dd)],'updateCursorEvent':_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x1a0)]};break;}case _0x43939e[_0x2443d8(0x167)]:{_0x2c5922={'eventID':_0x43939e[_0x2443d8(0x167)],'leaveEvent':_0x3b9092['data'][_0x2443d8(0x1a0)]};break;}case _0x43939e['USERS_ENTER']:{_0x2c5922={'eventID':_0x43939e[_0x2443d8(0x1b2)],'joinEvent':_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x1a0)]};break;}case _0x43939e[_0x2443d8(0x2c2)]:{_0x2c5922={'eventID':_0x43939e[_0x2443d8(0x2c2)],'liveShareNewHost':_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x1a0)]};break;}case _0x43939e[_0x2443d8(0x1bb)]:{_0x2c5922={'eventID':_0x43939e['LIVESHARE_OPERATION'],'liveShareOperation':_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x1a0)]};break;}case _0x43939e[_0x2443d8(0x370)]:{_0x2c5922={'eventID':_0x43939e['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x3b9092['data'][_0x2443d8(0x1a0)]};break;}case _0x43939e[_0x2443d8(0x12f)]:{_0x2c5922={'eventID':_0x43939e['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x3b9092['data'][_0x2443d8(0x1a0)]};break;}case _0x43939e['LIVESHARE_FETCH_OPERATIONS']:{_0x2c5922={'eventID':_0x43939e[_0x2443d8(0x119)]};break;}default:_0x2c5922={'eventID':_0x3b9092[_0x2443d8(0x1a0)][_0x2443d8(0x142)]};}return JSON[_0x2443d8(0x12c)]({'cmd':_0x3b9092[_0x2443d8(0x271)],'routeKey':_0x3b9092[_0x2443d8(0x2ad)],'collaMsg':_0x2c5922});}case F[_0x2443d8(0x301)]:return JSON['stringify']({'cmd':_0x3b9092[_0x2443d8(0x271)],'routeKey':_0x3b9092[_0x2443d8(0x2ad)],'joinReq':_0x3b9092[_0x2443d8(0x1a0)]});case F['LEAVE']:return JSON[_0x2443d8(0x12c)]({'cmd':_0x3b9092[_0x2443d8(0x271)],'routeKey':_0x3b9092['routeKey'],'leaveReq':_0x3b9092['data']});default:throw new Error(_0x2443d8(0x26a));}}var xn=Object['getOwnPropertyDescriptor'],kn=(_0x12f65c,_0x4a3a5e,_0x5999e4,_0x1c64c2)=>{var _0x3d2989=_0x3527bc;for(var _0x48f84e=_0x1c64c2>0x1?void 0x0:_0x1c64c2?xn(_0x4a3a5e,_0x5999e4):_0x4a3a5e,_0x14c7a9=_0x12f65c[_0x3d2989(0x283)]-0x1,_0x40e6bb;_0x14c7a9>=0x0;_0x14c7a9--)(_0x40e6bb=_0x12f65c[_0x14c7a9])&&(_0x48f84e=_0x40e6bb(_0x48f84e)||_0x48f84e);return _0x48f84e;},Ae=(_0x5967d8,_0x538b73)=>(_0x261a7b,_0x108454)=>_0x538b73(_0x261a7b,_0x108454,_0x5967d8);const Ii=_0x58c8cc(_0x3527bc(0x20b));function $n(_0x495c6e,_0x342ae7,_0x4e7104){var _0x51ce4a=_0x3527bc;return _0x495c6e+'/'+_0x342ae7+_0x51ce4a(0xc9)+_0x4e7104+_0x51ce4a(0x2de);}let Gt=class extends _0x5b0698{constructor(_0x45c440,_0xb2912d,_0x1dc98e,_0x40dc56,_0x51332e){var _0x29f245=_0x3527bc;super(),this[_0x29f245(0x2d6)]=_0x45c440,this[_0x29f245(0xf8)]=_0xb2912d,this[_0x29f245(0x21e)]=_0x1dc98e,this[_0x29f245(0x2ed)]=_0x40dc56,this['_snapshotServerService']=_0x51332e;}['_doCreateSocket'](_0x382d55){var _0x37001c=_0x3527bc;const _0x5124fc=this[_0x37001c(0x2d6)][_0x37001c(0x16c)](_0x57c9ca);if(!_0x5124fc)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x543416=_0x5124fc[_0x37001c(0x214)](_0x382d55);if(!_0x543416)throw new Error(_0x37001c(0x37e));const _0xe5d8e5=new _0x4b6ce9(),_0xf41524=new _0x276857();_0xe5d8e5['add'](_0x543416[_0x37001c(0x2b8)][_0x37001c(0x151)](_0x28fa59=>_0xf41524[_0x37001c(0x280)](_0x28fa59))),_0xe5d8e5[_0x37001c(0xc8)](_0x364fc5(()=>_0xf41524['complete']()));const _0xc915c0=new _0x276857();_0xe5d8e5[_0x37001c(0xc8)](_0x543416[_0x37001c(0x10a)]['subscribe'](_0x3f0ed2=>_0xc915c0['next'](_0x3f0ed2))),_0xe5d8e5[_0x37001c(0xc8)](_0x364fc5(()=>_0xc915c0[_0x37001c(0x2cc)]()));const _0x1ad0cb=new _0x276857();_0xe5d8e5[_0x37001c(0xc8)](_0x543416[_0x37001c(0x158)][_0x37001c(0x151)](_0x20dbd9=>{var _0x115105=_0x37001c;const _0x259d71=Ln(_0x20dbd9);_0x1ad0cb[_0x115105(0x280)](_0x259d71);})),_0xe5d8e5[_0x37001c(0xc8)](_0x364fc5(()=>_0x1ad0cb[_0x37001c(0x2cc)]()));let _0x1deb37;const _0x3d2af9=()=>{var _0x525f64=_0x37001c;_0xc915c0[_0x525f64(0x280)](new Event(_0x525f64(0x1b4))),_0xf41524[_0x525f64(0x280)](new Event(_0x525f64(0x1b4))),_0x1deb37[_0x525f64(0x16d)]();};return _0x1deb37={'memberID':'','close$':_0xf41524[_0x37001c(0x2c4)](),'error$':_0xc915c0['asObservable'](),'open$':_0x543416[_0x37001c(0x291)],'message$':_0x1ad0cb[_0x37001c(0x2c4)](),'send':_0x559f6d=>{var _0x544f2b=_0x37001c;if(_0x559f6d['cmd']===F[_0x544f2b(0x2d9)]){if(_0x559f6d[_0x544f2b(0x1a0)][_0x544f2b(0x142)]===_0x43939e[_0x544f2b(0x165)]){this[_0x544f2b(0x34b)](_0x1deb37,_0x559f6d['data'])[_0x544f2b(0x331)](_0x2635cf=>{var _0x32c55=_0x544f2b;this[_0x32c55(0x2ed)]['error'](_0x2635cf),_0x3d2af9();});return;}if(_0x559f6d[_0x544f2b(0x1a0)][_0x544f2b(0x142)]===_0x43939e['FETCH_MISSING']){const _0xd0e767=_0x559f6d[_0x544f2b(0x1a0)];this['_fetchMissChangesets'](_0xd0e767)[_0x544f2b(0x1c4)](_0x43ab2a=>{var _0x5b1e26=_0x544f2b;_0x1ad0cb[_0x5b1e26(0x280)]({'cmd':F[_0x5b1e26(0x315)],'code':ge['OK'],'routeKey':_0xd0e767['data'][_0x5b1e26(0x319)],'routeType':'','data':{'eventID':_0x43939e['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x43ab2a}}});})[_0x544f2b(0x331)](_0x59e925=>{this['_logService']['error'](_0x59e925),_0x3d2af9();});return;}}_0x543416[_0x544f2b(0x8f)](Mn(_0x559f6d));},'close':()=>{var _0x2a37f8=_0x37001c;_0x543416[_0x2a37f8(0x16d)](),_0xe5d8e5[_0x2a37f8(0x25c)]();}},_0x1deb37;}async[_0x3527bc(0x34b)](_0xab9843,_0x38807a){var _0x3fee44=_0x3527bc,_0x591cf6,_0x240921;const {unitType:_0x32ba6e,unitID:_0x3543eb,changeset:_0x2adf26}=_0x38807a[_0x3fee44(0x1a0)],_0xae00fa={'unitID':_0x3543eb,'memberID':_0xab9843[_0x3fee44(0x22c)],'type':_0x32ba6e,'changeset':_0x4c539f(_0x2adf26)},_0x312bc8=this[_0x3fee44(0x21e)]['getConfig'](Nn),_0x362d39=this[_0x3fee44(0x21e)][_0x3fee44(0x183)](q),_0x33123b=$n((_0x240921=(_0x591cf6=_0x362d39==null?void 0x0:_0x362d39[_0x3fee44(0x2bc)])!=null?_0x591cf6:_0x312bc8)!=null?_0x240921:Dn,_0x32ba6e,_0x3543eb);try{await this[_0x3fee44(0xf8)][_0x3fee44(0x2ae)](_0x33123b,{'body':_0xae00fa});}catch(_0x287fa4){throw this['_logService'][_0x3fee44(0xe6)](_0x3fee44(0x193),_0x3fee44(0x367)),_0x287fa4;}}async[_0x3527bc(0x230)](_0x1fff7f){var _0x19b92e=_0x3527bc;const {unitID:_0x1a6009,from:_0x3b6212,to:_0x295b66,unitType:_0x2de94a}=_0x1fff7f[_0x19b92e(0x1a0)];return(await this[_0x19b92e(0x18a)][_0x19b92e(0xdf)]({'metadata':void 0x0},{'unitID':_0x1a6009,'type':_0x2de94a,'from':_0x3b6212,'to':_0x295b66}))[_0x19b92e(0x206)];}};Gt=kn([Ae(0x0,_0x316576(_0x2f1087)),Ae(0x1,_0x316576(_0x2111ef)),Ae(0x2,_0x1f147a),Ae(0x3,_0x12a8cc),Ae(0x4,_0x330226)],Gt);const Hn=_0x3527bc(0xd2);function Bn(_0x4e774f){var _0x5c9cd6=_0x3527bc;return JSON['stringify'](_0x4e774f)[_0x5c9cd6(0x283)];}class Ti{constructor(){var _0x31bcd4=_0x3527bc;N(this,'_commentUpdate$',new _0x276857()),N(this,'commentUpdate$',this[_0x31bcd4(0x389)][_0x31bcd4(0x2c4)]());}[_0x3527bc(0x339)](_0x1a10b0){var _0x3749eb=_0x3527bc;this[_0x3749eb(0x389)][_0x3749eb(0x280)](_0x1a10b0);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x107bb6,_0x3f4f57,_0x3e5063,_0x399d6a)=>{var _0x38976b=_0x3527bc;for(var _0x319f53=_0x399d6a>0x1?void 0x0:_0x399d6a?jn(_0x3f4f57,_0x3e5063):_0x3f4f57,_0x253530=_0x107bb6[_0x38976b(0x283)]-0x1,_0x45e664;_0x253530>=0x0;_0x253530--)(_0x45e664=_0x107bb6[_0x253530])&&(_0x319f53=_0x45e664(_0x319f53)||_0x319f53);return _0x319f53;},Wt=(_0x1ecd80,_0x54a2a)=>(_0x27f75e,_0x26323d)=>_0x54a2a(_0x27f75e,_0x26323d,_0x1ecd80);let Le=class extends _0x5b0698{constructor(_0x329195,_0x1d6778){var _0x12eff0=_0x3527bc;super(),N(this,_0x12eff0(0x21d),new Map()),N(this,_0x12eff0(0xa3),new _0x276857()),(this[_0x12eff0(0xc4)]=_0x329195,this[_0x12eff0(0x34c)]=_0x1d6778,this[_0x12eff0(0xd0)](_0x48fd88(this[_0x12eff0(0xc4)][_0x12eff0(0x202)](_0x1f2450[_0x12eff0(0x1b0)])[_0x12eff0(0x290)](_0xc31e53(_0x5b417e=>_0x5b417e[_0x12eff0(0x1e6)]())),this[_0x12eff0(0xc4)]['getTypeOfUnitDisposed$'](_0x1f2450[_0x12eff0(0x38a)])[_0x12eff0(0x290)](_0xc31e53(_0x30295d=>_0x30295d[_0x12eff0(0x1e6)]())),this['_univerInstanceService'][_0x12eff0(0x202)](_0x1f2450[_0x12eff0(0x9f)])['pipe'](_0xc31e53(_0x467c55=>_0x467c55[_0x12eff0(0x1e6)]())))[_0x12eff0(0x151)](_0x150e1a=>this[_0x12eff0(0xcd)](_0x150e1a))));}[_0x3527bc(0x274)](_0x38931c){var _0xbd8d83=_0x3527bc;return this[_0xbd8d83(0x21d)][_0xbd8d83(0x157)](_0x38931c)?_0x399974(this[_0xbd8d83(0x21d)][_0xbd8d83(0x16c)](_0x38931c)):this[_0xbd8d83(0xa3)][_0xbd8d83(0x290)](_0xc31e53(_0x5a3054=>{var _0x52281f=_0xbd8d83;if(_0x5a3054===_0x38931c)return this['_roomMembers'][_0x52281f(0x16c)](_0x5a3054);}));}['setCurrentUser'](_0xb18c3){var _0x455681=_0x3527bc;this[_0x455681(0x34c)][_0x455681(0x259)](_0xb18c3);}[_0x3527bc(0x2a1)](){var _0x3a8310=_0x3527bc;return this[_0x3a8310(0x34c)][_0x3a8310(0x2a1)]();}[_0x3527bc(0x1a2)](_0x20df3e,_0x20ab5d){var _0x2e75b5=_0x3527bc;let _0x1343a7=this[_0x2e75b5(0x21d)][_0x2e75b5(0x16c)](_0x20df3e);_0x1343a7||(_0x1343a7=new Vn(),this[_0x2e75b5(0x21d)][_0x2e75b5(0x15e)](_0x20df3e,_0x1343a7),this[_0x2e75b5(0xa3)][_0x2e75b5(0x280)](_0x20df3e)),_0x1343a7[_0x2e75b5(0x1a2)](_0x20ab5d);}[_0x3527bc(0x285)](_0x1352a3,_0x4f05d5){const _0x2cc81a=this['_roomMembers']['get'](_0x1352a3);_0x2cc81a&&_0x2cc81a['removeMember'](_0x4f05d5);}[_0x3527bc(0x307)](_0x443dc1){var _0x4de8c0=_0x3527bc;return this['_roomMembers'][_0x4de8c0(0x16c)](_0x443dc1);}['getMember'](_0x30a7c8,_0x1cdca7){var _0x599fd7=_0x3527bc;const _0x565503=this[_0x599fd7(0x21d)]['get'](_0x30a7c8);if(_0x565503)return _0x565503['getMember'](_0x1cdca7);}[_0x3527bc(0xcd)](_0x22d092){var _0x33eb96=_0x3527bc;const _0x14b546=this['_roomMembers']['get'](_0x22d092);_0x14b546&&(_0x14b546['dispose'](),this[_0x33eb96(0x21d)]['delete'](_0x22d092));}['dispose'](){var _0x360daf=_0x3527bc;this[_0x360daf(0x21d)][_0x360daf(0x21a)](_0x56f1c2=>_0x56f1c2[_0x360daf(0x25c)]()),this[_0x360daf(0x21d)]['clear'](),this[_0x360daf(0xa3)][_0x360daf(0x2cc)]();}};Le=Fn([Wt(0x0,_0x44db50),Wt(0x1,_0x316576(_0x1bb846))],Le);class Vn extends _0x5b0698{constructor(){var _0x321f73=_0x3527bc;super(...arguments),N(this,_0x321f73(0x233),new Map()),N(this,_0x321f73(0x2c6),new _0x28f0cd(this[_0x321f73(0x233)])),N(this,'members$',this[_0x321f73(0x2c6)][_0x321f73(0x2c4)]());}['dispose'](){var _0x44d4e9=_0x3527bc;this[_0x44d4e9(0x233)][_0x44d4e9(0x99)]();}[_0x3527bc(0x1a2)](_0x56d049){var _0x4fe525=_0x3527bc;this[_0x4fe525(0x233)][_0x4fe525(0x15e)](_0x56d049[_0x4fe525(0x22c)],_0x56d049),this[_0x4fe525(0x2cf)]();}[_0x3527bc(0x285)](_0x9de63){var _0xbbec6e=_0x3527bc;this[_0xbbec6e(0x233)][_0xbbec6e(0x17d)](_0x9de63);}['getMember'](_0x5bbcd2){var _0x2b4d87=_0x3527bc;return this[_0x2b4d87(0x233)][_0x2b4d87(0x16c)](_0x5bbcd2);}[_0x3527bc(0x14e)](){var _0xb87085=_0x3527bc;return Array[_0xb87085(0x91)](this['_members'][_0xb87085(0x278)]());}[_0x3527bc(0x2cf)](){var _0x4f59ce=_0x3527bc;this['_members$'][_0x4f59ce(0x280)](this['_members']);}}var Gn=Object[_0x3527bc(0xf5)],Wn=(_0x51c858,_0x30e1bc,_0x292aea,_0x17fac8)=>{var _0x1b881f=_0x3527bc;for(var _0x3bc709=_0x17fac8>0x1?void 0x0:_0x17fac8?Gn(_0x30e1bc,_0x292aea):_0x30e1bc,_0x45bc70=_0x51c858[_0x1b881f(0x283)]-0x1,_0xc0aa6d;_0x45bc70>=0x0;_0x45bc70--)(_0xc0aa6d=_0x51c858[_0x45bc70])&&(_0x3bc709=_0xc0aa6d(_0x3bc709)||_0x3bc709);return _0x3bc709;},me=(_0x54b527,_0x527d0b)=>(_0xc7eb40,_0x28b727)=>_0x527d0b(_0xc7eb40,_0x28b727,_0x54b527),Ee=(_0x1dc17d=>(_0x1dc17d[_0x1dc17d[_0x3527bc(0x1ed)]=0x0]=_0x3527bc(0x1ed),_0x1dc17d[_0x1dc17d[_0x3527bc(0x104)]=0x1]=_0x3527bc(0x104),_0x1dc17d[_0x1dc17d[_0x3527bc(0x258)]=0x2]=_0x3527bc(0x258),_0x1dc17d[_0x1dc17d[_0x3527bc(0xd8)]=0x3]=_0x3527bc(0xd8),_0x1dc17d))(Ee||{});const Yt={[ge[_0x3527bc(0x1af)]]:_0x3527bc(0x1f2),[ge[_0x3527bc(0x1bf)]]:_0x3527bc(0x28e),[ge[_0x3527bc(0x374)]]:_0x3527bc(0x36e),[ge[_0x3527bc(0x128)]]:'session.room-permission-denied',[ge[_0x3527bc(0xcb)]]:'session.room-cnt-exceeds'};let Et=class extends _0x4a34ad{constructor(_0x558b52,_0x1a27e1,_0x1ddfa7,_0x45fbbc,_0x232210,_0x91e0d2,_0x17fdb9,_0x289927,_0x23996e){var _0x41120a=_0x3527bc;super(),N(this,_0x41120a(0xe1),new _0x28f0cd(0x0)),N(this,'sessionStatus$',this[_0x41120a(0xe1)][_0x41120a(0x2c4)]()),N(this,_0x41120a(0x1c2),new _0x276857()),N(this,_0x41120a(0x179),this[_0x41120a(0x1c2)]['asObservable']()),N(this,'_socket'),N(this,_0x41120a(0x385)),N(this,_0x41120a(0x18b)),N(this,_0x41120a(0x1f3),!0x1),N(this,_0x41120a(0x217),null),(this[_0x41120a(0x1ea)]=_0x558b52,this[_0x41120a(0x2ed)]=_0x1ddfa7,this['_configService']=_0x45fbbc,this['_localeService']=_0x232210,this[_0x41120a(0x2a9)]=_0x91e0d2,this[_0x41120a(0x1a6)]=_0x17fdb9,this[_0x41120a(0x377)]=_0x289927,this[_0x41120a(0x207)]=_0x23996e,this[_0x41120a(0x1f3)]=!!this[_0x41120a(0x207)],_0x1a27e1['pipe'](_0x47c2a5(this[_0x41120a(0x30f)]))[_0x41120a(0x151)](_0xaa7302=>{var _0x261695=_0x41120a,_0xcc5000;typeof _0xaa7302>'u'||(this[_0x261695(0x1ec)]=_0xaa7302,_0xaa7302?(this['_joinRoom'](_0xaa7302),this[_0x261695(0x385)]=_0xaa7302[_0x261695(0x158)][_0x261695(0x151)](_0x298559=>{var _0x5920e4=_0x261695;_0x298559[_0x5920e4(0x2ad)]===this[_0x5920e4(0x1ea)]&&this[_0x5920e4(0x85)](_0x298559);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x261695(0xe1)]['next'](0x2),(_0xcc5000=this['_socketMessageSubscription'])==null||_0xcc5000[_0x261695(0x10b)](),this['_socketMessageSubscription']=null));}));}get[_0x3527bc(0x2ba)](){var _0x1eabe2=_0x3527bc;return this['_sessionStatus$'][_0x1eabe2(0x38c)]();}['getMemberID'](){var _0x460134=_0x3527bc,_0x50e2a3,_0x557c92;return(_0x557c92=(_0x50e2a3=this[_0x460134(0x1ec)])==null?void 0x0:_0x50e2a3[_0x460134(0x22c)])!=null?_0x557c92:null;}[_0x3527bc(0x25c)](){var _0x110547=_0x3527bc;super[_0x110547(0x25c)](),this[_0x110547(0x30f)][_0x110547(0x280)](),this[_0x110547(0x30f)][_0x110547(0x2cc)]();}[_0x3527bc(0x16d)](){var _0x17e8fb=_0x3527bc,_0x379b17,_0x3fd570;this[_0x17e8fb(0x21f)](),(_0x379b17=this[_0x17e8fb(0x1ec)])==null||_0x379b17['send']({'cmd':F[_0x17e8fb(0x36b)],'data':{'roomID':this['_unitID']}}),(_0x3fd570=this[_0x17e8fb(0x1ec)])==null||_0x3fd570[_0x17e8fb(0x16d)](),this['_event$'][_0x17e8fb(0x2cc)](),this[_0x17e8fb(0xe1)][_0x17e8fb(0x2cc)](),this[_0x17e8fb(0x25c)]();}[_0x3527bc(0x85)](_0xac3118){var _0x25f717=_0x3527bc;_0xac3118[_0x25f717(0x271)]===F[_0x25f717(0x301)]?this['_onJoinRoomEvent'](_0xac3118):_0xac3118['cmd']===F[_0x25f717(0x315)]&&this[_0x25f717(0xa4)](_0xac3118);}['_joinRoom'](_0x4385fc){var _0x254121=_0x3527bc;this[_0x254121(0xe1)][_0x254121(0x280)](0x1),_0x4385fc[_0x254121(0x8f)]({'cmd':F[_0x254121(0x301)],'routeKey':this[_0x254121(0x1ea)],'routeType':'','data':{'rooms':[{'roomID':this[_0x254121(0x1ea)]}]}});}[_0x3527bc(0x2fe)](_0x142d4c){var _0x22beaf=_0x3527bc,_0x31f378;if(_0x142d4c[_0x22beaf(0x38e)]in Yt){this[_0x22beaf(0x377)][_0x22beaf(0x19f)]({'id':re[_0x22beaf(0x20f)],'data':Yt[_0x142d4c[_0x22beaf(0x38e)]]}),this[_0x22beaf(0xe1)][_0x22beaf(0x280)](0x2);return;}this['_sessionStatus$'][_0x22beaf(0x280)](0x3);const _0x13bd81=(_0x31f378=_0x142d4c[_0x22beaf(0x1a0)][_0x22beaf(0x288)][this[_0x22beaf(0x1ea)]])==null?void 0x0:_0x31f378[_0x22beaf(0x358)];_0x13bd81&&_0x13bd81['forEach'](_0x1899df=>this[_0x22beaf(0x2a9)][_0x22beaf(0x1a2)](this[_0x22beaf(0x1ea)],_0x1899df));}[_0x3527bc(0xa4)](_0x15d200){var _0x54281d=_0x3527bc;try{const _0x505ee0=_0x15d200[_0x54281d(0x1a0)];switch(_0x505ee0[_0x54281d(0x142)]){case _0x43939e['USERS_ENTER']:this[_0x54281d(0x160)](_0x505ee0),this[_0x54281d(0x1c2)][_0x54281d(0x280)](_0x505ee0);break;case _0x43939e[_0x54281d(0x167)]:this[_0x54281d(0x347)](_0x505ee0),this[_0x54281d(0x1c2)][_0x54281d(0x280)](_0x505ee0);break;case _0x43939e[_0x54281d(0x28d)]:case _0x43939e[_0x54281d(0x23e)]:this[_0x54281d(0x346)](),this[_0x54281d(0x129)](),this[_0x54281d(0x1c2)][_0x54281d(0x280)](_0x505ee0);break;case _0x43939e['MSG_FOR_ERROR']:this[_0x54281d(0x2ed)][_0x54281d(0xe6)](_0x54281d(0x32e)+JSON[_0x54281d(0x12c)](_0x505ee0)),this[_0x54281d(0x1c2)][_0x54281d(0x280)](_0x505ee0);break;case _0x43939e[_0x54281d(0xc1)]:this[_0x54281d(0x1a6)]['onCommentUpdate'](_0x505ee0[_0x54281d(0x1a0)]),this[_0x54281d(0x1c2)]['next'](_0x505ee0);break;default:this['_event$'][_0x54281d(0x280)](_0x505ee0);}}catch(_0xe7a639){this['_logService'][_0x54281d(0xe6)](_0xe7a639,_0x15d200);}}['_onUserJoin'](_0x57f835){var _0x1bcac9=_0x3527bc;this[_0x1bcac9(0x2a9)]['updateMember'](this[_0x1bcac9(0x1ea)],_0x57f835['data']);}['_onUserLeave'](_0x1d2a58){var _0x3224b4=_0x3527bc;this[_0x3224b4(0x2a9)][_0x3224b4(0x285)](this[_0x3224b4(0x1ea)],_0x1d2a58[_0x3224b4(0x1a0)]['memberID']);}async[_0x3527bc(0x8f)](_0x1f8b47,_0x9bd4ff){var _0x5dd1e3=_0x3527bc;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x5dd1e3(0xbc));try{_0x1f8b47[_0x5dd1e3(0x142)]===_0x43939e['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5dd1e3(0x286)](_0x1f8b47)),this[_0x5dd1e3(0x1ec)]['send']({'cmd':F[_0x5dd1e3(0x2d9)],'routeKey':_0x9bd4ff,'routeType':'','data':_0x1f8b47});}catch(_0x1b1c5c){this[_0x5dd1e3(0x2ed)][_0x5dd1e3(0xe6)](_0x1b1c5c);}}['_scheduleCollaborationTimeoutTimer'](){var _0x5875dc=_0x3527bc,_0x5c8e7f;this[_0x5875dc(0x18b)]=setTimeout(()=>{var _0x414bb5=_0x5875dc;this[_0x414bb5(0x18b)]=null,this[_0x414bb5(0x377)][_0x414bb5(0x19f)]({'id':re[_0x414bb5(0x239)]});},(_0x5c8e7f=this[_0x5875dc(0x21e)][_0x5875dc(0x183)](mi))!=null?_0x5c8e7f:gi);}[_0x3527bc(0x129)](){var _0xfaf411=_0x3527bc;this[_0xfaf411(0x18b)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0xfaf411(0x18b)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x126cb7){var _0xb9c0c3=_0x3527bc;if(!this['_shouldReportTelemetry'])return;const {data:_0xa27dec}=_0x126cb7,{unitID:_0x340da0,changeset:_0x5cb159}=_0xa27dec,{mutations:_0x15cb9b,type:_0x27d718}=_0x5cb159;this[_0xb9c0c3(0x217)]={'unitId':_0x340da0,'type':_0x27d718,'startTime':performance[_0xb9c0c3(0x391)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x15cb9b)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x284440=_0x3527bc;if(this[_0x284440(0x1f3)]){if(!this['_telemetryInfo']){this[_0x284440(0x2ed)][_0x284440(0xe6)]('[CollaborationSession]',_0x284440(0xf3));return;}this['_telemetryInfo'][_0x284440(0x16b)]=performance[_0x284440(0x391)](),this[_0x284440(0x217)][_0x284440(0x318)]=this[_0x284440(0x217)][_0x284440(0x16b)]-this[_0x284440(0x217)][_0x284440(0x33a)],this[_0x284440(0x207)]['capture'](Hn,this[_0x284440(0x217)]),this[_0x284440(0x217)]=null;}}[_0x3527bc(0x21f)](){var _0x59b048=_0x3527bc;this[_0x59b048(0x217)]=null;}};Et=Wn([me(0x2,_0x12a8cc),me(0x3,_0x1f147a),me(0x4,_0x316576(_0x59bcee)),me(0x5,_0x316576(Le)),me(0x6,_0x316576(Ti)),me(0x7,_0x316576(pe)),me(0x8,_0x40f615(_0x11817b))],Et);var Yn=Object[_0x3527bc(0xf5)],Kn=(_0x11d6d9,_0x2bb7df,_0x148759,_0x59d572)=>{var _0x5543bd=_0x3527bc;for(var _0x483c78=_0x59d572>0x1?void 0x0:_0x59d572?Yn(_0x2bb7df,_0x148759):_0x2bb7df,_0x6161f7=_0x11d6d9[_0x5543bd(0x283)]-0x1,_0x486eb3;_0x6161f7>=0x0;_0x6161f7--)(_0x486eb3=_0x11d6d9[_0x6161f7])&&(_0x483c78=_0x486eb3(_0x483c78)||_0x483c78);return _0x483c78;},be=(_0x4a2cef,_0x3fe0d2)=>(_0x5e5535,_0x39029b)=>_0x3fe0d2(_0x5e5535,_0x39029b,_0x4a2cef);let Me=class extends _0x5b0698{constructor(_0x1301a7,_0x24e425,_0x1f0663,_0x2bf80f,_0x6a046b,_0x2add61){var _0x5e1a3a=_0x3527bc;super(),N(this,'_socket$',new _0x28f0cd(void 0x0)),N(this,'socket$',this[_0x5e1a3a(0x209)][_0x5e1a3a(0x2c4)]()),N(this,_0x5e1a3a(0x125),null),N(this,'_sessions',new Map()),N(this,_0x5e1a3a(0x25d),new _0x28f0cd(Ee[_0x5e1a3a(0x1ed)])),N(this,_0x5e1a3a(0x313),this['_status$'][_0x5e1a3a(0x2c4)]()),N(this,_0x5e1a3a(0x2d5),!0x1),N(this,_0x5e1a3a(0x1e1)),N(this,_0x5e1a3a(0xeb),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x5e1a3a(0x2d6)]=_0x1301a7,this['_logService']=_0x24e425,this[_0x5e1a3a(0x21e)]=_0x1f0663,this[_0x5e1a3a(0x364)]=_0x2bf80f,this[_0x5e1a3a(0x377)]=_0x6a046b,this[_0x5e1a3a(0x2c5)]=_0x2add61,this[_0x5e1a3a(0x354)]());}get[_0x3527bc(0x1ec)](){var _0x47ce80=_0x3527bc;return this['_socket$'][_0x47ce80(0x38c)]();}['_listenToNetworkCondition'](){var _0x586c81=_0x3527bc;this['_networkConditionService']&&this['disposeWithMe'](this[_0x586c81(0x2c5)][_0x586c81(0x2fb)]['subscribe'](_0x340ee2=>{var _0xf6e3f1=_0x586c81;_0x340ee2&&!this[_0xf6e3f1(0x1ec)]&&this[_0xf6e3f1(0x13e)](),_0x340ee2||this[_0xf6e3f1(0x20c)]();}));}[_0x3527bc(0x25c)](){var _0x35c94c=_0x3527bc;super[_0x35c94c(0x25c)](),this[_0x35c94c(0xc3)](),this[_0x35c94c(0xfe)](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0xb66a5e=>_0xb66a5e[_0x35c94c(0x25c)]()),this[_0x35c94c(0x1a7)]['clear'](),this['_status$'][_0x35c94c(0x2cc)]();}async[_0x3527bc(0x351)](_0x2a55e0){var _0x137ccf=_0x3527bc;if(this[_0x137ccf(0x1a7)][_0x137ccf(0x157)](_0x2a55e0))return this[_0x137ccf(0x1a7)][_0x137ccf(0x16c)](_0x2a55e0);this[_0x137ccf(0x2bf)]();const _0x5de3d1=this[_0x137ccf(0x2d6)][_0x137ccf(0x2bb)](Et,_0x2a55e0,this[_0x137ccf(0x209)][_0x137ccf(0x2c4)]());return this[_0x137ccf(0x1a7)][_0x137ccf(0x15e)](_0x2a55e0,_0x5de3d1),_0x5de3d1;}[_0x3527bc(0xc2)](_0x2a15f3){var _0x4679fe=_0x3527bc,_0x1d7315;const _0x1fbd64=this[_0x4679fe(0x1a7)][_0x4679fe(0x16c)](_0x2a15f3);_0x1fbd64&&(this['_sessions'][_0x4679fe(0x17d)](_0x2a15f3),_0x1fbd64[_0x4679fe(0x16d)]()),this[_0x4679fe(0x1a7)][_0x4679fe(0xf6)]||(_0x1d7315=this[_0x4679fe(0x1ec)])==null||_0x1d7315[_0x4679fe(0x16d)]();}[_0x3527bc(0x13e)](){var _0x385938=_0x3527bc;this['_retryCount']=0x0,this[_0x385938(0xc3)](),this[_0x385938(0xa6)]();}[_0x3527bc(0xc3)](){var _0x46bbb4=_0x3527bc;this[_0x46bbb4(0x1e1)]!=null&&(clearTimeout(this[_0x46bbb4(0x1e1)]),this[_0x46bbb4(0x1e1)]=null);}async[_0x3527bc(0x197)](){var _0x3dc6a2=_0x3527bc,_0x2b010b,_0x2285c7;const _0x315fab=this[_0x3dc6a2(0x21e)][_0x3dc6a2(0x183)](In),_0x288cba=this[_0x3dc6a2(0x21e)]['getConfig'](q),_0x6f1e6d=(_0x2285c7=(_0x2b010b=_0x288cba==null?void 0x0:_0x288cba[_0x3dc6a2(0x2a4)])!=null?_0x2b010b:_0x315fab)!=null?_0x2285c7:Tn,_0x28090c=await this['_socketService'][_0x3dc6a2(0x214)](_0x6f1e6d);return this['_candidateSocket']=_0x28090c,_0x28090c;}async['_tryEnsureSocket'](){var _0x1fdf78=_0x3527bc,_0x44aadb,_0x29d300;try{const _0x47d8e0=(_0x29d300=(_0x44aadb=this[_0x1fdf78(0x1ec)])!=null?_0x44aadb:this[_0x1fdf78(0x125)])!=null?_0x29d300:await this['_createSocket']();if(_0x47d8e0){const _0x5857ee=_0x47d8e0['send'];_0x47d8e0[_0x1fdf78(0x8f)]=_0x43e61d=>(this[_0x1fdf78(0x1de)](),_0x5857ee[_0x1fdf78(0x294)](_0x47d8e0,[_0x43e61d])),_0x47d8e0['message$']['subscribe'](_0x653120=>this[_0x1fdf78(0x23d)](_0x47d8e0,_0x653120)),_0x47d8e0['error$'][_0x1fdf78(0x290)](_0xeb202f(0x1))['subscribe'](_0x2b40f3=>this[_0x1fdf78(0x2ed)]['error'](_0x1fdf78(0x223),_0x2b40f3)),_0x47d8e0[_0x1fdf78(0x291)][_0x1fdf78(0x290)](_0xeb202f(0x1))['subscribe'](()=>{var _0x2fac3b=_0x1fdf78;this[_0x2fac3b(0x11f)](_0x47d8e0);}),_0x47d8e0[_0x1fdf78(0x2b8)]['pipe'](_0xeb202f(0x1))['subscribe'](_0x281b26=>{var _0x16ee19=_0x1fdf78;this[_0x16ee19(0x2ed)][_0x16ee19(0x13a)](_0x16ee19(0x240),'socket\x20close',_0x281b26),this[_0x16ee19(0x332)]();});}}catch(_0x56d913){this[_0x1fdf78(0x2ed)][_0x1fdf78(0xe6)](_0x56d913),this[_0x1fdf78(0x332)]();}}[_0x3527bc(0x11f)](_0x1ab3db){var _0xa07958=_0x3527bc;this[_0xa07958(0x2ed)][_0xa07958(0x13a)](_0xa07958(0x240),_0xa07958(0x2e5)),_0x1ab3db[_0xa07958(0x8f)]({'cmd':F[_0xa07958(0x373)]}),this[_0xa07958(0x1de)]();}['_onOffline'](){var _0x18bfc5=_0x3527bc;this[_0x18bfc5(0x2d5)]=!0x1,this[_0x18bfc5(0x125)]=null,this[_0x18bfc5(0x25d)][_0x18bfc5(0x280)](Ee[_0x18bfc5(0x258)]),this['_socket$']['next'](null),this[_0x18bfc5(0xfe)](),this[_0x18bfc5(0x245)]();}[_0x3527bc(0x332)](){var _0x189cfb=_0x3527bc,_0x38f85c;this['_onOffline'](),this[_0x189cfb(0xeb)]<((_0x38f85c=this[_0x189cfb(0x21e)]['getConfig'](On))!=null?_0x38f85c:yn)?(this[_0x189cfb(0x377)][_0x189cfb(0x19f)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0x189cfb(0xa6)]()):this['_collaborationUIEventService'][_0x189cfb(0x19f)]({'id':re['SOCKET_FAILED']});}[_0x3527bc(0xa6)](){var _0x59e1a3=_0x3527bc,_0x5aa25c;const _0x21d7b8=this[_0x59e1a3(0xeb)],_0x4640f1=this[_0x59e1a3(0x21e)][_0x59e1a3(0x183)](q),_0x522c90=_0x21d7b8===0x0?0x0:((_0x5aa25c=_0x4640f1==null?void 0x0:_0x4640f1['retryConnectingInterval'])!=null?_0x5aa25c:bn)*0x2**_0x21d7b8;this[_0x59e1a3(0x1e1)]=setTimeout(()=>{var _0xc7409e=_0x59e1a3;clearTimeout(this[_0xc7409e(0x1e1)]),this[_0xc7409e(0x1e1)]=null,this[_0xc7409e(0x2bf)]();},_0x522c90),this[_0x59e1a3(0xeb)]+=0x1;}['_onMessage'](_0x976987,_0x4cd96c){var _0x16e607=_0x3527bc;const {cmd:_0x4d3391}=_0x4cd96c;_0x4d3391===F[_0x16e607(0x373)]&&!this[_0x16e607(0x2d5)]&&(_0x976987[_0x16e607(0x22c)]=_0x4cd96c['data']['memberID'],this[_0x16e607(0x209)]['next'](_0x976987),this[_0x16e607(0x25d)]['next'](Ee[_0x16e607(0xd8)]),this[_0x16e607(0x2d5)]=!0x0,this['_candidateSocket']=null),_0x4d3391===F[_0x16e607(0x322)]&&this[_0x16e607(0xfe)](),this['_rescheduleHeartbeat']();}[_0x3527bc(0x1de)](){var _0x845149=_0x3527bc,_0x3e2256;this[_0x845149(0x245)](),this[_0x845149(0x282)]=setTimeout(()=>this[_0x845149(0xba)](),(_0x3e2256=this['_configService'][_0x845149(0x183)](Cn))!=null?_0x3e2256:Rn);}[_0x3527bc(0xba)](){var _0xe2f9f0=_0x3527bc;this[_0xe2f9f0(0x1ec)][_0xe2f9f0(0x8f)]({'cmd':F[_0xe2f9f0(0x322)]}),this['_waitForHeartbeatResponse']();}[_0x3527bc(0x1ff)](){var _0x2d671a=_0x3527bc,_0x3404bb;this[_0x2d671a(0x298)]=setTimeout(()=>this[_0x2d671a(0x332)](),(_0x3404bb=this['_configService'][_0x2d671a(0x183)](mi))!=null?_0x3404bb:gi);}['_clearHeartbeatTimer'](){var _0x324b3a=_0x3527bc;this[_0x324b3a(0x282)]!=null&&(clearTimeout(this[_0x324b3a(0x282)]),this[_0x324b3a(0x282)]=null);}[_0x3527bc(0xfe)](){var _0x38d232=_0x3527bc;this[_0x38d232(0x298)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x38d232(0x298)]=null);}};Me=Kn([be(0x0,_0x316576(_0x2f1087)),be(0x1,_0x12a8cc),be(0x2,_0x1f147a),be(0x3,Ii),be(0x4,_0x316576(pe)),be(0x5,_0x40f615(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)['toString'](0x10)[_0x3527bc(0x380)](0x1));function qn(_0x3bc75a,_0x59e5ae=0x0){return(V[_0x3bc75a[_0x59e5ae+0x0]]+V[_0x3bc75a[_0x59e5ae+0x1]]+V[_0x3bc75a[_0x59e5ae+0x2]]+V[_0x3bc75a[_0x59e5ae+0x3]]+'-'+V[_0x3bc75a[_0x59e5ae+0x4]]+V[_0x3bc75a[_0x59e5ae+0x5]]+'-'+V[_0x3bc75a[_0x59e5ae+0x6]]+V[_0x3bc75a[_0x59e5ae+0x7]]+'-'+V[_0x3bc75a[_0x59e5ae+0x8]]+V[_0x3bc75a[_0x59e5ae+0x9]]+'-'+V[_0x3bc75a[_0x59e5ae+0xa]]+V[_0x3bc75a[_0x59e5ae+0xb]]+V[_0x3bc75a[_0x59e5ae+0xc]]+V[_0x3bc75a[_0x59e5ae+0xd]]+V[_0x3bc75a[_0x59e5ae+0xe]]+V[_0x3bc75a[_0x59e5ae+0xf]])['toLowerCase']();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x103b45=_0x3527bc;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x103b45(0x333));ut=crypto[_0x103b45(0x111)][_0x103b45(0x9b)](crypto);}return ut(zn);}function _0x579a(_0x57cce6,_0x5aaa9c){var _0x112ac5=_0x112a();return _0x579a=function(_0x579a5f,_0x14a9c9){_0x579a5f=_0x579a5f-0x82;var _0x44fc2e=_0x112ac5[_0x579a5f];return _0x44fc2e;},_0x579a(_0x57cce6,_0x5aaa9c);}const Xn=typeof crypto<'u'&&crypto[_0x3527bc(0xf2)]&&crypto[_0x3527bc(0xf2)][_0x3527bc(0x9b)](crypto),Kt={'randomUUID':Xn};function Zn(_0xa321db,_0x239e36,_0x49199a){var _0x132e12=_0x3527bc,_0x543ea9,_0x8e0e0,_0x13875e;if(Kt['randomUUID']&&!_0xa321db)return Kt[_0x132e12(0xf2)]();_0xa321db=_0xa321db||{};const _0x1a0ba7=(_0x13875e=(_0x8e0e0=_0xa321db[_0x132e12(0x175)])!=null?_0x8e0e0:(_0x543ea9=_0xa321db[_0x132e12(0x90)])==null?void 0x0:_0x543ea9[_0x132e12(0x176)](_0xa321db))!=null?_0x13875e:Jn();if(_0x1a0ba7[_0x132e12(0x283)]<0x10)throw new Error(_0x132e12(0x267));return _0x1a0ba7[0x6]=_0x1a0ba7[0x6]&0xf|0x40,_0x1a0ba7[0x8]=_0x1a0ba7[0x8]&0x3f|0x80,qn(_0x1a0ba7);}const J=_0x58c8cc(_0x3527bc(0x31b));function Br(_0x3c1a6c){var _0x3db5c1=_0x3527bc;return _0x3db5c1(0x344)+_0x3c1a6c;}var Qn=Object[_0x3527bc(0xf5)],es=(_0xa2b049,_0x6418c,_0x431db9,_0x27679a)=>{var _0x3dedae=_0x3527bc;for(var _0x47924a=_0x27679a>0x1?void 0x0:_0x27679a?Qn(_0x6418c,_0x431db9):_0x6418c,_0x27e7a8=_0xa2b049[_0x3dedae(0x283)]-0x1,_0x176ec7;_0x27e7a8>=0x0;_0x27e7a8--)(_0x176ec7=_0xa2b049[_0x27e7a8])&&(_0x47924a=_0x176ec7(_0x47924a)||_0x47924a);return _0x47924a;},dt=(_0x367085,_0x4b28d9)=>(_0x2fa659,_0x5a260f)=>_0x4b28d9(_0x2fa659,_0x5a260f,_0x367085);function ts(_0x48c90d){var _0x4d22e4=_0x3527bc;const {unitID:_0x529651,mutations:_0x4a7fa2}=_0x48c90d;return{'unitId':_0x529651,'subUnitId':_0x4a7fa2[0x0]['params'][_0x4d22e4(0x87)]};}let it=class{constructor(_0x491613,_0x556a23,_0x1e63aa){var _0x3416fe=_0x3527bc;this[_0x3416fe(0x2d6)]=_0x491613,this['_transformService']=_0x556a23,this[_0x3416fe(0x26e)]=_0x1e63aa;}[_0x3527bc(0x35c)](_0x2e655a){var _0x3751f3=_0x3527bc,_0x18dc02,_0x19b9c6,_0x7dea51,_0x3363b1;const _0x4cf4af=this['_injector'][_0x3751f3(0x16c)](_0x5f1344),{unitId:_0x227d8e,subUnitId:_0x1d7eb1}=ts(_0x2e655a),_0x24a084=_0x4cf4af==null?void 0x0:_0x4cf4af['getWorkbookSelections'](_0x227d8e)[_0x3751f3(0x250)](),_0x25d028=(_0x19b9c6=(_0x18dc02=this[_0x3751f3(0x26e)][_0x3751f3(0x26c)](_0x227d8e))==null?void 0x0:_0x18dc02[_0x3751f3(0x29c)]())==null?void 0x0:_0x19b9c6[_0x3751f3(0x30d)]();if(_0x24a084[_0x3751f3(0x283)]===0x0||!_0x227d8e||!_0x1d7eb1)return;const _0xf452cd=[{'id':_0x32fbde['id'],'params':{'unitId':_0x227d8e,'subUnitId':_0x25d028,'selections':_0x152b64['deepClone'](_0x24a084)}}],_0x30e6de=this['_transformService']['transformMutationsWithChangeset'](_0x2e655a,_0xf452cd);if(!_0x172cb4(_0x30e6de))throw _0x30e6de[_0x3751f3(0xe6)];const _0x4f7dcc=(_0x3363b1=(_0x7dea51=_0x30e6de['m2Prime'][0x0])==null?void 0x0:_0x7dea51[_0x3751f3(0x14f)])==null?void 0x0:_0x3363b1[_0x3751f3(0x1ca)];if(Array[_0x3751f3(0x345)](_0x4f7dcc)&&_0x4f7dcc[_0x3751f3(0x283)]){if(_0x4f7dcc[_0x3751f3(0x283)]===_0xf452cd[0x0][_0x3751f3(0x14f)]['selections'][_0x3751f3(0x283)]&&_0x4f7dcc['every']((_0x132c51,_0x5d18a6)=>_0x5cbd58[_0x3751f3(0xd4)](_0x132c51['range'],_0xf452cd[0x0][_0x3751f3(0x14f)]['selections'][_0x5d18a6][_0x3751f3(0x362)])))return;this[_0x3751f3(0x2d6)][_0x3751f3(0x16c)](_0x3d3bf2)[_0x3751f3(0x24b)](_0x32fbde['id'],{'unitId':_0x227d8e,'subUnitId':_0x25d028,'selections':_0x4f7dcc});}}};it=es([dt(0x0,_0x316576(_0x2f1087)),dt(0x1,_0xcbb9b),dt(0x2,_0x44db50)],it);const ht=_0x58c8cc(_0x3527bc(0x16f));var Ci=(_0x45ac0c=>(_0x45ac0c[_0x45ac0c[_0x3527bc(0x2a3)]=0x0]=_0x3527bc(0x2a3),_0x45ac0c[_0x45ac0c[_0x3527bc(0x83)]=0x1]=_0x3527bc(0x83),_0x45ac0c))(Ci||{});const is=new Set([_0x1d2ecf['id']]);function qt(_0x29b182,_0x357417,_0x50dab7,_0x11b58f,_0x295c24){var _0x4cd74d=_0x3527bc,_0x2611ae,_0x272484,_0x16d2ae,_0x44e135;const _0x47889f=[];for(const _0x4f331c of _0x29b182)if(is[_0x4cd74d(0x157)](_0x4f331c['id'])){if(_0x47889f[_0x4cd74d(0x283)]>0x0)break;_0x47889f[_0x4cd74d(0x32d)](_0x4f331c);break;}else _0x47889f[_0x4cd74d(0x32d)](_0x4f331c);const _0x12ffe5=(_0x272484=(_0x2611ae=_0x295c24[_0x4cd74d(0x2a1)]())==null?void 0x0:_0x2611ae[_0x4cd74d(0x18e)])!=null?_0x272484:_0x4cd74d(0x342),_0x4806c9=(_0x44e135=(_0x16d2ae=_0x295c24[_0x4cd74d(0x2a1)]())==null?void 0x0:_0x16d2ae['memberID'])!=null?_0x44e135:_0x4cd74d(0x342);return{'changeset':{'unitID':_0x357417,'type':_0x460f27(_0x50dab7['getUnitType'](_0x357417)),'baseRev':_0x11b58f['getCurrentRevOfUnit'](_0x357417),'revision':0x0,'userID':_0x12ffe5,'memberID':_0x4806c9,'mutations':_0x47889f},'pendingMutations':_0x29b182[_0x4cd74d(0x380)](_0x47889f['length'])};}function ns(_0x514214,_0x4d3542,_0xa6f012,_0x38b5d6,_0x51419e){var _0x4e72ca=_0x3527bc,_0x45d18f,_0x31b824,_0x253fd1,_0x2f4a28;const _0x1ba630=[_0x514214[_0x4e72ca(0x337)]((_0x4ef2d4,_0x2b59db)=>{var _0x216006=_0x4e72ca,_0x481444;const {id:_0x20b84e}=_0x4ef2d4,{id:_0x4b2de,type:_0x5217b3}=_0x2b59db,_0x1203e4=(_0x481444=_0x4ef2d4[_0x216006(0x14f)])!=null?_0x481444:{'actions':null},_0x235404=_0x2b59db[_0x216006(0x14f)];if(_0x20b84e&&_0x20b84e!==_0x4b2de)throw new Error(_0x216006(0x156)+_0x20b84e+'\x20-\x20'+_0x4b2de+'.');return{..._0x4ef2d4,'id':_0x4b2de,'type':_0x5217b3,'params':{'unitId':_0x235404['unitId'],'textRanges':_0x235404[_0x216006(0x143)],'actions':_0x215be1[_0x216006(0x9d)](_0x1203e4['actions'],_0x235404[_0x216006(0x17f)])}};},{})],_0xb66959=(_0x31b824=(_0x45d18f=_0x51419e[_0x4e72ca(0x2a1)]())==null?void 0x0:_0x45d18f[_0x4e72ca(0x18e)])!=null?_0x31b824:_0x4e72ca(0x342),_0x4cdbdb=(_0x2f4a28=(_0x253fd1=_0x51419e[_0x4e72ca(0x2a1)]())==null?void 0x0:_0x253fd1['memberID'])!=null?_0x2f4a28:_0x4e72ca(0x342);return{'changeset':{'unitID':_0x4d3542,'type':_0x460f27(_0xa6f012[_0x4e72ca(0x16e)](_0x4d3542)),'baseRev':_0x38b5d6[_0x4e72ca(0x30c)](_0x4d3542),'revision':0x0,'userID':_0xb66959,'memberID':_0x4cdbdb,'mutations':_0x1ba630},'pendingMutations':[]};}function Ri(_0x3c235d,_0x294f54){var _0x39e153=_0x3527bc;const _0x19cfe0=new _0x5515c3(0x1);return setTimeout(()=>_0x19cfe0[_0x39e153(0x280)](_0x294f54),_0x3c235d),_0x19cfe0[_0x39e153(0x2c4)]()['pipe'](_0x45086f(0x1));}const ss={'id':_0x31450b['id'],'type':_0x203821[_0x3527bc(0x1e9)],'params':{}};var rs=Object['getOwnPropertyDescriptor'],Te=(_0x14dcd9,_0xe23146,_0x486207,_0x2491b4)=>{var _0x2be19b=_0x3527bc;for(var _0x5a2549=_0x2491b4>0x1?void 0x0:_0x2491b4?rs(_0xe23146,_0x486207):_0xe23146,_0x40803e=_0x14dcd9[_0x2be19b(0x283)]-0x1,_0x55037e;_0x40803e>=0x0;_0x40803e--)(_0x55037e=_0x14dcd9[_0x40803e])&&(_0x5a2549=_0x55037e(_0x5a2549)||_0x5a2549);return _0x5a2549;},P=(_0x486b74,_0x4ff51b)=>(_0x1f8084,_0x37a151)=>_0x4ff51b(_0x1f8084,_0x37a151,_0x486b74),bi=(_0x25c916=>(_0x25c916[_0x3527bc(0x178)]=_0x3527bc(0x2fa),_0x25c916[_0x3527bc(0x171)]='synced',_0x25c916[_0x3527bc(0xb3)]='pending',_0x25c916[_0x3527bc(0x247)]='awaiting',_0x25c916[_0x3527bc(0x2eb)]=_0x3527bc(0x2d3),_0x25c916['FETCH_MISS']=_0x3527bc(0x18d),_0x25c916[_0x3527bc(0x256)]=_0x3527bc(0xed),_0x25c916[_0x3527bc(0x258)]=_0x3527bc(0x1fd),_0x25c916))(bi||{});const Oi=0xea60;class Ce{constructor(_0x3de99c,_0x371281,_0x48771d,_0x573082,_0x80c010,_0x193252,_0x3d13ec,_0x59909d,_0x32d709){var _0x2817fb=_0x3527bc;N(this,_0x2817fb(0x2ea),null),N(this,'_pendingMutations',[]),(this[_0x2817fb(0x319)]=_0x3de99c,this[_0x2817fb(0x1b7)]=_0x371281,this[_0x2817fb(0x28f)]=_0x80c010,this[_0x2817fb(0xfd)]=_0x193252,this[_0x2817fb(0x1f6)]=_0x3d13ec,this[_0x2817fb(0x238)]=_0x59909d,this['_localCacheService']=_0x32d709,this['_awaitingChangeset']=_0x48771d,this[_0x2817fb(0x26b)]=_0x573082);}['_checkMissing'](_0x2e61ad){var _0xe27112=_0x3527bc;const _0x3f50bf=this[_0xe27112(0x238)][_0xe27112(0x30c)](this['unitID']);return _0x2e61ad[_0xe27112(0x243)]>_0x3f50bf+0x1?(this[_0xe27112(0x28f)][_0xe27112(0xcf)]({'from':_0x3f50bf,'to':_0x2e61ad[_0xe27112(0x243)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1e5961){var _0x177ccb=_0x3527bc;this[_0x177ccb(0x1f6)]['transformUndoRedo'](this['unitID'],_0x1e5961);}[_0x3527bc(0xb5)](_0x570bc3){var _0x491916=_0x3527bc,_0x3f1b6f,_0x3a2ea5;(_0x3a2ea5=(_0x3f1b6f=this['_handler'])['onTransformSelections'])==null||_0x3a2ea5[_0x491916(0x176)](_0x3f1b6f,_0x570bc3);}[_0x3527bc(0x284)](_0x4dd132){var _0x4bf0b0=_0x3527bc,_0x3e3c77,_0x5e5007;return(_0x5e5007=(_0x3e3c77=this[_0x4bf0b0(0x28f)])[_0x4bf0b0(0x1d8)])==null?void 0x0:_0x5e5007[_0x4bf0b0(0x176)](_0x3e3c77,_0x4dd132);}['_transformStateCache'](_0x16a756){var _0x2afec0=_0x3527bc,_0x1918d4,_0xcf0c7e;return(_0xcf0c7e=(_0x1918d4=this[_0x2afec0(0x28f)])['onTransformState'])==null?void 0x0:_0xcf0c7e[_0x2afec0(0x176)](_0x1918d4,_0x16a756);}[_0x3527bc(0x335)](_0x4be614){var _0x17d18a=_0x3527bc,_0x3b4504,_0x14fa0a,_0x183ed9;return(_0x183ed9=(_0x14fa0a=(_0x3b4504=this[_0x17d18a(0x28f)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x14fa0a[_0x17d18a(0x176)](_0x3b4504,_0x4be614))!=null?_0x183ed9:_0x4be614;}['_transformRemoteChangesetByStateCache'](_0x272ea9){var _0x462208=_0x3527bc,_0x4c9305,_0x15e219,_0x159468;return(_0x159468=(_0x15e219=(_0x4c9305=this['_handler'])[_0x462208(0xf0)])==null?void 0x0:_0x15e219['call'](_0x4c9305,_0x272ea9))!=null?_0x159468:_0x272ea9;}[_0x3527bc(0x305)](_0x12cf7d){var _0x50564f=_0x3527bc,_0xf9d001,_0x84b101;if(this[_0x50564f(0x1b7)]===Q[_0x50564f(0x38a)]){const {unitID:_0x37439b,mutations:_0x3fb36c,memberID:_0x1daef4}=_0x12cf7d,_0x90e88a=_0x3fb36c[0x0]['params']['textRanges'];Array['isArray'](_0x90e88a)&&_0x90e88a[_0x50564f(0x283)]>0x0&&((_0x84b101=(_0xf9d001=this[_0x50564f(0x28f)])[_0x50564f(0xe5)])==null||_0x84b101[_0x50564f(0x176)](_0xf9d001,{'unitID':_0x37439b,'memberID':_0x1daef4,'textRanges':_0x90e88a}));}}['_updateLocalCache'](){var _0x625418=_0x3527bc,_0x574ac4;(_0x574ac4=this[_0x625418(0x2e4)])==null||_0x574ac4[_0x625418(0x2f8)](this[_0x625418(0x319)],this[_0x625418(0x1b7)],this[_0x625418(0x2ea)],this[_0x625418(0x26b)]);}[_0x3527bc(0x336)](){var _0x30b816=_0x3527bc;return this[_0x30b816(0x238)][_0x30b816(0x30c)](this[_0x30b816(0x319)]);}[_0x3527bc(0x210)](){var _0x1f5a31=_0x3527bc;this[_0x1f5a31(0x238)][_0x1f5a31(0x2d0)](this[_0x1f5a31(0x319)]);}[_0x3527bc(0x325)](_0x2373c1){var _0x228ef8=_0x3527bc,_0x476c83;let _0x298622=this[_0x228ef8(0x335)](_0x2373c1);_0x298622=this[_0x228ef8(0x32f)](_0x298622);const _0x231478=_0x309c75(_0x298622[_0x228ef8(0x2c7)],this[_0x228ef8(0xfd)],{'fromCollab':!0x0});if(!_0x231478[_0x228ef8(0x12d)])throw _0x231478[_0x228ef8(0xe6)]instanceof Error?_0x231478[_0x228ef8(0xe6)]:new Error((_0x476c83=_0x231478[_0x228ef8(0xe6)])!=null?_0x476c83:_0x228ef8(0xa7));this[_0x228ef8(0x284)](_0x298622),this[_0x228ef8(0x182)](_0x298622),this[_0x228ef8(0x30e)](_0x2373c1),this[_0x228ef8(0xb5)](_0x298622),this['_syncEditingCollabCursor'](_0x298622),this[_0x228ef8(0x210)]();}}let Ne=class extends Ce{constructor(_0x482f6a,_0x5e649b,_0x1f25d4,_0x488281,_0x4841cc,_0x462aa5,_0x12180b,_0x1865e9,_0x15d9f6,_0xa4d3bf){var _0x564719=_0x3527bc;super(_0x482f6a,_0x5e649b,null,[],_0x1f25d4,_0x12180b,_0x462aa5,_0x488281,_0xa4d3bf),N(this,_0x564719(0x268),'synced'),(this['_injector']=_0x4841cc,this[_0x564719(0x2ed)]=_0x1865e9,this[_0x564719(0x8d)]=_0x15d9f6,this[_0x564719(0x1ad)]=_0xa4d3bf);}[_0x3527bc(0x15a)](_0x788e2d){var _0x583b53=_0x3527bc;const _0x3b59b5=this[_0x583b53(0x2d6)][_0x583b53(0x2bb)](ae,this['unitID'],this[_0x583b53(0x1b7)],[_0x788e2d],this[_0x583b53(0x28f)]);return _0x3b59b5[_0x583b53(0x1c9)](),_0x3b59b5[_0x583b53(0x173)](),_0x3b59b5;}[_0x3527bc(0x1f7)](_0x4f6c9b){var _0x282c6a=_0x3527bc;if(this['_checkMissing'](_0x4f6c9b))return this['_injector'][_0x282c6a(0x2bb)](ee,this['unitID'],this[_0x282c6a(0x1b7)],null,[],null,[_0x4f6c9b],this[_0x282c6a(0x28f)]);try{const _0x20af43=this[_0x282c6a(0x8d)][_0x282c6a(0x232)](_0x4f6c9b,[ss]);if(_0x172cb4(_0x20af43)){const {c1Prime:_0x2d87e4}=_0x20af43;return this[_0x282c6a(0x325)](_0x2d87e4),this;}throw _0x20af43['error'];}catch(_0x112460){return this[_0x282c6a(0x2ed)]['error'](_0x112460),this[_0x282c6a(0x1db)](!0x1);}}['_onConflict'](_0x8949a){var _0x33ee1d=_0x3527bc;return this['_injector'][_0x33ee1d(0x2bb)](ue,this[_0x33ee1d(0x319)],this[_0x33ee1d(0x1b7)],null,[],this['_handler'],_0x8949a);}[_0x3527bc(0x1e0)](){var _0x5c402d=_0x3527bc;throw new Error(_0x5c402d(0x281));}[_0x3527bc(0x38f)](){var _0x5cd37e=_0x3527bc;throw new Error(_0x5cd37e(0x34d));}[_0x3527bc(0x1dc)](){return this;}[_0x3527bc(0x140)](){var _0x4d0f08=_0x3527bc;return this[_0x4d0f08(0x2d6)][_0x4d0f08(0x2bb)](de,this[_0x4d0f08(0x319)],this[_0x4d0f08(0x1b7)],null,[],this[_0x4d0f08(0x28f)]);}[_0x3527bc(0x24c)](){return this;}[_0x3527bc(0x287)](){var _0x47cf14=_0x3527bc;throw new Error(_0x47cf14(0x2d8));}['fetchMiss'](){var _0x161239=_0x3527bc;const _0x2ff469=this[_0x161239(0x238)][_0x161239(0x30c)](this[_0x161239(0x319)]);return this['_handler'][_0x161239(0xcf)]({'from':_0x2ff469,'to':0x0}),this[_0x161239(0x2d6)][_0x161239(0x2bb)](ee,this[_0x161239(0x319)],this[_0x161239(0x1b7)],null,[],null,[],this[_0x161239(0x28f)]);}};Ne=Te([P(0x3,_0x316576(_0x2ab545)),P(0x4,_0x316576(_0x2f1087)),P(0x5,_0x341bb1),P(0x6,_0x3d3bf2),P(0x7,_0x12a8cc),P(0x8,_0xcbb9b),P(0x9,_0x40f615(J))],Ne);let ae=class extends Ce{constructor(_0x4403b7,_0x2e8685,_0x28b06e,_0x139f8a,_0x31799b,_0x1588f5,_0x4190f0,_0x454470,_0x3ad138,_0x46ed6f,_0x801cab,_0x211003,_0xefb939,_0x546295){var _0x130bbb=_0x3527bc;super(_0x4403b7,_0x2e8685,null,_0x28b06e,_0x139f8a,_0x3ad138,_0xefb939,_0x1588f5,_0x546295),N(this,'status',_0x130bbb(0x25a)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x130bbb(0x201),null),(this['_injector']=_0x31799b,this[_0x130bbb(0x2a9)]=_0x4190f0,this[_0x130bbb(0x2ed)]=_0x454470,this['_configService']=_0x46ed6f,this['_transformService']=_0x801cab,this[_0x130bbb(0xc4)]=_0x211003);}[_0x3527bc(0x15a)](_0x4d8d1c){var _0x4defa4=_0x3527bc;return this['_pendingMutations'][_0x4defa4(0x32d)](_0x4d8d1c),this[_0x4defa4(0x173)](),this;}[_0x3527bc(0x1f7)](_0x1ab583){var _0x4279ff=_0x3527bc;if(this[_0x4279ff(0x2a2)](_0x1ab583))return this[_0x4279ff(0x338)](),this['_injector'][_0x4279ff(0x2bb)](ee,this['unitID'],this[_0x4279ff(0x1b7)],null,this['_pendingMutations'],null,[_0x1ab583],this[_0x4279ff(0x28f)]);try{const _0x4c6345=this[_0x4279ff(0x8d)][_0x4279ff(0x232)](_0x1ab583,this['_pendingMutations']);if(_0x172cb4(_0x4c6345)){const {c1Prime:_0x255f77,m2Prime:_0x1807d6}=_0x4c6345;this['_executeRemoteChangeset'](_0x255f77);const _0x11ce6d=this['_injector']['createInstance'](ae,this[_0x4279ff(0x319)],this['type'],_0x1807d6,this['_handler']);this[_0x4279ff(0x338)]();const _0x3f093d=new Date()['getTime'](),_0x3e7c27=this[_0x4279ff(0x35e)]?Math['max'](this[_0x4279ff(0x35e)]-_0x3f093d,0x0):this[_0x4279ff(0x22e)]();return _0x11ce6d[_0x4279ff(0x1c9)](_0x3e7c27),_0x11ce6d;}throw _0x4c6345[_0x4279ff(0xe6)];}catch(_0x261fd7){return this['_logService'][_0x4279ff(0xe6)](_0x261fd7),this[_0x4279ff(0x1db)](!0x1);}}[_0x3527bc(0x1e0)](){var _0x1d76ff=_0x3527bc;throw new Error(_0x1d76ff(0x2a0));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3527bc(0x1dc)](){return this;}[_0x3527bc(0x140)](){var _0x15eb67=_0x3527bc;return this['_clearScheduledTask'](),this['_injector'][_0x15eb67(0x2bb)](de,this[_0x15eb67(0x319)],this[_0x15eb67(0x1b7)],null,this[_0x15eb67(0x26b)],this[_0x15eb67(0x28f)]);}['toggleOnline'](){return this;}[_0x3527bc(0x1c9)](_0x359a94){var _0x2dc2e0=_0x3527bc;const _0xebf992=_0x359a94!=null?_0x359a94:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2dc2e0(0x24f)]()+_0xebf992,this[_0x2dc2e0(0x201)]=setTimeout(()=>{var _0x71171e=_0x2dc2e0;this[_0x71171e(0x338)]();let _0x362acd=null;switch(this[_0x71171e(0x1b7)]){case Q[_0x71171e(0x1b0)]:{_0x362acd=qt(this[_0x71171e(0x26b)],this[_0x71171e(0x319)],this[_0x71171e(0xc4)],this[_0x71171e(0x238)],this[_0x71171e(0x2a9)]);break;}case Q[_0x71171e(0x38a)]:{this['_pendingMutations'][_0x71171e(0x235)](_0x104806=>_0x104806['id']===_0x30d2aa['id'])?_0x362acd=ns(this[_0x71171e(0x26b)],this[_0x71171e(0x319)],this[_0x71171e(0xc4)],this[_0x71171e(0x238)],this['_memberService']):_0x362acd=qt(this[_0x71171e(0x26b)],this[_0x71171e(0x319)],this[_0x71171e(0xc4)],this[_0x71171e(0x238)],this[_0x71171e(0x2a9)]);break;}default:throw new Error(_0x71171e(0x263)+this[_0x71171e(0x1b7)]+_0x71171e(0x231));}const {changeset:_0x1d64e4,pendingMutations:_0x53aaff}=_0x362acd;this[_0x71171e(0x28f)]['onSendChangeset'](_0x1d64e4);const _0x5b50ea=_0x53aaff['length']?this['_injector'][_0x71171e(0x2bb)](oe,this['unitID'],this['type'],_0x1d64e4,_0x53aaff,this[_0x71171e(0x28f)],void 0x0):this['_injector'][_0x71171e(0x2bb)](le,this[_0x71171e(0x319)],this[_0x71171e(0x1b7)],_0x1d64e4,this[_0x71171e(0x28f)]);_0x5b50ea[_0x71171e(0x173)](),this[_0x71171e(0x28f)][_0x71171e(0x10f)](this,_0x5b50ea);},_0xebf992);}[_0x3527bc(0x22e)](){var _0x25f1b7=_0x3527bc,_0x27ddd5;const _0x53e21a=this[_0x25f1b7(0x21e)][_0x25f1b7(0x183)](q);return(_0x27ddd5=_0x53e21a==null?void 0x0:_0x53e21a[_0x25f1b7(0x237)])!=null?_0x27ddd5:En;}[_0x3527bc(0x287)](){var _0x3ede2c=_0x3527bc;throw new Error(_0x3ede2c(0x181));}['_clearScheduledTask'](){var _0x2941e3=_0x3527bc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2941e3(0x201)]),this['_sendingTimer']=null);}['_onConflict'](_0x3d75d6){var _0x25a590=_0x3527bc;return this['_clearScheduledTask'](),this[_0x25a590(0x2d6)][_0x25a590(0x2bb)](ue,this[_0x25a590(0x319)],this[_0x25a590(0x1b7)],null,this['_pendingMutations'],this[_0x25a590(0x28f)],_0x3d75d6);}};ae=Te([P(0x4,_0x316576(_0x2f1087)),P(0x5,_0x316576(_0x2ab545)),P(0x6,_0x316576(Le)),P(0x7,_0x12a8cc),P(0x8,_0x3d3bf2),P(0x9,_0x1f147a),P(0xa,_0xcbb9b),P(0xb,_0x44db50),P(0xc,_0x341bb1),P(0xd,_0x40f615(J))],ae);let le=class extends Ce{constructor(_0xff081a,_0xd04125,_0x432046,_0x342673,_0x854879,_0x428e11,_0x2a048a,_0x4a8719,_0x39e25a,_0x306314,_0x3cd84e){var _0x5e6aa2=_0x3527bc;super(_0xff081a,_0xd04125,_0x432046,[],_0x342673,_0x2a048a,_0x306314,_0x428e11,_0x3cd84e),N(this,_0x5e6aa2(0x268),'awaiting'),N(this,_0x5e6aa2(0x2dc),0x0),N(this,_0x5e6aa2(0x13f)),N(this,_0x5e6aa2(0x11c)),(this[_0x5e6aa2(0x2d6)]=_0x854879,this[_0x5e6aa2(0x2ed)]=_0x4a8719,this[_0x5e6aa2(0x8d)]=_0x39e25a);}[_0x3527bc(0x15a)](_0xdd9a80){var _0x1f084c=_0x3527bc;this['_clearScheduledTask']();const _0x20e223=this[_0x1f084c(0x2d6)][_0x1f084c(0x2bb)](oe,this[_0x1f084c(0x319)],this[_0x1f084c(0x1b7)],this[_0x1f084c(0x2ea)],[_0xdd9a80],this[_0x1f084c(0x28f)],this[_0x1f084c(0x13f)]);return _0x20e223['_updateLocalCache'](),_0x20e223;}[_0x3527bc(0x1f7)](_0x5f3498){var _0x2bf7a2=_0x3527bc;if(this['_checkMissing'](_0x5f3498))return this[_0x2bf7a2(0x338)](),this[_0x2bf7a2(0x2d6)]['createInstance'](ee,this[_0x2bf7a2(0x319)],this[_0x2bf7a2(0x1b7)],this[_0x2bf7a2(0x2ea)],[],null,[_0x5f3498],this[_0x2bf7a2(0x28f)]);try{const _0x42bb06=this[_0x2bf7a2(0x8d)][_0x2bf7a2(0x1b8)]([_0x5f3498],[this[_0x2bf7a2(0x2ea)]],!0x1);if(_0x48397b(_0x42bb06)){const {c1Prime:_0x31cd54,c2Prime:_0x355251}=_0x42bb06;this[_0x2bf7a2(0x325)](_0x31cd54[0x0]),_0x355251[0x0][_0x2bf7a2(0x1c3)]=this[_0x2bf7a2(0x336)](),this[_0x2bf7a2(0x338)]();const _0x919b14=this[_0x2bf7a2(0x2d6)][_0x2bf7a2(0x2bb)](le,this['unitID'],this[_0x2bf7a2(0x1b7)],_0x355251[0x0],this[_0x2bf7a2(0x28f)]);return _0x919b14[_0x2bf7a2(0x173)](),_0x919b14;}return this[_0x2bf7a2(0x1db)](!0x1);}catch(_0x362c8f){return this[_0x2bf7a2(0x2ed)][_0x2bf7a2(0xe6)](_0x362c8f),this[_0x2bf7a2(0x1db)](!0x1);}}[_0x3527bc(0x1e0)](_0xb18373){var _0x6acb7f=_0x3527bc;this[_0x6acb7f(0x338)]();const _0x35f059=this[_0x6acb7f(0x238)][_0x6acb7f(0x30c)](this[_0x6acb7f(0x319)]);if(_0xb18373[_0x6acb7f(0x243)]<_0x35f059-0x1)return this;if(this['_checkMissing'](_0xb18373))return this['_injector'][_0x6acb7f(0x2bb)](ee,this[_0x6acb7f(0x319)],this[_0x6acb7f(0x1b7)],null,[],this[_0x6acb7f(0x2ea)],[],this[_0x6acb7f(0x28f)]);this['_incrementRevisionNumber']();const _0x1c8767=this['_injector'][_0x6acb7f(0x2bb)](Ne,this['unitID'],this[_0x6acb7f(0x1b7)],this['_handler']);return _0x1c8767[_0x6acb7f(0x173)](),_0x1c8767;}['onRemoteRej'](_0x56f969){var _0x1a79b7=_0x3527bc;return this[_0x1a79b7(0x1db)](!!(_0x56f969!=null&&_0x56f969['isPermissionRej']));}[_0x3527bc(0x1dc)](_0x211bef){var _0x172c54=_0x3527bc;return this[_0x172c54(0x2dc)]>Oi?this[_0x172c54(0x140)]():(this[_0x172c54(0x13f)]=Ri(this[_0x172c54(0x2dc)],{'timeout':this['_resendTimeout'],'reqId':_0x211bef[_0x172c54(0x25f)]}),this[_0x172c54(0x11c)]=this[_0x172c54(0x13f)][_0x172c54(0x151)](({reqId:_0x29e03b,timeout:_0x40c453})=>{this['_resendWithTimeout'](_0x29e03b,_0x40c453);}),this);}['toggleOffline'](){var _0x4ea34c=_0x3527bc;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x4ea34c(0x319)],this[_0x4ea34c(0x1b7)],this[_0x4ea34c(0x2ea)],[],this[_0x4ea34c(0x28f)]);}[_0x3527bc(0x24c)](){return this;}[_0x3527bc(0x287)](){var _0x1deddc=_0x3527bc;this['_handler'][_0x1deddc(0xe9)](this['_awaitingChangeset']);}[_0x3527bc(0x1db)](_0x3a7298){var _0x585fda=_0x3527bc;return this['_clearScheduledTask'](),this['_injector'][_0x585fda(0x2bb)](ue,this[_0x585fda(0x319)],this[_0x585fda(0x1b7)],this[_0x585fda(0x2ea)],[],this[_0x585fda(0x28f)],_0x3a7298);}[_0x3527bc(0x2ff)](_0x49823d,_0x287624){var _0x5af5f5=_0x3527bc,_0x52dd70;_0x49823d===((_0x52dd70=this[_0x5af5f5(0x2ea)])==null?void 0x0:_0x52dd70[_0x5af5f5(0x25f)])&&(this[_0x5af5f5(0x287)](),this[_0x5af5f5(0x2dc)]=_0x287624===0x0?0x3e8:_0x287624*0x2);}[_0x3527bc(0x338)](){var _0x4b3f25=_0x3527bc,_0x5afc49;(_0x5afc49=this[_0x4b3f25(0x11c)])==null||_0x5afc49[_0x4b3f25(0x10b)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x316576(_0x2f1087)),P(0x5,_0x316576(_0x2ab545)),P(0x6,_0x3d3bf2),P(0x7,_0x12a8cc),P(0x8,_0xcbb9b),P(0x9,_0x341bb1),P(0xa,_0x40f615(J))],le);let oe=class extends Ce{constructor(_0x5673f4,_0x5c60eb,_0x5c39a7,_0x4adc89,_0x4cad8d,_0x2b93ac,_0x33e015,_0x5aa21c,_0x5da8d9,_0x1942b7,_0xfa3383,_0xaac3d6,_0x386029){var _0x138cc1=_0x3527bc;super(_0x5673f4,_0x5c60eb,_0x5c39a7,_0x4adc89,_0x4cad8d,_0x5da8d9,_0xaac3d6,_0x5aa21c,_0x386029),N(this,_0x138cc1(0x268),'awaiting_with_pending'),N(this,_0x138cc1(0x2dc),0x0),N(this,_0x138cc1(0x13f)),N(this,_0x138cc1(0x11c)),(this[_0x138cc1(0x2d6)]=_0x33e015,this['_logService']=_0x1942b7,this[_0x138cc1(0x8d)]=_0xfa3383,this['localCacheService']=_0x386029,_0x2b93ac&&(this[_0x138cc1(0x13f)]=_0x2b93ac,this['_sender']=this[_0x138cc1(0x13f)][_0x138cc1(0x151)](({reqId:_0x4372da,timeout:_0x30d370})=>{var _0x47693f=_0x138cc1;this[_0x47693f(0x2ff)](_0x4372da,_0x30d370);})));}[_0x3527bc(0x15a)](_0x47e314){var _0x39f899=_0x3527bc;return this[_0x39f899(0x26b)]['push'](_0x47e314),this;}[_0x3527bc(0x1f7)](_0x212e16){var _0x3c9f58=_0x3527bc;if(this[_0x3c9f58(0x2a2)](_0x212e16))return this[_0x3c9f58(0x338)](),this['_injector'][_0x3c9f58(0x2bb)](ee,this[_0x3c9f58(0x319)],this[_0x3c9f58(0x1b7)],this['_awaitingChangeset'],this[_0x3c9f58(0x26b)],null,[_0x212e16],this[_0x3c9f58(0x28f)]);try{const _0x54a9b5=this[_0x3c9f58(0x8d)][_0x3c9f58(0x1b8)]([_0x212e16],[this[_0x3c9f58(0x2ea)]],!0x1);if(_0x48397b(_0x54a9b5)){const {c1Prime:_0x174f5c,c2Prime:_0x1ce7b8}=_0x54a9b5,_0x4f1483=this[_0x3c9f58(0x8d)][_0x3c9f58(0x232)](_0x174f5c[0x0],this[_0x3c9f58(0x26b)]);if(_0x172cb4(_0x4f1483)){const {c1Prime:_0x53b178,m2Prime:_0x419bde}=_0x4f1483;return this[_0x3c9f58(0x325)](_0x53b178),_0x1ce7b8[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x3c9f58(0x338)](),this['_injector'][_0x3c9f58(0x2bb)](oe,this['unitID'],this[_0x3c9f58(0x1b7)],_0x1ce7b8[0x0],_0x419bde,this[_0x3c9f58(0x28f)],void 0x0);}throw _0x4f1483[_0x3c9f58(0xe6)];}throw _0x54a9b5['error'];}catch(_0x3c9214){return this[_0x3c9f58(0x2ed)][_0x3c9f58(0xe6)](_0x3c9214),this['_onConflict'](!0x1);}}[_0x3527bc(0x1e0)](_0x565864){var _0x42ae24=_0x3527bc;if(this[_0x42ae24(0x338)](),this[_0x42ae24(0x2a2)](_0x565864))return this[_0x42ae24(0x2d6)][_0x42ae24(0x2bb)](ee,this[_0x42ae24(0x319)],this[_0x42ae24(0x1b7)],null,this[_0x42ae24(0x26b)],this['_awaitingChangeset'],[],this['_handler']);this['_incrementRevisionNumber']();const _0x5a4ce1=this['_injector']['createInstance'](ae,this[_0x42ae24(0x319)],this[_0x42ae24(0x1b7)],this[_0x42ae24(0x26b)],this['_handler']);return _0x5a4ce1[_0x42ae24(0x1c9)](),_0x5a4ce1['_updateLocalCache'](),_0x5a4ce1;}['onRemoteRej'](_0x1745a1){var _0x19b92f=_0x3527bc;return this[_0x19b92f(0x1db)](!!(_0x1745a1!=null&&_0x1745a1[_0x19b92f(0x317)]));}[_0x3527bc(0x1dc)](_0x1b7cd0){var _0x43e34b=_0x3527bc;return this[_0x43e34b(0x2dc)]>Oi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x43e34b(0x2dc)],{'timeout':this[_0x43e34b(0x2dc)],'reqId':_0x1b7cd0[_0x43e34b(0x25f)]}),this[_0x43e34b(0x11c)]=this[_0x43e34b(0x13f)][_0x43e34b(0x151)](({reqId:_0x4b9365,timeout:_0x44e9b1})=>{var _0xea1341=_0x43e34b;this[_0xea1341(0x2ff)](_0x4b9365,_0x44e9b1);}),this);}[_0x3527bc(0x140)](){var _0x50240f=_0x3527bc;return this[_0x50240f(0x338)](),this[_0x50240f(0x2d6)]['createInstance'](de,this[_0x50240f(0x319)],this[_0x50240f(0x1b7)],this[_0x50240f(0x2ea)],this[_0x50240f(0x26b)],this[_0x50240f(0x28f)]);}[_0x3527bc(0x24c)](){return this;}[_0x3527bc(0x287)](){var _0x30adc5=_0x3527bc;this[_0x30adc5(0x28f)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x3527bc(0x1db)](_0x5d0d46){var _0x57bc73=_0x3527bc;return this[_0x57bc73(0x338)](),this['_injector'][_0x57bc73(0x2bb)](ue,this[_0x57bc73(0x319)],this[_0x57bc73(0x1b7)],null,this['_pendingMutations'],this[_0x57bc73(0x28f)],_0x5d0d46);}[_0x3527bc(0x2ff)](_0x28ee77,_0x1bcb49){var _0x150622=_0x3527bc,_0x352060;_0x28ee77===((_0x352060=this[_0x150622(0x2ea)])==null?void 0x0:_0x352060[_0x150622(0x25f)])&&(this[_0x150622(0x287)](),this[_0x150622(0x2dc)]=_0x1bcb49===0x0?0x3e8:_0x1bcb49*0x2);}[_0x3527bc(0x338)](){var _0x37c781=_0x3527bc,_0x2522a0;(_0x2522a0=this['_sender'])==null||_0x2522a0[_0x37c781(0x10b)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x316576(_0x2f1087)),P(0x7,_0x316576(_0x2ab545)),P(0x8,_0x3d3bf2),P(0x9,_0x12a8cc),P(0xa,_0xcbb9b),P(0xb,_0x341bb1),P(0xc,_0x40f615(J))],oe);let ue=class extends Ce{constructor(_0x55dc7f,_0x1b6709,_0x539dd0,_0x22e685,_0x4e0a98,_0x51c4b8=!0x1,_0x13f9d9,_0x14c499,_0x227fa1,_0x3db04a,_0x52b050,_0x505267,_0x5a6698){var _0x15ebe9=_0x3527bc;super(_0x55dc7f,_0x1b6709,_0x539dd0,_0x22e685,_0x4e0a98,_0x14c499,_0x227fa1,_0x3db04a,_0x5a6698),N(this,'status','conflict'),(this['_isPermissionRej']=_0x51c4b8,this[_0x15ebe9(0x135)]=_0x13f9d9,this['_localeService']=_0x52b050,this['_collaborationUIEventService']=_0x505267,this[_0x15ebe9(0x1ad)]=_0x5a6698,this[_0x15ebe9(0x1d3)](),this[_0x15ebe9(0x343)](),this[_0x15ebe9(0x1a1)]());}['appendMutation'](){return this;}[_0x3527bc(0x1f7)](){return this;}[_0x3527bc(0x1e0)](){return this;}[_0x3527bc(0x38f)](){return this;}[_0x3527bc(0x1dc)](){return this;}[_0x3527bc(0x140)](){return this;}[_0x3527bc(0x24c)](){return this;}[_0x3527bc(0x287)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3527bc(0x343)](){var _0x17038c=_0x3527bc,_0x2aed44;(_0x2aed44=this[_0x17038c(0x2e4)])==null||_0x2aed44['updateOfflineData'](this[_0x17038c(0x319)],this[_0x17038c(0x1b7)],null,[]);}[_0x3527bc(0x1d3)](){var _0x4f9dc1=_0x3527bc;this[_0x4f9dc1(0x1d1)]?this[_0x4f9dc1(0x377)][_0x4f9dc1(0x19f)]({'id':re[_0x4f9dc1(0x2e9)]}):this['_collaborationUIEventService'][_0x4f9dc1(0x19f)]({'id':re[_0x4f9dc1(0x256)]});}[_0x3527bc(0x1a1)](){var _0x4ef784=_0x3527bc;this[_0x4ef784(0x135)][_0x4ef784(0x108)](new _0x41bfe5(this[_0x4ef784(0x319)])['id'],!0x1);}};ue=Te([P(0x6,_0x316576(_0x1a815c)),P(0x7,_0x3d3bf2),P(0x8,_0x341bb1),P(0x9,_0x316576(_0x2ab545)),P(0xa,_0x316576(_0x59bcee)),P(0xb,_0x316576(pe)),P(0xc,_0x40f615(J))],ue);let de=class extends Ce{constructor(_0x2a5f5a,_0x237800,_0x30c951,_0x371561,_0x1b66cd,_0xbde519,_0x241475,_0x282f37,_0x1ef0c2,_0x10b19d){var _0x4e2b67=_0x3527bc;super(_0x2a5f5a,_0x237800,_0x30c951,_0x371561,_0x1b66cd,_0x282f37,_0x1ef0c2,_0x241475,_0x10b19d),N(this,'status','offline'),this[_0x4e2b67(0x2d6)]=_0xbde519;}['appendMutation'](_0x2cf81c){var _0x1f287f=_0x3527bc;return this[_0x1f287f(0x26b)][_0x1f287f(0x32d)](_0x2cf81c),this['_updateLocalCache'](),this;}[_0x3527bc(0x1f7)](_0x520f73){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x3527bc(0x1e0)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3527bc(0x38f)](){var _0x31c89b=_0x3527bc;throw new Error(_0x31c89b(0x2e8));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x3527bc(0x24c)](){var _0x3fad69=_0x3527bc;const {_injector:_0x562258,_pendingMutations:_0x2b945f,_awaitingChangeset:_0xd9de8a,unitID:_0x4737de,_handler:_0x50f85a,type:_0x2d5581}=this,_0x5f2a92=yi(_0x562258,_0x4737de,_0x2d5581,_0xd9de8a,_0x2b945f,_0x50f85a);return _0x5f2a92 instanceof ae?_0x5f2a92['_schedule']():(_0x5f2a92 instanceof oe||_0x5f2a92 instanceof le)&&_0x5f2a92[_0x3fad69(0x287)](),_0x5f2a92;}[_0x3527bc(0x287)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x316576(_0x2f1087)),P(0x6,_0x316576(_0x2ab545)),P(0x7,_0x3d3bf2),P(0x8,_0x341bb1),P(0x9,_0x40f615(J))],de);let ee=class extends Ce{constructor(_0x1a4893,_0x4550e5,_0x5b32d4,_0x3dd94d,_0x34739f,_0x360018,_0x233a42,_0x154420,_0x268789,_0x5dfeea,_0x1453ef,_0x23547a,_0x37859c,_0x18da23){var _0x13b839=_0x3527bc;super(_0x1a4893,_0x4550e5,_0x5b32d4,_0x3dd94d,_0x233a42,_0x1453ef,_0x23547a,_0x268789,_0x18da23),N(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x34739f,this[_0x13b839(0x2e7)]=_0x360018,this['_injector']=_0x154420,this['_logService']=_0x5dfeea,this[_0x13b839(0x8d)]=_0x37859c,this[_0x13b839(0x1ad)]=_0x18da23);}[_0x3527bc(0x169)](_0x547a13){var _0x2a93d8=_0x3527bc;try{const _0x48290b=[..._0x547a13,...this[_0x2a93d8(0x2e7)]],_0x4b8c92=[this[_0x2a93d8(0x2ea)]||this[_0x2a93d8(0x174)]][_0x2a93d8(0x1e7)](_0x24b2b1=>!!_0x24b2b1);let _0x40f719,_0x41ce86;if(_0x4b8c92[_0x2a93d8(0x283)]){const _0x697af9=this[_0x2a93d8(0x8d)][_0x2a93d8(0x1b8)](_0x48290b,_0x4b8c92,!0x1);if(!_0x48397b(_0x697af9))throw _0x697af9['error'];_0x40f719=_0x697af9['c1Prime'],_0x41ce86=_0x697af9[_0x2a93d8(0x27c)];}else _0x40f719=_0x48290b,_0x41ce86=[];let _0x41e8f9=this[_0x2a93d8(0x26b)];_0x40f719['forEach'](_0x4fdf8e=>{var _0x2d8a87=_0x2a93d8;let _0x337ee0;if(_0x41e8f9[_0x2d8a87(0x283)]){const _0x290329=this[_0x2d8a87(0x8d)][_0x2d8a87(0x232)](_0x4fdf8e,_0x41e8f9);if(!_0x172cb4(_0x290329))throw _0x290329['error'];_0x337ee0=_0x290329[_0x2d8a87(0x244)],_0x41e8f9=_0x290329['m2Prime'];}else _0x337ee0=_0x4fdf8e;this[_0x2d8a87(0x325)](_0x337ee0);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2a93d8(0x210)](),this[_0x2a93d8(0x2ea)]&&_0x41ce86[_0x2a93d8(0x283)]&&(_0x41ce86[0x0][_0x2a93d8(0x1c3)]=this[_0x2a93d8(0x336)]());let _0x44df6f;if(this['_awaitingChangeset']&&_0x41e8f9[_0x2a93d8(0x283)]!==0x0)_0x44df6f=this[_0x2a93d8(0x2d6)]['createInstance'](oe,this[_0x2a93d8(0x319)],this[_0x2a93d8(0x1b7)],_0x41ce86[0x0],_0x41e8f9,this[_0x2a93d8(0x28f)],void 0x0);else{if(this[_0x2a93d8(0x2ea)]&&_0x41e8f9[_0x2a93d8(0x283)]===0x0)_0x41ce86[0x0][_0x2a93d8(0x1c3)]=this[_0x2a93d8(0x336)](),_0x44df6f=this['_injector'][_0x2a93d8(0x2bb)](le,this['unitID'],this[_0x2a93d8(0x1b7)],_0x41ce86[0x0],this[_0x2a93d8(0x28f)]);else{if(_0x41e8f9[_0x2a93d8(0x283)]!==0x0){const _0x5df4b5=this[_0x2a93d8(0x2d6)][_0x2a93d8(0x2bb)](ae,this[_0x2a93d8(0x319)],this[_0x2a93d8(0x1b7)],_0x41e8f9,this[_0x2a93d8(0x28f)]);_0x5df4b5['_schedule'](),_0x44df6f=_0x5df4b5;}else _0x44df6f=this[_0x2a93d8(0x2d6)][_0x2a93d8(0x2bb)](Ne,this[_0x2a93d8(0x319)],this[_0x2a93d8(0x1b7)],this[_0x2a93d8(0x28f)]);}}return _0x44df6f[_0x2a93d8(0x173)](),_0x44df6f;}catch(_0xd4b9a4){return this[_0x2a93d8(0x2ed)][_0x2a93d8(0xe6)](_0x2a93d8(0x302),_0x2a93d8(0xae),_0xd4b9a4),this['_injector'][_0x2a93d8(0x2bb)](ue,this[_0x2a93d8(0x319)],this[_0x2a93d8(0x1b7)],this['_awaitingChangeset'],this[_0x2a93d8(0x26b)],this[_0x2a93d8(0x28f)],!0x1);}}['resend'](){var _0x495e34=_0x3527bc;throw new Error(_0x495e34(0x1cb));}[_0x3527bc(0x15a)](_0x78422c){var _0x319262=_0x3527bc;return this[_0x319262(0x26b)]['push'](_0x78422c),this;}[_0x3527bc(0x1f7)](_0xff5a13){var _0x4eb80c=_0x3527bc;return this[_0x4eb80c(0x2e7)][_0x4eb80c(0x32d)](_0xff5a13),this;}[_0x3527bc(0x1e0)](_0x117433){var _0x1c55b5=_0x3527bc;if(this[_0x1c55b5(0x2ea)])return this[_0x1c55b5(0x174)]=this[_0x1c55b5(0x2ea)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3527bc(0x38f)](_0x153206){var _0x1c6bf9=_0x3527bc;return this[_0x1c6bf9(0x1db)](!!(_0x153206!=null&&_0x153206[_0x1c6bf9(0x317)]));}[_0x3527bc(0x1dc)](){return this;}[_0x3527bc(0x140)](){var _0x5d2056=_0x3527bc;return this[_0x5d2056(0x2d6)][_0x5d2056(0x2bb)](de,this[_0x5d2056(0x319)],this['type'],this['_awaitingChangeset'],this[_0x5d2056(0x26b)],this[_0x5d2056(0x28f)]);}[_0x3527bc(0x24c)](){return this;}[_0x3527bc(0x1db)](_0x146b39){var _0x48d129=_0x3527bc;return this[_0x48d129(0x2d6)][_0x48d129(0x2bb)](ue,this['unitID'],this[_0x48d129(0x1b7)],this['_awaitingChangeset'],this[_0x48d129(0x26b)],this[_0x48d129(0x28f)],_0x146b39);}};function _0x112a(){var _0x2500d1=['connection\x20error','_process','DEFAULT_FILE_NAME','type','transformChangesets','enableAuthServer','listCollaborators','LIVESHARE_OPERATION','fromCharCode','crypto','&source=','JOIN_ROOM_FULL','140807woKVMF','LICENSE_MAX_UNITS_EXCEEDED','_event$','baseRev','then','readyForCollab','uploadFileServerUrl','reset','SNAPSHOT_URL_KEY','_schedule','selections','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_changesetSessionId','Encryptor','permissionRejEvent','hasOwnProperty','toString','_isPermissionRej','unitInfo$','_showConflictNotification','_lockTransition','getSnapshotAPIPath','_data','UNKNOWN_CODE','onTransformIME','addHandlerCallback','x-univer-host','_onConflict','onRemoteRetry','UPDATE_CURSOR','_rescheduleHeartbeat','_onFetchMissResult','onRemoteAck','_retryConnectingTimer','/block/','FETCH_MISSING','_keySchedule','YUUMI_SUBSCRIPTION_NOT_FOUND','getUnitId','filter','/resources','MUTATION','_unitID','_decreaseWaiting','_socket','IDLE','COMPRESS_MUTATION_SEND','extend','decryptBlock','unitId','session.join-failed','_shouldReportTelemetry','getTypeOfUnitAdded$','addImageSourceCache','_undoRedoService','onRemoteChangeset','15jvODxM','People','title','Could\x20not\x20dynamically\x20require\x20\x22','startsWith','offline','APPLY_DUPLICATED','_waitForHeartbeatResponse','_clearRedo','_sendingTimer','getTypeOfUnitDisposed$','unitId\x20is\x20not\x20found','_applyRemoteChangeset','12005qhsWgq','changesets','_telemetryService','_getAPIPrefixPath','_socket$','blockSize','univer-pro.collaboration-client-socket-service','_onOffline','function','UnitSnapshot','JOIN_ROOM_FAILED','_incrementRevisionNumber','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HttpExport','hostname','createSocket','_getAPIPrefix','substr','_telemetryInfo','Base','_initCloseConn','forEach','ERROR_IMAGE','LOGIN_FAILED','_roomMembers','_configService','_throwTelemetryCollaborationNewChangeset','_createInitialState','getImage','__Key__','[CollaborationSessionService]:\x20socket\x20error','_handlerCallback','/object','UNRECOGNIZED','formatter','_replayCachedMutations','max','_doFinalize','656664ejkDgn','memberID','SEND_CHANGESET_TIMEOUT','_getSendChangesetTimeout','prototype','_fetchMissChangesets','\x20in\x20_schedule.','transformMutationsWithChangeset','_members','1584000fzduqy','every','UNKNOWN_CMD','sendChangesetTimeout','_revisionService','SUBMIT_CHANGESET_TIMEOUT','createDecryptor','$super','/fetchmissing?from=','_onMessage','CHANGESET_SHOULD_RETRY','splice','[CollaborationSessionService]','_xformMode','transformUndoRedo','revision','c1Prime','_clearHeartbeatTimer','session','AWAITING','getLatestCsReqIdBySid','USER_NOT_INVITED_CODE','generateRandomId','executeCommand','toggleOnline','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_singleActiveUnitService','getTime','getCurrentSelections','EMAIL_HAS_BEEN_BOUND','_substituteRedoStack','body','_initRequestHeader','_imageSourceCache','CONFLICT','YUUMI_NO_CUBOID_FOR_QUESTION','OFFLINE','setCurrentUser','pending','PERSON','dispose','_status$','replace','reqId','LICENSE_EXPORT_SIZE_EXCEEDED','collaMsg','_hasher','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NEW_CHANGESETS','UNISCRIPT_RUN','FileId','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','status','awaitingChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_pendingMutations','getUnit','ERROR_EXCEED_SIZE','_instanceService','keySize','byteLength','cmd','loadOfflineData','target','waitForRoom$','Error\x20on\x20receiving\x20event','_init','finalize','values','refreshPermission','_reverseMap','encrypt','c2Prime','uniscriptRunEvent','listRoles','_compressMutationService','next','[SyncedState]:\x20received\x20acknowledgement.','_sendHeartbeatTimer','length','_transformIMECache','removeMember','_startTelemetryCollaborationNewChangeset','resend','roomInfos','NOT_FOUND','salt','Hex','patch','CHANGESET_ACK','session.room-full','_handler','pipe','open$','socketService','infoRsp','apply','encodeURIComponent','_DEC_XFORM_MODE','PERMISSION_REJ','_timeoutTimer','ENSURE_SNAPSHOT_EXECUTION','BASE64','_minBufferSize','getActiveSheet','UNIVER_PROJECT','ivSize','_mode','[PendingState]:\x20received\x20acknowledgement.','getCurrentUser','_checkMissing','NO_OTHER_CLIENTS_EDITING','collabWebSocketUrl','objects','getUnitOnRev','22PLFpTV','leaveEvent','_memberService','INVALID_ARGUMENT','interceptor','disableLocalCache','routeKey','post','COLLAB_WEB_SOCKET_URL','join','AES','execute','allowed','saveSnapshot','name','loginUrlKey','_getDownloadEndpointURL','close$','enableSingleActiveInstanceLock','sessionStatus','createInstance','collabSubmitChangesetUrl','APPLY_PERMISSION_DENIED','Hasher','_tryEnsureSocket','fetchThroughInterceptors','getDeserializedSheetBlock','LIVESHARE_NEW_HOST','cfg','asObservable','_networkConditionService','_members$','mutations','_hash','_parse','&assign=','_entityInit$','complete','editing\x20status\x20changed\x20to','Utf8','_emitMembers','incrementRevOfUnit','_localeService','loadUnit','awaiting_with_pending','charAt','_socketReady','_injector','map','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','INGEST','COLLAB_SUBMIT_CHANGESET_URL','YUUMI_URL_COL_OUT_OF_RANGE','_resendTimeout','_config','/new_changes','_changesetReqId','CONNECTOR_DATA_TOO_LARGE','createEncryptor','parse','PSEUDO_FETCH_MISSING_RESULT','_localCacheService','socket\x20open.','_redoStacks','_queuedRemoteChangesets','[OfflineState]:\x20received\x20rejection.','PERMISSION_DENIED','_awaitingChangeset','AWAITING_WITH_PENDING','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_logService','_onRemoteACK','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_doProcessBlock','_getCtorByUniverType','APPLY_REVISION_CONFILICT','&to=','__creator','resolve','/collaborator','updateOfflineData','OTHER_CLIENT_EDITING','not_collab','online$','_change$','snapshot','_onJoinRoomEvent','_resendWithTimeout','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','[FetchMissState]','_nRounds','onCommandExecuted','_syncEditingCollabCursor','collaboratorID','getRoom','override','WECHAT_HAS_BEEN_BOUND','sheets','onlyLocal','getCurrentRevOfUnit','getSheetId','_transformUndoredo','dispose$','YUUMI_RATE_OVER_LIMIT','\x20to\x20','withCredentials','status$','repeat','RECV','SHOULD_CLOSE_CONN','isPermissionRej','duration','unitID','/universer-api/authz','collaboration-client.local-cache-service','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','initWorkbookPermissionChange','?url=','_transitionLocked','UNIVER_COLLABORATION_CLIENT_PLUGIN','setConfig','HEARTBEAT','/role','INVITE_CODE_HAS_BEEN_UES','_executeRemoteChangeset','href','randomBytes','default','CHANGESET_REJ','readInt32LE','file','RETRY_CONNECTING_MAX_COUNT','push','save\x20fail\x20reason\x20is\x20','_transformRemoteChangesetByStateCache','find','catch','_onConnectionFailed','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_state','_transformRemoteChangesetByIMECache','_getCurrentRevision','reduce','_clearScheduledTask','onCommentUpdate','startTime','INVALID_INVITE_CODE','PY_RUNTIME_SCRIPT_ERROR','Pkcs7','updatePermissionObjEvent','_prevBlock','onTransformState','setWaitCount','unknown','_clearLocalCache','unit-cache-','isArray','_stopTelemetryCollaborationNewChangeset','_onUserLeave','OPTIONAL','_startCollaboration','requestParams','_submitChangeset','_userManagerService','[SyncedState]:\x20received\x20rejection.','INVITE_CODE_ALREADY_BOUND','_ENC_XFORM_MODE','auth.needGotoLoginAlert','requireSession','COMPRESS_MUTATION_APPLY','setShowComponents','_listenToNetworkCondition','deleteCollaborator','clamp','BlockCipherMode','members','LOGIN_URL_KEY','SOCKET_FAILED_RETRY','_onLocalMutation','transformSelections','UNDEFINED','_scheduleCompleteTimestamp','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','27TykXov','put','range','concat','_socketService','_oKey','UNIVER_UNKNOWN','submit\x20changeset\x20error!','image/jpg','NoPadding','UNAUTHENTICATED','LEAVE','[UniverCollaborationClientPlugin]','method','session.room-not-exists','originalMeta','LIVESHARE_TERMINATE','mixIn','_append','HELLO','JOIN_ROOM_NOT_EXISTS','objectType','_remoteChangesetQueue','_collaborationUIEventService','m2Prime','csShouldRetryEvent','Cipher','_doReset','_state$','encode','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','/universer-api/user/session-ticket','slice','words','HEARTBEAT_TIMEOUT','getCollabEntity$','_invKeySchedule','_socketMessageSubscription','TOO_MANY_REQUESTS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','shouldCloseConn','_commentUpdate$','UNIVER_DOC','_onRemoteRejected','getValue','[CollaborationEntity]','code','onRemoteRej','state','now','YUUMI_UNABLE_LOAD_URL','OTHER_CLIENTS_EDITING','SUCCUSS','_onCombEvent','onTransformRemoteChangesetByIMECache','subUnitId','_cipher','_createHandler','collaborators','entries','1696908TIrSLi','_transformService','?size=','send','rng','from','abs','HmacSHA1','__esModule','_registerDependencies','SNAPSHOT_HAS_BEEN_REMOVED','_unlockTransition','includes','clear','INTERNAL_ERROR','bind','buffer','compose','_snapshotService','UNIVER_SLIDE','decrypt','_initUnitPermissionChange','getInterceptPoints','_roomCreated$','_onRecvEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_tryReconnect','[CollaborationState]:\x20apply\x20error!','_getRedoStack','compute','format','UnitEmbedded','_keyPriorReset','YUUMI_ASYNCIO_CANCELLED','failed\x20to\x20apply\x20missed\x20changesets!','_iKey','_collaborationSessionService','padding','pad','PENDING','objectID','_transformSelections','1639xIlngb','fromCollab','updateCursorEvent','_toggleOffline','_sendHeartbeat','charCodeAt','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_waitCount','Undefined','state$','_loadSheet','COMMENT_UPDATE','closeSession','_clearRetryConnectingTimer','_univerInstanceService','workbook','objectActions','_iv','add','/unit/','25490jfwNVv','GLOBAL_ROOMS_CNT_EXCEEDS','/-/object/-/batch_allowed','_removeRoom','CHANGESET_REVISION_CONFILICT','onMissingChangesets','disposeWithMe','HttpImport','collaboration_new_changeset','algo','equals','_entities','COMPLETION_FINISHED','ceil','ONLINE','sigBytes','lib','encryptBlock','/universer-api/uniscript','getSheetBlock','getFocusedUnit','fetchMissingChangesets','kdf','_sessionStatus$','location','_initDependencies','saveSheetBlock','onSyncEditingCollabCursor','error','_createHelper','_onRemoteChangeset','onSendChangeset','liveShareOperation','_retryCount','Base64','conflict','/universer-api/snapshot','snapshotServerUrl','onTransformRemoteChangesetByStateCache','/universer-api/snapshot/','randomUUID','telemetry\x20info\x20is\x20not\x20initialized','\x0aCurrent:\x20','getOwnPropertyDescriptor','size','image/jpeg','_httpService','EvpKDF','_loadDoc','avatar','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_commandService','_clearTimeoutTimer','init','authzUrl','UserProfileImg','_toggleOnline','_getSignURL','JOINING','OpenSSL','SNAPSHOT_SERVER_URL_KEY','msCrypto','updatePermissionPoint','defineProperty','error$','unsubscribe','AUTHZ_URL_KEY','_onRemoteRetry','loadDoc','onStateChange','image/bmp','getRandomValues','226964vBtkMc','_substituteUndoStack','string','subject','_transformStack','ALREADY_EXISTS','[CollaborationUndoRedoService]','LIVESHARE_FETCH_OPERATIONS','_nDataBytes','_collaborationPaused','_sender','SOCKET_FAILED','_createInitialStateImpl','_onConnectionOpen','/universer-api/comb','SNAPSHOT_INVALID_SNAPSHOT','BlockCipher','HMAC','change$','_candidateSocket','reverse','UPDATE_PERMISSION_OBJ','JOIN_ROOM_PERMISSION_DENIED','_clearCollaborationTimeoutTimer','update','[DataLoaderService]','stringify','result','MSG_FOR_ERROR','LIVESHARE_REQUEST_HOST','ciphertext','url','mode','liveShareNewHost','saveChangeset','_permissionService','_HTTPService','sin','exports','enc','debug','byteOffset','_key','SHA1','reconnect','_resendTimer','toggleOffline','joinEvent','eventID','textRanges','{fileID}','_type','createCollaborator','sessionStatus$','getResourcesRequest','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','create','sid','_getUndoStack','getCollabEntity','getAllMembers','params','clone','subscribe','_updateStatus','reject','_map','[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.','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','has','message$','univer-pro.collaboration-client.network-condition.service','appendMutation','joinRsp','_sheetTransformSelectionsService','_getUploadFileURL','set','_initMergeInterceptor','_onUserJoin','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','BufferedBlockAlgorithm','symbol','key','SUBMIT_CHANGESET','list','USERS_LEAVE','_doCryptBlock','onMissedChangesetFetched','/allowed','stopTime','get','close','getUnitType','univer-pro.collaboration-client.single-active-unit-service','getUnitStatus$','SYNCED','onTransformSelections','_updateLocalCache','_acknowledgedAwaitingChangeset','random','call','YUUMI_AI_RUN_FAILED','NOT_COLLAB','event$','saveImage','floor','registerHTTPInterceptor','delete','MD5','actions','copyFileMeta','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformStateCache','getConfig','_eventService','getMemberID','csAckEvent','Malformed\x20UTF-8\x20data','WordArray','/rev/','_snapshotServerService','_collaborationTimeoutTimer','_exhaustRemoteChangesetQueue','fetch_missing','userID','156qNFzeq','_updateState','HmacMD5','action','[CollaborationSession]','transformStack\x20failed!','/object/','INVITE_CODE_REQUIRED','_createSocket','_replaceFileID','YUUMI_ALL_TABLES_IS_INVALID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UUID','fetching\x20missing\x20changesets\x20from\x20','Decryptor','_getLoginPath','emitEvent','data','_disableEditing','updateMember','rev','getImageSourceCache','onLocalMutation','_commentService','_sessions','putCollaborators','3690RwLCev','hasher','CLOSE_ROOM','LICENSE_IMPORT_SIZE_EXCEEDED','localCacheService','POST','FAIL','UNIVER_SHEET','_unitInfo$','USERS_ENTER','newCsEvent'];_0x112a=function(){return _0x2500d1;};return _0x112a();}ee=Te([P(0x7,_0x316576(_0x2f1087)),P(0x8,_0x316576(_0x2ab545)),P(0x9,_0x12a8cc),P(0xa,_0x3d3bf2),P(0xb,_0x341bb1),P(0xc,_0xcbb9b),P(0xd,_0x40f615(J))],ee);function yi(_0x126ef3,_0x4f8455,_0x2053c2,_0x8a699b,_0x52edfd,_0x4f2ff9){var _0x50726e=_0x3527bc;return _0x8a699b&&_0x52edfd[_0x50726e(0x283)]?_0x126ef3[_0x50726e(0x2bb)](oe,_0x4f8455,_0x2053c2,_0x8a699b,_0x52edfd,_0x4f2ff9,void 0x0):_0x8a699b?_0x126ef3[_0x50726e(0x2bb)](le,_0x4f8455,_0x2053c2,_0x8a699b,_0x4f2ff9):_0x52edfd[_0x50726e(0x283)]?_0x126ef3[_0x50726e(0x2bb)](ae,_0x4f8455,_0x2053c2,_0x52edfd,_0x4f2ff9):_0x126ef3[_0x50726e(0x2bb)](Ne,_0x4f8455,_0x2053c2,_0x4f2ff9);}var as=Object[_0x3527bc(0xf5)],Lt=(_0x45ae53,_0x4ef10b,_0xab4c98,_0x3af886)=>{var _0x505367=_0x3527bc;for(var _0xbc9958=_0x3af886>0x1?void 0x0:_0x3af886?as(_0x4ef10b,_0xab4c98):_0x4ef10b,_0x1ad1ae=_0x45ae53[_0x505367(0x283)]-0x1,_0x3e51c0;_0x1ad1ae>=0x0;_0x1ad1ae--)(_0x3e51c0=_0x45ae53[_0x1ad1ae])&&(_0xbc9958=_0x3e51c0(_0xbc9958)||_0xbc9958);return _0xbc9958;},H=(_0x1a374c,_0x36287f)=>(_0x3e890d,_0x34f102)=>_0x36287f(_0x3e890d,_0x34f102,_0x1a374c);let nt=class extends _0x4a34ad{constructor(_0x33e719,_0x57c5f3,_0x2a6adb,_0x27edf4,_0x1db430,_0xd63755,_0x5c5251,_0x1c2a82,_0x1d458e,_0x4cadc7,_0x3108a5,_0x315341,_0x3acc01){var _0x51428e=_0x3527bc;super(),N(this,_0x51428e(0x37c),new _0x28f0cd(null)),N(this,_0x51428e(0xbf),this[_0x51428e(0x37c)][_0x51428e(0x2c4)]()),N(this,_0x51428e(0x334)),N(this,_0x51428e(0x11b),!0x1),N(this,_0x51428e(0x1cc),''),N(this,_0x51428e(0x2df),0x0),N(this,_0x51428e(0x313),this[_0x51428e(0xbf)][_0x51428e(0x290)](_0xf4e096(_0x4b0fd1=>_0x4b0fd1?_0x4b0fd1[_0x51428e(0x268)]:bi[_0x51428e(0x258)]),_0xb7b35d(0x1))),N(this,_0x51428e(0x31f),!0x1),N(this,_0x51428e(0x376),[]),(this[_0x51428e(0x319)]=_0x33e719,this[_0x51428e(0x246)]=_0x57c5f3,this[_0x51428e(0x145)]=_0x2a6adb,this[_0x51428e(0x2d6)]=_0x27edf4,this[_0x51428e(0x27f)]=_0x1db430,this[_0x51428e(0x2d1)]=_0xd63755,this[_0x51428e(0x238)]=_0x5c5251,this[_0x51428e(0x184)]=_0x1c2a82,this[_0x51428e(0x2ed)]=_0x1d458e,this['_commandService']=_0x4cadc7,this[_0x51428e(0x135)]=_0x3108a5,this['_singleActiveUnitService']=_0x315341,this[_0x51428e(0x2e4)]=_0x3acc01);}get['state'](){var _0x213be0=_0x3527bc;return this[_0x213be0(0x334)];}async['init'](){var _0x15ef6b=_0x3527bc;if(this[_0x15ef6b(0x390)])throw new Error(_0x15ef6b(0x211));await this[_0x15ef6b(0x276)]();}['pauseCollaboration'](){var _0x2a8f7c=_0x3527bc;return this[_0x2a8f7c(0x11b)]=!0x0,_0x364fc5(()=>{var _0x5bc978=_0x2a8f7c;this[_0x5bc978(0x11b)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3527bc(0x1a5)](_0x4ce0e9){var _0x2fa30a=_0x3527bc;this[_0x2fa30a(0x35b)](_0x4ce0e9);}[_0x3527bc(0x190)](_0x6e3352){var _0x228a48=_0x3527bc;this[_0x228a48(0x334)]=_0x6e3352,this[_0x228a48(0x37c)][_0x228a48(0x280)](_0x6e3352);}async[_0x3527bc(0x276)](){var _0x4eba33=_0x3527bc,_0x19ba83;this[_0x4eba33(0x190)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x19ba83=this['_singleActiveUnitService'])==null||_0x19ba83['editingUnit'](this['unitID']),this[_0x4eba33(0xd0)](this[_0x4eba33(0x24e)][_0x4eba33(0x170)](this[_0x4eba33(0x319)])['subscribe'](_0x4d4dca=>{var _0x3f8bbb=_0x4eba33;this[_0x3f8bbb(0x2ed)]['debug'](_0x3f8bbb(0x38d),_0x3f8bbb(0x2cd),_0x4d4dca),_0x4d4dca===Ci[_0x3f8bbb(0x83)]?(this[_0x3f8bbb(0x184)][_0x3f8bbb(0x19f)]({'id':re['OTHER_CLIENT_EDITING']}),this['_permissionService']['updatePermissionPoint'](new _0x41bfe5(this['unitID'])['id'],!0x1),this[_0x3f8bbb(0x135)][_0x3f8bbb(0x353)](!0x1)):(this[_0x3f8bbb(0x135)][_0x3f8bbb(0x108)](new _0x41bfe5(this[_0x3f8bbb(0x319)])['id'],!0x0),this['_permissionService'][_0x3f8bbb(0x353)](!0x0));})));let _0x40328e=!0x1;return this['disposeWithMe'](this['session'][_0x4eba33(0x147)][_0x4eba33(0x151)](_0x468c79=>{var _0x2bec94=_0x4eba33;_0x468c79===Ee[_0x2bec94(0xd8)]?this['_toggleOnline'](_0x40328e):_0x468c79===Ee[_0x2bec94(0x258)]&&(_0x40328e=!0x0,this['_toggleOffline']());})),this[_0x4eba33(0xd0)](this[_0x4eba33(0x246)][_0x4eba33(0x179)]['subscribe'](_0x179957=>{var _0x560623=_0x4eba33;try{switch(_0x179957[_0x560623(0x142)]){case _0x43939e[_0x560623(0x264)]:{this[_0x560623(0xe8)](_0x478ab6(_0x179957[_0x560623(0x1a0)]));break;}case _0x43939e[_0x560623(0x28d)]:{this[_0x560623(0x2ee)](_0x179957[_0x560623(0x1a0)]);break;}case _0x43939e[_0x560623(0x329)]:{this[_0x560623(0x38b)]();break;}case _0x43939e[_0x560623(0x23e)]:{this[_0x560623(0x10d)](_0x179957[_0x560623(0x1a0)]);break;}case _0x43939e[_0x560623(0x2e3)]:{this[_0x560623(0x1df)](_0x179957[_0x560623(0x1a0)][_0x560623(0x206)][_0x560623(0x2d7)](_0x24df50=>_0x478ab6(_0x24df50)));break;}case _0x43939e[_0x560623(0x297)]:{this[_0x560623(0x38b)]({'isPermissionRej':!0x0});break;}case _0x43939e[_0x560623(0x265)]:break;}}catch(_0x3d8702){throw console[_0x560623(0xe6)](_0x560623(0x275),_0x3d8702),_0x3d8702;}})),this[_0x4eba33(0x334)];}[_0x3527bc(0x97)](){var _0x45afe7=_0x3527bc;this[_0x45afe7(0x31f)]=!0x1;}[_0x3527bc(0x1d4)](){var _0x1ce458=_0x3527bc;if(this[_0x1ce458(0x31f)])throw new Error(_0x1ce458(0x155));this['_transitionLocked']=!0x0;}[_0x3527bc(0x35b)](_0x3e3cfe){var _0x4e454c=_0x3527bc;this[_0x4e454c(0x1d4)](),this['_updateState'](this['_state'][_0x4e454c(0x15a)](_0x3e3cfe)),this[_0x4e454c(0x97)]();}[_0x3527bc(0xe8)](_0x352c66){var _0x13afc6=_0x3527bc;if(!(_0x352c66[_0x13afc6(0x243)]<=this['_revisionService'][_0x13afc6(0x30c)](this[_0x13afc6(0x319)]))){if(this[_0x13afc6(0x11b)]){this[_0x13afc6(0x376)]['push'](_0x352c66);return;}this[_0x13afc6(0x204)](_0x352c66);}}[_0x3527bc(0x18c)](){var _0x2a090a=_0x3527bc;this[_0x2a090a(0x376)][_0x2a090a(0x21a)](_0x23f6de=>this[_0x2a090a(0x204)](_0x23f6de)),this['_remoteChangesetQueue']=[];}[_0x3527bc(0x204)](_0x44d086){var _0x1ed1ed=_0x3527bc;const _0x13ba70=this['_compressMutationService'][_0x1ed1ed(0x2ab)][_0x1ed1ed(0x2c0)](this[_0x1ed1ed(0x27f)][_0x1ed1ed(0x2ab)][_0x1ed1ed(0xa2)]()[_0x1ed1ed(0x352)])(_0x44d086['mutations'],null)||_0x44d086[_0x1ed1ed(0x2c7)],_0x281ab4={..._0x44d086,'mutations':_0x13ba70};this[_0x1ed1ed(0x1d4)](),this[_0x1ed1ed(0x190)](this[_0x1ed1ed(0x334)][_0x1ed1ed(0x1f7)](_0x281ab4)),this[_0x1ed1ed(0x97)]();}[_0x3527bc(0x2ee)](_0x584776){var _0x283bec=_0x3527bc;this[_0x283bec(0x1d4)](),this[_0x283bec(0x190)](this[_0x283bec(0x334)][_0x283bec(0x1e0)](_0x584776)),this['_unlockTransition']();}[_0x3527bc(0x38b)](_0x56674d){var _0xa25ddd=_0x3527bc;this[_0xa25ddd(0x1d4)](),this['_updateState'](this[_0xa25ddd(0x334)][_0xa25ddd(0x38f)](_0x56674d)),this[_0xa25ddd(0x97)]();}[_0x3527bc(0x10d)](_0x9efa6d){var _0x5552a0=_0x3527bc;this[_0x5552a0(0x1d4)](),this[_0x5552a0(0x190)](this[_0x5552a0(0x334)][_0x5552a0(0x1dc)](_0x9efa6d)),this[_0x5552a0(0x97)]();}[_0x3527bc(0x1df)](_0x133829){var _0x560d39=_0x3527bc;if(!(this[_0x560d39(0x334)]instanceof ee))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0xbc0701=_0x133829[_0x560d39(0x2d7)](_0x1db7db=>{var _0x762f3=_0x560d39;const _0x51f7bd=this[_0x762f3(0x27f)][_0x762f3(0x2ab)][_0x762f3(0x2c0)](this[_0x762f3(0x27f)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1db7db[_0x762f3(0x2c7)],null)||_0x1db7db[_0x762f3(0x2c7)];return{..._0x1db7db,'mutations':_0x51f7bd};});this[_0x560d39(0x1d4)](),this[_0x560d39(0x190)](this[_0x560d39(0x334)][_0x560d39(0x169)](_0xbc0701)),this[_0x560d39(0x97)]();}[_0x3527bc(0xb9)](){var _0x422d99=_0x3527bc;this['_lockTransition'](),this[_0x422d99(0x190)](this['_state'][_0x422d99(0x140)]()),this[_0x422d99(0x97)]();}[_0x3527bc(0x102)](_0xfa4c9f=!0x1){var _0x49805d=_0x3527bc;this[_0x49805d(0x1d4)](),this[_0x49805d(0x190)](this[_0x49805d(0x334)][_0x49805d(0x24c)]()),this[_0x49805d(0x97)]();const _0x5ce802=this['_state'];_0xfa4c9f&&_0x5ce802 instanceof Ne&&(this['_lockTransition'](),this[_0x49805d(0x190)](_0x5ce802['fetchMiss']()),this['_unlockTransition']());}async[_0x3527bc(0x220)](){return new Promise(_0x305dff=>{var _0x28c18f=_0x579a;this[_0x28c18f(0x246)][_0x28c18f(0x147)][_0x28c18f(0x290)](_0x45086f(0x1))['subscribe'](async _0x36d7f3=>{var _0x5030a6=_0x28c18f;_0x305dff(await this[_0x5030a6(0x11e)](_0x36d7f3===Ee[_0x5030a6(0xd8)]));});});}[_0x3527bc(0x89)](){const _0x46c6b7=this['unitID'];return{'onStateChange':(_0x2bae23,_0x26d3af)=>{var _0x2c897b=_0x579a;if(_0x2bae23!==this[_0x2c897b(0x334)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2bae23['status']+'\x0aAfter:\x20'+_0x26d3af[_0x2c897b(0x268)]+_0x2c897b(0xf4)+this[_0x2c897b(0x334)][_0x2c897b(0x268)]);this[_0x2c897b(0x190)](_0x26d3af);},'onSendChangeset':_0x1f0c47=>{var _0x5ecadc=_0x579a;_0x1f0c47['sid']||(_0x1f0c47[_0x5ecadc(0x14b)]=this[_0x5ecadc(0x1cc)],_0x1f0c47[_0x5ecadc(0x25f)]=++this[_0x5ecadc(0x2df)]);const _0x36e376={'eventID':_0x43939e[_0x5ecadc(0x165)],'data':{'unitID':_0x1f0c47['unitID'],'unitType':this['_type'],'changeset':_0x1f0c47,'memberID':this[_0x5ecadc(0x246)][_0x5ecadc(0x185)]()}};this[_0x5ecadc(0x246)][_0x5ecadc(0x8f)](_0x36e376,this[_0x5ecadc(0x319)]);},'onMissingChangesets':({from:_0x11e8c6,to:_0x47ee3d})=>{var _0x1008a8=_0x579a;this['_logService'][_0x1008a8(0x13a)](_0x1008a8(0x38d),_0x1008a8(0x19c)+_0x11e8c6+_0x1008a8(0x311)+_0x47ee3d);const _0x201c0a={'eventID':_0x43939e[_0x1008a8(0x1e3)],'data':{'unitID':_0x46c6b7,'unitType':this[_0x1008a8(0x145)],'from':_0x11e8c6,'to':_0x47ee3d}};this[_0x1008a8(0x246)]['send'](_0x201c0a,this['unitID']);}};}async[_0x3527bc(0x11e)](_0x5a6fac){var _0x383d66=_0x3527bc,_0x4094bc,_0x135c3c,_0x2b1b33;const _0x2f87f3=await((_0x4094bc=this[_0x383d66(0x2e4)])==null?void 0x0:_0x4094bc[_0x383d66(0x272)](this[_0x383d66(0x319)])),_0x4c4dc6=(_0x135c3c=_0x2f87f3==null?void 0x0:_0x2f87f3['mutations'])!=null?_0x135c3c:[],_0x4ffc0a=(_0x2b1b33=_0x2f87f3==null?void 0x0:_0x2f87f3[_0x383d66(0x269)])!=null?_0x2b1b33:null,_0x5da231=!!(_0x4ffc0a!=null&&_0x4ffc0a[_0x383d66(0x14b)])&&!!(_0x4ffc0a!=null&&_0x4ffc0a[_0x383d66(0x25f)]);this[_0x383d66(0x1cc)]=_0x5da231?_0x4ffc0a[_0x383d66(0x14b)]:Zn(),this['_changesetReqId']=_0x5da231?_0x4ffc0a[_0x383d66(0x25f)]:0x0;const _0x1d2a3c=this[_0x383d66(0x319)];try{this[_0x383d66(0x228)](_0x4ffc0a,_0x4c4dc6);}catch(_0x3e97f8){this['_logService'][_0x383d66(0xe6)](_0x3e97f8);}const _0x22efa1=this[_0x383d66(0x89)]();if(_0x5a6fac){const _0x162cb4=yi(this[_0x383d66(0x2d6)],_0x1d2a3c,this[_0x383d66(0x145)],_0x4ffc0a,_0x4c4dc6,_0x22efa1);return _0x162cb4 instanceof ae?_0x162cb4['_schedule']():(_0x162cb4 instanceof oe||_0x162cb4 instanceof le)&&_0x162cb4[_0x383d66(0x287)](),_0x162cb4;}return this[_0x383d66(0x2d6)][_0x383d66(0x2bb)](de,_0x1d2a3c,this[_0x383d66(0x145)],_0x4ffc0a,_0x4c4dc6,_0x22efa1);}[_0x3527bc(0x228)](_0x186811,_0x31c1cf){var _0x111f21=_0x3527bc,_0x3fed6f,_0x56b373;const _0x29eb48=this['_compressMutationService'][_0x111f21(0x2ab)][_0x111f21(0x2c0)](this[_0x111f21(0x27f)]['interceptor'][_0x111f21(0xa2)]()['COMPRESS_MUTATION_APPLY']);(_0x3fed6f=_0x29eb48((_0x186811==null?void 0x0:_0x186811[_0x111f21(0x2c7)])||[],null))==null||_0x3fed6f[_0x111f21(0x21a)](_0x44d765=>this['_commandService'][_0x111f21(0x24b)](_0x44d765['id'],_0x44d765[_0x111f21(0x14f)])),(_0x56b373=_0x29eb48(_0x31c1cf||[],null))==null||_0x56b373[_0x111f21(0x21a)](_0x1c73ac=>this[_0x111f21(0xfd)]['executeCommand'](_0x1c73ac['id'],_0x1c73ac[_0x111f21(0x14f)]));}};nt=Lt([H(0x3,_0x316576(_0x2f1087)),H(0x4,_0x316576(_0x127b3b)),H(0x5,_0x316576(_0x59bcee)),H(0x6,_0x316576(_0x2ab545)),H(0x7,_0x316576(pe)),H(0x8,_0x12a8cc),H(0x9,_0x3d3bf2),H(0xa,_0x1a815c),H(0xb,_0x40f615(ht)),H(0xc,_0x40f615(J))],nt);let It=class extends nt{constructor(_0x203d22,_0x29eb1e,_0x45ee66,_0x1c5b45,_0x29dc93,_0x2e8773,_0x721946,_0x80d5b3,_0x29aa7c,_0x5922c2,_0x753ac8,_0xeb3e72,_0x490311){var _0x94356=_0x3527bc;super(_0x203d22,_0x45ee66,_0x29eb1e,_0x1c5b45,_0x29dc93,_0x2e8773,_0x721946,_0x80d5b3,_0x29aa7c,_0x5922c2,_0x753ac8,_0xeb3e72,_0x490311),N(this,_0x94356(0x224),null),(this[_0x94356(0x319)]=_0x203d22,this['type']=_0x29eb1e);}[_0x3527bc(0x1d9)](_0x329e2b){var _0x5a5482=_0x3527bc;this[_0x5a5482(0x224)]=_0x329e2b;}[_0x3527bc(0x25c)](){var _0x4e81f6=_0x3527bc;this[_0x4e81f6(0x224)]=null,super[_0x4e81f6(0x25c)]();}['_createHandler'](){var _0x341286=_0x3527bc;const _0xd4a311=super[_0x341286(0x89)]();return _0xd4a311[_0x341286(0x1d8)]=_0x21070d=>{var _0x1d0b7c=_0x341286,_0x24d9c8,_0x5bec20;return(_0x5bec20=(_0x24d9c8=this[_0x1d0b7c(0x224)])==null?void 0x0:_0x24d9c8['onTransformIME'])==null?void 0x0:_0x5bec20['call'](_0x24d9c8,_0x21070d);},_0xd4a311['onTransformState']=_0x5817cc=>{var _0x2dbf04=_0x341286,_0xea07f5,_0x3ff962;return(_0x3ff962=(_0xea07f5=this['_handlerCallback'])==null?void 0x0:_0xea07f5[_0x2dbf04(0x340)])==null?void 0x0:_0x3ff962[_0x2dbf04(0x176)](_0xea07f5,_0x5817cc);},_0xd4a311[_0x341286(0x172)]=_0x4d9a0e=>{var _0x36c9e8=_0x341286,_0x4d253a,_0x49812d;return(_0x49812d=(_0x4d253a=this['_handlerCallback'])==null?void 0x0:_0x4d253a[_0x36c9e8(0x172)])==null?void 0x0:_0x49812d[_0x36c9e8(0x176)](_0x4d253a,_0x4d9a0e);},_0xd4a311['onSyncEditingCollabCursor']=_0x174920=>{var _0x7f71df=_0x341286,_0x57639b,_0x1038c9;return(_0x1038c9=(_0x57639b=this[_0x7f71df(0x224)])==null?void 0x0:_0x57639b[_0x7f71df(0xe5)])==null?void 0x0:_0x1038c9['call'](_0x57639b,_0x174920);},_0xd4a311[_0x341286(0x86)]=_0x2e330f=>{var _0x517316=_0x341286,_0x4c8327,_0x4859ef,_0x2b6329;if(!((_0x4c8327=this[_0x517316(0x224)])!=null&&_0x4c8327[_0x517316(0x86)]))throw new Error(_0x517316(0x300));return(_0x2b6329=(_0x4859ef=this[_0x517316(0x224)])==null?void 0x0:_0x4859ef[_0x517316(0x86)])==null?void 0x0:_0x2b6329['call'](_0x4859ef,_0x2e330f);},_0xd4a311[_0x341286(0xf0)]=_0x16f191=>{var _0x1e8771=_0x341286,_0x4c615a,_0x4dbccb,_0x5c43d8;if(!((_0x4c615a=this[_0x1e8771(0x224)])!=null&&_0x4c615a[_0x1e8771(0xf0)]))throw new Error(_0x1e8771(0x2ec));return(_0x5c43d8=(_0x4dbccb=this[_0x1e8771(0x224)])==null?void 0x0:_0x4dbccb[_0x1e8771(0xf0)])==null?void 0x0:_0x5c43d8[_0x1e8771(0x176)](_0x4dbccb,_0x16f191);},_0xd4a311;}async[_0x3527bc(0x276)](){var _0x3b270a=_0x3527bc;const _0x222523=await super[_0x3b270a(0x276)]();return this[_0x3b270a(0xd0)](this['_commandService'][_0x3b270a(0x304)]((_0x1e88bf,_0x261704)=>{var _0x5c77ba=_0x3b270a;if(_0x1e88bf[_0x5c77ba(0x1b7)]!==_0x203821[_0x5c77ba(0x1e9)]||_0x261704!=null&&_0x261704[_0x5c77ba(0xb7)]||_0x261704!=null&&_0x261704['onlyLocal']||_0x1e88bf['id']===_0x30d2aa['id'])return;const _0x6ec6c6=_0x1e88bf[_0x5c77ba(0x14f)];if((_0x6ec6c6==null?void 0x0:_0x6ec6c6[_0x5c77ba(0x1f1)])!==this[_0x5c77ba(0x319)])return;const _0x20cbd1=_0x1e88bf,_0x393401=this[_0x5c77ba(0x27f)]['interceptor'][_0x5c77ba(0x2c0)](this[_0x5c77ba(0x27f)]['interceptor'][_0x5c77ba(0xa2)]()[_0x5c77ba(0x1ee)])([_0x20cbd1],null)||[_0x20cbd1];this[_0x5c77ba(0x35b)](_0x393401[0x0]);})),_0x222523;}};It=Lt([H(0x3,_0x316576(_0x2f1087)),H(0x4,_0x316576(_0x127b3b)),H(0x5,_0x316576(_0x59bcee)),H(0x6,_0x316576(_0x2ab545)),H(0x7,_0x316576(pe)),H(0x8,_0x12a8cc),H(0x9,_0x3d3bf2),H(0xa,_0x1a815c),H(0xb,_0x40f615(ht)),H(0xc,_0x40f615(J))],It);let Tt=class extends nt{constructor(_0x27abc8,_0x51ddf5,_0x56f041,_0x2d1566,_0x1d8c0b,_0x5ca83e,_0xbc6e41,_0x13273e,_0x2f5fd8,_0x29a846,_0x4a9046,_0x29f0a2,_0x233004,_0x188dd6){var _0x32585c=_0x3527bc;super(_0x27abc8,_0x56f041,_0x51ddf5,_0x2d1566,_0x1d8c0b,_0x5ca83e,_0xbc6e41,_0x2f5fd8,_0x29a846,_0x4a9046,_0x29f0a2,_0x233004,_0x188dd6),this[_0x32585c(0x319)]=_0x27abc8,this['type']=_0x51ddf5,this[_0x32585c(0x15c)]=_0x13273e;}[_0x3527bc(0x89)](){const _0xa3d23=super['_createHandler']();return _0xa3d23['onTransformSelections']=_0x2e7a96=>this['_sheetTransformSelectionsService']['transformSelections'](_0x2e7a96),_0xa3d23;}async[_0x3527bc(0x276)](){var _0x28047c=_0x3527bc;const _0x3437dd=await super[_0x28047c(0x276)]();return this['disposeWithMe'](this[_0x28047c(0xfd)]['onCommandExecuted']((_0x17015e,_0x9d66a8)=>{var _0x1aaf55=_0x28047c;if(_0x17015e[_0x1aaf55(0x1b7)]!==_0x203821[_0x1aaf55(0x1e9)]||_0x9d66a8!=null&&_0x9d66a8['fromCollab']||_0x9d66a8!=null&&_0x9d66a8[_0x1aaf55(0x30b)])return;const _0x1b1729=_0x17015e[_0x1aaf55(0x14f)];if((_0x1b1729==null?void 0x0:_0x1b1729[_0x1aaf55(0x1f1)])!==this[_0x1aaf55(0x319)])return;const _0x4aeed4=_0x17015e,_0x40b950=this['_compressMutationService'][_0x1aaf55(0x2ab)][_0x1aaf55(0x2c0)](this[_0x1aaf55(0x27f)][_0x1aaf55(0x2ab)][_0x1aaf55(0xa2)]()[_0x1aaf55(0x1ee)])([_0x4aeed4],null)||[_0x4aeed4];this[_0x1aaf55(0x35b)](_0x40b950[0x0]);})),_0x3437dd;}};Tt=Lt([H(0x3,_0x316576(_0x2f1087)),H(0x4,_0x316576(_0x127b3b)),H(0x5,_0x316576(_0x59bcee)),H(0x6,_0x316576(_0x2ab545)),H(0x7,_0x316576(it)),H(0x8,_0x316576(pe)),H(0x9,_0x12a8cc),H(0xa,_0x3d3bf2),H(0xb,_0x1a815c),H(0xc,_0x40f615(ht)),H(0xd,_0x40f615(J))],Tt);var os=Object[_0x3527bc(0xf5)],cs=(_0xbb97eb,_0x4b20ad,_0x356501,_0x3075e8)=>{var _0x53d23d=_0x3527bc;for(var _0x108623=_0x3075e8>0x1?void 0x0:_0x3075e8?os(_0x4b20ad,_0x356501):_0x4b20ad,_0x3a676d=_0xbb97eb[_0x53d23d(0x283)]-0x1,_0x46c274;_0x3a676d>=0x0;_0x3a676d--)(_0x46c274=_0xbb97eb[_0x3a676d])&&(_0x108623=_0x46c274(_0x108623)||_0x108623);return _0x108623;},ft=(_0x3e4bbd,_0xb5d85a)=>(_0x1c9d9d,_0x4fe05b)=>_0xb5d85a(_0x1c9d9d,_0x4fe05b,_0x3e4bbd);let st=class extends _0x4a34ad{constructor(_0x25dbf9,_0x54f25d,_0x11bab7){var _0x206ae2=_0x3527bc;super(),N(this,'_entities',new Map()),N(this,_0x206ae2(0x2cb),new _0x276857()),N(this,'entityInit$',this[_0x206ae2(0x2cb)][_0x206ae2(0x2c4)]()),(this['_injector']=_0x25dbf9,this['_collabSessionService']=_0x54f25d,this[_0x206ae2(0xc4)]=_0x11bab7,this['_init']());}[_0x3527bc(0x25c)](){var _0x34a39f=_0x3527bc;super['dispose'](),this[_0x34a39f(0xd5)][_0x34a39f(0x21a)](_0x33c91e=>_0x33c91e[_0x34a39f(0x25c)]()),this[_0x34a39f(0xd5)][_0x34a39f(0x99)]();}['getCollabEntity'](_0x5bac90){var _0x584cb9=_0x3527bc,_0x25567d;return(_0x25567d=this['_entities'][_0x584cb9(0x16c)](_0x5bac90))!=null?_0x25567d:null;}[_0x3527bc(0x383)](_0x242ec0){var _0x4b77d9=_0x3527bc;const _0x2fae11=this[_0x4b77d9(0x14d)](_0x242ec0);return _0x2fae11?_0x399974(_0x2fae11):this['_entityInit$'][_0x4b77d9(0x290)](_0x35e324(_0xf534c2=>_0xf534c2[_0x4b77d9(0x319)]===_0x242ec0));}[_0x3527bc(0x1c5)](_0x2ce02c){var _0x141cfe=_0x3527bc;return _0x582f90(this['getCollabEntity$'](_0x2ce02c)[_0x141cfe(0x290)](_0xc31e53(()=>{})));}['_init'](){var _0x27b4ba=_0x3527bc;this[_0x27b4ba(0xc4)]['getTypeOfUnitAdded$'](_0x1f2450[_0x27b4ba(0x1b0)])['pipe'](_0x47c2a5(this['dispose$']),_0x1d894b(0x10))[_0x27b4ba(0x151)](async _0x272fc5=>{var _0x16242b=_0x27b4ba;const _0x44a4a0=_0x272fc5[_0x16242b(0x1e6)](),_0x323482=await this[_0x16242b(0x349)](_0x44a4a0,Q[_0x16242b(0x1b0)]);this[_0x16242b(0xd5)][_0x16242b(0x15e)](_0x44a4a0,_0x323482);}),this[_0x27b4ba(0xc4)]['getTypeOfUnitAdded$'](_0x1f2450[_0x27b4ba(0x38a)])[_0x27b4ba(0x290)](_0x47c2a5(this[_0x27b4ba(0x30f)]),_0x1d894b(0x10))[_0x27b4ba(0x290)](_0x35e324(_0x4533b0=>!_0x4533b0[_0x27b4ba(0x1e6)]()[_0x27b4ba(0x1fc)]('__')))[_0x27b4ba(0x151)](async _0x1c1683=>{var _0x49e921=_0x27b4ba;const _0x58eea3=_0x1c1683[_0x49e921(0x1e6)](),_0x8aa43d=await this['_startCollaboration'](_0x58eea3,Q[_0x49e921(0x38a)]);this[_0x49e921(0xd5)]['set'](_0x58eea3,_0x8aa43d);}),_0x48fd88(this['_univerInstanceService'][_0x27b4ba(0x202)](_0x1f2450[_0x27b4ba(0x1b0)]),this[_0x27b4ba(0xc4)][_0x27b4ba(0x202)](_0x1f2450['UNIVER_DOC']))[_0x27b4ba(0x290)](_0x47c2a5(this[_0x27b4ba(0x30f)]))[_0x27b4ba(0x151)](_0x293627=>{var _0x251b7f=_0x27b4ba;const _0x84cace=_0x293627[_0x251b7f(0x1e6)](),_0x48fa27=this[_0x251b7f(0xd5)]['get'](_0x84cace);_0x48fa27&&(_0x48fa27[_0x251b7f(0x25c)](),this[_0x251b7f(0xd5)]['delete'](_0x84cace));});}async[_0x3527bc(0x349)](_0x15ca55,_0x232792){var _0x475060=_0x3527bc;const _0x42aaad=await this['_collabSessionService'][_0x475060(0x351)](_0x15ca55),_0x252508=this[_0x475060(0x2d6)][_0x475060(0x2bb)](this[_0x475060(0x2f2)](_0x232792),_0x15ca55,_0x232792,_0x42aaad);return await _0x252508[_0x475060(0xff)](),this[_0x475060(0x2cb)]['next'](_0x252508),_0x252508;}['_getCtorByUniverType'](_0x1d2aed){var _0x2621c7=_0x3527bc;switch(_0x1d2aed){case Q['UNIVER_DOC']:return It;case Q[_0x2621c7(0x1b0)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x1d2aed);}}};st=cs([ft(0x0,_0x316576(_0x2f1087)),ft(0x1,_0x316576(Me)),ft(0x2,_0x44db50)],st);var hs=Object['getOwnPropertyDescriptor'],_s=(_0x582382,_0x1d2cbb,_0x102c96,_0x130db1)=>{var _0x5a1f03=_0x3527bc;for(var _0x4e059f=_0x130db1>0x1?void 0x0:_0x130db1?hs(_0x1d2cbb,_0x102c96):_0x1d2cbb,_0x40f7b3=_0x582382[_0x5a1f03(0x283)]-0x1,_0x3f0417;_0x40f7b3>=0x0;_0x40f7b3--)(_0x3f0417=_0x582382[_0x40f7b3])&&(_0x4e059f=_0x3f0417(_0x4e059f)||_0x4e059f);return _0x4e059f;},zt=(_0x28605b,_0x3265a2)=>(_0x4dde7c,_0x2c0307)=>_0x3265a2(_0x4dde7c,_0x2c0307,_0x28605b);const ls=_0x3527bc(0x1b6),us='Univer';let Ct=class extends _0x5b0698{constructor(_0x112447,_0x41f234){var _0x1c4db8=_0x3527bc;super(),this['_univerInstanceService']=_0x112447,this[_0x1c4db8(0x21e)]=_0x41f234,this[_0x1c4db8(0x276)]();}['_init'](){var _0x1a9be2=_0x3527bc;this[_0x1a9be2(0xd0)](this[_0x1a9be2(0xc4)]['focused$'][_0x1a9be2(0x151)](()=>{var _0x340618=_0x1a9be2,_0x55979d;const _0xebd1f9=this['_univerInstanceService']['getFocusedUnit']();let _0x55ea0f=(_0x55979d=this['_configService'][_0x340618(0x183)](ls))!=null?_0x55979d:us;_0xebd1f9 instanceof _0xf0084e&&(_0x55ea0f=_0xebd1f9[_0x340618(0x2b5)]),document[_0x340618(0x1fa)]=_0x55ea0f;}));}};Ct=_s([zt(0x0,_0x44db50),zt(0x1,_0x1f147a)],Ct);var ds=Object[_0x3527bc(0xf5)],fs=(_0x3fa53f,_0x482e8e,_0x42ffae,_0xd5029)=>{var _0xd445cb=_0x3527bc;for(var _0xcd6f9f=_0xd5029>0x1?void 0x0:_0xd5029?ds(_0x482e8e,_0x42ffae):_0x482e8e,_0x337bae=_0x3fa53f[_0xd445cb(0x283)]-0x1,_0x2a57b;_0x337bae>=0x0;_0x337bae--)(_0x2a57b=_0x3fa53f[_0x337bae])&&(_0xcd6f9f=_0x2a57b(_0xcd6f9f)||_0xcd6f9f);return _0xcd6f9f;},vt=(_0x4734b2,_0x4c01ff)=>(_0x226d5b,_0x188b13)=>_0x4c01ff(_0x226d5b,_0x188b13,_0x4734b2);let rt=class{constructor(_0x4fc94a,_0x5cea96,_0x32f470){var _0x2cf2b2=_0x3527bc;this[_0x2cf2b2(0x21e)]=_0x4fc94a,this[_0x2cf2b2(0xf8)]=_0x5cea96,this['localeService']=_0x32f470,this['init']();}[_0x3527bc(0xff)](){var _0x538525=_0x3527bc;this[_0x538525(0xf8)][_0x538525(0x17c)]({'priority':0x1,'interceptor':(_0x2e37ea,_0x22a513)=>_0x22a513(_0x2e37ea)[_0x538525(0x290)](_0x5df8aa(async _0x4f49a1=>{var _0xeec678=_0x538525;const _0x1c211a=_0x4f49a1;if(_0x1c211a[_0xeec678(0x268)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this['localeService']['t'](_0xeec678(0x350)))){const _0x41b02e=window[_0xeec678(0x295)](window[_0xeec678(0xe2)][_0xeec678(0x326)]);window['location'][_0xeec678(0x326)]=this[_0xeec678(0x19e)]()+_0xeec678(0x31e)+_0x41b02e;}}return _0x1c211a;}))});}['_getLoginPath'](){var _0xea69b9=_0x3527bc,_0x487d14,_0x2836a9;const _0x2a715b=this[_0xea69b9(0x21e)][_0xea69b9(0x183)](Un),_0x203e40=this['_configService'][_0xea69b9(0x183)](q);return(_0x2836a9=(_0x487d14=_0x203e40==null?void 0x0:_0x203e40[_0xea69b9(0x2b6)])!=null?_0x487d14:_0x2a715b)!=null?_0x2836a9:An;}};rt=fs([vt(0x0,_0x1f147a),vt(0x1,_0x316576(_0x2111ef)),vt(0x2,_0x316576(_0x59bcee))],rt);var vs=Object[_0x3527bc(0xf5)],ps=(_0x18cea0,_0xc42668,_0x50c37e,_0x28dcf3)=>{var _0x5055c1=_0x3527bc;for(var _0x2d8013=_0x28dcf3>0x1?void 0x0:_0x28dcf3?vs(_0xc42668,_0x50c37e):_0xc42668,_0x2aba73=_0x18cea0[_0x5055c1(0x283)]-0x1,_0x19d2ba;_0x2aba73>=0x0;_0x2aba73--)(_0x19d2ba=_0x18cea0[_0x2aba73])&&(_0x2d8013=_0x19d2ba(_0x2d8013)||_0x2d8013);return _0x2d8013;},Jt=(_0x5a655b,_0x2d0f75)=>(_0x47562e,_0x4266c3)=>_0x2d0f75(_0x47562e,_0x4266c3,_0x5a655b);const Ni=_0x3527bc(0x10c),ms='/universer-api/authz';let Rt=class extends _0x5b0698{constructor(_0x59bfc8,_0x14f2c2){var _0x35466b=_0x3527bc;super(),this[_0x35466b(0x136)]=_0x59bfc8,this['_configService']=_0x14f2c2,this[_0x35466b(0x15f)]();}[_0x3527bc(0x15f)](){var _0x559024=_0x3527bc;const _0x1c27b5=this;this[_0x559024(0xd0)](this[_0x559024(0x136)][_0x559024(0x17c)]({'priority':0x3e7,'interceptor':_0x2c8340({'isMatch'(_0x4c3745){var _0xc5e318=_0x559024,_0x42569f;if(_0x4c3745[_0xc5e318(0x36d)]===_0xc5e318(0x1ae)&&((_0x42569f=_0x4c3745[_0xc5e318(0x34a)])!=null&&_0x42569f[_0xc5e318(0x253)])){const {objectID:_0x14ac95,objectType:_0x5474b8}=_0x4c3745[_0xc5e318(0x34a)]['body']||{};if(!_0x14ac95||_0x5474b8===void 0x0)return!0x1;const _0x1e8ce0=_0x1c27b5[_0xc5e318(0x208)]()+'/'+_0x5474b8+_0xc5e318(0x195)+_0x14ac95+_0xc5e318(0x16a);if(_0x4c3745[_0xc5e318(0x131)]===_0x1e8ce0)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3bdba0){var _0x3657d9=_0x559024,_0x5ab364;return(_0x5ab364=_0x3bdba0[_0x3657d9(0x34a)])==null?void 0x0:_0x5ab364[_0x3657d9(0x253)];},'mergeParamsToRequest'(_0x45a8ea,_0x3f20e3){var _0x1d533f=_0x559024;const _0x406fe8=_0x1c27b5['_getAPIPrefixPath']()+_0x1d533f(0xcc),_0x437bfb=_0x45a8ea[_0x1d533f(0x337)]((_0x39c203,_0xf13b3d)=>{var _0x1e09d8=_0x1d533f;const {unitID:_0x41f28c,objectID:_0x2642d0,objectType:_0x25d2c8,actions:_0x3cb68c}=_0xf13b3d;return _0x39c203[_0x41f28c]||(_0x39c203[_0x41f28c]={}),_0x39c203[_0x41f28c][_0x2642d0]||(_0x39c203[_0x41f28c][_0x2642d0]={'objectID':_0x2642d0,'objectType':_0x25d2c8,'actions':[]}),_0x39c203[_0x41f28c][_0x2642d0][_0x1e09d8(0x17f)][_0x1e09d8(0x32d)](..._0x3cb68c),_0x39c203;},{}),_0xc5c8a8=[];for(const _0x20bc9f in _0x437bfb)for(const _0x2b68fb in _0x437bfb[_0x20bc9f]){const {actions:_0x2395e3,objectType:_0x3da420}=_0x437bfb[_0x20bc9f][_0x2b68fb],_0x2b4d00=[...new Set(_0x2395e3)];_0xc5c8a8[_0x1d533f(0x32d)]({'unitID':_0x20bc9f,'objectID':_0x2b68fb,'objectType':_0x3da420,'actions':_0x2b4d00});}return new _0x40ab5b('POST',_0x406fe8,{'headers':_0x3f20e3['headers'],'withCredentials':_0x3f20e3[_0x1d533f(0x312)],'responseType':_0x3f20e3['responseType'],'body':{'requests':_0xc5c8a8}});}},{'distributeResult'(_0x3e1715,_0x34613f){const {objectActions:_0x322e1d}=_0x3e1715;return _0x34613f['map'](_0x3085c7=>{var _0x644dd7=_0x579a;const {unitID:_0x1f0164,objectID:_0x185274,actions:_0x5446b9}=_0x3085c7,_0x376466=_0x322e1d[_0x644dd7(0x330)](_0x3de8bf=>_0x3de8bf[_0x644dd7(0x319)]===_0x1f0164&&_0x3de8bf[_0x644dd7(0xb4)]===_0x185274),_0x16f5a2=_0x5446b9[_0x644dd7(0x2d7)](_0x4b03f3=>_0x376466==null?void 0x0:_0x376466['actions'][_0x644dd7(0x330)](_0x40f6a1=>_0x40f6a1[_0x644dd7(0x192)]===_0x4b03f3))[_0x644dd7(0x1e7)](_0x539a18=>!!_0x539a18);return{'config':_0x3085c7,'result':{'actions':_0x16f5a2,'error':_0x3e1715[_0x644dd7(0xe6)]}};});}})}));}[_0x3527bc(0x208)](){var _0x4f9d50=_0x3527bc,_0x2f5510,_0x502bd2;const _0x362e5f=this[_0x4f9d50(0x21e)][_0x4f9d50(0x183)](Ni),_0x2ea80a=this[_0x4f9d50(0x21e)][_0x4f9d50(0x183)](q);return(_0x502bd2=(_0x2f5510=_0x2ea80a==null?void 0x0:_0x2ea80a[_0x4f9d50(0x100)])!=null?_0x2f5510:_0x362e5f)!=null?_0x502bd2:ms;}async[_0x3527bc(0x14a)](_0x3939f6){var _0x1b6685=_0x3527bc;const _0x4f8b6a=this[_0x1b6685(0x208)]()+'/'+_0x3939f6[_0x1b6685(0x375)]+_0x1b6685(0x225);return(await this['_HTTPService'][_0x1b6685(0x2ae)](_0x4f8b6a,{'body':_0x3939f6}))[_0x1b6685(0x253)][_0x1b6685(0xb4)]||'';}async[_0x3527bc(0x166)](_0x10508b){var _0x4e5bd6=_0x3527bc;const _0x23a2c2=this[_0x4e5bd6(0x208)]()+'/-/object/list';return(await this['_HTTPService'][_0x4e5bd6(0x2ae)](_0x23a2c2,{'body':_0x10508b}))['body'][_0x4e5bd6(0x2a5)];}async[_0x3527bc(0x12a)](_0x4b5080){var _0x17452b=_0x3527bc,_0x3c160e,_0x1018f2;const _0x85eea3=this[_0x17452b(0x208)]()+'/'+_0x4b5080[_0x17452b(0x375)]+_0x17452b(0x195)+_0x4b5080['objectID'],_0x19b125=await this[_0x17452b(0x136)][_0x17452b(0x361)](_0x85eea3,{'body':_0x4b5080});if(((_0x1018f2=(_0x3c160e=_0x19b125==null?void 0x0:_0x19b125['body'])==null?void 0x0:_0x3c160e[_0x17452b(0xe6)])==null?void 0x0:_0x1018f2[_0x17452b(0x38e)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x3527bc(0x2b3)](_0xa6de7c){var _0xc7425=_0x3527bc;const _0x43cf3e=this[_0xc7425(0x208)]()+'/'+_0xa6de7c[_0xc7425(0x375)]+_0xc7425(0x195)+_0xa6de7c[_0xc7425(0xb4)]+_0xc7425(0x16a);return(await this['_HTTPService']['post'](_0x43cf3e,{'body':_0xa6de7c}))[_0xc7425(0x253)][_0xc7425(0x17f)];}async['batchAllowed'](_0xef219f){var _0x5dff6b=_0x3527bc;const _0x51b1ad=this['_getAPIPrefixPath']()+'/-/object/-/batch_allowed';return(await this[_0x5dff6b(0x136)][_0x5dff6b(0x2ae)](_0x51b1ad,{'body':{'requests':_0xef219f}}))[_0x5dff6b(0x253)][_0x5dff6b(0xc6)];}async[_0x3527bc(0x27e)](_0x2c4ad7){var _0x5cb812=_0x3527bc;const _0x451716=this[_0x5cb812(0x208)]()+'/'+_0x2c4ad7[_0x5cb812(0x375)]+_0x5cb812(0x323),_0x26eaaa=await this[_0x5cb812(0x136)][_0x5cb812(0x2ae)](_0x451716,{'body':_0x2c4ad7});return{'roles':_0x26eaaa[_0x5cb812(0x253)]['roles'],'actions':_0x26eaaa[_0x5cb812(0x253)][_0x5cb812(0x17f)]};}async[_0x3527bc(0x355)](_0x3823cd){var _0x395b10=_0x3527bc;const _0x4ac305=this[_0x395b10(0x208)]()+_0x395b10(0x2f7);await this['_HTTPService']['delete'](_0x4ac305,{'params':{'collaboratorID':_0x3823cd[_0x395b10(0x306)],'objectID':_0x3823cd[_0x395b10(0xb4)],'unitID':_0x3823cd['unitID']}});}async['updateCollaborator'](_0x52849a){var _0x3701dd=_0x3527bc;const _0x546591=this[_0x3701dd(0x208)]()+_0x3701dd(0x2f7);await this['_HTTPService'][_0x3701dd(0x28c)](_0x546591,{'body':_0x52849a});}async[_0x3527bc(0x146)](_0x301450){var _0x45ae1f=_0x3527bc;const _0x3a8bff=this[_0x45ae1f(0x208)]()+_0x45ae1f(0x2f7);await this['_HTTPService'][_0x45ae1f(0x2ae)](_0x3a8bff,{'body':_0x301450});}async[_0x3527bc(0x1ba)](_0x5ed0fe){var _0x46f50c=_0x3527bc;const _0x6575a5=this[_0x46f50c(0x208)]()+_0x46f50c(0x2f7);return(await this[_0x46f50c(0x136)]['get'](_0x6575a5,{'params':{'objectID':_0x5ed0fe[_0x46f50c(0xb4)],'unitID':_0x5ed0fe[_0x46f50c(0x319)]}}))['body'][_0x46f50c(0x8a)];}async[_0x3527bc(0x1a8)](_0x42efe7){var _0x244469=_0x3527bc;const _0x5055b2=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x244469(0x361)](_0x5055b2,{'body':_0x42efe7});}};Rt=ps([Jt(0x0,_0x316576(_0x2111ef)),Jt(0x1,_0x316576(_0x1f147a))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x561bd9){var _0x5d9d1e=_0x3527bc;return _0x561bd9&&_0x561bd9[_0x5d9d1e(0x94)]&&Object[_0x5d9d1e(0x22f)][_0x5d9d1e(0x1cf)]['call'](_0x561bd9,'default')?_0x561bd9[_0x5d9d1e(0x328)]:_0x561bd9;}var Ve={'exports':{}};function gs(_0x1fada1){var _0x51dcd0=_0x3527bc;throw new Error(_0x51dcd0(0x1fb)+_0x1fada1+_0x51dcd0(0x31c));}var Ge={'exports':{}},Ss=Ge[_0x3527bc(0x138)],Xt;function ie(){var _0x2df219=_0x3527bc;return Xt||(Xt=0x1,function(_0x5698e6,_0x593b44){(function(_0x8729f0,_0x3fd42e){var _0x3fe2f8=_0x579a;_0x5698e6[_0x3fe2f8(0x138)]=_0x3fd42e();}(Ss,function(){var _0x2f0adc=_0x2f0adc||function(_0x370e29,_0x1a1c76){var _0x3fad05=_0x579a,_0x3806da;if(typeof window<'u'&&window[_0x3fad05(0x1bd)]&&(_0x3806da=window[_0x3fad05(0x1bd)]),typeof self<'u'&&self[_0x3fad05(0x1bd)]&&(_0x3806da=self[_0x3fad05(0x1bd)]),typeof globalThis<'u'&&globalThis[_0x3fad05(0x1bd)]&&(_0x3806da=globalThis[_0x3fad05(0x1bd)]),!_0x3806da&&typeof window<'u'&&window[_0x3fad05(0x107)]&&(_0x3806da=window[_0x3fad05(0x107)]),!_0x3806da&&typeof pt<'u'&&pt[_0x3fad05(0x1bd)]&&(_0x3806da=pt[_0x3fad05(0x1bd)]),!_0x3806da&&typeof gs=='function')try{_0x3806da=require(_0x3fad05(0x1bd));}catch{}var _0x9915e=function(){var _0x473167=_0x3fad05;if(_0x3806da){if(typeof _0x3806da[_0x473167(0x111)]==_0x473167(0x20d))try{return _0x3806da[_0x473167(0x111)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3806da[_0x473167(0x327)]==_0x473167(0x20d))try{return _0x3806da['randomBytes'](0x4)[_0x473167(0x32a)]();}catch{}}throw new Error(_0x473167(0x161));},_0x3b3839=Object['create']||(function(){function _0x5a99de(){}return function(_0xad95db){var _0x53c18c=_0x579a,_0x47faa2;return _0x5a99de['prototype']=_0xad95db,_0x47faa2=new _0x5a99de(),_0x5a99de[_0x53c18c(0x22f)]=null,_0x47faa2;};}()),_0xd124c2={},_0x3b7b0b=_0xd124c2[_0x3fad05(0xda)]={},_0x38f87a=_0x3b7b0b[_0x3fad05(0x218)]=(function(){return{'extend':function(_0xfbcd17){var _0x35cf19=_0x579a,_0x39c0bb=_0x3b3839(this);return _0xfbcd17&&_0x39c0bb[_0x35cf19(0x371)](_0xfbcd17),(!_0x39c0bb[_0x35cf19(0x1cf)](_0x35cf19(0xff))||this[_0x35cf19(0xff)]===_0x39c0bb[_0x35cf19(0xff)])&&(_0x39c0bb['init']=function(){var _0x372bfa=_0x35cf19;_0x39c0bb[_0x372bfa(0x23b)]['init']['apply'](this,arguments);}),_0x39c0bb['init'][_0x35cf19(0x22f)]=_0x39c0bb,_0x39c0bb['$super']=this,_0x39c0bb;},'create':function(){var _0x2cffbd=_0x579a,_0x3fce84=this[_0x2cffbd(0x1ef)]();return _0x3fce84['init']['apply'](_0x3fce84,arguments),_0x3fce84;},'init':function(){},'mixIn':function(_0x5b40a8){var _0x1ca26a=_0x579a;for(var _0x2de033 in _0x5b40a8)_0x5b40a8[_0x1ca26a(0x1cf)](_0x2de033)&&(this[_0x2de033]=_0x5b40a8[_0x2de033]);_0x5b40a8[_0x1ca26a(0x1cf)](_0x1ca26a(0x1d0))&&(this['toString']=_0x5b40a8[_0x1ca26a(0x1d0)]);},'clone':function(){var _0x35f013=_0x579a;return this[_0x35f013(0xff)]['prototype'][_0x35f013(0x1ef)](this);}};}()),_0x3596ce=_0x3b7b0b[_0x3fad05(0x188)]=_0x38f87a[_0x3fad05(0x1ef)]({'init':function(_0x1d29a9,_0x3bae7c){var _0x30d357=_0x3fad05;_0x1d29a9=this[_0x30d357(0x381)]=_0x1d29a9||[],_0x3bae7c!=_0x1a1c76?this[_0x30d357(0xd9)]=_0x3bae7c:this[_0x30d357(0xd9)]=_0x1d29a9[_0x30d357(0x283)]*0x4;},'toString':function(_0x209a99){var _0x229060=_0x3fad05;return(_0x209a99||_0x4b11b3)[_0x229060(0x12c)](this);},'concat':function(_0x1a2afa){var _0x311b80=_0x3fad05,_0x51ae50=this[_0x311b80(0x381)],_0x59177d=_0x1a2afa[_0x311b80(0x381)],_0x55735d=this[_0x311b80(0xd9)],_0x3f940e=_0x1a2afa['sigBytes'];if(this[_0x311b80(0x356)](),_0x55735d%0x4)for(var _0x1b60a6=0x0;_0x1b60a6<_0x3f940e;_0x1b60a6++){var _0x4272d2=_0x59177d[_0x1b60a6>>>0x2]>>>0x18-_0x1b60a6%0x4*0x8&0xff;_0x51ae50[_0x55735d+_0x1b60a6>>>0x2]|=_0x4272d2<<0x18-(_0x55735d+_0x1b60a6)%0x4*0x8;}else{for(var _0x1401ab=0x0;_0x1401ab<_0x3f940e;_0x1401ab+=0x4)_0x51ae50[_0x55735d+_0x1401ab>>>0x2]=_0x59177d[_0x1401ab>>>0x2];}return this[_0x311b80(0xd9)]+=_0x3f940e,this;},'clamp':function(){var _0xbb2e88=_0x3fad05,_0x41661a=this[_0xbb2e88(0x381)],_0x1b6cda=this[_0xbb2e88(0xd9)];_0x41661a[_0x1b6cda>>>0x2]&=0xffffffff<<0x20-_0x1b6cda%0x4*0x8,_0x41661a[_0xbb2e88(0x283)]=_0x370e29[_0xbb2e88(0xd7)](_0x1b6cda/0x4);},'clone':function(){var _0x492589=_0x3fad05,_0x3b2a5a=_0x38f87a[_0x492589(0x150)][_0x492589(0x176)](this);return _0x3b2a5a[_0x492589(0x381)]=this[_0x492589(0x381)][_0x492589(0x380)](0x0),_0x3b2a5a;},'random':function(_0x66952){var _0x526f6e=_0x3fad05;for(var _0x46dbde=[],_0x5a2047=0x0;_0x5a2047<_0x66952;_0x5a2047+=0x4)_0x46dbde[_0x526f6e(0x32d)](_0x9915e());return new _0x3596ce[(_0x526f6e(0xff))](_0x46dbde,_0x66952);}}),_0x5c8753=_0xd124c2[_0x3fad05(0x139)]={},_0x4b11b3=_0x5c8753[_0x3fad05(0x28b)]={'stringify':function(_0x54a62f){var _0x130ede=_0x3fad05;for(var _0x480562=_0x54a62f['words'],_0x5e8356=_0x54a62f[_0x130ede(0xd9)],_0x2cad61=[],_0x42855b=0x0;_0x42855b<_0x5e8356;_0x42855b++){var _0x1e25f5=_0x480562[_0x42855b>>>0x2]>>>0x18-_0x42855b%0x4*0x8&0xff;_0x2cad61['push']((_0x1e25f5>>>0x4)[_0x130ede(0x1d0)](0x10)),_0x2cad61[_0x130ede(0x32d)]((_0x1e25f5&0xf)[_0x130ede(0x1d0)](0x10));}return _0x2cad61['join']('');},'parse':function(_0x56dd8c){var _0x4d7b4e=_0x3fad05;for(var _0x39d6ef=_0x56dd8c[_0x4d7b4e(0x283)],_0x3c7cac=[],_0x40018f=0x0;_0x40018f<_0x39d6ef;_0x40018f+=0x2)_0x3c7cac[_0x40018f>>>0x3]|=parseInt(_0x56dd8c[_0x4d7b4e(0x216)](_0x40018f,0x2),0x10)<<0x18-_0x40018f%0x8*0x4;return new _0x3596ce[(_0x4d7b4e(0xff))](_0x3c7cac,_0x39d6ef/0x2);}},_0x27c334=_0x5c8753['Latin1']={'stringify':function(_0x58a6b0){var _0x6bbe6a=_0x3fad05;for(var _0x42b816=_0x58a6b0['words'],_0x2bd2eb=_0x58a6b0[_0x6bbe6a(0xd9)],_0x380ef9=[],_0x376935=0x0;_0x376935<_0x2bd2eb;_0x376935++){var _0x155702=_0x42b816[_0x376935>>>0x2]>>>0x18-_0x376935%0x4*0x8&0xff;_0x380ef9[_0x6bbe6a(0x32d)](String[_0x6bbe6a(0x1bc)](_0x155702));}return _0x380ef9[_0x6bbe6a(0x2b0)]('');},'parse':function(_0x3fa703){var _0xc48469=_0x3fad05;for(var _0x5efdde=_0x3fa703[_0xc48469(0x283)],_0xd8ce8c=[],_0x971318=0x0;_0x971318<_0x5efdde;_0x971318++)_0xd8ce8c[_0x971318>>>0x2]|=(_0x3fa703[_0xc48469(0xbb)](_0x971318)&0xff)<<0x18-_0x971318%0x4*0x8;return new _0x3596ce['init'](_0xd8ce8c,_0x5efdde);}},_0xaa4f87=_0x5c8753[_0x3fad05(0x2ce)]={'stringify':function(_0x18d197){var _0x1e2191=_0x3fad05;try{return decodeURIComponent(escape(_0x27c334[_0x1e2191(0x12c)](_0x18d197)));}catch{throw new Error(_0x1e2191(0x187));}},'parse':function(_0x9d11){var _0x57f76e=_0x3fad05;return _0x27c334[_0x57f76e(0x2e2)](unescape(encodeURIComponent(_0x9d11)));}},_0x2a642a=_0x3b7b0b[_0x3fad05(0x162)]=_0x38f87a['extend']({'reset':function(){var _0x278340=_0x3fad05;this[_0x278340(0x1d6)]=new _0x3596ce[(_0x278340(0xff))](),this[_0x278340(0x11a)]=0x0;},'_append':function(_0x7d6e63){var _0x14e548=_0x3fad05;typeof _0x7d6e63=='string'&&(_0x7d6e63=_0xaa4f87[_0x14e548(0x2e2)](_0x7d6e63)),this[_0x14e548(0x1d6)][_0x14e548(0x363)](_0x7d6e63),this[_0x14e548(0x11a)]+=_0x7d6e63[_0x14e548(0xd9)];},'_process':function(_0xe0d4bd){var _0x36c799=_0x3fad05,_0x7e7396,_0x494fb3=this[_0x36c799(0x1d6)],_0x285bb2=_0x494fb3['words'],_0x158b3f=_0x494fb3[_0x36c799(0xd9)],_0x4e5333=this[_0x36c799(0x20a)],_0x3e4f68=_0x4e5333*0x4,_0x246183=_0x158b3f/_0x3e4f68;_0xe0d4bd?_0x246183=_0x370e29[_0x36c799(0xd7)](_0x246183):_0x246183=_0x370e29[_0x36c799(0x229)]((_0x246183|0x0)-this[_0x36c799(0x29b)],0x0);var _0x32389c=_0x246183*_0x4e5333,_0x1f83f0=_0x370e29['min'](_0x32389c*0x4,_0x158b3f);if(_0x32389c){for(var _0x5dddc2=0x0;_0x5dddc2<_0x32389c;_0x5dddc2+=_0x4e5333)this[_0x36c799(0x2f1)](_0x285bb2,_0x5dddc2);_0x7e7396=_0x285bb2[_0x36c799(0x23f)](0x0,_0x32389c),_0x494fb3['sigBytes']-=_0x1f83f0;}return new _0x3596ce['init'](_0x7e7396,_0x1f83f0);},'clone':function(){var _0x2e0445=_0x3fad05,_0x3a3722=_0x38f87a[_0x2e0445(0x150)][_0x2e0445(0x176)](this);return _0x3a3722[_0x2e0445(0x1d6)]=this[_0x2e0445(0x1d6)][_0x2e0445(0x150)](),_0x3a3722;},'_minBufferSize':0x0});_0x3b7b0b[_0x3fad05(0x2be)]=_0x2a642a[_0x3fad05(0x1ef)]({'cfg':_0x38f87a[_0x3fad05(0x1ef)](),'init':function(_0x34342a){var _0x3ffa8f=_0x3fad05;this[_0x3ffa8f(0x2c3)]=this[_0x3ffa8f(0x2c3)][_0x3ffa8f(0x1ef)](_0x34342a),this['reset']();},'reset':function(){var _0x85a11f=_0x3fad05;_0x2a642a[_0x85a11f(0x1c7)][_0x85a11f(0x176)](this),this[_0x85a11f(0x37b)]();},'update':function(_0x1d06eb){var _0x2be2aa=_0x3fad05;return this['_append'](_0x1d06eb),this[_0x2be2aa(0x1b5)](),this;},'finalize':function(_0x34b898){var _0x556d68=_0x3fad05;_0x34b898&&this[_0x556d68(0x372)](_0x34b898);var _0x368407=this[_0x556d68(0x22a)]();return _0x368407;},'blockSize':0x10,'_createHelper':function(_0x3a1fe2){return function(_0xc94d39,_0x2e6055){var _0x32e350=_0x579a;return new _0x3a1fe2[(_0x32e350(0xff))](_0x2e6055)[_0x32e350(0x277)](_0xc94d39);};},'_createHmacHelper':function(_0x447eed){return function(_0x25c8a3,_0xaeaa87){var _0x391b31=_0x579a;return new _0x4f0b9a[(_0x391b31(0x123))][(_0x391b31(0xff))](_0x447eed,_0xaeaa87)[_0x391b31(0x277)](_0x25c8a3);};}});var _0x4f0b9a=_0xd124c2['algo']={};return _0xd124c2;}(Math);return _0x2f0adc;}));}(Ge)),Ge[_0x2df219(0x138)];}var We={'exports':{}},Es=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x44b3c0,_0x50073f){(function(_0x2228b7,_0x6b4768){_0x44b3c0['exports']=_0x6b4768(ie());}(Es,function(_0x385dc8){var _0x10a3f7=_0x579a;return(function(){var _0x2faad5=_0x579a,_0x116c5d=_0x385dc8,_0x4e465f=_0x116c5d[_0x2faad5(0xda)],_0x57abc7=_0x4e465f['WordArray'],_0x32b5ab=_0x116c5d[_0x2faad5(0x139)];_0x32b5ab['Base64']={'stringify':function(_0x457543){var _0x30aaf5=_0x2faad5,_0x41715f=_0x457543[_0x30aaf5(0x381)],_0x58441c=_0x457543[_0x30aaf5(0xd9)],_0x11bdf1=this[_0x30aaf5(0x154)];_0x457543[_0x30aaf5(0x356)]();for(var _0x413e8e=[],_0xe4d2e0=0x0;_0xe4d2e0<_0x58441c;_0xe4d2e0+=0x3)for(var _0x293823=_0x41715f[_0xe4d2e0>>>0x2]>>>0x18-_0xe4d2e0%0x4*0x8&0xff,_0x4affcc=_0x41715f[_0xe4d2e0+0x1>>>0x2]>>>0x18-(_0xe4d2e0+0x1)%0x4*0x8&0xff,_0x586903=_0x41715f[_0xe4d2e0+0x2>>>0x2]>>>0x18-(_0xe4d2e0+0x2)%0x4*0x8&0xff,_0x4b4213=_0x293823<<0x10|_0x4affcc<<0x8|_0x586903,_0x492071=0x0;_0x492071<0x4&&_0xe4d2e0+_0x492071*0.75<_0x58441c;_0x492071++)_0x413e8e[_0x30aaf5(0x32d)](_0x11bdf1[_0x30aaf5(0x2d4)](_0x4b4213>>>0x6*(0x3-_0x492071)&0x3f));var _0x241dbd=_0x11bdf1['charAt'](0x40);if(_0x241dbd){for(;_0x413e8e[_0x30aaf5(0x283)]%0x4;)_0x413e8e['push'](_0x241dbd);}return _0x413e8e[_0x30aaf5(0x2b0)]('');},'parse':function(_0x4171e5){var _0x34b35e=_0x2faad5,_0x1c8d3c=_0x4171e5[_0x34b35e(0x283)],_0xdad88a=this[_0x34b35e(0x154)],_0x55e45c=this[_0x34b35e(0x27a)];if(!_0x55e45c){_0x55e45c=this[_0x34b35e(0x27a)]=[];for(var _0x39f2ca=0x0;_0x39f2ca<_0xdad88a[_0x34b35e(0x283)];_0x39f2ca++)_0x55e45c[_0xdad88a[_0x34b35e(0xbb)](_0x39f2ca)]=_0x39f2ca;}var _0x1771c3=_0xdad88a[_0x34b35e(0x2d4)](0x40);if(_0x1771c3){var _0x2a4a23=_0x4171e5['indexOf'](_0x1771c3);_0x2a4a23!==-0x1&&(_0x1c8d3c=_0x2a4a23);}return _0x294c14(_0x4171e5,_0x1c8d3c,_0x55e45c);},'_map':_0x2faad5(0x2ef)};function _0x294c14(_0x4a30a8,_0x5655f9,_0x5eec0d){var _0x12319d=_0x2faad5;for(var _0x15aa08=[],_0x488237=0x0,_0x51dd40=0x0;_0x51dd40<_0x5655f9;_0x51dd40++)if(_0x51dd40%0x4){var _0x188ac7=_0x5eec0d[_0x4a30a8[_0x12319d(0xbb)](_0x51dd40-0x1)]<<_0x51dd40%0x4*0x2,_0x37beb4=_0x5eec0d[_0x4a30a8[_0x12319d(0xbb)](_0x51dd40)]>>>0x6-_0x51dd40%0x4*0x2,_0x2c4ab2=_0x188ac7|_0x37beb4;_0x15aa08[_0x488237>>>0x2]|=_0x2c4ab2<<0x18-_0x488237%0x4*0x8,_0x488237++;}return _0x57abc7[_0x12319d(0x14a)](_0x15aa08,_0x488237);}}()),_0x385dc8[_0x10a3f7(0x139)][_0x10a3f7(0xec)];}));}(We)),We['exports'];}var Ye={'exports':{}},Is=Ye['exports'],Qt;function Ts(){var _0x40dad3=_0x3527bc;return Qt||(Qt=0x1,function(_0x7b6b87,_0x2e2c82){(function(_0x335fa9,_0x1a79b2){var _0x3d25cd=_0x579a;_0x7b6b87[_0x3d25cd(0x138)]=_0x1a79b2(ie());}(Is,function(_0x36edba){var _0x40744d=_0x579a;return function(_0x27a3bc){var _0x4ce7ab=_0x579a,_0x262486=_0x36edba,_0x186dbf=_0x262486[_0x4ce7ab(0xda)],_0x24ed54=_0x186dbf[_0x4ce7ab(0x188)],_0xf90f82=_0x186dbf[_0x4ce7ab(0x2be)],_0x3c8410=_0x262486[_0x4ce7ab(0xd3)],_0x1e0840=[];(function(){var _0x2d8d44=_0x4ce7ab;for(var _0xf35dd7=0x0;_0xf35dd7<0x40;_0xf35dd7++)_0x1e0840[_0xf35dd7]=_0x27a3bc[_0x2d8d44(0x92)](_0x27a3bc[_0x2d8d44(0x137)](_0xf35dd7+0x1))*0x100000000|0x0;}());var _0x4a27c3=_0x3c8410[_0x4ce7ab(0x17e)]=_0xf90f82[_0x4ce7ab(0x1ef)]({'_doReset':function(){var _0x4099e9=_0x4ce7ab;this[_0x4099e9(0x2c8)]=new _0x24ed54[(_0x4099e9(0xff))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x460dd8,_0x673429){var _0x205e79=_0x4ce7ab;for(var _0x3b0954=0x0;_0x3b0954<0x10;_0x3b0954++){var _0x2a4d03=_0x673429+_0x3b0954,_0x412c84=_0x460dd8[_0x2a4d03];_0x460dd8[_0x2a4d03]=(_0x412c84<<0x8|_0x412c84>>>0x18)&0xff00ff|(_0x412c84<<0x18|_0x412c84>>>0x8)&0xff00ff00;}var _0xccf91d=this['_hash'][_0x205e79(0x381)],_0x2b2fdf=_0x460dd8[_0x673429+0x0],_0x5e28e8=_0x460dd8[_0x673429+0x1],_0xc07973=_0x460dd8[_0x673429+0x2],_0x54cc53=_0x460dd8[_0x673429+0x3],_0x4cb275=_0x460dd8[_0x673429+0x4],_0xabaeca=_0x460dd8[_0x673429+0x5],_0x48c106=_0x460dd8[_0x673429+0x6],_0x3910ab=_0x460dd8[_0x673429+0x7],_0x19fb7f=_0x460dd8[_0x673429+0x8],_0x4ab18d=_0x460dd8[_0x673429+0x9],_0x4cf60d=_0x460dd8[_0x673429+0xa],_0x31f31c=_0x460dd8[_0x673429+0xb],_0xf00d12=_0x460dd8[_0x673429+0xc],_0x413f3d=_0x460dd8[_0x673429+0xd],_0x37ada7=_0x460dd8[_0x673429+0xe],_0x178bf4=_0x460dd8[_0x673429+0xf],_0x2a4881=_0xccf91d[0x0],_0xa98275=_0xccf91d[0x1],_0x24b522=_0xccf91d[0x2],_0x515f40=_0xccf91d[0x3];_0x2a4881=_0x2b3165(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x2b2fdf,0x7,_0x1e0840[0x0]),_0x515f40=_0x2b3165(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x5e28e8,0xc,_0x1e0840[0x1]),_0x24b522=_0x2b3165(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0xc07973,0x11,_0x1e0840[0x2]),_0xa98275=_0x2b3165(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x54cc53,0x16,_0x1e0840[0x3]),_0x2a4881=_0x2b3165(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x4cb275,0x7,_0x1e0840[0x4]),_0x515f40=_0x2b3165(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0xabaeca,0xc,_0x1e0840[0x5]),_0x24b522=_0x2b3165(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x48c106,0x11,_0x1e0840[0x6]),_0xa98275=_0x2b3165(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x3910ab,0x16,_0x1e0840[0x7]),_0x2a4881=_0x2b3165(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x19fb7f,0x7,_0x1e0840[0x8]),_0x515f40=_0x2b3165(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x4ab18d,0xc,_0x1e0840[0x9]),_0x24b522=_0x2b3165(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x4cf60d,0x11,_0x1e0840[0xa]),_0xa98275=_0x2b3165(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x31f31c,0x16,_0x1e0840[0xb]),_0x2a4881=_0x2b3165(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0xf00d12,0x7,_0x1e0840[0xc]),_0x515f40=_0x2b3165(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x413f3d,0xc,_0x1e0840[0xd]),_0x24b522=_0x2b3165(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x37ada7,0x11,_0x1e0840[0xe]),_0xa98275=_0x2b3165(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x178bf4,0x16,_0x1e0840[0xf]),_0x2a4881=_0x4fa641(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x5e28e8,0x5,_0x1e0840[0x10]),_0x515f40=_0x4fa641(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x48c106,0x9,_0x1e0840[0x11]),_0x24b522=_0x4fa641(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x31f31c,0xe,_0x1e0840[0x12]),_0xa98275=_0x4fa641(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x2b2fdf,0x14,_0x1e0840[0x13]),_0x2a4881=_0x4fa641(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0xabaeca,0x5,_0x1e0840[0x14]),_0x515f40=_0x4fa641(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x4cf60d,0x9,_0x1e0840[0x15]),_0x24b522=_0x4fa641(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x178bf4,0xe,_0x1e0840[0x16]),_0xa98275=_0x4fa641(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x4cb275,0x14,_0x1e0840[0x17]),_0x2a4881=_0x4fa641(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x4ab18d,0x5,_0x1e0840[0x18]),_0x515f40=_0x4fa641(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x37ada7,0x9,_0x1e0840[0x19]),_0x24b522=_0x4fa641(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x54cc53,0xe,_0x1e0840[0x1a]),_0xa98275=_0x4fa641(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x19fb7f,0x14,_0x1e0840[0x1b]),_0x2a4881=_0x4fa641(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x413f3d,0x5,_0x1e0840[0x1c]),_0x515f40=_0x4fa641(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0xc07973,0x9,_0x1e0840[0x1d]),_0x24b522=_0x4fa641(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x3910ab,0xe,_0x1e0840[0x1e]),_0xa98275=_0x4fa641(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0xf00d12,0x14,_0x1e0840[0x1f]),_0x2a4881=_0x2a1a56(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0xabaeca,0x4,_0x1e0840[0x20]),_0x515f40=_0x2a1a56(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x19fb7f,0xb,_0x1e0840[0x21]),_0x24b522=_0x2a1a56(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x31f31c,0x10,_0x1e0840[0x22]),_0xa98275=_0x2a1a56(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x37ada7,0x17,_0x1e0840[0x23]),_0x2a4881=_0x2a1a56(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x5e28e8,0x4,_0x1e0840[0x24]),_0x515f40=_0x2a1a56(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x4cb275,0xb,_0x1e0840[0x25]),_0x24b522=_0x2a1a56(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x3910ab,0x10,_0x1e0840[0x26]),_0xa98275=_0x2a1a56(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x4cf60d,0x17,_0x1e0840[0x27]),_0x2a4881=_0x2a1a56(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x413f3d,0x4,_0x1e0840[0x28]),_0x515f40=_0x2a1a56(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x2b2fdf,0xb,_0x1e0840[0x29]),_0x24b522=_0x2a1a56(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x54cc53,0x10,_0x1e0840[0x2a]),_0xa98275=_0x2a1a56(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x48c106,0x17,_0x1e0840[0x2b]),_0x2a4881=_0x2a1a56(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x4ab18d,0x4,_0x1e0840[0x2c]),_0x515f40=_0x2a1a56(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0xf00d12,0xb,_0x1e0840[0x2d]),_0x24b522=_0x2a1a56(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x178bf4,0x10,_0x1e0840[0x2e]),_0xa98275=_0x2a1a56(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0xc07973,0x17,_0x1e0840[0x2f]),_0x2a4881=_0x175d66(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x2b2fdf,0x6,_0x1e0840[0x30]),_0x515f40=_0x175d66(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x3910ab,0xa,_0x1e0840[0x31]),_0x24b522=_0x175d66(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x37ada7,0xf,_0x1e0840[0x32]),_0xa98275=_0x175d66(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0xabaeca,0x15,_0x1e0840[0x33]),_0x2a4881=_0x175d66(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0xf00d12,0x6,_0x1e0840[0x34]),_0x515f40=_0x175d66(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x54cc53,0xa,_0x1e0840[0x35]),_0x24b522=_0x175d66(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x4cf60d,0xf,_0x1e0840[0x36]),_0xa98275=_0x175d66(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x5e28e8,0x15,_0x1e0840[0x37]),_0x2a4881=_0x175d66(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x19fb7f,0x6,_0x1e0840[0x38]),_0x515f40=_0x175d66(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x178bf4,0xa,_0x1e0840[0x39]),_0x24b522=_0x175d66(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0x48c106,0xf,_0x1e0840[0x3a]),_0xa98275=_0x175d66(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x413f3d,0x15,_0x1e0840[0x3b]),_0x2a4881=_0x175d66(_0x2a4881,_0xa98275,_0x24b522,_0x515f40,_0x4cb275,0x6,_0x1e0840[0x3c]),_0x515f40=_0x175d66(_0x515f40,_0x2a4881,_0xa98275,_0x24b522,_0x31f31c,0xa,_0x1e0840[0x3d]),_0x24b522=_0x175d66(_0x24b522,_0x515f40,_0x2a4881,_0xa98275,_0xc07973,0xf,_0x1e0840[0x3e]),_0xa98275=_0x175d66(_0xa98275,_0x24b522,_0x515f40,_0x2a4881,_0x4ab18d,0x15,_0x1e0840[0x3f]),_0xccf91d[0x0]=_0xccf91d[0x0]+_0x2a4881|0x0,_0xccf91d[0x1]=_0xccf91d[0x1]+_0xa98275|0x0,_0xccf91d[0x2]=_0xccf91d[0x2]+_0x24b522|0x0,_0xccf91d[0x3]=_0xccf91d[0x3]+_0x515f40|0x0;},'_doFinalize':function(){var _0xac1a6a=_0x4ce7ab,_0x572453=this[_0xac1a6a(0x1d6)],_0x50c8ef=_0x572453[_0xac1a6a(0x381)],_0xa5453e=this[_0xac1a6a(0x11a)]*0x8,_0x4c2fa9=_0x572453[_0xac1a6a(0xd9)]*0x8;_0x50c8ef[_0x4c2fa9>>>0x5]|=0x80<<0x18-_0x4c2fa9%0x20;var _0x2040b9=_0x27a3bc[_0xac1a6a(0x17b)](_0xa5453e/0x100000000),_0x3d7234=_0xa5453e;_0x50c8ef[(_0x4c2fa9+0x40>>>0x9<<0x4)+0xf]=(_0x2040b9<<0x8|_0x2040b9>>>0x18)&0xff00ff|(_0x2040b9<<0x18|_0x2040b9>>>0x8)&0xff00ff00,_0x50c8ef[(_0x4c2fa9+0x40>>>0x9<<0x4)+0xe]=(_0x3d7234<<0x8|_0x3d7234>>>0x18)&0xff00ff|(_0x3d7234<<0x18|_0x3d7234>>>0x8)&0xff00ff00,_0x572453[_0xac1a6a(0xd9)]=(_0x50c8ef['length']+0x1)*0x4,this[_0xac1a6a(0x1b5)]();for(var _0x32873b=this[_0xac1a6a(0x2c8)],_0x4feba4=_0x32873b[_0xac1a6a(0x381)],_0x3bf22e=0x0;_0x3bf22e<0x4;_0x3bf22e++){var _0x4c01b1=_0x4feba4[_0x3bf22e];_0x4feba4[_0x3bf22e]=(_0x4c01b1<<0x8|_0x4c01b1>>>0x18)&0xff00ff|(_0x4c01b1<<0x18|_0x4c01b1>>>0x8)&0xff00ff00;}return _0x32873b;},'clone':function(){var _0x308b79=_0x4ce7ab,_0x2f1f59=_0xf90f82[_0x308b79(0x150)]['call'](this);return _0x2f1f59['_hash']=this[_0x308b79(0x2c8)][_0x308b79(0x150)](),_0x2f1f59;}});function _0x2b3165(_0x174a0e,_0xb52393,_0x4acd06,_0x4307b5,_0x45c2b1,_0x56db88,_0x25cc2c){var _0x38be09=_0x174a0e+(_0xb52393&_0x4acd06|~_0xb52393&_0x4307b5)+_0x45c2b1+_0x25cc2c;return(_0x38be09<<_0x56db88|_0x38be09>>>0x20-_0x56db88)+_0xb52393;}function _0x4fa641(_0x11d656,_0xd86276,_0x3814d7,_0x468e24,_0x2e50d3,_0xc5153,_0x4c5c1e){var _0x5df980=_0x11d656+(_0xd86276&_0x468e24|_0x3814d7&~_0x468e24)+_0x2e50d3+_0x4c5c1e;return(_0x5df980<<_0xc5153|_0x5df980>>>0x20-_0xc5153)+_0xd86276;}function _0x2a1a56(_0x570a16,_0x15b8c2,_0x74314e,_0x574e87,_0x30d91b,_0x17e7a2,_0x388cad){var _0x256aeb=_0x570a16+(_0x15b8c2^_0x74314e^_0x574e87)+_0x30d91b+_0x388cad;return(_0x256aeb<<_0x17e7a2|_0x256aeb>>>0x20-_0x17e7a2)+_0x15b8c2;}function _0x175d66(_0x559422,_0x22341f,_0x4ebd77,_0x85a646,_0x17c294,_0x37b6c9,_0x1c6d52){var _0x321260=_0x559422+(_0x4ebd77^(_0x22341f|~_0x85a646))+_0x17c294+_0x1c6d52;return(_0x321260<<_0x37b6c9|_0x321260>>>0x20-_0x37b6c9)+_0x22341f;}_0x262486['MD5']=_0xf90f82[_0x4ce7ab(0xe7)](_0x4a27c3),_0x262486[_0x4ce7ab(0x191)]=_0xf90f82['_createHmacHelper'](_0x4a27c3);}(Math),_0x36edba[_0x40744d(0x17e)];}));}(Ye)),Ye[_0x40dad3(0x138)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe[_0x3527bc(0x138)],ei;function Rs(){var _0x3523e5=_0x3527bc;return ei||(ei=0x1,function(_0x423cc5,_0x20a3be){(function(_0x20e1b9,_0x25ed11){var _0x4feab9=_0x579a;_0x423cc5[_0x4feab9(0x138)]=_0x25ed11(ie());}(Cs,function(_0x467852){var _0x758ec9=_0x579a;return(function(){var _0x5a8502=_0x579a,_0x54da43=_0x467852,_0x37e5ce=_0x54da43[_0x5a8502(0xda)],_0x16f32f=_0x37e5ce['WordArray'],_0x1a99b3=_0x37e5ce[_0x5a8502(0x2be)],_0xfb79c8=_0x54da43[_0x5a8502(0xd3)],_0x436380=[],_0x1134be=_0xfb79c8[_0x5a8502(0x13d)]=_0x1a99b3['extend']({'_doReset':function(){this['_hash']=new _0x16f32f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x48d785,_0x2e1936){var _0x3b3f07=_0x5a8502;for(var _0x982b=this['_hash'][_0x3b3f07(0x381)],_0x4e3156=_0x982b[0x0],_0x2a079b=_0x982b[0x1],_0x1d309b=_0x982b[0x2],_0x552726=_0x982b[0x3],_0x2ada98=_0x982b[0x4],_0x10e2c5=0x0;_0x10e2c5<0x50;_0x10e2c5++){if(_0x10e2c5<0x10)_0x436380[_0x10e2c5]=_0x48d785[_0x2e1936+_0x10e2c5]|0x0;else{var _0x3b22bc=_0x436380[_0x10e2c5-0x3]^_0x436380[_0x10e2c5-0x8]^_0x436380[_0x10e2c5-0xe]^_0x436380[_0x10e2c5-0x10];_0x436380[_0x10e2c5]=_0x3b22bc<<0x1|_0x3b22bc>>>0x1f;}var _0x4ac587=(_0x4e3156<<0x5|_0x4e3156>>>0x1b)+_0x2ada98+_0x436380[_0x10e2c5];_0x10e2c5<0x14?_0x4ac587+=(_0x2a079b&_0x1d309b|~_0x2a079b&_0x552726)+0x5a827999:_0x10e2c5<0x28?_0x4ac587+=(_0x2a079b^_0x1d309b^_0x552726)+0x6ed9eba1:_0x10e2c5<0x3c?_0x4ac587+=(_0x2a079b&_0x1d309b|_0x2a079b&_0x552726|_0x1d309b&_0x552726)-0x70e44324:_0x4ac587+=(_0x2a079b^_0x1d309b^_0x552726)-0x359d3e2a,_0x2ada98=_0x552726,_0x552726=_0x1d309b,_0x1d309b=_0x2a079b<<0x1e|_0x2a079b>>>0x2,_0x2a079b=_0x4e3156,_0x4e3156=_0x4ac587;}_0x982b[0x0]=_0x982b[0x0]+_0x4e3156|0x0,_0x982b[0x1]=_0x982b[0x1]+_0x2a079b|0x0,_0x982b[0x2]=_0x982b[0x2]+_0x1d309b|0x0,_0x982b[0x3]=_0x982b[0x3]+_0x552726|0x0,_0x982b[0x4]=_0x982b[0x4]+_0x2ada98|0x0;},'_doFinalize':function(){var _0x1d59d9=_0x5a8502,_0x2cf624=this[_0x1d59d9(0x1d6)],_0x8638db=_0x2cf624[_0x1d59d9(0x381)],_0x35f043=this[_0x1d59d9(0x11a)]*0x8,_0x3aac94=_0x2cf624[_0x1d59d9(0xd9)]*0x8;return _0x8638db[_0x3aac94>>>0x5]|=0x80<<0x18-_0x3aac94%0x20,_0x8638db[(_0x3aac94+0x40>>>0x9<<0x4)+0xe]=Math[_0x1d59d9(0x17b)](_0x35f043/0x100000000),_0x8638db[(_0x3aac94+0x40>>>0x9<<0x4)+0xf]=_0x35f043,_0x2cf624[_0x1d59d9(0xd9)]=_0x8638db[_0x1d59d9(0x283)]*0x4,this[_0x1d59d9(0x1b5)](),this[_0x1d59d9(0x2c8)];},'clone':function(){var _0x5546c9=_0x5a8502,_0x1ef424=_0x1a99b3[_0x5546c9(0x150)]['call'](this);return _0x1ef424[_0x5546c9(0x2c8)]=this[_0x5546c9(0x2c8)][_0x5546c9(0x150)](),_0x1ef424;}});_0x54da43['SHA1']=_0x1a99b3[_0x5a8502(0xe7)](_0x1134be),_0x54da43[_0x5a8502(0x93)]=_0x1a99b3['_createHmacHelper'](_0x1134be);}()),_0x467852[_0x758ec9(0x13d)];}));}(qe)),qe[_0x3523e5(0x138)];}var ze={'exports':{}},bs=ze[_0x3527bc(0x138)],ti;function Os(){var _0x33826b=_0x3527bc;return ti||(ti=0x1,function(_0x342655,_0x499448){(function(_0x4d286b,_0x5d137a){var _0x394b11=_0x579a;_0x342655[_0x394b11(0x138)]=_0x5d137a(ie());}(bs,function(_0x10fbb6){(function(){var _0x45eeae=_0x579a,_0x4584ad=_0x10fbb6,_0x48b705=_0x4584ad[_0x45eeae(0xda)],_0x27d0ea=_0x48b705['Base'],_0x2f9fb7=_0x4584ad[_0x45eeae(0x139)],_0x4fadaa=_0x2f9fb7[_0x45eeae(0x2ce)],_0xf6be3=_0x4584ad[_0x45eeae(0xd3)];_0xf6be3[_0x45eeae(0x123)]=_0x27d0ea['extend']({'init':function(_0x4739d2,_0x2b6540){var _0x490cdd=_0x45eeae;_0x4739d2=this[_0x490cdd(0x262)]=new _0x4739d2['init'](),typeof _0x2b6540=='string'&&(_0x2b6540=_0x4fadaa[_0x490cdd(0x2e2)](_0x2b6540));var _0x1d901d=_0x4739d2[_0x490cdd(0x20a)],_0x51d8f7=_0x1d901d*0x4;_0x2b6540[_0x490cdd(0xd9)]>_0x51d8f7&&(_0x2b6540=_0x4739d2[_0x490cdd(0x277)](_0x2b6540)),_0x2b6540[_0x490cdd(0x356)]();for(var _0x211c46=this[_0x490cdd(0x365)]=_0x2b6540[_0x490cdd(0x150)](),_0xa49e0d=this[_0x490cdd(0xaf)]=_0x2b6540[_0x490cdd(0x150)](),_0x49ad6e=_0x211c46[_0x490cdd(0x381)],_0x1b9d38=_0xa49e0d[_0x490cdd(0x381)],_0x21faa8=0x0;_0x21faa8<_0x1d901d;_0x21faa8++)_0x49ad6e[_0x21faa8]^=0x5c5c5c5c,_0x1b9d38[_0x21faa8]^=0x36363636;_0x211c46[_0x490cdd(0xd9)]=_0xa49e0d[_0x490cdd(0xd9)]=_0x51d8f7,this[_0x490cdd(0x1c7)]();},'reset':function(){var _0x126ff3=_0x45eeae,_0x67e040=this[_0x126ff3(0x262)];_0x67e040[_0x126ff3(0x1c7)](),_0x67e040[_0x126ff3(0x12a)](this[_0x126ff3(0xaf)]);},'update':function(_0x56cc35){var _0x5d0e67=_0x45eeae;return this[_0x5d0e67(0x262)]['update'](_0x56cc35),this;},'finalize':function(_0x9038c9){var _0x576fe2=_0x45eeae,_0x197edd=this[_0x576fe2(0x262)],_0x3462d7=_0x197edd[_0x576fe2(0x277)](_0x9038c9);_0x197edd['reset']();var _0x482e48=_0x197edd['finalize'](this[_0x576fe2(0x365)][_0x576fe2(0x150)]()[_0x576fe2(0x363)](_0x3462d7));return _0x482e48;}});}());}));}(ze)),ze[_0x33826b(0x138)];}var ys=Ke['exports'],ii;function Ui(){var _0x42541d=_0x3527bc;return ii||(ii=0x1,function(_0x1d6ab8,_0x53710a){(function(_0x1e51da,_0x4745d5,_0x50d234){_0x1d6ab8['exports']=_0x4745d5(ie(),Rs(),Os());}(ys,function(_0x519811){var _0x211a9d=_0x579a;return(function(){var _0x46feaa=_0x579a,_0x36044b=_0x519811,_0x587bfa=_0x36044b[_0x46feaa(0xda)],_0x11fa9c=_0x587bfa['Base'],_0x3e0339=_0x587bfa['WordArray'],_0x55271c=_0x36044b[_0x46feaa(0xd3)],_0x1e89d0=_0x55271c['MD5'],_0x4cdedd=_0x55271c[_0x46feaa(0xf9)]=_0x11fa9c['extend']({'cfg':_0x11fa9c['extend']({'keySize':0x80/0x20,'hasher':_0x1e89d0,'iterations':0x1}),'init':function(_0x50813a){var _0x1928ed=_0x46feaa;this['cfg']=this[_0x1928ed(0x2c3)]['extend'](_0x50813a);},'compute':function(_0x3fe2fc,_0x76a265){var _0x401292=_0x46feaa;for(var _0x369e00,_0x340033=this[_0x401292(0x2c3)],_0x21abe4=_0x340033['hasher'][_0x401292(0x14a)](),_0x57faa7=_0x3e0339[_0x401292(0x14a)](),_0x513da6=_0x57faa7[_0x401292(0x381)],_0x33a1ca=_0x340033[_0x401292(0x26f)],_0x29d9d1=_0x340033['iterations'];_0x513da6[_0x401292(0x283)]<_0x33a1ca;){_0x369e00&&_0x21abe4[_0x401292(0x12a)](_0x369e00),_0x369e00=_0x21abe4[_0x401292(0x12a)](_0x3fe2fc)[_0x401292(0x277)](_0x76a265),_0x21abe4[_0x401292(0x1c7)]();for(var _0x1bc212=0x1;_0x1bc212<_0x29d9d1;_0x1bc212++)_0x369e00=_0x21abe4[_0x401292(0x277)](_0x369e00),_0x21abe4[_0x401292(0x1c7)]();_0x57faa7[_0x401292(0x363)](_0x369e00);}return _0x57faa7[_0x401292(0xd9)]=_0x33a1ca*0x4,_0x57faa7;}});_0x36044b[_0x46feaa(0xf9)]=function(_0x3bbabe,_0x28567e,_0x3056e8){return _0x4cdedd['create'](_0x3056e8)['compute'](_0x3bbabe,_0x28567e);};}()),_0x519811[_0x211a9d(0xf9)];}));}(Ke)),Ke[_0x42541d(0x138)];}var Je={'exports':{}},Ns=Je[_0x3527bc(0x138)],ni;function Ai(){var _0x470a93=_0x3527bc;return ni||(ni=0x1,function(_0x2e751f,_0x20283a){(function(_0x2a75fe,_0x4f9a97,_0x32fb69){_0x2e751f['exports']=_0x4f9a97(ie(),Ui());}(Ns,function(_0x5a7b02){var _0x44228b=_0x579a;_0x5a7b02[_0x44228b(0xda)]['Cipher']||function(_0x3df792){var _0x57997b=_0x44228b,_0x448072=_0x5a7b02,_0x4a8ab3=_0x448072[_0x57997b(0xda)],_0x1c2558=_0x4a8ab3[_0x57997b(0x218)],_0x48525b=_0x4a8ab3[_0x57997b(0x188)],_0x48bc9a=_0x4a8ab3['BufferedBlockAlgorithm'],_0x930305=_0x448072['enc'];_0x930305[_0x57997b(0x2ce)];var _0x6cfa38=_0x930305[_0x57997b(0xec)],_0x139462=_0x448072[_0x57997b(0xd3)],_0x14af6b=_0x139462[_0x57997b(0xf9)],_0x35dc4d=_0x4a8ab3[_0x57997b(0x37a)]=_0x48bc9a[_0x57997b(0x1ef)]({'cfg':_0x1c2558[_0x57997b(0x1ef)](),'createEncryptor':function(_0x5b4bf9,_0x4d983d){var _0x2e6b95=_0x57997b;return this['create'](this[_0x2e6b95(0x34f)],_0x5b4bf9,_0x4d983d);},'createDecryptor':function(_0x58273a,_0xa3e7e4){var _0x681ddb=_0x57997b;return this[_0x681ddb(0x14a)](this[_0x681ddb(0x296)],_0x58273a,_0xa3e7e4);},'init':function(_0x2b161b,_0x4b04df,_0x310504){var _0x2071b5=_0x57997b;this[_0x2071b5(0x2c3)]=this[_0x2071b5(0x2c3)][_0x2071b5(0x1ef)](_0x310504),this['_xformMode']=_0x2b161b,this['_key']=_0x4b04df,this[_0x2071b5(0x1c7)]();},'reset':function(){var _0x523cec=_0x57997b;_0x48bc9a[_0x523cec(0x1c7)][_0x523cec(0x176)](this),this['_doReset']();},'process':function(_0x3bc5be){var _0x394baf=_0x57997b;return this[_0x394baf(0x372)](_0x3bc5be),this[_0x394baf(0x1b5)]();},'finalize':function(_0x47f6fe){var _0x3c1a91=_0x57997b;_0x47f6fe&&this[_0x3c1a91(0x372)](_0x47f6fe);var _0x5d2dd6=this[_0x3c1a91(0x22a)]();return _0x5d2dd6;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x575df7(_0x26094b){var _0x50967b=_0x579a;return typeof _0x26094b==_0x50967b(0x114)?_0x41a22f:_0x3b79cc;}return function(_0x442029){return{'encrypt':function(_0x1eac25,_0x522bc2,_0xe9fa52){var _0x12438c=_0x579a;return _0x575df7(_0x522bc2)[_0x12438c(0x27b)](_0x442029,_0x1eac25,_0x522bc2,_0xe9fa52);},'decrypt':function(_0x9ce0e,_0x402908,_0x23b664){var _0x30e692=_0x579a;return _0x575df7(_0x402908)[_0x30e692(0xa0)](_0x442029,_0x9ce0e,_0x402908,_0x23b664);}};};}())});_0x4a8ab3['StreamCipher']=_0x35dc4d[_0x57997b(0x1ef)]({'_doFinalize':function(){var _0x10d889=_0x57997b,_0x2e620f=this[_0x10d889(0x1b5)](!0x0);return _0x2e620f;},'blockSize':0x1});var _0x250450=_0x448072['mode']={},_0x5894d1=_0x4a8ab3[_0x57997b(0x357)]=_0x1c2558[_0x57997b(0x1ef)]({'createEncryptor':function(_0x2d5b48,_0x565b14){var _0x2c07fa=_0x57997b;return this[_0x2c07fa(0x1cd)]['create'](_0x2d5b48,_0x565b14);},'createDecryptor':function(_0x3f3f7e,_0x28718f){var _0x191269=_0x57997b;return this[_0x191269(0x19d)]['create'](_0x3f3f7e,_0x28718f);},'init':function(_0x48452b,_0x4cf380){var _0x543a82=_0x57997b;this[_0x543a82(0x88)]=_0x48452b,this[_0x543a82(0xc7)]=_0x4cf380;}}),_0x544fe8=_0x250450['CBC']=(function(){var _0x1f354d=_0x57997b,_0x197762=_0x5894d1[_0x1f354d(0x1ef)]();_0x197762[_0x1f354d(0x1cd)]=_0x197762[_0x1f354d(0x1ef)]({'processBlock':function(_0x51a08a,_0x2d09ce){var _0x2ff362=_0x1f354d,_0x202b15=this['_cipher'],_0x525f76=_0x202b15[_0x2ff362(0x20a)];_0xfa78b3[_0x2ff362(0x176)](this,_0x51a08a,_0x2d09ce,_0x525f76),_0x202b15[_0x2ff362(0xdb)](_0x51a08a,_0x2d09ce),this[_0x2ff362(0x33f)]=_0x51a08a[_0x2ff362(0x380)](_0x2d09ce,_0x2d09ce+_0x525f76);}}),_0x197762['Decryptor']=_0x197762[_0x1f354d(0x1ef)]({'processBlock':function(_0x3669d3,_0x4b31c7){var _0x16ea08=_0x1f354d,_0x30509d=this[_0x16ea08(0x88)],_0x140ae9=_0x30509d[_0x16ea08(0x20a)],_0x500ca9=_0x3669d3[_0x16ea08(0x380)](_0x4b31c7,_0x4b31c7+_0x140ae9);_0x30509d[_0x16ea08(0x1f0)](_0x3669d3,_0x4b31c7),_0xfa78b3[_0x16ea08(0x176)](this,_0x3669d3,_0x4b31c7,_0x140ae9),this[_0x16ea08(0x33f)]=_0x500ca9;}});function _0xfa78b3(_0x7375b7,_0x240b28,_0x5c610c){var _0x28b90b=_0x1f354d,_0x42d13c,_0x4ddc8c=this['_iv'];_0x4ddc8c?(_0x42d13c=_0x4ddc8c,this[_0x28b90b(0xc7)]=_0x3df792):_0x42d13c=this['_prevBlock'];for(var _0x1c1d90=0x0;_0x1c1d90<_0x5c610c;_0x1c1d90++)_0x7375b7[_0x240b28+_0x1c1d90]^=_0x42d13c[_0x1c1d90];}return _0x197762;}()),_0x38930c=_0x448072[_0x57997b(0xb2)]={},_0x51bc61=_0x38930c[_0x57997b(0x33d)]={'pad':function(_0xba81e,_0x14c154){var _0x56e300=_0x57997b;for(var _0x33ed21=_0x14c154*0x4,_0x43ee1d=_0x33ed21-_0xba81e[_0x56e300(0xd9)]%_0x33ed21,_0x397fa3=_0x43ee1d<<0x18|_0x43ee1d<<0x10|_0x43ee1d<<0x8|_0x43ee1d,_0x52e04b=[],_0x4c3d48=0x0;_0x4c3d48<_0x43ee1d;_0x4c3d48+=0x4)_0x52e04b[_0x56e300(0x32d)](_0x397fa3);var _0x561631=_0x48525b[_0x56e300(0x14a)](_0x52e04b,_0x43ee1d);_0xba81e['concat'](_0x561631);},'unpad':function(_0x91f711){var _0x5c2a4b=_0x57997b,_0x3edf5a=_0x91f711['words'][_0x91f711['sigBytes']-0x1>>>0x2]&0xff;_0x91f711[_0x5c2a4b(0xd9)]-=_0x3edf5a;}};_0x4a8ab3[_0x57997b(0x122)]=_0x35dc4d['extend']({'cfg':_0x35dc4d[_0x57997b(0x2c3)][_0x57997b(0x1ef)]({'mode':_0x544fe8,'padding':_0x51bc61}),'reset':function(){var _0x5ca857=_0x57997b,_0x23f76c;_0x35dc4d[_0x5ca857(0x1c7)]['call'](this);var _0x33e891=this[_0x5ca857(0x2c3)],_0x194be7=_0x33e891['iv'],_0x4b157f=_0x33e891[_0x5ca857(0x132)];this[_0x5ca857(0x241)]==this[_0x5ca857(0x34f)]?_0x23f76c=_0x4b157f[_0x5ca857(0x2e1)]:(_0x23f76c=_0x4b157f[_0x5ca857(0x23a)],this['_minBufferSize']=0x1),this[_0x5ca857(0x29f)]&&this[_0x5ca857(0x29f)][_0x5ca857(0x2f5)]==_0x23f76c?this[_0x5ca857(0x29f)][_0x5ca857(0xff)](this,_0x194be7&&_0x194be7[_0x5ca857(0x381)]):(this[_0x5ca857(0x29f)]=_0x23f76c[_0x5ca857(0x176)](_0x4b157f,this,_0x194be7&&_0x194be7['words']),this['_mode'][_0x5ca857(0x2f5)]=_0x23f76c);},'_doProcessBlock':function(_0x393a41,_0x324704){var _0x2534f8=_0x57997b;this[_0x2534f8(0x29f)]['processBlock'](_0x393a41,_0x324704);},'_doFinalize':function(){var _0x1fc4ca=_0x57997b,_0x2d87a9,_0x4486e9=this[_0x1fc4ca(0x2c3)]['padding'];return this['_xformMode']==this[_0x1fc4ca(0x34f)]?(_0x4486e9[_0x1fc4ca(0xb2)](this['_data'],this[_0x1fc4ca(0x20a)]),_0x2d87a9=this[_0x1fc4ca(0x1b5)](!0x0)):(_0x2d87a9=this[_0x1fc4ca(0x1b5)](!0x0),_0x4486e9['unpad'](_0x2d87a9)),_0x2d87a9;},'blockSize':0x80/0x20});var _0x2d1bc2=_0x4a8ab3['CipherParams']=_0x1c2558['extend']({'init':function(_0x16c59f){var _0x20fe5a=_0x57997b;this[_0x20fe5a(0x371)](_0x16c59f);},'toString':function(_0xeb6d41){var _0x41f423=_0x57997b;return(_0xeb6d41||this[_0x41f423(0x227)])[_0x41f423(0x12c)](this);}}),_0x2659eb=_0x448072[_0x57997b(0xaa)]={},_0x59ff1f=_0x2659eb[_0x57997b(0x105)]={'stringify':function(_0x26de6c){var _0xfb224c=_0x57997b,_0x4e884f,_0x1174ea=_0x26de6c['ciphertext'],_0x202757=_0x26de6c[_0xfb224c(0x28a)];return _0x202757?_0x4e884f=_0x48525b[_0xfb224c(0x14a)]([0x53616c74,0x65645f5f])['concat'](_0x202757)[_0xfb224c(0x363)](_0x1174ea):_0x4e884f=_0x1174ea,_0x4e884f[_0xfb224c(0x1d0)](_0x6cfa38);},'parse':function(_0xbdc8ff){var _0x58a3d7=_0x57997b,_0x501629,_0x298f73=_0x6cfa38[_0x58a3d7(0x2e2)](_0xbdc8ff),_0x1a873a=_0x298f73[_0x58a3d7(0x381)];return _0x1a873a[0x0]==0x53616c74&&_0x1a873a[0x1]==0x65645f5f&&(_0x501629=_0x48525b['create'](_0x1a873a[_0x58a3d7(0x380)](0x2,0x4)),_0x1a873a['splice'](0x0,0x4),_0x298f73[_0x58a3d7(0xd9)]-=0x10),_0x2d1bc2['create']({'ciphertext':_0x298f73,'salt':_0x501629});}},_0x3b79cc=_0x4a8ab3['SerializableCipher']=_0x1c2558['extend']({'cfg':_0x1c2558[_0x57997b(0x1ef)]({'format':_0x59ff1f}),'encrypt':function(_0x1a6ed0,_0x44d32f,_0x4c36d3,_0x575903){var _0x4db9f5=_0x57997b;_0x575903=this['cfg'][_0x4db9f5(0x1ef)](_0x575903);var _0x4a2b95=_0x1a6ed0[_0x4db9f5(0x2e1)](_0x4c36d3,_0x575903),_0x2e584e=_0x4a2b95[_0x4db9f5(0x277)](_0x44d32f),_0x58c102=_0x4a2b95['cfg'];return _0x2d1bc2['create']({'ciphertext':_0x2e584e,'key':_0x4c36d3,'iv':_0x58c102['iv'],'algorithm':_0x1a6ed0,'mode':_0x58c102[_0x4db9f5(0x132)],'padding':_0x58c102[_0x4db9f5(0xb1)],'blockSize':_0x1a6ed0[_0x4db9f5(0x20a)],'formatter':_0x575903[_0x4db9f5(0xaa)]});},'decrypt':function(_0x34888d,_0x260d0c,_0x1204cd,_0x347dff){var _0x42d44c=_0x57997b;_0x347dff=this['cfg'][_0x42d44c(0x1ef)](_0x347dff),_0x260d0c=this[_0x42d44c(0x2c9)](_0x260d0c,_0x347dff['format']);var _0x1e6c4f=_0x34888d[_0x42d44c(0x23a)](_0x1204cd,_0x347dff)[_0x42d44c(0x277)](_0x260d0c['ciphertext']);return _0x1e6c4f;},'_parse':function(_0x2ce4ba,_0x5cc7bf){var _0x262e80=_0x57997b;return typeof _0x2ce4ba==_0x262e80(0x114)?_0x5cc7bf[_0x262e80(0x2e2)](_0x2ce4ba,this):_0x2ce4ba;}}),_0x340bc8=_0x448072[_0x57997b(0xe0)]={},_0x1c6efe=_0x340bc8[_0x57997b(0x105)]={'execute':function(_0x551fad,_0x43ada5,_0x564389,_0x14ad95,_0x5612be){var _0x49f1cd=_0x57997b;if(_0x14ad95||(_0x14ad95=_0x48525b[_0x49f1cd(0x175)](0x40/0x8)),_0x5612be)var _0x64d0cc=_0x14af6b[_0x49f1cd(0x14a)]({'keySize':_0x43ada5+_0x564389,'hasher':_0x5612be})[_0x49f1cd(0xa9)](_0x551fad,_0x14ad95);else var _0x64d0cc=_0x14af6b[_0x49f1cd(0x14a)]({'keySize':_0x43ada5+_0x564389})[_0x49f1cd(0xa9)](_0x551fad,_0x14ad95);var _0x41bd1b=_0x48525b[_0x49f1cd(0x14a)](_0x64d0cc[_0x49f1cd(0x381)][_0x49f1cd(0x380)](_0x43ada5),_0x564389*0x4);return _0x64d0cc[_0x49f1cd(0xd9)]=_0x43ada5*0x4,_0x2d1bc2[_0x49f1cd(0x14a)]({'key':_0x64d0cc,'iv':_0x41bd1b,'salt':_0x14ad95});}},_0x41a22f=_0x4a8ab3['PasswordBasedCipher']=_0x3b79cc[_0x57997b(0x1ef)]({'cfg':_0x3b79cc[_0x57997b(0x2c3)][_0x57997b(0x1ef)]({'kdf':_0x1c6efe}),'encrypt':function(_0x3cfc1f,_0x2af145,_0x41ea4a,_0x1fe6e0){var _0xa91178=_0x57997b;_0x1fe6e0=this[_0xa91178(0x2c3)]['extend'](_0x1fe6e0);var _0x11fa72=_0x1fe6e0[_0xa91178(0xe0)]['execute'](_0x41ea4a,_0x3cfc1f[_0xa91178(0x26f)],_0x3cfc1f[_0xa91178(0x29e)],_0x1fe6e0[_0xa91178(0x28a)],_0x1fe6e0['hasher']);_0x1fe6e0['iv']=_0x11fa72['iv'];var _0xa4007c=_0x3b79cc['encrypt'][_0xa91178(0x176)](this,_0x3cfc1f,_0x2af145,_0x11fa72[_0xa91178(0x164)],_0x1fe6e0);return _0xa4007c[_0xa91178(0x371)](_0x11fa72),_0xa4007c;},'decrypt':function(_0x5d64d3,_0x5044e8,_0x46d302,_0x4a5867){var _0x4e84ef=_0x57997b;_0x4a5867=this[_0x4e84ef(0x2c3)][_0x4e84ef(0x1ef)](_0x4a5867),_0x5044e8=this['_parse'](_0x5044e8,_0x4a5867[_0x4e84ef(0xaa)]);var _0x38b1f1=_0x4a5867['kdf'][_0x4e84ef(0x2b2)](_0x46d302,_0x5d64d3[_0x4e84ef(0x26f)],_0x5d64d3[_0x4e84ef(0x29e)],_0x5044e8[_0x4e84ef(0x28a)],_0x4a5867[_0x4e84ef(0x1aa)]);_0x4a5867['iv']=_0x38b1f1['iv'];var _0x4a4ce0=_0x3b79cc[_0x4e84ef(0xa0)][_0x4e84ef(0x176)](this,_0x5d64d3,_0x5044e8,_0x38b1f1[_0x4e84ef(0x164)],_0x4a5867);return _0x4a4ce0;}});}();}));}(Je)),Je[_0x470a93(0x138)];}var Ds=Ve[_0x3527bc(0x138)],si;function Us(){var _0x5cb340=_0x3527bc;return si||(si=0x1,function(_0x546ab3,_0x5a7022){(function(_0x1224b0,_0x3df709,_0x3cf213){var _0x241f80=_0x579a;_0x546ab3[_0x241f80(0x138)]=_0x3df709(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x1a5bbd){return(function(){var _0x1edd47=_0x579a,_0x41150a=_0x1a5bbd,_0x3f0464=_0x41150a[_0x1edd47(0xda)],_0x41479b=_0x3f0464[_0x1edd47(0x122)],_0x15353b=_0x41150a[_0x1edd47(0xd3)],_0xdfc810=[],_0x3f82d5=[],_0x4e997e=[],_0x3a3260=[],_0x283a64=[],_0x50d539=[],_0x1b65c4=[],_0x44352b=[],_0x1c3a77=[],_0x4cd89d=[];(function(){for(var _0x7186ab=[],_0x137de5=0x0;_0x137de5<0x100;_0x137de5++)_0x137de5<0x80?_0x7186ab[_0x137de5]=_0x137de5<<0x1:_0x7186ab[_0x137de5]=_0x137de5<<0x1^0x11b;for(var _0x5e0848=0x0,_0x304058=0x0,_0x137de5=0x0;_0x137de5<0x100;_0x137de5++){var _0x1234d9=_0x304058^_0x304058<<0x1^_0x304058<<0x2^_0x304058<<0x3^_0x304058<<0x4;_0x1234d9=_0x1234d9>>>0x8^_0x1234d9&0xff^0x63,_0xdfc810[_0x5e0848]=_0x1234d9,_0x3f82d5[_0x1234d9]=_0x5e0848;var _0x2cd59c=_0x7186ab[_0x5e0848],_0x4f19c7=_0x7186ab[_0x2cd59c],_0x1869c4=_0x7186ab[_0x4f19c7],_0x1506b2=_0x7186ab[_0x1234d9]*0x101^_0x1234d9*0x1010100;_0x4e997e[_0x5e0848]=_0x1506b2<<0x18|_0x1506b2>>>0x8,_0x3a3260[_0x5e0848]=_0x1506b2<<0x10|_0x1506b2>>>0x10,_0x283a64[_0x5e0848]=_0x1506b2<<0x8|_0x1506b2>>>0x18,_0x50d539[_0x5e0848]=_0x1506b2;var _0x1506b2=_0x1869c4*0x1010101^_0x4f19c7*0x10001^_0x2cd59c*0x101^_0x5e0848*0x1010100;_0x1b65c4[_0x1234d9]=_0x1506b2<<0x18|_0x1506b2>>>0x8,_0x44352b[_0x1234d9]=_0x1506b2<<0x10|_0x1506b2>>>0x10,_0x1c3a77[_0x1234d9]=_0x1506b2<<0x8|_0x1506b2>>>0x18,_0x4cd89d[_0x1234d9]=_0x1506b2,_0x5e0848?(_0x5e0848=_0x2cd59c^_0x7186ab[_0x7186ab[_0x7186ab[_0x1869c4^_0x2cd59c]]],_0x304058^=_0x7186ab[_0x7186ab[_0x304058]]):_0x5e0848=_0x304058=0x1;}}());var _0x1f1a38=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1dab99=_0x15353b[_0x1edd47(0x2b1)]=_0x41479b[_0x1edd47(0x1ef)]({'_doReset':function(){var _0x3981f5=_0x1edd47,_0x4e1a89;if(!(this[_0x3981f5(0x303)]&&this[_0x3981f5(0xac)]===this[_0x3981f5(0x13c)])){for(var _0x5cf925=this[_0x3981f5(0xac)]=this[_0x3981f5(0x13c)],_0x1210a4=_0x5cf925[_0x3981f5(0x381)],_0x250ed1=_0x5cf925[_0x3981f5(0xd9)]/0x4,_0x122bae=this[_0x3981f5(0x303)]=_0x250ed1+0x6,_0x21bf87=(_0x122bae+0x1)*0x4,_0x9325aa=this[_0x3981f5(0x1e4)]=[],_0xc612f6=0x0;_0xc612f6<_0x21bf87;_0xc612f6++)_0xc612f6<_0x250ed1?_0x9325aa[_0xc612f6]=_0x1210a4[_0xc612f6]:(_0x4e1a89=_0x9325aa[_0xc612f6-0x1],_0xc612f6%_0x250ed1?_0x250ed1>0x6&&_0xc612f6%_0x250ed1==0x4&&(_0x4e1a89=_0xdfc810[_0x4e1a89>>>0x18]<<0x18|_0xdfc810[_0x4e1a89>>>0x10&0xff]<<0x10|_0xdfc810[_0x4e1a89>>>0x8&0xff]<<0x8|_0xdfc810[_0x4e1a89&0xff]):(_0x4e1a89=_0x4e1a89<<0x8|_0x4e1a89>>>0x18,_0x4e1a89=_0xdfc810[_0x4e1a89>>>0x18]<<0x18|_0xdfc810[_0x4e1a89>>>0x10&0xff]<<0x10|_0xdfc810[_0x4e1a89>>>0x8&0xff]<<0x8|_0xdfc810[_0x4e1a89&0xff],_0x4e1a89^=_0x1f1a38[_0xc612f6/_0x250ed1|0x0]<<0x18),_0x9325aa[_0xc612f6]=_0x9325aa[_0xc612f6-_0x250ed1]^_0x4e1a89);for(var _0x54f4e7=this[_0x3981f5(0x384)]=[],_0x32b5d7=0x0;_0x32b5d7<_0x21bf87;_0x32b5d7++){var _0xc612f6=_0x21bf87-_0x32b5d7;if(_0x32b5d7%0x4)var _0x4e1a89=_0x9325aa[_0xc612f6];else var _0x4e1a89=_0x9325aa[_0xc612f6-0x4];_0x32b5d7<0x4||_0xc612f6<=0x4?_0x54f4e7[_0x32b5d7]=_0x4e1a89:_0x54f4e7[_0x32b5d7]=_0x1b65c4[_0xdfc810[_0x4e1a89>>>0x18]]^_0x44352b[_0xdfc810[_0x4e1a89>>>0x10&0xff]]^_0x1c3a77[_0xdfc810[_0x4e1a89>>>0x8&0xff]]^_0x4cd89d[_0xdfc810[_0x4e1a89&0xff]];}}},'encryptBlock':function(_0x28626e,_0x4f0843){var _0x4c1f8f=_0x1edd47;this[_0x4c1f8f(0x168)](_0x28626e,_0x4f0843,this['_keySchedule'],_0x4e997e,_0x3a3260,_0x283a64,_0x50d539,_0xdfc810);},'decryptBlock':function(_0x1d399d,_0x4e1ac6){var _0xa96650=_0x1edd47,_0x883ab7=_0x1d399d[_0x4e1ac6+0x1];_0x1d399d[_0x4e1ac6+0x1]=_0x1d399d[_0x4e1ac6+0x3],_0x1d399d[_0x4e1ac6+0x3]=_0x883ab7,this[_0xa96650(0x168)](_0x1d399d,_0x4e1ac6,this['_invKeySchedule'],_0x1b65c4,_0x44352b,_0x1c3a77,_0x4cd89d,_0x3f82d5);var _0x883ab7=_0x1d399d[_0x4e1ac6+0x1];_0x1d399d[_0x4e1ac6+0x1]=_0x1d399d[_0x4e1ac6+0x3],_0x1d399d[_0x4e1ac6+0x3]=_0x883ab7;},'_doCryptBlock':function(_0x36a85c,_0x5486d7,_0x22d300,_0x133035,_0x5f516a,_0x682c2c,_0x3ff129,_0x1bb7da){var _0x455dec=_0x1edd47;for(var _0x25d84d=this[_0x455dec(0x303)],_0xb11198=_0x36a85c[_0x5486d7]^_0x22d300[0x0],_0x5255e3=_0x36a85c[_0x5486d7+0x1]^_0x22d300[0x1],_0x4afe2b=_0x36a85c[_0x5486d7+0x2]^_0x22d300[0x2],_0x26cc5b=_0x36a85c[_0x5486d7+0x3]^_0x22d300[0x3],_0x50e617=0x4,_0x59bdb0=0x1;_0x59bdb0<_0x25d84d;_0x59bdb0++){var _0x2efa1b=_0x133035[_0xb11198>>>0x18]^_0x5f516a[_0x5255e3>>>0x10&0xff]^_0x682c2c[_0x4afe2b>>>0x8&0xff]^_0x3ff129[_0x26cc5b&0xff]^_0x22d300[_0x50e617++],_0x2f5dd1=_0x133035[_0x5255e3>>>0x18]^_0x5f516a[_0x4afe2b>>>0x10&0xff]^_0x682c2c[_0x26cc5b>>>0x8&0xff]^_0x3ff129[_0xb11198&0xff]^_0x22d300[_0x50e617++],_0x45f44a=_0x133035[_0x4afe2b>>>0x18]^_0x5f516a[_0x26cc5b>>>0x10&0xff]^_0x682c2c[_0xb11198>>>0x8&0xff]^_0x3ff129[_0x5255e3&0xff]^_0x22d300[_0x50e617++],_0x40a99d=_0x133035[_0x26cc5b>>>0x18]^_0x5f516a[_0xb11198>>>0x10&0xff]^_0x682c2c[_0x5255e3>>>0x8&0xff]^_0x3ff129[_0x4afe2b&0xff]^_0x22d300[_0x50e617++];_0xb11198=_0x2efa1b,_0x5255e3=_0x2f5dd1,_0x4afe2b=_0x45f44a,_0x26cc5b=_0x40a99d;}var _0x2efa1b=(_0x1bb7da[_0xb11198>>>0x18]<<0x18|_0x1bb7da[_0x5255e3>>>0x10&0xff]<<0x10|_0x1bb7da[_0x4afe2b>>>0x8&0xff]<<0x8|_0x1bb7da[_0x26cc5b&0xff])^_0x22d300[_0x50e617++],_0x2f5dd1=(_0x1bb7da[_0x5255e3>>>0x18]<<0x18|_0x1bb7da[_0x4afe2b>>>0x10&0xff]<<0x10|_0x1bb7da[_0x26cc5b>>>0x8&0xff]<<0x8|_0x1bb7da[_0xb11198&0xff])^_0x22d300[_0x50e617++],_0x45f44a=(_0x1bb7da[_0x4afe2b>>>0x18]<<0x18|_0x1bb7da[_0x26cc5b>>>0x10&0xff]<<0x10|_0x1bb7da[_0xb11198>>>0x8&0xff]<<0x8|_0x1bb7da[_0x5255e3&0xff])^_0x22d300[_0x50e617++],_0x40a99d=(_0x1bb7da[_0x26cc5b>>>0x18]<<0x18|_0x1bb7da[_0xb11198>>>0x10&0xff]<<0x10|_0x1bb7da[_0x5255e3>>>0x8&0xff]<<0x8|_0x1bb7da[_0x4afe2b&0xff])^_0x22d300[_0x50e617++];_0x36a85c[_0x5486d7]=_0x2efa1b,_0x36a85c[_0x5486d7+0x1]=_0x2f5dd1,_0x36a85c[_0x5486d7+0x2]=_0x45f44a,_0x36a85c[_0x5486d7+0x3]=_0x40a99d;},'keySize':0x100/0x20});_0x41150a['AES']=_0x41479b[_0x1edd47(0xe7)](_0x1dab99);}()),_0x1a5bbd['AES'];}));}(Ve)),Ve[_0x5cb340(0x138)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x3527bc(0x138)],ai;function Ms(){return ai||(ai=0x1,function(_0x298156,_0x4b9617){(function(_0x459a71,_0x18407f){_0x298156['exports']=_0x18407f(ie());}(Ls,function(_0x28af62){var _0x4f34c8=_0x579a;return _0x28af62['enc'][_0x4f34c8(0x2ce)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x3527bc(0x138)],oi;function Hs(){return oi||(oi=0x1,function(_0xdfa2d5,_0x5e68fd){(function(_0x1d3570,_0x37786b){_0xdfa2d5['exports']=_0x37786b(ie());}($s,function(_0x25cacc){var _0x4c03d6=_0x579a;return(function(){var _0x14a818=_0x579a;if(typeof ArrayBuffer==_0x14a818(0x20d)){var _0x88d84a=_0x25cacc,_0x1784b9=_0x88d84a[_0x14a818(0xda)],_0x188ac1=_0x1784b9[_0x14a818(0x188)],_0x312713=_0x188ac1[_0x14a818(0xff)],_0x12b29a=_0x188ac1[_0x14a818(0xff)]=function(_0x12cac9){var _0x35a4b3=_0x14a818;if(_0x12cac9 instanceof ArrayBuffer&&(_0x12cac9=new Uint8Array(_0x12cac9)),(_0x12cac9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x12cac9 instanceof Uint8ClampedArray||_0x12cac9 instanceof Int16Array||_0x12cac9 instanceof Uint16Array||_0x12cac9 instanceof Int32Array||_0x12cac9 instanceof Uint32Array||_0x12cac9 instanceof Float32Array||_0x12cac9 instanceof Float64Array)&&(_0x12cac9=new Uint8Array(_0x12cac9[_0x35a4b3(0x9c)],_0x12cac9[_0x35a4b3(0x13b)],_0x12cac9[_0x35a4b3(0x270)])),_0x12cac9 instanceof Uint8Array){for(var _0x2e1674=_0x12cac9[_0x35a4b3(0x270)],_0x4e1a21=[],_0x403bd7=0x0;_0x403bd7<_0x2e1674;_0x403bd7++)_0x4e1a21[_0x403bd7>>>0x2]|=_0x12cac9[_0x403bd7]<<0x18-_0x403bd7%0x4*0x8;_0x312713[_0x35a4b3(0x176)](this,_0x4e1a21,_0x2e1674);}else _0x312713[_0x35a4b3(0x294)](this,arguments);};_0x12b29a['prototype']=_0x188ac1;}}()),_0x25cacc[_0x4c03d6(0xda)][_0x4c03d6(0x188)];}));}(Ze)),Ze['exports'];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x3527bc(0x138)],ci;function Vs(){var _0x4c8c97=_0x3527bc;return ci||(ci=0x1,function(_0x1fee6e,_0x1ebdc6){(function(_0x5eb931,_0x254318,_0x2af2f1){_0x1fee6e['exports']=_0x254318(ie(),Ai());}(Fs,function(_0x93cd86){var _0x4540e4=_0x579a;return _0x93cd86[_0x4540e4(0xb2)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x93cd86[_0x4540e4(0xb2)][_0x4540e4(0x369)];}));}(Qe)),Qe[_0x4c8c97(0x138)];}var Gs=Vs();const Ws=He(Gs);function Ys(_0x147a4f,_0x3962cc){var _0x1fd6f6=_0x3527bc;const _0x2570a8=_0x3962cc-_0x147a4f['length']%_0x3962cc,_0x1a37ca=String[_0x1fd6f6(0x1bc)](_0x2570a8)[_0x1fd6f6(0x314)](_0x2570a8);return _0x147a4f+_0x1a37ca;}function Ks(_0x12d773,_0x88423b){var _0x4a15f9=_0x3527bc;const _0x4ce70f=js['random'](0x10),_0x314f01=Ys(_0x12d773,0x10),_0x5c629b=ws[_0x4a15f9(0x27b)](ks[_0x4a15f9(0x2e2)](_0x314f01),ri['parse'](_0x88423b),{'iv':_0x4ce70f,'padding':Ws});return _0x4ce70f[_0x4a15f9(0x363)](_0x5c629b[_0x4a15f9(0x130)])['toString'](ri);}function qs(){var _0x5d38c2=_0x3527bc;const _0xb59fba=_0x57b992()[_0x5d38c2(0x222)];if(_0xb59fba){const _0x362e6d={'time':Math[_0x5d38c2(0x17b)](Date[_0x5d38c2(0x391)]()/0x3e8),'domain':location[_0x5d38c2(0x213)]};return Ks(JSON[_0x5d38c2(0x12c)](_0x362e6d),_0xb59fba);}}var zs=Object[_0x3527bc(0xf5)],Js=(_0x256e5a,_0x1cc295,_0x1c75d2,_0x47f4e4)=>{var _0x283733=_0x3527bc;for(var _0x4c8e90=_0x47f4e4>0x1?void 0x0:_0x47f4e4?zs(_0x1cc295,_0x1c75d2):_0x1cc295,_0x3e5c10=_0x256e5a[_0x283733(0x283)]-0x1,_0xd1c4;_0x3e5c10>=0x0;_0x3e5c10--)(_0xd1c4=_0x256e5a[_0x3e5c10])&&(_0x4c8e90=_0xd1c4(_0x4c8e90)||_0x4c8e90);return _0x4c8e90;},Xs=(_0xc8d2b1,_0x1ec004)=>(_0x46677e,_0x4da6c9)=>_0x1ec004(_0x46677e,_0x4da6c9,_0xc8d2b1);let at=class{constructor(_0x38f979){var _0x59c7ff=_0x3527bc;this[_0x59c7ff(0xf8)]=_0x38f979,this['_initRequestHeader']();}[_0x3527bc(0x254)](){var _0x598080=_0x3527bc;this[_0x598080(0xf8)][_0x598080(0x17c)]({'interceptor':(_0x2b6b88,_0x293698)=>{var _0x14a628=_0x598080;const _0x5949d6=_0x2b6b88['headers'],_0x554bc2=qs();return _0x554bc2&&_0x5949d6[_0x14a628(0x15e)](_0x14a628(0x1da),_0x554bc2),_0x293698(_0x2b6b88);}});}};at=Js([Xs(0x0,_0x316576(_0x2111ef))],at);var Zs=Object[_0x3527bc(0xf5)],Qs=(_0x2c5ecf,_0x282d37,_0x5d724f,_0x50712d)=>{var _0x30ea4b=_0x3527bc;for(var _0x1b84fe=_0x50712d>0x1?void 0x0:_0x50712d?Zs(_0x282d37,_0x5d724f):_0x282d37,_0x49a5a3=_0x2c5ecf[_0x30ea4b(0x283)]-0x1,_0x550c54;_0x49a5a3>=0x0;_0x49a5a3--)(_0x550c54=_0x2c5ecf[_0x49a5a3])&&(_0x1b84fe=_0x550c54(_0x1b84fe)||_0x1b84fe);return _0x1b84fe;},mt=(_0x591461,_0x5642b0)=>(_0x1567f7,_0x1e8c62)=>_0x5642b0(_0x1567f7,_0x1e8c62,_0x591461);let bt=class extends _0x4a34ad{constructor(_0x387083,_0x46f2eb,_0x292c03){var _0x279127=_0x3527bc;super(),N(this,_0x279127(0x1b1),new _0x28f0cd(null)),N(this,_0x279127(0x1d2),this[_0x279127(0x1b1)][_0x279127(0x2c4)]()),(this[_0x279127(0x2ed)]=_0x387083,this['_snapshotService']=_0x46f2eb,this[_0x279127(0x2e4)]=_0x292c03);}async[_0x3527bc(0x2d2)](_0x46986b,_0x48c0eb,_0x50fe66){var _0x54b5a9=_0x3527bc;this['_unitInfo$'][_0x54b5a9(0x280)]({'unitId':_0x46986b,'type':_0x48c0eb,'subUnitId':_0x50fe66});let _0x29f171=null;switch(_0x48c0eb){case Q[_0x54b5a9(0x1b0)]:{_0x29f171=await this[_0x54b5a9(0xc0)](_0x46986b);break;}case Q['UNIVER_DOC']:{_0x29f171=await this[_0x54b5a9(0xfa)](_0x46986b);break;}default:{this['_logService'][_0x54b5a9(0xe6)](_0x54b5a9(0x12b),_0x54b5a9(0x24d));break;}}return _0x29f171;}async['_loadSheet'](_0x542114){var _0x4a4634=_0x3527bc,_0x36c868;let _0x575a76=0x0;const _0x1abdcd=await((_0x36c868=this[_0x4a4634(0x2e4)])==null?void 0x0:_0x36c868[_0x4a4634(0x272)](_0x542114));return _0x1abdcd&&(_0x1abdcd['awaitingChangeset']||_0x1abdcd[_0x4a4634(0x2c7)][_0x4a4634(0x283)]!==0x0)&&(_0x575a76=_0x1abdcd[_0x4a4634(0x1a3)]),_0x575a76===0x0&&this[_0x4a4634(0x2ed)][_0x4a4634(0x13a)](_0x4a4634(0x12b),_0x4a4634(0x19a)),this['_snapshotService']['loadSheet'](_0x542114,_0x575a76);}async[_0x3527bc(0xfa)](_0x2e1fd1){var _0x3a5672=_0x3527bc,_0x214002;let _0x1364ae=0x0;const _0x35d716=await((_0x214002=this[_0x3a5672(0x2e4)])==null?void 0x0:_0x214002['loadOfflineData'](_0x2e1fd1));return _0x35d716&&(_0x35d716[_0x3a5672(0x269)]||_0x35d716['mutations'][_0x3a5672(0x283)]!==0x0)&&(_0x1364ae=_0x35d716[_0x3a5672(0x1a3)]),_0x1364ae===0x0&&this[_0x3a5672(0x2ed)][_0x3a5672(0x13a)]('[DataLoaderService]',_0x3a5672(0x19a)),this[_0x3a5672(0x9e)][_0x3a5672(0x10e)](_0x2e1fd1,_0x1364ae);}};bt=Qs([mt(0x0,_0x12a8cc),mt(0x1,_0x316576(_0x2961ee)),mt(0x2,_0x40f615(J))],bt);var er=Object[_0x3527bc(0xf5)],tr=(_0x2cebe5,_0x2bed79,_0x34e7c2,_0x35999f)=>{var _0x5315ad=_0x3527bc;for(var _0x497fbd=_0x35999f>0x1?void 0x0:_0x35999f?er(_0x2bed79,_0x34e7c2):_0x2bed79,_0x541c18=_0x2cebe5[_0x5315ad(0x283)]-0x1,_0x33fa46;_0x541c18>=0x0;_0x541c18--)(_0x33fa46=_0x2cebe5[_0x541c18])&&(_0x497fbd=_0x33fa46(_0x497fbd)||_0x497fbd);return _0x497fbd;},gt=(_0x5f5136,_0x22cb8e)=>(_0x48b64f,_0x4f1feb)=>_0x22cb8e(_0x48b64f,_0x4f1feb,_0x5f5136);const ir=['image/png',_0x3527bc(0xf7),_0x3527bc(0x368),'image/gif',_0x3527bc(0x110)],nr=0x5*0x400*0x400,sr=_0x3527bc(0x149),rr='/universer-api/stream/file/upload',ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x112983,_0x49edcb,_0x27471f){var _0x61a81c=_0x3527bc;N(this,_0x61a81c(0xbd),0x0),N(this,_0x61a81c(0x2fc),new _0x276857()),N(this,_0x61a81c(0x124),this[_0x61a81c(0x2fc)]),N(this,_0x61a81c(0x255),new Map()),(this['_httpService']=_0x112983,this[_0x61a81c(0x21e)]=_0x49edcb,this[_0x61a81c(0xc4)]=_0x27471f);}[_0x3527bc(0x341)](_0x526faa){var _0x2ce2de=_0x3527bc;this[_0x2ce2de(0xbd)]=_0x526faa,this[_0x2ce2de(0x2fc)][_0x2ce2de(0x280)](_0x526faa);}[_0x3527bc(0x1a4)](_0x1cb2f9,_0x100cc0){var _0x1f347a=_0x3527bc;if(_0x100cc0===_0x1b1704[_0x1f347a(0x29a)]){const _0x165f2c=new Image();return _0x165f2c['src']=_0x1cb2f9,_0x165f2c;}return this[_0x1f347a(0x255)]['get'](_0x1cb2f9);}[_0x3527bc(0x1f5)](_0x3f9e67,_0x4f4500,_0x5c4f7d){var _0x287bab=_0x3527bc;_0x4f4500===_0x1b1704['BASE64']||_0x5c4f7d==null||this['_imageSourceCache'][_0x287bab(0x15e)](_0x3f9e67,_0x5c4f7d);}async[_0x3527bc(0x221)](_0x354d42){var _0x59186e=_0x3527bc;try{const _0x2572d8=this[_0x59186e(0x198)](this[_0x59186e(0x103)](),''+_0x354d42),_0x2b4875=(await this[_0x59186e(0xf8)]['get'](_0x2572d8))['body'];if(_0x2b4875[_0x59186e(0xe6)]&&_0x2b4875['error'][_0x59186e(0x38e)]===Si['OK']){const _0x2d5156=new URL(_0x2b4875['url'],this[_0x59186e(0x2b7)]())[_0x59186e(0x1d0)]();return Promise[_0x59186e(0x2f6)](_0x2d5156);}return Promise['reject'](_0x2b4875[_0x59186e(0xe6)]);}catch(_0x142b6c){return Promise[_0x59186e(0x153)](_0x142b6c);}}async[_0x3527bc(0x17a)](_0xb364b){var _0x1a3424=_0x3527bc;let _0xc017a5='';if(!ir[_0x1a3424(0x98)](_0xb364b[_0x1a3424(0x1b7)]))return this[_0x1a3424(0x1eb)](),Promise['reject'](new Error(_0x402439['ERROR_IMAGE_TYPE']));if(_0xb364b[_0x1a3424(0xf6)]>nr)return this[_0x1a3424(0x1eb)](),Promise[_0x1a3424(0x153)](new Error(_0x402439[_0x1a3424(0x26d)]));try{const _0x5952f3=new FormData();_0x5952f3['append'](_0x1a3424(0x32b),_0xb364b);const _0x3a8b7a=this[_0x1a3424(0xc4)][_0x1a3424(0xde)](),_0x133a35=_0x3a8b7a==null?void 0x0:_0x3a8b7a['getUnitId']();if(!_0x133a35)throw new Error(_0x1a3424(0x203));const _0x197170=this[_0x1a3424(0x15d)]()+_0x1a3424(0x8e)+_0xb364b['size'][_0x1a3424(0x1d0)]()+_0x1a3424(0x1be)+Ei[_0x1a3424(0xab)]+_0x1a3424(0x2ca)+encodeURIComponent(_0x133a35),_0x1be958={'body':_0x5952f3},_0x5ac855=(await this[_0x1a3424(0xf8)][_0x1a3424(0x2ae)](_0x197170,_0x1be958))[_0x1a3424(0x253)];if(typeof _0x5ac855[_0x1a3424(0x266)]!=_0x1a3424(0x114))return this[_0x1a3424(0x1eb)](),Promise['reject'](new Error(_0x402439[_0x1a3424(0x21b)]));_0xc017a5=_0x5ac855[_0x1a3424(0x266)];}catch{return this[_0x1a3424(0x1eb)](),Promise[_0x1a3424(0x153)](new Error(_0x402439[_0x1a3424(0x21b)]));}return new Promise((_0x3b7cde,_0x2fa318)=>{const _0x28b89e=new FileReader();_0x28b89e['readAsDataURL'](_0xb364b),_0x28b89e['onload']=_0x5742e6=>{var _0x4ba4d4=_0x579a,_0x1cb76e;const _0x4d6dc7=(_0x1cb76e=_0x5742e6[_0x4ba4d4(0x273)])==null?void 0x0:_0x1cb76e[_0x4ba4d4(0x12d)];if(_0x4d6dc7==null){this[_0x4ba4d4(0x1eb)](),_0x2fa318(new Error(_0x402439[_0x4ba4d4(0x21b)]));return;}const _0x18c85f=_0x152b64[_0x4ba4d4(0x24a)](0x6);_0x3b7cde({'imageId':_0x18c85f,'imageSourceType':_0x1b1704[_0x4ba4d4(0x19b)],'source':_0xc017a5,'base64Cache':_0x4d6dc7,'status':_0x402439[_0x4ba4d4(0x84)]}),this[_0x4ba4d4(0x1eb)]();};});}[_0x3527bc(0x15d)](){var _0x21b84f=_0x3527bc,_0x41ff90,_0x5d7e02;const _0x3fbbd3=this['_configService'][_0x21b84f(0x183)](sr),_0x662668=this[_0x21b84f(0x21e)][_0x21b84f(0x183)](q);return(_0x5d7e02=(_0x41ff90=_0x662668==null?void 0x0:_0x662668[_0x21b84f(0x1c6)])!=null?_0x41ff90:_0x3fbbd3)!=null?_0x5d7e02:rr;}[_0x3527bc(0x103)](){var _0x3948ef=_0x3527bc,_0x3c4aa,_0x39c9c3;const _0x34a19e=this[_0x3948ef(0x21e)][_0x3948ef(0x183)](ar),_0x31c10d=this[_0x3948ef(0x21e)][_0x3948ef(0x183)](q);return(_0x39c9c3=(_0x3c4aa=_0x31c10d==null?void 0x0:_0x31c10d['signUrlServerUrl'])!=null?_0x3c4aa:_0x34a19e)!=null?_0x39c9c3:or;}[_0x3527bc(0x2b7)](){var _0x3629e3=_0x3527bc,_0x5dad31;const _0x524a3d=this[_0x3629e3(0x21e)][_0x3629e3(0x183)](q);return(_0x5dad31=_0x524a3d==null?void 0x0:_0x524a3d['downloadEndpointUrl'])!=null?_0x5dad31:location['origin'];}[_0x3527bc(0x198)](_0x41cb6e,_0x1eb634){var _0x496c42=_0x3527bc;return _0x41cb6e[_0x496c42(0x25e)](_0x496c42(0x144),_0x1eb634);}['_decreaseWaiting'](){var _0x31b69b=_0x3527bc;this['_waitCount']-=0x1,this[_0x31b69b(0x2fc)][_0x31b69b(0x280)](this['_waitCount']);}};Ot=tr([gt(0x0,_0x316576(_0x2111ef)),gt(0x1,_0x1f147a),gt(0x2,_0x316576(_0x44db50))],Ot);var cr=Object[_0x3527bc(0xf5)],hr=(_0x4c38b8,_0x23c686,_0x4a0a3b,_0x22f19e)=>{for(var _0x25dd2e=_0x22f19e>0x1?void 0x0:_0x22f19e?cr(_0x23c686,_0x4a0a3b):_0x23c686,_0x27e3c5=_0x4c38b8['length']-0x1,_0x44807c;_0x27e3c5>=0x0;_0x27e3c5--)(_0x44807c=_0x4c38b8[_0x27e3c5])&&(_0x25dd2e=_0x44807c(_0x25dd2e)||_0x25dd2e);return _0x25dd2e;},hi=(_0x4c7291,_0x20dd60)=>(_0x4c908c,_0x45f5e0)=>_0x20dd60(_0x4c908c,_0x45f5e0,_0x4c7291);const _r=_0x3527bc(0x31a);let yt=class{constructor(_0x58f032,_0xedff7b){var _0x15c8f1=_0x3527bc;this['_configService']=_0x58f032,this[_0x15c8f1(0x136)]=_0xedff7b;}['_getAPIPrefixPath'](){var _0x4495de=_0x3527bc,_0x57ba10,_0x4b82c2;const _0x3911f9=this['_configService'][_0x4495de(0x183)](Ni),_0x5926a8=this[_0x4495de(0x21e)][_0x4495de(0x183)](q);return(_0x4b82c2=(_0x57ba10=_0x5926a8==null?void 0x0:_0x5926a8[_0x4495de(0x100)])!=null?_0x57ba10:_0x3911f9)!=null?_0x4b82c2:_r;}async[_0x3527bc(0x166)](_0x34fa74){var _0xf5ee72=_0x3527bc;const _0x7a80f7=this['_getAPIPrefixPath']()+_0xf5ee72(0x2f7);return{'list':[{'title':_0xf5ee72(0x1f9),'mentions':(await this[_0xf5ee72(0x136)][_0xf5ee72(0x16c)](_0x7a80f7,{'params':{'objectID':_0x34fa74['unitId'],'unitID':_0x34fa74['unitId']}}))[_0xf5ee72(0x253)]['collaborators'][_0xf5ee72(0x2d7)](_0x22b86=>({'objectId':_0x22b86['id'],'name':_0x22b86[_0xf5ee72(0x115)][_0xf5ee72(0x2b5)],'metadata':{'icon':_0x22b86['subject'][_0xf5ee72(0xfb)]},'label':_0x22b86[_0xf5ee72(0x115)][_0xf5ee72(0x2b5)],'objectType':_0x4dd4e4[_0xf5ee72(0x25b)]})),'metadata':{},'type':_0x4dd4e4[_0xf5ee72(0x25b)]}]};}};yt=hr([hi(0x0,_0x316576(_0x1f147a)),hi(0x1,_0x316576(_0x2111ef))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x57fe35,_0x21c873,_0x3a3810,_0x15babf)=>{var _0x2c4fe9=_0x3527bc;for(var _0x36076d=_0x15babf>0x1?void 0x0:_0x15babf?lr(_0x21c873,_0x3a3810):_0x21c873,_0x406e10=_0x57fe35[_0x2c4fe9(0x283)]-0x1,_0x3da8b7;_0x406e10>=0x0;_0x406e10--)(_0x3da8b7=_0x57fe35[_0x406e10])&&(_0x36076d=_0x3da8b7(_0x36076d)||_0x36076d);return _0x36076d;},we=(_0x4b86d0,_0x2a4648)=>(_0x487640,_0x121c80)=>_0x2a4648(_0x487640,_0x121c80,_0x4b86d0);let ot=class extends _0x4a34ad{constructor(_0x193747,_0x40bf3f,_0x4de060,_0x3acd0d,_0x38f051){var _0x1f50f9=_0x3527bc;super(),this[_0x1f50f9(0x2d6)]=_0x193747,this[_0x1f50f9(0xc4)]=_0x40bf3f,this[_0x1f50f9(0x135)]=_0x4de060,this[_0x1f50f9(0xb0)]=_0x3acd0d,this[_0x1f50f9(0x377)]=_0x38f051,this['_initUnitPermissionChange'](),this[_0x1f50f9(0x219)]();}['_initCloseConn'](){var _0x16e89b=_0x3527bc;const _0xdb9583=async _0x594b96=>{var _0x17af41=_0x579a;(await this[_0x17af41(0xb0)]['requireSession'](_0x594b96))[_0x17af41(0x179)][_0x17af41(0x290)](_0x35e324(_0x319282=>_0x319282[_0x17af41(0x142)]===_0x43939e[_0x17af41(0x316)]),_0x5ee684(this['dispose$']))[_0x17af41(0x151)](_0x49ed81=>{var _0x1ba7aa=_0x17af41;const _0x59dbfb=_0x49ed81,{reason:_0x39503b}=_0x59dbfb[_0x1ba7aa(0x1a0)];this[_0x1ba7aa(0x377)]['emitEvent']({'id':re[_0x1ba7aa(0x1ab)],'data':_0x39503b}),this[_0x1ba7aa(0x135)][_0x1ba7aa(0x108)](new _0x41bfe5(_0x594b96)['id'],!0x1),this['_collaborationSessionService'][_0x1ba7aa(0xc2)](_0x594b96);});};_0x48fd88(this['_univerInstanceService'][_0x16e89b(0x1f4)](_0x1f2450[_0x16e89b(0x1b0)]),this[_0x16e89b(0xc4)]['getTypeOfUnitAdded$'](_0x1f2450[_0x16e89b(0x38a)]))[_0x16e89b(0x290)](_0xc31e53(_0xf804ff=>_0xf804ff[_0x16e89b(0x1e6)]()),_0x35e324(_0x457c42=>!_0x56b013(_0x457c42)),_0x5ee684(this[_0x16e89b(0x30f)]))[_0x16e89b(0x151)](_0x8842c6=>{_0xdb9583(_0x8842c6);});}[_0x3527bc(0xa1)](){var _0x354619=_0x3527bc;const _0x2728e9=async _0x404ba9=>{var _0xa0a4ae=_0x579a;const _0xa6e3c1=await this[_0xa0a4ae(0xb0)][_0xa0a4ae(0x351)](_0x404ba9),_0x3dcc76=this[_0xa0a4ae(0x2d6)][_0xa0a4ae(0x16c)](_0x175ecc);_0xa6e3c1[_0xa0a4ae(0x179)][_0xa0a4ae(0x290)](_0x35e324(_0x268c1e=>_0x268c1e['eventID']===_0x43939e[_0xa0a4ae(0x127)]),_0x5ee684(this[_0xa0a4ae(0x30f)]))[_0xa0a4ae(0x151)](_0x3f0163=>{var _0x2d9744=_0xa0a4ae;const _0x4ad686=_0x3f0163,{objectId:_0x45348b}=_0x4ad686['data'];_0x45348b===_0x404ba9?_0x3dcc76[_0x2d9744(0x31d)](_0x404ba9):_0x3dcc76[_0x2d9744(0x279)](_0x404ba9,_0x45348b);});};_0x48fd88(this[_0x354619(0xc4)][_0x354619(0x1f4)](_0x1f2450[_0x354619(0x1b0)]))[_0x354619(0x290)](_0xc31e53(_0x4ec696=>_0x4ec696[_0x354619(0x1e6)]()),_0x35e324(_0x4f6689=>!_0x56b013(_0x4f6689)),_0x5ee684(this[_0x354619(0x30f)]))[_0x354619(0x151)](_0x203365=>{_0x2728e9(_0x203365);});}};ot=ur([we(0x0,_0x316576(_0x2f1087)),we(0x1,_0x44db50),we(0x2,_0x1a815c),we(0x3,_0x316576(Me)),we(0x4,_0x316576(pe))],ot);var dr=Object[_0x3527bc(0xf5)],fr=(_0x46385f,_0x504e36,_0x371fe7,_0x3388dd)=>{var _0xb80a14=_0x3527bc;for(var _0x1958df=_0x3388dd>0x1?void 0x0:_0x3388dd?dr(_0x504e36,_0x371fe7):_0x504e36,_0x358933=_0x46385f[_0xb80a14(0x283)]-0x1,_0x6a7cb4;_0x358933>=0x0;_0x358933--)(_0x6a7cb4=_0x46385f[_0x358933])&&(_0x1958df=_0x6a7cb4(_0x1958df)||_0x1958df);return _0x1958df;},_i=(_0x3415e4,_0x30234c)=>(_0x7c4480,_0x4ee234)=>_0x30234c(_0x7c4480,_0x4ee234,_0x3415e4);let Nt=class{constructor(_0x2b3e31,_0x3e5acc){var _0x2b0cb3=_0x3527bc;this[_0x2b0cb3(0x21e)]=_0x2b3e31,this[_0x2b0cb3(0xf8)]=_0x3e5acc;}async[_0x3527bc(0x2a6)](_0x14608b,_0x6949f3){var _0x267c8a=_0x3527bc,_0x2fb496;const {unitID:_0x1dc26f,type:_0x55d389,revision:_0x2afdca=0x0}=_0x6949f3,_0x2756c2=this[_0x267c8a(0x1d5)]()+'/'+_0x55d389+_0x267c8a(0xc9)+_0x1dc26f+_0x267c8a(0x189)+_0x2afdca,_0x4b514d=(await this[_0x267c8a(0xf8)][_0x267c8a(0x16c)](_0x2756c2))['body'],_0x224491=(_0x2fb496=_0x4b514d[_0x267c8a(0x2fd)])==null?void 0x0:_0x2fb496[_0x267c8a(0xc5)];if(_0x224491){const _0x56f62e=_0x224491==null?void 0x0:_0x224491['originalMeta'],_0xf714ba=_0x282826['encode'](_0x42d520(_0x56f62e));_0x224491[_0x267c8a(0x36f)]=_0xf714ba,Object[_0x267c8a(0x8b)](_0x224491[_0x267c8a(0x30a)])[_0x267c8a(0x21a)](([,_0x4d2fc3])=>{var _0x52f5fa=_0x267c8a;const _0x2ab428=_0x4d2fc3[_0x52f5fa(0x36f)],_0x56a1f5=_0x282826[_0x52f5fa(0x37d)](_0x42d520(_0x2ab428));_0x4d2fc3[_0x52f5fa(0x36f)]=_0x56a1f5;});}return _0x4b514d;}async[_0x3527bc(0xdd)](_0x194bdd,_0x5dc4aa){var _0xa41f82=_0x3527bc;const {unitID:_0x399eed,type:_0x1d344b,blockID:_0x2d0031}=_0x5dc4aa,_0x171700=this['_getAPIPrefix']()+'/'+_0x1d344b+_0xa41f82(0xc9)+_0x399eed+_0xa41f82(0x1e2)+_0x2d0031;return(await this[_0xa41f82(0xf8)][_0xa41f82(0x16c)](_0x171700))[_0xa41f82(0x253)];}async[_0x3527bc(0x2c1)](_0x467240,_0x17b22b){var _0x8585c3=_0x3527bc;const {unitID:_0x1e2528,type:_0x452c9b,blockID:_0x34de62}=_0x17b22b,_0x2de435=this[_0x8585c3(0x215)]()+_0x8585c3(0x1e2)+_0x452c9b+_0x8585c3(0xc9)+_0x1e2528+'/block/'+_0x34de62;return(await this[_0x8585c3(0xf8)]['get'](_0x2de435))[_0x8585c3(0x253)];}async[_0x3527bc(0xdf)](_0x2c0ee5,_0x4f7015){var _0x1ae10b=_0x3527bc;const {unitID:_0x694c18,type:_0x4525bd,from:_0x56ca64,to:_0x423b60}=_0x4f7015,_0x2ba456=this[_0x1ae10b(0x215)]()+'/'+_0x4525bd+_0x1ae10b(0xc9)+_0x694c18+_0x1ae10b(0x23c)+_0x56ca64+_0x1ae10b(0x2f4)+_0x423b60;return(await this[_0x1ae10b(0xf8)][_0x1ae10b(0x16c)](_0x2ba456))['body'];}[_0x3527bc(0x1d5)](){var _0x332c8c=_0x3527bc,_0x5e37c5;return(_0x5e37c5=this[_0x332c8c(0x21e)][_0x332c8c(0x183)](Sn))!=null?_0x5e37c5:this['_getAPIPrefix']();}[_0x3527bc(0x215)](){var _0x12a231=_0x3527bc,_0x162843,_0x375e87;const _0x24585c=this[_0x12a231(0x21e)][_0x12a231(0x183)](mn),_0x17bf48=this['_configService'][_0x12a231(0x183)](q);return(_0x375e87=(_0x162843=_0x17bf48==null?void 0x0:_0x17bf48[_0x12a231(0xef)])!=null?_0x162843:_0x24585c)!=null?_0x375e87:gn;}async[_0x3527bc(0x148)](_0x22fcd3,_0x4afbf6){var _0x154984=_0x3527bc;const _0x85d62b=_0x154984(0xf1)+_0x4afbf6[_0x154984(0x1b7)]+_0x154984(0xc9)+_0x4afbf6[_0x154984(0x319)]+_0x154984(0x1e8);return(await this[_0x154984(0xf8)][_0x154984(0x16c)](_0x85d62b,{'params':{'resourceId':JSON[_0x154984(0x12c)](_0x4afbf6['resourceIDs'])}}))[_0x154984(0x253)];}[_0x3527bc(0x2b4)](){var _0x5659b4=_0x3527bc;throw new Error(_0x5659b4(0xfc));}[_0x3527bc(0xe4)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3527bc(0x134)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3527bc(0x180)](){var _0x47637e=_0x3527bc;throw new Error(_0x47637e(0xfc));}[_0x3527bc(0x248)](){var _0x395fed=_0x3527bc;throw new Error(_0x395fed(0xfc));}};Nt=fr([_i(0x0,_0x1f147a),_i(0x1,_0x316576(_0x2111ef))],Nt);var vr=Object[_0x3527bc(0xf5)],pr=(_0x430272,_0x3edfa0,_0x5a89f3,_0x2d1929)=>{for(var _0x42fd5a=_0x2d1929>0x1?void 0x0:_0x2d1929?vr(_0x3edfa0,_0x5a89f3):_0x3edfa0,_0x1e3d9f=_0x430272['length']-0x1,_0x2d6c8b;_0x1e3d9f>=0x0;_0x1e3d9f--)(_0x2d6c8b=_0x430272[_0x1e3d9f])&&(_0x42fd5a=_0x2d6c8b(_0x42fd5a)||_0x42fd5a);return _0x42fd5a;},Pe=(_0x200697,_0x5e8cdd)=>(_0x429ba9,_0x403f53)=>_0x5e8cdd(_0x429ba9,_0x403f53,_0x200697);let Dt=class extends _0x2e4a10{constructor(_0x34bae5,_0x5030f9,_0x4614de,_0x268af9,_0x40dd00){var _0x1e9983=_0x3527bc;super(_0x34bae5,_0x5030f9,_0x4614de),this[_0x1e9983(0x8d)]=_0x268af9,this['_logService']=_0x40dd00;}[_0x3527bc(0x242)](_0x252695,_0x5ee8ae){var _0x5236cb=_0x3527bc;const _0x401f21=this[_0x5236cb(0x14c)](_0x252695);if(_0x401f21)try{const _0x2b0956=this[_0x5236cb(0x116)](_0x401f21,_0x5ee8ae);this[_0x5236cb(0x113)](_0x252695,_0x2b0956);}catch(_0x477837){this['_logService'][_0x5236cb(0xe6)](_0x5236cb(0x118),_0x477837),this['_clearUndo'](_0x252695);}const _0x324a05=this[_0x5236cb(0xa8)](_0x252695);if(_0x324a05)try{const _0x4eae69=this[_0x5236cb(0x116)](_0x324a05,_0x5ee8ae);this[_0x5236cb(0x252)](_0x252695,_0x4eae69);}catch(_0x5e904d){this[_0x5236cb(0x2ed)][_0x5236cb(0xe6)](_0x5e904d),this[_0x5236cb(0x200)](_0x252695);}}['_clearUndo'](_0x2674b2){var _0x21df18=_0x3527bc;const _0x356ddc=this[_0x21df18(0x14c)](_0x2674b2);_0x356ddc&&(_0x356ddc[_0x21df18(0x283)]=0x0,this[_0x21df18(0x152)]());}[_0x3527bc(0x200)](_0x2c020c){var _0x224f81=_0x3527bc;const _0x16cb0c=this[_0x224f81(0xa8)](_0x2c020c);_0x16cb0c&&(_0x16cb0c[_0x224f81(0x283)]=0x0,this[_0x224f81(0x152)]());}[_0x3527bc(0x113)](_0xa643fd,_0x15ab1b){this['_undoStacks']['set'](_0xa643fd,_0x15ab1b),this['_updateStatus']();}[_0x3527bc(0x252)](_0x1d2970,_0x5d8640){var _0x2eac0c=_0x3527bc;this[_0x2eac0c(0x2e6)][_0x2eac0c(0x15e)](_0x1d2970,_0x5d8640),this['_updateStatus']();}[_0x3527bc(0x116)](_0x47cf0b,_0x21e181){var _0x445201=_0x3527bc;const _0x4dee5c=[];let _0x18a3b3=_0x21e181,_0x57c96f=_0x21e181;for(let _0x525f9a=_0x47cf0b[_0x445201(0x283)]-0x1;_0x525f9a>=0x0;_0x525f9a--){const {unitID:_0x302c12,undoMutations:_0x2f8bfa,redoMutations:_0x2f61a8}=_0x47cf0b[_0x525f9a],_0x5ce61d=this['_transformService'][_0x445201(0x232)](_0x18a3b3,_0x2f8bfa),_0x23d069=this[_0x445201(0x8d)][_0x445201(0x232)](_0x57c96f,_0x2f61a8);if(_0x2c1739(_0x5ce61d)||_0x2c1739(_0x23d069)){this[_0x445201(0x2ed)][_0x445201(0xe6)]('[CollaborationUndoRedoService]',_0x445201(0x194),_0x5ce61d,_0x23d069);break;}_0x18a3b3=_0x5ce61d['c1Prime'],_0x57c96f=_0x23d069[_0x445201(0x244)],_0x4dee5c[_0x445201(0x32d)]({'unitID':_0x302c12,'undoMutations':_0x5ce61d[_0x445201(0x378)],'redoMutations':_0x23d069[_0x445201(0x378)]});}return _0x4dee5c[_0x445201(0x126)]();}};Dt=pr([Pe(0x0,_0x44db50),Pe(0x1,_0x3d3bf2),Pe(0x2,_0x6a6c7),Pe(0x3,_0xcbb9b),Pe(0x4,_0x12a8cc)],Dt);var mr=Object[_0x3527bc(0x109)],gr=Object[_0x3527bc(0xf5)],Sr=(_0x225534,_0xc2d8e3,_0x388608)=>_0xc2d8e3 in _0x225534?mr(_0x225534,_0xc2d8e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x388608}):_0x225534[_0xc2d8e3]=_0x388608,Er=(_0x2f74ed,_0x2a1874,_0x282a25,_0x3527bf)=>{var _0x56dabc=_0x3527bc;for(var _0x5938de=_0x3527bf>0x1?void 0x0:_0x3527bf?gr(_0x2a1874,_0x282a25):_0x2a1874,_0xe2bac0=_0x2f74ed[_0x56dabc(0x283)]-0x1,_0x4174ba;_0xe2bac0>=0x0;_0xe2bac0--)(_0x4174ba=_0x2f74ed[_0xe2bac0])&&(_0x5938de=_0x4174ba(_0x5938de)||_0x5938de);return _0x5938de;},St=(_0x2e07ae,_0x2bc02c)=>(_0x538cd1,_0x360cb3)=>_0x2bc02c(_0x538cd1,_0x360cb3,_0x2e07ae),Ir=(_0x3db1bc,_0x39e0ce,_0x232fbf)=>Sr(_0x3db1bc,_0x39e0ce+'',_0x232fbf);const Tr=_0x3527bc(0x320);let Ut=class extends _0x543877{constructor(_0x855a2a,_0x369bca,_0x171daf,_0x526ee1){var _0x2a99eb=_0x3527bc;super(),N(this,_0x2a99eb(0x2dd)),(this[_0x2a99eb(0x2ed)]=_0x369bca,this[_0x2a99eb(0x2d6)]=_0x171daf,this[_0x2a99eb(0x21e)]=_0x526ee1);const {..._0x3c9eb1}=_0x30a2fd({},wn,_0x855a2a);if(!_0x3c9eb1[_0x2a99eb(0x292)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this['_config']=_0x3c9eb1,this[_0x2a99eb(0x21e)][_0x2a99eb(0x321)](q,_0x3c9eb1);}['onStarting'](){var _0x38dd60=_0x3527bc;this[_0x38dd60(0x95)](),this[_0x38dd60(0xe3)]();}[_0x3527bc(0x95)](){var _0x45798d=_0x3527bc,_0x265997,_0x4d341c;this['_injector'][_0x45798d(0x157)](_0x341bb1)&&this[_0x45798d(0x2ed)][_0x45798d(0xe6)](_0x45798d(0x36c),_0x45798d(0x35f));const _0x17ae04=_0x17a17a([[_0x341bb1,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config'][_0x45798d(0x292)]}],[_0x330226,{'useClass':Nt}],[_0x467741,{'useClass':Rt}],[_0x5d1303,{'useClass':Ot}],[_0x25e9a1,{'useClass':yt}],[st],[Ct]],(_0x265997=this[_0x45798d(0x2dd)])==null?void 0x0:_0x265997[_0x45798d(0x308)]);if(!((_0x4d341c=this[_0x45798d(0x2dd)])!=null&&_0x4d341c[_0x45798d(0x2b9)])){const _0x37c9f8=_0x17ae04['findIndex'](([_0x457ec0])=>_0x457ec0===ht);_0x37c9f8!==-0x1&&_0x17ae04[_0x45798d(0x23f)](_0x37c9f8,0x1);}_0x27b5f4(this['_injector'],_0x17ae04);}[_0x3527bc(0xe3)](){var _0x27aaa9=_0x3527bc,_0x1500a8,_0x169e79,_0x545d4a;this[_0x27aaa9(0x2d6)]['get'](_0x2111ef)[_0x27aaa9(0x17c)]({'priority':0x14,'interceptor':_0x3b004f({'maxParallel':0x6})}),(_0x1500a8=this[_0x27aaa9(0x2dd)])!=null&&_0x1500a8['enableOfflineEditing']||(_0x169e79=this[_0x27aaa9(0x2d6)][_0x27aaa9(0x16c)](J,_0x3e0c84[_0x27aaa9(0x348)]))==null||_0x169e79[_0x27aaa9(0x2ac)](),(_0x545d4a=this[_0x27aaa9(0x2dd)])!=null&&_0x545d4a[_0x27aaa9(0x1b9)]&&_0x31f4ab(this[_0x27aaa9(0x2d6)],[[rt]]),_0x31f4ab(this['_injector'],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x1ccec8(_0x1ce483,_0xa5d7d2),St(0x1,_0x12a8cc),St(0x2,_0x316576(_0x2f1087)),St(0x3,_0x1f147a)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
|
1
|
+
var _0x2d44ac=_0x39a9;(function(_0x1ce3e5,_0x1d3b91){var _0x52e1f3=_0x39a9,_0x42698f=_0x1ce3e5();while(!![]){try{var _0xd46d5f=-parseInt(_0x52e1f3(0x34b))/0x1*(parseInt(_0x52e1f3(0x1c9))/0x2)+-parseInt(_0x52e1f3(0x19b))/0x3*(parseInt(_0x52e1f3(0x3c4))/0x4)+parseInt(_0x52e1f3(0x2bc))/0x5+parseInt(_0x52e1f3(0x262))/0x6*(-parseInt(_0x52e1f3(0x108))/0x7)+parseInt(_0x52e1f3(0x136))/0x8*(parseInt(_0x52e1f3(0x17e))/0x9)+parseInt(_0x52e1f3(0x186))/0xa+parseInt(_0x52e1f3(0xfe))/0xb;if(_0xd46d5f===_0x1d3b91)break;else _0x42698f['push'](_0x42698f['shift']());}catch(_0x2210e5){_0x42698f['push'](_0x42698f['shift']());}}}(_0x393f,0xe08ce));var wi=Object[_0x2d44ac(0x2bd)],Pi=(_0x3d4013,_0x423b76,_0x33a4b2)=>_0x423b76 in _0x3d4013?wi(_0x3d4013,_0x423b76,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33a4b2}):_0x3d4013[_0x423b76]=_0x33a4b2,N=(_0x389854,_0x473d47,_0x46a7c6)=>Pi(_0x389854,typeof _0x473d47!=_0x2d44ac(0x3c5)?_0x473d47+'':_0x473d47,_0x46a7c6);import{createIdentifier as _0x33148c,Inject as _0x3a18e9,Injector as _0x2eed8a,IConfigService as _0x462043,ILogService as _0x41bbc0,Disposable as _0x50932a,DisposableCollection as _0x4ca079,toDisposable as _0x411075,IUniverInstanceService as _0x2e2ca3,UserManagerService as _0x4fd4ba,UniverInstanceType as _0x34ccd3,LocaleService as _0x25b15a,Optional as _0x1f5a13,RxDisposable as _0x2f9470,Tools as _0x10fb77,Rectangle as _0x3be7f8,ICommandService as _0x326da6,JSONX as _0x575400,CommandType as _0x2707f2,IUndoRedoService as _0x46d3c0,IPermissionService as _0x1461bf,sequenceExecute as _0x4d2b7a,Workbook as _0x433510,MentionType as _0x97c634,isInternalEditorID as _0x5423ab,LocalUndoRedoService as _0x579d45,IContextService as _0x38dea7,DependentOn as _0x327176,Plugin as _0x210254,merge as _0x36ec5e,mergeOverrideWithDependencies as _0x581157,IAuthzIoService as _0xcc27c5,IMentionIOService as _0x55d716,registerDependencies as _0xa3cd39,Quantity as _0x5594c6,touchDependencies as _0x32fd4c}from'@univerjs/core';import{Subject as _0x42e7d7,merge as _0x5ac85e,of as _0x324682,BehaviorSubject as _0xa6b6e7,takeUntil as _0x4906df,ReplaySubject as _0x5d4224,take as _0x3d256e,map as _0xa964fc,shareReplay as _0x2ea2ae,firstValueFrom as _0x5039fe,concatMap as _0x4b76a7}from'rxjs';import{map as _0x4fc619,take as _0x16de2,filter as _0x24719a,delay as _0x291475,takeUntil as _0x5745eb}from'rxjs/operators';import{CollaborationEvent as _0x3d1bff,ISnapshotServerService as _0x3d2e4f,parseChangesetToProtocol as _0x1f7372,ITransformService as _0x157f6a,isTransformMutationsWithChangesetSuccess as _0x418fd2,mapDocumentTypeToUniverType as _0x3e9c01,RevisionService as _0x43b8da,isTransformChangesetsSuccess as _0x3d2c6a,CompressMutationService as _0x370cea,parseProtocolChangeset as _0xad3758,SnapshotService as _0x4194fe,textEncoder as _0x154489,b64DecodeUnicode as _0x1a97d4,isTransformMutationsWithChangesetFailure as _0x2f9aac,UniverCollaborationPlugin as _0x1baaeb}from'@univerjs-pro/collaboration';import{HTTPService as _0x477870,ISocketService as _0x119ba7,MergeInterceptorFactory as _0x8b4ced,HTTPRequest as _0x5235ed,UniverNetworkPlugin as _0x22fece,ThresholdInterceptorFactory as _0x6a2522}from'@univerjs/network';import{ITelemetryService as _0x365817}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3a517f}from'@univerjs/docs';import{SheetsSelectionsService as _0x33ec45,SetSelectionsOperation as _0x913cf0,InsertSheetMutation as _0x18815b,EmptyMutation as _0xf1efa,WorkbookEditablePermission as _0x457771,SheetPermissionInitController as _0x43a842}from'@univerjs/sheets';import{ImageSourceType as _0x371265,ImageUploadStatusType as _0x2e1ab9,IImageIoService as _0x4d6d8d}from'@univerjs/drawing';import{getGlobalObject as _0x4b29a2}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn='/universer-api/snapshot',Sn=_0x2d44ac(0x229),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x2d44ac(0x319),Tn=_0x2d44ac(0x22c),Mr='/universer-api/user/session-ticket',Cn=_0x2d44ac(0x320),Rn=0x7530,mi=_0x2d44ac(0x2d5),gi=0x4e20,bn=0x4e20,On=_0x2d44ac(0x249),yn=0x3,xr=_0x2d44ac(0x38e),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x2d44ac(0x100),Un=_0x2d44ac(0x296),An=_0x2d44ac(0x2f7),$r=_0x2d44ac(0x2bb),Hr=_0x2d44ac(0x3f3);var Si=(_0x1d2c51=>(_0x1d2c51[_0x1d2c51[_0x2d44ac(0x377)]=0x0]=_0x2d44ac(0x377),_0x1d2c51[_0x1d2c51['OK']=0x1]='OK',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3ee)]=0x2]=_0x2d44ac(0x3ee),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x230)]=0x3]='PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x22d)]=0x4]='NOT_FOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x15d)]=0x5]=_0x2d44ac(0x15d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x18b)]=0x6]=_0x2d44ac(0x18b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x308)]=0x7]=_0x2d44ac(0x308),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30b)]=0x8]='TOO_MANY_REQUESTS',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17c)]=0x9]=_0x2d44ac(0x17c),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30e)]=0xa]=_0x2d44ac(0x30e),_0x1d2c51[_0x1d2c51['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x385)]=0x1771]=_0x2d44ac(0x385),_0x1d2c51[_0x1d2c51['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x164)]=0x1773]=_0x2d44ac(0x164),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x307)]=0x1b59]=_0x2d44ac(0x307),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x36b)]=0x1b5a]=_0x2d44ac(0x36b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2c2)]=0x1b5b]=_0x2d44ac(0x2c2),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x147)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x20a)]=0x1b5d]=_0x2d44ac(0x20a),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2a0)]=0x1f41]=_0x2d44ac(0x2a0),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x310)]=0x2329]=_0x2d44ac(0x310),_0x1d2c51[_0x1d2c51[_0x2d44ac(0xfd)]=0x232a]=_0x2d44ac(0xfd),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2ac)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1a3)]=0x232c]=_0x2d44ac(0x1a3),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x239)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x293)]=0x2711]=_0x2d44ac(0x293),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x157)]=0x2712]=_0x2d44ac(0x157),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b1)]=0x2713]=_0x2d44ac(0x2b1),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x162)]=0x2714]=_0x2d44ac(0x162),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x30d)]=0x271a]=_0x2d44ac(0x30d),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x166)]=0x271b]=_0x2d44ac(0x166),_0x1d2c51[_0x1d2c51['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x2d44ac(0x1e5),_0x1d2c51[_0x1d2c51['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2d44ac(0x390),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1fe)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1d2c51[_0x1d2c51['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1d2c51[_0x1d2c51['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x17f)]=0x2ee1]=_0x2d44ac(0x17f),_0x1d2c51[_0x1d2c51['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x341)]=0x2ee3]=_0x2d44ac(0x341),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x298)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x1d2c51[_0x1d2c51['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x26b)]=0x32c9]=_0x2d44ac(0x26b),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x3d6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1d2c51[_0x1d2c51[_0x2d44ac(0x2b8)]=0x32cb]=_0x2d44ac(0x2b8),_0x1d2c51[_0x1d2c51[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x1d2c51))(Si||{}),Q=(_0x27e8fa=>(_0x27e8fa[_0x27e8fa['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x3f8)]=0x1]='UNIVER_DOC',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x39a)]=0x2]=_0x2d44ac(0x39a),_0x27e8fa[_0x27e8fa['UNIVER_SLIDE']=0x3]=_0x2d44ac(0x3a0),_0x27e8fa[_0x27e8fa['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x27e8fa[_0x27e8fa[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x27e8fa))(Q||{}),F=(_0x2897ad=>(_0x2897ad[_0x2897ad[_0x2d44ac(0x24a)]=0x0]=_0x2d44ac(0x24a),_0x2897ad[_0x2897ad[_0x2d44ac(0x396)]=0x1]='HELLO',_0x2897ad[_0x2897ad[_0x2d44ac(0x2c9)]=0x2]=_0x2d44ac(0x2c9),_0x2897ad[_0x2897ad[_0x2d44ac(0x2b4)]=0x3]='LEAVE',_0x2897ad[_0x2897ad[_0x2d44ac(0x107)]=0x4]=_0x2d44ac(0x107),_0x2897ad[_0x2897ad[_0x2d44ac(0x134)]=0x5]=_0x2d44ac(0x134),_0x2897ad[_0x2897ad[_0x2d44ac(0x392)]=0x6]=_0x2d44ac(0x392),_0x2897ad[_0x2897ad[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x2897ad))(F||{}),ge=(_0xf183d8=>(_0xf183d8[_0xf183d8[_0x2d44ac(0x278)]=0x0]='UNKNOWN_CODE',_0xf183d8[_0xf183d8['OK']=0x1]='OK',_0xf183d8[_0xf183d8[_0x2d44ac(0x1b7)]=0x2]=_0x2d44ac(0x1b7),_0xf183d8[_0xf183d8[_0x2d44ac(0x31e)]=0x3e9]=_0x2d44ac(0x31e),_0xf183d8[_0xf183d8[_0x2d44ac(0x19e)]=0x3ea]=_0x2d44ac(0x19e),_0xf183d8[_0xf183d8[_0x2d44ac(0x3d8)]=0x3eb]=_0x2d44ac(0x3d8),_0xf183d8[_0xf183d8[_0x2d44ac(0x2c4)]=0x3ec]=_0x2d44ac(0x2c4),_0xf183d8[_0xf183d8[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0xf183d8))(ge||{}),Ei=(_0x51e447=>(_0x51e447[_0x51e447['Undefined']=0x0]=_0x2d44ac(0x285),_0x51e447[_0x51e447[_0x2d44ac(0x19f)]=0x1]=_0x2d44ac(0x19f),_0x51e447[_0x51e447['HttpExport']=0x2]=_0x2d44ac(0x333),_0x51e447[_0x51e447['UnitEmbedded']=0x3]=_0x2d44ac(0x237),_0x51e447[_0x51e447[_0x2d44ac(0x22f)]=0x4]='UnitSnapshot',_0x51e447[_0x51e447[_0x2d44ac(0x202)]=0x5]='UserProfileImg',_0x51e447[_0x51e447[_0x2d44ac(0x1c2)]=-0x1]=_0x2d44ac(0x1c2),_0x51e447))(Ei||{});const q=_0x2d44ac(0x31c),wn={};var re=(_0x3b2b46=>(_0x3b2b46[_0x2d44ac(0x11f)]='OTHER_CLIENT_EDITING',_0x3b2b46[_0x2d44ac(0x230)]=_0x2d44ac(0x230),_0x3b2b46['CONFLICT']=_0x2d44ac(0x3b3),_0x3b2b46['CLOSE_ROOM']=_0x2d44ac(0x3ec),_0x3b2b46[_0x2d44ac(0x3eb)]=_0x2d44ac(0x3eb),_0x3b2b46[_0x2d44ac(0x347)]=_0x2d44ac(0x347),_0x3b2b46[_0x2d44ac(0x2d9)]=_0x2d44ac(0x2d9),_0x3b2b46[_0x2d44ac(0x294)]='SUBMIT_CHANGESET_TIMEOUT',_0x3b2b46))(re||{});class pe{constructor(){var _0x4b4ae4=_0x2d44ac;N(this,_0x4b4ae4(0x3bf),new _0x42e7d7()),N(this,_0x4b4ae4(0x2ff),this['_event$'][_0x4b4ae4(0x2f1)]());}[_0x2d44ac(0x113)](_0x1b9d18){var _0x160c70=_0x2d44ac;this['_event$'][_0x160c70(0x26e)](_0x1b9d18);}}const Pn=_0x33148c(_0x2d44ac(0x245));function Ln(_0x512b91){var _0x40efde=_0x2d44ac,_0x4da8af,_0xb587b2,_0x40939c,_0x2e8529,_0x5e1a95;const _0x3fa897=_0x512b91[_0x40efde(0x18e)],_0x232b9e=JSON['parse'](_0x3fa897);switch(_0x232b9e[_0x40efde(0x2da)]){case F[_0x40efde(0x134)]:case F[_0x40efde(0x396)]:{const _0x55fc4f=_0x232b9e[_0x40efde(0x3de)];return{..._0x232b9e,'data':_0x55fc4f,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x2c9)]:{const _0x291246=_0x232b9e[_0x40efde(0x236)];return{..._0x232b9e,'data':_0x291246,'cmd':_0x232b9e['cmd']};}case F[_0x40efde(0x392)]:{const _0x4e2f29=_0x232b9e[_0x40efde(0x3c9)];switch(_0x4e2f29['eventID']){case _0x3d1bff[_0x40efde(0x1a4)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x4da8af=_0x4e2f29['permissionRejEvent'])==null?void 0x0:_0x4da8af['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x34a)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0xb587b2=_0x4e2f29[_0x40efde(0x1a8)])==null?void 0x0:_0xb587b2['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x381)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x40939c=_0x4e2f29[_0x40efde(0x2a5)])==null?void 0x0:_0x40939c['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x248)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x2e8529=_0x4e2f29['csRejEvent'])==null?void 0x0:_0x2e8529['cs']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1bd)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':(_0x5e1a95=_0x4e2f29[_0x40efde(0x3ca)])==null?void 0x0:_0x5e1a95['cs']},'cmd':_0x232b9e['cmd']};case _0x3d1bff[_0x40efde(0x1f0)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x36a)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x401)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['joinEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x25e)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['leaveEvent']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x367)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29['liveShareNewHost']},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x240)]:case _0x3d1bff[_0x40efde(0x2f8)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x14f)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ef)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x3d9)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x37a)]:return{..._0x232b9e,'data':_0x4e2f29,'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x2ca)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x338)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x3cb)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x326)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x175)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x339)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};case _0x3d1bff[_0x40efde(0x1c3)]:return{..._0x232b9e,'data':{..._0x4e2f29,'data':_0x4e2f29[_0x40efde(0x349)]},'cmd':_0x232b9e[_0x40efde(0x2da)]};default:return _0x232b9e;}}default:return _0x232b9e;}}function Mn(_0x106188){var _0xf5f5f0=_0x2d44ac;switch(_0x106188[_0xf5f5f0(0x2da)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188['cmd'],'routeKey':_0x106188['routeKey']});case F[_0xf5f5f0(0x107)]:{let _0xeebb4c;switch(_0x106188[_0xf5f5f0(0x18e)]['eventID']){case _0x3d1bff['UPDATE_CURSOR']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x1f0)],'updateCursorEvent':_0x106188[_0xf5f5f0(0x18e)]['data']};break;}case _0x3d1bff[_0xf5f5f0(0x25e)]:{_0xeebb4c={'eventID':_0x3d1bff['USERS_LEAVE'],'leaveEvent':_0x106188['data'][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x401)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x401)],'joinEvent':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x367)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x367)],'liveShareNewHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2f8)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2f8)],'liveShareOperation':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff[_0xf5f5f0(0x2ef)]:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x2ef)],'liveShareTerminate':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_REQUEST_HOST']:{_0xeebb4c={'eventID':_0x3d1bff['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x106188[_0xf5f5f0(0x18e)][_0xf5f5f0(0x18e)]};break;}case _0x3d1bff['LIVESHARE_FETCH_OPERATIONS']:{_0xeebb4c={'eventID':_0x3d1bff[_0xf5f5f0(0x240)]};break;}default:_0xeebb4c={'eventID':_0x106188['data'][_0xf5f5f0(0x3f7)]};}return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188['routeKey'],'collaMsg':_0xeebb4c});}case F[_0xf5f5f0(0x2c9)]:return JSON['stringify']({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'joinReq':_0x106188[_0xf5f5f0(0x18e)]});case F[_0xf5f5f0(0x2b4)]:return JSON[_0xf5f5f0(0x2f2)]({'cmd':_0x106188[_0xf5f5f0(0x2da)],'routeKey':_0x106188[_0xf5f5f0(0x335)],'leaveReq':_0x106188[_0xf5f5f0(0x18e)]});default:throw new Error(_0xf5f5f0(0x101));}}var xn=Object[_0x2d44ac(0x2a3)],kn=(_0x51483e,_0x5c7c95,_0x51f265,_0x3b93af)=>{var _0x9e0220=_0x2d44ac;for(var _0x442b82=_0x3b93af>0x1?void 0x0:_0x3b93af?xn(_0x5c7c95,_0x51f265):_0x5c7c95,_0x9b297d=_0x51483e[_0x9e0220(0x1cc)]-0x1,_0x2f7bcf;_0x9b297d>=0x0;_0x9b297d--)(_0x2f7bcf=_0x51483e[_0x9b297d])&&(_0x442b82=_0x2f7bcf(_0x442b82)||_0x442b82);return _0x442b82;},Ae=(_0x41b85c,_0x25f3e5)=>(_0x1d0341,_0x57d032)=>_0x25f3e5(_0x1d0341,_0x57d032,_0x41b85c);const Ii=_0x33148c(_0x2d44ac(0x2b5));function $n(_0x502c80,_0x1a5a8d,_0x3a0ccc){var _0x12f018=_0x2d44ac;return _0x502c80+'/'+_0x1a5a8d+_0x12f018(0x2d7)+_0x3a0ccc+_0x12f018(0x1fd);}let Gt=class extends _0x50932a{constructor(_0x228193,_0x561321,_0x40debc,_0x4cb434,_0x35bbaf){var _0x39bf36=_0x2d44ac;super(),this[_0x39bf36(0x3d2)]=_0x228193,this[_0x39bf36(0x35c)]=_0x561321,this[_0x39bf36(0x375)]=_0x40debc,this[_0x39bf36(0x1d5)]=_0x4cb434,this[_0x39bf36(0x322)]=_0x35bbaf;}[_0x2d44ac(0x35f)](_0x498656){var _0x30b2b3=_0x2d44ac;const _0x5c0305=this['_injector'][_0x30b2b3(0x215)](_0x119ba7);if(!_0x5c0305)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5c3005=_0x5c0305[_0x30b2b3(0x253)](_0x498656);if(!_0x5c3005)throw new Error(_0x30b2b3(0x32c));const _0x3b853f=new _0x4ca079(),_0x4be47d=new _0x42e7d7();_0x3b853f['add'](_0x5c3005['close$'][_0x30b2b3(0x128)](_0x361c0b=>_0x4be47d['next'](_0x361c0b))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x4be47d[_0x30b2b3(0x172)]()));const _0x5007bb=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x30c)]['subscribe'](_0x347a26=>_0x5007bb[_0x30b2b3(0x26e)](_0x347a26))),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x5007bb['complete']()));const _0x176f1b=new _0x42e7d7();_0x3b853f[_0x30b2b3(0x127)](_0x5c3005[_0x30b2b3(0x167)]['subscribe'](_0x4306f7=>{var _0x821b83=_0x30b2b3;const _0x4ee34d=Ln(_0x4306f7);_0x176f1b[_0x821b83(0x26e)](_0x4ee34d);})),_0x3b853f[_0x30b2b3(0x127)](_0x411075(()=>_0x176f1b[_0x30b2b3(0x172)]()));let _0x4622ec;const _0x112c6c=()=>{var _0x25ef38=_0x30b2b3;_0x5007bb[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4be47d[_0x25ef38(0x26e)](new Event(_0x25ef38(0x356))),_0x4622ec[_0x25ef38(0x3a7)]();};return _0x4622ec={'memberID':'','close$':_0x4be47d['asObservable'](),'error$':_0x5007bb[_0x30b2b3(0x2f1)](),'open$':_0x5c3005[_0x30b2b3(0x23c)],'message$':_0x176f1b['asObservable'](),'send':_0x4bd608=>{var _0x4f288b=_0x30b2b3;if(_0x4bd608[_0x4f288b(0x2da)]===F['INGEST']){if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x1ab)]){this[_0x4f288b(0x13e)](_0x4622ec,_0x4bd608[_0x4f288b(0x18e)])[_0x4f288b(0x303)](_0x4bf82f=>{var _0x531399=_0x4f288b;this[_0x531399(0x1d5)]['error'](_0x4bf82f),_0x112c6c();});return;}if(_0x4bd608[_0x4f288b(0x18e)][_0x4f288b(0x3f7)]===_0x3d1bff[_0x4f288b(0x39c)]){const _0x2e989f=_0x4bd608[_0x4f288b(0x18e)];this[_0x4f288b(0x2dd)](_0x2e989f)[_0x4f288b(0x26d)](_0x173bda=>{var _0x168212=_0x4f288b;_0x176f1b['next']({'cmd':F[_0x168212(0x392)],'code':ge['OK'],'routeKey':_0x2e989f[_0x168212(0x18e)][_0x168212(0x1ff)],'routeType':'','data':{'eventID':_0x3d1bff[_0x168212(0x1a7)],'data':{'changesets':_0x173bda}}});})[_0x4f288b(0x303)](_0x45795f=>{var _0x2d6498=_0x4f288b;this[_0x2d6498(0x1d5)][_0x2d6498(0x274)](_0x45795f),_0x112c6c();});return;}}_0x5c3005[_0x4f288b(0x1f5)](Mn(_0x4bd608));},'close':()=>{var _0x9521da=_0x30b2b3;_0x5c3005['close'](),_0x3b853f[_0x9521da(0x141)]();}},_0x4622ec;}async[_0x2d44ac(0x13e)](_0x4648c5,_0x240da1){var _0x3596a6=_0x2d44ac,_0x42f84b,_0x35b5db;const {unitType:_0x52f15c,unitID:_0x208c53,changeset:_0x38c6f4}=_0x240da1[_0x3596a6(0x18e)],_0x4f82ed={'unitID':_0x208c53,'memberID':_0x4648c5['memberID'],'type':_0x52f15c,'changeset':_0x1f7372(_0x38c6f4)},_0x4dc4b6=this[_0x3596a6(0x375)][_0x3596a6(0x3fc)](Nn),_0x169fcf=this['_configService'][_0x3596a6(0x3fc)](q),_0x540254=$n((_0x35b5db=(_0x42f84b=_0x169fcf==null?void 0x0:_0x169fcf[_0x3596a6(0x24c)])!=null?_0x42f84b:_0x4dc4b6)!=null?_0x35b5db:Dn,_0x52f15c,_0x208c53);try{await this[_0x3596a6(0x35c)][_0x3596a6(0x3df)](_0x540254,{'body':_0x4f82ed});}catch(_0x330636){throw this[_0x3596a6(0x1d5)]['error'](_0x3596a6(0x15c),'submit\x20changeset\x20error!'),_0x330636;}}async['_fetchMissChangesets'](_0x1821d8){var _0x1d5815=_0x2d44ac;const {unitID:_0x31abb9,from:_0x4e6bad,to:_0x339285,unitType:_0x4edf4c}=_0x1821d8[_0x1d5815(0x18e)];return(await this['_snapshotServerService'][_0x1d5815(0x1b2)]({'metadata':void 0x0},{'unitID':_0x31abb9,'type':_0x4edf4c,'from':_0x4e6bad,'to':_0x339285}))[_0x1d5815(0x225)];}};Gt=kn([Ae(0x0,_0x3a18e9(_0x2eed8a)),Ae(0x1,_0x3a18e9(_0x477870)),Ae(0x2,_0x462043),Ae(0x3,_0x41bbc0),Ae(0x4,_0x3d2e4f)],Gt);const Hn=_0x2d44ac(0x38b);function Bn(_0x3cd045){var _0x44d440=_0x2d44ac;return JSON[_0x44d440(0x2f2)](_0x3cd045)[_0x44d440(0x1cc)];}class Ti{constructor(){var _0x5526d0=_0x2d44ac;N(this,'_commentUpdate$',new _0x42e7d7()),N(this,_0x5526d0(0x284),this[_0x5526d0(0x345)][_0x5526d0(0x2f1)]());}[_0x2d44ac(0x297)](_0x65e2d0){var _0xcf1620=_0x2d44ac;this['_commentUpdate$'][_0xcf1620(0x26e)](_0x65e2d0);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3fdb14,_0x88db20,_0x53e324,_0x757f5)=>{for(var _0xedc437=_0x757f5>0x1?void 0x0:_0x757f5?jn(_0x88db20,_0x53e324):_0x88db20,_0x290d37=_0x3fdb14['length']-0x1,_0x1e4d32;_0x290d37>=0x0;_0x290d37--)(_0x1e4d32=_0x3fdb14[_0x290d37])&&(_0xedc437=_0x1e4d32(_0xedc437)||_0xedc437);return _0xedc437;},Wt=(_0x527fb1,_0x154eca)=>(_0x306801,_0xf9f3c4)=>_0x154eca(_0x306801,_0xf9f3c4,_0x527fb1);let Le=class extends _0x50932a{constructor(_0x14356,_0x43731c){var _0x52260c=_0x2d44ac;super(),N(this,_0x52260c(0x154),new Map()),N(this,_0x52260c(0x3ce),new _0x42e7d7()),(this['_univerInstanceService']=_0x14356,this['_userManagerService']=_0x43731c,this[_0x52260c(0x336)](_0x5ac85e(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34ccd3[_0x52260c(0x39a)])['pipe'](_0x4fc619(_0xf110e3=>_0xf110e3['getUnitId']())),this[_0x52260c(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3['UNIVER_DOC'])[_0x52260c(0x11e)](_0x4fc619(_0x4f9d83=>_0x4f9d83[_0x52260c(0x29c)]())),this[_0x52260c(0x3f5)][_0x52260c(0x14e)](_0x34ccd3[_0x52260c(0x3a0)])[_0x52260c(0x11e)](_0x4fc619(_0x2e35b6=>_0x2e35b6['getUnitId']())))[_0x52260c(0x128)](_0x5a4881=>this['_removeRoom'](_0x5a4881))));}[_0x2d44ac(0x2a6)](_0xa00c12){var _0x442600=_0x2d44ac;return this[_0x442600(0x154)]['has'](_0xa00c12)?_0x324682(this[_0x442600(0x154)]['get'](_0xa00c12)):this[_0x442600(0x3ce)][_0x442600(0x11e)](_0x4fc619(_0x178daa=>{var _0xf5da6a=_0x442600;if(_0x178daa===_0xa00c12)return this[_0xf5da6a(0x154)][_0xf5da6a(0x215)](_0x178daa);}));}['setCurrentUser'](_0x53b964){var _0x26fc37=_0x2d44ac;this[_0x26fc37(0x2c6)][_0x26fc37(0x180)](_0x53b964);}[_0x2d44ac(0x37d)](){var _0x5ae6ac=_0x2d44ac;return this[_0x5ae6ac(0x2c6)][_0x5ae6ac(0x37d)]();}[_0x2d44ac(0xfc)](_0x118c51,_0x5d0888){var _0x4755c9=_0x2d44ac;let _0x14b267=this[_0x4755c9(0x154)][_0x4755c9(0x215)](_0x118c51);_0x14b267||(_0x14b267=new Vn(),this[_0x4755c9(0x154)][_0x4755c9(0x2d2)](_0x118c51,_0x14b267),this['_roomCreated$']['next'](_0x118c51)),_0x14b267[_0x4755c9(0xfc)](_0x5d0888);}['removeMember'](_0x55bb4c,_0x1041ff){const _0x1a8376=this['_roomMembers']['get'](_0x55bb4c);_0x1a8376&&_0x1a8376['removeMember'](_0x1041ff);}[_0x2d44ac(0x317)](_0x211f7a){var _0x23b942=_0x2d44ac;return this[_0x23b942(0x154)][_0x23b942(0x215)](_0x211f7a);}[_0x2d44ac(0x3a6)](_0x5ce984,_0x271679){var _0x42cff3=_0x2d44ac;const _0xc48832=this[_0x42cff3(0x154)][_0x42cff3(0x215)](_0x5ce984);if(_0xc48832)return _0xc48832['getMember'](_0x271679);}['_removeRoom'](_0x215ac2){var _0x27b756=_0x2d44ac;const _0x397a2f=this['_roomMembers'][_0x27b756(0x215)](_0x215ac2);_0x397a2f&&(_0x397a2f[_0x27b756(0x141)](),this[_0x27b756(0x154)][_0x27b756(0x318)](_0x215ac2));}[_0x2d44ac(0x141)](){var _0x21a3bb=_0x2d44ac;this[_0x21a3bb(0x154)]['forEach'](_0x31616d=>_0x31616d['dispose']()),this[_0x21a3bb(0x154)][_0x21a3bb(0x3b4)](),this['_roomCreated$'][_0x21a3bb(0x172)]();}};Le=Fn([Wt(0x0,_0x2e2ca3),Wt(0x1,_0x3a18e9(_0x4fd4ba))],Le);class Vn extends _0x50932a{constructor(){var _0x13ff3d=_0x2d44ac;super(...arguments),N(this,_0x13ff3d(0x133),new Map()),N(this,_0x13ff3d(0x2c1),new _0xa6b6e7(this[_0x13ff3d(0x133)])),N(this,_0x13ff3d(0x25b),this[_0x13ff3d(0x2c1)][_0x13ff3d(0x2f1)]());}['dispose'](){var _0x192731=_0x2d44ac;this[_0x192731(0x133)]['clear']();}[_0x2d44ac(0xfc)](_0x42e3e2){var _0x414cae=_0x2d44ac;this['_members'][_0x414cae(0x2d2)](_0x42e3e2[_0x414cae(0x3c6)],_0x42e3e2),this[_0x414cae(0x3fe)]();}[_0x2d44ac(0x3f0)](_0x3313d2){var _0x42fac0=_0x2d44ac;this[_0x42fac0(0x133)]['delete'](_0x3313d2);}[_0x2d44ac(0x3a6)](_0x71caff){var _0x38ded3=_0x2d44ac;return this[_0x38ded3(0x133)]['get'](_0x71caff);}[_0x2d44ac(0x391)](){var _0x1047f1=_0x2d44ac;return Array[_0x1047f1(0x33a)](this[_0x1047f1(0x133)][_0x1047f1(0xf9)]());}['_emitMembers'](){var _0x35e435=_0x2d44ac;this[_0x35e435(0x2c1)]['next'](this[_0x35e435(0x133)]);}}var Gn=Object[_0x2d44ac(0x2a3)],Wn=(_0x20c110,_0x44efe4,_0x3e698b,_0x1459a6)=>{for(var _0x3bebd4=_0x1459a6>0x1?void 0x0:_0x1459a6?Gn(_0x44efe4,_0x3e698b):_0x44efe4,_0x1a86ad=_0x20c110['length']-0x1,_0xb8be7a;_0x1a86ad>=0x0;_0x1a86ad--)(_0xb8be7a=_0x20c110[_0x1a86ad])&&(_0x3bebd4=_0xb8be7a(_0x3bebd4)||_0x3bebd4);return _0x3bebd4;},me=(_0x30a213,_0x44dbd9)=>(_0x1e7e05,_0x2a7d7e)=>_0x44dbd9(_0x1e7e05,_0x2a7d7e,_0x30a213),Ee=(_0x5a5b49=>(_0x5a5b49[_0x5a5b49[_0x2d44ac(0x36c)]=0x0]='IDLE',_0x5a5b49[_0x5a5b49['JOINING']=0x1]=_0x2d44ac(0x18f),_0x5a5b49[_0x5a5b49[_0x2d44ac(0x2e5)]=0x2]=_0x2d44ac(0x2e5),_0x5a5b49[_0x5a5b49['ONLINE']=0x3]=_0x2d44ac(0x177),_0x5a5b49))(Ee||{});const Yt={[ge[_0x2d44ac(0x1b7)]]:_0x2d44ac(0x111),[ge[_0x2d44ac(0x31e)]]:_0x2d44ac(0x11a),[ge['JOIN_ROOM_NOT_EXISTS']]:_0x2d44ac(0x2f4),[ge[_0x2d44ac(0x3d8)]]:'session.room-permission-denied',[ge[_0x2d44ac(0x2c4)]]:_0x2d44ac(0x198)};let Et=class extends _0x2f9470{constructor(_0x48656f,_0x278b0b,_0x451aa4,_0x194a0b,_0x3af8fb,_0xe3aa34,_0x3cc605,_0x1ee78f,_0x4e7e43){var _0x713d9a=_0x2d44ac;super(),N(this,_0x713d9a(0x179),new _0xa6b6e7(0x0)),N(this,_0x713d9a(0x250),this[_0x713d9a(0x179)]['asObservable']()),N(this,_0x713d9a(0x3bf),new _0x42e7d7()),N(this,_0x713d9a(0x2ff),this[_0x713d9a(0x3bf)][_0x713d9a(0x2f1)]()),N(this,_0x713d9a(0x25c)),N(this,_0x713d9a(0x27b)),N(this,_0x713d9a(0x114)),N(this,_0x713d9a(0x2b2),!0x1),N(this,_0x713d9a(0x12d),null),(this[_0x713d9a(0x256)]=_0x48656f,this[_0x713d9a(0x1d5)]=_0x451aa4,this[_0x713d9a(0x375)]=_0x194a0b,this[_0x713d9a(0x309)]=_0x3af8fb,this[_0x713d9a(0xff)]=_0xe3aa34,this[_0x713d9a(0x241)]=_0x3cc605,this['_collaborationUIEventService']=_0x1ee78f,this[_0x713d9a(0x3f2)]=_0x4e7e43,this[_0x713d9a(0x2b2)]=!!this[_0x713d9a(0x3f2)],_0x278b0b[_0x713d9a(0x11e)](_0x4906df(this[_0x713d9a(0x115)]))['subscribe'](_0x2c85c0=>{var _0x30fbd7=_0x713d9a,_0x3610a1;typeof _0x2c85c0>'u'||(this[_0x30fbd7(0x25c)]=_0x2c85c0,_0x2c85c0?(this[_0x30fbd7(0x2e0)](_0x2c85c0),this[_0x30fbd7(0x27b)]=_0x2c85c0[_0x30fbd7(0x167)][_0x30fbd7(0x128)](_0x387708=>{var _0x17bae5=_0x30fbd7;_0x387708[_0x17bae5(0x335)]===this[_0x17bae5(0x256)]&&this[_0x17bae5(0x170)](_0x387708);})):(this[_0x30fbd7(0x10d)](),this[_0x30fbd7(0x179)]['next'](0x2),(_0x3610a1=this[_0x30fbd7(0x27b)])==null||_0x3610a1[_0x30fbd7(0x20c)](),this[_0x30fbd7(0x27b)]=null));}));}get[_0x2d44ac(0x125)](){var _0xff92fa=_0x2d44ac;return this[_0xff92fa(0x179)][_0xff92fa(0x2dc)]();}[_0x2d44ac(0x192)](){var _0x394a1e=_0x2d44ac,_0x3c1473,_0x3eac55;return(_0x3eac55=(_0x3c1473=this[_0x394a1e(0x25c)])==null?void 0x0:_0x3c1473[_0x394a1e(0x3c6)])!=null?_0x3eac55:null;}[_0x2d44ac(0x141)](){var _0x3f8495=_0x2d44ac;super['dispose'](),this[_0x3f8495(0x115)]['next'](),this[_0x3f8495(0x115)][_0x3f8495(0x172)]();}[_0x2d44ac(0x3a7)](){var _0xa73d4f=_0x2d44ac,_0x1465d8,_0x512683;this[_0xa73d4f(0x10d)](),(_0x1465d8=this[_0xa73d4f(0x25c)])==null||_0x1465d8[_0xa73d4f(0x1f5)]({'cmd':F[_0xa73d4f(0x2b4)],'data':{'roomID':this['_unitID']}}),(_0x512683=this[_0xa73d4f(0x25c)])==null||_0x512683[_0xa73d4f(0x3a7)](),this[_0xa73d4f(0x3bf)][_0xa73d4f(0x172)](),this['_sessionStatus$'][_0xa73d4f(0x172)](),this[_0xa73d4f(0x141)]();}[_0x2d44ac(0x170)](_0x461051){var _0x4ffd22=_0x2d44ac;_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x2c9)]?this[_0x4ffd22(0x124)](_0x461051):_0x461051[_0x4ffd22(0x2da)]===F[_0x4ffd22(0x392)]&&this[_0x4ffd22(0x2fd)](_0x461051);}[_0x2d44ac(0x2e0)](_0xfbf717){var _0x70b6fb=_0x2d44ac;this[_0x70b6fb(0x179)][_0x70b6fb(0x26e)](0x1),_0xfbf717['send']({'cmd':F['JOIN'],'routeKey':this[_0x70b6fb(0x256)],'routeType':'','data':{'rooms':[{'roomID':this[_0x70b6fb(0x256)]}]}});}['_onJoinRoomEvent'](_0x30cd9b){var _0x5cb1d5=_0x2d44ac,_0x87b433;if(_0x30cd9b[_0x5cb1d5(0x1ae)]in Yt){this[_0x5cb1d5(0xf4)][_0x5cb1d5(0x113)]({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x30cd9b['code']]}),this[_0x5cb1d5(0x179)][_0x5cb1d5(0x26e)](0x2);return;}this['_sessionStatus$'][_0x5cb1d5(0x26e)](0x3);const _0x94e3a8=(_0x87b433=_0x30cd9b['data'][_0x5cb1d5(0x160)][this[_0x5cb1d5(0x256)]])==null?void 0x0:_0x87b433[_0x5cb1d5(0x196)];_0x94e3a8&&_0x94e3a8[_0x5cb1d5(0x2ea)](_0x193e2b=>this[_0x5cb1d5(0xff)]['updateMember'](this[_0x5cb1d5(0x256)],_0x193e2b));}[_0x2d44ac(0x2fd)](_0x25222b){var _0x2989e5=_0x2d44ac;try{const _0x270336=_0x25222b[_0x2989e5(0x18e)];switch(_0x270336['eventID']){case _0x3d1bff[_0x2989e5(0x401)]:this[_0x2989e5(0x3b8)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['USERS_LEAVE']:this[_0x2989e5(0x351)](_0x270336),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff[_0x2989e5(0x34a)]:case _0x3d1bff[_0x2989e5(0x1bd)]:this[_0x2989e5(0x279)](),this[_0x2989e5(0x378)](),this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);break;case _0x3d1bff['MSG_FOR_ERROR']:this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2989e5(0x2b7)+JSON['stringify'](_0x270336)),this[_0x2989e5(0x3bf)]['next'](_0x270336);break;case _0x3d1bff[_0x2989e5(0x2ca)]:this[_0x2989e5(0x241)][_0x2989e5(0x297)](_0x270336['data']),this['_event$'][_0x2989e5(0x26e)](_0x270336);break;default:this[_0x2989e5(0x3bf)][_0x2989e5(0x26e)](_0x270336);}}catch(_0x2be92a){this[_0x2989e5(0x1d5)][_0x2989e5(0x274)](_0x2be92a,_0x25222b);}}['_onUserJoin'](_0x34a2fc){var _0x52b4af=_0x2d44ac;this[_0x52b4af(0xff)]['updateMember'](this[_0x52b4af(0x256)],_0x34a2fc[_0x52b4af(0x18e)]);}[_0x2d44ac(0x351)](_0x1ddbc9){var _0x5d3b6e=_0x2d44ac;this['_memberService'][_0x5d3b6e(0x3f0)](this['_unitID'],_0x1ddbc9['data'][_0x5d3b6e(0x3c6)]);}async[_0x2d44ac(0x1f5)](_0x1f7f3e,_0x2aee5d){var _0x55270e=_0x2d44ac;if(this['sessionStatus']!==0x3||!this[_0x55270e(0x25c)])throw new Error(_0x55270e(0x2f6));try{_0x1f7f3e[_0x55270e(0x3f7)]===_0x3d1bff[_0x55270e(0x1ab)]&&(this[_0x55270e(0x16c)](),this[_0x55270e(0x3c0)](_0x1f7f3e)),this['_socket']['send']({'cmd':F[_0x55270e(0x107)],'routeKey':_0x2aee5d,'routeType':'','data':_0x1f7f3e});}catch(_0x5606f9){this['_logService'][_0x55270e(0x274)](_0x5606f9);}}['_scheduleCollaborationTimeoutTimer'](){var _0x58e419=_0x2d44ac,_0xe44962;this[_0x58e419(0x114)]=setTimeout(()=>{var _0x2b35a4=_0x58e419;this['_collaborationTimeoutTimer']=null,this[_0x2b35a4(0xf4)][_0x2b35a4(0x113)]({'id':re[_0x2b35a4(0x294)]});},(_0xe44962=this[_0x58e419(0x375)][_0x58e419(0x3fc)](mi))!=null?_0xe44962:gi);}[_0x2d44ac(0x378)](){var _0x443a47=_0x2d44ac;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x443a47(0x114)]),this[_0x443a47(0x114)]=null);}[_0x2d44ac(0x3c0)](_0x2a8750){var _0x44b5e0=_0x2d44ac;if(!this[_0x44b5e0(0x2b2)])return;const {data:_0x5a816d}=_0x2a8750,{unitID:_0x4f811d,changeset:_0x1311cf}=_0x5a816d,{mutations:_0x1ffe1c,type:_0x4a4d97}=_0x1311cf;this[_0x44b5e0(0x12d)]={'unitId':_0x4f811d,'type':_0x4a4d97,'startTime':performance[_0x44b5e0(0x161)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x1ffe1c)};}[_0x2d44ac(0x279)](){var _0x3aceee=_0x2d44ac;if(this[_0x3aceee(0x2b2)]){if(!this[_0x3aceee(0x12d)]){this[_0x3aceee(0x1d5)][_0x3aceee(0x274)](_0x3aceee(0x15c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x3aceee(0x12d)][_0x3aceee(0x203)]=performance[_0x3aceee(0x161)](),this['_telemetryInfo'][_0x3aceee(0x183)]=this['_telemetryInfo']['stopTime']-this[_0x3aceee(0x12d)][_0x3aceee(0x2c0)],this[_0x3aceee(0x3f2)][_0x3aceee(0x28b)](Hn,this[_0x3aceee(0x12d)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x41bbc0),me(0x3,_0x462043),me(0x4,_0x3a18e9(_0x25b15a)),me(0x5,_0x3a18e9(Le)),me(0x6,_0x3a18e9(Ti)),me(0x7,_0x3a18e9(pe)),me(0x8,_0x1f5a13(_0x365817))],Et);var Yn=Object[_0x2d44ac(0x2a3)],Kn=(_0xa1de2b,_0x1c0795,_0x2e1a94,_0x4f6d45)=>{var _0x28cf0b=_0x2d44ac;for(var _0x3c8e56=_0x4f6d45>0x1?void 0x0:_0x4f6d45?Yn(_0x1c0795,_0x2e1a94):_0x1c0795,_0x28cba9=_0xa1de2b[_0x28cf0b(0x1cc)]-0x1,_0x5ed11e;_0x28cba9>=0x0;_0x28cba9--)(_0x5ed11e=_0xa1de2b[_0x28cba9])&&(_0x3c8e56=_0x5ed11e(_0x3c8e56)||_0x3c8e56);return _0x3c8e56;},be=(_0xfcaecf,_0x4a8523)=>(_0x27f4f7,_0x710621)=>_0x4a8523(_0x27f4f7,_0x710621,_0xfcaecf);let Me=class extends _0x50932a{constructor(_0x147c73,_0x5795bb,_0x1bf399,_0x4e1b38,_0x4a73a2,_0xba8fe2){var _0x118265=_0x2d44ac;super(),N(this,_0x118265(0x316),new _0xa6b6e7(void 0x0)),N(this,'socket$',this[_0x118265(0x316)]['asObservable']()),N(this,_0x118265(0x120),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0xa6b6e7(Ee[_0x118265(0x36c)])),N(this,_0x118265(0x30a),this[_0x118265(0x3d3)]['asObservable']()),N(this,_0x118265(0x346),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x118265(0x2fe),0x0),N(this,_0x118265(0x362)),N(this,_0x118265(0x276)),(this[_0x118265(0x3d2)]=_0x147c73,this['_logService']=_0x5795bb,this[_0x118265(0x375)]=_0x1bf399,this[_0x118265(0x17b)]=_0x4e1b38,this['_collaborationUIEventService']=_0x4a73a2,this['_networkConditionService']=_0xba8fe2,this['_listenToNetworkCondition']());}get[_0x2d44ac(0x25c)](){var _0x2c17cf=_0x2d44ac;return this[_0x2c17cf(0x316)][_0x2c17cf(0x2dc)]();}[_0x2d44ac(0x105)](){var _0xce298b=_0x2d44ac;this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService'][_0xce298b(0x110)][_0xce298b(0x128)](_0x53b236=>{var _0x1de92d=_0xce298b;_0x53b236&&!this[_0x1de92d(0x25c)]&&this[_0x1de92d(0x13a)](),_0x53b236||this[_0x1de92d(0x1e6)]();}));}[_0x2d44ac(0x141)](){var _0x544430=_0x2d44ac;super[_0x544430(0x141)](),this[_0x544430(0x393)](),this[_0x544430(0x152)](),this[_0x544430(0x374)](),this['_sessions'][_0x544430(0x2ea)](_0xe5c4c3=>_0xe5c4c3[_0x544430(0x141)]()),this[_0x544430(0x1cf)][_0x544430(0x3b4)](),this[_0x544430(0x3d3)]['complete']();}async['requireSession'](_0x310978){var _0x5584fd=_0x2d44ac;if(this[_0x5584fd(0x1cf)][_0x5584fd(0x311)](_0x310978))return this[_0x5584fd(0x1cf)]['get'](_0x310978);this[_0x5584fd(0x3f4)]();const _0x4c0d2b=this[_0x5584fd(0x3d2)][_0x5584fd(0x22e)](Et,_0x310978,this['_socket$']['asObservable']());return this['_sessions'][_0x5584fd(0x2d2)](_0x310978,_0x4c0d2b),_0x4c0d2b;}[_0x2d44ac(0x260)](_0xdb11e2){var _0x33acfe=_0x2d44ac,_0x2b7a9a;const _0x7fe319=this[_0x33acfe(0x1cf)][_0x33acfe(0x215)](_0xdb11e2);_0x7fe319&&(this['_sessions'][_0x33acfe(0x318)](_0xdb11e2),_0x7fe319[_0x33acfe(0x3a7)]()),this[_0x33acfe(0x1cf)][_0x33acfe(0x3cf)]||(_0x2b7a9a=this[_0x33acfe(0x25c)])==null||_0x2b7a9a['close']();}['reconnect'](){var _0x3e2e5e=_0x2d44ac;this[_0x3e2e5e(0x2fe)]=0x0,this[_0x3e2e5e(0x393)](),this[_0x3e2e5e(0x3fd)]();}[_0x2d44ac(0x393)](){var _0xaa9ffe=_0x2d44ac;this[_0xaa9ffe(0x3b9)]!=null&&(clearTimeout(this[_0xaa9ffe(0x3b9)]),this[_0xaa9ffe(0x3b9)]=null);}async[_0x2d44ac(0x2d3)](){var _0x9943eb=_0x2d44ac,_0xd68477,_0x578dbe;const _0x4b0546=this[_0x9943eb(0x375)]['getConfig'](In),_0x3133ba=this[_0x9943eb(0x375)][_0x9943eb(0x3fc)](q),_0xcd9e79=(_0x578dbe=(_0xd68477=_0x3133ba==null?void 0x0:_0x3133ba['collabWebSocketUrl'])!=null?_0xd68477:_0x4b0546)!=null?_0x578dbe:Tn,_0x602a9a=await this[_0x9943eb(0x17b)][_0x9943eb(0x253)](_0xcd9e79);return this[_0x9943eb(0x120)]=_0x602a9a,_0x602a9a;}async['_tryEnsureSocket'](){var _0x50be38=_0x2d44ac,_0x39731a,_0xf76402;try{const _0x1ac5b9=(_0xf76402=(_0x39731a=this[_0x50be38(0x25c)])!=null?_0x39731a:this['_candidateSocket'])!=null?_0xf76402:await this[_0x50be38(0x2d3)]();if(_0x1ac5b9){const _0x3ad656=_0x1ac5b9['send'];_0x1ac5b9['send']=_0x29739e=>(this[_0x50be38(0x3ea)](),_0x3ad656[_0x50be38(0x1d7)](_0x1ac5b9,[_0x29739e])),_0x1ac5b9[_0x50be38(0x167)][_0x50be38(0x128)](_0x5a7942=>this[_0x50be38(0x1cd)](_0x1ac5b9,_0x5a7942)),_0x1ac5b9[_0x50be38(0x30c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](_0x3cc79f=>this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x50be38(0x280),_0x3cc79f)),_0x1ac5b9[_0x50be38(0x23c)][_0x50be38(0x11e)](_0x16de2(0x1))[_0x50be38(0x128)](()=>{this['_onConnectionOpen'](_0x1ac5b9);}),_0x1ac5b9['close$']['pipe'](_0x16de2(0x1))[_0x50be38(0x128)](_0x335428=>{var _0x14a765=_0x50be38;this[_0x14a765(0x1d5)][_0x14a765(0x2a2)](_0x14a765(0x14a),_0x14a765(0x28a),_0x335428),this['_onConnectionFailed']();});}}catch(_0x2ee56d){this[_0x50be38(0x1d5)][_0x50be38(0x274)](_0x2ee56d),this[_0x50be38(0x3c3)]();}}['_onConnectionOpen'](_0x2a5acc){var _0x537157=_0x2d44ac;this[_0x537157(0x1d5)][_0x537157(0x2a2)]('[CollaborationSessionService]',_0x537157(0x10c)),_0x2a5acc[_0x537157(0x1f5)]({'cmd':F[_0x537157(0x396)]}),this[_0x537157(0x3ea)]();}['_onOffline'](){var _0x5bb917=_0x2d44ac;this[_0x5bb917(0x346)]=!0x1,this[_0x5bb917(0x120)]=null,this[_0x5bb917(0x3d3)][_0x5bb917(0x26e)](Ee[_0x5bb917(0x2e5)]),this[_0x5bb917(0x316)][_0x5bb917(0x26e)](null),this[_0x5bb917(0x152)](),this['_clearHeartbeatTimer']();}[_0x2d44ac(0x3c3)](){var _0x185350=_0x2d44ac,_0x15f5cd;this[_0x185350(0x1e6)](),this[_0x185350(0x2fe)]<((_0x15f5cd=this['_configService']['getConfig'](On))!=null?_0x15f5cd:yn)?(this['_collaborationUIEventService'][_0x185350(0x113)]({'id':re[_0x185350(0x347)]}),this['_tryReconnect']()):this[_0x185350(0xf4)][_0x185350(0x113)]({'id':re[_0x185350(0x2d9)]});}[_0x2d44ac(0x3fd)](){var _0x3b6447=_0x2d44ac,_0x2b6d29;const _0x4c39db=this[_0x3b6447(0x2fe)],_0x54a9b1=this[_0x3b6447(0x375)][_0x3b6447(0x3fc)](q),_0x596c72=_0x4c39db===0x0?0x0:((_0x2b6d29=_0x54a9b1==null?void 0x0:_0x54a9b1[_0x3b6447(0x1f7)])!=null?_0x2b6d29:bn)*0x2**_0x4c39db;this[_0x3b6447(0x3b9)]=setTimeout(()=>{var _0x2612d6=_0x3b6447;clearTimeout(this[_0x2612d6(0x3b9)]),this[_0x2612d6(0x3b9)]=null,this[_0x2612d6(0x3f4)]();},_0x596c72),this[_0x3b6447(0x2fe)]+=0x1;}['_onMessage'](_0x161912,_0x39a327){var _0xb1d458=_0x2d44ac;const {cmd:_0x4fc92b}=_0x39a327;_0x4fc92b===F[_0xb1d458(0x396)]&&!this[_0xb1d458(0x346)]&&(_0x161912[_0xb1d458(0x3c6)]=_0x39a327[_0xb1d458(0x18e)][_0xb1d458(0x3c6)],this[_0xb1d458(0x316)][_0xb1d458(0x26e)](_0x161912),this[_0xb1d458(0x3d3)][_0xb1d458(0x26e)](Ee[_0xb1d458(0x177)]),this[_0xb1d458(0x346)]=!0x0,this[_0xb1d458(0x120)]=null),_0x4fc92b===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0xb1d458(0x3ea)]();}[_0x2d44ac(0x3ea)](){var _0x31adb0=_0x2d44ac,_0x1514e7;this[_0x31adb0(0x374)](),this[_0x31adb0(0x362)]=setTimeout(()=>this[_0x31adb0(0x1bf)](),(_0x1514e7=this[_0x31adb0(0x375)]['getConfig'](Cn))!=null?_0x1514e7:Rn);}[_0x2d44ac(0x1bf)](){var _0x3b907f=_0x2d44ac;this[_0x3b907f(0x25c)][_0x3b907f(0x1f5)]({'cmd':F[_0x3b907f(0x134)]}),this[_0x3b907f(0x353)]();}['_waitForHeartbeatResponse'](){var _0x5d4259=_0x2d44ac,_0x528b15;this[_0x5d4259(0x276)]=setTimeout(()=>this[_0x5d4259(0x3c3)](),(_0x528b15=this[_0x5d4259(0x375)][_0x5d4259(0x3fc)](mi))!=null?_0x528b15:gi);}['_clearHeartbeatTimer'](){var _0x20b91f=_0x2d44ac;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20b91f(0x362)]),this['_sendHeartbeatTimer']=null);}[_0x2d44ac(0x152)](){var _0x29adac=_0x2d44ac;this[_0x29adac(0x276)]!=null&&(clearTimeout(this[_0x29adac(0x276)]),this[_0x29adac(0x276)]=null);}};Me=Kn([be(0x0,_0x3a18e9(_0x2eed8a)),be(0x1,_0x41bbc0),be(0x2,_0x462043),be(0x3,Ii),be(0x4,_0x3a18e9(pe)),be(0x5,_0x1f5a13(Pn))],Me);const V=[];for(let t=0x0;t<0x100;++t)V[_0x2d44ac(0x2ad)]((t+0x100)[_0x2d44ac(0x24e)](0x10)[_0x2d44ac(0x2ab)](0x1));function qn(_0x277832,_0x4a06f6=0x0){var _0x4a2bef=_0x2d44ac;return(V[_0x277832[_0x4a06f6+0x0]]+V[_0x277832[_0x4a06f6+0x1]]+V[_0x277832[_0x4a06f6+0x2]]+V[_0x277832[_0x4a06f6+0x3]]+'-'+V[_0x277832[_0x4a06f6+0x4]]+V[_0x277832[_0x4a06f6+0x5]]+'-'+V[_0x277832[_0x4a06f6+0x6]]+V[_0x277832[_0x4a06f6+0x7]]+'-'+V[_0x277832[_0x4a06f6+0x8]]+V[_0x277832[_0x4a06f6+0x9]]+'-'+V[_0x277832[_0x4a06f6+0xa]]+V[_0x277832[_0x4a06f6+0xb]]+V[_0x277832[_0x4a06f6+0xc]]+V[_0x277832[_0x4a06f6+0xd]]+V[_0x277832[_0x4a06f6+0xe]]+V[_0x277832[_0x4a06f6+0xf]])[_0x4a2bef(0x37c)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3cbc0f=_0x2d44ac;if(!ut){if(typeof crypto>'u'||!crypto[_0x3cbc0f(0x3d1)])throw new Error(_0x3cbc0f(0x34f));ut=crypto['getRandomValues']['bind'](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID']['bind'](crypto),Kt={'randomUUID':Xn};function Zn(_0x4295f7,_0x36e414,_0x2a3f4f){var _0x133d29=_0x2d44ac,_0x3a8206,_0x206aa1,_0x1d1fdc;if(Kt[_0x133d29(0x258)]&&!_0x4295f7)return Kt[_0x133d29(0x258)]();_0x4295f7=_0x4295f7||{};const _0x230602=(_0x1d1fdc=(_0x206aa1=_0x4295f7[_0x133d29(0x325)])!=null?_0x206aa1:(_0x3a8206=_0x4295f7[_0x133d29(0x271)])==null?void 0x0:_0x3a8206[_0x133d29(0x2fa)](_0x4295f7))!=null?_0x1d1fdc:Jn();if(_0x230602[_0x133d29(0x1cc)]<0x10)throw new Error(_0x133d29(0x1d0));return _0x230602[0x6]=_0x230602[0x6]&0xf|0x40,_0x230602[0x8]=_0x230602[0x8]&0x3f|0x80,qn(_0x230602);}const J=_0x33148c('collaboration-client.local-cache-service');function Br(_0x374acc){var _0x2686a1=_0x2d44ac;return _0x2686a1(0x331)+_0x374acc;}var Qn=Object[_0x2d44ac(0x2a3)],es=(_0x269ebb,_0x2540bb,_0x4957d2,_0x429045)=>{var _0x59ddbf=_0x2d44ac;for(var _0x1d4d28=_0x429045>0x1?void 0x0:_0x429045?Qn(_0x2540bb,_0x4957d2):_0x2540bb,_0x125f96=_0x269ebb[_0x59ddbf(0x1cc)]-0x1,_0x17aa29;_0x125f96>=0x0;_0x125f96--)(_0x17aa29=_0x269ebb[_0x125f96])&&(_0x1d4d28=_0x17aa29(_0x1d4d28)||_0x1d4d28);return _0x1d4d28;},dt=(_0x25d0cd,_0x58e369)=>(_0x1be0f2,_0x27d393)=>_0x58e369(_0x1be0f2,_0x27d393,_0x25d0cd);function ts(_0x139eb0){var _0x1ec296=_0x2d44ac;const {unitID:_0xc4ebe7,mutations:_0x4c5f9f}=_0x139eb0;return{'unitId':_0xc4ebe7,'subUnitId':_0x4c5f9f[0x0]['params'][_0x1ec296(0x158)]};}let it=class{constructor(_0x238588,_0x51553f,_0x10f5ef){var _0x4b22d5=_0x2d44ac;this['_injector']=_0x238588,this['_transformService']=_0x51553f,this[_0x4b22d5(0x383)]=_0x10f5ef;}['transformSelections'](_0x18efbb){var _0x18cdfd=_0x2d44ac,_0x543689,_0x4fa4c0,_0x29720f,_0x58c735;const _0x1d9f4f=this[_0x18cdfd(0x3d2)][_0x18cdfd(0x215)](_0x33ec45),{unitId:_0x1e7e3a,subUnitId:_0x276171}=ts(_0x18efbb),_0x4bb99b=_0x1d9f4f==null?void 0x0:_0x1d9f4f[_0x18cdfd(0x173)](_0x1e7e3a)[_0x18cdfd(0x20e)](),_0x45ef79=(_0x4fa4c0=(_0x543689=this[_0x18cdfd(0x383)][_0x18cdfd(0x255)](_0x1e7e3a))==null?void 0x0:_0x543689[_0x18cdfd(0x1c6)]())==null?void 0x0:_0x4fa4c0['getSheetId']();if(_0x4bb99b[_0x18cdfd(0x1cc)]===0x0||!_0x1e7e3a||!_0x276171)return;const _0xafe0c0=[{'id':_0x913cf0['id'],'params':{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x10fb77[_0x18cdfd(0x2f9)](_0x4bb99b)}}],_0x5e072b=this[_0x18cdfd(0x380)][_0x18cdfd(0x2d8)](_0x18efbb,_0xafe0c0);if(!_0x418fd2(_0x5e072b))throw _0x5e072b[_0x18cdfd(0x274)];const _0x13bc6f=(_0x58c735=(_0x29720f=_0x5e072b['m2Prime'][0x0])==null?void 0x0:_0x29720f[_0x18cdfd(0x2d1)])==null?void 0x0:_0x58c735['selections'];if(Array[_0x18cdfd(0x33e)](_0x13bc6f)&&_0x13bc6f[_0x18cdfd(0x1cc)]){if(_0x13bc6f[_0x18cdfd(0x1cc)]===_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x18cdfd(0x1cc)]&&_0x13bc6f['every']((_0x55410b,_0x47da96)=>_0x3be7f8[_0x18cdfd(0x210)](_0x55410b[_0x18cdfd(0x138)],_0xafe0c0[0x0][_0x18cdfd(0x2d1)][_0x18cdfd(0x1eb)][_0x47da96][_0x18cdfd(0x138)])))return;this[_0x18cdfd(0x3d2)]['get'](_0x326da6)[_0x18cdfd(0x1b1)](_0x913cf0['id'],{'unitId':_0x1e7e3a,'subUnitId':_0x45ef79,'selections':_0x13bc6f});}}};it=es([dt(0x0,_0x3a18e9(_0x2eed8a)),dt(0x1,_0x157f6a),dt(0x2,_0x2e2ca3)],it);const ht=_0x33148c(_0x2d44ac(0x1b9));var Ci=(_0x5bcb27=>(_0x5bcb27[_0x5bcb27[_0x2d44ac(0x270)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x5bcb27[_0x5bcb27['OTHER_CLIENTS_EDITING']=0x1]=_0x2d44ac(0x234),_0x5bcb27))(Ci||{});const is=new Set([_0x18815b['id']]);function qt(_0x43c836,_0x5a0b37,_0x2fbc8a,_0x3da46d,_0x233a8a){var _0x52adc2=_0x2d44ac,_0xc0a57a,_0x47ef6c,_0x51703c,_0x530db0;const _0x146fea=[];for(const _0x296c62 of _0x43c836)if(is[_0x52adc2(0x311)](_0x296c62['id'])){if(_0x146fea[_0x52adc2(0x1cc)]>0x0)break;_0x146fea['push'](_0x296c62);break;}else _0x146fea[_0x52adc2(0x2ad)](_0x296c62);const _0x580b01=(_0x47ef6c=(_0xc0a57a=_0x233a8a[_0x52adc2(0x37d)]())==null?void 0x0:_0xc0a57a['userID'])!=null?_0x47ef6c:_0x52adc2(0x3e3),_0x4b93fa=(_0x530db0=(_0x51703c=_0x233a8a['getCurrentUser']())==null?void 0x0:_0x51703c['memberID'])!=null?_0x530db0:_0x52adc2(0x3e3);return{'changeset':{'unitID':_0x5a0b37,'type':_0x3e9c01(_0x2fbc8a[_0x52adc2(0x1f9)](_0x5a0b37)),'baseRev':_0x3da46d['getCurrentRevOfUnit'](_0x5a0b37),'revision':0x0,'userID':_0x580b01,'memberID':_0x4b93fa,'mutations':_0x146fea},'pendingMutations':_0x43c836['slice'](_0x146fea['length'])};}function ns(_0x2aa741,_0x20978a,_0x390425,_0x3eb4f4,_0x5a1bc2){var _0x4ae561=_0x2d44ac,_0x277274,_0x187a94,_0x49f601,_0x1b70ae;const _0x1051f9=[_0x2aa741[_0x4ae561(0x11d)]((_0x189100,_0x53ba6c)=>{var _0x4ed4dc=_0x4ae561,_0x1fe0af;const {id:_0x42e6bd}=_0x189100,{id:_0x2c6d35,type:_0x339614}=_0x53ba6c,_0x401dfb=(_0x1fe0af=_0x189100[_0x4ed4dc(0x2d1)])!=null?_0x1fe0af:{'actions':null},_0xd90839=_0x53ba6c[_0x4ed4dc(0x2d1)];if(_0x42e6bd&&_0x42e6bd!==_0x2c6d35)throw new Error(_0x4ed4dc(0x221)+_0x42e6bd+'\x20-\x20'+_0x2c6d35+'.');return{..._0x189100,'id':_0x2c6d35,'type':_0x339614,'params':{'unitId':_0xd90839[_0x4ed4dc(0x153)],'textRanges':_0xd90839['textRanges'],'actions':_0x575400['compose'](_0x401dfb[_0x4ed4dc(0x211)],_0xd90839['actions'])}};},{})],_0x568a2b=(_0x187a94=(_0x277274=_0x5a1bc2[_0x4ae561(0x37d)]())==null?void 0x0:_0x277274[_0x4ae561(0x395)])!=null?_0x187a94:'unknown',_0x5f4cdd=(_0x1b70ae=(_0x49f601=_0x5a1bc2['getCurrentUser']())==null?void 0x0:_0x49f601[_0x4ae561(0x3c6)])!=null?_0x1b70ae:'unknown';return{'changeset':{'unitID':_0x20978a,'type':_0x3e9c01(_0x390425['getUnitType'](_0x20978a)),'baseRev':_0x3eb4f4[_0x4ae561(0x1e1)](_0x20978a),'revision':0x0,'userID':_0x568a2b,'memberID':_0x5f4cdd,'mutations':_0x1051f9},'pendingMutations':[]};}function Ri(_0x52822c,_0x57acc0){var _0x57a1ce=_0x2d44ac;const _0x433f18=new _0x5d4224(0x1);return setTimeout(()=>_0x433f18[_0x57a1ce(0x26e)](_0x57acc0),_0x52822c),_0x433f18[_0x57a1ce(0x2f1)]()[_0x57a1ce(0x11e)](_0x3d256e(0x1));}function _0x39a9(_0x31bcd9,_0x579c95){var _0x393f0b=_0x393f();return _0x39a9=function(_0x39a9ad,_0x4ce26b){_0x39a9ad=_0x39a9ad-0xf4;var _0x5b1aba=_0x393f0b[_0x39a9ad];return _0x5b1aba;},_0x39a9(_0x31bcd9,_0x579c95);}const ss={'id':_0xf1efa['id'],'type':_0x2707f2['MUTATION'],'params':{}};var rs=Object[_0x2d44ac(0x2a3)],Te=(_0x106518,_0x3efbaf,_0x1d7393,_0x34b13b)=>{var _0x45a94a=_0x2d44ac;for(var _0x422152=_0x34b13b>0x1?void 0x0:_0x34b13b?rs(_0x3efbaf,_0x1d7393):_0x3efbaf,_0x4e7c8b=_0x106518[_0x45a94a(0x1cc)]-0x1,_0x23929a;_0x4e7c8b>=0x0;_0x4e7c8b--)(_0x23929a=_0x106518[_0x4e7c8b])&&(_0x422152=_0x23929a(_0x422152)||_0x422152);return _0x422152;},P=(_0x601404,_0x3305e8)=>(_0x24762b,_0xb9f179)=>_0x3305e8(_0x24762b,_0xb9f179,_0x601404),bi=(_0xab2018=>(_0xab2018[_0x2d44ac(0x2db)]='not_collab',_0xab2018[_0x2d44ac(0x155)]=_0x2d44ac(0x355),_0xab2018[_0x2d44ac(0x13f)]=_0x2d44ac(0x18d),_0xab2018[_0x2d44ac(0x29a)]=_0x2d44ac(0x3af),_0xab2018['AWAITING_WITH_PENDING']=_0x2d44ac(0x117),_0xab2018[_0x2d44ac(0x23d)]='fetch_missing',_0xab2018[_0x2d44ac(0x3b3)]=_0x2d44ac(0x38c),_0xab2018[_0x2d44ac(0x2e5)]='offline',_0xab2018))(bi||{});const Oi=0xea60;class Ce{constructor(_0x2be510,_0x21f8d1,_0x4f3969,_0x22b976,_0x8e7f15,_0x4910d4,_0x4b9d14,_0x3488fb,_0x34f75){var _0x5a220b=_0x2d44ac;N(this,'_awaitingChangeset',null),N(this,_0x5a220b(0x3da),[]),(this['unitID']=_0x2be510,this['type']=_0x21f8d1,this[_0x5a220b(0x219)]=_0x8e7f15,this[_0x5a220b(0x2be)]=_0x4910d4,this['_undoRedoService']=_0x4b9d14,this[_0x5a220b(0x29f)]=_0x3488fb,this[_0x5a220b(0x145)]=_0x34f75,this[_0x5a220b(0x174)]=_0x4f3969,this[_0x5a220b(0x3da)]=_0x22b976);}[_0x2d44ac(0x156)](_0x57b500){var _0x420cf8=_0x2d44ac;const _0x18d55b=this['_revisionService'][_0x420cf8(0x1e1)](this[_0x420cf8(0x1ff)]);return _0x57b500[_0x420cf8(0x344)]>_0x18d55b+0x1?(this[_0x420cf8(0x219)][_0x420cf8(0x1d9)]({'from':_0x18d55b,'to':_0x57b500[_0x420cf8(0x344)]-0x1}),!0x0):!0x1;}[_0x2d44ac(0x304)](_0x435387){var _0x565312=_0x2d44ac;this[_0x565312(0x2eb)][_0x565312(0x16d)](this[_0x565312(0x1ff)],_0x435387);}[_0x2d44ac(0x199)](_0x4c2b8c){var _0x4e7242=_0x2d44ac,_0x463dd4,_0x25334a;(_0x25334a=(_0x463dd4=this['_handler'])[_0x4e7242(0x1f3)])==null||_0x25334a[_0x4e7242(0x2fa)](_0x463dd4,_0x4c2b8c);}[_0x2d44ac(0x126)](_0x41a6b8){var _0x4a601f=_0x2d44ac,_0x5266c2,_0xf0ae07;return(_0xf0ae07=(_0x5266c2=this[_0x4a601f(0x219)])[_0x4a601f(0x3b7)])==null?void 0x0:_0xf0ae07[_0x4a601f(0x2fa)](_0x5266c2,_0x41a6b8);}['_transformStateCache'](_0x40697f){var _0x8ec00a=_0x2d44ac,_0x24ce12,_0x385e26;return(_0x385e26=(_0x24ce12=this['_handler'])[_0x8ec00a(0x31b)])==null?void 0x0:_0x385e26[_0x8ec00a(0x2fa)](_0x24ce12,_0x40697f);}[_0x2d44ac(0x2ed)](_0x2984a3){var _0x5a7012=_0x2d44ac,_0xb4455,_0x492af5,_0x4372d3;return(_0x4372d3=(_0x492af5=(_0xb4455=this[_0x5a7012(0x219)])[_0x5a7012(0x2f3)])==null?void 0x0:_0x492af5[_0x5a7012(0x2fa)](_0xb4455,_0x2984a3))!=null?_0x4372d3:_0x2984a3;}[_0x2d44ac(0x119)](_0x35e957){var _0x49d5c1=_0x2d44ac,_0x4a9185,_0x559da2,_0x33f1b4;return(_0x33f1b4=(_0x559da2=(_0x4a9185=this[_0x49d5c1(0x219)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x559da2[_0x49d5c1(0x2fa)](_0x4a9185,_0x35e957))!=null?_0x33f1b4:_0x35e957;}[_0x2d44ac(0x28e)](_0x3c20c){var _0x24a403=_0x2d44ac,_0x8f4aa6,_0x34652e;if(this[_0x24a403(0x23a)]===Q[_0x24a403(0x3f8)]){const {unitID:_0x10bebe,mutations:_0x143f24,memberID:_0x135d63}=_0x3c20c,_0xc6a477=_0x143f24[0x0]['params'][_0x24a403(0x1c4)];Array[_0x24a403(0x33e)](_0xc6a477)&&_0xc6a477[_0x24a403(0x1cc)]>0x0&&((_0x34652e=(_0x8f4aa6=this['_handler'])[_0x24a403(0x371)])==null||_0x34652e['call'](_0x8f4aa6,{'unitID':_0x10bebe,'memberID':_0x135d63,'textRanges':_0xc6a477}));}}[_0x2d44ac(0x3a9)](){var _0x5a66c2=_0x2d44ac,_0xeeec7c;(_0xeeec7c=this[_0x5a66c2(0x145)])==null||_0xeeec7c[_0x5a66c2(0x165)](this[_0x5a66c2(0x1ff)],this['type'],this[_0x5a66c2(0x174)],this[_0x5a66c2(0x3da)]);}['_getCurrentRevision'](){var _0x46ddd8=_0x2d44ac;return this[_0x46ddd8(0x29f)][_0x46ddd8(0x1e1)](this['unitID']);}[_0x2d44ac(0x2a4)](){var _0x290014=_0x2d44ac;this['_revisionService'][_0x290014(0x1da)](this['unitID']);}[_0x2d44ac(0x27c)](_0x37c77c){var _0x15aede=_0x2d44ac,_0x149c0e;let _0x4a0f38=this['_transformRemoteChangesetByIMECache'](_0x37c77c);_0x4a0f38=this[_0x15aede(0x119)](_0x4a0f38);const _0x19ed56=_0x4d2b7a(_0x4a0f38[_0x15aede(0x1c8)],this[_0x15aede(0x2be)],{'fromCollab':!0x0});if(!_0x19ed56['result'])throw _0x19ed56[_0x15aede(0x274)]instanceof Error?_0x19ed56['error']:new Error((_0x149c0e=_0x19ed56[_0x15aede(0x274)])!=null?_0x149c0e:_0x15aede(0x3ad));this[_0x15aede(0x126)](_0x4a0f38),this[_0x15aede(0x3f1)](_0x4a0f38),this[_0x15aede(0x304)](_0x37c77c),this[_0x15aede(0x199)](_0x4a0f38),this[_0x15aede(0x28e)](_0x4a0f38),this[_0x15aede(0x2a4)]();}}let Ne=class extends Ce{constructor(_0x3d6fba,_0x12afec,_0x29ed20,_0x41a463,_0x5417f1,_0x350010,_0xf5d55,_0x220cdd,_0x30b838,_0x245ed5){var _0xdf62d3=_0x2d44ac;super(_0x3d6fba,_0x12afec,null,[],_0x29ed20,_0xf5d55,_0x350010,_0x41a463,_0x245ed5),N(this,_0xdf62d3(0x389),_0xdf62d3(0x355)),(this['_injector']=_0x5417f1,this[_0xdf62d3(0x1d5)]=_0x220cdd,this['_transformService']=_0x30b838,this['localCacheService']=_0x245ed5);}[_0x2d44ac(0x18a)](_0x1d76b2){var _0x2d9614=_0x2d44ac;const _0x25b565=this[_0x2d9614(0x3d2)][_0x2d9614(0x22e)](ae,this[_0x2d9614(0x1ff)],this['type'],[_0x1d76b2],this['_handler']);return _0x25b565[_0x2d9614(0x358)](),_0x25b565[_0x2d9614(0x3a9)](),_0x25b565;}[_0x2d44ac(0x1ef)](_0x425159){var _0x2ff71b=_0x2d44ac;if(this[_0x2ff71b(0x156)](_0x425159))return this[_0x2ff71b(0x3d2)][_0x2ff71b(0x22e)](ee,this['unitID'],this[_0x2ff71b(0x23a)],null,[],null,[_0x425159],this[_0x2ff71b(0x219)]);try{const _0x11447c=this[_0x2ff71b(0x380)]['transformMutationsWithChangeset'](_0x425159,[ss]);if(_0x418fd2(_0x11447c)){const {c1Prime:_0x3f1a97}=_0x11447c;return this[_0x2ff71b(0x27c)](_0x3f1a97),this;}throw _0x11447c[_0x2ff71b(0x274)];}catch(_0x44f3d3){return this[_0x2ff71b(0x1d5)][_0x2ff71b(0x274)](_0x44f3d3),this[_0x2ff71b(0x2ce)](!0x1);}}[_0x2d44ac(0x2ce)](_0x308b7c){var _0x16923f=_0x2d44ac;return this[_0x16923f(0x3d2)][_0x16923f(0x22e)](ue,this[_0x16923f(0x1ff)],this['type'],null,[],this[_0x16923f(0x219)],_0x308b7c);}[_0x2d44ac(0x1fc)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x46e47a=_0x2d44ac;throw new Error(_0x46e47a(0x24d));}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){var _0x498768=_0x2d44ac;return this['_injector'][_0x498768(0x22e)](de,this[_0x498768(0x1ff)],this[_0x498768(0x23a)],null,[],this[_0x498768(0x219)]);}[_0x2d44ac(0x328)](){return this;}['resend'](){var _0x5b77c5=_0x2d44ac;throw new Error(_0x5b77c5(0x25a));}[_0x2d44ac(0x223)](){var _0x495e16=_0x2d44ac;const _0x1250cf=this[_0x495e16(0x29f)][_0x495e16(0x1e1)](this[_0x495e16(0x1ff)]);return this[_0x495e16(0x219)][_0x495e16(0x1d9)]({'from':_0x1250cf,'to':0x0}),this[_0x495e16(0x3d2)][_0x495e16(0x22e)](ee,this[_0x495e16(0x1ff)],this[_0x495e16(0x23a)],null,[],null,[],this[_0x495e16(0x219)]);}};Ne=Te([P(0x3,_0x3a18e9(_0x43b8da)),P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x46d3c0),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x1f5a13(J))],Ne);let ae=class extends Ce{constructor(_0x32cf3b,_0x405d8c,_0x53376d,_0x1196a6,_0x4dfecc,_0x4658ff,_0x44f6fd,_0x264641,_0x576133,_0x28975d,_0x208ee3,_0x2bc332,_0x26c492,_0x1d7f97){var _0x15533c=_0x2d44ac;super(_0x32cf3b,_0x405d8c,null,_0x53376d,_0x1196a6,_0x576133,_0x26c492,_0x4658ff,_0x1d7f97),N(this,'status',_0x15533c(0x18d)),N(this,_0x15533c(0x3b2),null),N(this,_0x15533c(0x28d),null),(this[_0x15533c(0x3d2)]=_0x4dfecc,this['_memberService']=_0x44f6fd,this[_0x15533c(0x1d5)]=_0x264641,this['_configService']=_0x28975d,this[_0x15533c(0x380)]=_0x208ee3,this[_0x15533c(0x3f5)]=_0x2bc332);}[_0x2d44ac(0x18a)](_0x2bb946){var _0x37fc31=_0x2d44ac;return this[_0x37fc31(0x3da)][_0x37fc31(0x2ad)](_0x2bb946),this[_0x37fc31(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x3c4018){var _0x3bbd34=_0x2d44ac;if(this['_checkMissing'](_0x3c4018))return this[_0x3bbd34(0x17a)](),this['_injector']['createInstance'](ee,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],null,this[_0x3bbd34(0x3da)],null,[_0x3c4018],this[_0x3bbd34(0x219)]);try{const _0x320463=this[_0x3bbd34(0x380)]['transformMutationsWithChangeset'](_0x3c4018,this[_0x3bbd34(0x3da)]);if(_0x418fd2(_0x320463)){const {c1Prime:_0x2ec4fd,m2Prime:_0x138b96}=_0x320463;this['_executeRemoteChangeset'](_0x2ec4fd);const _0x2f3e5c=this[_0x3bbd34(0x3d2)][_0x3bbd34(0x22e)](ae,this[_0x3bbd34(0x1ff)],this[_0x3bbd34(0x23a)],_0x138b96,this[_0x3bbd34(0x219)]);this[_0x3bbd34(0x17a)]();const _0x536c16=new Date()[_0x3bbd34(0x37b)](),_0x37f78f=this['_scheduleCompleteTimestamp']?Math[_0x3bbd34(0x121)](this['_scheduleCompleteTimestamp']-_0x536c16,0x0):this['_getSendChangesetTimeout']();return _0x2f3e5c['_schedule'](_0x37f78f),_0x2f3e5c;}throw _0x320463['error'];}catch(_0x4637d1){return this[_0x3bbd34(0x1d5)][_0x3bbd34(0x274)](_0x4637d1),this[_0x3bbd34(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x2d44ac(0x1f6)](){var _0x10f4b8=_0x2d44ac;throw new Error(_0x10f4b8(0x232));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x7023c=_0x2d44ac;return this[_0x7023c(0x17a)](),this['_injector'][_0x7023c(0x22e)](de,this[_0x7023c(0x1ff)],this['type'],null,this[_0x7023c(0x3da)],this['_handler']);}['toggleOnline'](){return this;}[_0x2d44ac(0x358)](_0x3d8ec3){var _0x12db44=_0x2d44ac;const _0x4967af=_0x3d8ec3!=null?_0x3d8ec3:this[_0x12db44(0x352)]();this['_scheduleCompleteTimestamp']=new Date()[_0x12db44(0x37b)]()+_0x4967af,this[_0x12db44(0x28d)]=setTimeout(()=>{var _0x4aa226=_0x12db44;this[_0x4aa226(0x17a)]();let _0x490905=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x490905=qt(this['_pendingMutations'],this[_0x4aa226(0x1ff)],this['_univerInstanceService'],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]);break;}case Q[_0x4aa226(0x3f8)]:{this[_0x4aa226(0x3da)]['every'](_0xfe8193=>_0xfe8193['id']===_0x3a517f['id'])?_0x490905=ns(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this[_0x4aa226(0x29f)],this[_0x4aa226(0xff)]):_0x490905=qt(this[_0x4aa226(0x3da)],this[_0x4aa226(0x1ff)],this[_0x4aa226(0x3f5)],this['_revisionService'],this[_0x4aa226(0xff)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+_0x4aa226(0x3d4));}const {changeset:_0x15de45,pendingMutations:_0x270125}=_0x490905;this[_0x4aa226(0x219)][_0x4aa226(0x233)](_0x15de45);const _0x275300=_0x270125['length']?this[_0x4aa226(0x3d2)]['createInstance'](oe,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,_0x270125,this[_0x4aa226(0x219)],void 0x0):this[_0x4aa226(0x3d2)][_0x4aa226(0x22e)](le,this[_0x4aa226(0x1ff)],this[_0x4aa226(0x23a)],_0x15de45,this[_0x4aa226(0x219)]);_0x275300[_0x4aa226(0x3a9)](),this['_handler']['onStateChange'](this,_0x275300);},_0x4967af);}['_getSendChangesetTimeout'](){var _0x8a7d68;const _0x2e1e90=this['_configService']['getConfig'](q);return(_0x8a7d68=_0x2e1e90==null?void 0x0:_0x2e1e90['sendChangesetTimeout'])!=null?_0x8a7d68:En;}[_0x2d44ac(0x31d)](){var _0x448c77=_0x2d44ac;throw new Error(_0x448c77(0x146));}[_0x2d44ac(0x17a)](){var _0x55887c=_0x2d44ac;this[_0x55887c(0x28d)]!=null&&(clearTimeout(this[_0x55887c(0x28d)]),this['_sendingTimer']=null);}['_onConflict'](_0x474035){var _0x415823=_0x2d44ac;return this[_0x415823(0x17a)](),this['_injector']['createInstance'](ue,this[_0x415823(0x1ff)],this['type'],null,this[_0x415823(0x3da)],this[_0x415823(0x219)],_0x474035);}};ae=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x3a18e9(Le)),P(0x7,_0x41bbc0),P(0x8,_0x326da6),P(0x9,_0x462043),P(0xa,_0x157f6a),P(0xb,_0x2e2ca3),P(0xc,_0x46d3c0),P(0xd,_0x1f5a13(J))],ae);let le=class extends Ce{constructor(_0x4f41e6,_0x46eb4f,_0x1f5169,_0x5c90cd,_0x31f489,_0x1e886f,_0x5a0942,_0x159d17,_0xda99fe,_0xb273f9,_0x273226){var _0x52e235=_0x2d44ac;super(_0x4f41e6,_0x46eb4f,_0x1f5169,[],_0x5c90cd,_0x5a0942,_0xb273f9,_0x1e886f,_0x273226),N(this,_0x52e235(0x389),_0x52e235(0x3af)),N(this,_0x52e235(0x116),0x0),N(this,'_resendTimer'),N(this,_0x52e235(0x1c7)),(this[_0x52e235(0x3d2)]=_0x31f489,this[_0x52e235(0x1d5)]=_0x159d17,this[_0x52e235(0x380)]=_0xda99fe);}[_0x2d44ac(0x18a)](_0x70dab3){var _0x1a5600=_0x2d44ac;this[_0x1a5600(0x17a)]();const _0xee9f25=this[_0x1a5600(0x3d2)][_0x1a5600(0x22e)](oe,this['unitID'],this[_0x1a5600(0x23a)],this[_0x1a5600(0x174)],[_0x70dab3],this['_handler'],this[_0x1a5600(0x2fc)]);return _0xee9f25[_0x1a5600(0x3a9)](),_0xee9f25;}[_0x2d44ac(0x1ef)](_0x31c32e){var _0x12c7ea=_0x2d44ac;if(this[_0x12c7ea(0x156)](_0x31c32e))return this[_0x12c7ea(0x17a)](),this[_0x12c7ea(0x3d2)][_0x12c7ea(0x22e)](ee,this['unitID'],this[_0x12c7ea(0x23a)],this[_0x12c7ea(0x174)],[],null,[_0x31c32e],this[_0x12c7ea(0x219)]);try{const _0x3e3c2b=this[_0x12c7ea(0x380)][_0x12c7ea(0x235)]([_0x31c32e],[this[_0x12c7ea(0x174)]],!0x1);if(_0x3d2c6a(_0x3e3c2b)){const {c1Prime:_0x24e83a,c2Prime:_0x46ae64}=_0x3e3c2b;this[_0x12c7ea(0x27c)](_0x24e83a[0x0]),_0x46ae64[0x0][_0x12c7ea(0x251)]=this['_getCurrentRevision'](),this[_0x12c7ea(0x17a)]();const _0x203888=this['_injector'][_0x12c7ea(0x22e)](le,this['unitID'],this[_0x12c7ea(0x23a)],_0x46ae64[0x0],this['_handler']);return _0x203888['_updateLocalCache'](),_0x203888;}return this[_0x12c7ea(0x2ce)](!0x1);}catch(_0x1ec8dc){return this[_0x12c7ea(0x1d5)][_0x12c7ea(0x274)](_0x1ec8dc),this[_0x12c7ea(0x2ce)](!0x1);}}[_0x2d44ac(0x1fc)](_0x494b84){var _0x57cde2=_0x2d44ac;this[_0x57cde2(0x17a)]();const _0x5b2a75=this[_0x57cde2(0x29f)]['getCurrentRevOfUnit'](this[_0x57cde2(0x1ff)]);if(_0x494b84['revision']<_0x5b2a75-0x1)return this;if(this[_0x57cde2(0x156)](_0x494b84))return this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](ee,this[_0x57cde2(0x1ff)],this[_0x57cde2(0x23a)],null,[],this[_0x57cde2(0x174)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x128b5c=this[_0x57cde2(0x3d2)][_0x57cde2(0x22e)](Ne,this['unitID'],this[_0x57cde2(0x23a)],this['_handler']);return _0x128b5c['_updateLocalCache'](),_0x128b5c;}[_0x2d44ac(0x1f6)](_0x3bdac1){var _0x10d4e3=_0x2d44ac;return this[_0x10d4e3(0x2ce)](!!(_0x3bdac1!=null&&_0x3bdac1[_0x10d4e3(0x3e9)]));}[_0x2d44ac(0x27e)](_0x32d625){var _0x3f5659=_0x2d44ac;return this[_0x3f5659(0x116)]>Oi?this[_0x3f5659(0x10e)]():(this['_resendTimer']=Ri(this['_resendTimeout'],{'timeout':this[_0x3f5659(0x116)],'reqId':_0x32d625[_0x3f5659(0x39e)]}),this[_0x3f5659(0x1c7)]=this[_0x3f5659(0x2fc)][_0x3f5659(0x128)](({reqId:_0x54b4a4,timeout:_0x18075f})=>{var _0x31cc17=_0x3f5659;this[_0x31cc17(0x1ad)](_0x54b4a4,_0x18075f);}),this);}[_0x2d44ac(0x10e)](){var _0x5084df=_0x2d44ac;return this[_0x5084df(0x17a)](),this[_0x5084df(0x3d2)]['createInstance'](de,this[_0x5084df(0x1ff)],this[_0x5084df(0x23a)],this[_0x5084df(0x174)],[],this[_0x5084df(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x47d36b=_0x2d44ac;this['_handler']['onSendChangeset'](this[_0x47d36b(0x174)]);}[_0x2d44ac(0x2ce)](_0x2274c2){var _0xd05b29=_0x2d44ac;return this[_0xd05b29(0x17a)](),this[_0xd05b29(0x3d2)]['createInstance'](ue,this[_0xd05b29(0x1ff)],this[_0xd05b29(0x23a)],this[_0xd05b29(0x174)],[],this['_handler'],_0x2274c2);}['_resendWithTimeout'](_0x4a2601,_0x3286e3){var _0x57a9f8=_0x2d44ac,_0x38b657;_0x4a2601===((_0x38b657=this[_0x57a9f8(0x174)])==null?void 0x0:_0x38b657['reqId'])&&(this[_0x57a9f8(0x31d)](),this[_0x57a9f8(0x116)]=_0x3286e3===0x0?0x3e8:_0x3286e3*0x2);}[_0x2d44ac(0x17a)](){var _0x4ca0b0=_0x2d44ac,_0x354723;(_0x354723=this[_0x4ca0b0(0x1c7)])==null||_0x354723[_0x4ca0b0(0x20c)](),this['_resendTimeout']=0x0;}};le=Te([P(0x4,_0x3a18e9(_0x2eed8a)),P(0x5,_0x3a18e9(_0x43b8da)),P(0x6,_0x326da6),P(0x7,_0x41bbc0),P(0x8,_0x157f6a),P(0x9,_0x46d3c0),P(0xa,_0x1f5a13(J))],le);let oe=class extends Ce{constructor(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x2b363d,_0x1e4a9f,_0x25f68a,_0x154943,_0x14accc,_0x496184,_0x18bd1e,_0x3a0f9f){var _0x2ec31c=_0x2d44ac;super(_0x12c809,_0x3f7f19,_0x4c8fba,_0x1f7ee3,_0x2d3923,_0x154943,_0x18bd1e,_0x25f68a,_0x3a0f9f),N(this,_0x2ec31c(0x389),_0x2ec31c(0x117)),N(this,_0x2ec31c(0x116),0x0),N(this,_0x2ec31c(0x2fc)),N(this,_0x2ec31c(0x1c7)),(this[_0x2ec31c(0x3d2)]=_0x1e4a9f,this[_0x2ec31c(0x1d5)]=_0x14accc,this[_0x2ec31c(0x380)]=_0x496184,this['localCacheService']=_0x3a0f9f,_0x2b363d&&(this[_0x2ec31c(0x2fc)]=_0x2b363d,this[_0x2ec31c(0x1c7)]=this['_resendTimer'][_0x2ec31c(0x128)](({reqId:_0x2ec759,timeout:_0x33618c})=>{var _0x2a8a2a=_0x2ec31c;this[_0x2a8a2a(0x1ad)](_0x2ec759,_0x33618c);})));}['appendMutation'](_0xf20166){var _0x2b3c1a=_0x2d44ac;return this[_0x2b3c1a(0x3da)][_0x2b3c1a(0x2ad)](_0xf20166),this;}[_0x2d44ac(0x1ef)](_0xa4d3d9){var _0xcb8412=_0x2d44ac;if(this[_0xcb8412(0x156)](_0xa4d3d9))return this[_0xcb8412(0x17a)](),this[_0xcb8412(0x3d2)][_0xcb8412(0x22e)](ee,this['unitID'],this[_0xcb8412(0x23a)],this['_awaitingChangeset'],this[_0xcb8412(0x3da)],null,[_0xa4d3d9],this[_0xcb8412(0x219)]);try{const _0x2f77cf=this[_0xcb8412(0x380)]['transformChangesets']([_0xa4d3d9],[this[_0xcb8412(0x174)]],!0x1);if(_0x3d2c6a(_0x2f77cf)){const {c1Prime:_0x56672f,c2Prime:_0x5cd50f}=_0x2f77cf,_0x2cd643=this[_0xcb8412(0x380)][_0xcb8412(0x2d8)](_0x56672f[0x0],this[_0xcb8412(0x3da)]);if(_0x418fd2(_0x2cd643)){const {c1Prime:_0x22c566,m2Prime:_0x16c2b9}=_0x2cd643;return this[_0xcb8412(0x27c)](_0x22c566),_0x5cd50f[0x0][_0xcb8412(0x251)]=this[_0xcb8412(0x2b6)](),this[_0xcb8412(0x17a)](),this['_injector'][_0xcb8412(0x22e)](oe,this[_0xcb8412(0x1ff)],this[_0xcb8412(0x23a)],_0x5cd50f[0x0],_0x16c2b9,this[_0xcb8412(0x219)],void 0x0);}throw _0x2cd643['error'];}throw _0x2f77cf['error'];}catch(_0x93659){return this[_0xcb8412(0x1d5)]['error'](_0x93659),this['_onConflict'](!0x1);}}[_0x2d44ac(0x1fc)](_0x34587a){var _0x3cae05=_0x2d44ac;if(this['_clearScheduledTask'](),this[_0x3cae05(0x156)](_0x34587a))return this[_0x3cae05(0x3d2)]['createInstance'](ee,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],null,this[_0x3cae05(0x3da)],this[_0x3cae05(0x174)],[],this[_0x3cae05(0x219)]);this[_0x3cae05(0x2a4)]();const _0x3fd0b8=this[_0x3cae05(0x3d2)][_0x3cae05(0x22e)](ae,this[_0x3cae05(0x1ff)],this[_0x3cae05(0x23a)],this[_0x3cae05(0x3da)],this[_0x3cae05(0x219)]);return _0x3fd0b8[_0x3cae05(0x358)](),_0x3fd0b8['_updateLocalCache'](),_0x3fd0b8;}[_0x2d44ac(0x1f6)](_0xf674d2){var _0x47c1d2=_0x2d44ac;return this[_0x47c1d2(0x2ce)](!!(_0xf674d2!=null&&_0xf674d2[_0x47c1d2(0x3e9)]));}['onRemoteRetry'](_0x316d1b){var _0x251f95=_0x2d44ac;return this[_0x251f95(0x116)]>Oi?this[_0x251f95(0x10e)]():(this[_0x251f95(0x2fc)]=Ri(this[_0x251f95(0x116)],{'timeout':this[_0x251f95(0x116)],'reqId':_0x316d1b[_0x251f95(0x39e)]}),this['_sender']=this[_0x251f95(0x2fc)][_0x251f95(0x128)](({reqId:_0x5a741a,timeout:_0x146bac})=>{var _0xbd0708=_0x251f95;this[_0xbd0708(0x1ad)](_0x5a741a,_0x146bac);}),this);}['toggleOffline'](){var _0xa89fc5=_0x2d44ac;return this[_0xa89fc5(0x17a)](),this[_0xa89fc5(0x3d2)][_0xa89fc5(0x22e)](de,this[_0xa89fc5(0x1ff)],this['type'],this[_0xa89fc5(0x174)],this[_0xa89fc5(0x3da)],this[_0xa89fc5(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){var _0x3d079d=_0x2d44ac;this[_0x3d079d(0x219)][_0x3d079d(0x233)](this[_0x3d079d(0x174)]);}['_onConflict'](_0x5736c5){var _0x580f2c=_0x2d44ac;return this[_0x580f2c(0x17a)](),this[_0x580f2c(0x3d2)][_0x580f2c(0x22e)](ue,this[_0x580f2c(0x1ff)],this[_0x580f2c(0x23a)],null,this[_0x580f2c(0x3da)],this['_handler'],_0x5736c5);}[_0x2d44ac(0x1ad)](_0x43fa37,_0x23daaa){var _0x27e049=_0x2d44ac,_0x53493f;_0x43fa37===((_0x53493f=this[_0x27e049(0x174)])==null?void 0x0:_0x53493f[_0x27e049(0x39e)])&&(this['resend'](),this[_0x27e049(0x116)]=_0x23daaa===0x0?0x3e8:_0x23daaa*0x2);}[_0x2d44ac(0x17a)](){var _0x161049=_0x2d44ac,_0x4b0b89;(_0x4b0b89=this['_sender'])==null||_0x4b0b89[_0x161049(0x20c)](),this[_0x161049(0x116)]=0x0;}};oe=Te([P(0x6,_0x3a18e9(_0x2eed8a)),P(0x7,_0x3a18e9(_0x43b8da)),P(0x8,_0x326da6),P(0x9,_0x41bbc0),P(0xa,_0x157f6a),P(0xb,_0x46d3c0),P(0xc,_0x1f5a13(J))],oe);let ue=class extends Ce{constructor(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x2afd0c=!0x1,_0x3fbe42,_0x10475f,_0x230017,_0x188743,_0x2ce95a,_0x287019,_0x4c4be0){var _0x1c78d4=_0x2d44ac;super(_0x42b038,_0x21fa98,_0x464684,_0x5eadc5,_0x141ed0,_0x10475f,_0x230017,_0x188743,_0x4c4be0),N(this,_0x1c78d4(0x389),'conflict'),(this[_0x1c78d4(0x208)]=_0x2afd0c,this[_0x1c78d4(0x3e4)]=_0x3fbe42,this[_0x1c78d4(0x309)]=_0x2ce95a,this[_0x1c78d4(0xf4)]=_0x287019,this[_0x1c78d4(0x3fb)]=_0x4c4be0,this[_0x1c78d4(0x1b8)](),this[_0x1c78d4(0x194)](),this[_0x1c78d4(0x19a)]());}[_0x2d44ac(0x18a)](){return this;}[_0x2d44ac(0x1ef)](){return this;}[_0x2d44ac(0x1fc)](){return this;}[_0x2d44ac(0x1f6)](){return this;}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x31d)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x2d44ac(0x194)](){var _0x5d7201=_0x2d44ac,_0x547a26;(_0x547a26=this[_0x5d7201(0x145)])==null||_0x547a26[_0x5d7201(0x165)](this[_0x5d7201(0x1ff)],this[_0x5d7201(0x23a)],null,[]);}[_0x2d44ac(0x1b8)](){var _0xd974c4=_0x2d44ac;this[_0xd974c4(0x208)]?this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x230)]}):this['_collaborationUIEventService'][_0xd974c4(0x113)]({'id':re[_0xd974c4(0x3b3)]});}['_disableEditing'](){var _0x596077=_0x2d44ac;this[_0x596077(0x3e4)][_0x596077(0x109)](new _0x457771(this[_0x596077(0x1ff)])['id'],!0x1);}};ue=Te([P(0x6,_0x3a18e9(_0x1461bf)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x3a18e9(_0x43b8da)),P(0xa,_0x3a18e9(_0x25b15a)),P(0xb,_0x3a18e9(pe)),P(0xc,_0x1f5a13(J))],ue);let de=class extends Ce{constructor(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x4e84f2,_0x149dc9,_0x2e4473,_0x25902f,_0x3edd1e){super(_0x847fe3,_0x129f54,_0x1f41a5,_0x5925b1,_0x464cba,_0x2e4473,_0x25902f,_0x149dc9,_0x3edd1e),N(this,'status','offline'),this['_injector']=_0x4e84f2;}[_0x2d44ac(0x18a)](_0x1406f6){var _0x37a3c0=_0x2d44ac;return this[_0x37a3c0(0x3da)]['push'](_0x1406f6),this[_0x37a3c0(0x3a9)](),this;}[_0x2d44ac(0x1ef)](_0x56c80e){var _0x36dfbf=_0x2d44ac;throw new Error(_0x36dfbf(0x3bc));}['onRemoteAck'](){var _0x34b83d=_0x2d44ac;throw new Error(_0x34b83d(0x299));}[_0x2d44ac(0x1f6)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x2d44ac(0x10e)](){return this;}[_0x2d44ac(0x328)](){var _0x3807aa=_0x2d44ac;const {_injector:_0x1be876,_pendingMutations:_0x450434,_awaitingChangeset:_0x37bb82,unitID:_0x364497,_handler:_0x42a4c4,type:_0x2df111}=this,_0x3d5ca8=yi(_0x1be876,_0x364497,_0x2df111,_0x37bb82,_0x450434,_0x42a4c4);return _0x3d5ca8 instanceof ae?_0x3d5ca8[_0x3807aa(0x358)]():(_0x3d5ca8 instanceof oe||_0x3d5ca8 instanceof le)&&_0x3d5ca8[_0x3807aa(0x31d)](),_0x3d5ca8;}['resend'](){var _0x90ce3c=_0x2d44ac;throw new Error(_0x90ce3c(0x2d0));}};de=Te([P(0x5,_0x3a18e9(_0x2eed8a)),P(0x6,_0x3a18e9(_0x43b8da)),P(0x7,_0x326da6),P(0x8,_0x46d3c0),P(0x9,_0x1f5a13(J))],de);let ee=class extends Ce{constructor(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x1bc64c,_0x3b3f13,_0x22c5b6,_0x319709,_0x3067ca,_0x148da5,_0x356ae8,_0xe9caf7,_0x2b74bb,_0x4ab9c2){var _0x2712dd=_0x2d44ac;super(_0x2122d5,_0x470905,_0x2a7cd2,_0x1c5a89,_0x22c5b6,_0x356ae8,_0xe9caf7,_0x3067ca,_0x4ab9c2),N(this,'status',_0x2712dd(0x3db)),(this[_0x2712dd(0x337)]=_0x1bc64c,this[_0x2712dd(0x2e4)]=_0x3b3f13,this['_injector']=_0x319709,this['_logService']=_0x148da5,this['_transformService']=_0x2b74bb,this['localCacheService']=_0x4ab9c2);}['onMissedChangesetFetched'](_0x1e3781){var _0x599ed7=_0x2d44ac;try{const _0x353a61=[..._0x1e3781,...this[_0x599ed7(0x2e4)]],_0xe96ff9=[this[_0x599ed7(0x174)]||this[_0x599ed7(0x337)]][_0x599ed7(0x231)](_0x3494d2=>!!_0x3494d2);let _0x4c8def,_0x5ee899;if(_0xe96ff9[_0x599ed7(0x1cc)]){const _0x5780e2=this[_0x599ed7(0x380)][_0x599ed7(0x235)](_0x353a61,_0xe96ff9,!0x1);if(!_0x3d2c6a(_0x5780e2))throw _0x5780e2[_0x599ed7(0x274)];_0x4c8def=_0x5780e2[_0x599ed7(0x243)],_0x5ee899=_0x5780e2[_0x599ed7(0x3c1)];}else _0x4c8def=_0x353a61,_0x5ee899=[];let _0x3ac89c=this[_0x599ed7(0x3da)];_0x4c8def['forEach'](_0x598dff=>{var _0x4c0717=_0x599ed7;let _0x55d615;if(_0x3ac89c[_0x4c0717(0x1cc)]){const _0x52a416=this[_0x4c0717(0x380)][_0x4c0717(0x2d8)](_0x598dff,_0x3ac89c);if(!_0x418fd2(_0x52a416))throw _0x52a416[_0x4c0717(0x274)];_0x55d615=_0x52a416[_0x4c0717(0x243)],_0x3ac89c=_0x52a416[_0x4c0717(0x29e)];}else _0x55d615=_0x598dff;this[_0x4c0717(0x27c)](_0x55d615);}),this[_0x599ed7(0x337)]&&this[_0x599ed7(0x2a4)](),this['_awaitingChangeset']&&_0x5ee899[_0x599ed7(0x1cc)]&&(_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)]());let _0x5ea596;if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]!==0x0)_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](oe,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],_0x3ac89c,this[_0x599ed7(0x219)],void 0x0);else{if(this[_0x599ed7(0x174)]&&_0x3ac89c[_0x599ed7(0x1cc)]===0x0)_0x5ee899[0x0][_0x599ed7(0x251)]=this[_0x599ed7(0x2b6)](),_0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](le,this['unitID'],this[_0x599ed7(0x23a)],_0x5ee899[0x0],this['_handler']);else{if(_0x3ac89c[_0x599ed7(0x1cc)]!==0x0){const _0x3fea85=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](ae,this['unitID'],this[_0x599ed7(0x23a)],_0x3ac89c,this[_0x599ed7(0x219)]);_0x3fea85['_schedule'](),_0x5ea596=_0x3fea85;}else _0x5ea596=this[_0x599ed7(0x3d2)][_0x599ed7(0x22e)](Ne,this[_0x599ed7(0x1ff)],this[_0x599ed7(0x23a)],this[_0x599ed7(0x219)]);}}return _0x5ea596[_0x599ed7(0x3a9)](),_0x5ea596;}catch(_0x25e881){return this[_0x599ed7(0x1d5)][_0x599ed7(0x274)](_0x599ed7(0x1b5),_0x599ed7(0x139),_0x25e881),this['_injector'][_0x599ed7(0x22e)](ue,this[_0x599ed7(0x1ff)],this['type'],this['_awaitingChangeset'],this[_0x599ed7(0x3da)],this[_0x599ed7(0x219)],!0x1);}}[_0x2d44ac(0x31d)](){var _0x44a275=_0x2d44ac;throw new Error(_0x44a275(0x33c));}['appendMutation'](_0x13d6a4){var _0x27390b=_0x2d44ac;return this[_0x27390b(0x3da)][_0x27390b(0x2ad)](_0x13d6a4),this;}[_0x2d44ac(0x1ef)](_0x15b6fd){var _0x189353=_0x2d44ac;return this[_0x189353(0x2e4)][_0x189353(0x2ad)](_0x15b6fd),this;}['onRemoteAck'](_0x41577a){var _0x29c9c4=_0x2d44ac;if(this[_0x29c9c4(0x174)])return this[_0x29c9c4(0x337)]=this['_awaitingChangeset'],this[_0x29c9c4(0x174)]=null,this;throw new Error(_0x29c9c4(0x2c8));}[_0x2d44ac(0x1f6)](_0x4bb061){var _0x332700=_0x2d44ac;return this[_0x332700(0x2ce)](!!(_0x4bb061!=null&&_0x4bb061[_0x332700(0x3e9)]));}[_0x2d44ac(0x27e)](){return this;}[_0x2d44ac(0x10e)](){var _0x3f800c=_0x2d44ac;return this[_0x3f800c(0x3d2)][_0x3f800c(0x22e)](de,this[_0x3f800c(0x1ff)],this[_0x3f800c(0x23a)],this['_awaitingChangeset'],this[_0x3f800c(0x3da)],this[_0x3f800c(0x219)]);}[_0x2d44ac(0x328)](){return this;}[_0x2d44ac(0x2ce)](_0x4e31af){var _0x1e5742=_0x2d44ac;return this[_0x1e5742(0x3d2)][_0x1e5742(0x22e)](ue,this[_0x1e5742(0x1ff)],this[_0x1e5742(0x23a)],this[_0x1e5742(0x174)],this[_0x1e5742(0x3da)],this[_0x1e5742(0x219)],_0x4e31af);}};ee=Te([P(0x7,_0x3a18e9(_0x2eed8a)),P(0x8,_0x3a18e9(_0x43b8da)),P(0x9,_0x41bbc0),P(0xa,_0x326da6),P(0xb,_0x46d3c0),P(0xc,_0x157f6a),P(0xd,_0x1f5a13(J))],ee);function yi(_0x556b1d,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da){var _0x5a4efc=_0x2d44ac;return _0x618b56&&_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d['createInstance'](oe,_0x554631,_0x557454,_0x618b56,_0x3499f4,_0xd822da,void 0x0):_0x618b56?_0x556b1d[_0x5a4efc(0x22e)](le,_0x554631,_0x557454,_0x618b56,_0xd822da):_0x3499f4[_0x5a4efc(0x1cc)]?_0x556b1d[_0x5a4efc(0x22e)](ae,_0x554631,_0x557454,_0x3499f4,_0xd822da):_0x556b1d[_0x5a4efc(0x22e)](Ne,_0x554631,_0x557454,_0xd822da);}var as=Object[_0x2d44ac(0x2a3)],Lt=(_0x24d81c,_0x5d0cfb,_0x146ac3,_0xba3c88)=>{var _0x34bc62=_0x2d44ac;for(var _0x588635=_0xba3c88>0x1?void 0x0:_0xba3c88?as(_0x5d0cfb,_0x146ac3):_0x5d0cfb,_0x34dbbc=_0x24d81c[_0x34bc62(0x1cc)]-0x1,_0x262d4e;_0x34dbbc>=0x0;_0x34dbbc--)(_0x262d4e=_0x24d81c[_0x34dbbc])&&(_0x588635=_0x262d4e(_0x588635)||_0x588635);return _0x588635;},H=(_0x5759d9,_0x391f40)=>(_0x315274,_0xef023)=>_0x391f40(_0x315274,_0xef023,_0x5759d9);let nt=class extends _0x2f9470{constructor(_0x4e9ed7,_0x128391,_0x13ddd2,_0x60cb5e,_0x2bd2d5,_0x2b490f,_0x96bd4f,_0x46e323,_0x518027,_0x5b69a0,_0x9822be,_0x5a77a4,_0x1a1046){var _0x338be5=_0x2d44ac;super(),N(this,_0x338be5(0x324),new _0xa6b6e7(null)),N(this,_0x338be5(0xf8),this['_state$'][_0x338be5(0x2f1)]()),N(this,_0x338be5(0x21d)),N(this,_0x338be5(0x330),!0x1),N(this,_0x338be5(0x122),''),N(this,_0x338be5(0x2ee),0x0),N(this,_0x338be5(0x30a),this[_0x338be5(0xf8)][_0x338be5(0x11e)](_0xa964fc(_0x5c546b=>_0x5c546b?_0x5c546b['status']:bi[_0x338be5(0x2e5)]),_0x2ea2ae(0x1))),N(this,_0x338be5(0x263),!0x1),N(this,_0x338be5(0x3dc),[]),(this[_0x338be5(0x1ff)]=_0x4e9ed7,this[_0x338be5(0x3c8)]=_0x128391,this['_type']=_0x13ddd2,this[_0x338be5(0x3d2)]=_0x60cb5e,this[_0x338be5(0x228)]=_0x2bd2d5,this[_0x338be5(0x309)]=_0x2b490f,this[_0x338be5(0x29f)]=_0x96bd4f,this[_0x338be5(0x354)]=_0x46e323,this[_0x338be5(0x1d5)]=_0x518027,this[_0x338be5(0x2be)]=_0x5b69a0,this[_0x338be5(0x3e4)]=_0x9822be,this[_0x338be5(0x16a)]=_0x5a77a4,this['_localCacheService']=_0x1a1046);}get[_0x2d44ac(0x370)](){var _0x26331f=_0x2d44ac;return this[_0x26331f(0x21d)];}async['init'](){var _0x2f752b=_0x2d44ac;if(this[_0x2f752b(0x370)])throw new Error(_0x2f752b(0x135));await this[_0x2f752b(0x321)]();}['pauseCollaboration'](){var _0x76da79=_0x2d44ac;return this[_0x76da79(0x330)]=!0x0,_0x411075(()=>{var _0x11474c=_0x76da79;this[_0x11474c(0x330)]=!0x1,this[_0x11474c(0x15f)]();});}[_0x2d44ac(0x246)](_0x11b54b){var _0x4ad0e1=_0x2d44ac;this[_0x4ad0e1(0x36e)](_0x11b54b);}[_0x2d44ac(0x3b1)](_0x414511){var _0x5428a2=_0x2d44ac;this[_0x5428a2(0x21d)]=_0x414511,this['_state$']['next'](_0x414511);}async[_0x2d44ac(0x321)](){var _0x253d17=_0x2d44ac,_0x283de3;this['_updateState'](await this['_createInitialState']()),this[_0x253d17(0x16a)]&&((_0x283de3=this[_0x253d17(0x16a)])==null||_0x283de3[_0x253d17(0x399)](this[_0x253d17(0x1ff)]),this[_0x253d17(0x336)](this['_singleActiveUnitService'][_0x253d17(0x327)](this['unitID'])['subscribe'](_0x274d7c=>{var _0x5d694c=_0x253d17;this[_0x5d694c(0x1d5)][_0x5d694c(0x2a2)](_0x5d694c(0x1dc),'editing\x20status\x20changed\x20to',_0x274d7c),_0x274d7c===Ci[_0x5d694c(0x234)]?(this[_0x5d694c(0x354)][_0x5d694c(0x113)]({'id':re[_0x5d694c(0x11f)]}),this[_0x5d694c(0x3e4)]['updatePermissionPoint'](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x1),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x1)):(this['_permissionService'][_0x5d694c(0x109)](new _0x457771(this[_0x5d694c(0x1ff)])['id'],!0x0),this[_0x5d694c(0x3e4)][_0x5d694c(0x3a4)](!0x0));})));let _0x393b48=!0x1;return this[_0x253d17(0x336)](this[_0x253d17(0x3c8)][_0x253d17(0x250)][_0x253d17(0x128)](_0x364c5d=>{var _0x57eed1=_0x253d17;_0x364c5d===Ee['ONLINE']?this[_0x57eed1(0x1dd)](_0x393b48):_0x364c5d===Ee[_0x57eed1(0x2e5)]&&(_0x393b48=!0x0,this[_0x57eed1(0x2af)]());})),this[_0x253d17(0x336)](this[_0x253d17(0x3c8)]['event$'][_0x253d17(0x128)](_0x4abddc=>{var _0x340955=_0x253d17;try{switch(_0x4abddc[_0x340955(0x3f7)]){case _0x3d1bff[_0x340955(0x381)]:{this[_0x340955(0x3bb)](_0xad3758(_0x4abddc['data']));break;}case _0x3d1bff[_0x340955(0x34a)]:{this[_0x340955(0x178)](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x248)]:{this[_0x340955(0x13d)]();break;}case _0x3d1bff[_0x340955(0x1bd)]:{this['_onRemoteRetry'](_0x4abddc[_0x340955(0x18e)]);break;}case _0x3d1bff[_0x340955(0x1a7)]:{this[_0x340955(0x3dd)](_0x4abddc[_0x340955(0x18e)][_0x340955(0x225)][_0x340955(0x1fa)](_0x4eccfe=>_0xad3758(_0x4eccfe)));break;}case _0x3d1bff[_0x340955(0x1a4)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x3d1bff['UNISCRIPT_RUN']:break;}}catch(_0x2f252e){throw console[_0x340955(0x274)]('Error\x20on\x20receiving\x20event',_0x2f252e),_0x2f252e;}})),this['_state'];}[_0x2d44ac(0x131)](){var _0x486336=_0x2d44ac;this[_0x486336(0x263)]=!0x1;}[_0x2d44ac(0x382)](){var _0xefbb1c=_0x2d44ac;if(this[_0xefbb1c(0x263)])throw new Error(_0xefbb1c(0x217));this[_0xefbb1c(0x263)]=!0x0;}[_0x2d44ac(0x36e)](_0x3fb60b){var _0xcaaa17=_0x2d44ac;this[_0xcaaa17(0x382)](),this[_0xcaaa17(0x3b1)](this['_state'][_0xcaaa17(0x18a)](_0x3fb60b)),this[_0xcaaa17(0x131)]();}[_0x2d44ac(0x3bb)](_0x434913){var _0x1dd6f0=_0x2d44ac;if(!(_0x434913[_0x1dd6f0(0x344)]<=this[_0x1dd6f0(0x29f)][_0x1dd6f0(0x1e1)](this[_0x1dd6f0(0x1ff)]))){if(this[_0x1dd6f0(0x330)]){this[_0x1dd6f0(0x3dc)]['push'](_0x434913);return;}this['_applyRemoteChangeset'](_0x434913);}}[_0x2d44ac(0x15f)](){var _0x4606b6=_0x2d44ac;this[_0x4606b6(0x3dc)][_0x4606b6(0x2ea)](_0x226f82=>this['_applyRemoteChangeset'](_0x226f82)),this[_0x4606b6(0x3dc)]=[];}[_0x2d44ac(0x1bb)](_0x37e0c1){var _0x3a4bb3=_0x2d44ac;const _0xaf8283=this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x313)](this[_0x3a4bb3(0x228)][_0x3a4bb3(0x265)][_0x3a4bb3(0x360)]()['COMPRESS_MUTATION_APPLY'])(_0x37e0c1[_0x3a4bb3(0x1c8)],null)||_0x37e0c1[_0x3a4bb3(0x1c8)],_0x250ada={..._0x37e0c1,'mutations':_0xaf8283};this[_0x3a4bb3(0x382)](),this[_0x3a4bb3(0x3b1)](this[_0x3a4bb3(0x21d)]['onRemoteChangeset'](_0x250ada)),this[_0x3a4bb3(0x131)]();}[_0x2d44ac(0x178)](_0x34726b){var _0x45e81a=_0x2d44ac;this[_0x45e81a(0x382)](),this[_0x45e81a(0x3b1)](this[_0x45e81a(0x21d)][_0x45e81a(0x1fc)](_0x34726b)),this[_0x45e81a(0x131)]();}[_0x2d44ac(0x13d)](_0x503811){var _0x489fb7=_0x2d44ac;this[_0x489fb7(0x382)](),this[_0x489fb7(0x3b1)](this['_state'][_0x489fb7(0x1f6)](_0x503811)),this[_0x489fb7(0x131)]();}['_onRemoteRetry'](_0x1c7f56){var _0x8666fb=_0x2d44ac;this[_0x8666fb(0x382)](),this[_0x8666fb(0x3b1)](this[_0x8666fb(0x21d)][_0x8666fb(0x27e)](_0x1c7f56)),this['_unlockTransition']();}['_onFetchMissResult'](_0x182bf7){var _0x25be33=_0x2d44ac;if(!(this[_0x25be33(0x21d)]instanceof ee))throw new TypeError(_0x25be33(0x2a8));const _0x2f8448=_0x182bf7[_0x25be33(0x1fa)](_0x1e27b2=>{var _0x1076b4=_0x25be33;const _0x152065=this[_0x1076b4(0x228)][_0x1076b4(0x265)][_0x1076b4(0x313)](this[_0x1076b4(0x228)]['interceptor'][_0x1076b4(0x360)]()[_0x1076b4(0x1e2)])(_0x1e27b2['mutations'],null)||_0x1e27b2['mutations'];return{..._0x1e27b2,'mutations':_0x152065};});this['_lockTransition'](),this['_updateState'](this['_state'][_0x25be33(0x301)](_0x2f8448)),this[_0x25be33(0x131)]();}['_toggleOffline'](){var _0x4e0f6d=_0x2d44ac;this[_0x4e0f6d(0x382)](),this['_updateState'](this[_0x4e0f6d(0x21d)][_0x4e0f6d(0x10e)]()),this[_0x4e0f6d(0x131)]();}['_toggleOnline'](_0x398542=!0x1){var _0x28374a=_0x2d44ac;this[_0x28374a(0x382)](),this[_0x28374a(0x3b1)](this[_0x28374a(0x21d)]['toggleOnline']()),this[_0x28374a(0x131)]();const _0x4ef62e=this['_state'];_0x398542&&_0x4ef62e instanceof Ne&&(this[_0x28374a(0x382)](),this['_updateState'](_0x4ef62e['fetchMiss']()),this[_0x28374a(0x131)]());}async['_createInitialState'](){return new Promise(_0x57361a=>{var _0x20db56=_0x39a9;this[_0x20db56(0x3c8)][_0x20db56(0x250)][_0x20db56(0x11e)](_0x3d256e(0x1))[_0x20db56(0x128)](async _0x14e934=>{var _0x58c268=_0x20db56;_0x57361a(await this[_0x58c268(0x1f8)](_0x14e934===Ee[_0x58c268(0x177)]));});});}[_0x2d44ac(0x286)](){var _0x42dd83=_0x2d44ac;const _0x4bf1fd=this[_0x42dd83(0x1ff)];return{'onStateChange':(_0x13a8c8,_0x41794a)=>{var _0x3b22bd=_0x42dd83;if(_0x13a8c8!==this[_0x3b22bd(0x21d)])throw new Error(_0x3b22bd(0x20b)+_0x13a8c8[_0x3b22bd(0x389)]+'\x0aAfter:\x20'+_0x41794a[_0x3b22bd(0x389)]+_0x3b22bd(0xf6)+this['_state']['status']);this[_0x3b22bd(0x3b1)](_0x41794a);},'onSendChangeset':_0x59aa0e=>{var _0x3c3867=_0x42dd83;_0x59aa0e[_0x3c3867(0x379)]||(_0x59aa0e[_0x3c3867(0x379)]=this[_0x3c3867(0x122)],_0x59aa0e[_0x3c3867(0x39e)]=++this[_0x3c3867(0x2ee)]);const _0x3aaa4c={'eventID':_0x3d1bff[_0x3c3867(0x1ab)],'data':{'unitID':_0x59aa0e[_0x3c3867(0x1ff)],'unitType':this[_0x3c3867(0x28c)],'changeset':_0x59aa0e,'memberID':this[_0x3c3867(0x3c8)][_0x3c3867(0x192)]()}};this[_0x3c3867(0x3c8)][_0x3c3867(0x1f5)](_0x3aaa4c,this['unitID']);},'onMissingChangesets':({from:_0x458ab3,to:_0x4c3d34})=>{var _0x5f2d3e=_0x42dd83;this['_logService']['debug'](_0x5f2d3e(0x1dc),_0x5f2d3e(0x387)+_0x458ab3+_0x5f2d3e(0x3e0)+_0x4c3d34);const _0x2a3325={'eventID':_0x3d1bff[_0x5f2d3e(0x39c)],'data':{'unitID':_0x4bf1fd,'unitType':this[_0x5f2d3e(0x28c)],'from':_0x458ab3,'to':_0x4c3d34}};this['session'][_0x5f2d3e(0x1f5)](_0x2a3325,this['unitID']);}};}async[_0x2d44ac(0x1f8)](_0x500f0e){var _0x4f9b6e=_0x2d44ac,_0x239d24,_0xebd740,_0x544926;const _0x46eebb=await((_0x239d24=this[_0x4f9b6e(0x145)])==null?void 0x0:_0x239d24[_0x4f9b6e(0x35d)](this[_0x4f9b6e(0x1ff)])),_0x312413=(_0xebd740=_0x46eebb==null?void 0x0:_0x46eebb[_0x4f9b6e(0x1c8)])!=null?_0xebd740:[],_0x25359c=(_0x544926=_0x46eebb==null?void 0x0:_0x46eebb['awaitingChangeset'])!=null?_0x544926:null,_0x3dd37f=!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x379)])&&!!(_0x25359c!=null&&_0x25359c[_0x4f9b6e(0x39e)]);this[_0x4f9b6e(0x122)]=_0x3dd37f?_0x25359c[_0x4f9b6e(0x379)]:Zn(),this[_0x4f9b6e(0x2ee)]=_0x3dd37f?_0x25359c['reqId']:0x0;const _0x538739=this['unitID'];try{this[_0x4f9b6e(0x343)](_0x25359c,_0x312413);}catch(_0x17c45e){this[_0x4f9b6e(0x1d5)]['error'](_0x17c45e);}const _0xaaf4d4=this[_0x4f9b6e(0x286)]();if(_0x500f0e){const _0x178387=yi(this[_0x4f9b6e(0x3d2)],_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);return _0x178387 instanceof ae?_0x178387[_0x4f9b6e(0x358)]():(_0x178387 instanceof oe||_0x178387 instanceof le)&&_0x178387[_0x4f9b6e(0x31d)](),_0x178387;}return this[_0x4f9b6e(0x3d2)][_0x4f9b6e(0x22e)](de,_0x538739,this['_type'],_0x25359c,_0x312413,_0xaaf4d4);}[_0x2d44ac(0x343)](_0x5e0700,_0x48f4f5){var _0x29dbae=_0x2d44ac,_0x4358f6,_0x2dcd9a;const _0x437acc=this[_0x29dbae(0x228)][_0x29dbae(0x265)][_0x29dbae(0x313)](this[_0x29dbae(0x228)]['interceptor']['getInterceptPoints']()[_0x29dbae(0x1e2)]);(_0x4358f6=_0x437acc((_0x5e0700==null?void 0x0:_0x5e0700[_0x29dbae(0x1c8)])||[],null))==null||_0x4358f6[_0x29dbae(0x2ea)](_0x5c9bf7=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x5c9bf7['id'],_0x5c9bf7[_0x29dbae(0x2d1)])),(_0x2dcd9a=_0x437acc(_0x48f4f5||[],null))==null||_0x2dcd9a[_0x29dbae(0x2ea)](_0x358e38=>this[_0x29dbae(0x2be)][_0x29dbae(0x1b1)](_0x358e38['id'],_0x358e38[_0x29dbae(0x2d1)]));}};nt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],nt);let It=class extends nt{constructor(_0x36b968,_0x52acd6,_0x19a3a6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748){var _0x164181=_0x2d44ac;super(_0x36b968,_0x19a3a6,_0x52acd6,_0x4d4438,_0x404f57,_0x6661d0,_0x40671c,_0x2d15cb,_0x230e20,_0x1eabeb,_0x3d5943,_0x1cffbe,_0x5a1748),N(this,_0x164181(0x201),null),(this[_0x164181(0x1ff)]=_0x36b968,this[_0x164181(0x23a)]=_0x52acd6);}[_0x2d44ac(0x212)](_0x4db4b8){var _0xa4e280=_0x2d44ac;this[_0xa4e280(0x201)]=_0x4db4b8;}[_0x2d44ac(0x141)](){var _0x40592a=_0x2d44ac;this['_handlerCallback']=null,super[_0x40592a(0x141)]();}['_createHandler'](){var _0x444ffb=_0x2d44ac;const _0x29da37=super['_createHandler']();return _0x29da37[_0x444ffb(0x3b7)]=_0x342239=>{var _0x2f5b6f=_0x444ffb,_0x52fd28,_0x3cbc35;return(_0x3cbc35=(_0x52fd28=this['_handlerCallback'])==null?void 0x0:_0x52fd28[_0x2f5b6f(0x3b7)])==null?void 0x0:_0x3cbc35[_0x2f5b6f(0x2fa)](_0x52fd28,_0x342239);},_0x29da37['onTransformState']=_0x3d5d63=>{var _0x2500cb=_0x444ffb,_0x9010cb,_0x937713;return(_0x937713=(_0x9010cb=this['_handlerCallback'])==null?void 0x0:_0x9010cb[_0x2500cb(0x31b)])==null?void 0x0:_0x937713[_0x2500cb(0x2fa)](_0x9010cb,_0x3d5d63);},_0x29da37[_0x444ffb(0x1f3)]=_0x1fafe1=>{var _0x26e19e=_0x444ffb,_0xdc7cec,_0x572570;return(_0x572570=(_0xdc7cec=this[_0x26e19e(0x201)])==null?void 0x0:_0xdc7cec[_0x26e19e(0x1f3)])==null?void 0x0:_0x572570[_0x26e19e(0x2fa)](_0xdc7cec,_0x1fafe1);},_0x29da37[_0x444ffb(0x371)]=_0x38f004=>{var _0x171739=_0x444ffb,_0x1e756e,_0x2a7abe;return(_0x2a7abe=(_0x1e756e=this[_0x171739(0x201)])==null?void 0x0:_0x1e756e[_0x171739(0x371)])==null?void 0x0:_0x2a7abe[_0x171739(0x2fa)](_0x1e756e,_0x38f004);},_0x29da37[_0x444ffb(0x2f3)]=_0x38dfe4=>{var _0x568a9d=_0x444ffb,_0xb4fbb7,_0x17d321,_0x37dd0e;if(!((_0xb4fbb7=this[_0x568a9d(0x201)])!=null&&_0xb4fbb7[_0x568a9d(0x2f3)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x37dd0e=(_0x17d321=this[_0x568a9d(0x201)])==null?void 0x0:_0x17d321['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x37dd0e[_0x568a9d(0x2fa)](_0x17d321,_0x38dfe4);},_0x29da37[_0x444ffb(0x15b)]=_0x44c943=>{var _0x4faab2=_0x444ffb,_0x57acee,_0x533bc2,_0x310b93;if(!((_0x57acee=this['_handlerCallback'])!=null&&_0x57acee[_0x4faab2(0x15b)]))throw new Error(_0x4faab2(0x187));return(_0x310b93=(_0x533bc2=this[_0x4faab2(0x201)])==null?void 0x0:_0x533bc2[_0x4faab2(0x15b)])==null?void 0x0:_0x310b93[_0x4faab2(0x2fa)](_0x533bc2,_0x44c943);},_0x29da37;}async['_init'](){var _0x1ccd07=_0x2d44ac;const _0x25f071=await super[_0x1ccd07(0x321)]();return this[_0x1ccd07(0x336)](this[_0x1ccd07(0x2be)][_0x1ccd07(0xf7)]((_0x39ded9,_0xc8c97f)=>{var _0x3fc68a=_0x1ccd07;if(_0x39ded9[_0x3fc68a(0x23a)]!==_0x2707f2[_0x3fc68a(0x17d)]||_0xc8c97f!=null&&_0xc8c97f['fromCollab']||_0xc8c97f!=null&&_0xc8c97f[_0x3fc68a(0x32d)]||_0x39ded9['id']===_0x3a517f['id'])return;const _0x2dab80=_0x39ded9[_0x3fc68a(0x2d1)];if((_0x2dab80==null?void 0x0:_0x2dab80[_0x3fc68a(0x153)])!==this[_0x3fc68a(0x1ff)])return;const _0x21f503=_0x39ded9,_0xf01e96=this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x313)](this['_compressMutationService'][_0x3fc68a(0x265)][_0x3fc68a(0x360)]()[_0x3fc68a(0x3ac)])([_0x21f503],null)||[_0x21f503];this[_0x3fc68a(0x36e)](_0xf01e96[0x0]);})),_0x25f071;}};It=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(pe)),H(0x8,_0x41bbc0),H(0x9,_0x326da6),H(0xa,_0x1461bf),H(0xb,_0x1f5a13(ht)),H(0xc,_0x1f5a13(J))],It);let Tt=class extends nt{constructor(_0x3d5f32,_0x1fa5af,_0x288384,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x4d20d7,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902){var _0x22f119=_0x2d44ac;super(_0x3d5f32,_0x288384,_0x1fa5af,_0x386dbb,_0x343486,_0x18d0ce,_0x572053,_0x2bc13e,_0x3a6533,_0x524888,_0x541ac1,_0x2d62fe,_0x5c7902),this[_0x22f119(0x1ff)]=_0x3d5f32,this['type']=_0x1fa5af,this[_0x22f119(0x254)]=_0x4d20d7;}[_0x2d44ac(0x286)](){var _0x560048=_0x2d44ac;const _0x1ca1be=super[_0x560048(0x286)]();return _0x1ca1be[_0x560048(0x1f3)]=_0x53a610=>this[_0x560048(0x254)]['transformSelections'](_0x53a610),_0x1ca1be;}async[_0x2d44ac(0x321)](){var _0x394b0e=_0x2d44ac;const _0x450637=await super[_0x394b0e(0x321)]();return this[_0x394b0e(0x336)](this['_commandService'][_0x394b0e(0xf7)]((_0x24e7be,_0x575359)=>{var _0x5f27c1=_0x394b0e;if(_0x24e7be[_0x5f27c1(0x23a)]!==_0x2707f2[_0x5f27c1(0x17d)]||_0x575359!=null&&_0x575359[_0x5f27c1(0x1ac)]||_0x575359!=null&&_0x575359['onlyLocal'])return;const _0x3c85d1=_0x24e7be[_0x5f27c1(0x2d1)];if((_0x3c85d1==null?void 0x0:_0x3c85d1['unitId'])!==this[_0x5f27c1(0x1ff)])return;const _0x4342f3=_0x24e7be,_0x99ea5c=this['_compressMutationService'][_0x5f27c1(0x265)][_0x5f27c1(0x313)](this[_0x5f27c1(0x228)]['interceptor']['getInterceptPoints']()[_0x5f27c1(0x3ac)])([_0x4342f3],null)||[_0x4342f3];this[_0x5f27c1(0x36e)](_0x99ea5c[0x0]);})),_0x450637;}};Tt=Lt([H(0x3,_0x3a18e9(_0x2eed8a)),H(0x4,_0x3a18e9(_0x370cea)),H(0x5,_0x3a18e9(_0x25b15a)),H(0x6,_0x3a18e9(_0x43b8da)),H(0x7,_0x3a18e9(it)),H(0x8,_0x3a18e9(pe)),H(0x9,_0x41bbc0),H(0xa,_0x326da6),H(0xb,_0x1461bf),H(0xc,_0x1f5a13(ht)),H(0xd,_0x1f5a13(J))],Tt);var os=Object[_0x2d44ac(0x2a3)],cs=(_0x47a44a,_0x43ee92,_0x17674d,_0x864d8)=>{var _0x1f60bc=_0x2d44ac;for(var _0xde10cf=_0x864d8>0x1?void 0x0:_0x864d8?os(_0x43ee92,_0x17674d):_0x43ee92,_0x4f57c8=_0x47a44a[_0x1f60bc(0x1cc)]-0x1,_0x2153fe;_0x4f57c8>=0x0;_0x4f57c8--)(_0x2153fe=_0x47a44a[_0x4f57c8])&&(_0xde10cf=_0x2153fe(_0xde10cf)||_0xde10cf);return _0xde10cf;},ft=(_0x46b888,_0x3f405f)=>(_0x4f7046,_0x41b53f)=>_0x3f405f(_0x4f7046,_0x41b53f,_0x46b888);let st=class extends _0x2f9470{constructor(_0x3bd0f2,_0xb372b2,_0x4badba){var _0x51acdf=_0x2d44ac;super(),N(this,'_entities',new Map()),N(this,_0x51acdf(0x103),new _0x42e7d7()),N(this,_0x51acdf(0x3a1),this[_0x51acdf(0x103)][_0x51acdf(0x2f1)]()),(this[_0x51acdf(0x3d2)]=_0x3bd0f2,this['_collabSessionService']=_0xb372b2,this['_univerInstanceService']=_0x4badba,this[_0x51acdf(0x321)]());}[_0x2d44ac(0x141)](){var _0x483ccb=_0x2d44ac;super[_0x483ccb(0x141)](),this[_0x483ccb(0x1df)][_0x483ccb(0x2ea)](_0x38cfa7=>_0x38cfa7[_0x483ccb(0x141)]()),this[_0x483ccb(0x1df)][_0x483ccb(0x3b4)]();}['getCollabEntity'](_0x4db4e5){var _0x59d6ad=_0x2d44ac,_0x7e6d6e;return(_0x7e6d6e=this[_0x59d6ad(0x1df)][_0x59d6ad(0x215)](_0x4db4e5))!=null?_0x7e6d6e:null;}[_0x2d44ac(0x188)](_0x4b21ff){var _0x104fc7=_0x2d44ac;const _0x5ed8c9=this[_0x104fc7(0x27d)](_0x4b21ff);return _0x5ed8c9?_0x324682(_0x5ed8c9):this['_entityInit$'][_0x104fc7(0x11e)](_0x24719a(_0x5afb8a=>_0x5afb8a['unitID']===_0x4b21ff));}[_0x2d44ac(0x1fb)](_0x292570){var _0x1a9b54=_0x2d44ac;return _0x5039fe(this[_0x1a9b54(0x188)](_0x292570)[_0x1a9b54(0x11e)](_0x4fc619(()=>{})));}[_0x2d44ac(0x321)](){var _0x1f4797=_0x2d44ac;this[_0x1f4797(0x3f5)][_0x1f4797(0x283)](_0x34ccd3[_0x1f4797(0x39a)])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))['subscribe'](async _0x40b0b9=>{var _0x38cf62=_0x1f4797;const _0x3eb602=_0x40b0b9[_0x38cf62(0x29c)](),_0x407d5d=await this['_startCollaboration'](_0x3eb602,Q[_0x38cf62(0x39a)]);this[_0x38cf62(0x1df)][_0x38cf62(0x2d2)](_0x3eb602,_0x407d5d);}),this[_0x1f4797(0x3f5)]['getTypeOfUnitAdded$'](_0x34ccd3['UNIVER_DOC'])[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]),_0x291475(0x10))[_0x1f4797(0x11e)](_0x24719a(_0x3f6a07=>!_0x3f6a07[_0x1f4797(0x29c)]()[_0x1f4797(0x359)]('__')))[_0x1f4797(0x128)](async _0x2c2014=>{var _0x569aee=_0x1f4797;const _0x47aa35=_0x2c2014[_0x569aee(0x29c)](),_0x4e2c97=await this[_0x569aee(0x12b)](_0x47aa35,Q[_0x569aee(0x3f8)]);this[_0x569aee(0x1df)][_0x569aee(0x2d2)](_0x47aa35,_0x4e2c97);}),_0x5ac85e(this[_0x1f4797(0x3f5)]['getTypeOfUnitDisposed$'](_0x34ccd3[_0x1f4797(0x39a)]),this['_univerInstanceService'][_0x1f4797(0x14e)](_0x34ccd3[_0x1f4797(0x3f8)]))[_0x1f4797(0x11e)](_0x4906df(this[_0x1f4797(0x115)]))[_0x1f4797(0x128)](_0x592e35=>{var _0x55e5b3=_0x1f4797;const _0x3b67ec=_0x592e35[_0x55e5b3(0x29c)](),_0x187270=this['_entities']['get'](_0x3b67ec);_0x187270&&(_0x187270[_0x55e5b3(0x141)](),this[_0x55e5b3(0x1df)][_0x55e5b3(0x318)](_0x3b67ec));});}async[_0x2d44ac(0x12b)](_0xa10e16,_0x19030e){var _0xbe3e68=_0x2d44ac;const _0x213701=await this[_0xbe3e68(0x2bf)]['requireSession'](_0xa10e16),_0x427e24=this[_0xbe3e68(0x3d2)][_0xbe3e68(0x22e)](this[_0xbe3e68(0x149)](_0x19030e),_0xa10e16,_0x19030e,_0x213701);return await _0x427e24[_0xbe3e68(0x16b)](),this[_0xbe3e68(0x103)][_0xbe3e68(0x26e)](_0x427e24),_0x427e24;}[_0x2d44ac(0x149)](_0x47925a){switch(_0x47925a){case Q['UNIVER_DOC']:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x47925a);}}};st=cs([ft(0x0,_0x3a18e9(_0x2eed8a)),ft(0x1,_0x3a18e9(Me)),ft(0x2,_0x2e2ca3)],st);var hs=Object[_0x2d44ac(0x2a3)],_s=(_0x3a19f5,_0x29cbda,_0x3e1768,_0x10913f)=>{var _0x30ed3d=_0x2d44ac;for(var _0x4ea937=_0x10913f>0x1?void 0x0:_0x10913f?hs(_0x29cbda,_0x3e1768):_0x29cbda,_0x5effbf=_0x3a19f5[_0x30ed3d(0x1cc)]-0x1,_0x52119a;_0x5effbf>=0x0;_0x5effbf--)(_0x52119a=_0x3a19f5[_0x5effbf])&&(_0x4ea937=_0x52119a(_0x4ea937)||_0x4ea937);return _0x4ea937;},zt=(_0x324e92,_0x5e257c)=>(_0x34351f,_0x4d0806)=>_0x5e257c(_0x34351f,_0x4d0806,_0x324e92);const ls=_0x2d44ac(0x1c0),us=_0x2d44ac(0x11c);let Ct=class extends _0x50932a{constructor(_0x299981,_0x17f187){super(),this['_univerInstanceService']=_0x299981,this['_configService']=_0x17f187,this['_init']();}[_0x2d44ac(0x321)](){var _0x498d68=_0x2d44ac;this[_0x498d68(0x336)](this[_0x498d68(0x3f5)][_0x498d68(0x2e2)][_0x498d68(0x128)](()=>{var _0x2e053c=_0x498d68,_0x51955b;const _0x545e51=this[_0x2e053c(0x3f5)][_0x2e053c(0x21f)]();let _0x3846cc=(_0x51955b=this[_0x2e053c(0x375)][_0x2e053c(0x3fc)](ls))!=null?_0x51955b:us;_0x545e51 instanceof _0x433510&&(_0x3846cc=_0x545e51[_0x2e053c(0x1bc)]),document[_0x2e053c(0x2cb)]=_0x3846cc;}));}};Ct=_s([zt(0x0,_0x2e2ca3),zt(0x1,_0x462043)],Ct);var ds=Object['getOwnPropertyDescriptor'],fs=(_0x32a36c,_0x449dc5,_0x2c5cd7,_0x5ca3fe)=>{for(var _0x4eb45d=_0x5ca3fe>0x1?void 0x0:_0x5ca3fe?ds(_0x449dc5,_0x2c5cd7):_0x449dc5,_0xaee7bc=_0x32a36c['length']-0x1,_0x4f100d;_0xaee7bc>=0x0;_0xaee7bc--)(_0x4f100d=_0x32a36c[_0xaee7bc])&&(_0x4eb45d=_0x4f100d(_0x4eb45d)||_0x4eb45d);return _0x4eb45d;},vt=(_0x197c80,_0x302b90)=>(_0x1f9274,_0xa7ce3e)=>_0x302b90(_0x1f9274,_0xa7ce3e,_0x197c80);let rt=class{constructor(_0x55a6ae,_0x458cef,_0x696796){var _0x4b0df4=_0x2d44ac;this['_configService']=_0x55a6ae,this[_0x4b0df4(0x35c)]=_0x458cef,this[_0x4b0df4(0x129)]=_0x696796,this[_0x4b0df4(0x16b)]();}['init'](){var _0x23d78b=_0x2d44ac;this[_0x23d78b(0x35c)][_0x23d78b(0x206)]({'priority':0x1,'interceptor':(_0x1fc39e,_0x11fef3)=>_0x11fef3(_0x1fc39e)['pipe'](_0x4b76a7(async _0x139ee5=>{var _0x29d57a=_0x23d78b;const _0x34e927=_0x139ee5;if(_0x34e927[_0x29d57a(0x389)]===0x191){if(typeof window>'u')throw new Error(_0x29d57a(0x312));if(window[_0x29d57a(0x329)](this[_0x29d57a(0x129)]['t'](_0x29d57a(0x193)))){const _0x3b8983=window[_0x29d57a(0x3a2)](window['location'][_0x29d57a(0x14d)]);window['location'][_0x29d57a(0x14d)]=this[_0x29d57a(0x3ff)]()+_0x29d57a(0x2f5)+_0x3b8983;}}return _0x34e927;}))});}[_0x2d44ac(0x3ff)](){var _0x396183=_0x2d44ac,_0x26e75f,_0x553d5e;const _0x14d0fd=this[_0x396183(0x375)]['getConfig'](Un),_0x2f71fc=this[_0x396183(0x375)]['getConfig'](q);return(_0x553d5e=(_0x26e75f=_0x2f71fc==null?void 0x0:_0x2f71fc[_0x396183(0x281)])!=null?_0x26e75f:_0x14d0fd)!=null?_0x553d5e:An;}};rt=fs([vt(0x0,_0x462043),vt(0x1,_0x3a18e9(_0x477870)),vt(0x2,_0x3a18e9(_0x25b15a))],rt);var vs=Object[_0x2d44ac(0x2a3)],ps=(_0x5c19ed,_0x7437d8,_0x183234,_0x4c8150)=>{var _0x14d545=_0x2d44ac;for(var _0x5a84b0=_0x4c8150>0x1?void 0x0:_0x4c8150?vs(_0x7437d8,_0x183234):_0x7437d8,_0x51a68f=_0x5c19ed[_0x14d545(0x1cc)]-0x1,_0x24c298;_0x51a68f>=0x0;_0x51a68f--)(_0x24c298=_0x5c19ed[_0x51a68f])&&(_0x5a84b0=_0x24c298(_0x5a84b0)||_0x5a84b0);return _0x5a84b0;},Jt=(_0x33aee7,_0xbae78d)=>(_0x5cebee,_0x38dc9c)=>_0xbae78d(_0x5cebee,_0x38dc9c,_0x33aee7);const Ni='AUTHZ_URL_KEY',ms='/universer-api/authz';let Rt=class extends _0x50932a{constructor(_0x12963e,_0x528394){var _0x358f09=_0x2d44ac;super(),this[_0x358f09(0x292)]=_0x12963e,this[_0x358f09(0x375)]=_0x528394,this[_0x358f09(0x3a3)]();}[_0x2d44ac(0x3a3)](){var _0x1acc9e=_0x2d44ac;const _0x143c01=this;this['disposeWithMe'](this[_0x1acc9e(0x292)][_0x1acc9e(0x206)]({'priority':0x3e7,'interceptor':_0x8b4ced({'isMatch'(_0x1baa8b){var _0x56e83d=_0x1acc9e,_0x42fe24;if(_0x1baa8b[_0x56e83d(0x290)]===_0x56e83d(0x373)&&((_0x42fe24=_0x1baa8b['requestParams'])!=null&&_0x42fe24['body'])){const {objectID:_0x2c285c,objectType:_0x13983f}=_0x1baa8b[_0x56e83d(0x1a2)][_0x56e83d(0x302)]||{};if(!_0x2c285c||_0x13983f===void 0x0)return!0x1;const _0x4a5099=_0x143c01[_0x56e83d(0x14c)]()+'/'+_0x13983f+_0x56e83d(0x315)+_0x2c285c+_0x56e83d(0x32a);if(_0x1baa8b[_0x56e83d(0x33f)]===_0x4a5099)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1b58e4){var _0x5b7c8a=_0x1acc9e,_0x5cfd95;return(_0x5cfd95=_0x1b58e4[_0x5b7c8a(0x1a2)])==null?void 0x0:_0x5cfd95[_0x5b7c8a(0x302)];},'mergeParamsToRequest'(_0x44e6ba,_0x43aabf){var _0x4bf8ed=_0x1acc9e;const _0x1b46a5=_0x143c01[_0x4bf8ed(0x14c)]()+_0x4bf8ed(0x2ae),_0x32f9ad=_0x44e6ba[_0x4bf8ed(0x11d)]((_0x38f265,_0x46146d)=>{var _0xceecd7=_0x4bf8ed;const {unitID:_0x1185cd,objectID:_0x1e4275,objectType:_0x3c1266,actions:_0x29a4eb}=_0x46146d;return _0x38f265[_0x1185cd]||(_0x38f265[_0x1185cd]={}),_0x38f265[_0x1185cd][_0x1e4275]||(_0x38f265[_0x1185cd][_0x1e4275]={'objectID':_0x1e4275,'objectType':_0x3c1266,'actions':[]}),_0x38f265[_0x1185cd][_0x1e4275][_0xceecd7(0x211)][_0xceecd7(0x2ad)](..._0x29a4eb),_0x38f265;},{}),_0x2436de=[];for(const _0x13446e in _0x32f9ad)for(const _0x16af40 in _0x32f9ad[_0x13446e]){const {actions:_0x4e3b2,objectType:_0x26788e}=_0x32f9ad[_0x13446e][_0x16af40],_0x290700=[...new Set(_0x4e3b2)];_0x2436de[_0x4bf8ed(0x2ad)]({'unitID':_0x13446e,'objectID':_0x16af40,'objectType':_0x26788e,'actions':_0x290700});}return new _0x5235ed(_0x4bf8ed(0x373),_0x1b46a5,{'headers':_0x43aabf[_0x4bf8ed(0x259)],'withCredentials':_0x43aabf[_0x4bf8ed(0x140)],'responseType':_0x43aabf[_0x4bf8ed(0x39b)],'body':{'requests':_0x2436de}});}},{'distributeResult'(_0xe707ea,_0x8d81f2){var _0x63c827=_0x1acc9e;const {objectActions:_0x1de3bf}=_0xe707ea;return _0x8d81f2[_0x63c827(0x1fa)](_0x49e469=>{var _0x19c162=_0x63c827;const {unitID:_0x1c1cc9,objectID:_0x42e0f6,actions:_0xded836}=_0x49e469,_0x12e31d=_0x1de3bf[_0x19c162(0x21a)](_0x36a3af=>_0x36a3af['unitID']===_0x1c1cc9&&_0x36a3af[_0x19c162(0x1a0)]===_0x42e0f6),_0x319240=_0xded836['map'](_0x167474=>_0x12e31d==null?void 0x0:_0x12e31d[_0x19c162(0x211)][_0x19c162(0x21a)](_0x57395d=>_0x57395d[_0x19c162(0x1d1)]===_0x167474))[_0x19c162(0x231)](_0x1d96c5=>!!_0x1d96c5);return{'config':_0x49e469,'result':{'actions':_0x319240,'error':_0xe707ea[_0x19c162(0x274)]}};});}})}));}['_getAPIPrefixPath'](){var _0x17e553=_0x2d44ac,_0x205f6f,_0x51d4d6;const _0x82a51b=this[_0x17e553(0x375)][_0x17e553(0x3fc)](Ni),_0x5cc552=this[_0x17e553(0x375)]['getConfig'](q);return(_0x51d4d6=(_0x205f6f=_0x5cc552==null?void 0x0:_0x5cc552[_0x17e553(0x244)])!=null?_0x205f6f:_0x82a51b)!=null?_0x51d4d6:ms;}async[_0x2d44ac(0x1aa)](_0x595407){var _0x28adc3=_0x2d44ac;const _0x100a8e=this[_0x28adc3(0x14c)]()+'/'+_0x595407[_0x28adc3(0x222)]+_0x28adc3(0x1d2);return(await this['_HTTPService'][_0x28adc3(0x3df)](_0x100a8e,{'body':_0x595407}))['body'][_0x28adc3(0x1a0)]||'';}async[_0x2d44ac(0x332)](_0x53a4c5){var _0x33d1dd=_0x2d44ac;const _0x285fd5=this[_0x33d1dd(0x14c)]()+_0x33d1dd(0x20f);return(await this[_0x33d1dd(0x292)][_0x33d1dd(0x3df)](_0x285fd5,{'body':_0x53a4c5}))[_0x33d1dd(0x302)][_0x33d1dd(0x1d4)];}async[_0x2d44ac(0x104)](_0x24848b){var _0x4249d1=_0x2d44ac,_0x905530,_0x360173;const _0xe1b45f=this[_0x4249d1(0x14c)]()+'/'+_0x24848b[_0x4249d1(0x222)]+_0x4249d1(0x315)+_0x24848b['objectID'],_0x3ea8ca=await this[_0x4249d1(0x292)][_0x4249d1(0x2b0)](_0xe1b45f,{'body':_0x24848b});if(((_0x360173=(_0x905530=_0x3ea8ca==null?void 0x0:_0x3ea8ca['body'])==null?void 0x0:_0x905530[_0x4249d1(0x274)])==null?void 0x0:_0x360173[_0x4249d1(0x1ae)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x2d44ac(0x35e)](_0x26a755){var _0x41fdce=_0x2d44ac;const _0x32f21a=this[_0x41fdce(0x14c)]()+'/'+_0x26a755['objectType']+_0x41fdce(0x315)+_0x26a755[_0x41fdce(0x1a0)]+_0x41fdce(0x32a);return(await this['_HTTPService'][_0x41fdce(0x3df)](_0x32f21a,{'body':_0x26a755}))[_0x41fdce(0x302)]['actions'];}async[_0x2d44ac(0x31f)](_0x575d78){var _0x540ddd=_0x2d44ac;const _0x547c3a=this[_0x540ddd(0x14c)]()+'/-/object/-/batch_allowed';return(await this[_0x540ddd(0x292)]['post'](_0x547c3a,{'body':{'requests':_0x575d78}}))['body']['objectActions'];}async[_0x2d44ac(0xfb)](_0x1744fd){var _0x28dccf=_0x2d44ac;const _0x4a1c47=this[_0x28dccf(0x14c)]()+'/'+_0x1744fd[_0x28dccf(0x222)]+'/role',_0x3785f7=await this[_0x28dccf(0x292)]['post'](_0x4a1c47,{'body':_0x1744fd});return{'roles':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x342)],'actions':_0x3785f7[_0x28dccf(0x302)][_0x28dccf(0x211)]};}async[_0x2d44ac(0x2fb)](_0x3fcc91){var _0x110855=_0x2d44ac;const _0x4a42b7=this['_getAPIPrefixPath']()+_0x110855(0x305);await this['_HTTPService']['delete'](_0x4a42b7,{'params':{'collaboratorID':_0x3fcc91['collaboratorID'],'objectID':_0x3fcc91['objectID'],'unitID':_0x3fcc91['unitID']}});}async['updateCollaborator'](_0x3767ef){var _0x1e2cf3=_0x2d44ac;const _0x524203=this[_0x1e2cf3(0x14c)]()+_0x1e2cf3(0x305);await this['_HTTPService'][_0x1e2cf3(0x39f)](_0x524203,{'body':_0x3767ef});}async['createCollaborator'](_0x1450c3){var _0x447585=_0x2d44ac;const _0x2aee17=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x447585(0x3df)](_0x2aee17,{'body':_0x1450c3});}async[_0x2d44ac(0x22a)](_0x29516c){var _0x665131=_0x2d44ac;const _0x3432ff=this[_0x665131(0x14c)]()+_0x665131(0x305);return(await this[_0x665131(0x292)][_0x665131(0x215)](_0x3432ff,{'params':{'objectID':_0x29516c[_0x665131(0x1a0)],'unitID':_0x29516c[_0x665131(0x1ff)]}}))[_0x665131(0x302)][_0x665131(0x24b)];}async[_0x2d44ac(0x132)](_0xf00088){var _0x492429=_0x2d44ac;const _0x12538f=this[_0x492429(0x14c)]()+'/collaborator';await this[_0x492429(0x292)][_0x492429(0x2b0)](_0x12538f,{'body':_0xf00088});}};Rt=ps([Jt(0x0,_0x3a18e9(_0x477870)),Jt(0x1,_0x3a18e9(_0x462043))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2de046){var _0x34367c=_0x2d44ac;return _0x2de046&&_0x2de046[_0x34367c(0x195)]&&Object[_0x34367c(0x1a9)]['hasOwnProperty'][_0x34367c(0x2fa)](_0x2de046,_0x34367c(0x364))?_0x2de046[_0x34367c(0x364)]:_0x2de046;}var Ve={'exports':{}};function gs(_0x25f79a){var _0xe40686=_0x2d44ac;throw new Error(_0xe40686(0x144)+_0x25f79a+_0xe40686(0x200));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){return Xt||(Xt=0x1,function(_0x2fdce6,_0x56257c){(function(_0x2855fd,_0x474f89){var _0x107774=_0x39a9;_0x2fdce6[_0x107774(0x1ce)]=_0x474f89();}(Ss,function(){var _0x231d57=_0x231d57||function(_0x2d7441,_0xe5a5a3){var _0x4e7484=_0x39a9,_0x4755f;if(typeof window<'u'&&window['crypto']&&(_0x4755f=window[_0x4e7484(0x268)]),typeof self<'u'&&self[_0x4e7484(0x268)]&&(_0x4755f=self[_0x4e7484(0x268)]),typeof globalThis<'u'&&globalThis[_0x4e7484(0x268)]&&(_0x4755f=globalThis[_0x4e7484(0x268)]),!_0x4755f&&typeof window<'u'&&window['msCrypto']&&(_0x4755f=window['msCrypto']),!_0x4755f&&typeof pt<'u'&&pt[_0x4e7484(0x268)]&&(_0x4755f=pt['crypto']),!_0x4755f&&typeof gs=='function')try{_0x4755f=require(_0x4e7484(0x268));}catch{}var _0x19d82e=function(){var _0xe9fcd=_0x4e7484;if(_0x4755f){if(typeof _0x4755f[_0xe9fcd(0x3d1)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x3d1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4755f[_0xe9fcd(0x348)]==_0xe9fcd(0xf5))try{return _0x4755f[_0xe9fcd(0x348)](0x4)[_0xe9fcd(0x25d)]();}catch{}}throw new Error(_0xe9fcd(0x35b));},_0x2e2a34=Object[_0x4e7484(0x1aa)]||(function(){function _0x1b8341(){}return function(_0x2e5e78){var _0xdb02b4=_0x39a9,_0x2358f4;return _0x1b8341[_0xdb02b4(0x1a9)]=_0x2e5e78,_0x2358f4=new _0x1b8341(),_0x1b8341[_0xdb02b4(0x1a9)]=null,_0x2358f4;};}()),_0x419f59={},_0x463a71=_0x419f59[_0x4e7484(0x150)]={},_0x2b544f=_0x463a71[_0x4e7484(0x184)]=(function(){return{'extend':function(_0x44dfcc){var _0x1f5885=_0x39a9,_0x336c0f=_0x2e2a34(this);return _0x44dfcc&&_0x336c0f['mixIn'](_0x44dfcc),(!_0x336c0f['hasOwnProperty'](_0x1f5885(0x16b))||this[_0x1f5885(0x16b)]===_0x336c0f[_0x1f5885(0x16b)])&&(_0x336c0f[_0x1f5885(0x16b)]=function(){var _0x4a60fe=_0x1f5885;_0x336c0f['$super'][_0x4a60fe(0x16b)][_0x4a60fe(0x1d7)](this,arguments);}),_0x336c0f[_0x1f5885(0x16b)][_0x1f5885(0x1a9)]=_0x336c0f,_0x336c0f[_0x1f5885(0x369)]=this,_0x336c0f;},'create':function(){var _0x440857=_0x39a9,_0x22bb51=this['extend']();return _0x22bb51[_0x440857(0x16b)][_0x440857(0x1d7)](_0x22bb51,arguments),_0x22bb51;},'init':function(){},'mixIn':function(_0x1d2f5a){var _0x46bca8=_0x39a9;for(var _0x29854b in _0x1d2f5a)_0x1d2f5a[_0x46bca8(0x169)](_0x29854b)&&(this[_0x29854b]=_0x1d2f5a[_0x29854b]);_0x1d2f5a[_0x46bca8(0x169)](_0x46bca8(0x24e))&&(this[_0x46bca8(0x24e)]=_0x1d2f5a[_0x46bca8(0x24e)]);},'clone':function(){var _0xc5f61d=_0x39a9;return this[_0xc5f61d(0x16b)]['prototype'][_0xc5f61d(0x30f)](this);}};}()),_0x451d8f=_0x463a71['WordArray']=_0x2b544f[_0x4e7484(0x30f)]({'init':function(_0x38552d,_0x503f21){var _0x58d92b=_0x4e7484;_0x38552d=this[_0x58d92b(0x1c1)]=_0x38552d||[],_0x503f21!=_0xe5a5a3?this[_0x58d92b(0x366)]=_0x503f21:this[_0x58d92b(0x366)]=_0x38552d[_0x58d92b(0x1cc)]*0x4;},'toString':function(_0x288293){var _0x2b00de=_0x4e7484;return(_0x288293||_0x258065)[_0x2b00de(0x2f2)](this);},'concat':function(_0x286d68){var _0x3f189c=_0x4e7484,_0x34ea22=this[_0x3f189c(0x1c1)],_0x3cf11c=_0x286d68[_0x3f189c(0x1c1)],_0x375231=this[_0x3f189c(0x366)],_0x107027=_0x286d68['sigBytes'];if(this[_0x3f189c(0x1f2)](),_0x375231%0x4)for(var _0x360418=0x0;_0x360418<_0x107027;_0x360418++){var _0x268a59=_0x3cf11c[_0x360418>>>0x2]>>>0x18-_0x360418%0x4*0x8&0xff;_0x34ea22[_0x375231+_0x360418>>>0x2]|=_0x268a59<<0x18-(_0x375231+_0x360418)%0x4*0x8;}else{for(var _0x16b717=0x0;_0x16b717<_0x107027;_0x16b717+=0x4)_0x34ea22[_0x375231+_0x16b717>>>0x2]=_0x3cf11c[_0x16b717>>>0x2];}return this[_0x3f189c(0x366)]+=_0x107027,this;},'clamp':function(){var _0x763378=_0x4e7484,_0x244c64=this[_0x763378(0x1c1)],_0x3ee0bb=this[_0x763378(0x366)];_0x244c64[_0x3ee0bb>>>0x2]&=0xffffffff<<0x20-_0x3ee0bb%0x4*0x8,_0x244c64[_0x763378(0x1cc)]=_0x2d7441[_0x763378(0x10b)](_0x3ee0bb/0x4);},'clone':function(){var _0x2b6c5e=_0x4e7484,_0x1d3a2d=_0x2b544f[_0x2b6c5e(0x2e9)][_0x2b6c5e(0x2fa)](this);return _0x1d3a2d[_0x2b6c5e(0x1c1)]=this['words'][_0x2b6c5e(0x2ab)](0x0),_0x1d3a2d;},'random':function(_0x410a4d){var _0x73727e=_0x4e7484;for(var _0xf7f2b8=[],_0x29e57b=0x0;_0x29e57b<_0x410a4d;_0x29e57b+=0x4)_0xf7f2b8[_0x73727e(0x2ad)](_0x19d82e());return new _0x451d8f['init'](_0xf7f2b8,_0x410a4d);}}),_0x37fc98=_0x419f59[_0x4e7484(0x2cc)]={},_0x258065=_0x37fc98[_0x4e7484(0x35a)]={'stringify':function(_0x1afb11){var _0x4dc1a3=_0x4e7484;for(var _0x6e6839=_0x1afb11[_0x4dc1a3(0x1c1)],_0x1460be=_0x1afb11[_0x4dc1a3(0x366)],_0x33fe27=[],_0x2b947c=0x0;_0x2b947c<_0x1460be;_0x2b947c++){var _0xa9c476=_0x6e6839[_0x2b947c>>>0x2]>>>0x18-_0x2b947c%0x4*0x8&0xff;_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476>>>0x4)[_0x4dc1a3(0x24e)](0x10)),_0x33fe27[_0x4dc1a3(0x2ad)]((_0xa9c476&0xf)[_0x4dc1a3(0x24e)](0x10));}return _0x33fe27[_0x4dc1a3(0x252)]('');},'parse':function(_0x4c9e42){var _0x519bc1=_0x4e7484;for(var _0x3a7657=_0x4c9e42['length'],_0x2adf64=[],_0x35ae64=0x0;_0x35ae64<_0x3a7657;_0x35ae64+=0x2)_0x2adf64[_0x35ae64>>>0x3]|=parseInt(_0x4c9e42[_0x519bc1(0x2ec)](_0x35ae64,0x2),0x10)<<0x18-_0x35ae64%0x8*0x4;return new _0x451d8f['init'](_0x2adf64,_0x3a7657/0x2);}},_0x26d651=_0x37fc98[_0x4e7484(0x34c)]={'stringify':function(_0x203c37){var _0x2ada58=_0x4e7484;for(var _0x428105=_0x203c37['words'],_0x4a49c7=_0x203c37['sigBytes'],_0x33249e=[],_0x5b9987=0x0;_0x5b9987<_0x4a49c7;_0x5b9987++){var _0x27107f=_0x428105[_0x5b9987>>>0x2]>>>0x18-_0x5b9987%0x4*0x8&0xff;_0x33249e[_0x2ada58(0x2ad)](String[_0x2ada58(0x1b4)](_0x27107f));}return _0x33249e['join']('');},'parse':function(_0x2e0d0d){var _0x2ed4f0=_0x4e7484;for(var _0x14447c=_0x2e0d0d['length'],_0xdf13ad=[],_0x3f7214=0x0;_0x3f7214<_0x14447c;_0x3f7214++)_0xdf13ad[_0x3f7214>>>0x2]|=(_0x2e0d0d['charCodeAt'](_0x3f7214)&0xff)<<0x18-_0x3f7214%0x4*0x8;return new _0x451d8f[(_0x2ed4f0(0x16b))](_0xdf13ad,_0x14447c);}},_0x35fce5=_0x37fc98[_0x4e7484(0x1d8)]={'stringify':function(_0x309f1f){var _0x14bddc=_0x4e7484;try{return decodeURIComponent(escape(_0x26d651[_0x14bddc(0x2f2)](_0x309f1f)));}catch{throw new Error(_0x14bddc(0x23b));}},'parse':function(_0x4ca61b){return _0x26d651['parse'](unescape(encodeURIComponent(_0x4ca61b)));}},_0x8aec87=_0x463a71[_0x4e7484(0x2d4)]=_0x2b544f['extend']({'reset':function(){var _0x217bd3=_0x4e7484;this[_0x217bd3(0x1a6)]=new _0x451d8f[(_0x217bd3(0x16b))](),this[_0x217bd3(0x388)]=0x0;},'_append':function(_0x1faeb2){var _0xef85b4=_0x4e7484;typeof _0x1faeb2==_0xef85b4(0x197)&&(_0x1faeb2=_0x35fce5[_0xef85b4(0x1af)](_0x1faeb2)),this[_0xef85b4(0x1a6)]['concat'](_0x1faeb2),this[_0xef85b4(0x388)]+=_0x1faeb2[_0xef85b4(0x366)];},'_process':function(_0x249ab3){var _0x2c88d5=_0x4e7484,_0x513187,_0x268158=this[_0x2c88d5(0x1a6)],_0x5396f4=_0x268158[_0x2c88d5(0x1c1)],_0x597159=_0x268158[_0x2c88d5(0x366)],_0x55ee26=this[_0x2c88d5(0x3cd)],_0x12129f=_0x55ee26*0x4,_0x300613=_0x597159/_0x12129f;_0x249ab3?_0x300613=_0x2d7441[_0x2c88d5(0x10b)](_0x300613):_0x300613=_0x2d7441[_0x2c88d5(0x121)]((_0x300613|0x0)-this['_minBufferSize'],0x0);var _0x286f0c=_0x300613*_0x55ee26,_0x2e392e=_0x2d7441[_0x2c88d5(0x2f0)](_0x286f0c*0x4,_0x597159);if(_0x286f0c){for(var _0x123d73=0x0;_0x123d73<_0x286f0c;_0x123d73+=_0x55ee26)this[_0x2c88d5(0x12e)](_0x5396f4,_0x123d73);_0x513187=_0x5396f4[_0x2c88d5(0x27a)](0x0,_0x286f0c),_0x268158[_0x2c88d5(0x366)]-=_0x2e392e;}return new _0x451d8f[(_0x2c88d5(0x16b))](_0x513187,_0x2e392e);},'clone':function(){var _0x4d8947=_0x4e7484,_0x3973a3=_0x2b544f[_0x4d8947(0x2e9)][_0x4d8947(0x2fa)](this);return _0x3973a3['_data']=this[_0x4d8947(0x1a6)][_0x4d8947(0x2e9)](),_0x3973a3;},'_minBufferSize':0x0});_0x463a71[_0x4e7484(0x13c)]=_0x8aec87[_0x4e7484(0x30f)]({'cfg':_0x2b544f[_0x4e7484(0x30f)](),'init':function(_0x1f437b){var _0x442e61=_0x4e7484;this[_0x442e61(0x12c)]=this['cfg']['extend'](_0x1f437b),this[_0x442e61(0x26a)]();},'reset':function(){var _0x2d0765=_0x4e7484;_0x8aec87[_0x2d0765(0x26a)]['call'](this),this[_0x2d0765(0x112)]();},'update':function(_0xe5b1ac){var _0x283f63=_0x4e7484;return this['_append'](_0xe5b1ac),this[_0x283f63(0x216)](),this;},'finalize':function(_0x43ac16){var _0x55da25=_0x4e7484;_0x43ac16&&this['_append'](_0x43ac16);var _0x598795=this[_0x55da25(0x2b9)]();return _0x598795;},'blockSize':0x10,'_createHelper':function(_0x276389){return function(_0x398149,_0x32ea62){var _0x6202e0=_0x39a9;return new _0x276389[(_0x6202e0(0x16b))](_0x32ea62)[_0x6202e0(0x3d7)](_0x398149);};},'_createHmacHelper':function(_0x48e74c){return function(_0x267960,_0x3ed782){var _0x42b3dc=_0x39a9;return new _0x5d5b03['HMAC'][(_0x42b3dc(0x16b))](_0x48e74c,_0x3ed782)['finalize'](_0x267960);};}});var _0x5d5b03=_0x419f59[_0x4e7484(0x1e3)]={};return _0x419f59;}(Math);return _0x231d57;}));}(Ge)),Ge['exports'];}var We={'exports':{}},Es=We[_0x2d44ac(0x1ce)],Zt;function Di(){var _0x2156e5=_0x2d44ac;return Zt||(Zt=0x1,function(_0x1e7ee9,_0x3752c6){(function(_0x1d4cde,_0x1cf622){var _0x26fd52=_0x39a9;_0x1e7ee9[_0x26fd52(0x1ce)]=_0x1cf622(ie());}(Es,function(_0x27c19b){var _0x27815d=_0x39a9;return(function(){var _0x18ad99=_0x39a9,_0x29d897=_0x27c19b,_0x5e612d=_0x29d897[_0x18ad99(0x150)],_0xc27576=_0x5e612d[_0x18ad99(0x357)],_0xf4e497=_0x29d897[_0x18ad99(0x2cc)];_0xf4e497[_0x18ad99(0x26c)]={'stringify':function(_0x3725cc){var _0x4948d7=_0x18ad99,_0x537e66=_0x3725cc[_0x4948d7(0x1c1)],_0x1ab0d1=_0x3725cc['sigBytes'],_0x110501=this['_map'];_0x3725cc['clamp']();for(var _0x15e75f=[],_0x5f1eec=0x0;_0x5f1eec<_0x1ab0d1;_0x5f1eec+=0x3)for(var _0x1b051b=_0x537e66[_0x5f1eec>>>0x2]>>>0x18-_0x5f1eec%0x4*0x8&0xff,_0x58ca26=_0x537e66[_0x5f1eec+0x1>>>0x2]>>>0x18-(_0x5f1eec+0x1)%0x4*0x8&0xff,_0x5e5c7f=_0x537e66[_0x5f1eec+0x2>>>0x2]>>>0x18-(_0x5f1eec+0x2)%0x4*0x8&0xff,_0x1c6c3e=_0x1b051b<<0x10|_0x58ca26<<0x8|_0x5e5c7f,_0xc75524=0x0;_0xc75524<0x4&&_0x5f1eec+_0xc75524*0.75<_0x1ab0d1;_0xc75524++)_0x15e75f['push'](_0x110501[_0x4948d7(0x1e7)](_0x1c6c3e>>>0x6*(0x3-_0xc75524)&0x3f));var _0xee387b=_0x110501[_0x4948d7(0x1e7)](0x40);if(_0xee387b){for(;_0x15e75f[_0x4948d7(0x1cc)]%0x4;)_0x15e75f[_0x4948d7(0x2ad)](_0xee387b);}return _0x15e75f[_0x4948d7(0x252)]('');},'parse':function(_0x1a7d7f){var _0x2fbb54=_0x18ad99,_0x14bd0d=_0x1a7d7f[_0x2fbb54(0x1cc)],_0x380d81=this['_map'],_0x1efc71=this['_reverseMap'];if(!_0x1efc71){_0x1efc71=this[_0x2fbb54(0x3c2)]=[];for(var _0x367f87=0x0;_0x367f87<_0x380d81[_0x2fbb54(0x1cc)];_0x367f87++)_0x1efc71[_0x380d81[_0x2fbb54(0x118)](_0x367f87)]=_0x367f87;}var _0x5426a2=_0x380d81[_0x2fbb54(0x1e7)](0x40);if(_0x5426a2){var _0x322043=_0x1a7d7f[_0x2fbb54(0x21e)](_0x5426a2);_0x322043!==-0x1&&(_0x14bd0d=_0x322043);}return _0x247b01(_0x1a7d7f,_0x14bd0d,_0x1efc71);},'_map':_0x18ad99(0x24f)};function _0x247b01(_0x162376,_0xba9b5d,_0x235371){var _0x472212=_0x18ad99;for(var _0x3d201a=[],_0x33a2c8=0x0,_0x233445=0x0;_0x233445<_0xba9b5d;_0x233445++)if(_0x233445%0x4){var _0x54faa5=_0x235371[_0x162376[_0x472212(0x118)](_0x233445-0x1)]<<_0x233445%0x4*0x2,_0xd6f3f5=_0x235371[_0x162376['charCodeAt'](_0x233445)]>>>0x6-_0x233445%0x4*0x2,_0x341a77=_0x54faa5|_0xd6f3f5;_0x3d201a[_0x33a2c8>>>0x2]|=_0x341a77<<0x18-_0x33a2c8%0x4*0x8,_0x33a2c8++;}return _0xc27576['create'](_0x3d201a,_0x33a2c8);}}()),_0x27c19b['enc'][_0x27815d(0x26c)];}));}(We)),We[_0x2156e5(0x1ce)];}var Ye={'exports':{}},Is=Ye[_0x2d44ac(0x1ce)],Qt;function Ts(){var _0x73080e=_0x2d44ac;return Qt||(Qt=0x1,function(_0x3957a5,_0xc5d058){(function(_0x19cf39,_0xca97ac){var _0x1722ae=_0x39a9;_0x3957a5[_0x1722ae(0x1ce)]=_0xca97ac(ie());}(Is,function(_0x1915ee){var _0x23e2e6=_0x39a9;return function(_0x5c21e0){var _0x128b03=_0x39a9,_0x2bdf87=_0x1915ee,_0x100968=_0x2bdf87[_0x128b03(0x150)],_0x5f3a05=_0x100968[_0x128b03(0x357)],_0x446d51=_0x100968['Hasher'],_0x815342=_0x2bdf87[_0x128b03(0x1e3)],_0x33cf7c=[];(function(){var _0x45d4e8=_0x128b03;for(var _0x200ba6=0x0;_0x200ba6<0x40;_0x200ba6++)_0x33cf7c[_0x200ba6]=_0x5c21e0[_0x45d4e8(0x16e)](_0x5c21e0[_0x45d4e8(0x176)](_0x200ba6+0x1))*0x100000000|0x0;}());var _0x39bf56=_0x815342[_0x128b03(0x272)]=_0x446d51[_0x128b03(0x30f)]({'_doReset':function(){var _0x184020=_0x128b03;this[_0x184020(0x34e)]=new _0x5f3a05[(_0x184020(0x16b))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xfb601a,_0xf2ea57){var _0x13e599=_0x128b03;for(var _0xf6a58f=0x0;_0xf6a58f<0x10;_0xf6a58f++){var _0x5c7609=_0xf2ea57+_0xf6a58f,_0x181ec5=_0xfb601a[_0x5c7609];_0xfb601a[_0x5c7609]=(_0x181ec5<<0x8|_0x181ec5>>>0x18)&0xff00ff|(_0x181ec5<<0x18|_0x181ec5>>>0x8)&0xff00ff00;}var _0x1b355c=this['_hash'][_0x13e599(0x1c1)],_0x391f59=_0xfb601a[_0xf2ea57+0x0],_0x5113b5=_0xfb601a[_0xf2ea57+0x1],_0x225dd3=_0xfb601a[_0xf2ea57+0x2],_0x5efacd=_0xfb601a[_0xf2ea57+0x3],_0x358f76=_0xfb601a[_0xf2ea57+0x4],_0x3e27cc=_0xfb601a[_0xf2ea57+0x5],_0x32879f=_0xfb601a[_0xf2ea57+0x6],_0x483d83=_0xfb601a[_0xf2ea57+0x7],_0x310dea=_0xfb601a[_0xf2ea57+0x8],_0x370f3c=_0xfb601a[_0xf2ea57+0x9],_0x438f18=_0xfb601a[_0xf2ea57+0xa],_0x42630d=_0xfb601a[_0xf2ea57+0xb],_0x32385c=_0xfb601a[_0xf2ea57+0xc],_0x3d473b=_0xfb601a[_0xf2ea57+0xd],_0x4c45fd=_0xfb601a[_0xf2ea57+0xe],_0x15d827=_0xfb601a[_0xf2ea57+0xf],_0x150336=_0x1b355c[0x0],_0x21dcb5=_0x1b355c[0x1],_0x38ef0d=_0x1b355c[0x2],_0x2450ee=_0x1b355c[0x3];_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x7,_0x33cf7c[0x0]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5113b5,0xc,_0x33cf7c[0x1]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0x11,_0x33cf7c[0x2]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5efacd,0x16,_0x33cf7c[0x3]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x7,_0x33cf7c[0x4]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3e27cc,0xc,_0x33cf7c[0x5]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0x11,_0x33cf7c[0x6]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x483d83,0x16,_0x33cf7c[0x7]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x7,_0x33cf7c[0x8]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x370f3c,0xc,_0x33cf7c[0x9]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0x11,_0x33cf7c[0xa]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x42630d,0x16,_0x33cf7c[0xb]),_0x150336=_0x5816aa(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x7,_0x33cf7c[0xc]),_0x2450ee=_0x5816aa(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x3d473b,0xc,_0x33cf7c[0xd]),_0x38ef0d=_0x5816aa(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0x11,_0x33cf7c[0xe]),_0x21dcb5=_0x5816aa(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x15d827,0x16,_0x33cf7c[0xf]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x5,_0x33cf7c[0x10]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32879f,0x9,_0x33cf7c[0x11]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0xe,_0x33cf7c[0x12]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x391f59,0x14,_0x33cf7c[0x13]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x5,_0x33cf7c[0x14]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x438f18,0x9,_0x33cf7c[0x15]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0xe,_0x33cf7c[0x16]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x358f76,0x14,_0x33cf7c[0x17]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x5,_0x33cf7c[0x18]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x4c45fd,0x9,_0x33cf7c[0x19]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0xe,_0x33cf7c[0x1a]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x310dea,0x14,_0x33cf7c[0x1b]),_0x150336=_0x55eb24(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x5,_0x33cf7c[0x1c]),_0x2450ee=_0x55eb24(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x225dd3,0x9,_0x33cf7c[0x1d]),_0x38ef0d=_0x55eb24(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0xe,_0x33cf7c[0x1e]),_0x21dcb5=_0x55eb24(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32385c,0x14,_0x33cf7c[0x1f]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3e27cc,0x4,_0x33cf7c[0x20]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x310dea,0xb,_0x33cf7c[0x21]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x42630d,0x10,_0x33cf7c[0x22]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x4c45fd,0x17,_0x33cf7c[0x23]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x5113b5,0x4,_0x33cf7c[0x24]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x358f76,0xb,_0x33cf7c[0x25]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x483d83,0x10,_0x33cf7c[0x26]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x438f18,0x17,_0x33cf7c[0x27]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x3d473b,0x4,_0x33cf7c[0x28]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x391f59,0xb,_0x33cf7c[0x29]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x5efacd,0x10,_0x33cf7c[0x2a]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x32879f,0x17,_0x33cf7c[0x2b]),_0x150336=_0x15ab23(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x370f3c,0x4,_0x33cf7c[0x2c]),_0x2450ee=_0x15ab23(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x32385c,0xb,_0x33cf7c[0x2d]),_0x38ef0d=_0x15ab23(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x15d827,0x10,_0x33cf7c[0x2e]),_0x21dcb5=_0x15ab23(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x225dd3,0x17,_0x33cf7c[0x2f]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x391f59,0x6,_0x33cf7c[0x30]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x483d83,0xa,_0x33cf7c[0x31]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x4c45fd,0xf,_0x33cf7c[0x32]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3e27cc,0x15,_0x33cf7c[0x33]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x32385c,0x6,_0x33cf7c[0x34]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x5efacd,0xa,_0x33cf7c[0x35]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x438f18,0xf,_0x33cf7c[0x36]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x5113b5,0x15,_0x33cf7c[0x37]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x310dea,0x6,_0x33cf7c[0x38]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x15d827,0xa,_0x33cf7c[0x39]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x32879f,0xf,_0x33cf7c[0x3a]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x3d473b,0x15,_0x33cf7c[0x3b]),_0x150336=_0x4f91a8(_0x150336,_0x21dcb5,_0x38ef0d,_0x2450ee,_0x358f76,0x6,_0x33cf7c[0x3c]),_0x2450ee=_0x4f91a8(_0x2450ee,_0x150336,_0x21dcb5,_0x38ef0d,_0x42630d,0xa,_0x33cf7c[0x3d]),_0x38ef0d=_0x4f91a8(_0x38ef0d,_0x2450ee,_0x150336,_0x21dcb5,_0x225dd3,0xf,_0x33cf7c[0x3e]),_0x21dcb5=_0x4f91a8(_0x21dcb5,_0x38ef0d,_0x2450ee,_0x150336,_0x370f3c,0x15,_0x33cf7c[0x3f]),_0x1b355c[0x0]=_0x1b355c[0x0]+_0x150336|0x0,_0x1b355c[0x1]=_0x1b355c[0x1]+_0x21dcb5|0x0,_0x1b355c[0x2]=_0x1b355c[0x2]+_0x38ef0d|0x0,_0x1b355c[0x3]=_0x1b355c[0x3]+_0x2450ee|0x0;},'_doFinalize':function(){var _0x5e77a0=_0x128b03,_0x9a85bd=this[_0x5e77a0(0x1a6)],_0x55e96a=_0x9a85bd[_0x5e77a0(0x1c1)],_0x4ce9f1=this['_nDataBytes']*0x8,_0x203858=_0x9a85bd[_0x5e77a0(0x366)]*0x8;_0x55e96a[_0x203858>>>0x5]|=0x80<<0x18-_0x203858%0x20;var _0x283404=_0x5c21e0[_0x5e77a0(0x2e8)](_0x4ce9f1/0x100000000),_0x1f7b26=_0x4ce9f1;_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xf]=(_0x283404<<0x8|_0x283404>>>0x18)&0xff00ff|(_0x283404<<0x18|_0x283404>>>0x8)&0xff00ff00,_0x55e96a[(_0x203858+0x40>>>0x9<<0x4)+0xe]=(_0x1f7b26<<0x8|_0x1f7b26>>>0x18)&0xff00ff|(_0x1f7b26<<0x18|_0x1f7b26>>>0x8)&0xff00ff00,_0x9a85bd[_0x5e77a0(0x366)]=(_0x55e96a[_0x5e77a0(0x1cc)]+0x1)*0x4,this[_0x5e77a0(0x216)]();for(var _0x35f236=this['_hash'],_0x1ec512=_0x35f236[_0x5e77a0(0x1c1)],_0x426a92=0x0;_0x426a92<0x4;_0x426a92++){var _0x211c98=_0x1ec512[_0x426a92];_0x1ec512[_0x426a92]=(_0x211c98<<0x8|_0x211c98>>>0x18)&0xff00ff|(_0x211c98<<0x18|_0x211c98>>>0x8)&0xff00ff00;}return _0x35f236;},'clone':function(){var _0x2f6998=_0x128b03,_0x3658a7=_0x446d51[_0x2f6998(0x2e9)]['call'](this);return _0x3658a7[_0x2f6998(0x34e)]=this[_0x2f6998(0x34e)]['clone'](),_0x3658a7;}});function _0x5816aa(_0x415e4c,_0x495d49,_0x5c6788,_0x4b45bb,_0x49c670,_0x439633,_0x11043b){var _0x3fdf9a=_0x415e4c+(_0x495d49&_0x5c6788|~_0x495d49&_0x4b45bb)+_0x49c670+_0x11043b;return(_0x3fdf9a<<_0x439633|_0x3fdf9a>>>0x20-_0x439633)+_0x495d49;}function _0x55eb24(_0x25b31d,_0x327bdc,_0xcddc8e,_0x586122,_0xf37880,_0x558e5c,_0xbcad46){var _0x250b86=_0x25b31d+(_0x327bdc&_0x586122|_0xcddc8e&~_0x586122)+_0xf37880+_0xbcad46;return(_0x250b86<<_0x558e5c|_0x250b86>>>0x20-_0x558e5c)+_0x327bdc;}function _0x15ab23(_0xa32dd5,_0x48aaed,_0x2dfaf9,_0x193b92,_0x55dd82,_0x29fe6c,_0x531d43){var _0x216a75=_0xa32dd5+(_0x48aaed^_0x2dfaf9^_0x193b92)+_0x55dd82+_0x531d43;return(_0x216a75<<_0x29fe6c|_0x216a75>>>0x20-_0x29fe6c)+_0x48aaed;}function _0x4f91a8(_0x7129f1,_0x517e52,_0x6eb173,_0x5de188,_0x474c0e,_0x3a2623,_0x4d8975){var _0x2948a5=_0x7129f1+(_0x6eb173^(_0x517e52|~_0x5de188))+_0x474c0e+_0x4d8975;return(_0x2948a5<<_0x3a2623|_0x2948a5>>>0x20-_0x3a2623)+_0x517e52;}_0x2bdf87['MD5']=_0x446d51[_0x128b03(0x3b5)](_0x39bf56),_0x2bdf87[_0x128b03(0x273)]=_0x446d51['_createHmacHelper'](_0x39bf56);}(Math),_0x1915ee[_0x23e2e6(0x272)];}));}(Ye)),Ye[_0x73080e(0x1ce)];}var Ke={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){var _0x3dad85=_0x2d44ac;return ei||(ei=0x1,function(_0x4fc37d,_0x4fd78f){(function(_0x236b33,_0xfd2b04){var _0x1df671=_0x39a9;_0x4fc37d[_0x1df671(0x1ce)]=_0xfd2b04(ie());}(Cs,function(_0x12c855){return(function(){var _0x202aac=_0x39a9,_0x35e2e6=_0x12c855,_0x322ea9=_0x35e2e6[_0x202aac(0x150)],_0x14018e=_0x322ea9[_0x202aac(0x357)],_0x4d9e03=_0x322ea9[_0x202aac(0x13c)],_0x50f687=_0x35e2e6[_0x202aac(0x1e3)],_0x3da21b=[],_0x3df4f6=_0x50f687[_0x202aac(0x277)]=_0x4d9e03['extend']({'_doReset':function(){this['_hash']=new _0x14018e['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3f6964,_0x4cdbf8){var _0x114eb9=_0x202aac;for(var _0x215dfb=this[_0x114eb9(0x34e)][_0x114eb9(0x1c1)],_0x8f7a40=_0x215dfb[0x0],_0x3f77f2=_0x215dfb[0x1],_0x31d3bc=_0x215dfb[0x2],_0x191b91=_0x215dfb[0x3],_0xd2b463=_0x215dfb[0x4],_0x411c97=0x0;_0x411c97<0x50;_0x411c97++){if(_0x411c97<0x10)_0x3da21b[_0x411c97]=_0x3f6964[_0x4cdbf8+_0x411c97]|0x0;else{var _0x47374f=_0x3da21b[_0x411c97-0x3]^_0x3da21b[_0x411c97-0x8]^_0x3da21b[_0x411c97-0xe]^_0x3da21b[_0x411c97-0x10];_0x3da21b[_0x411c97]=_0x47374f<<0x1|_0x47374f>>>0x1f;}var _0xb38e3d=(_0x8f7a40<<0x5|_0x8f7a40>>>0x1b)+_0xd2b463+_0x3da21b[_0x411c97];_0x411c97<0x14?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|~_0x3f77f2&_0x191b91)+0x5a827999:_0x411c97<0x28?_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)+0x6ed9eba1:_0x411c97<0x3c?_0xb38e3d+=(_0x3f77f2&_0x31d3bc|_0x3f77f2&_0x191b91|_0x31d3bc&_0x191b91)-0x70e44324:_0xb38e3d+=(_0x3f77f2^_0x31d3bc^_0x191b91)-0x359d3e2a,_0xd2b463=_0x191b91,_0x191b91=_0x31d3bc,_0x31d3bc=_0x3f77f2<<0x1e|_0x3f77f2>>>0x2,_0x3f77f2=_0x8f7a40,_0x8f7a40=_0xb38e3d;}_0x215dfb[0x0]=_0x215dfb[0x0]+_0x8f7a40|0x0,_0x215dfb[0x1]=_0x215dfb[0x1]+_0x3f77f2|0x0,_0x215dfb[0x2]=_0x215dfb[0x2]+_0x31d3bc|0x0,_0x215dfb[0x3]=_0x215dfb[0x3]+_0x191b91|0x0,_0x215dfb[0x4]=_0x215dfb[0x4]+_0xd2b463|0x0;},'_doFinalize':function(){var _0x49a09c=_0x202aac,_0x562e8f=this['_data'],_0x4e717d=_0x562e8f['words'],_0x4fd9c6=this[_0x49a09c(0x388)]*0x8,_0x5c72fc=_0x562e8f[_0x49a09c(0x366)]*0x8;return _0x4e717d[_0x5c72fc>>>0x5]|=0x80<<0x18-_0x5c72fc%0x20,_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xe]=Math[_0x49a09c(0x2e8)](_0x4fd9c6/0x100000000),_0x4e717d[(_0x5c72fc+0x40>>>0x9<<0x4)+0xf]=_0x4fd9c6,_0x562e8f[_0x49a09c(0x366)]=_0x4e717d[_0x49a09c(0x1cc)]*0x4,this[_0x49a09c(0x216)](),this[_0x49a09c(0x34e)];},'clone':function(){var _0x22a500=_0x202aac,_0x34d733=_0x4d9e03[_0x22a500(0x2e9)][_0x22a500(0x2fa)](this);return _0x34d733[_0x22a500(0x34e)]=this[_0x22a500(0x34e)]['clone'](),_0x34d733;}});_0x35e2e6[_0x202aac(0x277)]=_0x4d9e03['_createHelper'](_0x3df4f6),_0x35e2e6['HmacSHA1']=_0x4d9e03[_0x202aac(0x209)](_0x3df4f6);}()),_0x12c855['SHA1'];}));}(qe)),qe[_0x3dad85(0x1ce)];}var ze={'exports':{}},bs=ze['exports'],ti;function Os(){var _0x5770c6=_0x2d44ac;return ti||(ti=0x1,function(_0x46be58,_0x2b36c3){(function(_0x1d8152,_0x44a25f){var _0x20f276=_0x39a9;_0x46be58[_0x20f276(0x1ce)]=_0x44a25f(ie());}(bs,function(_0x5370a2){(function(){var _0x16c384=_0x39a9,_0xde3b5=_0x5370a2,_0x47ed7c=_0xde3b5['lib'],_0x1020f8=_0x47ed7c[_0x16c384(0x184)],_0x1fcddd=_0xde3b5[_0x16c384(0x2cc)],_0x3da8e3=_0x1fcddd[_0x16c384(0x1d8)],_0x253aa4=_0xde3b5[_0x16c384(0x1e3)];_0x253aa4[_0x16c384(0x323)]=_0x1020f8[_0x16c384(0x30f)]({'init':function(_0x29ccd9,_0x3cd0f3){var _0x3797e9=_0x16c384;_0x29ccd9=this[_0x3797e9(0x1ba)]=new _0x29ccd9[(_0x3797e9(0x16b))](),typeof _0x3cd0f3==_0x3797e9(0x197)&&(_0x3cd0f3=_0x3da8e3[_0x3797e9(0x1af)](_0x3cd0f3));var _0x426fc7=_0x29ccd9[_0x3797e9(0x3cd)],_0x4f0418=_0x426fc7*0x4;_0x3cd0f3['sigBytes']>_0x4f0418&&(_0x3cd0f3=_0x29ccd9[_0x3797e9(0x3d7)](_0x3cd0f3)),_0x3cd0f3[_0x3797e9(0x1f2)]();for(var _0x1909d7=this[_0x3797e9(0x2cf)]=_0x3cd0f3['clone'](),_0x1a7655=this[_0x3797e9(0x1d3)]=_0x3cd0f3[_0x3797e9(0x2e9)](),_0x564f34=_0x1909d7[_0x3797e9(0x1c1)],_0x5a276d=_0x1a7655[_0x3797e9(0x1c1)],_0x39160f=0x0;_0x39160f<_0x426fc7;_0x39160f++)_0x564f34[_0x39160f]^=0x5c5c5c5c,_0x5a276d[_0x39160f]^=0x36363636;_0x1909d7['sigBytes']=_0x1a7655[_0x3797e9(0x366)]=_0x4f0418,this['reset']();},'reset':function(){var _0x1433e1=_0x16c384,_0x2e5a7b=this['_hasher'];_0x2e5a7b[_0x1433e1(0x26a)](),_0x2e5a7b[_0x1433e1(0x104)](this[_0x1433e1(0x1d3)]);},'update':function(_0xfe4593){return this['_hasher']['update'](_0xfe4593),this;},'finalize':function(_0x464b55){var _0x3f5915=_0x16c384,_0x49a21e=this[_0x3f5915(0x1ba)],_0x2a311=_0x49a21e[_0x3f5915(0x3d7)](_0x464b55);_0x49a21e['reset']();var _0x4d2b0e=_0x49a21e[_0x3f5915(0x3d7)](this[_0x3f5915(0x2cf)][_0x3f5915(0x2e9)]()[_0x3f5915(0x21c)](_0x2a311));return _0x4d2b0e;}});}());}));}(ze)),ze[_0x5770c6(0x1ce)];}var ys=Ke[_0x2d44ac(0x1ce)],ii;function Ui(){return ii||(ii=0x1,function(_0x5036e6,_0x135d37){(function(_0x126c06,_0x438f62,_0x1bb1c5){var _0x365428=_0x39a9;_0x5036e6[_0x365428(0x1ce)]=_0x438f62(ie(),Rs(),Os());}(ys,function(_0x120e58){var _0x2f5568=_0x39a9;return(function(){var _0x2390fd=_0x39a9,_0x20ac7e=_0x120e58,_0x2f6b7a=_0x20ac7e['lib'],_0x19324c=_0x2f6b7a[_0x2390fd(0x184)],_0x146774=_0x2f6b7a[_0x2390fd(0x357)],_0x2b5c70=_0x20ac7e[_0x2390fd(0x1e3)],_0x349e4f=_0x2b5c70[_0x2390fd(0x272)],_0x39fbe8=_0x2b5c70['EvpKDF']=_0x19324c[_0x2390fd(0x30f)]({'cfg':_0x19324c['extend']({'keySize':0x80/0x20,'hasher':_0x349e4f,'iterations':0x1}),'init':function(_0x33d956){var _0x52ba02=_0x2390fd;this[_0x52ba02(0x12c)]=this[_0x52ba02(0x12c)][_0x52ba02(0x30f)](_0x33d956);},'compute':function(_0x8c3d61,_0x36826b){var _0x3b5997=_0x2390fd;for(var _0x4c5939,_0x975bba=this['cfg'],_0x103b2f=_0x975bba[_0x3b5997(0x25f)][_0x3b5997(0x1aa)](),_0xc6ea2f=_0x146774['create'](),_0x51ac1a=_0xc6ea2f[_0x3b5997(0x1c1)],_0xe4fa4d=_0x975bba[_0x3b5997(0x10f)],_0x103fa1=_0x975bba[_0x3b5997(0x29d)];_0x51ac1a['length']<_0xe4fa4d;){_0x4c5939&&_0x103b2f[_0x3b5997(0x104)](_0x4c5939),_0x4c5939=_0x103b2f[_0x3b5997(0x104)](_0x8c3d61)['finalize'](_0x36826b),_0x103b2f[_0x3b5997(0x26a)]();for(var _0x17b6aa=0x1;_0x17b6aa<_0x103fa1;_0x17b6aa++)_0x4c5939=_0x103b2f[_0x3b5997(0x3d7)](_0x4c5939),_0x103b2f['reset']();_0xc6ea2f[_0x3b5997(0x21c)](_0x4c5939);}return _0xc6ea2f[_0x3b5997(0x366)]=_0xe4fa4d*0x4,_0xc6ea2f;}});_0x20ac7e['EvpKDF']=function(_0x470023,_0x1091d8,_0x4f86cf){var _0x2b400c=_0x2390fd;return _0x39fbe8[_0x2b400c(0x1aa)](_0x4f86cf)['compute'](_0x470023,_0x1091d8);};}()),_0x120e58[_0x2f5568(0x224)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},Ns=Je['exports'],ni;function Ai(){var _0x2cb256=_0x2d44ac;return ni||(ni=0x1,function(_0x503b35,_0x42c999){(function(_0x4b8975,_0x39d366,_0x1589ce){var _0x425179=_0x39a9;_0x503b35[_0x425179(0x1ce)]=_0x39d366(ie(),Ui());}(Ns,function(_0x2864a7){var _0x2b634a=_0x39a9;_0x2864a7[_0x2b634a(0x150)][_0x2b634a(0x2a1)]||function(_0x11a8f0){var _0x383221=_0x2b634a,_0x53c96c=_0x2864a7,_0x49391a=_0x53c96c[_0x383221(0x150)],_0x24f432=_0x49391a['Base'],_0x4bf10a=_0x49391a['WordArray'],_0x3eeaa9=_0x49391a['BufferedBlockAlgorithm'],_0x35b259=_0x53c96c[_0x383221(0x2cc)];_0x35b259['Utf8'];var _0x55b418=_0x35b259[_0x383221(0x26c)],_0x34d4d6=_0x53c96c[_0x383221(0x1e3)],_0x14cc32=_0x34d4d6[_0x383221(0x224)],_0x5d9273=_0x49391a[_0x383221(0x2a1)]=_0x3eeaa9[_0x383221(0x30f)]({'cfg':_0x24f432[_0x383221(0x30f)](),'createEncryptor':function(_0x5b1097,_0x4b546d){var _0x8f9623=_0x383221;return this['create'](this[_0x8f9623(0x238)],_0x5b1097,_0x4b546d);},'createDecryptor':function(_0x3ae815,_0x25cdc5){var _0x13171d=_0x383221;return this['create'](this[_0x13171d(0x2e7)],_0x3ae815,_0x25cdc5);},'init':function(_0x18fc95,_0x5a0e99,_0x19d846){var _0xd42d1f=_0x383221;this[_0xd42d1f(0x12c)]=this[_0xd42d1f(0x12c)][_0xd42d1f(0x30f)](_0x19d846),this[_0xd42d1f(0x1e8)]=_0x18fc95,this['_key']=_0x5a0e99,this[_0xd42d1f(0x26a)]();},'reset':function(){var _0x377d37=_0x383221;_0x3eeaa9[_0x377d37(0x26a)][_0x377d37(0x2fa)](this),this[_0x377d37(0x112)]();},'process':function(_0x55ea81){var _0x4d588e=_0x383221;return this[_0x4d588e(0x2c3)](_0x55ea81),this[_0x4d588e(0x216)]();},'finalize':function(_0x5a5192){var _0x47cac8=_0x383221;_0x5a5192&&this[_0x47cac8(0x2c3)](_0x5a5192);var _0x2e0a3e=this[_0x47cac8(0x2b9)]();return _0x2e0a3e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x189fd5(_0x46023b){var _0x293084=_0x39a9;return typeof _0x46023b==_0x293084(0x197)?_0x308690:_0x17e8bb;}return function(_0x508b65){return{'encrypt':function(_0x13dc66,_0x11e4df,_0x45f9a2){return _0x189fd5(_0x11e4df)['encrypt'](_0x508b65,_0x13dc66,_0x11e4df,_0x45f9a2);},'decrypt':function(_0x592cb8,_0x27e69e,_0x5a1b02){var _0x3b6a6b=_0x39a9;return _0x189fd5(_0x27e69e)[_0x3b6a6b(0xfa)](_0x508b65,_0x592cb8,_0x27e69e,_0x5a1b02);}};};}())});_0x49391a[_0x383221(0x3c7)]=_0x5d9273[_0x383221(0x30f)]({'_doFinalize':function(){var _0x50269d=this['_process'](!0x0);return _0x50269d;},'blockSize':0x1});var _0x49a616=_0x53c96c['mode']={},_0x110882=_0x49391a[_0x383221(0x218)]=_0x24f432[_0x383221(0x30f)]({'createEncryptor':function(_0x59c3ba,_0x5cd5de){var _0x5e427e=_0x383221;return this[_0x5e427e(0x2d6)]['create'](_0x59c3ba,_0x5cd5de);},'createDecryptor':function(_0x317783,_0x5a7bfc){var _0xf2e733=_0x383221;return this['Decryptor'][_0xf2e733(0x1aa)](_0x317783,_0x5a7bfc);},'init':function(_0x4e0596,_0x1a4776){var _0x35d539=_0x383221;this['_cipher']=_0x4e0596,this[_0x35d539(0x2c7)]=_0x1a4776;}}),_0x4c989e=_0x49a616[_0x383221(0x227)]=(function(){var _0x5ca59d=_0x383221,_0x43b166=_0x110882[_0x5ca59d(0x30f)]();_0x43b166[_0x5ca59d(0x2d6)]=_0x43b166[_0x5ca59d(0x30f)]({'processBlock':function(_0x21e213,_0xac064c){var _0x51c135=_0x5ca59d,_0x989c9a=this[_0x51c135(0x400)],_0x12d1c4=_0x989c9a[_0x51c135(0x3cd)];_0xfad47d['call'](this,_0x21e213,_0xac064c,_0x12d1c4),_0x989c9a['encryptBlock'](_0x21e213,_0xac064c),this[_0x51c135(0x1b0)]=_0x21e213['slice'](_0xac064c,_0xac064c+_0x12d1c4);}}),_0x43b166[_0x5ca59d(0x36d)]=_0x43b166['extend']({'processBlock':function(_0x5022d4,_0x58f6ca){var _0xc75139=_0x5ca59d,_0x58e418=this[_0xc75139(0x400)],_0x5c6ae7=_0x58e418[_0xc75139(0x3cd)],_0x321b0c=_0x5022d4['slice'](_0x58f6ca,_0x58f6ca+_0x5c6ae7);_0x58e418[_0xc75139(0x214)](_0x5022d4,_0x58f6ca),_0xfad47d[_0xc75139(0x2fa)](this,_0x5022d4,_0x58f6ca,_0x5c6ae7),this[_0xc75139(0x1b0)]=_0x321b0c;}});function _0xfad47d(_0x5c5619,_0x25abb9,_0x2082ea){var _0x3985b4=_0x5ca59d,_0x5b9aac,_0x28eee1=this[_0x3985b4(0x2c7)];_0x28eee1?(_0x5b9aac=_0x28eee1,this[_0x3985b4(0x2c7)]=_0x11a8f0):_0x5b9aac=this['_prevBlock'];for(var _0x56a87d=0x0;_0x56a87d<_0x2082ea;_0x56a87d++)_0x5c5619[_0x25abb9+_0x56a87d]^=_0x5b9aac[_0x56a87d];}return _0x43b166;}()),_0x2cecfa=_0x53c96c[_0x383221(0x2e6)]={},_0x311fbe=_0x2cecfa[_0x383221(0x168)]={'pad':function(_0x460cfc,_0x354a45){var _0xb66f32=_0x383221;for(var _0x515d75=_0x354a45*0x4,_0x2a0e26=_0x515d75-_0x460cfc['sigBytes']%_0x515d75,_0x35ac23=_0x2a0e26<<0x18|_0x2a0e26<<0x10|_0x2a0e26<<0x8|_0x2a0e26,_0x300a2d=[],_0x5a48c6=0x0;_0x5a48c6<_0x2a0e26;_0x5a48c6+=0x4)_0x300a2d[_0xb66f32(0x2ad)](_0x35ac23);var _0x42f41a=_0x4bf10a[_0xb66f32(0x1aa)](_0x300a2d,_0x2a0e26);_0x460cfc['concat'](_0x42f41a);},'unpad':function(_0x3e3924){var _0x204414=_0x383221,_0x5c9a70=_0x3e3924[_0x204414(0x1c1)][_0x3e3924[_0x204414(0x366)]-0x1>>>0x2]&0xff;_0x3e3924['sigBytes']-=_0x5c9a70;}};_0x49391a[_0x383221(0x1e0)]=_0x5d9273[_0x383221(0x30f)]({'cfg':_0x5d9273[_0x383221(0x12c)][_0x383221(0x30f)]({'mode':_0x4c989e,'padding':_0x311fbe}),'reset':function(){var _0x9f9a78=_0x383221,_0x57f6de;_0x5d9273[_0x9f9a78(0x26a)][_0x9f9a78(0x2fa)](this);var _0x2e1990=this['cfg'],_0x4a5a19=_0x2e1990['iv'],_0x3ab788=_0x2e1990[_0x9f9a78(0x106)];this['_xformMode']==this[_0x9f9a78(0x238)]?_0x57f6de=_0x3ab788[_0x9f9a78(0x3b6)]:(_0x57f6de=_0x3ab788[_0x9f9a78(0x148)],this[_0x9f9a78(0x3ae)]=0x1),this[_0x9f9a78(0x1de)]&&this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]==_0x57f6de?this[_0x9f9a78(0x1de)][_0x9f9a78(0x16b)](this,_0x4a5a19&&_0x4a5a19[_0x9f9a78(0x1c1)]):(this['_mode']=_0x57f6de[_0x9f9a78(0x2fa)](_0x3ab788,this,_0x4a5a19&&_0x4a5a19['words']),this[_0x9f9a78(0x1de)][_0x9f9a78(0x3f9)]=_0x57f6de);},'_doProcessBlock':function(_0x54c53f,_0x163430){var _0x20f2a3=_0x383221;this[_0x20f2a3(0x1de)][_0x20f2a3(0x32e)](_0x54c53f,_0x163430);},'_doFinalize':function(){var _0x5040e3=_0x383221,_0x237683,_0x1d330e=this['cfg']['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x1d330e[_0x5040e3(0x2e6)](this[_0x5040e3(0x1a6)],this[_0x5040e3(0x3cd)]),_0x237683=this[_0x5040e3(0x216)](!0x0)):(_0x237683=this[_0x5040e3(0x216)](!0x0),_0x1d330e['unpad'](_0x237683)),_0x237683;},'blockSize':0x80/0x20});var _0x32aef4=_0x49391a[_0x383221(0x15a)]=_0x24f432[_0x383221(0x30f)]({'init':function(_0x47e977){var _0x4fb222=_0x383221;this[_0x4fb222(0x397)](_0x47e977);},'toString':function(_0x297d33){return(_0x297d33||this['formatter'])['stringify'](this);}}),_0x314628=_0x53c96c['format']={},_0x5dd66d=_0x314628[_0x383221(0x3be)]={'stringify':function(_0x3d16b1){var _0x158ddc=_0x383221,_0xcd78f0,_0x13fd31=_0x3d16b1['ciphertext'],_0x24535d=_0x3d16b1[_0x158ddc(0x34d)];return _0x24535d?_0xcd78f0=_0x4bf10a['create']([0x53616c74,0x65645f5f])['concat'](_0x24535d)[_0x158ddc(0x21c)](_0x13fd31):_0xcd78f0=_0x13fd31,_0xcd78f0[_0x158ddc(0x24e)](_0x55b418);},'parse':function(_0x3660bd){var _0xfba371=_0x383221,_0x2dee31,_0x12d59a=_0x55b418['parse'](_0x3660bd),_0x192b32=_0x12d59a[_0xfba371(0x1c1)];return _0x192b32[0x0]==0x53616c74&&_0x192b32[0x1]==0x65645f5f&&(_0x2dee31=_0x4bf10a[_0xfba371(0x1aa)](_0x192b32[_0xfba371(0x2ab)](0x2,0x4)),_0x192b32[_0xfba371(0x27a)](0x0,0x4),_0x12d59a[_0xfba371(0x366)]-=0x10),_0x32aef4['create']({'ciphertext':_0x12d59a,'salt':_0x2dee31});}},_0x17e8bb=_0x49391a[_0x383221(0x37f)]=_0x24f432[_0x383221(0x30f)]({'cfg':_0x24f432['extend']({'format':_0x5dd66d}),'encrypt':function(_0x16375c,_0x42fd54,_0x281745,_0xe5ee96){var _0x1384da=_0x383221;_0xe5ee96=this[_0x1384da(0x12c)][_0x1384da(0x30f)](_0xe5ee96);var _0x28d0b1=_0x16375c['createEncryptor'](_0x281745,_0xe5ee96),_0x3d2f56=_0x28d0b1[_0x1384da(0x3d7)](_0x42fd54),_0x492494=_0x28d0b1[_0x1384da(0x12c)];return _0x32aef4[_0x1384da(0x1aa)]({'ciphertext':_0x3d2f56,'key':_0x281745,'iv':_0x492494['iv'],'algorithm':_0x16375c,'mode':_0x492494[_0x1384da(0x106)],'padding':_0x492494['padding'],'blockSize':_0x16375c[_0x1384da(0x3cd)],'formatter':_0xe5ee96[_0x1384da(0x1b6)]});},'decrypt':function(_0x5646d1,_0xfef9c3,_0x2a54c5,_0x3c391d){var _0x181d88=_0x383221;_0x3c391d=this[_0x181d88(0x12c)]['extend'](_0x3c391d),_0xfef9c3=this['_parse'](_0xfef9c3,_0x3c391d[_0x181d88(0x1b6)]);var _0x6e609d=_0x5646d1['createDecryptor'](_0x2a54c5,_0x3c391d)[_0x181d88(0x3d7)](_0xfef9c3[_0x181d88(0x334)]);return _0x6e609d;},'_parse':function(_0xafd983,_0x23e4f7){var _0x3dce12=_0x383221;return typeof _0xafd983==_0x3dce12(0x197)?_0x23e4f7['parse'](_0xafd983,this):_0xafd983;}}),_0x2041b0=_0x53c96c[_0x383221(0x16f)]={},_0x124bd1=_0x2041b0[_0x383221(0x3be)]={'execute':function(_0x4ad5a1,_0x4de067,_0x953cd4,_0x4424fa,_0xf58ce7){var _0x274635=_0x383221;if(_0x4424fa||(_0x4424fa=_0x4bf10a[_0x274635(0x325)](0x40/0x8)),_0xf58ce7)var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4,'hasher':_0xf58ce7})['compute'](_0x4ad5a1,_0x4424fa);else var _0x5dc628=_0x14cc32[_0x274635(0x1aa)]({'keySize':_0x4de067+_0x953cd4})[_0x274635(0x27f)](_0x4ad5a1,_0x4424fa);var _0x1224ae=_0x4bf10a[_0x274635(0x1aa)](_0x5dc628[_0x274635(0x1c1)]['slice'](_0x4de067),_0x953cd4*0x4);return _0x5dc628[_0x274635(0x366)]=_0x4de067*0x4,_0x32aef4[_0x274635(0x1aa)]({'key':_0x5dc628,'iv':_0x1224ae,'salt':_0x4424fa});}},_0x308690=_0x49391a[_0x383221(0x306)]=_0x17e8bb['extend']({'cfg':_0x17e8bb['cfg']['extend']({'kdf':_0x124bd1}),'encrypt':function(_0x2468b5,_0x2d16e3,_0x4ac934,_0x19e3cf){var _0x367984=_0x383221;_0x19e3cf=this['cfg'][_0x367984(0x30f)](_0x19e3cf);var _0x5824cb=_0x19e3cf['kdf'][_0x367984(0x14b)](_0x4ac934,_0x2468b5[_0x367984(0x10f)],_0x2468b5[_0x367984(0x3a5)],_0x19e3cf[_0x367984(0x34d)],_0x19e3cf[_0x367984(0x25f)]);_0x19e3cf['iv']=_0x5824cb['iv'];var _0x30ebec=_0x17e8bb[_0x367984(0x3ed)]['call'](this,_0x2468b5,_0x2d16e3,_0x5824cb[_0x367984(0x37e)],_0x19e3cf);return _0x30ebec[_0x367984(0x397)](_0x5824cb),_0x30ebec;},'decrypt':function(_0x1d4d20,_0xf536c3,_0xb0ebb0,_0x213102){var _0x43e6b2=_0x383221;_0x213102=this[_0x43e6b2(0x12c)][_0x43e6b2(0x30f)](_0x213102),_0xf536c3=this[_0x43e6b2(0x123)](_0xf536c3,_0x213102['format']);var _0x5e42b3=_0x213102['kdf']['execute'](_0xb0ebb0,_0x1d4d20[_0x43e6b2(0x10f)],_0x1d4d20[_0x43e6b2(0x3a5)],_0xf536c3[_0x43e6b2(0x34d)],_0x213102[_0x43e6b2(0x25f)]);_0x213102['iv']=_0x5e42b3['iv'];var _0x14f8a2=_0x17e8bb[_0x43e6b2(0xfa)][_0x43e6b2(0x2fa)](this,_0x1d4d20,_0xf536c3,_0x5e42b3[_0x43e6b2(0x37e)],_0x213102);return _0x14f8a2;}});}();}));}(Je)),Je[_0x2cb256(0x1ce)];}var Ds=Ve[_0x2d44ac(0x1ce)],si;function Us(){var _0x3de37e=_0x2d44ac;return si||(si=0x1,function(_0x5e5af0,_0x388bd7){(function(_0x9f7791,_0x2300d7,_0x37baee){var _0x482198=_0x39a9;_0x5e5af0[_0x482198(0x1ce)]=_0x2300d7(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x56ae0d){var _0xbe79f8=_0x39a9;return(function(){var _0x535c84=_0x39a9,_0x29acee=_0x56ae0d,_0x152d61=_0x29acee[_0x535c84(0x150)],_0x2b2db4=_0x152d61[_0x535c84(0x1e0)],_0x3cd29c=_0x29acee[_0x535c84(0x1e3)],_0x3343be=[],_0x2342c5=[],_0xfff8a=[],_0x25d4ea=[],_0x3faf9c=[],_0x439e7b=[],_0x5505d2=[],_0x1bc599=[],_0x5dbe3f=[],_0x5347bc=[];(function(){for(var _0x570cfd=[],_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++)_0x44f3f9<0x80?_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1:_0x570cfd[_0x44f3f9]=_0x44f3f9<<0x1^0x11b;for(var _0x16e839=0x0,_0x23cc37=0x0,_0x44f3f9=0x0;_0x44f3f9<0x100;_0x44f3f9++){var _0x5bae27=_0x23cc37^_0x23cc37<<0x1^_0x23cc37<<0x2^_0x23cc37<<0x3^_0x23cc37<<0x4;_0x5bae27=_0x5bae27>>>0x8^_0x5bae27&0xff^0x63,_0x3343be[_0x16e839]=_0x5bae27,_0x2342c5[_0x5bae27]=_0x16e839;var _0x3221ae=_0x570cfd[_0x16e839],_0x3f5433=_0x570cfd[_0x3221ae],_0x45b316=_0x570cfd[_0x3f5433],_0x28f480=_0x570cfd[_0x5bae27]*0x101^_0x5bae27*0x1010100;_0xfff8a[_0x16e839]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x25d4ea[_0x16e839]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x3faf9c[_0x16e839]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x439e7b[_0x16e839]=_0x28f480;var _0x28f480=_0x45b316*0x1010101^_0x3f5433*0x10001^_0x3221ae*0x101^_0x16e839*0x1010100;_0x5505d2[_0x5bae27]=_0x28f480<<0x18|_0x28f480>>>0x8,_0x1bc599[_0x5bae27]=_0x28f480<<0x10|_0x28f480>>>0x10,_0x5dbe3f[_0x5bae27]=_0x28f480<<0x8|_0x28f480>>>0x18,_0x5347bc[_0x5bae27]=_0x28f480,_0x16e839?(_0x16e839=_0x3221ae^_0x570cfd[_0x570cfd[_0x570cfd[_0x45b316^_0x3221ae]]],_0x23cc37^=_0x570cfd[_0x570cfd[_0x23cc37]]):_0x16e839=_0x23cc37=0x1;}}());var _0x52c7ba=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x30961c=_0x3cd29c[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x30f)]({'_doReset':function(){var _0x4fc048=_0x535c84,_0x446d8a;if(!(this[_0x4fc048(0x266)]&&this[_0x4fc048(0x213)]===this[_0x4fc048(0x205)])){for(var _0x32ff24=this[_0x4fc048(0x213)]=this['_key'],_0x2e486e=_0x32ff24[_0x4fc048(0x1c1)],_0x461bf4=_0x32ff24['sigBytes']/0x4,_0x22bd8b=this['_nRounds']=_0x461bf4+0x6,_0x3113a6=(_0x22bd8b+0x1)*0x4,_0x3f6283=this[_0x4fc048(0x19c)]=[],_0x71c638=0x0;_0x71c638<_0x3113a6;_0x71c638++)_0x71c638<_0x461bf4?_0x3f6283[_0x71c638]=_0x2e486e[_0x71c638]:(_0x446d8a=_0x3f6283[_0x71c638-0x1],_0x71c638%_0x461bf4?_0x461bf4>0x6&&_0x71c638%_0x461bf4==0x4&&(_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff]):(_0x446d8a=_0x446d8a<<0x8|_0x446d8a>>>0x18,_0x446d8a=_0x3343be[_0x446d8a>>>0x18]<<0x18|_0x3343be[_0x446d8a>>>0x10&0xff]<<0x10|_0x3343be[_0x446d8a>>>0x8&0xff]<<0x8|_0x3343be[_0x446d8a&0xff],_0x446d8a^=_0x52c7ba[_0x71c638/_0x461bf4|0x0]<<0x18),_0x3f6283[_0x71c638]=_0x3f6283[_0x71c638-_0x461bf4]^_0x446d8a);for(var _0x15dec2=this[_0x4fc048(0x3e5)]=[],_0x2de7be=0x0;_0x2de7be<_0x3113a6;_0x2de7be++){var _0x71c638=_0x3113a6-_0x2de7be;if(_0x2de7be%0x4)var _0x446d8a=_0x3f6283[_0x71c638];else var _0x446d8a=_0x3f6283[_0x71c638-0x4];_0x2de7be<0x4||_0x71c638<=0x4?_0x15dec2[_0x2de7be]=_0x446d8a:_0x15dec2[_0x2de7be]=_0x5505d2[_0x3343be[_0x446d8a>>>0x18]]^_0x1bc599[_0x3343be[_0x446d8a>>>0x10&0xff]]^_0x5dbe3f[_0x3343be[_0x446d8a>>>0x8&0xff]]^_0x5347bc[_0x3343be[_0x446d8a&0xff]];}}},'encryptBlock':function(_0x18addb,_0x137581){var _0x2326ae=_0x535c84;this[_0x2326ae(0x3e2)](_0x18addb,_0x137581,this[_0x2326ae(0x19c)],_0xfff8a,_0x25d4ea,_0x3faf9c,_0x439e7b,_0x3343be);},'decryptBlock':function(_0x30d28f,_0x2fff6d){var _0x394d45=_0x535c84,_0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb,this[_0x394d45(0x3e2)](_0x30d28f,_0x2fff6d,this['_invKeySchedule'],_0x5505d2,_0x1bc599,_0x5dbe3f,_0x5347bc,_0x2342c5);var _0xe837bb=_0x30d28f[_0x2fff6d+0x1];_0x30d28f[_0x2fff6d+0x1]=_0x30d28f[_0x2fff6d+0x3],_0x30d28f[_0x2fff6d+0x3]=_0xe837bb;},'_doCryptBlock':function(_0x3a520f,_0x6b8f61,_0x32c38f,_0x23750c,_0x7cba89,_0x357d0e,_0x47c440,_0x1a7537){var _0x1c2207=_0x535c84;for(var _0x5e97f4=this[_0x1c2207(0x266)],_0x2c6efa=_0x3a520f[_0x6b8f61]^_0x32c38f[0x0],_0x2913f5=_0x3a520f[_0x6b8f61+0x1]^_0x32c38f[0x1],_0x39acd6=_0x3a520f[_0x6b8f61+0x2]^_0x32c38f[0x2],_0x4ef6ff=_0x3a520f[_0x6b8f61+0x3]^_0x32c38f[0x3],_0x3a148c=0x4,_0x3be6aa=0x1;_0x3be6aa<_0x5e97f4;_0x3be6aa++){var _0x204b37=_0x23750c[_0x2c6efa>>>0x18]^_0x7cba89[_0x2913f5>>>0x10&0xff]^_0x357d0e[_0x39acd6>>>0x8&0xff]^_0x47c440[_0x4ef6ff&0xff]^_0x32c38f[_0x3a148c++],_0x1d28dd=_0x23750c[_0x2913f5>>>0x18]^_0x7cba89[_0x39acd6>>>0x10&0xff]^_0x357d0e[_0x4ef6ff>>>0x8&0xff]^_0x47c440[_0x2c6efa&0xff]^_0x32c38f[_0x3a148c++],_0x49e424=_0x23750c[_0x39acd6>>>0x18]^_0x7cba89[_0x4ef6ff>>>0x10&0xff]^_0x357d0e[_0x2c6efa>>>0x8&0xff]^_0x47c440[_0x2913f5&0xff]^_0x32c38f[_0x3a148c++],_0x10b895=_0x23750c[_0x4ef6ff>>>0x18]^_0x7cba89[_0x2c6efa>>>0x10&0xff]^_0x357d0e[_0x2913f5>>>0x8&0xff]^_0x47c440[_0x39acd6&0xff]^_0x32c38f[_0x3a148c++];_0x2c6efa=_0x204b37,_0x2913f5=_0x1d28dd,_0x39acd6=_0x49e424,_0x4ef6ff=_0x10b895;}var _0x204b37=(_0x1a7537[_0x2c6efa>>>0x18]<<0x18|_0x1a7537[_0x2913f5>>>0x10&0xff]<<0x10|_0x1a7537[_0x39acd6>>>0x8&0xff]<<0x8|_0x1a7537[_0x4ef6ff&0xff])^_0x32c38f[_0x3a148c++],_0x1d28dd=(_0x1a7537[_0x2913f5>>>0x18]<<0x18|_0x1a7537[_0x39acd6>>>0x10&0xff]<<0x10|_0x1a7537[_0x4ef6ff>>>0x8&0xff]<<0x8|_0x1a7537[_0x2c6efa&0xff])^_0x32c38f[_0x3a148c++],_0x49e424=(_0x1a7537[_0x39acd6>>>0x18]<<0x18|_0x1a7537[_0x4ef6ff>>>0x10&0xff]<<0x10|_0x1a7537[_0x2c6efa>>>0x8&0xff]<<0x8|_0x1a7537[_0x2913f5&0xff])^_0x32c38f[_0x3a148c++],_0x10b895=(_0x1a7537[_0x4ef6ff>>>0x18]<<0x18|_0x1a7537[_0x2c6efa>>>0x10&0xff]<<0x10|_0x1a7537[_0x2913f5>>>0x8&0xff]<<0x8|_0x1a7537[_0x39acd6&0xff])^_0x32c38f[_0x3a148c++];_0x3a520f[_0x6b8f61]=_0x204b37,_0x3a520f[_0x6b8f61+0x1]=_0x1d28dd,_0x3a520f[_0x6b8f61+0x2]=_0x49e424,_0x3a520f[_0x6b8f61+0x3]=_0x10b895;},'keySize':0x100/0x20});_0x29acee[_0x535c84(0x182)]=_0x2b2db4[_0x535c84(0x3b5)](_0x30961c);}()),_0x56ae0d[_0xbe79f8(0x182)];}));}(Ve)),Ve[_0x3de37e(0x1ce)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function Ms(){return ai||(ai=0x1,function(_0x122c3d,_0x3be8a2){(function(_0x262bfb,_0x212d2e){var _0x194407=_0x39a9;_0x122c3d[_0x194407(0x1ce)]=_0x212d2e(ie());}(Ls,function(_0x5651a6){var _0x33d708=_0x39a9;return _0x5651a6[_0x33d708(0x2cc)][_0x33d708(0x1d8)];}));}(Xe)),Xe['exports'];}var xs=Ms();const ks=He(xs);var Ze={'exports':{}},$s=Ze[_0x2d44ac(0x1ce)],oi;function Hs(){var _0x10f707=_0x2d44ac;return oi||(oi=0x1,function(_0x110430,_0x3dc5ad){(function(_0x59cc46,_0x2f96a2){var _0x2900f8=_0x39a9;_0x110430[_0x2900f8(0x1ce)]=_0x2f96a2(ie());}($s,function(_0x584f0f){var _0xc82670=_0x39a9;return(function(){var _0x112a21=_0x39a9;if(typeof ArrayBuffer==_0x112a21(0xf5)){var _0x241e49=_0x584f0f,_0x5a63c8=_0x241e49['lib'],_0x1df093=_0x5a63c8[_0x112a21(0x357)],_0x4dca42=_0x1df093['init'],_0x307d64=_0x1df093['init']=function(_0x32d88a){var _0x1ef24c=_0x112a21;if(_0x32d88a instanceof ArrayBuffer&&(_0x32d88a=new Uint8Array(_0x32d88a)),(_0x32d88a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x32d88a instanceof Uint8ClampedArray||_0x32d88a instanceof Int16Array||_0x32d88a instanceof Uint16Array||_0x32d88a instanceof Int32Array||_0x32d88a instanceof Uint32Array||_0x32d88a instanceof Float32Array||_0x32d88a instanceof Float64Array)&&(_0x32d88a=new Uint8Array(_0x32d88a[_0x1ef24c(0x28f)],_0x32d88a[_0x1ef24c(0x361)],_0x32d88a[_0x1ef24c(0x33b)])),_0x32d88a instanceof Uint8Array){for(var _0x28cdb4=_0x32d88a['byteLength'],_0x1c3e81=[],_0x41de5e=0x0;_0x41de5e<_0x28cdb4;_0x41de5e++)_0x1c3e81[_0x41de5e>>>0x2]|=_0x32d88a[_0x41de5e]<<0x18-_0x41de5e%0x4*0x8;_0x4dca42['call'](this,_0x1c3e81,_0x28cdb4);}else _0x4dca42[_0x1ef24c(0x1d7)](this,arguments);};_0x307d64[_0x112a21(0x1a9)]=_0x1df093;}}()),_0x584f0f[_0xc82670(0x150)][_0xc82670(0x357)];}));}(Ze)),Ze[_0x10f707(0x1ce)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x2d44ac(0x1ce)],ci;function Vs(){var _0x8724c=_0x2d44ac;return ci||(ci=0x1,function(_0x23eefe,_0x302209){(function(_0x2ee6fd,_0x28c612,_0x3a4a84){var _0x374270=_0x39a9;_0x23eefe[_0x374270(0x1ce)]=_0x28c612(ie(),Ai());}(Fs,function(_0x17fb1c){var _0x1e2e63=_0x39a9;return _0x17fb1c[_0x1e2e63(0x2e6)][_0x1e2e63(0x21b)]={'pad':function(){},'unpad':function(){}},_0x17fb1c[_0x1e2e63(0x2e6)]['NoPadding'];}));}(Qe)),Qe[_0x8724c(0x1ce)];}function _0x393f(){var _0x1c4747=['put','YUUMI_RATE_OVER_LIMIT','_shouldReportTelemetry','enableSingleActiveInstanceLock','LEAVE','univer-pro.collaboration-client-socket-service','_getCurrentRevision','save\x20fail\x20reason\x20is\x20','EMAIL_HAS_BEEN_BOUND','_doFinalize','_substituteRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','3932420ggIEcW','defineProperty','_commandService','_collabSessionService','startTime','_members$','APPLY_REVISION_CONFILICT','_append','GLOBAL_ROOMS_CNT_EXCEEDS','awaitingChangeset','_userManagerService','_iv','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','JOIN','COMMENT_UPDATE','title','enc','image/jpg','_onConflict','_oKey','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','params','set','_createSocket','BufferedBlockAlgorithm','HEARTBEAT_TIMEOUT','Encryptor','/unit/','transformMutationsWithChangeset','SOCKET_FAILED','cmd','NOT_COLLAB','getValue','_fetchMissChangesets','FileId','_clearRedo','_joinRoom','_getUndoStack','focused$','workbook','_queuedRemoteChangesets','OFFLINE','pad','_DEC_XFORM_MODE','floor','clone','forEach','_undoRedoService','substr','_transformRemoteChangesetByIMECache','_changesetReqId','LIVESHARE_TERMINATE','min','asObservable','stringify','onTransformRemoteChangesetByIMECache','session.room-not-exists','?url=','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','/universer-api/oidc/authpage','LIVESHARE_OPERATION','deepClone','call','deleteCollaborator','_resendTimer','_onRecvEvent','_retryCount','event$','result','onMissedChangesetFetched','body','catch','_transformUndoredo','/collaborator','PasswordBasedCipher','APPLY_REJECT','INVALID_ARGUMENT','_localeService','status$','TOO_MANY_REQUESTS','error$','YUUMI_NO_CUBOID_FOR_QUESTION','LOGIN_FAILED','extend','LICENSE_MAX_UNITS_EXCEEDED','has','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchThroughInterceptors','[CollaborationUndoRedoService]','/object/','_socket$','getRoom','delete','COLLAB_WEB_SOCKET_URL','includes','onTransformState','collaboration-client.config','resend','JOIN_ROOM_FULL','batchAllowed','HEARTBEAT_INTERVAL','_init','_snapshotServerService','HMAC','_state$','random','updatePermissionObjEvent','getUnitStatus$','toggleOnline','confirm','/allowed','entries','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','onlyLocal','processBlock','_initUnitPermissionChange','_collaborationPaused','unit-cache-','list','HttpExport','ciphertext','routeKey','disposeWithMe','_acknowledgedAwaitingChangeset','commentUpdateEvent','shouldCloseConn','from','byteLength','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','subject','isArray','url','unitId\x20is\x20not\x20found','INVITE_CODE_REQUIRED','roles','_replayCachedMutations','revision','_commentUpdate$','_socketReady','SOCKET_FAILED_RETRY','randomBytes','uniscriptRunEvent','CHANGESET_ACK','1697SRkZUB','Latin1','salt','_hash','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','OPTIONAL','_onUserLeave','_getSendChangesetTimeout','_waitForHeartbeatResponse','_eventService','synced','connection\x20error','WordArray','_schedule','startsWith','Hex','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_httpService','loadOfflineData','allowed','_doCreateSocket','getInterceptPoints','byteOffset','_sendHeartbeatTimer','_getDownloadEndpointURL','default','resourceIDs','sigBytes','LIVESHARE_NEW_HOST','getUnitOnRev','$super','updateCursorEvent','APPLY_NON_SEQUENTIAL_REVISION','IDLE','Decryptor','_onLocalMutation','requireSession','state','onSyncEditingCollabCursor','_updateStatus','POST','_clearHeartbeatTimer','_configService','change$','UNDEFINED','_clearCollaborationTimeoutTimer','sid','MSG_FOR_ERROR','getTime','toLowerCase','getCurrentUser','key','SerializableCipher','_transformService','NEW_CHANGESETS','_lockTransition','_instanceService','_getSignURL','SNAPSHOT_INVALID_SNAPSHOT','ERROR_EXCEED_SIZE','fetching\x20missing\x20changesets\x20from\x20','_nDataBytes','status','_loadSheet','collaboration_new_changeset','conflict','reject','LOCAL_CACHE_INTERVAL','onStarting','YUUMI_ALL_TABLES_IS_INVALID','getAllMembers','RECV','_clearRetryConnectingTimer','/universer-api/authz','userID','HELLO','mixIn','replace','editingUnit','UNIVER_SHEET','responseType','FETCH_MISSING','_config','reqId','patch','UNIVER_SLIDE','entityInit$','encodeURIComponent','_initMergeInterceptor','setShowComponents','ivSize','getMember','close','BASE64','_updateLocalCache','socketService','_registerDependencies','COMPRESS_MUTATION_SEND','[CollaborationState]:\x20apply\x20error!','_minBufferSize','awaiting','_undoStacks','_updateState','_scheduleCompleteTimestamp','CONFLICT','clear','_createHelper','createEncryptor','onTransformIME','_onUserJoin','_retryConnectingTimer','[DataLoaderService]','_onRemoteChangeset','[OfflineState]:\x20received\x20changeset.','findIndex','OpenSSL','_event$','_startTelemetryCollaborationNewChangeset','c2Prime','_reverseMap','_onConnectionFailed','2451740oDaAQD','symbol','memberID','StreamCipher','session','collaMsg','csShouldRetryEvent','UPDATE_PERMISSION_OBJ','_clearUndo','blockSize','_roomCreated$','size','_initRequestHeader','getRandomValues','_injector','_status$','\x20in\x20_schedule.','&source=','MOBILE_HAS_BEEN_BOUND','finalize','JOIN_ROOM_PERMISSION_DENIED','liveShareNewHost','_pendingMutations','fetch_missing','_remoteChangesetQueue','_onFetchMissResult','infoRsp','post','\x20to\x20','encode','_doCryptBlock','unknown','_permissionService','_invKeySchedule','_replaceFileID','_loadDoc','_collaborationSessionService','isPermissionRej','_rescheduleHeartbeat','JOIN_ROOM_FAILED','CLOSE_ROOM','encrypt','INTERNAL_ERROR','_transformStack','removeMember','_transformStateCache','_telemetryService','/universer-api/uniscript','_tryEnsureSocket','_univerInstanceService','&assign=','eventID','UNIVER_DOC','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','localCacheService','getConfig','_tryReconnect','_emitMembers','_getLoginPath','_cipher','USERS_ENTER','?size=','_collaborationUIEventService','function','\x0aCurrent:\x20','onCommandExecuted','state$','values','decrypt','listRoles','updateMember','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','17143170FgBdAv','_memberService','/universer-api/comb','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','origin','_entityInit$','update','_listenToNetworkCondition','mode','INGEST','5403958KxrzPl','updatePermissionPoint','/fetchmissing?from=','ceil','socket\x20open.','_throwTelemetryCollaborationNewChangeset','toggleOffline','keySize','online$','session.join-failed','_doReset','emitEvent','_collaborationTimeoutTimer','dispose$','_resendTimeout','awaiting_with_pending','charCodeAt','_transformRemoteChangesetByStateCache','session.room-full','src','Univer','reduce','pipe','OTHER_CLIENT_EDITING','_candidateSocket','max','_changesetSessionId','_parse','_onJoinRoomEvent','sessionStatus','_transformIMECache','add','subscribe','localeService','downloadEndpointUrl','_startCollaboration','cfg','_telemetryInfo','_doProcessBlock','_snapshotService','getImage','_unlockTransition','putCollaborators','_members','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','56eeiPBi','_imageSourceCache','range','failed\x20to\x20apply\x20missed\x20changesets!','reconnect','signUrlServerUrl','Hasher','_onRemoteRejected','_submitChangeset','PENDING','withCredentials','dispose','saveSnapshot','_decreaseWaiting','Could\x20not\x20dynamically\x20require\x20\x22','_localCacheService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_PERMISSION_DENIED','createDecryptor','_getCtorByUniverType','[CollaborationSessionService]','execute','_getAPIPrefixPath','href','getTypeOfUnitDisposed$','liveShareOperation','lib','ERROR_IMAGE','_clearTimeoutTimer','unitId','_roomMembers','SYNCED','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','subUnitId','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CipherParams','onTransformRemoteChangesetByStateCache','[CollaborationSession]','UNAUTHENTICATED','copyFileMeta','_exhaustRemoteChangesetQueue','roomInfos','now','YUUMI_SUBSCRIPTION_NOT_FOUND','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','ENSURE_SNAPSHOT_EXECUTION','updateOfflineData','YUUMI_ASYNCIO_CANCELLED','message$','Pkcs7','hasOwnProperty','_singleActiveUnitService','init','_scheduleCollaborationTimeoutTimer','transformUndoRedo','abs','kdf','_onCombEvent','/universer-api/snapshot/','complete','getWorkbookSelections','_awaitingChangeset','SHOULD_CLOSE_CONN','sin','ONLINE','_onRemoteACK','_sessionStatus$','_clearScheduledTask','_socketService','COMPLETION_FINISHED','MUTATION','37935Cqyoum','INVITE_CODE_HAS_BEEN_UES','setCurrentUser','_initDependencies','AES','duration','Base','PERSON','17343160JNLCOe','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','getCollabEntity$','loadUnit','appendMutation','ALREADY_EXISTS','resolve','pending','data','JOINING','loadSheet','UUID','getMemberID','auth.needGotoLoginAlert','_clearLocalCache','__esModule','members','string','session.room-cnt-exceeds','_transformSelections','_disableEditing','6WvwDQM','_keySchedule','getSnapshotAPIPath','JOIN_ROOM_NOT_EXISTS','HttpImport','objectID','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','requestParams','LICENSE_EXPORT_SIZE_EXCEEDED','PERMISSION_REJ','People','_data','PSEUDO_FETCH_MISSING_RESULT','csAckEvent','prototype','create','SUBMIT_CHANGESET','fromCollab','_resendWithTimeout','code','parse','_prevBlock','executeCommand','fetchMissingChangesets','image/bmp','fromCharCode','[FetchMissState]','format','FAIL','_showConflictNotification','univer-pro.collaboration-client.single-active-unit-service','_hasher','_applyRemoteChangeset','name','CHANGESET_SHOULD_RETRY','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_sendHeartbeat','DEFAULT_FILE_NAME','words','UNRECOGNIZED','UNISCRIPT_RUN','textRanges','originalMeta','getActiveSheet','_sender','mutations','494YnhsJU','loadDoc','/universer-api/file/{fileID}/sign-url','length','_onMessage','exports','_sessions','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','action','/object','_iKey','objects','_logService','_initCloseConn','apply','Utf8','onMissingChangesets','incrementRevOfUnit','hostname','[CollaborationEntity]','_toggleOnline','_mode','_entities','BlockCipher','getCurrentRevOfUnit','COMPRESS_MUTATION_APPLY','algo','image/png','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onOffline','charAt','_xformMode','/resources','getResourcesRequest','selections','getLatestCsReqIdBySid','_unitInfo$','/block/','onRemoteChangeset','UPDATE_CURSOR','uploadFileServerUrl','clamp','onTransformSelections','_getUploadFileURL','send','onRemoteRej','retryConnectingInterval','_createInitialStateImpl','getUnitType','map','readyForCollab','onRemoteAck','/new_changes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','unitID','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_handlerCallback','UserProfileImg','stopTime','_substituteUndoStack','_key','registerHTTPInterceptor','_getAPIPrefix','_isPermissionRej','_createHmacHelper','APPLY_DUPLICATED','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unsubscribe','setConfig','getCurrentSelections','/-/object/list','equals','actions','addHandlerCallback','_keyPriorReset','decryptBlock','get','_process','[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.','BlockCipherMode','_handler','find','NoPadding','concat','_state','indexOf','getFocusedUnit','addImageSourceCache','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','objectType','fetchMiss','EvpKDF','changesets','_getRedoStack','CBC','_compressMutationService','SNAPSHOT_URL_KEY','listCollaborators','generateRandomId','ws://127.0.0.1:8000/universer-api/comb/connect','NOT_FOUND','createInstance','UnitSnapshot','PERMISSION_DENIED','filter','[PendingState]:\x20received\x20rejection.','onSendChangeset','OTHER_CLIENTS_EDITING','transformChangesets','joinRsp','UnitEmbedded','_ENC_XFORM_MODE','LICENSE_DISTRO_REJECTED','type','Malformed\x20UTF-8\x20data','open$','FETCH_MISS','enableAuthServer','image/jpeg','LIVESHARE_FETCH_OPERATIONS','_commentService','UNIVER_COLLABORATION_CLIENT_PLUGIN','c1Prime','authzUrl','univer-pro.collaboration-client.network-condition.service','onLocalMutation','readAsDataURL','CHANGESET_REJ','RETRY_CONNECTING_MAX_COUNT','UNKNOWN_CMD','collaborators','collabSubmitChangesetUrl','[SyncedState]:\x20received\x20rejection.','toString','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','sessionStatus$','baseRev','join','createSocket','_sheetTransformSelectionsService','getUnit','_unitID','[UniverCollaborationClientPlugin]','randomUUID','headers','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','members$','_socket','readInt32LE','USERS_LEAVE','hasher','closeSession','snapshotServerUrl','12Bjnlis','_transitionLocked','setWaitCount','interceptor','_nRounds','avatar','crypto','__Key__','reset','WECHAT_HAS_BEEN_BOUND','Base64','then','next','image/gif','NO_OTHER_CLIENTS_EDITING','rng','MD5','HmacMD5','error','repeat','_timeoutTimer','SHA1','UNKNOWN_CODE','_stopTelemetryCollaborationNewChangeset','splice','_socketMessageSubscription','_executeRemoteChangeset','getCollabEntity','onRemoteRetry','compute','[CollaborationSessionService]:\x20socket\x20error','loginUrlKey','_waitCount','getTypeOfUnitAdded$','commentUpdate$','Undefined','_createHandler','file','_change$','/rev/','socket\x20close','capture','_type','_sendingTimer','_syncEditingCollabCursor','buffer','method','&to=','_HTTPService','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','getSheetBlock','LOGIN_URL_KEY','onCommentUpdate','USER_NOT_INVITED_CODE','[OfflineState]:\x20received\x20acknowledgement.','AWAITING','{fileID}','getUnitId','iterations','m2Prime','_revisionService','CONNECTOR_DATA_TOO_LARGE','Cipher','debug','getOwnPropertyDescriptor','_incrementRevisionNumber','newCsEvent','waitForRoom$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unitInfo$','slice','LICENSE_IMPORT_SIZE_EXCEEDED','push','/-/object/-/batch_allowed','_toggleOffline'];_0x393f=function(){return _0x1c4747;};return _0x393f();}var Gs=Vs();const Ws=He(Gs);function Ys(_0xa71245,_0x2258d3){var _0x556d47=_0x2d44ac;const _0x359fc9=_0x2258d3-_0xa71245[_0x556d47(0x1cc)]%_0x2258d3,_0x5eb8e9=String[_0x556d47(0x1b4)](_0x359fc9)[_0x556d47(0x275)](_0x359fc9);return _0xa71245+_0x5eb8e9;}function Ks(_0x16f6bc,_0x13c7b6){var _0x3fb3fc=_0x2d44ac;const _0x52ac84=js['random'](0x10),_0x4f290c=Ys(_0x16f6bc,0x10),_0xf226be=ws[_0x3fb3fc(0x3ed)](ks[_0x3fb3fc(0x1af)](_0x4f290c),ri[_0x3fb3fc(0x1af)](_0x13c7b6),{'iv':_0x52ac84,'padding':Ws});return _0x52ac84[_0x3fb3fc(0x21c)](_0xf226be[_0x3fb3fc(0x334)])['toString'](ri);}function qs(){var _0x414b77=_0x2d44ac;const _0x2c69ab=_0x4b29a2()[_0x414b77(0x269)];if(_0x2c69ab){const _0x4935b5={'time':Math[_0x414b77(0x2e8)](Date[_0x414b77(0x161)]()/0x3e8),'domain':location[_0x414b77(0x1db)]};return Ks(JSON['stringify'](_0x4935b5),_0x2c69ab);}}var zs=Object['getOwnPropertyDescriptor'],Js=(_0x393bde,_0x66c3e1,_0x54b7d2,_0x54403c)=>{var _0x2185e8=_0x2d44ac;for(var _0x3d70c8=_0x54403c>0x1?void 0x0:_0x54403c?zs(_0x66c3e1,_0x54b7d2):_0x66c3e1,_0x3d5957=_0x393bde[_0x2185e8(0x1cc)]-0x1,_0x5cf565;_0x3d5957>=0x0;_0x3d5957--)(_0x5cf565=_0x393bde[_0x3d5957])&&(_0x3d70c8=_0x5cf565(_0x3d70c8)||_0x3d70c8);return _0x3d70c8;},Xs=(_0x1d66dc,_0x1bafb1)=>(_0x310696,_0x41faa4)=>_0x1bafb1(_0x310696,_0x41faa4,_0x1d66dc);let at=class{constructor(_0x469fe1){var _0x2942e2=_0x2d44ac;this[_0x2942e2(0x35c)]=_0x469fe1,this[_0x2942e2(0x3d0)]();}[_0x2d44ac(0x3d0)](){var _0x192be8=_0x2d44ac;this[_0x192be8(0x35c)][_0x192be8(0x206)]({'interceptor':(_0x8d5ffa,_0x4d35dd)=>{var _0x3f771f=_0x192be8;const _0x34f7e3=_0x8d5ffa[_0x3f771f(0x259)],_0x2a377e=qs();return _0x2a377e&&_0x34f7e3[_0x3f771f(0x2d2)]('x-univer-host',_0x2a377e),_0x4d35dd(_0x8d5ffa);}});}};at=Js([Xs(0x0,_0x3a18e9(_0x477870))],at);var Zs=Object[_0x2d44ac(0x2a3)],Qs=(_0x2af50a,_0xcbe1b8,_0x2b6cdd,_0x3cebce)=>{var _0x52801f=_0x2d44ac;for(var _0x7f9862=_0x3cebce>0x1?void 0x0:_0x3cebce?Zs(_0xcbe1b8,_0x2b6cdd):_0xcbe1b8,_0x4442f8=_0x2af50a[_0x52801f(0x1cc)]-0x1,_0x229469;_0x4442f8>=0x0;_0x4442f8--)(_0x229469=_0x2af50a[_0x4442f8])&&(_0x7f9862=_0x229469(_0x7f9862)||_0x7f9862);return _0x7f9862;},mt=(_0xdc8fa3,_0x23dc92)=>(_0x303c2c,_0x3bed89)=>_0x23dc92(_0x303c2c,_0x3bed89,_0xdc8fa3);let bt=class extends _0x2f9470{constructor(_0x172514,_0x556610,_0x34c2b8){var _0x21291b=_0x2d44ac;super(),N(this,'_unitInfo$',new _0xa6b6e7(null)),N(this,_0x21291b(0x2aa),this[_0x21291b(0x1ed)][_0x21291b(0x2f1)]()),(this[_0x21291b(0x1d5)]=_0x172514,this['_snapshotService']=_0x556610,this['_localCacheService']=_0x34c2b8);}async[_0x2d44ac(0x189)](_0x8eea21,_0x2cef3b,_0x5bedd2){var _0x33064c=_0x2d44ac;this[_0x33064c(0x1ed)]['next']({'unitId':_0x8eea21,'type':_0x2cef3b,'subUnitId':_0x5bedd2});let _0x3ca655=null;switch(_0x2cef3b){case Q[_0x33064c(0x39a)]:{_0x3ca655=await this[_0x33064c(0x38a)](_0x8eea21);break;}case Q['UNIVER_DOC']:{_0x3ca655=await this[_0x33064c(0x3e7)](_0x8eea21);break;}default:{this[_0x33064c(0x1d5)][_0x33064c(0x274)](_0x33064c(0x3ba),_0x33064c(0x2a9));break;}}return _0x3ca655;}async['_loadSheet'](_0x4a0694){var _0x330c3b=_0x2d44ac,_0x145a58;let _0x203a40=0x0;const _0x288e50=await((_0x145a58=this[_0x330c3b(0x145)])==null?void 0x0:_0x145a58[_0x330c3b(0x35d)](_0x4a0694));return _0x288e50&&(_0x288e50['awaitingChangeset']||_0x288e50[_0x330c3b(0x1c8)][_0x330c3b(0x1cc)]!==0x0)&&(_0x203a40=_0x288e50['rev']),_0x203a40===0x0&&this[_0x330c3b(0x1d5)][_0x330c3b(0x2a2)](_0x330c3b(0x3ba),_0x330c3b(0x159)),this['_snapshotService'][_0x330c3b(0x190)](_0x4a0694,_0x203a40);}async[_0x2d44ac(0x3e7)](_0x2de8e3){var _0x571204=_0x2d44ac,_0x451e3a;let _0x1322e8=0x0;const _0x4438c6=await((_0x451e3a=this['_localCacheService'])==null?void 0x0:_0x451e3a['loadOfflineData'](_0x2de8e3));return _0x4438c6&&(_0x4438c6[_0x571204(0x2c5)]||_0x4438c6[_0x571204(0x1c8)][_0x571204(0x1cc)]!==0x0)&&(_0x1322e8=_0x4438c6['rev']),_0x1322e8===0x0&&this[_0x571204(0x1d5)][_0x571204(0x2a2)](_0x571204(0x3ba),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x571204(0x12f)][_0x571204(0x1ca)](_0x2de8e3,_0x1322e8);}};bt=Qs([mt(0x0,_0x41bbc0),mt(0x1,_0x3a18e9(_0x4194fe)),mt(0x2,_0x1f5a13(J))],bt);var er=Object[_0x2d44ac(0x2a3)],tr=(_0x5952b3,_0x1352e6,_0x10968f,_0x467eaa)=>{for(var _0x4a57e6=_0x467eaa>0x1?void 0x0:_0x467eaa?er(_0x1352e6,_0x10968f):_0x1352e6,_0x52e339=_0x5952b3['length']-0x1,_0x491c6e;_0x52e339>=0x0;_0x52e339--)(_0x491c6e=_0x5952b3[_0x52e339])&&(_0x4a57e6=_0x491c6e(_0x4a57e6)||_0x4a57e6);return _0x4a57e6;},gt=(_0x20a69e,_0x55ae5f)=>(_0x24326f,_0x1c4f80)=>_0x55ae5f(_0x24326f,_0x1c4f80,_0x20a69e);const ir=[_0x2d44ac(0x1e4),_0x2d44ac(0x23f),_0x2d44ac(0x2cd),_0x2d44ac(0x26f),_0x2d44ac(0x1b3)],nr=0x5*0x400*0x400,sr=_0x2d44ac(0x1a1),rr='/universer-api/stream/file/upload',ar=_0x2d44ac(0x1be),or=_0x2d44ac(0x1cb);let Ot=class{constructor(_0x260988,_0x590a42,_0x22233b){var _0x222f50=_0x2d44ac;N(this,_0x222f50(0x282),0x0),N(this,_0x222f50(0x288),new _0x42e7d7()),N(this,_0x222f50(0x376),this[_0x222f50(0x288)]),N(this,_0x222f50(0x137),new Map()),(this[_0x222f50(0x35c)]=_0x260988,this[_0x222f50(0x375)]=_0x590a42,this[_0x222f50(0x3f5)]=_0x22233b);}[_0x2d44ac(0x264)](_0x55e91a){var _0x21d266=_0x2d44ac;this['_waitCount']=_0x55e91a,this[_0x21d266(0x288)][_0x21d266(0x26e)](_0x55e91a);}['getImageSourceCache'](_0x57a8ce,_0x39444d){var _0x12bcf3=_0x2d44ac;if(_0x39444d===_0x371265[_0x12bcf3(0x3a8)]){const _0x52d496=new Image();return _0x52d496[_0x12bcf3(0x11b)]=_0x57a8ce,_0x52d496;}return this[_0x12bcf3(0x137)][_0x12bcf3(0x215)](_0x57a8ce);}[_0x2d44ac(0x220)](_0x54370a,_0x3ba108,_0x1df602){var _0x51a1fe=_0x2d44ac;_0x3ba108===_0x371265[_0x51a1fe(0x3a8)]||_0x1df602==null||this[_0x51a1fe(0x137)][_0x51a1fe(0x2d2)](_0x54370a,_0x1df602);}async[_0x2d44ac(0x130)](_0x76be11){var _0x4f9b48=_0x2d44ac;try{const _0x10bcaa=this[_0x4f9b48(0x3e6)](this[_0x4f9b48(0x384)](),''+_0x76be11),_0x525e93=(await this[_0x4f9b48(0x35c)][_0x4f9b48(0x215)](_0x10bcaa))[_0x4f9b48(0x302)];if(_0x525e93[_0x4f9b48(0x274)]&&_0x525e93[_0x4f9b48(0x274)][_0x4f9b48(0x1ae)]===Si['OK']){const _0x9a8a91=new URL(_0x525e93[_0x4f9b48(0x33f)],this[_0x4f9b48(0x363)]())['toString']();return Promise[_0x4f9b48(0x18c)](_0x9a8a91);}return Promise[_0x4f9b48(0x38d)](_0x525e93[_0x4f9b48(0x274)]);}catch(_0x20ebfe){return Promise[_0x4f9b48(0x38d)](_0x20ebfe);}}async['saveImage'](_0x487304){var _0x757cb7=_0x2d44ac;let _0x32903e='';if(!ir[_0x757cb7(0x31a)](_0x487304[_0x757cb7(0x23a)]))return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9['ERROR_IMAGE_TYPE']));if(_0x487304[_0x757cb7(0x3cf)]>nr)return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x386)]));try{const _0x3e40ae=new FormData();_0x3e40ae['append'](_0x757cb7(0x287),_0x487304);const _0x2fb7dc=this[_0x757cb7(0x3f5)][_0x757cb7(0x21f)](),_0xe397f9=_0x2fb7dc==null?void 0x0:_0x2fb7dc[_0x757cb7(0x29c)]();if(!_0xe397f9)throw new Error(_0x757cb7(0x340));const _0x27bfb9=this[_0x757cb7(0x1f4)]()+_0x757cb7(0x402)+_0x487304[_0x757cb7(0x3cf)][_0x757cb7(0x24e)]()+_0x757cb7(0x3d5)+Ei[_0x757cb7(0x237)]+_0x757cb7(0x3f6)+encodeURIComponent(_0xe397f9),_0xffa538={'body':_0x3e40ae},_0x36dc7b=(await this[_0x757cb7(0x35c)][_0x757cb7(0x3df)](_0x27bfb9,_0xffa538))[_0x757cb7(0x302)];if(typeof _0x36dc7b[_0x757cb7(0x2de)]!=_0x757cb7(0x197))return this[_0x757cb7(0x143)](),Promise['reject'](new Error(_0x2e1ab9['ERROR_IMAGE']));_0x32903e=_0x36dc7b[_0x757cb7(0x2de)];}catch{return this[_0x757cb7(0x143)](),Promise[_0x757cb7(0x38d)](new Error(_0x2e1ab9[_0x757cb7(0x151)]));}return new Promise((_0x52c900,_0x5ed966)=>{var _0x81c3d1=_0x757cb7;const _0x36f6a2=new FileReader();_0x36f6a2[_0x81c3d1(0x247)](_0x487304),_0x36f6a2['onload']=_0x5ad650=>{var _0x21da58=_0x81c3d1,_0x3ed855;const _0x4da6bc=(_0x3ed855=_0x5ad650['target'])==null?void 0x0:_0x3ed855[_0x21da58(0x300)];if(_0x4da6bc==null){this[_0x21da58(0x143)](),_0x5ed966(new Error(_0x2e1ab9[_0x21da58(0x151)]));return;}const _0x51756c=_0x10fb77[_0x21da58(0x22b)](0x6);_0x52c900({'imageId':_0x51756c,'imageSourceType':_0x371265[_0x21da58(0x191)],'source':_0x32903e,'base64Cache':_0x4da6bc,'status':_0x2e1ab9['SUCCUSS']}),this[_0x21da58(0x143)]();};});}['_getUploadFileURL'](){var _0x154a6c=_0x2d44ac,_0x1d7722,_0x1eeb10;const _0x34e655=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](sr),_0x97cfd4=this[_0x154a6c(0x375)][_0x154a6c(0x3fc)](q);return(_0x1eeb10=(_0x1d7722=_0x97cfd4==null?void 0x0:_0x97cfd4[_0x154a6c(0x1f1)])!=null?_0x1d7722:_0x34e655)!=null?_0x1eeb10:rr;}['_getSignURL'](){var _0x4bf7ef=_0x2d44ac,_0x9d8da0,_0x1a1e3c;const _0x3a0ad0=this[_0x4bf7ef(0x375)][_0x4bf7ef(0x3fc)](ar),_0x5390ee=this[_0x4bf7ef(0x375)]['getConfig'](q);return(_0x1a1e3c=(_0x9d8da0=_0x5390ee==null?void 0x0:_0x5390ee[_0x4bf7ef(0x13b)])!=null?_0x9d8da0:_0x3a0ad0)!=null?_0x1a1e3c:or;}['_getDownloadEndpointURL'](){var _0x57b1bf=_0x2d44ac,_0x38cb80;const _0x5f0984=this['_configService']['getConfig'](q);return(_0x38cb80=_0x5f0984==null?void 0x0:_0x5f0984[_0x57b1bf(0x12a)])!=null?_0x38cb80:location[_0x57b1bf(0x102)];}[_0x2d44ac(0x3e6)](_0x3007a7,_0x10e8a2){var _0x10029f=_0x2d44ac;return _0x3007a7[_0x10029f(0x398)](_0x10029f(0x29b),_0x10e8a2);}[_0x2d44ac(0x143)](){var _0x555506=_0x2d44ac;this[_0x555506(0x282)]-=0x1,this[_0x555506(0x288)]['next'](this[_0x555506(0x282)]);}};Ot=tr([gt(0x0,_0x3a18e9(_0x477870)),gt(0x1,_0x462043),gt(0x2,_0x3a18e9(_0x2e2ca3))],Ot);var cr=Object[_0x2d44ac(0x2a3)],hr=(_0x169935,_0x582618,_0x341a7b,_0xd88ed2)=>{var _0x1e4b86=_0x2d44ac;for(var _0x360fa4=_0xd88ed2>0x1?void 0x0:_0xd88ed2?cr(_0x582618,_0x341a7b):_0x582618,_0x4f89b9=_0x169935[_0x1e4b86(0x1cc)]-0x1,_0x7499f3;_0x4f89b9>=0x0;_0x4f89b9--)(_0x7499f3=_0x169935[_0x4f89b9])&&(_0x360fa4=_0x7499f3(_0x360fa4)||_0x360fa4);return _0x360fa4;},hi=(_0x408da6,_0x50491e)=>(_0x197f39,_0x1b8a5a)=>_0x50491e(_0x197f39,_0x1b8a5a,_0x408da6);const _r=_0x2d44ac(0x394);let yt=class{constructor(_0x2fa820,_0x2bf36b){var _0x404f28=_0x2d44ac;this[_0x404f28(0x375)]=_0x2fa820,this[_0x404f28(0x292)]=_0x2bf36b;}[_0x2d44ac(0x14c)](){var _0x28a283=_0x2d44ac,_0x3e3e30,_0xac3a2b;const _0xedee5d=this[_0x28a283(0x375)]['getConfig'](Ni),_0x33d630=this[_0x28a283(0x375)][_0x28a283(0x3fc)](q);return(_0xac3a2b=(_0x3e3e30=_0x33d630==null?void 0x0:_0x33d630['authzUrl'])!=null?_0x3e3e30:_0xedee5d)!=null?_0xac3a2b:_r;}async[_0x2d44ac(0x332)](_0x272a95){var _0x1998d8=_0x2d44ac;const _0x4f6018=this[_0x1998d8(0x14c)]()+'/collaborator';return{'list':[{'title':_0x1998d8(0x1a5),'mentions':(await this[_0x1998d8(0x292)][_0x1998d8(0x215)](_0x4f6018,{'params':{'objectID':_0x272a95[_0x1998d8(0x153)],'unitID':_0x272a95[_0x1998d8(0x153)]}}))[_0x1998d8(0x302)]['collaborators'][_0x1998d8(0x1fa)](_0x31df3c=>({'objectId':_0x31df3c['id'],'name':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'metadata':{'icon':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x267)]},'label':_0x31df3c[_0x1998d8(0x33d)][_0x1998d8(0x1bc)],'objectType':_0x97c634['PERSON']})),'metadata':{},'type':_0x97c634[_0x1998d8(0x185)]}]};}};yt=hr([hi(0x0,_0x3a18e9(_0x462043)),hi(0x1,_0x3a18e9(_0x477870))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x1d49bd,_0x1faab8,_0x4f32b8,_0x3cf550)=>{for(var _0x3123ba=_0x3cf550>0x1?void 0x0:_0x3cf550?lr(_0x1faab8,_0x4f32b8):_0x1faab8,_0x525ce5=_0x1d49bd['length']-0x1,_0x126a01;_0x525ce5>=0x0;_0x525ce5--)(_0x126a01=_0x1d49bd[_0x525ce5])&&(_0x3123ba=_0x126a01(_0x3123ba)||_0x3123ba);return _0x3123ba;},we=(_0x135515,_0x4ceb7d)=>(_0x428f64,_0x119fa6)=>_0x4ceb7d(_0x428f64,_0x119fa6,_0x135515);let ot=class extends _0x2f9470{constructor(_0xd1bd95,_0x268bf8,_0x5a97b0,_0x14132a,_0x4e31b9){var _0x2d2993=_0x2d44ac;super(),this['_injector']=_0xd1bd95,this[_0x2d2993(0x3f5)]=_0x268bf8,this[_0x2d2993(0x3e4)]=_0x5a97b0,this['_collaborationSessionService']=_0x14132a,this[_0x2d2993(0xf4)]=_0x4e31b9,this[_0x2d2993(0x32f)](),this['_initCloseConn']();}[_0x2d44ac(0x1d6)](){var _0x42034b=_0x2d44ac;const _0x27edaa=async _0x41733b=>{var _0x21e2bd=_0x39a9;(await this[_0x21e2bd(0x3e8)]['requireSession'](_0x41733b))[_0x21e2bd(0x2ff)][_0x21e2bd(0x11e)](_0x24719a(_0x2bfc0c=>_0x2bfc0c[_0x21e2bd(0x3f7)]===_0x3d1bff[_0x21e2bd(0x175)]),_0x5745eb(this[_0x21e2bd(0x115)]))[_0x21e2bd(0x128)](_0x3f2b09=>{var _0x1f6ca0=_0x21e2bd;const _0x9004fb=_0x3f2b09,{reason:_0x522752}=_0x9004fb[_0x1f6ca0(0x18e)];this[_0x1f6ca0(0xf4)][_0x1f6ca0(0x113)]({'id':re[_0x1f6ca0(0x3ec)],'data':_0x522752}),this[_0x1f6ca0(0x3e4)][_0x1f6ca0(0x109)](new _0x457771(_0x41733b)['id'],!0x1),this[_0x1f6ca0(0x3e8)][_0x1f6ca0(0x260)](_0x41733b);});};_0x5ac85e(this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3['UNIVER_SHEET']),this[_0x42034b(0x3f5)][_0x42034b(0x283)](_0x34ccd3[_0x42034b(0x3f8)]))[_0x42034b(0x11e)](_0x4fc619(_0x410218=>_0x410218[_0x42034b(0x29c)]()),_0x24719a(_0x382c95=>!_0x5423ab(_0x382c95)),_0x5745eb(this[_0x42034b(0x115)]))['subscribe'](_0x5c82fb=>{_0x27edaa(_0x5c82fb);});}[_0x2d44ac(0x32f)](){var _0x46a77c=_0x2d44ac;const _0x42f7fe=async _0x2cf7b3=>{var _0x3a57c0=_0x39a9;const _0x1db145=await this[_0x3a57c0(0x3e8)][_0x3a57c0(0x36f)](_0x2cf7b3),_0x4de9b3=this[_0x3a57c0(0x3d2)]['get'](_0x43a842);_0x1db145['event$'][_0x3a57c0(0x11e)](_0x24719a(_0x34cec4=>_0x34cec4[_0x3a57c0(0x3f7)]===_0x3d1bff['UPDATE_PERMISSION_OBJ']),_0x5745eb(this[_0x3a57c0(0x115)]))['subscribe'](_0x4bf012=>{var _0x278e02=_0x3a57c0;const _0xa8a1ac=_0x4bf012,{objectId:_0x90ade9}=_0xa8a1ac[_0x278e02(0x18e)];_0x90ade9===_0x2cf7b3?_0x4de9b3['initWorkbookPermissionChange'](_0x2cf7b3):_0x4de9b3['refreshPermission'](_0x2cf7b3,_0x90ade9);});};_0x5ac85e(this[_0x46a77c(0x3f5)][_0x46a77c(0x283)](_0x34ccd3[_0x46a77c(0x39a)]))[_0x46a77c(0x11e)](_0x4fc619(_0x51d50c=>_0x51d50c[_0x46a77c(0x29c)]()),_0x24719a(_0x41d622=>!_0x5423ab(_0x41d622)),_0x5745eb(this['dispose$']))[_0x46a77c(0x128)](_0x3dd145=>{_0x42f7fe(_0x3dd145);});}};ot=ur([we(0x0,_0x3a18e9(_0x2eed8a)),we(0x1,_0x2e2ca3),we(0x2,_0x1461bf),we(0x3,_0x3a18e9(Me)),we(0x4,_0x3a18e9(pe))],ot);var dr=Object[_0x2d44ac(0x2a3)],fr=(_0x57017b,_0x1418c9,_0x35d429,_0x3244d4)=>{for(var _0x3446cf=_0x3244d4>0x1?void 0x0:_0x3244d4?dr(_0x1418c9,_0x35d429):_0x1418c9,_0x42b82e=_0x57017b['length']-0x1,_0x467374;_0x42b82e>=0x0;_0x42b82e--)(_0x467374=_0x57017b[_0x42b82e])&&(_0x3446cf=_0x467374(_0x3446cf)||_0x3446cf);return _0x3446cf;},_i=(_0x5a5b24,_0x34d4e5)=>(_0x31e14a,_0x24e7a9)=>_0x34d4e5(_0x31e14a,_0x24e7a9,_0x5a5b24);let Nt=class{constructor(_0x104487,_0x82d196){var _0x4b9bfe=_0x2d44ac;this[_0x4b9bfe(0x375)]=_0x104487,this['_httpService']=_0x82d196;}async[_0x2d44ac(0x368)](_0x4c042b,_0x275b74){var _0x5964af=_0x2d44ac,_0x160018;const {unitID:_0x2484c3,type:_0x2c1ed2,revision:_0x541336=0x0}=_0x275b74,_0x4e9848=this[_0x5964af(0x19d)]()+'/'+_0x2c1ed2+_0x5964af(0x2d7)+_0x2484c3+_0x5964af(0x289)+_0x541336,_0x2e50d1=(await this[_0x5964af(0x35c)][_0x5964af(0x215)](_0x4e9848))['body'],_0x30a6aa=(_0x160018=_0x2e50d1['snapshot'])==null?void 0x0:_0x160018[_0x5964af(0x2e3)];if(_0x30a6aa){const _0x4b3317=_0x30a6aa==null?void 0x0:_0x30a6aa['originalMeta'],_0x9f36ab=_0x154489['encode'](_0x1a97d4(_0x4b3317));_0x30a6aa[_0x5964af(0x1c5)]=_0x9f36ab,Object[_0x5964af(0x32b)](_0x30a6aa['sheets'])[_0x5964af(0x2ea)](([,_0x1286e6])=>{var _0x43b3fe=_0x5964af;const _0x10a32f=_0x1286e6[_0x43b3fe(0x1c5)],_0x3547db=_0x154489[_0x43b3fe(0x3e1)](_0x1a97d4(_0x10a32f));_0x1286e6[_0x43b3fe(0x1c5)]=_0x3547db;});}return _0x2e50d1;}async[_0x2d44ac(0x295)](_0x4eb273,_0x4d3360){var _0x493e60=_0x2d44ac;const {unitID:_0x31dd0e,type:_0xd8efa1,blockID:_0x2b2e9a}=_0x4d3360,_0x5dd47a=this['_getAPIPrefix']()+'/'+_0xd8efa1+_0x493e60(0x2d7)+_0x31dd0e+_0x493e60(0x1ee)+_0x2b2e9a;return(await this['_httpService'][_0x493e60(0x215)](_0x5dd47a))[_0x493e60(0x302)];}async['getDeserializedSheetBlock'](_0x3f7957,_0x48d56e){var _0x367917=_0x2d44ac;const {unitID:_0x1ae2c7,type:_0x59753e,blockID:_0x23c594}=_0x48d56e,_0x45a56b=this['_getAPIPrefix']()+_0x367917(0x1ee)+_0x59753e+_0x367917(0x2d7)+_0x1ae2c7+_0x367917(0x1ee)+_0x23c594;return(await this[_0x367917(0x35c)][_0x367917(0x215)](_0x45a56b))[_0x367917(0x302)];}async[_0x2d44ac(0x1b2)](_0x28ec40,_0x5248ce){var _0x35d4d8=_0x2d44ac;const {unitID:_0x186299,type:_0x4a7eaa,from:_0x2b2faf,to:_0x1ca596}=_0x5248ce,_0x2e383a=this[_0x35d4d8(0x207)]()+'/'+_0x4a7eaa+_0x35d4d8(0x2d7)+_0x186299+_0x35d4d8(0x10a)+_0x2b2faf+_0x35d4d8(0x291)+_0x1ca596;return(await this[_0x35d4d8(0x35c)][_0x35d4d8(0x215)](_0x2e383a))[_0x35d4d8(0x302)];}[_0x2d44ac(0x19d)](){var _0x48f64f=_0x2d44ac,_0x1c9af1;return(_0x1c9af1=this[_0x48f64f(0x375)][_0x48f64f(0x3fc)](Sn))!=null?_0x1c9af1:this[_0x48f64f(0x207)]();}[_0x2d44ac(0x207)](){var _0x3e7c08=_0x2d44ac,_0x3d6422,_0xe4154e;const _0x20a860=this[_0x3e7c08(0x375)]['getConfig'](mn),_0x721a15=this['_configService'][_0x3e7c08(0x3fc)](q);return(_0xe4154e=(_0x3d6422=_0x721a15==null?void 0x0:_0x721a15[_0x3e7c08(0x261)])!=null?_0x3d6422:_0x20a860)!=null?_0xe4154e:gn;}async[_0x2d44ac(0x1ea)](_0x35ab35,_0x31ecdf){var _0x1a4fba=_0x2d44ac;const _0x5d7162=_0x1a4fba(0x171)+_0x31ecdf[_0x1a4fba(0x23a)]+_0x1a4fba(0x2d7)+_0x31ecdf[_0x1a4fba(0x1ff)]+_0x1a4fba(0x1e9);return(await this[_0x1a4fba(0x35c)][_0x1a4fba(0x215)](_0x5d7162,{'params':{'resourceId':JSON['stringify'](_0x31ecdf[_0x1a4fba(0x365)])}}))[_0x1a4fba(0x302)];}[_0x2d44ac(0x142)](){var _0x4149b0=_0x2d44ac;throw new Error(_0x4149b0(0x2a7));}['saveSheetBlock'](){var _0x549312=_0x2d44ac;throw new Error(_0x549312(0x2a7));}['saveChangeset'](){var _0xe337ef=_0x2d44ac;throw new Error(_0xe337ef(0x2a7));}[_0x2d44ac(0x15e)](){var _0x3713f7=_0x2d44ac;throw new Error(_0x3713f7(0x2a7));}[_0x2d44ac(0x1ec)](){var _0x442dfd=_0x2d44ac;throw new Error(_0x442dfd(0x2a7));}};Nt=fr([_i(0x0,_0x462043),_i(0x1,_0x3a18e9(_0x477870))],Nt);var vr=Object[_0x2d44ac(0x2a3)],pr=(_0x898759,_0x420761,_0x2dac33,_0x4c9abb)=>{var _0x3935bb=_0x2d44ac;for(var _0x31bd95=_0x4c9abb>0x1?void 0x0:_0x4c9abb?vr(_0x420761,_0x2dac33):_0x420761,_0x3f71a4=_0x898759[_0x3935bb(0x1cc)]-0x1,_0x3b4d1b;_0x3f71a4>=0x0;_0x3f71a4--)(_0x3b4d1b=_0x898759[_0x3f71a4])&&(_0x31bd95=_0x3b4d1b(_0x31bd95)||_0x31bd95);return _0x31bd95;},Pe=(_0x1efc74,_0x3af295)=>(_0x4e3c6e,_0x5660fe)=>_0x3af295(_0x4e3c6e,_0x5660fe,_0x1efc74);let Dt=class extends _0x579d45{constructor(_0x26cce5,_0x36754f,_0x248321,_0x1fbb76,_0x4f37cf){var _0x910cb4=_0x2d44ac;super(_0x26cce5,_0x36754f,_0x248321),this[_0x910cb4(0x380)]=_0x1fbb76,this[_0x910cb4(0x1d5)]=_0x4f37cf;}['transformUndoRedo'](_0x404c67,_0x46e1b4){var _0x34ebbc=_0x2d44ac;const _0x4723b9=this['_getUndoStack'](_0x404c67);if(_0x4723b9)try{const _0x4ed05d=this['_transformStack'](_0x4723b9,_0x46e1b4);this[_0x34ebbc(0x204)](_0x404c67,_0x4ed05d);}catch(_0x372825){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x34ebbc(0x314),_0x372825),this[_0x34ebbc(0x3cc)](_0x404c67);}const _0x165c8e=this['_getRedoStack'](_0x404c67);if(_0x165c8e)try{const _0x2a0f18=this[_0x34ebbc(0x3ef)](_0x165c8e,_0x46e1b4);this[_0x34ebbc(0x2ba)](_0x404c67,_0x2a0f18);}catch(_0x40b099){this[_0x34ebbc(0x1d5)][_0x34ebbc(0x274)](_0x40b099),this['_clearRedo'](_0x404c67);}}[_0x2d44ac(0x3cc)](_0x2fe943){var _0x51b24a=_0x2d44ac;const _0x271e38=this[_0x51b24a(0x2e1)](_0x2fe943);_0x271e38&&(_0x271e38[_0x51b24a(0x1cc)]=0x0,this[_0x51b24a(0x372)]());}[_0x2d44ac(0x2df)](_0x1cd5af){var _0x2d1948=_0x2d44ac;const _0x4b67b9=this[_0x2d1948(0x226)](_0x1cd5af);_0x4b67b9&&(_0x4b67b9[_0x2d1948(0x1cc)]=0x0,this[_0x2d1948(0x372)]());}[_0x2d44ac(0x204)](_0x2a5882,_0x1e3104){var _0x2e9732=_0x2d44ac;this[_0x2e9732(0x3b0)][_0x2e9732(0x2d2)](_0x2a5882,_0x1e3104),this[_0x2e9732(0x372)]();}['_substituteRedoStack'](_0x28c497,_0x30f21a){var _0x386caa=_0x2d44ac;this['_redoStacks']['set'](_0x28c497,_0x30f21a),this[_0x386caa(0x372)]();}['_transformStack'](_0x18f5cb,_0x2206cd){var _0x2ce4a5=_0x2d44ac;const _0x567e5e=[];let _0x3c2e32=_0x2206cd,_0x5ace75=_0x2206cd;for(let _0x5d829f=_0x18f5cb[_0x2ce4a5(0x1cc)]-0x1;_0x5d829f>=0x0;_0x5d829f--){const {unitID:_0x4d74fb,undoMutations:_0x25b167,redoMutations:_0x376120}=_0x18f5cb[_0x5d829f],_0x3408e2=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x3c2e32,_0x25b167),_0x4e833a=this[_0x2ce4a5(0x380)][_0x2ce4a5(0x2d8)](_0x5ace75,_0x376120);if(_0x2f9aac(_0x3408e2)||_0x2f9aac(_0x4e833a)){this[_0x2ce4a5(0x1d5)]['error'](_0x2ce4a5(0x314),'transformStack\x20failed!',_0x3408e2,_0x4e833a);break;}_0x3c2e32=_0x3408e2[_0x2ce4a5(0x243)],_0x5ace75=_0x4e833a[_0x2ce4a5(0x243)],_0x567e5e[_0x2ce4a5(0x2ad)]({'unitID':_0x4d74fb,'undoMutations':_0x3408e2[_0x2ce4a5(0x29e)],'redoMutations':_0x4e833a['m2Prime']});}return _0x567e5e['reverse']();}};Dt=pr([Pe(0x0,_0x2e2ca3),Pe(0x1,_0x326da6),Pe(0x2,_0x38dea7),Pe(0x3,_0x157f6a),Pe(0x4,_0x41bbc0)],Dt);var mr=Object[_0x2d44ac(0x2bd)],gr=Object[_0x2d44ac(0x2a3)],Sr=(_0x32dfb3,_0x48117d,_0x154945)=>_0x48117d in _0x32dfb3?mr(_0x32dfb3,_0x48117d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x154945}):_0x32dfb3[_0x48117d]=_0x154945,Er=(_0x4f73f7,_0x2b4405,_0x13934c,_0x243da1)=>{var _0x430e5c=_0x2d44ac;for(var _0xbaa50b=_0x243da1>0x1?void 0x0:_0x243da1?gr(_0x2b4405,_0x13934c):_0x2b4405,_0x232ae5=_0x4f73f7[_0x430e5c(0x1cc)]-0x1,_0x3abec4;_0x232ae5>=0x0;_0x232ae5--)(_0x3abec4=_0x4f73f7[_0x232ae5])&&(_0xbaa50b=_0x3abec4(_0xbaa50b)||_0xbaa50b);return _0xbaa50b;},St=(_0xac9f71,_0x106923)=>(_0x30a757,_0x5ad538)=>_0x106923(_0x30a757,_0x5ad538,_0xac9f71),Ir=(_0x253a88,_0x23f8f1,_0x1a747b)=>Sr(_0x253a88,_0x23f8f1+'',_0x1a747b);const Tr=_0x2d44ac(0x242);let Ut=class extends _0x210254{constructor(_0x140e4a,_0x1a7db9,_0x18f067,_0xcf7c4a){var _0xecfd85=_0x2d44ac;super(),N(this,'_config'),(this[_0xecfd85(0x1d5)]=_0x1a7db9,this['_injector']=_0x18f067,this[_0xecfd85(0x375)]=_0xcf7c4a);const {..._0x4f555a}=_0x36ec5e({},wn,_0x140e4a);if(!_0x4f555a[_0xecfd85(0x3aa)])throw new Error(_0xecfd85(0x163));this[_0xecfd85(0x39d)]=_0x4f555a,this['_configService'][_0xecfd85(0x20d)](q,_0x4f555a);}[_0x2d44ac(0x38f)](){var _0x214eab=_0x2d44ac;this[_0x214eab(0x3ab)](),this[_0x214eab(0x181)]();}[_0x2d44ac(0x3ab)](){var _0x6d507b=_0x2d44ac,_0x27d014,_0x38c86d;this[_0x6d507b(0x3d2)][_0x6d507b(0x311)](_0x46d3c0)&&this['_logService'][_0x6d507b(0x274)](_0x6d507b(0x257),_0x6d507b(0x3fa));const _0x1570be=_0x581157([[_0x46d3c0,{'useClass':Dt}],[Me],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this['_config']['socketService']}],[_0x3d2e4f,{'useClass':Nt}],[_0xcc27c5,{'useClass':Rt}],[_0x4d6d8d,{'useClass':Ot}],[_0x55d716,{'useClass':yt}],[st],[Ct]],(_0x27d014=this[_0x6d507b(0x39d)])==null?void 0x0:_0x27d014['override']);if(!((_0x38c86d=this[_0x6d507b(0x39d)])!=null&&_0x38c86d[_0x6d507b(0x2b3)])){const _0x2a3966=_0x1570be[_0x6d507b(0x3bd)](([_0x440f90])=>_0x440f90===ht);_0x2a3966!==-0x1&&_0x1570be[_0x6d507b(0x27a)](_0x2a3966,0x1);}_0xa3cd39(this[_0x6d507b(0x3d2)],_0x1570be);}[_0x2d44ac(0x181)](){var _0x45e99f=_0x2d44ac,_0x362d60,_0x28f6cd,_0x1794f5;this[_0x45e99f(0x3d2)]['get'](_0x477870)[_0x45e99f(0x206)]({'priority':0x14,'interceptor':_0x6a2522({'maxParallel':0x6})}),(_0x362d60=this['_config'])!=null&&_0x362d60['enableOfflineEditing']||(_0x28f6cd=this[_0x45e99f(0x3d2)][_0x45e99f(0x215)](J,_0x5594c6[_0x45e99f(0x350)]))==null||_0x28f6cd['disableLocalCache'](),(_0x1794f5=this[_0x45e99f(0x39d)])!=null&&_0x1794f5[_0x45e99f(0x23e)]&&_0x32fd4c(this[_0x45e99f(0x3d2)],[[rt]]),_0x32fd4c(this[_0x45e99f(0x3d2)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x327176(_0x1baaeb,_0x22fece),St(0x1,_0x41bbc0),St(0x2,_0x3a18e9(_0x2eed8a)),St(0x3,_0x462043)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Me as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Mr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,xr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,Mn as serializeCombRequest};
|