@univerjs-pro/collaboration-client 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060724
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0xe51f24=_0x3c6c;(function(_0xc69221,_0x4e7dd8){var _0x401d67=_0x3c6c,_0x5b084f=_0xc69221();while(!![]){try{var _0x520ef9=parseInt(_0x401d67(0x16d))/0x1*(-parseInt(_0x401d67(0x3a0))/0x2)+parseInt(_0x401d67(0x374))/0x3*(-parseInt(_0x401d67(0x1bb))/0x4)+parseInt(_0x401d67(0x318))/0x5+-parseInt(_0x401d67(0x29d))/0x6+-parseInt(_0x401d67(0x362))/0x7+parseInt(_0x401d67(0x336))/0x8+parseInt(_0x401d67(0x2df))/0x9;if(_0x520ef9===_0x4e7dd8)break;else _0x5b084f['push'](_0x5b084f['shift']());}catch(_0x705c6c){_0x5b084f['push'](_0x5b084f['shift']());}}}(_0x332e,0x4ea10));var yi=Object[_0xe51f24(0x1ab)],Ni=(_0x1f4f9b,_0x202a47,_0x3dbb41)=>_0x202a47 in _0x1f4f9b?yi(_0x1f4f9b,_0x202a47,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dbb41}):_0x1f4f9b[_0x202a47]=_0x3dbb41,N=(_0x131f45,_0x3be213,_0x2a0376)=>Ni(_0x131f45,typeof _0x3be213!=_0xe51f24(0x2bd)?_0x3be213+'':_0x3be213,_0x2a0376);import{CollaborationEvent as _0x27b370,ITransformService as _0x122cfe,isTransformMutationsWithChangesetSuccess as _0x126ba7,mapDocumentTypeToUniverType as _0x145943,RevisionService as _0x543d62,isTransformChangesetsSuccess as _0x4b0873,CompressMutationService as _0x30bbd1,parseProtocolChangeset as _0x45c8d2,uuidv4 as _0x2ed795,ISnapshotServerService as _0x9fb279,parseChangesetToProtocol as _0x32fcff,SnapshotService as _0x58ad02,textEncoder as _0x5630d4,b64DecodeUnicode as _0x5c5340,isTransformMutationsWithChangesetFailure as _0x2c47f4,UniverCollaborationPlugin as _0x51b7d3}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x3f4f9f,Inject as _0x22b342,UserManagerService as _0xd712fb,Disposable as _0x470533,UniverInstanceType as _0x3fce68,ILogService as _0x361d6f,IConfigService as _0x2a9499,Optional as _0x3dfa42,RxDisposable as _0x12bf24,createIdentifier as _0x2bb048,Injector as _0xf56e29,Tools as _0x35a74a,Rectangle as _0x4ab8f6,ICommandService as _0x399e10,JSONX as _0x1eb69f,CommandType as _0x2b89a5,IUndoRedoService as _0x526774,IPermissionService as _0x59ac06,LocaleService as _0x262680,sequenceExecute as _0x187a8c,toDisposable as _0x4cf9a4,DisposableCollection as _0x55320b,Workbook as _0x3e2d69,generateRandomId as _0x13578b,MentionType as _0xcc5d3a,isInternalEditorID as _0x47fad4,LocalUndoRedoService as _0x3b4780,IContextService as _0x3ecbc3,DependentOn as _0x298545,Plugin as _0x19ed38,merge as _0x4d916b,mergeOverrideWithDependencies as _0x419f0a,IAuthzIoService as _0x225829,IMentionIOService as _0x23e59f,registerDependencies as _0x1e36d4,Quantity as _0x1ee2ee,touchDependencies as _0x1ecdb4}from'@univerjs/core';import{RichTextEditingMutation as _0x50563e}from'@univerjs/docs';import{SheetsSelectionsService as _0x15ebd7,SetSelectionsOperation as _0x596e7f,InsertSheetMutation as _0x81dc23,EmptyMutation as _0x3d1609,WorkbookEditablePermission as _0x579aa1,SheetPermissionInitController as _0x3dcd3c}from'@univerjs/sheets';import{Subject as _0x4b7143,merge as _0x7e74aa,of as _0xf996a6,BehaviorSubject as _0x393d97,takeUntil as _0x2b6919,ReplaySubject as _0x38c9b3,take as _0x46cc5c,map as _0x3a9c1e,shareReplay as _0x1f617d,firstValueFrom as _0x4f08aa,concatMap as _0xd4c290}from'rxjs';import{ITelemetryService as _0x596d0e}from'@univerjs/telemetry';function _0x3c6c(_0x58adbf,_0x4aa307){var _0x332eaf=_0x332e();return _0x3c6c=function(_0x3c6c92,_0x4d40cf){_0x3c6c92=_0x3c6c92-0x151;var _0x12a75f=_0x332eaf[_0x3c6c92];return _0x12a75f;},_0x3c6c(_0x58adbf,_0x4aa307);}import{map as _0x57a8a0,take as _0x1b4c2a,filter as _0x9a4196,delay as _0x414843,takeUntil as _0x4f9aa0}from'rxjs/operators';import{HTTPService as _0xd8406a,ISocketService as _0x15b062,MergeInterceptorFactory as _0x92347a,HTTPRequest as _0x3f8dec,UniverNetworkPlugin as _0x20d1bd,ThresholdInterceptorFactory as _0x2ac242}from'@univerjs/network';import{ImageSourceType as _0x35118b,ImageUploadStatusType as _0x340c69,IImageIoService as _0x550849}from'@univerjs/drawing';import{getGlobalObject as _0x4df2fe}from'@univerjs-pro/license';const fs=_0xe51f24(0x270),vs=_0xe51f24(0x385),ps=0x7d0,ms=_0xe51f24(0x1bd),Ir=_0xe51f24(0x308),gs=_0xe51f24(0x297),Ss=0x7530,di='HEARTBEAT_TIMEOUT',fi=0x4e20,Es=0x4e20,Is=_0xe51f24(0x239),Ts=0x3,Tr='LOCAL_CACHE_INTERVAL',Cr=0x3e8,Cs=_0xe51f24(0x1d3),Rs=_0xe51f24(0x2b2),Rr='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Or=_0xe51f24(0x28c);var vi=(_0xcb29f5=>(_0xcb29f5[_0xcb29f5[_0xe51f24(0x323)]=0x0]=_0xe51f24(0x323),_0xcb29f5[_0xcb29f5['OK']=0x1]='OK',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1a7)]=0x2]=_0xe51f24(0x1a7),_0xcb29f5[_0xcb29f5[_0xe51f24(0x177)]=0x3]=_0xe51f24(0x177),_0xcb29f5[_0xcb29f5['NOT_FOUND']=0x4]=_0xe51f24(0x1e8),_0xcb29f5[_0xcb29f5[_0xe51f24(0x394)]=0x5]='UNAUTHENTICATED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x391)]=0x6]=_0xe51f24(0x391),_0xcb29f5[_0xcb29f5[_0xe51f24(0x343)]=0x7]=_0xe51f24(0x343),_0xcb29f5[_0xcb29f5[_0xe51f24(0x42b)]=0x8]='TOO_MANY_REQUESTS',_0xcb29f5[_0xcb29f5[_0xe51f24(0x3dc)]=0x9]=_0xe51f24(0x3dc),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3f8)]=0xa]=_0xe51f24(0x3f8),_0xcb29f5[_0xcb29f5[_0xe51f24(0x162)]=0xb]=_0xe51f24(0x162),_0xcb29f5[_0xcb29f5[_0xe51f24(0x30c)]=0xc]=_0xe51f24(0x30c),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1a1)]=0xd]=_0xe51f24(0x1a1),_0xcb29f5[_0xcb29f5['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xcb29f5[_0xcb29f5['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xe51f24(0x37e),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1f5)]=0x1771]=_0xe51f24(0x1f5),_0xcb29f5[_0xcb29f5[_0xe51f24(0x241)]=0x1772]=_0xe51f24(0x241),_0xcb29f5[_0xcb29f5['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xe51f24(0x276),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3d0)]=0x1b59]='APPLY_REJECT',_0xcb29f5[_0xcb29f5[_0xe51f24(0x337)]=0x1b5a]=_0xe51f24(0x337),_0xcb29f5[_0xcb29f5[_0xe51f24(0x212)]=0x1b5b]=_0xe51f24(0x212),_0xcb29f5[_0xcb29f5['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xe51f24(0x1c0),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c6)]=0x1b5d]=_0xe51f24(0x1c6),_0xcb29f5[_0xcb29f5[_0xe51f24(0x295)]=0x1f41]=_0xe51f24(0x295),_0xcb29f5[_0xcb29f5[_0xe51f24(0x22b)]=0x2329]=_0xe51f24(0x22b),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3b2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xcb29f5[_0xcb29f5['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1f2)]=0x232c]=_0xe51f24(0x1f2),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c7)]=0x232d]=_0xe51f24(0x1c7),_0xcb29f5[_0xcb29f5[_0xe51f24(0x244)]=0x2711]=_0xe51f24(0x244),_0xcb29f5[_0xcb29f5[_0xe51f24(0x438)]=0x2712]=_0xe51f24(0x438),_0xcb29f5[_0xcb29f5['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xcb29f5[_0xcb29f5[_0xe51f24(0x312)]=0x2714]=_0xe51f24(0x312),_0xcb29f5[_0xcb29f5[_0xe51f24(0x319)]=0x271a]=_0xe51f24(0x319),_0xcb29f5[_0xcb29f5[_0xe51f24(0x23c)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xcb29f5[_0xcb29f5[_0xe51f24(0x332)]=0x271c]=_0xe51f24(0x332),_0xcb29f5[_0xcb29f5['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xe51f24(0x33f),_0xcb29f5[_0xcb29f5['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xe51f24(0x43e),_0xcb29f5[_0xcb29f5[_0xe51f24(0x1d9)]=0x271f]=_0xe51f24(0x1d9),_0xcb29f5[_0xcb29f5[_0xe51f24(0x16f)]=0x2720]=_0xe51f24(0x16f),_0xcb29f5[_0xcb29f5[_0xe51f24(0x3a3)]=0x2af9]=_0xe51f24(0x3a3),_0xcb29f5[_0xcb29f5[_0xe51f24(0x357)]=0x2ee1]=_0xe51f24(0x357),_0xcb29f5[_0xcb29f5['INVALID_INVITE_CODE']=0x2ee2]=_0xe51f24(0x2ba),_0xcb29f5[_0xcb29f5['INVITE_CODE_REQUIRED']=0x2ee3]=_0xe51f24(0x213),_0xcb29f5[_0xcb29f5[_0xe51f24(0x22c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xcb29f5[_0xcb29f5['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x2b7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x1c5)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x2dc)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xcb29f5[_0xcb29f5[_0xe51f24(0x214)]=-0x1]=_0xe51f24(0x214),_0xcb29f5))(vi||{}),Z=(_0x883d70=>(_0x883d70[_0x883d70[_0xe51f24(0x2c7)]=0x0]=_0xe51f24(0x2c7),_0x883d70[_0x883d70['UNIVER_DOC']=0x1]=_0xe51f24(0x1ba),_0x883d70[_0x883d70[_0xe51f24(0x3a9)]=0x2]=_0xe51f24(0x3a9),_0x883d70[_0x883d70[_0xe51f24(0x3f0)]=0x3]='UNIVER_SLIDE',_0x883d70[_0x883d70['UNIVER_PROJECT']=0x4]=_0xe51f24(0x245),_0x883d70[_0x883d70['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x883d70))(Z||{}),F=(_0x157599=>(_0x157599[_0x157599[_0xe51f24(0x183)]=0x0]=_0xe51f24(0x183),_0x157599[_0x157599[_0xe51f24(0x3d6)]=0x1]=_0xe51f24(0x3d6),_0x157599[_0x157599[_0xe51f24(0x166)]=0x2]=_0xe51f24(0x166),_0x157599[_0x157599[_0xe51f24(0x23d)]=0x3]='LEAVE',_0x157599[_0x157599['INGEST']=0x4]=_0xe51f24(0x349),_0x157599[_0x157599[_0xe51f24(0x37d)]=0x5]=_0xe51f24(0x37d),_0x157599[_0x157599['RECV']=0x6]=_0xe51f24(0x187),_0x157599[_0x157599['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x157599))(F||{}),pe=(_0x571a7a=>(_0x571a7a[_0x571a7a[_0xe51f24(0x33c)]=0x0]=_0xe51f24(0x33c),_0x571a7a[_0x571a7a['OK']=0x1]='OK',_0x571a7a[_0x571a7a[_0xe51f24(0x202)]=0x2]='FAIL',_0x571a7a[_0x571a7a[_0xe51f24(0x217)]=0x3e9]=_0xe51f24(0x217),_0x571a7a[_0x571a7a[_0xe51f24(0x3a7)]=0x3ea]=_0xe51f24(0x3a7),_0x571a7a[_0x571a7a[_0xe51f24(0x34f)]=0x3eb]=_0xe51f24(0x34f),_0x571a7a[_0x571a7a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0xe51f24(0x265),_0x571a7a[_0x571a7a['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x571a7a))(pe||{}),pi=(_0x3fa1d6=>(_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x40c)]=0x0]=_0xe51f24(0x40c),_0x3fa1d6[_0x3fa1d6['HttpImport']=0x1]='HttpImport',_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x252)]=0x2]=_0xe51f24(0x252),_0x3fa1d6[_0x3fa1d6['UnitEmbedded']=0x3]=_0xe51f24(0x2c2),_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x328)]=0x4]=_0xe51f24(0x328),_0x3fa1d6[_0x3fa1d6[_0xe51f24(0x1c9)]=0x5]='UserProfileImg',_0x3fa1d6[_0x3fa1d6['UNRECOGNIZED']=-0x1]=_0xe51f24(0x214),_0x3fa1d6))(pi||{});const Os=_0xe51f24(0x1af);function bs(_0xabe6e1){var _0x787dfd=_0xe51f24;return JSON[_0x787dfd(0x283)](_0xabe6e1)[_0x787dfd(0x192)];}var ne=(_0x1c5a1b=>(_0x1c5a1b[_0xe51f24(0x44b)]=_0xe51f24(0x44b),_0x1c5a1b['PERMISSION_DENIED']=_0xe51f24(0x177),_0x1c5a1b[_0xe51f24(0x233)]=_0xe51f24(0x233),_0x1c5a1b[_0xe51f24(0x3dd)]=_0xe51f24(0x3dd),_0x1c5a1b['JOIN_ROOM_FAILED']='JOIN_ROOM_FAILED',_0x1c5a1b[_0xe51f24(0x287)]=_0xe51f24(0x287),_0x1c5a1b[_0xe51f24(0x326)]=_0xe51f24(0x326),_0x1c5a1b[_0xe51f24(0x184)]=_0xe51f24(0x184),_0x1c5a1b))(ne||{});class ve{constructor(){var _0x51c7b1=_0xe51f24;N(this,_0x51c7b1(0x35f),new _0x4b7143()),N(this,_0x51c7b1(0x351),this[_0x51c7b1(0x35f)][_0x51c7b1(0x43c)]());}[_0xe51f24(0x261)](_0x4f4b53){var _0xf38434=_0xe51f24;this[_0xf38434(0x35f)][_0xf38434(0x3f6)](_0x4f4b53);}}class mi{constructor(){var _0x2dc67e=_0xe51f24;N(this,_0x2dc67e(0x372),new _0x4b7143()),N(this,_0x2dc67e(0x190),this[_0x2dc67e(0x372)][_0x2dc67e(0x43c)]());}[_0xe51f24(0x432)](_0x3b99ff){var _0xf199fc=_0xe51f24;this['_commentUpdate$'][_0xf199fc(0x3f6)](_0x3b99ff);}}var ys=Object['getOwnPropertyDescriptor'],Ns=(_0x1762b0,_0xc20713,_0x15ce70,_0x351f08)=>{var _0x2d9ed1=_0xe51f24;for(var _0x2aa8d3=_0x351f08>0x1?void 0x0:_0x351f08?ys(_0xc20713,_0x15ce70):_0xc20713,_0x2edab1=_0x1762b0[_0x2d9ed1(0x192)]-0x1,_0x50a6a7;_0x2edab1>=0x0;_0x2edab1--)(_0x50a6a7=_0x1762b0[_0x2edab1])&&(_0x2aa8d3=_0x50a6a7(_0x2aa8d3)||_0x2aa8d3);return _0x2aa8d3;},Ft=(_0x140dbb,_0x25e5ce)=>(_0x18b7d1,_0x472f68)=>_0x25e5ce(_0x18b7d1,_0x472f68,_0x140dbb);let we=class extends _0x470533{constructor(_0x875cd7,_0x2680ef){var _0x1a0e52=_0xe51f24;super(),N(this,_0x1a0e52(0x356),new Map()),N(this,'_roomCreated$',new _0x4b7143()),(this[_0x1a0e52(0x215)]=_0x875cd7,this['_userManagerService']=_0x2680ef,this['disposeWithMe'](_0x7e74aa(this[_0x1a0e52(0x215)][_0x1a0e52(0x2e8)](_0x3fce68[_0x1a0e52(0x3a9)])[_0x1a0e52(0x21f)](_0x57a8a0(_0x3f1647=>_0x3f1647['getUnitId']())),this[_0x1a0e52(0x215)]['getTypeOfUnitDisposed$'](_0x3fce68[_0x1a0e52(0x1ba)])[_0x1a0e52(0x21f)](_0x57a8a0(_0x15839f=>_0x15839f[_0x1a0e52(0x40d)]())),this[_0x1a0e52(0x215)][_0x1a0e52(0x2e8)](_0x3fce68['UNIVER_SLIDE'])[_0x1a0e52(0x21f)](_0x57a8a0(_0x54b1f1=>_0x54b1f1['getUnitId']())))['subscribe'](_0x1ec768=>this[_0x1a0e52(0x1ca)](_0x1ec768))));}['waitForRoom$'](_0x229dd9){var _0x584f2e=_0xe51f24;return this['_roomMembers'][_0x584f2e(0x1d1)](_0x229dd9)?_0xf996a6(this[_0x584f2e(0x356)]['get'](_0x229dd9)):this[_0x584f2e(0x303)][_0x584f2e(0x21f)](_0x57a8a0(_0x2c864b=>{var _0x406d97=_0x584f2e;if(_0x2c864b===_0x229dd9)return this[_0x406d97(0x356)][_0x406d97(0x164)](_0x2c864b);}));}['setCurrentUser'](_0x207139){var _0x1c64c3=_0xe51f24;this[_0x1c64c3(0x40a)][_0x1c64c3(0x448)](_0x207139);}[_0xe51f24(0x197)](){var _0x13ef8d=_0xe51f24;return this[_0x13ef8d(0x40a)]['getCurrentUser']();}[_0xe51f24(0x2f9)](_0x5dcdad,_0x336825){var _0x4d4595=_0xe51f24;let _0x1a2e7b=this[_0x4d4595(0x356)][_0x4d4595(0x164)](_0x5dcdad);_0x1a2e7b||(_0x1a2e7b=new Ds(),this[_0x4d4595(0x356)][_0x4d4595(0x3c9)](_0x5dcdad,_0x1a2e7b),this['_roomCreated$'][_0x4d4595(0x3f6)](_0x5dcdad)),_0x1a2e7b[_0x4d4595(0x2f9)](_0x336825);}[_0xe51f24(0x16c)](_0x2ba058,_0x3847b3){var _0x20e202=_0xe51f24;const _0x435811=this[_0x20e202(0x356)][_0x20e202(0x164)](_0x2ba058);_0x435811&&_0x435811[_0x20e202(0x16c)](_0x3847b3);}['getRoom'](_0x29abe3){var _0x49a660=_0xe51f24;return this[_0x49a660(0x356)][_0x49a660(0x164)](_0x29abe3);}[_0xe51f24(0x1ac)](_0x2945e3,_0x3291e9){var _0x5476cc=_0xe51f24;const _0x43e996=this['_roomMembers'][_0x5476cc(0x164)](_0x2945e3);if(_0x43e996)return _0x43e996[_0x5476cc(0x1ac)](_0x3291e9);}[_0xe51f24(0x1ca)](_0x4ac33a){var _0x33bc52=_0xe51f24;const _0x14144e=this[_0x33bc52(0x356)]['get'](_0x4ac33a);_0x14144e&&(_0x14144e[_0x33bc52(0x35e)](),this[_0x33bc52(0x356)]['delete'](_0x4ac33a));}['dispose'](){var _0x925a15=_0xe51f24;this[_0x925a15(0x356)][_0x925a15(0x253)](_0x149735=>_0x149735['dispose']()),this[_0x925a15(0x356)][_0x925a15(0x26e)](),this[_0x925a15(0x303)][_0x925a15(0x39c)]();}};we=Ns([Ft(0x0,_0x3f4f9f),Ft(0x1,_0x22b342(_0xd712fb))],we);class Ds extends _0x470533{constructor(){var _0x170ac6=_0xe51f24;super(...arguments),N(this,_0x170ac6(0x36d),new Map()),N(this,'_members$',new _0x393d97(this[_0x170ac6(0x36d)])),N(this,_0x170ac6(0x170),this['_members$'][_0x170ac6(0x43c)]());}[_0xe51f24(0x35e)](){this['_members']['clear']();}[_0xe51f24(0x2f9)](_0x48cd5d){var _0x1c35a5=_0xe51f24;this[_0x1c35a5(0x36d)]['set'](_0x48cd5d['memberID'],_0x48cd5d),this[_0x1c35a5(0x25d)]();}[_0xe51f24(0x16c)](_0x1acfcc){var _0x1b78d6=_0xe51f24;this[_0x1b78d6(0x36d)][_0x1b78d6(0x3ac)](_0x1acfcc);}[_0xe51f24(0x1ac)](_0x575aae){var _0x4e9f7f=_0xe51f24;return this[_0x4e9f7f(0x36d)][_0x4e9f7f(0x164)](_0x575aae);}['getAllMembers'](){var _0x5479bc=_0xe51f24;return Array[_0x5479bc(0x380)](this[_0x5479bc(0x36d)][_0x5479bc(0x28b)]());}[_0xe51f24(0x25d)](){var _0xaefd31=_0xe51f24;this[_0xaefd31(0x41c)][_0xaefd31(0x3f6)](this[_0xaefd31(0x36d)]);}}var Us=Object[_0xe51f24(0x434)],As=(_0x5aabe0,_0x353f71,_0x325571,_0x1750ff)=>{var _0x462dce=_0xe51f24;for(var _0x44779f=_0x1750ff>0x1?void 0x0:_0x1750ff?Us(_0x353f71,_0x325571):_0x353f71,_0x9c511c=_0x5aabe0[_0x462dce(0x192)]-0x1,_0x2f0226;_0x9c511c>=0x0;_0x9c511c--)(_0x2f0226=_0x5aabe0[_0x9c511c])&&(_0x44779f=_0x2f0226(_0x44779f)||_0x44779f);return _0x44779f;},Ce=(_0xf83649,_0x50b8e3)=>(_0x4172a9,_0x373543)=>_0x50b8e3(_0x4172a9,_0x373543,_0xf83649),ge=(_0x577f3c=>(_0x577f3c[_0x577f3c[_0xe51f24(0x30b)]=0x0]='IDLE',_0x577f3c[_0x577f3c['JOINING']=0x1]=_0xe51f24(0x1fc),_0x577f3c[_0x577f3c[_0xe51f24(0x25f)]=0x2]=_0xe51f24(0x25f),_0x577f3c[_0x577f3c[_0xe51f24(0x17d)]=0x3]=_0xe51f24(0x17d),_0x577f3c))(ge||{});const Vt={[pe['FAIL']]:_0xe51f24(0x224),[pe[_0xe51f24(0x217)]]:_0xe51f24(0x423),[pe[_0xe51f24(0x3a7)]]:_0xe51f24(0x36b),[pe[_0xe51f24(0x34f)]]:'session.room-permission-denied',[pe[_0xe51f24(0x265)]]:'session.room-cnt-exceeds'};let gt=class extends _0x12bf24{constructor(_0x3dfb79,_0x4f4a2e,_0x1aa3ec,_0x23cf8d,_0x449aee,_0x4cf877,_0x22eaea,_0x22a85c){var _0x176831=_0xe51f24;super(),N(this,_0x176831(0x2b0),new _0x393d97(0x0)),N(this,_0x176831(0x17c),this['_sessionStatus$'][_0x176831(0x43c)]()),N(this,_0x176831(0x35f),new _0x4b7143()),N(this,_0x176831(0x351),this[_0x176831(0x35f)][_0x176831(0x43c)]()),N(this,'_socket'),N(this,_0x176831(0x40e)),N(this,'_collaborationTimeoutTimer'),N(this,_0x176831(0x317),!0x1),N(this,_0x176831(0x376),null),(this[_0x176831(0x22f)]=_0x3dfb79,this[_0x176831(0x420)]=_0x1aa3ec,this[_0x176831(0x2ca)]=_0x23cf8d,this[_0x176831(0x2a6)]=_0x449aee,this[_0x176831(0x2c4)]=_0x4cf877,this[_0x176831(0x30a)]=_0x22eaea,this[_0x176831(0x257)]=_0x22a85c,this[_0x176831(0x317)]=!!this[_0x176831(0x257)],_0x4f4a2e['pipe'](_0x2b6919(this[_0x176831(0x218)]))[_0x176831(0x2aa)](_0x23d24c=>{var _0x165e92=_0x176831,_0x11b32c;typeof _0x23d24c>'u'||(this[_0x165e92(0x2a3)]=_0x23d24c,_0x23d24c?(this[_0x165e92(0x396)](_0x23d24c),this[_0x165e92(0x40e)]=_0x23d24c[_0x165e92(0x20d)][_0x165e92(0x2aa)](_0x1f58cb=>{var _0x17b418=_0x165e92;_0x1f58cb[_0x17b418(0x38a)]===this[_0x17b418(0x22f)]&&this['_onCombEvent'](_0x1f58cb);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x165e92(0x2b0)][_0x165e92(0x3f6)](0x2),(_0x11b32c=this['_socketMessageSubscription'])==null||_0x11b32c[_0x165e92(0x2d0)](),this['_socketMessageSubscription']=null));}));}get[_0xe51f24(0x39f)](){var _0x1647fd=_0xe51f24;return this[_0x1647fd(0x2b0)][_0x1647fd(0x311)]();}[_0xe51f24(0x285)](){var _0x4f9bb3=_0xe51f24,_0x3b42e6,_0x5e42a6;return(_0x5e42a6=(_0x3b42e6=this['_socket'])==null?void 0x0:_0x3b42e6[_0x4f9bb3(0x188)])!=null?_0x5e42a6:null;}[_0xe51f24(0x35e)](){var _0x5aeff1=_0xe51f24;super[_0x5aeff1(0x35e)](),this[_0x5aeff1(0x218)]['next'](),this['dispose$'][_0x5aeff1(0x39c)]();}[_0xe51f24(0x21d)](){var _0x52d7d0=_0xe51f24,_0x213a39,_0x58d7e8;this[_0x52d7d0(0x2ae)](),(_0x213a39=this['_socket'])==null||_0x213a39['send']({'cmd':F[_0x52d7d0(0x23d)],'data':{'roomID':this[_0x52d7d0(0x22f)]}}),(_0x58d7e8=this[_0x52d7d0(0x2a3)])==null||_0x58d7e8[_0x52d7d0(0x21d)](),this[_0x52d7d0(0x35f)][_0x52d7d0(0x39c)](),this[_0x52d7d0(0x2b0)]['complete'](),this[_0x52d7d0(0x35e)]();}[_0xe51f24(0x2fd)](_0x22ef0b){var _0x52e672=_0xe51f24;_0x22ef0b[_0x52e672(0x275)]===F[_0x52e672(0x166)]?this[_0x52e672(0x27b)](_0x22ef0b):_0x22ef0b['cmd']===F[_0x52e672(0x187)]&&this[_0x52e672(0x447)](_0x22ef0b);}[_0xe51f24(0x396)](_0x14d3d4){var _0x1db2d8=_0xe51f24;this[_0x1db2d8(0x2b0)][_0x1db2d8(0x3f6)](0x1),_0x14d3d4[_0x1db2d8(0x3c6)]({'cmd':F['JOIN'],'routeKey':this[_0x1db2d8(0x22f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1db2d8(0x22f)]}]}});}[_0xe51f24(0x27b)](_0x796655){var _0xb182e4=_0xe51f24,_0x2f3b6e;if(_0x796655[_0xb182e4(0x3a4)]in Vt){this[_0xb182e4(0x30a)]['emitEvent']({'id':ne[_0xb182e4(0x2a4)],'data':Vt[_0x796655[_0xb182e4(0x3a4)]]}),this['_sessionStatus$'][_0xb182e4(0x3f6)](0x2);return;}this[_0xb182e4(0x2b0)][_0xb182e4(0x3f6)](0x3);const _0x2b3eb=(_0x2f3b6e=_0x796655[_0xb182e4(0x3c2)][_0xb182e4(0x387)][this['_unitID']])==null?void 0x0:_0x2f3b6e[_0xb182e4(0x20e)];_0x2b3eb&&_0x2b3eb[_0xb182e4(0x253)](_0x40afc3=>this[_0xb182e4(0x2a6)][_0xb182e4(0x2f9)](this[_0xb182e4(0x22f)],_0x40afc3));}[_0xe51f24(0x447)](_0x5e0ee1){var _0x92e838=_0xe51f24;try{const _0x2d9b3a=_0x5e0ee1[_0x92e838(0x3c2)];switch(_0x2d9b3a[_0x92e838(0x161)]){case _0x27b370['USERS_ENTER']:this[_0x92e838(0x339)](_0x2d9b3a),this['_event$'][_0x92e838(0x3f6)](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x3f7)]:this[_0x92e838(0x264)](_0x2d9b3a),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x292)]:case _0x27b370['CHANGESET_SHOULD_RETRY']:this[_0x92e838(0x242)](),this['_clearCollaborationTimeoutTimer'](),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x413)]:this[_0x92e838(0x420)][_0x92e838(0x35d)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x92e838(0x283)](_0x2d9b3a)),this[_0x92e838(0x35f)]['next'](_0x2d9b3a);break;case _0x27b370[_0x92e838(0x3b0)]:this[_0x92e838(0x2c4)]['onCommentUpdate'](_0x2d9b3a[_0x92e838(0x3c2)]),this['_event$'][_0x92e838(0x3f6)](_0x2d9b3a);break;default:this[_0x92e838(0x35f)][_0x92e838(0x3f6)](_0x2d9b3a);}}catch(_0xc46a6b){this[_0x92e838(0x420)][_0x92e838(0x35d)](_0xc46a6b,_0x5e0ee1);}}['_onUserJoin'](_0x181177){var _0x43fb81=_0xe51f24;this[_0x43fb81(0x2a6)][_0x43fb81(0x2f9)](this['_unitID'],_0x181177[_0x43fb81(0x3c2)]);}[_0xe51f24(0x264)](_0x42f56b){var _0x1371ef=_0xe51f24;this[_0x1371ef(0x2a6)][_0x1371ef(0x16c)](this['_unitID'],_0x42f56b[_0x1371ef(0x3c2)][_0x1371ef(0x188)]);}async[_0xe51f24(0x3c6)](_0x569add,_0x1ea380){var _0x493707=_0xe51f24;if(this['sessionStatus']!==0x3||!this[_0x493707(0x2a3)])throw new Error(_0x493707(0x2b6));try{_0x569add[_0x493707(0x161)]===_0x27b370['SUBMIT_CHANGESET']&&(this[_0x493707(0x200)](),this['_startTelemetryCollaborationNewChangeset'](_0x569add)),this[_0x493707(0x2a3)][_0x493707(0x3c6)]({'cmd':F[_0x493707(0x349)],'routeKey':_0x1ea380,'routeType':'','data':_0x569add});}catch(_0x4d78d0){this['_logService'][_0x493707(0x35d)](_0x4d78d0);}}[_0xe51f24(0x200)](){var _0x57f619=_0xe51f24,_0xaa9796;this[_0x57f619(0x1c3)]=setTimeout(()=>{var _0x533d2c=_0x57f619;this[_0x533d2c(0x1c3)]=null,this[_0x533d2c(0x30a)]['emitEvent']({'id':ne[_0x533d2c(0x184)]});},(_0xaa9796=this[_0x57f619(0x2ca)][_0x57f619(0x39e)](di))!=null?_0xaa9796:fi);}['_clearCollaborationTimeoutTimer'](){var _0x21d504=_0xe51f24;this[_0x21d504(0x1c3)]&&(clearTimeout(this[_0x21d504(0x1c3)]),this[_0x21d504(0x1c3)]=null);}[_0xe51f24(0x1e2)](_0x2d377b){var _0x54f339=_0xe51f24;if(!this[_0x54f339(0x317)])return;const {data:_0x5bedc4}=_0x2d377b,{unitID:_0x57c399,changeset:_0x451672}=_0x5bedc4,{mutations:_0xc18564,type:_0x5f1a6c}=_0x451672;this[_0x54f339(0x376)]={'unitId':_0x57c399,'type':_0x5f1a6c,'startTime':performance[_0x54f339(0x426)](),'stopTime':0x0,'duration':0x0,'size':bs(_0xc18564)};}[_0xe51f24(0x242)](){var _0x57fb7f=_0xe51f24;if(this[_0x57fb7f(0x317)]){if(!this['_telemetryInfo']){this[_0x57fb7f(0x420)][_0x57fb7f(0x35d)]('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x57fb7f(0x1e5)]=performance['now'](),this[_0x57fb7f(0x376)]['duration']=this[_0x57fb7f(0x376)]['stopTime']-this[_0x57fb7f(0x376)][_0x57fb7f(0x2c9)],this[_0x57fb7f(0x257)][_0x57fb7f(0x22e)](Os,this['_telemetryInfo']),this[_0x57fb7f(0x376)]=null;}}[_0xe51f24(0x2ae)](){var _0x395e71=_0xe51f24;this[_0x395e71(0x376)]=null;}};gt=As([Ce(0x2,_0x361d6f),Ce(0x3,_0x2a9499),Ce(0x4,_0x22b342(we)),Ce(0x5,_0x22b342(mi)),Ce(0x6,_0x22b342(ve)),Ce(0x7,_0x3dfa42(_0x596d0e))],gt);const J=_0x2bb048(_0xe51f24(0x159));function br(_0x5006ed){var _0x4f796e=_0xe51f24;return _0x4f796e(0x3d7)+_0x5006ed;}var ws=Object[_0xe51f24(0x434)],Ps=(_0xf974cc,_0x3aac11,_0x249c1b,_0x439212)=>{var _0x1b0e53=_0xe51f24;for(var _0x20a62c=_0x439212>0x1?void 0x0:_0x439212?ws(_0x3aac11,_0x249c1b):_0x3aac11,_0x13d398=_0xf974cc[_0x1b0e53(0x192)]-0x1,_0x547dad;_0x13d398>=0x0;_0x13d398--)(_0x547dad=_0xf974cc[_0x13d398])&&(_0x20a62c=_0x547dad(_0x20a62c)||_0x20a62c);return _0x20a62c;},ut=(_0xa05deb,_0x2c8955)=>(_0x12477b,_0x125a9b)=>_0x2c8955(_0x12477b,_0x125a9b,_0xa05deb);function Ms(_0x5cf17c){var _0x430a35=_0xe51f24;const {unitID:_0x94e96e,mutations:_0x40c19c}=_0x5cf17c;return{'unitId':_0x94e96e,'subUnitId':_0x40c19c[0x0]['params'][_0x430a35(0x341)]};}let it=class{constructor(_0x7238b9,_0x270fc9,_0x12f7c5){var _0x2ba9ff=_0xe51f24;this['_injector']=_0x7238b9,this[_0x2ba9ff(0x327)]=_0x270fc9,this[_0x2ba9ff(0x407)]=_0x12f7c5;}[_0xe51f24(0x24d)](_0x396b09){var _0x53b601=_0xe51f24,_0x22603f,_0x2dca2d,_0x2ead44,_0x3c6356;const _0x3f6c3e=this[_0x53b601(0x289)][_0x53b601(0x164)](_0x15ebd7),{unitId:_0x435174,subUnitId:_0x42720c}=Ms(_0x396b09),_0x2c3dbe=_0x3f6c3e==null?void 0x0:_0x3f6c3e[_0x53b601(0x404)](_0x435174)[_0x53b601(0x1ef)](),_0x1d2900=(_0x2dca2d=(_0x22603f=this[_0x53b601(0x407)]['getUnit'](_0x435174))==null?void 0x0:_0x22603f[_0x53b601(0x1f0)]())==null?void 0x0:_0x2dca2d['getSheetId']();if(_0x2c3dbe[_0x53b601(0x192)]===0x0||!_0x435174||!_0x42720c)return;const _0x1ef477=[{'id':_0x596e7f['id'],'params':{'unitId':_0x435174,'subUnitId':_0x1d2900,'selections':_0x35a74a[_0x53b601(0x1f7)](_0x2c3dbe)}}],_0x7336e7=this[_0x53b601(0x327)][_0x53b601(0x3e0)](_0x396b09,_0x1ef477);if(!_0x126ba7(_0x7336e7))throw _0x7336e7[_0x53b601(0x35d)];const _0x1096b1=(_0x3c6356=(_0x2ead44=_0x7336e7[_0x53b601(0x2ed)][0x0])==null?void 0x0:_0x2ead44[_0x53b601(0x429)])==null?void 0x0:_0x3c6356[_0x53b601(0x44d)];if(Array[_0x53b601(0x421)](_0x1096b1)&&_0x1096b1[_0x53b601(0x192)]){if(_0x1096b1['length']===_0x1ef477[0x0][_0x53b601(0x429)][_0x53b601(0x44d)]['length']&&_0x1096b1['every']((_0x550115,_0x464615)=>_0x4ab8f6['equals'](_0x550115[_0x53b601(0x1db)],_0x1ef477[0x0][_0x53b601(0x429)][_0x53b601(0x44d)][_0x464615][_0x53b601(0x1db)])))return;this[_0x53b601(0x289)][_0x53b601(0x164)](_0x399e10)[_0x53b601(0x3df)](_0x596e7f['id'],{'unitId':_0x435174,'subUnitId':_0x1d2900,'selections':_0x1096b1});}}};it=Ps([ut(0x0,_0x22b342(_0xf56e29)),ut(0x1,_0x122cfe),ut(0x2,_0x3f4f9f)],it);const ht=_0x2bb048(_0xe51f24(0x2da));var gi=(_0x2c1ceb=>(_0x2c1ceb[_0x2c1ceb[_0xe51f24(0x22a)]=0x0]=_0xe51f24(0x22a),_0x2c1ceb[_0x2c1ceb['OTHER_CLIENTS_EDITING']=0x1]=_0xe51f24(0x260),_0x2c1ceb))(gi||{});const K=_0xe51f24(0x38f),Ls={},xs=new Set([_0x81dc23['id']]);function Wt(_0x44368d,_0x5e6eae,_0x388405,_0x503646,_0x572a04){var _0x14feed=_0xe51f24,_0x19afc3,_0x227f2a,_0x1beba6,_0x2c5f3c;const _0x526828=[];for(const _0x57c401 of _0x44368d)if(xs[_0x14feed(0x1d1)](_0x57c401['id'])){if(_0x526828[_0x14feed(0x192)]>0x0)break;_0x526828['push'](_0x57c401);break;}else _0x526828[_0x14feed(0x27f)](_0x57c401);const _0x136979=(_0x227f2a=(_0x19afc3=_0x572a04['getCurrentUser']())==null?void 0x0:_0x19afc3[_0x14feed(0x436)])!=null?_0x227f2a:_0x14feed(0x196),_0x541855=(_0x2c5f3c=(_0x1beba6=_0x572a04[_0x14feed(0x197)]())==null?void 0x0:_0x1beba6['memberID'])!=null?_0x2c5f3c:'unknown';return{'changeset':{'unitID':_0x5e6eae,'type':_0x145943(_0x388405[_0x14feed(0x427)](_0x5e6eae)),'baseRev':_0x503646['getCurrentRevOfUnit'](_0x5e6eae),'revision':0x0,'userID':_0x136979,'memberID':_0x541855,'mutations':_0x526828},'pendingMutations':_0x44368d[_0x14feed(0x1ee)](_0x526828[_0x14feed(0x192)])};}function ks(_0x309838,_0x9ac3bc,_0x2e3a26,_0x1ddc2d,_0xe3682f){var _0xeb988d=_0xe51f24,_0x50dddd,_0x2c9dea,_0x5a5db6,_0x2397cd;const _0x325364=[_0x309838[_0xeb988d(0x222)]((_0x23b991,_0x4fe92d)=>{var _0x19c6e2=_0xeb988d,_0x14997b;const {id:_0x5da4e6}=_0x23b991,{id:_0x334131,type:_0x24d655}=_0x4fe92d,_0x590068=(_0x14997b=_0x23b991[_0x19c6e2(0x429)])!=null?_0x14997b:{'actions':null},_0x5dfee2=_0x4fe92d['params'];if(_0x5da4e6&&_0x5da4e6!==_0x334131)throw new Error(_0x19c6e2(0x2a9)+_0x5da4e6+_0x19c6e2(0x2fe)+_0x334131+'.');return{..._0x23b991,'id':_0x334131,'type':_0x24d655,'params':{'unitId':_0x5dfee2['unitId'],'textRanges':_0x5dfee2['textRanges'],'actions':_0x1eb69f[_0x19c6e2(0x2b5)](_0x590068[_0x19c6e2(0x2c8)],_0x5dfee2[_0x19c6e2(0x2c8)])}};},{})],_0x29c42f=(_0x2c9dea=(_0x50dddd=_0xe3682f[_0xeb988d(0x197)]())==null?void 0x0:_0x50dddd[_0xeb988d(0x436)])!=null?_0x2c9dea:_0xeb988d(0x196),_0x81121a=(_0x2397cd=(_0x5a5db6=_0xe3682f['getCurrentUser']())==null?void 0x0:_0x5a5db6[_0xeb988d(0x188)])!=null?_0x2397cd:_0xeb988d(0x196);return{'changeset':{'unitID':_0x9ac3bc,'type':_0x145943(_0x2e3a26[_0xeb988d(0x427)](_0x9ac3bc)),'baseRev':_0x1ddc2d[_0xeb988d(0x31d)](_0x9ac3bc),'revision':0x0,'userID':_0x29c42f,'memberID':_0x81121a,'mutations':_0x325364},'pendingMutations':[]};}function Si(_0x43a60b,_0x3e1a36){var _0x12c988=_0xe51f24;const _0x1e80e4=new _0x38c9b3(0x1);return setTimeout(()=>_0x1e80e4[_0x12c988(0x3f6)](_0x3e1a36),_0x43a60b),_0x1e80e4[_0x12c988(0x43c)]()[_0x12c988(0x21f)](_0x46cc5c(0x1));}const $s={'id':_0x3d1609['id'],'type':_0x2b89a5['MUTATION'],'params':{}};var Hs=Object[_0xe51f24(0x434)],Ee=(_0x48c811,_0x524a0d,_0x7046a4,_0x5c7812)=>{var _0x3f676b=_0xe51f24;for(var _0x427ad4=_0x5c7812>0x1?void 0x0:_0x5c7812?Hs(_0x524a0d,_0x7046a4):_0x524a0d,_0x2bf2c4=_0x48c811[_0x3f676b(0x192)]-0x1,_0x2ad5f2;_0x2bf2c4>=0x0;_0x2bf2c4--)(_0x2ad5f2=_0x48c811[_0x2bf2c4])&&(_0x427ad4=_0x2ad5f2(_0x427ad4)||_0x427ad4);return _0x427ad4;},P=(_0x4d199b,_0xe29821)=>(_0x122659,_0x5395f6)=>_0xe29821(_0x122659,_0x5395f6,_0x4d199b),Ei=(_0x3c44ff=>(_0x3c44ff['NOT_COLLAB']='not_collab',_0x3c44ff[_0xe51f24(0x34a)]=_0xe51f24(0x3ab),_0x3c44ff[_0xe51f24(0x300)]=_0xe51f24(0x446),_0x3c44ff[_0xe51f24(0x23f)]=_0xe51f24(0x1eb),_0x3c44ff['AWAITING_WITH_PENDING']=_0xe51f24(0x2a1),_0x3c44ff[_0xe51f24(0x286)]=_0xe51f24(0x41e),_0x3c44ff['CONFLICT']=_0xe51f24(0x173),_0x3c44ff['OFFLINE']=_0xe51f24(0x2ac),_0x3c44ff))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x27b831,_0x4024f1,_0x45301c,_0x4c9268,_0x25fe87,_0x212a1f,_0x2af91e,_0x42b9f0,_0x1d73d0){var _0x184075=_0xe51f24;N(this,_0x184075(0x36e),null),N(this,_0x184075(0x3c3),[]),(this['unitID']=_0x27b831,this[_0x184075(0x2a0)]=_0x4024f1,this['_handler']=_0x25fe87,this[_0x184075(0x1df)]=_0x212a1f,this['_undoRedoService']=_0x2af91e,this[_0x184075(0x1a6)]=_0x42b9f0,this[_0x184075(0x291)]=_0x1d73d0,this[_0x184075(0x36e)]=_0x45301c,this[_0x184075(0x3c3)]=_0x4c9268);}[_0xe51f24(0x2b3)](_0x10a255){var _0x1b4167=_0xe51f24;const _0x3b35ff=this[_0x1b4167(0x1a6)][_0x1b4167(0x31d)](this[_0x1b4167(0x2f5)]);return _0x10a255[_0x1b4167(0x179)]>_0x3b35ff+0x1?(this[_0x1b4167(0x373)][_0x1b4167(0x157)]({'from':_0x3b35ff,'to':_0x10a255[_0x1b4167(0x179)]-0x1}),!0x0):!0x1;}[_0xe51f24(0x3cd)](_0x1e9de9){var _0xe558f6=_0xe51f24;this[_0xe558f6(0x191)][_0xe558f6(0x359)](this['unitID'],_0x1e9de9);}['_transformSelections'](_0x851c94){var _0x4ae223=_0xe51f24,_0x31c17b,_0x26c7ba;(_0x26c7ba=(_0x31c17b=this[_0x4ae223(0x373)])[_0x4ae223(0x15f)])==null||_0x26c7ba['call'](_0x31c17b,_0x851c94);}[_0xe51f24(0x26b)](_0x38f456){var _0x51cd0e=_0xe51f24,_0xc22e88,_0x58e2bb;return(_0x58e2bb=(_0xc22e88=this['_handler'])[_0x51cd0e(0x2b8)])==null?void 0x0:_0x58e2bb[_0x51cd0e(0x29a)](_0xc22e88,_0x38f456);}[_0xe51f24(0x441)](_0x43749e){var _0x485f70=_0xe51f24,_0x3f185f,_0x1a67df;return(_0x1a67df=(_0x3f185f=this[_0x485f70(0x373)])['onTransformState'])==null?void 0x0:_0x1a67df[_0x485f70(0x29a)](_0x3f185f,_0x43749e);}[_0xe51f24(0x41d)](_0x55177a){var _0x4f48a6=_0xe51f24,_0x125908,_0x355440,_0x284dba;return(_0x284dba=(_0x355440=(_0x125908=this[_0x4f48a6(0x373)])[_0x4f48a6(0x15b)])==null?void 0x0:_0x355440[_0x4f48a6(0x29a)](_0x125908,_0x55177a))!=null?_0x284dba:_0x55177a;}[_0xe51f24(0x269)](_0x168a52){var _0x4587d3=_0xe51f24,_0xeb893a,_0x3ee303,_0x15cb95;return(_0x15cb95=(_0x3ee303=(_0xeb893a=this['_handler'])[_0x4587d3(0x42f)])==null?void 0x0:_0x3ee303[_0x4587d3(0x29a)](_0xeb893a,_0x168a52))!=null?_0x15cb95:_0x168a52;}[_0xe51f24(0x1b9)](_0x202f6b){var _0x32ac63=_0xe51f24,_0x50afe8,_0x36a6a5;if(this['type']===Z['UNIVER_DOC']){const {unitID:_0x5e6662,mutations:_0x2cce19,memberID:_0x23c39b}=_0x202f6b,_0x23c3f4=_0x2cce19[0x0][_0x32ac63(0x429)][_0x32ac63(0x1f3)];Array[_0x32ac63(0x421)](_0x23c3f4)&&_0x23c3f4[_0x32ac63(0x192)]>0x0&&((_0x36a6a5=(_0x50afe8=this['_handler'])[_0x32ac63(0x268)])==null||_0x36a6a5[_0x32ac63(0x29a)](_0x50afe8,{'unitID':_0x5e6662,'memberID':_0x23c39b,'textRanges':_0x23c3f4}));}}[_0xe51f24(0x2ee)](){var _0x551903=_0xe51f24,_0xaed70e;(_0xaed70e=this[_0x551903(0x291)])==null||_0xaed70e[_0x551903(0x1a0)](this['unitID'],this[_0x551903(0x2a0)],this[_0x551903(0x36e)],this[_0x551903(0x3c3)]);}['_getCurrentRevision'](){var _0x4f7b28=_0xe51f24;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4f7b28(0x2f5)]);}[_0xe51f24(0x3d2)](){var _0x2a71d2=_0xe51f24;this[_0x2a71d2(0x1a6)][_0x2a71d2(0x388)](this[_0x2a71d2(0x2f5)]);}[_0xe51f24(0x3a2)](_0x60d48e){var _0x53fde2=_0xe51f24,_0x430e27;let _0x6563f9=this[_0x53fde2(0x41d)](_0x60d48e);_0x6563f9=this['_transformRemoteChangesetByStateCache'](_0x6563f9);const _0x2ae463=_0x187a8c(_0x6563f9['mutations'],this[_0x53fde2(0x1df)],{'fromCollab':!0x0});if(!_0x2ae463['result'])throw _0x2ae463[_0x53fde2(0x35d)]instanceof Error?_0x2ae463[_0x53fde2(0x35d)]:new Error((_0x430e27=_0x2ae463[_0x53fde2(0x35d)])!=null?_0x430e27:'[CollaborationState]:\x20apply\x20error!');this[_0x53fde2(0x26b)](_0x6563f9),this[_0x53fde2(0x441)](_0x6563f9),this[_0x53fde2(0x3cd)](_0x60d48e),this[_0x53fde2(0x3bb)](_0x6563f9),this[_0x53fde2(0x1b9)](_0x6563f9),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x2b27fb,_0x125c75,_0x661faf,_0x86f48d,_0x269a41,_0x2b9b00,_0x7355ef,_0x3ba9fb,_0x1f97f4,_0x3b2614){var _0x38d1be=_0xe51f24;super(_0x2b27fb,_0x125c75,null,[],_0x661faf,_0x7355ef,_0x2b9b00,_0x86f48d,_0x3b2614),N(this,_0x38d1be(0x27a),'synced'),(this[_0x38d1be(0x289)]=_0x269a41,this[_0x38d1be(0x420)]=_0x3ba9fb,this['_transformService']=_0x1f97f4,this[_0x38d1be(0x2e3)]=_0x3b2614);}[_0xe51f24(0x28d)](_0x1f2dcc){var _0x42ed94=_0xe51f24;const _0x2d011a=this[_0x42ed94(0x289)][_0x42ed94(0x1a5)](re,this[_0x42ed94(0x2f5)],this[_0x42ed94(0x2a0)],[_0x1f2dcc],this[_0x42ed94(0x373)]);return _0x2d011a[_0x42ed94(0x38c)](),_0x2d011a[_0x42ed94(0x2ee)](),_0x2d011a;}['onRemoteChangeset'](_0x42f1da){var _0x566f5b=_0xe51f24;if(this[_0x566f5b(0x2b3)](_0x42f1da))return this[_0x566f5b(0x289)][_0x566f5b(0x1a5)](Q,this['unitID'],this['type'],null,[],null,[_0x42f1da],this[_0x566f5b(0x373)]);try{const _0x1f31bb=this[_0x566f5b(0x327)]['transformMutationsWithChangeset'](_0x42f1da,[$s]);if(_0x126ba7(_0x1f31bb)){const {c1Prime:_0x18250b}=_0x1f31bb;return this[_0x566f5b(0x3a2)](_0x18250b),this;}throw _0x1f31bb[_0x566f5b(0x35d)];}catch(_0x5b3c70){return this[_0x566f5b(0x420)][_0x566f5b(0x35d)](_0x5b3c70),this[_0x566f5b(0x368)](!0x1);}}[_0xe51f24(0x368)](_0x5690f9){var _0x141a5e=_0xe51f24;return this[_0x141a5e(0x289)][_0x141a5e(0x1a5)](le,this[_0x141a5e(0x2f5)],this['type'],null,[],this[_0x141a5e(0x373)],_0x5690f9);}['onRemoteAck'](){var _0x5218a9=_0xe51f24;throw new Error(_0x5218a9(0x3ca));}[_0xe51f24(0x1b1)](){var _0x41aed1=_0xe51f24;throw new Error(_0x41aed1(0x360));}[_0xe51f24(0x1bf)](){return this;}['toggleOffline'](){var _0x2337da=_0xe51f24;return this[_0x2337da(0x289)][_0x2337da(0x1a5)](ue,this[_0x2337da(0x2f5)],this[_0x2337da(0x2a0)],null,[],this[_0x2337da(0x373)]);}[_0xe51f24(0x42c)](){return this;}['resend'](){var _0x3056fa=_0xe51f24;throw new Error(_0x3056fa(0x435));}[_0xe51f24(0x2b1)](){var _0x5b5b6c=_0xe51f24;const _0x5e2c8d=this[_0x5b5b6c(0x1a6)][_0x5b5b6c(0x31d)](this[_0x5b5b6c(0x2f5)]);return this[_0x5b5b6c(0x373)][_0x5b5b6c(0x157)]({'from':_0x5e2c8d,'to':0x0}),this[_0x5b5b6c(0x289)]['createInstance'](Q,this[_0x5b5b6c(0x2f5)],this[_0x5b5b6c(0x2a0)],null,[],null,[],this[_0x5b5b6c(0x373)]);}};ye=Ee([P(0x3,_0x22b342(_0x543d62)),P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x526774),P(0x6,_0x399e10),P(0x7,_0x361d6f),P(0x8,_0x122cfe),P(0x9,_0x3dfa42(J))],ye);let re=class extends Ie{constructor(_0x187c68,_0x1c3a43,_0x26c509,_0x459b74,_0x5731da,_0x5516a7,_0x201fbf,_0x1a39de,_0x475ba7,_0x1cef06,_0x393cea,_0x4811ff,_0x7a0d52,_0x35ab12){var _0x387186=_0xe51f24;super(_0x187c68,_0x1c3a43,null,_0x26c509,_0x459b74,_0x475ba7,_0x7a0d52,_0x5516a7,_0x35ab12),N(this,_0x387186(0x27a),'pending'),N(this,_0x387186(0x31c),null),N(this,'_sendingTimer',null),(this[_0x387186(0x289)]=_0x5731da,this[_0x387186(0x2a6)]=_0x201fbf,this['_logService']=_0x1a39de,this['_configService']=_0x1cef06,this[_0x387186(0x327)]=_0x393cea,this[_0x387186(0x215)]=_0x4811ff);}['appendMutation'](_0x35422c){var _0x14df5d=_0xe51f24;return this[_0x14df5d(0x3c3)]['push'](_0x35422c),this['_updateLocalCache'](),this;}[_0xe51f24(0x369)](_0x153aaf){var _0x4371f2=_0xe51f24;if(this[_0x4371f2(0x2b3)](_0x153aaf))return this['_clearScheduledTask'](),this[_0x4371f2(0x289)][_0x4371f2(0x1a5)](Q,this[_0x4371f2(0x2f5)],this['type'],null,this[_0x4371f2(0x3c3)],null,[_0x153aaf],this[_0x4371f2(0x373)]);try{const _0x5c6e79=this['_transformService'][_0x4371f2(0x3e0)](_0x153aaf,this[_0x4371f2(0x3c3)]);if(_0x126ba7(_0x5c6e79)){const {c1Prime:_0x5d7a50,m2Prime:_0xb02b3f}=_0x5c6e79;this['_executeRemoteChangeset'](_0x5d7a50);const _0x3d781d=this[_0x4371f2(0x289)][_0x4371f2(0x1a5)](re,this[_0x4371f2(0x2f5)],this['type'],_0xb02b3f,this[_0x4371f2(0x373)]);this[_0x4371f2(0x3e3)]();const _0x39eabb=new Date()[_0x4371f2(0x348)](),_0x54bfa8=this[_0x4371f2(0x31c)]?Math[_0x4371f2(0x226)](this[_0x4371f2(0x31c)]-_0x39eabb,0x0):this[_0x4371f2(0x17f)]();return _0x3d781d[_0x4371f2(0x38c)](_0x54bfa8),_0x3d781d;}throw _0x5c6e79[_0x4371f2(0x35d)];}catch(_0x36ee7f){return this['_logService']['error'](_0x36ee7f),this[_0x4371f2(0x368)](!0x1);}}[_0xe51f24(0x1ff)](){var _0xfd42b8=_0xe51f24;throw new Error(_0xfd42b8(0x3d9));}[_0xe51f24(0x1b1)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){var _0xc6a677=_0xe51f24;return this[_0xc6a677(0x3e3)](),this['_injector'][_0xc6a677(0x1a5)](ue,this[_0xc6a677(0x2f5)],this[_0xc6a677(0x2a0)],null,this[_0xc6a677(0x3c3)],this[_0xc6a677(0x373)]);}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x38c)](_0x35fd22){var _0x204d7d=_0xe51f24;const _0x5a0d7a=_0x35fd22!=null?_0x35fd22:this[_0x204d7d(0x17f)]();this[_0x204d7d(0x31c)]=new Date()[_0x204d7d(0x348)]()+_0x5a0d7a,this['_sendingTimer']=setTimeout(()=>{var _0x51439d=_0x204d7d;this[_0x51439d(0x3e3)]();let _0x59eb1c=null;switch(this[_0x51439d(0x2a0)]){case Z[_0x51439d(0x3a9)]:{_0x59eb1c=Wt(this[_0x51439d(0x3c3)],this[_0x51439d(0x2f5)],this[_0x51439d(0x215)],this['_revisionService'],this[_0x51439d(0x2a6)]);break;}case Z[_0x51439d(0x1ba)]:{this[_0x51439d(0x3c3)][_0x51439d(0x1de)](_0x9c1317=>_0x9c1317['id']===_0x50563e['id'])?_0x59eb1c=ks(this[_0x51439d(0x3c3)],this['unitID'],this[_0x51439d(0x215)],this['_revisionService'],this[_0x51439d(0x2a6)]):_0x59eb1c=Wt(this[_0x51439d(0x3c3)],this[_0x51439d(0x2f5)],this[_0x51439d(0x215)],this[_0x51439d(0x1a6)],this[_0x51439d(0x2a6)]);break;}default:throw new Error(_0x51439d(0x21a)+this[_0x51439d(0x2a0)]+_0x51439d(0x1e1));}const {changeset:_0x558d1e,pendingMutations:_0x4f58cb}=_0x59eb1c;this[_0x51439d(0x373)]['onSendChangeset'](_0x558d1e);const _0x2af377=_0x4f58cb[_0x51439d(0x192)]?this[_0x51439d(0x289)][_0x51439d(0x1a5)](ae,this[_0x51439d(0x2f5)],this[_0x51439d(0x2a0)],_0x558d1e,_0x4f58cb,this['_handler'],void 0x0):this[_0x51439d(0x289)][_0x51439d(0x1a5)](_e,this[_0x51439d(0x2f5)],this[_0x51439d(0x2a0)],_0x558d1e,this[_0x51439d(0x373)]);_0x2af377['_updateLocalCache'](),this['_handler'][_0x51439d(0x2f8)](this,_0x2af377);},_0x5a0d7a);}[_0xe51f24(0x17f)](){var _0x546bd6=_0xe51f24,_0x4b5c98;const _0x4de512=this[_0x546bd6(0x2ca)][_0x546bd6(0x39e)](K);return(_0x4b5c98=_0x4de512==null?void 0x0:_0x4de512['sendChangesetTimeout'])!=null?_0x4b5c98:ps;}[_0xe51f24(0x2f1)](){var _0x40a3e1=_0xe51f24;throw new Error(_0x40a3e1(0x3ce));}[_0xe51f24(0x3e3)](){var _0x432c32=_0xe51f24;this['_sendingTimer']!=null&&(clearTimeout(this[_0x432c32(0x18f)]),this[_0x432c32(0x18f)]=null);}[_0xe51f24(0x368)](_0x46b2f3){var _0x5a3a49=_0xe51f24;return this['_clearScheduledTask'](),this['_injector'][_0x5a3a49(0x1a5)](le,this['unitID'],this[_0x5a3a49(0x2a0)],null,this[_0x5a3a49(0x3c3)],this[_0x5a3a49(0x373)],_0x46b2f3);}};re=Ee([P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x22b342(_0x543d62)),P(0x6,_0x22b342(we)),P(0x7,_0x361d6f),P(0x8,_0x399e10),P(0x9,_0x2a9499),P(0xa,_0x122cfe),P(0xb,_0x3f4f9f),P(0xc,_0x526774),P(0xd,_0x3dfa42(J))],re);let _e=class extends Ie{constructor(_0x4e4737,_0x252a6a,_0x5843d0,_0x3e4ca4,_0x5dd75c,_0x2d7b0c,_0x388368,_0x140811,_0x3bb1f3,_0x276e68,_0x25670e){var _0x4a527d=_0xe51f24;super(_0x4e4737,_0x252a6a,_0x5843d0,[],_0x3e4ca4,_0x388368,_0x276e68,_0x2d7b0c,_0x25670e),N(this,_0x4a527d(0x27a),_0x4a527d(0x1eb)),N(this,_0x4a527d(0x271),0x0),N(this,'_resendTimer'),N(this,_0x4a527d(0x199)),(this[_0x4a527d(0x289)]=_0x5dd75c,this['_logService']=_0x140811,this[_0x4a527d(0x327)]=_0x3bb1f3);}['appendMutation'](_0x114274){var _0x3c33cc=_0xe51f24;this[_0x3c33cc(0x3e3)]();const _0x363b5d=this[_0x3c33cc(0x289)]['createInstance'](ae,this[_0x3c33cc(0x2f5)],this[_0x3c33cc(0x2a0)],this[_0x3c33cc(0x36e)],[_0x114274],this[_0x3c33cc(0x373)],this[_0x3c33cc(0x176)]);return _0x363b5d[_0x3c33cc(0x2ee)](),_0x363b5d;}[_0xe51f24(0x369)](_0x39b2b3){var _0x399321=_0xe51f24;if(this[_0x399321(0x2b3)](_0x39b2b3))return this['_clearScheduledTask'](),this[_0x399321(0x289)][_0x399321(0x1a5)](Q,this[_0x399321(0x2f5)],this['type'],this[_0x399321(0x36e)],[],null,[_0x39b2b3],this[_0x399321(0x373)]);try{const _0x1100f5=this[_0x399321(0x327)][_0x399321(0x2bc)]([_0x39b2b3],[this[_0x399321(0x36e)]],!0x1);if(_0x4b0873(_0x1100f5)){const {c1Prime:_0xd6b0b6,c2Prime:_0x58d881}=_0x1100f5;this[_0x399321(0x3a2)](_0xd6b0b6[0x0]),_0x58d881[0x0]['baseRev']=this[_0x399321(0x354)](),this[_0x399321(0x3e3)]();const _0x57edc2=this['_injector'][_0x399321(0x1a5)](_e,this[_0x399321(0x2f5)],this[_0x399321(0x2a0)],_0x58d881[0x0],this[_0x399321(0x373)]);return _0x57edc2[_0x399321(0x2ee)](),_0x57edc2;}return this[_0x399321(0x368)](!0x1);}catch(_0x29eed4){return this['_logService'][_0x399321(0x35d)](_0x29eed4),this['_onConflict'](!0x1);}}[_0xe51f24(0x1ff)](_0x1842b4){var _0x418ab7=_0xe51f24;this[_0x418ab7(0x3e3)]();const _0x191ed9=this[_0x418ab7(0x1a6)][_0x418ab7(0x31d)](this[_0x418ab7(0x2f5)]);if(_0x1842b4[_0x418ab7(0x179)]<_0x191ed9-0x1)return this;if(this[_0x418ab7(0x2b3)](_0x1842b4))return this[_0x418ab7(0x289)]['createInstance'](Q,this[_0x418ab7(0x2f5)],this[_0x418ab7(0x2a0)],null,[],this[_0x418ab7(0x36e)],[],this[_0x418ab7(0x373)]);this[_0x418ab7(0x3d2)]();const _0x5b0ff3=this[_0x418ab7(0x289)]['createInstance'](ye,this[_0x418ab7(0x2f5)],this[_0x418ab7(0x2a0)],this['_handler']);return _0x5b0ff3['_updateLocalCache'](),_0x5b0ff3;}['onRemoteRej'](_0x5df342){var _0x4bac51=_0xe51f24;return this[_0x4bac51(0x368)](!!(_0x5df342!=null&&_0x5df342[_0x4bac51(0x306)]));}['onRemoteRetry'](_0x4b1f5d){var _0x1c9532=_0xe51f24;return this[_0x1c9532(0x271)]>Ii?this[_0x1c9532(0x33b)]():(this[_0x1c9532(0x176)]=Si(this['_resendTimeout'],{'timeout':this[_0x1c9532(0x271)],'reqId':_0x4b1f5d[_0x1c9532(0x2fa)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x41c452,timeout:_0x54af5e})=>{this['_resendWithTimeout'](_0x41c452,_0x54af5e);}),this);}['toggleOffline'](){var _0x2bae62=_0xe51f24;return this[_0x2bae62(0x3e3)](),this[_0x2bae62(0x289)]['createInstance'](ue,this[_0x2bae62(0x2f5)],this[_0x2bae62(0x2a0)],this['_awaitingChangeset'],[],this[_0x2bae62(0x373)]);}['toggleOnline'](){return this;}[_0xe51f24(0x2f1)](){var _0x2f4f2e=_0xe51f24;this[_0x2f4f2e(0x373)]['onSendChangeset'](this[_0x2f4f2e(0x36e)]);}[_0xe51f24(0x368)](_0x5c46ed){var _0x599cc8=_0xe51f24;return this[_0x599cc8(0x3e3)](),this['_injector'][_0x599cc8(0x1a5)](le,this[_0x599cc8(0x2f5)],this[_0x599cc8(0x2a0)],this[_0x599cc8(0x36e)],[],this[_0x599cc8(0x373)],_0x5c46ed);}[_0xe51f24(0x329)](_0x19754d,_0x1d6a01){var _0x42f2cb=_0xe51f24,_0x4fb708;_0x19754d===((_0x4fb708=this[_0x42f2cb(0x36e)])==null?void 0x0:_0x4fb708[_0x42f2cb(0x2fa)])&&(this[_0x42f2cb(0x2f1)](),this[_0x42f2cb(0x271)]=_0x1d6a01===0x0?0x3e8:_0x1d6a01*0x2);}[_0xe51f24(0x3e3)](){var _0x474216=_0xe51f24,_0x2eef0e;(_0x2eef0e=this['_sender'])==null||_0x2eef0e['unsubscribe'](),this[_0x474216(0x271)]=0x0;}};_e=Ee([P(0x4,_0x22b342(_0xf56e29)),P(0x5,_0x22b342(_0x543d62)),P(0x6,_0x399e10),P(0x7,_0x361d6f),P(0x8,_0x122cfe),P(0x9,_0x526774),P(0xa,_0x3dfa42(J))],_e);let ae=class extends Ie{constructor(_0x53d039,_0xdd1e8a,_0x39cd15,_0xbda5e4,_0x50e893,_0x2b725c,_0x4c87f4,_0x2e2afc,_0x3c65c9,_0x3d5141,_0x14aed5,_0x19e405,_0x415edc){var _0x5dde75=_0xe51f24;super(_0x53d039,_0xdd1e8a,_0x39cd15,_0xbda5e4,_0x50e893,_0x3c65c9,_0x19e405,_0x2e2afc,_0x415edc),N(this,_0x5dde75(0x27a),_0x5dde75(0x2a1)),N(this,_0x5dde75(0x271),0x0),N(this,_0x5dde75(0x176)),N(this,_0x5dde75(0x199)),(this[_0x5dde75(0x289)]=_0x4c87f4,this[_0x5dde75(0x420)]=_0x3d5141,this[_0x5dde75(0x327)]=_0x14aed5,this[_0x5dde75(0x2e3)]=_0x415edc,_0x2b725c&&(this[_0x5dde75(0x176)]=_0x2b725c,this[_0x5dde75(0x199)]=this[_0x5dde75(0x176)]['subscribe'](({reqId:_0x10aa3c,timeout:_0x1979bc})=>{var _0x1f2958=_0x5dde75;this[_0x1f2958(0x329)](_0x10aa3c,_0x1979bc);})));}[_0xe51f24(0x28d)](_0x498fa8){var _0x46acd5=_0xe51f24;return this['_pendingMutations'][_0x46acd5(0x27f)](_0x498fa8),this;}[_0xe51f24(0x369)](_0x1cb0ba){var _0x260427=_0xe51f24;if(this[_0x260427(0x2b3)](_0x1cb0ba))return this['_clearScheduledTask'](),this[_0x260427(0x289)]['createInstance'](Q,this['unitID'],this[_0x260427(0x2a0)],this[_0x260427(0x36e)],this[_0x260427(0x3c3)],null,[_0x1cb0ba],this[_0x260427(0x373)]);try{const _0x53c31a=this[_0x260427(0x327)][_0x260427(0x2bc)]([_0x1cb0ba],[this[_0x260427(0x36e)]],!0x1);if(_0x4b0873(_0x53c31a)){const {c1Prime:_0x26fc5c,c2Prime:_0x356102}=_0x53c31a,_0x35aa5a=this[_0x260427(0x327)]['transformMutationsWithChangeset'](_0x26fc5c[0x0],this[_0x260427(0x3c3)]);if(_0x126ba7(_0x35aa5a)){const {c1Prime:_0xbe663,m2Prime:_0x3d5d59}=_0x35aa5a;return this[_0x260427(0x3a2)](_0xbe663),_0x356102[0x0][_0x260427(0x31f)]=this['_getCurrentRevision'](),this[_0x260427(0x3e3)](),this[_0x260427(0x289)][_0x260427(0x1a5)](ae,this[_0x260427(0x2f5)],this[_0x260427(0x2a0)],_0x356102[0x0],_0x3d5d59,this[_0x260427(0x373)],void 0x0);}throw _0x35aa5a[_0x260427(0x35d)];}throw _0x53c31a[_0x260427(0x35d)];}catch(_0x261fdf){return this['_logService']['error'](_0x261fdf),this['_onConflict'](!0x1);}}[_0xe51f24(0x1ff)](_0x18fe72){var _0x2444dc=_0xe51f24;if(this[_0x2444dc(0x3e3)](),this['_checkMissing'](_0x18fe72))return this[_0x2444dc(0x289)][_0x2444dc(0x1a5)](Q,this[_0x2444dc(0x2f5)],this[_0x2444dc(0x2a0)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this['_handler']);this[_0x2444dc(0x3d2)]();const _0x550c97=this[_0x2444dc(0x289)]['createInstance'](re,this[_0x2444dc(0x2f5)],this[_0x2444dc(0x2a0)],this[_0x2444dc(0x3c3)],this['_handler']);return _0x550c97['_schedule'](),_0x550c97[_0x2444dc(0x2ee)](),_0x550c97;}[_0xe51f24(0x1b1)](_0x2cb243){var _0x480388=_0xe51f24;return this[_0x480388(0x368)](!!(_0x2cb243!=null&&_0x2cb243[_0x480388(0x306)]));}['onRemoteRetry'](_0x5f010a){var _0x1a8023=_0xe51f24;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x1a8023(0x176)]=Si(this[_0x1a8023(0x271)],{'timeout':this[_0x1a8023(0x271)],'reqId':_0x5f010a['reqId']}),this[_0x1a8023(0x199)]=this['_resendTimer'][_0x1a8023(0x2aa)](({reqId:_0xad5a42,timeout:_0x324a82})=>{var _0x279acc=_0x1a8023;this[_0x279acc(0x329)](_0xad5a42,_0x324a82);}),this);}[_0xe51f24(0x33b)](){var _0x579196=_0xe51f24;return this[_0x579196(0x3e3)](),this['_injector'][_0x579196(0x1a5)](ue,this[_0x579196(0x2f5)],this['type'],this[_0x579196(0x36e)],this[_0x579196(0x3c3)],this[_0x579196(0x373)]);}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x2f1)](){var _0x1354cd=_0xe51f24;this[_0x1354cd(0x373)]['onSendChangeset'](this[_0x1354cd(0x36e)]);}['_onConflict'](_0x5233f3){var _0x518713=_0xe51f24;return this[_0x518713(0x3e3)](),this[_0x518713(0x289)]['createInstance'](le,this[_0x518713(0x2f5)],this[_0x518713(0x2a0)],null,this['_pendingMutations'],this[_0x518713(0x373)],_0x5233f3);}['_resendWithTimeout'](_0xcf8ec7,_0x467b6f){var _0x39f94b=_0xe51f24,_0x4877d6;_0xcf8ec7===((_0x4877d6=this[_0x39f94b(0x36e)])==null?void 0x0:_0x4877d6['reqId'])&&(this[_0x39f94b(0x2f1)](),this[_0x39f94b(0x271)]=_0x467b6f===0x0?0x3e8:_0x467b6f*0x2);}[_0xe51f24(0x3e3)](){var _0x4a87cd=_0xe51f24,_0x35cfcc;(_0x35cfcc=this[_0x4a87cd(0x199)])==null||_0x35cfcc[_0x4a87cd(0x2d0)](),this[_0x4a87cd(0x271)]=0x0;}};ae=Ee([P(0x6,_0x22b342(_0xf56e29)),P(0x7,_0x22b342(_0x543d62)),P(0x8,_0x399e10),P(0x9,_0x361d6f),P(0xa,_0x122cfe),P(0xb,_0x526774),P(0xc,_0x3dfa42(J))],ae);let le=class extends Ie{constructor(_0x4a3308,_0x5ef271,_0x406072,_0x5d1e4e,_0x539c87,_0x182eb8=!0x1,_0x4b43d6,_0x1dd060,_0x1b7b17,_0xfc841e,_0x3b5913,_0x33f01f,_0x296d77){var _0x33f918=_0xe51f24;super(_0x4a3308,_0x5ef271,_0x406072,_0x5d1e4e,_0x539c87,_0x1dd060,_0x1b7b17,_0xfc841e,_0x296d77),N(this,_0x33f918(0x27a),_0x33f918(0x173)),(this['_isPermissionRej']=_0x182eb8,this[_0x33f918(0x18a)]=_0x4b43d6,this[_0x33f918(0x301)]=_0x3b5913,this['_collaborationUIEventService']=_0x33f01f,this[_0x33f918(0x2e3)]=_0x296d77,this[_0x33f918(0x1b0)](),this[_0x33f918(0x1a4)](),this['_disableEditing']());}[_0xe51f24(0x28d)](){return this;}[_0xe51f24(0x369)](){return this;}[_0xe51f24(0x1ff)](){return this;}['onRemoteRej'](){return this;}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){return this;}[_0xe51f24(0x42c)](){return this;}[_0xe51f24(0x2f1)](){var _0x547ed9=_0xe51f24;throw new Error(_0x547ed9(0x1b2));}[_0xe51f24(0x1a4)](){var _0xc000a8=_0xe51f24,_0x58927b;(_0x58927b=this[_0xc000a8(0x291)])==null||_0x58927b[_0xc000a8(0x1a0)](this[_0xc000a8(0x2f5)],this[_0xc000a8(0x2a0)],null,[]);}[_0xe51f24(0x1b0)](){var _0x15b898=_0xe51f24;this['_isPermissionRej']?this[_0x15b898(0x30a)][_0x15b898(0x261)]({'id':ne[_0x15b898(0x177)]}):this[_0x15b898(0x30a)]['emitEvent']({'id':ne['CONFLICT']});}[_0xe51f24(0x428)](){var _0x4e2e36=_0xe51f24;this['_permissionService']['updatePermissionPoint'](new _0x579aa1(this[_0x4e2e36(0x2f5)])['id'],!0x1);}};le=Ee([P(0x6,_0x22b342(_0x59ac06)),P(0x7,_0x399e10),P(0x8,_0x526774),P(0x9,_0x22b342(_0x543d62)),P(0xa,_0x22b342(_0x262680)),P(0xb,_0x22b342(ve)),P(0xc,_0x3dfa42(J))],le);let ue=class extends Ie{constructor(_0x3066be,_0x2323b6,_0xd445f4,_0x2206d0,_0x44db2f,_0x90f046,_0x565f87,_0x651b0b,_0x267f05,_0x164d45){var _0x94f8e2=_0xe51f24;super(_0x3066be,_0x2323b6,_0xd445f4,_0x2206d0,_0x44db2f,_0x651b0b,_0x267f05,_0x565f87,_0x164d45),N(this,_0x94f8e2(0x27a),'offline'),this[_0x94f8e2(0x289)]=_0x90f046;}[_0xe51f24(0x28d)](_0x12825f){var _0x3eb210=_0xe51f24;return this['_pendingMutations'][_0x3eb210(0x27f)](_0x12825f),this[_0x3eb210(0x2ee)](),this;}['onRemoteChangeset'](_0x3aca44){var _0x19a221=_0xe51f24;throw new Error(_0x19a221(0x21b));}[_0xe51f24(0x1ff)](){var _0x3976ab=_0xe51f24;throw new Error(_0x3976ab(0x18b));}['onRemoteRej'](){var _0x4fcf30=_0xe51f24;throw new Error(_0x4fcf30(0x32e));}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){return this;}[_0xe51f24(0x42c)](){var _0x2e0c2d=_0xe51f24;const {_injector:_0x7beaf4,_pendingMutations:_0x4cf337,_awaitingChangeset:_0x166d15,unitID:_0x394680,_handler:_0x3f2d83,type:_0x54b58d}=this,_0x5d886c=Ti(_0x7beaf4,_0x394680,_0x54b58d,_0x166d15,_0x4cf337,_0x3f2d83);return _0x5d886c instanceof re?_0x5d886c['_schedule']():(_0x5d886c instanceof ae||_0x5d886c instanceof _e)&&_0x5d886c[_0x2e0c2d(0x2f1)](),_0x5d886c;}[_0xe51f24(0x2f1)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x22b342(_0xf56e29)),P(0x6,_0x22b342(_0x543d62)),P(0x7,_0x399e10),P(0x8,_0x526774),P(0x9,_0x3dfa42(J))],ue);let Q=class extends Ie{constructor(_0x5887b5,_0x223549,_0x1e3a8e,_0x36b75f,_0x23ecaf,_0xf3f00b,_0x3d074a,_0x10125a,_0x20aae4,_0x2efa6b,_0x14bb85,_0x4588df,_0x5b0506,_0xdae2b1){var _0x3aa41d=_0xe51f24;super(_0x5887b5,_0x223549,_0x1e3a8e,_0x36b75f,_0x3d074a,_0x14bb85,_0x4588df,_0x20aae4,_0xdae2b1),N(this,'status','fetch_missing'),(this[_0x3aa41d(0x3cf)]=_0x23ecaf,this[_0x3aa41d(0x1b6)]=_0xf3f00b,this[_0x3aa41d(0x289)]=_0x10125a,this[_0x3aa41d(0x420)]=_0x2efa6b,this[_0x3aa41d(0x327)]=_0x5b0506,this[_0x3aa41d(0x2e3)]=_0xdae2b1);}[_0xe51f24(0x2e6)](_0x1258fd){var _0x1a51d0=_0xe51f24;try{const _0x2c20cb=[..._0x1258fd,...this['_queuedRemoteChangesets']],_0x2685a3=[this[_0x1a51d0(0x36e)]||this[_0x1a51d0(0x3cf)]]['filter'](_0x24a8be=>!!_0x24a8be);let _0x136fd2,_0x129c9f;if(_0x2685a3['length']){const _0x3db83d=this['_transformService'][_0x1a51d0(0x2bc)](_0x2c20cb,_0x2685a3,!0x1);if(!_0x4b0873(_0x3db83d))throw _0x3db83d[_0x1a51d0(0x35d)];_0x136fd2=_0x3db83d[_0x1a51d0(0x248)],_0x129c9f=_0x3db83d[_0x1a51d0(0x44c)];}else _0x136fd2=_0x2c20cb,_0x129c9f=[];let _0x105919=this[_0x1a51d0(0x3c3)];_0x136fd2['forEach'](_0xd28e9e=>{var _0x3ebc7e=_0x1a51d0;let _0xe98a46;if(_0x105919[_0x3ebc7e(0x192)]){const _0x2d63bf=this[_0x3ebc7e(0x327)][_0x3ebc7e(0x3e0)](_0xd28e9e,_0x105919);if(!_0x126ba7(_0x2d63bf))throw _0x2d63bf[_0x3ebc7e(0x35d)];_0xe98a46=_0x2d63bf[_0x3ebc7e(0x248)],_0x105919=_0x2d63bf['m2Prime'];}else _0xe98a46=_0xd28e9e;this[_0x3ebc7e(0x3a2)](_0xe98a46);}),this[_0x1a51d0(0x3cf)]&&this[_0x1a51d0(0x3d2)](),this[_0x1a51d0(0x36e)]&&_0x129c9f[_0x1a51d0(0x192)]&&(_0x129c9f[0x0][_0x1a51d0(0x31f)]=this[_0x1a51d0(0x354)]());let _0x483674;if(this[_0x1a51d0(0x36e)]&&_0x105919['length']!==0x0)_0x483674=this[_0x1a51d0(0x289)]['createInstance'](ae,this[_0x1a51d0(0x2f5)],this[_0x1a51d0(0x2a0)],_0x129c9f[0x0],_0x105919,this[_0x1a51d0(0x373)],void 0x0);else{if(this[_0x1a51d0(0x36e)]&&_0x105919[_0x1a51d0(0x192)]===0x0)_0x129c9f[0x0][_0x1a51d0(0x31f)]=this[_0x1a51d0(0x354)](),_0x483674=this[_0x1a51d0(0x289)][_0x1a51d0(0x1a5)](_e,this[_0x1a51d0(0x2f5)],this[_0x1a51d0(0x2a0)],_0x129c9f[0x0],this[_0x1a51d0(0x373)]);else{if(_0x105919['length']!==0x0){const _0x221cad=this[_0x1a51d0(0x289)][_0x1a51d0(0x1a5)](re,this['unitID'],this[_0x1a51d0(0x2a0)],_0x105919,this['_handler']);_0x221cad['_schedule'](),_0x483674=_0x221cad;}else _0x483674=this[_0x1a51d0(0x289)]['createInstance'](ye,this[_0x1a51d0(0x2f5)],this['type'],this[_0x1a51d0(0x373)]);}}return _0x483674['_updateLocalCache'](),_0x483674;}catch(_0x42fcac){return this['_logService']['error'](_0x1a51d0(0x21c),'failed\x20to\x20apply\x20missed\x20changesets!',_0x42fcac),this['_injector'][_0x1a51d0(0x1a5)](le,this['unitID'],this[_0x1a51d0(0x2a0)],this[_0x1a51d0(0x36e)],this['_pendingMutations'],this[_0x1a51d0(0x373)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x10b6f9){var _0x560d20=_0xe51f24;return this[_0x560d20(0x3c3)][_0x560d20(0x27f)](_0x10b6f9),this;}[_0xe51f24(0x369)](_0x1a839f){var _0x49ff67=_0xe51f24;return this[_0x49ff67(0x1b6)][_0x49ff67(0x27f)](_0x1a839f),this;}[_0xe51f24(0x1ff)](_0x5133e3){var _0x186066=_0xe51f24;if(this['_awaitingChangeset'])return this[_0x186066(0x3cf)]=this[_0x186066(0x36e)],this[_0x186066(0x36e)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0xc65083){var _0x4229b5=_0xe51f24;return this['_onConflict'](!!(_0xc65083!=null&&_0xc65083[_0x4229b5(0x306)]));}[_0xe51f24(0x1bf)](){return this;}[_0xe51f24(0x33b)](){var _0x58c2dc=_0xe51f24;return this[_0x58c2dc(0x289)][_0x58c2dc(0x1a5)](ue,this[_0x58c2dc(0x2f5)],this[_0x58c2dc(0x2a0)],this[_0x58c2dc(0x36e)],this['_pendingMutations'],this[_0x58c2dc(0x373)]);}['toggleOnline'](){return this;}[_0xe51f24(0x368)](_0x4f0154){var _0x1cb5be=_0xe51f24;return this['_injector'][_0x1cb5be(0x1a5)](le,this[_0x1cb5be(0x2f5)],this[_0x1cb5be(0x2a0)],this[_0x1cb5be(0x36e)],this[_0x1cb5be(0x3c3)],this['_handler'],_0x4f0154);}};Q=Ee([P(0x7,_0x22b342(_0xf56e29)),P(0x8,_0x22b342(_0x543d62)),P(0x9,_0x361d6f),P(0xa,_0x399e10),P(0xb,_0x526774),P(0xc,_0x122cfe),P(0xd,_0x3dfa42(J))],Q);function Ti(_0x4b34dd,_0x44cd5e,_0x5ec546,_0x383c78,_0x4c7670,_0x3c6061){var _0x4cd846=_0xe51f24;return _0x383c78&&_0x4c7670[_0x4cd846(0x192)]?_0x4b34dd[_0x4cd846(0x1a5)](ae,_0x44cd5e,_0x5ec546,_0x383c78,_0x4c7670,_0x3c6061,void 0x0):_0x383c78?_0x4b34dd[_0x4cd846(0x1a5)](_e,_0x44cd5e,_0x5ec546,_0x383c78,_0x3c6061):_0x4c7670['length']?_0x4b34dd['createInstance'](re,_0x44cd5e,_0x5ec546,_0x4c7670,_0x3c6061):_0x4b34dd[_0x4cd846(0x1a5)](ye,_0x44cd5e,_0x5ec546,_0x3c6061);}var Bs=Object[_0xe51f24(0x434)],wt=(_0x40686a,_0x20e0c7,_0x50c673,_0x390cd4)=>{var _0x3c4c19=_0xe51f24;for(var _0x472613=_0x390cd4>0x1?void 0x0:_0x390cd4?Bs(_0x20e0c7,_0x50c673):_0x20e0c7,_0x45fd05=_0x40686a[_0x3c4c19(0x192)]-0x1,_0x2521ba;_0x45fd05>=0x0;_0x45fd05--)(_0x2521ba=_0x40686a[_0x45fd05])&&(_0x472613=_0x2521ba(_0x472613)||_0x472613);return _0x472613;},H=(_0x1f06b1,_0x151024)=>(_0x5de330,_0x2bf731)=>_0x151024(_0x5de330,_0x2bf731,_0x1f06b1);let st=class extends _0x12bf24{constructor(_0x54dca3,_0x3a691e,_0xc0bc26,_0xa7ebbd,_0x491bbf,_0x516994,_0x30f1c7,_0x3c62b,_0x1f5990,_0x335060,_0x4b0ca4,_0x5342ee,_0x4217e1){var _0x18be9a=_0xe51f24;super(),N(this,_0x18be9a(0x1ea),new _0x393d97(null)),N(this,_0x18be9a(0x1d7),this[_0x18be9a(0x1ea)][_0x18be9a(0x43c)]()),N(this,_0x18be9a(0x153)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x18be9a(0x208),0x0),N(this,_0x18be9a(0x251),this[_0x18be9a(0x1d7)][_0x18be9a(0x21f)](_0x3a9c1e(_0x3b9fc4=>_0x3b9fc4?_0x3b9fc4[_0x18be9a(0x27a)]:Ei[_0x18be9a(0x25f)]),_0x1f617d(0x1))),N(this,_0x18be9a(0x3ee),!0x1),N(this,_0x18be9a(0x220),[]),(this[_0x18be9a(0x2f5)]=_0x54dca3,this['session']=_0x3a691e,this[_0x18be9a(0x30d)]=_0xc0bc26,this[_0x18be9a(0x289)]=_0xa7ebbd,this['_compressMutationService']=_0x491bbf,this[_0x18be9a(0x301)]=_0x516994,this[_0x18be9a(0x1a6)]=_0x30f1c7,this['_eventService']=_0x3c62b,this[_0x18be9a(0x420)]=_0x1f5990,this['_commandService']=_0x335060,this[_0x18be9a(0x18a)]=_0x4b0ca4,this['_singleActiveUnitService']=_0x5342ee,this[_0x18be9a(0x291)]=_0x4217e1);}get[_0xe51f24(0x3b6)](){var _0x293634=_0xe51f24;return this[_0x293634(0x153)];}async[_0xe51f24(0x24e)](){var _0x3fb010=_0xe51f24;if(this[_0x3fb010(0x3b6)])throw new Error(_0x3fb010(0x236));await this[_0x3fb010(0x266)]();}[_0xe51f24(0x44a)](){var _0x4f6b20=_0xe51f24;return this[_0x4f6b20(0x227)]=!0x0,_0x4cf9a4(()=>{var _0x1a4439=_0x4f6b20;this[_0x1a4439(0x227)]=!0x1,this[_0x1a4439(0x316)]();});}['onLocalMutation'](_0x2c3b76){var _0x296488=_0xe51f24;this[_0x296488(0x33e)](_0x2c3b76);}[_0xe51f24(0x422)](_0x19f6dd){var _0xcc549d=_0xe51f24;this['_state']=_0x19f6dd,this[_0xcc549d(0x1ea)][_0xcc549d(0x3f6)](_0x19f6dd);}async[_0xe51f24(0x266)](){var _0x1124a0=_0xe51f24,_0x312a5c;this[_0x1124a0(0x422)](await this[_0x1124a0(0x299)]()),this[_0x1124a0(0x168)]&&((_0x312a5c=this[_0x1124a0(0x168)])==null||_0x312a5c[_0x1124a0(0x1b4)](this['unitID']),this[_0x1124a0(0x19c)](this[_0x1124a0(0x168)][_0x1124a0(0x165)](this[_0x1124a0(0x2f5)])[_0x1124a0(0x2aa)](_0x170c8a=>{var _0x340d70=_0x1124a0;this[_0x340d70(0x420)]['debug'](_0x340d70(0x3e2),_0x340d70(0x26f),_0x170c8a),_0x170c8a===gi['OTHER_CLIENTS_EDITING']?(this[_0x340d70(0x399)]['emitEvent']({'id':ne[_0x340d70(0x44b)]}),this[_0x340d70(0x18a)][_0x340d70(0x3ec)](new _0x579aa1(this[_0x340d70(0x2f5)])['id'],!0x1),this[_0x340d70(0x18a)][_0x340d70(0x216)](!0x1)):(this[_0x340d70(0x18a)][_0x340d70(0x3ec)](new _0x579aa1(this[_0x340d70(0x2f5)])['id'],!0x0),this['_permissionService']['setShowComponents'](!0x0));})));let _0x562d37=!0x1;return this['disposeWithMe'](this[_0x1124a0(0x17a)][_0x1124a0(0x17c)]['subscribe'](_0x28354e=>{var _0x1adab0=_0x1124a0;_0x28354e===ge[_0x1adab0(0x17d)]?this[_0x1adab0(0x3f4)](_0x562d37):_0x28354e===ge['OFFLINE']&&(_0x562d37=!0x0,this[_0x1adab0(0x32a)]());})),this['disposeWithMe'](this[_0x1124a0(0x17a)][_0x1124a0(0x351)][_0x1124a0(0x2aa)](_0x142e41=>{var _0x2086ce=_0x1124a0;try{switch(_0x142e41[_0x2086ce(0x161)]){case _0x27b370[_0x2086ce(0x3c1)]:{this[_0x2086ce(0x174)](_0x45c8d2(_0x142e41['data']));break;}case _0x27b370[_0x2086ce(0x292)]:{this[_0x2086ce(0x198)](_0x142e41[_0x2086ce(0x3c2)]);break;}case _0x27b370['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x27b370[_0x2086ce(0x415)]:{this['_onRemoteRetry'](_0x142e41['data']);break;}case _0x27b370[_0x2086ce(0x34d)]:{this[_0x2086ce(0x18d)](_0x142e41[_0x2086ce(0x3c2)][_0x2086ce(0x28f)]['map'](_0x16d04b=>_0x45c8d2(_0x16d04b)));break;}case _0x27b370[_0x2086ce(0x342)]:{this[_0x2086ce(0x2d4)]({'isPermissionRej':!0x0});break;}case _0x27b370[_0x2086ce(0x15e)]:break;}}catch(_0x65cc49){throw console[_0x2086ce(0x35d)](_0x2086ce(0x3c5),_0x65cc49),_0x65cc49;}})),this[_0x1124a0(0x153)];}[_0xe51f24(0x1dc)](){var _0xcf9a3c=_0xe51f24;this[_0xcf9a3c(0x3ee)]=!0x1;}[_0xe51f24(0x1e7)](){var _0xc7313e=_0xe51f24;if(this[_0xc7313e(0x3ee)])throw new Error(_0xc7313e(0x3e4));this['_transitionLocked']=!0x0;}[_0xe51f24(0x33e)](_0x3d773d){var _0x54c05c=_0xe51f24;this['_lockTransition'](),this['_updateState'](this[_0x54c05c(0x153)]['appendMutation'](_0x3d773d)),this[_0x54c05c(0x1dc)]();}[_0xe51f24(0x174)](_0x3e4b4d){var _0x14057f=_0xe51f24;if(!(_0x3e4b4d[_0x14057f(0x179)]<=this[_0x14057f(0x1a6)][_0x14057f(0x31d)](this['unitID']))){if(this['_collaborationPaused']){this[_0x14057f(0x220)][_0x14057f(0x27f)](_0x3e4b4d);return;}this[_0x14057f(0x155)](_0x3e4b4d);}}[_0xe51f24(0x316)](){var _0x1af095=_0xe51f24;this['_remoteChangesetQueue']['forEach'](_0x32afb2=>this['_applyRemoteChangeset'](_0x32afb2)),this[_0x1af095(0x220)]=[];}['_applyRemoteChangeset'](_0x42080c){var _0x5f2f17=_0xe51f24;const _0x3603d5=this[_0x5f2f17(0x379)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x5f2f17(0x17b)][_0x5f2f17(0x273)]()[_0x5f2f17(0x25e)])(_0x42080c[_0x5f2f17(0x158)],null)||_0x42080c[_0x5f2f17(0x158)],_0x2ede00={..._0x42080c,'mutations':_0x3603d5};this['_lockTransition'](),this[_0x5f2f17(0x422)](this[_0x5f2f17(0x153)]['onRemoteChangeset'](_0x2ede00)),this[_0x5f2f17(0x1dc)]();}[_0xe51f24(0x198)](_0x4d5190){var _0x10c99a=_0xe51f24;this['_lockTransition'](),this[_0x10c99a(0x422)](this['_state'][_0x10c99a(0x1ff)](_0x4d5190)),this[_0x10c99a(0x1dc)]();}['_onRemoteRejected'](_0x5e723e){var _0x194f02=_0xe51f24;this['_lockTransition'](),this[_0x194f02(0x422)](this[_0x194f02(0x153)]['onRemoteRej'](_0x5e723e)),this[_0x194f02(0x1dc)]();}[_0xe51f24(0x1a9)](_0x319dfe){var _0x56b591=_0xe51f24;this['_lockTransition'](),this[_0x56b591(0x422)](this[_0x56b591(0x153)][_0x56b591(0x1bf)](_0x319dfe)),this[_0x56b591(0x1dc)]();}[_0xe51f24(0x18d)](_0x66456b){var _0x10f7d5=_0xe51f24;if(!(this[_0x10f7d5(0x153)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3cf5d4=_0x66456b['map'](_0x5131f3=>{var _0x3e4733=_0x10f7d5;const _0x2142c8=this[_0x3e4733(0x379)][_0x3e4733(0x17b)][_0x3e4733(0x375)](this[_0x3e4733(0x379)][_0x3e4733(0x17b)]['getInterceptPoints']()[_0x3e4733(0x25e)])(_0x5131f3[_0x3e4733(0x158)],null)||_0x5131f3['mutations'];return{..._0x5131f3,'mutations':_0x2142c8};});this[_0x10f7d5(0x1e7)](),this['_updateState'](this['_state'][_0x10f7d5(0x2e6)](_0x3cf5d4)),this['_unlockTransition']();}[_0xe51f24(0x32a)](){var _0x5a3f56=_0xe51f24;this[_0x5a3f56(0x1e7)](),this[_0x5a3f56(0x422)](this[_0x5a3f56(0x153)][_0x5a3f56(0x33b)]()),this[_0x5a3f56(0x1dc)]();}[_0xe51f24(0x3f4)](_0x518989=!0x1){var _0x46e58a=_0xe51f24;this[_0x46e58a(0x1e7)](),this[_0x46e58a(0x422)](this['_state'][_0x46e58a(0x42c)]()),this[_0x46e58a(0x1dc)]();const _0x423d05=this[_0x46e58a(0x153)];_0x518989&&_0x423d05 instanceof ye&&(this[_0x46e58a(0x1e7)](),this[_0x46e58a(0x422)](_0x423d05['fetchMiss']()),this[_0x46e58a(0x1dc)]());}async[_0xe51f24(0x299)](){return new Promise(_0x29bca8=>{var _0x1d28f5=_0x3c6c;this[_0x1d28f5(0x17a)][_0x1d28f5(0x17c)][_0x1d28f5(0x21f)](_0x46cc5c(0x1))[_0x1d28f5(0x2aa)](async _0x3b298b=>{var _0x3a42fd=_0x1d28f5;_0x29bca8(await this[_0x3a42fd(0x181)](_0x3b298b===ge[_0x3a42fd(0x17d)]));});});}['_createHandler'](){var _0x1e9184=_0xe51f24;const _0x387303=this[_0x1e9184(0x2f5)];return{'onStateChange':(_0x4b0095,_0x56de55)=>{var _0x5a48f4=_0x1e9184;if(_0x4b0095!==this['_state'])throw new Error(_0x5a48f4(0x1dd)+_0x4b0095[_0x5a48f4(0x27a)]+_0x5a48f4(0x32c)+_0x56de55[_0x5a48f4(0x27a)]+_0x5a48f4(0x2de)+this['_state'][_0x5a48f4(0x27a)]);this[_0x5a48f4(0x422)](_0x56de55);},'onSendChangeset':_0x24e0c1=>{var _0x15bb2c=_0x1e9184;_0x24e0c1[_0x15bb2c(0x2d2)]||(_0x24e0c1[_0x15bb2c(0x2d2)]=this[_0x15bb2c(0x3a1)],_0x24e0c1[_0x15bb2c(0x2fa)]=++this['_changesetReqId']);const _0xe5738a={'eventID':_0x27b370[_0x15bb2c(0x277)],'data':{'unitID':_0x24e0c1['unitID'],'unitType':this[_0x15bb2c(0x30d)],'changeset':_0x24e0c1,'memberID':this[_0x15bb2c(0x17a)][_0x15bb2c(0x285)]()}};this['session'][_0x15bb2c(0x3c6)](_0xe5738a,this['unitID']);},'onMissingChangesets':({from:_0x13f72e,to:_0x1f392c})=>{var _0x1eb0e5=_0x1e9184;this['_logService'][_0x1eb0e5(0x2ab)](_0x1eb0e5(0x3e2),_0x1eb0e5(0x2c3)+_0x13f72e+_0x1eb0e5(0x235)+_0x1f392c);const _0x380899={'eventID':_0x27b370[_0x1eb0e5(0x26c)],'data':{'unitID':_0x387303,'unitType':this[_0x1eb0e5(0x30d)],'from':_0x13f72e,'to':_0x1f392c}};this[_0x1eb0e5(0x17a)][_0x1eb0e5(0x3c6)](_0x380899,this[_0x1eb0e5(0x2f5)]);}};}async[_0xe51f24(0x181)](_0x56f9d5){var _0x678b11=_0xe51f24,_0x159a60,_0x218f9c,_0x144109;const _0x3fb3ea=await((_0x159a60=this['_localCacheService'])==null?void 0x0:_0x159a60[_0x678b11(0x304)](this[_0x678b11(0x2f5)])),_0x429f91=(_0x218f9c=_0x3fb3ea==null?void 0x0:_0x3fb3ea[_0x678b11(0x158)])!=null?_0x218f9c:[],_0x315d53=(_0x144109=_0x3fb3ea==null?void 0x0:_0x3fb3ea[_0x678b11(0x284)])!=null?_0x144109:null,_0x29bf92=!!(_0x315d53!=null&&_0x315d53[_0x678b11(0x2d2)])&&!!(_0x315d53!=null&&_0x315d53[_0x678b11(0x2fa)]);this[_0x678b11(0x3a1)]=_0x29bf92?_0x315d53[_0x678b11(0x2d2)]:_0x2ed795(),this['_changesetReqId']=_0x29bf92?_0x315d53['reqId']:0x0;const _0x3693d4=this['unitID'];try{this[_0x678b11(0x335)](_0x315d53,_0x429f91);}catch(_0x3b91f3){this['_logService'][_0x678b11(0x35d)](_0x3b91f3);}const _0x27f569=this[_0x678b11(0x1b3)]();if(_0x56f9d5){const _0x16746e=Ti(this[_0x678b11(0x289)],_0x3693d4,this[_0x678b11(0x30d)],_0x315d53,_0x429f91,_0x27f569);return _0x16746e instanceof re?_0x16746e[_0x678b11(0x38c)]():(_0x16746e instanceof ae||_0x16746e instanceof _e)&&_0x16746e['resend'](),_0x16746e;}return this[_0x678b11(0x289)][_0x678b11(0x1a5)](ue,_0x3693d4,this[_0x678b11(0x30d)],_0x315d53,_0x429f91,_0x27f569);}[_0xe51f24(0x335)](_0x1a44b7,_0x46cca1){var _0x4fc2de=_0xe51f24,_0x95f612,_0x42d331;const _0x460c92=this[_0x4fc2de(0x379)][_0x4fc2de(0x17b)][_0x4fc2de(0x375)](this[_0x4fc2de(0x379)][_0x4fc2de(0x17b)][_0x4fc2de(0x273)]()['COMPRESS_MUTATION_APPLY']);(_0x95f612=_0x460c92((_0x1a44b7==null?void 0x0:_0x1a44b7[_0x4fc2de(0x158)])||[],null))==null||_0x95f612['forEach'](_0x2befc0=>this[_0x4fc2de(0x1df)]['executeCommand'](_0x2befc0['id'],_0x2befc0['params'])),(_0x42d331=_0x460c92(_0x46cca1||[],null))==null||_0x42d331[_0x4fc2de(0x253)](_0x22b4ee=>this[_0x4fc2de(0x1df)][_0x4fc2de(0x3df)](_0x22b4ee['id'],_0x22b4ee[_0x4fc2de(0x429)]));}};st=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(ve)),H(0x8,_0x361d6f),H(0x9,_0x399e10),H(0xa,_0x59ac06),H(0xb,_0x3dfa42(ht)),H(0xc,_0x3dfa42(J))],st);let St=class extends st{constructor(_0x483d1d,_0x203a7f,_0x4c7b3e,_0x3dffb5,_0x529493,_0x41c41f,_0x462510,_0x5c82ef,_0x889386,_0xb2904a,_0x54acb7,_0x5abaad,_0x5b39f6){var _0x1ca4e1=_0xe51f24;super(_0x483d1d,_0x4c7b3e,_0x203a7f,_0x3dffb5,_0x529493,_0x41c41f,_0x462510,_0x5c82ef,_0x889386,_0xb2904a,_0x54acb7,_0x5abaad,_0x5b39f6),N(this,_0x1ca4e1(0x1fb),null),(this['unitID']=_0x483d1d,this[_0x1ca4e1(0x2a0)]=_0x203a7f);}['addHandlerCallback'](_0x50f74f){var _0x43f113=_0xe51f24;this[_0x43f113(0x1fb)]=_0x50f74f;}[_0xe51f24(0x35e)](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x47fabb=_0xe51f24;const _0x349a2f=super['_createHandler']();return _0x349a2f[_0x47fabb(0x2b8)]=_0x704651=>{var _0x24ddad=_0x47fabb,_0x18e217,_0x14df6c;return(_0x14df6c=(_0x18e217=this['_handlerCallback'])==null?void 0x0:_0x18e217[_0x24ddad(0x2b8)])==null?void 0x0:_0x14df6c[_0x24ddad(0x29a)](_0x18e217,_0x704651);},_0x349a2f[_0x47fabb(0x3d3)]=_0x5b394c=>{var _0x51c0ad=_0x47fabb,_0x24bf69,_0x750b59;return(_0x750b59=(_0x24bf69=this[_0x51c0ad(0x1fb)])==null?void 0x0:_0x24bf69[_0x51c0ad(0x3d3)])==null?void 0x0:_0x750b59['call'](_0x24bf69,_0x5b394c);},_0x349a2f[_0x47fabb(0x15f)]=_0x1cc244=>{var _0x2915dd=_0x47fabb,_0x4d8c69,_0x235c81;return(_0x235c81=(_0x4d8c69=this[_0x2915dd(0x1fb)])==null?void 0x0:_0x4d8c69[_0x2915dd(0x15f)])==null?void 0x0:_0x235c81[_0x2915dd(0x29a)](_0x4d8c69,_0x1cc244);},_0x349a2f[_0x47fabb(0x268)]=_0x5b2be8=>{var _0x350bdc=_0x47fabb,_0x12c9c3,_0x332bca;return(_0x332bca=(_0x12c9c3=this[_0x350bdc(0x1fb)])==null?void 0x0:_0x12c9c3[_0x350bdc(0x268)])==null?void 0x0:_0x332bca[_0x350bdc(0x29a)](_0x12c9c3,_0x5b2be8);},_0x349a2f['onTransformRemoteChangesetByIMECache']=_0x13a673=>{var _0x18978b=_0x47fabb,_0x36cd53,_0x4e3bc4,_0xe481d7;if(!((_0x36cd53=this['_handlerCallback'])!=null&&_0x36cd53[_0x18978b(0x15b)]))throw new Error(_0x18978b(0x395));return(_0xe481d7=(_0x4e3bc4=this[_0x18978b(0x1fb)])==null?void 0x0:_0x4e3bc4[_0x18978b(0x15b)])==null?void 0x0:_0xe481d7[_0x18978b(0x29a)](_0x4e3bc4,_0x13a673);},_0x349a2f[_0x47fabb(0x42f)]=_0x591d7f=>{var _0x29a5cf=_0x47fabb,_0x26b7a0,_0x32b5e3,_0x692dd7;if(!((_0x26b7a0=this[_0x29a5cf(0x1fb)])!=null&&_0x26b7a0[_0x29a5cf(0x42f)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x692dd7=(_0x32b5e3=this[_0x29a5cf(0x1fb)])==null?void 0x0:_0x32b5e3[_0x29a5cf(0x42f)])==null?void 0x0:_0x692dd7[_0x29a5cf(0x29a)](_0x32b5e3,_0x591d7f);},_0x349a2f;}async[_0xe51f24(0x266)](){var _0x2d26ae=_0xe51f24;const _0x34e7b9=await super[_0x2d26ae(0x266)]();return this[_0x2d26ae(0x19c)](this[_0x2d26ae(0x1df)]['onCommandExecuted']((_0x3e61b3,_0x52687e)=>{var _0x10384e=_0x2d26ae;if(_0x3e61b3[_0x10384e(0x2a0)]!==_0x2b89a5[_0x10384e(0x195)]||_0x52687e!=null&&_0x52687e['fromCollab']||_0x52687e!=null&&_0x52687e[_0x10384e(0x26d)]||_0x3e61b3['id']===_0x50563e['id'])return;const _0x22e863=_0x3e61b3[_0x10384e(0x429)];if((_0x22e863==null?void 0x0:_0x22e863[_0x10384e(0x324)])!==this[_0x10384e(0x2f5)])return;const _0x2250af=_0x3e61b3,_0x835fa3=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x10384e(0x379)][_0x10384e(0x17b)][_0x10384e(0x273)]()[_0x10384e(0x171)])([_0x2250af],null)||[_0x2250af];this[_0x10384e(0x33e)](_0x835fa3[0x0]);})),_0x34e7b9;}};St=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(ve)),H(0x8,_0x361d6f),H(0x9,_0x399e10),H(0xa,_0x59ac06),H(0xb,_0x3dfa42(ht)),H(0xc,_0x3dfa42(J))],St);let Et=class extends st{constructor(_0x2e84e3,_0x494145,_0x2397ad,_0x593017,_0x442eb8,_0x20e1ac,_0x4cb024,_0x2a40bf,_0x4da50b,_0x5402a3,_0x2a5749,_0x429724,_0x55887d,_0x1c7f84){var _0x4c9bb8=_0xe51f24;super(_0x2e84e3,_0x2397ad,_0x494145,_0x593017,_0x442eb8,_0x20e1ac,_0x4cb024,_0x4da50b,_0x5402a3,_0x2a5749,_0x429724,_0x55887d,_0x1c7f84),this[_0x4c9bb8(0x2f5)]=_0x2e84e3,this[_0x4c9bb8(0x2a0)]=_0x494145,this['_sheetTransformSelectionsService']=_0x2a40bf;}[_0xe51f24(0x1b3)](){var _0x21db26=_0xe51f24;const _0x4afedf=super[_0x21db26(0x1b3)]();return _0x4afedf[_0x21db26(0x15f)]=_0x24da80=>this['_sheetTransformSelectionsService'][_0x21db26(0x24d)](_0x24da80),_0x4afedf;}async[_0xe51f24(0x266)](){var _0x140cfd=_0xe51f24;const _0x2e9315=await super[_0x140cfd(0x266)]();return this[_0x140cfd(0x19c)](this[_0x140cfd(0x1df)][_0x140cfd(0x1e0)]((_0x5561ca,_0x366b38)=>{var _0x488e59=_0x140cfd;if(_0x5561ca[_0x488e59(0x2a0)]!==_0x2b89a5['MUTATION']||_0x366b38!=null&&_0x366b38[_0x488e59(0x3a5)]||_0x366b38!=null&&_0x366b38['onlyLocal'])return;const _0x2c23a8=_0x5561ca['params'];if((_0x2c23a8==null?void 0x0:_0x2c23a8[_0x488e59(0x324)])!==this[_0x488e59(0x2f5)])return;const _0x1dab97=_0x5561ca,_0x27c404=this[_0x488e59(0x379)]['interceptor'][_0x488e59(0x375)](this[_0x488e59(0x379)][_0x488e59(0x17b)][_0x488e59(0x273)]()['COMPRESS_MUTATION_SEND'])([_0x1dab97],null)||[_0x1dab97];this['_onLocalMutation'](_0x27c404[0x0]);})),_0x2e9315;}};Et=wt([H(0x3,_0x22b342(_0xf56e29)),H(0x4,_0x22b342(_0x30bbd1)),H(0x5,_0x22b342(_0x262680)),H(0x6,_0x22b342(_0x543d62)),H(0x7,_0x22b342(it)),H(0x8,_0x22b342(ve)),H(0x9,_0x361d6f),H(0xa,_0x399e10),H(0xb,_0x59ac06),H(0xc,_0x3dfa42(ht)),H(0xd,_0x3dfa42(J))],Et);const js=_0x2bb048(_0xe51f24(0x193));function Fs(_0x521c48){var _0x4790f8=_0xe51f24,_0x251e89,_0x3ca843,_0x5b7598,_0xc5a47c,_0x5ede76;const _0x5421b1=_0x521c48[_0x4790f8(0x3c2)],_0x48b5cf=JSON[_0x4790f8(0x3bc)](_0x5421b1);switch(_0x48b5cf[_0x4790f8(0x275)]){case F[_0x4790f8(0x37d)]:case F[_0x4790f8(0x3d6)]:{const _0x41c318=_0x48b5cf['infoRsp'];return{..._0x48b5cf,'data':_0x41c318,'cmd':_0x48b5cf[_0x4790f8(0x275)]};}case F[_0x4790f8(0x166)]:{const _0x214f39=_0x48b5cf[_0x4790f8(0x1fa)];return{..._0x48b5cf,'data':_0x214f39,'cmd':_0x48b5cf['cmd']};}case F[_0x4790f8(0x187)]:{const _0x501979=_0x48b5cf[_0x4790f8(0x1a3)];switch(_0x501979[_0x4790f8(0x161)]){case _0x27b370[_0x4790f8(0x342)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x251e89=_0x501979[_0x4790f8(0x246)])==null?void 0x0:_0x251e89['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x292)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x3ca843=_0x501979[_0x4790f8(0x3e5)])==null?void 0x0:_0x3ca843['cs']},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x3c1)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x5b7598=_0x501979[_0x4790f8(0x20f)])==null?void 0x0:_0x5b7598['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x370)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0xc5a47c=_0x501979[_0x4790f8(0x38d)])==null?void 0x0:_0xc5a47c['cs']},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x415)]:return{..._0x48b5cf,'data':{..._0x501979,'data':(_0x5ede76=_0x501979[_0x4790f8(0x1e3)])==null?void 0x0:_0x5ede76['cs']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x42e)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x2c1)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x2ce)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x1cd)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x3f7)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979['leaveEvent']},'cmd':_0x48b5cf['cmd']};case _0x27b370['LIVESHARE_NEW_HOST']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979['liveShareNewHost']},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x40b)]:case _0x27b370[_0x4790f8(0x2af)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x240)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370['LIVESHARE_TERMINATE']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x3ae)]},'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x413)]:return{..._0x48b5cf,'data':_0x501979,'cmd':_0x48b5cf['cmd']};case _0x27b370[_0x4790f8(0x3b0)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x340)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370['UPDATE_PERMISSION_OBJ']:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x408)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x350)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x254)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};case _0x27b370[_0x4790f8(0x15e)]:return{..._0x48b5cf,'data':{..._0x501979,'data':_0x501979[_0x4790f8(0x151)]},'cmd':_0x48b5cf[_0x4790f8(0x275)]};default:return _0x48b5cf;}}default:return _0x48b5cf;}}function Vs(_0x44ae78){var _0x51a8b5=_0xe51f24;switch(_0x44ae78[_0x51a8b5(0x275)]){case F[_0x51a8b5(0x37d)]:case F[_0x51a8b5(0x3d6)]:return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78[_0x51a8b5(0x38a)]});case F[_0x51a8b5(0x349)]:{let _0x226104;switch(_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x161)]){case _0x27b370['UPDATE_CURSOR']:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x42e)],'updateCursorEvent':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x3f7)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x3f7)],'leaveEvent':_0x44ae78['data'][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x2ce)]:{_0x226104={'eventID':_0x27b370['USERS_ENTER'],'joinEvent':_0x44ae78['data'][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x2b9)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x2b9)],'liveShareNewHost':_0x44ae78[_0x51a8b5(0x3c2)]['data']};break;}case _0x27b370[_0x51a8b5(0x2af)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x2af)],'liveShareOperation':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370[_0x51a8b5(0x15c)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x15c)],'liveShareTerminate':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x3c2)]};break;}case _0x27b370['LIVESHARE_REQUEST_HOST']:{_0x226104={'eventID':_0x27b370['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x44ae78['data']['data']};break;}case _0x27b370[_0x51a8b5(0x40b)]:{_0x226104={'eventID':_0x27b370[_0x51a8b5(0x40b)]};break;}default:_0x226104={'eventID':_0x44ae78[_0x51a8b5(0x3c2)][_0x51a8b5(0x161)]};}return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78['routeKey'],'collaMsg':_0x226104});}case F['JOIN']:return JSON[_0x51a8b5(0x283)]({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78[_0x51a8b5(0x38a)],'joinReq':_0x44ae78['data']});case F[_0x51a8b5(0x23d)]:return JSON['stringify']({'cmd':_0x44ae78[_0x51a8b5(0x275)],'routeKey':_0x44ae78['routeKey'],'leaveReq':_0x44ae78[_0x51a8b5(0x3c2)]});default:throw new Error(_0x51a8b5(0x298));}}var Ws=Object['getOwnPropertyDescriptor'],Gs=(_0xba89f3,_0x1ea0e3,_0x372f28,_0x20c9a8)=>{var _0x3fd34e=_0xe51f24;for(var _0x56612c=_0x20c9a8>0x1?void 0x0:_0x20c9a8?Ws(_0x1ea0e3,_0x372f28):_0x1ea0e3,_0x497033=_0xba89f3[_0x3fd34e(0x192)]-0x1,_0x409c23;_0x497033>=0x0;_0x497033--)(_0x409c23=_0xba89f3[_0x497033])&&(_0x56612c=_0x409c23(_0x56612c)||_0x56612c);return _0x56612c;},De=(_0x3a90bb,_0x26ed23)=>(_0x4f785b,_0x7ef7a)=>_0x26ed23(_0x4f785b,_0x7ef7a,_0x3a90bb);const Ci=_0x2bb048(_0xe51f24(0x282));function Ys(_0x5730b7,_0x3561ac,_0x2859e0){return _0x5730b7+'/'+_0x3561ac+'/unit/'+_0x2859e0+'/new_changes';}let Gt=class extends _0x470533{constructor(_0x2eabb5,_0x1e7bc2,_0x1a650c,_0x228fc1,_0x515017){var _0x365536=_0xe51f24;super(),this['_injector']=_0x2eabb5,this[_0x365536(0x2e1)]=_0x1e7bc2,this[_0x365536(0x2ca)]=_0x1a650c,this[_0x365536(0x420)]=_0x228fc1,this['_snapshotServerService']=_0x515017;}[_0xe51f24(0x33d)](_0x118331){var _0x4b318c=_0xe51f24;const _0x34491c=this[_0x4b318c(0x289)][_0x4b318c(0x164)](_0x15b062);if(!_0x34491c)throw new Error(_0x4b318c(0x1aa));const _0x555e74=_0x34491c['createSocket'](_0x118331);if(!_0x555e74)throw new Error(_0x4b318c(0x3a8));const _0x215fd2=new _0x55320b(),_0x3046a0=new _0x4b7143();_0x215fd2['add'](_0x555e74[_0x4b318c(0x2eb)]['subscribe'](_0x12e31c=>_0x3046a0[_0x4b318c(0x3f6)](_0x12e31c))),_0x215fd2[_0x4b318c(0x296)](_0x4cf9a4(()=>_0x3046a0[_0x4b318c(0x39c)]()));const _0x5ece38=new _0x4b7143();_0x215fd2[_0x4b318c(0x296)](_0x555e74[_0x4b318c(0x167)][_0x4b318c(0x2aa)](_0x301f1e=>_0x5ece38[_0x4b318c(0x3f6)](_0x301f1e))),_0x215fd2[_0x4b318c(0x296)](_0x4cf9a4(()=>_0x5ece38[_0x4b318c(0x39c)]()));const _0x1c0711=new _0x4b7143();_0x215fd2[_0x4b318c(0x296)](_0x555e74[_0x4b318c(0x20d)]['subscribe'](_0x5577dc=>{var _0x149479=_0x4b318c;const _0x444541=Fs(_0x5577dc);_0x1c0711[_0x149479(0x3f6)](_0x444541);})),_0x215fd2['add'](_0x4cf9a4(()=>_0x1c0711[_0x4b318c(0x39c)]()));let _0x5b0ed7;const _0x48f16e=()=>{var _0x1e0e89=_0x4b318c;_0x5ece38['next'](new Event(_0x1e0e89(0x3fe))),_0x3046a0[_0x1e0e89(0x3f6)](new Event(_0x1e0e89(0x3fe))),_0x5b0ed7[_0x1e0e89(0x21d)]();};return _0x5b0ed7={'memberID':'','close$':_0x3046a0[_0x4b318c(0x43c)](),'error$':_0x5ece38[_0x4b318c(0x43c)](),'open$':_0x555e74['open$'],'message$':_0x1c0711['asObservable'](),'send':_0xe42ef1=>{var _0x410e56=_0x4b318c;if(_0xe42ef1['cmd']===F['INGEST']){if(_0xe42ef1[_0x410e56(0x3c2)][_0x410e56(0x161)]===_0x27b370[_0x410e56(0x277)]){this['_submitChangeset'](_0x5b0ed7,_0xe42ef1[_0x410e56(0x3c2)])[_0x410e56(0x43b)](_0x45c712=>{var _0x37cc5b=_0x410e56;this[_0x37cc5b(0x420)][_0x37cc5b(0x35d)](_0x45c712),_0x48f16e();});return;}if(_0xe42ef1[_0x410e56(0x3c2)]['eventID']===_0x27b370['FETCH_MISSING']){const _0x41f396=_0xe42ef1[_0x410e56(0x3c2)];this['_fetchMissChangesets'](_0x41f396)[_0x410e56(0x2ea)](_0x125aa6=>{var _0x5eb981=_0x410e56;_0x1c0711[_0x5eb981(0x3f6)]({'cmd':F[_0x5eb981(0x187)],'code':pe['OK'],'routeKey':_0x41f396[_0x5eb981(0x3c2)][_0x5eb981(0x2f5)],'routeType':'','data':{'eventID':_0x27b370[_0x5eb981(0x34d)],'data':{'changesets':_0x125aa6}}});})[_0x410e56(0x43b)](_0x1713c8=>{var _0x125f75=_0x410e56;this[_0x125f75(0x420)][_0x125f75(0x35d)](_0x1713c8),_0x48f16e();});return;}}_0x555e74[_0x410e56(0x3c6)](Vs(_0xe42ef1));},'close':()=>{var _0x37863a=_0x4b318c;_0x555e74['close'](),_0x215fd2[_0x37863a(0x35e)]();}},_0x5b0ed7;}async[_0xe51f24(0x410)](_0x26ab50,_0x407a98){var _0x4c2efe=_0xe51f24,_0x31d57e;const {unitType:_0x3ca6a8,unitID:_0xe96f24,changeset:_0x731103}=_0x407a98[_0x4c2efe(0x3c2)],_0x3ed882={'unitID':_0xe96f24,'memberID':_0x26ab50[_0x4c2efe(0x188)],'type':_0x3ca6a8,'changeset':_0x32fcff(_0x731103)},_0x474417=this[_0x4c2efe(0x2ca)][_0x4c2efe(0x39e)](K),_0x277bfc=Ys((_0x31d57e=_0x474417==null?void 0x0:_0x474417['collabSubmitChangesetUrl'])!=null?_0x31d57e:Cs,_0x3ca6a8,_0xe96f24);try{await this[_0x4c2efe(0x2e1)][_0x4c2efe(0x1ed)](_0x277bfc,{'body':_0x3ed882});}catch(_0x22a6a9){throw this['_logService'][_0x4c2efe(0x35d)]('[CollaborationSession]',_0x4c2efe(0x2d3)),_0x22a6a9;}}async[_0xe51f24(0x290)](_0x594206){var _0x5d0d2e=_0xe51f24;const {unitID:_0x41d42e,from:_0x22a3a5,to:_0x5948d8,unitType:_0x50d42a}=_0x594206['data'];return(await this[_0x5d0d2e(0x3de)][_0x5d0d2e(0x32d)]({'metadata':void 0x0},{'unitID':_0x41d42e,'type':_0x50d42a,'from':_0x22a3a5,'to':_0x5948d8}))[_0x5d0d2e(0x28f)];}};Gt=Gs([De(0x0,_0x22b342(_0xf56e29)),De(0x1,_0x22b342(_0xd8406a)),De(0x2,_0x2a9499),De(0x3,_0x361d6f),De(0x4,_0x9fb279)],Gt);var Ks=Object[_0xe51f24(0x434)],qs=(_0x49eba1,_0x4b7c49,_0x22d3c3,_0x5e4679)=>{var _0x3385cf=_0xe51f24;for(var _0x350eca=_0x5e4679>0x1?void 0x0:_0x5e4679?Ks(_0x4b7c49,_0x22d3c3):_0x4b7c49,_0x311c8e=_0x49eba1[_0x3385cf(0x192)]-0x1,_0x29f274;_0x311c8e>=0x0;_0x311c8e--)(_0x29f274=_0x49eba1[_0x311c8e])&&(_0x350eca=_0x29f274(_0x350eca)||_0x350eca);return _0x350eca;},Re=(_0x17db10,_0x892e78)=>(_0x1bc63c,_0x31b430)=>_0x892e78(_0x1bc63c,_0x31b430,_0x17db10);let Pe=class extends _0x470533{constructor(_0x235f28,_0x4fa6d8,_0x18f9bd,_0x318f20,_0x28ea81,_0xd1d119){var _0x16eebe=_0xe51f24;super(),N(this,_0x16eebe(0x353),new _0x393d97(void 0x0)),N(this,_0x16eebe(0x2d8),this[_0x16eebe(0x353)]['asObservable']()),N(this,'_candidateSocket',null),N(this,_0x16eebe(0x223),new Map()),N(this,'_status$',new _0x393d97(ge[_0x16eebe(0x30b)])),N(this,_0x16eebe(0x251),this[_0x16eebe(0x228)][_0x16eebe(0x43c)]()),N(this,'_socketReady',!0x1),N(this,_0x16eebe(0x386)),N(this,_0x16eebe(0x43a),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x16eebe(0x289)]=_0x235f28,this[_0x16eebe(0x420)]=_0x4fa6d8,this[_0x16eebe(0x2ca)]=_0x18f9bd,this[_0x16eebe(0x416)]=_0x318f20,this['_collaborationUIEventService']=_0x28ea81,this[_0x16eebe(0x3b5)]=_0xd1d119,this[_0x16eebe(0x2c6)]());}get[_0xe51f24(0x2a3)](){var _0x153fd0=_0xe51f24;return this[_0x153fd0(0x353)][_0x153fd0(0x311)]();}[_0xe51f24(0x2c6)](){var _0x21b81f=_0xe51f24;this[_0x21b81f(0x3b5)]&&this['disposeWithMe'](this['_networkConditionService'][_0x21b81f(0x2f0)][_0x21b81f(0x2aa)](_0xc23730=>{var _0x572d7=_0x21b81f;_0xc23730&&!this[_0x572d7(0x2a3)]&&this[_0x572d7(0x358)](),_0xc23730||this[_0x572d7(0x378)]();}));}['dispose'](){var _0x5cebd8=_0xe51f24;super[_0x5cebd8(0x35e)](),this[_0x5cebd8(0x3e8)](),this[_0x5cebd8(0x294)](),this['_clearHeartbeatTimer'](),this['_sessions'][_0x5cebd8(0x253)](_0x4df98e=>_0x4df98e[_0x5cebd8(0x35e)]()),this[_0x5cebd8(0x223)][_0x5cebd8(0x26e)](),this[_0x5cebd8(0x228)][_0x5cebd8(0x39c)]();}async[_0xe51f24(0x2cc)](_0x10e6a0){var _0x34b9ba=_0xe51f24;if(this[_0x34b9ba(0x223)][_0x34b9ba(0x1d1)](_0x10e6a0))return this['_sessions']['get'](_0x10e6a0);this[_0x34b9ba(0x182)]();const _0x795f01=this['_injector'][_0x34b9ba(0x1a5)](gt,_0x10e6a0,this[_0x34b9ba(0x353)][_0x34b9ba(0x43c)]());return this[_0x34b9ba(0x223)][_0x34b9ba(0x3c9)](_0x10e6a0,_0x795f01),_0x795f01;}[_0xe51f24(0x41f)](_0x43fcb9){var _0x4bfa36=_0xe51f24,_0x4a48b7;const _0x362738=this['_sessions']['get'](_0x43fcb9);_0x362738&&(this[_0x4bfa36(0x223)]['delete'](_0x43fcb9),_0x362738[_0x4bfa36(0x21d)]()),this[_0x4bfa36(0x223)][_0x4bfa36(0x231)]||(_0x4a48b7=this[_0x4bfa36(0x2a3)])==null||_0x4a48b7[_0x4bfa36(0x21d)]();}[_0xe51f24(0x358)](){var _0x3d7098=_0xe51f24;this[_0x3d7098(0x43a)]=0x0,this[_0x3d7098(0x3e8)](),this['_tryReconnect']();}[_0xe51f24(0x3e8)](){var _0x3498dc=_0xe51f24;this[_0x3498dc(0x386)]!=null&&(clearTimeout(this[_0x3498dc(0x386)]),this['_retryConnectingTimer']=null);}async[_0xe51f24(0x281)](){var _0x4d3296=_0xe51f24,_0xce8239;const _0x4da851=this[_0x4d3296(0x2ca)][_0x4d3296(0x39e)](K),_0x1839a9=(_0xce8239=_0x4da851==null?void 0x0:_0x4da851[_0x4d3296(0x2e9)])!=null?_0xce8239:ms,_0x5e616a=await this[_0x4d3296(0x416)]['createSocket'](_0x1839a9);return this['_candidateSocket']=_0x5e616a,_0x5e616a;}async[_0xe51f24(0x182)](){var _0x528f7a=_0xe51f24,_0x147f2a,_0x3afa99;try{const _0x9e2734=(_0x3afa99=(_0x147f2a=this[_0x528f7a(0x2a3)])!=null?_0x147f2a:this['_candidateSocket'])!=null?_0x3afa99:await this[_0x528f7a(0x281)]();if(_0x9e2734){const _0x52ec33=_0x9e2734[_0x528f7a(0x3c6)];_0x9e2734[_0x528f7a(0x3c6)]=_0x80e47d=>(this[_0x528f7a(0x26a)](),_0x52ec33['apply'](_0x9e2734,[_0x80e47d])),_0x9e2734[_0x528f7a(0x20d)][_0x528f7a(0x2aa)](_0x17153b=>this['_onMessage'](_0x9e2734,_0x17153b)),_0x9e2734[_0x528f7a(0x167)][_0x528f7a(0x21f)](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](_0x4f3c80=>this[_0x528f7a(0x420)][_0x528f7a(0x35d)](_0x528f7a(0x443),_0x4f3c80)),_0x9e2734[_0x528f7a(0x390)]['pipe'](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](()=>{this['_onConnectionOpen'](_0x9e2734);}),_0x9e2734[_0x528f7a(0x2eb)][_0x528f7a(0x21f)](_0x1b4c2a(0x1))[_0x528f7a(0x2aa)](_0x1a1eb7=>{var _0x3cbcaf=_0x528f7a;this[_0x3cbcaf(0x420)]['debug'](_0x3cbcaf(0x1f9),_0x3cbcaf(0x3b9),_0x1a1eb7),this[_0x3cbcaf(0x219)]();});}}catch(_0x2c82c7){this[_0x528f7a(0x420)][_0x528f7a(0x35d)](_0x2c82c7),this['_onConnectionFailed']();}}[_0xe51f24(0x3c0)](_0x39eff0){var _0x16f173=_0xe51f24;this['_logService'][_0x16f173(0x2ab)](_0x16f173(0x1f9),_0x16f173(0x3f2)),_0x39eff0[_0x16f173(0x3c6)]({'cmd':F['HELLO']}),this[_0x16f173(0x26a)]();}['_onOffline'](){var _0x1a196c=_0xe51f24;this[_0x1a196c(0x15a)]=!0x1,this[_0x1a196c(0x2fb)]=null,this[_0x1a196c(0x228)]['next'](ge[_0x1a196c(0x25f)]),this[_0x1a196c(0x353)][_0x1a196c(0x3f6)](null),this[_0x1a196c(0x294)](),this[_0x1a196c(0x17e)]();}[_0xe51f24(0x219)](){var _0x3cd6e1=_0xe51f24,_0x5edb43;this['_onOffline'](),this[_0x3cd6e1(0x43a)]<((_0x5edb43=this['_configService'][_0x3cd6e1(0x39e)](Is))!=null?_0x5edb43:Ts)?(this[_0x3cd6e1(0x30a)]['emitEvent']({'id':ne[_0x3cd6e1(0x287)]}),this[_0x3cd6e1(0x365)]()):this['_collaborationUIEventService'][_0x3cd6e1(0x261)]({'id':ne['SOCKET_FAILED']});}[_0xe51f24(0x365)](){var _0x524cb9=_0xe51f24,_0x439518;const _0x1bdb07=this['_retryCount'],_0x1a2f5e=this['_configService'][_0x524cb9(0x39e)](K),_0x1bd959=_0x1bdb07===0x0?0x0:((_0x439518=_0x1a2f5e==null?void 0x0:_0x1a2f5e['retryConnectingInterval'])!=null?_0x439518:Es)*0x2**_0x1bdb07;this[_0x524cb9(0x386)]=setTimeout(()=>{var _0x87c3a3=_0x524cb9;clearTimeout(this[_0x87c3a3(0x386)]),this[_0x87c3a3(0x386)]=null,this[_0x87c3a3(0x182)]();},_0x1bd959),this[_0x524cb9(0x43a)]+=0x1;}[_0xe51f24(0x2d1)](_0x23d579,_0x221180){var _0x13e979=_0xe51f24;const {cmd:_0x537597}=_0x221180;_0x537597===F[_0x13e979(0x3d6)]&&!this['_socketReady']&&(_0x23d579[_0x13e979(0x188)]=_0x221180[_0x13e979(0x3c2)][_0x13e979(0x188)],this['_socket$'][_0x13e979(0x3f6)](_0x23d579),this[_0x13e979(0x228)][_0x13e979(0x3f6)](ge[_0x13e979(0x17d)]),this[_0x13e979(0x15a)]=!0x0,this[_0x13e979(0x2fb)]=null),_0x537597===F[_0x13e979(0x37d)]&&this['_clearTimeoutTimer'](),this[_0x13e979(0x26a)]();}['_rescheduleHeartbeat'](){var _0x261f14=_0xe51f24,_0x1b5e0a;this[_0x261f14(0x17e)](),this[_0x261f14(0x1b8)]=setTimeout(()=>this[_0x261f14(0x232)](),(_0x1b5e0a=this['_configService'][_0x261f14(0x39e)](gs))!=null?_0x1b5e0a:Ss);}[_0xe51f24(0x232)](){var _0x115ba6=_0xe51f24;this[_0x115ba6(0x2a3)][_0x115ba6(0x3c6)]({'cmd':F[_0x115ba6(0x37d)]}),this[_0x115ba6(0x2ec)]();}[_0xe51f24(0x2ec)](){var _0x585b42=_0xe51f24,_0x14e147;this[_0x585b42(0x406)]=setTimeout(()=>this[_0x585b42(0x219)](),(_0x14e147=this[_0x585b42(0x2ca)][_0x585b42(0x39e)](di))!=null?_0x14e147:fi);}[_0xe51f24(0x17e)](){var _0x14bc8d=_0xe51f24;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x14bc8d(0x1b8)]),this[_0x14bc8d(0x1b8)]=null);}[_0xe51f24(0x294)](){var _0x5df706=_0xe51f24;this[_0x5df706(0x406)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x5df706(0x406)]=null);}};Pe=qs([Re(0x0,_0x22b342(_0xf56e29)),Re(0x1,_0x361d6f),Re(0x2,_0x2a9499),Re(0x3,Ci),Re(0x4,_0x22b342(ve)),Re(0x5,_0x3dfa42(js))],Pe);var zs=Object[_0xe51f24(0x434)],Js=(_0x1e667e,_0x2ab08c,_0x2c251e,_0x2c3afe)=>{var _0xf05501=_0xe51f24;for(var _0x3b0917=_0x2c3afe>0x1?void 0x0:_0x2c3afe?zs(_0x2ab08c,_0x2c251e):_0x2ab08c,_0x35359c=_0x1e667e[_0xf05501(0x192)]-0x1,_0x25c2a6;_0x35359c>=0x0;_0x35359c--)(_0x25c2a6=_0x1e667e[_0x35359c])&&(_0x3b0917=_0x25c2a6(_0x3b0917)||_0x3b0917);return _0x3b0917;},Be=(_0x3c2280,_0x1b19e8)=>(_0x51efb2,_0x55053c)=>_0x1b19e8(_0x51efb2,_0x55053c,_0x3c2280);let nt=class extends _0x12bf24{constructor(_0x1d5f43,_0x479407,_0x46fe6b,_0x5c5e8f){var _0x2db477=_0xe51f24,_0x2efed0;super(),N(this,_0x2db477(0x2bb),new Map()),N(this,_0x2db477(0x1c8),new _0x4b7143()),N(this,_0x2db477(0x34e),this[_0x2db477(0x1c8)]['asObservable']()),(this[_0x2db477(0x289)]=_0x1d5f43,this[_0x2db477(0x205)]=_0x479407,this[_0x2db477(0x2ca)]=_0x46fe6b,this[_0x2db477(0x215)]=_0x5c5e8f,((_0x2efed0=this[_0x2db477(0x2ca)][_0x2db477(0x39e)](K))==null?void 0x0:_0x2efed0['enableCollaboration'])!==!0x1&&this['_init']());}['dispose'](){var _0x2f2bfa=_0xe51f24;super[_0x2f2bfa(0x35e)](),this[_0x2f2bfa(0x2bb)][_0x2f2bfa(0x253)](_0x148901=>_0x148901['dispose']()),this[_0x2f2bfa(0x2bb)][_0x2f2bfa(0x26e)]();}[_0xe51f24(0x2f7)](_0x36c95c){var _0x2640b5=_0xe51f24,_0x44be10;return(_0x44be10=this[_0x2640b5(0x2bb)]['get'](_0x36c95c))!=null?_0x44be10:null;}[_0xe51f24(0x382)](_0x51847d){var _0xe1e500=_0xe51f24;const _0x69f470=this[_0xe1e500(0x2f7)](_0x51847d);return _0x69f470?_0xf996a6(_0x69f470):this['_entityInit$'][_0xe1e500(0x21f)](_0x9a4196(_0x22a9b8=>_0x22a9b8[_0xe1e500(0x2f5)]===_0x51847d));}['readyForCollab'](_0x3e89e5){var _0x4399ba=_0xe51f24;return _0x4f08aa(this[_0x4399ba(0x382)](_0x3e89e5)['pipe'](_0x57a8a0(()=>{})));}[_0xe51f24(0x266)](){var _0x19eb30=_0xe51f24;this[_0x19eb30(0x215)][_0x19eb30(0x1fd)](_0x3fce68[_0x19eb30(0x3a9)])[_0x19eb30(0x21f)](_0x2b6919(this[_0x19eb30(0x218)]),_0x414843(0x10))[_0x19eb30(0x2aa)](async _0x36c771=>{var _0x1ccb2b=_0x19eb30;const _0x109e4d=_0x36c771[_0x1ccb2b(0x40d)](),_0x61a0b8=await this[_0x1ccb2b(0x3b3)](_0x109e4d,Z['UNIVER_SHEET']);this['_entities'][_0x1ccb2b(0x3c9)](_0x109e4d,_0x61a0b8);}),this[_0x19eb30(0x215)]['getTypeOfUnitAdded$'](_0x3fce68['UNIVER_DOC'])[_0x19eb30(0x21f)](_0x2b6919(this['dispose$']),_0x414843(0x10))[_0x19eb30(0x21f)](_0x9a4196(_0x2159ca=>!_0x2159ca['getUnitId']()[_0x19eb30(0x274)]('__')))[_0x19eb30(0x2aa)](async _0x1d231c=>{var _0x4b8e3a=_0x19eb30;const _0x13b5b3=_0x1d231c[_0x4b8e3a(0x40d)](),_0x28717d=await this[_0x4b8e3a(0x3b3)](_0x13b5b3,Z[_0x4b8e3a(0x1ba)]);this[_0x4b8e3a(0x2bb)][_0x4b8e3a(0x3c9)](_0x13b5b3,_0x28717d);}),_0x7e74aa(this['_univerInstanceService'][_0x19eb30(0x2e8)](_0x3fce68['UNIVER_SHEET']),this[_0x19eb30(0x215)][_0x19eb30(0x2e8)](_0x3fce68[_0x19eb30(0x1ba)]))[_0x19eb30(0x21f)](_0x2b6919(this[_0x19eb30(0x218)]))[_0x19eb30(0x2aa)](_0x252601=>{var _0x19f785=_0x19eb30;const _0x3dbcea=_0x252601[_0x19f785(0x40d)](),_0x46c5e0=this[_0x19f785(0x2bb)][_0x19f785(0x164)](_0x3dbcea);_0x46c5e0&&(_0x46c5e0[_0x19f785(0x35e)](),this['_entities'][_0x19f785(0x3ac)](_0x3dbcea));});}async[_0xe51f24(0x3b3)](_0x1a0cde,_0x48d7f9){var _0x1c851d=_0xe51f24;const _0x12b28a=await this[_0x1c851d(0x205)]['requireSession'](_0x1a0cde),_0x664117=this[_0x1c851d(0x289)]['createInstance'](this[_0x1c851d(0x3b7)](_0x48d7f9),_0x1a0cde,_0x48d7f9,_0x12b28a);return await _0x664117[_0x1c851d(0x24e)](),this[_0x1c851d(0x1c8)][_0x1c851d(0x3f6)](_0x664117),_0x664117;}[_0xe51f24(0x3b7)](_0x496a12){var _0x4dc33c=_0xe51f24;switch(_0x496a12){case Z[_0x4dc33c(0x1ba)]:return St;case Z[_0x4dc33c(0x3a9)]:return Et;default:throw new Error(_0x4dc33c(0x334)+_0x496a12);}}};nt=Js([Be(0x0,_0x22b342(_0xf56e29)),Be(0x1,_0x22b342(Pe)),Be(0x2,_0x2a9499),Be(0x3,_0x3f4f9f)],nt);var Xs=Object['getOwnPropertyDescriptor'],Zs=(_0x302358,_0x386eff,_0x3b568e,_0x324154)=>{var _0x363987=_0xe51f24;for(var _0x3d1c39=_0x324154>0x1?void 0x0:_0x324154?Xs(_0x386eff,_0x3b568e):_0x386eff,_0x142f21=_0x302358[_0x363987(0x192)]-0x1,_0x3af201;_0x142f21>=0x0;_0x142f21--)(_0x3af201=_0x302358[_0x142f21])&&(_0x3d1c39=_0x3af201(_0x3d1c39)||_0x3d1c39);return _0x3d1c39;},Yt=(_0x2f7207,_0x5434d8)=>(_0xabd0cb,_0x23262c)=>_0x5434d8(_0xabd0cb,_0x23262c,_0x2f7207);const Qs=_0xe51f24(0x1c4),en='Univer';let It=class extends _0x470533{constructor(_0x5436ca,_0x5f303c){var _0x580688=_0xe51f24;super(),this['_univerInstanceService']=_0x5436ca,this[_0x580688(0x2ca)]=_0x5f303c,this[_0x580688(0x266)]();}[_0xe51f24(0x266)](){var _0x1f6015=_0xe51f24;this[_0x1f6015(0x19c)](this[_0x1f6015(0x215)][_0x1f6015(0x2cb)][_0x1f6015(0x2aa)](()=>{var _0x4570bf=_0x1f6015,_0x3fc8a9;const _0x3dcfac=this[_0x4570bf(0x215)][_0x4570bf(0x2ef)]();let _0x464184=(_0x3fc8a9=this[_0x4570bf(0x2ca)]['getConfig'](Qs))!=null?_0x3fc8a9:en;_0x3dcfac instanceof _0x3e2d69&&(_0x464184=_0x3dcfac['name']),document[_0x4570bf(0x419)]=_0x464184;}));}};It=Zs([Yt(0x0,_0x3f4f9f),Yt(0x1,_0x2a9499)],It);var tn=Object[_0xe51f24(0x434)],sn=(_0x27be6e,_0x5c3701,_0x59affb,_0x1fc520)=>{var _0x1f5ee7=_0xe51f24;for(var _0x2098a4=_0x1fc520>0x1?void 0x0:_0x1fc520?tn(_0x5c3701,_0x59affb):_0x5c3701,_0x1e36e7=_0x27be6e[_0x1f5ee7(0x192)]-0x1,_0x582024;_0x1e36e7>=0x0;_0x1e36e7--)(_0x582024=_0x27be6e[_0x1e36e7])&&(_0x2098a4=_0x582024(_0x2098a4)||_0x2098a4);return _0x2098a4;},dt=(_0x2ca2e2,_0x5ccffa)=>(_0x3955c1,_0x3989cb)=>_0x5ccffa(_0x3955c1,_0x3989cb,_0x2ca2e2);let rt=class{constructor(_0x3319a8,_0x2495b4,_0x11fdb){var _0x327547=_0xe51f24;this[_0x327547(0x2ca)]=_0x3319a8,this['_httpService']=_0x2495b4,this[_0x327547(0x3f1)]=_0x11fdb,this[_0x327547(0x24e)]();}[_0xe51f24(0x24e)](){var _0x1ede87=_0xe51f24;this['_httpService'][_0x1ede87(0x24b)]({'priority':0x1,'interceptor':(_0x31c2a2,_0x4e42a5)=>_0x4e42a5(_0x31c2a2)['pipe'](_0xd4c290(async _0x121654=>{var _0x500d08=_0x1ede87;const _0x42f504=_0x121654;if(_0x42f504[_0x500d08(0x27a)]===0x191){if(typeof window>'u')throw new Error(_0x500d08(0x210));if(window[_0x500d08(0x3b1)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x4c5a5b=window['encodeURIComponent'](window[_0x500d08(0x2ff)][_0x500d08(0x366)]);window[_0x500d08(0x2ff)]['href']=this['_getLoginPath']()+'?url='+_0x4c5a5b;}}return _0x42f504;}))});}[_0xe51f24(0x259)](){var _0x3c9808;const _0x582500=this['_configService']['getConfig'](K);return(_0x3c9808=_0x582500==null?void 0x0:_0x582500['loginUrlKey'])!=null?_0x3c9808:Rs;}};rt=sn([dt(0x0,_0x2a9499),dt(0x1,_0x22b342(_0xd8406a)),dt(0x2,_0x22b342(_0x262680))],rt);var nn=Object[_0xe51f24(0x434)],rn=(_0x2159b1,_0x4fd74a,_0x87c0e4,_0x1d07fa)=>{var _0x1cc3ff=_0xe51f24;for(var _0x163de8=_0x1d07fa>0x1?void 0x0:_0x1d07fa?nn(_0x4fd74a,_0x87c0e4):_0x4fd74a,_0x39779c=_0x2159b1[_0x1cc3ff(0x192)]-0x1,_0x2edaca;_0x39779c>=0x0;_0x39779c--)(_0x2edaca=_0x2159b1[_0x39779c])&&(_0x163de8=_0x2edaca(_0x163de8)||_0x163de8);return _0x163de8;},Kt=(_0x1a0870,_0x2ea18f)=>(_0x3e038e,_0x19e2fb)=>_0x2ea18f(_0x3e038e,_0x19e2fb,_0x1a0870);const an=_0xe51f24(0x3d1);let Tt=class extends _0x470533{constructor(_0x2c75da,_0x362018){super(),this['_HTTPService']=_0x2c75da,this['_configService']=_0x362018,this['_initMergeInterceptor']();}[_0xe51f24(0x156)](){var _0x2f4b42=_0xe51f24;const _0x5d14c8=this;this[_0x2f4b42(0x19c)](this[_0x2f4b42(0x1a2)][_0x2f4b42(0x24b)]({'priority':0x3e7,'interceptor':_0x92347a({'isMatch'(_0x409a24){var _0x1376a9=_0x2f4b42,_0x381a6a;if(_0x409a24[_0x1376a9(0x172)]===_0x1376a9(0x1ae)&&((_0x381a6a=_0x409a24[_0x1376a9(0x16e)])!=null&&_0x381a6a[_0x1376a9(0x279)])){const {objectID:_0x5751f4,objectType:_0x157e5e}=_0x409a24[_0x1376a9(0x16e)][_0x1376a9(0x279)]||{};if(!_0x5751f4||_0x157e5e===void 0x0)return!0x1;const _0x4d875a=_0x5d14c8[_0x1376a9(0x1d8)]()+'/'+_0x157e5e+_0x1376a9(0x189)+_0x5751f4+'/allowed';if(_0x409a24[_0x1376a9(0x2d6)]===_0x4d875a)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x207aa6){var _0x2f6788=_0x2f4b42,_0x352660;return(_0x352660=_0x207aa6[_0x2f6788(0x16e)])==null?void 0x0:_0x352660[_0x2f6788(0x279)];},'mergeParamsToRequest'(_0x3fd29f,_0x4d85fd){var _0x1ebf90=_0x2f4b42;const _0xae332d=_0x5d14c8[_0x1ebf90(0x1d8)]()+_0x1ebf90(0x238),_0x93a3c6=_0x3fd29f[_0x1ebf90(0x222)]((_0x3c3780,_0x4cee46)=>{var _0x14f891=_0x1ebf90;const {unitID:_0x4e9349,objectID:_0x3b117b,objectType:_0x1c37c7,actions:_0x141103}=_0x4cee46;return _0x3c3780[_0x4e9349]||(_0x3c3780[_0x4e9349]={}),_0x3c3780[_0x4e9349][_0x3b117b]||(_0x3c3780[_0x4e9349][_0x3b117b]={'objectID':_0x3b117b,'objectType':_0x1c37c7,'actions':[]}),_0x3c3780[_0x4e9349][_0x3b117b][_0x14f891(0x2c8)][_0x14f891(0x27f)](..._0x141103),_0x3c3780;},{}),_0x2cc5dd=[];for(const _0x483145 in _0x93a3c6)for(const _0x430782 in _0x93a3c6[_0x483145]){const {actions:_0x43d3f0,objectType:_0x2f43e0}=_0x93a3c6[_0x483145][_0x430782],_0x236e10=[...new Set(_0x43d3f0)];_0x2cc5dd[_0x1ebf90(0x27f)]({'unitID':_0x483145,'objectID':_0x430782,'objectType':_0x2f43e0,'actions':_0x236e10});}return new _0x3f8dec(_0x1ebf90(0x1ae),_0xae332d,{'headers':_0x4d85fd[_0x1ebf90(0x209)],'withCredentials':_0x4d85fd['withCredentials'],'responseType':_0x4d85fd[_0x1ebf90(0x2f3)],'body':{'requests':_0x2cc5dd}});}},{'distributeResult'(_0x23505d,_0x1049fb){var _0x498e8c=_0x2f4b42;const {objectActions:_0x287705}=_0x23505d;return _0x1049fb[_0x498e8c(0x1c1)](_0x4d5a9e=>{var _0x25cadc=_0x498e8c;const {unitID:_0x2ea9cb,objectID:_0x5ae157,actions:_0x691c8a}=_0x4d5a9e,_0x424908=_0x287705['find'](_0x3f37bc=>_0x3f37bc[_0x25cadc(0x2f5)]===_0x2ea9cb&&_0x3f37bc[_0x25cadc(0x160)]===_0x5ae157),_0x39a0cf=_0x691c8a['map'](_0x5959f2=>_0x424908==null?void 0x0:_0x424908[_0x25cadc(0x2c8)][_0x25cadc(0x3e9)](_0x1305e5=>_0x1305e5['action']===_0x5959f2))[_0x25cadc(0x449)](_0x190aa2=>!!_0x190aa2);return{'config':_0x4d5a9e,'result':{'actions':_0x39a0cf,'error':_0x23505d[_0x25cadc(0x35d)]}};});}})}));}[_0xe51f24(0x1d8)](){var _0x32b361=_0xe51f24,_0x478366;const _0x389736=this[_0x32b361(0x2ca)][_0x32b361(0x39e)](K);return(_0x478366=_0x389736==null?void 0x0:_0x389736['authzUrl'])!=null?_0x478366:an;}async[_0xe51f24(0x3fa)](_0x32782a){var _0x49f4ec=_0xe51f24;const _0x3f309e=this['_getAPIPrefixPath']()+'/'+_0x32782a[_0x49f4ec(0x18c)]+_0x49f4ec(0x307);return(await this[_0x49f4ec(0x1a2)][_0x49f4ec(0x1ed)](_0x3f309e,{'body':_0x32782a}))[_0x49f4ec(0x279)]['objectID']||'';}async[_0xe51f24(0x310)](_0x2e7073){var _0xb1b184=_0xe51f24;const _0x123074=this['_getAPIPrefixPath']()+_0xb1b184(0x35c);return(await this[_0xb1b184(0x1a2)][_0xb1b184(0x1ed)](_0x123074,{'body':_0x2e7073}))['body'][_0xb1b184(0x397)];}async[_0xe51f24(0x37f)](_0x14ec14){var _0x32f886=_0xe51f24,_0x28015d,_0x414f98;const _0xbe9dd9=this['_getAPIPrefixPath']()+'/'+_0x14ec14[_0x32f886(0x18c)]+_0x32f886(0x189)+_0x14ec14[_0x32f886(0x160)],_0x41af08=await this[_0x32f886(0x1a2)][_0x32f886(0x3cb)](_0xbe9dd9,{'body':_0x14ec14});if(((_0x414f98=(_0x28015d=_0x41af08==null?void 0x0:_0x41af08['body'])==null?void 0x0:_0x28015d[_0x32f886(0x35d)])==null?void 0x0:_0x414f98[_0x32f886(0x3a4)])!==0x1)throw new Error(_0x32f886(0x2e7));}async[_0xe51f24(0x3eb)](_0x1343d9){var _0x5b346a=_0xe51f24;const _0x1d2ac2=this[_0x5b346a(0x1d8)]()+'/'+_0x1343d9[_0x5b346a(0x18c)]+_0x5b346a(0x189)+_0x1343d9[_0x5b346a(0x160)]+_0x5b346a(0x1be);return(await this[_0x5b346a(0x1a2)]['post'](_0x1d2ac2,{'body':_0x1343d9}))[_0x5b346a(0x279)][_0x5b346a(0x2c8)];}async[_0xe51f24(0x19e)](_0x17c341){var _0x7bcb35=_0xe51f24;const _0x54b331=this[_0x7bcb35(0x1d8)]()+'/-/object/-/batch_allowed';return(await this[_0x7bcb35(0x1a2)]['post'](_0x54b331,{'body':{'requests':_0x17c341}}))['body']['objectActions'];}async[_0xe51f24(0x25b)](_0x122cbd){var _0x1f7b6b=_0xe51f24;const _0x378a98=this[_0x1f7b6b(0x1d8)]()+'/'+_0x122cbd['objectType']+_0x1f7b6b(0x237),_0x13b87e=await this[_0x1f7b6b(0x1a2)][_0x1f7b6b(0x1ed)](_0x378a98,{'body':_0x122cbd});return{'roles':_0x13b87e['body']['roles'],'actions':_0x13b87e[_0x1f7b6b(0x279)][_0x1f7b6b(0x2c8)]};}async[_0xe51f24(0x20a)](_0x56635a){var _0xa5fc76=_0xe51f24;const _0x3ed9bc=this[_0xa5fc76(0x1d8)]()+_0xa5fc76(0x411);await this[_0xa5fc76(0x1a2)][_0xa5fc76(0x3ac)](_0x3ed9bc,{'params':{'collaboratorID':_0x56635a[_0xa5fc76(0x3f9)],'objectID':_0x56635a[_0xa5fc76(0x160)],'unitID':_0x56635a[_0xa5fc76(0x2f5)]}});}async['updateCollaborator'](_0x51ee60){var _0x486f88=_0xe51f24;const _0x39289a=this['_getAPIPrefixPath']()+_0x486f88(0x411);await this[_0x486f88(0x1a2)][_0x486f88(0x3da)](_0x39289a,{'body':_0x51ee60});}async['createCollaborator'](_0x4e664d){var _0x5aca61=_0xe51f24;const _0x40b4f7=this[_0x5aca61(0x1d8)]()+_0x5aca61(0x411);await this[_0x5aca61(0x1a2)][_0x5aca61(0x1ed)](_0x40b4f7,{'body':_0x4e664d});}async[_0xe51f24(0x309)](_0x55bdc5){var _0x547917=_0xe51f24;const _0x40e096=this['_getAPIPrefixPath']()+'/collaborator';return(await this[_0x547917(0x1a2)][_0x547917(0x164)](_0x40e096,{'params':{'objectID':_0x55bdc5[_0x547917(0x160)],'unitID':_0x55bdc5[_0x547917(0x2f5)]}}))['body'][_0x547917(0x1a8)];}async[_0xe51f24(0x2db)](_0x51da5f){var _0x24a376=_0xe51f24;const _0x2cc525=this[_0x24a376(0x1d8)]()+_0x24a376(0x411);await this['_HTTPService'][_0x24a376(0x3cb)](_0x2cc525,{'body':_0x51da5f});}};Tt=rn([Kt(0x0,_0x22b342(_0xd8406a)),Kt(0x1,_0x22b342(_0x2a9499))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0xabf7d5){var _0x238839=_0xe51f24;return _0xabf7d5&&_0xabf7d5['__esModule']&&Object[_0x238839(0x393)][_0x238839(0x206)][_0x238839(0x29a)](_0xabf7d5,_0x238839(0x234))?_0xabf7d5[_0x238839(0x234)]:_0xabf7d5;}var Ve={'exports':{}};function _0x332e(){var _0x4a42c0=['_localCacheService','CHANGESET_ACK','CipherParams','_clearTimeoutTimer','CONNECTOR_DATA_TOO_LARGE','add','HEARTBEAT_INTERVAL','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createInitialState','call','cfg','_cipher','423642qHdyXV','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/unit/','type','awaiting_with_pending','_registerDependencies','_socket','JOIN_ROOM_FAILED','_unitInfo$','_memberService','_getAPIPrefix','getImage','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','subscribe','debug','offline','setWaitCount','_throwTelemetryCollaborationNewChangeset','LIVESHARE_OPERATION','_sessionStatus$','fetchMiss','/universer-api/oidc/authpage','_checkMissing','_parse','compose','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','WECHAT_HAS_BEEN_BOUND','onTransformIME','LIVESHARE_NEW_HOST','INVALID_INVITE_CODE','_entities','transformChangesets','symbol','clone','apply','_getSignURL','updateCursorEvent','UnitEmbedded','fetching\x20missing\x20changesets\x20from\x20','_commentService','initWorkbookPermissionChange','_listenToNetworkCondition','UNIVER_UNKNOWN','actions','startTime','_configService','focused$','requireSession','unpad','USERS_ENTER','createDecryptor','unsubscribe','_onMessage','sid','submit\x20changeset\x20error!','_onRemoteRejected','_clearUndo','url','hostname','socket$','min','univer-pro.collaboration-client.single-active-unit-service','putCollaborators','EMAIL_HAS_BEEN_BOUND','splice','\x0aCurrent:\x20','2037744pXiXiG','Pkcs7','_httpService','_substituteRedoStack','localCacheService','_process','/universer-api/snapshot/','onMissedChangesetFetched','Failed\x20to\x20update\x20permission\x20point','getTypeOfUnitDisposed$','collabWebSocketUrl','then','close$','_waitForHeartbeatResponse','m2Prime','_updateLocalCache','getFocusedUnit','online$','resend','ceil','responseType','_decreaseWaiting','unitID','words','getCollabEntity','onStateChange','updateMember','reqId','_candidateSocket','_getRedoStack','_onCombEvent','\x20-\x20','location','PENDING','_localeService','_doReset','_roomCreated$','loadOfflineData','_doFinalize','isPermissionRej','/object','/universer-api/user/session-ticket','listCollaborators','_collaborationUIEventService','IDLE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_type','pluginName','_collaborationSessionService','list','getValue','YUUMI_SUBSCRIPTION_NOT_FOUND','__Key__','AES','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_exhaustRemoteChangesetQueue','_shouldReportTelemetry','2734565qItJRh','YUUMI_NO_CUBOID_FOR_QUESTION','charAt','byteLength','_scheduleCompleteTimestamp','getCurrentRevOfUnit','UPDATE_PERMISSION_OBJ','baseRev','originalMeta','_hasher','concat','UNDEFINED','unitId','_data','SOCKET_FAILED','_transformService','UnitSnapshot','_resendWithTimeout','_toggleOffline','string','\x0aAfter:\x20','fetchMissingChangesets','[OfflineState]:\x20received\x20rejection.','image/gif','_replaceFileID','/block/','YUUMI_TABLE_NOT_FOUND_IN_UNIT','$super','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_replayCachedMutations','5086952ifpbgQ','APPLY_NON_SEQUENTIAL_REVISION','target','_onUserJoin','image/jpeg','toggleOffline','UNKNOWN_CODE','_doCreateSocket','_onLocalMutation','YUUMI_ALL_TABLES_IS_INVALID','commentUpdateEvent','subUnitId','PERMISSION_REJ','INVALID_ARGUMENT','SHA1','getDeserializedSheetBlock','PERSON','execute','getTime','INGEST','SYNCED','_updateStatus','_createHelper','PSEUDO_FETCH_MISSING_RESULT','entityInit$','JOIN_ROOM_PERMISSION_DENIED','SHOULD_CLOSE_CONN','event$','formatter','_socket$','_getCurrentRevision','name','_roomMembers','INVITE_CODE_HAS_BEEN_UES','reconnect','transformUndoRedo','ivSize','exports','/-/object/list','error','dispose','_event$','[SyncedState]:\x20received\x20rejection.','_hash','2460472lZCsoN','BlockCipherMode','result','_tryReconnect','href','_imageSourceCache','_onConflict','onRemoteChangeset','_transformStack','session.room-not-exists','_getUndoStack','_members','_awaitingChangeset','getRandomValues','CHANGESET_REJ','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_commentUpdate$','_handler','168171wPNbNF','fetchThroughInterceptors','_telemetryInfo','?size=','_onOffline','_compressMutationService','[UniverCollaborationClientPlugin]','_doCryptBlock','_initDependencies','HEARTBEAT','CHANGESET_REVISION_CONFILICT','update','from','snapshot','getCollabEntity$','_ENC_XFORM_MODE','_oKey','SNAPSHOT_URL_KEY','_retryConnectingTimer','roomInfos','incrementRevOfUnit','CBC','routeKey','msCrypto','_schedule','csRejEvent','_iKey','collaboration-client.config','open$','ALREADY_EXISTS','byteOffset','prototype','UNAUTHENTICATED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_joinRoom','objects','findIndex','_eventService','_prevBlock','_key','complete','padding','getConfig','sessionStatus','48404UaBcCE','_changesetSessionId','_executeRemoteChangeset','PY_RUNTIME_SCRIPT_ERROR','code','fromCollab','workbook','JOIN_ROOM_NOT_EXISTS','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNIVER_SHEET','fromCharCode','synced','delete','addImageSourceCache','liveShareNewHost','randomBytes','COMMENT_UPDATE','confirm','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_startCollaboration','image/png','_networkConditionService','state','_getCtorByUniverType','crypto','socket\x20close','reject','_transformSelections','parse','_reverseMap','algo','src','_onConnectionOpen','NEW_CHANGESETS','data','_pendingMutations','encryptBlock','Error\x20on\x20receiving\x20event','send','_clearRedo','extend','set','[SyncedState]:\x20received\x20acknowledgement.','put','finalize','_transformUndoredo','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_acknowledgedAwaitingChangeset','APPLY_REJECT','/universer-api/authz','_incrementRevisionNumber','onTransformState','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','sheets','HELLO','unit-cache-','_xformMode','[PendingState]:\x20received\x20acknowledgement.','patch','MD5','COMPLETION_FINISHED','CLOSE_ROOM','_snapshotServerService','executeCommand','transformMutationsWithChangeset','getResourcesRequest','[CollaborationEntity]','_clearScheduledTask','[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.','csAckEvent','keySize','kdf','_clearRetryConnectingTimer','find','PasswordBasedCipher','allowed','updatePermissionPoint','Malformed\x20UTF-8\x20data','_transitionLocked','processBlock','UNIVER_SLIDE','localeService','socket\x20open.','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_toggleOnline','_doProcessBlock','next','USERS_LEAVE','LOGIN_FAILED','collaboratorID','create','Latin1','EvpKDF','change$','connection\x20error','reverse','signUrlServerUrl','getUnitOnRev','reset','HmacSHA1','getWorkbookSelections','_redoStacks','_timeoutTimer','_instanceService','updatePermissionObjEvent','downloadEndpointUrl','_userManagerService','LIVESHARE_FETCH_OPERATIONS','Undefined','getUnitId','_socketMessageSubscription','image/jpg','_submitChangeset','/collaborator','entries','MSG_FOR_ERROR','mixIn','CHANGESET_SHOULD_RETRY','_socketService','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','includes','title','Cipher','NoPadding','_members$','_transformRemoteChangesetByIMECache','fetch_missing','closeSession','_logService','isArray','_updateState','session.room-full','WordArray','rev','now','getUnitType','_disableEditing','params','charCodeAt','TOO_MANY_REQUESTS','toggleOnline','Base64','UPDATE_CURSOR','onTransformRemoteChangesetByStateCache','_invKeySchedule','Utf8','onCommentUpdate','mode','getOwnPropertyDescriptor','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','userID','compute','YUUMI_URL_COL_OUT_OF_RANGE','[CollaborationUndoRedoService]','_retryCount','catch','asObservable','ERROR_IMAGE_TYPE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','OpenSSL','ciphertext','_transformStateCache','_nDataBytes','[CollaborationSessionService]:\x20socket\x20error','getSheetBlock','pad','pending','_onRecvEvent','setCurrentUser','filter','pauseCollaboration','OTHER_CLIENT_EDITING','c2Prime','selections','uniscriptRunEvent','sigBytes','_state','enableAuthServer','_applyRemoteChangeset','_initMergeInterceptor','onMissingChangesets','mutations','collaboration-client.local-cache-service','_socketReady','onTransformRemoteChangesetByIMECache','LIVESHARE_TERMINATE','authzUrl','UNISCRIPT_RUN','onTransformSelections','objectID','eventID','MOBILE_VERIFY_CODE_MISMATCH','Hasher','get','getUnitStatus$','JOIN','error$','_singleActiveUnitService','StreamCipher','onStarting','repeat','removeMember','2KvIiTa','requestParams','YUUMI_CONNECTOR_URL_NOT_FOUND','members$','COMPRESS_MUTATION_SEND','method','conflict','_onRemoteChangeset','Base','_resendTimer','PERMISSION_DENIED','SerializableCipher','revision','session','interceptor','sessionStatus$','ONLINE','_clearHeartbeatTimer','_getSendChangesetTimeout','&source=','_createInitialStateImpl','_tryEnsureSocket','UNKNOWN_CMD','SUBMIT_CHANGESET_TIMEOUT','transformStack\x20failed!','uploadFileServerUrl','RECV','memberID','/object/','_permissionService','[OfflineState]:\x20received\x20acknowledgement.','objectType','_onFetchMissResult','Encryptor','_sendingTimer','commentUpdate$','_undoRedoService','length','univer-pro.collaboration-client.network-condition.service','enableOfflineEditing','MUTATION','unknown','getCurrentUser','_onRemoteACK','_sender','decryptBlock','[DataLoaderService]','disposeWithMe','Could\x20not\x20dynamically\x20require\x20\x22','batchAllowed','_getUploadFileURL','updateOfflineData','EMAIL_VERIFY_CODE_MISMATCH','_HTTPService','collaMsg','_clearLocalCache','createInstance','_revisionService','INTERNAL_ERROR','collaborators','_onRemoteRetry','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','defineProperty','getMember','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','POST','collaboration_new_changeset','_showConflictNotification','onRemoteRej','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_createHandler','editingUnit','format','_queuedRemoteChangesets','hasher','_sendHeartbeatTimer','_syncEditingCollabCursor','UNIVER_DOC','44yaGlul','image/bmp','ws://127.0.0.1:8000/universer-api/comb/connect','/allowed','onRemoteRetry','APPLY_PERMISSION_DENIED','map','decrypt','_collaborationTimeoutTimer','DEFAULT_FILE_NAME','MOBILE_HAS_BEEN_BOUND','APPLY_DUPLICATED','LICENSE_DISTRO_REJECTED','_entityInit$','UserProfileImg','_removeRoom','_config','Hex','joinEvent','clamp','saveChangeset','updateSnapshot','has','_initCloseConn','/universer-api/comb','_minBufferSize','_nRounds','_substituteUndoStack','state$','_getAPIPrefixPath','YUUMI_AI_RUN_FAILED','socketService','range','_unlockTransition','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','every','_commandService','onCommandExecuted','\x20in\x20_schedule.','_startTelemetryCollaborationNewChangeset','csShouldRetryEvent','BlockCipher','stopTime','_change$','_lockTransition','NOT_FOUND','blockSize','_state$','awaiting','floor','post','slice','getCurrentSelections','getActiveSheet','setConfig','LICENSE_EXPORT_SIZE_EXCEEDED','textRanges','encrypt','SNAPSHOT_INVALID_SNAPSHOT','_initRequestHeader','deepClone','_map','[CollaborationSessionService]','joinRsp','_handlerCallback','JOINING','getTypeOfUnitAdded$','_getDownloadEndpointURL','onRemoteAck','_scheduleCollaborationTimeoutTimer','/universer-api/stream/file/upload','FAIL','salt','_waitCount','_collabSessionService','hasOwnProperty','join','_changesetReqId','headers','deleteCollaborator','__creator','Decryptor','message$','members','newCsEvent','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','UNIVER_COLLABORATION_CLIENT_PLUGIN','APPLY_REVISION_CONFILICT','INVITE_CODE_REQUIRED','UNRECOGNIZED','_univerInstanceService','setShowComponents','JOIN_ROOM_FULL','dispose$','_onConnectionFailed','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[OfflineState]:\x20received\x20changeset.','[FetchMissState]','close','buffer','pipe','_remoteChangesetQueue','getImageSourceCache','reduce','_sessions','session.join-failed','_initUnitPermissionChange','max','_collaborationPaused','_status$','random','NO_OTHER_CLIENTS_EDITING','LICENSE_MAX_UNITS_EXCEEDED','USER_NOT_INVITED_CODE','ERROR_IMAGE','capture','_unitID','x-univer-host','size','_sendHeartbeat','CONFLICT','default','\x20to\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/role','/-/object/-/batch_allowed','RETRY_CONNECTING_MAX_COUNT','loadSheet','_keyPriorReset','YUUMI_ASYNCIO_CANCELLED','LEAVE','function','AWAITING','liveShareOperation','SNAPSHOT_HAS_BEEN_REMOVED','_stopTelemetryCollaborationNewChangeset','_undoStacks','YUUMI_UNABLE_LOAD_URL','UNIVER_PROJECT','permissionRejEvent','toString','c1Prime','_mode','_snapshotService','registerHTTPInterceptor','subject','transformSelections','init','unitId\x20is\x20not\x20found','abs','status$','HttpExport','forEach','shouldCloseConn','_iv','encode','_telemetryService','{fileID}','_getLoginPath','sin','listRoles','getSnapshotAPIPath','_emitMembers','COMPRESS_MUTATION_APPLY','OFFLINE','OTHER_CLIENTS_EDITING','emitEvent','lib','_DEC_XFORM_MODE','_onUserLeave','GLOBAL_ROOMS_CNT_EXCEEDS','_init','enc','onSyncEditingCollabCursor','_transformRemoteChangesetByStateCache','_rescheduleHeartbeat','_transformIMECache','FETCH_MISSING','onlyLocal','clear','editing\x20status\x20changed\x20to','/universer-api/snapshot','_resendTimeout','&to=','getInterceptPoints','startsWith','cmd','ENSURE_SNAPSHOT_EXECUTION','SUBMIT_CHANGESET','createEncryptor','body','status','_onJoinRoomEvent','_createHmacHelper','FileId','origin','push','loadDoc','_createSocket','univer-pro.collaboration-client-socket-service','stringify','awaitingChangeset','getMemberID','FETCH_MISS','SOCKET_FAILED_RETRY','_append','_injector','resolve','values','/universer-api/uniscript','appendMutation','key','changesets','_fetchMissChangesets'];_0x332e=function(){return _0x4a42c0;};return _0x332e();}function on(_0x2d73b6){var _0x8a9132=_0xe51f24;throw new Error(_0x8a9132(0x19d)+_0x2d73b6+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x1ad1cd=_0xe51f24;return qt||(qt=0x1,function(_0xf60afc,_0x493612){(function(_0x5b4799,_0x4ba235){var _0x2b4c0e=_0x3c6c;_0xf60afc[_0x2b4c0e(0x35b)]=_0x4ba235();}(cn,function(){var _0x474c5e=_0x474c5e||function(_0x142fa2,_0x54105e){var _0x190275=_0x3c6c,_0x1a5c87;if(typeof window<'u'&&window[_0x190275(0x3b8)]&&(_0x1a5c87=window[_0x190275(0x3b8)]),typeof self<'u'&&self['crypto']&&(_0x1a5c87=self[_0x190275(0x3b8)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x1a5c87=globalThis[_0x190275(0x3b8)]),!_0x1a5c87&&typeof window<'u'&&window[_0x190275(0x38b)]&&(_0x1a5c87=window[_0x190275(0x38b)]),!_0x1a5c87&&typeof ft<'u'&&ft[_0x190275(0x3b8)]&&(_0x1a5c87=ft['crypto']),!_0x1a5c87&&typeof on==_0x190275(0x23e))try{_0x1a5c87=require('crypto');}catch{}var _0x3a7264=function(){var _0x1d42c7=_0x190275;if(_0x1a5c87){if(typeof _0x1a5c87[_0x1d42c7(0x36f)]=='function')try{return _0x1a5c87['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1a5c87[_0x1d42c7(0x3af)]=='function')try{return _0x1a5c87[_0x1d42c7(0x3af)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x1d42c7(0x371));},_0x5ee27c=Object['create']||(function(){function _0x55a682(){}return function(_0x1a1a15){var _0x18963c=_0x3c6c,_0x373c9c;return _0x55a682['prototype']=_0x1a1a15,_0x373c9c=new _0x55a682(),_0x55a682[_0x18963c(0x393)]=null,_0x373c9c;};}()),_0x1c4613={},_0x425b5a=_0x1c4613[_0x190275(0x262)]={},_0x28182b=_0x425b5a[_0x190275(0x175)]=(function(){return{'extend':function(_0xf02639){var _0x49aaa3=_0x3c6c,_0x1705f0=_0x5ee27c(this);return _0xf02639&&_0x1705f0['mixIn'](_0xf02639),(!_0x1705f0[_0x49aaa3(0x206)]('init')||this[_0x49aaa3(0x24e)]===_0x1705f0[_0x49aaa3(0x24e)])&&(_0x1705f0[_0x49aaa3(0x24e)]=function(){var _0x3b9c5f=_0x49aaa3;_0x1705f0[_0x3b9c5f(0x333)][_0x3b9c5f(0x24e)][_0x3b9c5f(0x2bf)](this,arguments);}),_0x1705f0[_0x49aaa3(0x24e)][_0x49aaa3(0x393)]=_0x1705f0,_0x1705f0[_0x49aaa3(0x333)]=this,_0x1705f0;},'create':function(){var _0x1ef993=_0x3c6c,_0x200525=this[_0x1ef993(0x3c8)]();return _0x200525[_0x1ef993(0x24e)]['apply'](_0x200525,arguments),_0x200525;},'init':function(){},'mixIn':function(_0x4753f7){var _0x207316=_0x3c6c;for(var _0x3acbe9 in _0x4753f7)_0x4753f7[_0x207316(0x206)](_0x3acbe9)&&(this[_0x3acbe9]=_0x4753f7[_0x3acbe9]);_0x4753f7[_0x207316(0x206)](_0x207316(0x247))&&(this[_0x207316(0x247)]=_0x4753f7['toString']);},'clone':function(){var _0x563ffd=_0x3c6c;return this['init'][_0x563ffd(0x393)][_0x563ffd(0x3c8)](this);}};}()),_0x40c557=_0x425b5a[_0x190275(0x424)]=_0x28182b['extend']({'init':function(_0x82dafe,_0x27a486){var _0x1a3f37=_0x190275;_0x82dafe=this[_0x1a3f37(0x2f6)]=_0x82dafe||[],_0x27a486!=_0x54105e?this[_0x1a3f37(0x152)]=_0x27a486:this[_0x1a3f37(0x152)]=_0x82dafe[_0x1a3f37(0x192)]*0x4;},'toString':function(_0x2101e9){var _0x3fea86=_0x190275;return(_0x2101e9||_0x330a17)[_0x3fea86(0x283)](this);},'concat':function(_0x1b2186){var _0x2cea1d=_0x190275,_0x34c943=this[_0x2cea1d(0x2f6)],_0x13d440=_0x1b2186[_0x2cea1d(0x2f6)],_0x21afef=this[_0x2cea1d(0x152)],_0x2abc03=_0x1b2186[_0x2cea1d(0x152)];if(this[_0x2cea1d(0x1ce)](),_0x21afef%0x4)for(var _0x562215=0x0;_0x562215<_0x2abc03;_0x562215++){var _0x184d3d=_0x13d440[_0x562215>>>0x2]>>>0x18-_0x562215%0x4*0x8&0xff;_0x34c943[_0x21afef+_0x562215>>>0x2]|=_0x184d3d<<0x18-(_0x21afef+_0x562215)%0x4*0x8;}else{for(var _0x327dff=0x0;_0x327dff<_0x2abc03;_0x327dff+=0x4)_0x34c943[_0x21afef+_0x327dff>>>0x2]=_0x13d440[_0x327dff>>>0x2];}return this['sigBytes']+=_0x2abc03,this;},'clamp':function(){var _0x15b8f2=_0x190275,_0x465bfb=this[_0x15b8f2(0x2f6)],_0x48cdb6=this[_0x15b8f2(0x152)];_0x465bfb[_0x48cdb6>>>0x2]&=0xffffffff<<0x20-_0x48cdb6%0x4*0x8,_0x465bfb[_0x15b8f2(0x192)]=_0x142fa2[_0x15b8f2(0x2f2)](_0x48cdb6/0x4);},'clone':function(){var _0x322b49=_0x190275,_0xf05181=_0x28182b[_0x322b49(0x2be)][_0x322b49(0x29a)](this);return _0xf05181['words']=this[_0x322b49(0x2f6)]['slice'](0x0),_0xf05181;},'random':function(_0x3149b2){var _0x3efedb=_0x190275;for(var _0x38f001=[],_0x3483db=0x0;_0x3483db<_0x3149b2;_0x3483db+=0x4)_0x38f001[_0x3efedb(0x27f)](_0x3a7264());return new _0x40c557[(_0x3efedb(0x24e))](_0x38f001,_0x3149b2);}}),_0x2bc150=_0x1c4613['enc']={},_0x330a17=_0x2bc150[_0x190275(0x1cc)]={'stringify':function(_0x3a1773){var _0x3bfbf4=_0x190275;for(var _0x421082=_0x3a1773[_0x3bfbf4(0x2f6)],_0x4873bc=_0x3a1773[_0x3bfbf4(0x152)],_0x4e07ba=[],_0x30a9a0=0x0;_0x30a9a0<_0x4873bc;_0x30a9a0++){var _0x4ceb1a=_0x421082[_0x30a9a0>>>0x2]>>>0x18-_0x30a9a0%0x4*0x8&0xff;_0x4e07ba[_0x3bfbf4(0x27f)]((_0x4ceb1a>>>0x4)[_0x3bfbf4(0x247)](0x10)),_0x4e07ba[_0x3bfbf4(0x27f)]((_0x4ceb1a&0xf)[_0x3bfbf4(0x247)](0x10));}return _0x4e07ba[_0x3bfbf4(0x207)]('');},'parse':function(_0x4846bd){var _0x5b6ba3=_0x190275;for(var _0x126785=_0x4846bd[_0x5b6ba3(0x192)],_0x5acc72=[],_0x5b92fc=0x0;_0x5b92fc<_0x126785;_0x5b92fc+=0x2)_0x5acc72[_0x5b92fc>>>0x3]|=parseInt(_0x4846bd['substr'](_0x5b92fc,0x2),0x10)<<0x18-_0x5b92fc%0x8*0x4;return new _0x40c557[(_0x5b6ba3(0x24e))](_0x5acc72,_0x126785/0x2);}},_0x1d933b=_0x2bc150[_0x190275(0x3fb)]={'stringify':function(_0x1c7542){var _0x56ca2b=_0x190275;for(var _0x5a8770=_0x1c7542['words'],_0x3a62bc=_0x1c7542[_0x56ca2b(0x152)],_0x52e977=[],_0x5940cf=0x0;_0x5940cf<_0x3a62bc;_0x5940cf++){var _0x17ccdc=_0x5a8770[_0x5940cf>>>0x2]>>>0x18-_0x5940cf%0x4*0x8&0xff;_0x52e977[_0x56ca2b(0x27f)](String[_0x56ca2b(0x3aa)](_0x17ccdc));}return _0x52e977[_0x56ca2b(0x207)]('');},'parse':function(_0x2b733e){var _0x265bcc=_0x190275;for(var _0x33c5e5=_0x2b733e[_0x265bcc(0x192)],_0xfbfc1e=[],_0x4ad9e0=0x0;_0x4ad9e0<_0x33c5e5;_0x4ad9e0++)_0xfbfc1e[_0x4ad9e0>>>0x2]|=(_0x2b733e[_0x265bcc(0x42a)](_0x4ad9e0)&0xff)<<0x18-_0x4ad9e0%0x4*0x8;return new _0x40c557['init'](_0xfbfc1e,_0x33c5e5);}},_0x77d3e0=_0x2bc150[_0x190275(0x431)]={'stringify':function(_0x14a243){var _0x3fb3ab=_0x190275;try{return decodeURIComponent(escape(_0x1d933b[_0x3fb3ab(0x283)](_0x14a243)));}catch{throw new Error(_0x3fb3ab(0x3ed));}},'parse':function(_0x27796b){var _0x59ea14=_0x190275;return _0x1d933b[_0x59ea14(0x3bc)](unescape(encodeURIComponent(_0x27796b)));}},_0x256581=_0x425b5a['BufferedBlockAlgorithm']=_0x28182b[_0x190275(0x3c8)]({'reset':function(){var _0x56d22d=_0x190275;this[_0x56d22d(0x325)]=new _0x40c557[(_0x56d22d(0x24e))](),this[_0x56d22d(0x442)]=0x0;},'_append':function(_0xd3320d){var _0x354bc7=_0x190275;typeof _0xd3320d==_0x354bc7(0x32b)&&(_0xd3320d=_0x77d3e0[_0x354bc7(0x3bc)](_0xd3320d)),this[_0x354bc7(0x325)]['concat'](_0xd3320d),this[_0x354bc7(0x442)]+=_0xd3320d[_0x354bc7(0x152)];},'_process':function(_0x4d4d4a){var _0x504b1e=_0x190275,_0x3843d8,_0x4ae116=this['_data'],_0x3474d0=_0x4ae116[_0x504b1e(0x2f6)],_0x3feca1=_0x4ae116[_0x504b1e(0x152)],_0x500cb2=this['blockSize'],_0x4f5769=_0x500cb2*0x4,_0xc3be2d=_0x3feca1/_0x4f5769;_0x4d4d4a?_0xc3be2d=_0x142fa2[_0x504b1e(0x2f2)](_0xc3be2d):_0xc3be2d=_0x142fa2[_0x504b1e(0x226)]((_0xc3be2d|0x0)-this[_0x504b1e(0x1d4)],0x0);var _0x204952=_0xc3be2d*_0x500cb2,_0x34db3c=_0x142fa2[_0x504b1e(0x2d9)](_0x204952*0x4,_0x3feca1);if(_0x204952){for(var _0xc181fb=0x0;_0xc181fb<_0x204952;_0xc181fb+=_0x500cb2)this[_0x504b1e(0x3f5)](_0x3474d0,_0xc181fb);_0x3843d8=_0x3474d0[_0x504b1e(0x2dd)](0x0,_0x204952),_0x4ae116[_0x504b1e(0x152)]-=_0x34db3c;}return new _0x40c557[(_0x504b1e(0x24e))](_0x3843d8,_0x34db3c);},'clone':function(){var _0x2dc0b5=_0x190275,_0x42fe8a=_0x28182b[_0x2dc0b5(0x2be)][_0x2dc0b5(0x29a)](this);return _0x42fe8a['_data']=this['_data'][_0x2dc0b5(0x2be)](),_0x42fe8a;},'_minBufferSize':0x0});_0x425b5a[_0x190275(0x163)]=_0x256581[_0x190275(0x3c8)]({'cfg':_0x28182b['extend'](),'init':function(_0x1a448f){var _0x33c29c=_0x190275;this['cfg']=this[_0x33c29c(0x29b)][_0x33c29c(0x3c8)](_0x1a448f),this[_0x33c29c(0x402)]();},'reset':function(){var _0x1e3665=_0x190275;_0x256581['reset'][_0x1e3665(0x29a)](this),this[_0x1e3665(0x302)]();},'update':function(_0x41a12a){var _0x2609b5=_0x190275;return this[_0x2609b5(0x288)](_0x41a12a),this[_0x2609b5(0x2e4)](),this;},'finalize':function(_0x11f46e){var _0x21a76f=_0x190275;_0x11f46e&&this[_0x21a76f(0x288)](_0x11f46e);var _0x302e7d=this[_0x21a76f(0x305)]();return _0x302e7d;},'blockSize':0x10,'_createHelper':function(_0x398e15){return function(_0x2ac817,_0x3960f7){var _0x365a29=_0x3c6c;return new _0x398e15[(_0x365a29(0x24e))](_0x3960f7)[_0x365a29(0x3cc)](_0x2ac817);};},'_createHmacHelper':function(_0x5b7791){return function(_0xe47b1e,_0x58ebd1){var _0x4b87e8=_0x3c6c;return new _0x5ea179['HMAC'][(_0x4b87e8(0x24e))](_0x5b7791,_0x58ebd1)['finalize'](_0xe47b1e);};}});var _0x5ea179=_0x1c4613[_0x190275(0x3be)]={};return _0x1c4613;}(Math);return _0x474c5e;}));}(We)),We[_0x1ad1cd(0x35b)];}var Ge={'exports':{}},hn=Ge[_0xe51f24(0x35b)],zt;function Ri(){var _0x5c0d9b=_0xe51f24;return zt||(zt=0x1,function(_0x288144,_0x35ed71){(function(_0x122613,_0x23ea83){var _0x5c7b8d=_0x3c6c;_0x288144[_0x5c7b8d(0x35b)]=_0x23ea83(te());}(hn,function(_0x2c57ed){var _0x23cd44=_0x3c6c;return(function(){var _0x3e010d=_0x3c6c,_0x2f3366=_0x2c57ed,_0xe8fc1b=_0x2f3366[_0x3e010d(0x262)],_0x5e2634=_0xe8fc1b[_0x3e010d(0x424)],_0x59fccf=_0x2f3366[_0x3e010d(0x267)];_0x59fccf['Base64']={'stringify':function(_0x2d11e1){var _0x1818ae=_0x3e010d,_0x5e82a1=_0x2d11e1[_0x1818ae(0x2f6)],_0x3d56f5=_0x2d11e1['sigBytes'],_0xafb5d8=this[_0x1818ae(0x1f8)];_0x2d11e1[_0x1818ae(0x1ce)]();for(var _0x51000a=[],_0x1677dd=0x0;_0x1677dd<_0x3d56f5;_0x1677dd+=0x3)for(var _0x300eb6=_0x5e82a1[_0x1677dd>>>0x2]>>>0x18-_0x1677dd%0x4*0x8&0xff,_0xaae03b=_0x5e82a1[_0x1677dd+0x1>>>0x2]>>>0x18-(_0x1677dd+0x1)%0x4*0x8&0xff,_0x45ddc0=_0x5e82a1[_0x1677dd+0x2>>>0x2]>>>0x18-(_0x1677dd+0x2)%0x4*0x8&0xff,_0x5771bc=_0x300eb6<<0x10|_0xaae03b<<0x8|_0x45ddc0,_0x4b9589=0x0;_0x4b9589<0x4&&_0x1677dd+_0x4b9589*0.75<_0x3d56f5;_0x4b9589++)_0x51000a[_0x1818ae(0x27f)](_0xafb5d8['charAt'](_0x5771bc>>>0x6*(0x3-_0x4b9589)&0x3f));var _0x324b45=_0xafb5d8[_0x1818ae(0x31a)](0x40);if(_0x324b45){for(;_0x51000a[_0x1818ae(0x192)]%0x4;)_0x51000a[_0x1818ae(0x27f)](_0x324b45);}return _0x51000a[_0x1818ae(0x207)]('');},'parse':function(_0x3b1705){var _0x1c5ca8=_0x3e010d,_0x1ac638=_0x3b1705[_0x1c5ca8(0x192)],_0x2a40e3=this[_0x1c5ca8(0x1f8)],_0x404219=this[_0x1c5ca8(0x3bd)];if(!_0x404219){_0x404219=this[_0x1c5ca8(0x3bd)]=[];for(var _0x257d92=0x0;_0x257d92<_0x2a40e3['length'];_0x257d92++)_0x404219[_0x2a40e3[_0x1c5ca8(0x42a)](_0x257d92)]=_0x257d92;}var _0x38bd8e=_0x2a40e3[_0x1c5ca8(0x31a)](0x40);if(_0x38bd8e){var _0x3d2310=_0x3b1705['indexOf'](_0x38bd8e);_0x3d2310!==-0x1&&(_0x1ac638=_0x3d2310);}return _0x5cec12(_0x3b1705,_0x1ac638,_0x404219);},'_map':_0x3e010d(0x315)};function _0x5cec12(_0x43f49c,_0xb78bde,_0x164c16){var _0x4ae83d=_0x3e010d;for(var _0x5c993c=[],_0x543d7a=0x0,_0x51a071=0x0;_0x51a071<_0xb78bde;_0x51a071++)if(_0x51a071%0x4){var _0x44fd74=_0x164c16[_0x43f49c[_0x4ae83d(0x42a)](_0x51a071-0x1)]<<_0x51a071%0x4*0x2,_0x5c3f4d=_0x164c16[_0x43f49c[_0x4ae83d(0x42a)](_0x51a071)]>>>0x6-_0x51a071%0x4*0x2,_0x25ced8=_0x44fd74|_0x5c3f4d;_0x5c993c[_0x543d7a>>>0x2]|=_0x25ced8<<0x18-_0x543d7a%0x4*0x8,_0x543d7a++;}return _0x5e2634[_0x4ae83d(0x3fa)](_0x5c993c,_0x543d7a);}}()),_0x2c57ed[_0x23cd44(0x267)]['Base64'];}));}(Ge)),Ge[_0x5c0d9b(0x35b)];}var Ye={'exports':{}},_n=Ye[_0xe51f24(0x35b)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x239496,_0x576116){(function(_0x4a1ccc,_0xd80863){_0x239496['exports']=_0xd80863(te());}(_n,function(_0x16031a){var _0x1bb410=_0x3c6c;return function(_0x509f4e){var _0xcece9c=_0x3c6c,_0x125128=_0x16031a,_0x163056=_0x125128[_0xcece9c(0x262)],_0x4d9d4f=_0x163056[_0xcece9c(0x424)],_0x2ab184=_0x163056[_0xcece9c(0x163)],_0x3e1cc4=_0x125128['algo'],_0xb677e9=[];(function(){var _0x12c75b=_0xcece9c;for(var _0x596a3=0x0;_0x596a3<0x40;_0x596a3++)_0xb677e9[_0x596a3]=_0x509f4e[_0x12c75b(0x250)](_0x509f4e[_0x12c75b(0x25a)](_0x596a3+0x1))*0x100000000|0x0;}());var _0x496292=_0x3e1cc4[_0xcece9c(0x3db)]=_0x2ab184[_0xcece9c(0x3c8)]({'_doReset':function(){var _0x583988=_0xcece9c;this['_hash']=new _0x4d9d4f[(_0x583988(0x24e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4aaa6d,_0x451dbe){var _0x54c251=_0xcece9c;for(var _0x320459=0x0;_0x320459<0x10;_0x320459++){var _0x5d6049=_0x451dbe+_0x320459,_0x71f86a=_0x4aaa6d[_0x5d6049];_0x4aaa6d[_0x5d6049]=(_0x71f86a<<0x8|_0x71f86a>>>0x18)&0xff00ff|(_0x71f86a<<0x18|_0x71f86a>>>0x8)&0xff00ff00;}var _0x3cbcb8=this[_0x54c251(0x361)][_0x54c251(0x2f6)],_0x3064f2=_0x4aaa6d[_0x451dbe+0x0],_0x1b3618=_0x4aaa6d[_0x451dbe+0x1],_0x270b2a=_0x4aaa6d[_0x451dbe+0x2],_0x5d74e5=_0x4aaa6d[_0x451dbe+0x3],_0x352d40=_0x4aaa6d[_0x451dbe+0x4],_0x2bb93c=_0x4aaa6d[_0x451dbe+0x5],_0x1cfbf2=_0x4aaa6d[_0x451dbe+0x6],_0xe84fa4=_0x4aaa6d[_0x451dbe+0x7],_0x52c943=_0x4aaa6d[_0x451dbe+0x8],_0x1573bd=_0x4aaa6d[_0x451dbe+0x9],_0x240b57=_0x4aaa6d[_0x451dbe+0xa],_0x1065c6=_0x4aaa6d[_0x451dbe+0xb],_0x406954=_0x4aaa6d[_0x451dbe+0xc],_0x26e356=_0x4aaa6d[_0x451dbe+0xd],_0x336272=_0x4aaa6d[_0x451dbe+0xe],_0x3584d5=_0x4aaa6d[_0x451dbe+0xf],_0x45dedd=_0x3cbcb8[0x0],_0x208c5c=_0x3cbcb8[0x1],_0x2043ec=_0x3cbcb8[0x2],_0x40fec2=_0x3cbcb8[0x3];_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x3064f2,0x7,_0xb677e9[0x0]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1b3618,0xc,_0xb677e9[0x1]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x270b2a,0x11,_0xb677e9[0x2]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x5d74e5,0x16,_0xb677e9[0x3]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x352d40,0x7,_0xb677e9[0x4]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x2bb93c,0xc,_0xb677e9[0x5]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1cfbf2,0x11,_0xb677e9[0x6]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0xe84fa4,0x16,_0xb677e9[0x7]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x52c943,0x7,_0xb677e9[0x8]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1573bd,0xc,_0xb677e9[0x9]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x240b57,0x11,_0xb677e9[0xa]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1065c6,0x16,_0xb677e9[0xb]),_0x45dedd=_0x5f266c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x406954,0x7,_0xb677e9[0xc]),_0x40fec2=_0x5f266c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x26e356,0xc,_0xb677e9[0xd]),_0x2043ec=_0x5f266c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x336272,0x11,_0xb677e9[0xe]),_0x208c5c=_0x5f266c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x3584d5,0x16,_0xb677e9[0xf]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1b3618,0x5,_0xb677e9[0x10]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1cfbf2,0x9,_0xb677e9[0x11]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1065c6,0xe,_0xb677e9[0x12]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x3064f2,0x14,_0xb677e9[0x13]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x2bb93c,0x5,_0xb677e9[0x14]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x240b57,0x9,_0xb677e9[0x15]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x3584d5,0xe,_0xb677e9[0x16]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x352d40,0x14,_0xb677e9[0x17]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1573bd,0x5,_0xb677e9[0x18]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x336272,0x9,_0xb677e9[0x19]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x5d74e5,0xe,_0xb677e9[0x1a]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x52c943,0x14,_0xb677e9[0x1b]),_0x45dedd=_0x410e94(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x26e356,0x5,_0xb677e9[0x1c]),_0x40fec2=_0x410e94(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x270b2a,0x9,_0xb677e9[0x1d]),_0x2043ec=_0x410e94(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0xe84fa4,0xe,_0xb677e9[0x1e]),_0x208c5c=_0x410e94(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x406954,0x14,_0xb677e9[0x1f]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x2bb93c,0x4,_0xb677e9[0x20]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x52c943,0xb,_0xb677e9[0x21]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1065c6,0x10,_0xb677e9[0x22]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x336272,0x17,_0xb677e9[0x23]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1b3618,0x4,_0xb677e9[0x24]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x352d40,0xb,_0xb677e9[0x25]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0xe84fa4,0x10,_0xb677e9[0x26]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x240b57,0x17,_0xb677e9[0x27]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x26e356,0x4,_0xb677e9[0x28]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x3064f2,0xb,_0xb677e9[0x29]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x5d74e5,0x10,_0xb677e9[0x2a]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1cfbf2,0x17,_0xb677e9[0x2b]),_0x45dedd=_0x29726c(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x1573bd,0x4,_0xb677e9[0x2c]),_0x40fec2=_0x29726c(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x406954,0xb,_0xb677e9[0x2d]),_0x2043ec=_0x29726c(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x3584d5,0x10,_0xb677e9[0x2e]),_0x208c5c=_0x29726c(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x270b2a,0x17,_0xb677e9[0x2f]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x3064f2,0x6,_0xb677e9[0x30]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0xe84fa4,0xa,_0xb677e9[0x31]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x336272,0xf,_0xb677e9[0x32]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x2bb93c,0x15,_0xb677e9[0x33]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x406954,0x6,_0xb677e9[0x34]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x5d74e5,0xa,_0xb677e9[0x35]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x240b57,0xf,_0xb677e9[0x36]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1b3618,0x15,_0xb677e9[0x37]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x52c943,0x6,_0xb677e9[0x38]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x3584d5,0xa,_0xb677e9[0x39]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x1cfbf2,0xf,_0xb677e9[0x3a]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x26e356,0x15,_0xb677e9[0x3b]),_0x45dedd=_0x19c3fe(_0x45dedd,_0x208c5c,_0x2043ec,_0x40fec2,_0x352d40,0x6,_0xb677e9[0x3c]),_0x40fec2=_0x19c3fe(_0x40fec2,_0x45dedd,_0x208c5c,_0x2043ec,_0x1065c6,0xa,_0xb677e9[0x3d]),_0x2043ec=_0x19c3fe(_0x2043ec,_0x40fec2,_0x45dedd,_0x208c5c,_0x270b2a,0xf,_0xb677e9[0x3e]),_0x208c5c=_0x19c3fe(_0x208c5c,_0x2043ec,_0x40fec2,_0x45dedd,_0x1573bd,0x15,_0xb677e9[0x3f]),_0x3cbcb8[0x0]=_0x3cbcb8[0x0]+_0x45dedd|0x0,_0x3cbcb8[0x1]=_0x3cbcb8[0x1]+_0x208c5c|0x0,_0x3cbcb8[0x2]=_0x3cbcb8[0x2]+_0x2043ec|0x0,_0x3cbcb8[0x3]=_0x3cbcb8[0x3]+_0x40fec2|0x0;},'_doFinalize':function(){var _0x4f7e3c=_0xcece9c,_0x117c51=this[_0x4f7e3c(0x325)],_0x43ed32=_0x117c51[_0x4f7e3c(0x2f6)],_0x25e5a3=this[_0x4f7e3c(0x442)]*0x8,_0x485a25=_0x117c51[_0x4f7e3c(0x152)]*0x8;_0x43ed32[_0x485a25>>>0x5]|=0x80<<0x18-_0x485a25%0x20;var _0x20e37f=_0x509f4e['floor'](_0x25e5a3/0x100000000),_0x374db3=_0x25e5a3;_0x43ed32[(_0x485a25+0x40>>>0x9<<0x4)+0xf]=(_0x20e37f<<0x8|_0x20e37f>>>0x18)&0xff00ff|(_0x20e37f<<0x18|_0x20e37f>>>0x8)&0xff00ff00,_0x43ed32[(_0x485a25+0x40>>>0x9<<0x4)+0xe]=(_0x374db3<<0x8|_0x374db3>>>0x18)&0xff00ff|(_0x374db3<<0x18|_0x374db3>>>0x8)&0xff00ff00,_0x117c51[_0x4f7e3c(0x152)]=(_0x43ed32[_0x4f7e3c(0x192)]+0x1)*0x4,this[_0x4f7e3c(0x2e4)]();for(var _0x27daa5=this[_0x4f7e3c(0x361)],_0x95b160=_0x27daa5[_0x4f7e3c(0x2f6)],_0x3985ea=0x0;_0x3985ea<0x4;_0x3985ea++){var _0x21ec77=_0x95b160[_0x3985ea];_0x95b160[_0x3985ea]=(_0x21ec77<<0x8|_0x21ec77>>>0x18)&0xff00ff|(_0x21ec77<<0x18|_0x21ec77>>>0x8)&0xff00ff00;}return _0x27daa5;},'clone':function(){var _0x244c32=_0xcece9c,_0x2adac7=_0x2ab184['clone'][_0x244c32(0x29a)](this);return _0x2adac7[_0x244c32(0x361)]=this[_0x244c32(0x361)][_0x244c32(0x2be)](),_0x2adac7;}});function _0x5f266c(_0x4d10f2,_0x5906c7,_0x1ae7c7,_0xa8f5a5,_0x226e62,_0x166023,_0x299c2a){var _0x2b16c5=_0x4d10f2+(_0x5906c7&_0x1ae7c7|~_0x5906c7&_0xa8f5a5)+_0x226e62+_0x299c2a;return(_0x2b16c5<<_0x166023|_0x2b16c5>>>0x20-_0x166023)+_0x5906c7;}function _0x410e94(_0x5524a6,_0xf50265,_0x376622,_0x6fb3a1,_0x3bb8e7,_0xd5b158,_0x30cc7c){var _0x364cf2=_0x5524a6+(_0xf50265&_0x6fb3a1|_0x376622&~_0x6fb3a1)+_0x3bb8e7+_0x30cc7c;return(_0x364cf2<<_0xd5b158|_0x364cf2>>>0x20-_0xd5b158)+_0xf50265;}function _0x29726c(_0x43eba6,_0x1a045c,_0xc7ae68,_0x45f4bc,_0x5648be,_0x197c95,_0x18611b){var _0x1cb4db=_0x43eba6+(_0x1a045c^_0xc7ae68^_0x45f4bc)+_0x5648be+_0x18611b;return(_0x1cb4db<<_0x197c95|_0x1cb4db>>>0x20-_0x197c95)+_0x1a045c;}function _0x19c3fe(_0x559233,_0xbbbd73,_0x637b4a,_0x2410c9,_0x160d80,_0x36d074,_0x2fc410){var _0x584caf=_0x559233+(_0x637b4a^(_0xbbbd73|~_0x2410c9))+_0x160d80+_0x2fc410;return(_0x584caf<<_0x36d074|_0x584caf>>>0x20-_0x36d074)+_0xbbbd73;}_0x125128[_0xcece9c(0x3db)]=_0x2ab184[_0xcece9c(0x34c)](_0x496292),_0x125128['HmacMD5']=_0x2ab184['_createHmacHelper'](_0x496292);}(Math),_0x16031a[_0x1bb410(0x3db)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0xe51f24(0x35b)],Xt;function dn(){return Xt||(Xt=0x1,function(_0x55803e,_0x57f0c1){(function(_0x38eb52,_0x373cec){var _0x190851=_0x3c6c;_0x55803e[_0x190851(0x35b)]=_0x373cec(te());}(un,function(_0x273b87){var _0x1cd2ea=_0x3c6c;return(function(){var _0x4ffab4=_0x3c6c,_0x3a63a8=_0x273b87,_0x322631=_0x3a63a8['lib'],_0x1e23c5=_0x322631['WordArray'],_0x1302f0=_0x322631[_0x4ffab4(0x163)],_0x5eb000=_0x3a63a8[_0x4ffab4(0x3be)],_0x4bf240=[],_0x5ce9cc=_0x5eb000['SHA1']=_0x1302f0[_0x4ffab4(0x3c8)]({'_doReset':function(){var _0xcd482=_0x4ffab4;this[_0xcd482(0x361)]=new _0x1e23c5[(_0xcd482(0x24e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x50705c,_0x4568af){var _0x9fcd83=_0x4ffab4;for(var _0x4f2fc5=this[_0x9fcd83(0x361)][_0x9fcd83(0x2f6)],_0x463492=_0x4f2fc5[0x0],_0x110313=_0x4f2fc5[0x1],_0x10c19a=_0x4f2fc5[0x2],_0x3b9781=_0x4f2fc5[0x3],_0x1b694d=_0x4f2fc5[0x4],_0x568ada=0x0;_0x568ada<0x50;_0x568ada++){if(_0x568ada<0x10)_0x4bf240[_0x568ada]=_0x50705c[_0x4568af+_0x568ada]|0x0;else{var _0x4a1178=_0x4bf240[_0x568ada-0x3]^_0x4bf240[_0x568ada-0x8]^_0x4bf240[_0x568ada-0xe]^_0x4bf240[_0x568ada-0x10];_0x4bf240[_0x568ada]=_0x4a1178<<0x1|_0x4a1178>>>0x1f;}var _0x5a4d66=(_0x463492<<0x5|_0x463492>>>0x1b)+_0x1b694d+_0x4bf240[_0x568ada];_0x568ada<0x14?_0x5a4d66+=(_0x110313&_0x10c19a|~_0x110313&_0x3b9781)+0x5a827999:_0x568ada<0x28?_0x5a4d66+=(_0x110313^_0x10c19a^_0x3b9781)+0x6ed9eba1:_0x568ada<0x3c?_0x5a4d66+=(_0x110313&_0x10c19a|_0x110313&_0x3b9781|_0x10c19a&_0x3b9781)-0x70e44324:_0x5a4d66+=(_0x110313^_0x10c19a^_0x3b9781)-0x359d3e2a,_0x1b694d=_0x3b9781,_0x3b9781=_0x10c19a,_0x10c19a=_0x110313<<0x1e|_0x110313>>>0x2,_0x110313=_0x463492,_0x463492=_0x5a4d66;}_0x4f2fc5[0x0]=_0x4f2fc5[0x0]+_0x463492|0x0,_0x4f2fc5[0x1]=_0x4f2fc5[0x1]+_0x110313|0x0,_0x4f2fc5[0x2]=_0x4f2fc5[0x2]+_0x10c19a|0x0,_0x4f2fc5[0x3]=_0x4f2fc5[0x3]+_0x3b9781|0x0,_0x4f2fc5[0x4]=_0x4f2fc5[0x4]+_0x1b694d|0x0;},'_doFinalize':function(){var _0x3782a5=_0x4ffab4,_0x334ba7=this[_0x3782a5(0x325)],_0x59a743=_0x334ba7['words'],_0x55b799=this['_nDataBytes']*0x8,_0xa03e63=_0x334ba7[_0x3782a5(0x152)]*0x8;return _0x59a743[_0xa03e63>>>0x5]|=0x80<<0x18-_0xa03e63%0x20,_0x59a743[(_0xa03e63+0x40>>>0x9<<0x4)+0xe]=Math[_0x3782a5(0x1ec)](_0x55b799/0x100000000),_0x59a743[(_0xa03e63+0x40>>>0x9<<0x4)+0xf]=_0x55b799,_0x334ba7['sigBytes']=_0x59a743[_0x3782a5(0x192)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x578601=_0x4ffab4,_0x234154=_0x1302f0['clone'][_0x578601(0x29a)](this);return _0x234154[_0x578601(0x361)]=this[_0x578601(0x361)][_0x578601(0x2be)](),_0x234154;}});_0x3a63a8[_0x4ffab4(0x344)]=_0x1302f0['_createHelper'](_0x5ce9cc),_0x3a63a8[_0x4ffab4(0x403)]=_0x1302f0[_0x4ffab4(0x27c)](_0x5ce9cc);}()),_0x273b87[_0x1cd2ea(0x344)];}));}(qe)),qe['exports'];}var ze={'exports':{}},fn=ze[_0xe51f24(0x35b)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x40830a,_0x172a50){(function(_0x1ff650,_0x5cae46){var _0x2fdb07=_0x3c6c;_0x40830a[_0x2fdb07(0x35b)]=_0x5cae46(te());}(fn,function(_0x185566){(function(){var _0x3a78aa=_0x3c6c,_0x409331=_0x185566,_0x238573=_0x409331['lib'],_0x2b1875=_0x238573[_0x3a78aa(0x175)],_0x4225c7=_0x409331[_0x3a78aa(0x267)],_0x6f02d9=_0x4225c7[_0x3a78aa(0x431)],_0x237712=_0x409331['algo'];_0x237712['HMAC']=_0x2b1875[_0x3a78aa(0x3c8)]({'init':function(_0x3fefd2,_0x49cd38){var _0x1d48db=_0x3a78aa;_0x3fefd2=this[_0x1d48db(0x321)]=new _0x3fefd2[(_0x1d48db(0x24e))](),typeof _0x49cd38==_0x1d48db(0x32b)&&(_0x49cd38=_0x6f02d9[_0x1d48db(0x3bc)](_0x49cd38));var _0x238595=_0x3fefd2[_0x1d48db(0x1e9)],_0x47b493=_0x238595*0x4;_0x49cd38[_0x1d48db(0x152)]>_0x47b493&&(_0x49cd38=_0x3fefd2[_0x1d48db(0x3cc)](_0x49cd38)),_0x49cd38[_0x1d48db(0x1ce)]();for(var _0x355484=this[_0x1d48db(0x384)]=_0x49cd38['clone'](),_0x5808ba=this[_0x1d48db(0x38e)]=_0x49cd38['clone'](),_0x586a73=_0x355484['words'],_0x546000=_0x5808ba['words'],_0x38345c=0x0;_0x38345c<_0x238595;_0x38345c++)_0x586a73[_0x38345c]^=0x5c5c5c5c,_0x546000[_0x38345c]^=0x36363636;_0x355484['sigBytes']=_0x5808ba[_0x1d48db(0x152)]=_0x47b493,this['reset']();},'reset':function(){var _0x12b54e=_0x3a78aa,_0x6f9217=this['_hasher'];_0x6f9217[_0x12b54e(0x402)](),_0x6f9217[_0x12b54e(0x37f)](this[_0x12b54e(0x38e)]);},'update':function(_0x1997c6){var _0x39bf36=_0x3a78aa;return this[_0x39bf36(0x321)][_0x39bf36(0x37f)](_0x1997c6),this;},'finalize':function(_0x3a30ba){var _0x4fd8df=_0x3a78aa,_0x3432de=this[_0x4fd8df(0x321)],_0x1046fe=_0x3432de[_0x4fd8df(0x3cc)](_0x3a30ba);_0x3432de[_0x4fd8df(0x402)]();var _0xc24cae=_0x3432de[_0x4fd8df(0x3cc)](this[_0x4fd8df(0x384)][_0x4fd8df(0x2be)]()[_0x4fd8df(0x322)](_0x1046fe));return _0xc24cae;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0xe51f24(0x35b)],Qt;function Oi(){var _0x183ef1=_0xe51f24;return Qt||(Qt=0x1,function(_0x3c8216,_0x28ea17){(function(_0x4f024e,_0x339276,_0x5d2880){_0x3c8216['exports']=_0x339276(te(),dn(),vn());}(pn,function(_0xee3175){return(function(){var _0x390ba0=_0x3c6c,_0x44bebf=_0xee3175,_0xe41938=_0x44bebf[_0x390ba0(0x262)],_0x56e05a=_0xe41938[_0x390ba0(0x175)],_0x3c83fb=_0xe41938['WordArray'],_0x5ac9c8=_0x44bebf[_0x390ba0(0x3be)],_0x26f6a7=_0x5ac9c8[_0x390ba0(0x3db)],_0x471a72=_0x5ac9c8[_0x390ba0(0x3fc)]=_0x56e05a[_0x390ba0(0x3c8)]({'cfg':_0x56e05a['extend']({'keySize':0x80/0x20,'hasher':_0x26f6a7,'iterations':0x1}),'init':function(_0x119c92){var _0x20920e=_0x390ba0;this[_0x20920e(0x29b)]=this[_0x20920e(0x29b)][_0x20920e(0x3c8)](_0x119c92);},'compute':function(_0x162e80,_0x4ae6ca){var _0x5afec2=_0x390ba0;for(var _0x59e790,_0x56ca8b=this['cfg'],_0x2271d0=_0x56ca8b[_0x5afec2(0x1b7)][_0x5afec2(0x3fa)](),_0x5b65b7=_0x3c83fb[_0x5afec2(0x3fa)](),_0xefa289=_0x5b65b7[_0x5afec2(0x2f6)],_0x4f9e08=_0x56ca8b['keySize'],_0x9e8077=_0x56ca8b['iterations'];_0xefa289[_0x5afec2(0x192)]<_0x4f9e08;){_0x59e790&&_0x2271d0[_0x5afec2(0x37f)](_0x59e790),_0x59e790=_0x2271d0[_0x5afec2(0x37f)](_0x162e80)[_0x5afec2(0x3cc)](_0x4ae6ca),_0x2271d0[_0x5afec2(0x402)]();for(var _0x13802e=0x1;_0x13802e<_0x9e8077;_0x13802e++)_0x59e790=_0x2271d0[_0x5afec2(0x3cc)](_0x59e790),_0x2271d0[_0x5afec2(0x402)]();_0x5b65b7['concat'](_0x59e790);}return _0x5b65b7[_0x5afec2(0x152)]=_0x4f9e08*0x4,_0x5b65b7;}});_0x44bebf[_0x390ba0(0x3fc)]=function(_0xff506b,_0x486bc3,_0x565f0d){return _0x471a72['create'](_0x565f0d)['compute'](_0xff506b,_0x486bc3);};}()),_0xee3175['EvpKDF'];}));}(Ke)),Ke[_0x183ef1(0x35b)];}var Je={'exports':{}},mn=Je[_0xe51f24(0x35b)],ei;function bi(){return ei||(ei=0x1,function(_0x285290,_0x3ecb39){(function(_0x582169,_0x544f8e,_0x500c10){var _0x32f360=_0x3c6c;_0x285290[_0x32f360(0x35b)]=_0x544f8e(te(),Oi());}(mn,function(_0x43b866){var _0x55c707=_0x3c6c;_0x43b866[_0x55c707(0x262)][_0x55c707(0x41a)]||function(_0x246ca1){var _0x4b31af=_0x55c707,_0x13e6ab=_0x43b866,_0x204ebd=_0x13e6ab[_0x4b31af(0x262)],_0x235741=_0x204ebd[_0x4b31af(0x175)],_0x5d3e77=_0x204ebd['WordArray'],_0x23f689=_0x204ebd['BufferedBlockAlgorithm'],_0x25806f=_0x13e6ab[_0x4b31af(0x267)];_0x25806f[_0x4b31af(0x431)];var _0x192e32=_0x25806f[_0x4b31af(0x42d)],_0x39dda6=_0x13e6ab[_0x4b31af(0x3be)],_0x5b2820=_0x39dda6[_0x4b31af(0x3fc)],_0x3ce13c=_0x204ebd[_0x4b31af(0x41a)]=_0x23f689[_0x4b31af(0x3c8)]({'cfg':_0x235741['extend'](),'createEncryptor':function(_0x5e0962,_0x85014e){var _0x15e9f5=_0x4b31af;return this[_0x15e9f5(0x3fa)](this[_0x15e9f5(0x383)],_0x5e0962,_0x85014e);},'createDecryptor':function(_0x1d4105,_0x9639da){var _0x13b6d2=_0x4b31af;return this['create'](this[_0x13b6d2(0x263)],_0x1d4105,_0x9639da);},'init':function(_0xbb1f85,_0x315115,_0x7639b6){var _0x53e393=_0x4b31af;this[_0x53e393(0x29b)]=this['cfg'][_0x53e393(0x3c8)](_0x7639b6),this[_0x53e393(0x3d8)]=_0xbb1f85,this[_0x53e393(0x39b)]=_0x315115,this['reset']();},'reset':function(){var _0x492af3=_0x4b31af;_0x23f689['reset'][_0x492af3(0x29a)](this),this[_0x492af3(0x302)]();},'process':function(_0x623869){var _0x1e3ff9=_0x4b31af;return this[_0x1e3ff9(0x288)](_0x623869),this['_process']();},'finalize':function(_0x2665f7){_0x2665f7&&this['_append'](_0x2665f7);var _0x50475b=this['_doFinalize']();return _0x50475b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3d0f10(_0x59e0d){var _0x55fcd4=_0x3c6c;return typeof _0x59e0d==_0x55fcd4(0x32b)?_0x2b7968:_0x2c69ed;}return function(_0x22b8f4){return{'encrypt':function(_0x48179a,_0x303486,_0x2b06e2){var _0x79f69=_0x3c6c;return _0x3d0f10(_0x303486)[_0x79f69(0x1f4)](_0x22b8f4,_0x48179a,_0x303486,_0x2b06e2);},'decrypt':function(_0x514202,_0x2c600f,_0x47be2e){return _0x3d0f10(_0x2c600f)['decrypt'](_0x22b8f4,_0x514202,_0x2c600f,_0x47be2e);}};};}())});_0x204ebd[_0x4b31af(0x169)]=_0x3ce13c[_0x4b31af(0x3c8)]({'_doFinalize':function(){var _0x14244c=_0x4b31af,_0x22ba66=this[_0x14244c(0x2e4)](!0x0);return _0x22ba66;},'blockSize':0x1});var _0x246a4b=_0x13e6ab[_0x4b31af(0x433)]={},_0x4b2fdb=_0x204ebd[_0x4b31af(0x363)]=_0x235741['extend']({'createEncryptor':function(_0x340063,_0x25330b){var _0x58a55e=_0x4b31af;return this[_0x58a55e(0x18e)][_0x58a55e(0x3fa)](_0x340063,_0x25330b);},'createDecryptor':function(_0x414330,_0x1ab32c){var _0x954234=_0x4b31af;return this[_0x954234(0x20c)]['create'](_0x414330,_0x1ab32c);},'init':function(_0x203f66,_0x46fd0e){var _0x3656a1=_0x4b31af;this['_cipher']=_0x203f66,this[_0x3656a1(0x255)]=_0x46fd0e;}}),_0x3e1811=_0x246a4b[_0x4b31af(0x389)]=(function(){var _0x18ca10=_0x4b31af,_0x19d416=_0x4b2fdb[_0x18ca10(0x3c8)]();_0x19d416[_0x18ca10(0x18e)]=_0x19d416[_0x18ca10(0x3c8)]({'processBlock':function(_0xae2077,_0x538305){var _0x15bda0=_0x18ca10,_0x11f5e5=this['_cipher'],_0xbb0831=_0x11f5e5[_0x15bda0(0x1e9)];_0x2caedd[_0x15bda0(0x29a)](this,_0xae2077,_0x538305,_0xbb0831),_0x11f5e5[_0x15bda0(0x3c4)](_0xae2077,_0x538305),this['_prevBlock']=_0xae2077['slice'](_0x538305,_0x538305+_0xbb0831);}}),_0x19d416[_0x18ca10(0x20c)]=_0x19d416[_0x18ca10(0x3c8)]({'processBlock':function(_0x154655,_0x316ddf){var _0x36a964=_0x18ca10,_0x453e84=this[_0x36a964(0x29c)],_0x3b137f=_0x453e84[_0x36a964(0x1e9)],_0x5d6887=_0x154655[_0x36a964(0x1ee)](_0x316ddf,_0x316ddf+_0x3b137f);_0x453e84[_0x36a964(0x19a)](_0x154655,_0x316ddf),_0x2caedd[_0x36a964(0x29a)](this,_0x154655,_0x316ddf,_0x3b137f),this['_prevBlock']=_0x5d6887;}});function _0x2caedd(_0x16116d,_0x69977a,_0x5b8473){var _0x50edaa=_0x18ca10,_0x4d79a9,_0x74b4ca=this[_0x50edaa(0x255)];_0x74b4ca?(_0x4d79a9=_0x74b4ca,this[_0x50edaa(0x255)]=_0x246ca1):_0x4d79a9=this[_0x50edaa(0x39a)];for(var _0x5dc9c2=0x0;_0x5dc9c2<_0x5b8473;_0x5dc9c2++)_0x16116d[_0x69977a+_0x5dc9c2]^=_0x4d79a9[_0x5dc9c2];}return _0x19d416;}()),_0x3e371f=_0x13e6ab[_0x4b31af(0x445)]={},_0x22aa26=_0x3e371f[_0x4b31af(0x2e0)]={'pad':function(_0x53db79,_0x44610f){var _0x11b94c=_0x4b31af;for(var _0x1906d6=_0x44610f*0x4,_0x28e167=_0x1906d6-_0x53db79[_0x11b94c(0x152)]%_0x1906d6,_0x345ded=_0x28e167<<0x18|_0x28e167<<0x10|_0x28e167<<0x8|_0x28e167,_0x4589ed=[],_0x54bdbd=0x0;_0x54bdbd<_0x28e167;_0x54bdbd+=0x4)_0x4589ed[_0x11b94c(0x27f)](_0x345ded);var _0x2cf3af=_0x5d3e77[_0x11b94c(0x3fa)](_0x4589ed,_0x28e167);_0x53db79[_0x11b94c(0x322)](_0x2cf3af);},'unpad':function(_0x444ad3){var _0x2a3090=_0x4b31af,_0x1a6d76=_0x444ad3['words'][_0x444ad3[_0x2a3090(0x152)]-0x1>>>0x2]&0xff;_0x444ad3[_0x2a3090(0x152)]-=_0x1a6d76;}};_0x204ebd[_0x4b31af(0x1e4)]=_0x3ce13c[_0x4b31af(0x3c8)]({'cfg':_0x3ce13c[_0x4b31af(0x29b)][_0x4b31af(0x3c8)]({'mode':_0x3e1811,'padding':_0x22aa26}),'reset':function(){var _0x225522=_0x4b31af,_0x3ec5d3;_0x3ce13c['reset'][_0x225522(0x29a)](this);var _0x4cf5d5=this[_0x225522(0x29b)],_0x2a2c43=_0x4cf5d5['iv'],_0x17eee5=_0x4cf5d5[_0x225522(0x433)];this[_0x225522(0x3d8)]==this[_0x225522(0x383)]?_0x3ec5d3=_0x17eee5[_0x225522(0x278)]:(_0x3ec5d3=_0x17eee5[_0x225522(0x2cf)],this[_0x225522(0x1d4)]=0x1),this[_0x225522(0x249)]&&this[_0x225522(0x249)][_0x225522(0x20b)]==_0x3ec5d3?this[_0x225522(0x249)][_0x225522(0x24e)](this,_0x2a2c43&&_0x2a2c43[_0x225522(0x2f6)]):(this[_0x225522(0x249)]=_0x3ec5d3['call'](_0x17eee5,this,_0x2a2c43&&_0x2a2c43[_0x225522(0x2f6)]),this['_mode']['__creator']=_0x3ec5d3);},'_doProcessBlock':function(_0xc972b5,_0x4a98a6){var _0xe29240=_0x4b31af;this[_0xe29240(0x249)][_0xe29240(0x3ef)](_0xc972b5,_0x4a98a6);},'_doFinalize':function(){var _0x12ae90=_0x4b31af,_0x46fad1,_0x3f62b7=this[_0x12ae90(0x29b)][_0x12ae90(0x39d)];return this['_xformMode']==this[_0x12ae90(0x383)]?(_0x3f62b7[_0x12ae90(0x445)](this['_data'],this[_0x12ae90(0x1e9)]),_0x46fad1=this['_process'](!0x0)):(_0x46fad1=this['_process'](!0x0),_0x3f62b7[_0x12ae90(0x2cd)](_0x46fad1)),_0x46fad1;},'blockSize':0x80/0x20});var _0x493c6e=_0x204ebd[_0x4b31af(0x293)]=_0x235741[_0x4b31af(0x3c8)]({'init':function(_0x15e695){var _0x3c50b2=_0x4b31af;this[_0x3c50b2(0x414)](_0x15e695);},'toString':function(_0x35e280){var _0x2f2fe3=_0x4b31af;return(_0x35e280||this[_0x2f2fe3(0x352)])[_0x2f2fe3(0x283)](this);}}),_0x4bff7b=_0x13e6ab[_0x4b31af(0x1b5)]={},_0x3f8f75=_0x4bff7b[_0x4b31af(0x43f)]={'stringify':function(_0x54a898){var _0x1f88e2=_0x4b31af,_0x208892,_0x3f7aee=_0x54a898[_0x1f88e2(0x440)],_0x466a62=_0x54a898[_0x1f88e2(0x203)];return _0x466a62?_0x208892=_0x5d3e77[_0x1f88e2(0x3fa)]([0x53616c74,0x65645f5f])['concat'](_0x466a62)[_0x1f88e2(0x322)](_0x3f7aee):_0x208892=_0x3f7aee,_0x208892['toString'](_0x192e32);},'parse':function(_0x53fce5){var _0x4174d4=_0x4b31af,_0x1ec3a1,_0x5b3e46=_0x192e32[_0x4174d4(0x3bc)](_0x53fce5),_0x5ed883=_0x5b3e46[_0x4174d4(0x2f6)];return _0x5ed883[0x0]==0x53616c74&&_0x5ed883[0x1]==0x65645f5f&&(_0x1ec3a1=_0x5d3e77[_0x4174d4(0x3fa)](_0x5ed883[_0x4174d4(0x1ee)](0x2,0x4)),_0x5ed883[_0x4174d4(0x2dd)](0x0,0x4),_0x5b3e46[_0x4174d4(0x152)]-=0x10),_0x493c6e[_0x4174d4(0x3fa)]({'ciphertext':_0x5b3e46,'salt':_0x1ec3a1});}},_0x2c69ed=_0x204ebd[_0x4b31af(0x178)]=_0x235741[_0x4b31af(0x3c8)]({'cfg':_0x235741[_0x4b31af(0x3c8)]({'format':_0x3f8f75}),'encrypt':function(_0x5af3f1,_0xf88f56,_0x3e5ad4,_0x33d65a){var _0x3aebf8=_0x4b31af;_0x33d65a=this[_0x3aebf8(0x29b)]['extend'](_0x33d65a);var _0x553d5c=_0x5af3f1[_0x3aebf8(0x278)](_0x3e5ad4,_0x33d65a),_0x6de17c=_0x553d5c['finalize'](_0xf88f56),_0x41ac2d=_0x553d5c[_0x3aebf8(0x29b)];return _0x493c6e['create']({'ciphertext':_0x6de17c,'key':_0x3e5ad4,'iv':_0x41ac2d['iv'],'algorithm':_0x5af3f1,'mode':_0x41ac2d[_0x3aebf8(0x433)],'padding':_0x41ac2d[_0x3aebf8(0x39d)],'blockSize':_0x5af3f1[_0x3aebf8(0x1e9)],'formatter':_0x33d65a[_0x3aebf8(0x1b5)]});},'decrypt':function(_0x5cce25,_0x2807b7,_0x4664f2,_0xd79bb4){var _0x5b9055=_0x4b31af;_0xd79bb4=this[_0x5b9055(0x29b)][_0x5b9055(0x3c8)](_0xd79bb4),_0x2807b7=this[_0x5b9055(0x2b4)](_0x2807b7,_0xd79bb4[_0x5b9055(0x1b5)]);var _0x3150c7=_0x5cce25[_0x5b9055(0x2cf)](_0x4664f2,_0xd79bb4)['finalize'](_0x2807b7[_0x5b9055(0x440)]);return _0x3150c7;},'_parse':function(_0x479dc2,_0x160d70){var _0x114d8c=_0x4b31af;return typeof _0x479dc2==_0x114d8c(0x32b)?_0x160d70['parse'](_0x479dc2,this):_0x479dc2;}}),_0x3f0483=_0x13e6ab[_0x4b31af(0x3e7)]={},_0x21f01b=_0x3f0483[_0x4b31af(0x43f)]={'execute':function(_0x1b72b7,_0x5a6690,_0x809cac,_0xc415c,_0x404171){var _0xfa2f7c=_0x4b31af;if(_0xc415c||(_0xc415c=_0x5d3e77['random'](0x40/0x8)),_0x404171)var _0x22451b=_0x5b2820[_0xfa2f7c(0x3fa)]({'keySize':_0x5a6690+_0x809cac,'hasher':_0x404171})[_0xfa2f7c(0x437)](_0x1b72b7,_0xc415c);else var _0x22451b=_0x5b2820['create']({'keySize':_0x5a6690+_0x809cac})[_0xfa2f7c(0x437)](_0x1b72b7,_0xc415c);var _0x2cc66f=_0x5d3e77[_0xfa2f7c(0x3fa)](_0x22451b[_0xfa2f7c(0x2f6)]['slice'](_0x5a6690),_0x809cac*0x4);return _0x22451b['sigBytes']=_0x5a6690*0x4,_0x493c6e['create']({'key':_0x22451b,'iv':_0x2cc66f,'salt':_0xc415c});}},_0x2b7968=_0x204ebd[_0x4b31af(0x3ea)]=_0x2c69ed['extend']({'cfg':_0x2c69ed[_0x4b31af(0x29b)][_0x4b31af(0x3c8)]({'kdf':_0x21f01b}),'encrypt':function(_0x57622c,_0x4cd4e4,_0x1bd6d3,_0x4f0bc1){var _0x11db30=_0x4b31af;_0x4f0bc1=this[_0x11db30(0x29b)][_0x11db30(0x3c8)](_0x4f0bc1);var _0x2444d1=_0x4f0bc1[_0x11db30(0x3e7)][_0x11db30(0x347)](_0x1bd6d3,_0x57622c[_0x11db30(0x3e6)],_0x57622c[_0x11db30(0x35a)],_0x4f0bc1[_0x11db30(0x203)],_0x4f0bc1['hasher']);_0x4f0bc1['iv']=_0x2444d1['iv'];var _0x446a85=_0x2c69ed[_0x11db30(0x1f4)]['call'](this,_0x57622c,_0x4cd4e4,_0x2444d1['key'],_0x4f0bc1);return _0x446a85[_0x11db30(0x414)](_0x2444d1),_0x446a85;},'decrypt':function(_0x414a25,_0x1b07d3,_0x23b366,_0x15b7c3){var _0x6d7aed=_0x4b31af;_0x15b7c3=this[_0x6d7aed(0x29b)][_0x6d7aed(0x3c8)](_0x15b7c3),_0x1b07d3=this['_parse'](_0x1b07d3,_0x15b7c3['format']);var _0x9963f5=_0x15b7c3['kdf'][_0x6d7aed(0x347)](_0x23b366,_0x414a25[_0x6d7aed(0x3e6)],_0x414a25['ivSize'],_0x1b07d3[_0x6d7aed(0x203)],_0x15b7c3[_0x6d7aed(0x1b7)]);_0x15b7c3['iv']=_0x9963f5['iv'];var _0x3fe0b1=_0x2c69ed[_0x6d7aed(0x1c2)]['call'](this,_0x414a25,_0x1b07d3,_0x9963f5[_0x6d7aed(0x28e)],_0x15b7c3);return _0x3fe0b1;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0xe51f24(0x35b)],ti;function Sn(){var _0x1ed63a=_0xe51f24;return ti||(ti=0x1,function(_0x3b03e7,_0x3c3906){(function(_0x400aa5,_0x4fd5e7,_0x3c3252){var _0x51a92b=_0x3c6c;_0x3b03e7[_0x51a92b(0x35b)]=_0x4fd5e7(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x17c490){var _0x3dc16e=_0x3c6c;return(function(){var _0x1aa465=_0x3c6c,_0x2d0a5c=_0x17c490,_0x3ceef3=_0x2d0a5c['lib'],_0x32f65d=_0x3ceef3[_0x1aa465(0x1e4)],_0x430b14=_0x2d0a5c[_0x1aa465(0x3be)],_0x5610b4=[],_0x14353c=[],_0x180670=[],_0x505dbb=[],_0xe4b852=[],_0x476fa1=[],_0x3b7668=[],_0x41aa08=[],_0x5acf73=[],_0x2afbba=[];(function(){for(var _0x5ebfb9=[],_0x41b9b8=0x0;_0x41b9b8<0x100;_0x41b9b8++)_0x41b9b8<0x80?_0x5ebfb9[_0x41b9b8]=_0x41b9b8<<0x1:_0x5ebfb9[_0x41b9b8]=_0x41b9b8<<0x1^0x11b;for(var _0x208a5f=0x0,_0x4f7efd=0x0,_0x41b9b8=0x0;_0x41b9b8<0x100;_0x41b9b8++){var _0x3743c1=_0x4f7efd^_0x4f7efd<<0x1^_0x4f7efd<<0x2^_0x4f7efd<<0x3^_0x4f7efd<<0x4;_0x3743c1=_0x3743c1>>>0x8^_0x3743c1&0xff^0x63,_0x5610b4[_0x208a5f]=_0x3743c1,_0x14353c[_0x3743c1]=_0x208a5f;var _0x23afa5=_0x5ebfb9[_0x208a5f],_0x27b3ca=_0x5ebfb9[_0x23afa5],_0x58f507=_0x5ebfb9[_0x27b3ca],_0x35540f=_0x5ebfb9[_0x3743c1]*0x101^_0x3743c1*0x1010100;_0x180670[_0x208a5f]=_0x35540f<<0x18|_0x35540f>>>0x8,_0x505dbb[_0x208a5f]=_0x35540f<<0x10|_0x35540f>>>0x10,_0xe4b852[_0x208a5f]=_0x35540f<<0x8|_0x35540f>>>0x18,_0x476fa1[_0x208a5f]=_0x35540f;var _0x35540f=_0x58f507*0x1010101^_0x27b3ca*0x10001^_0x23afa5*0x101^_0x208a5f*0x1010100;_0x3b7668[_0x3743c1]=_0x35540f<<0x18|_0x35540f>>>0x8,_0x41aa08[_0x3743c1]=_0x35540f<<0x10|_0x35540f>>>0x10,_0x5acf73[_0x3743c1]=_0x35540f<<0x8|_0x35540f>>>0x18,_0x2afbba[_0x3743c1]=_0x35540f,_0x208a5f?(_0x208a5f=_0x23afa5^_0x5ebfb9[_0x5ebfb9[_0x5ebfb9[_0x58f507^_0x23afa5]]],_0x4f7efd^=_0x5ebfb9[_0x5ebfb9[_0x4f7efd]]):_0x208a5f=_0x4f7efd=0x1;}}());var _0x59370b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4641a4=_0x430b14['AES']=_0x32f65d['extend']({'_doReset':function(){var _0x16a119=_0x1aa465,_0x2c1cf8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x16a119(0x39b)])){for(var _0x4f4509=this[_0x16a119(0x23b)]=this[_0x16a119(0x39b)],_0x2ebb95=_0x4f4509[_0x16a119(0x2f6)],_0xde6423=_0x4f4509[_0x16a119(0x152)]/0x4,_0x39bcf7=this[_0x16a119(0x1d5)]=_0xde6423+0x6,_0x3afd18=(_0x39bcf7+0x1)*0x4,_0x5697ca=this['_keySchedule']=[],_0x427dfc=0x0;_0x427dfc<_0x3afd18;_0x427dfc++)_0x427dfc<_0xde6423?_0x5697ca[_0x427dfc]=_0x2ebb95[_0x427dfc]:(_0x2c1cf8=_0x5697ca[_0x427dfc-0x1],_0x427dfc%_0xde6423?_0xde6423>0x6&&_0x427dfc%_0xde6423==0x4&&(_0x2c1cf8=_0x5610b4[_0x2c1cf8>>>0x18]<<0x18|_0x5610b4[_0x2c1cf8>>>0x10&0xff]<<0x10|_0x5610b4[_0x2c1cf8>>>0x8&0xff]<<0x8|_0x5610b4[_0x2c1cf8&0xff]):(_0x2c1cf8=_0x2c1cf8<<0x8|_0x2c1cf8>>>0x18,_0x2c1cf8=_0x5610b4[_0x2c1cf8>>>0x18]<<0x18|_0x5610b4[_0x2c1cf8>>>0x10&0xff]<<0x10|_0x5610b4[_0x2c1cf8>>>0x8&0xff]<<0x8|_0x5610b4[_0x2c1cf8&0xff],_0x2c1cf8^=_0x59370b[_0x427dfc/_0xde6423|0x0]<<0x18),_0x5697ca[_0x427dfc]=_0x5697ca[_0x427dfc-_0xde6423]^_0x2c1cf8);for(var _0x34f92d=this[_0x16a119(0x430)]=[],_0x25bf37=0x0;_0x25bf37<_0x3afd18;_0x25bf37++){var _0x427dfc=_0x3afd18-_0x25bf37;if(_0x25bf37%0x4)var _0x2c1cf8=_0x5697ca[_0x427dfc];else var _0x2c1cf8=_0x5697ca[_0x427dfc-0x4];_0x25bf37<0x4||_0x427dfc<=0x4?_0x34f92d[_0x25bf37]=_0x2c1cf8:_0x34f92d[_0x25bf37]=_0x3b7668[_0x5610b4[_0x2c1cf8>>>0x18]]^_0x41aa08[_0x5610b4[_0x2c1cf8>>>0x10&0xff]]^_0x5acf73[_0x5610b4[_0x2c1cf8>>>0x8&0xff]]^_0x2afbba[_0x5610b4[_0x2c1cf8&0xff]];}}},'encryptBlock':function(_0x436b81,_0x57fb1b){var _0x3af8e2=_0x1aa465;this[_0x3af8e2(0x37b)](_0x436b81,_0x57fb1b,this['_keySchedule'],_0x180670,_0x505dbb,_0xe4b852,_0x476fa1,_0x5610b4);},'decryptBlock':function(_0x5f39f6,_0x36eb73){var _0x59a76f=_0x1aa465,_0x4c6684=_0x5f39f6[_0x36eb73+0x1];_0x5f39f6[_0x36eb73+0x1]=_0x5f39f6[_0x36eb73+0x3],_0x5f39f6[_0x36eb73+0x3]=_0x4c6684,this[_0x59a76f(0x37b)](_0x5f39f6,_0x36eb73,this[_0x59a76f(0x430)],_0x3b7668,_0x41aa08,_0x5acf73,_0x2afbba,_0x14353c);var _0x4c6684=_0x5f39f6[_0x36eb73+0x1];_0x5f39f6[_0x36eb73+0x1]=_0x5f39f6[_0x36eb73+0x3],_0x5f39f6[_0x36eb73+0x3]=_0x4c6684;},'_doCryptBlock':function(_0x4cc624,_0x24f1d,_0x43c267,_0x29c604,_0x51db6b,_0xeeb308,_0x1f1168,_0x112d92){var _0x29eefa=_0x1aa465;for(var _0x23c73f=this[_0x29eefa(0x1d5)],_0x4543ba=_0x4cc624[_0x24f1d]^_0x43c267[0x0],_0x348717=_0x4cc624[_0x24f1d+0x1]^_0x43c267[0x1],_0x3b2c0a=_0x4cc624[_0x24f1d+0x2]^_0x43c267[0x2],_0xa8a7e5=_0x4cc624[_0x24f1d+0x3]^_0x43c267[0x3],_0x121f9e=0x4,_0x8139f1=0x1;_0x8139f1<_0x23c73f;_0x8139f1++){var _0x29fde9=_0x29c604[_0x4543ba>>>0x18]^_0x51db6b[_0x348717>>>0x10&0xff]^_0xeeb308[_0x3b2c0a>>>0x8&0xff]^_0x1f1168[_0xa8a7e5&0xff]^_0x43c267[_0x121f9e++],_0x199171=_0x29c604[_0x348717>>>0x18]^_0x51db6b[_0x3b2c0a>>>0x10&0xff]^_0xeeb308[_0xa8a7e5>>>0x8&0xff]^_0x1f1168[_0x4543ba&0xff]^_0x43c267[_0x121f9e++],_0x3ae24c=_0x29c604[_0x3b2c0a>>>0x18]^_0x51db6b[_0xa8a7e5>>>0x10&0xff]^_0xeeb308[_0x4543ba>>>0x8&0xff]^_0x1f1168[_0x348717&0xff]^_0x43c267[_0x121f9e++],_0x55c0a4=_0x29c604[_0xa8a7e5>>>0x18]^_0x51db6b[_0x4543ba>>>0x10&0xff]^_0xeeb308[_0x348717>>>0x8&0xff]^_0x1f1168[_0x3b2c0a&0xff]^_0x43c267[_0x121f9e++];_0x4543ba=_0x29fde9,_0x348717=_0x199171,_0x3b2c0a=_0x3ae24c,_0xa8a7e5=_0x55c0a4;}var _0x29fde9=(_0x112d92[_0x4543ba>>>0x18]<<0x18|_0x112d92[_0x348717>>>0x10&0xff]<<0x10|_0x112d92[_0x3b2c0a>>>0x8&0xff]<<0x8|_0x112d92[_0xa8a7e5&0xff])^_0x43c267[_0x121f9e++],_0x199171=(_0x112d92[_0x348717>>>0x18]<<0x18|_0x112d92[_0x3b2c0a>>>0x10&0xff]<<0x10|_0x112d92[_0xa8a7e5>>>0x8&0xff]<<0x8|_0x112d92[_0x4543ba&0xff])^_0x43c267[_0x121f9e++],_0x3ae24c=(_0x112d92[_0x3b2c0a>>>0x18]<<0x18|_0x112d92[_0xa8a7e5>>>0x10&0xff]<<0x10|_0x112d92[_0x4543ba>>>0x8&0xff]<<0x8|_0x112d92[_0x348717&0xff])^_0x43c267[_0x121f9e++],_0x55c0a4=(_0x112d92[_0xa8a7e5>>>0x18]<<0x18|_0x112d92[_0x4543ba>>>0x10&0xff]<<0x10|_0x112d92[_0x348717>>>0x8&0xff]<<0x8|_0x112d92[_0x3b2c0a&0xff])^_0x43c267[_0x121f9e++];_0x4cc624[_0x24f1d]=_0x29fde9,_0x4cc624[_0x24f1d+0x1]=_0x199171,_0x4cc624[_0x24f1d+0x2]=_0x3ae24c,_0x4cc624[_0x24f1d+0x3]=_0x55c0a4;},'keySize':0x100/0x20});_0x2d0a5c['AES']=_0x32f65d[_0x1aa465(0x34c)](_0x4641a4);}()),_0x17c490[_0x3dc16e(0x314)];}));}(Ve)),Ve[_0x1ed63a(0x35b)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0xe51f24(0x35b)],si;function Rn(){var _0x238948=_0xe51f24;return si||(si=0x1,function(_0x308955,_0x1596b6){(function(_0x1fc714,_0x2e3238){var _0x52b007=_0x3c6c;_0x308955[_0x52b007(0x35b)]=_0x2e3238(te());}(Cn,function(_0x3f6186){var _0x27c917=_0x3c6c;return _0x3f6186[_0x27c917(0x267)][_0x27c917(0x431)];}));}(Xe)),Xe[_0x238948(0x35b)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0xe51f24(0x35b)],ni;function Nn(){var _0x15e91c=_0xe51f24;return ni||(ni=0x1,function(_0x94a5f1,_0x4e9874){(function(_0x1cfffd,_0x392b7c){var _0x1aae04=_0x3c6c;_0x94a5f1[_0x1aae04(0x35b)]=_0x392b7c(te());}(yn,function(_0x496f23){var _0x3c3449=_0x3c6c;return(function(){var _0x360649=_0x3c6c;if(typeof ArrayBuffer==_0x360649(0x23e)){var _0x3a40af=_0x496f23,_0x1466e=_0x3a40af['lib'],_0x42bf0c=_0x1466e[_0x360649(0x424)],_0x3c47a4=_0x42bf0c['init'],_0x2db09=_0x42bf0c[_0x360649(0x24e)]=function(_0x35b784){var _0x1ab68=_0x360649;if(_0x35b784 instanceof ArrayBuffer&&(_0x35b784=new Uint8Array(_0x35b784)),(_0x35b784 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x35b784 instanceof Uint8ClampedArray||_0x35b784 instanceof Int16Array||_0x35b784 instanceof Uint16Array||_0x35b784 instanceof Int32Array||_0x35b784 instanceof Uint32Array||_0x35b784 instanceof Float32Array||_0x35b784 instanceof Float64Array)&&(_0x35b784=new Uint8Array(_0x35b784[_0x1ab68(0x21e)],_0x35b784[_0x1ab68(0x392)],_0x35b784[_0x1ab68(0x31b)])),_0x35b784 instanceof Uint8Array){for(var _0x88725e=_0x35b784['byteLength'],_0x302422=[],_0x5bb15c=0x0;_0x5bb15c<_0x88725e;_0x5bb15c++)_0x302422[_0x5bb15c>>>0x2]|=_0x35b784[_0x5bb15c]<<0x18-_0x5bb15c%0x4*0x8;_0x3c47a4['call'](this,_0x302422,_0x88725e);}else _0x3c47a4[_0x1ab68(0x2bf)](this,arguments);};_0x2db09['prototype']=_0x42bf0c;}}()),_0x496f23['lib'][_0x3c3449(0x424)];}));}(Ze)),Ze[_0x15e91c(0x35b)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x3896d6=_0xe51f24;return ri||(ri=0x1,function(_0x1ff6d2,_0x318a53){(function(_0x473c2a,_0x3a047d,_0x42d9eb){var _0x39df07=_0x3c6c;_0x1ff6d2[_0x39df07(0x35b)]=_0x3a047d(te(),bi());}(An,function(_0x28f573){var _0xd12d64=_0x3c6c;return _0x28f573[_0xd12d64(0x445)][_0xd12d64(0x41b)]={'pad':function(){},'unpad':function(){}},_0x28f573[_0xd12d64(0x445)][_0xd12d64(0x41b)];}));}(Qe)),Qe[_0x3896d6(0x35b)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x5a1c66,_0x134f2f){var _0x2f1fcb=_0xe51f24;const _0x244323=_0x134f2f-_0x5a1c66[_0x2f1fcb(0x192)]%_0x134f2f,_0x2a344c=String[_0x2f1fcb(0x3aa)](_0x244323)[_0x2f1fcb(0x16b)](_0x244323);return _0x5a1c66+_0x2a344c;}function xn(_0x5285ca,_0x14e445){var _0x113ebf=_0xe51f24;const _0x59e908=Un[_0x113ebf(0x229)](0x10),_0x5df9d6=Ln(_0x5285ca,0x10),_0x2685f4=In[_0x113ebf(0x1f4)](bn[_0x113ebf(0x3bc)](_0x5df9d6),ii[_0x113ebf(0x3bc)](_0x14e445),{'iv':_0x59e908,'padding':Mn});return _0x59e908[_0x113ebf(0x322)](_0x2685f4[_0x113ebf(0x440)])['toString'](ii);}function kn(){var _0x274106=_0xe51f24;const _0x1bd8dd=_0x4df2fe()[_0x274106(0x313)];if(_0x1bd8dd){const _0x3ee6f0={'time':Math[_0x274106(0x1ec)](Date[_0x274106(0x426)]()/0x3e8),'domain':location[_0x274106(0x2d7)]};return xn(JSON[_0x274106(0x283)](_0x3ee6f0),_0x1bd8dd);}}var $n=Object[_0xe51f24(0x434)],Hn=(_0x4fa70c,_0x4dfe5b,_0x145cf3,_0x22db7b)=>{for(var _0x231b7c=_0x22db7b>0x1?void 0x0:_0x22db7b?$n(_0x4dfe5b,_0x145cf3):_0x4dfe5b,_0x337b62=_0x4fa70c['length']-0x1,_0x21c67a;_0x337b62>=0x0;_0x337b62--)(_0x21c67a=_0x4fa70c[_0x337b62])&&(_0x231b7c=_0x21c67a(_0x231b7c)||_0x231b7c);return _0x231b7c;},Bn=(_0x56b0d2,_0x2418ae)=>(_0x3eccf4,_0x584343)=>_0x2418ae(_0x3eccf4,_0x584343,_0x56b0d2);let at=class{constructor(_0x4231c2){var _0x5f2276=_0xe51f24;this[_0x5f2276(0x2e1)]=_0x4231c2,this[_0x5f2276(0x1f6)]();}[_0xe51f24(0x1f6)](){var _0x88d3c7=_0xe51f24;this['_httpService'][_0x88d3c7(0x24b)]({'interceptor':(_0x3a2b93,_0xb4e899)=>{var _0xe84ad1=_0x88d3c7;const _0x47f855=_0x3a2b93[_0xe84ad1(0x209)],_0x338c84=kn();return _0x338c84&&_0x47f855[_0xe84ad1(0x3c9)](_0xe84ad1(0x230),_0x338c84),_0xb4e899(_0x3a2b93);}});}};at=Hn([Bn(0x0,_0x22b342(_0xd8406a))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x546ebe,_0xf94b22,_0x933160,_0x5e7338)=>{var _0x4bde88=_0xe51f24;for(var _0x3f751b=_0x5e7338>0x1?void 0x0:_0x5e7338?jn(_0xf94b22,_0x933160):_0xf94b22,_0x15c3a8=_0x546ebe[_0x4bde88(0x192)]-0x1,_0x23e05c;_0x15c3a8>=0x0;_0x15c3a8--)(_0x23e05c=_0x546ebe[_0x15c3a8])&&(_0x3f751b=_0x23e05c(_0x3f751b)||_0x3f751b);return _0x3f751b;},vt=(_0x2fda13,_0x203dcb)=>(_0x400940,_0x21a0bf)=>_0x203dcb(_0x400940,_0x21a0bf,_0x2fda13);let Ct=class extends _0x12bf24{constructor(_0x56c45e,_0x276cd4,_0x38f38e){var _0x3c3e99=_0xe51f24;super(),N(this,_0x3c3e99(0x2a5),new _0x393d97(null)),N(this,'unitInfo$',this[_0x3c3e99(0x2a5)][_0x3c3e99(0x43c)]()),(this[_0x3c3e99(0x420)]=_0x56c45e,this['_snapshotService']=_0x276cd4,this['_localCacheService']=_0x38f38e);}async['loadUnitOfRevision'](_0x578a45,_0x58c2a8,_0x29e5ec){var _0x190cbb=_0xe51f24;this[_0x190cbb(0x2a5)]['next']({'unitId':_0x578a45,'type':_0x58c2a8});let _0x2fe53c=null;switch(_0x58c2a8){case Z[_0x190cbb(0x3a9)]:{_0x2fe53c=await this[_0x190cbb(0x24a)][_0x190cbb(0x23a)](_0x578a45,_0x29e5ec);break;}case Z['UNIVER_DOC']:{_0x2fe53c=await this['_snapshotService'][_0x190cbb(0x280)](_0x578a45,_0x29e5ec);break;}default:{this[_0x190cbb(0x420)]['error'](_0x190cbb(0x19b),_0x190cbb(0x29e));break;}}return _0x2fe53c;}async['loadUnit'](_0x7717c5,_0xe30896,_0x52eb65){var _0x10ac4d=_0xe51f24,_0x21ac0d;this[_0x10ac4d(0x2a5)][_0x10ac4d(0x3f6)]({'unitId':_0x7717c5,'type':_0xe30896,'subUnitId':_0x52eb65});let _0x2afcaf=0x0;const _0x39564c=await((_0x21ac0d=this['_localCacheService'])==null?void 0x0:_0x21ac0d['loadOfflineData'](_0x7717c5));return _0x39564c&&(_0x39564c[_0x10ac4d(0x284)]||_0x39564c[_0x10ac4d(0x158)]['length']!==0x0)&&(_0x2afcaf=_0x39564c[_0x10ac4d(0x425)]),_0x2afcaf===0x0&&this[_0x10ac4d(0x420)][_0x10ac4d(0x2ab)](_0x10ac4d(0x19b),_0x10ac4d(0x3d4)),this['loadUnitOfRevision'](_0x7717c5,_0xe30896,_0x2afcaf);}};Ct=Fn([vt(0x0,_0x361d6f),vt(0x1,_0x22b342(_0x58ad02)),vt(0x2,_0x3dfa42(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x4b5642,_0xf66385,_0xe56415,_0x30c69d)=>{var _0x210fff=_0xe51f24;for(var _0x3721f4=_0x30c69d>0x1?void 0x0:_0x30c69d?Vn(_0xf66385,_0xe56415):_0xf66385,_0x4b234d=_0x4b5642[_0x210fff(0x192)]-0x1,_0x3ea471;_0x4b234d>=0x0;_0x4b234d--)(_0x3ea471=_0x4b5642[_0x4b234d])&&(_0x3721f4=_0x3ea471(_0x3721f4)||_0x3721f4);return _0x3721f4;},pt=(_0x3fa737,_0x1fc50c)=>(_0x5bc197,_0x1b7109)=>_0x1fc50c(_0x5bc197,_0x1b7109,_0x3fa737);const Gn=[_0xe51f24(0x3b4),_0xe51f24(0x33a),_0xe51f24(0x40f),_0xe51f24(0x32f),_0xe51f24(0x1bc)],Yn=0x5*0x400*0x400,Kn=_0xe51f24(0x201),qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x5c19b1,_0x552406,_0x5e085d){var _0x5ad564=_0xe51f24;N(this,_0x5ad564(0x204),0x0),N(this,_0x5ad564(0x1e6),new _0x4b7143()),N(this,_0x5ad564(0x3fd),this[_0x5ad564(0x1e6)]),N(this,_0x5ad564(0x367),new Map()),(this[_0x5ad564(0x2e1)]=_0x5c19b1,this[_0x5ad564(0x2ca)]=_0x552406,this[_0x5ad564(0x215)]=_0x5e085d);}[_0xe51f24(0x2ad)](_0x45658b){var _0x4674a9=_0xe51f24;this['_waitCount']=_0x45658b,this[_0x4674a9(0x1e6)][_0x4674a9(0x3f6)](_0x45658b);}[_0xe51f24(0x221)](_0x52ab13,_0x468ff0){var _0x59b37d=_0xe51f24;if(_0x468ff0===_0x35118b['BASE64']){const _0x4add20=new Image();return _0x4add20[_0x59b37d(0x3bf)]=_0x52ab13,_0x4add20;}return this[_0x59b37d(0x367)][_0x59b37d(0x164)](_0x52ab13);}[_0xe51f24(0x3ad)](_0x349105,_0x36457d,_0x409467){var _0x258bfb=_0xe51f24;_0x36457d===_0x35118b['BASE64']||_0x409467==null||this['_imageSourceCache'][_0x258bfb(0x3c9)](_0x349105,_0x409467);}async[_0xe51f24(0x2a8)](_0x49d202){var _0x11f3ef=_0xe51f24;try{const _0x30df44=this[_0x11f3ef(0x330)](this[_0x11f3ef(0x2c0)](),''+_0x49d202),_0x1431ff=(await this[_0x11f3ef(0x2e1)][_0x11f3ef(0x164)](_0x30df44))['body'];if(_0x1431ff[_0x11f3ef(0x35d)]&&_0x1431ff[_0x11f3ef(0x35d)]['code']===vi['OK']){const _0x4442e3=new URL(_0x1431ff['url'],this[_0x11f3ef(0x1fe)]())[_0x11f3ef(0x247)]();return Promise[_0x11f3ef(0x28a)](_0x4442e3);}return Promise[_0x11f3ef(0x3ba)](_0x1431ff[_0x11f3ef(0x35d)]);}catch(_0x4a205a){return Promise[_0x11f3ef(0x3ba)](_0x4a205a);}}async['saveImage'](_0x252de4){var _0x5b0668=_0xe51f24;let _0x3fcbae='';if(!Gn[_0x5b0668(0x418)](_0x252de4[_0x5b0668(0x2a0)]))return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69[_0x5b0668(0x43d)]));if(_0x252de4['size']>Yn)return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69['ERROR_EXCEED_SIZE']));try{const _0x55dc3a=new FormData();_0x55dc3a['append']('file',_0x252de4);const _0x15f361=this[_0x5b0668(0x215)]['getFocusedUnit'](),_0x3e2be3=_0x15f361==null?void 0x0:_0x15f361['getUnitId']();if(!_0x3e2be3)throw new Error(_0x5b0668(0x24f));const _0x5ba677=this[_0x5b0668(0x19f)]()+_0x5b0668(0x377)+_0x252de4['size'][_0x5b0668(0x247)]()+_0x5b0668(0x180)+pi['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3e2be3),_0x5c9139={'body':_0x55dc3a},_0x1fdc49=(await this[_0x5b0668(0x2e1)][_0x5b0668(0x1ed)](_0x5ba677,_0x5c9139))[_0x5b0668(0x279)];if(typeof _0x1fdc49[_0x5b0668(0x27d)]!=_0x5b0668(0x32b))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x340c69[_0x5b0668(0x22d)]));_0x3fcbae=_0x1fdc49[_0x5b0668(0x27d)];}catch{return this[_0x5b0668(0x2f4)](),Promise[_0x5b0668(0x3ba)](new Error(_0x340c69[_0x5b0668(0x22d)]));}return new Promise((_0x357105,_0x3bdded)=>{const _0x133b67=new FileReader();_0x133b67['readAsDataURL'](_0x252de4),_0x133b67['onload']=_0x1daa37=>{var _0x551b01=_0x3c6c,_0x55daf3;const _0x298446=(_0x55daf3=_0x1daa37[_0x551b01(0x338)])==null?void 0x0:_0x55daf3[_0x551b01(0x364)];if(_0x298446==null){this[_0x551b01(0x2f4)](),_0x3bdded(new Error(_0x340c69[_0x551b01(0x22d)]));return;}const _0x2133d0=_0x13578b(0x6);_0x357105({'imageId':_0x2133d0,'imageSourceType':_0x35118b['UUID'],'source':_0x3fcbae,'base64Cache':_0x298446,'status':_0x340c69['SUCCUSS']}),this[_0x551b01(0x2f4)]();};});}[_0xe51f24(0x19f)](){var _0x291bb9=_0xe51f24,_0x4800b6;const _0x12aa35=this[_0x291bb9(0x2ca)][_0x291bb9(0x39e)](K);return(_0x4800b6=_0x12aa35==null?void 0x0:_0x12aa35[_0x291bb9(0x186)])!=null?_0x4800b6:Kn;}[_0xe51f24(0x2c0)](){var _0x1a6cb0=_0xe51f24,_0x593c35;const _0x18714d=this[_0x1a6cb0(0x2ca)][_0x1a6cb0(0x39e)](K);return(_0x593c35=_0x18714d==null?void 0x0:_0x18714d[_0x1a6cb0(0x400)])!=null?_0x593c35:qn;}[_0xe51f24(0x1fe)](){var _0x219fc0=_0xe51f24,_0x2aa959;const _0x3356d6=this['_configService'][_0x219fc0(0x39e)](K);return(_0x2aa959=_0x3356d6==null?void 0x0:_0x3356d6[_0x219fc0(0x409)])!=null?_0x2aa959:location[_0x219fc0(0x27e)];}[_0xe51f24(0x330)](_0x3e5e77,_0x35f792){var _0x3466c3=_0xe51f24;return _0x3e5e77['replace'](_0x3466c3(0x258),_0x35f792);}[_0xe51f24(0x2f4)](){var _0x4fd913=_0xe51f24;this[_0x4fd913(0x204)]-=0x1,this[_0x4fd913(0x1e6)][_0x4fd913(0x3f6)](this[_0x4fd913(0x204)]);}};Rt=Wn([pt(0x0,_0x22b342(_0xd8406a)),pt(0x1,_0x2a9499),pt(0x2,_0x22b342(_0x3f4f9f))],Rt);var zn=Object[_0xe51f24(0x434)],Jn=(_0x3ab6ce,_0x198556,_0x5c091f,_0x4de631)=>{for(var _0x156cee=_0x4de631>0x1?void 0x0:_0x4de631?zn(_0x198556,_0x5c091f):_0x198556,_0x58a6a4=_0x3ab6ce['length']-0x1,_0x2ec6b9;_0x58a6a4>=0x0;_0x58a6a4--)(_0x2ec6b9=_0x3ab6ce[_0x58a6a4])&&(_0x156cee=_0x2ec6b9(_0x156cee)||_0x156cee);return _0x156cee;},ai=(_0x166372,_0x5843d3)=>(_0xacd395,_0x1e4a69)=>_0x5843d3(_0xacd395,_0x1e4a69,_0x166372);const Xn=_0xe51f24(0x3d1);let Ot=class{constructor(_0x34ae9e,_0x371b75){var _0x2af0e6=_0xe51f24;this[_0x2af0e6(0x2ca)]=_0x34ae9e,this[_0x2af0e6(0x1a2)]=_0x371b75;}[_0xe51f24(0x1d8)](){var _0x5a6471=_0xe51f24,_0x4b216c;const _0x4a6a21=this[_0x5a6471(0x2ca)]['getConfig'](K);return(_0x4b216c=_0x4a6a21==null?void 0x0:_0x4a6a21[_0x5a6471(0x15d)])!=null?_0x4b216c:Xn;}async[_0xe51f24(0x310)](_0x7e4555){var _0x2ace1f=_0xe51f24;const _0x4efeda=this[_0x2ace1f(0x1d8)]()+_0x2ace1f(0x411);return{'list':[{'title':'People','mentions':(await this[_0x2ace1f(0x1a2)][_0x2ace1f(0x164)](_0x4efeda,{'params':{'objectID':_0x7e4555[_0x2ace1f(0x324)],'unitID':_0x7e4555[_0x2ace1f(0x324)]}}))[_0x2ace1f(0x279)][_0x2ace1f(0x1a8)][_0x2ace1f(0x1c1)](_0x278979=>({'objectId':_0x278979['id'],'name':_0x278979[_0x2ace1f(0x24c)][_0x2ace1f(0x355)],'metadata':{'icon':_0x278979[_0x2ace1f(0x24c)]['avatar']},'label':_0x278979['subject'][_0x2ace1f(0x355)],'objectType':_0xcc5d3a[_0x2ace1f(0x346)]})),'metadata':{},'type':_0xcc5d3a['PERSON']}]};}};Ot=Jn([ai(0x0,_0x22b342(_0x2a9499)),ai(0x1,_0x22b342(_0xd8406a))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x1f72bf,_0x3875a9,_0x1eb0ff,_0x1c2324)=>{var _0x39032c=_0xe51f24;for(var _0x2c45f3=_0x1c2324>0x1?void 0x0:_0x1c2324?Zn(_0x3875a9,_0x1eb0ff):_0x3875a9,_0x1c1725=_0x1f72bf[_0x39032c(0x192)]-0x1,_0x1e80c7;_0x1c1725>=0x0;_0x1c1725--)(_0x1e80c7=_0x1f72bf[_0x1c1725])&&(_0x2c45f3=_0x1e80c7(_0x2c45f3)||_0x2c45f3);return _0x2c45f3;},Ue=(_0x35cd3d,_0x4cab86)=>(_0x5274c4,_0x31b5ed)=>_0x4cab86(_0x5274c4,_0x31b5ed,_0x35cd3d);let ot=class extends _0x12bf24{constructor(_0x412601,_0x54de06,_0x5b0fb4,_0x282894,_0x454c4b){var _0x37f536=_0xe51f24;super(),this[_0x37f536(0x289)]=_0x412601,this[_0x37f536(0x215)]=_0x54de06,this[_0x37f536(0x18a)]=_0x5b0fb4,this['_collaborationSessionService']=_0x282894,this[_0x37f536(0x30a)]=_0x454c4b,this[_0x37f536(0x225)](),this[_0x37f536(0x1d2)]();}[_0xe51f24(0x1d2)](){var _0x1c8c85=_0xe51f24;const _0x3a6465=async _0x56aee1=>{var _0x3c203e=_0x3c6c;(await this[_0x3c203e(0x30f)][_0x3c203e(0x2cc)](_0x56aee1))[_0x3c203e(0x351)]['pipe'](_0x9a4196(_0xaf9bba=>_0xaf9bba[_0x3c203e(0x161)]===_0x27b370['SHOULD_CLOSE_CONN']),_0x4f9aa0(this[_0x3c203e(0x218)]))[_0x3c203e(0x2aa)](_0x2f73fb=>{var _0x1382b9=_0x3c203e;const _0xe9fc17=_0x2f73fb,{reason:_0x1aeb08}=_0xe9fc17['data'];this['_collaborationUIEventService'][_0x1382b9(0x261)]({'id':ne['CLOSE_ROOM'],'data':_0x1aeb08}),this[_0x1382b9(0x18a)][_0x1382b9(0x3ec)](new _0x579aa1(_0x56aee1)['id'],!0x1),this[_0x1382b9(0x30f)][_0x1382b9(0x41f)](_0x56aee1);});};_0x7e74aa(this[_0x1c8c85(0x215)][_0x1c8c85(0x1fd)](_0x3fce68[_0x1c8c85(0x3a9)]),this[_0x1c8c85(0x215)][_0x1c8c85(0x1fd)](_0x3fce68['UNIVER_DOC']))['pipe'](_0x57a8a0(_0x30c923=>_0x30c923[_0x1c8c85(0x40d)]()),_0x9a4196(_0x48247f=>!_0x47fad4(_0x48247f)),_0x4f9aa0(this[_0x1c8c85(0x218)]))['subscribe'](_0x4266c7=>{_0x3a6465(_0x4266c7);});}[_0xe51f24(0x225)](){var _0x4eadfe=_0xe51f24;const _0x5dba48=async _0x3bec33=>{var _0x1747ea=_0x3c6c;const _0x4076ae=await this['_collaborationSessionService'][_0x1747ea(0x2cc)](_0x3bec33),_0x5f0967=this[_0x1747ea(0x289)]['get'](_0x3dcd3c);_0x4076ae[_0x1747ea(0x351)][_0x1747ea(0x21f)](_0x9a4196(_0x355d42=>_0x355d42[_0x1747ea(0x161)]===_0x27b370[_0x1747ea(0x31e)]),_0x4f9aa0(this[_0x1747ea(0x218)]))['subscribe'](_0x254c52=>{var _0x27f2a1=_0x1747ea;const _0x42691e=_0x254c52,{objectId:_0x332ed2}=_0x42691e[_0x27f2a1(0x3c2)];_0x332ed2===_0x3bec33?_0x5f0967[_0x27f2a1(0x2c5)](_0x3bec33):_0x5f0967['refreshPermission'](_0x3bec33,_0x332ed2);});};_0x7e74aa(this[_0x4eadfe(0x215)][_0x4eadfe(0x1fd)](_0x3fce68['UNIVER_SHEET']))[_0x4eadfe(0x21f)](_0x57a8a0(_0x2206a6=>_0x2206a6['getUnitId']()),_0x9a4196(_0x309497=>!_0x47fad4(_0x309497)),_0x4f9aa0(this[_0x4eadfe(0x218)]))[_0x4eadfe(0x2aa)](_0x2ddcf8=>{_0x5dba48(_0x2ddcf8);});}};ot=Qn([Ue(0x0,_0x22b342(_0xf56e29)),Ue(0x1,_0x3f4f9f),Ue(0x2,_0x59ac06),Ue(0x3,_0x22b342(Pe)),Ue(0x4,_0x22b342(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x523d5d,_0x1ec769,_0x48eb85,_0x40dd64)=>{var _0xd383d3=_0xe51f24;for(var _0x4e22b3=_0x40dd64>0x1?void 0x0:_0x40dd64?er(_0x1ec769,_0x48eb85):_0x1ec769,_0x1f3276=_0x523d5d[_0xd383d3(0x192)]-0x1,_0x4e3e5e;_0x1f3276>=0x0;_0x1f3276--)(_0x4e3e5e=_0x523d5d[_0x1f3276])&&(_0x4e22b3=_0x4e3e5e(_0x4e22b3)||_0x4e22b3);return _0x4e22b3;},oi=(_0x97bcd3,_0x123ff7)=>(_0x2cbd6b,_0x201e8c)=>_0x123ff7(_0x2cbd6b,_0x201e8c,_0x97bcd3);let bt=class{constructor(_0x5c4517,_0x218fc6){var _0x463450=_0xe51f24;this[_0x463450(0x2ca)]=_0x5c4517,this[_0x463450(0x2e1)]=_0x218fc6;}async[_0xe51f24(0x401)](_0x4e8393,_0x224a29){var _0x2fd1ea=_0xe51f24,_0x272a5c;const {unitID:_0x29d151,type:_0x463731,revision:_0x232a10=0x0}=_0x224a29,_0x36eb32=this[_0x2fd1ea(0x25c)]()+'/'+_0x463731+'/unit/'+_0x29d151+'/rev/'+_0x232a10,_0x140d1b=(await this[_0x2fd1ea(0x2e1)][_0x2fd1ea(0x164)](_0x36eb32))[_0x2fd1ea(0x279)],_0x3d7c1c=(_0x272a5c=_0x140d1b[_0x2fd1ea(0x381)])==null?void 0x0:_0x272a5c[_0x2fd1ea(0x3a6)];if(_0x3d7c1c){const _0x3f4662=_0x3d7c1c==null?void 0x0:_0x3d7c1c[_0x2fd1ea(0x320)],_0x56a8b4=_0x5630d4[_0x2fd1ea(0x256)](_0x5c5340(_0x3f4662));_0x3d7c1c[_0x2fd1ea(0x320)]=_0x56a8b4,Object[_0x2fd1ea(0x412)](_0x3d7c1c[_0x2fd1ea(0x3d5)])[_0x2fd1ea(0x253)](([,_0x14264b])=>{var _0x5122cf=_0x2fd1ea;const _0x270f80=_0x14264b[_0x5122cf(0x320)],_0x5a6f93=_0x5630d4[_0x5122cf(0x256)](_0x5c5340(_0x270f80));_0x14264b[_0x5122cf(0x320)]=_0x5a6f93;});}return _0x140d1b;}async[_0xe51f24(0x444)](_0x1dc0cc,_0x5f32cb){var _0xaa2a5e=_0xe51f24;const {unitID:_0x27144b,type:_0x7a510d,blockID:_0x2cb17a}=_0x5f32cb,_0x4d5f57=this['_getAPIPrefix']()+'/'+_0x7a510d+_0xaa2a5e(0x29f)+_0x27144b+_0xaa2a5e(0x331)+_0x2cb17a;return(await this[_0xaa2a5e(0x2e1)][_0xaa2a5e(0x164)](_0x4d5f57))[_0xaa2a5e(0x279)];}async[_0xe51f24(0x345)](_0x101a4f,_0x3cbb2e){var _0x594201=_0xe51f24;const {unitID:_0x30e181,type:_0x104187,blockID:_0x37bae7}=_0x3cbb2e,_0x4a7e1b=this[_0x594201(0x2a7)]()+'/block/'+_0x104187+_0x594201(0x29f)+_0x30e181+_0x594201(0x331)+_0x37bae7;return(await this['_httpService'][_0x594201(0x164)](_0x4a7e1b))[_0x594201(0x279)];}async[_0xe51f24(0x32d)](_0x326d33,_0x31f480){var _0x5714c0=_0xe51f24;const {unitID:_0xdd4a70,type:_0x1d2f5e,from:_0x4bf1c1,to:_0x23aa46}=_0x31f480,_0x5bb222=this[_0x5714c0(0x2a7)]()+'/'+_0x1d2f5e+_0x5714c0(0x29f)+_0xdd4a70+'/fetchmissing?from='+_0x4bf1c1+_0x5714c0(0x272)+_0x23aa46;return(await this[_0x5714c0(0x2e1)][_0x5714c0(0x164)](_0x5bb222))[_0x5714c0(0x279)];}[_0xe51f24(0x25c)](){var _0x22dbc8=_0xe51f24,_0x9f812d;return(_0x9f812d=this[_0x22dbc8(0x2ca)][_0x22dbc8(0x39e)](vs))!=null?_0x9f812d:this[_0x22dbc8(0x2a7)]();}[_0xe51f24(0x2a7)](){var _0x49d078=_0xe51f24,_0x413e43;const _0x4a6402=this[_0x49d078(0x2ca)][_0x49d078(0x39e)](K);return(_0x413e43=_0x4a6402==null?void 0x0:_0x4a6402['snapshotServerUrl'])!=null?_0x413e43:fs;}async[_0xe51f24(0x3e1)](_0x51155b,_0x56492c){var _0x24abde=_0xe51f24;const _0x1d4d85=_0x24abde(0x2e5)+_0x56492c[_0x24abde(0x2a0)]+_0x24abde(0x29f)+_0x56492c[_0x24abde(0x2f5)]+'/resources';return(await this[_0x24abde(0x2e1)][_0x24abde(0x164)](_0x1d4d85,{'params':{'resourceId':JSON[_0x24abde(0x283)](_0x56492c['resourceIDs'])}}))[_0x24abde(0x279)];}['saveSnapshot'](){var _0x8027c5=_0xe51f24;throw new Error(_0x8027c5(0x1ad));}[_0xe51f24(0x1d0)](){var _0x42d01b=_0xe51f24;throw new Error(_0x42d01b(0x1ad));}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe51f24(0x1cf)](){var _0x51f941=_0xe51f24;throw new Error(_0x51f941(0x1ad));}['copyFileMeta'](){var _0x451298=_0xe51f24;throw new Error(_0x451298(0x1ad));}['getLatestCsReqIdBySid'](){var _0x5dfedb=_0xe51f24;throw new Error(_0x5dfedb(0x1ad));}};bt=tr([oi(0x0,_0x2a9499),oi(0x1,_0x22b342(_0xd8406a))],bt);var ir=Object['getOwnPropertyDescriptor'],sr=(_0x24284c,_0x68e1fe,_0x425edf,_0x2201fc)=>{var _0x2f44d4=_0xe51f24;for(var _0x6e64d=_0x2201fc>0x1?void 0x0:_0x2201fc?ir(_0x68e1fe,_0x425edf):_0x68e1fe,_0x33f537=_0x24284c[_0x2f44d4(0x192)]-0x1,_0x41ed67;_0x33f537>=0x0;_0x33f537--)(_0x41ed67=_0x24284c[_0x33f537])&&(_0x6e64d=_0x41ed67(_0x6e64d)||_0x6e64d);return _0x6e64d;},Ae=(_0x1c5c58,_0x56adf4)=>(_0xe6411,_0x909ec3)=>_0x56adf4(_0xe6411,_0x909ec3,_0x1c5c58);let yt=class extends _0x3b4780{constructor(_0xb6b725,_0x3f1d0d,_0x3f1f28,_0x4d5691,_0x375025){var _0x5c0c8d=_0xe51f24;super(_0xb6b725,_0x3f1d0d,_0x3f1f28),this[_0x5c0c8d(0x327)]=_0x4d5691,this['_logService']=_0x375025;}[_0xe51f24(0x359)](_0xc12a98,_0x3156e6){var _0x2ff4ae=_0xe51f24;const _0x42ca4b=this['_getUndoStack'](_0xc12a98);if(_0x42ca4b)try{const _0x591d4e=this[_0x2ff4ae(0x36a)](_0x42ca4b,_0x3156e6);this[_0x2ff4ae(0x1d6)](_0xc12a98,_0x591d4e);}catch(_0x4d2a74){this[_0x2ff4ae(0x420)][_0x2ff4ae(0x35d)](_0x2ff4ae(0x439),_0x4d2a74),this[_0x2ff4ae(0x2d5)](_0xc12a98);}const _0x244ed6=this['_getRedoStack'](_0xc12a98);if(_0x244ed6)try{const _0x3e35ef=this[_0x2ff4ae(0x36a)](_0x244ed6,_0x3156e6);this[_0x2ff4ae(0x2e2)](_0xc12a98,_0x3e35ef);}catch(_0x20674b){this[_0x2ff4ae(0x420)][_0x2ff4ae(0x35d)](_0x20674b),this['_clearRedo'](_0xc12a98);}}[_0xe51f24(0x2d5)](_0x59d367){var _0x1e69f4=_0xe51f24;const _0x22b27c=this[_0x1e69f4(0x36c)](_0x59d367);_0x22b27c&&(_0x22b27c[_0x1e69f4(0x192)]=0x0,this[_0x1e69f4(0x34b)]());}[_0xe51f24(0x3c7)](_0x80cdde){var _0x1a7cc6=_0xe51f24;const _0xac5921=this[_0x1a7cc6(0x2fc)](_0x80cdde);_0xac5921&&(_0xac5921[_0x1a7cc6(0x192)]=0x0,this[_0x1a7cc6(0x34b)]());}[_0xe51f24(0x1d6)](_0x365728,_0x100a58){var _0x400bbd=_0xe51f24;this[_0x400bbd(0x243)]['set'](_0x365728,_0x100a58),this[_0x400bbd(0x34b)]();}[_0xe51f24(0x2e2)](_0x37e521,_0x127ba8){var _0x3bec6a=_0xe51f24;this[_0x3bec6a(0x405)][_0x3bec6a(0x3c9)](_0x37e521,_0x127ba8),this[_0x3bec6a(0x34b)]();}['_transformStack'](_0x485d8f,_0x105b57){var _0x4c0d96=_0xe51f24;const _0x3d0e7a=[];let _0x565278=_0x105b57,_0x4fb805=_0x105b57;for(let _0x2f3959=_0x485d8f[_0x4c0d96(0x192)]-0x1;_0x2f3959>=0x0;_0x2f3959--){const {unitID:_0x1067f7,undoMutations:_0xbb19f,redoMutations:_0x398684}=_0x485d8f[_0x2f3959],_0x19a91c=this['_transformService'][_0x4c0d96(0x3e0)](_0x565278,_0xbb19f),_0x33f860=this[_0x4c0d96(0x327)][_0x4c0d96(0x3e0)](_0x4fb805,_0x398684);if(_0x2c47f4(_0x19a91c)||_0x2c47f4(_0x33f860)){this[_0x4c0d96(0x420)][_0x4c0d96(0x35d)](_0x4c0d96(0x439),_0x4c0d96(0x185),_0x19a91c,_0x33f860);break;}_0x565278=_0x19a91c[_0x4c0d96(0x248)],_0x4fb805=_0x33f860[_0x4c0d96(0x248)],_0x3d0e7a[_0x4c0d96(0x27f)]({'unitID':_0x1067f7,'undoMutations':_0x19a91c[_0x4c0d96(0x2ed)],'redoMutations':_0x33f860['m2Prime']});}return _0x3d0e7a[_0x4c0d96(0x3ff)]();}};yt=sr([Ae(0x0,_0x3f4f9f),Ae(0x1,_0x399e10),Ae(0x2,_0x3ecbc3),Ae(0x3,_0x122cfe),Ae(0x4,_0x361d6f)],yt);var nr=Object['defineProperty'],rr=Object[_0xe51f24(0x434)],ar=(_0x5d2f1d,_0x1dec7e,_0x5d02ec)=>_0x1dec7e in _0x5d2f1d?nr(_0x5d2f1d,_0x1dec7e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d02ec}):_0x5d2f1d[_0x1dec7e]=_0x5d02ec,or=(_0x554f0d,_0xbaa31e,_0x345d30,_0x45dd30)=>{for(var _0x3de18a=_0x45dd30>0x1?void 0x0:_0x45dd30?rr(_0xbaa31e,_0x345d30):_0xbaa31e,_0x5d0f1b=_0x554f0d['length']-0x1,_0x24a48b;_0x5d0f1b>=0x0;_0x5d0f1b--)(_0x24a48b=_0x554f0d[_0x5d0f1b])&&(_0x3de18a=_0x24a48b(_0x3de18a)||_0x3de18a);return _0x3de18a;},mt=(_0x313443,_0x454bfc)=>(_0x3af4a4,_0x4bcdf0)=>_0x454bfc(_0x3af4a4,_0x4bcdf0,_0x313443),cr=(_0x5aca40,_0x30b262,_0x4e3a64)=>ar(_0x5aca40,_0x30b262+'',_0x4e3a64);const hr=_0xe51f24(0x211);let Nt=class extends _0x19ed38{constructor(_0x4ea0f7,_0x201603,_0x1341da,_0x1fff41){var _0x4b1d5a=_0xe51f24;super(),N(this,_0x4b1d5a(0x1cb)),(this['_logService']=_0x201603,this[_0x4b1d5a(0x289)]=_0x1341da,this[_0x4b1d5a(0x2ca)]=_0x1fff41);const {..._0x3ef581}=_0x4d916b({},Ls,_0x4ea0f7);if(!_0x3ef581[_0x4b1d5a(0x1da)])throw new Error(_0x4b1d5a(0x3f3));this['_config']=_0x3ef581,this[_0x4b1d5a(0x2ca)][_0x4b1d5a(0x1f1)](K,_0x3ef581);}[_0xe51f24(0x16a)](){var _0x51bd62=_0xe51f24;this[_0x51bd62(0x2a2)](),this[_0x51bd62(0x37c)]();}[_0xe51f24(0x2a2)](){var _0xaa8d2b=_0xe51f24,_0x5dc333,_0x564266;this[_0xaa8d2b(0x289)][_0xaa8d2b(0x1d1)](_0x526774)&&this['_logService']['error'](_0xaa8d2b(0x37a),_0xaa8d2b(0x417));const _0x3280dd=_0x419f0a([[_0x526774,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0xaa8d2b(0x1cb)][_0xaa8d2b(0x1da)]}],[_0x9fb279,{'useClass':bt}],[_0x225829,{'useClass':Tt}],[_0x550849,{'useClass':Rt}],[_0x23e59f,{'useClass':Ot}],[nt],[It]],(_0x5dc333=this['_config'])==null?void 0x0:_0x5dc333['override']);if(!((_0x564266=this['_config'])!=null&&_0x564266['enableSingleActiveInstanceLock'])){const _0x462e0d=_0x3280dd[_0xaa8d2b(0x398)](([_0x1e2a6a])=>_0x1e2a6a===ht);_0x462e0d!==-0x1&&_0x3280dd[_0xaa8d2b(0x2dd)](_0x462e0d,0x1);}_0x1e36d4(this['_injector'],_0x3280dd);}[_0xe51f24(0x37c)](){var _0x32edca=_0xe51f24,_0xaed61c,_0x52de54,_0x1e6d84;this['_injector'][_0x32edca(0x164)](_0xd8406a)[_0x32edca(0x24b)]({'priority':0x14,'interceptor':_0x2ac242({'maxParallel':0x6})}),(_0xaed61c=this[_0x32edca(0x1cb)])!=null&&_0xaed61c[_0x32edca(0x194)]||(_0x52de54=this[_0x32edca(0x289)][_0x32edca(0x164)](J,_0x1ee2ee['OPTIONAL']))==null||_0x52de54['disableLocalCache'](),(_0x1e6d84=this['_config'])!=null&&_0x1e6d84[_0x32edca(0x154)]&&_0x1ecdb4(this[_0x32edca(0x289)],[[rt]]),_0x1ecdb4(this[_0x32edca(0x289)],[[at],[nt],[ot]]);}};cr(Nt,_0xe51f24(0x30e),hr),Nt=or([_0x298545(_0x51b7d3,_0x20d1bd),mt(0x1,_0x361d6f),mt(0x2,_0x22b342(_0xf56e29)),mt(0x3,_0x2a9499)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|
1
|
+
var _0x379364=_0x3279;(function(_0x3925b8,_0x61ccb6){var _0x5a24c6=_0x3279,_0x1a7848=_0x3925b8();while(!![]){try{var _0x27f363=parseInt(_0x5a24c6(0x14d))/0x1+-parseInt(_0x5a24c6(0x421))/0x2*(-parseInt(_0x5a24c6(0x29c))/0x3)+-parseInt(_0x5a24c6(0x2e2))/0x4+-parseInt(_0x5a24c6(0x354))/0x5+parseInt(_0x5a24c6(0x333))/0x6+-parseInt(_0x5a24c6(0x34f))/0x7*(-parseInt(_0x5a24c6(0x233))/0x8)+parseInt(_0x5a24c6(0x1cd))/0x9;if(_0x27f363===_0x61ccb6)break;else _0x1a7848['push'](_0x1a7848['shift']());}catch(_0x283f26){_0x1a7848['push'](_0x1a7848['shift']());}}}(_0x1cf6,0x41bb4));var yi=Object[_0x379364(0x1c0)],Ni=(_0x6785f3,_0x223a01,_0x22f18b)=>_0x223a01 in _0x6785f3?yi(_0x6785f3,_0x223a01,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x22f18b}):_0x6785f3[_0x223a01]=_0x22f18b,N=(_0x4ec052,_0x592b42,_0x58be49)=>Ni(_0x4ec052,typeof _0x592b42!='symbol'?_0x592b42+'':_0x592b42,_0x58be49);import{CollaborationEvent as _0x3a8693,ITransformService as _0x120669,isTransformMutationsWithChangesetSuccess as _0x4b78b7,mapDocumentTypeToUniverType as _0x3dbc11,RevisionService as _0x10efe8,isTransformChangesetsSuccess as _0x4dafd0,CompressMutationService as _0x55c6e3,parseProtocolChangeset as _0x875d18,uuidv4 as _0x5b2502,ISnapshotServerService as _0x2d4089,parseChangesetToProtocol as _0x332fc5,SnapshotService as _0x393e02,textEncoder as _0x1bdd11,b64DecodeUnicode as _0x1492f3,isTransformMutationsWithChangesetFailure as _0x140d7c,UniverCollaborationPlugin as _0x57790c}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0xca033b,Inject as _0x55b050,UserManagerService as _0x429662,Disposable as _0x1e8ebb,UniverInstanceType as _0xe5d2ce,ILogService as _0xe5be65,IConfigService as _0x313741,Optional as _0x451ef7,RxDisposable as _0x16a750,createIdentifier as _0x98eadd,Injector as _0x53e138,Tools as _0x101be2,Rectangle as _0x31ad96,ICommandService as _0x258db2,JSONX as _0x7a09bc,CommandType as _0x191a70,IUndoRedoService as _0xf53b7,IPermissionService as _0x318fdb,LocaleService as _0x3d255b,sequenceExecute as _0xd12ad1,toDisposable as _0x300357,DisposableCollection as _0x5daa8a,Workbook as _0x1930ff,generateRandomId as _0x243992,MentionType as _0x4157a5,isInternalEditorID as _0x124149,LocalUndoRedoService as _0x40de3d,IContextService as _0x9fdc54,DependentOn as _0x6ced14,Plugin as _0x27955d,merge as _0x2ccf94,mergeOverrideWithDependencies as _0x47329c,IAuthzIoService as _0xbe3a07,IMentionIOService as _0x5e259c,registerDependencies as _0x4e7194,Quantity as _0x51fbf4,touchDependencies as _0x222f0a}from'@univerjs/core';import{RichTextEditingMutation as _0x353428}from'@univerjs/docs';import{SheetsSelectionsService as _0x443761,SetSelectionsOperation as _0x215edb,InsertSheetMutation as _0x317432,EmptyMutation as _0x18b4f4,WorkbookEditablePermission as _0x55e254,SheetPermissionInitController as _0x4a08c7}from'@univerjs/sheets';import{Subject as _0x4fc9b2,merge as _0x479f16,of as _0x4a7bdc,BehaviorSubject as _0x1ec595,takeUntil as _0x1fc1dd,ReplaySubject as _0x46192d,take as _0x3302cd,map as _0x285ff1,shareReplay as _0x4fbe3d,firstValueFrom as _0x2d74f3,concatMap as _0x59133d}from'rxjs';import{ITelemetryService as _0x53280a}from'@univerjs/telemetry';import{map as _0x1b2b98,take as _0x4d3db5,filter as _0x8f130f,delay as _0x1e615d,takeUntil as _0x1e6655}from'rxjs/operators';import{HTTPService as _0x35b3eb,ISocketService as _0x159f47,MergeInterceptorFactory as _0x2a03d0,HTTPRequest as _0x5988fc,UniverNetworkPlugin as _0x514c89,ThresholdInterceptorFactory as _0x29622c}from'@univerjs/network';import{ImageSourceType as _0x2164d4,ImageUploadStatusType as _0x92cf19,IImageIoService as _0x48aef6}from'@univerjs/drawing';import{getGlobalObject as _0x103cbb}from'@univerjs-pro/license';const fs=_0x379364(0x3cf),vs=_0x379364(0x1c5),ps=0x7d0,ms=_0x379364(0x445),Ir=_0x379364(0x3f9),gs='HEARTBEAT_INTERVAL',Ss=0x7530,di=_0x379364(0x3f4),fi=0x4e20,Es=0x4e20,Is=_0x379364(0x41e),Ts=0x3,Tr=_0x379364(0x3e4),Cr=0x3e8,Cs=_0x379364(0x40a),Rs='/universer-api/oidc/authpage',Rr=_0x379364(0x269),Or=_0x379364(0x44f);var vi=(_0x1618ee=>(_0x1618ee[_0x1618ee[_0x379364(0x2fe)]=0x0]=_0x379364(0x2fe),_0x1618ee[_0x1618ee['OK']=0x1]='OK',_0x1618ee[_0x1618ee[_0x379364(0x154)]=0x2]=_0x379364(0x154),_0x1618ee[_0x1618ee[_0x379364(0x355)]=0x3]=_0x379364(0x355),_0x1618ee[_0x1618ee[_0x379364(0x17b)]=0x4]=_0x379364(0x17b),_0x1618ee[_0x1618ee[_0x379364(0x22d)]=0x5]=_0x379364(0x22d),_0x1618ee[_0x1618ee[_0x379364(0x3a2)]=0x6]=_0x379364(0x3a2),_0x1618ee[_0x1618ee[_0x379364(0x316)]=0x7]=_0x379364(0x316),_0x1618ee[_0x1618ee[_0x379364(0x42d)]=0x8]=_0x379364(0x42d),_0x1618ee[_0x1618ee[_0x379364(0x31c)]=0x9]='COMPLETION_FINISHED',_0x1618ee[_0x1618ee[_0x379364(0x420)]=0xa]=_0x379364(0x420),_0x1618ee[_0x1618ee[_0x379364(0x293)]=0xb]=_0x379364(0x293),_0x1618ee[_0x1618ee['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x379364(0x424),_0x1618ee[_0x1618ee['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x379364(0x3ae),_0x1618ee[_0x1618ee[_0x379364(0x1fc)]=0xe]=_0x379364(0x1fc),_0x1618ee[_0x1618ee[_0x379364(0x2c0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1618ee[_0x1618ee[_0x379364(0x412)]=0x1771]=_0x379364(0x412),_0x1618ee[_0x1618ee[_0x379364(0x23c)]=0x1772]=_0x379364(0x23c),_0x1618ee[_0x1618ee['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1618ee[_0x1618ee[_0x379364(0x232)]=0x1b59]=_0x379364(0x232),_0x1618ee[_0x1618ee['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x379364(0x211),_0x1618ee[_0x1618ee[_0x379364(0x418)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1618ee[_0x1618ee[_0x379364(0x209)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1618ee[_0x1618ee[_0x379364(0x29d)]=0x1b5d]=_0x379364(0x29d),_0x1618ee[_0x1618ee['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1618ee[_0x1618ee[_0x379364(0x319)]=0x2329]=_0x379364(0x319),_0x1618ee[_0x1618ee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x379364(0x411),_0x1618ee[_0x1618ee['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1618ee[_0x1618ee[_0x379364(0x294)]=0x232c]=_0x379364(0x294),_0x1618ee[_0x1618ee[_0x379364(0x388)]=0x232d]=_0x379364(0x388),_0x1618ee[_0x1618ee[_0x379364(0x3d4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1618ee[_0x1618ee[_0x379364(0x2b6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x1618ee[_0x1618ee[_0x379364(0x18e)]=0x2713]=_0x379364(0x18e),_0x1618ee[_0x1618ee['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1618ee[_0x1618ee[_0x379364(0x159)]=0x271a]=_0x379364(0x159),_0x1618ee[_0x1618ee[_0x379364(0x32f)]=0x271b]=_0x379364(0x32f),_0x1618ee[_0x1618ee[_0x379364(0x1e6)]=0x271c]=_0x379364(0x1e6),_0x1618ee[_0x1618ee[_0x379364(0x17a)]=0x271d]=_0x379364(0x17a),_0x1618ee[_0x1618ee[_0x379364(0x376)]=0x271e]=_0x379364(0x376),_0x1618ee[_0x1618ee[_0x379364(0x35d)]=0x271f]=_0x379364(0x35d),_0x1618ee[_0x1618ee[_0x379364(0x343)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1618ee[_0x1618ee['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x379364(0x2cd),_0x1618ee[_0x1618ee['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1618ee[_0x1618ee[_0x379364(0x171)]=0x2ee2]=_0x379364(0x171),_0x1618ee[_0x1618ee['INVITE_CODE_REQUIRED']=0x2ee3]=_0x379364(0x1c3),_0x1618ee[_0x1618ee[_0x379364(0x3a3)]=0x2ee4]=_0x379364(0x3a3),_0x1618ee[_0x1618ee[_0x379364(0x27a)]=0x2ee5]=_0x379364(0x27a),_0x1618ee[_0x1618ee[_0x379364(0x381)]=0x32c9]=_0x379364(0x381),_0x1618ee[_0x1618ee[_0x379364(0x14c)]=0x32ca]=_0x379364(0x14c),_0x1618ee[_0x1618ee[_0x379364(0x342)]=0x32cb]=_0x379364(0x342),_0x1618ee[_0x1618ee[_0x379364(0x254)]=-0x1]='UNRECOGNIZED',_0x1618ee))(vi||{}),Z=(_0x103837=>(_0x103837[_0x103837[_0x379364(0x303)]=0x0]=_0x379364(0x303),_0x103837[_0x103837[_0x379364(0x30f)]=0x1]='UNIVER_DOC',_0x103837[_0x103837[_0x379364(0x321)]=0x2]=_0x379364(0x321),_0x103837[_0x103837[_0x379364(0x3ea)]=0x3]=_0x379364(0x3ea),_0x103837[_0x103837[_0x379364(0x1dd)]=0x4]=_0x379364(0x1dd),_0x103837[_0x103837['UNRECOGNIZED']=-0x1]=_0x379364(0x254),_0x103837))(Z||{}),F=(_0x3283b4=>(_0x3283b4[_0x3283b4['UNKNOWN_CMD']=0x0]=_0x379364(0x27e),_0x3283b4[_0x3283b4[_0x379364(0x2be)]=0x1]=_0x379364(0x2be),_0x3283b4[_0x3283b4[_0x379364(0x1e3)]=0x2]='JOIN',_0x3283b4[_0x3283b4['LEAVE']=0x3]='LEAVE',_0x3283b4[_0x3283b4['INGEST']=0x4]=_0x379364(0x274),_0x3283b4[_0x3283b4[_0x379364(0x296)]=0x5]=_0x379364(0x296),_0x3283b4[_0x3283b4[_0x379364(0x160)]=0x6]=_0x379364(0x160),_0x3283b4[_0x3283b4[_0x379364(0x254)]=-0x1]=_0x379364(0x254),_0x3283b4))(F||{}),pe=(_0x497cf6=>(_0x497cf6[_0x497cf6['UNKNOWN_CODE']=0x0]=_0x379364(0x2a7),_0x497cf6[_0x497cf6['OK']=0x1]='OK',_0x497cf6[_0x497cf6[_0x379364(0x36a)]=0x2]=_0x379364(0x36a),_0x497cf6[_0x497cf6[_0x379364(0x3c7)]=0x3e9]=_0x379364(0x3c7),_0x497cf6[_0x497cf6['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x379364(0x39a),_0x497cf6[_0x497cf6[_0x379364(0x437)]=0x3eb]=_0x379364(0x437),_0x497cf6[_0x497cf6[_0x379364(0x433)]=0x3ec]=_0x379364(0x433),_0x497cf6[_0x497cf6[_0x379364(0x254)]=-0x1]=_0x379364(0x254),_0x497cf6))(pe||{}),pi=(_0x141392=>(_0x141392[_0x141392[_0x379364(0x1be)]=0x0]=_0x379364(0x1be),_0x141392[_0x141392[_0x379364(0x1e2)]=0x1]=_0x379364(0x1e2),_0x141392[_0x141392[_0x379364(0x314)]=0x2]=_0x379364(0x314),_0x141392[_0x141392[_0x379364(0x3b3)]=0x3]=_0x379364(0x3b3),_0x141392[_0x141392[_0x379364(0x266)]=0x4]=_0x379364(0x266),_0x141392[_0x141392['UserProfileImg']=0x5]=_0x379364(0x275),_0x141392[_0x141392['UNRECOGNIZED']=-0x1]=_0x379364(0x254),_0x141392))(pi||{});const Os=_0x379364(0x352);function bs(_0x232e13){var _0x130da9=_0x379364;return JSON[_0x130da9(0x3fa)](_0x232e13)[_0x130da9(0x1ef)];}var ne=(_0x32f08f=>(_0x32f08f[_0x379364(0x1b8)]=_0x379364(0x1b8),_0x32f08f[_0x379364(0x355)]='PERMISSION_DENIED',_0x32f08f['CONFLICT']=_0x379364(0x438),_0x32f08f[_0x379364(0x167)]=_0x379364(0x167),_0x32f08f[_0x379364(0x305)]='JOIN_ROOM_FAILED',_0x32f08f[_0x379364(0x225)]=_0x379364(0x225),_0x32f08f[_0x379364(0x24f)]='SOCKET_FAILED',_0x32f08f[_0x379364(0x3e6)]='SUBMIT_CHANGESET_TIMEOUT',_0x32f08f))(ne||{});class ve{constructor(){var _0x9b9a06=_0x379364;N(this,_0x9b9a06(0x2f2),new _0x4fc9b2()),N(this,_0x9b9a06(0x3f6),this[_0x9b9a06(0x2f2)][_0x9b9a06(0x455)]());}[_0x379364(0x239)](_0x225baa){var _0x496792=_0x379364;this['_event$'][_0x496792(0x372)](_0x225baa);}}class mi{constructor(){var _0x28fdcb=_0x379364;N(this,_0x28fdcb(0x281),new _0x4fc9b2()),N(this,_0x28fdcb(0x1bd),this[_0x28fdcb(0x281)][_0x28fdcb(0x455)]());}['onCommentUpdate'](_0x2734a3){this['_commentUpdate$']['next'](_0x2734a3);}}var ys=Object[_0x379364(0x356)],Ns=(_0x557e86,_0xbb334b,_0xdc2e11,_0x1e7d0f)=>{var _0x2ab602=_0x379364;for(var _0x418728=_0x1e7d0f>0x1?void 0x0:_0x1e7d0f?ys(_0xbb334b,_0xdc2e11):_0xbb334b,_0x550427=_0x557e86[_0x2ab602(0x1ef)]-0x1,_0x1ff842;_0x550427>=0x0;_0x550427--)(_0x1ff842=_0x557e86[_0x550427])&&(_0x418728=_0x1ff842(_0x418728)||_0x418728);return _0x418728;},Ft=(_0x42ccab,_0x42594d)=>(_0x461122,_0x4bc66f)=>_0x42594d(_0x461122,_0x4bc66f,_0x42ccab);let we=class extends _0x1e8ebb{constructor(_0x150f7c,_0x3b1805){var _0x56fa15=_0x379364;super(),N(this,_0x56fa15(0x228),new Map()),N(this,'_roomCreated$',new _0x4fc9b2()),(this['_univerInstanceService']=_0x150f7c,this[_0x56fa15(0x260)]=_0x3b1805,this[_0x56fa15(0x2bb)](_0x479f16(this['_univerInstanceService'][_0x56fa15(0x43e)](_0xe5d2ce['UNIVER_SHEET'])[_0x56fa15(0x19d)](_0x1b2b98(_0x8c3a83=>_0x8c3a83[_0x56fa15(0x43f)]())),this[_0x56fa15(0x19b)][_0x56fa15(0x43e)](_0xe5d2ce[_0x56fa15(0x30f)])[_0x56fa15(0x19d)](_0x1b2b98(_0x37a2fe=>_0x37a2fe['getUnitId']())),this[_0x56fa15(0x19b)][_0x56fa15(0x43e)](_0xe5d2ce[_0x56fa15(0x3ea)])[_0x56fa15(0x19d)](_0x1b2b98(_0x1f28a2=>_0x1f28a2[_0x56fa15(0x43f)]())))[_0x56fa15(0x20d)](_0x1bfa9c=>this[_0x56fa15(0x2a1)](_0x1bfa9c))));}[_0x379364(0x393)](_0x50874b){var _0x69b230=_0x379364;return this[_0x69b230(0x228)][_0x69b230(0x242)](_0x50874b)?_0x4a7bdc(this[_0x69b230(0x228)]['get'](_0x50874b)):this[_0x69b230(0x207)][_0x69b230(0x19d)](_0x1b2b98(_0xdf6c7=>{var _0x29a0b7=_0x69b230;if(_0xdf6c7===_0x50874b)return this[_0x29a0b7(0x228)][_0x29a0b7(0x443)](_0xdf6c7);}));}['setCurrentUser'](_0x57e4f0){var _0x2b5650=_0x379364;this[_0x2b5650(0x260)][_0x2b5650(0x35f)](_0x57e4f0);}[_0x379364(0x200)](){var _0x25db56=_0x379364;return this[_0x25db56(0x260)][_0x25db56(0x200)]();}[_0x379364(0x1d9)](_0x387088,_0x562241){var _0x1af9af=_0x379364;let _0x3af873=this['_roomMembers'][_0x1af9af(0x443)](_0x387088);_0x3af873||(_0x3af873=new Ds(),this[_0x1af9af(0x228)]['set'](_0x387088,_0x3af873),this[_0x1af9af(0x207)]['next'](_0x387088)),_0x3af873['updateMember'](_0x562241);}[_0x379364(0x222)](_0x1cc56d,_0x276d6f){var _0x124dbd=_0x379364;const _0x59444e=this[_0x124dbd(0x228)][_0x124dbd(0x443)](_0x1cc56d);_0x59444e&&_0x59444e[_0x124dbd(0x222)](_0x276d6f);}[_0x379364(0x1b2)](_0x23ebe9){var _0x2f378d=_0x379364;return this[_0x2f378d(0x228)][_0x2f378d(0x443)](_0x23ebe9);}[_0x379364(0x326)](_0x3849ce,_0xbeaa74){var _0x1a709c=_0x379364;const _0x44f727=this['_roomMembers'][_0x1a709c(0x443)](_0x3849ce);if(_0x44f727)return _0x44f727[_0x1a709c(0x326)](_0xbeaa74);}['_removeRoom'](_0x6c00cb){var _0x28ac3f=_0x379364;const _0x551ee5=this[_0x28ac3f(0x228)]['get'](_0x6c00cb);_0x551ee5&&(_0x551ee5[_0x28ac3f(0x299)](),this[_0x28ac3f(0x228)][_0x28ac3f(0x405)](_0x6c00cb));}[_0x379364(0x299)](){var _0x24e2b0=_0x379364;this[_0x24e2b0(0x228)][_0x24e2b0(0x2e3)](_0x2b9b0f=>_0x2b9b0f[_0x24e2b0(0x299)]()),this['_roomMembers']['clear'](),this['_roomCreated$'][_0x24e2b0(0x2c8)]();}};we=Ns([Ft(0x0,_0xca033b),Ft(0x1,_0x55b050(_0x429662))],we);class Ds extends _0x1e8ebb{constructor(){var _0x31a39d=_0x379364;super(...arguments),N(this,_0x31a39d(0x3cb),new Map()),N(this,_0x31a39d(0x358),new _0x1ec595(this['_members'])),N(this,_0x31a39d(0x3de),this[_0x31a39d(0x358)]['asObservable']());}['dispose'](){var _0x5558d2=_0x379364;this[_0x5558d2(0x3cb)][_0x5558d2(0x2b9)]();}[_0x379364(0x1d9)](_0x30797f){var _0x9a0ebe=_0x379364;this[_0x9a0ebe(0x3cb)][_0x9a0ebe(0x201)](_0x30797f[_0x9a0ebe(0x391)],_0x30797f),this[_0x9a0ebe(0x2ff)]();}['removeMember'](_0x4adaec){var _0x32c996=_0x379364;this['_members'][_0x32c996(0x405)](_0x4adaec);}[_0x379364(0x326)](_0x17cbd7){var _0x453d5a=_0x379364;return this[_0x453d5a(0x3cb)]['get'](_0x17cbd7);}[_0x379364(0x28a)](){var _0x30efb2=_0x379364;return Array[_0x30efb2(0x44a)](this[_0x30efb2(0x3cb)]['values']());}[_0x379364(0x2ff)](){var _0x31d637=_0x379364;this[_0x31d637(0x358)][_0x31d637(0x372)](this[_0x31d637(0x3cb)]);}}var Us=Object[_0x379364(0x356)],As=(_0x1f2089,_0x4551b2,_0x4585d0,_0x26b56b)=>{for(var _0x41df76=_0x26b56b>0x1?void 0x0:_0x26b56b?Us(_0x4551b2,_0x4585d0):_0x4551b2,_0x3ecf45=_0x1f2089['length']-0x1,_0x251bcf;_0x3ecf45>=0x0;_0x3ecf45--)(_0x251bcf=_0x1f2089[_0x3ecf45])&&(_0x41df76=_0x251bcf(_0x41df76)||_0x41df76);return _0x41df76;},Ce=(_0x4f5146,_0x5628e3)=>(_0x3c9536,_0x3121a4)=>_0x5628e3(_0x3c9536,_0x3121a4,_0x4f5146),ge=(_0x5f3df6=>(_0x5f3df6[_0x5f3df6[_0x379364(0x36d)]=0x0]=_0x379364(0x36d),_0x5f3df6[_0x5f3df6[_0x379364(0x229)]=0x1]=_0x379364(0x229),_0x5f3df6[_0x5f3df6[_0x379364(0x439)]=0x2]=_0x379364(0x439),_0x5f3df6[_0x5f3df6['ONLINE']=0x3]=_0x379364(0x24c),_0x5f3df6))(ge||{});const Vt={[pe[_0x379364(0x36a)]]:_0x379364(0x442),[pe[_0x379364(0x3c7)]]:'session.room-full',[pe[_0x379364(0x39a)]]:_0x379364(0x1f7),[pe[_0x379364(0x437)]]:_0x379364(0x156),[pe[_0x379364(0x433)]]:_0x379364(0x3fc)};let gt=class extends _0x16a750{constructor(_0x306e3f,_0xf1c7d,_0x17579a,_0x1cb996,_0x43dd56,_0x12ee5a,_0x2689da,_0x55442c){var _0x39f188=_0x379364;super(),N(this,'_sessionStatus$',new _0x1ec595(0x0)),N(this,_0x39f188(0x435),this[_0x39f188(0x1ed)][_0x39f188(0x455)]()),N(this,'_event$',new _0x4fc9b2()),N(this,_0x39f188(0x3f6),this[_0x39f188(0x2f2)]['asObservable']()),N(this,_0x39f188(0x295)),N(this,'_socketMessageSubscription'),N(this,'_collaborationTimeoutTimer'),N(this,_0x39f188(0x1a1),!0x1),N(this,_0x39f188(0x43b),null),(this['_unitID']=_0x306e3f,this['_logService']=_0x17579a,this[_0x39f188(0x3bb)]=_0x1cb996,this[_0x39f188(0x3af)]=_0x43dd56,this[_0x39f188(0x2e9)]=_0x12ee5a,this[_0x39f188(0x325)]=_0x2689da,this[_0x39f188(0x197)]=_0x55442c,this[_0x39f188(0x1a1)]=!!this['_telemetryService'],_0xf1c7d['pipe'](_0x1fc1dd(this[_0x39f188(0x193)]))[_0x39f188(0x20d)](_0x332587=>{var _0x4dcaba=_0x39f188,_0x54c3e0;typeof _0x332587>'u'||(this[_0x4dcaba(0x295)]=_0x332587,_0x332587?(this[_0x4dcaba(0x189)](_0x332587),this[_0x4dcaba(0x3c5)]=_0x332587['message$'][_0x4dcaba(0x20d)](_0x38db42=>{var _0x199615=_0x4dcaba;_0x38db42[_0x199615(0x1b6)]===this['_unitID']&&this[_0x199615(0x1f6)](_0x38db42);})):(this[_0x4dcaba(0x3a4)](),this['_sessionStatus$'][_0x4dcaba(0x372)](0x2),(_0x54c3e0=this['_socketMessageSubscription'])==null||_0x54c3e0[_0x4dcaba(0x2da)](),this[_0x4dcaba(0x3c5)]=null));}));}get[_0x379364(0x36b)](){var _0x38013d=_0x379364;return this[_0x38013d(0x1ed)]['getValue']();}[_0x379364(0x1f4)](){var _0x1b37b5=_0x379364,_0x5e1caa,_0x2ef6c0;return(_0x2ef6c0=(_0x5e1caa=this[_0x1b37b5(0x295)])==null?void 0x0:_0x5e1caa[_0x1b37b5(0x391)])!=null?_0x2ef6c0:null;}[_0x379364(0x299)](){var _0x279d67=_0x379364;super[_0x279d67(0x299)](),this[_0x279d67(0x193)][_0x279d67(0x372)](),this['dispose$'][_0x279d67(0x2c8)]();}['close'](){var _0x1c383d=_0x379364,_0x3a6684,_0x8ede71;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3a6684=this['_socket'])==null||_0x3a6684[_0x1c383d(0x41b)]({'cmd':F[_0x1c383d(0x1db)],'data':{'roomID':this[_0x1c383d(0x2d2)]}}),(_0x8ede71=this['_socket'])==null||_0x8ede71[_0x1c383d(0x2b3)](),this['_event$'][_0x1c383d(0x2c8)](),this[_0x1c383d(0x1ed)]['complete'](),this[_0x1c383d(0x299)]();}[_0x379364(0x1f6)](_0xe30ba3){var _0x5f0229=_0x379364;_0xe30ba3[_0x5f0229(0x2c6)]===F[_0x5f0229(0x1e3)]?this[_0x5f0229(0x3a8)](_0xe30ba3):_0xe30ba3[_0x5f0229(0x2c6)]===F[_0x5f0229(0x160)]&&this[_0x5f0229(0x432)](_0xe30ba3);}[_0x379364(0x189)](_0xa5370c){var _0x59a150=_0x379364;this[_0x59a150(0x1ed)][_0x59a150(0x372)](0x1),_0xa5370c[_0x59a150(0x41b)]({'cmd':F[_0x59a150(0x1e3)],'routeKey':this[_0x59a150(0x2d2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x59a150(0x2d2)]}]}});}[_0x379364(0x3a8)](_0x1c6964){var _0x2a0dab=_0x379364,_0x67327c;if(_0x1c6964[_0x2a0dab(0x212)]in Vt){this['_collaborationUIEventService'][_0x2a0dab(0x239)]({'id':ne[_0x2a0dab(0x305)],'data':Vt[_0x1c6964[_0x2a0dab(0x212)]]}),this[_0x2a0dab(0x1ed)]['next'](0x2);return;}this[_0x2a0dab(0x1ed)]['next'](0x3);const _0x27c112=(_0x67327c=_0x1c6964[_0x2a0dab(0x248)]['roomInfos'][this[_0x2a0dab(0x2d2)]])==null?void 0x0:_0x67327c[_0x2a0dab(0x2d4)];_0x27c112&&_0x27c112[_0x2a0dab(0x2e3)](_0x6ba1c5=>this[_0x2a0dab(0x3af)][_0x2a0dab(0x1d9)](this[_0x2a0dab(0x2d2)],_0x6ba1c5));}[_0x379364(0x432)](_0xf393d3){var _0x45d275=_0x379364;try{const _0xce28cd=_0xf393d3[_0x45d275(0x248)];switch(_0xce28cd[_0x45d275(0x2c9)]){case _0x3a8693[_0x45d275(0x42f)]:this[_0x45d275(0x428)](_0xce28cd),this[_0x45d275(0x2f2)][_0x45d275(0x372)](_0xce28cd);break;case _0x3a8693[_0x45d275(0x416)]:this[_0x45d275(0x2e6)](_0xce28cd),this['_event$'][_0x45d275(0x372)](_0xce28cd);break;case _0x3a8693[_0x45d275(0x217)]:case _0x3a8693[_0x45d275(0x1d7)]:this[_0x45d275(0x276)](),this[_0x45d275(0x3f1)](),this[_0x45d275(0x2f2)][_0x45d275(0x372)](_0xce28cd);break;case _0x3a8693['MSG_FOR_ERROR']:this[_0x45d275(0x2a6)][_0x45d275(0x3ed)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x45d275(0x3fa)](_0xce28cd)),this['_event$'][_0x45d275(0x372)](_0xce28cd);break;case _0x3a8693[_0x45d275(0x3ad)]:this[_0x45d275(0x2e9)][_0x45d275(0x370)](_0xce28cd[_0x45d275(0x248)]),this[_0x45d275(0x2f2)][_0x45d275(0x372)](_0xce28cd);break;default:this[_0x45d275(0x2f2)][_0x45d275(0x372)](_0xce28cd);}}catch(_0x2e1536){this[_0x45d275(0x2a6)]['error'](_0x2e1536,_0xf393d3);}}[_0x379364(0x428)](_0x4bbcd2){var _0x592290=_0x379364;this['_memberService'][_0x592290(0x1d9)](this[_0x592290(0x2d2)],_0x4bbcd2[_0x592290(0x248)]);}['_onUserLeave'](_0x978a46){var _0x10b5aa=_0x379364;this[_0x10b5aa(0x3af)][_0x10b5aa(0x222)](this['_unitID'],_0x978a46[_0x10b5aa(0x248)][_0x10b5aa(0x391)]);}async['send'](_0x4a569e,_0x2d4aab){var _0x5a8bbd=_0x379364;if(this[_0x5a8bbd(0x36b)]!==0x3||!this['_socket'])throw new Error(_0x5a8bbd(0x3ff));try{_0x4a569e['eventID']===_0x3a8693['SUBMIT_CHANGESET']&&(this[_0x5a8bbd(0x16d)](),this[_0x5a8bbd(0x2b2)](_0x4a569e)),this[_0x5a8bbd(0x295)]['send']({'cmd':F[_0x5a8bbd(0x274)],'routeKey':_0x2d4aab,'routeType':'','data':_0x4a569e});}catch(_0x36ae4b){this[_0x5a8bbd(0x2a6)][_0x5a8bbd(0x3ed)](_0x36ae4b);}}[_0x379364(0x16d)](){var _0x183b0f=_0x379364,_0x40588e;this[_0x183b0f(0x297)]=setTimeout(()=>{var _0x48865b=_0x183b0f;this[_0x48865b(0x297)]=null,this['_collaborationUIEventService'][_0x48865b(0x239)]({'id':ne[_0x48865b(0x3e6)]});},(_0x40588e=this[_0x183b0f(0x3bb)][_0x183b0f(0x23e)](di))!=null?_0x40588e:fi);}[_0x379364(0x3f1)](){var _0x998311=_0x379364;this[_0x998311(0x297)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x998311(0x297)]=null);}[_0x379364(0x2b2)](_0x4a9176){var _0x1b58b5=_0x379364;if(!this[_0x1b58b5(0x1a1)])return;const {data:_0x53b4c7}=_0x4a9176,{unitID:_0x5896bc,changeset:_0x395790}=_0x53b4c7,{mutations:_0xd7e216,type:_0x104ecf}=_0x395790;this[_0x1b58b5(0x43b)]={'unitId':_0x5896bc,'type':_0x104ecf,'startTime':performance[_0x1b58b5(0x194)](),'stopTime':0x0,'duration':0x0,'size':bs(_0xd7e216)};}[_0x379364(0x276)](){var _0x4ec3e3=_0x379364;if(this[_0x4ec3e3(0x1a1)]){if(!this[_0x4ec3e3(0x43b)]){this[_0x4ec3e3(0x2a6)][_0x4ec3e3(0x3ed)](_0x4ec3e3(0x237),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x4ec3e3(0x43b)][_0x4ec3e3(0x20b)]=performance['now'](),this[_0x4ec3e3(0x43b)][_0x4ec3e3(0x157)]=this[_0x4ec3e3(0x43b)][_0x4ec3e3(0x20b)]-this[_0x4ec3e3(0x43b)][_0x4ec3e3(0x35e)],this[_0x4ec3e3(0x197)][_0x4ec3e3(0x33e)](Os,this[_0x4ec3e3(0x43b)]),this[_0x4ec3e3(0x43b)]=null;}}[_0x379364(0x3a4)](){var _0x36016a=_0x379364;this[_0x36016a(0x43b)]=null;}};gt=As([Ce(0x2,_0xe5be65),Ce(0x3,_0x313741),Ce(0x4,_0x55b050(we)),Ce(0x5,_0x55b050(mi)),Ce(0x6,_0x55b050(ve)),Ce(0x7,_0x451ef7(_0x53280a))],gt);const J=_0x98eadd('collaboration-client.local-cache-service');function br(_0x3dd4b1){return'unit-cache-'+_0x3dd4b1;}var ws=Object[_0x379364(0x356)],Ps=(_0x3a3215,_0x454be5,_0x23379b,_0xe345df)=>{var _0x4a7b8a=_0x379364;for(var _0x84f6a9=_0xe345df>0x1?void 0x0:_0xe345df?ws(_0x454be5,_0x23379b):_0x454be5,_0xbe83cc=_0x3a3215[_0x4a7b8a(0x1ef)]-0x1,_0x43f8ad;_0xbe83cc>=0x0;_0xbe83cc--)(_0x43f8ad=_0x3a3215[_0xbe83cc])&&(_0x84f6a9=_0x43f8ad(_0x84f6a9)||_0x84f6a9);return _0x84f6a9;},ut=(_0x1fa999,_0x584bf5)=>(_0x1c1ac6,_0x2913f9)=>_0x584bf5(_0x1c1ac6,_0x2913f9,_0x1fa999);function Ms(_0x31ceae){var _0x4055c9=_0x379364;const {unitID:_0x4ffb38,mutations:_0x18ddeb}=_0x31ceae;return{'unitId':_0x4ffb38,'subUnitId':_0x18ddeb[0x0][_0x4055c9(0x317)][_0x4055c9(0x23b)]};}let it=class{constructor(_0x79ae80,_0x44fd2e,_0xfee94f){var _0x1fb8b4=_0x379364;this['_injector']=_0x79ae80,this[_0x1fb8b4(0x313)]=_0x44fd2e,this[_0x1fb8b4(0x320)]=_0xfee94f;}[_0x379364(0x3e5)](_0x40b6eb){var _0x151907=_0x379364,_0x4b5795,_0x3bb369,_0x1cdb5f,_0x502553;const _0x28c3eb=this['_injector'][_0x151907(0x443)](_0x443761),{unitId:_0x1d9298,subUnitId:_0x4f8607}=Ms(_0x40b6eb),_0x3ce8bc=_0x28c3eb==null?void 0x0:_0x28c3eb[_0x151907(0x25f)](_0x1d9298)[_0x151907(0x3d7)](),_0x43546c=(_0x3bb369=(_0x4b5795=this[_0x151907(0x320)][_0x151907(0x3d8)](_0x1d9298))==null?void 0x0:_0x4b5795['getActiveSheet']())==null?void 0x0:_0x3bb369[_0x151907(0x31b)]();if(_0x3ce8bc['length']===0x0||!_0x1d9298||!_0x4f8607)return;const _0xf0325c=[{'id':_0x215edb['id'],'params':{'unitId':_0x1d9298,'subUnitId':_0x43546c,'selections':_0x101be2[_0x151907(0x337)](_0x3ce8bc)}}],_0x1533d6=this[_0x151907(0x313)]['transformMutationsWithChangeset'](_0x40b6eb,_0xf0325c);if(!_0x4b78b7(_0x1533d6))throw _0x1533d6[_0x151907(0x3ed)];const _0x53adb8=(_0x502553=(_0x1cdb5f=_0x1533d6[_0x151907(0x34d)][0x0])==null?void 0x0:_0x1cdb5f['params'])==null?void 0x0:_0x502553[_0x151907(0x2ac)];if(Array['isArray'](_0x53adb8)&&_0x53adb8[_0x151907(0x1ef)]){if(_0x53adb8['length']===_0xf0325c[0x0][_0x151907(0x317)][_0x151907(0x2ac)][_0x151907(0x1ef)]&&_0x53adb8[_0x151907(0x334)]((_0x2458c9,_0x4d1ca1)=>_0x31ad96['equals'](_0x2458c9['range'],_0xf0325c[0x0][_0x151907(0x317)][_0x151907(0x2ac)][_0x4d1ca1][_0x151907(0x19e)])))return;this[_0x151907(0x168)][_0x151907(0x443)](_0x258db2)['executeCommand'](_0x215edb['id'],{'unitId':_0x1d9298,'subUnitId':_0x43546c,'selections':_0x53adb8});}}};it=Ps([ut(0x0,_0x55b050(_0x53e138)),ut(0x1,_0x120669),ut(0x2,_0xca033b)],it);const ht=_0x98eadd(_0x379364(0x2de));var gi=(_0xc2c78=>(_0xc2c78[_0xc2c78[_0x379364(0x28e)]=0x0]=_0x379364(0x28e),_0xc2c78[_0xc2c78[_0x379364(0x2c7)]=0x1]='OTHER_CLIENTS_EDITING',_0xc2c78))(gi||{});const K=_0x379364(0x384),Ls={},xs=new Set([_0x317432['id']]);function Wt(_0x1c2f32,_0x450713,_0x847fa9,_0x327ac7,_0x45bd2c){var _0x32bb46=_0x379364,_0x2a20b2,_0x50b508,_0x518bd2,_0x432b23;const _0x95928d=[];for(const _0x1eea6c of _0x1c2f32)if(xs[_0x32bb46(0x242)](_0x1eea6c['id'])){if(_0x95928d[_0x32bb46(0x1ef)]>0x0)break;_0x95928d[_0x32bb46(0x364)](_0x1eea6c);break;}else _0x95928d[_0x32bb46(0x364)](_0x1eea6c);const _0xcaeef4=(_0x50b508=(_0x2a20b2=_0x45bd2c[_0x32bb46(0x200)]())==null?void 0x0:_0x2a20b2[_0x32bb46(0x15b)])!=null?_0x50b508:_0x32bb46(0x1e9),_0x4936e8=(_0x432b23=(_0x518bd2=_0x45bd2c[_0x32bb46(0x200)]())==null?void 0x0:_0x518bd2[_0x32bb46(0x391)])!=null?_0x432b23:'unknown';return{'changeset':{'unitID':_0x450713,'type':_0x3dbc11(_0x847fa9['getUnitType'](_0x450713)),'baseRev':_0x327ac7[_0x32bb46(0x196)](_0x450713),'revision':0x0,'userID':_0xcaeef4,'memberID':_0x4936e8,'mutations':_0x95928d},'pendingMutations':_0x1c2f32[_0x32bb46(0x2d9)](_0x95928d[_0x32bb46(0x1ef)])};}function ks(_0x582929,_0x1e09bc,_0xa2ee7f,_0x2a39d4,_0x489a19){var _0x171520=_0x379364,_0x585484,_0x316e7b,_0x5a6f34,_0x3074bc;const _0x54bfad=[_0x582929[_0x171520(0x3a7)]((_0x18d469,_0x3e8e68)=>{var _0x3e238d=_0x171520,_0xa348ae;const {id:_0x5163e5}=_0x18d469,{id:_0x282dfe,type:_0x40d8b1}=_0x3e8e68,_0x38cc54=(_0xa348ae=_0x18d469[_0x3e238d(0x317)])!=null?_0xa348ae:{'actions':null},_0x4d6209=_0x3e8e68[_0x3e238d(0x317)];if(_0x5163e5&&_0x5163e5!==_0x282dfe)throw new Error(_0x3e238d(0x1e8)+_0x5163e5+'\x20-\x20'+_0x282dfe+'.');return{..._0x18d469,'id':_0x282dfe,'type':_0x40d8b1,'params':{'unitId':_0x4d6209['unitId'],'textRanges':_0x4d6209[_0x3e238d(0x19c)],'actions':_0x7a09bc[_0x3e238d(0x1eb)](_0x38cc54[_0x3e238d(0x399)],_0x4d6209['actions'])}};},{})],_0x27b0ec=(_0x316e7b=(_0x585484=_0x489a19[_0x171520(0x200)]())==null?void 0x0:_0x585484[_0x171520(0x15b)])!=null?_0x316e7b:_0x171520(0x1e9),_0x12d5f5=(_0x3074bc=(_0x5a6f34=_0x489a19[_0x171520(0x200)]())==null?void 0x0:_0x5a6f34[_0x171520(0x391)])!=null?_0x3074bc:'unknown';return{'changeset':{'unitID':_0x1e09bc,'type':_0x3dbc11(_0xa2ee7f[_0x171520(0x1d4)](_0x1e09bc)),'baseRev':_0x2a39d4[_0x171520(0x196)](_0x1e09bc),'revision':0x0,'userID':_0x27b0ec,'memberID':_0x12d5f5,'mutations':_0x54bfad},'pendingMutations':[]};}function Si(_0xb946a4,_0x72c344){var _0x1fdff0=_0x379364;const _0x2e1a27=new _0x46192d(0x1);return setTimeout(()=>_0x2e1a27['next'](_0x72c344),_0xb946a4),_0x2e1a27[_0x1fdff0(0x455)]()['pipe'](_0x3302cd(0x1));}const $s={'id':_0x18b4f4['id'],'type':_0x191a70[_0x379364(0x2fd)],'params':{}};var Hs=Object[_0x379364(0x356)],Ee=(_0x2618c7,_0x568bf0,_0x26a2b8,_0x2ffc6b)=>{var _0x5c997c=_0x379364;for(var _0x3c5d2f=_0x2ffc6b>0x1?void 0x0:_0x2ffc6b?Hs(_0x568bf0,_0x26a2b8):_0x568bf0,_0x206808=_0x2618c7[_0x5c997c(0x1ef)]-0x1,_0x478d4f;_0x206808>=0x0;_0x206808--)(_0x478d4f=_0x2618c7[_0x206808])&&(_0x3c5d2f=_0x478d4f(_0x3c5d2f)||_0x3c5d2f);return _0x3c5d2f;},P=(_0x281d6d,_0xc6e97e)=>(_0x53d7c4,_0x2e64ac)=>_0xc6e97e(_0x53d7c4,_0x2e64ac,_0x281d6d),Ei=(_0x158628=>(_0x158628[_0x379364(0x2ec)]=_0x379364(0x3e3),_0x158628['SYNCED']='synced',_0x158628[_0x379364(0x249)]=_0x379364(0x164),_0x158628['AWAITING']=_0x379364(0x318),_0x158628[_0x379364(0x2dd)]=_0x379364(0x3ef),_0x158628[_0x379364(0x311)]=_0x379364(0x2d6),_0x158628[_0x379364(0x438)]=_0x379364(0x37f),_0x158628[_0x379364(0x439)]=_0x379364(0x179),_0x158628))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x11263c,_0x13ebea,_0x3283c0,_0x5e963d,_0x6000c9,_0x261648,_0x49a841,_0x4c3172,_0x26927a){var _0x4e79b1=_0x379364;N(this,_0x4e79b1(0x431),null),N(this,_0x4e79b1(0x44d),[]),(this[_0x4e79b1(0x224)]=_0x11263c,this[_0x4e79b1(0x27c)]=_0x13ebea,this[_0x4e79b1(0x26a)]=_0x6000c9,this[_0x4e79b1(0x213)]=_0x261648,this['_undoRedoService']=_0x49a841,this[_0x4e79b1(0x38f)]=_0x4c3172,this[_0x4e79b1(0x24d)]=_0x26927a,this[_0x4e79b1(0x431)]=_0x3283c0,this['_pendingMutations']=_0x5e963d);}[_0x379364(0x235)](_0x374fc0){var _0x301a51=_0x379364;const _0xbd8ffa=this['_revisionService'][_0x301a51(0x196)](this['unitID']);return _0x374fc0['revision']>_0xbd8ffa+0x1?(this[_0x301a51(0x26a)][_0x301a51(0x39b)]({'from':_0xbd8ffa,'to':_0x374fc0[_0x301a51(0x1e0)]-0x1}),!0x0):!0x1;}[_0x379364(0x35b)](_0x4b093e){var _0x51984b=_0x379364;this[_0x51984b(0x270)][_0x51984b(0x192)](this[_0x51984b(0x224)],_0x4b093e);}['_transformSelections'](_0x26170b){var _0x5685f0=_0x379364,_0x595a57,_0xcb9d73;(_0xcb9d73=(_0x595a57=this[_0x5685f0(0x26a)])['onTransformSelections'])==null||_0xcb9d73[_0x5685f0(0x2cf)](_0x595a57,_0x26170b);}[_0x379364(0x3df)](_0x16f344){var _0x339dc3=_0x379364,_0x368629,_0x5d7a73;return(_0x5d7a73=(_0x368629=this['_handler'])[_0x339dc3(0x36c)])==null?void 0x0:_0x5d7a73[_0x339dc3(0x2cf)](_0x368629,_0x16f344);}[_0x379364(0x190)](_0x3480d7){var _0x7f731c=_0x379364,_0x29394e,_0x1ef566;return(_0x1ef566=(_0x29394e=this[_0x7f731c(0x26a)])['onTransformState'])==null?void 0x0:_0x1ef566[_0x7f731c(0x2cf)](_0x29394e,_0x3480d7);}['_transformRemoteChangesetByIMECache'](_0x425a44){var _0x447326=_0x379364,_0x3eebd3,_0x270fba,_0x508e91;return(_0x508e91=(_0x270fba=(_0x3eebd3=this[_0x447326(0x26a)])[_0x447326(0x434)])==null?void 0x0:_0x270fba[_0x447326(0x2cf)](_0x3eebd3,_0x425a44))!=null?_0x508e91:_0x425a44;}[_0x379364(0x1a2)](_0x130da7){var _0xc9c2cb=_0x379364,_0x482b19,_0x227c31,_0x42a775;return(_0x42a775=(_0x227c31=(_0x482b19=this[_0xc9c2cb(0x26a)])[_0xc9c2cb(0x2ce)])==null?void 0x0:_0x227c31[_0xc9c2cb(0x2cf)](_0x482b19,_0x130da7))!=null?_0x42a775:_0x130da7;}['_syncEditingCollabCursor'](_0x2b3467){var _0x362e5d=_0x379364,_0x455792,_0x51582e;if(this[_0x362e5d(0x27c)]===Z[_0x362e5d(0x30f)]){const {unitID:_0x3027d0,mutations:_0x907ac,memberID:_0x4709e3}=_0x2b3467,_0x5f3cf2=_0x907ac[0x0][_0x362e5d(0x317)][_0x362e5d(0x19c)];Array['isArray'](_0x5f3cf2)&&_0x5f3cf2[_0x362e5d(0x1ef)]>0x0&&((_0x51582e=(_0x455792=this[_0x362e5d(0x26a)])[_0x362e5d(0x22b)])==null||_0x51582e[_0x362e5d(0x2cf)](_0x455792,{'unitID':_0x3027d0,'memberID':_0x4709e3,'textRanges':_0x5f3cf2}));}}['_updateLocalCache'](){var _0x40b9cf=_0x379364,_0x4187d7;(_0x4187d7=this[_0x40b9cf(0x24d)])==null||_0x4187d7[_0x40b9cf(0x186)](this[_0x40b9cf(0x224)],this[_0x40b9cf(0x27c)],this[_0x40b9cf(0x431)],this[_0x40b9cf(0x44d)]);}[_0x379364(0x198)](){var _0xc915cf=_0x379364;return this['_revisionService'][_0xc915cf(0x196)](this[_0xc915cf(0x224)]);}['_incrementRevisionNumber'](){var _0x16c2f2=_0x379364;this['_revisionService'][_0x16c2f2(0x30e)](this[_0x16c2f2(0x224)]);}[_0x379364(0x32a)](_0x3e3a93){var _0x59d4f4=_0x379364,_0x24dc6e;let _0x328fba=this[_0x59d4f4(0x210)](_0x3e3a93);_0x328fba=this[_0x59d4f4(0x1a2)](_0x328fba);const _0x235d07=_0xd12ad1(_0x328fba[_0x59d4f4(0x2e4)],this[_0x59d4f4(0x213)],{'fromCollab':!0x0});if(!_0x235d07[_0x59d4f4(0x3e9)])throw _0x235d07[_0x59d4f4(0x3ed)]instanceof Error?_0x235d07[_0x59d4f4(0x3ed)]:new Error((_0x24dc6e=_0x235d07[_0x59d4f4(0x3ed)])!=null?_0x24dc6e:_0x59d4f4(0x250));this[_0x59d4f4(0x3df)](_0x328fba),this[_0x59d4f4(0x190)](_0x328fba),this[_0x59d4f4(0x35b)](_0x3e3a93),this[_0x59d4f4(0x35a)](_0x328fba),this['_syncEditingCollabCursor'](_0x328fba),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0x358ed2,_0x2415a5,_0x5532f8,_0x289c79,_0xfd3538,_0x1f5e9d,_0x250771,_0x46ecfe,_0x143405,_0x1c08ac){var _0x30ca9c=_0x379364;super(_0x358ed2,_0x2415a5,null,[],_0x5532f8,_0x250771,_0x1f5e9d,_0x289c79,_0x1c08ac),N(this,_0x30ca9c(0x2d1),_0x30ca9c(0x37e)),(this[_0x30ca9c(0x168)]=_0xfd3538,this[_0x30ca9c(0x2a6)]=_0x46ecfe,this['_transformService']=_0x143405,this['localCacheService']=_0x1c08ac);}[_0x379364(0x39f)](_0x20c7ff){var _0x442c00=_0x379364;const _0x6e1eaa=this[_0x442c00(0x168)][_0x442c00(0x38a)](re,this[_0x442c00(0x224)],this[_0x442c00(0x27c)],[_0x20c7ff],this['_handler']);return _0x6e1eaa[_0x442c00(0x1ab)](),_0x6e1eaa[_0x442c00(0x332)](),_0x6e1eaa;}['onRemoteChangeset'](_0x52a5e7){var _0x24d29a=_0x379364;if(this['_checkMissing'](_0x52a5e7))return this[_0x24d29a(0x168)][_0x24d29a(0x38a)](Q,this[_0x24d29a(0x224)],this['type'],null,[],null,[_0x52a5e7],this[_0x24d29a(0x26a)]);try{const _0x24ac7c=this[_0x24d29a(0x313)][_0x24d29a(0x188)](_0x52a5e7,[$s]);if(_0x4b78b7(_0x24ac7c)){const {c1Prime:_0x112033}=_0x24ac7c;return this[_0x24d29a(0x32a)](_0x112033),this;}throw _0x24ac7c['error'];}catch(_0x164719){return this[_0x24d29a(0x2a6)]['error'](_0x164719),this['_onConflict'](!0x1);}}[_0x379364(0x3f5)](_0x343771){var _0x49798c=_0x379364;return this[_0x49798c(0x168)][_0x49798c(0x38a)](le,this[_0x49798c(0x224)],this[_0x49798c(0x27c)],null,[],this[_0x49798c(0x26a)],_0x343771);}[_0x379364(0x3bc)](){var _0x5025df=_0x379364;throw new Error(_0x5025df(0x2cc));}[_0x379364(0x2ea)](){var _0x1e98f4=_0x379364;throw new Error(_0x1e98f4(0x2d0));}[_0x379364(0x2f7)](){return this;}[_0x379364(0x3ab)](){var _0x4892b4=_0x379364;return this[_0x4892b4(0x168)]['createInstance'](ue,this['unitID'],this[_0x4892b4(0x27c)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0x379364(0x2db)](){var _0x57527e=_0x379364;throw new Error(_0x57527e(0x231));}[_0x379364(0x2f9)](){var _0x26da8d=_0x379364;const _0x42b3d8=this[_0x26da8d(0x38f)][_0x26da8d(0x196)](this['unitID']);return this[_0x26da8d(0x26a)][_0x26da8d(0x39b)]({'from':_0x42b3d8,'to':0x0}),this[_0x26da8d(0x168)][_0x26da8d(0x38a)](Q,this[_0x26da8d(0x224)],this['type'],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x55b050(_0x10efe8)),P(0x4,_0x55b050(_0x53e138)),P(0x5,_0xf53b7),P(0x6,_0x258db2),P(0x7,_0xe5be65),P(0x8,_0x120669),P(0x9,_0x451ef7(J))],ye);let re=class extends Ie{constructor(_0x1100a5,_0x2ef628,_0x221c71,_0x28ef70,_0x2792b5,_0x9b81c7,_0x2d8f8d,_0x1509f8,_0x2c2626,_0x1f2a48,_0x2e4e57,_0xa4fe3b,_0x229b4e,_0x2cd3c7){var _0xd381e5=_0x379364;super(_0x1100a5,_0x2ef628,null,_0x221c71,_0x28ef70,_0x2c2626,_0x229b4e,_0x9b81c7,_0x2cd3c7),N(this,'status',_0xd381e5(0x164)),N(this,_0xd381e5(0x3c6),null),N(this,'_sendingTimer',null),(this[_0xd381e5(0x168)]=_0x2792b5,this[_0xd381e5(0x3af)]=_0x2d8f8d,this[_0xd381e5(0x2a6)]=_0x1509f8,this['_configService']=_0x1f2a48,this[_0xd381e5(0x313)]=_0x2e4e57,this[_0xd381e5(0x19b)]=_0xa4fe3b);}['appendMutation'](_0x1ac3a5){var _0x4c5dc1=_0x379364;return this[_0x4c5dc1(0x44d)][_0x4c5dc1(0x364)](_0x1ac3a5),this['_updateLocalCache'](),this;}[_0x379364(0x2ae)](_0x5af443){var _0x82793d=_0x379364;if(this[_0x82793d(0x235)](_0x5af443))return this[_0x82793d(0x280)](),this['_injector'][_0x82793d(0x38a)](Q,this['unitID'],this[_0x82793d(0x27c)],null,this['_pendingMutations'],null,[_0x5af443],this['_handler']);try{const _0x5843cc=this[_0x82793d(0x313)]['transformMutationsWithChangeset'](_0x5af443,this[_0x82793d(0x44d)]);if(_0x4b78b7(_0x5843cc)){const {c1Prime:_0x4aac68,m2Prime:_0x320eb3}=_0x5843cc;this[_0x82793d(0x32a)](_0x4aac68);const _0x138fb0=this['_injector'][_0x82793d(0x38a)](re,this[_0x82793d(0x224)],this['type'],_0x320eb3,this[_0x82793d(0x26a)]);this[_0x82793d(0x280)]();const _0x49874c=new Date()[_0x82793d(0x409)](),_0x2432ff=this[_0x82793d(0x3c6)]?Math[_0x82793d(0x44e)](this['_scheduleCompleteTimestamp']-_0x49874c,0x0):this[_0x82793d(0x363)]();return _0x138fb0[_0x82793d(0x1ab)](_0x2432ff),_0x138fb0;}throw _0x5843cc[_0x82793d(0x3ed)];}catch(_0x6810a5){return this[_0x82793d(0x2a6)][_0x82793d(0x3ed)](_0x6810a5),this[_0x82793d(0x3f5)](!0x1);}}[_0x379364(0x3bc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x379364(0x2ea)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x379364(0x2f7)](){return this;}[_0x379364(0x3ab)](){var _0x33816a=_0x379364;return this[_0x33816a(0x280)](),this[_0x33816a(0x168)][_0x33816a(0x38a)](ue,this['unitID'],this[_0x33816a(0x27c)],null,this['_pendingMutations'],this[_0x33816a(0x26a)]);}[_0x379364(0x2ca)](){return this;}['_schedule'](_0x551f0e){var _0x82c0c=_0x379364;const _0xe4078a=_0x551f0e!=null?_0x551f0e:this[_0x82c0c(0x363)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0xe4078a,this[_0x82c0c(0x20e)]=setTimeout(()=>{var _0xdf3063=_0x82c0c;this[_0xdf3063(0x280)]();let _0x1d37ea=null;switch(this[_0xdf3063(0x27c)]){case Z[_0xdf3063(0x321)]:{_0x1d37ea=Wt(this[_0xdf3063(0x44d)],this[_0xdf3063(0x224)],this[_0xdf3063(0x19b)],this['_revisionService'],this[_0xdf3063(0x3af)]);break;}case Z['UNIVER_DOC']:{this['_pendingMutations'][_0xdf3063(0x334)](_0x19bef1=>_0x19bef1['id']===_0x353428['id'])?_0x1d37ea=ks(this['_pendingMutations'],this[_0xdf3063(0x224)],this['_univerInstanceService'],this[_0xdf3063(0x38f)],this[_0xdf3063(0x3af)]):_0x1d37ea=Wt(this['_pendingMutations'],this[_0xdf3063(0x224)],this[_0xdf3063(0x19b)],this[_0xdf3063(0x38f)],this['_memberService']);break;}default:throw new Error(_0xdf3063(0x40b)+this[_0xdf3063(0x27c)]+_0xdf3063(0x41d));}const {changeset:_0x4094ce,pendingMutations:_0x165a6d}=_0x1d37ea;this[_0xdf3063(0x26a)][_0xdf3063(0x3d0)](_0x4094ce);const _0x214593=_0x165a6d[_0xdf3063(0x1ef)]?this[_0xdf3063(0x168)][_0xdf3063(0x38a)](ae,this[_0xdf3063(0x224)],this[_0xdf3063(0x27c)],_0x4094ce,_0x165a6d,this[_0xdf3063(0x26a)],void 0x0):this[_0xdf3063(0x168)][_0xdf3063(0x38a)](_e,this[_0xdf3063(0x224)],this['type'],_0x4094ce,this[_0xdf3063(0x26a)]);_0x214593[_0xdf3063(0x332)](),this[_0xdf3063(0x26a)][_0xdf3063(0x26e)](this,_0x214593);},_0xe4078a);}['_getSendChangesetTimeout'](){var _0x1664ef=_0x379364,_0x56d0d4;const _0x67d187=this['_configService'][_0x1664ef(0x23e)](K);return(_0x56d0d4=_0x67d187==null?void 0x0:_0x67d187[_0x1664ef(0x30b)])!=null?_0x56d0d4:ps;}['resend'](){var _0x278f9e=_0x379364;throw new Error(_0x278f9e(0x2d3));}[_0x379364(0x280)](){var _0x551698=_0x379364;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x551698(0x20e)]=null);}['_onConflict'](_0x3a2249){var _0x774798=_0x379364;return this[_0x774798(0x280)](),this[_0x774798(0x168)][_0x774798(0x38a)](le,this[_0x774798(0x224)],this[_0x774798(0x27c)],null,this[_0x774798(0x44d)],this['_handler'],_0x3a2249);}};re=Ee([P(0x4,_0x55b050(_0x53e138)),P(0x5,_0x55b050(_0x10efe8)),P(0x6,_0x55b050(we)),P(0x7,_0xe5be65),P(0x8,_0x258db2),P(0x9,_0x313741),P(0xa,_0x120669),P(0xb,_0xca033b),P(0xc,_0xf53b7),P(0xd,_0x451ef7(J))],re);let _e=class extends Ie{constructor(_0x4bac5d,_0x4678a0,_0x34df51,_0x24885c,_0x512488,_0x534577,_0x5d7a6a,_0x4415e3,_0x15b64a,_0x2caa11,_0x4fdd4d){var _0x140f29=_0x379364;super(_0x4bac5d,_0x4678a0,_0x34df51,[],_0x24885c,_0x5d7a6a,_0x2caa11,_0x534577,_0x4fdd4d),N(this,_0x140f29(0x2d1),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x140f29(0x25d)),N(this,_0x140f29(0x1ca)),(this['_injector']=_0x512488,this[_0x140f29(0x2a6)]=_0x4415e3,this[_0x140f29(0x313)]=_0x15b64a);}[_0x379364(0x39f)](_0x18e28e){var _0x4d3622=_0x379364;this[_0x4d3622(0x280)]();const _0x11a83a=this[_0x4d3622(0x168)][_0x4d3622(0x38a)](ae,this['unitID'],this['type'],this[_0x4d3622(0x431)],[_0x18e28e],this['_handler'],this['_resendTimer']);return _0x11a83a[_0x4d3622(0x332)](),_0x11a83a;}[_0x379364(0x2ae)](_0x21f654){var _0x25146e=_0x379364;if(this[_0x25146e(0x235)](_0x21f654))return this['_clearScheduledTask'](),this[_0x25146e(0x168)][_0x25146e(0x38a)](Q,this[_0x25146e(0x224)],this[_0x25146e(0x27c)],this[_0x25146e(0x431)],[],null,[_0x21f654],this[_0x25146e(0x26a)]);try{const _0x2189d5=this[_0x25146e(0x313)][_0x25146e(0x34c)]([_0x21f654],[this[_0x25146e(0x431)]],!0x1);if(_0x4dafd0(_0x2189d5)){const {c1Prime:_0x4d3b19,c2Prime:_0x53dd88}=_0x2189d5;this[_0x25146e(0x32a)](_0x4d3b19[0x0]),_0x53dd88[0x0]['baseRev']=this[_0x25146e(0x198)](),this[_0x25146e(0x280)]();const _0x31abdf=this[_0x25146e(0x168)][_0x25146e(0x38a)](_e,this[_0x25146e(0x224)],this[_0x25146e(0x27c)],_0x53dd88[0x0],this[_0x25146e(0x26a)]);return _0x31abdf[_0x25146e(0x332)](),_0x31abdf;}return this[_0x25146e(0x3f5)](!0x1);}catch(_0x5dcc5c){return this['_logService']['error'](_0x5dcc5c),this[_0x25146e(0x3f5)](!0x1);}}[_0x379364(0x3bc)](_0x12f398){var _0x15aef9=_0x379364;this[_0x15aef9(0x280)]();const _0x4ab764=this['_revisionService']['getCurrentRevOfUnit'](this[_0x15aef9(0x224)]);if(_0x12f398[_0x15aef9(0x1e0)]<_0x4ab764-0x1)return this;if(this[_0x15aef9(0x235)](_0x12f398))return this[_0x15aef9(0x168)][_0x15aef9(0x38a)](Q,this[_0x15aef9(0x224)],this[_0x15aef9(0x27c)],null,[],this[_0x15aef9(0x431)],[],this[_0x15aef9(0x26a)]);this[_0x15aef9(0x2c5)]();const _0x5eaaab=this[_0x15aef9(0x168)][_0x15aef9(0x38a)](ye,this[_0x15aef9(0x224)],this[_0x15aef9(0x27c)],this[_0x15aef9(0x26a)]);return _0x5eaaab[_0x15aef9(0x332)](),_0x5eaaab;}[_0x379364(0x2ea)](_0x4a74d8){var _0x307d4b=_0x379364;return this['_onConflict'](!!(_0x4a74d8!=null&&_0x4a74d8[_0x307d4b(0x3a0)]));}[_0x379364(0x2f7)](_0x15549a){var _0x46151e=_0x379364;return this[_0x46151e(0x2b7)]>Ii?this[_0x46151e(0x3ab)]():(this[_0x46151e(0x25d)]=Si(this[_0x46151e(0x2b7)],{'timeout':this[_0x46151e(0x2b7)],'reqId':_0x15549a['reqId']}),this['_sender']=this['_resendTimer'][_0x46151e(0x20d)](({reqId:_0x33e773,timeout:_0x23530b})=>{var _0x1a4de2=_0x46151e;this[_0x1a4de2(0x1bb)](_0x33e773,_0x23530b);}),this);}[_0x379364(0x3ab)](){var _0x50c611=_0x379364;return this[_0x50c611(0x280)](),this[_0x50c611(0x168)]['createInstance'](ue,this['unitID'],this[_0x50c611(0x27c)],this[_0x50c611(0x431)],[],this[_0x50c611(0x26a)]);}[_0x379364(0x2ca)](){return this;}[_0x379364(0x2db)](){var _0x3c4865=_0x379364;this['_handler'][_0x3c4865(0x3d0)](this[_0x3c4865(0x431)]);}['_onConflict'](_0x22ac4c){var _0x30efff=_0x379364;return this[_0x30efff(0x280)](),this[_0x30efff(0x168)]['createInstance'](le,this[_0x30efff(0x224)],this[_0x30efff(0x27c)],this[_0x30efff(0x431)],[],this[_0x30efff(0x26a)],_0x22ac4c);}[_0x379364(0x1bb)](_0x2d5fe1,_0x5c1503){var _0x2bc914=_0x379364,_0x43939a;_0x2d5fe1===((_0x43939a=this[_0x2bc914(0x431)])==null?void 0x0:_0x43939a[_0x2bc914(0x1aa)])&&(this[_0x2bc914(0x2db)](),this[_0x2bc914(0x2b7)]=_0x5c1503===0x0?0x3e8:_0x5c1503*0x2);}[_0x379364(0x280)](){var _0x159158=_0x379364,_0x2090aa;(_0x2090aa=this[_0x159158(0x1ca)])==null||_0x2090aa[_0x159158(0x2da)](),this[_0x159158(0x2b7)]=0x0;}};_e=Ee([P(0x4,_0x55b050(_0x53e138)),P(0x5,_0x55b050(_0x10efe8)),P(0x6,_0x258db2),P(0x7,_0xe5be65),P(0x8,_0x120669),P(0x9,_0xf53b7),P(0xa,_0x451ef7(J))],_e);let ae=class extends Ie{constructor(_0x110eb8,_0x136c49,_0x8c8052,_0x138ae5,_0x5e0f1c,_0x35bc06,_0x437c82,_0x4d36e8,_0x4f899c,_0x19a1eb,_0xf870b7,_0x3edc56,_0x469eca){var _0x3a66ce=_0x379364;super(_0x110eb8,_0x136c49,_0x8c8052,_0x138ae5,_0x5e0f1c,_0x4f899c,_0x3edc56,_0x4d36e8,_0x469eca),N(this,_0x3a66ce(0x2d1),'awaiting_with_pending'),N(this,_0x3a66ce(0x2b7),0x0),N(this,_0x3a66ce(0x25d)),N(this,'_sender'),(this[_0x3a66ce(0x168)]=_0x437c82,this[_0x3a66ce(0x2a6)]=_0x19a1eb,this[_0x3a66ce(0x313)]=_0xf870b7,this[_0x3a66ce(0x3b5)]=_0x469eca,_0x35bc06&&(this[_0x3a66ce(0x25d)]=_0x35bc06,this[_0x3a66ce(0x1ca)]=this[_0x3a66ce(0x25d)]['subscribe'](({reqId:_0x423167,timeout:_0x561177})=>{var _0x47f037=_0x3a66ce;this[_0x47f037(0x1bb)](_0x423167,_0x561177);})));}[_0x379364(0x39f)](_0x24dedc){var _0x1eaae8=_0x379364;return this['_pendingMutations'][_0x1eaae8(0x364)](_0x24dedc),this;}['onRemoteChangeset'](_0xf31938){var _0x4d38fd=_0x379364;if(this[_0x4d38fd(0x235)](_0xf31938))return this[_0x4d38fd(0x280)](),this['_injector']['createInstance'](Q,this[_0x4d38fd(0x224)],this[_0x4d38fd(0x27c)],this[_0x4d38fd(0x431)],this[_0x4d38fd(0x44d)],null,[_0xf31938],this[_0x4d38fd(0x26a)]);try{const _0x4919aa=this[_0x4d38fd(0x313)][_0x4d38fd(0x34c)]([_0xf31938],[this[_0x4d38fd(0x431)]],!0x1);if(_0x4dafd0(_0x4919aa)){const {c1Prime:_0x499802,c2Prime:_0x2281f7}=_0x4919aa,_0x253e25=this[_0x4d38fd(0x313)][_0x4d38fd(0x188)](_0x499802[0x0],this[_0x4d38fd(0x44d)]);if(_0x4b78b7(_0x253e25)){const {c1Prime:_0x28a5f7,m2Prime:_0x8f3e61}=_0x253e25;return this[_0x4d38fd(0x32a)](_0x28a5f7),_0x2281f7[0x0]['baseRev']=this[_0x4d38fd(0x198)](),this['_clearScheduledTask'](),this[_0x4d38fd(0x168)][_0x4d38fd(0x38a)](ae,this[_0x4d38fd(0x224)],this[_0x4d38fd(0x27c)],_0x2281f7[0x0],_0x8f3e61,this[_0x4d38fd(0x26a)],void 0x0);}throw _0x253e25[_0x4d38fd(0x3ed)];}throw _0x4919aa[_0x4d38fd(0x3ed)];}catch(_0x595294){return this[_0x4d38fd(0x2a6)]['error'](_0x595294),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x309302){var _0x5b5b37=_0x379364;if(this[_0x5b5b37(0x280)](),this[_0x5b5b37(0x235)](_0x309302))return this[_0x5b5b37(0x168)]['createInstance'](Q,this['unitID'],this[_0x5b5b37(0x27c)],null,this[_0x5b5b37(0x44d)],this[_0x5b5b37(0x431)],[],this[_0x5b5b37(0x26a)]);this['_incrementRevisionNumber']();const _0x198b83=this[_0x5b5b37(0x168)]['createInstance'](re,this[_0x5b5b37(0x224)],this[_0x5b5b37(0x27c)],this['_pendingMutations'],this[_0x5b5b37(0x26a)]);return _0x198b83[_0x5b5b37(0x1ab)](),_0x198b83[_0x5b5b37(0x332)](),_0x198b83;}['onRemoteRej'](_0x42f942){var _0x4cd5da=_0x379364;return this[_0x4cd5da(0x3f5)](!!(_0x42f942!=null&&_0x42f942[_0x4cd5da(0x3a0)]));}[_0x379364(0x2f7)](_0x5b1166){var _0x578b72=_0x379364;return this['_resendTimeout']>Ii?this['toggleOffline']():(this[_0x578b72(0x25d)]=Si(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x5b1166[_0x578b72(0x1aa)]}),this[_0x578b72(0x1ca)]=this[_0x578b72(0x25d)]['subscribe'](({reqId:_0xa07dfe,timeout:_0x49bdb8})=>{this['_resendWithTimeout'](_0xa07dfe,_0x49bdb8);}),this);}[_0x379364(0x3ab)](){var _0xac8eaa=_0x379364;return this['_clearScheduledTask'](),this[_0xac8eaa(0x168)][_0xac8eaa(0x38a)](ue,this['unitID'],this[_0xac8eaa(0x27c)],this[_0xac8eaa(0x431)],this[_0xac8eaa(0x44d)],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x5ba618=_0x379364;this[_0x5ba618(0x26a)][_0x5ba618(0x3d0)](this[_0x5ba618(0x431)]);}[_0x379364(0x3f5)](_0x326eea){var _0x10407c=_0x379364;return this[_0x10407c(0x280)](),this[_0x10407c(0x168)][_0x10407c(0x38a)](le,this[_0x10407c(0x224)],this['type'],null,this['_pendingMutations'],this[_0x10407c(0x26a)],_0x326eea);}[_0x379364(0x1bb)](_0x230023,_0x46a67d){var _0x114c20=_0x379364,_0x530790;_0x230023===((_0x530790=this[_0x114c20(0x431)])==null?void 0x0:_0x530790['reqId'])&&(this['resend'](),this[_0x114c20(0x2b7)]=_0x46a67d===0x0?0x3e8:_0x46a67d*0x2);}[_0x379364(0x280)](){var _0x591265=_0x379364,_0x147f39;(_0x147f39=this[_0x591265(0x1ca)])==null||_0x147f39['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Ee([P(0x6,_0x55b050(_0x53e138)),P(0x7,_0x55b050(_0x10efe8)),P(0x8,_0x258db2),P(0x9,_0xe5be65),P(0xa,_0x120669),P(0xb,_0xf53b7),P(0xc,_0x451ef7(J))],ae);let le=class extends Ie{constructor(_0x3d6c05,_0x8190e8,_0x1d1645,_0x533b6a,_0x198293,_0x3a2c81=!0x1,_0x302d6b,_0x8f9de7,_0x139d39,_0x5dad8f,_0x545bf7,_0x54a243,_0x510fd5){var _0x2a8858=_0x379364;super(_0x3d6c05,_0x8190e8,_0x1d1645,_0x533b6a,_0x198293,_0x8f9de7,_0x139d39,_0x5dad8f,_0x510fd5),N(this,'status',_0x2a8858(0x37f)),(this[_0x2a8858(0x22e)]=_0x3a2c81,this[_0x2a8858(0x3bd)]=_0x302d6b,this[_0x2a8858(0x3f8)]=_0x545bf7,this[_0x2a8858(0x325)]=_0x54a243,this[_0x2a8858(0x3b5)]=_0x510fd5,this[_0x2a8858(0x29f)](),this[_0x2a8858(0x451)](),this[_0x2a8858(0x243)]());}[_0x379364(0x39f)](){return this;}[_0x379364(0x2ae)](){return this;}[_0x379364(0x3bc)](){return this;}[_0x379364(0x2ea)](){return this;}[_0x379364(0x2f7)](){return this;}[_0x379364(0x3ab)](){return this;}['toggleOnline'](){return this;}[_0x379364(0x2db)](){var _0x2109a2=_0x379364;throw new Error(_0x2109a2(0x1df));}[_0x379364(0x451)](){var _0x334e17=_0x379364,_0x3a081c;(_0x3a081c=this[_0x334e17(0x24d)])==null||_0x3a081c[_0x334e17(0x186)](this[_0x334e17(0x224)],this[_0x334e17(0x27c)],null,[]);}[_0x379364(0x29f)](){var _0x53cba3=_0x379364;this['_isPermissionRej']?this['_collaborationUIEventService'][_0x53cba3(0x239)]({'id':ne[_0x53cba3(0x355)]}):this[_0x53cba3(0x325)][_0x53cba3(0x239)]({'id':ne[_0x53cba3(0x438)]});}[_0x379364(0x243)](){var _0x5c9b4a=_0x379364;this[_0x5c9b4a(0x3bd)][_0x5c9b4a(0x3b7)](new _0x55e254(this[_0x5c9b4a(0x224)])['id'],!0x1);}};le=Ee([P(0x6,_0x55b050(_0x318fdb)),P(0x7,_0x258db2),P(0x8,_0xf53b7),P(0x9,_0x55b050(_0x10efe8)),P(0xa,_0x55b050(_0x3d255b)),P(0xb,_0x55b050(ve)),P(0xc,_0x451ef7(J))],le);let ue=class extends Ie{constructor(_0x46ef94,_0x3ec2ff,_0x2b0e87,_0x242dcb,_0x1282c6,_0x55ffa6,_0x9e102e,_0x18427d,_0x15c8ab,_0x1eaf9f){var _0x1d3c74=_0x379364;super(_0x46ef94,_0x3ec2ff,_0x2b0e87,_0x242dcb,_0x1282c6,_0x18427d,_0x15c8ab,_0x9e102e,_0x1eaf9f),N(this,_0x1d3c74(0x2d1),_0x1d3c74(0x179)),this[_0x1d3c74(0x168)]=_0x55ffa6;}[_0x379364(0x39f)](_0xf683a1){var _0x3e481e=_0x379364;return this[_0x3e481e(0x44d)][_0x3e481e(0x364)](_0xf683a1),this['_updateLocalCache'](),this;}[_0x379364(0x2ae)](_0x865c02){var _0x33381a=_0x379364;throw new Error(_0x33381a(0x324));}[_0x379364(0x3bc)](){var _0x74d3de=_0x379364;throw new Error(_0x74d3de(0x454));}[_0x379364(0x2ea)](){var _0x3a70fc=_0x379364;throw new Error(_0x3a70fc(0x403));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x379364(0x2ca)](){var _0x38a59b=_0x379364;const {_injector:_0x3d2ae0,_pendingMutations:_0x5c01af,_awaitingChangeset:_0x308d57,unitID:_0x5d78f9,_handler:_0x48aed1,type:_0x36b929}=this,_0x1d7380=Ti(_0x3d2ae0,_0x5d78f9,_0x36b929,_0x308d57,_0x5c01af,_0x48aed1);return _0x1d7380 instanceof re?_0x1d7380[_0x38a59b(0x1ab)]():(_0x1d7380 instanceof ae||_0x1d7380 instanceof _e)&&_0x1d7380['resend'](),_0x1d7380;}[_0x379364(0x2db)](){var _0x51a054=_0x379364;throw new Error(_0x51a054(0x336));}};ue=Ee([P(0x5,_0x55b050(_0x53e138)),P(0x6,_0x55b050(_0x10efe8)),P(0x7,_0x258db2),P(0x8,_0xf53b7),P(0x9,_0x451ef7(J))],ue);let Q=class extends Ie{constructor(_0x57a447,_0x4fddc6,_0x469da7,_0x1269bb,_0x576b88,_0x2e2f2d,_0x54d16f,_0x5841dd,_0x232f3a,_0x1a5eb2,_0x1b9609,_0x110cbb,_0x2176b0,_0x32bb1e){var _0x162d6c=_0x379364;super(_0x57a447,_0x4fddc6,_0x469da7,_0x1269bb,_0x54d16f,_0x1b9609,_0x110cbb,_0x232f3a,_0x32bb1e),N(this,'status','fetch_missing'),(this[_0x162d6c(0x1fa)]=_0x576b88,this[_0x162d6c(0x367)]=_0x2e2f2d,this[_0x162d6c(0x168)]=_0x5841dd,this[_0x162d6c(0x2a6)]=_0x1a5eb2,this[_0x162d6c(0x313)]=_0x2176b0,this[_0x162d6c(0x3b5)]=_0x32bb1e);}[_0x379364(0x2ba)](_0x185066){var _0x482093=_0x379364;try{const _0x1f44c3=[..._0x185066,...this[_0x482093(0x367)]],_0x4b25ef=[this[_0x482093(0x431)]||this[_0x482093(0x1fa)]]['filter'](_0x373247=>!!_0x373247);let _0x39dbc6,_0x290bb8;if(_0x4b25ef['length']){const _0x249a5a=this['_transformService']['transformChangesets'](_0x1f44c3,_0x4b25ef,!0x1);if(!_0x4dafd0(_0x249a5a))throw _0x249a5a[_0x482093(0x3ed)];_0x39dbc6=_0x249a5a[_0x482093(0x338)],_0x290bb8=_0x249a5a[_0x482093(0x3d1)];}else _0x39dbc6=_0x1f44c3,_0x290bb8=[];let _0x21ae46=this['_pendingMutations'];_0x39dbc6[_0x482093(0x2e3)](_0x18c625=>{var _0x49734a=_0x482093;let _0x40c6c4;if(_0x21ae46[_0x49734a(0x1ef)]){const _0x22f239=this[_0x49734a(0x313)][_0x49734a(0x188)](_0x18c625,_0x21ae46);if(!_0x4b78b7(_0x22f239))throw _0x22f239[_0x49734a(0x3ed)];_0x40c6c4=_0x22f239[_0x49734a(0x338)],_0x21ae46=_0x22f239[_0x49734a(0x34d)];}else _0x40c6c4=_0x18c625;this[_0x49734a(0x32a)](_0x40c6c4);}),this['_acknowledgedAwaitingChangeset']&&this[_0x482093(0x2c5)](),this[_0x482093(0x431)]&&_0x290bb8[_0x482093(0x1ef)]&&(_0x290bb8[0x0][_0x482093(0x28b)]=this['_getCurrentRevision']());let _0x477715;if(this[_0x482093(0x431)]&&_0x21ae46[_0x482093(0x1ef)]!==0x0)_0x477715=this[_0x482093(0x168)][_0x482093(0x38a)](ae,this[_0x482093(0x224)],this['type'],_0x290bb8[0x0],_0x21ae46,this[_0x482093(0x26a)],void 0x0);else{if(this[_0x482093(0x431)]&&_0x21ae46[_0x482093(0x1ef)]===0x0)_0x290bb8[0x0][_0x482093(0x28b)]=this[_0x482093(0x198)](),_0x477715=this['_injector'][_0x482093(0x38a)](_e,this['unitID'],this['type'],_0x290bb8[0x0],this[_0x482093(0x26a)]);else{if(_0x21ae46[_0x482093(0x1ef)]!==0x0){const _0xb2ba6b=this['_injector'][_0x482093(0x38a)](re,this[_0x482093(0x224)],this[_0x482093(0x27c)],_0x21ae46,this[_0x482093(0x26a)]);_0xb2ba6b[_0x482093(0x1ab)](),_0x477715=_0xb2ba6b;}else _0x477715=this[_0x482093(0x168)][_0x482093(0x38a)](ye,this[_0x482093(0x224)],this['type'],this[_0x482093(0x26a)]);}}return _0x477715[_0x482093(0x332)](),_0x477715;}catch(_0x295b7d){return this[_0x482093(0x2a6)][_0x482093(0x3ed)](_0x482093(0x40f),_0x482093(0x1b5),_0x295b7d),this[_0x482093(0x168)][_0x482093(0x38a)](le,this[_0x482093(0x224)],this[_0x482093(0x27c)],this['_awaitingChangeset'],this[_0x482093(0x44d)],this[_0x482093(0x26a)],!0x1);}}[_0x379364(0x2db)](){var _0x55b148=_0x379364;throw new Error(_0x55b148(0x166));}[_0x379364(0x39f)](_0x531ab5){var _0xa225a2=_0x379364;return this[_0xa225a2(0x44d)][_0xa225a2(0x364)](_0x531ab5),this;}['onRemoteChangeset'](_0xeeaf43){var _0x584114=_0x379364;return this[_0x584114(0x367)][_0x584114(0x364)](_0xeeaf43),this;}[_0x379364(0x3bc)](_0x49b2a6){var _0x3c282d=_0x379364;if(this[_0x3c282d(0x431)])return this[_0x3c282d(0x1fa)]=this[_0x3c282d(0x431)],this['_awaitingChangeset']=null,this;throw new Error(_0x3c282d(0x398));}[_0x379364(0x2ea)](_0x4aab90){var _0xaeb41f=_0x379364;return this[_0xaeb41f(0x3f5)](!!(_0x4aab90!=null&&_0x4aab90[_0xaeb41f(0x3a0)]));}[_0x379364(0x2f7)](){return this;}[_0x379364(0x3ab)](){var _0x1eae0d=_0x379364;return this[_0x1eae0d(0x168)][_0x1eae0d(0x38a)](ue,this[_0x1eae0d(0x224)],this['type'],this['_awaitingChangeset'],this[_0x1eae0d(0x44d)],this[_0x1eae0d(0x26a)]);}[_0x379364(0x2ca)](){return this;}[_0x379364(0x3f5)](_0x407995){var _0x261c11=_0x379364;return this[_0x261c11(0x168)]['createInstance'](le,this[_0x261c11(0x224)],this['type'],this[_0x261c11(0x431)],this['_pendingMutations'],this['_handler'],_0x407995);}};Q=Ee([P(0x7,_0x55b050(_0x53e138)),P(0x8,_0x55b050(_0x10efe8)),P(0x9,_0xe5be65),P(0xa,_0x258db2),P(0xb,_0xf53b7),P(0xc,_0x120669),P(0xd,_0x451ef7(J))],Q);function Ti(_0x2c76e7,_0x529638,_0x7f4c16,_0xbd23ce,_0x46b2c5,_0x2c6c2e){var _0x1359fc=_0x379364;return _0xbd23ce&&_0x46b2c5[_0x1359fc(0x1ef)]?_0x2c76e7[_0x1359fc(0x38a)](ae,_0x529638,_0x7f4c16,_0xbd23ce,_0x46b2c5,_0x2c6c2e,void 0x0):_0xbd23ce?_0x2c76e7[_0x1359fc(0x38a)](_e,_0x529638,_0x7f4c16,_0xbd23ce,_0x2c6c2e):_0x46b2c5[_0x1359fc(0x1ef)]?_0x2c76e7[_0x1359fc(0x38a)](re,_0x529638,_0x7f4c16,_0x46b2c5,_0x2c6c2e):_0x2c76e7[_0x1359fc(0x38a)](ye,_0x529638,_0x7f4c16,_0x2c6c2e);}var Bs=Object['getOwnPropertyDescriptor'],wt=(_0x4d1424,_0x3533c5,_0x5deb7b,_0x50e0fc)=>{var _0x2637ac=_0x379364;for(var _0x3d77ef=_0x50e0fc>0x1?void 0x0:_0x50e0fc?Bs(_0x3533c5,_0x5deb7b):_0x3533c5,_0x167d9c=_0x4d1424[_0x2637ac(0x1ef)]-0x1,_0x3a83b0;_0x167d9c>=0x0;_0x167d9c--)(_0x3a83b0=_0x4d1424[_0x167d9c])&&(_0x3d77ef=_0x3a83b0(_0x3d77ef)||_0x3d77ef);return _0x3d77ef;},H=(_0x3a81a8,_0x505594)=>(_0x2ba37f,_0x13cc69)=>_0x505594(_0x2ba37f,_0x13cc69,_0x3a81a8);let st=class extends _0x16a750{constructor(_0x2e4c2a,_0x2eb5ce,_0x4531aa,_0x548e63,_0x503add,_0x2585cd,_0x49957e,_0x3e5eff,_0x21720c,_0x589ee7,_0x47e852,_0x130940,_0x2ad256){var _0x25b991=_0x379364;super(),N(this,_0x25b991(0x331),new _0x1ec595(null)),N(this,_0x25b991(0x2af),this[_0x25b991(0x331)][_0x25b991(0x455)]()),N(this,_0x25b991(0x417)),N(this,'_collaborationPaused',!0x1),N(this,_0x25b991(0x2b1),''),N(this,_0x25b991(0x3fb),0x0),N(this,_0x25b991(0x2fc),this['state$'][_0x25b991(0x19d)](_0x285ff1(_0x13e2df=>_0x13e2df?_0x13e2df['status']:Ei[_0x25b991(0x439)]),_0x4fbe3d(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x25b991(0x2fa),[]),(this[_0x25b991(0x224)]=_0x2e4c2a,this['session']=_0x2eb5ce,this[_0x25b991(0x33f)]=_0x4531aa,this[_0x25b991(0x168)]=_0x548e63,this[_0x25b991(0x40e)]=_0x503add,this[_0x25b991(0x3f8)]=_0x2585cd,this[_0x25b991(0x38f)]=_0x49957e,this[_0x25b991(0x42b)]=_0x3e5eff,this['_logService']=_0x21720c,this[_0x25b991(0x213)]=_0x589ee7,this[_0x25b991(0x3bd)]=_0x47e852,this['_singleActiveUnitService']=_0x130940,this[_0x25b991(0x24d)]=_0x2ad256);}get[_0x379364(0x3c0)](){var _0x352611=_0x379364;return this[_0x352611(0x417)];}async['init'](){var _0x4a1687=_0x379364;if(this[_0x4a1687(0x3c0)])throw new Error(_0x4a1687(0x1a9));await this[_0x4a1687(0x214)]();}[_0x379364(0x271)](){var _0x3daf8f=_0x379364;return this[_0x3daf8f(0x2bc)]=!0x0,_0x300357(()=>{var _0x1a5c47=_0x3daf8f;this[_0x1a5c47(0x2bc)]=!0x1,this[_0x1a5c47(0x450)]();});}['onLocalMutation'](_0x269b37){var _0x19612a=_0x379364;this[_0x19612a(0x1ee)](_0x269b37);}['_updateState'](_0x4d2694){var _0x16a5d9=_0x379364;this[_0x16a5d9(0x417)]=_0x4d2694,this[_0x16a5d9(0x331)][_0x16a5d9(0x372)](_0x4d2694);}async['_init'](){var _0x5f531f=_0x379364,_0x4025af;this[_0x5f531f(0x1bc)](await this[_0x5f531f(0x2ed)]()),this[_0x5f531f(0x150)]&&((_0x4025af=this[_0x5f531f(0x150)])==null||_0x4025af[_0x5f531f(0x24e)](this['unitID']),this[_0x5f531f(0x2bb)](this[_0x5f531f(0x150)]['getUnitStatus$'](this[_0x5f531f(0x224)])[_0x5f531f(0x20d)](_0x2cfeab=>{var _0x258611=_0x5f531f;this[_0x258611(0x2a6)][_0x258611(0x1c2)](_0x258611(0x385),_0x258611(0x41c),_0x2cfeab),_0x2cfeab===gi[_0x258611(0x2c7)]?(this[_0x258611(0x42b)][_0x258611(0x239)]({'id':ne[_0x258611(0x1b8)]}),this['_permissionService'][_0x258611(0x3b7)](new _0x55e254(this['unitID'])['id'],!0x1),this[_0x258611(0x3bd)][_0x258611(0x18d)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x55e254(this[_0x258611(0x224)])['id'],!0x0),this[_0x258611(0x3bd)]['setShowComponents'](!0x0));})));let _0xa0da80=!0x1;return this['disposeWithMe'](this[_0x5f531f(0x404)]['sessionStatus$']['subscribe'](_0x3d3eb7=>{var _0x3d0160=_0x5f531f;_0x3d3eb7===ge[_0x3d0160(0x24c)]?this[_0x3d0160(0x36e)](_0xa0da80):_0x3d3eb7===ge[_0x3d0160(0x439)]&&(_0xa0da80=!0x0,this[_0x3d0160(0x2a2)]());})),this['disposeWithMe'](this[_0x5f531f(0x404)][_0x5f531f(0x3f6)][_0x5f531f(0x20d)](_0x2aff10=>{var _0x1afaf1=_0x5f531f;try{switch(_0x2aff10[_0x1afaf1(0x2c9)]){case _0x3a8693[_0x1afaf1(0x1d2)]:{this[_0x1afaf1(0x348)](_0x875d18(_0x2aff10[_0x1afaf1(0x248)]));break;}case _0x3a8693[_0x1afaf1(0x217)]:{this[_0x1afaf1(0x24b)](_0x2aff10[_0x1afaf1(0x248)]);break;}case _0x3a8693[_0x1afaf1(0x1c7)]:{this['_onRemoteRejected']();break;}case _0x3a8693[_0x1afaf1(0x1d7)]:{this[_0x1afaf1(0x165)](_0x2aff10['data']);break;}case _0x3a8693['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x1afaf1(0x1ce)](_0x2aff10[_0x1afaf1(0x248)][_0x1afaf1(0x1cc)]['map'](_0x43b7b1=>_0x875d18(_0x43b7b1)));break;}case _0x3a8693[_0x1afaf1(0x2ef)]:{this[_0x1afaf1(0x292)]({'isPermissionRej':!0x0});break;}case _0x3a8693[_0x1afaf1(0x282)]:break;}}catch(_0x13706d){throw console['error'](_0x1afaf1(0x1da),_0x13706d),_0x13706d;}})),this[_0x5f531f(0x417)];}[_0x379364(0x29a)](){var _0x3e0965=_0x379364;this[_0x3e0965(0x2c1)]=!0x1;}[_0x379364(0x278)](){var _0x80b6e6=_0x379364;if(this['_transitionLocked'])throw new Error(_0x80b6e6(0x240));this[_0x80b6e6(0x2c1)]=!0x0;}['_onLocalMutation'](_0x57edde){var _0x48963e=_0x379364;this[_0x48963e(0x278)](),this[_0x48963e(0x1bc)](this['_state'][_0x48963e(0x39f)](_0x57edde)),this[_0x48963e(0x29a)]();}[_0x379364(0x348)](_0x5c60f8){var _0x4c88a3=_0x379364;if(!(_0x5c60f8[_0x4c88a3(0x1e0)]<=this[_0x4c88a3(0x38f)][_0x4c88a3(0x196)](this[_0x4c88a3(0x224)]))){if(this[_0x4c88a3(0x2bc)]){this[_0x4c88a3(0x2fa)][_0x4c88a3(0x364)](_0x5c60f8);return;}this[_0x4c88a3(0x151)](_0x5c60f8);}}['_exhaustRemoteChangesetQueue'](){var _0x2bb9a7=_0x379364;this['_remoteChangesetQueue'][_0x2bb9a7(0x2e3)](_0x309519=>this[_0x2bb9a7(0x151)](_0x309519)),this['_remoteChangesetQueue']=[];}[_0x379364(0x151)](_0x4819e6){var _0x2e2f61=_0x379364;const _0x4dca1b=this['_compressMutationService'][_0x2e2f61(0x3da)]['fetchThroughInterceptors'](this[_0x2e2f61(0x40e)][_0x2e2f61(0x3da)][_0x2e2f61(0x258)]()[_0x2e2f61(0x267)])(_0x4819e6['mutations'],null)||_0x4819e6['mutations'],_0x24ab9e={..._0x4819e6,'mutations':_0x4dca1b};this[_0x2e2f61(0x278)](),this[_0x2e2f61(0x1bc)](this[_0x2e2f61(0x417)]['onRemoteChangeset'](_0x24ab9e)),this['_unlockTransition']();}[_0x379364(0x24b)](_0x59eaee){var _0x348b47=_0x379364;this[_0x348b47(0x278)](),this[_0x348b47(0x1bc)](this[_0x348b47(0x417)][_0x348b47(0x3bc)](_0x59eaee)),this[_0x348b47(0x29a)]();}[_0x379364(0x292)](_0x2af144){var _0x16341b=_0x379364;this['_lockTransition'](),this[_0x16341b(0x1bc)](this[_0x16341b(0x417)][_0x16341b(0x2ea)](_0x2af144)),this['_unlockTransition']();}[_0x379364(0x165)](_0x3f99cf){var _0x2993e3=_0x379364;this[_0x2993e3(0x278)](),this[_0x2993e3(0x1bc)](this['_state']['onRemoteRetry'](_0x3f99cf)),this[_0x2993e3(0x29a)]();}[_0x379364(0x1ce)](_0x2ea1c8){var _0x27f13a=_0x379364;if(!(this['_state']instanceof Q))throw new TypeError(_0x27f13a(0x1ad));const _0x2f2dde=_0x2ea1c8[_0x27f13a(0x289)](_0x2bda60=>{var _0x886d30=_0x27f13a;const _0x2232fe=this[_0x886d30(0x40e)][_0x886d30(0x3da)][_0x886d30(0x3d6)](this[_0x886d30(0x40e)][_0x886d30(0x3da)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x2bda60['mutations'],null)||_0x2bda60[_0x886d30(0x2e4)];return{..._0x2bda60,'mutations':_0x2232fe};});this[_0x27f13a(0x278)](),this[_0x27f13a(0x1bc)](this[_0x27f13a(0x417)][_0x27f13a(0x2ba)](_0x2f2dde)),this[_0x27f13a(0x29a)]();}[_0x379364(0x2a2)](){var _0x2efbd6=_0x379364;this['_lockTransition'](),this['_updateState'](this['_state']['toggleOffline']()),this[_0x2efbd6(0x29a)]();}['_toggleOnline'](_0x176982=!0x1){var _0x4cb6be=_0x379364;this[_0x4cb6be(0x278)](),this[_0x4cb6be(0x1bc)](this[_0x4cb6be(0x417)]['toggleOnline']()),this[_0x4cb6be(0x29a)]();const _0x235ee0=this[_0x4cb6be(0x417)];_0x176982&&_0x235ee0 instanceof ye&&(this[_0x4cb6be(0x278)](),this[_0x4cb6be(0x1bc)](_0x235ee0[_0x4cb6be(0x2f9)]()),this[_0x4cb6be(0x29a)]());}async[_0x379364(0x2ed)](){return new Promise(_0x2eb578=>{var _0x51eaaa=_0x3279;this[_0x51eaaa(0x404)][_0x51eaaa(0x435)]['pipe'](_0x3302cd(0x1))[_0x51eaaa(0x20d)](async _0x4eb50d=>{_0x2eb578(await this['_createInitialStateImpl'](_0x4eb50d===ge['ONLINE']));});});}[_0x379364(0x392)](){var _0x1a7083=_0x379364;const _0x5a90c2=this[_0x1a7083(0x224)];return{'onStateChange':(_0x1c4e3d,_0x20bcae)=>{var _0x4a1940=_0x1a7083;if(_0x1c4e3d!==this[_0x4a1940(0x417)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x1c4e3d[_0x4a1940(0x2d1)]+_0x4a1940(0x353)+_0x20bcae[_0x4a1940(0x2d1)]+_0x4a1940(0x453)+this[_0x4a1940(0x417)][_0x4a1940(0x2d1)]);this['_updateState'](_0x20bcae);},'onSendChangeset':_0x21679c=>{var _0x3f5a91=_0x1a7083;_0x21679c[_0x3f5a91(0x3aa)]||(_0x21679c[_0x3f5a91(0x3aa)]=this[_0x3f5a91(0x2b1)],_0x21679c[_0x3f5a91(0x1aa)]=++this[_0x3f5a91(0x3fb)]);const _0x46efdc={'eventID':_0x3a8693['SUBMIT_CHANGESET'],'data':{'unitID':_0x21679c[_0x3f5a91(0x224)],'unitType':this[_0x3f5a91(0x33f)],'changeset':_0x21679c,'memberID':this[_0x3f5a91(0x404)][_0x3f5a91(0x1f4)]()}};this[_0x3f5a91(0x404)]['send'](_0x46efdc,this[_0x3f5a91(0x224)]);},'onMissingChangesets':({from:_0x41ae67,to:_0x561b37})=>{var _0x166e85=_0x1a7083;this[_0x166e85(0x2a6)]['debug'](_0x166e85(0x385),_0x166e85(0x301)+_0x41ae67+_0x166e85(0x26b)+_0x561b37);const _0x58ae3d={'eventID':_0x3a8693[_0x166e85(0x30d)],'data':{'unitID':_0x5a90c2,'unitType':this['_type'],'from':_0x41ae67,'to':_0x561b37}};this[_0x166e85(0x404)][_0x166e85(0x41b)](_0x58ae3d,this[_0x166e85(0x224)]);}};}async['_createInitialStateImpl'](_0x5a6737){var _0x144787=_0x379364,_0x557bec,_0x1c4904,_0x5b854a;const _0x1c6362=await((_0x557bec=this[_0x144787(0x24d)])==null?void 0x0:_0x557bec[_0x144787(0x369)](this['unitID'])),_0x109300=(_0x1c4904=_0x1c6362==null?void 0x0:_0x1c6362[_0x144787(0x2e4)])!=null?_0x1c4904:[],_0x4d2dcf=(_0x5b854a=_0x1c6362==null?void 0x0:_0x1c6362[_0x144787(0x2cb)])!=null?_0x5b854a:null,_0x46c667=!!(_0x4d2dcf!=null&&_0x4d2dcf[_0x144787(0x3aa)])&&!!(_0x4d2dcf!=null&&_0x4d2dcf[_0x144787(0x1aa)]);this[_0x144787(0x2b1)]=_0x46c667?_0x4d2dcf[_0x144787(0x3aa)]:_0x5b2502(),this[_0x144787(0x3fb)]=_0x46c667?_0x4d2dcf[_0x144787(0x1aa)]:0x0;const _0x589973=this[_0x144787(0x224)];try{this['_replayCachedMutations'](_0x4d2dcf,_0x109300);}catch(_0x248907){this[_0x144787(0x2a6)]['error'](_0x248907);}const _0x1c7043=this['_createHandler']();if(_0x5a6737){const _0x28b56a=Ti(this[_0x144787(0x168)],_0x589973,this[_0x144787(0x33f)],_0x4d2dcf,_0x109300,_0x1c7043);return _0x28b56a instanceof re?_0x28b56a['_schedule']():(_0x28b56a instanceof ae||_0x28b56a instanceof _e)&&_0x28b56a[_0x144787(0x2db)](),_0x28b56a;}return this[_0x144787(0x168)]['createInstance'](ue,_0x589973,this[_0x144787(0x33f)],_0x4d2dcf,_0x109300,_0x1c7043);}[_0x379364(0x262)](_0x482948,_0x341c02){var _0x53c930=_0x379364,_0x52ca1f,_0x1f90c1;const _0x59b414=this[_0x53c930(0x40e)]['interceptor']['fetchThroughInterceptors'](this[_0x53c930(0x40e)][_0x53c930(0x3da)][_0x53c930(0x258)]()[_0x53c930(0x267)]);(_0x52ca1f=_0x59b414((_0x482948==null?void 0x0:_0x482948['mutations'])||[],null))==null||_0x52ca1f[_0x53c930(0x2e3)](_0x554352=>this[_0x53c930(0x213)][_0x53c930(0x308)](_0x554352['id'],_0x554352[_0x53c930(0x317)])),(_0x1f90c1=_0x59b414(_0x341c02||[],null))==null||_0x1f90c1['forEach'](_0x4edfe2=>this[_0x53c930(0x213)][_0x53c930(0x308)](_0x4edfe2['id'],_0x4edfe2[_0x53c930(0x317)]));}};st=wt([H(0x3,_0x55b050(_0x53e138)),H(0x4,_0x55b050(_0x55c6e3)),H(0x5,_0x55b050(_0x3d255b)),H(0x6,_0x55b050(_0x10efe8)),H(0x7,_0x55b050(ve)),H(0x8,_0xe5be65),H(0x9,_0x258db2),H(0xa,_0x318fdb),H(0xb,_0x451ef7(ht)),H(0xc,_0x451ef7(J))],st);let St=class extends st{constructor(_0x37760c,_0x570d78,_0x3b52c2,_0x1d4595,_0x3bb885,_0x224cd9,_0xf77483,_0x51038b,_0x4a4fb0,_0x463857,_0x25fbf4,_0x2ef337,_0x12876e){var _0xfa18c1=_0x379364;super(_0x37760c,_0x3b52c2,_0x570d78,_0x1d4595,_0x3bb885,_0x224cd9,_0xf77483,_0x51038b,_0x4a4fb0,_0x463857,_0x25fbf4,_0x2ef337,_0x12876e),N(this,_0xfa18c1(0x3c8),null),(this['unitID']=_0x37760c,this[_0xfa18c1(0x27c)]=_0x570d78);}[_0x379364(0x33c)](_0x66cc57){var _0xa7f4e5=_0x379364;this[_0xa7f4e5(0x3c8)]=_0x66cc57;}['dispose'](){var _0x7d6cc9=_0x379364;this[_0x7d6cc9(0x3c8)]=null,super[_0x7d6cc9(0x299)]();}[_0x379364(0x392)](){var _0xc8000e=_0x379364;const _0x38d51e=super[_0xc8000e(0x392)]();return _0x38d51e[_0xc8000e(0x36c)]=_0x3846ee=>{var _0x6e8ec5=_0xc8000e,_0x4d6b14,_0x50f9d2;return(_0x50f9d2=(_0x4d6b14=this[_0x6e8ec5(0x3c8)])==null?void 0x0:_0x4d6b14[_0x6e8ec5(0x36c)])==null?void 0x0:_0x50f9d2[_0x6e8ec5(0x2cf)](_0x4d6b14,_0x3846ee);},_0x38d51e[_0xc8000e(0x16e)]=_0x204c30=>{var _0x4cf301=_0xc8000e,_0x43e547,_0x258542;return(_0x258542=(_0x43e547=this[_0x4cf301(0x3c8)])==null?void 0x0:_0x43e547[_0x4cf301(0x16e)])==null?void 0x0:_0x258542[_0x4cf301(0x2cf)](_0x43e547,_0x204c30);},_0x38d51e['onTransformSelections']=_0x55d9da=>{var _0xe8d506=_0xc8000e,_0x3c6c6e,_0xb61cce;return(_0xb61cce=(_0x3c6c6e=this[_0xe8d506(0x3c8)])==null?void 0x0:_0x3c6c6e[_0xe8d506(0x1b0)])==null?void 0x0:_0xb61cce[_0xe8d506(0x2cf)](_0x3c6c6e,_0x55d9da);},_0x38d51e['onSyncEditingCollabCursor']=_0x322d99=>{var _0x5b79ce=_0xc8000e,_0x40563c,_0x3b68fc;return(_0x3b68fc=(_0x40563c=this[_0x5b79ce(0x3c8)])==null?void 0x0:_0x40563c[_0x5b79ce(0x22b)])==null?void 0x0:_0x3b68fc[_0x5b79ce(0x2cf)](_0x40563c,_0x322d99);},_0x38d51e[_0xc8000e(0x434)]=_0x3ac185=>{var _0x52b398=_0xc8000e,_0x55d80c,_0x236a60,_0x3a6ab7;if(!((_0x55d80c=this[_0x52b398(0x3c8)])!=null&&_0x55d80c['onTransformRemoteChangesetByIMECache']))throw new Error(_0x52b398(0x26d));return(_0x3a6ab7=(_0x236a60=this['_handlerCallback'])==null?void 0x0:_0x236a60['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3a6ab7[_0x52b398(0x2cf)](_0x236a60,_0x3ac185);},_0x38d51e[_0xc8000e(0x2ce)]=_0x50ee6e=>{var _0x5b5838=_0xc8000e,_0x4fa899,_0x475969,_0x12ae09;if(!((_0x4fa899=this[_0x5b5838(0x3c8)])!=null&&_0x4fa899[_0x5b5838(0x2ce)]))throw new Error(_0x5b5838(0x21d));return(_0x12ae09=(_0x475969=this[_0x5b5838(0x3c8)])==null?void 0x0:_0x475969[_0x5b5838(0x2ce)])==null?void 0x0:_0x12ae09['call'](_0x475969,_0x50ee6e);},_0x38d51e;}async[_0x379364(0x214)](){var _0x5b6ead=_0x379364;const _0x2e7f45=await super['_init']();return this[_0x5b6ead(0x2bb)](this['_commandService'][_0x5b6ead(0x15f)]((_0x5418d7,_0x5d3dee)=>{var _0x1491b9=_0x5b6ead;if(_0x5418d7['type']!==_0x191a70[_0x1491b9(0x2fd)]||_0x5d3dee!=null&&_0x5d3dee['fromCollab']||_0x5d3dee!=null&&_0x5d3dee[_0x1491b9(0x387)]||_0x5418d7['id']===_0x353428['id'])return;const _0x34de79=_0x5418d7[_0x1491b9(0x317)];if((_0x34de79==null?void 0x0:_0x34de79['unitId'])!==this[_0x1491b9(0x224)])return;const _0x5bd71e=_0x5418d7,_0x3524d3=this[_0x1491b9(0x40e)][_0x1491b9(0x3da)][_0x1491b9(0x3d6)](this[_0x1491b9(0x40e)][_0x1491b9(0x3da)]['getInterceptPoints']()[_0x1491b9(0x21c)])([_0x5bd71e],null)||[_0x5bd71e];this[_0x1491b9(0x1ee)](_0x3524d3[0x0]);})),_0x2e7f45;}};St=wt([H(0x3,_0x55b050(_0x53e138)),H(0x4,_0x55b050(_0x55c6e3)),H(0x5,_0x55b050(_0x3d255b)),H(0x6,_0x55b050(_0x10efe8)),H(0x7,_0x55b050(ve)),H(0x8,_0xe5be65),H(0x9,_0x258db2),H(0xa,_0x318fdb),H(0xb,_0x451ef7(ht)),H(0xc,_0x451ef7(J))],St);let Et=class extends st{constructor(_0x4537b0,_0xc8ef34,_0xf67ae0,_0x5b2bb0,_0x5044ee,_0x2e1aab,_0x90430,_0x32572d,_0x368b57,_0x3fc170,_0x509476,_0x3598d5,_0x22847b,_0x836603){var _0x9b808d=_0x379364;super(_0x4537b0,_0xf67ae0,_0xc8ef34,_0x5b2bb0,_0x5044ee,_0x2e1aab,_0x90430,_0x368b57,_0x3fc170,_0x509476,_0x3598d5,_0x22847b,_0x836603),this['unitID']=_0x4537b0,this[_0x9b808d(0x27c)]=_0xc8ef34,this[_0x9b808d(0x18c)]=_0x32572d;}[_0x379364(0x392)](){var _0x29c115=_0x379364;const _0x508e79=super[_0x29c115(0x392)]();return _0x508e79['onTransformSelections']=_0x5cce6c=>this[_0x29c115(0x18c)][_0x29c115(0x3e5)](_0x5cce6c),_0x508e79;}async[_0x379364(0x214)](){var _0x259da7=_0x379364;const _0x24bcc5=await super[_0x259da7(0x214)]();return this[_0x259da7(0x2bb)](this[_0x259da7(0x213)][_0x259da7(0x15f)]((_0x509c3b,_0x1af604)=>{var _0x551456=_0x259da7;if(_0x509c3b[_0x551456(0x27c)]!==_0x191a70['MUTATION']||_0x1af604!=null&&_0x1af604[_0x551456(0x339)]||_0x1af604!=null&&_0x1af604['onlyLocal'])return;const _0x1aae87=_0x509c3b[_0x551456(0x317)];if((_0x1aae87==null?void 0x0:_0x1aae87[_0x551456(0x298)])!==this[_0x551456(0x224)])return;const _0x327a8e=_0x509c3b,_0x1f06e7=this[_0x551456(0x40e)]['interceptor'][_0x551456(0x3d6)](this[_0x551456(0x40e)][_0x551456(0x3da)]['getInterceptPoints']()[_0x551456(0x21c)])([_0x327a8e],null)||[_0x327a8e];this['_onLocalMutation'](_0x1f06e7[0x0]);})),_0x24bcc5;}};Et=wt([H(0x3,_0x55b050(_0x53e138)),H(0x4,_0x55b050(_0x55c6e3)),H(0x5,_0x55b050(_0x3d255b)),H(0x6,_0x55b050(_0x10efe8)),H(0x7,_0x55b050(it)),H(0x8,_0x55b050(ve)),H(0x9,_0xe5be65),H(0xa,_0x258db2),H(0xb,_0x318fdb),H(0xc,_0x451ef7(ht)),H(0xd,_0x451ef7(J))],Et);const js=_0x98eadd(_0x379364(0x263));function Fs(_0x17a75f){var _0x2b30b5=_0x379364,_0x35d873,_0x2f5753,_0x51db75,_0xc3b184,_0x327996;const _0x39bb94=_0x17a75f[_0x2b30b5(0x248)],_0x9a9aa6=JSON[_0x2b30b5(0x3e1)](_0x39bb94);switch(_0x9a9aa6['cmd']){case F[_0x2b30b5(0x296)]:case F[_0x2b30b5(0x2be)]:{const _0x2c78d7=_0x9a9aa6[_0x2b30b5(0x234)];return{..._0x9a9aa6,'data':_0x2c78d7,'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};}case F['JOIN']:{const _0x5d5fbd=_0x9a9aa6['joinRsp'];return{..._0x9a9aa6,'data':_0x5d5fbd,'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};}case F['RECV']:{const _0x2b2de2=_0x9a9aa6['collaMsg'];switch(_0x2b2de2[_0x2b30b5(0x2c9)]){case _0x3a8693[_0x2b30b5(0x2ef)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':(_0x35d873=_0x2b2de2[_0x2b30b5(0x323)])==null?void 0x0:_0x35d873['cs']},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x217)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':(_0x2f5753=_0x2b2de2[_0x2b30b5(0x1cb)])==null?void 0x0:_0x2f5753['cs']},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x1d2)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':(_0x51db75=_0x2b2de2['newCsEvent'])==null?void 0x0:_0x51db75['cs']},'cmd':_0x9a9aa6['cmd']};case _0x3a8693[_0x2b30b5(0x1c7)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':(_0xc3b184=_0x2b2de2[_0x2b30b5(0x3fe)])==null?void 0x0:_0xc3b184['cs']},'cmd':_0x9a9aa6['cmd']};case _0x3a8693[_0x2b30b5(0x1d7)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':(_0x327996=_0x2b2de2[_0x2b30b5(0x17d)])==null?void 0x0:_0x327996['cs']},'cmd':_0x9a9aa6['cmd']};case _0x3a8693[_0x2b30b5(0x397)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2['updateCursorEvent']},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693['USERS_ENTER']:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x169)]},'cmd':_0x9a9aa6['cmd']};case _0x3a8693[_0x2b30b5(0x416)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x27f)]},'cmd':_0x9a9aa6['cmd']};case _0x3a8693[_0x2b30b5(0x1af)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x25e)]},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x273)]:case _0x3a8693['LIVESHARE_OPERATION']:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x3a6)]},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x170)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x25e)]},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x202)]:return{..._0x9a9aa6,'data':_0x2b2de2,'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693['COMMENT_UPDATE']:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x181)]},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x238)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2['updatePermissionObjEvent']},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x1d8)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x31d)]},'cmd':_0x9a9aa6[_0x2b30b5(0x2c6)]};case _0x3a8693[_0x2b30b5(0x282)]:return{..._0x9a9aa6,'data':{..._0x2b2de2,'data':_0x2b2de2[_0x2b30b5(0x253)]},'cmd':_0x9a9aa6['cmd']};default:return _0x9a9aa6;}}default:return _0x9a9aa6;}}function Vs(_0x364ff2){var _0xae226b=_0x379364;switch(_0x364ff2[_0xae226b(0x2c6)]){case F[_0xae226b(0x296)]:case F['HELLO']:return JSON[_0xae226b(0x3fa)]({'cmd':_0x364ff2['cmd'],'routeKey':_0x364ff2[_0xae226b(0x1b6)]});case F[_0xae226b(0x274)]:{let _0x1abae5;switch(_0x364ff2[_0xae226b(0x248)][_0xae226b(0x2c9)]){case _0x3a8693['UPDATE_CURSOR']:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x397)],'updateCursorEvent':_0x364ff2['data'][_0xae226b(0x248)]};break;}case _0x3a8693[_0xae226b(0x416)]:{_0x1abae5={'eventID':_0x3a8693['USERS_LEAVE'],'leaveEvent':_0x364ff2['data'][_0xae226b(0x248)]};break;}case _0x3a8693['USERS_ENTER']:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x42f)],'joinEvent':_0x364ff2[_0xae226b(0x248)][_0xae226b(0x248)]};break;}case _0x3a8693[_0xae226b(0x1af)]:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x1af)],'liveShareNewHost':_0x364ff2[_0xae226b(0x248)]['data']};break;}case _0x3a8693[_0xae226b(0x1bf)]:{_0x1abae5={'eventID':_0x3a8693['LIVESHARE_OPERATION'],'liveShareOperation':_0x364ff2[_0xae226b(0x248)][_0xae226b(0x248)]};break;}case _0x3a8693[_0xae226b(0x170)]:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x170)],'liveShareTerminate':_0x364ff2[_0xae226b(0x248)]['data']};break;}case _0x3a8693['LIVESHARE_REQUEST_HOST']:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x1e5)],'liveShareRequestHost':_0x364ff2[_0xae226b(0x248)]['data']};break;}case _0x3a8693[_0xae226b(0x273)]:{_0x1abae5={'eventID':_0x3a8693[_0xae226b(0x273)]};break;}default:_0x1abae5={'eventID':_0x364ff2['data'][_0xae226b(0x2c9)]};}return JSON[_0xae226b(0x3fa)]({'cmd':_0x364ff2[_0xae226b(0x2c6)],'routeKey':_0x364ff2[_0xae226b(0x1b6)],'collaMsg':_0x1abae5});}case F[_0xae226b(0x1e3)]:return JSON['stringify']({'cmd':_0x364ff2[_0xae226b(0x2c6)],'routeKey':_0x364ff2['routeKey'],'joinReq':_0x364ff2[_0xae226b(0x248)]});case F[_0xae226b(0x1db)]:return JSON[_0xae226b(0x3fa)]({'cmd':_0x364ff2[_0xae226b(0x2c6)],'routeKey':_0x364ff2[_0xae226b(0x1b6)],'leaveReq':_0x364ff2['data']});default:throw new Error(_0xae226b(0x261));}}var Ws=Object[_0x379364(0x356)],Gs=(_0x19c00c,_0x65bce1,_0x4141e0,_0x51e91b)=>{for(var _0x29dc87=_0x51e91b>0x1?void 0x0:_0x51e91b?Ws(_0x65bce1,_0x4141e0):_0x65bce1,_0x5554df=_0x19c00c['length']-0x1,_0x1ae1e9;_0x5554df>=0x0;_0x5554df--)(_0x1ae1e9=_0x19c00c[_0x5554df])&&(_0x29dc87=_0x1ae1e9(_0x29dc87)||_0x29dc87);return _0x29dc87;},De=(_0x45ad78,_0x3f4f27)=>(_0x1bd22c,_0x4f9df5)=>_0x3f4f27(_0x1bd22c,_0x4f9df5,_0x45ad78);const Ci=_0x98eadd(_0x379364(0x268));function Ys(_0xc9823d,_0x4d5e49,_0x45d494){var _0x108d28=_0x379364;return _0xc9823d+'/'+_0x4d5e49+_0x108d28(0x2aa)+_0x45d494+_0x108d28(0x373);}let Gt=class extends _0x1e8ebb{constructor(_0x166917,_0x47ace2,_0x17ec2d,_0x58ba36,_0x91c32b){var _0x307169=_0x379364;super(),this[_0x307169(0x168)]=_0x166917,this[_0x307169(0x341)]=_0x47ace2,this[_0x307169(0x3bb)]=_0x17ec2d,this[_0x307169(0x2a6)]=_0x58ba36,this['_snapshotServerService']=_0x91c32b;}[_0x379364(0x1a6)](_0x2c13e3){var _0x1eebb3=_0x379364;const _0x2196dd=this[_0x1eebb3(0x168)][_0x1eebb3(0x443)](_0x159f47);if(!_0x2196dd)throw new Error(_0x1eebb3(0x302));const _0x380f7d=_0x2196dd[_0x1eebb3(0x226)](_0x2c13e3);if(!_0x380f7d)throw new Error(_0x1eebb3(0x185));const _0x1e98de=new _0x5daa8a(),_0x286fc8=new _0x4fc9b2();_0x1e98de[_0x1eebb3(0x265)](_0x380f7d[_0x1eebb3(0x41f)][_0x1eebb3(0x20d)](_0x275dd9=>_0x286fc8['next'](_0x275dd9))),_0x1e98de['add'](_0x300357(()=>_0x286fc8[_0x1eebb3(0x2c8)]()));const _0x4b5674=new _0x4fc9b2();_0x1e98de[_0x1eebb3(0x265)](_0x380f7d[_0x1eebb3(0x2e0)]['subscribe'](_0x4555e3=>_0x4b5674['next'](_0x4555e3))),_0x1e98de[_0x1eebb3(0x265)](_0x300357(()=>_0x4b5674[_0x1eebb3(0x2c8)]()));const _0x66bf38=new _0x4fc9b2();_0x1e98de[_0x1eebb3(0x265)](_0x380f7d[_0x1eebb3(0x2f4)]['subscribe'](_0xf8069f=>{var _0xfda185=_0x1eebb3;const _0x1fa884=Fs(_0xf8069f);_0x66bf38[_0xfda185(0x372)](_0x1fa884);})),_0x1e98de[_0x1eebb3(0x265)](_0x300357(()=>_0x66bf38[_0x1eebb3(0x2c8)]()));let _0xe32adf;const _0x5bcf08=()=>{var _0x2be08b=_0x1eebb3;_0x4b5674[_0x2be08b(0x372)](new Event(_0x2be08b(0x37a))),_0x286fc8['next'](new Event(_0x2be08b(0x37a))),_0xe32adf[_0x2be08b(0x2b3)]();};return _0xe32adf={'memberID':'','close$':_0x286fc8[_0x1eebb3(0x455)](),'error$':_0x4b5674[_0x1eebb3(0x455)](),'open$':_0x380f7d[_0x1eebb3(0x236)],'message$':_0x66bf38[_0x1eebb3(0x455)](),'send':_0x24f2a8=>{var _0x518547=_0x1eebb3;if(_0x24f2a8[_0x518547(0x2c6)]===F['INGEST']){if(_0x24f2a8[_0x518547(0x248)][_0x518547(0x2c9)]===_0x3a8693[_0x518547(0x34b)]){this[_0x518547(0x16c)](_0xe32adf,_0x24f2a8[_0x518547(0x248)])[_0x518547(0x379)](_0x5741a0=>{var _0x2c52d6=_0x518547;this[_0x2c52d6(0x2a6)]['error'](_0x5741a0),_0x5bcf08();});return;}if(_0x24f2a8['data'][_0x518547(0x2c9)]===_0x3a8693['FETCH_MISSING']){const _0xba2c0=_0x24f2a8[_0x518547(0x248)];this[_0x518547(0x40c)](_0xba2c0)[_0x518547(0x440)](_0x1691d2=>{var _0x2a30c7=_0x518547;_0x66bf38[_0x2a30c7(0x372)]({'cmd':F[_0x2a30c7(0x160)],'code':pe['OK'],'routeKey':_0xba2c0[_0x2a30c7(0x248)][_0x2a30c7(0x224)],'routeType':'','data':{'eventID':_0x3a8693[_0x2a30c7(0x1e4)],'data':{'changesets':_0x1691d2}}});})[_0x518547(0x379)](_0x2641a4=>{var _0x29b07e=_0x518547;this[_0x29b07e(0x2a6)][_0x29b07e(0x3ed)](_0x2641a4),_0x5bcf08();});return;}}_0x380f7d['send'](Vs(_0x24f2a8));},'close':()=>{var _0x486989=_0x1eebb3;_0x380f7d[_0x486989(0x2b3)](),_0x1e98de[_0x486989(0x299)]();}},_0xe32adf;}async[_0x379364(0x16c)](_0x3c1b1b,_0x516e4a){var _0x78baa4=_0x379364,_0x288b8e;const {unitType:_0x14faa7,unitID:_0xeea094,changeset:_0x34275b}=_0x516e4a['data'],_0x4b4e5b={'unitID':_0xeea094,'memberID':_0x3c1b1b[_0x78baa4(0x391)],'type':_0x14faa7,'changeset':_0x332fc5(_0x34275b)},_0x26718a=this[_0x78baa4(0x3bb)][_0x78baa4(0x23e)](K),_0x422297=Ys((_0x288b8e=_0x26718a==null?void 0x0:_0x26718a[_0x78baa4(0x3b1)])!=null?_0x288b8e:Cs,_0x14faa7,_0xeea094);try{await this[_0x78baa4(0x341)][_0x78baa4(0x422)](_0x422297,{'body':_0x4b4e5b});}catch(_0x246b51){throw this[_0x78baa4(0x2a6)]['error'](_0x78baa4(0x237),_0x78baa4(0x1c1)),_0x246b51;}}async[_0x379364(0x40c)](_0x2cadb5){var _0x17a4bd=_0x379364;const {unitID:_0x1644c7,from:_0x2b55d2,to:_0x3dc387,unitType:_0x584e64}=_0x2cadb5['data'];return(await this[_0x17a4bd(0x3ec)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1644c7,'type':_0x584e64,'from':_0x2b55d2,'to':_0x3dc387}))['changesets'];}};Gt=Gs([De(0x0,_0x55b050(_0x53e138)),De(0x1,_0x55b050(_0x35b3eb)),De(0x2,_0x313741),De(0x3,_0xe5be65),De(0x4,_0x2d4089)],Gt);var Ks=Object[_0x379364(0x356)],qs=(_0x230655,_0x44aeb1,_0x242953,_0x412634)=>{var _0x30f0be=_0x379364;for(var _0x14e5f1=_0x412634>0x1?void 0x0:_0x412634?Ks(_0x44aeb1,_0x242953):_0x44aeb1,_0x41de0a=_0x230655[_0x30f0be(0x1ef)]-0x1,_0x2b0718;_0x41de0a>=0x0;_0x41de0a--)(_0x2b0718=_0x230655[_0x41de0a])&&(_0x14e5f1=_0x2b0718(_0x14e5f1)||_0x14e5f1);return _0x14e5f1;},Re=(_0x5c2d0a,_0x5e70ee)=>(_0x299bd9,_0x138f4b)=>_0x5e70ee(_0x299bd9,_0x138f4b,_0x5c2d0a);let Pe=class extends _0x1e8ebb{constructor(_0x57d6df,_0x147492,_0x4659fa,_0x260c57,_0x4a377e,_0x44249f){var _0x414b84=_0x379364;super(),N(this,_0x414b84(0x155),new _0x1ec595(void 0x0)),N(this,'socket$',this['_socket$'][_0x414b84(0x455)]()),N(this,_0x414b84(0x394),null),N(this,_0x414b84(0x410),new Map()),N(this,'_status$',new _0x1ec595(ge[_0x414b84(0x36d)])),N(this,'status$',this[_0x414b84(0x42a)][_0x414b84(0x455)]()),N(this,_0x414b84(0x2d5),!0x1),N(this,_0x414b84(0x357)),N(this,_0x414b84(0x2c2),0x0),N(this,_0x414b84(0x362)),N(this,_0x414b84(0x2b5)),(this[_0x414b84(0x168)]=_0x57d6df,this['_logService']=_0x147492,this[_0x414b84(0x3bb)]=_0x4659fa,this['_socketService']=_0x260c57,this['_collaborationUIEventService']=_0x4a377e,this[_0x414b84(0x264)]=_0x44249f,this[_0x414b84(0x43c)]());}get[_0x379364(0x295)](){var _0x21de8e=_0x379364;return this[_0x21de8e(0x155)]['getValue']();}[_0x379364(0x43c)](){var _0xa55f5c=_0x379364;this['_networkConditionService']&&this[_0xa55f5c(0x2bb)](this[_0xa55f5c(0x264)][_0xa55f5c(0x3b6)][_0xa55f5c(0x20d)](_0x500067=>{var _0x16e475=_0xa55f5c;_0x500067&&!this[_0x16e475(0x295)]&&this['reconnect'](),_0x500067||this[_0x16e475(0x284)]();}));}[_0x379364(0x299)](){var _0x7e665a=_0x379364;super[_0x7e665a(0x299)](),this[_0x7e665a(0x42e)](),this[_0x7e665a(0x2a5)](),this['_clearHeartbeatTimer'](),this[_0x7e665a(0x410)][_0x7e665a(0x2e3)](_0x2147d1=>_0x2147d1[_0x7e665a(0x299)]()),this[_0x7e665a(0x410)][_0x7e665a(0x2b9)](),this[_0x7e665a(0x42a)][_0x7e665a(0x2c8)]();}async[_0x379364(0x184)](_0x1fe259){var _0x48b34d=_0x379364;if(this[_0x48b34d(0x410)]['has'](_0x1fe259))return this[_0x48b34d(0x410)][_0x48b34d(0x443)](_0x1fe259);this[_0x48b34d(0x2fb)]();const _0x5aa203=this[_0x48b34d(0x168)][_0x48b34d(0x38a)](gt,_0x1fe259,this[_0x48b34d(0x155)][_0x48b34d(0x455)]());return this[_0x48b34d(0x410)][_0x48b34d(0x201)](_0x1fe259,_0x5aa203),_0x5aa203;}['closeSession'](_0x1006bc){var _0x13fed5=_0x379364,_0x5369a6;const _0x4e35f4=this['_sessions'][_0x13fed5(0x443)](_0x1006bc);_0x4e35f4&&(this[_0x13fed5(0x410)][_0x13fed5(0x405)](_0x1006bc),_0x4e35f4['close']()),this[_0x13fed5(0x410)][_0x13fed5(0x408)]||(_0x5369a6=this[_0x13fed5(0x295)])==null||_0x5369a6[_0x13fed5(0x2b3)]();}[_0x379364(0x17e)](){var _0x4c0d62=_0x379364;this[_0x4c0d62(0x2c2)]=0x0,this[_0x4c0d62(0x42e)](),this[_0x4c0d62(0x31a)]();}[_0x379364(0x42e)](){var _0x15a4e2=_0x379364;this[_0x15a4e2(0x357)]!=null&&(clearTimeout(this[_0x15a4e2(0x357)]),this['_retryConnectingTimer']=null);}async[_0x379364(0x39c)](){var _0x3f20e6=_0x379364,_0x5c4120;const _0x46ca74=this[_0x3f20e6(0x3bb)][_0x3f20e6(0x23e)](K),_0x560bff=(_0x5c4120=_0x46ca74==null?void 0x0:_0x46ca74[_0x3f20e6(0x1ff)])!=null?_0x5c4120:ms,_0x9c8e17=await this['_socketService'][_0x3f20e6(0x226)](_0x560bff);return this[_0x3f20e6(0x394)]=_0x9c8e17,_0x9c8e17;}async[_0x379364(0x2fb)](){var _0x168b45=_0x379364,_0x2add55,_0x351490;try{const _0x5545d0=(_0x351490=(_0x2add55=this[_0x168b45(0x295)])!=null?_0x2add55:this[_0x168b45(0x394)])!=null?_0x351490:await this['_createSocket']();if(_0x5545d0){const _0x4ad6e1=_0x5545d0[_0x168b45(0x41b)];_0x5545d0[_0x168b45(0x41b)]=_0x1df3a4=>(this['_rescheduleHeartbeat'](),_0x4ad6e1[_0x168b45(0x380)](_0x5545d0,[_0x1df3a4])),_0x5545d0['message$'][_0x168b45(0x20d)](_0x14fca8=>this['_onMessage'](_0x5545d0,_0x14fca8)),_0x5545d0[_0x168b45(0x2e0)][_0x168b45(0x19d)](_0x4d3db5(0x1))[_0x168b45(0x20d)](_0x4f8cda=>this[_0x168b45(0x2a6)][_0x168b45(0x3ed)](_0x168b45(0x2f6),_0x4f8cda)),_0x5545d0[_0x168b45(0x236)][_0x168b45(0x19d)](_0x4d3db5(0x1))[_0x168b45(0x20d)](()=>{this['_onConnectionOpen'](_0x5545d0);}),_0x5545d0[_0x168b45(0x41f)][_0x168b45(0x19d)](_0x4d3db5(0x1))[_0x168b45(0x20d)](_0x349569=>{var _0x6f429e=_0x168b45;this['_logService'][_0x6f429e(0x1c2)](_0x6f429e(0x41a),'socket\x20close',_0x349569),this[_0x6f429e(0x1b1)]();});}}catch(_0x5afb7e){this[_0x168b45(0x2a6)][_0x168b45(0x3ed)](_0x5afb7e),this[_0x168b45(0x1b1)]();}}['_onConnectionOpen'](_0xab3a76){var _0x4918fc=_0x379364;this[_0x4918fc(0x2a6)][_0x4918fc(0x1c2)](_0x4918fc(0x41a),_0x4918fc(0x368)),_0xab3a76['send']({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x379364(0x284)](){var _0x42eab3=_0x379364;this[_0x42eab3(0x2d5)]=!0x1,this[_0x42eab3(0x394)]=null,this[_0x42eab3(0x42a)]['next'](ge[_0x42eab3(0x439)]),this[_0x42eab3(0x155)]['next'](null),this[_0x42eab3(0x2a5)](),this[_0x42eab3(0x360)]();}[_0x379364(0x1b1)](){var _0x292a57=_0x379364,_0x5d4094;this['_onOffline'](),this[_0x292a57(0x2c2)]<((_0x5d4094=this[_0x292a57(0x3bb)]['getConfig'](Is))!=null?_0x5d4094:Ts)?(this['_collaborationUIEventService'][_0x292a57(0x239)]({'id':ne['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x292a57(0x325)][_0x292a57(0x239)]({'id':ne[_0x292a57(0x24f)]});}[_0x379364(0x31a)](){var _0xd4afd5=_0x379364,_0x1e9d80;const _0x2e1a17=this[_0xd4afd5(0x2c2)],_0x2516bb=this[_0xd4afd5(0x3bb)][_0xd4afd5(0x23e)](K),_0x4f4eea=_0x2e1a17===0x0?0x0:((_0x1e9d80=_0x2516bb==null?void 0x0:_0x2516bb[_0xd4afd5(0x158)])!=null?_0x1e9d80:Es)*0x2**_0x2e1a17;this[_0xd4afd5(0x357)]=setTimeout(()=>{var _0x455809=_0xd4afd5;clearTimeout(this['_retryConnectingTimer']),this[_0x455809(0x357)]=null,this[_0x455809(0x2fb)]();},_0x4f4eea),this[_0xd4afd5(0x2c2)]+=0x1;}[_0x379364(0x252)](_0x24c69d,_0x2f5364){var _0x14135c=_0x379364;const {cmd:_0x3aae81}=_0x2f5364;_0x3aae81===F[_0x14135c(0x2be)]&&!this['_socketReady']&&(_0x24c69d[_0x14135c(0x391)]=_0x2f5364['data']['memberID'],this[_0x14135c(0x155)][_0x14135c(0x372)](_0x24c69d),this['_status$']['next'](ge[_0x14135c(0x24c)]),this[_0x14135c(0x2d5)]=!0x0,this['_candidateSocket']=null),_0x3aae81===F[_0x14135c(0x296)]&&this[_0x14135c(0x2a5)](),this[_0x14135c(0x15c)]();}['_rescheduleHeartbeat'](){var _0x450c39=_0x379364,_0x3c84ee;this[_0x450c39(0x360)](),this[_0x450c39(0x362)]=setTimeout(()=>this[_0x450c39(0x2ad)](),(_0x3c84ee=this[_0x450c39(0x3bb)][_0x450c39(0x23e)](gs))!=null?_0x3c84ee:Ss);}[_0x379364(0x2ad)](){var _0x27e0f6=_0x379364;this[_0x27e0f6(0x295)]['send']({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x379364(0x2a4)](){var _0x496175=_0x379364,_0x5ae9cf;this['_timeoutTimer']=setTimeout(()=>this[_0x496175(0x1b1)](),(_0x5ae9cf=this[_0x496175(0x3bb)]['getConfig'](di))!=null?_0x5ae9cf:fi);}[_0x379364(0x360)](){var _0x4a7a87=_0x379364;this[_0x4a7a87(0x362)]!=null&&(clearTimeout(this[_0x4a7a87(0x362)]),this['_sendHeartbeatTimer']=null);}[_0x379364(0x2a5)](){var _0x36a1d9=_0x379364;this[_0x36a1d9(0x2b5)]!=null&&(clearTimeout(this[_0x36a1d9(0x2b5)]),this[_0x36a1d9(0x2b5)]=null);}};Pe=qs([Re(0x0,_0x55b050(_0x53e138)),Re(0x1,_0xe5be65),Re(0x2,_0x313741),Re(0x3,Ci),Re(0x4,_0x55b050(ve)),Re(0x5,_0x451ef7(js))],Pe);var zs=Object[_0x379364(0x356)],Js=(_0x52df23,_0x37b129,_0x190777,_0x447bfe)=>{var _0x419a3b=_0x379364;for(var _0x4c9538=_0x447bfe>0x1?void 0x0:_0x447bfe?zs(_0x37b129,_0x190777):_0x37b129,_0x3b1d8b=_0x52df23[_0x419a3b(0x1ef)]-0x1,_0xe61d29;_0x3b1d8b>=0x0;_0x3b1d8b--)(_0xe61d29=_0x52df23[_0x3b1d8b])&&(_0x4c9538=_0xe61d29(_0x4c9538)||_0x4c9538);return _0x4c9538;},Be=(_0x5d15f9,_0x361f0b)=>(_0x488cfa,_0xf044a8)=>_0x361f0b(_0x488cfa,_0xf044a8,_0x5d15f9);let nt=class extends _0x16a750{constructor(_0x3b2345,_0x24c909,_0x5b0700,_0x5ce981){var _0x2f6087=_0x379364,_0x1b102e;super(),N(this,_0x2f6087(0x345),new Map()),N(this,'_entityInit$',new _0x4fc9b2()),N(this,'entityInit$',this['_entityInit$'][_0x2f6087(0x455)]()),(this[_0x2f6087(0x168)]=_0x3b2345,this['_collabSessionService']=_0x24c909,this[_0x2f6087(0x3bb)]=_0x5b0700,this['_univerInstanceService']=_0x5ce981,((_0x1b102e=this[_0x2f6087(0x3bb)][_0x2f6087(0x23e)](K))==null?void 0x0:_0x1b102e[_0x2f6087(0x423)])!==!0x1&&this[_0x2f6087(0x214)]());}[_0x379364(0x299)](){var _0x5b6b55=_0x379364;super[_0x5b6b55(0x299)](),this[_0x5b6b55(0x345)][_0x5b6b55(0x2e3)](_0x2e393c=>_0x2e393c[_0x5b6b55(0x299)]()),this['_entities'][_0x5b6b55(0x2b9)]();}[_0x379364(0x37d)](_0xa483c4){var _0xac8a5=_0x379364,_0x522309;return(_0x522309=this[_0xac8a5(0x345)][_0xac8a5(0x443)](_0xa483c4))!=null?_0x522309:null;}[_0x379364(0x14f)](_0x3d86bf){var _0x234650=_0x379364;const _0x1b8860=this['getCollabEntity'](_0x3d86bf);return _0x1b8860?_0x4a7bdc(_0x1b8860):this['_entityInit$'][_0x234650(0x19d)](_0x8f130f(_0x27b28a=>_0x27b28a[_0x234650(0x224)]===_0x3d86bf));}['readyForCollab'](_0x4cab10){var _0x7e2d56=_0x379364;return _0x2d74f3(this[_0x7e2d56(0x14f)](_0x4cab10)[_0x7e2d56(0x19d)](_0x1b2b98(()=>{})));}[_0x379364(0x214)](){var _0x4b635d=_0x379364;this[_0x4b635d(0x19b)][_0x4b635d(0x27b)](_0xe5d2ce[_0x4b635d(0x321)])[_0x4b635d(0x19d)](_0x1fc1dd(this[_0x4b635d(0x193)]),_0x1e615d(0x10))[_0x4b635d(0x20d)](async _0x221de8=>{var _0x456776=_0x4b635d;const _0x730941=_0x221de8[_0x456776(0x43f)](),_0x3366bd=await this[_0x456776(0x1b3)](_0x730941,Z['UNIVER_SHEET']);this['_entities'][_0x456776(0x201)](_0x730941,_0x3366bd);}),this['_univerInstanceService'][_0x4b635d(0x27b)](_0xe5d2ce['UNIVER_DOC'])[_0x4b635d(0x19d)](_0x1fc1dd(this[_0x4b635d(0x193)]),_0x1e615d(0x10))['pipe'](_0x8f130f(_0x349cbf=>!_0x349cbf[_0x4b635d(0x43f)]()[_0x4b635d(0x227)]('__')))['subscribe'](async _0x4bd06f=>{var _0x337591=_0x4b635d;const _0x97341d=_0x4bd06f[_0x337591(0x43f)](),_0x5b0637=await this['_startCollaboration'](_0x97341d,Z['UNIVER_DOC']);this[_0x337591(0x345)][_0x337591(0x201)](_0x97341d,_0x5b0637);}),_0x479f16(this[_0x4b635d(0x19b)][_0x4b635d(0x43e)](_0xe5d2ce[_0x4b635d(0x321)]),this['_univerInstanceService'][_0x4b635d(0x43e)](_0xe5d2ce[_0x4b635d(0x30f)]))[_0x4b635d(0x19d)](_0x1fc1dd(this[_0x4b635d(0x193)]))['subscribe'](_0x42a8d7=>{var _0x75b059=_0x4b635d;const _0x340b16=_0x42a8d7[_0x75b059(0x43f)](),_0x1d0c9a=this[_0x75b059(0x345)][_0x75b059(0x443)](_0x340b16);_0x1d0c9a&&(_0x1d0c9a[_0x75b059(0x299)](),this[_0x75b059(0x345)]['delete'](_0x340b16));});}async[_0x379364(0x1b3)](_0x944a01,_0xc072d5){var _0x564050=_0x379364;const _0x577efa=await this['_collabSessionService'][_0x564050(0x184)](_0x944a01),_0x283516=this[_0x564050(0x168)][_0x564050(0x38a)](this['_getCtorByUniverType'](_0xc072d5),_0x944a01,_0xc072d5,_0x577efa);return await _0x283516[_0x564050(0x21e)](),this['_entityInit$'][_0x564050(0x372)](_0x283516),_0x283516;}[_0x379364(0x32c)](_0x41ac67){var _0x1c61d6=_0x379364;switch(_0x41ac67){case Z[_0x1c61d6(0x30f)]:return St;case Z['UNIVER_SHEET']:return Et;default:throw new Error(_0x1c61d6(0x29e)+_0x41ac67);}}};nt=Js([Be(0x0,_0x55b050(_0x53e138)),Be(0x1,_0x55b050(Pe)),Be(0x2,_0x313741),Be(0x3,_0xca033b)],nt);var Xs=Object[_0x379364(0x356)],Zs=(_0x449e25,_0x17d582,_0x33313c,_0x3b1d01)=>{var _0x30fa36=_0x379364;for(var _0x286426=_0x3b1d01>0x1?void 0x0:_0x3b1d01?Xs(_0x17d582,_0x33313c):_0x17d582,_0x25efbf=_0x449e25[_0x30fa36(0x1ef)]-0x1,_0xf9a28;_0x25efbf>=0x0;_0x25efbf--)(_0xf9a28=_0x449e25[_0x25efbf])&&(_0x286426=_0xf9a28(_0x286426)||_0x286426);return _0x286426;},Yt=(_0x248e27,_0x46090a)=>(_0x37380a,_0x54cf97)=>_0x46090a(_0x37380a,_0x54cf97,_0x248e27);const Qs=_0x379364(0x413),en=_0x379364(0x18b);let It=class extends _0x1e8ebb{constructor(_0xe8addf,_0x5c898f){var _0x458aa0=_0x379364;super(),this[_0x458aa0(0x19b)]=_0xe8addf,this[_0x458aa0(0x3bb)]=_0x5c898f,this['_init']();}[_0x379364(0x214)](){var _0x2d102d=_0x379364;this[_0x2d102d(0x2bb)](this[_0x2d102d(0x19b)][_0x2d102d(0x35c)]['subscribe'](()=>{var _0x3a3568=_0x2d102d,_0x601024;const _0xdcb4a2=this[_0x3a3568(0x19b)][_0x3a3568(0x1d0)]();let _0x290f43=(_0x601024=this[_0x3a3568(0x3bb)]['getConfig'](Qs))!=null?_0x601024:en;_0xdcb4a2 instanceof _0x1930ff&&(_0x290f43=_0xdcb4a2['name']),document[_0x3a3568(0x1f5)]=_0x290f43;}));}};It=Zs([Yt(0x0,_0xca033b),Yt(0x1,_0x313741)],It);var tn=Object[_0x379364(0x356)],sn=(_0x7061c7,_0x3cd65f,_0x14e643,_0x5fad8a)=>{for(var _0x2528f5=_0x5fad8a>0x1?void 0x0:_0x5fad8a?tn(_0x3cd65f,_0x14e643):_0x3cd65f,_0x3630a5=_0x7061c7['length']-0x1,_0x555386;_0x3630a5>=0x0;_0x3630a5--)(_0x555386=_0x7061c7[_0x3630a5])&&(_0x2528f5=_0x555386(_0x2528f5)||_0x2528f5);return _0x2528f5;},dt=(_0x5f5865,_0x3590bf)=>(_0x2c8624,_0x574ff8)=>_0x3590bf(_0x2c8624,_0x574ff8,_0x5f5865);let rt=class{constructor(_0x4f65af,_0x590d3f,_0x30837f){var _0x4b0e36=_0x379364;this[_0x4b0e36(0x3bb)]=_0x4f65af,this['_httpService']=_0x590d3f,this['localeService']=_0x30837f,this[_0x4b0e36(0x21e)]();}[_0x379364(0x21e)](){var _0x5571bb=_0x379364;this[_0x5571bb(0x341)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xe06fa4,_0x3a55be)=>_0x3a55be(_0xe06fa4)['pipe'](_0x59133d(async _0x5ce00d=>{var _0x1c8a9e=_0x5571bb;const _0x12322e=_0x5ce00d;if(_0x12322e[_0x1c8a9e(0x2d1)]===0x191){if(typeof window>'u')throw new Error(_0x1c8a9e(0x38d));if(window[_0x1c8a9e(0x306)](this['localeService']['t'](_0x1c8a9e(0x33b)))){const _0x3a658f=window[_0x1c8a9e(0x309)](window[_0x1c8a9e(0x37b)][_0x1c8a9e(0x255)]);window[_0x1c8a9e(0x37b)][_0x1c8a9e(0x255)]=this[_0x1c8a9e(0x3cd)]()+'?url='+_0x3a658f;}}return _0x12322e;}))});}['_getLoginPath'](){var _0x4b9d8a=_0x379364,_0x1392b5;const _0x4f6dfe=this[_0x4b9d8a(0x3bb)][_0x4b9d8a(0x23e)](K);return(_0x1392b5=_0x4f6dfe==null?void 0x0:_0x4f6dfe[_0x4b9d8a(0x3d2)])!=null?_0x1392b5:Rs;}};rt=sn([dt(0x0,_0x313741),dt(0x1,_0x55b050(_0x35b3eb)),dt(0x2,_0x55b050(_0x3d255b))],rt);var nn=Object[_0x379364(0x356)],rn=(_0x2f9708,_0x1253b4,_0x527286,_0x40095)=>{var _0x4de02f=_0x379364;for(var _0x4cb4e3=_0x40095>0x1?void 0x0:_0x40095?nn(_0x1253b4,_0x527286):_0x1253b4,_0x104f5d=_0x2f9708[_0x4de02f(0x1ef)]-0x1,_0x5f41be;_0x104f5d>=0x0;_0x104f5d--)(_0x5f41be=_0x2f9708[_0x104f5d])&&(_0x4cb4e3=_0x5f41be(_0x4cb4e3)||_0x4cb4e3);return _0x4cb4e3;},Kt=(_0x5676d3,_0x2d8c63)=>(_0x23191f,_0x46ebba)=>_0x2d8c63(_0x23191f,_0x46ebba,_0x5676d3);const an=_0x379364(0x244);let Tt=class extends _0x1e8ebb{constructor(_0x173997,_0x71bda4){var _0x46ee29=_0x379364;super(),this[_0x46ee29(0x1f1)]=_0x173997,this[_0x46ee29(0x3bb)]=_0x71bda4,this[_0x46ee29(0x33d)]();}[_0x379364(0x33d)](){var _0x19084a=_0x379364;const _0x2de7b6=this;this[_0x19084a(0x2bb)](this[_0x19084a(0x1f1)][_0x19084a(0x3e0)]({'priority':0x3e7,'interceptor':_0x2a03d0({'isMatch'(_0x4b0f4f){var _0x558556=_0x19084a,_0x4da310;if(_0x4b0f4f[_0x558556(0x25c)]===_0x558556(0x1c4)&&((_0x4da310=_0x4b0f4f[_0x558556(0x315)])!=null&&_0x4da310['body'])){const {objectID:_0x46c1fa,objectType:_0x1f5318}=_0x4b0f4f[_0x558556(0x315)]['body']||{};if(!_0x46c1fa||_0x1f5318===void 0x0)return!0x1;const _0x2ea387=_0x2de7b6[_0x558556(0x42c)]()+'/'+_0x1f5318+_0x558556(0x172)+_0x46c1fa+_0x558556(0x1e7);if(_0x4b0f4f[_0x558556(0x1b9)]===_0x2ea387)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x342abb){var _0x2bac16=_0x19084a,_0x58d3cb;return(_0x58d3cb=_0x342abb[_0x2bac16(0x315)])==null?void 0x0:_0x58d3cb[_0x2bac16(0x36f)];},'mergeParamsToRequest'(_0x5caf37,_0x4846f4){var _0x1a1a08=_0x19084a;const _0x15b819=_0x2de7b6['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x2446ab=_0x5caf37[_0x1a1a08(0x3a7)]((_0x4e3133,_0x31cb2f)=>{var _0x4362e9=_0x1a1a08;const {unitID:_0x222ec8,objectID:_0x46c0ad,objectType:_0x27de25,actions:_0x37fe45}=_0x31cb2f;return _0x4e3133[_0x222ec8]||(_0x4e3133[_0x222ec8]={}),_0x4e3133[_0x222ec8][_0x46c0ad]||(_0x4e3133[_0x222ec8][_0x46c0ad]={'objectID':_0x46c0ad,'objectType':_0x27de25,'actions':[]}),_0x4e3133[_0x222ec8][_0x46c0ad][_0x4362e9(0x399)][_0x4362e9(0x364)](..._0x37fe45),_0x4e3133;},{}),_0x2c2216=[];for(const _0x3d2558 in _0x2446ab)for(const _0x138645 in _0x2446ab[_0x3d2558]){const {actions:_0x14cc1d,objectType:_0x3cc44e}=_0x2446ab[_0x3d2558][_0x138645],_0x19e44b=[...new Set(_0x14cc1d)];_0x2c2216[_0x1a1a08(0x364)]({'unitID':_0x3d2558,'objectID':_0x138645,'objectType':_0x3cc44e,'actions':_0x19e44b});}return new _0x5988fc('POST',_0x15b819,{'headers':_0x4846f4['headers'],'withCredentials':_0x4846f4['withCredentials'],'responseType':_0x4846f4[_0x1a1a08(0x3d5)],'body':{'requests':_0x2c2216}});}},{'distributeResult'(_0x343d4d,_0x1a8d8a){var _0x365606=_0x19084a;const {objectActions:_0x44e337}=_0x343d4d;return _0x1a8d8a[_0x365606(0x289)](_0x1c8d0a=>{var _0xb4ece0=_0x365606;const {unitID:_0x38d230,objectID:_0x4afe8f,actions:_0x4c354c}=_0x1c8d0a,_0x151bf1=_0x44e337['find'](_0x2b803e=>_0x2b803e[_0xb4ece0(0x224)]===_0x38d230&&_0x2b803e['objectID']===_0x4afe8f),_0x6364dd=_0x4c354c[_0xb4ece0(0x289)](_0x4225f3=>_0x151bf1==null?void 0x0:_0x151bf1['actions']['find'](_0x1e151c=>_0x1e151c[_0xb4ece0(0x241)]===_0x4225f3))[_0xb4ece0(0x3ac)](_0x3cc714=>!!_0x3cc714);return{'config':_0x1c8d0a,'result':{'actions':_0x6364dd,'error':_0x343d4d[_0xb4ece0(0x3ed)]}};});}})}));}[_0x379364(0x42c)](){var _0x39e960=_0x379364,_0xcb22ce;const _0x5cf0aa=this['_configService'][_0x39e960(0x23e)](K);return(_0xcb22ce=_0x5cf0aa==null?void 0x0:_0x5cf0aa[_0x39e960(0x279)])!=null?_0xcb22ce:an;}async[_0x379364(0x400)](_0x533f01){var _0x38ea64=_0x379364;const _0x47c2e8=this[_0x38ea64(0x42c)]()+'/'+_0x533f01[_0x38ea64(0x1c6)]+'/object';return(await this[_0x38ea64(0x1f1)][_0x38ea64(0x422)](_0x47c2e8,{'body':_0x533f01}))[_0x38ea64(0x36f)]['objectID']||'';}async[_0x379364(0x395)](_0x1db967){var _0x45a69f=_0x379364;const _0x5ef8b9=this[_0x45a69f(0x42c)]()+_0x45a69f(0x2eb);return(await this[_0x45a69f(0x1f1)][_0x45a69f(0x422)](_0x5ef8b9,{'body':_0x1db967}))[_0x45a69f(0x36f)]['objects'];}async[_0x379364(0x23a)](_0x16f020){var _0x310b98=_0x379364,_0x2f2d1e,_0x20a30c;const _0x30abe4=this[_0x310b98(0x42c)]()+'/'+_0x16f020['objectType']+_0x310b98(0x172)+_0x16f020[_0x310b98(0x2d8)],_0x4dd625=await this[_0x310b98(0x1f1)][_0x310b98(0x2f8)](_0x30abe4,{'body':_0x16f020});if(((_0x20a30c=(_0x2f2d1e=_0x4dd625==null?void 0x0:_0x4dd625[_0x310b98(0x36f)])==null?void 0x0:_0x2f2d1e[_0x310b98(0x3ed)])==null?void 0x0:_0x20a30c[_0x310b98(0x212)])!==0x1)throw new Error(_0x310b98(0x419));}async[_0x379364(0x375)](_0x80f978){var _0x29a58b=_0x379364;const _0x32b318=this['_getAPIPrefixPath']()+'/'+_0x80f978[_0x29a58b(0x1c6)]+_0x29a58b(0x172)+_0x80f978[_0x29a58b(0x2d8)]+_0x29a58b(0x1e7);return(await this['_HTTPService'][_0x29a58b(0x422)](_0x32b318,{'body':_0x80f978}))[_0x29a58b(0x36f)][_0x29a58b(0x399)];}async[_0x379364(0x1b7)](_0x4bdc9e){var _0x42fd9f=_0x379364;const _0x1fb76c=this[_0x42fd9f(0x42c)]()+_0x42fd9f(0x365);return(await this[_0x42fd9f(0x1f1)][_0x42fd9f(0x422)](_0x1fb76c,{'body':{'requests':_0x4bdc9e}}))['body'][_0x42fd9f(0x277)];}async[_0x379364(0x178)](_0x2ac1f0){var _0x16e267=_0x379364;const _0x37eb13=this[_0x16e267(0x42c)]()+'/'+_0x2ac1f0['objectType']+_0x16e267(0x1ae),_0x244bdc=await this[_0x16e267(0x1f1)][_0x16e267(0x422)](_0x37eb13,{'body':_0x2ac1f0});return{'roles':_0x244bdc[_0x16e267(0x36f)][_0x16e267(0x182)],'actions':_0x244bdc[_0x16e267(0x36f)][_0x16e267(0x399)]};}async[_0x379364(0x335)](_0x1ef152){var _0x34c963=_0x379364;const _0x3023ba=this[_0x34c963(0x42c)]()+'/collaborator';await this[_0x34c963(0x1f1)][_0x34c963(0x405)](_0x3023ba,{'params':{'collaboratorID':_0x1ef152['collaboratorID'],'objectID':_0x1ef152[_0x34c963(0x2d8)],'unitID':_0x1ef152[_0x34c963(0x224)]}});}async[_0x379364(0x1cf)](_0x8d4ccb){var _0x136d16=_0x379364;const _0x591105=this[_0x136d16(0x42c)]()+'/collaborator';await this[_0x136d16(0x1f1)]['patch'](_0x591105,{'body':_0x8d4ccb});}async[_0x379364(0x1c8)](_0x599772){var _0x300708=_0x379364;const _0x1ee33e=this[_0x300708(0x42c)]()+_0x300708(0x215);await this[_0x300708(0x1f1)][_0x300708(0x422)](_0x1ee33e,{'body':_0x599772});}async[_0x379364(0x3dc)](_0x171955){var _0x379efb=_0x379364;const _0x206bb3=this['_getAPIPrefixPath']()+_0x379efb(0x215);return(await this[_0x379efb(0x1f1)]['get'](_0x206bb3,{'params':{'objectID':_0x171955[_0x379efb(0x2d8)],'unitID':_0x171955[_0x379efb(0x224)]}}))[_0x379efb(0x36f)][_0x379efb(0x1d5)];}async[_0x379364(0x3be)](_0x3c3bcb){var _0xcea970=_0x379364;const _0x471664=this[_0xcea970(0x42c)]()+_0xcea970(0x215);await this[_0xcea970(0x1f1)][_0xcea970(0x2f8)](_0x471664,{'body':_0x3c3bcb});}};Tt=rn([Kt(0x0,_0x55b050(_0x35b3eb)),Kt(0x1,_0x55b050(_0x313741))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x199174){var _0x36c35f=_0x379364;return _0x199174&&_0x199174[_0x36c35f(0x2e5)]&&Object['prototype']['hasOwnProperty'][_0x36c35f(0x2cf)](_0x199174,_0x36c35f(0x21a))?_0x199174[_0x36c35f(0x21a)]:_0x199174;}var Ve={'exports':{}};function on(_0x2c8d67){var _0x408fff=_0x379364;throw new Error(_0x408fff(0x3d9)+_0x2c8d67+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var We={'exports':{}},cn=We['exports'],qt;function te(){var _0x220e59=_0x379364;return qt||(qt=0x1,function(_0x13b262,_0x22b2a1){(function(_0x4ca8df,_0x43e1ea){_0x13b262['exports']=_0x43e1ea();}(cn,function(){var _0x1d3c7f=_0x1d3c7f||function(_0x16db82,_0x13db1f){var _0x3092a2=_0x3279,_0x48e214;if(typeof window<'u'&&window['crypto']&&(_0x48e214=window[_0x3092a2(0x310)]),typeof self<'u'&&self['crypto']&&(_0x48e214=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x48e214=globalThis['crypto']),!_0x48e214&&typeof window<'u'&&window[_0x3092a2(0x24a)]&&(_0x48e214=window['msCrypto']),!_0x48e214&&typeof ft<'u'&&ft['crypto']&&(_0x48e214=ft[_0x3092a2(0x310)]),!_0x48e214&&typeof on==_0x3092a2(0x2f5))try{_0x48e214=require('crypto');}catch{}var _0x17110d=function(){var _0x5b5c07=_0x3092a2;if(_0x48e214){if(typeof _0x48e214[_0x5b5c07(0x256)]==_0x5b5c07(0x2f5))try{return _0x48e214[_0x5b5c07(0x256)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48e214['randomBytes']==_0x5b5c07(0x2f5))try{return _0x48e214[_0x5b5c07(0x427)](0x4)[_0x5b5c07(0x2a3)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x437a6a=Object[_0x3092a2(0x400)]||(function(){function _0x1445ec(){}return function(_0x69ccc3){var _0x3f0663=_0x3279,_0x907e9a;return _0x1445ec['prototype']=_0x69ccc3,_0x907e9a=new _0x1445ec(),_0x1445ec[_0x3f0663(0x40d)]=null,_0x907e9a;};}()),_0x20c054={},_0x3cd8d7=_0x20c054[_0x3092a2(0x300)]={},_0x12542e=_0x3cd8d7[_0x3092a2(0x1fd)]=(function(){return{'extend':function(_0xd963ee){var _0x1fd337=_0x3279,_0x19b9f7=_0x437a6a(this);return _0xd963ee&&_0x19b9f7[_0x1fd337(0x21f)](_0xd963ee),(!_0x19b9f7[_0x1fd337(0x430)](_0x1fd337(0x21e))||this[_0x1fd337(0x21e)]===_0x19b9f7[_0x1fd337(0x21e)])&&(_0x19b9f7[_0x1fd337(0x21e)]=function(){var _0xed41f2=_0x1fd337;_0x19b9f7[_0xed41f2(0x18a)]['init'][_0xed41f2(0x380)](this,arguments);}),_0x19b9f7[_0x1fd337(0x21e)][_0x1fd337(0x40d)]=_0x19b9f7,_0x19b9f7[_0x1fd337(0x18a)]=this,_0x19b9f7;},'create':function(){var _0x3f616c=_0x3279,_0x4880db=this[_0x3f616c(0x3b2)]();return _0x4880db[_0x3f616c(0x21e)][_0x3f616c(0x380)](_0x4880db,arguments),_0x4880db;},'init':function(){},'mixIn':function(_0x13bbd7){var _0x4c45d2=_0x3279;for(var _0x30860f in _0x13bbd7)_0x13bbd7['hasOwnProperty'](_0x30860f)&&(this[_0x30860f]=_0x13bbd7[_0x30860f]);_0x13bbd7[_0x4c45d2(0x430)](_0x4c45d2(0x1ba))&&(this[_0x4c45d2(0x1ba)]=_0x13bbd7[_0x4c45d2(0x1ba)]);},'clone':function(){var _0x4efb69=_0x3279;return this[_0x4efb69(0x21e)]['prototype'][_0x4efb69(0x3b2)](this);}};}()),_0x255dd4=_0x3cd8d7['WordArray']=_0x12542e[_0x3092a2(0x3b2)]({'init':function(_0x325ccb,_0x354862){var _0x5bb370=_0x3092a2;_0x325ccb=this['words']=_0x325ccb||[],_0x354862!=_0x13db1f?this['sigBytes']=_0x354862:this['sigBytes']=_0x325ccb[_0x5bb370(0x1ef)]*0x4;},'toString':function(_0x1bc54a){var _0x44dc00=_0x3092a2;return(_0x1bc54a||_0x2b33cd)[_0x44dc00(0x3fa)](this);},'concat':function(_0x47cb5f){var _0x1403af=_0x3092a2,_0x138c46=this[_0x1403af(0x444)],_0x303659=_0x47cb5f['words'],_0xaf0811=this[_0x1403af(0x3a5)],_0x2a7d8f=_0x47cb5f[_0x1403af(0x3a5)];if(this['clamp'](),_0xaf0811%0x4)for(var _0x21e8c7=0x0;_0x21e8c7<_0x2a7d8f;_0x21e8c7++){var _0x48365f=_0x303659[_0x21e8c7>>>0x2]>>>0x18-_0x21e8c7%0x4*0x8&0xff;_0x138c46[_0xaf0811+_0x21e8c7>>>0x2]|=_0x48365f<<0x18-(_0xaf0811+_0x21e8c7)%0x4*0x8;}else{for(var _0x3213a8=0x0;_0x3213a8<_0x2a7d8f;_0x3213a8+=0x4)_0x138c46[_0xaf0811+_0x3213a8>>>0x2]=_0x303659[_0x3213a8>>>0x2];}return this[_0x1403af(0x3a5)]+=_0x2a7d8f,this;},'clamp':function(){var _0x1094a3=_0x3092a2,_0x399cec=this['words'],_0x3115ff=this[_0x1094a3(0x3a5)];_0x399cec[_0x3115ff>>>0x2]&=0xffffffff<<0x20-_0x3115ff%0x4*0x8,_0x399cec['length']=_0x16db82[_0x1094a3(0x3eb)](_0x3115ff/0x4);},'clone':function(){var _0x4a9357=_0x3092a2,_0x22117f=_0x12542e[_0x4a9357(0x247)][_0x4a9357(0x2cf)](this);return _0x22117f['words']=this['words'][_0x4a9357(0x2d9)](0x0),_0x22117f;},'random':function(_0x3b3281){var _0x440e06=_0x3092a2;for(var _0x4175a8=[],_0x2b2c52=0x0;_0x2b2c52<_0x3b3281;_0x2b2c52+=0x4)_0x4175a8[_0x440e06(0x364)](_0x17110d());return new _0x255dd4[(_0x440e06(0x21e))](_0x4175a8,_0x3b3281);}}),_0x48fd2e=_0x20c054[_0x3092a2(0x328)]={},_0x2b33cd=_0x48fd2e[_0x3092a2(0x346)]={'stringify':function(_0x40befe){var _0x1fdf9e=_0x3092a2;for(var _0x1ee98b=_0x40befe[_0x1fdf9e(0x444)],_0x125b15=_0x40befe['sigBytes'],_0x65a0c8=[],_0x34be5d=0x0;_0x34be5d<_0x125b15;_0x34be5d++){var _0x219d7e=_0x1ee98b[_0x34be5d>>>0x2]>>>0x18-_0x34be5d%0x4*0x8&0xff;_0x65a0c8['push']((_0x219d7e>>>0x4)[_0x1fdf9e(0x1ba)](0x10)),_0x65a0c8[_0x1fdf9e(0x364)]((_0x219d7e&0xf)[_0x1fdf9e(0x1ba)](0x10));}return _0x65a0c8[_0x1fdf9e(0x22f)]('');},'parse':function(_0x20b20d){var _0x3a2f82=_0x3092a2;for(var _0x4842b6=_0x20b20d[_0x3a2f82(0x1ef)],_0x38d52f=[],_0x5b3c35=0x0;_0x5b3c35<_0x4842b6;_0x5b3c35+=0x2)_0x38d52f[_0x5b3c35>>>0x3]|=parseInt(_0x20b20d['substr'](_0x5b3c35,0x2),0x10)<<0x18-_0x5b3c35%0x8*0x4;return new _0x255dd4[(_0x3a2f82(0x21e))](_0x38d52f,_0x4842b6/0x2);}},_0x627c8d=_0x48fd2e[_0x3092a2(0x32e)]={'stringify':function(_0x13bcd7){var _0x5ba8bf=_0x3092a2;for(var _0xf00f4b=_0x13bcd7[_0x5ba8bf(0x444)],_0x51876d=_0x13bcd7[_0x5ba8bf(0x3a5)],_0x2e2003=[],_0x427cc0=0x0;_0x427cc0<_0x51876d;_0x427cc0++){var _0x3d18dc=_0xf00f4b[_0x427cc0>>>0x2]>>>0x18-_0x427cc0%0x4*0x8&0xff;_0x2e2003[_0x5ba8bf(0x364)](String['fromCharCode'](_0x3d18dc));}return _0x2e2003[_0x5ba8bf(0x22f)]('');},'parse':function(_0x54c308){var _0x431f30=_0x3092a2;for(var _0x69f0e4=_0x54c308[_0x431f30(0x1ef)],_0x4adaef=[],_0x5494fa=0x0;_0x5494fa<_0x69f0e4;_0x5494fa++)_0x4adaef[_0x5494fa>>>0x2]|=(_0x54c308[_0x431f30(0x208)](_0x5494fa)&0xff)<<0x18-_0x5494fa%0x4*0x8;return new _0x255dd4[(_0x431f30(0x21e))](_0x4adaef,_0x69f0e4);}},_0x4d3f9a=_0x48fd2e[_0x3092a2(0x414)]={'stringify':function(_0x3b17c4){var _0x394b59=_0x3092a2;try{return decodeURIComponent(escape(_0x627c8d[_0x394b59(0x3fa)](_0x3b17c4)));}catch{throw new Error(_0x394b59(0x22a));}},'parse':function(_0x5b40e9){return _0x627c8d['parse'](unescape(encodeURIComponent(_0x5b40e9)));}},_0x1ee914=_0x3cd8d7[_0x3092a2(0x28f)]=_0x12542e[_0x3092a2(0x3b2)]({'reset':function(){var _0x51d5b1=_0x3092a2;this['_data']=new _0x255dd4[(_0x51d5b1(0x21e))](),this[_0x51d5b1(0x187)]=0x0;},'_append':function(_0x58227b){var _0x9b8db3=_0x3092a2;typeof _0x58227b=='string'&&(_0x58227b=_0x4d3f9a[_0x9b8db3(0x3e1)](_0x58227b)),this[_0x9b8db3(0x3a1)]['concat'](_0x58227b),this[_0x9b8db3(0x187)]+=_0x58227b[_0x9b8db3(0x3a5)];},'_process':function(_0x1e3ca9){var _0x1d13e6=_0x3092a2,_0x52c43d,_0x18cd81=this[_0x1d13e6(0x3a1)],_0x1d84fd=_0x18cd81[_0x1d13e6(0x444)],_0xb379fd=_0x18cd81[_0x1d13e6(0x3a5)],_0x582edd=this['blockSize'],_0x1be7a6=_0x582edd*0x4,_0xed54ea=_0xb379fd/_0x1be7a6;_0x1e3ca9?_0xed54ea=_0x16db82['ceil'](_0xed54ea):_0xed54ea=_0x16db82[_0x1d13e6(0x44e)]((_0xed54ea|0x0)-this[_0x1d13e6(0x16f)],0x0);var _0x59d848=_0xed54ea*_0x582edd,_0x548e9d=_0x16db82[_0x1d13e6(0x371)](_0x59d848*0x4,_0xb379fd);if(_0x59d848){for(var _0x61f2b=0x0;_0x61f2b<_0x59d848;_0x61f2b+=_0x582edd)this[_0x1d13e6(0x204)](_0x1d84fd,_0x61f2b);_0x52c43d=_0x1d84fd[_0x1d13e6(0x2a0)](0x0,_0x59d848),_0x18cd81[_0x1d13e6(0x3a5)]-=_0x548e9d;}return new _0x255dd4[(_0x1d13e6(0x21e))](_0x52c43d,_0x548e9d);},'clone':function(){var _0x3c47af=_0x3092a2,_0x518f3b=_0x12542e[_0x3c47af(0x247)][_0x3c47af(0x2cf)](this);return _0x518f3b[_0x3c47af(0x3a1)]=this[_0x3c47af(0x3a1)][_0x3c47af(0x247)](),_0x518f3b;},'_minBufferSize':0x0});_0x3cd8d7[_0x3092a2(0x322)]=_0x1ee914[_0x3092a2(0x3b2)]({'cfg':_0x12542e['extend'](),'init':function(_0x206569){var _0xbc9fbe=_0x3092a2;this[_0xbc9fbe(0x28c)]=this[_0xbc9fbe(0x28c)]['extend'](_0x206569),this[_0xbc9fbe(0x1a5)]();},'reset':function(){_0x1ee914['reset']['call'](this),this['_doReset']();},'update':function(_0x2b2b81){var _0x4bf8df=_0x3092a2;return this['_append'](_0x2b2b81),this[_0x4bf8df(0x2e1)](),this;},'finalize':function(_0x57d00f){var _0x50e2cd=_0x3092a2;_0x57d00f&&this[_0x50e2cd(0x37c)](_0x57d00f);var _0x214459=this[_0x50e2cd(0x218)]();return _0x214459;},'blockSize':0x10,'_createHelper':function(_0x22a5e8){return function(_0x17a843,_0x4d542a){return new _0x22a5e8['init'](_0x4d542a)['finalize'](_0x17a843);};},'_createHmacHelper':function(_0x106e23){return function(_0xdc9b20,_0x55dc16){var _0x5e7048=_0x3279;return new _0x58a559[(_0x5e7048(0x1a4))][(_0x5e7048(0x21e))](_0x106e23,_0x55dc16)['finalize'](_0xdc9b20);};}});var _0x58a559=_0x20c054[_0x3092a2(0x378)]={};return _0x20c054;}(Math);return _0x1d3c7f;}));}(We)),We[_0x220e59(0x290)];}var Ge={'exports':{}},hn=Ge[_0x379364(0x290)],zt;function Ri(){return zt||(zt=0x1,function(_0x19129f,_0x4c56c5){(function(_0x769d3c,_0x1928ff){var _0xd012c6=_0x3279;_0x19129f[_0xd012c6(0x290)]=_0x1928ff(te());}(hn,function(_0x747a7d){var _0x52d012=_0x3279;return(function(){var _0xe06c77=_0x3279,_0x2fd0d2=_0x747a7d,_0x56a14b=_0x2fd0d2[_0xe06c77(0x300)],_0x1ad3b6=_0x56a14b[_0xe06c77(0x3ba)],_0xddab7f=_0x2fd0d2[_0xe06c77(0x328)];_0xddab7f[_0xe06c77(0x304)]={'stringify':function(_0x50a4e1){var _0x4edfd=_0xe06c77,_0x3260fc=_0x50a4e1[_0x4edfd(0x444)],_0x2e77bb=_0x50a4e1[_0x4edfd(0x3a5)],_0x3cab11=this[_0x4edfd(0x43d)];_0x50a4e1[_0x4edfd(0x44b)]();for(var _0x322bc5=[],_0x5f550b=0x0;_0x5f550b<_0x2e77bb;_0x5f550b+=0x3)for(var _0x8574f6=_0x3260fc[_0x5f550b>>>0x2]>>>0x18-_0x5f550b%0x4*0x8&0xff,_0x26fbf9=_0x3260fc[_0x5f550b+0x1>>>0x2]>>>0x18-(_0x5f550b+0x1)%0x4*0x8&0xff,_0x5ed445=_0x3260fc[_0x5f550b+0x2>>>0x2]>>>0x18-(_0x5f550b+0x2)%0x4*0x8&0xff,_0x12c5f1=_0x8574f6<<0x10|_0x26fbf9<<0x8|_0x5ed445,_0x1cb5b8=0x0;_0x1cb5b8<0x4&&_0x5f550b+_0x1cb5b8*0.75<_0x2e77bb;_0x1cb5b8++)_0x322bc5['push'](_0x3cab11['charAt'](_0x12c5f1>>>0x6*(0x3-_0x1cb5b8)&0x3f));var _0x4cc1b3=_0x3cab11['charAt'](0x40);if(_0x4cc1b3){for(;_0x322bc5['length']%0x4;)_0x322bc5[_0x4edfd(0x364)](_0x4cc1b3);}return _0x322bc5[_0x4edfd(0x22f)]('');},'parse':function(_0x41da05){var _0x19266c=_0xe06c77,_0x77afc4=_0x41da05[_0x19266c(0x1ef)],_0x1e1f7c=this[_0x19266c(0x43d)],_0x30e254=this[_0x19266c(0x361)];if(!_0x30e254){_0x30e254=this[_0x19266c(0x361)]=[];for(var _0x2d7a60=0x0;_0x2d7a60<_0x1e1f7c[_0x19266c(0x1ef)];_0x2d7a60++)_0x30e254[_0x1e1f7c[_0x19266c(0x208)](_0x2d7a60)]=_0x2d7a60;}var _0x3d6fbf=_0x1e1f7c[_0x19266c(0x19f)](0x40);if(_0x3d6fbf){var _0xdeaf9f=_0x41da05[_0x19266c(0x163)](_0x3d6fbf);_0xdeaf9f!==-0x1&&(_0x77afc4=_0xdeaf9f);}return _0x43564f(_0x41da05,_0x77afc4,_0x30e254);},'_map':_0xe06c77(0x1d3)};function _0x43564f(_0x5558e9,_0x20952a,_0x46f243){var _0x197db6=_0xe06c77;for(var _0x3b7de0=[],_0x2ab147=0x0,_0x1ce337=0x0;_0x1ce337<_0x20952a;_0x1ce337++)if(_0x1ce337%0x4){var _0x2023b7=_0x46f243[_0x5558e9[_0x197db6(0x208)](_0x1ce337-0x1)]<<_0x1ce337%0x4*0x2,_0x1a7547=_0x46f243[_0x5558e9['charCodeAt'](_0x1ce337)]>>>0x6-_0x1ce337%0x4*0x2,_0x54b4b7=_0x2023b7|_0x1a7547;_0x3b7de0[_0x2ab147>>>0x2]|=_0x54b4b7<<0x18-_0x2ab147%0x4*0x8,_0x2ab147++;}return _0x1ad3b6[_0x197db6(0x400)](_0x3b7de0,_0x2ab147);}}()),_0x747a7d['enc'][_0x52d012(0x304)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x379364(0x290)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x4f6e66,_0x5c85c3){(function(_0x5383fc,_0x2bc80b){_0x4f6e66['exports']=_0x2bc80b(te());}(_n,function(_0x4efaff){return function(_0x287f60){var _0x1ff344=_0x3279,_0x7504f6=_0x4efaff,_0x562332=_0x7504f6['lib'],_0x5410e0=_0x562332['WordArray'],_0x304005=_0x562332[_0x1ff344(0x322)],_0x1d8787=_0x7504f6[_0x1ff344(0x378)],_0x54bb5b=[];(function(){var _0x4a6a76=_0x1ff344;for(var _0x548fe9=0x0;_0x548fe9<0x40;_0x548fe9++)_0x54bb5b[_0x548fe9]=_0x287f60[_0x4a6a76(0x3b4)](_0x287f60[_0x4a6a76(0x1a3)](_0x548fe9+0x1))*0x100000000|0x0;}());var _0x31b725=_0x1d8787[_0x1ff344(0x272)]=_0x304005['extend']({'_doReset':function(){var _0x12c063=_0x1ff344;this[_0x12c063(0x340)]=new _0x5410e0[(_0x12c063(0x21e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2dbb3d,_0x30c5f8){var _0x4713e1=_0x1ff344;for(var _0x4232af=0x0;_0x4232af<0x10;_0x4232af++){var _0x1d9c73=_0x30c5f8+_0x4232af,_0x5b583f=_0x2dbb3d[_0x1d9c73];_0x2dbb3d[_0x1d9c73]=(_0x5b583f<<0x8|_0x5b583f>>>0x18)&0xff00ff|(_0x5b583f<<0x18|_0x5b583f>>>0x8)&0xff00ff00;}var _0x2ffa0d=this[_0x4713e1(0x340)][_0x4713e1(0x444)],_0x18a2d5=_0x2dbb3d[_0x30c5f8+0x0],_0x315a26=_0x2dbb3d[_0x30c5f8+0x1],_0x56520c=_0x2dbb3d[_0x30c5f8+0x2],_0x7d49a5=_0x2dbb3d[_0x30c5f8+0x3],_0x44ca42=_0x2dbb3d[_0x30c5f8+0x4],_0x27bed7=_0x2dbb3d[_0x30c5f8+0x5],_0x46c5e2=_0x2dbb3d[_0x30c5f8+0x6],_0x4085c4=_0x2dbb3d[_0x30c5f8+0x7],_0x28f53f=_0x2dbb3d[_0x30c5f8+0x8],_0x572ec6=_0x2dbb3d[_0x30c5f8+0x9],_0x4eb9b4=_0x2dbb3d[_0x30c5f8+0xa],_0x45d61b=_0x2dbb3d[_0x30c5f8+0xb],_0x5a7ea4=_0x2dbb3d[_0x30c5f8+0xc],_0xcd0cb3=_0x2dbb3d[_0x30c5f8+0xd],_0x3de871=_0x2dbb3d[_0x30c5f8+0xe],_0x44a093=_0x2dbb3d[_0x30c5f8+0xf],_0x524ae1=_0x2ffa0d[0x0],_0x4cdd16=_0x2ffa0d[0x1],_0x5e6645=_0x2ffa0d[0x2],_0x16940e=_0x2ffa0d[0x3];_0x524ae1=_0x194690(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x18a2d5,0x7,_0x54bb5b[0x0]),_0x16940e=_0x194690(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x315a26,0xc,_0x54bb5b[0x1]),_0x5e6645=_0x194690(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x56520c,0x11,_0x54bb5b[0x2]),_0x4cdd16=_0x194690(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x7d49a5,0x16,_0x54bb5b[0x3]),_0x524ae1=_0x194690(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x44ca42,0x7,_0x54bb5b[0x4]),_0x16940e=_0x194690(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x27bed7,0xc,_0x54bb5b[0x5]),_0x5e6645=_0x194690(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x46c5e2,0x11,_0x54bb5b[0x6]),_0x4cdd16=_0x194690(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x4085c4,0x16,_0x54bb5b[0x7]),_0x524ae1=_0x194690(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x28f53f,0x7,_0x54bb5b[0x8]),_0x16940e=_0x194690(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x572ec6,0xc,_0x54bb5b[0x9]),_0x5e6645=_0x194690(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x4eb9b4,0x11,_0x54bb5b[0xa]),_0x4cdd16=_0x194690(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x45d61b,0x16,_0x54bb5b[0xb]),_0x524ae1=_0x194690(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x5a7ea4,0x7,_0x54bb5b[0xc]),_0x16940e=_0x194690(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0xcd0cb3,0xc,_0x54bb5b[0xd]),_0x5e6645=_0x194690(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x3de871,0x11,_0x54bb5b[0xe]),_0x4cdd16=_0x194690(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x44a093,0x16,_0x54bb5b[0xf]),_0x524ae1=_0x336b87(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x315a26,0x5,_0x54bb5b[0x10]),_0x16940e=_0x336b87(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x46c5e2,0x9,_0x54bb5b[0x11]),_0x5e6645=_0x336b87(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x45d61b,0xe,_0x54bb5b[0x12]),_0x4cdd16=_0x336b87(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x18a2d5,0x14,_0x54bb5b[0x13]),_0x524ae1=_0x336b87(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x27bed7,0x5,_0x54bb5b[0x14]),_0x16940e=_0x336b87(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x4eb9b4,0x9,_0x54bb5b[0x15]),_0x5e6645=_0x336b87(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x44a093,0xe,_0x54bb5b[0x16]),_0x4cdd16=_0x336b87(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x44ca42,0x14,_0x54bb5b[0x17]),_0x524ae1=_0x336b87(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x572ec6,0x5,_0x54bb5b[0x18]),_0x16940e=_0x336b87(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x3de871,0x9,_0x54bb5b[0x19]),_0x5e6645=_0x336b87(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x7d49a5,0xe,_0x54bb5b[0x1a]),_0x4cdd16=_0x336b87(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x28f53f,0x14,_0x54bb5b[0x1b]),_0x524ae1=_0x336b87(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0xcd0cb3,0x5,_0x54bb5b[0x1c]),_0x16940e=_0x336b87(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x56520c,0x9,_0x54bb5b[0x1d]),_0x5e6645=_0x336b87(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x4085c4,0xe,_0x54bb5b[0x1e]),_0x4cdd16=_0x336b87(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x5a7ea4,0x14,_0x54bb5b[0x1f]),_0x524ae1=_0x41c063(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x27bed7,0x4,_0x54bb5b[0x20]),_0x16940e=_0x41c063(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x28f53f,0xb,_0x54bb5b[0x21]),_0x5e6645=_0x41c063(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x45d61b,0x10,_0x54bb5b[0x22]),_0x4cdd16=_0x41c063(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x3de871,0x17,_0x54bb5b[0x23]),_0x524ae1=_0x41c063(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x315a26,0x4,_0x54bb5b[0x24]),_0x16940e=_0x41c063(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x44ca42,0xb,_0x54bb5b[0x25]),_0x5e6645=_0x41c063(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x4085c4,0x10,_0x54bb5b[0x26]),_0x4cdd16=_0x41c063(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x4eb9b4,0x17,_0x54bb5b[0x27]),_0x524ae1=_0x41c063(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0xcd0cb3,0x4,_0x54bb5b[0x28]),_0x16940e=_0x41c063(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x18a2d5,0xb,_0x54bb5b[0x29]),_0x5e6645=_0x41c063(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x7d49a5,0x10,_0x54bb5b[0x2a]),_0x4cdd16=_0x41c063(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x46c5e2,0x17,_0x54bb5b[0x2b]),_0x524ae1=_0x41c063(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x572ec6,0x4,_0x54bb5b[0x2c]),_0x16940e=_0x41c063(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x5a7ea4,0xb,_0x54bb5b[0x2d]),_0x5e6645=_0x41c063(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x44a093,0x10,_0x54bb5b[0x2e]),_0x4cdd16=_0x41c063(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x56520c,0x17,_0x54bb5b[0x2f]),_0x524ae1=_0x54abf7(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x18a2d5,0x6,_0x54bb5b[0x30]),_0x16940e=_0x54abf7(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x4085c4,0xa,_0x54bb5b[0x31]),_0x5e6645=_0x54abf7(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x3de871,0xf,_0x54bb5b[0x32]),_0x4cdd16=_0x54abf7(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x27bed7,0x15,_0x54bb5b[0x33]),_0x524ae1=_0x54abf7(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x5a7ea4,0x6,_0x54bb5b[0x34]),_0x16940e=_0x54abf7(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x7d49a5,0xa,_0x54bb5b[0x35]),_0x5e6645=_0x54abf7(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x4eb9b4,0xf,_0x54bb5b[0x36]),_0x4cdd16=_0x54abf7(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x315a26,0x15,_0x54bb5b[0x37]),_0x524ae1=_0x54abf7(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x28f53f,0x6,_0x54bb5b[0x38]),_0x16940e=_0x54abf7(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x44a093,0xa,_0x54bb5b[0x39]),_0x5e6645=_0x54abf7(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x46c5e2,0xf,_0x54bb5b[0x3a]),_0x4cdd16=_0x54abf7(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0xcd0cb3,0x15,_0x54bb5b[0x3b]),_0x524ae1=_0x54abf7(_0x524ae1,_0x4cdd16,_0x5e6645,_0x16940e,_0x44ca42,0x6,_0x54bb5b[0x3c]),_0x16940e=_0x54abf7(_0x16940e,_0x524ae1,_0x4cdd16,_0x5e6645,_0x45d61b,0xa,_0x54bb5b[0x3d]),_0x5e6645=_0x54abf7(_0x5e6645,_0x16940e,_0x524ae1,_0x4cdd16,_0x56520c,0xf,_0x54bb5b[0x3e]),_0x4cdd16=_0x54abf7(_0x4cdd16,_0x5e6645,_0x16940e,_0x524ae1,_0x572ec6,0x15,_0x54bb5b[0x3f]),_0x2ffa0d[0x0]=_0x2ffa0d[0x0]+_0x524ae1|0x0,_0x2ffa0d[0x1]=_0x2ffa0d[0x1]+_0x4cdd16|0x0,_0x2ffa0d[0x2]=_0x2ffa0d[0x2]+_0x5e6645|0x0,_0x2ffa0d[0x3]=_0x2ffa0d[0x3]+_0x16940e|0x0;},'_doFinalize':function(){var _0x40b604=_0x1ff344,_0x3b898d=this[_0x40b604(0x3a1)],_0x44c4cb=_0x3b898d[_0x40b604(0x444)],_0x59631a=this[_0x40b604(0x187)]*0x8,_0x1646e2=_0x3b898d[_0x40b604(0x3a5)]*0x8;_0x44c4cb[_0x1646e2>>>0x5]|=0x80<<0x18-_0x1646e2%0x20;var _0x18cce7=_0x287f60[_0x40b604(0x347)](_0x59631a/0x100000000),_0x5d4fc9=_0x59631a;_0x44c4cb[(_0x1646e2+0x40>>>0x9<<0x4)+0xf]=(_0x18cce7<<0x8|_0x18cce7>>>0x18)&0xff00ff|(_0x18cce7<<0x18|_0x18cce7>>>0x8)&0xff00ff00,_0x44c4cb[(_0x1646e2+0x40>>>0x9<<0x4)+0xe]=(_0x5d4fc9<<0x8|_0x5d4fc9>>>0x18)&0xff00ff|(_0x5d4fc9<<0x18|_0x5d4fc9>>>0x8)&0xff00ff00,_0x3b898d[_0x40b604(0x3a5)]=(_0x44c4cb['length']+0x1)*0x4,this[_0x40b604(0x2e1)]();for(var _0x7182af=this[_0x40b604(0x340)],_0x33406e=_0x7182af[_0x40b604(0x444)],_0x273000=0x0;_0x273000<0x4;_0x273000++){var _0x43a5fe=_0x33406e[_0x273000];_0x33406e[_0x273000]=(_0x43a5fe<<0x8|_0x43a5fe>>>0x18)&0xff00ff|(_0x43a5fe<<0x18|_0x43a5fe>>>0x8)&0xff00ff00;}return _0x7182af;},'clone':function(){var _0x5035e5=_0x1ff344,_0x4658b9=_0x304005[_0x5035e5(0x247)][_0x5035e5(0x2cf)](this);return _0x4658b9[_0x5035e5(0x340)]=this[_0x5035e5(0x340)][_0x5035e5(0x247)](),_0x4658b9;}});function _0x194690(_0x1bb8eb,_0x4ea8f7,_0x52333c,_0x4cc48d,_0x20c7ae,_0x4d8043,_0x4314b6){var _0x5edbb3=_0x1bb8eb+(_0x4ea8f7&_0x52333c|~_0x4ea8f7&_0x4cc48d)+_0x20c7ae+_0x4314b6;return(_0x5edbb3<<_0x4d8043|_0x5edbb3>>>0x20-_0x4d8043)+_0x4ea8f7;}function _0x336b87(_0x24c10d,_0x3cf304,_0x356f56,_0x3f31a4,_0x5699d9,_0x3d170e,_0x55544f){var _0x9c563d=_0x24c10d+(_0x3cf304&_0x3f31a4|_0x356f56&~_0x3f31a4)+_0x5699d9+_0x55544f;return(_0x9c563d<<_0x3d170e|_0x9c563d>>>0x20-_0x3d170e)+_0x3cf304;}function _0x41c063(_0x449b22,_0x2b302a,_0x12bc22,_0x296e25,_0x50eabc,_0x32e1fb,_0x2def97){var _0x239c1b=_0x449b22+(_0x2b302a^_0x12bc22^_0x296e25)+_0x50eabc+_0x2def97;return(_0x239c1b<<_0x32e1fb|_0x239c1b>>>0x20-_0x32e1fb)+_0x2b302a;}function _0x54abf7(_0x535e42,_0x2343d0,_0x5106a7,_0x4f6e18,_0x4d92ac,_0x4bc3b9,_0x343c42){var _0x3ba09a=_0x535e42+(_0x5106a7^(_0x2343d0|~_0x4f6e18))+_0x4d92ac+_0x343c42;return(_0x3ba09a<<_0x4bc3b9|_0x3ba09a>>>0x20-_0x4bc3b9)+_0x2343d0;}_0x7504f6[_0x1ff344(0x272)]=_0x304005[_0x1ff344(0x350)](_0x31b725),_0x7504f6['HmacMD5']=_0x304005[_0x1ff344(0x161)](_0x31b725);}(Math),_0x4efaff['MD5'];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x379364(0x290)],Xt;function dn(){var _0x5df52c=_0x379364;return Xt||(Xt=0x1,function(_0x4f07f4,_0x45338e){(function(_0x332aaf,_0xe56d9){var _0x401222=_0x3279;_0x4f07f4[_0x401222(0x290)]=_0xe56d9(te());}(un,function(_0x4c6d3d){var _0x1868a5=_0x3279;return(function(){var _0x31e7d8=_0x3279,_0x53e3ee=_0x4c6d3d,_0xc24913=_0x53e3ee[_0x31e7d8(0x300)],_0xfb5d9d=_0xc24913[_0x31e7d8(0x3ba)],_0x31d971=_0xc24913[_0x31e7d8(0x322)],_0x576a5b=_0x53e3ee[_0x31e7d8(0x378)],_0x2f5e51=[],_0xb64fd4=_0x576a5b[_0x31e7d8(0x3b0)]=_0x31d971[_0x31e7d8(0x3b2)]({'_doReset':function(){var _0x2855ac=_0x31e7d8;this['_hash']=new _0xfb5d9d[(_0x2855ac(0x21e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0xa2b5a2,_0x144b62){var _0x413e2f=_0x31e7d8;for(var _0x24b7b5=this[_0x413e2f(0x340)][_0x413e2f(0x444)],_0x127d97=_0x24b7b5[0x0],_0x520c5b=_0x24b7b5[0x1],_0x25867f=_0x24b7b5[0x2],_0x174248=_0x24b7b5[0x3],_0x1b07fa=_0x24b7b5[0x4],_0x40d6f8=0x0;_0x40d6f8<0x50;_0x40d6f8++){if(_0x40d6f8<0x10)_0x2f5e51[_0x40d6f8]=_0xa2b5a2[_0x144b62+_0x40d6f8]|0x0;else{var _0x3ee97a=_0x2f5e51[_0x40d6f8-0x3]^_0x2f5e51[_0x40d6f8-0x8]^_0x2f5e51[_0x40d6f8-0xe]^_0x2f5e51[_0x40d6f8-0x10];_0x2f5e51[_0x40d6f8]=_0x3ee97a<<0x1|_0x3ee97a>>>0x1f;}var _0x58940b=(_0x127d97<<0x5|_0x127d97>>>0x1b)+_0x1b07fa+_0x2f5e51[_0x40d6f8];_0x40d6f8<0x14?_0x58940b+=(_0x520c5b&_0x25867f|~_0x520c5b&_0x174248)+0x5a827999:_0x40d6f8<0x28?_0x58940b+=(_0x520c5b^_0x25867f^_0x174248)+0x6ed9eba1:_0x40d6f8<0x3c?_0x58940b+=(_0x520c5b&_0x25867f|_0x520c5b&_0x174248|_0x25867f&_0x174248)-0x70e44324:_0x58940b+=(_0x520c5b^_0x25867f^_0x174248)-0x359d3e2a,_0x1b07fa=_0x174248,_0x174248=_0x25867f,_0x25867f=_0x520c5b<<0x1e|_0x520c5b>>>0x2,_0x520c5b=_0x127d97,_0x127d97=_0x58940b;}_0x24b7b5[0x0]=_0x24b7b5[0x0]+_0x127d97|0x0,_0x24b7b5[0x1]=_0x24b7b5[0x1]+_0x520c5b|0x0,_0x24b7b5[0x2]=_0x24b7b5[0x2]+_0x25867f|0x0,_0x24b7b5[0x3]=_0x24b7b5[0x3]+_0x174248|0x0,_0x24b7b5[0x4]=_0x24b7b5[0x4]+_0x1b07fa|0x0;},'_doFinalize':function(){var _0x17beaa=_0x31e7d8,_0x30e6fd=this[_0x17beaa(0x3a1)],_0x423eef=_0x30e6fd[_0x17beaa(0x444)],_0x47c4b2=this[_0x17beaa(0x187)]*0x8,_0xaac815=_0x30e6fd[_0x17beaa(0x3a5)]*0x8;return _0x423eef[_0xaac815>>>0x5]|=0x80<<0x18-_0xaac815%0x20,_0x423eef[(_0xaac815+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x47c4b2/0x100000000),_0x423eef[(_0xaac815+0x40>>>0x9<<0x4)+0xf]=_0x47c4b2,_0x30e6fd['sigBytes']=_0x423eef[_0x17beaa(0x1ef)]*0x4,this['_process'](),this[_0x17beaa(0x340)];},'clone':function(){var _0x19b188=_0x31e7d8,_0x3a6f18=_0x31d971[_0x19b188(0x247)][_0x19b188(0x2cf)](this);return _0x3a6f18[_0x19b188(0x340)]=this['_hash'][_0x19b188(0x247)](),_0x3a6f18;}});_0x53e3ee[_0x31e7d8(0x3b0)]=_0x31d971[_0x31e7d8(0x350)](_0xb64fd4),_0x53e3ee[_0x31e7d8(0x1ec)]=_0x31d971['_createHmacHelper'](_0xb64fd4);}()),_0x4c6d3d[_0x1868a5(0x3b0)];}));}(qe)),qe[_0x5df52c(0x290)];}var ze={'exports':{}},fn=ze[_0x379364(0x290)],Zt;function vn(){var _0x2d72e5=_0x379364;return Zt||(Zt=0x1,function(_0x131136,_0x36cca9){(function(_0x1f54ce,_0x2752b2){var _0x28d645=_0x3279;_0x131136[_0x28d645(0x290)]=_0x2752b2(te());}(fn,function(_0x4ec841){(function(){var _0x314e23=_0x3279,_0x10d77c=_0x4ec841,_0x360934=_0x10d77c[_0x314e23(0x300)],_0x5ccd34=_0x360934[_0x314e23(0x1fd)],_0x40c345=_0x10d77c[_0x314e23(0x328)],_0x2e53f4=_0x40c345['Utf8'],_0x221712=_0x10d77c['algo'];_0x221712[_0x314e23(0x1a4)]=_0x5ccd34[_0x314e23(0x3b2)]({'init':function(_0x4c91a0,_0x2b0e3e){var _0x432a1b=_0x314e23;_0x4c91a0=this[_0x432a1b(0x374)]=new _0x4c91a0[(_0x432a1b(0x21e))](),typeof _0x2b0e3e==_0x432a1b(0x3c4)&&(_0x2b0e3e=_0x2e53f4[_0x432a1b(0x3e1)](_0x2b0e3e));var _0x4cb673=_0x4c91a0[_0x432a1b(0x206)],_0x3c298c=_0x4cb673*0x4;_0x2b0e3e['sigBytes']>_0x3c298c&&(_0x2b0e3e=_0x4c91a0[_0x432a1b(0x31e)](_0x2b0e3e)),_0x2b0e3e[_0x432a1b(0x44b)]();for(var _0x712c2b=this[_0x432a1b(0x28d)]=_0x2b0e3e['clone'](),_0x53c9ed=this['_iKey']=_0x2b0e3e[_0x432a1b(0x247)](),_0x3d0bd7=_0x712c2b[_0x432a1b(0x444)],_0x280dd2=_0x53c9ed[_0x432a1b(0x444)],_0x1d3e40=0x0;_0x1d3e40<_0x4cb673;_0x1d3e40++)_0x3d0bd7[_0x1d3e40]^=0x5c5c5c5c,_0x280dd2[_0x1d3e40]^=0x36363636;_0x712c2b[_0x432a1b(0x3a5)]=_0x53c9ed[_0x432a1b(0x3a5)]=_0x3c298c,this[_0x432a1b(0x1a5)]();},'reset':function(){var _0x15e683=_0x314e23,_0x5d2859=this[_0x15e683(0x374)];_0x5d2859[_0x15e683(0x1a5)](),_0x5d2859[_0x15e683(0x23a)](this['_iKey']);},'update':function(_0x5d6936){var _0x33bcaf=_0x314e23;return this['_hasher'][_0x33bcaf(0x23a)](_0x5d6936),this;},'finalize':function(_0x43c15f){var _0xf89493=_0x314e23,_0x82c0d6=this[_0xf89493(0x374)],_0x35fca1=_0x82c0d6['finalize'](_0x43c15f);_0x82c0d6[_0xf89493(0x1a5)]();var _0x4d9d7e=_0x82c0d6[_0xf89493(0x31e)](this['_oKey'][_0xf89493(0x247)]()['concat'](_0x35fca1));return _0x4d9d7e;}});}());}));}(ze)),ze[_0x2d72e5(0x290)];}var pn=Ke[_0x379364(0x290)],Qt;function Oi(){var _0x3019a2=_0x379364;return Qt||(Qt=0x1,function(_0x2aaa0d,_0x123e56){(function(_0x23e3f3,_0x1863c9,_0x32dbca){_0x2aaa0d['exports']=_0x1863c9(te(),dn(),vn());}(pn,function(_0x5393ca){var _0x33bc38=_0x3279;return(function(){var _0x47a742=_0x3279,_0x5b6e30=_0x5393ca,_0x4f20d4=_0x5b6e30[_0x47a742(0x300)],_0x3ed22d=_0x4f20d4['Base'],_0x9410c=_0x4f20d4[_0x47a742(0x3ba)],_0xd20d18=_0x5b6e30[_0x47a742(0x378)],_0xae2312=_0xd20d18[_0x47a742(0x272)],_0x5ebdc3=_0xd20d18[_0x47a742(0x330)]=_0x3ed22d['extend']({'cfg':_0x3ed22d['extend']({'keySize':0x80/0x20,'hasher':_0xae2312,'iterations':0x1}),'init':function(_0x38d3cf){var _0x50f24b=_0x47a742;this[_0x50f24b(0x28c)]=this['cfg']['extend'](_0x38d3cf);},'compute':function(_0x1f0216,_0x3804db){var _0x49ed25=_0x47a742;for(var _0x4dca05,_0x50571f=this[_0x49ed25(0x28c)],_0x144d25=_0x50571f[_0x49ed25(0x2ab)][_0x49ed25(0x400)](),_0x57e09f=_0x9410c[_0x49ed25(0x400)](),_0x46bd5a=_0x57e09f['words'],_0xb92464=_0x50571f[_0x49ed25(0x1dc)],_0x58112e=_0x50571f[_0x49ed25(0x286)];_0x46bd5a[_0x49ed25(0x1ef)]<_0xb92464;){_0x4dca05&&_0x144d25[_0x49ed25(0x23a)](_0x4dca05),_0x4dca05=_0x144d25[_0x49ed25(0x23a)](_0x1f0216)[_0x49ed25(0x31e)](_0x3804db),_0x144d25[_0x49ed25(0x1a5)]();for(var _0x591c2f=0x1;_0x591c2f<_0x58112e;_0x591c2f++)_0x4dca05=_0x144d25['finalize'](_0x4dca05),_0x144d25[_0x49ed25(0x1a5)]();_0x57e09f[_0x49ed25(0x221)](_0x4dca05);}return _0x57e09f[_0x49ed25(0x3a5)]=_0xb92464*0x4,_0x57e09f;}});_0x5b6e30[_0x47a742(0x330)]=function(_0x59231d,_0x27268a,_0x564802){var _0x9112c4=_0x47a742;return _0x5ebdc3['create'](_0x564802)[_0x9112c4(0x44c)](_0x59231d,_0x27268a);};}()),_0x5393ca[_0x33bc38(0x330)];}));}(Ke)),Ke[_0x3019a2(0x290)];}var Je={'exports':{}},mn=Je[_0x379364(0x290)],ei;function bi(){var _0x537ffd=_0x379364;return ei||(ei=0x1,function(_0x2ede08,_0x7dec35){(function(_0x4b054f,_0x4fd3b2,_0x2b9829){var _0xb39a1b=_0x3279;_0x2ede08[_0xb39a1b(0x290)]=_0x4fd3b2(te(),Oi());}(mn,function(_0x35af10){_0x35af10['lib']['Cipher']||function(_0x57185e){var _0x3f77c7=_0x3279,_0x4a2bf9=_0x35af10,_0x1112d7=_0x4a2bf9['lib'],_0x109ba5=_0x1112d7[_0x3f77c7(0x1fd)],_0x1b9a58=_0x1112d7[_0x3f77c7(0x3ba)],_0x39b007=_0x1112d7[_0x3f77c7(0x28f)],_0xc1f297=_0x4a2bf9[_0x3f77c7(0x328)];_0xc1f297[_0x3f77c7(0x414)];var _0xdf060d=_0xc1f297['Base64'],_0x5c0c77=_0x4a2bf9['algo'],_0x59428e=_0x5c0c77[_0x3f77c7(0x330)],_0x290048=_0x1112d7[_0x3f77c7(0x3fd)]=_0x39b007[_0x3f77c7(0x3b2)]({'cfg':_0x109ba5[_0x3f77c7(0x3b2)](),'createEncryptor':function(_0x4257ab,_0x455bea){var _0x1099d5=_0x3f77c7;return this[_0x1099d5(0x400)](this[_0x1099d5(0x31f)],_0x4257ab,_0x455bea);},'createDecryptor':function(_0x1afabc,_0x399c49){var _0x50c59b=_0x3f77c7;return this[_0x50c59b(0x400)](this[_0x50c59b(0x21b)],_0x1afabc,_0x399c49);},'init':function(_0x2db8d1,_0x40fd72,_0x18c94d){var _0x30f2df=_0x3f77c7;this['cfg']=this['cfg'][_0x30f2df(0x3b2)](_0x18c94d),this[_0x30f2df(0x2f0)]=_0x2db8d1,this[_0x30f2df(0x390)]=_0x40fd72,this['reset']();},'reset':function(){var _0x43e99d=_0x3f77c7;_0x39b007['reset'][_0x43e99d(0x2cf)](this),this['_doReset']();},'process':function(_0x18b0e8){var _0x1e8f55=_0x3f77c7;return this[_0x1e8f55(0x37c)](_0x18b0e8),this['_process']();},'finalize':function(_0x48e005){var _0x25a8df=_0x3f77c7;_0x48e005&&this[_0x25a8df(0x37c)](_0x48e005);var _0x4dd7dc=this[_0x25a8df(0x218)]();return _0x4dd7dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2994e6(_0x3655e4){return typeof _0x3655e4=='string'?_0x35f5b6:_0x432668;}return function(_0x4fb1c5){return{'encrypt':function(_0x33388c,_0x24ded8,_0x276152){var _0x5c58e5=_0x3279;return _0x2994e6(_0x24ded8)[_0x5c58e5(0x3bf)](_0x4fb1c5,_0x33388c,_0x24ded8,_0x276152);},'decrypt':function(_0x52f375,_0x2e76bb,_0x15853e){var _0x2108af=_0x3279;return _0x2994e6(_0x2e76bb)[_0x2108af(0x39e)](_0x4fb1c5,_0x52f375,_0x2e76bb,_0x15853e);}};};}())});_0x1112d7[_0x3f77c7(0x441)]=_0x290048['extend']({'_doFinalize':function(){var _0x5edbd7=_0x3f77c7,_0x30c861=this[_0x5edbd7(0x2e1)](!0x0);return _0x30c861;},'blockSize':0x1});var _0x30067d=_0x4a2bf9[_0x3f77c7(0x16a)]={},_0x482deb=_0x1112d7[_0x3f77c7(0x3f2)]=_0x109ba5[_0x3f77c7(0x3b2)]({'createEncryptor':function(_0x237674,_0x571a3b){var _0x355899=_0x3f77c7;return this[_0x355899(0x29b)][_0x355899(0x400)](_0x237674,_0x571a3b);},'createDecryptor':function(_0xb0d719,_0x507a97){var _0x5613ee=_0x3f77c7;return this[_0x5613ee(0x1fb)][_0x5613ee(0x400)](_0xb0d719,_0x507a97);},'init':function(_0x32609b,_0x462f25){var _0x4b4c2f=_0x3f77c7;this[_0x4b4c2f(0x386)]=_0x32609b,this[_0x4b4c2f(0x2bd)]=_0x462f25;}}),_0x29a430=_0x30067d[_0x3f77c7(0x23f)]=(function(){var _0x355262=_0x3f77c7,_0x358a5a=_0x482deb[_0x355262(0x3b2)]();_0x358a5a[_0x355262(0x29b)]=_0x358a5a[_0x355262(0x3b2)]({'processBlock':function(_0x12537b,_0x56d5b0){var _0x9da86c=_0x355262,_0x445924=this[_0x9da86c(0x386)],_0x89020d=_0x445924[_0x9da86c(0x206)];_0x4de27c[_0x9da86c(0x2cf)](this,_0x12537b,_0x56d5b0,_0x89020d),_0x445924[_0x9da86c(0x1d1)](_0x12537b,_0x56d5b0),this[_0x9da86c(0x3c2)]=_0x12537b[_0x9da86c(0x2d9)](_0x56d5b0,_0x56d5b0+_0x89020d);}}),_0x358a5a['Decryptor']=_0x358a5a['extend']({'processBlock':function(_0x807a1d,_0x1b4fe8){var _0x2ef9b0=_0x355262,_0x36da53=this[_0x2ef9b0(0x386)],_0x56cf0c=_0x36da53['blockSize'],_0x417eab=_0x807a1d[_0x2ef9b0(0x2d9)](_0x1b4fe8,_0x1b4fe8+_0x56cf0c);_0x36da53['decryptBlock'](_0x807a1d,_0x1b4fe8),_0x4de27c[_0x2ef9b0(0x2cf)](this,_0x807a1d,_0x1b4fe8,_0x56cf0c),this[_0x2ef9b0(0x3c2)]=_0x417eab;}});function _0x4de27c(_0x242fe8,_0x506f4f,_0x30d202){var _0xd2d628=_0x355262,_0x2f6ec6,_0x2ff81f=this[_0xd2d628(0x2bd)];_0x2ff81f?(_0x2f6ec6=_0x2ff81f,this[_0xd2d628(0x2bd)]=_0x57185e):_0x2f6ec6=this[_0xd2d628(0x3c2)];for(var _0x9a4d79=0x0;_0x9a4d79<_0x30d202;_0x9a4d79++)_0x242fe8[_0x506f4f+_0x9a4d79]^=_0x2f6ec6[_0x9a4d79];}return _0x358a5a;}()),_0x2a6aca=_0x4a2bf9[_0x3f77c7(0x3e2)]={},_0x3dbcea=_0x2a6aca[_0x3f77c7(0x38c)]={'pad':function(_0xa7d1b3,_0x4d506b){var _0x54100d=_0x3f77c7;for(var _0x428603=_0x4d506b*0x4,_0xc137b0=_0x428603-_0xa7d1b3[_0x54100d(0x3a5)]%_0x428603,_0x46d533=_0xc137b0<<0x18|_0xc137b0<<0x10|_0xc137b0<<0x8|_0xc137b0,_0x1a626a=[],_0x342213=0x0;_0x342213<_0xc137b0;_0x342213+=0x4)_0x1a626a['push'](_0x46d533);var _0x2cefac=_0x1b9a58[_0x54100d(0x400)](_0x1a626a,_0xc137b0);_0xa7d1b3['concat'](_0x2cefac);},'unpad':function(_0x253239){var _0x425b89=_0x3f77c7,_0xc68c63=_0x253239[_0x425b89(0x444)][_0x253239[_0x425b89(0x3a5)]-0x1>>>0x2]&0xff;_0x253239[_0x425b89(0x3a5)]-=_0xc68c63;}};_0x1112d7[_0x3f77c7(0x23d)]=_0x290048[_0x3f77c7(0x3b2)]({'cfg':_0x290048[_0x3f77c7(0x28c)]['extend']({'mode':_0x29a430,'padding':_0x3dbcea}),'reset':function(){var _0x3edf2b=_0x3f77c7,_0x429b3b;_0x290048[_0x3edf2b(0x1a5)][_0x3edf2b(0x2cf)](this);var _0x5b312d=this['cfg'],_0x518388=_0x5b312d['iv'],_0x3bc8c5=_0x5b312d['mode'];this[_0x3edf2b(0x2f0)]==this[_0x3edf2b(0x31f)]?_0x429b3b=_0x3bc8c5[_0x3edf2b(0x176)]:(_0x429b3b=_0x3bc8c5['createDecryptor'],this[_0x3edf2b(0x16f)]=0x1),this[_0x3edf2b(0x1de)]&&this[_0x3edf2b(0x1de)][_0x3edf2b(0x2a8)]==_0x429b3b?this[_0x3edf2b(0x1de)][_0x3edf2b(0x21e)](this,_0x518388&&_0x518388['words']):(this['_mode']=_0x429b3b[_0x3edf2b(0x2cf)](_0x3bc8c5,this,_0x518388&&_0x518388[_0x3edf2b(0x444)]),this[_0x3edf2b(0x1de)][_0x3edf2b(0x2a8)]=_0x429b3b);},'_doProcessBlock':function(_0x3d21a5,_0x1e6286){var _0x49ffb1=_0x3f77c7;this[_0x49ffb1(0x1de)]['processBlock'](_0x3d21a5,_0x1e6286);},'_doFinalize':function(){var _0x4563b6=_0x3f77c7,_0x5d2ef4,_0x453fe7=this[_0x4563b6(0x28c)]['padding'];return this[_0x4563b6(0x2f0)]==this[_0x4563b6(0x31f)]?(_0x453fe7[_0x4563b6(0x3e2)](this['_data'],this['blockSize']),_0x5d2ef4=this[_0x4563b6(0x2e1)](!0x0)):(_0x5d2ef4=this[_0x4563b6(0x2e1)](!0x0),_0x453fe7[_0x4563b6(0x2e7)](_0x5d2ef4)),_0x5d2ef4;},'blockSize':0x80/0x20});var _0x3365fa=_0x1112d7[_0x3f77c7(0x3f7)]=_0x109ba5[_0x3f77c7(0x3b2)]({'init':function(_0x1e9886){this['mixIn'](_0x1e9886);},'toString':function(_0x55800f){var _0x2fbcfa=_0x3f77c7;return(_0x55800f||this[_0x2fbcfa(0x14b)])['stringify'](this);}}),_0x4d1581=_0x4a2bf9[_0x3f77c7(0x447)]={},_0x59e6cb=_0x4d1581[_0x3f77c7(0x449)]={'stringify':function(_0x485a7e){var _0x1d930d=_0x3f77c7,_0x222f7e,_0x4b14d5=_0x485a7e['ciphertext'],_0x3bbc7b=_0x485a7e['salt'];return _0x3bbc7b?_0x222f7e=_0x1b9a58[_0x1d930d(0x400)]([0x53616c74,0x65645f5f])[_0x1d930d(0x221)](_0x3bbc7b)[_0x1d930d(0x221)](_0x4b14d5):_0x222f7e=_0x4b14d5,_0x222f7e[_0x1d930d(0x1ba)](_0xdf060d);},'parse':function(_0x42b74b){var _0x274af8=_0x3f77c7,_0x4366e5,_0x189024=_0xdf060d[_0x274af8(0x3e1)](_0x42b74b),_0x57bfe6=_0x189024[_0x274af8(0x444)];return _0x57bfe6[0x0]==0x53616c74&&_0x57bfe6[0x1]==0x65645f5f&&(_0x4366e5=_0x1b9a58[_0x274af8(0x400)](_0x57bfe6['slice'](0x2,0x4)),_0x57bfe6['splice'](0x0,0x4),_0x189024[_0x274af8(0x3a5)]-=0x10),_0x3365fa[_0x274af8(0x400)]({'ciphertext':_0x189024,'salt':_0x4366e5});}},_0x432668=_0x1112d7['SerializableCipher']=_0x109ba5[_0x3f77c7(0x3b2)]({'cfg':_0x109ba5['extend']({'format':_0x59e6cb}),'encrypt':function(_0xdfba18,_0x2eef4a,_0x5837b1,_0x1b7be5){var _0x22f202=_0x3f77c7;_0x1b7be5=this['cfg'][_0x22f202(0x3b2)](_0x1b7be5);var _0x57ead7=_0xdfba18['createEncryptor'](_0x5837b1,_0x1b7be5),_0x50271d=_0x57ead7[_0x22f202(0x31e)](_0x2eef4a),_0x487259=_0x57ead7['cfg'];return _0x3365fa[_0x22f202(0x400)]({'ciphertext':_0x50271d,'key':_0x5837b1,'iv':_0x487259['iv'],'algorithm':_0xdfba18,'mode':_0x487259[_0x22f202(0x16a)],'padding':_0x487259[_0x22f202(0x3f0)],'blockSize':_0xdfba18[_0x22f202(0x206)],'formatter':_0x1b7be5[_0x22f202(0x447)]});},'decrypt':function(_0x3f2ac6,_0x334db0,_0x485f9c,_0x3f4137){var _0x3522bb=_0x3f77c7;_0x3f4137=this['cfg'][_0x3522bb(0x3b2)](_0x3f4137),_0x334db0=this['_parse'](_0x334db0,_0x3f4137[_0x3522bb(0x447)]);var _0xb826d=_0x3f2ac6['createDecryptor'](_0x485f9c,_0x3f4137)[_0x3522bb(0x31e)](_0x334db0[_0x3522bb(0x3ce)]);return _0xb826d;},'_parse':function(_0x36028f,_0x4df94a){var _0x498b59=_0x3f77c7;return typeof _0x36028f==_0x498b59(0x3c4)?_0x4df94a['parse'](_0x36028f,this):_0x36028f;}}),_0x2e0a0c=_0x4a2bf9[_0x3f77c7(0x3db)]={},_0x33091e=_0x2e0a0c[_0x3f77c7(0x449)]={'execute':function(_0x4ca01b,_0x119c15,_0x531ae0,_0x50b585,_0x13291a){var _0x473ec7=_0x3f77c7;if(_0x50b585||(_0x50b585=_0x1b9a58[_0x473ec7(0x177)](0x40/0x8)),_0x13291a)var _0xfb7532=_0x59428e[_0x473ec7(0x400)]({'keySize':_0x119c15+_0x531ae0,'hasher':_0x13291a})[_0x473ec7(0x44c)](_0x4ca01b,_0x50b585);else var _0xfb7532=_0x59428e[_0x473ec7(0x400)]({'keySize':_0x119c15+_0x531ae0})['compute'](_0x4ca01b,_0x50b585);var _0x300116=_0x1b9a58[_0x473ec7(0x400)](_0xfb7532['words']['slice'](_0x119c15),_0x531ae0*0x4);return _0xfb7532[_0x473ec7(0x3a5)]=_0x119c15*0x4,_0x3365fa['create']({'key':_0xfb7532,'iv':_0x300116,'salt':_0x50b585});}},_0x35f5b6=_0x1112d7[_0x3f77c7(0x448)]=_0x432668[_0x3f77c7(0x3b2)]({'cfg':_0x432668['cfg']['extend']({'kdf':_0x33091e}),'encrypt':function(_0x2c49d5,_0x2329c1,_0x510908,_0x392ad4){var _0x29259d=_0x3f77c7;_0x392ad4=this[_0x29259d(0x28c)]['extend'](_0x392ad4);var _0x463c20=_0x392ad4[_0x29259d(0x3db)]['execute'](_0x510908,_0x2c49d5[_0x29259d(0x1dc)],_0x2c49d5[_0x29259d(0x3d3)],_0x392ad4[_0x29259d(0x191)],_0x392ad4[_0x29259d(0x2ab)]);_0x392ad4['iv']=_0x463c20['iv'];var _0x2ae19c=_0x432668[_0x29259d(0x3bf)][_0x29259d(0x2cf)](this,_0x2c49d5,_0x2329c1,_0x463c20[_0x29259d(0x2e8)],_0x392ad4);return _0x2ae19c[_0x29259d(0x21f)](_0x463c20),_0x2ae19c;},'decrypt':function(_0x32982a,_0x4af6b8,_0x15ad3c,_0x94c95f){var _0x4f1dcc=_0x3f77c7;_0x94c95f=this[_0x4f1dcc(0x28c)]['extend'](_0x94c95f),_0x4af6b8=this['_parse'](_0x4af6b8,_0x94c95f[_0x4f1dcc(0x447)]);var _0x21559f=_0x94c95f[_0x4f1dcc(0x3db)][_0x4f1dcc(0x223)](_0x15ad3c,_0x32982a['keySize'],_0x32982a[_0x4f1dcc(0x3d3)],_0x4af6b8[_0x4f1dcc(0x191)],_0x94c95f[_0x4f1dcc(0x2ab)]);_0x94c95f['iv']=_0x21559f['iv'];var _0x4fe36b=_0x432668[_0x4f1dcc(0x39e)][_0x4f1dcc(0x2cf)](this,_0x32982a,_0x4af6b8,_0x21559f['key'],_0x94c95f);return _0x4fe36b;}});}();}));}(Je)),Je[_0x537ffd(0x290)];}var gn=Ve[_0x379364(0x290)],ti;function Sn(){var _0x206c68=_0x379364;return ti||(ti=0x1,function(_0x2b29eb,_0x23f8c2){(function(_0x4a9a17,_0x4f1e52,_0x222861){var _0x892f69=_0x3279;_0x2b29eb[_0x892f69(0x290)]=_0x4f1e52(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x20d181){var _0x342391=_0x3279;return(function(){var _0x2c4a78=_0x3279,_0x42f428=_0x20d181,_0x4a0533=_0x42f428[_0x2c4a78(0x300)],_0x19fd05=_0x4a0533['BlockCipher'],_0x75a59d=_0x42f428[_0x2c4a78(0x378)],_0x287867=[],_0x13126c=[],_0x512bd8=[],_0x4a2430=[],_0x182492=[],_0x32d887=[],_0xe3ec37=[],_0x233083=[],_0xa4bba5=[],_0x3b6c13=[];(function(){for(var _0x15bf3c=[],_0x11967a=0x0;_0x11967a<0x100;_0x11967a++)_0x11967a<0x80?_0x15bf3c[_0x11967a]=_0x11967a<<0x1:_0x15bf3c[_0x11967a]=_0x11967a<<0x1^0x11b;for(var _0x14672d=0x0,_0x1fb1e3=0x0,_0x11967a=0x0;_0x11967a<0x100;_0x11967a++){var _0x467b35=_0x1fb1e3^_0x1fb1e3<<0x1^_0x1fb1e3<<0x2^_0x1fb1e3<<0x3^_0x1fb1e3<<0x4;_0x467b35=_0x467b35>>>0x8^_0x467b35&0xff^0x63,_0x287867[_0x14672d]=_0x467b35,_0x13126c[_0x467b35]=_0x14672d;var _0x555999=_0x15bf3c[_0x14672d],_0x2df607=_0x15bf3c[_0x555999],_0x49ae91=_0x15bf3c[_0x2df607],_0x5e8d61=_0x15bf3c[_0x467b35]*0x101^_0x467b35*0x1010100;_0x512bd8[_0x14672d]=_0x5e8d61<<0x18|_0x5e8d61>>>0x8,_0x4a2430[_0x14672d]=_0x5e8d61<<0x10|_0x5e8d61>>>0x10,_0x182492[_0x14672d]=_0x5e8d61<<0x8|_0x5e8d61>>>0x18,_0x32d887[_0x14672d]=_0x5e8d61;var _0x5e8d61=_0x49ae91*0x1010101^_0x2df607*0x10001^_0x555999*0x101^_0x14672d*0x1010100;_0xe3ec37[_0x467b35]=_0x5e8d61<<0x18|_0x5e8d61>>>0x8,_0x233083[_0x467b35]=_0x5e8d61<<0x10|_0x5e8d61>>>0x10,_0xa4bba5[_0x467b35]=_0x5e8d61<<0x8|_0x5e8d61>>>0x18,_0x3b6c13[_0x467b35]=_0x5e8d61,_0x14672d?(_0x14672d=_0x555999^_0x15bf3c[_0x15bf3c[_0x15bf3c[_0x49ae91^_0x555999]]],_0x1fb1e3^=_0x15bf3c[_0x15bf3c[_0x1fb1e3]]):_0x14672d=_0x1fb1e3=0x1;}}());var _0x824e96=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x413283=_0x75a59d[_0x2c4a78(0x14e)]=_0x19fd05[_0x2c4a78(0x3b2)]({'_doReset':function(){var _0x41fd33=_0x2c4a78,_0x4de7da;if(!(this[_0x41fd33(0x30a)]&&this[_0x41fd33(0x291)]===this[_0x41fd33(0x390)])){for(var _0x14a67c=this[_0x41fd33(0x291)]=this[_0x41fd33(0x390)],_0x4bf2bf=_0x14a67c[_0x41fd33(0x444)],_0x3f0079=_0x14a67c['sigBytes']/0x4,_0x4062ab=this['_nRounds']=_0x3f0079+0x6,_0x5ba77b=(_0x4062ab+0x1)*0x4,_0x26a2c6=this[_0x41fd33(0x406)]=[],_0x312a36=0x0;_0x312a36<_0x5ba77b;_0x312a36++)_0x312a36<_0x3f0079?_0x26a2c6[_0x312a36]=_0x4bf2bf[_0x312a36]:(_0x4de7da=_0x26a2c6[_0x312a36-0x1],_0x312a36%_0x3f0079?_0x3f0079>0x6&&_0x312a36%_0x3f0079==0x4&&(_0x4de7da=_0x287867[_0x4de7da>>>0x18]<<0x18|_0x287867[_0x4de7da>>>0x10&0xff]<<0x10|_0x287867[_0x4de7da>>>0x8&0xff]<<0x8|_0x287867[_0x4de7da&0xff]):(_0x4de7da=_0x4de7da<<0x8|_0x4de7da>>>0x18,_0x4de7da=_0x287867[_0x4de7da>>>0x18]<<0x18|_0x287867[_0x4de7da>>>0x10&0xff]<<0x10|_0x287867[_0x4de7da>>>0x8&0xff]<<0x8|_0x287867[_0x4de7da&0xff],_0x4de7da^=_0x824e96[_0x312a36/_0x3f0079|0x0]<<0x18),_0x26a2c6[_0x312a36]=_0x26a2c6[_0x312a36-_0x3f0079]^_0x4de7da);for(var _0x35c2f8=this[_0x41fd33(0x1f8)]=[],_0x54013a=0x0;_0x54013a<_0x5ba77b;_0x54013a++){var _0x312a36=_0x5ba77b-_0x54013a;if(_0x54013a%0x4)var _0x4de7da=_0x26a2c6[_0x312a36];else var _0x4de7da=_0x26a2c6[_0x312a36-0x4];_0x54013a<0x4||_0x312a36<=0x4?_0x35c2f8[_0x54013a]=_0x4de7da:_0x35c2f8[_0x54013a]=_0xe3ec37[_0x287867[_0x4de7da>>>0x18]]^_0x233083[_0x287867[_0x4de7da>>>0x10&0xff]]^_0xa4bba5[_0x287867[_0x4de7da>>>0x8&0xff]]^_0x3b6c13[_0x287867[_0x4de7da&0xff]];}}},'encryptBlock':function(_0xf0717f,_0x1ea880){var _0x1d70d8=_0x2c4a78;this[_0x1d70d8(0x26c)](_0xf0717f,_0x1ea880,this[_0x1d70d8(0x406)],_0x512bd8,_0x4a2430,_0x182492,_0x32d887,_0x287867);},'decryptBlock':function(_0x275685,_0x54d601){var _0x4507a4=_0x2c4a78,_0x3ec051=_0x275685[_0x54d601+0x1];_0x275685[_0x54d601+0x1]=_0x275685[_0x54d601+0x3],_0x275685[_0x54d601+0x3]=_0x3ec051,this[_0x4507a4(0x26c)](_0x275685,_0x54d601,this[_0x4507a4(0x1f8)],_0xe3ec37,_0x233083,_0xa4bba5,_0x3b6c13,_0x13126c);var _0x3ec051=_0x275685[_0x54d601+0x1];_0x275685[_0x54d601+0x1]=_0x275685[_0x54d601+0x3],_0x275685[_0x54d601+0x3]=_0x3ec051;},'_doCryptBlock':function(_0x5eae7d,_0x5a01fd,_0x207e17,_0x80d475,_0x297b08,_0x3fe431,_0x459bb9,_0x1d97ad){for(var _0x535fd7=this['_nRounds'],_0x6ca6be=_0x5eae7d[_0x5a01fd]^_0x207e17[0x0],_0x3e9d33=_0x5eae7d[_0x5a01fd+0x1]^_0x207e17[0x1],_0x34608b=_0x5eae7d[_0x5a01fd+0x2]^_0x207e17[0x2],_0x3e8231=_0x5eae7d[_0x5a01fd+0x3]^_0x207e17[0x3],_0x2b10aa=0x4,_0x395398=0x1;_0x395398<_0x535fd7;_0x395398++){var _0x3a7f57=_0x80d475[_0x6ca6be>>>0x18]^_0x297b08[_0x3e9d33>>>0x10&0xff]^_0x3fe431[_0x34608b>>>0x8&0xff]^_0x459bb9[_0x3e8231&0xff]^_0x207e17[_0x2b10aa++],_0x1c4404=_0x80d475[_0x3e9d33>>>0x18]^_0x297b08[_0x34608b>>>0x10&0xff]^_0x3fe431[_0x3e8231>>>0x8&0xff]^_0x459bb9[_0x6ca6be&0xff]^_0x207e17[_0x2b10aa++],_0x501de0=_0x80d475[_0x34608b>>>0x18]^_0x297b08[_0x3e8231>>>0x10&0xff]^_0x3fe431[_0x6ca6be>>>0x8&0xff]^_0x459bb9[_0x3e9d33&0xff]^_0x207e17[_0x2b10aa++],_0x35a1fb=_0x80d475[_0x3e8231>>>0x18]^_0x297b08[_0x6ca6be>>>0x10&0xff]^_0x3fe431[_0x3e9d33>>>0x8&0xff]^_0x459bb9[_0x34608b&0xff]^_0x207e17[_0x2b10aa++];_0x6ca6be=_0x3a7f57,_0x3e9d33=_0x1c4404,_0x34608b=_0x501de0,_0x3e8231=_0x35a1fb;}var _0x3a7f57=(_0x1d97ad[_0x6ca6be>>>0x18]<<0x18|_0x1d97ad[_0x3e9d33>>>0x10&0xff]<<0x10|_0x1d97ad[_0x34608b>>>0x8&0xff]<<0x8|_0x1d97ad[_0x3e8231&0xff])^_0x207e17[_0x2b10aa++],_0x1c4404=(_0x1d97ad[_0x3e9d33>>>0x18]<<0x18|_0x1d97ad[_0x34608b>>>0x10&0xff]<<0x10|_0x1d97ad[_0x3e8231>>>0x8&0xff]<<0x8|_0x1d97ad[_0x6ca6be&0xff])^_0x207e17[_0x2b10aa++],_0x501de0=(_0x1d97ad[_0x34608b>>>0x18]<<0x18|_0x1d97ad[_0x3e8231>>>0x10&0xff]<<0x10|_0x1d97ad[_0x6ca6be>>>0x8&0xff]<<0x8|_0x1d97ad[_0x3e9d33&0xff])^_0x207e17[_0x2b10aa++],_0x35a1fb=(_0x1d97ad[_0x3e8231>>>0x18]<<0x18|_0x1d97ad[_0x6ca6be>>>0x10&0xff]<<0x10|_0x1d97ad[_0x3e9d33>>>0x8&0xff]<<0x8|_0x1d97ad[_0x34608b&0xff])^_0x207e17[_0x2b10aa++];_0x5eae7d[_0x5a01fd]=_0x3a7f57,_0x5eae7d[_0x5a01fd+0x1]=_0x1c4404,_0x5eae7d[_0x5a01fd+0x2]=_0x501de0,_0x5eae7d[_0x5a01fd+0x3]=_0x35a1fb;},'keySize':0x100/0x20});_0x42f428[_0x2c4a78(0x14e)]=_0x19fd05[_0x2c4a78(0x350)](_0x413283);}()),_0x20d181[_0x342391(0x14e)];}));}(Ve)),Ve[_0x206c68(0x290)];}var En=Sn();const In=$e(En);var Tn=Ri();const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x379364(0x290)],si;function _0x3279(_0x193a66,_0x3befe){var _0x1cf6bd=_0x1cf6();return _0x3279=function(_0x3279e9,_0x3c4b8d){_0x3279e9=_0x3279e9-0x14b;var _0x2555e8=_0x1cf6bd[_0x3279e9];return _0x2555e8;},_0x3279(_0x193a66,_0x3befe);}function Rn(){return si||(si=0x1,function(_0x3f4192,_0x27f6db){(function(_0x48b5cc,_0x31517d){var _0xda2277=_0x3279;_0x3f4192[_0xda2277(0x290)]=_0x31517d(te());}(Cn,function(_0x51dd16){var _0x11f061=_0x3279;return _0x51dd16[_0x11f061(0x328)][_0x11f061(0x414)];}));}(Xe)),Xe['exports'];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze[_0x379364(0x290)],ni;function Nn(){return ni||(ni=0x1,function(_0x4090d8,_0x3e72fc){(function(_0x5157c7,_0x289a2b){var _0x85f72b=_0x3279;_0x4090d8[_0x85f72b(0x290)]=_0x289a2b(te());}(yn,function(_0x109091){var _0x2fd1a4=_0x3279;return(function(){var _0x47514e=_0x3279;if(typeof ArrayBuffer=='function'){var _0x5a5163=_0x109091,_0x417d8b=_0x5a5163[_0x47514e(0x300)],_0x3e285c=_0x417d8b[_0x47514e(0x3ba)],_0x3a1f09=_0x3e285c[_0x47514e(0x21e)],_0x4dc582=_0x3e285c[_0x47514e(0x21e)]=function(_0x5b8884){var _0x20da0d=_0x47514e;if(_0x5b8884 instanceof ArrayBuffer&&(_0x5b8884=new Uint8Array(_0x5b8884)),(_0x5b8884 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5b8884 instanceof Uint8ClampedArray||_0x5b8884 instanceof Int16Array||_0x5b8884 instanceof Uint16Array||_0x5b8884 instanceof Int32Array||_0x5b8884 instanceof Uint32Array||_0x5b8884 instanceof Float32Array||_0x5b8884 instanceof Float64Array)&&(_0x5b8884=new Uint8Array(_0x5b8884[_0x20da0d(0x2c3)],_0x5b8884['byteOffset'],_0x5b8884['byteLength'])),_0x5b8884 instanceof Uint8Array){for(var _0x3c81a2=_0x5b8884[_0x20da0d(0x18f)],_0x5694c2=[],_0x522fc1=0x0;_0x522fc1<_0x3c81a2;_0x522fc1++)_0x5694c2[_0x522fc1>>>0x2]|=_0x5b8884[_0x522fc1]<<0x18-_0x522fc1%0x4*0x8;_0x3a1f09['call'](this,_0x5694c2,_0x3c81a2);}else _0x3a1f09[_0x20da0d(0x380)](this,arguments);};_0x4dc582[_0x47514e(0x40d)]=_0x3e285c;}}()),_0x109091[_0x2fd1a4(0x300)][_0x2fd1a4(0x3ba)];}));}(Ze)),Ze['exports'];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe['exports'],ri;function wn(){var _0x156359=_0x379364;return ri||(ri=0x1,function(_0x58d235,_0x3e2578){(function(_0x32a2a1,_0x382812,_0x359de0){var _0x2fbc20=_0x3279;_0x58d235[_0x2fbc20(0x290)]=_0x382812(te(),bi());}(An,function(_0x317fdb){var _0x38b5ea=_0x3279;return _0x317fdb[_0x38b5ea(0x3e2)][_0x38b5ea(0x3f3)]={'pad':function(){},'unpad':function(){}},_0x317fdb[_0x38b5ea(0x3e2)][_0x38b5ea(0x3f3)];}));}(Qe)),Qe[_0x156359(0x290)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x4aea9f,_0x4697d5){var _0x55d45e=_0x379364;const _0x4ace43=_0x4697d5-_0x4aea9f['length']%_0x4697d5,_0x374d17=String[_0x55d45e(0x1f3)](_0x4ace43)[_0x55d45e(0x359)](_0x4ace43);return _0x4aea9f+_0x374d17;}function xn(_0x453b8d,_0x4a1ced){var _0x395ca8=_0x379364;const _0x3f5a29=Un['random'](0x10),_0x5dd2f6=Ln(_0x453b8d,0x10),_0x8d8382=In[_0x395ca8(0x3bf)](bn[_0x395ca8(0x3e1)](_0x5dd2f6),ii['parse'](_0x4a1ced),{'iv':_0x3f5a29,'padding':Mn});return _0x3f5a29['concat'](_0x8d8382[_0x395ca8(0x3ce)])[_0x395ca8(0x1ba)](ii);}function kn(){var _0xb9a6dd=_0x379364;const _0x406af3=_0x103cbb()[_0xb9a6dd(0x329)];if(_0x406af3){const _0x915f3={'time':Math[_0xb9a6dd(0x347)](Date['now']()/0x3e8),'domain':location[_0xb9a6dd(0x1a0)]};return xn(JSON[_0xb9a6dd(0x3fa)](_0x915f3),_0x406af3);}}var $n=Object[_0x379364(0x356)],Hn=(_0x8dcfbb,_0x1c8666,_0x36b2d1,_0x4eecc4)=>{for(var _0x259ad4=_0x4eecc4>0x1?void 0x0:_0x4eecc4?$n(_0x1c8666,_0x36b2d1):_0x1c8666,_0x3b652a=_0x8dcfbb['length']-0x1,_0x428196;_0x3b652a>=0x0;_0x3b652a--)(_0x428196=_0x8dcfbb[_0x3b652a])&&(_0x259ad4=_0x428196(_0x259ad4)||_0x259ad4);return _0x259ad4;},Bn=(_0x87979f,_0x3b5f4f)=>(_0x28435c,_0x5b52af)=>_0x3b5f4f(_0x28435c,_0x5b52af,_0x87979f);let at=class{constructor(_0x15aba6){var _0x426d8d=_0x379364;this[_0x426d8d(0x341)]=_0x15aba6,this['_initRequestHeader']();}[_0x379364(0x1c9)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x2b0ccb,_0xbaef2f)=>{var _0x420285=_0x3279;const _0x33c709=_0x2b0ccb[_0x420285(0x219)],_0x24873c=kn();return _0x24873c&&_0x33c709['set'](_0x420285(0x3a9),_0x24873c),_0xbaef2f(_0x2b0ccb);}});}};at=Hn([Bn(0x0,_0x55b050(_0x35b3eb))],at);var jn=Object[_0x379364(0x356)],Fn=(_0xb899df,_0x513cb5,_0x1d4e07,_0x2ed162)=>{for(var _0x4ffdcb=_0x2ed162>0x1?void 0x0:_0x2ed162?jn(_0x513cb5,_0x1d4e07):_0x513cb5,_0x26f76d=_0xb899df['length']-0x1,_0x317507;_0x26f76d>=0x0;_0x26f76d--)(_0x317507=_0xb899df[_0x26f76d])&&(_0x4ffdcb=_0x317507(_0x4ffdcb)||_0x4ffdcb);return _0x4ffdcb;},vt=(_0x3ec563,_0x38a03f)=>(_0x4a0b6b,_0x487f68)=>_0x38a03f(_0x4a0b6b,_0x487f68,_0x3ec563);let Ct=class extends _0x16a750{constructor(_0x3970c7,_0x1904ee,_0x31e9f5){var _0x232eff=_0x379364;super(),N(this,_0x232eff(0x389),new _0x1ec595(null)),N(this,_0x232eff(0x30c),this[_0x232eff(0x389)][_0x232eff(0x455)]()),(this[_0x232eff(0x2a6)]=_0x3970c7,this[_0x232eff(0x17f)]=_0x1904ee,this[_0x232eff(0x24d)]=_0x31e9f5);}async['loadUnitOfRevision'](_0xfcb0df,_0x2618b2,_0x87a26f){var _0x36c4c7=_0x379364;this[_0x36c4c7(0x389)][_0x36c4c7(0x372)]({'unitId':_0xfcb0df,'type':_0x2618b2});let _0x351d89=null;switch(_0x2618b2){case Z[_0x36c4c7(0x321)]:{_0x351d89=await this['_snapshotService']['loadSheet'](_0xfcb0df,_0x87a26f);break;}case Z[_0x36c4c7(0x30f)]:{_0x351d89=await this[_0x36c4c7(0x17f)]['loadDoc'](_0xfcb0df,_0x87a26f);break;}default:{this[_0x36c4c7(0x2a6)][_0x36c4c7(0x3ed)](_0x36c4c7(0x3b9),_0x36c4c7(0x283));break;}}return _0x351d89;}async[_0x379364(0x425)](_0x1274c4,_0x386ef0,_0x22079f){var _0x1b0ad6=_0x379364,_0x2feb90;this[_0x1b0ad6(0x389)][_0x1b0ad6(0x372)]({'unitId':_0x1274c4,'type':_0x386ef0,'subUnitId':_0x22079f});let _0x15f3f3=0x0;const _0xb65e20=await((_0x2feb90=this[_0x1b0ad6(0x24d)])==null?void 0x0:_0x2feb90[_0x1b0ad6(0x369)](_0x1274c4));return _0xb65e20&&(_0xb65e20['awaitingChangeset']||_0xb65e20[_0x1b0ad6(0x2e4)][_0x1b0ad6(0x1ef)]!==0x0)&&(_0x15f3f3=_0xb65e20[_0x1b0ad6(0x27d)]),_0x15f3f3===0x0&&this['_logService'][_0x1b0ad6(0x1c2)](_0x1b0ad6(0x3b9),_0x1b0ad6(0x173)),this['loadUnitOfRevision'](_0x1274c4,_0x386ef0,_0x15f3f3);}};Ct=Fn([vt(0x0,_0xe5be65),vt(0x1,_0x55b050(_0x393e02)),vt(0x2,_0x451ef7(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x21845f,_0x44ff4b,_0x3c2f27,_0x22a7ff)=>{var _0x2d0113=_0x379364;for(var _0x55c27c=_0x22a7ff>0x1?void 0x0:_0x22a7ff?Vn(_0x44ff4b,_0x3c2f27):_0x44ff4b,_0x37b14d=_0x21845f[_0x2d0113(0x1ef)]-0x1,_0x452b86;_0x37b14d>=0x0;_0x37b14d--)(_0x452b86=_0x21845f[_0x37b14d])&&(_0x55c27c=_0x452b86(_0x55c27c)||_0x55c27c);return _0x55c27c;},pt=(_0x1e3c51,_0x327741)=>(_0x4f3c2b,_0x4dc516)=>_0x327741(_0x4f3c2b,_0x4dc516,_0x1e3c51);const Gn=[_0x379364(0x327),_0x379364(0x1f9),_0x379364(0x2dc),_0x379364(0x153),_0x379364(0x402)],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn=_0x379364(0x20c);let Rt=class{constructor(_0x2fe53d,_0x4ecb4f,_0x5872d8){var _0x45af53=_0x379364;N(this,_0x45af53(0x2df),0x0),N(this,_0x45af53(0x349),new _0x4fc9b2()),N(this,_0x45af53(0x16b),this[_0x45af53(0x349)]),N(this,_0x45af53(0x39d),new Map()),(this[_0x45af53(0x341)]=_0x2fe53d,this['_configService']=_0x4ecb4f,this[_0x45af53(0x19b)]=_0x5872d8);}[_0x379364(0x351)](_0x49ae81){var _0x10446b=_0x379364;this[_0x10446b(0x2df)]=_0x49ae81,this[_0x10446b(0x349)][_0x10446b(0x372)](_0x49ae81);}[_0x379364(0x174)](_0x2a17d8,_0x3ae8db){var _0x2a0d10=_0x379364;if(_0x3ae8db===_0x2164d4['BASE64']){const _0x5aea18=new Image();return _0x5aea18[_0x2a0d10(0x20a)]=_0x2a17d8,_0x5aea18;}return this['_imageSourceCache'][_0x2a0d10(0x443)](_0x2a17d8);}['addImageSourceCache'](_0x125353,_0x5a5ac4,_0x10f08b){var _0x1d7233=_0x379364;_0x5a5ac4===_0x2164d4[_0x1d7233(0x1fe)]||_0x10f08b==null||this[_0x1d7233(0x39d)][_0x1d7233(0x201)](_0x125353,_0x10f08b);}async[_0x379364(0x287)](_0x1691b2){var _0x59f2f0=_0x379364;try{const _0x2efb8b=this[_0x59f2f0(0x2f1)](this[_0x59f2f0(0x25a)](),''+_0x1691b2),_0x466b46=(await this[_0x59f2f0(0x341)][_0x59f2f0(0x443)](_0x2efb8b))[_0x59f2f0(0x36f)];if(_0x466b46[_0x59f2f0(0x3ed)]&&_0x466b46['error']['code']===vi['OK']){const _0x2807da=new URL(_0x466b46[_0x59f2f0(0x1b9)],this[_0x59f2f0(0x43a)]())['toString']();return Promise[_0x59f2f0(0x436)](_0x2807da);}return Promise[_0x59f2f0(0x38e)](_0x466b46[_0x59f2f0(0x3ed)]);}catch(_0x54c36f){return Promise[_0x59f2f0(0x38e)](_0x54c36f);}}async[_0x379364(0x2a9)](_0x152d4a){var _0x3483e2=_0x379364;let _0x5099c2='';if(!Gn['includes'](_0x152d4a[_0x3483e2(0x27c)]))return this[_0x3483e2(0x2b0)](),Promise[_0x3483e2(0x38e)](new Error(_0x92cf19[_0x3483e2(0x396)]));if(_0x152d4a['size']>Yn)return this[_0x3483e2(0x2b0)](),Promise['reject'](new Error(_0x92cf19[_0x3483e2(0x246)]));try{const _0x598194=new FormData();_0x598194['append'](_0x3483e2(0x344),_0x152d4a);const _0x282ee4=this[_0x3483e2(0x19b)]['getFocusedUnit'](),_0x4a0c89=_0x282ee4==null?void 0x0:_0x282ee4[_0x3483e2(0x43f)]();if(!_0x4a0c89)throw new Error('unitId\x20is\x20not\x20found');const _0x5ea5a7=this[_0x3483e2(0x220)]()+'?size='+_0x152d4a['size'][_0x3483e2(0x1ba)]()+_0x3483e2(0x401)+pi[_0x3483e2(0x3b3)]+_0x3483e2(0x383)+encodeURIComponent(_0x4a0c89),_0x458285={'body':_0x598194},_0x55c379=(await this[_0x3483e2(0x341)][_0x3483e2(0x422)](_0x5ea5a7,_0x458285))[_0x3483e2(0x36f)];if(typeof _0x55c379['FileId']!=_0x3483e2(0x3c4))return this['_decreaseWaiting'](),Promise[_0x3483e2(0x38e)](new Error(_0x92cf19[_0x3483e2(0x377)]));_0x5099c2=_0x55c379[_0x3483e2(0x25b)];}catch{return this[_0x3483e2(0x2b0)](),Promise[_0x3483e2(0x38e)](new Error(_0x92cf19[_0x3483e2(0x377)]));}return new Promise((_0x4ec489,_0xbe2223)=>{var _0x4dcb71=_0x3483e2;const _0x5de906=new FileReader();_0x5de906[_0x4dcb71(0x426)](_0x152d4a),_0x5de906[_0x4dcb71(0x205)]=_0x17c85d=>{var _0x1672c0=_0x4dcb71,_0x3215b4;const _0x3dd565=(_0x3215b4=_0x17c85d[_0x1672c0(0x152)])==null?void 0x0:_0x3215b4['result'];if(_0x3dd565==null){this[_0x1672c0(0x2b0)](),_0xbe2223(new Error(_0x92cf19[_0x1672c0(0x377)]));return;}const _0x4b877a=_0x243992(0x6);_0x4ec489({'imageId':_0x4b877a,'imageSourceType':_0x2164d4[_0x1672c0(0x2c4)],'source':_0x5099c2,'base64Cache':_0x3dd565,'status':_0x92cf19['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x379364(0x220)](){var _0xc28b95=_0x379364,_0x2f3c87;const _0xed7466=this[_0xc28b95(0x3bb)][_0xc28b95(0x23e)](K);return(_0x2f3c87=_0xed7466==null?void 0x0:_0xed7466[_0xc28b95(0x32b)])!=null?_0x2f3c87:Kn;}['_getSignURL'](){var _0x6e0f85=_0x379364,_0x117751;const _0x137422=this[_0x6e0f85(0x3bb)][_0x6e0f85(0x23e)](K);return(_0x117751=_0x137422==null?void 0x0:_0x137422[_0x6e0f85(0x2ee)])!=null?_0x117751:qn;}[_0x379364(0x43a)](){var _0x5b51f6=_0x379364,_0x49bbdc;const _0x59f62e=this[_0x5b51f6(0x3bb)][_0x5b51f6(0x23e)](K);return(_0x49bbdc=_0x59f62e==null?void 0x0:_0x59f62e[_0x5b51f6(0x1ea)])!=null?_0x49bbdc:location[_0x5b51f6(0x3ca)];}[_0x379364(0x2f1)](_0x50c705,_0x11a5d0){var _0x2bb5c8=_0x379364;return _0x50c705[_0x2bb5c8(0x312)](_0x2bb5c8(0x19a),_0x11a5d0);}[_0x379364(0x2b0)](){var _0x1edef7=_0x379364;this[_0x1edef7(0x2df)]-=0x1,this[_0x1edef7(0x349)][_0x1edef7(0x372)](this[_0x1edef7(0x2df)]);}};Rt=Wn([pt(0x0,_0x55b050(_0x35b3eb)),pt(0x1,_0x313741),pt(0x2,_0x55b050(_0xca033b))],Rt);var zn=Object[_0x379364(0x356)],Jn=(_0x48dbc0,_0x5c0ec3,_0x2e706c,_0x2418fb)=>{var _0x16cfc3=_0x379364;for(var _0x1acb78=_0x2418fb>0x1?void 0x0:_0x2418fb?zn(_0x5c0ec3,_0x2e706c):_0x5c0ec3,_0x13b8b0=_0x48dbc0[_0x16cfc3(0x1ef)]-0x1,_0x315750;_0x13b8b0>=0x0;_0x13b8b0--)(_0x315750=_0x48dbc0[_0x13b8b0])&&(_0x1acb78=_0x315750(_0x1acb78)||_0x1acb78);return _0x1acb78;},ai=(_0x486bb9,_0x4d3fcb)=>(_0x1a7b7e,_0x341891)=>_0x4d3fcb(_0x1a7b7e,_0x341891,_0x486bb9);const Xn=_0x379364(0x244);let Ot=class{constructor(_0x374eef,_0x304f78){var _0x39a58f=_0x379364;this['_configService']=_0x374eef,this[_0x39a58f(0x1f1)]=_0x304f78;}[_0x379364(0x42c)](){var _0x166414=_0x379364,_0x3e2a35;const _0xe5b5f7=this[_0x166414(0x3bb)]['getConfig'](K);return(_0x3e2a35=_0xe5b5f7==null?void 0x0:_0xe5b5f7[_0x166414(0x279)])!=null?_0x3e2a35:Xn;}async[_0x379364(0x395)](_0x1e053e){var _0x96bd3=_0x379364;const _0x439225=this[_0x96bd3(0x42c)]()+'/collaborator';return{'list':[{'title':_0x96bd3(0x3e7),'mentions':(await this[_0x96bd3(0x1f1)][_0x96bd3(0x443)](_0x439225,{'params':{'objectID':_0x1e053e['unitId'],'unitID':_0x1e053e[_0x96bd3(0x298)]}}))[_0x96bd3(0x36f)][_0x96bd3(0x1d5)]['map'](_0x30bd01=>({'objectId':_0x30bd01['id'],'name':_0x30bd01[_0x96bd3(0x162)][_0x96bd3(0x3c3)],'metadata':{'icon':_0x30bd01[_0x96bd3(0x162)][_0x96bd3(0x429)]},'label':_0x30bd01['subject'][_0x96bd3(0x3c3)],'objectType':_0x4157a5[_0x96bd3(0x17c)]})),'metadata':{},'type':_0x4157a5[_0x96bd3(0x17c)]}]};}};Ot=Jn([ai(0x0,_0x55b050(_0x313741)),ai(0x1,_0x55b050(_0x35b3eb))],Ot);var Zn=Object['getOwnPropertyDescriptor'],Qn=(_0x5e02a2,_0x3d2778,_0x2da531,_0x152d2f)=>{for(var _0x2a6198=_0x152d2f>0x1?void 0x0:_0x152d2f?Zn(_0x3d2778,_0x2da531):_0x3d2778,_0x293aa7=_0x5e02a2['length']-0x1,_0x2a8cb6;_0x293aa7>=0x0;_0x293aa7--)(_0x2a8cb6=_0x5e02a2[_0x293aa7])&&(_0x2a6198=_0x2a8cb6(_0x2a6198)||_0x2a6198);return _0x2a6198;},Ue=(_0x35e743,_0x4837de)=>(_0x9199cb,_0x54df3a)=>_0x4837de(_0x9199cb,_0x54df3a,_0x35e743);let ot=class extends _0x16a750{constructor(_0x51ca57,_0x1e2136,_0x4bb7a8,_0x3e112c,_0x4f25c7){var _0x34a9c7=_0x379364;super(),this[_0x34a9c7(0x168)]=_0x51ca57,this[_0x34a9c7(0x19b)]=_0x1e2136,this['_permissionService']=_0x4bb7a8,this[_0x34a9c7(0x20f)]=_0x3e112c,this['_collaborationUIEventService']=_0x4f25c7,this[_0x34a9c7(0x199)](),this[_0x34a9c7(0x2f3)]();}[_0x379364(0x2f3)](){var _0x2d60fc=_0x379364;const _0x1671d9=async _0x4b8d11=>{var _0x8256d6=_0x3279;(await this[_0x8256d6(0x20f)][_0x8256d6(0x184)](_0x4b8d11))[_0x8256d6(0x3f6)]['pipe'](_0x8f130f(_0x71f1b1=>_0x71f1b1['eventID']===_0x3a8693[_0x8256d6(0x1d8)]),_0x1e6655(this[_0x8256d6(0x193)]))['subscribe'](_0x7acb7f=>{var _0x81afa6=_0x8256d6;const _0x11f2ed=_0x7acb7f,{reason:_0x4c37bf}=_0x11f2ed[_0x81afa6(0x248)];this[_0x81afa6(0x325)][_0x81afa6(0x239)]({'id':ne[_0x81afa6(0x167)],'data':_0x4c37bf}),this[_0x81afa6(0x3bd)][_0x81afa6(0x3b7)](new _0x55e254(_0x4b8d11)['id'],!0x1),this[_0x81afa6(0x20f)][_0x81afa6(0x1f0)](_0x4b8d11);});};_0x479f16(this[_0x2d60fc(0x19b)][_0x2d60fc(0x27b)](_0xe5d2ce[_0x2d60fc(0x321)]),this['_univerInstanceService'][_0x2d60fc(0x27b)](_0xe5d2ce[_0x2d60fc(0x30f)]))[_0x2d60fc(0x19d)](_0x1b2b98(_0x2d4893=>_0x2d4893['getUnitId']()),_0x8f130f(_0x558c14=>!_0x124149(_0x558c14)),_0x1e6655(this[_0x2d60fc(0x193)]))['subscribe'](_0x130f55=>{_0x1671d9(_0x130f55);});}[_0x379364(0x199)](){var _0x24fed2=_0x379364;const _0x4af686=async _0x36d7ad=>{var _0xb57eae=_0x3279;const _0x4cf2ed=await this['_collaborationSessionService'][_0xb57eae(0x184)](_0x36d7ad),_0x2e83cf=this[_0xb57eae(0x168)][_0xb57eae(0x443)](_0x4a08c7);_0x4cf2ed['event$']['pipe'](_0x8f130f(_0x1edc89=>_0x1edc89[_0xb57eae(0x2c9)]===_0x3a8693[_0xb57eae(0x238)]),_0x1e6655(this['dispose$']))[_0xb57eae(0x20d)](_0x3b0da9=>{var _0x5bbbe9=_0xb57eae;const _0x108638=_0x3b0da9,{objectId:_0x3632c4}=_0x108638[_0x5bbbe9(0x248)];_0x3632c4===_0x36d7ad?_0x2e83cf[_0x5bbbe9(0x195)](_0x36d7ad):_0x2e83cf[_0x5bbbe9(0x1f2)](_0x36d7ad,_0x3632c4);});};_0x479f16(this['_univerInstanceService'][_0x24fed2(0x27b)](_0xe5d2ce['UNIVER_SHEET']))[_0x24fed2(0x19d)](_0x1b2b98(_0x2aaf9a=>_0x2aaf9a[_0x24fed2(0x43f)]()),_0x8f130f(_0x247048=>!_0x124149(_0x247048)),_0x1e6655(this[_0x24fed2(0x193)]))[_0x24fed2(0x20d)](_0x136c78=>{_0x4af686(_0x136c78);});}};ot=Qn([Ue(0x0,_0x55b050(_0x53e138)),Ue(0x1,_0xca033b),Ue(0x2,_0x318fdb),Ue(0x3,_0x55b050(Pe)),Ue(0x4,_0x55b050(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x287f1a,_0x4d797f,_0x1ae4ff,_0x17d3a4)=>{var _0x5141c5=_0x379364;for(var _0xf52bbb=_0x17d3a4>0x1?void 0x0:_0x17d3a4?er(_0x4d797f,_0x1ae4ff):_0x4d797f,_0x10be32=_0x287f1a[_0x5141c5(0x1ef)]-0x1,_0x4ecc39;_0x10be32>=0x0;_0x10be32--)(_0x4ecc39=_0x287f1a[_0x10be32])&&(_0xf52bbb=_0x4ecc39(_0xf52bbb)||_0xf52bbb);return _0xf52bbb;},oi=(_0x81c7d8,_0x4bc091)=>(_0x1d4847,_0x4bc1d4)=>_0x4bc091(_0x1d4847,_0x4bc1d4,_0x81c7d8);let bt=class{constructor(_0x5b7126,_0x3ed445){var _0x2455b9=_0x379364;this['_configService']=_0x5b7126,this[_0x2455b9(0x341)]=_0x3ed445;}async['getUnitOnRev'](_0x4f7b21,_0x5ac7bf){var _0x4fa477=_0x379364,_0x59b150;const {unitID:_0x49abcf,type:_0x3f8918,revision:_0x4bbbc6=0x0}=_0x5ac7bf,_0x59b020=this[_0x4fa477(0x366)]()+'/'+_0x3f8918+'/unit/'+_0x49abcf+_0x4fa477(0x216)+_0x4bbbc6,_0x102a7e=(await this[_0x4fa477(0x341)][_0x4fa477(0x443)](_0x59b020))[_0x4fa477(0x36f)],_0x22ad3b=(_0x59b150=_0x102a7e[_0x4fa477(0x15d)])==null?void 0x0:_0x59b150['workbook'];if(_0x22ad3b){const _0x5ba05d=_0x22ad3b==null?void 0x0:_0x22ad3b[_0x4fa477(0x446)],_0x2b2170=_0x1bdd11[_0x4fa477(0x230)](_0x1492f3(_0x5ba05d));_0x22ad3b['originalMeta']=_0x2b2170,Object[_0x4fa477(0x1a7)](_0x22ad3b['sheets'])['forEach'](([,_0x37ac42])=>{var _0x40d02b=_0x4fa477;const _0x2111c1=_0x37ac42[_0x40d02b(0x446)],_0x21380f=_0x1bdd11[_0x40d02b(0x230)](_0x1492f3(_0x2111c1));_0x37ac42[_0x40d02b(0x446)]=_0x21380f;});}return _0x102a7e;}async[_0x379364(0x203)](_0x46d06e,_0x5e38fa){var _0x57184f=_0x379364;const {unitID:_0x1a382f,type:_0x170298,blockID:_0x1180c4}=_0x5e38fa,_0x8f0a3c=this['_getAPIPrefix']()+'/'+_0x170298+_0x57184f(0x2aa)+_0x1a382f+_0x57184f(0x22c)+_0x1180c4;return(await this[_0x57184f(0x341)][_0x57184f(0x443)](_0x8f0a3c))['body'];}async[_0x379364(0x175)](_0x351142,_0x13a5c7){var _0x15b0d2=_0x379364;const {unitID:_0x57f64f,type:_0x199b3f,blockID:_0x1d8b86}=_0x13a5c7,_0x19f352=this[_0x15b0d2(0x257)]()+_0x15b0d2(0x22c)+_0x199b3f+_0x15b0d2(0x2aa)+_0x57f64f+_0x15b0d2(0x22c)+_0x1d8b86;return(await this[_0x15b0d2(0x341)][_0x15b0d2(0x443)](_0x19f352))['body'];}async[_0x379364(0x3c9)](_0x2152b8,_0x3b13d2){var _0x4496a7=_0x379364;const {unitID:_0x52f2c4,type:_0x17ddc3,from:_0x305a62,to:_0x389cbc}=_0x3b13d2,_0x3d63a9=this[_0x4496a7(0x257)]()+'/'+_0x17ddc3+_0x4496a7(0x2aa)+_0x52f2c4+_0x4496a7(0x3b8)+_0x305a62+_0x4496a7(0x26f)+_0x389cbc;return(await this['_httpService'][_0x4496a7(0x443)](_0x3d63a9))[_0x4496a7(0x36f)];}[_0x379364(0x366)](){var _0x4299cd=_0x379364,_0x4b1255;return(_0x4b1255=this[_0x4299cd(0x3bb)][_0x4299cd(0x23e)](vs))!=null?_0x4b1255:this['_getAPIPrefix']();}[_0x379364(0x257)](){var _0x242512=_0x379364,_0xb350e8;const _0x5349ef=this[_0x242512(0x3bb)][_0x242512(0x23e)](K);return(_0xb350e8=_0x5349ef==null?void 0x0:_0x5349ef[_0x242512(0x259)])!=null?_0xb350e8:fs;}async[_0x379364(0x3ee)](_0x4cff83,_0x1d27ad){var _0x1daa64=_0x379364;const _0x42e8e4='/universer-api/snapshot/'+_0x1d27ad[_0x1daa64(0x27c)]+_0x1daa64(0x2aa)+_0x1d27ad[_0x1daa64(0x224)]+_0x1daa64(0x183);return(await this['_httpService'][_0x1daa64(0x443)](_0x42e8e4,{'params':{'resourceId':JSON[_0x1daa64(0x3fa)](_0x1d27ad[_0x1daa64(0x1b4)])}}))[_0x1daa64(0x36f)];}[_0x379364(0x2d7)](){var _0x39ffd7=_0x379364;throw new Error(_0x39ffd7(0x3e8));}[_0x379364(0x34e)](){var _0x4e0c0c=_0x379364;throw new Error(_0x4e0c0c(0x3e8));}[_0x379364(0x1e1)](){var _0x228e03=_0x379364;throw new Error(_0x228e03(0x3e8));}['saveChangeset'](){var _0x5bd420=_0x379364;throw new Error(_0x5bd420(0x3e8));}['copyFileMeta'](){var _0x383332=_0x379364;throw new Error(_0x383332(0x3e8));}['getLatestCsReqIdBySid'](){var _0x56a136=_0x379364;throw new Error(_0x56a136(0x3e8));}};bt=tr([oi(0x0,_0x313741),oi(0x1,_0x55b050(_0x35b3eb))],bt);function _0x1cf6(){var _0x2fd240=['findIndex','&assign=','collaboration-client.config','[CollaborationEntity]','_cipher','onlyLocal','LICENSE_DISTRO_REJECTED','_unitInfo$','createInstance','UNIVER_COLLABORATION_CLIENT_PLUGIN','Pkcs7','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','reject','_revisionService','_key','memberID','_createHandler','waitForRoom$','_candidateSocket','list','ERROR_IMAGE_TYPE','UPDATE_CURSOR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','actions','JOIN_ROOM_NOT_EXISTS','onMissingChangesets','_createSocket','_imageSourceCache','decrypt','appendMutation','isPermissionRej','_data','ALREADY_EXISTS','USER_NOT_INVITED_CODE','_throwTelemetryCollaborationNewChangeset','sigBytes','liveShareOperation','reduce','_onJoinRoomEvent','x-univer-host','sid','toggleOffline','filter','COMMENT_UPDATE','EMAIL_VERIFY_CODE_MISMATCH','_memberService','SHA1','collabSubmitChangesetUrl','extend','UnitEmbedded','abs','localCacheService','online$','updatePermissionPoint','/fetchmissing?from=','[DataLoaderService]','WordArray','_configService','onRemoteAck','_permissionService','putCollaborators','encrypt','state','_initDependencies','_prevBlock','name','string','_socketMessageSubscription','_scheduleCompleteTimestamp','JOIN_ROOM_FULL','_handlerCallback','fetchMissingChangesets','origin','_members','OPTIONAL','_getLoginPath','ciphertext','/universer-api/snapshot','onSendChangeset','c2Prime','loginUrlKey','ivSize','YUUMI_UNABLE_LOAD_URL','responseType','fetchThroughInterceptors','getCurrentSelections','getUnit','Could\x20not\x20dynamically\x20require\x20\x22','interceptor','kdf','listCollaborators','_updateStatus','members$','_transformIMECache','registerHTTPInterceptor','parse','pad','not_collab','LOCAL_CACHE_INTERVAL','transformSelections','SUBMIT_CHANGESET_TIMEOUT','People','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','result','UNIVER_SLIDE','ceil','_snapshotServerService','error','getResourcesRequest','awaiting_with_pending','padding','_clearCollaborationTimeoutTimer','BlockCipherMode','NoPadding','HEARTBEAT_TIMEOUT','_onConflict','event$','CipherParams','_localeService','/universer-api/user/session-ticket','stringify','_changesetReqId','session.room-cnt-exceeds','Cipher','csRejEvent','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','create','&source=','image/bmp','[OfflineState]:\x20received\x20rejection.','session','delete','_keySchedule','_getRedoStack','size','getTime','/universer-api/comb','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_fetchMissChangesets','prototype','_compressMutationService','[FetchMissState]','_sessions','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','DEFAULT_FILE_NAME','Utf8','socketService','USERS_LEAVE','_state','APPLY_REVISION_CONFILICT','Failed\x20to\x20update\x20permission\x20point','[CollaborationSessionService]','send','editing\x20status\x20changed\x20to','\x20in\x20_schedule.','RETRY_CONNECTING_MAX_COUNT','close$','LOGIN_FAILED','97464VLRjWL','post','enableCollaboration','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','loadUnit','readAsDataURL','randomBytes','_onUserJoin','avatar','_status$','_eventService','_getAPIPrefixPath','TOO_MANY_REQUESTS','_clearRetryConnectingTimer','USERS_ENTER','hasOwnProperty','_awaitingChangeset','_onRecvEvent','GLOBAL_ROOMS_CNT_EXCEEDS','onTransformRemoteChangesetByIMECache','sessionStatus$','resolve','JOIN_ROOM_PERMISSION_DENIED','CONFLICT','OFFLINE','_getDownloadEndpointURL','_telemetryInfo','_listenToNetworkCondition','_map','getTypeOfUnitDisposed$','getUnitId','then','StreamCipher','session.join-failed','get','words','ws://127.0.0.1:8000/universer-api/comb/connect','originalMeta','format','PasswordBasedCipher','OpenSSL','from','clamp','compute','_pendingMutations','max','/universer-api/uniscript','_exhaustRemoteChangesetQueue','_clearLocalCache','_transformStack','\x0aCurrent:\x20','[OfflineState]:\x20received\x20acknowledgement.','asObservable','formatter','MOBILE_HAS_BEEN_BOUND','316115IZKhCA','AES','getCollabEntity$','_singleActiveUnitService','_applyRemoteChangeset','target','image/gif','INTERNAL_ERROR','_socket$','session.room-permission-denied','duration','retryConnectingInterval','YUUMI_NO_CUBOID_FOR_QUESTION','_undoStacks','userID','_rescheduleHeartbeat','snapshot','[CollaborationUndoRedoService]','onCommandExecuted','RECV','_createHmacHelper','subject','indexOf','pending','_onRemoteRetry','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CLOSE_ROOM','_injector','joinEvent','mode','change$','_submitChangeset','_scheduleCollaborationTimeoutTimer','onTransformState','_minBufferSize','LIVESHARE_TERMINATE','INVALID_INVITE_CODE','/object/','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getImageSourceCache','getDeserializedSheetBlock','createEncryptor','random','listRoles','offline','YUUMI_ALL_TABLES_IS_INVALID','NOT_FOUND','PERSON','csShouldRetryEvent','reconnect','_snapshotService','enableOfflineEditing','commentUpdateEvent','roles','/resources','requireSession','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','updateOfflineData','_nDataBytes','transformMutationsWithChangeset','_joinRoom','$super','Univer','_sheetTransformSelectionsService','setShowComponents','YUUMI_RATE_OVER_LIMIT','byteLength','_transformStateCache','salt','transformUndoRedo','dispose$','now','initWorkbookPermissionChange','getCurrentRevOfUnit','_telemetryService','_getCurrentRevision','_initUnitPermissionChange','{fileID}','_univerInstanceService','textRanges','pipe','range','charAt','hostname','_shouldReportTelemetry','_transformRemoteChangesetByStateCache','sin','HMAC','reset','_doCreateSocket','entries','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','reqId','_schedule','_registerDependencies','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','/role','LIVESHARE_NEW_HOST','onTransformSelections','_onConnectionFailed','getRoom','_startCollaboration','resourceIDs','failed\x20to\x20apply\x20missed\x20changesets!','routeKey','batchAllowed','OTHER_CLIENT_EDITING','url','toString','_resendWithTimeout','_updateState','commentUpdate$','Undefined','LIVESHARE_OPERATION','defineProperty','submit\x20changeset\x20error!','debug','INVITE_CODE_REQUIRED','POST','SNAPSHOT_URL_KEY','objectType','CHANGESET_REJ','createCollaborator','_initRequestHeader','_sender','csAckEvent','changesets','586188LqlcRl','_onFetchMissResult','updateCollaborator','getFocusedUnit','encryptBlock','NEW_CHANGESETS','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getUnitType','collaborators','onStarting','CHANGESET_SHOULD_RETRY','SHOULD_CLOSE_CONN','updateMember','Error\x20on\x20receiving\x20event','LEAVE','keySize','UNIVER_PROJECT','_mode','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','revision','saveSheetBlock','HttpImport','JOIN','PSEUDO_FETCH_MISSING_RESULT','LIVESHARE_REQUEST_HOST','YUUMI_TABLE_NOT_FOUND_IN_UNIT','/allowed','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','unknown','downloadEndpointUrl','compose','HmacSHA1','_sessionStatus$','_onLocalMutation','length','closeSession','_HTTPService','refreshPermission','fromCharCode','getMemberID','title','_onCombEvent','session.room-not-exists','_invKeySchedule','image/jpeg','_acknowledgedAwaitingChangeset','Decryptor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Base','BASE64','collabWebSocketUrl','getCurrentUser','set','MSG_FOR_ERROR','getSheetBlock','_doProcessBlock','onload','blockSize','_roomCreated$','charCodeAt','APPLY_PERMISSION_DENIED','src','stopTime','/universer-api/file/{fileID}/sign-url','subscribe','_sendingTimer','_collaborationSessionService','_transformRemoteChangesetByIMECache','APPLY_NON_SEQUENTIAL_REVISION','code','_commandService','_init','/collaborator','/rev/','CHANGESET_ACK','_doFinalize','headers','default','_DEC_XFORM_MODE','COMPRESS_MUTATION_SEND','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','init','mixIn','_getUploadFileURL','concat','removeMember','execute','unitID','SOCKET_FAILED_RETRY','createSocket','startsWith','_roomMembers','JOINING','Malformed\x20UTF-8\x20data','onSyncEditingCollabCursor','/block/','UNAUTHENTICATED','_isPermissionRej','join','encode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','APPLY_REJECT','34072BhSuoN','infoRsp','_checkMissing','open$','[CollaborationSession]','UPDATE_PERMISSION_OBJ','emitEvent','update','subUnitId','SNAPSHOT_HAS_BEEN_REMOVED','BlockCipher','getConfig','CBC','[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.','action','has','_disableEditing','/universer-api/authz','disableLocalCache','ERROR_EXCEED_SIZE','clone','data','PENDING','msCrypto','_onRemoteACK','ONLINE','_localCacheService','editingUnit','SOCKET_FAILED','[CollaborationState]:\x20apply\x20error!','reverse','_onMessage','uniscriptRunEvent','UNRECOGNIZED','href','getRandomValues','_getAPIPrefix','getInterceptPoints','snapshotServerUrl','_getSignURL','FileId','method','_resendTimer','liveShareNewHost','getWorkbookSelections','_userManagerService','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_replayCachedMutations','univer-pro.collaboration-client.network-condition.service','_networkConditionService','add','UnitSnapshot','COMPRESS_MUTATION_APPLY','univer-pro.collaboration-client-socket-service','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handler','\x20to\x20','_doCryptBlock','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','onStateChange','&to=','_undoRedoService','pauseCollaboration','MD5','LIVESHARE_FETCH_OPERATIONS','INGEST','UserProfileImg','_stopTelemetryCollaborationNewChangeset','objectActions','_lockTransition','authzUrl','INVITE_CODE_ALREADY_BOUND','getTypeOfUnitAdded$','type','rev','UNKNOWN_CMD','leaveEvent','_clearScheduledTask','_commentUpdate$','UNISCRIPT_RUN','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onOffline','_substituteUndoStack','iterations','getImage','override','map','getAllMembers','baseRev','cfg','_oKey','NO_OTHER_CLIENTS_EDITING','BufferedBlockAlgorithm','exports','_keyPriorReset','_onRemoteRejected','MOBILE_VERIFY_CODE_MISMATCH','LICENSE_EXPORT_SIZE_EXCEEDED','_socket','HEARTBEAT','_collaborationTimeoutTimer','unitId','dispose','_unlockTransition','Encryptor','3XzUaKJ','APPLY_DUPLICATED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_showConflictNotification','splice','_removeRoom','_toggleOffline','readInt32LE','_waitForHeartbeatResponse','_clearTimeoutTimer','_logService','UNKNOWN_CODE','__creator','saveImage','/unit/','hasher','selections','_sendHeartbeat','onRemoteChangeset','state$','_decreaseWaiting','_changesetSessionId','_startTelemetryCollaborationNewChangeset','close','_config','_timeoutTimer','YUUMI_URL_COL_OUT_OF_RANGE','_resendTimeout','_getUndoStack','clear','onMissedChangesetFetched','disposeWithMe','_collaborationPaused','_iv','HELLO','pluginName','CHANGESET_REVISION_CONFILICT','_transitionLocked','_retryCount','buffer','UUID','_incrementRevisionNumber','cmd','OTHER_CLIENTS_EDITING','complete','eventID','toggleOnline','awaitingChangeset','[SyncedState]:\x20received\x20acknowledgement.','PY_RUNTIME_SCRIPT_ERROR','onTransformRemoteChangesetByStateCache','call','[SyncedState]:\x20received\x20rejection.','status','_unitID','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','members','_socketReady','fetch_missing','saveSnapshot','objectID','slice','unsubscribe','resend','image/jpg','AWAITING_WITH_PENDING','univer-pro.collaboration-client.single-active-unit-service','_waitCount','error$','_process','977748gOCBBI','forEach','mutations','__esModule','_onUserLeave','unpad','key','_commentService','onRemoteRej','/-/object/list','NOT_COLLAB','_createInitialState','signUrlServerUrl','PERMISSION_REJ','_xformMode','_replaceFileID','_event$','_initCloseConn','message$','function','[CollaborationSessionService]:\x20socket\x20error','onRemoteRetry','put','fetchMiss','_remoteChangesetQueue','_tryEnsureSocket','status$','MUTATION','UNDEFINED','_emitMembers','lib','fetching\x20missing\x20changesets\x20from\x20','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNIVER_UNKNOWN','Base64','JOIN_ROOM_FAILED','confirm','_clearUndo','executeCommand','encodeURIComponent','_nRounds','sendChangesetTimeout','unitInfo$','FETCH_MISSING','incrementRevOfUnit','UNIVER_DOC','crypto','FETCH_MISS','replace','_transformService','HttpExport','requestParams','INVALID_ARGUMENT','params','awaiting','LICENSE_MAX_UNITS_EXCEEDED','_tryReconnect','getSheetId','COMPLETION_FINISHED','shouldCloseConn','finalize','_ENC_XFORM_MODE','_instanceService','UNIVER_SHEET','Hasher','permissionRejEvent','[OfflineState]:\x20received\x20changeset.','_collaborationUIEventService','getMember','image/png','enc','__Key__','_executeRemoteChangeset','uploadFileServerUrl','_getCtorByUniverType','enableSingleActiveInstanceLock','Latin1','YUUMI_ASYNCIO_CANCELLED','EvpKDF','_state$','_updateLocalCache','1638312aSWtTJ','every','deleteCollaborator','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','deepClone','c1Prime','fromCollab','transformStack\x20failed!','auth.needGotoLoginAlert','addHandlerCallback','_initMergeInterceptor','capture','_type','_hash','_httpService','EMAIL_HAS_BEEN_BOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','file','_entities','Hex','floor','_onRemoteChangeset','_change$','_clearRedo','SUBMIT_CHANGESET','transformChangesets','m2Prime','updateSnapshot','161ZHiWIt','_createHelper','setWaitCount','collaboration_new_changeset','\x0aAfter:\x20','1436575FaVDwk','PERMISSION_DENIED','getOwnPropertyDescriptor','_retryConnectingTimer','_members$','repeat','_transformSelections','_transformUndoredo','focused$','YUUMI_AI_RUN_FAILED','startTime','setCurrentUser','_clearHeartbeatTimer','_reverseMap','_sendHeartbeatTimer','_getSendChangesetTimeout','push','/-/object/-/batch_allowed','getSnapshotAPIPath','_queuedRemoteChangesets','socket\x20open.','loadOfflineData','FAIL','sessionStatus','onTransformIME','IDLE','_toggleOnline','body','onCommentUpdate','min','next','/new_changes','_hasher','allowed','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ERROR_IMAGE','algo','catch','connection\x20error','location','_append','getCollabEntity','synced','conflict','apply','WECHAT_HAS_BEEN_BOUND'];_0x1cf6=function(){return _0x2fd240;};return _0x1cf6();}var ir=Object[_0x379364(0x356)],sr=(_0xc7a461,_0x372f69,_0x3cf256,_0x3d5994)=>{for(var _0x5d97e6=_0x3d5994>0x1?void 0x0:_0x3d5994?ir(_0x372f69,_0x3cf256):_0x372f69,_0x429ebb=_0xc7a461['length']-0x1,_0xc8e058;_0x429ebb>=0x0;_0x429ebb--)(_0xc8e058=_0xc7a461[_0x429ebb])&&(_0x5d97e6=_0xc8e058(_0x5d97e6)||_0x5d97e6);return _0x5d97e6;},Ae=(_0x4a03fe,_0x611a30)=>(_0x5d3287,_0x51e47e)=>_0x611a30(_0x5d3287,_0x51e47e,_0x4a03fe);let yt=class extends _0x40de3d{constructor(_0x43d01d,_0x28d989,_0x308453,_0x5d68b9,_0x5be7ec){var _0x5e8948=_0x379364;super(_0x43d01d,_0x28d989,_0x308453),this['_transformService']=_0x5d68b9,this[_0x5e8948(0x2a6)]=_0x5be7ec;}[_0x379364(0x192)](_0x5e9af2,_0x301da6){var _0x32c136=_0x379364;const _0x574b2c=this['_getUndoStack'](_0x5e9af2);if(_0x574b2c)try{const _0x4ff6a1=this[_0x32c136(0x452)](_0x574b2c,_0x301da6);this['_substituteUndoStack'](_0x5e9af2,_0x4ff6a1);}catch(_0x316038){this[_0x32c136(0x2a6)][_0x32c136(0x3ed)](_0x32c136(0x15e),_0x316038),this[_0x32c136(0x307)](_0x5e9af2);}const _0x3f3b3f=this[_0x32c136(0x407)](_0x5e9af2);if(_0x3f3b3f)try{const _0x660b55=this[_0x32c136(0x452)](_0x3f3b3f,_0x301da6);this['_substituteRedoStack'](_0x5e9af2,_0x660b55);}catch(_0x322102){this[_0x32c136(0x2a6)][_0x32c136(0x3ed)](_0x322102),this[_0x32c136(0x34a)](_0x5e9af2);}}[_0x379364(0x307)](_0x3facce){var _0x31671c=_0x379364;const _0x34b4e8=this[_0x31671c(0x2b8)](_0x3facce);_0x34b4e8&&(_0x34b4e8['length']=0x0,this['_updateStatus']());}[_0x379364(0x34a)](_0x2c9460){var _0x137a3b=_0x379364;const _0x1c25a2=this[_0x137a3b(0x407)](_0x2c9460);_0x1c25a2&&(_0x1c25a2['length']=0x0,this['_updateStatus']());}[_0x379364(0x285)](_0x63a5ab,_0xb44a85){var _0x4eb93b=_0x379364;this[_0x4eb93b(0x15a)][_0x4eb93b(0x201)](_0x63a5ab,_0xb44a85),this[_0x4eb93b(0x3dd)]();}['_substituteRedoStack'](_0x6ee458,_0x421924){var _0x104b13=_0x379364;this['_redoStacks'][_0x104b13(0x201)](_0x6ee458,_0x421924),this['_updateStatus']();}['_transformStack'](_0x56d3e3,_0x20a279){var _0x2e9ed5=_0x379364;const _0xa3749e=[];let _0x293276=_0x20a279,_0x4e29ca=_0x20a279;for(let _0x31f34e=_0x56d3e3[_0x2e9ed5(0x1ef)]-0x1;_0x31f34e>=0x0;_0x31f34e--){const {unitID:_0x574b46,undoMutations:_0x5983cc,redoMutations:_0x405551}=_0x56d3e3[_0x31f34e],_0x168570=this[_0x2e9ed5(0x313)][_0x2e9ed5(0x188)](_0x293276,_0x5983cc),_0x3f2310=this[_0x2e9ed5(0x313)][_0x2e9ed5(0x188)](_0x4e29ca,_0x405551);if(_0x140d7c(_0x168570)||_0x140d7c(_0x3f2310)){this[_0x2e9ed5(0x2a6)][_0x2e9ed5(0x3ed)](_0x2e9ed5(0x15e),_0x2e9ed5(0x33a),_0x168570,_0x3f2310);break;}_0x293276=_0x168570[_0x2e9ed5(0x338)],_0x4e29ca=_0x3f2310['c1Prime'],_0xa3749e[_0x2e9ed5(0x364)]({'unitID':_0x574b46,'undoMutations':_0x168570[_0x2e9ed5(0x34d)],'redoMutations':_0x3f2310[_0x2e9ed5(0x34d)]});}return _0xa3749e[_0x2e9ed5(0x251)]();}};yt=sr([Ae(0x0,_0xca033b),Ae(0x1,_0x258db2),Ae(0x2,_0x9fdc54),Ae(0x3,_0x120669),Ae(0x4,_0xe5be65)],yt);var nr=Object['defineProperty'],rr=Object['getOwnPropertyDescriptor'],ar=(_0x2b3313,_0x5b127f,_0x5a9e14)=>_0x5b127f in _0x2b3313?nr(_0x2b3313,_0x5b127f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a9e14}):_0x2b3313[_0x5b127f]=_0x5a9e14,or=(_0x44b317,_0x4bcbd1,_0x598614,_0x386558)=>{var _0x319826=_0x379364;for(var _0x295748=_0x386558>0x1?void 0x0:_0x386558?rr(_0x4bcbd1,_0x598614):_0x4bcbd1,_0x18eab4=_0x44b317[_0x319826(0x1ef)]-0x1,_0x4b6a8e;_0x18eab4>=0x0;_0x18eab4--)(_0x4b6a8e=_0x44b317[_0x18eab4])&&(_0x295748=_0x4b6a8e(_0x295748)||_0x295748);return _0x295748;},mt=(_0x5e7226,_0x5ce52f)=>(_0x19725e,_0xff14af)=>_0x5ce52f(_0x19725e,_0xff14af,_0x5e7226),cr=(_0x3bb531,_0x773cc5,_0x39d817)=>ar(_0x3bb531,_0x773cc5+'',_0x39d817);const hr=_0x379364(0x38b);let Nt=class extends _0x27955d{constructor(_0x248923,_0x4fb215,_0x1878ce,_0x5d5604){var _0x599620=_0x379364;super(),N(this,_0x599620(0x2b4)),(this['_logService']=_0x4fb215,this[_0x599620(0x168)]=_0x1878ce,this[_0x599620(0x3bb)]=_0x5d5604);const {..._0x23a29f}=_0x2ccf94({},Ls,_0x248923);if(!_0x23a29f[_0x599620(0x415)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x599620(0x2b4)]=_0x23a29f,this[_0x599620(0x3bb)]['setConfig'](K,_0x23a29f);}[_0x379364(0x1d6)](){var _0x4ba68a=_0x379364;this['_registerDependencies'](),this[_0x4ba68a(0x3c1)]();}[_0x379364(0x1ac)](){var _0x5ed08a=_0x379364,_0x2d2455,_0x28c320;this[_0x5ed08a(0x168)][_0x5ed08a(0x242)](_0xf53b7)&&this[_0x5ed08a(0x2a6)][_0x5ed08a(0x3ed)]('[UniverCollaborationClientPlugin]',_0x5ed08a(0x1a8));const _0x22e658=_0x47329c([[_0xf53b7,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this['_config']['socketService']}],[_0x2d4089,{'useClass':bt}],[_0xbe3a07,{'useClass':Tt}],[_0x48aef6,{'useClass':Rt}],[_0x5e259c,{'useClass':Ot}],[nt],[It]],(_0x2d2455=this[_0x5ed08a(0x2b4)])==null?void 0x0:_0x2d2455[_0x5ed08a(0x288)]);if(!((_0x28c320=this[_0x5ed08a(0x2b4)])!=null&&_0x28c320[_0x5ed08a(0x32d)])){const _0x42426d=_0x22e658[_0x5ed08a(0x382)](([_0x2f25df])=>_0x2f25df===ht);_0x42426d!==-0x1&&_0x22e658[_0x5ed08a(0x2a0)](_0x42426d,0x1);}_0x4e7194(this[_0x5ed08a(0x168)],_0x22e658);}[_0x379364(0x3c1)](){var _0x440b1c=_0x379364,_0x510906,_0x3a7d74,_0x337df9;this[_0x440b1c(0x168)][_0x440b1c(0x443)](_0x35b3eb)[_0x440b1c(0x3e0)]({'priority':0x14,'interceptor':_0x29622c({'maxParallel':0x6})}),(_0x510906=this['_config'])!=null&&_0x510906[_0x440b1c(0x180)]||(_0x3a7d74=this['_injector'][_0x440b1c(0x443)](J,_0x51fbf4[_0x440b1c(0x3cc)]))==null||_0x3a7d74[_0x440b1c(0x245)](),(_0x337df9=this['_config'])!=null&&_0x337df9['enableAuthServer']&&_0x222f0a(this[_0x440b1c(0x168)],[[rt]]),_0x222f0a(this[_0x440b1c(0x168)],[[at],[nt],[ot]]);}};cr(Nt,_0x379364(0x2bf),hr),Nt=or([_0x6ced14(_0x57790c,_0x514c89),mt(0x1,_0xe5be65),mt(0x2,_0x55b050(_0x53e138)),mt(0x3,_0x313741)],Nt);export{Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Pe as CollaborationSessionService,Gt as CollaborationSocketService,Ei as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,mi as CommentService,le as ConflictState,ms as DEFAULT_COLLAB_WEB_SOCKET_URL,Or as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ir as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,gs as HEARTBEAT_INTERVAL_KEY,di as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,js as INetworkConditionService,ht as ISingleActiveUnitService,Cr as LOCAL_CACHE_INTERVAL,Tr as LOCAL_CACHE_INTERVAL_KEY,we as MemberService,Ot as MentionIoHttpService,ue as OfflineState,re as PendingState,Rr as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Is as RETRY_CONNECTING_MAX_COUNT_KEY,ge as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,bt as SnapshotServerOverHTTPService,ye as SyncedState,gi as UnitStatus,Nt as UniverCollaborationClientPlugin,Fs as deserializeToCombResponse,br as getLocalCacheKey,Vs as serializeCombRequest};
|