@univerjs-pro/collaboration-client 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var _0x16f01c=_0x2af7;(function(_0xfb5ff1,_0x10dfe3){var _0x8b71dd=_0x2af7,_0x14ab92=_0xfb5ff1();while(!![]){try{var _0x37cd32=-parseInt(_0x8b71dd(0x287))/0x1*(-parseInt(_0x8b71dd(0x15d))/0x2)+parseInt(_0x8b71dd(0x1d3))/0x3*(-parseInt(_0x8b71dd(0x2cc))/0x4)+-parseInt(_0x8b71dd(0x3c3))/0x5*(-parseInt(_0x8b71dd(0x206))/0x6)+-parseInt(_0x8b71dd(0x171))/0x7+-parseInt(_0x8b71dd(0x41f))/0x8*(-parseInt(_0x8b71dd(0x195))/0x9)+-parseInt(_0x8b71dd(0x160))/0xa+parseInt(_0x8b71dd(0x1aa))/0xb*(-parseInt(_0x8b71dd(0x114))/0xc);if(_0x37cd32===_0x10dfe3)break;else _0x14ab92['push'](_0x14ab92['shift']());}catch(_0x14f268){_0x14ab92['push'](_0x14ab92['shift']());}}}(_0xe9bb,0xa47c6));var bi=Object[_0x16f01c(0x2b9)],Di=(_0x5ee4ec,_0xb0f397,_0x54cd2d)=>_0xb0f397 in _0x5ee4ec?bi(_0x5ee4ec,_0xb0f397,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54cd2d}):_0x5ee4ec[_0xb0f397]=_0x54cd2d,D=(_0x37018c,_0x2640c1,_0x4284cf)=>Di(_0x37018c,typeof _0x2640c1!=_0x16f01c(0x40a)?_0x2640c1+'':_0x2640c1,_0x4284cf);import{CollaborationEvent as _0x5d931e,ITransformService as _0x24d75d,isTransformMutationsWithChangesetSuccess as _0x5c13df,mapDocumentTypeToUniverType as _0x3ec77f,RevisionService as _0x587581,isTransformChangesetsSuccess as _0x58320f,EmptyMutationInfo as _0x1882f6,CompressMutationService as _0x430c60,parseProtocolChangeset as _0x334361,uuidv4 as _0x2054da,ISnapshotServerService as _0x3bb936,parseChangesetToProtocol as _0x5158f9,SnapshotService as _0x195402,textEncoder as _0x75428d,b64DecodeUnicode as _0x5c183f,isTransformMutationsWithChangesetFailure as _0x222ad6,UniverCollaborationPlugin as _0x52e080}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2fe86b,Inject as _0x39a463,UserManagerService as _0x59c0f5,Disposable as _0x4cf69f,UniverInstanceType as _0x36f965,ILogService as _0x46c731,IConfigService as _0x5b80dc,Optional as _0x23ad4d,RxDisposable as _0x28ec07,createIdentifier as _0xdd7a4d,Injector as _0x487d01,Tools as _0x102be8,Rectangle as _0x35a369,ICommandService as _0x14b5ce,JSONX as _0x12e75e,IUndoRedoService as _0x26b5a7,IPermissionService as _0x2aca0e,LocaleService as _0x2d14a8,sequenceExecute as _0x2f9d40,toDisposable as _0x5615b1,CommandType as _0x17c949,DisposableCollection as _0x18bb07,Workbook as _0x319761,generateRandomId as _0x48f790,MentionType as _0x313e0b,isInternalEditorID as _0x3fe92c,LocalUndoRedoService as _0x562171,IContextService as _0x1849e0,DependentOn as _0xc9b64b,Plugin as _0xc16ecc,merge as _0x5e6178,mergeOverrideWithDependencies as _0x23ae68,IAuthzIoService as _0x3d5b78,IMentionIOService as _0x2dca66,registerDependencies as _0x2103e8,Quantity as _0x2117f7,touchDependencies as _0x42c8a7}from'@univerjs/core';import{RichTextEditingMutation as _0x33b06f}from'@univerjs/docs';import{SheetsSelectionsService as _0xb67d0a,SetSelectionsOperation as _0x5b6212,InsertSheetMutation as _0x9ef5e,WorkbookEditablePermission as _0x2f7775,SheetPermissionInitController as _0x557bbb}from'@univerjs/sheets';import{Subject as _0x4a9940,merge as _0x596e66,of as _0x3a0627,BehaviorSubject as _0x310797,takeUntil as _0x55796d,ReplaySubject as _0x13128a,take as _0x12d218,map as _0x1da0af,shareReplay as _0x156053,firstValueFrom as _0x4307ca,concatMap as _0x1c7141}from'rxjs';import{ITelemetryService as _0x4f33d4}from'@univerjs/telemetry';import{map as _0x971c50,take as _0x5ab4f4,filter as _0xabf85c,delay as _0x57f9e9,takeUntil as _0x56b980}from'rxjs/operators';import{HTTPService as _0x2e0fa2,ISocketService as _0x30773f,MergeInterceptorFactory as _0x52bcb8,HTTPRequest as _0x2816eb,UniverNetworkPlugin as _0x4b4a84,ThresholdInterceptorFactory as _0x446aab}from'@univerjs/network';import{ImageSourceType as _0x57808e,ImageUploadStatusType as _0x48d8a2,IImageIoService as _0x378e02}from'@univerjs/drawing';import{getGlobalObject as _0x133b38}from'@univerjs-pro/license';const fs='/universer-api/snapshot',vs=_0x16f01c(0x212),ps=0x7d0,Es='ws://127.0.0.1:8000/universer-api/comb/connect',Sr=_0x16f01c(0x29a),ms='HEARTBEAT_INTERVAL',Is=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Ss=0x4e20,gs=_0x16f01c(0x2d6),Ts=0x3,gr=_0x16f01c(0x2a7),Tr=0x3e8,Os=_0x16f01c(0x102),Rs=_0x16f01c(0x356),Or=_0x16f01c(0x24a),Rr=_0x16f01c(0x27f);var vi=(_0x26dffe=>(_0x26dffe[_0x26dffe['UNDEFINED']=0x0]=_0x16f01c(0x1ae),_0x26dffe[_0x26dffe['OK']=0x1]='OK',_0x26dffe[_0x26dffe[_0x16f01c(0x1d9)]=0x2]=_0x16f01c(0x1d9),_0x26dffe[_0x26dffe['PERMISSION_DENIED']=0x3]=_0x16f01c(0x22b),_0x26dffe[_0x26dffe[_0x16f01c(0x31b)]=0x4]=_0x16f01c(0x31b),_0x26dffe[_0x26dffe[_0x16f01c(0x3dc)]=0x5]=_0x16f01c(0x3dc),_0x26dffe[_0x26dffe[_0x16f01c(0x417)]=0x6]=_0x16f01c(0x417),_0x26dffe[_0x26dffe[_0x16f01c(0x251)]=0x7]=_0x16f01c(0x251),_0x26dffe[_0x26dffe[_0x16f01c(0x185)]=0x8]='TOO_MANY_REQUESTS',_0x26dffe[_0x26dffe[_0x16f01c(0x3d4)]=0x9]=_0x16f01c(0x3d4),_0x26dffe[_0x26dffe['LOGIN_FAILED']=0xa]=_0x16f01c(0x2e8),_0x26dffe[_0x26dffe[_0x16f01c(0x20d)]=0xb]=_0x16f01c(0x20d),_0x26dffe[_0x26dffe[_0x16f01c(0x259)]=0xc]=_0x16f01c(0x259),_0x26dffe[_0x26dffe[_0x16f01c(0x11d)]=0xd]=_0x16f01c(0x11d),_0x26dffe[_0x26dffe['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x16f01c(0x284),_0x26dffe[_0x26dffe[_0x16f01c(0x382)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x26dffe[_0x26dffe[_0x16f01c(0x170)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x26dffe[_0x26dffe[_0x16f01c(0x1fd)]=0x64]=_0x16f01c(0x1fd),_0x26dffe[_0x26dffe[_0x16f01c(0x1df)]=0x65]='ERROR_AGAIN',_0x26dffe[_0x26dffe[_0x16f01c(0x1d2)]=0xc9]=_0x16f01c(0x1d2),_0x26dffe[_0x26dffe[_0x16f01c(0x17a)]=0xca]='USER_IS_ANONYMOUS',_0x26dffe[_0x26dffe[_0x16f01c(0x418)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x26dffe[_0x26dffe[_0x16f01c(0x27e)]=0x1771]=_0x16f01c(0x27e),_0x26dffe[_0x26dffe[_0x16f01c(0x2b4)]=0x1772]=_0x16f01c(0x2b4),_0x26dffe[_0x26dffe[_0x16f01c(0x3b8)]=0x1773]=_0x16f01c(0x3b8),_0x26dffe[_0x26dffe[_0x16f01c(0x23e)]=0x1b59]=_0x16f01c(0x23e),_0x26dffe[_0x26dffe[_0x16f01c(0x1b0)]=0x1b5a]=_0x16f01c(0x1b0),_0x26dffe[_0x26dffe[_0x16f01c(0x1a0)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x26dffe[_0x26dffe['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x16f01c(0x142),_0x26dffe[_0x26dffe[_0x16f01c(0x38b)]=0x1b5d]='APPLY_DUPLICATED',_0x26dffe[_0x26dffe['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x26dffe[_0x26dffe[_0x16f01c(0x404)]=0x2329]=_0x16f01c(0x404),_0x26dffe[_0x26dffe[_0x16f01c(0x260)]=0x232a]=_0x16f01c(0x260),_0x26dffe[_0x26dffe[_0x16f01c(0x37e)]=0x232b]=_0x16f01c(0x37e),_0x26dffe[_0x26dffe[_0x16f01c(0x209)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x26dffe[_0x26dffe[_0x16f01c(0x3d7)]=0x232d]=_0x16f01c(0x3d7),_0x26dffe[_0x26dffe[_0x16f01c(0x28e)]=0x2711]=_0x16f01c(0x28e),_0x26dffe[_0x26dffe[_0x16f01c(0x333)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x26dffe[_0x26dffe[_0x16f01c(0x237)]=0x2713]=_0x16f01c(0x237),_0x26dffe[_0x26dffe['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x16f01c(0x23c),_0x26dffe[_0x26dffe[_0x16f01c(0x1a1)]=0x271a]=_0x16f01c(0x1a1),_0x26dffe[_0x26dffe[_0x16f01c(0x300)]=0x271b]=_0x16f01c(0x300),_0x26dffe[_0x26dffe[_0x16f01c(0x16a)]=0x271c]=_0x16f01c(0x16a),_0x26dffe[_0x26dffe[_0x16f01c(0x362)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x26dffe[_0x26dffe[_0x16f01c(0x290)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x26dffe[_0x26dffe[_0x16f01c(0x14e)]=0x271f]=_0x16f01c(0x14e),_0x26dffe[_0x26dffe[_0x16f01c(0x2e3)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x186)]=0x2af9]=_0x16f01c(0x186),_0x26dffe[_0x26dffe[_0x16f01c(0x241)]=0x2ee1]=_0x16f01c(0x241),_0x26dffe[_0x26dffe['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x26dffe[_0x26dffe[_0x16f01c(0x100)]=0x2ee3]=_0x16f01c(0x100),_0x26dffe[_0x26dffe[_0x16f01c(0x1be)]=0x2ee4]=_0x16f01c(0x1be),_0x26dffe[_0x26dffe[_0x16f01c(0x36b)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x2d0)]=0x32c9]=_0x16f01c(0x2d0),_0x26dffe[_0x26dffe[_0x16f01c(0x1a7)]=0x32ca]=_0x16f01c(0x1a7),_0x26dffe[_0x26dffe['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x26dffe[_0x26dffe[_0x16f01c(0x334)]=0x36b1]=_0x16f01c(0x334),_0x26dffe[_0x26dffe[_0x16f01c(0x157)]=0x36b2]=_0x16f01c(0x157),_0x26dffe[_0x26dffe[_0x16f01c(0x359)]=0x36b3]=_0x16f01c(0x359),_0x26dffe[_0x26dffe[_0x16f01c(0x2a0)]=0x36b4]=_0x16f01c(0x2a0),_0x26dffe[_0x26dffe[_0x16f01c(0x1b6)]=0x3715]=_0x16f01c(0x1b6),_0x26dffe[_0x26dffe[_0x16f01c(0x1b4)]=0x3716]=_0x16f01c(0x1b4),_0x26dffe[_0x26dffe[_0x16f01c(0x38e)]=0x3717]=_0x16f01c(0x38e),_0x26dffe[_0x26dffe[_0x16f01c(0x240)]=0x37dd]=_0x16f01c(0x240),_0x26dffe[_0x26dffe[_0x16f01c(0x397)]=0x3a99]=_0x16f01c(0x397),_0x26dffe[_0x26dffe[_0x16f01c(0x2db)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x26dffe[_0x26dffe['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x26dffe[_0x26dffe[_0x16f01c(0x2d2)]=0x3a9c]=_0x16f01c(0x2d2),_0x26dffe[_0x26dffe[_0x16f01c(0x400)]=0x3a9d]=_0x16f01c(0x400),_0x26dffe[_0x26dffe[_0x16f01c(0x3c4)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x26dffe[_0x26dffe[_0x16f01c(0x231)]=0x3a9f]=_0x16f01c(0x231),_0x26dffe[_0x26dffe[_0x16f01c(0x276)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x26dffe[_0x26dffe[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x26dffe))(vi||{}),Q=(_0x144a84=>(_0x144a84[_0x144a84[_0x16f01c(0x111)]=0x0]=_0x16f01c(0x111),_0x144a84[_0x144a84['UNIVER_DOC']=0x1]=_0x16f01c(0x3b4),_0x144a84[_0x144a84[_0x16f01c(0x10e)]=0x2]=_0x16f01c(0x10e),_0x144a84[_0x144a84[_0x16f01c(0x1c2)]=0x3]='UNIVER_SLIDE',_0x144a84[_0x144a84[_0x16f01c(0x2c3)]=0x4]=_0x16f01c(0x2c3),_0x144a84[_0x144a84[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x144a84))(Q||{}),j=(_0x290873=>(_0x290873[_0x290873[_0x16f01c(0x183)]=0x0]='UNKNOWN_CMD',_0x290873[_0x290873[_0x16f01c(0x3db)]=0x1]=_0x16f01c(0x3db),_0x290873[_0x290873['JOIN']=0x2]=_0x16f01c(0x317),_0x290873[_0x290873[_0x16f01c(0x1eb)]=0x3]=_0x16f01c(0x1eb),_0x290873[_0x290873[_0x16f01c(0x1cd)]=0x4]='INGEST',_0x290873[_0x290873[_0x16f01c(0x3b3)]=0x5]=_0x16f01c(0x3b3),_0x290873[_0x290873[_0x16f01c(0x35a)]=0x6]=_0x16f01c(0x35a),_0x290873[_0x290873[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0x290873))(j||{}),pe=(_0x331fab=>(_0x331fab[_0x331fab[_0x16f01c(0x175)]=0x0]=_0x16f01c(0x175),_0x331fab[_0x331fab['OK']=0x1]='OK',_0x331fab[_0x331fab[_0x16f01c(0x274)]=0x2]='FAIL',_0x331fab[_0x331fab[_0x16f01c(0x344)]=0x3e9]=_0x16f01c(0x344),_0x331fab[_0x331fab[_0x16f01c(0x258)]=0x3ea]=_0x16f01c(0x258),_0x331fab[_0x331fab[_0x16f01c(0x1c7)]=0x3eb]=_0x16f01c(0x1c7),_0x331fab[_0x331fab[_0x16f01c(0x120)]=0x3ec]=_0x16f01c(0x120),_0x331fab[_0x331fab['UNRECOGNIZED']=-0x1]=_0x16f01c(0x41a),_0x331fab))(pe||{}),pi=(_0xdebef1=>(_0xdebef1[_0xdebef1[_0x16f01c(0x293)]=0x0]=_0x16f01c(0x293),_0xdebef1[_0xdebef1[_0x16f01c(0x3ff)]=0x1]='HttpImport',_0xdebef1[_0xdebef1[_0x16f01c(0x156)]=0x2]=_0x16f01c(0x156),_0xdebef1[_0xdebef1['UnitEmbedded']=0x3]=_0x16f01c(0x338),_0xdebef1[_0xdebef1['UnitSnapshot']=0x4]=_0x16f01c(0x3ef),_0xdebef1[_0xdebef1['UserProfileImg']=0x5]=_0x16f01c(0x313),_0xdebef1[_0xdebef1['ClipsheetFragments']=0x6]='ClipsheetFragments',_0xdebef1[_0xdebef1[_0x16f01c(0x41a)]=-0x1]=_0x16f01c(0x41a),_0xdebef1))(pi||{});const Cs=_0x16f01c(0x372);function Ns(_0x312c41){var _0x421626=_0x16f01c;return JSON['stringify'](_0x312c41)[_0x421626(0x389)];}var re=(_0x10a86f=>(_0x10a86f[_0x16f01c(0x184)]='OTHER_CLIENT_EDITING',_0x10a86f[_0x16f01c(0x22b)]=_0x16f01c(0x22b),_0x10a86f[_0x16f01c(0x169)]=_0x16f01c(0x169),_0x10a86f[_0x16f01c(0x396)]='CLOSE_ROOM',_0x10a86f[_0x16f01c(0x39b)]=_0x16f01c(0x39b),_0x10a86f[_0x16f01c(0x10a)]=_0x16f01c(0x10a),_0x10a86f[_0x16f01c(0x2f2)]='SOCKET_FAILED',_0x10a86f['SUBMIT_CHANGESET_TIMEOUT']=_0x16f01c(0x35f),_0x10a86f))(re||{});class ve{constructor(){var _0x3d7e33=_0x16f01c;D(this,'_event$',new _0x4a9940()),D(this,_0x3d7e33(0x366),this[_0x3d7e33(0x1a9)][_0x3d7e33(0x2d4)]());}[_0x16f01c(0x10c)](_0x2dd056){var _0x43d6f5=_0x16f01c;this[_0x43d6f5(0x1a9)]['next'](_0x2dd056);}}class Ei{constructor(){var _0x5d11cf=_0x16f01c;D(this,_0x5d11cf(0x245),new _0x4a9940()),D(this,_0x5d11cf(0x18f),this[_0x5d11cf(0x245)][_0x5d11cf(0x2d4)]());}[_0x16f01c(0x270)](_0x1d3ede){var _0x4094ad=_0x16f01c;this[_0x4094ad(0x245)]['next'](_0x1d3ede);}}var bs=Object['getOwnPropertyDescriptor'],Ds=(_0x5f0698,_0x5ec685,_0x102125,_0x228785)=>{var _0x3fe6a2=_0x16f01c;for(var _0x561a46=_0x228785>0x1?void 0x0:_0x228785?bs(_0x5ec685,_0x102125):_0x5ec685,_0x1ecea0=_0x5f0698[_0x3fe6a2(0x389)]-0x1,_0x5f4b38;_0x1ecea0>=0x0;_0x1ecea0--)(_0x5f4b38=_0x5f0698[_0x1ecea0])&&(_0x561a46=_0x5f4b38(_0x561a46)||_0x561a46);return _0x561a46;},Ft=(_0x47181e,_0x2728b5)=>(_0x5e07d7,_0x136c5a)=>_0x2728b5(_0x5e07d7,_0x136c5a,_0x47181e);let Pe=class extends _0x4cf69f{constructor(_0x39d68a,_0x437c62){var _0x110e72=_0x16f01c;super(),D(this,_0x110e72(0x21e),new Map()),D(this,_0x110e72(0x1fb),new _0x4a9940()),(this[_0x110e72(0x373)]=_0x39d68a,this[_0x110e72(0x21f)]=_0x437c62,this[_0x110e72(0x107)](_0x596e66(this[_0x110e72(0x373)]['getTypeOfUnitDisposed$'](_0x36f965['UNIVER_SHEET'])[_0x110e72(0x36e)](_0x971c50(_0x5e5df0=>_0x5e5df0[_0x110e72(0x3f7)]())),this[_0x110e72(0x373)][_0x110e72(0x192)](_0x36f965[_0x110e72(0x3b4)])[_0x110e72(0x36e)](_0x971c50(_0x543a16=>_0x543a16[_0x110e72(0x3f7)]())),this[_0x110e72(0x373)]['getTypeOfUnitDisposed$'](_0x36f965[_0x110e72(0x1c2)])['pipe'](_0x971c50(_0x2f8c75=>_0x2f8c75[_0x110e72(0x3f7)]())))['subscribe'](_0x6875a2=>this[_0x110e72(0x1f0)](_0x6875a2))));}[_0x16f01c(0x108)](_0x2adcfb){var _0x5af99c=_0x16f01c;return this['_roomMembers'][_0x5af99c(0x1cb)](_0x2adcfb)?_0x3a0627(this[_0x5af99c(0x21e)]['get'](_0x2adcfb)):this[_0x5af99c(0x1fb)][_0x5af99c(0x36e)](_0x971c50(_0x18ad57=>{var _0x24f4fc=_0x5af99c;if(_0x18ad57===_0x2adcfb)return this[_0x24f4fc(0x21e)][_0x24f4fc(0x235)](_0x18ad57);}));}[_0x16f01c(0x20a)](_0x4c5938){var _0x3be296=_0x16f01c;this[_0x3be296(0x21f)][_0x3be296(0x20a)](_0x4c5938);}[_0x16f01c(0x130)](){var _0x5a82dc=_0x16f01c;return this['_userManagerService'][_0x5a82dc(0x130)]();}[_0x16f01c(0x218)](_0x4326e4,_0x445a26){var _0x53c98d=_0x16f01c;let _0x4843d4=this[_0x53c98d(0x21e)][_0x53c98d(0x235)](_0x4326e4);_0x4843d4||(_0x4843d4=new ys(),this[_0x53c98d(0x21e)][_0x53c98d(0x139)](_0x4326e4,_0x4843d4),this[_0x53c98d(0x1fb)][_0x53c98d(0x1ff)](_0x4326e4)),_0x4843d4[_0x53c98d(0x218)](_0x445a26);}['removeMember'](_0xb115b9,_0x1b2ade){var _0xfdc706=_0x16f01c;const _0x4082f6=this[_0xfdc706(0x21e)][_0xfdc706(0x235)](_0xb115b9);_0x4082f6&&_0x4082f6[_0xfdc706(0x12a)](_0x1b2ade);}[_0x16f01c(0x385)](_0x46a86c){var _0x515f85=_0x16f01c;return this['_roomMembers'][_0x515f85(0x235)](_0x46a86c);}[_0x16f01c(0x3e9)](_0x1c04dc,_0x1f14b1){var _0x49ad4e=_0x16f01c;const _0x52aa02=this[_0x49ad4e(0x21e)][_0x49ad4e(0x235)](_0x1c04dc);if(_0x52aa02)return _0x52aa02[_0x49ad4e(0x3e9)](_0x1f14b1);}['_removeRoom'](_0x1f34ae){var _0x2b9d66=_0x16f01c;const _0x4d040e=this[_0x2b9d66(0x21e)][_0x2b9d66(0x235)](_0x1f34ae);_0x4d040e&&(_0x4d040e[_0x2b9d66(0x1d1)](),this[_0x2b9d66(0x21e)][_0x2b9d66(0x12b)](_0x1f34ae));}['dispose'](){var _0x2244ea=_0x16f01c;this[_0x2244ea(0x21e)][_0x2244ea(0x17f)](_0x14bc6b=>_0x14bc6b['dispose']()),this[_0x2244ea(0x21e)][_0x2244ea(0x280)](),this[_0x2244ea(0x1fb)][_0x2244ea(0x199)]();}};Pe=Ds([Ft(0x0,_0x2fe86b),Ft(0x1,_0x39a463(_0x59c0f5))],Pe);class ys extends _0x4cf69f{constructor(){var _0x189ba5=_0x16f01c;super(...arguments),D(this,_0x189ba5(0x239),new Map()),D(this,_0x189ba5(0x253),new _0x310797(this[_0x189ba5(0x239)])),D(this,_0x189ba5(0x1c0),this[_0x189ba5(0x253)]['asObservable']());}[_0x16f01c(0x1d1)](){var _0x48e839=_0x16f01c;this['_members'][_0x48e839(0x280)]();}[_0x16f01c(0x218)](_0x2c45dc){var _0x5c27cf=_0x16f01c;this['_members'][_0x5c27cf(0x139)](_0x2c45dc['memberID'],_0x2c45dc),this[_0x5c27cf(0x3df)]();}[_0x16f01c(0x12a)](_0x5e5dc5){var _0x3bed3b=_0x16f01c;this[_0x3bed3b(0x239)]['delete'](_0x5e5dc5);}[_0x16f01c(0x3e9)](_0x5d31cd){var _0x4715a3=_0x16f01c;return this[_0x4715a3(0x239)][_0x4715a3(0x235)](_0x5d31cd);}[_0x16f01c(0x2eb)](){var _0x58bee1=_0x16f01c;return Array[_0x58bee1(0x3c8)](this[_0x58bee1(0x239)][_0x58bee1(0x118)]());}[_0x16f01c(0x3df)](){var _0x51edf8=_0x16f01c;this[_0x51edf8(0x253)][_0x51edf8(0x1ff)](this[_0x51edf8(0x239)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x43993c,_0x1bff7b,_0x264723,_0x5f0e34)=>{var _0x23731d=_0x16f01c;for(var _0x3925a6=_0x5f0e34>0x1?void 0x0:_0x5f0e34?Us(_0x1bff7b,_0x264723):_0x1bff7b,_0x1fc7c7=_0x43993c[_0x23731d(0x389)]-0x1,_0x3e8b58;_0x1fc7c7>=0x0;_0x1fc7c7--)(_0x3e8b58=_0x43993c[_0x1fc7c7])&&(_0x3925a6=_0x3e8b58(_0x3925a6)||_0x3925a6);return _0x3925a6;},Oe=(_0x512262,_0x1e7434)=>(_0x2c7716,_0x2fd677)=>_0x1e7434(_0x2c7716,_0x2fd677,_0x512262),me=(_0x56c341=>(_0x56c341[_0x56c341[_0x16f01c(0x416)]=0x0]='IDLE',_0x56c341[_0x56c341[_0x16f01c(0x3da)]=0x1]=_0x16f01c(0x3da),_0x56c341[_0x56c341[_0x16f01c(0x285)]=0x2]=_0x16f01c(0x285),_0x56c341[_0x56c341[_0x16f01c(0x187)]=0x3]=_0x16f01c(0x187),_0x56c341))(me||{});const jt={[pe[_0x16f01c(0x274)]]:_0x16f01c(0x168),[pe[_0x16f01c(0x344)]]:_0x16f01c(0x32a),[pe[_0x16f01c(0x258)]]:_0x16f01c(0x207),[pe[_0x16f01c(0x1c7)]]:_0x16f01c(0x28b),[pe[_0x16f01c(0x120)]]:_0x16f01c(0x265)};let mt=class extends _0x28ec07{constructor(_0x393a51,_0xa5aaff,_0x13d96c,_0x1457a1,_0x465107,_0x4672d8,_0x1ac758,_0xc848cc){var _0x13f9d0=_0x16f01c;super(),D(this,'_sessionStatus$',new _0x310797(0x0)),D(this,_0x13f9d0(0x29f),this[_0x13f9d0(0x33c)][_0x13f9d0(0x2d4)]()),D(this,_0x13f9d0(0x1a9),new _0x4a9940()),D(this,_0x13f9d0(0x366),this[_0x13f9d0(0x1a9)][_0x13f9d0(0x2d4)]()),D(this,_0x13f9d0(0x28a)),D(this,'_socketMessageSubscription'),D(this,'_collaborationTimeoutTimer'),D(this,_0x13f9d0(0x3e5),!0x1),D(this,'_telemetryInfo',null),(this['_unitID']=_0x393a51,this[_0x13f9d0(0x36c)]=_0x13d96c,this[_0x13f9d0(0x1ce)]=_0x1457a1,this[_0x13f9d0(0x3e8)]=_0x465107,this[_0x13f9d0(0x2f4)]=_0x4672d8,this['_collaborationUIEventService']=_0x1ac758,this[_0x13f9d0(0x216)]=_0xc848cc,this['_shouldReportTelemetry']=!!this[_0x13f9d0(0x216)],_0xa5aaff['pipe'](_0x55796d(this[_0x13f9d0(0x19b)]))[_0x13f9d0(0x33f)](_0x36780e=>{var _0x1c3bd2=_0x13f9d0,_0x4029bf;typeof _0x36780e>'u'||(this['_socket']=_0x36780e,_0x36780e?(this['_joinRoom'](_0x36780e),this[_0x1c3bd2(0x12c)]=_0x36780e[_0x1c3bd2(0x420)]['subscribe'](_0x409ca8=>{var _0x5e93c8=_0x1c3bd2;_0x409ca8['routeKey']===this[_0x5e93c8(0x309)]&&this[_0x5e93c8(0x1bb)](_0x409ca8);})):(this[_0x1c3bd2(0x211)](),this['_sessionStatus$'][_0x1c3bd2(0x1ff)](0x2),(_0x4029bf=this[_0x1c3bd2(0x12c)])==null||_0x4029bf[_0x1c3bd2(0x148)](),this[_0x1c3bd2(0x12c)]=null));}));}get[_0x16f01c(0x31f)](){var _0x20c570=_0x16f01c;return this[_0x20c570(0x33c)][_0x20c570(0x3be)]();}[_0x16f01c(0x22a)](){var _0x30bc6f=_0x16f01c,_0x447a32,_0x5e0084;return(_0x5e0084=(_0x447a32=this['_socket'])==null?void 0x0:_0x447a32[_0x30bc6f(0x2fb)])!=null?_0x5e0084:null;}[_0x16f01c(0x1d1)](){var _0x1851af=_0x16f01c;super['dispose'](),this[_0x1851af(0x19b)]['next'](),this[_0x1851af(0x19b)][_0x1851af(0x199)]();}[_0x16f01c(0x2c6)](){var _0x5f43e8=_0x16f01c,_0x2a07ce,_0x42beb4;this[_0x5f43e8(0x211)](),(_0x2a07ce=this[_0x5f43e8(0x28a)])==null||_0x2a07ce['send']({'cmd':j[_0x5f43e8(0x1eb)],'data':{'roomID':this['_unitID']}}),(_0x42beb4=this['_socket'])==null||_0x42beb4['close'](),this[_0x5f43e8(0x1a9)]['complete'](),this[_0x5f43e8(0x33c)][_0x5f43e8(0x199)](),this[_0x5f43e8(0x1d1)]();}[_0x16f01c(0x1bb)](_0x490c3a){var _0x1196de=_0x16f01c;_0x490c3a[_0x1196de(0x395)]===j[_0x1196de(0x317)]?this['_onJoinRoomEvent'](_0x490c3a):_0x490c3a[_0x1196de(0x395)]===j[_0x1196de(0x35a)]&&this[_0x1196de(0x2f0)](_0x490c3a);}[_0x16f01c(0x2ce)](_0x402a5f){var _0x6de23a=_0x16f01c;this[_0x6de23a(0x33c)][_0x6de23a(0x1ff)](0x1),_0x402a5f['send']({'cmd':j[_0x6de23a(0x317)],'routeKey':this[_0x6de23a(0x309)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}['_onJoinRoomEvent'](_0x134573){var _0x358a35=_0x16f01c,_0x41b539;if(_0x134573[_0x358a35(0x3b2)]in jt){this['_collaborationUIEventService'][_0x358a35(0x10c)]({'id':re[_0x358a35(0x39b)],'data':jt[_0x134573['code']]}),this[_0x358a35(0x33c)][_0x358a35(0x1ff)](0x2);return;}this[_0x358a35(0x33c)]['next'](0x3);const _0x35f906=(_0x41b539=_0x134573[_0x358a35(0x3fc)][_0x358a35(0x289)][this[_0x358a35(0x309)]])==null?void 0x0:_0x41b539['members'];_0x35f906&&_0x35f906[_0x358a35(0x17f)](_0xcca4b4=>this[_0x358a35(0x3e8)][_0x358a35(0x218)](this[_0x358a35(0x309)],_0xcca4b4));}[_0x16f01c(0x2f0)](_0x1d8bb1){var _0x35d449=_0x16f01c;try{const _0x776251=_0x1d8bb1['data'];switch(_0x776251[_0x35d449(0x141)]){case _0x5d931e[_0x35d449(0x178)]:this[_0x35d449(0x119)](_0x776251),this[_0x35d449(0x1a9)]['next'](_0x776251);break;case _0x5d931e[_0x35d449(0x13a)]:this[_0x35d449(0x12f)](_0x776251),this['_event$'][_0x35d449(0x1ff)](_0x776251);break;case _0x5d931e[_0x35d449(0x2e6)]:case _0x5d931e['CHANGESET_SHOULD_RETRY']:this[_0x35d449(0x1e7)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x35d449(0x1ff)](_0x776251);break;case _0x5d931e[_0x35d449(0x1e3)]:this[_0x35d449(0x36c)]['error'](_0x35d449(0x357)+JSON[_0x35d449(0x2a1)](_0x776251)),this[_0x35d449(0x1a9)]['next'](_0x776251);break;case _0x5d931e[_0x35d449(0x1af)]:this[_0x35d449(0x2f4)][_0x35d449(0x270)](_0x776251[_0x35d449(0x3fc)]),this[_0x35d449(0x1a9)][_0x35d449(0x1ff)](_0x776251);break;default:this[_0x35d449(0x1a9)][_0x35d449(0x1ff)](_0x776251);}}catch(_0x3d13c6){this[_0x35d449(0x36c)]['error'](_0x3d13c6,_0x1d8bb1);}}['_onUserJoin'](_0x5bbb18){var _0x365386=_0x16f01c;this[_0x365386(0x3e8)][_0x365386(0x218)](this[_0x365386(0x309)],_0x5bbb18[_0x365386(0x3fc)]);}[_0x16f01c(0x12f)](_0x377386){var _0x5a9d62=_0x16f01c;this[_0x5a9d62(0x3e8)]['removeMember'](this[_0x5a9d62(0x309)],_0x377386[_0x5a9d62(0x3fc)][_0x5a9d62(0x2fb)]);}async[_0x16f01c(0x16e)](_0x31356e,_0x38799e){var _0x1e7fc5=_0x16f01c;if(this[_0x1e7fc5(0x31f)]!==0x3||!this[_0x1e7fc5(0x28a)])throw new Error(_0x1e7fc5(0x1f3));try{_0x31356e[_0x1e7fc5(0x141)]===_0x5d931e['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x1e7fc5(0x3ca)](_0x31356e)),this[_0x1e7fc5(0x28a)]['send']({'cmd':j[_0x1e7fc5(0x1cd)],'routeKey':_0x38799e,'routeType':'','data':_0x31356e});}catch(_0x2ed0fc){this[_0x1e7fc5(0x36c)][_0x1e7fc5(0x390)](_0x2ed0fc);}}[_0x16f01c(0x393)](){var _0x558d1c=_0x16f01c,_0x208983;this[_0x558d1c(0x40e)]=setTimeout(()=>{var _0x2869c6=_0x558d1c;this['_collaborationTimeoutTimer']=null,this[_0x2869c6(0x238)]['emitEvent']({'id':re[_0x2869c6(0x35f)]});},(_0x208983=this[_0x558d1c(0x1ce)][_0x558d1c(0x27b)](di))!=null?_0x208983:fi);}[_0x16f01c(0x2ef)](){var _0x68ca1d=_0x16f01c;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x68ca1d(0x40e)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x4041a6){var _0x540e13=_0x16f01c;if(!this[_0x540e13(0x3e5)])return;const {data:_0x48ca78}=_0x4041a6,{unitID:_0x464d50,changeset:_0x54c3ad}=_0x48ca78,{mutations:_0x2c4326,type:_0x1b4cf0}=_0x54c3ad;this[_0x540e13(0x1e9)]={'unitId':_0x464d50,'type':_0x1b4cf0,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x2c4326)};}[_0x16f01c(0x1e7)](){var _0xe0e3ef=_0x16f01c;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0xe0e3ef(0x36c)][_0xe0e3ef(0x390)](_0xe0e3ef(0x31c),_0xe0e3ef(0x125));return;}this[_0xe0e3ef(0x1e9)][_0xe0e3ef(0x30e)]=performance['now'](),this['_telemetryInfo']['duration']=this[_0xe0e3ef(0x1e9)][_0xe0e3ef(0x30e)]-this[_0xe0e3ef(0x1e9)]['startTime'],this[_0xe0e3ef(0x216)][_0xe0e3ef(0x277)](Cs,this[_0xe0e3ef(0x1e9)]),this['_telemetryInfo']=null;}}[_0x16f01c(0x211)](){var _0x9b3a6c=_0x16f01c;this[_0x9b3a6c(0x1e9)]=null;}};mt=As([Oe(0x2,_0x46c731),Oe(0x3,_0x5b80dc),Oe(0x4,_0x39a463(Pe)),Oe(0x5,_0x39a463(Ei)),Oe(0x6,_0x39a463(ve)),Oe(0x7,_0x23ad4d(_0x4f33d4))],mt);const J=_0xdd7a4d('collaboration-client.local-cache-service');function Cr(_0x343f49){var _0x14ac3d=_0x16f01c;return _0x14ac3d(0x401)+_0x343f49;}var Ps=Object[_0x16f01c(0x11f)],ws=(_0x58c9b3,_0x14e614,_0x3aec37,_0x4e87c8)=>{var _0x3e8976=_0x16f01c;for(var _0x1b59ac=_0x4e87c8>0x1?void 0x0:_0x4e87c8?Ps(_0x14e614,_0x3aec37):_0x14e614,_0x253378=_0x58c9b3[_0x3e8976(0x389)]-0x1,_0x472639;_0x253378>=0x0;_0x253378--)(_0x472639=_0x58c9b3[_0x253378])&&(_0x1b59ac=_0x472639(_0x1b59ac)||_0x1b59ac);return _0x1b59ac;},ut=(_0x4dbbfe,_0x46bdb8)=>(_0x1d0515,_0x168c26)=>_0x46bdb8(_0x1d0515,_0x168c26,_0x4dbbfe);function Ms(_0x326971){var _0x4fdea0=_0x16f01c;const {unitID:_0x297c99,mutations:_0x2abb29}=_0x326971;return{'unitId':_0x297c99,'subUnitId':_0x2abb29[_0x4fdea0(0x389)]>0x0?_0x2abb29[0x0]['params'][_0x4fdea0(0x32b)]:null};}let it=class{constructor(_0x4a4f61,_0x50aa15,_0x1f2a7a){var _0x92858f=_0x16f01c;this[_0x92858f(0x314)]=_0x4a4f61,this['_transformService']=_0x50aa15,this[_0x92858f(0x3d3)]=_0x1f2a7a;}[_0x16f01c(0x20e)](_0x58bc01){var _0x80b872=_0x16f01c,_0x58b889,_0x58ab57,_0x4b9d5e,_0x27708e;const _0x56b0da=this[_0x80b872(0x314)][_0x80b872(0x235)](_0xb67d0a),{unitId:_0x39520e,subUnitId:_0x81b8b2}=Ms(_0x58bc01),_0x2db50b=_0x56b0da==null?void 0x0:_0x56b0da[_0x80b872(0x331)](_0x39520e)[_0x80b872(0x320)](),_0x345df8=(_0x58ab57=(_0x58b889=this[_0x80b872(0x3d3)][_0x80b872(0x135)](_0x39520e))==null?void 0x0:_0x58b889['getActiveSheet']())==null?void 0x0:_0x58ab57[_0x80b872(0x3ae)]();if(_0x2db50b['length']===0x0||!_0x39520e||!_0x81b8b2)return;const _0x153792=[{'id':_0x5b6212['id'],'params':{'unitId':_0x39520e,'subUnitId':_0x345df8,'selections':_0x102be8[_0x80b872(0x112)](_0x2db50b)}}],_0xc36a5e=this['_transformService'][_0x80b872(0x2e1)](_0x58bc01,_0x153792);if(!_0x5c13df(_0xc36a5e))throw _0xc36a5e[_0x80b872(0x390)];const _0x27719d=(_0x27708e=(_0x4b9d5e=_0xc36a5e[_0x80b872(0x1ea)][0x0])==null?void 0x0:_0x4b9d5e[_0x80b872(0x2b2)])==null?void 0x0:_0x27708e[_0x80b872(0x1a3)];if(Array[_0x80b872(0x204)](_0x27719d)&&_0x27719d[_0x80b872(0x389)]){if(_0x27719d[_0x80b872(0x389)]===_0x153792[0x0][_0x80b872(0x2b2)][_0x80b872(0x1a3)]['length']&&_0x27719d[_0x80b872(0x18b)]((_0xc86d67,_0x38522f)=>_0x35a369['equals'](_0xc86d67[_0x80b872(0x1bd)],_0x153792[0x0][_0x80b872(0x2b2)][_0x80b872(0x1a3)][_0x38522f][_0x80b872(0x1bd)])))return;this[_0x80b872(0x314)][_0x80b872(0x235)](_0x14b5ce)[_0x80b872(0x20c)](_0x5b6212['id'],{'unitId':_0x39520e,'subUnitId':_0x345df8,'selections':_0x27719d});}}};it=ws([ut(0x0,_0x39a463(_0x487d01)),ut(0x1,_0x24d75d),ut(0x2,_0x2fe86b)],it);const _t=_0xdd7a4d(_0x16f01c(0x419));var mi=(_0xfbc597=>(_0xfbc597[_0xfbc597[_0x16f01c(0x33e)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xfbc597[_0xfbc597['OTHER_CLIENTS_EDITING']=0x1]=_0x16f01c(0x2cd),_0xfbc597))(mi||{});const K=_0x16f01c(0x355),Ls={},xs=new Set([_0x9ef5e['id']]);function Vt(_0x57e536,_0x32262f,_0x5c005c,_0x4f60d0,_0x4458a8){var _0x4ba698=_0x16f01c,_0x4a485b,_0x4170c8,_0x136b6c,_0x35501b;const _0x43e58e=[];for(const _0x43f55a of _0x57e536)if(xs['has'](_0x43f55a['id'])){if(_0x43e58e[_0x4ba698(0x389)]>0x0)break;_0x43e58e[_0x4ba698(0x288)](_0x43f55a);break;}else _0x43e58e[_0x4ba698(0x288)](_0x43f55a);const _0x32c3cc=(_0x4170c8=(_0x4a485b=_0x4458a8[_0x4ba698(0x130)]())==null?void 0x0:_0x4a485b[_0x4ba698(0x263)])!=null?_0x4170c8:_0x4ba698(0x39e),_0x52a67e=(_0x35501b=(_0x136b6c=_0x4458a8['getCurrentUser']())==null?void 0x0:_0x136b6c['memberID'])!=null?_0x35501b:'unknown';return{'changeset':{'unitID':_0x32262f,'type':_0x3ec77f(_0x5c005c[_0x4ba698(0x2d8)](_0x32262f)),'baseRev':_0x4f60d0[_0x4ba698(0x1d5)](_0x32262f),'revision':0x0,'userID':_0x32c3cc,'memberID':_0x52a67e,'mutations':_0x43e58e},'pendingMutations':_0x57e536[_0x4ba698(0x2fc)](_0x43e58e['length'])};}function ks(_0xa9ac13,_0x54be7c,_0x2952e4,_0x1f65ba,_0x48ac42){var _0x4fb941=_0x16f01c,_0x1f29d4,_0x34f401,_0x1d971d,_0x123489;const _0x415569=[_0xa9ac13['reduce']((_0x12dd64,_0x199cab)=>{var _0xef9a12=_0x2af7,_0x583de9;const {id:_0x2dd363}=_0x12dd64,{id:_0x12640e,type:_0x9e453c}=_0x199cab,_0x4731c1=(_0x583de9=_0x12dd64['params'])!=null?_0x583de9:{'actions':null},_0x32b74a=_0x199cab[_0xef9a12(0x2b2)];if(_0x2dd363&&_0x2dd363!==_0x12640e)throw new Error(_0xef9a12(0x26a)+_0x2dd363+_0xef9a12(0x2ab)+_0x12640e+'.');return{..._0x12dd64,'id':_0x12640e,'type':_0x9e453c,'params':{'unitId':_0x32b74a[_0xef9a12(0x220)],'textRanges':_0x32b74a[_0xef9a12(0x377)],'actions':_0x12e75e[_0xef9a12(0x22e)](_0x4731c1[_0xef9a12(0x278)],_0x32b74a[_0xef9a12(0x278)])}};},{})],_0x51e0f7=(_0x34f401=(_0x1f29d4=_0x48ac42[_0x4fb941(0x130)]())==null?void 0x0:_0x1f29d4['userID'])!=null?_0x34f401:_0x4fb941(0x39e),_0x32fdb5=(_0x123489=(_0x1d971d=_0x48ac42[_0x4fb941(0x130)]())==null?void 0x0:_0x1d971d[_0x4fb941(0x2fb)])!=null?_0x123489:_0x4fb941(0x39e);return{'changeset':{'unitID':_0x54be7c,'type':_0x3ec77f(_0x2952e4[_0x4fb941(0x2d8)](_0x54be7c)),'baseRev':_0x1f65ba[_0x4fb941(0x1d5)](_0x54be7c),'revision':0x0,'userID':_0x51e0f7,'memberID':_0x32fdb5,'mutations':_0x415569},'pendingMutations':[]};}function Ii(_0x5ac216,_0x33d90a){var _0x5b4693=_0x16f01c;const _0x2331f5=new _0x13128a(0x1);return setTimeout(()=>_0x2331f5[_0x5b4693(0x1ff)](_0x33d90a),_0x5ac216),_0x2331f5['asObservable']()[_0x5b4693(0x36e)](_0x12d218(0x1));}var $s=Object['getOwnPropertyDescriptor'],Se=(_0x410793,_0x3136e8,_0x411b47,_0x53b615)=>{var _0x3895d1=_0x16f01c;for(var _0x238ed0=_0x53b615>0x1?void 0x0:_0x53b615?$s(_0x3136e8,_0x411b47):_0x3136e8,_0x19c00e=_0x410793[_0x3895d1(0x389)]-0x1,_0x5c6bae;_0x19c00e>=0x0;_0x19c00e--)(_0x5c6bae=_0x410793[_0x19c00e])&&(_0x238ed0=_0x5c6bae(_0x238ed0)||_0x238ed0);return _0x238ed0;},w=(_0x46d56a,_0xa56b42)=>(_0x479b54,_0x266d8f)=>_0xa56b42(_0x479b54,_0x266d8f,_0x46d56a),Si=(_0x57f1bd=>(_0x57f1bd[_0x16f01c(0x166)]='not_collab',_0x57f1bd[_0x16f01c(0x273)]='synced',_0x57f1bd['PENDING']=_0x16f01c(0x3d9),_0x57f1bd[_0x16f01c(0x2b6)]=_0x16f01c(0x25f),_0x57f1bd[_0x16f01c(0x30b)]='awaiting_with_pending',_0x57f1bd[_0x16f01c(0x399)]=_0x16f01c(0x374),_0x57f1bd[_0x16f01c(0x169)]=_0x16f01c(0x228),_0x57f1bd['OFFLINE']=_0x16f01c(0x16f),_0x57f1bd))(Si||{});const gi=0xea60;class ge{constructor(_0xd5e4ed,_0x12be54,_0x143a41,_0xbfee07,_0x68fe0e,_0xe3e9ce,_0x2a4d44,_0x59cba0,_0x1bbf5f){var _0xe77367=_0x16f01c;D(this,_0xe77367(0x188),null),D(this,_0xe77367(0x1e5),[]),(this[_0xe77367(0x30d)]=_0xd5e4ed,this[_0xe77367(0x2f8)]=_0x12be54,this['_handler']=_0x68fe0e,this[_0xe77367(0x254)]=_0xe3e9ce,this['_undoRedoService']=_0x2a4d44,this[_0xe77367(0x3b6)]=_0x59cba0,this[_0xe77367(0x179)]=_0x1bbf5f,this[_0xe77367(0x188)]=_0x143a41,this[_0xe77367(0x1e5)]=_0xbfee07);}[_0x16f01c(0x20b)](_0x11ca9c){var _0x1e679e=_0x16f01c;const _0x5d5ce4=this[_0x1e679e(0x3b6)]['getCurrentRevOfUnit'](this[_0x1e679e(0x30d)]);return _0x11ca9c['revision']>_0x5d5ce4+0x1?(this['_handler'][_0x1e679e(0x242)]({'from':_0x5d5ce4,'to':_0x11ca9c['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x7ec66b){var _0x4dbd14=_0x16f01c;this[_0x4dbd14(0x222)][_0x4dbd14(0x2d9)](this['unitID'],_0x7ec66b);}[_0x16f01c(0x3f0)](_0x249ef8){var _0x425131=_0x16f01c,_0x1a0d1b,_0x5924cf;(_0x5924cf=(_0x1a0d1b=this[_0x425131(0x3f5)])[_0x425131(0x18a)])==null||_0x5924cf[_0x425131(0x136)](_0x1a0d1b,_0x249ef8);}[_0x16f01c(0x208)](_0xb7bacb){var _0x27fcb4=_0x16f01c,_0xf48aed,_0x370b49;return(_0x370b49=(_0xf48aed=this['_handler'])['onTransformIME'])==null?void 0x0:_0x370b49[_0x27fcb4(0x136)](_0xf48aed,_0xb7bacb);}[_0x16f01c(0x173)](_0x37560c){var _0x3e872b=_0x16f01c,_0x4c5156,_0x548db3;return(_0x548db3=(_0x4c5156=this[_0x3e872b(0x3f5)])[_0x3e872b(0x154)])==null?void 0x0:_0x548db3[_0x3e872b(0x136)](_0x4c5156,_0x37560c);}[_0x16f01c(0x3c9)](_0x4323ca){var _0x308b9e=_0x16f01c,_0x541b59,_0x3296e8,_0x3cd214;return(_0x3cd214=(_0x3296e8=(_0x541b59=this['_handler'])[_0x308b9e(0x215)])==null?void 0x0:_0x3296e8[_0x308b9e(0x136)](_0x541b59,_0x4323ca))!=null?_0x3cd214:_0x4323ca;}['_transformRemoteChangesetByStateCache'](_0x1e41cb){var _0x3acf9a=_0x16f01c,_0x29b4ff,_0x19a949,_0xd322c9;return(_0xd322c9=(_0x19a949=(_0x29b4ff=this[_0x3acf9a(0x3f5)])[_0x3acf9a(0x229)])==null?void 0x0:_0x19a949[_0x3acf9a(0x136)](_0x29b4ff,_0x1e41cb))!=null?_0xd322c9:_0x1e41cb;}[_0x16f01c(0x405)](_0x1fd369){var _0x4a3d19=_0x16f01c,_0x41daad,_0x4cca66;if(this['type']===Q[_0x4a3d19(0x3b4)]){const {unitID:_0x4f8fc9,mutations:_0x464b40,memberID:_0x246fea}=_0x1fd369,_0x3fb26f=_0x464b40[_0x4a3d19(0x389)]>0x0?_0x464b40[0x0][_0x4a3d19(0x2b2)][_0x4a3d19(0x377)]:[];Array['isArray'](_0x3fb26f)&&_0x3fb26f['length']>0x0&&((_0x4cca66=(_0x41daad=this[_0x4a3d19(0x3f5)])[_0x4a3d19(0x155)])==null||_0x4cca66[_0x4a3d19(0x136)](_0x41daad,{'unitID':_0x4f8fc9,'memberID':_0x246fea,'textRanges':_0x3fb26f}));}}['_updateLocalCache'](){var _0x518643=_0x16f01c,_0x101083;(_0x101083=this[_0x518643(0x179)])==null||_0x101083[_0x518643(0x1f8)](this[_0x518643(0x30d)],this[_0x518643(0x2f8)],this[_0x518643(0x188)],this[_0x518643(0x1e5)]);}[_0x16f01c(0x3bf)](){var _0x5077aa=_0x16f01c;return this['_revisionService'][_0x5077aa(0x1d5)](this[_0x5077aa(0x30d)]);}[_0x16f01c(0x2d5)](){var _0x2d0467=_0x16f01c;this[_0x2d0467(0x3b6)][_0x2d0467(0x2a6)](this[_0x2d0467(0x30d)]);}[_0x16f01c(0x3fe)](_0x595c22){var _0x6a420=_0x16f01c,_0xedc4fc;let _0x6ed43c=this[_0x6a420(0x3c9)](_0x595c22);_0x6ed43c=this[_0x6a420(0x3a9)](_0x6ed43c);const _0x1e6c2d=_0x2f9d40(_0x6ed43c[_0x6a420(0x193)],this[_0x6a420(0x254)],{'fromCollab':!0x0});if(!_0x1e6c2d[_0x6a420(0x226)])throw _0x1e6c2d[_0x6a420(0x390)]instanceof Error?_0x1e6c2d['error']:new Error((_0xedc4fc=_0x1e6c2d[_0x6a420(0x390)])!=null?_0xedc4fc:_0x6a420(0x32f));this[_0x6a420(0x208)](_0x6ed43c),this[_0x6a420(0x173)](_0x6ed43c),this[_0x6a420(0x2da)](_0x595c22),this[_0x6a420(0x3f0)](_0x6ed43c),this[_0x6a420(0x405)](_0x6ed43c),this[_0x6a420(0x2d5)]();}}let be=class extends ge{constructor(_0x14a137,_0x93e7e,_0x2a78c9,_0x1c1746,_0x5f1808,_0x342ec9,_0x3233b1,_0x59acc1,_0x39c0b0,_0x16d77d){var _0x5886f0=_0x16f01c;super(_0x14a137,_0x93e7e,null,[],_0x2a78c9,_0x3233b1,_0x342ec9,_0x1c1746,_0x16d77d),D(this,'status','synced'),(this[_0x5886f0(0x314)]=_0x5f1808,this[_0x5886f0(0x36c)]=_0x59acc1,this['_transformService']=_0x39c0b0,this['localCacheService']=_0x16d77d);}['appendMutation'](_0x5418d6){var _0xeaf1c7=_0x16f01c;const _0x76846=this[_0xeaf1c7(0x314)]['createInstance'](ae,this[_0xeaf1c7(0x30d)],this[_0xeaf1c7(0x2f8)],[_0x5418d6],this[_0xeaf1c7(0x3f5)]);return _0x76846[_0xeaf1c7(0x291)](),_0x76846[_0xeaf1c7(0x2ca)](),_0x76846;}[_0x16f01c(0x411)](_0x2491a1){var _0x49a94e=_0x16f01c;if(this['_checkMissing'](_0x2491a1))return this[_0x49a94e(0x314)][_0x49a94e(0x421)](ee,this[_0x49a94e(0x30d)],this['type'],null,[],null,[_0x2491a1],this[_0x49a94e(0x3f5)]);try{const _0x566245=this[_0x49a94e(0x167)][_0x49a94e(0x2e1)](_0x2491a1,[_0x1882f6]);if(_0x5c13df(_0x566245)){const {c1Prime:_0x55022c}=_0x566245;return this[_0x49a94e(0x3fe)](_0x55022c),this;}throw _0x566245[_0x49a94e(0x390)];}catch(_0x348eac){return this[_0x49a94e(0x36c)][_0x49a94e(0x390)](_0x348eac),this[_0x49a94e(0x2e2)](!0x1);}}[_0x16f01c(0x2e2)](_0x5c93fc){var _0x1f1b2e=_0x16f01c;return this['_injector'][_0x1f1b2e(0x421)](ue,this['unitID'],this['type'],null,[],this['_handler'],_0x5c93fc);}[_0x16f01c(0x3f1)](){var _0x1a9524=_0x16f01c;throw new Error(_0x1a9524(0x1f2));}[_0x16f01c(0x1c8)](){var _0x3a4880=_0x16f01c;throw new Error(_0x3a4880(0x3b1));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x15a843=_0x16f01c;return this[_0x15a843(0x314)][_0x15a843(0x421)](de,this[_0x15a843(0x30d)],this['type'],null,[],this[_0x15a843(0x3f5)]);}[_0x16f01c(0x394)](){return this;}['resend'](){var _0x49d2bd=_0x16f01c;throw new Error(_0x49d2bd(0x3bb));}['fetchMiss'](){var _0x2e17bc=_0x16f01c;const _0x474fea=this[_0x2e17bc(0x3b6)]['getCurrentRevOfUnit'](this[_0x2e17bc(0x30d)]);return this[_0x2e17bc(0x3f5)][_0x2e17bc(0x242)]({'from':_0x474fea,'to':0x0}),this[_0x2e17bc(0x314)][_0x2e17bc(0x421)](ee,this['unitID'],this[_0x2e17bc(0x2f8)],null,[],null,[],this[_0x2e17bc(0x3f5)]);}};be=Se([w(0x3,_0x39a463(_0x587581)),w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x26b5a7),w(0x6,_0x14b5ce),w(0x7,_0x46c731),w(0x8,_0x24d75d),w(0x9,_0x23ad4d(J))],be);let ae=class extends ge{constructor(_0x2e0d7c,_0x2268b5,_0x2642ae,_0x1b9520,_0x3df357,_0x355d,_0x231579,_0x34b769,_0x18039d,_0x531238,_0xf5deff,_0x20d5d8,_0x1d7373,_0x4a78c4){var _0x3856a2=_0x16f01c;super(_0x2e0d7c,_0x2268b5,null,_0x2642ae,_0x1b9520,_0x18039d,_0x1d7373,_0x355d,_0x4a78c4),D(this,_0x3856a2(0x38f),_0x3856a2(0x3d9)),D(this,_0x3856a2(0x252),null),D(this,_0x3856a2(0x1a5),null),(this[_0x3856a2(0x314)]=_0x3df357,this[_0x3856a2(0x3e8)]=_0x231579,this[_0x3856a2(0x36c)]=_0x34b769,this[_0x3856a2(0x1ce)]=_0x531238,this[_0x3856a2(0x167)]=_0xf5deff,this[_0x3856a2(0x373)]=_0x20d5d8);}['appendMutation'](_0x120248){var _0x1e336b=_0x16f01c;return this[_0x1e336b(0x1e5)][_0x1e336b(0x288)](_0x120248),this[_0x1e336b(0x2ca)](),this;}[_0x16f01c(0x411)](_0x2f903e){var _0x29ac48=_0x16f01c;if(this['_checkMissing'](_0x2f903e))return this['_clearScheduledTask'](),this[_0x29ac48(0x314)][_0x29ac48(0x421)](ee,this['unitID'],this[_0x29ac48(0x2f8)],null,this['_pendingMutations'],null,[_0x2f903e],this[_0x29ac48(0x3f5)]);try{const _0x371c70=this[_0x29ac48(0x167)][_0x29ac48(0x2e1)](_0x2f903e,this[_0x29ac48(0x1e5)]);if(_0x5c13df(_0x371c70)){const {c1Prime:_0x3f13bb,m2Prime:_0x28e55e}=_0x371c70;this[_0x29ac48(0x3fe)](_0x3f13bb);const _0x1f0ea9=this['_injector'][_0x29ac48(0x421)](ae,this[_0x29ac48(0x30d)],this['type'],_0x28e55e,this['_handler']);this['_clearScheduledTask']();const _0x5f1172=new Date()[_0x29ac48(0x392)](),_0x2db13a=this[_0x29ac48(0x252)]?Math[_0x29ac48(0x410)](this[_0x29ac48(0x252)]-_0x5f1172,0x0):this[_0x29ac48(0x325)]();return _0x1f0ea9[_0x29ac48(0x291)](_0x2db13a),_0x1f0ea9;}throw _0x371c70[_0x29ac48(0x390)];}catch(_0x353d80){return this[_0x29ac48(0x36c)][_0x29ac48(0x390)](_0x353d80),this[_0x29ac48(0x2e2)](!0x1);}}['onRemoteAck'](){var _0x28a259=_0x16f01c;throw new Error(_0x28a259(0x3a3));}[_0x16f01c(0x1c8)](){var _0x35b353=_0x16f01c;throw new Error(_0x35b353(0x3ba));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x3ca914=_0x16f01c;return this[_0x3ca914(0x29c)](),this[_0x3ca914(0x314)][_0x3ca914(0x421)](de,this[_0x3ca914(0x30d)],this[_0x3ca914(0x2f8)],null,this[_0x3ca914(0x1e5)],this[_0x3ca914(0x3f5)]);}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x291)](_0x42a03e){var _0x2978ba=_0x16f01c;const _0x1db680=_0x42a03e!=null?_0x42a03e:this[_0x2978ba(0x325)]();this[_0x2978ba(0x252)]=new Date()['getTime']()+_0x1db680,this[_0x2978ba(0x1a5)]=setTimeout(()=>{var _0x1f3211=_0x2978ba;this[_0x1f3211(0x29c)]();let _0x455aff=null;switch(this['type']){case Q[_0x1f3211(0x10e)]:{_0x455aff=Vt(this[_0x1f3211(0x1e5)],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this['_revisionService'],this[_0x1f3211(0x3e8)]);break;}case Q[_0x1f3211(0x3b4)]:{this['_pendingMutations'][_0x1f3211(0x18b)](_0x2b0d48=>_0x2b0d48['id']===_0x33b06f['id'])?_0x455aff=ks(this['_pendingMutations'],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this[_0x1f3211(0x3b6)],this[_0x1f3211(0x3e8)]):_0x455aff=Vt(this[_0x1f3211(0x1e5)],this[_0x1f3211(0x30d)],this[_0x1f3211(0x373)],this[_0x1f3211(0x3b6)],this['_memberService']);break;}default:throw new Error(_0x1f3211(0x11e)+this[_0x1f3211(0x2f8)]+_0x1f3211(0x2cb));}const {changeset:_0x6bf1f9,pendingMutations:_0xe4819b}=_0x455aff;this[_0x1f3211(0x3f5)][_0x1f3211(0x349)](_0x6bf1f9);const _0x37dd9a=_0xe4819b['length']?this[_0x1f3211(0x314)][_0x1f3211(0x421)](oe,this[_0x1f3211(0x30d)],this[_0x1f3211(0x2f8)],_0x6bf1f9,_0xe4819b,this['_handler'],void 0x0):this[_0x1f3211(0x314)][_0x1f3211(0x421)](le,this[_0x1f3211(0x30d)],this[_0x1f3211(0x2f8)],_0x6bf1f9,this['_handler']);_0x37dd9a[_0x1f3211(0x2ca)](),this['_handler'][_0x1f3211(0x364)](this,_0x37dd9a);},_0x1db680);}[_0x16f01c(0x325)](){var _0x18e859=_0x16f01c,_0x589b8f;const _0x402400=this[_0x18e859(0x1ce)]['getConfig'](K);return(_0x589b8f=_0x402400==null?void 0x0:_0x402400[_0x18e859(0x31e)])!=null?_0x589b8f:ps;}[_0x16f01c(0x301)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16f01c(0x29c)](){var _0x308613=_0x16f01c;this[_0x308613(0x1a5)]!=null&&(clearTimeout(this[_0x308613(0x1a5)]),this[_0x308613(0x1a5)]=null);}[_0x16f01c(0x2e2)](_0x55c989){var _0x2f7b60=_0x16f01c;return this['_clearScheduledTask'](),this['_injector'][_0x2f7b60(0x421)](ue,this[_0x2f7b60(0x30d)],this[_0x2f7b60(0x2f8)],null,this[_0x2f7b60(0x1e5)],this[_0x2f7b60(0x3f5)],_0x55c989);}};ae=Se([w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x39a463(_0x587581)),w(0x6,_0x39a463(Pe)),w(0x7,_0x46c731),w(0x8,_0x14b5ce),w(0x9,_0x5b80dc),w(0xa,_0x24d75d),w(0xb,_0x2fe86b),w(0xc,_0x26b5a7),w(0xd,_0x23ad4d(J))],ae);let le=class extends ge{constructor(_0x2dfd8f,_0x4a67f7,_0x3bdeb1,_0x9a9244,_0x43116a,_0x155333,_0x4d995f,_0x548a19,_0x8b70a4,_0x5645bc,_0x1da8d8){var _0x111042=_0x16f01c;super(_0x2dfd8f,_0x4a67f7,_0x3bdeb1,[],_0x9a9244,_0x4d995f,_0x5645bc,_0x155333,_0x1da8d8),D(this,_0x111042(0x38f),_0x111042(0x25f)),D(this,_0x111042(0x26d),0x0),D(this,_0x111042(0x346)),D(this,_0x111042(0x2ea)),(this[_0x111042(0x314)]=_0x43116a,this[_0x111042(0x36c)]=_0x548a19,this[_0x111042(0x167)]=_0x8b70a4);}[_0x16f01c(0x25c)](_0x2938c9){var _0x15fe42=_0x16f01c;this['_clearScheduledTask']();const _0x5466c4=this[_0x15fe42(0x314)][_0x15fe42(0x421)](oe,this['unitID'],this['type'],this[_0x15fe42(0x188)],[_0x2938c9],this['_handler'],this['_resendTimer']);return _0x5466c4[_0x15fe42(0x2ca)](),_0x5466c4;}[_0x16f01c(0x411)](_0x5c6852){var _0x28736e=_0x16f01c;if(this[_0x28736e(0x20b)](_0x5c6852))return this['_clearScheduledTask'](),this[_0x28736e(0x314)]['createInstance'](ee,this[_0x28736e(0x30d)],this['type'],this['_awaitingChangeset'],[],null,[_0x5c6852],this[_0x28736e(0x3f5)]);try{const _0x34ae81=this[_0x28736e(0x167)][_0x28736e(0x1a4)]([_0x5c6852],[this[_0x28736e(0x188)]],!0x1);if(_0x58320f(_0x34ae81)){const {c1Prime:_0x22a9ca,c2Prime:_0x300009}=_0x34ae81;this[_0x28736e(0x3fe)](_0x22a9ca[0x0]),_0x300009[0x0]['baseRev']=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x26dae0=this[_0x28736e(0x314)][_0x28736e(0x421)](le,this[_0x28736e(0x30d)],this[_0x28736e(0x2f8)],_0x300009[0x0],this[_0x28736e(0x3f5)]);return _0x26dae0['_updateLocalCache'](),_0x26dae0;}return this[_0x28736e(0x2e2)](!0x1);}catch(_0x69422e){return this[_0x28736e(0x36c)][_0x28736e(0x390)](_0x69422e),this[_0x28736e(0x2e2)](!0x1);}}[_0x16f01c(0x3f1)](_0x3a65c3){var _0x59260b=_0x16f01c;this[_0x59260b(0x29c)]();const _0x2a77a7=this[_0x59260b(0x3b6)]['getCurrentRevOfUnit'](this[_0x59260b(0x30d)]);if(_0x3a65c3[_0x59260b(0x323)]<_0x2a77a7-0x1)return this;if(this[_0x59260b(0x20b)](_0x3a65c3))return this[_0x59260b(0x314)][_0x59260b(0x421)](ee,this[_0x59260b(0x30d)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x59260b(0x3f5)]);this[_0x59260b(0x2d5)]();const _0x1cd1a6=this[_0x59260b(0x314)]['createInstance'](be,this[_0x59260b(0x30d)],this[_0x59260b(0x2f8)],this[_0x59260b(0x3f5)]);return _0x1cd1a6[_0x59260b(0x2ca)](),_0x1cd1a6;}[_0x16f01c(0x1c8)](_0x5bf1f8){var _0x30c480=_0x16f01c;return this[_0x30c480(0x2e2)](!!(_0x5bf1f8!=null&&_0x5bf1f8[_0x30c480(0x126)]));}['onRemoteRetry'](_0x8a4dc1){var _0x26aaf6=_0x16f01c;return this[_0x26aaf6(0x26d)]>gi?this['toggleOffline']():(this[_0x26aaf6(0x346)]=Ii(this['_resendTimeout'],{'timeout':this[_0x26aaf6(0x26d)],'reqId':_0x8a4dc1['reqId']}),this[_0x26aaf6(0x2ea)]=this['_resendTimer'][_0x26aaf6(0x33f)](({reqId:_0xe1a1d3,timeout:_0x206b37})=>{var _0x1c3b10=_0x26aaf6;this[_0x1c3b10(0x409)](_0xe1a1d3,_0x206b37);}),this);}[_0x16f01c(0x109)](){var _0x121366=_0x16f01c;return this[_0x121366(0x29c)](),this['_injector'][_0x121366(0x421)](de,this[_0x121366(0x30d)],this[_0x121366(0x2f8)],this[_0x121366(0x188)],[],this[_0x121366(0x3f5)]);}[_0x16f01c(0x394)](){return this;}['resend'](){var _0x60eeec=_0x16f01c;this[_0x60eeec(0x3f5)][_0x60eeec(0x349)](this[_0x60eeec(0x188)]);}[_0x16f01c(0x2e2)](_0xe242d6){var _0xfdc41=_0x16f01c;return this[_0xfdc41(0x29c)](),this[_0xfdc41(0x314)][_0xfdc41(0x421)](ue,this[_0xfdc41(0x30d)],this[_0xfdc41(0x2f8)],this[_0xfdc41(0x188)],[],this[_0xfdc41(0x3f5)],_0xe242d6);}['_resendWithTimeout'](_0x5c8440,_0x1a64da){var _0x256620=_0x16f01c,_0x1796a5;_0x5c8440===((_0x1796a5=this['_awaitingChangeset'])==null?void 0x0:_0x1796a5['reqId'])&&(this[_0x256620(0x301)](),this[_0x256620(0x26d)]=_0x1a64da===0x0?0x3e8:_0x1a64da*0x2);}[_0x16f01c(0x29c)](){var _0x1e420f=_0x16f01c,_0x2a76a9;(_0x2a76a9=this[_0x1e420f(0x2ea)])==null||_0x2a76a9['unsubscribe'](),this['_resendTimeout']=0x0;}};le=Se([w(0x4,_0x39a463(_0x487d01)),w(0x5,_0x39a463(_0x587581)),w(0x6,_0x14b5ce),w(0x7,_0x46c731),w(0x8,_0x24d75d),w(0x9,_0x26b5a7),w(0xa,_0x23ad4d(J))],le);let oe=class extends ge{constructor(_0x3e6f5a,_0x32bab0,_0x34d925,_0x18905b,_0x25af03,_0x3419e3,_0x1188ee,_0x164919,_0x34856f,_0x180367,_0x28c1d4,_0x43dbe9,_0x15efe7){var _0x39982c=_0x16f01c;super(_0x3e6f5a,_0x32bab0,_0x34d925,_0x18905b,_0x25af03,_0x34856f,_0x43dbe9,_0x164919,_0x15efe7),D(this,'status',_0x39982c(0x2f9)),D(this,'_resendTimeout',0x0),D(this,_0x39982c(0x346)),D(this,_0x39982c(0x2ea)),(this[_0x39982c(0x314)]=_0x1188ee,this['_logService']=_0x180367,this[_0x39982c(0x167)]=_0x28c1d4,this[_0x39982c(0x1b5)]=_0x15efe7,_0x3419e3&&(this[_0x39982c(0x346)]=_0x3419e3,this[_0x39982c(0x2ea)]=this[_0x39982c(0x346)]['subscribe'](({reqId:_0x1bbc81,timeout:_0x3ee631})=>{var _0x5cd778=_0x39982c;this[_0x5cd778(0x409)](_0x1bbc81,_0x3ee631);})));}[_0x16f01c(0x25c)](_0x2b7def){var _0x58c6f9=_0x16f01c;return this[_0x58c6f9(0x1e5)]['push'](_0x2b7def),this;}[_0x16f01c(0x411)](_0x16fa78){var _0x314c9d=_0x16f01c;if(this[_0x314c9d(0x20b)](_0x16fa78))return this[_0x314c9d(0x29c)](),this[_0x314c9d(0x314)][_0x314c9d(0x421)](ee,this[_0x314c9d(0x30d)],this[_0x314c9d(0x2f8)],this[_0x314c9d(0x188)],this[_0x314c9d(0x1e5)],null,[_0x16fa78],this[_0x314c9d(0x3f5)]);try{const _0x48752e=this[_0x314c9d(0x167)][_0x314c9d(0x1a4)]([_0x16fa78],[this[_0x314c9d(0x188)]],!0x1);if(_0x58320f(_0x48752e)){const {c1Prime:_0xe4d354,c2Prime:_0x32b7fd}=_0x48752e,_0x31e76f=this[_0x314c9d(0x167)][_0x314c9d(0x2e1)](_0xe4d354[0x0],this[_0x314c9d(0x1e5)]);if(_0x5c13df(_0x31e76f)){const {c1Prime:_0x224424,m2Prime:_0x2aaea5}=_0x31e76f;return this['_executeRemoteChangeset'](_0x224424),_0x32b7fd[0x0][_0x314c9d(0x25a)]=this['_getCurrentRevision'](),this[_0x314c9d(0x29c)](),this[_0x314c9d(0x314)]['createInstance'](oe,this['unitID'],this[_0x314c9d(0x2f8)],_0x32b7fd[0x0],_0x2aaea5,this[_0x314c9d(0x3f5)],void 0x0);}throw _0x31e76f['error'];}throw _0x48752e[_0x314c9d(0x390)];}catch(_0x108a1c){return this[_0x314c9d(0x36c)][_0x314c9d(0x390)](_0x108a1c),this[_0x314c9d(0x2e2)](!0x1);}}[_0x16f01c(0x3f1)](_0x40c777){var _0x52b0ac=_0x16f01c;if(this['_clearScheduledTask'](),this[_0x52b0ac(0x20b)](_0x40c777))return this[_0x52b0ac(0x314)]['createInstance'](ee,this[_0x52b0ac(0x30d)],this[_0x52b0ac(0x2f8)],null,this[_0x52b0ac(0x1e5)],this[_0x52b0ac(0x188)],[],this[_0x52b0ac(0x3f5)]);this['_incrementRevisionNumber']();const _0x364f38=this[_0x52b0ac(0x314)][_0x52b0ac(0x421)](ae,this[_0x52b0ac(0x30d)],this[_0x52b0ac(0x2f8)],this[_0x52b0ac(0x1e5)],this['_handler']);return _0x364f38[_0x52b0ac(0x291)](),_0x364f38[_0x52b0ac(0x2ca)](),_0x364f38;}['onRemoteRej'](_0xd0474b){var _0x49b8c2=_0x16f01c;return this[_0x49b8c2(0x2e2)](!!(_0xd0474b!=null&&_0xd0474b[_0x49b8c2(0x126)]));}[_0x16f01c(0x2df)](_0x5f2e25){var _0x1aa179=_0x16f01c;return this[_0x1aa179(0x26d)]>gi?this[_0x1aa179(0x109)]():(this[_0x1aa179(0x346)]=Ii(this[_0x1aa179(0x26d)],{'timeout':this['_resendTimeout'],'reqId':_0x5f2e25[_0x1aa179(0x1e1)]}),this[_0x1aa179(0x2ea)]=this[_0x1aa179(0x346)][_0x1aa179(0x33f)](({reqId:_0x190f3f,timeout:_0x27f50d})=>{var _0x5e821b=_0x1aa179;this[_0x5e821b(0x409)](_0x190f3f,_0x27f50d);}),this);}[_0x16f01c(0x109)](){var _0xd5d8a1=_0x16f01c;return this['_clearScheduledTask'](),this[_0xd5d8a1(0x314)][_0xd5d8a1(0x421)](de,this[_0xd5d8a1(0x30d)],this[_0xd5d8a1(0x2f8)],this[_0xd5d8a1(0x188)],this[_0xd5d8a1(0x1e5)],this[_0xd5d8a1(0x3f5)]);}['toggleOnline'](){return this;}[_0x16f01c(0x301)](){var _0x16c7db=_0x16f01c;this['_handler'][_0x16c7db(0x349)](this[_0x16c7db(0x188)]);}[_0x16f01c(0x2e2)](_0x35545d){var _0x4c6a4e=_0x16f01c;return this[_0x4c6a4e(0x29c)](),this[_0x4c6a4e(0x314)][_0x4c6a4e(0x421)](ue,this[_0x4c6a4e(0x30d)],this[_0x4c6a4e(0x2f8)],null,this['_pendingMutations'],this[_0x4c6a4e(0x3f5)],_0x35545d);}[_0x16f01c(0x409)](_0x903e67,_0x549025){var _0x50499b=_0x16f01c,_0x52f207;_0x903e67===((_0x52f207=this[_0x50499b(0x188)])==null?void 0x0:_0x52f207[_0x50499b(0x1e1)])&&(this[_0x50499b(0x301)](),this[_0x50499b(0x26d)]=_0x549025===0x0?0x3e8:_0x549025*0x2);}['_clearScheduledTask'](){var _0x50c19e=_0x16f01c,_0xeaac13;(_0xeaac13=this[_0x50c19e(0x2ea)])==null||_0xeaac13[_0x50c19e(0x148)](),this[_0x50c19e(0x26d)]=0x0;}};oe=Se([w(0x6,_0x39a463(_0x487d01)),w(0x7,_0x39a463(_0x587581)),w(0x8,_0x14b5ce),w(0x9,_0x46c731),w(0xa,_0x24d75d),w(0xb,_0x26b5a7),w(0xc,_0x23ad4d(J))],oe);let ue=class extends ge{constructor(_0x4375a3,_0x17d022,_0x303bc7,_0x16f859,_0x5577d1,_0x362e40=!0x1,_0x3a8f0b,_0x472ff6,_0x5923cd,_0xb53b0d,_0x3a9919,_0x31dd97,_0x3aaf71){var _0x2dea5b=_0x16f01c;super(_0x4375a3,_0x17d022,_0x303bc7,_0x16f859,_0x5577d1,_0x472ff6,_0x5923cd,_0xb53b0d,_0x3aaf71),D(this,'status','conflict'),(this['_isPermissionRej']=_0x362e40,this[_0x2dea5b(0x3eb)]=_0x3a8f0b,this[_0x2dea5b(0x103)]=_0x3a9919,this[_0x2dea5b(0x238)]=_0x31dd97,this[_0x2dea5b(0x1b5)]=_0x3aaf71,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x2dea5b(0x3ee)]());}['appendMutation'](){return this;}[_0x16f01c(0x411)](){return this;}[_0x16f01c(0x3f1)](){return this;}[_0x16f01c(0x1c8)](){return this;}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){return this;}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x301)](){var _0x4a609d=_0x16f01c;throw new Error(_0x4a609d(0x1cc));}['_clearLocalCache'](){var _0x416582=_0x16f01c,_0x4f263a;(_0x4f263a=this[_0x416582(0x179)])==null||_0x4f263a['updateOfflineData'](this['unitID'],this[_0x416582(0x2f8)],null,[]);}[_0x16f01c(0x1b1)](){var _0x16baca=_0x16f01c;this[_0x16baca(0x1fe)]?this['_collaborationUIEventService'][_0x16baca(0x10c)]({'id':re[_0x16baca(0x22b)]}):this[_0x16baca(0x238)][_0x16baca(0x10c)]({'id':re['CONFLICT']});}[_0x16f01c(0x3ee)](){var _0x2f2f3b=_0x16f01c;this['_permissionService'][_0x2f2f3b(0x2c0)](new _0x2f7775(this[_0x2f2f3b(0x30d)])['id'],!0x1);}};ue=Se([w(0x6,_0x39a463(_0x2aca0e)),w(0x7,_0x14b5ce),w(0x8,_0x26b5a7),w(0x9,_0x39a463(_0x587581)),w(0xa,_0x39a463(_0x2d14a8)),w(0xb,_0x39a463(ve)),w(0xc,_0x23ad4d(J))],ue);let de=class extends ge{constructor(_0x458740,_0x13c18c,_0x2790e6,_0xbb52c8,_0x219081,_0x49a745,_0x47dc6f,_0x4340e9,_0x13baef,_0x51b370){var _0x4ef8c4=_0x16f01c;super(_0x458740,_0x13c18c,_0x2790e6,_0xbb52c8,_0x219081,_0x4340e9,_0x13baef,_0x47dc6f,_0x51b370),D(this,_0x4ef8c4(0x38f),_0x4ef8c4(0x16f)),this[_0x4ef8c4(0x314)]=_0x49a745;}['appendMutation'](_0x4996be){var _0x40e4eb=_0x16f01c;return this[_0x40e4eb(0x1e5)][_0x40e4eb(0x288)](_0x4996be),this[_0x40e4eb(0x2ca)](),this;}[_0x16f01c(0x411)](_0x3dd2fa){var _0x17df09=_0x16f01c;throw new Error(_0x17df09(0x340));}[_0x16f01c(0x3f1)](){var _0x39870a=_0x16f01c;throw new Error(_0x39870a(0x140));}[_0x16f01c(0x1c8)](){var _0x4cc23d=_0x16f01c;throw new Error(_0x4cc23d(0x124));}[_0x16f01c(0x2df)](){return this;}['toggleOffline'](){return this;}[_0x16f01c(0x394)](){var _0x4cabc9=_0x16f01c;const {_injector:_0x56733b,_pendingMutations:_0x49cbb6,_awaitingChangeset:_0xbf8c9e,unitID:_0xf169af,_handler:_0x20f8b6,type:_0x535736}=this,_0x1ab0bd=Ti(_0x56733b,_0xf169af,_0x535736,_0xbf8c9e,_0x49cbb6,_0x20f8b6);return _0x1ab0bd instanceof ae?_0x1ab0bd['_schedule']():(_0x1ab0bd instanceof oe||_0x1ab0bd instanceof le)&&_0x1ab0bd[_0x4cabc9(0x301)](),_0x1ab0bd;}[_0x16f01c(0x301)](){var _0x1d1aef=_0x16f01c;throw new Error(_0x1d1aef(0x247));}};de=Se([w(0x5,_0x39a463(_0x487d01)),w(0x6,_0x39a463(_0x587581)),w(0x7,_0x14b5ce),w(0x8,_0x26b5a7),w(0x9,_0x23ad4d(J))],de);let ee=class extends ge{constructor(_0x2c7178,_0x306f4b,_0x41e849,_0x11bed5,_0x40cb7a,_0xbe1d8f,_0x2b8cbf,_0x38681f,_0x252d4d,_0x37c8b7,_0x3be90b,_0x3520a8,_0x3fa3cc,_0x271e00){var _0x29774e=_0x16f01c;super(_0x2c7178,_0x306f4b,_0x41e849,_0x11bed5,_0x2b8cbf,_0x3be90b,_0x3520a8,_0x252d4d,_0x271e00),D(this,_0x29774e(0x38f),_0x29774e(0x374)),(this['_acknowledgedAwaitingChangeset']=_0x40cb7a,this['_queuedRemoteChangesets']=_0xbe1d8f,this['_injector']=_0x38681f,this['_logService']=_0x37c8b7,this[_0x29774e(0x167)]=_0x3fa3cc,this[_0x29774e(0x1b5)]=_0x271e00);}[_0x16f01c(0x23b)](_0x6c33c5){var _0x28d4f8=_0x16f01c;try{const _0x53ac25=[..._0x6c33c5,...this[_0x28d4f8(0x3ed)]],_0x35a9db=[this[_0x28d4f8(0x188)]||this[_0x28d4f8(0x32c)]]['filter'](_0x1c0a87=>!!_0x1c0a87);let _0x3942e2,_0x22a2ea;if(_0x35a9db[_0x28d4f8(0x389)]){const _0x594c11=this[_0x28d4f8(0x167)][_0x28d4f8(0x1a4)](_0x53ac25,_0x35a9db,!0x1);if(!_0x58320f(_0x594c11))throw _0x594c11[_0x28d4f8(0x390)];_0x3942e2=_0x594c11[_0x28d4f8(0x3c6)],_0x22a2ea=_0x594c11[_0x28d4f8(0x403)];}else _0x3942e2=_0x53ac25,_0x22a2ea=[];let _0x584254=this['_pendingMutations'];_0x3942e2[_0x28d4f8(0x17f)](_0x2385a7=>{var _0x2dba7f=_0x28d4f8;let _0x57c0c3;if(_0x584254['length']){const _0x48f44a=this['_transformService'][_0x2dba7f(0x2e1)](_0x2385a7,_0x584254);if(!_0x5c13df(_0x48f44a))throw _0x48f44a[_0x2dba7f(0x390)];_0x57c0c3=_0x48f44a[_0x2dba7f(0x3c6)],_0x584254=_0x48f44a[_0x2dba7f(0x1ea)];}else _0x57c0c3=_0x2385a7;this['_executeRemoteChangeset'](_0x57c0c3);}),this[_0x28d4f8(0x32c)]&&this[_0x28d4f8(0x2d5)](),this[_0x28d4f8(0x188)]&&_0x22a2ea[_0x28d4f8(0x389)]&&(_0x22a2ea[0x0]['baseRev']=this[_0x28d4f8(0x3bf)]());let _0x275c63;if(this[_0x28d4f8(0x188)]&&_0x584254['length']!==0x0)_0x275c63=this[_0x28d4f8(0x314)]['createInstance'](oe,this['unitID'],this['type'],_0x22a2ea[0x0],_0x584254,this[_0x28d4f8(0x3f5)],void 0x0);else{if(this[_0x28d4f8(0x188)]&&_0x584254[_0x28d4f8(0x389)]===0x0)_0x22a2ea[0x0]['baseRev']=this['_getCurrentRevision'](),_0x275c63=this[_0x28d4f8(0x314)][_0x28d4f8(0x421)](le,this['unitID'],this[_0x28d4f8(0x2f8)],_0x22a2ea[0x0],this[_0x28d4f8(0x3f5)]);else{if(_0x584254[_0x28d4f8(0x389)]!==0x0){const _0xca7b90=this[_0x28d4f8(0x314)][_0x28d4f8(0x421)](ae,this['unitID'],this['type'],_0x584254,this[_0x28d4f8(0x3f5)]);_0xca7b90[_0x28d4f8(0x291)](),_0x275c63=_0xca7b90;}else _0x275c63=this['_injector']['createInstance'](be,this['unitID'],this[_0x28d4f8(0x2f8)],this['_handler']);}}return _0x275c63[_0x28d4f8(0x2ca)](),_0x275c63;}catch(_0x3f9509){return this['_logService'][_0x28d4f8(0x390)]('[FetchMissState]',_0x28d4f8(0x2c7),_0x3f9509),this['_injector'][_0x28d4f8(0x421)](ue,this[_0x28d4f8(0x30d)],this['type'],this[_0x28d4f8(0x188)],this[_0x28d4f8(0x1e5)],this[_0x28d4f8(0x3f5)],!0x1);}}[_0x16f01c(0x301)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x16f01c(0x25c)](_0x43c909){var _0x5a37c0=_0x16f01c;return this[_0x5a37c0(0x1e5)][_0x5a37c0(0x288)](_0x43c909),this;}[_0x16f01c(0x411)](_0x26d098){var _0x4d23a3=_0x16f01c;return this['_queuedRemoteChangesets'][_0x4d23a3(0x288)](_0x26d098),this;}[_0x16f01c(0x3f1)](_0x2b05d7){var _0x54f985=_0x16f01c;if(this[_0x54f985(0x188)])return this[_0x54f985(0x32c)]=this[_0x54f985(0x188)],this[_0x54f985(0x188)]=null,this;throw new Error(_0x54f985(0x304));}[_0x16f01c(0x1c8)](_0x5e1eb1){var _0x3c6df6=_0x16f01c;return this[_0x3c6df6(0x2e2)](!!(_0x5e1eb1!=null&&_0x5e1eb1[_0x3c6df6(0x126)]));}[_0x16f01c(0x2df)](){return this;}[_0x16f01c(0x109)](){var _0x2b54ed=_0x16f01c;return this[_0x2b54ed(0x314)]['createInstance'](de,this['unitID'],this[_0x2b54ed(0x2f8)],this[_0x2b54ed(0x188)],this[_0x2b54ed(0x1e5)],this[_0x2b54ed(0x3f5)]);}[_0x16f01c(0x394)](){return this;}[_0x16f01c(0x2e2)](_0x1c7e17){var _0x74f2d=_0x16f01c;return this[_0x74f2d(0x314)][_0x74f2d(0x421)](ue,this[_0x74f2d(0x30d)],this[_0x74f2d(0x2f8)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x74f2d(0x3f5)],_0x1c7e17);}};ee=Se([w(0x7,_0x39a463(_0x487d01)),w(0x8,_0x39a463(_0x587581)),w(0x9,_0x46c731),w(0xa,_0x14b5ce),w(0xb,_0x26b5a7),w(0xc,_0x24d75d),w(0xd,_0x23ad4d(J))],ee);function Ti(_0x26c35a,_0x205df7,_0x45552a,_0x4200c1,_0x5d2102,_0xb18700){var _0x3ec44a=_0x16f01c;return _0x4200c1&&_0x5d2102[_0x3ec44a(0x389)]?_0x26c35a[_0x3ec44a(0x421)](oe,_0x205df7,_0x45552a,_0x4200c1,_0x5d2102,_0xb18700,void 0x0):_0x4200c1?_0x26c35a[_0x3ec44a(0x421)](le,_0x205df7,_0x45552a,_0x4200c1,_0xb18700):_0x5d2102[_0x3ec44a(0x389)]?_0x26c35a[_0x3ec44a(0x421)](ae,_0x205df7,_0x45552a,_0x5d2102,_0xb18700):_0x26c35a['createInstance'](be,_0x205df7,_0x45552a,_0xb18700);}var Hs=Object['getOwnPropertyDescriptor'],At=(_0x3b0cd8,_0x446e73,_0x1b2ef0,_0x233907)=>{for(var _0x106fba=_0x233907>0x1?void 0x0:_0x233907?Hs(_0x446e73,_0x1b2ef0):_0x446e73,_0x433ad9=_0x3b0cd8['length']-0x1,_0x4ab271;_0x433ad9>=0x0;_0x433ad9--)(_0x4ab271=_0x3b0cd8[_0x433ad9])&&(_0x106fba=_0x4ab271(_0x106fba)||_0x106fba);return _0x106fba;},$=(_0x484037,_0x5da470)=>(_0x79ccb8,_0x1bda63)=>_0x5da470(_0x79ccb8,_0x1bda63,_0x484037);let st=class extends _0x28ec07{constructor(_0x56ba9d,_0x1bd5d7,_0x2a98b5,_0x21f3ee,_0x230ff5,_0x2221de,_0x33450d,_0x517419,_0x4cdc5f,_0x9179c8,_0x3332c9,_0x1f7774,_0xe5c72a,_0x14e70d){var _0x41fa31=_0x16f01c;super(),D(this,_0x41fa31(0x3bc),new _0x310797(null)),D(this,_0x41fa31(0x21c),this['_state$']['asObservable']()),D(this,'_state'),D(this,'_collaborationPaused',!0x1),D(this,_0x41fa31(0x386),''),D(this,_0x41fa31(0x164),0x0),D(this,_0x41fa31(0x347),this[_0x41fa31(0x21c)]['pipe'](_0x1da0af(_0x2f3eb2=>_0x2f3eb2?_0x2f3eb2['status']:Si[_0x41fa31(0x285)]),_0x156053(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x41fa31(0x227),[]),(this[_0x41fa31(0x30d)]=_0x56ba9d,this[_0x41fa31(0x37b)]=_0x1bd5d7,this[_0x41fa31(0x115)]=_0x2a98b5,this['_injector']=_0x21f3ee,this[_0x41fa31(0x1ca)]=_0x230ff5,this[_0x41fa31(0x103)]=_0x2221de,this[_0x41fa31(0x3b6)]=_0x33450d,this['_eventService']=_0x517419,this['_univerInstanceService']=_0x4cdc5f,this[_0x41fa31(0x36c)]=_0x9179c8,this[_0x41fa31(0x254)]=_0x3332c9,this[_0x41fa31(0x3eb)]=_0x1f7774,this[_0x41fa31(0x33a)]=_0xe5c72a,this[_0x41fa31(0x179)]=_0x14e70d);}get[_0x16f01c(0x339)](){return this['_state'];}async[_0x16f01c(0x3a2)](){var _0x137807=_0x16f01c;if(this[_0x137807(0x339)])throw new Error(_0x137807(0x2e5));await this[_0x137807(0x3de)]();}[_0x16f01c(0x375)](){var _0x573400=_0x16f01c;return this[_0x573400(0x282)]=!0x0,_0x5615b1(()=>{var _0x104c28=_0x573400;this[_0x104c28(0x282)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x37a4b6){var _0x28518a=_0x16f01c;this[_0x28518a(0x163)](_0x37a4b6);}[_0x16f01c(0x246)](_0x30ca86){var _0x1179d8=_0x16f01c;this['_state']=_0x30ca86,this[_0x1179d8(0x3bc)]['next'](_0x30ca86);}async[_0x16f01c(0x3de)](){var _0x1ca5c4=_0x16f01c,_0x178a3c;this['_updateState'](await this['_createInitialState']()),this[_0x1ca5c4(0x33a)]&&((_0x178a3c=this[_0x1ca5c4(0x33a)])==null||_0x178a3c[_0x1ca5c4(0x189)](this['unitID']),this['disposeWithMe'](this[_0x1ca5c4(0x33a)][_0x1ca5c4(0x39c)](this['unitID'])[_0x1ca5c4(0x33f)](_0x235b0d=>{var _0xa51a08=_0x1ca5c4;this[_0xa51a08(0x36c)][_0xa51a08(0x14b)](_0xa51a08(0x3ec),_0xa51a08(0x33b),_0x235b0d),_0x235b0d===mi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0xa51a08(0x10c)]({'id':re[_0xa51a08(0x184)]}),this['_permissionService'][_0xa51a08(0x2c0)](new _0x2f7775(this['unitID'])['id'],!0x1),this[_0xa51a08(0x3eb)][_0xa51a08(0x3cc)](!0x1)):(this['_permissionService'][_0xa51a08(0x2c0)](new _0x2f7775(this[_0xa51a08(0x30d)])['id'],!0x0),this[_0xa51a08(0x3eb)]['setShowComponents'](!0x0));})));let _0x528316=!0x1;return this[_0x1ca5c4(0x107)](this['session'][_0x1ca5c4(0x29f)][_0x1ca5c4(0x33f)](_0x51680f=>{var _0x2f4b74=_0x1ca5c4;_0x51680f===me['ONLINE']?this[_0x2f4b74(0x24d)](_0x528316):_0x51680f===me[_0x2f4b74(0x285)]&&(_0x528316=!0x0,this[_0x2f4b74(0x14d)]());})),this[_0x1ca5c4(0x107)](this[_0x1ca5c4(0x37b)][_0x1ca5c4(0x366)][_0x1ca5c4(0x33f)](_0x3f7f6a=>{var _0x185c13=_0x1ca5c4;try{switch(_0x3f7f6a[_0x185c13(0x141)]){case _0x5d931e[_0x185c13(0x391)]:{this[_0x185c13(0x2d1)](_0x334361(_0x3f7f6a[_0x185c13(0x3fc)]));break;}case _0x5d931e[_0x185c13(0x2e6)]:{this['_onRemoteACK'](_0x3f7f6a[_0x185c13(0x3fc)]);break;}case _0x5d931e[_0x185c13(0x257)]:{this[_0x185c13(0x38d)]();break;}case _0x5d931e[_0x185c13(0x113)]:{this[_0x185c13(0x248)](_0x3f7f6a[_0x185c13(0x3fc)]);break;}case _0x5d931e[_0x185c13(0x1ec)]:{this[_0x185c13(0x21a)](_0x3f7f6a['data']['changesets']['map'](_0x118587=>_0x334361(_0x118587)));break;}case _0x5d931e[_0x185c13(0x319)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5d931e['UNISCRIPT_RUN']:break;}}catch(_0x22c43c){throw console[_0x185c13(0x390)](_0x185c13(0x1de),_0x22c43c),_0x22c43c;}})),this['_state'];}[_0x16f01c(0x256)](){var _0x3d9d13=_0x16f01c;this[_0x3d9d13(0x1e0)]=!0x1;}[_0x16f01c(0x1a6)](){var _0x3fe177=_0x16f01c;if(this['_transitionLocked'])throw new Error(_0x3fe177(0x203));this['_transitionLocked']=!0x0;}[_0x16f01c(0x163)](_0x3fc250){var _0x2ee744=_0x16f01c;this['_lockTransition'](),this[_0x2ee744(0x246)](this['_state'][_0x2ee744(0x25c)](_0x3fc250)),this[_0x2ee744(0x256)]();}[_0x16f01c(0x2d1)](_0x3820d3){var _0x53903f=_0x16f01c;if(!(_0x3820d3[_0x53903f(0x323)]<=this[_0x53903f(0x3b6)][_0x53903f(0x1d5)](this[_0x53903f(0x30d)]))){if(this[_0x53903f(0x282)]){this['_remoteChangesetQueue'][_0x53903f(0x288)](_0x3820d3);return;}this[_0x53903f(0x268)](_0x3820d3);}}[_0x16f01c(0x2c9)](){var _0xbc6794=_0x16f01c;this[_0xbc6794(0x227)][_0xbc6794(0x17f)](_0x223a04=>this[_0xbc6794(0x268)](_0x223a04)),this[_0xbc6794(0x227)]=[];}[_0x16f01c(0x268)](_0x4db648){var _0x53a92b=_0x16f01c;const _0x4f51c2=this['_compressMutationService'][_0x53a92b(0x1d4)][_0x53a92b(0x1f6)](this[_0x53a92b(0x1ca)]['interceptor'][_0x53a92b(0x37f)]()['COMPRESS_MUTATION_APPLY'])(_0x4db648[_0x53a92b(0x193)],null)||_0x4db648[_0x53a92b(0x193)],_0xdc19c9={..._0x4db648,'mutations':_0x4f51c2};this['_lockTransition'](),this['_updateState'](this['_state'][_0x53a92b(0x411)](_0xdc19c9)),this[_0x53a92b(0x256)]();}[_0x16f01c(0x1a2)](_0x43fd74){var _0x3edf0a=_0x16f01c;this[_0x3edf0a(0x1a6)](),this[_0x3edf0a(0x246)](this[_0x3edf0a(0x14c)][_0x3edf0a(0x3f1)](_0x43fd74)),this['_unlockTransition']();}[_0x16f01c(0x38d)](_0x5ed8bc){var _0x5b974e=_0x16f01c;this[_0x5b974e(0x1a6)](),this[_0x5b974e(0x246)](this[_0x5b974e(0x14c)][_0x5b974e(0x1c8)](_0x5ed8bc)),this['_unlockTransition']();}['_onRemoteRetry'](_0x160126){var _0x2122b8=_0x16f01c;this['_lockTransition'](),this['_updateState'](this[_0x2122b8(0x14c)][_0x2122b8(0x2df)](_0x160126)),this[_0x2122b8(0x256)]();}[_0x16f01c(0x21a)](_0x37b869){var _0x1efc60=_0x16f01c;if(!(this['_state']instanceof ee))throw new TypeError(_0x1efc60(0x29b));const _0x285c74=_0x37b869['map'](_0x1e3f9a=>{var _0x4233a6=_0x1efc60;const _0xeeb70f=this[_0x4233a6(0x1ca)]['interceptor'][_0x4233a6(0x1f6)](this['_compressMutationService'][_0x4233a6(0x1d4)][_0x4233a6(0x37f)]()[_0x4233a6(0x310)])(_0x1e3f9a['mutations'],null)||_0x1e3f9a[_0x4233a6(0x193)];return{..._0x1e3f9a,'mutations':_0xeeb70f};});this[_0x1efc60(0x1a6)](),this[_0x1efc60(0x246)](this['_state'][_0x1efc60(0x23b)](_0x285c74)),this[_0x1efc60(0x256)]();}[_0x16f01c(0x14d)](){var _0x36248b=_0x16f01c;this['_lockTransition'](),this[_0x36248b(0x246)](this[_0x36248b(0x14c)]['toggleOffline']()),this['_unlockTransition']();}[_0x16f01c(0x24d)](_0x1571f3=!0x1){var _0x5f19d9=_0x16f01c;this['_lockTransition'](),this[_0x5f19d9(0x246)](this['_state'][_0x5f19d9(0x394)]()),this['_unlockTransition']();const _0x3cf9ea=this['_state'];_0x1571f3&&_0x3cf9ea instanceof be&&(this[_0x5f19d9(0x1a6)](),this[_0x5f19d9(0x246)](_0x3cf9ea[_0x5f19d9(0x11a)]()),this[_0x5f19d9(0x256)]());}async[_0x16f01c(0x2ad)](){return new Promise(_0x56f40=>{var _0x5c7824=_0x2af7;this[_0x5c7824(0x37b)][_0x5c7824(0x29f)][_0x5c7824(0x36e)](_0x12d218(0x1))[_0x5c7824(0x33f)](async _0x31be8f=>{var _0x3913c0=_0x5c7824;_0x56f40(await this[_0x3913c0(0x279)](_0x31be8f===me['ONLINE']));});});}[_0x16f01c(0x1ef)](){var _0x568a3c=_0x16f01c;const _0x9fa75e=this[_0x568a3c(0x30d)];return{'onStateChange':(_0x2b0ef1,_0xd21f66)=>{var _0x3f81e6=_0x568a3c;if(_0x2b0ef1!==this[_0x3f81e6(0x14c)])throw new Error(_0x3f81e6(0x3e1)+_0x2b0ef1[_0x3f81e6(0x38f)]+_0x3f81e6(0x26f)+_0xd21f66[_0x3f81e6(0x38f)]+_0x3f81e6(0x2f7)+this[_0x3f81e6(0x14c)][_0x3f81e6(0x38f)]);this['_updateState'](_0xd21f66);},'onSendChangeset':_0x44730d=>{var _0x5c677b=_0x568a3c;_0x44730d[_0x5c677b(0x1d0)]||(_0x44730d[_0x5c677b(0x1d0)]=this[_0x5c677b(0x386)],_0x44730d[_0x5c677b(0x1e1)]=++this['_changesetReqId']);const _0xf56138={'eventID':_0x5d931e['SUBMIT_CHANGESET'],'data':{'unitID':_0x44730d[_0x5c677b(0x30d)],'unitType':this[_0x5c677b(0x115)],'changeset':_0x44730d,'memberID':this['session'][_0x5c677b(0x22a)]()}};this[_0x5c677b(0x37b)][_0x5c677b(0x16e)](_0xf56138,this[_0x5c677b(0x30d)]);},'onMissingChangesets':({from:_0x56d07e,to:_0x2cd998})=>{var _0x317d52=_0x568a3c;this[_0x317d52(0x36c)][_0x317d52(0x14b)](_0x317d52(0x3ec),_0x317d52(0x224)+_0x56d07e+_0x317d52(0x249)+_0x2cd998);const _0x3d9084={'eventID':_0x5d931e[_0x317d52(0x174)],'data':{'unitID':_0x9fa75e,'unitType':this[_0x317d52(0x115)],'from':_0x56d07e,'to':_0x2cd998}};this[_0x317d52(0x37b)][_0x317d52(0x16e)](_0x3d9084,this['unitID']);}};}async['_createInitialStateImpl'](_0x5fab7d){var _0x2939fb=_0x16f01c,_0x3cc77f,_0x36eee9,_0x98521c;const _0x58d27f=await((_0x3cc77f=this[_0x2939fb(0x179)])==null?void 0x0:_0x3cc77f[_0x2939fb(0x23f)](this[_0x2939fb(0x30d)])),_0x21c6d4=(_0x36eee9=_0x58d27f==null?void 0x0:_0x58d27f[_0x2939fb(0x193)])!=null?_0x36eee9:[],_0x129114=(_0x98521c=_0x58d27f==null?void 0x0:_0x58d27f['awaitingChangeset'])!=null?_0x98521c:null,_0x49e511=!!(_0x129114!=null&&_0x129114[_0x2939fb(0x1d0)])&&!!(_0x129114!=null&&_0x129114[_0x2939fb(0x1e1)]);this[_0x2939fb(0x386)]=_0x49e511?_0x129114['sid']:_0x2054da(),this[_0x2939fb(0x164)]=_0x49e511?_0x129114[_0x2939fb(0x1e1)]:0x0;const _0xfa3aad=this[_0x2939fb(0x30d)];try{this['_replayCachedMutations'](_0x129114,_0x21c6d4);}catch(_0x3238ce){this[_0x2939fb(0x36c)]['error'](_0x3238ce);}const _0x4cee97=this[_0x2939fb(0x1ef)]();if(_0x5fab7d){const _0x1c71fa=Ti(this[_0x2939fb(0x314)],_0xfa3aad,this[_0x2939fb(0x115)],_0x129114,_0x21c6d4,_0x4cee97);return _0x1c71fa instanceof ae?_0x1c71fa[_0x2939fb(0x291)]():(_0x1c71fa instanceof oe||_0x1c71fa instanceof le)&&_0x1c71fa['resend'](),_0x1c71fa;}return this[_0x2939fb(0x314)][_0x2939fb(0x421)](de,_0xfa3aad,this[_0x2939fb(0x115)],_0x129114,_0x21c6d4,_0x4cee97);}[_0x16f01c(0x1fa)](_0x2e2a3a,_0x3fe5f7){var _0x4e9897=_0x16f01c,_0x3f2cfb,_0x4a3386;const _0x3ab405=this[_0x4e9897(0x1ca)][_0x4e9897(0x1d4)][_0x4e9897(0x1f6)](this['_compressMutationService'][_0x4e9897(0x1d4)][_0x4e9897(0x37f)]()[_0x4e9897(0x310)]);(_0x3f2cfb=_0x3ab405((_0x2e2a3a==null?void 0x0:_0x2e2a3a[_0x4e9897(0x193)])||[],null))==null||_0x3f2cfb['forEach'](_0x52057d=>this[_0x4e9897(0x254)][_0x4e9897(0x20c)](_0x52057d['id'],_0x52057d['params'])),(_0x4a3386=_0x3ab405(_0x3fe5f7||[],null))==null||_0x4a3386['forEach'](_0x10ee2c=>this[_0x4e9897(0x254)]['executeCommand'](_0x10ee2c['id'],_0x10ee2c[_0x4e9897(0x2b2)]));}};st=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(ve)),$(0x8,_0x2fe86b),$(0x9,_0x46c731),$(0xa,_0x14b5ce),$(0xb,_0x2aca0e),$(0xc,_0x23ad4d(_t)),$(0xd,_0x23ad4d(J))],st);let It=class extends st{constructor(_0x3eeeb8,_0x4d7b71,_0x5971d2,_0x1e0350,_0x1da2c0,_0x396d07,_0x35967b,_0x5e3669,_0x12f6d0,_0x38423a,_0x5aa0f1,_0x30c6a0,_0x45eef0,_0x3cf02d){var _0x5e44c4=_0x16f01c;super(_0x3eeeb8,_0x5971d2,_0x4d7b71,_0x1e0350,_0x1da2c0,_0x396d07,_0x35967b,_0x5e3669,_0x12f6d0,_0x38423a,_0x5aa0f1,_0x30c6a0,_0x45eef0,_0x3cf02d),D(this,_0x5e44c4(0x145),null),(this[_0x5e44c4(0x30d)]=_0x3eeeb8,this[_0x5e44c4(0x2f8)]=_0x4d7b71);}['addHandlerCallback'](_0x4f5662){var _0x578e48=_0x16f01c;this[_0x578e48(0x145)]=_0x4f5662;}[_0x16f01c(0x1d1)](){var _0x517961=_0x16f01c;this[_0x517961(0x145)]=null,super[_0x517961(0x1d1)]();}[_0x16f01c(0x1ef)](){var _0x3bb33c=_0x16f01c;const _0x5c5ffc=super[_0x3bb33c(0x1ef)]();return _0x5c5ffc['onTransformIME']=_0x51d4d6=>{var _0x4ed7a8=_0x3bb33c,_0x5825b7,_0x1634a7;return(_0x1634a7=(_0x5825b7=this[_0x4ed7a8(0x145)])==null?void 0x0:_0x5825b7[_0x4ed7a8(0x2ee)])==null?void 0x0:_0x1634a7['call'](_0x5825b7,_0x51d4d6);},_0x5c5ffc['onTransformState']=_0x43c4a5=>{var _0x1f311d=_0x3bb33c,_0x2eb6fe,_0x4a2e79;return(_0x4a2e79=(_0x2eb6fe=this[_0x1f311d(0x145)])==null?void 0x0:_0x2eb6fe[_0x1f311d(0x154)])==null?void 0x0:_0x4a2e79['call'](_0x2eb6fe,_0x43c4a5);},_0x5c5ffc[_0x3bb33c(0x18a)]=_0x11e163=>{var _0x360ee8=_0x3bb33c,_0x51f60c,_0x5dfc6e;return(_0x5dfc6e=(_0x51f60c=this[_0x360ee8(0x145)])==null?void 0x0:_0x51f60c['onTransformSelections'])==null?void 0x0:_0x5dfc6e[_0x360ee8(0x136)](_0x51f60c,_0x11e163);},_0x5c5ffc[_0x3bb33c(0x155)]=_0x3e7dd9=>{var _0x10c5bd=_0x3bb33c,_0x1e9e3d,_0x31f4d5;return(_0x31f4d5=(_0x1e9e3d=this[_0x10c5bd(0x145)])==null?void 0x0:_0x1e9e3d[_0x10c5bd(0x155)])==null?void 0x0:_0x31f4d5[_0x10c5bd(0x136)](_0x1e9e3d,_0x3e7dd9);},_0x5c5ffc['onTransformRemoteChangesetByIMECache']=_0x31c980=>{var _0x3c3ce8=_0x3bb33c,_0x20ae88,_0x557352,_0x4d9865;if(!((_0x20ae88=this[_0x3c3ce8(0x145)])!=null&&_0x20ae88[_0x3c3ce8(0x215)]))throw new Error(_0x3c3ce8(0x15a));return(_0x4d9865=(_0x557352=this[_0x3c3ce8(0x145)])==null?void 0x0:_0x557352[_0x3c3ce8(0x215)])==null?void 0x0:_0x4d9865[_0x3c3ce8(0x136)](_0x557352,_0x31c980);},_0x5c5ffc['onTransformRemoteChangesetByStateCache']=_0x2b2d9e=>{var _0x12417e=_0x3bb33c,_0x11273a,_0x4dc33f,_0x3f7961;if(!((_0x11273a=this[_0x12417e(0x145)])!=null&&_0x11273a[_0x12417e(0x229)]))throw new Error(_0x12417e(0x17b));return(_0x3f7961=(_0x4dc33f=this[_0x12417e(0x145)])==null?void 0x0:_0x4dc33f[_0x12417e(0x229)])==null?void 0x0:_0x3f7961[_0x12417e(0x136)](_0x4dc33f,_0x2b2d9e);},_0x5c5ffc;}async['_init'](){var _0x5ea9de=_0x16f01c;const _0x48bb71=await super[_0x5ea9de(0x3de)]();return this['disposeWithMe'](this[_0x5ea9de(0x254)]['onCommandExecuted']((_0x59df6a,_0x17747e)=>{var _0x105e75=_0x5ea9de;if(_0x59df6a[_0x105e75(0x2f8)]!==_0x17c949[_0x105e75(0x367)]||_0x17747e!=null&&_0x17747e[_0x105e75(0x191)]||_0x17747e!=null&&_0x17747e[_0x105e75(0x388)]||_0x59df6a['id']===_0x33b06f['id'])return;const _0x390418=_0x59df6a[_0x105e75(0x2b2)];if((_0x390418==null?void 0x0:_0x390418[_0x105e75(0x220)])!==this[_0x105e75(0x30d)])return;const _0x3cfcf8=_0x59df6a,_0x134e98=this['_compressMutationService'][_0x105e75(0x1d4)][_0x105e75(0x1f6)](this[_0x105e75(0x1ca)][_0x105e75(0x1d4)][_0x105e75(0x37f)]()['COMPRESS_MUTATION_SEND'])([_0x3cfcf8],this[_0x105e75(0x373)])||[_0x3cfcf8];this[_0x105e75(0x163)](_0x134e98[0x0]);})),_0x48bb71;}};It=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(ve)),$(0x8,_0x2fe86b),$(0x9,_0x46c731),$(0xa,_0x14b5ce),$(0xb,_0x2aca0e),$(0xc,_0x23ad4d(_t)),$(0xd,_0x23ad4d(J))],It);let St=class extends st{constructor(_0x488746,_0xf292e0,_0xae6810,_0x5313d8,_0x1ab799,_0x3784a8,_0x2bf2d2,_0x1517f0,_0x365d74,_0x430a4a,_0x16594f,_0x11966a,_0x5848a6,_0x30796e,_0x491e03){var _0x446e61=_0x16f01c;super(_0x488746,_0xae6810,_0xf292e0,_0x5313d8,_0x1ab799,_0x3784a8,_0x2bf2d2,_0x365d74,_0x430a4a,_0x16594f,_0x11966a,_0x5848a6,_0x30796e,_0x491e03),this[_0x446e61(0x30d)]=_0x488746,this[_0x446e61(0x2f8)]=_0xf292e0,this[_0x446e61(0x24c)]=_0x1517f0;}['_createHandler'](){var _0x5b2d48=_0x16f01c;const _0x3b8e4a=super[_0x5b2d48(0x1ef)]();return _0x3b8e4a['onTransformSelections']=_0x335d3b=>this[_0x5b2d48(0x24c)][_0x5b2d48(0x20e)](_0x335d3b),_0x3b8e4a;}async['_init'](){var _0x260506=_0x16f01c;const _0x1ab9a3=await super[_0x260506(0x3de)]();return this[_0x260506(0x107)](this['_commandService'][_0x260506(0x298)]((_0x11c420,_0x1fe7f2)=>{var _0x2cb497=_0x260506;if(_0x11c420[_0x2cb497(0x2f8)]!==_0x17c949[_0x2cb497(0x367)]||_0x1fe7f2!=null&&_0x1fe7f2[_0x2cb497(0x191)]||_0x1fe7f2!=null&&_0x1fe7f2[_0x2cb497(0x388)])return;const _0x3aeac0=_0x11c420[_0x2cb497(0x2b2)];if((_0x3aeac0==null?void 0x0:_0x3aeac0[_0x2cb497(0x220)])!==this[_0x2cb497(0x30d)])return;const _0x5ea1a4=_0x11c420,_0x395d4c=this[_0x2cb497(0x1ca)][_0x2cb497(0x1d4)]['fetchThroughInterceptors'](this[_0x2cb497(0x1ca)][_0x2cb497(0x1d4)][_0x2cb497(0x37f)]()[_0x2cb497(0x2be)])([_0x5ea1a4],this['_univerInstanceService'])||[_0x5ea1a4];this[_0x2cb497(0x163)](_0x395d4c[0x0]);})),_0x1ab9a3;}};St=At([$(0x3,_0x39a463(_0x487d01)),$(0x4,_0x39a463(_0x430c60)),$(0x5,_0x39a463(_0x2d14a8)),$(0x6,_0x39a463(_0x587581)),$(0x7,_0x39a463(it)),$(0x8,_0x39a463(ve)),$(0x9,_0x2fe86b),$(0xa,_0x46c731),$(0xb,_0x14b5ce),$(0xc,_0x2aca0e),$(0xd,_0x23ad4d(_t)),$(0xe,_0x23ad4d(J))],St);const Bs=_0xdd7a4d(_0x16f01c(0x151));function Fs(_0x4378fa){var _0x5b82c9=_0x16f01c,_0x1ec86e,_0xaf7923,_0xe362b2,_0x5e33ae,_0x48607c;const _0x353f53=_0x4378fa['data'],_0x35bf55=JSON['parse'](_0x353f53);switch(_0x35bf55['cmd']){case j['HEARTBEAT']:case j[_0x5b82c9(0x3db)]:{const _0x11c500=_0x35bf55[_0x5b82c9(0x318)];return{..._0x35bf55,'data':_0x11c500,'cmd':_0x35bf55['cmd']};}case j[_0x5b82c9(0x317)]:{const _0x5947e0=_0x35bf55[_0x5b82c9(0x13c)];return{..._0x35bf55,'data':_0x5947e0,'cmd':_0x35bf55[_0x5b82c9(0x395)]};}case j['RECV']:{const _0x54b4a7=_0x35bf55[_0x5b82c9(0x19e)];switch(_0x54b4a7[_0x5b82c9(0x141)]){case _0x5d931e[_0x5b82c9(0x319)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x1ec86e=_0x54b4a7[_0x5b82c9(0x306)])==null?void 0x0:_0x1ec86e['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x2e6)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0xaf7923=_0x54b4a7[_0x5b82c9(0x143)])==null?void 0x0:_0xaf7923['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x391)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0xe362b2=_0x54b4a7[_0x5b82c9(0x1dd)])==null?void 0x0:_0xe362b2['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x257)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x5e33ae=_0x54b4a7[_0x5b82c9(0x3fa)])==null?void 0x0:_0x5e33ae['cs']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x113)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':(_0x48607c=_0x54b4a7[_0x5b82c9(0x19c)])==null?void 0x0:_0x48607c['cs']},'cmd':_0x35bf55['cmd']};case _0x5d931e['UPDATE_CURSOR']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['updateCursorEvent']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x178)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x162)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x13a)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x101)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x342)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x383)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x271)]:case _0x5d931e[_0x5b82c9(0x2de)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['liveShareOperation']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x3cb)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['liveShareNewHost']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e['MSG_FOR_ERROR']:return{..._0x35bf55,'data':_0x54b4a7,'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e['COMMENT_UPDATE']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7['commentUpdateEvent']},'cmd':_0x35bf55[_0x5b82c9(0x395)]};case _0x5d931e[_0x5b82c9(0x387)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x17e)]},'cmd':_0x35bf55['cmd']};case _0x5d931e[_0x5b82c9(0x27d)]:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x341)]},'cmd':_0x35bf55['cmd']};case _0x5d931e['UNISCRIPT_RUN']:return{..._0x35bf55,'data':{..._0x54b4a7,'data':_0x54b4a7[_0x5b82c9(0x132)]},'cmd':_0x35bf55[_0x5b82c9(0x395)]};default:return _0x35bf55;}}default:return _0x35bf55;}}function js(_0x128650){var _0xfe3c79=_0x16f01c;switch(_0x128650[_0xfe3c79(0x395)]){case j['HEARTBEAT']:case j[_0xfe3c79(0x3db)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)]});case j[_0xfe3c79(0x1cd)]:{let _0xf6fdd;switch(_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x141)]){case _0x5d931e[_0xfe3c79(0x116)]:{_0xf6fdd={'eventID':_0x5d931e['UPDATE_CURSOR'],'updateCursorEvent':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x13a)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x13a)],'leaveEvent':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e['USERS_ENTER']:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x178)],'joinEvent':_0x128650[_0xfe3c79(0x3fc)]['data']};break;}case _0x5d931e['LIVESHARE_NEW_HOST']:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x342)],'liveShareNewHost':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x2de)]:{_0xf6fdd={'eventID':_0x5d931e['LIVESHARE_OPERATION'],'liveShareOperation':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x3cb)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x3cb)],'liveShareTerminate':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x3ad)]:{_0xf6fdd={'eventID':_0x5d931e[_0xfe3c79(0x3ad)],'liveShareRequestHost':_0x128650[_0xfe3c79(0x3fc)][_0xfe3c79(0x3fc)]};break;}case _0x5d931e[_0xfe3c79(0x271)]:{_0xf6fdd={'eventID':_0x5d931e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0xf6fdd={'eventID':_0x128650['data'][_0xfe3c79(0x141)]};}return JSON['stringify']({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)],'collaMsg':_0xf6fdd});}case j[_0xfe3c79(0x317)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650['routeKey'],'joinReq':_0x128650[_0xfe3c79(0x3fc)]});case j[_0xfe3c79(0x1eb)]:return JSON[_0xfe3c79(0x2a1)]({'cmd':_0x128650[_0xfe3c79(0x395)],'routeKey':_0x128650[_0xfe3c79(0x2ae)],'leaveReq':_0x128650[_0xfe3c79(0x3fc)]});default:throw new Error(_0xfe3c79(0x24e));}}var Vs=Object[_0x16f01c(0x11f)],Gs=(_0x518e21,_0x8e45b6,_0x148316,_0x521a93)=>{var _0x1ab570=_0x16f01c;for(var _0x5448e8=_0x521a93>0x1?void 0x0:_0x521a93?Vs(_0x8e45b6,_0x148316):_0x8e45b6,_0x5870b1=_0x518e21[_0x1ab570(0x389)]-0x1,_0x50c90c;_0x5870b1>=0x0;_0x5870b1--)(_0x50c90c=_0x518e21[_0x5870b1])&&(_0x5448e8=_0x50c90c(_0x5448e8)||_0x5448e8);return _0x5448e8;},ye=(_0x18f48e,_0x203ce4)=>(_0x3a47f7,_0x85e1a3)=>_0x203ce4(_0x3a47f7,_0x85e1a3,_0x18f48e);const Oi=_0xdd7a4d('univer-pro.collaboration-client-socket-service');function Ws(_0x3f450f,_0x287194,_0x4fb529){var _0x156d99=_0x16f01c;return _0x3f450f+'/'+_0x287194+_0x156d99(0x2b3)+_0x4fb529+'/new_changes';}let Gt=class extends _0x4cf69f{constructor(_0x311980,_0x39f971,_0x316416,_0x306aeb,_0x5465b6){var _0x56f75a=_0x16f01c;super(),this[_0x56f75a(0x314)]=_0x311980,this[_0x56f75a(0x361)]=_0x39f971,this['_configService']=_0x316416,this['_logService']=_0x306aeb,this['_snapshotServerService']=_0x5465b6;}['_doCreateSocket'](_0x45df0d){var _0x24c630=_0x16f01c;const _0x117dce=this[_0x24c630(0x314)][_0x24c630(0x235)](_0x30773f);if(!_0x117dce)throw new Error(_0x24c630(0x3ab));const _0x307c81=_0x117dce['createSocket'](_0x45df0d);if(!_0x307c81)throw new Error(_0x24c630(0x2fd));const _0x12d6c6=new _0x18bb07(),_0x35dab6=new _0x4a9940();_0x12d6c6[_0x24c630(0x3c1)](_0x307c81[_0x24c630(0x3a0)][_0x24c630(0x33f)](_0x2b462c=>_0x35dab6[_0x24c630(0x1ff)](_0x2b462c))),_0x12d6c6[_0x24c630(0x3c1)](_0x5615b1(()=>_0x35dab6[_0x24c630(0x199)]()));const _0x1a80d7=new _0x4a9940();_0x12d6c6[_0x24c630(0x3c1)](_0x307c81[_0x24c630(0x283)][_0x24c630(0x33f)](_0x2c3641=>_0x1a80d7[_0x24c630(0x1ff)](_0x2c3641))),_0x12d6c6['add'](_0x5615b1(()=>_0x1a80d7[_0x24c630(0x199)]()));const _0x34acb2=new _0x4a9940();_0x12d6c6['add'](_0x307c81['message$'][_0x24c630(0x33f)](_0x2ed9b0=>{var _0x454dc0=_0x24c630;const _0x1fcd42=Fs(_0x2ed9b0);_0x34acb2[_0x454dc0(0x1ff)](_0x1fcd42);})),_0x12d6c6[_0x24c630(0x3c1)](_0x5615b1(()=>_0x34acb2['complete']()));let _0xd2f8f5;const _0x42c159=()=>{var _0x3f421b=_0x24c630;_0x1a80d7['next'](new Event(_0x3f421b(0x3bd))),_0x35dab6['next'](new Event('connection\x20error')),_0xd2f8f5[_0x3f421b(0x2c6)]();};return _0xd2f8f5={'memberID':'','close$':_0x35dab6[_0x24c630(0x2d4)](),'error$':_0x1a80d7[_0x24c630(0x2d4)](),'open$':_0x307c81[_0x24c630(0x1f9)],'message$':_0x34acb2[_0x24c630(0x2d4)](),'send':_0x55a548=>{var _0x2ba5f6=_0x24c630;if(_0x55a548[_0x2ba5f6(0x395)]===j[_0x2ba5f6(0x1cd)]){if(_0x55a548[_0x2ba5f6(0x3fc)]['eventID']===_0x5d931e[_0x2ba5f6(0x137)]){this[_0x2ba5f6(0x147)](_0xd2f8f5,_0x55a548[_0x2ba5f6(0x3fc)])[_0x2ba5f6(0x2d7)](_0xfd69b7=>{var _0x31cb3a=_0x2ba5f6;this['_logService'][_0x31cb3a(0x390)](_0xfd69b7),_0x42c159();});return;}if(_0x55a548[_0x2ba5f6(0x3fc)]['eventID']===_0x5d931e[_0x2ba5f6(0x174)]){const _0x23dfdf=_0x55a548[_0x2ba5f6(0x3fc)];this[_0x2ba5f6(0x117)](_0x23dfdf)[_0x2ba5f6(0x1bc)](_0x109849=>{var _0x6e5142=_0x2ba5f6;_0x34acb2[_0x6e5142(0x1ff)]({'cmd':j[_0x6e5142(0x35a)],'code':pe['OK'],'routeKey':_0x23dfdf[_0x6e5142(0x3fc)][_0x6e5142(0x30d)],'routeType':'','data':{'eventID':_0x5d931e[_0x6e5142(0x1ec)],'data':{'changesets':_0x109849}}});})[_0x2ba5f6(0x2d7)](_0x26d580=>{var _0x137be7=_0x2ba5f6;this['_logService'][_0x137be7(0x390)](_0x26d580),_0x42c159();});return;}}_0x307c81['send'](js(_0x55a548));},'close':()=>{var _0x34ec7b=_0x24c630;_0x307c81['close'](),_0x12d6c6[_0x34ec7b(0x1d1)]();}},_0xd2f8f5;}async[_0x16f01c(0x147)](_0x2dcdb3,_0x463f86){var _0x4bb81b=_0x16f01c,_0x245238;const {unitType:_0x8ab216,unitID:_0x44313f,changeset:_0x513147}=_0x463f86[_0x4bb81b(0x3fc)],_0x51fe3c={'unitID':_0x44313f,'memberID':_0x2dcdb3[_0x4bb81b(0x2fb)],'type':_0x8ab216,'changeset':_0x5158f9(_0x513147)},_0x36e0b2=this[_0x4bb81b(0x1ce)][_0x4bb81b(0x27b)](K),_0x40c122=Ws((_0x245238=_0x36e0b2==null?void 0x0:_0x36e0b2['collabSubmitChangesetUrl'])!=null?_0x245238:Os,_0x8ab216,_0x44313f);try{await this[_0x4bb81b(0x361)]['post'](_0x40c122,{'body':_0x51fe3c});}catch(_0x2f8552){throw this[_0x4bb81b(0x36c)][_0x4bb81b(0x390)](_0x4bb81b(0x31c),_0x4bb81b(0x3f8)),_0x2f8552;}}async['_fetchMissChangesets'](_0x1f2ae5){var _0x1ed02c=_0x16f01c;const {unitID:_0x56e6e4,from:_0x3d9e6a,to:_0x186c97,unitType:_0x41f76e}=_0x1f2ae5[_0x1ed02c(0x3fc)];return(await this[_0x1ed02c(0x322)][_0x1ed02c(0x2ac)]({'metadata':void 0x0},{'unitID':_0x56e6e4,'type':_0x41f76e,'from':_0x3d9e6a,'to':_0x186c97}))[_0x1ed02c(0x28d)]['map'](_0x45b6b5=>((_0x45b6b5[_0x1ed02c(0x193)]===null||_0x45b6b5[_0x1ed02c(0x193)]===void 0x0)&&(_0x45b6b5[_0x1ed02c(0x193)]=[]),_0x45b6b5));}};Gt=Gs([ye(0x0,_0x39a463(_0x487d01)),ye(0x1,_0x39a463(_0x2e0fa2)),ye(0x2,_0x5b80dc),ye(0x3,_0x46c731),ye(0x4,_0x3bb936)],Gt);var Ys=Object['getOwnPropertyDescriptor'],Ks=(_0x2f2314,_0x403141,_0x161750,_0x466e91)=>{var _0x309992=_0x16f01c;for(var _0x2c62bb=_0x466e91>0x1?void 0x0:_0x466e91?Ys(_0x403141,_0x161750):_0x403141,_0x4bb54d=_0x2f2314[_0x309992(0x389)]-0x1,_0x19b203;_0x4bb54d>=0x0;_0x4bb54d--)(_0x19b203=_0x2f2314[_0x4bb54d])&&(_0x2c62bb=_0x19b203(_0x2c62bb)||_0x2c62bb);return _0x2c62bb;},Re=(_0x11ce86,_0x2dc2d8)=>(_0x32f663,_0x42e15d)=>_0x2dc2d8(_0x32f663,_0x42e15d,_0x11ce86);let we=class extends _0x4cf69f{constructor(_0x4e8fc5,_0x3784e5,_0x43ddf2,_0x58ddfd,_0x40f630,_0x37f005){var _0x245c91=_0x16f01c;super(),D(this,_0x245c91(0x180),new _0x310797(void 0x0)),D(this,'socket$',this[_0x245c91(0x180)]['asObservable']()),D(this,_0x245c91(0x197),null),D(this,_0x245c91(0x121),new Map()),D(this,_0x245c91(0x41b),new _0x310797(me['IDLE'])),D(this,'status$',this[_0x245c91(0x41b)][_0x245c91(0x2d4)]()),D(this,_0x245c91(0x2bc),!0x1),D(this,_0x245c91(0x153)),D(this,'_retryCount',0x0),D(this,_0x245c91(0x380)),D(this,_0x245c91(0x26e)),(this[_0x245c91(0x314)]=_0x4e8fc5,this['_logService']=_0x3784e5,this[_0x245c91(0x1ce)]=_0x43ddf2,this[_0x245c91(0x232)]=_0x58ddfd,this['_collaborationUIEventService']=_0x40f630,this['_networkConditionService']=_0x37f005,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x16f01c(0x17d)](){var _0x36438e=_0x16f01c;this[_0x36438e(0x2a8)]&&this[_0x36438e(0x107)](this[_0x36438e(0x2a8)][_0x36438e(0x2b5)]['subscribe'](_0x51ac64=>{var _0x3e413b=_0x36438e;_0x51ac64&&!this[_0x3e413b(0x28a)]&&this[_0x3e413b(0x295)](),_0x51ac64||this[_0x3e413b(0x3a8)]();}));}[_0x16f01c(0x1d1)](){var _0x56dc12=_0x16f01c;super[_0x56dc12(0x1d1)](),this[_0x56dc12(0x398)](),this[_0x56dc12(0x275)](),this[_0x56dc12(0x350)](),this[_0x56dc12(0x121)][_0x56dc12(0x17f)](_0x38ad16=>_0x38ad16[_0x56dc12(0x1d1)]()),this['_sessions'][_0x56dc12(0x280)](),this[_0x56dc12(0x41b)][_0x56dc12(0x199)]();}async[_0x16f01c(0x10f)](_0x335196){var _0xe55700=_0x16f01c;if(this[_0xe55700(0x121)][_0xe55700(0x1cb)](_0x335196))return this[_0xe55700(0x121)][_0xe55700(0x235)](_0x335196);this[_0xe55700(0x1b7)]();const _0x67d695=this['_injector'][_0xe55700(0x421)](mt,_0x335196,this[_0xe55700(0x180)][_0xe55700(0x2d4)]());return this[_0xe55700(0x121)][_0xe55700(0x139)](_0x335196,_0x67d695),_0x67d695;}[_0x16f01c(0x21d)](_0x1fb6ca){var _0x58ad66=_0x16f01c,_0x1efa2b;const _0x128ad8=this[_0x58ad66(0x121)][_0x58ad66(0x235)](_0x1fb6ca);_0x128ad8&&(this[_0x58ad66(0x121)][_0x58ad66(0x12b)](_0x1fb6ca),_0x128ad8[_0x58ad66(0x2c6)]()),this[_0x58ad66(0x121)]['size']||(_0x1efa2b=this[_0x58ad66(0x28a)])==null||_0x1efa2b[_0x58ad66(0x2c6)]();}[_0x16f01c(0x295)](){var _0x1f9bda=_0x16f01c;this[_0x1f9bda(0x129)]=0x0,this[_0x1f9bda(0x398)](),this[_0x1f9bda(0x230)]();}[_0x16f01c(0x398)](){var _0x146d8c=_0x16f01c;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x146d8c(0x153)]),this[_0x146d8c(0x153)]=null);}async[_0x16f01c(0x413)](){var _0xc16f9a=_0x16f01c,_0x368441;const _0x5aee1c=this[_0xc16f9a(0x1ce)]['getConfig'](K),_0x4de941=(_0x368441=_0x5aee1c==null?void 0x0:_0x5aee1c[_0xc16f9a(0x381)])!=null?_0x368441:Es,_0x575863=await this[_0xc16f9a(0x232)][_0xc16f9a(0x3f9)](_0x4de941);return this[_0xc16f9a(0x197)]=_0x575863,_0x575863;}async[_0x16f01c(0x1b7)](){var _0xc846e0=_0x16f01c,_0xbc5a45,_0x48201d;try{const _0x37d5c1=(_0x48201d=(_0xbc5a45=this[_0xc846e0(0x28a)])!=null?_0xbc5a45:this[_0xc846e0(0x197)])!=null?_0x48201d:await this[_0xc846e0(0x413)]();if(_0x37d5c1){const _0x113925=_0x37d5c1[_0xc846e0(0x16e)];_0x37d5c1['send']=_0x54f202=>(this['_rescheduleHeartbeat'](),_0x113925[_0xc846e0(0x3d2)](_0x37d5c1,[_0x54f202])),_0x37d5c1[_0xc846e0(0x420)]['subscribe'](_0x2a41cf=>this[_0xc846e0(0x3e4)](_0x37d5c1,_0x2a41cf)),_0x37d5c1[_0xc846e0(0x283)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](_0x4a8821=>this['_logService']['error'](_0xc846e0(0x2fa),_0x4a8821)),_0x37d5c1[_0xc846e0(0x1f9)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](()=>{this['_onConnectionOpen'](_0x37d5c1);}),_0x37d5c1[_0xc846e0(0x3a0)][_0xc846e0(0x36e)](_0x5ab4f4(0x1))[_0xc846e0(0x33f)](_0x4f1bda=>{var _0x3cf9f6=_0xc846e0;this[_0x3cf9f6(0x36c)][_0x3cf9f6(0x14b)](_0x3cf9f6(0x415),'socket\x20close',_0x4f1bda),this[_0x3cf9f6(0x217)]();});}}catch(_0x5b95e2){this['_logService']['error'](_0x5b95e2),this['_onConnectionFailed']();}}[_0x16f01c(0x2a4)](_0x1ad4c4){var _0x560655=_0x16f01c;this[_0x560655(0x36c)][_0x560655(0x14b)](_0x560655(0x415),_0x560655(0x368)),_0x1ad4c4['send']({'cmd':j[_0x560655(0x3db)]}),this[_0x560655(0x272)]();}[_0x16f01c(0x3a8)](){var _0x4225ec=_0x16f01c;this['_socketReady']=!0x1,this[_0x4225ec(0x197)]=null,this[_0x4225ec(0x41b)]['next'](me[_0x4225ec(0x285)]),this['_socket$'][_0x4225ec(0x1ff)](null),this[_0x4225ec(0x275)](),this[_0x4225ec(0x350)]();}[_0x16f01c(0x217)](){var _0x2773c5=_0x16f01c,_0x18d684;this['_onOffline'](),this[_0x2773c5(0x129)]<((_0x18d684=this[_0x2773c5(0x1ce)]['getConfig'](gs))!=null?_0x18d684:Ts)?(this[_0x2773c5(0x238)][_0x2773c5(0x10c)]({'id':re[_0x2773c5(0x10a)]}),this[_0x2773c5(0x230)]()):this[_0x2773c5(0x238)][_0x2773c5(0x10c)]({'id':re[_0x2773c5(0x2f2)]});}[_0x16f01c(0x230)](){var _0x47dcd9=_0x16f01c,_0x316824;const _0x4290c9=this['_retryCount'],_0x21b646=this[_0x47dcd9(0x1ce)][_0x47dcd9(0x27b)](K),_0x13af62=_0x4290c9===0x0?0x0:((_0x316824=_0x21b646==null?void 0x0:_0x21b646[_0x47dcd9(0x371)])!=null?_0x316824:Ss)*0x2**_0x4290c9;this[_0x47dcd9(0x153)]=setTimeout(()=>{var _0x36ec05=_0x47dcd9;clearTimeout(this[_0x36ec05(0x153)]),this[_0x36ec05(0x153)]=null,this[_0x36ec05(0x1b7)]();},_0x13af62),this[_0x47dcd9(0x129)]+=0x1;}[_0x16f01c(0x3e4)](_0x4dad23,_0x50e8c3){var _0x15a7c3=_0x16f01c;const {cmd:_0x48e90b}=_0x50e8c3;_0x48e90b===j[_0x15a7c3(0x3db)]&&!this[_0x15a7c3(0x2bc)]&&(_0x4dad23[_0x15a7c3(0x2fb)]=_0x50e8c3[_0x15a7c3(0x3fc)]['memberID'],this[_0x15a7c3(0x180)][_0x15a7c3(0x1ff)](_0x4dad23),this[_0x15a7c3(0x41b)][_0x15a7c3(0x1ff)](me['ONLINE']),this[_0x15a7c3(0x2bc)]=!0x0,this[_0x15a7c3(0x197)]=null),_0x48e90b===j[_0x15a7c3(0x3b3)]&&this[_0x15a7c3(0x275)](),this['_rescheduleHeartbeat']();}[_0x16f01c(0x272)](){var _0x16065d=_0x16f01c,_0x568a14;this[_0x16065d(0x350)](),this[_0x16065d(0x380)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x568a14=this[_0x16065d(0x1ce)][_0x16065d(0x27b)](ms))!=null?_0x568a14:Is);}['_sendHeartbeat'](){var _0x4efb7a=_0x16f01c;this[_0x4efb7a(0x28a)]['send']({'cmd':j[_0x4efb7a(0x3b3)]}),this[_0x4efb7a(0x1f5)]();}['_waitForHeartbeatResponse'](){var _0x366eaf=_0x16f01c,_0x5041e9;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x5041e9=this[_0x366eaf(0x1ce)][_0x366eaf(0x27b)](di))!=null?_0x5041e9:fi);}[_0x16f01c(0x350)](){var _0x275a86=_0x16f01c;this[_0x275a86(0x380)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x275a86(0x380)]=null);}['_clearTimeoutTimer'](){var _0x269737=_0x16f01c;this[_0x269737(0x26e)]!=null&&(clearTimeout(this[_0x269737(0x26e)]),this[_0x269737(0x26e)]=null);}};we=Ks([Re(0x0,_0x39a463(_0x487d01)),Re(0x1,_0x46c731),Re(0x2,_0x5b80dc),Re(0x3,Oi),Re(0x4,_0x39a463(ve)),Re(0x5,_0x23ad4d(Bs))],we);var qs=Object[_0x16f01c(0x11f)],zs=(_0xbc1384,_0x2488a7,_0x2aa4f2,_0x6858d3)=>{var _0x14e2c7=_0x16f01c;for(var _0x34670a=_0x6858d3>0x1?void 0x0:_0x6858d3?qs(_0x2488a7,_0x2aa4f2):_0x2488a7,_0x2bf277=_0xbc1384[_0x14e2c7(0x389)]-0x1,_0x1b4294;_0x2bf277>=0x0;_0x2bf277--)(_0x1b4294=_0xbc1384[_0x2bf277])&&(_0x34670a=_0x1b4294(_0x34670a)||_0x34670a);return _0x34670a;},Be=(_0x5ca6dc,_0x4eae15)=>(_0x5f11a3,_0x3a7cd0)=>_0x4eae15(_0x5f11a3,_0x3a7cd0,_0x5ca6dc);let nt=class extends _0x28ec07{constructor(_0x41c2c7,_0x256b99,_0x16c209,_0x5b4912){var _0x506485=_0x16f01c,_0x1ffd2e;super(),D(this,_0x506485(0x29e),new Map()),D(this,_0x506485(0x35d),new _0x4a9940()),D(this,'entityInit$',this[_0x506485(0x35d)][_0x506485(0x2d4)]()),(this[_0x506485(0x314)]=_0x41c2c7,this['_collabSessionService']=_0x256b99,this[_0x506485(0x1ce)]=_0x16c209,this[_0x506485(0x373)]=_0x5b4912,((_0x1ffd2e=this['_configService'][_0x506485(0x27b)](K))==null?void 0x0:_0x1ffd2e[_0x506485(0x213)])!==!0x1&&this['_init']());}[_0x16f01c(0x1d1)](){var _0x4be0f9=_0x16f01c;super[_0x4be0f9(0x1d1)](),this[_0x4be0f9(0x29e)][_0x4be0f9(0x17f)](_0x8fbd27=>_0x8fbd27['dispose']()),this[_0x4be0f9(0x29e)]['clear']();}[_0x16f01c(0x311)](_0x4fff9b){var _0x317607=_0x16f01c,_0x495d41;return(_0x495d41=this[_0x317607(0x29e)]['get'](_0x4fff9b))!=null?_0x495d41:null;}['getCollabEntity$'](_0x4f1cde){var _0x1ebfc5=_0x16f01c;const _0x4e6a0d=this[_0x1ebfc5(0x311)](_0x4f1cde);return _0x4e6a0d?_0x3a0627(_0x4e6a0d):this[_0x1ebfc5(0x35d)][_0x1ebfc5(0x36e)](_0xabf85c(_0x41cfc2=>_0x41cfc2[_0x1ebfc5(0x30d)]===_0x4f1cde));}['readyForCollab'](_0x532f94){var _0x32ccb5=_0x16f01c;return _0x4307ca(this[_0x32ccb5(0x3a5)](_0x532f94)[_0x32ccb5(0x36e)](_0x971c50(()=>{})));}[_0x16f01c(0x3de)](){var _0x1aa715=_0x16f01c;this['_univerInstanceService'][_0x1aa715(0x11c)](_0x36f965[_0x1aa715(0x10e)])[_0x1aa715(0x36e)](_0x55796d(this[_0x1aa715(0x19b)]),_0x57f9e9(0x10))[_0x1aa715(0x33f)](async _0x1777b0=>{var _0x114502=_0x1aa715;const _0x3173a5=_0x1777b0[_0x114502(0x3f7)](),_0x4a2d40=await this[_0x114502(0x134)](_0x3173a5,Q['UNIVER_SHEET']);this[_0x114502(0x29e)][_0x114502(0x139)](_0x3173a5,_0x4a2d40);}),this[_0x1aa715(0x373)][_0x1aa715(0x11c)](_0x36f965['UNIVER_DOC'])[_0x1aa715(0x36e)](_0x55796d(this[_0x1aa715(0x19b)]),_0x57f9e9(0x10))[_0x1aa715(0x36e)](_0xabf85c(_0x4b457f=>!_0x4b457f[_0x1aa715(0x3f7)]()[_0x1aa715(0x3b0)]('__')))[_0x1aa715(0x33f)](async _0x2322cc=>{var _0x511d30=_0x1aa715;const _0x1e1886=_0x2322cc[_0x511d30(0x3f7)](),_0x101da1=await this['_startCollaboration'](_0x1e1886,Q[_0x511d30(0x3b4)]);this[_0x511d30(0x29e)][_0x511d30(0x139)](_0x1e1886,_0x101da1);}),_0x596e66(this['_univerInstanceService'][_0x1aa715(0x192)](_0x36f965['UNIVER_SHEET']),this[_0x1aa715(0x373)][_0x1aa715(0x192)](_0x36f965['UNIVER_DOC']))['pipe'](_0x55796d(this[_0x1aa715(0x19b)]))[_0x1aa715(0x33f)](_0x283786=>{var _0x29bffc=_0x1aa715;const _0x380f24=_0x283786['getUnitId'](),_0x518f7e=this[_0x29bffc(0x29e)][_0x29bffc(0x235)](_0x380f24);_0x518f7e&&(_0x518f7e['dispose'](),this[_0x29bffc(0x29e)]['delete'](_0x380f24));});}async['_startCollaboration'](_0x18f1fb,_0x523702){var _0x3ad9f4=_0x16f01c;const _0x46757a=await this[_0x3ad9f4(0x39a)][_0x3ad9f4(0x10f)](_0x18f1fb),_0x52b31c=this[_0x3ad9f4(0x314)]['createInstance'](this['_getCtorByUniverType'](_0x523702),_0x18f1fb,_0x523702,_0x46757a);return await _0x52b31c[_0x3ad9f4(0x3a2)](),this[_0x3ad9f4(0x35d)]['next'](_0x52b31c),_0x52b31c;}[_0x16f01c(0x1e6)](_0x10ef46){var _0x37c619=_0x16f01c;switch(_0x10ef46){case Q[_0x37c619(0x3b4)]:return It;case Q[_0x37c619(0x10e)]:return St;default:throw new Error(_0x37c619(0x1b2)+_0x10ef46);}}};nt=zs([Be(0x0,_0x39a463(_0x487d01)),Be(0x1,_0x39a463(we)),Be(0x2,_0x5b80dc),Be(0x3,_0x2fe86b)],nt);var Js=Object[_0x16f01c(0x11f)],Xs=(_0x49d14a,_0x572868,_0xecc8e3,_0x20a6c3)=>{var _0x49453f=_0x16f01c;for(var _0x5ab30a=_0x20a6c3>0x1?void 0x0:_0x20a6c3?Js(_0x572868,_0xecc8e3):_0x572868,_0x13a878=_0x49d14a[_0x49453f(0x389)]-0x1,_0x4511c7;_0x13a878>=0x0;_0x13a878--)(_0x4511c7=_0x49d14a[_0x13a878])&&(_0x5ab30a=_0x4511c7(_0x5ab30a)||_0x5ab30a);return _0x5ab30a;},Wt=(_0x2bf973,_0x267ba2)=>(_0x59d990,_0xbb5925)=>_0x267ba2(_0x59d990,_0xbb5925,_0x2bf973);const Zs=_0x16f01c(0x305),Qs=_0x16f01c(0x10b);let gt=class extends _0x4cf69f{constructor(_0x26c38d,_0x4874a9){var _0x52ea98=_0x16f01c;super(),this[_0x52ea98(0x373)]=_0x26c38d,this['_configService']=_0x4874a9,this[_0x52ea98(0x3de)]();}['_init'](){var _0x38878f=_0x16f01c;this[_0x38878f(0x107)](this[_0x38878f(0x373)]['focused$'][_0x38878f(0x33f)](()=>{var _0x5952ab=_0x38878f,_0x5eeef4;const _0x23121b=this[_0x5952ab(0x373)][_0x5952ab(0x1f7)]();let _0x229422=(_0x5eeef4=this[_0x5952ab(0x1ce)][_0x5952ab(0x27b)](Zs))!=null?_0x5eeef4:Qs;_0x23121b instanceof _0x319761&&(_0x229422=_0x23121b[_0x5952ab(0x2c4)]),document['title']=_0x229422;}));}};gt=Xs([Wt(0x0,_0x2fe86b),Wt(0x1,_0x5b80dc)],gt);var en=Object['getOwnPropertyDescriptor'],tn=(_0x2caf56,_0x4913bd,_0x297ef4,_0x84192)=>{var _0x52fed7=_0x16f01c;for(var _0x232b05=_0x84192>0x1?void 0x0:_0x84192?en(_0x4913bd,_0x297ef4):_0x4913bd,_0x5701b8=_0x2caf56[_0x52fed7(0x389)]-0x1,_0x8b6e91;_0x5701b8>=0x0;_0x5701b8--)(_0x8b6e91=_0x2caf56[_0x5701b8])&&(_0x232b05=_0x8b6e91(_0x232b05)||_0x232b05);return _0x232b05;},dt=(_0x330337,_0x291e8b)=>(_0x1650e2,_0xd5b4af)=>_0x291e8b(_0x1650e2,_0xd5b4af,_0x330337);let rt=class{constructor(_0x4418d7,_0x577faa,_0x42617f){var _0x4492ba=_0x16f01c;this[_0x4492ba(0x1ce)]=_0x4418d7,this[_0x4492ba(0x361)]=_0x577faa,this[_0x4492ba(0x182)]=_0x42617f,this[_0x4492ba(0x3a2)]();}['init'](){var _0x1344eb=_0x16f01c;this['_httpService'][_0x1344eb(0x379)]({'priority':0x1,'interceptor':(_0x1287be,_0x42f2a3)=>_0x42f2a3(_0x1287be)['pipe'](_0x1c7141(async _0x463bd9=>{var _0x34f162=_0x1344eb;const _0x127ec0=_0x463bd9;if(_0x127ec0[_0x34f162(0x38f)]===0x191){if(typeof window>'u')throw new Error(_0x34f162(0x2c8));if(window[_0x34f162(0x161)](this['localeService']['t'](_0x34f162(0x13d)))){const _0x2540ec=window[_0x34f162(0x159)](window['location'][_0x34f162(0x41e)]);window[_0x34f162(0x267)][_0x34f162(0x41e)]=this[_0x34f162(0x2dc)]()+_0x34f162(0x1ee)+_0x2540ec;}}return _0x127ec0;}))});}[_0x16f01c(0x2dc)](){var _0x13b49d=_0x16f01c,_0xf27fc6;const _0xf54b49=this[_0x13b49d(0x1ce)][_0x13b49d(0x27b)](K);return(_0xf27fc6=_0xf54b49==null?void 0x0:_0xf54b49['loginUrlKey'])!=null?_0xf27fc6:Rs;}};rt=tn([dt(0x0,_0x5b80dc),dt(0x1,_0x39a463(_0x2e0fa2)),dt(0x2,_0x39a463(_0x2d14a8))],rt);var sn=Object[_0x16f01c(0x11f)],nn=(_0x5a1c0e,_0x430b82,_0x187431,_0x41d656)=>{var _0x6387ea=_0x16f01c;for(var _0x2565bb=_0x41d656>0x1?void 0x0:_0x41d656?sn(_0x430b82,_0x187431):_0x430b82,_0x69576a=_0x5a1c0e[_0x6387ea(0x389)]-0x1,_0x48bf66;_0x69576a>=0x0;_0x69576a--)(_0x48bf66=_0x5a1c0e[_0x69576a])&&(_0x2565bb=_0x48bf66(_0x2565bb)||_0x2565bb);return _0x2565bb;},Yt=(_0x11886b,_0x199c1c)=>(_0x5a2472,_0x294b7e)=>_0x199c1c(_0x5a2472,_0x294b7e,_0x11886b);const rn=_0x16f01c(0x352);let Tt=class extends _0x4cf69f{constructor(_0x59d681,_0x1328a0){var _0x1673b3=_0x16f01c;super(),this[_0x1673b3(0x36f)]=_0x59d681,this[_0x1673b3(0x1ce)]=_0x1328a0,this[_0x1673b3(0x2a5)]();}[_0x16f01c(0x2a5)](){var _0x4fea83=_0x16f01c;const _0x12e944=this;this[_0x4fea83(0x107)](this['_HTTPService'][_0x4fea83(0x379)]({'priority':0x3e7,'interceptor':_0x52bcb8({'isMatch'(_0x3afb91){var _0x444fe7=_0x4fea83,_0x2740cf;if(_0x3afb91[_0x444fe7(0x1e4)]===_0x444fe7(0x1a8)&&((_0x2740cf=_0x3afb91[_0x444fe7(0x34d)])!=null&&_0x2740cf[_0x444fe7(0x35b)])){const {objectID:_0x46e543,objectType:_0x49fe35}=_0x3afb91['requestParams']['body']||{};if(!_0x46e543||_0x49fe35===void 0x0)return!0x1;const _0x4b398c=_0x12e944['_getAPIPrefixPath']()+'/'+_0x49fe35+_0x444fe7(0x324)+_0x46e543+_0x444fe7(0x1b9);if(_0x3afb91[_0x444fe7(0x172)]===_0x4b398c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3971bd){var _0x4ad2d3=_0x4fea83,_0x334534;return(_0x334534=_0x3971bd[_0x4ad2d3(0x34d)])==null?void 0x0:_0x334534[_0x4ad2d3(0x35b)];},'mergeParamsToRequest'(_0x17becb,_0x4babbe){var _0x782a6e=_0x4fea83;const _0x15540b=_0x12e944[_0x782a6e(0x25d)]()+'/-/object/-/batch_allowed',_0x531290=_0x17becb['reduce']((_0x541f72,_0x6d2677)=>{var _0x518c56=_0x782a6e;const {unitID:_0x3464e5,objectID:_0x1c2079,objectType:_0x33cbe5,actions:_0x590ce1}=_0x6d2677;return _0x541f72[_0x3464e5]||(_0x541f72[_0x3464e5]={}),_0x541f72[_0x3464e5][_0x1c2079]||(_0x541f72[_0x3464e5][_0x1c2079]={'objectID':_0x1c2079,'objectType':_0x33cbe5,'actions':[]}),_0x541f72[_0x3464e5][_0x1c2079]['actions'][_0x518c56(0x288)](..._0x590ce1),_0x541f72;},{}),_0x1ab2e9=[];for(const _0x34168b in _0x531290)for(const _0x4e4666 in _0x531290[_0x34168b]){const {actions:_0x3d5605,objectType:_0x190f99}=_0x531290[_0x34168b][_0x4e4666],_0x4ce9e1=[...new Set(_0x3d5605)];_0x1ab2e9[_0x782a6e(0x288)]({'unitID':_0x34168b,'objectID':_0x4e4666,'objectType':_0x190f99,'actions':_0x4ce9e1});}return new _0x2816eb(_0x782a6e(0x1a8),_0x15540b,{'headers':_0x4babbe['headers'],'withCredentials':_0x4babbe[_0x782a6e(0x3aa)],'responseType':_0x4babbe[_0x782a6e(0x16c)],'body':{'requests':_0x1ab2e9}});}},{'distributeResult'(_0x168830,_0x5a1e47){var _0x5311a2=_0x4fea83;const {objectActions:_0x504471}=_0x168830;return _0x5a1e47[_0x5311a2(0x34c)](_0x434918=>{var _0x3be741=_0x5311a2;const {unitID:_0x51b1c9,objectID:_0x41b00a,actions:_0x2bdf2a}=_0x434918,_0x279633=_0x504471['find'](_0xe02c5f=>_0xe02c5f[_0x3be741(0x30d)]===_0x51b1c9&&_0xe02c5f['objectID']===_0x41b00a),_0x1af850=_0x2bdf2a[_0x3be741(0x34c)](_0x70fcc1=>_0x279633==null?void 0x0:_0x279633['actions']['find'](_0x500b94=>_0x500b94[_0x3be741(0x250)]===_0x70fcc1))[_0x3be741(0x2f5)](_0x45c77e=>!!_0x45c77e);return{'config':_0x434918,'result':{'actions':_0x1af850,'error':_0x168830[_0x3be741(0x390)]}};});}})}));}[_0x16f01c(0x25d)](){var _0x3ab634=_0x16f01c,_0xfd2e89;const _0x59f875=this[_0x3ab634(0x1ce)][_0x3ab634(0x27b)](K);return(_0xfd2e89=_0x59f875==null?void 0x0:_0x59f875[_0x3ab634(0x3a6)])!=null?_0xfd2e89:rn;}async[_0x16f01c(0x406)](_0x25aabd){var _0x37c68e=_0x16f01c;const _0x15ce64=this[_0x37c68e(0x25d)]()+'/'+_0x25aabd[_0x37c68e(0x2bb)]+_0x37c68e(0x2cf);return(await this['_HTTPService']['post'](_0x15ce64,{'body':_0x25aabd}))[_0x37c68e(0x35b)][_0x37c68e(0x12d)]||'';}async['list'](_0x13e4f4){var _0x597362=_0x16f01c;const _0x1cd7a5=this[_0x597362(0x25d)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x1cd7a5,{'body':_0x13e4f4}))['body'][_0x597362(0x17c)];}async[_0x16f01c(0x384)](_0x1b6a3a){var _0x517759=_0x16f01c,_0x2f7169,_0x475da5;const _0x2cb555=this['_getAPIPrefixPath']()+'/'+_0x1b6a3a['objectType']+'/object/'+_0x1b6a3a[_0x517759(0x12d)],_0x282258=await this[_0x517759(0x36f)]['put'](_0x2cb555,{'body':_0x1b6a3a});if(((_0x475da5=(_0x2f7169=_0x282258==null?void 0x0:_0x282258[_0x517759(0x35b)])==null?void 0x0:_0x2f7169[_0x517759(0x390)])==null?void 0x0:_0x475da5[_0x517759(0x3b2)])!==0x1)throw new Error(_0x517759(0x2b1));}async[_0x16f01c(0x3fd)](_0x17dfae){var _0x47700c=_0x16f01c;const _0x55bd32=this[_0x47700c(0x25d)]()+'/'+_0x17dfae['objectType']+_0x47700c(0x324)+_0x17dfae[_0x47700c(0x12d)]+_0x47700c(0x1b9);return(await this[_0x47700c(0x36f)][_0x47700c(0x3ea)](_0x55bd32,{'body':_0x17dfae}))['body'][_0x47700c(0x278)];}async['batchAllowed'](_0x3592c9){var _0x529a32=_0x16f01c;const _0x418d13=this[_0x529a32(0x25d)]()+_0x529a32(0x221);return(await this[_0x529a32(0x36f)][_0x529a32(0x3ea)](_0x418d13,{'body':{'requests':_0x3592c9}}))['body']['objectActions'];}async[_0x16f01c(0x2ff)](_0x36e434){var _0x5464ae=_0x16f01c;const _0x44c50d=this[_0x5464ae(0x25d)]()+'/'+_0x36e434['objectType']+'/role',_0x1a4dce=await this[_0x5464ae(0x36f)][_0x5464ae(0x3ea)](_0x44c50d,{'body':_0x36e434});return{'roles':_0x1a4dce[_0x5464ae(0x35b)]['roles'],'actions':_0x1a4dce[_0x5464ae(0x35b)]['actions']};}async['deleteCollaborator'](_0x1d2b19){var _0x2da855=_0x16f01c;const _0xb91613=this[_0x2da855(0x25d)]()+'/collaborator';await this[_0x2da855(0x36f)][_0x2da855(0x12b)](_0xb91613,{'params':{'collaboratorID':_0x1d2b19[_0x2da855(0x266)],'objectID':_0x1d2b19[_0x2da855(0x12d)],'unitID':_0x1d2b19[_0x2da855(0x30d)]}});}async[_0x16f01c(0x1c5)](_0x230694){var _0x589dc2=_0x16f01c;const _0x27f6d8=this['_getAPIPrefixPath']()+'/collaborator';await this['_HTTPService'][_0x589dc2(0x37d)](_0x27f6d8,{'body':_0x230694});}async[_0x16f01c(0x30f)](_0x672555){var _0x51774c=_0x16f01c;const _0xca0e63=this['_getAPIPrefixPath']()+_0x51774c(0x26b);await this[_0x51774c(0x36f)][_0x51774c(0x3ea)](_0xca0e63,{'body':_0x672555});}async[_0x16f01c(0x348)](_0x28a10c){var _0x2594a1=_0x16f01c;const _0x282216=this[_0x2594a1(0x25d)]()+_0x2594a1(0x26b);return(await this[_0x2594a1(0x36f)]['get'](_0x282216,{'params':{'objectID':_0x28a10c['objectID'],'unitID':_0x28a10c[_0x2594a1(0x30d)]}}))[_0x2594a1(0x35b)][_0x2594a1(0x18d)];}async[_0x16f01c(0x28f)](_0x528d9b){var _0x3d55e8=_0x16f01c;const _0x55ac65=this[_0x3d55e8(0x25d)]()+_0x3d55e8(0x26b);await this[_0x3d55e8(0x36f)][_0x3d55e8(0x1d7)](_0x55ac65,{'body':_0x528d9b});}};Tt=nn([Yt(0x0,_0x39a463(_0x2e0fa2)),Yt(0x1,_0x39a463(_0x5b80dc))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x276fec){var _0x4e1483=_0x16f01c;return _0x276fec&&_0x276fec['__esModule']&&Object[_0x4e1483(0x25e)]['hasOwnProperty'][_0x4e1483(0x136)](_0x276fec,_0x4e1483(0x165))?_0x276fec[_0x4e1483(0x165)]:_0x276fec;}var Ve={'exports':{}};function an(_0x2fe576){var _0xc4f8c1=_0x16f01c;throw new Error(_0xc4f8c1(0x1db)+_0x2fe576+_0xc4f8c1(0x37c));}var Ge={'exports':{}},on=Ge[_0x16f01c(0x194)],Kt;function ie(){var _0x1e9aa6=_0x16f01c;return Kt||(Kt=0x1,function(_0x5bac9f,_0x444188){(function(_0x26ec38,_0xd321b9){_0x5bac9f['exports']=_0xd321b9();}(on,function(){var _0x4b653d=_0x4b653d||function(_0x2e22a1,_0x17a21){var _0x4a7405=_0x2af7,_0x5bf04f;if(typeof window<'u'&&window[_0x4a7405(0x1e8)]&&(_0x5bf04f=window[_0x4a7405(0x1e8)]),typeof self<'u'&&self[_0x4a7405(0x1e8)]&&(_0x5bf04f=self[_0x4a7405(0x1e8)]),typeof globalThis<'u'&&globalThis[_0x4a7405(0x1e8)]&&(_0x5bf04f=globalThis['crypto']),!_0x5bf04f&&typeof window<'u'&&window[_0x4a7405(0x13f)]&&(_0x5bf04f=window[_0x4a7405(0x13f)]),!_0x5bf04f&&typeof ft<'u'&&ft['crypto']&&(_0x5bf04f=ft[_0x4a7405(0x1e8)]),!_0x5bf04f&&typeof an==_0x4a7405(0x3b9))try{_0x5bf04f=require('crypto');}catch{}var _0x5560ab=function(){var _0x1ed135=_0x4a7405;if(_0x5bf04f){if(typeof _0x5bf04f[_0x1ed135(0x190)]==_0x1ed135(0x3b9))try{return _0x5bf04f[_0x1ed135(0x190)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5bf04f[_0x1ed135(0x321)]==_0x1ed135(0x3b9))try{return _0x5bf04f[_0x1ed135(0x321)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1ed135(0x32e));},_0x27f631=Object[_0x4a7405(0x406)]||(function(){function _0x428534(){}return function(_0x28c297){var _0x7e0e5a=_0x2af7,_0x1c3455;return _0x428534[_0x7e0e5a(0x25e)]=_0x28c297,_0x1c3455=new _0x428534(),_0x428534['prototype']=null,_0x1c3455;};}()),_0x5dde29={},_0x32a5a8=_0x5dde29[_0x4a7405(0x3b7)]={},_0x389d8e=_0x32a5a8[_0x4a7405(0x303)]=(function(){return{'extend':function(_0xd77508){var _0x5c0f6c=_0x2af7,_0x6e1c6=_0x27f631(this);return _0xd77508&&_0x6e1c6[_0x5c0f6c(0x262)](_0xd77508),(!_0x6e1c6[_0x5c0f6c(0x24f)](_0x5c0f6c(0x3a2))||this[_0x5c0f6c(0x3a2)]===_0x6e1c6[_0x5c0f6c(0x3a2)])&&(_0x6e1c6['init']=function(){var _0x5257bc=_0x5c0f6c;_0x6e1c6[_0x5257bc(0x177)][_0x5257bc(0x3a2)][_0x5257bc(0x3d2)](this,arguments);}),_0x6e1c6[_0x5c0f6c(0x3a2)][_0x5c0f6c(0x25e)]=_0x6e1c6,_0x6e1c6[_0x5c0f6c(0x177)]=this,_0x6e1c6;},'create':function(){var _0x2e6185=_0x2af7,_0x330f07=this[_0x2e6185(0x302)]();return _0x330f07[_0x2e6185(0x3a2)][_0x2e6185(0x3d2)](_0x330f07,arguments),_0x330f07;},'init':function(){},'mixIn':function(_0x3e06fd){var _0x4f0422=_0x2af7;for(var _0x2d123b in _0x3e06fd)_0x3e06fd['hasOwnProperty'](_0x2d123b)&&(this[_0x2d123b]=_0x3e06fd[_0x2d123b]);_0x3e06fd['hasOwnProperty'](_0x4f0422(0x146))&&(this[_0x4f0422(0x146)]=_0x3e06fd[_0x4f0422(0x146)]);},'clone':function(){var _0x2a41aa=_0x2af7;return this[_0x2a41aa(0x3a2)][_0x2a41aa(0x25e)]['extend'](this);}};}()),_0x22424c=_0x32a5a8['WordArray']=_0x389d8e[_0x4a7405(0x302)]({'init':function(_0x32e5ec,_0x50a862){var _0x2bfe0a=_0x4a7405;_0x32e5ec=this[_0x2bfe0a(0x360)]=_0x32e5ec||[],_0x50a862!=_0x17a21?this[_0x2bfe0a(0x407)]=_0x50a862:this[_0x2bfe0a(0x407)]=_0x32e5ec[_0x2bfe0a(0x389)]*0x4;},'toString':function(_0xc1ec8b){var _0x58369a=_0x4a7405;return(_0xc1ec8b||_0x958839)[_0x58369a(0x2a1)](this);},'concat':function(_0x4bb6bb){var _0x4081ef=_0x4a7405,_0x3a263b=this['words'],_0x1cf3ea=_0x4bb6bb[_0x4081ef(0x360)],_0x4f6eec=this[_0x4081ef(0x407)],_0x33b929=_0x4bb6bb['sigBytes'];if(this[_0x4081ef(0x2bf)](),_0x4f6eec%0x4)for(var _0x535546=0x0;_0x535546<_0x33b929;_0x535546++){var _0x247f0a=_0x1cf3ea[_0x535546>>>0x2]>>>0x18-_0x535546%0x4*0x8&0xff;_0x3a263b[_0x4f6eec+_0x535546>>>0x2]|=_0x247f0a<<0x18-(_0x4f6eec+_0x535546)%0x4*0x8;}else{for(var _0x412409=0x0;_0x412409<_0x33b929;_0x412409+=0x4)_0x3a263b[_0x4f6eec+_0x412409>>>0x2]=_0x1cf3ea[_0x412409>>>0x2];}return this[_0x4081ef(0x407)]+=_0x33b929,this;},'clamp':function(){var _0x9d3441=_0x4a7405,_0x59e738=this['words'],_0x3db066=this[_0x9d3441(0x407)];_0x59e738[_0x3db066>>>0x2]&=0xffffffff<<0x20-_0x3db066%0x4*0x8,_0x59e738[_0x9d3441(0x389)]=_0x2e22a1[_0x9d3441(0x40c)](_0x3db066/0x4);},'clone':function(){var _0x1c77d0=_0x4a7405,_0xae37b8=_0x389d8e[_0x1c77d0(0x13e)][_0x1c77d0(0x136)](this);return _0xae37b8[_0x1c77d0(0x360)]=this['words'][_0x1c77d0(0x2fc)](0x0),_0xae37b8;},'random':function(_0x11317b){var _0xcebf58=_0x4a7405;for(var _0x334562=[],_0x328df4=0x0;_0x328df4<_0x11317b;_0x328df4+=0x4)_0x334562[_0xcebf58(0x288)](_0x5560ab());return new _0x22424c[(_0xcebf58(0x3a2))](_0x334562,_0x11317b);}}),_0x4c3ab4=_0x5dde29[_0x4a7405(0x31d)]={},_0x958839=_0x4c3ab4[_0x4a7405(0x18e)]={'stringify':function(_0x3246a0){var _0x1fa90b=_0x4a7405;for(var _0x192ec3=_0x3246a0[_0x1fa90b(0x360)],_0x113295=_0x3246a0[_0x1fa90b(0x407)],_0x3fe6c9=[],_0x3b5d9b=0x0;_0x3b5d9b<_0x113295;_0x3b5d9b++){var _0x426b8d=_0x192ec3[_0x3b5d9b>>>0x2]>>>0x18-_0x3b5d9b%0x4*0x8&0xff;_0x3fe6c9[_0x1fa90b(0x288)]((_0x426b8d>>>0x4)[_0x1fa90b(0x146)](0x10)),_0x3fe6c9['push']((_0x426b8d&0xf)[_0x1fa90b(0x146)](0x10));}return _0x3fe6c9[_0x1fa90b(0x223)]('');},'parse':function(_0xb75aa1){var _0x147f1b=_0x4a7405;for(var _0x27f754=_0xb75aa1[_0x147f1b(0x389)],_0x5b0ead=[],_0x5447ff=0x0;_0x5447ff<_0x27f754;_0x5447ff+=0x2)_0x5b0ead[_0x5447ff>>>0x3]|=parseInt(_0xb75aa1[_0x147f1b(0x1ad)](_0x5447ff,0x2),0x10)<<0x18-_0x5447ff%0x8*0x4;return new _0x22424c['init'](_0x5b0ead,_0x27f754/0x2);}},_0x1341a7=_0x4c3ab4[_0x4a7405(0x198)]={'stringify':function(_0x309922){var _0x50198b=_0x4a7405;for(var _0x503c65=_0x309922[_0x50198b(0x360)],_0x476d1d=_0x309922['sigBytes'],_0x2c3818=[],_0x33fe71=0x0;_0x33fe71<_0x476d1d;_0x33fe71++){var _0x536935=_0x503c65[_0x33fe71>>>0x2]>>>0x18-_0x33fe71%0x4*0x8&0xff;_0x2c3818[_0x50198b(0x288)](String[_0x50198b(0x21b)](_0x536935));}return _0x2c3818[_0x50198b(0x223)]('');},'parse':function(_0x500307){var _0x2e183f=_0x4a7405;for(var _0x154aad=_0x500307[_0x2e183f(0x389)],_0x292666=[],_0x38c1e3=0x0;_0x38c1e3<_0x154aad;_0x38c1e3++)_0x292666[_0x38c1e3>>>0x2]|=(_0x500307[_0x2e183f(0x365)](_0x38c1e3)&0xff)<<0x18-_0x38c1e3%0x4*0x8;return new _0x22424c[(_0x2e183f(0x3a2))](_0x292666,_0x154aad);}},_0x419802=_0x4c3ab4[_0x4a7405(0x22d)]={'stringify':function(_0xa50f07){var _0x6319d9=_0x4a7405;try{return decodeURIComponent(escape(_0x1341a7[_0x6319d9(0x2a1)](_0xa50f07)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xbde014){var _0x130bac=_0x4a7405;return _0x1341a7[_0x130bac(0x2a2)](unescape(encodeURIComponent(_0xbde014)));}},_0x46a97f=_0x32a5a8[_0x4a7405(0x30c)]=_0x389d8e[_0x4a7405(0x302)]({'reset':function(){var _0x3322ae=_0x4a7405;this[_0x3322ae(0x105)]=new _0x22424c[(_0x3322ae(0x3a2))](),this[_0x3322ae(0x15c)]=0x0;},'_append':function(_0x412bd3){var _0x69bf7f=_0x4a7405;typeof _0x412bd3==_0x69bf7f(0x19a)&&(_0x412bd3=_0x419802[_0x69bf7f(0x2a2)](_0x412bd3)),this['_data'][_0x69bf7f(0x2c1)](_0x412bd3),this['_nDataBytes']+=_0x412bd3['sigBytes'];},'_process':function(_0x5abf60){var _0x56ea81=_0x4a7405,_0x9d9f27,_0xe85ece=this[_0x56ea81(0x105)],_0x1f7ad4=_0xe85ece['words'],_0x34c991=_0xe85ece[_0x56ea81(0x407)],_0x7613d0=this['blockSize'],_0x4189e1=_0x7613d0*0x4,_0x50b76e=_0x34c991/_0x4189e1;_0x5abf60?_0x50b76e=_0x2e22a1[_0x56ea81(0x40c)](_0x50b76e):_0x50b76e=_0x2e22a1[_0x56ea81(0x410)]((_0x50b76e|0x0)-this[_0x56ea81(0x15b)],0x0);var _0x15b43d=_0x50b76e*_0x7613d0,_0x3a8ac3=_0x2e22a1[_0x56ea81(0x1c1)](_0x15b43d*0x4,_0x34c991);if(_0x15b43d){for(var _0x43e140=0x0;_0x43e140<_0x15b43d;_0x43e140+=_0x7613d0)this[_0x56ea81(0x297)](_0x1f7ad4,_0x43e140);_0x9d9f27=_0x1f7ad4[_0x56ea81(0x219)](0x0,_0x15b43d),_0xe85ece[_0x56ea81(0x407)]-=_0x3a8ac3;}return new _0x22424c[(_0x56ea81(0x3a2))](_0x9d9f27,_0x3a8ac3);},'clone':function(){var _0x40a2e3=_0x4a7405,_0x18963b=_0x389d8e['clone'][_0x40a2e3(0x136)](this);return _0x18963b[_0x40a2e3(0x105)]=this[_0x40a2e3(0x105)][_0x40a2e3(0x13e)](),_0x18963b;},'_minBufferSize':0x0});_0x32a5a8[_0x4a7405(0x3f3)]=_0x46a97f[_0x4a7405(0x302)]({'cfg':_0x389d8e['extend'](),'init':function(_0x182051){var _0x5d8888=_0x4a7405;this[_0x5d8888(0x2a3)]=this[_0x5d8888(0x2a3)][_0x5d8888(0x302)](_0x182051),this[_0x5d8888(0x244)]();},'reset':function(){var _0x284cbe=_0x4a7405;_0x46a97f[_0x284cbe(0x244)][_0x284cbe(0x136)](this),this[_0x284cbe(0x2e9)]();},'update':function(_0x173638){var _0xf2bb0d=_0x4a7405;return this['_append'](_0x173638),this[_0xf2bb0d(0x234)](),this;},'finalize':function(_0x2343d7){var _0x5dbfb0=_0x4a7405;_0x2343d7&&this[_0x5dbfb0(0x343)](_0x2343d7);var _0x5fda73=this[_0x5dbfb0(0x3ac)]();return _0x5fda73;},'blockSize':0x10,'_createHelper':function(_0x2fa1b7){return function(_0x25dd9d,_0xdadea){var _0x3d2b40=_0x2af7;return new _0x2fa1b7['init'](_0xdadea)[_0x3d2b40(0x307)](_0x25dd9d);};},'_createHmacHelper':function(_0x11107e){return function(_0x221850,_0x9a3f5b){var _0x43c7a5=_0x2af7;return new _0x56cda4[(_0x43c7a5(0x201))]['init'](_0x11107e,_0x9a3f5b)[_0x43c7a5(0x307)](_0x221850);};}});var _0x56cda4=_0x5dde29[_0x4a7405(0x2e4)]={};return _0x5dde29;}(Math);return _0x4b653d;}));}(Ge)),Ge[_0x1e9aa6(0x194)];}var We={'exports':{}},cn=We[_0x16f01c(0x194)],qt;function Ri(){var _0xef81a0=_0x16f01c;return qt||(qt=0x1,function(_0x190cf9,_0x2d250f){(function(_0x5942ae,_0x5f5102){var _0x4dffd0=_0x2af7;_0x190cf9[_0x4dffd0(0x194)]=_0x5f5102(ie());}(cn,function(_0x149058){var _0x28922c=_0x2af7;return(function(){var _0xe0211d=_0x2af7,_0x2c4e80=_0x149058,_0x201c18=_0x2c4e80[_0xe0211d(0x3b7)],_0x2aeb4d=_0x201c18[_0xe0211d(0x30a)],_0x483e0e=_0x2c4e80[_0xe0211d(0x31d)];_0x483e0e['Base64']={'stringify':function(_0xbbef30){var _0x567960=_0xe0211d,_0x343f84=_0xbbef30[_0x567960(0x360)],_0x57e3f3=_0xbbef30[_0x567960(0x407)],_0x57e57f=this[_0x567960(0x34f)];_0xbbef30[_0x567960(0x2bf)]();for(var _0x232992=[],_0x2ba9c5=0x0;_0x2ba9c5<_0x57e3f3;_0x2ba9c5+=0x3)for(var _0x40166f=_0x343f84[_0x2ba9c5>>>0x2]>>>0x18-_0x2ba9c5%0x4*0x8&0xff,_0x6f995c=_0x343f84[_0x2ba9c5+0x1>>>0x2]>>>0x18-(_0x2ba9c5+0x1)%0x4*0x8&0xff,_0x30584e=_0x343f84[_0x2ba9c5+0x2>>>0x2]>>>0x18-(_0x2ba9c5+0x2)%0x4*0x8&0xff,_0x4c632c=_0x40166f<<0x10|_0x6f995c<<0x8|_0x30584e,_0x2e1f3c=0x0;_0x2e1f3c<0x4&&_0x2ba9c5+_0x2e1f3c*0.75<_0x57e3f3;_0x2e1f3c++)_0x232992[_0x567960(0x288)](_0x57e57f[_0x567960(0x20f)](_0x4c632c>>>0x6*(0x3-_0x2e1f3c)&0x3f));var _0x49b34b=_0x57e57f[_0x567960(0x20f)](0x40);if(_0x49b34b){for(;_0x232992['length']%0x4;)_0x232992['push'](_0x49b34b);}return _0x232992[_0x567960(0x223)]('');},'parse':function(_0x1cceac){var _0x36ee6c=_0xe0211d,_0x4570db=_0x1cceac[_0x36ee6c(0x389)],_0xbd04ce=this[_0x36ee6c(0x34f)],_0x12a0dc=this[_0x36ee6c(0x3cf)];if(!_0x12a0dc){_0x12a0dc=this[_0x36ee6c(0x3cf)]=[];for(var _0x48839a=0x0;_0x48839a<_0xbd04ce[_0x36ee6c(0x389)];_0x48839a++)_0x12a0dc[_0xbd04ce[_0x36ee6c(0x365)](_0x48839a)]=_0x48839a;}var _0x27ff76=_0xbd04ce[_0x36ee6c(0x20f)](0x40);if(_0x27ff76){var _0x4772a9=_0x1cceac[_0x36ee6c(0x358)](_0x27ff76);_0x4772a9!==-0x1&&(_0x4570db=_0x4772a9);}return _0x9bac61(_0x1cceac,_0x4570db,_0x12a0dc);},'_map':_0xe0211d(0x34e)};function _0x9bac61(_0x4086eb,_0x41d25c,_0x26279b){var _0x4af029=_0xe0211d;for(var _0x5d7c4e=[],_0xbfa5d6=0x0,_0x54fe1e=0x0;_0x54fe1e<_0x41d25c;_0x54fe1e++)if(_0x54fe1e%0x4){var _0x392148=_0x26279b[_0x4086eb['charCodeAt'](_0x54fe1e-0x1)]<<_0x54fe1e%0x4*0x2,_0x65a2d5=_0x26279b[_0x4086eb['charCodeAt'](_0x54fe1e)]>>>0x6-_0x54fe1e%0x4*0x2,_0x4d30d8=_0x392148|_0x65a2d5;_0x5d7c4e[_0xbfa5d6>>>0x2]|=_0x4d30d8<<0x18-_0xbfa5d6%0x4*0x8,_0xbfa5d6++;}return _0x2aeb4d[_0x4af029(0x406)](_0x5d7c4e,_0xbfa5d6);}}()),_0x149058[_0x28922c(0x31d)][_0x28922c(0x1b3)];}));}(We)),We[_0xef81a0(0x194)];}var Ye={'exports':{}},_n=Ye['exports'],zt;function hn(){return zt||(zt=0x1,function(_0x22d277,_0x4fe7bf){(function(_0x3053f2,_0x46d0ea){var _0x2f7c50=_0x2af7;_0x22d277[_0x2f7c50(0x194)]=_0x46d0ea(ie());}(_n,function(_0x5c48ea){var _0x177756=_0x2af7;return function(_0x2c144c){var _0x37e43f=_0x2af7,_0x45ea2b=_0x5c48ea,_0x14520c=_0x45ea2b[_0x37e43f(0x3b7)],_0x2c1471=_0x14520c[_0x37e43f(0x30a)],_0x2ba2cc=_0x14520c['Hasher'],_0x4ea485=_0x45ea2b[_0x37e43f(0x2e4)],_0x36082f=[];(function(){var _0x8b0c93=_0x37e43f;for(var _0xa63ada=0x0;_0xa63ada<0x40;_0xa63ada++)_0x36082f[_0xa63ada]=_0x2c144c[_0x8b0c93(0x363)](_0x2c144c[_0x8b0c93(0x26c)](_0xa63ada+0x1))*0x100000000|0x0;}());var _0x540e9a=_0x4ea485[_0x37e43f(0x23d)]=_0x2ba2cc[_0x37e43f(0x302)]({'_doReset':function(){var _0x3e5724=_0x37e43f;this[_0x3e5724(0x22f)]=new _0x2c1471['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x547039,_0x3b1043){var _0x587221=_0x37e43f;for(var _0x1ed317=0x0;_0x1ed317<0x10;_0x1ed317++){var _0x2c0a68=_0x3b1043+_0x1ed317,_0x1cce3d=_0x547039[_0x2c0a68];_0x547039[_0x2c0a68]=(_0x1cce3d<<0x8|_0x1cce3d>>>0x18)&0xff00ff|(_0x1cce3d<<0x18|_0x1cce3d>>>0x8)&0xff00ff00;}var _0x1ae749=this[_0x587221(0x22f)][_0x587221(0x360)],_0x28901b=_0x547039[_0x3b1043+0x0],_0x1bffa8=_0x547039[_0x3b1043+0x1],_0x511047=_0x547039[_0x3b1043+0x2],_0x38a45f=_0x547039[_0x3b1043+0x3],_0x5ccd25=_0x547039[_0x3b1043+0x4],_0x5f417d=_0x547039[_0x3b1043+0x5],_0xc94269=_0x547039[_0x3b1043+0x6],_0x14420f=_0x547039[_0x3b1043+0x7],_0x1bdb74=_0x547039[_0x3b1043+0x8],_0x4fc70d=_0x547039[_0x3b1043+0x9],_0x5eb69f=_0x547039[_0x3b1043+0xa],_0x49a230=_0x547039[_0x3b1043+0xb],_0x1258cd=_0x547039[_0x3b1043+0xc],_0x1e7b6a=_0x547039[_0x3b1043+0xd],_0x4ad335=_0x547039[_0x3b1043+0xe],_0x5de604=_0x547039[_0x3b1043+0xf],_0x1e58da=_0x1ae749[0x0],_0x39c848=_0x1ae749[0x1],_0x3e27c1=_0x1ae749[0x2],_0x4fdf3a=_0x1ae749[0x3];_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x28901b,0x7,_0x36082f[0x0]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1bffa8,0xc,_0x36082f[0x1]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x511047,0x11,_0x36082f[0x2]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x38a45f,0x16,_0x36082f[0x3]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5ccd25,0x7,_0x36082f[0x4]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5f417d,0xc,_0x36082f[0x5]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0xc94269,0x11,_0x36082f[0x6]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x14420f,0x16,_0x36082f[0x7]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bdb74,0x7,_0x36082f[0x8]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x4fc70d,0xc,_0x36082f[0x9]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5eb69f,0x11,_0x36082f[0xa]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x49a230,0x16,_0x36082f[0xb]),_0x1e58da=_0x1d69fd(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1258cd,0x7,_0x36082f[0xc]),_0x4fdf3a=_0x1d69fd(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1e7b6a,0xc,_0x36082f[0xd]),_0x3e27c1=_0x1d69fd(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x4ad335,0x11,_0x36082f[0xe]),_0x39c848=_0x1d69fd(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5de604,0x16,_0x36082f[0xf]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bffa8,0x5,_0x36082f[0x10]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0xc94269,0x9,_0x36082f[0x11]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x49a230,0xe,_0x36082f[0x12]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x28901b,0x14,_0x36082f[0x13]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5f417d,0x5,_0x36082f[0x14]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5eb69f,0x9,_0x36082f[0x15]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5de604,0xe,_0x36082f[0x16]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5ccd25,0x14,_0x36082f[0x17]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x4fc70d,0x5,_0x36082f[0x18]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x4ad335,0x9,_0x36082f[0x19]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x38a45f,0xe,_0x36082f[0x1a]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1bdb74,0x14,_0x36082f[0x1b]),_0x1e58da=_0x1172ca(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e7b6a,0x5,_0x36082f[0x1c]),_0x4fdf3a=_0x1172ca(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x511047,0x9,_0x36082f[0x1d]),_0x3e27c1=_0x1172ca(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x14420f,0xe,_0x36082f[0x1e]),_0x39c848=_0x1172ca(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1258cd,0x14,_0x36082f[0x1f]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5f417d,0x4,_0x36082f[0x20]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1bdb74,0xb,_0x36082f[0x21]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x49a230,0x10,_0x36082f[0x22]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x4ad335,0x17,_0x36082f[0x23]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bffa8,0x4,_0x36082f[0x24]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5ccd25,0xb,_0x36082f[0x25]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x14420f,0x10,_0x36082f[0x26]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5eb69f,0x17,_0x36082f[0x27]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e7b6a,0x4,_0x36082f[0x28]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x28901b,0xb,_0x36082f[0x29]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x38a45f,0x10,_0x36082f[0x2a]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0xc94269,0x17,_0x36082f[0x2b]),_0x1e58da=_0x54f1ce(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x4fc70d,0x4,_0x36082f[0x2c]),_0x4fdf3a=_0x54f1ce(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x1258cd,0xb,_0x36082f[0x2d]),_0x3e27c1=_0x54f1ce(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5de604,0x10,_0x36082f[0x2e]),_0x39c848=_0x54f1ce(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x511047,0x17,_0x36082f[0x2f]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x28901b,0x6,_0x36082f[0x30]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x14420f,0xa,_0x36082f[0x31]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x4ad335,0xf,_0x36082f[0x32]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x5f417d,0x15,_0x36082f[0x33]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1258cd,0x6,_0x36082f[0x34]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x38a45f,0xa,_0x36082f[0x35]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x5eb69f,0xf,_0x36082f[0x36]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1bffa8,0x15,_0x36082f[0x37]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1bdb74,0x6,_0x36082f[0x38]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x5de604,0xa,_0x36082f[0x39]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0xc94269,0xf,_0x36082f[0x3a]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x1e7b6a,0x15,_0x36082f[0x3b]),_0x1e58da=_0x54b323(_0x1e58da,_0x39c848,_0x3e27c1,_0x4fdf3a,_0x5ccd25,0x6,_0x36082f[0x3c]),_0x4fdf3a=_0x54b323(_0x4fdf3a,_0x1e58da,_0x39c848,_0x3e27c1,_0x49a230,0xa,_0x36082f[0x3d]),_0x3e27c1=_0x54b323(_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x39c848,_0x511047,0xf,_0x36082f[0x3e]),_0x39c848=_0x54b323(_0x39c848,_0x3e27c1,_0x4fdf3a,_0x1e58da,_0x4fc70d,0x15,_0x36082f[0x3f]),_0x1ae749[0x0]=_0x1ae749[0x0]+_0x1e58da|0x0,_0x1ae749[0x1]=_0x1ae749[0x1]+_0x39c848|0x0,_0x1ae749[0x2]=_0x1ae749[0x2]+_0x3e27c1|0x0,_0x1ae749[0x3]=_0x1ae749[0x3]+_0x4fdf3a|0x0;},'_doFinalize':function(){var _0x42895c=_0x37e43f,_0x1e58a8=this[_0x42895c(0x105)],_0x2347f4=_0x1e58a8[_0x42895c(0x360)],_0x1dd43c=this[_0x42895c(0x15c)]*0x8,_0x1a41f9=_0x1e58a8[_0x42895c(0x407)]*0x8;_0x2347f4[_0x1a41f9>>>0x5]|=0x80<<0x18-_0x1a41f9%0x20;var _0x1509e6=_0x2c144c[_0x42895c(0x23a)](_0x1dd43c/0x100000000),_0x25cf6e=_0x1dd43c;_0x2347f4[(_0x1a41f9+0x40>>>0x9<<0x4)+0xf]=(_0x1509e6<<0x8|_0x1509e6>>>0x18)&0xff00ff|(_0x1509e6<<0x18|_0x1509e6>>>0x8)&0xff00ff00,_0x2347f4[(_0x1a41f9+0x40>>>0x9<<0x4)+0xe]=(_0x25cf6e<<0x8|_0x25cf6e>>>0x18)&0xff00ff|(_0x25cf6e<<0x18|_0x25cf6e>>>0x8)&0xff00ff00,_0x1e58a8[_0x42895c(0x407)]=(_0x2347f4[_0x42895c(0x389)]+0x1)*0x4,this[_0x42895c(0x234)]();for(var _0x42950f=this['_hash'],_0x330841=_0x42950f[_0x42895c(0x360)],_0x2bfc84=0x0;_0x2bfc84<0x4;_0x2bfc84++){var _0x4c9079=_0x330841[_0x2bfc84];_0x330841[_0x2bfc84]=(_0x4c9079<<0x8|_0x4c9079>>>0x18)&0xff00ff|(_0x4c9079<<0x18|_0x4c9079>>>0x8)&0xff00ff00;}return _0x42950f;},'clone':function(){var _0xfdb2a5=_0x37e43f,_0x4f000d=_0x2ba2cc[_0xfdb2a5(0x13e)][_0xfdb2a5(0x136)](this);return _0x4f000d[_0xfdb2a5(0x22f)]=this[_0xfdb2a5(0x22f)][_0xfdb2a5(0x13e)](),_0x4f000d;}});function _0x1d69fd(_0x4dd3d4,_0x20595f,_0x2f0cdd,_0x22c9f7,_0x5bd26b,_0x243a1d,_0x3605b5){var _0x50dfe5=_0x4dd3d4+(_0x20595f&_0x2f0cdd|~_0x20595f&_0x22c9f7)+_0x5bd26b+_0x3605b5;return(_0x50dfe5<<_0x243a1d|_0x50dfe5>>>0x20-_0x243a1d)+_0x20595f;}function _0x1172ca(_0x3010d1,_0x503c6a,_0x30dc62,_0x582ff0,_0x12c7c1,_0x347200,_0x3ef200){var _0x3cb075=_0x3010d1+(_0x503c6a&_0x582ff0|_0x30dc62&~_0x582ff0)+_0x12c7c1+_0x3ef200;return(_0x3cb075<<_0x347200|_0x3cb075>>>0x20-_0x347200)+_0x503c6a;}function _0x54f1ce(_0x225005,_0x5cfd02,_0x12eebb,_0x363e4f,_0x36a461,_0x3cae00,_0x454b5c){var _0x3586d0=_0x225005+(_0x5cfd02^_0x12eebb^_0x363e4f)+_0x36a461+_0x454b5c;return(_0x3586d0<<_0x3cae00|_0x3586d0>>>0x20-_0x3cae00)+_0x5cfd02;}function _0x54b323(_0x1a8939,_0x2d0c1b,_0x24a848,_0x265703,_0x4d05f7,_0x24bd70,_0x4290af){var _0x1ed545=_0x1a8939+(_0x24a848^(_0x2d0c1b|~_0x265703))+_0x4d05f7+_0x4290af;return(_0x1ed545<<_0x24bd70|_0x1ed545>>>0x20-_0x24bd70)+_0x2d0c1b;}_0x45ea2b[_0x37e43f(0x23d)]=_0x2ba2cc[_0x37e43f(0x2a9)](_0x540e9a),_0x45ea2b[_0x37e43f(0x328)]=_0x2ba2cc[_0x37e43f(0x1ac)](_0x540e9a);}(Math),_0x5c48ea[_0x177756(0x23d)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},ln=qe[_0x16f01c(0x194)],Jt;function un(){var _0x3c5a63=_0x16f01c;return Jt||(Jt=0x1,function(_0x19a1c7,_0x1ee6a3){(function(_0x320cc2,_0x4ecd5e){var _0x95f9e4=_0x2af7;_0x19a1c7[_0x95f9e4(0x194)]=_0x4ecd5e(ie());}(ln,function(_0x4d835a){var _0x34695d=_0x2af7;return(function(){var _0x587746=_0x2af7,_0xbb14d8=_0x4d835a,_0x3328cb=_0xbb14d8[_0x587746(0x3b7)],_0x3a527b=_0x3328cb[_0x587746(0x30a)],_0x1b7a74=_0x3328cb[_0x587746(0x3f3)],_0x5151e8=_0xbb14d8[_0x587746(0x2e4)],_0x26d374=[],_0x4eeabe=_0x5151e8[_0x587746(0x312)]=_0x1b7a74[_0x587746(0x302)]({'_doReset':function(){var _0x1d3ad6=_0x587746;this['_hash']=new _0x3a527b[(_0x1d3ad6(0x3a2))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1fc8d2,_0x553c72){var _0x3abcfa=_0x587746;for(var _0x2181cb=this[_0x3abcfa(0x22f)][_0x3abcfa(0x360)],_0x313141=_0x2181cb[0x0],_0x24a517=_0x2181cb[0x1],_0x3af2f8=_0x2181cb[0x2],_0xa3f3c0=_0x2181cb[0x3],_0x35684c=_0x2181cb[0x4],_0x549f13=0x0;_0x549f13<0x50;_0x549f13++){if(_0x549f13<0x10)_0x26d374[_0x549f13]=_0x1fc8d2[_0x553c72+_0x549f13]|0x0;else{var _0x2dc418=_0x26d374[_0x549f13-0x3]^_0x26d374[_0x549f13-0x8]^_0x26d374[_0x549f13-0xe]^_0x26d374[_0x549f13-0x10];_0x26d374[_0x549f13]=_0x2dc418<<0x1|_0x2dc418>>>0x1f;}var _0x1bcbe3=(_0x313141<<0x5|_0x313141>>>0x1b)+_0x35684c+_0x26d374[_0x549f13];_0x549f13<0x14?_0x1bcbe3+=(_0x24a517&_0x3af2f8|~_0x24a517&_0xa3f3c0)+0x5a827999:_0x549f13<0x28?_0x1bcbe3+=(_0x24a517^_0x3af2f8^_0xa3f3c0)+0x6ed9eba1:_0x549f13<0x3c?_0x1bcbe3+=(_0x24a517&_0x3af2f8|_0x24a517&_0xa3f3c0|_0x3af2f8&_0xa3f3c0)-0x70e44324:_0x1bcbe3+=(_0x24a517^_0x3af2f8^_0xa3f3c0)-0x359d3e2a,_0x35684c=_0xa3f3c0,_0xa3f3c0=_0x3af2f8,_0x3af2f8=_0x24a517<<0x1e|_0x24a517>>>0x2,_0x24a517=_0x313141,_0x313141=_0x1bcbe3;}_0x2181cb[0x0]=_0x2181cb[0x0]+_0x313141|0x0,_0x2181cb[0x1]=_0x2181cb[0x1]+_0x24a517|0x0,_0x2181cb[0x2]=_0x2181cb[0x2]+_0x3af2f8|0x0,_0x2181cb[0x3]=_0x2181cb[0x3]+_0xa3f3c0|0x0,_0x2181cb[0x4]=_0x2181cb[0x4]+_0x35684c|0x0;},'_doFinalize':function(){var _0x1d7c70=_0x587746,_0x3872dc=this[_0x1d7c70(0x105)],_0x5325ea=_0x3872dc[_0x1d7c70(0x360)],_0x4cf19c=this[_0x1d7c70(0x15c)]*0x8,_0x5646f6=_0x3872dc[_0x1d7c70(0x407)]*0x8;return _0x5325ea[_0x5646f6>>>0x5]|=0x80<<0x18-_0x5646f6%0x20,_0x5325ea[(_0x5646f6+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x4cf19c/0x100000000),_0x5325ea[(_0x5646f6+0x40>>>0x9<<0x4)+0xf]=_0x4cf19c,_0x3872dc['sigBytes']=_0x5325ea[_0x1d7c70(0x389)]*0x4,this[_0x1d7c70(0x234)](),this[_0x1d7c70(0x22f)];},'clone':function(){var _0x420eca=_0x587746,_0x120de9=_0x1b7a74[_0x420eca(0x13e)]['call'](this);return _0x120de9[_0x420eca(0x22f)]=this[_0x420eca(0x22f)][_0x420eca(0x13e)](),_0x120de9;}});_0xbb14d8[_0x587746(0x312)]=_0x1b7a74[_0x587746(0x2a9)](_0x4eeabe),_0xbb14d8[_0x587746(0x3f4)]=_0x1b7a74[_0x587746(0x1ac)](_0x4eeabe);}()),_0x4d835a[_0x34695d(0x312)];}));}(qe)),qe[_0x3c5a63(0x194)];}var ze={'exports':{}},dn=ze[_0x16f01c(0x194)],Xt;function fn(){return Xt||(Xt=0x1,function(_0x41633e,_0xd22cfd){(function(_0x5df13e,_0x1ee362){var _0x30c463=_0x2af7;_0x41633e[_0x30c463(0x194)]=_0x1ee362(ie());}(dn,function(_0x2346dc){(function(){var _0x1d6162=_0x2af7,_0xf526be=_0x2346dc,_0x30dd2d=_0xf526be[_0x1d6162(0x3b7)],_0xfe9c4c=_0x30dd2d[_0x1d6162(0x303)],_0x2dcd67=_0xf526be[_0x1d6162(0x31d)],_0x57326b=_0x2dcd67[_0x1d6162(0x22d)],_0x1c962c=_0xf526be[_0x1d6162(0x2e4)];_0x1c962c[_0x1d6162(0x201)]=_0xfe9c4c['extend']({'init':function(_0xd86992,_0xcf1745){var _0x2a0e9e=_0x1d6162;_0xd86992=this[_0x2a0e9e(0x308)]=new _0xd86992[(_0x2a0e9e(0x3a2))](),typeof _0xcf1745==_0x2a0e9e(0x19a)&&(_0xcf1745=_0x57326b['parse'](_0xcf1745));var _0xa350ae=_0xd86992['blockSize'],_0x575bc6=_0xa350ae*0x4;_0xcf1745['sigBytes']>_0x575bc6&&(_0xcf1745=_0xd86992[_0x2a0e9e(0x307)](_0xcf1745)),_0xcf1745[_0x2a0e9e(0x2bf)]();for(var _0x326bd2=this[_0x2a0e9e(0x19d)]=_0xcf1745[_0x2a0e9e(0x13e)](),_0x54fc9b=this['_iKey']=_0xcf1745['clone'](),_0x30a342=_0x326bd2[_0x2a0e9e(0x360)],_0x13066e=_0x54fc9b[_0x2a0e9e(0x360)],_0x31e4f3=0x0;_0x31e4f3<_0xa350ae;_0x31e4f3++)_0x30a342[_0x31e4f3]^=0x5c5c5c5c,_0x13066e[_0x31e4f3]^=0x36363636;_0x326bd2['sigBytes']=_0x54fc9b[_0x2a0e9e(0x407)]=_0x575bc6,this['reset']();},'reset':function(){var _0x3510ab=_0x1d6162,_0x39e290=this[_0x3510ab(0x308)];_0x39e290['reset'](),_0x39e290[_0x3510ab(0x384)](this[_0x3510ab(0x158)]);},'update':function(_0x58dd1f){var _0x26833f=_0x1d6162;return this[_0x26833f(0x308)][_0x26833f(0x384)](_0x58dd1f),this;},'finalize':function(_0x39b877){var _0x567271=_0x1d6162,_0x1fc2e0=this[_0x567271(0x308)],_0x46c3aa=_0x1fc2e0['finalize'](_0x39b877);_0x1fc2e0['reset']();var _0x27cb15=_0x1fc2e0[_0x567271(0x307)](this[_0x567271(0x19d)][_0x567271(0x13e)]()[_0x567271(0x2c1)](_0x46c3aa));return _0x27cb15;}});}());}));}(ze)),ze['exports'];}var vn=Ke[_0x16f01c(0x194)],Zt;function Ci(){var _0x527e85=_0x16f01c;return Zt||(Zt=0x1,function(_0x34231e,_0x5c3e8a){(function(_0x402f0d,_0x185259,_0x4bdec1){var _0x11f59e=_0x2af7;_0x34231e[_0x11f59e(0x194)]=_0x185259(ie(),un(),fn());}(vn,function(_0x4c9223){var _0x460ec5=_0x2af7;return(function(){var _0x2120b4=_0x2af7,_0x259ea0=_0x4c9223,_0xc0b174=_0x259ea0[_0x2120b4(0x3b7)],_0x32255f=_0xc0b174[_0x2120b4(0x303)],_0x28e8d5=_0xc0b174[_0x2120b4(0x30a)],_0x584080=_0x259ea0[_0x2120b4(0x2e4)],_0x20dcf4=_0x584080[_0x2120b4(0x23d)],_0x1448e3=_0x584080['EvpKDF']=_0x32255f[_0x2120b4(0x302)]({'cfg':_0x32255f[_0x2120b4(0x302)]({'keySize':0x80/0x20,'hasher':_0x20dcf4,'iterations':0x1}),'init':function(_0x5526ea){var _0x9d8ec0=_0x2120b4;this[_0x9d8ec0(0x2a3)]=this['cfg'][_0x9d8ec0(0x302)](_0x5526ea);},'compute':function(_0x43d3b4,_0x2997ca){var _0x114718=_0x2120b4;for(var _0x169bf3,_0x1170b9=this[_0x114718(0x2a3)],_0x222032=_0x1170b9['hasher'][_0x114718(0x406)](),_0x26deb3=_0x28e8d5[_0x114718(0x406)](),_0x492343=_0x26deb3[_0x114718(0x360)],_0x2ec1b5=_0x1170b9[_0x114718(0x2aa)],_0x287360=_0x1170b9[_0x114718(0x41d)];_0x492343['length']<_0x2ec1b5;){_0x169bf3&&_0x222032[_0x114718(0x384)](_0x169bf3),_0x169bf3=_0x222032[_0x114718(0x384)](_0x43d3b4)['finalize'](_0x2997ca),_0x222032[_0x114718(0x244)]();for(var _0x349b87=0x1;_0x349b87<_0x287360;_0x349b87++)_0x169bf3=_0x222032[_0x114718(0x307)](_0x169bf3),_0x222032['reset']();_0x26deb3[_0x114718(0x2c1)](_0x169bf3);}return _0x26deb3[_0x114718(0x407)]=_0x2ec1b5*0x4,_0x26deb3;}});_0x259ea0[_0x2120b4(0x335)]=function(_0x357511,_0x3ed4c7,_0x3a654b){var _0x1ca945=_0x2120b4;return _0x1448e3[_0x1ca945(0x406)](_0x3a654b)['compute'](_0x357511,_0x3ed4c7);};}()),_0x4c9223[_0x460ec5(0x335)];}));}(Ke)),Ke[_0x527e85(0x194)];}var Je={'exports':{}},pn=Je[_0x16f01c(0x194)],Qt;function Ni(){var _0x956848=_0x16f01c;return Qt||(Qt=0x1,function(_0x3a636a,_0xb7b2ad){(function(_0x64b379,_0x5c634d,_0x16d0b2){var _0x10dd40=_0x2af7;_0x3a636a[_0x10dd40(0x194)]=_0x5c634d(ie(),Ci());}(pn,function(_0x187586){var _0x411356=_0x2af7;_0x187586[_0x411356(0x3b7)][_0x411356(0x181)]||function(_0xdac5db){var _0x4f1d74=_0x411356,_0x11106d=_0x187586,_0x4400b9=_0x11106d[_0x4f1d74(0x3b7)],_0x257d4f=_0x4400b9[_0x4f1d74(0x303)],_0x171618=_0x4400b9[_0x4f1d74(0x30a)],_0x27d7f8=_0x4400b9[_0x4f1d74(0x30c)],_0x3dfef6=_0x11106d['enc'];_0x3dfef6[_0x4f1d74(0x22d)];var _0x1d880e=_0x3dfef6[_0x4f1d74(0x1b3)],_0x858262=_0x11106d[_0x4f1d74(0x2e4)],_0x491090=_0x858262['EvpKDF'],_0x302326=_0x4400b9[_0x4f1d74(0x181)]=_0x27d7f8[_0x4f1d74(0x302)]({'cfg':_0x257d4f['extend'](),'createEncryptor':function(_0x29a727,_0x177124){var _0x2f296c=_0x4f1d74;return this['create'](this[_0x2f296c(0x3c0)],_0x29a727,_0x177124);},'createDecryptor':function(_0x4c0141,_0x15c150){return this['create'](this['_DEC_XFORM_MODE'],_0x4c0141,_0x15c150);},'init':function(_0x12c1ca,_0x2a3eb0,_0x3ca6a9){var _0x1abc99=_0x4f1d74;this['cfg']=this[_0x1abc99(0x2a3)]['extend'](_0x3ca6a9),this[_0x1abc99(0x269)]=_0x12c1ca,this['_key']=_0x2a3eb0,this[_0x1abc99(0x244)]();},'reset':function(){var _0x16b1ba=_0x4f1d74;_0x27d7f8[_0x16b1ba(0x244)][_0x16b1ba(0x136)](this),this[_0x16b1ba(0x2e9)]();},'process':function(_0x282b04){var _0x46dc0d=_0x4f1d74;return this[_0x46dc0d(0x343)](_0x282b04),this[_0x46dc0d(0x234)]();},'finalize':function(_0x54db89){var _0x3c8f06=_0x4f1d74;_0x54db89&&this[_0x3c8f06(0x343)](_0x54db89);var _0xff039f=this[_0x3c8f06(0x3ac)]();return _0xff039f;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x49f19e(_0x45ea9b){var _0x3efdea=_0x2af7;return typeof _0x45ea9b==_0x3efdea(0x19a)?_0x5c00cf:_0x47dda6;}return function(_0x38f863){return{'encrypt':function(_0x899ae4,_0x128c33,_0x338514){var _0x2c7790=_0x2af7;return _0x49f19e(_0x128c33)[_0x2c7790(0x2d3)](_0x38f863,_0x899ae4,_0x128c33,_0x338514);},'decrypt':function(_0x2884f4,_0x489da1,_0x51d2ca){var _0x313e12=_0x2af7;return _0x49f19e(_0x489da1)[_0x313e12(0x1dc)](_0x38f863,_0x2884f4,_0x489da1,_0x51d2ca);}};};}())});_0x4400b9[_0x4f1d74(0x176)]=_0x302326[_0x4f1d74(0x302)]({'_doFinalize':function(){var _0x29084a=_0x4f1d74,_0x2fb13f=this[_0x29084a(0x234)](!0x0);return _0x2fb13f;},'blockSize':0x1});var _0x5d7b1b=_0x11106d[_0x4f1d74(0x370)]={},_0x4de86b=_0x4400b9[_0x4f1d74(0x3af)]=_0x257d4f[_0x4f1d74(0x302)]({'createEncryptor':function(_0x5d81ed,_0x2b7865){var _0x2b4768=_0x4f1d74;return this[_0x2b4768(0x11b)]['create'](_0x5d81ed,_0x2b7865);},'createDecryptor':function(_0x229d1f,_0x11cd9a){var _0x154961=_0x4f1d74;return this[_0x154961(0x133)][_0x154961(0x406)](_0x229d1f,_0x11cd9a);},'init':function(_0x4fb1c2,_0x5755f8){var _0x18e59=_0x4f1d74;this[_0x18e59(0x255)]=_0x4fb1c2,this[_0x18e59(0x2e7)]=_0x5755f8;}}),_0x41ba6d=_0x5d7b1b[_0x4f1d74(0x110)]=(function(){var _0x1f4e46=_0x4f1d74,_0x5d1ad9=_0x4de86b[_0x1f4e46(0x302)]();_0x5d1ad9[_0x1f4e46(0x11b)]=_0x5d1ad9[_0x1f4e46(0x302)]({'processBlock':function(_0x18172c,_0x3cabec){var _0x1c4d97=_0x1f4e46,_0x4fc28b=this[_0x1c4d97(0x255)],_0x41edc5=_0x4fc28b[_0x1c4d97(0x3a1)];_0x4295bf[_0x1c4d97(0x136)](this,_0x18172c,_0x3cabec,_0x41edc5),_0x4fc28b[_0x1c4d97(0x123)](_0x18172c,_0x3cabec),this[_0x1c4d97(0x1ab)]=_0x18172c[_0x1c4d97(0x2fc)](_0x3cabec,_0x3cabec+_0x41edc5);}}),_0x5d1ad9[_0x1f4e46(0x133)]=_0x5d1ad9[_0x1f4e46(0x302)]({'processBlock':function(_0x128b61,_0x12e252){var _0x8b5831=_0x1f4e46,_0x2b94c3=this[_0x8b5831(0x255)],_0x14b051=_0x2b94c3['blockSize'],_0x8b4559=_0x128b61[_0x8b5831(0x2fc)](_0x12e252,_0x12e252+_0x14b051);_0x2b94c3['decryptBlock'](_0x128b61,_0x12e252),_0x4295bf[_0x8b5831(0x136)](this,_0x128b61,_0x12e252,_0x14b051),this[_0x8b5831(0x1ab)]=_0x8b4559;}});function _0x4295bf(_0x46820f,_0x2fe44e,_0xd846f9){var _0x1f54b5=_0x1f4e46,_0x1da12b,_0x58f4c7=this[_0x1f54b5(0x2e7)];_0x58f4c7?(_0x1da12b=_0x58f4c7,this['_iv']=_0xdac5db):_0x1da12b=this[_0x1f54b5(0x1ab)];for(var _0x4c666b=0x0;_0x4c666b<_0xd846f9;_0x4c666b++)_0x46820f[_0x2fe44e+_0x4c666b]^=_0x1da12b[_0x4c666b];}return _0x5d1ad9;}()),_0x1e7caf=_0x11106d[_0x4f1d74(0x2b7)]={},_0x41dad4=_0x1e7caf[_0x4f1d74(0x1f1)]={'pad':function(_0x4aa2bf,_0xbfd7b5){var _0x39a03b=_0x4f1d74;for(var _0x2b4252=_0xbfd7b5*0x4,_0x26eb9c=_0x2b4252-_0x4aa2bf[_0x39a03b(0x407)]%_0x2b4252,_0x40046a=_0x26eb9c<<0x18|_0x26eb9c<<0x10|_0x26eb9c<<0x8|_0x26eb9c,_0x3ec9b7=[],_0x19eb5d=0x0;_0x19eb5d<_0x26eb9c;_0x19eb5d+=0x4)_0x3ec9b7[_0x39a03b(0x288)](_0x40046a);var _0x47f170=_0x171618['create'](_0x3ec9b7,_0x26eb9c);_0x4aa2bf['concat'](_0x47f170);},'unpad':function(_0x6532d5){var _0x2bcd0b=_0x4f1d74,_0x152512=_0x6532d5[_0x2bcd0b(0x360)][_0x6532d5[_0x2bcd0b(0x407)]-0x1>>>0x2]&0xff;_0x6532d5[_0x2bcd0b(0x407)]-=_0x152512;}};_0x4400b9[_0x4f1d74(0x200)]=_0x302326['extend']({'cfg':_0x302326[_0x4f1d74(0x2a3)][_0x4f1d74(0x302)]({'mode':_0x41ba6d,'padding':_0x41dad4}),'reset':function(){var _0x1cba1a=_0x4f1d74,_0x144441;_0x302326[_0x1cba1a(0x244)][_0x1cba1a(0x136)](this);var _0x48a7e4=this[_0x1cba1a(0x2a3)],_0xe3e02f=_0x48a7e4['iv'],_0x39a35e=_0x48a7e4[_0x1cba1a(0x370)];this['_xformMode']==this['_ENC_XFORM_MODE']?_0x144441=_0x39a35e[_0x1cba1a(0x2c2)]:(_0x144441=_0x39a35e[_0x1cba1a(0x18c)],this[_0x1cba1a(0x15b)]=0x1),this['_mode']&&this[_0x1cba1a(0x32d)][_0x1cba1a(0x336)]==_0x144441?this['_mode'][_0x1cba1a(0x3a2)](this,_0xe3e02f&&_0xe3e02f['words']):(this[_0x1cba1a(0x32d)]=_0x144441[_0x1cba1a(0x136)](_0x39a35e,this,_0xe3e02f&&_0xe3e02f[_0x1cba1a(0x360)]),this[_0x1cba1a(0x32d)][_0x1cba1a(0x336)]=_0x144441);},'_doProcessBlock':function(_0x3e2fa8,_0x33e4a7){var _0x75ce2a=_0x4f1d74;this[_0x75ce2a(0x32d)]['processBlock'](_0x3e2fa8,_0x33e4a7);},'_doFinalize':function(){var _0x869e07=_0x4f1d74,_0x25e58e,_0xb9b08e=this['cfg']['padding'];return this[_0x869e07(0x269)]==this[_0x869e07(0x3c0)]?(_0xb9b08e[_0x869e07(0x2b7)](this[_0x869e07(0x105)],this['blockSize']),_0x25e58e=this[_0x869e07(0x234)](!0x0)):(_0x25e58e=this['_process'](!0x0),_0xb9b08e[_0x869e07(0x35c)](_0x25e58e)),_0x25e58e;},'blockSize':0x80/0x20});var _0x218fa8=_0x4400b9[_0x4f1d74(0x38a)]=_0x257d4f[_0x4f1d74(0x302)]({'init':function(_0x112d2d){var _0x1de065=_0x4f1d74;this[_0x1de065(0x262)](_0x112d2d);},'toString':function(_0x2d5ef2){var _0x4565d6=_0x4f1d74;return(_0x2d5ef2||this[_0x4565d6(0x205)])[_0x4565d6(0x2a1)](this);}}),_0xed80a6=_0x11106d['format']={},_0x38657a=_0xed80a6['OpenSSL']={'stringify':function(_0x38f4b5){var _0x4242af=_0x4f1d74,_0x3fe10d,_0x2ae2f6=_0x38f4b5[_0x4242af(0x3d5)],_0x19c579=_0x38f4b5['salt'];return _0x19c579?_0x3fe10d=_0x171618['create']([0x53616c74,0x65645f5f])[_0x4242af(0x2c1)](_0x19c579)[_0x4242af(0x2c1)](_0x2ae2f6):_0x3fe10d=_0x2ae2f6,_0x3fe10d[_0x4242af(0x146)](_0x1d880e);},'parse':function(_0x53f44c){var _0x4c9502=_0x4f1d74,_0x1b590c,_0x217208=_0x1d880e[_0x4c9502(0x2a2)](_0x53f44c),_0xdbfd74=_0x217208[_0x4c9502(0x360)];return _0xdbfd74[0x0]==0x53616c74&&_0xdbfd74[0x1]==0x65645f5f&&(_0x1b590c=_0x171618[_0x4c9502(0x406)](_0xdbfd74['slice'](0x2,0x4)),_0xdbfd74['splice'](0x0,0x4),_0x217208[_0x4c9502(0x407)]-=0x10),_0x218fa8[_0x4c9502(0x406)]({'ciphertext':_0x217208,'salt':_0x1b590c});}},_0x47dda6=_0x4400b9[_0x4f1d74(0x39d)]=_0x257d4f['extend']({'cfg':_0x257d4f[_0x4f1d74(0x302)]({'format':_0x38657a}),'encrypt':function(_0x1402cd,_0x573675,_0x12744a,_0x52f023){var _0x4431ff=_0x4f1d74;_0x52f023=this[_0x4431ff(0x2a3)][_0x4431ff(0x302)](_0x52f023);var _0x1a5a69=_0x1402cd[_0x4431ff(0x2c2)](_0x12744a,_0x52f023),_0x31a28f=_0x1a5a69['finalize'](_0x573675),_0x3f138b=_0x1a5a69[_0x4431ff(0x2a3)];return _0x218fa8[_0x4431ff(0x406)]({'ciphertext':_0x31a28f,'key':_0x12744a,'iv':_0x3f138b['iv'],'algorithm':_0x1402cd,'mode':_0x3f138b[_0x4431ff(0x370)],'padding':_0x3f138b['padding'],'blockSize':_0x1402cd['blockSize'],'formatter':_0x52f023[_0x4431ff(0x29d)]});},'decrypt':function(_0x329da4,_0x3a298b,_0x220274,_0x1e1dde){var _0x40577c=_0x4f1d74;_0x1e1dde=this['cfg'][_0x40577c(0x302)](_0x1e1dde),_0x3a298b=this[_0x40577c(0x2fe)](_0x3a298b,_0x1e1dde['format']);var _0x130c1b=_0x329da4[_0x40577c(0x18c)](_0x220274,_0x1e1dde)[_0x40577c(0x307)](_0x3a298b['ciphertext']);return _0x130c1b;},'_parse':function(_0x3685dd,_0x1a5eb4){var _0x30c2a1=_0x4f1d74;return typeof _0x3685dd=='string'?_0x1a5eb4[_0x30c2a1(0x2a2)](_0x3685dd,this):_0x3685dd;}}),_0x405f5b=_0x11106d[_0x4f1d74(0x202)]={},_0x43f21a=_0x405f5b[_0x4f1d74(0x36d)]={'execute':function(_0x22a69e,_0x4de805,_0x1c1a21,_0x551a41,_0x3d6875){var _0x1395bb=_0x4f1d74;if(_0x551a41||(_0x551a41=_0x171618[_0x1395bb(0x3d6)](0x40/0x8)),_0x3d6875)var _0x48d8b6=_0x491090[_0x1395bb(0x406)]({'keySize':_0x4de805+_0x1c1a21,'hasher':_0x3d6875})[_0x1395bb(0x294)](_0x22a69e,_0x551a41);else var _0x48d8b6=_0x491090['create']({'keySize':_0x4de805+_0x1c1a21})[_0x1395bb(0x294)](_0x22a69e,_0x551a41);var _0xe1a854=_0x171618[_0x1395bb(0x406)](_0x48d8b6[_0x1395bb(0x360)][_0x1395bb(0x2fc)](_0x4de805),_0x1c1a21*0x4);return _0x48d8b6[_0x1395bb(0x407)]=_0x4de805*0x4,_0x218fa8[_0x1395bb(0x406)]({'key':_0x48d8b6,'iv':_0xe1a854,'salt':_0x551a41});}},_0x5c00cf=_0x4400b9[_0x4f1d74(0x3e7)]=_0x47dda6[_0x4f1d74(0x302)]({'cfg':_0x47dda6[_0x4f1d74(0x2a3)][_0x4f1d74(0x302)]({'kdf':_0x43f21a}),'encrypt':function(_0x392ede,_0x2eb9b7,_0x45dae6,_0x80d20b){var _0x20582d=_0x4f1d74;_0x80d20b=this[_0x20582d(0x2a3)][_0x20582d(0x302)](_0x80d20b);var _0x17d224=_0x80d20b[_0x20582d(0x202)]['execute'](_0x45dae6,_0x392ede['keySize'],_0x392ede[_0x20582d(0x3e0)],_0x80d20b[_0x20582d(0x40b)],_0x80d20b['hasher']);_0x80d20b['iv']=_0x17d224['iv'];var _0x485d18=_0x47dda6[_0x20582d(0x2d3)]['call'](this,_0x392ede,_0x2eb9b7,_0x17d224[_0x20582d(0x37a)],_0x80d20b);return _0x485d18['mixIn'](_0x17d224),_0x485d18;},'decrypt':function(_0xf7a679,_0x44c851,_0x10195f,_0x3a3ebb){var _0x4c1521=_0x4f1d74;_0x3a3ebb=this[_0x4c1521(0x2a3)][_0x4c1521(0x302)](_0x3a3ebb),_0x44c851=this['_parse'](_0x44c851,_0x3a3ebb[_0x4c1521(0x29d)]);var _0x2e0ecb=_0x3a3ebb['kdf']['execute'](_0x10195f,_0xf7a679[_0x4c1521(0x2aa)],_0xf7a679[_0x4c1521(0x3e0)],_0x44c851[_0x4c1521(0x40b)],_0x3a3ebb[_0x4c1521(0x38c)]);_0x3a3ebb['iv']=_0x2e0ecb['iv'];var _0xbbb4a=_0x47dda6[_0x4c1521(0x1dc)][_0x4c1521(0x136)](this,_0xf7a679,_0x44c851,_0x2e0ecb[_0x4c1521(0x37a)],_0x3a3ebb);return _0xbbb4a;}});}();}));}(Je)),Je[_0x956848(0x194)];}var En=Ve['exports'],ei;function mn(){var _0x408a9a=_0x16f01c;return ei||(ei=0x1,function(_0x2af408,_0x45f182){(function(_0x2fefca,_0x3b5478,_0x3c9c28){_0x2af408['exports']=_0x3b5478(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x40823f){var _0x5c4225=_0x2af7;return(function(){var _0x1705a9=_0x2af7,_0x32bfa0=_0x40823f,_0x5d14c6=_0x32bfa0[_0x1705a9(0x3b7)],_0x1274b4=_0x5d14c6[_0x1705a9(0x200)],_0xb3474e=_0x32bfa0[_0x1705a9(0x2e4)],_0x2ffd42=[],_0xe13c84=[],_0x367c97=[],_0x1db8e7=[],_0x21388c=[],_0x2cbfc6=[],_0x613d33=[],_0x187148=[],_0x3c01a5=[],_0x217192=[];(function(){for(var _0x4aa26e=[],_0x3ca92c=0x0;_0x3ca92c<0x100;_0x3ca92c++)_0x3ca92c<0x80?_0x4aa26e[_0x3ca92c]=_0x3ca92c<<0x1:_0x4aa26e[_0x3ca92c]=_0x3ca92c<<0x1^0x11b;for(var _0x5bc1ec=0x0,_0x369488=0x0,_0x3ca92c=0x0;_0x3ca92c<0x100;_0x3ca92c++){var _0x52fa6d=_0x369488^_0x369488<<0x1^_0x369488<<0x2^_0x369488<<0x3^_0x369488<<0x4;_0x52fa6d=_0x52fa6d>>>0x8^_0x52fa6d&0xff^0x63,_0x2ffd42[_0x5bc1ec]=_0x52fa6d,_0xe13c84[_0x52fa6d]=_0x5bc1ec;var _0x19e706=_0x4aa26e[_0x5bc1ec],_0x470744=_0x4aa26e[_0x19e706],_0x5d7362=_0x4aa26e[_0x470744],_0x1f3a35=_0x4aa26e[_0x52fa6d]*0x101^_0x52fa6d*0x1010100;_0x367c97[_0x5bc1ec]=_0x1f3a35<<0x18|_0x1f3a35>>>0x8,_0x1db8e7[_0x5bc1ec]=_0x1f3a35<<0x10|_0x1f3a35>>>0x10,_0x21388c[_0x5bc1ec]=_0x1f3a35<<0x8|_0x1f3a35>>>0x18,_0x2cbfc6[_0x5bc1ec]=_0x1f3a35;var _0x1f3a35=_0x5d7362*0x1010101^_0x470744*0x10001^_0x19e706*0x101^_0x5bc1ec*0x1010100;_0x613d33[_0x52fa6d]=_0x1f3a35<<0x18|_0x1f3a35>>>0x8,_0x187148[_0x52fa6d]=_0x1f3a35<<0x10|_0x1f3a35>>>0x10,_0x3c01a5[_0x52fa6d]=_0x1f3a35<<0x8|_0x1f3a35>>>0x18,_0x217192[_0x52fa6d]=_0x1f3a35,_0x5bc1ec?(_0x5bc1ec=_0x19e706^_0x4aa26e[_0x4aa26e[_0x4aa26e[_0x5d7362^_0x19e706]]],_0x369488^=_0x4aa26e[_0x4aa26e[_0x369488]]):_0x5bc1ec=_0x369488=0x1;}}());var _0x3379ae=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x121e62=_0xb3474e[_0x1705a9(0x28c)]=_0x1274b4[_0x1705a9(0x302)]({'_doReset':function(){var _0x6de91c=_0x1705a9,_0x1505b0;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x6de91c(0x2ed)])){for(var _0x52c83e=this['_keyPriorReset']=this[_0x6de91c(0x2ed)],_0x5c92ef=_0x52c83e[_0x6de91c(0x360)],_0x319a5b=_0x52c83e[_0x6de91c(0x407)]/0x4,_0x3c5373=this['_nRounds']=_0x319a5b+0x6,_0x5e6480=(_0x3c5373+0x1)*0x4,_0x12e673=this[_0x6de91c(0x15e)]=[],_0x13e913=0x0;_0x13e913<_0x5e6480;_0x13e913++)_0x13e913<_0x319a5b?_0x12e673[_0x13e913]=_0x5c92ef[_0x13e913]:(_0x1505b0=_0x12e673[_0x13e913-0x1],_0x13e913%_0x319a5b?_0x319a5b>0x6&&_0x13e913%_0x319a5b==0x4&&(_0x1505b0=_0x2ffd42[_0x1505b0>>>0x18]<<0x18|_0x2ffd42[_0x1505b0>>>0x10&0xff]<<0x10|_0x2ffd42[_0x1505b0>>>0x8&0xff]<<0x8|_0x2ffd42[_0x1505b0&0xff]):(_0x1505b0=_0x1505b0<<0x8|_0x1505b0>>>0x18,_0x1505b0=_0x2ffd42[_0x1505b0>>>0x18]<<0x18|_0x2ffd42[_0x1505b0>>>0x10&0xff]<<0x10|_0x2ffd42[_0x1505b0>>>0x8&0xff]<<0x8|_0x2ffd42[_0x1505b0&0xff],_0x1505b0^=_0x3379ae[_0x13e913/_0x319a5b|0x0]<<0x18),_0x12e673[_0x13e913]=_0x12e673[_0x13e913-_0x319a5b]^_0x1505b0);for(var _0x1dcbd8=this['_invKeySchedule']=[],_0x17ce05=0x0;_0x17ce05<_0x5e6480;_0x17ce05++){var _0x13e913=_0x5e6480-_0x17ce05;if(_0x17ce05%0x4)var _0x1505b0=_0x12e673[_0x13e913];else var _0x1505b0=_0x12e673[_0x13e913-0x4];_0x17ce05<0x4||_0x13e913<=0x4?_0x1dcbd8[_0x17ce05]=_0x1505b0:_0x1dcbd8[_0x17ce05]=_0x613d33[_0x2ffd42[_0x1505b0>>>0x18]]^_0x187148[_0x2ffd42[_0x1505b0>>>0x10&0xff]]^_0x3c01a5[_0x2ffd42[_0x1505b0>>>0x8&0xff]]^_0x217192[_0x2ffd42[_0x1505b0&0xff]];}}},'encryptBlock':function(_0x511353,_0x5a10bf){var _0x33f857=_0x1705a9;this[_0x33f857(0x16d)](_0x511353,_0x5a10bf,this[_0x33f857(0x15e)],_0x367c97,_0x1db8e7,_0x21388c,_0x2cbfc6,_0x2ffd42);},'decryptBlock':function(_0x315207,_0x3f16fa){var _0x278451=_0x1705a9,_0x5279cb=_0x315207[_0x3f16fa+0x1];_0x315207[_0x3f16fa+0x1]=_0x315207[_0x3f16fa+0x3],_0x315207[_0x3f16fa+0x3]=_0x5279cb,this['_doCryptBlock'](_0x315207,_0x3f16fa,this[_0x278451(0x233)],_0x613d33,_0x187148,_0x3c01a5,_0x217192,_0xe13c84);var _0x5279cb=_0x315207[_0x3f16fa+0x1];_0x315207[_0x3f16fa+0x1]=_0x315207[_0x3f16fa+0x3],_0x315207[_0x3f16fa+0x3]=_0x5279cb;},'_doCryptBlock':function(_0x36d850,_0x963671,_0x3c0b9e,_0x275682,_0x24fd95,_0x1ad0bd,_0x11fb85,_0x1dc422){var _0x561492=_0x1705a9;for(var _0x3f26ad=this[_0x561492(0x40d)],_0x3b1df5=_0x36d850[_0x963671]^_0x3c0b9e[0x0],_0x215450=_0x36d850[_0x963671+0x1]^_0x3c0b9e[0x1],_0x4c5af3=_0x36d850[_0x963671+0x2]^_0x3c0b9e[0x2],_0x96f076=_0x36d850[_0x963671+0x3]^_0x3c0b9e[0x3],_0x1f5b5a=0x4,_0x20b49d=0x1;_0x20b49d<_0x3f26ad;_0x20b49d++){var _0x5bde18=_0x275682[_0x3b1df5>>>0x18]^_0x24fd95[_0x215450>>>0x10&0xff]^_0x1ad0bd[_0x4c5af3>>>0x8&0xff]^_0x11fb85[_0x96f076&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x28a040=_0x275682[_0x215450>>>0x18]^_0x24fd95[_0x4c5af3>>>0x10&0xff]^_0x1ad0bd[_0x96f076>>>0x8&0xff]^_0x11fb85[_0x3b1df5&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x414e02=_0x275682[_0x4c5af3>>>0x18]^_0x24fd95[_0x96f076>>>0x10&0xff]^_0x1ad0bd[_0x3b1df5>>>0x8&0xff]^_0x11fb85[_0x215450&0xff]^_0x3c0b9e[_0x1f5b5a++],_0x54977e=_0x275682[_0x96f076>>>0x18]^_0x24fd95[_0x3b1df5>>>0x10&0xff]^_0x1ad0bd[_0x215450>>>0x8&0xff]^_0x11fb85[_0x4c5af3&0xff]^_0x3c0b9e[_0x1f5b5a++];_0x3b1df5=_0x5bde18,_0x215450=_0x28a040,_0x4c5af3=_0x414e02,_0x96f076=_0x54977e;}var _0x5bde18=(_0x1dc422[_0x3b1df5>>>0x18]<<0x18|_0x1dc422[_0x215450>>>0x10&0xff]<<0x10|_0x1dc422[_0x4c5af3>>>0x8&0xff]<<0x8|_0x1dc422[_0x96f076&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x28a040=(_0x1dc422[_0x215450>>>0x18]<<0x18|_0x1dc422[_0x4c5af3>>>0x10&0xff]<<0x10|_0x1dc422[_0x96f076>>>0x8&0xff]<<0x8|_0x1dc422[_0x3b1df5&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x414e02=(_0x1dc422[_0x4c5af3>>>0x18]<<0x18|_0x1dc422[_0x96f076>>>0x10&0xff]<<0x10|_0x1dc422[_0x3b1df5>>>0x8&0xff]<<0x8|_0x1dc422[_0x215450&0xff])^_0x3c0b9e[_0x1f5b5a++],_0x54977e=(_0x1dc422[_0x96f076>>>0x18]<<0x18|_0x1dc422[_0x3b1df5>>>0x10&0xff]<<0x10|_0x1dc422[_0x215450>>>0x8&0xff]<<0x8|_0x1dc422[_0x4c5af3&0xff])^_0x3c0b9e[_0x1f5b5a++];_0x36d850[_0x963671]=_0x5bde18,_0x36d850[_0x963671+0x1]=_0x28a040,_0x36d850[_0x963671+0x2]=_0x414e02,_0x36d850[_0x963671+0x3]=_0x54977e;},'keySize':0x100/0x20});_0x32bfa0[_0x1705a9(0x28c)]=_0x1274b4['_createHelper'](_0x121e62);}()),_0x40823f[_0x5c4225(0x28c)];}));}(Ve)),Ve[_0x408a9a(0x194)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe[_0x16f01c(0x194)],ii;function On(){var _0xdab3c7=_0x16f01c;return ii||(ii=0x1,function(_0x9ac684,_0x856f26){(function(_0xbb128,_0x31887f){var _0x3567f9=_0x2af7;_0x9ac684[_0x3567f9(0x194)]=_0x31887f(ie());}(Tn,function(_0x3c13ff){var _0x4ba9b7=_0x2af7;return _0x3c13ff[_0x4ba9b7(0x31d)][_0x4ba9b7(0x22d)];}));}(Xe)),Xe[_0xdab3c7(0x194)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x16f01c(0x194)],si;function bn(){var _0x4a717f=_0x16f01c;return si||(si=0x1,function(_0x4a7bfb,_0x5c0a92){(function(_0x22e0e2,_0x2266f1){_0x4a7bfb['exports']=_0x2266f1(ie());}(Nn,function(_0x54efb5){var _0x2d6a62=_0x2af7;return(function(){var _0x47da81=_0x2af7;if(typeof ArrayBuffer==_0x47da81(0x3b9)){var _0x4f0ba2=_0x54efb5,_0x4330d2=_0x4f0ba2[_0x47da81(0x3b7)],_0x250b14=_0x4330d2[_0x47da81(0x30a)],_0x208f88=_0x250b14[_0x47da81(0x3a2)],_0x333a3b=_0x250b14[_0x47da81(0x3a2)]=function(_0xbfaecb){var _0x1566ce=_0x47da81;if(_0xbfaecb instanceof ArrayBuffer&&(_0xbfaecb=new Uint8Array(_0xbfaecb)),(_0xbfaecb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xbfaecb instanceof Uint8ClampedArray||_0xbfaecb instanceof Int16Array||_0xbfaecb instanceof Uint16Array||_0xbfaecb instanceof Int32Array||_0xbfaecb instanceof Uint32Array||_0xbfaecb instanceof Float32Array||_0xbfaecb instanceof Float64Array)&&(_0xbfaecb=new Uint8Array(_0xbfaecb[_0x1566ce(0x378)],_0xbfaecb[_0x1566ce(0x1c3)],_0xbfaecb['byteLength'])),_0xbfaecb instanceof Uint8Array){for(var _0x346aec=_0xbfaecb[_0x1566ce(0x12e)],_0xf5eda4=[],_0x373cb9=0x0;_0x373cb9<_0x346aec;_0x373cb9++)_0xf5eda4[_0x373cb9>>>0x2]|=_0xbfaecb[_0x373cb9]<<0x18-_0x373cb9%0x4*0x8;_0x208f88['call'](this,_0xf5eda4,_0x346aec);}else _0x208f88['apply'](this,arguments);};_0x333a3b['prototype']=_0x250b14;}}()),_0x54efb5[_0x2d6a62(0x3b7)][_0x2d6a62(0x30a)];}));}(Ze)),Ze[_0x4a717f(0x194)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe['exports'],ni;function An(){var _0x597dfb=_0x16f01c;return ni||(ni=0x1,function(_0xfe7b2,_0xb3116b){(function(_0x4e5cf7,_0x19a4a1,_0x1828e1){var _0x12ef3c=_0x2af7;_0xfe7b2[_0x12ef3c(0x194)]=_0x19a4a1(ie(),Ni());}(Un,function(_0xfe37e0){var _0x1c856b=_0x2af7;return _0xfe37e0[_0x1c856b(0x2b7)][_0x1c856b(0x3a7)]={'pad':function(){},'unpad':function(){}},_0xfe37e0['pad'][_0x1c856b(0x3a7)];}));}(Qe)),Qe[_0x597dfb(0x194)];}var Pn=An();const wn=$e(Pn);function Mn(_0x4c88f8,_0x4010b2){var _0x314a83=_0x16f01c;const _0x1c9b38=_0x4010b2-_0x4c88f8['length']%_0x4010b2,_0x10862c=String[_0x314a83(0x21b)](_0x1c9b38)[_0x314a83(0x39f)](_0x1c9b38);return _0x4c88f8+_0x10862c;}function Ln(_0x37c69f,_0x427c2e){var _0x2a3c6d=_0x16f01c;const _0x153496=yn['random'](0x10),_0x56cc4b=Mn(_0x37c69f,0x10),_0x5f0fb9=Sn[_0x2a3c6d(0x2d3)](Cn[_0x2a3c6d(0x2a2)](_0x56cc4b),ti['parse'](_0x427c2e),{'iv':_0x153496,'padding':wn});return _0x153496[_0x2a3c6d(0x2c1)](_0x5f0fb9[_0x2a3c6d(0x3d5)])['toString'](ti);}function xn(){var _0x185ca9=_0x16f01c;const _0x5a422f=_0x133b38()[_0x185ca9(0x3c7)];if(_0x5a422f){const _0x3f6396={'time':Math['floor'](Date[_0x185ca9(0x3d1)]()/0x3e8),'domain':location[_0x185ca9(0x3fb)]};return Ln(JSON['stringify'](_0x3f6396),_0x5a422f);}}var kn=Object[_0x16f01c(0x11f)],$n=(_0x4eb9ee,_0x5cf507,_0x3496a7,_0x14fa65)=>{var _0x41ef4d=_0x16f01c;for(var _0x2634b6=_0x14fa65>0x1?void 0x0:_0x14fa65?kn(_0x5cf507,_0x3496a7):_0x5cf507,_0x4f46bc=_0x4eb9ee[_0x41ef4d(0x389)]-0x1,_0x18e76e;_0x4f46bc>=0x0;_0x4f46bc--)(_0x18e76e=_0x4eb9ee[_0x4f46bc])&&(_0x2634b6=_0x18e76e(_0x2634b6)||_0x2634b6);return _0x2634b6;},Hn=(_0x2f4460,_0x4cc593)=>(_0x9acff1,_0x1e59be)=>_0x4cc593(_0x9acff1,_0x1e59be,_0x2f4460);let at=class{constructor(_0x51c011){var _0x24c267=_0x16f01c;this[_0x24c267(0x361)]=_0x51c011,this[_0x24c267(0x1c6)]();}[_0x16f01c(0x1c6)](){var _0x537eca=_0x16f01c;this[_0x537eca(0x361)][_0x537eca(0x379)]({'interceptor':(_0xa97412,_0x57cb51)=>{var _0x4e6874=_0x537eca;const _0xf3975a=_0xa97412[_0x4e6874(0x264)],_0x4a0a60=xn();return _0x4a0a60&&_0xf3975a[_0x4e6874(0x139)](_0x4e6874(0x1d6),_0x4a0a60),_0x57cb51(_0xa97412);}});}};at=$n([Hn(0x0,_0x39a463(_0x2e0fa2))],at);var Bn=Object[_0x16f01c(0x11f)],Fn=(_0x3a34e1,_0x477dee,_0x245697,_0x3f121d)=>{var _0x23459d=_0x16f01c;for(var _0x34d176=_0x3f121d>0x1?void 0x0:_0x3f121d?Bn(_0x477dee,_0x245697):_0x477dee,_0x26546b=_0x3a34e1[_0x23459d(0x389)]-0x1,_0x1e50df;_0x26546b>=0x0;_0x26546b--)(_0x1e50df=_0x3a34e1[_0x26546b])&&(_0x34d176=_0x1e50df(_0x34d176)||_0x34d176);return _0x34d176;},vt=(_0x41dee7,_0x50e201)=>(_0x24169f,_0x1f177f)=>_0x50e201(_0x24169f,_0x1f177f,_0x41dee7);function _0xe9bb(){var _0x267a33=['SNAPSHOT_HAS_BEEN_REMOVED','online$','AWAITING','pad','_getSignURL','defineProperty','socketService','objectType','_socketReady','saveSnapshot','COMPRESS_MUTATION_SEND','clamp','updatePermissionPoint','concat','createEncryptor','UNIVER_PROJECT','name','append','close','failed\x20to\x20apply\x20missed\x20changesets!','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_exhaustRemoteChangesetQueue','_updateLocalCache','\x20in\x20_schedule.','276UhWnPP','OTHER_CLIENTS_EDITING','_joinRoom','/object','WECHAT_HAS_BEEN_BOUND','_onRemoteChangeset','REDEMPTION_CODE_NOT_STARTED','encrypt','asObservable','_incrementRevisionNumber','RETRY_CONNECTING_MAX_COUNT','catch','getUnitType','transformUndoRedo','_transformUndoredo','REDEMPTION_CODE_INACTIVE','_getLoginPath','_unitInfo$','LIVESHARE_OPERATION','onRemoteRetry','image/gif','transformMutationsWithChangeset','_onConflict','YUUMI_CONNECTOR_URL_NOT_FOUND','algo','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','CHANGESET_ACK','_iv','LOGIN_FAILED','_doReset','_sender','getAllMembers','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_key','onTransformIME','_clearCollaborationTimeoutTimer','_onRecvEvent','unitInfo$','SOCKET_FAILED','_getAPIPrefix','_commentService','filter','replace','\x0aCurrent:\x20','type','awaiting_with_pending','[CollaborationSessionService]:\x20socket\x20error','memberID','slice','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_parse','listRoles','YUUMI_ASYNCIO_CANCELLED','resend','extend','Base','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','DEFAULT_FILE_NAME','permissionRejEvent','finalize','_hasher','_unitID','WordArray','AWAITING_WITH_PENDING','BufferedBlockAlgorithm','unitID','stopTime','createCollaborator','COMPRESS_MUTATION_APPLY','getCollabEntity','SHA1','UserProfileImg','_injector','loadUnitOfRevision','avatar','JOIN','infoRsp','PERMISSION_REJ','enableAuthServer','NOT_FOUND','[CollaborationSession]','enc','sendChangesetTimeout','sessionStatus','getCurrentSelections','randomBytes','_snapshotServerService','revision','/object/','_getSendChangesetTimeout','snapshot','initWorkbookPermissionChange','HmacMD5','encode','session.room-full','subUnitId','_acknowledgedAwaitingChangeset','_mode','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[CollaborationState]:\x20apply\x20error!','file','getWorkbookSelections','_replaceFileID','YUUMI_URL_COL_OUT_OF_RANGE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','EvpKDF','__creator','&to=','UnitEmbedded','state','_singleActiveUnitService','editing\x20status\x20changed\x20to','_sessionStatus$','reject','NO_OTHER_CLIENTS_EDITING','subscribe','[OfflineState]:\x20received\x20changeset.','shouldCloseConn','LIVESHARE_NEW_HOST','_append','JOIN_ROOM_FULL','_waitCount','_resendTimer','status$','listCollaborators','onSendChangeset','workbook','override','map','requestParams','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_map','_clearHeartbeatTimer','_imageSourceCache','/universer-api/authz','getUnitOnRev','&assign=','collaboration-client.config','/universer-api/oidc/authpage','save\x20fail\x20reason\x20is\x20','indexOf','ENTITLE_DUP_SUBSCRIPTION','RECV','body','unpad','_entityInit$','_change$','SUBMIT_CHANGESET_TIMEOUT','words','_httpService','YUUMI_ALL_TABLES_IS_INVALID','abs','onStateChange','charCodeAt','event$','MUTATION','socket\x20open.','_decreaseWaiting','signUrlServerUrl','INVITE_CODE_ALREADY_BOUND','_logService','OpenSSL','pipe','_HTTPService','mode','retryConnectingInterval','collaboration_new_changeset','_univerInstanceService','fetch_missing','pauseCollaboration','transformStack\x20failed!','textRanges','buffer','registerHTTPInterceptor','key','session','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','patch','LICENSE_IMPORT_SIZE_EXCEEDED','getInterceptPoints','_sendHeartbeatTimer','collabWebSocketUrl','AUTHORIZE_CODE_ILLEGAL','liveShareNewHost','update','getRoom','_changesetSessionId','UPDATE_PERMISSION_OBJ','onlyLocal','length','CipherParams','APPLY_DUPLICATED','hasher','_onRemoteRejected','ENTITLE_INSUFFICIENT_QUOTA','status','error','NEW_CHANGESETS','getTime','_scheduleCollaborationTimeoutTimer','toggleOnline','cmd','CLOSE_ROOM','REDEMPTION_INVALID_CODE','_clearRetryConnectingTimer','FETCH_MISS','_collabSessionService','JOIN_ROOM_FAILED','getUnitStatus$','SerializableCipher','unknown','repeat','close$','blockSize','init','[PendingState]:\x20received\x20acknowledgement.','_registerDependencies','getCollabEntity$','authzUrl','NoPadding','_onOffline','_transformRemoteChangesetByStateCache','withCredentials','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_doFinalize','LIVESHARE_REQUEST_HOST','getSheetId','BlockCipherMode','startsWith','[SyncedState]:\x20received\x20rejection.','code','HEARTBEAT','UNIVER_DOC','findIndex','_revisionService','lib','ENSURE_SNAPSHOT_EXECUTION','function','[PendingState]:\x20received\x20rejection.','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','connection\x20error','getValue','_getCurrentRevision','_ENC_XFORM_MODE','add','saveChangeset','935lasJMU','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_updateStatus','c1Prime','__Key__','from','_transformRemoteChangesetByIMECache','_startTelemetryCollaborationNewChangeset','LIVESHARE_TERMINATE','setShowComponents','PERSON','/fetchmissing?from=','_reverseMap','image/jpeg','now','apply','_instanceService','COMPLETION_FINISHED','ciphertext','random','LICENSE_DISTRO_REJECTED','_redoStacks','pending','JOINING','HELLO','UNAUTHENTICATED','_initDependencies','_init','_emitMembers','ivSize','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','subject','FileId','_onMessage','_shouldReportTelemetry','getResourcesRequest','PasswordBasedCipher','_memberService','getMember','post','_permissionService','[CollaborationEntity]','_queuedRemoteChangesets','_disableEditing','UnitSnapshot','_transformSelections','onRemoteAck','image/bmp','Hasher','HmacSHA1','_handler','getSnapshotAPIPath','getUnitId','submit\x20changeset\x20error!','createSocket','csRejEvent','hostname','data','allowed','_executeRemoteChangeset','HttpImport','REDEMPTION_USER_NOT_ELIGIBLE','unit-cache-','enableOfflineEditing','c2Prime','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursor','create','sigBytes','uploadFileServerUrl','_resendWithTimeout','symbol','salt','ceil','_nRounds','_collaborationTimeoutTimer','_snapshotService','max','onRemoteChangeset','[CollaborationUndoRedoService]','_createSocket','getImage','[CollaborationSessionService]','IDLE','ALREADY_EXISTS','CHANGESET_REVISION_CONFILICT','univer-pro.collaboration-client.single-active-unit-service','UNRECOGNIZED','_status$','loadUnit','iterations','href','1360oTdwom','message$','createInstance','INVITE_CODE_REQUIRED','leaveEvent','/universer-api/comb','_localeService','disableLocalCache','_data','_collaborationSessionService','disposeWithMe','waitForRoom$','toggleOffline','SOCKET_FAILED_RETRY','Univer','emitEvent','_clearUndo','UNIVER_SHEET','requireSession','CBC','UNIVER_UNKNOWN','deepClone','CHANGESET_SHOULD_RETRY','8268nmjJTu','_type','UPDATE_CURSOR','_fetchMissChangesets','values','_onUserJoin','fetchMiss','Encryptor','getTypeOfUnitAdded$','EMAIL_VERIFY_CODE_MISMATCH','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getOwnPropertyDescriptor','GLOBAL_ROOMS_CNT_EXCEEDS','_sessions','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','encryptBlock','[OfflineState]:\x20received\x20rejection.','telemetry\x20info\x20is\x20not\x20initialized','isPermissionRej','change$','_undoStacks','_retryCount','removeMember','delete','_socketMessageSubscription','objectID','byteLength','_onUserLeave','getCurrentUser','/universer-api/file/{fileID}/sign-url','uniscriptRunEvent','Decryptor','_startCollaboration','getUnit','call','SUBMIT_CHANGESET','saveImage','set','USERS_LEAVE','originalMeta','joinRsp','auth.needGotoLoginAlert','clone','msCrypto','[OfflineState]:\x20received\x20acknowledgement.','eventID','APPLY_PERMISSION_DENIED','csAckEvent','&source=','_handlerCallback','toString','_submitChangeset','unsubscribe','_getDownloadEndpointURL','OPTIONAL','debug','_state','_toggleOffline','YUUMI_AI_RUN_FAILED','sheets','awaitingChangeset','univer-pro.collaboration-client.network-condition.service','refreshPermission','_retryConnectingTimer','onTransformState','onSyncEditingCollabCursor','HttpExport','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_iKey','encodeURIComponent','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_minBufferSize','_nDataBytes','1292402jrUWAI','_keySchedule','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','3123400owZpmV','confirm','joinEvent','_onLocalMutation','_changesetReqId','default','NOT_COLLAB','_transformService','session.join-failed','CONFLICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','src','responseType','_doCryptBlock','send','offline','LOGIN_TOKEN_PROCESSING_FAILED','2580907heNMtB','url','_transformStateCache','FETCH_MISSING','UNKNOWN_CODE','StreamCipher','$super','USERS_ENTER','_localCacheService','USER_IS_ANONYMOUS','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','objects','_listenToNetworkCondition','updatePermissionObjEvent','forEach','_socket$','Cipher','localeService','UNKNOWN_CMD','OTHER_CLIENT_EDITING','TOO_MANY_REQUESTS','PY_RUNTIME_SCRIPT_ERROR','ONLINE','_awaitingChangeset','editingUnit','onTransformSelections','every','createDecryptor','collaborators','Hex','commentUpdate$','getRandomValues','fromCollab','getTypeOfUnitDisposed$','mutations','exports','61902HCwkue','loadDoc','_candidateSocket','Latin1','complete','string','dispose$','csShouldRetryEvent','_oKey','collaMsg','copyFileMeta','APPLY_REVISION_CONFILICT','YUUMI_NO_CUBOID_FOR_QUESTION','_onRemoteACK','selections','transformChangesets','_sendingTimer','_lockTransition','MOBILE_HAS_BEEN_BOUND','POST','_event$','1969iDoADd','_prevBlock','_createHmacHelper','substr','UNDEFINED','COMMENT_UPDATE','APPLY_NON_SEQUENTIAL_REVISION','_showConflictNotification','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','Base64','ENTITLE_REPORT_LIMIT_EXCEED','localCacheService','ENTITLE_CHAT_LIMIT_EXCEED','_tryEnsureSocket','SUCCUSS','/allowed','list','_onCombEvent','then','range','USER_NOT_INVITED_CODE','ERROR_IMAGE','members$','min','UNIVER_SLIDE','byteOffset','/universer-api/snapshot/','updateCollaborator','_initRequestHeader','JOIN_ROOM_PERMISSION_DENIED','onRemoteRej','[DataLoaderService]','_compressMutationService','has','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','INGEST','_configService','onStarting','sid','dispose','USER_NOT_FOUND','16188lGZucu','interceptor','getCurrentRevOfUnit','x-univer-host','put','/rev/','INTERNAL_ERROR','entries','Could\x20not\x20dynamically\x20require\x20\x22','decrypt','newCsEvent','Error\x20on\x20receiving\x20event','ERROR_AGAIN','_transitionLocked','reqId','ERROR_EXCEED_SIZE','MSG_FOR_ERROR','method','_pendingMutations','_getCtorByUniverType','_stopTelemetryCollaborationNewChangeset','crypto','_telemetryInfo','m2Prime','LEAVE','PSEUDO_FETCH_MISSING_RESULT','BASE64','?url=','_createHandler','_removeRoom','Pkcs7','[SyncedState]:\x20received\x20acknowledgement.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_transformStack','_waitForHeartbeatResponse','fetchThroughInterceptors','getFocusedUnit','updateOfflineData','open$','_replayCachedMutations','_roomCreated$','_getRedoStack','CURRENT_STATUS_CANNOT_OPERATE','_isPermissionRej','next','BlockCipher','HMAC','kdf','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','isArray','formatter','1122bwQZTc','session.room-not-exists','_transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','setCurrentUser','_checkMissing','executeCommand','MOBILE_VERIFY_CODE_MISMATCH','transformSelections','charAt','getImageSourceCache','_throwTelemetryCollaborationNewChangeset','SNAPSHOT_URL_KEY','enableCollaboration','unitId\x20is\x20not\x20found','onTransformRemoteChangesetByIMECache','_telemetryService','_onConnectionFailed','updateMember','splice','_onFetchMissResult','fromCharCode','state$','closeSession','_roomMembers','_userManagerService','unitId','/-/object/-/batch_allowed','_undoRedoService','join','fetching\x20missing\x20changesets\x20from\x20','reverse','result','_remoteChangesetQueue','conflict','onTransformRemoteChangesetByStateCache','getMemberID','PERMISSION_DENIED','downloadEndpointUrl','Utf8','compose','_hash','_tryReconnect','REDEMPTION_CODE_HAS_BEEN_CREATED','_socketService','_invKeySchedule','_process','get','target','YUUMI_RATE_OVER_LIMIT','_collaborationUIEventService','_members','floor','onMissedChangesetFetched','YUUMI_SUBSCRIPTION_NOT_FOUND','MD5','APPLY_REJECT','loadOfflineData','ENTITLE_NEED_BILLING_ADDRESS','INVITE_CODE_HAS_BEEN_UES','onMissingChangesets','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','reset','_commentUpdate$','_updateState','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRetry','\x20to\x20','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','readAsDataURL','_sheetTransformSelectionsService','_toggleOnline','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','hasOwnProperty','action','INVALID_ARGUMENT','_scheduleCompleteTimestamp','_members$','_commandService','_cipher','_unlockTransition','CHANGESET_REJ','JOIN_ROOM_NOT_EXISTS','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','baseRev','saveSheetBlock','appendMutation','_getAPIPrefixPath','prototype','awaiting','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_IMAGE_TYPE','mixIn','userID','headers','session.room-cnt-exceeds','collaboratorID','location','_applyRemoteChangeset','_xformMode','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','/collaborator','sin','_resendTimeout','_timeoutTimer','\x0aAfter:\x20','onCommentUpdate','LIVESHARE_FETCH_OPERATIONS','_rescheduleHeartbeat','SYNCED','FAIL','_clearTimeoutTimer','DATA_SOURCE_TOO_LARGE','capture','actions','_createInitialStateImpl','/block/','getConfig','_config','SHOULD_CLOSE_CONN','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/uniscript','clear','rev','_collaborationPaused','error$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OFFLINE','UUID','1MhdOXG','push','roomInfos','_socket','session.room-permission-denied','AES','changesets','YUUMI_UNABLE_LOAD_URL','putCollaborators','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_schedule','setConfig','Undefined','compute','reconnect','pluginName','_doProcessBlock','onCommandExecuted','resolve','/universer-api/user/session-ticket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_clearScheduledTask','format','_entities','sessionStatus$','PAYMENT_CHANNEL_NOT_SUPPORT','stringify','parse','cfg','_onConnectionOpen','_initMergeInterceptor','incrementRevOfUnit','LOCAL_CACHE_INTERVAL','_networkConditionService','_createHelper','keySize','\x20-\x20','fetchMissingChangesets','_createInitialState','routeKey','resourceIDs','size','Failed\x20to\x20update\x20permission\x20point','params','/unit/'];_0xe9bb=function(){return _0x267a33;};return _0xe9bb();}let Ot=class extends _0x28ec07{constructor(_0x4504b8,_0x35ff58,_0xf2152b){var _0x345d96=_0x16f01c;super(),D(this,'_unitInfo$',new _0x310797(null)),D(this,_0x345d96(0x2f1),this[_0x345d96(0x2dd)][_0x345d96(0x2d4)]()),(this[_0x345d96(0x36c)]=_0x4504b8,this['_snapshotService']=_0x35ff58,this[_0x345d96(0x179)]=_0xf2152b);}async[_0x16f01c(0x315)](_0x51e0c8,_0x19eb40,_0x3f048c){var _0x509978=_0x16f01c;this[_0x509978(0x2dd)][_0x509978(0x1ff)]({'unitId':_0x51e0c8,'type':_0x19eb40});let _0x135f34=null;switch(_0x19eb40){case Q[_0x509978(0x10e)]:{_0x135f34=await this[_0x509978(0x40f)]['loadSheet'](_0x51e0c8,_0x3f048c);break;}case Q[_0x509978(0x3b4)]:{_0x135f34=await this[_0x509978(0x40f)][_0x509978(0x196)](_0x51e0c8,_0x3f048c);break;}default:{this[_0x509978(0x36c)]['error'](_0x509978(0x1c9),_0x509978(0x122));break;}}return _0x135f34;}async[_0x16f01c(0x41c)](_0x36f93c,_0x4c3b87,_0x5a564f){var _0x2638a3=_0x16f01c,_0x7da16a;this['_unitInfo$'][_0x2638a3(0x1ff)]({'unitId':_0x36f93c,'type':_0x4c3b87,'subUnitId':_0x5a564f});let _0x8b9bc6=0x0;const _0x19c503=await((_0x7da16a=this[_0x2638a3(0x179)])==null?void 0x0:_0x7da16a['loadOfflineData'](_0x36f93c));return _0x19c503&&(_0x19c503[_0x2638a3(0x150)]||_0x19c503[_0x2638a3(0x193)]['length']!==0x0)&&(_0x8b9bc6=_0x19c503[_0x2638a3(0x281)]),_0x8b9bc6===0x0&&this[_0x2638a3(0x36c)]['debug'](_0x2638a3(0x1c9),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x2638a3(0x315)](_0x36f93c,_0x4c3b87,_0x8b9bc6);}};Ot=Fn([vt(0x0,_0x46c731),vt(0x1,_0x39a463(_0x195402)),vt(0x2,_0x23ad4d(J))],Ot);var jn=Object[_0x16f01c(0x11f)],Vn=(_0x4a9199,_0x230c1c,_0x2f6038,_0x1bf1ed)=>{var _0x352f4d=_0x16f01c;for(var _0x38aa13=_0x1bf1ed>0x1?void 0x0:_0x1bf1ed?jn(_0x230c1c,_0x2f6038):_0x230c1c,_0x236346=_0x4a9199[_0x352f4d(0x389)]-0x1,_0x405f94;_0x236346>=0x0;_0x236346--)(_0x405f94=_0x4a9199[_0x236346])&&(_0x38aa13=_0x405f94(_0x38aa13)||_0x38aa13);return _0x38aa13;},pt=(_0x127574,_0x1af7b5)=>(_0xb1401f,_0xd2fb4e)=>_0x1af7b5(_0xb1401f,_0xd2fb4e,_0x127574);const Gn=['image/png',_0x16f01c(0x3d0),'image/jpg',_0x16f01c(0x2e0),_0x16f01c(0x3f2)],Wn=0x5*0x400*0x400,Yn='/universer-api/stream/file/upload',Kn=_0x16f01c(0x131);let Rt=class{constructor(_0x56788b,_0x4d59a5,_0x4b6c5a){var _0x56e077=_0x16f01c;D(this,_0x56e077(0x345),0x0),D(this,'_change$',new _0x4a9940()),D(this,_0x56e077(0x127),this['_change$']),D(this,_0x56e077(0x351),new Map()),(this['_httpService']=_0x56788b,this[_0x56e077(0x1ce)]=_0x4d59a5,this[_0x56e077(0x373)]=_0x4b6c5a);}['setWaitCount'](_0x2f2886){var _0x3300f6=_0x16f01c;this[_0x3300f6(0x345)]=_0x2f2886,this['_change$'][_0x3300f6(0x1ff)](_0x2f2886);}[_0x16f01c(0x210)](_0x3401de,_0x3c8d46){var _0x28487b=_0x16f01c;if(_0x3c8d46===_0x57808e['BASE64']){const _0x4ac76f=new Image();return _0x4ac76f[_0x28487b(0x16b)]=_0x3401de,_0x4ac76f;}return this['_imageSourceCache']['get'](_0x3401de);}['addImageSourceCache'](_0x5d80ff,_0x447b81,_0x543dd6){var _0x3034cd=_0x16f01c;_0x447b81===_0x57808e[_0x3034cd(0x1ed)]||_0x543dd6==null||this[_0x3034cd(0x351)][_0x3034cd(0x139)](_0x5d80ff,_0x543dd6);}async[_0x16f01c(0x414)](_0x1a6215){var _0x415460=_0x16f01c;try{const _0x590a20=this[_0x415460(0x332)](this[_0x415460(0x2b8)](),''+_0x1a6215),_0x2ad90b=(await this[_0x415460(0x361)][_0x415460(0x235)](_0x590a20))[_0x415460(0x35b)];if(_0x2ad90b['error']&&_0x2ad90b[_0x415460(0x390)][_0x415460(0x3b2)]===vi['OK']){const _0x5836ca=new URL(_0x2ad90b[_0x415460(0x172)],this[_0x415460(0x149)]())[_0x415460(0x146)]();return Promise[_0x415460(0x299)](_0x5836ca);}return Promise[_0x415460(0x33d)](_0x2ad90b[_0x415460(0x390)]);}catch(_0x43d331){return Promise[_0x415460(0x33d)](_0x43d331);}}async[_0x16f01c(0x138)](_0x45c109){var _0x325bfa=_0x16f01c;let _0x4aa99f='';if(!Gn['includes'](_0x45c109[_0x325bfa(0x2f8)]))return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x261)]));if(_0x45c109[_0x325bfa(0x2b0)]>Wn)return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x1e2)]));try{const _0x13b9a3=new FormData();_0x13b9a3[_0x325bfa(0x2c5)](_0x325bfa(0x330),_0x45c109);const _0x19d1fb=this[_0x325bfa(0x373)][_0x325bfa(0x1f7)](),_0x9a8c5c=_0x19d1fb==null?void 0x0:_0x19d1fb[_0x325bfa(0x3f7)]();if(!_0x9a8c5c)throw new Error(_0x325bfa(0x214));const _0x11d332=this['_getUploadFileURL']()+'?size='+_0x45c109[_0x325bfa(0x2b0)][_0x325bfa(0x146)]()+_0x325bfa(0x144)+pi['UnitEmbedded']+_0x325bfa(0x354)+encodeURIComponent(_0x9a8c5c),_0x2c949d={'body':_0x13b9a3},_0x5c6e80=(await this[_0x325bfa(0x361)]['post'](_0x11d332,_0x2c949d))[_0x325bfa(0x35b)];if(typeof _0x5c6e80[_0x325bfa(0x3e3)]!=_0x325bfa(0x19a))return this[_0x325bfa(0x369)](),Promise['reject'](new Error(_0x48d8a2[_0x325bfa(0x1bf)]));_0x4aa99f=_0x5c6e80[_0x325bfa(0x3e3)];}catch{return this[_0x325bfa(0x369)](),Promise[_0x325bfa(0x33d)](new Error(_0x48d8a2[_0x325bfa(0x1bf)]));}return new Promise((_0x4f9e44,_0x20a36e)=>{var _0x124f93=_0x325bfa;const _0x37124e=new FileReader();_0x37124e[_0x124f93(0x24b)](_0x45c109),_0x37124e['onload']=_0x10c779=>{var _0x1e2316=_0x124f93,_0x386c2e;const _0x50b1c6=(_0x386c2e=_0x10c779[_0x1e2316(0x236)])==null?void 0x0:_0x386c2e['result'];if(_0x50b1c6==null){this['_decreaseWaiting'](),_0x20a36e(new Error(_0x48d8a2[_0x1e2316(0x1bf)]));return;}const _0x370796=_0x48f790(0x6);_0x4f9e44({'imageId':_0x370796,'imageSourceType':_0x57808e[_0x1e2316(0x286)],'source':_0x4aa99f,'base64Cache':_0x50b1c6,'status':_0x48d8a2[_0x1e2316(0x1b8)]}),this[_0x1e2316(0x369)]();};});}['_getUploadFileURL'](){var _0x100941=_0x16f01c,_0x2c96a5;const _0x4e1829=this['_configService'][_0x100941(0x27b)](K);return(_0x2c96a5=_0x4e1829==null?void 0x0:_0x4e1829[_0x100941(0x408)])!=null?_0x2c96a5:Yn;}[_0x16f01c(0x2b8)](){var _0x1710e6=_0x16f01c,_0x23ecf3;const _0xf630b2=this[_0x1710e6(0x1ce)]['getConfig'](K);return(_0x23ecf3=_0xf630b2==null?void 0x0:_0xf630b2[_0x1710e6(0x36a)])!=null?_0x23ecf3:Kn;}[_0x16f01c(0x149)](){var _0x29ce80=_0x16f01c,_0x366381;const _0x10e40b=this['_configService']['getConfig'](K);return(_0x366381=_0x10e40b==null?void 0x0:_0x10e40b[_0x29ce80(0x22c)])!=null?_0x366381:location['origin'];}[_0x16f01c(0x332)](_0x197937,_0x2260a4){var _0x20922c=_0x16f01c;return _0x197937[_0x20922c(0x2f6)]('{fileID}',_0x2260a4);}[_0x16f01c(0x369)](){var _0x36c0a7=_0x16f01c;this[_0x36c0a7(0x345)]-=0x1,this[_0x36c0a7(0x35e)]['next'](this[_0x36c0a7(0x345)]);}};Rt=Vn([pt(0x0,_0x39a463(_0x2e0fa2)),pt(0x1,_0x5b80dc),pt(0x2,_0x39a463(_0x2fe86b))],Rt);var qn=Object[_0x16f01c(0x11f)],zn=(_0x129e85,_0x49c628,_0x463bc2,_0xa662b8)=>{var _0x9d209d=_0x16f01c;for(var _0x356134=_0xa662b8>0x1?void 0x0:_0xa662b8?qn(_0x49c628,_0x463bc2):_0x49c628,_0x52458b=_0x129e85[_0x9d209d(0x389)]-0x1,_0x2d5554;_0x52458b>=0x0;_0x52458b--)(_0x2d5554=_0x129e85[_0x52458b])&&(_0x356134=_0x2d5554(_0x356134)||_0x356134);return _0x356134;},ri=(_0x44fa98,_0x444079)=>(_0x18552b,_0x322985)=>_0x444079(_0x18552b,_0x322985,_0x44fa98);const Jn=_0x16f01c(0x352);let Ct=class{constructor(_0x4b472e,_0x5ee6d0){var _0x71b083=_0x16f01c;this[_0x71b083(0x1ce)]=_0x4b472e,this[_0x71b083(0x36f)]=_0x5ee6d0;}[_0x16f01c(0x25d)](){var _0x2ef4dc=_0x16f01c,_0x249c0e;const _0x323af5=this[_0x2ef4dc(0x1ce)][_0x2ef4dc(0x27b)](K);return(_0x249c0e=_0x323af5==null?void 0x0:_0x323af5[_0x2ef4dc(0x3a6)])!=null?_0x249c0e:Jn;}async[_0x16f01c(0x1ba)](_0x525203){var _0x4ade5f=_0x16f01c;const _0x526f95=this[_0x4ade5f(0x25d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x4ade5f(0x36f)][_0x4ade5f(0x235)](_0x526f95,{'params':{'objectID':_0x525203['unitId'],'unitID':_0x525203['unitId']}}))['body'][_0x4ade5f(0x18d)]['map'](_0x18a069=>({'objectId':_0x18a069['id'],'name':_0x18a069[_0x4ade5f(0x3e2)][_0x4ade5f(0x2c4)],'metadata':{'icon':_0x18a069[_0x4ade5f(0x3e2)][_0x4ade5f(0x316)]},'label':_0x18a069[_0x4ade5f(0x3e2)]['name'],'objectType':_0x313e0b[_0x4ade5f(0x3cd)]})),'metadata':{},'type':_0x313e0b[_0x4ade5f(0x3cd)]}]};}};Ct=zn([ri(0x0,_0x39a463(_0x5b80dc)),ri(0x1,_0x39a463(_0x2e0fa2))],Ct);var Xn=Object[_0x16f01c(0x11f)],Zn=(_0x766a13,_0x3155f8,_0x2cac70,_0x2a168a)=>{var _0x4c8512=_0x16f01c;for(var _0xb8a91c=_0x2a168a>0x1?void 0x0:_0x2a168a?Xn(_0x3155f8,_0x2cac70):_0x3155f8,_0x3face8=_0x766a13[_0x4c8512(0x389)]-0x1,_0x104bb8;_0x3face8>=0x0;_0x3face8--)(_0x104bb8=_0x766a13[_0x3face8])&&(_0xb8a91c=_0x104bb8(_0xb8a91c)||_0xb8a91c);return _0xb8a91c;},Ue=(_0x244f49,_0x49804a)=>(_0x5b4064,_0x32fcab)=>_0x49804a(_0x5b4064,_0x32fcab,_0x244f49);function _0x2af7(_0x12e279,_0x20954e){var _0xe9bba8=_0xe9bb();return _0x2af7=function(_0x2af7f8,_0xd1e709){_0x2af7f8=_0x2af7f8-0x100;var _0x3d68d0=_0xe9bba8[_0x2af7f8];return _0x3d68d0;},_0x2af7(_0x12e279,_0x20954e);}let ot=class extends _0x28ec07{constructor(_0x312899,_0x286b68,_0x591827,_0x2c9d23,_0x4cd12e){var _0x30ab24=_0x16f01c;super(),this[_0x30ab24(0x314)]=_0x312899,this[_0x30ab24(0x373)]=_0x286b68,this[_0x30ab24(0x3eb)]=_0x591827,this[_0x30ab24(0x106)]=_0x2c9d23,this[_0x30ab24(0x238)]=_0x4cd12e,this['_initUnitPermissionChange'](),this['_initCloseConn']();}['_initCloseConn'](){var _0x22e112=_0x16f01c;const _0x36fbd4=async _0x4dbf71=>{var _0x56e712=_0x2af7;(await this[_0x56e712(0x106)]['requireSession'](_0x4dbf71))['event$'][_0x56e712(0x36e)](_0xabf85c(_0x2e8ccc=>_0x2e8ccc[_0x56e712(0x141)]===_0x5d931e[_0x56e712(0x27d)]),_0x56b980(this['dispose$']))[_0x56e712(0x33f)](_0x37d98c=>{var _0x29ae1e=_0x56e712;const _0x4f2425=_0x37d98c,{reason:_0x31f5d7}=_0x4f2425[_0x29ae1e(0x3fc)];this[_0x29ae1e(0x238)]['emitEvent']({'id':re['CLOSE_ROOM'],'data':_0x31f5d7}),this['_permissionService']['updatePermissionPoint'](new _0x2f7775(_0x4dbf71)['id'],!0x1),this[_0x29ae1e(0x106)]['closeSession'](_0x4dbf71);});};_0x596e66(this[_0x22e112(0x373)][_0x22e112(0x11c)](_0x36f965[_0x22e112(0x10e)]),this[_0x22e112(0x373)]['getTypeOfUnitAdded$'](_0x36f965[_0x22e112(0x3b4)]))[_0x22e112(0x36e)](_0x971c50(_0x228fa4=>_0x228fa4['getUnitId']()),_0xabf85c(_0x7520e3=>!_0x3fe92c(_0x7520e3)),_0x56b980(this[_0x22e112(0x19b)]))['subscribe'](_0x350a59=>{_0x36fbd4(_0x350a59);});}['_initUnitPermissionChange'](){var _0x3e1c74=_0x16f01c;const _0x46bbe3=async _0x836ace=>{var _0x26d657=_0x2af7;const _0x54bc98=await this[_0x26d657(0x106)][_0x26d657(0x10f)](_0x836ace),_0x58e809=this[_0x26d657(0x314)]['get'](_0x557bbb);_0x54bc98['event$'][_0x26d657(0x36e)](_0xabf85c(_0x2fc04d=>_0x2fc04d[_0x26d657(0x141)]===_0x5d931e[_0x26d657(0x387)]),_0x56b980(this[_0x26d657(0x19b)]))[_0x26d657(0x33f)](_0x1b48af=>{var _0x20a532=_0x26d657;const _0x4ec546=_0x1b48af,{objectId:_0xdda662}=_0x4ec546[_0x20a532(0x3fc)];_0xdda662===_0x836ace?_0x58e809[_0x20a532(0x327)](_0x836ace):_0x58e809[_0x20a532(0x152)](_0x836ace,_0xdda662);});};_0x596e66(this[_0x3e1c74(0x373)]['getTypeOfUnitAdded$'](_0x36f965['UNIVER_SHEET']))['pipe'](_0x971c50(_0x3338eb=>_0x3338eb[_0x3e1c74(0x3f7)]()),_0xabf85c(_0x2029be=>!_0x3fe92c(_0x2029be)),_0x56b980(this[_0x3e1c74(0x19b)]))['subscribe'](_0x20add6=>{_0x46bbe3(_0x20add6);});}};ot=Zn([Ue(0x0,_0x39a463(_0x487d01)),Ue(0x1,_0x2fe86b),Ue(0x2,_0x2aca0e),Ue(0x3,_0x39a463(we)),Ue(0x4,_0x39a463(ve))],ot);var Qn=Object[_0x16f01c(0x11f)],er=(_0x8cd66,_0x453a7c,_0x28090f,_0x4395d9)=>{var _0x5a3746=_0x16f01c;for(var _0x1e364c=_0x4395d9>0x1?void 0x0:_0x4395d9?Qn(_0x453a7c,_0x28090f):_0x453a7c,_0x4f250c=_0x8cd66[_0x5a3746(0x389)]-0x1,_0x570267;_0x4f250c>=0x0;_0x4f250c--)(_0x570267=_0x8cd66[_0x4f250c])&&(_0x1e364c=_0x570267(_0x1e364c)||_0x1e364c);return _0x1e364c;},ai=(_0x19aead,_0x4eef49)=>(_0xcf0f80,_0x456cdd)=>_0x4eef49(_0xcf0f80,_0x456cdd,_0x19aead);let Nt=class{constructor(_0x27cd5b,_0x207c41){var _0x466bdb=_0x16f01c;this[_0x466bdb(0x1ce)]=_0x27cd5b,this[_0x466bdb(0x361)]=_0x207c41;}async[_0x16f01c(0x353)](_0x3295eb,_0x357075){var _0x112150=_0x16f01c,_0x443075;const {unitID:_0x4aa49b,type:_0x874de4,revision:_0x4e8e7e=0x0}=_0x357075,_0xb34746=this[_0x112150(0x3f6)]()+'/'+_0x874de4+'/unit/'+_0x4aa49b+_0x112150(0x1d8)+_0x4e8e7e,_0xc8f944=(await this[_0x112150(0x361)]['get'](_0xb34746))[_0x112150(0x35b)],_0x59e2ac=(_0x443075=_0xc8f944[_0x112150(0x326)])==null?void 0x0:_0x443075[_0x112150(0x34a)];if(_0x59e2ac){const _0x388e89=_0x59e2ac==null?void 0x0:_0x59e2ac['originalMeta'],_0x466984=_0x75428d[_0x112150(0x329)](_0x5c183f(_0x388e89));_0x59e2ac[_0x112150(0x13b)]=_0x466984,Object[_0x112150(0x1da)](_0x59e2ac[_0x112150(0x14f)])[_0x112150(0x17f)](([,_0x4252a2])=>{var _0xa61188=_0x112150;const _0x37e952=_0x4252a2[_0xa61188(0x13b)],_0x30d294=_0x75428d['encode'](_0x5c183f(_0x37e952));_0x4252a2[_0xa61188(0x13b)]=_0x30d294;});}return _0xc8f944;}async['getSheetBlock'](_0x2a17d6,_0x12f58a){var _0x22cba9=_0x16f01c;const {unitID:_0x13d361,type:_0x50e54d,blockID:_0x144d01}=_0x12f58a,_0x10f8c0=this[_0x22cba9(0x2f3)]()+'/'+_0x50e54d+_0x22cba9(0x2b3)+_0x13d361+_0x22cba9(0x27a)+_0x144d01;return(await this[_0x22cba9(0x361)][_0x22cba9(0x235)](_0x10f8c0))[_0x22cba9(0x35b)];}async['getDeserializedSheetBlock'](_0x2667e7,_0x24a26a){var _0x6da799=_0x16f01c;const {unitID:_0x26a5e8,type:_0x848ace,blockID:_0x223c78}=_0x24a26a,_0x214a6a=this['_getAPIPrefix']()+_0x6da799(0x27a)+_0x848ace+_0x6da799(0x2b3)+_0x26a5e8+_0x6da799(0x27a)+_0x223c78;return(await this[_0x6da799(0x361)][_0x6da799(0x235)](_0x214a6a))[_0x6da799(0x35b)];}async['fetchMissingChangesets'](_0x2bc877,_0xeb96af){var _0x2b4994=_0x16f01c;const {unitID:_0xd64daf,type:_0x31d37e,from:_0x436317,to:_0x44e476}=_0xeb96af,_0x123217=this[_0x2b4994(0x2f3)]()+'/'+_0x31d37e+'/unit/'+_0xd64daf+_0x2b4994(0x3ce)+_0x436317+_0x2b4994(0x337)+_0x44e476;return(await this[_0x2b4994(0x361)][_0x2b4994(0x235)](_0x123217))[_0x2b4994(0x35b)];}[_0x16f01c(0x3f6)](){var _0x427571=_0x16f01c,_0x21cd91;return(_0x21cd91=this[_0x427571(0x1ce)][_0x427571(0x27b)](vs))!=null?_0x21cd91:this[_0x427571(0x2f3)]();}['_getAPIPrefix'](){var _0x473f89=_0x16f01c,_0x55a131;const _0x3a4f06=this[_0x473f89(0x1ce)][_0x473f89(0x27b)](K);return(_0x55a131=_0x3a4f06==null?void 0x0:_0x3a4f06['snapshotServerUrl'])!=null?_0x55a131:fs;}async[_0x16f01c(0x3e6)](_0x4798a6,_0x4a6cc3){var _0x2705a6=_0x16f01c;const _0x3a1c7f=_0x2705a6(0x1c4)+_0x4a6cc3[_0x2705a6(0x2f8)]+_0x2705a6(0x2b3)+_0x4a6cc3[_0x2705a6(0x30d)]+'/resources';return(await this[_0x2705a6(0x361)][_0x2705a6(0x235)](_0x3a1c7f,{'params':{'resourceId':JSON['stringify'](_0x4a6cc3[_0x2705a6(0x2af)])}}))[_0x2705a6(0x35b)];}[_0x16f01c(0x2bd)](){var _0x3b75dc=_0x16f01c;throw new Error(_0x3b75dc(0x15f));}['updateSnapshot'](){var _0x367645=_0x16f01c;throw new Error(_0x367645(0x15f));}[_0x16f01c(0x25b)](){var _0x3a3de2=_0x16f01c;throw new Error(_0x3a3de2(0x15f));}[_0x16f01c(0x3c2)](){var _0x5b7446=_0x16f01c;throw new Error(_0x5b7446(0x15f));}[_0x16f01c(0x19f)](){var _0x3d06d4=_0x16f01c;throw new Error(_0x3d06d4(0x15f));}['getLatestCsReqIdBySid'](){var _0x436988=_0x16f01c;throw new Error(_0x436988(0x15f));}};Nt=er([ai(0x0,_0x5b80dc),ai(0x1,_0x39a463(_0x2e0fa2))],Nt);var tr=Object[_0x16f01c(0x11f)],ir=(_0x49d2e7,_0x3cf028,_0x330657,_0x16d54e)=>{var _0x31b87e=_0x16f01c;for(var _0x1a5b00=_0x16d54e>0x1?void 0x0:_0x16d54e?tr(_0x3cf028,_0x330657):_0x3cf028,_0x33dafa=_0x49d2e7[_0x31b87e(0x389)]-0x1,_0x10bc4f;_0x33dafa>=0x0;_0x33dafa--)(_0x10bc4f=_0x49d2e7[_0x33dafa])&&(_0x1a5b00=_0x10bc4f(_0x1a5b00)||_0x1a5b00);return _0x1a5b00;},Ae=(_0x34e16f,_0x2b3d39)=>(_0x3929b2,_0x18158b)=>_0x2b3d39(_0x3929b2,_0x18158b,_0x34e16f);let bt=class extends _0x562171{constructor(_0x553a62,_0x578b6e,_0x2266f0,_0x14d00e,_0x579553){var _0x599e0b=_0x16f01c;super(_0x553a62,_0x578b6e,_0x2266f0),this[_0x599e0b(0x167)]=_0x14d00e,this[_0x599e0b(0x36c)]=_0x579553;}['transformUndoRedo'](_0x3ad42e,_0x551373){var _0x3f13ae=_0x16f01c;const _0x56c252=this['_getUndoStack'](_0x3ad42e);if(_0x56c252)try{const _0x268475=this[_0x3f13ae(0x1f4)](_0x56c252,_0x551373);this['_substituteUndoStack'](_0x3ad42e,_0x268475);}catch(_0x3b5db6){this[_0x3f13ae(0x36c)][_0x3f13ae(0x390)](_0x3f13ae(0x412),_0x3b5db6),this[_0x3f13ae(0x10d)](_0x3ad42e);}const _0x3f66f3=this[_0x3f13ae(0x1fc)](_0x3ad42e);if(_0x3f66f3)try{const _0x410215=this['_transformStack'](_0x3f66f3,_0x551373);this['_substituteRedoStack'](_0x3ad42e,_0x410215);}catch(_0x375456){this['_logService']['error'](_0x375456),this['_clearRedo'](_0x3ad42e);}}['_clearUndo'](_0xa4398e){var _0x3ef85c=_0x16f01c;const _0x5d94a3=this['_getUndoStack'](_0xa4398e);_0x5d94a3&&(_0x5d94a3[_0x3ef85c(0x389)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x25c160){var _0x5d3680=_0x16f01c;const _0x387228=this['_getRedoStack'](_0x25c160);_0x387228&&(_0x387228['length']=0x0,this[_0x5d3680(0x3c5)]());}['_substituteUndoStack'](_0x2df244,_0x84404f){var _0x23e7f3=_0x16f01c;this[_0x23e7f3(0x128)][_0x23e7f3(0x139)](_0x2df244,_0x84404f),this['_updateStatus']();}['_substituteRedoStack'](_0x5e4ebe,_0x528d57){var _0x59ee92=_0x16f01c;this[_0x59ee92(0x3d8)][_0x59ee92(0x139)](_0x5e4ebe,_0x528d57),this['_updateStatus']();}[_0x16f01c(0x1f4)](_0x430aeb,_0x36a041){var _0x7fd4ba=_0x16f01c;const _0x4e9ee8=[];let _0x40d5a2=_0x36a041,_0x493ca8=_0x36a041;for(let _0x257cda=_0x430aeb[_0x7fd4ba(0x389)]-0x1;_0x257cda>=0x0;_0x257cda--){const {unitID:_0x3dee7b,undoMutations:_0x23fd29,redoMutations:_0x531890}=_0x430aeb[_0x257cda],_0x309d08=this[_0x7fd4ba(0x167)][_0x7fd4ba(0x2e1)](_0x40d5a2,_0x23fd29),_0x253711=this[_0x7fd4ba(0x167)][_0x7fd4ba(0x2e1)](_0x493ca8,_0x531890);if(_0x222ad6(_0x309d08)||_0x222ad6(_0x253711)){this[_0x7fd4ba(0x36c)][_0x7fd4ba(0x390)](_0x7fd4ba(0x412),_0x7fd4ba(0x376),_0x309d08,_0x253711);break;}_0x40d5a2=_0x309d08[_0x7fd4ba(0x3c6)],_0x493ca8=_0x253711[_0x7fd4ba(0x3c6)],_0x4e9ee8['push']({'unitID':_0x3dee7b,'undoMutations':_0x309d08['m2Prime'],'redoMutations':_0x253711['m2Prime']});}return _0x4e9ee8[_0x7fd4ba(0x225)]();}};bt=ir([Ae(0x0,_0x2fe86b),Ae(0x1,_0x14b5ce),Ae(0x2,_0x1849e0),Ae(0x3,_0x24d75d),Ae(0x4,_0x46c731)],bt);var sr=Object[_0x16f01c(0x2b9)],nr=Object[_0x16f01c(0x11f)],rr=(_0x5045da,_0x557939,_0x21c711)=>_0x557939 in _0x5045da?sr(_0x5045da,_0x557939,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21c711}):_0x5045da[_0x557939]=_0x21c711,ar=(_0x43efde,_0x3f8faa,_0x3c0e6f,_0x2ea874)=>{var _0x2f3375=_0x16f01c;for(var _0x397a60=_0x2ea874>0x1?void 0x0:_0x2ea874?nr(_0x3f8faa,_0x3c0e6f):_0x3f8faa,_0x380b98=_0x43efde[_0x2f3375(0x389)]-0x1,_0x52115f;_0x380b98>=0x0;_0x380b98--)(_0x52115f=_0x43efde[_0x380b98])&&(_0x397a60=_0x52115f(_0x397a60)||_0x397a60);return _0x397a60;},Et=(_0x417a95,_0xee9157)=>(_0x1b13ae,_0x411cba)=>_0xee9157(_0x1b13ae,_0x411cba,_0x417a95),or=(_0x5306e2,_0x598cf5,_0x22d22b)=>rr(_0x5306e2,_0x598cf5+'',_0x22d22b);const cr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Dt=class extends _0xc16ecc{constructor(_0x2a4f43,_0xcc908c,_0x2a47fc,_0x4c5446){var _0x2bcbb9=_0x16f01c;super(),D(this,_0x2bcbb9(0x27c)),(this[_0x2bcbb9(0x36c)]=_0xcc908c,this[_0x2bcbb9(0x314)]=_0x2a47fc,this[_0x2bcbb9(0x1ce)]=_0x4c5446);const {..._0x2b98c7}=_0x5e6178({},Ls,_0x2a4f43);if(!_0x2b98c7['socketService'])throw new Error(_0x2bcbb9(0x243));this['_config']=_0x2b98c7,this[_0x2bcbb9(0x1ce)][_0x2bcbb9(0x292)](K,_0x2b98c7);}[_0x16f01c(0x1cf)](){var _0x116c6d=_0x16f01c;this['_registerDependencies'](),this[_0x116c6d(0x3dd)]();}[_0x16f01c(0x3a4)](){var _0x397ecb=_0x16f01c,_0x50a6c5,_0x19ec11;this[_0x397ecb(0x314)]['has'](_0x26b5a7)&&this[_0x397ecb(0x36c)][_0x397ecb(0x390)]('[UniverCollaborationClientPlugin]',_0x397ecb(0x2ec));const _0x45052f=_0x23ae68([[_0x26b5a7,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this['_config'][_0x397ecb(0x2ba)]}],[_0x3bb936,{'useClass':Nt}],[_0x3d5b78,{'useClass':Tt}],[_0x378e02,{'useClass':Rt}],[_0x2dca66,{'useClass':Ct}],[nt],[gt]],(_0x50a6c5=this[_0x397ecb(0x27c)])==null?void 0x0:_0x50a6c5[_0x397ecb(0x34b)]);if(!((_0x19ec11=this[_0x397ecb(0x27c)])!=null&&_0x19ec11['enableSingleActiveInstanceLock'])){const _0x359a02=_0x45052f[_0x397ecb(0x3b5)](([_0x455633])=>_0x455633===_t);_0x359a02!==-0x1&&_0x45052f[_0x397ecb(0x219)](_0x359a02,0x1);}_0x2103e8(this[_0x397ecb(0x314)],_0x45052f);}['_initDependencies'](){var _0x244889=_0x16f01c,_0x5db312,_0x524c16,_0x12fa0f;this[_0x244889(0x314)][_0x244889(0x235)](_0x2e0fa2)[_0x244889(0x379)]({'priority':0x14,'interceptor':_0x446aab({'maxParallel':0x6})}),(_0x5db312=this[_0x244889(0x27c)])!=null&&_0x5db312[_0x244889(0x402)]||(_0x524c16=this['_injector'][_0x244889(0x235)](J,_0x2117f7[_0x244889(0x14a)]))==null||_0x524c16[_0x244889(0x104)](),(_0x12fa0f=this[_0x244889(0x27c)])!=null&&_0x12fa0f[_0x244889(0x31a)]&&_0x42c8a7(this[_0x244889(0x314)],[[rt]]),_0x42c8a7(this[_0x244889(0x314)],[[at],[nt],[ot]]);}};or(Dt,_0x16f01c(0x296),cr),Dt=ar([_0xc9b64b(_0x52e080,_0x4b4a84),Et(0x1,_0x46c731),Et(0x2,_0x39a463(_0x487d01)),Et(0x3,_0x5b80dc)],Dt);export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|
|
1
|
+
var _0x368389=_0x4f24;(function(_0x4ea2ca,_0x5abd03){var _0x47abaf=_0x4f24,_0x203c87=_0x4ea2ca();while(!![]){try{var _0x20a1fd=parseInt(_0x47abaf(0x2e6))/0x1*(parseInt(_0x47abaf(0x381))/0x2)+-parseInt(_0x47abaf(0x21f))/0x3*(-parseInt(_0x47abaf(0x9e))/0x4)+parseInt(_0x47abaf(0x38c))/0x5*(parseInt(_0x47abaf(0x190))/0x6)+parseInt(_0x47abaf(0x10d))/0x7+parseInt(_0x47abaf(0x32b))/0x8+-parseInt(_0x47abaf(0x23d))/0x9+-parseInt(_0x47abaf(0xc7))/0xa*(parseInt(_0x47abaf(0x1a1))/0xb);if(_0x20a1fd===_0x5abd03)break;else _0x203c87['push'](_0x203c87['shift']());}catch(_0x3d716a){_0x203c87['push'](_0x203c87['shift']());}}}(_0x111c,0x1a728));var bi=Object[_0x368389(0x33b)],Di=(_0x12ab9d,_0x270306,_0x3e18df)=>_0x270306 in _0x12ab9d?bi(_0x12ab9d,_0x270306,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3e18df}):_0x12ab9d[_0x270306]=_0x3e18df,D=(_0x3acd42,_0x4b8f62,_0x17bb76)=>Di(_0x3acd42,typeof _0x4b8f62!=_0x368389(0x217)?_0x4b8f62+'':_0x4b8f62,_0x17bb76);import{CollaborationEvent as _0x19843e,ITransformService as _0x1a3cad,isTransformMutationsWithChangesetSuccess as _0x3810cf,mapDocumentTypeToUniverType as _0x12e6b9,RevisionService as _0x5d15d6,isTransformChangesetsSuccess as _0x507863,EmptyMutationInfo as _0x3e2d35,CompressMutationService as _0x367c0f,parseProtocolChangeset as _0x352403,uuidv4 as _0x41b51c,ISnapshotServerService as _0x2a795b,parseChangesetToProtocol as _0x739362,SnapshotService as _0x1ade95,textEncoder as _0x24eebc,b64DecodeUnicode as _0x5d1ad2,isTransformMutationsWithChangesetFailure as _0x552004,UniverCollaborationPlugin as _0x68aeb2}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x558d3e,Inject as _0x3ce8f0,UserManagerService as _0x1315c0,Disposable as _0x1b9234,UniverInstanceType as _0x16572b,ILogService as _0x21f6c3,IConfigService as _0x3c30e0,Optional as _0x5c10ac,RxDisposable as _0x4eb61d,createIdentifier as _0xb11ef5,Injector as _0x277f78,Tools as _0x15f9b5,Rectangle as _0x33de4c,ICommandService as _0xcdf754,JSONX as _0x577726,IUndoRedoService as _0x32ded1,IPermissionService as _0x301d19,LocaleService as _0x3ebb61,sequenceExecute as _0x13344a,toDisposable as _0x58dc5a,CommandType as _0x5181b7,DisposableCollection as _0x488b39,Workbook as _0x40ade1,generateRandomId as _0x87143,MentionType as _0x1511b4,isInternalEditorID as _0x42bc4b,LocalUndoRedoService as _0x1d0657,IContextService as _0x5a3e4b,DependentOn as _0x24b67e,Plugin as _0x2f1d50,merge as _0x1a1e7e,mergeOverrideWithDependencies as _0x1cd7a9,IAuthzIoService as _0x5dc2a1,IMentionIOService as _0x5bb5bb,registerDependencies as _0x3d202f,Quantity as _0x167b6f,touchDependencies as _0x4de415}from'@univerjs/core';import{RichTextEditingMutation as _0x62620b}from'@univerjs/docs';import{SheetsSelectionsService as _0x555de9,SetSelectionsOperation as _0x4d8a1e,InsertSheetMutation as _0x20bdb2,WorkbookEditablePermission as _0x25ba97,SheetPermissionInitController as _0x50c58a}from'@univerjs/sheets';import{Subject as _0x7c3fbd,merge as _0x1ca221,of as _0x1da45a,BehaviorSubject as _0x1593ab,takeUntil as _0x204187,ReplaySubject as _0x531cf8,take as _0x4ebc57,map as _0x418f83,shareReplay as _0xc52802,firstValueFrom as _0x449e39,concatMap as _0xc62b48}from'rxjs';import{ITelemetryService as _0x44b81a}from'@univerjs/telemetry';import{map as _0x1b47e7,take as _0x1d30d3,filter as _0x21e8b1,delay as _0x59b9d5,takeUntil as _0x3edeee}from'rxjs/operators';import{HTTPService as _0x5dc9e9,ISocketService as _0x4c7d58,MergeInterceptorFactory as _0x42bfc0,HTTPRequest as _0x29f0e3,UniverNetworkPlugin as _0x1350ad,ThresholdInterceptorFactory as _0x12399c}from'@univerjs/network';import{ImageSourceType as _0x122f39,ImageUploadStatusType as _0x4f409a,IImageIoService as _0xb996fd}from'@univerjs/drawing';import{getGlobalObject as _0x293dc2}from'@univerjs-pro/license';const fs=_0x368389(0x2d9),vs=_0x368389(0x11e),ps=0x7d0,Es=_0x368389(0x297),Sr='/universer-api/user/session-ticket',ms=_0x368389(0x32e),Is=0x7530,di=_0x368389(0x193),fi=0x4e20,Ss=0x4e20,gs='RETRY_CONNECTING_MAX_COUNT',Ts=0x3,gr=_0x368389(0x184),Tr=0x3e8,Os='/universer-api/comb',Rs=_0x368389(0x2dd),Or=_0x368389(0x1e5),Rr='/universer-api/uniscript';var vi=(_0x4ec84e=>(_0x4ec84e[_0x4ec84e[_0x368389(0x363)]=0x0]=_0x368389(0x363),_0x4ec84e[_0x4ec84e['OK']=0x1]='OK',_0x4ec84e[_0x4ec84e[_0x368389(0x333)]=0x2]='INTERNAL_ERROR',_0x4ec84e[_0x4ec84e[_0x368389(0x213)]=0x3]='PERMISSION_DENIED',_0x4ec84e[_0x4ec84e[_0x368389(0x1b2)]=0x4]=_0x368389(0x1b2),_0x4ec84e[_0x4ec84e['UNAUTHENTICATED']=0x5]=_0x368389(0x28b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c4)]=0x6]=_0x368389(0x1c4),_0x4ec84e[_0x4ec84e['INVALID_ARGUMENT']=0x7]=_0x368389(0x1ef),_0x4ec84e[_0x4ec84e['TOO_MANY_REQUESTS']=0x8]=_0x368389(0x330),_0x4ec84e[_0x4ec84e[_0x368389(0x39b)]=0x9]='COMPLETION_FINISHED',_0x4ec84e[_0x4ec84e['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x4ec84e[_0x4ec84e[_0x368389(0x1e3)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4ec84e[_0x4ec84e[_0x368389(0x119)]=0xc]=_0x368389(0x119),_0x4ec84e[_0x4ec84e[_0x368389(0x372)]=0xd]=_0x368389(0x372),_0x4ec84e[_0x4ec84e[_0x368389(0x1a2)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4ec84e[_0x4ec84e[_0x368389(0x391)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x4ec84e[_0x4ec84e[_0x368389(0x1ec)]=0x10]=_0x368389(0x1ec),_0x4ec84e[_0x4ec84e[_0x368389(0x33d)]=0x64]=_0x368389(0x33d),_0x4ec84e[_0x4ec84e[_0x368389(0x2a7)]=0x65]=_0x368389(0x2a7),_0x4ec84e[_0x4ec84e[_0x368389(0x2a9)]=0xc9]=_0x368389(0x2a9),_0x4ec84e[_0x4ec84e[_0x368389(0xff)]=0xca]='USER_IS_ANONYMOUS',_0x4ec84e[_0x4ec84e[_0x368389(0x17b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4ec84e[_0x4ec84e[_0x368389(0x25b)]=0x1771]=_0x368389(0x25b),_0x4ec84e[_0x4ec84e[_0x368389(0x1c0)]=0x1772]=_0x368389(0x1c0),_0x4ec84e[_0x4ec84e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x368389(0x240),_0x4ec84e[_0x4ec84e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x4ec84e[_0x4ec84e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4ec84e[_0x4ec84e[_0x368389(0x1b6)]=0x1b5b]=_0x368389(0x1b6),_0x4ec84e[_0x4ec84e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x368389(0xb3),_0x4ec84e[_0x4ec84e['APPLY_DUPLICATED']=0x1b5d]=_0x368389(0x346),_0x4ec84e[_0x4ec84e[_0x368389(0x231)]=0x1f41]=_0x368389(0x231),_0x4ec84e[_0x4ec84e[_0x368389(0x241)]=0x2329]=_0x368389(0x241),_0x4ec84e[_0x4ec84e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x368389(0x111),_0x4ec84e[_0x4ec84e[_0x368389(0x99)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4ec84e[_0x4ec84e[_0x368389(0xfd)]=0x232c]=_0x368389(0xfd),_0x4ec84e[_0x4ec84e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x368389(0x15c),_0x4ec84e[_0x4ec84e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x368389(0x290),_0x4ec84e[_0x4ec84e[_0x368389(0x21b)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4ec84e[_0x4ec84e[_0x368389(0x222)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4ec84e[_0x4ec84e[_0x368389(0x206)]=0x2714]=_0x368389(0x206),_0x4ec84e[_0x4ec84e[_0x368389(0x376)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4ec84e[_0x4ec84e[_0x368389(0x34f)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4ec84e[_0x4ec84e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x368389(0x123),_0x4ec84e[_0x4ec84e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x368389(0x2ea),_0x4ec84e[_0x4ec84e[_0x368389(0x1ee)]=0x271e]=_0x368389(0x1ee),_0x4ec84e[_0x4ec84e[_0x368389(0x220)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4ec84e[_0x4ec84e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x368389(0x36f),_0x4ec84e[_0x4ec84e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x368389(0x253),_0x4ec84e[_0x4ec84e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x368389(0x25a),_0x4ec84e[_0x4ec84e['INVALID_INVITE_CODE']=0x2ee2]=_0x368389(0x30d),_0x4ec84e[_0x4ec84e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x4ec84e[_0x4ec84e['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4ec84e[_0x4ec84e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x324)]=0x32c9]=_0x368389(0x324),_0x4ec84e[_0x4ec84e[_0x368389(0x1d1)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4ec84e[_0x4ec84e[_0x368389(0x318)]=0x32cb]=_0x368389(0x318),_0x4ec84e[_0x4ec84e[_0x368389(0x2a0)]=0x36b1]=_0x368389(0x2a0),_0x4ec84e[_0x4ec84e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x368389(0x2b5),_0x4ec84e[_0x4ec84e[_0x368389(0x378)]=0x36b3]=_0x368389(0x378),_0x4ec84e[_0x4ec84e['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x368389(0xce),_0x4ec84e[_0x4ec84e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x368389(0x97),_0x4ec84e[_0x4ec84e[_0x368389(0x2e2)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x1aa)]=0x3717]=_0x368389(0x1aa),_0x4ec84e[_0x4ec84e['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x368389(0x17c),_0x4ec84e[_0x4ec84e[_0x368389(0x17d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4ec84e[_0x4ec84e[_0x368389(0x165)]=0x3a9a]=_0x368389(0x165),_0x4ec84e[_0x4ec84e[_0x368389(0x331)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4ec84e[_0x4ec84e[_0x368389(0x18a)]=0x3a9c]=_0x368389(0x18a),_0x4ec84e[_0x4ec84e[_0x368389(0x21a)]=0x3a9d]=_0x368389(0x21a),_0x4ec84e[_0x4ec84e[_0x368389(0x2e7)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4ec84e[_0x4ec84e[_0x368389(0x145)]=0x3a9f]=_0x368389(0x145),_0x4ec84e[_0x4ec84e['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x368389(0xcd),_0x4ec84e[_0x4ec84e['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x4ec84e))(vi||{}),Q=(_0x8df6d0=>(_0x8df6d0[_0x8df6d0['UNIVER_UNKNOWN']=0x0]=_0x368389(0x31a),_0x8df6d0[_0x8df6d0[_0x368389(0x36a)]=0x1]=_0x368389(0x36a),_0x8df6d0[_0x8df6d0['UNIVER_SHEET']=0x2]=_0x368389(0x305),_0x8df6d0[_0x8df6d0[_0x368389(0x23e)]=0x3]='UNIVER_SLIDE',_0x8df6d0[_0x8df6d0[_0x368389(0x22a)]=0x4]=_0x368389(0x22a),_0x8df6d0[_0x8df6d0[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x8df6d0))(Q||{}),j=(_0x31f4c2=>(_0x31f4c2[_0x31f4c2[_0x368389(0x2b6)]=0x0]=_0x368389(0x2b6),_0x31f4c2[_0x31f4c2[_0x368389(0x1cb)]=0x1]=_0x368389(0x1cb),_0x31f4c2[_0x31f4c2[_0x368389(0x171)]=0x2]=_0x368389(0x171),_0x31f4c2[_0x31f4c2[_0x368389(0x105)]=0x3]=_0x368389(0x105),_0x31f4c2[_0x31f4c2[_0x368389(0x15f)]=0x4]=_0x368389(0x15f),_0x31f4c2[_0x31f4c2[_0x368389(0x2ba)]=0x5]=_0x368389(0x2ba),_0x31f4c2[_0x31f4c2[_0x368389(0x1f8)]=0x6]='RECV',_0x31f4c2[_0x31f4c2[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0x31f4c2))(j||{}),pe=(_0xbc8553=>(_0xbc8553[_0xbc8553[_0x368389(0x133)]=0x0]='UNKNOWN_CODE',_0xbc8553[_0xbc8553['OK']=0x1]='OK',_0xbc8553[_0xbc8553[_0x368389(0x195)]=0x2]=_0x368389(0x195),_0xbc8553[_0xbc8553[_0x368389(0x1ba)]=0x3e9]=_0x368389(0x1ba),_0xbc8553[_0xbc8553[_0x368389(0xfb)]=0x3ea]=_0x368389(0xfb),_0xbc8553[_0xbc8553[_0x368389(0x22b)]=0x3eb]=_0x368389(0x22b),_0xbc8553[_0xbc8553['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x368389(0x31f),_0xbc8553[_0xbc8553[_0x368389(0x365)]=-0x1]=_0x368389(0x365),_0xbc8553))(pe||{}),pi=(_0x3a2651=>(_0x3a2651[_0x3a2651[_0x368389(0x25c)]=0x0]=_0x368389(0x25c),_0x3a2651[_0x3a2651[_0x368389(0xda)]=0x1]=_0x368389(0xda),_0x3a2651[_0x3a2651[_0x368389(0x112)]=0x2]=_0x368389(0x112),_0x3a2651[_0x3a2651['UnitEmbedded']=0x3]=_0x368389(0x15d),_0x3a2651[_0x3a2651[_0x368389(0x29c)]=0x4]=_0x368389(0x29c),_0x3a2651[_0x3a2651['UserProfileImg']=0x5]=_0x368389(0x272),_0x3a2651[_0x3a2651['ClipsheetFragments']=0x6]=_0x368389(0x202),_0x3a2651[_0x3a2651['UNRECOGNIZED']=-0x1]=_0x368389(0x365),_0x3a2651))(pi||{});const Cs=_0x368389(0x379);function Ns(_0x257256){var _0x2183e7=_0x368389;return JSON[_0x2183e7(0x2bd)](_0x257256)[_0x2183e7(0x3b7)];}var re=(_0x20e787=>(_0x20e787[_0x368389(0x1a0)]='OTHER_CLIENT_EDITING',_0x20e787[_0x368389(0x213)]='PERMISSION_DENIED',_0x20e787[_0x368389(0x2ab)]=_0x368389(0x2ab),_0x20e787[_0x368389(0x225)]=_0x368389(0x225),_0x20e787['JOIN_ROOM_FAILED']=_0x368389(0x149),_0x20e787[_0x368389(0x22e)]=_0x368389(0x22e),_0x20e787[_0x368389(0x23f)]=_0x368389(0x23f),_0x20e787[_0x368389(0x3a8)]=_0x368389(0x3a8),_0x20e787))(re||{});class ve{constructor(){var _0x1fbdc9=_0x368389;D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x1fbdc9(0x166)]());}[_0x368389(0x3b6)](_0x4f8ee7){this['_event$']['next'](_0x4f8ee7);}}class Ei{constructor(){var _0xb7528a=_0x368389;D(this,_0xb7528a(0x243),new _0x7c3fbd()),D(this,_0xb7528a(0x259),this[_0xb7528a(0x243)][_0xb7528a(0x166)]());}[_0x368389(0x1ca)](_0x2ed2b7){var _0x1fcb10=_0x368389;this[_0x1fcb10(0x243)][_0x1fcb10(0x29b)](_0x2ed2b7);}}var bs=Object[_0x368389(0x284)],Ds=(_0x440010,_0xec7958,_0x4b43ed,_0x465c8d)=>{var _0x261de5=_0x368389;for(var _0x510f6e=_0x465c8d>0x1?void 0x0:_0x465c8d?bs(_0xec7958,_0x4b43ed):_0xec7958,_0x4e2bf8=_0x440010[_0x261de5(0x3b7)]-0x1,_0x41e3c3;_0x4e2bf8>=0x0;_0x4e2bf8--)(_0x41e3c3=_0x440010[_0x4e2bf8])&&(_0x510f6e=_0x41e3c3(_0x510f6e)||_0x510f6e);return _0x510f6e;},Ft=(_0x4231c2,_0x3910bc)=>(_0x52899b,_0x5c319a)=>_0x3910bc(_0x52899b,_0x5c319a,_0x4231c2);let Pe=class extends _0x1b9234{constructor(_0x1b60a0,_0x381fa9){var _0x407cd3=_0x368389;super(),D(this,_0x407cd3(0x1a6),new Map()),D(this,_0x407cd3(0x158),new _0x7c3fbd()),(this[_0x407cd3(0x14b)]=_0x1b60a0,this[_0x407cd3(0x2dc)]=_0x381fa9,this['disposeWithMe'](_0x1ca221(this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b['UNIVER_SHEET'])['pipe'](_0x1b47e7(_0x3d9078=>_0x3d9078[_0x407cd3(0x22c)]())),this['_univerInstanceService'][_0x407cd3(0xb5)](_0x16572b[_0x407cd3(0x36a)])[_0x407cd3(0x279)](_0x1b47e7(_0x1913cb=>_0x1913cb[_0x407cd3(0x22c)]())),this[_0x407cd3(0x14b)]['getTypeOfUnitDisposed$'](_0x16572b[_0x407cd3(0x23e)])[_0x407cd3(0x279)](_0x1b47e7(_0x1a86e0=>_0x1a86e0[_0x407cd3(0x22c)]())))[_0x407cd3(0x116)](_0xd9499=>this[_0x407cd3(0x2f3)](_0xd9499))));}[_0x368389(0x156)](_0x5de9ad){var _0xe778f4=_0x368389;return this[_0xe778f4(0x1a6)][_0xe778f4(0x274)](_0x5de9ad)?_0x1da45a(this[_0xe778f4(0x1a6)][_0xe778f4(0x187)](_0x5de9ad)):this[_0xe778f4(0x158)]['pipe'](_0x1b47e7(_0x144b36=>{var _0x2e8cf7=_0xe778f4;if(_0x144b36===_0x5de9ad)return this[_0x2e8cf7(0x1a6)][_0x2e8cf7(0x187)](_0x144b36);}));}['setCurrentUser'](_0x44e31a){var _0x39439f=_0x368389;this['_userManagerService'][_0x39439f(0x2da)](_0x44e31a);}[_0x368389(0x230)](){var _0x325b8a=_0x368389;return this[_0x325b8a(0x2dc)][_0x325b8a(0x230)]();}[_0x368389(0x348)](_0xed1ea9,_0x521b8e){var _0x5d5925=_0x368389;let _0x49682a=this[_0x5d5925(0x1a6)][_0x5d5925(0x187)](_0xed1ea9);_0x49682a||(_0x49682a=new ys(),this[_0x5d5925(0x1a6)][_0x5d5925(0x3ac)](_0xed1ea9,_0x49682a),this[_0x5d5925(0x158)][_0x5d5925(0x29b)](_0xed1ea9)),_0x49682a[_0x5d5925(0x348)](_0x521b8e);}[_0x368389(0x3a0)](_0x235ddf,_0x5814d6){var _0x56c6a2=_0x368389;const _0x164197=this[_0x56c6a2(0x1a6)][_0x56c6a2(0x187)](_0x235ddf);_0x164197&&_0x164197[_0x56c6a2(0x3a0)](_0x5814d6);}[_0x368389(0x286)](_0x24d3fa){var _0x35cdbd=_0x368389;return this[_0x35cdbd(0x1a6)][_0x35cdbd(0x187)](_0x24d3fa);}['getMember'](_0x5395bc,_0x2b2cab){var _0xe28708=_0x368389;const _0x4d9349=this['_roomMembers'][_0xe28708(0x187)](_0x5395bc);if(_0x4d9349)return _0x4d9349[_0xe28708(0x16f)](_0x2b2cab);}[_0x368389(0x2f3)](_0x35fca6){var _0x1e0363=_0x368389;const _0x448e7f=this[_0x1e0363(0x1a6)][_0x1e0363(0x187)](_0x35fca6);_0x448e7f&&(_0x448e7f[_0x1e0363(0xc9)](),this[_0x1e0363(0x1a6)][_0x1e0363(0x298)](_0x35fca6));}[_0x368389(0xc9)](){var _0xba3b6a=_0x368389;this[_0xba3b6a(0x1a6)][_0xba3b6a(0x20e)](_0x1a536b=>_0x1a536b[_0xba3b6a(0xc9)]()),this[_0xba3b6a(0x1a6)][_0xba3b6a(0x183)](),this['_roomCreated$'][_0xba3b6a(0x355)]();}};Pe=Ds([Ft(0x0,_0x558d3e),Ft(0x1,_0x3ce8f0(_0x1315c0))],Pe);class ys extends _0x1b9234{constructor(){var _0x21a1b3=_0x368389;super(...arguments),D(this,_0x21a1b3(0x2d6),new Map()),D(this,_0x21a1b3(0xb2),new _0x1593ab(this[_0x21a1b3(0x2d6)])),D(this,'members$',this[_0x21a1b3(0xb2)][_0x21a1b3(0x166)]());}[_0x368389(0xc9)](){var _0x4a533c=_0x368389;this['_members'][_0x4a533c(0x183)]();}['updateMember'](_0xc73e14){var _0x21d34b=_0x368389;this['_members']['set'](_0xc73e14[_0x21d34b(0x2f0)],_0xc73e14),this['_emitMembers']();}[_0x368389(0x3a0)](_0x39df72){var _0x1cf620=_0x368389;this[_0x1cf620(0x2d6)][_0x1cf620(0x298)](_0x39df72);}[_0x368389(0x16f)](_0x1a14a3){var _0x177997=_0x368389;return this[_0x177997(0x2d6)][_0x177997(0x187)](_0x1a14a3);}[_0x368389(0xf9)](){var _0x35c797=_0x368389;return Array[_0x35c797(0x26c)](this[_0x35c797(0x2d6)][_0x35c797(0x38e)]());}['_emitMembers'](){var _0x131fde=_0x368389;this[_0x131fde(0xb2)]['next'](this['_members']);}}var Us=Object[_0x368389(0x284)],As=(_0x64764f,_0x1e433b,_0x773d5b,_0x314f06)=>{var _0x2698a7=_0x368389;for(var _0x8069e3=_0x314f06>0x1?void 0x0:_0x314f06?Us(_0x1e433b,_0x773d5b):_0x1e433b,_0x58b18d=_0x64764f[_0x2698a7(0x3b7)]-0x1,_0x17d31f;_0x58b18d>=0x0;_0x58b18d--)(_0x17d31f=_0x64764f[_0x58b18d])&&(_0x8069e3=_0x17d31f(_0x8069e3)||_0x8069e3);return _0x8069e3;},Oe=(_0xbac8c1,_0x766a14)=>(_0x1bcfef,_0x7ce26c)=>_0x766a14(_0x1bcfef,_0x7ce26c,_0xbac8c1),me=(_0x254823=>(_0x254823[_0x254823[_0x368389(0x2aa)]=0x0]=_0x368389(0x2aa),_0x254823[_0x254823['JOINING']=0x1]=_0x368389(0xb0),_0x254823[_0x254823[_0x368389(0x10a)]=0x2]=_0x368389(0x10a),_0x254823[_0x254823[_0x368389(0x17a)]=0x3]=_0x368389(0x17a),_0x254823))(me||{});const jt={[pe['FAIL']]:_0x368389(0x1b7),[pe[_0x368389(0x1ba)]]:_0x368389(0xf5),[pe[_0x368389(0xfb)]]:_0x368389(0x352),[pe[_0x368389(0x22b)]]:_0x368389(0x292),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x368389(0x35a)};let mt=class extends _0x4eb61d{constructor(_0x57f5cc,_0x570bf2,_0x5eee06,_0x578edc,_0x1d2276,_0x95e21f,_0x19dff8,_0x5094b0){var _0x3b36c7=_0x368389;super(),D(this,_0x3b36c7(0x236),new _0x1593ab(0x0)),D(this,_0x3b36c7(0x350),this[_0x3b36c7(0x236)]['asObservable']()),D(this,'_event$',new _0x7c3fbd()),D(this,'event$',this['_event$'][_0x3b36c7(0x166)]()),D(this,'_socket'),D(this,_0x3b36c7(0x221)),D(this,_0x3b36c7(0xe9)),D(this,'_shouldReportTelemetry',!0x1),D(this,_0x3b36c7(0x20b),null),(this[_0x3b36c7(0x1e9)]=_0x57f5cc,this[_0x3b36c7(0x12b)]=_0x5eee06,this[_0x3b36c7(0xb8)]=_0x578edc,this[_0x3b36c7(0x366)]=_0x1d2276,this['_commentService']=_0x95e21f,this[_0x3b36c7(0x367)]=_0x19dff8,this[_0x3b36c7(0x1cd)]=_0x5094b0,this[_0x3b36c7(0x362)]=!!this[_0x3b36c7(0x1cd)],_0x570bf2[_0x3b36c7(0x279)](_0x204187(this['dispose$']))[_0x3b36c7(0x116)](_0x4208b7=>{var _0x20eec7=_0x3b36c7,_0x14e824;typeof _0x4208b7>'u'||(this['_socket']=_0x4208b7,_0x4208b7?(this[_0x20eec7(0x94)](_0x4208b7),this[_0x20eec7(0x221)]=_0x4208b7[_0x20eec7(0x357)]['subscribe'](_0x576665=>{var _0x1f1fd8=_0x20eec7;_0x576665['routeKey']===this[_0x1f1fd8(0x1e9)]&&this[_0x1f1fd8(0x31b)](_0x576665);})):(this[_0x20eec7(0x316)](),this['_sessionStatus$']['next'](0x2),(_0x14e824=this['_socketMessageSubscription'])==null||_0x14e824[_0x20eec7(0x2a2)](),this[_0x20eec7(0x221)]=null));}));}get[_0x368389(0x2de)](){var _0x2858c0=_0x368389;return this[_0x2858c0(0x236)][_0x2858c0(0x275)]();}[_0x368389(0x370)](){var _0x254933=_0x368389,_0x190733,_0x7707f2;return(_0x7707f2=(_0x190733=this[_0x254933(0x31e)])==null?void 0x0:_0x190733[_0x254933(0x2f0)])!=null?_0x7707f2:null;}[_0x368389(0xc9)](){var _0x4a65e8=_0x368389;super['dispose'](),this[_0x4a65e8(0x29d)][_0x4a65e8(0x29b)](),this[_0x4a65e8(0x29d)]['complete']();}['close'](){var _0x4fe96a=_0x368389,_0x234071,_0xa0d953;this[_0x4fe96a(0x316)](),(_0x234071=this[_0x4fe96a(0x31e)])==null||_0x234071[_0x4fe96a(0x1bb)]({'cmd':j[_0x4fe96a(0x105)],'data':{'roomID':this['_unitID']}}),(_0xa0d953=this[_0x4fe96a(0x31e)])==null||_0xa0d953[_0x4fe96a(0x24b)](),this[_0x4fe96a(0x179)][_0x4fe96a(0x355)](),this[_0x4fe96a(0x236)][_0x4fe96a(0x355)](),this[_0x4fe96a(0xc9)]();}[_0x368389(0x31b)](_0x5a8c6e){var _0x1aca0b=_0x368389;_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x171)]?this['_onJoinRoomEvent'](_0x5a8c6e):_0x5a8c6e[_0x1aca0b(0x14d)]===j[_0x1aca0b(0x1f8)]&&this[_0x1aca0b(0x1a9)](_0x5a8c6e);}[_0x368389(0x94)](_0xcd29fe){var _0x52ba44=_0x368389;this[_0x52ba44(0x236)][_0x52ba44(0x29b)](0x1),_0xcd29fe['send']({'cmd':j[_0x52ba44(0x171)],'routeKey':this[_0x52ba44(0x1e9)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x368389(0x1f6)](_0x3e0caf){var _0x3dc9dc=_0x368389,_0x32c6f6;if(_0x3e0caf[_0x3dc9dc(0xa3)]in jt){this[_0x3dc9dc(0x367)][_0x3dc9dc(0x3b6)]({'id':re[_0x3dc9dc(0x149)],'data':jt[_0x3e0caf[_0x3dc9dc(0xa3)]]}),this[_0x3dc9dc(0x236)]['next'](0x2);return;}this[_0x3dc9dc(0x236)]['next'](0x3);const _0x4c1814=(_0x32c6f6=_0x3e0caf[_0x3dc9dc(0x389)][_0x3dc9dc(0x135)][this['_unitID']])==null?void 0x0:_0x32c6f6['members'];_0x4c1814&&_0x4c1814[_0x3dc9dc(0x20e)](_0x1d2544=>this['_memberService'][_0x3dc9dc(0x348)](this[_0x3dc9dc(0x1e9)],_0x1d2544));}['_onRecvEvent'](_0x487635){var _0x1b0285=_0x368389;try{const _0x467987=_0x487635['data'];switch(_0x467987['eventID']){case _0x19843e[_0x1b0285(0x16e)]:this[_0x1b0285(0x304)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e['USERS_LEAVE']:this[_0x1b0285(0x2ec)](_0x467987),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1fe)]:case _0x19843e[_0x1b0285(0x2bb)]:this[_0x1b0285(0x35b)](),this[_0x1b0285(0x29e)](),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x1b3)]:this[_0x1b0285(0x12b)][_0x1b0285(0x201)](_0x1b0285(0x344)+JSON[_0x1b0285(0x2bd)](_0x467987)),this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);break;case _0x19843e[_0x1b0285(0x16a)]:this[_0x1b0285(0x209)]['onCommentUpdate'](_0x467987[_0x1b0285(0x389)]),this['_event$'][_0x1b0285(0x29b)](_0x467987);break;default:this[_0x1b0285(0x179)][_0x1b0285(0x29b)](_0x467987);}}catch(_0xbe71ca){this['_logService'][_0x1b0285(0x201)](_0xbe71ca,_0x487635);}}[_0x368389(0x304)](_0x246550){var _0x4c2d35=_0x368389;this['_memberService']['updateMember'](this[_0x4c2d35(0x1e9)],_0x246550['data']);}[_0x368389(0x2ec)](_0x4bce85){var _0x19e309=_0x368389;this[_0x19e309(0x366)][_0x19e309(0x3a0)](this[_0x19e309(0x1e9)],_0x4bce85['data'][_0x19e309(0x2f0)]);}async[_0x368389(0x1bb)](_0x389b2e,_0x5954e8){var _0x340dc8=_0x368389;if(this[_0x340dc8(0x2de)]!==0x3||!this[_0x340dc8(0x31e)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x389b2e[_0x340dc8(0x159)]===_0x19843e[_0x340dc8(0x1a8)]&&(this[_0x340dc8(0x266)](),this['_startTelemetryCollaborationNewChangeset'](_0x389b2e)),this[_0x340dc8(0x31e)][_0x340dc8(0x1bb)]({'cmd':j['INGEST'],'routeKey':_0x5954e8,'routeType':'','data':_0x389b2e});}catch(_0x1f247c){this['_logService']['error'](_0x1f247c);}}[_0x368389(0x266)](){var _0x26c3d1=_0x368389,_0x489235;this[_0x26c3d1(0xe9)]=setTimeout(()=>{var _0x2b73e0=_0x26c3d1;this['_collaborationTimeoutTimer']=null,this[_0x2b73e0(0x367)][_0x2b73e0(0x3b6)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x489235=this[_0x26c3d1(0xb8)][_0x26c3d1(0x19b)](di))!=null?_0x489235:fi);}['_clearCollaborationTimeoutTimer'](){var _0x72d15e=_0x368389;this[_0x72d15e(0xe9)]&&(clearTimeout(this[_0x72d15e(0xe9)]),this['_collaborationTimeoutTimer']=null);}[_0x368389(0xc6)](_0x3ba888){var _0x4228ca=_0x368389;if(!this['_shouldReportTelemetry'])return;const {data:_0x34c833}=_0x3ba888,{unitID:_0x9a4447,changeset:_0x81bade}=_0x34c833,{mutations:_0x1f75f2,type:_0x71e5e6}=_0x81bade;this[_0x4228ca(0x20b)]={'unitId':_0x9a4447,'type':_0x71e5e6,'startTime':performance[_0x4228ca(0xd6)](),'stopTime':0x0,'duration':0x0,'size':Ns(_0x1f75f2)};}[_0x368389(0x35b)](){var _0x2575c0=_0x368389;if(this['_shouldReportTelemetry']){if(!this[_0x2575c0(0x20b)]){this[_0x2575c0(0x12b)]['error']('[CollaborationSession]',_0x2575c0(0x2d3));return;}this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]=performance[_0x2575c0(0xd6)](),this[_0x2575c0(0x20b)][_0x2575c0(0x131)]=this[_0x2575c0(0x20b)][_0x2575c0(0xc5)]-this[_0x2575c0(0x20b)]['startTime'],this['_telemetryService'][_0x2575c0(0xe7)](Cs,this[_0x2575c0(0x20b)]),this[_0x2575c0(0x20b)]=null;}}[_0x368389(0x316)](){var _0x5aef6d=_0x368389;this[_0x5aef6d(0x20b)]=null;}};mt=As([Oe(0x2,_0x21f6c3),Oe(0x3,_0x3c30e0),Oe(0x4,_0x3ce8f0(Pe)),Oe(0x5,_0x3ce8f0(Ei)),Oe(0x6,_0x3ce8f0(ve)),Oe(0x7,_0x5c10ac(_0x44b81a))],mt);const J=_0xb11ef5(_0x368389(0x364));function Cr(_0x24c476){var _0x3e5d11=_0x368389;return _0x3e5d11(0xc2)+_0x24c476;}var Ps=Object[_0x368389(0x284)],ws=(_0x4a5bde,_0x24ba66,_0x2fb71c,_0x33000d)=>{for(var _0x5bfd2f=_0x33000d>0x1?void 0x0:_0x33000d?Ps(_0x24ba66,_0x2fb71c):_0x24ba66,_0x2dbe10=_0x4a5bde['length']-0x1,_0x37470a;_0x2dbe10>=0x0;_0x2dbe10--)(_0x37470a=_0x4a5bde[_0x2dbe10])&&(_0x5bfd2f=_0x37470a(_0x5bfd2f)||_0x5bfd2f);return _0x5bfd2f;},ut=(_0x3d6c22,_0x41d7b0)=>(_0x488a6f,_0x3f125b)=>_0x41d7b0(_0x488a6f,_0x3f125b,_0x3d6c22);function Ms(_0x285e62){var _0x3ead8c=_0x368389;const {unitID:_0x4778e6,mutations:_0x998b0c}=_0x285e62;return{'unitId':_0x4778e6,'subUnitId':_0x998b0c[_0x3ead8c(0x3b7)]>0x0?_0x998b0c[0x0][_0x3ead8c(0x180)]['subUnitId']:null};}let it=class{constructor(_0x58d597,_0x26dbe7,_0x3fbbdf){var _0x5d6197=_0x368389;this[_0x5d6197(0x39e)]=_0x58d597,this[_0x5d6197(0x12c)]=_0x26dbe7,this[_0x5d6197(0x20a)]=_0x3fbbdf;}[_0x368389(0x13b)](_0x3506bb){var _0x2a7812=_0x368389,_0x1c8c3b,_0x8cef81,_0x1819d6,_0x90f45f;const _0x458de9=this[_0x2a7812(0x39e)][_0x2a7812(0x187)](_0x555de9),{unitId:_0x2ddc86,subUnitId:_0x109720}=Ms(_0x3506bb),_0x2a34df=_0x458de9==null?void 0x0:_0x458de9[_0x2a7812(0x19f)](_0x2ddc86)[_0x2a7812(0x109)](),_0x34d9f6=(_0x8cef81=(_0x1c8c3b=this['_instanceService'][_0x2a7812(0x26e)](_0x2ddc86))==null?void 0x0:_0x1c8c3b[_0x2a7812(0x349)]())==null?void 0x0:_0x8cef81[_0x2a7812(0x14e)]();if(_0x2a34df['length']===0x0||!_0x2ddc86||!_0x109720)return;const _0x4ee5cb=[{'id':_0x4d8a1e['id'],'params':{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x15f9b5[_0x2a7812(0xf1)](_0x2a34df)}}],_0x3eed5e=this[_0x2a7812(0x12c)][_0x2a7812(0x36e)](_0x3506bb,_0x4ee5cb);if(!_0x3810cf(_0x3eed5e))throw _0x3eed5e[_0x2a7812(0x201)];const _0x4e776c=(_0x90f45f=(_0x1819d6=_0x3eed5e[_0x2a7812(0x155)][0x0])==null?void 0x0:_0x1819d6[_0x2a7812(0x180)])==null?void 0x0:_0x90f45f['selections'];if(Array['isArray'](_0x4e776c)&&_0x4e776c[_0x2a7812(0x3b7)]){if(_0x4e776c['length']===_0x4ee5cb[0x0]['params'][_0x2a7812(0x338)]['length']&&_0x4e776c[_0x2a7812(0x2f6)]((_0x54eb4a,_0x51ae5c)=>_0x33de4c[_0x2a7812(0x1bd)](_0x54eb4a['range'],_0x4ee5cb[0x0][_0x2a7812(0x180)]['selections'][_0x51ae5c]['range'])))return;this['_injector'][_0x2a7812(0x187)](_0xcdf754)[_0x2a7812(0x1d8)](_0x4d8a1e['id'],{'unitId':_0x2ddc86,'subUnitId':_0x34d9f6,'selections':_0x4e776c});}}};it=ws([ut(0x0,_0x3ce8f0(_0x277f78)),ut(0x1,_0x1a3cad),ut(0x2,_0x558d3e)],it);const _t=_0xb11ef5(_0x368389(0x264));var mi=(_0x101f92=>(_0x101f92[_0x101f92[_0x368389(0x2fa)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x101f92[_0x101f92[_0x368389(0x2be)]=0x1]=_0x368389(0x2be),_0x101f92))(mi||{});const K=_0x368389(0xb9),Ls={},xs=new Set([_0x20bdb2['id']]);function Vt(_0x1592f3,_0x7d78a8,_0x5b5210,_0x343664,_0x12bd13){var _0x401818=_0x368389,_0x20eb4f,_0x40a8a0,_0x5dd363,_0x4a7392;const _0x52b76b=[];for(const _0x444cec of _0x1592f3)if(xs[_0x401818(0x274)](_0x444cec['id'])){if(_0x52b76b[_0x401818(0x3b7)]>0x0)break;_0x52b76b[_0x401818(0x291)](_0x444cec);break;}else _0x52b76b[_0x401818(0x291)](_0x444cec);const _0x842fad=(_0x40a8a0=(_0x20eb4f=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x20eb4f['userID'])!=null?_0x40a8a0:_0x401818(0x2f9),_0x41fabc=(_0x4a7392=(_0x5dd363=_0x12bd13[_0x401818(0x230)]())==null?void 0x0:_0x5dd363[_0x401818(0x2f0)])!=null?_0x4a7392:'unknown';return{'changeset':{'unitID':_0x7d78a8,'type':_0x12e6b9(_0x5b5210[_0x401818(0x1b9)](_0x7d78a8)),'baseRev':_0x343664[_0x401818(0x32a)](_0x7d78a8),'revision':0x0,'userID':_0x842fad,'memberID':_0x41fabc,'mutations':_0x52b76b},'pendingMutations':_0x1592f3['slice'](_0x52b76b[_0x401818(0x3b7)])};}function ks(_0x27bb6f,_0x1ad892,_0x2d689c,_0x48f675,_0x35fee3){var _0x310b80=_0x368389,_0x5824b8,_0x311466,_0x5dc37e,_0x19a419;const _0x4cabbd=[_0x27bb6f[_0x310b80(0x194)]((_0x5bb9c3,_0x12a6c7)=>{var _0x2346b8=_0x310b80,_0x4a5298;const {id:_0x5b04a2}=_0x5bb9c3,{id:_0x2a1397,type:_0x3d90b8}=_0x12a6c7,_0x252cb1=(_0x4a5298=_0x5bb9c3[_0x2346b8(0x180)])!=null?_0x4a5298:{'actions':null},_0x74dc37=_0x12a6c7[_0x2346b8(0x180)];if(_0x5b04a2&&_0x5b04a2!==_0x2a1397)throw new Error(_0x2346b8(0x25d)+_0x5b04a2+'\x20-\x20'+_0x2a1397+'.');return{..._0x5bb9c3,'id':_0x2a1397,'type':_0x3d90b8,'params':{'unitId':_0x74dc37[_0x2346b8(0x32d)],'textRanges':_0x74dc37[_0x2346b8(0x29f)],'actions':_0x577726[_0x2346b8(0x3bc)](_0x252cb1[_0x2346b8(0x385)],_0x74dc37[_0x2346b8(0x385)])}};},{})],_0x19c5a7=(_0x311466=(_0x5824b8=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5824b8[_0x310b80(0x101)])!=null?_0x311466:_0x310b80(0x2f9),_0x58c182=(_0x19a419=(_0x5dc37e=_0x35fee3[_0x310b80(0x230)]())==null?void 0x0:_0x5dc37e[_0x310b80(0x2f0)])!=null?_0x19a419:_0x310b80(0x2f9);return{'changeset':{'unitID':_0x1ad892,'type':_0x12e6b9(_0x2d689c['getUnitType'](_0x1ad892)),'baseRev':_0x48f675[_0x310b80(0x32a)](_0x1ad892),'revision':0x0,'userID':_0x19c5a7,'memberID':_0x58c182,'mutations':_0x4cabbd},'pendingMutations':[]};}function Ii(_0x4d3010,_0x3395ea){var _0x166e34=_0x368389;const _0x5a7de1=new _0x531cf8(0x1);return setTimeout(()=>_0x5a7de1[_0x166e34(0x29b)](_0x3395ea),_0x4d3010),_0x5a7de1[_0x166e34(0x166)]()[_0x166e34(0x279)](_0x4ebc57(0x1));}var $s=Object[_0x368389(0x284)],Se=(_0x2ad258,_0x275a39,_0x1c202a,_0x4588f9)=>{var _0x39a7f8=_0x368389;for(var _0x372d25=_0x4588f9>0x1?void 0x0:_0x4588f9?$s(_0x275a39,_0x1c202a):_0x275a39,_0x26929b=_0x2ad258[_0x39a7f8(0x3b7)]-0x1,_0x2b306f;_0x26929b>=0x0;_0x26929b--)(_0x2b306f=_0x2ad258[_0x26929b])&&(_0x372d25=_0x2b306f(_0x372d25)||_0x372d25);return _0x372d25;},w=(_0x1afa98,_0x428468)=>(_0x41f542,_0x2daf3a)=>_0x428468(_0x41f542,_0x2daf3a,_0x1afa98),Si=(_0x200653=>(_0x200653['NOT_COLLAB']=_0x368389(0x1bf),_0x200653[_0x368389(0x13f)]=_0x368389(0xdf),_0x200653[_0x368389(0x261)]=_0x368389(0x314),_0x200653[_0x368389(0x341)]=_0x368389(0x13d),_0x200653[_0x368389(0x103)]=_0x368389(0x3ae),_0x200653[_0x368389(0xe3)]=_0x368389(0x1de),_0x200653['CONFLICT']='conflict',_0x200653['OFFLINE']=_0x368389(0x146),_0x200653))(Si||{});const gi=0xea60;class ge{constructor(_0x5102e8,_0x5b838c,_0x13e572,_0x414819,_0x4ec2d1,_0x1e4c8e,_0x19b341,_0x57281b,_0x49221c){var _0x232025=_0x368389;D(this,_0x232025(0x1d4),null),D(this,_0x232025(0x380),[]),(this[_0x232025(0x1b5)]=_0x5102e8,this[_0x232025(0xf0)]=_0x5b838c,this[_0x232025(0x17e)]=_0x4ec2d1,this['_commandService']=_0x1e4c8e,this[_0x232025(0x2eb)]=_0x19b341,this[_0x232025(0x125)]=_0x57281b,this[_0x232025(0x307)]=_0x49221c,this[_0x232025(0x1d4)]=_0x13e572,this[_0x232025(0x380)]=_0x414819);}[_0x368389(0x306)](_0x62b144){var _0x155146=_0x368389;const _0x4dde04=this[_0x155146(0x125)]['getCurrentRevOfUnit'](this['unitID']);return _0x62b144[_0x155146(0x1fb)]>_0x4dde04+0x1?(this[_0x155146(0x17e)][_0x155146(0x1f7)]({'from':_0x4dde04,'to':_0x62b144[_0x155146(0x1fb)]-0x1}),!0x0):!0x1;}[_0x368389(0x11b)](_0x21237c){var _0xeeef4d=_0x368389;this['_undoRedoService'][_0xeeef4d(0x178)](this[_0xeeef4d(0x1b5)],_0x21237c);}[_0x368389(0x268)](_0x5908d2){var _0x1dd988=_0x368389,_0x345b45,_0x463828;(_0x463828=(_0x345b45=this['_handler'])[_0x1dd988(0x319)])==null||_0x463828[_0x1dd988(0xf4)](_0x345b45,_0x5908d2);}[_0x368389(0x263)](_0x3b13b6){var _0x194172=_0x368389,_0x4d313c,_0x3bc47c;return(_0x3bc47c=(_0x4d313c=this['_handler'])[_0x194172(0x265)])==null?void 0x0:_0x3bc47c[_0x194172(0xf4)](_0x4d313c,_0x3b13b6);}[_0x368389(0x122)](_0x39a241){var _0x2caf24=_0x368389,_0x16ba70,_0x53c063;return(_0x53c063=(_0x16ba70=this[_0x2caf24(0x17e)])['onTransformState'])==null?void 0x0:_0x53c063[_0x2caf24(0xf4)](_0x16ba70,_0x39a241);}[_0x368389(0x107)](_0x339ea2){var _0x123b3d=_0x368389,_0x445b2b,_0x4e6786,_0x5aff45;return(_0x5aff45=(_0x4e6786=(_0x445b2b=this[_0x123b3d(0x17e)])[_0x123b3d(0x276)])==null?void 0x0:_0x4e6786[_0x123b3d(0xf4)](_0x445b2b,_0x339ea2))!=null?_0x5aff45:_0x339ea2;}[_0x368389(0x92)](_0xe5dc90){var _0x2f8a02=_0x368389,_0x109638,_0x4a45ea,_0x83afbb;return(_0x83afbb=(_0x4a45ea=(_0x109638=this[_0x2f8a02(0x17e)])[_0x2f8a02(0x192)])==null?void 0x0:_0x4a45ea['call'](_0x109638,_0xe5dc90))!=null?_0x83afbb:_0xe5dc90;}[_0x368389(0xa6)](_0xba9067){var _0x23d1fd=_0x368389,_0x478bad,_0x4a0e61;if(this[_0x23d1fd(0xf0)]===Q[_0x23d1fd(0x36a)]){const {unitID:_0x522dc6,mutations:_0x399beb,memberID:_0xafa0ef}=_0xba9067,_0x2b3701=_0x399beb[_0x23d1fd(0x3b7)]>0x0?_0x399beb[0x0][_0x23d1fd(0x180)][_0x23d1fd(0x29f)]:[];Array[_0x23d1fd(0x281)](_0x2b3701)&&_0x2b3701['length']>0x0&&((_0x4a0e61=(_0x478bad=this[_0x23d1fd(0x17e)])[_0x23d1fd(0xb1)])==null||_0x4a0e61[_0x23d1fd(0xf4)](_0x478bad,{'unitID':_0x522dc6,'memberID':_0xafa0ef,'textRanges':_0x2b3701}));}}[_0x368389(0x361)](){var _0x57b772=_0x368389,_0x3c2e5b;(_0x3c2e5b=this[_0x57b772(0x307)])==null||_0x3c2e5b[_0x57b772(0x9c)](this[_0x57b772(0x1b5)],this[_0x57b772(0xf0)],this[_0x57b772(0x1d4)],this[_0x57b772(0x380)]);}[_0x368389(0x2f5)](){var _0x51e427=_0x368389;return this[_0x51e427(0x125)][_0x51e427(0x32a)](this[_0x51e427(0x1b5)]);}[_0x368389(0x136)](){var _0x1a26e3=_0x368389;this[_0x1a26e3(0x125)]['incrementRevOfUnit'](this[_0x1a26e3(0x1b5)]);}[_0x368389(0x3ba)](_0x5bca21){var _0x2a0181=_0x368389,_0x4c32f1;let _0x46d889=this[_0x2a0181(0x107)](_0x5bca21);_0x46d889=this[_0x2a0181(0x92)](_0x46d889);const _0x11c325=_0x13344a(_0x46d889[_0x2a0181(0x162)],this[_0x2a0181(0x2d5)],{'fromCollab':!0x0});if(!_0x11c325[_0x2a0181(0x3bb)])throw _0x11c325[_0x2a0181(0x201)]instanceof Error?_0x11c325[_0x2a0181(0x201)]:new Error((_0x4c32f1=_0x11c325[_0x2a0181(0x201)])!=null?_0x4c32f1:_0x2a0181(0x207));this[_0x2a0181(0x263)](_0x46d889),this[_0x2a0181(0x122)](_0x46d889),this[_0x2a0181(0x11b)](_0x5bca21),this['_transformSelections'](_0x46d889),this['_syncEditingCollabCursor'](_0x46d889),this[_0x2a0181(0x136)]();}}let be=class extends ge{constructor(_0x28fa7f,_0x581095,_0x58b595,_0xa21c17,_0x144426,_0x514d8a,_0x14fe14,_0x43addb,_0x4a875b,_0x4e4351){var _0x32d2ed=_0x368389;super(_0x28fa7f,_0x581095,null,[],_0x58b595,_0x14fe14,_0x514d8a,_0xa21c17,_0x4e4351),D(this,'status','synced'),(this[_0x32d2ed(0x39e)]=_0x144426,this[_0x32d2ed(0x12b)]=_0x43addb,this[_0x32d2ed(0x12c)]=_0x4a875b,this[_0x32d2ed(0x269)]=_0x4e4351);}[_0x368389(0xbb)](_0x9bbc14){var _0x2011c8=_0x368389;const _0x46689d=this[_0x2011c8(0x39e)][_0x2011c8(0x37c)](ae,this[_0x2011c8(0x1b5)],this['type'],[_0x9bbc14],this[_0x2011c8(0x17e)]);return _0x46689d['_schedule'](),_0x46689d['_updateLocalCache'](),_0x46689d;}[_0x368389(0x2cd)](_0x3a9a94){var _0x55438e=_0x368389;if(this['_checkMissing'](_0x3a9a94))return this[_0x55438e(0x39e)][_0x55438e(0x37c)](ee,this[_0x55438e(0x1b5)],this[_0x55438e(0xf0)],null,[],null,[_0x3a9a94],this[_0x55438e(0x17e)]);try{const _0x2477f6=this[_0x55438e(0x12c)][_0x55438e(0x36e)](_0x3a9a94,[_0x3e2d35]);if(_0x3810cf(_0x2477f6)){const {c1Prime:_0x2feaca}=_0x2477f6;return this[_0x55438e(0x3ba)](_0x2feaca),this;}throw _0x2477f6['error'];}catch(_0x28e105){return this[_0x55438e(0x12b)][_0x55438e(0x201)](_0x28e105),this[_0x55438e(0x1da)](!0x1);}}[_0x368389(0x1da)](_0x405230){var _0x4d7ce7=_0x368389;return this[_0x4d7ce7(0x39e)]['createInstance'](ue,this['unitID'],this[_0x4d7ce7(0xf0)],null,[],this[_0x4d7ce7(0x17e)],_0x405230);}[_0x368389(0x19e)](){var _0x374dcd=_0x368389;throw new Error(_0x374dcd(0x157));}['onRemoteRej'](){var _0x398e8d=_0x368389;throw new Error(_0x398e8d(0x323));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x49abfa=_0x368389;return this[_0x49abfa(0x39e)][_0x49abfa(0x37c)](de,this['unitID'],this[_0x49abfa(0xf0)],null,[],this[_0x49abfa(0x17e)]);}['toggleOnline'](){return this;}['resend'](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x368389(0x211)](){var _0x3a5ff4=_0x368389;const _0x2a525d=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x3a5ff4(0x17e)][_0x3a5ff4(0x1f7)]({'from':_0x2a525d,'to':0x0}),this[_0x3a5ff4(0x39e)]['createInstance'](ee,this[_0x3a5ff4(0x1b5)],this[_0x3a5ff4(0xf0)],null,[],null,[],this[_0x3a5ff4(0x17e)]);}};be=Se([w(0x3,_0x3ce8f0(_0x5d15d6)),w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x32ded1),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x5c10ac(J))],be);let ae=class extends ge{constructor(_0x3fbeaf,_0x15f9dc,_0x591edb,_0x4887ee,_0x3715fa,_0x2df3a6,_0x26fde9,_0x850dc3,_0x8b4c1b,_0x42a905,_0x55c04e,_0x50f8a0,_0x472009,_0x26d868){var _0x138aaf=_0x368389;super(_0x3fbeaf,_0x15f9dc,null,_0x591edb,_0x4887ee,_0x8b4c1b,_0x472009,_0x2df3a6,_0x26d868),D(this,_0x138aaf(0x9d),_0x138aaf(0x314)),D(this,'_scheduleCompleteTimestamp',null),D(this,'_sendingTimer',null),(this['_injector']=_0x3715fa,this[_0x138aaf(0x366)]=_0x26fde9,this[_0x138aaf(0x12b)]=_0x850dc3,this[_0x138aaf(0xb8)]=_0x42a905,this[_0x138aaf(0x12c)]=_0x55c04e,this['_univerInstanceService']=_0x50f8a0);}['appendMutation'](_0x23a736){var _0x3287ee=_0x368389;return this[_0x3287ee(0x380)][_0x3287ee(0x291)](_0x23a736),this['_updateLocalCache'](),this;}[_0x368389(0x2cd)](_0x4ec078){var _0x1c87a8=_0x368389;if(this[_0x1c87a8(0x306)](_0x4ec078))return this['_clearScheduledTask'](),this['_injector'][_0x1c87a8(0x37c)](ee,this[_0x1c87a8(0x1b5)],this[_0x1c87a8(0xf0)],null,this['_pendingMutations'],null,[_0x4ec078],this[_0x1c87a8(0x17e)]);try{const _0x199474=this['_transformService'][_0x1c87a8(0x36e)](_0x4ec078,this[_0x1c87a8(0x380)]);if(_0x3810cf(_0x199474)){const {c1Prime:_0x1814db,m2Prime:_0x1894e8}=_0x199474;this[_0x1c87a8(0x3ba)](_0x1814db);const _0x38485b=this[_0x1c87a8(0x39e)][_0x1c87a8(0x37c)](ae,this['unitID'],this[_0x1c87a8(0xf0)],_0x1894e8,this[_0x1c87a8(0x17e)]);this[_0x1c87a8(0x267)]();const _0x27e7dc=new Date()[_0x1c87a8(0x102)](),_0x1748f3=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x1c87a8(0x1f5)]-_0x27e7dc,0x0):this[_0x1c87a8(0x2c4)]();return _0x38485b['_schedule'](_0x1748f3),_0x38485b;}throw _0x199474[_0x1c87a8(0x201)];}catch(_0x4becd0){return this['_logService'][_0x1c87a8(0x201)](_0x4becd0),this['_onConflict'](!0x1);}}[_0x368389(0x19e)](){var _0x4a24fd=_0x368389;throw new Error(_0x4a24fd(0x382));}[_0x368389(0x28a)](){var _0x2c64df=_0x368389;throw new Error(_0x2c64df(0x31d));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x362576=_0x368389;return this['_clearScheduledTask'](),this[_0x362576(0x39e)][_0x362576(0x37c)](de,this[_0x362576(0x1b5)],this[_0x362576(0xf0)],null,this['_pendingMutations'],this[_0x362576(0x17e)]);}[_0x368389(0x329)](){return this;}['_schedule'](_0x1abf52){var _0x47a126=_0x368389;const _0x4d23ad=_0x1abf52!=null?_0x1abf52:this[_0x47a126(0x2c4)]();this[_0x47a126(0x1f5)]=new Date()['getTime']()+_0x4d23ad,this[_0x47a126(0x1ae)]=setTimeout(()=>{var _0x162a1f=_0x47a126;this[_0x162a1f(0x267)]();let _0x1800da=null;switch(this['type']){case Q[_0x162a1f(0x305)]:{_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this['_revisionService'],this['_memberService']);break;}case Q[_0x162a1f(0x36a)]:{this[_0x162a1f(0x380)][_0x162a1f(0x2f6)](_0x283637=>_0x283637['id']===_0x62620b['id'])?_0x1800da=ks(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this[_0x162a1f(0x14b)],this[_0x162a1f(0x125)],this['_memberService']):_0x1800da=Vt(this[_0x162a1f(0x380)],this[_0x162a1f(0x1b5)],this['_univerInstanceService'],this[_0x162a1f(0x125)],this[_0x162a1f(0x366)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x162a1f(0xf0)]+_0x162a1f(0x354));}const {changeset:_0x568539,pendingMutations:_0x270c0b}=_0x1800da;this[_0x162a1f(0x17e)][_0x162a1f(0x235)](_0x568539);const _0x4cbe35=_0x270c0b['length']?this[_0x162a1f(0x39e)]['createInstance'](oe,this[_0x162a1f(0x1b5)],this['type'],_0x568539,_0x270c0b,this[_0x162a1f(0x17e)],void 0x0):this['_injector'][_0x162a1f(0x37c)](le,this[_0x162a1f(0x1b5)],this['type'],_0x568539,this[_0x162a1f(0x17e)]);_0x4cbe35[_0x162a1f(0x361)](),this[_0x162a1f(0x17e)][_0x162a1f(0x317)](this,_0x4cbe35);},_0x4d23ad);}['_getSendChangesetTimeout'](){var _0x2044c5=_0x368389,_0x50aae0;const _0x15011e=this[_0x2044c5(0xb8)][_0x2044c5(0x19b)](K);return(_0x50aae0=_0x15011e==null?void 0x0:_0x15011e[_0x2044c5(0x288)])!=null?_0x50aae0:ps;}[_0x368389(0x33f)](){var _0x16b254=_0x368389;throw new Error(_0x16b254(0x17f));}[_0x368389(0x267)](){var _0x5ba628=_0x368389;this[_0x5ba628(0x1ae)]!=null&&(clearTimeout(this[_0x5ba628(0x1ae)]),this[_0x5ba628(0x1ae)]=null);}[_0x368389(0x1da)](_0x4be4a8){var _0x528fe4=_0x368389;return this[_0x528fe4(0x267)](),this[_0x528fe4(0x39e)]['createInstance'](ue,this['unitID'],this[_0x528fe4(0xf0)],null,this[_0x528fe4(0x380)],this[_0x528fe4(0x17e)],_0x4be4a8);}};ae=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0x3ce8f0(Pe)),w(0x7,_0x21f6c3),w(0x8,_0xcdf754),w(0x9,_0x3c30e0),w(0xa,_0x1a3cad),w(0xb,_0x558d3e),w(0xc,_0x32ded1),w(0xd,_0x5c10ac(J))],ae);let le=class extends ge{constructor(_0x21e6f6,_0x15ddbd,_0x387550,_0x4a826c,_0x1af81c,_0x55b0db,_0x288bf,_0x1f4516,_0x347a55,_0x59312a,_0x379ac2){var _0x1aee10=_0x368389;super(_0x21e6f6,_0x15ddbd,_0x387550,[],_0x4a826c,_0x288bf,_0x59312a,_0x55b0db,_0x379ac2),D(this,'status',_0x1aee10(0x13d)),D(this,'_resendTimeout',0x0),D(this,'_resendTimer'),D(this,_0x1aee10(0x337)),(this[_0x1aee10(0x39e)]=_0x1af81c,this[_0x1aee10(0x12b)]=_0x1f4516,this['_transformService']=_0x347a55);}[_0x368389(0xbb)](_0x921581){var _0x1b726a=_0x368389;this[_0x1b726a(0x267)]();const _0x324188=this[_0x1b726a(0x39e)][_0x1b726a(0x37c)](oe,this[_0x1b726a(0x1b5)],this['type'],this[_0x1b726a(0x1d4)],[_0x921581],this[_0x1b726a(0x17e)],this[_0x1b726a(0x168)]);return _0x324188['_updateLocalCache'](),_0x324188;}[_0x368389(0x2cd)](_0x5219ef){var _0x57d439=_0x368389;if(this[_0x57d439(0x306)](_0x5219ef))return this[_0x57d439(0x267)](),this[_0x57d439(0x39e)][_0x57d439(0x37c)](ee,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],this['_awaitingChangeset'],[],null,[_0x5219ef],this[_0x57d439(0x17e)]);try{const _0x3aedc4=this['_transformService'][_0x57d439(0xa1)]([_0x5219ef],[this['_awaitingChangeset']],!0x1);if(_0x507863(_0x3aedc4)){const {c1Prime:_0x596d7c,c2Prime:_0x36daf0}=_0x3aedc4;this[_0x57d439(0x3ba)](_0x596d7c[0x0]),_0x36daf0[0x0][_0x57d439(0x1ed)]=this[_0x57d439(0x2f5)](),this['_clearScheduledTask']();const _0xc930ad=this[_0x57d439(0x39e)][_0x57d439(0x37c)](le,this[_0x57d439(0x1b5)],this[_0x57d439(0xf0)],_0x36daf0[0x0],this[_0x57d439(0x17e)]);return _0xc930ad[_0x57d439(0x361)](),_0xc930ad;}return this[_0x57d439(0x1da)](!0x1);}catch(_0xba0fe2){return this[_0x57d439(0x12b)][_0x57d439(0x201)](_0xba0fe2),this[_0x57d439(0x1da)](!0x1);}}[_0x368389(0x19e)](_0x4fe1fb){var _0x5a94b4=_0x368389;this[_0x5a94b4(0x267)]();const _0xf7c698=this[_0x5a94b4(0x125)][_0x5a94b4(0x32a)](this[_0x5a94b4(0x1b5)]);if(_0x4fe1fb[_0x5a94b4(0x1fb)]<_0xf7c698-0x1)return this;if(this['_checkMissing'](_0x4fe1fb))return this[_0x5a94b4(0x39e)][_0x5a94b4(0x37c)](ee,this['unitID'],this[_0x5a94b4(0xf0)],null,[],this[_0x5a94b4(0x1d4)],[],this[_0x5a94b4(0x17e)]);this[_0x5a94b4(0x136)]();const _0x1f52fd=this[_0x5a94b4(0x39e)]['createInstance'](be,this[_0x5a94b4(0x1b5)],this[_0x5a94b4(0xf0)],this[_0x5a94b4(0x17e)]);return _0x1f52fd['_updateLocalCache'](),_0x1f52fd;}[_0x368389(0x28a)](_0x332556){var _0x3b421c=_0x368389;return this[_0x3b421c(0x1da)](!!(_0x332556!=null&&_0x332556[_0x3b421c(0x255)]));}[_0x368389(0x1df)](_0x4ea8f0){var _0x12a9b3=_0x368389;return this['_resendTimeout']>gi?this[_0x12a9b3(0x3a9)]():(this[_0x12a9b3(0x168)]=Ii(this[_0x12a9b3(0x2db)],{'timeout':this[_0x12a9b3(0x2db)],'reqId':_0x4ea8f0[_0x12a9b3(0xfe)]}),this[_0x12a9b3(0x337)]=this[_0x12a9b3(0x168)]['subscribe'](({reqId:_0x156dc3,timeout:_0x115272})=>{var _0x251f6a=_0x12a9b3;this[_0x251f6a(0x3b4)](_0x156dc3,_0x115272);}),this);}[_0x368389(0x3a9)](){var _0x241bdf=_0x368389;return this['_clearScheduledTask'](),this['_injector']['createInstance'](de,this[_0x241bdf(0x1b5)],this[_0x241bdf(0xf0)],this[_0x241bdf(0x1d4)],[],this[_0x241bdf(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x2a8a6f=_0x368389;this['_handler'][_0x2a8a6f(0x235)](this[_0x2a8a6f(0x1d4)]);}[_0x368389(0x1da)](_0x5278ee){var _0x440f8c=_0x368389;return this[_0x440f8c(0x267)](),this[_0x440f8c(0x39e)][_0x440f8c(0x37c)](ue,this[_0x440f8c(0x1b5)],this[_0x440f8c(0xf0)],this[_0x440f8c(0x1d4)],[],this[_0x440f8c(0x17e)],_0x5278ee);}['_resendWithTimeout'](_0xf26146,_0x61b16b){var _0x315946=_0x368389,_0x159f42;_0xf26146===((_0x159f42=this[_0x315946(0x1d4)])==null?void 0x0:_0x159f42[_0x315946(0xfe)])&&(this['resend'](),this['_resendTimeout']=_0x61b16b===0x0?0x3e8:_0x61b16b*0x2);}[_0x368389(0x267)](){var _0x198d78=_0x368389,_0x375d81;(_0x375d81=this[_0x198d78(0x337)])==null||_0x375d81[_0x198d78(0x2a2)](),this[_0x198d78(0x2db)]=0x0;}};le=Se([w(0x4,_0x3ce8f0(_0x277f78)),w(0x5,_0x3ce8f0(_0x5d15d6)),w(0x6,_0xcdf754),w(0x7,_0x21f6c3),w(0x8,_0x1a3cad),w(0x9,_0x32ded1),w(0xa,_0x5c10ac(J))],le);let oe=class extends ge{constructor(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0xf97991,_0x28d55f,_0x3da2aa,_0x43637a,_0x5c1dda,_0x16dbbb,_0x17dd8d,_0x1130ab){var _0x2fa35d=_0x368389;super(_0x210d82,_0x59bf50,_0xf24a23,_0x319899,_0x1224ea,_0x43637a,_0x17dd8d,_0x3da2aa,_0x1130ab),D(this,_0x2fa35d(0x9d),'awaiting_with_pending'),D(this,_0x2fa35d(0x2db),0x0),D(this,_0x2fa35d(0x168)),D(this,'_sender'),(this[_0x2fa35d(0x39e)]=_0x28d55f,this[_0x2fa35d(0x12b)]=_0x5c1dda,this['_transformService']=_0x16dbbb,this['localCacheService']=_0x1130ab,_0xf97991&&(this[_0x2fa35d(0x168)]=_0xf97991,this[_0x2fa35d(0x337)]=this[_0x2fa35d(0x168)]['subscribe'](({reqId:_0x427dc6,timeout:_0x37cd30})=>{var _0x4838c5=_0x2fa35d;this[_0x4838c5(0x3b4)](_0x427dc6,_0x37cd30);})));}[_0x368389(0xbb)](_0xc7720e){var _0xf23754=_0x368389;return this[_0xf23754(0x380)][_0xf23754(0x291)](_0xc7720e),this;}[_0x368389(0x2cd)](_0x9903c8){var _0x2ded44=_0x368389;if(this['_checkMissing'](_0x9903c8))return this[_0x2ded44(0x267)](),this['_injector'][_0x2ded44(0x37c)](ee,this[_0x2ded44(0x1b5)],this['type'],this[_0x2ded44(0x1d4)],this[_0x2ded44(0x380)],null,[_0x9903c8],this[_0x2ded44(0x17e)]);try{const _0x20e1e7=this[_0x2ded44(0x12c)][_0x2ded44(0xa1)]([_0x9903c8],[this[_0x2ded44(0x1d4)]],!0x1);if(_0x507863(_0x20e1e7)){const {c1Prime:_0x593657,c2Prime:_0x470b1d}=_0x20e1e7,_0x4493bb=this[_0x2ded44(0x12c)]['transformMutationsWithChangeset'](_0x593657[0x0],this['_pendingMutations']);if(_0x3810cf(_0x4493bb)){const {c1Prime:_0x197640,m2Prime:_0x3087e5}=_0x4493bb;return this['_executeRemoteChangeset'](_0x197640),_0x470b1d[0x0][_0x2ded44(0x1ed)]=this[_0x2ded44(0x2f5)](),this['_clearScheduledTask'](),this[_0x2ded44(0x39e)][_0x2ded44(0x37c)](oe,this[_0x2ded44(0x1b5)],this[_0x2ded44(0xf0)],_0x470b1d[0x0],_0x3087e5,this['_handler'],void 0x0);}throw _0x4493bb[_0x2ded44(0x201)];}throw _0x20e1e7['error'];}catch(_0x2fba29){return this[_0x2ded44(0x12b)]['error'](_0x2fba29),this[_0x2ded44(0x1da)](!0x1);}}[_0x368389(0x19e)](_0xf0051f){var _0x449670=_0x368389;if(this['_clearScheduledTask'](),this[_0x449670(0x306)](_0xf0051f))return this[_0x449670(0x39e)][_0x449670(0x37c)](ee,this[_0x449670(0x1b5)],this[_0x449670(0xf0)],null,this[_0x449670(0x380)],this['_awaitingChangeset'],[],this[_0x449670(0x17e)]);this[_0x449670(0x136)]();const _0x352f6e=this[_0x449670(0x39e)]['createInstance'](ae,this['unitID'],this[_0x449670(0xf0)],this[_0x449670(0x380)],this[_0x449670(0x17e)]);return _0x352f6e['_schedule'](),_0x352f6e[_0x449670(0x361)](),_0x352f6e;}['onRemoteRej'](_0x5e468c){var _0x231770=_0x368389;return this[_0x231770(0x1da)](!!(_0x5e468c!=null&&_0x5e468c['isPermissionRej']));}['onRemoteRetry'](_0x238541){var _0x3d4d53=_0x368389;return this[_0x3d4d53(0x2db)]>gi?this[_0x3d4d53(0x3a9)]():(this[_0x3d4d53(0x168)]=Ii(this[_0x3d4d53(0x2db)],{'timeout':this[_0x3d4d53(0x2db)],'reqId':_0x238541['reqId']}),this['_sender']=this[_0x3d4d53(0x168)][_0x3d4d53(0x116)](({reqId:_0x2b7d0c,timeout:_0x5d14bc})=>{this['_resendWithTimeout'](_0x2b7d0c,_0x5d14bc);}),this);}[_0x368389(0x3a9)](){var _0x3f59f6=_0x368389;return this[_0x3f59f6(0x267)](),this[_0x3f59f6(0x39e)][_0x3f59f6(0x37c)](de,this[_0x3f59f6(0x1b5)],this[_0x3f59f6(0xf0)],this[_0x3f59f6(0x1d4)],this[_0x3f59f6(0x380)],this[_0x3f59f6(0x17e)]);}['toggleOnline'](){return this;}[_0x368389(0x33f)](){this['_handler']['onSendChangeset'](this['_awaitingChangeset']);}[_0x368389(0x1da)](_0x13c874){var _0x19f34f=_0x368389;return this[_0x19f34f(0x267)](),this['_injector'][_0x19f34f(0x37c)](ue,this[_0x19f34f(0x1b5)],this[_0x19f34f(0xf0)],null,this[_0x19f34f(0x380)],this['_handler'],_0x13c874);}['_resendWithTimeout'](_0x564ab0,_0x95ada1){var _0xa63a90=_0x368389,_0x1f3b8f;_0x564ab0===((_0x1f3b8f=this[_0xa63a90(0x1d4)])==null?void 0x0:_0x1f3b8f['reqId'])&&(this[_0xa63a90(0x33f)](),this['_resendTimeout']=_0x95ada1===0x0?0x3e8:_0x95ada1*0x2);}['_clearScheduledTask'](){var _0x10e81e=_0x368389,_0x83f503;(_0x83f503=this[_0x10e81e(0x337)])==null||_0x83f503[_0x10e81e(0x2a2)](),this['_resendTimeout']=0x0;}};oe=Se([w(0x6,_0x3ce8f0(_0x277f78)),w(0x7,_0x3ce8f0(_0x5d15d6)),w(0x8,_0xcdf754),w(0x9,_0x21f6c3),w(0xa,_0x1a3cad),w(0xb,_0x32ded1),w(0xc,_0x5c10ac(J))],oe);let ue=class extends ge{constructor(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x4e0fad=!0x1,_0x46b409,_0x28bee1,_0x74033e,_0x5a541a,_0x2d3ee4,_0xf3011f,_0x4a25e4){var _0x448775=_0x368389;super(_0x3533c2,_0x3b3d1f,_0x443579,_0x20f61c,_0x30939c,_0x28bee1,_0x74033e,_0x5a541a,_0x4a25e4),D(this,_0x448775(0x9d),_0x448775(0x2d2)),(this['_isPermissionRej']=_0x4e0fad,this[_0x448775(0x3ab)]=_0x46b409,this[_0x448775(0x2ac)]=_0x2d3ee4,this[_0x448775(0x367)]=_0xf3011f,this['localCacheService']=_0x4a25e4,this[_0x448775(0x19d)](),this[_0x448775(0x210)](),this[_0x448775(0x3b1)]());}[_0x368389(0xbb)](){return this;}[_0x368389(0x2cd)](){return this;}[_0x368389(0x19e)](){return this;}['onRemoteRej'](){return this;}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){return this;}[_0x368389(0x33f)](){var _0x5ccd03=_0x368389;throw new Error(_0x5ccd03(0x1e1));}['_clearLocalCache'](){var _0x5b8fd7=_0x368389,_0x2971da;(_0x2971da=this[_0x5b8fd7(0x307)])==null||_0x2971da[_0x5b8fd7(0x9c)](this[_0x5b8fd7(0x1b5)],this[_0x5b8fd7(0xf0)],null,[]);}['_showConflictNotification'](){var _0x5e48e8=_0x368389;this[_0x5e48e8(0xdd)]?this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x213)]}):this[_0x5e48e8(0x367)][_0x5e48e8(0x3b6)]({'id':re[_0x5e48e8(0x2ab)]});}[_0x368389(0x3b1)](){var _0x1c7819=_0x368389;this[_0x1c7819(0x3ab)][_0x1c7819(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x1);}};ue=Se([w(0x6,_0x3ce8f0(_0x301d19)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x3ce8f0(_0x5d15d6)),w(0xa,_0x3ce8f0(_0x3ebb61)),w(0xb,_0x3ce8f0(ve)),w(0xc,_0x5c10ac(J))],ue);let de=class extends ge{constructor(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x52c52b,_0x3aeeea,_0x46305e,_0x461f8a,_0x30943a){var _0x8d663d=_0x368389;super(_0x5a0059,_0x1e0fa6,_0x2a95a4,_0x11a9a0,_0x406728,_0x46305e,_0x461f8a,_0x3aeeea,_0x30943a),D(this,'status',_0x8d663d(0x146)),this[_0x8d663d(0x39e)]=_0x52c52b;}[_0x368389(0xbb)](_0x13114e){var _0x1b4420=_0x368389;return this[_0x1b4420(0x380)][_0x1b4420(0x291)](_0x13114e),this[_0x1b4420(0x361)](),this;}[_0x368389(0x2cd)](_0x14612a){var _0x1f641a=_0x368389;throw new Error(_0x1f641a(0x2f8));}[_0x368389(0x19e)](){var _0x50c39d=_0x368389;throw new Error(_0x50c39d(0x273));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x368389(0x3a9)](){return this;}[_0x368389(0x329)](){var _0x716f16=_0x368389;const {_injector:_0x1a3e1a,_pendingMutations:_0x169fa7,_awaitingChangeset:_0x3986cc,unitID:_0x27fa04,_handler:_0x3f8686,type:_0x557234}=this,_0x1d1c4f=Ti(_0x1a3e1a,_0x27fa04,_0x557234,_0x3986cc,_0x169fa7,_0x3f8686);return _0x1d1c4f instanceof ae?_0x1d1c4f[_0x716f16(0x262)]():(_0x1d1c4f instanceof oe||_0x1d1c4f instanceof le)&&_0x1d1c4f['resend'](),_0x1d1c4f;}[_0x368389(0x33f)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Se([w(0x5,_0x3ce8f0(_0x277f78)),w(0x6,_0x3ce8f0(_0x5d15d6)),w(0x7,_0xcdf754),w(0x8,_0x32ded1),w(0x9,_0x5c10ac(J))],de);let ee=class extends ge{constructor(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x4d8217,_0x4196f7,_0x520288,_0xfc0833,_0x43774f,_0x5a6df8,_0x399171,_0x175f8a,_0x5a1068,_0x4b3653){var _0x501e72=_0x368389;super(_0x8697e3,_0x25b708,_0x279025,_0x270219,_0x520288,_0x399171,_0x175f8a,_0x43774f,_0x4b3653),D(this,_0x501e72(0x9d),_0x501e72(0x1de)),(this[_0x501e72(0x377)]=_0x4d8217,this['_queuedRemoteChangesets']=_0x4196f7,this[_0x501e72(0x39e)]=_0xfc0833,this['_logService']=_0x5a6df8,this[_0x501e72(0x12c)]=_0x5a1068,this[_0x501e72(0x269)]=_0x4b3653);}[_0x368389(0x121)](_0x4ddd3a){var _0x5581ea=_0x368389;try{const _0x296b8a=[..._0x4ddd3a,...this[_0x5581ea(0x343)]],_0x29e534=[this[_0x5581ea(0x1d4)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x494184=>!!_0x494184);let _0x269274,_0x3ec654;if(_0x29e534[_0x5581ea(0x3b7)]){const _0x127235=this[_0x5581ea(0x12c)][_0x5581ea(0xa1)](_0x296b8a,_0x29e534,!0x1);if(!_0x507863(_0x127235))throw _0x127235[_0x5581ea(0x201)];_0x269274=_0x127235[_0x5581ea(0x25e)],_0x3ec654=_0x127235[_0x5581ea(0xeb)];}else _0x269274=_0x296b8a,_0x3ec654=[];let _0x4ed1b8=this[_0x5581ea(0x380)];_0x269274['forEach'](_0x305983=>{var _0x254e8f=_0x5581ea;let _0x2c1a17;if(_0x4ed1b8[_0x254e8f(0x3b7)]){const _0x1d231a=this[_0x254e8f(0x12c)][_0x254e8f(0x36e)](_0x305983,_0x4ed1b8);if(!_0x3810cf(_0x1d231a))throw _0x1d231a[_0x254e8f(0x201)];_0x2c1a17=_0x1d231a[_0x254e8f(0x25e)],_0x4ed1b8=_0x1d231a[_0x254e8f(0x155)];}else _0x2c1a17=_0x305983;this['_executeRemoteChangeset'](_0x2c1a17);}),this[_0x5581ea(0x377)]&&this['_incrementRevisionNumber'](),this[_0x5581ea(0x1d4)]&&_0x3ec654[_0x5581ea(0x3b7)]&&(_0x3ec654[0x0]['baseRev']=this['_getCurrentRevision']());let _0x388aec;if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0)_0x388aec=this['_injector']['createInstance'](oe,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x3ec654[0x0],_0x4ed1b8,this['_handler'],void 0x0);else{if(this[_0x5581ea(0x1d4)]&&_0x4ed1b8[_0x5581ea(0x3b7)]===0x0)_0x3ec654[0x0][_0x5581ea(0x1ed)]=this['_getCurrentRevision'](),_0x388aec=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](le,this[_0x5581ea(0x1b5)],this['type'],_0x3ec654[0x0],this[_0x5581ea(0x17e)]);else{if(_0x4ed1b8[_0x5581ea(0x3b7)]!==0x0){const _0x4ff63f=this[_0x5581ea(0x39e)][_0x5581ea(0x37c)](ae,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],_0x4ed1b8,this[_0x5581ea(0x17e)]);_0x4ff63f[_0x5581ea(0x262)](),_0x388aec=_0x4ff63f;}else _0x388aec=this[_0x5581ea(0x39e)]['createInstance'](be,this[_0x5581ea(0x1b5)],this[_0x5581ea(0xf0)],this['_handler']);}}return _0x388aec[_0x5581ea(0x361)](),_0x388aec;}catch(_0x2a3998){return this['_logService']['error'](_0x5581ea(0x300),_0x5581ea(0x22d),_0x2a3998),this[_0x5581ea(0x39e)]['createInstance'](ue,this['unitID'],this['type'],this[_0x5581ea(0x1d4)],this[_0x5581ea(0x380)],this[_0x5581ea(0x17e)],!0x1);}}[_0x368389(0x33f)](){var _0xc70b91=_0x368389;throw new Error(_0xc70b91(0x313));}[_0x368389(0xbb)](_0x5e8eb5){var _0x2320ef=_0x368389;return this['_pendingMutations'][_0x2320ef(0x291)](_0x5e8eb5),this;}[_0x368389(0x2cd)](_0x145e38){var _0x3109fe=_0x368389;return this[_0x3109fe(0x343)][_0x3109fe(0x291)](_0x145e38),this;}[_0x368389(0x19e)](_0xa64bfc){var _0x5f4af5=_0x368389;if(this[_0x5f4af5(0x1d4)])return this[_0x5f4af5(0x377)]=this[_0x5f4af5(0x1d4)],this[_0x5f4af5(0x1d4)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x368389(0x28a)](_0x197cf3){var _0x2daada=_0x368389;return this[_0x2daada(0x1da)](!!(_0x197cf3!=null&&_0x197cf3[_0x2daada(0x255)]));}[_0x368389(0x1df)](){return this;}[_0x368389(0x3a9)](){var _0x4ba781=_0x368389;return this['_injector'][_0x4ba781(0x37c)](de,this[_0x4ba781(0x1b5)],this[_0x4ba781(0xf0)],this[_0x4ba781(0x1d4)],this[_0x4ba781(0x380)],this[_0x4ba781(0x17e)]);}[_0x368389(0x329)](){return this;}[_0x368389(0x1da)](_0x530327){var _0x30899f=_0x368389;return this[_0x30899f(0x39e)][_0x30899f(0x37c)](ue,this[_0x30899f(0x1b5)],this[_0x30899f(0xf0)],this[_0x30899f(0x1d4)],this[_0x30899f(0x380)],this[_0x30899f(0x17e)],_0x530327);}};ee=Se([w(0x7,_0x3ce8f0(_0x277f78)),w(0x8,_0x3ce8f0(_0x5d15d6)),w(0x9,_0x21f6c3),w(0xa,_0xcdf754),w(0xb,_0x32ded1),w(0xc,_0x1a3cad),w(0xd,_0x5c10ac(J))],ee);function Ti(_0xf8cc5f,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab){var _0x371932=_0x368389;return _0x2bca88&&_0x5f0ddf['length']?_0xf8cc5f[_0x371932(0x37c)](oe,_0x57d935,_0x57d33d,_0x2bca88,_0x5f0ddf,_0x4f25ab,void 0x0):_0x2bca88?_0xf8cc5f[_0x371932(0x37c)](le,_0x57d935,_0x57d33d,_0x2bca88,_0x4f25ab):_0x5f0ddf[_0x371932(0x3b7)]?_0xf8cc5f[_0x371932(0x37c)](ae,_0x57d935,_0x57d33d,_0x5f0ddf,_0x4f25ab):_0xf8cc5f[_0x371932(0x37c)](be,_0x57d935,_0x57d33d,_0x4f25ab);}var Hs=Object[_0x368389(0x284)],At=(_0x463819,_0x3cf963,_0xbe08a5,_0x1bcaf6)=>{for(var _0x271bde=_0x1bcaf6>0x1?void 0x0:_0x1bcaf6?Hs(_0x3cf963,_0xbe08a5):_0x3cf963,_0x5bb7e4=_0x463819['length']-0x1,_0x50f8c4;_0x5bb7e4>=0x0;_0x5bb7e4--)(_0x50f8c4=_0x463819[_0x5bb7e4])&&(_0x271bde=_0x50f8c4(_0x271bde)||_0x271bde);return _0x271bde;},$=(_0x355195,_0x1955f8)=>(_0x3b89e9,_0x31e5e3)=>_0x1955f8(_0x3b89e9,_0x31e5e3,_0x355195);let st=class extends _0x4eb61d{constructor(_0x2c2b71,_0x5cac6b,_0x4d08f6,_0x188095,_0x368c0d,_0x48a7be,_0x2c459d,_0x1fddde,_0x2229c2,_0x42a676,_0x4822d7,_0x4eec7f,_0x203eb6,_0x886a77){var _0x4bf680=_0x368389;super(),D(this,_0x4bf680(0x204),new _0x1593ab(null)),D(this,_0x4bf680(0x375),this['_state$'][_0x4bf680(0x166)]()),D(this,_0x4bf680(0x395)),D(this,'_collaborationPaused',!0x1),D(this,_0x4bf680(0x1f4),''),D(this,'_changesetReqId',0x0),D(this,_0x4bf680(0x320),this[_0x4bf680(0x375)][_0x4bf680(0x279)](_0x418f83(_0x303794=>_0x303794?_0x303794[_0x4bf680(0x9d)]:Si['OFFLINE']),_0xc52802(0x1))),D(this,_0x4bf680(0x167),!0x1),D(this,_0x4bf680(0xb7),[]),(this[_0x4bf680(0x1b5)]=_0x2c2b71,this['session']=_0x5cac6b,this['_type']=_0x4d08f6,this['_injector']=_0x188095,this[_0x4bf680(0x1b4)]=_0x368c0d,this['_localeService']=_0x48a7be,this[_0x4bf680(0x125)]=_0x2c459d,this[_0x4bf680(0x2c2)]=_0x1fddde,this[_0x4bf680(0x14b)]=_0x2229c2,this[_0x4bf680(0x12b)]=_0x42a676,this[_0x4bf680(0x2d5)]=_0x4822d7,this[_0x4bf680(0x3ab)]=_0x4eec7f,this['_singleActiveUnitService']=_0x203eb6,this['_localCacheService']=_0x886a77);}get[_0x368389(0x2ff)](){var _0x569c76=_0x368389;return this[_0x569c76(0x395)];}async[_0x368389(0x3b3)](){var _0x5d674b=_0x368389;if(this[_0x5d674b(0x2ff)])throw new Error(_0x5d674b(0x34d));await this[_0x5d674b(0x321)]();}[_0x368389(0xbd)](){var _0x5cef8d=_0x368389;return this[_0x5cef8d(0xf3)]=!0x0,_0x58dc5a(()=>{var _0x1a73cb=_0x5cef8d;this[_0x1a73cb(0xf3)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x368389(0x199)](_0x170503){var _0x3ae528=_0x368389;this[_0x3ae528(0x227)](_0x170503);}[_0x368389(0x295)](_0x159928){var _0x326963=_0x368389;this[_0x326963(0x395)]=_0x159928,this[_0x326963(0x204)][_0x326963(0x29b)](_0x159928);}async['_init'](){var _0x14832e=_0x368389,_0x1e5502;this[_0x14832e(0x295)](await this[_0x14832e(0x34b)]()),this[_0x14832e(0x148)]&&((_0x1e5502=this[_0x14832e(0x148)])==null||_0x1e5502[_0x14832e(0x10c)](this[_0x14832e(0x1b5)]),this[_0x14832e(0x2af)](this[_0x14832e(0x148)][_0x14832e(0x340)](this['unitID'])[_0x14832e(0x116)](_0x551ba0=>{var _0x1b3f44=_0x14832e;this[_0x1b3f44(0x12b)]['debug'](_0x1b3f44(0xc4),_0x1b3f44(0x394),_0x551ba0),_0x551ba0===mi[_0x1b3f44(0x2be)]?(this[_0x1b3f44(0x2c2)][_0x1b3f44(0x3b6)]({'id':re[_0x1b3f44(0x1a0)]}),this[_0x1b3f44(0x3ab)]['updatePermissionPoint'](new _0x25ba97(this['unitID'])['id'],!0x1),this['_permissionService']['setShowComponents'](!0x1)):(this[_0x1b3f44(0x3ab)][_0x1b3f44(0xe0)](new _0x25ba97(this['unitID'])['id'],!0x0),this[_0x1b3f44(0x3ab)][_0x1b3f44(0x2e1)](!0x0));})));let _0x5a0279=!0x1;return this['disposeWithMe'](this[_0x14832e(0x114)][_0x14832e(0x350)]['subscribe'](_0x307aa4=>{var _0x3b7969=_0x14832e;_0x307aa4===me[_0x3b7969(0x17a)]?this[_0x3b7969(0x19a)](_0x5a0279):_0x307aa4===me['OFFLINE']&&(_0x5a0279=!0x0,this[_0x3b7969(0x1d6)]());})),this[_0x14832e(0x2af)](this['session'][_0x14832e(0x30e)][_0x14832e(0x116)](_0x59bb84=>{var _0x67beab=_0x14832e;try{switch(_0x59bb84[_0x67beab(0x159)]){case _0x19843e[_0x67beab(0x398)]:{this[_0x67beab(0x2cb)](_0x352403(_0x59bb84['data']));break;}case _0x19843e[_0x67beab(0x1fe)]:{this[_0x67beab(0x312)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x327)]:{this['_onRemoteRejected']();break;}case _0x19843e[_0x67beab(0x2bb)]:{this[_0x67beab(0x334)](_0x59bb84[_0x67beab(0x389)]);break;}case _0x19843e[_0x67beab(0x205)]:{this[_0x67beab(0x1bc)](_0x59bb84['data']['changesets'][_0x67beab(0x28c)](_0x5d360e=>_0x352403(_0x5d360e)));break;}case _0x19843e[_0x67beab(0x238)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x19843e[_0x67beab(0x214)]:break;}}catch(_0x52928b){throw console[_0x67beab(0x201)](_0x67beab(0x176),_0x52928b),_0x52928b;}})),this['_state'];}[_0x368389(0x90)](){var _0x2a171c=_0x368389;this[_0x2a171c(0x167)]=!0x1;}['_lockTransition'](){var _0x355642=_0x368389;if(this[_0x355642(0x167)])throw new Error(_0x355642(0x196));this['_transitionLocked']=!0x0;}[_0x368389(0x227)](_0x51796b){var _0x24aff6=_0x368389;this[_0x24aff6(0x113)](),this[_0x24aff6(0x295)](this[_0x24aff6(0x395)][_0x24aff6(0xbb)](_0x51796b)),this['_unlockTransition']();}[_0x368389(0x2cb)](_0x419d03){var _0x1d3666=_0x368389;if(!(_0x419d03['revision']<=this[_0x1d3666(0x125)][_0x1d3666(0x32a)](this['unitID']))){if(this[_0x1d3666(0xf3)]){this['_remoteChangesetQueue'][_0x1d3666(0x291)](_0x419d03);return;}this[_0x1d3666(0x1c6)](_0x419d03);}}[_0x368389(0xe2)](){var _0x161671=_0x368389;this[_0x161671(0xb7)][_0x161671(0x20e)](_0x46f247=>this[_0x161671(0x1c6)](_0x46f247)),this[_0x161671(0xb7)]=[];}[_0x368389(0x1c6)](_0x2a6529){var _0x76e5e7=_0x368389;const _0x329b9d=this['_compressMutationService'][_0x76e5e7(0x38b)]['fetchThroughInterceptors'](this[_0x76e5e7(0x1b4)][_0x76e5e7(0x38b)][_0x76e5e7(0x1d0)]()[_0x76e5e7(0x2ca)])(_0x2a6529[_0x76e5e7(0x162)],null)||_0x2a6529[_0x76e5e7(0x162)],_0x24b39b={..._0x2a6529,'mutations':_0x329b9d};this[_0x76e5e7(0x113)](),this[_0x76e5e7(0x295)](this[_0x76e5e7(0x395)][_0x76e5e7(0x2cd)](_0x24b39b)),this[_0x76e5e7(0x90)]();}[_0x368389(0x312)](_0x1b4a13){var _0x227e4c=_0x368389;this[_0x227e4c(0x113)](),this[_0x227e4c(0x295)](this[_0x227e4c(0x395)][_0x227e4c(0x19e)](_0x1b4a13)),this[_0x227e4c(0x90)]();}[_0x368389(0xa5)](_0x59c8bd){var _0x230609=_0x368389;this[_0x230609(0x113)](),this[_0x230609(0x295)](this[_0x230609(0x395)][_0x230609(0x28a)](_0x59c8bd)),this[_0x230609(0x90)]();}[_0x368389(0x334)](_0x1207d2){var _0x4879d3=_0x368389;this[_0x4879d3(0x113)](),this[_0x4879d3(0x295)](this[_0x4879d3(0x395)][_0x4879d3(0x1df)](_0x1207d2)),this[_0x4879d3(0x90)]();}['_onFetchMissResult'](_0x51d518){var _0x150d0b=_0x368389;if(!(this[_0x150d0b(0x395)]instanceof ee))throw new TypeError(_0x150d0b(0x1ad));const _0x590dfe=_0x51d518[_0x150d0b(0x28c)](_0x172853=>{var _0x44bc59=_0x150d0b;const _0x2d310c=this[_0x44bc59(0x1b4)][_0x44bc59(0x38b)][_0x44bc59(0x2bc)](this['_compressMutationService']['interceptor'][_0x44bc59(0x1d0)]()[_0x44bc59(0x2ca)])(_0x172853[_0x44bc59(0x162)],null)||_0x172853[_0x44bc59(0x162)];return{..._0x172853,'mutations':_0x2d310c};});this['_lockTransition'](),this[_0x150d0b(0x295)](this[_0x150d0b(0x395)]['onMissedChangesetFetched'](_0x590dfe)),this[_0x150d0b(0x90)]();}[_0x368389(0x1d6)](){var _0x534d2d=_0x368389;this[_0x534d2d(0x113)](),this['_updateState'](this[_0x534d2d(0x395)][_0x534d2d(0x3a9)]()),this[_0x534d2d(0x90)]();}['_toggleOnline'](_0x458bf8=!0x1){var _0xeb7d57=_0x368389;this['_lockTransition'](),this[_0xeb7d57(0x295)](this['_state'][_0xeb7d57(0x329)]()),this['_unlockTransition']();const _0x554489=this[_0xeb7d57(0x395)];_0x458bf8&&_0x554489 instanceof be&&(this[_0xeb7d57(0x113)](),this[_0xeb7d57(0x295)](_0x554489[_0xeb7d57(0x211)]()),this[_0xeb7d57(0x90)]());}async['_createInitialState'](){return new Promise(_0x2d60ca=>{var _0x12ea41=_0x4f24;this['session'][_0x12ea41(0x350)]['pipe'](_0x4ebc57(0x1))[_0x12ea41(0x116)](async _0x57d889=>{var _0x54d83=_0x12ea41;_0x2d60ca(await this[_0x54d83(0x3a3)](_0x57d889===me[_0x54d83(0x17a)]));});});}['_createHandler'](){const _0x2827ef=this['unitID'];return{'onStateChange':(_0x3c15c9,_0xae0050)=>{var _0x5bcdda=_0x4f24;if(_0x3c15c9!==this[_0x5bcdda(0x395)])throw new Error(_0x5bcdda(0x20c)+_0x3c15c9[_0x5bcdda(0x9d)]+'\x0aAfter:\x20'+_0xae0050[_0x5bcdda(0x9d)]+_0x5bcdda(0x182)+this['_state'][_0x5bcdda(0x9d)]);this[_0x5bcdda(0x295)](_0xae0050);},'onSendChangeset':_0x59bdcc=>{var _0x317eb3=_0x4f24;_0x59bdcc[_0x317eb3(0x2cf)]||(_0x59bdcc['sid']=this[_0x317eb3(0x1f4)],_0x59bdcc[_0x317eb3(0xfe)]=++this[_0x317eb3(0x30a)]);const _0x24d22c={'eventID':_0x19843e[_0x317eb3(0x1a8)],'data':{'unitID':_0x59bdcc[_0x317eb3(0x1b5)],'unitType':this[_0x317eb3(0xa7)],'changeset':_0x59bdcc,'memberID':this[_0x317eb3(0x114)]['getMemberID']()}};this[_0x317eb3(0x114)][_0x317eb3(0x1bb)](_0x24d22c,this['unitID']);},'onMissingChangesets':({from:_0x304bc9,to:_0x3db2cb})=>{var _0x4bb82e=_0x4f24;this[_0x4bb82e(0x12b)][_0x4bb82e(0x2c3)](_0x4bb82e(0xc4),'fetching\x20missing\x20changesets\x20from\x20'+_0x304bc9+_0x4bb82e(0xca)+_0x3db2cb);const _0x2ec242={'eventID':_0x19843e[_0x4bb82e(0x14c)],'data':{'unitID':_0x2827ef,'unitType':this[_0x4bb82e(0xa7)],'from':_0x304bc9,'to':_0x3db2cb}};this[_0x4bb82e(0x114)]['send'](_0x2ec242,this[_0x4bb82e(0x1b5)]);}};}async[_0x368389(0x3a3)](_0x2a28fa){var _0x4e5136=_0x368389,_0x264319,_0x38d357,_0x21ac7f;const _0x5b74bc=await((_0x264319=this[_0x4e5136(0x307)])==null?void 0x0:_0x264319[_0x4e5136(0x1f9)](this[_0x4e5136(0x1b5)])),_0x41209d=(_0x38d357=_0x5b74bc==null?void 0x0:_0x5b74bc['mutations'])!=null?_0x38d357:[],_0x20fa2e=(_0x21ac7f=_0x5b74bc==null?void 0x0:_0x5b74bc['awaitingChangeset'])!=null?_0x21ac7f:null,_0x3eb193=!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0x2cf)])&&!!(_0x20fa2e!=null&&_0x20fa2e[_0x4e5136(0xfe)]);this['_changesetSessionId']=_0x3eb193?_0x20fa2e['sid']:_0x41b51c(),this[_0x4e5136(0x30a)]=_0x3eb193?_0x20fa2e[_0x4e5136(0xfe)]:0x0;const _0x517576=this[_0x4e5136(0x1b5)];try{this[_0x4e5136(0x1a3)](_0x20fa2e,_0x41209d);}catch(_0x11f96d){this[_0x4e5136(0x12b)][_0x4e5136(0x201)](_0x11f96d);}const _0x6d48e9=this[_0x4e5136(0x1e7)]();if(_0x2a28fa){const _0x59037=Ti(this[_0x4e5136(0x39e)],_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);return _0x59037 instanceof ae?_0x59037[_0x4e5136(0x262)]():(_0x59037 instanceof oe||_0x59037 instanceof le)&&_0x59037['resend'](),_0x59037;}return this['_injector'][_0x4e5136(0x37c)](de,_0x517576,this[_0x4e5136(0xa7)],_0x20fa2e,_0x41209d,_0x6d48e9);}[_0x368389(0x1a3)](_0x2a82b4,_0x45c407){var _0x2b8999=_0x368389,_0x4af4a4,_0x3d65db;const _0x2342d7=this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x2bc)](this[_0x2b8999(0x1b4)][_0x2b8999(0x38b)][_0x2b8999(0x1d0)]()['COMPRESS_MUTATION_APPLY']);(_0x4af4a4=_0x2342d7((_0x2a82b4==null?void 0x0:_0x2a82b4[_0x2b8999(0x162)])||[],null))==null||_0x4af4a4['forEach'](_0x346eac=>this['_commandService']['executeCommand'](_0x346eac['id'],_0x346eac[_0x2b8999(0x180)])),(_0x3d65db=_0x2342d7(_0x45c407||[],null))==null||_0x3d65db[_0x2b8999(0x20e)](_0x40faf6=>this[_0x2b8999(0x2d5)]['executeCommand'](_0x40faf6['id'],_0x40faf6[_0x2b8999(0x180)]));}};st=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],st);let It=class extends st{constructor(_0x4fee32,_0x479fa1,_0x1ee2e8,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e){var _0x11c9d4=_0x368389;super(_0x4fee32,_0x1ee2e8,_0x479fa1,_0x1dd924,_0x5c22c6,_0x1d07e1,_0x446424,_0x2c9046,_0x3e919e,_0x2eb275,_0x4df57c,_0x464497,_0x3ca1c0,_0x45ef1e),D(this,_0x11c9d4(0x310),null),(this['unitID']=_0x4fee32,this[_0x11c9d4(0xf0)]=_0x479fa1);}[_0x368389(0x2fe)](_0x2ace75){var _0x19a63e=_0x368389;this[_0x19a63e(0x310)]=_0x2ace75;}[_0x368389(0xc9)](){var _0x159d9a=_0x368389;this[_0x159d9a(0x310)]=null,super[_0x159d9a(0xc9)]();}[_0x368389(0x1e7)](){var _0x37f6b3=_0x368389;const _0x2e035e=super[_0x37f6b3(0x1e7)]();return _0x2e035e[_0x37f6b3(0x265)]=_0x13d924=>{var _0x1b02be=_0x37f6b3,_0x57083c,_0x2b55aa;return(_0x2b55aa=(_0x57083c=this[_0x1b02be(0x310)])==null?void 0x0:_0x57083c[_0x1b02be(0x265)])==null?void 0x0:_0x2b55aa['call'](_0x57083c,_0x13d924);},_0x2e035e[_0x37f6b3(0x309)]=_0x382a29=>{var _0x12ae85=_0x37f6b3,_0x1eee9b,_0x32609b;return(_0x32609b=(_0x1eee9b=this['_handlerCallback'])==null?void 0x0:_0x1eee9b['onTransformState'])==null?void 0x0:_0x32609b[_0x12ae85(0xf4)](_0x1eee9b,_0x382a29);},_0x2e035e['onTransformSelections']=_0x4e8a7b=>{var _0x4fdb93=_0x37f6b3,_0x28fbbd,_0x14d69a;return(_0x14d69a=(_0x28fbbd=this[_0x4fdb93(0x310)])==null?void 0x0:_0x28fbbd[_0x4fdb93(0x319)])==null?void 0x0:_0x14d69a[_0x4fdb93(0xf4)](_0x28fbbd,_0x4e8a7b);},_0x2e035e[_0x37f6b3(0xb1)]=_0x176ff9=>{var _0x4123a3=_0x37f6b3,_0x808d7,_0xf30f44;return(_0xf30f44=(_0x808d7=this[_0x4123a3(0x310)])==null?void 0x0:_0x808d7[_0x4123a3(0xb1)])==null?void 0x0:_0xf30f44[_0x4123a3(0xf4)](_0x808d7,_0x176ff9);},_0x2e035e[_0x37f6b3(0x276)]=_0x140070=>{var _0x5ab39a=_0x37f6b3,_0x57c327,_0x404d9d,_0x261090;if(!((_0x57c327=this[_0x5ab39a(0x310)])!=null&&_0x57c327[_0x5ab39a(0x276)]))throw new Error(_0x5ab39a(0x160));return(_0x261090=(_0x404d9d=this[_0x5ab39a(0x310)])==null?void 0x0:_0x404d9d['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x261090['call'](_0x404d9d,_0x140070);},_0x2e035e[_0x37f6b3(0x192)]=_0x5ea95c=>{var _0xac648c=_0x37f6b3,_0x37eba1,_0x31753a,_0x203c00;if(!((_0x37eba1=this['_handlerCallback'])!=null&&_0x37eba1[_0xac648c(0x192)]))throw new Error(_0xac648c(0x170));return(_0x203c00=(_0x31753a=this[_0xac648c(0x310)])==null?void 0x0:_0x31753a[_0xac648c(0x192)])==null?void 0x0:_0x203c00[_0xac648c(0xf4)](_0x31753a,_0x5ea95c);},_0x2e035e;}async[_0x368389(0x321)](){var _0x5d3b6a=_0x368389;const _0x3da388=await super[_0x5d3b6a(0x321)]();return this[_0x5d3b6a(0x2af)](this[_0x5d3b6a(0x2d5)]['onCommandExecuted']((_0xefb3ba,_0x44d966)=>{var _0x41f166=_0x5d3b6a;if(_0xefb3ba[_0x41f166(0xf0)]!==_0x5181b7['MUTATION']||_0x44d966!=null&&_0x44d966[_0x41f166(0x3b8)]||_0x44d966!=null&&_0x44d966[_0x41f166(0x153)]||_0xefb3ba['id']===_0x62620b['id'])return;const _0x2cdd04=_0xefb3ba[_0x41f166(0x180)];if((_0x2cdd04==null?void 0x0:_0x2cdd04[_0x41f166(0x32d)])!==this[_0x41f166(0x1b5)])return;const _0x56cc51=_0xefb3ba,_0x150e20=this[_0x41f166(0x1b4)]['interceptor'][_0x41f166(0x2bc)](this[_0x41f166(0x1b4)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x56cc51],this['_univerInstanceService'])||[_0x56cc51];this[_0x41f166(0x227)](_0x150e20[0x0]);})),_0x3da388;}};It=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(ve)),$(0x8,_0x558d3e),$(0x9,_0x21f6c3),$(0xa,_0xcdf754),$(0xb,_0x301d19),$(0xc,_0x5c10ac(_t)),$(0xd,_0x5c10ac(J))],It);let St=class extends st{constructor(_0xa3041c,_0x71b81a,_0x45c4c2,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x224985,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688){var _0x545623=_0x368389;super(_0xa3041c,_0x45c4c2,_0x71b81a,_0xf888b,_0x520553,_0x3fcc00,_0xf24cf5,_0x5e818a,_0x437ac2,_0x210583,_0x30b477,_0x4c8298,_0x368b77,_0x450688),this[_0x545623(0x1b5)]=_0xa3041c,this['type']=_0x71b81a,this['_sheetTransformSelectionsService']=_0x224985;}['_createHandler'](){var _0x2b966d=_0x368389;const _0x1ac937=super['_createHandler']();return _0x1ac937[_0x2b966d(0x319)]=_0x22d8f5=>this[_0x2b966d(0x347)][_0x2b966d(0x13b)](_0x22d8f5),_0x1ac937;}async[_0x368389(0x321)](){var _0x8ded9b=_0x368389;const _0x24e674=await super[_0x8ded9b(0x321)]();return this[_0x8ded9b(0x2af)](this[_0x8ded9b(0x2d5)]['onCommandExecuted']((_0x2db7a5,_0x35b630)=>{var _0xd6034=_0x8ded9b;if(_0x2db7a5[_0xd6034(0xf0)]!==_0x5181b7[_0xd6034(0x152)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x3b8)]||_0x35b630!=null&&_0x35b630[_0xd6034(0x153)])return;const _0x33bb3c=_0x2db7a5['params'];if((_0x33bb3c==null?void 0x0:_0x33bb3c['unitId'])!==this[_0xd6034(0x1b5)])return;const _0x481822=_0x2db7a5,_0x25aab9=this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x2bc)](this[_0xd6034(0x1b4)][_0xd6034(0x38b)][_0xd6034(0x1d0)]()[_0xd6034(0xa0)])([_0x481822],this[_0xd6034(0x14b)])||[_0x481822];this['_onLocalMutation'](_0x25aab9[0x0]);})),_0x24e674;}};St=At([$(0x3,_0x3ce8f0(_0x277f78)),$(0x4,_0x3ce8f0(_0x367c0f)),$(0x5,_0x3ce8f0(_0x3ebb61)),$(0x6,_0x3ce8f0(_0x5d15d6)),$(0x7,_0x3ce8f0(it)),$(0x8,_0x3ce8f0(ve)),$(0x9,_0x558d3e),$(0xa,_0x21f6c3),$(0xb,_0xcdf754),$(0xc,_0x301d19),$(0xd,_0x5c10ac(_t)),$(0xe,_0x5c10ac(J))],St);const Bs=_0xb11ef5('univer-pro.collaboration-client.network-condition.service');function Fs(_0x951a35){var _0x4e1ed1=_0x368389,_0x1d9690,_0x37ec55,_0x44a344,_0x355e8c,_0x183d96;const _0x192d76=_0x951a35['data'],_0x25e5f3=JSON[_0x4e1ed1(0x154)](_0x192d76);switch(_0x25e5f3['cmd']){case j[_0x4e1ed1(0x2ba)]:case j['HELLO']:{const _0x206c23=_0x25e5f3[_0x4e1ed1(0xbc)];return{..._0x25e5f3,'data':_0x206c23,'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};}case j[_0x4e1ed1(0x171)]:{const _0x37cea2=_0x25e5f3[_0x4e1ed1(0x2b3)];return{..._0x25e5f3,'data':_0x37cea2,'cmd':_0x25e5f3['cmd']};}case j[_0x4e1ed1(0x1f8)]:{const _0x33363b=_0x25e5f3[_0x4e1ed1(0x1e0)];switch(_0x33363b[_0x4e1ed1(0x159)]){case _0x19843e[_0x4e1ed1(0x238)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x1d9690=_0x33363b[_0x4e1ed1(0xb4)])==null?void 0x0:_0x1d9690['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1fe)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x37ec55=_0x33363b[_0x4e1ed1(0x24f)])==null?void 0x0:_0x37ec55['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x398)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x44a344=_0x33363b[_0x4e1ed1(0x3b9)])==null?void 0x0:_0x44a344['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x327)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x355e8c=_0x33363b['csRejEvent'])==null?void 0x0:_0x355e8c['cs']},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['CHANGESET_SHOULD_RETRY']:return{..._0x25e5f3,'data':{..._0x33363b,'data':(_0x183d96=_0x33363b[_0x4e1ed1(0xcc)])==null?void 0x0:_0x183d96['cs']},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_CURSOR']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x115)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x16e)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x218)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x3a7)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x143)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0xd4)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b['liveShareNewHost']},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x360)]:case _0x19843e[_0x4e1ed1(0x203)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xea)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['LIVESHARE_TERMINATE']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x197)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e[_0x4e1ed1(0x1b3)]:return{..._0x25e5f3,'data':_0x33363b,'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0x16a)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2b9)]},'cmd':_0x25e5f3['cmd']};case _0x19843e['UPDATE_PERMISSION_OBJ']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x2ae)]},'cmd':_0x25e5f3['cmd']};case _0x19843e[_0x4e1ed1(0xfc)]:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0xcf)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};case _0x19843e['UNISCRIPT_RUN']:return{..._0x25e5f3,'data':{..._0x33363b,'data':_0x33363b[_0x4e1ed1(0x1c1)]},'cmd':_0x25e5f3[_0x4e1ed1(0x14d)]};default:return _0x25e5f3;}}default:return _0x25e5f3;}}function js(_0x1d0296){var _0x138833=_0x368389;switch(_0x1d0296[_0x138833(0x14d)]){case j[_0x138833(0x2ba)]:case j[_0x138833(0x1cb)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)]});case j[_0x138833(0x15f)]:{let _0x530178;switch(_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]){case _0x19843e[_0x138833(0x15e)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x15e)],'updateCursorEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x3a7)]:{_0x530178={'eventID':_0x19843e['USERS_LEAVE'],'leaveEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x16e)]:{_0x530178={'eventID':_0x19843e['USERS_ENTER'],'joinEvent':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0xd4)]:{_0x530178={'eventID':_0x19843e[_0x138833(0xd4)],'liveShareNewHost':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x203)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x203)],'liveShareOperation':_0x1d0296[_0x138833(0x389)][_0x138833(0x389)]};break;}case _0x19843e[_0x138833(0x2ef)]:{_0x530178={'eventID':_0x19843e[_0x138833(0x2ef)],'liveShareTerminate':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0xa8)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1d0296['data']['data']};break;}case _0x19843e[_0x138833(0x360)]:{_0x530178={'eventID':_0x19843e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x530178={'eventID':_0x1d0296[_0x138833(0x389)][_0x138833(0x159)]};}return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296[_0x138833(0x14d)],'routeKey':_0x1d0296[_0x138833(0x30c)],'collaMsg':_0x530178});}case j[_0x138833(0x171)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'joinReq':_0x1d0296[_0x138833(0x389)]});case j[_0x138833(0x105)]:return JSON[_0x138833(0x2bd)]({'cmd':_0x1d0296['cmd'],'routeKey':_0x1d0296[_0x138833(0x30c)],'leaveReq':_0x1d0296[_0x138833(0x389)]});default:throw new Error(_0x138833(0x13e));}}var Vs=Object[_0x368389(0x284)],Gs=(_0x3e9db0,_0x11ac43,_0x11943a,_0x5604d3)=>{var _0x36858f=_0x368389;for(var _0xdf5115=_0x5604d3>0x1?void 0x0:_0x5604d3?Vs(_0x11ac43,_0x11943a):_0x11ac43,_0x344d59=_0x3e9db0[_0x36858f(0x3b7)]-0x1,_0x274d47;_0x344d59>=0x0;_0x344d59--)(_0x274d47=_0x3e9db0[_0x344d59])&&(_0xdf5115=_0x274d47(_0xdf5115)||_0xdf5115);return _0xdf5115;},ye=(_0xecec9e,_0x5de04f)=>(_0x4f20cc,_0x1ea51a)=>_0x5de04f(_0x4f20cc,_0x1ea51a,_0xecec9e);const Oi=_0xb11ef5('univer-pro.collaboration-client-socket-service');function Ws(_0x11f377,_0x3cc763,_0x4b2308){var _0x5a1dd5=_0x368389;return _0x11f377+'/'+_0x3cc763+_0x5a1dd5(0x10e)+_0x4b2308+_0x5a1dd5(0x3af);}let Gt=class extends _0x1b9234{constructor(_0x2982e1,_0x56769e,_0x5cfd75,_0x2dcaae,_0x4e220d){var _0x20edb8=_0x368389;super(),this[_0x20edb8(0x39e)]=_0x2982e1,this[_0x20edb8(0x342)]=_0x56769e,this[_0x20edb8(0xb8)]=_0x5cfd75,this[_0x20edb8(0x12b)]=_0x2dcaae,this['_snapshotServerService']=_0x4e220d;}[_0x368389(0xc3)](_0x4266a7){var _0x3284f1=_0x368389;const _0x59f042=this[_0x3284f1(0x39e)]['get'](_0x4c7d58);if(!_0x59f042)throw new Error(_0x3284f1(0x26d));const _0x1ab88e=_0x59f042[_0x3284f1(0xa9)](_0x4266a7);if(!_0x1ab88e)throw new Error(_0x3284f1(0x250));const _0x554ce3=new _0x488b39(),_0x3b1710=new _0x7c3fbd();_0x554ce3['add'](_0x1ab88e[_0x3284f1(0x39f)][_0x3284f1(0x116)](_0x2995e0=>_0x3b1710['next'](_0x2995e0))),_0x554ce3['add'](_0x58dc5a(()=>_0x3b1710[_0x3284f1(0x355)]()));const _0x53ff8b=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e['error$'][_0x3284f1(0x116)](_0x32afb5=>_0x53ff8b[_0x3284f1(0x29b)](_0x32afb5))),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x53ff8b[_0x3284f1(0x355)]()));const _0x49e940=new _0x7c3fbd();_0x554ce3[_0x3284f1(0x36c)](_0x1ab88e[_0x3284f1(0x357)][_0x3284f1(0x116)](_0x2386bb=>{const _0x407e8a=Fs(_0x2386bb);_0x49e940['next'](_0x407e8a);})),_0x554ce3[_0x3284f1(0x36c)](_0x58dc5a(()=>_0x49e940[_0x3284f1(0x355)]()));let _0x5ae432;const _0x3c0340=()=>{var _0x58f00f=_0x3284f1;_0x53ff8b[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x3b1710[_0x58f00f(0x29b)](new Event(_0x58f00f(0x2fc))),_0x5ae432[_0x58f00f(0x24b)]();};return _0x5ae432={'memberID':'','close$':_0x3b1710[_0x3284f1(0x166)](),'error$':_0x53ff8b[_0x3284f1(0x166)](),'open$':_0x1ab88e[_0x3284f1(0xc8)],'message$':_0x49e940[_0x3284f1(0x166)](),'send':_0x408adf=>{var _0x46ebbe=_0x3284f1;if(_0x408adf['cmd']===j[_0x46ebbe(0x15f)]){if(_0x408adf[_0x46ebbe(0x389)]['eventID']===_0x19843e[_0x46ebbe(0x1a8)]){this['_submitChangeset'](_0x5ae432,_0x408adf['data'])[_0x46ebbe(0x126)](_0x1db740=>{var _0x347bd6=_0x46ebbe;this[_0x347bd6(0x12b)]['error'](_0x1db740),_0x3c0340();});return;}if(_0x408adf['data'][_0x46ebbe(0x159)]===_0x19843e[_0x46ebbe(0x14c)]){const _0xf53386=_0x408adf[_0x46ebbe(0x389)];this[_0x46ebbe(0x128)](_0xf53386)[_0x46ebbe(0x117)](_0x528c6a=>{var _0x4a551b=_0x46ebbe;_0x49e940[_0x4a551b(0x29b)]({'cmd':j['RECV'],'code':pe['OK'],'routeKey':_0xf53386[_0x4a551b(0x389)][_0x4a551b(0x1b5)],'routeType':'','data':{'eventID':_0x19843e[_0x4a551b(0x205)],'data':{'changesets':_0x528c6a}}});})[_0x46ebbe(0x126)](_0x2432a=>{this['_logService']['error'](_0x2432a),_0x3c0340();});return;}}_0x1ab88e[_0x46ebbe(0x1bb)](js(_0x408adf));},'close':()=>{var _0x488392=_0x3284f1;_0x1ab88e[_0x488392(0x24b)](),_0x554ce3['dispose']();}},_0x5ae432;}async[_0x368389(0x28f)](_0x3057fa,_0x5b5fb3){var _0x3bb12b=_0x368389,_0x2763a1;const {unitType:_0x1f7f68,unitID:_0x5b8038,changeset:_0x336b63}=_0x5b5fb3['data'],_0x2a41be={'unitID':_0x5b8038,'memberID':_0x3057fa[_0x3bb12b(0x2f0)],'type':_0x1f7f68,'changeset':_0x739362(_0x336b63)},_0x396b2f=this['_configService'][_0x3bb12b(0x19b)](K),_0x5be512=Ws((_0x2763a1=_0x396b2f==null?void 0x0:_0x396b2f[_0x3bb12b(0xf6)])!=null?_0x2763a1:Os,_0x1f7f68,_0x5b8038);try{await this[_0x3bb12b(0x342)]['post'](_0x5be512,{'body':_0x2a41be});}catch(_0x3d3c79){throw this[_0x3bb12b(0x12b)][_0x3bb12b(0x201)](_0x3bb12b(0x24d),_0x3bb12b(0x1af)),_0x3d3c79;}}async[_0x368389(0x128)](_0x2b6856){var _0x48532a=_0x368389;const {unitID:_0x5db0f9,from:_0x491bcb,to:_0x539fd3,unitType:_0xc4bfa3}=_0x2b6856[_0x48532a(0x389)];return(await this['_snapshotServerService'][_0x48532a(0x134)]({'metadata':void 0x0},{'unitID':_0x5db0f9,'type':_0xc4bfa3,'from':_0x491bcb,'to':_0x539fd3}))[_0x48532a(0x390)]['map'](_0x3769a8=>((_0x3769a8['mutations']===null||_0x3769a8['mutations']===void 0x0)&&(_0x3769a8[_0x48532a(0x162)]=[]),_0x3769a8));}};Gt=Gs([ye(0x0,_0x3ce8f0(_0x277f78)),ye(0x1,_0x3ce8f0(_0x5dc9e9)),ye(0x2,_0x3c30e0),ye(0x3,_0x21f6c3),ye(0x4,_0x2a795b)],Gt);var Ys=Object[_0x368389(0x284)],Ks=(_0x3e2d47,_0x502ec3,_0x1727d4,_0x1d8dae)=>{var _0x3940e7=_0x368389;for(var _0x49c189=_0x1d8dae>0x1?void 0x0:_0x1d8dae?Ys(_0x502ec3,_0x1727d4):_0x502ec3,_0x181dc6=_0x3e2d47[_0x3940e7(0x3b7)]-0x1,_0x3e096c;_0x181dc6>=0x0;_0x181dc6--)(_0x3e096c=_0x3e2d47[_0x181dc6])&&(_0x49c189=_0x3e096c(_0x49c189)||_0x49c189);return _0x49c189;},Re=(_0x13d418,_0x4b6cbe)=>(_0x3419d7,_0x1622c6)=>_0x4b6cbe(_0x3419d7,_0x1622c6,_0x13d418);let we=class extends _0x1b9234{constructor(_0x392462,_0xde7bf5,_0x2c82bb,_0x15ad15,_0x4fa3ef,_0xaac480){var _0x523445=_0x368389;super(),D(this,'_socket$',new _0x1593ab(void 0x0)),D(this,_0x523445(0x37a),this['_socket$'][_0x523445(0x166)]()),D(this,'_candidateSocket',null),D(this,_0x523445(0x1b8),new Map()),D(this,_0x523445(0x32c),new _0x1593ab(me[_0x523445(0x2aa)])),D(this,_0x523445(0x320),this['_status$']['asObservable']()),D(this,'_socketReady',!0x1),D(this,_0x523445(0x1be)),D(this,_0x523445(0x26a),0x0),D(this,_0x523445(0x396)),D(this,_0x523445(0x3aa)),(this[_0x523445(0x39e)]=_0x392462,this[_0x523445(0x12b)]=_0xde7bf5,this[_0x523445(0xb8)]=_0x2c82bb,this[_0x523445(0x15b)]=_0x15ad15,this['_collaborationUIEventService']=_0x4fa3ef,this[_0x523445(0x16b)]=_0xaac480,this[_0x523445(0x233)]());}get[_0x368389(0x31e)](){var _0x39da6c=_0x368389;return this[_0x39da6c(0x332)]['getValue']();}[_0x368389(0x233)](){var _0x3aad98=_0x368389;this[_0x3aad98(0x16b)]&&this[_0x3aad98(0x2af)](this[_0x3aad98(0x16b)][_0x3aad98(0x18d)]['subscribe'](_0x553e85=>{var _0x24e9e4=_0x3aad98;_0x553e85&&!this[_0x24e9e4(0x31e)]&&this['reconnect'](),_0x553e85||this[_0x24e9e4(0x2e0)]();}));}[_0x368389(0xc9)](){var _0x47d102=_0x368389;super[_0x47d102(0xc9)](),this['_clearRetryConnectingTimer'](),this[_0x47d102(0x2a6)](),this['_clearHeartbeatTimer'](),this[_0x47d102(0x1b8)][_0x47d102(0x20e)](_0x196a45=>_0x196a45['dispose']()),this[_0x47d102(0x1b8)][_0x47d102(0x183)](),this[_0x47d102(0x32c)][_0x47d102(0x355)]();}async[_0x368389(0x32f)](_0x4e5a65){var _0x4ef512=_0x368389;if(this[_0x4ef512(0x1b8)][_0x4ef512(0x274)](_0x4e5a65))return this[_0x4ef512(0x1b8)]['get'](_0x4e5a65);this[_0x4ef512(0xdc)]();const _0x47ef95=this[_0x4ef512(0x39e)][_0x4ef512(0x37c)](mt,_0x4e5a65,this['_socket$'][_0x4ef512(0x166)]());return this[_0x4ef512(0x1b8)][_0x4ef512(0x3ac)](_0x4e5a65,_0x47ef95),_0x47ef95;}[_0x368389(0x245)](_0x4d5bc6){var _0x7a33fb=_0x368389,_0x1eba8c;const _0x5f2c5b=this[_0x7a33fb(0x1b8)][_0x7a33fb(0x187)](_0x4d5bc6);_0x5f2c5b&&(this[_0x7a33fb(0x1b8)][_0x7a33fb(0x298)](_0x4d5bc6),_0x5f2c5b[_0x7a33fb(0x24b)]()),this[_0x7a33fb(0x1b8)][_0x7a33fb(0x336)]||(_0x1eba8c=this[_0x7a33fb(0x31e)])==null||_0x1eba8c[_0x7a33fb(0x24b)]();}[_0x368389(0x371)](){var _0x407748=_0x368389;this[_0x407748(0x26a)]=0x0,this[_0x407748(0xef)](),this[_0x407748(0x2e5)]();}['_clearRetryConnectingTimer'](){this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null);}async[_0x368389(0x3ad)](){var _0xd6989=_0x368389,_0x68ef11;const _0x2e0010=this['_configService'][_0xd6989(0x19b)](K),_0x577b99=(_0x68ef11=_0x2e0010==null?void 0x0:_0x2e0010['collabWebSocketUrl'])!=null?_0x68ef11:Es,_0x472f68=await this[_0xd6989(0x15b)][_0xd6989(0xa9)](_0x577b99);return this[_0xd6989(0x3b2)]=_0x472f68,_0x472f68;}async[_0x368389(0xdc)](){var _0x1cacec=_0x368389,_0x5d9c5d,_0x55ccd3;try{const _0x56268d=(_0x55ccd3=(_0x5d9c5d=this[_0x1cacec(0x31e)])!=null?_0x5d9c5d:this[_0x1cacec(0x3b2)])!=null?_0x55ccd3:await this['_createSocket']();if(_0x56268d){const _0x17ad83=_0x56268d[_0x1cacec(0x1bb)];_0x56268d[_0x1cacec(0x1bb)]=_0x3bd77f=>(this[_0x1cacec(0x2e4)](),_0x17ad83['apply'](_0x56268d,[_0x3bd77f])),_0x56268d[_0x1cacec(0x357)][_0x1cacec(0x116)](_0x413317=>this[_0x1cacec(0x9a)](_0x56268d,_0x413317)),_0x56268d[_0x1cacec(0x33e)][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1cca7b=>this['_logService'][_0x1cacec(0x201)](_0x1cacec(0xe4),_0x1cca7b)),_0x56268d[_0x1cacec(0xc8)]['pipe'](_0x1d30d3(0x1))['subscribe'](()=>{var _0x1b3a0b=_0x1cacec;this[_0x1b3a0b(0x1ff)](_0x56268d);}),_0x56268d['close$'][_0x1cacec(0x279)](_0x1d30d3(0x1))[_0x1cacec(0x116)](_0x1f024a=>{var _0x4d624e=_0x1cacec;this[_0x4d624e(0x12b)][_0x4d624e(0x2c3)]('[CollaborationSessionService]',_0x4d624e(0x147),_0x1f024a),this[_0x4d624e(0x1c8)]();});}}catch(_0x2e0139){this[_0x1cacec(0x12b)][_0x1cacec(0x201)](_0x2e0139),this['_onConnectionFailed']();}}[_0x368389(0x1ff)](_0x5e7454){var _0x1ed62b=_0x368389;this[_0x1ed62b(0x12b)][_0x1ed62b(0x2c3)](_0x1ed62b(0x18e),_0x1ed62b(0xb6)),_0x5e7454['send']({'cmd':j[_0x1ed62b(0x1cb)]}),this[_0x1ed62b(0x2e4)]();}[_0x368389(0x2e0)](){var _0x76246=_0x368389;this[_0x76246(0x299)]=!0x1,this[_0x76246(0x3b2)]=null,this[_0x76246(0x32c)][_0x76246(0x29b)](me[_0x76246(0x10a)]),this[_0x76246(0x332)][_0x76246(0x29b)](null),this[_0x76246(0x2a6)](),this[_0x76246(0x1cf)]();}['_onConnectionFailed'](){var _0x52bd7f=_0x368389,_0x1b6e73;this['_onOffline'](),this[_0x52bd7f(0x26a)]<((_0x1b6e73=this['_configService'][_0x52bd7f(0x19b)](gs))!=null?_0x1b6e73:Ts)?(this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x22e)]}),this['_tryReconnect']()):this[_0x52bd7f(0x367)][_0x52bd7f(0x3b6)]({'id':re[_0x52bd7f(0x23f)]});}['_tryReconnect'](){var _0x42294b=_0x368389,_0x4fbc40;const _0x1c1534=this[_0x42294b(0x26a)],_0x59d568=this['_configService'][_0x42294b(0x19b)](K),_0x1002f8=_0x1c1534===0x0?0x0:((_0x4fbc40=_0x59d568==null?void 0x0:_0x59d568[_0x42294b(0x254)])!=null?_0x4fbc40:Ss)*0x2**_0x1c1534;this['_retryConnectingTimer']=setTimeout(()=>{var _0x2432bc=_0x42294b;clearTimeout(this['_retryConnectingTimer']),this[_0x2432bc(0x1be)]=null,this[_0x2432bc(0xdc)]();},_0x1002f8),this[_0x42294b(0x26a)]+=0x1;}[_0x368389(0x9a)](_0x5a7d94,_0x490d2d){var _0x1c6646=_0x368389;const {cmd:_0x3f847f}=_0x490d2d;_0x3f847f===j[_0x1c6646(0x1cb)]&&!this[_0x1c6646(0x299)]&&(_0x5a7d94[_0x1c6646(0x2f0)]=_0x490d2d['data']['memberID'],this['_socket$'][_0x1c6646(0x29b)](_0x5a7d94),this[_0x1c6646(0x32c)][_0x1c6646(0x29b)](me[_0x1c6646(0x17a)]),this['_socketReady']=!0x0,this[_0x1c6646(0x3b2)]=null),_0x3f847f===j[_0x1c6646(0x2ba)]&&this[_0x1c6646(0x2a6)](),this[_0x1c6646(0x2e4)]();}[_0x368389(0x2e4)](){var _0x46e694=_0x368389,_0x2854ef;this[_0x46e694(0x1cf)](),this[_0x46e694(0x396)]=setTimeout(()=>this[_0x46e694(0x1ea)](),(_0x2854ef=this[_0x46e694(0xb8)][_0x46e694(0x19b)](ms))!=null?_0x2854ef:Is);}[_0x368389(0x1ea)](){var _0x478bca=_0x368389;this['_socket'][_0x478bca(0x1bb)]({'cmd':j[_0x478bca(0x2ba)]}),this[_0x478bca(0x98)]();}[_0x368389(0x98)](){var _0x5710e4=_0x368389,_0x331018;this[_0x5710e4(0x3aa)]=setTimeout(()=>this[_0x5710e4(0x1c8)](),(_0x331018=this[_0x5710e4(0xb8)][_0x5710e4(0x19b)](di))!=null?_0x331018:fi);}[_0x368389(0x1cf)](){var _0xebd692=_0x368389;this[_0xebd692(0x396)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xebd692(0x396)]=null);}[_0x368389(0x2a6)](){var _0x950408=_0x368389;this[_0x950408(0x3aa)]!=null&&(clearTimeout(this[_0x950408(0x3aa)]),this[_0x950408(0x3aa)]=null);}};we=Ks([Re(0x0,_0x3ce8f0(_0x277f78)),Re(0x1,_0x21f6c3),Re(0x2,_0x3c30e0),Re(0x3,Oi),Re(0x4,_0x3ce8f0(ve)),Re(0x5,_0x5c10ac(Bs))],we);var qs=Object['getOwnPropertyDescriptor'],zs=(_0x1d9823,_0x22c6e4,_0x599b22,_0x347e33)=>{var _0x3a6e03=_0x368389;for(var _0x39924d=_0x347e33>0x1?void 0x0:_0x347e33?qs(_0x22c6e4,_0x599b22):_0x22c6e4,_0x360afd=_0x1d9823[_0x3a6e03(0x3b7)]-0x1,_0x540ed7;_0x360afd>=0x0;_0x360afd--)(_0x540ed7=_0x1d9823[_0x360afd])&&(_0x39924d=_0x540ed7(_0x39924d)||_0x39924d);return _0x39924d;},Be=(_0x29c207,_0x14457c)=>(_0x57c321,_0x50cb34)=>_0x14457c(_0x57c321,_0x50cb34,_0x29c207);let nt=class extends _0x4eb61d{constructor(_0x54bc02,_0x5d7283,_0x1da033,_0x449554){var _0x5208dd=_0x368389,_0x25d89e;super(),D(this,_0x5208dd(0x1d9),new Map()),D(this,_0x5208dd(0x1eb),new _0x7c3fbd()),D(this,_0x5208dd(0x16d),this['_entityInit$']['asObservable']()),(this[_0x5208dd(0x39e)]=_0x54bc02,this[_0x5208dd(0x399)]=_0x5d7283,this[_0x5208dd(0xb8)]=_0x1da033,this[_0x5208dd(0x14b)]=_0x449554,((_0x25d89e=this[_0x5208dd(0xb8)][_0x5208dd(0x19b)](K))==null?void 0x0:_0x25d89e[_0x5208dd(0x2ed)])!==!0x1&&this[_0x5208dd(0x321)]());}['dispose'](){var _0x30b373=_0x368389;super['dispose'](),this[_0x30b373(0x1d9)][_0x30b373(0x20e)](_0x365ed2=>_0x365ed2[_0x30b373(0xc9)]()),this[_0x30b373(0x1d9)][_0x30b373(0x183)]();}[_0x368389(0x2a1)](_0x184820){var _0x57c59d=_0x368389,_0x196c31;return(_0x196c31=this['_entities'][_0x57c59d(0x187)](_0x184820))!=null?_0x196c31:null;}['getCollabEntity$'](_0xd2a16a){var _0x143a38=_0x368389;const _0x44f4e0=this[_0x143a38(0x2a1)](_0xd2a16a);return _0x44f4e0?_0x1da45a(_0x44f4e0):this[_0x143a38(0x1eb)]['pipe'](_0x21e8b1(_0x21b877=>_0x21b877[_0x143a38(0x1b5)]===_0xd2a16a));}[_0x368389(0x1d2)](_0x5d79be){var _0x6d8e3d=_0x368389;return _0x449e39(this[_0x6d8e3d(0x257)](_0x5d79be)['pipe'](_0x1b47e7(()=>{})));}[_0x368389(0x321)](){var _0x79689=_0x368389;this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b[_0x79689(0x305)])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x116)](async _0xc6aa1e=>{var _0x430bd1=_0x79689;const _0x4c7cac=_0xc6aa1e[_0x430bd1(0x22c)](),_0x3b1be0=await this[_0x430bd1(0x1e8)](_0x4c7cac,Q[_0x430bd1(0x305)]);this['_entities'][_0x430bd1(0x3ac)](_0x4c7cac,_0x3b1be0);}),this[_0x79689(0x14b)][_0x79689(0x2ad)](_0x16572b['UNIVER_DOC'])[_0x79689(0x279)](_0x204187(this[_0x79689(0x29d)]),_0x59b9d5(0x10))[_0x79689(0x279)](_0x21e8b1(_0x2a81ab=>!_0x2a81ab[_0x79689(0x22c)]()[_0x79689(0x35d)]('__')))[_0x79689(0x116)](async _0x15bdba=>{var _0x394a81=_0x79689;const _0x355d2b=_0x15bdba['getUnitId'](),_0x5dd93d=await this[_0x394a81(0x1e8)](_0x355d2b,Q[_0x394a81(0x36a)]);this[_0x394a81(0x1d9)][_0x394a81(0x3ac)](_0x355d2b,_0x5dd93d);}),_0x1ca221(this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b[_0x79689(0x305)]),this[_0x79689(0x14b)][_0x79689(0xb5)](_0x16572b['UNIVER_DOC']))[_0x79689(0x279)](_0x204187(this['dispose$']))[_0x79689(0x116)](_0x4e7c57=>{var _0x55d805=_0x79689;const _0x562eb6=_0x4e7c57['getUnitId'](),_0x2ac0d5=this[_0x55d805(0x1d9)][_0x55d805(0x187)](_0x562eb6);_0x2ac0d5&&(_0x2ac0d5[_0x55d805(0xc9)](),this[_0x55d805(0x1d9)]['delete'](_0x562eb6));});}async['_startCollaboration'](_0x3dbf3b,_0x28668f){var _0xe74cf3=_0x368389;const _0x3dfbda=await this[_0xe74cf3(0x399)]['requireSession'](_0x3dbf3b),_0x365e97=this[_0xe74cf3(0x39e)][_0xe74cf3(0x37c)](this[_0xe74cf3(0x10f)](_0x28668f),_0x3dbf3b,_0x28668f,_0x3dfbda);return await _0x365e97[_0xe74cf3(0x3b3)](),this['_entityInit$'][_0xe74cf3(0x29b)](_0x365e97),_0x365e97;}[_0x368389(0x10f)](_0x3bba68){var _0xd9e0d3=_0x368389;switch(_0x3bba68){case Q[_0xd9e0d3(0x36a)]:return It;case Q[_0xd9e0d3(0x305)]:return St;default:throw new Error(_0xd9e0d3(0x200)+_0x3bba68);}}};nt=zs([Be(0x0,_0x3ce8f0(_0x277f78)),Be(0x1,_0x3ce8f0(we)),Be(0x2,_0x3c30e0),Be(0x3,_0x558d3e)],nt);var Js=Object[_0x368389(0x284)],Xs=(_0x14a0c2,_0x1d8da2,_0x11a9cf,_0x1353fe)=>{var _0x2d3c4d=_0x368389;for(var _0x3495bd=_0x1353fe>0x1?void 0x0:_0x1353fe?Js(_0x1d8da2,_0x11a9cf):_0x1d8da2,_0x51843b=_0x14a0c2[_0x2d3c4d(0x3b7)]-0x1,_0x21c09c;_0x51843b>=0x0;_0x51843b--)(_0x21c09c=_0x14a0c2[_0x51843b])&&(_0x3495bd=_0x21c09c(_0x3495bd)||_0x3495bd);return _0x3495bd;},Wt=(_0x25399f,_0x53d467)=>(_0x37c4b2,_0x271619)=>_0x53d467(_0x37c4b2,_0x271619,_0x25399f);const Zs=_0x368389(0x2c1),Qs='Univer';let gt=class extends _0x1b9234{constructor(_0x5ad05e,_0x53796d){var _0x273662=_0x368389;super(),this[_0x273662(0x14b)]=_0x5ad05e,this[_0x273662(0xb8)]=_0x53796d,this[_0x273662(0x321)]();}['_init'](){var _0x54c51f=_0x368389;this[_0x54c51f(0x2af)](this['_univerInstanceService'][_0x54c51f(0x20f)][_0x54c51f(0x116)](()=>{var _0x3e92fb=_0x54c51f,_0x3ce1a7;const _0x463333=this[_0x3e92fb(0x14b)][_0x3e92fb(0x37f)]();let _0x3a2228=(_0x3ce1a7=this[_0x3e92fb(0xb8)][_0x3e92fb(0x19b)](Zs))!=null?_0x3ce1a7:Qs;_0x463333 instanceof _0x40ade1&&(_0x3a2228=_0x463333[_0x3e92fb(0xd9)]),document[_0x3e92fb(0x27c)]=_0x3a2228;}));}};gt=Xs([Wt(0x0,_0x558d3e),Wt(0x1,_0x3c30e0)],gt);var en=Object[_0x368389(0x284)],tn=(_0x1b77eb,_0x36a42b,_0x2e841a,_0x39be4d)=>{var _0x2062da=_0x368389;for(var _0x588447=_0x39be4d>0x1?void 0x0:_0x39be4d?en(_0x36a42b,_0x2e841a):_0x36a42b,_0x163495=_0x1b77eb[_0x2062da(0x3b7)]-0x1,_0x56542c;_0x163495>=0x0;_0x163495--)(_0x56542c=_0x1b77eb[_0x163495])&&(_0x588447=_0x56542c(_0x588447)||_0x588447);return _0x588447;},dt=(_0x55846c,_0x73d5d)=>(_0x33d167,_0x285b39)=>_0x73d5d(_0x33d167,_0x285b39,_0x55846c);let rt=class{constructor(_0x51dcf4,_0x9e8ab1,_0x5289b2){var _0x3bb3e8=_0x368389;this['_configService']=_0x51dcf4,this[_0x3bb3e8(0x342)]=_0x9e8ab1,this[_0x3bb3e8(0xd3)]=_0x5289b2,this['init']();}[_0x368389(0x3b3)](){var _0x10b0dd=_0x368389;this[_0x10b0dd(0x342)][_0x10b0dd(0x287)]({'priority':0x1,'interceptor':(_0x54ba21,_0x37e51a)=>_0x37e51a(_0x54ba21)[_0x10b0dd(0x279)](_0xc62b48(async _0x22b4dc=>{var _0x155c84=_0x10b0dd;const _0x1112a2=_0x22b4dc;if(_0x1112a2[_0x155c84(0x9d)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x155c84(0xd3)]['t'](_0x155c84(0x1dc)))){const _0x12b001=window[_0x155c84(0x224)](window['location'][_0x155c84(0x24a)]);window[_0x155c84(0x33a)][_0x155c84(0x24a)]=this[_0x155c84(0x14f)]()+_0x155c84(0x383)+_0x12b001;}}return _0x1112a2;}))});}[_0x368389(0x14f)](){var _0x2c8ebf=_0x368389,_0x4a0ee0;const _0x2e637b=this['_configService']['getConfig'](K);return(_0x4a0ee0=_0x2e637b==null?void 0x0:_0x2e637b[_0x2c8ebf(0x393)])!=null?_0x4a0ee0:Rs;}};rt=tn([dt(0x0,_0x3c30e0),dt(0x1,_0x3ce8f0(_0x5dc9e9)),dt(0x2,_0x3ce8f0(_0x3ebb61))],rt);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x51446d,_0x5b59a0,_0x5531da,_0x4a2bbf)=>{var _0x4a9c49=_0x368389;for(var _0x34e565=_0x4a2bbf>0x1?void 0x0:_0x4a2bbf?sn(_0x5b59a0,_0x5531da):_0x5b59a0,_0xd2f0f=_0x51446d[_0x4a9c49(0x3b7)]-0x1,_0x4d2bfd;_0xd2f0f>=0x0;_0xd2f0f--)(_0x4d2bfd=_0x51446d[_0xd2f0f])&&(_0x34e565=_0x4d2bfd(_0x34e565)||_0x34e565);return _0x34e565;},Yt=(_0x486597,_0x8f44dd)=>(_0x193a25,_0x387bc1)=>_0x8f44dd(_0x193a25,_0x387bc1,_0x486597);const rn=_0x368389(0x142);let Tt=class extends _0x1b9234{constructor(_0x22b2f5,_0x5b8611){var _0x40336d=_0x368389;super(),this[_0x40336d(0x27b)]=_0x22b2f5,this[_0x40336d(0xb8)]=_0x5b8611,this[_0x40336d(0x2c0)]();}[_0x368389(0x2c0)](){var _0x243b53=_0x368389;const _0x7ff0d0=this;this[_0x243b53(0x2af)](this[_0x243b53(0x27b)][_0x243b53(0x287)]({'priority':0x3e7,'interceptor':_0x42bfc0({'isMatch'(_0x49a29d){var _0x18e57a=_0x243b53,_0xacd155;if(_0x49a29d['method']===_0x18e57a(0x198)&&((_0xacd155=_0x49a29d[_0x18e57a(0x2b0)])!=null&&_0xacd155[_0x18e57a(0x369)])){const {objectID:_0x25b13f,objectType:_0x549edc}=_0x49a29d[_0x18e57a(0x2b0)][_0x18e57a(0x369)]||{};if(!_0x25b13f||_0x549edc===void 0x0)return!0x1;const _0x24e579=_0x7ff0d0[_0x18e57a(0x172)]()+'/'+_0x549edc+_0x18e57a(0x3a2)+_0x25b13f+_0x18e57a(0x2d7);if(_0x49a29d[_0x18e57a(0x1c9)]===_0x24e579)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x559fa9){var _0x83472b=_0x243b53,_0x462f55;return(_0x462f55=_0x559fa9[_0x83472b(0x2b0)])==null?void 0x0:_0x462f55[_0x83472b(0x369)];},'mergeParamsToRequest'(_0xa70db4,_0x2cc2c2){var _0x8df8bc=_0x243b53;const _0x2370ba=_0x7ff0d0[_0x8df8bc(0x172)]()+_0x8df8bc(0x234),_0xdd3333=_0xa70db4[_0x8df8bc(0x194)]((_0x3c3ed8,_0x4b6f11)=>{var _0x52213c=_0x8df8bc;const {unitID:_0x11f58a,objectID:_0x90c94f,objectType:_0x594b65,actions:_0x426dcc}=_0x4b6f11;return _0x3c3ed8[_0x11f58a]||(_0x3c3ed8[_0x11f58a]={}),_0x3c3ed8[_0x11f58a][_0x90c94f]||(_0x3c3ed8[_0x11f58a][_0x90c94f]={'objectID':_0x90c94f,'objectType':_0x594b65,'actions':[]}),_0x3c3ed8[_0x11f58a][_0x90c94f][_0x52213c(0x385)]['push'](..._0x426dcc),_0x3c3ed8;},{}),_0x32f1cd=[];for(const _0x53edc6 in _0xdd3333)for(const _0x2bd65f in _0xdd3333[_0x53edc6]){const {actions:_0x428f41,objectType:_0x4975e3}=_0xdd3333[_0x53edc6][_0x2bd65f],_0x1a56cd=[...new Set(_0x428f41)];_0x32f1cd[_0x8df8bc(0x291)]({'unitID':_0x53edc6,'objectID':_0x2bd65f,'objectType':_0x4975e3,'actions':_0x1a56cd});}return new _0x29f0e3(_0x8df8bc(0x198),_0x2370ba,{'headers':_0x2cc2c2[_0x8df8bc(0x177)],'withCredentials':_0x2cc2c2[_0x8df8bc(0x151)],'responseType':_0x2cc2c2[_0x8df8bc(0x14a)],'body':{'requests':_0x32f1cd}});}},{'distributeResult'(_0x4e5a8d,_0x3d84f6){var _0x198855=_0x243b53;const {objectActions:_0x3e12cf}=_0x4e5a8d;return _0x3d84f6[_0x198855(0x28c)](_0x5252da=>{var _0xef5ac1=_0x198855;const {unitID:_0x121a85,objectID:_0x349326,actions:_0xbd3c4f}=_0x5252da,_0x3bda18=_0x3e12cf[_0xef5ac1(0x36d)](_0x244967=>_0x244967[_0xef5ac1(0x1b5)]===_0x121a85&&_0x244967[_0xef5ac1(0x237)]===_0x349326),_0x3921d6=_0xbd3c4f[_0xef5ac1(0x28c)](_0x28a019=>_0x3bda18==null?void 0x0:_0x3bda18[_0xef5ac1(0x385)][_0xef5ac1(0x36d)](_0x40fa4d=>_0x40fa4d[_0xef5ac1(0xf2)]===_0x28a019))[_0xef5ac1(0x39d)](_0x97cc1b=>!!_0x97cc1b);return{'config':_0x5252da,'result':{'actions':_0x3921d6,'error':_0x4e5a8d[_0xef5ac1(0x201)]}};});}})}));}[_0x368389(0x172)](){var _0x3f762e=_0x368389,_0x5c4c6c;const _0x18ea1a=this[_0x3f762e(0xb8)]['getConfig'](K);return(_0x5c4c6c=_0x18ea1a==null?void 0x0:_0x18ea1a['authzUrl'])!=null?_0x5c4c6c:rn;}async[_0x368389(0x25f)](_0x5f4a6d){var _0x3677a5=_0x368389;const _0x3e9010=this[_0x3677a5(0x172)]()+'/'+_0x5f4a6d[_0x3677a5(0x345)]+_0x3677a5(0x2a4);return(await this[_0x3677a5(0x27b)][_0x3677a5(0x13c)](_0x3e9010,{'body':_0x5f4a6d}))[_0x3677a5(0x369)][_0x3677a5(0x237)]||'';}async['list'](_0x170e68){var _0x25f546=_0x368389;const _0x2fb622=this[_0x25f546(0x172)]()+_0x25f546(0x163);return(await this[_0x25f546(0x27b)]['post'](_0x2fb622,{'body':_0x170e68}))[_0x25f546(0x369)][_0x25f546(0x138)];}async[_0x368389(0x188)](_0x2ae1c5){var _0x446635=_0x368389,_0x64d96b,_0x2b58d5;const _0x6fd751=this['_getAPIPrefixPath']()+'/'+_0x2ae1c5[_0x446635(0x345)]+_0x446635(0x3a2)+_0x2ae1c5[_0x446635(0x237)],_0x3d601a=await this[_0x446635(0x27b)]['put'](_0x6fd751,{'body':_0x2ae1c5});if(((_0x2b58d5=(_0x64d96b=_0x3d601a==null?void 0x0:_0x3d601a[_0x446635(0x369)])==null?void 0x0:_0x64d96b[_0x446635(0x201)])==null?void 0x0:_0x2b58d5[_0x446635(0xa3)])!==0x1)throw new Error(_0x446635(0x2c7));}async[_0x368389(0x2df)](_0x3ff865){var _0x3c7878=_0x368389;const _0x5bf288=this['_getAPIPrefixPath']()+'/'+_0x3ff865[_0x3c7878(0x345)]+_0x3c7878(0x3a2)+_0x3ff865['objectID']+'/allowed';return(await this[_0x3c7878(0x27b)][_0x3c7878(0x13c)](_0x5bf288,{'body':_0x3ff865}))['body'][_0x3c7878(0x385)];}async[_0x368389(0x22f)](_0x500388){var _0x5d7ac1=_0x368389;const _0x4e6613=this[_0x5d7ac1(0x172)]()+_0x5d7ac1(0x234);return(await this['_HTTPService']['post'](_0x4e6613,{'body':{'requests':_0x500388}}))[_0x5d7ac1(0x369)][_0x5d7ac1(0x18f)];}async['listRoles'](_0xfa6429){var _0x1e8b8b=_0x368389;const _0x35b30a=this[_0x1e8b8b(0x172)]()+'/'+_0xfa6429['objectType']+_0x1e8b8b(0x2a3),_0x3d3a36=await this[_0x1e8b8b(0x27b)][_0x1e8b8b(0x13c)](_0x35b30a,{'body':_0xfa6429});return{'roles':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x1c7)],'actions':_0x3d3a36[_0x1e8b8b(0x369)][_0x1e8b8b(0x385)]};}async[_0x368389(0x1fc)](_0x5775a1){var _0x4714d2=_0x368389;const _0x5486be=this[_0x4714d2(0x172)]()+'/collaborator';await this[_0x4714d2(0x27b)][_0x4714d2(0x298)](_0x5486be,{'params':{'collaboratorID':_0x5775a1[_0x4714d2(0xad)],'objectID':_0x5775a1[_0x4714d2(0x237)],'unitID':_0x5775a1[_0x4714d2(0x1b5)]}});}async[_0x368389(0x181)](_0x4a092c){var _0xc7d16b=_0x368389;const _0x1346e1=this[_0xc7d16b(0x172)]()+_0xc7d16b(0x2fd);await this['_HTTPService'][_0xc7d16b(0x2d0)](_0x1346e1,{'body':_0x4a092c});}async[_0x368389(0x191)](_0x114c09){var _0x4f60ac=_0x368389;const _0xceaf46=this[_0x4f60ac(0x172)]()+_0x4f60ac(0x2fd);await this[_0x4f60ac(0x27b)][_0x4f60ac(0x13c)](_0xceaf46,{'body':_0x114c09});}async[_0x368389(0x174)](_0x48bd7a){var _0x18006d=_0x368389;const _0x4f318b=this[_0x18006d(0x172)]()+'/collaborator';return(await this[_0x18006d(0x27b)]['get'](_0x4f318b,{'params':{'objectID':_0x48bd7a[_0x18006d(0x237)],'unitID':_0x48bd7a[_0x18006d(0x1b5)]}}))[_0x18006d(0x369)]['collaborators'];}async['putCollaborators'](_0x6d843){var _0x42014a=_0x368389;const _0x3235fd=this[_0x42014a(0x172)]()+_0x42014a(0x2fd);await this['_HTTPService']['put'](_0x3235fd,{'body':_0x6d843});}};Tt=nn([Yt(0x0,_0x3ce8f0(_0x5dc9e9)),Yt(0x1,_0x3ce8f0(_0x3c30e0))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x5b67c3){var _0xf2454b=_0x368389;return _0x5b67c3&&_0x5b67c3[_0xf2454b(0x1dd)]&&Object[_0xf2454b(0x359)][_0xf2454b(0x91)][_0xf2454b(0xf4)](_0x5b67c3,_0xf2454b(0x127))?_0x5b67c3[_0xf2454b(0x127)]:_0x5b67c3;}var Ve={'exports':{}};function an(_0x10010c){var _0x40d6f6=_0x368389;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x10010c+_0x40d6f6(0x27a));}var Ge={'exports':{}},on=Ge[_0x368389(0x12a)],Kt;function ie(){return Kt||(Kt=0x1,function(_0x378340,_0x5a2cf0){(function(_0x29d1e4,_0x3534eb){_0x378340['exports']=_0x3534eb();}(on,function(){var _0x2b74ae=_0x2b74ae||function(_0x53236a,_0x75b4e4){var _0x5cbce0=_0x4f24,_0x27088c;if(typeof window<'u'&&window[_0x5cbce0(0x108)]&&(_0x27088c=window[_0x5cbce0(0x108)]),typeof self<'u'&&self[_0x5cbce0(0x108)]&&(_0x27088c=self[_0x5cbce0(0x108)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x27088c=globalThis['crypto']),!_0x27088c&&typeof window<'u'&&window['msCrypto']&&(_0x27088c=window[_0x5cbce0(0x30b)]),!_0x27088c&&typeof ft<'u'&&ft['crypto']&&(_0x27088c=ft[_0x5cbce0(0x108)]),!_0x27088c&&typeof an==_0x5cbce0(0x2ee))try{_0x27088c=require('crypto');}catch{}var _0x485b1e=function(){var _0x8d120b=_0x5cbce0;if(_0x27088c){if(typeof _0x27088c[_0x8d120b(0x16c)]=='function')try{return _0x27088c['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x27088c[_0x8d120b(0x9f)]=='function')try{return _0x27088c[_0x8d120b(0x9f)](0x4)[_0x8d120b(0x39a)]();}catch{}}throw new Error(_0x8d120b(0x3a1));},_0x5c5be8=Object['create']||(function(){function _0x50db7b(){}return function(_0x3aa02d){var _0x52ed56=_0x4f24,_0x442e00;return _0x50db7b[_0x52ed56(0x359)]=_0x3aa02d,_0x442e00=new _0x50db7b(),_0x50db7b[_0x52ed56(0x359)]=null,_0x442e00;};}()),_0x20c996={},_0x357a66=_0x20c996[_0x5cbce0(0x38a)]={},_0x22fdb3=_0x357a66[_0x5cbce0(0x110)]=(function(){return{'extend':function(_0x1f7fdc){var _0xacbba8=_0x4f24,_0x5e7ab4=_0x5c5be8(this);return _0x1f7fdc&&_0x5e7ab4[_0xacbba8(0x1f1)](_0x1f7fdc),(!_0x5e7ab4[_0xacbba8(0x91)](_0xacbba8(0x3b3))||this['init']===_0x5e7ab4[_0xacbba8(0x3b3)])&&(_0x5e7ab4['init']=function(){var _0x2bf6a4=_0xacbba8;_0x5e7ab4[_0x2bf6a4(0x37e)][_0x2bf6a4(0x3b3)][_0x2bf6a4(0x278)](this,arguments);}),_0x5e7ab4['init']['prototype']=_0x5e7ab4,_0x5e7ab4[_0xacbba8(0x37e)]=this,_0x5e7ab4;},'create':function(){var _0x3b47f0=_0x4f24,_0x862d1e=this[_0x3b47f0(0x11c)]();return _0x862d1e[_0x3b47f0(0x3b3)][_0x3b47f0(0x278)](_0x862d1e,arguments),_0x862d1e;},'init':function(){},'mixIn':function(_0x354bbc){var _0x4e710b=_0x4f24;for(var _0x7f1460 in _0x354bbc)_0x354bbc[_0x4e710b(0x91)](_0x7f1460)&&(this[_0x7f1460]=_0x354bbc[_0x7f1460]);_0x354bbc[_0x4e710b(0x91)](_0x4e710b(0xd8))&&(this[_0x4e710b(0xd8)]=_0x354bbc[_0x4e710b(0xd8)]);},'clone':function(){var _0x14abf8=_0x4f24;return this[_0x14abf8(0x3b3)][_0x14abf8(0x359)][_0x14abf8(0x11c)](this);}};}()),_0x21c056=_0x357a66[_0x5cbce0(0xed)]=_0x22fdb3[_0x5cbce0(0x11c)]({'init':function(_0x4872ca,_0x3a6826){var _0x30fe04=_0x5cbce0;_0x4872ca=this[_0x30fe04(0x10b)]=_0x4872ca||[],_0x3a6826!=_0x75b4e4?this['sigBytes']=_0x3a6826:this[_0x30fe04(0x27e)]=_0x4872ca[_0x30fe04(0x3b7)]*0x4;},'toString':function(_0x144d75){return(_0x144d75||_0x45d603)['stringify'](this);},'concat':function(_0x34b4bc){var _0x535029=_0x5cbce0,_0x13ed8a=this[_0x535029(0x10b)],_0x3ed605=_0x34b4bc[_0x535029(0x10b)],_0x2f88f7=this[_0x535029(0x27e)],_0x51653c=_0x34b4bc['sigBytes'];if(this[_0x535029(0x208)](),_0x2f88f7%0x4)for(var _0x3227ff=0x0;_0x3227ff<_0x51653c;_0x3227ff++){var _0x1d0654=_0x3ed605[_0x3227ff>>>0x2]>>>0x18-_0x3227ff%0x4*0x8&0xff;_0x13ed8a[_0x2f88f7+_0x3227ff>>>0x2]|=_0x1d0654<<0x18-(_0x2f88f7+_0x3227ff)%0x4*0x8;}else{for(var _0x1b75d3=0x0;_0x1b75d3<_0x51653c;_0x1b75d3+=0x4)_0x13ed8a[_0x2f88f7+_0x1b75d3>>>0x2]=_0x3ed605[_0x1b75d3>>>0x2];}return this[_0x535029(0x27e)]+=_0x51653c,this;},'clamp':function(){var _0x156258=_0x5cbce0,_0x33d7f9=this[_0x156258(0x10b)],_0x4a02eb=this[_0x156258(0x27e)];_0x33d7f9[_0x4a02eb>>>0x2]&=0xffffffff<<0x20-_0x4a02eb%0x4*0x8,_0x33d7f9[_0x156258(0x3b7)]=_0x53236a[_0x156258(0x219)](_0x4a02eb/0x4);},'clone':function(){var _0x5a68ba=_0x5cbce0,_0x112c46=_0x22fdb3[_0x5a68ba(0x311)][_0x5a68ba(0xf4)](this);return _0x112c46[_0x5a68ba(0x10b)]=this['words'][_0x5a68ba(0x2c8)](0x0),_0x112c46;},'random':function(_0x417669){var _0x13ffa0=_0x5cbce0;for(var _0x3dafd0=[],_0x25ef27=0x0;_0x25ef27<_0x417669;_0x25ef27+=0x4)_0x3dafd0[_0x13ffa0(0x291)](_0x485b1e());return new _0x21c056[(_0x13ffa0(0x3b3))](_0x3dafd0,_0x417669);}}),_0x2da139=_0x20c996[_0x5cbce0(0x2cc)]={},_0x45d603=_0x2da139[_0x5cbce0(0x104)]={'stringify':function(_0x33c41e){var _0x2423ca=_0x5cbce0;for(var _0x36debb=_0x33c41e[_0x2423ca(0x10b)],_0x374148=_0x33c41e[_0x2423ca(0x27e)],_0x22eb4e=[],_0x54ae12=0x0;_0x54ae12<_0x374148;_0x54ae12++){var _0x2401ed=_0x36debb[_0x54ae12>>>0x2]>>>0x18-_0x54ae12%0x4*0x8&0xff;_0x22eb4e['push']((_0x2401ed>>>0x4)[_0x2423ca(0xd8)](0x10)),_0x22eb4e[_0x2423ca(0x291)]((_0x2401ed&0xf)[_0x2423ca(0xd8)](0x10));}return _0x22eb4e[_0x2423ca(0x397)]('');},'parse':function(_0x115e42){var _0x3a6a3f=_0x5cbce0;for(var _0x1875fb=_0x115e42[_0x3a6a3f(0x3b7)],_0x1b11fd=[],_0x33a97b=0x0;_0x33a97b<_0x1875fb;_0x33a97b+=0x2)_0x1b11fd[_0x33a97b>>>0x3]|=parseInt(_0x115e42['substr'](_0x33a97b,0x2),0x10)<<0x18-_0x33a97b%0x8*0x4;return new _0x21c056['init'](_0x1b11fd,_0x1875fb/0x2);}},_0x4864b4=_0x2da139[_0x5cbce0(0xe1)]={'stringify':function(_0x1a67a9){var _0x5904a3=_0x5cbce0;for(var _0xd5e28c=_0x1a67a9['words'],_0x5d2292=_0x1a67a9['sigBytes'],_0x58be91=[],_0x5c61a2=0x0;_0x5c61a2<_0x5d2292;_0x5c61a2++){var _0x4f0f84=_0xd5e28c[_0x5c61a2>>>0x2]>>>0x18-_0x5c61a2%0x4*0x8&0xff;_0x58be91[_0x5904a3(0x291)](String['fromCharCode'](_0x4f0f84));}return _0x58be91['join']('');},'parse':function(_0x2ca48c){var _0x4092a6=_0x5cbce0;for(var _0x18c0e8=_0x2ca48c[_0x4092a6(0x3b7)],_0x220523=[],_0xf31410=0x0;_0xf31410<_0x18c0e8;_0xf31410++)_0x220523[_0xf31410>>>0x2]|=(_0x2ca48c[_0x4092a6(0x232)](_0xf31410)&0xff)<<0x18-_0xf31410%0x4*0x8;return new _0x21c056['init'](_0x220523,_0x18c0e8);}},_0x1710ca=_0x2da139[_0x5cbce0(0x392)]={'stringify':function(_0x12f4cf){try{return decodeURIComponent(escape(_0x4864b4['stringify'](_0x12f4cf)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40a5cd){var _0x90ca22=_0x5cbce0;return _0x4864b4[_0x90ca22(0x154)](unescape(encodeURIComponent(_0x40a5cd)));}},_0x13bc63=_0x357a66['BufferedBlockAlgorithm']=_0x22fdb3[_0x5cbce0(0x11c)]({'reset':function(){var _0x56caf0=_0x5cbce0;this['_data']=new _0x21c056[(_0x56caf0(0x3b3))](),this[_0x56caf0(0x95)]=0x0;},'_append':function(_0x2df525){var _0x25c372=_0x5cbce0;typeof _0x2df525==_0x25c372(0x106)&&(_0x2df525=_0x1710ca[_0x25c372(0x154)](_0x2df525)),this['_data'][_0x25c372(0x185)](_0x2df525),this['_nDataBytes']+=_0x2df525['sigBytes'];},'_process':function(_0x3c3112){var _0x1c1bb9=_0x5cbce0,_0x4e0561,_0x4743e4=this[_0x1c1bb9(0x28d)],_0x1a3fe7=_0x4743e4['words'],_0x34d1a0=_0x4743e4[_0x1c1bb9(0x27e)],_0x19e77d=this[_0x1c1bb9(0x118)],_0x254327=_0x19e77d*0x4,_0x323fe5=_0x34d1a0/_0x254327;_0x3c3112?_0x323fe5=_0x53236a[_0x1c1bb9(0x219)](_0x323fe5):_0x323fe5=_0x53236a[_0x1c1bb9(0x13a)]((_0x323fe5|0x0)-this['_minBufferSize'],0x0);var _0x51ff25=_0x323fe5*_0x19e77d,_0x3d2d8c=_0x53236a[_0x1c1bb9(0x129)](_0x51ff25*0x4,_0x34d1a0);if(_0x51ff25){for(var _0x762d17=0x0;_0x762d17<_0x51ff25;_0x762d17+=_0x19e77d)this['_doProcessBlock'](_0x1a3fe7,_0x762d17);_0x4e0561=_0x1a3fe7[_0x1c1bb9(0x2f4)](0x0,_0x51ff25),_0x4743e4[_0x1c1bb9(0x27e)]-=_0x3d2d8c;}return new _0x21c056[(_0x1c1bb9(0x3b3))](_0x4e0561,_0x3d2d8c);},'clone':function(){var _0xa09c53=_0x5cbce0,_0x103db2=_0x22fdb3['clone'][_0xa09c53(0xf4)](this);return _0x103db2[_0xa09c53(0x28d)]=this[_0xa09c53(0x28d)][_0xa09c53(0x311)](),_0x103db2;},'_minBufferSize':0x0});_0x357a66[_0x5cbce0(0xbf)]=_0x13bc63[_0x5cbce0(0x11c)]({'cfg':_0x22fdb3[_0x5cbce0(0x11c)](),'init':function(_0x45f26a){var _0x5a0a3b=_0x5cbce0;this[_0x5a0a3b(0xa4)]=this[_0x5a0a3b(0xa4)][_0x5a0a3b(0x11c)](_0x45f26a),this['reset']();},'reset':function(){var _0x3dc4bb=_0x5cbce0;_0x13bc63[_0x3dc4bb(0x2c5)][_0x3dc4bb(0xf4)](this),this[_0x3dc4bb(0x339)]();},'update':function(_0x31354c){var _0x1a027b=_0x5cbce0;return this['_append'](_0x31354c),this[_0x1a027b(0x36b)](),this;},'finalize':function(_0x51daf4){var _0x30f0e2=_0x5cbce0;_0x51daf4&&this['_append'](_0x51daf4);var _0x1914e9=this[_0x30f0e2(0x2f7)]();return _0x1914e9;},'blockSize':0x10,'_createHelper':function(_0x51eae7){return function(_0x44d3c8,_0x3e0410){var _0x50139b=_0x4f24;return new _0x51eae7['init'](_0x3e0410)[_0x50139b(0x260)](_0x44d3c8);};},'_createHmacHelper':function(_0x508d56){return function(_0x568062,_0x4a3245){var _0x6cb7b7=_0x4f24;return new _0x2f83a2['HMAC'][(_0x6cb7b7(0x3b3))](_0x508d56,_0x4a3245)[_0x6cb7b7(0x260)](_0x568062);};}});var _0x2f83a2=_0x20c996[_0x5cbce0(0x351)]={};return _0x20c996;}(Math);return _0x2b74ae;}));}(Ge)),Ge['exports'];}var We={'exports':{}},cn=We[_0x368389(0x12a)],qt;function Ri(){return qt||(qt=0x1,function(_0x236ff1,_0x4d5cac){(function(_0x1d6599,_0x35fd63){var _0x5cf296=_0x4f24;_0x236ff1[_0x5cf296(0x12a)]=_0x35fd63(ie());}(cn,function(_0x4252aa){var _0x46eb2e=_0x4f24;return(function(){var _0x147915=_0x4f24,_0x1b87c6=_0x4252aa,_0x38bd7c=_0x1b87c6[_0x147915(0x38a)],_0x9d86be=_0x38bd7c[_0x147915(0xed)],_0x557958=_0x1b87c6[_0x147915(0x2cc)];_0x557958[_0x147915(0x161)]={'stringify':function(_0xbe1ec6){var _0x44421f=_0x147915,_0x92ff24=_0xbe1ec6[_0x44421f(0x10b)],_0x58c24e=_0xbe1ec6[_0x44421f(0x27e)],_0x514f0e=this[_0x44421f(0x244)];_0xbe1ec6[_0x44421f(0x208)]();for(var _0x8017f=[],_0x532180=0x0;_0x532180<_0x58c24e;_0x532180+=0x3)for(var _0x506e72=_0x92ff24[_0x532180>>>0x2]>>>0x18-_0x532180%0x4*0x8&0xff,_0x29dff6=_0x92ff24[_0x532180+0x1>>>0x2]>>>0x18-(_0x532180+0x1)%0x4*0x8&0xff,_0x439db1=_0x92ff24[_0x532180+0x2>>>0x2]>>>0x18-(_0x532180+0x2)%0x4*0x8&0xff,_0xc66e1c=_0x506e72<<0x10|_0x29dff6<<0x8|_0x439db1,_0x3d2a5e=0x0;_0x3d2a5e<0x4&&_0x532180+_0x3d2a5e*0.75<_0x58c24e;_0x3d2a5e++)_0x8017f[_0x44421f(0x291)](_0x514f0e['charAt'](_0xc66e1c>>>0x6*(0x3-_0x3d2a5e)&0x3f));var _0x5416bb=_0x514f0e[_0x44421f(0xd1)](0x40);if(_0x5416bb){for(;_0x8017f[_0x44421f(0x3b7)]%0x4;)_0x8017f['push'](_0x5416bb);}return _0x8017f[_0x44421f(0x397)]('');},'parse':function(_0x7207d4){var _0x4346ae=_0x147915,_0x39df37=_0x7207d4['length'],_0x2724db=this[_0x4346ae(0x244)],_0x25d43b=this[_0x4346ae(0x293)];if(!_0x25d43b){_0x25d43b=this['_reverseMap']=[];for(var _0x2b8c12=0x0;_0x2b8c12<_0x2724db[_0x4346ae(0x3b7)];_0x2b8c12++)_0x25d43b[_0x2724db[_0x4346ae(0x232)](_0x2b8c12)]=_0x2b8c12;}var _0x393604=_0x2724db['charAt'](0x40);if(_0x393604){var _0x30267e=_0x7207d4['indexOf'](_0x393604);_0x30267e!==-0x1&&(_0x39df37=_0x30267e);}return _0x1b2555(_0x7207d4,_0x39df37,_0x25d43b);},'_map':_0x147915(0x186)};function _0x1b2555(_0xa186f3,_0x14bad8,_0x55eb4f){var _0x224ff8=_0x147915;for(var _0x43e50a=[],_0x4d2aa3=0x0,_0x40adad=0x0;_0x40adad<_0x14bad8;_0x40adad++)if(_0x40adad%0x4){var _0x83ec9=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad-0x1)]<<_0x40adad%0x4*0x2,_0x38c4a8=_0x55eb4f[_0xa186f3[_0x224ff8(0x232)](_0x40adad)]>>>0x6-_0x40adad%0x4*0x2,_0x594d87=_0x83ec9|_0x38c4a8;_0x43e50a[_0x4d2aa3>>>0x2]|=_0x594d87<<0x18-_0x4d2aa3%0x4*0x8,_0x4d2aa3++;}return _0x9d86be[_0x224ff8(0x25f)](_0x43e50a,_0x4d2aa3);}}()),_0x4252aa[_0x46eb2e(0x2cc)][_0x46eb2e(0x161)];}));}(We)),We['exports'];}var Ye={'exports':{}},_n=Ye[_0x368389(0x12a)],zt;function hn(){var _0xddca11=_0x368389;return zt||(zt=0x1,function(_0x1ba40b,_0x2785b7){(function(_0x3f8706,_0x4519e2){var _0x19a5c8=_0x4f24;_0x1ba40b[_0x19a5c8(0x12a)]=_0x4519e2(ie());}(_n,function(_0x49ad3c){var _0x32af37=_0x4f24;return function(_0x4d4bbb){var _0x209c48=_0x4f24,_0x3764ef=_0x49ad3c,_0x4307fb=_0x3764ef[_0x209c48(0x38a)],_0x243356=_0x4307fb[_0x209c48(0xed)],_0x1d33a0=_0x4307fb[_0x209c48(0xbf)],_0xadb36=_0x3764ef[_0x209c48(0x351)],_0x29472c=[];(function(){var _0x2f2820=_0x209c48;for(var _0x1beba6=0x0;_0x1beba6<0x40;_0x1beba6++)_0x29472c[_0x1beba6]=_0x4d4bbb[_0x2f2820(0x2b4)](_0x4d4bbb[_0x2f2820(0x285)](_0x1beba6+0x1))*0x100000000|0x0;}());var _0x4cbc37=_0xadb36['MD5']=_0x1d33a0['extend']({'_doReset':function(){var _0x179d73=_0x209c48;this[_0x179d73(0x356)]=new _0x243356[(_0x179d73(0x3b3))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5106d3,_0x3d3e05){var _0x5e296e=_0x209c48;for(var _0x578cd2=0x0;_0x578cd2<0x10;_0x578cd2++){var _0x4bea27=_0x3d3e05+_0x578cd2,_0x48fe5c=_0x5106d3[_0x4bea27];_0x5106d3[_0x4bea27]=(_0x48fe5c<<0x8|_0x48fe5c>>>0x18)&0xff00ff|(_0x48fe5c<<0x18|_0x48fe5c>>>0x8)&0xff00ff00;}var _0x3382c8=this[_0x5e296e(0x356)]['words'],_0xd19611=_0x5106d3[_0x3d3e05+0x0],_0x44a209=_0x5106d3[_0x3d3e05+0x1],_0x1c241b=_0x5106d3[_0x3d3e05+0x2],_0x4173a3=_0x5106d3[_0x3d3e05+0x3],_0x48b26a=_0x5106d3[_0x3d3e05+0x4],_0x15b05f=_0x5106d3[_0x3d3e05+0x5],_0x384e6d=_0x5106d3[_0x3d3e05+0x6],_0x567235=_0x5106d3[_0x3d3e05+0x7],_0x26ae98=_0x5106d3[_0x3d3e05+0x8],_0x117b1d=_0x5106d3[_0x3d3e05+0x9],_0x7db03c=_0x5106d3[_0x3d3e05+0xa],_0x34eaaf=_0x5106d3[_0x3d3e05+0xb],_0x5ccab4=_0x5106d3[_0x3d3e05+0xc],_0x14e358=_0x5106d3[_0x3d3e05+0xd],_0x3e336a=_0x5106d3[_0x3d3e05+0xe],_0x4d06a2=_0x5106d3[_0x3d3e05+0xf],_0x5dd336=_0x3382c8[0x0],_0x59c292=_0x3382c8[0x1],_0x23d60d=_0x3382c8[0x2],_0x4f5def=_0x3382c8[0x3];_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x7,_0x29472c[0x0]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x44a209,0xc,_0x29472c[0x1]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0x11,_0x29472c[0x2]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4173a3,0x16,_0x29472c[0x3]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x7,_0x29472c[0x4]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x15b05f,0xc,_0x29472c[0x5]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0x11,_0x29472c[0x6]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x567235,0x16,_0x29472c[0x7]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x7,_0x29472c[0x8]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x117b1d,0xc,_0x29472c[0x9]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0x11,_0x29472c[0xa]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x34eaaf,0x16,_0x29472c[0xb]),_0x5dd336=_0x3f4763(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x7,_0x29472c[0xc]),_0x4f5def=_0x3f4763(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x14e358,0xc,_0x29472c[0xd]),_0x23d60d=_0x3f4763(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0x11,_0x29472c[0xe]),_0x59c292=_0x3f4763(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x4d06a2,0x16,_0x29472c[0xf]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x5,_0x29472c[0x10]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x384e6d,0x9,_0x29472c[0x11]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0xe,_0x29472c[0x12]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0xd19611,0x14,_0x29472c[0x13]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x5,_0x29472c[0x14]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x7db03c,0x9,_0x29472c[0x15]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0xe,_0x29472c[0x16]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x48b26a,0x14,_0x29472c[0x17]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x5,_0x29472c[0x18]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x3e336a,0x9,_0x29472c[0x19]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0xe,_0x29472c[0x1a]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x26ae98,0x14,_0x29472c[0x1b]),_0x5dd336=_0x1fe351(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x5,_0x29472c[0x1c]),_0x4f5def=_0x1fe351(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x1c241b,0x9,_0x29472c[0x1d]),_0x23d60d=_0x1fe351(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0xe,_0x29472c[0x1e]),_0x59c292=_0x1fe351(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x5ccab4,0x14,_0x29472c[0x1f]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x15b05f,0x4,_0x29472c[0x20]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x26ae98,0xb,_0x29472c[0x21]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x34eaaf,0x10,_0x29472c[0x22]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x3e336a,0x17,_0x29472c[0x23]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x44a209,0x4,_0x29472c[0x24]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x48b26a,0xb,_0x29472c[0x25]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x567235,0x10,_0x29472c[0x26]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x7db03c,0x17,_0x29472c[0x27]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x14e358,0x4,_0x29472c[0x28]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0xd19611,0xb,_0x29472c[0x29]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4173a3,0x10,_0x29472c[0x2a]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x384e6d,0x17,_0x29472c[0x2b]),_0x5dd336=_0x5c66a4(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x117b1d,0x4,_0x29472c[0x2c]),_0x4f5def=_0x5c66a4(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x5ccab4,0xb,_0x29472c[0x2d]),_0x23d60d=_0x5c66a4(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x4d06a2,0x10,_0x29472c[0x2e]),_0x59c292=_0x5c66a4(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x1c241b,0x17,_0x29472c[0x2f]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0xd19611,0x6,_0x29472c[0x30]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x567235,0xa,_0x29472c[0x31]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x3e336a,0xf,_0x29472c[0x32]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x15b05f,0x15,_0x29472c[0x33]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x5ccab4,0x6,_0x29472c[0x34]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4173a3,0xa,_0x29472c[0x35]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x7db03c,0xf,_0x29472c[0x36]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x44a209,0x15,_0x29472c[0x37]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x26ae98,0x6,_0x29472c[0x38]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x4d06a2,0xa,_0x29472c[0x39]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x384e6d,0xf,_0x29472c[0x3a]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x14e358,0x15,_0x29472c[0x3b]),_0x5dd336=_0x4da160(_0x5dd336,_0x59c292,_0x23d60d,_0x4f5def,_0x48b26a,0x6,_0x29472c[0x3c]),_0x4f5def=_0x4da160(_0x4f5def,_0x5dd336,_0x59c292,_0x23d60d,_0x34eaaf,0xa,_0x29472c[0x3d]),_0x23d60d=_0x4da160(_0x23d60d,_0x4f5def,_0x5dd336,_0x59c292,_0x1c241b,0xf,_0x29472c[0x3e]),_0x59c292=_0x4da160(_0x59c292,_0x23d60d,_0x4f5def,_0x5dd336,_0x117b1d,0x15,_0x29472c[0x3f]),_0x3382c8[0x0]=_0x3382c8[0x0]+_0x5dd336|0x0,_0x3382c8[0x1]=_0x3382c8[0x1]+_0x59c292|0x0,_0x3382c8[0x2]=_0x3382c8[0x2]+_0x23d60d|0x0,_0x3382c8[0x3]=_0x3382c8[0x3]+_0x4f5def|0x0;},'_doFinalize':function(){var _0x4c874f=_0x209c48,_0x3e812c=this[_0x4c874f(0x28d)],_0x355a01=_0x3e812c[_0x4c874f(0x10b)],_0xc98ae=this['_nDataBytes']*0x8,_0x42fe1b=_0x3e812c['sigBytes']*0x8;_0x355a01[_0x42fe1b>>>0x5]|=0x80<<0x18-_0x42fe1b%0x20;var _0xdb9d39=_0x4d4bbb[_0x4c874f(0x2e8)](_0xc98ae/0x100000000),_0x520d9c=_0xc98ae;_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xf]=(_0xdb9d39<<0x8|_0xdb9d39>>>0x18)&0xff00ff|(_0xdb9d39<<0x18|_0xdb9d39>>>0x8)&0xff00ff00,_0x355a01[(_0x42fe1b+0x40>>>0x9<<0x4)+0xe]=(_0x520d9c<<0x8|_0x520d9c>>>0x18)&0xff00ff|(_0x520d9c<<0x18|_0x520d9c>>>0x8)&0xff00ff00,_0x3e812c[_0x4c874f(0x27e)]=(_0x355a01[_0x4c874f(0x3b7)]+0x1)*0x4,this[_0x4c874f(0x36b)]();for(var _0x2bf352=this[_0x4c874f(0x356)],_0x4e3303=_0x2bf352['words'],_0x4e3292=0x0;_0x4e3292<0x4;_0x4e3292++){var _0x4950e7=_0x4e3303[_0x4e3292];_0x4e3303[_0x4e3292]=(_0x4950e7<<0x8|_0x4950e7>>>0x18)&0xff00ff|(_0x4950e7<<0x18|_0x4950e7>>>0x8)&0xff00ff00;}return _0x2bf352;},'clone':function(){var _0x36cfef=_0x209c48,_0x4e0af0=_0x1d33a0['clone'][_0x36cfef(0xf4)](this);return _0x4e0af0[_0x36cfef(0x356)]=this[_0x36cfef(0x356)][_0x36cfef(0x311)](),_0x4e0af0;}});function _0x3f4763(_0x355647,_0x2c7be0,_0x4b37a1,_0x52415e,_0xea2bcb,_0x5604fa,_0x559eaf){var _0x17ef30=_0x355647+(_0x2c7be0&_0x4b37a1|~_0x2c7be0&_0x52415e)+_0xea2bcb+_0x559eaf;return(_0x17ef30<<_0x5604fa|_0x17ef30>>>0x20-_0x5604fa)+_0x2c7be0;}function _0x1fe351(_0x4d56f2,_0x3962b2,_0x10d037,_0x275c91,_0x1fe892,_0x34e683,_0x4c1016){var _0x315a9e=_0x4d56f2+(_0x3962b2&_0x275c91|_0x10d037&~_0x275c91)+_0x1fe892+_0x4c1016;return(_0x315a9e<<_0x34e683|_0x315a9e>>>0x20-_0x34e683)+_0x3962b2;}function _0x5c66a4(_0x2e14ec,_0x39de39,_0x45f7d1,_0x2b6a30,_0x5cb7d7,_0x80167b,_0x317145){var _0x104de5=_0x2e14ec+(_0x39de39^_0x45f7d1^_0x2b6a30)+_0x5cb7d7+_0x317145;return(_0x104de5<<_0x80167b|_0x104de5>>>0x20-_0x80167b)+_0x39de39;}function _0x4da160(_0x58de13,_0x34f849,_0x5a9fec,_0x367b26,_0x2049b7,_0x27091e,_0x1fe1f8){var _0x4e44c5=_0x58de13+(_0x5a9fec^(_0x34f849|~_0x367b26))+_0x2049b7+_0x1fe1f8;return(_0x4e44c5<<_0x27091e|_0x4e44c5>>>0x20-_0x27091e)+_0x34f849;}_0x3764ef['MD5']=_0x1d33a0[_0x209c48(0xc1)](_0x4cbc37),_0x3764ef[_0x209c48(0xec)]=_0x1d33a0[_0x209c48(0x2b8)](_0x4cbc37);}(Math),_0x49ad3c[_0x32af37(0x2c6)];}));}(Ye)),Ye[_0xddca11(0x12a)];}var Ke={'exports':{}},qe={'exports':{}},ln=qe['exports'],Jt;function un(){var _0x4ed897=_0x368389;return Jt||(Jt=0x1,function(_0x4ed1c3,_0x18722e){(function(_0x5674a8,_0x14ee8d){var _0xda9eb0=_0x4f24;_0x4ed1c3[_0xda9eb0(0x12a)]=_0x14ee8d(ie());}(ln,function(_0x81db28){var _0x181331=_0x4f24;return(function(){var _0x530740=_0x4f24,_0x1154a6=_0x81db28,_0x3229ef=_0x1154a6[_0x530740(0x38a)],_0xfc63d9=_0x3229ef[_0x530740(0xed)],_0x3acb08=_0x3229ef[_0x530740(0xbf)],_0x1876f1=_0x1154a6[_0x530740(0x351)],_0x62895b=[],_0x10b24e=_0x1876f1['SHA1']=_0x3acb08[_0x530740(0x11c)]({'_doReset':function(){var _0x32284b=_0x530740;this[_0x32284b(0x356)]=new _0xfc63d9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3c45c8,_0x267621){var _0x14aaad=_0x530740;for(var _0x27999d=this[_0x14aaad(0x356)][_0x14aaad(0x10b)],_0x5e0fde=_0x27999d[0x0],_0x6285b4=_0x27999d[0x1],_0x1b1b4b=_0x27999d[0x2],_0x5b1a96=_0x27999d[0x3],_0x49cf40=_0x27999d[0x4],_0x43990d=0x0;_0x43990d<0x50;_0x43990d++){if(_0x43990d<0x10)_0x62895b[_0x43990d]=_0x3c45c8[_0x267621+_0x43990d]|0x0;else{var _0x19a580=_0x62895b[_0x43990d-0x3]^_0x62895b[_0x43990d-0x8]^_0x62895b[_0x43990d-0xe]^_0x62895b[_0x43990d-0x10];_0x62895b[_0x43990d]=_0x19a580<<0x1|_0x19a580>>>0x1f;}var _0x524b9d=(_0x5e0fde<<0x5|_0x5e0fde>>>0x1b)+_0x49cf40+_0x62895b[_0x43990d];_0x43990d<0x14?_0x524b9d+=(_0x6285b4&_0x1b1b4b|~_0x6285b4&_0x5b1a96)+0x5a827999:_0x43990d<0x28?_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)+0x6ed9eba1:_0x43990d<0x3c?_0x524b9d+=(_0x6285b4&_0x1b1b4b|_0x6285b4&_0x5b1a96|_0x1b1b4b&_0x5b1a96)-0x70e44324:_0x524b9d+=(_0x6285b4^_0x1b1b4b^_0x5b1a96)-0x359d3e2a,_0x49cf40=_0x5b1a96,_0x5b1a96=_0x1b1b4b,_0x1b1b4b=_0x6285b4<<0x1e|_0x6285b4>>>0x2,_0x6285b4=_0x5e0fde,_0x5e0fde=_0x524b9d;}_0x27999d[0x0]=_0x27999d[0x0]+_0x5e0fde|0x0,_0x27999d[0x1]=_0x27999d[0x1]+_0x6285b4|0x0,_0x27999d[0x2]=_0x27999d[0x2]+_0x1b1b4b|0x0,_0x27999d[0x3]=_0x27999d[0x3]+_0x5b1a96|0x0,_0x27999d[0x4]=_0x27999d[0x4]+_0x49cf40|0x0;},'_doFinalize':function(){var _0x491ee0=_0x530740,_0x494075=this[_0x491ee0(0x28d)],_0x36634d=_0x494075[_0x491ee0(0x10b)],_0x96e560=this[_0x491ee0(0x95)]*0x8,_0x1e3f5e=_0x494075[_0x491ee0(0x27e)]*0x8;return _0x36634d[_0x1e3f5e>>>0x5]|=0x80<<0x18-_0x1e3f5e%0x20,_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xe]=Math[_0x491ee0(0x2e8)](_0x96e560/0x100000000),_0x36634d[(_0x1e3f5e+0x40>>>0x9<<0x4)+0xf]=_0x96e560,_0x494075[_0x491ee0(0x27e)]=_0x36634d[_0x491ee0(0x3b7)]*0x4,this[_0x491ee0(0x36b)](),this[_0x491ee0(0x356)];},'clone':function(){var _0xc64fc6=_0x530740,_0x1aacf1=_0x3acb08[_0xc64fc6(0x311)][_0xc64fc6(0xf4)](this);return _0x1aacf1[_0xc64fc6(0x356)]=this[_0xc64fc6(0x356)][_0xc64fc6(0x311)](),_0x1aacf1;}});_0x1154a6[_0x530740(0x212)]=_0x3acb08[_0x530740(0xc1)](_0x10b24e),_0x1154a6['HmacSHA1']=_0x3acb08[_0x530740(0x2b8)](_0x10b24e);}()),_0x81db28[_0x181331(0x212)];}));}(qe)),qe[_0x4ed897(0x12a)];}function _0x111c(){var _0x5d1734=['_hash','message$','resourceIDs','prototype','session.room-cnt-exceeds','_stopTelemetryCollaborationNewChangeset','getSheetBlock','startsWith','[CollaborationUndoRedoService]','__creator','LIVESHARE_FETCH_OPERATIONS','_updateLocalCache','_shouldReportTelemetry','UNDEFINED','collaboration-client.local-cache-service','UNRECOGNIZED','_memberService','_collaborationUIEventService','mode','body','UNIVER_DOC','_process','add','find','transformMutationsWithChangeset','YUUMI_CONNECTOR_URL_NOT_FOUND','getMemberID','reconnect','EMAIL_VERIFY_CODE_MISMATCH','loadUnit','HMAC','state$','YUUMI_NO_CUBOID_FOR_QUESTION','_acknowledgedAwaitingChangeset','ENTITLE_DUP_SUBSCRIPTION','collaboration_new_changeset','socket$','__Key__','createInstance','unpad','$super','getFocusedUnit','_pendingMutations','772XlkmlY','[PendingState]:\x20received\x20acknowledgement.','?url=','padding','actions','fromCharCode','StreamCipher','{fileID}','data','lib','interceptor','5JDxYXh','originalMeta','values','createDecryptor','changesets','AUTHORIZE_CODE_ILLEGAL','Utf8','loginUrlKey','editing\x20status\x20changed\x20to','_state','_sendHeartbeatTimer','join','NEW_CHANGESETS','_collabSessionService','readInt32LE','COMPLETION_FINISHED','Pkcs7','filter','_injector','close$','removeMember','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','/object/','_createInitialStateImpl','_getUndoStack','image/bmp','/universer-api/file/{fileID}/sign-url','USERS_LEAVE','SUBMIT_CHANGESET_TIMEOUT','toggleOffline','_timeoutTimer','_permissionService','set','_createSocket','awaiting_with_pending','/new_changes','loadDoc','_disableEditing','_candidateSocket','init','_resendWithTimeout','sheets','emitEvent','length','fromCollab','newCsEvent','_executeRemoteChangeset','result','compose','_unlockTransition','hasOwnProperty','_transformRemoteChangesetByStateCache','_hasher','_joinRoom','_nDataBytes','_nRounds','ENTITLE_CHAT_LIMIT_EXCEED','_waitForHeartbeatResponse','LICENSE_IMPORT_SIZE_EXCEEDED','_onMessage','_invKeySchedule','updateOfflineData','status','57036mxvYDP','randomBytes','COMPRESS_MUTATION_SEND','transformChangesets','Decryptor','code','cfg','_onRemoteRejected','_syncEditingCollabCursor','_type','LIVESHARE_REQUEST_HOST','createSocket','origin','uploadFileServerUrl','SerializableCipher','collaboratorID','_updateStatus','_redoStacks','JOINING','onSyncEditingCollabCursor','_members$','APPLY_PERMISSION_DENIED','permissionRejEvent','getTypeOfUnitDisposed$','socket\x20open.','_remoteChangesetQueue','_configService','collaboration-client.config','authzUrl','appendMutation','infoRsp','pauseCollaboration','image/png','Hasher','byteLength','_createHelper','unit-cache-','_doCreateSocket','[CollaborationEntity]','stopTime','_startTelemetryCollaborationNewChangeset','60RXZvGn','open$','dispose','\x20to\x20','CBC','csShouldRetryEvent','DATA_SOURCE_TOO_LARGE','PAYMENT_CHANNEL_NOT_SUPPORT','shouldCloseConn','UNIVER_COLLABORATION_CLIENT_PLUGIN','charAt','salt','localeService','LIVESHARE_NEW_HOST','_imageSourceCache','now','/universer-api/stream/file/upload','toString','name','HttpImport','downloadEndpointUrl','_tryEnsureSocket','_isPermissionRej','reverse','synced','updatePermissionPoint','Latin1','_exhaustRemoteChangesetQueue','FETCH_MISS','[CollaborationSessionService]:\x20socket\x20error','random','OpenSSL','capture','_mode','_collaborationTimeoutTimer','liveShareOperation','c2Prime','HmacMD5','WordArray','BlockCipherMode','_clearRetryConnectingTimer','type','deepClone','action','_collaborationPaused','call','session.room-full','collabSubmitChangesetUrl','refreshPermission','disableLocalCache','getAllMembers','_doCryptBlock','JOIN_ROOM_NOT_EXISTS','SHOULD_CLOSE_CONN','LICENSE_EXPORT_SIZE_EXCEEDED','reqId','USER_IS_ANONYMOUS','_initUnitPermissionChange','userID','getTime','AWAITING_WITH_PENDING','Hex','LEAVE','string','_transformRemoteChangesetByIMECache','crypto','getCurrentSelections','OFFLINE','words','editingUnit','1197924CFeeLQ','/unit/','_getCtorByUniverType','Base','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','HttpExport','_lockTransition','session','updateCursorEvent','subscribe','then','blockSize','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationSessionService','_transformUndoredo','extend','/universer-api/snapshot/','SNAPSHOT_URL_KEY','UUID','initWorkbookPermissionChange','onMissedChangesetFetched','_transformStateCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_decreaseWaiting','_revisionService','catch','default','_fetchMissChangesets','min','exports','_logService','_transformService','_config','_DEC_XFORM_MODE','resolve','BufferedBlockAlgorithm','duration','NoPadding','UNKNOWN_CODE','fetchMissingChangesets','roomInfos','_incrementRevisionNumber','encryptBlock','objects','getDeserializedSheetBlock','max','transformSelections','post','awaiting','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','SYNCED','encrypt','/rev/','/universer-api/authz','leaveEvent','UPDATE_PERMISSION_OBJ','REDEMPTION_CODE_HAS_BEEN_CREATED','offline','socket\x20close','_singleActiveUnitService','JOIN_ROOM_FAILED','responseType','_univerInstanceService','FETCH_MISSING','cmd','getSheetId','_getLoginPath','hostname','withCredentials','MUTATION','onlyLocal','parse','m2Prime','waitForRoom$','[SyncedState]:\x20received\x20acknowledgement.','_roomCreated$','eventID','onload','_socketService','LICENSE_DISTRO_REJECTED','UnitEmbedded','UPDATE_CURSOR','INGEST','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','Base64','mutations','/-/object/list','getResourcesRequest','REDEMPTION_CODE_INACTIVE','asObservable','_transitionLocked','_resendTimer','decrypt','COMMENT_UPDATE','_networkConditionService','getRandomValues','entityInit$','USERS_ENTER','getMember','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','JOIN','_getAPIPrefixPath','reject','listCollaborators','encode','Error\x20on\x20receiving\x20event','headers','transformUndoRedo','_event$','ONLINE','CHANGESET_REVISION_CONFILICT','ENTITLE_NEED_BILLING_ADDRESS','REDEMPTION_INVALID_CODE','_handler','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','params','updateCollaborator','\x0aCurrent:\x20','clear','LOCAL_CACHE_INTERVAL','concat','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','get','update','getImageSourceCache','REDEMPTION_CODE_NOT_STARTED','_replaceFileID','pad','online$','[CollaborationSessionService]','objectActions','185466wYRCDW','createCollaborator','onTransformRemoteChangesetByStateCache','HEARTBEAT_TIMEOUT','reduce','FAIL','[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.','liveShareNewHost','POST','onLocalMutation','_toggleOnline','getConfig','_oKey','_showConflictNotification','onRemoteAck','getWorkbookSelections','OTHER_CLIENT_EDITING','989582XhdrdK','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_replayCachedMutations','rev','override','_roomMembers','iterations','SUBMIT_CHANGESET','_onRecvEvent','ENTITLE_INSUFFICIENT_QUOTA','_keyPriorReset','Cipher','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_sendingTimer','submit\x20changeset\x20error!','collaborators','saveSnapshot','NOT_FOUND','MSG_FOR_ERROR','_compressMutationService','unitID','APPLY_REVISION_CONFILICT','session.join-failed','_sessions','getUnitType','JOIN_ROOM_FULL','send','_onFetchMissResult','equals','_retryConnectingTimer','not_collab','SNAPSHOT_HAS_BEEN_REMOVED','uniscriptRunEvent','readAsDataURL','x-univer-host','ALREADY_EXISTS','getUnitOnRev','_applyRemoteChangeset','roles','_onConnectionFailed','url','onCommentUpdate','HELLO','enableAuthServer','_telemetryService','[UniverCollaborationClientPlugin]','_clearHeartbeatTimer','getInterceptPoints','MOBILE_HAS_BEEN_BOUND','readyForCollab','PERSON','_awaitingChangeset','ciphertext','_toggleOffline','loadUnitOfRevision','executeCommand','_entities','_onConflict','_parse','auth.needGotoLoginAlert','__esModule','fetch_missing','onRemoteRetry','collaMsg','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_snapshotService','MOBILE_VERIFY_CODE_MISMATCH','_initCloseConn','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_minBufferSize','_createHandler','_startCollaboration','_unitID','_sendHeartbeat','_entityInit$','LOGIN_TOKEN_PROCESSING_FAILED','baseRev','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_ARGUMENT','src','mixIn','_keySchedule','_prevBlock','_changesetSessionId','_scheduleCompleteTimestamp','_onJoinRoomEvent','onMissingChangesets','RECV','loadOfflineData','PasswordBasedCipher','revision','deleteCollaborator','onStarting','CHANGESET_ACK','_onConnectionOpen','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','error','ClipsheetFragments','LIVESHARE_OPERATION','_state$','PSEUDO_FETCH_MISSING_RESULT','YUUMI_SUBSCRIPTION_NOT_FOUND','[CollaborationState]:\x20apply\x20error!','clamp','_commentService','_instanceService','_telemetryInfo','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_getDownloadEndpointURL','forEach','focused$','_clearLocalCache','fetchMiss','SHA1','PERMISSION_DENIED','UNISCRIPT_RUN','repeat','copyFileMeta','symbol','joinEvent','ceil','REDEMPTION_USER_NOT_ELIGIBLE','YUUMI_URL_COL_OUT_OF_RANGE','BASE64','saveChangeset','?size=','33NjytbV','YUUMI_AI_RUN_FAILED','_socketMessageSubscription','YUUMI_RATE_OVER_LIMIT','transformStack\x20failed!','encodeURIComponent','CLOSE_ROOM','file','_onLocalMutation','signUrlServerUrl','image/jpeg','UNIVER_PROJECT','JOIN_ROOM_PERMISSION_DENIED','getUnitId','failed\x20to\x20apply\x20missed\x20changesets!','SOCKET_FAILED_RETRY','batchAllowed','getCurrentUser','CONNECTOR_DATA_TOO_LARGE','charCodeAt','_listenToNetworkCondition','/-/object/-/batch_allowed','onSendChangeset','_sessionStatus$','objectID','PERMISSION_REJ','BlockCipher','_change$','_getUploadFileURL','subject','674955qzOjbT','UNIVER_SLIDE','SOCKET_FAILED','ENSURE_SNAPSHOT_EXECUTION','LICENSE_MAX_UNITS_EXCEEDED','[DataLoaderService]','_commentUpdate$','_map','closeSession','kdf','updateSnapshot','_clearRedo','compute','href','close','target','[CollaborationSession]','_xformMode','csAckEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','People','_initDependencies','PY_RUNTIME_SCRIPT_ERROR','retryConnectingInterval','isPermissionRej','ERROR_IMAGE_TYPE','getCollabEntity$','buffer','commentUpdate$','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','Undefined','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','c1Prime','create','finalize','PENDING','_schedule','_transformIMECache','univer-pro.collaboration-client.single-active-unit-service','onTransformIME','_scheduleCollaborationTimeoutTimer','_clearScheduledTask','_transformSelections','localCacheService','_retryCount','change$','from','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','getUnit','_substituteRedoStack','workbook','image/gif','UserProfileImg','[OfflineState]:\x20received\x20acknowledgement.','has','getValue','onTransformRemoteChangesetByIMECache','enableSingleActiveInstanceLock','apply','pipe','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_HTTPService','title','_clearUndo','sigBytes','_cipher','_ENC_XFORM_MODE','isArray','_initRequestHeader','processBlock','getOwnPropertyDescriptor','sin','getRoom','registerHTTPInterceptor','sendChangesetTimeout','/block/','onRemoteRej','UNAUTHENTICATED','map','_data','EvpKDF','_submitChangeset','YUUMI_UNABLE_LOAD_URL','push','session.room-permission-denied','_reverseMap','snapshot','_updateState','avatar','ws://127.0.0.1:8000/universer-api/comb/connect','delete','_socketReady','enableOfflineEditing','next','UnitSnapshot','dispose$','_clearCollaborationTimeoutTimer','textRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getCollabEntity','unsubscribe','/role','/object','ERROR_IMAGE','_clearTimeoutTimer','ERROR_AGAIN','_iv','USER_NOT_FOUND','IDLE','CONFLICT','_localeService','getTypeOfUnitAdded$','updatePermissionObjEvent','disposeWithMe','requestParams','Encryptor','FileId','joinRsp','abs','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UNKNOWN_CMD','execute','_createHmacHelper','commentUpdateEvent','HEARTBEAT','CHANGESET_SHOULD_RETRY','fetchThroughInterceptors','stringify','OTHER_CLIENTS_EDITING','_iKey','_initMergeInterceptor','DEFAULT_FILE_NAME','_eventService','debug','_getSendChangesetTimeout','reset','MD5','Failed\x20to\x20update\x20permission\x20point','slice','_substituteUndoStack','COMPRESS_MUTATION_APPLY','_onRemoteChangeset','enc','onRemoteChangeset','keySize','sid','patch','loadSheet','conflict','telemetry\x20info\x20is\x20not\x20initialized','&assign=','_commandService','_members','/allowed','_waitCount','/universer-api/snapshot','setCurrentUser','_resendTimeout','_userManagerService','/universer-api/oidc/authpage','sessionStatus','allowed','_onOffline','setShowComponents','ENTITLE_REPORT_LIMIT_EXCEED','getLatestCsReqIdBySid','_rescheduleHeartbeat','_tryReconnect','417qNFALA','REDEMPTION_USER_REDEEM_TIMES_EXCEED','floor','list','YUUMI_ALL_TABLES_IS_INVALID','_undoRedoService','_onUserLeave','enableCollaboration','function','LIVESHARE_TERMINATE','memberID','key','_getAPIPrefix','_removeRoom','splice','_getCurrentRevision','every','_doFinalize','[OfflineState]:\x20received\x20changeset.','unknown','NO_OTHER_CLIENTS_EDITING','_getSignURL','connection\x20error','/collaborator','addHandlerCallback','state','[FetchMissState]','_unitInfo$','hasher','createEncryptor','_onUserJoin','UNIVER_SHEET','_checkMissing','_localCacheService','_key','onTransformState','_changesetReqId','msCrypto','routeKey','INVALID_INVITE_CODE','event$','format','_handlerCallback','clone','_onRemoteACK','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','pending','formatter','_throwTelemetryCollaborationNewChangeset','onStateChange','EMAIL_HAS_BEEN_BOUND','onTransformSelections','UNIVER_UNKNOWN','_onCombEvent','AES','[PendingState]:\x20received\x20rejection.','_socket','GLOBAL_ROOMS_CNT_EXCEEDS','status$','_init','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[SyncedState]:\x20received\x20rejection.','WECHAT_HAS_BEEN_BOUND','unitId\x20is\x20not\x20found','setWaitCount','CHANGESET_REJ','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toggleOnline','getCurrentRevOfUnit','1625928cgHBws','_status$','unitId','HEARTBEAT_INTERVAL','requireSession','TOO_MANY_REQUESTS','REDEMPTION_CODE_FULLY_REDEEMED','_socket$','INTERNAL_ERROR','_onRemoteRetry','ERROR_EXCEED_SIZE','size','_sender','selections','_doReset','location','defineProperty','_transformStack','CURRENT_STATUS_CANNOT_OPERATE','error$','resend','getUnitStatus$','AWAITING','_httpService','_queuedRemoteChangesets','save\x20fail\x20reason\x20is\x20','objectType','APPLY_DUPLICATED','_sheetTransformSelectionsService','updateMember','getActiveSheet','_append','_createInitialState','_getRedoStack','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_registerDependencies','YUUMI_ASYNCIO_CANCELLED','sessionStatus$','algo','session.room-not-exists','addImageSourceCache','\x20in\x20_schedule.','complete'];_0x111c=function(){return _0x5d1734;};return _0x111c();}var ze={'exports':{}},dn=ze[_0x368389(0x12a)],Xt;function fn(){var _0x1b8fac=_0x368389;return Xt||(Xt=0x1,function(_0x5b7ed9,_0xeeaba3){(function(_0x463346,_0x488f43){var _0x40c036=_0x4f24;_0x5b7ed9[_0x40c036(0x12a)]=_0x488f43(ie());}(dn,function(_0x33b702){(function(){var _0x2b3e63=_0x4f24,_0x57e1ae=_0x33b702,_0x37113a=_0x57e1ae[_0x2b3e63(0x38a)],_0x5ef2e7=_0x37113a[_0x2b3e63(0x110)],_0x291749=_0x57e1ae[_0x2b3e63(0x2cc)],_0x27c6a8=_0x291749[_0x2b3e63(0x392)],_0x476ca3=_0x57e1ae['algo'];_0x476ca3[_0x2b3e63(0x374)]=_0x5ef2e7[_0x2b3e63(0x11c)]({'init':function(_0x1f18cb,_0x5593fa){var _0x328827=_0x2b3e63;_0x1f18cb=this[_0x328827(0x93)]=new _0x1f18cb[(_0x328827(0x3b3))](),typeof _0x5593fa==_0x328827(0x106)&&(_0x5593fa=_0x27c6a8['parse'](_0x5593fa));var _0xc0371b=_0x1f18cb[_0x328827(0x118)],_0x51fc05=_0xc0371b*0x4;_0x5593fa['sigBytes']>_0x51fc05&&(_0x5593fa=_0x1f18cb[_0x328827(0x260)](_0x5593fa)),_0x5593fa[_0x328827(0x208)]();for(var _0x32895a=this['_oKey']=_0x5593fa[_0x328827(0x311)](),_0x41a55f=this[_0x328827(0x2bf)]=_0x5593fa[_0x328827(0x311)](),_0x266178=_0x32895a[_0x328827(0x10b)],_0x1c5d02=_0x41a55f['words'],_0x25db88=0x0;_0x25db88<_0xc0371b;_0x25db88++)_0x266178[_0x25db88]^=0x5c5c5c5c,_0x1c5d02[_0x25db88]^=0x36363636;_0x32895a[_0x328827(0x27e)]=_0x41a55f[_0x328827(0x27e)]=_0x51fc05,this['reset']();},'reset':function(){var _0x3e172f=_0x2b3e63,_0x543aad=this[_0x3e172f(0x93)];_0x543aad[_0x3e172f(0x2c5)](),_0x543aad[_0x3e172f(0x188)](this[_0x3e172f(0x2bf)]);},'update':function(_0x38a055){var _0x126d6d=_0x2b3e63;return this[_0x126d6d(0x93)][_0x126d6d(0x188)](_0x38a055),this;},'finalize':function(_0x2f7555){var _0x2e27fa=_0x2b3e63,_0x27b530=this['_hasher'],_0x50c392=_0x27b530[_0x2e27fa(0x260)](_0x2f7555);_0x27b530['reset']();var _0x44238f=_0x27b530[_0x2e27fa(0x260)](this[_0x2e27fa(0x19c)][_0x2e27fa(0x311)]()[_0x2e27fa(0x185)](_0x50c392));return _0x44238f;}});}());}));}(ze)),ze[_0x1b8fac(0x12a)];}var vn=Ke[_0x368389(0x12a)],Zt;function Ci(){var _0xb8c4fe=_0x368389;return Zt||(Zt=0x1,function(_0x105e60,_0x42e826){(function(_0x2e99b0,_0x2541a8,_0x2a8249){_0x105e60['exports']=_0x2541a8(ie(),un(),fn());}(vn,function(_0x358c5a){var _0x23d81b=_0x4f24;return(function(){var _0x211d7d=_0x4f24,_0x19b5f7=_0x358c5a,_0xfcc7a6=_0x19b5f7[_0x211d7d(0x38a)],_0x1ccc11=_0xfcc7a6['Base'],_0x3ffc2d=_0xfcc7a6[_0x211d7d(0xed)],_0xf5ffc9=_0x19b5f7[_0x211d7d(0x351)],_0xa19251=_0xf5ffc9[_0x211d7d(0x2c6)],_0x47f7cc=_0xf5ffc9[_0x211d7d(0x28e)]=_0x1ccc11[_0x211d7d(0x11c)]({'cfg':_0x1ccc11[_0x211d7d(0x11c)]({'keySize':0x80/0x20,'hasher':_0xa19251,'iterations':0x1}),'init':function(_0x2c94ad){var _0x89d258=_0x211d7d;this[_0x89d258(0xa4)]=this[_0x89d258(0xa4)][_0x89d258(0x11c)](_0x2c94ad);},'compute':function(_0x1ae05c,_0x100ac8){var _0xbe9fc4=_0x211d7d;for(var _0x469d04,_0x277472=this[_0xbe9fc4(0xa4)],_0x4a3594=_0x277472[_0xbe9fc4(0x302)][_0xbe9fc4(0x25f)](),_0x596a96=_0x3ffc2d[_0xbe9fc4(0x25f)](),_0x2a3b94=_0x596a96[_0xbe9fc4(0x10b)],_0x4c1ea1=_0x277472[_0xbe9fc4(0x2ce)],_0x2b4691=_0x277472[_0xbe9fc4(0x1a7)];_0x2a3b94[_0xbe9fc4(0x3b7)]<_0x4c1ea1;){_0x469d04&&_0x4a3594['update'](_0x469d04),_0x469d04=_0x4a3594[_0xbe9fc4(0x188)](_0x1ae05c)['finalize'](_0x100ac8),_0x4a3594[_0xbe9fc4(0x2c5)]();for(var _0xab6376=0x1;_0xab6376<_0x2b4691;_0xab6376++)_0x469d04=_0x4a3594[_0xbe9fc4(0x260)](_0x469d04),_0x4a3594[_0xbe9fc4(0x2c5)]();_0x596a96[_0xbe9fc4(0x185)](_0x469d04);}return _0x596a96[_0xbe9fc4(0x27e)]=_0x4c1ea1*0x4,_0x596a96;}});_0x19b5f7[_0x211d7d(0x28e)]=function(_0x4ec4dc,_0x43f222,_0x4bc469){var _0x415a30=_0x211d7d;return _0x47f7cc['create'](_0x4bc469)[_0x415a30(0x249)](_0x4ec4dc,_0x43f222);};}()),_0x358c5a[_0x23d81b(0x28e)];}));}(Ke)),Ke[_0xb8c4fe(0x12a)];}var Je={'exports':{}},pn=Je[_0x368389(0x12a)],Qt;function Ni(){var _0x58c52e=_0x368389;return Qt||(Qt=0x1,function(_0x396b58,_0x15bba9){(function(_0x549deb,_0x3c90e2,_0x2c8a29){var _0x50bfe7=_0x4f24;_0x396b58[_0x50bfe7(0x12a)]=_0x3c90e2(ie(),Ci());}(pn,function(_0x2ed288){var _0x4bcfde=_0x4f24;_0x2ed288[_0x4bcfde(0x38a)]['Cipher']||function(_0x53faf4){var _0x253331=_0x4bcfde,_0x49cdb3=_0x2ed288,_0x3f9c57=_0x49cdb3[_0x253331(0x38a)],_0x1d0bc3=_0x3f9c57[_0x253331(0x110)],_0x411067=_0x3f9c57[_0x253331(0xed)],_0x3695cb=_0x3f9c57[_0x253331(0x130)],_0x410921=_0x49cdb3['enc'];_0x410921['Utf8'];var _0x1c8068=_0x410921['Base64'],_0x317443=_0x49cdb3['algo'],_0x1db0b6=_0x317443[_0x253331(0x28e)],_0x1a302e=_0x3f9c57[_0x253331(0x1ac)]=_0x3695cb[_0x253331(0x11c)]({'cfg':_0x1d0bc3[_0x253331(0x11c)](),'createEncryptor':function(_0x567af8,_0x24ce84){var _0x518844=_0x253331;return this['create'](this[_0x518844(0x280)],_0x567af8,_0x24ce84);},'createDecryptor':function(_0x514c9b,_0x34090e){var _0x98e44b=_0x253331;return this[_0x98e44b(0x25f)](this[_0x98e44b(0x12e)],_0x514c9b,_0x34090e);},'init':function(_0x110d32,_0x1e87bc,_0x2c7193){var _0xe5f29b=_0x253331;this[_0xe5f29b(0xa4)]=this['cfg'][_0xe5f29b(0x11c)](_0x2c7193),this[_0xe5f29b(0x24e)]=_0x110d32,this[_0xe5f29b(0x308)]=_0x1e87bc,this[_0xe5f29b(0x2c5)]();},'reset':function(){var _0x1e5c94=_0x253331;_0x3695cb['reset'][_0x1e5c94(0xf4)](this),this[_0x1e5c94(0x339)]();},'process':function(_0x34ff36){var _0x1f5a04=_0x253331;return this[_0x1f5a04(0x34a)](_0x34ff36),this[_0x1f5a04(0x36b)]();},'finalize':function(_0x427a3c){var _0x407aa6=_0x253331;_0x427a3c&&this[_0x407aa6(0x34a)](_0x427a3c);var _0x3a79f9=this[_0x407aa6(0x2f7)]();return _0x3a79f9;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6202fa(_0xb1caca){var _0x4502e9=_0x4f24;return typeof _0xb1caca==_0x4502e9(0x106)?_0x1c681d:_0x4885f0;}return function(_0x18957c){return{'encrypt':function(_0x58866e,_0x34317d,_0x47129e){var _0x91e80b=_0x4f24;return _0x6202fa(_0x34317d)[_0x91e80b(0x140)](_0x18957c,_0x58866e,_0x34317d,_0x47129e);},'decrypt':function(_0x49ab14,_0x5ca530,_0x42be97){var _0x1f7be3=_0x4f24;return _0x6202fa(_0x5ca530)[_0x1f7be3(0x169)](_0x18957c,_0x49ab14,_0x5ca530,_0x42be97);}};};}())});_0x3f9c57[_0x253331(0x387)]=_0x1a302e['extend']({'_doFinalize':function(){var _0x47320e=_0x253331,_0x22d922=this[_0x47320e(0x36b)](!0x0);return _0x22d922;},'blockSize':0x1});var _0x74e1f3=_0x49cdb3['mode']={},_0xdbdda4=_0x3f9c57[_0x253331(0xee)]=_0x1d0bc3[_0x253331(0x11c)]({'createEncryptor':function(_0x45e602,_0x480621){var _0x434e2b=_0x253331;return this[_0x434e2b(0x2b1)][_0x434e2b(0x25f)](_0x45e602,_0x480621);},'createDecryptor':function(_0x4b656e,_0x4ef334){var _0x588111=_0x253331;return this['Decryptor'][_0x588111(0x25f)](_0x4b656e,_0x4ef334);},'init':function(_0xbb8006,_0xdb9be2){var _0x205d0c=_0x253331;this[_0x205d0c(0x27f)]=_0xbb8006,this[_0x205d0c(0x2a8)]=_0xdb9be2;}}),_0x126cda=_0x74e1f3[_0x253331(0xcb)]=(function(){var _0x47afa4=_0x253331,_0x3769e0=_0xdbdda4['extend']();_0x3769e0[_0x47afa4(0x2b1)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x1f6bfc,_0x7a203f){var _0x43482c=_0x47afa4,_0x1c404d=this[_0x43482c(0x27f)],_0x4e75d6=_0x1c404d[_0x43482c(0x118)];_0x410a43[_0x43482c(0xf4)](this,_0x1f6bfc,_0x7a203f,_0x4e75d6),_0x1c404d[_0x43482c(0x137)](_0x1f6bfc,_0x7a203f),this[_0x43482c(0x1f3)]=_0x1f6bfc[_0x43482c(0x2c8)](_0x7a203f,_0x7a203f+_0x4e75d6);}}),_0x3769e0[_0x47afa4(0xa2)]=_0x3769e0[_0x47afa4(0x11c)]({'processBlock':function(_0x4bca6f,_0x3283bb){var _0x55e405=_0x47afa4,_0x3fe90a=this['_cipher'],_0xa9ce8d=_0x3fe90a[_0x55e405(0x118)],_0x3b7d4b=_0x4bca6f[_0x55e405(0x2c8)](_0x3283bb,_0x3283bb+_0xa9ce8d);_0x3fe90a['decryptBlock'](_0x4bca6f,_0x3283bb),_0x410a43[_0x55e405(0xf4)](this,_0x4bca6f,_0x3283bb,_0xa9ce8d),this[_0x55e405(0x1f3)]=_0x3b7d4b;}});function _0x410a43(_0x1b73ac,_0x45756f,_0x516240){var _0x1c52c8=_0x47afa4,_0x23450a,_0x5be5e9=this[_0x1c52c8(0x2a8)];_0x5be5e9?(_0x23450a=_0x5be5e9,this[_0x1c52c8(0x2a8)]=_0x53faf4):_0x23450a=this[_0x1c52c8(0x1f3)];for(var _0x510ef1=0x0;_0x510ef1<_0x516240;_0x510ef1++)_0x1b73ac[_0x45756f+_0x510ef1]^=_0x23450a[_0x510ef1];}return _0x3769e0;}()),_0x24c6da=_0x49cdb3[_0x253331(0x18c)]={},_0x5a4f23=_0x24c6da[_0x253331(0x39c)]={'pad':function(_0x1cc3e7,_0x357e5b){var _0x3343e6=_0x253331;for(var _0x5b76ea=_0x357e5b*0x4,_0x2b4f6a=_0x5b76ea-_0x1cc3e7[_0x3343e6(0x27e)]%_0x5b76ea,_0x55d293=_0x2b4f6a<<0x18|_0x2b4f6a<<0x10|_0x2b4f6a<<0x8|_0x2b4f6a,_0xfe3534=[],_0x309816=0x0;_0x309816<_0x2b4f6a;_0x309816+=0x4)_0xfe3534[_0x3343e6(0x291)](_0x55d293);var _0x5b4406=_0x411067['create'](_0xfe3534,_0x2b4f6a);_0x1cc3e7[_0x3343e6(0x185)](_0x5b4406);},'unpad':function(_0x19293d){var _0x8f51a1=_0x253331,_0x2e8614=_0x19293d[_0x8f51a1(0x10b)][_0x19293d[_0x8f51a1(0x27e)]-0x1>>>0x2]&0xff;_0x19293d['sigBytes']-=_0x2e8614;}};_0x3f9c57[_0x253331(0x239)]=_0x1a302e[_0x253331(0x11c)]({'cfg':_0x1a302e['cfg'][_0x253331(0x11c)]({'mode':_0x126cda,'padding':_0x5a4f23}),'reset':function(){var _0x53341e=_0x253331,_0x11bc70;_0x1a302e[_0x53341e(0x2c5)][_0x53341e(0xf4)](this);var _0x29ffb2=this['cfg'],_0x418dcb=_0x29ffb2['iv'],_0x2ffc86=_0x29ffb2[_0x53341e(0x368)];this[_0x53341e(0x24e)]==this[_0x53341e(0x280)]?_0x11bc70=_0x2ffc86['createEncryptor']:(_0x11bc70=_0x2ffc86[_0x53341e(0x38f)],this[_0x53341e(0x1e6)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x11bc70?this[_0x53341e(0xe8)][_0x53341e(0x3b3)](this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]):(this['_mode']=_0x11bc70[_0x53341e(0xf4)](_0x2ffc86,this,_0x418dcb&&_0x418dcb[_0x53341e(0x10b)]),this['_mode'][_0x53341e(0x35f)]=_0x11bc70);},'_doProcessBlock':function(_0x59216a,_0x5c53cb){var _0x31e29c=_0x253331;this[_0x31e29c(0xe8)][_0x31e29c(0x283)](_0x59216a,_0x5c53cb);},'_doFinalize':function(){var _0x300f29=_0x253331,_0x355fac,_0x57def6=this[_0x300f29(0xa4)]['padding'];return this[_0x300f29(0x24e)]==this['_ENC_XFORM_MODE']?(_0x57def6[_0x300f29(0x18c)](this[_0x300f29(0x28d)],this[_0x300f29(0x118)]),_0x355fac=this[_0x300f29(0x36b)](!0x0)):(_0x355fac=this[_0x300f29(0x36b)](!0x0),_0x57def6[_0x300f29(0x37d)](_0x355fac)),_0x355fac;},'blockSize':0x80/0x20});var _0x4f3f2a=_0x3f9c57['CipherParams']=_0x1d0bc3[_0x253331(0x11c)]({'init':function(_0x1b2c3a){var _0x41942f=_0x253331;this[_0x41942f(0x1f1)](_0x1b2c3a);},'toString':function(_0x3a1bf8){var _0x398cfc=_0x253331;return(_0x3a1bf8||this[_0x398cfc(0x315)])[_0x398cfc(0x2bd)](this);}}),_0x1fc5c3=_0x49cdb3[_0x253331(0x30f)]={},_0x3e2c21=_0x1fc5c3[_0x253331(0xe6)]={'stringify':function(_0x325cc1){var _0xd27418=_0x253331,_0x474883,_0x1cd4ec=_0x325cc1[_0xd27418(0x1d5)],_0x3980b2=_0x325cc1[_0xd27418(0xd2)];return _0x3980b2?_0x474883=_0x411067[_0xd27418(0x25f)]([0x53616c74,0x65645f5f])[_0xd27418(0x185)](_0x3980b2)[_0xd27418(0x185)](_0x1cd4ec):_0x474883=_0x1cd4ec,_0x474883['toString'](_0x1c8068);},'parse':function(_0x4bf288){var _0x3a1a91=_0x253331,_0x4feea0,_0x141ace=_0x1c8068[_0x3a1a91(0x154)](_0x4bf288),_0xc78965=_0x141ace['words'];return _0xc78965[0x0]==0x53616c74&&_0xc78965[0x1]==0x65645f5f&&(_0x4feea0=_0x411067[_0x3a1a91(0x25f)](_0xc78965[_0x3a1a91(0x2c8)](0x2,0x4)),_0xc78965[_0x3a1a91(0x2f4)](0x0,0x4),_0x141ace[_0x3a1a91(0x27e)]-=0x10),_0x4f3f2a['create']({'ciphertext':_0x141ace,'salt':_0x4feea0});}},_0x4885f0=_0x3f9c57[_0x253331(0xac)]=_0x1d0bc3['extend']({'cfg':_0x1d0bc3[_0x253331(0x11c)]({'format':_0x3e2c21}),'encrypt':function(_0x229384,_0x57a13e,_0x51e3a1,_0x3a55ea){var _0x4b82b4=_0x253331;_0x3a55ea=this[_0x4b82b4(0xa4)]['extend'](_0x3a55ea);var _0x37f637=_0x229384[_0x4b82b4(0x303)](_0x51e3a1,_0x3a55ea),_0x2e5e44=_0x37f637['finalize'](_0x57a13e),_0x39982f=_0x37f637['cfg'];return _0x4f3f2a[_0x4b82b4(0x25f)]({'ciphertext':_0x2e5e44,'key':_0x51e3a1,'iv':_0x39982f['iv'],'algorithm':_0x229384,'mode':_0x39982f[_0x4b82b4(0x368)],'padding':_0x39982f[_0x4b82b4(0x384)],'blockSize':_0x229384[_0x4b82b4(0x118)],'formatter':_0x3a55ea[_0x4b82b4(0x30f)]});},'decrypt':function(_0x15e2f3,_0x49c233,_0x5b2b09,_0x3c1fa5){var _0x3d14b1=_0x253331;_0x3c1fa5=this['cfg'][_0x3d14b1(0x11c)](_0x3c1fa5),_0x49c233=this[_0x3d14b1(0x1db)](_0x49c233,_0x3c1fa5['format']);var _0x44942d=_0x15e2f3[_0x3d14b1(0x38f)](_0x5b2b09,_0x3c1fa5)[_0x3d14b1(0x260)](_0x49c233['ciphertext']);return _0x44942d;},'_parse':function(_0x46ea0a,_0x2d025b){var _0x1416cb=_0x253331;return typeof _0x46ea0a==_0x1416cb(0x106)?_0x2d025b['parse'](_0x46ea0a,this):_0x46ea0a;}}),_0xa29009=_0x49cdb3[_0x253331(0x246)]={},_0x20d39a=_0xa29009[_0x253331(0xe6)]={'execute':function(_0x72b71d,_0x18c271,_0x5e551c,_0x5e123c,_0x417c94){var _0x2ef7d5=_0x253331;if(_0x5e123c||(_0x5e123c=_0x411067[_0x2ef7d5(0xe5)](0x40/0x8)),_0x417c94)var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c,'hasher':_0x417c94})[_0x2ef7d5(0x249)](_0x72b71d,_0x5e123c);else var _0x2c678e=_0x1db0b6[_0x2ef7d5(0x25f)]({'keySize':_0x18c271+_0x5e551c})['compute'](_0x72b71d,_0x5e123c);var _0x3fa279=_0x411067['create'](_0x2c678e['words'][_0x2ef7d5(0x2c8)](_0x18c271),_0x5e551c*0x4);return _0x2c678e[_0x2ef7d5(0x27e)]=_0x18c271*0x4,_0x4f3f2a[_0x2ef7d5(0x25f)]({'key':_0x2c678e,'iv':_0x3fa279,'salt':_0x5e123c});}},_0x1c681d=_0x3f9c57[_0x253331(0x1fa)]=_0x4885f0['extend']({'cfg':_0x4885f0[_0x253331(0xa4)][_0x253331(0x11c)]({'kdf':_0x20d39a}),'encrypt':function(_0x45dbd1,_0x1b5807,_0x1c5bb8,_0x1f9d9c){var _0x14f028=_0x253331;_0x1f9d9c=this[_0x14f028(0xa4)][_0x14f028(0x11c)](_0x1f9d9c);var _0x32763c=_0x1f9d9c[_0x14f028(0x246)][_0x14f028(0x2b7)](_0x1c5bb8,_0x45dbd1[_0x14f028(0x2ce)],_0x45dbd1['ivSize'],_0x1f9d9c[_0x14f028(0xd2)],_0x1f9d9c['hasher']);_0x1f9d9c['iv']=_0x32763c['iv'];var _0x1df40b=_0x4885f0[_0x14f028(0x140)][_0x14f028(0xf4)](this,_0x45dbd1,_0x1b5807,_0x32763c['key'],_0x1f9d9c);return _0x1df40b[_0x14f028(0x1f1)](_0x32763c),_0x1df40b;},'decrypt':function(_0x421dd2,_0x12b910,_0x10d64b,_0x235e2d){var _0x30321c=_0x253331;_0x235e2d=this[_0x30321c(0xa4)]['extend'](_0x235e2d),_0x12b910=this[_0x30321c(0x1db)](_0x12b910,_0x235e2d[_0x30321c(0x30f)]);var _0x43cd43=_0x235e2d[_0x30321c(0x246)][_0x30321c(0x2b7)](_0x10d64b,_0x421dd2['keySize'],_0x421dd2['ivSize'],_0x12b910[_0x30321c(0xd2)],_0x235e2d[_0x30321c(0x302)]);_0x235e2d['iv']=_0x43cd43['iv'];var _0x4a5699=_0x4885f0[_0x30321c(0x169)]['call'](this,_0x421dd2,_0x12b910,_0x43cd43[_0x30321c(0x2f1)],_0x235e2d);return _0x4a5699;}});}();}));}(Je)),Je[_0x58c52e(0x12a)];}var En=Ve[_0x368389(0x12a)],ei;function mn(){var _0x3b8306=_0x368389;return ei||(ei=0x1,function(_0x490977,_0x4879e4){(function(_0x3afaf5,_0x49ee11,_0x1f1dbb){var _0x393915=_0x4f24;_0x490977[_0x393915(0x12a)]=_0x49ee11(ie(),Ri(),hn(),Ci(),Ni());}(En,function(_0x105aba){var _0x1ab208=_0x4f24;return(function(){var _0x221178=_0x4f24,_0x2901db=_0x105aba,_0x51e963=_0x2901db[_0x221178(0x38a)],_0x52d161=_0x51e963[_0x221178(0x239)],_0x4fca9a=_0x2901db[_0x221178(0x351)],_0x48eef7=[],_0x74f80e=[],_0xc295d9=[],_0x5708db=[],_0x188777=[],_0x5b47eb=[],_0x1765f6=[],_0x1b7f01=[],_0x4a217a=[],_0x178499=[];(function(){for(var _0xd0d701=[],_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++)_0x93e7b2<0x80?_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1:_0xd0d701[_0x93e7b2]=_0x93e7b2<<0x1^0x11b;for(var _0xd555d1=0x0,_0x30beb7=0x0,_0x93e7b2=0x0;_0x93e7b2<0x100;_0x93e7b2++){var _0x543a54=_0x30beb7^_0x30beb7<<0x1^_0x30beb7<<0x2^_0x30beb7<<0x3^_0x30beb7<<0x4;_0x543a54=_0x543a54>>>0x8^_0x543a54&0xff^0x63,_0x48eef7[_0xd555d1]=_0x543a54,_0x74f80e[_0x543a54]=_0xd555d1;var _0x5d2e59=_0xd0d701[_0xd555d1],_0x4ace80=_0xd0d701[_0x5d2e59],_0x4d6287=_0xd0d701[_0x4ace80],_0x5a221b=_0xd0d701[_0x543a54]*0x101^_0x543a54*0x1010100;_0xc295d9[_0xd555d1]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x5708db[_0xd555d1]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x188777[_0xd555d1]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x5b47eb[_0xd555d1]=_0x5a221b;var _0x5a221b=_0x4d6287*0x1010101^_0x4ace80*0x10001^_0x5d2e59*0x101^_0xd555d1*0x1010100;_0x1765f6[_0x543a54]=_0x5a221b<<0x18|_0x5a221b>>>0x8,_0x1b7f01[_0x543a54]=_0x5a221b<<0x10|_0x5a221b>>>0x10,_0x4a217a[_0x543a54]=_0x5a221b<<0x8|_0x5a221b>>>0x18,_0x178499[_0x543a54]=_0x5a221b,_0xd555d1?(_0xd555d1=_0x5d2e59^_0xd0d701[_0xd0d701[_0xd0d701[_0x4d6287^_0x5d2e59]]],_0x30beb7^=_0xd0d701[_0xd0d701[_0x30beb7]]):_0xd555d1=_0x30beb7=0x1;}}());var _0x1b9461=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x38e2b3=_0x4fca9a['AES']=_0x52d161['extend']({'_doReset':function(){var _0x4ab523=_0x221178,_0x3a6b9e;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x4ab523(0x308)])){for(var _0x3dcaf2=this[_0x4ab523(0x1ab)]=this[_0x4ab523(0x308)],_0x1f98d7=_0x3dcaf2[_0x4ab523(0x10b)],_0x21eb79=_0x3dcaf2[_0x4ab523(0x27e)]/0x4,_0x5d4dc0=this['_nRounds']=_0x21eb79+0x6,_0x3637c4=(_0x5d4dc0+0x1)*0x4,_0x363eb4=this[_0x4ab523(0x1f2)]=[],_0x33fee3=0x0;_0x33fee3<_0x3637c4;_0x33fee3++)_0x33fee3<_0x21eb79?_0x363eb4[_0x33fee3]=_0x1f98d7[_0x33fee3]:(_0x3a6b9e=_0x363eb4[_0x33fee3-0x1],_0x33fee3%_0x21eb79?_0x21eb79>0x6&&_0x33fee3%_0x21eb79==0x4&&(_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff]):(_0x3a6b9e=_0x3a6b9e<<0x8|_0x3a6b9e>>>0x18,_0x3a6b9e=_0x48eef7[_0x3a6b9e>>>0x18]<<0x18|_0x48eef7[_0x3a6b9e>>>0x10&0xff]<<0x10|_0x48eef7[_0x3a6b9e>>>0x8&0xff]<<0x8|_0x48eef7[_0x3a6b9e&0xff],_0x3a6b9e^=_0x1b9461[_0x33fee3/_0x21eb79|0x0]<<0x18),_0x363eb4[_0x33fee3]=_0x363eb4[_0x33fee3-_0x21eb79]^_0x3a6b9e);for(var _0x2da960=this[_0x4ab523(0x9b)]=[],_0x3b9ec2=0x0;_0x3b9ec2<_0x3637c4;_0x3b9ec2++){var _0x33fee3=_0x3637c4-_0x3b9ec2;if(_0x3b9ec2%0x4)var _0x3a6b9e=_0x363eb4[_0x33fee3];else var _0x3a6b9e=_0x363eb4[_0x33fee3-0x4];_0x3b9ec2<0x4||_0x33fee3<=0x4?_0x2da960[_0x3b9ec2]=_0x3a6b9e:_0x2da960[_0x3b9ec2]=_0x1765f6[_0x48eef7[_0x3a6b9e>>>0x18]]^_0x1b7f01[_0x48eef7[_0x3a6b9e>>>0x10&0xff]]^_0x4a217a[_0x48eef7[_0x3a6b9e>>>0x8&0xff]]^_0x178499[_0x48eef7[_0x3a6b9e&0xff]];}}},'encryptBlock':function(_0x4d62ca,_0x56315f){this['_doCryptBlock'](_0x4d62ca,_0x56315f,this['_keySchedule'],_0xc295d9,_0x5708db,_0x188777,_0x5b47eb,_0x48eef7);},'decryptBlock':function(_0x54b395,_0x4ffb3d){var _0x1654bf=_0x221178,_0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0,this[_0x1654bf(0xfa)](_0x54b395,_0x4ffb3d,this['_invKeySchedule'],_0x1765f6,_0x1b7f01,_0x4a217a,_0x178499,_0x74f80e);var _0x50ddb0=_0x54b395[_0x4ffb3d+0x1];_0x54b395[_0x4ffb3d+0x1]=_0x54b395[_0x4ffb3d+0x3],_0x54b395[_0x4ffb3d+0x3]=_0x50ddb0;},'_doCryptBlock':function(_0x23706f,_0x1fb8bb,_0x432987,_0x3d80f2,_0x19f550,_0x5d2663,_0x4ee799,_0x1a7b1d){var _0xec1f4e=_0x221178;for(var _0x2070ec=this[_0xec1f4e(0x96)],_0x1959b0=_0x23706f[_0x1fb8bb]^_0x432987[0x0],_0xb64829=_0x23706f[_0x1fb8bb+0x1]^_0x432987[0x1],_0x5517a7=_0x23706f[_0x1fb8bb+0x2]^_0x432987[0x2],_0x139503=_0x23706f[_0x1fb8bb+0x3]^_0x432987[0x3],_0x40a54c=0x4,_0x3420e2=0x1;_0x3420e2<_0x2070ec;_0x3420e2++){var _0xdb5c5=_0x3d80f2[_0x1959b0>>>0x18]^_0x19f550[_0xb64829>>>0x10&0xff]^_0x5d2663[_0x5517a7>>>0x8&0xff]^_0x4ee799[_0x139503&0xff]^_0x432987[_0x40a54c++],_0x16e0ea=_0x3d80f2[_0xb64829>>>0x18]^_0x19f550[_0x5517a7>>>0x10&0xff]^_0x5d2663[_0x139503>>>0x8&0xff]^_0x4ee799[_0x1959b0&0xff]^_0x432987[_0x40a54c++],_0x31d8a7=_0x3d80f2[_0x5517a7>>>0x18]^_0x19f550[_0x139503>>>0x10&0xff]^_0x5d2663[_0x1959b0>>>0x8&0xff]^_0x4ee799[_0xb64829&0xff]^_0x432987[_0x40a54c++],_0x1041c9=_0x3d80f2[_0x139503>>>0x18]^_0x19f550[_0x1959b0>>>0x10&0xff]^_0x5d2663[_0xb64829>>>0x8&0xff]^_0x4ee799[_0x5517a7&0xff]^_0x432987[_0x40a54c++];_0x1959b0=_0xdb5c5,_0xb64829=_0x16e0ea,_0x5517a7=_0x31d8a7,_0x139503=_0x1041c9;}var _0xdb5c5=(_0x1a7b1d[_0x1959b0>>>0x18]<<0x18|_0x1a7b1d[_0xb64829>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x5517a7>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x139503&0xff])^_0x432987[_0x40a54c++],_0x16e0ea=(_0x1a7b1d[_0xb64829>>>0x18]<<0x18|_0x1a7b1d[_0x5517a7>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x139503>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x1959b0&0xff])^_0x432987[_0x40a54c++],_0x31d8a7=(_0x1a7b1d[_0x5517a7>>>0x18]<<0x18|_0x1a7b1d[_0x139503>>>0x10&0xff]<<0x10|_0x1a7b1d[_0x1959b0>>>0x8&0xff]<<0x8|_0x1a7b1d[_0xb64829&0xff])^_0x432987[_0x40a54c++],_0x1041c9=(_0x1a7b1d[_0x139503>>>0x18]<<0x18|_0x1a7b1d[_0x1959b0>>>0x10&0xff]<<0x10|_0x1a7b1d[_0xb64829>>>0x8&0xff]<<0x8|_0x1a7b1d[_0x5517a7&0xff])^_0x432987[_0x40a54c++];_0x23706f[_0x1fb8bb]=_0xdb5c5,_0x23706f[_0x1fb8bb+0x1]=_0x16e0ea,_0x23706f[_0x1fb8bb+0x2]=_0x31d8a7,_0x23706f[_0x1fb8bb+0x3]=_0x1041c9;},'keySize':0x100/0x20});_0x2901db[_0x221178(0x31c)]=_0x52d161[_0x221178(0xc1)](_0x38e2b3);}()),_0x105aba[_0x1ab208(0x31c)];}));}(Ve)),Ve[_0x3b8306(0x12a)];}var In=mn();const Sn=$e(In);var gn=Ri();const ti=$e(gn);var Xe={'exports':{}},Tn=Xe['exports'],ii;function On(){var _0x38b670=_0x368389;return ii||(ii=0x1,function(_0x3d45cb,_0x536281){(function(_0x4a61da,_0x44b08e){var _0x443481=_0x4f24;_0x3d45cb[_0x443481(0x12a)]=_0x44b08e(ie());}(Tn,function(_0x94aad8){var _0x1bfbfb=_0x4f24;return _0x94aad8[_0x1bfbfb(0x2cc)][_0x1bfbfb(0x392)];}));}(Xe)),Xe[_0x38b670(0x12a)];}var Rn=On();const Cn=$e(Rn);var Ze={'exports':{}},Nn=Ze[_0x368389(0x12a)],si;function bn(){var _0x5e857b=_0x368389;return si||(si=0x1,function(_0x271d80,_0x4755b4){(function(_0x486347,_0x279176){_0x271d80['exports']=_0x279176(ie());}(Nn,function(_0x2dbb81){var _0x1e38c6=_0x4f24;return(function(){var _0x4a5a66=_0x4f24;if(typeof ArrayBuffer==_0x4a5a66(0x2ee)){var _0x3b3956=_0x2dbb81,_0x2b5ebe=_0x3b3956[_0x4a5a66(0x38a)],_0xe81d5b=_0x2b5ebe['WordArray'],_0x58fab3=_0xe81d5b[_0x4a5a66(0x3b3)],_0x4dfdf5=_0xe81d5b[_0x4a5a66(0x3b3)]=function(_0x4c4e3f){var _0x3b06e7=_0x4a5a66;if(_0x4c4e3f instanceof ArrayBuffer&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f)),(_0x4c4e3f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c4e3f instanceof Uint8ClampedArray||_0x4c4e3f instanceof Int16Array||_0x4c4e3f instanceof Uint16Array||_0x4c4e3f instanceof Int32Array||_0x4c4e3f instanceof Uint32Array||_0x4c4e3f instanceof Float32Array||_0x4c4e3f instanceof Float64Array)&&(_0x4c4e3f=new Uint8Array(_0x4c4e3f[_0x3b06e7(0x258)],_0x4c4e3f['byteOffset'],_0x4c4e3f[_0x3b06e7(0xc0)])),_0x4c4e3f instanceof Uint8Array){for(var _0x88709d=_0x4c4e3f[_0x3b06e7(0xc0)],_0x5bb5dc=[],_0x2616a0=0x0;_0x2616a0<_0x88709d;_0x2616a0++)_0x5bb5dc[_0x2616a0>>>0x2]|=_0x4c4e3f[_0x2616a0]<<0x18-_0x2616a0%0x4*0x8;_0x58fab3[_0x3b06e7(0xf4)](this,_0x5bb5dc,_0x88709d);}else _0x58fab3['apply'](this,arguments);};_0x4dfdf5['prototype']=_0xe81d5b;}}()),_0x2dbb81['lib'][_0x1e38c6(0xed)];}));}(Ze)),Ze[_0x5e857b(0x12a)];}var Dn=bn();const yn=$e(Dn);var Qe={'exports':{}},Un=Qe[_0x368389(0x12a)],ni;function An(){return ni||(ni=0x1,function(_0x50ac8a,_0x65e375){(function(_0x27e3b3,_0x237b84,_0x5302f0){_0x50ac8a['exports']=_0x237b84(ie(),Ni());}(Un,function(_0x4073e8){var _0x2bffce=_0x4f24;return _0x4073e8['pad'][_0x2bffce(0x132)]={'pad':function(){},'unpad':function(){}},_0x4073e8['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var Pn=An();const wn=$e(Pn);function Mn(_0x3d77f8,_0x1d38c4){var _0x5e93c3=_0x368389;const _0x4cc232=_0x1d38c4-_0x3d77f8['length']%_0x1d38c4,_0x56141e=String[_0x5e93c3(0x386)](_0x4cc232)[_0x5e93c3(0x215)](_0x4cc232);return _0x3d77f8+_0x56141e;}function Ln(_0x2d0a9b,_0x540d61){var _0x252376=_0x368389;const _0x5cbaf9=yn[_0x252376(0xe5)](0x10),_0x25f5fd=Mn(_0x2d0a9b,0x10),_0x3cb5ac=Sn[_0x252376(0x140)](Cn['parse'](_0x25f5fd),ti[_0x252376(0x154)](_0x540d61),{'iv':_0x5cbaf9,'padding':wn});return _0x5cbaf9[_0x252376(0x185)](_0x3cb5ac[_0x252376(0x1d5)])[_0x252376(0xd8)](ti);}function xn(){var _0x3e254b=_0x368389;const _0x41e903=_0x293dc2()[_0x3e254b(0x37b)];if(_0x41e903){const _0x3d0ccb={'time':Math[_0x3e254b(0x2e8)](Date[_0x3e254b(0xd6)]()/0x3e8),'domain':location[_0x3e254b(0x150)]};return Ln(JSON['stringify'](_0x3d0ccb),_0x41e903);}}var kn=Object[_0x368389(0x284)],$n=(_0x15d18e,_0xeeac64,_0x26f003,_0x146b98)=>{var _0x179a53=_0x368389;for(var _0x53931a=_0x146b98>0x1?void 0x0:_0x146b98?kn(_0xeeac64,_0x26f003):_0xeeac64,_0xcf19a3=_0x15d18e[_0x179a53(0x3b7)]-0x1,_0x497a6e;_0xcf19a3>=0x0;_0xcf19a3--)(_0x497a6e=_0x15d18e[_0xcf19a3])&&(_0x53931a=_0x497a6e(_0x53931a)||_0x53931a);return _0x53931a;},Hn=(_0x4e59a9,_0x596b97)=>(_0x1c1d6d,_0xea8eb4)=>_0x596b97(_0x1c1d6d,_0xea8eb4,_0x4e59a9);let at=class{constructor(_0x3312a9){var _0x24a767=_0x368389;this[_0x24a767(0x342)]=_0x3312a9,this['_initRequestHeader']();}[_0x368389(0x282)](){var _0x9515fc=_0x368389;this['_httpService'][_0x9515fc(0x287)]({'interceptor':(_0x3cc914,_0xdd973b)=>{var _0x55ed6d=_0x9515fc;const _0x2fe866=_0x3cc914[_0x55ed6d(0x177)],_0x558425=xn();return _0x558425&&_0x2fe866['set'](_0x55ed6d(0x1c3),_0x558425),_0xdd973b(_0x3cc914);}});}};at=$n([Hn(0x0,_0x3ce8f0(_0x5dc9e9))],at);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x2df506,_0x4b39ce,_0x1e5302,_0x170f0a)=>{for(var _0x6bc80c=_0x170f0a>0x1?void 0x0:_0x170f0a?Bn(_0x4b39ce,_0x1e5302):_0x4b39ce,_0x250fd5=_0x2df506['length']-0x1,_0x34f95e;_0x250fd5>=0x0;_0x250fd5--)(_0x34f95e=_0x2df506[_0x250fd5])&&(_0x6bc80c=_0x34f95e(_0x6bc80c)||_0x6bc80c);return _0x6bc80c;},vt=(_0x11b23a,_0x3e052a)=>(_0x279c20,_0x1b28ce)=>_0x3e052a(_0x279c20,_0x1b28ce,_0x11b23a);let Ot=class extends _0x4eb61d{constructor(_0x376d9e,_0xb3d411,_0x210fd2){var _0x69c082=_0x368389;super(),D(this,_0x69c082(0x301),new _0x1593ab(null)),D(this,'unitInfo$',this[_0x69c082(0x301)]['asObservable']()),(this[_0x69c082(0x12b)]=_0x376d9e,this[_0x69c082(0x1e2)]=_0xb3d411,this[_0x69c082(0x307)]=_0x210fd2);}async[_0x368389(0x1d7)](_0x58ac25,_0xfab7c7,_0x2bc9b8){var _0x2a7a98=_0x368389;this[_0x2a7a98(0x301)][_0x2a7a98(0x29b)]({'unitId':_0x58ac25,'type':_0xfab7c7});let _0x3cc66d=null;switch(_0xfab7c7){case Q[_0x2a7a98(0x305)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x2d1)](_0x58ac25,_0x2bc9b8);break;}case Q[_0x2a7a98(0x36a)]:{_0x3cc66d=await this[_0x2a7a98(0x1e2)][_0x2a7a98(0x3b0)](_0x58ac25,_0x2bc9b8);break;}default:{this[_0x2a7a98(0x12b)][_0x2a7a98(0x201)](_0x2a7a98(0x242),_0x2a7a98(0x328));break;}}return _0x3cc66d;}async[_0x368389(0x373)](_0x121645,_0x29e985,_0x1c66a7){var _0x1ebea3=_0x368389,_0x424ec7;this[_0x1ebea3(0x301)][_0x1ebea3(0x29b)]({'unitId':_0x121645,'type':_0x29e985,'subUnitId':_0x1c66a7});let _0x3c9f71=0x0;const _0x53700f=await((_0x424ec7=this['_localCacheService'])==null?void 0x0:_0x424ec7['loadOfflineData'](_0x121645));return _0x53700f&&(_0x53700f['awaitingChangeset']||_0x53700f[_0x1ebea3(0x162)][_0x1ebea3(0x3b7)]!==0x0)&&(_0x3c9f71=_0x53700f[_0x1ebea3(0x1a4)]),_0x3c9f71===0x0&&this['_logService']['debug'](_0x1ebea3(0x242),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['loadUnitOfRevision'](_0x121645,_0x29e985,_0x3c9f71);}};Ot=Fn([vt(0x0,_0x21f6c3),vt(0x1,_0x3ce8f0(_0x1ade95)),vt(0x2,_0x5c10ac(J))],Ot);var jn=Object[_0x368389(0x284)],Vn=(_0x25d8d7,_0x21e63d,_0x40af6e,_0x5618d6)=>{for(var _0x27c059=_0x5618d6>0x1?void 0x0:_0x5618d6?jn(_0x21e63d,_0x40af6e):_0x21e63d,_0x4ab7a4=_0x25d8d7['length']-0x1,_0x281001;_0x4ab7a4>=0x0;_0x4ab7a4--)(_0x281001=_0x25d8d7[_0x4ab7a4])&&(_0x27c059=_0x281001(_0x27c059)||_0x27c059);return _0x27c059;},pt=(_0x31dfdb,_0x52a72f)=>(_0x5e3eaa,_0x38dc3d)=>_0x52a72f(_0x5e3eaa,_0x38dc3d,_0x31dfdb);const Gn=[_0x368389(0xbe),_0x368389(0x229),'image/jpg',_0x368389(0x271),_0x368389(0x3a5)],Wn=0x5*0x400*0x400,Yn=_0x368389(0xd7),Kn=_0x368389(0x3a6);let Rt=class{constructor(_0x128a72,_0x35de38,_0x438490){var _0x51d94d=_0x368389;D(this,_0x51d94d(0x2d8),0x0),D(this,_0x51d94d(0x23a),new _0x7c3fbd()),D(this,_0x51d94d(0x26b),this[_0x51d94d(0x23a)]),D(this,_0x51d94d(0xd5),new Map()),(this['_httpService']=_0x128a72,this['_configService']=_0x35de38,this[_0x51d94d(0x14b)]=_0x438490);}[_0x368389(0x326)](_0x46df77){var _0x5f5078=_0x368389;this[_0x5f5078(0x2d8)]=_0x46df77,this[_0x5f5078(0x23a)]['next'](_0x46df77);}[_0x368389(0x189)](_0xe05393,_0x218da4){var _0x53a3f2=_0x368389;if(_0x218da4===_0x122f39[_0x53a3f2(0x21c)]){const _0x27b443=new Image();return _0x27b443[_0x53a3f2(0x1f0)]=_0xe05393,_0x27b443;}return this[_0x53a3f2(0xd5)][_0x53a3f2(0x187)](_0xe05393);}[_0x368389(0x353)](_0x1b9d57,_0x2ef8c6,_0x2e7f93){var _0x56b72c=_0x368389;_0x2ef8c6===_0x122f39['BASE64']||_0x2e7f93==null||this[_0x56b72c(0xd5)][_0x56b72c(0x3ac)](_0x1b9d57,_0x2e7f93);}async['getImage'](_0x43d402){var _0x4de798=_0x368389;try{const _0x274c39=this[_0x4de798(0x18b)](this[_0x4de798(0x2fb)](),''+_0x43d402),_0x209b51=(await this[_0x4de798(0x342)][_0x4de798(0x187)](_0x274c39))['body'];if(_0x209b51[_0x4de798(0x201)]&&_0x209b51[_0x4de798(0x201)][_0x4de798(0xa3)]===vi['OK']){const _0x250e91=new URL(_0x209b51['url'],this[_0x4de798(0x20d)]())[_0x4de798(0xd8)]();return Promise[_0x4de798(0x12f)](_0x250e91);}return Promise[_0x4de798(0x173)](_0x209b51[_0x4de798(0x201)]);}catch(_0x5ce49f){return Promise['reject'](_0x5ce49f);}}async['saveImage'](_0x52af00){var _0x5e78d1=_0x368389;let _0x596dc3='';if(!Gn['includes'](_0x52af00['type']))return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x256)]));if(_0x52af00[_0x5e78d1(0x336)]>Wn)return this[_0x5e78d1(0x124)](),Promise['reject'](new Error(_0x4f409a[_0x5e78d1(0x335)]));try{const _0x3b5c5e=new FormData();_0x3b5c5e['append'](_0x5e78d1(0x226),_0x52af00);const _0x4e016f=this[_0x5e78d1(0x14b)]['getFocusedUnit'](),_0x5ee1a9=_0x4e016f==null?void 0x0:_0x4e016f['getUnitId']();if(!_0x5ee1a9)throw new Error(_0x5e78d1(0x325));const _0x2b330b=this[_0x5e78d1(0x23b)]()+_0x5e78d1(0x21e)+_0x52af00[_0x5e78d1(0x336)]['toString']()+'&source='+pi[_0x5e78d1(0x15d)]+_0x5e78d1(0x2d4)+encodeURIComponent(_0x5ee1a9),_0x4f289e={'body':_0x3b5c5e},_0x527d7a=(await this[_0x5e78d1(0x342)][_0x5e78d1(0x13c)](_0x2b330b,_0x4f289e))[_0x5e78d1(0x369)];if(typeof _0x527d7a[_0x5e78d1(0x2b2)]!='string')return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));_0x596dc3=_0x527d7a[_0x5e78d1(0x2b2)];}catch{return this[_0x5e78d1(0x124)](),Promise[_0x5e78d1(0x173)](new Error(_0x4f409a[_0x5e78d1(0x2a5)]));}return new Promise((_0x5219bd,_0x244839)=>{var _0x30882b=_0x5e78d1;const _0x345634=new FileReader();_0x345634[_0x30882b(0x1c2)](_0x52af00),_0x345634[_0x30882b(0x15a)]=_0x371cec=>{var _0x3a4d2d=_0x30882b,_0x295262;const _0x46ada7=(_0x295262=_0x371cec[_0x3a4d2d(0x24c)])==null?void 0x0:_0x295262['result'];if(_0x46ada7==null){this[_0x3a4d2d(0x124)](),_0x244839(new Error(_0x4f409a[_0x3a4d2d(0x2a5)]));return;}const _0x59578d=_0x87143(0x6);_0x5219bd({'imageId':_0x59578d,'imageSourceType':_0x122f39[_0x3a4d2d(0x11f)],'source':_0x596dc3,'base64Cache':_0x46ada7,'status':_0x4f409a['SUCCUSS']}),this[_0x3a4d2d(0x124)]();};});}['_getUploadFileURL'](){var _0x3fd017=_0x368389,_0x9ae715;const _0x1c0953=this['_configService'][_0x3fd017(0x19b)](K);return(_0x9ae715=_0x1c0953==null?void 0x0:_0x1c0953[_0x3fd017(0xab)])!=null?_0x9ae715:Yn;}[_0x368389(0x2fb)](){var _0x368100=_0x368389,_0x59dcd1;const _0x5902a0=this[_0x368100(0xb8)][_0x368100(0x19b)](K);return(_0x59dcd1=_0x5902a0==null?void 0x0:_0x5902a0[_0x368100(0x228)])!=null?_0x59dcd1:Kn;}[_0x368389(0x20d)](){var _0x3bedf3=_0x368389,_0x25fa90;const _0x28027b=this['_configService'][_0x3bedf3(0x19b)](K);return(_0x25fa90=_0x28027b==null?void 0x0:_0x28027b[_0x3bedf3(0xdb)])!=null?_0x25fa90:location[_0x3bedf3(0xaa)];}[_0x368389(0x18b)](_0x3f5c74,_0x239706){var _0x2b069c=_0x368389;return _0x3f5c74['replace'](_0x2b069c(0x388),_0x239706);}['_decreaseWaiting'](){var _0x1f155=_0x368389;this['_waitCount']-=0x1,this['_change$'][_0x1f155(0x29b)](this[_0x1f155(0x2d8)]);}};Rt=Vn([pt(0x0,_0x3ce8f0(_0x5dc9e9)),pt(0x1,_0x3c30e0),pt(0x2,_0x3ce8f0(_0x558d3e))],Rt);var qn=Object[_0x368389(0x284)],zn=(_0x4510e6,_0x5a3f8e,_0x372a0f,_0x4aebf1)=>{var _0x35f975=_0x368389;for(var _0x443bac=_0x4aebf1>0x1?void 0x0:_0x4aebf1?qn(_0x5a3f8e,_0x372a0f):_0x5a3f8e,_0x2fe50f=_0x4510e6[_0x35f975(0x3b7)]-0x1,_0x15587d;_0x2fe50f>=0x0;_0x2fe50f--)(_0x15587d=_0x4510e6[_0x2fe50f])&&(_0x443bac=_0x15587d(_0x443bac)||_0x443bac);return _0x443bac;},ri=(_0x4a5333,_0x18368e)=>(_0x357d30,_0x4a614f)=>_0x18368e(_0x357d30,_0x4a614f,_0x4a5333);const Jn='/universer-api/authz';let Ct=class{constructor(_0x2a2c3b,_0x225329){var _0x1e7cc8=_0x368389;this[_0x1e7cc8(0xb8)]=_0x2a2c3b,this['_HTTPService']=_0x225329;}['_getAPIPrefixPath'](){var _0x5f12aa=_0x368389,_0x1d2e17;const _0x3a6c5e=this[_0x5f12aa(0xb8)][_0x5f12aa(0x19b)](K);return(_0x1d2e17=_0x3a6c5e==null?void 0x0:_0x3a6c5e[_0x5f12aa(0xba)])!=null?_0x1d2e17:Jn;}async[_0x368389(0x2e9)](_0x17d788){var _0x55bb4a=_0x368389;const _0x3514c3=this[_0x55bb4a(0x172)]()+_0x55bb4a(0x2fd);return{'list':[{'title':_0x55bb4a(0x251),'mentions':(await this[_0x55bb4a(0x27b)][_0x55bb4a(0x187)](_0x3514c3,{'params':{'objectID':_0x17d788[_0x55bb4a(0x32d)],'unitID':_0x17d788[_0x55bb4a(0x32d)]}}))[_0x55bb4a(0x369)][_0x55bb4a(0x1b0)][_0x55bb4a(0x28c)](_0x41562a=>({'objectId':_0x41562a['id'],'name':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0xd9)],'metadata':{'icon':_0x41562a[_0x55bb4a(0x23c)][_0x55bb4a(0x296)]},'label':_0x41562a[_0x55bb4a(0x23c)]['name'],'objectType':_0x1511b4['PERSON']})),'metadata':{},'type':_0x1511b4[_0x55bb4a(0x1d3)]}]};}};Ct=zn([ri(0x0,_0x3ce8f0(_0x3c30e0)),ri(0x1,_0x3ce8f0(_0x5dc9e9))],Ct);var Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x2d8fd7,_0x234464,_0x341b7c,_0x40abb4)=>{var _0xb296eb=_0x368389;for(var _0x26e311=_0x40abb4>0x1?void 0x0:_0x40abb4?Xn(_0x234464,_0x341b7c):_0x234464,_0x24a3da=_0x2d8fd7[_0xb296eb(0x3b7)]-0x1,_0x51617a;_0x24a3da>=0x0;_0x24a3da--)(_0x51617a=_0x2d8fd7[_0x24a3da])&&(_0x26e311=_0x51617a(_0x26e311)||_0x26e311);return _0x26e311;},Ue=(_0x149022,_0x5617c4)=>(_0x2658f8,_0x353639)=>_0x5617c4(_0x2658f8,_0x353639,_0x149022);let ot=class extends _0x4eb61d{constructor(_0xa77a78,_0x35517b,_0x94c4eb,_0x3a245d,_0x472855){var _0x36ec90=_0x368389;super(),this[_0x36ec90(0x39e)]=_0xa77a78,this[_0x36ec90(0x14b)]=_0x35517b,this[_0x36ec90(0x3ab)]=_0x94c4eb,this[_0x36ec90(0x11a)]=_0x3a245d,this[_0x36ec90(0x367)]=_0x472855,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0x368389(0x1e4)](){var _0x8cb1aa=_0x368389;const _0x518248=async _0x3adcf9=>{var _0x4d18c4=_0x4f24;(await this[_0x4d18c4(0x11a)][_0x4d18c4(0x32f)](_0x3adcf9))['event$']['pipe'](_0x21e8b1(_0x1c18fe=>_0x1c18fe[_0x4d18c4(0x159)]===_0x19843e[_0x4d18c4(0xfc)]),_0x3edeee(this[_0x4d18c4(0x29d)]))[_0x4d18c4(0x116)](_0x124708=>{var _0x963068=_0x4d18c4;const _0x41ce43=_0x124708,{reason:_0x3e90b2}=_0x41ce43[_0x963068(0x389)];this[_0x963068(0x367)][_0x963068(0x3b6)]({'id':re[_0x963068(0x225)],'data':_0x3e90b2}),this[_0x963068(0x3ab)]['updatePermissionPoint'](new _0x25ba97(_0x3adcf9)['id'],!0x1),this[_0x963068(0x11a)][_0x963068(0x245)](_0x3adcf9);});};_0x1ca221(this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b['UNIVER_SHEET']),this[_0x8cb1aa(0x14b)][_0x8cb1aa(0x2ad)](_0x16572b[_0x8cb1aa(0x36a)]))[_0x8cb1aa(0x279)](_0x1b47e7(_0xe16b5b=>_0xe16b5b['getUnitId']()),_0x21e8b1(_0x512b4a=>!_0x42bc4b(_0x512b4a)),_0x3edeee(this[_0x8cb1aa(0x29d)]))[_0x8cb1aa(0x116)](_0x2a7e4d=>{_0x518248(_0x2a7e4d);});}[_0x368389(0x100)](){var _0x4ebd0c=_0x368389;const _0x191e0a=async _0x1c75c1=>{var _0x12feaa=_0x4f24;const _0x40c1cd=await this[_0x12feaa(0x11a)][_0x12feaa(0x32f)](_0x1c75c1),_0x398c1e=this[_0x12feaa(0x39e)][_0x12feaa(0x187)](_0x50c58a);_0x40c1cd[_0x12feaa(0x30e)][_0x12feaa(0x279)](_0x21e8b1(_0xcf2014=>_0xcf2014['eventID']===_0x19843e[_0x12feaa(0x144)]),_0x3edeee(this[_0x12feaa(0x29d)]))['subscribe'](_0x238b03=>{var _0x595560=_0x12feaa;const _0x30f678=_0x238b03,{objectId:_0x115a3f}=_0x30f678[_0x595560(0x389)];_0x115a3f===_0x1c75c1?_0x398c1e[_0x595560(0x120)](_0x1c75c1):_0x398c1e[_0x595560(0xf7)](_0x1c75c1,_0x115a3f);});};_0x1ca221(this[_0x4ebd0c(0x14b)][_0x4ebd0c(0x2ad)](_0x16572b[_0x4ebd0c(0x305)]))[_0x4ebd0c(0x279)](_0x1b47e7(_0x38539b=>_0x38539b['getUnitId']()),_0x21e8b1(_0x1bceb6=>!_0x42bc4b(_0x1bceb6)),_0x3edeee(this[_0x4ebd0c(0x29d)]))['subscribe'](_0x3ec3db=>{_0x191e0a(_0x3ec3db);});}};ot=Zn([Ue(0x0,_0x3ce8f0(_0x277f78)),Ue(0x1,_0x558d3e),Ue(0x2,_0x301d19),Ue(0x3,_0x3ce8f0(we)),Ue(0x4,_0x3ce8f0(ve))],ot);var Qn=Object[_0x368389(0x284)],er=(_0x4b62be,_0x7ef446,_0x1d7bd6,_0x5eceac)=>{var _0x321b88=_0x368389;for(var _0x2bd759=_0x5eceac>0x1?void 0x0:_0x5eceac?Qn(_0x7ef446,_0x1d7bd6):_0x7ef446,_0x3e478b=_0x4b62be[_0x321b88(0x3b7)]-0x1,_0x3c67ba;_0x3e478b>=0x0;_0x3e478b--)(_0x3c67ba=_0x4b62be[_0x3e478b])&&(_0x2bd759=_0x3c67ba(_0x2bd759)||_0x2bd759);return _0x2bd759;},ai=(_0xccf958,_0xe077ca)=>(_0x1f502b,_0x523470)=>_0xe077ca(_0x1f502b,_0x523470,_0xccf958);let Nt=class{constructor(_0x13100c,_0x177816){var _0x4491b3=_0x368389;this[_0x4491b3(0xb8)]=_0x13100c,this['_httpService']=_0x177816;}async[_0x368389(0x1c5)](_0x4a981,_0x241199){var _0x448af1=_0x368389,_0x19e2df;const {unitID:_0x50c7a2,type:_0x22015e,revision:_0x1df57c=0x0}=_0x241199,_0x452edc=this['getSnapshotAPIPath']()+'/'+_0x22015e+_0x448af1(0x10e)+_0x50c7a2+_0x448af1(0x141)+_0x1df57c,_0x3af367=(await this[_0x448af1(0x342)][_0x448af1(0x187)](_0x452edc))[_0x448af1(0x369)],_0x13c7fe=(_0x19e2df=_0x3af367[_0x448af1(0x294)])==null?void 0x0:_0x19e2df[_0x448af1(0x270)];if(_0x13c7fe){const _0x2e5688=_0x13c7fe==null?void 0x0:_0x13c7fe[_0x448af1(0x38d)],_0x5a5740=_0x24eebc[_0x448af1(0x175)](_0x5d1ad2(_0x2e5688));_0x13c7fe[_0x448af1(0x38d)]=_0x5a5740,Object['entries'](_0x13c7fe[_0x448af1(0x3b5)])[_0x448af1(0x20e)](([,_0x4bea4d])=>{var _0x5193a0=_0x448af1;const _0x4faa49=_0x4bea4d['originalMeta'],_0x33b320=_0x24eebc[_0x5193a0(0x175)](_0x5d1ad2(_0x4faa49));_0x4bea4d['originalMeta']=_0x33b320;});}return _0x3af367;}async[_0x368389(0x35c)](_0x4236e0,_0x30f821){var _0x14e47c=_0x368389;const {unitID:_0x48c4c8,type:_0x2a71ad,blockID:_0x344b83}=_0x30f821,_0x3c19dc=this[_0x14e47c(0x2f2)]()+'/'+_0x2a71ad+_0x14e47c(0x10e)+_0x48c4c8+_0x14e47c(0x289)+_0x344b83;return(await this[_0x14e47c(0x342)][_0x14e47c(0x187)](_0x3c19dc))['body'];}async[_0x368389(0x139)](_0x517aca,_0x2bd362){var _0xdd6fad=_0x368389;const {unitID:_0x21f927,type:_0x4be7de,blockID:_0x22aeca}=_0x2bd362,_0x11a45f=this['_getAPIPrefix']()+_0xdd6fad(0x289)+_0x4be7de+'/unit/'+_0x21f927+_0xdd6fad(0x289)+_0x22aeca;return(await this[_0xdd6fad(0x342)][_0xdd6fad(0x187)](_0x11a45f))[_0xdd6fad(0x369)];}async[_0x368389(0x134)](_0x18c504,_0x3c1e65){var _0x50b126=_0x368389;const {unitID:_0x5c2851,type:_0x3e08b5,from:_0x3bd6ed,to:_0x150773}=_0x3c1e65,_0x566f10=this['_getAPIPrefix']()+'/'+_0x3e08b5+_0x50b126(0x10e)+_0x5c2851+'/fetchmissing?from='+_0x3bd6ed+'&to='+_0x150773;return(await this[_0x50b126(0x342)]['get'](_0x566f10))['body'];}['getSnapshotAPIPath'](){var _0x391ccd=_0x368389,_0x42527a;return(_0x42527a=this[_0x391ccd(0xb8)][_0x391ccd(0x19b)](vs))!=null?_0x42527a:this[_0x391ccd(0x2f2)]();}[_0x368389(0x2f2)](){var _0x4621b6=_0x368389,_0x453452;const _0xbf3f31=this[_0x4621b6(0xb8)][_0x4621b6(0x19b)](K);return(_0x453452=_0xbf3f31==null?void 0x0:_0xbf3f31['snapshotServerUrl'])!=null?_0x453452:fs;}async[_0x368389(0x164)](_0x43f481,_0x1ec3fa){var _0xc53d9a=_0x368389;const _0x35f017=_0xc53d9a(0x11d)+_0x1ec3fa['type']+_0xc53d9a(0x10e)+_0x1ec3fa['unitID']+'/resources';return(await this[_0xc53d9a(0x342)][_0xc53d9a(0x187)](_0x35f017,{'params':{'resourceId':JSON[_0xc53d9a(0x2bd)](_0x1ec3fa[_0xc53d9a(0x358)])}}))[_0xc53d9a(0x369)];}[_0x368389(0x1b1)](){var _0xf47f7a=_0x368389;throw new Error(_0xf47f7a(0x322));}[_0x368389(0x247)](){var _0x43d8df=_0x368389;throw new Error(_0x43d8df(0x322));}['saveSheetBlock'](){var _0x4323bd=_0x368389;throw new Error(_0x4323bd(0x322));}[_0x368389(0x21d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x368389(0x216)](){var _0x445f02=_0x368389;throw new Error(_0x445f02(0x322));}[_0x368389(0x2e3)](){var _0x235903=_0x368389;throw new Error(_0x235903(0x322));}};Nt=er([ai(0x0,_0x3c30e0),ai(0x1,_0x3ce8f0(_0x5dc9e9))],Nt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x3fb141,_0x228321,_0x1cd0cf,_0x34b053)=>{var _0x3ca804=_0x368389;for(var _0x5ca06e=_0x34b053>0x1?void 0x0:_0x34b053?tr(_0x228321,_0x1cd0cf):_0x228321,_0x18bbee=_0x3fb141[_0x3ca804(0x3b7)]-0x1,_0x222c53;_0x18bbee>=0x0;_0x18bbee--)(_0x222c53=_0x3fb141[_0x18bbee])&&(_0x5ca06e=_0x222c53(_0x5ca06e)||_0x5ca06e);return _0x5ca06e;},Ae=(_0x19575b,_0x5354fb)=>(_0x5d2e75,_0x266bf0)=>_0x5354fb(_0x5d2e75,_0x266bf0,_0x19575b);let bt=class extends _0x1d0657{constructor(_0x9d6c5b,_0x15f54b,_0x1cc3b1,_0xbbd65d,_0xaa3909){var _0x311067=_0x368389;super(_0x9d6c5b,_0x15f54b,_0x1cc3b1),this['_transformService']=_0xbbd65d,this[_0x311067(0x12b)]=_0xaa3909;}['transformUndoRedo'](_0x5f07da,_0x492ac7){var _0xa28568=_0x368389;const _0x587079=this[_0xa28568(0x3a4)](_0x5f07da);if(_0x587079)try{const _0x5d2e1b=this['_transformStack'](_0x587079,_0x492ac7);this[_0xa28568(0x2c9)](_0x5f07da,_0x5d2e1b);}catch(_0x33cb04){this[_0xa28568(0x12b)][_0xa28568(0x201)]('[CollaborationUndoRedoService]',_0x33cb04),this[_0xa28568(0x27d)](_0x5f07da);}const _0x4820d7=this[_0xa28568(0x34c)](_0x5f07da);if(_0x4820d7)try{const _0x4406bb=this['_transformStack'](_0x4820d7,_0x492ac7);this[_0xa28568(0x26f)](_0x5f07da,_0x4406bb);}catch(_0x196739){this[_0xa28568(0x12b)]['error'](_0x196739),this[_0xa28568(0x248)](_0x5f07da);}}['_clearUndo'](_0x4df140){var _0x3116a0=_0x368389;const _0x28cc23=this[_0x3116a0(0x3a4)](_0x4df140);_0x28cc23&&(_0x28cc23['length']=0x0,this[_0x3116a0(0xae)]());}['_clearRedo'](_0x5e4c88){var _0x2fc9ec=_0x368389;const _0x5b7bc5=this[_0x2fc9ec(0x34c)](_0x5e4c88);_0x5b7bc5&&(_0x5b7bc5[_0x2fc9ec(0x3b7)]=0x0,this[_0x2fc9ec(0xae)]());}['_substituteUndoStack'](_0x9d8643,_0x361ca1){var _0x5461f7=_0x368389;this['_undoStacks'][_0x5461f7(0x3ac)](_0x9d8643,_0x361ca1),this[_0x5461f7(0xae)]();}[_0x368389(0x26f)](_0x35f067,_0x2c03f6){var _0x47ce15=_0x368389;this[_0x47ce15(0xaf)][_0x47ce15(0x3ac)](_0x35f067,_0x2c03f6),this[_0x47ce15(0xae)]();}[_0x368389(0x33c)](_0x33750d,_0x3ae5bd){var _0x2b4b5d=_0x368389;const _0x5af04d=[];let _0x32ac34=_0x3ae5bd,_0x3b1723=_0x3ae5bd;for(let _0x5dd0ee=_0x33750d[_0x2b4b5d(0x3b7)]-0x1;_0x5dd0ee>=0x0;_0x5dd0ee--){const {unitID:_0x9cd1a7,undoMutations:_0x1f4b90,redoMutations:_0x32a815}=_0x33750d[_0x5dd0ee],_0x5cb278=this['_transformService'][_0x2b4b5d(0x36e)](_0x32ac34,_0x1f4b90),_0x2c059b=this['_transformService'][_0x2b4b5d(0x36e)](_0x3b1723,_0x32a815);if(_0x552004(_0x5cb278)||_0x552004(_0x2c059b)){this[_0x2b4b5d(0x12b)]['error'](_0x2b4b5d(0x35e),_0x2b4b5d(0x223),_0x5cb278,_0x2c059b);break;}_0x32ac34=_0x5cb278[_0x2b4b5d(0x25e)],_0x3b1723=_0x2c059b[_0x2b4b5d(0x25e)],_0x5af04d[_0x2b4b5d(0x291)]({'unitID':_0x9cd1a7,'undoMutations':_0x5cb278['m2Prime'],'redoMutations':_0x2c059b[_0x2b4b5d(0x155)]});}return _0x5af04d[_0x2b4b5d(0xde)]();}};bt=ir([Ae(0x0,_0x558d3e),Ae(0x1,_0xcdf754),Ae(0x2,_0x5a3e4b),Ae(0x3,_0x1a3cad),Ae(0x4,_0x21f6c3)],bt);var sr=Object[_0x368389(0x33b)],nr=Object[_0x368389(0x284)],rr=(_0x101ab6,_0x17c27a,_0x2347c8)=>_0x17c27a in _0x101ab6?sr(_0x101ab6,_0x17c27a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2347c8}):_0x101ab6[_0x17c27a]=_0x2347c8,ar=(_0x16f80e,_0x3d4e3c,_0x183092,_0x493f54)=>{var _0x353f20=_0x368389;for(var _0x157339=_0x493f54>0x1?void 0x0:_0x493f54?nr(_0x3d4e3c,_0x183092):_0x3d4e3c,_0x5dcb7f=_0x16f80e[_0x353f20(0x3b7)]-0x1,_0x24690a;_0x5dcb7f>=0x0;_0x5dcb7f--)(_0x24690a=_0x16f80e[_0x5dcb7f])&&(_0x157339=_0x24690a(_0x157339)||_0x157339);return _0x157339;},Et=(_0x2190fe,_0x44cc89)=>(_0x216337,_0x2e1760)=>_0x44cc89(_0x216337,_0x2e1760,_0x2190fe),or=(_0x573514,_0xa56eb8,_0xd9b809)=>rr(_0x573514,_0xa56eb8+'',_0xd9b809);const cr=_0x368389(0xd0);let Dt=class extends _0x2f1d50{constructor(_0x11f643,_0xab5bf4,_0x3b3d3f,_0x3abc0f){var _0xeca5b4=_0x368389;super(),D(this,_0xeca5b4(0x12d)),(this[_0xeca5b4(0x12b)]=_0xab5bf4,this[_0xeca5b4(0x39e)]=_0x3b3d3f,this[_0xeca5b4(0xb8)]=_0x3abc0f);const {..._0x25eb9d}=_0x1a1e7e({},Ls,_0x11f643);if(!_0x25eb9d['socketService'])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0xeca5b4(0x12d)]=_0x25eb9d,this['_configService']['setConfig'](K,_0x25eb9d);}[_0x368389(0x1fd)](){var _0x27e284=_0x368389;this[_0x27e284(0x34e)](),this[_0x27e284(0x252)]();}['_registerDependencies'](){var _0x980d73=_0x368389,_0x3cc8ce,_0x244899;this[_0x980d73(0x39e)][_0x980d73(0x274)](_0x32ded1)&&this['_logService']['error'](_0x980d73(0x1ce),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x16d07d=_0x1cd7a9([[_0x32ded1,{'useClass':bt}],[we],[Pe],[it],[rt],[at],[Ei],[ot],[ve],[Ot],[Oi,{'useClass':this[_0x980d73(0x12d)]['socketService']}],[_0x2a795b,{'useClass':Nt}],[_0x5dc2a1,{'useClass':Tt}],[_0xb996fd,{'useClass':Rt}],[_0x5bb5bb,{'useClass':Ct}],[nt],[gt]],(_0x3cc8ce=this[_0x980d73(0x12d)])==null?void 0x0:_0x3cc8ce[_0x980d73(0x1a5)]);if(!((_0x244899=this[_0x980d73(0x12d)])!=null&&_0x244899[_0x980d73(0x277)])){const _0x8c3685=_0x16d07d['findIndex'](([_0x4dc7f9])=>_0x4dc7f9===_t);_0x8c3685!==-0x1&&_0x16d07d[_0x980d73(0x2f4)](_0x8c3685,0x1);}_0x3d202f(this[_0x980d73(0x39e)],_0x16d07d);}['_initDependencies'](){var _0x22fceb=_0x368389,_0x2ae86c,_0x1859f1,_0x759fd5;this[_0x22fceb(0x39e)][_0x22fceb(0x187)](_0x5dc9e9)[_0x22fceb(0x287)]({'priority':0x14,'interceptor':_0x12399c({'maxParallel':0x6})}),(_0x2ae86c=this[_0x22fceb(0x12d)])!=null&&_0x2ae86c[_0x22fceb(0x29a)]||(_0x1859f1=this['_injector']['get'](J,_0x167b6f['OPTIONAL']))==null||_0x1859f1[_0x22fceb(0xf8)](),(_0x759fd5=this[_0x22fceb(0x12d)])!=null&&_0x759fd5[_0x22fceb(0x1cc)]&&_0x4de415(this[_0x22fceb(0x39e)],[[rt]]),_0x4de415(this[_0x22fceb(0x39e)],[[at],[nt],[ot]]);}};or(Dt,'pluginName',cr),Dt=ar([_0x24b67e(_0x68aeb2,_0x1350ad),Et(0x1,_0x21f6c3),Et(0x2,_0x3ce8f0(_0x277f78)),Et(0x3,_0x3c30e0)],Dt);function _0x4f24(_0x157a16,_0x39d9c4){var _0x111ce3=_0x111c();return _0x4f24=function(_0x4f2488,_0x27bbb9){_0x4f2488=_0x4f2488-0x90;var _0x15c2c1=_0x111ce3[_0x4f2488];return _0x15c2c1;},_0x4f24(_0x157a16,_0x39d9c4);}export{Tt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,mt as CollaborationSession,we as CollaborationSessionService,Gt as CollaborationSocketService,Si as CollaborationStatus,re as CollaborationUIEventId,ve as CollaborationUIEventService,bt as CollaborativeUndoRedoService,Ei as CommentService,ue as ConflictState,Es as DEFAULT_COLLAB_WEB_SOCKET_URL,Rr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Sr as DEFAULT_WS_SESSION_TICKET_URL,Ot as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,ms as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,J as ILocalCacheService,Bs as INetworkConditionService,_t as ISingleActiveUnitService,Tr as LOCAL_CACHE_INTERVAL,gr as LOCAL_CACHE_INTERVAL_KEY,Pe as MemberService,Ct as MentionIoHttpService,de as OfflineState,ae as PendingState,Or as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,gs as RETRY_CONNECTING_MAX_COUNT_KEY,me as SessionStatus,St as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,be as SyncedState,mi as UnitStatus,Dt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,Cr as getLocalCacheKey,js as serializeCombRequest};
|