@univerjs-pro/collaboration-client 0.17.0 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.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/types/controllers/collaboration/collaboration-entity.d.ts +8 -5
- package/lib/types/controllers/collaboration/collaboration-state.d.ts +6 -4
- package/lib/types/controllers/collaboration/collaboration.controller.d.ts +4 -3
- package/lib/types/controllers/collaboration/utils/changeset-utils.d.ts +4 -4
- package/lib/types/controllers/config.schema.d.ts +2 -2
- package/lib/types/controllers/telemetry.d.ts +1 -1
- package/lib/types/facade/f-collaboration.d.ts +6 -4
- package/lib/types/facade/f-event.d.ts +2 -2
- package/lib/types/facade/f-univer.d.ts +1 -1
- package/lib/types/locale/ca-ES.d.ts +1 -1
- package/lib/types/locale/es-ES.d.ts +1 -1
- package/lib/types/locale/fa-IR.d.ts +1 -1
- package/lib/types/locale/fr-FR.d.ts +1 -1
- package/lib/types/locale/ja-JP.d.ts +1 -1
- package/lib/types/locale/ko-KR.d.ts +1 -1
- package/lib/types/locale/ru-RU.d.ts +1 -1
- package/lib/types/locale/sk-SK.d.ts +1 -1
- package/lib/types/locale/vi-VN.d.ts +1 -1
- package/lib/types/locale/zh-CN.d.ts +1 -1
- package/lib/types/locale/zh-TW.d.ts +1 -1
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/auth-server/authz-io-http.service.d.ts +3 -2
- package/lib/types/services/collaboration-session/collaboration-session.d.ts +5 -4
- package/lib/types/services/collaboration-session/collaboration-session.service.d.ts +6 -4
- package/lib/types/services/collaboration-ui-event/collaboration-ui-event.d.ts +1 -1
- package/lib/types/services/comment/comment.service.d.ts +2 -2
- package/lib/types/services/data-loader/data-loader.service.d.ts +3 -2
- package/lib/types/services/image-remote/image-io.service.d.ts +6 -4
- package/lib/types/services/local-cache/local-cache.service.d.ts +4 -4
- package/lib/types/services/member/member.service.d.ts +4 -3
- package/lib/types/services/mention-server/mention-io-http.service.d.ts +2 -1
- package/lib/types/services/network-condition/network-condition.service.d.ts +2 -2
- package/lib/types/services/range-selection/sheet-transform-selections.service.d.ts +2 -1
- package/lib/types/services/single-active-unit/single-active-unit.service.d.ts +2 -2
- package/lib/types/services/snapshot-server/snapshot-server.service.d.ts +2 -2
- package/lib/types/services/socket/collaboration-socket.service.d.ts +9 -6
- package/lib/types/services/socket/serialize.d.ts +1 -1
- package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +4 -2
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.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 +14 -13
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x48c408=_0x21ac;(function(_0x1dc0b3,_0x3f875e){var _0x24f322=_0x21ac,_0x17ae2e=_0x1dc0b3();while(!![]){try{var _0x3aa381=-parseInt(_0x24f322(0xee))/0x1+parseInt(_0x24f322(0x367))/0x2+parseInt(_0x24f322(0x147))/0x3*(parseInt(_0x24f322(0x22e))/0x4)+parseInt(_0x24f322(0x234))/0x5+parseInt(_0x24f322(0x211))/0x6*(-parseInt(_0x24f322(0x1d9))/0x7)+-parseInt(_0x24f322(0x337))/0x8*(-parseInt(_0x24f322(0x184))/0x9)+-parseInt(_0x24f322(0x13e))/0xa*(parseInt(_0x24f322(0x312))/0xb);if(_0x3aa381===_0x3f875e)break;else _0x17ae2e['push'](_0x17ae2e['shift']());}catch(_0x477cd4){_0x17ae2e['push'](_0x17ae2e['shift']());}}}(_0xa0c4,0xc0a66));var Ui=Object[_0x48c408(0xaa)],Ai=(_0x895ca3,_0x7c5496,_0x5c8f5a)=>_0x7c5496 in _0x895ca3?Ui(_0x895ca3,_0x7c5496,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c8f5a}):_0x895ca3[_0x7c5496]=_0x5c8f5a,D=(_0x5e47ea,_0x45a84f,_0x3e7c4c)=>Ai(_0x5e47ea,typeof _0x45a84f!=_0x48c408(0x20d)?_0x45a84f+'':_0x45a84f,_0x3e7c4c);import{CollaborationEvent as _0x249d85,isTransformMutationsWithChangesetSuccess as _0x117f2d,ITransformService as _0x15141f,mapDocumentTypeToUniverType as _0x3ca768,RevisionService as _0x31494d,isTransformChangesetsSuccess as _0x445c7a,EmptyMutationInfo as _0x1bf6d4,CompressMutationService as _0x44145c,parseProtocolChangeset as _0x588d05,uuidv4 as _0x55c077,parseChangesetToProtocol as _0x52c9eb,ISnapshotServerService as _0x5d8fb1,SnapshotService as _0x1f0844,textEncoder as _0x5dd5ba,b64DecodeUnicode as _0x10d3c2,isTransformMutationsWithChangesetFailure as _0x5f45b8,UniverCollaborationPlugin as _0x3ce5e0}from'@univerjs-pro/collaboration';import{Inject as _0x27d190,UserManagerService as _0x487871,Disposable as _0x4a1af2,UniverInstanceType as _0x404af9,IUniverInstanceService as _0xad3f4d,Optional as _0x441adc,RxDisposable as _0x4e8d87,ILogService as _0x5532d1,IConfigService as _0x50caa9,createIdentifier as _0xe9acff,Injector as _0x1b9850,Tools as _0x33407c,Rectangle as _0x1287d3,ICommandService as _0x2b6b9d,JSONX as _0x167df5,IPermissionService as _0x2c6912,LocaleService as _0x1f8550,sequenceExecute as _0x4a634b,IUndoRedoService as _0x262d0e,toDisposable as _0x33f965,CommandType as _0x1e818c,DisposableCollection as _0x5ac374,Workbook as _0x184f74,resolveWithBasePath as _0x52bc3d,generateRandomId as _0x4040c9,MentionType as _0x482a76,isInternalEditorID as _0x3b6810,LocalUndoRedoService as _0x217338,IContextService as _0x195659,DependentOn as _0x4d9c6d,Plugin as _0x2a4d96,merge as _0x3eed8c,mergeOverrideWithDependencies as _0x1b6d73,IAuthzIoService as _0x49c1b3,IMentionIOService as _0x458366,registerDependencies as _0x3cf6b3,Quantity as _0x27605f,touchDependencies as _0x1fd334}from'@univerjs/core';import{RichTextEditingMutation as _0x1ec9ae}from'@univerjs/docs';import{SheetsSelectionsService as _0x593631,SetSelectionsOperation as _0xcbc139,InsertSheetMutation as _0x1d77cb,WorkbookEditablePermission as _0x40787e,SheetPermissionInitController as _0x158464}from'@univerjs/sheets';import{Subject as _0x2e504e,merge as _0x5f1d4a,of as _0x5535f2,BehaviorSubject as _0x228d76,takeUntil as _0x3ee046,ReplaySubject as _0x451a8e,take as _0x22c840,map as _0x4e2063,shareReplay as _0x2d5e4c,firstValueFrom as _0x477ce6,concatMap as _0x48cb03}from'rxjs';import{ITelemetryService as _0x238383}from'@univerjs/telemetry';import{map as _0x51ecb1,take as _0x8268f2,filter as _0x41f851,delay as _0x469e1b,takeUntil as _0x9fc493}from'rxjs/operators';import{HTTPService as _0x1fe4bb,ISocketService as _0x34cc27,MergeInterceptorFactory as _0x272ef1,HTTPRequest as _0x3528c5,UniverNetworkPlugin as _0x4df36e,ThresholdInterceptorFactory as _0x42427b}from'@univerjs/network';import{getGlobalObject as _0x3c18e7,UniverLicensePlugin as _0x5280a6}from'@univerjs-pro/license';import{ImageSourceType as _0x393922,ImageUploadStatusType as _0x6d5ac6,IImageIoService as _0x53dc37}from'@univerjs/drawing';const Is=_0x48c408(0x118),Ss=_0x48c408(0x2b4),gs=0x7d0,Ts=_0x48c408(0x162),Cr='/universer-api/user/session-ticket',Os=_0x48c408(0x326),Rs=0x7530,fi=_0x48c408(0x209),vi=0x4e20,Ns=0x4e20,Cs=_0x48c408(0x288),bs=0x3,br=_0x48c408(0x355),Dr=0x3e8,Ds='/universer-api/comb',ys=_0x48c408(0x2f7),yr=_0x48c408(0x25a),Ur=_0x48c408(0x1ed);var Ei=(_0xce62b0=>(_0xce62b0[_0xce62b0[_0x48c408(0x2c3)]=0x0]='UNDEFINED',_0xce62b0[_0xce62b0['OK']=0x1]='OK',_0xce62b0[_0xce62b0[_0x48c408(0x1f3)]=0x2]=_0x48c408(0x1f3),_0xce62b0[_0xce62b0['PERMISSION_DENIED']=0x3]=_0x48c408(0x38a),_0xce62b0[_0xce62b0[_0x48c408(0x1cb)]=0x4]=_0x48c408(0x1cb),_0xce62b0[_0xce62b0['UNAUTHENTICATED']=0x5]=_0x48c408(0x1dd),_0xce62b0[_0xce62b0['ALREADY_EXISTS']=0x6]=_0x48c408(0x32d),_0xce62b0[_0xce62b0[_0x48c408(0x8e)]=0x7]=_0x48c408(0x8e),_0xce62b0[_0xce62b0[_0x48c408(0x365)]=0x8]=_0x48c408(0x365),_0xce62b0[_0xce62b0[_0x48c408(0x23e)]=0x9]=_0x48c408(0x23e),_0xce62b0[_0xce62b0[_0x48c408(0x143)]=0xa]=_0x48c408(0x143),_0xce62b0[_0xce62b0[_0x48c408(0x298)]=0xb]=_0x48c408(0x298),_0xce62b0[_0xce62b0[_0x48c408(0x1cc)]=0xc]=_0x48c408(0x1cc),_0xce62b0[_0xce62b0['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x48c408(0x14a),_0xce62b0[_0xce62b0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x48c408(0x338),_0xce62b0[_0xce62b0[_0x48c408(0x256)]=0xf]=_0x48c408(0x256),_0xce62b0[_0xce62b0['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x48c408(0x1af),_0xce62b0[_0xce62b0[_0x48c408(0xc9)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xce62b0[_0xce62b0[_0x48c408(0x251)]=0x65]=_0x48c408(0x251),_0xce62b0[_0xce62b0[_0x48c408(0x2dc)]=0xc9]=_0x48c408(0x2dc),_0xce62b0[_0xce62b0[_0x48c408(0x3ae)]=0xca]=_0x48c408(0x3ae),_0xce62b0[_0xce62b0[_0x48c408(0x2f9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xce62b0[_0xce62b0[_0x48c408(0x16f)]=0x1771]=_0x48c408(0x16f),_0xce62b0[_0xce62b0[_0x48c408(0xf1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xce62b0[_0xce62b0[_0x48c408(0x155)]=0x1773]=_0x48c408(0x155),_0xce62b0[_0xce62b0[_0x48c408(0x101)]=0x1b59]=_0x48c408(0x101),_0xce62b0[_0xce62b0[_0x48c408(0x273)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xce62b0[_0xce62b0[_0x48c408(0xb1)]=0x1b5b]=_0x48c408(0xb1),_0xce62b0[_0xce62b0[_0x48c408(0x1c1)]=0x1b5c]=_0x48c408(0x1c1),_0xce62b0[_0xce62b0['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xce62b0[_0xce62b0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x48c408(0x285),_0xce62b0[_0xce62b0[_0x48c408(0xb0)]=0x2329]=_0x48c408(0xb0),_0xce62b0[_0xce62b0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x48c408(0x11c),_0xce62b0[_0xce62b0[_0x48c408(0xb2)]=0x232b]=_0x48c408(0xb2),_0xce62b0[_0xce62b0[_0x48c408(0x2b6)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xce62b0[_0xce62b0['LICENSE_DISTRO_REJECTED']=0x232d]=_0x48c408(0x37a),_0xce62b0[_0xce62b0[_0x48c408(0x2f8)]=0x2711]=_0x48c408(0x2f8),_0xce62b0[_0xce62b0[_0x48c408(0x272)]=0x2712]=_0x48c408(0x272),_0xce62b0[_0xce62b0[_0x48c408(0x16c)]=0x2713]=_0x48c408(0x16c),_0xce62b0[_0xce62b0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xce62b0[_0xce62b0[_0x48c408(0xa6)]=0x271a]=_0x48c408(0xa6),_0xce62b0[_0xce62b0['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xce62b0[_0xce62b0['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x48c408(0x21a),_0xce62b0[_0xce62b0[_0x48c408(0x1b4)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xce62b0[_0xce62b0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x48c408(0x21c),_0xce62b0[_0xce62b0[_0x48c408(0x2fb)]=0x271f]='YUUMI_AI_RUN_FAILED',_0xce62b0[_0xce62b0[_0x48c408(0xfc)]=0x2720]=_0x48c408(0xfc),_0xce62b0[_0xce62b0[_0x48c408(0x174)]=0x2af9]=_0x48c408(0x174),_0xce62b0[_0xce62b0[_0x48c408(0x173)]=0x2ee1]=_0x48c408(0x173),_0xce62b0[_0xce62b0[_0x48c408(0x217)]=0x2ee2]=_0x48c408(0x217),_0xce62b0[_0xce62b0['INVITE_CODE_REQUIRED']=0x2ee3]=_0x48c408(0x2ca),_0xce62b0[_0xce62b0[_0x48c408(0x2bf)]=0x2ee4]=_0x48c408(0x2bf),_0xce62b0[_0xce62b0[_0x48c408(0x2d4)]=0x2ee5]=_0x48c408(0x2d4),_0xce62b0[_0xce62b0[_0x48c408(0x145)]=0x32c9]=_0x48c408(0x145),_0xce62b0[_0xce62b0[_0x48c408(0x3ab)]=0x32ca]=_0x48c408(0x3ab),_0xce62b0[_0xce62b0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x48c408(0x86),_0xce62b0[_0xce62b0[_0x48c408(0x34c)]=0x36b1]=_0x48c408(0x34c),_0xce62b0[_0xce62b0['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x48c408(0x125),_0xce62b0[_0xce62b0[_0x48c408(0x30d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xce62b0[_0xce62b0['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x48c408(0x283),_0xce62b0[_0xce62b0['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0xce62b0[_0xce62b0['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x48c408(0x2df),_0xce62b0[_0xce62b0[_0x48c408(0x2ec)]=0x36b7]=_0x48c408(0x2ec),_0xce62b0[_0xce62b0[_0x48c408(0xcf)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xce62b0[_0xce62b0[_0x48c408(0x236)]=0x3715]=_0x48c408(0x236),_0xce62b0[_0xce62b0[_0x48c408(0x87)]=0x3716]=_0x48c408(0x87),_0xce62b0[_0xce62b0['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xce62b0[_0xce62b0['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x48c408(0x36d),_0xce62b0[_0xce62b0[_0x48c408(0x210)]=0x3a99]='REDEMPTION_INVALID_CODE',_0xce62b0[_0xce62b0['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xce62b0[_0xce62b0[_0x48c408(0x22c)]=0x3a9b]=_0x48c408(0x22c),_0xce62b0[_0xce62b0['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xce62b0[_0xce62b0[_0x48c408(0xf8)]=0x3a9d]=_0x48c408(0xf8),_0xce62b0[_0xce62b0[_0x48c408(0xf3)]=0x3a9e]=_0x48c408(0xf3),_0xce62b0[_0xce62b0[_0x48c408(0x239)]=0x3a9f]=_0x48c408(0x239),_0xce62b0[_0xce62b0[_0x48c408(0x34b)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xce62b0[_0xce62b0[_0x48c408(0x1e4)]=-0x1]=_0x48c408(0x1e4),_0xce62b0))(Ei||{}),Q=(_0x1f6834=>(_0x1f6834[_0x1f6834[_0x48c408(0x2f2)]=0x0]=_0x48c408(0x2f2),_0x1f6834[_0x1f6834['UNIVER_DOC']=0x1]=_0x48c408(0x33a),_0x1f6834[_0x1f6834[_0x48c408(0x2eb)]=0x2]='UNIVER_SHEET',_0x1f6834[_0x1f6834[_0x48c408(0x3a5)]=0x3]=_0x48c408(0x3a5),_0x1f6834[_0x1f6834[_0x48c408(0x2de)]=0x4]=_0x48c408(0x2de),_0x1f6834[_0x1f6834[_0x48c408(0x1e4)]=-0x1]=_0x48c408(0x1e4),_0x1f6834))(Q||{}),j=(_0x321cc0=>(_0x321cc0[_0x321cc0[_0x48c408(0x14e)]=0x0]='UNKNOWN_CMD',_0x321cc0[_0x321cc0['HELLO']=0x1]=_0x48c408(0x32e),_0x321cc0[_0x321cc0[_0x48c408(0x138)]=0x2]=_0x48c408(0x138),_0x321cc0[_0x321cc0[_0x48c408(0xe8)]=0x3]=_0x48c408(0xe8),_0x321cc0[_0x321cc0[_0x48c408(0x2ef)]=0x4]=_0x48c408(0x2ef),_0x321cc0[_0x321cc0[_0x48c408(0x10f)]=0x5]=_0x48c408(0x10f),_0x321cc0[_0x321cc0[_0x48c408(0x32c)]=0x6]=_0x48c408(0x32c),_0x321cc0[_0x321cc0[_0x48c408(0x1e4)]=-0x1]=_0x48c408(0x1e4),_0x321cc0))(j||{}),Ee=(_0x116884=>(_0x116884[_0x116884[_0x48c408(0x394)]=0x0]='UNKNOWN_CODE',_0x116884[_0x116884['OK']=0x1]='OK',_0x116884[_0x116884[_0x48c408(0x299)]=0x2]=_0x48c408(0x299),_0x116884[_0x116884[_0x48c408(0x195)]=0x3e9]=_0x48c408(0x195),_0x116884[_0x116884['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x116884[_0x116884[_0x48c408(0x2a3)]=0x3eb]=_0x48c408(0x2a3),_0x116884[_0x116884[_0x48c408(0x148)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x116884[_0x116884[_0x48c408(0x1e4)]=-0x1]=_0x48c408(0x1e4),_0x116884))(Ee||{}),pi=(_0x48c527=>(_0x48c527[_0x48c527['Undefined']=0x0]=_0x48c408(0x1da),_0x48c527[_0x48c527[_0x48c408(0x2c7)]=0x1]=_0x48c408(0x2c7),_0x48c527[_0x48c527[_0x48c408(0x1de)]=0x2]='HttpExport',_0x48c527[_0x48c527[_0x48c408(0x2cd)]=0x3]=_0x48c408(0x2cd),_0x48c527[_0x48c527[_0x48c408(0x322)]=0x4]=_0x48c408(0x322),_0x48c527[_0x48c527['UserProfileImg']=0x5]='UserProfileImg',_0x48c527[_0x48c527['ClipsheetFragments']=0x6]=_0x48c408(0x30e),_0x48c527[_0x48c527['UNRECOGNIZED']=-0x1]=_0x48c408(0x1e4),_0x48c527))(pi||{});const Us=_0x48c408(0x245);function As(_0xa47050){var _0x15aec8=_0x48c408;return JSON[_0x15aec8(0x29a)](_0xa47050)[_0x15aec8(0x1e7)];}var re=(_0x41c9f2=>(_0x41c9f2[_0x48c408(0x3a7)]=_0x48c408(0x3a7),_0x41c9f2[_0x48c408(0x38a)]='PERMISSION_DENIED',_0x41c9f2['CONFLICT']='CONFLICT',_0x41c9f2[_0x48c408(0x11a)]=_0x48c408(0x11a),_0x41c9f2[_0x48c408(0x1a1)]=_0x48c408(0x1a1),_0x41c9f2[_0x48c408(0x32b)]='SOCKET_FAILED_RETRY',_0x41c9f2[_0x48c408(0xb7)]=_0x48c408(0xb7),_0x41c9f2[_0x48c408(0x1cf)]=_0x48c408(0x1cf),_0x41c9f2))(re||{});class ve{constructor(){var _0x31e78d=_0x48c408;D(this,_0x31e78d(0x114),new _0x2e504e()),D(this,_0x31e78d(0xeb),this[_0x31e78d(0x114)][_0x31e78d(0xe4)]());}[_0x48c408(0x371)](_0x359393){var _0xe2653b=_0x48c408;this[_0xe2653b(0x114)][_0xe2653b(0x22a)](_0x359393);}}class mi{constructor(){var _0x14bce8=_0x48c408;D(this,_0x14bce8(0xc8),new _0x2e504e()),D(this,'commentUpdate$',this['_commentUpdate$']['asObservable']());}[_0x48c408(0x34e)](_0x1d2d14){var _0x144b58=_0x48c408;this[_0x144b58(0xc8)][_0x144b58(0x22a)](_0x1d2d14);}}var Ps=Object['getOwnPropertyDescriptor'],ws=(_0x5be6cb,_0x208c87,_0x3adc31,_0x4ccd4c)=>{for(var _0x42a01b=_0x4ccd4c>0x1?void 0x0:_0x4ccd4c?Ps(_0x208c87,_0x3adc31):_0x208c87,_0x3eecbd=_0x5be6cb['length']-0x1,_0x177adc;_0x3eecbd>=0x0;_0x3eecbd--)(_0x177adc=_0x5be6cb[_0x3eecbd])&&(_0x42a01b=_0x177adc(_0x42a01b)||_0x42a01b);return _0x42a01b;},jt=(_0x15acba,_0x52e8e3)=>(_0x17af95,_0x33b905)=>_0x52e8e3(_0x17af95,_0x33b905,_0x15acba);let Pe=class extends _0x4a1af2{constructor(_0x4c4030,_0x4b4ecc){var _0x6dfc9b=_0x48c408;super(),D(this,'_roomMembers',new Map()),D(this,_0x6dfc9b(0x1e8),new _0x2e504e()),(this['_univerInstanceService']=_0x4c4030,this[_0x6dfc9b(0x359)]=_0x4b4ecc,this[_0x6dfc9b(0xdb)](_0x5f1d4a(this[_0x6dfc9b(0xd2)][_0x6dfc9b(0x196)](_0x404af9[_0x6dfc9b(0x2eb)])[_0x6dfc9b(0xa9)](_0x51ecb1(_0x22496e=>_0x22496e['getUnitId']())),this['_univerInstanceService'][_0x6dfc9b(0x196)](_0x404af9[_0x6dfc9b(0x33a)])[_0x6dfc9b(0xa9)](_0x51ecb1(_0x5c4287=>_0x5c4287[_0x6dfc9b(0x140)]())),this[_0x6dfc9b(0xd2)]['getTypeOfUnitDisposed$'](_0x404af9[_0x6dfc9b(0x3a5)])['pipe'](_0x51ecb1(_0x130f60=>_0x130f60[_0x6dfc9b(0x140)]())))[_0x6dfc9b(0x1df)](_0x42c185=>this[_0x6dfc9b(0x39a)](_0x42c185))));}[_0x48c408(0x391)](_0xdf17aa){var _0x4642ef=_0x48c408;return this[_0x4642ef(0x363)][_0x4642ef(0x1d8)](_0xdf17aa)?_0x5535f2(this['_roomMembers'][_0x4642ef(0x39e)](_0xdf17aa)):this[_0x4642ef(0x1e8)][_0x4642ef(0xa9)](_0x51ecb1(_0x5af79a=>{var _0x464c67=_0x4642ef;if(_0x5af79a===_0xdf17aa)return this[_0x464c67(0x363)][_0x464c67(0x39e)](_0x5af79a);}));}[_0x48c408(0x2e6)](_0x51b973){var _0x1388af=_0x48c408;this['_userManagerService'][_0x1388af(0x2e6)](_0x51b973);}[_0x48c408(0x1e9)](){var _0x316bdd=_0x48c408;return this[_0x316bdd(0x359)][_0x316bdd(0x1e9)]();}[_0x48c408(0xec)](_0xdaac22,_0x593fdb){var _0x3f2b9e=_0x48c408;let _0x2500ca=this[_0x3f2b9e(0x363)][_0x3f2b9e(0x39e)](_0xdaac22);_0x2500ca||(_0x2500ca=new Ls(),this[_0x3f2b9e(0x363)][_0x3f2b9e(0x351)](_0xdaac22,_0x2500ca),this[_0x3f2b9e(0x1e8)][_0x3f2b9e(0x22a)](_0xdaac22)),_0x2500ca[_0x3f2b9e(0xec)](_0x593fdb);}['removeMember'](_0x2ec6e6,_0x1ea4f9){var _0x42df60=_0x48c408;const _0x493b4f=this[_0x42df60(0x363)]['get'](_0x2ec6e6);_0x493b4f&&_0x493b4f[_0x42df60(0x30f)](_0x1ea4f9);}['getRoom'](_0x1f88db){return this['_roomMembers']['get'](_0x1f88db);}[_0x48c408(0x33d)](_0x84c1f3,_0x1df084){var _0x55f999=_0x48c408;const _0x8d97e2=this[_0x55f999(0x363)][_0x55f999(0x39e)](_0x84c1f3);if(_0x8d97e2)return _0x8d97e2[_0x55f999(0x33d)](_0x1df084);}[_0x48c408(0x39a)](_0x557266){var _0x29f67f=_0x48c408;const _0x1e4f29=this['_roomMembers']['get'](_0x557266);_0x1e4f29&&(_0x1e4f29[_0x29f67f(0x2e8)](),this['_roomMembers'][_0x29f67f(0x36e)](_0x557266));}[_0x48c408(0x2e8)](){var _0x209fbc=_0x48c408;this['_roomMembers'][_0x209fbc(0x3a3)](_0x4329a9=>_0x4329a9[_0x209fbc(0x2e8)]()),this['_roomMembers'][_0x209fbc(0x10d)](),this[_0x209fbc(0x1e8)][_0x209fbc(0x17a)]();}};Pe=ws([jt(0x0,_0xad3f4d),jt(0x1,_0x27d190(_0x487871))],Pe);class Ls extends _0x4a1af2{constructor(){var _0x715707=_0x48c408;super(...arguments),D(this,_0x715707(0x205),new Map()),D(this,_0x715707(0x93),new _0x228d76(this[_0x715707(0x205)])),D(this,_0x715707(0x309),this['_members$'][_0x715707(0xe4)]());}[_0x48c408(0x2e8)](){var _0x5033d2=_0x48c408;this[_0x5033d2(0x205)][_0x5033d2(0x10d)]();}[_0x48c408(0xec)](_0x40a3ef){var _0x2856ea=_0x48c408;this[_0x2856ea(0x205)][_0x2856ea(0x351)](_0x40a3ef['memberID'],_0x40a3ef),this[_0x2856ea(0x242)]();}['removeMember'](_0x38d96b){var _0x3bc5cb=_0x48c408;this[_0x3bc5cb(0x205)][_0x3bc5cb(0x36e)](_0x38d96b);}[_0x48c408(0x33d)](_0x308e7c){var _0x584ca1=_0x48c408;return this['_members'][_0x584ca1(0x39e)](_0x308e7c);}['getAllMembers'](){var _0x3ea9b5=_0x48c408;return Array['from'](this['_members'][_0x3ea9b5(0x378)]());}[_0x48c408(0x242)](){var _0x26f78c=_0x48c408;this['_members$'][_0x26f78c(0x22a)](this['_members']);}}var Ms=Object[_0x48c408(0x2d3)],xs=(_0x49be8,_0x53831e,_0x4cb378,_0x4ecdf5)=>{var _0x416a44=_0x48c408;for(var _0x82010e=_0x4ecdf5>0x1?void 0x0:_0x4ecdf5?Ms(_0x53831e,_0x4cb378):_0x53831e,_0x2d8853=_0x49be8[_0x416a44(0x1e7)]-0x1,_0x55d4ee;_0x2d8853>=0x0;_0x2d8853--)(_0x55d4ee=_0x49be8[_0x2d8853])&&(_0x82010e=_0x55d4ee(_0x82010e)||_0x82010e);return _0x82010e;},Oe=(_0x4c3dfb,_0x2b254e)=>(_0x301888,_0x4e6def)=>_0x2b254e(_0x301888,_0x4e6def,_0x4c3dfb),me=(_0x14cf2e=>(_0x14cf2e[_0x14cf2e[_0x48c408(0x387)]=0x0]='IDLE',_0x14cf2e[_0x14cf2e[_0x48c408(0x1e6)]=0x1]=_0x48c408(0x1e6),_0x14cf2e[_0x14cf2e[_0x48c408(0x126)]=0x2]=_0x48c408(0x126),_0x14cf2e[_0x14cf2e[_0x48c408(0x257)]=0x3]=_0x48c408(0x257),_0x14cf2e))(me||{});const Vt={[Ee[_0x48c408(0x299)]]:_0x48c408(0xa7),[Ee[_0x48c408(0x195)]]:_0x48c408(0x1f8),[Ee['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[Ee[_0x48c408(0x2a3)]]:_0x48c408(0x2b5),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x48c408(0x201)};let It=class extends _0x4e8d87{constructor(_0xd647c5,_0x571bc8,_0x37d709,_0x4968cb,_0x278514,_0x45f19a,_0x384561,_0x198fb5){var _0x2f87d0=_0x48c408;super(),D(this,_0x2f87d0(0x1e3),new _0x228d76(0x0)),D(this,_0x2f87d0(0x395),this[_0x2f87d0(0x1e3)]['asObservable']()),D(this,_0x2f87d0(0x114),new _0x2e504e()),D(this,_0x2f87d0(0xeb),this[_0x2f87d0(0x114)][_0x2f87d0(0xe4)]()),D(this,_0x2f87d0(0x21d)),D(this,_0x2f87d0(0x17e)),D(this,_0x2f87d0(0x142)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x2f87d0(0x1b8),null),(this['_unitID']=_0xd647c5,this[_0x2f87d0(0x3a4)]=_0x37d709,this[_0x2f87d0(0x117)]=_0x4968cb,this[_0x2f87d0(0x350)]=_0x278514,this[_0x2f87d0(0xa3)]=_0x45f19a,this['_collaborationUIEventService']=_0x384561,this[_0x2f87d0(0x13c)]=_0x198fb5,this[_0x2f87d0(0x26f)]=!!this[_0x2f87d0(0x13c)],_0x571bc8['pipe'](_0x3ee046(this[_0x2f87d0(0x37d)]))[_0x2f87d0(0x1df)](_0x4d5bbf=>{var _0x4e76b2=_0x2f87d0,_0x5b7fce;typeof _0x4d5bbf>'u'||(this[_0x4e76b2(0x21d)]=_0x4d5bbf,_0x4d5bbf?(this[_0x4e76b2(0x1ef)](_0x4d5bbf),this[_0x4e76b2(0x17e)]=_0x4d5bbf[_0x4e76b2(0x19a)][_0x4e76b2(0x1df)](_0x43a2e6=>{var _0x46a847=_0x4e76b2;_0x43a2e6[_0x46a847(0x2ce)]===this[_0x46a847(0x26d)]&&this[_0x46a847(0x1c5)](_0x43a2e6);})):(this[_0x4e76b2(0x28d)](),this['_sessionStatus$'][_0x4e76b2(0x22a)](0x2),(_0x5b7fce=this['_socketMessageSubscription'])==null||_0x5b7fce[_0x4e76b2(0x1fd)](),this['_socketMessageSubscription']=null));}));}get['sessionStatus'](){var _0x22be31=_0x48c408;return this['_sessionStatus$'][_0x22be31(0x21e)]();}[_0x48c408(0x10e)](){var _0x5e72b5=_0x48c408,_0x22f94d,_0x46e293;return(_0x46e293=(_0x22f94d=this[_0x5e72b5(0x21d)])==null?void 0x0:_0x22f94d[_0x5e72b5(0x358)])!=null?_0x46e293:null;}[_0x48c408(0x2e8)](){var _0x1d6192=_0x48c408;super[_0x1d6192(0x2e8)](),this[_0x1d6192(0xe1)](),this['dispose$'][_0x1d6192(0x22a)](),this[_0x1d6192(0x37d)][_0x1d6192(0x17a)]();}[_0x48c408(0xe1)](){var _0xb70335=_0x48c408,_0x84888f,_0x24e218;this[_0xb70335(0x28d)](),(_0x84888f=this[_0xb70335(0x21d)])==null||_0x84888f[_0xb70335(0x235)]({'cmd':j['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x24e218=this[_0xb70335(0x21d)])==null||_0x24e218[_0xb70335(0xe1)](),this['_event$']['complete'](),this[_0xb70335(0x1e3)][_0xb70335(0x17a)]();}[_0x48c408(0x1c5)](_0x5074e0){var _0x1f8795=_0x48c408;_0x5074e0[_0x1f8795(0x316)]===j[_0x1f8795(0x138)]?this[_0x1f8795(0x1d5)](_0x5074e0):_0x5074e0[_0x1f8795(0x316)]===j[_0x1f8795(0x32c)]&&this[_0x1f8795(0x20e)](_0x5074e0);}[_0x48c408(0x1ef)](_0xf74a53){var _0x2eeb4c=_0x48c408;this[_0x2eeb4c(0x1e3)][_0x2eeb4c(0x22a)](0x1),_0xf74a53[_0x2eeb4c(0x235)]({'cmd':j[_0x2eeb4c(0x138)],'routeKey':this[_0x2eeb4c(0x26d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x2eeb4c(0x26d)]}]}});}[_0x48c408(0x1d5)](_0x459601){var _0x5a6a80=_0x48c408,_0x50ee3c;if(_0x459601[_0x5a6a80(0x2b7)]in Vt){this[_0x5a6a80(0x146)][_0x5a6a80(0x371)]({'id':re[_0x5a6a80(0x1a1)],'data':Vt[_0x459601[_0x5a6a80(0x2b7)]]}),this[_0x5a6a80(0x1e3)][_0x5a6a80(0x22a)](0x2);return;}this[_0x5a6a80(0x1e3)][_0x5a6a80(0x22a)](0x3);const _0x270a32=(_0x50ee3c=_0x459601['data'][_0x5a6a80(0x304)][this[_0x5a6a80(0x26d)]])==null?void 0x0:_0x50ee3c['members'];_0x270a32&&_0x270a32[_0x5a6a80(0x3a3)](_0x5cd36c=>this['_memberService'][_0x5a6a80(0xec)](this[_0x5a6a80(0x26d)],_0x5cd36c));}['_onRecvEvent'](_0x1ee896){var _0x400a33=_0x48c408;try{const _0x4fbbe7=_0x1ee896['data'];switch(_0x4fbbe7[_0x400a33(0x369)]){case _0x249d85['USERS_ENTER']:this[_0x400a33(0xfe)](_0x4fbbe7),this[_0x400a33(0x114)]['next'](_0x4fbbe7);break;case _0x249d85[_0x400a33(0x32a)]:this[_0x400a33(0x19c)](_0x4fbbe7),this[_0x400a33(0x114)]['next'](_0x4fbbe7);break;case _0x249d85[_0x400a33(0x28e)]:case _0x249d85[_0x400a33(0x104)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x400a33(0x1b7)](),this['_event$'][_0x400a33(0x22a)](_0x4fbbe7);break;case _0x249d85[_0x400a33(0x2b0)]:this[_0x400a33(0x3a4)][_0x400a33(0x286)](_0x400a33(0x136)+JSON[_0x400a33(0x29a)](_0x4fbbe7)),this[_0x400a33(0x114)][_0x400a33(0x22a)](_0x4fbbe7);break;case _0x249d85[_0x400a33(0x194)]:this['_commentService'][_0x400a33(0x34e)](_0x4fbbe7[_0x400a33(0x356)]),this['_event$'][_0x400a33(0x22a)](_0x4fbbe7);break;default:this[_0x400a33(0x114)]['next'](_0x4fbbe7);}}catch(_0x111ef7){this['_logService'][_0x400a33(0x286)](_0x111ef7,_0x1ee896);}}[_0x48c408(0xfe)](_0x518291){var _0x447c91=_0x48c408;this[_0x447c91(0x350)][_0x447c91(0xec)](this[_0x447c91(0x26d)],_0x518291[_0x447c91(0x356)]);}[_0x48c408(0x19c)](_0x595982){var _0x4d5807=_0x48c408;this[_0x4d5807(0x350)]['removeMember'](this[_0x4d5807(0x26d)],_0x595982[_0x4d5807(0x356)][_0x4d5807(0x358)]);}async[_0x48c408(0x235)](_0x2c8c9d,_0x464e1){var _0x4da9e8=_0x48c408;if(this[_0x4da9e8(0x240)]!==0x3||!this[_0x4da9e8(0x21d)])throw new Error(_0x4da9e8(0x190));try{_0x2c8c9d[_0x4da9e8(0x369)]===_0x249d85[_0x4da9e8(0x161)]&&(this[_0x4da9e8(0x36a)](),this[_0x4da9e8(0x1aa)](_0x2c8c9d)),this[_0x4da9e8(0x21d)][_0x4da9e8(0x235)]({'cmd':j[_0x4da9e8(0x2ef)],'routeKey':_0x464e1,'routeType':'','data':_0x2c8c9d});}catch(_0x3381ce){this[_0x4da9e8(0x3a4)]['error'](_0x3381ce);}}['_scheduleCollaborationTimeoutTimer'](){var _0x2b5043=_0x48c408,_0x53aea7;this[_0x2b5043(0x142)]=setTimeout(()=>{var _0x3fa6d9=_0x2b5043;this['_collaborationTimeoutTimer']=null,this[_0x3fa6d9(0x146)][_0x3fa6d9(0x371)]({'id':re[_0x3fa6d9(0x1cf)]});},(_0x53aea7=this[_0x2b5043(0x117)][_0x2b5043(0x366)](fi))!=null?_0x53aea7:vi);}[_0x48c408(0x1b7)](){var _0x2c5613=_0x48c408;this[_0x2c5613(0x142)]&&(clearTimeout(this[_0x2c5613(0x142)]),this[_0x2c5613(0x142)]=null);}[_0x48c408(0x1aa)](_0x3eda32){var _0x552366=_0x48c408;if(!this[_0x552366(0x26f)])return;const {data:_0x38ee70}=_0x3eda32,{unitID:_0x2e996f,changeset:_0x5b2161}=_0x38ee70,{mutations:_0xdb03f6,type:_0x3bd61c}=_0x5b2161;this[_0x552366(0x1b8)]={'unitId':_0x2e996f,'type':_0x3bd61c,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':As(_0xdb03f6)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x443645=_0x48c408;if(this[_0x443645(0x26f)]){if(!this['_telemetryInfo']){this[_0x443645(0x3a4)][_0x443645(0x286)](_0x443645(0x26c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x443645(0x393)]=performance['now'](),this['_telemetryInfo'][_0x443645(0x2ee)]=this[_0x443645(0x1b8)][_0x443645(0x393)]-this[_0x443645(0x1b8)][_0x443645(0x1f5)],this[_0x443645(0x13c)][_0x443645(0x131)](Us,this[_0x443645(0x1b8)]),this[_0x443645(0x1b8)]=null;}}[_0x48c408(0x28d)](){var _0x23f9b3=_0x48c408;this[_0x23f9b3(0x1b8)]=null;}};It=xs([Oe(0x2,_0x5532d1),Oe(0x3,_0x50caa9),Oe(0x4,_0x27d190(Pe)),Oe(0x5,_0x27d190(mi)),Oe(0x6,_0x27d190(ve)),Oe(0x7,_0x441adc(_0x238383))],It);const X=_0xe9acff(_0x48c408(0x364));function Ar(_0x46a1a9){return'unit-cache-'+_0x46a1a9;}var ks=Object[_0x48c408(0x2d3)],$s=(_0x10c67c,_0x3faaad,_0x5e1ba8,_0x12dc3d)=>{var _0x4452cc=_0x48c408;for(var _0x2fc2ad=_0x12dc3d>0x1?void 0x0:_0x12dc3d?ks(_0x3faaad,_0x5e1ba8):_0x3faaad,_0x2cf486=_0x10c67c[_0x4452cc(0x1e7)]-0x1,_0x5d7dbc;_0x2cf486>=0x0;_0x2cf486--)(_0x5d7dbc=_0x10c67c[_0x2cf486])&&(_0x2fc2ad=_0x5d7dbc(_0x2fc2ad)||_0x2fc2ad);return _0x2fc2ad;},dt=(_0x1bfac1,_0x1a759a)=>(_0x18ad20,_0x20abec)=>_0x1a759a(_0x18ad20,_0x20abec,_0x1bfac1);function Hs(_0x3062ee){var _0x407fa8=_0x48c408;const {unitID:_0x1c3cea,mutations:_0x18fc5a}=_0x3062ee;return{'unitId':_0x1c3cea,'subUnitId':_0x18fc5a[_0x407fa8(0x1e7)]>0x0?_0x18fc5a[0x0]['params']['subUnitId']:null};}let st=class{constructor(_0x46fab3,_0x5bfa05,_0x1e9fd3){var _0x5c9691=_0x48c408;this[_0x5c9691(0x3a0)]=_0x46fab3,this[_0x5c9691(0x318)]=_0x5bfa05,this[_0x5c9691(0xba)]=_0x1e9fd3;}[_0x48c408(0x341)](_0x297467){var _0x4d8ae7=_0x48c408,_0x263af6,_0x4bfbcd,_0x2c03e2,_0x200332;const _0xd63fa8=this[_0x4d8ae7(0x3a0)][_0x4d8ae7(0x39e)](_0x593631),{unitId:_0x4ed8fd,subUnitId:_0x3af98a}=Hs(_0x297467),_0x3e8239=_0xd63fa8==null?void 0x0:_0xd63fa8[_0x4d8ae7(0x29c)](_0x4ed8fd)[_0x4d8ae7(0x31b)](),_0x50a078=(_0x4bfbcd=(_0x263af6=this[_0x4d8ae7(0xba)][_0x4d8ae7(0x334)](_0x4ed8fd))==null?void 0x0:_0x263af6['getActiveSheet']())==null?void 0x0:_0x4bfbcd[_0x4d8ae7(0x38c)]();if(_0x3e8239[_0x4d8ae7(0x1e7)]===0x0||!_0x4ed8fd||!_0x3af98a)return;const _0x16f5c9=[{'id':_0xcbc139['id'],'params':{'unitId':_0x4ed8fd,'subUnitId':_0x50a078,'selections':_0x33407c[_0x4d8ae7(0x153)](_0x3e8239)}}],_0x10f3e2=this[_0x4d8ae7(0x318)][_0x4d8ae7(0x23d)](_0x297467,_0x16f5c9);if(!_0x117f2d(_0x10f3e2))throw _0x10f3e2[_0x4d8ae7(0x286)];const _0x21ce74=(_0x200332=(_0x2c03e2=_0x10f3e2[_0x4d8ae7(0x2c5)][0x0])==null?void 0x0:_0x2c03e2[_0x4d8ae7(0x360)])==null?void 0x0:_0x200332[_0x4d8ae7(0x305)];if(Array[_0x4d8ae7(0x24c)](_0x21ce74)&&_0x21ce74['length']){if(_0x21ce74['length']===_0x16f5c9[0x0]['params'][_0x4d8ae7(0x305)][_0x4d8ae7(0x1e7)]&&_0x21ce74[_0x4d8ae7(0x31c)]((_0x5e571c,_0x30304f)=>_0x1287d3[_0x4d8ae7(0xb5)](_0x5e571c['range'],_0x16f5c9[0x0][_0x4d8ae7(0x360)][_0x4d8ae7(0x305)][_0x30304f][_0x4d8ae7(0xe0)])))return;this[_0x4d8ae7(0x3a0)]['get'](_0x2b6b9d)['executeCommand'](_0xcbc139['id'],{'unitId':_0x4ed8fd,'subUnitId':_0x50a078,'selections':_0x21ce74});}}};st=$s([dt(0x0,_0x27d190(_0x1b9850)),dt(0x1,_0x15141f),dt(0x2,_0xad3f4d)],st);const ht=_0xe9acff(_0x48c408(0x1b6));var Ii=(_0x2808ab=>(_0x2808ab[_0x2808ab[_0x48c408(0x151)]=0x0]=_0x48c408(0x151),_0x2808ab[_0x2808ab[_0x48c408(0x2e0)]=0x1]=_0x48c408(0x2e0),_0x2808ab))(Ii||{});const K=_0x48c408(0x267),Bs={};function Fs(_0x1b24cc){var _0x5cf6f6=_0x48c408,_0x198bff;return!!((_0x198bff=_0x1b24cc[_0x5cf6f6(0x360)])!=null&&_0x198bff[_0x5cf6f6(0x24e)]);}const js=new Set([_0x1d77cb['id']]);function Gt(_0x35364e,_0x941e74,_0x18e3be,_0x49e278,_0x370065){var _0x2fcce9=_0x48c408,_0x4272cb,_0x640728,_0x4d4cdc,_0x24c35c;const _0x3e6e6a=[];for(const _0x38a591 of _0x35364e){if(js[_0x2fcce9(0x1d8)](_0x38a591['id'])){if(_0x3e6e6a[_0x2fcce9(0x1e7)]>0x0)break;_0x3e6e6a['push'](_0x38a591);break;}if(Fs(_0x38a591)){if(_0x3e6e6a['length']>0x0)break;_0x3e6e6a[_0x2fcce9(0x1a4)](_0x38a591);break;}_0x3e6e6a[_0x2fcce9(0x1a4)](_0x38a591);}const _0x4f3f1c=(_0x640728=(_0x4272cb=_0x370065[_0x2fcce9(0x1e9)]())==null?void 0x0:_0x4272cb[_0x2fcce9(0xd8)])!=null?_0x640728:_0x2fcce9(0x1ad),_0x214b79=(_0x24c35c=(_0x4d4cdc=_0x370065[_0x2fcce9(0x1e9)]())==null?void 0x0:_0x4d4cdc[_0x2fcce9(0x358)])!=null?_0x24c35c:_0x2fcce9(0x1ad);return{'changeset':{'unitID':_0x941e74,'type':_0x3ca768(_0x18e3be[_0x2fcce9(0x348)](_0x941e74)),'baseRev':_0x49e278[_0x2fcce9(0x2c4)](_0x941e74),'revision':0x0,'userID':_0x4f3f1c,'memberID':_0x214b79,'mutations':_0x3e6e6a},'pendingMutations':_0x35364e[_0x2fcce9(0x129)](_0x3e6e6a[_0x2fcce9(0x1e7)])};}function Vs(_0x1b8309,_0x5db4ef,_0x39072b,_0x14b579,_0x5f44db){var _0x7bd66c=_0x48c408,_0xce04c6,_0x22351a,_0x48e7ff,_0x532164;const _0x583954=[_0x1b8309[_0x7bd66c(0xf4)]((_0x3ca852,_0x304d14)=>{var _0xafdb22=_0x7bd66c,_0x4ce9f8;const {id:_0x1918d5}=_0x3ca852,{id:_0x2c03ed,type:_0x44f79d}=_0x304d14,_0x5bd113=(_0x4ce9f8=_0x3ca852[_0xafdb22(0x360)])!=null?_0x4ce9f8:{'actions':null},_0x20a805=_0x304d14[_0xafdb22(0x360)];if(_0x1918d5&&_0x1918d5!==_0x2c03ed)throw new Error(_0xafdb22(0x2db)+_0x1918d5+_0xafdb22(0x222)+_0x2c03ed+'.');return{..._0x3ca852,'id':_0x2c03ed,'type':_0x44f79d,'params':{'unitId':_0x20a805[_0xafdb22(0x14d)],'textRanges':_0x20a805[_0xafdb22(0x175)],'actions':_0x167df5[_0xafdb22(0x123)](_0x5bd113['actions'],_0x20a805[_0xafdb22(0x15e)])}};},{})],_0x5cb60d=(_0x22351a=(_0xce04c6=_0x5f44db[_0x7bd66c(0x1e9)]())==null?void 0x0:_0xce04c6['userID'])!=null?_0x22351a:_0x7bd66c(0x1ad),_0x4f1488=(_0x532164=(_0x48e7ff=_0x5f44db[_0x7bd66c(0x1e9)]())==null?void 0x0:_0x48e7ff[_0x7bd66c(0x358)])!=null?_0x532164:_0x7bd66c(0x1ad);return{'changeset':{'unitID':_0x5db4ef,'type':_0x3ca768(_0x39072b[_0x7bd66c(0x348)](_0x5db4ef)),'baseRev':_0x14b579['getCurrentRevOfUnit'](_0x5db4ef),'revision':0x0,'userID':_0x5cb60d,'memberID':_0x4f1488,'mutations':_0x583954},'pendingMutations':[]};}function Si(_0x3ed91a,_0x17fe65){var _0xf4e9c8=_0x48c408;const _0x575131=new _0x451a8e(0x1);return setTimeout(()=>_0x575131[_0xf4e9c8(0x22a)](_0x17fe65),_0x3ed91a),_0x575131['asObservable']()[_0xf4e9c8(0xa9)](_0x22c840(0x1));}var Gs=Object[_0x48c408(0x2d3)],Se=(_0x4f4e6e,_0x5ecbce,_0x3a0405,_0x2d7ae9)=>{for(var _0x55fc73=_0x2d7ae9>0x1?void 0x0:_0x2d7ae9?Gs(_0x5ecbce,_0x3a0405):_0x5ecbce,_0x14cc22=_0x4f4e6e['length']-0x1,_0x44eb42;_0x14cc22>=0x0;_0x14cc22--)(_0x44eb42=_0x4f4e6e[_0x14cc22])&&(_0x55fc73=_0x44eb42(_0x55fc73)||_0x55fc73);return _0x55fc73;},w=(_0x4fc41b,_0x2a301f)=>(_0x1cf92e,_0x2c9db8)=>_0x2a301f(_0x1cf92e,_0x2c9db8,_0x4fc41b),gi=(_0x310a56=>(_0x310a56[_0x48c408(0x293)]=_0x48c408(0x314),_0x310a56[_0x48c408(0x1ee)]='synced',_0x310a56[_0x48c408(0x2d0)]=_0x48c408(0x2a6),_0x310a56[_0x48c408(0x11d)]=_0x48c408(0x352),_0x310a56['AWAITING_WITH_PENDING']=_0x48c408(0x212),_0x310a56[_0x48c408(0x281)]='fetch_missing',_0x310a56['CONFLICT']='conflict',_0x310a56['OFFLINE']='offline',_0x310a56))(gi||{});const Ti=0x4e20,Oi=0x2bf20;class ge{constructor(_0x13ab71,_0x1d1ffe,_0x5e8ef6,_0x7dfcda,_0x284bb6,_0x5ec80c,_0x5d405b,_0x581f17,_0x3a5ad4){var _0x5c626e=_0x48c408;D(this,'_awaitingChangeset',null),D(this,_0x5c626e(0x33b),[]),(this[_0x5c626e(0x1b2)]=_0x13ab71,this[_0x5c626e(0x362)]=_0x1d1ffe,this[_0x5c626e(0x17c)]=_0x284bb6,this[_0x5c626e(0x98)]=_0x5ec80c,this[_0x5c626e(0x18e)]=_0x5d405b,this[_0x5c626e(0x1ca)]=_0x581f17,this[_0x5c626e(0x1ea)]=_0x3a5ad4,this[_0x5c626e(0x24d)]=_0x5e8ef6,this['_pendingMutations']=_0x7dfcda);}[_0x48c408(0x20c)](_0x1f1857){var _0xeb3990=_0x48c408;const _0x54bf6c=this[_0xeb3990(0x1ca)][_0xeb3990(0x2c4)](this[_0xeb3990(0x1b2)]);return _0x1f1857[_0xeb3990(0x25f)]>_0x54bf6c+0x1?(this[_0xeb3990(0x17c)][_0xeb3990(0x1f7)]({'from':_0x54bf6c,'to':_0x1f1857[_0xeb3990(0x25f)]-0x1}),!0x0):!0x1;}[_0x48c408(0x2be)](_0x3eb91e){var _0x8a8e78=_0x48c408;this['_undoRedoService']['transformUndoRedo'](this[_0x8a8e78(0x1b2)],_0x3eb91e);}[_0x48c408(0x255)](_0x267e65){var _0x5020e8=_0x48c408,_0x47c745,_0x6ab46b;(_0x6ab46b=(_0x47c745=this[_0x5020e8(0x17c)])[_0x5020e8(0x249)])==null||_0x6ab46b[_0x5020e8(0x1c3)](_0x47c745,_0x267e65);}[_0x48c408(0x188)](_0x1e4418){var _0xbcb7a7=_0x48c408,_0x414a57,_0xb178e;return(_0xb178e=(_0x414a57=this[_0xbcb7a7(0x17c)])[_0xbcb7a7(0x2d7)])==null?void 0x0:_0xb178e[_0xbcb7a7(0x1c3)](_0x414a57,_0x1e4418);}[_0x48c408(0x2e4)](_0x289487){var _0x22964b=_0x48c408,_0x2ee28f,_0x110e86;return(_0x110e86=(_0x2ee28f=this[_0x22964b(0x17c)])[_0x22964b(0x13b)])==null?void 0x0:_0x110e86[_0x22964b(0x1c3)](_0x2ee28f,_0x289487);}[_0x48c408(0x36b)](_0x2cd955){var _0x16885e=_0x48c408,_0x5764ec,_0x1e7be0,_0x5398a3;return(_0x5398a3=(_0x1e7be0=(_0x5764ec=this['_handler'])[_0x16885e(0xfb)])==null?void 0x0:_0x1e7be0[_0x16885e(0x1c3)](_0x5764ec,_0x2cd955))!=null?_0x5398a3:_0x2cd955;}[_0x48c408(0x302)](_0x30b983){var _0x2f649a=_0x48c408,_0x8f28ad,_0xb589c7,_0x49fd5c;return(_0x49fd5c=(_0xb589c7=(_0x8f28ad=this[_0x2f649a(0x17c)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0xb589c7['call'](_0x8f28ad,_0x30b983))!=null?_0x49fd5c:_0x30b983;}[_0x48c408(0x342)](_0x763687){var _0x2866ed=_0x48c408,_0x25092b,_0x3d5a2f;if(this[_0x2866ed(0x362)]===Q[_0x2866ed(0x33a)]){const {unitID:_0x190e0e,mutations:_0xcd356b,memberID:_0x51a45a}=_0x763687,_0x488c56=_0xcd356b[_0x2866ed(0x1e7)]>0x0?_0xcd356b[0x0][_0x2866ed(0x360)][_0x2866ed(0x175)]:[];Array[_0x2866ed(0x24c)](_0x488c56)&&_0x488c56[_0x2866ed(0x1e7)]>0x0&&((_0x3d5a2f=(_0x25092b=this[_0x2866ed(0x17c)])[_0x2866ed(0x163)])==null||_0x3d5a2f['call'](_0x25092b,{'unitID':_0x190e0e,'memberID':_0x51a45a,'textRanges':_0x488c56}));}}['_updateLocalCache'](){var _0x3f122d=_0x48c408,_0x5ecf5f;(_0x5ecf5f=this[_0x3f122d(0x1ea)])==null||_0x5ecf5f[_0x3f122d(0x339)](this[_0x3f122d(0x1b2)],this[_0x3f122d(0x362)],this[_0x3f122d(0x24d)],this[_0x3f122d(0x33b)]);}['_getCurrentRevision'](){var _0x468343=_0x48c408;return this[_0x468343(0x1ca)][_0x468343(0x2c4)](this['unitID']);}[_0x48c408(0x15a)](){var _0x55d699=_0x48c408;this[_0x55d699(0x1ca)][_0x55d699(0x233)](this[_0x55d699(0x1b2)]);}[_0x48c408(0xa4)](_0x1c5888){var _0x20cd12=_0x48c408,_0x2e0776;let _0x1b3809=this['_transformRemoteChangesetByIMECache'](_0x1c5888);_0x1b3809=this[_0x20cd12(0x302)](_0x1b3809);const _0x17699d=_0x4a634b(_0x1b3809[_0x20cd12(0x187)],this[_0x20cd12(0x98)],{'fromCollab':!0x0});if(!_0x17699d[_0x20cd12(0x345)])throw _0x17699d[_0x20cd12(0x286)]instanceof Error?_0x17699d[_0x20cd12(0x286)]:new Error((_0x2e0776=_0x17699d['error'])!=null?_0x2e0776:_0x20cd12(0x122));this[_0x20cd12(0x188)](_0x1b3809),this[_0x20cd12(0x2e4)](_0x1b3809),this['_transformUndoredo'](_0x1c5888),this[_0x20cd12(0x255)](_0x1b3809),this[_0x20cd12(0x342)](_0x1b3809),this['_incrementRevisionNumber']();}}let be=class extends ge{constructor(_0x935e11,_0x426efe,_0x457454,_0x1f792f,_0x578f48,_0x519b59,_0x5779d2,_0x5431e0,_0x271c93,_0x2d33ed){var _0x373359=_0x48c408;super(_0x935e11,_0x426efe,null,[],_0x457454,_0x5779d2,_0x519b59,_0x1f792f,_0x2d33ed),D(this,_0x373359(0xfd),_0x373359(0x179)),(this['_injector']=_0x578f48,this['_logService']=_0x5431e0,this[_0x373359(0x318)]=_0x271c93,this[_0x373359(0x296)]=_0x2d33ed);}[_0x48c408(0x38d)](_0xb2b5b){var _0xdbd8cd=_0x48c408;const _0x4420f7=this[_0xdbd8cd(0x3a0)][_0xdbd8cd(0xbe)](ae,this[_0xdbd8cd(0x1b2)],this[_0xdbd8cd(0x362)],[_0xb2b5b],this[_0xdbd8cd(0x17c)]);return _0x4420f7['_schedule'](),_0x4420f7['_updateLocalCache'](),_0x4420f7;}[_0x48c408(0x379)](_0x47282e){var _0x2d1c0a=_0x48c408;if(this[_0x2d1c0a(0x20c)](_0x47282e))return this[_0x2d1c0a(0x3a0)][_0x2d1c0a(0xbe)](ee,this[_0x2d1c0a(0x1b2)],this[_0x2d1c0a(0x362)],null,[],null,[_0x47282e],this[_0x2d1c0a(0x17c)]);try{const _0x2d0344=this[_0x2d1c0a(0x318)][_0x2d1c0a(0x23d)](_0x47282e,[_0x1bf6d4]);if(_0x117f2d(_0x2d0344)){const {c1Prime:_0x24656e}=_0x2d0344;return this['_executeRemoteChangeset'](_0x24656e),this;}throw _0x2d0344[_0x2d1c0a(0x286)];}catch(_0x43d4b0){return this[_0x2d1c0a(0x3a4)][_0x2d1c0a(0x286)](_0x43d4b0),this['_onConflict'](!0x1);}}[_0x48c408(0x1ae)](_0x16967a){var _0xf5113=_0x48c408;return this['_injector'][_0xf5113(0xbe)](ue,this[_0xf5113(0x1b2)],this[_0xf5113(0x362)],null,[],this['_handler'],_0x16967a);}['onRemoteAck'](){var _0x434b14=_0x48c408;throw new Error(_0x434b14(0x39f));}[_0x48c408(0x92)](){var _0xb60d74=_0x48c408;throw new Error(_0xb60d74(0x2d2));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x46027a=_0x48c408;return this[_0x46027a(0x3a0)][_0x46027a(0xbe)](de,this[_0x46027a(0x1b2)],this[_0x46027a(0x362)],null,[],this[_0x46027a(0x17c)]);}[_0x48c408(0xa1)](){return this;}['resend'](){var _0x3bc704=_0x48c408;throw new Error(_0x3bc704(0xb4));}[_0x48c408(0x336)](){var _0x3ab836=_0x48c408;const _0x57d5db=this[_0x3ab836(0x1ca)][_0x3ab836(0x2c4)](this[_0x3ab836(0x1b2)]);return this['_handler'][_0x3ab836(0x1f7)]({'from':_0x57d5db,'to':0x0}),this[_0x3ab836(0x3a0)][_0x3ab836(0xbe)](ee,this[_0x3ab836(0x1b2)],this[_0x3ab836(0x362)],null,[],null,[],this[_0x3ab836(0x17c)]);}};be=Se([w(0x3,_0x27d190(_0x31494d)),w(0x4,_0x27d190(_0x1b9850)),w(0x5,_0x262d0e),w(0x6,_0x2b6b9d),w(0x7,_0x5532d1),w(0x8,_0x15141f),w(0x9,_0x441adc(X))],be);let ae=class extends ge{constructor(_0x1be88e,_0x218a2c,_0x50aea2,_0x5368df,_0x5dce3f,_0x2bc209,_0x4c2f56,_0x1364a1,_0x28f77b,_0x29c051,_0x49f02d,_0x12f558,_0x59e1cd,_0x436599){var _0x14117e=_0x48c408;super(_0x1be88e,_0x218a2c,null,_0x50aea2,_0x5368df,_0x28f77b,_0x59e1cd,_0x2bc209,_0x436599),D(this,'status',_0x14117e(0x2a6)),D(this,'_scheduleCompleteTimestamp',null),D(this,_0x14117e(0x12b),null),(this[_0x14117e(0x3a0)]=_0x5dce3f,this['_memberService']=_0x4c2f56,this[_0x14117e(0x3a4)]=_0x1364a1,this[_0x14117e(0x117)]=_0x29c051,this['_transformService']=_0x49f02d,this[_0x14117e(0xd2)]=_0x12f558);}[_0x48c408(0x38d)](_0x4925eb){var _0x13e694=_0x48c408;return this[_0x13e694(0x33b)][_0x13e694(0x1a4)](_0x4925eb),this[_0x13e694(0x2ac)](),this;}[_0x48c408(0x379)](_0x5e3787){var _0x1df781=_0x48c408;if(this[_0x1df781(0x20c)](_0x5e3787))return this[_0x1df781(0xfa)](),this[_0x1df781(0x3a0)][_0x1df781(0xbe)](ee,this[_0x1df781(0x1b2)],this[_0x1df781(0x362)],null,this[_0x1df781(0x33b)],null,[_0x5e3787],this['_handler']);try{const _0x4884fb=this[_0x1df781(0x318)][_0x1df781(0x23d)](_0x5e3787,this[_0x1df781(0x33b)]);if(_0x117f2d(_0x4884fb)){const {c1Prime:_0x44cad0,m2Prime:_0x261e17}=_0x4884fb;this[_0x1df781(0xa4)](_0x44cad0);const _0x19fb18=this[_0x1df781(0x3a0)][_0x1df781(0xbe)](ae,this[_0x1df781(0x1b2)],this[_0x1df781(0x362)],_0x261e17,this[_0x1df781(0x17c)]);this['_clearScheduledTask']();const _0x97e6a0=new Date()[_0x1df781(0x307)](),_0x274c9f=this[_0x1df781(0x2c6)]?Math['max'](this[_0x1df781(0x2c6)]-_0x97e6a0,0x0):this[_0x1df781(0xf7)]();return _0x19fb18['_schedule'](_0x274c9f),_0x19fb18;}throw _0x4884fb[_0x1df781(0x286)];}catch(_0x3f5fb0){return this[_0x1df781(0x3a4)][_0x1df781(0x286)](_0x3f5fb0),this[_0x1df781(0x1ae)](!0x1);}}[_0x48c408(0x28a)](){var _0x178fe7=_0x48c408;throw new Error(_0x178fe7(0xe2));}[_0x48c408(0x92)](){var _0x52a8e1=_0x48c408;throw new Error(_0x52a8e1(0x88));}[_0x48c408(0x1f2)](){return this;}[_0x48c408(0x105)](){var _0x3fa192=_0x48c408;return this['_clearScheduledTask'](),this[_0x3fa192(0x3a0)]['createInstance'](de,this[_0x3fa192(0x1b2)],this[_0x3fa192(0x362)],null,this[_0x3fa192(0x33b)],this[_0x3fa192(0x17c)]);}[_0x48c408(0xa1)](){return this;}[_0x48c408(0x19f)](_0x4db7af){var _0x273fd1=_0x48c408;const _0x2d142d=_0x4db7af!=null?_0x4db7af:this[_0x273fd1(0xf7)]();this['_scheduleCompleteTimestamp']=new Date()[_0x273fd1(0x307)]()+_0x2d142d,this[_0x273fd1(0x12b)]=setTimeout(()=>{var _0x8d99f=_0x273fd1;this[_0x8d99f(0xfa)]();let _0x419a50=null;switch(this[_0x8d99f(0x362)]){case Q[_0x8d99f(0x2eb)]:{_0x419a50=Gt(this['_pendingMutations'],this['unitID'],this[_0x8d99f(0xd2)],this['_revisionService'],this[_0x8d99f(0x350)]);break;}case Q[_0x8d99f(0x33a)]:{this[_0x8d99f(0x33b)][_0x8d99f(0x31c)](_0x12cf55=>_0x12cf55['id']===_0x1ec9ae['id'])?_0x419a50=Vs(this[_0x8d99f(0x33b)],this[_0x8d99f(0x1b2)],this['_univerInstanceService'],this[_0x8d99f(0x1ca)],this[_0x8d99f(0x350)]):_0x419a50=Gt(this[_0x8d99f(0x33b)],this[_0x8d99f(0x1b2)],this[_0x8d99f(0xd2)],this[_0x8d99f(0x1ca)],this[_0x8d99f(0x350)]);break;}default:throw new Error(_0x8d99f(0x182)+this[_0x8d99f(0x362)]+'\x20in\x20_schedule.');}const {changeset:_0x55dfec,pendingMutations:_0x4db280}=_0x419a50;this[_0x8d99f(0x17c)][_0x8d99f(0x1fe)](_0x55dfec);const _0x31f7c0=_0x4db280['length']?this[_0x8d99f(0x3a0)]['createInstance'](oe,this['unitID'],this[_0x8d99f(0x362)],_0x55dfec,_0x4db280,this[_0x8d99f(0x17c)],void 0x0):this[_0x8d99f(0x3a0)][_0x8d99f(0xbe)](le,this[_0x8d99f(0x1b2)],this[_0x8d99f(0x362)],_0x55dfec,this[_0x8d99f(0x17c)]);_0x31f7c0[_0x8d99f(0x2ac)](),this[_0x8d99f(0x17c)][_0x8d99f(0x35d)](this,_0x31f7c0);},_0x2d142d);}['_getSendChangesetTimeout'](){var _0x228e46=_0x48c408,_0x2f9be2;const _0x102082=this[_0x228e46(0x117)][_0x228e46(0x366)](K);return(_0x2f9be2=_0x102082==null?void 0x0:_0x102082[_0x228e46(0x329)])!=null?_0x2f9be2:gs;}[_0x48c408(0x94)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x48c408(0xfa)](){var _0x325507=_0x48c408;this[_0x325507(0x12b)]!=null&&(clearTimeout(this[_0x325507(0x12b)]),this[_0x325507(0x12b)]=null);}[_0x48c408(0x1ae)](_0x54ec79){var _0x31603e=_0x48c408;return this['_clearScheduledTask'](),this['_injector'][_0x31603e(0xbe)](ue,this['unitID'],this[_0x31603e(0x362)],null,this['_pendingMutations'],this['_handler'],_0x54ec79);}};ae=Se([w(0x4,_0x27d190(_0x1b9850)),w(0x5,_0x27d190(_0x31494d)),w(0x6,_0x27d190(Pe)),w(0x7,_0x5532d1),w(0x8,_0x2b6b9d),w(0x9,_0x50caa9),w(0xa,_0x15141f),w(0xb,_0xad3f4d),w(0xc,_0x262d0e),w(0xd,_0x441adc(X))],ae);let le=class extends ge{constructor(_0x4f4711,_0x143260,_0x200a39,_0xeb0bed,_0xd53085,_0x1f3ddc,_0x22edab,_0x430062,_0x50df02,_0x54a09a,_0x263bc4){var _0xebf37b=_0x48c408;super(_0x4f4711,_0x143260,_0x200a39,[],_0xeb0bed,_0x22edab,_0x54a09a,_0x1f3ddc,_0x263bc4),D(this,_0xebf37b(0xfd),_0xebf37b(0x352)),D(this,_0xebf37b(0x185),0x0),D(this,_0xebf37b(0x2f4),0x0),D(this,_0xebf37b(0x115)),D(this,_0xebf37b(0x10c)),(this[_0xebf37b(0x3a0)]=_0xd53085,this['_logService']=_0x430062,this[_0xebf37b(0x318)]=_0x50df02);}[_0x48c408(0x38d)](_0x17fa77){var _0x4414fb=_0x48c408;this[_0x4414fb(0xfa)]();const _0x474d25=this[_0x4414fb(0x3a0)][_0x4414fb(0xbe)](oe,this['unitID'],this[_0x4414fb(0x362)],this[_0x4414fb(0x24d)],[_0x17fa77],this[_0x4414fb(0x17c)],this[_0x4414fb(0x115)]);return _0x474d25[_0x4414fb(0x2ac)](),_0x474d25;}[_0x48c408(0x379)](_0x30a831){var _0x1db32e=_0x48c408;if(this['_checkMissing'](_0x30a831))return this[_0x1db32e(0xfa)](),this[_0x1db32e(0x3a0)][_0x1db32e(0xbe)](ee,this[_0x1db32e(0x1b2)],this['type'],this[_0x1db32e(0x24d)],[],null,[_0x30a831],this['_handler']);try{const _0x271520=this['_transformService']['transformChangesets']([_0x30a831],[this[_0x1db32e(0x24d)]],!0x1);if(_0x445c7a(_0x271520)){const {c1Prime:_0x4fd69b,c2Prime:_0x1bdad9}=_0x271520;this[_0x1db32e(0xa4)](_0x4fd69b[0x0]),_0x1bdad9[0x0][_0x1db32e(0x3a2)]=this[_0x1db32e(0x1c9)](),this['_clearScheduledTask']();const _0x5389fc=this['_injector'][_0x1db32e(0xbe)](le,this['unitID'],this['type'],_0x1bdad9[0x0],this['_handler']);return _0x5389fc[_0x1db32e(0x2ac)](),_0x5389fc;}return this[_0x1db32e(0x1ae)](!0x1);}catch(_0x3f06ff){return this['_logService'][_0x1db32e(0x286)](_0x3f06ff),this[_0x1db32e(0x1ae)](!0x1);}}[_0x48c408(0x28a)](_0x2a4391){var _0x30e06f=_0x48c408;this[_0x30e06f(0xfa)]();const _0x88b496=this[_0x30e06f(0x1ca)][_0x30e06f(0x2c4)](this[_0x30e06f(0x1b2)]);if(_0x2a4391[_0x30e06f(0x25f)]<_0x88b496-0x1)return this;if(this[_0x30e06f(0x20c)](_0x2a4391))return this[_0x30e06f(0x3a0)]['createInstance'](ee,this['unitID'],this['type'],null,[],this[_0x30e06f(0x24d)],[],this[_0x30e06f(0x17c)]);this[_0x30e06f(0x15a)]();const _0x25f5ee=this[_0x30e06f(0x3a0)][_0x30e06f(0xbe)](be,this['unitID'],this[_0x30e06f(0x362)],this[_0x30e06f(0x17c)]);return _0x25f5ee[_0x30e06f(0x2ac)](),_0x25f5ee;}['onRemoteRej'](_0x233ec9){var _0x487f4d=_0x48c408;return this[_0x487f4d(0x1ae)](!!(_0x233ec9!=null&&_0x233ec9['isPermissionRej']));}[_0x48c408(0x1f2)](_0x116027){var _0xc44304=_0x48c408;return this[_0xc44304(0x2f4)]>Oi?this[_0xc44304(0x105)]():(this[_0xc44304(0x115)]=Si(this['_resendTimeout'],{'timeout':this[_0xc44304(0x185)],'reqId':_0x116027[_0xc44304(0x3aa)]}),this['_sender']=this[_0xc44304(0x115)][_0xc44304(0x1df)](({reqId:_0x31c870,timeout:_0x26d634})=>{this['_resendWithTimeout'](_0x31c870,_0x26d634);}),this);}[_0x48c408(0x105)](){var _0x45b4e8=_0x48c408;return this[_0x45b4e8(0xfa)](),this[_0x45b4e8(0x3a0)][_0x45b4e8(0xbe)](de,this[_0x45b4e8(0x1b2)],this[_0x45b4e8(0x362)],this[_0x45b4e8(0x24d)],[],this[_0x45b4e8(0x17c)]);}[_0x48c408(0xa1)](){return this;}[_0x48c408(0x94)](){var _0x1362d9=_0x48c408;this[_0x1362d9(0x17c)][_0x1362d9(0x1fe)](this[_0x1362d9(0x24d)]);}[_0x48c408(0x1ae)](_0x22a19d){var _0x467e48=_0x48c408;return this[_0x467e48(0xfa)](),this[_0x467e48(0x3a0)][_0x467e48(0xbe)](ue,this[_0x467e48(0x1b2)],this['type'],this[_0x467e48(0x24d)],[],this[_0x467e48(0x17c)],_0x22a19d);}['_resendWithTimeout'](_0x11a0dc,_0x21ba52){var _0x41d465=_0x48c408,_0x4b8e74;_0x11a0dc===((_0x4b8e74=this['_awaitingChangeset'])==null?void 0x0:_0x4b8e74[_0x41d465(0x3aa)])&&(this['resend'](),this[_0x41d465(0x185)]=_0x21ba52===0x0?0x3e8:Math['min'](_0x21ba52*0x2,Ti),this[_0x41d465(0x2f4)]+=this[_0x41d465(0x185)]);}['_clearScheduledTask'](){var _0x487264=_0x48c408,_0x3efa30;(_0x3efa30=this[_0x487264(0x10c)])==null||_0x3efa30[_0x487264(0x1fd)](),this['_resendTimeout']=0x0,this[_0x487264(0x2f4)]=0x0;}};le=Se([w(0x4,_0x27d190(_0x1b9850)),w(0x5,_0x27d190(_0x31494d)),w(0x6,_0x2b6b9d),w(0x7,_0x5532d1),w(0x8,_0x15141f),w(0x9,_0x262d0e),w(0xa,_0x441adc(X))],le);let oe=class extends ge{constructor(_0x5c0631,_0x497631,_0xdf8849,_0x149c08,_0x429c56,_0xce2677,_0x1f2823,_0x4e439f,_0x21f245,_0x17ac81,_0x2d3191,_0x16f93f,_0x502add){var _0x1d9528=_0x48c408;super(_0x5c0631,_0x497631,_0xdf8849,_0x149c08,_0x429c56,_0x21f245,_0x16f93f,_0x4e439f,_0x502add),D(this,_0x1d9528(0xfd),_0x1d9528(0x212)),D(this,_0x1d9528(0x185),0x0),D(this,_0x1d9528(0x2f4),0x0),D(this,'_resendTimer'),D(this,'_sender'),(this[_0x1d9528(0x3a0)]=_0x1f2823,this['_logService']=_0x17ac81,this['_transformService']=_0x2d3191,this[_0x1d9528(0x296)]=_0x502add,_0xce2677&&(this[_0x1d9528(0x115)]=_0xce2677,this[_0x1d9528(0x10c)]=this['_resendTimer'][_0x1d9528(0x1df)](({reqId:_0x325faa,timeout:_0x175d79})=>{var _0x49df7e=_0x1d9528;this[_0x49df7e(0x292)](_0x325faa,_0x175d79);})));}[_0x48c408(0x38d)](_0x539fde){var _0x9fbb8f=_0x48c408;return this['_pendingMutations'][_0x9fbb8f(0x1a4)](_0x539fde),this;}[_0x48c408(0x379)](_0x2fc0a6){var _0x201ad2=_0x48c408;if(this[_0x201ad2(0x20c)](_0x2fc0a6))return this[_0x201ad2(0xfa)](),this[_0x201ad2(0x3a0)][_0x201ad2(0xbe)](ee,this[_0x201ad2(0x1b2)],this['type'],this[_0x201ad2(0x24d)],this[_0x201ad2(0x33b)],null,[_0x2fc0a6],this['_handler']);try{const _0x42d94c=this[_0x201ad2(0x318)][_0x201ad2(0x343)]([_0x2fc0a6],[this[_0x201ad2(0x24d)]],!0x1);if(_0x445c7a(_0x42d94c)){const {c1Prime:_0x46a534,c2Prime:_0xedbe5}=_0x42d94c,_0x576e0a=this[_0x201ad2(0x318)]['transformMutationsWithChangeset'](_0x46a534[0x0],this[_0x201ad2(0x33b)]);if(_0x117f2d(_0x576e0a)){const {c1Prime:_0x448fdc,m2Prime:_0x1c3695}=_0x576e0a;return this[_0x201ad2(0xa4)](_0x448fdc),_0xedbe5[0x0][_0x201ad2(0x3a2)]=this['_getCurrentRevision'](),this[_0x201ad2(0xfa)](),this[_0x201ad2(0x3a0)][_0x201ad2(0xbe)](oe,this[_0x201ad2(0x1b2)],this[_0x201ad2(0x362)],_0xedbe5[0x0],_0x1c3695,this[_0x201ad2(0x17c)],void 0x0);}throw _0x576e0a[_0x201ad2(0x286)];}throw _0x42d94c[_0x201ad2(0x286)];}catch(_0x2412e9){return this[_0x201ad2(0x3a4)]['error'](_0x2412e9),this[_0x201ad2(0x1ae)](!0x1);}}['onRemoteAck'](_0x1585a6){var _0x4c2657=_0x48c408;if(this[_0x4c2657(0xfa)](),this['_checkMissing'](_0x1585a6))return this[_0x4c2657(0x3a0)][_0x4c2657(0xbe)](ee,this[_0x4c2657(0x1b2)],this[_0x4c2657(0x362)],null,this[_0x4c2657(0x33b)],this['_awaitingChangeset'],[],this[_0x4c2657(0x17c)]);this[_0x4c2657(0x15a)]();const _0x2de64d=this[_0x4c2657(0x3a0)][_0x4c2657(0xbe)](ae,this[_0x4c2657(0x1b2)],this[_0x4c2657(0x362)],this[_0x4c2657(0x33b)],this[_0x4c2657(0x17c)]);return _0x2de64d[_0x4c2657(0x19f)](),_0x2de64d[_0x4c2657(0x2ac)](),_0x2de64d;}[_0x48c408(0x92)](_0x52af40){var _0x342207=_0x48c408;return this[_0x342207(0x1ae)](!!(_0x52af40!=null&&_0x52af40[_0x342207(0xac)]));}[_0x48c408(0x1f2)](_0x4ffdae){var _0x24d30e=_0x48c408;return this[_0x24d30e(0x2f4)]>Oi?this[_0x24d30e(0x105)]():(this[_0x24d30e(0x115)]=Si(this[_0x24d30e(0x185)],{'timeout':this[_0x24d30e(0x185)],'reqId':_0x4ffdae[_0x24d30e(0x3aa)]}),this[_0x24d30e(0x10c)]=this[_0x24d30e(0x115)][_0x24d30e(0x1df)](({reqId:_0x265dde,timeout:_0x39c1cf})=>{this['_resendWithTimeout'](_0x265dde,_0x39c1cf);}),this);}[_0x48c408(0x105)](){var _0x3e6172=_0x48c408;return this[_0x3e6172(0xfa)](),this[_0x3e6172(0x3a0)]['createInstance'](de,this[_0x3e6172(0x1b2)],this[_0x3e6172(0x362)],this[_0x3e6172(0x24d)],this['_pendingMutations'],this[_0x3e6172(0x17c)]);}[_0x48c408(0xa1)](){return this;}[_0x48c408(0x94)](){var _0x54d72c=_0x48c408;this[_0x54d72c(0x17c)][_0x54d72c(0x1fe)](this[_0x54d72c(0x24d)]);}[_0x48c408(0x1ae)](_0xca5247){var _0x486552=_0x48c408;return this['_clearScheduledTask'](),this[_0x486552(0x3a0)][_0x486552(0xbe)](ue,this['unitID'],this['type'],null,this[_0x486552(0x33b)],this[_0x486552(0x17c)],_0xca5247);}['_resendWithTimeout'](_0x4f0d5e,_0x4e61cf){var _0x581c65=_0x48c408,_0x2dd48a;_0x4f0d5e===((_0x2dd48a=this[_0x581c65(0x24d)])==null?void 0x0:_0x2dd48a['reqId'])&&(this['resend'](),this[_0x581c65(0x185)]=_0x4e61cf===0x0?0x3e8:Math[_0x581c65(0x252)](_0x4e61cf*0x2,Ti),this['_maxTotalRetryTimeout']+=this[_0x581c65(0x185)]);}[_0x48c408(0xfa)](){var _0xcd220b=_0x48c408,_0x1e4da2;(_0x1e4da2=this[_0xcd220b(0x10c)])==null||_0x1e4da2[_0xcd220b(0x1fd)](),this[_0xcd220b(0x185)]=0x0,this[_0xcd220b(0x2f4)]=0x0;}};oe=Se([w(0x6,_0x27d190(_0x1b9850)),w(0x7,_0x27d190(_0x31494d)),w(0x8,_0x2b6b9d),w(0x9,_0x5532d1),w(0xa,_0x15141f),w(0xb,_0x262d0e),w(0xc,_0x441adc(X))],oe);let ue=class extends ge{constructor(_0x2ca97b,_0x107872,_0x41bba4,_0x3b262d,_0x28d38a,_0x3b47a9=!0x1,_0xd670a7,_0x257bb0,_0x9942de,_0x864ad5,_0x3a9269,_0x2b595c,_0x458e6c){var _0x257adf=_0x48c408;super(_0x2ca97b,_0x107872,_0x41bba4,_0x3b262d,_0x28d38a,_0x257bb0,_0x9942de,_0x864ad5,_0x458e6c),D(this,_0x257adf(0xfd),'conflict'),(this[_0x257adf(0x2a8)]=_0x3b47a9,this[_0x257adf(0xcb)]=_0xd670a7,this[_0x257adf(0x253)]=_0x3a9269,this['_collaborationUIEventService']=_0x2b595c,this[_0x257adf(0x296)]=_0x458e6c,this[_0x257adf(0x39c)](),this[_0x257adf(0x2a9)](),this[_0x257adf(0x167)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x48c408(0x1f2)](){return this;}[_0x48c408(0x105)](){return this;}[_0x48c408(0xa1)](){return this;}[_0x48c408(0x94)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x32f94c=_0x48c408,_0x1b8b68;(_0x1b8b68=this[_0x32f94c(0x1ea)])==null||_0x1b8b68[_0x32f94c(0x339)](this[_0x32f94c(0x1b2)],this[_0x32f94c(0x362)],null,[]);}[_0x48c408(0x39c)](){var _0x1f57f0=_0x48c408;this[_0x1f57f0(0x2a8)]?this[_0x1f57f0(0x146)]['emitEvent']({'id':re[_0x1f57f0(0x38a)]}):this[_0x1f57f0(0x146)][_0x1f57f0(0x371)]({'id':re['CONFLICT']});}[_0x48c408(0x167)](){var _0x3bdcd0=_0x48c408;this['_permissionService'][_0x3bdcd0(0xc1)](new _0x40787e(this[_0x3bdcd0(0x1b2)])['id'],!0x1);}};ue=Se([w(0x6,_0x27d190(_0x2c6912)),w(0x7,_0x2b6b9d),w(0x8,_0x262d0e),w(0x9,_0x27d190(_0x31494d)),w(0xa,_0x27d190(_0x1f8550)),w(0xb,_0x27d190(ve)),w(0xc,_0x441adc(X))],ue);let de=class extends ge{constructor(_0x467247,_0xd1c29e,_0x5d7396,_0x327cc2,_0x4e3543,_0x1df2a1,_0x59f1ea,_0x25850a,_0x32f083,_0x4cb48a){var _0xa4f876=_0x48c408;super(_0x467247,_0xd1c29e,_0x5d7396,_0x327cc2,_0x4e3543,_0x25850a,_0x32f083,_0x59f1ea,_0x4cb48a),D(this,_0xa4f876(0xfd),'offline'),this[_0xa4f876(0x3a0)]=_0x1df2a1;}[_0x48c408(0x38d)](_0x4f7a0e){var _0x6c3f2d=_0x48c408;return this[_0x6c3f2d(0x33b)][_0x6c3f2d(0x1a4)](_0x4f7a0e),this[_0x6c3f2d(0x2ac)](),this;}[_0x48c408(0x379)](_0x2be500){var _0xfadc5a=_0x48c408;throw new Error(_0xfadc5a(0x284));}[_0x48c408(0x28a)](){var _0x45a16b=_0x48c408;throw new Error(_0x45a16b(0x17f));}['onRemoteRej'](){var _0x1b7067=_0x48c408;throw new Error(_0x1b7067(0xf0));}[_0x48c408(0x1f2)](){return this;}[_0x48c408(0x105)](){return this;}['toggleOnline'](){var _0x2145ad=_0x48c408;const {_injector:_0x4791ab,_pendingMutations:_0x17316f,_awaitingChangeset:_0x4a70c5,unitID:_0x130ad3,_handler:_0x7ec5f4,type:_0x3d5dfa}=this,_0x5a7b50=Ri(_0x4791ab,_0x130ad3,_0x3d5dfa,_0x4a70c5,_0x17316f,_0x7ec5f4);return _0x5a7b50 instanceof ae?_0x5a7b50[_0x2145ad(0x19f)]():(_0x5a7b50 instanceof oe||_0x5a7b50 instanceof le)&&_0x5a7b50[_0x2145ad(0x94)](),_0x5a7b50;}[_0x48c408(0x94)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x27d190(_0x1b9850)),w(0x6,_0x27d190(_0x31494d)),w(0x7,_0x2b6b9d),w(0x8,_0x262d0e),w(0x9,_0x441adc(X))],de);let ee=class extends ge{constructor(_0x1eac04,_0x12d6ed,_0x5f4b71,_0x3145ac,_0x213f40,_0x125c34,_0x2e2cac,_0x385ef9,_0x4e168b,_0x1d9479,_0x262562,_0x1a3b07,_0x51f7c7,_0x2ff72f){var _0x38640b=_0x48c408;super(_0x1eac04,_0x12d6ed,_0x5f4b71,_0x3145ac,_0x2e2cac,_0x262562,_0x1a3b07,_0x4e168b,_0x2ff72f),D(this,_0x38640b(0xfd),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x213f40,this[_0x38640b(0x315)]=_0x125c34,this[_0x38640b(0x3a0)]=_0x385ef9,this[_0x38640b(0x3a4)]=_0x1d9479,this[_0x38640b(0x318)]=_0x51f7c7,this[_0x38640b(0x296)]=_0x2ff72f);}[_0x48c408(0x198)](_0x51c531){var _0x5eddef=_0x48c408;try{const _0x37df4a=[..._0x51c531,...this[_0x5eddef(0x315)]],_0x2b7fad=[this['_awaitingChangeset']||this['_acknowledgedAwaitingChangeset']][_0x5eddef(0x372)](_0x77ca83=>!!_0x77ca83);let _0x4a06bf,_0x28ab9f;if(_0x2b7fad[_0x5eddef(0x1e7)]){const _0x58cbca=this['_transformService']['transformChangesets'](_0x37df4a,_0x2b7fad,!0x1);if(!_0x445c7a(_0x58cbca))throw _0x58cbca['error'];_0x4a06bf=_0x58cbca[_0x5eddef(0x1fc)],_0x28ab9f=_0x58cbca[_0x5eddef(0x2f0)];}else _0x4a06bf=_0x37df4a,_0x28ab9f=[];let _0x52fa4b=this['_pendingMutations'];_0x4a06bf['forEach'](_0x165826=>{var _0x20df32=_0x5eddef;let _0x23ce2b;if(_0x52fa4b[_0x20df32(0x1e7)]){const _0x2c9534=this[_0x20df32(0x318)][_0x20df32(0x23d)](_0x165826,_0x52fa4b);if(!_0x117f2d(_0x2c9534))throw _0x2c9534[_0x20df32(0x286)];_0x23ce2b=_0x2c9534['c1Prime'],_0x52fa4b=_0x2c9534[_0x20df32(0x2c5)];}else _0x23ce2b=_0x165826;this[_0x20df32(0xa4)](_0x23ce2b);}),this[_0x5eddef(0x368)]&&this[_0x5eddef(0x15a)](),this['_awaitingChangeset']&&_0x28ab9f[_0x5eddef(0x1e7)]&&(_0x28ab9f[0x0][_0x5eddef(0x3a2)]=this['_getCurrentRevision']());let _0x43d859;if(this[_0x5eddef(0x24d)]&&_0x52fa4b[_0x5eddef(0x1e7)]!==0x0)_0x43d859=this['_injector'][_0x5eddef(0xbe)](oe,this[_0x5eddef(0x1b2)],this[_0x5eddef(0x362)],_0x28ab9f[0x0],_0x52fa4b,this['_handler'],void 0x0);else{if(this[_0x5eddef(0x24d)]&&_0x52fa4b[_0x5eddef(0x1e7)]===0x0)_0x28ab9f[0x0][_0x5eddef(0x3a2)]=this[_0x5eddef(0x1c9)](),_0x43d859=this['_injector'][_0x5eddef(0xbe)](le,this['unitID'],this[_0x5eddef(0x362)],_0x28ab9f[0x0],this[_0x5eddef(0x17c)]);else{if(_0x52fa4b[_0x5eddef(0x1e7)]!==0x0){const _0x215a51=this['_injector'][_0x5eddef(0xbe)](ae,this['unitID'],this[_0x5eddef(0x362)],_0x52fa4b,this['_handler']);_0x215a51[_0x5eddef(0x19f)](),_0x43d859=_0x215a51;}else _0x43d859=this['_injector'][_0x5eddef(0xbe)](be,this[_0x5eddef(0x1b2)],this[_0x5eddef(0x362)],this[_0x5eddef(0x17c)]);}}return _0x43d859[_0x5eddef(0x2ac)](),_0x43d859;}catch(_0x360101){return this[_0x5eddef(0x3a4)][_0x5eddef(0x286)](_0x5eddef(0x279),_0x5eddef(0x207),_0x360101),this['_injector'][_0x5eddef(0xbe)](ue,this[_0x5eddef(0x1b2)],this[_0x5eddef(0x362)],this['_awaitingChangeset'],this[_0x5eddef(0x33b)],this[_0x5eddef(0x17c)],!0x1);}}[_0x48c408(0x94)](){var _0x116b42=_0x48c408;throw new Error(_0x116b42(0xda));}[_0x48c408(0x38d)](_0x2fbbec){return this['_pendingMutations']['push'](_0x2fbbec),this;}[_0x48c408(0x379)](_0x4cfe68){var _0x1d3d28=_0x48c408;return this[_0x1d3d28(0x315)][_0x1d3d28(0x1a4)](_0x4cfe68),this;}[_0x48c408(0x28a)](_0x2edf5f){var _0x379946=_0x48c408;if(this['_awaitingChangeset'])return this[_0x379946(0x368)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw new Error(_0x379946(0x37f));}['onRemoteRej'](_0x33455b){var _0x376ffd=_0x48c408;return this['_onConflict'](!!(_0x33455b!=null&&_0x33455b[_0x376ffd(0xac)]));}[_0x48c408(0x1f2)](){return this;}['toggleOffline'](){var _0x3fed7f=_0x48c408;return this[_0x3fed7f(0x3a0)][_0x3fed7f(0xbe)](de,this[_0x3fed7f(0x1b2)],this[_0x3fed7f(0x362)],this[_0x3fed7f(0x24d)],this[_0x3fed7f(0x33b)],this[_0x3fed7f(0x17c)]);}[_0x48c408(0xa1)](){return this;}[_0x48c408(0x1ae)](_0x28d8b6){var _0x5b7c71=_0x48c408;return this['_injector'][_0x5b7c71(0xbe)](ue,this[_0x5b7c71(0x1b2)],this['type'],this[_0x5b7c71(0x24d)],this[_0x5b7c71(0x33b)],this[_0x5b7c71(0x17c)],_0x28d8b6);}};ee=Se([w(0x7,_0x27d190(_0x1b9850)),w(0x8,_0x27d190(_0x31494d)),w(0x9,_0x5532d1),w(0xa,_0x2b6b9d),w(0xb,_0x262d0e),w(0xc,_0x15141f),w(0xd,_0x441adc(X))],ee);function Ri(_0x21247d,_0x3d797c,_0x2de5b5,_0x293cfd,_0x1761cf,_0xcb7436){var _0x5e5b3f=_0x48c408;return _0x293cfd&&_0x1761cf[_0x5e5b3f(0x1e7)]?_0x21247d[_0x5e5b3f(0xbe)](oe,_0x3d797c,_0x2de5b5,_0x293cfd,_0x1761cf,_0xcb7436,void 0x0):_0x293cfd?_0x21247d[_0x5e5b3f(0xbe)](le,_0x3d797c,_0x2de5b5,_0x293cfd,_0xcb7436):_0x1761cf[_0x5e5b3f(0x1e7)]?_0x21247d[_0x5e5b3f(0xbe)](ae,_0x3d797c,_0x2de5b5,_0x1761cf,_0xcb7436):_0x21247d[_0x5e5b3f(0xbe)](be,_0x3d797c,_0x2de5b5,_0xcb7436);}var Ws=Object[_0x48c408(0x2d3)],At=(_0x5e0e99,_0x3398df,_0x2caaa4,_0x3f8335)=>{var _0x70dc75=_0x48c408;for(var _0x46966c=_0x3f8335>0x1?void 0x0:_0x3f8335?Ws(_0x3398df,_0x2caaa4):_0x3398df,_0x8e9f26=_0x5e0e99[_0x70dc75(0x1e7)]-0x1,_0x32ef97;_0x8e9f26>=0x0;_0x8e9f26--)(_0x32ef97=_0x5e0e99[_0x8e9f26])&&(_0x46966c=_0x32ef97(_0x46966c)||_0x46966c);return _0x46966c;},$=(_0x2ff755,_0x45ddb2)=>(_0x34926b,_0x43261d)=>_0x45ddb2(_0x34926b,_0x43261d,_0x2ff755);let nt=class extends _0x4e8d87{constructor(_0xddfd58,_0x34a72b,_0x1ddb3d,_0x1225d8,_0x557de3,_0x519bf0,_0x44ccc3,_0x2eab54,_0x538957,_0x177958,_0x320307,_0x544a89,_0x10db0f,_0x1e65c3){var _0x257f6b=_0x48c408;super(),D(this,'_state$',new _0x228d76(null)),D(this,_0x257f6b(0x29b),this[_0x257f6b(0x2fe)][_0x257f6b(0xe4)]()),D(this,_0x257f6b(0x159)),D(this,_0x257f6b(0x8f),!0x1),D(this,_0x257f6b(0x31d),''),D(this,'_changesetReqId',0x0),D(this,_0x257f6b(0xef),this[_0x257f6b(0x29b)][_0x257f6b(0xa9)](_0x4e2063(_0x1dac08=>_0x1dac08?_0x1dac08['status']:gi[_0x257f6b(0x126)]),_0x2d5e4c(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x257f6b(0x160),[]),(this[_0x257f6b(0x1b2)]=_0xddfd58,this[_0x257f6b(0x96)]=_0x34a72b,this[_0x257f6b(0x330)]=_0x1ddb3d,this['_injector']=_0x1225d8,this[_0x257f6b(0x265)]=_0x557de3,this[_0x257f6b(0x253)]=_0x519bf0,this[_0x257f6b(0x1ca)]=_0x44ccc3,this[_0x257f6b(0x2ea)]=_0x2eab54,this[_0x257f6b(0xd2)]=_0x538957,this[_0x257f6b(0x3a4)]=_0x177958,this[_0x257f6b(0x98)]=_0x320307,this[_0x257f6b(0xcb)]=_0x544a89,this[_0x257f6b(0x1f6)]=_0x10db0f,this[_0x257f6b(0x1ea)]=_0x1e65c3);}get['state'](){return this['_state'];}async[_0x48c408(0x300)](){var _0x164546=_0x48c408;if(this[_0x164546(0x313)])throw new Error(_0x164546(0x202));await this[_0x164546(0xd3)]();}[_0x48c408(0x224)](){return this['_collaborationPaused']=!0x0,_0x33f965(()=>{var _0x4434a7=_0x21ac;this['_collaborationPaused']=!0x1,this[_0x4434a7(0x16d)]();});}[_0x48c408(0x119)](_0x2a2076){var _0x483775=_0x48c408;this[_0x483775(0x186)](_0x2a2076);}[_0x48c408(0x23c)](_0x5c8ce1){var _0x4f1853=_0x48c408;this[_0x4f1853(0x159)]=_0x5c8ce1,this[_0x4f1853(0x2fe)][_0x4f1853(0x22a)](_0x5c8ce1);}async[_0x48c408(0xd3)](){var _0x537ef4=_0x48c408,_0x1a8195;this['_updateState'](await this[_0x537ef4(0x2e7)]()),this['_singleActiveUnitService']&&((_0x1a8195=this[_0x537ef4(0x1f6)])==null||_0x1a8195['editingUnit'](this[_0x537ef4(0x1b2)]),this[_0x537ef4(0xdb)](this[_0x537ef4(0x1f6)]['getUnitStatus$'](this[_0x537ef4(0x1b2)])[_0x537ef4(0x1df)](_0x8ddd0=>{var _0x4bec29=_0x537ef4;this[_0x4bec29(0x3a4)][_0x4bec29(0x137)](_0x4bec29(0x28c),'editing\x20status\x20changed\x20to',_0x8ddd0),_0x8ddd0===Ii[_0x4bec29(0x2e0)]?(this[_0x4bec29(0x2ea)][_0x4bec29(0x371)]({'id':re[_0x4bec29(0x3a7)]}),this['_permissionService'][_0x4bec29(0xc1)](new _0x40787e(this['unitID'])['id'],!0x1),this[_0x4bec29(0xcb)][_0x4bec29(0x107)](!0x1)):(this[_0x4bec29(0xcb)][_0x4bec29(0xc1)](new _0x40787e(this[_0x4bec29(0x1b2)])['id'],!0x0),this[_0x4bec29(0xcb)][_0x4bec29(0x107)](!0x0));})));let _0x233f0b=!0x1;return this[_0x537ef4(0xdb)](this[_0x537ef4(0x96)][_0x537ef4(0x395)][_0x537ef4(0x1df)](_0x20de21=>{var _0x39bed9=_0x537ef4;_0x20de21===me[_0x39bed9(0x257)]?this[_0x39bed9(0x389)](_0x233f0b):_0x20de21===me['OFFLINE']&&(_0x233f0b=!0x0,this[_0x39bed9(0x24a)]());})),this['disposeWithMe'](this[_0x537ef4(0x96)]['event$'][_0x537ef4(0x1df)](_0x3ab65a=>{var _0x344232=_0x537ef4;try{switch(_0x3ab65a['eventID']){case _0x249d85[_0x344232(0x306)]:{this['_onRemoteChangeset'](_0x588d05(_0x3ab65a[_0x344232(0x356)]));break;}case _0x249d85['CHANGESET_ACK']:{this[_0x344232(0x35b)](_0x3ab65a[_0x344232(0x356)]);break;}case _0x249d85['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x249d85[_0x344232(0x104)]:{this[_0x344232(0x172)](_0x3ab65a['data']);break;}case _0x249d85[_0x344232(0x247)]:{this['_onFetchMissResult'](_0x3ab65a[_0x344232(0x356)][_0x344232(0x21f)][_0x344232(0x2e2)](_0x141394=>_0x588d05(_0x141394)));break;}case _0x249d85['PERMISSION_REJ']:{this[_0x344232(0xf5)]({'isPermissionRej':!0x0});break;}case _0x249d85[_0x344232(0x3a6)]:break;}}catch(_0x495859){throw console[_0x344232(0x286)](_0x344232(0x36f),_0x495859),_0x495859;}})),this[_0x537ef4(0x159)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x48c408(0x25c)](){var _0x3d6107=_0x48c408;if(this[_0x3d6107(0x33f)])throw new Error(_0x3d6107(0x35a));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x204dae){var _0x258e1d=_0x48c408;this[_0x258e1d(0x25c)](),this[_0x258e1d(0x23c)](this[_0x258e1d(0x159)]['appendMutation'](_0x204dae)),this[_0x258e1d(0x1e5)]();}['_onRemoteChangeset'](_0x52d7b0){var _0x949e42=_0x48c408;if(!(_0x52d7b0[_0x949e42(0x25f)]<=this['_revisionService'][_0x949e42(0x2c4)](this[_0x949e42(0x1b2)]))){if(this[_0x949e42(0x8f)]){this['_remoteChangesetQueue'][_0x949e42(0x1a4)](_0x52d7b0);return;}this[_0x949e42(0x1ec)](_0x52d7b0);}}['_exhaustRemoteChangesetQueue'](){var _0x1d741a=_0x48c408;this[_0x1d741a(0x160)][_0x1d741a(0x3a3)](_0x4a4948=>this[_0x1d741a(0x1ec)](_0x4a4948)),this[_0x1d741a(0x160)]=[];}[_0x48c408(0x1ec)](_0x5e2ae6){var _0x392611=_0x48c408;const _0x2e679a=this[_0x392611(0x265)][_0x392611(0x370)][_0x392611(0x12a)](this[_0x392611(0x265)]['interceptor']['getInterceptPoints']()[_0x392611(0x34d)])(_0x5e2ae6[_0x392611(0x187)],null)||_0x5e2ae6[_0x392611(0x187)],_0x2afa50={..._0x5e2ae6,'mutations':_0x2e679a};this[_0x392611(0x25c)](),this['_updateState'](this[_0x392611(0x159)][_0x392611(0x379)](_0x2afa50)),this[_0x392611(0x1e5)]();}[_0x48c408(0x35b)](_0x537ab1){var _0x4555c8=_0x48c408;this[_0x4555c8(0x25c)](),this[_0x4555c8(0x23c)](this[_0x4555c8(0x159)]['onRemoteAck'](_0x537ab1)),this[_0x4555c8(0x1e5)]();}['_onRemoteRejected'](_0x2bd619){var _0x50e10a=_0x48c408;this[_0x50e10a(0x25c)](),this[_0x50e10a(0x23c)](this[_0x50e10a(0x159)][_0x50e10a(0x92)](_0x2bd619)),this[_0x50e10a(0x1e5)]();}[_0x48c408(0x172)](_0x4a5469){var _0xd259a6=_0x48c408;this[_0xd259a6(0x25c)](),this[_0xd259a6(0x23c)](this[_0xd259a6(0x159)][_0xd259a6(0x1f2)](_0x4a5469)),this['_unlockTransition']();}[_0x48c408(0x165)](_0x4efe84){var _0x3d8b97=_0x48c408;if(!(this[_0x3d8b97(0x159)]instanceof ee))throw new TypeError(_0x3d8b97(0x1be));const _0x1a111b=_0x4efe84[_0x3d8b97(0x2e2)](_0x4df71d=>{var _0x289792=_0x3d8b97;const _0x4bad6a=this[_0x289792(0x265)][_0x289792(0x370)]['fetchThroughInterceptors'](this[_0x289792(0x265)][_0x289792(0x370)][_0x289792(0x26b)]()[_0x289792(0x34d)])(_0x4df71d['mutations'],null)||_0x4df71d[_0x289792(0x187)];return{..._0x4df71d,'mutations':_0x4bad6a};});this[_0x3d8b97(0x25c)](),this[_0x3d8b97(0x23c)](this[_0x3d8b97(0x159)][_0x3d8b97(0x198)](_0x1a111b)),this[_0x3d8b97(0x1e5)]();}[_0x48c408(0x24a)](){var _0x5876c3=_0x48c408;this[_0x5876c3(0x25c)](),this[_0x5876c3(0x23c)](this[_0x5876c3(0x159)][_0x5876c3(0x105)]()),this[_0x5876c3(0x1e5)]();}['_toggleOnline'](_0x23b464=!0x1){var _0x3922ba=_0x48c408;this[_0x3922ba(0x25c)](),this[_0x3922ba(0x23c)](this[_0x3922ba(0x159)]['toggleOnline']()),this[_0x3922ba(0x1e5)]();const _0x3fecb7=this[_0x3922ba(0x159)];_0x23b464&&_0x3fecb7 instanceof be&&(this[_0x3922ba(0x25c)](),this['_updateState'](_0x3fecb7[_0x3922ba(0x336)]()),this[_0x3922ba(0x1e5)]());}async[_0x48c408(0x2e7)](){return new Promise(_0x4b21c8=>{var _0x50e92d=_0x21ac;this[_0x50e92d(0x96)][_0x50e92d(0x395)][_0x50e92d(0xa9)](_0x22c840(0x1))['subscribe'](async _0x2cac3e=>{var _0x12df19=_0x50e92d;_0x4b21c8(await this['_createInitialStateImpl'](_0x2cac3e===me[_0x12df19(0x257)]));});});}['_createHandler'](){const _0x2f3ffc=this['unitID'];return{'onStateChange':(_0x194a3f,_0x5b5c92)=>{var _0x16765f=_0x21ac;if(_0x194a3f!==this[_0x16765f(0x159)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x194a3f[_0x16765f(0xfd)]+_0x16765f(0x353)+_0x5b5c92[_0x16765f(0xfd)]+_0x16765f(0x152)+this['_state'][_0x16765f(0xfd)]);this['_updateState'](_0x5b5c92);},'onSendChangeset':_0x2f2197=>{var _0x5d00b3=_0x21ac;_0x2f2197[_0x5d00b3(0x15f)]||(_0x2f2197[_0x5d00b3(0x15f)]=this[_0x5d00b3(0x31d)],_0x2f2197[_0x5d00b3(0x3aa)]=++this[_0x5d00b3(0x14c)]);const _0x233efd={'eventID':_0x249d85['SUBMIT_CHANGESET'],'data':{'unitID':_0x2f2197[_0x5d00b3(0x1b2)],'unitType':this[_0x5d00b3(0x330)],'changeset':_0x2f2197,'memberID':this[_0x5d00b3(0x96)]['getMemberID']()}};this[_0x5d00b3(0x96)][_0x5d00b3(0x235)](_0x233efd,this[_0x5d00b3(0x1b2)]);},'onMissingChangesets':({from:_0x1c7f31,to:_0x4f6884})=>{var _0x4aa188=_0x21ac;this[_0x4aa188(0x3a4)][_0x4aa188(0x137)]('[CollaborationEntity]',_0x4aa188(0x36c)+_0x1c7f31+_0x4aa188(0xab)+_0x4f6884);const _0x4970ed={'eventID':_0x249d85[_0x4aa188(0xde)],'data':{'unitID':_0x2f3ffc,'unitType':this[_0x4aa188(0x330)],'from':_0x1c7f31,'to':_0x4f6884}};this[_0x4aa188(0x96)][_0x4aa188(0x235)](_0x4970ed,this[_0x4aa188(0x1b2)]);}};}async[_0x48c408(0xbd)](_0x1eabf3){var _0x447f58=_0x48c408,_0x94cb6c,_0x4ea02b,_0x2cad9a;const _0xdd0ef2=await((_0x94cb6c=this[_0x447f58(0x1ea)])==null?void 0x0:_0x94cb6c[_0x447f58(0x275)](this[_0x447f58(0x1b2)])),_0x287b73=(_0x4ea02b=_0xdd0ef2==null?void 0x0:_0xdd0ef2['mutations'])!=null?_0x4ea02b:[],_0x8dc3fb=(_0x2cad9a=_0xdd0ef2==null?void 0x0:_0xdd0ef2[_0x447f58(0x310)])!=null?_0x2cad9a:null,_0x6ffd60=!!(_0x8dc3fb!=null&&_0x8dc3fb['sid'])&&!!(_0x8dc3fb!=null&&_0x8dc3fb[_0x447f58(0x3aa)]);this[_0x447f58(0x31d)]=_0x6ffd60?_0x8dc3fb['sid']:_0x55c077(),this[_0x447f58(0x14c)]=_0x6ffd60?_0x8dc3fb[_0x447f58(0x3aa)]:0x0;const _0x19731b=this[_0x447f58(0x1b2)];try{this[_0x447f58(0x11b)](_0x8dc3fb,_0x287b73);}catch(_0x48e02e){this[_0x447f58(0x3a4)]['error'](_0x48e02e);}const _0x50d35f=this[_0x447f58(0x1bf)]();if(_0x1eabf3){const _0x5178f3=Ri(this[_0x447f58(0x3a0)],_0x19731b,this[_0x447f58(0x330)],_0x8dc3fb,_0x287b73,_0x50d35f);return _0x5178f3 instanceof ae?_0x5178f3[_0x447f58(0x19f)]():(_0x5178f3 instanceof oe||_0x5178f3 instanceof le)&&_0x5178f3['resend'](),_0x5178f3;}return this[_0x447f58(0x3a0)][_0x447f58(0xbe)](de,_0x19731b,this[_0x447f58(0x330)],_0x8dc3fb,_0x287b73,_0x50d35f);}[_0x48c408(0x11b)](_0x245cbd,_0x34921e){var _0x9a7d17=_0x48c408,_0x27ae40,_0x33fdd5;const _0x5b9ac4=this[_0x9a7d17(0x265)]['interceptor'][_0x9a7d17(0x12a)](this['_compressMutationService'][_0x9a7d17(0x370)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x27ae40=_0x5b9ac4((_0x245cbd==null?void 0x0:_0x245cbd['mutations'])||[],null))==null||_0x27ae40['forEach'](_0x5827a0=>this[_0x9a7d17(0x98)]['executeCommand'](_0x5827a0['id'],_0x5827a0[_0x9a7d17(0x360)])),(_0x33fdd5=_0x5b9ac4(_0x34921e||[],null))==null||_0x33fdd5['forEach'](_0x487cce=>this[_0x9a7d17(0x98)][_0x9a7d17(0x12e)](_0x487cce['id'],_0x487cce[_0x9a7d17(0x360)]));}};nt=At([$(0x3,_0x27d190(_0x1b9850)),$(0x4,_0x27d190(_0x44145c)),$(0x5,_0x27d190(_0x1f8550)),$(0x6,_0x27d190(_0x31494d)),$(0x7,_0x27d190(ve)),$(0x8,_0xad3f4d),$(0x9,_0x5532d1),$(0xa,_0x2b6b9d),$(0xb,_0x2c6912),$(0xc,_0x441adc(ht)),$(0xd,_0x441adc(X))],nt);let St=class extends nt{constructor(_0x285f28,_0x456e58,_0x35fde8,_0x3b7d20,_0x29d2c1,_0x3b7721,_0x3b71a8,_0x377ebc,_0x4432d7,_0x3a3f75,_0x2ffbbb,_0x59e6a6,_0x17c7c5,_0x4849ed){var _0x42e35f=_0x48c408;super(_0x285f28,_0x35fde8,_0x456e58,_0x3b7d20,_0x29d2c1,_0x3b7721,_0x3b71a8,_0x377ebc,_0x4432d7,_0x3a3f75,_0x2ffbbb,_0x59e6a6,_0x17c7c5,_0x4849ed),D(this,_0x42e35f(0x2b2),null),(this[_0x42e35f(0x1b2)]=_0x285f28,this[_0x42e35f(0x362)]=_0x456e58);}[_0x48c408(0x149)](_0x2ceacd){var _0x23ec7c=_0x48c408;this[_0x23ec7c(0x2b2)]=_0x2ceacd;}[_0x48c408(0x2e8)](){var _0x52046a=_0x48c408;this['_handlerCallback']=null,super[_0x52046a(0x2e8)]();}[_0x48c408(0x1bf)](){var _0xbe50ce=_0x48c408;const _0x39210f=super[_0xbe50ce(0x1bf)]();return _0x39210f[_0xbe50ce(0x2d7)]=_0x2c4364=>{var _0x1a04e7=_0xbe50ce,_0x3b8d0e,_0x3b1141;return(_0x3b1141=(_0x3b8d0e=this[_0x1a04e7(0x2b2)])==null?void 0x0:_0x3b8d0e[_0x1a04e7(0x2d7)])==null?void 0x0:_0x3b1141[_0x1a04e7(0x1c3)](_0x3b8d0e,_0x2c4364);},_0x39210f[_0xbe50ce(0x13b)]=_0x1a45a4=>{var _0x97b9fc=_0xbe50ce,_0x46160a,_0x53e2a6;return(_0x53e2a6=(_0x46160a=this['_handlerCallback'])==null?void 0x0:_0x46160a[_0x97b9fc(0x13b)])==null?void 0x0:_0x53e2a6[_0x97b9fc(0x1c3)](_0x46160a,_0x1a45a4);},_0x39210f[_0xbe50ce(0x249)]=_0x3804f3=>{var _0x588f83=_0xbe50ce,_0x10e495,_0x1e891a;return(_0x1e891a=(_0x10e495=this[_0x588f83(0x2b2)])==null?void 0x0:_0x10e495[_0x588f83(0x249)])==null?void 0x0:_0x1e891a['call'](_0x10e495,_0x3804f3);},_0x39210f[_0xbe50ce(0x163)]=_0x510b07=>{var _0x160247=_0xbe50ce,_0x22c5c1,_0x3e5415;return(_0x3e5415=(_0x22c5c1=this[_0x160247(0x2b2)])==null?void 0x0:_0x22c5c1[_0x160247(0x163)])==null?void 0x0:_0x3e5415['call'](_0x22c5c1,_0x510b07);},_0x39210f[_0xbe50ce(0xfb)]=_0x29dfa2=>{var _0xd99379=_0xbe50ce,_0xb46389,_0x36acaf,_0x3e2c8c;if(!((_0xb46389=this[_0xd99379(0x2b2)])!=null&&_0xb46389[_0xd99379(0xfb)]))throw new Error(_0xd99379(0x218));return(_0x3e2c8c=(_0x36acaf=this[_0xd99379(0x2b2)])==null?void 0x0:_0x36acaf[_0xd99379(0xfb)])==null?void 0x0:_0x3e2c8c[_0xd99379(0x1c3)](_0x36acaf,_0x29dfa2);},_0x39210f[_0xbe50ce(0x33c)]=_0x135906=>{var _0x32ac8e=_0xbe50ce,_0x57e43c,_0x44a3fc,_0x534c25;if(!((_0x57e43c=this[_0x32ac8e(0x2b2)])!=null&&_0x57e43c[_0x32ac8e(0x33c)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x534c25=(_0x44a3fc=this[_0x32ac8e(0x2b2)])==null?void 0x0:_0x44a3fc[_0x32ac8e(0x33c)])==null?void 0x0:_0x534c25[_0x32ac8e(0x1c3)](_0x44a3fc,_0x135906);},_0x39210f;}async[_0x48c408(0xd3)](){var _0x377b8f=_0x48c408;const _0x249999=await super[_0x377b8f(0xd3)]();return this['disposeWithMe'](this[_0x377b8f(0x98)]['onMutationExecutedForCollab']((_0x388cb0,_0x513efb)=>{var _0x2aa7c5=_0x377b8f;if(_0x388cb0['type']!==_0x1e818c[_0x2aa7c5(0x219)]||_0x513efb!=null&&_0x513efb['fromCollab']||_0x513efb!=null&&_0x513efb[_0x2aa7c5(0x28b)]||_0x388cb0['id']===_0x1ec9ae['id'])return;const _0x32d37a=_0x388cb0[_0x2aa7c5(0x360)];if((_0x32d37a==null?void 0x0:_0x32d37a[_0x2aa7c5(0x14d)])!==this['unitID'])return;const _0x4a0066=_0x388cb0,_0xa85d09=this['_compressMutationService'][_0x2aa7c5(0x370)][_0x2aa7c5(0x12a)](this[_0x2aa7c5(0x265)][_0x2aa7c5(0x370)][_0x2aa7c5(0x26b)]()[_0x2aa7c5(0x24f)])([_0x4a0066],this['_univerInstanceService'])||[_0x4a0066];this[_0x2aa7c5(0x186)](_0xa85d09[0x0]);})),_0x249999;}};St=At([$(0x3,_0x27d190(_0x1b9850)),$(0x4,_0x27d190(_0x44145c)),$(0x5,_0x27d190(_0x1f8550)),$(0x6,_0x27d190(_0x31494d)),$(0x7,_0x27d190(ve)),$(0x8,_0xad3f4d),$(0x9,_0x5532d1),$(0xa,_0x2b6b9d),$(0xb,_0x2c6912),$(0xc,_0x441adc(ht)),$(0xd,_0x441adc(X))],St);let gt=class extends nt{constructor(_0xdaad67,_0x48a5ea,_0x3c11be,_0x11d249,_0x189080,_0x362dfb,_0x368ef3,_0x8f1103,_0x33fd38,_0x235785,_0x3486f4,_0x2cc970,_0x3d10f2,_0x51f00b,_0x53b01f){var _0x24a080=_0x48c408;super(_0xdaad67,_0x3c11be,_0x48a5ea,_0x11d249,_0x189080,_0x362dfb,_0x368ef3,_0x33fd38,_0x235785,_0x3486f4,_0x2cc970,_0x3d10f2,_0x51f00b,_0x53b01f),this['unitID']=_0xdaad67,this[_0x24a080(0x362)]=_0x48a5ea,this[_0x24a080(0x2b3)]=_0x8f1103;}[_0x48c408(0x1bf)](){var _0x175b69=_0x48c408;const _0x30a473=super[_0x175b69(0x1bf)]();return _0x30a473['onTransformSelections']=_0x5f4f0f=>this['_sheetTransformSelectionsService']['transformSelections'](_0x5f4f0f),_0x30a473;}async[_0x48c408(0xd3)](){var _0x7b6bf=_0x48c408;const _0x684f75=await super['_init']();return this['disposeWithMe'](this[_0x7b6bf(0x98)]['onMutationExecutedForCollab']((_0x388975,_0x172d49)=>{var _0xc74ac=_0x7b6bf;if(_0x388975[_0xc74ac(0x362)]!==_0x1e818c['MUTATION']||_0x172d49!=null&&_0x172d49['fromCollab']||_0x172d49!=null&&_0x172d49[_0xc74ac(0x28b)])return;const _0x139964=_0x388975['params'];if((_0x139964==null?void 0x0:_0x139964[_0xc74ac(0x14d)])!==this[_0xc74ac(0x1b2)])return;const _0x4a286a=_0x388975,_0x1e47ca=this[_0xc74ac(0x265)][_0xc74ac(0x370)]['fetchThroughInterceptors'](this[_0xc74ac(0x265)][_0xc74ac(0x370)]['getInterceptPoints']()[_0xc74ac(0x24f)])([_0x4a286a],this[_0xc74ac(0xd2)])||[_0x4a286a];this[_0xc74ac(0x186)](_0x1e47ca[0x0]);})),_0x684f75;}};gt=At([$(0x3,_0x27d190(_0x1b9850)),$(0x4,_0x27d190(_0x44145c)),$(0x5,_0x27d190(_0x1f8550)),$(0x6,_0x27d190(_0x31494d)),$(0x7,_0x27d190(st)),$(0x8,_0x27d190(ve)),$(0x9,_0xad3f4d),$(0xa,_0x5532d1),$(0xb,_0x2b6b9d),$(0xc,_0x2c6912),$(0xd,_0x441adc(ht)),$(0xe,_0x441adc(X))],gt);const Ys=_0xe9acff(_0x48c408(0x204));function Ks(_0x367c94){var _0x4800bb=_0x48c408,_0x4c6eaf,_0x3f08d7,_0x256b20,_0x99f1d7,_0x43bb5c;const _0x348e2e=_0x367c94[_0x4800bb(0x356)],_0x3a88a6=JSON['parse'](_0x348e2e);switch(_0x3a88a6['cmd']){case j[_0x4800bb(0x10f)]:case j[_0x4800bb(0x32e)]:{const _0x46c37f=_0x3a88a6[_0x4800bb(0x133)];return{..._0x3a88a6,'data':_0x46c37f,'cmd':_0x3a88a6[_0x4800bb(0x316)]};}case j[_0x4800bb(0x138)]:{const _0x133968=_0x3a88a6[_0x4800bb(0x1f0)];return{..._0x3a88a6,'data':_0x133968,'cmd':_0x3a88a6[_0x4800bb(0x316)]};}case j[_0x4800bb(0x32c)]:{const _0x225f20=_0x3a88a6['collaMsg'];switch(_0x225f20[_0x4800bb(0x369)]){case _0x249d85['PERMISSION_REJ']:return{..._0x3a88a6,'data':{..._0x225f20,'data':(_0x4c6eaf=_0x225f20['permissionRejEvent'])==null?void 0x0:_0x4c6eaf['cs']},'cmd':_0x3a88a6['cmd']};case _0x249d85[_0x4800bb(0x28e)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':(_0x3f08d7=_0x225f20[_0x4800bb(0x232)])==null?void 0x0:_0x3f08d7['cs']},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x306)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':(_0x256b20=_0x225f20[_0x4800bb(0x1a6)])==null?void 0x0:_0x256b20['cs']},'cmd':_0x3a88a6['cmd']};case _0x249d85[_0x4800bb(0x12d)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':(_0x99f1d7=_0x225f20['csRejEvent'])==null?void 0x0:_0x99f1d7['cs']},'cmd':_0x3a88a6['cmd']};case _0x249d85[_0x4800bb(0x104)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':(_0x43bb5c=_0x225f20[_0x4800bb(0x2c0)])==null?void 0x0:_0x43bb5c['cs']},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x237)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0xd9)]},'cmd':_0x3a88a6['cmd']};case _0x249d85[_0x4800bb(0x25b)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20['joinEvent']},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x32a)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x13f)]},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x2fa)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20['liveShareNewHost']},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85['LIVESHARE_FETCH_OPERATIONS']:case _0x249d85[_0x4800bb(0x113)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x18b)]},'cmd':_0x3a88a6['cmd']};case _0x249d85[_0x4800bb(0x39d)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x238)]},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x2b0)]:return{..._0x3a88a6,'data':_0x225f20,'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85['COMMENT_UPDATE']:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x1a3)]},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x124)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x2c1)]},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85['SHOULD_CLOSE_CONN']:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20[_0x4800bb(0x258)]},'cmd':_0x3a88a6[_0x4800bb(0x316)]};case _0x249d85[_0x4800bb(0x3a6)]:return{..._0x3a88a6,'data':{..._0x225f20,'data':_0x225f20['uniscriptRunEvent']},'cmd':_0x3a88a6[_0x4800bb(0x316)]};default:return _0x3a88a6;}}default:return _0x3a88a6;}}function qs(_0x58df49){var _0x4988f2=_0x48c408;switch(_0x58df49[_0x4988f2(0x316)]){case j[_0x4988f2(0x10f)]:case j[_0x4988f2(0x32e)]:return JSON[_0x4988f2(0x29a)]({'cmd':_0x58df49[_0x4988f2(0x316)],'routeKey':_0x58df49['routeKey']});case j[_0x4988f2(0x2ef)]:{let _0xe89c28;switch(_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x369)]){case _0x249d85[_0x4988f2(0x237)]:{_0xe89c28={'eventID':_0x249d85['UPDATE_CURSOR'],'updateCursorEvent':_0x58df49[_0x4988f2(0x356)]['data']};break;}case _0x249d85[_0x4988f2(0x32a)]:{_0xe89c28={'eventID':_0x249d85[_0x4988f2(0x32a)],'leaveEvent':_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x356)]};break;}case _0x249d85[_0x4988f2(0x25b)]:{_0xe89c28={'eventID':_0x249d85['USERS_ENTER'],'joinEvent':_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x356)]};break;}case _0x249d85[_0x4988f2(0x2fa)]:{_0xe89c28={'eventID':_0x249d85['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x356)]};break;}case _0x249d85[_0x4988f2(0x113)]:{_0xe89c28={'eventID':_0x249d85[_0x4988f2(0x113)],'liveShareOperation':_0x58df49['data']['data']};break;}case _0x249d85[_0x4988f2(0x39d)]:{_0xe89c28={'eventID':_0x249d85['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x356)]};break;}case _0x249d85['LIVESHARE_REQUEST_HOST']:{_0xe89c28={'eventID':_0x249d85[_0x4988f2(0xbb)],'liveShareRequestHost':_0x58df49[_0x4988f2(0x356)][_0x4988f2(0x356)]};break;}case _0x249d85[_0x4988f2(0xce)]:{_0xe89c28={'eventID':_0x249d85[_0x4988f2(0xce)]};break;}default:_0xe89c28={'eventID':_0x58df49[_0x4988f2(0x356)]['eventID']};}return JSON[_0x4988f2(0x29a)]({'cmd':_0x58df49[_0x4988f2(0x316)],'routeKey':_0x58df49[_0x4988f2(0x2ce)],'collaMsg':_0xe89c28});}case j['JOIN']:return JSON[_0x4988f2(0x29a)]({'cmd':_0x58df49[_0x4988f2(0x316)],'routeKey':_0x58df49[_0x4988f2(0x2ce)],'joinReq':_0x58df49['data']});case j[_0x4988f2(0xe8)]:return JSON[_0x4988f2(0x29a)]({'cmd':_0x58df49[_0x4988f2(0x316)],'routeKey':_0x58df49[_0x4988f2(0x2ce)],'leaveReq':_0x58df49[_0x4988f2(0x356)]});default:throw new Error(_0x4988f2(0x32f));}}var zs=Object[_0x48c408(0x2d3)],Xs=(_0x30551e,_0x54148d,_0x14b3d1,_0x267969)=>{var _0x354542=_0x48c408;for(var _0x1d1191=_0x267969>0x1?void 0x0:_0x267969?zs(_0x54148d,_0x14b3d1):_0x54148d,_0x3fbf69=_0x30551e[_0x354542(0x1e7)]-0x1,_0x18749f;_0x3fbf69>=0x0;_0x3fbf69--)(_0x18749f=_0x30551e[_0x3fbf69])&&(_0x1d1191=_0x18749f(_0x1d1191)||_0x1d1191);return _0x1d1191;},ye=(_0x3a68c5,_0x378aca)=>(_0x34bfb5,_0x1e2199)=>_0x378aca(_0x34bfb5,_0x1e2199,_0x3a68c5);const Ni=_0xe9acff(_0x48c408(0x361));function Js(_0x9360f0,_0x2493ab,_0x4e5512){return _0x9360f0+'/'+_0x2493ab+'/unit/'+_0x4e5512+'/new_changes';}let Wt=class extends _0x4a1af2{constructor(_0x49b5ca,_0x4f0a57,_0x14dcb6,_0x47940c,_0x18f0f6){var _0x44f67f=_0x48c408;super(),this[_0x44f67f(0x3a0)]=_0x49b5ca,this[_0x44f67f(0x280)]=_0x4f0a57,this[_0x44f67f(0x117)]=_0x14dcb6,this['_logService']=_0x47940c,this['_snapshotServerService']=_0x18f0f6;}[_0x48c408(0x31e)](_0x2edd2f){var _0x51cb0d=_0x48c408;const _0x54818a=this[_0x51cb0d(0x3a0)][_0x51cb0d(0x39e)](_0x34cc27);if(!_0x54818a)throw new Error(_0x51cb0d(0x1ac));const _0x5d6b21=_0x54818a['createSocket'](_0x2edd2f);if(!_0x5d6b21)throw new Error(_0x51cb0d(0x2cb));const _0x2a5b7b=new _0x5ac374(),_0x242986=new _0x2e504e();_0x2a5b7b[_0x51cb0d(0x197)](_0x5d6b21[_0x51cb0d(0x176)][_0x51cb0d(0x1df)](_0x59937a=>_0x242986[_0x51cb0d(0x22a)](_0x59937a))),_0x2a5b7b[_0x51cb0d(0x197)](_0x33f965(()=>_0x242986[_0x51cb0d(0x17a)]()));const _0x143db1=new _0x2e504e();_0x2a5b7b[_0x51cb0d(0x197)](_0x5d6b21[_0x51cb0d(0x35c)][_0x51cb0d(0x1df)](_0x90e0d8=>_0x143db1['next'](_0x90e0d8))),_0x2a5b7b[_0x51cb0d(0x197)](_0x33f965(()=>_0x143db1['complete']()));const _0x36ecb2=new _0x2e504e();_0x2a5b7b[_0x51cb0d(0x197)](_0x5d6b21[_0x51cb0d(0x19a)][_0x51cb0d(0x1df)](_0xb140d7=>{const _0x45ea47=Ks(_0xb140d7);_0x36ecb2['next'](_0x45ea47);})),_0x2a5b7b[_0x51cb0d(0x197)](_0x33f965(()=>_0x36ecb2[_0x51cb0d(0x17a)]()));let _0x225901;const _0x2ec6b7=()=>{var _0x5c6ac7=_0x51cb0d;_0x143db1[_0x5c6ac7(0x22a)](new Event(_0x5c6ac7(0xe9))),_0x242986['next'](new Event(_0x5c6ac7(0xe9))),_0x225901[_0x5c6ac7(0xe1)]();};return _0x225901={'memberID':'','close$':_0x242986['asObservable'](),'error$':_0x143db1[_0x51cb0d(0xe4)](),'open$':_0x5d6b21[_0x51cb0d(0x2e3)],'message$':_0x36ecb2[_0x51cb0d(0xe4)](),'send':_0x5d5a58=>{var _0xefb23d=_0x51cb0d;if(_0x5d5a58[_0xefb23d(0x316)]===j[_0xefb23d(0x2ef)]){if(_0x5d5a58['data'][_0xefb23d(0x369)]===_0x249d85['SUBMIT_CHANGESET']){this['_submitChangeset'](_0x225901,_0x5d5a58['data'])[_0xefb23d(0x2d9)](_0x282bc5=>{var _0x495aae=_0xefb23d;this[_0x495aae(0x3a4)]['error'](_0x282bc5),_0x2ec6b7();});return;}if(_0x5d5a58[_0xefb23d(0x356)][_0xefb23d(0x369)]===_0x249d85['FETCH_MISSING']){const _0x50f6b5=_0x5d5a58[_0xefb23d(0x356)];this['_fetchMissChangesets'](_0x50f6b5)['then'](_0x3a0f0c=>{var _0x1568ca=_0xefb23d;_0x36ecb2[_0x1568ca(0x22a)]({'cmd':j['RECV'],'code':Ee['OK'],'routeKey':_0x50f6b5[_0x1568ca(0x356)][_0x1568ca(0x1b2)],'routeType':'','data':{'eventID':_0x249d85[_0x1568ca(0x247)],'data':{'changesets':_0x3a0f0c}}});})[_0xefb23d(0x2d9)](_0x29a2ee=>{var _0x299d6c=_0xefb23d;this[_0x299d6c(0x3a4)][_0x299d6c(0x286)](_0x29a2ee),_0x2ec6b7();});return;}}_0x5d6b21['send'](qs(_0x5d5a58));},'close':()=>{var _0x5c6b7f=_0x51cb0d;_0x5d6b21[_0x5c6b7f(0xe1)](),_0x2a5b7b[_0x5c6b7f(0x2e8)]();}},_0x225901;}async[_0x48c408(0x2ed)](_0x4a44ff,_0x3d3088){var _0x1a04fd=_0x48c408,_0x2f0294;const {unitType:_0x433000,unitID:_0x4ef33d,changeset:_0x5467ef}=_0x3d3088['data'],_0x51d640={'unitID':_0x4ef33d,'memberID':_0x4a44ff[_0x1a04fd(0x358)],'type':_0x433000,'changeset':_0x52c9eb(_0x5467ef)},_0xd6323d=this[_0x1a04fd(0x117)][_0x1a04fd(0x366)](K),_0x4a554c=Js((_0x2f0294=_0xd6323d==null?void 0x0:_0xd6323d['collabSubmitChangesetUrl'])!=null?_0x2f0294:Ds,_0x433000,_0x4ef33d);try{await this[_0x1a04fd(0x280)][_0x1a04fd(0x2ae)](_0x4a554c,{'body':_0x51d640});}catch(_0x1c987f){throw this[_0x1a04fd(0x3a4)]['error'](_0x1a04fd(0x26c),'submit\x20changeset\x20error!'),_0x1c987f;}}async['_fetchMissChangesets'](_0x1c4ff0){var _0x33926c=_0x48c408;const {unitID:_0x57a683,from:_0x437dd1,to:_0x27fe3b,unitType:_0x247768}=_0x1c4ff0[_0x33926c(0x356)];return(await this['_snapshotServerService'][_0x33926c(0x171)]({'metadata':void 0x0},{'unitID':_0x57a683,'type':_0x247768,'from':_0x437dd1,'to':_0x27fe3b}))[_0x33926c(0x21f)][_0x33926c(0x2e2)](_0x4b764e=>((_0x4b764e[_0x33926c(0x187)]===null||_0x4b764e[_0x33926c(0x187)]===void 0x0)&&(_0x4b764e['mutations']=[]),_0x4b764e));}};Wt=Xs([ye(0x0,_0x27d190(_0x1b9850)),ye(0x1,_0x27d190(_0x1fe4bb)),ye(0x2,_0x50caa9),ye(0x3,_0x5532d1),ye(0x4,_0x5d8fb1)],Wt);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x33be0e,_0x1fa070,_0x1d03ce,_0x112bc1)=>{var _0x55cd0e=_0x48c408;for(var _0x5c5d5e=_0x112bc1>0x1?void 0x0:_0x112bc1?Zs(_0x1fa070,_0x1d03ce):_0x1fa070,_0x764a34=_0x33be0e[_0x55cd0e(0x1e7)]-0x1,_0x38ef46;_0x764a34>=0x0;_0x764a34--)(_0x38ef46=_0x33be0e[_0x764a34])&&(_0x5c5d5e=_0x38ef46(_0x5c5d5e)||_0x5c5d5e);return _0x5c5d5e;},Re=(_0x38b4fb,_0x590e60)=>(_0x562066,_0x381b5f)=>_0x590e60(_0x562066,_0x381b5f,_0x38b4fb);let we=class extends _0x4a1af2{constructor(_0x539d72,_0x54d8b8,_0x47bdaf,_0x7a98f6,_0x269879,_0x26fca9){var _0x3c2155=_0x48c408;super(),D(this,_0x3c2155(0xe6),new _0x228d76(void 0x0)),D(this,_0x3c2155(0x2e1),this['_socket$'][_0x3c2155(0xe4)]()),D(this,_0x3c2155(0xc0),null),D(this,'_sessions',new Map()),D(this,'_status$',new _0x228d76(me[_0x3c2155(0x387)])),D(this,_0x3c2155(0xef),this['_status$'][_0x3c2155(0xe4)]()),D(this,_0x3c2155(0x2a0),!0x1),D(this,'_retryConnectingTimer'),D(this,_0x3c2155(0x262),0x0),D(this,_0x3c2155(0x270)),D(this,_0x3c2155(0x9b)),(this[_0x3c2155(0x3a0)]=_0x539d72,this['_logService']=_0x54d8b8,this['_configService']=_0x47bdaf,this[_0x3c2155(0x33e)]=_0x7a98f6,this[_0x3c2155(0x146)]=_0x269879,this[_0x3c2155(0x90)]=_0x26fca9,this[_0x3c2155(0x1bc)]());}get[_0x48c408(0x21d)](){return this['_socket$']['getValue']();}[_0x48c408(0x1bc)](){var _0x146081=_0x48c408;this[_0x146081(0x90)]&&this[_0x146081(0xdb)](this['_networkConditionService'][_0x146081(0xd5)]['subscribe'](_0x3bed7f=>{var _0x489982=_0x146081;_0x3bed7f&&!this['_socket']&&this[_0x489982(0x383)](),_0x3bed7f||this[_0x489982(0xc3)]();}));}[_0x48c408(0x2e8)](){var _0x34febc=_0x48c408;super[_0x34febc(0x2e8)](),this['_clearRetryConnectingTimer'](),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer'](),this['_sessions']['forEach'](_0x4e2c40=>_0x4e2c40[_0x34febc(0x2e8)]()),this[_0x34febc(0x3a1)][_0x34febc(0x10d)](),this['_status$']['complete']();}async[_0x48c408(0xdc)](_0x33add7){var _0x329e81=_0x48c408;if(this[_0x329e81(0x3a1)]['has'](_0x33add7))return this[_0x329e81(0x3a1)][_0x329e81(0x39e)](_0x33add7);this[_0x329e81(0x27d)]();const _0x769897=this[_0x329e81(0x3a0)][_0x329e81(0xbe)](It,_0x33add7,this[_0x329e81(0xe6)][_0x329e81(0xe4)]());return this[_0x329e81(0x3a1)][_0x329e81(0x351)](_0x33add7,_0x769897),_0x769897;}[_0x48c408(0x1d3)](_0x2da78c){var _0x110f8b=_0x48c408,_0x53a252;const _0x491cab=this[_0x110f8b(0x3a1)][_0x110f8b(0x39e)](_0x2da78c);_0x491cab&&(this['_sessions'][_0x110f8b(0x36e)](_0x2da78c),_0x491cab[_0x110f8b(0xe1)]()),this[_0x110f8b(0x3a1)]['size']||(_0x53a252=this['_socket'])==null||_0x53a252[_0x110f8b(0xe1)]();}[_0x48c408(0x383)](){var _0x3c67bb=_0x48c408;this[_0x3c67bb(0x262)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3c67bb(0x1a2)]();}[_0x48c408(0x2bb)](){var _0x406e3f=_0x48c408;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x406e3f(0xad)]),this[_0x406e3f(0xad)]=null);}async[_0x48c408(0x203)](){var _0x372be=_0x48c408,_0x11eeb5;const _0x30becd=this[_0x372be(0x117)][_0x372be(0x366)](K),_0x4e4825=(_0x11eeb5=_0x30becd==null?void 0x0:_0x30becd['collabWebSocketUrl'])!=null?_0x11eeb5:Ts,_0x4c1f4e=await this[_0x372be(0x33e)][_0x372be(0x2ab)](_0x4e4825);return this['_candidateSocket']=_0x4c1f4e,_0x4c1f4e;}async[_0x48c408(0x27d)](){var _0x304550=_0x48c408,_0x354029,_0x1e4f3e;try{const _0x4ab8b4=(_0x1e4f3e=(_0x354029=this[_0x304550(0x21d)])!=null?_0x354029:this[_0x304550(0xc0)])!=null?_0x1e4f3e:await this['_createSocket']();if(_0x4ab8b4){const _0xe26702=_0x4ab8b4[_0x304550(0x235)];_0x4ab8b4[_0x304550(0x235)]=_0x55d784=>(_0x55d784[_0x304550(0x316)]!==j[_0x304550(0xe8)]&&this[_0x304550(0x1bb)](),_0xe26702[_0x304550(0x193)](_0x4ab8b4,[_0x55d784])),_0x4ab8b4[_0x304550(0x19a)][_0x304550(0x1df)](_0x19c05e=>this['_onMessage'](_0x4ab8b4,_0x19c05e)),_0x4ab8b4[_0x304550(0x35c)][_0x304550(0xa9)](_0x8268f2(0x1))['subscribe'](_0x54a4be=>this[_0x304550(0x3a4)][_0x304550(0x286)](_0x304550(0x231),_0x54a4be)),_0x4ab8b4[_0x304550(0x2e3)][_0x304550(0xa9)](_0x8268f2(0x1))[_0x304550(0x1df)](()=>{var _0x4cfddb=_0x304550;this[_0x4cfddb(0x373)](_0x4ab8b4);}),_0x4ab8b4['close$']['pipe'](_0x8268f2(0x1))[_0x304550(0x1df)](_0x2edcfc=>{var _0x2491c0=_0x304550;this['_logService'][_0x2491c0(0x137)](_0x2491c0(0x2c2),_0x2491c0(0x8a),_0x2edcfc),this[_0x2491c0(0x166)]();});}}catch(_0xbb88b8){this['_logService'][_0x304550(0x286)](_0xbb88b8),this[_0x304550(0x166)]();}}[_0x48c408(0x373)](_0x176e24){var _0x241d61=_0x48c408;this[_0x241d61(0x3a4)][_0x241d61(0x137)](_0x241d61(0x2c2),'socket\x20open.'),_0x176e24['send']({'cmd':j[_0x241d61(0x32e)]}),this[_0x241d61(0x1bb)]();}[_0x48c408(0xc3)](){var _0x57ebd7=_0x48c408;this[_0x57ebd7(0x2a0)]=!0x1,this['_candidateSocket']=null,this[_0x57ebd7(0x30a)][_0x57ebd7(0x22a)](me[_0x57ebd7(0x126)]),this[_0x57ebd7(0xe6)]['next'](null),this[_0x57ebd7(0x357)](),this[_0x57ebd7(0x1c2)]();}[_0x48c408(0x166)](){var _0x49b395=_0x48c408,_0x11c3c5;this[_0x49b395(0xc3)](),this['_retryCount']<((_0x11c3c5=this[_0x49b395(0x117)][_0x49b395(0x366)](Cs))!=null?_0x11c3c5:bs)?(this['_collaborationUIEventService'][_0x49b395(0x371)]({'id':re[_0x49b395(0x32b)]}),this[_0x49b395(0x1a2)]()):this['_collaborationUIEventService'][_0x49b395(0x371)]({'id':re[_0x49b395(0xb7)]});}['_tryReconnect'](){var _0x2cff49=_0x48c408,_0x3f2828;const _0x4825a7=this['_retryCount'],_0x56a0ce=this[_0x2cff49(0x117)][_0x2cff49(0x366)](K),_0x56494c=_0x4825a7===0x0?0x0:((_0x3f2828=_0x56a0ce==null?void 0x0:_0x56a0ce[_0x2cff49(0x2d8)])!=null?_0x3f2828:Ns)*0x2**_0x4825a7;this[_0x2cff49(0xad)]=setTimeout(()=>{var _0x4f0f9a=_0x2cff49;clearTimeout(this[_0x4f0f9a(0xad)]),this[_0x4f0f9a(0xad)]=null,this[_0x4f0f9a(0x27d)]();},_0x56494c),this[_0x2cff49(0x262)]+=0x1;}[_0x48c408(0xea)](_0x305948,_0x325d4e){var _0x93bf8f=_0x48c408;const {cmd:_0x5a8c7a}=_0x325d4e;_0x5a8c7a===j['HELLO']&&!this[_0x93bf8f(0x2a0)]&&(_0x305948[_0x93bf8f(0x358)]=_0x325d4e[_0x93bf8f(0x356)]['memberID'],this['_socket$'][_0x93bf8f(0x22a)](_0x305948),this[_0x93bf8f(0x30a)]['next'](me[_0x93bf8f(0x257)]),this[_0x93bf8f(0x2a0)]=!0x0,this['_candidateSocket']=null),_0x5a8c7a===j[_0x93bf8f(0x10f)]&&this[_0x93bf8f(0x357)](),this[_0x93bf8f(0x1bb)]();}[_0x48c408(0x1bb)](){var _0x3f9f37=_0x48c408,_0x1b8720;this[_0x3f9f37(0x1c2)](),this[_0x3f9f37(0x270)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x1b8720=this[_0x3f9f37(0x117)][_0x3f9f37(0x366)](Os))!=null?_0x1b8720:Rs);}['_sendHeartbeat'](){var _0x5717f1=_0x48c408;this[_0x5717f1(0x21d)][_0x5717f1(0x235)]({'cmd':j[_0x5717f1(0x10f)]}),this[_0x5717f1(0xd0)]();}['_waitForHeartbeatResponse'](){var _0x515389=_0x48c408,_0x17e5a6;this[_0x515389(0x9b)]=setTimeout(()=>this[_0x515389(0x166)](),(_0x17e5a6=this[_0x515389(0x117)][_0x515389(0x366)](fi))!=null?_0x17e5a6:vi);}[_0x48c408(0x1c2)](){var _0x968c14=_0x48c408;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x968c14(0x270)]),this[_0x968c14(0x270)]=null);}[_0x48c408(0x357)](){var _0x10a119=_0x48c408;this[_0x10a119(0x9b)]!=null&&(clearTimeout(this['_timeoutTimer']),this['_timeoutTimer']=null);}};we=Qs([Re(0x0,_0x27d190(_0x1b9850)),Re(0x1,_0x5532d1),Re(0x2,_0x50caa9),Re(0x3,Ni),Re(0x4,_0x27d190(ve)),Re(0x5,_0x441adc(Ys))],we);var en=Object[_0x48c408(0x2d3)],tn=(_0x104f95,_0x587216,_0x187410,_0x394ec9)=>{var _0x5c61c6=_0x48c408;for(var _0x2c6e27=_0x394ec9>0x1?void 0x0:_0x394ec9?en(_0x587216,_0x187410):_0x587216,_0x3c1201=_0x104f95[_0x5c61c6(0x1e7)]-0x1,_0x384fa7;_0x3c1201>=0x0;_0x3c1201--)(_0x384fa7=_0x104f95[_0x3c1201])&&(_0x2c6e27=_0x384fa7(_0x2c6e27)||_0x2c6e27);return _0x2c6e27;},Fe=(_0x138da7,_0x5ade73)=>(_0xf4ddaf,_0x5153d0)=>_0x5ade73(_0xf4ddaf,_0x5153d0,_0x138da7);let rt=class extends _0x4e8d87{constructor(_0x16d5c1,_0x2eb398,_0x304ec4,_0x36e2bf){var _0x1560bb=_0x48c408,_0x4722f0;super(),D(this,_0x1560bb(0x2d1),new Map()),D(this,'_entityInit$',new _0x2e504e()),D(this,_0x1560bb(0x12c),this[_0x1560bb(0x228)][_0x1560bb(0xe4)]()),(this[_0x1560bb(0x3a0)]=_0x16d5c1,this[_0x1560bb(0x2c9)]=_0x2eb398,this[_0x1560bb(0x117)]=_0x304ec4,this['_univerInstanceService']=_0x36e2bf,((_0x4722f0=this['_configService']['getConfig'](K))==null?void 0x0:_0x4722f0[_0x1560bb(0x1ff)])!==!0x1&&this[_0x1560bb(0xd3)]());}['dispose'](){var _0x4fc545=_0x48c408;super[_0x4fc545(0x2e8)](),this[_0x4fc545(0x2d1)][_0x4fc545(0x3a3)](_0x25bfca=>_0x25bfca[_0x4fc545(0x2e8)]()),this[_0x4fc545(0x2d1)]['clear']();}['getCollabEntity'](_0x28f1fe){var _0x490f06;return(_0x490f06=this['_entities']['get'](_0x28f1fe))!=null?_0x490f06:null;}[_0x48c408(0x303)](_0x2ce82d){var _0x1f174e=_0x48c408;const _0x3efb68=this['getCollabEntity'](_0x2ce82d);return _0x3efb68?_0x5535f2(_0x3efb68):this[_0x1f174e(0x228)]['pipe'](_0x41f851(_0x384c60=>_0x384c60[_0x1f174e(0x1b2)]===_0x2ce82d));}[_0x48c408(0x31f)](_0xc21baf){var _0x402502=_0x48c408;return _0x477ce6(this[_0x402502(0x303)](_0xc21baf)['pipe'](_0x51ecb1(()=>{})));}[_0x48c408(0xd3)](){var _0x3e661e=_0x48c408;this[_0x3e661e(0xd2)][_0x3e661e(0x26a)](_0x404af9[_0x3e661e(0x2eb)])[_0x3e661e(0xa9)](_0x3ee046(this['dispose$']),_0x469e1b(0x10))[_0x3e661e(0x1df)](async _0x183311=>{var _0x53dbf9=_0x3e661e;const _0x4dbbf3=_0x183311[_0x53dbf9(0x140)](),_0x4766fd=await this[_0x53dbf9(0x170)](_0x4dbbf3,Q[_0x53dbf9(0x2eb)]);this[_0x53dbf9(0x2d1)][_0x53dbf9(0x351)](_0x4dbbf3,_0x4766fd);}),this[_0x3e661e(0xd2)][_0x3e661e(0x26a)](_0x404af9[_0x3e661e(0x33a)])[_0x3e661e(0xa9)](_0x3ee046(this['dispose$']),_0x469e1b(0x10))['pipe'](_0x41f851(_0xd355ab=>!_0xd355ab[_0x3e661e(0x140)]()[_0x3e661e(0x11e)]('__')))[_0x3e661e(0x1df)](async _0x3dbda9=>{var _0x188184=_0x3e661e;const _0x53ac2e=_0x3dbda9['getUnitId'](),_0x2f24c3=await this[_0x188184(0x170)](_0x53ac2e,Q[_0x188184(0x33a)]);this[_0x188184(0x2d1)][_0x188184(0x351)](_0x53ac2e,_0x2f24c3);}),_0x5f1d4a(this['_univerInstanceService'][_0x3e661e(0x196)](_0x404af9[_0x3e661e(0x2eb)]),this[_0x3e661e(0xd2)][_0x3e661e(0x196)](_0x404af9[_0x3e661e(0x33a)]))['pipe'](_0x3ee046(this[_0x3e661e(0x37d)]))[_0x3e661e(0x1df)](_0x3d076a=>{var _0x2be430=_0x3e661e;const _0x22bfbd=_0x3d076a[_0x2be430(0x140)](),_0x4ad031=this[_0x2be430(0x2d1)][_0x2be430(0x39e)](_0x22bfbd);_0x4ad031&&(_0x4ad031[_0x2be430(0x2e8)](),this[_0x2be430(0x2d1)]['delete'](_0x22bfbd));});}async['_startCollaboration'](_0x8cc0dc,_0x4fd725){var _0x453048=_0x48c408;const _0xd232a6=await this[_0x453048(0x2c9)][_0x453048(0xdc)](_0x8cc0dc),_0x1f91c4=this[_0x453048(0x3a0)]['createInstance'](this[_0x453048(0x17b)](_0x4fd725),_0x8cc0dc,_0x4fd725,_0xd232a6);return await _0x1f91c4[_0x453048(0x300)](),this[_0x453048(0x228)][_0x453048(0x22a)](_0x1f91c4),_0x1f91c4;}[_0x48c408(0x17b)](_0x2c27ca){var _0x58c9f4=_0x48c408;switch(_0x2c27ca){case Q[_0x58c9f4(0x33a)]:return St;case Q[_0x58c9f4(0x2eb)]:return gt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x2c27ca);}}};rt=tn([Fe(0x0,_0x27d190(_0x1b9850)),Fe(0x1,_0x27d190(we)),Fe(0x2,_0x50caa9),Fe(0x3,_0xad3f4d)],rt);const sn=_0x48c408(0x29f),nn='0.17.0',Ci={'name':sn,'version':nn};var rn=Object[_0x48c408(0x2d3)],an=(_0x2a384c,_0xcea3d0,_0x470a2b,_0x21e4e8)=>{for(var _0x1a0239=_0x21e4e8>0x1?void 0x0:_0x21e4e8?rn(_0xcea3d0,_0x470a2b):_0xcea3d0,_0x291c97=_0x2a384c['length']-0x1,_0x45987b;_0x291c97>=0x0;_0x291c97--)(_0x45987b=_0x2a384c[_0x291c97])&&(_0x1a0239=_0x45987b(_0x1a0239)||_0x1a0239);return _0x1a0239;},Yt=(_0xd7f576,_0x4ce246)=>(_0xef4c69,_0x507105)=>_0x4ce246(_0xef4c69,_0x507105,_0xd7f576);const on=_0x48c408(0x346),cn=_0x48c408(0x268);let Tt=class extends _0x4a1af2{constructor(_0x2f0502,_0x3f3d26){var _0x57145a=_0x48c408;super(),this[_0x57145a(0xd2)]=_0x2f0502,this[_0x57145a(0x117)]=_0x3f3d26,this[_0x57145a(0xd3)]();}[_0x48c408(0xd3)](){var _0x20bf75=_0x48c408;this[_0x20bf75(0xdb)](this['_univerInstanceService'][_0x20bf75(0x2f1)][_0x20bf75(0x1df)](()=>{var _0x5b91ca=_0x20bf75,_0xa375cb;const _0x3ecfe4=this[_0x5b91ca(0xd2)]['getFocusedUnit']();let _0xc87d85=(_0xa375cb=this[_0x5b91ca(0x117)][_0x5b91ca(0x366)](on))!=null?_0xa375cb:cn;_0x3ecfe4 instanceof _0x184f74&&(_0xc87d85=_0x3ecfe4[_0x5b91ca(0x20f)]),document['title']=_0xc87d85;}));}};Tt=an([Yt(0x0,_0xad3f4d),Yt(0x1,_0x50caa9)],Tt);var _n=Object[_0x48c408(0x2d3)],hn=(_0x1f1a41,_0x140fec,_0x1707d9,_0x11eb05)=>{for(var _0xd72b93=_0x11eb05>0x1?void 0x0:_0x11eb05?_n(_0x140fec,_0x1707d9):_0x140fec,_0xc68d67=_0x1f1a41['length']-0x1,_0x369c8a;_0xc68d67>=0x0;_0xc68d67--)(_0x369c8a=_0x1f1a41[_0xc68d67])&&(_0xd72b93=_0x369c8a(_0xd72b93)||_0xd72b93);return _0xd72b93;},ft=(_0x4bc609,_0x10a149)=>(_0x59d46e,_0x706623)=>_0x10a149(_0x59d46e,_0x706623,_0x4bc609);let at=class{constructor(_0x27277d,_0x4c80c9,_0x492621){var _0x2b97a7=_0x48c408;this['_configService']=_0x27277d,this[_0x2b97a7(0x280)]=_0x4c80c9,this[_0x2b97a7(0x1a5)]=_0x492621,this['init']();}['init'](){var _0x405086=_0x48c408;this[_0x405086(0x280)][_0x405086(0x2f5)]({'priority':0x1,'interceptor':(_0x2d126e,_0x298414)=>_0x298414(_0x2d126e)[_0x405086(0xa9)](_0x48cb03(async _0x3c8727=>{var _0x3701a0=_0x405086;const _0x104ad8=_0x3c8727;if(_0x104ad8[_0x3701a0(0xfd)]===0x191){if(typeof window>'u')throw new Error(_0x3701a0(0x380));if(window[_0x3701a0(0xc2)](this['localeService']['t'](_0x3701a0(0x27b)))){const _0x8ff366=window[_0x3701a0(0x144)](window[_0x3701a0(0x16b)][_0x3701a0(0x23a)]);window[_0x3701a0(0x16b)][_0x3701a0(0x23a)]=this['_getLoginPath']()+_0x3701a0(0x89)+_0x8ff366;}}return _0x104ad8;}))});}[_0x48c408(0xc6)](){var _0xec14a5=_0x48c408,_0x1ce23f;const _0x2ff425=this[_0xec14a5(0x117)][_0xec14a5(0x366)](K);return(_0x1ce23f=_0x2ff425==null?void 0x0:_0x2ff425[_0xec14a5(0x19b)])!=null?_0x1ce23f:ys;}};at=hn([ft(0x0,_0x50caa9),ft(0x1,_0x27d190(_0x1fe4bb)),ft(0x2,_0x27d190(_0x1f8550))],at);var ln=Object['getOwnPropertyDescriptor'],un=(_0x1f661d,_0x5c73eb,_0x4cac05,_0x5c289a)=>{var _0x1fa0a5=_0x48c408;for(var _0x4d9778=_0x5c289a>0x1?void 0x0:_0x5c289a?ln(_0x5c73eb,_0x4cac05):_0x5c73eb,_0x36b0e9=_0x1f661d[_0x1fa0a5(0x1e7)]-0x1,_0x4c1d21;_0x36b0e9>=0x0;_0x36b0e9--)(_0x4c1d21=_0x1f661d[_0x36b0e9])&&(_0x4d9778=_0x4c1d21(_0x4d9778)||_0x4d9778);return _0x4d9778;},Kt=(_0x37dc32,_0x291976)=>(_0x37a142,_0x176048)=>_0x291976(_0x37a142,_0x176048,_0x37dc32);const dn='/universer-api/authz';let Ot=class extends _0x4a1af2{constructor(_0x4c7ea6,_0x464b80){var _0x1b6214=_0x48c408;super(),this[_0x1b6214(0x276)]=_0x4c7ea6,this['_configService']=_0x464b80,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x132ca6=_0x48c408;const _0x203373=this;this[_0x132ca6(0xdb)](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x272ef1({'isMatch'(_0xf73dc3){var _0x47077d=_0x132ca6,_0x4594fe;if(_0xf73dc3['method']===_0x47077d(0x37c)&&((_0x4594fe=_0xf73dc3[_0x47077d(0x100)])!=null&&_0x4594fe[_0x47077d(0x1a9)])){const {objectID:_0x1b60dd,objectType:_0x3e5a08}=_0xf73dc3['requestParams'][_0x47077d(0x1a9)]||{};if(!_0x1b60dd||_0x3e5a08===void 0x0)return!0x1;const _0x407292=_0x203373[_0x47077d(0x1ab)]()+'/'+_0x3e5a08+_0x47077d(0x24b)+_0x1b60dd+_0x47077d(0x399);if(_0xf73dc3[_0x47077d(0x390)]===_0x407292)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56ea17){var _0x45fd86=_0x132ca6,_0xa71bb0;return(_0xa71bb0=_0x56ea17[_0x45fd86(0x100)])==null?void 0x0:_0xa71bb0[_0x45fd86(0x1a9)];},'mergeParamsToRequest'(_0x30ae0d,_0x13922f){var _0x785349=_0x132ca6;const _0x5d62e1=_0x203373[_0x785349(0x1ab)]()+'/-/object/-/batch_allowed',_0xda6149=_0x30ae0d[_0x785349(0xf4)]((_0x4a3b79,_0x50f3b1)=>{var _0x5919c3=_0x785349;const {unitID:_0x364292,objectID:_0x25f383,objectType:_0x4f384d,actions:_0x1753d5}=_0x50f3b1;return _0x4a3b79[_0x364292]||(_0x4a3b79[_0x364292]={}),_0x4a3b79[_0x364292][_0x25f383]||(_0x4a3b79[_0x364292][_0x25f383]={'objectID':_0x25f383,'objectType':_0x4f384d,'actions':[]}),_0x4a3b79[_0x364292][_0x25f383][_0x5919c3(0x15e)][_0x5919c3(0x1a4)](..._0x1753d5),_0x4a3b79;},{}),_0x5c511c=[];for(const _0x3eb542 in _0xda6149)for(const _0x47b9e8 in _0xda6149[_0x3eb542]){const {actions:_0x3354b8,objectType:_0x42dbdb}=_0xda6149[_0x3eb542][_0x47b9e8],_0x7a72be=[...new Set(_0x3354b8)];_0x5c511c['push']({'unitID':_0x3eb542,'objectID':_0x47b9e8,'objectType':_0x42dbdb,'actions':_0x7a72be});}return new _0x3528c5('POST',_0x5d62e1,{'headers':_0x13922f[_0x785349(0x97)],'withCredentials':_0x13922f[_0x785349(0x135)],'responseType':_0x13922f[_0x785349(0xa2)],'body':{'requests':_0x5c511c}});}},{'distributeResult'(_0x1be6c9,_0x36fe06){var _0x48d113=_0x132ca6;const {objectActions:_0x42ea59}=_0x1be6c9;return _0x36fe06[_0x48d113(0x2e2)](_0x27461c=>{var _0x146df7=_0x48d113;const {unitID:_0x35ee9f,objectID:_0x2de5fa,actions:_0x2da9c8}=_0x27461c,_0x19e359=_0x42ea59[_0x146df7(0x189)](_0x13791a=>_0x13791a[_0x146df7(0x1b2)]===_0x35ee9f&&_0x13791a[_0x146df7(0x106)]===_0x2de5fa),_0x586466=_0x2da9c8[_0x146df7(0x2e2)](_0x4318aa=>_0x19e359==null?void 0x0:_0x19e359['actions']['find'](_0x1166ff=>_0x1166ff['action']===_0x4318aa))[_0x146df7(0x372)](_0x1903aa=>!!_0x1903aa);return{'config':_0x27461c,'result':{'actions':_0x586466,'error':_0x1be6c9['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x3b2506=_0x48c408,_0x4227eb;const _0x4bcd73=this[_0x3b2506(0x117)]['getConfig'](K);return(_0x4227eb=_0x4bcd73==null?void 0x0:_0x4bcd73[_0x3b2506(0x1bd)])!=null?_0x4227eb:dn;}async[_0x48c408(0x134)](_0x259c58){var _0x5544da=_0x48c408;const _0x49e1cb=this[_0x5544da(0x1ab)]()+'/'+_0x259c58[_0x5544da(0x244)]+'/object';return(await this[_0x5544da(0x276)][_0x5544da(0x2ae)](_0x49e1cb,{'body':_0x259c58}))[_0x5544da(0x1a9)][_0x5544da(0x106)]||'';}async[_0x48c408(0xdf)](_0x17a27f){var _0xa1fad6=_0x48c408;const _0x52ae79=this[_0xa1fad6(0x1ab)]()+_0xa1fad6(0x230);return(await this[_0xa1fad6(0x276)]['post'](_0x52ae79,{'body':_0x17a27f}))[_0xa1fad6(0x1a9)][_0xa1fad6(0x2cc)];}async[_0x48c408(0x2d6)](_0x2fd04c){var _0x4c9b5c=_0x48c408,_0x1d76b4,_0x466405;const _0x1ffd17=this['_getAPIPrefixPath']()+'/'+_0x2fd04c[_0x4c9b5c(0x244)]+_0x4c9b5c(0x24b)+_0x2fd04c[_0x4c9b5c(0x106)],_0x5f2be2=await this[_0x4c9b5c(0x276)][_0x4c9b5c(0x199)](_0x1ffd17,{'body':_0x2fd04c});if(((_0x466405=(_0x1d76b4=_0x5f2be2==null?void 0x0:_0x5f2be2[_0x4c9b5c(0x1a9)])==null?void 0x0:_0x1d76b4['error'])==null?void 0x0:_0x466405[_0x4c9b5c(0x2b7)])!==0x1)throw new Error(_0x4c9b5c(0x9e));}async[_0x48c408(0x317)](_0x75e875){var _0x13f8b6=_0x48c408;const _0x9152d8=this[_0x13f8b6(0x1ab)]()+'/'+_0x75e875[_0x13f8b6(0x244)]+_0x13f8b6(0x24b)+_0x75e875[_0x13f8b6(0x106)]+_0x13f8b6(0x399);return(await this[_0x13f8b6(0x276)]['post'](_0x9152d8,{'body':_0x75e875}))['body'][_0x13f8b6(0x15e)];}async[_0x48c408(0x248)](_0x19f90e){var _0x3112a3=_0x48c408;const _0x23b502=this[_0x3112a3(0x1ab)]()+_0x3112a3(0xf2);return(await this[_0x3112a3(0x276)]['post'](_0x23b502,{'body':{'requests':_0x19f90e}}))[_0x3112a3(0x1a9)]['objectActions'];}async[_0x48c408(0x295)](_0x9d4ac5){var _0x2d6398=_0x48c408;const _0x562dd3=this[_0x2d6398(0x1ab)]()+'/'+_0x9d4ac5[_0x2d6398(0x244)]+'/role',_0x41bd95=await this[_0x2d6398(0x276)][_0x2d6398(0x2ae)](_0x562dd3,{'body':_0x9d4ac5});return{'roles':_0x41bd95[_0x2d6398(0x1a9)][_0x2d6398(0x277)],'actions':_0x41bd95[_0x2d6398(0x1a9)]['actions']};}async[_0x48c408(0xf6)](_0x33a25b){var _0x1177ce=_0x48c408;const _0x2213cc=this[_0x1177ce(0x1ab)]()+'/collaborator';await this[_0x1177ce(0x276)][_0x1177ce(0x36e)](_0x2213cc,{'params':{'collaboratorID':_0x33a25b[_0x1177ce(0x1d1)],'objectID':_0x33a25b[_0x1177ce(0x106)],'unitID':_0x33a25b[_0x1177ce(0x1b2)]}});}async[_0x48c408(0x220)](_0x415cec){var _0x15a0d7=_0x48c408;const _0x6ddf55=this[_0x15a0d7(0x1ab)]()+'/collaborator';await this[_0x15a0d7(0x276)][_0x15a0d7(0x15d)](_0x6ddf55,{'body':_0x415cec});}async[_0x48c408(0x208)](_0x367144){var _0x36da61=_0x48c408;const _0x42cfe1=this[_0x36da61(0x1ab)]()+'/collaborator';await this['_HTTPService'][_0x36da61(0x2ae)](_0x42cfe1,{'body':_0x367144});}async[_0x48c408(0x181)](_0x4af3f9){var _0x4f7b99=_0x48c408;const _0x2ca6b9=this[_0x4f7b99(0x1ab)]()+'/collaborator';return(await this['_HTTPService']['get'](_0x2ca6b9,{'params':{'objectID':_0x4af3f9[_0x4f7b99(0x106)],'unitID':_0x4af3f9['unitID']}}))[_0x4f7b99(0x1a9)][_0x4f7b99(0x1c0)];}async[_0x48c408(0x2d5)](_0x2339c3){var _0x5443b0=_0x48c408;const _0x5858ea=this[_0x5443b0(0x1ab)]()+'/collaborator';await this['_HTTPService'][_0x5443b0(0x199)](_0x5858ea,{'body':_0x2339c3});}};Ot=un([Kt(0x0,_0x27d190(_0x1fe4bb)),Kt(0x1,_0x27d190(_0x50caa9))],Ot);var vt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x18c92d){var _0x51b1be=_0x48c408;return _0x18c92d&&_0x18c92d[_0x51b1be(0x335)]&&Object[_0x51b1be(0x215)]['hasOwnProperty'][_0x51b1be(0x1c3)](_0x18c92d,_0x51b1be(0x9c))?_0x18c92d[_0x51b1be(0x9c)]:_0x18c92d;}var Ge={'exports':{}};function fn(_0x27f148){var _0x499430=_0x48c408;throw new Error(_0x499430(0x225)+_0x27f148+_0x499430(0x11f));}var We={'exports':{}},vn=We[_0x48c408(0x35e)],qt;function ie(){var _0x49cbde=_0x48c408;return qt||(qt=0x1,function(_0x29c6d5,_0x3641c7){(function(_0x337c1e,_0x522f3c){var _0x15268e=_0x21ac;_0x29c6d5[_0x15268e(0x35e)]=_0x522f3c();}(vn,function(){var _0x28a9f3=_0x28a9f3||function(_0x3c8348,_0x479bfe){var _0x417871=_0x21ac,_0xc0bc71;if(typeof window<'u'&&window['crypto']&&(_0xc0bc71=window[_0x417871(0x112)]),typeof self<'u'&&self[_0x417871(0x112)]&&(_0xc0bc71=self[_0x417871(0x112)]),typeof globalThis<'u'&&globalThis[_0x417871(0x112)]&&(_0xc0bc71=globalThis[_0x417871(0x112)]),!_0xc0bc71&&typeof window<'u'&&window[_0x417871(0x1c4)]&&(_0xc0bc71=window[_0x417871(0x1c4)]),!_0xc0bc71&&typeof vt<'u'&&vt['crypto']&&(_0xc0bc71=vt[_0x417871(0x112)]),!_0xc0bc71&&typeof fn==_0x417871(0x121))try{_0xc0bc71=require('crypto');}catch{}var _0x4edd84=function(){var _0x1c5de0=_0x417871;if(_0xc0bc71){if(typeof _0xc0bc71[_0x1c5de0(0x20b)]==_0x1c5de0(0x121))try{return _0xc0bc71[_0x1c5de0(0x20b)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0xc0bc71['randomBytes']==_0x1c5de0(0x121))try{return _0xc0bc71[_0x1c5de0(0x1e0)](0x4)[_0x1c5de0(0x319)]();}catch{}}throw new Error(_0x1c5de0(0x3a8));},_0x4d839d=Object[_0x417871(0x134)]||(function(){function _0x3f4a82(){}return function(_0x4d3e6a){var _0x2a4522=_0x21ac,_0x216604;return _0x3f4a82['prototype']=_0x4d3e6a,_0x216604=new _0x3f4a82(),_0x3f4a82[_0x2a4522(0x215)]=null,_0x216604;};}()),_0x2d1f18={},_0x63008c=_0x2d1f18[_0x417871(0x1f9)]={},_0x607d66=_0x63008c[_0x417871(0x2f3)]=(function(){return{'extend':function(_0x3d6783){var _0x294f3d=_0x21ac,_0x24ba03=_0x4d839d(this);return _0x3d6783&&_0x24ba03[_0x294f3d(0x396)](_0x3d6783),(!_0x24ba03['hasOwnProperty']('init')||this[_0x294f3d(0x300)]===_0x24ba03['init'])&&(_0x24ba03[_0x294f3d(0x300)]=function(){var _0x22c99e=_0x294f3d;_0x24ba03[_0x22c99e(0x321)][_0x22c99e(0x300)][_0x22c99e(0x193)](this,arguments);}),_0x24ba03[_0x294f3d(0x300)][_0x294f3d(0x215)]=_0x24ba03,_0x24ba03[_0x294f3d(0x321)]=this,_0x24ba03;},'create':function(){var _0x8f4aa8=_0x21ac,_0x491dc3=this[_0x8f4aa8(0x385)]();return _0x491dc3[_0x8f4aa8(0x300)][_0x8f4aa8(0x193)](_0x491dc3,arguments),_0x491dc3;},'init':function(){},'mixIn':function(_0x403bbc){var _0x411a4e=_0x21ac;for(var _0x3fb06b in _0x403bbc)_0x403bbc[_0x411a4e(0x290)](_0x3fb06b)&&(this[_0x3fb06b]=_0x403bbc[_0x3fb06b]);_0x403bbc[_0x411a4e(0x290)]('toString')&&(this[_0x411a4e(0x392)]=_0x403bbc[_0x411a4e(0x392)]);},'clone':function(){var _0x2cdab6=_0x21ac;return this[_0x2cdab6(0x300)][_0x2cdab6(0x215)][_0x2cdab6(0x385)](this);}};}()),_0x11fd1a=_0x63008c[_0x417871(0x1d0)]=_0x607d66[_0x417871(0x385)]({'init':function(_0x2e33fc,_0x16831f){var _0x253b4d=_0x417871;_0x2e33fc=this[_0x253b4d(0xd6)]=_0x2e33fc||[],_0x16831f!=_0x479bfe?this[_0x253b4d(0xbc)]=_0x16831f:this[_0x253b4d(0xbc)]=_0x2e33fc[_0x253b4d(0x1e7)]*0x4;},'toString':function(_0x3a74f5){return(_0x3a74f5||_0x166ccd)['stringify'](this);},'concat':function(_0x1ee52a){var _0xa1f40e=_0x417871,_0x79a41e=this[_0xa1f40e(0xd6)],_0x2e865c=_0x1ee52a[_0xa1f40e(0xd6)],_0x350ac7=this[_0xa1f40e(0xbc)],_0x504d5a=_0x1ee52a['sigBytes'];if(this[_0xa1f40e(0x28f)](),_0x350ac7%0x4)for(var _0x5d7990=0x0;_0x5d7990<_0x504d5a;_0x5d7990++){var _0x18d99e=_0x2e865c[_0x5d7990>>>0x2]>>>0x18-_0x5d7990%0x4*0x8&0xff;_0x79a41e[_0x350ac7+_0x5d7990>>>0x2]|=_0x18d99e<<0x18-(_0x350ac7+_0x5d7990)%0x4*0x8;}else{for(var _0xe8f1c6=0x0;_0xe8f1c6<_0x504d5a;_0xe8f1c6+=0x4)_0x79a41e[_0x350ac7+_0xe8f1c6>>>0x2]=_0x2e865c[_0xe8f1c6>>>0x2];}return this[_0xa1f40e(0xbc)]+=_0x504d5a,this;},'clamp':function(){var _0x576264=_0x417871,_0x2c70d1=this[_0x576264(0xd6)],_0x6a0d66=this[_0x576264(0xbc)];_0x2c70d1[_0x6a0d66>>>0x2]&=0xffffffff<<0x20-_0x6a0d66%0x4*0x8,_0x2c70d1[_0x576264(0x1e7)]=_0x3c8348[_0x576264(0x227)](_0x6a0d66/0x4);},'clone':function(){var _0x1b8e41=_0x417871,_0x26755c=_0x607d66[_0x1b8e41(0xc4)][_0x1b8e41(0x1c3)](this);return _0x26755c[_0x1b8e41(0xd6)]=this[_0x1b8e41(0xd6)][_0x1b8e41(0x129)](0x0),_0x26755c;},'random':function(_0x833876){var _0x3744df=_0x417871;for(var _0xc6cab0=[],_0x3bff43=0x0;_0x3bff43<_0x833876;_0x3bff43+=0x4)_0xc6cab0[_0x3744df(0x1a4)](_0x4edd84());return new _0x11fd1a['init'](_0xc6cab0,_0x833876);}}),_0x320172=_0x2d1f18[_0x417871(0x1b3)]={},_0x166ccd=_0x320172[_0x417871(0x333)]={'stringify':function(_0x11becf){var _0x304130=_0x417871;for(var _0x5ea1c1=_0x11becf['words'],_0x309820=_0x11becf[_0x304130(0xbc)],_0x5daccd=[],_0x5cb574=0x0;_0x5cb574<_0x309820;_0x5cb574++){var _0x3f707c=_0x5ea1c1[_0x5cb574>>>0x2]>>>0x18-_0x5cb574%0x4*0x8&0xff;_0x5daccd['push']((_0x3f707c>>>0x4)[_0x304130(0x392)](0x10)),_0x5daccd[_0x304130(0x1a4)]((_0x3f707c&0xf)[_0x304130(0x392)](0x10));}return _0x5daccd['join']('');},'parse':function(_0x2d472b){var _0x4eabf6=_0x417871;for(var _0x378c2e=_0x2d472b[_0x4eabf6(0x1e7)],_0x390ea9=[],_0x284954=0x0;_0x284954<_0x378c2e;_0x284954+=0x2)_0x390ea9[_0x284954>>>0x3]|=parseInt(_0x2d472b[_0x4eabf6(0x254)](_0x284954,0x2),0x10)<<0x18-_0x284954%0x8*0x4;return new _0x11fd1a['init'](_0x390ea9,_0x378c2e/0x2);}},_0x2319f6=_0x320172[_0x417871(0x154)]={'stringify':function(_0xab0d54){var _0x1248e5=_0x417871;for(var _0x57422d=_0xab0d54[_0x1248e5(0xd6)],_0x2aa2f5=_0xab0d54[_0x1248e5(0xbc)],_0x47cd82=[],_0x44f93d=0x0;_0x44f93d<_0x2aa2f5;_0x44f93d++){var _0x398ffb=_0x57422d[_0x44f93d>>>0x2]>>>0x18-_0x44f93d%0x4*0x8&0xff;_0x47cd82[_0x1248e5(0x1a4)](String[_0x1248e5(0x102)](_0x398ffb));}return _0x47cd82[_0x1248e5(0x246)]('');},'parse':function(_0x38b7f1){var _0x4979a2=_0x417871;for(var _0x4b5a86=_0x38b7f1['length'],_0x4db6c7=[],_0x12dd11=0x0;_0x12dd11<_0x4b5a86;_0x12dd11++)_0x4db6c7[_0x12dd11>>>0x2]|=(_0x38b7f1[_0x4979a2(0x18d)](_0x12dd11)&0xff)<<0x18-_0x12dd11%0x4*0x8;return new _0x11fd1a[(_0x4979a2(0x300))](_0x4db6c7,_0x4b5a86);}},_0x415415=_0x320172[_0x417871(0x2af)]={'stringify':function(_0x26f9d1){var _0x50a809=_0x417871;try{return decodeURIComponent(escape(_0x2319f6[_0x50a809(0x29a)](_0x26f9d1)));}catch{throw new Error(_0x50a809(0x375));}},'parse':function(_0x11298c){return _0x2319f6['parse'](unescape(encodeURIComponent(_0x11298c)));}},_0x2cdf86=_0x63008c[_0x417871(0x30b)]=_0x607d66['extend']({'reset':function(){var _0x23c849=_0x417871;this[_0x23c849(0x2a2)]=new _0x11fd1a[(_0x23c849(0x300))](),this[_0x23c849(0x14f)]=0x0;},'_append':function(_0x4098d4){var _0x42cff7=_0x417871;typeof _0x4098d4==_0x42cff7(0x23b)&&(_0x4098d4=_0x415415['parse'](_0x4098d4)),this[_0x42cff7(0x2a2)][_0x42cff7(0x10a)](_0x4098d4),this[_0x42cff7(0x14f)]+=_0x4098d4[_0x42cff7(0xbc)];},'_process':function(_0x20f7e8){var _0x15b390=_0x417871,_0x310b04,_0x3c5592=this[_0x15b390(0x2a2)],_0x5b2786=_0x3c5592[_0x15b390(0xd6)],_0x275e39=_0x3c5592[_0x15b390(0xbc)],_0x741961=this[_0x15b390(0xc7)],_0x59690a=_0x741961*0x4,_0x5b22cd=_0x275e39/_0x59690a;_0x20f7e8?_0x5b22cd=_0x3c8348[_0x15b390(0x227)](_0x5b22cd):_0x5b22cd=_0x3c8348[_0x15b390(0x25e)]((_0x5b22cd|0x0)-this['_minBufferSize'],0x0);var _0x3b8879=_0x5b22cd*_0x741961,_0x130190=_0x3c8348[_0x15b390(0x252)](_0x3b8879*0x4,_0x275e39);if(_0x3b8879){for(var _0xb48fb5=0x0;_0xb48fb5<_0x3b8879;_0xb48fb5+=_0x741961)this[_0x15b390(0x111)](_0x5b2786,_0xb48fb5);_0x310b04=_0x5b2786[_0x15b390(0x3a9)](0x0,_0x3b8879),_0x3c5592['sigBytes']-=_0x130190;}return new _0x11fd1a[(_0x15b390(0x300))](_0x310b04,_0x130190);},'clone':function(){var _0xfc2f7f=_0x417871,_0x3016a8=_0x607d66[_0xfc2f7f(0xc4)][_0xfc2f7f(0x1c3)](this);return _0x3016a8[_0xfc2f7f(0x2a2)]=this['_data'][_0xfc2f7f(0xc4)](),_0x3016a8;},'_minBufferSize':0x0});_0x63008c[_0x417871(0x2ad)]=_0x2cdf86[_0x417871(0x385)]({'cfg':_0x607d66[_0x417871(0x385)](),'init':function(_0x498273){var _0x2ccefc=_0x417871;this[_0x2ccefc(0x39b)]=this['cfg']['extend'](_0x498273),this[_0x2ccefc(0x1b5)]();},'reset':function(){var _0x51e4e4=_0x417871;_0x2cdf86['reset']['call'](this),this[_0x51e4e4(0x2c8)]();},'update':function(_0x4465ec){var _0x51227a=_0x417871;return this[_0x51227a(0xa0)](_0x4465ec),this[_0x51227a(0x95)](),this;},'finalize':function(_0x4cdf78){var _0x1801c9=_0x417871;_0x4cdf78&&this[_0x1801c9(0xa0)](_0x4cdf78);var _0x35ed18=this['_doFinalize']();return _0x35ed18;},'blockSize':0x10,'_createHelper':function(_0x5f4f65){return function(_0x428d3d,_0x4569de){var _0x26e395=_0x21ac;return new _0x5f4f65[(_0x26e395(0x300))](_0x4569de)[_0x26e395(0x37b)](_0x428d3d);};},'_createHmacHelper':function(_0x244d91){return function(_0x23129c,_0x30175b){var _0x2920c9=_0x21ac;return new _0x56f3c5['HMAC'][(_0x2920c9(0x300))](_0x244d91,_0x30175b)['finalize'](_0x23129c);};}});var _0x56f3c5=_0x2d1f18['algo']={};return _0x2d1f18;}(Math);return _0x28a9f3;}));}(We)),We[_0x49cbde(0x35e)];}var Ye={'exports':{}},En=Ye[_0x48c408(0x35e)],zt;function bi(){var _0xf20141=_0x48c408;return zt||(zt=0x1,function(_0x13996f,_0x50d51c){(function(_0x4f5a24,_0x4d52b9){var _0x49924a=_0x21ac;_0x13996f[_0x49924a(0x35e)]=_0x4d52b9(ie());}(En,function(_0x397fca){var _0x5695c3=_0x21ac;return(function(){var _0xc6ebc8=_0x21ac,_0x2ac694=_0x397fca,_0x3ef56a=_0x2ac694[_0xc6ebc8(0x1f9)],_0x5d0337=_0x3ef56a['WordArray'],_0x1aa3af=_0x2ac694[_0xc6ebc8(0x1b3)];_0x1aa3af[_0xc6ebc8(0x2a5)]={'stringify':function(_0x50074b){var _0x13ce26=_0xc6ebc8,_0x314073=_0x50074b[_0x13ce26(0xd6)],_0x130b28=_0x50074b[_0x13ce26(0xbc)],_0x20ab4d=this[_0x13ce26(0x108)];_0x50074b[_0x13ce26(0x28f)]();for(var _0x4514d1=[],_0x1c7cfc=0x0;_0x1c7cfc<_0x130b28;_0x1c7cfc+=0x3)for(var _0x21f8ab=_0x314073[_0x1c7cfc>>>0x2]>>>0x18-_0x1c7cfc%0x4*0x8&0xff,_0x37059b=_0x314073[_0x1c7cfc+0x1>>>0x2]>>>0x18-(_0x1c7cfc+0x1)%0x4*0x8&0xff,_0x3f7eaa=_0x314073[_0x1c7cfc+0x2>>>0x2]>>>0x18-(_0x1c7cfc+0x2)%0x4*0x8&0xff,_0x512f03=_0x21f8ab<<0x10|_0x37059b<<0x8|_0x3f7eaa,_0x9026fa=0x0;_0x9026fa<0x4&&_0x1c7cfc+_0x9026fa*0.75<_0x130b28;_0x9026fa++)_0x4514d1[_0x13ce26(0x1a4)](_0x20ab4d[_0x13ce26(0x243)](_0x512f03>>>0x6*(0x3-_0x9026fa)&0x3f));var _0xce34b7=_0x20ab4d[_0x13ce26(0x243)](0x40);if(_0xce34b7){for(;_0x4514d1[_0x13ce26(0x1e7)]%0x4;)_0x4514d1[_0x13ce26(0x1a4)](_0xce34b7);}return _0x4514d1[_0x13ce26(0x246)]('');},'parse':function(_0x5118fa){var _0x84e79a=_0xc6ebc8,_0x27f65b=_0x5118fa[_0x84e79a(0x1e7)],_0x76a11=this[_0x84e79a(0x108)],_0x8e23f4=this[_0x84e79a(0x376)];if(!_0x8e23f4){_0x8e23f4=this[_0x84e79a(0x376)]=[];for(var _0x10df6d=0x0;_0x10df6d<_0x76a11['length'];_0x10df6d++)_0x8e23f4[_0x76a11[_0x84e79a(0x18d)](_0x10df6d)]=_0x10df6d;}var _0x428510=_0x76a11[_0x84e79a(0x243)](0x40);if(_0x428510){var _0x42b64d=_0x5118fa[_0x84e79a(0x311)](_0x428510);_0x42b64d!==-0x1&&(_0x27f65b=_0x42b64d);}return _0x3fcd76(_0x5118fa,_0x27f65b,_0x8e23f4);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x3fcd76(_0x36cad5,_0x493f2d,_0x1dcf20){var _0x4a08a1=_0xc6ebc8;for(var _0x4180ef=[],_0x5d9d2a=0x0,_0x38a2ae=0x0;_0x38a2ae<_0x493f2d;_0x38a2ae++)if(_0x38a2ae%0x4){var _0x5c3429=_0x1dcf20[_0x36cad5[_0x4a08a1(0x18d)](_0x38a2ae-0x1)]<<_0x38a2ae%0x4*0x2,_0x435258=_0x1dcf20[_0x36cad5[_0x4a08a1(0x18d)](_0x38a2ae)]>>>0x6-_0x38a2ae%0x4*0x2,_0x9c35fc=_0x5c3429|_0x435258;_0x4180ef[_0x5d9d2a>>>0x2]|=_0x9c35fc<<0x18-_0x5d9d2a%0x4*0x8,_0x5d9d2a++;}return _0x5d0337[_0x4a08a1(0x134)](_0x4180ef,_0x5d9d2a);}}()),_0x397fca[_0x5695c3(0x1b3)][_0x5695c3(0x2a5)];}));}(Ye)),Ye[_0xf20141(0x35e)];}var Ke={'exports':{}},pn=Ke[_0x48c408(0x35e)],Xt;function mn(){return Xt||(Xt=0x1,function(_0x3cd390,_0x2be2e8){(function(_0x28e7c0,_0x320948){var _0x6a7db5=_0x21ac;_0x3cd390[_0x6a7db5(0x35e)]=_0x320948(ie());}(pn,function(_0x440298){var _0x2aec1f=_0x21ac;return function(_0x2619a3){var _0x17dab2=_0x21ac,_0x18b3b7=_0x440298,_0x1e0385=_0x18b3b7['lib'],_0x52748d=_0x1e0385[_0x17dab2(0x1d0)],_0x12f300=_0x1e0385[_0x17dab2(0x2ad)],_0x44c78c=_0x18b3b7[_0x17dab2(0x8b)],_0x439b88=[];(function(){var _0x54b55f=_0x17dab2;for(var _0x484dd6=0x0;_0x484dd6<0x40;_0x484dd6++)_0x439b88[_0x484dd6]=_0x2619a3['abs'](_0x2619a3[_0x54b55f(0x264)](_0x484dd6+0x1))*0x100000000|0x0;}());var _0x1177c1=_0x44c78c[_0x17dab2(0x271)]=_0x12f300[_0x17dab2(0x385)]({'_doReset':function(){var _0x11d0b9=_0x17dab2;this[_0x11d0b9(0x2b8)]=new _0x52748d['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x10cef6,_0x35c842){var _0x30276b=_0x17dab2;for(var _0x47b970=0x0;_0x47b970<0x10;_0x47b970++){var _0x5746a5=_0x35c842+_0x47b970,_0x300ed2=_0x10cef6[_0x5746a5];_0x10cef6[_0x5746a5]=(_0x300ed2<<0x8|_0x300ed2>>>0x18)&0xff00ff|(_0x300ed2<<0x18|_0x300ed2>>>0x8)&0xff00ff00;}var _0x4d8446=this['_hash'][_0x30276b(0xd6)],_0x470a65=_0x10cef6[_0x35c842+0x0],_0x49810a=_0x10cef6[_0x35c842+0x1],_0x4117e9=_0x10cef6[_0x35c842+0x2],_0x77d7f1=_0x10cef6[_0x35c842+0x3],_0x52f6aa=_0x10cef6[_0x35c842+0x4],_0x16420a=_0x10cef6[_0x35c842+0x5],_0x4f006=_0x10cef6[_0x35c842+0x6],_0x3bbb84=_0x10cef6[_0x35c842+0x7],_0x4a78b0=_0x10cef6[_0x35c842+0x8],_0x11d01a=_0x10cef6[_0x35c842+0x9],_0x12d544=_0x10cef6[_0x35c842+0xa],_0x30cf21=_0x10cef6[_0x35c842+0xb],_0x43dce1=_0x10cef6[_0x35c842+0xc],_0x55d630=_0x10cef6[_0x35c842+0xd],_0x34f0e3=_0x10cef6[_0x35c842+0xe],_0x1471d2=_0x10cef6[_0x35c842+0xf],_0x158cfc=_0x4d8446[0x0],_0x3595e8=_0x4d8446[0x1],_0x4f77fd=_0x4d8446[0x2],_0x175ad1=_0x4d8446[0x3];_0x158cfc=_0x20cb1d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x470a65,0x7,_0x439b88[0x0]),_0x175ad1=_0x20cb1d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x49810a,0xc,_0x439b88[0x1]),_0x4f77fd=_0x20cb1d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x4117e9,0x11,_0x439b88[0x2]),_0x3595e8=_0x20cb1d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x77d7f1,0x16,_0x439b88[0x3]),_0x158cfc=_0x20cb1d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x52f6aa,0x7,_0x439b88[0x4]),_0x175ad1=_0x20cb1d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x16420a,0xc,_0x439b88[0x5]),_0x4f77fd=_0x20cb1d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x4f006,0x11,_0x439b88[0x6]),_0x3595e8=_0x20cb1d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x3bbb84,0x16,_0x439b88[0x7]),_0x158cfc=_0x20cb1d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x4a78b0,0x7,_0x439b88[0x8]),_0x175ad1=_0x20cb1d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x11d01a,0xc,_0x439b88[0x9]),_0x4f77fd=_0x20cb1d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x12d544,0x11,_0x439b88[0xa]),_0x3595e8=_0x20cb1d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x30cf21,0x16,_0x439b88[0xb]),_0x158cfc=_0x20cb1d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x43dce1,0x7,_0x439b88[0xc]),_0x175ad1=_0x20cb1d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x55d630,0xc,_0x439b88[0xd]),_0x4f77fd=_0x20cb1d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x34f0e3,0x11,_0x439b88[0xe]),_0x3595e8=_0x20cb1d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x1471d2,0x16,_0x439b88[0xf]),_0x158cfc=_0x3d14be(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x49810a,0x5,_0x439b88[0x10]),_0x175ad1=_0x3d14be(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x4f006,0x9,_0x439b88[0x11]),_0x4f77fd=_0x3d14be(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x30cf21,0xe,_0x439b88[0x12]),_0x3595e8=_0x3d14be(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x470a65,0x14,_0x439b88[0x13]),_0x158cfc=_0x3d14be(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x16420a,0x5,_0x439b88[0x14]),_0x175ad1=_0x3d14be(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x12d544,0x9,_0x439b88[0x15]),_0x4f77fd=_0x3d14be(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x1471d2,0xe,_0x439b88[0x16]),_0x3595e8=_0x3d14be(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x52f6aa,0x14,_0x439b88[0x17]),_0x158cfc=_0x3d14be(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x11d01a,0x5,_0x439b88[0x18]),_0x175ad1=_0x3d14be(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x34f0e3,0x9,_0x439b88[0x19]),_0x4f77fd=_0x3d14be(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x77d7f1,0xe,_0x439b88[0x1a]),_0x3595e8=_0x3d14be(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x4a78b0,0x14,_0x439b88[0x1b]),_0x158cfc=_0x3d14be(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x55d630,0x5,_0x439b88[0x1c]),_0x175ad1=_0x3d14be(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x4117e9,0x9,_0x439b88[0x1d]),_0x4f77fd=_0x3d14be(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x3bbb84,0xe,_0x439b88[0x1e]),_0x3595e8=_0x3d14be(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x43dce1,0x14,_0x439b88[0x1f]),_0x158cfc=_0x466d3d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x16420a,0x4,_0x439b88[0x20]),_0x175ad1=_0x466d3d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x4a78b0,0xb,_0x439b88[0x21]),_0x4f77fd=_0x466d3d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x30cf21,0x10,_0x439b88[0x22]),_0x3595e8=_0x466d3d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x34f0e3,0x17,_0x439b88[0x23]),_0x158cfc=_0x466d3d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x49810a,0x4,_0x439b88[0x24]),_0x175ad1=_0x466d3d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x52f6aa,0xb,_0x439b88[0x25]),_0x4f77fd=_0x466d3d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x3bbb84,0x10,_0x439b88[0x26]),_0x3595e8=_0x466d3d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x12d544,0x17,_0x439b88[0x27]),_0x158cfc=_0x466d3d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x55d630,0x4,_0x439b88[0x28]),_0x175ad1=_0x466d3d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x470a65,0xb,_0x439b88[0x29]),_0x4f77fd=_0x466d3d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x77d7f1,0x10,_0x439b88[0x2a]),_0x3595e8=_0x466d3d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x4f006,0x17,_0x439b88[0x2b]),_0x158cfc=_0x466d3d(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x11d01a,0x4,_0x439b88[0x2c]),_0x175ad1=_0x466d3d(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x43dce1,0xb,_0x439b88[0x2d]),_0x4f77fd=_0x466d3d(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x1471d2,0x10,_0x439b88[0x2e]),_0x3595e8=_0x466d3d(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x4117e9,0x17,_0x439b88[0x2f]),_0x158cfc=_0x5b9ff6(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x470a65,0x6,_0x439b88[0x30]),_0x175ad1=_0x5b9ff6(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x3bbb84,0xa,_0x439b88[0x31]),_0x4f77fd=_0x5b9ff6(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x34f0e3,0xf,_0x439b88[0x32]),_0x3595e8=_0x5b9ff6(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x16420a,0x15,_0x439b88[0x33]),_0x158cfc=_0x5b9ff6(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x43dce1,0x6,_0x439b88[0x34]),_0x175ad1=_0x5b9ff6(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x77d7f1,0xa,_0x439b88[0x35]),_0x4f77fd=_0x5b9ff6(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x12d544,0xf,_0x439b88[0x36]),_0x3595e8=_0x5b9ff6(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x49810a,0x15,_0x439b88[0x37]),_0x158cfc=_0x5b9ff6(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x4a78b0,0x6,_0x439b88[0x38]),_0x175ad1=_0x5b9ff6(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x1471d2,0xa,_0x439b88[0x39]),_0x4f77fd=_0x5b9ff6(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x4f006,0xf,_0x439b88[0x3a]),_0x3595e8=_0x5b9ff6(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x55d630,0x15,_0x439b88[0x3b]),_0x158cfc=_0x5b9ff6(_0x158cfc,_0x3595e8,_0x4f77fd,_0x175ad1,_0x52f6aa,0x6,_0x439b88[0x3c]),_0x175ad1=_0x5b9ff6(_0x175ad1,_0x158cfc,_0x3595e8,_0x4f77fd,_0x30cf21,0xa,_0x439b88[0x3d]),_0x4f77fd=_0x5b9ff6(_0x4f77fd,_0x175ad1,_0x158cfc,_0x3595e8,_0x4117e9,0xf,_0x439b88[0x3e]),_0x3595e8=_0x5b9ff6(_0x3595e8,_0x4f77fd,_0x175ad1,_0x158cfc,_0x11d01a,0x15,_0x439b88[0x3f]),_0x4d8446[0x0]=_0x4d8446[0x0]+_0x158cfc|0x0,_0x4d8446[0x1]=_0x4d8446[0x1]+_0x3595e8|0x0,_0x4d8446[0x2]=_0x4d8446[0x2]+_0x4f77fd|0x0,_0x4d8446[0x3]=_0x4d8446[0x3]+_0x175ad1|0x0;},'_doFinalize':function(){var _0x339da6=_0x17dab2,_0x5ba16d=this[_0x339da6(0x2a2)],_0x332f45=_0x5ba16d[_0x339da6(0xd6)],_0x4f6636=this[_0x339da6(0x14f)]*0x8,_0x5e96cf=_0x5ba16d['sigBytes']*0x8;_0x332f45[_0x5e96cf>>>0x5]|=0x80<<0x18-_0x5e96cf%0x20;var _0x105097=_0x2619a3['floor'](_0x4f6636/0x100000000),_0x3e8a28=_0x4f6636;_0x332f45[(_0x5e96cf+0x40>>>0x9<<0x4)+0xf]=(_0x105097<<0x8|_0x105097>>>0x18)&0xff00ff|(_0x105097<<0x18|_0x105097>>>0x8)&0xff00ff00,_0x332f45[(_0x5e96cf+0x40>>>0x9<<0x4)+0xe]=(_0x3e8a28<<0x8|_0x3e8a28>>>0x18)&0xff00ff|(_0x3e8a28<<0x18|_0x3e8a28>>>0x8)&0xff00ff00,_0x5ba16d[_0x339da6(0xbc)]=(_0x332f45['length']+0x1)*0x4,this[_0x339da6(0x95)]();for(var _0x42a0af=this[_0x339da6(0x2b8)],_0x10ce7b=_0x42a0af[_0x339da6(0xd6)],_0x3c3f00=0x0;_0x3c3f00<0x4;_0x3c3f00++){var _0x3b5429=_0x10ce7b[_0x3c3f00];_0x10ce7b[_0x3c3f00]=(_0x3b5429<<0x8|_0x3b5429>>>0x18)&0xff00ff|(_0x3b5429<<0x18|_0x3b5429>>>0x8)&0xff00ff00;}return _0x42a0af;},'clone':function(){var _0x28b239=_0x17dab2,_0xeafcac=_0x12f300['clone'][_0x28b239(0x1c3)](this);return _0xeafcac[_0x28b239(0x2b8)]=this[_0x28b239(0x2b8)][_0x28b239(0xc4)](),_0xeafcac;}});function _0x20cb1d(_0x315478,_0x47e36d,_0x10819f,_0x47a2a0,_0x406554,_0x221e5a,_0xe3a1a2){var _0x44168c=_0x315478+(_0x47e36d&_0x10819f|~_0x47e36d&_0x47a2a0)+_0x406554+_0xe3a1a2;return(_0x44168c<<_0x221e5a|_0x44168c>>>0x20-_0x221e5a)+_0x47e36d;}function _0x3d14be(_0x52643d,_0x5cf428,_0x632d43,_0x3c4b66,_0x384754,_0x4c42fa,_0x5aea3f){var _0x27e3eb=_0x52643d+(_0x5cf428&_0x3c4b66|_0x632d43&~_0x3c4b66)+_0x384754+_0x5aea3f;return(_0x27e3eb<<_0x4c42fa|_0x27e3eb>>>0x20-_0x4c42fa)+_0x5cf428;}function _0x466d3d(_0x414e42,_0x408835,_0x38aaf7,_0x355d41,_0x2fd219,_0x2cbd30,_0xc1b3bd){var _0x30516f=_0x414e42+(_0x408835^_0x38aaf7^_0x355d41)+_0x2fd219+_0xc1b3bd;return(_0x30516f<<_0x2cbd30|_0x30516f>>>0x20-_0x2cbd30)+_0x408835;}function _0x5b9ff6(_0x35a138,_0x4e6cd8,_0xf750e3,_0x43c3c4,_0x2a3094,_0x10dfc0,_0x15b638){var _0x4f0258=_0x35a138+(_0xf750e3^(_0x4e6cd8|~_0x43c3c4))+_0x2a3094+_0x15b638;return(_0x4f0258<<_0x10dfc0|_0x4f0258>>>0x20-_0x10dfc0)+_0x4e6cd8;}_0x18b3b7[_0x17dab2(0x271)]=_0x12f300[_0x17dab2(0x150)](_0x1177c1),_0x18b3b7['HmacMD5']=_0x12f300[_0x17dab2(0x1ce)](_0x1177c1);}(Math),_0x440298[_0x2aec1f(0x271)];}));}(Ke)),Ke['exports'];}var qe={'exports':{}},ze={'exports':{}},In=ze[_0x48c408(0x35e)],Jt;function Sn(){var _0x5edd51=_0x48c408;return Jt||(Jt=0x1,function(_0x3c1176,_0x2cfc3a){(function(_0x3365c8,_0x457a3b){var _0xce1761=_0x21ac;_0x3c1176[_0xce1761(0x35e)]=_0x457a3b(ie());}(In,function(_0x1ce6ed){var _0x1efd05=_0x21ac;return(function(){var _0x4742ae=_0x21ac,_0x18fe82=_0x1ce6ed,_0x2386fb=_0x18fe82['lib'],_0x2fc140=_0x2386fb[_0x4742ae(0x1d0)],_0xb23d83=_0x2386fb[_0x4742ae(0x2ad)],_0x31ca3e=_0x18fe82[_0x4742ae(0x8b)],_0x34c045=[],_0x3b246d=_0x31ca3e['SHA1']=_0xb23d83[_0x4742ae(0x385)]({'_doReset':function(){var _0x53e690=_0x4742ae;this[_0x53e690(0x2b8)]=new _0x2fc140[(_0x53e690(0x300))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x589470,_0x3f6cf7){var _0x3ee109=_0x4742ae;for(var _0x4f95f8=this[_0x3ee109(0x2b8)][_0x3ee109(0xd6)],_0x27ade3=_0x4f95f8[0x0],_0x409804=_0x4f95f8[0x1],_0xe70269=_0x4f95f8[0x2],_0x4b8bac=_0x4f95f8[0x3],_0x4eccab=_0x4f95f8[0x4],_0x5f4749=0x0;_0x5f4749<0x50;_0x5f4749++){if(_0x5f4749<0x10)_0x34c045[_0x5f4749]=_0x589470[_0x3f6cf7+_0x5f4749]|0x0;else{var _0x7e9d71=_0x34c045[_0x5f4749-0x3]^_0x34c045[_0x5f4749-0x8]^_0x34c045[_0x5f4749-0xe]^_0x34c045[_0x5f4749-0x10];_0x34c045[_0x5f4749]=_0x7e9d71<<0x1|_0x7e9d71>>>0x1f;}var _0x20eccb=(_0x27ade3<<0x5|_0x27ade3>>>0x1b)+_0x4eccab+_0x34c045[_0x5f4749];_0x5f4749<0x14?_0x20eccb+=(_0x409804&_0xe70269|~_0x409804&_0x4b8bac)+0x5a827999:_0x5f4749<0x28?_0x20eccb+=(_0x409804^_0xe70269^_0x4b8bac)+0x6ed9eba1:_0x5f4749<0x3c?_0x20eccb+=(_0x409804&_0xe70269|_0x409804&_0x4b8bac|_0xe70269&_0x4b8bac)-0x70e44324:_0x20eccb+=(_0x409804^_0xe70269^_0x4b8bac)-0x359d3e2a,_0x4eccab=_0x4b8bac,_0x4b8bac=_0xe70269,_0xe70269=_0x409804<<0x1e|_0x409804>>>0x2,_0x409804=_0x27ade3,_0x27ade3=_0x20eccb;}_0x4f95f8[0x0]=_0x4f95f8[0x0]+_0x27ade3|0x0,_0x4f95f8[0x1]=_0x4f95f8[0x1]+_0x409804|0x0,_0x4f95f8[0x2]=_0x4f95f8[0x2]+_0xe70269|0x0,_0x4f95f8[0x3]=_0x4f95f8[0x3]+_0x4b8bac|0x0,_0x4f95f8[0x4]=_0x4f95f8[0x4]+_0x4eccab|0x0;},'_doFinalize':function(){var _0x2d38f0=_0x4742ae,_0x20f599=this['_data'],_0x1efa9a=_0x20f599[_0x2d38f0(0xd6)],_0x2bdfee=this[_0x2d38f0(0x14f)]*0x8,_0x5998f3=_0x20f599[_0x2d38f0(0xbc)]*0x8;return _0x1efa9a[_0x5998f3>>>0x5]|=0x80<<0x18-_0x5998f3%0x20,_0x1efa9a[(_0x5998f3+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2bdfee/0x100000000),_0x1efa9a[(_0x5998f3+0x40>>>0x9<<0x4)+0xf]=_0x2bdfee,_0x20f599['sigBytes']=_0x1efa9a[_0x2d38f0(0x1e7)]*0x4,this[_0x2d38f0(0x95)](),this['_hash'];},'clone':function(){var _0x1a9943=_0x4742ae,_0x567904=_0xb23d83['clone'][_0x1a9943(0x1c3)](this);return _0x567904[_0x1a9943(0x2b8)]=this['_hash']['clone'](),_0x567904;}});_0x18fe82['SHA1']=_0xb23d83[_0x4742ae(0x150)](_0x3b246d),_0x18fe82['HmacSHA1']=_0xb23d83['_createHmacHelper'](_0x3b246d);}()),_0x1ce6ed[_0x1efd05(0xb6)];}));}(ze)),ze[_0x5edd51(0x35e)];}var Xe={'exports':{}},gn=Xe['exports'],Zt;function Tn(){var _0x135cde=_0x48c408;return Zt||(Zt=0x1,function(_0x54263d,_0x323363){(function(_0x3c162a,_0x5be7ad){var _0x78d64d=_0x21ac;_0x54263d[_0x78d64d(0x35e)]=_0x5be7ad(ie());}(gn,function(_0x359f27){(function(){var _0x299370=_0x21ac,_0xb32f35=_0x359f27,_0x57c6b6=_0xb32f35['lib'],_0x3c2a4e=_0x57c6b6[_0x299370(0x2f3)],_0x518c5c=_0xb32f35[_0x299370(0x1b3)],_0x337da3=_0x518c5c[_0x299370(0x2af)],_0x3922cc=_0xb32f35[_0x299370(0x8b)];_0x3922cc[_0x299370(0x214)]=_0x3c2a4e['extend']({'init':function(_0x3d24d5,_0x3dadce){var _0x217e40=_0x299370;_0x3d24d5=this[_0x217e40(0x31a)]=new _0x3d24d5[(_0x217e40(0x300))](),typeof _0x3dadce==_0x217e40(0x23b)&&(_0x3dadce=_0x337da3[_0x217e40(0x1b1)](_0x3dadce));var _0x27ee41=_0x3d24d5[_0x217e40(0xc7)],_0x3474ee=_0x27ee41*0x4;_0x3dadce[_0x217e40(0xbc)]>_0x3474ee&&(_0x3dadce=_0x3d24d5[_0x217e40(0x37b)](_0x3dadce)),_0x3dadce['clamp']();for(var _0x12e1c7=this[_0x217e40(0x2fc)]=_0x3dadce[_0x217e40(0xc4)](),_0x314703=this['_iKey']=_0x3dadce[_0x217e40(0xc4)](),_0x2e5e86=_0x12e1c7[_0x217e40(0xd6)],_0x446058=_0x314703[_0x217e40(0xd6)],_0x308670=0x0;_0x308670<_0x27ee41;_0x308670++)_0x2e5e86[_0x308670]^=0x5c5c5c5c,_0x446058[_0x308670]^=0x36363636;_0x12e1c7[_0x217e40(0xbc)]=_0x314703[_0x217e40(0xbc)]=_0x3474ee,this[_0x217e40(0x1b5)]();},'reset':function(){var _0x54ee3e=_0x299370,_0x2b6ebe=this['_hasher'];_0x2b6ebe[_0x54ee3e(0x1b5)](),_0x2b6ebe['update'](this[_0x54ee3e(0x340)]);},'update':function(_0x4b941d){var _0x5a97df=_0x299370;return this[_0x5a97df(0x31a)][_0x5a97df(0x2d6)](_0x4b941d),this;},'finalize':function(_0x2eee31){var _0x36c77f=_0x299370,_0x278c1a=this[_0x36c77f(0x31a)],_0x294f5e=_0x278c1a['finalize'](_0x2eee31);_0x278c1a['reset']();var _0x220053=_0x278c1a[_0x36c77f(0x37b)](this[_0x36c77f(0x2fc)][_0x36c77f(0xc4)]()[_0x36c77f(0x10a)](_0x294f5e));return _0x220053;}});}());}));}(Xe)),Xe[_0x135cde(0x35e)];}var On=qe[_0x48c408(0x35e)],Qt;function _0xa0c4(){var _0x152b8f=['[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','objects','UnitEmbedded','routeKey','transformUndoRedo','PENDING','_entities','[SyncedState]:\x20received\x20rejection.','getOwnPropertyDescriptor','INVITE_CODE_ALREADY_BOUND','putCollaborators','update','onTransformIME','retryConnectingInterval','catch','_nRounds','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','USER_NOT_FOUND','floor','UNIVER_PROJECT','ENTITLE_COUPON_EXPIRED','OTHER_CLIENTS_EDITING','socket$','map','open$','_transformStateCache','decryptBlock','setCurrentUser','_createInitialState','dispose','ciphertext','_eventService','UNIVER_SHEET','ENTITLE_COUPON_USED_UP','_submitChangeset','duration','INGEST','c2Prime','focused$','UNIVER_UNKNOWN','Base','_maxTotalRetryTimeout','registerHTTPInterceptor','Pkcs7','/universer-api/oidc/authpage','YUUMI_UNABLE_LOAD_URL','CHANGESET_REVISION_CONFILICT','LIVESHARE_NEW_HOST','YUUMI_AI_RUN_FAILED','_oKey','ERROR_IMAGE','_state$','__creator','init','formatter','_transformRemoteChangesetByStateCache','getCollabEntity$','roomInfos','selections','NEW_CHANGESETS','getTime','getFocusedUnit','members$','_status$','BufferedBlockAlgorithm','addImageSourceCache','ENTITLE_DUP_SUBSCRIPTION','ClipsheetFragments','removeMember','awaitingChangeset','indexOf','11HjIRKt','state','not_collab','_queuedRemoteChangesets','cmd','allowed','_transformService','readInt32LE','_hasher','getCurrentSelections','every','_changesetSessionId','_doCreateSocket','readyForCollab','_substituteRedoStack','$super','UnitSnapshot','SUCCUSS','pad','_clearUndo','HEARTBEAT_INTERVAL','initWorkbookPermissionChange','readAsDataURL','sendChangesetTimeout','USERS_LEAVE','SOCKET_FAILED_RETRY','RECV','ALREADY_EXISTS','HELLO','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_type','Cipher','_initDependencies','Hex','getUnit','__esModule','fetchMiss','1208FtCFQQ','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','updateOfflineData','UNIVER_DOC','_pendingMutations','onTransformRemoteChangesetByStateCache','getMember','_socketService','_transitionLocked','_iKey','transformSelections','_syncEditingCollabCursor','transformChangesets','_getUndoStack','result','DEFAULT_FILE_NAME','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','getUnitType','subject','resourceIDs','DATA_SOURCE_TOO_LARGE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','COMPRESS_MUTATION_APPLY','onCommentUpdate','FileId','_memberService','set','awaiting','\x0aAfter:\x20','file','LOCAL_CACHE_INTERVAL','data','_clearTimeoutTimer','memberID','_userManagerService','[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.','_onRemoteACK','error$','onStateChange','exports','&assign=','params','univer-pro.collaboration-client-socket-service','type','_roomMembers','collaboration-client.local-cache-service','TOO_MANY_REQUESTS','getConfig','2810880tKIUDt','_acknowledgedAwaitingChangeset','eventID','_scheduleCollaborationTimeoutTimer','_transformRemoteChangesetByIMECache','fetching\x20missing\x20changesets\x20from\x20','ENTITLE_NEED_BILLING_ADDRESS','delete','Error\x20on\x20receiving\x20event','interceptor','emitEvent','filter','_onConnectionOpen','_collaborationSessionService','Malformed\x20UTF-8\x20data','_reverseMap','src','values','onRemoteChangeset','LICENSE_DISTRO_REJECTED','finalize','POST','dispose$','_keySchedule','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_mode','uploadFileServerUrl','reconnect','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','extend','getResourcesRequest','IDLE','/resources','_toggleOnline','PERMISSION_DENIED','encryptBlock','getSheetId','appendMutation','StreamCipher','_updateStatus','url','waitForRoom$','toString','stopTime','UNKNOWN_CODE','sessionStatus$','mixIn','updateSnapshot','byteOffset','/allowed','_removeRoom','cfg','_showConflictNotification','LIVESHARE_TERMINATE','get','[SyncedState]:\x20received\x20acknowledgement.','_injector','_sessions','baseRev','forEach','_logService','UNIVER_SLIDE','UNISCRIPT_RUN','OTHER_CLIENT_EDITING','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','splice','reqId','MOBILE_HAS_BEEN_BOUND','PasswordBasedCipher','_getDownloadEndpointURL','USER_IS_ANONYMOUS','EMAIL_HAS_BEEN_BOUND','ENTITLE_REPORT_LIMIT_EXCEED','[PendingState]:\x20received\x20rejection.','?url=','socket\x20close','algo','_cipher','now','INVALID_ARGUMENT','_collaborationPaused','_networkConditionService','getImage','onRemoteRej','_members$','resend','_process','session','headers','_commandService','padding','_change$','_timeoutTimer','default','_clearRedo','Failed\x20to\x20update\x20permission\x20point','_imageSourceCache','_append','toggleOnline','responseType','_commentService','_executeRemoteChangeset','_getUploadFileURL','YUUMI_NO_CUBOID_FOR_QUESTION','session.join-failed','ERROR_IMAGE_TYPE','pipe','defineProperty','\x20to\x20','isPermissionRej','_retryConnectingTimer','buffer','repeat','LICENSE_MAX_UNITS_EXCEEDED','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','hostname','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','equals','SHA1','SOCKET_FAILED','BlockCipher','_initRequestHeader','_instanceService','LIVESHARE_REQUEST_HOST','sigBytes','_createInitialStateImpl','createInstance','append','_candidateSocket','updatePermissionPoint','confirm','_onOffline','clone','NoPadding','_getLoginPath','blockSize','_commentUpdate$','CURRENT_STATUS_CANNOT_OPERATE','encode','_permissionService','_transformStack','snapshot','LIVESHARE_FETCH_OPERATIONS','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_waitForHeartbeatResponse','saveImage','_univerInstanceService','_init','hasher','online$','words','SerializableCipher','userID','updateCursorEvent','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','disposeWithMe','requireSession','_getRedoStack','FETCH_MISSING','list','range','close','[PendingState]:\x20received\x20acknowledgement.','loadUnit','asObservable','getImageSourceCache','_socket$','enableSingleActiveInstanceLock','LEAVE','connection\x20error','_onMessage','event$','updateMember','AES','5637kqtHAq','status$','[OfflineState]:\x20received\x20rejection.','SNAPSHOT_HAS_BEEN_REMOVED','/-/object/-/batch_allowed','REDEMPTION_USER_REDEEM_TIMES_EXCEED','reduce','_onRemoteRejected','deleteCollaborator','_getSendChangesetTimeout','REDEMPTION_USER_NOT_ELIGIBLE','/unit/','_clearScheduledTask','onTransformRemoteChangesetByIMECache','YUUMI_CONNECTOR_URL_NOT_FOUND','status','_onUserJoin','salt','requestParams','APPLY_REJECT','fromCharCode','_replaceFileID','CHANGESET_SHOULD_RETRY','toggleOffline','objectID','setShowComponents','_map','enableAuthServer','concat','copyFileMeta','_sender','clear','getMemberID','HEARTBEAT','iterations','_doProcessBlock','crypto','LIVESHARE_OPERATION','_event$','_resendTimer','__Key__','_configService','/universer-api/snapshot','onLocalMutation','CLOSE_ROOM','_replayCachedMutations','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AWAITING','startsWith','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getSheetBlock','function','[CollaborationState]:\x20apply\x20error!','compose','UPDATE_PERMISSION_OBJ','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','OFFLINE','kdf','[UniverCollaborationClientPlugin]','slice','fetchThroughInterceptors','_sendingTimer','entityInit$','CHANGESET_REJ','executeCommand','byteLength','BASE64','capture','findIndex','infoRsp','create','withCredentials','save\x20fail\x20reason\x20is\x20','debug','JOIN','_getAPIPrefix','compute','onTransformState','_telemetryService','/fetchmissing?from=','23071390CLTStw','leaveEvent','getUnitId','_substituteUndoStack','_collaborationTimeoutTimer','LOGIN_FAILED','encodeURIComponent','WECHAT_HAS_BEEN_BOUND','_collaborationUIEventService','3358059ZNQTHw','GLOBAL_ROOMS_CNT_EXCEEDS','addHandlerCallback','EMAIL_VERIFY_CODE_MISMATCH','EvpKDF','_changesetReqId','unitId','UNKNOWN_CMD','_nDataBytes','_createHelper','NO_OTHER_CLIENTS_EDITING','\x0aCurrent:\x20','deepClone','Latin1','ENSURE_SNAPSHOT_EXECUTION','_getSignURL','People','_iv','_state','_incrementRevisionNumber','[DataLoaderService]','sheets','patch','actions','sid','_remoteChangesetQueue','SUBMIT_CHANGESET','ws://127.0.0.1:8000/universer-api/comb/connect','onSyncEditingCollabCursor','onload','_onFetchMissResult','_onConnectionFailed','_disableEditing','_DEC_XFORM_MODE','createDecryptor','unitId\x20is\x20not\x20found','location','YUUMI_RATE_OVER_LIMIT','_exhaustRemoteChangesetQueue','setWaitCount','SNAPSHOT_INVALID_SNAPSHOT','_startCollaboration','fetchMissingChangesets','_onRemoteRetry','INVITE_CODE_HAS_BEEN_UES','PY_RUNTIME_SCRIPT_ERROR','textRanges','close$','/universer-api/snapshot/','OpenSSL','synced','complete','_getCtorByUniverType','_handler','resolve','_socketMessageSubscription','[OfflineState]:\x20received\x20acknowledgement.','format','listCollaborators','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Encryptor','16371gtQdhD','_resendTimeout','_onLocalMutation','mutations','_transformIMECache','find','target','liveShareOperation','encrypt','charCodeAt','_undoRedoService','_config','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','execute','image/jpeg','apply','COMMENT_UPDATE','JOIN_ROOM_FULL','getTypeOfUnitDisposed$','add','onMissedChangesetFetched','put','message$','loginUrlKey','_onUserLeave','decrypt','getSnapshotAPIPath','_schedule','BlockCipherMode','JOIN_ROOM_FAILED','_tryReconnect','commentUpdateEvent','push','localeService','newCsEvent','keySize','originalMeta','body','_startTelemetryCollaborationNewChangeset','_getAPIPrefixPath','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','unknown','_onConflict','LOGIN_TOKEN_PROCESSING_FAILED','image/bmp','parse','unitID','enc','YUUMI_ALL_TABLES_IS_INVALID','reset','univer-pro.collaboration-client.single-active-unit-service','_clearCollaborationTimeoutTimer','_telemetryInfo','workbook','_doCryptBlock','_rescheduleHeartbeat','_listenToNetworkCondition','authzUrl','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_createHandler','collaborators','APPLY_PERMISSION_DENIED','_clearHeartbeatTimer','call','msCrypto','_onCombEvent','/collaborator','&source=','disableLocalCache','_getCurrentRevision','_revisionService','NOT_FOUND','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ivSize','_createHmacHelper','SUBMIT_CHANGESET_TIMEOUT','WordArray','collaboratorID','PERSON','closeSession','getDeserializedSheetBlock','_onJoinRoomEvent','size','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','has','2947AawnBN','Undefined','reverse','[CollaborationUndoRedoService]','UNAUTHENTICATED','HttpExport','subscribe','randomBytes','/block/','packageName','_sessionStatus$','UNRECOGNIZED','_unlockTransition','JOINING','length','_roomCreated$','getCurrentUser','_localCacheService','createEncryptor','_applyRemoteChangeset','/universer-api/uniscript','SYNCED','_joinRoom','joinRsp','reject','onRemoteRetry','INTERNAL_ERROR','_registerDependencies','startTime','_singleActiveUnitService','onMissingChangesets','session.room-full','lib','/rev/','_ENC_XFORM_MODE','c1Prime','unsubscribe','onSendChangeset','enableCollaboration','key','session.room-cnt-exceeds','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_createSocket','univer-pro.collaboration-client.network-condition.service','_members','/universer-api/stream/file/upload','failed\x20to\x20apply\x20missed\x20changesets!','createCollaborator','HEARTBEAT_TIMEOUT','image/gif','getRandomValues','_checkMissing','symbol','_onRecvEvent','name','REDEMPTION_INVALID_CODE','8634pSyEZm','awaiting_with_pending','?size=','HMAC','prototype','includes','INVALID_INVITE_CODE','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','MUTATION','YUUMI_TABLE_NOT_FOUND_IN_UNIT','rev','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_socket','getValue','changesets','updateCollaborator','/universer-api/authz','\x20-\x20','replace','pauseCollaboration','Could\x20not\x20dynamically\x20require\x20\x22','_invKeySchedule','ceil','_entityInit$','_key','next','getLatestCsReqIdBySid','REDEMPTION_CODE_FULLY_REDEEMED','_xformMode','4VaUydl','loadDoc','/-/object/list','[CollaborationSessionService]:\x20socket\x20error','csAckEvent','incrementRevOfUnit','4541135ykODWM','send','ENTITLE_CHAT_LIMIT_EXCEED','UPDATE_CURSOR','liveShareNewHost','REDEMPTION_CODE_HAS_BEEN_CREATED','href','string','_updateState','transformMutationsWithChangeset','COMPLETION_FINISHED','_parse','sessionStatus','override','_emitMembers','charAt','objectType','collaboration_new_changeset','join','PSEUDO_FETCH_MISSING_RESULT','batchAllowed','onTransformSelections','_toggleOffline','/object/','isArray','_awaitingChangeset','__splitChunk__','COMPRESS_MUTATION_SEND','/universer-api/file/{fileID}/sign-url','ERROR_AGAIN','min','_localeService','substr','_transformSelections','AUTHORIZE_CODE_ILLEGAL','ONLINE','shouldCloseConn','image/jpg','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','USERS_ENTER','_lockTransition','transformStack\x20failed!','max','revision','_undoStacks','&to=','_retryCount','loadUnitOfRevision','sin','_compressMutationService','mode','collaboration-client.config','Univer','onStarting','getTypeOfUnitAdded$','getInterceptPoints','[CollaborationSession]','_unitID','CipherParams','_shouldReportTelemetry','_sendHeartbeatTimer','MD5','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_NON_SEQUENTIAL_REVISION','_unitInfo$','loadOfflineData','_HTTPService','roles','version','[FetchMissState]','entries','auth.needGotoLoginAlert','OPTIONAL','_tryEnsureSocket','avatar','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_httpService','FETCH_MISS','_doFinalize','PAYMENT_CHANNEL_NOT_SUPPORT','[OfflineState]:\x20received\x20changeset.','CONNECTOR_DATA_TOO_LARGE','error','UUID','RETRY_CONNECTING_MAX_COUNT','saveSnapshot','onRemoteAck','onlyLocal','[CollaborationEntity]','_throwTelemetryCollaborationNewChangeset','CHANGESET_ACK','clamp','hasOwnProperty','_snapshotService','_resendWithTimeout','NOT_COLLAB','setConfig','listRoles','localCacheService','UNIVER_COLLABORATION_CLIENT_PLUGIN','MOBILE_VERIFY_CODE_MISMATCH','FAIL','stringify','state$','getWorkbookSelections','random','socketService','@univerjs-pro/collaboration-client','_socketReady','_keyPriorReset','_data','JOIN_ROOM_PERMISSION_DENIED','ERROR_EXCEED_SIZE','Base64','pending','loadSheet','_isPermissionRej','_clearLocalCache','_decreaseWaiting','createSocket','_updateLocalCache','Hasher','post','Utf8','MSG_FOR_ERROR','x-univer-host','_handlerCallback','_sheetTransformSelectionsService','SNAPSHOT_URL_KEY','session.room-permission-denied','LICENSE_EXPORT_SIZE_EXCEEDED','code','_hash','downloadEndpointUrl','_prevBlock','_clearRetryConnectingTimer','enableOfflineEditing','_waitCount','_transformUndoredo','USER_NOT_INVITED_CODE','csShouldRetryEvent','updatePermissionObjEvent','[CollaborationSessionService]','UNDEFINED','getCurrentRevOfUnit','m2Prime','_scheduleCompleteTimestamp','HttpImport','_doReset','_collabSessionService','INVITE_CODE_REQUIRED'];_0xa0c4=function(){return _0x152b8f;};return _0xa0c4();}function Di(){return Qt||(Qt=0x1,function(_0x218128,_0x2bca4a){(function(_0xfeb190,_0x4443dc,_0x394ae0){_0x218128['exports']=_0x4443dc(ie(),Sn(),Tn());}(On,function(_0x58cecf){var _0x54cd97=_0x21ac;return(function(){var _0x148db6=_0x21ac,_0x2bfa99=_0x58cecf,_0x3f17e5=_0x2bfa99[_0x148db6(0x1f9)],_0x16638c=_0x3f17e5[_0x148db6(0x2f3)],_0x2f4c2c=_0x3f17e5[_0x148db6(0x1d0)],_0x44f1db=_0x2bfa99[_0x148db6(0x8b)],_0x3f6f5e=_0x44f1db[_0x148db6(0x271)],_0x248ccc=_0x44f1db[_0x148db6(0x14b)]=_0x16638c[_0x148db6(0x385)]({'cfg':_0x16638c[_0x148db6(0x385)]({'keySize':0x80/0x20,'hasher':_0x3f6f5e,'iterations':0x1}),'init':function(_0x1df744){var _0x2884de=_0x148db6;this[_0x2884de(0x39b)]=this[_0x2884de(0x39b)]['extend'](_0x1df744);},'compute':function(_0x5ecb20,_0x4ac453){var _0x275423=_0x148db6;for(var _0x50ac32,_0x1b3999=this[_0x275423(0x39b)],_0x451122=_0x1b3999[_0x275423(0xd4)]['create'](),_0x265c12=_0x2f4c2c['create'](),_0x9f5e07=_0x265c12[_0x275423(0xd6)],_0x1d90df=_0x1b3999[_0x275423(0x1a7)],_0x36f709=_0x1b3999[_0x275423(0x110)];_0x9f5e07[_0x275423(0x1e7)]<_0x1d90df;){_0x50ac32&&_0x451122[_0x275423(0x2d6)](_0x50ac32),_0x50ac32=_0x451122[_0x275423(0x2d6)](_0x5ecb20)[_0x275423(0x37b)](_0x4ac453),_0x451122[_0x275423(0x1b5)]();for(var _0x4afe46=0x1;_0x4afe46<_0x36f709;_0x4afe46++)_0x50ac32=_0x451122[_0x275423(0x37b)](_0x50ac32),_0x451122[_0x275423(0x1b5)]();_0x265c12[_0x275423(0x10a)](_0x50ac32);}return _0x265c12[_0x275423(0xbc)]=_0x1d90df*0x4,_0x265c12;}});_0x2bfa99['EvpKDF']=function(_0x1d5f1e,_0x5d37a2,_0x5676a2){var _0x4ee186=_0x148db6;return _0x248ccc[_0x4ee186(0x134)](_0x5676a2)[_0x4ee186(0x13a)](_0x1d5f1e,_0x5d37a2);};}()),_0x58cecf[_0x54cd97(0x14b)];}));}(qe)),qe['exports'];}var Je={'exports':{}},Rn=Je[_0x48c408(0x35e)],ei;function yi(){var _0x4c22fe=_0x48c408;return ei||(ei=0x1,function(_0x4464e2,_0x3f3c84){(function(_0x3fd95c,_0x14f288,_0x5a8895){var _0x16f628=_0x21ac;_0x4464e2[_0x16f628(0x35e)]=_0x14f288(ie(),Di());}(Rn,function(_0x155eaa){var _0x364938=_0x21ac;_0x155eaa['lib'][_0x364938(0x331)]||function(_0x18b8b0){var _0xfc1a9=_0x364938,_0x4d7ea5=_0x155eaa,_0x2582bc=_0x4d7ea5[_0xfc1a9(0x1f9)],_0x1c362e=_0x2582bc[_0xfc1a9(0x2f3)],_0x1064fe=_0x2582bc[_0xfc1a9(0x1d0)],_0x513c59=_0x2582bc[_0xfc1a9(0x30b)],_0x25d5ca=_0x4d7ea5[_0xfc1a9(0x1b3)];_0x25d5ca[_0xfc1a9(0x2af)];var _0x2d52a9=_0x25d5ca[_0xfc1a9(0x2a5)],_0x5ca88d=_0x4d7ea5[_0xfc1a9(0x8b)],_0x1f423c=_0x5ca88d[_0xfc1a9(0x14b)],_0x10589f=_0x2582bc[_0xfc1a9(0x331)]=_0x513c59[_0xfc1a9(0x385)]({'cfg':_0x1c362e['extend'](),'createEncryptor':function(_0x1146b2,_0x555f4f){var _0x1116e9=_0xfc1a9;return this['create'](this[_0x1116e9(0x1fb)],_0x1146b2,_0x555f4f);},'createDecryptor':function(_0x1d9d40,_0x411669){var _0x3e0db1=_0xfc1a9;return this[_0x3e0db1(0x134)](this[_0x3e0db1(0x168)],_0x1d9d40,_0x411669);},'init':function(_0x593dbf,_0x5ecf69,_0x5cb87d){var _0x5a6ecd=_0xfc1a9;this[_0x5a6ecd(0x39b)]=this[_0x5a6ecd(0x39b)][_0x5a6ecd(0x385)](_0x5cb87d),this[_0x5a6ecd(0x22d)]=_0x593dbf,this[_0x5a6ecd(0x229)]=_0x5ecf69,this['reset']();},'reset':function(){var _0x5042cd=_0xfc1a9;_0x513c59[_0x5042cd(0x1b5)][_0x5042cd(0x1c3)](this),this[_0x5042cd(0x2c8)]();},'process':function(_0x5433ff){var _0x3567ff=_0xfc1a9;return this[_0x3567ff(0xa0)](_0x5433ff),this[_0x3567ff(0x95)]();},'finalize':function(_0x1b3dc1){var _0x356815=_0xfc1a9;_0x1b3dc1&&this[_0x356815(0xa0)](_0x1b3dc1);var _0x273ce7=this[_0x356815(0x282)]();return _0x273ce7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2cfed2(_0x1048c9){var _0x4b877b=_0x21ac;return typeof _0x1048c9==_0x4b877b(0x23b)?_0x4199e0:_0x257da3;}return function(_0x4f9f10){return{'encrypt':function(_0x435d51,_0x314917,_0x1841f4){var _0x23463e=_0x21ac;return _0x2cfed2(_0x314917)[_0x23463e(0x18c)](_0x4f9f10,_0x435d51,_0x314917,_0x1841f4);},'decrypt':function(_0x9ecfe,_0x34bb70,_0x5bc623){var _0x4f619c=_0x21ac;return _0x2cfed2(_0x34bb70)[_0x4f619c(0x19d)](_0x4f9f10,_0x9ecfe,_0x34bb70,_0x5bc623);}};};}())});_0x2582bc[_0xfc1a9(0x38e)]=_0x10589f[_0xfc1a9(0x385)]({'_doFinalize':function(){var _0x15c0c2=_0xfc1a9,_0x401e06=this[_0x15c0c2(0x95)](!0x0);return _0x401e06;},'blockSize':0x1});var _0x4b9b92=_0x4d7ea5[_0xfc1a9(0x266)]={},_0x42e53f=_0x2582bc[_0xfc1a9(0x1a0)]=_0x1c362e[_0xfc1a9(0x385)]({'createEncryptor':function(_0x11698e,_0x1d2385){var _0x43c566=_0xfc1a9;return this[_0x43c566(0x183)][_0x43c566(0x134)](_0x11698e,_0x1d2385);},'createDecryptor':function(_0x177380,_0x28dd75){var _0x207a7b=_0xfc1a9;return this['Decryptor'][_0x207a7b(0x134)](_0x177380,_0x28dd75);},'init':function(_0x4b6026,_0x417eb8){var _0x2b06ed=_0xfc1a9;this[_0x2b06ed(0x8c)]=_0x4b6026,this[_0x2b06ed(0x158)]=_0x417eb8;}}),_0x1889dd=_0x4b9b92['CBC']=(function(){var _0x5ec6a7=_0xfc1a9,_0x342cef=_0x42e53f[_0x5ec6a7(0x385)]();_0x342cef[_0x5ec6a7(0x183)]=_0x342cef[_0x5ec6a7(0x385)]({'processBlock':function(_0x9e19e6,_0x41e3a4){var _0x1431e9=_0x5ec6a7,_0x30b857=this[_0x1431e9(0x8c)],_0x4ef924=_0x30b857[_0x1431e9(0xc7)];_0x245307[_0x1431e9(0x1c3)](this,_0x9e19e6,_0x41e3a4,_0x4ef924),_0x30b857[_0x1431e9(0x38b)](_0x9e19e6,_0x41e3a4),this[_0x1431e9(0x2ba)]=_0x9e19e6[_0x1431e9(0x129)](_0x41e3a4,_0x41e3a4+_0x4ef924);}}),_0x342cef['Decryptor']=_0x342cef['extend']({'processBlock':function(_0x11ca91,_0x282ba0){var _0x102c58=_0x5ec6a7,_0x344f5d=this[_0x102c58(0x8c)],_0x436738=_0x344f5d[_0x102c58(0xc7)],_0x578fba=_0x11ca91[_0x102c58(0x129)](_0x282ba0,_0x282ba0+_0x436738);_0x344f5d[_0x102c58(0x2e5)](_0x11ca91,_0x282ba0),_0x245307['call'](this,_0x11ca91,_0x282ba0,_0x436738),this[_0x102c58(0x2ba)]=_0x578fba;}});function _0x245307(_0x3e760a,_0x7016f2,_0x3f9002){var _0xb93656=_0x5ec6a7,_0x2acb81,_0x480931=this['_iv'];_0x480931?(_0x2acb81=_0x480931,this['_iv']=_0x18b8b0):_0x2acb81=this[_0xb93656(0x2ba)];for(var _0x530366=0x0;_0x530366<_0x3f9002;_0x530366++)_0x3e760a[_0x7016f2+_0x530366]^=_0x2acb81[_0x530366];}return _0x342cef;}()),_0x474b8a=_0x4d7ea5['pad']={},_0x1dba30=_0x474b8a[_0xfc1a9(0x2f6)]={'pad':function(_0x5a3910,_0x213109){var _0x2e69d5=_0xfc1a9;for(var _0x4b1caf=_0x213109*0x4,_0x235d36=_0x4b1caf-_0x5a3910['sigBytes']%_0x4b1caf,_0x24ffdb=_0x235d36<<0x18|_0x235d36<<0x10|_0x235d36<<0x8|_0x235d36,_0x3ebc7d=[],_0x4944fb=0x0;_0x4944fb<_0x235d36;_0x4944fb+=0x4)_0x3ebc7d[_0x2e69d5(0x1a4)](_0x24ffdb);var _0x35599f=_0x1064fe[_0x2e69d5(0x134)](_0x3ebc7d,_0x235d36);_0x5a3910[_0x2e69d5(0x10a)](_0x35599f);},'unpad':function(_0x2307f3){var _0x1df8ee=_0xfc1a9,_0x10dce2=_0x2307f3[_0x1df8ee(0xd6)][_0x2307f3[_0x1df8ee(0xbc)]-0x1>>>0x2]&0xff;_0x2307f3[_0x1df8ee(0xbc)]-=_0x10dce2;}};_0x2582bc[_0xfc1a9(0xb8)]=_0x10589f['extend']({'cfg':_0x10589f[_0xfc1a9(0x39b)]['extend']({'mode':_0x1889dd,'padding':_0x1dba30}),'reset':function(){var _0x13ad59=_0xfc1a9,_0x5b7d24;_0x10589f[_0x13ad59(0x1b5)]['call'](this);var _0xd13b6e=this[_0x13ad59(0x39b)],_0x1135ba=_0xd13b6e['iv'],_0x1bfeab=_0xd13b6e[_0x13ad59(0x266)];this[_0x13ad59(0x22d)]==this[_0x13ad59(0x1fb)]?_0x5b7d24=_0x1bfeab[_0x13ad59(0x1eb)]:(_0x5b7d24=_0x1bfeab[_0x13ad59(0x169)],this['_minBufferSize']=0x1),this[_0x13ad59(0x381)]&&this[_0x13ad59(0x381)]['__creator']==_0x5b7d24?this[_0x13ad59(0x381)][_0x13ad59(0x300)](this,_0x1135ba&&_0x1135ba[_0x13ad59(0xd6)]):(this['_mode']=_0x5b7d24[_0x13ad59(0x1c3)](_0x1bfeab,this,_0x1135ba&&_0x1135ba[_0x13ad59(0xd6)]),this[_0x13ad59(0x381)][_0x13ad59(0x2ff)]=_0x5b7d24);},'_doProcessBlock':function(_0x314966,_0x4726ef){var _0x4e1b4d=_0xfc1a9;this[_0x4e1b4d(0x381)]['processBlock'](_0x314966,_0x4726ef);},'_doFinalize':function(){var _0x4f8902=_0xfc1a9,_0x83c7fd,_0x5efcf0=this[_0x4f8902(0x39b)][_0x4f8902(0x99)];return this[_0x4f8902(0x22d)]==this[_0x4f8902(0x1fb)]?(_0x5efcf0[_0x4f8902(0x324)](this[_0x4f8902(0x2a2)],this[_0x4f8902(0xc7)]),_0x83c7fd=this[_0x4f8902(0x95)](!0x0)):(_0x83c7fd=this['_process'](!0x0),_0x5efcf0['unpad'](_0x83c7fd)),_0x83c7fd;},'blockSize':0x80/0x20});var _0x17ea12=_0x2582bc[_0xfc1a9(0x26e)]=_0x1c362e['extend']({'init':function(_0x937dcb){var _0x59b940=_0xfc1a9;this[_0x59b940(0x396)](_0x937dcb);},'toString':function(_0x8b420c){var _0x109d45=_0xfc1a9;return(_0x8b420c||this[_0x109d45(0x301)])[_0x109d45(0x29a)](this);}}),_0x986483=_0x4d7ea5[_0xfc1a9(0x180)]={},_0x400ae2=_0x986483[_0xfc1a9(0x178)]={'stringify':function(_0x551aed){var _0x57261e=_0xfc1a9,_0x24073b,_0x3ba4a9=_0x551aed[_0x57261e(0x2e9)],_0x473a82=_0x551aed[_0x57261e(0xff)];return _0x473a82?_0x24073b=_0x1064fe[_0x57261e(0x134)]([0x53616c74,0x65645f5f])[_0x57261e(0x10a)](_0x473a82)[_0x57261e(0x10a)](_0x3ba4a9):_0x24073b=_0x3ba4a9,_0x24073b[_0x57261e(0x392)](_0x2d52a9);},'parse':function(_0x24a433){var _0x2ca49b=_0xfc1a9,_0x48e0d4,_0x45d574=_0x2d52a9[_0x2ca49b(0x1b1)](_0x24a433),_0xb1f377=_0x45d574[_0x2ca49b(0xd6)];return _0xb1f377[0x0]==0x53616c74&&_0xb1f377[0x1]==0x65645f5f&&(_0x48e0d4=_0x1064fe[_0x2ca49b(0x134)](_0xb1f377[_0x2ca49b(0x129)](0x2,0x4)),_0xb1f377[_0x2ca49b(0x3a9)](0x0,0x4),_0x45d574[_0x2ca49b(0xbc)]-=0x10),_0x17ea12['create']({'ciphertext':_0x45d574,'salt':_0x48e0d4});}},_0x257da3=_0x2582bc[_0xfc1a9(0xd7)]=_0x1c362e['extend']({'cfg':_0x1c362e['extend']({'format':_0x400ae2}),'encrypt':function(_0x15d567,_0x54d303,_0x5833c0,_0x2d89b1){var _0x519bbc=_0xfc1a9;_0x2d89b1=this['cfg'][_0x519bbc(0x385)](_0x2d89b1);var _0x10bae2=_0x15d567[_0x519bbc(0x1eb)](_0x5833c0,_0x2d89b1),_0x3703fc=_0x10bae2[_0x519bbc(0x37b)](_0x54d303),_0x464e2a=_0x10bae2['cfg'];return _0x17ea12['create']({'ciphertext':_0x3703fc,'key':_0x5833c0,'iv':_0x464e2a['iv'],'algorithm':_0x15d567,'mode':_0x464e2a[_0x519bbc(0x266)],'padding':_0x464e2a[_0x519bbc(0x99)],'blockSize':_0x15d567[_0x519bbc(0xc7)],'formatter':_0x2d89b1[_0x519bbc(0x180)]});},'decrypt':function(_0x24e1f6,_0xa28cc3,_0x4d8d56,_0x235a20){var _0x1d29a2=_0xfc1a9;_0x235a20=this[_0x1d29a2(0x39b)][_0x1d29a2(0x385)](_0x235a20),_0xa28cc3=this[_0x1d29a2(0x23f)](_0xa28cc3,_0x235a20[_0x1d29a2(0x180)]);var _0x3a3ba8=_0x24e1f6[_0x1d29a2(0x169)](_0x4d8d56,_0x235a20)[_0x1d29a2(0x37b)](_0xa28cc3[_0x1d29a2(0x2e9)]);return _0x3a3ba8;},'_parse':function(_0x47407c,_0xdc558){var _0x395b71=_0xfc1a9;return typeof _0x47407c==_0x395b71(0x23b)?_0xdc558[_0x395b71(0x1b1)](_0x47407c,this):_0x47407c;}}),_0x4252e9=_0x4d7ea5[_0xfc1a9(0x127)]={},_0xcdd5d8=_0x4252e9[_0xfc1a9(0x178)]={'execute':function(_0x170db0,_0x4ff6c3,_0x80c753,_0x592de9,_0xfcaf3a){var _0x3d7749=_0xfc1a9;if(_0x592de9||(_0x592de9=_0x1064fe[_0x3d7749(0x29d)](0x40/0x8)),_0xfcaf3a)var _0x9a64ac=_0x1f423c[_0x3d7749(0x134)]({'keySize':_0x4ff6c3+_0x80c753,'hasher':_0xfcaf3a})[_0x3d7749(0x13a)](_0x170db0,_0x592de9);else var _0x9a64ac=_0x1f423c[_0x3d7749(0x134)]({'keySize':_0x4ff6c3+_0x80c753})[_0x3d7749(0x13a)](_0x170db0,_0x592de9);var _0x46d29d=_0x1064fe[_0x3d7749(0x134)](_0x9a64ac['words'][_0x3d7749(0x129)](_0x4ff6c3),_0x80c753*0x4);return _0x9a64ac[_0x3d7749(0xbc)]=_0x4ff6c3*0x4,_0x17ea12[_0x3d7749(0x134)]({'key':_0x9a64ac,'iv':_0x46d29d,'salt':_0x592de9});}},_0x4199e0=_0x2582bc[_0xfc1a9(0x3ac)]=_0x257da3[_0xfc1a9(0x385)]({'cfg':_0x257da3[_0xfc1a9(0x39b)]['extend']({'kdf':_0xcdd5d8}),'encrypt':function(_0x4bee0d,_0x178bce,_0x4fa1f2,_0x673a05){var _0x247d2c=_0xfc1a9;_0x673a05=this['cfg'][_0x247d2c(0x385)](_0x673a05);var _0x41140f=_0x673a05[_0x247d2c(0x127)]['execute'](_0x4fa1f2,_0x4bee0d[_0x247d2c(0x1a7)],_0x4bee0d[_0x247d2c(0x1cd)],_0x673a05[_0x247d2c(0xff)],_0x673a05[_0x247d2c(0xd4)]);_0x673a05['iv']=_0x41140f['iv'];var _0x193def=_0x257da3['encrypt'][_0x247d2c(0x1c3)](this,_0x4bee0d,_0x178bce,_0x41140f[_0x247d2c(0x200)],_0x673a05);return _0x193def['mixIn'](_0x41140f),_0x193def;},'decrypt':function(_0x3c6eea,_0x15ee35,_0x1ed51d,_0x550ae9){var _0x33b8ee=_0xfc1a9;_0x550ae9=this[_0x33b8ee(0x39b)]['extend'](_0x550ae9),_0x15ee35=this['_parse'](_0x15ee35,_0x550ae9[_0x33b8ee(0x180)]);var _0x5c8acc=_0x550ae9[_0x33b8ee(0x127)][_0x33b8ee(0x191)](_0x1ed51d,_0x3c6eea[_0x33b8ee(0x1a7)],_0x3c6eea['ivSize'],_0x15ee35[_0x33b8ee(0xff)],_0x550ae9[_0x33b8ee(0xd4)]);_0x550ae9['iv']=_0x5c8acc['iv'];var _0x3a5e4c=_0x257da3['decrypt'][_0x33b8ee(0x1c3)](this,_0x3c6eea,_0x15ee35,_0x5c8acc[_0x33b8ee(0x200)],_0x550ae9);return _0x3a5e4c;}});}();}));}(Je)),Je[_0x4c22fe(0x35e)];}var Nn=Ge[_0x48c408(0x35e)],ti;function Cn(){var _0x515de1=_0x48c408;return ti||(ti=0x1,function(_0x1e3504,_0xef89c4){(function(_0x4db9bc,_0x2194d7,_0x40768a){var _0x3cace7=_0x21ac;_0x1e3504[_0x3cace7(0x35e)]=_0x2194d7(ie(),bi(),mn(),Di(),yi());}(Nn,function(_0x3b13c0){return(function(){var _0x3dda41=_0x21ac,_0x29c5a7=_0x3b13c0,_0x3e815e=_0x29c5a7[_0x3dda41(0x1f9)],_0x5f24d6=_0x3e815e[_0x3dda41(0xb8)],_0x32a4ce=_0x29c5a7[_0x3dda41(0x8b)],_0x4a2b8c=[],_0x1d4cf9=[],_0x9ada42=[],_0x3d670a=[],_0x3bd81d=[],_0x49b3a4=[],_0x40ce65=[],_0x128c05=[],_0x3fc3d3=[],_0x206b4f=[];(function(){for(var _0x43dee8=[],_0x5137a5=0x0;_0x5137a5<0x100;_0x5137a5++)_0x5137a5<0x80?_0x43dee8[_0x5137a5]=_0x5137a5<<0x1:_0x43dee8[_0x5137a5]=_0x5137a5<<0x1^0x11b;for(var _0x2b04d8=0x0,_0x1cbd54=0x0,_0x5137a5=0x0;_0x5137a5<0x100;_0x5137a5++){var _0x57f976=_0x1cbd54^_0x1cbd54<<0x1^_0x1cbd54<<0x2^_0x1cbd54<<0x3^_0x1cbd54<<0x4;_0x57f976=_0x57f976>>>0x8^_0x57f976&0xff^0x63,_0x4a2b8c[_0x2b04d8]=_0x57f976,_0x1d4cf9[_0x57f976]=_0x2b04d8;var _0xcabd9=_0x43dee8[_0x2b04d8],_0x5a2f61=_0x43dee8[_0xcabd9],_0x512f45=_0x43dee8[_0x5a2f61],_0x316307=_0x43dee8[_0x57f976]*0x101^_0x57f976*0x1010100;_0x9ada42[_0x2b04d8]=_0x316307<<0x18|_0x316307>>>0x8,_0x3d670a[_0x2b04d8]=_0x316307<<0x10|_0x316307>>>0x10,_0x3bd81d[_0x2b04d8]=_0x316307<<0x8|_0x316307>>>0x18,_0x49b3a4[_0x2b04d8]=_0x316307;var _0x316307=_0x512f45*0x1010101^_0x5a2f61*0x10001^_0xcabd9*0x101^_0x2b04d8*0x1010100;_0x40ce65[_0x57f976]=_0x316307<<0x18|_0x316307>>>0x8,_0x128c05[_0x57f976]=_0x316307<<0x10|_0x316307>>>0x10,_0x3fc3d3[_0x57f976]=_0x316307<<0x8|_0x316307>>>0x18,_0x206b4f[_0x57f976]=_0x316307,_0x2b04d8?(_0x2b04d8=_0xcabd9^_0x43dee8[_0x43dee8[_0x43dee8[_0x512f45^_0xcabd9]]],_0x1cbd54^=_0x43dee8[_0x43dee8[_0x1cbd54]]):_0x2b04d8=_0x1cbd54=0x1;}}());var _0x34233d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x308ca3=_0x32a4ce[_0x3dda41(0xed)]=_0x5f24d6[_0x3dda41(0x385)]({'_doReset':function(){var _0x264ea0=_0x3dda41,_0x215a98;if(!(this[_0x264ea0(0x2da)]&&this[_0x264ea0(0x2a1)]===this[_0x264ea0(0x229)])){for(var _0x1a0d09=this[_0x264ea0(0x2a1)]=this['_key'],_0x459fd9=_0x1a0d09['words'],_0x3f6559=_0x1a0d09[_0x264ea0(0xbc)]/0x4,_0x17d944=this['_nRounds']=_0x3f6559+0x6,_0x1fa1ee=(_0x17d944+0x1)*0x4,_0x168824=this[_0x264ea0(0x37e)]=[],_0x33a779=0x0;_0x33a779<_0x1fa1ee;_0x33a779++)_0x33a779<_0x3f6559?_0x168824[_0x33a779]=_0x459fd9[_0x33a779]:(_0x215a98=_0x168824[_0x33a779-0x1],_0x33a779%_0x3f6559?_0x3f6559>0x6&&_0x33a779%_0x3f6559==0x4&&(_0x215a98=_0x4a2b8c[_0x215a98>>>0x18]<<0x18|_0x4a2b8c[_0x215a98>>>0x10&0xff]<<0x10|_0x4a2b8c[_0x215a98>>>0x8&0xff]<<0x8|_0x4a2b8c[_0x215a98&0xff]):(_0x215a98=_0x215a98<<0x8|_0x215a98>>>0x18,_0x215a98=_0x4a2b8c[_0x215a98>>>0x18]<<0x18|_0x4a2b8c[_0x215a98>>>0x10&0xff]<<0x10|_0x4a2b8c[_0x215a98>>>0x8&0xff]<<0x8|_0x4a2b8c[_0x215a98&0xff],_0x215a98^=_0x34233d[_0x33a779/_0x3f6559|0x0]<<0x18),_0x168824[_0x33a779]=_0x168824[_0x33a779-_0x3f6559]^_0x215a98);for(var _0x341d77=this[_0x264ea0(0x226)]=[],_0x331e2b=0x0;_0x331e2b<_0x1fa1ee;_0x331e2b++){var _0x33a779=_0x1fa1ee-_0x331e2b;if(_0x331e2b%0x4)var _0x215a98=_0x168824[_0x33a779];else var _0x215a98=_0x168824[_0x33a779-0x4];_0x331e2b<0x4||_0x33a779<=0x4?_0x341d77[_0x331e2b]=_0x215a98:_0x341d77[_0x331e2b]=_0x40ce65[_0x4a2b8c[_0x215a98>>>0x18]]^_0x128c05[_0x4a2b8c[_0x215a98>>>0x10&0xff]]^_0x3fc3d3[_0x4a2b8c[_0x215a98>>>0x8&0xff]]^_0x206b4f[_0x4a2b8c[_0x215a98&0xff]];}}},'encryptBlock':function(_0x29bab4,_0x2fc950){var _0x4302b5=_0x3dda41;this[_0x4302b5(0x1ba)](_0x29bab4,_0x2fc950,this['_keySchedule'],_0x9ada42,_0x3d670a,_0x3bd81d,_0x49b3a4,_0x4a2b8c);},'decryptBlock':function(_0x4a7e89,_0x1c4abf){var _0x3408e1=_0x3dda41,_0x209efe=_0x4a7e89[_0x1c4abf+0x1];_0x4a7e89[_0x1c4abf+0x1]=_0x4a7e89[_0x1c4abf+0x3],_0x4a7e89[_0x1c4abf+0x3]=_0x209efe,this['_doCryptBlock'](_0x4a7e89,_0x1c4abf,this[_0x3408e1(0x226)],_0x40ce65,_0x128c05,_0x3fc3d3,_0x206b4f,_0x1d4cf9);var _0x209efe=_0x4a7e89[_0x1c4abf+0x1];_0x4a7e89[_0x1c4abf+0x1]=_0x4a7e89[_0x1c4abf+0x3],_0x4a7e89[_0x1c4abf+0x3]=_0x209efe;},'_doCryptBlock':function(_0x5b7573,_0x5ad398,_0x1a21ce,_0x8e134b,_0x380f72,_0x8a93ff,_0x49e3dc,_0x3b5129){var _0x5b1369=_0x3dda41;for(var _0x34e0e=this[_0x5b1369(0x2da)],_0x313f1d=_0x5b7573[_0x5ad398]^_0x1a21ce[0x0],_0x5eb256=_0x5b7573[_0x5ad398+0x1]^_0x1a21ce[0x1],_0x2fb177=_0x5b7573[_0x5ad398+0x2]^_0x1a21ce[0x2],_0x521969=_0x5b7573[_0x5ad398+0x3]^_0x1a21ce[0x3],_0x33a579=0x4,_0x1ef97d=0x1;_0x1ef97d<_0x34e0e;_0x1ef97d++){var _0x496c7e=_0x8e134b[_0x313f1d>>>0x18]^_0x380f72[_0x5eb256>>>0x10&0xff]^_0x8a93ff[_0x2fb177>>>0x8&0xff]^_0x49e3dc[_0x521969&0xff]^_0x1a21ce[_0x33a579++],_0x3e703b=_0x8e134b[_0x5eb256>>>0x18]^_0x380f72[_0x2fb177>>>0x10&0xff]^_0x8a93ff[_0x521969>>>0x8&0xff]^_0x49e3dc[_0x313f1d&0xff]^_0x1a21ce[_0x33a579++],_0x4afb7d=_0x8e134b[_0x2fb177>>>0x18]^_0x380f72[_0x521969>>>0x10&0xff]^_0x8a93ff[_0x313f1d>>>0x8&0xff]^_0x49e3dc[_0x5eb256&0xff]^_0x1a21ce[_0x33a579++],_0x566ae0=_0x8e134b[_0x521969>>>0x18]^_0x380f72[_0x313f1d>>>0x10&0xff]^_0x8a93ff[_0x5eb256>>>0x8&0xff]^_0x49e3dc[_0x2fb177&0xff]^_0x1a21ce[_0x33a579++];_0x313f1d=_0x496c7e,_0x5eb256=_0x3e703b,_0x2fb177=_0x4afb7d,_0x521969=_0x566ae0;}var _0x496c7e=(_0x3b5129[_0x313f1d>>>0x18]<<0x18|_0x3b5129[_0x5eb256>>>0x10&0xff]<<0x10|_0x3b5129[_0x2fb177>>>0x8&0xff]<<0x8|_0x3b5129[_0x521969&0xff])^_0x1a21ce[_0x33a579++],_0x3e703b=(_0x3b5129[_0x5eb256>>>0x18]<<0x18|_0x3b5129[_0x2fb177>>>0x10&0xff]<<0x10|_0x3b5129[_0x521969>>>0x8&0xff]<<0x8|_0x3b5129[_0x313f1d&0xff])^_0x1a21ce[_0x33a579++],_0x4afb7d=(_0x3b5129[_0x2fb177>>>0x18]<<0x18|_0x3b5129[_0x521969>>>0x10&0xff]<<0x10|_0x3b5129[_0x313f1d>>>0x8&0xff]<<0x8|_0x3b5129[_0x5eb256&0xff])^_0x1a21ce[_0x33a579++],_0x566ae0=(_0x3b5129[_0x521969>>>0x18]<<0x18|_0x3b5129[_0x313f1d>>>0x10&0xff]<<0x10|_0x3b5129[_0x5eb256>>>0x8&0xff]<<0x8|_0x3b5129[_0x2fb177&0xff])^_0x1a21ce[_0x33a579++];_0x5b7573[_0x5ad398]=_0x496c7e,_0x5b7573[_0x5ad398+0x1]=_0x3e703b,_0x5b7573[_0x5ad398+0x2]=_0x4afb7d,_0x5b7573[_0x5ad398+0x3]=_0x566ae0;},'keySize':0x100/0x20});_0x29c5a7[_0x3dda41(0xed)]=_0x5f24d6[_0x3dda41(0x150)](_0x308ca3);}()),_0x3b13c0['AES'];}));}(Ge)),Ge[_0x515de1(0x35e)];}var bn=Cn();const Dn=He(bn);var yn=bi();const ii=He(yn);var Ze={'exports':{}},Un=Ze[_0x48c408(0x35e)],si;function An(){var _0x4a1fde=_0x48c408;return si||(si=0x1,function(_0x18e566,_0x5490d9){(function(_0x3f6ff6,_0x15185d){var _0x55ae91=_0x21ac;_0x18e566[_0x55ae91(0x35e)]=_0x15185d(ie());}(Un,function(_0x5f5d5b){var _0x2cbdfc=_0x21ac;return _0x5f5d5b[_0x2cbdfc(0x1b3)][_0x2cbdfc(0x2af)];}));}(Ze)),Ze[_0x4a1fde(0x35e)];}var Pn=An();const wn=He(Pn);function _0x21ac(_0xce9be7,_0x4348fb){_0xce9be7=_0xce9be7-0x86;var _0xa0c49a=_0xa0c4();var _0x21ace6=_0xa0c49a[_0xce9be7];return _0x21ace6;}var Qe={'exports':{}},Ln=Qe['exports'],ni;function Mn(){return ni||(ni=0x1,function(_0x318bce,_0x22b8b7){(function(_0x24d920,_0x71f865){var _0x53d117=_0x21ac;_0x318bce[_0x53d117(0x35e)]=_0x71f865(ie());}(Ln,function(_0x1163c0){var _0x12ffa1=_0x21ac;return(function(){var _0x101d6c=_0x21ac;if(typeof ArrayBuffer==_0x101d6c(0x121)){var _0x545b60=_0x1163c0,_0x415a3e=_0x545b60[_0x101d6c(0x1f9)],_0x27fda5=_0x415a3e[_0x101d6c(0x1d0)],_0x1d2124=_0x27fda5[_0x101d6c(0x300)],_0x3139c8=_0x27fda5[_0x101d6c(0x300)]=function(_0x9a2a8a){var _0x218cdd=_0x101d6c;if(_0x9a2a8a instanceof ArrayBuffer&&(_0x9a2a8a=new Uint8Array(_0x9a2a8a)),(_0x9a2a8a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x9a2a8a instanceof Uint8ClampedArray||_0x9a2a8a instanceof Int16Array||_0x9a2a8a instanceof Uint16Array||_0x9a2a8a instanceof Int32Array||_0x9a2a8a instanceof Uint32Array||_0x9a2a8a instanceof Float32Array||_0x9a2a8a instanceof Float64Array)&&(_0x9a2a8a=new Uint8Array(_0x9a2a8a[_0x218cdd(0xae)],_0x9a2a8a[_0x218cdd(0x398)],_0x9a2a8a[_0x218cdd(0x12f)])),_0x9a2a8a instanceof Uint8Array){for(var _0xb1eae1=_0x9a2a8a[_0x218cdd(0x12f)],_0x15f9ab=[],_0x1e9d7f=0x0;_0x1e9d7f<_0xb1eae1;_0x1e9d7f++)_0x15f9ab[_0x1e9d7f>>>0x2]|=_0x9a2a8a[_0x1e9d7f]<<0x18-_0x1e9d7f%0x4*0x8;_0x1d2124[_0x218cdd(0x1c3)](this,_0x15f9ab,_0xb1eae1);}else _0x1d2124[_0x218cdd(0x193)](this,arguments);};_0x3139c8[_0x101d6c(0x215)]=_0x27fda5;}}()),_0x1163c0[_0x12ffa1(0x1f9)][_0x12ffa1(0x1d0)];}));}(Qe)),Qe['exports'];}var xn=Mn();const kn=He(xn);var et={'exports':{}},$n=et[_0x48c408(0x35e)],ri;function Hn(){var _0x5a6039=_0x48c408;return ri||(ri=0x1,function(_0x2ae8de,_0x1e21e8){(function(_0x3ab035,_0x241931,_0x31efee){var _0x3a9b72=_0x21ac;_0x2ae8de[_0x3a9b72(0x35e)]=_0x241931(ie(),yi());}($n,function(_0x1a023c){var _0x2df3ea=_0x21ac;return _0x1a023c[_0x2df3ea(0x324)][_0x2df3ea(0xc5)]={'pad':function(){},'unpad':function(){}},_0x1a023c[_0x2df3ea(0x324)][_0x2df3ea(0xc5)];}));}(et)),et[_0x5a6039(0x35e)];}var Bn=Hn();const Fn=He(Bn);function jn(_0xad5b87,_0x1b5401){var _0xa4ca8e=_0x48c408;const _0x78fbae=_0x1b5401-_0xad5b87[_0xa4ca8e(0x1e7)]%_0x1b5401,_0x4cb67c=String[_0xa4ca8e(0x102)](_0x78fbae)[_0xa4ca8e(0xaf)](_0x78fbae);return _0xad5b87+_0x4cb67c;}function Vn(_0x4cee01,_0x4dbf75){var _0x5ec074=_0x48c408;const _0x2d5909=kn['random'](0x10),_0x5628d3=jn(_0x4cee01,0x10),_0x36550d=Dn[_0x5ec074(0x18c)](wn[_0x5ec074(0x1b1)](_0x5628d3),ii[_0x5ec074(0x1b1)](_0x4dbf75),{'iv':_0x2d5909,'padding':Fn});return _0x2d5909[_0x5ec074(0x10a)](_0x36550d['ciphertext'])[_0x5ec074(0x392)](ii);}function Gn(){var _0x384127=_0x48c408;const _0x52ba20=_0x3c18e7()[_0x384127(0x116)];if(typeof window<'u'&&typeof window[_0x384127(0x16b)]<'u'&&_0x52ba20){const _0x5098c3={'time':Math[_0x384127(0x2dd)](Date[_0x384127(0x8d)]()/0x3e8),'domain':location[_0x384127(0xb3)]};return Vn(JSON[_0x384127(0x29a)](_0x5098c3),_0x52ba20);}}var Wn=Object[_0x48c408(0x2d3)],Yn=(_0x29b166,_0x2d3d76,_0x4e67db,_0x84822d)=>{var _0x23cd83=_0x48c408;for(var _0x30dc1c=_0x84822d>0x1?void 0x0:_0x84822d?Wn(_0x2d3d76,_0x4e67db):_0x2d3d76,_0x101a71=_0x29b166[_0x23cd83(0x1e7)]-0x1,_0x150b94;_0x101a71>=0x0;_0x101a71--)(_0x150b94=_0x29b166[_0x101a71])&&(_0x30dc1c=_0x150b94(_0x30dc1c)||_0x30dc1c);return _0x30dc1c;},Kn=(_0x55c809,_0x29f277)=>(_0x476be9,_0x4b125e)=>_0x29f277(_0x476be9,_0x4b125e,_0x55c809);let ot=class{constructor(_0x4d485f){var _0x34a3ac=_0x48c408;this[_0x34a3ac(0x280)]=_0x4d485f,this[_0x34a3ac(0xb9)]();}[_0x48c408(0xb9)](){var _0x44d0ff=_0x48c408;this[_0x44d0ff(0x280)][_0x44d0ff(0x2f5)]({'interceptor':(_0x410d37,_0x2b4e39)=>{var _0x49bf66=_0x44d0ff;const _0x4c12a3=_0x410d37['headers'],_0x43e47a=Gn();return _0x43e47a&&_0x4c12a3[_0x49bf66(0x351)](_0x49bf66(0x2b1),_0x43e47a),_0x2b4e39(_0x410d37);}});}};ot=Yn([Kn(0x0,_0x27d190(_0x1fe4bb))],ot);var qn=Object[_0x48c408(0x2d3)],zn=(_0x59856e,_0x5a5210,_0x31cfd8,_0x3c2ecb)=>{var _0x3a0ce6=_0x48c408;for(var _0x3b62f5=_0x3c2ecb>0x1?void 0x0:_0x3c2ecb?qn(_0x5a5210,_0x31cfd8):_0x5a5210,_0x166a48=_0x59856e[_0x3a0ce6(0x1e7)]-0x1,_0x71a9be;_0x166a48>=0x0;_0x166a48--)(_0x71a9be=_0x59856e[_0x166a48])&&(_0x3b62f5=_0x71a9be(_0x3b62f5)||_0x3b62f5);return _0x3b62f5;},Et=(_0xaeaa5d,_0x115587)=>(_0x29cf7a,_0x176435)=>_0x115587(_0x29cf7a,_0x176435,_0xaeaa5d);let Rt=class extends _0x4e8d87{constructor(_0x24f1ff,_0x306b04,_0x166e9b){var _0x442bbc=_0x48c408;super(),D(this,_0x442bbc(0x274),new _0x228d76(null)),D(this,'unitInfo$',this[_0x442bbc(0x274)]['asObservable']()),(this[_0x442bbc(0x3a4)]=_0x24f1ff,this['_snapshotService']=_0x306b04,this[_0x442bbc(0x1ea)]=_0x166e9b);}async[_0x48c408(0x263)](_0x2e51d2,_0xb38b01,_0x30f140){var _0x27ba7f=_0x48c408;this[_0x27ba7f(0x274)]['next']({'unitId':_0x2e51d2,'type':_0xb38b01});let _0x4a3e02=null;switch(_0xb38b01){case Q[_0x27ba7f(0x2eb)]:{_0x4a3e02=await this[_0x27ba7f(0x291)][_0x27ba7f(0x2a7)](_0x2e51d2,_0x30f140);break;}case Q['UNIVER_DOC']:{_0x4a3e02=await this[_0x27ba7f(0x291)][_0x27ba7f(0x22f)](_0x2e51d2,_0x30f140);break;}default:{this[_0x27ba7f(0x3a4)][_0x27ba7f(0x286)](_0x27ba7f(0x15b),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x4a3e02;}async[_0x48c408(0xe3)](_0x1a8f08,_0xffe41e,_0x8d0518){var _0x2748bf=_0x48c408,_0x31d049;this[_0x2748bf(0x274)][_0x2748bf(0x22a)]({'unitId':_0x1a8f08,'type':_0xffe41e,'subUnitId':_0x8d0518});let _0x5669db=0x0;const _0x4ec4aa=await((_0x31d049=this[_0x2748bf(0x1ea)])==null?void 0x0:_0x31d049[_0x2748bf(0x275)](_0x1a8f08));return _0x4ec4aa&&(_0x4ec4aa['awaitingChangeset']||_0x4ec4aa[_0x2748bf(0x187)][_0x2748bf(0x1e7)]!==0x0)&&(_0x5669db=_0x4ec4aa[_0x2748bf(0x21b)]),_0x5669db===0x0&&this['_logService'][_0x2748bf(0x137)](_0x2748bf(0x15b),_0x2748bf(0x1d7)),this['loadUnitOfRevision'](_0x1a8f08,_0xffe41e,_0x5669db);}};Rt=zn([Et(0x0,_0x5532d1),Et(0x1,_0x27d190(_0x1f0844)),Et(0x2,_0x441adc(X))],Rt);var Xn=Object['getOwnPropertyDescriptor'],Jn=(_0x1a296f,_0x492334,_0x4fd2c9,_0x59c17c)=>{var _0x4c6f50=_0x48c408;for(var _0x2b56cb=_0x59c17c>0x1?void 0x0:_0x59c17c?Xn(_0x492334,_0x4fd2c9):_0x492334,_0x4555ab=_0x1a296f[_0x4c6f50(0x1e7)]-0x1,_0x25c950;_0x4555ab>=0x0;_0x4555ab--)(_0x25c950=_0x1a296f[_0x4555ab])&&(_0x2b56cb=_0x25c950(_0x2b56cb)||_0x2b56cb);return _0x2b56cb;},pt=(_0x251fbd,_0x461cf9)=>(_0x107aca,_0x5c2a12)=>_0x461cf9(_0x107aca,_0x5c2a12,_0x251fbd);const Zn=['image/png',_0x48c408(0x192),_0x48c408(0x259),_0x48c408(0x20a),_0x48c408(0x1b0)],Qn=0x5*0x400*0x400,er=_0x48c408(0x206),tr=_0x48c408(0x250);let Nt=class{constructor(_0x2b7e7b,_0x3f0d28,_0x46d0e4){var _0x2683ff=_0x48c408;D(this,_0x2683ff(0x2bd),0x0),D(this,_0x2683ff(0x9a),new _0x2e504e()),D(this,'change$',this[_0x2683ff(0x9a)]),D(this,_0x2683ff(0x9f),new Map()),(this[_0x2683ff(0x280)]=_0x2b7e7b,this[_0x2683ff(0x117)]=_0x3f0d28,this[_0x2683ff(0xd2)]=_0x46d0e4);}[_0x48c408(0x16e)](_0x3da12c){var _0xcf9455=_0x48c408;this['_waitCount']=_0x3da12c,this[_0xcf9455(0x9a)]['next'](_0x3da12c);}[_0x48c408(0xe5)](_0x37978a,_0x257f33){var _0x51ab77=_0x48c408;if(_0x257f33===_0x393922[_0x51ab77(0x130)]){const _0x40c38d=new Image();return _0x40c38d[_0x51ab77(0x377)]=_0x37978a,_0x40c38d;}return this[_0x51ab77(0x9f)][_0x51ab77(0x39e)](_0x37978a);}[_0x48c408(0x30c)](_0x546b64,_0x3b39a0,_0x581f68){var _0x1f2efe=_0x48c408;_0x3b39a0===_0x393922[_0x1f2efe(0x130)]||_0x581f68==null||this['_imageSourceCache']['set'](_0x546b64,_0x581f68);}async[_0x48c408(0x91)](_0x1c0023){var _0x4aca3e=_0x48c408;try{const _0x504108=this[_0x4aca3e(0x103)](this[_0x4aca3e(0x156)](),''+_0x1c0023),_0x46760c=(await this['_httpService'][_0x4aca3e(0x39e)](_0x504108))[_0x4aca3e(0x1a9)];if(_0x46760c['error']&&_0x46760c['error'][_0x4aca3e(0x2b7)]===Ei['OK']){const _0xaafede=_0x52bc3d(_0x46760c[_0x4aca3e(0x390)],this[_0x4aca3e(0x3ad)]());return Promise[_0x4aca3e(0x17d)](_0xaafede);}return Promise[_0x4aca3e(0x1f1)](_0x46760c[_0x4aca3e(0x286)]);}catch(_0x1880fe){return Promise[_0x4aca3e(0x1f1)](_0x1880fe);}}async[_0x48c408(0xd1)](_0xcbb307){var _0x4911aa=_0x48c408;let _0x22153c='';if(!Zn[_0x4911aa(0x216)](_0xcbb307[_0x4911aa(0x362)]))return this[_0x4911aa(0x2aa)](),Promise['reject'](new Error(_0x6d5ac6[_0x4911aa(0xa8)]));if(_0xcbb307[_0x4911aa(0x1d6)]>Qn)return this['_decreaseWaiting'](),Promise[_0x4911aa(0x1f1)](new Error(_0x6d5ac6[_0x4911aa(0x2a4)]));try{const _0x448a6a=new FormData();_0x448a6a[_0x4911aa(0xbf)](_0x4911aa(0x354),_0xcbb307);const _0x3d9e9c=this[_0x4911aa(0xd2)][_0x4911aa(0x308)](),_0x48631d=_0x3d9e9c==null?void 0x0:_0x3d9e9c[_0x4911aa(0x140)]();if(!_0x48631d)throw new Error(_0x4911aa(0x16a));const _0x47b073=this[_0x4911aa(0xa5)]()+_0x4911aa(0x213)+_0xcbb307['size'][_0x4911aa(0x392)]()+_0x4911aa(0x1c7)+pi[_0x4911aa(0x2cd)]+_0x4911aa(0x35f)+encodeURIComponent(_0x48631d),_0x1e2fab={'body':_0x448a6a},_0x406f24=(await this[_0x4911aa(0x280)]['post'](_0x47b073,_0x1e2fab))['body'];if(typeof _0x406f24[_0x4911aa(0x34f)]!=_0x4911aa(0x23b))return this['_decreaseWaiting'](),Promise[_0x4911aa(0x1f1)](new Error(_0x6d5ac6[_0x4911aa(0x2fd)]));_0x22153c=_0x406f24[_0x4911aa(0x34f)];}catch{return this[_0x4911aa(0x2aa)](),Promise['reject'](new Error(_0x6d5ac6[_0x4911aa(0x2fd)]));}return new Promise((_0x5350d3,_0x3b8ab5)=>{var _0x257703=_0x4911aa;const _0x2c4d12=new FileReader();_0x2c4d12[_0x257703(0x328)](_0xcbb307),_0x2c4d12[_0x257703(0x164)]=_0x410479=>{var _0x37b4fb=_0x257703,_0x365d47;const _0xa5e0fb=(_0x365d47=_0x410479[_0x37b4fb(0x18a)])==null?void 0x0:_0x365d47[_0x37b4fb(0x345)];if(_0xa5e0fb==null){this[_0x37b4fb(0x2aa)](),_0x3b8ab5(new Error(_0x6d5ac6[_0x37b4fb(0x2fd)]));return;}const _0x126e28=_0x4040c9(0x6);_0x5350d3({'imageId':_0x126e28,'imageSourceType':_0x393922[_0x37b4fb(0x287)],'source':_0x22153c,'base64Cache':_0xa5e0fb,'status':_0x6d5ac6[_0x37b4fb(0x323)]}),this[_0x37b4fb(0x2aa)]();};});}[_0x48c408(0xa5)](){var _0x50a712=_0x48c408,_0x54ada7;const _0x79050b=this[_0x50a712(0x117)][_0x50a712(0x366)](K);return(_0x54ada7=_0x79050b==null?void 0x0:_0x79050b[_0x50a712(0x382)])!=null?_0x54ada7:er;}['_getSignURL'](){var _0x3b9200=_0x48c408,_0x18941e;const _0x5318f7=this[_0x3b9200(0x117)][_0x3b9200(0x366)](K);return(_0x18941e=_0x5318f7==null?void 0x0:_0x5318f7['signUrlServerUrl'])!=null?_0x18941e:tr;}[_0x48c408(0x3ad)](){var _0x549cc9=_0x48c408,_0x53325d;const _0x46cfb8=this[_0x549cc9(0x117)][_0x549cc9(0x366)](K);return(_0x53325d=_0x46cfb8==null?void 0x0:_0x46cfb8[_0x549cc9(0x2b9)])!=null?_0x53325d:location['origin'];}[_0x48c408(0x103)](_0x30a18a,_0x204c94){var _0x7d3d65=_0x48c408;return _0x30a18a[_0x7d3d65(0x223)]('{fileID}',_0x204c94);}[_0x48c408(0x2aa)](){var _0x3bcdf6=_0x48c408;this[_0x3bcdf6(0x2bd)]-=0x1,this['_change$'][_0x3bcdf6(0x22a)](this[_0x3bcdf6(0x2bd)]);}};Nt=Jn([pt(0x0,_0x27d190(_0x1fe4bb)),pt(0x1,_0x50caa9),pt(0x2,_0x27d190(_0xad3f4d))],Nt);var ir=Object[_0x48c408(0x2d3)],sr=(_0x21d4e2,_0x2f1f01,_0x1034e5,_0x268dc4)=>{var _0x52dea6=_0x48c408;for(var _0x114944=_0x268dc4>0x1?void 0x0:_0x268dc4?ir(_0x2f1f01,_0x1034e5):_0x2f1f01,_0x17318b=_0x21d4e2[_0x52dea6(0x1e7)]-0x1,_0xd40842;_0x17318b>=0x0;_0x17318b--)(_0xd40842=_0x21d4e2[_0x17318b])&&(_0x114944=_0xd40842(_0x114944)||_0x114944);return _0x114944;},ai=(_0x419ab4,_0x28461e)=>(_0x3a78f7,_0x363c70)=>_0x28461e(_0x3a78f7,_0x363c70,_0x419ab4);const nr=_0x48c408(0x221);let Ct=class{constructor(_0x586ed9,_0x2fdd8d){var _0x89cb81=_0x48c408;this[_0x89cb81(0x117)]=_0x586ed9,this[_0x89cb81(0x276)]=_0x2fdd8d;}[_0x48c408(0x1ab)](){var _0xb2337c=_0x48c408,_0x458a07;const _0x4b9972=this[_0xb2337c(0x117)][_0xb2337c(0x366)](K);return(_0x458a07=_0x4b9972==null?void 0x0:_0x4b9972[_0xb2337c(0x1bd)])!=null?_0x458a07:nr;}async[_0x48c408(0xdf)](_0x1e25c3){var _0xb82642=_0x48c408;const _0x4ee997=this['_getAPIPrefixPath']()+_0xb82642(0x1c6);return{'list':[{'title':_0xb82642(0x157),'mentions':(await this[_0xb82642(0x276)][_0xb82642(0x39e)](_0x4ee997,{'params':{'objectID':_0x1e25c3[_0xb82642(0x14d)],'unitID':_0x1e25c3[_0xb82642(0x14d)]}}))[_0xb82642(0x1a9)][_0xb82642(0x1c0)][_0xb82642(0x2e2)](_0x1c6f65=>({'objectId':_0x1c6f65['id'],'name':_0x1c6f65[_0xb82642(0x349)][_0xb82642(0x20f)],'metadata':{'icon':_0x1c6f65[_0xb82642(0x349)][_0xb82642(0x27e)]},'label':_0x1c6f65[_0xb82642(0x349)]['name'],'objectType':_0x482a76[_0xb82642(0x1d2)]})),'metadata':{},'type':_0x482a76[_0xb82642(0x1d2)]}]};}};Ct=sr([ai(0x0,_0x27d190(_0x50caa9)),ai(0x1,_0x27d190(_0x1fe4bb))],Ct);var rr=Object[_0x48c408(0x2d3)],ar=(_0x387d9e,_0x1a4b25,_0x50313d,_0x1986a2)=>{var _0x42d8f5=_0x48c408;for(var _0x5b50a0=_0x1986a2>0x1?void 0x0:_0x1986a2?rr(_0x1a4b25,_0x50313d):_0x1a4b25,_0x3d7095=_0x387d9e[_0x42d8f5(0x1e7)]-0x1,_0x56f298;_0x3d7095>=0x0;_0x3d7095--)(_0x56f298=_0x387d9e[_0x3d7095])&&(_0x5b50a0=_0x56f298(_0x5b50a0)||_0x5b50a0);return _0x5b50a0;},Ue=(_0x3cc814,_0x227dbd)=>(_0x46be59,_0x56538c)=>_0x227dbd(_0x46be59,_0x56538c,_0x3cc814);let ct=class extends _0x4e8d87{constructor(_0x346ea1,_0x474792,_0x5c4972,_0x1763b3,_0x3d6741){var _0x226801=_0x48c408;super(),this[_0x226801(0x3a0)]=_0x346ea1,this['_univerInstanceService']=_0x474792,this[_0x226801(0xcb)]=_0x5c4972,this[_0x226801(0x374)]=_0x1763b3,this['_collaborationUIEventService']=_0x3d6741,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x5aa889=_0x48c408;const _0x583a88=async _0x49b836=>{var _0x360f13=_0x21ac;(await this[_0x360f13(0x374)][_0x360f13(0xdc)](_0x49b836))['event$']['pipe'](_0x41f851(_0x1cc09c=>_0x1cc09c['eventID']===_0x249d85['SHOULD_CLOSE_CONN']),_0x9fc493(this[_0x360f13(0x37d)]))[_0x360f13(0x1df)](_0x2d6b0e=>{var _0x2393a5=_0x360f13;const _0x499d6c=_0x2d6b0e,{reason:_0x83c64f}=_0x499d6c['data'];this[_0x2393a5(0x146)][_0x2393a5(0x371)]({'id':re[_0x2393a5(0x11a)],'data':_0x83c64f}),this[_0x2393a5(0xcb)][_0x2393a5(0xc1)](new _0x40787e(_0x49b836)['id'],!0x1),this['_collaborationSessionService'][_0x2393a5(0x1d3)](_0x49b836);});};_0x5f1d4a(this[_0x5aa889(0xd2)][_0x5aa889(0x26a)](_0x404af9[_0x5aa889(0x2eb)]),this[_0x5aa889(0xd2)][_0x5aa889(0x26a)](_0x404af9[_0x5aa889(0x33a)]))[_0x5aa889(0xa9)](_0x51ecb1(_0xf960d2=>_0xf960d2['getUnitId']()),_0x41f851(_0x1bc111=>!_0x3b6810(_0x1bc111)),_0x9fc493(this[_0x5aa889(0x37d)]))[_0x5aa889(0x1df)](_0x137311=>{_0x583a88(_0x137311);});}['_initUnitPermissionChange'](){var _0x3a8a47=_0x48c408;const _0x56c732=async _0x425da6=>{var _0x3ed031=_0x21ac;const _0x2fd67f=await this[_0x3ed031(0x374)]['requireSession'](_0x425da6),_0x55e9ab=this[_0x3ed031(0x3a0)][_0x3ed031(0x39e)](_0x158464);_0x2fd67f['event$'][_0x3ed031(0xa9)](_0x41f851(_0x1a2670=>_0x1a2670[_0x3ed031(0x369)]===_0x249d85[_0x3ed031(0x124)]),_0x9fc493(this[_0x3ed031(0x37d)]))[_0x3ed031(0x1df)](_0x284565=>{var _0x439aa5=_0x3ed031;const _0x3bee46=_0x284565,{objectId:_0x59d7d1}=_0x3bee46['data'];_0x59d7d1===_0x425da6?_0x55e9ab[_0x439aa5(0x327)](_0x425da6):_0x55e9ab['refreshPermission'](_0x425da6,_0x59d7d1);});};_0x5f1d4a(this[_0x3a8a47(0xd2)]['getTypeOfUnitAdded$'](_0x404af9['UNIVER_SHEET']))['pipe'](_0x51ecb1(_0x15066c=>_0x15066c['getUnitId']()),_0x41f851(_0x2f31ae=>!_0x3b6810(_0x2f31ae)),_0x9fc493(this[_0x3a8a47(0x37d)]))[_0x3a8a47(0x1df)](_0x7b5b8b=>{_0x56c732(_0x7b5b8b);});}};ct=ar([Ue(0x0,_0x27d190(_0x1b9850)),Ue(0x1,_0xad3f4d),Ue(0x2,_0x2c6912),Ue(0x3,_0x27d190(we)),Ue(0x4,_0x27d190(ve))],ct);var or=Object[_0x48c408(0x2d3)],cr=(_0x3e10af,_0x52c962,_0x485bc7,_0x299e23)=>{var _0x36eaff=_0x48c408;for(var _0x5a2027=_0x299e23>0x1?void 0x0:_0x299e23?or(_0x52c962,_0x485bc7):_0x52c962,_0x172df4=_0x3e10af[_0x36eaff(0x1e7)]-0x1,_0x171fe2;_0x172df4>=0x0;_0x172df4--)(_0x171fe2=_0x3e10af[_0x172df4])&&(_0x5a2027=_0x171fe2(_0x5a2027)||_0x5a2027);return _0x5a2027;},oi=(_0x53201e,_0xc787a5)=>(_0x36e8da,_0x1cf778)=>_0xc787a5(_0x36e8da,_0x1cf778,_0x53201e);let bt=class{constructor(_0x2f829d,_0x29681c){var _0x1c1c9c=_0x48c408;this['_configService']=_0x2f829d,this[_0x1c1c9c(0x280)]=_0x29681c;}async['getUnitOnRev'](_0x495056,_0x282b7a){var _0x8312a4=_0x48c408,_0x1b6739;const {unitID:_0x1afc76,type:_0x592547,revision:_0x6161d1=0x0}=_0x282b7a,_0x166cb=this['getSnapshotAPIPath']()+'/'+_0x592547+_0x8312a4(0xf9)+_0x1afc76+_0x8312a4(0x1fa)+_0x6161d1,_0x16175d=(await this[_0x8312a4(0x280)][_0x8312a4(0x39e)](_0x166cb))[_0x8312a4(0x1a9)],_0x28337e=(_0x1b6739=_0x16175d[_0x8312a4(0xcd)])==null?void 0x0:_0x1b6739[_0x8312a4(0x1b9)];if(_0x28337e){const _0x4613f9=_0x28337e==null?void 0x0:_0x28337e[_0x8312a4(0x1a8)],_0x351b42=_0x5dd5ba[_0x8312a4(0xca)](_0x10d3c2(_0x4613f9));_0x28337e[_0x8312a4(0x1a8)]=_0x351b42,Object[_0x8312a4(0x27a)](_0x28337e[_0x8312a4(0x15c)])['forEach'](([,_0x1a55f1])=>{var _0x4c412c=_0x8312a4;const _0x3d573d=_0x1a55f1[_0x4c412c(0x1a8)],_0x56176c=_0x5dd5ba[_0x4c412c(0xca)](_0x10d3c2(_0x3d573d));_0x1a55f1[_0x4c412c(0x1a8)]=_0x56176c;});}return _0x16175d;}async[_0x48c408(0x120)](_0x563b80,_0xf6e076){var _0x419615=_0x48c408;const {unitID:_0x37f10b,type:_0x2ab4e9,blockID:_0x4746fe}=_0xf6e076,_0x3e6c5a=this[_0x419615(0x139)]()+'/'+_0x2ab4e9+_0x419615(0xf9)+_0x37f10b+_0x419615(0x1e1)+_0x4746fe;return(await this[_0x419615(0x280)][_0x419615(0x39e)](_0x3e6c5a))['body'];}async[_0x48c408(0x1d4)](_0x14533f,_0x14426f){var _0x52f5d2=_0x48c408;const {unitID:_0x3bcaad,type:_0x33cb7e,blockID:_0x59016b}=_0x14426f,_0x260a74=this[_0x52f5d2(0x139)]()+_0x52f5d2(0x1e1)+_0x33cb7e+_0x52f5d2(0xf9)+_0x3bcaad+_0x52f5d2(0x1e1)+_0x59016b;return(await this[_0x52f5d2(0x280)]['get'](_0x260a74))['body'];}async[_0x48c408(0x171)](_0x30f88a,_0x16b2bf){var _0x52215d=_0x48c408;const {unitID:_0x295dad,type:_0x35913e,from:_0x299e95,to:_0x189667}=_0x16b2bf,_0x5f0bc0=this[_0x52215d(0x139)]()+'/'+_0x35913e+'/unit/'+_0x295dad+_0x52215d(0x13d)+_0x299e95+_0x52215d(0x261)+_0x189667;return(await this['_httpService'][_0x52215d(0x39e)](_0x5f0bc0))['body'];}[_0x48c408(0x19e)](){var _0x5e3a68=_0x48c408,_0x2d9577;return(_0x2d9577=this['_configService'][_0x5e3a68(0x366)](Ss))!=null?_0x2d9577:this[_0x5e3a68(0x139)]();}[_0x48c408(0x139)](){var _0x38a949=_0x48c408,_0x4a9619;const _0x231643=this['_configService'][_0x38a949(0x366)](K);return(_0x4a9619=_0x231643==null?void 0x0:_0x231643['snapshotServerUrl'])!=null?_0x4a9619:Is;}async[_0x48c408(0x386)](_0x58195f,_0x45fe1a){var _0x58e456=_0x48c408;const _0x283ad8=_0x58e456(0x177)+_0x45fe1a['type']+_0x58e456(0xf9)+_0x45fe1a[_0x58e456(0x1b2)]+_0x58e456(0x388);return(await this['_httpService'][_0x58e456(0x39e)](_0x283ad8,{'params':{'resourceId':JSON['stringify'](_0x45fe1a[_0x58e456(0x34a)])}}))[_0x58e456(0x1a9)];}[_0x48c408(0x289)](){var _0x4f5b1b=_0x48c408;throw new Error(_0x4f5b1b(0x27f));}[_0x48c408(0x397)](){var _0x5e5541=_0x48c408;throw new Error(_0x5e5541(0x27f));}['saveSheetBlock'](){var _0x1a7ca8=_0x48c408;throw new Error(_0x1a7ca8(0x27f));}['saveChangeset'](){var _0x348153=_0x48c408;throw new Error(_0x348153(0x27f));}[_0x48c408(0x10b)](){var _0x27c953=_0x48c408;throw new Error(_0x27c953(0x27f));}[_0x48c408(0x22b)](){var _0x3c3c3f=_0x48c408;throw new Error(_0x3c3c3f(0x27f));}};bt=cr([oi(0x0,_0x50caa9),oi(0x1,_0x27d190(_0x1fe4bb))],bt);var _r=Object['getOwnPropertyDescriptor'],hr=(_0x1bf6ad,_0x4687c3,_0xbdbe45,_0x24cfc6)=>{var _0xeb2a81=_0x48c408;for(var _0x1864d1=_0x24cfc6>0x1?void 0x0:_0x24cfc6?_r(_0x4687c3,_0xbdbe45):_0x4687c3,_0x4e72be=_0x1bf6ad[_0xeb2a81(0x1e7)]-0x1,_0x269b50;_0x4e72be>=0x0;_0x4e72be--)(_0x269b50=_0x1bf6ad[_0x4e72be])&&(_0x1864d1=_0x269b50(_0x1864d1)||_0x1864d1);return _0x1864d1;},Ae=(_0x4371bf,_0x497296)=>(_0x2efd45,_0x20ef12)=>_0x497296(_0x2efd45,_0x20ef12,_0x4371bf);let Dt=class extends _0x217338{constructor(_0x5dfd9a,_0x46b5d8,_0x50f7c8,_0x223d36,_0x38ec07){var _0x47fd38=_0x48c408;super(_0x5dfd9a,_0x46b5d8,_0x50f7c8),this[_0x47fd38(0x318)]=_0x223d36,this[_0x47fd38(0x3a4)]=_0x38ec07;}[_0x48c408(0x2cf)](_0x56c02f,_0x5dcd16){var _0x38c0da=_0x48c408;const _0x403ce9=this[_0x38c0da(0x344)](_0x56c02f);if(_0x403ce9)try{const _0x14b1d1=this[_0x38c0da(0xcc)](_0x403ce9,_0x5dcd16);this['_substituteUndoStack'](_0x56c02f,_0x14b1d1);}catch(_0x295ad2){this[_0x38c0da(0x3a4)][_0x38c0da(0x286)](_0x38c0da(0x1dc),_0x295ad2),this[_0x38c0da(0x325)](_0x56c02f);}const _0xae03ec=this[_0x38c0da(0xdd)](_0x56c02f);if(_0xae03ec)try{const _0x168e0e=this[_0x38c0da(0xcc)](_0xae03ec,_0x5dcd16);this['_substituteRedoStack'](_0x56c02f,_0x168e0e);}catch(_0x1e79e8){this['_logService'][_0x38c0da(0x286)](_0x1e79e8),this[_0x38c0da(0x9d)](_0x56c02f);}}['_clearUndo'](_0x661ae4){const _0x36dfef=this['_getUndoStack'](_0x661ae4);_0x36dfef&&(_0x36dfef['length']=0x0,this['_updateStatus']());}[_0x48c408(0x9d)](_0x40bdd8){var _0x445fd6=_0x48c408;const _0x4a9b3b=this[_0x445fd6(0xdd)](_0x40bdd8);_0x4a9b3b&&(_0x4a9b3b[_0x445fd6(0x1e7)]=0x0,this[_0x445fd6(0x38f)]());}[_0x48c408(0x141)](_0x17ff32,_0x28ea36){var _0x3790df=_0x48c408;this[_0x3790df(0x260)][_0x3790df(0x351)](_0x17ff32,_0x28ea36),this[_0x3790df(0x38f)]();}[_0x48c408(0x320)](_0x10e73e,_0x1749a5){var _0x14da70=_0x48c408;this['_redoStacks'][_0x14da70(0x351)](_0x10e73e,_0x1749a5),this['_updateStatus']();}[_0x48c408(0xcc)](_0x55bf7f,_0x54a8b1){var _0xaf323c=_0x48c408;const _0x56e68b=[];let _0x2402e6=_0x54a8b1,_0x4c2e6b=_0x54a8b1;for(let _0x5286d6=_0x55bf7f['length']-0x1;_0x5286d6>=0x0;_0x5286d6--){const {unitID:_0x3980a8,undoMutations:_0x276fe0,redoMutations:_0x5287ef}=_0x55bf7f[_0x5286d6],_0x285cb2=this[_0xaf323c(0x318)]['transformMutationsWithChangeset'](_0x2402e6,_0x276fe0),_0x53ceb9=this[_0xaf323c(0x318)][_0xaf323c(0x23d)](_0x4c2e6b,_0x5287ef);if(_0x5f45b8(_0x285cb2)||_0x5f45b8(_0x53ceb9)){this[_0xaf323c(0x3a4)][_0xaf323c(0x286)](_0xaf323c(0x1dc),_0xaf323c(0x25d),_0x285cb2,_0x53ceb9);break;}_0x2402e6=_0x285cb2[_0xaf323c(0x1fc)],_0x4c2e6b=_0x53ceb9['c1Prime'],_0x56e68b[_0xaf323c(0x1a4)]({'unitID':_0x3980a8,'undoMutations':_0x285cb2[_0xaf323c(0x2c5)],'redoMutations':_0x53ceb9['m2Prime']});}return _0x56e68b[_0xaf323c(0x1db)]();}};Dt=hr([Ae(0x0,_0xad3f4d),Ae(0x1,_0x2b6b9d),Ae(0x2,_0x195659),Ae(0x3,_0x15141f),Ae(0x4,_0x5532d1)],Dt);var lr=Object[_0x48c408(0xaa)],ur=Object[_0x48c408(0x2d3)],dr=(_0x87e95c,_0x435de9,_0x583e12)=>_0x435de9 in _0x87e95c?lr(_0x87e95c,_0x435de9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x583e12}):_0x87e95c[_0x435de9]=_0x583e12,fr=(_0x41a7ee,_0x2274fa,_0x3ec392,_0xa129d9)=>{var _0x34df18=_0x48c408;for(var _0x158416=_0xa129d9>0x1?void 0x0:_0xa129d9?ur(_0x2274fa,_0x3ec392):_0x2274fa,_0xa4e253=_0x41a7ee[_0x34df18(0x1e7)]-0x1,_0x7d004c;_0xa4e253>=0x0;_0xa4e253--)(_0x7d004c=_0x41a7ee[_0xa4e253])&&(_0x158416=_0x7d004c(_0x158416)||_0x158416);return _0x158416;},mt=(_0x1b8b76,_0x25d26b)=>(_0x57feb2,_0x23749b)=>_0x25d26b(_0x57feb2,_0x23749b,_0x1b8b76),Pt=(_0x2e800e,_0x55aba3,_0x5b082a)=>dr(_0x2e800e,typeof _0x55aba3!=_0x48c408(0x20d)?_0x55aba3+'':_0x55aba3,_0x5b082a);let Le=class extends _0x2a4d96{constructor(_0xcb1ba={},_0x3aafd8,_0x5cd50c,_0x592b66){var _0x2267fc=_0x48c408;super(),this[_0x2267fc(0x18f)]=_0xcb1ba,this['_logService']=_0x3aafd8,this[_0x2267fc(0x3a0)]=_0x5cd50c,this[_0x2267fc(0x117)]=_0x592b66;const {..._0x5009bf}=_0x3eed8c({},Bs,_0xcb1ba);if(!_0x5009bf['socketService'])throw new Error(_0x2267fc(0x384));this['_config']=_0x5009bf,this[_0x2267fc(0x117)][_0x2267fc(0x294)](K,_0x5009bf);}[_0x48c408(0x269)](){var _0xc0dfa7=_0x48c408;this[_0xc0dfa7(0x1f4)](),this[_0xc0dfa7(0x332)]();}['_registerDependencies'](){var _0x28a528=_0x48c408,_0x3b9fdb,_0x581aa4;this[_0x28a528(0x3a0)][_0x28a528(0x1d8)](_0x262d0e)&&this[_0x28a528(0x3a4)][_0x28a528(0x286)](_0x28a528(0x128),_0x28a528(0x347));const _0x4673c7=_0x1b6d73([[_0x262d0e,{'useClass':Dt}],[we],[Pe],[st],[at],[ot],[mi],[ct],[ve],[Rt],[Ni,{'useClass':this['_config'][_0x28a528(0x29e)]}],[_0x5d8fb1,{'useClass':bt}],[_0x49c1b3,{'useClass':Ot}],[_0x53dc37,{'useClass':Nt}],[_0x458366,{'useClass':Ct}],[rt],[Tt]],(_0x3b9fdb=this[_0x28a528(0x18f)])==null?void 0x0:_0x3b9fdb[_0x28a528(0x241)]);if(!((_0x581aa4=this[_0x28a528(0x18f)])!=null&&_0x581aa4[_0x28a528(0xe7)])){const _0x3b7823=_0x4673c7[_0x28a528(0x132)](([_0x437547])=>_0x437547===ht);_0x3b7823!==-0x1&&_0x4673c7['splice'](_0x3b7823,0x1);}_0x3cf6b3(this[_0x28a528(0x3a0)],_0x4673c7);}[_0x48c408(0x332)](){var _0x2938a1=_0x48c408,_0x58b6cf,_0x243f57,_0x47c0eb;this[_0x2938a1(0x3a0)][_0x2938a1(0x39e)](_0x1fe4bb)[_0x2938a1(0x2f5)]({'priority':0x14,'interceptor':_0x42427b({'maxParallel':0x6})}),(_0x58b6cf=this['_config'])!=null&&_0x58b6cf[_0x2938a1(0x2bc)]||(_0x243f57=this[_0x2938a1(0x3a0)]['get'](X,_0x27605f[_0x2938a1(0x27c)]))==null||_0x243f57[_0x2938a1(0x1c8)](),(_0x47c0eb=this[_0x2938a1(0x18f)])!=null&&_0x47c0eb[_0x2938a1(0x109)]&&_0x1fd334(this[_0x2938a1(0x3a0)],[[at]]),_0x1fd334(this[_0x2938a1(0x3a0)],[[ot],[rt],[ct]]);}};Pt(Le,'pluginName',_0x48c408(0x297)),Pt(Le,_0x48c408(0x1e2),Ci['name']),Pt(Le,_0x48c408(0x278),Ci['version']),Le=fr([_0x4d9c6d(_0x5280a6,_0x3ce5e0,_0x4df36e),mt(0x1,_0x5532d1),mt(0x2,_0x27d190(_0x1b9850)),mt(0x3,_0x50caa9)],Le);export{Ot as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,rt as CollaborationController,nt as CollaborationEntity,Nt as CollaborationImageIoService,It as CollaborationSession,we as CollaborationSessionService,Wt as CollaborationSocketService,gi as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,mi as CommentService,ue as ConflictState,Ts as DEFAULT_COLLAB_WEB_SOCKET_URL,Ur as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Cr as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,St as DocCollaborationEntity,ee as FetchingMissState,Os as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,Ni as ICollaborationSocketService,X as ILocalCacheService,Ys as INetworkConditionService,ht as ISingleActiveUnitService,Dr as LOCAL_CACHE_INTERVAL,br as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,yr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,gt as SheetCollaborationEntity,st as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,be as SyncedState,Ii as UnitStatus,Le as UniverCollaborationClientPlugin,Ks as deserializeToCombResponse,Ar as getLocalCacheKey,qs as serializeCombRequest};
|
|
1
|
+
const _0x3d5482=_0x157c;(function(_0x45d761,_0x5c65f3){const _0x2e1458=_0x157c,_0x31b09d=_0x45d761();while(!![]){try{const _0x4e7c78=parseInt(_0x2e1458(0xfd))/0x1*(parseInt(_0x2e1458(0x168))/0x2)+-parseInt(_0x2e1458(0x221))/0x3*(-parseInt(_0x2e1458(0x2f1))/0x4)+parseInt(_0x2e1458(0x26d))/0x5+-parseInt(_0x2e1458(0x1bf))/0x6+parseInt(_0x2e1458(0x259))/0x7*(-parseInt(_0x2e1458(0x13a))/0x8)+-parseInt(_0x2e1458(0x291))/0x9*(-parseInt(_0x2e1458(0xec))/0xa)+-parseInt(_0x2e1458(0x299))/0xb;if(_0x4e7c78===_0x5c65f3)break;else _0x31b09d['push'](_0x31b09d['shift']());}catch(_0x4a0d84){_0x31b09d['push'](_0x31b09d['shift']());}}}(_0x1996,0x75851));import{CollaborationEvent as _0x50665f,CompressMutationService as _0x33b352,EmptyMutationInfo as _0x335eec,ISnapshotServerService as _0x244f88,ITransformService as _0x3a3a3e,RevisionService as _0x2f0200,SnapshotService as _0x225a81,UniverCollaborationPlugin as _0x3181fb,b64DecodeUnicode as _0x483f9d,isTransformChangesetsSuccess as _0x250ae2,isTransformMutationsWithChangesetFailure as _0xabf13e,isTransformMutationsWithChangesetSuccess as _0x2ae31c,mapDocumentTypeToUniverType as _0x49e240,parseChangesetToProtocol as _0x293710,parseProtocolChangeset as _0x502be6,textEncoder as _0xa5550d,uuidv4 as _0x1684b1}from'@univerjs-pro/collaboration';import{CommandType as _0x51a16c,DependentOn as _0x469f86,Disposable as _0x9e7512,DisposableCollection as _0x54965b,IAuthzIoService as _0x9712e3,ICommandService as _0x2169d2,IConfigService as _0x34eea4,IContextService as _0x1f346b,ILogService as _0x2fc9db,IMentionIOService as _0x46a626,IPermissionService as _0x10ad10,IUndoRedoService as _0x32e478,IUniverInstanceService as _0x5c02d5,Inject as _0x528933,Injector as _0x2f9ec4,JSONX as _0x559840,LocalUndoRedoService as _0xbfcf86,LocaleService as _0x3d6ea1,MentionType as _0x951061,Optional as _0x5e5f16,Plugin as _0x30a3cc,Quantity as _0x52ca89,Rectangle as _0x4b1329,RxDisposable as _0x114242,Tools as _0x47c564,UniverInstanceType as _0x40b723,UserManagerService as _0x2ae2ec,Workbook as _0x34f926,createIdentifier as _0x12bcfd,generateRandomId as _0x4393e0,isInternalEditorID as _0x258627,merge as _0x1f7958,mergeOverrideWithDependencies as _0x2a8c1e,registerDependencies as _0xb73fe2,resolveWithBasePath as _0x18f79c,sequenceExecute as _0x5657a4,toDisposable as _0x25b528,touchDependencies as _0x46096c}from'@univerjs/core';import{RichTextEditingMutation as _0x2d0c57}from'@univerjs/docs';import{InsertSheetMutation as _0x8555bd,SetSelectionsOperation as _0x5416ac,SheetPermissionInitController as _0x10a4f1,SheetsSelectionsService as _0x9f4d81,WorkbookEditablePermission as _0x627a18}from'@univerjs/sheets';import{BehaviorSubject as _0x3a2e8a,ReplaySubject as _0x4197ab,Subject as _0x46c32c,concatMap as _0x184f99,firstValueFrom as _0x4d27db,map as _0x3378fe,merge as _0x27f243,of as _0xa4798f,shareReplay as _0x3424e8,take as _0xa3e082,takeUntil as _0x23c7ab}from'rxjs';import{CmdRspCode as _0x29a5db,CombCmd as _0x1c9905,ErrorCode as _0x3dca78,FileSource as _0x4fd19e,UniverType as _0x311bf4}from'@univerjs/protocol';import{ITelemetryService as _0x2d4a2}from'@univerjs/telemetry';import{delay as _0xd07c40,filter as _0x842d2d,map as _0x455a01,take as _0xbe5d61,takeUntil as _0x535927}from'rxjs/operators';import{HTTPRequest as _0x1fc1d9,HTTPService as _0x2641c7,ISocketService as _0xa6b08c,MergeInterceptorFactory as _0x2cba25,ThresholdInterceptorFactory as _0x3e8a7e,UniverNetworkPlugin as _0x5d3154}from'@univerjs/network';import{UniverLicensePlugin as _0x52c865,getGlobalObject as _0x38672f}from'@univerjs-pro/license';import{IImageIoService as _0x1ca7f,ImageSourceType as _0x1be6fe,ImageUploadStatusType as _0x4864d9}from'@univerjs/drawing';import _0xabafe1 from'crypto-js/aes';import _0x54034b from'crypto-js/enc-base64';import _0x221211 from'crypto-js/enc-utf8';import _0x1a3442 from'crypto-js/lib-typedarrays';import _0x1a5c32 from'crypto-js/pad-nopadding';const ft=_0x3d5482(0xc6),pt=_0x3d5482(0xb3),mt=_0x3d5482(0x1ac),ht=_0x3d5482(0x21c),gt=0x4e20,_t=_0x3d5482(0x23d),vt=_0x3d5482(0x272),yt=0x3e8,bt=_0x3d5482(0x2fc),xt='/universer-api/uniscript';function St(_0x24ab9f){return JSON['stringify'](_0x24ab9f)['length'];}function Ct(_0x2136cb){'@babel/helpers - typeof';const _0x6a1276=_0x3d5482;return Ct=typeof Symbol=='function'&&typeof Symbol[_0x6a1276(0x104)]==_0x6a1276(0x179)?function(_0x459d7d){return typeof _0x459d7d;}:function(_0x367bad){const _0x350e17=_0x6a1276;return _0x367bad&&typeof Symbol==_0x350e17(0x2b8)&&_0x367bad['constructor']===Symbol&&_0x367bad!==Symbol[_0x350e17(0x12b)]?_0x350e17(0x179):typeof _0x367bad;},Ct(_0x2136cb);}function wt(_0x404b38,_0x25b4bd){const _0x42eced=_0x3d5482;if(Ct(_0x404b38)!=_0x42eced(0x1c0)||!_0x404b38)return _0x404b38;var _0x5ca4d1=_0x404b38[Symbol[_0x42eced(0x169)]];if(_0x5ca4d1!==void 0x0){var _0x2df8d6=_0x5ca4d1[_0x42eced(0x124)](_0x404b38,_0x25b4bd||_0x42eced(0x1f5));if(Ct(_0x2df8d6)!='object')return _0x2df8d6;throw TypeError(_0x42eced(0x119));}return(_0x25b4bd==='string'?String:Number)(_0x404b38);}function Tt(_0x46a0e0){const _0x20966b=_0x3d5482;var _0x37ac89=wt(_0x46a0e0,_0x20966b(0x28c));return Ct(_0x37ac89)=='symbol'?_0x37ac89:_0x37ac89+'';}function N(_0xd351c,_0x2c173e,_0x4d801e){return(_0x2c173e=Tt(_0x2c173e))in _0xd351c?Object['defineProperty'](_0xd351c,_0x2c173e,{'value':_0x4d801e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xd351c[_0x2c173e]=_0x4d801e,_0xd351c;}let P=function(_0xf827f8){const _0x260dfe=_0x3d5482;return _0xf827f8['OTHER_CLIENT_EDITING']=_0x260dfe(0x115),_0xf827f8['PERMISSION_DENIED']='PERMISSION_DENIED',_0xf827f8[_0x260dfe(0x20c)]=_0x260dfe(0x20c),_0xf827f8['CLOSE_ROOM']=_0x260dfe(0x1de),_0xf827f8[_0x260dfe(0x29e)]=_0x260dfe(0x29e),_0xf827f8[_0x260dfe(0x16e)]='SOCKET_FAILED_RETRY',_0xf827f8[_0x260dfe(0x29b)]=_0x260dfe(0x29b),_0xf827f8[_0x260dfe(0x13d)]=_0x260dfe(0x13d),_0xf827f8;}({});var F=class{constructor(){const _0x20b702=_0x3d5482;N(this,_0x20b702(0x192),new _0x46c32c()),N(this,_0x20b702(0x128),this[_0x20b702(0x192)]['asObservable']());}['emitEvent'](_0x502de5){const _0xa36ac3=_0x3d5482;this[_0xa36ac3(0x192)][_0xa36ac3(0x2a2)](_0x502de5);}},Et=class{constructor(){const _0x4750db=_0x3d5482;N(this,_0x4750db(0x13f),new _0x46c32c()),N(this,_0x4750db(0x15e),this[_0x4750db(0x13f)][_0x4750db(0xfe)]());}[_0x3d5482(0x2db)](_0x48e469){const _0x27b94b=_0x3d5482;this[_0x27b94b(0x13f)][_0x27b94b(0x2a2)](_0x48e469);}};function I(_0xf7a30b,_0x55b003){return function(_0x5878e0,_0x5c2c7d){_0x55b003(_0x5878e0,_0x5c2c7d,_0xf7a30b);};}function L(_0x721014,_0x1f1f6d,_0xea49f3,_0x667816){const _0x4bb94f=_0x3d5482;var _0x594615=arguments[_0x4bb94f(0x2cd)],_0x29bc43=_0x594615<0x3?_0x1f1f6d:_0x667816===null?_0x667816=Object[_0x4bb94f(0x19b)](_0x1f1f6d,_0xea49f3):_0x667816,_0x468328;if(typeof Reflect=='object'&&typeof Reflect[_0x4bb94f(0x2c1)]=='function')_0x29bc43=Reflect[_0x4bb94f(0x2c1)](_0x721014,_0x1f1f6d,_0xea49f3,_0x667816);else{for(var _0x589d75=_0x721014[_0x4bb94f(0x2cd)]-0x1;_0x589d75>=0x0;_0x589d75--)(_0x468328=_0x721014[_0x589d75])&&(_0x29bc43=(_0x594615<0x3?_0x468328(_0x29bc43):_0x594615>0x3?_0x468328(_0x1f1f6d,_0xea49f3,_0x29bc43):_0x468328(_0x1f1f6d,_0xea49f3))||_0x29bc43);}return _0x594615>0x3&&_0x29bc43&&Object['defineProperty'](_0x1f1f6d,_0xea49f3,_0x29bc43),_0x29bc43;}let R=class extends _0x9e7512{constructor(_0x29e7a3,_0x43f483){const _0x31c854=_0x3d5482;super(),this[_0x31c854(0x2d0)]=_0x29e7a3,this[_0x31c854(0xe3)]=_0x43f483,N(this,_0x31c854(0x1be),new Map()),N(this,_0x31c854(0x28f),new _0x46c32c()),this[_0x31c854(0x25a)](_0x27f243(this[_0x31c854(0x2d0)][_0x31c854(0x2f4)](_0x40b723[_0x31c854(0x155)])[_0x31c854(0xf5)](_0x455a01(_0x13d1c6=>_0x13d1c6[_0x31c854(0x2f3)]())),this[_0x31c854(0x2d0)][_0x31c854(0x2f4)](_0x40b723[_0x31c854(0x28d)])['pipe'](_0x455a01(_0x43b8e2=>_0x43b8e2[_0x31c854(0x2f3)]())),this[_0x31c854(0x2d0)][_0x31c854(0x2f4)](_0x40b723[_0x31c854(0x1bb)])[_0x31c854(0xf5)](_0x455a01(_0x28bfeb=>_0x28bfeb['getUnitId']())))[_0x31c854(0x20b)](_0x38271b=>this[_0x31c854(0x1f0)](_0x38271b)));}['waitForRoom$'](_0x2bf276){const _0x5439f7=_0x3d5482;return this[_0x5439f7(0x1be)][_0x5439f7(0xbb)](_0x2bf276)?_0xa4798f(this['_roomMembers']['get'](_0x2bf276)):this[_0x5439f7(0x28f)][_0x5439f7(0xf5)](_0x455a01(_0x2f1e55=>{const _0x6e7c15=_0x5439f7;if(_0x2f1e55===_0x2bf276)return this['_roomMembers'][_0x6e7c15(0x1c1)](_0x2f1e55);}));}[_0x3d5482(0xe8)](_0x1caad2){const _0x3bd74c=_0x3d5482;this[_0x3bd74c(0xe3)][_0x3bd74c(0xe8)](_0x1caad2);}['getCurrentUser'](){const _0x8f953c=_0x3d5482;return this[_0x8f953c(0xe3)][_0x8f953c(0x243)]();}['updateMember'](_0x42723e,_0x3ba068){const _0x3a0a56=_0x3d5482;let _0x46b795=this[_0x3a0a56(0x1be)][_0x3a0a56(0x1c1)](_0x42723e);_0x46b795||(_0x46b795=new Dt(),this[_0x3a0a56(0x1be)][_0x3a0a56(0x1d4)](_0x42723e,_0x46b795),this[_0x3a0a56(0x28f)][_0x3a0a56(0x2a2)](_0x42723e)),_0x46b795[_0x3a0a56(0x265)](_0x3ba068);}[_0x3d5482(0xde)](_0xc6d0c3,_0x2b837b){const _0x487c03=_0x3d5482;let _0x4f302a=this[_0x487c03(0x1be)]['get'](_0xc6d0c3);_0x4f302a&&_0x4f302a[_0x487c03(0xde)](_0x2b837b);}[_0x3d5482(0x231)](_0x1bc52b){const _0x54fa59=_0x3d5482;return this[_0x54fa59(0x1be)][_0x54fa59(0x1c1)](_0x1bc52b);}[_0x3d5482(0x15d)](_0xe646f5,_0xc1daf2){const _0xcb3128=_0x3d5482;let _0x5d641c=this[_0xcb3128(0x1be)][_0xcb3128(0x1c1)](_0xe646f5);if(_0x5d641c)return _0x5d641c['getMember'](_0xc1daf2);}['_removeRoom'](_0x256ac5){const _0x45b68b=_0x3d5482;let _0x1e2be0=this[_0x45b68b(0x1be)][_0x45b68b(0x1c1)](_0x256ac5);_0x1e2be0&&(_0x1e2be0[_0x45b68b(0x2b4)](),this[_0x45b68b(0x1be)]['delete'](_0x256ac5));}['dispose'](){const _0x11b6b7=_0x3d5482;this['_roomMembers']['forEach'](_0x23196e=>_0x23196e[_0x11b6b7(0x2b4)]()),this['_roomMembers'][_0x11b6b7(0x28a)](),this[_0x11b6b7(0x28f)][_0x11b6b7(0xd7)]();}};R=L([I(0x0,_0x5c02d5),I(0x1,_0x528933(_0x2ae2ec))],R);var Dt=class extends _0x9e7512{constructor(..._0x1a21da){const _0x661c6a=_0x3d5482;super(..._0x1a21da),N(this,_0x661c6a(0x1d9),new Map()),N(this,_0x661c6a(0xd1),new _0x3a2e8a(this[_0x661c6a(0x1d9)])),N(this,_0x661c6a(0x2ae),this[_0x661c6a(0xd1)][_0x661c6a(0xfe)]());}[_0x3d5482(0x2b4)](){const _0x3a532e=_0x3d5482;this[_0x3a532e(0x1d9)][_0x3a532e(0x28a)]();}[_0x3d5482(0x265)](_0x351ba9){const _0x456570=_0x3d5482;this[_0x456570(0x1d9)][_0x456570(0x1d4)](_0x351ba9[_0x456570(0x1f7)],_0x351ba9),this['_emitMembers']();}['removeMember'](_0x4e91e0){this['_members']['delete'](_0x4e91e0);}[_0x3d5482(0x15d)](_0x392f5d){const _0x3b67ed=_0x3d5482;return this[_0x3b67ed(0x1d9)][_0x3b67ed(0x1c1)](_0x392f5d);}[_0x3d5482(0x253)](){const _0x8d5c60=_0x3d5482;return Array[_0x8d5c60(0x14a)](this['_members'][_0x8d5c60(0x233)]());}[_0x3d5482(0x14b)](){const _0x349d72=_0x3d5482;this[_0x349d72(0xd1)][_0x349d72(0x2a2)](this['_members']);}};function _0x157c(_0x5369aa,_0x2b8f6a){_0x5369aa=_0x5369aa-0xa5;const _0x199684=_0x1996();let _0x157c5d=_0x199684[_0x5369aa];return _0x157c5d;}let z=function(_0x463dce){const _0x5d03a7=_0x3d5482;return _0x463dce[_0x463dce[_0x5d03a7(0x1c6)]=0x0]='IDLE',_0x463dce[_0x463dce[_0x5d03a7(0xbd)]=0x1]=_0x5d03a7(0xbd),_0x463dce[_0x463dce[_0x5d03a7(0x275)]=0x2]=_0x5d03a7(0x275),_0x463dce[_0x463dce['ONLINE']=0x3]=_0x5d03a7(0x1e3),_0x463dce;}({});const Ot={[_0x29a5db[_0x3d5482(0xdf)]]:_0x3d5482(0x144),[_0x29a5db['JOIN_ROOM_FULL']]:_0x3d5482(0x235),[_0x29a5db[_0x3d5482(0x290)]]:_0x3d5482(0xc5),[_0x29a5db['JOIN_ROOM_PERMISSION_DENIED']]:'session.room-permission-denied',[_0x29a5db[_0x3d5482(0x2d9)]]:_0x3d5482(0xe4)};let kt=class extends _0x114242{get[_0x3d5482(0x20e)](){const _0x57113f=_0x3d5482;return this[_0x57113f(0x19d)][_0x57113f(0x2d3)]();}constructor(_0x4be3b7,_0x506062,_0x4d6bc8,_0x57ee3d,_0x5d9ea8,_0x5dcf3f,_0x5adbc1,_0xaa6de5){const _0x3b4cda=_0x3d5482;super(),this[_0x3b4cda(0x182)]=_0x4be3b7,this[_0x3b4cda(0x1b2)]=_0x4d6bc8,this[_0x3b4cda(0x1fe)]=_0x57ee3d,this[_0x3b4cda(0x1e4)]=_0x5d9ea8,this[_0x3b4cda(0x10f)]=_0x5dcf3f,this[_0x3b4cda(0x311)]=_0x5adbc1,this[_0x3b4cda(0x277)]=_0xaa6de5,N(this,'_sessionStatus$',new _0x3a2e8a(z['IDLE'])),N(this,_0x3b4cda(0x190),this[_0x3b4cda(0x19d)][_0x3b4cda(0xfe)]()),N(this,'_event$',new _0x46c32c()),N(this,'event$',this[_0x3b4cda(0x192)][_0x3b4cda(0xfe)]()),N(this,_0x3b4cda(0x1a1),void 0x0),N(this,_0x3b4cda(0x14e),void 0x0),N(this,_0x3b4cda(0x23f),void 0x0),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x3b4cda(0x239),null),this[_0x3b4cda(0x22d)]=!!this['_telemetryService'],_0x506062['pipe'](_0x23c7ab(this[_0x3b4cda(0x1a8)]))[_0x3b4cda(0x20b)](_0x2e7c8d=>{const _0x23d7d6=_0x3b4cda;if(_0x2e7c8d!==void 0x0){if(this[_0x23d7d6(0x1a1)]=_0x2e7c8d,_0x2e7c8d)this[_0x23d7d6(0x18b)](_0x2e7c8d),this[_0x23d7d6(0x14e)]=_0x2e7c8d[_0x23d7d6(0x199)][_0x23d7d6(0x20b)](_0x19ba5a=>{const _0x3c7a58=_0x23d7d6;_0x19ba5a[_0x3c7a58(0xd5)]===this[_0x3c7a58(0x182)]&&this[_0x3c7a58(0xfa)](_0x19ba5a);});else{var _0x507e44;this[_0x23d7d6(0x11f)](),this[_0x23d7d6(0x19d)][_0x23d7d6(0x2a2)](z['OFFLINE']),(_0x507e44=this[_0x23d7d6(0x14e)])==null||_0x507e44[_0x23d7d6(0x228)](),this[_0x23d7d6(0x14e)]=null;}}});}[_0x3d5482(0x214)](){const _0x1a6108=_0x3d5482;var _0x59e602,_0x1583ce;return(_0x59e602=(_0x1583ce=this[_0x1a6108(0x1a1)])==null?void 0x0:_0x1583ce[_0x1a6108(0x1f7)])==null?null:_0x59e602;}[_0x3d5482(0x2b4)](){const _0x5d4395=_0x3d5482;super['dispose'](),this[_0x5d4395(0x2bf)](),this[_0x5d4395(0x1a8)][_0x5d4395(0x2a2)](),this[_0x5d4395(0x1a8)][_0x5d4395(0xd7)]();}['close'](){const _0x5f501f=_0x3d5482;var _0x3dcbef,_0x2f5f40;this[_0x5f501f(0x11f)](),(_0x3dcbef=this[_0x5f501f(0x1a1)])==null||_0x3dcbef[_0x5f501f(0x280)]({'cmd':_0x1c9905[_0x5f501f(0x1e5)],'data':{'roomID':this[_0x5f501f(0x182)]}}),(_0x2f5f40=this[_0x5f501f(0x1a1)])==null||_0x2f5f40[_0x5f501f(0x2bf)](),this['_event$'][_0x5f501f(0xd7)](),this[_0x5f501f(0x19d)][_0x5f501f(0xd7)]();}[_0x3d5482(0xfa)](_0x2f9cdd){const _0x3ad9cc=_0x3d5482;_0x2f9cdd[_0x3ad9cc(0x218)]===_0x1c9905['JOIN']?this[_0x3ad9cc(0x222)](_0x2f9cdd):_0x2f9cdd[_0x3ad9cc(0x218)]===_0x1c9905['RECV']&&this[_0x3ad9cc(0x2f0)](_0x2f9cdd);}[_0x3d5482(0x18b)](_0xc0f0c2){const _0x349b8d=_0x3d5482;this['_sessionStatus$'][_0x349b8d(0x2a2)](z[_0x349b8d(0xbd)]),_0xc0f0c2[_0x349b8d(0x280)]({'cmd':_0x1c9905[_0x349b8d(0x1b0)],'routeKey':this[_0x349b8d(0x182)],'routeType':'','data':{'rooms':[{'roomID':this[_0x349b8d(0x182)]}]}});}[_0x3d5482(0x222)](_0x3e70cc){const _0xde06a5=_0x3d5482;var _0x390262;if(_0x3e70cc['code']in Ot){this['_collaborationUIEventService']['emitEvent']({'id':P[_0xde06a5(0x29e)],'data':Ot[_0x3e70cc[_0xde06a5(0x15b)]]}),this[_0xde06a5(0x19d)]['next'](z[_0xde06a5(0x275)]);return;}this[_0xde06a5(0x19d)]['next'](z[_0xde06a5(0x1e3)]);let _0x2aa5c0=(_0x390262=_0x3e70cc[_0xde06a5(0x210)]['roomInfos'][this[_0xde06a5(0x182)]])==null?void 0x0:_0x390262['members'];_0x2aa5c0&&_0x2aa5c0[_0xde06a5(0x1cc)](_0x7a3c8a=>this[_0xde06a5(0x1e4)][_0xde06a5(0x265)](this[_0xde06a5(0x182)],_0x7a3c8a));}[_0x3d5482(0x2f0)](_0x3f2616){const _0x4b8416=_0x3d5482;try{let _0x39fbd4=_0x3f2616['data'];switch(_0x39fbd4[_0x4b8416(0x29d)]){case _0x50665f[_0x4b8416(0x25d)]:this[_0x4b8416(0xf0)](_0x39fbd4),this['_event$'][_0x4b8416(0x2a2)](_0x39fbd4);break;case _0x50665f[_0x4b8416(0x287)]:this[_0x4b8416(0x281)](_0x39fbd4),this[_0x4b8416(0x192)][_0x4b8416(0x2a2)](_0x39fbd4);break;case _0x50665f[_0x4b8416(0x245)]:case _0x50665f[_0x4b8416(0x12d)]:this[_0x4b8416(0x27f)](),this[_0x4b8416(0x2c7)](),this[_0x4b8416(0x192)]['next'](_0x39fbd4);break;case _0x50665f['MSG_FOR_ERROR']:this[_0x4b8416(0x1b2)][_0x4b8416(0x167)](_0x4b8416(0x2e2)+JSON['stringify'](_0x39fbd4)),this['_event$'][_0x4b8416(0x2a2)](_0x39fbd4);break;case _0x50665f[_0x4b8416(0xce)]:this[_0x4b8416(0x10f)][_0x4b8416(0x2db)](_0x39fbd4['data']),this[_0x4b8416(0x192)][_0x4b8416(0x2a2)](_0x39fbd4);break;default:this[_0x4b8416(0x192)][_0x4b8416(0x2a2)](_0x39fbd4);}}catch(_0x2bca4d){this[_0x4b8416(0x1b2)][_0x4b8416(0x167)](_0x2bca4d,_0x3f2616);}}[_0x3d5482(0xf0)](_0xff68de){const _0x37f4eb=_0x3d5482;this[_0x37f4eb(0x1e4)][_0x37f4eb(0x265)](this['_unitID'],_0xff68de['data']);}[_0x3d5482(0x281)](_0x3f8c44){const _0x1bf452=_0x3d5482;this['_memberService'][_0x1bf452(0xde)](this[_0x1bf452(0x182)],_0x3f8c44[_0x1bf452(0x210)][_0x1bf452(0x1f7)]);}async[_0x3d5482(0x280)](_0x17c495,_0x30e29a){const _0x54c39b=_0x3d5482;if(this[_0x54c39b(0x20e)]!==z[_0x54c39b(0x1e3)]||!this[_0x54c39b(0x1a1)])throw Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x17c495[_0x54c39b(0x29d)]===_0x50665f[_0x54c39b(0x276)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x54c39b(0x2a5)](_0x17c495)),this[_0x54c39b(0x1a1)][_0x54c39b(0x280)]({'cmd':_0x1c9905[_0x54c39b(0x2b1)],'routeKey':_0x30e29a,'routeType':'','data':_0x17c495});}catch(_0x356c43){this[_0x54c39b(0x1b2)]['error'](_0x356c43);}}[_0x3d5482(0xf4)](){const _0x2b43e5=_0x3d5482;var _0x537eac;this[_0x2b43e5(0x23f)]=setTimeout(()=>{const _0x33904d=_0x2b43e5;this[_0x33904d(0x23f)]=null,this[_0x33904d(0x311)][_0x33904d(0x20f)]({'id':P[_0x33904d(0x13d)]});},(_0x537eac=this['_configService'][_0x2b43e5(0x13b)](_0x2b43e5(0x21c)))==null?gt:_0x537eac);}[_0x3d5482(0x2c7)](){const _0x22917e=_0x3d5482;this[_0x22917e(0x23f)]&&(clearTimeout(this[_0x22917e(0x23f)]),this[_0x22917e(0x23f)]=null);}[_0x3d5482(0x2a5)](_0x5aec21){const _0x14e8d8=_0x3d5482;if(!this[_0x14e8d8(0x22d)])return;let {data:_0x46758e}=_0x5aec21,{unitID:_0x2febc6,changeset:_0x1b9ad5}=_0x46758e,{mutations:_0x7cb761,type:_0x2aa99c}=_0x1b9ad5;this['_telemetryInfo']={'unitId':_0x2febc6,'type':_0x2aa99c,'startTime':performance[_0x14e8d8(0xb0)](),'stopTime':0x0,'duration':0x0,'size':St(_0x7cb761)};}[_0x3d5482(0x27f)](){const _0x119c33=_0x3d5482;if(this[_0x119c33(0x22d)]){if(!this[_0x119c33(0x239)]){this['_logService'][_0x119c33(0x167)](_0x119c33(0xca),_0x119c33(0x1e9));return;}this[_0x119c33(0x239)][_0x119c33(0x26b)]=performance['now'](),this[_0x119c33(0x239)][_0x119c33(0x1a7)]=this[_0x119c33(0x239)][_0x119c33(0x26b)]-this[_0x119c33(0x239)][_0x119c33(0x1c7)],this[_0x119c33(0x277)][_0x119c33(0x106)](_0x119c33(0x2df),this[_0x119c33(0x239)]),this[_0x119c33(0x239)]=null;}}[_0x3d5482(0x11f)](){const _0x2f799b=_0x3d5482;this[_0x2f799b(0x239)]=null;}};kt=L([I(0x2,_0x2fc9db),I(0x3,_0x34eea4),I(0x4,_0x528933(R)),I(0x5,_0x528933(Et)),I(0x6,_0x528933(F)),I(0x7,_0x5e5f16(_0x2d4a2))],kt);const B=_0x12bcfd('collaboration-client.local-cache-service');function At(_0xe072da){const _0x4cf8c5=_0x3d5482;return _0x4cf8c5(0x201)+_0xe072da;}function jt(_0x1df5a7){const _0x14b2c8=_0x3d5482;let {unitID:_0x59b712,mutations:_0x30e2a0}=_0x1df5a7;return{'unitId':_0x59b712,'subUnitId':_0x30e2a0[_0x14b2c8(0x2cd)]>0x0?_0x30e2a0[0x0][_0x14b2c8(0x1e6)][_0x14b2c8(0xeb)]:null};}let V=class{constructor(_0x5345ff,_0x3b6bea,_0x585cc4){const _0x41f1d7=_0x3d5482;this[_0x41f1d7(0xee)]=_0x5345ff,this[_0x41f1d7(0x14f)]=_0x3b6bea,this[_0x41f1d7(0x185)]=_0x585cc4;}[_0x3d5482(0x2a4)](_0x5737d5){const _0x1e91d0=_0x3d5482;var _0x2edc6e,_0x5d9ec6;let _0x473ec1=this[_0x1e91d0(0xee)][_0x1e91d0(0x1c1)](_0x9f4d81),{unitId:_0x2c75c7,subUnitId:_0x166079}=jt(_0x5737d5),_0x125205=_0x473ec1==null?void 0x0:_0x473ec1['getWorkbookSelections'](_0x2c75c7)[_0x1e91d0(0x27b)](),_0x3f5827=(_0x2edc6e=this[_0x1e91d0(0x185)]['getUnit'](_0x2c75c7))==null||(_0x2edc6e=_0x2edc6e[_0x1e91d0(0x22a)]())==null?void 0x0:_0x2edc6e[_0x1e91d0(0x196)]();if(_0x125205[_0x1e91d0(0x2cd)]===0x0||!_0x2c75c7||!_0x166079)return;let _0x5ce0ad=[{'id':_0x5416ac['id'],'params':{'unitId':_0x2c75c7,'subUnitId':_0x3f5827,'selections':_0x47c564[_0x1e91d0(0xb1)](_0x125205)}}],_0x1fdc0f=this[_0x1e91d0(0x14f)]['transformMutationsWithChangeset'](_0x5737d5,_0x5ce0ad);if(!_0x2ae31c(_0x1fdc0f))throw _0x1fdc0f[_0x1e91d0(0x167)];let _0x17d66b=(_0x5d9ec6=_0x1fdc0f[_0x1e91d0(0x143)][0x0])==null||(_0x5d9ec6=_0x5d9ec6['params'])==null?void 0x0:_0x5d9ec6[_0x1e91d0(0x1f8)];if(Array[_0x1e91d0(0x1db)](_0x17d66b)&&_0x17d66b[_0x1e91d0(0x2cd)]){if(_0x17d66b[_0x1e91d0(0x2cd)]===_0x5ce0ad[0x0]['params'][_0x1e91d0(0x1f8)][_0x1e91d0(0x2cd)]&&_0x17d66b['every']((_0x537e75,_0x343d18)=>_0x4b1329['equals'](_0x537e75[_0x1e91d0(0x30e)],_0x5ce0ad[0x0][_0x1e91d0(0x1e6)][_0x1e91d0(0x1f8)][_0x343d18]['range'])))return;this[_0x1e91d0(0xee)][_0x1e91d0(0x1c1)](_0x2169d2)[_0x1e91d0(0x2cf)](_0x5416ac['id'],{'unitId':_0x2c75c7,'subUnitId':_0x3f5827,'selections':_0x17d66b});}}};V=L([I(0x0,_0x528933(_0x2f9ec4)),I(0x1,_0x3a3a3e),I(0x2,_0x5c02d5)],V);const Mt=_0x12bcfd(_0x3d5482(0x312));let Nt=function(_0x592d20){const _0x4e42bf=_0x3d5482;return _0x592d20[_0x592d20['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x4e42bf(0xef),_0x592d20[_0x592d20[_0x4e42bf(0x313)]=0x1]=_0x4e42bf(0x313),_0x592d20;}({});const H='collaboration-client.config';Symbol(H);const Pt={};function Ft(_0x25b224){const _0x2a4875=_0x3d5482;var _0x3a71dc;return!!((_0x3a71dc=_0x25b224[_0x2a4875(0x1e6)])!=null&&_0x3a71dc[_0x2a4875(0x11d)]);}const It=new Set([_0x8555bd['id']]);function Lt(_0x4064e7,_0x4aef23,_0x4e5cf4,_0x1b04d1,_0x10c5ce){const _0x27e1fe=_0x3d5482;var _0x4e6c84,_0x5e4b09,_0x72d2d3,_0x57dd8f;let _0x146c20=[];for(let _0x56a236 of _0x4064e7){if(It[_0x27e1fe(0xbb)](_0x56a236['id'])){if(_0x146c20['length']>0x0)break;_0x146c20[_0x27e1fe(0x2e8)](_0x56a236);break;}if(Ft(_0x56a236)){if(_0x146c20[_0x27e1fe(0x2cd)]>0x0)break;_0x146c20['push'](_0x56a236);break;}_0x146c20[_0x27e1fe(0x2e8)](_0x56a236);}let _0xd92bd0=(_0x4e6c84=(_0x5e4b09=_0x10c5ce[_0x27e1fe(0x243)]())==null?void 0x0:_0x5e4b09[_0x27e1fe(0x20d)])==null?_0x27e1fe(0x123):_0x4e6c84,_0x185b6e=(_0x72d2d3=(_0x57dd8f=_0x10c5ce[_0x27e1fe(0x243)]())==null?void 0x0:_0x57dd8f[_0x27e1fe(0x1f7)])==null?_0x27e1fe(0x123):_0x72d2d3;return{'changeset':{'unitID':_0x4aef23,'type':_0x49e240(_0x4e5cf4[_0x27e1fe(0x122)](_0x4aef23)),'baseRev':_0x1b04d1['getCurrentRevOfUnit'](_0x4aef23),'revision':0x0,'userID':_0xd92bd0,'memberID':_0x185b6e,'mutations':_0x146c20},'pendingMutations':_0x4064e7[_0x27e1fe(0x223)](_0x146c20['length'])};}function Rt(_0x299d47,_0x515774,_0x1480ff,_0x1da319,_0x2e1fa8){const _0x5888fd=_0x3d5482;var _0x202e4b,_0x4ecfd7,_0x1297ee,_0x57b0db;let _0x7b65e4=[_0x299d47['reduce']((_0x292a3c,_0x5d3e7c)=>{const _0x4bd0f4=_0x157c;var _0x131c54;let {id:_0x5c8532}=_0x292a3c,{id:_0xdffe5a,type:_0x47d7e3}=_0x5d3e7c,_0x1eace7=(_0x131c54=_0x292a3c['params'])==null?{'actions':null}:_0x131c54,_0x2d919f=_0x5d3e7c['params'];if(_0x5c8532&&_0x5c8532!==_0xdffe5a)throw Error(_0x4bd0f4(0x165)+_0x5c8532+'\x20-\x20'+_0xdffe5a+'.');return{..._0x292a3c,'id':_0xdffe5a,'type':_0x47d7e3,'params':{'unitId':_0x2d919f[_0x4bd0f4(0x1b1)],'textRanges':_0x2d919f['textRanges'],'actions':_0x559840[_0x4bd0f4(0x2c8)](_0x1eace7[_0x4bd0f4(0x307)],_0x2d919f[_0x4bd0f4(0x307)])}};},{})],_0x2649cd=(_0x202e4b=(_0x4ecfd7=_0x2e1fa8[_0x5888fd(0x243)]())==null?void 0x0:_0x4ecfd7['userID'])==null?_0x5888fd(0x123):_0x202e4b,_0x99f181=(_0x1297ee=(_0x57b0db=_0x2e1fa8['getCurrentUser']())==null?void 0x0:_0x57b0db[_0x5888fd(0x1f7)])==null?_0x5888fd(0x123):_0x1297ee;return{'changeset':{'unitID':_0x515774,'type':_0x49e240(_0x1480ff[_0x5888fd(0x122)](_0x515774)),'baseRev':_0x1da319['getCurrentRevOfUnit'](_0x515774),'revision':0x0,'userID':_0x2649cd,'memberID':_0x99f181,'mutations':_0x7b65e4},'pendingMutations':[]};}function zt(_0x5735b8,_0x58f83f){const _0x560d10=_0x3d5482;let _0x39d478=new _0x4197ab(0x1);return setTimeout(()=>_0x39d478[_0x560d10(0x2a2)](_0x58f83f),_0x5735b8),_0x39d478[_0x560d10(0xfe)]()[_0x560d10(0xf5)](_0xa3e082(0x1));}var Bt,Vt,Ht;let U=function(_0x290591){const _0x391235=_0x3d5482;return _0x290591[_0x391235(0x252)]='not_collab',_0x290591['SYNCED']='synced',_0x290591[_0x391235(0x30a)]=_0x391235(0x1ba),_0x290591[_0x391235(0x191)]=_0x391235(0x240),_0x290591[_0x391235(0xb6)]=_0x391235(0x10a),_0x290591[_0x391235(0x205)]=_0x391235(0x10e),_0x290591[_0x391235(0x20c)]='conflict',_0x290591['OFFLINE']=_0x391235(0x156),_0x290591;}({});const Ut=0x4e20,Wt=0x2bf20;var W=class{constructor(_0x2bd1ad,_0x5af4e2,_0x53f8a8,_0x56958c,_0x2316c8,_0x14a860,_0x4d4bc4,_0x2cbdda,_0x40bdfc){const _0x530ba1=_0x3d5482;this['unitID']=_0x2bd1ad,this[_0x530ba1(0x1cf)]=_0x5af4e2,this[_0x530ba1(0x2ec)]=_0x2316c8,this[_0x530ba1(0x1a6)]=_0x14a860,this['_undoRedoService']=_0x4d4bc4,this[_0x530ba1(0x1b6)]=_0x2cbdda,this[_0x530ba1(0xd0)]=_0x40bdfc,N(this,_0x530ba1(0x178),null),N(this,_0x530ba1(0x1f9),[]),this[_0x530ba1(0x178)]=_0x53f8a8,this['_pendingMutations']=_0x56958c;}['_checkMissing'](_0x4fc493){const _0x43a189=_0x3d5482;let _0x5553c1=this['_revisionService'][_0x43a189(0x2fd)](this[_0x43a189(0x11e)]);return _0x4fc493[_0x43a189(0x242)]>_0x5553c1+0x1?(this[_0x43a189(0x2ec)][_0x43a189(0x121)]({'from':_0x5553c1,'to':_0x4fc493['revision']-0x1}),!0x0):!0x1;}[_0x3d5482(0x180)](_0xf4bcf7){const _0x3b01ba=_0x3d5482;this['_undoRedoService']['transformUndoRedo'](this[_0x3b01ba(0x11e)],_0xf4bcf7);}[_0x3d5482(0xd8)](_0x3e9bde){const _0x2ea9bb=_0x3d5482;var _0x2f016e,_0x147371;(_0x2f016e=(_0x147371=this['_handler'])[_0x2ea9bb(0x16c)])==null||_0x2f016e[_0x2ea9bb(0x124)](_0x147371,_0x3e9bde);}['_transformIMECache'](_0x363131){const _0x42e820=_0x3d5482;var _0x42049a,_0x52ccc5;return(_0x42049a=(_0x52ccc5=this['_handler'])[_0x42e820(0x133)])==null?void 0x0:_0x42049a[_0x42e820(0x124)](_0x52ccc5,_0x363131);}['_transformStateCache'](_0x7d79e3){const _0x3501b7=_0x3d5482;var _0x1d2195,_0x458e4b;return(_0x1d2195=(_0x458e4b=this[_0x3501b7(0x2ec)])[_0x3501b7(0xa9)])==null?void 0x0:_0x1d2195[_0x3501b7(0x124)](_0x458e4b,_0x7d79e3);}['_transformRemoteChangesetByIMECache'](_0x529897){const _0x80fa5c=_0x3d5482;var _0x5581a8,_0x28c281,_0x2f131c;return(_0x5581a8=(_0x28c281=(_0x2f131c=this[_0x80fa5c(0x2ec)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x28c281[_0x80fa5c(0x124)](_0x2f131c,_0x529897))==null?_0x529897:_0x5581a8;}['_transformRemoteChangesetByStateCache'](_0x406300){const _0x463b97=_0x3d5482;var _0x594538,_0x52f50d,_0x2bed1e;return(_0x594538=(_0x52f50d=(_0x2bed1e=this[_0x463b97(0x2ec)])[_0x463b97(0x30d)])==null?void 0x0:_0x52f50d['call'](_0x2bed1e,_0x406300))==null?_0x406300:_0x594538;}['_syncEditingCollabCursor'](_0xcabc8e){const _0x32e27f=_0x3d5482;if(this[_0x32e27f(0x1cf)]===_0x311bf4[_0x32e27f(0x28d)]){let {unitID:_0x53d557,mutations:_0x2bc820,memberID:_0x39d95a}=_0xcabc8e,_0x322e=_0x2bc820[_0x32e27f(0x2cd)]>0x0?_0x2bc820[0x0][_0x32e27f(0x1e6)]['textRanges']:[];if(Array['isArray'](_0x322e)&&_0x322e[_0x32e27f(0x2cd)]>0x0){var _0x5aa0bd,_0x7475f5;(_0x5aa0bd=(_0x7475f5=this[_0x32e27f(0x2ec)])[_0x32e27f(0x1fb)])==null||_0x5aa0bd[_0x32e27f(0x124)](_0x7475f5,{'unitID':_0x53d557,'memberID':_0x39d95a,'textRanges':_0x322e});}}}[_0x3d5482(0xf9)](){const _0xbcc885=_0x3d5482;var _0x50e15e;(_0x50e15e=this['_localCacheService'])==null||_0x50e15e[_0xbcc885(0x1ee)](this[_0xbcc885(0x11e)],this[_0xbcc885(0x1cf)],this['_awaitingChangeset'],this[_0xbcc885(0x1f9)]);}[_0x3d5482(0x248)](){const _0x199904=_0x3d5482;return this[_0x199904(0x1b6)]['getCurrentRevOfUnit'](this['unitID']);}[_0x3d5482(0x11c)](){const _0x44e655=_0x3d5482;this[_0x44e655(0x1b6)][_0x44e655(0x150)](this[_0x44e655(0x11e)]);}[_0x3d5482(0x262)](_0x40c7f4){const _0x557468=_0x3d5482;let _0x16a5b9=this['_transformRemoteChangesetByIMECache'](_0x40c7f4);_0x16a5b9=this[_0x557468(0xb5)](_0x16a5b9);let _0x5183c4=_0x5657a4(_0x16a5b9[_0x557468(0xad)],this['_commandService'],{'fromCollab':!0x0});if(!_0x5183c4[_0x557468(0x19f)]){var _0x37a0ce;throw _0x5183c4[_0x557468(0x167)]instanceof Error?_0x5183c4[_0x557468(0x167)]:Error((_0x37a0ce=_0x5183c4[_0x557468(0x167)])==null?'[CollaborationState]:\x20apply\x20error!':_0x37a0ce);}this[_0x557468(0x148)](_0x16a5b9),this[_0x557468(0x21f)](_0x16a5b9),this['_transformUndoredo'](_0x40c7f4),this[_0x557468(0xd8)](_0x16a5b9),this['_syncEditingCollabCursor'](_0x16a5b9),this[_0x557468(0x11c)]();}};let G=class extends W{constructor(_0x4e4ce5,_0x18209f,_0x463973,_0x2399c9,_0x20b0ec,_0x2cc2be,_0x2c249f,_0x36fd26,_0x3190bc,_0xe6f167){const _0x53c27a=_0x3d5482;super(_0x4e4ce5,_0x18209f,null,[],_0x463973,_0x2c249f,_0x2cc2be,_0x2399c9,_0xe6f167),this[_0x53c27a(0xee)]=_0x20b0ec,this[_0x53c27a(0x1b2)]=_0x36fd26,this[_0x53c27a(0x14f)]=_0x3190bc,this['localCacheService']=_0xe6f167,N(this,_0x53c27a(0xdb),U[_0x53c27a(0x2cc)]);}[_0x3d5482(0xc3)](_0x456a41){const _0x2dd5a1=_0x3d5482;let _0x58b1ff=this[_0x2dd5a1(0xee)]['createInstance'](K,this['unitID'],this[_0x2dd5a1(0x1cf)],[_0x456a41],this[_0x2dd5a1(0x2ec)]);return _0x58b1ff[_0x2dd5a1(0x219)](),_0x58b1ff[_0x2dd5a1(0xf9)](),_0x58b1ff;}[_0x3d5482(0x137)](_0x5d0f1f){const _0x2933ae=_0x3d5482;if(this[_0x2933ae(0x16a)](_0x5d0f1f))return this[_0x2933ae(0xee)][_0x2933ae(0x1ff)](Z,this['unitID'],this['type'],null,[],null,[_0x5d0f1f],this['_handler']);try{let _0x3e560b=this[_0x2933ae(0x14f)][_0x2933ae(0xb7)](_0x5d0f1f,[_0x335eec]);if(_0x2ae31c(_0x3e560b)){let {c1Prime:_0x36606b}=_0x3e560b;return this[_0x2933ae(0x262)](_0x36606b),this;}throw _0x3e560b['error'];}catch(_0x1ce952){return this[_0x2933ae(0x1b2)][_0x2933ae(0x167)](_0x1ce952),this[_0x2933ae(0x2b9)](!0x1);}}[_0x3d5482(0x2b9)](_0x566a08){const _0x4b964b=_0x3d5482;return this['_injector'][_0x4b964b(0x1ff)](Y,this[_0x4b964b(0x11e)],this['type'],null,[],this[_0x4b964b(0x2ec)],_0x566a08);}[_0x3d5482(0x292)](){const _0x15166a=_0x3d5482;throw Error(_0x15166a(0x24f));}[_0x3d5482(0xc9)](){const _0x1fddc3=_0x3d5482;throw Error(_0x1fddc3(0x305));}[_0x3d5482(0x139)](){return this;}[_0x3d5482(0x1ed)](){const _0x35a6bc=_0x3d5482;return this['_injector'][_0x35a6bc(0x1ff)](X,this['unitID'],this[_0x35a6bc(0x1cf)],null,[],this[_0x35a6bc(0x2ec)]);}[_0x3d5482(0x1df)](){return this;}[_0x3d5482(0x211)](){const _0x5f11cc=_0x3d5482;throw Error(_0x5f11cc(0x2ef));}[_0x3d5482(0x30f)](){const _0x39fb11=_0x3d5482;let _0x26c80f=this[_0x39fb11(0x1b6)][_0x39fb11(0x2fd)](this[_0x39fb11(0x11e)]);return this['_handler'][_0x39fb11(0x121)]({'from':_0x26c80f,'to':0x0}),this[_0x39fb11(0xee)][_0x39fb11(0x1ff)](Z,this['unitID'],this['type'],null,[],null,[],this['_handler']);}};G=L([I(0x3,_0x528933(_0x2f0200)),I(0x4,_0x528933(_0x2f9ec4)),I(0x5,_0x32e478),I(0x6,_0x2169d2),I(0x7,_0x2fc9db),I(0x8,_0x3a3a3e),I(0x9,_0x5e5f16(B))],G);let K=Bt=class extends W{constructor(_0x12a0cd,_0x396740,_0x101749,_0x27218d,_0x2ec152,_0x3b3174,_0x408976,_0x18849c,_0x38e208,_0x286a2c,_0x1234c4,_0x39f7dc,_0x5c1351,_0x4670da){const _0x530947=_0x3d5482;super(_0x12a0cd,_0x396740,null,_0x101749,_0x27218d,_0x38e208,_0x5c1351,_0x3b3174,_0x4670da),this[_0x530947(0xee)]=_0x2ec152,this[_0x530947(0x1e4)]=_0x408976,this['_logService']=_0x18849c,this['_configService']=_0x286a2c,this[_0x530947(0x14f)]=_0x1234c4,this[_0x530947(0x2d0)]=_0x39f7dc,N(this,'status',U[_0x530947(0x30a)]),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null);}['appendMutation'](_0x68b946){const _0x133c27=_0x3d5482;return this[_0x133c27(0x1f9)]['push'](_0x68b946),this[_0x133c27(0xf9)](),this;}['onRemoteChangeset'](_0x389c5a){const _0x1bde64=_0x3d5482;if(this[_0x1bde64(0x16a)](_0x389c5a))return this[_0x1bde64(0x14d)](),this[_0x1bde64(0xee)]['createInstance'](Z,this[_0x1bde64(0x11e)],this[_0x1bde64(0x1cf)],null,this[_0x1bde64(0x1f9)],null,[_0x389c5a],this[_0x1bde64(0x2ec)]);try{let _0x47954f=this['_transformService']['transformMutationsWithChangeset'](_0x389c5a,this[_0x1bde64(0x1f9)]);if(_0x2ae31c(_0x47954f)){let {c1Prime:_0x5a2d19,m2Prime:_0x106434}=_0x47954f;this[_0x1bde64(0x262)](_0x5a2d19);let _0x3dd4d4=this[_0x1bde64(0xee)][_0x1bde64(0x1ff)](Bt,this[_0x1bde64(0x11e)],this[_0x1bde64(0x1cf)],_0x106434,this[_0x1bde64(0x2ec)]);this[_0x1bde64(0x14d)]();let _0x3502d1=new Date()[_0x1bde64(0xa5)](),_0x468203=this[_0x1bde64(0x24c)]?Math[_0x1bde64(0x1dc)](this[_0x1bde64(0x24c)]-_0x3502d1,0x0):this[_0x1bde64(0x13e)]();return _0x3dd4d4[_0x1bde64(0x219)](_0x468203),_0x3dd4d4;}throw _0x47954f['error'];}catch(_0x12ed83){return this[_0x1bde64(0x1b2)][_0x1bde64(0x167)](_0x12ed83),this['_onConflict'](!0x1);}}[_0x3d5482(0x292)](){const _0xd74803=_0x3d5482;throw Error(_0xd74803(0x135));}[_0x3d5482(0xc9)](){const _0x2ded38=_0x3d5482;throw Error(_0x2ded38(0xe7));}[_0x3d5482(0x139)](){return this;}[_0x3d5482(0x1ed)](){const _0x5d2da7=_0x3d5482;return this[_0x5d2da7(0x14d)](),this[_0x5d2da7(0xee)][_0x5d2da7(0x1ff)](X,this[_0x5d2da7(0x11e)],this[_0x5d2da7(0x1cf)],null,this[_0x5d2da7(0x1f9)],this['_handler']);}[_0x3d5482(0x1df)](){return this;}[_0x3d5482(0x219)](_0x12f827){const _0x1b4488=_0x3d5482;let _0x527ea9=_0x12f827==null?this[_0x1b4488(0x13e)]():_0x12f827;this[_0x1b4488(0x24c)]=new Date()[_0x1b4488(0xa5)]()+_0x527ea9,this[_0x1b4488(0x26f)]=setTimeout(()=>{const _0x5a73ff=_0x1b4488;this[_0x5a73ff(0x14d)]();let _0xcf0e43=null;switch(this['type']){case _0x311bf4[_0x5a73ff(0x155)]:_0xcf0e43=Lt(this['_pendingMutations'],this['unitID'],this[_0x5a73ff(0x2d0)],this[_0x5a73ff(0x1b6)],this['_memberService']);break;case _0x311bf4['UNIVER_DOC']:_0xcf0e43=this['_pendingMutations'][_0x5a73ff(0x1a9)](_0x2b9293=>_0x2b9293['id']===_0x2d0c57['id'])?Rt(this[_0x5a73ff(0x1f9)],this['unitID'],this[_0x5a73ff(0x2d0)],this[_0x5a73ff(0x1b6)],this[_0x5a73ff(0x1e4)]):Lt(this[_0x5a73ff(0x1f9)],this[_0x5a73ff(0x11e)],this[_0x5a73ff(0x2d0)],this[_0x5a73ff(0x1b6)],this[_0x5a73ff(0x1e4)]);break;default:throw Error(_0x5a73ff(0xf8)+this[_0x5a73ff(0x1cf)]+_0x5a73ff(0x2ba));}let {changeset:_0x5b52aa,pendingMutations:_0x3030a1}=_0xcf0e43;this[_0x5a73ff(0x2ec)][_0x5a73ff(0x26e)](_0x5b52aa);let _0x4e2373=_0x3030a1[_0x5a73ff(0x2cd)]?this[_0x5a73ff(0xee)][_0x5a73ff(0x1ff)](J,this[_0x5a73ff(0x11e)],this[_0x5a73ff(0x1cf)],_0x5b52aa,_0x3030a1,this['_handler'],void 0x0):this[_0x5a73ff(0xee)][_0x5a73ff(0x1ff)](q,this[_0x5a73ff(0x11e)],this[_0x5a73ff(0x1cf)],_0x5b52aa,this['_handler']);_0x4e2373['_updateLocalCache'](),this[_0x5a73ff(0x2ec)][_0x5a73ff(0x278)](this,_0x4e2373);},_0x527ea9);}[_0x3d5482(0x13e)](){const _0x30fcd9=_0x3d5482;var _0x3b47b3;let _0x10c9b7=this[_0x30fcd9(0x1fe)][_0x30fcd9(0x13b)](H);return(_0x3b47b3=_0x10c9b7==null?void 0x0:_0x10c9b7[_0x30fcd9(0x226)])==null?0x7d0:_0x3b47b3;}[_0x3d5482(0x211)](){const _0x2312b9=_0x3d5482;throw Error(_0x2312b9(0xf3));}[_0x3d5482(0x14d)](){const _0x2cb3e2=_0x3d5482;this[_0x2cb3e2(0x26f)]!=null&&(clearTimeout(this[_0x2cb3e2(0x26f)]),this[_0x2cb3e2(0x26f)]=null);}['_onConflict'](_0xb47e2e){const _0x599b1b=_0x3d5482;return this[_0x599b1b(0x14d)](),this['_injector'][_0x599b1b(0x1ff)](Y,this[_0x599b1b(0x11e)],this[_0x599b1b(0x1cf)],null,this[_0x599b1b(0x1f9)],this[_0x599b1b(0x2ec)],_0xb47e2e);}};K=Bt=L([I(0x4,_0x528933(_0x2f9ec4)),I(0x5,_0x528933(_0x2f0200)),I(0x6,_0x528933(R)),I(0x7,_0x2fc9db),I(0x8,_0x2169d2),I(0x9,_0x34eea4),I(0xa,_0x3a3a3e),I(0xb,_0x5c02d5),I(0xc,_0x32e478),I(0xd,_0x5e5f16(B))],K);let q=Vt=class extends W{constructor(_0x4f30fc,_0x1f5cb7,_0xc1eda,_0x359b5a,_0x195a7a,_0x3d1a7b,_0x27e73b,_0x498475,_0x5111a5,_0x54f3bc,_0x4961cf){const _0x7fa726=_0x3d5482;super(_0x4f30fc,_0x1f5cb7,_0xc1eda,[],_0x359b5a,_0x27e73b,_0x54f3bc,_0x3d1a7b,_0x4961cf),this['_injector']=_0x195a7a,this[_0x7fa726(0x1b2)]=_0x498475,this[_0x7fa726(0x14f)]=_0x5111a5,N(this,'status',U[_0x7fa726(0x191)]),N(this,_0x7fa726(0x27e),0x0),N(this,'_maxTotalRetryTimeout',0x0),N(this,_0x7fa726(0x273),void 0x0),N(this,_0x7fa726(0x11b),void 0x0);}['appendMutation'](_0x536769){const _0x2bac75=_0x3d5482;this['_clearScheduledTask']();let _0x2a2552=this['_injector'][_0x2bac75(0x1ff)](J,this[_0x2bac75(0x11e)],this[_0x2bac75(0x1cf)],this[_0x2bac75(0x178)],[_0x536769],this[_0x2bac75(0x2ec)],this[_0x2bac75(0x273)]);return _0x2a2552[_0x2bac75(0xf9)](),_0x2a2552;}['onRemoteChangeset'](_0x3cb47f){const _0xe17e79=_0x3d5482;if(this['_checkMissing'](_0x3cb47f))return this['_clearScheduledTask'](),this['_injector'][_0xe17e79(0x1ff)](Z,this[_0xe17e79(0x11e)],this['type'],this[_0xe17e79(0x178)],[],null,[_0x3cb47f],this['_handler']);try{let _0x4d58ed=this[_0xe17e79(0x14f)][_0xe17e79(0x157)]([_0x3cb47f],[this['_awaitingChangeset']],!0x1);if(_0x250ae2(_0x4d58ed)){let {c1Prime:_0x6a5fbf,c2Prime:_0x55fea4}=_0x4d58ed;this[_0xe17e79(0x262)](_0x6a5fbf[0x0]),_0x55fea4[0x0][_0xe17e79(0x27c)]=this['_getCurrentRevision'](),this[_0xe17e79(0x14d)]();let _0x4a80dd=this[_0xe17e79(0xee)][_0xe17e79(0x1ff)](Vt,this['unitID'],this[_0xe17e79(0x1cf)],_0x55fea4[0x0],this[_0xe17e79(0x2ec)]);return _0x4a80dd['_updateLocalCache'](),_0x4a80dd;}return this[_0xe17e79(0x2b9)](!0x1);}catch(_0x52b60c){return this[_0xe17e79(0x1b2)]['error'](_0x52b60c),this[_0xe17e79(0x2b9)](!0x1);}}[_0x3d5482(0x292)](_0x261325){const _0x2c6a00=_0x3d5482;this[_0x2c6a00(0x14d)]();let _0x22e57c=this[_0x2c6a00(0x1b6)]['getCurrentRevOfUnit'](this[_0x2c6a00(0x11e)]);if(_0x261325[_0x2c6a00(0x242)]<_0x22e57c-0x1)return this;if(this[_0x2c6a00(0x16a)](_0x261325))return this['_injector']['createInstance'](Z,this[_0x2c6a00(0x11e)],this['type'],null,[],this[_0x2c6a00(0x178)],[],this[_0x2c6a00(0x2ec)]);this[_0x2c6a00(0x11c)]();let _0x2b87e5=this['_injector'][_0x2c6a00(0x1ff)](G,this[_0x2c6a00(0x11e)],this[_0x2c6a00(0x1cf)],this[_0x2c6a00(0x2ec)]);return _0x2b87e5[_0x2c6a00(0xf9)](),_0x2b87e5;}[_0x3d5482(0xc9)](_0x1faa8f){return this['_onConflict'](!!(_0x1faa8f!=null&&_0x1faa8f['isPermissionRej']));}[_0x3d5482(0x139)](_0x27790c){const _0x4ded1f=_0x3d5482;return this[_0x4ded1f(0x202)]>Wt?this['toggleOffline']():(this[_0x4ded1f(0x273)]=zt(this['_resendTimeout'],{'timeout':this[_0x4ded1f(0x27e)],'reqId':_0x27790c[_0x4ded1f(0x2d4)]}),this[_0x4ded1f(0x11b)]=this[_0x4ded1f(0x273)][_0x4ded1f(0x20b)](({reqId:_0x6a1f12,timeout:_0x24cc0d})=>{const _0x3ef0df=_0x4ded1f;this[_0x3ef0df(0x1a5)](_0x6a1f12,_0x24cc0d);}),this);}[_0x3d5482(0x1ed)](){const _0x468f22=_0x3d5482;return this[_0x468f22(0x14d)](),this['_injector']['createInstance'](X,this['unitID'],this[_0x468f22(0x1cf)],this[_0x468f22(0x178)],[],this[_0x468f22(0x2ec)]);}[_0x3d5482(0x1df)](){return this;}[_0x3d5482(0x211)](){const _0x17ac0a=_0x3d5482;this['_handler']['onSendChangeset'](this[_0x17ac0a(0x178)]);}[_0x3d5482(0x2b9)](_0x1a4d22){const _0x2eaf56=_0x3d5482;return this[_0x2eaf56(0x14d)](),this[_0x2eaf56(0xee)][_0x2eaf56(0x1ff)](Y,this[_0x2eaf56(0x11e)],this[_0x2eaf56(0x1cf)],this['_awaitingChangeset'],[],this['_handler'],_0x1a4d22);}[_0x3d5482(0x1a5)](_0x191375,_0x4b89a0){const _0x1e309b=_0x3d5482;var _0x13bfa4;_0x191375===((_0x13bfa4=this[_0x1e309b(0x178)])==null?void 0x0:_0x13bfa4['reqId'])&&(this[_0x1e309b(0x211)](),this['_resendTimeout']=_0x4b89a0===0x0?0x3e8:Math['min'](_0x4b89a0*0x2,Ut),this[_0x1e309b(0x202)]+=this[_0x1e309b(0x27e)]);}[_0x3d5482(0x14d)](){const _0x51ac3e=_0x3d5482;var _0x5bd526;(_0x5bd526=this['_sender'])==null||_0x5bd526[_0x51ac3e(0x228)](),this[_0x51ac3e(0x27e)]=0x0,this[_0x51ac3e(0x202)]=0x0;}};q=Vt=L([I(0x4,_0x528933(_0x2f9ec4)),I(0x5,_0x528933(_0x2f0200)),I(0x6,_0x2169d2),I(0x7,_0x2fc9db),I(0x8,_0x3a3a3e),I(0x9,_0x32e478),I(0xa,_0x5e5f16(B))],q);let J=Ht=class extends W{constructor(_0x29d8fb,_0x748d2d,_0x8a24e0,_0x8b424b,_0x5e1764,_0x52ee23,_0x46db16,_0x4fee03,_0x413307,_0x3abd16,_0x2f1b57,_0x2af7a0,_0x194c50){const _0xa1cd2e=_0x3d5482;super(_0x29d8fb,_0x748d2d,_0x8a24e0,_0x8b424b,_0x5e1764,_0x413307,_0x2af7a0,_0x4fee03,_0x194c50),this[_0xa1cd2e(0xee)]=_0x46db16,this[_0xa1cd2e(0x1b2)]=_0x3abd16,this[_0xa1cd2e(0x14f)]=_0x2f1b57,this['localCacheService']=_0x194c50,N(this,_0xa1cd2e(0xdb),U[_0xa1cd2e(0xb6)]),N(this,_0xa1cd2e(0x27e),0x0),N(this,_0xa1cd2e(0x202),0x0),N(this,_0xa1cd2e(0x273),void 0x0),N(this,_0xa1cd2e(0x11b),void 0x0),_0x52ee23&&(this[_0xa1cd2e(0x273)]=_0x52ee23,this[_0xa1cd2e(0x11b)]=this[_0xa1cd2e(0x273)][_0xa1cd2e(0x20b)](({reqId:_0x441d96,timeout:_0x2cd652})=>{this['_resendWithTimeout'](_0x441d96,_0x2cd652);}));}[_0x3d5482(0xc3)](_0x4abe96){const _0x3923e5=_0x3d5482;return this[_0x3923e5(0x1f9)][_0x3923e5(0x2e8)](_0x4abe96),this;}[_0x3d5482(0x137)](_0x1a7146){const _0x5dae12=_0x3d5482;if(this[_0x5dae12(0x16a)](_0x1a7146))return this[_0x5dae12(0x14d)](),this[_0x5dae12(0xee)][_0x5dae12(0x1ff)](Z,this[_0x5dae12(0x11e)],this[_0x5dae12(0x1cf)],this[_0x5dae12(0x178)],this[_0x5dae12(0x1f9)],null,[_0x1a7146],this[_0x5dae12(0x2ec)]);try{let _0x3227fd=this[_0x5dae12(0x14f)][_0x5dae12(0x157)]([_0x1a7146],[this[_0x5dae12(0x178)]],!0x1);if(_0x250ae2(_0x3227fd)){let {c1Prime:_0x163064,c2Prime:_0x48d355}=_0x3227fd,_0x359ad1=this['_transformService']['transformMutationsWithChangeset'](_0x163064[0x0],this[_0x5dae12(0x1f9)]);if(_0x2ae31c(_0x359ad1)){let {c1Prime:_0x43229b,m2Prime:_0x53c8ac}=_0x359ad1;return this[_0x5dae12(0x262)](_0x43229b),_0x48d355[0x0][_0x5dae12(0x27c)]=this[_0x5dae12(0x248)](),this[_0x5dae12(0x14d)](),this[_0x5dae12(0xee)][_0x5dae12(0x1ff)](Ht,this['unitID'],this[_0x5dae12(0x1cf)],_0x48d355[0x0],_0x53c8ac,this[_0x5dae12(0x2ec)],void 0x0);}throw _0x359ad1['error'];}throw _0x3227fd[_0x5dae12(0x167)];}catch(_0x2c4b04){return this[_0x5dae12(0x1b2)]['error'](_0x2c4b04),this[_0x5dae12(0x2b9)](!0x1);}}[_0x3d5482(0x292)](_0x42bd80){const _0x157531=_0x3d5482;if(this['_clearScheduledTask'](),this['_checkMissing'](_0x42bd80))return this[_0x157531(0xee)][_0x157531(0x1ff)](Z,this['unitID'],this[_0x157531(0x1cf)],null,this[_0x157531(0x1f9)],this[_0x157531(0x178)],[],this[_0x157531(0x2ec)]);this[_0x157531(0x11c)]();let _0x404377=this[_0x157531(0xee)][_0x157531(0x1ff)](K,this[_0x157531(0x11e)],this[_0x157531(0x1cf)],this['_pendingMutations'],this[_0x157531(0x2ec)]);return _0x404377[_0x157531(0x219)](),_0x404377[_0x157531(0xf9)](),_0x404377;}['onRemoteRej'](_0x5557a5){const _0x4a2e56=_0x3d5482;return this[_0x4a2e56(0x2b9)](!!(_0x5557a5!=null&&_0x5557a5[_0x4a2e56(0x1f6)]));}[_0x3d5482(0x139)](_0x2e8f39){const _0x5b6a7d=_0x3d5482;return this['_maxTotalRetryTimeout']>Wt?this[_0x5b6a7d(0x1ed)]():(this[_0x5b6a7d(0x273)]=zt(this[_0x5b6a7d(0x27e)],{'timeout':this[_0x5b6a7d(0x27e)],'reqId':_0x2e8f39[_0x5b6a7d(0x2d4)]}),this['_sender']=this['_resendTimer'][_0x5b6a7d(0x20b)](({reqId:_0x567592,timeout:_0x2a89da})=>{const _0x53ff21=_0x5b6a7d;this[_0x53ff21(0x1a5)](_0x567592,_0x2a89da);}),this);}[_0x3d5482(0x1ed)](){const _0x2c0235=_0x3d5482;return this[_0x2c0235(0x14d)](),this['_injector'][_0x2c0235(0x1ff)](X,this[_0x2c0235(0x11e)],this[_0x2c0235(0x1cf)],this[_0x2c0235(0x178)],this[_0x2c0235(0x1f9)],this[_0x2c0235(0x2ec)]);}['toggleOnline'](){return this;}['resend'](){const _0x54e9a8=_0x3d5482;this[_0x54e9a8(0x2ec)][_0x54e9a8(0x26e)](this['_awaitingChangeset']);}['_onConflict'](_0x45856f){const _0x544be9=_0x3d5482;return this['_clearScheduledTask'](),this[_0x544be9(0xee)]['createInstance'](Y,this[_0x544be9(0x11e)],this[_0x544be9(0x1cf)],null,this[_0x544be9(0x1f9)],this[_0x544be9(0x2ec)],_0x45856f);}[_0x3d5482(0x1a5)](_0x37b91b,_0x2490dd){const _0x2b4099=_0x3d5482;var _0x5e51fc;_0x37b91b===((_0x5e51fc=this[_0x2b4099(0x178)])==null?void 0x0:_0x5e51fc['reqId'])&&(this[_0x2b4099(0x211)](),this[_0x2b4099(0x27e)]=_0x2490dd===0x0?0x3e8:Math[_0x2b4099(0x2eb)](_0x2490dd*0x2,Ut),this[_0x2b4099(0x202)]+=this['_resendTimeout']);}[_0x3d5482(0x14d)](){const _0x4af9d0=_0x3d5482;var _0x4dd641;(_0x4dd641=this['_sender'])==null||_0x4dd641[_0x4af9d0(0x228)](),this['_resendTimeout']=0x0,this[_0x4af9d0(0x202)]=0x0;}};J=Ht=L([I(0x6,_0x528933(_0x2f9ec4)),I(0x7,_0x528933(_0x2f0200)),I(0x8,_0x2169d2),I(0x9,_0x2fc9db),I(0xa,_0x3a3a3e),I(0xb,_0x32e478),I(0xc,_0x5e5f16(B))],J);let Y=class extends W{constructor(_0x256259,_0x1896c1,_0x34ce99,_0x3f7d3b,_0x390e1d,_0x1859a0=!0x1,_0x4c360b,_0x4e0a58,_0x1e939f,_0x4b2161,_0x4f8579,_0x493a23,_0x49ec72){const _0x599a8f=_0x3d5482;super(_0x256259,_0x1896c1,_0x34ce99,_0x3f7d3b,_0x390e1d,_0x4e0a58,_0x1e939f,_0x4b2161,_0x49ec72),this['_isPermissionRej']=_0x1859a0,this[_0x599a8f(0x153)]=_0x4c360b,this[_0x599a8f(0xfc)]=_0x4f8579,this[_0x599a8f(0x311)]=_0x493a23,this[_0x599a8f(0x130)]=_0x49ec72,N(this,_0x599a8f(0xdb),U['CONFLICT']),this[_0x599a8f(0xc2)](),this['_clearLocalCache'](),this[_0x599a8f(0x29a)]();}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x3d5482(0x292)](){return this;}[_0x3d5482(0xc9)](){return this;}['onRemoteRetry'](){return this;}[_0x3d5482(0x1ed)](){return this;}[_0x3d5482(0x1df)](){return this;}[_0x3d5482(0x211)](){const _0x4d4963=_0x3d5482;throw Error(_0x4d4963(0x220));}[_0x3d5482(0x2e9)](){const _0x1a2fc2=_0x3d5482;var _0x4db456;(_0x4db456=this[_0x1a2fc2(0xd0)])==null||_0x4db456[_0x1a2fc2(0x1ee)](this[_0x1a2fc2(0x11e)],this['type'],null,[]);}['_showConflictNotification'](){const _0x3dd681=_0x3d5482;this[_0x3dd681(0x213)]?this[_0x3dd681(0x311)][_0x3dd681(0x20f)]({'id':P[_0x3dd681(0xaf)]}):this[_0x3dd681(0x311)]['emitEvent']({'id':P[_0x3dd681(0x20c)]});}[_0x3d5482(0x29a)](){const _0x2c3ba9=_0x3d5482;this[_0x2c3ba9(0x153)][_0x2c3ba9(0x102)](new _0x627a18(this[_0x2c3ba9(0x11e)])['id'],!0x1);}};Y=L([I(0x6,_0x528933(_0x10ad10)),I(0x7,_0x2169d2),I(0x8,_0x32e478),I(0x9,_0x528933(_0x2f0200)),I(0xa,_0x528933(_0x3d6ea1)),I(0xb,_0x528933(F)),I(0xc,_0x5e5f16(B))],Y);let X=class extends W{constructor(_0x112f97,_0x78e739,_0x3d681c,_0x363c84,_0x960e2c,_0x55a579,_0x5e06,_0x554fa5,_0x49d124,_0x5b08a4){const _0x4a8600=_0x3d5482;super(_0x112f97,_0x78e739,_0x3d681c,_0x363c84,_0x960e2c,_0x554fa5,_0x49d124,_0x5e06,_0x5b08a4),this[_0x4a8600(0xee)]=_0x55a579,N(this,_0x4a8600(0xdb),U[_0x4a8600(0x275)]);}[_0x3d5482(0xc3)](_0x8eb260){const _0x5f35d5=_0x3d5482;return this[_0x5f35d5(0x1f9)][_0x5f35d5(0x2e8)](_0x8eb260),this[_0x5f35d5(0xf9)](),this;}[_0x3d5482(0x137)](_0x515891){const _0x1a2f0d=_0x3d5482;throw Error(_0x1a2f0d(0xcf));}[_0x3d5482(0x292)](){throw Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x3d5482(0xc9)](){const _0x2f3bdd=_0x3d5482;throw Error(_0x2f3bdd(0x100));}[_0x3d5482(0x139)](){return this;}['toggleOffline'](){return this;}[_0x3d5482(0x1df)](){const _0x419151=_0x3d5482;let {_injector:_0x3c0ef8,_pendingMutations:_0x548859,_awaitingChangeset:_0x5bb6f,unitID:_0x34f508,_handler:_0x3f5b8f,type:_0x53c9a6}=this,_0x38f6dd=Gt(_0x3c0ef8,_0x34f508,_0x53c9a6,_0x5bb6f,_0x548859,_0x3f5b8f);return _0x38f6dd instanceof K?_0x38f6dd[_0x419151(0x219)]():(_0x38f6dd instanceof J||_0x38f6dd instanceof q)&&_0x38f6dd[_0x419151(0x211)](),_0x38f6dd;}['resend'](){const _0xf03de7=_0x3d5482;throw Error(_0xf03de7(0x173));}};X=L([I(0x5,_0x528933(_0x2f9ec4)),I(0x6,_0x528933(_0x2f0200)),I(0x7,_0x2169d2),I(0x8,_0x32e478),I(0x9,_0x5e5f16(B))],X);let Z=class extends W{constructor(_0x2e28db,_0x4e53c8,_0x94c132,_0x26998d,_0x48390c,_0x39d693,_0x12619a,_0x259c30,_0x29ab6d,_0x81e103,_0x541137,_0x5c1b9d,_0x3e61b5,_0x1b6629){const _0x48cada=_0x3d5482;super(_0x2e28db,_0x4e53c8,_0x94c132,_0x26998d,_0x12619a,_0x541137,_0x5c1b9d,_0x29ab6d,_0x1b6629),this['_acknowledgedAwaitingChangeset']=_0x48390c,this[_0x48cada(0x15a)]=_0x39d693,this['_injector']=_0x259c30,this[_0x48cada(0x1b2)]=_0x81e103,this[_0x48cada(0x14f)]=_0x3e61b5,this[_0x48cada(0x130)]=_0x1b6629,N(this,_0x48cada(0xdb),U[_0x48cada(0x205)]);}[_0x3d5482(0x1ad)](_0x2c0060){const _0x32d66d=_0x3d5482;try{let _0x52fd4f=[..._0x2c0060,...this[_0x32d66d(0x15a)]],_0x10998f=[this['_awaitingChangeset']||this[_0x32d66d(0x112)]]['filter'](_0x5431f4=>!!_0x5431f4),_0xa61711,_0x141e7f;if(_0x10998f[_0x32d66d(0x2cd)]){let _0x58d2a9=this[_0x32d66d(0x14f)]['transformChangesets'](_0x52fd4f,_0x10998f,!0x1);if(!_0x250ae2(_0x58d2a9))throw _0x58d2a9[_0x32d66d(0x167)];_0xa61711=_0x58d2a9['c1Prime'],_0x141e7f=_0x58d2a9['c2Prime'];}else _0xa61711=_0x52fd4f,_0x141e7f=[];let _0x265565=this[_0x32d66d(0x1f9)];_0xa61711['forEach'](_0x533a5e=>{const _0x517d04=_0x32d66d;let _0xed13a3;if(_0x265565[_0x517d04(0x2cd)]){let _0x388bb8=this[_0x517d04(0x14f)]['transformMutationsWithChangeset'](_0x533a5e,_0x265565);if(!_0x2ae31c(_0x388bb8))throw _0x388bb8[_0x517d04(0x167)];_0xed13a3=_0x388bb8[_0x517d04(0x2d5)],_0x265565=_0x388bb8['m2Prime'];}else _0xed13a3=_0x533a5e;this[_0x517d04(0x262)](_0xed13a3);}),this[_0x32d66d(0x112)]&&this[_0x32d66d(0x11c)](),this[_0x32d66d(0x178)]&&_0x141e7f[_0x32d66d(0x2cd)]&&(_0x141e7f[0x0]['baseRev']=this[_0x32d66d(0x248)]());let _0x2ed583;if(this[_0x32d66d(0x178)]&&_0x265565[_0x32d66d(0x2cd)]!==0x0)_0x2ed583=this['_injector'][_0x32d66d(0x1ff)](J,this[_0x32d66d(0x11e)],this[_0x32d66d(0x1cf)],_0x141e7f[0x0],_0x265565,this[_0x32d66d(0x2ec)],void 0x0);else{if(this[_0x32d66d(0x178)]&&_0x265565[_0x32d66d(0x2cd)]===0x0)_0x141e7f[0x0][_0x32d66d(0x27c)]=this['_getCurrentRevision'](),_0x2ed583=this[_0x32d66d(0xee)][_0x32d66d(0x1ff)](q,this[_0x32d66d(0x11e)],this[_0x32d66d(0x1cf)],_0x141e7f[0x0],this[_0x32d66d(0x2ec)]);else{if(_0x265565[_0x32d66d(0x2cd)]!==0x0){let _0x32ed22=this[_0x32d66d(0xee)][_0x32d66d(0x1ff)](K,this['unitID'],this[_0x32d66d(0x1cf)],_0x265565,this[_0x32d66d(0x2ec)]);_0x32ed22[_0x32d66d(0x219)](),_0x2ed583=_0x32ed22;}else _0x2ed583=this['_injector']['createInstance'](G,this[_0x32d66d(0x11e)],this[_0x32d66d(0x1cf)],this['_handler']);}}return _0x2ed583[_0x32d66d(0xf9)](),_0x2ed583;}catch(_0x481062){return this[_0x32d66d(0x1b2)][_0x32d66d(0x167)](_0x32d66d(0xbf),'failed\x20to\x20apply\x20missed\x20changesets!',_0x481062),this['_injector'][_0x32d66d(0x1ff)](Y,this['unitID'],this[_0x32d66d(0x1cf)],this[_0x32d66d(0x178)],this[_0x32d66d(0x1f9)],this[_0x32d66d(0x2ec)],!0x1);}}[_0x3d5482(0x211)](){const _0x5ed403=_0x3d5482;throw Error(_0x5ed403(0x2c9));}[_0x3d5482(0xc3)](_0x42d4ac){const _0x12ad09=_0x3d5482;return this['_pendingMutations'][_0x12ad09(0x2e8)](_0x42d4ac),this;}[_0x3d5482(0x137)](_0x43469){const _0x5e19e9=_0x3d5482;return this[_0x5e19e9(0x15a)][_0x5e19e9(0x2e8)](_0x43469),this;}['onRemoteAck'](_0x2ecd7b){const _0x44dc35=_0x3d5482;if(this[_0x44dc35(0x178)])return this[_0x44dc35(0x112)]=this['_awaitingChangeset'],this['_awaitingChangeset']=null,this;throw Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x3d5482(0xc9)](_0x126e2b){const _0x348832=_0x3d5482;return this[_0x348832(0x2b9)](!!(_0x126e2b!=null&&_0x126e2b[_0x348832(0x1f6)]));}[_0x3d5482(0x139)](){return this;}[_0x3d5482(0x1ed)](){const _0xba06f5=_0x3d5482;return this[_0xba06f5(0xee)][_0xba06f5(0x1ff)](X,this[_0xba06f5(0x11e)],this[_0xba06f5(0x1cf)],this['_awaitingChangeset'],this[_0xba06f5(0x1f9)],this[_0xba06f5(0x2ec)]);}[_0x3d5482(0x1df)](){return this;}[_0x3d5482(0x2b9)](_0x2d7006){const _0xa515d7=_0x3d5482;return this['_injector'][_0xa515d7(0x1ff)](Y,this[_0xa515d7(0x11e)],this[_0xa515d7(0x1cf)],this[_0xa515d7(0x178)],this[_0xa515d7(0x1f9)],this[_0xa515d7(0x2ec)],_0x2d7006);}};Z=L([I(0x7,_0x528933(_0x2f9ec4)),I(0x8,_0x528933(_0x2f0200)),I(0x9,_0x2fc9db),I(0xa,_0x2169d2),I(0xb,_0x32e478),I(0xc,_0x3a3a3e),I(0xd,_0x5e5f16(B))],Z);function Gt(_0x255cc2,_0x3c165b,_0x118312,_0x255d4,_0x39433d,_0xe3ef23){const _0x2468ef=_0x3d5482;return _0x255d4&&_0x39433d['length']?_0x255cc2[_0x2468ef(0x1ff)](J,_0x3c165b,_0x118312,_0x255d4,_0x39433d,_0xe3ef23,void 0x0):_0x255d4?_0x255cc2['createInstance'](q,_0x3c165b,_0x118312,_0x255d4,_0xe3ef23):_0x39433d['length']?_0x255cc2[_0x2468ef(0x1ff)](K,_0x3c165b,_0x118312,_0x39433d,_0xe3ef23):_0x255cc2[_0x2468ef(0x1ff)](G,_0x3c165b,_0x118312,_0xe3ef23);}let Kt=class extends _0x114242{get[_0x3d5482(0xb9)](){const _0x4bd4a9=_0x3d5482;return this[_0x4bd4a9(0x2f9)];}constructor(_0x411049,_0x5f515c,_0x21055d,_0x5e8f70,_0xb6f4b2,_0x95bcf6,_0x3eeb96,_0x3ba7a5,_0x5b4e59,_0x308566,_0x4f5c9f,_0x39c416,_0x27a53f,_0x4c0761){const _0x4a6c6d=_0x3d5482;super(),this[_0x4a6c6d(0x11e)]=_0x411049,this['session']=_0x5f515c,this[_0x4a6c6d(0x194)]=_0x21055d,this[_0x4a6c6d(0xee)]=_0x5e8f70,this[_0x4a6c6d(0x22e)]=_0xb6f4b2,this[_0x4a6c6d(0xfc)]=_0x95bcf6,this[_0x4a6c6d(0x1b6)]=_0x3eeb96,this[_0x4a6c6d(0x282)]=_0x3ba7a5,this[_0x4a6c6d(0x2d0)]=_0x5b4e59,this[_0x4a6c6d(0x1b2)]=_0x308566,this[_0x4a6c6d(0x1a6)]=_0x4f5c9f,this[_0x4a6c6d(0x153)]=_0x39c416,this[_0x4a6c6d(0x29f)]=_0x27a53f,this[_0x4a6c6d(0xd0)]=_0x4c0761,N(this,_0x4a6c6d(0x308),new _0x3a2e8a(null)),N(this,'state$',this[_0x4a6c6d(0x308)][_0x4a6c6d(0xfe)]()),N(this,_0x4a6c6d(0x2f9),void 0x0),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x4a6c6d(0x200),0x0),N(this,'status$',this[_0x4a6c6d(0x2d6)][_0x4a6c6d(0xf5)](_0x3378fe(_0x5ab9e9=>_0x5ab9e9?_0x5ab9e9[_0x4a6c6d(0xdb)]:U[_0x4a6c6d(0x275)]),_0x3424e8(0x1))),N(this,_0x4a6c6d(0x250),!0x1),N(this,_0x4a6c6d(0x2dd),[]);}async[_0x3d5482(0xda)](){const _0x2c997e=_0x3d5482;if(this[_0x2c997e(0xb9)])throw Error(_0x2c997e(0x138));await this[_0x2c997e(0x1d7)]();}[_0x3d5482(0x197)](){const _0x555707=_0x3d5482;return this[_0x555707(0x183)]=!0x0,_0x25b528(()=>{const _0x3ba9cb=_0x555707;this[_0x3ba9cb(0x183)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x3d5482(0xe2)](_0x1d4cd3){this['_onLocalMutation'](_0x1d4cd3);}['_updateState'](_0x3aca73){const _0x5c4f31=_0x3d5482;this['_state']=_0x3aca73,this[_0x5c4f31(0x308)][_0x5c4f31(0x2a2)](_0x3aca73);}async[_0x3d5482(0x1d7)](){const _0xcf93a0=_0x3d5482;if(this[_0xcf93a0(0x22f)](await this[_0xcf93a0(0x289)]()),this[_0xcf93a0(0x29f)]){var _0x449300;(_0x449300=this[_0xcf93a0(0x29f)])==null||_0x449300[_0xcf93a0(0xcd)](this[_0xcf93a0(0x11e)]),this[_0xcf93a0(0x25a)](this[_0xcf93a0(0x29f)][_0xcf93a0(0xf7)](this[_0xcf93a0(0x11e)])[_0xcf93a0(0x20b)](_0x597a36=>{const _0x3ed8da=_0xcf93a0;this[_0x3ed8da(0x1b2)][_0x3ed8da(0x254)]('[CollaborationEntity]',_0x3ed8da(0x125),_0x597a36),_0x597a36===Nt[_0x3ed8da(0x313)]?(this[_0x3ed8da(0x282)][_0x3ed8da(0x20f)]({'id':P['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x3ed8da(0x102)](new _0x627a18(this[_0x3ed8da(0x11e)])['id'],!0x1),this['_permissionService'][_0x3ed8da(0x2b5)](!0x1)):(this[_0x3ed8da(0x153)][_0x3ed8da(0x102)](new _0x627a18(this['unitID'])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));}));}let _0x15586c=!0x1;return this[_0xcf93a0(0x25a)](this[_0xcf93a0(0x22c)][_0xcf93a0(0x190)][_0xcf93a0(0x20b)](_0x119cf6=>{const _0x1b5bcf=_0xcf93a0;_0x119cf6===z[_0x1b5bcf(0x1e3)]?this[_0x1b5bcf(0x17e)](_0x15586c):_0x119cf6===z['OFFLINE']&&(_0x15586c=!0x0,this[_0x1b5bcf(0x29c)]());})),this[_0xcf93a0(0x25a)](this[_0xcf93a0(0x22c)][_0xcf93a0(0x128)][_0xcf93a0(0x20b)](_0x11fe9c=>{const _0x50a9df=_0xcf93a0;try{switch(_0x11fe9c['eventID']){case _0x50665f[_0x50a9df(0x267)]:this['_onRemoteChangeset'](_0x502be6(_0x11fe9c[_0x50a9df(0x210)]));break;case _0x50665f[_0x50a9df(0x245)]:this[_0x50a9df(0x140)](_0x11fe9c[_0x50a9df(0x210)]);break;case _0x50665f[_0x50a9df(0x16b)]:this[_0x50a9df(0x2d7)]();break;case _0x50665f[_0x50a9df(0x12d)]:this['_onRemoteRetry'](_0x11fe9c[_0x50a9df(0x210)]);break;case _0x50665f[_0x50a9df(0x2b7)]:this[_0x50a9df(0x109)](_0x11fe9c[_0x50a9df(0x210)][_0x50a9df(0x1a2)][_0x50a9df(0x1ce)](_0x4c9f55=>_0x502be6(_0x4c9f55)));break;case _0x50665f['PERMISSION_REJ']:this[_0x50a9df(0x2d7)]({'isPermissionRej':!0x0});break;case _0x50665f[_0x50a9df(0x159)]:break;}}catch(_0x47877e){throw console[_0x50a9df(0x167)]('Error\x20on\x20receiving\x20event',_0x47877e),_0x47877e;}})),this[_0xcf93a0(0x2f9)];}[_0x3d5482(0x26a)](){const _0x2f088c=_0x3d5482;this[_0x2f088c(0x250)]=!0x1;}[_0x3d5482(0x2c3)](){const _0x4380e6=_0x3d5482;if(this[_0x4380e6(0x250)])throw Error(_0x4380e6(0x249));this[_0x4380e6(0x250)]=!0x0;}[_0x3d5482(0x229)](_0x9074a4){const _0x1b1bc1=_0x3d5482;this[_0x1b1bc1(0x2c3)](),this[_0x1b1bc1(0x22f)](this[_0x1b1bc1(0x2f9)][_0x1b1bc1(0xc3)](_0x9074a4)),this[_0x1b1bc1(0x26a)]();}[_0x3d5482(0x236)](_0xc557b3){const _0x2e2410=_0x3d5482;if(!(_0xc557b3[_0x2e2410(0x242)]<=this[_0x2e2410(0x1b6)][_0x2e2410(0x2fd)](this['unitID']))){if(this[_0x2e2410(0x183)]){this[_0x2e2410(0x2dd)][_0x2e2410(0x2e8)](_0xc557b3);return;}this[_0x2e2410(0x27a)](_0xc557b3);}}[_0x3d5482(0x175)](){const _0x10c2bc=_0x3d5482;this[_0x10c2bc(0x2dd)][_0x10c2bc(0x1cc)](_0x1deafb=>this[_0x10c2bc(0x27a)](_0x1deafb)),this[_0x10c2bc(0x2dd)]=[];}['_applyRemoteChangeset'](_0x1bb120){const _0x471548=_0x3d5482;let _0x31d291=this[_0x471548(0x22e)]['interceptor'][_0x471548(0x136)](this[_0x471548(0x22e)][_0x471548(0xba)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1bb120[_0x471548(0xad)],null)||_0x1bb120[_0x471548(0xad)],_0x7aeaf2={..._0x1bb120,'mutations':_0x31d291};this['_lockTransition'](),this['_updateState'](this[_0x471548(0x2f9)][_0x471548(0x137)](_0x7aeaf2)),this[_0x471548(0x26a)]();}[_0x3d5482(0x140)](_0x38d885){const _0x460597=_0x3d5482;this[_0x460597(0x2c3)](),this[_0x460597(0x22f)](this[_0x460597(0x2f9)][_0x460597(0x292)](_0x38d885)),this[_0x460597(0x26a)]();}['_onRemoteRejected'](_0x1c362e){const _0x16a1ff=_0x3d5482;this[_0x16a1ff(0x2c3)](),this[_0x16a1ff(0x22f)](this[_0x16a1ff(0x2f9)][_0x16a1ff(0xc9)](_0x1c362e)),this[_0x16a1ff(0x26a)]();}[_0x3d5482(0xdc)](_0x3fc909){const _0x1827b2=_0x3d5482;this['_lockTransition'](),this[_0x1827b2(0x22f)](this['_state']['onRemoteRetry'](_0x3fc909)),this['_unlockTransition']();}[_0x3d5482(0x109)](_0x3d20c2){const _0x2432b5=_0x3d5482;if(!(this[_0x2432b5(0x2f9)]instanceof Z))throw TypeError(_0x2432b5(0x146));let _0x48f4da=_0x3d20c2['map'](_0x4e0701=>{const _0x560e82=_0x2432b5;let _0x298337=this['_compressMutationService'][_0x560e82(0xba)][_0x560e82(0x136)](this['_compressMutationService'][_0x560e82(0xba)][_0x560e82(0x17f)]()[_0x560e82(0x113)])(_0x4e0701[_0x560e82(0xad)],null)||_0x4e0701[_0x560e82(0xad)];return{..._0x4e0701,'mutations':_0x298337};});this['_lockTransition'](),this['_updateState'](this[_0x2432b5(0x2f9)][_0x2432b5(0x1ad)](_0x48f4da)),this['_unlockTransition']();}[_0x3d5482(0x29c)](){const _0x32800d=_0x3d5482;this[_0x32800d(0x2c3)](),this['_updateState'](this[_0x32800d(0x2f9)]['toggleOffline']()),this[_0x32800d(0x26a)]();}[_0x3d5482(0x17e)](_0x2bd622=!0x1){const _0x4cbae1=_0x3d5482;this[_0x4cbae1(0x2c3)](),this[_0x4cbae1(0x22f)](this['_state'][_0x4cbae1(0x1df)]()),this[_0x4cbae1(0x26a)]();let _0x170b4f=this[_0x4cbae1(0x2f9)];_0x2bd622&&_0x170b4f instanceof G&&(this[_0x4cbae1(0x2c3)](),this[_0x4cbae1(0x22f)](_0x170b4f['fetchMiss']()),this[_0x4cbae1(0x26a)]());}async[_0x3d5482(0x289)](){return new Promise(_0x3bae0d=>{const _0x5b015f=_0x157c;this['session'][_0x5b015f(0x190)][_0x5b015f(0xf5)](_0xa3e082(0x1))[_0x5b015f(0x20b)](async _0x33d69c=>{const _0x182f44=_0x5b015f;_0x3bae0d(await this[_0x182f44(0x1ae)](_0x33d69c===z['ONLINE']));});});}['_createHandler'](){let _0x4f15c7=this['unitID'];return{'onStateChange':(_0x2997fb,_0x3c23d7)=>{const _0x4cb1b1=_0x157c;if(_0x2997fb!==this[_0x4cb1b1(0x2f9)])throw Error(_0x4cb1b1(0x257)+_0x2997fb[_0x4cb1b1(0xdb)]+_0x4cb1b1(0x117)+_0x3c23d7[_0x4cb1b1(0xdb)]+_0x4cb1b1(0x238)+this[_0x4cb1b1(0x2f9)][_0x4cb1b1(0xdb)]);this[_0x4cb1b1(0x22f)](_0x3c23d7);},'onSendChangeset':_0x5b4332=>{const _0x466dbf=_0x157c;_0x5b4332[_0x466dbf(0xb4)]||(_0x5b4332[_0x466dbf(0xb4)]=this['_changesetSessionId'],_0x5b4332['reqId']=++this[_0x466dbf(0x200)]);let _0x16b6d1={'eventID':_0x50665f[_0x466dbf(0x276)],'data':{'unitID':_0x5b4332[_0x466dbf(0x11e)],'unitType':this[_0x466dbf(0x194)],'changeset':_0x5b4332,'memberID':this['session'][_0x466dbf(0x214)]()}};this['session'][_0x466dbf(0x280)](_0x16b6d1,this['unitID']);},'onMissingChangesets':({from:_0x33d188,to:_0x3b4a33})=>{const _0x40a27c=_0x157c;this[_0x40a27c(0x1b2)][_0x40a27c(0x254)](_0x40a27c(0x2c2),'fetching\x20missing\x20changesets\x20from\x20'+_0x33d188+'\x20to\x20'+_0x3b4a33);let _0x2011b0={'eventID':_0x50665f[_0x40a27c(0x2af)],'data':{'unitID':_0x4f15c7,'unitType':this[_0x40a27c(0x194)],'from':_0x33d188,'to':_0x3b4a33}};this[_0x40a27c(0x22c)][_0x40a27c(0x280)](_0x2011b0,this[_0x40a27c(0x11e)]);}};}async[_0x3d5482(0x1ae)](_0x123e2f){const _0x1bff06=_0x3d5482;var _0x2a0a5b,_0x5c3eb4,_0x153d46;let _0x2cce43=await((_0x2a0a5b=this['_localCacheService'])==null?void 0x0:_0x2a0a5b[_0x1bff06(0x10c)](this[_0x1bff06(0x11e)])),_0x44a036=(_0x5c3eb4=_0x2cce43==null?void 0x0:_0x2cce43[_0x1bff06(0xad)])==null?[]:_0x5c3eb4,_0x40bb69=(_0x153d46=_0x2cce43==null?void 0x0:_0x2cce43[_0x1bff06(0x2ea)])==null?null:_0x153d46,_0x312cb3=!!(_0x40bb69!=null&&_0x40bb69[_0x1bff06(0xb4)])&&!!(_0x40bb69!=null&&_0x40bb69['reqId']);this[_0x1bff06(0x163)]=_0x312cb3?_0x40bb69[_0x1bff06(0xb4)]:_0x1684b1(),this[_0x1bff06(0x200)]=_0x312cb3?_0x40bb69[_0x1bff06(0x2d4)]:0x0;let _0x5764a3=this[_0x1bff06(0x11e)];try{this[_0x1bff06(0x132)](_0x40bb69,_0x44a036);}catch(_0x462884){this[_0x1bff06(0x1b2)][_0x1bff06(0x167)](_0x462884);}let _0x52a3f3=this[_0x1bff06(0xa7)]();if(_0x123e2f){let _0x431313=Gt(this[_0x1bff06(0xee)],_0x5764a3,this[_0x1bff06(0x194)],_0x40bb69,_0x44a036,_0x52a3f3);return _0x431313 instanceof K?_0x431313[_0x1bff06(0x219)]():(_0x431313 instanceof J||_0x431313 instanceof q)&&_0x431313[_0x1bff06(0x211)](),_0x431313;}return this[_0x1bff06(0xee)][_0x1bff06(0x1ff)](X,_0x5764a3,this[_0x1bff06(0x194)],_0x40bb69,_0x44a036,_0x52a3f3);}['_replayCachedMutations'](_0x2e98ef,_0x31f8d4){const _0x123c9a=_0x3d5482;var _0xad5fbf,_0x22ccb8;let _0x25c622=this[_0x123c9a(0x22e)][_0x123c9a(0xba)][_0x123c9a(0x136)](this[_0x123c9a(0x22e)][_0x123c9a(0xba)]['getInterceptPoints']()[_0x123c9a(0x113)]);(_0xad5fbf=_0x25c622((_0x2e98ef==null?void 0x0:_0x2e98ef[_0x123c9a(0xad)])||[],null))==null||_0xad5fbf[_0x123c9a(0x1cc)](_0x5d6b38=>this[_0x123c9a(0x1a6)][_0x123c9a(0x2cf)](_0x5d6b38['id'],_0x5d6b38[_0x123c9a(0x1e6)])),(_0x22ccb8=_0x25c622(_0x31f8d4||[],null))==null||_0x22ccb8[_0x123c9a(0x1cc)](_0x443314=>this[_0x123c9a(0x1a6)]['executeCommand'](_0x443314['id'],_0x443314[_0x123c9a(0x1e6)]));}};Kt=L([I(0x3,_0x528933(_0x2f9ec4)),I(0x4,_0x528933(_0x33b352)),I(0x5,_0x528933(_0x3d6ea1)),I(0x6,_0x528933(_0x2f0200)),I(0x7,_0x528933(F)),I(0x8,_0x5c02d5),I(0x9,_0x2fc9db),I(0xa,_0x2169d2),I(0xb,_0x10ad10),I(0xc,_0x5e5f16(Mt)),I(0xd,_0x5e5f16(B))],Kt);let qt=class extends Kt{constructor(_0x1c3611,_0x10c928,_0x9fb711,_0xbf62d,_0x537b60,_0x47ccd0,_0x130209,_0x58ea47,_0x273607,_0x19316e,_0x38bb74,_0xa059f8,_0x127e8a,_0x1d1df3){const _0x428d96=_0x3d5482;super(_0x1c3611,_0x9fb711,_0x10c928,_0xbf62d,_0x537b60,_0x47ccd0,_0x130209,_0x58ea47,_0x273607,_0x19316e,_0x38bb74,_0xa059f8,_0x127e8a,_0x1d1df3),this[_0x428d96(0x11e)]=_0x1c3611,this[_0x428d96(0x1cf)]=_0x10c928,N(this,_0x428d96(0xe1),null);}[_0x3d5482(0x108)](_0x5ed7fc){this['_handlerCallback']=_0x5ed7fc;}[_0x3d5482(0x2b4)](){const _0x18044d=_0x3d5482;this[_0x18044d(0xe1)]=null,super[_0x18044d(0x2b4)]();}[_0x3d5482(0xa7)](){const _0x4eb3c2=_0x3d5482;let _0x403282=super[_0x4eb3c2(0xa7)]();return _0x403282['onTransformIME']=_0x230e7c=>{const _0x54f06b=_0x4eb3c2;var _0x1f63e0,_0xdf35c5;return(_0x1f63e0=this[_0x54f06b(0xe1)])==null||(_0xdf35c5=_0x1f63e0[_0x54f06b(0x133)])==null?void 0x0:_0xdf35c5[_0x54f06b(0x124)](_0x1f63e0,_0x230e7c);},_0x403282['onTransformState']=_0x3a9c68=>{const _0x3a0781=_0x4eb3c2;var _0x316860,_0x5c15df;return(_0x316860=this[_0x3a0781(0xe1)])==null||(_0x5c15df=_0x316860[_0x3a0781(0xa9)])==null?void 0x0:_0x5c15df['call'](_0x316860,_0x3a9c68);},_0x403282[_0x4eb3c2(0x16c)]=_0x28cc50=>{const _0x4cd857=_0x4eb3c2;var _0x327c57,_0x51e9b8;return(_0x327c57=this['_handlerCallback'])==null||(_0x51e9b8=_0x327c57['onTransformSelections'])==null?void 0x0:_0x51e9b8[_0x4cd857(0x124)](_0x327c57,_0x28cc50);},_0x403282[_0x4eb3c2(0x1fb)]=_0xbc1c99=>{const _0x399cc1=_0x4eb3c2;var _0x82c8a1,_0x24a86c;return(_0x82c8a1=this[_0x399cc1(0xe1)])==null||(_0x24a86c=_0x82c8a1[_0x399cc1(0x1fb)])==null?void 0x0:_0x24a86c[_0x399cc1(0x124)](_0x82c8a1,_0xbc1c99);},_0x403282[_0x4eb3c2(0x1b8)]=_0x386209=>{const _0x2aeb1b=_0x4eb3c2;var _0x56d56e,_0x47738d,_0x5c1f64;if(!((_0x56d56e=this[_0x2aeb1b(0xe1)])!=null&&_0x56d56e[_0x2aeb1b(0x1b8)]))throw Error(_0x2aeb1b(0x2a8));return(_0x47738d=this[_0x2aeb1b(0xe1)])==null||(_0x5c1f64=_0x47738d[_0x2aeb1b(0x1b8)])==null?void 0x0:_0x5c1f64[_0x2aeb1b(0x124)](_0x47738d,_0x386209);},_0x403282[_0x4eb3c2(0x30d)]=_0x51a199=>{const _0x19b897=_0x4eb3c2;var _0x21728e,_0x220e7f,_0x537783;if(!((_0x21728e=this[_0x19b897(0xe1)])!=null&&_0x21728e[_0x19b897(0x30d)]))throw Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x220e7f=this['_handlerCallback'])==null||(_0x537783=_0x220e7f[_0x19b897(0x30d)])==null?void 0x0:_0x537783[_0x19b897(0x124)](_0x220e7f,_0x51a199);},_0x403282;}async[_0x3d5482(0x1d7)](){const _0x22bcd1=_0x3d5482;let _0x49d7e8=await super[_0x22bcd1(0x1d7)]();return this['disposeWithMe'](this[_0x22bcd1(0x1a6)][_0x22bcd1(0x184)]((_0x148635,_0x5ebf0b)=>{const _0x3df3ab=_0x22bcd1;if(_0x148635['type']!==_0x51a16c[_0x3df3ab(0x1a3)]||_0x5ebf0b!=null&&_0x5ebf0b['fromCollab']||_0x5ebf0b!=null&&_0x5ebf0b['onlyLocal']||_0x148635['id']===_0x2d0c57['id'])return;let _0x2fff4b=_0x148635[_0x3df3ab(0x1e6)];if((_0x2fff4b==null?void 0x0:_0x2fff4b[_0x3df3ab(0x1b1)])!==this[_0x3df3ab(0x11e)])return;let _0x3a28e6=_0x148635,_0x46302f=this[_0x3df3ab(0x22e)]['interceptor'][_0x3df3ab(0x136)](this[_0x3df3ab(0x22e)]['interceptor'][_0x3df3ab(0x17f)]()[_0x3df3ab(0xab)])([_0x3a28e6],this[_0x3df3ab(0x2d0)])||[_0x3a28e6];this[_0x3df3ab(0x229)](_0x46302f[0x0]);})),_0x49d7e8;}};qt=L([I(0x3,_0x528933(_0x2f9ec4)),I(0x4,_0x528933(_0x33b352)),I(0x5,_0x528933(_0x3d6ea1)),I(0x6,_0x528933(_0x2f0200)),I(0x7,_0x528933(F)),I(0x8,_0x5c02d5),I(0x9,_0x2fc9db),I(0xa,_0x2169d2),I(0xb,_0x10ad10),I(0xc,_0x5e5f16(Mt)),I(0xd,_0x5e5f16(B))],qt);let Jt=class extends Kt{constructor(_0x5d0ab3,_0x111f6a,_0x4b1d9e,_0x1245cb,_0x2cd8f0,_0x5df0e9,_0xf249d8,_0x27162e,_0x552f70,_0xcada89,_0x318fe3,_0x3a636e,_0x24ff09,_0x4ae2b9,_0xbeca95){const _0x3fb7fe=_0x3d5482;super(_0x5d0ab3,_0x4b1d9e,_0x111f6a,_0x1245cb,_0x2cd8f0,_0x5df0e9,_0xf249d8,_0x552f70,_0xcada89,_0x318fe3,_0x3a636e,_0x24ff09,_0x4ae2b9,_0xbeca95),this['unitID']=_0x5d0ab3,this[_0x3fb7fe(0x1cf)]=_0x111f6a,this['_sheetTransformSelectionsService']=_0x27162e;}[_0x3d5482(0xa7)](){const _0x1d325b=_0x3d5482;let _0x5354c7=super[_0x1d325b(0xa7)]();return _0x5354c7['onTransformSelections']=_0x5a8339=>this[_0x1d325b(0x1c4)][_0x1d325b(0x2a4)](_0x5a8339),_0x5354c7;}async[_0x3d5482(0x1d7)](){const _0x15770c=_0x3d5482;let _0x3ec3ae=await super[_0x15770c(0x1d7)]();return this[_0x15770c(0x25a)](this[_0x15770c(0x1a6)][_0x15770c(0x184)]((_0x371825,_0x2dfa2b)=>{const _0x375224=_0x15770c;if(_0x371825[_0x375224(0x1cf)]!==_0x51a16c[_0x375224(0x1a3)]||_0x2dfa2b!=null&&_0x2dfa2b['fromCollab']||_0x2dfa2b!=null&&_0x2dfa2b[_0x375224(0x20a)])return;let _0xe614da=_0x371825['params'];if((_0xe614da==null?void 0x0:_0xe614da['unitId'])!==this[_0x375224(0x11e)])return;let _0x36bd01=_0x371825,_0xd9996f=this[_0x375224(0x22e)]['interceptor'][_0x375224(0x136)](this[_0x375224(0x22e)]['interceptor'][_0x375224(0x17f)]()['COMPRESS_MUTATION_SEND'])([_0x36bd01],this[_0x375224(0x2d0)])||[_0x36bd01];this['_onLocalMutation'](_0xd9996f[0x0]);})),_0x3ec3ae;}};Jt=L([I(0x3,_0x528933(_0x2f9ec4)),I(0x4,_0x528933(_0x33b352)),I(0x5,_0x528933(_0x3d6ea1)),I(0x6,_0x528933(_0x2f0200)),I(0x7,_0x528933(V)),I(0x8,_0x528933(F)),I(0x9,_0x5c02d5),I(0xa,_0x2fc9db),I(0xb,_0x2169d2),I(0xc,_0x10ad10),I(0xd,_0x5e5f16(Mt)),I(0xe,_0x5e5f16(B))],Jt);const Yt=_0x12bcfd(_0x3d5482(0x162));function Xt(_0x9c55e8){const _0xc7baf6=_0x3d5482;let _0x581ab4=_0x9c55e8[_0xc7baf6(0x210)],_0x29211a=JSON[_0xc7baf6(0xbc)](_0x581ab4);switch(_0x29211a['cmd']){case _0x1c9905[_0xc7baf6(0x2a6)]:case _0x1c9905[_0xc7baf6(0xb2)]:{let _0x327d0e=_0x29211a[_0xc7baf6(0x17a)];return{..._0x29211a,'data':_0x327d0e,'cmd':_0x29211a[_0xc7baf6(0x218)]};}case _0x1c9905[_0xc7baf6(0x1b0)]:{let _0x331d44=_0x29211a[_0xc7baf6(0x15f)];return{..._0x29211a,'data':_0x331d44,'cmd':_0x29211a['cmd']};}case _0x1c9905[_0xc7baf6(0xc0)]:{let _0x50ba85=_0x29211a[_0xc7baf6(0x187)];switch(_0x50ba85[_0xc7baf6(0x29d)]){case _0x50665f[_0xc7baf6(0x1b3)]:var _0x56bcc6;return{..._0x29211a,'data':{..._0x50ba85,'data':(_0x56bcc6=_0x50ba85['permissionRejEvent'])==null?void 0x0:_0x56bcc6['cs']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f['CHANGESET_ACK']:var _0x329ae0;return{..._0x29211a,'data':{..._0x50ba85,'data':(_0x329ae0=_0x50ba85[_0xc7baf6(0x1bc)])==null?void 0x0:_0x329ae0['cs']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x267)]:var _0x550e58;return{..._0x29211a,'data':{..._0x50ba85,'data':(_0x550e58=_0x50ba85[_0xc7baf6(0x1f4)])==null?void 0x0:_0x550e58['cs']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x16b)]:var _0x46be86;return{..._0x29211a,'data':{..._0x50ba85,'data':(_0x46be86=_0x50ba85['csRejEvent'])==null?void 0x0:_0x46be86['cs']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x12d)]:var _0x27ccc4;return{..._0x29211a,'data':{..._0x50ba85,'data':(_0x27ccc4=_0x50ba85['csShouldRetryEvent'])==null?void 0x0:_0x27ccc4['cs']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0xdd)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x1bd)]},'cmd':_0x29211a['cmd']};case _0x50665f[_0xc7baf6(0x25d)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x2f7)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x287)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x2c5)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f['LIVESHARE_NEW_HOST']:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x1ef)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0xae)]:case _0x50665f[_0xc7baf6(0xb8)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x296)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f['LIVESHARE_TERMINATE']:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85['liveShareNewHost']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x101)]:return{..._0x29211a,'data':_0x50ba85,'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0xce)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x28b)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x284)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85['updatePermissionObjEvent']},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x24b)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0x2a3)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};case _0x50665f[_0xc7baf6(0x159)]:return{..._0x29211a,'data':{..._0x50ba85,'data':_0x50ba85[_0xc7baf6(0xf1)]},'cmd':_0x29211a[_0xc7baf6(0x218)]};default:return _0x29211a;}}default:return _0x29211a;}}function Zt(_0xdba2d8){const _0x5cbb5f=_0x3d5482;switch(_0xdba2d8['cmd']){case _0x1c9905[_0x5cbb5f(0x2a6)]:case _0x1c9905[_0x5cbb5f(0xb2)]:return JSON['stringify']({'cmd':_0xdba2d8[_0x5cbb5f(0x218)],'routeKey':_0xdba2d8[_0x5cbb5f(0xd5)]});case _0x1c9905[_0x5cbb5f(0x2b1)]:{let _0x406f23;switch(_0xdba2d8[_0x5cbb5f(0x210)][_0x5cbb5f(0x29d)]){case _0x50665f[_0x5cbb5f(0xdd)]:_0x406f23={'eventID':_0x50665f['UPDATE_CURSOR'],'updateCursorEvent':_0xdba2d8[_0x5cbb5f(0x210)][_0x5cbb5f(0x210)]};break;case _0x50665f['USERS_LEAVE']:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0x287)],'leaveEvent':_0xdba2d8[_0x5cbb5f(0x210)]['data']};break;case _0x50665f[_0x5cbb5f(0x25d)]:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0x25d)],'joinEvent':_0xdba2d8[_0x5cbb5f(0x210)][_0x5cbb5f(0x210)]};break;case _0x50665f[_0x5cbb5f(0xc1)]:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0xc1)],'liveShareNewHost':_0xdba2d8[_0x5cbb5f(0x210)][_0x5cbb5f(0x210)]};break;case _0x50665f['LIVESHARE_OPERATION']:_0x406f23={'eventID':_0x50665f['LIVESHARE_OPERATION'],'liveShareOperation':_0xdba2d8['data'][_0x5cbb5f(0x210)]};break;case _0x50665f['LIVESHARE_TERMINATE']:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0x23e)],'liveShareTerminate':_0xdba2d8['data'][_0x5cbb5f(0x210)]};break;case _0x50665f['LIVESHARE_REQUEST_HOST']:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0xa8)],'liveShareRequestHost':_0xdba2d8['data'][_0x5cbb5f(0x210)]};break;case _0x50665f[_0x5cbb5f(0xae)]:_0x406f23={'eventID':_0x50665f[_0x5cbb5f(0xae)]};break;default:_0x406f23={'eventID':_0xdba2d8['data'][_0x5cbb5f(0x29d)]};}return JSON[_0x5cbb5f(0x2d1)]({'cmd':_0xdba2d8['cmd'],'routeKey':_0xdba2d8['routeKey'],'collaMsg':_0x406f23});}case _0x1c9905[_0x5cbb5f(0x1b0)]:return JSON['stringify']({'cmd':_0xdba2d8[_0x5cbb5f(0x218)],'routeKey':_0xdba2d8[_0x5cbb5f(0xd5)],'joinReq':_0xdba2d8[_0x5cbb5f(0x210)]});case _0x1c9905['LEAVE']:return JSON[_0x5cbb5f(0x2d1)]({'cmd':_0xdba2d8[_0x5cbb5f(0x218)],'routeKey':_0xdba2d8[_0x5cbb5f(0xd5)],'leaveReq':_0xdba2d8['data']});default:throw Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}const Qt=_0x12bcfd('univer-pro.collaboration-client-socket-service');function $t(_0x548c96,_0x5f310d,_0x46050d){const _0x4b1255=_0x3d5482;return _0x548c96+'/'+_0x5f310d+_0x4b1255(0x24a)+_0x46050d+'/new_changes';}let en=class extends _0x9e7512{constructor(_0x534e92,_0x32506f,_0x157641,_0x5c8529,_0x60000c){const _0x337e9f=_0x3d5482;super(),this[_0x337e9f(0xee)]=_0x534e92,this[_0x337e9f(0x293)]=_0x32506f,this[_0x337e9f(0x1fe)]=_0x157641,this[_0x337e9f(0x1b2)]=_0x5c8529,this[_0x337e9f(0x270)]=_0x60000c;}[_0x3d5482(0x241)](_0x50ef8e){const _0x1416c5=_0x3d5482;let _0x3e5fea=this[_0x1416c5(0xee)]['get'](_0xa6b08c);if(!_0x3e5fea)throw Error(_0x1416c5(0x2c4));let _0x275ffe=_0x3e5fea[_0x1416c5(0x145)](_0x50ef8e);if(!_0x275ffe)throw Error(_0x1416c5(0x16f));let _0x22bb08=new _0x54965b(),_0x263103=new _0x46c32c();_0x22bb08[_0x1416c5(0xd4)](_0x275ffe['close$'][_0x1416c5(0x20b)](_0x35286b=>_0x263103[_0x1416c5(0x2a2)](_0x35286b))),_0x22bb08['add'](_0x25b528(()=>_0x263103[_0x1416c5(0xd7)]()));let _0x16ead4=new _0x46c32c();_0x22bb08['add'](_0x275ffe['error$'][_0x1416c5(0x20b)](_0x56dca3=>_0x16ead4['next'](_0x56dca3))),_0x22bb08[_0x1416c5(0xd4)](_0x25b528(()=>_0x16ead4['complete']()));let _0x22d4c7=new _0x46c32c();_0x22bb08[_0x1416c5(0xd4)](_0x275ffe[_0x1416c5(0x199)][_0x1416c5(0x20b)](_0x583bd2=>{const _0x46db31=_0x1416c5;let _0x40cb3c=Xt(_0x583bd2);_0x22d4c7[_0x46db31(0x2a2)](_0x40cb3c);})),_0x22bb08[_0x1416c5(0xd4)](_0x25b528(()=>_0x22d4c7[_0x1416c5(0xd7)]()));let _0x542690,_0xf0db3=()=>{const _0x10630c=_0x1416c5;_0x16ead4[_0x10630c(0x2a2)](new Event('connection\x20error')),_0x263103[_0x10630c(0x2a2)](new Event('connection\x20error')),_0x542690[_0x10630c(0x2bf)]();};return _0x542690={'memberID':'','close$':_0x263103['asObservable'](),'error$':_0x16ead4['asObservable'](),'open$':_0x275ffe[_0x1416c5(0x263)],'message$':_0x22d4c7[_0x1416c5(0xfe)](),'send':_0x4ae4f1=>{const _0x3a9b35=_0x1416c5;if(_0x4ae4f1['cmd']===_0x1c9905[_0x3a9b35(0x2b1)]){if(_0x4ae4f1[_0x3a9b35(0x210)][_0x3a9b35(0x29d)]===_0x50665f[_0x3a9b35(0x276)]){this[_0x3a9b35(0x114)](_0x542690,_0x4ae4f1[_0x3a9b35(0x210)])['catch'](_0x2b3545=>{const _0x586267=_0x3a9b35;this['_logService'][_0x586267(0x167)](_0x2b3545),_0xf0db3();});return;}if(_0x4ae4f1[_0x3a9b35(0x210)][_0x3a9b35(0x29d)]===_0x50665f['FETCH_MISSING']){let _0x379b61=_0x4ae4f1[_0x3a9b35(0x210)];this[_0x3a9b35(0x309)](_0x379b61)[_0x3a9b35(0x1f3)](_0x353fe3=>{const _0x49e512=_0x3a9b35;_0x22d4c7[_0x49e512(0x2a2)]({'cmd':_0x1c9905[_0x49e512(0xc0)],'code':_0x29a5db['OK'],'routeKey':_0x379b61[_0x49e512(0x210)][_0x49e512(0x11e)],'routeType':'','data':{'eventID':_0x50665f[_0x49e512(0x2b7)],'data':{'changesets':_0x353fe3}}});})[_0x3a9b35(0x23b)](_0x3887a9=>{const _0x39a78e=_0x3a9b35;this['_logService'][_0x39a78e(0x167)](_0x3887a9),_0xf0db3();});return;}}_0x275ffe[_0x3a9b35(0x280)](Zt(_0x4ae4f1));},'close':()=>{const _0x5b0e92=_0x1416c5;_0x275ffe[_0x5b0e92(0x2bf)](),_0x22bb08[_0x5b0e92(0x2b4)]();}},_0x542690;}async[_0x3d5482(0x114)](_0x5024a7,_0x2778e3){const _0x17498c=_0x3d5482;var _0x79bfa0;let {unitType:_0x15f236,unitID:_0x2b9816,changeset:_0x5ccbc1}=_0x2778e3[_0x17498c(0x210)],_0x2f3a92={'unitID':_0x2b9816,'memberID':_0x5024a7[_0x17498c(0x1f7)],'type':_0x15f236,'changeset':_0x293710(_0x5ccbc1)},_0x1ead00=this[_0x17498c(0x1fe)][_0x17498c(0x13b)](H),_0x276a84=$t((_0x79bfa0=_0x1ead00==null?void 0x0:_0x1ead00[_0x17498c(0x27d)])==null?_0x17498c(0x12a):_0x79bfa0,_0x15f236,_0x2b9816);try{await this[_0x17498c(0x293)][_0x17498c(0x152)](_0x276a84,{'body':_0x2f3a92});}catch(_0x175a51){throw this[_0x17498c(0x1b2)][_0x17498c(0x167)](_0x17498c(0xca),_0x17498c(0x25b)),_0x175a51;}}async['_fetchMissChangesets'](_0x100974){const _0x454eb1=_0x3d5482;let {unitID:_0x509bce,from:_0x4bf7bc,to:_0x1e533d,unitType:_0x31e57b}=_0x100974['data'];return(await this[_0x454eb1(0x270)][_0x454eb1(0x225)]({'metadata':void 0x0},{'unitID':_0x509bce,'type':_0x31e57b,'from':_0x4bf7bc,'to':_0x1e533d}))[_0x454eb1(0x1a2)]['map'](_0x1d8695=>((_0x1d8695[_0x454eb1(0xad)]===null||_0x1d8695[_0x454eb1(0xad)]===void 0x0)&&(_0x1d8695[_0x454eb1(0xad)]=[]),_0x1d8695));}};en=L([I(0x0,_0x528933(_0x2f9ec4)),I(0x1,_0x528933(_0x2641c7)),I(0x2,_0x34eea4),I(0x3,_0x2fc9db),I(0x4,_0x244f88)],en);let Q=class extends _0x9e7512{get[_0x3d5482(0x1a1)](){const _0x7c3363=_0x3d5482;return this[_0x7c3363(0x126)]['getValue']();}constructor(_0x250326,_0x4acfa9,_0x259b75,_0x50a11b,_0x50f3a5,_0x199f47){const _0x52255b=_0x3d5482;super(),this[_0x52255b(0xee)]=_0x250326,this[_0x52255b(0x1b2)]=_0x4acfa9,this[_0x52255b(0x1fe)]=_0x259b75,this[_0x52255b(0x17d)]=_0x50a11b,this[_0x52255b(0x311)]=_0x50f3a5,this['_networkConditionService']=_0x199f47,N(this,_0x52255b(0x126),new _0x3a2e8a(void 0x0)),N(this,_0x52255b(0x2c6),this[_0x52255b(0x126)][_0x52255b(0xfe)]()),N(this,'_candidateSocket',null),N(this,_0x52255b(0x18a),new Map()),N(this,_0x52255b(0x12f),new _0x3a2e8a(z[_0x52255b(0x1c6)])),N(this,_0x52255b(0x147),this[_0x52255b(0x12f)]['asObservable']()),N(this,_0x52255b(0x258),!0x1),N(this,_0x52255b(0x260),void 0x0),N(this,_0x52255b(0xe0),0x0),N(this,'_sendHeartbeatTimer',void 0x0),N(this,_0x52255b(0x2ab),void 0x0),this[_0x52255b(0x172)]();}[_0x3d5482(0x172)](){const _0x2aa4d2=_0x3d5482;this[_0x2aa4d2(0x1d3)]&&this[_0x2aa4d2(0x25a)](this[_0x2aa4d2(0x1d3)][_0x2aa4d2(0x2de)]['subscribe'](_0x45474c=>{const _0x1c4f6d=_0x2aa4d2;_0x45474c&&!this[_0x1c4f6d(0x1a1)]&&this[_0x1c4f6d(0x2c0)](),_0x45474c||this['_onOffline']();}));}[_0x3d5482(0x2b4)](){const _0x8431b5=_0x3d5482;super[_0x8431b5(0x2b4)](),this[_0x8431b5(0x1d2)](),this[_0x8431b5(0x18c)](),this[_0x8431b5(0x279)](),this[_0x8431b5(0x18a)][_0x8431b5(0x1cc)](_0x2c9308=>_0x2c9308['dispose']()),this[_0x8431b5(0x18a)][_0x8431b5(0x28a)](),this[_0x8431b5(0x12f)][_0x8431b5(0xd7)]();}async[_0x3d5482(0xe6)](_0x179c1e){const _0x19dd91=_0x3d5482;if(this[_0x19dd91(0x18a)][_0x19dd91(0xbb)](_0x179c1e))return this[_0x19dd91(0x18a)][_0x19dd91(0x1c1)](_0x179c1e);this[_0x19dd91(0xcc)]();let _0x28eea1=this[_0x19dd91(0xee)][_0x19dd91(0x1ff)](kt,_0x179c1e,this[_0x19dd91(0x126)][_0x19dd91(0xfe)]());return this['_sessions'][_0x19dd91(0x1d4)](_0x179c1e,_0x28eea1),_0x28eea1;}[_0x3d5482(0x1a4)](_0x12f15d){const _0x3da97f=_0x3d5482;let _0x7b1bc8=this['_sessions'][_0x3da97f(0x1c1)](_0x12f15d);if(_0x7b1bc8&&(this['_sessions'][_0x3da97f(0x294)](_0x12f15d),_0x7b1bc8[_0x3da97f(0x2bf)]()),!this[_0x3da97f(0x18a)][_0x3da97f(0x1d1)]){var _0x144910;(_0x144910=this[_0x3da97f(0x1a1)])==null||_0x144910['close']();}}[_0x3d5482(0x2c0)](){const _0x44d108=_0x3d5482;this[_0x44d108(0xe0)]=0x0,this[_0x44d108(0x1d2)](),this[_0x44d108(0xe9)]();}['_clearRetryConnectingTimer'](){const _0x4a750c=_0x3d5482;this[_0x4a750c(0x260)]!=null&&(clearTimeout(this[_0x4a750c(0x260)]),this[_0x4a750c(0x260)]=null);}async['_createSocket'](){const _0x36bd60=_0x3d5482;var _0x3b3895;let _0x4e9e7b=this[_0x36bd60(0x1fe)]['getConfig'](H),_0x51c7c0=(_0x3b3895=_0x4e9e7b==null?void 0x0:_0x4e9e7b[_0x36bd60(0x2aa)])==null?ft:_0x3b3895,_0x38f612=await this[_0x36bd60(0x17d)][_0x36bd60(0x145)](_0x51c7c0);return this['_candidateSocket']=_0x38f612,_0x38f612;}async['_tryEnsureSocket'](){const _0x4af3ec=_0x3d5482;try{var _0x1f1f5e,_0x234603;let _0xb6dbfa=(_0x1f1f5e=(_0x234603=this[_0x4af3ec(0x1a1)])==null?this[_0x4af3ec(0x21e)]:_0x234603)==null?await this[_0x4af3ec(0x177)]():_0x1f1f5e;if(_0xb6dbfa){let _0x26d828=_0xb6dbfa[_0x4af3ec(0x280)];_0xb6dbfa[_0x4af3ec(0x280)]=_0x167e7b=>(_0x167e7b[_0x4af3ec(0x218)]!==_0x1c9905[_0x4af3ec(0x1e5)]&&this[_0x4af3ec(0x2dc)](),_0x26d828[_0x4af3ec(0x310)](_0xb6dbfa,[_0x167e7b])),_0xb6dbfa[_0x4af3ec(0x199)][_0x4af3ec(0x20b)](_0x9c5b2f=>this[_0x4af3ec(0xa6)](_0xb6dbfa,_0x9c5b2f)),_0xb6dbfa[_0x4af3ec(0x2a1)][_0x4af3ec(0xf5)](_0xbe5d61(0x1))[_0x4af3ec(0x20b)](_0x272f5c=>this[_0x4af3ec(0x1b2)][_0x4af3ec(0x167)]('[CollaborationSessionService]:\x20socket\x20error',_0x272f5c)),_0xb6dbfa['open$'][_0x4af3ec(0xf5)](_0xbe5d61(0x1))[_0x4af3ec(0x20b)](()=>{const _0x5423c7=_0x4af3ec;this[_0x5423c7(0x110)](_0xb6dbfa);}),_0xb6dbfa[_0x4af3ec(0x2e6)][_0x4af3ec(0xf5)](_0xbe5d61(0x1))[_0x4af3ec(0x20b)](_0x3969a2=>{const _0x4821c9=_0x4af3ec;this[_0x4821c9(0x1b2)][_0x4821c9(0x254)](_0x4821c9(0xff),_0x4821c9(0x1ec),_0x3969a2),this['_onConnectionFailed']();});}}catch(_0x4ce07a){this[_0x4af3ec(0x1b2)][_0x4af3ec(0x167)](_0x4ce07a),this[_0x4af3ec(0x18d)]();}}[_0x3d5482(0x110)](_0x48d8b5){const _0x211cec=_0x3d5482;this['_logService'][_0x211cec(0x254)](_0x211cec(0xff),_0x211cec(0x234)),_0x48d8b5[_0x211cec(0x280)]({'cmd':_0x1c9905['HELLO']}),this[_0x211cec(0x2dc)]();}[_0x3d5482(0x131)](){const _0x4fc871=_0x3d5482;this[_0x4fc871(0x258)]=!0x1,this[_0x4fc871(0x21e)]=null,this[_0x4fc871(0x12f)]['next'](z['OFFLINE']),this[_0x4fc871(0x126)][_0x4fc871(0x2a2)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x3d5482(0x18d)](){const _0x2f2e29=_0x3d5482;var _0x352d10;this[_0x2f2e29(0x131)](),this['_retryCount']<((_0x352d10=this[_0x2f2e29(0x1fe)][_0x2f2e29(0x13b)](_0x2f2e29(0x23d)))==null?0x3:_0x352d10)?(this[_0x2f2e29(0x311)]['emitEvent']({'id':P[_0x2f2e29(0x16e)]}),this[_0x2f2e29(0xe9)]()):this[_0x2f2e29(0x311)][_0x2f2e29(0x20f)]({'id':P['SOCKET_FAILED']});}[_0x3d5482(0xe9)](){const _0x466c88=_0x3d5482;var _0x3c0575;let _0x17f66f=this[_0x466c88(0xe0)],_0x3cc812=this[_0x466c88(0x1fe)][_0x466c88(0x13b)](H),_0x2f2ba3=_0x17f66f===0x0?0x0:((_0x3c0575=_0x3cc812==null?void 0x0:_0x3cc812[_0x466c88(0x1d0)])==null?0x4e20:_0x3c0575)*0x2**_0x17f66f;this[_0x466c88(0x260)]=setTimeout(()=>{const _0x544b28=_0x466c88;clearTimeout(this['_retryConnectingTimer']),this[_0x544b28(0x260)]=null,this['_tryEnsureSocket']();},_0x2f2ba3),this[_0x466c88(0xe0)]+=0x1;}[_0x3d5482(0xa6)](_0x4eaf05,_0x5d2e5a){const _0x569e9b=_0x3d5482;let {cmd:_0xd55c1c}=_0x5d2e5a;_0xd55c1c===_0x1c9905[_0x569e9b(0xb2)]&&!this[_0x569e9b(0x258)]&&(_0x4eaf05[_0x569e9b(0x1f7)]=_0x5d2e5a[_0x569e9b(0x210)][_0x569e9b(0x1f7)],this['_socket$'][_0x569e9b(0x2a2)](_0x4eaf05),this[_0x569e9b(0x12f)][_0x569e9b(0x2a2)](z[_0x569e9b(0x1e3)]),this[_0x569e9b(0x258)]=!0x0,this[_0x569e9b(0x21e)]=null),_0xd55c1c===_0x1c9905[_0x569e9b(0x2a6)]&&this[_0x569e9b(0x18c)](),this['_rescheduleHeartbeat']();}[_0x3d5482(0x2dc)](){const _0x403381=_0x3d5482;var _0x640a00;this[_0x403381(0x279)](),this[_0x403381(0x134)]=setTimeout(()=>this[_0x403381(0x2fa)](),(_0x640a00=this[_0x403381(0x1fe)][_0x403381(0x13b)](_0x403381(0x1ac)))==null?0x7530:_0x640a00);}[_0x3d5482(0x2fa)](){const _0x5be037=_0x3d5482;this[_0x5be037(0x1a1)]['send']({'cmd':_0x1c9905[_0x5be037(0x2a6)]}),this[_0x5be037(0x13c)]();}[_0x3d5482(0x13c)](){const _0x2c521b=_0x3d5482;var _0x495591;this[_0x2c521b(0x2ab)]=setTimeout(()=>this[_0x2c521b(0x18d)](),(_0x495591=this[_0x2c521b(0x1fe)][_0x2c521b(0x13b)](_0x2c521b(0x21c)))==null?gt:_0x495591);}[_0x3d5482(0x279)](){const _0x4fadb2=_0x3d5482;this[_0x4fadb2(0x134)]!=null&&(clearTimeout(this[_0x4fadb2(0x134)]),this[_0x4fadb2(0x134)]=null);}['_clearTimeoutTimer'](){const _0x564a92=_0x3d5482;this[_0x564a92(0x2ab)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x564a92(0x2ab)]=null);}};Q=L([I(0x0,_0x528933(_0x2f9ec4)),I(0x1,_0x2fc9db),I(0x2,_0x34eea4),I(0x3,Qt),I(0x4,_0x528933(F)),I(0x5,_0x5e5f16(Yt))],Q);let tn=class extends _0x114242{constructor(_0x3e400b,_0x20c1d5,_0x482d40,_0x12da25){const _0x4bef69=_0x3d5482;var _0x173bee;super(),this[_0x4bef69(0xee)]=_0x3e400b,this[_0x4bef69(0x300)]=_0x20c1d5,this['_configService']=_0x482d40,this[_0x4bef69(0x2d0)]=_0x12da25,N(this,_0x4bef69(0x25f),new Map()),N(this,_0x4bef69(0xd3),new _0x46c32c()),N(this,_0x4bef69(0x268),this['_entityInit$'][_0x4bef69(0xfe)]()),((_0x173bee=this[_0x4bef69(0x1fe)]['getConfig'](_0x4bef69(0x2a9)))==null?void 0x0:_0x173bee[_0x4bef69(0xd2)])!==!0x1&&this[_0x4bef69(0x1d7)]();}['dispose'](){const _0x39cecb=_0x3d5482;super[_0x39cecb(0x2b4)](),this['_entities'][_0x39cecb(0x1cc)](_0xd4f450=>_0xd4f450[_0x39cecb(0x2b4)]()),this[_0x39cecb(0x25f)][_0x39cecb(0x28a)]();}['getCollabEntity'](_0x473131){const _0x5e5e48=_0x3d5482;var _0x14f316;return(_0x14f316=this[_0x5e5e48(0x25f)]['get'](_0x473131))==null?null:_0x14f316;}[_0x3d5482(0x25c)](_0x5d2133){const _0x2b7776=_0x3d5482;let _0x21a423=this['getCollabEntity'](_0x5d2133);return _0x21a423?_0xa4798f(_0x21a423):this[_0x2b7776(0xd3)][_0x2b7776(0xf5)](_0x842d2d(_0x1aba60=>_0x1aba60[_0x2b7776(0x11e)]===_0x5d2133));}[_0x3d5482(0x255)](_0x22d219){const _0xfd5684=_0x3d5482;return _0x4d27db(this[_0xfd5684(0x25c)](_0x22d219)['pipe'](_0x455a01(()=>void 0x0)));}[_0x3d5482(0x1d7)](){const _0xfcab64=_0x3d5482;this['_univerInstanceService'][_0xfcab64(0x158)](_0x40b723['UNIVER_SHEET'])['pipe'](_0x23c7ab(this[_0xfcab64(0x1a8)]),_0xd07c40(0x10))['subscribe'](async _0x2990d3=>{const _0x321168=_0xfcab64;let _0xe4b507=_0x2990d3[_0x321168(0x2f3)](),_0x5c892b=await this[_0x321168(0x215)](_0xe4b507,_0x311bf4[_0x321168(0x155)]);this[_0x321168(0x25f)][_0x321168(0x1d4)](_0xe4b507,_0x5c892b);}),this[_0xfcab64(0x2d0)][_0xfcab64(0x158)](_0x40b723[_0xfcab64(0x28d)])[_0xfcab64(0xf5)](_0x23c7ab(this[_0xfcab64(0x1a8)]),_0xd07c40(0x10))[_0xfcab64(0xf5)](_0x842d2d(_0x59b689=>!_0x59b689[_0xfcab64(0x2f3)]()[_0xfcab64(0x103)]('__')))[_0xfcab64(0x20b)](async _0x547863=>{const _0x32ffcb=_0xfcab64;let _0x48b4b7=_0x547863[_0x32ffcb(0x2f3)](),_0x24b541=await this[_0x32ffcb(0x215)](_0x48b4b7,_0x311bf4[_0x32ffcb(0x28d)]);this[_0x32ffcb(0x25f)][_0x32ffcb(0x1d4)](_0x48b4b7,_0x24b541);}),_0x27f243(this[_0xfcab64(0x2d0)][_0xfcab64(0x2f4)](_0x40b723['UNIVER_SHEET']),this['_univerInstanceService'][_0xfcab64(0x2f4)](_0x40b723[_0xfcab64(0x28d)]))[_0xfcab64(0xf5)](_0x23c7ab(this['dispose$']))['subscribe'](_0x335c3a=>{const _0x17f659=_0xfcab64;let _0x42ff3e=_0x335c3a['getUnitId'](),_0x379bee=this['_entities'][_0x17f659(0x1c1)](_0x42ff3e);_0x379bee&&(_0x379bee[_0x17f659(0x2b4)](),this[_0x17f659(0x25f)]['delete'](_0x42ff3e));});}async[_0x3d5482(0x215)](_0x416f98,_0x2a53d6){const _0x2243d2=_0x3d5482;let _0x3257c6=await this[_0x2243d2(0x300)][_0x2243d2(0xe6)](_0x416f98),_0x20f416=this[_0x2243d2(0xee)]['createInstance'](this['_getCtorByUniverType'](_0x2a53d6),_0x416f98,_0x2a53d6,_0x3257c6);return await _0x20f416[_0x2243d2(0xda)](),this[_0x2243d2(0xd3)][_0x2243d2(0x2a2)](_0x20f416),_0x20f416;}[_0x3d5482(0x16d)](_0x3c24fb){const _0x131266=_0x3d5482;switch(_0x3c24fb){case _0x311bf4[_0x131266(0x28d)]:return qt;case _0x311bf4[_0x131266(0x155)]:return Jt;default:throw Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x3c24fb);}}};tn=L([I(0x0,_0x528933(_0x2f9ec4)),I(0x1,_0x528933(Q)),I(0x2,_0x34eea4),I(0x3,_0x5c02d5)],tn);var nn='@univerjs-pro/collaboration-client',rn=_0x3d5482(0x1e7);let an=class extends _0x9e7512{constructor(_0x5188ab,_0x1841e9){const _0x2d3ea6=_0x3d5482;super(),this[_0x2d3ea6(0x2d0)]=_0x5188ab,this[_0x2d3ea6(0x1fe)]=_0x1841e9,this[_0x2d3ea6(0x1d7)]();}[_0x3d5482(0x1d7)](){const _0x302320=_0x3d5482;this[_0x302320(0x25a)](this[_0x302320(0x2d0)]['focused$'][_0x302320(0x20b)](()=>{const _0x6654df=_0x302320;var _0x317df6;let _0x195031=this[_0x6654df(0x2d0)][_0x6654df(0x1c9)](),_0x26de78=(_0x317df6=this[_0x6654df(0x1fe)][_0x6654df(0x13b)](_0x6654df(0x288)))==null?_0x6654df(0x2f8):_0x317df6;_0x195031 instanceof _0x34f926&&(_0x26de78=_0x195031['name']),document[_0x6654df(0xaa)]=_0x26de78;}));}};an=L([I(0x0,_0x5c02d5),I(0x1,_0x34eea4)],an);let on=class{constructor(_0x159ce9,_0x370ea4,_0x4cc896){const _0x4632d0=_0x3d5482;this['_configService']=_0x159ce9,this[_0x4632d0(0x293)]=_0x370ea4,this[_0x4632d0(0x1da)]=_0x4cc896,this[_0x4632d0(0xda)]();}['init'](){const _0x29e344=_0x3d5482;this[_0x29e344(0x293)][_0x29e344(0x1b5)]({'priority':0x1,'interceptor':(_0x995f6c,_0x4cf6f9)=>_0x4cf6f9(_0x995f6c)[_0x29e344(0xf5)](_0x184f99(async _0x349970=>{const _0x635731=_0x29e344;let _0x275044=_0x349970;if(_0x275044['status']===0x191){if(typeof window>'u')throw Error(_0x635731(0x2e0));if(window['confirm'](this[_0x635731(0x1da)]['t'](_0x635731(0x297)))){let _0x6966a8=window['encodeURIComponent'](window['location'][_0x635731(0x256)]);window['location']['href']=this['_getLoginPath']()+_0x635731(0x203)+_0x6966a8;}}return _0x275044;}))});}[_0x3d5482(0x1e2)](){const _0x3f6467=_0x3d5482;var _0x369060;let _0x16fb0f=this[_0x3f6467(0x1fe)][_0x3f6467(0x13b)](H);return(_0x369060=_0x16fb0f==null?void 0x0:_0x16fb0f[_0x3f6467(0x1b9)])==null?_0x3f6467(0x142):_0x369060;}};on=L([I(0x0,_0x34eea4),I(0x1,_0x528933(_0x2641c7)),I(0x2,_0x528933(_0x3d6ea1))],on);let sn=class extends _0x9e7512{constructor(_0x5184ff,_0x359363){const _0x5772b0=_0x3d5482;super(),this[_0x5772b0(0x1cd)]=_0x5184ff,this['_configService']=_0x359363,this[_0x5772b0(0x295)]();}['_initMergeInterceptor'](){const _0x4e0fa3=_0x3d5482;let _0x4cfa18=this;this['disposeWithMe'](this['_HTTPService'][_0x4e0fa3(0x1b5)]({'priority':0x3e7,'interceptor':_0x2cba25({'isMatch'(_0x54fc71){const _0x2cbdf9=_0x4e0fa3;var _0x47adad;if(_0x54fc71[_0x2cbdf9(0x1c2)]===_0x2cbdf9(0x261)&&(_0x47adad=_0x54fc71[_0x2cbdf9(0xcb)])!=null&&_0x47adad[_0x2cbdf9(0x283)]){let {objectID:_0xa29366,objectType:_0x171d13}=_0x54fc71[_0x2cbdf9(0xcb)][_0x2cbdf9(0x283)]||{};if(!_0xa29366||_0x171d13===void 0x0)return!0x1;let _0x32608a=_0x4cfa18[_0x2cbdf9(0x2ff)]()+'/'+_0x171d13+'/object/'+_0xa29366+'/allowed';if(_0x54fc71[_0x2cbdf9(0x227)]===_0x32608a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5211d8){const _0x35da10=_0x4e0fa3;var _0x411369;return(_0x411369=_0x5211d8['requestParams'])==null?void 0x0:_0x411369[_0x35da10(0x283)];},'mergeParamsToRequest'(_0x1550a8,_0x214949){const _0x491a98=_0x4e0fa3;let _0x2afeca=_0x4cfa18[_0x491a98(0x2ff)]()+_0x491a98(0x2e1),_0x36c5e3=_0x1550a8[_0x491a98(0x2b3)]((_0x142e93,_0x3b04a7)=>{const _0x49862a=_0x491a98;let {unitID:_0x1d565e,objectID:_0x186d0c,objectType:_0x5c3081,actions:_0x44aafa}=_0x3b04a7;return _0x142e93[_0x1d565e]||(_0x142e93[_0x1d565e]={}),_0x142e93[_0x1d565e][_0x186d0c]||(_0x142e93[_0x1d565e][_0x186d0c]={'objectID':_0x186d0c,'objectType':_0x5c3081,'actions':[]}),_0x142e93[_0x1d565e][_0x186d0c]['actions'][_0x49862a(0x2e8)](..._0x44aafa),_0x142e93;},{}),_0x3dd9c2=[];for(let _0x40c490 in _0x36c5e3)for(let _0x3bf01a in _0x36c5e3[_0x40c490]){let {actions:_0x3a9e8b,objectType:_0x36baf3}=_0x36c5e3[_0x40c490][_0x3bf01a],_0x25ee73=[...new Set(_0x3a9e8b)];_0x3dd9c2[_0x491a98(0x2e8)]({'unitID':_0x40c490,'objectID':_0x3bf01a,'objectType':_0x36baf3,'actions':_0x25ee73});}return new _0x1fc1d9('POST',_0x2afeca,{'headers':_0x214949['headers'],'withCredentials':_0x214949[_0x491a98(0x1d5)],'responseType':_0x214949[_0x491a98(0x164)],'body':{'requests':_0x3dd9c2}});}},{'distributeResult'(_0x5881a4,_0xa74452){const _0x4fe3ce=_0x4e0fa3;let {objectActions:_0x58f5e4}=_0x5881a4;return _0xa74452[_0x4fe3ce(0x1ce)](_0x2ea2e0=>{const _0x12ae9c=_0x4fe3ce;let {unitID:_0x164984,objectID:_0x3ba771,actions:_0x3f9282}=_0x2ea2e0,_0x15a60c=_0x58f5e4[_0x12ae9c(0x17b)](_0x465b08=>_0x465b08[_0x12ae9c(0x11e)]===_0x164984&&_0x465b08[_0x12ae9c(0xfb)]===_0x3ba771);return{'config':_0x2ea2e0,'result':{'actions':_0x3f9282[_0x12ae9c(0x1ce)](_0x1f6b37=>_0x15a60c==null?void 0x0:_0x15a60c['actions']['find'](_0x184add=>_0x184add['action']===_0x1f6b37))['filter'](_0x18b075=>!!_0x18b075),'error':_0x5881a4['error']}};});}})}));}[_0x3d5482(0x2ff)](){const _0x180461=_0x3d5482;var _0xcf30cd;let _0x504ba6=this[_0x180461(0x1fe)][_0x180461(0x13b)](H);return(_0xcf30cd=_0x504ba6==null?void 0x0:_0x504ba6[_0x180461(0x2da)])==null?'/universer-api/authz':_0xcf30cd;}async[_0x3d5482(0x1f2)](_0x1fc5eb){const _0x2530c5=_0x3d5482;let _0x2d4378=this['_getAPIPrefixPath']()+'/'+_0x1fc5eb[_0x2530c5(0x22b)]+_0x2530c5(0x2ed);return(await this[_0x2530c5(0x1cd)][_0x2530c5(0x152)](_0x2d4378,{'body':_0x1fc5eb}))[_0x2530c5(0x283)][_0x2530c5(0xfb)]||'';}async[_0x3d5482(0x2a0)](_0x5a86f1){const _0x1e790f=_0x3d5482;let _0x3bf21d=this[_0x1e790f(0x2ff)]()+_0x1e790f(0x2cb);return(await this[_0x1e790f(0x1cd)][_0x1e790f(0x152)](_0x3bf21d,{'body':_0x5a86f1}))['body'][_0x1e790f(0x2b6)];}async[_0x3d5482(0x1eb)](_0x3ae1b3){const _0x5d898a=_0x3d5482;var _0x426b83;let _0x2ec6bb=this[_0x5d898a(0x2ff)]()+'/'+_0x3ae1b3['objectType']+_0x5d898a(0xea)+_0x3ae1b3[_0x5d898a(0xfb)],_0x59437d=await this[_0x5d898a(0x1cd)][_0x5d898a(0x1dd)](_0x2ec6bb,{'body':_0x3ae1b3});if((_0x59437d==null||(_0x426b83=_0x59437d['body'])==null||(_0x426b83=_0x426b83[_0x5d898a(0x167)])==null?void 0x0:_0x426b83[_0x5d898a(0x15b)])!==0x1)throw Error(_0x5d898a(0x127));}async['allowed'](_0x4f3170){const _0x5d7a18=_0x3d5482;let _0x732b1f=this[_0x5d7a18(0x2ff)]()+'/'+_0x4f3170[_0x5d7a18(0x22b)]+_0x5d7a18(0xea)+_0x4f3170[_0x5d7a18(0xfb)]+_0x5d7a18(0x1c5);return(await this['_HTTPService'][_0x5d7a18(0x152)](_0x732b1f,{'body':_0x4f3170}))[_0x5d7a18(0x283)][_0x5d7a18(0x307)];}async[_0x3d5482(0xf2)](_0x162b7c){const _0x528398=_0x3d5482;let _0x47ede6=this[_0x528398(0x2ff)]()+'/-/object/-/batch_allowed';return(await this[_0x528398(0x1cd)][_0x528398(0x152)](_0x47ede6,{'body':{'requests':_0x162b7c}}))[_0x528398(0x283)][_0x528398(0x116)];}async['listRoles'](_0x10c710){const _0x274b30=_0x3d5482;let _0x5d69ed=this['_getAPIPrefixPath']()+'/'+_0x10c710[_0x274b30(0x22b)]+_0x274b30(0x206),_0x2320b9=await this['_HTTPService']['post'](_0x5d69ed,{'body':_0x10c710});return{'roles':_0x2320b9['body'][_0x274b30(0x21d)],'actions':_0x2320b9[_0x274b30(0x283)][_0x274b30(0x307)]};}async['deleteCollaborator'](_0x8df1e9){const _0x36c144=_0x3d5482;let _0x49a008=this[_0x36c144(0x2ff)]()+_0x36c144(0x247);await this['_HTTPService'][_0x36c144(0x294)](_0x49a008,{'params':{'collaboratorID':_0x8df1e9[_0x36c144(0xc4)],'objectID':_0x8df1e9[_0x36c144(0xfb)],'unitID':_0x8df1e9[_0x36c144(0x11e)]}});}async[_0x3d5482(0x209)](_0x1990d7){const _0x4e948a=_0x3d5482;let _0x77f85b=this['_getAPIPrefixPath']()+_0x4e948a(0x247);await this[_0x4e948a(0x1cd)]['patch'](_0x77f85b,{'body':_0x1990d7});}async[_0x3d5482(0x2b0)](_0x1923ae){const _0x3c0bce=_0x3d5482;let _0x5f0b0d=this[_0x3c0bce(0x2ff)]()+_0x3c0bce(0x247);await this['_HTTPService'][_0x3c0bce(0x152)](_0x5f0b0d,{'body':_0x1923ae});}async['listCollaborators'](_0x5ca15b){const _0x34b06f=_0x3d5482;let _0x2a7961=this['_getAPIPrefixPath']()+_0x34b06f(0x247);return(await this[_0x34b06f(0x1cd)][_0x34b06f(0x1c1)](_0x2a7961,{'params':{'objectID':_0x5ca15b[_0x34b06f(0xfb)],'unitID':_0x5ca15b[_0x34b06f(0x11e)]}}))['body']['collaborators'];}async['putCollaborators'](_0x2ab317){const _0x2f0f87=_0x3d5482;let _0x489669=this[_0x2f0f87(0x2ff)]()+_0x2f0f87(0x247);await this['_HTTPService'][_0x2f0f87(0x1dd)](_0x489669,{'body':_0x2ab317});}};sn=L([I(0x0,_0x528933(_0x2641c7)),I(0x1,_0x528933(_0x34eea4))],sn);function cn(_0x1727e8,_0x23a634){const _0x8f8b51=_0x3d5482;let _0x1aaae5=_0x23a634-_0x1727e8['length']%_0x23a634;return _0x1727e8+String[_0x8f8b51(0xf6)](_0x1aaae5)[_0x8f8b51(0x26c)](_0x1aaae5);}function ln(_0x2076db,_0x375189){const _0x328a24=_0x3d5482;let _0x1dc032=_0x1a3442[_0x328a24(0x11a)](0x10),_0x339595=cn(_0x2076db,0x10),_0x45ecf5=_0xabafe1[_0x328a24(0x154)](_0x221211['parse'](_0x339595),_0x54034b[_0x328a24(0xbc)](_0x375189),{'iv':_0x1dc032,'padding':_0x1a5c32});return _0x1dc032['concat'](_0x45ecf5['ciphertext'])[_0x328a24(0x232)](_0x54034b);}function un(){const _0x513efa=_0x3d5482;let _0x2a4a09=_0x38672f()[_0x513efa(0x274)];if(typeof window<'u'&&window[_0x513efa(0x264)]!==void 0x0&&_0x2a4a09){let _0x19659c={'time':Math[_0x513efa(0x189)](Date['now']()/0x3e8),'domain':location['hostname']};return ln(JSON[_0x513efa(0x2d1)](_0x19659c),_0x2a4a09);}}function _0x1996(){const _0x3e99be=['AWAITING','_event$','BASE64','_type','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getSheetId','pauseCollaboration','disableLocalCache','message$','subject','getOwnPropertyDescriptor','reverse','_sessionStatus$','transformUndoRedo','result','_clearUndo','_socket','changesets','MUTATION','closeSession','_resendWithTimeout','_commandService','duration','dispose$','every','snapshotServerUrl','transformStack\x20failed!','HEARTBEAT_INTERVAL','onMissedChangesetFetched','_createInitialStateImpl','headers','JOIN','unitId','_logService','PERMISSION_REJ','PERSON','registerHTTPInterceptor','_revisionService','_transformStack','onTransformRemoteChangesetByIMECache','loginUrlKey','pending','UNIVER_SLIDE','csAckEvent','updateCursorEvent','_roomMembers','4101822oFIVBu','object','get','method','_redoStacks','_sheetTransformSelectionsService','/allowed','IDLE','startTime','getSheetBlock','getFocusedUnit','getResourcesRequest','_getSignURL','forEach','_HTTPService','map','type','retryConnectingInterval','size','_clearRetryConnectingTimer','_networkConditionService','set','withCredentials','_getDownloadEndpointURL','_init','setWaitCount','_members','localeService','isArray','max','put','CLOSE_ROOM','toggleOnline','avatar','_initUnitPermissionChange','_getLoginPath','ONLINE','_memberService','LEAVE','params','0.18.0','signUrlServerUrl','telemetry\x20info\x20is\x20not\x20initialized','_replaceFileID','update','socket\x20close','toggleOffline','updateOfflineData','liveShareNewHost','_removeRoom','version','create','then','newCsEvent','default','isPermissionRej','memberID','selections','_pendingMutations','OPTIONAL','onSyncEditingCollabCursor','_waitCount','name','_configService','createInstance','_changesetReqId','unit-cache-','_maxTotalRetryTimeout','?url=','loadSheet','FETCH_MISS','/role','resolve','packageName','updateCollaborator','onlyLocal','subscribe','CONFLICT','userID','sessionStatus','emitEvent','data','resend','ERROR_IMAGE_TYPE','_isPermissionRej','getMemberID','_startCollaboration','_initRequestHeader','getUnitOnRev','cmd','_schedule','unitInfo$','_clearRedo','HEARTBEAT_TIMEOUT','roles','_candidateSocket','_transformStateCache','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','309GyGhqI','_onJoinRoomEvent','slice','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','fetchMissingChangesets','sendChangesetTimeout','url','unsubscribe','_onLocalMutation','getActiveSheet','objectType','session','_shouldReportTelemetry','_compressMutationService','_updateState','image/bmp','getRoom','toString','values','socket\x20open.','session.room-full','_onRemoteChangeset','/block/','\x0aCurrent:\x20','_telemetryInfo','_initDependencies','catch','saveChangeset','RETRY_CONNECTING_MAX_COUNT','LIVESHARE_TERMINATE','_collaborationTimeoutTimer','awaiting','_doCreateSocket','revision','getCurrentUser','getImageSourceCache','CHANGESET_ACK','getSnapshotAPIPath','/collaborator','_getCurrentRevision','[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.','/unit/','SHOULD_CLOSE_CONN','_scheduleCompleteTimestamp','[UniverCollaborationClientPlugin]','[DataLoaderService]','[SyncedState]:\x20received\x20acknowledgement.','_transitionLocked','_change$','NOT_COLLAB','getAllMembers','debug','readyForCollab','href','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_socketReady','28651HbRFKz','disposeWithMe','submit\x20changeset\x20error!','getCollabEntity$','USERS_ENTER','FileId','_entities','_retryConnectingTimer','POST','_executeRemoteChangeset','open$','location','updateMember','addImageSourceCache','NEW_CHANGESETS','entityInit$','_decreaseWaiting','_unlockTransition','stopTime','repeat','3514990ilCTyI','onSendChangeset','_sendingTimer','_snapshotServerService','/rev/','LOCAL_CACHE_INTERVAL','_resendTimer','__Key__','OFFLINE','SUBMIT_CHANGESET','_telemetryService','onStateChange','_clearHeartbeatTimer','_applyRemoteChangeset','getCurrentSelections','baseRev','collabSubmitChangesetUrl','_resendTimeout','_stopTelemetryCollaborationNewChangeset','send','_onUserLeave','_eventService','body','UPDATE_PERMISSION_OBJ','ERROR_IMAGE','updateSnapshot','USERS_LEAVE','DEFAULT_FILE_NAME','_createInitialState','clear','commentUpdateEvent','string','UNIVER_DOC','_unitInfo$','_roomCreated$','JOIN_ROOM_NOT_EXISTS','117ZYurZB','onRemoteAck','_httpService','delete','_initMergeInterceptor','liveShareOperation','auth.needGotoLoginAlert','{fileID}','1445939pLCLrd','_disableEditing','SOCKET_FAILED','_toggleOffline','eventID','JOIN_ROOM_FAILED','_singleActiveUnitService','list','error$','next','shouldCloseConn','transformSelections','_startTelemetryCollaborationNewChangeset','HEARTBEAT','getLatestCsReqIdBySid','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','collaboration-client.config','collabWebSocketUrl','_timeoutTimer','originalMeta','image/gif','members$','FETCH_MISSING','createCollaborator','INGEST','_imageSourceCache','reduce','dispose','setShowComponents','objects','PSEUDO_FETCH_MISSING_RESULT','function','_onConflict','\x20in\x20_schedule.','file','downloadEndpointUrl','rev','/fetchmissing?from=','close','reconnect','decorate','[CollaborationEntity]','_lockTransition','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','leaveEvent','socket$','_clearCollaborationTimeoutTimer','compose','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','x-univer-host','/-/object/list','SYNCED','length','uploadFileServerUrl','executeCommand','_univerInstanceService','stringify','saveSnapshot','getValue','reqId','c1Prime','state$','_onRemoteRejected','_getUploadFileURL','GLOBAL_ROOMS_CNT_EXCEEDS','authzUrl','onCommentUpdate','_rescheduleHeartbeat','_remoteChangesetQueue','online$','collaboration_new_changeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','/-/object/-/batch_allowed','save\x20fail\x20reason\x20is\x20','_updateStatus','override','_snapshotService','close$','enableAuthServer','push','_clearLocalCache','awaitingChangeset','min','_handler','/object','onload','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRecvEvent','18572qguKwL','encode','getUnitId','getTypeOfUnitDisposed$','[CollaborationUndoRedoService]','/universer-api/snapshot','joinEvent','Univer','_state','_sendHeartbeat','collaborators','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentRevOfUnit','snapshot','_getAPIPrefixPath','_collabSessionService','splice','UnitEmbedded','SNAPSHOT_URL_KEY','_substituteUndoStack','[SyncedState]:\x20received\x20rejection.','_initCloseConn','actions','_state$','_fetchMissChangesets','PENDING','readAsDataURL','origin','onTransformRemoteChangesetByStateCache','range','fetchMiss','apply','_collaborationUIEventService','univer-pro.collaboration-client.single-active-unit-service','OTHER_CLIENTS_EDITING','getTime','_onMessage','_createHandler','LIVESHARE_REQUEST_HOST','onTransformState','title','COMPRESS_MUTATION_SEND','reject','mutations','LIVESHARE_FETCH_OPERATIONS','PERMISSION_DENIED','now','deepClone','HELLO','/universer-api/user/session-ticket','sid','_transformRemoteChangesetByStateCache','AWAITING_WITH_PENDING','transformMutationsWithChangeset','LIVESHARE_OPERATION','state','interceptor','has','parse','JOINING','entries','[FetchMissState]','RECV','LIVESHARE_NEW_HOST','_showConflictNotification','appendMutation','collaboratorID','session.room-not-exists','ws://127.0.0.1:8000/universer-api/comb/connect','enableOfflineEditing','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onRemoteRej','[CollaborationSession]','requestParams','_tryEnsureSocket','editingUnit','COMMENT_UPDATE','[OfflineState]:\x20received\x20changeset.','_localCacheService','_members$','enableCollaboration','_entityInit$','add','routeKey','?size=','complete','_transformSelections','saveImage','init','status','_onRemoteRetry','UPDATE_CURSOR','removeMember','FAIL','_retryCount','_handlerCallback','onLocalMutation','_userManagerService','session.room-cnt-exceeds','UNIVER_COLLABORATION_CLIENT_PLUGIN','requireSession','[PendingState]:\x20received\x20rejection.','setCurrentUser','_tryReconnect','/object/','subUnitId','438670KVGcog','_getAPIPrefix','_injector','NO_OTHER_CLIENTS_EDITING','_onUserJoin','uniscriptRunEvent','batchAllowed','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_scheduleCollaborationTimeoutTimer','pipe','fromCharCode','getUnitStatus$','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_updateLocalCache','_onCombEvent','objectID','_localeService','1BWlIFU','asObservable','[CollaborationSessionService]','[OfflineState]:\x20received\x20rejection.','MSG_FOR_ERROR','updatePermissionPoint','startsWith','iterator','change$','capture','onStarting','addHandlerCallback','_onFetchMissResult','awaiting_with_pending','ERROR_EXCEED_SIZE','loadOfflineData','sheets','fetch_missing','_commentService','_onConnectionOpen','image/jpeg','_acknowledgedAwaitingChangeset','COMPRESS_MUTATION_APPLY','_submitChangeset','OTHER_CLIENT_EDITING','objectActions','\x0aAfter:\x20','unitId\x20is\x20not\x20found','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','random','_sender','_incrementRevisionNumber','__splitChunk__','unitID','_throwTelemetryCollaborationNewChangeset','/resources','onMissingChangesets','getUnitType','unknown','call','editing\x20status\x20changed\x20to','_socket$','Failed\x20to\x20update\x20permission\x20point','event$','_getRedoStack','/universer-api/comb','prototype','_getUndoStack','CHANGESET_SHOULD_RETRY','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_status$','localCacheService','_onOffline','_replayCachedMutations','onTransformIME','_sendHeartbeatTimer','[PendingState]:\x20received\x20acknowledgement.','fetchThroughInterceptors','onRemoteChangeset','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onRemoteRetry','1160laDuQq','getConfig','_waitForHeartbeatResponse','SUBMIT_CHANGESET_TIMEOUT','_getSendChangesetTimeout','_commentUpdate$','_onRemoteACK','append','/universer-api/oidc/authpage','m2Prime','session.join-failed','createSocket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','status$','_transformIMECache','/universer-api/file/{fileID}/sign-url','from','_emitMembers','UUID','_clearScheduledTask','_socketMessageSubscription','_transformService','incrementRevOfUnit','image/jpg','post','_permissionService','encrypt','UNIVER_SHEET','offline','transformChangesets','getTypeOfUnitAdded$','UNISCRIPT_RUN','_queuedRemoteChangesets','code','_substituteRedoStack','getMember','commentUpdate$','joinRsp','_collaborationSessionService','copyFileMeta','univer-pro.collaboration-client.network-condition.service','_changesetSessionId','responseType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','image/png','error','276868qpaudv','toPrimitive','_checkMissing','CHANGESET_REJ','onTransformSelections','_getCtorByUniverType','SOCKET_FAILED_RETRY','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','pluginName','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_listenToNetworkCondition','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','resourceIDs','_exhaustRemoteChangesetQueue','/universer-api/stream/file/upload','_createSocket','_awaitingChangeset','symbol','infoRsp','find','_config','_socketService','_toggleOnline','getInterceptPoints','_transformUndoredo','getImage','_unitID','_collaborationPaused','onMutationExecutedForCollab','_instanceService','loadDoc','collaMsg','_registerDependencies','floor','_sessions','_joinRoom','_clearTimeoutTimer','_onConnectionFailed','loadUnitOfRevision','findIndex','sessionStatus$'];_0x1996=function(){return _0x3e99be;};return _0x1996();}let dn=class{constructor(_0x2dc9bc){const _0x589e38=_0x3d5482;this[_0x589e38(0x293)]=_0x2dc9bc,this['_initRequestHeader']();}[_0x3d5482(0x216)](){const _0x5b6970=_0x3d5482;this['_httpService'][_0x5b6970(0x1b5)]({'interceptor':(_0x1d4583,_0x1ec3a6)=>{const _0x2a3432=_0x5b6970;let _0x405d0e=_0x1d4583[_0x2a3432(0x1af)],_0xefd69e=un();return _0xefd69e&&_0x405d0e[_0x2a3432(0x1d4)](_0x2a3432(0x2ca),_0xefd69e),_0x1ec3a6(_0x1d4583);}});}};dn=L([I(0x0,_0x528933(_0x2641c7))],dn);let fn=class extends _0x114242{constructor(_0x1873b9,_0x1c5f98,_0x1bf1fb){const _0x382713=_0x3d5482;super(),this['_logService']=_0x1873b9,this['_snapshotService']=_0x1c5f98,this[_0x382713(0xd0)]=_0x1bf1fb,N(this,'_unitInfo$',new _0x3a2e8a(null)),N(this,_0x382713(0x21a),this[_0x382713(0x28e)]['asObservable']());}async[_0x3d5482(0x18e)](_0x10e90d,_0x29bed5,_0x5ecfa2){const _0x1fc026=_0x3d5482;this[_0x1fc026(0x28e)][_0x1fc026(0x2a2)]({'unitId':_0x10e90d,'type':_0x29bed5});let _0x583870=null;switch(_0x29bed5){case _0x311bf4['UNIVER_SHEET']:_0x583870=await this[_0x1fc026(0x2e5)][_0x1fc026(0x204)](_0x10e90d,_0x5ecfa2);break;case _0x311bf4['UNIVER_DOC']:_0x583870=await this[_0x1fc026(0x2e5)][_0x1fc026(0x186)](_0x10e90d,_0x5ecfa2);break;default:this[_0x1fc026(0x1b2)][_0x1fc026(0x167)](_0x1fc026(0x24e),_0x1fc026(0x195));break;}return _0x583870;}async['loadUnit'](_0x43370c,_0x5888ed,_0x53f5d8){const _0x464ecf=_0x3d5482;var _0x5ac13d;this[_0x464ecf(0x28e)]['next']({'unitId':_0x43370c,'type':_0x5888ed,'subUnitId':_0x53f5d8});let _0x24887d=0x0,_0x26d5e2=await((_0x5ac13d=this[_0x464ecf(0xd0)])==null?void 0x0:_0x5ac13d[_0x464ecf(0x10c)](_0x43370c));return _0x26d5e2&&(_0x26d5e2[_0x464ecf(0x2ea)]||_0x26d5e2[_0x464ecf(0xad)][_0x464ecf(0x2cd)]!==0x0)&&(_0x24887d=_0x26d5e2[_0x464ecf(0x2bd)]),_0x24887d===0x0&&this[_0x464ecf(0x1b2)][_0x464ecf(0x254)](_0x464ecf(0x24e),_0x464ecf(0x12e)),this[_0x464ecf(0x18e)](_0x43370c,_0x5888ed,_0x24887d);}};fn=L([I(0x0,_0x2fc9db),I(0x1,_0x528933(_0x225a81)),I(0x2,_0x5e5f16(B))],fn);const pn=[_0x3d5482(0x166),_0x3d5482(0x111),_0x3d5482(0x151),_0x3d5482(0x2ad),_0x3d5482(0x230)];let mn=class{constructor(_0x2f5277,_0x4ced13,_0x4a0180){const _0x2b4db5=_0x3d5482;this[_0x2b4db5(0x293)]=_0x2f5277,this[_0x2b4db5(0x1fe)]=_0x4ced13,this[_0x2b4db5(0x2d0)]=_0x4a0180,N(this,_0x2b4db5(0x1fc),0x0),N(this,_0x2b4db5(0x251),new _0x46c32c()),N(this,_0x2b4db5(0x105),this[_0x2b4db5(0x251)]),N(this,'_imageSourceCache',new Map());}[_0x3d5482(0x1d8)](_0x10185a){const _0x25dc8a=_0x3d5482;this[_0x25dc8a(0x1fc)]=_0x10185a,this[_0x25dc8a(0x251)][_0x25dc8a(0x2a2)](_0x10185a);}[_0x3d5482(0x244)](_0x19eae0,_0x22501a){const _0xbe8776=_0x3d5482;if(_0x22501a===_0x1be6fe[_0xbe8776(0x193)]){let _0x104d6c=new Image();return _0x104d6c['src']=_0x19eae0,_0x104d6c;}return this[_0xbe8776(0x2b2)][_0xbe8776(0x1c1)](_0x19eae0);}[_0x3d5482(0x266)](_0x22389b,_0x2b5052,_0x496250){const _0x540f0c=_0x3d5482;_0x2b5052===_0x1be6fe[_0x540f0c(0x193)]||_0x496250==null||this[_0x540f0c(0x2b2)][_0x540f0c(0x1d4)](_0x22389b,_0x496250);}async[_0x3d5482(0x181)](_0x599121){const _0x181596=_0x3d5482;try{let _0x5de4ca=this['_replaceFileID'](this[_0x181596(0x1cb)](),''+_0x599121),_0x3977e0=(await this[_0x181596(0x293)][_0x181596(0x1c1)](_0x5de4ca))[_0x181596(0x283)];if(_0x3977e0['error']&&_0x3977e0[_0x181596(0x167)][_0x181596(0x15b)]===_0x3dca78['OK']){let _0x50194e=_0x18f79c(_0x3977e0[_0x181596(0x227)],this['_getDownloadEndpointURL']());return Promise[_0x181596(0x207)](_0x50194e);}return Promise[_0x181596(0xac)](_0x3977e0[_0x181596(0x167)]);}catch(_0x596c94){return Promise[_0x181596(0xac)](_0x596c94);}}async[_0x3d5482(0xd9)](_0x2e6a1d){const _0x4609a9=_0x3d5482;let _0x3029bd='';if(!pn['includes'](_0x2e6a1d[_0x4609a9(0x1cf)]))return this[_0x4609a9(0x269)](),Promise[_0x4609a9(0xac)](Error(_0x4864d9[_0x4609a9(0x212)]));if(_0x2e6a1d[_0x4609a9(0x1d1)]>0x500000)return this[_0x4609a9(0x269)](),Promise[_0x4609a9(0xac)](Error(_0x4864d9[_0x4609a9(0x10b)]));try{let _0x4f8265=new FormData();_0x4f8265[_0x4609a9(0x141)](_0x4609a9(0x2bb),_0x2e6a1d);let _0x398d77=this[_0x4609a9(0x2d0)][_0x4609a9(0x1c9)](),_0x471562=_0x398d77==null?void 0x0:_0x398d77[_0x4609a9(0x2f3)]();if(!_0x471562)throw Error(_0x4609a9(0x118));let _0x4cfd11=this[_0x4609a9(0x2d8)]()+_0x4609a9(0xd6)+_0x2e6a1d[_0x4609a9(0x1d1)][_0x4609a9(0x232)]()+'&source='+_0x4fd19e[_0x4609a9(0x302)]+'&assign='+encodeURIComponent(_0x471562),_0x50f823={'body':_0x4f8265},_0x1cbd5f=(await this[_0x4609a9(0x293)][_0x4609a9(0x152)](_0x4cfd11,_0x50f823))['body'];if(typeof _0x1cbd5f[_0x4609a9(0x25e)]!=_0x4609a9(0x28c))return this[_0x4609a9(0x269)](),Promise[_0x4609a9(0xac)](Error(_0x4864d9[_0x4609a9(0x285)]));_0x3029bd=_0x1cbd5f[_0x4609a9(0x25e)];}catch{return this[_0x4609a9(0x269)](),Promise[_0x4609a9(0xac)](Error(_0x4864d9[_0x4609a9(0x285)]));}return new Promise((_0x5567ab,_0x43876f)=>{const _0x18e4c5=_0x4609a9;let _0x1cb78d=new FileReader();_0x1cb78d[_0x18e4c5(0x30b)](_0x2e6a1d),_0x1cb78d[_0x18e4c5(0x2ee)]=_0x574025=>{const _0x5f44be=_0x18e4c5;var _0x264305;let _0x2b45c4=(_0x264305=_0x574025['target'])==null?void 0x0:_0x264305['result'];if(_0x2b45c4==null){this[_0x5f44be(0x269)](),_0x43876f(Error(_0x4864d9[_0x5f44be(0x285)]));return;}_0x5567ab({'imageId':_0x4393e0(0x6),'imageSourceType':_0x1be6fe[_0x5f44be(0x14c)],'source':_0x3029bd,'base64Cache':_0x2b45c4,'status':_0x4864d9['SUCCUSS']}),this[_0x5f44be(0x269)]();};});}[_0x3d5482(0x2d8)](){const _0x42cac4=_0x3d5482;var _0x4180fa;let _0x4d5d12=this[_0x42cac4(0x1fe)][_0x42cac4(0x13b)](H);return(_0x4180fa=_0x4d5d12==null?void 0x0:_0x4d5d12[_0x42cac4(0x2ce)])==null?_0x42cac4(0x176):_0x4180fa;}['_getSignURL'](){const _0x30cd47=_0x3d5482;var _0x55f26c;let _0xc7f1d8=this[_0x30cd47(0x1fe)][_0x30cd47(0x13b)](H);return(_0x55f26c=_0xc7f1d8==null?void 0x0:_0xc7f1d8[_0x30cd47(0x1e8)])==null?_0x30cd47(0x149):_0x55f26c;}[_0x3d5482(0x1d6)](){const _0x2c6e47=_0x3d5482;var _0xf7bb14;let _0x576b3f=this[_0x2c6e47(0x1fe)][_0x2c6e47(0x13b)](H);return(_0xf7bb14=_0x576b3f==null?void 0x0:_0x576b3f[_0x2c6e47(0x2bc)])==null?location[_0x2c6e47(0x30c)]:_0xf7bb14;}[_0x3d5482(0x1ea)](_0x2e58d0,_0x40efc7){const _0x184537=_0x3d5482;return _0x2e58d0['replace'](_0x184537(0x298),_0x40efc7);}[_0x3d5482(0x269)](){const _0x1b30e4=_0x3d5482;--this[_0x1b30e4(0x1fc)],this[_0x1b30e4(0x251)][_0x1b30e4(0x2a2)](this[_0x1b30e4(0x1fc)]);}};mn=L([I(0x0,_0x528933(_0x2641c7)),I(0x1,_0x34eea4),I(0x2,_0x528933(_0x5c02d5))],mn);let hn=class{constructor(_0xbb4486,_0x56252b){this['_configService']=_0xbb4486,this['_HTTPService']=_0x56252b;}[_0x3d5482(0x2ff)](){const _0x410573=_0x3d5482;var _0xe72abe;let _0x2b9e1d=this[_0x410573(0x1fe)][_0x410573(0x13b)](H);return(_0xe72abe=_0x2b9e1d==null?void 0x0:_0x2b9e1d[_0x410573(0x2da)])==null?'/universer-api/authz':_0xe72abe;}async[_0x3d5482(0x2a0)](_0x1652bb){const _0x1e4198=_0x3d5482;let _0x3d0257=this[_0x1e4198(0x2ff)]()+_0x1e4198(0x247);return{'list':[{'title':'People','mentions':(await this[_0x1e4198(0x1cd)][_0x1e4198(0x1c1)](_0x3d0257,{'params':{'objectID':_0x1652bb['unitId'],'unitID':_0x1652bb[_0x1e4198(0x1b1)]}}))['body'][_0x1e4198(0x2fb)][_0x1e4198(0x1ce)](_0x576dfa=>({'objectId':_0x576dfa['id'],'name':_0x576dfa[_0x1e4198(0x19a)][_0x1e4198(0x1fd)],'metadata':{'icon':_0x576dfa[_0x1e4198(0x19a)][_0x1e4198(0x1e0)]},'label':_0x576dfa[_0x1e4198(0x19a)][_0x1e4198(0x1fd)],'objectType':_0x951061['PERSON']})),'metadata':{},'type':_0x951061[_0x1e4198(0x1b4)]}]};}};hn=L([I(0x0,_0x528933(_0x34eea4)),I(0x1,_0x528933(_0x2641c7))],hn);let gn=class extends _0x114242{constructor(_0x5baa07,_0xdcbd4b,_0x6a1900,_0x3eadd2,_0x2b7cb0){const _0x56da33=_0x3d5482;super(),this[_0x56da33(0xee)]=_0x5baa07,this[_0x56da33(0x2d0)]=_0xdcbd4b,this['_permissionService']=_0x6a1900,this[_0x56da33(0x160)]=_0x3eadd2,this[_0x56da33(0x311)]=_0x2b7cb0,this[_0x56da33(0x1e1)](),this[_0x56da33(0x306)]();}[_0x3d5482(0x306)](){const _0x4223ee=_0x3d5482;let _0x287b2a=async _0x8c169b=>{const _0x131fdf=_0x157c;(await this[_0x131fdf(0x160)][_0x131fdf(0xe6)](_0x8c169b))[_0x131fdf(0x128)][_0x131fdf(0xf5)](_0x842d2d(_0x320707=>_0x320707['eventID']===_0x50665f[_0x131fdf(0x24b)]),_0x535927(this[_0x131fdf(0x1a8)]))[_0x131fdf(0x20b)](_0x260232=>{const _0x1f1155=_0x131fdf;let {reason:_0x2c3fd6}=_0x260232['data'];this[_0x1f1155(0x311)][_0x1f1155(0x20f)]({'id':P[_0x1f1155(0x1de)],'data':_0x2c3fd6}),this['_permissionService']['updatePermissionPoint'](new _0x627a18(_0x8c169b)['id'],!0x1),this['_collaborationSessionService'][_0x1f1155(0x1a4)](_0x8c169b);});};_0x27f243(this[_0x4223ee(0x2d0)][_0x4223ee(0x158)](_0x40b723[_0x4223ee(0x155)]),this[_0x4223ee(0x2d0)][_0x4223ee(0x158)](_0x40b723[_0x4223ee(0x28d)]))[_0x4223ee(0xf5)](_0x455a01(_0x18318b=>_0x18318b[_0x4223ee(0x2f3)]()),_0x842d2d(_0x3e231e=>!_0x258627(_0x3e231e)),_0x535927(this['dispose$']))[_0x4223ee(0x20b)](_0x3bbbb7=>{_0x287b2a(_0x3bbbb7);});}[_0x3d5482(0x1e1)](){const _0x4a4e9f=_0x3d5482;let _0x3e9b64=async _0x48df2e=>{const _0x244ad4=_0x157c;let _0x50c9f6=await this['_collaborationSessionService']['requireSession'](_0x48df2e),_0x2b2b0b=this[_0x244ad4(0xee)][_0x244ad4(0x1c1)](_0x10a4f1);_0x50c9f6[_0x244ad4(0x128)][_0x244ad4(0xf5)](_0x842d2d(_0xff0aac=>_0xff0aac[_0x244ad4(0x29d)]===_0x50665f[_0x244ad4(0x284)]),_0x535927(this['dispose$']))[_0x244ad4(0x20b)](_0x4bf19c=>{let {objectId:_0x3c971a}=_0x4bf19c['data'];_0x3c971a===_0x48df2e?_0x2b2b0b['initWorkbookPermissionChange'](_0x48df2e):_0x2b2b0b['refreshPermission'](_0x48df2e,_0x3c971a);});};_0x27f243(this[_0x4a4e9f(0x2d0)]['getTypeOfUnitAdded$'](_0x40b723[_0x4a4e9f(0x155)]))[_0x4a4e9f(0xf5)](_0x455a01(_0x3c0990=>_0x3c0990[_0x4a4e9f(0x2f3)]()),_0x842d2d(_0x320a67=>!_0x258627(_0x320a67)),_0x535927(this[_0x4a4e9f(0x1a8)]))[_0x4a4e9f(0x20b)](_0x58ff34=>{_0x3e9b64(_0x58ff34);});}};gn=L([I(0x0,_0x528933(_0x2f9ec4)),I(0x1,_0x5c02d5),I(0x2,_0x10ad10),I(0x3,_0x528933(Q)),I(0x4,_0x528933(F))],gn);let _n=class{constructor(_0x3634f0,_0x5dc53f){const _0x47b0d3=_0x3d5482;this[_0x47b0d3(0x1fe)]=_0x3634f0,this['_httpService']=_0x5dc53f;}async[_0x3d5482(0x217)](_0xae5c51,_0x4a914b){const _0x2cb57d=_0x3d5482;var _0x1b7f4e;let {unitID:_0x23a1c4,type:_0x130d78,revision:_0x51f425=0x0}=_0x4a914b,_0x17a98f=this[_0x2cb57d(0x246)]()+'/'+_0x130d78+'/unit/'+_0x23a1c4+_0x2cb57d(0x271)+_0x51f425,_0x340d63=(await this[_0x2cb57d(0x293)][_0x2cb57d(0x1c1)](_0x17a98f))['body'],_0x168263=(_0x1b7f4e=_0x340d63[_0x2cb57d(0x2fe)])==null?void 0x0:_0x1b7f4e['workbook'];if(_0x168263){let _0x10a8ac=_0x168263==null?void 0x0:_0x168263[_0x2cb57d(0x2ac)];_0x168263[_0x2cb57d(0x2ac)]=_0xa5550d[_0x2cb57d(0x2f2)](_0x483f9d(_0x10a8ac)),Object[_0x2cb57d(0xbe)](_0x168263[_0x2cb57d(0x10d)])[_0x2cb57d(0x1cc)](([,_0x43c8b5])=>{const _0x21d0d7=_0x2cb57d;let _0x33fb0a=_0x43c8b5[_0x21d0d7(0x2ac)];_0x43c8b5[_0x21d0d7(0x2ac)]=_0xa5550d[_0x21d0d7(0x2f2)](_0x483f9d(_0x33fb0a));});}return _0x340d63;}async[_0x3d5482(0x1c8)](_0x37e263,_0x3ccde2){const _0x182a46=_0x3d5482;let {unitID:_0x1af2d1,type:_0x59f416,blockID:_0x3d17a9}=_0x3ccde2,_0xe4de9d=this[_0x182a46(0xed)]()+'/'+_0x59f416+_0x182a46(0x24a)+_0x1af2d1+_0x182a46(0x237)+_0x3d17a9;return(await this[_0x182a46(0x293)]['get'](_0xe4de9d))[_0x182a46(0x283)];}async['getDeserializedSheetBlock'](_0x33a1c7,_0x2d46bb){const _0x5e4098=_0x3d5482;let {unitID:_0x1e8271,type:_0x1f09de,blockID:_0x4638b6}=_0x2d46bb,_0x529c15=this[_0x5e4098(0xed)]()+_0x5e4098(0x237)+_0x1f09de+_0x5e4098(0x24a)+_0x1e8271+_0x5e4098(0x237)+_0x4638b6;return(await this[_0x5e4098(0x293)][_0x5e4098(0x1c1)](_0x529c15))[_0x5e4098(0x283)];}async[_0x3d5482(0x225)](_0x3b8c95,_0x209d60){const _0x52fbad=_0x3d5482;let {unitID:_0x260e75,type:_0x505859,from:_0x375d4,to:_0x4b1b46}=_0x209d60,_0x33d204=this['_getAPIPrefix']()+'/'+_0x505859+_0x52fbad(0x24a)+_0x260e75+_0x52fbad(0x2be)+_0x375d4+'&to='+_0x4b1b46;return(await this[_0x52fbad(0x293)][_0x52fbad(0x1c1)](_0x33d204))[_0x52fbad(0x283)];}[_0x3d5482(0x246)](){const _0x4fe158=_0x3d5482;var _0x4e49af;return(_0x4e49af=this[_0x4fe158(0x1fe)][_0x4fe158(0x13b)](_0x4fe158(0x303)))==null?this['_getAPIPrefix']():_0x4e49af;}['_getAPIPrefix'](){const _0xc9f45a=_0x3d5482;var _0x48c734;let _0x2268d2=this[_0xc9f45a(0x1fe)][_0xc9f45a(0x13b)](H);return(_0x48c734=_0x2268d2==null?void 0x0:_0x2268d2[_0xc9f45a(0x1aa)])==null?_0xc9f45a(0x2f6):_0x48c734;}async[_0x3d5482(0x1ca)](_0x4527c9,_0x402c15){const _0x97bced=_0x3d5482;let _0x2777be='/universer-api/snapshot/'+_0x402c15[_0x97bced(0x1cf)]+'/unit/'+_0x402c15[_0x97bced(0x11e)]+_0x97bced(0x120);return(await this['_httpService'][_0x97bced(0x1c1)](_0x2777be,{'params':{'resourceId':JSON[_0x97bced(0x2d1)](_0x402c15[_0x97bced(0x174)])}}))[_0x97bced(0x283)];}[_0x3d5482(0x2d2)](){const _0x34ec90=_0x3d5482;throw Error(_0x34ec90(0xc8));}[_0x3d5482(0x286)](){const _0x30beae=_0x3d5482;throw Error(_0x30beae(0xc8));}['saveSheetBlock'](){const _0x36f597=_0x3d5482;throw Error(_0x36f597(0xc8));}[_0x3d5482(0x23c)](){const _0x59ab00=_0x3d5482;throw Error(_0x59ab00(0xc8));}[_0x3d5482(0x161)](){const _0x1e673c=_0x3d5482;throw Error(_0x1e673c(0xc8));}[_0x3d5482(0x2a7)](){const _0x4056e8=_0x3d5482;throw Error(_0x4056e8(0xc8));}};_n=L([I(0x0,_0x34eea4),I(0x1,_0x528933(_0x2641c7))],_n);let vn=class extends _0xbfcf86{constructor(_0x383c3e,_0x17c941,_0x18f0c6,_0x3c5f1b,_0x41f1b8){const _0x3d1a1e=_0x3d5482;super(_0x383c3e,_0x17c941,_0x18f0c6),this[_0x3d1a1e(0x14f)]=_0x3c5f1b,this[_0x3d1a1e(0x1b2)]=_0x41f1b8;}[_0x3d5482(0x19e)](_0xb4118f,_0x5003d1){const _0x1d0e65=_0x3d5482;let _0x1e9f40=this[_0x1d0e65(0x12c)](_0xb4118f);if(_0x1e9f40)try{let _0x581775=this[_0x1d0e65(0x1b7)](_0x1e9f40,_0x5003d1);this[_0x1d0e65(0x304)](_0xb4118f,_0x581775);}catch(_0x427a69){this[_0x1d0e65(0x1b2)]['error'](_0x1d0e65(0x2f5),_0x427a69),this['_clearUndo'](_0xb4118f);}let _0x4a1221=this['_getRedoStack'](_0xb4118f);if(_0x4a1221)try{let _0xc3fc1e=this[_0x1d0e65(0x1b7)](_0x4a1221,_0x5003d1);this[_0x1d0e65(0x15c)](_0xb4118f,_0xc3fc1e);}catch(_0x44640f){this[_0x1d0e65(0x1b2)][_0x1d0e65(0x167)](_0x44640f),this[_0x1d0e65(0x21b)](_0xb4118f);}}[_0x3d5482(0x1a0)](_0x38b1e7){const _0x25c31d=_0x3d5482;let _0x13ef00=this['_getUndoStack'](_0x38b1e7);_0x13ef00&&(_0x13ef00[_0x25c31d(0x2cd)]=0x0,this[_0x25c31d(0x2e3)]());}[_0x3d5482(0x21b)](_0x3f5bac){const _0x353c4d=_0x3d5482;let _0x114347=this[_0x353c4d(0x129)](_0x3f5bac);_0x114347&&(_0x114347[_0x353c4d(0x2cd)]=0x0,this[_0x353c4d(0x2e3)]());}['_substituteUndoStack'](_0x5d76af,_0xedb943){const _0x451d61=_0x3d5482;this['_undoStacks'][_0x451d61(0x1d4)](_0x5d76af,_0xedb943),this[_0x451d61(0x2e3)]();}[_0x3d5482(0x15c)](_0x14c390,_0x399501){const _0x39080f=_0x3d5482;this[_0x39080f(0x1c3)]['set'](_0x14c390,_0x399501),this[_0x39080f(0x2e3)]();}[_0x3d5482(0x1b7)](_0x34f229,_0x28231e){const _0x1aa960=_0x3d5482;let _0x34f369=[],_0x318669=_0x28231e,_0x25e430=_0x28231e;for(let _0x3046c9=_0x34f229[_0x1aa960(0x2cd)]-0x1;_0x3046c9>=0x0;_0x3046c9--){let {unitID:_0x2e620f,undoMutations:_0x27ad10,redoMutations:_0x89a894}=_0x34f229[_0x3046c9],_0x3eb3f8=this[_0x1aa960(0x14f)]['transformMutationsWithChangeset'](_0x318669,_0x27ad10),_0x3b1fe4=this[_0x1aa960(0x14f)][_0x1aa960(0xb7)](_0x25e430,_0x89a894);if(_0xabf13e(_0x3eb3f8)||_0xabf13e(_0x3b1fe4)){this[_0x1aa960(0x1b2)][_0x1aa960(0x167)](_0x1aa960(0x2f5),_0x1aa960(0x1ab),_0x3eb3f8,_0x3b1fe4);break;}_0x318669=_0x3eb3f8[_0x1aa960(0x2d5)],_0x25e430=_0x3b1fe4[_0x1aa960(0x2d5)],_0x34f369[_0x1aa960(0x2e8)]({'unitID':_0x2e620f,'undoMutations':_0x3eb3f8[_0x1aa960(0x143)],'redoMutations':_0x3b1fe4['m2Prime']});}return _0x34f369[_0x1aa960(0x19c)]();}};vn=L([I(0x0,_0x5c02d5),I(0x1,_0x2169d2),I(0x2,_0x1f346b),I(0x3,_0x3a3a3e),I(0x4,_0x2fc9db)],vn);let $=class extends _0x30a3cc{constructor(_0x1ab311={},_0xb9a2d,_0x554b16,_0x266078){const _0x109044=_0x3d5482;super(),this[_0x109044(0x17c)]=_0x1ab311,this[_0x109044(0x1b2)]=_0xb9a2d,this[_0x109044(0xee)]=_0x554b16,this[_0x109044(0x1fe)]=_0x266078;let {..._0x768245}=_0x1f7958({},Pt,_0x1ab311);if(!_0x768245['socketService'])throw Error(_0x109044(0x171));this[_0x109044(0x17c)]=_0x768245,this[_0x109044(0x1fe)]['setConfig'](H,_0x768245);}[_0x3d5482(0x107)](){const _0x3a49f6=_0x3d5482;this[_0x3a49f6(0x188)](),this[_0x3a49f6(0x23a)]();}['_registerDependencies'](){const _0x58db8c=_0x3d5482;var _0x11f380,_0x3dc60e;this[_0x58db8c(0xee)][_0x58db8c(0xbb)](_0x32e478)&&this[_0x58db8c(0x1b2)]['error'](_0x58db8c(0x24d),_0x58db8c(0x224));let _0x2f4a8d=_0x2a8c1e([[_0x32e478,{'useClass':vn}],[Q],[R],[V],[on],[dn],[Et],[gn],[F],[fn],[Qt,{'useClass':this[_0x58db8c(0x17c)]['socketService']}],[_0x244f88,{'useClass':_n}],[_0x9712e3,{'useClass':sn}],[_0x1ca7f,{'useClass':mn}],[_0x46a626,{'useClass':hn}],[tn],[an]],(_0x11f380=this[_0x58db8c(0x17c)])==null?void 0x0:_0x11f380[_0x58db8c(0x2e4)]);if(!((_0x3dc60e=this[_0x58db8c(0x17c)])!=null&&_0x3dc60e['enableSingleActiveInstanceLock'])){let _0x4ede50=_0x2f4a8d[_0x58db8c(0x18f)](([_0x52dc13])=>_0x52dc13===Mt);_0x4ede50!==-0x1&&_0x2f4a8d[_0x58db8c(0x301)](_0x4ede50,0x1);}_0xb73fe2(this[_0x58db8c(0xee)],_0x2f4a8d);}[_0x3d5482(0x23a)](){const _0x13d2db=_0x3d5482;var _0x1d8333,_0x1805fd;if(this[_0x13d2db(0xee)]['get'](_0x2641c7)[_0x13d2db(0x1b5)]({'priority':0x14,'interceptor':_0x3e8a7e({'maxParallel':0x6})}),!((_0x1d8333=this[_0x13d2db(0x17c)])!=null&&_0x1d8333[_0x13d2db(0xc7)])){var _0x179b5c;(_0x179b5c=this['_injector'][_0x13d2db(0x1c1)](B,_0x52ca89[_0x13d2db(0x1fa)]))==null||_0x179b5c[_0x13d2db(0x198)]();}(_0x1805fd=this['_config'])!=null&&_0x1805fd[_0x13d2db(0x2e7)]&&_0x46096c(this[_0x13d2db(0xee)],[[on]]),_0x46096c(this[_0x13d2db(0xee)],[[dn],[tn],[gn]]);}};N($,_0x3d5482(0x170),_0x3d5482(0xe5)),N($,_0x3d5482(0x208),nn),N($,_0x3d5482(0x1f1),rn),$=L([_0x469f86(_0x52c865,_0x3181fb,_0x5d3154),I(0x1,_0x2fc9db),I(0x2,_0x528933(_0x2f9ec4)),I(0x3,_0x34eea4)],$);export{sn as AuthzIoHttpService,q as AwaitingState,J as AwaitingWithPendingState,H as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,tn as CollaborationController,Kt as CollaborationEntity,mn as CollaborationImageIoService,kt as CollaborationSession,Q as CollaborationSessionService,en as CollaborationSocketService,U as CollaborationStatus,P as CollaborationUIEventId,F as CollaborationUIEventService,vn as CollaborativeUndoRedoService,Et as CommentService,Y as ConflictState,ft as DEFAULT_COLLAB_WEB_SOCKET_URL,xt as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,pt as DEFAULT_WS_SESSION_TICKET_URL,fn as DataLoaderService,qt as DocCollaborationEntity,Z as FetchingMissState,mt as HEARTBEAT_INTERVAL_KEY,ht as HEARTBEAT_TIMEOUT_KEY,Qt as ICollaborationSocketService,B as ILocalCacheService,Yt as INetworkConditionService,Mt as ISingleActiveUnitService,yt as LOCAL_CACHE_INTERVAL,vt as LOCAL_CACHE_INTERVAL_KEY,R as MemberService,hn as MentionIoHttpService,X as OfflineState,K as PendingState,bt as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,_t as RETRY_CONNECTING_MAX_COUNT_KEY,z as SessionStatus,Jt as SheetCollaborationEntity,V as SheetTransformSelectionsService,_n as SnapshotServerOverHTTPService,G as SyncedState,Nt as UnitStatus,$ as UniverCollaborationClientPlugin,Xt as deserializeToCombResponse,At as getLocalCacheKey,Zt as serializeCombRequest};
|