@univerjs-pro/collaboration-client 0.10.6-nightly.202509060614 → 0.10.6-nightly.202509060832
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _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 _0x535906=_0x5938;(function(_0x5a2771,_0x4e5eb3){var _0x5adaad=_0x5938,_0x1d0d5a=_0x5a2771();while(!![]){try{var _0x23ae3d=-parseInt(_0x5adaad(0x36c))/0x1+-parseInt(_0x5adaad(0x332))/0x2+parseInt(_0x5adaad(0xe5))/0x3*(parseInt(_0x5adaad(0x87))/0x4)+-parseInt(_0x5adaad(0x1ea))/0x5*(parseInt(_0x5adaad(0x158))/0x6)+parseInt(_0x5adaad(0x2f9))/0x7+-parseInt(_0x5adaad(0x344))/0x8*(-parseInt(_0x5adaad(0x2e4))/0x9)+parseInt(_0x5adaad(0x34c))/0xa;if(_0x23ae3d===_0x4e5eb3)break;else _0x1d0d5a['push'](_0x1d0d5a['shift']());}catch(_0x10bf9c){_0x1d0d5a['push'](_0x1d0d5a['shift']());}}}(_0x232d,0x974c1));var yi=Object[_0x535906(0x16a)],Ni=(_0xe57b51,_0x96c8f8,_0x2f2b53)=>_0x96c8f8 in _0xe57b51?yi(_0xe57b51,_0x96c8f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f2b53}):_0xe57b51[_0x96c8f8]=_0x2f2b53,N=(_0x5a1a1a,_0x1eb70d,_0x2d6402)=>Ni(_0x5a1a1a,typeof _0x1eb70d!=_0x535906(0x212)?_0x1eb70d+'':_0x1eb70d,_0x2d6402);import{CollaborationEvent as _0x4d2fd9,ITransformService as _0x90cca5,isTransformMutationsWithChangesetSuccess as _0x1edbbf,mapDocumentTypeToUniverType as _0x4cdbf7,RevisionService as _0x5b3e67,isTransformChangesetsSuccess as _0x4cee28,CompressMutationService as _0x146294,parseProtocolChangeset as _0x3a0e11,uuidv4 as _0x4b4b35,ISnapshotServerService as _0x426ed2,parseChangesetToProtocol as _0x5081be,SnapshotService as _0x2c2667,textEncoder as _0x55c2bf,b64DecodeUnicode as _0x2efb1a,isTransformMutationsWithChangesetFailure as _0x156ac2,UniverCollaborationPlugin as _0x12ead4}from'@univerjs-pro/collaboration';import{IUniverInstanceService as _0x2deb16,Inject as _0x589d8c,UserManagerService as _0x3fa498,Disposable as _0x1afa15,UniverInstanceType as _0x5c6255,ILogService as _0x1cf341,IConfigService as _0x47a418,Optional as _0x54373b,RxDisposable as _0x8b2103,createIdentifier as _0x59ebc1,Injector as _0xaf55dd,Tools as _0xf454a2,Rectangle as _0x55fe15,ICommandService as _0x2f40b7,JSONX as _0x24241d,CommandType as _0x3cbb14,IUndoRedoService as _0x34400c,IPermissionService as _0x1941bc,LocaleService as _0x31b51e,sequenceExecute as _0x2ba1fa,toDisposable as _0x1332c1,DisposableCollection as _0x1ae5ac,Workbook as _0x24d642,generateRandomId as _0x422fe6,MentionType as _0x137264,isInternalEditorID as _0x5d3293,LocalUndoRedoService as _0x271896,IContextService as _0x3908f6,DependentOn as _0x2a3f75,Plugin as _0x437a17,merge as _0x5a25c9,mergeOverrideWithDependencies as _0x9d4d20,IAuthzIoService as _0x47453b,IMentionIOService as _0x8265ea,registerDependencies as _0x26d4b3,Quantity as _0x1ca4bf,touchDependencies as _0x16b104}from'@univerjs/core';import{RichTextEditingMutation as _0x24e542}from'@univerjs/docs';import{SheetsSelectionsService as _0x415dcf,SetSelectionsOperation as _0xe786af,InsertSheetMutation as _0x3e097,EmptyMutation as _0x38d2c7,WorkbookEditablePermission as _0x481c38,SheetPermissionInitController as _0x12fa82}from'@univerjs/sheets';import{Subject as _0x15d0d0,merge as _0x335dc9,of as _0x26599e,BehaviorSubject as _0x32e0ef,takeUntil as _0x3b0749,ReplaySubject as _0x133ede,take as _0x3c1092,map as _0xf163b1,shareReplay as _0x1ace61,firstValueFrom as _0x3abfc2,concatMap as _0x22f657}from'rxjs';import{ITelemetryService as _0x5197a9}from'@univerjs/telemetry';import{map as _0x19e631,take as _0x178814,filter as _0x1a8c93,delay as _0x1498f2,takeUntil as _0x597b55}from'rxjs/operators';import{HTTPService as _0x413224,ISocketService as _0x55d5d2,MergeInterceptorFactory as _0x4e81d9,HTTPRequest as _0x215ee5,UniverNetworkPlugin as _0x2ec0c1,ThresholdInterceptorFactory as _0x2d4162}from'@univerjs/network';import{ImageSourceType as _0x48533e,ImageUploadStatusType as _0x431532,IImageIoService as _0x1d87fc}from'@univerjs/drawing';import{getGlobalObject as _0x25407f}from'@univerjs-pro/license';const fs=_0x535906(0x387),vs=_0x535906(0x11a),ps=0x7d0,ms=_0x535906(0x314),Ir=_0x535906(0x1c7),gs=_0x535906(0x104),Ss=0x7530,di=_0x535906(0x30a),fi=0x4e20,Es=0x4e20,Is=_0x535906(0x24e),Ts=0x3,Tr=_0x535906(0x19b),Cr=0x3e8,Cs=_0x535906(0x2ea),Rs=_0x535906(0x135),Rr=_0x535906(0xf5),Or=_0x535906(0x32a);var vi=(_0x45aa37=>(_0x45aa37[_0x45aa37['UNDEFINED']=0x0]=_0x535906(0x2eb),_0x45aa37[_0x45aa37['OK']=0x1]='OK',_0x45aa37[_0x45aa37[_0x535906(0x343)]=0x2]=_0x535906(0x343),_0x45aa37[_0x45aa37[_0x535906(0x333)]=0x3]=_0x535906(0x333),_0x45aa37[_0x45aa37['NOT_FOUND']=0x4]=_0x535906(0xd7),_0x45aa37[_0x45aa37[_0x535906(0x2ed)]=0x5]=_0x535906(0x2ed),_0x45aa37[_0x45aa37['ALREADY_EXISTS']=0x6]=_0x535906(0x366),_0x45aa37[_0x45aa37['INVALID_ARGUMENT']=0x7]=_0x535906(0x15c),_0x45aa37[_0x45aa37['TOO_MANY_REQUESTS']=0x8]=_0x535906(0x1e0),_0x45aa37[_0x45aa37[_0x535906(0x2b5)]=0x9]=_0x535906(0x2b5),_0x45aa37[_0x45aa37[_0x535906(0x195)]=0xa]=_0x535906(0x195),_0x45aa37[_0x45aa37[_0x535906(0x381)]=0xb]=_0x535906(0x381),_0x45aa37[_0x45aa37[_0x535906(0x265)]=0xc]=_0x535906(0x265),_0x45aa37[_0x45aa37['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x535906(0x2f7),_0x45aa37[_0x45aa37['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x535906(0xd1),_0x45aa37[_0x45aa37[_0x535906(0x2da)]=0x1389]=_0x535906(0x2da),_0x45aa37[_0x45aa37[_0x535906(0xbe)]=0x1771]=_0x535906(0xbe),_0x45aa37[_0x45aa37['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x535906(0x9a),_0x45aa37[_0x45aa37[_0x535906(0x338)]=0x1773]=_0x535906(0x338),_0x45aa37[_0x45aa37[_0x535906(0x282)]=0x1b59]=_0x535906(0x282),_0x45aa37[_0x45aa37[_0x535906(0x20d)]=0x1b5a]=_0x535906(0x20d),_0x45aa37[_0x45aa37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x535906(0x9b),_0x45aa37[_0x45aa37[_0x535906(0x154)]=0x1b5c]=_0x535906(0x154),_0x45aa37[_0x45aa37['APPLY_DUPLICATED']=0x1b5d]=_0x535906(0x2db),_0x45aa37[_0x45aa37['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x535906(0xde),_0x45aa37[_0x45aa37[_0x535906(0x1da)]=0x2329]=_0x535906(0x1da),_0x45aa37[_0x45aa37['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x535906(0x187),_0x45aa37[_0x45aa37[_0x535906(0x169)]=0x232b]=_0x535906(0x169),_0x45aa37[_0x45aa37[_0x535906(0x13b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45aa37[_0x45aa37[_0x535906(0x166)]=0x232d]=_0x535906(0x166),_0x45aa37[_0x45aa37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x535906(0xb4),_0x45aa37[_0x45aa37['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x45aa37[_0x45aa37[_0x535906(0x368)]=0x2713]=_0x535906(0x368),_0x45aa37[_0x45aa37['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x535906(0x393),_0x45aa37[_0x45aa37[_0x535906(0x26a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x45aa37[_0x45aa37[_0x535906(0xc3)]=0x271b]=_0x535906(0xc3),_0x45aa37[_0x45aa37[_0x535906(0x1b0)]=0x271c]=_0x535906(0x1b0),_0x45aa37[_0x45aa37[_0x535906(0x230)]=0x271d]=_0x535906(0x230),_0x45aa37[_0x45aa37[_0x535906(0x23f)]=0x271e]=_0x535906(0x23f),_0x45aa37[_0x45aa37[_0x535906(0x1db)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x45aa37[_0x45aa37[_0x535906(0x2c4)]=0x2720]=_0x535906(0x2c4),_0x45aa37[_0x45aa37[_0x535906(0x352)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x45aa37[_0x45aa37[_0x535906(0xe8)]=0x2ee1]=_0x535906(0xe8),_0x45aa37[_0x45aa37['INVALID_INVITE_CODE']=0x2ee2]=_0x535906(0x27c),_0x45aa37[_0x45aa37[_0x535906(0x38d)]=0x2ee3]=_0x535906(0x38d),_0x45aa37[_0x45aa37[_0x535906(0x202)]=0x2ee4]=_0x535906(0x202),_0x45aa37[_0x45aa37['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x535906(0x391),_0x45aa37[_0x45aa37[_0x535906(0x378)]=0x32c9]=_0x535906(0x378),_0x45aa37[_0x45aa37[_0x535906(0x2b0)]=0x32ca]=_0x535906(0x2b0),_0x45aa37[_0x45aa37[_0x535906(0x2d8)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x45aa37[_0x45aa37[_0x535906(0x142)]=-0x1]=_0x535906(0x142),_0x45aa37))(vi||{}),Z=(_0x173f94=>(_0x173f94[_0x173f94[_0x535906(0x18b)]=0x0]=_0x535906(0x18b),_0x173f94[_0x173f94[_0x535906(0x281)]=0x1]=_0x535906(0x281),_0x173f94[_0x173f94[_0x535906(0x223)]=0x2]=_0x535906(0x223),_0x173f94[_0x173f94[_0x535906(0xec)]=0x3]=_0x535906(0xec),_0x173f94[_0x173f94[_0x535906(0x2c6)]=0x4]='UNIVER_PROJECT',_0x173f94[_0x173f94[_0x535906(0x142)]=-0x1]=_0x535906(0x142),_0x173f94))(Z||{}),F=(_0x4a555f=>(_0x4a555f[_0x4a555f['UNKNOWN_CMD']=0x0]=_0x535906(0xa2),_0x4a555f[_0x4a555f['HELLO']=0x1]=_0x535906(0x315),_0x4a555f[_0x4a555f[_0x535906(0x323)]=0x2]='JOIN',_0x4a555f[_0x4a555f[_0x535906(0x2d2)]=0x3]=_0x535906(0x2d2),_0x4a555f[_0x4a555f[_0x535906(0x335)]=0x4]=_0x535906(0x335),_0x4a555f[_0x4a555f[_0x535906(0x14b)]=0x5]=_0x535906(0x14b),_0x4a555f[_0x4a555f[_0x535906(0x271)]=0x6]=_0x535906(0x271),_0x4a555f[_0x4a555f[_0x535906(0x142)]=-0x1]=_0x535906(0x142),_0x4a555f))(F||{}),pe=(_0x177bee=>(_0x177bee[_0x177bee[_0x535906(0x34f)]=0x0]='UNKNOWN_CODE',_0x177bee[_0x177bee['OK']=0x1]='OK',_0x177bee[_0x177bee[_0x535906(0x2dd)]=0x2]=_0x535906(0x2dd),_0x177bee[_0x177bee[_0x535906(0x27a)]=0x3e9]=_0x535906(0x27a),_0x177bee[_0x177bee[_0x535906(0x31b)]=0x3ea]=_0x535906(0x31b),_0x177bee[_0x177bee[_0x535906(0x382)]=0x3eb]=_0x535906(0x382),_0x177bee[_0x177bee[_0x535906(0xe0)]=0x3ec]=_0x535906(0xe0),_0x177bee[_0x177bee[_0x535906(0x142)]=-0x1]=_0x535906(0x142),_0x177bee))(pe||{}),pi=(_0x10ed77=>(_0x10ed77[_0x10ed77['Undefined']=0x0]=_0x535906(0x98),_0x10ed77[_0x10ed77['HttpImport']=0x1]=_0x535906(0x13e),_0x10ed77[_0x10ed77['HttpExport']=0x2]='HttpExport',_0x10ed77[_0x10ed77[_0x535906(0x34a)]=0x3]=_0x535906(0x34a),_0x10ed77[_0x10ed77[_0x535906(0x2a5)]=0x4]=_0x535906(0x2a5),_0x10ed77[_0x10ed77[_0x535906(0x1ef)]=0x5]=_0x535906(0x1ef),_0x10ed77[_0x10ed77['UNRECOGNIZED']=-0x1]=_0x535906(0x142),_0x10ed77))(pi||{});const Os=_0x535906(0x19c);function bs(_0x1fbf1d){var _0x3f9cb9=_0x535906;return JSON[_0x3f9cb9(0x119)](_0x1fbf1d)['length'];}var ne=(_0x5c49b8=>(_0x5c49b8['OTHER_CLIENT_EDITING']=_0x535906(0x20c),_0x5c49b8[_0x535906(0x333)]=_0x535906(0x333),_0x5c49b8[_0x535906(0x21d)]='CONFLICT',_0x5c49b8['CLOSE_ROOM']=_0x535906(0x12f),_0x5c49b8[_0x535906(0xcc)]=_0x535906(0xcc),_0x5c49b8[_0x535906(0x1f3)]=_0x535906(0x1f3),_0x5c49b8[_0x535906(0x236)]='SOCKET_FAILED',_0x5c49b8['SUBMIT_CHANGESET_TIMEOUT']=_0x535906(0xcb),_0x5c49b8))(ne||{});class ve{constructor(){var _0x20bb53=_0x535906;N(this,_0x20bb53(0xae),new _0x15d0d0()),N(this,_0x20bb53(0x1d7),this[_0x20bb53(0xae)][_0x20bb53(0x384)]());}[_0x535906(0x1cc)](_0x7eff75){var _0x38b79d=_0x535906;this[_0x38b79d(0xae)]['next'](_0x7eff75);}}class mi{constructor(){var _0x53fe34=_0x535906;N(this,_0x53fe34(0x297),new _0x15d0d0()),N(this,_0x53fe34(0x313),this[_0x53fe34(0x297)][_0x53fe34(0x384)]());}[_0x535906(0x173)](_0x374fc3){var _0x42b48b=_0x535906;this[_0x42b48b(0x297)][_0x42b48b(0x266)](_0x374fc3);}}var ys=Object[_0x535906(0x16f)],Ns=(_0x154861,_0x23ae2f,_0x56b543,_0x143743)=>{var _0x16d8cc=_0x535906;for(var _0x34fd82=_0x143743>0x1?void 0x0:_0x143743?ys(_0x23ae2f,_0x56b543):_0x23ae2f,_0x5545e5=_0x154861[_0x16d8cc(0x2d5)]-0x1,_0x2acbb7;_0x5545e5>=0x0;_0x5545e5--)(_0x2acbb7=_0x154861[_0x5545e5])&&(_0x34fd82=_0x2acbb7(_0x34fd82)||_0x34fd82);return _0x34fd82;},Ft=(_0x15d886,_0xb0d84f)=>(_0x3cd2cf,_0x594592)=>_0xb0d84f(_0x3cd2cf,_0x594592,_0x15d886);let we=class extends _0x1afa15{constructor(_0x1a375f,_0x362cfa){var _0x498662=_0x535906;super(),N(this,_0x498662(0x1d5),new Map()),N(this,_0x498662(0x16b),new _0x15d0d0()),(this[_0x498662(0xaa)]=_0x1a375f,this[_0x498662(0x1a2)]=_0x362cfa,this['disposeWithMe'](_0x335dc9(this[_0x498662(0xaa)][_0x498662(0x1f9)](_0x5c6255[_0x498662(0x223)])[_0x498662(0x114)](_0x19e631(_0x277126=>_0x277126['getUnitId']())),this['_univerInstanceService'][_0x498662(0x1f9)](_0x5c6255[_0x498662(0x281)])[_0x498662(0x114)](_0x19e631(_0x4f3401=>_0x4f3401[_0x498662(0x113)]())),this[_0x498662(0xaa)][_0x498662(0x1f9)](_0x5c6255[_0x498662(0xec)])[_0x498662(0x114)](_0x19e631(_0x56571c=>_0x56571c[_0x498662(0x113)]())))[_0x498662(0xb7)](_0x1a63b3=>this[_0x498662(0x337)](_0x1a63b3))));}['waitForRoom$'](_0x2bae6a){var _0x1640df=_0x535906;return this[_0x1640df(0x1d5)]['has'](_0x2bae6a)?_0x26599e(this['_roomMembers'][_0x1640df(0x32b)](_0x2bae6a)):this[_0x1640df(0x16b)][_0x1640df(0x114)](_0x19e631(_0x2c0322=>{var _0x561b95=_0x1640df;if(_0x2c0322===_0x2bae6a)return this[_0x561b95(0x1d5)]['get'](_0x2c0322);}));}[_0x535906(0x2fb)](_0x5f249b){var _0x405a0d=_0x535906;this[_0x405a0d(0x1a2)]['setCurrentUser'](_0x5f249b);}[_0x535906(0x33d)](){var _0xdf39e2=_0x535906;return this[_0xdf39e2(0x1a2)]['getCurrentUser']();}[_0x535906(0x303)](_0x1d5770,_0x513ff4){var _0x4306aa=_0x535906;let _0x58e5ea=this[_0x4306aa(0x1d5)]['get'](_0x1d5770);_0x58e5ea||(_0x58e5ea=new Ds(),this[_0x4306aa(0x1d5)][_0x4306aa(0x240)](_0x1d5770,_0x58e5ea),this[_0x4306aa(0x16b)][_0x4306aa(0x266)](_0x1d5770)),_0x58e5ea[_0x4306aa(0x303)](_0x513ff4);}[_0x535906(0x210)](_0x2dc7c8,_0x7b722e){var _0x132336=_0x535906;const _0x46c473=this[_0x132336(0x1d5)][_0x132336(0x32b)](_0x2dc7c8);_0x46c473&&_0x46c473[_0x132336(0x210)](_0x7b722e);}[_0x535906(0x38f)](_0x18d9c6){var _0x392cc7=_0x535906;return this[_0x392cc7(0x1d5)][_0x392cc7(0x32b)](_0x18d9c6);}[_0x535906(0x132)](_0x570007,_0x5e938d){var _0x5e63ad=_0x535906;const _0x43c5e2=this[_0x5e63ad(0x1d5)][_0x5e63ad(0x32b)](_0x570007);if(_0x43c5e2)return _0x43c5e2[_0x5e63ad(0x132)](_0x5e938d);}[_0x535906(0x337)](_0x483dbb){var _0x3cd7b2=_0x535906;const _0x5cf85f=this[_0x3cd7b2(0x1d5)][_0x3cd7b2(0x32b)](_0x483dbb);_0x5cf85f&&(_0x5cf85f[_0x3cd7b2(0xd6)](),this[_0x3cd7b2(0x1d5)][_0x3cd7b2(0xe1)](_0x483dbb));}['dispose'](){var _0x57ff41=_0x535906;this[_0x57ff41(0x1d5)][_0x57ff41(0x194)](_0x3bbb8c=>_0x3bbb8c[_0x57ff41(0xd6)]()),this[_0x57ff41(0x1d5)][_0x57ff41(0x23c)](),this[_0x57ff41(0x16b)]['complete']();}};we=Ns([Ft(0x0,_0x2deb16),Ft(0x1,_0x589d8c(_0x3fa498))],we);class Ds extends _0x1afa15{constructor(){var _0x3b3f4f=_0x535906;super(...arguments),N(this,_0x3b3f4f(0xfe),new Map()),N(this,'_members$',new _0x32e0ef(this[_0x3b3f4f(0xfe)])),N(this,_0x3b3f4f(0x1ce),this[_0x3b3f4f(0x176)][_0x3b3f4f(0x384)]());}[_0x535906(0xd6)](){var _0x2bd7e9=_0x535906;this[_0x2bd7e9(0xfe)]['clear']();}['updateMember'](_0x2d30eb){var _0xfcb3c8=_0x535906;this[_0xfcb3c8(0xfe)][_0xfcb3c8(0x240)](_0x2d30eb[_0xfcb3c8(0x2f5)],_0x2d30eb),this['_emitMembers']();}[_0x535906(0x210)](_0x571f2a){var _0x48c9a4=_0x535906;this[_0x48c9a4(0xfe)][_0x48c9a4(0xe1)](_0x571f2a);}[_0x535906(0x132)](_0x3deb7c){var _0x5dea6c=_0x535906;return this[_0x5dea6c(0xfe)][_0x5dea6c(0x32b)](_0x3deb7c);}[_0x535906(0x2ce)](){var _0x563cfb=_0x535906;return Array[_0x563cfb(0x170)](this[_0x563cfb(0xfe)][_0x563cfb(0xc4)]());}[_0x535906(0x1a7)](){var _0x2cb516=_0x535906;this[_0x2cb516(0x176)][_0x2cb516(0x266)](this[_0x2cb516(0xfe)]);}}var Us=Object['getOwnPropertyDescriptor'],As=(_0x11db35,_0x177cef,_0x28de54,_0x52554c)=>{for(var _0x31083b=_0x52554c>0x1?void 0x0:_0x52554c?Us(_0x177cef,_0x28de54):_0x177cef,_0x2f5ee2=_0x11db35['length']-0x1,_0x54193c;_0x2f5ee2>=0x0;_0x2f5ee2--)(_0x54193c=_0x11db35[_0x2f5ee2])&&(_0x31083b=_0x54193c(_0x31083b)||_0x31083b);return _0x31083b;},Ce=(_0x395fd1,_0x574256)=>(_0x2fc49d,_0x383500)=>_0x574256(_0x2fc49d,_0x383500,_0x395fd1),ge=(_0x4fa309=>(_0x4fa309[_0x4fa309['IDLE']=0x0]=_0x535906(0x348),_0x4fa309[_0x4fa309[_0x535906(0x245)]=0x1]=_0x535906(0x245),_0x4fa309[_0x4fa309[_0x535906(0x184)]=0x2]=_0x535906(0x184),_0x4fa309[_0x4fa309[_0x535906(0x2b8)]=0x3]=_0x535906(0x2b8),_0x4fa309))(ge||{});const Vt={[pe[_0x535906(0x2dd)]]:_0x535906(0x277),[pe[_0x535906(0x27a)]]:_0x535906(0x2f8),[pe[_0x535906(0x31b)]]:_0x535906(0x2c5),[pe[_0x535906(0x382)]]:_0x535906(0x257),[pe['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x8b2103{constructor(_0x311759,_0x2f3730,_0x5bc8bd,_0x4c67af,_0x5d079b,_0x4ed562,_0x4f086a,_0xae3fff){var _0x209df7=_0x535906;super(),N(this,_0x209df7(0x1a3),new _0x32e0ef(0x0)),N(this,_0x209df7(0x1c4),this['_sessionStatus$'][_0x209df7(0x384)]()),N(this,_0x209df7(0xae),new _0x15d0d0()),N(this,_0x209df7(0x1d7),this[_0x209df7(0xae)][_0x209df7(0x384)]()),N(this,_0x209df7(0x268)),N(this,_0x209df7(0x199)),N(this,_0x209df7(0x25a)),N(this,_0x209df7(0x222),!0x1),N(this,'_telemetryInfo',null),(this[_0x209df7(0x244)]=_0x311759,this['_logService']=_0x5bc8bd,this[_0x209df7(0x371)]=_0x4c67af,this[_0x209df7(0x309)]=_0x5d079b,this['_commentService']=_0x4ed562,this[_0x209df7(0x102)]=_0x4f086a,this[_0x209df7(0x27e)]=_0xae3fff,this[_0x209df7(0x222)]=!!this[_0x209df7(0x27e)],_0x2f3730[_0x209df7(0x114)](_0x3b0749(this['dispose$']))[_0x209df7(0xb7)](_0x48920a=>{var _0x4c8376=_0x209df7,_0x5d64d9;typeof _0x48920a>'u'||(this[_0x4c8376(0x268)]=_0x48920a,_0x48920a?(this['_joinRoom'](_0x48920a),this[_0x4c8376(0x199)]=_0x48920a['message$']['subscribe'](_0x5049f9=>{var _0x397998=_0x4c8376;_0x5049f9[_0x397998(0x388)]===this[_0x397998(0x244)]&&this[_0x397998(0x1d1)](_0x5049f9);})):(this[_0x4c8376(0x235)](),this['_sessionStatus$']['next'](0x2),(_0x5d64d9=this[_0x4c8376(0x199)])==null||_0x5d64d9[_0x4c8376(0x2ba)](),this[_0x4c8376(0x199)]=null));}));}get[_0x535906(0x193)](){var _0x1a139a=_0x535906;return this[_0x1a139a(0x1a3)][_0x1a139a(0xd8)]();}[_0x535906(0xb1)](){var _0x151075=_0x535906,_0x3f0e99,_0x13bd7e;return(_0x13bd7e=(_0x3f0e99=this[_0x151075(0x268)])==null?void 0x0:_0x3f0e99['memberID'])!=null?_0x13bd7e:null;}[_0x535906(0xd6)](){var _0x1ed1d2=_0x535906;super[_0x1ed1d2(0xd6)](),this[_0x1ed1d2(0x1b8)][_0x1ed1d2(0x266)](),this[_0x1ed1d2(0x1b8)][_0x1ed1d2(0xc9)]();}[_0x535906(0xdb)](){var _0x474843=_0x535906,_0x1e8b6f,_0x1e08ba;this[_0x474843(0x235)](),(_0x1e8b6f=this[_0x474843(0x268)])==null||_0x1e8b6f['send']({'cmd':F[_0x474843(0x2d2)],'data':{'roomID':this[_0x474843(0x244)]}}),(_0x1e08ba=this[_0x474843(0x268)])==null||_0x1e08ba[_0x474843(0xdb)](),this[_0x474843(0xae)][_0x474843(0xc9)](),this[_0x474843(0x1a3)][_0x474843(0xc9)](),this['dispose']();}[_0x535906(0x1d1)](_0x49fdc3){var _0x137b84=_0x535906;_0x49fdc3[_0x137b84(0x34b)]===F[_0x137b84(0x323)]?this[_0x137b84(0x2ec)](_0x49fdc3):_0x49fdc3[_0x137b84(0x34b)]===F[_0x137b84(0x271)]&&this[_0x137b84(0x11e)](_0x49fdc3);}[_0x535906(0x2de)](_0xd3f76b){var _0x5e2408=_0x535906;this[_0x5e2408(0x1a3)]['next'](0x1),_0xd3f76b['send']({'cmd':F[_0x5e2408(0x323)],'routeKey':this[_0x5e2408(0x244)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5e2408(0x244)]}]}});}['_onJoinRoomEvent'](_0xf0306){var _0x5bb46a=_0x535906,_0x1612d0;if(_0xf0306['code']in Vt){this[_0x5bb46a(0x102)][_0x5bb46a(0x1cc)]({'id':ne['JOIN_ROOM_FAILED'],'data':Vt[_0xf0306[_0x5bb46a(0x92)]]}),this[_0x5bb46a(0x1a3)][_0x5bb46a(0x266)](0x2);return;}this['_sessionStatus$'][_0x5bb46a(0x266)](0x3);const _0x128c8d=(_0x1612d0=_0xf0306[_0x5bb46a(0x26e)][_0x5bb46a(0x2d3)][this['_unitID']])==null?void 0x0:_0x1612d0['members'];_0x128c8d&&_0x128c8d[_0x5bb46a(0x194)](_0x23348a=>this[_0x5bb46a(0x309)][_0x5bb46a(0x303)](this['_unitID'],_0x23348a));}[_0x535906(0x11e)](_0x38d426){var _0x485303=_0x535906;try{const _0x27138b=_0x38d426[_0x485303(0x26e)];switch(_0x27138b['eventID']){case _0x4d2fd9['USERS_ENTER']:this[_0x485303(0x2a8)](_0x27138b),this['_event$'][_0x485303(0x266)](_0x27138b);break;case _0x4d2fd9['USERS_LEAVE']:this[_0x485303(0xb8)](_0x27138b),this[_0x485303(0xae)][_0x485303(0x266)](_0x27138b);break;case _0x4d2fd9[_0x485303(0x305)]:case _0x4d2fd9[_0x485303(0x121)]:this[_0x485303(0x2f3)](),this[_0x485303(0x28d)](),this[_0x485303(0xae)][_0x485303(0x266)](_0x27138b);break;case _0x4d2fd9[_0x485303(0x10e)]:this[_0x485303(0x8c)][_0x485303(0xe6)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x485303(0x119)](_0x27138b)),this[_0x485303(0xae)][_0x485303(0x266)](_0x27138b);break;case _0x4d2fd9[_0x485303(0x201)]:this[_0x485303(0x20b)][_0x485303(0x173)](_0x27138b['data']),this[_0x485303(0xae)]['next'](_0x27138b);break;default:this['_event$'][_0x485303(0x266)](_0x27138b);}}catch(_0x1fe430){this['_logService'][_0x485303(0xe6)](_0x1fe430,_0x38d426);}}[_0x535906(0x2a8)](_0x30afea){var _0x43ffa4=_0x535906;this[_0x43ffa4(0x309)][_0x43ffa4(0x303)](this[_0x43ffa4(0x244)],_0x30afea[_0x43ffa4(0x26e)]);}['_onUserLeave'](_0x2f9c6e){var _0x8f9c47=_0x535906;this[_0x8f9c47(0x309)][_0x8f9c47(0x210)](this[_0x8f9c47(0x244)],_0x2f9c6e[_0x8f9c47(0x26e)]['memberID']);}async[_0x535906(0x175)](_0x4e7dbb,_0x3b4651){var _0x30b8b7=_0x535906;if(this[_0x30b8b7(0x193)]!==0x3||!this[_0x30b8b7(0x268)])throw new Error(_0x30b8b7(0xca));try{_0x4e7dbb[_0x30b8b7(0x1a9)]===_0x4d2fd9[_0x30b8b7(0x291)]&&(this[_0x30b8b7(0x203)](),this[_0x30b8b7(0x2e8)](_0x4e7dbb)),this['_socket']['send']({'cmd':F[_0x30b8b7(0x335)],'routeKey':_0x3b4651,'routeType':'','data':_0x4e7dbb});}catch(_0x26de80){this[_0x30b8b7(0x8c)][_0x30b8b7(0xe6)](_0x26de80);}}[_0x535906(0x203)](){var _0x25d89d=_0x535906,_0x22dc86;this[_0x25d89d(0x25a)]=setTimeout(()=>{var _0x5e2449=_0x25d89d;this[_0x5e2449(0x25a)]=null,this[_0x5e2449(0x102)][_0x5e2449(0x1cc)]({'id':ne[_0x5e2449(0xcb)]});},(_0x22dc86=this['_configService'][_0x25d89d(0x1c5)](di))!=null?_0x22dc86:fi);}[_0x535906(0x28d)](){var _0x7a37ec=_0x535906;this[_0x7a37ec(0x25a)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x7a37ec(0x25a)]=null);}[_0x535906(0x2e8)](_0xba7062){var _0x94a89e=_0x535906;if(!this['_shouldReportTelemetry'])return;const {data:_0x50bb84}=_0xba7062,{unitID:_0x4f4397,changeset:_0x256188}=_0x50bb84,{mutations:_0x4883bc,type:_0x419dc2}=_0x256188;this['_telemetryInfo']={'unitId':_0x4f4397,'type':_0x419dc2,'startTime':performance[_0x94a89e(0x206)](),'stopTime':0x0,'duration':0x0,'size':bs(_0x4883bc)};}[_0x535906(0x2f3)](){var _0x5de734=_0x535906;if(this[_0x5de734(0x222)]){if(!this['_telemetryInfo']){this[_0x5de734(0x8c)][_0x5de734(0xe6)](_0x5de734(0x238),_0x5de734(0x37d));return;}this[_0x5de734(0x360)][_0x5de734(0x329)]=performance[_0x5de734(0x206)](),this[_0x5de734(0x360)]['duration']=this['_telemetryInfo'][_0x5de734(0x329)]-this[_0x5de734(0x360)]['startTime'],this[_0x5de734(0x27e)][_0x5de734(0x221)](Os,this[_0x5de734(0x360)]),this[_0x5de734(0x360)]=null;}}[_0x535906(0x235)](){var _0x18bea8=_0x535906;this[_0x18bea8(0x360)]=null;}};gt=As([Ce(0x2,_0x1cf341),Ce(0x3,_0x47a418),Ce(0x4,_0x589d8c(we)),Ce(0x5,_0x589d8c(mi)),Ce(0x6,_0x589d8c(ve)),Ce(0x7,_0x54373b(_0x5197a9))],gt);const J=_0x59ebc1('collaboration-client.local-cache-service');function br(_0x5456be){var _0x32d649=_0x535906;return _0x32d649(0x1fb)+_0x5456be;}var ws=Object[_0x535906(0x16f)],Ps=(_0x32644c,_0x24c1a1,_0x47eee9,_0x4ecc9c)=>{for(var _0x397f47=_0x4ecc9c>0x1?void 0x0:_0x4ecc9c?ws(_0x24c1a1,_0x47eee9):_0x24c1a1,_0x12f270=_0x32644c['length']-0x1,_0x31150c;_0x12f270>=0x0;_0x12f270--)(_0x31150c=_0x32644c[_0x12f270])&&(_0x397f47=_0x31150c(_0x397f47)||_0x397f47);return _0x397f47;},ut=(_0xda95c1,_0x544fbc)=>(_0x53a81c,_0x1550a6)=>_0x544fbc(_0x53a81c,_0x1550a6,_0xda95c1);function Ms(_0x239bdb){var _0x3c5ac8=_0x535906;const {unitID:_0x4b5513,mutations:_0x3ad6b2}=_0x239bdb;return{'unitId':_0x4b5513,'subUnitId':_0x3ad6b2[0x0][_0x3c5ac8(0x288)][_0x3c5ac8(0x2cd)]};}let it=class{constructor(_0x4ea0f6,_0x40acd5,_0x31bcea){var _0x165c35=_0x535906;this[_0x165c35(0x15e)]=_0x4ea0f6,this[_0x165c35(0x217)]=_0x40acd5,this[_0x165c35(0x26d)]=_0x31bcea;}[_0x535906(0x23a)](_0x552865){var _0x179180=_0x535906,_0x567d32,_0x343a7b,_0x1f2f8c,_0x156c1d;const _0x320193=this[_0x179180(0x15e)][_0x179180(0x32b)](_0x415dcf),{unitId:_0x51fc21,subUnitId:_0x24e689}=Ms(_0x552865),_0x92baea=_0x320193==null?void 0x0:_0x320193[_0x179180(0x31e)](_0x51fc21)[_0x179180(0xcf)](),_0x146515=(_0x343a7b=(_0x567d32=this[_0x179180(0x26d)][_0x179180(0x304)](_0x51fc21))==null?void 0x0:_0x567d32['getActiveSheet']())==null?void 0x0:_0x343a7b[_0x179180(0x28c)]();if(_0x92baea[_0x179180(0x2d5)]===0x0||!_0x51fc21||!_0x24e689)return;const _0x566a3e=[{'id':_0xe786af['id'],'params':{'unitId':_0x51fc21,'subUnitId':_0x146515,'selections':_0xf454a2[_0x179180(0x29d)](_0x92baea)}}],_0x20d5f5=this[_0x179180(0x217)][_0x179180(0x167)](_0x552865,_0x566a3e);if(!_0x1edbbf(_0x20d5f5))throw _0x20d5f5['error'];const _0x60ae80=(_0x156c1d=(_0x1f2f8c=_0x20d5f5[_0x179180(0x27f)][0x0])==null?void 0x0:_0x1f2f8c[_0x179180(0x288)])==null?void 0x0:_0x156c1d[_0x179180(0x21b)];if(Array[_0x179180(0x35a)](_0x60ae80)&&_0x60ae80['length']){if(_0x60ae80['length']===_0x566a3e[0x0][_0x179180(0x288)][_0x179180(0x21b)][_0x179180(0x2d5)]&&_0x60ae80[_0x179180(0x155)]((_0x246d64,_0x2f28d0)=>_0x55fe15[_0x179180(0x151)](_0x246d64[_0x179180(0xf6)],_0x566a3e[0x0][_0x179180(0x288)][_0x179180(0x21b)][_0x2f28d0]['range'])))return;this[_0x179180(0x15e)]['get'](_0x2f40b7)[_0x179180(0xdd)](_0xe786af['id'],{'unitId':_0x51fc21,'subUnitId':_0x146515,'selections':_0x60ae80});}}};it=Ps([ut(0x0,_0x589d8c(_0xaf55dd)),ut(0x1,_0x90cca5),ut(0x2,_0x2deb16)],it);const ht=_0x59ebc1(_0x535906(0x243));var gi=(_0x46861f=>(_0x46861f[_0x46861f[_0x535906(0x2c3)]=0x0]=_0x535906(0x2c3),_0x46861f[_0x46861f[_0x535906(0x2c1)]=0x1]='OTHER_CLIENTS_EDITING',_0x46861f))(gi||{});const K=_0x535906(0x33e),Ls={},xs=new Set([_0x3e097['id']]);function Wt(_0x59c8b3,_0x210092,_0x4c23b7,_0x3d3323,_0x1c202d){var _0x4a8fbb=_0x535906,_0xeb69c4,_0x15eac3,_0x487f3,_0x26ecc9;const _0x2550d7=[];for(const _0x1f5048 of _0x59c8b3)if(xs['has'](_0x1f5048['id'])){if(_0x2550d7['length']>0x0)break;_0x2550d7[_0x4a8fbb(0x1f6)](_0x1f5048);break;}else _0x2550d7[_0x4a8fbb(0x1f6)](_0x1f5048);const _0x1edd16=(_0x15eac3=(_0xeb69c4=_0x1c202d[_0x4a8fbb(0x33d)]())==null?void 0x0:_0xeb69c4['userID'])!=null?_0x15eac3:_0x4a8fbb(0x17e),_0x3130e1=(_0x26ecc9=(_0x487f3=_0x1c202d[_0x4a8fbb(0x33d)]())==null?void 0x0:_0x487f3['memberID'])!=null?_0x26ecc9:_0x4a8fbb(0x17e);return{'changeset':{'unitID':_0x210092,'type':_0x4cdbf7(_0x4c23b7[_0x4a8fbb(0x1fd)](_0x210092)),'baseRev':_0x3d3323[_0x4a8fbb(0x33a)](_0x210092),'revision':0x0,'userID':_0x1edd16,'memberID':_0x3130e1,'mutations':_0x2550d7},'pendingMutations':_0x59c8b3[_0x4a8fbb(0x9c)](_0x2550d7[_0x4a8fbb(0x2d5)])};}function ks(_0x125c79,_0x48a8bd,_0xc73746,_0x5df119,_0x5e2df6){var _0x4518ca=_0x535906,_0x31e61e,_0xb4ddbf,_0x4ec94d,_0x3bd2b0;const _0x4ad282=[_0x125c79[_0x4518ca(0x1cf)]((_0x477ab8,_0x2b30b2)=>{var _0x3bf5dd=_0x4518ca,_0x6be18c;const {id:_0x3857f9}=_0x477ab8,{id:_0x538434,type:_0x51e7f6}=_0x2b30b2,_0x4c528d=(_0x6be18c=_0x477ab8[_0x3bf5dd(0x288)])!=null?_0x6be18c:{'actions':null},_0x1f2bf7=_0x2b30b2[_0x3bf5dd(0x288)];if(_0x3857f9&&_0x3857f9!==_0x538434)throw new Error(_0x3bf5dd(0x228)+_0x3857f9+_0x3bf5dd(0x26f)+_0x538434+'.');return{..._0x477ab8,'id':_0x538434,'type':_0x51e7f6,'params':{'unitId':_0x1f2bf7[_0x3bf5dd(0x122)],'textRanges':_0x1f2bf7[_0x3bf5dd(0x1b2)],'actions':_0x24241d[_0x3bf5dd(0x225)](_0x4c528d['actions'],_0x1f2bf7['actions'])}};},{})],_0x2f1f53=(_0xb4ddbf=(_0x31e61e=_0x5e2df6[_0x4518ca(0x33d)]())==null?void 0x0:_0x31e61e['userID'])!=null?_0xb4ddbf:_0x4518ca(0x17e),_0xf14ceb=(_0x3bd2b0=(_0x4ec94d=_0x5e2df6['getCurrentUser']())==null?void 0x0:_0x4ec94d[_0x4518ca(0x2f5)])!=null?_0x3bd2b0:_0x4518ca(0x17e);return{'changeset':{'unitID':_0x48a8bd,'type':_0x4cdbf7(_0xc73746[_0x4518ca(0x1fd)](_0x48a8bd)),'baseRev':_0x5df119[_0x4518ca(0x33a)](_0x48a8bd),'revision':0x0,'userID':_0x2f1f53,'memberID':_0xf14ceb,'mutations':_0x4ad282},'pendingMutations':[]};}function Si(_0x45bbd0,_0x485f40){var _0x2d7c75=_0x535906;const _0x2affa3=new _0x133ede(0x1);return setTimeout(()=>_0x2affa3[_0x2d7c75(0x266)](_0x485f40),_0x45bbd0),_0x2affa3[_0x2d7c75(0x384)]()['pipe'](_0x3c1092(0x1));}const $s={'id':_0x38d2c7['id'],'type':_0x3cbb14['MUTATION'],'params':{}};var Hs=Object[_0x535906(0x16f)],Ee=(_0x53a2fd,_0x2248be,_0x4a4d92,_0xbed033)=>{for(var _0x57c1f0=_0xbed033>0x1?void 0x0:_0xbed033?Hs(_0x2248be,_0x4a4d92):_0x2248be,_0x27bf72=_0x53a2fd['length']-0x1,_0x51bcfa;_0x27bf72>=0x0;_0x27bf72--)(_0x51bcfa=_0x53a2fd[_0x27bf72])&&(_0x57c1f0=_0x51bcfa(_0x57c1f0)||_0x57c1f0);return _0x57c1f0;},P=(_0xc5d627,_0x3fd821)=>(_0x3ea4bb,_0x25f076)=>_0x3fd821(_0x3ea4bb,_0x25f076,_0xc5d627),Ei=(_0x9da3da=>(_0x9da3da[_0x535906(0x2ef)]=_0x535906(0x12e),_0x9da3da[_0x535906(0x1ec)]=_0x535906(0x100),_0x9da3da[_0x535906(0x106)]=_0x535906(0x341),_0x9da3da[_0x535906(0x2f6)]='awaiting',_0x9da3da[_0x535906(0x242)]=_0x535906(0xab),_0x9da3da['FETCH_MISS']='fetch_missing',_0x9da3da[_0x535906(0x21d)]=_0x535906(0x89),_0x9da3da[_0x535906(0x184)]=_0x535906(0x253),_0x9da3da))(Ei||{});const Ii=0xea60;class Ie{constructor(_0x136113,_0x193c0f,_0x774e02,_0x1ccd68,_0x3fef62,_0x3a3776,_0x4ea887,_0x5e9a55,_0x31c900){var _0x18c8ea=_0x535906;N(this,_0x18c8ea(0x23b),null),N(this,_0x18c8ea(0xdc),[]),(this[_0x18c8ea(0x1a0)]=_0x136113,this['type']=_0x193c0f,this[_0x18c8ea(0x11d)]=_0x3fef62,this[_0x18c8ea(0x123)]=_0x3a3776,this[_0x18c8ea(0x1a5)]=_0x4ea887,this[_0x18c8ea(0x1cb)]=_0x5e9a55,this[_0x18c8ea(0x27d)]=_0x31c900,this[_0x18c8ea(0x23b)]=_0x774e02,this[_0x18c8ea(0xdc)]=_0x1ccd68);}['_checkMissing'](_0x1fdf2a){var _0x2dfe83=_0x535906;const _0x3e7719=this[_0x2dfe83(0x1cb)]['getCurrentRevOfUnit'](this['unitID']);return _0x1fdf2a[_0x2dfe83(0xa3)]>_0x3e7719+0x1?(this[_0x2dfe83(0x11d)][_0x2dfe83(0x2f2)]({'from':_0x3e7719,'to':_0x1fdf2a[_0x2dfe83(0xa3)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3fa3ad){var _0x14ee8d=_0x535906;this['_undoRedoService'][_0x14ee8d(0x13c)](this['unitID'],_0x3fa3ad);}[_0x535906(0x17c)](_0x38a089){var _0x1e5bf5=_0x535906,_0x1a9f51,_0x426ab8;(_0x426ab8=(_0x1a9f51=this['_handler'])[_0x1e5bf5(0x178)])==null||_0x426ab8[_0x1e5bf5(0x2e3)](_0x1a9f51,_0x38a089);}[_0x535906(0x256)](_0x586452){var _0x156a75=_0x535906,_0x2a4679,_0x4a79cc;return(_0x4a79cc=(_0x2a4679=this[_0x156a75(0x11d)])[_0x156a75(0x351)])==null?void 0x0:_0x4a79cc['call'](_0x2a4679,_0x586452);}['_transformStateCache'](_0x3815e8){var _0x44ddda=_0x535906,_0x495ad6,_0x2b654f;return(_0x2b654f=(_0x495ad6=this['_handler'])['onTransformState'])==null?void 0x0:_0x2b654f[_0x44ddda(0x2e3)](_0x495ad6,_0x3815e8);}[_0x535906(0xfd)](_0x1c9136){var _0x5af0d6=_0x535906,_0xf66a05,_0x3b2b89,_0x2036b0;return(_0x2036b0=(_0x3b2b89=(_0xf66a05=this[_0x5af0d6(0x11d)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3b2b89[_0x5af0d6(0x2e3)](_0xf66a05,_0x1c9136))!=null?_0x2036b0:_0x1c9136;}[_0x535906(0x1a8)](_0xb0ee6d){var _0x4464dc=_0x535906,_0xc7268b,_0x1c253c,_0x33d64f;return(_0x33d64f=(_0x1c253c=(_0xc7268b=this[_0x4464dc(0x11d)])[_0x4464dc(0x108)])==null?void 0x0:_0x1c253c[_0x4464dc(0x2e3)](_0xc7268b,_0xb0ee6d))!=null?_0x33d64f:_0xb0ee6d;}[_0x535906(0x355)](_0x223c77){var _0x250c5d=_0x535906,_0x38faf7,_0x230e7b;if(this[_0x250c5d(0x15a)]===Z[_0x250c5d(0x281)]){const {unitID:_0x136da5,mutations:_0x3240e5,memberID:_0x7602a9}=_0x223c77,_0x5d6411=_0x3240e5[0x0]['params'][_0x250c5d(0x1b2)];Array[_0x250c5d(0x35a)](_0x5d6411)&&_0x5d6411[_0x250c5d(0x2d5)]>0x0&&((_0x230e7b=(_0x38faf7=this['_handler'])[_0x250c5d(0xd9)])==null||_0x230e7b[_0x250c5d(0x2e3)](_0x38faf7,{'unitID':_0x136da5,'memberID':_0x7602a9,'textRanges':_0x5d6411}));}}[_0x535906(0x365)](){var _0x50a424=_0x535906,_0xc51c96;(_0xc51c96=this[_0x50a424(0x27d)])==null||_0xc51c96[_0x50a424(0x2fe)](this[_0x50a424(0x1a0)],this[_0x50a424(0x15a)],this['_awaitingChangeset'],this[_0x50a424(0xdc)]);}[_0x535906(0x1c8)](){var _0x18b419=_0x535906;return this[_0x18b419(0x1cb)]['getCurrentRevOfUnit'](this[_0x18b419(0x1a0)]);}[_0x535906(0x33b)](){var _0x1bfd6e=_0x535906;this[_0x1bfd6e(0x1cb)][_0x1bfd6e(0x8b)](this[_0x1bfd6e(0x1a0)]);}['_executeRemoteChangeset'](_0x5ea69f){var _0x30c8dc=_0x535906,_0x1051de;let _0x5231f9=this[_0x30c8dc(0xfd)](_0x5ea69f);_0x5231f9=this[_0x30c8dc(0x1a8)](_0x5231f9);const _0x475685=_0x2ba1fa(_0x5231f9[_0x30c8dc(0x316)],this[_0x30c8dc(0x123)],{'fromCollab':!0x0});if(!_0x475685['result'])throw _0x475685[_0x30c8dc(0xe6)]instanceof Error?_0x475685[_0x30c8dc(0xe6)]:new Error((_0x1051de=_0x475685[_0x30c8dc(0xe6)])!=null?_0x1051de:_0x30c8dc(0x23e));this['_transformIMECache'](_0x5231f9),this[_0x30c8dc(0x346)](_0x5231f9),this['_transformUndoredo'](_0x5ea69f),this['_transformSelections'](_0x5231f9),this['_syncEditingCollabCursor'](_0x5231f9),this['_incrementRevisionNumber']();}}let ye=class extends Ie{constructor(_0xa3f672,_0x446df9,_0x55b91f,_0x33c934,_0x1b002d,_0x4df882,_0x109996,_0x3980c8,_0x3359f2,_0x160086){var _0x26c519=_0x535906;super(_0xa3f672,_0x446df9,null,[],_0x55b91f,_0x109996,_0x4df882,_0x33c934,_0x160086),N(this,_0x26c519(0x9d),'synced'),(this['_injector']=_0x1b002d,this[_0x26c519(0x8c)]=_0x3980c8,this['_transformService']=_0x3359f2,this[_0x26c519(0x129)]=_0x160086);}[_0x535906(0x2e7)](_0x97fb3e){var _0x4cb7b7=_0x535906;const _0x431dbb=this['_injector']['createInstance'](re,this['unitID'],this[_0x4cb7b7(0x15a)],[_0x97fb3e],this[_0x4cb7b7(0x11d)]);return _0x431dbb[_0x4cb7b7(0x22c)](),_0x431dbb[_0x4cb7b7(0x365)](),_0x431dbb;}['onRemoteChangeset'](_0x199ab9){var _0x10e2a8=_0x535906;if(this[_0x10e2a8(0x29c)](_0x199ab9))return this[_0x10e2a8(0x15e)][_0x10e2a8(0x267)](Q,this[_0x10e2a8(0x1a0)],this[_0x10e2a8(0x15a)],null,[],null,[_0x199ab9],this[_0x10e2a8(0x11d)]);try{const _0x47cfd8=this[_0x10e2a8(0x217)][_0x10e2a8(0x167)](_0x199ab9,[$s]);if(_0x1edbbf(_0x47cfd8)){const {c1Prime:_0x316574}=_0x47cfd8;return this[_0x10e2a8(0x273)](_0x316574),this;}throw _0x47cfd8['error'];}catch(_0x8f3869){return this[_0x10e2a8(0x8c)][_0x10e2a8(0xe6)](_0x8f3869),this[_0x10e2a8(0x2cb)](!0x1);}}[_0x535906(0x2cb)](_0x536021){var _0x4893d3=_0x535906;return this['_injector']['createInstance'](le,this[_0x4893d3(0x1a0)],this[_0x4893d3(0x15a)],null,[],this[_0x4893d3(0x11d)],_0x536021);}[_0x535906(0x336)](){var _0x305972=_0x535906;throw new Error(_0x305972(0x186));}[_0x535906(0x1eb)](){var _0x14979a=_0x535906;throw new Error(_0x14979a(0x8a));}[_0x535906(0x145)](){return this;}['toggleOffline'](){var _0x2926af=_0x535906;return this[_0x2926af(0x15e)][_0x2926af(0x267)](ue,this['unitID'],this['type'],null,[],this[_0x2926af(0x11d)]);}[_0x535906(0x37b)](){return this;}['resend'](){var _0x423b83=_0x535906;throw new Error(_0x423b83(0x1ae));}[_0x535906(0x36f)](){var _0x465caf=_0x535906;const _0x22207=this[_0x465caf(0x1cb)][_0x465caf(0x33a)](this['unitID']);return this[_0x465caf(0x11d)]['onMissingChangesets']({'from':_0x22207,'to':0x0}),this[_0x465caf(0x15e)][_0x465caf(0x267)](Q,this[_0x465caf(0x1a0)],this[_0x465caf(0x15a)],null,[],null,[],this['_handler']);}};ye=Ee([P(0x3,_0x589d8c(_0x5b3e67)),P(0x4,_0x589d8c(_0xaf55dd)),P(0x5,_0x34400c),P(0x6,_0x2f40b7),P(0x7,_0x1cf341),P(0x8,_0x90cca5),P(0x9,_0x54373b(J))],ye);let re=class extends Ie{constructor(_0x44d100,_0x3ced16,_0x11ee85,_0x4fd8aa,_0x56dff7,_0x26bc39,_0x4a6b18,_0x1480d3,_0x468308,_0x6a6ffc,_0x252a38,_0x490715,_0x135a06,_0x3169d8){var _0x29920d=_0x535906;super(_0x44d100,_0x3ced16,null,_0x11ee85,_0x4fd8aa,_0x468308,_0x135a06,_0x26bc39,_0x3169d8),N(this,'status',_0x29920d(0x341)),N(this,_0x29920d(0xbb),null),N(this,_0x29920d(0x216),null),(this[_0x29920d(0x15e)]=_0x56dff7,this[_0x29920d(0x309)]=_0x4a6b18,this[_0x29920d(0x8c)]=_0x1480d3,this[_0x29920d(0x371)]=_0x6a6ffc,this[_0x29920d(0x217)]=_0x252a38,this['_univerInstanceService']=_0x490715);}[_0x535906(0x2e7)](_0x22a0b3){var _0x332eb0=_0x535906;return this[_0x332eb0(0xdc)][_0x332eb0(0x1f6)](_0x22a0b3),this['_updateLocalCache'](),this;}[_0x535906(0x1a1)](_0x30a36f){var _0x12d5a0=_0x535906;if(this[_0x12d5a0(0x29c)](_0x30a36f))return this[_0x12d5a0(0x22e)](),this[_0x12d5a0(0x15e)][_0x12d5a0(0x267)](Q,this[_0x12d5a0(0x1a0)],this['type'],null,this[_0x12d5a0(0xdc)],null,[_0x30a36f],this[_0x12d5a0(0x11d)]);try{const _0x4e6c08=this[_0x12d5a0(0x217)][_0x12d5a0(0x167)](_0x30a36f,this[_0x12d5a0(0xdc)]);if(_0x1edbbf(_0x4e6c08)){const {c1Prime:_0x3990ae,m2Prime:_0x316552}=_0x4e6c08;this[_0x12d5a0(0x273)](_0x3990ae);const _0x13a959=this['_injector'][_0x12d5a0(0x267)](re,this[_0x12d5a0(0x1a0)],this[_0x12d5a0(0x15a)],_0x316552,this[_0x12d5a0(0x11d)]);this['_clearScheduledTask']();const _0x91c771=new Date()['getTime'](),_0x268592=this['_scheduleCompleteTimestamp']?Math[_0x12d5a0(0x116)](this[_0x12d5a0(0xbb)]-_0x91c771,0x0):this['_getSendChangesetTimeout']();return _0x13a959[_0x12d5a0(0x22c)](_0x268592),_0x13a959;}throw _0x4e6c08[_0x12d5a0(0xe6)];}catch(_0x566a29){return this[_0x12d5a0(0x8c)][_0x12d5a0(0xe6)](_0x566a29),this['_onConflict'](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x535906(0x1eb)](){var _0x4cf801=_0x535906;throw new Error(_0x4cf801(0xdf));}[_0x535906(0x145)](){return this;}['toggleOffline'](){var _0x324add=_0x535906;return this[_0x324add(0x22e)](),this[_0x324add(0x15e)][_0x324add(0x267)](ue,this[_0x324add(0x1a0)],this['type'],null,this['_pendingMutations'],this[_0x324add(0x11d)]);}[_0x535906(0x37b)](){return this;}[_0x535906(0x22c)](_0x545b14){var _0xb696fa=_0x535906;const _0x3a0a55=_0x545b14!=null?_0x545b14:this[_0xb696fa(0x16d)]();this['_scheduleCompleteTimestamp']=new Date()[_0xb696fa(0x292)]()+_0x3a0a55,this['_sendingTimer']=setTimeout(()=>{var _0x499aae=_0xb696fa;this[_0x499aae(0x22e)]();let _0x15e07d=null;switch(this[_0x499aae(0x15a)]){case Z[_0x499aae(0x223)]:{_0x15e07d=Wt(this[_0x499aae(0xdc)],this[_0x499aae(0x1a0)],this['_univerInstanceService'],this[_0x499aae(0x1cb)],this[_0x499aae(0x309)]);break;}case Z['UNIVER_DOC']:{this[_0x499aae(0xdc)][_0x499aae(0x155)](_0x43e4c5=>_0x43e4c5['id']===_0x24e542['id'])?_0x15e07d=ks(this[_0x499aae(0xdc)],this[_0x499aae(0x1a0)],this[_0x499aae(0xaa)],this['_revisionService'],this[_0x499aae(0x309)]):_0x15e07d=Wt(this['_pendingMutations'],this['unitID'],this[_0x499aae(0xaa)],this[_0x499aae(0x1cb)],this[_0x499aae(0x309)]);break;}default:throw new Error(_0x499aae(0x97)+this['type']+_0x499aae(0x1b4));}const {changeset:_0x5d0194,pendingMutations:_0x5a2798}=_0x15e07d;this[_0x499aae(0x11d)][_0x499aae(0x16e)](_0x5d0194);const _0x54cd90=_0x5a2798[_0x499aae(0x2d5)]?this[_0x499aae(0x15e)]['createInstance'](ae,this[_0x499aae(0x1a0)],this[_0x499aae(0x15a)],_0x5d0194,_0x5a2798,this[_0x499aae(0x11d)],void 0x0):this[_0x499aae(0x15e)][_0x499aae(0x267)](_e,this[_0x499aae(0x1a0)],this['type'],_0x5d0194,this[_0x499aae(0x11d)]);_0x54cd90['_updateLocalCache'](),this[_0x499aae(0x11d)]['onStateChange'](this,_0x54cd90);},_0x3a0a55);}[_0x535906(0x16d)](){var _0x3d8bd9=_0x535906,_0x2b565f;const _0x3ffc90=this['_configService']['getConfig'](K);return(_0x2b565f=_0x3ffc90==null?void 0x0:_0x3ffc90[_0x3d8bd9(0x2e9)])!=null?_0x2b565f:ps;}[_0x535906(0x1c2)](){var _0x40ada0=_0x535906;throw new Error(_0x40ada0(0x208));}['_clearScheduledTask'](){var _0x2aa5f5=_0x535906;this[_0x2aa5f5(0x216)]!=null&&(clearTimeout(this[_0x2aa5f5(0x216)]),this[_0x2aa5f5(0x216)]=null);}[_0x535906(0x2cb)](_0x5b278c){var _0x5e8624=_0x535906;return this[_0x5e8624(0x22e)](),this[_0x5e8624(0x15e)]['createInstance'](le,this[_0x5e8624(0x1a0)],this[_0x5e8624(0x15a)],null,this['_pendingMutations'],this['_handler'],_0x5b278c);}};re=Ee([P(0x4,_0x589d8c(_0xaf55dd)),P(0x5,_0x589d8c(_0x5b3e67)),P(0x6,_0x589d8c(we)),P(0x7,_0x1cf341),P(0x8,_0x2f40b7),P(0x9,_0x47a418),P(0xa,_0x90cca5),P(0xb,_0x2deb16),P(0xc,_0x34400c),P(0xd,_0x54373b(J))],re);let _e=class extends Ie{constructor(_0x953461,_0x3b7201,_0x4e81f3,_0x40e2e3,_0x217506,_0x3e57b4,_0x298540,_0x34c015,_0x38c53d,_0x20e8af,_0xbb3b4a){var _0x422034=_0x535906;super(_0x953461,_0x3b7201,_0x4e81f3,[],_0x40e2e3,_0x298540,_0x20e8af,_0x3e57b4,_0xbb3b4a),N(this,_0x422034(0x9d),'awaiting'),N(this,_0x422034(0x233),0x0),N(this,_0x422034(0x134)),N(this,_0x422034(0x1fc)),(this[_0x422034(0x15e)]=_0x217506,this[_0x422034(0x8c)]=_0x34c015,this[_0x422034(0x217)]=_0x38c53d);}['appendMutation'](_0x3a610d){var _0x50fe73=_0x535906;this['_clearScheduledTask']();const _0x3212ee=this[_0x50fe73(0x15e)][_0x50fe73(0x267)](ae,this['unitID'],this[_0x50fe73(0x15a)],this[_0x50fe73(0x23b)],[_0x3a610d],this[_0x50fe73(0x11d)],this[_0x50fe73(0x134)]);return _0x3212ee['_updateLocalCache'](),_0x3212ee;}[_0x535906(0x1a1)](_0xce2715){var _0x68dc48=_0x535906;if(this[_0x68dc48(0x29c)](_0xce2715))return this[_0x68dc48(0x22e)](),this[_0x68dc48(0x15e)][_0x68dc48(0x267)](Q,this[_0x68dc48(0x1a0)],this[_0x68dc48(0x15a)],this[_0x68dc48(0x23b)],[],null,[_0xce2715],this[_0x68dc48(0x11d)]);try{const _0x56b925=this[_0x68dc48(0x217)][_0x68dc48(0x30e)]([_0xce2715],[this[_0x68dc48(0x23b)]],!0x1);if(_0x4cee28(_0x56b925)){const {c1Prime:_0x25a462,c2Prime:_0x2894df}=_0x56b925;this[_0x68dc48(0x273)](_0x25a462[0x0]),_0x2894df[0x0][_0x68dc48(0x1c1)]=this['_getCurrentRevision'](),this['_clearScheduledTask']();const _0x1bbf93=this[_0x68dc48(0x15e)]['createInstance'](_e,this[_0x68dc48(0x1a0)],this[_0x68dc48(0x15a)],_0x2894df[0x0],this['_handler']);return _0x1bbf93[_0x68dc48(0x365)](),_0x1bbf93;}return this[_0x68dc48(0x2cb)](!0x1);}catch(_0x2697bd){return this[_0x68dc48(0x8c)][_0x68dc48(0xe6)](_0x2697bd),this[_0x68dc48(0x2cb)](!0x1);}}[_0x535906(0x336)](_0x205e9f){var _0x336927=_0x535906;this[_0x336927(0x22e)]();const _0x209027=this[_0x336927(0x1cb)][_0x336927(0x33a)](this[_0x336927(0x1a0)]);if(_0x205e9f[_0x336927(0xa3)]<_0x209027-0x1)return this;if(this[_0x336927(0x29c)](_0x205e9f))return this[_0x336927(0x15e)][_0x336927(0x267)](Q,this['unitID'],this[_0x336927(0x15a)],null,[],this[_0x336927(0x23b)],[],this[_0x336927(0x11d)]);this[_0x336927(0x33b)]();const _0x25e768=this[_0x336927(0x15e)][_0x336927(0x267)](ye,this[_0x336927(0x1a0)],this[_0x336927(0x15a)],this[_0x336927(0x11d)]);return _0x25e768['_updateLocalCache'](),_0x25e768;}[_0x535906(0x1eb)](_0x5ac69a){var _0x1247d1=_0x535906;return this['_onConflict'](!!(_0x5ac69a!=null&&_0x5ac69a[_0x1247d1(0x146)]));}[_0x535906(0x145)](_0x118d90){var _0x271687=_0x535906;return this[_0x271687(0x233)]>Ii?this['toggleOffline']():(this[_0x271687(0x134)]=Si(this[_0x271687(0x233)],{'timeout':this[_0x271687(0x233)],'reqId':_0x118d90[_0x271687(0x330)]}),this['_sender']=this[_0x271687(0x134)][_0x271687(0xb7)](({reqId:_0x4b3d43,timeout:_0x1eb427})=>{var _0x1d59c5=_0x271687;this[_0x1d59c5(0x14e)](_0x4b3d43,_0x1eb427);}),this);}['toggleOffline'](){var _0x3ac4ef=_0x535906;return this['_clearScheduledTask'](),this[_0x3ac4ef(0x15e)]['createInstance'](ue,this['unitID'],this['type'],this[_0x3ac4ef(0x23b)],[],this[_0x3ac4ef(0x11d)]);}['toggleOnline'](){return this;}[_0x535906(0x1c2)](){var _0x7a4d97=_0x535906;this[_0x7a4d97(0x11d)][_0x7a4d97(0x16e)](this[_0x7a4d97(0x23b)]);}[_0x535906(0x2cb)](_0x239dd3){var _0x44e973=_0x535906;return this[_0x44e973(0x22e)](),this['_injector'][_0x44e973(0x267)](le,this[_0x44e973(0x1a0)],this[_0x44e973(0x15a)],this[_0x44e973(0x23b)],[],this[_0x44e973(0x11d)],_0x239dd3);}[_0x535906(0x14e)](_0x4b962e,_0x2b9f8c){var _0x533a3e=_0x535906,_0x4d7c9e;_0x4b962e===((_0x4d7c9e=this[_0x533a3e(0x23b)])==null?void 0x0:_0x4d7c9e[_0x533a3e(0x330)])&&(this[_0x533a3e(0x1c2)](),this['_resendTimeout']=_0x2b9f8c===0x0?0x3e8:_0x2b9f8c*0x2);}[_0x535906(0x22e)](){var _0x2a0f68=_0x535906,_0x4f449d;(_0x4f449d=this[_0x2a0f68(0x1fc)])==null||_0x4f449d[_0x2a0f68(0x2ba)](),this[_0x2a0f68(0x233)]=0x0;}};_e=Ee([P(0x4,_0x589d8c(_0xaf55dd)),P(0x5,_0x589d8c(_0x5b3e67)),P(0x6,_0x2f40b7),P(0x7,_0x1cf341),P(0x8,_0x90cca5),P(0x9,_0x34400c),P(0xa,_0x54373b(J))],_e);let ae=class extends Ie{constructor(_0x1ee9ae,_0x1e6112,_0x3a9ef8,_0x2cd960,_0x54eff1,_0x4951ae,_0x4a2f43,_0x22aea0,_0x25ecb2,_0x188172,_0x559231,_0x39d1e6,_0x39273c){var _0x219b63=_0x535906;super(_0x1ee9ae,_0x1e6112,_0x3a9ef8,_0x2cd960,_0x54eff1,_0x25ecb2,_0x39d1e6,_0x22aea0,_0x39273c),N(this,'status',_0x219b63(0xab)),N(this,'_resendTimeout',0x0),N(this,'_resendTimer'),N(this,_0x219b63(0x1fc)),(this['_injector']=_0x4a2f43,this[_0x219b63(0x8c)]=_0x188172,this['_transformService']=_0x559231,this['localCacheService']=_0x39273c,_0x4951ae&&(this[_0x219b63(0x134)]=_0x4951ae,this['_sender']=this[_0x219b63(0x134)][_0x219b63(0xb7)](({reqId:_0x72991a,timeout:_0xdf6b9})=>{var _0x5b191f=_0x219b63;this[_0x5b191f(0x14e)](_0x72991a,_0xdf6b9);})));}[_0x535906(0x2e7)](_0x4a2456){var _0x2dc86d=_0x535906;return this[_0x2dc86d(0xdc)][_0x2dc86d(0x1f6)](_0x4a2456),this;}[_0x535906(0x1a1)](_0x4e24af){var _0x4d7d76=_0x535906;if(this[_0x4d7d76(0x29c)](_0x4e24af))return this[_0x4d7d76(0x22e)](),this['_injector'][_0x4d7d76(0x267)](Q,this[_0x4d7d76(0x1a0)],this[_0x4d7d76(0x15a)],this[_0x4d7d76(0x23b)],this[_0x4d7d76(0xdc)],null,[_0x4e24af],this[_0x4d7d76(0x11d)]);try{const _0x8016fc=this[_0x4d7d76(0x217)][_0x4d7d76(0x30e)]([_0x4e24af],[this[_0x4d7d76(0x23b)]],!0x1);if(_0x4cee28(_0x8016fc)){const {c1Prime:_0x597373,c2Prime:_0xe8e8b3}=_0x8016fc,_0x144f12=this[_0x4d7d76(0x217)]['transformMutationsWithChangeset'](_0x597373[0x0],this[_0x4d7d76(0xdc)]);if(_0x1edbbf(_0x144f12)){const {c1Prime:_0x414f16,m2Prime:_0xa1eed6}=_0x144f12;return this['_executeRemoteChangeset'](_0x414f16),_0xe8e8b3[0x0][_0x4d7d76(0x1c1)]=this[_0x4d7d76(0x1c8)](),this[_0x4d7d76(0x22e)](),this[_0x4d7d76(0x15e)][_0x4d7d76(0x267)](ae,this[_0x4d7d76(0x1a0)],this['type'],_0xe8e8b3[0x0],_0xa1eed6,this[_0x4d7d76(0x11d)],void 0x0);}throw _0x144f12[_0x4d7d76(0xe6)];}throw _0x8016fc[_0x4d7d76(0xe6)];}catch(_0x129775){return this[_0x4d7d76(0x8c)]['error'](_0x129775),this[_0x4d7d76(0x2cb)](!0x1);}}[_0x535906(0x336)](_0x5bd207){var _0x2e5cd1=_0x535906;if(this['_clearScheduledTask'](),this[_0x2e5cd1(0x29c)](_0x5bd207))return this[_0x2e5cd1(0x15e)][_0x2e5cd1(0x267)](Q,this['unitID'],this[_0x2e5cd1(0x15a)],null,this[_0x2e5cd1(0xdc)],this['_awaitingChangeset'],[],this['_handler']);this[_0x2e5cd1(0x33b)]();const _0x9bb449=this[_0x2e5cd1(0x15e)][_0x2e5cd1(0x267)](re,this['unitID'],this['type'],this[_0x2e5cd1(0xdc)],this[_0x2e5cd1(0x11d)]);return _0x9bb449['_schedule'](),_0x9bb449[_0x2e5cd1(0x365)](),_0x9bb449;}[_0x535906(0x1eb)](_0x1d383a){var _0x3b4ea9=_0x535906;return this[_0x3b4ea9(0x2cb)](!!(_0x1d383a!=null&&_0x1d383a[_0x3b4ea9(0x146)]));}[_0x535906(0x145)](_0x231d02){var _0x108ed3=_0x535906;return this[_0x108ed3(0x233)]>Ii?this['toggleOffline']():(this['_resendTimer']=Si(this[_0x108ed3(0x233)],{'timeout':this[_0x108ed3(0x233)],'reqId':_0x231d02[_0x108ed3(0x330)]}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x1f84f3,timeout:_0x64fc2c})=>{var _0x3b5506=_0x108ed3;this[_0x3b5506(0x14e)](_0x1f84f3,_0x64fc2c);}),this);}[_0x535906(0x197)](){var _0x1e1f59=_0x535906;return this['_clearScheduledTask'](),this[_0x1e1f59(0x15e)][_0x1e1f59(0x267)](ue,this[_0x1e1f59(0x1a0)],this[_0x1e1f59(0x15a)],this[_0x1e1f59(0x23b)],this['_pendingMutations'],this['_handler']);}[_0x535906(0x37b)](){return this;}[_0x535906(0x1c2)](){var _0xa4e87c=_0x535906;this['_handler'][_0xa4e87c(0x16e)](this[_0xa4e87c(0x23b)]);}[_0x535906(0x2cb)](_0x3bf8b3){var _0x30dd49=_0x535906;return this[_0x30dd49(0x22e)](),this[_0x30dd49(0x15e)][_0x30dd49(0x267)](le,this['unitID'],this[_0x30dd49(0x15a)],null,this['_pendingMutations'],this[_0x30dd49(0x11d)],_0x3bf8b3);}[_0x535906(0x14e)](_0x3703c7,_0x3ed07b){var _0x5cc795=_0x535906,_0x72cf79;_0x3703c7===((_0x72cf79=this[_0x5cc795(0x23b)])==null?void 0x0:_0x72cf79['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x3ed07b===0x0?0x3e8:_0x3ed07b*0x2);}[_0x535906(0x22e)](){var _0x54b78a=_0x535906,_0x569a7a;(_0x569a7a=this['_sender'])==null||_0x569a7a[_0x54b78a(0x2ba)](),this[_0x54b78a(0x233)]=0x0;}};ae=Ee([P(0x6,_0x589d8c(_0xaf55dd)),P(0x7,_0x589d8c(_0x5b3e67)),P(0x8,_0x2f40b7),P(0x9,_0x1cf341),P(0xa,_0x90cca5),P(0xb,_0x34400c),P(0xc,_0x54373b(J))],ae);let le=class extends Ie{constructor(_0x118c82,_0x1fc918,_0x1552b9,_0x4c0599,_0x176c2a,_0x5bc0ed=!0x1,_0xbd3406,_0x3ef2f6,_0x3077a2,_0x2b6493,_0x59f275,_0x57de11,_0x2eee55){var _0x34def3=_0x535906;super(_0x118c82,_0x1fc918,_0x1552b9,_0x4c0599,_0x176c2a,_0x3ef2f6,_0x3077a2,_0x2b6493,_0x2eee55),N(this,_0x34def3(0x9d),_0x34def3(0x89)),(this[_0x34def3(0x294)]=_0x5bc0ed,this[_0x34def3(0x144)]=_0xbd3406,this[_0x34def3(0x367)]=_0x59f275,this[_0x34def3(0x102)]=_0x57de11,this[_0x34def3(0x129)]=_0x2eee55,this[_0x34def3(0xe9)](),this[_0x34def3(0x293)](),this[_0x34def3(0x19d)]());}['appendMutation'](){return this;}['onRemoteChangeset'](){return this;}[_0x535906(0x336)](){return this;}[_0x535906(0x1eb)](){return this;}[_0x535906(0x145)](){return this;}['toggleOffline'](){return this;}[_0x535906(0x37b)](){return this;}[_0x535906(0x1c2)](){var _0x216a81=_0x535906;throw new Error(_0x216a81(0xa5));}['_clearLocalCache'](){var _0x56c7e3=_0x535906,_0x29830a;(_0x29830a=this['_localCacheService'])==null||_0x29830a[_0x56c7e3(0x2fe)](this['unitID'],this['type'],null,[]);}[_0x535906(0xe9)](){var _0x52fde2=_0x535906;this[_0x52fde2(0x294)]?this[_0x52fde2(0x102)][_0x52fde2(0x1cc)]({'id':ne[_0x52fde2(0x333)]}):this['_collaborationUIEventService'][_0x52fde2(0x1cc)]({'id':ne[_0x52fde2(0x21d)]});}['_disableEditing'](){var _0x5621d9=_0x535906;this[_0x5621d9(0x144)][_0x5621d9(0x11c)](new _0x481c38(this[_0x5621d9(0x1a0)])['id'],!0x1);}};le=Ee([P(0x6,_0x589d8c(_0x1941bc)),P(0x7,_0x2f40b7),P(0x8,_0x34400c),P(0x9,_0x589d8c(_0x5b3e67)),P(0xa,_0x589d8c(_0x31b51e)),P(0xb,_0x589d8c(ve)),P(0xc,_0x54373b(J))],le);let ue=class extends Ie{constructor(_0x50334d,_0x5a9f17,_0x249d2e,_0x229cc2,_0x2c9611,_0x3a25b4,_0x5c8936,_0x25bdb8,_0x4ba65f,_0xa6d99d){var _0x14e764=_0x535906;super(_0x50334d,_0x5a9f17,_0x249d2e,_0x229cc2,_0x2c9611,_0x25bdb8,_0x4ba65f,_0x5c8936,_0xa6d99d),N(this,_0x14e764(0x9d),_0x14e764(0x253)),this[_0x14e764(0x15e)]=_0x3a25b4;}['appendMutation'](_0x477ff3){var _0x3722f4=_0x535906;return this[_0x3722f4(0xdc)][_0x3722f4(0x1f6)](_0x477ff3),this[_0x3722f4(0x365)](),this;}[_0x535906(0x1a1)](_0x20c3e7){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x535906(0x336)](){var _0xbb122b=_0x535906;throw new Error(_0xbb122b(0x28f));}[_0x535906(0x1eb)](){var _0x49bf56=_0x535906;throw new Error(_0x49bf56(0x321));}[_0x535906(0x145)](){return this;}['toggleOffline'](){return this;}[_0x535906(0x37b)](){var _0x1077eb=_0x535906;const {_injector:_0x490288,_pendingMutations:_0x1adb4d,_awaitingChangeset:_0x321250,unitID:_0x147927,_handler:_0x1dc5db,type:_0x59986a}=this,_0x458cd5=Ti(_0x490288,_0x147927,_0x59986a,_0x321250,_0x1adb4d,_0x1dc5db);return _0x458cd5 instanceof re?_0x458cd5[_0x1077eb(0x22c)]():(_0x458cd5 instanceof ae||_0x458cd5 instanceof _e)&&_0x458cd5[_0x1077eb(0x1c2)](),_0x458cd5;}[_0x535906(0x1c2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ee([P(0x5,_0x589d8c(_0xaf55dd)),P(0x6,_0x589d8c(_0x5b3e67)),P(0x7,_0x2f40b7),P(0x8,_0x34400c),P(0x9,_0x54373b(J))],ue);let Q=class extends Ie{constructor(_0x238564,_0x10d204,_0x130b44,_0x564d25,_0x371ba9,_0x33f911,_0x1316f8,_0x201038,_0x3f98a2,_0x5cd56c,_0x428758,_0x38b469,_0x1b2e9d,_0x3a96e5){var _0x175022=_0x535906;super(_0x238564,_0x10d204,_0x130b44,_0x564d25,_0x1316f8,_0x428758,_0x38b469,_0x3f98a2,_0x3a96e5),N(this,_0x175022(0x9d),_0x175022(0x14d)),(this[_0x175022(0x2ae)]=_0x371ba9,this[_0x175022(0x15f)]=_0x33f911,this[_0x175022(0x15e)]=_0x201038,this[_0x175022(0x8c)]=_0x5cd56c,this[_0x175022(0x217)]=_0x1b2e9d,this['localCacheService']=_0x3a96e5);}[_0x535906(0x138)](_0x324d2a){var _0x2c3fb6=_0x535906;try{const _0x3f39b4=[..._0x324d2a,...this[_0x2c3fb6(0x15f)]],_0x36f504=[this[_0x2c3fb6(0x23b)]||this[_0x2c3fb6(0x2ae)]]['filter'](_0x4d917d=>!!_0x4d917d);let _0x43a2e2,_0x40a20a;if(_0x36f504[_0x2c3fb6(0x2d5)]){const _0x446da6=this[_0x2c3fb6(0x217)][_0x2c3fb6(0x30e)](_0x3f39b4,_0x36f504,!0x1);if(!_0x4cee28(_0x446da6))throw _0x446da6[_0x2c3fb6(0xe6)];_0x43a2e2=_0x446da6[_0x2c3fb6(0xa0)],_0x40a20a=_0x446da6['c2Prime'];}else _0x43a2e2=_0x3f39b4,_0x40a20a=[];let _0x550d25=this[_0x2c3fb6(0xdc)];_0x43a2e2['forEach'](_0x49927a=>{var _0x265a20=_0x2c3fb6;let _0x2c0d28;if(_0x550d25['length']){const _0xba4c1e=this[_0x265a20(0x217)][_0x265a20(0x167)](_0x49927a,_0x550d25);if(!_0x1edbbf(_0xba4c1e))throw _0xba4c1e['error'];_0x2c0d28=_0xba4c1e[_0x265a20(0xa0)],_0x550d25=_0xba4c1e[_0x265a20(0x27f)];}else _0x2c0d28=_0x49927a;this['_executeRemoteChangeset'](_0x2c0d28);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2c3fb6(0x33b)](),this['_awaitingChangeset']&&_0x40a20a['length']&&(_0x40a20a[0x0]['baseRev']=this[_0x2c3fb6(0x1c8)]());let _0x5ace8b;if(this[_0x2c3fb6(0x23b)]&&_0x550d25[_0x2c3fb6(0x2d5)]!==0x0)_0x5ace8b=this['_injector'][_0x2c3fb6(0x267)](ae,this[_0x2c3fb6(0x1a0)],this[_0x2c3fb6(0x15a)],_0x40a20a[0x0],_0x550d25,this[_0x2c3fb6(0x11d)],void 0x0);else{if(this[_0x2c3fb6(0x23b)]&&_0x550d25[_0x2c3fb6(0x2d5)]===0x0)_0x40a20a[0x0][_0x2c3fb6(0x1c1)]=this[_0x2c3fb6(0x1c8)](),_0x5ace8b=this[_0x2c3fb6(0x15e)]['createInstance'](_e,this[_0x2c3fb6(0x1a0)],this[_0x2c3fb6(0x15a)],_0x40a20a[0x0],this[_0x2c3fb6(0x11d)]);else{if(_0x550d25[_0x2c3fb6(0x2d5)]!==0x0){const _0x4ec232=this[_0x2c3fb6(0x15e)][_0x2c3fb6(0x267)](re,this[_0x2c3fb6(0x1a0)],this['type'],_0x550d25,this['_handler']);_0x4ec232[_0x2c3fb6(0x22c)](),_0x5ace8b=_0x4ec232;}else _0x5ace8b=this[_0x2c3fb6(0x15e)][_0x2c3fb6(0x267)](ye,this['unitID'],this[_0x2c3fb6(0x15a)],this['_handler']);}}return _0x5ace8b[_0x2c3fb6(0x365)](),_0x5ace8b;}catch(_0x317f15){return this['_logService'][_0x2c3fb6(0xe6)](_0x2c3fb6(0x168),_0x2c3fb6(0x369),_0x317f15),this['_injector'][_0x2c3fb6(0x267)](le,this[_0x2c3fb6(0x1a0)],this[_0x2c3fb6(0x15a)],this[_0x2c3fb6(0x23b)],this[_0x2c3fb6(0xdc)],this[_0x2c3fb6(0x11d)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x535906(0x2e7)](_0x45122f){var _0x41da90=_0x535906;return this[_0x41da90(0xdc)][_0x41da90(0x1f6)](_0x45122f),this;}['onRemoteChangeset'](_0x32d0e6){var _0x2856c8=_0x535906;return this[_0x2856c8(0x15f)][_0x2856c8(0x1f6)](_0x32d0e6),this;}[_0x535906(0x336)](_0x5ddd1f){var _0x406755=_0x535906;if(this[_0x406755(0x23b)])return this[_0x406755(0x2ae)]=this[_0x406755(0x23b)],this['_awaitingChangeset']=null,this;throw new Error(_0x406755(0x32c));}[_0x535906(0x1eb)](_0xce89d6){var _0x569f17=_0x535906;return this[_0x569f17(0x2cb)](!!(_0xce89d6!=null&&_0xce89d6[_0x569f17(0x146)]));}[_0x535906(0x145)](){return this;}[_0x535906(0x197)](){var _0x4112d3=_0x535906;return this[_0x4112d3(0x15e)][_0x4112d3(0x267)](ue,this[_0x4112d3(0x1a0)],this[_0x4112d3(0x15a)],this[_0x4112d3(0x23b)],this[_0x4112d3(0xdc)],this[_0x4112d3(0x11d)]);}['toggleOnline'](){return this;}[_0x535906(0x2cb)](_0x57a744){var _0x1f2628=_0x535906;return this[_0x1f2628(0x15e)]['createInstance'](le,this['unitID'],this['type'],this[_0x1f2628(0x23b)],this[_0x1f2628(0xdc)],this[_0x1f2628(0x11d)],_0x57a744);}};Q=Ee([P(0x7,_0x589d8c(_0xaf55dd)),P(0x8,_0x589d8c(_0x5b3e67)),P(0x9,_0x1cf341),P(0xa,_0x2f40b7),P(0xb,_0x34400c),P(0xc,_0x90cca5),P(0xd,_0x54373b(J))],Q);function Ti(_0x31ddfd,_0x41d99b,_0x5e73ec,_0x284c39,_0x3b0058,_0x42021b){var _0x57c06d=_0x535906;return _0x284c39&&_0x3b0058['length']?_0x31ddfd['createInstance'](ae,_0x41d99b,_0x5e73ec,_0x284c39,_0x3b0058,_0x42021b,void 0x0):_0x284c39?_0x31ddfd[_0x57c06d(0x267)](_e,_0x41d99b,_0x5e73ec,_0x284c39,_0x42021b):_0x3b0058[_0x57c06d(0x2d5)]?_0x31ddfd[_0x57c06d(0x267)](re,_0x41d99b,_0x5e73ec,_0x3b0058,_0x42021b):_0x31ddfd['createInstance'](ye,_0x41d99b,_0x5e73ec,_0x42021b);}var Bs=Object[_0x535906(0x16f)],wt=(_0x3bbc6e,_0x59f4ee,_0x5a39d0,_0x314652)=>{var _0x1da2b3=_0x535906;for(var _0x1e586b=_0x314652>0x1?void 0x0:_0x314652?Bs(_0x59f4ee,_0x5a39d0):_0x59f4ee,_0x43aa35=_0x3bbc6e[_0x1da2b3(0x2d5)]-0x1,_0x241aca;_0x43aa35>=0x0;_0x43aa35--)(_0x241aca=_0x3bbc6e[_0x43aa35])&&(_0x1e586b=_0x241aca(_0x1e586b)||_0x1e586b);return _0x1e586b;},H=(_0x4e7b4b,_0x568a9e)=>(_0x463fbe,_0x5c54f7)=>_0x568a9e(_0x463fbe,_0x5c54f7,_0x4e7b4b);let st=class extends _0x8b2103{constructor(_0x58477e,_0xdd5d3f,_0x4e4f31,_0x3bae98,_0x1db5d3,_0x34558a,_0x2d5e37,_0x8d26ea,_0x4c3f0e,_0x208b43,_0x5e455f,_0x49d34c,_0x115853){var _0x153082=_0x535906;super(),N(this,_0x153082(0x1a4),new _0x32e0ef(null)),N(this,_0x153082(0x164),this[_0x153082(0x1a4)][_0x153082(0x384)]()),N(this,'_state'),N(this,_0x153082(0xba),!0x1),N(this,_0x153082(0x110),''),N(this,_0x153082(0x183),0x0),N(this,_0x153082(0x1ca),this[_0x153082(0x164)][_0x153082(0x114)](_0xf163b1(_0x4c94bc=>_0x4c94bc?_0x4c94bc[_0x153082(0x9d)]:Ei['OFFLINE']),_0x1ace61(0x1))),N(this,_0x153082(0x218),!0x1),N(this,_0x153082(0x147),[]),(this['unitID']=_0x58477e,this['session']=_0xdd5d3f,this[_0x153082(0x259)]=_0x4e4f31,this['_injector']=_0x3bae98,this[_0x153082(0x18e)]=_0x1db5d3,this[_0x153082(0x367)]=_0x34558a,this[_0x153082(0x1cb)]=_0x2d5e37,this[_0x153082(0x2d0)]=_0x8d26ea,this[_0x153082(0x8c)]=_0x4c3f0e,this[_0x153082(0x123)]=_0x208b43,this['_permissionService']=_0x5e455f,this[_0x153082(0x310)]=_0x49d34c,this[_0x153082(0x27d)]=_0x115853);}get[_0x535906(0x130)](){var _0x3a57a3=_0x535906;return this[_0x3a57a3(0x1ee)];}async[_0x535906(0x248)](){var _0x5a87b0=_0x535906;if(this['state'])throw new Error(_0x5a87b0(0x1bb));await this['_init']();}[_0x535906(0x152)](){var _0x2453b9=_0x535906;return this[_0x2453b9(0xba)]=!0x0,_0x1332c1(()=>{var _0x34d31e=_0x2453b9;this[_0x34d31e(0xba)]=!0x1,this[_0x34d31e(0x143)]();});}['onLocalMutation'](_0x38c31a){var _0x454f6b=_0x535906;this[_0x454f6b(0x1e2)](_0x38c31a);}[_0x535906(0xf1)](_0x39ec82){var _0x447f7b=_0x535906;this['_state']=_0x39ec82,this[_0x447f7b(0x1a4)][_0x447f7b(0x266)](_0x39ec82);}async['_init'](){var _0x2a1215=_0x535906,_0x345f90;this['_updateState'](await this['_createInitialState']()),this[_0x2a1215(0x310)]&&((_0x345f90=this['_singleActiveUnitService'])==null||_0x345f90[_0x2a1215(0x1ab)](this[_0x2a1215(0x1a0)]),this[_0x2a1215(0x350)](this['_singleActiveUnitService'][_0x2a1215(0x2c7)](this['unitID'])[_0x2a1215(0xb7)](_0x31b348=>{var _0x468517=_0x2a1215;this['_logService'][_0x468517(0x1d0)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x31b348),_0x31b348===gi[_0x468517(0x2c1)]?(this[_0x468517(0x2d0)][_0x468517(0x1cc)]({'id':ne['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x468517(0x11c)](new _0x481c38(this['unitID'])['id'],!0x1),this[_0x468517(0x144)][_0x468517(0x18a)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0x481c38(this[_0x468517(0x1a0)])['id'],!0x0),this[_0x468517(0x144)][_0x468517(0x18a)](!0x0));})));let _0x414e1b=!0x1;return this[_0x2a1215(0x350)](this[_0x2a1215(0x35c)][_0x2a1215(0x1c4)][_0x2a1215(0xb7)](_0x1fc01a=>{var _0xfb85ae=_0x2a1215;_0x1fc01a===ge[_0xfb85ae(0x2b8)]?this['_toggleOnline'](_0x414e1b):_0x1fc01a===ge[_0xfb85ae(0x184)]&&(_0x414e1b=!0x0,this[_0xfb85ae(0x229)]());})),this[_0x2a1215(0x350)](this[_0x2a1215(0x35c)][_0x2a1215(0x1d7)][_0x2a1215(0xb7)](_0x1d372f=>{var _0x41b337=_0x2a1215;try{switch(_0x1d372f[_0x41b337(0x1a9)]){case _0x4d2fd9[_0x41b337(0x11b)]:{this['_onRemoteChangeset'](_0x3a0e11(_0x1d372f[_0x41b337(0x26e)]));break;}case _0x4d2fd9['CHANGESET_ACK']:{this['_onRemoteACK'](_0x1d372f[_0x41b337(0x26e)]);break;}case _0x4d2fd9[_0x41b337(0x200)]:{this[_0x41b337(0x1aa)]();break;}case _0x4d2fd9['CHANGESET_SHOULD_RETRY']:{this[_0x41b337(0x8d)](_0x1d372f[_0x41b337(0x26e)]);break;}case _0x4d2fd9[_0x41b337(0x285)]:{this[_0x41b337(0x2b4)](_0x1d372f[_0x41b337(0x26e)]['changesets'][_0x41b337(0x2a2)](_0x31bc8e=>_0x3a0e11(_0x31bc8e)));break;}case _0x4d2fd9[_0x41b337(0x386)]:{this[_0x41b337(0x1aa)]({'isPermissionRej':!0x0});break;}case _0x4d2fd9[_0x41b337(0x2b9)]:break;}}catch(_0xc83eaf){throw console[_0x41b337(0xe6)]('Error\x20on\x20receiving\x20event',_0xc83eaf),_0xc83eaf;}})),this['_state'];}['_unlockTransition'](){var _0x254525=_0x535906;this[_0x254525(0x218)]=!0x1;}[_0x535906(0x24c)](){var _0x274d8c=_0x535906;if(this['_transitionLocked'])throw new Error(_0x274d8c(0x29b));this[_0x274d8c(0x218)]=!0x0;}['_onLocalMutation'](_0x552c37){var _0x4a1343=_0x535906;this[_0x4a1343(0x24c)](),this[_0x4a1343(0xf1)](this[_0x4a1343(0x1ee)][_0x4a1343(0x2e7)](_0x552c37)),this[_0x4a1343(0x36d)]();}[_0x535906(0xc7)](_0x7c5499){var _0x2d48c4=_0x535906;if(!(_0x7c5499['revision']<=this['_revisionService'][_0x2d48c4(0x33a)](this[_0x2d48c4(0x1a0)]))){if(this[_0x2d48c4(0xba)]){this[_0x2d48c4(0x147)][_0x2d48c4(0x1f6)](_0x7c5499);return;}this['_applyRemoteChangeset'](_0x7c5499);}}[_0x535906(0x143)](){var _0x3796bd=_0x535906;this['_remoteChangesetQueue'][_0x3796bd(0x194)](_0x8bb72c=>this[_0x3796bd(0x347)](_0x8bb72c)),this[_0x3796bd(0x147)]=[];}['_applyRemoteChangeset'](_0x260474){var _0x27ec19=_0x535906;const _0x1ede99=this[_0x27ec19(0x18e)]['interceptor'][_0x27ec19(0x36b)](this['_compressMutationService'][_0x27ec19(0x2a7)][_0x27ec19(0x171)]()[_0x27ec19(0xa6)])(_0x260474[_0x27ec19(0x316)],null)||_0x260474[_0x27ec19(0x316)],_0x269eda={..._0x260474,'mutations':_0x1ede99};this['_lockTransition'](),this[_0x27ec19(0xf1)](this['_state'][_0x27ec19(0x1a1)](_0x269eda)),this[_0x27ec19(0x36d)]();}['_onRemoteACK'](_0x433d75){var _0x13a4b2=_0x535906;this[_0x13a4b2(0x24c)](),this[_0x13a4b2(0xf1)](this[_0x13a4b2(0x1ee)][_0x13a4b2(0x336)](_0x433d75)),this[_0x13a4b2(0x36d)]();}[_0x535906(0x1aa)](_0x225da4){var _0x138554=_0x535906;this[_0x138554(0x24c)](),this[_0x138554(0xf1)](this['_state']['onRemoteRej'](_0x225da4)),this[_0x138554(0x36d)]();}[_0x535906(0x8d)](_0x373f1f){var _0x1d280c=_0x535906;this[_0x1d280c(0x24c)](),this[_0x1d280c(0xf1)](this[_0x1d280c(0x1ee)][_0x1d280c(0x145)](_0x373f1f)),this['_unlockTransition']();}[_0x535906(0x2b4)](_0x35c07f){var _0x4fc184=_0x535906;if(!(this['_state']instanceof Q))throw new TypeError(_0x4fc184(0x28b));const _0x37808d=_0x35c07f[_0x4fc184(0x2a2)](_0x5bd8ee=>{var _0x4a2240=_0x4fc184;const _0x39fa41=this[_0x4a2240(0x18e)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService']['interceptor'][_0x4a2240(0x171)]()[_0x4a2240(0xa6)])(_0x5bd8ee[_0x4a2240(0x316)],null)||_0x5bd8ee[_0x4a2240(0x316)];return{..._0x5bd8ee,'mutations':_0x39fa41};});this['_lockTransition'](),this['_updateState'](this[_0x4fc184(0x1ee)][_0x4fc184(0x138)](_0x37808d)),this[_0x4fc184(0x36d)]();}[_0x535906(0x229)](){var _0x562067=_0x535906;this[_0x562067(0x24c)](),this[_0x562067(0xf1)](this['_state'][_0x562067(0x197)]()),this[_0x562067(0x36d)]();}[_0x535906(0x1be)](_0x972e6=!0x1){var _0x3d6bdc=_0x535906;this['_lockTransition'](),this[_0x3d6bdc(0xf1)](this[_0x3d6bdc(0x1ee)][_0x3d6bdc(0x37b)]()),this[_0x3d6bdc(0x36d)]();const _0x57d12f=this[_0x3d6bdc(0x1ee)];_0x972e6&&_0x57d12f instanceof ye&&(this['_lockTransition'](),this[_0x3d6bdc(0xf1)](_0x57d12f[_0x3d6bdc(0x36f)]()),this[_0x3d6bdc(0x36d)]());}async['_createInitialState'](){return new Promise(_0x494af9=>{var _0x2b9236=_0x5938;this[_0x2b9236(0x35c)][_0x2b9236(0x1c4)][_0x2b9236(0x114)](_0x3c1092(0x1))[_0x2b9236(0xb7)](async _0x390916=>{var _0x21969f=_0x2b9236;_0x494af9(await this['_createInitialStateImpl'](_0x390916===ge[_0x21969f(0x2b8)]));});});}[_0x535906(0x327)](){var _0xf48ecf=_0x535906;const _0xae4b5d=this[_0xf48ecf(0x1a0)];return{'onStateChange':(_0x122922,_0x35d1a4)=>{var _0x39e311=_0xf48ecf;if(_0x122922!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x122922[_0x39e311(0x9d)]+_0x39e311(0xa8)+_0x35d1a4['status']+'\x0aCurrent:\x20'+this[_0x39e311(0x1ee)][_0x39e311(0x9d)]);this[_0x39e311(0xf1)](_0x35d1a4);},'onSendChangeset':_0x34e1ce=>{var _0x4f0f2e=_0xf48ecf;_0x34e1ce[_0x4f0f2e(0x27b)]||(_0x34e1ce[_0x4f0f2e(0x27b)]=this[_0x4f0f2e(0x110)],_0x34e1ce['reqId']=++this[_0x4f0f2e(0x183)]);const _0x564ba3={'eventID':_0x4d2fd9['SUBMIT_CHANGESET'],'data':{'unitID':_0x34e1ce['unitID'],'unitType':this['_type'],'changeset':_0x34e1ce,'memberID':this[_0x4f0f2e(0x35c)][_0x4f0f2e(0xb1)]()}};this['session']['send'](_0x564ba3,this['unitID']);},'onMissingChangesets':({from:_0x59631f,to:_0x57c65e})=>{var _0x35e46d=_0xf48ecf;this[_0x35e46d(0x8c)][_0x35e46d(0x1d0)](_0x35e46d(0x31c),_0x35e46d(0x31a)+_0x59631f+_0x35e46d(0x172)+_0x57c65e);const _0x16f7d0={'eventID':_0x4d2fd9[_0x35e46d(0x160)],'data':{'unitID':_0xae4b5d,'unitType':this[_0x35e46d(0x259)],'from':_0x59631f,'to':_0x57c65e}};this[_0x35e46d(0x35c)][_0x35e46d(0x175)](_0x16f7d0,this['unitID']);}};}async[_0x535906(0x37e)](_0x187090){var _0x3fe744=_0x535906,_0x57c2bb,_0x6cc90,_0xa26b9e;const _0x570bd9=await((_0x57c2bb=this[_0x3fe744(0x27d)])==null?void 0x0:_0x57c2bb['loadOfflineData'](this['unitID'])),_0x3a84c4=(_0x6cc90=_0x570bd9==null?void 0x0:_0x570bd9[_0x3fe744(0x316)])!=null?_0x6cc90:[],_0x21b36c=(_0xa26b9e=_0x570bd9==null?void 0x0:_0x570bd9[_0x3fe744(0x1a6)])!=null?_0xa26b9e:null,_0x55e61a=!!(_0x21b36c!=null&&_0x21b36c[_0x3fe744(0x27b)])&&!!(_0x21b36c!=null&&_0x21b36c['reqId']);this['_changesetSessionId']=_0x55e61a?_0x21b36c[_0x3fe744(0x27b)]:_0x4b4b35(),this[_0x3fe744(0x183)]=_0x55e61a?_0x21b36c[_0x3fe744(0x330)]:0x0;const _0x31e6cd=this[_0x3fe744(0x1a0)];try{this[_0x3fe744(0x296)](_0x21b36c,_0x3a84c4);}catch(_0x593e37){this['_logService'][_0x3fe744(0xe6)](_0x593e37);}const _0x30167a=this[_0x3fe744(0x327)]();if(_0x187090){const _0x2ccef6=Ti(this[_0x3fe744(0x15e)],_0x31e6cd,this['_type'],_0x21b36c,_0x3a84c4,_0x30167a);return _0x2ccef6 instanceof re?_0x2ccef6[_0x3fe744(0x22c)]():(_0x2ccef6 instanceof ae||_0x2ccef6 instanceof _e)&&_0x2ccef6[_0x3fe744(0x1c2)](),_0x2ccef6;}return this[_0x3fe744(0x15e)][_0x3fe744(0x267)](ue,_0x31e6cd,this[_0x3fe744(0x259)],_0x21b36c,_0x3a84c4,_0x30167a);}[_0x535906(0x296)](_0x455707,_0x1a362a){var _0x185eef=_0x535906,_0x279180,_0x433ccd;const _0x2f95f4=this[_0x185eef(0x18e)]['interceptor'][_0x185eef(0x36b)](this['_compressMutationService'][_0x185eef(0x2a7)]['getInterceptPoints']()[_0x185eef(0xa6)]);(_0x279180=_0x2f95f4((_0x455707==null?void 0x0:_0x455707[_0x185eef(0x316)])||[],null))==null||_0x279180[_0x185eef(0x194)](_0x43e9a0=>this[_0x185eef(0x123)][_0x185eef(0xdd)](_0x43e9a0['id'],_0x43e9a0['params'])),(_0x433ccd=_0x2f95f4(_0x1a362a||[],null))==null||_0x433ccd[_0x185eef(0x194)](_0x2bc3d7=>this['_commandService'][_0x185eef(0xdd)](_0x2bc3d7['id'],_0x2bc3d7[_0x185eef(0x288)]));}};st=wt([H(0x3,_0x589d8c(_0xaf55dd)),H(0x4,_0x589d8c(_0x146294)),H(0x5,_0x589d8c(_0x31b51e)),H(0x6,_0x589d8c(_0x5b3e67)),H(0x7,_0x589d8c(ve)),H(0x8,_0x1cf341),H(0x9,_0x2f40b7),H(0xa,_0x1941bc),H(0xb,_0x54373b(ht)),H(0xc,_0x54373b(J))],st);let St=class extends st{constructor(_0x37c71e,_0x47805e,_0x55a231,_0xfbe804,_0x2b49d5,_0xb9472,_0x52326f,_0x4edf5e,_0x48da2c,_0x22e5bc,_0x2ec3e4,_0x1ae0e8,_0x33b440){var _0x3e9018=_0x535906;super(_0x37c71e,_0x55a231,_0x47805e,_0xfbe804,_0x2b49d5,_0xb9472,_0x52326f,_0x4edf5e,_0x48da2c,_0x22e5bc,_0x2ec3e4,_0x1ae0e8,_0x33b440),N(this,_0x3e9018(0xd3),null),(this[_0x3e9018(0x1a0)]=_0x37c71e,this[_0x3e9018(0x15a)]=_0x47805e);}[_0x535906(0x31f)](_0x2b19bb){var _0x23abd4=_0x535906;this[_0x23abd4(0xd3)]=_0x2b19bb;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}[_0x535906(0x327)](){var _0x134c3b=_0x535906;const _0x2e6f3f=super[_0x134c3b(0x327)]();return _0x2e6f3f['onTransformIME']=_0x30d552=>{var _0x29e41c=_0x134c3b,_0x563892,_0x152a76;return(_0x152a76=(_0x563892=this[_0x29e41c(0xd3)])==null?void 0x0:_0x563892['onTransformIME'])==null?void 0x0:_0x152a76[_0x29e41c(0x2e3)](_0x563892,_0x30d552);},_0x2e6f3f['onTransformState']=_0x24f15a=>{var _0x3ac1c8=_0x134c3b,_0x20b86b,_0x3e6538;return(_0x3e6538=(_0x20b86b=this[_0x3ac1c8(0xd3)])==null?void 0x0:_0x20b86b['onTransformState'])==null?void 0x0:_0x3e6538[_0x3ac1c8(0x2e3)](_0x20b86b,_0x24f15a);},_0x2e6f3f['onTransformSelections']=_0x4d3561=>{var _0x56dd08=_0x134c3b,_0x37cd0a,_0x2f5c05;return(_0x2f5c05=(_0x37cd0a=this[_0x56dd08(0xd3)])==null?void 0x0:_0x37cd0a['onTransformSelections'])==null?void 0x0:_0x2f5c05[_0x56dd08(0x2e3)](_0x37cd0a,_0x4d3561);},_0x2e6f3f['onSyncEditingCollabCursor']=_0x25c5db=>{var _0x5037cf=_0x134c3b,_0x43e8d8,_0x544a43;return(_0x544a43=(_0x43e8d8=this['_handlerCallback'])==null?void 0x0:_0x43e8d8[_0x5037cf(0xd9)])==null?void 0x0:_0x544a43['call'](_0x43e8d8,_0x25c5db);},_0x2e6f3f[_0x134c3b(0x2f4)]=_0x25cd59=>{var _0x2e47ff=_0x134c3b,_0x31a12e,_0x194284,_0x3568b2;if(!((_0x31a12e=this[_0x2e47ff(0xd3)])!=null&&_0x31a12e['onTransformRemoteChangesetByIMECache']))throw new Error(_0x2e47ff(0x385));return(_0x3568b2=(_0x194284=this[_0x2e47ff(0xd3)])==null?void 0x0:_0x194284[_0x2e47ff(0x2f4)])==null?void 0x0:_0x3568b2[_0x2e47ff(0x2e3)](_0x194284,_0x25cd59);},_0x2e6f3f[_0x134c3b(0x108)]=_0x1e7cff=>{var _0x52e37e=_0x134c3b,_0x523907,_0x124202,_0x48e569;if(!((_0x523907=this[_0x52e37e(0xd3)])!=null&&_0x523907[_0x52e37e(0x108)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x48e569=(_0x124202=this['_handlerCallback'])==null?void 0x0:_0x124202[_0x52e37e(0x108)])==null?void 0x0:_0x48e569[_0x52e37e(0x2e3)](_0x124202,_0x1e7cff);},_0x2e6f3f;}async[_0x535906(0x31d)](){var _0x156393=_0x535906;const _0x3a3674=await super[_0x156393(0x31d)]();return this[_0x156393(0x350)](this['_commandService'][_0x156393(0x394)]((_0x1ab093,_0x505194)=>{var _0x2dd035=_0x156393;if(_0x1ab093[_0x2dd035(0x15a)]!==_0x3cbb14[_0x2dd035(0xd4)]||_0x505194!=null&&_0x505194['fromCollab']||_0x505194!=null&&_0x505194[_0x2dd035(0xe4)]||_0x1ab093['id']===_0x24e542['id'])return;const _0x1782db=_0x1ab093['params'];if((_0x1782db==null?void 0x0:_0x1782db[_0x2dd035(0x122)])!==this[_0x2dd035(0x1a0)])return;const _0x23bb30=_0x1ab093,_0x15817b=this[_0x2dd035(0x18e)][_0x2dd035(0x2a7)][_0x2dd035(0x36b)](this[_0x2dd035(0x18e)][_0x2dd035(0x2a7)][_0x2dd035(0x171)]()[_0x2dd035(0xbc)])([_0x23bb30],null)||[_0x23bb30];this['_onLocalMutation'](_0x15817b[0x0]);})),_0x3a3674;}};St=wt([H(0x3,_0x589d8c(_0xaf55dd)),H(0x4,_0x589d8c(_0x146294)),H(0x5,_0x589d8c(_0x31b51e)),H(0x6,_0x589d8c(_0x5b3e67)),H(0x7,_0x589d8c(ve)),H(0x8,_0x1cf341),H(0x9,_0x2f40b7),H(0xa,_0x1941bc),H(0xb,_0x54373b(ht)),H(0xc,_0x54373b(J))],St);let Et=class extends st{constructor(_0x4e0ae3,_0x210fd0,_0x7b3d17,_0x36a410,_0x1cbf12,_0x22e4bc,_0x51e3dc,_0xc7c388,_0x124e4d,_0x348f83,_0x4edf8d,_0x427491,_0x1dd6d0,_0x19d951){var _0x61133a=_0x535906;super(_0x4e0ae3,_0x7b3d17,_0x210fd0,_0x36a410,_0x1cbf12,_0x22e4bc,_0x51e3dc,_0x124e4d,_0x348f83,_0x4edf8d,_0x427491,_0x1dd6d0,_0x19d951),this[_0x61133a(0x1a0)]=_0x4e0ae3,this[_0x61133a(0x15a)]=_0x210fd0,this[_0x61133a(0x213)]=_0xc7c388;}[_0x535906(0x327)](){var _0x310f87=_0x535906;const _0x74ad42=super[_0x310f87(0x327)]();return _0x74ad42['onTransformSelections']=_0x158104=>this['_sheetTransformSelectionsService']['transformSelections'](_0x158104),_0x74ad42;}async[_0x535906(0x31d)](){var _0x204296=_0x535906;const _0x142b9b=await super[_0x204296(0x31d)]();return this['disposeWithMe'](this[_0x204296(0x123)][_0x204296(0x394)]((_0xbada96,_0x29fc84)=>{var _0x51a136=_0x204296;if(_0xbada96[_0x51a136(0x15a)]!==_0x3cbb14[_0x51a136(0xd4)]||_0x29fc84!=null&&_0x29fc84[_0x51a136(0x16c)]||_0x29fc84!=null&&_0x29fc84[_0x51a136(0xe4)])return;const _0x43d6a8=_0xbada96[_0x51a136(0x288)];if((_0x43d6a8==null?void 0x0:_0x43d6a8['unitId'])!==this[_0x51a136(0x1a0)])return;const _0x2617bc=_0xbada96,_0x598cc2=this['_compressMutationService'][_0x51a136(0x2a7)][_0x51a136(0x36b)](this[_0x51a136(0x18e)][_0x51a136(0x2a7)]['getInterceptPoints']()[_0x51a136(0xbc)])([_0x2617bc],null)||[_0x2617bc];this['_onLocalMutation'](_0x598cc2[0x0]);})),_0x142b9b;}};Et=wt([H(0x3,_0x589d8c(_0xaf55dd)),H(0x4,_0x589d8c(_0x146294)),H(0x5,_0x589d8c(_0x31b51e)),H(0x6,_0x589d8c(_0x5b3e67)),H(0x7,_0x589d8c(it)),H(0x8,_0x589d8c(ve)),H(0x9,_0x1cf341),H(0xa,_0x2f40b7),H(0xb,_0x1941bc),H(0xc,_0x54373b(ht)),H(0xd,_0x54373b(J))],Et);const js=_0x59ebc1('univer-pro.collaboration-client.network-condition.service');function Fs(_0x568a8c){var _0x363ee1=_0x535906,_0x12f4c4,_0x275ad3,_0x48d559,_0x27039c,_0x2ff270;const _0x1195f0=_0x568a8c[_0x363ee1(0x26e)],_0x2159ee=JSON[_0x363ee1(0xee)](_0x1195f0);switch(_0x2159ee[_0x363ee1(0x34b)]){case F['HEARTBEAT']:case F[_0x363ee1(0x315)]:{const _0x1c3fed=_0x2159ee['infoRsp'];return{..._0x2159ee,'data':_0x1c3fed,'cmd':_0x2159ee[_0x363ee1(0x34b)]};}case F['JOIN']:{const _0xeccdc4=_0x2159ee[_0x363ee1(0x1ad)];return{..._0x2159ee,'data':_0xeccdc4,'cmd':_0x2159ee[_0x363ee1(0x34b)]};}case F[_0x363ee1(0x271)]:{const _0x598d4b=_0x2159ee[_0x363ee1(0x311)];switch(_0x598d4b[_0x363ee1(0x1a9)]){case _0x4d2fd9[_0x363ee1(0x386)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':(_0x12f4c4=_0x598d4b[_0x363ee1(0x162)])==null?void 0x0:_0x12f4c4['cs']},'cmd':_0x2159ee['cmd']};case _0x4d2fd9[_0x363ee1(0x305)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':(_0x275ad3=_0x598d4b['csAckEvent'])==null?void 0x0:_0x275ad3['cs']},'cmd':_0x2159ee['cmd']};case _0x4d2fd9[_0x363ee1(0x11b)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':(_0x48d559=_0x598d4b[_0x363ee1(0xa1)])==null?void 0x0:_0x48d559['cs']},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x200)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':(_0x27039c=_0x598d4b[_0x363ee1(0x1d2)])==null?void 0x0:_0x27039c['cs']},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x121)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':(_0x2ff270=_0x598d4b[_0x363ee1(0xc6)])==null?void 0x0:_0x2ff270['cs']},'cmd':_0x2159ee['cmd']};case _0x4d2fd9[_0x363ee1(0x1d8)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b['updateCursorEvent']},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x260)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x302)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x10d)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0xb5)]},'cmd':_0x2159ee['cmd']};case _0x4d2fd9[_0x363ee1(0x328)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b['liveShareNewHost']},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x370)]:case _0x4d2fd9[_0x363ee1(0xc0)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x20f)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9['LIVESHARE_TERMINATE']:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x383)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x10e)]:return{..._0x2159ee,'data':_0x598d4b,'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x201)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x17a)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x2a0)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x15d)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x30b)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x26c)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};case _0x4d2fd9[_0x363ee1(0x2b9)]:return{..._0x2159ee,'data':{..._0x598d4b,'data':_0x598d4b[_0x363ee1(0x275)]},'cmd':_0x2159ee[_0x363ee1(0x34b)]};default:return _0x2159ee;}}default:return _0x2159ee;}}function Vs(_0x4c23c6){var _0x14cce9=_0x535906;switch(_0x4c23c6[_0x14cce9(0x34b)]){case F[_0x14cce9(0x14b)]:case F[_0x14cce9(0x315)]:return JSON[_0x14cce9(0x119)]({'cmd':_0x4c23c6[_0x14cce9(0x34b)],'routeKey':_0x4c23c6['routeKey']});case F['INGEST']:{let _0x58b8a2;switch(_0x4c23c6[_0x14cce9(0x26e)][_0x14cce9(0x1a9)]){case _0x4d2fd9['UPDATE_CURSOR']:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x1d8)],'updateCursorEvent':_0x4c23c6[_0x14cce9(0x26e)][_0x14cce9(0x26e)]};break;}case _0x4d2fd9[_0x14cce9(0x10d)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x10d)],'leaveEvent':_0x4c23c6[_0x14cce9(0x26e)]['data']};break;}case _0x4d2fd9[_0x14cce9(0x260)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x260)],'joinEvent':_0x4c23c6[_0x14cce9(0x26e)]['data']};break;}case _0x4d2fd9[_0x14cce9(0x328)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x328)],'liveShareNewHost':_0x4c23c6[_0x14cce9(0x26e)][_0x14cce9(0x26e)]};break;}case _0x4d2fd9[_0x14cce9(0xc0)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0xc0)],'liveShareOperation':_0x4c23c6[_0x14cce9(0x26e)][_0x14cce9(0x26e)]};break;}case _0x4d2fd9[_0x14cce9(0x8e)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x8e)],'liveShareTerminate':_0x4c23c6['data'][_0x14cce9(0x26e)]};break;}case _0x4d2fd9[_0x14cce9(0x1df)]:{_0x58b8a2={'eventID':_0x4d2fd9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x4c23c6[_0x14cce9(0x26e)]['data']};break;}case _0x4d2fd9[_0x14cce9(0x370)]:{_0x58b8a2={'eventID':_0x4d2fd9[_0x14cce9(0x370)]};break;}default:_0x58b8a2={'eventID':_0x4c23c6[_0x14cce9(0x26e)][_0x14cce9(0x1a9)]};}return JSON[_0x14cce9(0x119)]({'cmd':_0x4c23c6[_0x14cce9(0x34b)],'routeKey':_0x4c23c6[_0x14cce9(0x388)],'collaMsg':_0x58b8a2});}case F['JOIN']:return JSON[_0x14cce9(0x119)]({'cmd':_0x4c23c6[_0x14cce9(0x34b)],'routeKey':_0x4c23c6[_0x14cce9(0x388)],'joinReq':_0x4c23c6[_0x14cce9(0x26e)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x4c23c6[_0x14cce9(0x34b)],'routeKey':_0x4c23c6[_0x14cce9(0x388)],'leaveReq':_0x4c23c6[_0x14cce9(0x26e)]});default:throw new Error(_0x14cce9(0xd0));}}var Ws=Object[_0x535906(0x16f)],Gs=(_0xb8b36a,_0x2d632f,_0x4270ce,_0x5c1ead)=>{for(var _0x1f073f=_0x5c1ead>0x1?void 0x0:_0x5c1ead?Ws(_0x2d632f,_0x4270ce):_0x2d632f,_0x58b869=_0xb8b36a['length']-0x1,_0x54c87f;_0x58b869>=0x0;_0x58b869--)(_0x54c87f=_0xb8b36a[_0x58b869])&&(_0x1f073f=_0x54c87f(_0x1f073f)||_0x1f073f);return _0x1f073f;},De=(_0x1c2693,_0x2cb18a)=>(_0x24a37e,_0x5a9134)=>_0x2cb18a(_0x24a37e,_0x5a9134,_0x1c2693);const Ci=_0x59ebc1(_0x535906(0x2e6));function Ys(_0x1f6892,_0x36ba8a,_0x43027d){return _0x1f6892+'/'+_0x36ba8a+'/unit/'+_0x43027d+'/new_changes';}let Gt=class extends _0x1afa15{constructor(_0x5362ae,_0x2010cd,_0x299de6,_0x1b0536,_0x156ef4){var _0x322774=_0x535906;super(),this['_injector']=_0x5362ae,this[_0x322774(0x1d4)]=_0x2010cd,this[_0x322774(0x371)]=_0x299de6,this[_0x322774(0x8c)]=_0x1b0536,this[_0x322774(0x165)]=_0x156ef4;}[_0x535906(0x24f)](_0x2f1715){var _0x556124=_0x535906;const _0x2765f8=this[_0x556124(0x15e)][_0x556124(0x32b)](_0x55d5d2);if(!_0x2765f8)throw new Error(_0x556124(0xa7));const _0x24fef1=_0x2765f8[_0x556124(0xd2)](_0x2f1715);if(!_0x24fef1)throw new Error(_0x556124(0x1ac));const _0x4f5308=new _0x1ae5ac(),_0x3fab72=new _0x15d0d0();_0x4f5308[_0x556124(0x18c)](_0x24fef1[_0x556124(0xf4)][_0x556124(0xb7)](_0x553699=>_0x3fab72['next'](_0x553699))),_0x4f5308[_0x556124(0x18c)](_0x1332c1(()=>_0x3fab72['complete']()));const _0x5031ff=new _0x15d0d0();_0x4f5308['add'](_0x24fef1[_0x556124(0x1fa)][_0x556124(0xb7)](_0x453bba=>_0x5031ff[_0x556124(0x266)](_0x453bba))),_0x4f5308[_0x556124(0x18c)](_0x1332c1(()=>_0x5031ff[_0x556124(0xc9)]()));const _0x3cb705=new _0x15d0d0();_0x4f5308[_0x556124(0x18c)](_0x24fef1[_0x556124(0x10c)][_0x556124(0xb7)](_0x1a0637=>{var _0x3e95cc=_0x556124;const _0x5dc6e8=Fs(_0x1a0637);_0x3cb705[_0x3e95cc(0x266)](_0x5dc6e8);})),_0x4f5308['add'](_0x1332c1(()=>_0x3cb705[_0x556124(0xc9)]()));let _0x667791;const _0x268e0e=()=>{var _0x2d7865=_0x556124;_0x5031ff[_0x2d7865(0x266)](new Event(_0x2d7865(0x290))),_0x3fab72[_0x2d7865(0x266)](new Event(_0x2d7865(0x290))),_0x667791[_0x2d7865(0xdb)]();};return _0x667791={'memberID':'','close$':_0x3fab72[_0x556124(0x384)](),'error$':_0x5031ff[_0x556124(0x384)](),'open$':_0x24fef1[_0x556124(0xaf)],'message$':_0x3cb705['asObservable'](),'send':_0x28a937=>{var _0x34a440=_0x556124;if(_0x28a937[_0x34a440(0x34b)]===F[_0x34a440(0x335)]){if(_0x28a937[_0x34a440(0x26e)]['eventID']===_0x4d2fd9[_0x34a440(0x291)]){this[_0x34a440(0x247)](_0x667791,_0x28a937[_0x34a440(0x26e)])[_0x34a440(0x289)](_0x593536=>{var _0x261ab3=_0x34a440;this[_0x261ab3(0x8c)][_0x261ab3(0xe6)](_0x593536),_0x268e0e();});return;}if(_0x28a937['data'][_0x34a440(0x1a9)]===_0x4d2fd9[_0x34a440(0x160)]){const _0x4fbebd=_0x28a937[_0x34a440(0x26e)];this[_0x34a440(0x22f)](_0x4fbebd)[_0x34a440(0x395)](_0x822f2=>{var _0x669625=_0x34a440;_0x3cb705[_0x669625(0x266)]({'cmd':F[_0x669625(0x271)],'code':pe['OK'],'routeKey':_0x4fbebd[_0x669625(0x26e)]['unitID'],'routeType':'','data':{'eventID':_0x4d2fd9[_0x669625(0x285)],'data':{'changesets':_0x822f2}}});})['catch'](_0x264e52=>{var _0x5a5c80=_0x34a440;this[_0x5a5c80(0x8c)][_0x5a5c80(0xe6)](_0x264e52),_0x268e0e();});return;}}_0x24fef1['send'](Vs(_0x28a937));},'close':()=>{var _0x4e77bc=_0x556124;_0x24fef1[_0x4e77bc(0xdb)](),_0x4f5308[_0x4e77bc(0xd6)]();}},_0x667791;}async[_0x535906(0x247)](_0x3456fe,_0xe7d753){var _0x4811e4=_0x535906,_0x140594;const {unitType:_0x46b271,unitID:_0x39586d,changeset:_0x2e28ef}=_0xe7d753[_0x4811e4(0x26e)],_0xce4995={'unitID':_0x39586d,'memberID':_0x3456fe[_0x4811e4(0x2f5)],'type':_0x46b271,'changeset':_0x5081be(_0x2e28ef)},_0x8dc62f=this[_0x4811e4(0x371)][_0x4811e4(0x1c5)](K),_0x446ac1=Ys((_0x140594=_0x8dc62f==null?void 0x0:_0x8dc62f['collabSubmitChangesetUrl'])!=null?_0x140594:Cs,_0x46b271,_0x39586d);try{await this[_0x4811e4(0x1d4)][_0x4811e4(0x258)](_0x446ac1,{'body':_0xce4995});}catch(_0x3c2016){throw this[_0x4811e4(0x8c)]['error'](_0x4811e4(0x238),_0x4811e4(0x1b6)),_0x3c2016;}}async[_0x535906(0x22f)](_0x5e373a){var _0x1b1c3c=_0x535906;const {unitID:_0x374f76,from:_0x3d1478,to:_0x270a9f,unitType:_0x1954cc}=_0x5e373a['data'];return(await this[_0x1b1c3c(0x165)][_0x1b1c3c(0x364)]({'metadata':void 0x0},{'unitID':_0x374f76,'type':_0x1954cc,'from':_0x3d1478,'to':_0x270a9f}))['changesets'];}};Gt=Gs([De(0x0,_0x589d8c(_0xaf55dd)),De(0x1,_0x589d8c(_0x413224)),De(0x2,_0x47a418),De(0x3,_0x1cf341),De(0x4,_0x426ed2)],Gt);var Ks=Object['getOwnPropertyDescriptor'],qs=(_0x5876fe,_0x33068f,_0x2ecc8e,_0x2d55d2)=>{var _0x323017=_0x535906;for(var _0x13321c=_0x2d55d2>0x1?void 0x0:_0x2d55d2?Ks(_0x33068f,_0x2ecc8e):_0x33068f,_0x2d0cea=_0x5876fe[_0x323017(0x2d5)]-0x1,_0x653919;_0x2d0cea>=0x0;_0x2d0cea--)(_0x653919=_0x5876fe[_0x2d0cea])&&(_0x13321c=_0x653919(_0x13321c)||_0x13321c);return _0x13321c;},Re=(_0x476c21,_0x43a4f4)=>(_0x18e286,_0x349ab9)=>_0x43a4f4(_0x18e286,_0x349ab9,_0x476c21);let Pe=class extends _0x1afa15{constructor(_0x102b37,_0x427d01,_0x1d56eb,_0x428e0c,_0x5b00d8,_0x598612){var _0x1e57ba=_0x535906;super(),N(this,'_socket$',new _0x32e0ef(void 0x0)),N(this,_0x1e57ba(0x2ff),this[_0x1e57ba(0xfb)][_0x1e57ba(0x384)]()),N(this,'_candidateSocket',null),N(this,_0x1e57ba(0x179),new Map()),N(this,_0x1e57ba(0x1f0),new _0x32e0ef(ge[_0x1e57ba(0x348)])),N(this,_0x1e57ba(0x1ca),this[_0x1e57ba(0x1f0)][_0x1e57ba(0x384)]()),N(this,_0x1e57ba(0x1ff),!0x1),N(this,_0x1e57ba(0x196)),N(this,_0x1e57ba(0x12c),0x0),N(this,_0x1e57ba(0x1de)),N(this,_0x1e57ba(0xfc)),(this[_0x1e57ba(0x15e)]=_0x102b37,this[_0x1e57ba(0x8c)]=_0x427d01,this[_0x1e57ba(0x371)]=_0x1d56eb,this[_0x1e57ba(0x150)]=_0x428e0c,this[_0x1e57ba(0x102)]=_0x5b00d8,this['_networkConditionService']=_0x598612,this[_0x1e57ba(0x389)]());}get[_0x535906(0x268)](){var _0x1413c3=_0x535906;return this[_0x1413c3(0xfb)][_0x1413c3(0xd8)]();}[_0x535906(0x389)](){var _0x22ed2f=_0x535906;this[_0x22ed2f(0x103)]&&this[_0x22ed2f(0x350)](this[_0x22ed2f(0x103)]['online$'][_0x22ed2f(0xb7)](_0x29a30d=>{var _0x219316=_0x22ed2f;_0x29a30d&&!this['_socket']&&this['reconnect'](),_0x29a30d||this[_0x219316(0xea)]();}));}[_0x535906(0xd6)](){var _0x5b3b42=_0x535906;super[_0x5b3b42(0xd6)](),this['_clearRetryConnectingTimer'](),this[_0x5b3b42(0x38b)](),this[_0x5b3b42(0x29a)](),this[_0x5b3b42(0x179)][_0x5b3b42(0x194)](_0x41a307=>_0x41a307[_0x5b3b42(0xd6)]()),this['_sessions'][_0x5b3b42(0x23c)](),this[_0x5b3b42(0x1f0)][_0x5b3b42(0xc9)]();}async[_0x535906(0x20e)](_0xf7be2c){var _0x4fa1f8=_0x535906;if(this['_sessions'][_0x4fa1f8(0x14c)](_0xf7be2c))return this[_0x4fa1f8(0x179)][_0x4fa1f8(0x32b)](_0xf7be2c);this[_0x4fa1f8(0x25c)]();const _0x286e97=this[_0x4fa1f8(0x15e)][_0x4fa1f8(0x267)](gt,_0xf7be2c,this[_0x4fa1f8(0xfb)][_0x4fa1f8(0x384)]());return this[_0x4fa1f8(0x179)][_0x4fa1f8(0x240)](_0xf7be2c,_0x286e97),_0x286e97;}['closeSession'](_0x33f111){var _0x55d808=_0x535906,_0x261255;const _0x38ad98=this[_0x55d808(0x179)][_0x55d808(0x32b)](_0x33f111);_0x38ad98&&(this['_sessions'][_0x55d808(0xe1)](_0x33f111),_0x38ad98['close']()),this[_0x55d808(0x179)]['size']||(_0x261255=this[_0x55d808(0x268)])==null||_0x261255[_0x55d808(0xdb)]();}['reconnect'](){var _0x57cc07=_0x535906;this[_0x57cc07(0x12c)]=0x0,this[_0x57cc07(0x17f)](),this[_0x57cc07(0xf9)]();}[_0x535906(0x17f)](){var _0xd2ab14=_0x535906;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0xd2ab14(0x196)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x10e0b7=_0x535906,_0x35ee77;const _0x4fccb5=this[_0x10e0b7(0x371)]['getConfig'](K),_0x45f836=(_0x35ee77=_0x4fccb5==null?void 0x0:_0x4fccb5[_0x10e0b7(0x13d)])!=null?_0x35ee77:ms,_0x21d346=await this['_socketService']['createSocket'](_0x45f836);return this[_0x10e0b7(0x191)]=_0x21d346,_0x21d346;}async[_0x535906(0x25c)](){var _0x5f0d76=_0x535906,_0x153cd9,_0x12d843;try{const _0x772b9=(_0x12d843=(_0x153cd9=this['_socket'])!=null?_0x153cd9:this['_candidateSocket'])!=null?_0x12d843:await this[_0x5f0d76(0x205)]();if(_0x772b9){const _0x3bcd7f=_0x772b9[_0x5f0d76(0x175)];_0x772b9[_0x5f0d76(0x175)]=_0xe57018=>(this[_0x5f0d76(0x1ba)](),_0x3bcd7f['apply'](_0x772b9,[_0xe57018])),_0x772b9[_0x5f0d76(0x10c)][_0x5f0d76(0xb7)](_0x388312=>this['_onMessage'](_0x772b9,_0x388312)),_0x772b9[_0x5f0d76(0x1fa)][_0x5f0d76(0x114)](_0x178814(0x1))[_0x5f0d76(0xb7)](_0xc9b8dc=>this['_logService'][_0x5f0d76(0xe6)](_0x5f0d76(0x1c9),_0xc9b8dc)),_0x772b9['open$']['pipe'](_0x178814(0x1))[_0x5f0d76(0xb7)](()=>{var _0x459b8f=_0x5f0d76;this[_0x459b8f(0x35d)](_0x772b9);}),_0x772b9[_0x5f0d76(0xf4)][_0x5f0d76(0x114)](_0x178814(0x1))[_0x5f0d76(0xb7)](_0x258350=>{var _0x3c81dd=_0x5f0d76;this[_0x3c81dd(0x8c)][_0x3c81dd(0x1d0)](_0x3c81dd(0x279),_0x3c81dd(0x163),_0x258350),this[_0x3c81dd(0x1b5)]();});}}catch(_0x40813e){this[_0x5f0d76(0x8c)]['error'](_0x40813e),this[_0x5f0d76(0x1b5)]();}}[_0x535906(0x35d)](_0x4ea57b){var _0x2236e0=_0x535906;this[_0x2236e0(0x8c)][_0x2236e0(0x1d0)](_0x2236e0(0x279),_0x2236e0(0x377)),_0x4ea57b[_0x2236e0(0x175)]({'cmd':F[_0x2236e0(0x315)]}),this[_0x2236e0(0x1ba)]();}[_0x535906(0xea)](){var _0x1478ad=_0x535906;this[_0x1478ad(0x1ff)]=!0x1,this[_0x1478ad(0x191)]=null,this[_0x1478ad(0x1f0)]['next'](ge[_0x1478ad(0x184)]),this[_0x1478ad(0xfb)][_0x1478ad(0x266)](null),this[_0x1478ad(0x38b)](),this[_0x1478ad(0x29a)]();}['_onConnectionFailed'](){var _0x218701=_0x535906,_0x16617c;this[_0x218701(0xea)](),this[_0x218701(0x12c)]<((_0x16617c=this[_0x218701(0x371)][_0x218701(0x1c5)](Is))!=null?_0x16617c:Ts)?(this[_0x218701(0x102)][_0x218701(0x1cc)]({'id':ne[_0x218701(0x1f3)]}),this[_0x218701(0xf9)]()):this['_collaborationUIEventService'][_0x218701(0x1cc)]({'id':ne[_0x218701(0x236)]});}[_0x535906(0xf9)](){var _0x6420a9=_0x535906,_0x2abbe8;const _0x2b2533=this[_0x6420a9(0x12c)],_0x1e5a78=this['_configService'][_0x6420a9(0x1c5)](K),_0xe476e7=_0x2b2533===0x0?0x0:((_0x2abbe8=_0x1e5a78==null?void 0x0:_0x1e5a78['retryConnectingInterval'])!=null?_0x2abbe8:Es)*0x2**_0x2b2533;this[_0x6420a9(0x196)]=setTimeout(()=>{var _0x518907=_0x6420a9;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x518907(0x25c)]();},_0xe476e7),this[_0x6420a9(0x12c)]+=0x1;}[_0x535906(0x272)](_0x4f0e3d,_0x3b555e){var _0x3e357e=_0x535906;const {cmd:_0x97cdfd}=_0x3b555e;_0x97cdfd===F[_0x3e357e(0x315)]&&!this[_0x3e357e(0x1ff)]&&(_0x4f0e3d['memberID']=_0x3b555e['data']['memberID'],this['_socket$'][_0x3e357e(0x266)](_0x4f0e3d),this['_status$'][_0x3e357e(0x266)](ge[_0x3e357e(0x2b8)]),this[_0x3e357e(0x1ff)]=!0x0,this[_0x3e357e(0x191)]=null),_0x97cdfd===F[_0x3e357e(0x14b)]&&this['_clearTimeoutTimer'](),this[_0x3e357e(0x1ba)]();}[_0x535906(0x1ba)](){var _0x2b48a8=_0x535906,_0x4416ad;this[_0x2b48a8(0x29a)](),this[_0x2b48a8(0x1de)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x4416ad=this[_0x2b48a8(0x371)]['getConfig'](gs))!=null?_0x4416ad:Ss);}['_sendHeartbeat'](){var _0x1bdf08=_0x535906;this['_socket']['send']({'cmd':F[_0x1bdf08(0x14b)]}),this[_0x1bdf08(0x276)]();}[_0x535906(0x276)](){var _0xf61935=_0x535906,_0x44a7a1;this[_0xf61935(0xfc)]=setTimeout(()=>this[_0xf61935(0x1b5)](),(_0x44a7a1=this[_0xf61935(0x371)][_0xf61935(0x1c5)](di))!=null?_0x44a7a1:fi);}[_0x535906(0x29a)](){var _0x4303bb=_0x535906;this[_0x4303bb(0x1de)]!=null&&(clearTimeout(this[_0x4303bb(0x1de)]),this['_sendHeartbeatTimer']=null);}[_0x535906(0x38b)](){var _0xe39a83=_0x535906;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xe39a83(0xfc)]),this['_timeoutTimer']=null);}};Pe=qs([Re(0x0,_0x589d8c(_0xaf55dd)),Re(0x1,_0x1cf341),Re(0x2,_0x47a418),Re(0x3,Ci),Re(0x4,_0x589d8c(ve)),Re(0x5,_0x54373b(js))],Pe);var zs=Object[_0x535906(0x16f)],Js=(_0x10ad3a,_0x23a123,_0x198e26,_0x37bba3)=>{var _0x4d4af8=_0x535906;for(var _0xece51c=_0x37bba3>0x1?void 0x0:_0x37bba3?zs(_0x23a123,_0x198e26):_0x23a123,_0x1779ef=_0x10ad3a[_0x4d4af8(0x2d5)]-0x1,_0x34bd9a;_0x1779ef>=0x0;_0x1779ef--)(_0x34bd9a=_0x10ad3a[_0x1779ef])&&(_0xece51c=_0x34bd9a(_0xece51c)||_0xece51c);return _0xece51c;},Be=(_0x5d7193,_0x2504f2)=>(_0x3f6bda,_0x5a48d6)=>_0x2504f2(_0x3f6bda,_0x5a48d6,_0x5d7193);let nt=class extends _0x8b2103{constructor(_0x4b476a,_0x5b37fd,_0x3ee16a,_0x377bde){var _0x20fed9=_0x535906,_0x575a55;super(),N(this,_0x20fed9(0x95),new Map()),N(this,'_entityInit$',new _0x15d0d0()),N(this,_0x20fed9(0x33f),this[_0x20fed9(0x19f)][_0x20fed9(0x384)]()),(this[_0x20fed9(0x15e)]=_0x4b476a,this[_0x20fed9(0x359)]=_0x5b37fd,this[_0x20fed9(0x371)]=_0x3ee16a,this[_0x20fed9(0xaa)]=_0x377bde,((_0x575a55=this[_0x20fed9(0x371)]['getConfig'](K))==null?void 0x0:_0x575a55[_0x20fed9(0x131)])!==!0x1&&this[_0x20fed9(0x31d)]());}['dispose'](){var _0x35d3b2=_0x535906;super['dispose'](),this['_entities']['forEach'](_0x5cf26d=>_0x5cf26d[_0x35d3b2(0xd6)]()),this[_0x35d3b2(0x95)][_0x35d3b2(0x23c)]();}[_0x535906(0x136)](_0x3f8db0){var _0x307daa=_0x535906,_0x412379;return(_0x412379=this['_entities'][_0x307daa(0x32b)](_0x3f8db0))!=null?_0x412379:null;}[_0x535906(0xb9)](_0x4bdf43){var _0x47d4b0=_0x535906;const _0xfac52b=this[_0x47d4b0(0x136)](_0x4bdf43);return _0xfac52b?_0x26599e(_0xfac52b):this[_0x47d4b0(0x19f)][_0x47d4b0(0x114)](_0x1a8c93(_0x2e3e4c=>_0x2e3e4c['unitID']===_0x4bdf43));}[_0x535906(0x2ee)](_0x4e0640){var _0x202e6b=_0x535906;return _0x3abfc2(this[_0x202e6b(0xb9)](_0x4e0640)[_0x202e6b(0x114)](_0x19e631(()=>{})));}['_init'](){var _0x56f8a5=_0x535906;this[_0x56f8a5(0xaa)][_0x56f8a5(0x11f)](_0x5c6255[_0x56f8a5(0x223)])[_0x56f8a5(0x114)](_0x3b0749(this[_0x56f8a5(0x1b8)]),_0x1498f2(0x10))['subscribe'](async _0x1cc349=>{var _0x130ed9=_0x56f8a5;const _0x31aff3=_0x1cc349[_0x130ed9(0x113)](),_0x539dd4=await this[_0x130ed9(0x2a3)](_0x31aff3,Z[_0x130ed9(0x223)]);this[_0x130ed9(0x95)]['set'](_0x31aff3,_0x539dd4);}),this[_0x56f8a5(0xaa)][_0x56f8a5(0x11f)](_0x5c6255['UNIVER_DOC'])[_0x56f8a5(0x114)](_0x3b0749(this[_0x56f8a5(0x1b8)]),_0x1498f2(0x10))[_0x56f8a5(0x114)](_0x1a8c93(_0x5b9eb4=>!_0x5b9eb4[_0x56f8a5(0x113)]()[_0x56f8a5(0x140)]('__')))[_0x56f8a5(0xb7)](async _0x578f59=>{var _0x5df53d=_0x56f8a5;const _0x5bc454=_0x578f59[_0x5df53d(0x113)](),_0x2307ce=await this[_0x5df53d(0x2a3)](_0x5bc454,Z[_0x5df53d(0x281)]);this[_0x5df53d(0x95)][_0x5df53d(0x240)](_0x5bc454,_0x2307ce);}),_0x335dc9(this[_0x56f8a5(0xaa)]['getTypeOfUnitDisposed$'](_0x5c6255['UNIVER_SHEET']),this[_0x56f8a5(0xaa)][_0x56f8a5(0x1f9)](_0x5c6255['UNIVER_DOC']))[_0x56f8a5(0x114)](_0x3b0749(this[_0x56f8a5(0x1b8)]))[_0x56f8a5(0xb7)](_0x2681f8=>{var _0x11fb3f=_0x56f8a5;const _0xe8418f=_0x2681f8[_0x11fb3f(0x113)](),_0x7bd6ac=this[_0x11fb3f(0x95)]['get'](_0xe8418f);_0x7bd6ac&&(_0x7bd6ac['dispose'](),this[_0x11fb3f(0x95)]['delete'](_0xe8418f));});}async[_0x535906(0x2a3)](_0x562ce6,_0x340a50){var _0x5f02ec=_0x535906;const _0xeb06b1=await this[_0x5f02ec(0x359)][_0x5f02ec(0x20e)](_0x562ce6),_0x4e721b=this[_0x5f02ec(0x15e)][_0x5f02ec(0x267)](this['_getCtorByUniverType'](_0x340a50),_0x562ce6,_0x340a50,_0xeb06b1);return await _0x4e721b[_0x5f02ec(0x248)](),this['_entityInit$'][_0x5f02ec(0x266)](_0x4e721b),_0x4e721b;}[_0x535906(0x306)](_0x4be3b9){var _0x3a397b=_0x535906;switch(_0x4be3b9){case Z[_0x3a397b(0x281)]:return St;case Z[_0x3a397b(0x223)]:return Et;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x4be3b9);}}};nt=Js([Be(0x0,_0x589d8c(_0xaf55dd)),Be(0x1,_0x589d8c(Pe)),Be(0x2,_0x47a418),Be(0x3,_0x2deb16)],nt);var Xs=Object[_0x535906(0x16f)],Zs=(_0x22d03d,_0x241b01,_0x25118d,_0x520f64)=>{var _0x192a75=_0x535906;for(var _0x3a9510=_0x520f64>0x1?void 0x0:_0x520f64?Xs(_0x241b01,_0x25118d):_0x241b01,_0x44634a=_0x22d03d[_0x192a75(0x2d5)]-0x1,_0x1a16f6;_0x44634a>=0x0;_0x44634a--)(_0x1a16f6=_0x22d03d[_0x44634a])&&(_0x3a9510=_0x1a16f6(_0x3a9510)||_0x3a9510);return _0x3a9510;},Yt=(_0x2cffd8,_0x42dd16)=>(_0x424f1b,_0x480bb1)=>_0x42dd16(_0x424f1b,_0x480bb1,_0x2cffd8);const Qs=_0x535906(0x182),en=_0x535906(0x376);let It=class extends _0x1afa15{constructor(_0x30a146,_0x3c7c0b){var _0x2fffc7=_0x535906;super(),this[_0x2fffc7(0xaa)]=_0x30a146,this[_0x2fffc7(0x371)]=_0x3c7c0b,this[_0x2fffc7(0x31d)]();}[_0x535906(0x31d)](){var _0x1db4c0=_0x535906;this[_0x1db4c0(0x350)](this[_0x1db4c0(0xaa)][_0x1db4c0(0x93)][_0x1db4c0(0xb7)](()=>{var _0x35ca6b=_0x1db4c0,_0x59adbf;const _0x20ed23=this[_0x35ca6b(0xaa)]['getFocusedUnit']();let _0x5f3a08=(_0x59adbf=this[_0x35ca6b(0x371)][_0x35ca6b(0x1c5)](Qs))!=null?_0x59adbf:en;_0x20ed23 instanceof _0x24d642&&(_0x5f3a08=_0x20ed23[_0x35ca6b(0x36e)]),document[_0x35ca6b(0x1e4)]=_0x5f3a08;}));}};It=Zs([Yt(0x0,_0x2deb16),Yt(0x1,_0x47a418)],It);var tn=Object[_0x535906(0x16f)],sn=(_0x5b1587,_0x31bc1e,_0x69bca2,_0x45ff65)=>{var _0x39eca4=_0x535906;for(var _0x5207fa=_0x45ff65>0x1?void 0x0:_0x45ff65?tn(_0x31bc1e,_0x69bca2):_0x31bc1e,_0x13e211=_0x5b1587[_0x39eca4(0x2d5)]-0x1,_0x52e306;_0x13e211>=0x0;_0x13e211--)(_0x52e306=_0x5b1587[_0x13e211])&&(_0x5207fa=_0x52e306(_0x5207fa)||_0x5207fa);return _0x5207fa;},dt=(_0x2a3deb,_0x839b86)=>(_0x170130,_0x455f95)=>_0x839b86(_0x170130,_0x455f95,_0x2a3deb);let rt=class{constructor(_0x4b5ec0,_0x5cb682,_0x386698){var _0x567850=_0x535906;this[_0x567850(0x371)]=_0x4b5ec0,this[_0x567850(0x1d4)]=_0x5cb682,this[_0x567850(0x312)]=_0x386698,this[_0x567850(0x248)]();}['init'](){var _0x4b813e=_0x535906;this[_0x4b813e(0x1d4)][_0x4b813e(0x24a)]({'priority':0x1,'interceptor':(_0x11256c,_0x3e1f6c)=>_0x3e1f6c(_0x11256c)[_0x4b813e(0x114)](_0x22f657(async _0xdd5ae4=>{var _0x418536=_0x4b813e;const _0x1a9cdc=_0xdd5ae4;if(_0x1a9cdc[_0x418536(0x9d)]===0x191){if(typeof window>'u')throw new Error(_0x418536(0x2cc));if(window[_0x418536(0xad)](this[_0x418536(0x312)]['t'](_0x418536(0x30d)))){const _0x5639e6=window['encodeURIComponent'](window[_0x418536(0x1f7)]['href']);window['location'][_0x418536(0x192)]=this['_getLoginPath']()+'?url='+_0x5639e6;}}return _0x1a9cdc;}))});}[_0x535906(0xbd)](){var _0x469bd9=_0x535906,_0xba2952;const _0x4fc7da=this[_0x469bd9(0x371)][_0x469bd9(0x1c5)](K);return(_0xba2952=_0x4fc7da==null?void 0x0:_0x4fc7da['loginUrlKey'])!=null?_0xba2952:Rs;}};rt=sn([dt(0x0,_0x47a418),dt(0x1,_0x589d8c(_0x413224)),dt(0x2,_0x589d8c(_0x31b51e))],rt);var nn=Object['getOwnPropertyDescriptor'],rn=(_0x380c5c,_0xd30680,_0x3878ff,_0x5ed7ce)=>{for(var _0x125d82=_0x5ed7ce>0x1?void 0x0:_0x5ed7ce?nn(_0xd30680,_0x3878ff):_0xd30680,_0x2dddf3=_0x380c5c['length']-0x1,_0x4439df;_0x2dddf3>=0x0;_0x2dddf3--)(_0x4439df=_0x380c5c[_0x2dddf3])&&(_0x125d82=_0x4439df(_0x125d82)||_0x125d82);return _0x125d82;},Kt=(_0x1bd13f,_0x44ff28)=>(_0x449505,_0x1c6a4d)=>_0x44ff28(_0x449505,_0x1c6a4d,_0x1bd13f);const an=_0x535906(0x278);let Tt=class extends _0x1afa15{constructor(_0x429a0b,_0x7ec2bb){var _0x102e18=_0x535906;super(),this[_0x102e18(0x177)]=_0x429a0b,this[_0x102e18(0x371)]=_0x7ec2bb,this[_0x102e18(0x22a)]();}[_0x535906(0x22a)](){var _0x2b5807=_0x535906;const _0x27afb9=this;this[_0x2b5807(0x350)](this['_HTTPService'][_0x2b5807(0x24a)]({'priority':0x3e7,'interceptor':_0x4e81d9({'isMatch'(_0x3860bc){var _0x3f1dde=_0x2b5807,_0x9ba427;if(_0x3860bc[_0x3f1dde(0x28a)]==='POST'&&((_0x9ba427=_0x3860bc[_0x3f1dde(0x232)])!=null&&_0x9ba427['body'])){const {objectID:_0x21eb80,objectType:_0x31e49c}=_0x3860bc['requestParams'][_0x3f1dde(0x354)]||{};if(!_0x21eb80||_0x31e49c===void 0x0)return!0x1;const _0x343411=_0x27afb9[_0x3f1dde(0x207)]()+'/'+_0x31e49c+_0x3f1dde(0x35f)+_0x21eb80+_0x3f1dde(0x234);if(_0x3860bc[_0x3f1dde(0x2d9)]===_0x343411)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x52e447){var _0xbe85eb=_0x2b5807,_0x1f4ffe;return(_0x1f4ffe=_0x52e447[_0xbe85eb(0x232)])==null?void 0x0:_0x1f4ffe[_0xbe85eb(0x354)];},'mergeParamsToRequest'(_0x21c33d,_0x106eb1){var _0x55c2a8=_0x2b5807;const _0x136e91=_0x27afb9[_0x55c2a8(0x207)]()+'/-/object/-/batch_allowed',_0x1d05a4=_0x21c33d['reduce']((_0xb07aed,_0x2e6088)=>{var _0x1e2669=_0x55c2a8;const {unitID:_0x2bb464,objectID:_0x152375,objectType:_0x34e4e2,actions:_0x133222}=_0x2e6088;return _0xb07aed[_0x2bb464]||(_0xb07aed[_0x2bb464]={}),_0xb07aed[_0x2bb464][_0x152375]||(_0xb07aed[_0x2bb464][_0x152375]={'objectID':_0x152375,'objectType':_0x34e4e2,'actions':[]}),_0xb07aed[_0x2bb464][_0x152375][_0x1e2669(0x120)][_0x1e2669(0x1f6)](..._0x133222),_0xb07aed;},{}),_0x148ae0=[];for(const _0x59fd61 in _0x1d05a4)for(const _0x20f380 in _0x1d05a4[_0x59fd61]){const {actions:_0x8daadb,objectType:_0x156c75}=_0x1d05a4[_0x59fd61][_0x20f380],_0x2639f9=[...new Set(_0x8daadb)];_0x148ae0[_0x55c2a8(0x1f6)]({'unitID':_0x59fd61,'objectID':_0x20f380,'objectType':_0x156c75,'actions':_0x2639f9});}return new _0x215ee5('POST',_0x136e91,{'headers':_0x106eb1[_0x55c2a8(0xb2)],'withCredentials':_0x106eb1[_0x55c2a8(0x214)],'responseType':_0x106eb1[_0x55c2a8(0x38a)],'body':{'requests':_0x148ae0}});}},{'distributeResult'(_0x1eb8bd,_0x5713a2){var _0x34d037=_0x2b5807;const {objectActions:_0x49e6c3}=_0x1eb8bd;return _0x5713a2[_0x34d037(0x2a2)](_0x50d222=>{var _0x38128f=_0x34d037;const {unitID:_0x2179a4,objectID:_0xa5f993,actions:_0x271a4c}=_0x50d222,_0x45881=_0x49e6c3[_0x38128f(0x8f)](_0x2b0606=>_0x2b0606[_0x38128f(0x1a0)]===_0x2179a4&&_0x2b0606[_0x38128f(0x23d)]===_0xa5f993),_0xd23126=_0x271a4c[_0x38128f(0x2a2)](_0x2a2d95=>_0x45881==null?void 0x0:_0x45881[_0x38128f(0x120)]['find'](_0x382b10=>_0x382b10[_0x38128f(0xe2)]===_0x2a2d95))[_0x38128f(0x308)](_0x56fb81=>!!_0x56fb81);return{'config':_0x50d222,'result':{'actions':_0xd23126,'error':_0x1eb8bd['error']}};});}})}));}[_0x535906(0x207)](){var _0x4576ff=_0x535906,_0x13e282;const _0x600927=this[_0x4576ff(0x371)][_0x4576ff(0x1c5)](K);return(_0x13e282=_0x600927==null?void 0x0:_0x600927[_0x4576ff(0x1c0)])!=null?_0x13e282:an;}async['create'](_0x471ac0){var _0x2edd50=_0x535906;const _0x20a0f5=this['_getAPIPrefixPath']()+'/'+_0x471ac0[_0x2edd50(0x34e)]+_0x2edd50(0x2e2);return(await this[_0x2edd50(0x177)][_0x2edd50(0x258)](_0x20a0f5,{'body':_0x471ac0}))['body']['objectID']||'';}async[_0x535906(0x269)](_0x21863e){var _0x519ca1=_0x535906;const _0x3ebeec=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x519ca1(0x177)][_0x519ca1(0x258)](_0x3ebeec,{'body':_0x21863e}))[_0x519ca1(0x354)][_0x519ca1(0x38c)];}async[_0x535906(0x2be)](_0x150cc0){var _0x3db570=_0x535906,_0x1d6a11,_0x2487ad;const _0x7f10af=this[_0x3db570(0x207)]()+'/'+_0x150cc0[_0x3db570(0x34e)]+_0x3db570(0x35f)+_0x150cc0[_0x3db570(0x23d)],_0xec968a=await this[_0x3db570(0x177)][_0x3db570(0x2cf)](_0x7f10af,{'body':_0x150cc0});if(((_0x2487ad=(_0x1d6a11=_0xec968a==null?void 0x0:_0xec968a[_0x3db570(0x354)])==null?void 0x0:_0x1d6a11['error'])==null?void 0x0:_0x2487ad[_0x3db570(0x92)])!==0x1)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x535906(0x2f1)](_0x3f78da){var _0x1c9a17=_0x535906;const _0x241058=this[_0x1c9a17(0x207)]()+'/'+_0x3f78da['objectType']+_0x1c9a17(0x35f)+_0x3f78da['objectID']+_0x1c9a17(0x234);return(await this['_HTTPService'][_0x1c9a17(0x258)](_0x241058,{'body':_0x3f78da}))[_0x1c9a17(0x354)]['actions'];}async[_0x535906(0x2fa)](_0x4fc6d3){var _0xcb5b8a=_0x535906;const _0x265f66=this[_0xcb5b8a(0x207)]()+_0xcb5b8a(0x37c);return(await this[_0xcb5b8a(0x177)][_0xcb5b8a(0x258)](_0x265f66,{'body':{'requests':_0x4fc6d3}}))[_0xcb5b8a(0x354)][_0xcb5b8a(0x188)];}async[_0x535906(0x19a)](_0x5cb0b0){var _0x53b053=_0x535906;const _0x1d07cf=this[_0x53b053(0x207)]()+'/'+_0x5cb0b0['objectType']+_0x53b053(0x261),_0x45c4a0=await this[_0x53b053(0x177)][_0x53b053(0x258)](_0x1d07cf,{'body':_0x5cb0b0});return{'roles':_0x45c4a0[_0x53b053(0x354)][_0x53b053(0x128)],'actions':_0x45c4a0[_0x53b053(0x354)][_0x53b053(0x120)]};}async[_0x535906(0x2ac)](_0x6507ee){var _0x3874cf=_0x535906;const _0x352099=this[_0x3874cf(0x207)]()+'/collaborator';await this[_0x3874cf(0x177)][_0x3874cf(0xe1)](_0x352099,{'params':{'collaboratorID':_0x6507ee[_0x3874cf(0x1d3)],'objectID':_0x6507ee[_0x3874cf(0x23d)],'unitID':_0x6507ee[_0x3874cf(0x1a0)]}});}async[_0x535906(0x2a6)](_0x488965){var _0x23d54b=_0x535906;const _0x22ce1c=this[_0x23d54b(0x207)]()+_0x23d54b(0x35b);await this[_0x23d54b(0x177)][_0x23d54b(0x2b7)](_0x22ce1c,{'body':_0x488965});}async[_0x535906(0x250)](_0x3c9947){var _0x3f2aa5=_0x535906;const _0x176871=this[_0x3f2aa5(0x207)]()+_0x3f2aa5(0x35b);await this[_0x3f2aa5(0x177)][_0x3f2aa5(0x258)](_0x176871,{'body':_0x3c9947});}async[_0x535906(0x239)](_0x31a65a){var _0x80595e=_0x535906;const _0x1090bb=this[_0x80595e(0x207)]()+_0x80595e(0x35b);return(await this['_HTTPService']['get'](_0x1090bb,{'params':{'objectID':_0x31a65a['objectID'],'unitID':_0x31a65a[_0x80595e(0x1a0)]}}))[_0x80595e(0x354)][_0x80595e(0x34d)];}async[_0x535906(0x300)](_0x2fdbeb){var _0x15f94f=_0x535906;const _0x4cbd54=this[_0x15f94f(0x207)]()+'/collaborator';await this[_0x15f94f(0x177)]['put'](_0x4cbd54,{'body':_0x2fdbeb});}};Tt=rn([Kt(0x0,_0x589d8c(_0x413224)),Kt(0x1,_0x589d8c(_0x47a418))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x4e827d){var _0x2d4547=_0x535906;return _0x4e827d&&_0x4e827d[_0x2d4547(0x1e5)]&&Object[_0x2d4547(0x1b3)]['hasOwnProperty'][_0x2d4547(0x2e3)](_0x4e827d,'default')?_0x4e827d[_0x2d4547(0x287)]:_0x4e827d;}var Ve={'exports':{}};function on(_0xa14ac0){var _0x23167f=_0x535906;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0xa14ac0+_0x23167f(0x25f));}var We={'exports':{}},cn=We[_0x535906(0x358)],qt;function te(){var _0x4292b6=_0x535906;return qt||(qt=0x1,function(_0x55a390,_0x30463b){(function(_0x27dc75,_0x17352c){var _0x968298=_0x5938;_0x55a390[_0x968298(0x358)]=_0x17352c();}(cn,function(){var _0x3f0e10=_0x3f0e10||function(_0x286b11,_0x133ca8){var _0x31b726=_0x5938,_0x35a9b5;if(typeof window<'u'&&window[_0x31b726(0x32f)]&&(_0x35a9b5=window['crypto']),typeof self<'u'&&self[_0x31b726(0x32f)]&&(_0x35a9b5=self[_0x31b726(0x32f)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x35a9b5=globalThis['crypto']),!_0x35a9b5&&typeof window<'u'&&window['msCrypto']&&(_0x35a9b5=window[_0x31b726(0x1f4)]),!_0x35a9b5&&typeof ft<'u'&&ft[_0x31b726(0x32f)]&&(_0x35a9b5=ft[_0x31b726(0x32f)]),!_0x35a9b5&&typeof on=='function')try{_0x35a9b5=require('crypto');}catch{}var _0x3fb6e0=function(){var _0xc1b9b=_0x31b726;if(_0x35a9b5){if(typeof _0x35a9b5['getRandomValues']=='function')try{return _0x35a9b5['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35a9b5['randomBytes']==_0xc1b9b(0x1b7))try{return _0x35a9b5['randomBytes'](0x4)[_0xc1b9b(0x29f)]();}catch{}}throw new Error(_0xc1b9b(0xa9));},_0x525591=Object['create']||(function(){function _0x11a307(){}return function(_0x2b26bd){var _0x152bf6=_0x5938,_0xd2d520;return _0x11a307[_0x152bf6(0x1b3)]=_0x2b26bd,_0xd2d520=new _0x11a307(),_0x11a307[_0x152bf6(0x1b3)]=null,_0xd2d520;};}()),_0x3ef480={},_0x2ff558=_0x3ef480[_0x31b726(0x322)]={},_0x4a9bf7=_0x2ff558['Base']=(function(){return{'extend':function(_0x472449){var _0x29aa83=_0x5938,_0x50a081=_0x525591(this);return _0x472449&&_0x50a081['mixIn'](_0x472449),(!_0x50a081[_0x29aa83(0x318)](_0x29aa83(0x248))||this[_0x29aa83(0x248)]===_0x50a081[_0x29aa83(0x248)])&&(_0x50a081[_0x29aa83(0x248)]=function(){var _0x433452=_0x29aa83;_0x50a081[_0x433452(0x1dc)]['init'][_0x433452(0x112)](this,arguments);}),_0x50a081['init'][_0x29aa83(0x1b3)]=_0x50a081,_0x50a081[_0x29aa83(0x1dc)]=this,_0x50a081;},'create':function(){var _0x35cb94=_0x5938,_0x300ac9=this['extend']();return _0x300ac9['init'][_0x35cb94(0x112)](_0x300ac9,arguments),_0x300ac9;},'init':function(){},'mixIn':function(_0xeea5e6){var _0x1974b7=_0x5938;for(var _0x438677 in _0xeea5e6)_0xeea5e6['hasOwnProperty'](_0x438677)&&(this[_0x438677]=_0xeea5e6[_0x438677]);_0xeea5e6[_0x1974b7(0x318)](_0x1974b7(0x21f))&&(this[_0x1974b7(0x21f)]=_0xeea5e6[_0x1974b7(0x21f)]);},'clone':function(){var _0x2e1883=_0x5938;return this[_0x2e1883(0x248)]['prototype'][_0x2e1883(0x254)](this);}};}()),_0x5498b8=_0x2ff558['WordArray']=_0x4a9bf7[_0x31b726(0x254)]({'init':function(_0x28b43e,_0x565313){var _0x2c8ad2=_0x31b726;_0x28b43e=this[_0x2c8ad2(0x22b)]=_0x28b43e||[],_0x565313!=_0x133ca8?this[_0x2c8ad2(0x9e)]=_0x565313:this[_0x2c8ad2(0x9e)]=_0x28b43e[_0x2c8ad2(0x2d5)]*0x4;},'toString':function(_0x2416ff){var _0x3c2939=_0x31b726;return(_0x2416ff||_0x57d843)[_0x3c2939(0x119)](this);},'concat':function(_0xf3f0fe){var _0x4d5dfc=_0x31b726,_0x439251=this['words'],_0x15829e=_0xf3f0fe[_0x4d5dfc(0x22b)],_0x577654=this[_0x4d5dfc(0x9e)],_0xd9e737=_0xf3f0fe[_0x4d5dfc(0x9e)];if(this[_0x4d5dfc(0x241)](),_0x577654%0x4)for(var _0x5d7534=0x0;_0x5d7534<_0xd9e737;_0x5d7534++){var _0x509b82=_0x15829e[_0x5d7534>>>0x2]>>>0x18-_0x5d7534%0x4*0x8&0xff;_0x439251[_0x577654+_0x5d7534>>>0x2]|=_0x509b82<<0x18-(_0x577654+_0x5d7534)%0x4*0x8;}else{for(var _0x1a5778=0x0;_0x1a5778<_0xd9e737;_0x1a5778+=0x4)_0x439251[_0x577654+_0x1a5778>>>0x2]=_0x15829e[_0x1a5778>>>0x2];}return this[_0x4d5dfc(0x9e)]+=_0xd9e737,this;},'clamp':function(){var _0x37eebd=_0x31b726,_0x1cd3b5=this['words'],_0x205bec=this[_0x37eebd(0x9e)];_0x1cd3b5[_0x205bec>>>0x2]&=0xffffffff<<0x20-_0x205bec%0x4*0x8,_0x1cd3b5[_0x37eebd(0x2d5)]=_0x286b11[_0x37eebd(0x231)](_0x205bec/0x4);},'clone':function(){var _0x42df07=_0x31b726,_0x4d5d84=_0x4a9bf7['clone'][_0x42df07(0x2e3)](this);return _0x4d5d84[_0x42df07(0x22b)]=this[_0x42df07(0x22b)][_0x42df07(0x9c)](0x0),_0x4d5d84;},'random':function(_0x3d212f){var _0x5ce9ce=_0x31b726;for(var _0x2245c0=[],_0x221bb6=0x0;_0x221bb6<_0x3d212f;_0x221bb6+=0x4)_0x2245c0[_0x5ce9ce(0x1f6)](_0x3fb6e0());return new _0x5498b8['init'](_0x2245c0,_0x3d212f);}}),_0xfd3d3b=_0x3ef480[_0x31b726(0x286)]={},_0x57d843=_0xfd3d3b[_0x31b726(0x1b9)]={'stringify':function(_0xdf465a){var _0x25e00e=_0x31b726;for(var _0xc87cb8=_0xdf465a[_0x25e00e(0x22b)],_0xd8e2b4=_0xdf465a[_0x25e00e(0x9e)],_0x10eb51=[],_0x55c0f6=0x0;_0x55c0f6<_0xd8e2b4;_0x55c0f6++){var _0x5e3662=_0xc87cb8[_0x55c0f6>>>0x2]>>>0x18-_0x55c0f6%0x4*0x8&0xff;_0x10eb51[_0x25e00e(0x1f6)]((_0x5e3662>>>0x4)[_0x25e00e(0x21f)](0x10)),_0x10eb51[_0x25e00e(0x1f6)]((_0x5e3662&0xf)['toString'](0x10));}return _0x10eb51[_0x25e00e(0x362)]('');},'parse':function(_0x4e38b2){var _0x1eead4=_0x31b726;for(var _0x3d4a1c=_0x4e38b2[_0x1eead4(0x2d5)],_0x3bffd0=[],_0x3282b2=0x0;_0x3282b2<_0x3d4a1c;_0x3282b2+=0x2)_0x3bffd0[_0x3282b2>>>0x3]|=parseInt(_0x4e38b2['substr'](_0x3282b2,0x2),0x10)<<0x18-_0x3282b2%0x8*0x4;return new _0x5498b8[(_0x1eead4(0x248))](_0x3bffd0,_0x3d4a1c/0x2);}},_0x2cb814=_0xfd3d3b[_0x31b726(0x211)]={'stringify':function(_0x48f41b){var _0xccdfec=_0x31b726;for(var _0x42fb1c=_0x48f41b['words'],_0xd0e8c3=_0x48f41b['sigBytes'],_0x2c9d52=[],_0x2fc021=0x0;_0x2fc021<_0xd0e8c3;_0x2fc021++){var _0x5ed894=_0x42fb1c[_0x2fc021>>>0x2]>>>0x18-_0x2fc021%0x4*0x8&0xff;_0x2c9d52[_0xccdfec(0x1f6)](String['fromCharCode'](_0x5ed894));}return _0x2c9d52[_0xccdfec(0x362)]('');},'parse':function(_0x152cb6){var _0x48848f=_0x31b726;for(var _0x557ab6=_0x152cb6['length'],_0x62b0d2=[],_0x4e1069=0x0;_0x4e1069<_0x557ab6;_0x4e1069++)_0x62b0d2[_0x4e1069>>>0x2]|=(_0x152cb6['charCodeAt'](_0x4e1069)&0xff)<<0x18-_0x4e1069%0x4*0x8;return new _0x5498b8[(_0x48848f(0x248))](_0x62b0d2,_0x557ab6);}},_0x35dfd5=_0xfd3d3b[_0x31b726(0x224)]={'stringify':function(_0x2a3846){var _0x35071a=_0x31b726;try{return decodeURIComponent(escape(_0x2cb814['stringify'](_0x2a3846)));}catch{throw new Error(_0x35071a(0x21a));}},'parse':function(_0x7159b6){var _0x180ff2=_0x31b726;return _0x2cb814[_0x180ff2(0xee)](unescape(encodeURIComponent(_0x7159b6)));}},_0x469e46=_0x2ff558[_0x31b726(0x2dc)]=_0x4a9bf7[_0x31b726(0x254)]({'reset':function(){var _0x3a8e2e=_0x31b726;this[_0x3a8e2e(0x2b6)]=new _0x5498b8[(_0x3a8e2e(0x248))](),this[_0x3a8e2e(0x373)]=0x0;},'_append':function(_0x5fd916){var _0x2e835a=_0x31b726;typeof _0x5fd916==_0x2e835a(0xc2)&&(_0x5fd916=_0x35dfd5['parse'](_0x5fd916)),this['_data'][_0x2e835a(0x283)](_0x5fd916),this[_0x2e835a(0x373)]+=_0x5fd916[_0x2e835a(0x9e)];},'_process':function(_0x8966e7){var _0x3f383c=_0x31b726,_0x594db7,_0x5b0b82=this[_0x3f383c(0x2b6)],_0x4a5696=_0x5b0b82[_0x3f383c(0x22b)],_0x3ab9c2=_0x5b0b82[_0x3f383c(0x9e)],_0xf9034=this[_0x3f383c(0x2e5)],_0x3e044b=_0xf9034*0x4,_0x1dae84=_0x3ab9c2/_0x3e044b;_0x8966e7?_0x1dae84=_0x286b11[_0x3f383c(0x231)](_0x1dae84):_0x1dae84=_0x286b11['max']((_0x1dae84|0x0)-this['_minBufferSize'],0x0);var _0x18fd40=_0x1dae84*_0xf9034,_0xf4ced6=_0x286b11[_0x3f383c(0x10f)](_0x18fd40*0x4,_0x3ab9c2);if(_0x18fd40){for(var _0x31d4fe=0x0;_0x31d4fe<_0x18fd40;_0x31d4fe+=_0xf9034)this[_0x3f383c(0x1cd)](_0x4a5696,_0x31d4fe);_0x594db7=_0x4a5696[_0x3f383c(0x9f)](0x0,_0x18fd40),_0x5b0b82[_0x3f383c(0x9e)]-=_0xf4ced6;}return new _0x5498b8['init'](_0x594db7,_0xf4ced6);},'clone':function(){var _0x396ac4=_0x31b726,_0x1ab1cd=_0x4a9bf7['clone'][_0x396ac4(0x2e3)](this);return _0x1ab1cd[_0x396ac4(0x2b6)]=this['_data']['clone'](),_0x1ab1cd;},'_minBufferSize':0x0});_0x2ff558[_0x31b726(0x1e6)]=_0x469e46[_0x31b726(0x254)]({'cfg':_0x4a9bf7[_0x31b726(0x254)](),'init':function(_0x5e9ccf){var _0x3403b6=_0x31b726;this[_0x3403b6(0x35e)]=this['cfg'][_0x3403b6(0x254)](_0x5e9ccf),this[_0x3403b6(0x2a1)]();},'reset':function(){var _0x2c25fb=_0x31b726;_0x469e46[_0x2c25fb(0x2a1)]['call'](this),this[_0x2c25fb(0x30c)]();},'update':function(_0x4f21f9){var _0x2c4a48=_0x31b726;return this[_0x2c4a48(0x28e)](_0x4f21f9),this[_0x2c4a48(0x220)](),this;},'finalize':function(_0x422dbe){var _0x1d3ce3=_0x31b726;_0x422dbe&&this['_append'](_0x422dbe);var _0xf9d2ca=this[_0x1d3ce3(0x96)]();return _0xf9d2ca;},'blockSize':0x10,'_createHelper':function(_0x36c29a){return function(_0x38a454,_0x19eb49){var _0x3939a7=_0x5938;return new _0x36c29a[(_0x3939a7(0x248))](_0x19eb49)[_0x3939a7(0xef)](_0x38a454);};},'_createHmacHelper':function(_0x49d74c){return function(_0x239484,_0x213dfa){var _0x225500=_0x5938;return new _0x148ad5['HMAC'][(_0x225500(0x248))](_0x49d74c,_0x213dfa)['finalize'](_0x239484);};}});var _0x148ad5=_0x3ef480[_0x31b726(0x24d)]={};return _0x3ef480;}(Math);return _0x3f0e10;}));}(We)),We[_0x4292b6(0x358)];}var Ge={'exports':{}},hn=Ge['exports'],zt;function Ri(){return zt||(zt=0x1,function(_0x1726e2,_0x3857b0){(function(_0x111224,_0x133cba){var _0x11c6f3=_0x5938;_0x1726e2[_0x11c6f3(0x358)]=_0x133cba(te());}(hn,function(_0x53b5dd){var _0x488c96=_0x5938;return(function(){var _0x51cccb=_0x5938,_0x38d23c=_0x53b5dd,_0x13604c=_0x38d23c[_0x51cccb(0x322)],_0x5a32c7=_0x13604c[_0x51cccb(0x139)],_0x1c5e6a=_0x38d23c[_0x51cccb(0x286)];_0x1c5e6a[_0x51cccb(0x30f)]={'stringify':function(_0x504c05){var _0xabb5b5=_0x51cccb,_0x5cf7e5=_0x504c05['words'],_0x7df5b1=_0x504c05[_0xabb5b5(0x9e)],_0x357bad=this['_map'];_0x504c05[_0xabb5b5(0x241)]();for(var _0x9a8a24=[],_0x5743c6=0x0;_0x5743c6<_0x7df5b1;_0x5743c6+=0x3)for(var _0x3f3b20=_0x5cf7e5[_0x5743c6>>>0x2]>>>0x18-_0x5743c6%0x4*0x8&0xff,_0x4f5b99=_0x5cf7e5[_0x5743c6+0x1>>>0x2]>>>0x18-(_0x5743c6+0x1)%0x4*0x8&0xff,_0x1fb33e=_0x5cf7e5[_0x5743c6+0x2>>>0x2]>>>0x18-(_0x5743c6+0x2)%0x4*0x8&0xff,_0x4450c2=_0x3f3b20<<0x10|_0x4f5b99<<0x8|_0x1fb33e,_0x33b1fe=0x0;_0x33b1fe<0x4&&_0x5743c6+_0x33b1fe*0.75<_0x7df5b1;_0x33b1fe++)_0x9a8a24['push'](_0x357bad[_0xabb5b5(0xce)](_0x4450c2>>>0x6*(0x3-_0x33b1fe)&0x3f));var _0x5ab7e9=_0x357bad[_0xabb5b5(0xce)](0x40);if(_0x5ab7e9){for(;_0x9a8a24['length']%0x4;)_0x9a8a24['push'](_0x5ab7e9);}return _0x9a8a24[_0xabb5b5(0x362)]('');},'parse':function(_0x257fda){var _0x40c681=_0x51cccb,_0x46edc6=_0x257fda['length'],_0x56a4c2=this[_0x40c681(0x334)],_0x443723=this[_0x40c681(0xf8)];if(!_0x443723){_0x443723=this[_0x40c681(0xf8)]=[];for(var _0x36c287=0x0;_0x36c287<_0x56a4c2[_0x40c681(0x2d5)];_0x36c287++)_0x443723[_0x56a4c2[_0x40c681(0x390)](_0x36c287)]=_0x36c287;}var _0x1c9534=_0x56a4c2[_0x40c681(0xce)](0x40);if(_0x1c9534){var _0x4a8ab8=_0x257fda[_0x40c681(0x1f2)](_0x1c9534);_0x4a8ab8!==-0x1&&(_0x46edc6=_0x4a8ab8);}return _0x3bdae2(_0x257fda,_0x46edc6,_0x443723);},'_map':_0x51cccb(0x21e)};function _0x3bdae2(_0x5e6c6a,_0x810cd4,_0x6f2b75){var _0x538580=_0x51cccb;for(var _0x10cf12=[],_0x5c2d61=0x0,_0x1f1c82=0x0;_0x1f1c82<_0x810cd4;_0x1f1c82++)if(_0x1f1c82%0x4){var _0x3a24aa=_0x6f2b75[_0x5e6c6a[_0x538580(0x390)](_0x1f1c82-0x1)]<<_0x1f1c82%0x4*0x2,_0x19fc92=_0x6f2b75[_0x5e6c6a[_0x538580(0x390)](_0x1f1c82)]>>>0x6-_0x1f1c82%0x4*0x2,_0x43d37b=_0x3a24aa|_0x19fc92;_0x10cf12[_0x5c2d61>>>0x2]|=_0x43d37b<<0x18-_0x5c2d61%0x4*0x8,_0x5c2d61++;}return _0x5a32c7[_0x538580(0x1e3)](_0x10cf12,_0x5c2d61);}}()),_0x53b5dd[_0x488c96(0x286)][_0x488c96(0x30f)];}));}(Ge)),Ge['exports'];}var Ye={'exports':{}},_n=Ye[_0x535906(0x358)],Jt;function ln(){return Jt||(Jt=0x1,function(_0x2f4513,_0x589e8b){(function(_0x3c7f74,_0x3d2013){_0x2f4513['exports']=_0x3d2013(te());}(_n,function(_0x4c9462){var _0x559ba3=_0x5938;return function(_0x2e91f5){var _0x339a39=_0x5938,_0x5eac85=_0x4c9462,_0x43c3bc=_0x5eac85[_0x339a39(0x322)],_0xc1c1b7=_0x43c3bc[_0x339a39(0x139)],_0x5710da=_0x43c3bc['Hasher'],_0x361310=_0x5eac85[_0x339a39(0x24d)],_0x4ea30c=[];(function(){var _0x19c43b=_0x339a39;for(var _0x1576a7=0x0;_0x1576a7<0x40;_0x1576a7++)_0x4ea30c[_0x1576a7]=_0x2e91f5[_0x19c43b(0x324)](_0x2e91f5[_0x19c43b(0x2d1)](_0x1576a7+0x1))*0x100000000|0x0;}());var _0x67a2e4=_0x361310[_0x339a39(0x126)]=_0x5710da[_0x339a39(0x254)]({'_doReset':function(){var _0x45e347=_0x339a39;this[_0x45e347(0x17d)]=new _0xc1c1b7['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x39b1c3,_0xdd95ba){var _0x2ef001=_0x339a39;for(var _0x1598ab=0x0;_0x1598ab<0x10;_0x1598ab++){var _0x41efd4=_0xdd95ba+_0x1598ab,_0x13aced=_0x39b1c3[_0x41efd4];_0x39b1c3[_0x41efd4]=(_0x13aced<<0x8|_0x13aced>>>0x18)&0xff00ff|(_0x13aced<<0x18|_0x13aced>>>0x8)&0xff00ff00;}var _0x3f1cb5=this['_hash'][_0x2ef001(0x22b)],_0x59ebd3=_0x39b1c3[_0xdd95ba+0x0],_0x563c2e=_0x39b1c3[_0xdd95ba+0x1],_0x2e010f=_0x39b1c3[_0xdd95ba+0x2],_0x44bc96=_0x39b1c3[_0xdd95ba+0x3],_0x8d616d=_0x39b1c3[_0xdd95ba+0x4],_0xd75c35=_0x39b1c3[_0xdd95ba+0x5],_0x1be313=_0x39b1c3[_0xdd95ba+0x6],_0x4223ed=_0x39b1c3[_0xdd95ba+0x7],_0x5c35bb=_0x39b1c3[_0xdd95ba+0x8],_0x5c93c2=_0x39b1c3[_0xdd95ba+0x9],_0x288aed=_0x39b1c3[_0xdd95ba+0xa],_0x487605=_0x39b1c3[_0xdd95ba+0xb],_0x19631e=_0x39b1c3[_0xdd95ba+0xc],_0x41d9f0=_0x39b1c3[_0xdd95ba+0xd],_0x2c0f96=_0x39b1c3[_0xdd95ba+0xe],_0x1aa85d=_0x39b1c3[_0xdd95ba+0xf],_0x234ceb=_0x3f1cb5[0x0],_0x130112=_0x3f1cb5[0x1],_0x18b39f=_0x3f1cb5[0x2],_0x2f8aa3=_0x3f1cb5[0x3];_0x234ceb=_0x1753ae(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x59ebd3,0x7,_0x4ea30c[0x0]),_0x2f8aa3=_0x1753ae(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x563c2e,0xc,_0x4ea30c[0x1]),_0x18b39f=_0x1753ae(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x2e010f,0x11,_0x4ea30c[0x2]),_0x130112=_0x1753ae(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x44bc96,0x16,_0x4ea30c[0x3]),_0x234ceb=_0x1753ae(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x8d616d,0x7,_0x4ea30c[0x4]),_0x2f8aa3=_0x1753ae(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0xd75c35,0xc,_0x4ea30c[0x5]),_0x18b39f=_0x1753ae(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x1be313,0x11,_0x4ea30c[0x6]),_0x130112=_0x1753ae(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x4223ed,0x16,_0x4ea30c[0x7]),_0x234ceb=_0x1753ae(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x5c35bb,0x7,_0x4ea30c[0x8]),_0x2f8aa3=_0x1753ae(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x5c93c2,0xc,_0x4ea30c[0x9]),_0x18b39f=_0x1753ae(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x288aed,0x11,_0x4ea30c[0xa]),_0x130112=_0x1753ae(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x487605,0x16,_0x4ea30c[0xb]),_0x234ceb=_0x1753ae(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x19631e,0x7,_0x4ea30c[0xc]),_0x2f8aa3=_0x1753ae(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x41d9f0,0xc,_0x4ea30c[0xd]),_0x18b39f=_0x1753ae(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x2c0f96,0x11,_0x4ea30c[0xe]),_0x130112=_0x1753ae(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x1aa85d,0x16,_0x4ea30c[0xf]),_0x234ceb=_0x222653(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x563c2e,0x5,_0x4ea30c[0x10]),_0x2f8aa3=_0x222653(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x1be313,0x9,_0x4ea30c[0x11]),_0x18b39f=_0x222653(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x487605,0xe,_0x4ea30c[0x12]),_0x130112=_0x222653(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x59ebd3,0x14,_0x4ea30c[0x13]),_0x234ceb=_0x222653(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0xd75c35,0x5,_0x4ea30c[0x14]),_0x2f8aa3=_0x222653(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x288aed,0x9,_0x4ea30c[0x15]),_0x18b39f=_0x222653(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x1aa85d,0xe,_0x4ea30c[0x16]),_0x130112=_0x222653(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x8d616d,0x14,_0x4ea30c[0x17]),_0x234ceb=_0x222653(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x5c93c2,0x5,_0x4ea30c[0x18]),_0x2f8aa3=_0x222653(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x2c0f96,0x9,_0x4ea30c[0x19]),_0x18b39f=_0x222653(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x44bc96,0xe,_0x4ea30c[0x1a]),_0x130112=_0x222653(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x5c35bb,0x14,_0x4ea30c[0x1b]),_0x234ceb=_0x222653(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x41d9f0,0x5,_0x4ea30c[0x1c]),_0x2f8aa3=_0x222653(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x2e010f,0x9,_0x4ea30c[0x1d]),_0x18b39f=_0x222653(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x4223ed,0xe,_0x4ea30c[0x1e]),_0x130112=_0x222653(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x19631e,0x14,_0x4ea30c[0x1f]),_0x234ceb=_0x2fa38f(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0xd75c35,0x4,_0x4ea30c[0x20]),_0x2f8aa3=_0x2fa38f(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x5c35bb,0xb,_0x4ea30c[0x21]),_0x18b39f=_0x2fa38f(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x487605,0x10,_0x4ea30c[0x22]),_0x130112=_0x2fa38f(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x2c0f96,0x17,_0x4ea30c[0x23]),_0x234ceb=_0x2fa38f(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x563c2e,0x4,_0x4ea30c[0x24]),_0x2f8aa3=_0x2fa38f(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x8d616d,0xb,_0x4ea30c[0x25]),_0x18b39f=_0x2fa38f(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x4223ed,0x10,_0x4ea30c[0x26]),_0x130112=_0x2fa38f(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x288aed,0x17,_0x4ea30c[0x27]),_0x234ceb=_0x2fa38f(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x41d9f0,0x4,_0x4ea30c[0x28]),_0x2f8aa3=_0x2fa38f(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x59ebd3,0xb,_0x4ea30c[0x29]),_0x18b39f=_0x2fa38f(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x44bc96,0x10,_0x4ea30c[0x2a]),_0x130112=_0x2fa38f(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x1be313,0x17,_0x4ea30c[0x2b]),_0x234ceb=_0x2fa38f(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x5c93c2,0x4,_0x4ea30c[0x2c]),_0x2f8aa3=_0x2fa38f(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x19631e,0xb,_0x4ea30c[0x2d]),_0x18b39f=_0x2fa38f(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x1aa85d,0x10,_0x4ea30c[0x2e]),_0x130112=_0x2fa38f(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x2e010f,0x17,_0x4ea30c[0x2f]),_0x234ceb=_0x13c2a6(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x59ebd3,0x6,_0x4ea30c[0x30]),_0x2f8aa3=_0x13c2a6(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x4223ed,0xa,_0x4ea30c[0x31]),_0x18b39f=_0x13c2a6(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x2c0f96,0xf,_0x4ea30c[0x32]),_0x130112=_0x13c2a6(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0xd75c35,0x15,_0x4ea30c[0x33]),_0x234ceb=_0x13c2a6(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x19631e,0x6,_0x4ea30c[0x34]),_0x2f8aa3=_0x13c2a6(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x44bc96,0xa,_0x4ea30c[0x35]),_0x18b39f=_0x13c2a6(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x288aed,0xf,_0x4ea30c[0x36]),_0x130112=_0x13c2a6(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x563c2e,0x15,_0x4ea30c[0x37]),_0x234ceb=_0x13c2a6(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x5c35bb,0x6,_0x4ea30c[0x38]),_0x2f8aa3=_0x13c2a6(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x1aa85d,0xa,_0x4ea30c[0x39]),_0x18b39f=_0x13c2a6(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x1be313,0xf,_0x4ea30c[0x3a]),_0x130112=_0x13c2a6(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x41d9f0,0x15,_0x4ea30c[0x3b]),_0x234ceb=_0x13c2a6(_0x234ceb,_0x130112,_0x18b39f,_0x2f8aa3,_0x8d616d,0x6,_0x4ea30c[0x3c]),_0x2f8aa3=_0x13c2a6(_0x2f8aa3,_0x234ceb,_0x130112,_0x18b39f,_0x487605,0xa,_0x4ea30c[0x3d]),_0x18b39f=_0x13c2a6(_0x18b39f,_0x2f8aa3,_0x234ceb,_0x130112,_0x2e010f,0xf,_0x4ea30c[0x3e]),_0x130112=_0x13c2a6(_0x130112,_0x18b39f,_0x2f8aa3,_0x234ceb,_0x5c93c2,0x15,_0x4ea30c[0x3f]),_0x3f1cb5[0x0]=_0x3f1cb5[0x0]+_0x234ceb|0x0,_0x3f1cb5[0x1]=_0x3f1cb5[0x1]+_0x130112|0x0,_0x3f1cb5[0x2]=_0x3f1cb5[0x2]+_0x18b39f|0x0,_0x3f1cb5[0x3]=_0x3f1cb5[0x3]+_0x2f8aa3|0x0;},'_doFinalize':function(){var _0x4daf3c=_0x339a39,_0x5e68be=this[_0x4daf3c(0x2b6)],_0x33f082=_0x5e68be[_0x4daf3c(0x22b)],_0x1dd6b7=this[_0x4daf3c(0x373)]*0x8,_0x287945=_0x5e68be[_0x4daf3c(0x9e)]*0x8;_0x33f082[_0x287945>>>0x5]|=0x80<<0x18-_0x287945%0x20;var _0x12ba23=_0x2e91f5['floor'](_0x1dd6b7/0x100000000),_0x2b3d31=_0x1dd6b7;_0x33f082[(_0x287945+0x40>>>0x9<<0x4)+0xf]=(_0x12ba23<<0x8|_0x12ba23>>>0x18)&0xff00ff|(_0x12ba23<<0x18|_0x12ba23>>>0x8)&0xff00ff00,_0x33f082[(_0x287945+0x40>>>0x9<<0x4)+0xe]=(_0x2b3d31<<0x8|_0x2b3d31>>>0x18)&0xff00ff|(_0x2b3d31<<0x18|_0x2b3d31>>>0x8)&0xff00ff00,_0x5e68be[_0x4daf3c(0x9e)]=(_0x33f082['length']+0x1)*0x4,this[_0x4daf3c(0x220)]();for(var _0x2f04d1=this[_0x4daf3c(0x17d)],_0x157718=_0x2f04d1[_0x4daf3c(0x22b)],_0x9a0362=0x0;_0x9a0362<0x4;_0x9a0362++){var _0x1ee1dd=_0x157718[_0x9a0362];_0x157718[_0x9a0362]=(_0x1ee1dd<<0x8|_0x1ee1dd>>>0x18)&0xff00ff|(_0x1ee1dd<<0x18|_0x1ee1dd>>>0x8)&0xff00ff00;}return _0x2f04d1;},'clone':function(){var _0x2d4ee4=_0x339a39,_0x495640=_0x5710da['clone']['call'](this);return _0x495640['_hash']=this[_0x2d4ee4(0x17d)][_0x2d4ee4(0x24b)](),_0x495640;}});function _0x1753ae(_0x2d4607,_0x622665,_0x210d23,_0xff87db,_0x3dc91b,_0x6ce69,_0x4718f1){var _0x5daae1=_0x2d4607+(_0x622665&_0x210d23|~_0x622665&_0xff87db)+_0x3dc91b+_0x4718f1;return(_0x5daae1<<_0x6ce69|_0x5daae1>>>0x20-_0x6ce69)+_0x622665;}function _0x222653(_0x55192f,_0x1ab7d2,_0x14862d,_0x58a5cd,_0x20846d,_0x29b45d,_0x901cbe){var _0x4d00b1=_0x55192f+(_0x1ab7d2&_0x58a5cd|_0x14862d&~_0x58a5cd)+_0x20846d+_0x901cbe;return(_0x4d00b1<<_0x29b45d|_0x4d00b1>>>0x20-_0x29b45d)+_0x1ab7d2;}function _0x2fa38f(_0x35a5e6,_0x103016,_0x5be944,_0x454cc2,_0x140f18,_0x672b53,_0x40592c){var _0x3f4dd=_0x35a5e6+(_0x103016^_0x5be944^_0x454cc2)+_0x140f18+_0x40592c;return(_0x3f4dd<<_0x672b53|_0x3f4dd>>>0x20-_0x672b53)+_0x103016;}function _0x13c2a6(_0xc2d1f,_0x57e668,_0x5e8f60,_0x267e52,_0x56f69c,_0x115606,_0x1c0daf){var _0x2920be=_0xc2d1f+(_0x5e8f60^(_0x57e668|~_0x267e52))+_0x56f69c+_0x1c0daf;return(_0x2920be<<_0x115606|_0x2920be>>>0x20-_0x115606)+_0x57e668;}_0x5eac85[_0x339a39(0x126)]=_0x5710da['_createHelper'](_0x67a2e4),_0x5eac85[_0x339a39(0x1f5)]=_0x5710da[_0x339a39(0x107)](_0x67a2e4);}(Math),_0x4c9462[_0x559ba3(0x126)];}));}(Ye)),Ye['exports'];}var Ke={'exports':{}},qe={'exports':{}},un=qe[_0x535906(0x358)],Xt;function dn(){var _0x562a1b=_0x535906;return Xt||(Xt=0x1,function(_0x5c97c1,_0x44ff55){(function(_0x565693,_0x46a321){var _0xe7222d=_0x5938;_0x5c97c1[_0xe7222d(0x358)]=_0x46a321(te());}(un,function(_0x36c03f){var _0x2c8a18=_0x5938;return(function(){var _0x5c621a=_0x5938,_0x1a6a6d=_0x36c03f,_0x225191=_0x1a6a6d[_0x5c621a(0x322)],_0x1a4a0f=_0x225191['WordArray'],_0x3fa9fd=_0x225191[_0x5c621a(0x1e6)],_0x12a2b5=_0x1a6a6d[_0x5c621a(0x24d)],_0x3cc82c=[],_0x26e9f4=_0x12a2b5[_0x5c621a(0xac)]=_0x3fa9fd[_0x5c621a(0x254)]({'_doReset':function(){var _0x58f890=_0x5c621a;this[_0x58f890(0x17d)]=new _0x1a4a0f[(_0x58f890(0x248))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x28e62a,_0x27d23c){var _0x4ed513=_0x5c621a;for(var _0x1da683=this['_hash'][_0x4ed513(0x22b)],_0x11e15=_0x1da683[0x0],_0x2e4552=_0x1da683[0x1],_0x44ed18=_0x1da683[0x2],_0x5ef974=_0x1da683[0x3],_0xf2770a=_0x1da683[0x4],_0x668bf4=0x0;_0x668bf4<0x50;_0x668bf4++){if(_0x668bf4<0x10)_0x3cc82c[_0x668bf4]=_0x28e62a[_0x27d23c+_0x668bf4]|0x0;else{var _0x279783=_0x3cc82c[_0x668bf4-0x3]^_0x3cc82c[_0x668bf4-0x8]^_0x3cc82c[_0x668bf4-0xe]^_0x3cc82c[_0x668bf4-0x10];_0x3cc82c[_0x668bf4]=_0x279783<<0x1|_0x279783>>>0x1f;}var _0x421af6=(_0x11e15<<0x5|_0x11e15>>>0x1b)+_0xf2770a+_0x3cc82c[_0x668bf4];_0x668bf4<0x14?_0x421af6+=(_0x2e4552&_0x44ed18|~_0x2e4552&_0x5ef974)+0x5a827999:_0x668bf4<0x28?_0x421af6+=(_0x2e4552^_0x44ed18^_0x5ef974)+0x6ed9eba1:_0x668bf4<0x3c?_0x421af6+=(_0x2e4552&_0x44ed18|_0x2e4552&_0x5ef974|_0x44ed18&_0x5ef974)-0x70e44324:_0x421af6+=(_0x2e4552^_0x44ed18^_0x5ef974)-0x359d3e2a,_0xf2770a=_0x5ef974,_0x5ef974=_0x44ed18,_0x44ed18=_0x2e4552<<0x1e|_0x2e4552>>>0x2,_0x2e4552=_0x11e15,_0x11e15=_0x421af6;}_0x1da683[0x0]=_0x1da683[0x0]+_0x11e15|0x0,_0x1da683[0x1]=_0x1da683[0x1]+_0x2e4552|0x0,_0x1da683[0x2]=_0x1da683[0x2]+_0x44ed18|0x0,_0x1da683[0x3]=_0x1da683[0x3]+_0x5ef974|0x0,_0x1da683[0x4]=_0x1da683[0x4]+_0xf2770a|0x0;},'_doFinalize':function(){var _0x46eafc=_0x5c621a,_0x424839=this[_0x46eafc(0x2b6)],_0x3729b8=_0x424839[_0x46eafc(0x22b)],_0xe13590=this[_0x46eafc(0x373)]*0x8,_0x1ba9b3=_0x424839['sigBytes']*0x8;return _0x3729b8[_0x1ba9b3>>>0x5]|=0x80<<0x18-_0x1ba9b3%0x20,_0x3729b8[(_0x1ba9b3+0x40>>>0x9<<0x4)+0xe]=Math[_0x46eafc(0xe3)](_0xe13590/0x100000000),_0x3729b8[(_0x1ba9b3+0x40>>>0x9<<0x4)+0xf]=_0xe13590,_0x424839['sigBytes']=_0x3729b8[_0x46eafc(0x2d5)]*0x4,this[_0x46eafc(0x220)](),this['_hash'];},'clone':function(){var _0x1f7df7=_0x5c621a,_0x136c2a=_0x3fa9fd[_0x1f7df7(0x24b)]['call'](this);return _0x136c2a['_hash']=this[_0x1f7df7(0x17d)][_0x1f7df7(0x24b)](),_0x136c2a;}});_0x1a6a6d['SHA1']=_0x3fa9fd[_0x5c621a(0x111)](_0x26e9f4),_0x1a6a6d[_0x5c621a(0x2bc)]=_0x3fa9fd[_0x5c621a(0x107)](_0x26e9f4);}()),_0x36c03f[_0x2c8a18(0xac)];}));}(qe)),qe[_0x562a1b(0x358)];}var ze={'exports':{}},fn=ze[_0x535906(0x358)],Zt;function vn(){return Zt||(Zt=0x1,function(_0x241a18,_0x5e3a8a){(function(_0x5a01ff,_0x1aee9d){var _0xedd5d9=_0x5938;_0x241a18[_0xedd5d9(0x358)]=_0x1aee9d(te());}(fn,function(_0x52d3ce){(function(){var _0x40d5ee=_0x5938,_0x29cae1=_0x52d3ce,_0x1e5598=_0x29cae1[_0x40d5ee(0x322)],_0x5970a0=_0x1e5598['Base'],_0x326cba=_0x29cae1[_0x40d5ee(0x286)],_0x3c78f4=_0x326cba[_0x40d5ee(0x224)],_0x192b9b=_0x29cae1[_0x40d5ee(0x24d)];_0x192b9b[_0x40d5ee(0xf3)]=_0x5970a0[_0x40d5ee(0x254)]({'init':function(_0x154e15,_0x43ba59){var _0x6cfeee=_0x40d5ee;_0x154e15=this[_0x6cfeee(0x2bd)]=new _0x154e15[(_0x6cfeee(0x248))](),typeof _0x43ba59==_0x6cfeee(0xc2)&&(_0x43ba59=_0x3c78f4[_0x6cfeee(0xee)](_0x43ba59));var _0x302df0=_0x154e15['blockSize'],_0x12b3d9=_0x302df0*0x4;_0x43ba59['sigBytes']>_0x12b3d9&&(_0x43ba59=_0x154e15[_0x6cfeee(0xef)](_0x43ba59)),_0x43ba59[_0x6cfeee(0x241)]();for(var _0x38b8df=this['_oKey']=_0x43ba59['clone'](),_0x4530b7=this[_0x6cfeee(0xfa)]=_0x43ba59[_0x6cfeee(0x24b)](),_0x1a7f37=_0x38b8df[_0x6cfeee(0x22b)],_0x21bb45=_0x4530b7[_0x6cfeee(0x22b)],_0x36edf7=0x0;_0x36edf7<_0x302df0;_0x36edf7++)_0x1a7f37[_0x36edf7]^=0x5c5c5c5c,_0x21bb45[_0x36edf7]^=0x36363636;_0x38b8df['sigBytes']=_0x4530b7[_0x6cfeee(0x9e)]=_0x12b3d9,this[_0x6cfeee(0x2a1)]();},'reset':function(){var _0x5b06a8=_0x40d5ee,_0x41ca4e=this[_0x5b06a8(0x2bd)];_0x41ca4e['reset'](),_0x41ca4e[_0x5b06a8(0x2be)](this[_0x5b06a8(0xfa)]);},'update':function(_0x4d5d07){var _0x5eb96f=_0x40d5ee;return this[_0x5eb96f(0x2bd)][_0x5eb96f(0x2be)](_0x4d5d07),this;},'finalize':function(_0x4624b1){var _0x2759ad=_0x40d5ee,_0x5a2989=this['_hasher'],_0x3fb73e=_0x5a2989[_0x2759ad(0xef)](_0x4624b1);_0x5a2989['reset']();var _0x4f67a0=_0x5a2989[_0x2759ad(0xef)](this['_oKey'][_0x2759ad(0x24b)]()[_0x2759ad(0x283)](_0x3fb73e));return _0x4f67a0;}});}());}));}(ze)),ze['exports'];}var pn=Ke[_0x535906(0x358)],Qt;function Oi(){return Qt||(Qt=0x1,function(_0x19f70f,_0x54f2bd){(function(_0x4c4396,_0x3c82e5,_0x508520){_0x19f70f['exports']=_0x3c82e5(te(),dn(),vn());}(pn,function(_0x3c5fc8){var _0x201a57=_0x5938;return(function(){var _0x2f1765=_0x5938,_0x2b73e7=_0x3c5fc8,_0x4c2baa=_0x2b73e7[_0x2f1765(0x322)],_0x297295=_0x4c2baa[_0x2f1765(0x357)],_0x347940=_0x4c2baa[_0x2f1765(0x139)],_0x2deaaa=_0x2b73e7['algo'],_0x4d26b4=_0x2deaaa[_0x2f1765(0x126)],_0x2ff7a9=_0x2deaaa[_0x2f1765(0x189)]=_0x297295['extend']({'cfg':_0x297295[_0x2f1765(0x254)]({'keySize':0x80/0x20,'hasher':_0x4d26b4,'iterations':0x1}),'init':function(_0x45c7d5){var _0x3de474=_0x2f1765;this[_0x3de474(0x35e)]=this[_0x3de474(0x35e)]['extend'](_0x45c7d5);},'compute':function(_0x5959bd,_0x1bf8d6){var _0x3c4b6e=_0x2f1765;for(var _0x5cb71c,_0x4d1030=this['cfg'],_0x2d7403=_0x4d1030['hasher'][_0x3c4b6e(0x1e3)](),_0x43eb91=_0x347940['create'](),_0x1682b1=_0x43eb91[_0x3c4b6e(0x22b)],_0x407e7e=_0x4d1030['keySize'],_0x239908=_0x4d1030[_0x3c4b6e(0x1c3)];_0x1682b1[_0x3c4b6e(0x2d5)]<_0x407e7e;){_0x5cb71c&&_0x2d7403['update'](_0x5cb71c),_0x5cb71c=_0x2d7403[_0x3c4b6e(0x2be)](_0x5959bd)[_0x3c4b6e(0xef)](_0x1bf8d6),_0x2d7403[_0x3c4b6e(0x2a1)]();for(var _0x5a727c=0x1;_0x5a727c<_0x239908;_0x5a727c++)_0x5cb71c=_0x2d7403[_0x3c4b6e(0xef)](_0x5cb71c),_0x2d7403[_0x3c4b6e(0x2a1)]();_0x43eb91[_0x3c4b6e(0x283)](_0x5cb71c);}return _0x43eb91[_0x3c4b6e(0x9e)]=_0x407e7e*0x4,_0x43eb91;}});_0x2b73e7[_0x2f1765(0x189)]=function(_0x37dc3d,_0x314c66,_0x1d7b1f){var _0x37255d=_0x2f1765;return _0x2ff7a9[_0x37255d(0x1e3)](_0x1d7b1f)[_0x37255d(0x2ad)](_0x37dc3d,_0x314c66);};}()),_0x3c5fc8[_0x201a57(0x189)];}));}(Ke)),Ke['exports'];}var Je={'exports':{}},mn=Je[_0x535906(0x358)],ei;function bi(){return ei||(ei=0x1,function(_0x301977,_0x5287da){(function(_0x390d1f,_0x5926ca,_0x3b80b3){var _0x3f92e4=_0x5938;_0x301977[_0x3f92e4(0x358)]=_0x5926ca(te(),Oi());}(mn,function(_0x5127e4){var _0x7ed6fa=_0x5938;_0x5127e4[_0x7ed6fa(0x322)]['Cipher']||function(_0x3d2876){var _0x5bc832=_0x7ed6fa,_0x44436c=_0x5127e4,_0x50df9b=_0x44436c['lib'],_0x3d7ab7=_0x50df9b[_0x5bc832(0x357)],_0x52f481=_0x50df9b[_0x5bc832(0x139)],_0x573e62=_0x50df9b[_0x5bc832(0x2dc)],_0x561598=_0x44436c['enc'];_0x561598['Utf8'];var _0xc9580f=_0x561598[_0x5bc832(0x30f)],_0x1d47e1=_0x44436c[_0x5bc832(0x24d)],_0x182eed=_0x1d47e1[_0x5bc832(0x189)],_0x13e0c5=_0x50df9b[_0x5bc832(0xb3)]=_0x573e62[_0x5bc832(0x254)]({'cfg':_0x3d7ab7[_0x5bc832(0x254)](),'createEncryptor':function(_0x36c9f4,_0x484c69){var _0x20f2d9=_0x5bc832;return this['create'](this[_0x20f2d9(0x251)],_0x36c9f4,_0x484c69);},'createDecryptor':function(_0x32eedd,_0x10a393){var _0x1e87fc=_0x5bc832;return this[_0x1e87fc(0x1e3)](this['_DEC_XFORM_MODE'],_0x32eedd,_0x10a393);},'init':function(_0x2eafdf,_0x299bfa,_0xc14474){var _0x132f02=_0x5bc832;this[_0x132f02(0x35e)]=this['cfg'][_0x132f02(0x254)](_0xc14474),this['_xformMode']=_0x2eafdf,this['_key']=_0x299bfa,this[_0x132f02(0x2a1)]();},'reset':function(){var _0x4c9bbb=_0x5bc832;_0x573e62[_0x4c9bbb(0x2a1)]['call'](this),this['_doReset']();},'process':function(_0x514d4a){var _0x4cf875=_0x5bc832;return this[_0x4cf875(0x28e)](_0x514d4a),this[_0x4cf875(0x220)]();},'finalize':function(_0x536abe){var _0x12a7a4=_0x5bc832;_0x536abe&&this[_0x12a7a4(0x28e)](_0x536abe);var _0x5d9dbd=this[_0x12a7a4(0x96)]();return _0x5d9dbd;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc3044d(_0x3d69ac){var _0x837a6=_0x5938;return typeof _0x3d69ac==_0x837a6(0xc2)?_0x4027f4:_0x4d2753;}return function(_0x20af6e){return{'encrypt':function(_0x3536f5,_0x42db15,_0x4bd319){var _0x5a7e41=_0x5938;return _0xc3044d(_0x42db15)[_0x5a7e41(0x2df)](_0x20af6e,_0x3536f5,_0x42db15,_0x4bd319);},'decrypt':function(_0x2b3bb5,_0xcd70a9,_0x21f842){return _0xc3044d(_0xcd70a9)['decrypt'](_0x20af6e,_0x2b3bb5,_0xcd70a9,_0x21f842);}};};}())});_0x50df9b[_0x5bc832(0x141)]=_0x13e0c5[_0x5bc832(0x254)]({'_doFinalize':function(){var _0x53611c=_0x5bc832,_0xd5ef8a=this[_0x53611c(0x220)](!0x0);return _0xd5ef8a;},'blockSize':0x1});var _0x318383=_0x44436c[_0x5bc832(0x349)]={},_0x4f308b=_0x50df9b[_0x5bc832(0x372)]=_0x3d7ab7[_0x5bc832(0x254)]({'createEncryptor':function(_0x35a4d7,_0xe60a0e){var _0x6e3a1=_0x5bc832;return this[_0x6e3a1(0x156)][_0x6e3a1(0x1e3)](_0x35a4d7,_0xe60a0e);},'createDecryptor':function(_0x9a4364,_0x1cb6a3){var _0x470a94=_0x5bc832;return this['Decryptor'][_0x470a94(0x1e3)](_0x9a4364,_0x1cb6a3);},'init':function(_0x2796e7,_0x268794){var _0x2f94b8=_0x5bc832;this[_0x2f94b8(0x237)]=_0x2796e7,this['_iv']=_0x268794;}}),_0x5293ec=_0x318383[_0x5bc832(0x219)]=(function(){var _0x3dc198=_0x5bc832,_0x1aaeba=_0x4f308b[_0x3dc198(0x254)]();_0x1aaeba[_0x3dc198(0x156)]=_0x1aaeba[_0x3dc198(0x254)]({'processBlock':function(_0x5cdee0,_0xc4af03){var _0xca6887=_0x3dc198,_0x2110a3=this[_0xca6887(0x237)],_0x148d67=_0x2110a3['blockSize'];_0x411fd1['call'](this,_0x5cdee0,_0xc4af03,_0x148d67),_0x2110a3[_0xca6887(0x2a4)](_0x5cdee0,_0xc4af03),this[_0xca6887(0x307)]=_0x5cdee0[_0xca6887(0x9c)](_0xc4af03,_0xc4af03+_0x148d67);}}),_0x1aaeba[_0x3dc198(0xb6)]=_0x1aaeba[_0x3dc198(0x254)]({'processBlock':function(_0x55b97e,_0xb0d5c0){var _0x33ff80=_0x3dc198,_0x162511=this[_0x33ff80(0x237)],_0x210455=_0x162511[_0x33ff80(0x2e5)],_0x1791cc=_0x55b97e[_0x33ff80(0x9c)](_0xb0d5c0,_0xb0d5c0+_0x210455);_0x162511[_0x33ff80(0x148)](_0x55b97e,_0xb0d5c0),_0x411fd1['call'](this,_0x55b97e,_0xb0d5c0,_0x210455),this['_prevBlock']=_0x1791cc;}});function _0x411fd1(_0x51003b,_0x390b95,_0x5d6ee7){var _0x1311ac,_0x3cb961=this['_iv'];_0x3cb961?(_0x1311ac=_0x3cb961,this['_iv']=_0x3d2876):_0x1311ac=this['_prevBlock'];for(var _0x153c30=0x0;_0x153c30<_0x5d6ee7;_0x153c30++)_0x51003b[_0x390b95+_0x153c30]^=_0x1311ac[_0x153c30];}return _0x1aaeba;}()),_0x14f813=_0x44436c[_0x5bc832(0x124)]={},_0x559745=_0x14f813[_0x5bc832(0x284)]={'pad':function(_0x3a5c94,_0x1a8533){var _0x490401=_0x5bc832;for(var _0x3b94e9=_0x1a8533*0x4,_0x31e021=_0x3b94e9-_0x3a5c94[_0x490401(0x9e)]%_0x3b94e9,_0x1ea9f7=_0x31e021<<0x18|_0x31e021<<0x10|_0x31e021<<0x8|_0x31e021,_0x1ceaf1=[],_0x13b8ed=0x0;_0x13b8ed<_0x31e021;_0x13b8ed+=0x4)_0x1ceaf1[_0x490401(0x1f6)](_0x1ea9f7);var _0x5be5be=_0x52f481[_0x490401(0x1e3)](_0x1ceaf1,_0x31e021);_0x3a5c94[_0x490401(0x283)](_0x5be5be);},'unpad':function(_0x32a839){var _0x5776b3=_0x5bc832,_0x2e139b=_0x32a839[_0x5776b3(0x22b)][_0x32a839[_0x5776b3(0x9e)]-0x1>>>0x2]&0xff;_0x32a839[_0x5776b3(0x9e)]-=_0x2e139b;}};_0x50df9b[_0x5bc832(0x249)]=_0x13e0c5[_0x5bc832(0x254)]({'cfg':_0x13e0c5[_0x5bc832(0x35e)][_0x5bc832(0x254)]({'mode':_0x5293ec,'padding':_0x559745}),'reset':function(){var _0x290696=_0x5bc832,_0x618316;_0x13e0c5['reset'][_0x290696(0x2e3)](this);var _0x54efa9=this[_0x290696(0x35e)],_0x5ae29c=_0x54efa9['iv'],_0x5a1cd3=_0x54efa9[_0x290696(0x349)];this[_0x290696(0x270)]==this[_0x290696(0x251)]?_0x618316=_0x5a1cd3[_0x290696(0x1dd)]:(_0x618316=_0x5a1cd3[_0x290696(0x356)],this['_minBufferSize']=0x1),this['_mode']&&this[_0x290696(0x226)][_0x290696(0x380)]==_0x618316?this[_0x290696(0x226)][_0x290696(0x248)](this,_0x5ae29c&&_0x5ae29c[_0x290696(0x22b)]):(this['_mode']=_0x618316[_0x290696(0x2e3)](_0x5a1cd3,this,_0x5ae29c&&_0x5ae29c[_0x290696(0x22b)]),this['_mode'][_0x290696(0x380)]=_0x618316);},'_doProcessBlock':function(_0x52cd46,_0x17a440){var _0x31a8c1=_0x5bc832;this[_0x31a8c1(0x226)][_0x31a8c1(0x90)](_0x52cd46,_0x17a440);},'_doFinalize':function(){var _0x47f126=_0x5bc832,_0x24aaf1,_0x518b05=this['cfg'][_0x47f126(0x374)];return this[_0x47f126(0x270)]==this[_0x47f126(0x251)]?(_0x518b05[_0x47f126(0x124)](this[_0x47f126(0x2b6)],this[_0x47f126(0x2e5)]),_0x24aaf1=this[_0x47f126(0x220)](!0x0)):(_0x24aaf1=this[_0x47f126(0x220)](!0x0),_0x518b05[_0x47f126(0x353)](_0x24aaf1)),_0x24aaf1;},'blockSize':0x80/0x20});var _0x1ff3f1=_0x50df9b[_0x5bc832(0x215)]=_0x3d7ab7['extend']({'init':function(_0x48dfab){var _0x25ecf7=_0x5bc832;this[_0x25ecf7(0x1e9)](_0x48dfab);},'toString':function(_0x3fcb1a){var _0x48deea=_0x5bc832;return(_0x3fcb1a||this[_0x48deea(0x94)])['stringify'](this);}}),_0x4580fc=_0x44436c[_0x5bc832(0x274)]={},_0x13c4b8=_0x4580fc[_0x5bc832(0x88)]={'stringify':function(_0x5747f9){var _0x31166d=_0x5bc832,_0x4930de,_0x7084b6=_0x5747f9[_0x31166d(0x14a)],_0x2cfe03=_0x5747f9[_0x31166d(0x2fc)];return _0x2cfe03?_0x4930de=_0x52f481['create']([0x53616c74,0x65645f5f])[_0x31166d(0x283)](_0x2cfe03)['concat'](_0x7084b6):_0x4930de=_0x7084b6,_0x4930de[_0x31166d(0x21f)](_0xc9580f);},'parse':function(_0x22cb8e){var _0x23d20c=_0x5bc832,_0x3c7f2e,_0x58cf36=_0xc9580f[_0x23d20c(0xee)](_0x22cb8e),_0x39d638=_0x58cf36['words'];return _0x39d638[0x0]==0x53616c74&&_0x39d638[0x1]==0x65645f5f&&(_0x3c7f2e=_0x52f481[_0x23d20c(0x1e3)](_0x39d638[_0x23d20c(0x9c)](0x2,0x4)),_0x39d638[_0x23d20c(0x9f)](0x0,0x4),_0x58cf36['sigBytes']-=0x10),_0x1ff3f1[_0x23d20c(0x1e3)]({'ciphertext':_0x58cf36,'salt':_0x3c7f2e});}},_0x4d2753=_0x50df9b[_0x5bc832(0x295)]=_0x3d7ab7[_0x5bc832(0x254)]({'cfg':_0x3d7ab7[_0x5bc832(0x254)]({'format':_0x13c4b8}),'encrypt':function(_0x23a5b4,_0xc1db62,_0x373482,_0x5eb034){var _0x3e78ff=_0x5bc832;_0x5eb034=this[_0x3e78ff(0x35e)]['extend'](_0x5eb034);var _0x337e2b=_0x23a5b4['createEncryptor'](_0x373482,_0x5eb034),_0x9039c=_0x337e2b[_0x3e78ff(0xef)](_0xc1db62),_0x316dfe=_0x337e2b[_0x3e78ff(0x35e)];return _0x1ff3f1[_0x3e78ff(0x1e3)]({'ciphertext':_0x9039c,'key':_0x373482,'iv':_0x316dfe['iv'],'algorithm':_0x23a5b4,'mode':_0x316dfe[_0x3e78ff(0x349)],'padding':_0x316dfe['padding'],'blockSize':_0x23a5b4[_0x3e78ff(0x2e5)],'formatter':_0x5eb034[_0x3e78ff(0x274)]});},'decrypt':function(_0x50a27b,_0x7abf80,_0x1e3997,_0x2a28ec){var _0x281acb=_0x5bc832;_0x2a28ec=this[_0x281acb(0x35e)]['extend'](_0x2a28ec),_0x7abf80=this[_0x281acb(0x264)](_0x7abf80,_0x2a28ec[_0x281acb(0x274)]);var _0x3167ff=_0x50a27b[_0x281acb(0x356)](_0x1e3997,_0x2a28ec)[_0x281acb(0xef)](_0x7abf80[_0x281acb(0x14a)]);return _0x3167ff;},'_parse':function(_0x2c99e3,_0x50ca0c){var _0x476b7e=_0x5bc832;return typeof _0x2c99e3==_0x476b7e(0xc2)?_0x50ca0c[_0x476b7e(0xee)](_0x2c99e3,this):_0x2c99e3;}}),_0x1b0c18=_0x44436c[_0x5bc832(0xf7)]={},_0x6b6f1b=_0x1b0c18['OpenSSL']={'execute':function(_0x3ea5a8,_0x410632,_0xbcacb1,_0x22a042,_0x2450fe){var _0x33796f=_0x5bc832;if(_0x22a042||(_0x22a042=_0x52f481['random'](0x40/0x8)),_0x2450fe)var _0x1047c8=_0x182eed[_0x33796f(0x1e3)]({'keySize':_0x410632+_0xbcacb1,'hasher':_0x2450fe})[_0x33796f(0x2ad)](_0x3ea5a8,_0x22a042);else var _0x1047c8=_0x182eed['create']({'keySize':_0x410632+_0xbcacb1})[_0x33796f(0x2ad)](_0x3ea5a8,_0x22a042);var _0x1b4cb1=_0x52f481['create'](_0x1047c8[_0x33796f(0x22b)][_0x33796f(0x9c)](_0x410632),_0xbcacb1*0x4);return _0x1047c8['sigBytes']=_0x410632*0x4,_0x1ff3f1[_0x33796f(0x1e3)]({'key':_0x1047c8,'iv':_0x1b4cb1,'salt':_0x22a042});}},_0x4027f4=_0x50df9b[_0x5bc832(0x99)]=_0x4d2753['extend']({'cfg':_0x4d2753[_0x5bc832(0x35e)][_0x5bc832(0x254)]({'kdf':_0x6b6f1b}),'encrypt':function(_0x195185,_0x40f6cb,_0x1195d6,_0x1e233d){var _0x897eb1=_0x5bc832;_0x1e233d=this[_0x897eb1(0x35e)][_0x897eb1(0x254)](_0x1e233d);var _0x5aae14=_0x1e233d['kdf'][_0x897eb1(0x2af)](_0x1195d6,_0x195185['keySize'],_0x195185[_0x897eb1(0x2c8)],_0x1e233d['salt'],_0x1e233d[_0x897eb1(0xed)]);_0x1e233d['iv']=_0x5aae14['iv'];var _0x36f96c=_0x4d2753[_0x897eb1(0x2df)][_0x897eb1(0x2e3)](this,_0x195185,_0x40f6cb,_0x5aae14[_0x897eb1(0x159)],_0x1e233d);return _0x36f96c[_0x897eb1(0x1e9)](_0x5aae14),_0x36f96c;},'decrypt':function(_0x33e19c,_0x5b8010,_0x641323,_0x933a4e){var _0x137657=_0x5bc832;_0x933a4e=this[_0x137657(0x35e)][_0x137657(0x254)](_0x933a4e),_0x5b8010=this['_parse'](_0x5b8010,_0x933a4e['format']);var _0x2a144b=_0x933a4e['kdf'][_0x137657(0x2af)](_0x641323,_0x33e19c[_0x137657(0x2b3)],_0x33e19c[_0x137657(0x2c8)],_0x5b8010[_0x137657(0x2fc)],_0x933a4e['hasher']);_0x933a4e['iv']=_0x2a144b['iv'];var _0x3cfe4a=_0x4d2753[_0x137657(0x20a)][_0x137657(0x2e3)](this,_0x33e19c,_0x5b8010,_0x2a144b[_0x137657(0x159)],_0x933a4e);return _0x3cfe4a;}});}();}));}(Je)),Je['exports'];}var gn=Ve[_0x535906(0x358)],ti;function Sn(){var _0x105d1d=_0x535906;return ti||(ti=0x1,function(_0x94526b,_0x130c6){(function(_0x59e452,_0x5c961f,_0x483671){var _0x7e89db=_0x5938;_0x94526b[_0x7e89db(0x358)]=_0x5c961f(te(),Ri(),ln(),Oi(),bi());}(gn,function(_0x21b30a){var _0x3f0fe2=_0x5938;return(function(){var _0xc62a94=_0x5938,_0x2a6c7e=_0x21b30a,_0x5f0cba=_0x2a6c7e[_0xc62a94(0x322)],_0x57107f=_0x5f0cba[_0xc62a94(0x249)],_0x1a5ab9=_0x2a6c7e[_0xc62a94(0x24d)],_0x29a0ac=[],_0x90b6e1=[],_0x53e0c2=[],_0x2e5173=[],_0x485abf=[],_0x4253cb=[],_0x5b3397=[],_0x5c4a57=[],_0x20e634=[],_0x5251ad=[];(function(){for(var _0x224d1f=[],_0x4fbf44=0x0;_0x4fbf44<0x100;_0x4fbf44++)_0x4fbf44<0x80?_0x224d1f[_0x4fbf44]=_0x4fbf44<<0x1:_0x224d1f[_0x4fbf44]=_0x4fbf44<<0x1^0x11b;for(var _0xf84465=0x0,_0x58659d=0x0,_0x4fbf44=0x0;_0x4fbf44<0x100;_0x4fbf44++){var _0x29c32f=_0x58659d^_0x58659d<<0x1^_0x58659d<<0x2^_0x58659d<<0x3^_0x58659d<<0x4;_0x29c32f=_0x29c32f>>>0x8^_0x29c32f&0xff^0x63,_0x29a0ac[_0xf84465]=_0x29c32f,_0x90b6e1[_0x29c32f]=_0xf84465;var _0x105d67=_0x224d1f[_0xf84465],_0x309d58=_0x224d1f[_0x105d67],_0x3b9ab2=_0x224d1f[_0x309d58],_0x1dbcb2=_0x224d1f[_0x29c32f]*0x101^_0x29c32f*0x1010100;_0x53e0c2[_0xf84465]=_0x1dbcb2<<0x18|_0x1dbcb2>>>0x8,_0x2e5173[_0xf84465]=_0x1dbcb2<<0x10|_0x1dbcb2>>>0x10,_0x485abf[_0xf84465]=_0x1dbcb2<<0x8|_0x1dbcb2>>>0x18,_0x4253cb[_0xf84465]=_0x1dbcb2;var _0x1dbcb2=_0x3b9ab2*0x1010101^_0x309d58*0x10001^_0x105d67*0x101^_0xf84465*0x1010100;_0x5b3397[_0x29c32f]=_0x1dbcb2<<0x18|_0x1dbcb2>>>0x8,_0x5c4a57[_0x29c32f]=_0x1dbcb2<<0x10|_0x1dbcb2>>>0x10,_0x20e634[_0x29c32f]=_0x1dbcb2<<0x8|_0x1dbcb2>>>0x18,_0x5251ad[_0x29c32f]=_0x1dbcb2,_0xf84465?(_0xf84465=_0x105d67^_0x224d1f[_0x224d1f[_0x224d1f[_0x3b9ab2^_0x105d67]]],_0x58659d^=_0x224d1f[_0x224d1f[_0x58659d]]):_0xf84465=_0x58659d=0x1;}}());var _0x27e0a3=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f04d5=_0x1a5ab9[_0xc62a94(0x25e)]=_0x57107f['extend']({'_doReset':function(){var _0x21c1c8=_0xc62a94,_0x1b77fe;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x21c1c8(0x301)])){for(var _0x2dc66c=this['_keyPriorReset']=this['_key'],_0x7eba7f=_0x2dc66c[_0x21c1c8(0x22b)],_0x433328=_0x2dc66c[_0x21c1c8(0x9e)]/0x4,_0x3a0c85=this[_0x21c1c8(0x209)]=_0x433328+0x6,_0x196cec=(_0x3a0c85+0x1)*0x4,_0x3bf40b=this[_0x21c1c8(0x32d)]=[],_0x1f49e1=0x0;_0x1f49e1<_0x196cec;_0x1f49e1++)_0x1f49e1<_0x433328?_0x3bf40b[_0x1f49e1]=_0x7eba7f[_0x1f49e1]:(_0x1b77fe=_0x3bf40b[_0x1f49e1-0x1],_0x1f49e1%_0x433328?_0x433328>0x6&&_0x1f49e1%_0x433328==0x4&&(_0x1b77fe=_0x29a0ac[_0x1b77fe>>>0x18]<<0x18|_0x29a0ac[_0x1b77fe>>>0x10&0xff]<<0x10|_0x29a0ac[_0x1b77fe>>>0x8&0xff]<<0x8|_0x29a0ac[_0x1b77fe&0xff]):(_0x1b77fe=_0x1b77fe<<0x8|_0x1b77fe>>>0x18,_0x1b77fe=_0x29a0ac[_0x1b77fe>>>0x18]<<0x18|_0x29a0ac[_0x1b77fe>>>0x10&0xff]<<0x10|_0x29a0ac[_0x1b77fe>>>0x8&0xff]<<0x8|_0x29a0ac[_0x1b77fe&0xff],_0x1b77fe^=_0x27e0a3[_0x1f49e1/_0x433328|0x0]<<0x18),_0x3bf40b[_0x1f49e1]=_0x3bf40b[_0x1f49e1-_0x433328]^_0x1b77fe);for(var _0x3e31b0=this[_0x21c1c8(0x105)]=[],_0x286c69=0x0;_0x286c69<_0x196cec;_0x286c69++){var _0x1f49e1=_0x196cec-_0x286c69;if(_0x286c69%0x4)var _0x1b77fe=_0x3bf40b[_0x1f49e1];else var _0x1b77fe=_0x3bf40b[_0x1f49e1-0x4];_0x286c69<0x4||_0x1f49e1<=0x4?_0x3e31b0[_0x286c69]=_0x1b77fe:_0x3e31b0[_0x286c69]=_0x5b3397[_0x29a0ac[_0x1b77fe>>>0x18]]^_0x5c4a57[_0x29a0ac[_0x1b77fe>>>0x10&0xff]]^_0x20e634[_0x29a0ac[_0x1b77fe>>>0x8&0xff]]^_0x5251ad[_0x29a0ac[_0x1b77fe&0xff]];}}},'encryptBlock':function(_0x3257bc,_0x22649a){var _0x33e3f4=_0xc62a94;this['_doCryptBlock'](_0x3257bc,_0x22649a,this[_0x33e3f4(0x32d)],_0x53e0c2,_0x2e5173,_0x485abf,_0x4253cb,_0x29a0ac);},'decryptBlock':function(_0x57cd55,_0x46a3a9){var _0x2ec64d=_0xc62a94,_0x1b1546=_0x57cd55[_0x46a3a9+0x1];_0x57cd55[_0x46a3a9+0x1]=_0x57cd55[_0x46a3a9+0x3],_0x57cd55[_0x46a3a9+0x3]=_0x1b1546,this[_0x2ec64d(0x2fd)](_0x57cd55,_0x46a3a9,this[_0x2ec64d(0x105)],_0x5b3397,_0x5c4a57,_0x20e634,_0x5251ad,_0x90b6e1);var _0x1b1546=_0x57cd55[_0x46a3a9+0x1];_0x57cd55[_0x46a3a9+0x1]=_0x57cd55[_0x46a3a9+0x3],_0x57cd55[_0x46a3a9+0x3]=_0x1b1546;},'_doCryptBlock':function(_0x2c942b,_0x1fd46e,_0x25d954,_0x29a9c3,_0xbbd7db,_0x48b937,_0x120771,_0xbe531f){var _0x58d8ca=_0xc62a94;for(var _0x5eb14a=this[_0x58d8ca(0x209)],_0x53e7ce=_0x2c942b[_0x1fd46e]^_0x25d954[0x0],_0x1c0544=_0x2c942b[_0x1fd46e+0x1]^_0x25d954[0x1],_0x3ceb72=_0x2c942b[_0x1fd46e+0x2]^_0x25d954[0x2],_0x643e37=_0x2c942b[_0x1fd46e+0x3]^_0x25d954[0x3],_0x5c47b9=0x4,_0x392e12=0x1;_0x392e12<_0x5eb14a;_0x392e12++){var _0x523dc5=_0x29a9c3[_0x53e7ce>>>0x18]^_0xbbd7db[_0x1c0544>>>0x10&0xff]^_0x48b937[_0x3ceb72>>>0x8&0xff]^_0x120771[_0x643e37&0xff]^_0x25d954[_0x5c47b9++],_0x3e0062=_0x29a9c3[_0x1c0544>>>0x18]^_0xbbd7db[_0x3ceb72>>>0x10&0xff]^_0x48b937[_0x643e37>>>0x8&0xff]^_0x120771[_0x53e7ce&0xff]^_0x25d954[_0x5c47b9++],_0x12e4e9=_0x29a9c3[_0x3ceb72>>>0x18]^_0xbbd7db[_0x643e37>>>0x10&0xff]^_0x48b937[_0x53e7ce>>>0x8&0xff]^_0x120771[_0x1c0544&0xff]^_0x25d954[_0x5c47b9++],_0x2c1602=_0x29a9c3[_0x643e37>>>0x18]^_0xbbd7db[_0x53e7ce>>>0x10&0xff]^_0x48b937[_0x1c0544>>>0x8&0xff]^_0x120771[_0x3ceb72&0xff]^_0x25d954[_0x5c47b9++];_0x53e7ce=_0x523dc5,_0x1c0544=_0x3e0062,_0x3ceb72=_0x12e4e9,_0x643e37=_0x2c1602;}var _0x523dc5=(_0xbe531f[_0x53e7ce>>>0x18]<<0x18|_0xbe531f[_0x1c0544>>>0x10&0xff]<<0x10|_0xbe531f[_0x3ceb72>>>0x8&0xff]<<0x8|_0xbe531f[_0x643e37&0xff])^_0x25d954[_0x5c47b9++],_0x3e0062=(_0xbe531f[_0x1c0544>>>0x18]<<0x18|_0xbe531f[_0x3ceb72>>>0x10&0xff]<<0x10|_0xbe531f[_0x643e37>>>0x8&0xff]<<0x8|_0xbe531f[_0x53e7ce&0xff])^_0x25d954[_0x5c47b9++],_0x12e4e9=(_0xbe531f[_0x3ceb72>>>0x18]<<0x18|_0xbe531f[_0x643e37>>>0x10&0xff]<<0x10|_0xbe531f[_0x53e7ce>>>0x8&0xff]<<0x8|_0xbe531f[_0x1c0544&0xff])^_0x25d954[_0x5c47b9++],_0x2c1602=(_0xbe531f[_0x643e37>>>0x18]<<0x18|_0xbe531f[_0x53e7ce>>>0x10&0xff]<<0x10|_0xbe531f[_0x1c0544>>>0x8&0xff]<<0x8|_0xbe531f[_0x3ceb72&0xff])^_0x25d954[_0x5c47b9++];_0x2c942b[_0x1fd46e]=_0x523dc5,_0x2c942b[_0x1fd46e+0x1]=_0x3e0062,_0x2c942b[_0x1fd46e+0x2]=_0x12e4e9,_0x2c942b[_0x1fd46e+0x3]=_0x2c1602;},'keySize':0x100/0x20});_0x2a6c7e[_0xc62a94(0x25e)]=_0x57107f[_0xc62a94(0x111)](_0x2f04d5);}()),_0x21b30a[_0x3f0fe2(0x25e)];}));}(Ve)),Ve[_0x105d1d(0x358)];}function _0x232d(){var _0x231a4f=['_toggleOffline','_initMergeInterceptor','words','_schedule','byteOffset','_clearScheduledTask','_fetchMissChangesets','YUUMI_ALL_TABLES_IS_INVALID','ceil','requestParams','_resendTimeout','/allowed','_throwTelemetryCollaborationNewChangeset','SOCKET_FAILED','_cipher','[CollaborationSession]','listCollaborators','transformSelections','_awaitingChangeset','clear','objectID','[CollaborationState]:\x20apply\x20error!','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','set','clamp','AWAITING_WITH_PENDING','univer-pro.collaboration-client.single-active-unit-service','_unitID','JOINING','override','_submitChangeset','init','BlockCipher','registerHTTPInterceptor','clone','_lockTransition','algo','RETRY_CONNECTING_MAX_COUNT','_doCreateSocket','createCollaborator','_ENC_XFORM_MODE','byteLength','offline','extend','loadUnitOfRevision','_transformIMECache','session.room-permission-denied','post','_type','_collaborationTimeoutTimer','_replaceFileID','_tryEnsureSocket','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','AES','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','USERS_ENTER','/role','change$','readAsDataURL','_parse','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','next','createInstance','_socket','list','YUUMI_NO_CUBOID_FOR_QUESTION','uploadFileServerUrl','shouldCloseConn','_instanceService','data','\x20-\x20','_xformMode','RECV','_onMessage','_executeRemoteChangeset','format','uniscriptRunEvent','_waitForHeartbeatResponse','session.join-failed','/universer-api/authz','[CollaborationSessionService]','JOIN_ROOM_FULL','sid','INVALID_INVITE_CODE','_localCacheService','_telemetryService','m2Prime','enableOfflineEditing','UNIVER_DOC','APPLY_REJECT','concat','Pkcs7','PSEUDO_FETCH_MISSING_RESULT','enc','default','params','catch','method','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getSheetId','_clearCollaborationTimeoutTimer','_append','[OfflineState]:\x20received\x20acknowledgement.','connection\x20error','SUBMIT_CHANGESET','getTime','_clearLocalCache','_isPermissionRej','SerializableCipher','_replayCachedMutations','_commentUpdate$','enableAuthServer','signUrlServerUrl','_clearHeartbeatTimer','[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.','_checkMissing','deepClone','transformStack\x20failed!','readInt32LE','UPDATE_PERMISSION_OBJ','reset','map','_startCollaboration','encryptBlock','UnitSnapshot','updateCollaborator','interceptor','_onUserJoin','loadUnit','getSnapshotAPIPath','&source=','deleteCollaborator','compute','_acknowledgedAwaitingChangeset','execute','MOBILE_HAS_BEEN_BOUND','ERROR_IMAGE','?size=','keySize','_onFetchMissResult','COMPLETION_FINISHED','_data','patch','ONLINE','UNISCRIPT_RUN','unsubscribe','resolve','HmacSHA1','_hasher','update','_initUnitPermissionChange','reject','OTHER_CLIENTS_EDITING','_decreaseWaiting','NO_OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','session.room-not-exists','UNIVER_PROJECT','getUnitStatus$','ivSize','snapshotServerUrl','_config','_onConflict','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','subUnitId','getAllMembers','put','_eventService','sin','LEAVE','roomInfos','unitId\x20is\x20not\x20found','length','_getUndoStack','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','EMAIL_HAS_BEEN_BOUND','url','CHANGESET_REVISION_CONFILICT','APPLY_DUPLICATED','BufferedBlockAlgorithm','FAIL','_joinRoom','encrypt','target','_registerDependencies','/object','call','2763YFcNbO','blockSize','univer-pro.collaboration-client-socket-service','appendMutation','_startTelemetryCollaborationNewChangeset','sendChangesetTimeout','/universer-api/comb','UNDEFINED','_onJoinRoomEvent','UNAUTHENTICATED','readyForCollab','NOT_COLLAB','getUnitOnRev','allowed','onMissingChangesets','_stopTelemetryCollaborationNewChangeset','onTransformRemoteChangesetByIMECache','memberID','AWAITING','EMAIL_VERIFY_CODE_MISMATCH','session.room-full','5691168txJpWE','batchAllowed','setCurrentUser','salt','_doCryptBlock','updateOfflineData','socket$','putCollaborators','_key','joinEvent','updateMember','getUnit','CHANGESET_ACK','_getCtorByUniverType','_prevBlock','filter','_memberService','HEARTBEAT_TIMEOUT','SHOULD_CLOSE_CONN','_doReset','auth.needGotoLoginAlert','transformChangesets','Base64','_singleActiveUnitService','collaMsg','localeService','commentUpdate$','ws://127.0.0.1:8000/universer-api/comb/connect','HELLO','mutations','originalMeta','hasOwnProperty','copyFileMeta','fetching\x20missing\x20changesets\x20from\x20','JOIN_ROOM_NOT_EXISTS','[CollaborationEntity]','_init','getWorkbookSelections','addHandlerCallback','unitInfo$','[OfflineState]:\x20received\x20rejection.','lib','JOIN','abs','_waitCount','setConfig','_createHandler','LIVESHARE_NEW_HOST','stopTime','/universer-api/uniscript','get','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_keySchedule','socketService','crypto','reqId','size','1510120qElLbM','PERMISSION_DENIED','_map','INGEST','onRemoteAck','_removeRoom','ENSURE_SNAPSHOT_EXECUTION','image/jpg','getCurrentRevOfUnit','_incrementRevisionNumber','_initRequestHeader','getCurrentUser','collaboration-client.config','entityInit$','reverse','pending','subject','INTERNAL_ERROR','6376WfliOt','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_transformStateCache','_applyRemoteChangeset','IDLE','mode','UnitEmbedded','cmd','16090960uLZbrW','collaborators','objectType','UNKNOWN_CODE','disposeWithMe','onTransformIME','PY_RUNTIME_SCRIPT_ERROR','unpad','body','_syncEditingCollabCursor','createDecryptor','Base','exports','_collabSessionService','isArray','/collaborator','session','_onConnectionOpen','cfg','/object/','_telemetryInfo','repeat','join','OPTIONAL','fetchMissingChangesets','_updateLocalCache','ALREADY_EXISTS','_localeService','YUUMI_RATE_OVER_LIMIT','failed\x20to\x20apply\x20missed\x20changesets!','_transformStack','fetchThroughInterceptors','995930vjgcLd','_unlockTransition','name','fetchMiss','LIVESHARE_FETCH_OPERATIONS','_configService','BlockCipherMode','_nDataBytes','padding','_getDownloadEndpointURL','Univer','socket\x20open.','WECHAT_HAS_BEEN_BOUND','/resources','_snapshotService','toggleOnline','/-/object/-/batch_allowed','telemetry\x20info\x20is\x20not\x20initialized','_createInitialStateImpl','entries','__creator','MOBILE_VERIFY_CODE_MISMATCH','JOIN_ROOM_PERMISSION_DENIED','liveShareNewHost','asObservable','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','PERMISSION_REJ','/universer-api/snapshot','routeKey','_listenToNetworkCondition','responseType','_clearTimeoutTimer','objects','INVITE_CODE_REQUIRED','/block/','getRoom','charCodeAt','INVITE_CODE_ALREADY_BOUND','encode','YUUMI_SUBSCRIPTION_NOT_FOUND','onCommandExecuted','then','20YvIQyz','OpenSSL','conflict','[SyncedState]:\x20received\x20rejection.','incrementRevOfUnit','_logService','_onRemoteRetry','LIVESHARE_TERMINATE','find','processBlock','avatar','code','focused$','formatter','_entities','_doFinalize','[PendingState]:\x20unhandled\x20univer\x20type:\x20','Undefined','PasswordBasedCipher','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REVISION_CONFILICT','slice','status','sigBytes','splice','c1Prime','newCsEvent','UNKNOWN_CMD','revision','closeSession','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_APPLY','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','\x0aAfter:\x20','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_univerInstanceService','awaiting_with_pending','SHA1','confirm','_event$','open$','ERROR_EXCEED_SIZE','getMemberID','headers','Cipher','YUUMI_UNABLE_LOAD_URL','leaveEvent','Decryptor','subscribe','_onUserLeave','getCollabEntity$','_collaborationPaused','_scheduleCompleteTimestamp','COMPRESS_MUTATION_SEND','_getLoginPath','SNAPSHOT_INVALID_SNAPSHOT','x-univer-host','LIVESHARE_OPERATION','onload','string','YUUMI_ASYNCIO_CANCELLED','values','includes','csShouldRetryEvent','_onRemoteChangeset','_getAPIPrefix','complete','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','SUBMIT_CHANGESET_TIMEOUT','JOIN_ROOM_FAILED','BASE64','charAt','getCurrentSelections','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createSocket','_handlerCallback','MUTATION','_collaborationSessionService','dispose','NOT_FOUND','getValue','onSyncEditingCollabCursor','_substituteUndoStack','close','_pendingMutations','executeCommand','CONNECTOR_DATA_TOO_LARGE','[PendingState]:\x20received\x20rejection.','GLOBAL_ROOMS_CNT_EXCEEDS','delete','action','floor','onlyLocal','426411wowZAd','error','NoPadding','INVITE_CODE_HAS_BEEN_UES','_showConflictNotification','_onOffline','rev','UNIVER_SLIDE','hasher','parse','finalize','_initDependencies','_updateState','_change$','HMAC','close$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','range','kdf','_reverseMap','_tryReconnect','_iKey','_socket$','_timeoutTimer','_transformRemoteChangesetByIMECache','_members','snapshot','synced','People','_collaborationUIEventService','_networkConditionService','HEARTBEAT_INTERVAL','_invKeySchedule','PENDING','_createHmacHelper','onTransformRemoteChangesetByStateCache','onStarting','refreshPermission','/universer-api/snapshot/','message$','USERS_LEAVE','MSG_FOR_ERROR','min','_changesetSessionId','_createHelper','apply','getUnitId','pipe','saveImage','max','enableSingleActiveInstanceLock','file','stringify','SNAPSHOT_URL_KEY','NEW_CHANGESETS','updatePermissionPoint','_handler','_onRecvEvent','getTypeOfUnitAdded$','actions','CHANGESET_SHOULD_RETRY','unitId','_commandService','pad','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','MD5','fromCharCode','roles','localCacheService','[UniverCollaborationClientPlugin]','_getRedoStack','_retryCount','_unitInfo$','not_collab','CLOSE_ROOM','state','enableCollaboration','getMember','setWaitCount','_resendTimer','/universer-api/oidc/authpage','getCollabEntity','ERROR_IMAGE_TYPE','onMissedChangesetFetched','WordArray','[CollaborationUndoRedoService]','LICENSE_EXPORT_SIZE_EXCEEDED','transformUndoRedo','collabWebSocketUrl','HttpImport','downloadEndpointUrl','startsWith','StreamCipher','UNRECOGNIZED','_exhaustRemoteChangesetQueue','_permissionService','onRemoteRetry','isPermissionRej','_remoteChangesetQueue','decryptBlock','addImageSourceCache','ciphertext','HEARTBEAT','has','fetch_missing','_resendWithTimeout','_getSignURL','_socketService','equals','pauseCollaboration','saveSheetBlock','APPLY_PERMISSION_DENIED','every','Encryptor','&to=','6040686jeXqNH','key','type','_getUploadFileURL','INVALID_ARGUMENT','updatePermissionObjEvent','_injector','_queuedRemoteChangesets','FETCH_MISSING','result','permissionRejEvent','socket\x20close','state$','_snapshotServerService','LICENSE_DISTRO_REJECTED','transformMutationsWithChangeset','[FetchMissState]','LICENSE_IMPORT_SIZE_EXCEEDED','defineProperty','_roomCreated$','fromCollab','_getSendChangesetTimeout','onSendChangeset','getOwnPropertyDescriptor','from','getInterceptPoints','\x20to\x20','onCommentUpdate','getImage','send','_members$','_HTTPService','onTransformSelections','_sessions','commentUpdateEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_transformSelections','_hash','unknown','_clearRetryConnectingTimer','buffer','_initCloseConn','DEFAULT_FILE_NAME','_changesetReqId','OFFLINE','getResourcesRequest','[SyncedState]:\x20received\x20acknowledgement.','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','objectActions','EvpKDF','setShowComponents','UNIVER_UNKNOWN','add','loadDoc','_compressMutationService','_clearRedo','_substituteRedoStack','_candidateSocket','href','sessionStatus','forEach','LOGIN_FAILED','_retryConnectingTimer','toggleOffline','/fetchmissing?from=','_socketMessageSubscription','listRoles','LOCAL_CACHE_INTERVAL','collaboration_new_changeset','_disableEditing','src','_entityInit$','unitID','onRemoteChangeset','_userManagerService','_sessionStatus$','_state$','_undoRedoService','awaitingChangeset','_emitMembers','_transformRemoteChangesetByStateCache','eventID','_onRemoteRejected','editingUnit','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','joinRsp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','&assign=','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_imageSourceCache','textRanges','prototype','\x20in\x20_schedule.','_onConnectionFailed','submit\x20changeset\x20error!','function','dispose$','Hex','_rescheduleHeartbeat','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','getSheetBlock','/unit/','_toggleOnline','image/jpeg','authzUrl','baseRev','resend','iterations','sessionStatus$','getConfig','_updateStatus','/universer-api/user/session-ticket','_getCurrentRevision','[CollaborationSessionService]:\x20socket\x20error','status$','_revisionService','emitEvent','_doProcessBlock','members$','reduce','debug','_onCombEvent','csRejEvent','collaboratorID','_httpService','_roomMembers','hostname','event$','UPDATE_CURSOR','disableLocalCache','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_AI_RUN_FAILED','$super','createEncryptor','_sendHeartbeatTimer','LIVESHARE_REQUEST_HOST','TOO_MANY_REQUESTS','getLatestCsReqIdBySid','_onLocalMutation','create','title','__esModule','Hasher','SUCCUSS','saveSnapshot','mixIn','5WcKDeV','onRemoteRej','SYNCED','image/png','_state','UserProfileImg','_status$','PERSON','indexOf','SOCKET_FAILED_RETRY','msCrypto','HmacMD5','push','location','getFocusedUnit','getTypeOfUnitDisposed$','error$','unit-cache-','_sender','getUnitType','/rev/','_socketReady','CHANGESET_REJ','COMMENT_UPDATE','USER_NOT_INVITED_CODE','_scheduleCollaborationTimeoutTimer','updateSnapshot','_createSocket','now','_getAPIPrefixPath','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_nRounds','decrypt','_commentService','OTHER_CLIENT_EDITING','APPLY_NON_SEQUENTIAL_REVISION','requireSession','liveShareOperation','removeMember','Latin1','symbol','_sheetTransformSelectionsService','withCredentials','CipherParams','_sendingTimer','_transformService','_transitionLocked','CBC','Malformed\x20UTF-8\x20data','selections','append','CONFLICT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','toString','_process','capture','_shouldReportTelemetry','UNIVER_SHEET','Utf8','compose','_mode','initWorkbookPermissionChange','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'];_0x232d=function(){return _0x231a4f;};return _0x232d();}var En=Sn();const In=$e(En);var Tn=Ri();function _0x5938(_0x197c68,_0x3996ea){var _0x232d3b=_0x232d();return _0x5938=function(_0x5938db,_0x33dccd){_0x5938db=_0x5938db-0x87;var _0x47460c=_0x232d3b[_0x5938db];return _0x47460c;},_0x5938(_0x197c68,_0x3996ea);}const ii=$e(Tn);var Xe={'exports':{}},Cn=Xe[_0x535906(0x358)],si;function Rn(){var _0x58f268=_0x535906;return si||(si=0x1,function(_0x2ad6f1,_0x47d549){(function(_0x154b0d,_0x252fdb){var _0x3c6b99=_0x5938;_0x2ad6f1[_0x3c6b99(0x358)]=_0x252fdb(te());}(Cn,function(_0x1d68b3){var _0xa38bbf=_0x5938;return _0x1d68b3[_0xa38bbf(0x286)][_0xa38bbf(0x224)];}));}(Xe)),Xe[_0x58f268(0x358)];}var On=Rn();const bn=$e(On);var Ze={'exports':{}},yn=Ze['exports'],ni;function Nn(){var _0x150627=_0x535906;return ni||(ni=0x1,function(_0x4921ad,_0x541252){(function(_0x1e5296,_0x33b449){var _0x3622a0=_0x5938;_0x4921ad[_0x3622a0(0x358)]=_0x33b449(te());}(yn,function(_0x89a81c){var _0x3af9b1=_0x5938;return(function(){var _0x1ede4b=_0x5938;if(typeof ArrayBuffer==_0x1ede4b(0x1b7)){var _0x4b746e=_0x89a81c,_0x2b9ca3=_0x4b746e[_0x1ede4b(0x322)],_0x367e65=_0x2b9ca3[_0x1ede4b(0x139)],_0x38e0b8=_0x367e65[_0x1ede4b(0x248)],_0x4026a0=_0x367e65[_0x1ede4b(0x248)]=function(_0x21aff9){var _0x57fb6c=_0x1ede4b;if(_0x21aff9 instanceof ArrayBuffer&&(_0x21aff9=new Uint8Array(_0x21aff9)),(_0x21aff9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x21aff9 instanceof Uint8ClampedArray||_0x21aff9 instanceof Int16Array||_0x21aff9 instanceof Uint16Array||_0x21aff9 instanceof Int32Array||_0x21aff9 instanceof Uint32Array||_0x21aff9 instanceof Float32Array||_0x21aff9 instanceof Float64Array)&&(_0x21aff9=new Uint8Array(_0x21aff9[_0x57fb6c(0x180)],_0x21aff9[_0x57fb6c(0x22d)],_0x21aff9[_0x57fb6c(0x252)])),_0x21aff9 instanceof Uint8Array){for(var _0x377a7f=_0x21aff9[_0x57fb6c(0x252)],_0x33002b=[],_0x323033=0x0;_0x323033<_0x377a7f;_0x323033++)_0x33002b[_0x323033>>>0x2]|=_0x21aff9[_0x323033]<<0x18-_0x323033%0x4*0x8;_0x38e0b8[_0x57fb6c(0x2e3)](this,_0x33002b,_0x377a7f);}else _0x38e0b8[_0x57fb6c(0x112)](this,arguments);};_0x4026a0[_0x1ede4b(0x1b3)]=_0x367e65;}}()),_0x89a81c[_0x3af9b1(0x322)]['WordArray'];}));}(Ze)),Ze[_0x150627(0x358)];}var Dn=Nn();const Un=$e(Dn);var Qe={'exports':{}},An=Qe[_0x535906(0x358)],ri;function wn(){var _0x55416e=_0x535906;return ri||(ri=0x1,function(_0x3d8514,_0x55e7a8){(function(_0xe5ea5e,_0x5e6fbb,_0x5b7c90){var _0x2e201c=_0x5938;_0x3d8514[_0x2e201c(0x358)]=_0x5e6fbb(te(),bi());}(An,function(_0x95b98e){var _0x5e2244=_0x5938;return _0x95b98e[_0x5e2244(0x124)][_0x5e2244(0xe7)]={'pad':function(){},'unpad':function(){}},_0x95b98e[_0x5e2244(0x124)]['NoPadding'];}));}(Qe)),Qe[_0x55416e(0x358)];}var Pn=wn();const Mn=$e(Pn);function Ln(_0x1265f4,_0x57fb07){var _0x12aa8c=_0x535906;const _0x155e18=_0x57fb07-_0x1265f4[_0x12aa8c(0x2d5)]%_0x57fb07,_0x498eb5=String[_0x12aa8c(0x127)](_0x155e18)[_0x12aa8c(0x361)](_0x155e18);return _0x1265f4+_0x498eb5;}function xn(_0x3c4807,_0x212a06){var _0x88983=_0x535906;const _0x5f00bf=Un['random'](0x10),_0x162d20=Ln(_0x3c4807,0x10),_0x4c7594=In[_0x88983(0x2df)](bn[_0x88983(0xee)](_0x162d20),ii[_0x88983(0xee)](_0x212a06),{'iv':_0x5f00bf,'padding':Mn});return _0x5f00bf[_0x88983(0x283)](_0x4c7594[_0x88983(0x14a)])[_0x88983(0x21f)](ii);}function kn(){var _0x59b203=_0x535906;const _0x1b4c1a=_0x25407f()['__Key__'];if(_0x1b4c1a){const _0x47d40f={'time':Math[_0x59b203(0xe3)](Date[_0x59b203(0x206)]()/0x3e8),'domain':location[_0x59b203(0x1d6)]};return xn(JSON[_0x59b203(0x119)](_0x47d40f),_0x1b4c1a);}}var $n=Object['getOwnPropertyDescriptor'],Hn=(_0xf5325f,_0x3b22df,_0x40f135,_0xa4b5cb)=>{var _0x4a3058=_0x535906;for(var _0x29f52f=_0xa4b5cb>0x1?void 0x0:_0xa4b5cb?$n(_0x3b22df,_0x40f135):_0x3b22df,_0x6b39d9=_0xf5325f[_0x4a3058(0x2d5)]-0x1,_0x4c8456;_0x6b39d9>=0x0;_0x6b39d9--)(_0x4c8456=_0xf5325f[_0x6b39d9])&&(_0x29f52f=_0x4c8456(_0x29f52f)||_0x29f52f);return _0x29f52f;},Bn=(_0x187fe3,_0x19cc9c)=>(_0x39848d,_0x596d67)=>_0x19cc9c(_0x39848d,_0x596d67,_0x187fe3);let at=class{constructor(_0x5099d3){var _0x1a747e=_0x535906;this[_0x1a747e(0x1d4)]=_0x5099d3,this[_0x1a747e(0x33c)]();}['_initRequestHeader'](){var _0x23ed51=_0x535906;this[_0x23ed51(0x1d4)][_0x23ed51(0x24a)]({'interceptor':(_0x56d560,_0x4a0650)=>{var _0x4786b9=_0x23ed51;const _0x442e11=_0x56d560[_0x4786b9(0xb2)],_0x737731=kn();return _0x737731&&_0x442e11[_0x4786b9(0x240)](_0x4786b9(0xbf),_0x737731),_0x4a0650(_0x56d560);}});}};at=Hn([Bn(0x0,_0x589d8c(_0x413224))],at);var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x44ef23,_0x43b0da,_0x223047,_0x33563a)=>{for(var _0x3f65b6=_0x33563a>0x1?void 0x0:_0x33563a?jn(_0x43b0da,_0x223047):_0x43b0da,_0x231a1b=_0x44ef23['length']-0x1,_0x5d5c72;_0x231a1b>=0x0;_0x231a1b--)(_0x5d5c72=_0x44ef23[_0x231a1b])&&(_0x3f65b6=_0x5d5c72(_0x3f65b6)||_0x3f65b6);return _0x3f65b6;},vt=(_0x20e48e,_0x77ac5f)=>(_0x9b523a,_0xfbe1dd)=>_0x77ac5f(_0x9b523a,_0xfbe1dd,_0x20e48e);let Ct=class extends _0x8b2103{constructor(_0x467d76,_0x324d79,_0x5c30b2){var _0x3302db=_0x535906;super(),N(this,'_unitInfo$',new _0x32e0ef(null)),N(this,_0x3302db(0x320),this[_0x3302db(0x12d)]['asObservable']()),(this['_logService']=_0x467d76,this[_0x3302db(0x37a)]=_0x324d79,this[_0x3302db(0x27d)]=_0x5c30b2);}async[_0x535906(0x255)](_0x49113b,_0x5b9013,_0x5a9556){var _0x824862=_0x535906;this['_unitInfo$'][_0x824862(0x266)]({'unitId':_0x49113b,'type':_0x5b9013});let _0x578b24=null;switch(_0x5b9013){case Z[_0x824862(0x223)]:{_0x578b24=await this[_0x824862(0x37a)]['loadSheet'](_0x49113b,_0x5a9556);break;}case Z[_0x824862(0x281)]:{_0x578b24=await this[_0x824862(0x37a)][_0x824862(0x18d)](_0x49113b,_0x5a9556);break;}default:{this['_logService'][_0x824862(0xe6)]('[DataLoaderService]',_0x824862(0x125));break;}}return _0x578b24;}async[_0x535906(0x2a9)](_0x291bd5,_0x338fff,_0x3b0b04){var _0x5c65e7=_0x535906,_0x26f7a5;this[_0x5c65e7(0x12d)]['next']({'unitId':_0x291bd5,'type':_0x338fff,'subUnitId':_0x3b0b04});let _0x24305e=0x0;const _0x766e12=await((_0x26f7a5=this[_0x5c65e7(0x27d)])==null?void 0x0:_0x26f7a5['loadOfflineData'](_0x291bd5));return _0x766e12&&(_0x766e12[_0x5c65e7(0x1a6)]||_0x766e12[_0x5c65e7(0x316)][_0x5c65e7(0x2d5)]!==0x0)&&(_0x24305e=_0x766e12[_0x5c65e7(0xeb)]),_0x24305e===0x0&&this[_0x5c65e7(0x8c)][_0x5c65e7(0x1d0)]('[DataLoaderService]',_0x5c65e7(0x17b)),this['loadUnitOfRevision'](_0x291bd5,_0x338fff,_0x24305e);}};Ct=Fn([vt(0x0,_0x1cf341),vt(0x1,_0x589d8c(_0x2c2667)),vt(0x2,_0x54373b(J))],Ct);var Vn=Object['getOwnPropertyDescriptor'],Wn=(_0x4b8b0f,_0x5a12c9,_0x4798f4,_0x5a20a6)=>{var _0x47253e=_0x535906;for(var _0x5aeedf=_0x5a20a6>0x1?void 0x0:_0x5a20a6?Vn(_0x5a12c9,_0x4798f4):_0x5a12c9,_0x36f22e=_0x4b8b0f[_0x47253e(0x2d5)]-0x1,_0x2d4a27;_0x36f22e>=0x0;_0x36f22e--)(_0x2d4a27=_0x4b8b0f[_0x36f22e])&&(_0x5aeedf=_0x2d4a27(_0x5aeedf)||_0x5aeedf);return _0x5aeedf;},pt=(_0x318704,_0x2d76f2)=>(_0x482369,_0x151f94)=>_0x2d76f2(_0x482369,_0x151f94,_0x318704);const Gn=[_0x535906(0x1ed),_0x535906(0x1bf),_0x535906(0x339),'image/gif','image/bmp'],Yn=0x5*0x400*0x400,Kn='/universer-api/stream/file/upload',qn='/universer-api/file/{fileID}/sign-url';let Rt=class{constructor(_0x1b2203,_0x408df0,_0x145058){var _0x147038=_0x535906;N(this,_0x147038(0x325),0x0),N(this,_0x147038(0xf2),new _0x15d0d0()),N(this,_0x147038(0x262),this['_change$']),N(this,_0x147038(0x1b1),new Map()),(this[_0x147038(0x1d4)]=_0x1b2203,this[_0x147038(0x371)]=_0x408df0,this['_univerInstanceService']=_0x145058);}[_0x535906(0x133)](_0xbe6b32){var _0x4f2ae4=_0x535906;this[_0x4f2ae4(0x325)]=_0xbe6b32,this[_0x4f2ae4(0xf2)][_0x4f2ae4(0x266)](_0xbe6b32);}['getImageSourceCache'](_0x4e113a,_0x530a13){var _0x18b2ad=_0x535906;if(_0x530a13===_0x48533e[_0x18b2ad(0xcd)]){const _0x1dce4d=new Image();return _0x1dce4d[_0x18b2ad(0x19e)]=_0x4e113a,_0x1dce4d;}return this['_imageSourceCache']['get'](_0x4e113a);}[_0x535906(0x149)](_0xb2b23e,_0x1e1f4,_0x10ec6a){var _0x38d273=_0x535906;_0x1e1f4===_0x48533e[_0x38d273(0xcd)]||_0x10ec6a==null||this[_0x38d273(0x1b1)][_0x38d273(0x240)](_0xb2b23e,_0x10ec6a);}async[_0x535906(0x174)](_0x277260){var _0x5cc30d=_0x535906;try{const _0x41afa6=this['_replaceFileID'](this['_getSignURL'](),''+_0x277260),_0x354bcd=(await this['_httpService'][_0x5cc30d(0x32b)](_0x41afa6))[_0x5cc30d(0x354)];if(_0x354bcd['error']&&_0x354bcd['error'][_0x5cc30d(0x92)]===vi['OK']){const _0x34c027=new URL(_0x354bcd[_0x5cc30d(0x2d9)],this[_0x5cc30d(0x375)]())['toString']();return Promise[_0x5cc30d(0x2bb)](_0x34c027);}return Promise['reject'](_0x354bcd[_0x5cc30d(0xe6)]);}catch(_0x3b4ca3){return Promise['reject'](_0x3b4ca3);}}async[_0x535906(0x115)](_0x5ee73d){var _0x57f30a=_0x535906;let _0x297133='';if(!Gn[_0x57f30a(0xc5)](_0x5ee73d[_0x57f30a(0x15a)]))return this[_0x57f30a(0x2c2)](),Promise[_0x57f30a(0x2c0)](new Error(_0x431532[_0x57f30a(0x137)]));if(_0x5ee73d[_0x57f30a(0x331)]>Yn)return this[_0x57f30a(0x2c2)](),Promise['reject'](new Error(_0x431532[_0x57f30a(0xb0)]));try{const _0x46e804=new FormData();_0x46e804[_0x57f30a(0x21c)](_0x57f30a(0x118),_0x5ee73d);const _0x4696d7=this[_0x57f30a(0xaa)][_0x57f30a(0x1f8)](),_0x1c5f7b=_0x4696d7==null?void 0x0:_0x4696d7[_0x57f30a(0x113)]();if(!_0x1c5f7b)throw new Error(_0x57f30a(0x2d4));const _0x3e6093=this[_0x57f30a(0x15b)]()+_0x57f30a(0x2b2)+_0x5ee73d[_0x57f30a(0x331)][_0x57f30a(0x21f)]()+_0x57f30a(0x2ab)+pi[_0x57f30a(0x34a)]+_0x57f30a(0x1af)+encodeURIComponent(_0x1c5f7b),_0x3b89c8={'body':_0x46e804},_0x29247b=(await this[_0x57f30a(0x1d4)][_0x57f30a(0x258)](_0x3e6093,_0x3b89c8))[_0x57f30a(0x354)];if(typeof _0x29247b['FileId']!=_0x57f30a(0xc2))return this['_decreaseWaiting'](),Promise[_0x57f30a(0x2c0)](new Error(_0x431532[_0x57f30a(0x2b1)]));_0x297133=_0x29247b['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x57f30a(0x2c0)](new Error(_0x431532[_0x57f30a(0x2b1)]));}return new Promise((_0x291921,_0x21054e)=>{var _0x576e9f=_0x57f30a;const _0x21552e=new FileReader();_0x21552e[_0x576e9f(0x263)](_0x5ee73d),_0x21552e[_0x576e9f(0xc1)]=_0x4f5e7d=>{var _0x325d0c=_0x576e9f,_0x54d1ce;const _0x24df5b=(_0x54d1ce=_0x4f5e7d[_0x325d0c(0x2e0)])==null?void 0x0:_0x54d1ce[_0x325d0c(0x161)];if(_0x24df5b==null){this[_0x325d0c(0x2c2)](),_0x21054e(new Error(_0x431532[_0x325d0c(0x2b1)]));return;}const _0x37ae1e=_0x422fe6(0x6);_0x291921({'imageId':_0x37ae1e,'imageSourceType':_0x48533e['UUID'],'source':_0x297133,'base64Cache':_0x24df5b,'status':_0x431532[_0x325d0c(0x1e7)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){var _0x27fde3=_0x535906,_0x539916;const _0xc74c22=this[_0x27fde3(0x371)][_0x27fde3(0x1c5)](K);return(_0x539916=_0xc74c22==null?void 0x0:_0xc74c22[_0x27fde3(0x26b)])!=null?_0x539916:Kn;}[_0x535906(0x14f)](){var _0x5c374b=_0x535906,_0x5cb605;const _0x3abc0c=this[_0x5c374b(0x371)][_0x5c374b(0x1c5)](K);return(_0x5cb605=_0x3abc0c==null?void 0x0:_0x3abc0c[_0x5c374b(0x299)])!=null?_0x5cb605:qn;}[_0x535906(0x375)](){var _0x43b7ce=_0x535906,_0x47445c;const _0x318249=this[_0x43b7ce(0x371)][_0x43b7ce(0x1c5)](K);return(_0x47445c=_0x318249==null?void 0x0:_0x318249[_0x43b7ce(0x13f)])!=null?_0x47445c:location['origin'];}[_0x535906(0x25b)](_0x2ee3c3,_0x2c0c3f){return _0x2ee3c3['replace']('{fileID}',_0x2c0c3f);}[_0x535906(0x2c2)](){var _0x305f12=_0x535906;this[_0x305f12(0x325)]-=0x1,this[_0x305f12(0xf2)][_0x305f12(0x266)](this[_0x305f12(0x325)]);}};Rt=Wn([pt(0x0,_0x589d8c(_0x413224)),pt(0x1,_0x47a418),pt(0x2,_0x589d8c(_0x2deb16))],Rt);var zn=Object['getOwnPropertyDescriptor'],Jn=(_0x291d60,_0x5d44c4,_0x58ba18,_0x1e8dae)=>{var _0x179706=_0x535906;for(var _0x3e5750=_0x1e8dae>0x1?void 0x0:_0x1e8dae?zn(_0x5d44c4,_0x58ba18):_0x5d44c4,_0x13f020=_0x291d60[_0x179706(0x2d5)]-0x1,_0x22b945;_0x13f020>=0x0;_0x13f020--)(_0x22b945=_0x291d60[_0x13f020])&&(_0x3e5750=_0x22b945(_0x3e5750)||_0x3e5750);return _0x3e5750;},ai=(_0x2ec767,_0x1c1d89)=>(_0x2de231,_0x537d81)=>_0x1c1d89(_0x2de231,_0x537d81,_0x2ec767);const Xn=_0x535906(0x278);let Ot=class{constructor(_0x19cb73,_0xdf2429){var _0x181ce4=_0x535906;this[_0x181ce4(0x371)]=_0x19cb73,this['_HTTPService']=_0xdf2429;}[_0x535906(0x207)](){var _0x5bb8f6=_0x535906,_0x204c77;const _0x3b7837=this[_0x5bb8f6(0x371)]['getConfig'](K);return(_0x204c77=_0x3b7837==null?void 0x0:_0x3b7837[_0x5bb8f6(0x1c0)])!=null?_0x204c77:Xn;}async[_0x535906(0x269)](_0x425e45){var _0x972008=_0x535906;const _0x33c4a4=this[_0x972008(0x207)]()+'/collaborator';return{'list':[{'title':_0x972008(0x101),'mentions':(await this[_0x972008(0x177)][_0x972008(0x32b)](_0x33c4a4,{'params':{'objectID':_0x425e45[_0x972008(0x122)],'unitID':_0x425e45['unitId']}}))[_0x972008(0x354)][_0x972008(0x34d)]['map'](_0x57798e=>({'objectId':_0x57798e['id'],'name':_0x57798e[_0x972008(0x342)][_0x972008(0x36e)],'metadata':{'icon':_0x57798e[_0x972008(0x342)][_0x972008(0x91)]},'label':_0x57798e['subject'][_0x972008(0x36e)],'objectType':_0x137264[_0x972008(0x1f1)]})),'metadata':{},'type':_0x137264[_0x972008(0x1f1)]}]};}};Ot=Jn([ai(0x0,_0x589d8c(_0x47a418)),ai(0x1,_0x589d8c(_0x413224))],Ot);var Zn=Object[_0x535906(0x16f)],Qn=(_0x25da42,_0x4a5bd6,_0x356019,_0x577e73)=>{var _0x2a98a3=_0x535906;for(var _0xf3de3a=_0x577e73>0x1?void 0x0:_0x577e73?Zn(_0x4a5bd6,_0x356019):_0x4a5bd6,_0x4638c7=_0x25da42[_0x2a98a3(0x2d5)]-0x1,_0x2ff3e4;_0x4638c7>=0x0;_0x4638c7--)(_0x2ff3e4=_0x25da42[_0x4638c7])&&(_0xf3de3a=_0x2ff3e4(_0xf3de3a)||_0xf3de3a);return _0xf3de3a;},Ue=(_0x382a4c,_0x5b382c)=>(_0x2a30ed,_0x23c75e)=>_0x5b382c(_0x2a30ed,_0x23c75e,_0x382a4c);let ot=class extends _0x8b2103{constructor(_0x48e320,_0x5262a7,_0x1f589d,_0x8ed692,_0x23e27e){var _0x37012e=_0x535906;super(),this[_0x37012e(0x15e)]=_0x48e320,this[_0x37012e(0xaa)]=_0x5262a7,this[_0x37012e(0x144)]=_0x1f589d,this['_collaborationSessionService']=_0x8ed692,this[_0x37012e(0x102)]=_0x23e27e,this[_0x37012e(0x2bf)](),this[_0x37012e(0x181)]();}['_initCloseConn'](){var _0x5b35e3=_0x535906;const _0x589acb=async _0x2b00eb=>{var _0x53b9a4=_0x5938;(await this['_collaborationSessionService'][_0x53b9a4(0x20e)](_0x2b00eb))['event$'][_0x53b9a4(0x114)](_0x1a8c93(_0x37bcaf=>_0x37bcaf[_0x53b9a4(0x1a9)]===_0x4d2fd9[_0x53b9a4(0x30b)]),_0x597b55(this[_0x53b9a4(0x1b8)]))[_0x53b9a4(0xb7)](_0x137a5a=>{var _0x2a33f0=_0x53b9a4;const _0x33f637=_0x137a5a,{reason:_0x494487}=_0x33f637[_0x2a33f0(0x26e)];this['_collaborationUIEventService'][_0x2a33f0(0x1cc)]({'id':ne['CLOSE_ROOM'],'data':_0x494487}),this[_0x2a33f0(0x144)][_0x2a33f0(0x11c)](new _0x481c38(_0x2b00eb)['id'],!0x1),this[_0x2a33f0(0xd5)][_0x2a33f0(0xa4)](_0x2b00eb);});};_0x335dc9(this['_univerInstanceService'][_0x5b35e3(0x11f)](_0x5c6255[_0x5b35e3(0x223)]),this[_0x5b35e3(0xaa)][_0x5b35e3(0x11f)](_0x5c6255[_0x5b35e3(0x281)]))[_0x5b35e3(0x114)](_0x19e631(_0x29d983=>_0x29d983[_0x5b35e3(0x113)]()),_0x1a8c93(_0xf15839=>!_0x5d3293(_0xf15839)),_0x597b55(this['dispose$']))['subscribe'](_0x409206=>{_0x589acb(_0x409206);});}[_0x535906(0x2bf)](){var _0x4a57f4=_0x535906;const _0x340336=async _0x49363d=>{var _0x15fe0a=_0x5938;const _0x28f57a=await this[_0x15fe0a(0xd5)][_0x15fe0a(0x20e)](_0x49363d),_0x54d85c=this[_0x15fe0a(0x15e)][_0x15fe0a(0x32b)](_0x12fa82);_0x28f57a[_0x15fe0a(0x1d7)]['pipe'](_0x1a8c93(_0x5467c4=>_0x5467c4['eventID']===_0x4d2fd9[_0x15fe0a(0x2a0)]),_0x597b55(this[_0x15fe0a(0x1b8)]))['subscribe'](_0x4e19bf=>{var _0x35342a=_0x15fe0a;const _0x578b14=_0x4e19bf,{objectId:_0x4815fb}=_0x578b14[_0x35342a(0x26e)];_0x4815fb===_0x49363d?_0x54d85c[_0x35342a(0x227)](_0x49363d):_0x54d85c[_0x35342a(0x10a)](_0x49363d,_0x4815fb);});};_0x335dc9(this[_0x4a57f4(0xaa)][_0x4a57f4(0x11f)](_0x5c6255[_0x4a57f4(0x223)]))[_0x4a57f4(0x114)](_0x19e631(_0x345856=>_0x345856['getUnitId']()),_0x1a8c93(_0x5326b4=>!_0x5d3293(_0x5326b4)),_0x597b55(this[_0x4a57f4(0x1b8)]))['subscribe'](_0x5130bb=>{_0x340336(_0x5130bb);});}};ot=Qn([Ue(0x0,_0x589d8c(_0xaf55dd)),Ue(0x1,_0x2deb16),Ue(0x2,_0x1941bc),Ue(0x3,_0x589d8c(Pe)),Ue(0x4,_0x589d8c(ve))],ot);var er=Object['getOwnPropertyDescriptor'],tr=(_0x17e682,_0x348c65,_0x4476b8,_0x5900bb)=>{var _0x45928c=_0x535906;for(var _0x98cc5=_0x5900bb>0x1?void 0x0:_0x5900bb?er(_0x348c65,_0x4476b8):_0x348c65,_0x3f7d57=_0x17e682[_0x45928c(0x2d5)]-0x1,_0x4bf0f1;_0x3f7d57>=0x0;_0x3f7d57--)(_0x4bf0f1=_0x17e682[_0x3f7d57])&&(_0x98cc5=_0x4bf0f1(_0x98cc5)||_0x98cc5);return _0x98cc5;},oi=(_0xa6bdca,_0x2c687b)=>(_0x438eed,_0x26c7a2)=>_0x2c687b(_0x438eed,_0x26c7a2,_0xa6bdca);let bt=class{constructor(_0x26f963,_0x16c11a){var _0x1eae54=_0x535906;this[_0x1eae54(0x371)]=_0x26f963,this[_0x1eae54(0x1d4)]=_0x16c11a;}async[_0x535906(0x2f0)](_0x4ff081,_0x40981f){var _0x4efe07=_0x535906,_0x3d248f;const {unitID:_0x44410d,type:_0x5a2504,revision:_0x120000=0x0}=_0x40981f,_0xb3b674=this[_0x4efe07(0x2aa)]()+'/'+_0x5a2504+_0x4efe07(0x1bd)+_0x44410d+_0x4efe07(0x1fe)+_0x120000,_0x538cd5=(await this[_0x4efe07(0x1d4)]['get'](_0xb3b674))[_0x4efe07(0x354)],_0x2158f9=(_0x3d248f=_0x538cd5[_0x4efe07(0xff)])==null?void 0x0:_0x3d248f['workbook'];if(_0x2158f9){const _0x3a0b5f=_0x2158f9==null?void 0x0:_0x2158f9[_0x4efe07(0x317)],_0x4f143c=_0x55c2bf[_0x4efe07(0x392)](_0x2efb1a(_0x3a0b5f));_0x2158f9[_0x4efe07(0x317)]=_0x4f143c,Object[_0x4efe07(0x37f)](_0x2158f9['sheets'])[_0x4efe07(0x194)](([,_0x2cfd3c])=>{var _0x5c2975=_0x4efe07;const _0x3f1f19=_0x2cfd3c['originalMeta'],_0x75b9d5=_0x55c2bf[_0x5c2975(0x392)](_0x2efb1a(_0x3f1f19));_0x2cfd3c['originalMeta']=_0x75b9d5;});}return _0x538cd5;}async[_0x535906(0x1bc)](_0x400b9f,_0x13c50a){var _0x3eca5d=_0x535906;const {unitID:_0x229cea,type:_0x52eec3,blockID:_0x4d97ec}=_0x13c50a,_0x21e3a6=this['_getAPIPrefix']()+'/'+_0x52eec3+'/unit/'+_0x229cea+_0x3eca5d(0x38e)+_0x4d97ec;return(await this[_0x3eca5d(0x1d4)][_0x3eca5d(0x32b)](_0x21e3a6))[_0x3eca5d(0x354)];}async['getDeserializedSheetBlock'](_0x14f8e7,_0x3c300f){var _0x152a56=_0x535906;const {unitID:_0x15ba80,type:_0x24d808,blockID:_0x424f73}=_0x3c300f,_0x11f4ac=this[_0x152a56(0xc8)]()+_0x152a56(0x38e)+_0x24d808+_0x152a56(0x1bd)+_0x15ba80+'/block/'+_0x424f73;return(await this[_0x152a56(0x1d4)][_0x152a56(0x32b)](_0x11f4ac))[_0x152a56(0x354)];}async[_0x535906(0x364)](_0x15ea27,_0x14a96b){var _0x1bb5d6=_0x535906;const {unitID:_0x1a603e,type:_0x38b3bd,from:_0x34221a,to:_0x3f8304}=_0x14a96b,_0x4e8d4d=this[_0x1bb5d6(0xc8)]()+'/'+_0x38b3bd+_0x1bb5d6(0x1bd)+_0x1a603e+_0x1bb5d6(0x198)+_0x34221a+_0x1bb5d6(0x157)+_0x3f8304;return(await this[_0x1bb5d6(0x1d4)][_0x1bb5d6(0x32b)](_0x4e8d4d))[_0x1bb5d6(0x354)];}[_0x535906(0x2aa)](){var _0x2a55ee=_0x535906,_0x16bcf0;return(_0x16bcf0=this['_configService']['getConfig'](vs))!=null?_0x16bcf0:this[_0x2a55ee(0xc8)]();}['_getAPIPrefix'](){var _0x58d518=_0x535906,_0x1c7a78;const _0x2d0e95=this[_0x58d518(0x371)][_0x58d518(0x1c5)](K);return(_0x1c7a78=_0x2d0e95==null?void 0x0:_0x2d0e95[_0x58d518(0x2c9)])!=null?_0x1c7a78:fs;}async[_0x535906(0x185)](_0x5bfc76,_0x109cea){var _0x26cbe6=_0x535906;const _0x33c58a=_0x26cbe6(0x10b)+_0x109cea['type']+_0x26cbe6(0x1bd)+_0x109cea['unitID']+_0x26cbe6(0x379);return(await this[_0x26cbe6(0x1d4)][_0x26cbe6(0x32b)](_0x33c58a,{'params':{'resourceId':JSON['stringify'](_0x109cea['resourceIDs'])}}))['body'];}[_0x535906(0x1e8)](){var _0x37d2e9=_0x535906;throw new Error(_0x37d2e9(0x2d7));}[_0x535906(0x204)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x535906(0x153)](){var _0x201a91=_0x535906;throw new Error(_0x201a91(0x2d7));}['saveChangeset'](){var _0x3bb031=_0x535906;throw new Error(_0x3bb031(0x2d7));}[_0x535906(0x319)](){var _0x51efd2=_0x535906;throw new Error(_0x51efd2(0x2d7));}[_0x535906(0x1e1)](){var _0x2c73bd=_0x535906;throw new Error(_0x2c73bd(0x2d7));}};bt=tr([oi(0x0,_0x47a418),oi(0x1,_0x589d8c(_0x413224))],bt);var ir=Object[_0x535906(0x16f)],sr=(_0x5024a6,_0x273103,_0x180bf3,_0x2f9425)=>{var _0x3cd7ef=_0x535906;for(var _0x530e42=_0x2f9425>0x1?void 0x0:_0x2f9425?ir(_0x273103,_0x180bf3):_0x273103,_0x13f309=_0x5024a6[_0x3cd7ef(0x2d5)]-0x1,_0x210c60;_0x13f309>=0x0;_0x13f309--)(_0x210c60=_0x5024a6[_0x13f309])&&(_0x530e42=_0x210c60(_0x530e42)||_0x530e42);return _0x530e42;},Ae=(_0x3057e0,_0x22a78e)=>(_0x1759d3,_0x3ea683)=>_0x22a78e(_0x1759d3,_0x3ea683,_0x3057e0);let yt=class extends _0x271896{constructor(_0x46e2cc,_0x4c12d4,_0x29b17d,_0x1f47d2,_0x271fc4){var _0x117721=_0x535906;super(_0x46e2cc,_0x4c12d4,_0x29b17d),this[_0x117721(0x217)]=_0x1f47d2,this['_logService']=_0x271fc4;}[_0x535906(0x13c)](_0xa90497,_0x40a7e0){var _0x56a8c8=_0x535906;const _0x32c590=this[_0x56a8c8(0x2d6)](_0xa90497);if(_0x32c590)try{const _0x352723=this[_0x56a8c8(0x36a)](_0x32c590,_0x40a7e0);this[_0x56a8c8(0xda)](_0xa90497,_0x352723);}catch(_0x1f0509){this[_0x56a8c8(0x8c)][_0x56a8c8(0xe6)](_0x56a8c8(0x13a),_0x1f0509),this['_clearUndo'](_0xa90497);}const _0x2f8ea1=this[_0x56a8c8(0x12b)](_0xa90497);if(_0x2f8ea1)try{const _0x9ca3ff=this['_transformStack'](_0x2f8ea1,_0x40a7e0);this[_0x56a8c8(0x190)](_0xa90497,_0x9ca3ff);}catch(_0x9b53f4){this[_0x56a8c8(0x8c)]['error'](_0x9b53f4),this[_0x56a8c8(0x18f)](_0xa90497);}}['_clearUndo'](_0x1068b5){var _0x5ee857=_0x535906;const _0x17d958=this['_getUndoStack'](_0x1068b5);_0x17d958&&(_0x17d958[_0x5ee857(0x2d5)]=0x0,this[_0x5ee857(0x1c6)]());}[_0x535906(0x18f)](_0x43104f){const _0x27c799=this['_getRedoStack'](_0x43104f);_0x27c799&&(_0x27c799['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x305d8a,_0x51cb2e){var _0x497cfa=_0x535906;this['_undoStacks'][_0x497cfa(0x240)](_0x305d8a,_0x51cb2e),this[_0x497cfa(0x1c6)]();}[_0x535906(0x190)](_0x5c77b5,_0x52b277){var _0x25934a=_0x535906;this['_redoStacks'][_0x25934a(0x240)](_0x5c77b5,_0x52b277),this['_updateStatus']();}[_0x535906(0x36a)](_0x5a47cc,_0x269df3){var _0x3d81a1=_0x535906;const _0x4c335=[];let _0x62d9e9=_0x269df3,_0x5018da=_0x269df3;for(let _0x155155=_0x5a47cc[_0x3d81a1(0x2d5)]-0x1;_0x155155>=0x0;_0x155155--){const {unitID:_0x18f9eb,undoMutations:_0x565d67,redoMutations:_0x39f0d9}=_0x5a47cc[_0x155155],_0x20fed1=this['_transformService'][_0x3d81a1(0x167)](_0x62d9e9,_0x565d67),_0x7ff5b0=this[_0x3d81a1(0x217)][_0x3d81a1(0x167)](_0x5018da,_0x39f0d9);if(_0x156ac2(_0x20fed1)||_0x156ac2(_0x7ff5b0)){this[_0x3d81a1(0x8c)][_0x3d81a1(0xe6)]('[CollaborationUndoRedoService]',_0x3d81a1(0x29e),_0x20fed1,_0x7ff5b0);break;}_0x62d9e9=_0x20fed1[_0x3d81a1(0xa0)],_0x5018da=_0x7ff5b0[_0x3d81a1(0xa0)],_0x4c335[_0x3d81a1(0x1f6)]({'unitID':_0x18f9eb,'undoMutations':_0x20fed1[_0x3d81a1(0x27f)],'redoMutations':_0x7ff5b0['m2Prime']});}return _0x4c335[_0x3d81a1(0x340)]();}};yt=sr([Ae(0x0,_0x2deb16),Ae(0x1,_0x2f40b7),Ae(0x2,_0x3908f6),Ae(0x3,_0x90cca5),Ae(0x4,_0x1cf341)],yt);var nr=Object[_0x535906(0x16a)],rr=Object[_0x535906(0x16f)],ar=(_0x1bd1fe,_0x1e4700,_0x1c309d)=>_0x1e4700 in _0x1bd1fe?nr(_0x1bd1fe,_0x1e4700,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c309d}):_0x1bd1fe[_0x1e4700]=_0x1c309d,or=(_0x4f6aac,_0x11715c,_0x2ae4e8,_0x207605)=>{var _0x1950ba=_0x535906;for(var _0x4d9215=_0x207605>0x1?void 0x0:_0x207605?rr(_0x11715c,_0x2ae4e8):_0x11715c,_0x46a71f=_0x4f6aac[_0x1950ba(0x2d5)]-0x1,_0x1dd6f5;_0x46a71f>=0x0;_0x46a71f--)(_0x1dd6f5=_0x4f6aac[_0x46a71f])&&(_0x4d9215=_0x1dd6f5(_0x4d9215)||_0x4d9215);return _0x4d9215;},mt=(_0x408d86,_0x3726b1)=>(_0x2e22b5,_0x583e72)=>_0x3726b1(_0x2e22b5,_0x583e72,_0x408d86),cr=(_0x4fe863,_0x513564,_0x27ea27)=>ar(_0x4fe863,_0x513564+'',_0x27ea27);const hr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x437a17{constructor(_0x557eab,_0x5d798b,_0xec19b7,_0x3c334d){var _0x5e9ffc=_0x535906;super(),N(this,'_config'),(this[_0x5e9ffc(0x8c)]=_0x5d798b,this[_0x5e9ffc(0x15e)]=_0xec19b7,this[_0x5e9ffc(0x371)]=_0x3c334d);const {..._0x32f08e}=_0x5a25c9({},Ls,_0x557eab);if(!_0x32f08e[_0x5e9ffc(0x32e)])throw new Error(_0x5e9ffc(0x345));this[_0x5e9ffc(0x2ca)]=_0x32f08e,this[_0x5e9ffc(0x371)][_0x5e9ffc(0x326)](K,_0x32f08e);}[_0x535906(0x109)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x535906(0x2e1)](){var _0x3fa99a=_0x535906,_0x26933b,_0x256d25;this[_0x3fa99a(0x15e)]['has'](_0x34400c)&&this[_0x3fa99a(0x8c)][_0x3fa99a(0xe6)](_0x3fa99a(0x12a),_0x3fa99a(0x25d));const _0x5a4fd6=_0x9d4d20([[_0x34400c,{'useClass':yt}],[Pe],[we],[it],[rt],[at],[mi],[ot],[ve],[Ct],[Ci,{'useClass':this[_0x3fa99a(0x2ca)]['socketService']}],[_0x426ed2,{'useClass':bt}],[_0x47453b,{'useClass':Tt}],[_0x1d87fc,{'useClass':Rt}],[_0x8265ea,{'useClass':Ot}],[nt],[It]],(_0x26933b=this[_0x3fa99a(0x2ca)])==null?void 0x0:_0x26933b[_0x3fa99a(0x246)]);if(!((_0x256d25=this[_0x3fa99a(0x2ca)])!=null&&_0x256d25[_0x3fa99a(0x117)])){const _0xf87cb5=_0x5a4fd6['findIndex'](([_0x54cc79])=>_0x54cc79===ht);_0xf87cb5!==-0x1&&_0x5a4fd6[_0x3fa99a(0x9f)](_0xf87cb5,0x1);}_0x26d4b3(this[_0x3fa99a(0x15e)],_0x5a4fd6);}[_0x535906(0xf0)](){var _0x4568ba=_0x535906,_0x1065d7,_0x13ad90,_0xe2171b;this[_0x4568ba(0x15e)]['get'](_0x413224)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2d4162({'maxParallel':0x6})}),(_0x1065d7=this[_0x4568ba(0x2ca)])!=null&&_0x1065d7[_0x4568ba(0x280)]||(_0x13ad90=this[_0x4568ba(0x15e)]['get'](J,_0x1ca4bf[_0x4568ba(0x363)]))==null||_0x13ad90[_0x4568ba(0x1d9)](),(_0xe2171b=this[_0x4568ba(0x2ca)])!=null&&_0xe2171b[_0x4568ba(0x298)]&&_0x16b104(this[_0x4568ba(0x15e)],[[rt]]),_0x16b104(this[_0x4568ba(0x15e)],[[at],[nt],[ot]]);}};cr(Nt,'pluginName',hr),Nt=or([_0x2a3f75(_0x12ead4,_0x2ec0c1),mt(0x1,_0x1cf341),mt(0x2,_0x589d8c(_0xaf55dd)),mt(0x3,_0x47a418)],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};
|