@univerjs-pro/collaboration-client 0.5.1-nightly.202412131606 → 0.5.1-nightly.202412141605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3e9f07=_0x4dcf;(function(_0x2a4ced,_0x9eb796){var _0x173bc1=_0x4dcf,_0x4fcd07=_0x2a4ced();while(!![]){try{var _0x569f89=-parseInt(_0x173bc1(0x26e))/0x1*(-parseInt(_0x173bc1(0x263))/0x2)+-parseInt(_0x173bc1(0x400))/0x3*(-parseInt(_0x173bc1(0x3b3))/0x4)+-parseInt(_0x173bc1(0x21e))/0x5*(parseInt(_0x173bc1(0x1e7))/0x6)+-parseInt(_0x173bc1(0x39b))/0x7+-parseInt(_0x173bc1(0x36d))/0x8*(-parseInt(_0x173bc1(0x369))/0x9)+parseInt(_0x173bc1(0x2ff))/0xa*(-parseInt(_0x173bc1(0x1ae))/0xb)+parseInt(_0x173bc1(0x334))/0xc;if(_0x569f89===_0x9eb796)break;else _0x4fcd07['push'](_0x4fcd07['shift']());}catch(_0x262651){_0x4fcd07['push'](_0x4fcd07['shift']());}}}(_0x5145,0xf3f4f));var Mi=Object[_0x3e9f07(0x386)],$i=(_0x2ebce3,_0x5985d2,_0x3388aa)=>_0x5985d2 in _0x2ebce3?Mi(_0x2ebce3,_0x5985d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3388aa}):_0x2ebce3[_0x5985d2]=_0x3388aa,N=(_0x69d73,_0x4a6a36,_0x5df840)=>$i(_0x69d73,typeof _0x4a6a36!=_0x3e9f07(0x276)?_0x4a6a36+'':_0x4a6a36,_0x5df840);import{createIdentifier as _0x1c6acd,Inject as _0x1e11c8,Injector as _0x202b1e,Disposable as _0x2f099f,DisposableCollection as _0x1bbbd8,toDisposable as _0x30d46b,IConfigService as _0x155bcb,ILogService as _0x290771,UserManagerService as _0x1271bf,UniverInstanceType as _0x2188e5,IUniverInstanceService as _0x2bea00,LocaleService as _0xeb3187,Optional as _0x5a8d4f,RxDisposable as _0x37e680,Tools as _0xc1dd15,Rectangle as _0x420d55,ICommandService as _0x5f1d0c,JSONX as _0x5a9d5f,CommandType as _0x245250,IPermissionService as _0x11d5fc,IUndoRedoService as _0x34ff18,sequenceExecute as _0x55f2de,Workbook as _0x268dfd,MentionType as _0x3d41b3,IAuthzIoService as _0x54a128,isInternalEditorID as _0x1187d0,LocalUndoRedoService as _0x4a61c6,IContextService as _0x3ea56e,DependentOn as _0x2c0cb9,Plugin as _0x18ed1f,mergeOverrideWithDependencies as _0x3961a8,IMentionIOService as _0xe93ae0,registerDependencies as _0x500574,Quantity as _0x1ae54f,touchDependencies as _0x9c5c37}from'@univerjs/core';import{Subject as _0x459b05,merge as _0x35784b,of as _0x1d4dee,BehaviorSubject as _0x251b5f,takeUntil as _0x103f03,ReplaySubject as _0x2f5052,take as _0x49f8ab,map as _0x4ca8a8,shareReplay as _0x17a180,firstValueFrom as _0x284690,concatMap as _0x325aa3}from'rxjs';import{map as _0x5c84b6,take as _0x1af064,filter as _0x3bdd8d,delay as _0xf38ea6,takeUntil as _0x5f360b}from'rxjs/operators';import{HTTPService as _0x26621f,ISocketService as _0x25b033,MergeInterceptorFactory as _0x4ec799,HTTPRequest as _0x2db9d2,UniverNetworkPlugin as _0x13ae65,ThresholdInterceptorFactory as _0x390e4e}from'@univerjs/network';import{CollaborationEvent as _0x2f82c9,parseChangesetToProtocol as _0x2d942f,ISnapshotServerService as _0x4152e1,isTransformMutationsWithChangesetSuccess as _0x281f21,ITransformService as _0x48d905,mapDocumentTypeToUniverType as _0x166ae6,RevisionService as _0x33e8a8,isTransformChangesetsSuccess as _0x2a45c4,CompressMutationService as _0x36de87,parseProtocolChangeset as _0x5c92cc,SnapshotService as _0x298fb0,textEncoder as _0x384de5,b64DecodeUnicode as _0x1be9bd,isTransformMutationsWithChangesetFailure as _0x4dbb28,UniverCollaborationPlugin as _0x3bdc67}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1d5b0b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x514974}from'@univerjs/docs';import{SheetsSelectionsService as _0x275888,SetSelectionsOperation as _0x20e163,InsertSheetMutation as _0x338610,EmptyMutation as _0x292987,WorkbookEditablePermission as _0x50259a,UnitObject as _0x85bb76,defaultWorkbookPermissionPoints as _0x49ee90,getAllWorkbookPermissionPoint as _0x4de039,WorksheetProtectionRuleModel as _0x38060e,baseProtectionActions as _0x50d06d,getAllWorksheetPermissionPoint as _0x42598e,WorksheetProtectionPointModel as _0x3890de,defaultWorksheetPermissionPoint as _0x269054,getAllWorksheetPermissionPointByPointPanel as _0x120024,RangeProtectionRuleModel as _0x5cd8a9,getAllRangePermissionPoint as _0x2fda61,UniverSheetsPlugin as _0x5f5b65}from'@univerjs/sheets';import{ImageSourceType as _0x5f024b,ImageUploadStatusType as _0x4351ac,IImageIoService as _0x97aeda}from'@univerjs/drawing';import{getGlobalObject as _0x251d28}from'@univerjs-pro/license';const Pn=_0x3e9f07(0x1c2),Nn='/universer-api/snapshot',Dn=_0x3e9f07(0x324),ho=_0x3e9f07(0x2f3),wn=0x7d0,Un=_0x3e9f07(0x2ba),An=_0x3e9f07(0x445),xn='/universer-api/user/session-ticket',Ln=_0x3e9f07(0x39e),Mn=0x7530,Ei='HEARTBEAT_TIMEOUT',Ii=0x4e20,$n=0x4e20,Hn=_0x3e9f07(0x245),kn=0x3,_o=_0x3e9f07(0x3f5),lo=0x3e8,jn=_0x3e9f07(0x26f),Bn=_0x3e9f07(0x22c),Fn=_0x3e9f07(0x209),Vn=_0x3e9f07(0x3fe);var Ti=(_0xd06df5=>(_0xd06df5[_0xd06df5[_0x3e9f07(0x37b)]=0x0]=_0x3e9f07(0x37b),_0xd06df5[_0xd06df5['OK']=0x1]='OK',_0xd06df5[_0xd06df5['INTERNAL_ERROR']=0x2]=_0x3e9f07(0x1ee),_0xd06df5[_0xd06df5['PERMISSION_DENIED']=0x3]=_0x3e9f07(0x326),_0xd06df5[_0xd06df5[_0x3e9f07(0x217)]=0x4]=_0x3e9f07(0x217),_0xd06df5[_0xd06df5[_0x3e9f07(0x2cf)]=0x5]='UNAUTHENTICATED',_0xd06df5[_0xd06df5['ALREADY_EXISTS']=0x6]=_0x3e9f07(0x2c3),_0xd06df5[_0xd06df5[_0x3e9f07(0x32a)]=0x7]=_0x3e9f07(0x32a),_0xd06df5[_0xd06df5[_0x3e9f07(0x464)]=0x8]=_0x3e9f07(0x464),_0xd06df5[_0xd06df5[_0x3e9f07(0x288)]=0x9]=_0x3e9f07(0x288),_0xd06df5[_0xd06df5[_0x3e9f07(0x2bd)]=0x1389]=_0x3e9f07(0x2bd),_0xd06df5[_0xd06df5[_0x3e9f07(0x2a0)]=0x1771]=_0x3e9f07(0x2a0),_0xd06df5[_0xd06df5[_0x3e9f07(0x1ec)]=0x1772]=_0x3e9f07(0x1ec),_0xd06df5[_0xd06df5[_0x3e9f07(0x360)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xd06df5[_0xd06df5['APPLY_REJECT']=0x1b59]=_0x3e9f07(0x26c),_0xd06df5[_0xd06df5['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd06df5[_0xd06df5[_0x3e9f07(0x3d8)]=0x1b5b]=_0x3e9f07(0x3d8),_0xd06df5[_0xd06df5[_0x3e9f07(0x223)]=0x1b5c]=_0x3e9f07(0x223),_0xd06df5[_0xd06df5['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0xd06df5[_0xd06df5[_0x3e9f07(0x2cb)]=0x1f41]=_0x3e9f07(0x2cb),_0xd06df5[_0xd06df5['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e9f07(0x402),_0xd06df5[_0xd06df5[_0x3e9f07(0x1f3)]=0x232a]=_0x3e9f07(0x1f3),_0xd06df5[_0xd06df5[_0x3e9f07(0x410)]=0x232b]=_0x3e9f07(0x410),_0xd06df5[_0xd06df5[_0x3e9f07(0x460)]=0x232c]=_0x3e9f07(0x460),_0xd06df5[_0xd06df5['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0xd06df5[_0xd06df5[_0x3e9f07(0x2a5)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd06df5[_0xd06df5['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3e9f07(0x439),_0xd06df5[_0xd06df5[_0x3e9f07(0x250)]=0x2713]=_0x3e9f07(0x250),_0xd06df5[_0xd06df5[_0x3e9f07(0x2ac)]=0x2714]=_0x3e9f07(0x2ac),_0xd06df5[_0xd06df5[_0x3e9f07(0x36c)]=-0x1]=_0x3e9f07(0x36c),_0xd06df5))(Ti||{}),Q=(_0x3a6132=>(_0x3a6132[_0x3a6132[_0x3e9f07(0x4a3)]=0x0]=_0x3e9f07(0x4a3),_0x3a6132[_0x3a6132[_0x3e9f07(0x36e)]=0x1]='UNIVER_DOC',_0x3a6132[_0x3a6132[_0x3e9f07(0x2fe)]=0x2]=_0x3e9f07(0x2fe),_0x3a6132[_0x3a6132['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x3a6132[_0x3a6132[_0x3e9f07(0x1c0)]=0x4]=_0x3e9f07(0x1c0),_0x3a6132[_0x3a6132[_0x3e9f07(0x36c)]=-0x1]='UNRECOGNIZED',_0x3a6132))(Q||{}),F=(_0xae6298=>(_0xae6298[_0xae6298[_0x3e9f07(0x38a)]=0x0]='UNKNOWN_CMD',_0xae6298[_0xae6298[_0x3e9f07(0x231)]=0x1]=_0x3e9f07(0x231),_0xae6298[_0xae6298[_0x3e9f07(0x2b2)]=0x2]=_0x3e9f07(0x2b2),_0xae6298[_0xae6298[_0x3e9f07(0x440)]=0x3]=_0x3e9f07(0x440),_0xae6298[_0xae6298[_0x3e9f07(0x4a5)]=0x4]=_0x3e9f07(0x4a5),_0xae6298[_0xae6298[_0x3e9f07(0x2d4)]=0x5]=_0x3e9f07(0x2d4),_0xae6298[_0xae6298[_0x3e9f07(0x309)]=0x6]=_0x3e9f07(0x309),_0xae6298[_0xae6298[_0x3e9f07(0x36c)]=-0x1]='UNRECOGNIZED',_0xae6298))(F||{}),Ee=(_0x349d8a=>(_0x349d8a[_0x349d8a[_0x3e9f07(0x2e6)]=0x0]='UNKNOWN_CODE',_0x349d8a[_0x349d8a['OK']=0x1]='OK',_0x349d8a[_0x349d8a['FAIL']=0x2]=_0x3e9f07(0x43d),_0x349d8a[_0x349d8a[_0x3e9f07(0x239)]=0x3e9]=_0x3e9f07(0x239),_0x349d8a[_0x349d8a['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x3e9f07(0x2ef),_0x349d8a[_0x349d8a[_0x3e9f07(0x254)]=0x3eb]=_0x3e9f07(0x254),_0x349d8a[_0x349d8a[_0x3e9f07(0x2da)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x349d8a[_0x349d8a['UNRECOGNIZED']=-0x1]=_0x3e9f07(0x36c),_0x349d8a))(Ee||{}),Ci=(_0x410a75=>(_0x410a75[_0x410a75[_0x3e9f07(0x252)]=0x0]=_0x3e9f07(0x252),_0x410a75[_0x410a75[_0x3e9f07(0x432)]=0x1]=_0x3e9f07(0x432),_0x410a75[_0x410a75[_0x3e9f07(0x1a4)]=0x2]='HttpExport',_0x410a75[_0x410a75['UnitEmbedded']=0x3]='UnitEmbedded',_0x410a75[_0x410a75['UnitSnapshot']=0x4]='UnitSnapshot',_0x410a75[_0x410a75[_0x3e9f07(0x36c)]=-0x1]=_0x3e9f07(0x36c),_0x410a75))(Ci||{});const Y='collaboration-client.config',Wn={};var re=(_0x375283=>(_0x375283[_0x3e9f07(0x292)]='OTHER_CLIENT_EDITING',_0x375283['PERMISSION_DENIED']=_0x3e9f07(0x326),_0x375283[_0x3e9f07(0x2cd)]=_0x3e9f07(0x2cd),_0x375283[_0x3e9f07(0x43b)]='CLOSE_ROOM',_0x375283[_0x3e9f07(0x2d1)]='JOIN_ROOM_FAILED',_0x375283[_0x3e9f07(0x498)]=_0x3e9f07(0x498),_0x375283[_0x3e9f07(0x30f)]=_0x3e9f07(0x30f),_0x375283[_0x3e9f07(0x216)]=_0x3e9f07(0x216),_0x375283))(re||{});class pe{constructor(){var _0x2ce87a=_0x3e9f07;N(this,_0x2ce87a(0x352),new _0x459b05()),N(this,'event$',this[_0x2ce87a(0x352)][_0x2ce87a(0x3fa)]());}[_0x3e9f07(0x29e)](_0x528fc2){var _0x5d37a5=_0x3e9f07;this[_0x5d37a5(0x352)]['next'](_0x528fc2);}}const Gn=_0x1c6acd(_0x3e9f07(0x34d));function Kn(_0x3a797a){var _0x43707b=_0x3e9f07,_0x346a8b,_0x2ec789,_0xcd3916,_0x428f18,_0x2e0b43;const _0x2eb341=_0x3a797a[_0x43707b(0x221)],_0x515150=JSON[_0x43707b(0x226)](_0x2eb341);switch(_0x515150[_0x43707b(0x3b0)]){case F['HEARTBEAT']:case F[_0x43707b(0x231)]:{const _0x41e05c=_0x515150['infoRsp'];return{..._0x515150,'data':_0x41e05c,'cmd':_0x515150['cmd']};}case F[_0x43707b(0x2b2)]:{const _0x4ba71b=_0x515150[_0x43707b(0x473)];return{..._0x515150,'data':_0x4ba71b,'cmd':_0x515150[_0x43707b(0x3b0)]};}case F[_0x43707b(0x309)]:{const _0x566fe9=_0x515150[_0x43707b(0x330)];switch(_0x566fe9[_0x43707b(0x35c)]){case _0x2f82c9[_0x43707b(0x3b9)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x346a8b=_0x566fe9[_0x43707b(0x23c)])==null?void 0x0:_0x346a8b['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x36b)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x2ec789=_0x566fe9['csAckEvent'])==null?void 0x0:_0x2ec789['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x3fd)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0xcd3916=_0x566fe9['newCsEvent'])==null?void 0x0:_0xcd3916['cs']},'cmd':_0x515150['cmd']};case _0x2f82c9['CHANGESET_REJ']:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x428f18=_0x566fe9[_0x43707b(0x268)])==null?void 0x0:_0x428f18['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x1cf)]:return{..._0x515150,'data':{..._0x566fe9,'data':(_0x2e0b43=_0x566fe9[_0x43707b(0x41f)])==null?void 0x0:_0x2e0b43['cs']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9['UPDATE_CURSOR']:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x3d7)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x1d2)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x456)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x391)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x260)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x27d)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x210)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9['LIVESHARE_FETCH_OPERATIONS']:case _0x2f82c9[_0x43707b(0x2b8)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x1f6)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x489)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x210)]},'cmd':_0x515150['cmd']};case _0x2f82c9[_0x43707b(0x375)]:return{..._0x515150,'data':_0x566fe9,'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x2c9)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9['commentUpdateEvent']},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x211)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x453)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x24b)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9[_0x43707b(0x2aa)]},'cmd':_0x515150[_0x43707b(0x3b0)]};case _0x2f82c9[_0x43707b(0x444)]:return{..._0x515150,'data':{..._0x566fe9,'data':_0x566fe9['uniscriptRunEvent']},'cmd':_0x515150[_0x43707b(0x3b0)]};default:return _0x515150;}}default:return _0x515150;}}function zn(_0x1f0976){var _0x22fc1e=_0x3e9f07;switch(_0x1f0976['cmd']){case F[_0x22fc1e(0x2d4)]:case F['HELLO']:return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)]});case F[_0x22fc1e(0x4a5)]:{let _0x2c85ce;switch(_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x35c)]){case _0x2f82c9[_0x22fc1e(0x348)]:{_0x2c85ce={'eventID':_0x2f82c9['UPDATE_CURSOR'],'updateCursorEvent':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x391)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x391)],'leaveEvent':_0x1f0976['data'][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x1d2)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x1d2)],'joinEvent':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9['LIVESHARE_NEW_HOST']:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1f0976[_0x22fc1e(0x221)]['data']};break;}case _0x2f82c9[_0x22fc1e(0x2b8)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x2b8)],'liveShareOperation':_0x1f0976[_0x22fc1e(0x221)][_0x22fc1e(0x221)]};break;}case _0x2f82c9[_0x22fc1e(0x489)]:{_0x2c85ce={'eventID':_0x2f82c9[_0x22fc1e(0x489)],'liveShareTerminate':_0x1f0976[_0x22fc1e(0x221)]['data']};break;}case _0x2f82c9['LIVESHARE_REQUEST_HOST']:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f0976['data']['data']};break;}case _0x2f82c9[_0x22fc1e(0x2f2)]:{_0x2c85ce={'eventID':_0x2f82c9['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x2c85ce={'eventID':_0x1f0976['data'][_0x22fc1e(0x35c)]};}return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'collaMsg':_0x2c85ce});}case F[_0x22fc1e(0x2b2)]:return JSON['stringify']({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'joinReq':_0x1f0976['data']});case F[_0x22fc1e(0x440)]:return JSON[_0x22fc1e(0x22e)]({'cmd':_0x1f0976[_0x22fc1e(0x3b0)],'routeKey':_0x1f0976[_0x22fc1e(0x208)],'leaveReq':_0x1f0976['data']});default:throw new Error(_0x22fc1e(0x3dc));}}var Yn=Object['defineProperty'],qn=Object[_0x3e9f07(0x34f)],Jn=(_0x5ecf99,_0x3dc5ab,_0x263d7d,_0x2b5f32)=>{var _0x430cdb=_0x3e9f07;for(var _0x37ce3c=_0x2b5f32>0x1?void 0x0:_0x2b5f32?qn(_0x3dc5ab,_0x263d7d):_0x3dc5ab,_0x4e8e42=_0x5ecf99[_0x430cdb(0x46c)]-0x1,_0x5e2c11;_0x4e8e42>=0x0;_0x4e8e42--)(_0x5e2c11=_0x5ecf99[_0x4e8e42])&&(_0x37ce3c=(_0x2b5f32?_0x5e2c11(_0x3dc5ab,_0x263d7d,_0x37ce3c):_0x5e2c11(_0x37ce3c))||_0x37ce3c);return _0x2b5f32&&_0x37ce3c&&Yn(_0x3dc5ab,_0x263d7d,_0x37ce3c),_0x37ce3c;},Ue=(_0xe56015,_0x1e4507)=>(_0x4793bc,_0x234c53)=>_0x1e4507(_0x4793bc,_0x234c53,_0xe56015);const bi=_0x1c6acd('univer-pro.collaboration-client-socket-service');function Xn(_0x3da958,_0x3e7d32,_0x25c2ce){var _0x2a7476=_0x3e9f07;return _0x3da958+'/'+_0x3e7d32+_0x2a7476(0x306)+_0x25c2ce+'/new_changes';}let It=class extends _0x2f099f{constructor(_0x36647e,_0x1fdc69,_0x3f474e,_0x24cfaf,_0x3fb376){var _0x2c5495=_0x3e9f07;super(),this[_0x2c5495(0x484)]=_0x36647e,this[_0x2c5495(0x3ea)]=_0x1fdc69,this[_0x2c5495(0x31f)]=_0x3f474e,this[_0x2c5495(0x28c)]=_0x24cfaf,this['_snapshotServerService']=_0x3fb376;}['createSocket'](_0x3037ba){var _0x8040c0=_0x3e9f07;const _0x301c4a=this['_injector'][_0x8040c0(0x220)](_0x25b033);if(!_0x301c4a)throw new Error(_0x8040c0(0x24f));const _0x56d565=_0x301c4a[_0x8040c0(0x206)](_0x3037ba);if(!_0x56d565)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x149ac5=new _0x1bbbd8(),_0xc2401c=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565['close$'][_0x8040c0(0x2e5)](_0xc3a436=>_0xc2401c[_0x8040c0(0x384)](_0xc3a436))),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0xc2401c[_0x8040c0(0x376)]()));const _0x4a7f85=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565[_0x8040c0(0x491)][_0x8040c0(0x2e5)](_0x57cdda=>_0x4a7f85[_0x8040c0(0x384)](_0x57cdda))),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0x4a7f85['complete']()));const _0x5c038e=new _0x459b05();_0x149ac5[_0x8040c0(0x1e5)](_0x56d565[_0x8040c0(0x3f6)][_0x8040c0(0x2e5)](_0x3b7d71=>{var _0x47f1bd=_0x8040c0;const _0x505a1b=Kn(_0x3b7d71);_0x5c038e[_0x47f1bd(0x384)](_0x505a1b);})),_0x149ac5[_0x8040c0(0x1e5)](_0x30d46b(()=>_0x5c038e[_0x8040c0(0x376)]()));let _0x1879eb;const _0x3049aa=()=>{var _0x3946f8=_0x8040c0;_0x4a7f85[_0x3946f8(0x384)](new Event('connection\x20error')),_0xc2401c[_0x3946f8(0x384)](new CloseEvent(_0x3946f8(0x364))),_0x1879eb[_0x3946f8(0x449)]();};return _0x1879eb={'memberID':'','close$':_0xc2401c[_0x8040c0(0x3fa)](),'error$':_0x4a7f85[_0x8040c0(0x3fa)](),'open$':_0x56d565['open$'],'message$':_0x5c038e[_0x8040c0(0x3fa)](),'send':_0x20f130=>{var _0x3940c1=_0x8040c0;if(_0x20f130['cmd']===F['INGEST']){if(_0x20f130['data'][_0x3940c1(0x35c)]===_0x2f82c9[_0x3940c1(0x44b)]){this[_0x3940c1(0x1b6)](_0x1879eb,_0x20f130[_0x3940c1(0x221)])[_0x3940c1(0x496)](_0x565b97=>{var _0x483d9c=_0x3940c1;this[_0x483d9c(0x28c)]['error'](_0x565b97),_0x3049aa();});return;}if(_0x20f130[_0x3940c1(0x221)][_0x3940c1(0x35c)]===_0x2f82c9[_0x3940c1(0x1cc)]){const _0x19425a=_0x20f130[_0x3940c1(0x221)];this[_0x3940c1(0x457)](_0x19425a)['then'](_0x40d1fb=>{var _0x17a9a9=_0x3940c1;_0x5c038e['next']({'cmd':F[_0x17a9a9(0x309)],'code':Ee['OK'],'routeKey':_0x19425a[_0x17a9a9(0x221)][_0x17a9a9(0x28d)],'routeType':'','data':{'eventID':_0x2f82c9[_0x17a9a9(0x1a3)],'data':{'changesets':_0x40d1fb}}});})[_0x3940c1(0x496)](_0x36940d=>{var _0x3f2a70=_0x3940c1;this[_0x3f2a70(0x28c)][_0x3f2a70(0x3b6)](_0x36940d),_0x3049aa();});return;}}_0x56d565['send'](zn(_0x20f130));},'close':()=>{_0x56d565['close'](),_0x149ac5['dispose']();}},_0x1879eb;}async[_0x3e9f07(0x1b6)](_0x3f53f2,_0x537a4d){var _0x46d50b=_0x3e9f07,_0x38e9f5,_0x1b6418;const {unitType:_0x367fcc,unitID:_0x46d1cc,changeset:_0x3abe7b}=_0x537a4d['data'],_0xe92224={'unitID':_0x46d1cc,'memberID':_0x3f53f2[_0x46d50b(0x2e1)],'type':_0x367fcc,'changeset':_0x2d942f(_0x3abe7b)},_0x3f0292=this[_0x46d50b(0x31f)][_0x46d50b(0x1d9)](jn),_0x2ce6c2=this[_0x46d50b(0x31f)][_0x46d50b(0x1d9)](Y),_0x22c13b=Xn((_0x1b6418=(_0x38e9f5=_0x2ce6c2==null?void 0x0:_0x2ce6c2[_0x46d50b(0x36f)])!=null?_0x38e9f5:_0x3f0292)!=null?_0x1b6418:Bn,_0x367fcc,_0x46d1cc);try{await this[_0x46d50b(0x3ea)]['post'](_0x22c13b,{'body':_0xe92224});}catch(_0x4b6058){throw this[_0x46d50b(0x28c)][_0x46d50b(0x3b6)](_0x46d50b(0x3b7),_0x46d50b(0x411)),_0x4b6058;}}async[_0x3e9f07(0x457)](_0x39042d){var _0x14700b=_0x3e9f07;const {unitID:_0xc187ed,from:_0x38003e,to:_0x196190,unitType:_0x297ea2}=_0x39042d[_0x14700b(0x221)];return(await this['_snapshotServerService'][_0x14700b(0x229)]({'metadata':void 0x0},{'unitID':_0xc187ed,'type':_0x297ea2,'from':_0x38003e,'to':_0x196190}))['changesets'];}};It=Jn([Ue(0x0,_0x1e11c8(_0x202b1e)),Ue(0x1,_0x1e11c8(_0x26621f)),Ue(0x2,_0x155bcb),Ue(0x3,_0x290771),Ue(0x4,_0x4152e1)],It);const Zn='collaboration_new_changeset';function Qn(_0x577ef6){var _0x5245b1=_0x3e9f07;return JSON[_0x5245b1(0x22e)](_0x577ef6)[_0x5245b1(0x46c)];}class Ri{constructor(){var _0x51a633=_0x3e9f07;N(this,_0x51a633(0x22f),new _0x459b05()),N(this,_0x51a633(0x2db),this[_0x51a633(0x22f)][_0x51a633(0x3fa)]());}[_0x3e9f07(0x3c3)](_0x449975){var _0x5944f2=_0x3e9f07;this[_0x5944f2(0x22f)][_0x5944f2(0x384)](_0x449975);}}var es=Object[_0x3e9f07(0x386)],ts=Object[_0x3e9f07(0x34f)],is=(_0x250c03,_0x1eeef8,_0x34a3d7,_0x2f8c90)=>{var _0x5ab104=_0x3e9f07;for(var _0x4c66df=_0x2f8c90>0x1?void 0x0:_0x2f8c90?ts(_0x1eeef8,_0x34a3d7):_0x1eeef8,_0x347624=_0x250c03[_0x5ab104(0x46c)]-0x1,_0x1ac8fd;_0x347624>=0x0;_0x347624--)(_0x1ac8fd=_0x250c03[_0x347624])&&(_0x4c66df=(_0x2f8c90?_0x1ac8fd(_0x1eeef8,_0x34a3d7,_0x4c66df):_0x1ac8fd(_0x4c66df))||_0x4c66df);return _0x2f8c90&&_0x4c66df&&es(_0x1eeef8,_0x34a3d7,_0x4c66df),_0x4c66df;},zt=(_0x20fc05,_0x4c888d)=>(_0x3d7aa7,_0x18768e)=>_0x4c888d(_0x3d7aa7,_0x18768e,_0x20fc05);let xe=class extends _0x2f099f{constructor(_0x3900db,_0x26cd6c){var _0x599505=_0x3e9f07;super(),N(this,'_roomMembers',new Map()),N(this,_0x599505(0x232),new _0x459b05()),(this[_0x599505(0x33c)]=_0x3900db,this[_0x599505(0x2c0)]=_0x26cd6c,this['disposeWithMe'](_0x35784b(this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x2fe)])['pipe'](_0x5c84b6(_0x324527=>_0x324527[_0x599505(0x351)]())),this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x36e)])[_0x599505(0x3c9)](_0x5c84b6(_0x3c1a43=>_0x3c1a43[_0x599505(0x351)]())),this[_0x599505(0x33c)][_0x599505(0x39c)](_0x2188e5[_0x599505(0x39a)])[_0x599505(0x3c9)](_0x5c84b6(_0x8377d7=>_0x8377d7[_0x599505(0x351)]())))[_0x599505(0x2e5)](_0x25d55f=>this[_0x599505(0x412)](_0x25d55f))));}[_0x3e9f07(0x235)](_0x1b70fa){var _0x13e0c4=_0x3e9f07;return this['_roomMembers'][_0x13e0c4(0x393)](_0x1b70fa)?_0x1d4dee(this[_0x13e0c4(0x3d2)]['get'](_0x1b70fa)):this['_roomCreated$'][_0x13e0c4(0x3c9)](_0x5c84b6(_0x517b47=>{var _0xaf32ca=_0x13e0c4;if(_0x517b47===_0x1b70fa)return this[_0xaf32ca(0x3d2)][_0xaf32ca(0x220)](_0x517b47);}));}['setCurrentUser'](_0x5e99ee){var _0x35838c=_0x3e9f07;this[_0x35838c(0x2c0)][_0x35838c(0x35d)](_0x5e99ee);}[_0x3e9f07(0x1aa)](){var _0x247065=_0x3e9f07;return this['_userManagerService'][_0x247065(0x1aa)]();}[_0x3e9f07(0x1a5)](_0xee9d95,_0x1e88bf){var _0x2a30b4=_0x3e9f07;let _0x1fe44b=this[_0x2a30b4(0x3d2)][_0x2a30b4(0x220)](_0xee9d95);_0x1fe44b||(_0x1fe44b=new ns(),this['_roomMembers'][_0x2a30b4(0x442)](_0xee9d95,_0x1fe44b),this[_0x2a30b4(0x232)][_0x2a30b4(0x384)](_0xee9d95)),_0x1fe44b['updateMember'](_0x1e88bf);}[_0x3e9f07(0x2a1)](_0x4a7367,_0x12d4d8){var _0x268035=_0x3e9f07;const _0x1c4b30=this[_0x268035(0x3d2)][_0x268035(0x220)](_0x4a7367);_0x1c4b30&&_0x1c4b30[_0x268035(0x2a1)](_0x12d4d8);}['getRoom'](_0xbe9573){var _0x1e540f=_0x3e9f07;return this[_0x1e540f(0x3d2)][_0x1e540f(0x220)](_0xbe9573);}['getMember'](_0x3f4e4c,_0x374d6a){var _0x31fbe2=_0x3e9f07;const _0x335bec=this[_0x31fbe2(0x3d2)]['get'](_0x3f4e4c);if(_0x335bec)return _0x335bec[_0x31fbe2(0x3e3)](_0x374d6a);}[_0x3e9f07(0x412)](_0x1b085f){var _0x5f1cc0=_0x3e9f07;const _0x5649e0=this[_0x5f1cc0(0x3d2)][_0x5f1cc0(0x220)](_0x1b085f);_0x5649e0&&(_0x5649e0[_0x5f1cc0(0x24d)](),this[_0x5f1cc0(0x3d2)][_0x5f1cc0(0x45c)](_0x1b085f));}[_0x3e9f07(0x24d)](){var _0x2955fb=_0x3e9f07;this[_0x2955fb(0x3d2)][_0x2955fb(0x338)](_0x4aac0f=>_0x4aac0f[_0x2955fb(0x24d)]()),this[_0x2955fb(0x3d2)]['clear'](),this['_roomCreated$'][_0x2955fb(0x376)]();}};xe=is([zt(0x0,_0x2bea00),zt(0x1,_0x1e11c8(_0x1271bf))],xe);class ns extends _0x2f099f{constructor(){var _0xa5f82e=_0x3e9f07;super(...arguments),N(this,_0xa5f82e(0x2bb),new Map()),N(this,_0xa5f82e(0x353),new _0x251b5f(this[_0xa5f82e(0x2bb)])),N(this,_0xa5f82e(0x3bf),this[_0xa5f82e(0x353)]['asObservable']());}['dispose'](){var _0x384a48=_0x3e9f07;this[_0x384a48(0x2bb)][_0x384a48(0x450)]();}[_0x3e9f07(0x1a5)](_0x538778){var _0x52be6e=_0x3e9f07;this[_0x52be6e(0x2bb)][_0x52be6e(0x442)](_0x538778[_0x52be6e(0x2e1)],_0x538778),this[_0x52be6e(0x213)]();}[_0x3e9f07(0x2a1)](_0x494a3e){var _0x42b7f6=_0x3e9f07;this['_members'][_0x42b7f6(0x45c)](_0x494a3e);}[_0x3e9f07(0x3e3)](_0x297346){var _0x5e3ba4=_0x3e9f07;return this[_0x5e3ba4(0x2bb)]['get'](_0x297346);}[_0x3e9f07(0x23e)](){var _0x516af7=_0x3e9f07;return Array[_0x516af7(0x468)](this['_members']['values']());}[_0x3e9f07(0x213)](){var _0x534b31=_0x3e9f07;this[_0x534b31(0x353)][_0x534b31(0x384)](this[_0x534b31(0x2bb)]);}}var ss=Object[_0x3e9f07(0x386)],rs=Object[_0x3e9f07(0x34f)],os=(_0x3fbf17,_0x4874ee,_0x1674a9,_0x338ef2)=>{for(var _0xedd837=_0x338ef2>0x1?void 0x0:_0x338ef2?rs(_0x4874ee,_0x1674a9):_0x4874ee,_0x3f778b=_0x3fbf17['length']-0x1,_0xf47e1d;_0x3f778b>=0x0;_0x3f778b--)(_0xf47e1d=_0x3fbf17[_0x3f778b])&&(_0xedd837=(_0x338ef2?_0xf47e1d(_0x4874ee,_0x1674a9,_0xedd837):_0xf47e1d(_0xedd837))||_0xedd837);return _0x338ef2&&_0xedd837&&ss(_0x4874ee,_0x1674a9,_0xedd837),_0xedd837;},me=(_0xf14a2c,_0x2f68c9)=>(_0x19e1f5,_0x1734e4)=>_0x2f68c9(_0x19e1f5,_0x1734e4,_0xf14a2c),Te=(_0x2347a9=>(_0x2347a9[_0x2347a9[_0x3e9f07(0x329)]=0x0]=_0x3e9f07(0x329),_0x2347a9[_0x2347a9[_0x3e9f07(0x31e)]=0x1]=_0x3e9f07(0x31e),_0x2347a9[_0x2347a9[_0x3e9f07(0x297)]=0x2]=_0x3e9f07(0x297),_0x2347a9[_0x2347a9['ONLINE']=0x3]=_0x3e9f07(0x1c9),_0x2347a9))(Te||{});const Yt={[Ee[_0x3e9f07(0x43d)]]:_0x3e9f07(0x26a),[Ee[_0x3e9f07(0x239)]]:'session.room-full',[Ee[_0x3e9f07(0x2ef)]]:_0x3e9f07(0x392),[Ee[_0x3e9f07(0x254)]]:_0x3e9f07(0x275),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3e9f07(0x47f)};let Tt=class extends _0x37e680{constructor(_0x52224c,_0x2fe6e2,_0x37d236,_0x2dae6b,_0x55ed15,_0x36af8d,_0x4ca4c6,_0x12167b,_0x222a6c){var _0x135f3f=_0x3e9f07;super(),N(this,_0x135f3f(0x1bc),new _0x251b5f(0x0)),N(this,_0x135f3f(0x46a),this[_0x135f3f(0x1bc)][_0x135f3f(0x3fa)]()),N(this,_0x135f3f(0x352),new _0x459b05()),N(this,_0x135f3f(0x240),this[_0x135f3f(0x352)][_0x135f3f(0x3fa)]()),N(this,'_socket'),N(this,_0x135f3f(0x2ed)),N(this,_0x135f3f(0x481)),N(this,_0x135f3f(0x1d4),!0x1),N(this,_0x135f3f(0x25a),null),(this[_0x135f3f(0x424)]=_0x52224c,this[_0x135f3f(0x28c)]=_0x37d236,this[_0x135f3f(0x31f)]=_0x2dae6b,this[_0x135f3f(0x350)]=_0x55ed15,this[_0x135f3f(0x3b8)]=_0x36af8d,this[_0x135f3f(0x28b)]=_0x4ca4c6,this[_0x135f3f(0x303)]=_0x12167b,this[_0x135f3f(0x333)]=_0x222a6c,this[_0x135f3f(0x1d4)]=!!this[_0x135f3f(0x333)],_0x2fe6e2[_0x135f3f(0x3c9)](_0x103f03(this[_0x135f3f(0x2be)]))[_0x135f3f(0x2e5)](_0x1c23c9=>{var _0x5b91ce=_0x135f3f,_0xa133ff;typeof _0x1c23c9>'u'||(this[_0x5b91ce(0x1e0)]=_0x1c23c9,_0x1c23c9?(this[_0x5b91ce(0x3ca)](_0x1c23c9),this[_0x5b91ce(0x2ed)]=_0x1c23c9[_0x5b91ce(0x3f6)][_0x5b91ce(0x2e5)](_0x4adac3=>{var _0x20beb1=_0x5b91ce;_0x4adac3[_0x20beb1(0x208)]===this['_unitID']&&this[_0x20beb1(0x3e8)](_0x4adac3);})):(this[_0x5b91ce(0x42f)](),this['_sessionStatus$'][_0x5b91ce(0x384)](0x2),(_0xa133ff=this['_socketMessageSubscription'])==null||_0xa133ff[_0x5b91ce(0x37c)](),this['_socketMessageSubscription']=null));}));}get[_0x3e9f07(0x3f0)](){var _0x40e558=_0x3e9f07;return this[_0x40e558(0x1bc)][_0x40e558(0x415)]();}['getMemberID'](){var _0x1faabb=_0x3e9f07,_0x4348e9,_0x61e8db;return(_0x61e8db=(_0x4348e9=this[_0x1faabb(0x1e0)])==null?void 0x0:_0x4348e9[_0x1faabb(0x2e1)])!=null?_0x61e8db:null;}[_0x3e9f07(0x24d)](){var _0x4ee2e0=_0x3e9f07;super[_0x4ee2e0(0x24d)](),this['dispose$']['next'](),this[_0x4ee2e0(0x2be)][_0x4ee2e0(0x376)]();}[_0x3e9f07(0x449)](){var _0x56b989=_0x3e9f07,_0x2f68f2,_0x310a6d;this[_0x56b989(0x42f)](),(_0x2f68f2=this['_socket'])==null||_0x2f68f2['send']({'cmd':F[_0x56b989(0x440)],'data':{'roomID':this['_unitID']}}),(_0x310a6d=this[_0x56b989(0x1e0)])==null||_0x310a6d[_0x56b989(0x449)](),this[_0x56b989(0x352)][_0x56b989(0x376)](),this[_0x56b989(0x1bc)][_0x56b989(0x376)](),this[_0x56b989(0x24d)]();}[_0x3e9f07(0x3e8)](_0x336cef){var _0x51ea63=_0x3e9f07;_0x336cef[_0x51ea63(0x3b0)]===F[_0x51ea63(0x2b2)]?this[_0x51ea63(0x413)](_0x336cef):_0x336cef[_0x51ea63(0x3b0)]===F['RECV']&&this[_0x51ea63(0x370)](_0x336cef);}['_joinRoom'](_0x5048ba){var _0x41a721=_0x3e9f07;this[_0x41a721(0x1bc)][_0x41a721(0x384)](0x1),_0x5048ba[_0x41a721(0x485)]({'cmd':F[_0x41a721(0x2b2)],'routeKey':this[_0x41a721(0x424)],'routeType':'','data':{'rooms':[{'roomID':this[_0x41a721(0x424)]}]}});}['_onJoinRoomEvent'](_0x1f5cd0){var _0x5f56aa=_0x3e9f07,_0x335990;if(_0x1f5cd0['code']in Yt){this[_0x5f56aa(0x303)][_0x5f56aa(0x29e)]({'id':re[_0x5f56aa(0x2d1)],'data':Yt[_0x1f5cd0[_0x5f56aa(0x399)]]}),this['_sessionStatus$']['next'](0x2);return;}this['_sessionStatus$'][_0x5f56aa(0x384)](0x3);const _0x31d137=(_0x335990=_0x1f5cd0['data']['roomInfos'][this[_0x5f56aa(0x424)]])==null?void 0x0:_0x335990[_0x5f56aa(0x3de)];_0x31d137&&_0x31d137[_0x5f56aa(0x338)](_0x278243=>this[_0x5f56aa(0x3b8)][_0x5f56aa(0x1a5)](this[_0x5f56aa(0x424)],_0x278243));}[_0x3e9f07(0x370)](_0x5a8402){var _0x14e28c=_0x3e9f07;try{const _0x6dc0c3=_0x5a8402[_0x14e28c(0x221)];switch(_0x6dc0c3['eventID']){case _0x2f82c9[_0x14e28c(0x1d2)]:this[_0x14e28c(0x3ee)](_0x6dc0c3),this['_event$'][_0x14e28c(0x384)](_0x6dc0c3);break;case _0x2f82c9['USERS_LEAVE']:this[_0x14e28c(0x40a)](_0x6dc0c3),this[_0x14e28c(0x352)][_0x14e28c(0x384)](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x36b)]:case _0x2f82c9[_0x14e28c(0x1cf)]:this[_0x14e28c(0x343)](),this['_clearCollaborationTimeoutTimer'](),this[_0x14e28c(0x352)]['next'](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x375)]:this[_0x14e28c(0x28c)]['error'](_0x14e28c(0x31a)+JSON[_0x14e28c(0x22e)](_0x6dc0c3)),this[_0x14e28c(0x352)]['next'](_0x6dc0c3);break;case _0x2f82c9[_0x14e28c(0x2c9)]:this[_0x14e28c(0x28b)][_0x14e28c(0x3c3)](_0x6dc0c3[_0x14e28c(0x221)]),this['_event$'][_0x14e28c(0x384)](_0x6dc0c3);break;default:this[_0x14e28c(0x352)][_0x14e28c(0x384)](_0x6dc0c3);}}catch(_0x3b8998){this[_0x14e28c(0x28c)][_0x14e28c(0x3b6)](_0x3b8998,_0x5a8402);}}[_0x3e9f07(0x3ee)](_0xefc4e4){var _0x24c82d=_0x3e9f07;this[_0x24c82d(0x3b8)][_0x24c82d(0x1a5)](this[_0x24c82d(0x424)],_0xefc4e4[_0x24c82d(0x221)]);}['_onUserLeave'](_0x3f9e75){var _0x47a700=_0x3e9f07;this[_0x47a700(0x3b8)][_0x47a700(0x2a1)](this[_0x47a700(0x424)],_0x3f9e75['data']['memberID']);}async['send'](_0x5d2e5c,_0x286255){var _0x2c0fcd=_0x3e9f07;if(this[_0x2c0fcd(0x3f0)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5d2e5c['eventID']===_0x2f82c9['SUBMIT_CHANGESET']&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x2c0fcd(0x2dc)](_0x5d2e5c)),this['_socket'][_0x2c0fcd(0x485)]({'cmd':F[_0x2c0fcd(0x4a5)],'routeKey':_0x286255,'routeType':'','data':_0x5d2e5c});}catch(_0xc2a6e0){this['_logService'][_0x2c0fcd(0x3b6)](_0xc2a6e0);}}[_0x3e9f07(0x47b)](){var _0x372b56=_0x3e9f07,_0x31ec05;this[_0x372b56(0x481)]=setTimeout(()=>{var _0x4aa5e4=_0x372b56;this[_0x4aa5e4(0x481)]=null,this['_collaborationUIEventService']['emitEvent']({'id':re[_0x4aa5e4(0x216)]});},(_0x31ec05=this[_0x372b56(0x31f)][_0x372b56(0x1d9)](Ei))!=null?_0x31ec05:Ii);}[_0x3e9f07(0x32c)](){var _0x2d8bb3=_0x3e9f07;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x2d8bb3(0x481)]),this[_0x2d8bb3(0x481)]=null);}[_0x3e9f07(0x2dc)](_0x114a99){var _0x2559af=_0x3e9f07;if(!this[_0x2559af(0x1d4)])return;const {data:_0x5475f6}=_0x114a99,{unitID:_0x4d4944,changeset:_0x2a659c}=_0x5475f6,{mutations:_0x1dd1ad,type:_0x18a08b}=_0x2a659c;this[_0x2559af(0x25a)]={'unitId':_0x4d4944,'type':_0x18a08b,'startTime':performance[_0x2559af(0x21d)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x1dd1ad)};}[_0x3e9f07(0x343)](){var _0x467fbe=_0x3e9f07;if(this[_0x467fbe(0x1d4)]){if(!this[_0x467fbe(0x25a)]){this[_0x467fbe(0x28c)][_0x467fbe(0x3b6)](_0x467fbe(0x3b7),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x467fbe(0x25a)]['stopTime']=performance[_0x467fbe(0x21d)](),this[_0x467fbe(0x25a)][_0x467fbe(0x320)]=this[_0x467fbe(0x25a)][_0x467fbe(0x2fb)]-this[_0x467fbe(0x25a)][_0x467fbe(0x1b1)],this[_0x467fbe(0x333)][_0x467fbe(0x31b)](Zn,this[_0x467fbe(0x25a)]),this[_0x467fbe(0x25a)]=null;}}[_0x3e9f07(0x42f)](){var _0x108732=_0x3e9f07;this[_0x108732(0x25a)]=null;}};Tt=os([me(0x2,_0x290771),me(0x3,_0x155bcb),me(0x4,_0x1e11c8(_0xeb3187)),me(0x5,_0x1e11c8(xe)),me(0x6,_0x1e11c8(Ri)),me(0x7,_0x1e11c8(pe)),me(0x8,_0x5a8d4f(_0x1d5b0b))],Tt);var as=Object[_0x3e9f07(0x386)],cs=Object[_0x3e9f07(0x34f)],hs=(_0x3f2434,_0x360851,_0x146f3a,_0x11c820)=>{var _0xaf5dd5=_0x3e9f07;for(var _0x54f293=_0x11c820>0x1?void 0x0:_0x11c820?cs(_0x360851,_0x146f3a):_0x360851,_0x3f3414=_0x3f2434[_0xaf5dd5(0x46c)]-0x1,_0x2aab6d;_0x3f3414>=0x0;_0x3f3414--)(_0x2aab6d=_0x3f2434[_0x3f3414])&&(_0x54f293=(_0x11c820?_0x2aab6d(_0x360851,_0x146f3a,_0x54f293):_0x2aab6d(_0x54f293))||_0x54f293);return _0x11c820&&_0x54f293&&as(_0x360851,_0x146f3a,_0x54f293),_0x54f293;},ge=(_0x23109f,_0x5b9419)=>(_0x2c1885,_0x70613d)=>_0x5b9419(_0x2c1885,_0x70613d,_0x23109f);let Le=class extends _0x2f099f{constructor(_0x34359c,_0x5a13a8,_0x21488b,_0x359c62,_0x3042ea,_0x4ab749,_0x152827){var _0x399542=_0x3e9f07;super(),N(this,'_socket$',new _0x251b5f(void 0x0)),N(this,'socket$',this[_0x399542(0x380)][_0x399542(0x3fa)]()),N(this,_0x399542(0x2a2),null),N(this,_0x399542(0x1ba),new Map()),N(this,_0x399542(0x2f9),new _0x251b5f(Te['IDLE'])),N(this,_0x399542(0x2fa),this[_0x399542(0x2f9)][_0x399542(0x3fa)]()),N(this,'_socketReady',!0x1),N(this,_0x399542(0x42a)),N(this,_0x399542(0x22a),0x0),N(this,_0x399542(0x38d)),N(this,_0x399542(0x2d3)),(this[_0x399542(0x484)]=_0x34359c,this[_0x399542(0x28c)]=_0x5a13a8,this[_0x399542(0x31f)]=_0x21488b,this[_0x399542(0x3ae)]=_0x359c62,this[_0x399542(0x238)]=_0x3042ea,this['_collaborationUIEventService']=_0x4ab749,this[_0x399542(0x1b5)]=_0x152827,this[_0x399542(0x480)]());}get[_0x3e9f07(0x1e0)](){var _0x1cf20b=_0x3e9f07;return this[_0x1cf20b(0x380)][_0x1cf20b(0x415)]();}[_0x3e9f07(0x480)](){var _0x2cdf28=_0x3e9f07;this[_0x2cdf28(0x1b5)]&&this[_0x2cdf28(0x1be)](this['_networkConditionService'][_0x2cdf28(0x1f1)]['subscribe'](_0x22a8bf=>{var _0x144643=_0x2cdf28;_0x22a8bf&&!this['_socket']&&this[_0x144643(0x482)](),_0x22a8bf||this[_0x144643(0x3e6)]();}));}['dispose'](){var _0x24eb76=_0x3e9f07;super[_0x24eb76(0x24d)](),this[_0x24eb76(0x1ba)][_0x24eb76(0x338)](_0x36b656=>_0x36b656[_0x24eb76(0x24d)]()),this[_0x24eb76(0x1ba)][_0x24eb76(0x450)](),this['_status$']['complete']();}async['requireSession'](_0x452301){var _0x26217e=_0x3e9f07;if(this[_0x26217e(0x1ba)][_0x26217e(0x393)](_0x452301))return this[_0x26217e(0x1ba)][_0x26217e(0x220)](_0x452301);this['_tryEnsureSocket']();const _0x1d842c=this['_injector']['createInstance'](Tt,_0x452301,this[_0x26217e(0x380)][_0x26217e(0x3fa)]());return this[_0x26217e(0x1ba)][_0x26217e(0x442)](_0x452301,_0x1d842c),_0x1d842c;}['closeSession'](_0x1e73d9){var _0x9d3118=_0x3e9f07,_0x21df97;const _0x59b12f=this['_sessions'][_0x9d3118(0x220)](_0x1e73d9);_0x59b12f&&(this[_0x9d3118(0x1ba)][_0x9d3118(0x45c)](_0x1e73d9),_0x59b12f[_0x9d3118(0x449)]()),this['_sessions']['size']||(_0x21df97=this[_0x9d3118(0x1e0)])==null||_0x21df97[_0x9d3118(0x449)]();}[_0x3e9f07(0x482)](){var _0x2d27e0=_0x3e9f07;this[_0x2d27e0(0x22a)]=0x0,this[_0x2d27e0(0x42a)]!=null&&(clearTimeout(this[_0x2d27e0(0x42a)]),this['_retryConnectingTimer']=null),this[_0x2d27e0(0x19f)]();}async[_0x3e9f07(0x46b)](){var _0x45e968=_0x3e9f07,_0x20725e,_0x59e369,_0x207640;const _0x45ee2e=this[_0x45e968(0x31f)]['getConfig'](Y),_0x5c58ce=(_0x20725e=_0x45ee2e==null?void 0x0:_0x45ee2e[_0x45e968(0x1f7)])!=null?_0x20725e:xn;return(_0x207640=(_0x59e369=(await this[_0x45e968(0x238)]['get'](_0x5c58ce,{'headers':{'Content-Type':_0x45e968(0x237)}}))[_0x45e968(0x310)])==null?void 0x0:_0x59e369[_0x45e968(0x251)])!=null?_0x207640:'';}[_0x3e9f07(0x3fb)](_0x59953d){var _0x52baad=_0x3e9f07,_0x2a680f,_0x1394c5;const _0x288539=this[_0x52baad(0x31f)]['getConfig'](Un),_0x268de7=this[_0x52baad(0x31f)]['getConfig'](Y),_0x15d629=(_0x1394c5=(_0x2a680f=_0x268de7==null?void 0x0:_0x268de7['collabWebSocketUrl'])!=null?_0x2a680f:_0x288539)!=null?_0x1394c5:An,_0x34bb47=typeof window>'u'?new URL(_0x15d629):new URL(_0x15d629,window[_0x52baad(0x27c)][_0x52baad(0x21b)]);_0x34bb47['searchParams'][_0x52baad(0x442)](_0x52baad(0x2c6),_0x59953d);const _0x8ab7ef=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x52baad(0x27c)][_0x52baad(0x337)]);return _0x8ab7ef[_0x52baad(0x220)](_0x52baad(0x2d7))&&_0x34bb47[_0x52baad(0x215)][_0x52baad(0x442)](_0x52baad(0x2d7),_0x8ab7ef[_0x52baad(0x220)]('runId')),_0x34bb47[_0x52baad(0x35e)]();}async['_createSocket'](){var _0xa4e8ce=_0x3e9f07;const _0x35b528=await this[_0xa4e8ce(0x46b)](),_0x15d693=this[_0xa4e8ce(0x3fb)](_0x35b528),_0xa2b5e7=this['_socketService'][_0xa4e8ce(0x206)](_0x15d693);return this[_0xa4e8ce(0x2a2)]=_0xa2b5e7,_0xa2b5e7;}async[_0x3e9f07(0x3cc)](){var _0x5b972b=_0x3e9f07,_0x5294d8,_0x5e0337;try{const _0xec6125=(_0x5e0337=(_0x5294d8=this['_socket'])!=null?_0x5294d8:this[_0x5b972b(0x2a2)])!=null?_0x5e0337:await this['_createSocket']();if(_0xec6125){const _0x5431aa=_0xec6125['send'];_0xec6125['send']=_0x3de84a=>(this['_rescheduleHeartbeat'](),_0x5431aa[_0x5b972b(0x3d3)](_0xec6125,[_0x3de84a])),_0xec6125[_0x5b972b(0x3f6)]['subscribe'](_0xf7c3e1=>this[_0x5b972b(0x253)](_0xec6125,_0xf7c3e1)),_0xec6125[_0x5b972b(0x491)][_0x5b972b(0x3c9)](_0x1af064(0x1))[_0x5b972b(0x2e5)](_0x162efa=>this[_0x5b972b(0x28c)][_0x5b972b(0x3b6)](_0x5b972b(0x314),_0x162efa)),_0xec6125[_0x5b972b(0x475)]['pipe'](_0x1af064(0x1))['subscribe'](()=>{var _0x32edbd=_0x5b972b;this[_0x32edbd(0x487)](_0xec6125);}),_0xec6125[_0x5b972b(0x2b5)]['pipe'](_0x1af064(0x1))[_0x5b972b(0x2e5)](_0x26edd4=>{var _0x1acbdd=_0x5b972b;this[_0x1acbdd(0x28c)]['debug'](_0x1acbdd(0x2b3),_0x1acbdd(0x367),_0x26edd4),this[_0x1acbdd(0x1b7)]();});}}catch(_0x5c58f9){this[_0x5b972b(0x28c)][_0x5b972b(0x3b6)](_0x5c58f9),this[_0x5b972b(0x1b7)]();}}[_0x3e9f07(0x487)](_0x48d03f){var _0x2d80b8=_0x3e9f07;this['_logService'][_0x2d80b8(0x3cf)](_0x2d80b8(0x2b3),'socket\x20open.'),_0x48d03f[_0x2d80b8(0x485)]({'cmd':F['HELLO']}),this['_rescheduleHeartbeat']();}[_0x3e9f07(0x3e6)](){var _0x2f86d5=_0x3e9f07;this[_0x2f86d5(0x20f)]=!0x1,this[_0x2f86d5(0x2a2)]=null,this[_0x2f86d5(0x2f9)][_0x2f86d5(0x384)](Te[_0x2f86d5(0x297)]),this['_socket$'][_0x2f86d5(0x384)](null),this['_clearTimeoutTimer'](),this[_0x2f86d5(0x355)]();}[_0x3e9f07(0x1b7)](){var _0xb8933f=_0x3e9f07,_0x183868;this[_0xb8933f(0x3e6)](),this[_0xb8933f(0x22a)]<((_0x183868=this[_0xb8933f(0x31f)][_0xb8933f(0x1d9)](Hn))!=null?_0x183868:kn)?(this['_collaborationUIEventService']['emitEvent']({'id':re[_0xb8933f(0x498)]}),this['_tryReconnect']()):this['_collaborationUIEventService']['emitEvent']({'id':re[_0xb8933f(0x30f)]});}['_tryReconnect'](){var _0xd35f39=_0x3e9f07,_0x14160b;const _0x557241=this[_0xd35f39(0x22a)],_0x35bdd0=this[_0xd35f39(0x31f)][_0xd35f39(0x1d9)](Y),_0x4a60b9=_0x557241===0x0?0x0:((_0x14160b=_0x35bdd0==null?void 0x0:_0x35bdd0[_0xd35f39(0x448)])!=null?_0x14160b:$n)*0x2**_0x557241;this[_0xd35f39(0x42a)]=setTimeout(()=>{var _0x2390a5=_0xd35f39;clearTimeout(this[_0x2390a5(0x42a)]),this['_retryConnectingTimer']=null,this[_0x2390a5(0x3cc)]();},_0x4a60b9),this[_0xd35f39(0x22a)]+=0x1;}['_onMessage'](_0x36c91c,_0x4325c4){var _0x4840f5=_0x3e9f07;const {cmd:_0x218d4a}=_0x4325c4;_0x218d4a===F[_0x4840f5(0x231)]&&!this['_socketReady']&&(_0x36c91c[_0x4840f5(0x2e1)]=_0x4325c4['data']['memberID'],this['_socket$'][_0x4840f5(0x384)](_0x36c91c),this['_status$'][_0x4840f5(0x384)](Te[_0x4840f5(0x1c9)]),this['_socketReady']=!0x0,this[_0x4840f5(0x2a2)]=null),_0x218d4a===F[_0x4840f5(0x2d4)]&&this[_0x4840f5(0x2a3)](),this['_rescheduleHeartbeat']();}[_0x3e9f07(0x20b)](){var _0x35ec06=_0x3e9f07,_0x4a0e60;this[_0x35ec06(0x355)](),this[_0x35ec06(0x38d)]=setTimeout(()=>this[_0x35ec06(0x2c7)](),(_0x4a0e60=this[_0x35ec06(0x31f)]['getConfig'](Ln))!=null?_0x4a0e60:Mn);}[_0x3e9f07(0x2c7)](){var _0x8ae131=_0x3e9f07;this['_socket'][_0x8ae131(0x485)]({'cmd':F[_0x8ae131(0x2d4)]}),this[_0x8ae131(0x40e)]();}['_waitForHeartbeatResponse'](){var _0x1bcc7c=_0x3e9f07,_0x2de629;this[_0x1bcc7c(0x2d3)]=setTimeout(()=>this[_0x1bcc7c(0x1b7)](),(_0x2de629=this['_configService'][_0x1bcc7c(0x1d9)](Ei))!=null?_0x2de629:Ii);}[_0x3e9f07(0x355)](){var _0x1fb035=_0x3e9f07;this[_0x1fb035(0x38d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1fb035(0x38d)]=null);}[_0x3e9f07(0x2a3)](){var _0x4b65ff=_0x3e9f07;this[_0x4b65ff(0x2d3)]!=null&&(clearTimeout(this[_0x4b65ff(0x2d3)]),this[_0x4b65ff(0x2d3)]=null);}};Le=hs([ge(0x0,_0x1e11c8(_0x202b1e)),ge(0x1,_0x290771),ge(0x2,_0x155bcb),ge(0x3,bi),ge(0x4,_0x1e11c8(_0x26621f)),ge(0x5,_0x1e11c8(pe)),ge(0x6,_0x5a8d4f(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x3e9f07(0x40c)]((n+0x100)[_0x3e9f07(0x35e)](0x10)[_0x3e9f07(0x1f8)](0x1));function _s(_0xb1a368,_0x3d4283=0x0){var _0x2f51ed=_0x3e9f07;return(V[_0xb1a368[_0x3d4283+0x0]]+V[_0xb1a368[_0x3d4283+0x1]]+V[_0xb1a368[_0x3d4283+0x2]]+V[_0xb1a368[_0x3d4283+0x3]]+'-'+V[_0xb1a368[_0x3d4283+0x4]]+V[_0xb1a368[_0x3d4283+0x5]]+'-'+V[_0xb1a368[_0x3d4283+0x6]]+V[_0xb1a368[_0x3d4283+0x7]]+'-'+V[_0xb1a368[_0x3d4283+0x8]]+V[_0xb1a368[_0x3d4283+0x9]]+'-'+V[_0xb1a368[_0x3d4283+0xa]]+V[_0xb1a368[_0x3d4283+0xb]]+V[_0xb1a368[_0x3d4283+0xc]]+V[_0xb1a368[_0x3d4283+0xd]]+V[_0xb1a368[_0x3d4283+0xe]]+V[_0xb1a368[_0x3d4283+0xf]])[_0x2f51ed(0x321)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x5c1cb4=_0x3e9f07;if(!dt){if(typeof crypto>'u'||!crypto[_0x5c1cb4(0x294)])throw new Error(_0x5c1cb4(0x401));dt=crypto[_0x5c1cb4(0x294)][_0x5c1cb4(0x3ba)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x3e9f07(0x2c2)]&&crypto[_0x3e9f07(0x2c2)][_0x3e9f07(0x3ba)](crypto),qt={'randomUUID':ds};function fs(_0x343e66,_0x45829f,_0xfd9ea4){var _0x301b4a=_0x3e9f07;if(qt[_0x301b4a(0x2c2)]&&!_0x45829f&&!_0x343e66)return qt[_0x301b4a(0x2c2)]();_0x343e66=_0x343e66||{};const _0x216d99=_0x343e66[_0x301b4a(0x33d)]||(_0x343e66[_0x301b4a(0x465)]||us)();return _0x216d99[0x6]=_0x216d99[0x6]&0xf|0x40,_0x216d99[0x8]=_0x216d99[0x8]&0x3f|0x80,_s(_0x216d99);}const X=_0x1c6acd(_0x3e9f07(0x1b9));function uo(_0x2ab609){var _0x372b87=_0x3e9f07;return _0x372b87(0x38c)+_0x2ab609;}var vs=Object[_0x3e9f07(0x386)],ps=Object['getOwnPropertyDescriptor'],ms=(_0x30e9ba,_0x48a00d,_0x3ed61b,_0x45be23)=>{var _0x50cff1=_0x3e9f07;for(var _0x2b9800=_0x45be23>0x1?void 0x0:_0x45be23?ps(_0x48a00d,_0x3ed61b):_0x48a00d,_0x1b90ee=_0x30e9ba[_0x50cff1(0x46c)]-0x1,_0xcbcf49;_0x1b90ee>=0x0;_0x1b90ee--)(_0xcbcf49=_0x30e9ba[_0x1b90ee])&&(_0x2b9800=(_0x45be23?_0xcbcf49(_0x48a00d,_0x3ed61b,_0x2b9800):_0xcbcf49(_0x2b9800))||_0x2b9800);return _0x45be23&&_0x2b9800&&vs(_0x48a00d,_0x3ed61b,_0x2b9800),_0x2b9800;},ft=(_0x2436bf,_0x17a68d)=>(_0x9bbefc,_0x435c56)=>_0x17a68d(_0x9bbefc,_0x435c56,_0x2436bf);function gs(_0x3693e5){var _0x472390=_0x3e9f07;const {unitID:_0x5bbc51,mutations:_0x2f1cf6}=_0x3693e5;return{'unitId':_0x5bbc51,'subUnitId':_0x2f1cf6[0x0][_0x472390(0x299)]['subUnitId']};}let nt=class{constructor(_0x1b7026,_0x2d28e8,_0x5d9a30){var _0x572321=_0x3e9f07;this[_0x572321(0x484)]=_0x1b7026,this['_transformService']=_0x2d28e8,this['_instanceService']=_0x5d9a30;}[_0x3e9f07(0x304)](_0x4fbc2d){var _0x5cbd84=_0x3e9f07,_0x5d0bf9,_0x1f03a4,_0x2d4429,_0x49c944;const _0x2ec3a0=this[_0x5cbd84(0x484)][_0x5cbd84(0x220)](_0x275888),{unitId:_0x4024f2,subUnitId:_0xf23288}=gs(_0x4fbc2d),_0xfdccf0=_0x2ec3a0==null?void 0x0:_0x2ec3a0[_0x5cbd84(0x20a)](_0x4024f2)[_0x5cbd84(0x28e)](),_0x301e15=(_0x1f03a4=(_0x5d0bf9=this['_instanceService']['getUnit'](_0x4024f2))==null?void 0x0:_0x5d0bf9[_0x5cbd84(0x1c3)]())==null?void 0x0:_0x1f03a4['getSheetId']();if(_0xfdccf0[_0x5cbd84(0x46c)]===0x0||!_0x4024f2||!_0xf23288)return;const _0x5dd0ce=[{'id':_0x20e163['id'],'params':{'unitId':_0x4024f2,'subUnitId':_0x301e15,'selections':_0xc1dd15['deepClone'](_0xfdccf0)}}],_0x3c29fc=this[_0x5cbd84(0x207)][_0x5cbd84(0x2f0)](_0x4fbc2d,_0x5dd0ce);if(!_0x281f21(_0x3c29fc))throw _0x3c29fc['error'];const _0x2099ad=(_0x49c944=(_0x2d4429=_0x3c29fc[_0x5cbd84(0x3f9)][0x0])==null?void 0x0:_0x2d4429[_0x5cbd84(0x299)])==null?void 0x0:_0x49c944[_0x5cbd84(0x1e1)];if(Array[_0x5cbd84(0x1cb)](_0x2099ad)&&_0x2099ad[_0x5cbd84(0x46c)]){if(_0x2099ad[_0x5cbd84(0x46c)]===_0x5dd0ce[0x0][_0x5cbd84(0x299)][_0x5cbd84(0x1e1)][_0x5cbd84(0x46c)]&&_0x2099ad[_0x5cbd84(0x21c)]((_0x145d5d,_0xdabe85)=>_0x420d55[_0x5cbd84(0x3cd)](_0x145d5d[_0x5cbd84(0x30b)],_0x5dd0ce[0x0][_0x5cbd84(0x299)][_0x5cbd84(0x1e1)][_0xdabe85][_0x5cbd84(0x30b)])))return;this['_injector'][_0x5cbd84(0x220)](_0x5f1d0c)[_0x5cbd84(0x3e1)](_0x20e163['id'],{'unitId':_0x4024f2,'subUnitId':_0x301e15,'selections':_0x2099ad});}}};nt=ms([ft(0x0,_0x1e11c8(_0x202b1e)),ft(0x1,_0x48d905),ft(0x2,_0x2bea00)],nt);const _t=_0x1c6acd(_0x3e9f07(0x3f1));var yi=(_0x333eae=>(_0x333eae[_0x333eae[_0x3e9f07(0x1e8)]=0x0]=_0x3e9f07(0x1e8),_0x333eae[_0x333eae['OTHER_CLIENTS_EDITING']=0x1]=_0x3e9f07(0x2ad),_0x333eae))(yi||{});const Ss=new Set([_0x338610['id']]);function Jt(_0xfce5a8,_0x514ae2,_0xe76206,_0x3b9b36,_0x5ada70){var _0x49de80=_0x3e9f07,_0xe821cd,_0x2170d9,_0x5b612b,_0x44f939;const _0x47c011=[];for(const _0x43a0a0 of _0xfce5a8)if(Ss[_0x49de80(0x393)](_0x43a0a0['id'])){if(_0x47c011[_0x49de80(0x46c)]>0x0)break;_0x47c011[_0x49de80(0x40c)](_0x43a0a0);break;}else _0x47c011[_0x49de80(0x40c)](_0x43a0a0);const _0x27d57f=(_0x2170d9=(_0xe821cd=_0x5ada70[_0x49de80(0x1aa)]())==null?void 0x0:_0xe821cd['userID'])!=null?_0x2170d9:_0x49de80(0x1a1),_0xf42cec=(_0x44f939=(_0x5b612b=_0x5ada70[_0x49de80(0x1aa)]())==null?void 0x0:_0x5b612b[_0x49de80(0x2e1)])!=null?_0x44f939:_0x49de80(0x1a1);return{'changeset':{'unitID':_0x514ae2,'type':_0x166ae6(_0xe76206['getUnitType'](_0x514ae2)),'baseRev':_0x3b9b36[_0x49de80(0x2f5)](_0x514ae2),'revision':0x0,'userID':_0x27d57f,'memberID':_0xf42cec,'mutations':_0x47c011},'pendingMutations':_0xfce5a8['slice'](_0x47c011[_0x49de80(0x46c)])};}function Es(_0xb7c8bd,_0x2365d3,_0x18ee73,_0x351691,_0x31ceab){var _0x2ffbed=_0x3e9f07,_0xe708ff,_0x36a8fc,_0x1d2e4b,_0x37937d;const _0x3a19f8=[_0xb7c8bd[_0x2ffbed(0x227)]((_0xbc7216,_0x13ca5d)=>{var _0x2572d7=_0x2ffbed,_0x4019cd;const {id:_0x3ec227}=_0xbc7216,{id:_0xa13495,type:_0xab92fe}=_0x13ca5d,_0x1cc496=(_0x4019cd=_0xbc7216['params'])!=null?_0x4019cd:{'actions':null},_0xb36915=_0x13ca5d['params'];if(_0x3ec227&&_0x3ec227!==_0xa13495)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x3ec227+_0x2572d7(0x407)+_0xa13495+'.');return{..._0xbc7216,'id':_0xa13495,'type':_0xab92fe,'params':{'unitId':_0xb36915['unitId'],'textRanges':_0xb36915['textRanges'],'actions':_0x5a9d5f['compose'](_0x1cc496[_0x2572d7(0x1fa)],_0xb36915[_0x2572d7(0x1fa)])}};},{})],_0x2f2fe1=(_0x36a8fc=(_0xe708ff=_0x31ceab[_0x2ffbed(0x1aa)]())==null?void 0x0:_0xe708ff[_0x2ffbed(0x483)])!=null?_0x36a8fc:'unknown',_0x1ddda7=(_0x37937d=(_0x1d2e4b=_0x31ceab['getCurrentUser']())==null?void 0x0:_0x1d2e4b['memberID'])!=null?_0x37937d:'unknown';return{'changeset':{'unitID':_0x2365d3,'type':_0x166ae6(_0x18ee73[_0x2ffbed(0x3be)](_0x2365d3)),'baseRev':_0x351691['getCurrentRevOfUnit'](_0x2365d3),'revision':0x0,'userID':_0x2f2fe1,'memberID':_0x1ddda7,'mutations':_0x3a19f8},'pendingMutations':[]};}function Oi(_0x44043b,_0xf52546){var _0x504ead=_0x3e9f07;const _0x585421=new _0x2f5052(0x1);return setTimeout(()=>_0x585421[_0x504ead(0x384)](_0xf52546),_0x44043b),_0x585421[_0x504ead(0x3fa)]()[_0x504ead(0x3c9)](_0x49f8ab(0x1));}const Is={'id':_0x292987['id'],'type':_0x245250[_0x3e9f07(0x389)],'params':{}};var Ts=Object[_0x3e9f07(0x386)],Cs=Object[_0x3e9f07(0x34f)],be=(_0x14f33d,_0x71059b,_0x2e08d3,_0x3d29b8)=>{var _0x2c9e25=_0x3e9f07;for(var _0x23ecf8=_0x3d29b8>0x1?void 0x0:_0x3d29b8?Cs(_0x71059b,_0x2e08d3):_0x71059b,_0x90070=_0x14f33d[_0x2c9e25(0x46c)]-0x1,_0x4aa71e;_0x90070>=0x0;_0x90070--)(_0x4aa71e=_0x14f33d[_0x90070])&&(_0x23ecf8=(_0x3d29b8?_0x4aa71e(_0x71059b,_0x2e08d3,_0x23ecf8):_0x4aa71e(_0x23ecf8))||_0x23ecf8);return _0x3d29b8&&_0x23ecf8&&Ts(_0x71059b,_0x2e08d3,_0x23ecf8),_0x23ecf8;},A=(_0x433c2b,_0x3af858)=>(_0x2be2d3,_0x435b92)=>_0x3af858(_0x2be2d3,_0x435b92,_0x433c2b),Pi=(_0x6b48a0=>(_0x6b48a0[_0x3e9f07(0x1d5)]=_0x3e9f07(0x37a),_0x6b48a0[_0x3e9f07(0x1d6)]=_0x3e9f07(0x2d8),_0x6b48a0['PENDING']=_0x3e9f07(0x273),_0x6b48a0[_0x3e9f07(0x2ea)]=_0x3e9f07(0x488),_0x6b48a0[_0x3e9f07(0x3d4)]='awaiting_with_pending',_0x6b48a0[_0x3e9f07(0x274)]='fetch_missing',_0x6b48a0[_0x3e9f07(0x2cd)]=_0x3e9f07(0x266),_0x6b48a0['OFFLINE']=_0x3e9f07(0x1db),_0x6b48a0))(Pi||{});const Ni=0xea60;class Re{constructor(_0x54da2e,_0x20b125,_0x2f8d14,_0x18a35e,_0x5cbdf1,_0x2b66d3,_0x1ed69e,_0x38f67e,_0x4fc3f8){var _0x5e4083=_0x3e9f07;N(this,_0x5e4083(0x29f),null),N(this,_0x5e4083(0x1dd),[]),(this[_0x5e4083(0x28d)]=_0x54da2e,this[_0x5e4083(0x3bb)]=_0x20b125,this[_0x5e4083(0x21f)]=_0x5cbdf1,this[_0x5e4083(0x233)]=_0x2b66d3,this[_0x5e4083(0x374)]=_0x1ed69e,this[_0x5e4083(0x1ca)]=_0x38f67e,this[_0x5e4083(0x2a4)]=_0x4fc3f8,this[_0x5e4083(0x29f)]=_0x2f8d14,this[_0x5e4083(0x1dd)]=_0x18a35e);}[_0x3e9f07(0x3ac)](_0x3d84aa){var _0x4770d2=_0x3e9f07;const _0x5a8e82=this[_0x4770d2(0x1ca)][_0x4770d2(0x2f5)](this[_0x4770d2(0x28d)]);return _0x3d84aa[_0x4770d2(0x493)]>_0x5a8e82+0x1?(this[_0x4770d2(0x21f)][_0x4770d2(0x4a1)]({'from':_0x5a8e82,'to':_0x3d84aa[_0x4770d2(0x493)]-0x1}),!0x0):!0x1;}[_0x3e9f07(0x2ae)](_0x4ab203){var _0x88550f=_0x3e9f07;this[_0x88550f(0x374)]['transformUndoRedo'](this[_0x88550f(0x28d)],_0x4ab203);}[_0x3e9f07(0x30c)](_0x36ef74){var _0x370861=_0x3e9f07,_0x200a92,_0x37c833;(_0x37c833=(_0x200a92=this['_handler'])[_0x370861(0x3f4)])==null||_0x37c833[_0x370861(0x26b)](_0x200a92,_0x36ef74);}[_0x3e9f07(0x47a)](_0x5033a3){var _0x4e6179=_0x3e9f07,_0x81839f,_0x2450a3;return(_0x2450a3=(_0x81839f=this[_0x4e6179(0x21f)])[_0x4e6179(0x414)])==null?void 0x0:_0x2450a3[_0x4e6179(0x26b)](_0x81839f,_0x5033a3);}[_0x3e9f07(0x463)](_0x3413a6){var _0xb2d36b=_0x3e9f07,_0x16d7b4,_0x48d7cf;return(_0x48d7cf=(_0x16d7b4=this[_0xb2d36b(0x21f)])['onTransformState'])==null?void 0x0:_0x48d7cf[_0xb2d36b(0x26b)](_0x16d7b4,_0x3413a6);}[_0x3e9f07(0x467)](_0x26f26f){var _0x4106fe=_0x3e9f07,_0x312b30,_0x452dd7,_0x5ce184;return(_0x5ce184=(_0x452dd7=(_0x312b30=this[_0x4106fe(0x21f)])[_0x4106fe(0x379)])==null?void 0x0:_0x452dd7['call'](_0x312b30,_0x26f26f))!=null?_0x5ce184:_0x26f26f;}[_0x3e9f07(0x230)](_0x113778){var _0x41fd3b=_0x3e9f07,_0x3a00f0,_0x2623a5,_0x2cc320;return(_0x2cc320=(_0x2623a5=(_0x3a00f0=this[_0x41fd3b(0x21f)])[_0x41fd3b(0x26d)])==null?void 0x0:_0x2623a5['call'](_0x3a00f0,_0x113778))!=null?_0x2cc320:_0x113778;}['_syncEditingCollabCursor'](_0x1a3ba2){var _0x4c09bc=_0x3e9f07,_0x1ccc31,_0x5b9a61;if(this[_0x4c09bc(0x3bb)]===Q[_0x4c09bc(0x36e)]){const {unitID:_0x6bf158,mutations:_0x248ede,memberID:_0x3c88e6}=_0x1a3ba2,_0x45123f=_0x248ede[0x0][_0x4c09bc(0x299)][_0x4c09bc(0x30e)];Array[_0x4c09bc(0x1cb)](_0x45123f)&&_0x45123f[_0x4c09bc(0x46c)]>0x0&&((_0x5b9a61=(_0x1ccc31=this[_0x4c09bc(0x21f)])[_0x4c09bc(0x3c8)])==null||_0x5b9a61[_0x4c09bc(0x26b)](_0x1ccc31,{'unitID':_0x6bf158,'memberID':_0x3c88e6,'textRanges':_0x45123f}));}}[_0x3e9f07(0x234)](){var _0x3d63c9=_0x3e9f07,_0x5ec228;(_0x5ec228=this['_localCacheService'])==null||_0x5ec228['updateOfflineData'](this['unitID'],this[_0x3d63c9(0x3bb)],this[_0x3d63c9(0x29f)],this[_0x3d63c9(0x1dd)]);}[_0x3e9f07(0x318)](){var _0x543502=_0x3e9f07;return this[_0x543502(0x1ca)][_0x543502(0x2f5)](this[_0x543502(0x28d)]);}[_0x3e9f07(0x3ef)](){var _0x62d242=_0x3e9f07;this[_0x62d242(0x1ca)]['incrementRevOfUnit'](this[_0x62d242(0x28d)]);}['_executeRemoteChangeset'](_0x5b8e4a){var _0xeeba94=_0x3e9f07,_0x27db8d;let _0x4a7851=this['_transformRemoteChangesetByIMECache'](_0x5b8e4a);_0x4a7851=this[_0xeeba94(0x230)](_0x4a7851);const _0x372259=_0x55f2de(_0x4a7851[_0xeeba94(0x42e)],this[_0xeeba94(0x233)],{'fromCollab':!0x0});if(!_0x372259[_0xeeba94(0x3a7)])throw _0x372259['error']instanceof Error?_0x372259[_0xeeba94(0x3b6)]:new Error((_0x27db8d=_0x372259['error'])!=null?_0x27db8d:_0xeeba94(0x22d));this[_0xeeba94(0x47a)](_0x4a7851),this[_0xeeba94(0x463)](_0x4a7851),this[_0xeeba94(0x2ae)](_0x5b8e4a),this[_0xeeba94(0x30c)](_0x4a7851),this[_0xeeba94(0x347)](_0x4a7851),this[_0xeeba94(0x3ef)]();}}let Ne=class extends Re{constructor(_0x7016c2,_0x596d47,_0x48d5dc,_0x1aca61,_0xbd8446,_0x59d879,_0x2976e5,_0x4092b5,_0x57280b,_0x430396){var _0x40f177=_0x3e9f07;super(_0x7016c2,_0x596d47,null,[],_0x48d5dc,_0x2976e5,_0x59d879,_0x1aca61,_0x430396),N(this,_0x40f177(0x1c5),_0x40f177(0x2d8)),(this[_0x40f177(0x484)]=_0xbd8446,this['_logService']=_0x4092b5,this[_0x40f177(0x207)]=_0x57280b,this['localCacheService']=_0x430396);}[_0x3e9f07(0x426)](_0x162c5c){var _0x6fbc8c=_0x3e9f07;const _0x3741c4=this[_0x6fbc8c(0x484)]['createInstance'](oe,this[_0x6fbc8c(0x28d)],this['type'],[_0x162c5c],this['_handler']);return _0x3741c4[_0x6fbc8c(0x368)](),_0x3741c4['_updateLocalCache'](),_0x3741c4;}[_0x3e9f07(0x3ff)](_0x5cc8fb){var _0x3a7abb=_0x3e9f07;if(this[_0x3a7abb(0x3ac)](_0x5cc8fb))return this['_injector'][_0x3a7abb(0x396)](te,this[_0x3a7abb(0x28d)],this['type'],null,[],null,[_0x5cc8fb],this['_handler']);try{const _0x4c226e=this[_0x3a7abb(0x207)][_0x3a7abb(0x2f0)](_0x5cc8fb,[Is]);if(_0x281f21(_0x4c226e)){const {c1Prime:_0x4eb4c6}=_0x4c226e;return this[_0x3a7abb(0x3fc)](_0x4eb4c6),this;}throw _0x4c226e[_0x3a7abb(0x3b6)];}catch(_0x553644){return this['_logService'][_0x3a7abb(0x3b6)](_0x553644),this[_0x3a7abb(0x46e)](!0x1);}}[_0x3e9f07(0x46e)](_0x5dba82){var _0x1c3e41=_0x3e9f07;return this['_injector'][_0x1c3e41(0x396)](de,this[_0x1c3e41(0x28d)],this[_0x1c3e41(0x3bb)],null,[],this[_0x1c3e41(0x21f)],_0x5dba82);}['onRemoteAck'](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){var _0x3e4f07=_0x3e9f07;return this[_0x3e4f07(0x484)][_0x3e4f07(0x396)](fe,this['unitID'],this[_0x3e4f07(0x3bb)],null,[],this[_0x3e4f07(0x21f)]);}[_0x3e9f07(0x1a2)](){return this;}['resend'](){var _0x551e98=_0x3e9f07;throw new Error(_0x551e98(0x325));}[_0x3e9f07(0x2e9)](){var _0x383079=_0x3e9f07;const _0x234c1d=this[_0x383079(0x1ca)][_0x383079(0x2f5)](this[_0x383079(0x28d)]);return this[_0x383079(0x21f)][_0x383079(0x4a1)]({'from':_0x234c1d,'to':0x0}),this['_injector']['createInstance'](te,this[_0x383079(0x28d)],this[_0x383079(0x3bb)],null,[],null,[],this[_0x383079(0x21f)]);}};Ne=be([A(0x3,_0x1e11c8(_0x33e8a8)),A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x34ff18),A(0x6,_0x5f1d0c),A(0x7,_0x290771),A(0x8,_0x48d905),A(0x9,_0x5a8d4f(X))],Ne);let oe=class extends Re{constructor(_0x10f7bb,_0x2fd67a,_0x149558,_0x1f416c,_0xc28be9,_0x5b7d1e,_0x56ed85,_0x4eafd2,_0x26d706,_0x4657f2,_0x132589,_0x4541bf,_0x544fd0,_0x165b5a){var _0x2d0b3b=_0x3e9f07;super(_0x10f7bb,_0x2fd67a,null,_0x149558,_0x1f416c,_0x26d706,_0x544fd0,_0x5b7d1e,_0x165b5a),N(this,_0x2d0b3b(0x1c5),_0x2d0b3b(0x273)),N(this,_0x2d0b3b(0x361),null),N(this,_0x2d0b3b(0x1ff),null),(this['_injector']=_0xc28be9,this[_0x2d0b3b(0x3b8)]=_0x56ed85,this[_0x2d0b3b(0x28c)]=_0x4eafd2,this['_configService']=_0x4657f2,this[_0x2d0b3b(0x207)]=_0x132589,this[_0x2d0b3b(0x33c)]=_0x4541bf);}[_0x3e9f07(0x426)](_0x122a75){var _0x4af9c2=_0x3e9f07;return this[_0x4af9c2(0x1dd)][_0x4af9c2(0x40c)](_0x122a75),this[_0x4af9c2(0x234)](),this;}[_0x3e9f07(0x3ff)](_0x599db5){var _0x134176=_0x3e9f07;if(this['_checkMissing'](_0x599db5))return this[_0x134176(0x359)](),this['_injector'][_0x134176(0x396)](te,this['unitID'],this[_0x134176(0x3bb)],null,this[_0x134176(0x1dd)],null,[_0x599db5],this[_0x134176(0x21f)]);try{const _0x416c83=this[_0x134176(0x207)][_0x134176(0x2f0)](_0x599db5,this[_0x134176(0x1dd)]);if(_0x281f21(_0x416c83)){const {c1Prime:_0x164c39,m2Prime:_0x52ff53}=_0x416c83;this[_0x134176(0x3fc)](_0x164c39);const _0xf30de6=this[_0x134176(0x484)][_0x134176(0x396)](oe,this['unitID'],this[_0x134176(0x3bb)],_0x52ff53,this[_0x134176(0x21f)]);return this[_0x134176(0x359)](),_0xf30de6[_0x134176(0x368)](this[_0x134176(0x361)]?Math[_0x134176(0x397)](0x0,new Date()[_0x134176(0x3ed)]()-this[_0x134176(0x361)]):this['_getSendChangesetTimeout']()),_0xf30de6;}throw _0x416c83['error'];}catch(_0x3c6b66){return this[_0x134176(0x28c)][_0x134176(0x3b6)](_0x3c6b66),this[_0x134176(0x46e)](!0x1);}}['onRemoteAck'](){var _0x3b387e=_0x3e9f07;throw new Error(_0x3b387e(0x2ab));}[_0x3e9f07(0x387)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){var _0x5e1e46=_0x3e9f07;return this['_clearScheduledTask'](),this['_injector'][_0x5e1e46(0x396)](fe,this[_0x5e1e46(0x28d)],this['type'],null,this[_0x5e1e46(0x1dd)],this[_0x5e1e46(0x21f)]);}['toggleOnline'](){return this;}[_0x3e9f07(0x368)](_0xba1ee8){var _0x55c0f7=_0x3e9f07;const _0x258bf1=_0xba1ee8!=null?_0xba1ee8:this['_getSendChangesetTimeout']();this[_0x55c0f7(0x361)]=new Date()['getTime'](),this[_0x55c0f7(0x1ff)]=setTimeout(()=>{var _0x5299d1=_0x55c0f7;this[_0x5299d1(0x359)]();let _0x291758=null;switch(this[_0x5299d1(0x3bb)]){case Q['UNIVER_SHEET']:{_0x291758=Jt(this[_0x5299d1(0x1dd)],this['unitID'],this[_0x5299d1(0x33c)],this['_revisionService'],this[_0x5299d1(0x3b8)]);break;}case Q[_0x5299d1(0x36e)]:{this['_pendingMutations'][_0x5299d1(0x21c)](_0x452fce=>_0x452fce['id']===_0x514974['id'])?_0x291758=Es(this[_0x5299d1(0x1dd)],this[_0x5299d1(0x28d)],this[_0x5299d1(0x33c)],this[_0x5299d1(0x1ca)],this[_0x5299d1(0x3b8)]):_0x291758=Jt(this[_0x5299d1(0x1dd)],this[_0x5299d1(0x28d)],this[_0x5299d1(0x33c)],this['_revisionService'],this[_0x5299d1(0x3b8)]);break;}default:throw new Error(_0x5299d1(0x3a3)+this[_0x5299d1(0x3bb)]+'\x20in\x20_schedule.');}const {changeset:_0x45266c,pendingMutations:_0x2a7ab7}=_0x291758;this[_0x5299d1(0x21f)][_0x5299d1(0x283)](_0x45266c);const _0x36bbee=_0x2a7ab7[_0x5299d1(0x46c)]?this[_0x5299d1(0x484)][_0x5299d1(0x396)](ae,this[_0x5299d1(0x28d)],this[_0x5299d1(0x3bb)],_0x45266c,_0x2a7ab7,this[_0x5299d1(0x21f)],void 0x0):this[_0x5299d1(0x484)][_0x5299d1(0x396)](ue,this[_0x5299d1(0x28d)],this[_0x5299d1(0x3bb)],_0x45266c,this['_handler']);_0x36bbee[_0x5299d1(0x234)](),this[_0x5299d1(0x21f)][_0x5299d1(0x2b0)](this,_0x36bbee);},_0x258bf1);}[_0x3e9f07(0x312)](){var _0x2654b0=_0x3e9f07,_0x2e96d4;const _0x1f0b7a=this[_0x2654b0(0x31f)][_0x2654b0(0x1d9)](Y);return(_0x2e96d4=_0x1f0b7a==null?void 0x0:_0x1f0b7a[_0x2654b0(0x1e3)])!=null?_0x2e96d4:wn;}[_0x3e9f07(0x327)](){var _0x4e2808=_0x3e9f07;throw new Error(_0x4e2808(0x42b));}[_0x3e9f07(0x359)](){var _0x9045e1=_0x3e9f07;this[_0x9045e1(0x1ff)]!=null&&(clearTimeout(this['_sendingTimer']),this['_sendingTimer']=null);}['_onConflict'](_0x859c0f){var _0x4b2108=_0x3e9f07;return this[_0x4b2108(0x359)](),this['_injector']['createInstance'](de,this['unitID'],this[_0x4b2108(0x3bb)],null,this[_0x4b2108(0x1dd)],this[_0x4b2108(0x21f)],_0x859c0f);}};oe=be([A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x1e11c8(_0x33e8a8)),A(0x6,_0x1e11c8(xe)),A(0x7,_0x290771),A(0x8,_0x5f1d0c),A(0x9,_0x155bcb),A(0xa,_0x48d905),A(0xb,_0x2bea00),A(0xc,_0x34ff18),A(0xd,_0x5a8d4f(X))],oe);let ue=class extends Re{constructor(_0x521149,_0x299c77,_0x28c50d,_0x252abd,_0x3578c1,_0x3ce2d9,_0x3b7cfd,_0x52c7f7,_0x59ff8b,_0x49639b,_0x230148){var _0x2b0cfd=_0x3e9f07;super(_0x521149,_0x299c77,_0x28c50d,[],_0x252abd,_0x3b7cfd,_0x49639b,_0x3ce2d9,_0x230148),N(this,_0x2b0cfd(0x1c5),_0x2b0cfd(0x488)),N(this,'_resendTimeout',0x0),N(this,_0x2b0cfd(0x494)),N(this,_0x2b0cfd(0x459)),(this[_0x2b0cfd(0x484)]=_0x3578c1,this[_0x2b0cfd(0x28c)]=_0x52c7f7,this[_0x2b0cfd(0x207)]=_0x59ff8b);}[_0x3e9f07(0x426)](_0x3fc30a){var _0x14c908=_0x3e9f07;this[_0x14c908(0x359)]();const _0x1c8b57=this['_injector'][_0x14c908(0x396)](ae,this[_0x14c908(0x28d)],this[_0x14c908(0x3bb)],this[_0x14c908(0x29f)],[_0x3fc30a],this['_handler'],this['_resendTimer']);return _0x1c8b57[_0x14c908(0x234)](),_0x1c8b57;}[_0x3e9f07(0x3ff)](_0x5f2822){var _0x20e30b=_0x3e9f07;if(this['_checkMissing'](_0x5f2822))return this[_0x20e30b(0x359)](),this[_0x20e30b(0x484)][_0x20e30b(0x396)](te,this[_0x20e30b(0x28d)],this[_0x20e30b(0x3bb)],this['_awaitingChangeset'],[],null,[_0x5f2822],this['_handler']);try{const _0x5ef935=this[_0x20e30b(0x207)][_0x20e30b(0x44a)]([_0x5f2822],[this[_0x20e30b(0x29f)]],!0x1);if(_0x2a45c4(_0x5ef935)){const {c1Prime:_0x10749a,c2Prime:_0xa23dac}=_0x5ef935;this[_0x20e30b(0x3fc)](_0x10749a[0x0]),_0xa23dac[0x0][_0x20e30b(0x25f)]=this[_0x20e30b(0x318)](),this[_0x20e30b(0x359)]();const _0x34ea32=this[_0x20e30b(0x484)]['createInstance'](ue,this[_0x20e30b(0x28d)],this[_0x20e30b(0x3bb)],_0xa23dac[0x0],this[_0x20e30b(0x21f)]);return _0x34ea32[_0x20e30b(0x234)](),_0x34ea32;}return this[_0x20e30b(0x46e)](!0x1);}catch(_0x4e6cd9){return this[_0x20e30b(0x28c)]['error'](_0x4e6cd9),this[_0x20e30b(0x46e)](!0x1);}}[_0x3e9f07(0x1f5)](_0x576cdd){var _0x3926e6=_0x3e9f07;this[_0x3926e6(0x359)]();const _0x5c1cba=this['_revisionService'][_0x3926e6(0x2f5)](this[_0x3926e6(0x28d)]);if(_0x576cdd[_0x3926e6(0x493)]<_0x5c1cba-0x1)return this;if(this[_0x3926e6(0x3ac)](_0x576cdd))return this[_0x3926e6(0x484)]['createInstance'](te,this[_0x3926e6(0x28d)],this[_0x3926e6(0x3bb)],null,[],this[_0x3926e6(0x29f)],[],this[_0x3926e6(0x21f)]);this['_incrementRevisionNumber']();const _0x4d4893=this[_0x3926e6(0x484)][_0x3926e6(0x396)](Ne,this[_0x3926e6(0x28d)],this['type'],this[_0x3926e6(0x21f)]);return _0x4d4893[_0x3926e6(0x234)](),_0x4d4893;}[_0x3e9f07(0x387)](_0x5f3ecc){var _0x4ae4e3=_0x3e9f07;return this[_0x4ae4e3(0x46e)](!!(_0x5f3ecc!=null&&_0x5f3ecc['isPermissionRej']));}[_0x3e9f07(0x2f4)](_0x575508){var _0x4456bf=_0x3e9f07;return this[_0x4456bf(0x438)]>Ni?this[_0x4456bf(0x2cc)]():(this[_0x4456bf(0x494)]=Oi(this[_0x4456bf(0x438)],{'timeout':this[_0x4456bf(0x438)],'reqId':_0x575508[_0x4456bf(0x446)]}),this[_0x4456bf(0x459)]=this[_0x4456bf(0x494)]['subscribe'](({reqId:_0xb3f5cf,timeout:_0x1ca2c5})=>{var _0xfb24f=_0x4456bf;this[_0xfb24f(0x470)](_0xb3f5cf,_0x1ca2c5);}),this);}[_0x3e9f07(0x2cc)](){var _0x108e1c=_0x3e9f07;return this['_clearScheduledTask'](),this['_injector'][_0x108e1c(0x396)](fe,this['unitID'],this[_0x108e1c(0x3bb)],this['_awaitingChangeset'],[],this['_handler']);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x327)](){var _0x318b08=_0x3e9f07;this[_0x318b08(0x21f)]['onSendChangeset'](this[_0x318b08(0x29f)]);}[_0x3e9f07(0x46e)](_0x59835c){var _0x3ce3d0=_0x3e9f07;return this[_0x3ce3d0(0x359)](),this[_0x3ce3d0(0x484)][_0x3ce3d0(0x396)](de,this['unitID'],this[_0x3ce3d0(0x3bb)],this[_0x3ce3d0(0x29f)],[],this['_handler'],_0x59835c);}[_0x3e9f07(0x470)](_0x404022,_0xe0a982){var _0x406e47=_0x3e9f07,_0x122aa6;_0x404022===((_0x122aa6=this[_0x406e47(0x29f)])==null?void 0x0:_0x122aa6[_0x406e47(0x446)])&&(this['resend'](),this[_0x406e47(0x438)]=_0xe0a982===0x0?0x3e8:_0xe0a982*0x2);}[_0x3e9f07(0x359)](){var _0x5e37ee=_0x3e9f07,_0x4cd463;(_0x4cd463=this['_sender'])==null||_0x4cd463[_0x5e37ee(0x37c)](),this[_0x5e37ee(0x438)]=0x0;}};ue=be([A(0x4,_0x1e11c8(_0x202b1e)),A(0x5,_0x1e11c8(_0x33e8a8)),A(0x6,_0x5f1d0c),A(0x7,_0x290771),A(0x8,_0x48d905),A(0x9,_0x34ff18),A(0xa,_0x5a8d4f(X))],ue);let ae=class extends Re{constructor(_0x1459d3,_0x2dd83b,_0x3755e4,_0x418336,_0xecba5b,_0x3c494a,_0x39e5c9,_0x2a68e4,_0x42e2a1,_0x4e1a5b,_0x206572,_0x2801e2,_0x57be6e){var _0x3a886b=_0x3e9f07;super(_0x1459d3,_0x2dd83b,_0x3755e4,_0x418336,_0xecba5b,_0x42e2a1,_0x2801e2,_0x2a68e4,_0x57be6e),N(this,_0x3a886b(0x1c5),'awaiting_with_pending'),N(this,_0x3a886b(0x438),0x0),N(this,_0x3a886b(0x494)),N(this,'_sender'),(this['_injector']=_0x39e5c9,this[_0x3a886b(0x28c)]=_0x4e1a5b,this[_0x3a886b(0x207)]=_0x206572,this[_0x3a886b(0x212)]=_0x57be6e,_0x3c494a&&(this[_0x3a886b(0x494)]=_0x3c494a,this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x496cd5,timeout:_0x4c1f4c})=>{var _0x382711=_0x3a886b;this[_0x382711(0x470)](_0x496cd5,_0x4c1f4c);})));}[_0x3e9f07(0x426)](_0x22a1de){var _0xfb88a8=_0x3e9f07;return this[_0xfb88a8(0x1dd)][_0xfb88a8(0x40c)](_0x22a1de),this;}[_0x3e9f07(0x3ff)](_0x37f90b){var _0xaeb034=_0x3e9f07;if(this[_0xaeb034(0x3ac)](_0x37f90b))return this['_clearScheduledTask'](),this[_0xaeb034(0x484)][_0xaeb034(0x396)](te,this['unitID'],this[_0xaeb034(0x3bb)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x37f90b],this['_handler']);try{const _0x45124d=this[_0xaeb034(0x207)][_0xaeb034(0x44a)]([_0x37f90b],[this[_0xaeb034(0x29f)]],!0x1);if(_0x2a45c4(_0x45124d)){const {c1Prime:_0x25b749,c2Prime:_0x559697}=_0x45124d,_0x295222=this['_transformService'][_0xaeb034(0x2f0)](_0x25b749[0x0],this[_0xaeb034(0x1dd)]);if(_0x281f21(_0x295222)){const {c1Prime:_0x419e64,m2Prime:_0x5cc82a}=_0x295222;return this[_0xaeb034(0x3fc)](_0x419e64),_0x559697[0x0][_0xaeb034(0x25f)]=this['_getCurrentRevision'](),this['_clearScheduledTask'](),this[_0xaeb034(0x484)][_0xaeb034(0x396)](ae,this[_0xaeb034(0x28d)],this['type'],_0x559697[0x0],_0x5cc82a,this['_handler'],void 0x0);}throw _0x295222[_0xaeb034(0x3b6)];}throw _0x45124d[_0xaeb034(0x3b6)];}catch(_0x540d13){return this['_logService'][_0xaeb034(0x3b6)](_0x540d13),this['_onConflict'](!0x1);}}[_0x3e9f07(0x1f5)](_0x4375cc){var _0x185491=_0x3e9f07;if(this[_0x185491(0x359)](),this['_checkMissing'](_0x4375cc))return this[_0x185491(0x484)][_0x185491(0x396)](te,this[_0x185491(0x28d)],this[_0x185491(0x3bb)],null,this['_pendingMutations'],this[_0x185491(0x29f)],[],this[_0x185491(0x21f)]);this[_0x185491(0x3ef)]();const _0x599348=this['_injector'][_0x185491(0x396)](oe,this['unitID'],this[_0x185491(0x3bb)],this[_0x185491(0x1dd)],this['_handler']);return _0x599348[_0x185491(0x368)](),_0x599348['_updateLocalCache'](),_0x599348;}[_0x3e9f07(0x387)](_0x2d1396){var _0x532aa2=_0x3e9f07;return this[_0x532aa2(0x46e)](!!(_0x2d1396!=null&&_0x2d1396[_0x532aa2(0x3c2)]));}[_0x3e9f07(0x2f4)](_0x18870c){var _0x21fd2a=_0x3e9f07;return this[_0x21fd2a(0x438)]>Ni?this[_0x21fd2a(0x2cc)]():(this['_resendTimer']=Oi(this[_0x21fd2a(0x438)],{'timeout':this[_0x21fd2a(0x438)],'reqId':_0x18870c[_0x21fd2a(0x446)]}),this[_0x21fd2a(0x459)]=this[_0x21fd2a(0x494)][_0x21fd2a(0x2e5)](({reqId:_0x50e121,timeout:_0x2775ee})=>{var _0x31d85f=_0x21fd2a;this[_0x31d85f(0x470)](_0x50e121,_0x2775ee);}),this);}[_0x3e9f07(0x2cc)](){var _0x360998=_0x3e9f07;return this[_0x360998(0x359)](),this['_injector'][_0x360998(0x396)](fe,this[_0x360998(0x28d)],this[_0x360998(0x3bb)],this[_0x360998(0x29f)],this[_0x360998(0x1dd)],this[_0x360998(0x21f)]);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x327)](){var _0x515f1f=_0x3e9f07;this[_0x515f1f(0x21f)]['onSendChangeset'](this[_0x515f1f(0x29f)]);}[_0x3e9f07(0x46e)](_0x44b95c){var _0x38da50=_0x3e9f07;return this[_0x38da50(0x359)](),this[_0x38da50(0x484)]['createInstance'](de,this[_0x38da50(0x28d)],this[_0x38da50(0x3bb)],null,this['_pendingMutations'],this[_0x38da50(0x21f)],_0x44b95c);}[_0x3e9f07(0x470)](_0x1c06fe,_0x32e0fa){var _0x51e0a1=_0x3e9f07,_0x369f1c;_0x1c06fe===((_0x369f1c=this['_awaitingChangeset'])==null?void 0x0:_0x369f1c['reqId'])&&(this['resend'](),this[_0x51e0a1(0x438)]=_0x32e0fa===0x0?0x3e8:_0x32e0fa*0x2);}[_0x3e9f07(0x359)](){var _0x2eb3cc=_0x3e9f07,_0xa052ab;(_0xa052ab=this[_0x2eb3cc(0x459)])==null||_0xa052ab['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=be([A(0x6,_0x1e11c8(_0x202b1e)),A(0x7,_0x1e11c8(_0x33e8a8)),A(0x8,_0x5f1d0c),A(0x9,_0x290771),A(0xa,_0x48d905),A(0xb,_0x34ff18),A(0xc,_0x5a8d4f(X))],ae);let de=class extends Re{constructor(_0x4594a7,_0x48e8b9,_0x23e8a1,_0x58c913,_0x2bc031,_0x14757e=!0x1,_0x574e91,_0x2f04b8,_0x5911f5,_0x414b88,_0x4ceb6c,_0x8db417,_0x4e375f){var _0x1760d5=_0x3e9f07;super(_0x4594a7,_0x48e8b9,_0x23e8a1,_0x58c913,_0x2bc031,_0x2f04b8,_0x5911f5,_0x414b88,_0x4e375f),N(this,_0x1760d5(0x1c5),_0x1760d5(0x266)),(this[_0x1760d5(0x3b1)]=_0x14757e,this[_0x1760d5(0x48b)]=_0x574e91,this[_0x1760d5(0x350)]=_0x4ceb6c,this[_0x1760d5(0x303)]=_0x8db417,this[_0x1760d5(0x212)]=_0x4e375f,this['_showConflictNotification'](),this[_0x1760d5(0x357)](),this[_0x1760d5(0x3f2)]());}[_0x3e9f07(0x426)](){return this;}[_0x3e9f07(0x3ff)](){return this;}['onRemoteAck'](){return this;}[_0x3e9f07(0x387)](){return this;}[_0x3e9f07(0x2f4)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x3e9f07(0x327)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x3e9f07(0x357)](){var _0x5ea1a1=_0x3e9f07,_0x123bcc;(_0x123bcc=this[_0x5ea1a1(0x2a4)])==null||_0x123bcc[_0x5ea1a1(0x222)](this[_0x5ea1a1(0x28d)],this['type'],null,[]);}[_0x3e9f07(0x421)](){var _0x329316=_0x3e9f07;this[_0x329316(0x3b1)]?this[_0x329316(0x303)][_0x329316(0x29e)]({'id':re['PERMISSION_DENIED']}):this[_0x329316(0x303)]['emitEvent']({'id':re[_0x329316(0x2cd)]});}[_0x3e9f07(0x3f2)](){var _0x185d1a=_0x3e9f07;this['_permissionService'][_0x185d1a(0x405)](new _0x50259a(this[_0x185d1a(0x28d)])['id'],!0x1);}};de=be([A(0x6,_0x1e11c8(_0x11d5fc)),A(0x7,_0x5f1d0c),A(0x8,_0x34ff18),A(0x9,_0x1e11c8(_0x33e8a8)),A(0xa,_0x1e11c8(_0xeb3187)),A(0xb,_0x1e11c8(pe)),A(0xc,_0x5a8d4f(X))],de);let fe=class extends Re{constructor(_0x14af28,_0x548bbd,_0x1f64a0,_0x51ad4a,_0x184a7f,_0xd88745,_0x10c452,_0x56903c,_0x2605a4,_0x557f13){var _0x5ce11c=_0x3e9f07;super(_0x14af28,_0x548bbd,_0x1f64a0,_0x51ad4a,_0x184a7f,_0x56903c,_0x2605a4,_0x10c452,_0x557f13),N(this,_0x5ce11c(0x1c5),_0x5ce11c(0x1db)),this[_0x5ce11c(0x484)]=_0xd88745;}[_0x3e9f07(0x426)](_0x340287){var _0x10caa4=_0x3e9f07;return this[_0x10caa4(0x1dd)][_0x10caa4(0x40c)](_0x340287),this['_updateLocalCache'](),this;}[_0x3e9f07(0x3ff)](_0x143518){var _0x11ccf2=_0x3e9f07;throw new Error(_0x11ccf2(0x262));}[_0x3e9f07(0x1f5)](){var _0x42fbf3=_0x3e9f07;throw new Error(_0x42fbf3(0x363));}[_0x3e9f07(0x387)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x3e9f07(0x2f4)](){return this;}[_0x3e9f07(0x2cc)](){return this;}['toggleOnline'](){var _0x4ee18b=_0x3e9f07;const {_injector:_0x2f07d0,_pendingMutations:_0x2520ca,_awaitingChangeset:_0xf0971d,unitID:_0xbefad8,_handler:_0x57e8e1,type:_0x3dcca7}=this,_0x5e6f4a=Di(_0x2f07d0,_0xbefad8,_0x3dcca7,_0xf0971d,_0x2520ca,_0x57e8e1);return _0x5e6f4a instanceof oe?_0x5e6f4a[_0x4ee18b(0x368)]():(_0x5e6f4a instanceof ae||_0x5e6f4a instanceof ue)&&_0x5e6f4a[_0x4ee18b(0x327)](),_0x5e6f4a;}[_0x3e9f07(0x327)](){var _0x3ae7e5=_0x3e9f07;throw new Error(_0x3ae7e5(0x1e6));}};fe=be([A(0x5,_0x1e11c8(_0x202b1e)),A(0x6,_0x1e11c8(_0x33e8a8)),A(0x7,_0x5f1d0c),A(0x8,_0x34ff18),A(0x9,_0x5a8d4f(X))],fe);let te=class extends Re{constructor(_0x334ac2,_0x58a25f,_0x5c6119,_0x5b2830,_0x5ba19f,_0x58e292,_0x2c3f2a,_0x1e8a2f,_0x2f6f98,_0x4394c2,_0xe8fc02,_0x192606,_0xdb0f6,_0x4cc789){var _0x3a5c1a=_0x3e9f07;super(_0x334ac2,_0x58a25f,_0x5c6119,_0x5b2830,_0x2c3f2a,_0xe8fc02,_0x192606,_0x2f6f98,_0x4cc789),N(this,_0x3a5c1a(0x1c5),_0x3a5c1a(0x3e4)),(this['_acknowledgedAwaitingChangeset']=_0x5ba19f,this['_queuedRemoteChangesets']=_0x58e292,this[_0x3a5c1a(0x484)]=_0x1e8a2f,this[_0x3a5c1a(0x28c)]=_0x4394c2,this['_transformService']=_0xdb0f6,this['localCacheService']=_0x4cc789);}['onMissedChangesetFetched'](_0x4441fc){var _0x991d80=_0x3e9f07;try{const _0x1d3259=[..._0x4441fc,...this['_queuedRemoteChangesets']],_0x173484=[this[_0x991d80(0x29f)]||this[_0x991d80(0x388)]][_0x991d80(0x3bc)](_0x2eec25=>!!_0x2eec25);let _0x5cec55,_0x54366b;if(_0x173484['length']){const _0x3a3a24=this[_0x991d80(0x207)][_0x991d80(0x44a)](_0x1d3259,_0x173484,!0x1);if(!_0x2a45c4(_0x3a3a24))throw _0x3a3a24[_0x991d80(0x3b6)];_0x5cec55=_0x3a3a24[_0x991d80(0x3ab)],_0x54366b=_0x3a3a24[_0x991d80(0x21a)];}else _0x5cec55=_0x1d3259,_0x54366b=[];let _0x3d3c8a=this['_pendingMutations'];_0x5cec55[_0x991d80(0x338)](_0x271a72=>{var _0x2018bc=_0x991d80;let _0x128467;if(_0x3d3c8a['length']){const _0x487660=this[_0x2018bc(0x207)][_0x2018bc(0x2f0)](_0x271a72,_0x3d3c8a);if(!_0x281f21(_0x487660))throw _0x487660[_0x2018bc(0x3b6)];_0x128467=_0x487660['c1Prime'],_0x3d3c8a=_0x487660['m2Prime'];}else _0x128467=_0x271a72;this[_0x2018bc(0x3fc)](_0x128467);}),this[_0x991d80(0x388)]&&this['_incrementRevisionNumber'](),this[_0x991d80(0x29f)]&&_0x54366b[_0x991d80(0x46c)]&&(_0x54366b[0x0][_0x991d80(0x25f)]=this[_0x991d80(0x318)]());let _0x184e60;if(this[_0x991d80(0x29f)]&&_0x3d3c8a['length']!==0x0)_0x184e60=this['_injector'][_0x991d80(0x396)](ae,this[_0x991d80(0x28d)],this[_0x991d80(0x3bb)],_0x54366b[0x0],_0x3d3c8a,this[_0x991d80(0x21f)],void 0x0);else{if(this[_0x991d80(0x29f)]&&_0x3d3c8a[_0x991d80(0x46c)]===0x0)_0x54366b[0x0][_0x991d80(0x25f)]=this['_getCurrentRevision'](),_0x184e60=this['_injector'][_0x991d80(0x396)](ue,this[_0x991d80(0x28d)],this['type'],_0x54366b[0x0],this[_0x991d80(0x21f)]);else{if(_0x3d3c8a[_0x991d80(0x46c)]!==0x0){const _0x1d6d42=this[_0x991d80(0x484)][_0x991d80(0x396)](oe,this[_0x991d80(0x28d)],this['type'],_0x3d3c8a,this[_0x991d80(0x21f)]);_0x1d6d42[_0x991d80(0x368)](),_0x184e60=_0x1d6d42;}else _0x184e60=this[_0x991d80(0x484)]['createInstance'](Ne,this[_0x991d80(0x28d)],this[_0x991d80(0x3bb)],this['_handler']);}}return _0x184e60[_0x991d80(0x234)](),_0x184e60;}catch(_0xbd0b1c){return this['_logService'][_0x991d80(0x3b6)](_0x991d80(0x428),_0x991d80(0x22b),_0xbd0b1c),this['_injector']['createInstance'](de,this[_0x991d80(0x28d)],this['type'],this[_0x991d80(0x29f)],this[_0x991d80(0x1dd)],this[_0x991d80(0x21f)],!0x1);}}[_0x3e9f07(0x327)](){var _0x212f82=_0x3e9f07;throw new Error(_0x212f82(0x2df));}['appendMutation'](_0x293bda){var _0x2f5010=_0x3e9f07;return this[_0x2f5010(0x1dd)][_0x2f5010(0x40c)](_0x293bda),this;}['onRemoteChangeset'](_0xe4428d){var _0x260d1d=_0x3e9f07;return this['_queuedRemoteChangesets'][_0x260d1d(0x40c)](_0xe4428d),this;}[_0x3e9f07(0x1f5)](_0x1ae133){var _0x57741b=_0x3e9f07;if(this[_0x57741b(0x29f)])return this[_0x57741b(0x388)]=this[_0x57741b(0x29f)],this[_0x57741b(0x29f)]=null,this;throw new Error(_0x57741b(0x35f));}['onRemoteRej'](_0x1752c5){var _0x4c57fc=_0x3e9f07;return this['_onConflict'](!!(_0x1752c5!=null&&_0x1752c5[_0x4c57fc(0x3c2)]));}[_0x3e9f07(0x2f4)](){return this;}['toggleOffline'](){var _0x751e3a=_0x3e9f07;return this[_0x751e3a(0x484)][_0x751e3a(0x396)](fe,this[_0x751e3a(0x28d)],this['type'],this[_0x751e3a(0x29f)],this[_0x751e3a(0x1dd)],this['_handler']);}[_0x3e9f07(0x1a2)](){return this;}[_0x3e9f07(0x46e)](_0x1e0a01){var _0x254526=_0x3e9f07;return this[_0x254526(0x484)][_0x254526(0x396)](de,this[_0x254526(0x28d)],this[_0x254526(0x3bb)],this[_0x254526(0x29f)],this['_pendingMutations'],this[_0x254526(0x21f)],_0x1e0a01);}};te=be([A(0x7,_0x1e11c8(_0x202b1e)),A(0x8,_0x1e11c8(_0x33e8a8)),A(0x9,_0x290771),A(0xa,_0x5f1d0c),A(0xb,_0x34ff18),A(0xc,_0x48d905),A(0xd,_0x5a8d4f(X))],te);function Di(_0x3bf7ca,_0x5b5457,_0x58b05e,_0x5989ef,_0x1daa8e,_0x5dee15){var _0x433085=_0x3e9f07;return _0x5989ef&&_0x1daa8e[_0x433085(0x46c)]?_0x3bf7ca[_0x433085(0x396)](ae,_0x5b5457,_0x58b05e,_0x5989ef,_0x1daa8e,_0x5dee15,void 0x0):_0x5989ef?_0x3bf7ca[_0x433085(0x396)](ue,_0x5b5457,_0x58b05e,_0x5989ef,_0x5dee15):_0x1daa8e[_0x433085(0x46c)]?_0x3bf7ca['createInstance'](oe,_0x5b5457,_0x58b05e,_0x1daa8e,_0x5dee15):_0x3bf7ca[_0x433085(0x396)](Ne,_0x5b5457,_0x58b05e,_0x5dee15);}var bs=Object[_0x3e9f07(0x386)],Rs=Object[_0x3e9f07(0x34f)],Mt=(_0x504cee,_0xaa5ac3,_0x296c7e,_0x4b8bc5)=>{var _0x107c9a=_0x3e9f07;for(var _0x42a3a6=_0x4b8bc5>0x1?void 0x0:_0x4b8bc5?Rs(_0xaa5ac3,_0x296c7e):_0xaa5ac3,_0x1fb026=_0x504cee[_0x107c9a(0x46c)]-0x1,_0x368473;_0x1fb026>=0x0;_0x1fb026--)(_0x368473=_0x504cee[_0x1fb026])&&(_0x42a3a6=(_0x4b8bc5?_0x368473(_0xaa5ac3,_0x296c7e,_0x42a3a6):_0x368473(_0x42a3a6))||_0x42a3a6);return _0x4b8bc5&&_0x42a3a6&&bs(_0xaa5ac3,_0x296c7e,_0x42a3a6),_0x42a3a6;},k=(_0x5b35cb,_0xa487a8)=>(_0x282141,_0x57a149)=>_0xa487a8(_0x282141,_0x57a149,_0x5b35cb);let st=class extends _0x37e680{constructor(_0x101068,_0x50f992,_0x29db8c,_0x353430,_0x3f8171,_0x3f8c7f,_0x24493d,_0x34ddbb,_0x5e37ef,_0x249b86,_0x20cab4,_0x2cb330,_0x319cdb){var _0x303f30=_0x3e9f07;super(),N(this,_0x303f30(0x40f),new _0x251b5f(null)),N(this,_0x303f30(0x34c),this[_0x303f30(0x40f)]['asObservable']()),N(this,_0x303f30(0x328)),N(this,'_collaborationPaused',!0x1),N(this,'_changesetSessionId',''),N(this,_0x303f30(0x1da),0x0),N(this,_0x303f30(0x2fa),this[_0x303f30(0x34c)][_0x303f30(0x3c9)](_0x4ca8a8(_0x8a96a3=>_0x8a96a3?_0x8a96a3['status']:Pi[_0x303f30(0x297)]),_0x17a180(0x1))),N(this,_0x303f30(0x1ac),!0x1),N(this,_0x303f30(0x356),[]),(this[_0x303f30(0x28d)]=_0x101068,this['session']=_0x50f992,this[_0x303f30(0x2a7)]=_0x29db8c,this[_0x303f30(0x484)]=_0x353430,this[_0x303f30(0x1b4)]=_0x3f8171,this[_0x303f30(0x350)]=_0x3f8c7f,this[_0x303f30(0x1ca)]=_0x24493d,this[_0x303f30(0x447)]=_0x34ddbb,this[_0x303f30(0x28c)]=_0x5e37ef,this[_0x303f30(0x233)]=_0x249b86,this[_0x303f30(0x48b)]=_0x20cab4,this[_0x303f30(0x1ab)]=_0x2cb330,this[_0x303f30(0x2a4)]=_0x319cdb);}get[_0x3e9f07(0x48f)](){return this['_state'];}async[_0x3e9f07(0x3ad)](){var _0x2723b2=_0x3e9f07;if(this[_0x2723b2(0x48f)])throw new Error(_0x2723b2(0x3a1));await this['_init']();}[_0x3e9f07(0x49b)](){var _0x1876aa=_0x3e9f07;return this[_0x1876aa(0x256)]=!0x0,_0x30d46b(()=>{var _0x115dd1=_0x1876aa;this[_0x115dd1(0x256)]=!0x1,this[_0x115dd1(0x1f0)]();});}[_0x3e9f07(0x29b)](_0x4a3bad){var _0x4a97e3=_0x3e9f07;this[_0x4a97e3(0x46f)](_0x4a3bad);}[_0x3e9f07(0x33b)](_0x4c9931){var _0x986591=_0x3e9f07;this[_0x986591(0x328)]=_0x4c9931,this[_0x986591(0x40f)][_0x986591(0x384)](_0x4c9931);}async['_init'](){var _0x69e777=_0x3e9f07,_0x503721;this[_0x69e777(0x33b)](await this['_createInitialState']()),this[_0x69e777(0x1ab)]&&((_0x503721=this[_0x69e777(0x1ab)])==null||_0x503721[_0x69e777(0x48c)](this[_0x69e777(0x28d)]),this[_0x69e777(0x1be)](this['_singleActiveUnitService'][_0x69e777(0x1f9)](this[_0x69e777(0x28d)])[_0x69e777(0x2e5)](_0x25e1b3=>{var _0x5cb9f2=_0x69e777;this['_logService'][_0x5cb9f2(0x3cf)](_0x5cb9f2(0x1b3),_0x5cb9f2(0x390),_0x25e1b3),_0x25e1b3===yi[_0x5cb9f2(0x2ad)]?(this[_0x5cb9f2(0x447)][_0x5cb9f2(0x29e)]({'id':re['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x5cb9f2(0x405)](new _0x50259a(this['unitID'])['id'],!0x1),this[_0x5cb9f2(0x48b)]['setShowComponents'](!0x1)):(this['_permissionService'][_0x5cb9f2(0x405)](new _0x50259a(this['unitID'])['id'],!0x0),this[_0x5cb9f2(0x48b)][_0x5cb9f2(0x301)](!0x0));})));let _0x456b60=!0x1;return this[_0x69e777(0x1be)](this['session'][_0x69e777(0x46a)]['subscribe'](_0x310d58=>{var _0x533ccd=_0x69e777;_0x310d58===Te[_0x533ccd(0x1c9)]?this['_toggleOnline'](_0x456b60):_0x310d58===Te['OFFLINE']&&(_0x456b60=!0x0,this[_0x533ccd(0x1af)]());})),this['disposeWithMe'](this['session'][_0x69e777(0x240)][_0x69e777(0x2e5)](_0x57c65f=>{var _0x228c8d=_0x69e777;try{switch(_0x57c65f[_0x228c8d(0x35c)]){case _0x2f82c9[_0x228c8d(0x3fd)]:{this[_0x228c8d(0x3dd)](_0x5c92cc(_0x57c65f[_0x228c8d(0x221)]));break;}case _0x2f82c9['CHANGESET_ACK']:{this[_0x228c8d(0x1e4)](_0x57c65f[_0x228c8d(0x221)]);break;}case _0x2f82c9[_0x228c8d(0x30d)]:{this[_0x228c8d(0x44f)]();break;}case _0x2f82c9[_0x228c8d(0x1cf)]:{this['_onRemoteRetry'](_0x57c65f[_0x228c8d(0x221)]);break;}case _0x2f82c9[_0x228c8d(0x1a3)]:{this[_0x228c8d(0x46d)](_0x57c65f[_0x228c8d(0x221)][_0x228c8d(0x204)][_0x228c8d(0x1c8)](_0x39240a=>_0x5c92cc(_0x39240a)));break;}case _0x2f82c9[_0x228c8d(0x3b9)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x2f82c9[_0x228c8d(0x444)]:break;}}catch(_0x26f8cf){throw console['error'](_0x228c8d(0x224),_0x26f8cf),_0x26f8cf;}})),this['_state'];}[_0x3e9f07(0x2ee)](){var _0x3fda35=_0x3e9f07;this[_0x3fda35(0x1ac)]=!0x1;}[_0x3e9f07(0x33f)](){var _0x3898b4=_0x3e9f07;if(this['_transitionLocked'])throw new Error(_0x3898b4(0x1fb));this[_0x3898b4(0x1ac)]=!0x0;}[_0x3e9f07(0x46f)](_0x41d75c){var _0x4febbb=_0x3e9f07;this[_0x4febbb(0x33f)](),this[_0x4febbb(0x33b)](this[_0x4febbb(0x328)][_0x4febbb(0x426)](_0x41d75c)),this['_unlockTransition']();}[_0x3e9f07(0x3dd)](_0x3826c1){var _0x5c4850=_0x3e9f07;if(!(_0x3826c1[_0x5c4850(0x493)]<=this[_0x5c4850(0x1ca)][_0x5c4850(0x2f5)](this[_0x5c4850(0x28d)]))){if(this['_collaborationPaused']){this[_0x5c4850(0x356)]['push'](_0x3826c1);return;}this[_0x5c4850(0x354)](_0x3826c1);}}[_0x3e9f07(0x1f0)](){var _0x4e3243=_0x3e9f07;this[_0x4e3243(0x356)]['forEach'](_0x52bf5e=>this['_applyRemoteChangeset'](_0x52bf5e)),this[_0x4e3243(0x356)]=[];}[_0x3e9f07(0x354)](_0x86f791){var _0xb431a9=_0x3e9f07;const _0x2c31dd=this[_0xb431a9(0x1b4)][_0xb431a9(0x41e)][_0xb431a9(0x284)](this[_0xb431a9(0x1b4)][_0xb431a9(0x41e)][_0xb431a9(0x24e)]()[_0xb431a9(0x3b4)])(_0x86f791[_0xb431a9(0x42e)],null)||_0x86f791[_0xb431a9(0x42e)],_0x49a9b7={..._0x86f791,'mutations':_0x2c31dd};this[_0xb431a9(0x33f)](),this[_0xb431a9(0x33b)](this['_state']['onRemoteChangeset'](_0x49a9b7)),this[_0xb431a9(0x2ee)]();}['_onRemoteACK'](_0x2df5ee){var _0x3e967e=_0x3e9f07;this[_0x3e967e(0x33f)](),this[_0x3e967e(0x33b)](this[_0x3e967e(0x328)][_0x3e967e(0x1f5)](_0x2df5ee)),this[_0x3e967e(0x2ee)]();}[_0x3e9f07(0x44f)](_0x65eb0d){var _0x56ee2f=_0x3e9f07;this[_0x56ee2f(0x33f)](),this['_updateState'](this[_0x56ee2f(0x328)][_0x56ee2f(0x387)](_0x65eb0d)),this[_0x56ee2f(0x2ee)]();}[_0x3e9f07(0x3a0)](_0x551a69){var _0x25a445=_0x3e9f07;this['_lockTransition'](),this['_updateState'](this['_state'][_0x25a445(0x2f4)](_0x551a69)),this[_0x25a445(0x2ee)]();}['_onFetchMissResult'](_0x203269){var _0x13f88d=_0x3e9f07;if(!(this[_0x13f88d(0x328)]instanceof te))throw new TypeError(_0x13f88d(0x443));const _0x12b7c1=_0x203269[_0x13f88d(0x1c8)](_0x54f893=>{var _0x30e326=_0x13f88d;const _0x24bc74=this[_0x30e326(0x1b4)][_0x30e326(0x41e)][_0x30e326(0x284)](this[_0x30e326(0x1b4)][_0x30e326(0x41e)][_0x30e326(0x24e)]()[_0x30e326(0x3b4)])(_0x54f893['mutations'],null)||_0x54f893[_0x30e326(0x42e)];return{..._0x54f893,'mutations':_0x24bc74};});this[_0x13f88d(0x33f)](),this[_0x13f88d(0x33b)](this[_0x13f88d(0x328)][_0x13f88d(0x4a6)](_0x12b7c1)),this[_0x13f88d(0x2ee)]();}[_0x3e9f07(0x1af)](){var _0x5491c1=_0x3e9f07;this[_0x5491c1(0x33f)](),this[_0x5491c1(0x33b)](this[_0x5491c1(0x328)][_0x5491c1(0x2cc)]()),this[_0x5491c1(0x2ee)]();}['_toggleOnline'](_0x4e05eb=!0x1){var _0x3a0613=_0x3e9f07;this['_lockTransition'](),this[_0x3a0613(0x33b)](this[_0x3a0613(0x328)][_0x3a0613(0x1a2)]()),this[_0x3a0613(0x2ee)]();const _0x2d0572=this[_0x3a0613(0x328)];_0x4e05eb&&_0x2d0572 instanceof Ne&&(this[_0x3a0613(0x33f)](),this[_0x3a0613(0x33b)](_0x2d0572[_0x3a0613(0x2e9)]()),this[_0x3a0613(0x2ee)]());}async[_0x3e9f07(0x427)](){return new Promise(_0x2df2f0=>{var _0x150a88=_0x4dcf;this['session'][_0x150a88(0x46a)][_0x150a88(0x3c9)](_0x49f8ab(0x1))[_0x150a88(0x2e5)](async _0x2f0659=>{var _0x1b4d0f=_0x150a88;_0x2df2f0(await this[_0x1b4d0f(0x1bb)](_0x2f0659===Te['ONLINE']));});});}[_0x3e9f07(0x45f)](){var _0x158771=_0x3e9f07;const _0x405e7e=this[_0x158771(0x28d)];return{'onStateChange':(_0x975857,_0x498174)=>{var _0x597b6b=_0x158771;if(_0x975857!==this[_0x597b6b(0x328)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x975857['status']+_0x597b6b(0x331)+_0x498174['status']+_0x597b6b(0x3c7)+this[_0x597b6b(0x328)][_0x597b6b(0x1c5)]);this['_updateState'](_0x498174);},'onSendChangeset':_0x3b0658=>{var _0x4a7cc1=_0x158771;_0x3b0658['sid']||(_0x3b0658[_0x4a7cc1(0x322)]=this['_changesetSessionId'],_0x3b0658[_0x4a7cc1(0x446)]=++this[_0x4a7cc1(0x1da)]);const _0x1b9a45={'eventID':_0x2f82c9[_0x4a7cc1(0x44b)],'data':{'unitID':_0x3b0658['unitID'],'unitType':this[_0x4a7cc1(0x2a7)],'changeset':_0x3b0658,'memberID':this[_0x4a7cc1(0x1ed)]['getMemberID']()}};this[_0x4a7cc1(0x1ed)][_0x4a7cc1(0x485)](_0x1b9a45,this['unitID']);},'onMissingChangesets':({from:_0x42a842,to:_0x15abd6})=>{var _0x4251c3=_0x158771;this[_0x4251c3(0x28c)][_0x4251c3(0x3cf)](_0x4251c3(0x1b3),_0x4251c3(0x452)+_0x42a842+_0x4251c3(0x394)+_0x15abd6);const _0x11338c={'eventID':_0x2f82c9[_0x4251c3(0x1cc)],'data':{'unitID':_0x405e7e,'unitType':this[_0x4251c3(0x2a7)],'from':_0x42a842,'to':_0x15abd6}};this[_0x4251c3(0x1ed)][_0x4251c3(0x485)](_0x11338c,this[_0x4251c3(0x28d)]);}};}async[_0x3e9f07(0x1bb)](_0x73b2e6){var _0x435bd5=_0x3e9f07,_0x2c1476,_0x59d63a,_0x3b0593;const _0x10a2c5=await((_0x2c1476=this[_0x435bd5(0x2a4)])==null?void 0x0:_0x2c1476[_0x435bd5(0x218)](this['unitID'])),_0x254bc2=(_0x59d63a=_0x10a2c5==null?void 0x0:_0x10a2c5[_0x435bd5(0x42e)])!=null?_0x59d63a:[],_0x4d8342=(_0x3b0593=_0x10a2c5==null?void 0x0:_0x10a2c5['awaitingChangeset'])!=null?_0x3b0593:null,_0x2d5e24=!!(_0x4d8342!=null&&_0x4d8342[_0x435bd5(0x322)])&&!!(_0x4d8342!=null&&_0x4d8342[_0x435bd5(0x446)]);this['_changesetSessionId']=_0x2d5e24?_0x4d8342[_0x435bd5(0x322)]:fs(),this[_0x435bd5(0x1da)]=_0x2d5e24?_0x4d8342['reqId']:0x0;const _0x5ae1bc=this[_0x435bd5(0x28d)];try{this['_replayCachedMutations'](_0x4d8342,_0x254bc2);}catch(_0x2ec3c9){this[_0x435bd5(0x28c)][_0x435bd5(0x3b6)](_0x2ec3c9);}const _0x2ffe3b=this[_0x435bd5(0x45f)]();if(_0x73b2e6){const _0x38d5a2=Di(this[_0x435bd5(0x484)],_0x5ae1bc,this[_0x435bd5(0x2a7)],_0x4d8342,_0x254bc2,_0x2ffe3b);return _0x38d5a2 instanceof oe?_0x38d5a2[_0x435bd5(0x368)]():(_0x38d5a2 instanceof ae||_0x38d5a2 instanceof ue)&&_0x38d5a2['resend'](),_0x38d5a2;}return this['_injector'][_0x435bd5(0x396)](fe,_0x5ae1bc,this[_0x435bd5(0x2a7)],_0x4d8342,_0x254bc2,_0x2ffe3b);}[_0x3e9f07(0x1a6)](_0xeb6b0a,_0x341146){var _0x4c4dd7=_0x3e9f07,_0x21b4a6,_0x10e4fc;const _0x3213f1=this[_0x4c4dd7(0x1b4)]['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x4c4dd7(0x41e)][_0x4c4dd7(0x24e)]()[_0x4c4dd7(0x3b4)]);(_0x21b4a6=_0x3213f1((_0xeb6b0a==null?void 0x0:_0xeb6b0a[_0x4c4dd7(0x42e)])||[],null))==null||_0x21b4a6['forEach'](_0x36c957=>this[_0x4c4dd7(0x233)][_0x4c4dd7(0x3e1)](_0x36c957['id'],_0x36c957[_0x4c4dd7(0x299)])),(_0x10e4fc=_0x3213f1(_0x341146||[],null))==null||_0x10e4fc[_0x4c4dd7(0x338)](_0x3196fe=>this['_commandService'][_0x4c4dd7(0x3e1)](_0x3196fe['id'],_0x3196fe[_0x4c4dd7(0x299)]));}};st=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(pe)),k(0x8,_0x290771),k(0x9,_0x5f1d0c),k(0xa,_0x11d5fc),k(0xb,_0x5a8d4f(_t)),k(0xc,_0x5a8d4f(X))],st);let Ct=class extends st{constructor(_0x2161c1,_0x33714d,_0x33e0d2,_0x28ae63,_0x2683c1,_0x2d6bfd,_0x4b4462,_0x2d8ac9,_0x307afe,_0x2b5265,_0x35df5b,_0x13cbf4,_0x4a7d5f){var _0x5a2e65=_0x3e9f07;super(_0x2161c1,_0x33e0d2,_0x33714d,_0x28ae63,_0x2683c1,_0x2d6bfd,_0x4b4462,_0x2d8ac9,_0x307afe,_0x2b5265,_0x35df5b,_0x13cbf4,_0x4a7d5f),N(this,'_handlerCallback',null),(this[_0x5a2e65(0x28d)]=_0x2161c1,this[_0x5a2e65(0x3bb)]=_0x33714d);}[_0x3e9f07(0x1fd)](_0xcfa5a2){var _0x3f3ce9=_0x3e9f07;this[_0x3f3ce9(0x3ce)]=_0xcfa5a2;}[_0x3e9f07(0x24d)](){var _0x3a9eb6=_0x3e9f07;this[_0x3a9eb6(0x3ce)]=null,super[_0x3a9eb6(0x24d)]();}[_0x3e9f07(0x45f)](){var _0x259150=_0x3e9f07;const _0x255f71=super[_0x259150(0x45f)]();return _0x255f71['onTransformIME']=_0x59cc1d=>{var _0x3eb45a=_0x259150,_0x48f1bb,_0x52b3d5;return(_0x52b3d5=(_0x48f1bb=this[_0x3eb45a(0x3ce)])==null?void 0x0:_0x48f1bb['onTransformIME'])==null?void 0x0:_0x52b3d5[_0x3eb45a(0x26b)](_0x48f1bb,_0x59cc1d);},_0x255f71[_0x259150(0x2f8)]=_0x82341=>{var _0x22640a=_0x259150,_0xa37860,_0x2b88b5;return(_0x2b88b5=(_0xa37860=this['_handlerCallback'])==null?void 0x0:_0xa37860[_0x22640a(0x2f8)])==null?void 0x0:_0x2b88b5[_0x22640a(0x26b)](_0xa37860,_0x82341);},_0x255f71[_0x259150(0x3f4)]=_0x1f8d7d=>{var _0x50bc7d=_0x259150,_0x1f92fd,_0x1135be;return(_0x1135be=(_0x1f92fd=this['_handlerCallback'])==null?void 0x0:_0x1f92fd[_0x50bc7d(0x3f4)])==null?void 0x0:_0x1135be['call'](_0x1f92fd,_0x1f8d7d);},_0x255f71[_0x259150(0x3c8)]=_0xb4cef7=>{var _0x49808f=_0x259150,_0x2464ea,_0x27e314;return(_0x27e314=(_0x2464ea=this[_0x49808f(0x3ce)])==null?void 0x0:_0x2464ea[_0x49808f(0x3c8)])==null?void 0x0:_0x27e314[_0x49808f(0x26b)](_0x2464ea,_0xb4cef7);},_0x255f71[_0x259150(0x379)]=_0x19eb97=>{var _0x310054=_0x259150,_0x470c76,_0xbebefa,_0x60d8e;if(!((_0x470c76=this[_0x310054(0x3ce)])!=null&&_0x470c76[_0x310054(0x379)]))throw new Error(_0x310054(0x255));return(_0x60d8e=(_0xbebefa=this[_0x310054(0x3ce)])==null?void 0x0:_0xbebefa[_0x310054(0x379)])==null?void 0x0:_0x60d8e[_0x310054(0x26b)](_0xbebefa,_0x19eb97);},_0x255f71[_0x259150(0x26d)]=_0x43b870=>{var _0x5885a3=_0x259150,_0x53fb7f,_0x19d42b,_0x192d62;if(!((_0x53fb7f=this[_0x5885a3(0x3ce)])!=null&&_0x53fb7f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x5885a3(0x43f));return(_0x192d62=(_0x19d42b=this[_0x5885a3(0x3ce)])==null?void 0x0:_0x19d42b[_0x5885a3(0x26d)])==null?void 0x0:_0x192d62[_0x5885a3(0x26b)](_0x19d42b,_0x43b870);},_0x255f71;}async['_init'](){var _0x47b257=_0x3e9f07;const _0x18b515=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x47b257(0x1d7)]((_0x1b47f6,_0x56eb91)=>{var _0x279b2d=_0x47b257;if(_0x1b47f6[_0x279b2d(0x3bb)]!==_0x245250['MUTATION']||_0x56eb91!=null&&_0x56eb91['fromCollab']||_0x56eb91!=null&&_0x56eb91[_0x279b2d(0x404)]||_0x1b47f6['id']===_0x514974['id'])return;const _0x4a3e14=_0x1b47f6[_0x279b2d(0x299)];if((_0x4a3e14==null?void 0x0:_0x4a3e14[_0x279b2d(0x246)])!==this[_0x279b2d(0x28d)])return;const _0x508089=_0x1b47f6,_0xd1a9dc=this[_0x279b2d(0x1b4)][_0x279b2d(0x41e)][_0x279b2d(0x284)](this[_0x279b2d(0x1b4)]['interceptor'][_0x279b2d(0x24e)]()[_0x279b2d(0x42c)])([_0x508089],null)||[_0x508089];this[_0x279b2d(0x46f)](_0xd1a9dc[0x0]);})),_0x18b515;}};Ct=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(pe)),k(0x8,_0x290771),k(0x9,_0x5f1d0c),k(0xa,_0x11d5fc),k(0xb,_0x5a8d4f(_t)),k(0xc,_0x5a8d4f(X))],Ct);let bt=class extends st{constructor(_0x16c74c,_0x582734,_0x2f905d,_0x127464,_0x1bd93d,_0x5cce02,_0x5c3a45,_0x251057,_0x4ef83d,_0x12672e,_0x4d2c1a,_0x5444ef,_0x4fb616,_0x1243a9){var _0x3c3709=_0x3e9f07;super(_0x16c74c,_0x2f905d,_0x582734,_0x127464,_0x1bd93d,_0x5cce02,_0x5c3a45,_0x4ef83d,_0x12672e,_0x4d2c1a,_0x5444ef,_0x4fb616,_0x1243a9),this[_0x3c3709(0x28d)]=_0x16c74c,this['type']=_0x582734,this[_0x3c3709(0x286)]=_0x251057;}[_0x3e9f07(0x45f)](){var _0x4c1ca5=_0x3e9f07;const _0x5ba5e0=super[_0x4c1ca5(0x45f)]();return _0x5ba5e0['onTransformSelections']=_0x468938=>this[_0x4c1ca5(0x286)][_0x4c1ca5(0x304)](_0x468938),_0x5ba5e0;}async[_0x3e9f07(0x2e7)](){var _0x107393=_0x3e9f07;const _0x563c12=await super['_init']();return this['disposeWithMe'](this[_0x107393(0x233)][_0x107393(0x1d7)]((_0x281f2f,_0x2d5bbd)=>{var _0x499edb=_0x107393;if(_0x281f2f[_0x499edb(0x3bb)]!==_0x245250[_0x499edb(0x389)]||_0x2d5bbd!=null&&_0x2d5bbd['fromCollab']||_0x2d5bbd!=null&&_0x2d5bbd[_0x499edb(0x404)])return;const _0x41912a=_0x281f2f[_0x499edb(0x299)];if((_0x41912a==null?void 0x0:_0x41912a[_0x499edb(0x246)])!==this[_0x499edb(0x28d)])return;const _0x52d4dd=_0x281f2f,_0x59c48b=this[_0x499edb(0x1b4)][_0x499edb(0x41e)][_0x499edb(0x284)](this[_0x499edb(0x1b4)][_0x499edb(0x41e)]['getInterceptPoints']()[_0x499edb(0x42c)])([_0x52d4dd],null)||[_0x52d4dd];this[_0x499edb(0x46f)](_0x59c48b[0x0]);})),_0x563c12;}};bt=Mt([k(0x3,_0x1e11c8(_0x202b1e)),k(0x4,_0x1e11c8(_0x36de87)),k(0x5,_0x1e11c8(_0xeb3187)),k(0x6,_0x1e11c8(_0x33e8a8)),k(0x7,_0x1e11c8(nt)),k(0x8,_0x1e11c8(pe)),k(0x9,_0x290771),k(0xa,_0x5f1d0c),k(0xb,_0x11d5fc),k(0xc,_0x5a8d4f(_t)),k(0xd,_0x5a8d4f(X))],bt);var ys=Object[_0x3e9f07(0x386)],Os=Object[_0x3e9f07(0x34f)],Ps=(_0x18717f,_0x153084,_0x4ef7ac,_0x34220f)=>{for(var _0x4bd016=_0x34220f>0x1?void 0x0:_0x34220f?Os(_0x153084,_0x4ef7ac):_0x153084,_0x11d553=_0x18717f['length']-0x1,_0x4f1978;_0x11d553>=0x0;_0x11d553--)(_0x4f1978=_0x18717f[_0x11d553])&&(_0x4bd016=(_0x34220f?_0x4f1978(_0x153084,_0x4ef7ac,_0x4bd016):_0x4f1978(_0x4bd016))||_0x4bd016);return _0x34220f&&_0x4bd016&&ys(_0x153084,_0x4ef7ac,_0x4bd016),_0x4bd016;},vt=(_0x5683ae,_0x194b10)=>(_0x5a11e5,_0x25dc9e)=>_0x194b10(_0x5a11e5,_0x25dc9e,_0x5683ae);let rt=class extends _0x37e680{constructor(_0x467067,_0x2b0b73,_0x507087){var _0x211f87=_0x3e9f07;super(),N(this,_0x211f87(0x20e),new Map()),N(this,'_entityInit$',new _0x459b05()),N(this,_0x211f87(0x429),this[_0x211f87(0x1ad)][_0x211f87(0x3fa)]()),(this[_0x211f87(0x484)]=_0x467067,this['_collabSessionService']=_0x2b0b73,this['_univerInstanceService']=_0x507087,this[_0x211f87(0x2e7)]());}[_0x3e9f07(0x24d)](){var _0x271d8=_0x3e9f07;super[_0x271d8(0x24d)](),this['_entities'][_0x271d8(0x338)](_0x3fa31c=>_0x3fa31c[_0x271d8(0x24d)]()),this[_0x271d8(0x20e)]['clear']();}[_0x3e9f07(0x1e2)](_0xd0c307){var _0x33e0c3=_0x3e9f07,_0x5d4bed;return(_0x5d4bed=this[_0x33e0c3(0x20e)][_0x33e0c3(0x220)](_0xd0c307))!=null?_0x5d4bed:null;}[_0x3e9f07(0x37f)](_0x23260f){var _0x123861=_0x3e9f07;const _0x33b060=this[_0x123861(0x1e2)](_0x23260f);return _0x33b060?_0x1d4dee(_0x33b060):this['_entityInit$'][_0x123861(0x3c9)](_0x3bdd8d(_0x5c9b88=>_0x5c9b88[_0x123861(0x28d)]===_0x23260f));}[_0x3e9f07(0x44e)](_0x395215){var _0x2764bf=_0x3e9f07;return _0x284690(this[_0x2764bf(0x37f)](_0x395215)[_0x2764bf(0x3c9)](_0x5c84b6(()=>{})));}[_0x3e9f07(0x2e7)](){var _0x36e626=_0x3e9f07;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2188e5[_0x36e626(0x2fe)])['pipe'](_0x103f03(this['dispose$']),_0xf38ea6(0x10))[_0x36e626(0x2e5)](async _0xfd8e2f=>{var _0x21cb0d=_0x36e626;const _0x1bcfd1=_0xfd8e2f[_0x21cb0d(0x351)](),_0x3a51d6=await this['_startCollaboration'](_0x1bcfd1,Q['UNIVER_SHEET']);this[_0x21cb0d(0x20e)]['set'](_0x1bcfd1,_0x3a51d6);}),this[_0x36e626(0x33c)][_0x36e626(0x3b2)](_0x2188e5[_0x36e626(0x36e)])[_0x36e626(0x3c9)](_0x103f03(this[_0x36e626(0x2be)]),_0xf38ea6(0x10))[_0x36e626(0x3c9)](_0x3bdd8d(_0x41242b=>!_0x41242b[_0x36e626(0x351)]()['startsWith']('__')))[_0x36e626(0x2e5)](async _0x149802=>{var _0xebeca8=_0x36e626;const _0x3bda3b=_0x149802['getUnitId'](),_0x23fc1c=await this['_startCollaboration'](_0x3bda3b,Q[_0xebeca8(0x36e)]);this[_0xebeca8(0x20e)][_0xebeca8(0x442)](_0x3bda3b,_0x23fc1c);}),_0x35784b(this[_0x36e626(0x33c)][_0x36e626(0x39c)](_0x2188e5[_0x36e626(0x2fe)]),this['_univerInstanceService'][_0x36e626(0x39c)](_0x2188e5['UNIVER_DOC']))[_0x36e626(0x3c9)](_0x103f03(this['dispose$']))['subscribe'](_0x5d08ad=>{var _0x32ae7f=_0x36e626;const _0x3408c8=_0x5d08ad[_0x32ae7f(0x351)](),_0xd92ccf=this[_0x32ae7f(0x20e)][_0x32ae7f(0x220)](_0x3408c8);_0xd92ccf&&(_0xd92ccf[_0x32ae7f(0x24d)](),this[_0x32ae7f(0x20e)]['delete'](_0x3408c8));});}async['_startCollaboration'](_0x110fe2,_0x273e27){var _0x422c4d=_0x3e9f07;const _0x2a4904=await this[_0x422c4d(0x454)][_0x422c4d(0x261)](_0x110fe2),_0x3c8fd7=this['_injector'][_0x422c4d(0x396)](this[_0x422c4d(0x49f)](_0x273e27),_0x110fe2,_0x273e27,_0x2a4904);return await _0x3c8fd7[_0x422c4d(0x3ad)](),this[_0x422c4d(0x1ad)]['next'](_0x3c8fd7),_0x3c8fd7;}['_getCtorByUniverType'](_0x678d5f){var _0x52ea12=_0x3e9f07;switch(_0x678d5f){case Q[_0x52ea12(0x36e)]:return Ct;case Q[_0x52ea12(0x2fe)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x678d5f);}}};rt=Ps([vt(0x0,_0x1e11c8(_0x202b1e)),vt(0x1,_0x1e11c8(Le)),vt(0x2,_0x2bea00)],rt);var Ns=Object['defineProperty'],Ds=Object[_0x3e9f07(0x34f)],ws=(_0x57b91b,_0x108dc2,_0x11d1fe,_0x419a33)=>{var _0x5e5f45=_0x3e9f07;for(var _0x2d00df=_0x419a33>0x1?void 0x0:_0x419a33?Ds(_0x108dc2,_0x11d1fe):_0x108dc2,_0x508151=_0x57b91b[_0x5e5f45(0x46c)]-0x1,_0x376648;_0x508151>=0x0;_0x508151--)(_0x376648=_0x57b91b[_0x508151])&&(_0x2d00df=(_0x419a33?_0x376648(_0x108dc2,_0x11d1fe,_0x2d00df):_0x376648(_0x2d00df))||_0x2d00df);return _0x419a33&&_0x2d00df&&Ns(_0x108dc2,_0x11d1fe,_0x2d00df),_0x2d00df;},Xt=(_0x442dc8,_0x3a63d2)=>(_0x536d48,_0xa9696b)=>_0x3a63d2(_0x536d48,_0xa9696b,_0x442dc8);const Us=_0x3e9f07(0x228),As=_0x3e9f07(0x492);let Rt=class extends _0x2f099f{constructor(_0x2027f1,_0xa02d35){var _0x17afbb=_0x3e9f07;super(),this[_0x17afbb(0x33c)]=_0x2027f1,this[_0x17afbb(0x31f)]=_0xa02d35,this[_0x17afbb(0x2e7)]();}[_0x3e9f07(0x2e7)](){var _0x4cf01a=_0x3e9f07;this[_0x4cf01a(0x1be)](this[_0x4cf01a(0x33c)]['focused$'][_0x4cf01a(0x2e5)](()=>{var _0x411895=_0x4cf01a,_0x8cccf6;const _0x3f1e59=this[_0x411895(0x33c)]['getFocusedUnit']();let _0x85e82f=(_0x8cccf6=this['_configService'][_0x411895(0x1d9)](Us))!=null?_0x8cccf6:As;_0x3f1e59 instanceof _0x268dfd&&(_0x85e82f=_0x3f1e59['name']),document[_0x411895(0x290)]=_0x85e82f;}));}};Rt=ws([Xt(0x0,_0x2bea00),Xt(0x1,_0x155bcb)],Rt);var xs=Object['defineProperty'],Ls=Object[_0x3e9f07(0x34f)],Ms=(_0x4686e9,_0x11a8e6,_0x105ea0,_0x4cfd8f)=>{var _0x54900e=_0x3e9f07;for(var _0x1648a7=_0x4cfd8f>0x1?void 0x0:_0x4cfd8f?Ls(_0x11a8e6,_0x105ea0):_0x11a8e6,_0x172a45=_0x4686e9[_0x54900e(0x46c)]-0x1,_0x49492c;_0x172a45>=0x0;_0x172a45--)(_0x49492c=_0x4686e9[_0x172a45])&&(_0x1648a7=(_0x4cfd8f?_0x49492c(_0x11a8e6,_0x105ea0,_0x1648a7):_0x49492c(_0x1648a7))||_0x1648a7);return _0x4cfd8f&&_0x1648a7&&xs(_0x11a8e6,_0x105ea0,_0x1648a7),_0x1648a7;},pt=(_0x34213a,_0x43a4ce)=>(_0xac0ff7,_0x2986c1)=>_0x43a4ce(_0xac0ff7,_0x2986c1,_0x34213a);let ot=class{constructor(_0x53065c,_0x54974f,_0x207ba1){var _0x5e6155=_0x3e9f07;this[_0x5e6155(0x31f)]=_0x53065c,this[_0x5e6155(0x238)]=_0x54974f,this['localeService']=_0x207ba1,this[_0x5e6155(0x3ad)]();}[_0x3e9f07(0x3ad)](){var _0xec8f89=_0x3e9f07;this[_0xec8f89(0x238)][_0xec8f89(0x308)]({'priority':0x1,'interceptor':(_0x2af82e,_0xad646e)=>_0xad646e(_0x2af82e)['pipe'](_0x325aa3(async _0x31d545=>{var _0x331daf=_0xec8f89;const _0x50fa21=_0x31d545;if(_0x50fa21['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x331daf(0x2fc)](this[_0x331daf(0x1bd)]['t']('auth.needGotoLoginAlert'))){const _0x40b287=window[_0x331daf(0x30a)](window['location']['href']);window['location']['href']=this[_0x331daf(0x201)]()+_0x331daf(0x49c)+_0x40b287;}}return _0x50fa21;}))});}[_0x3e9f07(0x201)](){var _0x2f8337=_0x3e9f07,_0x2e4e6d,_0x886680;const _0x56c2df=this[_0x2f8337(0x31f)]['getConfig'](Fn),_0x15465c=this[_0x2f8337(0x31f)][_0x2f8337(0x1d9)](Y);return(_0x886680=(_0x2e4e6d=_0x15465c==null?void 0x0:_0x15465c[_0x2f8337(0x385)])!=null?_0x2e4e6d:_0x56c2df)!=null?_0x886680:Vn;}};ot=Ms([pt(0x0,_0x155bcb),pt(0x1,_0x1e11c8(_0x26621f)),pt(0x2,_0x1e11c8(_0xeb3187))],ot);var $s=Object[_0x3e9f07(0x386)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x1817d1,_0x14036c,_0x4d791f,_0x1da1e4)=>{var _0x9a4e35=_0x3e9f07;for(var _0x3e23e6=_0x1da1e4>0x1?void 0x0:_0x1da1e4?Hs(_0x14036c,_0x4d791f):_0x14036c,_0x140b60=_0x1817d1[_0x9a4e35(0x46c)]-0x1,_0x14a155;_0x140b60>=0x0;_0x140b60--)(_0x14a155=_0x1817d1[_0x140b60])&&(_0x3e23e6=(_0x1da1e4?_0x14a155(_0x14036c,_0x4d791f,_0x3e23e6):_0x14a155(_0x3e23e6))||_0x3e23e6);return _0x1da1e4&&_0x3e23e6&&$s(_0x14036c,_0x4d791f,_0x3e23e6),_0x3e23e6;},Zt=(_0x17d850,_0x8d10f4)=>(_0x1fdc32,_0x1f54e2)=>_0x8d10f4(_0x1fdc32,_0x1f54e2,_0x17d850);const wi='AUTHZ_URL_KEY',js=_0x3e9f07(0x311);let yt=class extends _0x2f099f{constructor(_0x6f8d41,_0x560773){var _0x424a37=_0x3e9f07;super(),this[_0x424a37(0x41d)]=_0x6f8d41,this[_0x424a37(0x31f)]=_0x560773,this[_0x424a37(0x3c4)]();}[_0x3e9f07(0x3c4)](){var _0x29e578=_0x3e9f07;const _0x2e68a5=this;this[_0x29e578(0x1be)](this[_0x29e578(0x41d)][_0x29e578(0x308)]({'priority':0x3e7,'interceptor':_0x4ec799({'isMatch'(_0x399987){var _0x4ee5a0=_0x29e578,_0x40bcf0;if(_0x399987[_0x4ee5a0(0x243)]===_0x4ee5a0(0x244)&&((_0x40bcf0=_0x399987[_0x4ee5a0(0x435)])!=null&&_0x40bcf0[_0x4ee5a0(0x310)])){const {objectID:_0x5cb651,objectType:_0x32b6f1}=_0x399987['requestParams'][_0x4ee5a0(0x310)]||{};if(!_0x5cb651||_0x32b6f1===void 0x0)return!0x1;const _0x51e507=_0x2e68a5[_0x4ee5a0(0x32d)]()+'/'+_0x32b6f1+_0x4ee5a0(0x247)+_0x5cb651+'/allowed';if(_0x399987[_0x4ee5a0(0x45b)]===_0x51e507)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3c995e){var _0x5f243e=_0x29e578,_0x3a906a;return(_0x3a906a=_0x3c995e[_0x5f243e(0x435)])==null?void 0x0:_0x3a906a['body'];},'mergeParamsToRequest'(_0x1823b8,_0x499c18){var _0x492e8f=_0x29e578;const _0x4f7caa=_0x2e68a5['_getAPIPrefixPath']()+_0x492e8f(0x31d),_0x57eaf2=_0x1823b8['reduce']((_0x574b17,_0xc25b4b)=>{var _0x5ebbbf=_0x492e8f;const {unitID:_0x1d2d30,objectID:_0x3a78be,objectType:_0xc3aed2,actions:_0x1d2098}=_0xc25b4b;return _0x574b17[_0x1d2d30]||(_0x574b17[_0x1d2d30]={}),_0x574b17[_0x1d2d30][_0x3a78be]||(_0x574b17[_0x1d2d30][_0x3a78be]={'objectID':_0x3a78be,'objectType':_0xc3aed2,'actions':[]}),_0x574b17[_0x1d2d30][_0x3a78be][_0x5ebbbf(0x1fa)][_0x5ebbbf(0x40c)](..._0x1d2098),_0x574b17;},{}),_0x154904=[];for(const _0x491c41 in _0x57eaf2)for(const _0x48c7db in _0x57eaf2[_0x491c41]){const {actions:_0x2185d9,objectType:_0x487c80}=_0x57eaf2[_0x491c41][_0x48c7db],_0x2829d2=[...new Set(_0x2185d9)];_0x154904['push']({'unitID':_0x491c41,'objectID':_0x48c7db,'objectType':_0x487c80,'actions':_0x2829d2});}return new _0x2db9d2(_0x492e8f(0x244),_0x4f7caa,{'headers':_0x499c18[_0x492e8f(0x462)],'withCredentials':_0x499c18[_0x492e8f(0x279)],'responseType':_0x499c18[_0x492e8f(0x1df)],'body':{'requests':_0x154904}});}},{'distributeResult'(_0x1db488,_0x1a2a7c){var _0x11fc7b=_0x29e578;const {objectActions:_0x465ef7}=_0x1db488;return _0x1a2a7c[_0x11fc7b(0x1c8)](_0x1ce52d=>{var _0x319b98=_0x11fc7b;const {unitID:_0x1d619d,objectID:_0x58ca57,actions:_0x4c875c}=_0x1ce52d,_0x17ba99=_0x465ef7['find'](_0xcb6e2e=>_0xcb6e2e[_0x319b98(0x28d)]===_0x1d619d&&_0xcb6e2e[_0x319b98(0x317)]===_0x58ca57),_0x5a6835=_0x4c875c['map'](_0x4a6205=>_0x17ba99==null?void 0x0:_0x17ba99[_0x319b98(0x1fa)][_0x319b98(0x27e)](_0x291a78=>_0x291a78[_0x319b98(0x2b6)]===_0x4a6205))['filter'](_0x1faa37=>!!_0x1faa37);return{'config':_0x1ce52d,'result':{'actions':_0x5a6835,'error':_0x1db488[_0x319b98(0x3b6)]}};});}})}));}[_0x3e9f07(0x32d)](){var _0x1a732e=_0x3e9f07,_0x4a5acd,_0x1096b1;const _0x37b684=this[_0x1a732e(0x31f)][_0x1a732e(0x1d9)](wi),_0x34e0c3=this[_0x1a732e(0x31f)][_0x1a732e(0x1d9)](Y);return(_0x1096b1=(_0x4a5acd=_0x34e0c3==null?void 0x0:_0x34e0c3[_0x1a732e(0x437)])!=null?_0x4a5acd:_0x37b684)!=null?_0x1096b1:js;}async['create'](_0x15b525){var _0x5f3c10=_0x3e9f07;const _0x29fca7=this['_getAPIPrefixPath']()+'/'+_0x15b525[_0x5f3c10(0x1a7)]+_0x5f3c10(0x2de);return(await this['_HTTPService']['post'](_0x29fca7,{'body':_0x15b525}))[_0x5f3c10(0x310)][_0x5f3c10(0x317)]||'';}async['list'](_0x4bf736){var _0xcb7304=_0x3e9f07;const _0x4f45a9=this[_0xcb7304(0x32d)]()+_0xcb7304(0x2e0);return(await this['_HTTPService'][_0xcb7304(0x455)](_0x4f45a9,{'body':_0x4bf736}))['body']['objects'];}async[_0x3e9f07(0x205)](_0x4f77d7){var _0x4c9fd5=_0x3e9f07;const _0x5bdb3d=this[_0x4c9fd5(0x32d)]()+'/'+_0x4f77d7[_0x4c9fd5(0x1a7)]+_0x4c9fd5(0x247)+_0x4f77d7['objectID'];await this['_HTTPService'][_0x4c9fd5(0x1fe)](_0x5bdb3d,{'body':_0x4f77d7});}async[_0x3e9f07(0x3e0)](_0x3a1c2e){var _0x38bfbe=_0x3e9f07;const _0x5a1617=this[_0x38bfbe(0x32d)]()+'/'+_0x3a1c2e[_0x38bfbe(0x1a7)]+_0x38bfbe(0x247)+_0x3a1c2e['objectID']+_0x38bfbe(0x3c0);return(await this[_0x38bfbe(0x41d)][_0x38bfbe(0x455)](_0x5a1617,{'body':_0x3a1c2e}))[_0x38bfbe(0x310)][_0x38bfbe(0x1fa)];}async[_0x3e9f07(0x3df)](_0x5a807f){var _0x4e25d6=_0x3e9f07;const _0x557ade=this[_0x4e25d6(0x32d)]()+_0x4e25d6(0x31d);return(await this['_HTTPService']['post'](_0x557ade,{'body':{'requests':_0x5a807f}}))['body'][_0x4e25d6(0x495)];}async[_0x3e9f07(0x3db)](_0x3b6cc1){var _0x59de2c=_0x3e9f07;const _0x103e9c=this[_0x59de2c(0x32d)]()+'/'+_0x3b6cc1[_0x59de2c(0x1a7)]+_0x59de2c(0x430),_0x29d9a3=await this[_0x59de2c(0x41d)][_0x59de2c(0x455)](_0x103e9c,{'body':_0x3b6cc1});return{'roles':_0x29d9a3[_0x59de2c(0x310)][_0x59de2c(0x2e3)],'actions':_0x29d9a3[_0x59de2c(0x310)][_0x59de2c(0x1fa)]};}async['deleteCollaborator'](_0x419699){var _0xad5b77=_0x3e9f07;const _0x3c87e8=this['_getAPIPrefixPath']()+_0xad5b77(0x344);await this[_0xad5b77(0x41d)][_0xad5b77(0x45c)](_0x3c87e8,{'params':{'collaboratorID':_0x419699[_0xad5b77(0x3e9)],'objectID':_0x419699['objectID'],'unitID':_0x419699['unitID']}});}async[_0x3e9f07(0x3aa)](_0x63665a){var _0x3d763c=_0x3e9f07;const _0x466412=this[_0x3d763c(0x32d)]()+_0x3d763c(0x344);await this[_0x3d763c(0x41d)][_0x3d763c(0x431)](_0x466412,{'body':_0x63665a});}async[_0x3e9f07(0x39d)](_0x4f040f){var _0x3675eb=_0x3e9f07;const _0x171c92=this['_getAPIPrefixPath']()+_0x3675eb(0x344);await this['_HTTPService'][_0x3675eb(0x455)](_0x171c92,{'body':_0x4f040f});}async['listCollaborators'](_0x10411c){var _0x2f6b2f=_0x3e9f07;const _0x5bc3c8=this[_0x2f6b2f(0x32d)]()+'/collaborator';return(await this['_HTTPService'][_0x2f6b2f(0x220)](_0x5bc3c8,{'params':{'objectID':_0x10411c[_0x2f6b2f(0x317)],'unitID':_0x10411c[_0x2f6b2f(0x28d)]}}))['body'][_0x2f6b2f(0x307)];}async[_0x3e9f07(0x479)](_0x1cfb14){var _0x23cd47=_0x3e9f07;const _0x2f653f=this[_0x23cd47(0x32d)]()+_0x23cd47(0x344);await this['_HTTPService'][_0x23cd47(0x1fe)](_0x2f653f,{'body':_0x1cfb14});}};yt=ks([Zt(0x0,_0x1e11c8(_0x26621f)),Zt(0x1,_0x1e11c8(_0x155bcb))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x452595){var _0x4217b3=_0x3e9f07;return _0x452595&&_0x452595[_0x4217b3(0x48d)]&&Object[_0x4217b3(0x35b)][_0x4217b3(0x269)]['call'](_0x452595,'default')?_0x452595[_0x4217b3(0x1c7)]:_0x452595;}var We={'exports':{}};function Bs(_0x469178){var _0x5b6c94=_0x3e9f07;throw new Error(_0x5b6c94(0x316)+_0x469178+_0x5b6c94(0x3d6));}var Ge={'exports':{}},Fs=Ge[_0x3e9f07(0x249)],Qt;function ne(){var _0xa9686=_0x3e9f07;return Qt||(Qt=0x1,function(_0x3b1d64,_0x4106da){(function(_0x1a2256,_0x4dff83){var _0x3b3e96=_0x4dcf;_0x3b1d64[_0x3b3e96(0x249)]=_0x4dff83();}(Fs,function(){var _0x515bbe=_0x515bbe||function(_0x55d467,_0x3314ce){var _0xeda62=_0x4dcf,_0x1c26bd;if(typeof window<'u'&&window[_0xeda62(0x38b)]&&(_0x1c26bd=window['crypto']),typeof self<'u'&&self[_0xeda62(0x38b)]&&(_0x1c26bd=self[_0xeda62(0x38b)]),typeof globalThis<'u'&&globalThis[_0xeda62(0x38b)]&&(_0x1c26bd=globalThis['crypto']),!_0x1c26bd&&typeof window<'u'&&window['msCrypto']&&(_0x1c26bd=window[_0xeda62(0x346)]),!_0x1c26bd&&typeof mt<'u'&&mt['crypto']&&(_0x1c26bd=mt[_0xeda62(0x38b)]),!_0x1c26bd&&typeof Bs==_0xeda62(0x377))try{_0x1c26bd=require(_0xeda62(0x38b));}catch{}var _0x546663=function(){var _0x38891a=_0xeda62;if(_0x1c26bd){if(typeof _0x1c26bd[_0x38891a(0x294)]=='function')try{return _0x1c26bd[_0x38891a(0x294)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1c26bd[_0x38891a(0x265)]=='function')try{return _0x1c26bd['randomBytes'](0x4)[_0x38891a(0x267)]();}catch{}}throw new Error(_0x38891a(0x474));},_0x3e058f=Object[_0xeda62(0x270)]||(function(){function _0x5a8b46(){}return function(_0x39e97a){var _0x5f0e11=_0x4dcf,_0x763f69;return _0x5a8b46[_0x5f0e11(0x35b)]=_0x39e97a,_0x763f69=new _0x5a8b46(),_0x5a8b46[_0x5f0e11(0x35b)]=null,_0x763f69;};}()),_0x5a9242={},_0x343fcd=_0x5a9242[_0xeda62(0x29c)]={},_0x390fab=_0x343fcd[_0xeda62(0x43c)]=(function(){return{'extend':function(_0x41adcf){var _0x16d253=_0x4dcf,_0x501aae=_0x3e058f(this);return _0x41adcf&&_0x501aae[_0x16d253(0x1fc)](_0x41adcf),(!_0x501aae[_0x16d253(0x269)](_0x16d253(0x3ad))||this[_0x16d253(0x3ad)]===_0x501aae[_0x16d253(0x3ad)])&&(_0x501aae[_0x16d253(0x3ad)]=function(){var _0x2d385e=_0x16d253;_0x501aae[_0x2d385e(0x466)][_0x2d385e(0x3ad)][_0x2d385e(0x3d3)](this,arguments);}),_0x501aae[_0x16d253(0x3ad)]['prototype']=_0x501aae,_0x501aae['$super']=this,_0x501aae;},'create':function(){var _0x76ec01=_0x4dcf,_0xd9ad37=this[_0x76ec01(0x287)]();return _0xd9ad37['init'][_0x76ec01(0x3d3)](_0xd9ad37,arguments),_0xd9ad37;},'init':function(){},'mixIn':function(_0x24b86c){var _0x490af2=_0x4dcf;for(var _0x49e7b5 in _0x24b86c)_0x24b86c[_0x490af2(0x269)](_0x49e7b5)&&(this[_0x49e7b5]=_0x24b86c[_0x49e7b5]);_0x24b86c[_0x490af2(0x269)](_0x490af2(0x35e))&&(this[_0x490af2(0x35e)]=_0x24b86c[_0x490af2(0x35e)]);},'clone':function(){var _0x47ea98=_0x4dcf;return this[_0x47ea98(0x3ad)][_0x47ea98(0x35b)][_0x47ea98(0x287)](this);}};}()),_0xf30ec7=_0x343fcd[_0xeda62(0x1f4)]=_0x390fab[_0xeda62(0x287)]({'init':function(_0x1f5f70,_0x259948){var _0x3dd1a8=_0xeda62;_0x1f5f70=this[_0x3dd1a8(0x371)]=_0x1f5f70||[],_0x259948!=_0x3314ce?this['sigBytes']=_0x259948:this[_0x3dd1a8(0x40b)]=_0x1f5f70[_0x3dd1a8(0x46c)]*0x4;},'toString':function(_0x2339a3){var _0x368764=_0xeda62;return(_0x2339a3||_0x656521)[_0x368764(0x22e)](this);},'concat':function(_0x5e37d6){var _0x4946d6=_0xeda62,_0x92eb04=this[_0x4946d6(0x371)],_0x475ed5=_0x5e37d6[_0x4946d6(0x371)],_0x1b51f9=this[_0x4946d6(0x40b)],_0x2b5a55=_0x5e37d6['sigBytes'];if(this[_0x4946d6(0x43e)](),_0x1b51f9%0x4)for(var _0x552654=0x0;_0x552654<_0x2b5a55;_0x552654++){var _0x3b6120=_0x475ed5[_0x552654>>>0x2]>>>0x18-_0x552654%0x4*0x8&0xff;_0x92eb04[_0x1b51f9+_0x552654>>>0x2]|=_0x3b6120<<0x18-(_0x1b51f9+_0x552654)%0x4*0x8;}else{for(var _0x26131c=0x0;_0x26131c<_0x2b5a55;_0x26131c+=0x4)_0x92eb04[_0x1b51f9+_0x26131c>>>0x2]=_0x475ed5[_0x26131c>>>0x2];}return this[_0x4946d6(0x40b)]+=_0x2b5a55,this;},'clamp':function(){var _0x3cd10c=_0xeda62,_0x1756a6=this['words'],_0x59bac2=this[_0x3cd10c(0x40b)];_0x1756a6[_0x59bac2>>>0x2]&=0xffffffff<<0x20-_0x59bac2%0x4*0x8,_0x1756a6[_0x3cd10c(0x46c)]=_0x55d467[_0x3cd10c(0x419)](_0x59bac2/0x4);},'clone':function(){var _0x56acde=_0xeda62,_0x5e4cb9=_0x390fab['clone']['call'](this);return _0x5e4cb9[_0x56acde(0x371)]=this['words'][_0x56acde(0x1f8)](0x0),_0x5e4cb9;},'random':function(_0x139e25){var _0x33aa9c=_0xeda62;for(var _0xd94827=[],_0x34d90b=0x0;_0x34d90b<_0x139e25;_0x34d90b+=0x4)_0xd94827[_0x33aa9c(0x40c)](_0x546663());return new _0xf30ec7[(_0x33aa9c(0x3ad))](_0xd94827,_0x139e25);}}),_0x45e49f=_0x5a9242[_0xeda62(0x23b)]={},_0x656521=_0x45e49f[_0xeda62(0x3a5)]={'stringify':function(_0x25fecf){var _0x30531c=_0xeda62;for(var _0x4a8cc3=_0x25fecf[_0x30531c(0x371)],_0x1db207=_0x25fecf['sigBytes'],_0x393e3b=[],_0x4d4a45=0x0;_0x4d4a45<_0x1db207;_0x4d4a45++){var _0x41694f=_0x4a8cc3[_0x4d4a45>>>0x2]>>>0x18-_0x4d4a45%0x4*0x8&0xff;_0x393e3b[_0x30531c(0x40c)]((_0x41694f>>>0x4)[_0x30531c(0x35e)](0x10)),_0x393e3b['push']((_0x41694f&0xf)[_0x30531c(0x35e)](0x10));}return _0x393e3b[_0x30531c(0x25b)]('');},'parse':function(_0x2f4b19){var _0x15c35f=_0xeda62;for(var _0x57774b=_0x2f4b19['length'],_0x324bd6=[],_0x222f39=0x0;_0x222f39<_0x57774b;_0x222f39+=0x2)_0x324bd6[_0x222f39>>>0x3]|=parseInt(_0x2f4b19[_0x15c35f(0x32f)](_0x222f39,0x2),0x10)<<0x18-_0x222f39%0x8*0x4;return new _0xf30ec7[(_0x15c35f(0x3ad))](_0x324bd6,_0x57774b/0x2);}},_0x4b6f37=_0x45e49f['Latin1']={'stringify':function(_0x46cc47){var _0xabb0c=_0xeda62;for(var _0x4137e1=_0x46cc47['words'],_0x518537=_0x46cc47['sigBytes'],_0x57f367=[],_0x341c86=0x0;_0x341c86<_0x518537;_0x341c86++){var _0x155650=_0x4137e1[_0x341c86>>>0x2]>>>0x18-_0x341c86%0x4*0x8&0xff;_0x57f367[_0xabb0c(0x40c)](String[_0xabb0c(0x49a)](_0x155650));}return _0x57f367[_0xabb0c(0x25b)]('');},'parse':function(_0x59fd02){var _0x47bb91=_0xeda62;for(var _0x19d94c=_0x59fd02[_0x47bb91(0x46c)],_0x4320c0=[],_0x124611=0x0;_0x124611<_0x19d94c;_0x124611++)_0x4320c0[_0x124611>>>0x2]|=(_0x59fd02[_0x47bb91(0x499)](_0x124611)&0xff)<<0x18-_0x124611%0x4*0x8;return new _0xf30ec7[(_0x47bb91(0x3ad))](_0x4320c0,_0x19d94c);}},_0x34bc05=_0x45e49f['Utf8']={'stringify':function(_0x200730){try{return decodeURIComponent(escape(_0x4b6f37['stringify'](_0x200730)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x6c70d0){return _0x4b6f37['parse'](unescape(encodeURIComponent(_0x6c70d0)));}},_0x5b9b81=_0x343fcd['BufferedBlockAlgorithm']=_0x390fab['extend']({'reset':function(){var _0x1ccb5d=_0xeda62;this[_0x1ccb5d(0x1f2)]=new _0xf30ec7['init'](),this[_0x1ccb5d(0x29a)]=0x0;},'_append':function(_0x524107){var _0x7deb3f=_0xeda62;typeof _0x524107==_0x7deb3f(0x3a2)&&(_0x524107=_0x34bc05[_0x7deb3f(0x226)](_0x524107)),this['_data'][_0x7deb3f(0x471)](_0x524107),this[_0x7deb3f(0x29a)]+=_0x524107[_0x7deb3f(0x40b)];},'_process':function(_0x4d2cfa){var _0x24aa44=_0xeda62,_0x2bbd28,_0x1f7d8d=this['_data'],_0x57336b=_0x1f7d8d[_0x24aa44(0x371)],_0x132ad9=_0x1f7d8d[_0x24aa44(0x40b)],_0x123352=this['blockSize'],_0x370f48=_0x123352*0x4,_0x2cee4e=_0x132ad9/_0x370f48;_0x4d2cfa?_0x2cee4e=_0x55d467[_0x24aa44(0x419)](_0x2cee4e):_0x2cee4e=_0x55d467[_0x24aa44(0x397)]((_0x2cee4e|0x0)-this[_0x24aa44(0x285)],0x0);var _0x563958=_0x2cee4e*_0x123352,_0x44b229=_0x55d467['min'](_0x563958*0x4,_0x132ad9);if(_0x563958){for(var _0x28b228=0x0;_0x28b228<_0x563958;_0x28b228+=_0x123352)this[_0x24aa44(0x2bc)](_0x57336b,_0x28b228);_0x2bbd28=_0x57336b['splice'](0x0,_0x563958),_0x1f7d8d[_0x24aa44(0x40b)]-=_0x44b229;}return new _0xf30ec7[(_0x24aa44(0x3ad))](_0x2bbd28,_0x44b229);},'clone':function(){var _0x1d8aae=_0xeda62,_0x2ea14b=_0x390fab[_0x1d8aae(0x47e)][_0x1d8aae(0x26b)](this);return _0x2ea14b[_0x1d8aae(0x1f2)]=this[_0x1d8aae(0x1f2)]['clone'](),_0x2ea14b;},'_minBufferSize':0x0});_0x343fcd['Hasher']=_0x5b9b81[_0xeda62(0x287)]({'cfg':_0x390fab[_0xeda62(0x287)](),'init':function(_0x23986c){var _0x1abe02=_0xeda62;this[_0x1abe02(0x2c8)]=this[_0x1abe02(0x2c8)][_0x1abe02(0x287)](_0x23986c),this[_0x1abe02(0x1b2)]();},'reset':function(){var _0x5c7642=_0xeda62;_0x5b9b81['reset'][_0x5c7642(0x26b)](this),this['_doReset']();},'update':function(_0x1dbcc8){var _0xd31e7c=_0xeda62;return this[_0xd31e7c(0x3f7)](_0x1dbcc8),this['_process'](),this;},'finalize':function(_0x92f893){var _0x4480e4=_0xeda62;_0x92f893&&this[_0x4480e4(0x3f7)](_0x92f893);var _0x53fa50=this['_doFinalize']();return _0x53fa50;},'blockSize':0x10,'_createHelper':function(_0x2d822c){return function(_0x1f0534,_0x26eee6){var _0x10decf=_0x4dcf;return new _0x2d822c[(_0x10decf(0x3ad))](_0x26eee6)[_0x10decf(0x2a8)](_0x1f0534);};},'_createHmacHelper':function(_0x3d4ae0){return function(_0xf38fa7,_0x39d571){var _0x3d4fe2=_0x4dcf;return new _0x32d822[(_0x3d4fe2(0x451))]['init'](_0x3d4ae0,_0x39d571)['finalize'](_0xf38fa7);};}});var _0x32d822=_0x5a9242[_0xeda62(0x42d)]={};return _0x5a9242;}(Math);return _0x515bbe;}));}(Ge)),Ge[_0xa9686(0x249)];}var Ke={'exports':{}},Vs=Ke[_0x3e9f07(0x249)],ei;function Ui(){var _0xe8ceb2=_0x3e9f07;return ei||(ei=0x1,function(_0x798437,_0xf60cac){(function(_0x1626e6,_0x246bb7){var _0x2890e3=_0x4dcf;_0x798437[_0x2890e3(0x249)]=_0x246bb7(ne());}(Vs,function(_0x244eaf){var _0x1f061d=_0x4dcf;return(function(){var _0x2f0844=_0x4dcf,_0x2c0fb1=_0x244eaf,_0x4ddc5c=_0x2c0fb1['lib'],_0x598b62=_0x4ddc5c['WordArray'],_0x4fa419=_0x2c0fb1[_0x2f0844(0x23b)];_0x4fa419[_0x2f0844(0x2ec)]={'stringify':function(_0xe23c54){var _0x3ceec4=_0x2f0844,_0x3b367a=_0xe23c54[_0x3ceec4(0x371)],_0x2248f0=_0xe23c54[_0x3ceec4(0x40b)],_0xe746a=this[_0x3ceec4(0x423)];_0xe23c54[_0x3ceec4(0x43e)]();for(var _0x174110=[],_0x406693=0x0;_0x406693<_0x2248f0;_0x406693+=0x3)for(var _0x4ac05d=_0x3b367a[_0x406693>>>0x2]>>>0x18-_0x406693%0x4*0x8&0xff,_0x4e99cd=_0x3b367a[_0x406693+0x1>>>0x2]>>>0x18-(_0x406693+0x1)%0x4*0x8&0xff,_0x24a326=_0x3b367a[_0x406693+0x2>>>0x2]>>>0x18-(_0x406693+0x2)%0x4*0x8&0xff,_0x12b90f=_0x4ac05d<<0x10|_0x4e99cd<<0x8|_0x24a326,_0x38c9f9=0x0;_0x38c9f9<0x4&&_0x406693+_0x38c9f9*0.75<_0x2248f0;_0x38c9f9++)_0x174110[_0x3ceec4(0x40c)](_0xe746a['charAt'](_0x12b90f>>>0x6*(0x3-_0x38c9f9)&0x3f));var _0x37e47f=_0xe746a[_0x3ceec4(0x23d)](0x40);if(_0x37e47f){for(;_0x174110[_0x3ceec4(0x46c)]%0x4;)_0x174110[_0x3ceec4(0x40c)](_0x37e47f);}return _0x174110['join']('');},'parse':function(_0x34c241){var _0x21c4ef=_0x2f0844,_0x129d1d=_0x34c241['length'],_0x893fdc=this[_0x21c4ef(0x423)],_0x9e0150=this[_0x21c4ef(0x2fd)];if(!_0x9e0150){_0x9e0150=this['_reverseMap']=[];for(var _0x219305=0x0;_0x219305<_0x893fdc[_0x21c4ef(0x46c)];_0x219305++)_0x9e0150[_0x893fdc[_0x21c4ef(0x499)](_0x219305)]=_0x219305;}var _0x3cc99d=_0x893fdc[_0x21c4ef(0x23d)](0x40);if(_0x3cc99d){var _0x1c655e=_0x34c241[_0x21c4ef(0x2ca)](_0x3cc99d);_0x1c655e!==-0x1&&(_0x129d1d=_0x1c655e);}return _0x51c628(_0x34c241,_0x129d1d,_0x9e0150);},'_map':_0x2f0844(0x3ec)};function _0x51c628(_0x370af5,_0x38205a,_0x5e89a0){var _0x250388=_0x2f0844;for(var _0x53f247=[],_0x562b1c=0x0,_0x4eb775=0x0;_0x4eb775<_0x38205a;_0x4eb775++)if(_0x4eb775%0x4){var _0x35680a=_0x5e89a0[_0x370af5['charCodeAt'](_0x4eb775-0x1)]<<_0x4eb775%0x4*0x2,_0x25a141=_0x5e89a0[_0x370af5[_0x250388(0x499)](_0x4eb775)]>>>0x6-_0x4eb775%0x4*0x2,_0x1ee567=_0x35680a|_0x25a141;_0x53f247[_0x562b1c>>>0x2]|=_0x1ee567<<0x18-_0x562b1c%0x4*0x8,_0x562b1c++;}return _0x598b62['create'](_0x53f247,_0x562b1c);}}()),_0x244eaf[_0x1f061d(0x23b)][_0x1f061d(0x2ec)];}));}(Ke)),Ke[_0xe8ceb2(0x249)];}var ze={'exports':{}},Ws=ze['exports'],ti;function Gs(){var _0x1e43f0=_0x3e9f07;return ti||(ti=0x1,function(_0x32c088,_0x74c3d3){(function(_0x3a6180,_0x260b8a){var _0x557896=_0x4dcf;_0x32c088[_0x557896(0x249)]=_0x260b8a(ne());}(Ws,function(_0x11a934){var _0x34bc28=_0x4dcf;return function(_0x252ccd){var _0xe6f7e2=_0x4dcf,_0x54a158=_0x11a934,_0x42cfd8=_0x54a158[_0xe6f7e2(0x29c)],_0x66910e=_0x42cfd8[_0xe6f7e2(0x1f4)],_0x5821dc=_0x42cfd8[_0xe6f7e2(0x219)],_0x1a297e=_0x54a158[_0xe6f7e2(0x42d)],_0x2678da=[];(function(){var _0x3024ae=_0xe6f7e2;for(var _0x474b77=0x0;_0x474b77<0x40;_0x474b77++)_0x2678da[_0x474b77]=_0x252ccd[_0x3024ae(0x3c5)](_0x252ccd[_0x3024ae(0x27a)](_0x474b77+0x1))*0x100000000|0x0;}());var _0x361943=_0x1a297e[_0xe6f7e2(0x3e7)]=_0x5821dc[_0xe6f7e2(0x287)]({'_doReset':function(){var _0x4de831=_0xe6f7e2;this[_0x4de831(0x1a0)]=new _0x66910e[(_0x4de831(0x3ad))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x32b3fb,_0x29d778){var _0x5a3afa=_0xe6f7e2;for(var _0xc0beb1=0x0;_0xc0beb1<0x10;_0xc0beb1++){var _0x240eac=_0x29d778+_0xc0beb1,_0x430ac7=_0x32b3fb[_0x240eac];_0x32b3fb[_0x240eac]=(_0x430ac7<<0x8|_0x430ac7>>>0x18)&0xff00ff|(_0x430ac7<<0x18|_0x430ac7>>>0x8)&0xff00ff00;}var _0x4691a0=this[_0x5a3afa(0x1a0)][_0x5a3afa(0x371)],_0x1cafc4=_0x32b3fb[_0x29d778+0x0],_0x226ecc=_0x32b3fb[_0x29d778+0x1],_0x39dbfb=_0x32b3fb[_0x29d778+0x2],_0x262f17=_0x32b3fb[_0x29d778+0x3],_0x32cfc9=_0x32b3fb[_0x29d778+0x4],_0x2f691d=_0x32b3fb[_0x29d778+0x5],_0x3b7acd=_0x32b3fb[_0x29d778+0x6],_0xf7278d=_0x32b3fb[_0x29d778+0x7],_0x8e4551=_0x32b3fb[_0x29d778+0x8],_0x4a64fc=_0x32b3fb[_0x29d778+0x9],_0x2d0b45=_0x32b3fb[_0x29d778+0xa],_0x510f0d=_0x32b3fb[_0x29d778+0xb],_0x2b86a7=_0x32b3fb[_0x29d778+0xc],_0x234504=_0x32b3fb[_0x29d778+0xd],_0x613ab4=_0x32b3fb[_0x29d778+0xe],_0x14231b=_0x32b3fb[_0x29d778+0xf],_0x4d3361=_0x4691a0[0x0],_0x37060=_0x4691a0[0x1],_0x1d8c48=_0x4691a0[0x2],_0x5a3904=_0x4691a0[0x3];_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x1cafc4,0x7,_0x2678da[0x0]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x226ecc,0xc,_0x2678da[0x1]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x39dbfb,0x11,_0x2678da[0x2]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x262f17,0x16,_0x2678da[0x3]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x32cfc9,0x7,_0x2678da[0x4]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2f691d,0xc,_0x2678da[0x5]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x3b7acd,0x11,_0x2678da[0x6]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0xf7278d,0x16,_0x2678da[0x7]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x8e4551,0x7,_0x2678da[0x8]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x4a64fc,0xc,_0x2678da[0x9]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x2d0b45,0x11,_0x2678da[0xa]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x510f0d,0x16,_0x2678da[0xb]),_0x4d3361=_0x32d255(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2b86a7,0x7,_0x2678da[0xc]),_0x5a3904=_0x32d255(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x234504,0xc,_0x2678da[0xd]),_0x1d8c48=_0x32d255(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x613ab4,0x11,_0x2678da[0xe]),_0x37060=_0x32d255(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x14231b,0x16,_0x2678da[0xf]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x226ecc,0x5,_0x2678da[0x10]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x3b7acd,0x9,_0x2678da[0x11]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x510f0d,0xe,_0x2678da[0x12]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x1cafc4,0x14,_0x2678da[0x13]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2f691d,0x5,_0x2678da[0x14]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2d0b45,0x9,_0x2678da[0x15]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x14231b,0xe,_0x2678da[0x16]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x32cfc9,0x14,_0x2678da[0x17]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x4a64fc,0x5,_0x2678da[0x18]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x613ab4,0x9,_0x2678da[0x19]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x262f17,0xe,_0x2678da[0x1a]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x8e4551,0x14,_0x2678da[0x1b]),_0x4d3361=_0x48371d(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x234504,0x5,_0x2678da[0x1c]),_0x5a3904=_0x48371d(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x39dbfb,0x9,_0x2678da[0x1d]),_0x1d8c48=_0x48371d(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0xf7278d,0xe,_0x2678da[0x1e]),_0x37060=_0x48371d(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2b86a7,0x14,_0x2678da[0x1f]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2f691d,0x4,_0x2678da[0x20]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x8e4551,0xb,_0x2678da[0x21]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x510f0d,0x10,_0x2678da[0x22]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x613ab4,0x17,_0x2678da[0x23]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x226ecc,0x4,_0x2678da[0x24]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x32cfc9,0xb,_0x2678da[0x25]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0xf7278d,0x10,_0x2678da[0x26]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2d0b45,0x17,_0x2678da[0x27]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x234504,0x4,_0x2678da[0x28]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x1cafc4,0xb,_0x2678da[0x29]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x262f17,0x10,_0x2678da[0x2a]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x3b7acd,0x17,_0x2678da[0x2b]),_0x4d3361=_0x1ca323(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x4a64fc,0x4,_0x2678da[0x2c]),_0x5a3904=_0x1ca323(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x2b86a7,0xb,_0x2678da[0x2d]),_0x1d8c48=_0x1ca323(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x14231b,0x10,_0x2678da[0x2e]),_0x37060=_0x1ca323(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x39dbfb,0x17,_0x2678da[0x2f]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x1cafc4,0x6,_0x2678da[0x30]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0xf7278d,0xa,_0x2678da[0x31]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x613ab4,0xf,_0x2678da[0x32]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x2f691d,0x15,_0x2678da[0x33]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x2b86a7,0x6,_0x2678da[0x34]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x262f17,0xa,_0x2678da[0x35]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x2d0b45,0xf,_0x2678da[0x36]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x226ecc,0x15,_0x2678da[0x37]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x8e4551,0x6,_0x2678da[0x38]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x14231b,0xa,_0x2678da[0x39]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x3b7acd,0xf,_0x2678da[0x3a]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x234504,0x15,_0x2678da[0x3b]),_0x4d3361=_0x41edb6(_0x4d3361,_0x37060,_0x1d8c48,_0x5a3904,_0x32cfc9,0x6,_0x2678da[0x3c]),_0x5a3904=_0x41edb6(_0x5a3904,_0x4d3361,_0x37060,_0x1d8c48,_0x510f0d,0xa,_0x2678da[0x3d]),_0x1d8c48=_0x41edb6(_0x1d8c48,_0x5a3904,_0x4d3361,_0x37060,_0x39dbfb,0xf,_0x2678da[0x3e]),_0x37060=_0x41edb6(_0x37060,_0x1d8c48,_0x5a3904,_0x4d3361,_0x4a64fc,0x15,_0x2678da[0x3f]),_0x4691a0[0x0]=_0x4691a0[0x0]+_0x4d3361|0x0,_0x4691a0[0x1]=_0x4691a0[0x1]+_0x37060|0x0,_0x4691a0[0x2]=_0x4691a0[0x2]+_0x1d8c48|0x0,_0x4691a0[0x3]=_0x4691a0[0x3]+_0x5a3904|0x0;},'_doFinalize':function(){var _0x26423c=_0xe6f7e2,_0x478fdd=this[_0x26423c(0x1f2)],_0xf7c49b=_0x478fdd['words'],_0x410526=this[_0x26423c(0x29a)]*0x8,_0x5f5a5c=_0x478fdd[_0x26423c(0x40b)]*0x8;_0xf7c49b[_0x5f5a5c>>>0x5]|=0x80<<0x18-_0x5f5a5c%0x20;var _0x36922d=_0x252ccd[_0x26423c(0x3eb)](_0x410526/0x100000000),_0x3d02d6=_0x410526;_0xf7c49b[(_0x5f5a5c+0x40>>>0x9<<0x4)+0xf]=(_0x36922d<<0x8|_0x36922d>>>0x18)&0xff00ff|(_0x36922d<<0x18|_0x36922d>>>0x8)&0xff00ff00,_0xf7c49b[(_0x5f5a5c+0x40>>>0x9<<0x4)+0xe]=(_0x3d02d6<<0x8|_0x3d02d6>>>0x18)&0xff00ff|(_0x3d02d6<<0x18|_0x3d02d6>>>0x8)&0xff00ff00,_0x478fdd[_0x26423c(0x40b)]=(_0xf7c49b['length']+0x1)*0x4,this[_0x26423c(0x257)]();for(var _0x1e6eff=this['_hash'],_0x217d6b=_0x1e6eff[_0x26423c(0x371)],_0x4cb2d4=0x0;_0x4cb2d4<0x4;_0x4cb2d4++){var _0x8f7abf=_0x217d6b[_0x4cb2d4];_0x217d6b[_0x4cb2d4]=(_0x8f7abf<<0x8|_0x8f7abf>>>0x18)&0xff00ff|(_0x8f7abf<<0x18|_0x8f7abf>>>0x8)&0xff00ff00;}return _0x1e6eff;},'clone':function(){var _0x558461=_0xe6f7e2,_0x2d4e04=_0x5821dc['clone']['call'](this);return _0x2d4e04[_0x558461(0x1a0)]=this[_0x558461(0x1a0)]['clone'](),_0x2d4e04;}});function _0x32d255(_0x12aaea,_0xd7de09,_0x7b8083,_0x374f68,_0x5d98a1,_0xe1888f,_0x392cd3){var _0x2c4675=_0x12aaea+(_0xd7de09&_0x7b8083|~_0xd7de09&_0x374f68)+_0x5d98a1+_0x392cd3;return(_0x2c4675<<_0xe1888f|_0x2c4675>>>0x20-_0xe1888f)+_0xd7de09;}function _0x48371d(_0x5de484,_0x15f867,_0x4e9087,_0x4eb59a,_0x44d991,_0x55cc9c,_0x4a42c8){var _0x4e37b1=_0x5de484+(_0x15f867&_0x4eb59a|_0x4e9087&~_0x4eb59a)+_0x44d991+_0x4a42c8;return(_0x4e37b1<<_0x55cc9c|_0x4e37b1>>>0x20-_0x55cc9c)+_0x15f867;}function _0x1ca323(_0x2f84d1,_0x542e80,_0x3cdd41,_0x67e858,_0xc90165,_0x2992fd,_0x4e5737){var _0x9dec75=_0x2f84d1+(_0x542e80^_0x3cdd41^_0x67e858)+_0xc90165+_0x4e5737;return(_0x9dec75<<_0x2992fd|_0x9dec75>>>0x20-_0x2992fd)+_0x542e80;}function _0x41edb6(_0x364a56,_0x258c8a,_0x26f432,_0x35b23e,_0xac377b,_0x54d610,_0x57be35){var _0x2f38bf=_0x364a56+(_0x26f432^(_0x258c8a|~_0x35b23e))+_0xac377b+_0x57be35;return(_0x2f38bf<<_0x54d610|_0x2f38bf>>>0x20-_0x54d610)+_0x258c8a;}_0x54a158[_0xe6f7e2(0x3e7)]=_0x5821dc[_0xe6f7e2(0x1cd)](_0x361943),_0x54a158[_0xe6f7e2(0x2c1)]=_0x5821dc[_0xe6f7e2(0x1c4)](_0x361943);}(Math),_0x11a934[_0x34bc28(0x3e7)];}));}(ze)),ze[_0x1e43f0(0x249)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x3e9f07(0x249)],ii;function zs(){var _0x26b2b9=_0x3e9f07;return ii||(ii=0x1,function(_0x505d20,_0x7db6ad){(function(_0x146eb8,_0x5c4888){var _0x338245=_0x4dcf;_0x505d20[_0x338245(0x249)]=_0x5c4888(ne());}(Ks,function(_0x13af53){return(function(){var _0x249eea=_0x4dcf,_0x344fc8=_0x13af53,_0x202831=_0x344fc8[_0x249eea(0x29c)],_0x10f5ff=_0x202831['WordArray'],_0x403feb=_0x202831[_0x249eea(0x219)],_0x1f16c0=_0x344fc8[_0x249eea(0x42d)],_0x1a5927=[],_0xd7b3ba=_0x1f16c0[_0x249eea(0x3a6)]=_0x403feb[_0x249eea(0x287)]({'_doReset':function(){var _0xdd95c=_0x249eea;this[_0xdd95c(0x1a0)]=new _0x10f5ff[(_0xdd95c(0x3ad))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x17ffb4,_0x220985){var _0x238bfa=_0x249eea;for(var _0x153646=this[_0x238bfa(0x1a0)][_0x238bfa(0x371)],_0x4c5299=_0x153646[0x0],_0x5014cb=_0x153646[0x1],_0x56d999=_0x153646[0x2],_0x165764=_0x153646[0x3],_0x427095=_0x153646[0x4],_0x2647fd=0x0;_0x2647fd<0x50;_0x2647fd++){if(_0x2647fd<0x10)_0x1a5927[_0x2647fd]=_0x17ffb4[_0x220985+_0x2647fd]|0x0;else{var _0x4c18e1=_0x1a5927[_0x2647fd-0x3]^_0x1a5927[_0x2647fd-0x8]^_0x1a5927[_0x2647fd-0xe]^_0x1a5927[_0x2647fd-0x10];_0x1a5927[_0x2647fd]=_0x4c18e1<<0x1|_0x4c18e1>>>0x1f;}var _0x14c971=(_0x4c5299<<0x5|_0x4c5299>>>0x1b)+_0x427095+_0x1a5927[_0x2647fd];_0x2647fd<0x14?_0x14c971+=(_0x5014cb&_0x56d999|~_0x5014cb&_0x165764)+0x5a827999:_0x2647fd<0x28?_0x14c971+=(_0x5014cb^_0x56d999^_0x165764)+0x6ed9eba1:_0x2647fd<0x3c?_0x14c971+=(_0x5014cb&_0x56d999|_0x5014cb&_0x165764|_0x56d999&_0x165764)-0x70e44324:_0x14c971+=(_0x5014cb^_0x56d999^_0x165764)-0x359d3e2a,_0x427095=_0x165764,_0x165764=_0x56d999,_0x56d999=_0x5014cb<<0x1e|_0x5014cb>>>0x2,_0x5014cb=_0x4c5299,_0x4c5299=_0x14c971;}_0x153646[0x0]=_0x153646[0x0]+_0x4c5299|0x0,_0x153646[0x1]=_0x153646[0x1]+_0x5014cb|0x0,_0x153646[0x2]=_0x153646[0x2]+_0x56d999|0x0,_0x153646[0x3]=_0x153646[0x3]+_0x165764|0x0,_0x153646[0x4]=_0x153646[0x4]+_0x427095|0x0;},'_doFinalize':function(){var _0x411148=_0x249eea,_0x484cc4=this[_0x411148(0x1f2)],_0x7a1ecb=_0x484cc4[_0x411148(0x371)],_0x4a1f59=this['_nDataBytes']*0x8,_0x1bbf82=_0x484cc4[_0x411148(0x40b)]*0x8;return _0x7a1ecb[_0x1bbf82>>>0x5]|=0x80<<0x18-_0x1bbf82%0x20,_0x7a1ecb[(_0x1bbf82+0x40>>>0x9<<0x4)+0xe]=Math[_0x411148(0x3eb)](_0x4a1f59/0x100000000),_0x7a1ecb[(_0x1bbf82+0x40>>>0x9<<0x4)+0xf]=_0x4a1f59,_0x484cc4[_0x411148(0x40b)]=_0x7a1ecb[_0x411148(0x46c)]*0x4,this[_0x411148(0x257)](),this[_0x411148(0x1a0)];},'clone':function(){var _0x276c31=_0x249eea,_0x588429=_0x403feb['clone'][_0x276c31(0x26b)](this);return _0x588429[_0x276c31(0x1a0)]=this[_0x276c31(0x1a0)][_0x276c31(0x47e)](),_0x588429;}});_0x344fc8[_0x249eea(0x3a6)]=_0x403feb[_0x249eea(0x1cd)](_0xd7b3ba),_0x344fc8[_0x249eea(0x295)]=_0x403feb[_0x249eea(0x1c4)](_0xd7b3ba);}()),_0x13af53['SHA1'];}));}(qe)),qe[_0x26b2b9(0x249)];}var Je={'exports':{}},Ys=Je[_0x3e9f07(0x249)],ni;function qs(){return ni||(ni=0x1,function(_0x58b073,_0x436efd){(function(_0x3d1c17,_0x3e8ac9){var _0x438476=_0x4dcf;_0x58b073[_0x438476(0x249)]=_0x3e8ac9(ne());}(Ys,function(_0x457efe){(function(){var _0x32578e=_0x4dcf,_0x2e1a24=_0x457efe,_0xb20245=_0x2e1a24[_0x32578e(0x29c)],_0x31e16e=_0xb20245['Base'],_0x31cee6=_0x2e1a24[_0x32578e(0x23b)],_0x35094b=_0x31cee6[_0x32578e(0x280)],_0x29f1cb=_0x2e1a24[_0x32578e(0x42d)];_0x29f1cb['HMAC']=_0x31e16e[_0x32578e(0x287)]({'init':function(_0x5839f1,_0x2cb108){var _0x1a34e7=_0x32578e;_0x5839f1=this[_0x1a34e7(0x272)]=new _0x5839f1[(_0x1a34e7(0x3ad))](),typeof _0x2cb108==_0x1a34e7(0x3a2)&&(_0x2cb108=_0x35094b[_0x1a34e7(0x226)](_0x2cb108));var _0x17ca56=_0x5839f1['blockSize'],_0x58d81a=_0x17ca56*0x4;_0x2cb108[_0x1a34e7(0x40b)]>_0x58d81a&&(_0x2cb108=_0x5839f1[_0x1a34e7(0x2a8)](_0x2cb108)),_0x2cb108[_0x1a34e7(0x43e)]();for(var _0x56ddbb=this['_oKey']=_0x2cb108[_0x1a34e7(0x47e)](),_0x35c94f=this[_0x1a34e7(0x2c5)]=_0x2cb108['clone'](),_0x253149=_0x56ddbb['words'],_0x5b9046=_0x35c94f['words'],_0x4d4a07=0x0;_0x4d4a07<_0x17ca56;_0x4d4a07++)_0x253149[_0x4d4a07]^=0x5c5c5c5c,_0x5b9046[_0x4d4a07]^=0x36363636;_0x56ddbb[_0x1a34e7(0x40b)]=_0x35c94f[_0x1a34e7(0x40b)]=_0x58d81a,this[_0x1a34e7(0x1b2)]();},'reset':function(){var _0x28a8cb=_0x32578e,_0x30cc11=this[_0x28a8cb(0x272)];_0x30cc11[_0x28a8cb(0x1b2)](),_0x30cc11[_0x28a8cb(0x205)](this[_0x28a8cb(0x2c5)]);},'update':function(_0x1b7509){var _0x20d40c=_0x32578e;return this[_0x20d40c(0x272)][_0x20d40c(0x205)](_0x1b7509),this;},'finalize':function(_0x5c3a93){var _0x4229da=_0x32578e,_0x388cfc=this[_0x4229da(0x272)],_0x3b478f=_0x388cfc[_0x4229da(0x2a8)](_0x5c3a93);_0x388cfc[_0x4229da(0x1b2)]();var _0x150872=_0x388cfc[_0x4229da(0x2a8)](this[_0x4229da(0x1ea)]['clone']()[_0x4229da(0x471)](_0x3b478f));return _0x150872;}});}());}));}(Je)),Je['exports'];}var Js=Ye[_0x3e9f07(0x249)],si;function Ai(){var _0x16c1be=_0x3e9f07;return si||(si=0x1,function(_0x5b9c64,_0x3f1d87){(function(_0x2b7046,_0x1cf6a9,_0x19339c){var _0x2f1ce4=_0x4dcf;_0x5b9c64[_0x2f1ce4(0x249)]=_0x1cf6a9(ne(),zs(),qs());}(Js,function(_0x5d5c4e){var _0x353cf0=_0x4dcf;return(function(){var _0x4347ea=_0x4dcf,_0xd4a53=_0x5d5c4e,_0x29a6a5=_0xd4a53[_0x4347ea(0x29c)],_0x1c1bcb=_0x29a6a5[_0x4347ea(0x43c)],_0x31fe8a=_0x29a6a5[_0x4347ea(0x1f4)],_0x2f117b=_0xd4a53['algo'],_0x28d6d2=_0x2f117b[_0x4347ea(0x3e7)],_0x374bf2=_0x2f117b[_0x4347ea(0x3bd)]=_0x1c1bcb['extend']({'cfg':_0x1c1bcb['extend']({'keySize':0x80/0x20,'hasher':_0x28d6d2,'iterations':0x1}),'init':function(_0x535331){var _0x3dec83=_0x4347ea;this[_0x3dec83(0x2c8)]=this[_0x3dec83(0x2c8)]['extend'](_0x535331);},'compute':function(_0x46c661,_0x5769cd){var _0x566859=_0x4347ea;for(var _0x378619,_0x48570b=this['cfg'],_0x454fcc=_0x48570b[_0x566859(0x3d1)][_0x566859(0x270)](),_0xb74359=_0x31fe8a[_0x566859(0x270)](),_0x2278fc=_0xb74359[_0x566859(0x371)],_0x5e5f79=_0x48570b[_0x566859(0x2b9)],_0x17d63a=_0x48570b[_0x566859(0x1dc)];_0x2278fc['length']<_0x5e5f79;){_0x378619&&_0x454fcc[_0x566859(0x205)](_0x378619),_0x378619=_0x454fcc['update'](_0x46c661)[_0x566859(0x2a8)](_0x5769cd),_0x454fcc[_0x566859(0x1b2)]();for(var _0x365555=0x1;_0x365555<_0x17d63a;_0x365555++)_0x378619=_0x454fcc[_0x566859(0x2a8)](_0x378619),_0x454fcc['reset']();_0xb74359[_0x566859(0x471)](_0x378619);}return _0xb74359['sigBytes']=_0x5e5f79*0x4,_0xb74359;}});_0xd4a53['EvpKDF']=function(_0x315dce,_0x4c0c82,_0x23342e){var _0x24fa2c=_0x4347ea;return _0x374bf2['create'](_0x23342e)[_0x24fa2c(0x342)](_0x315dce,_0x4c0c82);};}()),_0x5d5c4e[_0x353cf0(0x3bd)];}));}(Ye)),Ye[_0x16c1be(0x249)];}var Xe={'exports':{}},Xs=Xe[_0x3e9f07(0x249)],ri;function xi(){return ri||(ri=0x1,function(_0x5ae346,_0x2d84e3){(function(_0x4040db,_0x4570c7,_0x5d82c9){var _0xa22a93=_0x4dcf;_0x5ae346[_0xa22a93(0x249)]=_0x4570c7(ne(),Ai());}(Xs,function(_0x26d009){var _0x20e576=_0x4dcf;_0x26d009['lib'][_0x20e576(0x434)]||function(_0x233ecc){var _0x16557d=_0x20e576,_0x50ca7d=_0x26d009,_0x1d4142=_0x50ca7d[_0x16557d(0x29c)],_0x1cec4f=_0x1d4142[_0x16557d(0x43c)],_0x51acc2=_0x1d4142[_0x16557d(0x1f4)],_0x1b97bf=_0x1d4142[_0x16557d(0x497)],_0x503f28=_0x50ca7d[_0x16557d(0x23b)];_0x503f28[_0x16557d(0x280)];var _0x223bd9=_0x503f28[_0x16557d(0x2ec)],_0x125d0a=_0x50ca7d[_0x16557d(0x42d)],_0x2663f9=_0x125d0a[_0x16557d(0x3bd)],_0x35f258=_0x1d4142[_0x16557d(0x434)]=_0x1b97bf[_0x16557d(0x287)]({'cfg':_0x1cec4f[_0x16557d(0x287)](),'createEncryptor':function(_0x25be3f,_0x1488d2){var _0x59e284=_0x16557d;return this['create'](this[_0x59e284(0x2d9)],_0x25be3f,_0x1488d2);},'createDecryptor':function(_0x16c2a4,_0x1ca8ef){var _0x4870d6=_0x16557d;return this[_0x4870d6(0x270)](this[_0x4870d6(0x381)],_0x16c2a4,_0x1ca8ef);},'init':function(_0x68ab33,_0x298f88,_0x5c4175){var _0x43b8dc=_0x16557d;this[_0x43b8dc(0x2c8)]=this['cfg']['extend'](_0x5c4175),this[_0x43b8dc(0x332)]=_0x68ab33,this[_0x43b8dc(0x289)]=_0x298f88,this[_0x43b8dc(0x1b2)]();},'reset':function(){var _0x3d30a2=_0x16557d;_0x1b97bf[_0x3d30a2(0x1b2)][_0x3d30a2(0x26b)](this),this['_doReset']();},'process':function(_0x1d55a2){var _0x503b2d=_0x16557d;return this[_0x503b2d(0x3f7)](_0x1d55a2),this[_0x503b2d(0x257)]();},'finalize':function(_0x2a585e){var _0x1969a1=_0x16557d;_0x2a585e&&this[_0x1969a1(0x3f7)](_0x2a585e);var _0x381099=this[_0x1969a1(0x36a)]();return _0x381099;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x21f7c9(_0x158a5d){var _0x42d031=_0x4dcf;return typeof _0x158a5d==_0x42d031(0x3a2)?_0x4e80e8:_0x386e0d;}return function(_0x56a734){return{'encrypt':function(_0x327ea0,_0x140b7f,_0x3affd9){var _0x303335=_0x4dcf;return _0x21f7c9(_0x140b7f)[_0x303335(0x358)](_0x56a734,_0x327ea0,_0x140b7f,_0x3affd9);},'decrypt':function(_0x1a9b27,_0x1126bb,_0x185c1a){var _0x5a9ef3=_0x4dcf;return _0x21f7c9(_0x1126bb)[_0x5a9ef3(0x37d)](_0x56a734,_0x1a9b27,_0x1126bb,_0x185c1a);}};};}())});_0x1d4142[_0x16557d(0x47d)]=_0x35f258['extend']({'_doFinalize':function(){var _0x32b6b6=_0x16557d,_0x435909=this[_0x32b6b6(0x257)](!0x0);return _0x435909;},'blockSize':0x1});var _0x4cb80f=_0x50ca7d[_0x16557d(0x271)]={},_0x3629ab=_0x1d4142['BlockCipherMode']=_0x1cec4f[_0x16557d(0x287)]({'createEncryptor':function(_0x40c346,_0x85ec56){var _0xbdb5aa=_0x16557d;return this[_0xbdb5aa(0x458)][_0xbdb5aa(0x270)](_0x40c346,_0x85ec56);},'createDecryptor':function(_0x5db1e9,_0x4b9fef){var _0x506c2b=_0x16557d;return this[_0x506c2b(0x258)][_0x506c2b(0x270)](_0x5db1e9,_0x4b9fef);},'init':function(_0x5e345f,_0x2bb0d9){var _0x364a0b=_0x16557d;this['_cipher']=_0x5e345f,this[_0x364a0b(0x25d)]=_0x2bb0d9;}}),_0x4204af=_0x4cb80f['CBC']=(function(){var _0x1a4a71=_0x16557d,_0x57f01d=_0x3629ab['extend']();_0x57f01d[_0x1a4a71(0x458)]=_0x57f01d[_0x1a4a71(0x287)]({'processBlock':function(_0x567215,_0x111dc5){var _0x598977=_0x1a4a71,_0x24ffdd=this[_0x598977(0x2d0)],_0x1e55c4=_0x24ffdd[_0x598977(0x395)];_0x535060[_0x598977(0x26b)](this,_0x567215,_0x111dc5,_0x1e55c4),_0x24ffdd[_0x598977(0x291)](_0x567215,_0x111dc5),this[_0x598977(0x41c)]=_0x567215['slice'](_0x111dc5,_0x111dc5+_0x1e55c4);}}),_0x57f01d[_0x1a4a71(0x258)]=_0x57f01d['extend']({'processBlock':function(_0x4cccc3,_0x397dc1){var _0x26ea43=_0x1a4a71,_0x257cea=this['_cipher'],_0x4eb770=_0x257cea[_0x26ea43(0x395)],_0x1ef392=_0x4cccc3['slice'](_0x397dc1,_0x397dc1+_0x4eb770);_0x257cea[_0x26ea43(0x365)](_0x4cccc3,_0x397dc1),_0x535060[_0x26ea43(0x26b)](this,_0x4cccc3,_0x397dc1,_0x4eb770),this[_0x26ea43(0x41c)]=_0x1ef392;}});function _0x535060(_0x1dac93,_0x5807ae,_0x17c14e){var _0x1d1375=_0x1a4a71,_0x5afdd4,_0x522ec6=this[_0x1d1375(0x25d)];_0x522ec6?(_0x5afdd4=_0x522ec6,this['_iv']=_0x233ecc):_0x5afdd4=this[_0x1d1375(0x41c)];for(var _0x4ab632=0x0;_0x4ab632<_0x17c14e;_0x4ab632++)_0x1dac93[_0x5807ae+_0x4ab632]^=_0x5afdd4[_0x4ab632];}return _0x57f01d;}()),_0x621e93=_0x50ca7d[_0x16557d(0x281)]={},_0x178133=_0x621e93[_0x16557d(0x1ef)]={'pad':function(_0x278498,_0x92ee7){var _0x337c9b=_0x16557d;for(var _0x2d73c8=_0x92ee7*0x4,_0x616884=_0x2d73c8-_0x278498[_0x337c9b(0x40b)]%_0x2d73c8,_0x461022=_0x616884<<0x18|_0x616884<<0x10|_0x616884<<0x8|_0x616884,_0x119fe3=[],_0x30d917=0x0;_0x30d917<_0x616884;_0x30d917+=0x4)_0x119fe3[_0x337c9b(0x40c)](_0x461022);var _0x2c06b6=_0x51acc2[_0x337c9b(0x270)](_0x119fe3,_0x616884);_0x278498[_0x337c9b(0x471)](_0x2c06b6);},'unpad':function(_0x87166){var _0x376512=_0x16557d,_0x4035e4=_0x87166['words'][_0x87166[_0x376512(0x40b)]-0x1>>>0x2]&0xff;_0x87166['sigBytes']-=_0x4035e4;}};_0x1d4142[_0x16557d(0x3cb)]=_0x35f258[_0x16557d(0x287)]({'cfg':_0x35f258[_0x16557d(0x2c8)]['extend']({'mode':_0x4204af,'padding':_0x178133}),'reset':function(){var _0x1bff44=_0x16557d,_0x4ee526;_0x35f258[_0x1bff44(0x1b2)][_0x1bff44(0x26b)](this);var _0x125a86=this[_0x1bff44(0x2c8)],_0x5b5e59=_0x125a86['iv'],_0x3b3390=_0x125a86[_0x1bff44(0x271)];this[_0x1bff44(0x332)]==this[_0x1bff44(0x2d9)]?_0x4ee526=_0x3b3390[_0x1bff44(0x408)]:(_0x4ee526=_0x3b3390['createDecryptor'],this[_0x1bff44(0x285)]=0x1),this[_0x1bff44(0x278)]&&this[_0x1bff44(0x278)][_0x1bff44(0x28f)]==_0x4ee526?this['_mode'][_0x1bff44(0x3ad)](this,_0x5b5e59&&_0x5b5e59[_0x1bff44(0x371)]):(this['_mode']=_0x4ee526[_0x1bff44(0x26b)](_0x3b3390,this,_0x5b5e59&&_0x5b5e59['words']),this[_0x1bff44(0x278)][_0x1bff44(0x28f)]=_0x4ee526);},'_doProcessBlock':function(_0x28bb54,_0x25ef56){var _0x51165c=_0x16557d;this[_0x51165c(0x278)][_0x51165c(0x300)](_0x28bb54,_0x25ef56);},'_doFinalize':function(){var _0x3274f3=_0x16557d,_0x1eab45,_0x93ee0c=this[_0x3274f3(0x2c8)]['padding'];return this['_xformMode']==this[_0x3274f3(0x2d9)]?(_0x93ee0c[_0x3274f3(0x281)](this[_0x3274f3(0x1f2)],this[_0x3274f3(0x395)]),_0x1eab45=this['_process'](!0x0)):(_0x1eab45=this[_0x3274f3(0x257)](!0x0),_0x93ee0c[_0x3274f3(0x44d)](_0x1eab45)),_0x1eab45;},'blockSize':0x80/0x20});var _0x2276a2=_0x1d4142[_0x16557d(0x277)]=_0x1cec4f[_0x16557d(0x287)]({'init':function(_0x5025cb){this['mixIn'](_0x5025cb);},'toString':function(_0x4342d2){var _0x2d0414=_0x16557d;return(_0x4342d2||this['formatter'])[_0x2d0414(0x22e)](this);}}),_0x2a18f7=_0x50ca7d[_0x16557d(0x43a)]={},_0x342e30=_0x2a18f7[_0x16557d(0x313)]={'stringify':function(_0xb462bc){var _0x3e779c=_0x16557d,_0x45f732,_0x17425f=_0xb462bc[_0x3e779c(0x340)],_0x3f247d=_0xb462bc[_0x3e779c(0x2d2)];return _0x3f247d?_0x45f732=_0x51acc2['create']([0x53616c74,0x65645f5f])[_0x3e779c(0x471)](_0x3f247d)[_0x3e779c(0x471)](_0x17425f):_0x45f732=_0x17425f,_0x45f732[_0x3e779c(0x35e)](_0x223bd9);},'parse':function(_0xfbb783){var _0x32d7d8=_0x16557d,_0x565da9,_0x2face8=_0x223bd9[_0x32d7d8(0x226)](_0xfbb783),_0x349cbd=_0x2face8['words'];return _0x349cbd[0x0]==0x53616c74&&_0x349cbd[0x1]==0x65645f5f&&(_0x565da9=_0x51acc2[_0x32d7d8(0x270)](_0x349cbd['slice'](0x2,0x4)),_0x349cbd[_0x32d7d8(0x49d)](0x0,0x4),_0x2face8[_0x32d7d8(0x40b)]-=0x10),_0x2276a2[_0x32d7d8(0x270)]({'ciphertext':_0x2face8,'salt':_0x565da9});}},_0x386e0d=_0x1d4142[_0x16557d(0x242)]=_0x1cec4f[_0x16557d(0x287)]({'cfg':_0x1cec4f[_0x16557d(0x287)]({'format':_0x342e30}),'encrypt':function(_0x147256,_0x1d29fa,_0xdd6f4f,_0x202554){var _0x109044=_0x16557d;_0x202554=this[_0x109044(0x2c8)]['extend'](_0x202554);var _0x1f33f3=_0x147256[_0x109044(0x408)](_0xdd6f4f,_0x202554),_0x173b23=_0x1f33f3['finalize'](_0x1d29fa),_0xda7c01=_0x1f33f3[_0x109044(0x2c8)];return _0x2276a2[_0x109044(0x270)]({'ciphertext':_0x173b23,'key':_0xdd6f4f,'iv':_0xda7c01['iv'],'algorithm':_0x147256,'mode':_0xda7c01['mode'],'padding':_0xda7c01[_0x109044(0x305)],'blockSize':_0x147256[_0x109044(0x395)],'formatter':_0x202554[_0x109044(0x43a)]});},'decrypt':function(_0x55761b,_0x2d0c94,_0x29b753,_0x4479ba){var _0x33cc81=_0x16557d;_0x4479ba=this[_0x33cc81(0x2c8)][_0x33cc81(0x287)](_0x4479ba),_0x2d0c94=this[_0x33cc81(0x341)](_0x2d0c94,_0x4479ba[_0x33cc81(0x43a)]);var _0x22f5e1=_0x55761b[_0x33cc81(0x302)](_0x29b753,_0x4479ba)['finalize'](_0x2d0c94[_0x33cc81(0x340)]);return _0x22f5e1;},'_parse':function(_0x2c1ec2,_0x467f63){var _0x58d4b0=_0x16557d;return typeof _0x2c1ec2==_0x58d4b0(0x3a2)?_0x467f63[_0x58d4b0(0x226)](_0x2c1ec2,this):_0x2c1ec2;}}),_0x5ad204=_0x50ca7d[_0x16557d(0x45d)]={},_0x29bd01=_0x5ad204[_0x16557d(0x313)]={'execute':function(_0xa9778f,_0x449c2f,_0x200769,_0x309f46,_0x14fb00){var _0x1cf1c4=_0x16557d;if(_0x309f46||(_0x309f46=_0x51acc2['random'](0x40/0x8)),_0x14fb00)var _0x47c1f0=_0x2663f9[_0x1cf1c4(0x270)]({'keySize':_0x449c2f+_0x200769,'hasher':_0x14fb00})[_0x1cf1c4(0x342)](_0xa9778f,_0x309f46);else var _0x47c1f0=_0x2663f9[_0x1cf1c4(0x270)]({'keySize':_0x449c2f+_0x200769})[_0x1cf1c4(0x342)](_0xa9778f,_0x309f46);var _0x1eefed=_0x51acc2[_0x1cf1c4(0x270)](_0x47c1f0[_0x1cf1c4(0x371)][_0x1cf1c4(0x1f8)](_0x449c2f),_0x200769*0x4);return _0x47c1f0['sigBytes']=_0x449c2f*0x4,_0x2276a2[_0x1cf1c4(0x270)]({'key':_0x47c1f0,'iv':_0x1eefed,'salt':_0x309f46});}},_0x4e80e8=_0x1d4142['PasswordBasedCipher']=_0x386e0d[_0x16557d(0x287)]({'cfg':_0x386e0d['cfg'][_0x16557d(0x287)]({'kdf':_0x29bd01}),'encrypt':function(_0x5d6289,_0x1bada2,_0x82f624,_0x5692c){var _0x32c78f=_0x16557d;_0x5692c=this[_0x32c78f(0x2c8)][_0x32c78f(0x287)](_0x5692c);var _0x1eb847=_0x5692c[_0x32c78f(0x45d)][_0x32c78f(0x28a)](_0x82f624,_0x5d6289['keySize'],_0x5d6289[_0x32c78f(0x3da)],_0x5692c[_0x32c78f(0x2d2)],_0x5692c[_0x32c78f(0x3d1)]);_0x5692c['iv']=_0x1eb847['iv'];var _0x3ff283=_0x386e0d[_0x32c78f(0x358)][_0x32c78f(0x26b)](this,_0x5d6289,_0x1bada2,_0x1eb847[_0x32c78f(0x2d6)],_0x5692c);return _0x3ff283[_0x32c78f(0x1fc)](_0x1eb847),_0x3ff283;},'decrypt':function(_0x16448a,_0x3010d7,_0x3b5f36,_0x59c9e6){var _0xabf704=_0x16557d;_0x59c9e6=this[_0xabf704(0x2c8)]['extend'](_0x59c9e6),_0x3010d7=this[_0xabf704(0x341)](_0x3010d7,_0x59c9e6[_0xabf704(0x43a)]);var _0x1d0c8c=_0x59c9e6[_0xabf704(0x45d)][_0xabf704(0x28a)](_0x3b5f36,_0x16448a[_0xabf704(0x2b9)],_0x16448a[_0xabf704(0x3da)],_0x3010d7[_0xabf704(0x2d2)],_0x59c9e6[_0xabf704(0x3d1)]);_0x59c9e6['iv']=_0x1d0c8c['iv'];var _0x222282=_0x386e0d[_0xabf704(0x37d)]['call'](this,_0x16448a,_0x3010d7,_0x1d0c8c[_0xabf704(0x2d6)],_0x59c9e6);return _0x222282;}});}();}));}(Xe)),Xe['exports'];}var Zs=We[_0x3e9f07(0x249)],oi;function Qs(){var _0x558d9a=_0x3e9f07;return oi||(oi=0x1,function(_0x1db83d,_0x3d3162){(function(_0x22665b,_0x57bced,_0xa0fd92){var _0xa3f454=_0x4dcf;_0x1db83d[_0xa3f454(0x249)]=_0x57bced(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x3229c6){var _0xddbe4=_0x4dcf;return(function(){var _0x35769d=_0x4dcf,_0x510f4e=_0x3229c6,_0x4f79d1=_0x510f4e['lib'],_0xbb8273=_0x4f79d1[_0x35769d(0x3cb)],_0x4f67e0=_0x510f4e[_0x35769d(0x42d)],_0xaf4dd2=[],_0x4024c9=[],_0x595c09=[],_0x485907=[],_0x1e0722=[],_0x275285=[],_0x3b9d43=[],_0x50e710=[],_0x598212=[],_0x32bded=[];(function(){for(var _0x5cd497=[],_0x5e1371=0x0;_0x5e1371<0x100;_0x5e1371++)_0x5e1371<0x80?_0x5cd497[_0x5e1371]=_0x5e1371<<0x1:_0x5cd497[_0x5e1371]=_0x5e1371<<0x1^0x11b;for(var _0x5161dd=0x0,_0x17a93b=0x0,_0x5e1371=0x0;_0x5e1371<0x100;_0x5e1371++){var _0x4916f7=_0x17a93b^_0x17a93b<<0x1^_0x17a93b<<0x2^_0x17a93b<<0x3^_0x17a93b<<0x4;_0x4916f7=_0x4916f7>>>0x8^_0x4916f7&0xff^0x63,_0xaf4dd2[_0x5161dd]=_0x4916f7,_0x4024c9[_0x4916f7]=_0x5161dd;var _0x1271d8=_0x5cd497[_0x5161dd],_0x33f632=_0x5cd497[_0x1271d8],_0x57299f=_0x5cd497[_0x33f632],_0x28741d=_0x5cd497[_0x4916f7]*0x101^_0x4916f7*0x1010100;_0x595c09[_0x5161dd]=_0x28741d<<0x18|_0x28741d>>>0x8,_0x485907[_0x5161dd]=_0x28741d<<0x10|_0x28741d>>>0x10,_0x1e0722[_0x5161dd]=_0x28741d<<0x8|_0x28741d>>>0x18,_0x275285[_0x5161dd]=_0x28741d;var _0x28741d=_0x57299f*0x1010101^_0x33f632*0x10001^_0x1271d8*0x101^_0x5161dd*0x1010100;_0x3b9d43[_0x4916f7]=_0x28741d<<0x18|_0x28741d>>>0x8,_0x50e710[_0x4916f7]=_0x28741d<<0x10|_0x28741d>>>0x10,_0x598212[_0x4916f7]=_0x28741d<<0x8|_0x28741d>>>0x18,_0x32bded[_0x4916f7]=_0x28741d,_0x5161dd?(_0x5161dd=_0x1271d8^_0x5cd497[_0x5cd497[_0x5cd497[_0x57299f^_0x1271d8]]],_0x17a93b^=_0x5cd497[_0x5cd497[_0x17a93b]]):_0x5161dd=_0x17a93b=0x1;}}());var _0x40ba66=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2eb995=_0x4f67e0[_0x35769d(0x48e)]=_0xbb8273['extend']({'_doReset':function(){var _0x41aab5=_0x35769d,_0x20dc48;if(!(this[_0x41aab5(0x3d0)]&&this['_keyPriorReset']===this[_0x41aab5(0x289)])){for(var _0x57613a=this['_keyPriorReset']=this['_key'],_0x427a27=_0x57613a[_0x41aab5(0x371)],_0x5900cc=_0x57613a[_0x41aab5(0x40b)]/0x4,_0xebafbf=this['_nRounds']=_0x5900cc+0x6,_0x4e6c5b=(_0xebafbf+0x1)*0x4,_0x52cef0=this[_0x41aab5(0x490)]=[],_0x2f8d66=0x0;_0x2f8d66<_0x4e6c5b;_0x2f8d66++)_0x2f8d66<_0x5900cc?_0x52cef0[_0x2f8d66]=_0x427a27[_0x2f8d66]:(_0x20dc48=_0x52cef0[_0x2f8d66-0x1],_0x2f8d66%_0x5900cc?_0x5900cc>0x6&&_0x2f8d66%_0x5900cc==0x4&&(_0x20dc48=_0xaf4dd2[_0x20dc48>>>0x18]<<0x18|_0xaf4dd2[_0x20dc48>>>0x10&0xff]<<0x10|_0xaf4dd2[_0x20dc48>>>0x8&0xff]<<0x8|_0xaf4dd2[_0x20dc48&0xff]):(_0x20dc48=_0x20dc48<<0x8|_0x20dc48>>>0x18,_0x20dc48=_0xaf4dd2[_0x20dc48>>>0x18]<<0x18|_0xaf4dd2[_0x20dc48>>>0x10&0xff]<<0x10|_0xaf4dd2[_0x20dc48>>>0x8&0xff]<<0x8|_0xaf4dd2[_0x20dc48&0xff],_0x20dc48^=_0x40ba66[_0x2f8d66/_0x5900cc|0x0]<<0x18),_0x52cef0[_0x2f8d66]=_0x52cef0[_0x2f8d66-_0x5900cc]^_0x20dc48);for(var _0x57f918=this[_0x41aab5(0x33a)]=[],_0x1cf97f=0x0;_0x1cf97f<_0x4e6c5b;_0x1cf97f++){var _0x2f8d66=_0x4e6c5b-_0x1cf97f;if(_0x1cf97f%0x4)var _0x20dc48=_0x52cef0[_0x2f8d66];else var _0x20dc48=_0x52cef0[_0x2f8d66-0x4];_0x1cf97f<0x4||_0x2f8d66<=0x4?_0x57f918[_0x1cf97f]=_0x20dc48:_0x57f918[_0x1cf97f]=_0x3b9d43[_0xaf4dd2[_0x20dc48>>>0x18]]^_0x50e710[_0xaf4dd2[_0x20dc48>>>0x10&0xff]]^_0x598212[_0xaf4dd2[_0x20dc48>>>0x8&0xff]]^_0x32bded[_0xaf4dd2[_0x20dc48&0xff]];}}},'encryptBlock':function(_0x2ceece,_0x424564){var _0x5a628c=_0x35769d;this[_0x5a628c(0x2e2)](_0x2ceece,_0x424564,this[_0x5a628c(0x490)],_0x595c09,_0x485907,_0x1e0722,_0x275285,_0xaf4dd2);},'decryptBlock':function(_0x84cfad,_0x26aaba){var _0xd50388=_0x35769d,_0x4c4804=_0x84cfad[_0x26aaba+0x1];_0x84cfad[_0x26aaba+0x1]=_0x84cfad[_0x26aaba+0x3],_0x84cfad[_0x26aaba+0x3]=_0x4c4804,this[_0xd50388(0x2e2)](_0x84cfad,_0x26aaba,this[_0xd50388(0x33a)],_0x3b9d43,_0x50e710,_0x598212,_0x32bded,_0x4024c9);var _0x4c4804=_0x84cfad[_0x26aaba+0x1];_0x84cfad[_0x26aaba+0x1]=_0x84cfad[_0x26aaba+0x3],_0x84cfad[_0x26aaba+0x3]=_0x4c4804;},'_doCryptBlock':function(_0x50f314,_0x424223,_0x4e81a4,_0x43446b,_0x160f98,_0x1e5614,_0x3ccce2,_0x96c888){for(var _0x380d1d=this['_nRounds'],_0x451d3d=_0x50f314[_0x424223]^_0x4e81a4[0x0],_0x15a33f=_0x50f314[_0x424223+0x1]^_0x4e81a4[0x1],_0x1b0fd7=_0x50f314[_0x424223+0x2]^_0x4e81a4[0x2],_0x45ba0c=_0x50f314[_0x424223+0x3]^_0x4e81a4[0x3],_0x5218cd=0x4,_0x59dca7=0x1;_0x59dca7<_0x380d1d;_0x59dca7++){var _0x2a43ba=_0x43446b[_0x451d3d>>>0x18]^_0x160f98[_0x15a33f>>>0x10&0xff]^_0x1e5614[_0x1b0fd7>>>0x8&0xff]^_0x3ccce2[_0x45ba0c&0xff]^_0x4e81a4[_0x5218cd++],_0x32c92c=_0x43446b[_0x15a33f>>>0x18]^_0x160f98[_0x1b0fd7>>>0x10&0xff]^_0x1e5614[_0x45ba0c>>>0x8&0xff]^_0x3ccce2[_0x451d3d&0xff]^_0x4e81a4[_0x5218cd++],_0x3c3245=_0x43446b[_0x1b0fd7>>>0x18]^_0x160f98[_0x45ba0c>>>0x10&0xff]^_0x1e5614[_0x451d3d>>>0x8&0xff]^_0x3ccce2[_0x15a33f&0xff]^_0x4e81a4[_0x5218cd++],_0x19d94f=_0x43446b[_0x45ba0c>>>0x18]^_0x160f98[_0x451d3d>>>0x10&0xff]^_0x1e5614[_0x15a33f>>>0x8&0xff]^_0x3ccce2[_0x1b0fd7&0xff]^_0x4e81a4[_0x5218cd++];_0x451d3d=_0x2a43ba,_0x15a33f=_0x32c92c,_0x1b0fd7=_0x3c3245,_0x45ba0c=_0x19d94f;}var _0x2a43ba=(_0x96c888[_0x451d3d>>>0x18]<<0x18|_0x96c888[_0x15a33f>>>0x10&0xff]<<0x10|_0x96c888[_0x1b0fd7>>>0x8&0xff]<<0x8|_0x96c888[_0x45ba0c&0xff])^_0x4e81a4[_0x5218cd++],_0x32c92c=(_0x96c888[_0x15a33f>>>0x18]<<0x18|_0x96c888[_0x1b0fd7>>>0x10&0xff]<<0x10|_0x96c888[_0x45ba0c>>>0x8&0xff]<<0x8|_0x96c888[_0x451d3d&0xff])^_0x4e81a4[_0x5218cd++],_0x3c3245=(_0x96c888[_0x1b0fd7>>>0x18]<<0x18|_0x96c888[_0x45ba0c>>>0x10&0xff]<<0x10|_0x96c888[_0x451d3d>>>0x8&0xff]<<0x8|_0x96c888[_0x15a33f&0xff])^_0x4e81a4[_0x5218cd++],_0x19d94f=(_0x96c888[_0x45ba0c>>>0x18]<<0x18|_0x96c888[_0x451d3d>>>0x10&0xff]<<0x10|_0x96c888[_0x15a33f>>>0x8&0xff]<<0x8|_0x96c888[_0x1b0fd7&0xff])^_0x4e81a4[_0x5218cd++];_0x50f314[_0x424223]=_0x2a43ba,_0x50f314[_0x424223+0x1]=_0x32c92c,_0x50f314[_0x424223+0x2]=_0x3c3245,_0x50f314[_0x424223+0x3]=_0x19d94f;},'keySize':0x100/0x20});_0x510f4e['AES']=_0xbb8273[_0x35769d(0x1cd)](_0x2eb995);}()),_0x3229c6[_0xddbe4(0x48e)];}));}(We)),We[_0x558d9a(0x249)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x3e9f07(0x249)],ci;function sr(){var _0x1b1a22=_0x3e9f07;return ci||(ci=0x1,function(_0x2b4a8c,_0x517b8c){(function(_0x2251be,_0xce3d9d){var _0x41a25d=_0x4dcf;_0x2b4a8c[_0x41a25d(0x249)]=_0xce3d9d(ne());}(nr,function(_0x4b2cf8){var _0x12f25a=_0x4dcf;return _0x4b2cf8[_0x12f25a(0x23b)][_0x12f25a(0x280)];}));}(Ze)),Ze[_0x1b1a22(0x249)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x3e9f07(0x249)],hi;function cr(){var _0x35a12d=_0x3e9f07;return hi||(hi=0x1,function(_0xba321,_0x181eb7){(function(_0x51dc2c,_0x5b950e){_0xba321['exports']=_0x5b950e(ne());}(ar,function(_0x228994){var _0x6e406e=_0x4dcf;return(function(){var _0x28da3f=_0x4dcf;if(typeof ArrayBuffer==_0x28da3f(0x377)){var _0x298d87=_0x228994,_0x501480=_0x298d87[_0x28da3f(0x29c)],_0x25980f=_0x501480[_0x28da3f(0x1f4)],_0x2945b6=_0x25980f[_0x28da3f(0x3ad)],_0xd84f67=_0x25980f['init']=function(_0x4f0c95){var _0x5db009=_0x28da3f;if(_0x4f0c95 instanceof ArrayBuffer&&(_0x4f0c95=new Uint8Array(_0x4f0c95)),(_0x4f0c95 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4f0c95 instanceof Uint8ClampedArray||_0x4f0c95 instanceof Int16Array||_0x4f0c95 instanceof Uint16Array||_0x4f0c95 instanceof Int32Array||_0x4f0c95 instanceof Uint32Array||_0x4f0c95 instanceof Float32Array||_0x4f0c95 instanceof Float64Array)&&(_0x4f0c95=new Uint8Array(_0x4f0c95['buffer'],_0x4f0c95['byteOffset'],_0x4f0c95[_0x5db009(0x335)])),_0x4f0c95 instanceof Uint8Array){for(var _0x1a19eb=_0x4f0c95['byteLength'],_0x444a99=[],_0x82fa4e=0x0;_0x82fa4e<_0x1a19eb;_0x82fa4e++)_0x444a99[_0x82fa4e>>>0x2]|=_0x4f0c95[_0x82fa4e]<<0x18-_0x82fa4e%0x4*0x8;_0x2945b6[_0x5db009(0x26b)](this,_0x444a99,_0x1a19eb);}else _0x2945b6['apply'](this,arguments);};_0xd84f67[_0x28da3f(0x35b)]=_0x25980f;}}()),_0x228994[_0x6e406e(0x29c)][_0x6e406e(0x1f4)];}));}(Qe)),Qe[_0x35a12d(0x249)];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0x3e9f07(0x249)],_i;function _0x5145(){var _0x742f45=['_transformSelections','CHANGESET_REJ','textRanges','SOCKET_FAILED','body','/universer-api/authz','_getSendChangesetTimeout','OpenSSL','[CollaborationSessionService]:\x20socket\x20error','_undoStacks','Could\x20not\x20dynamically\x20require\x20\x22','objectID','_getCurrentRevision','_initRequestHeader','save\x20fail\x20reason\x20is\x20','capture','ruleRefresh','/-/object/-/batch_allowed','JOINING','_configService','duration','toLowerCase','sid','socketService','SNAPSHOT_URL_KEY','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','PERMISSION_DENIED','resend','_state','IDLE','INVALID_ARGUMENT','awaitingChangeset','_clearCollaborationTimeoutTimer','_getAPIPrefixPath','[CollaborationUndoRedoService]','substr','collaMsg','\x0aAfter:\x20','_xformMode','_telemetryService','4604328XMcAgL','byteLength','_imageSourceCache','search','forEach','refreshPermission','_invKeySchedule','_updateState','_univerInstanceService','random','_getRedoStack','_lockTransition','ciphertext','_parse','compute','_stopTelemetryCollaborationNewChangeset','/collaborator','[DataLoaderService]','msCrypto','_syncEditingCollabCursor','UPDATE_CURSOR','getImage','_initCloseConn','image/bmp','state$','univer-pro.collaboration-client.network-condition.service','/universer-api/file/{fileID}/sign-url','getOwnPropertyDescriptor','_localeService','getUnitId','_event$','_members$','_applyRemoteChangeset','_clearHeartbeatTimer','_remoteChangesetQueue','_clearLocalCache','encrypt','_clearScheduledTask','OPTIONAL','prototype','eventID','setCurrentUser','toString','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','ENSURE_SNAPSHOT_EXECUTION','_scheduleTimestamp','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','[OfflineState]:\x20received\x20acknowledgement.','connection\x20error','decryptBlock','BASE64','socket\x20close','_schedule','65889EhJUom','_doFinalize','CHANGESET_ACK','UNRECOGNIZED','592xTfozo','UNIVER_DOC','collabSubmitChangesetUrl','_onRecvEvent','words','People','src','_undoRedoService','MSG_FOR_ERROR','complete','function','_authzIoService','onTransformRemoteChangesetByIMECache','not_collab','UNDEFINED','unsubscribe','decrypt','initWorkbookPermissionChange','getCollabEntity$','_socket$','_DEC_XFORM_MODE','readAsDataURL','getCurrentUnitForType','next','loginUrlKey','defineProperty','onRemoteRej','_acknowledgedAwaitingChangeset','MUTATION','UNKNOWN_CMD','crypto','unit-cache-','_sendHeartbeatTimer','avatar','entries','editing\x20status\x20changed\x20to','USERS_LEAVE','session.room-not-exists','has','\x20to\x20','blockSize','createInstance','max','_waitCount','code','UNIVER_SLIDE','657293BlReTb','getTypeOfUnitDisposed$','createCollaborator','HEARTBEAT_INTERVAL','_getUndoStack','_onRemoteRetry','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','string','[PendingState]:\x20unhandled\x20univer\x20type:\x20','replace','Hex','SHA1','result','saveSheetBlock','value','updateCollaborator','c1Prime','_checkMissing','init','_socketService','saveChangeset','cmd','_isPermissionRej','getTypeOfUnitAdded$','4osHoSr','COMPRESS_MUTATION_APPLY','_config','error','[CollaborationSession]','_memberService','PERMISSION_REJ','bind','type','filter','EvpKDF','getUnitType','members$','/allowed','getImageSourceCache','isPermissionRej','onCommentUpdate','_initMergeInterceptor','abs','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','\x0aCurrent:\x20','onSyncEditingCollabCursor','pipe','_joinRoom','BlockCipher','_tryEnsureSocket','equals','_handlerCallback','debug','_nRounds','hasher','_roomMembers','apply','AWAITING_WITH_PENDING','EXCHANGE_SIGN_URL_SERVER_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','updateCursorEvent','APPLY_REVISION_CONFILICT','__Key__','ivSize','listRoles','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_onRemoteChangeset','members','batchAllowed','allowed','executeCommand','rev','getMember','fetch_missing','findIndex','_onOffline','MD5','_onCombEvent','collaboratorID','_http','floor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','getTime','_onUserJoin','_incrementRevisionNumber','sessionStatus','univer-pro.collaboration-client.single-active-unit-service','_disableEditing','_loadSheet','onTransformSelections','LOCAL_CACHE_INTERVAL','message$','_append','size','m2Prime','asObservable','_createSocketURL','_executeRemoteChangeset','NEW_CHANGESETS','/universer-api/oidc/authpage','onRemoteChangeset','5339067PtMEvS','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','LICENSE_MAX_UNITS_EXCEEDED','workbook','onlyLocal','updatePermissionPoint','/resources','\x20-\x20','createEncryptor','_clearUndo','_onUserLeave','sigBytes','push','loadUnit','_waitForHeartbeatResponse','_state$','LICENSE_IMPORT_SIZE_EXCEEDED','submit\x20changeset\x20error!','_removeRoom','_onJoinRoomEvent','onTransformIME','getValue','_collaborationSessionService','onload','subject','ceil','SelectRange','getResourcesRequest','_prevBlock','_HTTPService','interceptor','csShouldRetryEvent','list','_showConflictNotification','ERROR_IMAGE','_map','_unitID','Worksheet','appendMutation','_createInitialState','[FetchMissState]','entityInit$','_retryConnectingTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','COMPRESS_MUTATION_SEND','algo','mutations','_throwTelemetryCollaborationNewChangeset','/role','patch','HttpImport','reject','Cipher','requestParams','_substituteUndoStack','authzUrl','_resendTimeout','YUUMI_URL_COL_OUT_OF_RANGE','format','CLOSE_ROOM','Base','FAIL','clamp','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','LEAVE','_initUnitPermissionChange','set','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','UNISCRIPT_RUN','ws://127.0.0.1:8000/universer-api/comb/connect','reqId','_eventService','retryConnectingInterval','close','transformChangesets','SUBMIT_CHANGESET','repeat','unpad','readyForCollab','_onRemoteRejected','clear','HMAC','fetching\x20missing\x20changesets\x20from\x20','updatePermissionObjEvent','_collabSessionService','post','joinEvent','_fetchMissChangesets','Encryptor','_sender','getSheetBlock','url','delete','kdf','saveImage','_createHandler','LICENSE_EXPORT_SIZE_EXCEEDED','uploadFileServerUrl','headers','_transformStateCache','TOO_MANY_REQUESTS','rng','$super','_transformRemoteChangesetByIMECache','from','{fileID}','sessionStatus$','_getSessionTicket','length','_onFetchMissResult','_onConflict','_onLocalMutation','_resendWithTimeout','concat','json','joinRsp','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','open$','_getDownloadEndpointURL','resolve','clearUndoRedo','putCollaborators','_transformIMECache','_scheduleCollaborationTimeoutTimer','closeSession','StreamCipher','clone','session.room-cnt-exceeds','_listenToNetworkCondition','_collaborationTimeoutTimer','reconnect','userID','_injector','send','_replaceFileID','_onConnectionOpen','awaiting','LIVESHARE_TERMINATE','FileId','_permissionService','editingUnit','__esModule','AES','state','_keySchedule','error$','Univer','revision','_resendTimer','objectActions','catch','BufferedBlockAlgorithm','SOCKET_FAILED_RETRY','charCodeAt','fromCharCode','pauseCollaboration','?url=','splice','target','_getCtorByUniverType','_change$','onMissingChangesets','PERSON','UNIVER_UNKNOWN','_snapshotService','INGEST','onMissedChangesetFetched','_tryReconnect','_hash','unknown','toggleOnline','PSEUDO_FETCH_MISSING_RESULT','HttpExport','updateMember','_replayCachedMutations','objectType','addImageSourceCache','unitId\x20is\x20not\x20found','getCurrentUser','_singleActiveUnitService','_transitionLocked','_entityInit$','11jCRANs','_toggleOffline','UUID','startTime','reset','[CollaborationEntity]','_compressMutationService','_networkConditionService','_submitChangeset','_onConnectionFailed','enableAuthServer','collaboration-client.local-cache-service','_sessions','_createInitialStateImpl','_sessionStatus$','localeService','disposeWithMe','hostname','UNIVER_PROJECT','/fetchmissing?from=','SNAPSHOT_SERVER_URL_KEY','getActiveSheet','_createHmacHelper','status','snapshotServerUrl','default','map','ONLINE','_revisionService','isArray','FETCH_MISSING','_createHelper','_getUploadFileURL','CHANGESET_SHOULD_RETRY','ERROR_EXCEED_SIZE','image/jpeg','USERS_ENTER','_getAPIPrefix','_shouldReportTelemetry','NOT_COLLAB','SYNCED','onCommandExecuted','getLatestCsReqIdBySid','getConfig','_changesetReqId','offline','iterations','_pendingMutations','image/jpg','responseType','_socket','selections','getCollabEntity','sendChangesetTimeout','_onRemoteACK','add','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','10324680cFTMNw','NO_OTHER_CLIENTS_EDITING','UNIVER_COLLABORATION_CLIENT_PLUGIN','_oKey','&assign=','SNAPSHOT_HAS_BEEN_REMOVED','session','INTERNAL_ERROR','Pkcs7','_exhaustRemoteChangesetQueue','online$','_data','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','WordArray','onRemoteAck','liveShareOperation','wsSessionTicketUrl','slice','getUnitStatus$','actions','[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.','mixIn','addHandlerCallback','put','_sendingTimer','originalMeta','_getLoginPath','&source=','/rev/','changesets','update','createSocket','_transformService','routeKey','LOGIN_URL_KEY','getWorkbookSelections','_rescheduleHeartbeat','getPermissionPoint','/block/','_entities','_socketReady','liveShareNewHost','UPDATE_PERMISSION_OBJ','localCacheService','_emitMembers','[UniverCollaborationClientPlugin]','searchParams','SUBMIT_CHANGESET_TIMEOUT','NOT_FOUND','loadOfflineData','Hasher','c2Prime','origin','every','now','5UTcnix','_handler','get','data','updateOfflineData','APPLY_PERMISSION_DENIED','Error\x20on\x20receiving\x20event','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','parse','reduce','DEFAULT_FILE_NAME','fetchMissingChangesets','_retryCount','failed\x20to\x20apply\x20missed\x20changesets!','/universer-api/comb','[CollaborationState]:\x20apply\x20error!','stringify','_commentUpdate$','_transformRemoteChangesetByStateCache','HELLO','_roomCreated$','_commandService','_updateLocalCache','waitForRoom$','_initDependencies','application/json','_httpService','JOIN_ROOM_FULL','reverse','enc','permissionRejEvent','charAt','getAllMembers','signUrlServerUrl','event$','Workbook','SerializableCipher','method','POST','RETRY_CONNECTING_MAX_COUNT','unitId','/object/','_unitInfo$','exports','file','SHOULD_CLOSE_CONN','getDeserializedSheetBlock','dispose','getInterceptPoints','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_RATE_OVER_LIMIT','ticket','Undefined','_onMessage','JOIN_ROOM_PERMISSION_DENIED','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_collaborationPaused','_process','Decryptor','getTargetByPermissionId','_telemetryInfo','join','then','_iv','getSnapshotAPIPath','baseRev','leaveEvent','requireSession','[OfflineState]:\x20received\x20changeset.','50042ojKuYi','x-univer-host','randomBytes','conflict','readInt32LE','csRejEvent','hasOwnProperty','session.join-failed','call','APPLY_REJECT','onTransformRemoteChangesetByStateCache','46lshzAS','COLLAB_SUBMIT_CHANGESET_URL','create','mode','_hasher','pending','FETCH_MISS','session.room-permission-denied','symbol','CipherParams','_mode','withCredentials','sin','_decreaseWaiting','location','LIVESHARE_NEW_HOST','find','downloadEndpointUrl','Utf8','pad','/universer-api/stream/file/upload','onSendChangeset','fetchThroughInterceptors','_minBufferSize','_sheetTransformSelectionsService','extend','COMPLETION_FINISHED','_key','execute','_commentService','_logService','unitID','getCurrentSelections','__creator','title','encryptBlock','OTHER_CLIENT_EDITING','ERROR_IMAGE_TYPE','getRandomValues','HmacSHA1','UnitEmbedded','OFFLINE','loadSheet','params','_nDataBytes','onLocalMutation','lib','enableSingleActiveInstanceLock','emitEvent','_awaitingChangeset','SNAPSHOT_INVALID_SNAPSHOT','removeMember','_candidateSocket','_clearTimeoutTimer','_localCacheService','YUUMI_UNABLE_LOAD_URL','_substituteRedoStack','_type','finalize','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','shouldCloseConn','[PendingState]:\x20received\x20acknowledgement.','YUUMI_SUBSCRIPTION_NOT_FOUND','OTHER_CLIENTS_EDITING','_transformUndoredo','image/png','onStateChange','_loadDoc','JOIN','[CollaborationSessionService]','getUnitOnRev','close$','action','_updateStatus','LIVESHARE_OPERATION','keySize','COLLAB_WEB_SOCKET_URL','_members','_doProcessBlock','CHANGESET_REVISION_CONFILICT','dispose$','saveSnapshot','_userManagerService','HmacMD5','randomUUID','ALREADY_EXISTS','subType','_iKey','sessionTicket','_sendHeartbeat','cfg','COMMENT_UPDATE','indexOf','CONNECTOR_DATA_TOO_LARGE','toggleOffline','CONFLICT','override','UNAUTHENTICATED','_cipher','JOIN_ROOM_FAILED','salt','_timeoutTimer','HEARTBEAT','disableLocalCache','key','runId','synced','_ENC_XFORM_MODE','GLOBAL_ROOMS_CNT_EXCEEDS','commentUpdate$','_startTelemetryCollaborationNewChangeset','_registerDependencies','/object','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','/-/object/list','memberID','_doCryptBlock','roles','_clearRedo','subscribe','UNKNOWN_CODE','_init','?size=','fetchMiss','AWAITING','transformUndoRedo','Base64','_socketMessageSubscription','_unlockTransition','JOIN_ROOM_NOT_EXISTS','transformMutationsWithChangeset','NoPadding','LIVESHARE_FETCH_OPERATIONS','SEND_CHANGESET_TIMEOUT','onRemoteRetry','getCurrentRevOfUnit','pluginName','change$','onTransformState','_status$','status$','stopTime','confirm','_reverseMap','UNIVER_SHEET','10421770CyJvoH','processBlock','setShowComponents','createDecryptor','_collaborationUIEventService','transformSelections','padding','/unit/','collaborators','registerHTTPInterceptor','RECV','encodeURIComponent','range'];_0x5145=function(){return _0x742f45;};return _0x5145();}function ur(){return _i||(_i=0x1,function(_0x464757,_0x581684){(function(_0x12ea76,_0x205dbc,_0x23f7bc){var _0x6a301=_0x4dcf;_0x464757[_0x6a301(0x249)]=_0x205dbc(ne(),xi());}(lr,function(_0x382ea2){var _0x196650=_0x4dcf;return _0x382ea2['pad'][_0x196650(0x2f1)]={'pad':function(){},'unpad':function(){}},_0x382ea2[_0x196650(0x281)][_0x196650(0x2f1)];}));}(et)),et['exports'];}var dr=ur();const fr=ke(dr);function vr(_0x475be4,_0x1711da){var _0xae758c=_0x3e9f07;const _0x189c1c=_0x1711da-_0x475be4[_0xae758c(0x46c)]%_0x1711da,_0x1b108f=String[_0xae758c(0x49a)](_0x189c1c)[_0xae758c(0x44c)](_0x189c1c);return _0x475be4+_0x1b108f;}function pr(_0x17957f,_0x810325){var _0x2e420e=_0x3e9f07;const _0x5a409b=_r[_0x2e420e(0x33d)](0x10),_0x46d17a=vr(_0x17957f,0x10),_0x53dfdb=tr[_0x2e420e(0x358)](or['parse'](_0x46d17a),ai['parse'](_0x810325),{'iv':_0x5a409b,'padding':fr});return _0x5a409b[_0x2e420e(0x471)](_0x53dfdb[_0x2e420e(0x340)])[_0x2e420e(0x35e)](ai);}function mr(){var _0x3692ea=_0x3e9f07;const _0x502d11=_0x251d28()[_0x3692ea(0x3d9)];if(_0x502d11){const _0x120811={'time':Math[_0x3692ea(0x3eb)](Date['now']()/0x3e8),'domain':location[_0x3692ea(0x1bf)]};return pr(JSON[_0x3692ea(0x22e)](_0x120811),_0x502d11);}}var gr=Object[_0x3e9f07(0x386)],Sr=Object[_0x3e9f07(0x34f)],Er=(_0x3b80e9,_0x1ab9bd,_0x2785ed,_0x4e99fa)=>{for(var _0x4c3664=_0x4e99fa>0x1?void 0x0:_0x4e99fa?Sr(_0x1ab9bd,_0x2785ed):_0x1ab9bd,_0x8da2a=_0x3b80e9['length']-0x1,_0x5ea96f;_0x8da2a>=0x0;_0x8da2a--)(_0x5ea96f=_0x3b80e9[_0x8da2a])&&(_0x4c3664=(_0x4e99fa?_0x5ea96f(_0x1ab9bd,_0x2785ed,_0x4c3664):_0x5ea96f(_0x4c3664))||_0x4c3664);return _0x4e99fa&&_0x4c3664&&gr(_0x1ab9bd,_0x2785ed,_0x4c3664),_0x4c3664;},Ir=(_0x5d8698,_0x4312d6)=>(_0x113129,_0x57f842)=>_0x4312d6(_0x113129,_0x57f842,_0x5d8698);let at=class{constructor(_0x59b39f){var _0x1c6dac=_0x3e9f07;this[_0x1c6dac(0x238)]=_0x59b39f,this['_initRequestHeader']();}[_0x3e9f07(0x319)](){var _0x15f562=_0x3e9f07;this['_httpService'][_0x15f562(0x308)]({'interceptor':(_0x10bfb,_0x4847c4)=>{var _0x54bcb8=_0x15f562;const _0x520cf=_0x10bfb[_0x54bcb8(0x462)],_0x120cfe=mr();return _0x120cfe&&_0x520cf['set'](_0x54bcb8(0x264),_0x120cfe),_0x4847c4(_0x10bfb);}});}};at=Er([Ir(0x0,_0x1e11c8(_0x26621f))],at);var Tr=Object[_0x3e9f07(0x386)],Cr=Object[_0x3e9f07(0x34f)],br=(_0xc7f869,_0x3a17a6,_0x167e55,_0x277b5c)=>{var _0x4056f9=_0x3e9f07;for(var _0x575641=_0x277b5c>0x1?void 0x0:_0x277b5c?Cr(_0x3a17a6,_0x167e55):_0x3a17a6,_0x2110b0=_0xc7f869[_0x4056f9(0x46c)]-0x1,_0x5e70a1;_0x2110b0>=0x0;_0x2110b0--)(_0x5e70a1=_0xc7f869[_0x2110b0])&&(_0x575641=(_0x277b5c?_0x5e70a1(_0x3a17a6,_0x167e55,_0x575641):_0x5e70a1(_0x575641))||_0x575641);return _0x277b5c&&_0x575641&&Tr(_0x3a17a6,_0x167e55,_0x575641),_0x575641;},gt=(_0x5d6773,_0x3c5090)=>(_0x5d6cb6,_0x533430)=>_0x3c5090(_0x5d6cb6,_0x533430,_0x5d6773);let Ot=class extends _0x37e680{constructor(_0x559b0f,_0x5e2105,_0x39ff3b){var _0x2844be=_0x3e9f07;super(),N(this,_0x2844be(0x248),new _0x251b5f(null)),N(this,'unitInfo$',this['_unitInfo$']['asObservable']()),(this[_0x2844be(0x28c)]=_0x559b0f,this[_0x2844be(0x4a4)]=_0x5e2105,this[_0x2844be(0x2a4)]=_0x39ff3b);}async[_0x3e9f07(0x40d)](_0x458c00,_0x2f2133,_0x1281f6){var _0x49d744=_0x3e9f07;this[_0x49d744(0x248)][_0x49d744(0x384)]({'unitId':_0x458c00,'type':_0x2f2133,'subUnitId':_0x1281f6});let _0x5c33e2=null;switch(_0x2f2133){case Q[_0x49d744(0x2fe)]:{_0x5c33e2=await this[_0x49d744(0x3f3)](_0x458c00);break;}case Q[_0x49d744(0x36e)]:{_0x5c33e2=await this[_0x49d744(0x2b1)](_0x458c00);break;}default:{this[_0x49d744(0x28c)][_0x49d744(0x3b6)](_0x49d744(0x345),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5c33e2;}async[_0x3e9f07(0x3f3)](_0x16b243){var _0xb42fbe=_0x3e9f07,_0x3ca9fc;let _0x31af93=0x0;const _0x904c1a=await((_0x3ca9fc=this[_0xb42fbe(0x2a4)])==null?void 0x0:_0x3ca9fc[_0xb42fbe(0x218)](_0x16b243));return _0x904c1a&&(_0x904c1a[_0xb42fbe(0x32b)]||_0x904c1a[_0xb42fbe(0x42e)][_0xb42fbe(0x46c)]!==0x0)&&(_0x31af93=_0x904c1a['rev']),_0x31af93===0x0&&this[_0xb42fbe(0x28c)][_0xb42fbe(0x3cf)](_0xb42fbe(0x345),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0xb42fbe(0x4a4)][_0xb42fbe(0x298)](_0x16b243,_0x31af93);}async[_0x3e9f07(0x2b1)](_0xe1aede){var _0x2c0932=_0x3e9f07,_0x1a8540;let _0x5ea26c=0x0;const _0x5e52fa=await((_0x1a8540=this['_localCacheService'])==null?void 0x0:_0x1a8540['loadOfflineData'](_0xe1aede));return _0x5e52fa&&(_0x5e52fa[_0x2c0932(0x32b)]||_0x5e52fa[_0x2c0932(0x42e)]['length']!==0x0)&&(_0x5ea26c=_0x5e52fa[_0x2c0932(0x3e2)]),_0x5ea26c===0x0&&this[_0x2c0932(0x28c)][_0x2c0932(0x3cf)](_0x2c0932(0x345),_0x2c0932(0x3c6)),this[_0x2c0932(0x4a4)]['loadDoc'](_0xe1aede,_0x5ea26c);}};Ot=br([gt(0x0,_0x290771),gt(0x1,_0x1e11c8(_0x298fb0)),gt(0x2,_0x5a8d4f(X))],Ot);var Rr=Object[_0x3e9f07(0x386)],yr=Object[_0x3e9f07(0x34f)],Or=(_0x51f7d7,_0x3a4298,_0x59952d,_0x2add8e)=>{for(var _0x4dbba9=_0x2add8e>0x1?void 0x0:_0x2add8e?yr(_0x3a4298,_0x59952d):_0x3a4298,_0x226b9d=_0x51f7d7['length']-0x1,_0x423306;_0x226b9d>=0x0;_0x226b9d--)(_0x423306=_0x51f7d7[_0x226b9d])&&(_0x4dbba9=(_0x2add8e?_0x423306(_0x3a4298,_0x59952d,_0x4dbba9):_0x423306(_0x4dbba9))||_0x4dbba9);return _0x2add8e&&_0x4dbba9&&Rr(_0x3a4298,_0x59952d,_0x4dbba9),_0x4dbba9;},St=(_0x41681e,_0x5f5004)=>(_0x4fb62c,_0x37038f)=>_0x5f5004(_0x4fb62c,_0x37038f,_0x41681e);const Pr=[_0x3e9f07(0x2af),_0x3e9f07(0x1d1),_0x3e9f07(0x1de),'image/gif',_0x3e9f07(0x34b)],Nr=0x5*0x400*0x400,Dr=_0x3e9f07(0x2a9),wr=_0x3e9f07(0x282),Ur=_0x3e9f07(0x3d5),Ar=_0x3e9f07(0x34e);let Pt=class{constructor(_0x1f5b06,_0x978be8,_0x5ea97b){var _0x3fc737=_0x3e9f07;N(this,'_waitCount',0x0),N(this,_0x3fc737(0x4a0),new _0x459b05()),N(this,_0x3fc737(0x2f7),this[_0x3fc737(0x4a0)]),N(this,'_imageSourceCache',new Map()),(this[_0x3fc737(0x238)]=_0x1f5b06,this[_0x3fc737(0x31f)]=_0x978be8,this[_0x3fc737(0x33c)]=_0x5ea97b);}['setWaitCount'](_0x562a53){var _0x171a69=_0x3e9f07;this[_0x171a69(0x398)]=_0x562a53,this[_0x171a69(0x4a0)][_0x171a69(0x384)](_0x562a53);}[_0x3e9f07(0x3c1)](_0x54acc6,_0x27f5fc){var _0x3bde14=_0x3e9f07;if(_0x27f5fc===_0x5f024b[_0x3bde14(0x366)]){const _0x45a5c9=new Image();return _0x45a5c9[_0x3bde14(0x373)]=_0x54acc6,_0x45a5c9;}return this[_0x3bde14(0x336)][_0x3bde14(0x220)](_0x54acc6);}[_0x3e9f07(0x1a8)](_0x3ca9d1,_0x4ac0cd,_0x965738){var _0x12e96f=_0x3e9f07;_0x4ac0cd===_0x5f024b['BASE64']||_0x965738==null||this[_0x12e96f(0x336)]['set'](_0x3ca9d1,_0x965738);}async[_0x3e9f07(0x349)](_0x1071b3){var _0xec4b77=_0x3e9f07;try{const _0xb63469=this[_0xec4b77(0x486)](this['_getSignURL'](),''+_0x1071b3),_0x46256e=(await this['_httpService'][_0xec4b77(0x220)](_0xb63469))['body'];if(_0x46256e[_0xec4b77(0x3b6)]&&_0x46256e[_0xec4b77(0x3b6)][_0xec4b77(0x399)]===Ti['OK']){const _0xd6e96a=new URL(_0x46256e['url'],this[_0xec4b77(0x476)]())[_0xec4b77(0x35e)]();return Promise[_0xec4b77(0x477)](_0xd6e96a);}return Promise[_0xec4b77(0x433)](_0x46256e[_0xec4b77(0x3b6)]);}catch(_0x464f1e){return Promise[_0xec4b77(0x433)](_0x464f1e);}}async[_0x3e9f07(0x45e)](_0x3b1f0f){var _0x4e8be4=_0x3e9f07;let _0x5a46ba='';if(!Pr['includes'](_0x3b1f0f[_0x4e8be4(0x3bb)]))return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x293)]));if(_0x3b1f0f[_0x4e8be4(0x3f8)]>Nr)return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x1d0)]));try{const _0x2e45fb=new FormData();_0x2e45fb['append'](_0x4e8be4(0x24a),_0x3b1f0f);const _0x3575e6=this[_0x4e8be4(0x33c)]['getFocusedUnit'](),_0x5bc732=_0x3575e6==null?void 0x0:_0x3575e6['getUnitId']();if(!_0x5bc732)throw new Error(_0x4e8be4(0x1a9));const _0x101722=this[_0x4e8be4(0x1ce)]()+_0x4e8be4(0x2e8)+_0x3b1f0f[_0x4e8be4(0x3f8)][_0x4e8be4(0x35e)]()+_0x4e8be4(0x202)+Ci[_0x4e8be4(0x296)]+_0x4e8be4(0x1eb)+encodeURIComponent(_0x5bc732),_0x1469e7=await(await fetch(_0x101722,{'method':_0x4e8be4(0x244),'body':_0x2e45fb}))[_0x4e8be4(0x472)]();if(typeof _0x1469e7[_0x4e8be4(0x48a)]!=_0x4e8be4(0x3a2))return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac['ERROR_IMAGE']));_0x5a46ba=_0x1469e7[_0x4e8be4(0x48a)];}catch{return this[_0x4e8be4(0x27b)](),Promise[_0x4e8be4(0x433)](new Error(_0x4351ac[_0x4e8be4(0x422)]));}return new Promise((_0x4d512d,_0x2d3e86)=>{var _0x392279=_0x4e8be4;const _0x1e9b13=new FileReader();_0x1e9b13[_0x392279(0x382)](_0x3b1f0f),_0x1e9b13[_0x392279(0x417)]=_0x447a6e=>{var _0x55eb5d=_0x392279,_0x49cd79;const _0x32a602=(_0x49cd79=_0x447a6e[_0x55eb5d(0x49e)])==null?void 0x0:_0x49cd79[_0x55eb5d(0x3a7)];if(_0x32a602==null){this[_0x55eb5d(0x27b)](),_0x2d3e86(new Error(_0x4351ac[_0x55eb5d(0x422)]));return;}const _0x2c5ef5=_0xc1dd15['generateRandomId'](0x6);_0x4d512d({'imageId':_0x2c5ef5,'imageSourceType':_0x5f024b[_0x55eb5d(0x1b0)],'source':_0x5a46ba,'base64Cache':_0x32a602,'status':_0x4351ac['SUCCUSS']}),this['_decreaseWaiting']();};});}[_0x3e9f07(0x1ce)](){var _0x3c8d3e=_0x3e9f07,_0x3d454f,_0x1b5d0f;const _0x4c3099=this['_configService'][_0x3c8d3e(0x1d9)](Dr),_0x2d9506=this[_0x3c8d3e(0x31f)]['getConfig'](Y);return(_0x1b5d0f=(_0x3d454f=_0x2d9506==null?void 0x0:_0x2d9506[_0x3c8d3e(0x461)])!=null?_0x3d454f:_0x4c3099)!=null?_0x1b5d0f:wr;}['_getSignURL'](){var _0x495020=_0x3e9f07,_0x4091ba,_0x981053;const _0x4eb81f=this[_0x495020(0x31f)][_0x495020(0x1d9)](Ur),_0x1fa687=this[_0x495020(0x31f)][_0x495020(0x1d9)](Y);return(_0x981053=(_0x4091ba=_0x1fa687==null?void 0x0:_0x1fa687[_0x495020(0x23f)])!=null?_0x4091ba:_0x4eb81f)!=null?_0x981053:Ar;}['_getDownloadEndpointURL'](){var _0x2ec06a=_0x3e9f07,_0x3a9420;const _0x43f514=this[_0x2ec06a(0x31f)]['getConfig'](Y);return(_0x3a9420=_0x43f514==null?void 0x0:_0x43f514[_0x2ec06a(0x27f)])!=null?_0x3a9420:location['origin'];}[_0x3e9f07(0x486)](_0x430172,_0x6ee6f9){var _0x3012ed=_0x3e9f07;return _0x430172[_0x3012ed(0x3a4)](_0x3012ed(0x469),_0x6ee6f9);}[_0x3e9f07(0x27b)](){var _0x2c253d=_0x3e9f07;this[_0x2c253d(0x398)]-=0x1,this[_0x2c253d(0x4a0)][_0x2c253d(0x384)](this[_0x2c253d(0x398)]);}};Pt=Or([St(0x0,_0x1e11c8(_0x26621f)),St(0x1,_0x155bcb),St(0x2,_0x1e11c8(_0x2bea00))],Pt);function _0x4dcf(_0x149416,_0x4685ae){var _0x51453c=_0x5145();return _0x4dcf=function(_0x4dcfb5,_0x47bf04){_0x4dcfb5=_0x4dcfb5-0x19f;var _0xfa95e2=_0x51453c[_0x4dcfb5];return _0xfa95e2;},_0x4dcf(_0x149416,_0x4685ae);}var xr=Object[_0x3e9f07(0x386)],Lr=Object[_0x3e9f07(0x34f)],Mr=(_0x4e5ce7,_0x32f0a6,_0x4c3537,_0x45a1bc)=>{var _0x12c9aa=_0x3e9f07;for(var _0x33f3a9=_0x45a1bc>0x1?void 0x0:_0x45a1bc?Lr(_0x32f0a6,_0x4c3537):_0x32f0a6,_0x55b59e=_0x4e5ce7[_0x12c9aa(0x46c)]-0x1,_0x10e2b5;_0x55b59e>=0x0;_0x55b59e--)(_0x10e2b5=_0x4e5ce7[_0x55b59e])&&(_0x33f3a9=(_0x45a1bc?_0x10e2b5(_0x32f0a6,_0x4c3537,_0x33f3a9):_0x10e2b5(_0x33f3a9))||_0x33f3a9);return _0x45a1bc&&_0x33f3a9&&xr(_0x32f0a6,_0x4c3537,_0x33f3a9),_0x33f3a9;},li=(_0x30f3ae,_0x5b9f18)=>(_0xf4f306,_0x4c1ba9)=>_0x5b9f18(_0xf4f306,_0x4c1ba9,_0x30f3ae);const $r=_0x3e9f07(0x311);let Nt=class{constructor(_0x3aa23e,_0x1bde10){var _0x5f466d=_0x3e9f07;this[_0x5f466d(0x31f)]=_0x3aa23e,this[_0x5f466d(0x41d)]=_0x1bde10;}[_0x3e9f07(0x32d)](){var _0x4e47d2=_0x3e9f07,_0x349000,_0x4ef0f9;const _0x10eb10=this[_0x4e47d2(0x31f)][_0x4e47d2(0x1d9)](wi),_0x330301=this['_configService'][_0x4e47d2(0x1d9)](Y);return(_0x4ef0f9=(_0x349000=_0x330301==null?void 0x0:_0x330301[_0x4e47d2(0x437)])!=null?_0x349000:_0x10eb10)!=null?_0x4ef0f9:$r;}async[_0x3e9f07(0x420)](_0x124af6){var _0x9c7d9f=_0x3e9f07;const _0x9b9a08=this[_0x9c7d9f(0x32d)]()+_0x9c7d9f(0x344);return{'list':[{'title':_0x9c7d9f(0x372),'mentions':(await this[_0x9c7d9f(0x41d)][_0x9c7d9f(0x220)](_0x9b9a08,{'params':{'objectID':_0x124af6[_0x9c7d9f(0x246)],'unitID':_0x124af6[_0x9c7d9f(0x246)]}}))['body'][_0x9c7d9f(0x307)][_0x9c7d9f(0x1c8)](_0x5cb5ab=>({'objectId':_0x5cb5ab['id'],'name':_0x5cb5ab[_0x9c7d9f(0x418)]['name'],'metadata':{'icon':_0x5cb5ab[_0x9c7d9f(0x418)][_0x9c7d9f(0x38e)]},'label':_0x5cb5ab[_0x9c7d9f(0x418)]['name'],'objectType':_0x3d41b3['PERSON']})),'metadata':{},'type':_0x3d41b3[_0x9c7d9f(0x4a2)]}]};}};Nt=Mr([li(0x0,_0x1e11c8(_0x155bcb)),li(0x1,_0x1e11c8(_0x26621f))],Nt);var Hr=Object[_0x3e9f07(0x386)],kr=Object[_0x3e9f07(0x34f)],jr=(_0x2706a0,_0x27beb8,_0x296551,_0x536ac1)=>{var _0x46cfdb=_0x3e9f07;for(var _0x2b6059=_0x536ac1>0x1?void 0x0:_0x536ac1?kr(_0x27beb8,_0x296551):_0x27beb8,_0x2e76db=_0x2706a0[_0x46cfdb(0x46c)]-0x1,_0x3b9584;_0x2e76db>=0x0;_0x2e76db--)(_0x3b9584=_0x2706a0[_0x2e76db])&&(_0x2b6059=(_0x536ac1?_0x3b9584(_0x27beb8,_0x296551,_0x2b6059):_0x3b9584(_0x2b6059))||_0x2b6059);return _0x536ac1&&_0x2b6059&&Hr(_0x27beb8,_0x296551,_0x2b6059),_0x2b6059;},Se=(_0x3be68b,_0x1758b1)=>(_0x286016,_0x4ca5fb)=>_0x1758b1(_0x286016,_0x4ca5fb,_0x3be68b);let ct=class extends _0x37e680{constructor(_0x31fa24,_0x84da1c,_0x73d53,_0x48b29d,_0x5e12bf,_0x2c76d9,_0x4a4fdb){var _0x138aa9=_0x3e9f07;super(),this[_0x138aa9(0x484)]=_0x31fa24,this['_univerInstanceService']=_0x84da1c,this[_0x138aa9(0x48b)]=_0x73d53,this[_0x138aa9(0x416)]=_0x48b29d,this[_0x138aa9(0x303)]=_0x5e12bf,this[_0x138aa9(0x378)]=_0x2c76d9,this['_undoRedoService']=_0x4a4fdb,this[_0x138aa9(0x441)](),this[_0x138aa9(0x34a)]();}[_0x3e9f07(0x34a)](){var _0x5ca988=_0x3e9f07;const _0xf4bbf7=async _0x5ead98=>{var _0x1fc74b=_0x4dcf;(await this[_0x1fc74b(0x416)][_0x1fc74b(0x261)](_0x5ead98))[_0x1fc74b(0x240)][_0x1fc74b(0x3c9)](_0x3bdd8d(_0x2db160=>_0x2db160[_0x1fc74b(0x35c)]===_0x2f82c9['SHOULD_CLOSE_CONN']),_0x5f360b(this[_0x1fc74b(0x2be)]))[_0x1fc74b(0x2e5)](_0x17bcab=>{var _0x10f309=_0x1fc74b;const _0x317920=_0x17bcab,{reason:_0x65cbf0}=_0x317920[_0x10f309(0x221)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x10f309(0x43b)],'data':_0x65cbf0}),this[_0x10f309(0x48b)][_0x10f309(0x405)](new _0x50259a(_0x5ead98)['id'],!0x1),this[_0x10f309(0x416)][_0x10f309(0x47c)](_0x5ead98);});};_0x35784b(this['_univerInstanceService'][_0x5ca988(0x3b2)](_0x2188e5[_0x5ca988(0x2fe)]),this[_0x5ca988(0x33c)][_0x5ca988(0x3b2)](_0x2188e5[_0x5ca988(0x36e)]))[_0x5ca988(0x3c9)](_0x5c84b6(_0x1fc5f4=>_0x1fc5f4['getUnitId']()),_0x3bdd8d(_0x1c9246=>!_0x1187d0(_0x1c9246)),_0x5f360b(this['dispose$']))[_0x5ca988(0x2e5)](_0x16251e=>{_0xf4bbf7(_0x16251e);});}[_0x3e9f07(0x441)](){var _0x3720c0=_0x3e9f07;const _0x4a7aec=async _0x115e56=>{var _0x494fdf=_0x4dcf;(await this['_collaborationSessionService'][_0x494fdf(0x261)](_0x115e56))['event$'][_0x494fdf(0x3c9)](_0x3bdd8d(_0x51c7bc=>_0x51c7bc[_0x494fdf(0x35c)]===_0x2f82c9['UPDATE_PERMISSION_OBJ']),_0x5f360b(this['dispose$']))[_0x494fdf(0x2e5)](_0x14ab92=>{var _0x4a2c82=_0x494fdf;const _0x348d7e=_0x14ab92,{objectId:_0x2849de}=_0x348d7e[_0x4a2c82(0x221)];_0x2849de===_0x115e56?this['initWorkbookPermissionChange'](_0x115e56):this[_0x4a2c82(0x339)](_0x115e56,_0x2849de);});};_0x35784b(this[_0x3720c0(0x33c)][_0x3720c0(0x3b2)](_0x2188e5['UNIVER_SHEET']),this['_univerInstanceService'][_0x3720c0(0x3b2)](_0x2188e5[_0x3720c0(0x36e)]))[_0x3720c0(0x3c9)](_0x5c84b6(_0xefb7a0=>_0xefb7a0[_0x3720c0(0x351)]()),_0x3bdd8d(_0x2aaa13=>!_0x1187d0(_0x2aaa13)),_0x5f360b(this[_0x3720c0(0x2be)]))[_0x3720c0(0x2e5)](_0x5a568e=>{_0x4a7aec(_0x5a568e);});}async[_0x3e9f07(0x37e)](_0x4d5f45){var _0xb8889c=_0x3e9f07,_0x3be95e;const _0x41154d=_0x4d5f45||((_0x3be95e=this[_0xb8889c(0x33c)][_0xb8889c(0x383)](_0x2188e5[_0xb8889c(0x2fe)]))==null?void 0x0:_0x3be95e[_0xb8889c(0x351)]());_0x41154d&&this[_0xb8889c(0x378)][_0xb8889c(0x3e0)]({'objectID':_0x41154d,'objectType':_0x85bb76[_0xb8889c(0x241)],'unitID':_0x41154d,'actions':_0x49ee90})[_0xb8889c(0x25c)](_0x301d81=>{var _0x4dc724=_0xb8889c;_0x4de039()[_0x4dc724(0x338)](_0x1b8ff3=>{var _0x360fe3=_0x4dc724;const _0x2759e4=new _0x1b8ff3(_0x41154d),_0x2cdd11=_0x2759e4[_0x360fe3(0x2c4)],_0x5366f4=_0x301d81[_0x360fe3(0x27e)](_0xeecee8=>_0xeecee8[_0x360fe3(0x2b6)]===_0x2cdd11);_0x5366f4&&this[_0x360fe3(0x48b)]['updatePermissionPoint'](_0x2759e4['id'],_0x5366f4[_0x360fe3(0x3e0)]);});});}[_0x3e9f07(0x339)](_0x5ec606,_0x941a87){var _0x4e4290=_0x3e9f07;const _0x273c53=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x38060e),_0x56ef7a=_0x273c53[_0x4e4290(0x259)](_0x5ec606,_0x941a87);let _0x21d4ba=!0x1;if(_0x56ef7a){const [_0x14e03a,_0x4dbb5e]=_0x56ef7a;this[_0x4e4290(0x378)]['allowed']({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x425)],'actions':_0x50d06d})['then'](_0x1ddb32=>{var _0x3ff639=_0x4e4290;let _0x352094='';_0x42598e()[_0x3ff639(0x338)](_0x3b61ee=>{var _0x2201a2=_0x3ff639,_0x16eb80;const _0x15179a=new _0x3b61ee(_0x5ec606,_0x4dbb5e),_0x39dc03=_0x15179a[_0x2201a2(0x2c4)],_0xdda843=_0x1ddb32[_0x2201a2(0x27e)](_0x3c8f8c=>_0x3c8f8c[_0x2201a2(0x2b6)]===_0x39dc03);_0xdda843&&(((_0x16eb80=this[_0x2201a2(0x48b)]['getPermissionPoint'](_0x15179a['id']))==null?void 0x0:_0x16eb80[_0x2201a2(0x3a9)])!==_0xdda843[_0x2201a2(0x3e0)]&&(_0x21d4ba=!0x0),this['_permissionService'][_0x2201a2(0x405)](_0x15179a['id'],_0xdda843['allowed']),_0x352094+=_0xdda843[_0x2201a2(0x2b6)]+'_'+_0xdda843[_0x2201a2(0x3e0)]);}),_0x273c53[_0x3ff639(0x31c)](_0x941a87+'_'+_0x352094),_0x21d4ba&&this[_0x3ff639(0x374)]['clearUndoRedo'](_0x5ec606);});}const _0x25a3c9=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x3890de)[_0x4e4290(0x259)](_0x5ec606,_0x941a87);if(_0x25a3c9){const [_0x480914,_0x2db685]=_0x25a3c9;this[_0x4e4290(0x378)][_0x4e4290(0x3e0)]({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x425)],'actions':_0x269054})[_0x4e4290(0x25c)](_0x1c7a37=>{var _0x3db76b=_0x4e4290;_0x120024()[_0x3db76b(0x338)](_0x54095a=>{var _0x27433e=_0x3db76b,_0x1397b0;const _0x579e02=new _0x54095a(_0x5ec606,_0x2db685),_0x470d13=_0x579e02[_0x27433e(0x2c4)],_0x3a81c2=_0x1c7a37['find'](_0x4e56f6=>_0x4e56f6[_0x27433e(0x2b6)]===_0x470d13);_0x3a81c2&&(((_0x1397b0=this[_0x27433e(0x48b)][_0x27433e(0x20c)](_0x579e02['id']))==null?void 0x0:_0x1397b0[_0x27433e(0x3a9)])!==_0x3a81c2[_0x27433e(0x3e0)]&&(_0x21d4ba=!0x0),this[_0x27433e(0x48b)][_0x27433e(0x405)](_0x579e02['id'],_0x3a81c2[_0x27433e(0x3e0)]));}),_0x21d4ba&&this[_0x3db76b(0x374)][_0x3db76b(0x478)](_0x5ec606);});}const _0x4f0b4c=this[_0x4e4290(0x484)][_0x4e4290(0x220)](_0x5cd8a9),_0x3bfbda=_0x4f0b4c['getTargetByPermissionId'](_0x5ec606,_0x941a87);if(_0x3bfbda){const [_0x5a2503,_0x2119e6]=_0x3bfbda;this[_0x4e4290(0x378)]['allowed']({'objectID':_0x941a87,'unitID':_0x5ec606,'objectType':_0x85bb76[_0x4e4290(0x41a)],'actions':_0x50d06d})[_0x4e4290(0x25c)](_0x21f7ca=>{var _0x554772=_0x4e4290;let _0x24bc21='';_0x2fda61()['forEach'](_0x46ed96=>{var _0x53ab75=_0x4dcf,_0xc1e0f2;const _0x5b9569=new _0x46ed96(_0x5ec606,_0x2119e6,_0x941a87),_0x5edf0d=_0x5b9569[_0x53ab75(0x2c4)],_0x47247f=_0x21f7ca[_0x53ab75(0x27e)](_0x11b308=>_0x11b308[_0x53ab75(0x2b6)]===_0x5edf0d);_0x47247f&&(((_0xc1e0f2=this['_permissionService'][_0x53ab75(0x20c)](_0x5b9569['id']))==null?void 0x0:_0xc1e0f2[_0x53ab75(0x3a9)])!==_0x47247f['allowed']&&(_0x21d4ba=!0x0),this['_permissionService'][_0x53ab75(0x405)](_0x5b9569['id'],_0x47247f[_0x53ab75(0x3e0)]),_0x24bc21+=_0x47247f['action']+'_'+_0x47247f['allowed']);}),_0x4f0b4c[_0x554772(0x31c)](_0x941a87+'_'+_0x24bc21),_0x21d4ba&&this[_0x554772(0x374)][_0x554772(0x478)](_0x5ec606);});}}};ct=jr([Se(0x0,_0x1e11c8(_0x202b1e)),Se(0x1,_0x2bea00),Se(0x2,_0x11d5fc),Se(0x3,_0x1e11c8(Le)),Se(0x4,_0x1e11c8(pe)),Se(0x5,_0x54a128),Se(0x6,_0x34ff18)],ct);var Br=Object[_0x3e9f07(0x386)],Fr=Object[_0x3e9f07(0x34f)],Vr=(_0x59b640,_0x30d649,_0x50d908,_0x22b7fd)=>{var _0x34b109=_0x3e9f07;for(var _0x55b7ba=_0x22b7fd>0x1?void 0x0:_0x22b7fd?Fr(_0x30d649,_0x50d908):_0x30d649,_0x1aee0d=_0x59b640[_0x34b109(0x46c)]-0x1,_0x2b1f86;_0x1aee0d>=0x0;_0x1aee0d--)(_0x2b1f86=_0x59b640[_0x1aee0d])&&(_0x55b7ba=(_0x22b7fd?_0x2b1f86(_0x30d649,_0x50d908,_0x55b7ba):_0x2b1f86(_0x55b7ba))||_0x55b7ba);return _0x22b7fd&&_0x55b7ba&&Br(_0x30d649,_0x50d908,_0x55b7ba),_0x55b7ba;},ui=(_0x3e13c8,_0x19a434)=>(_0x3052cf,_0x4007c0)=>_0x19a434(_0x3052cf,_0x4007c0,_0x3e13c8);let Dt=class{constructor(_0x43b56e,_0x5d59d1){var _0xcc1135=_0x3e9f07;this[_0xcc1135(0x31f)]=_0x43b56e,this['_httpService']=_0x5d59d1;}async[_0x3e9f07(0x2b4)](_0x5bc6aa,_0x5d81a1){var _0x493ac4=_0x3e9f07,_0x3fab9b;const {unitID:_0x56932f,type:_0x37233c,revision:_0x50f7fb=0x0}=_0x5d81a1,_0x36dfdf=this[_0x493ac4(0x25e)]()+'/'+_0x37233c+_0x493ac4(0x306)+_0x56932f+_0x493ac4(0x203)+_0x50f7fb,_0x3018d2=(await this[_0x493ac4(0x238)][_0x493ac4(0x220)](_0x36dfdf))[_0x493ac4(0x310)],_0x2b30e1=(_0x3fab9b=_0x3018d2['snapshot'])==null?void 0x0:_0x3fab9b[_0x493ac4(0x403)];if(_0x2b30e1){const _0x75f4fb=_0x2b30e1==null?void 0x0:_0x2b30e1[_0x493ac4(0x200)],_0x7627c5=_0x384de5['encode'](_0x1be9bd(_0x75f4fb));_0x2b30e1['originalMeta']=_0x7627c5,Object[_0x493ac4(0x38f)](_0x2b30e1['sheets'])[_0x493ac4(0x338)](([,_0x38f0db])=>{var _0x2ef940=_0x493ac4;const _0x42a8b2=_0x38f0db[_0x2ef940(0x200)],_0x4eedcf=_0x384de5['encode'](_0x1be9bd(_0x42a8b2));_0x38f0db[_0x2ef940(0x200)]=_0x4eedcf;});}return _0x3018d2;}async[_0x3e9f07(0x45a)](_0x395e08,_0xbd9d76){var _0x3600ae=_0x3e9f07;const {unitID:_0x53b7f5,type:_0x3c891e,blockID:_0x1dddee}=_0xbd9d76,_0x215e5c=this[_0x3600ae(0x1d3)]()+'/'+_0x3c891e+_0x3600ae(0x306)+_0x53b7f5+_0x3600ae(0x20d)+_0x1dddee;return(await this[_0x3600ae(0x238)][_0x3600ae(0x220)](_0x215e5c))[_0x3600ae(0x310)];}async[_0x3e9f07(0x24c)](_0x3f81be,_0x36056f){var _0x42a102=_0x3e9f07;const {unitID:_0x29aa98,type:_0x4d2a77,blockID:_0x577065}=_0x36056f,_0x21dd5c=this[_0x42a102(0x1d3)]()+_0x42a102(0x20d)+_0x4d2a77+_0x42a102(0x306)+_0x29aa98+_0x42a102(0x20d)+_0x577065;return(await this['_httpService'][_0x42a102(0x220)](_0x21dd5c))[_0x42a102(0x310)];}async[_0x3e9f07(0x229)](_0x5ecb5a,_0x12c659){var _0x2c0845=_0x3e9f07;const {unitID:_0x4b5fca,type:_0x197d0a,from:_0x3be527,to:_0x8bd81f}=_0x12c659,_0x16255c=this[_0x2c0845(0x1d3)]()+'/'+_0x197d0a+'/unit/'+_0x4b5fca+_0x2c0845(0x1c1)+_0x3be527+'&to='+_0x8bd81f;return(await this[_0x2c0845(0x238)][_0x2c0845(0x220)](_0x16255c))['body'];}[_0x3e9f07(0x25e)](){var _0x25b3a4=_0x3e9f07,_0x69675b;return(_0x69675b=this[_0x25b3a4(0x31f)][_0x25b3a4(0x1d9)](Dn))!=null?_0x69675b:this[_0x25b3a4(0x1d3)]();}[_0x3e9f07(0x1d3)](){var _0x186a97=_0x3e9f07,_0x5b0377,_0x4b9431;const _0x1a8b0c=this[_0x186a97(0x31f)][_0x186a97(0x1d9)](Pn),_0x451587=this[_0x186a97(0x31f)]['getConfig'](Y);return(_0x4b9431=(_0x5b0377=_0x451587==null?void 0x0:_0x451587[_0x186a97(0x1c6)])!=null?_0x5b0377:_0x1a8b0c)!=null?_0x4b9431:Nn;}async[_0x3e9f07(0x41b)](_0x2b375b,_0x405cae){var _0x182207=_0x3e9f07;const _0x49db8f='/universer-api/snapshot/'+_0x405cae[_0x182207(0x3bb)]+'/unit/'+_0x405cae[_0x182207(0x28d)]+_0x182207(0x406);return(await this[_0x182207(0x238)][_0x182207(0x220)](_0x49db8f,{'params':{'resourceId':JSON['stringify'](_0x405cae['resourceIDs'])}}))[_0x182207(0x310)];}[_0x3e9f07(0x2bf)](){var _0x3d58e9=_0x3e9f07;throw new Error(_0x3d58e9(0x362));}[_0x3e9f07(0x3a8)](){var _0x5b6e1a=_0x3e9f07;throw new Error(_0x5b6e1a(0x362));}[_0x3e9f07(0x3af)](){var _0x2493c8=_0x3e9f07;throw new Error(_0x2493c8(0x362));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x3e9f07(0x1d8)](){var _0x27ea8e=_0x3e9f07;throw new Error(_0x27ea8e(0x362));}};Dt=Vr([ui(0x0,_0x155bcb),ui(0x1,_0x1e11c8(_0x26621f))],Dt);var Wr=Object[_0x3e9f07(0x386)],Gr=Object[_0x3e9f07(0x34f)],Kr=(_0x11a5b3,_0x414650,_0x2403c3,_0x238764)=>{var _0x2695de=_0x3e9f07;for(var _0x54f375=_0x238764>0x1?void 0x0:_0x238764?Gr(_0x414650,_0x2403c3):_0x414650,_0x391d0d=_0x11a5b3[_0x2695de(0x46c)]-0x1,_0x37aed4;_0x391d0d>=0x0;_0x391d0d--)(_0x37aed4=_0x11a5b3[_0x391d0d])&&(_0x54f375=(_0x238764?_0x37aed4(_0x414650,_0x2403c3,_0x54f375):_0x37aed4(_0x54f375))||_0x54f375);return _0x238764&&_0x54f375&&Wr(_0x414650,_0x2403c3,_0x54f375),_0x54f375;},Ae=(_0x207ac1,_0x22e004)=>(_0x5d4cb5,_0x1ce4a5)=>_0x22e004(_0x5d4cb5,_0x1ce4a5,_0x207ac1);let wt=class extends _0x4a61c6{constructor(_0x1888d6,_0x5f02b4,_0x27eb57,_0x359fd4,_0x37c306){var _0x297b56=_0x3e9f07;super(_0x1888d6,_0x5f02b4,_0x27eb57),this[_0x297b56(0x207)]=_0x359fd4,this[_0x297b56(0x28c)]=_0x37c306;}[_0x3e9f07(0x2eb)](_0x2f976c,_0x2c23cf){var _0x19f868=_0x3e9f07;const _0x294876=this[_0x19f868(0x39f)](_0x2f976c);if(_0x294876)try{const _0x55a880=this['_transformStack'](_0x294876,_0x2c23cf);this[_0x19f868(0x436)](_0x2f976c,_0x55a880);}catch(_0x5950d7){this[_0x19f868(0x28c)][_0x19f868(0x3b6)](_0x19f868(0x32e),_0x5950d7),this[_0x19f868(0x409)](_0x2f976c);}const _0x3593d0=this[_0x19f868(0x33e)](_0x2f976c);if(_0x3593d0)try{const _0x54452b=this['_transformStack'](_0x3593d0,_0x2c23cf);this[_0x19f868(0x2a6)](_0x2f976c,_0x54452b);}catch(_0x4dd6f9){this['_logService'][_0x19f868(0x3b6)](_0x4dd6f9),this[_0x19f868(0x2e4)](_0x2f976c);}}['_clearUndo'](_0x309812){var _0x586dc5=_0x3e9f07;const _0x5ceab6=this[_0x586dc5(0x39f)](_0x309812);_0x5ceab6&&(_0x5ceab6[_0x586dc5(0x46c)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x133afb){var _0x4dc77e=_0x3e9f07;const _0xaf69d0=this[_0x4dc77e(0x33e)](_0x133afb);_0xaf69d0&&(_0xaf69d0[_0x4dc77e(0x46c)]=0x0,this['_updateStatus']());}[_0x3e9f07(0x436)](_0x5def8e,_0x5d85fe){var _0x3b266c=_0x3e9f07;this[_0x3b266c(0x315)]['set'](_0x5def8e,_0x5d85fe),this['_updateStatus']();}['_substituteRedoStack'](_0x348963,_0x490742){var _0x4cb838=_0x3e9f07;this['_redoStacks'][_0x4cb838(0x442)](_0x348963,_0x490742),this[_0x4cb838(0x2b7)]();}['_transformStack'](_0x55fd89,_0x1156bc){var _0x1966a4=_0x3e9f07;const _0x1c08bf=[];let _0x4e287d=_0x1156bc,_0x381a89=_0x1156bc;for(let _0x27dfde=_0x55fd89[_0x1966a4(0x46c)]-0x1;_0x27dfde>=0x0;_0x27dfde--){const {unitID:_0x11e6fe,undoMutations:_0x45e03e,redoMutations:_0x4ac81c}=_0x55fd89[_0x27dfde],_0x43f2c7=this['_transformService'][_0x1966a4(0x2f0)](_0x4e287d,_0x45e03e),_0x568d5d=this[_0x1966a4(0x207)]['transformMutationsWithChangeset'](_0x381a89,_0x4ac81c);if(_0x4dbb28(_0x43f2c7)||_0x4dbb28(_0x568d5d)){this['_logService'][_0x1966a4(0x3b6)](_0x1966a4(0x32e),'transformStack\x20failed!',_0x43f2c7,_0x568d5d);break;}_0x4e287d=_0x43f2c7[_0x1966a4(0x3ab)],_0x381a89=_0x568d5d['c1Prime'],_0x1c08bf[_0x1966a4(0x40c)]({'unitID':_0x11e6fe,'undoMutations':_0x43f2c7[_0x1966a4(0x3f9)],'redoMutations':_0x568d5d[_0x1966a4(0x3f9)]});}return _0x1c08bf[_0x1966a4(0x23a)]();}};wt=Kr([Ae(0x0,_0x2bea00),Ae(0x1,_0x5f1d0c),Ae(0x2,_0x3ea56e),Ae(0x3,_0x48d905),Ae(0x4,_0x290771)],wt);var Li=Object[_0x3e9f07(0x386)],zr=Object[_0x3e9f07(0x34f)],Yr=(_0x311c6a,_0x4dd9f0,_0x202bbc)=>_0x4dd9f0 in _0x311c6a?Li(_0x311c6a,_0x4dd9f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202bbc}):_0x311c6a[_0x4dd9f0]=_0x202bbc,qr=(_0x43701f,_0x3723b5,_0x1a4955,_0x271a10)=>{var _0x472c5e=_0x3e9f07;for(var _0xe07d14=_0x271a10>0x1?void 0x0:_0x271a10?zr(_0x3723b5,_0x1a4955):_0x3723b5,_0x54a075=_0x43701f[_0x472c5e(0x46c)]-0x1,_0x5310a3;_0x54a075>=0x0;_0x54a075--)(_0x5310a3=_0x43701f[_0x54a075])&&(_0xe07d14=(_0x271a10?_0x5310a3(_0x3723b5,_0x1a4955,_0xe07d14):_0x5310a3(_0xe07d14))||_0xe07d14);return _0x271a10&&_0xe07d14&&Li(_0x3723b5,_0x1a4955,_0xe07d14),_0xe07d14;},Et=(_0x517aaa,_0x5ef0fe)=>(_0x2dd62c,_0x1d68e3)=>_0x5ef0fe(_0x2dd62c,_0x1d68e3,_0x517aaa),Jr=(_0x4c67ed,_0x4987e7,_0x333f10)=>Yr(_0x4c67ed,_0x4987e7+'',_0x333f10);const Xr=_0x3e9f07(0x1e9);let Ut=class extends _0x18ed1f{constructor(_0x1141ed=Wn,_0x4e82f1,_0x3fa9a5,_0x1e90b0){var _0x1528fb=_0x3e9f07;super(),this[_0x1528fb(0x3b5)]=_0x1141ed,this['_logService']=_0x4e82f1,this['_injector']=_0x3fa9a5,this[_0x1528fb(0x31f)]=_0x1e90b0;const {..._0xb92abd}=this[_0x1528fb(0x3b5)];this['_configService']['setConfig'](Y,_0xb92abd);}['onStarting'](){var _0x3ff6a4=_0x3e9f07;this[_0x3ff6a4(0x2dd)](),this[_0x3ff6a4(0x236)]();}[_0x3e9f07(0x2dd)](){var _0x3b4cbf=_0x3e9f07,_0x2236a5,_0x37732d,_0x363bbe,_0x2553b7;this[_0x3b4cbf(0x484)][_0x3b4cbf(0x393)](_0x34ff18)&&this[_0x3b4cbf(0x28c)][_0x3b4cbf(0x3b6)](_0x3b4cbf(0x214),_0x3b4cbf(0x225));const _0x2a23e5=_0x3961a8([[_0x34ff18,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x37732d=(_0x2236a5=this[_0x3b4cbf(0x3b5)])==null?void 0x0:_0x2236a5[_0x3b4cbf(0x323)])!=null?_0x37732d:It}],[_0x4152e1,{'useClass':Dt}],[_0x54a128,{'useClass':yt}],[_0x97aeda,{'useClass':Pt}],[_0xe93ae0,{'useClass':Nt}],[rt],[Rt]],(_0x363bbe=this['_config'])==null?void 0x0:_0x363bbe[_0x3b4cbf(0x2ce)]);if(!((_0x2553b7=this[_0x3b4cbf(0x3b5)])!=null&&_0x2553b7[_0x3b4cbf(0x29d)])){const _0x175d07=_0x2a23e5[_0x3b4cbf(0x3e5)](([_0x1455bd])=>_0x1455bd===_t);_0x175d07!==-0x1&&_0x2a23e5[_0x3b4cbf(0x49d)](_0x175d07,0x1);}_0x500574(this[_0x3b4cbf(0x484)],_0x2a23e5);}[_0x3e9f07(0x236)](){var _0x2e1316=_0x3e9f07,_0x598505,_0xd80a76,_0x4984f7;this[_0x2e1316(0x484)][_0x2e1316(0x220)](_0x26621f)[_0x2e1316(0x308)]({'priority':0x14,'interceptor':_0x390e4e({'maxParallel':0x6})}),(_0x598505=this[_0x2e1316(0x3b5)])!=null&&_0x598505['enableOfflineEditing']||(_0xd80a76=this[_0x2e1316(0x484)][_0x2e1316(0x220)](X,_0x1ae54f[_0x2e1316(0x35a)]))==null||_0xd80a76[_0x2e1316(0x2d5)](),(_0x4984f7=this[_0x2e1316(0x3b5)])!=null&&_0x4984f7[_0x2e1316(0x1b8)]&&_0x9c5c37(this[_0x2e1316(0x484)],[[ot]]),_0x9c5c37(this['_injector'],[[at],[rt],[ct]]);}};Jr(Ut,_0x3e9f07(0x2f6),Xr),Ut=qr([_0x2c0cb9(_0x3bdc67,_0x5f5b65,_0x13ae65),Et(0x1,_0x290771),Et(0x2,_0x1e11c8(_0x202b1e)),Et(0x3,_0x155bcb)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Ne as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|
1
|
+
var _0x2776ba=_0x533f;(function(_0x21e3f6,_0x3dbff0){var _0x41842e=_0x533f,_0x51d420=_0x21e3f6();while(!![]){try{var _0x31a645=-parseInt(_0x41842e(0x3b4))/0x1+parseInt(_0x41842e(0x20a))/0x2+-parseInt(_0x41842e(0x1ae))/0x3*(-parseInt(_0x41842e(0x240))/0x4)+-parseInt(_0x41842e(0x1b4))/0x5*(parseInt(_0x41842e(0x40a))/0x6)+parseInt(_0x41842e(0x462))/0x7+-parseInt(_0x41842e(0x347))/0x8*(parseInt(_0x41842e(0x38d))/0x9)+parseInt(_0x41842e(0x3a3))/0xa*(parseInt(_0x41842e(0x2c1))/0xb);if(_0x31a645===_0x3dbff0)break;else _0x51d420['push'](_0x51d420['shift']());}catch(_0x2b0d34){_0x51d420['push'](_0x51d420['shift']());}}}(_0x52c6,0xc97fa));var Mi=Object['defineProperty'],$i=(_0x17d945,_0x2f203f,_0x5c766a)=>_0x2f203f in _0x17d945?Mi(_0x17d945,_0x2f203f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c766a}):_0x17d945[_0x2f203f]=_0x5c766a,N=(_0x143a77,_0x43cb3d,_0x18fd7c)=>$i(_0x143a77,typeof _0x43cb3d!=_0x2776ba(0x2c0)?_0x43cb3d+'':_0x43cb3d,_0x18fd7c);import{createIdentifier as _0x2b60cb,Inject as _0xad32f2,Injector as _0x237237,Disposable as _0x35df0f,DisposableCollection as _0x552e3c,toDisposable as _0xe3522b,IConfigService as _0x5aacb0,ILogService as _0x3b0698,UserManagerService as _0x2e3a7d,UniverInstanceType as _0x471c35,IUniverInstanceService as _0x16c691,LocaleService as _0x415ba6,Optional as _0x122f64,RxDisposable as _0x3fbf91,Tools as _0x25d273,Rectangle as _0x2f92b0,ICommandService as _0x36939e,JSONX as _0x1d5fa3,CommandType as _0x5f58ab,IPermissionService as _0x39f738,IUndoRedoService as _0x3d484f,sequenceExecute as _0x179b24,Workbook as _0x4dafa2,MentionType as _0x2114f1,IAuthzIoService as _0x86fc7f,isInternalEditorID as _0x3760ff,LocalUndoRedoService as _0x51c279,IContextService as _0x3fe93c,DependentOn as _0x5dabf5,Plugin as _0x3c4407,mergeOverrideWithDependencies as _0x4915e8,IMentionIOService as _0x5b2452,registerDependencies as _0x2f5c27,Quantity as _0x2f87b6,touchDependencies as _0x199992}from'@univerjs/core';import{Subject as _0x119eaf,merge as _0x207695,of as _0x5dc709,BehaviorSubject as _0x5f0741,takeUntil as _0x16b361,ReplaySubject as _0x3b1342,take as _0x51019b,map as _0x4c876c,shareReplay as _0x1a46f2,firstValueFrom as _0x35ec08,concatMap as _0x1e9a27}from'rxjs';import{map as _0x554d4a,take as _0x4f666c,filter as _0x3994ac,delay as _0x528e9b,takeUntil as _0x526c8f}from'rxjs/operators';import{HTTPService as _0x3d73d7,ISocketService as _0x2460b2,MergeInterceptorFactory as _0x1d86e2,HTTPRequest as _0x7a37fc,UniverNetworkPlugin as _0x58051c,ThresholdInterceptorFactory as _0xb3f1}from'@univerjs/network';import{CollaborationEvent as _0x46c53f,parseChangesetToProtocol as _0x2f4ed1,ISnapshotServerService as _0x1ae103,isTransformMutationsWithChangesetSuccess as _0x348bf3,ITransformService as _0x5c7c3f,mapDocumentTypeToUniverType as _0x299fb3,RevisionService as _0x19c318,isTransformChangesetsSuccess as _0x585f59,CompressMutationService as _0x4e4230,parseProtocolChangeset as _0x3f2bbf,SnapshotService as _0x5187c9,textEncoder as _0x5dc421,b64DecodeUnicode as _0x2d8599,isTransformMutationsWithChangesetFailure as _0x42721e,UniverCollaborationPlugin as _0x31a91e}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3f4699}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5bed94}from'@univerjs/docs';import{SheetsSelectionsService as _0x53cfeb,SetSelectionsOperation as _0x3a5593,InsertSheetMutation as _0x1dee63,EmptyMutation as _0x15e802,WorkbookEditablePermission as _0x1f9850,UnitObject as _0x2f480e,defaultWorkbookPermissionPoints as _0x369f6d,getAllWorkbookPermissionPoint as _0x29d829,WorksheetProtectionRuleModel as _0x21d734,baseProtectionActions as _0x288263,getAllWorksheetPermissionPoint as _0x4d3518,WorksheetProtectionPointModel as _0x51f3b0,defaultWorksheetPermissionPoint as _0x364719,getAllWorksheetPermissionPointByPointPanel as _0x27176b,RangeProtectionRuleModel as _0xf49ef6,getAllRangePermissionPoint as _0x220b25,UniverSheetsPlugin as _0x55f85f}from'@univerjs/sheets';import{ImageSourceType as _0x1be747,ImageUploadStatusType as _0x3db4e2,IImageIoService as _0x251296}from'@univerjs/drawing';import{getGlobalObject as _0x18fd3a}from'@univerjs-pro/license';const Pn=_0x2776ba(0x1b0),Nn=_0x2776ba(0x46c),Dn=_0x2776ba(0x3dc),ho=_0x2776ba(0x391),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An='ws://127.0.0.1:8000/universer-api/comb/connect',xn='/universer-api/user/session-ticket',Ln=_0x2776ba(0x23c),Mn=0x7530,Ei=_0x2776ba(0x3f1),Ii=0x4e20,$n=0x4e20,Hn='RETRY_CONNECTING_MAX_COUNT',kn=0x3,_o=_0x2776ba(0x254),lo=0x3e8,jn=_0x2776ba(0x3ca),Bn=_0x2776ba(0x25a),Fn=_0x2776ba(0x2d8),Vn=_0x2776ba(0x3eb);var Ti=(_0x44b35f=>(_0x44b35f[_0x44b35f[_0x2776ba(0x192)]=0x0]='UNDEFINED',_0x44b35f[_0x44b35f['OK']=0x1]='OK',_0x44b35f[_0x44b35f[_0x2776ba(0x3a0)]=0x2]=_0x2776ba(0x3a0),_0x44b35f[_0x44b35f['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x44b35f[_0x44b35f['NOT_FOUND']=0x4]='NOT_FOUND',_0x44b35f[_0x44b35f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x44b35f[_0x44b35f[_0x2776ba(0x452)]=0x6]=_0x2776ba(0x452),_0x44b35f[_0x44b35f[_0x2776ba(0x442)]=0x7]='INVALID_ARGUMENT',_0x44b35f[_0x44b35f[_0x2776ba(0x1c7)]=0x8]=_0x2776ba(0x1c7),_0x44b35f[_0x44b35f['COMPLETION_FINISHED']=0x9]=_0x2776ba(0x465),_0x44b35f[_0x44b35f[_0x2776ba(0x400)]=0x1389]=_0x2776ba(0x400),_0x44b35f[_0x44b35f[_0x2776ba(0x266)]=0x1771]=_0x2776ba(0x266),_0x44b35f[_0x44b35f['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x44b35f[_0x44b35f[_0x2776ba(0x185)]=0x1773]=_0x2776ba(0x185),_0x44b35f[_0x44b35f['APPLY_REJECT']=0x1b59]=_0x2776ba(0x42d),_0x44b35f[_0x44b35f[_0x2776ba(0x3ea)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x44b35f[_0x44b35f['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2776ba(0x1e4),_0x44b35f[_0x44b35f[_0x2776ba(0x27e)]=0x1b5c]=_0x2776ba(0x27e),_0x44b35f[_0x44b35f['APPLY_DUPLICATED']=0x1b5d]=_0x2776ba(0x2e8),_0x44b35f[_0x44b35f[_0x2776ba(0x2da)]=0x1f41]=_0x2776ba(0x2da),_0x44b35f[_0x44b35f[_0x2776ba(0x39e)]=0x2329]=_0x2776ba(0x39e),_0x44b35f[_0x44b35f[_0x2776ba(0x3fc)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x44b35f[_0x44b35f[_0x2776ba(0x468)]=0x232b]=_0x2776ba(0x468),_0x44b35f[_0x44b35f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2776ba(0x258),_0x44b35f[_0x44b35f[_0x2776ba(0x362)]=0x232d]=_0x2776ba(0x362),_0x44b35f[_0x44b35f[_0x2776ba(0x2b1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x44b35f[_0x44b35f[_0x2776ba(0x286)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x44b35f[_0x44b35f[_0x2776ba(0x284)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x44b35f[_0x44b35f[_0x2776ba(0x457)]=0x2714]=_0x2776ba(0x457),_0x44b35f[_0x44b35f[_0x2776ba(0x293)]=-0x1]=_0x2776ba(0x293),_0x44b35f))(Ti||{}),Q=(_0x2f5178=>(_0x2f5178[_0x2f5178[_0x2776ba(0x434)]=0x0]=_0x2776ba(0x434),_0x2f5178[_0x2f5178[_0x2776ba(0x3f8)]=0x1]=_0x2776ba(0x3f8),_0x2f5178[_0x2f5178['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x2f5178[_0x2f5178[_0x2776ba(0x1bd)]=0x3]=_0x2776ba(0x1bd),_0x2f5178[_0x2f5178['UNIVER_PROJECT']=0x4]=_0x2776ba(0x41a),_0x2f5178[_0x2f5178[_0x2776ba(0x293)]=-0x1]='UNRECOGNIZED',_0x2f5178))(Q||{}),F=(_0x2b1f85=>(_0x2b1f85[_0x2b1f85[_0x2776ba(0x235)]=0x0]=_0x2776ba(0x235),_0x2b1f85[_0x2b1f85[_0x2776ba(0x3d5)]=0x1]='HELLO',_0x2b1f85[_0x2b1f85[_0x2776ba(0x248)]=0x2]=_0x2776ba(0x248),_0x2b1f85[_0x2b1f85[_0x2776ba(0x354)]=0x3]=_0x2776ba(0x354),_0x2b1f85[_0x2b1f85[_0x2776ba(0x3e8)]=0x4]='INGEST',_0x2b1f85[_0x2b1f85[_0x2776ba(0x1ca)]=0x5]=_0x2776ba(0x1ca),_0x2b1f85[_0x2b1f85[_0x2776ba(0x42c)]=0x6]=_0x2776ba(0x42c),_0x2b1f85[_0x2b1f85[_0x2776ba(0x293)]=-0x1]=_0x2776ba(0x293),_0x2b1f85))(F||{}),Ee=(_0x489d87=>(_0x489d87[_0x489d87[_0x2776ba(0x271)]=0x0]=_0x2776ba(0x271),_0x489d87[_0x489d87['OK']=0x1]='OK',_0x489d87[_0x489d87[_0x2776ba(0x43e)]=0x2]=_0x2776ba(0x43e),_0x489d87[_0x489d87['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x489d87[_0x489d87[_0x2776ba(0x1c3)]=0x3ea]=_0x2776ba(0x1c3),_0x489d87[_0x489d87[_0x2776ba(0x201)]=0x3eb]=_0x2776ba(0x201),_0x489d87[_0x489d87['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x2776ba(0x25b),_0x489d87[_0x489d87[_0x2776ba(0x293)]=-0x1]='UNRECOGNIZED',_0x489d87))(Ee||{}),Ci=(_0xef41cd=>(_0xef41cd[_0xef41cd['Undefined']=0x0]='Undefined',_0xef41cd[_0xef41cd[_0x2776ba(0x2cc)]=0x1]=_0x2776ba(0x2cc),_0xef41cd[_0xef41cd[_0x2776ba(0x3db)]=0x2]=_0x2776ba(0x3db),_0xef41cd[_0xef41cd[_0x2776ba(0x3b6)]=0x3]=_0x2776ba(0x3b6),_0xef41cd[_0xef41cd[_0x2776ba(0x1a5)]=0x4]=_0x2776ba(0x1a5),_0xef41cd[_0xef41cd['UNRECOGNIZED']=-0x1]=_0x2776ba(0x293),_0xef41cd))(Ci||{});const Y=_0x2776ba(0x1f4),Wn={};var re=(_0x311227=>(_0x311227['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x311227[_0x2776ba(0x3da)]=_0x2776ba(0x3da),_0x311227[_0x2776ba(0x230)]=_0x2776ba(0x230),_0x311227[_0x2776ba(0x224)]=_0x2776ba(0x224),_0x311227[_0x2776ba(0x406)]=_0x2776ba(0x406),_0x311227['SOCKET_FAILED_RETRY']=_0x2776ba(0x37b),_0x311227[_0x2776ba(0x1ac)]=_0x2776ba(0x1ac),_0x311227['SUBMIT_CHANGESET_TIMEOUT']=_0x2776ba(0x370),_0x311227))(re||{});class pe{constructor(){var _0x4ce2b2=_0x2776ba;N(this,_0x4ce2b2(0x3c9),new _0x119eaf()),N(this,_0x4ce2b2(0x35e),this[_0x4ce2b2(0x3c9)][_0x4ce2b2(0x340)]());}[_0x2776ba(0x1cc)](_0x129b52){var _0x506744=_0x2776ba;this[_0x506744(0x3c9)]['next'](_0x129b52);}}const Gn=_0x2b60cb(_0x2776ba(0x3bc));function Kn(_0x4c2f7d){var _0x42cdf0=_0x2776ba,_0x31a146,_0x5893d0,_0x997db,_0x3277f9,_0x439781;const _0x18677b=_0x4c2f7d[_0x42cdf0(0x3b8)],_0x381053=JSON[_0x42cdf0(0x3b0)](_0x18677b);switch(_0x381053[_0x42cdf0(0x1d0)]){case F[_0x42cdf0(0x1ca)]:case F[_0x42cdf0(0x3d5)]:{const _0x52e1d1=_0x381053[_0x42cdf0(0x1eb)];return{..._0x381053,'data':_0x52e1d1,'cmd':_0x381053[_0x42cdf0(0x1d0)]};}case F[_0x42cdf0(0x248)]:{const _0x19f7f8=_0x381053[_0x42cdf0(0x3c4)];return{..._0x381053,'data':_0x19f7f8,'cmd':_0x381053[_0x42cdf0(0x1d0)]};}case F[_0x42cdf0(0x42c)]:{const _0x4c009e=_0x381053[_0x42cdf0(0x44f)];switch(_0x4c009e[_0x42cdf0(0x299)]){case _0x46c53f[_0x42cdf0(0x274)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x31a146=_0x4c009e[_0x42cdf0(0x239)])==null?void 0x0:_0x31a146['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x3c8)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x5893d0=_0x4c009e[_0x42cdf0(0x1dd)])==null?void 0x0:_0x5893d0['cs']},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x314)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x997db=_0x4c009e[_0x42cdf0(0x33f)])==null?void 0x0:_0x997db['cs']},'cmd':_0x381053['cmd']};case _0x46c53f['CHANGESET_REJ']:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x3277f9=_0x4c009e['csRejEvent'])==null?void 0x0:_0x3277f9['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x2d0)]:return{..._0x381053,'data':{..._0x4c009e,'data':(_0x439781=_0x4c009e[_0x42cdf0(0x3c0)])==null?void 0x0:_0x439781['cs']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x3ab)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e['updateCursorEvent']},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x297)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x2b5)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x2f3)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x292)]},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x196)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x252)]},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x33c)]:case _0x46c53f[_0x42cdf0(0x1a3)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x21d)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x3af)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x252)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x35f)]:return{..._0x381053,'data':_0x4c009e,'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f['COMMENT_UPDATE']:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x1fe)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};case _0x46c53f[_0x42cdf0(0x2a2)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e['updatePermissionObjEvent']},'cmd':_0x381053['cmd']};case _0x46c53f[_0x42cdf0(0x42e)]:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x2d9)]},'cmd':_0x381053['cmd']};case _0x46c53f['UNISCRIPT_RUN']:return{..._0x381053,'data':{..._0x4c009e,'data':_0x4c009e[_0x42cdf0(0x372)]},'cmd':_0x381053[_0x42cdf0(0x1d0)]};default:return _0x381053;}}default:return _0x381053;}}function zn(_0x1d9665){var _0x246e18=_0x2776ba;switch(_0x1d9665[_0x246e18(0x1d0)]){case F[_0x246e18(0x1ca)]:case F[_0x246e18(0x3d5)]:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665['routeKey']});case F[_0x246e18(0x3e8)]:{let _0xe97cf3;switch(_0x1d9665['data']['eventID']){case _0x46c53f[_0x246e18(0x3ab)]:{_0xe97cf3={'eventID':_0x46c53f['UPDATE_CURSOR'],'updateCursorEvent':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x3b8)]};break;}case _0x46c53f['USERS_LEAVE']:{_0xe97cf3={'eventID':_0x46c53f['USERS_LEAVE'],'leaveEvent':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f['USERS_ENTER']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x297)],'joinEvent':_0x1d9665['data']['data']};break;}case _0x46c53f['LIVESHARE_NEW_HOST']:{_0xe97cf3={'eventID':_0x46c53f['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f['LIVESHARE_OPERATION']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x1a3)],'liveShareOperation':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x3b8)]};break;}case _0x46c53f['LIVESHARE_TERMINATE']:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x3af)],'liveShareTerminate':_0x1d9665['data']['data']};break;}case _0x46c53f[_0x246e18(0x3be)]:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x3be)],'liveShareRequestHost':_0x1d9665[_0x246e18(0x3b8)]['data']};break;}case _0x46c53f[_0x246e18(0x33c)]:{_0xe97cf3={'eventID':_0x46c53f[_0x246e18(0x33c)]};break;}default:_0xe97cf3={'eventID':_0x1d9665[_0x246e18(0x3b8)][_0x246e18(0x299)]};}return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665[_0x246e18(0x35d)],'collaMsg':_0xe97cf3});}case F['JOIN']:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665['cmd'],'routeKey':_0x1d9665[_0x246e18(0x35d)],'joinReq':_0x1d9665[_0x246e18(0x3b8)]});case F['LEAVE']:return JSON[_0x246e18(0x231)]({'cmd':_0x1d9665[_0x246e18(0x1d0)],'routeKey':_0x1d9665[_0x246e18(0x35d)],'leaveReq':_0x1d9665[_0x246e18(0x3b8)]});default:throw new Error(_0x246e18(0x382));}}var Yn=Object[_0x2776ba(0x282)],qn=Object[_0x2776ba(0x236)],Jn=(_0x1fac77,_0x5237c5,_0xb6a3d7,_0x18d1fb)=>{var _0xe021bb=_0x2776ba;for(var _0x4eef12=_0x18d1fb>0x1?void 0x0:_0x18d1fb?qn(_0x5237c5,_0xb6a3d7):_0x5237c5,_0x4f563d=_0x1fac77[_0xe021bb(0x2a6)]-0x1,_0x4816a8;_0x4f563d>=0x0;_0x4f563d--)(_0x4816a8=_0x1fac77[_0x4f563d])&&(_0x4eef12=(_0x18d1fb?_0x4816a8(_0x5237c5,_0xb6a3d7,_0x4eef12):_0x4816a8(_0x4eef12))||_0x4eef12);return _0x18d1fb&&_0x4eef12&&Yn(_0x5237c5,_0xb6a3d7,_0x4eef12),_0x4eef12;},Ue=(_0x3e9b8b,_0x4a524e)=>(_0x4e2844,_0x2468df)=>_0x4a524e(_0x4e2844,_0x2468df,_0x3e9b8b);const bi=_0x2b60cb(_0x2776ba(0x206));function Xn(_0x3eebce,_0x2ca2d2,_0x1eb445){var _0x33b830=_0x2776ba;return _0x3eebce+'/'+_0x2ca2d2+'/unit/'+_0x1eb445+_0x33b830(0x324);}let It=class extends _0x35df0f{constructor(_0x2d6e78,_0x13874d,_0x8cecf9,_0x5968c0,_0x4c7178){var _0x389085=_0x2776ba;super(),this[_0x389085(0x38a)]=_0x2d6e78,this[_0x389085(0x326)]=_0x13874d,this[_0x389085(0x45d)]=_0x8cecf9,this[_0x389085(0x1d7)]=_0x5968c0,this[_0x389085(0x47c)]=_0x4c7178;}['createSocket'](_0x17f0f9){var _0x49d880=_0x2776ba;const _0xeb5702=this[_0x49d880(0x38a)][_0x49d880(0x190)](_0x2460b2);if(!_0xeb5702)throw new Error(_0x49d880(0x335));const _0x5ad4b7=_0xeb5702[_0x49d880(0x35a)](_0x17f0f9);if(!_0x5ad4b7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x4b2c9b=new _0x552e3c(),_0x20911c=new _0x119eaf();_0x4b2c9b['add'](_0x5ad4b7[_0x49d880(0x3e7)][_0x49d880(0x20f)](_0x84b3c1=>_0x20911c['next'](_0x84b3c1))),_0x4b2c9b[_0x49d880(0x3c7)](_0xe3522b(()=>_0x20911c[_0x49d880(0x3b5)]()));const _0x1c92ac=new _0x119eaf();_0x4b2c9b[_0x49d880(0x3c7)](_0x5ad4b7[_0x49d880(0x1cd)][_0x49d880(0x20f)](_0x49364e=>_0x1c92ac[_0x49d880(0x445)](_0x49364e))),_0x4b2c9b['add'](_0xe3522b(()=>_0x1c92ac[_0x49d880(0x3b5)]()));const _0x5d63eb=new _0x119eaf();_0x4b2c9b[_0x49d880(0x3c7)](_0x5ad4b7[_0x49d880(0x216)][_0x49d880(0x20f)](_0x3443d4=>{var _0x5afea9=_0x49d880;const _0x1bcac9=Kn(_0x3443d4);_0x5d63eb[_0x5afea9(0x445)](_0x1bcac9);})),_0x4b2c9b[_0x49d880(0x3c7)](_0xe3522b(()=>_0x5d63eb[_0x49d880(0x3b5)]()));let _0x4f50e2;const _0x1b4b90=()=>{var _0x2e0eb8=_0x49d880;_0x1c92ac[_0x2e0eb8(0x445)](new Event('connection\x20error')),_0x20911c['next'](new CloseEvent(_0x2e0eb8(0x2ca))),_0x4f50e2[_0x2e0eb8(0x27c)]();};return _0x4f50e2={'memberID':'','close$':_0x20911c['asObservable'](),'error$':_0x1c92ac[_0x49d880(0x340)](),'open$':_0x5ad4b7[_0x49d880(0x2e0)],'message$':_0x5d63eb[_0x49d880(0x340)](),'send':_0x56c334=>{var _0x152503=_0x49d880;if(_0x56c334['cmd']===F['INGEST']){if(_0x56c334[_0x152503(0x3b8)][_0x152503(0x299)]===_0x46c53f[_0x152503(0x36c)]){this[_0x152503(0x3e3)](_0x4f50e2,_0x56c334[_0x152503(0x3b8)])['catch'](_0x36a62f=>{var _0x152aba=_0x152503;this[_0x152aba(0x1d7)]['error'](_0x36a62f),_0x1b4b90();});return;}if(_0x56c334[_0x152503(0x3b8)][_0x152503(0x299)]===_0x46c53f['FETCH_MISSING']){const _0xd90492=_0x56c334[_0x152503(0x3b8)];this[_0x152503(0x26e)](_0xd90492)[_0x152503(0x3aa)](_0x3310b4=>{var _0x547d83=_0x152503;_0x5d63eb[_0x547d83(0x445)]({'cmd':F[_0x547d83(0x42c)],'code':Ee['OK'],'routeKey':_0xd90492[_0x547d83(0x3b8)][_0x547d83(0x3ed)],'routeType':'','data':{'eventID':_0x46c53f['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x3310b4}}});})[_0x152503(0x244)](_0xf14ba2=>{var _0x459fb2=_0x152503;this[_0x459fb2(0x1d7)][_0x459fb2(0x341)](_0xf14ba2),_0x1b4b90();});return;}}_0x5ad4b7['send'](zn(_0x56c334));},'close':()=>{var _0x302203=_0x49d880;_0x5ad4b7[_0x302203(0x27c)](),_0x4b2c9b[_0x302203(0x28f)]();}},_0x4f50e2;}async[_0x2776ba(0x3e3)](_0xd2956a,_0x95d2d6){var _0x57e06d=_0x2776ba,_0x40f874,_0x27f282;const {unitType:_0x2779d7,unitID:_0x41fa5c,changeset:_0x465036}=_0x95d2d6[_0x57e06d(0x3b8)],_0x119205={'unitID':_0x41fa5c,'memberID':_0xd2956a[_0x57e06d(0x183)],'type':_0x2779d7,'changeset':_0x2f4ed1(_0x465036)},_0x5792b1=this[_0x57e06d(0x45d)][_0x57e06d(0x27b)](jn),_0x3b59a4=this[_0x57e06d(0x45d)][_0x57e06d(0x27b)](Y),_0x20a5c8=Xn((_0x27f282=(_0x40f874=_0x3b59a4==null?void 0x0:_0x3b59a4[_0x57e06d(0x42b)])!=null?_0x40f874:_0x5792b1)!=null?_0x27f282:Bn,_0x2779d7,_0x41fa5c);try{await this[_0x57e06d(0x326)]['post'](_0x20a5c8,{'body':_0x119205});}catch(_0x560382){throw this['_logService']['error'](_0x57e06d(0x318),_0x57e06d(0x390)),_0x560382;}}async[_0x2776ba(0x26e)](_0x134ad0){var _0x23c2c2=_0x2776ba;const {unitID:_0x45adee,from:_0xb5e43e,to:_0x561027,unitType:_0xe031f6}=_0x134ad0['data'];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x45adee,'type':_0xe031f6,'from':_0xb5e43e,'to':_0x561027}))[_0x23c2c2(0x36b)];}};It=Jn([Ue(0x0,_0xad32f2(_0x237237)),Ue(0x1,_0xad32f2(_0x3d73d7)),Ue(0x2,_0x5aacb0),Ue(0x3,_0x3b0698),Ue(0x4,_0x1ae103)],It);const Zn=_0x2776ba(0x2a7);function Qn(_0x1d2d86){var _0x4c7e36=_0x2776ba;return JSON[_0x4c7e36(0x231)](_0x1d2d86)[_0x4c7e36(0x2a6)];}class Ri{constructor(){var _0x5c2e78=_0x2776ba;N(this,_0x5c2e78(0x381),new _0x119eaf()),N(this,_0x5c2e78(0x205),this[_0x5c2e78(0x381)]['asObservable']());}['onCommentUpdate'](_0x1bd0fc){var _0x3a8be6=_0x2776ba;this[_0x3a8be6(0x381)][_0x3a8be6(0x445)](_0x1bd0fc);}}var es=Object[_0x2776ba(0x282)],ts=Object[_0x2776ba(0x236)],is=(_0x44a28d,_0x34c294,_0x5c28b5,_0x31470f)=>{for(var _0x42220b=_0x31470f>0x1?void 0x0:_0x31470f?ts(_0x34c294,_0x5c28b5):_0x34c294,_0x441ac6=_0x44a28d['length']-0x1,_0x5c5c7a;_0x441ac6>=0x0;_0x441ac6--)(_0x5c5c7a=_0x44a28d[_0x441ac6])&&(_0x42220b=(_0x31470f?_0x5c5c7a(_0x34c294,_0x5c28b5,_0x42220b):_0x5c5c7a(_0x42220b))||_0x42220b);return _0x31470f&&_0x42220b&&es(_0x34c294,_0x5c28b5,_0x42220b),_0x42220b;},zt=(_0x464929,_0x17d8ae)=>(_0x50c0eb,_0x3e9924)=>_0x17d8ae(_0x50c0eb,_0x3e9924,_0x464929);let xe=class extends _0x35df0f{constructor(_0x4c124c,_0x3b081c){var _0xd1c204=_0x2776ba;super(),N(this,_0xd1c204(0x21f),new Map()),N(this,_0xd1c204(0x42a),new _0x119eaf()),(this[_0xd1c204(0x1b3)]=_0x4c124c,this[_0xd1c204(0x34c)]=_0x3b081c,this[_0xd1c204(0x22e)](_0x207695(this[_0xd1c204(0x1b3)]['getTypeOfUnitDisposed$'](_0x471c35[_0xd1c204(0x40d)])['pipe'](_0x554d4a(_0x386326=>_0x386326[_0xd1c204(0x3d2)]())),this['_univerInstanceService'][_0xd1c204(0x217)](_0x471c35['UNIVER_DOC'])[_0xd1c204(0x419)](_0x554d4a(_0x2832cd=>_0x2832cd[_0xd1c204(0x3d2)]())),this[_0xd1c204(0x1b3)][_0xd1c204(0x217)](_0x471c35[_0xd1c204(0x1bd)])[_0xd1c204(0x419)](_0x554d4a(_0x1d54bf=>_0x1d54bf[_0xd1c204(0x3d2)]())))['subscribe'](_0x12d0ad=>this[_0xd1c204(0x2e5)](_0x12d0ad))));}[_0x2776ba(0x396)](_0x32002f){var _0x247a10=_0x2776ba;return this['_roomMembers'][_0x247a10(0x448)](_0x32002f)?_0x5dc709(this[_0x247a10(0x21f)][_0x247a10(0x190)](_0x32002f)):this[_0x247a10(0x42a)][_0x247a10(0x419)](_0x554d4a(_0x269a15=>{var _0x1fe104=_0x247a10;if(_0x269a15===_0x32002f)return this[_0x1fe104(0x21f)][_0x1fe104(0x190)](_0x269a15);}));}['setCurrentUser'](_0x29f6f){var _0x587d09=_0x2776ba;this[_0x587d09(0x34c)]['setCurrentUser'](_0x29f6f);}['getCurrentUser'](){return this['_userManagerService']['getCurrentUser']();}[_0x2776ba(0x27a)](_0x55fc16,_0x50dc9d){var _0x4f2aa3=_0x2776ba;let _0xb3bfa7=this['_roomMembers'][_0x4f2aa3(0x190)](_0x55fc16);_0xb3bfa7||(_0xb3bfa7=new ns(),this[_0x4f2aa3(0x21f)][_0x4f2aa3(0x189)](_0x55fc16,_0xb3bfa7),this[_0x4f2aa3(0x42a)]['next'](_0x55fc16)),_0xb3bfa7[_0x4f2aa3(0x27a)](_0x50dc9d);}['removeMember'](_0x35adee,_0x3e5095){var _0xf2682a=_0x2776ba;const _0x180d38=this[_0xf2682a(0x21f)][_0xf2682a(0x190)](_0x35adee);_0x180d38&&_0x180d38[_0xf2682a(0x3f9)](_0x3e5095);}[_0x2776ba(0x31d)](_0x1aaa1c){var _0x19f48a=_0x2776ba;return this[_0x19f48a(0x21f)][_0x19f48a(0x190)](_0x1aaa1c);}[_0x2776ba(0x20b)](_0x3230eb,_0x5d7069){var _0x2667b8=_0x2776ba;const _0x3277c0=this[_0x2667b8(0x21f)][_0x2667b8(0x190)](_0x3230eb);if(_0x3277c0)return _0x3277c0[_0x2667b8(0x20b)](_0x5d7069);}['_removeRoom'](_0x5bb8a4){var _0x3edfe2=_0x2776ba;const _0x24c86c=this[_0x3edfe2(0x21f)]['get'](_0x5bb8a4);_0x24c86c&&(_0x24c86c[_0x3edfe2(0x28f)](),this[_0x3edfe2(0x21f)]['delete'](_0x5bb8a4));}[_0x2776ba(0x28f)](){var _0x59d80b=_0x2776ba;this['_roomMembers'][_0x59d80b(0x294)](_0x132d9a=>_0x132d9a[_0x59d80b(0x28f)]()),this[_0x59d80b(0x21f)][_0x59d80b(0x2c4)](),this['_roomCreated$'][_0x59d80b(0x3b5)]();}};xe=is([zt(0x0,_0x16c691),zt(0x1,_0xad32f2(_0x2e3a7d))],xe);function _0x52c6(){var _0x1b4f17=['UNIVER_DOC','removeMember','random','JOIN_ROOM_FULL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_socket','_handler','/object/','CHANGESET_REVISION_CONFILICT','uploadFileServerUrl','_onRemoteACK','transformStack\x20failed!','ruleRefresh','onStarting','JOIN_ROOM_FAILED','_resendWithTimeout','rev','\x20to\x20','2932008hQjubs','_changesetSessionId','_imageSourceCache','UNIVER_SHEET','COMPRESS_MUTATION_SEND','Latin1','socket$','_entities','onSendChangeset','_onUserLeave','/-/object/-/batch_allowed','_memberService','stopTime','toLowerCase','_getCtorByUniverType','pipe','UNIVER_PROJECT','key','_initRequestHeader','/universer-api/snapshot/','unknown','downloadEndpointUrl','deepClone','fetchMiss','_showConflictNotification','getMemberID','_state$','__creator','max','sessionTicket','transformChangesets','pluginName','_roomCreated$','collabSubmitChangesetUrl','RECV','APPLY_REJECT','SHOULD_CLOSE_CONN','_onConnectionFailed','OTHER_CLIENT_EDITING','_networkConditionService','filter','_onMessage','UNIVER_UNKNOWN','[OfflineState]:\x20received\x20changeset.','workbook','?size=','loginUrlKey','from','[CollaborationEntity]','BASE64','appendMutation','requireSession','FAIL','c1Prime','fetching\x20missing\x20changesets\x20from\x20','getUnitOnRev','INVALID_ARGUMENT','encodeURIComponent','onStateChange','next','_map','_queuedRemoteChangesets','has','Decryptor','reverse','_transformStateCache','default','size','_getCurrentRevision','collaMsg','status','_createHmacHelper','ALREADY_EXISTS','_schedule','ticket','_throwTelemetryCollaborationNewChangeset','_getUploadFileURL','YUUMI_SUBSCRIPTION_NOT_FOUND','_onConflict','_collaborationTimeoutTimer','_createHandler','SYNCED','enc','_configService','blockSize','AWAITING','sendChangesetTimeout','substr','1876392sKjPrU','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','awaiting_with_pending','COMPLETION_FINISHED','collaboration-client.local-cache-service','getCurrentSelections','LICENSE_IMPORT_SIZE_EXCEEDED','_transformStack','_loadSheet','charAt','/universer-api/snapshot','getLatestCsReqIdBySid','Hex','_transformUndoredo','_collabSessionService','&to=','_onRemoteRejected','fetch_missing','result','SelectRange','_collaborationPaused','_instanceService','_socketReady','IDLE','onRemoteRej','_createSocket','_snapshotServerService','synced','putCollaborators','_collaborationSessionService','_startCollaboration','_unitID','_awaitingChangeset','_undoRedoService','snapshot','_updateStatus','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','memberID','_parse','ENSURE_SNAPSHOT_EXECUTION','[CollaborationSessionService]:\x20socket\x20error','getActiveSheet','MUTATION','set','location','clearUndoRedo','unit-cache-','baseRev','Encryptor','image/gif','get','keySize','UNDEFINED','toggleOnline','COMPRESS_MUTATION_APPLY','hasOwnProperty','LIVESHARE_NEW_HOST','_changesetReqId','/object','string','append','CBC','onMissingChangesets','refreshPermission','/fetchmissing?from=','_nDataBytes','_type','_onOffline','_retryConnectingTimer','LIVESHARE_OPERATION','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','UnitSnapshot','wsSessionTicketUrl','originalMeta','saveImage','_applyRemoteChangeset','/allowed','getUnitStatus$','SOCKET_FAILED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','3bFVuBV','unsubscribe','SNAPSHOT_SERVER_URL_KEY','crypto','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_univerInstanceService','5GWnPVq','getFocusedUnit','closeSession','Cipher','AWAITING_WITH_PENDING','updateOfflineData','StreamCipher','loadOfflineData','values','UNIVER_SLIDE','debug','\x20-\x20','words','init','capture','JOIN_ROOM_NOT_EXISTS','extend','entityInit$','EvpKDF','TOO_MANY_REQUESTS','_telemetryService','onRemoteChangeset','HEARTBEAT','_hasher','emitEvent','error$','_initCloseConn','getImageSourceCache','cmd','_cipher','PSEUDO_FETCH_MISSING_RESULT','_getSendChangesetTimeout','getValue','_waitCount','enableSingleActiveInstanceLock','_logService','&assign=','_lockTransition','ivSize','onTransformRemoteChangesetByIMECache','_initUnitPermissionChange','csAckEvent','Utf8','_mode','createEncryptor','_candidateSocket','_exhaustRemoteChangesetQueue','_sessionStatus$','APPLY_REVISION_CONFILICT','FETCH_MISS','toggleOffline','getResourcesRequest','action','getAllMembers','processBlock','infoRsp','ERROR_IMAGE','transformMutationsWithChangeset','[SyncedState]:\x20received\x20acknowledgement.','_scheduleTimestamp','_onLocalMutation','_sendHeartbeat','dispose$','subject','collaboration-client.config','entries','execute','requestParams','[SyncedState]:\x20received\x20rejection.','_localeService','ciphertext','UUID','socket\x20close','_timeoutTimer','commentUpdateEvent','getImage','onCommandExecuted','JOIN_ROOM_PERMISSION_DENIED','interceptor','_transformService','_append','commentUpdate$','univer-pro.collaboration-client-socket-service','_substituteRedoStack','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','PERSON','2657868cJuDcm','getMember','OpenSSL','readAsDataURL','onTransformSelections','subscribe','_entityInit$','[PendingState]:\x20received\x20acknowledgement.','encrypt','startsWith','snapshotServerUrl','finalize','message$','getTypeOfUnitDisposed$','_retryCount','every','put','_socketMessageSubscription','getCollabEntity$','liveShareOperation','_transformSelections','_roomMembers','target','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','actions','NO_OTHER_CLIENTS_EDITING','CLOSE_ROOM','objectType','Base64','decryptBlock','code','JOINING','/universer-api/authz','initWorkbookPermissionChange','range','_clearLocalCache','disposeWithMe','subType','CONFLICT','stringify','getCurrentRevOfUnit','disableLocalCache','_getLoginPath','UNKNOWN_CMD','getOwnPropertyDescriptor','allowed','session.room-permission-denied','permissionRejEvent','override','_checkMissing','HEARTBEAT_INTERVAL','encode','[CollaborationState]:\x20apply\x20error!','getTargetByPermissionId','2763456WUEfxN','_registerDependencies','_HTTPService','pending','catch','now','unitId','userID','JOIN','avatar','_iKey','exports','registerHTTPInterceptor','_transformRemoteChangesetByStateCache','_process','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','incrementRevOfUnit','isPermissionRej','liveShareNewHost','NoPadding','LOCAL_CACHE_INTERVAL','editing\x20status\x20changed\x20to','getCurrentUser','patch','LICENSE_EXPORT_SIZE_EXCEEDED','localCacheService','/universer-api/comb','GLOBAL_ROOMS_CNT_EXCEEDS','map','Workbook','members','_prevBlock','_onRecvEvent','transformSelections','onMissedChangesetFetched','_state','padding','_eventService','SNAPSHOT_INVALID_SNAPSHOT','_doCryptBlock','create','_resendTimeout','_toggleOnline','reduce','_handlerCallback','m2Prime','_fetchMissChangesets','_key','getSheetBlock','UNKNOWN_CODE','_toggleOffline','mutations','PERMISSION_REJ','list','_unitInfo$','CHANGESET_REJ','_doProcessBlock','Base','updateMember','getConfig','close','Pkcs7','APPLY_PERMISSION_DENIED','_authzIoService','subUnitId','_init','defineProperty','_httpService','YUUMI_RATE_OVER_LIMIT','/role','YUUMI_URL_COL_OUT_OF_RANGE','batchAllowed','_sheetTransformSelectionsService','_initMergeInterceptor','getCollabEntity','sheets','save\x20fail\x20reason\x20is\x20','_decreaseWaiting','retryConnectingInterval','dispose','_scheduleCollaborationTimeoutTimer','OTHER_CLIENTS_EDITING','leaveEvent','UNRECOGNIZED','forEach','_keySchedule','isArray','USERS_ENTER','image/jpg','eventID','apply','prototype','_initDependencies','_waitForHeartbeatResponse','_hash','clamp','_getSignURL','sessionStatus$','UPDATE_PERMISSION_OBJ','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','onLocalMutation','_onCombEvent','length','collaboration_new_changeset','revision','getSheetId','kdf','_replayCachedMutations','session','{fileID}','href','/universer-api/stream/file/upload','AES','YUUMI_UNABLE_LOAD_URL','floor','msCrypto','_commandService','joinEvent','lib','session.join-failed','sessionStatus','sigBytes','executeCommand','mode','unpad','c2Prime','[DataLoaderService]','send','symbol','11935BLAIVW','CipherParams','signUrlServerUrl','clear','addImageSourceCache','reset','_onFetchMissResult','_sender','_getAPIPrefixPath','connection\x20error','SHA1','HttpImport','unitId\x20is\x20not\x20found','_clearHeartbeatTimer','saveSnapshot','CHANGESET_SHOULD_RETRY','HmacMD5','saveChangeset','HMAC','onSyncEditingCollabCursor','_doReset','_localCacheService','getPermissionPoint','LOGIN_URL_KEY','shouldCloseConn','CONNECTOR_DATA_TOO_LARGE','state','buffer','_pendingMutations','enableAuthServer','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','open$','_createSocketURL','onCommentUpdate','_snapshotService','_singleActiveUnitService','_removeRoom','_commentService','MD5','APPLY_DUPLICATED','join','createDecryptor','_data','_socketService','searchParams','_updateLocalCache','responseType','confirm','slice','_revisionService','USERS_LEAVE','_invKeySchedule','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_permissionService','Worksheet','_socket$','_resendTimer','_acknowledgedAwaitingChangeset','concat','ceil','failed\x20to\x20apply\x20missed\x20changesets!','\x0aCurrent:\x20','setWaitCount','value','x-univer-host','_getAPIPrefix','charCodeAt','_getRedoStack','_oKey','push','session.room-not-exists','_redoStacks','reject','[CollaborationUndoRedoService]','_config','getTypeOfUnitAdded$','selections','onlyLocal','post','fromCharCode','_clearScheduledTask','_ENC_XFORM_MODE','SerializableCipher','NEW_CHANGESETS','_onConnectionOpen','objectID','_listenToNetworkCondition','[CollaborationSession]','BlockCipherMode','_joinRoom','[UniverCollaborationClientPlugin]','splice','getRoom','status$','_unlockTransition','localeService','_rescheduleHeartbeat','?url=','algo','/new_changes','withCredentials','_http','_onRemoteChangeset','[CollaborationSessionService]','_members$','_transformIMECache','onRemoteAck','_disableEditing','_stopTelemetryCollaborationNewChangeset','onTransformIME','_xformMode','clone','_status$','params','FileId','_clearCollaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_reverseMap','find','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','transformUndoRedo','type','authzUrl','LIVESHARE_FETCH_OPERATIONS','/collaborator','WordArray','newCsEvent','asObservable','error','setShowComponents','resend','offline','[PendingState]:\x20received\x20rejection.','createInstance','6289736kqEAXC','replace','FETCH_MISSING','ERROR_EXCEED_SIZE','_sendHeartbeatTimer','_userManagerService','auth.needGotoLoginAlert','[OfflineState]:\x20received\x20acknowledgement.','readyForCollab','[OfflineState]:\x20received\x20rejection.','url','_incrementRevisionNumber','saveSheetBlock','LEAVE','_minBufferSize','headers','hostname','objects','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','createSocket','roles','function','routeKey','event$','MSG_FOR_ERROR','onTransformState','pad','LICENSE_DISTRO_REJECTED','awaiting','rng','resourceIDs','/unit/','_change$','addHandlerCallback','fromCollab','Error\x20on\x20receiving\x20event','changesets','SUBMIT_CHANGESET','_collaborationUIEventService','mixIn','resolve','SUBMIT_CHANGESET_TIMEOUT','reconnect','uniscriptRunEvent','_updateState','_sessions','_sendingTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_remoteChangesetQueue','delete','title','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','SOCKET_FAILED_RETRY','$super','roomInfos','equals','compose','DEFAULT_FILE_NAME','_commentUpdate$','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','ONLINE','socket\x20open.','decrypt','duration','onTransformRemoteChangesetByStateCache','_executeRemoteChangeset','_loadDoc','_injector','&source=','_emitMembers','18TZqfLK','reqId','sid','submit\x20changeset\x20error!','SEND_CHANGESET_TIMEOUT','_nRounds','textRanges','_clearTimeoutTimer','getRandomValues','waitForRoom$','state$','_telemetryInfo','_tryReconnect','toString','body','socketService','fetchThroughInterceptors','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','INTERNAL_ERROR','enableOfflineEditing','cfg','15440WoQVbc','_getDownloadEndpointURL','[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.','onRemoteRetry','_shouldReportTelemetry','_tryEnsureSocket','fetchMissingChangesets','then','UPDATE_CURSOR','_getSessionTicket','updatePermissionPoint','call','LIVESHARE_TERMINATE','parse','repeat','__Key__','name','1076654WKhrrt','complete','UnitEmbedded','_createInitialStateImpl','data','univer-pro.collaboration-client.single-active-unit-service','_members','onload','univer-pro.collaboration-client.network-condition.service','POST','LIVESHARE_REQUEST_HOST','_createHelper','csShouldRetryEvent','_onUserJoin','/universer-api/file/{fileID}/sign-url','Could\x20not\x20dynamically\x20require\x20\x22','joinRsp','/block/','_syncEditingCollabCursor','add','CHANGESET_ACK','_event$','COLLAB_SUBMIT_CHANGESET_URL','copyFileMeta','update','json','getInterceptPoints','_transitionLocked','BlockCipher','_isPermissionRej','getUnitId','_onRemoteRetry','OPTIONAL','HELLO','awaitingChangeset','_getUndoStack','listCollaborators','_compressMutationService','PERMISSION_DENIED','HttpExport','SNAPSHOT_URL_KEY','SUCCUSS','getUnit','format','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','byteLength','randomUUID','_submitChangeset','editingUnit','_substituteUndoStack','COMMENT_UPDATE','close$','INGEST','Hasher','APPLY_NON_SEQUENTIAL_REVISION','/universer-api/oidc/authpage','randomBytes','unitID','ERROR_IMAGE_TYPE','search','compute','HEARTBEAT_TIMEOUT','_clearUndo','runId','_undoStacks','salt','_keyPriorReset','_createInitialState'];_0x52c6=function(){return _0x1b4f17;};return _0x52c6();}class ns extends _0x35df0f{constructor(){var _0x1717ae=_0x2776ba;super(...arguments),N(this,'_members',new Map()),N(this,'_members$',new _0x5f0741(this['_members'])),N(this,'members$',this[_0x1717ae(0x329)][_0x1717ae(0x340)]());}[_0x2776ba(0x28f)](){var _0xe7484f=_0x2776ba;this[_0xe7484f(0x3ba)]['clear']();}[_0x2776ba(0x27a)](_0x53174a){var _0x9ba2ce=_0x2776ba;this[_0x9ba2ce(0x3ba)][_0x9ba2ce(0x189)](_0x53174a[_0x9ba2ce(0x183)],_0x53174a),this['_emitMembers']();}['removeMember'](_0x13bb41){var _0x1fef88=_0x2776ba;this['_members'][_0x1fef88(0x378)](_0x13bb41);}[_0x2776ba(0x20b)](_0x39fa3d){var _0x5d1580=_0x2776ba;return this['_members'][_0x5d1580(0x190)](_0x39fa3d);}[_0x2776ba(0x1e9)](){var _0x511b73=_0x2776ba;return Array[_0x511b73(0x439)](this['_members'][_0x511b73(0x1bc)]());}[_0x2776ba(0x38c)](){var _0x33d439=_0x2776ba;this[_0x33d439(0x329)][_0x33d439(0x445)](this['_members']);}}var ss=Object[_0x2776ba(0x282)],rs=Object[_0x2776ba(0x236)],os=(_0xd127de,_0x330a85,_0x1f2ae6,_0x4c7e7c)=>{var _0x184075=_0x2776ba;for(var _0x1ac152=_0x4c7e7c>0x1?void 0x0:_0x4c7e7c?rs(_0x330a85,_0x1f2ae6):_0x330a85,_0x4cfe20=_0xd127de[_0x184075(0x2a6)]-0x1,_0x53aa27;_0x4cfe20>=0x0;_0x4cfe20--)(_0x53aa27=_0xd127de[_0x4cfe20])&&(_0x1ac152=(_0x4c7e7c?_0x53aa27(_0x330a85,_0x1f2ae6,_0x1ac152):_0x53aa27(_0x1ac152))||_0x1ac152);return _0x4c7e7c&&_0x1ac152&&ss(_0x330a85,_0x1f2ae6,_0x1ac152),_0x1ac152;},me=(_0x5de59c,_0x24d3b9)=>(_0x53d24d,_0x40b26b)=>_0x24d3b9(_0x53d24d,_0x40b26b,_0x5de59c),Te=(_0x307f4b=>(_0x307f4b[_0x307f4b[_0x2776ba(0x479)]=0x0]=_0x2776ba(0x479),_0x307f4b[_0x307f4b[_0x2776ba(0x229)]=0x1]=_0x2776ba(0x229),_0x307f4b[_0x307f4b[_0x2776ba(0x39f)]=0x2]='OFFLINE',_0x307f4b[_0x307f4b[_0x2776ba(0x383)]=0x3]=_0x2776ba(0x383),_0x307f4b))(Te||{});const Yt={[Ee[_0x2776ba(0x43e)]]:_0x2776ba(0x2b7),[Ee[_0x2776ba(0x3fb)]]:'session.room-full',[Ee[_0x2776ba(0x1c3)]]:_0x2776ba(0x307),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x2776ba(0x238),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Tt=class extends _0x3fbf91{constructor(_0x36c9bd,_0x3abbd5,_0x222dd8,_0x5080da,_0x54fd4d,_0x7b6c2b,_0x21d61d,_0x11312e,_0xefdee9){var _0x2c22a2=_0x2776ba;super(),N(this,_0x2c22a2(0x1e3),new _0x5f0741(0x0)),N(this,_0x2c22a2(0x2a1),this[_0x2c22a2(0x1e3)][_0x2c22a2(0x340)]()),N(this,_0x2c22a2(0x3c9),new _0x119eaf()),N(this,_0x2c22a2(0x35e),this[_0x2c22a2(0x3c9)][_0x2c22a2(0x340)]()),N(this,_0x2c22a2(0x3fd)),N(this,_0x2c22a2(0x21b)),N(this,_0x2c22a2(0x459)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x2c22a2(0x398),null),(this[_0x2c22a2(0x17d)]=_0x36c9bd,this['_logService']=_0x222dd8,this[_0x2c22a2(0x45d)]=_0x5080da,this[_0x2c22a2(0x1f9)]=_0x54fd4d,this[_0x2c22a2(0x415)]=_0x7b6c2b,this['_commentService']=_0x21d61d,this['_collaborationUIEventService']=_0x11312e,this[_0x2c22a2(0x1c8)]=_0xefdee9,this[_0x2c22a2(0x3a7)]=!!this['_telemetryService'],_0x3abbd5[_0x2c22a2(0x419)](_0x16b361(this['dispose$']))[_0x2c22a2(0x20f)](_0x439ebc=>{var _0x5776b9=_0x2c22a2,_0x1e04e9;typeof _0x439ebc>'u'||(this[_0x5776b9(0x3fd)]=_0x439ebc,_0x439ebc?(this[_0x5776b9(0x31a)](_0x439ebc),this[_0x5776b9(0x21b)]=_0x439ebc[_0x5776b9(0x216)][_0x5776b9(0x20f)](_0x11054c=>{var _0x7ea563=_0x5776b9;_0x11054c[_0x7ea563(0x35d)]===this[_0x7ea563(0x17d)]&&this[_0x7ea563(0x2a5)](_0x11054c);})):(this[_0x5776b9(0x455)](),this[_0x5776b9(0x1e3)]['next'](0x2),(_0x1e04e9=this[_0x5776b9(0x21b)])==null||_0x1e04e9[_0x5776b9(0x1af)](),this['_socketMessageSubscription']=null));}));}get[_0x2776ba(0x2b8)](){var _0xde40e9=_0x2776ba;return this[_0xde40e9(0x1e3)]['getValue']();}[_0x2776ba(0x423)](){var _0x1b0463=_0x2776ba,_0x6062f1,_0x4e32b7;return(_0x4e32b7=(_0x6062f1=this['_socket'])==null?void 0x0:_0x6062f1[_0x1b0463(0x183)])!=null?_0x4e32b7:null;}[_0x2776ba(0x28f)](){var _0x59ef84=_0x2776ba;super[_0x59ef84(0x28f)](),this['dispose$'][_0x59ef84(0x445)](),this[_0x59ef84(0x1f2)][_0x59ef84(0x3b5)]();}[_0x2776ba(0x27c)](){var _0x19e997=_0x2776ba,_0x5e2d5d,_0x56084a;this[_0x19e997(0x455)](),(_0x5e2d5d=this[_0x19e997(0x3fd)])==null||_0x5e2d5d['send']({'cmd':F[_0x19e997(0x354)],'data':{'roomID':this['_unitID']}}),(_0x56084a=this[_0x19e997(0x3fd)])==null||_0x56084a[_0x19e997(0x27c)](),this[_0x19e997(0x3c9)]['complete'](),this['_sessionStatus$'][_0x19e997(0x3b5)](),this[_0x19e997(0x28f)]();}[_0x2776ba(0x2a5)](_0x2e1329){var _0x1c4394=_0x2776ba;_0x2e1329['cmd']===F[_0x1c4394(0x248)]?this['_onJoinRoomEvent'](_0x2e1329):_0x2e1329[_0x1c4394(0x1d0)]===F['RECV']&&this['_onRecvEvent'](_0x2e1329);}['_joinRoom'](_0xf82dbb){var _0x35757d=_0x2776ba;this[_0x35757d(0x1e3)][_0x35757d(0x445)](0x1),_0xf82dbb[_0x35757d(0x2bf)]({'cmd':F[_0x35757d(0x248)],'routeKey':this[_0x35757d(0x17d)],'routeType':'','data':{'rooms':[{'roomID':this[_0x35757d(0x17d)]}]}});}['_onJoinRoomEvent'](_0x1774c1){var _0x1f4652=_0x2776ba,_0x3b94bd;if(_0x1774c1[_0x1f4652(0x228)]in Yt){this[_0x1f4652(0x36d)]['emitEvent']({'id':re['JOIN_ROOM_FAILED'],'data':Yt[_0x1774c1[_0x1f4652(0x228)]]}),this[_0x1f4652(0x1e3)][_0x1f4652(0x445)](0x2);return;}this[_0x1f4652(0x1e3)][_0x1f4652(0x445)](0x3);const _0x5ce816=(_0x3b94bd=_0x1774c1[_0x1f4652(0x3b8)][_0x1f4652(0x37d)][this[_0x1f4652(0x17d)]])==null?void 0x0:_0x3b94bd[_0x1f4652(0x25e)];_0x5ce816&&_0x5ce816['forEach'](_0x174780=>this['_memberService'][_0x1f4652(0x27a)](this['_unitID'],_0x174780));}[_0x2776ba(0x260)](_0x389e50){var _0xcc1019=_0x2776ba;try{const _0xd960b2=_0x389e50[_0xcc1019(0x3b8)];switch(_0xd960b2[_0xcc1019(0x299)]){case _0x46c53f[_0xcc1019(0x297)]:this[_0xcc1019(0x3c1)](_0xd960b2),this['_event$'][_0xcc1019(0x445)](_0xd960b2);break;case _0x46c53f[_0xcc1019(0x2f3)]:this['_onUserLeave'](_0xd960b2),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;case _0x46c53f['CHANGESET_ACK']:case _0x46c53f[_0xcc1019(0x2d0)]:this[_0xcc1019(0x32d)](),this[_0xcc1019(0x334)](),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;case _0x46c53f['MSG_FOR_ERROR']:this[_0xcc1019(0x1d7)][_0xcc1019(0x341)](_0xcc1019(0x28c)+JSON['stringify'](_0xd960b2)),this[_0xcc1019(0x3c9)][_0xcc1019(0x445)](_0xd960b2);break;case _0x46c53f[_0xcc1019(0x3e6)]:this[_0xcc1019(0x2e6)][_0xcc1019(0x2e2)](_0xd960b2[_0xcc1019(0x3b8)]),this[_0xcc1019(0x3c9)]['next'](_0xd960b2);break;default:this[_0xcc1019(0x3c9)][_0xcc1019(0x445)](_0xd960b2);}}catch(_0x4afc5d){this[_0xcc1019(0x1d7)][_0xcc1019(0x341)](_0x4afc5d,_0x389e50);}}[_0x2776ba(0x3c1)](_0xe20f88){var _0x21e7c0=_0x2776ba;this[_0x21e7c0(0x415)]['updateMember'](this[_0x21e7c0(0x17d)],_0xe20f88[_0x21e7c0(0x3b8)]);}[_0x2776ba(0x413)](_0x1c3990){var _0x3300b1=_0x2776ba;this[_0x3300b1(0x415)][_0x3300b1(0x3f9)](this[_0x3300b1(0x17d)],_0x1c3990['data']['memberID']);}async['send'](_0x15037e,_0x4d0953){var _0x9513c=_0x2776ba;if(this[_0x9513c(0x2b8)]!==0x3||!this['_socket'])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x15037e[_0x9513c(0x299)]===_0x46c53f[_0x9513c(0x36c)]&&(this[_0x9513c(0x290)](),this['_startTelemetryCollaborationNewChangeset'](_0x15037e)),this[_0x9513c(0x3fd)][_0x9513c(0x2bf)]({'cmd':F[_0x9513c(0x3e8)],'routeKey':_0x4d0953,'routeType':'','data':_0x15037e});}catch(_0x2ca1c1){this['_logService'][_0x9513c(0x341)](_0x2ca1c1);}}[_0x2776ba(0x290)](){var _0x555040=_0x2776ba,_0x138c7c;this[_0x555040(0x459)]=setTimeout(()=>{var _0x593506=_0x555040;this[_0x593506(0x459)]=null,this['_collaborationUIEventService'][_0x593506(0x1cc)]({'id':re[_0x593506(0x370)]});},(_0x138c7c=this[_0x555040(0x45d)][_0x555040(0x27b)](Ei))!=null?_0x138c7c:Ii);}[_0x2776ba(0x334)](){var _0x36c8af=_0x2776ba;this[_0x36c8af(0x459)]&&(clearTimeout(this[_0x36c8af(0x459)]),this[_0x36c8af(0x459)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x36a9d5){var _0x12b3f5=_0x2776ba;if(!this['_shouldReportTelemetry'])return;const {data:_0x345379}=_0x36a9d5,{unitID:_0x2348e6,changeset:_0x584cd8}=_0x345379,{mutations:_0x27ab6c,type:_0x21b2b4}=_0x584cd8;this['_telemetryInfo']={'unitId':_0x2348e6,'type':_0x21b2b4,'startTime':performance[_0x12b3f5(0x245)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x27ab6c)};}[_0x2776ba(0x32d)](){var _0x24d396=_0x2776ba;if(this[_0x24d396(0x3a7)]){if(!this[_0x24d396(0x398)]){this[_0x24d396(0x1d7)][_0x24d396(0x341)](_0x24d396(0x318),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x24d396(0x398)][_0x24d396(0x416)]=performance[_0x24d396(0x245)](),this['_telemetryInfo'][_0x24d396(0x386)]=this[_0x24d396(0x398)][_0x24d396(0x416)]-this[_0x24d396(0x398)]['startTime'],this['_telemetryService'][_0x24d396(0x1c2)](Zn,this[_0x24d396(0x398)]),this[_0x24d396(0x398)]=null;}}[_0x2776ba(0x455)](){var _0x255c41=_0x2776ba;this[_0x255c41(0x398)]=null;}};Tt=os([me(0x2,_0x3b0698),me(0x3,_0x5aacb0),me(0x4,_0xad32f2(_0x415ba6)),me(0x5,_0xad32f2(xe)),me(0x6,_0xad32f2(Ri)),me(0x7,_0xad32f2(pe)),me(0x8,_0x122f64(_0x3f4699))],Tt);var as=Object[_0x2776ba(0x282)],cs=Object[_0x2776ba(0x236)],hs=(_0x449604,_0x1bb9bf,_0x55527c,_0x428f44)=>{var _0x1e26c9=_0x2776ba;for(var _0xbdf1a9=_0x428f44>0x1?void 0x0:_0x428f44?cs(_0x1bb9bf,_0x55527c):_0x1bb9bf,_0xbd6391=_0x449604[_0x1e26c9(0x2a6)]-0x1,_0x5af080;_0xbd6391>=0x0;_0xbd6391--)(_0x5af080=_0x449604[_0xbd6391])&&(_0xbdf1a9=(_0x428f44?_0x5af080(_0x1bb9bf,_0x55527c,_0xbdf1a9):_0x5af080(_0xbdf1a9))||_0xbdf1a9);return _0x428f44&&_0xbdf1a9&&as(_0x1bb9bf,_0x55527c,_0xbdf1a9),_0xbdf1a9;},ge=(_0x242543,_0x551474)=>(_0x357be9,_0x55be03)=>_0x551474(_0x357be9,_0x55be03,_0x242543);let Le=class extends _0x35df0f{constructor(_0x482df0,_0x338046,_0x25d6e0,_0x5079a9,_0x3b9ac3,_0x57a0c0,_0xf3906e){var _0x52498f=_0x2776ba;super(),N(this,_0x52498f(0x2f8),new _0x5f0741(void 0x0)),N(this,_0x52498f(0x410),this[_0x52498f(0x2f8)]['asObservable']()),N(this,_0x52498f(0x1e1),null),N(this,_0x52498f(0x374),new Map()),N(this,'_status$',new _0x5f0741(Te[_0x52498f(0x479)])),N(this,_0x52498f(0x31e),this[_0x52498f(0x331)][_0x52498f(0x340)]()),N(this,_0x52498f(0x478),!0x1),N(this,_0x52498f(0x1a2)),N(this,_0x52498f(0x218),0x0),N(this,_0x52498f(0x34b)),N(this,'_timeoutTimer'),(this['_injector']=_0x482df0,this[_0x52498f(0x1d7)]=_0x338046,this[_0x52498f(0x45d)]=_0x25d6e0,this[_0x52498f(0x2ec)]=_0x5079a9,this[_0x52498f(0x283)]=_0x3b9ac3,this[_0x52498f(0x36d)]=_0x57a0c0,this[_0x52498f(0x431)]=_0xf3906e,this[_0x52498f(0x317)]());}get[_0x2776ba(0x3fd)](){var _0x1260d9=_0x2776ba;return this[_0x1260d9(0x2f8)][_0x1260d9(0x1d4)]();}[_0x2776ba(0x317)](){this['_networkConditionService']&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x188993=>{var _0x1c9fda=_0x533f;_0x188993&&!this[_0x1c9fda(0x3fd)]&&this[_0x1c9fda(0x371)](),_0x188993||this[_0x1c9fda(0x1a1)]();}));}['dispose'](){var _0x3087a6=_0x2776ba;super['dispose'](),this[_0x3087a6(0x374)][_0x3087a6(0x294)](_0x48ceb3=>_0x48ceb3[_0x3087a6(0x28f)]()),this[_0x3087a6(0x374)][_0x3087a6(0x2c4)](),this[_0x3087a6(0x331)][_0x3087a6(0x3b5)]();}async['requireSession'](_0x1331fa){var _0x2dd07f=_0x2776ba;if(this[_0x2dd07f(0x374)][_0x2dd07f(0x448)](_0x1331fa))return this[_0x2dd07f(0x374)]['get'](_0x1331fa);this['_tryEnsureSocket']();const _0x54ed38=this[_0x2dd07f(0x38a)][_0x2dd07f(0x346)](Tt,_0x1331fa,this[_0x2dd07f(0x2f8)]['asObservable']());return this[_0x2dd07f(0x374)][_0x2dd07f(0x189)](_0x1331fa,_0x54ed38),_0x54ed38;}[_0x2776ba(0x1b6)](_0x1e8426){var _0x43fcc2=_0x2776ba,_0x486f68;const _0x2e08a2=this['_sessions'][_0x43fcc2(0x190)](_0x1e8426);_0x2e08a2&&(this[_0x43fcc2(0x374)][_0x43fcc2(0x378)](_0x1e8426),_0x2e08a2['close']()),this['_sessions'][_0x43fcc2(0x44d)]||(_0x486f68=this['_socket'])==null||_0x486f68[_0x43fcc2(0x27c)]();}[_0x2776ba(0x371)](){var _0x4e6ebe=_0x2776ba;this[_0x4e6ebe(0x218)]=0x0,this[_0x4e6ebe(0x1a2)]!=null&&(clearTimeout(this[_0x4e6ebe(0x1a2)]),this[_0x4e6ebe(0x1a2)]=null),this['_tryReconnect']();}async[_0x2776ba(0x3ac)](){var _0x58301a=_0x2776ba,_0x348999,_0x4a4b9e,_0x205b5b;const _0x1e93d2=this[_0x58301a(0x45d)]['getConfig'](Y),_0x2f35ad=(_0x348999=_0x1e93d2==null?void 0x0:_0x1e93d2[_0x58301a(0x1a6)])!=null?_0x348999:xn;return(_0x205b5b=(_0x4a4b9e=(await this[_0x58301a(0x283)][_0x58301a(0x190)](_0x2f35ad,{'headers':{'Content-Type':'application/json'}}))[_0x58301a(0x39b)])==null?void 0x0:_0x4a4b9e[_0x58301a(0x454)])!=null?_0x205b5b:'';}['_createSocketURL'](_0x26203a){var _0x108f7d=_0x2776ba,_0x204cc5,_0x442997;const _0x22815f=this[_0x108f7d(0x45d)][_0x108f7d(0x27b)](Un),_0x421640=this[_0x108f7d(0x45d)][_0x108f7d(0x27b)](Y),_0x22171c=(_0x442997=(_0x204cc5=_0x421640==null?void 0x0:_0x421640['collabWebSocketUrl'])!=null?_0x204cc5:_0x22815f)!=null?_0x442997:An,_0x42b555=typeof window>'u'?new URL(_0x22171c):new URL(_0x22171c,window[_0x108f7d(0x18a)]['origin']);_0x42b555['searchParams'][_0x108f7d(0x189)](_0x108f7d(0x427),_0x26203a);const _0x1c4ad8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x108f7d(0x18a)][_0x108f7d(0x3ef)]);return _0x1c4ad8['get'](_0x108f7d(0x3f3))&&_0x42b555[_0x108f7d(0x2ed)][_0x108f7d(0x189)](_0x108f7d(0x3f3),_0x1c4ad8['get'](_0x108f7d(0x3f3))),_0x42b555[_0x108f7d(0x39a)]();}async['_createSocket'](){var _0x4d1338=_0x2776ba;const _0x226ce4=await this[_0x4d1338(0x3ac)](),_0x123d3=this[_0x4d1338(0x2e1)](_0x226ce4),_0x49a976=this['_socketService'][_0x4d1338(0x35a)](_0x123d3);return this[_0x4d1338(0x1e1)]=_0x49a976,_0x49a976;}async[_0x2776ba(0x3a8)](){var _0x4ffe55=_0x2776ba,_0x254c48,_0x546dc3;try{const _0x55ca0f=(_0x546dc3=(_0x254c48=this[_0x4ffe55(0x3fd)])!=null?_0x254c48:this['_candidateSocket'])!=null?_0x546dc3:await this[_0x4ffe55(0x47b)]();if(_0x55ca0f){const _0x28d5b0=_0x55ca0f[_0x4ffe55(0x2bf)];_0x55ca0f[_0x4ffe55(0x2bf)]=_0x20ec4e=>(this['_rescheduleHeartbeat'](),_0x28d5b0[_0x4ffe55(0x29a)](_0x55ca0f,[_0x20ec4e])),_0x55ca0f['message$'][_0x4ffe55(0x20f)](_0x4b589=>this['_onMessage'](_0x55ca0f,_0x4b589)),_0x55ca0f[_0x4ffe55(0x1cd)][_0x4ffe55(0x419)](_0x4f666c(0x1))['subscribe'](_0x1d4ec1=>this[_0x4ffe55(0x1d7)][_0x4ffe55(0x341)](_0x4ffe55(0x186),_0x1d4ec1)),_0x55ca0f['open$'][_0x4ffe55(0x419)](_0x4f666c(0x1))[_0x4ffe55(0x20f)](()=>{var _0x4df3f4=_0x4ffe55;this[_0x4df3f4(0x315)](_0x55ca0f);}),_0x55ca0f[_0x4ffe55(0x3e7)][_0x4ffe55(0x419)](_0x4f666c(0x1))[_0x4ffe55(0x20f)](_0x5668b5=>{var _0x19e320=_0x4ffe55;this['_logService'][_0x19e320(0x1be)]('[CollaborationSessionService]',_0x19e320(0x1fc),_0x5668b5),this[_0x19e320(0x42f)]();});}}catch(_0x219899){this['_logService']['error'](_0x219899),this[_0x4ffe55(0x42f)]();}}[_0x2776ba(0x315)](_0x5a2da7){var _0x478c2a=_0x2776ba;this[_0x478c2a(0x1d7)][_0x478c2a(0x1be)](_0x478c2a(0x328),_0x478c2a(0x384)),_0x5a2da7[_0x478c2a(0x2bf)]({'cmd':F[_0x478c2a(0x3d5)]}),this['_rescheduleHeartbeat']();}['_onOffline'](){var _0x46e17d=_0x2776ba;this['_socketReady']=!0x1,this['_candidateSocket']=null,this[_0x46e17d(0x331)][_0x46e17d(0x445)](Te[_0x46e17d(0x39f)]),this[_0x46e17d(0x2f8)][_0x46e17d(0x445)](null),this[_0x46e17d(0x394)](),this[_0x46e17d(0x2ce)]();}[_0x2776ba(0x42f)](){var _0x16e7a7=_0x2776ba,_0x54703f;this[_0x16e7a7(0x1a1)](),this[_0x16e7a7(0x218)]<((_0x54703f=this[_0x16e7a7(0x45d)][_0x16e7a7(0x27b)](Hn))!=null?_0x54703f:kn)?(this[_0x16e7a7(0x36d)][_0x16e7a7(0x1cc)]({'id':re[_0x16e7a7(0x37b)]}),this[_0x16e7a7(0x399)]()):this[_0x16e7a7(0x36d)][_0x16e7a7(0x1cc)]({'id':re[_0x16e7a7(0x1ac)]});}[_0x2776ba(0x399)](){var _0x2cf5a8=_0x2776ba,_0x508bd6;const _0x817804=this['_retryCount'],_0x199827=this[_0x2cf5a8(0x45d)][_0x2cf5a8(0x27b)](Y),_0x2c7c04=_0x817804===0x0?0x0:((_0x508bd6=_0x199827==null?void 0x0:_0x199827[_0x2cf5a8(0x28e)])!=null?_0x508bd6:$n)*0x2**_0x817804;this[_0x2cf5a8(0x1a2)]=setTimeout(()=>{var _0x4cf3a8=_0x2cf5a8;clearTimeout(this['_retryConnectingTimer']),this[_0x4cf3a8(0x1a2)]=null,this[_0x4cf3a8(0x3a8)]();},_0x2c7c04),this['_retryCount']+=0x1;}[_0x2776ba(0x433)](_0x1dab98,_0x3a4500){var _0x64a25e=_0x2776ba;const {cmd:_0x5d856b}=_0x3a4500;_0x5d856b===F[_0x64a25e(0x3d5)]&&!this[_0x64a25e(0x478)]&&(_0x1dab98[_0x64a25e(0x183)]=_0x3a4500[_0x64a25e(0x3b8)]['memberID'],this[_0x64a25e(0x2f8)][_0x64a25e(0x445)](_0x1dab98),this[_0x64a25e(0x331)]['next'](Te[_0x64a25e(0x383)]),this[_0x64a25e(0x478)]=!0x0,this['_candidateSocket']=null),_0x5d856b===F[_0x64a25e(0x1ca)]&&this[_0x64a25e(0x394)](),this[_0x64a25e(0x321)]();}[_0x2776ba(0x321)](){var _0x5b6f17=_0x2776ba,_0x4ec8ab;this[_0x5b6f17(0x2ce)](),this[_0x5b6f17(0x34b)]=setTimeout(()=>this[_0x5b6f17(0x1f1)](),(_0x4ec8ab=this['_configService'][_0x5b6f17(0x27b)](Ln))!=null?_0x4ec8ab:Mn);}[_0x2776ba(0x1f1)](){var _0x58180e=_0x2776ba;this['_socket']['send']({'cmd':F[_0x58180e(0x1ca)]}),this[_0x58180e(0x29d)]();}[_0x2776ba(0x29d)](){var _0xdb7c28=_0x2776ba,_0xc19b02;this[_0xdb7c28(0x1fd)]=setTimeout(()=>this[_0xdb7c28(0x42f)](),(_0xc19b02=this[_0xdb7c28(0x45d)]['getConfig'](Ei))!=null?_0xc19b02:Ii);}[_0x2776ba(0x2ce)](){var _0x22368d=_0x2776ba;this[_0x22368d(0x34b)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0x2776ba(0x394)](){var _0x1551c2=_0x2776ba;this[_0x1551c2(0x1fd)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x1551c2(0x1fd)]=null);}};Le=hs([ge(0x0,_0xad32f2(_0x237237)),ge(0x1,_0x3b0698),ge(0x2,_0x5aacb0),ge(0x3,bi),ge(0x4,_0xad32f2(_0x3d73d7)),ge(0x5,_0xad32f2(pe)),ge(0x6,_0x122f64(Gn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x2776ba(0x306)]((n+0x100)[_0x2776ba(0x39a)](0x10)[_0x2776ba(0x2f1)](0x1));function _s(_0x4d5dca,_0x225cf1=0x0){var _0x3afb79=_0x2776ba;return(V[_0x4d5dca[_0x225cf1+0x0]]+V[_0x4d5dca[_0x225cf1+0x1]]+V[_0x4d5dca[_0x225cf1+0x2]]+V[_0x4d5dca[_0x225cf1+0x3]]+'-'+V[_0x4d5dca[_0x225cf1+0x4]]+V[_0x4d5dca[_0x225cf1+0x5]]+'-'+V[_0x4d5dca[_0x225cf1+0x6]]+V[_0x4d5dca[_0x225cf1+0x7]]+'-'+V[_0x4d5dca[_0x225cf1+0x8]]+V[_0x4d5dca[_0x225cf1+0x9]]+'-'+V[_0x4d5dca[_0x225cf1+0xa]]+V[_0x4d5dca[_0x225cf1+0xb]]+V[_0x4d5dca[_0x225cf1+0xc]]+V[_0x4d5dca[_0x225cf1+0xd]]+V[_0x4d5dca[_0x225cf1+0xe]]+V[_0x4d5dca[_0x225cf1+0xf]])[_0x3afb79(0x417)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x4135de=_0x2776ba;if(!dt){if(typeof crypto>'u'||!crypto[_0x4135de(0x395)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto[_0x4135de(0x395)]['bind'](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x2776ba(0x3e2)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x4bf8e2,_0x44ca1b,_0x53cb55){var _0x398d9a=_0x2776ba;if(qt[_0x398d9a(0x3e2)]&&!_0x44ca1b&&!_0x4bf8e2)return qt['randomUUID']();_0x4bf8e2=_0x4bf8e2||{};const _0x1b97f9=_0x4bf8e2[_0x398d9a(0x3fa)]||(_0x4bf8e2[_0x398d9a(0x364)]||us)();return _0x1b97f9[0x6]=_0x1b97f9[0x6]&0xf|0x40,_0x1b97f9[0x8]=_0x1b97f9[0x8]&0x3f|0x80,_s(_0x1b97f9);}const X=_0x2b60cb(_0x2776ba(0x466));function uo(_0x285c01){var _0x422dbd=_0x2776ba;return _0x422dbd(0x18c)+_0x285c01;}var vs=Object[_0x2776ba(0x282)],ps=Object[_0x2776ba(0x236)],ms=(_0x5a8efa,_0x4b1f15,_0x4bf744,_0x37cfb4)=>{var _0x122b11=_0x2776ba;for(var _0x564df4=_0x37cfb4>0x1?void 0x0:_0x37cfb4?ps(_0x4b1f15,_0x4bf744):_0x4b1f15,_0xc4f5f9=_0x5a8efa[_0x122b11(0x2a6)]-0x1,_0x5b8e02;_0xc4f5f9>=0x0;_0xc4f5f9--)(_0x5b8e02=_0x5a8efa[_0xc4f5f9])&&(_0x564df4=(_0x37cfb4?_0x5b8e02(_0x4b1f15,_0x4bf744,_0x564df4):_0x5b8e02(_0x564df4))||_0x564df4);return _0x37cfb4&&_0x564df4&&vs(_0x4b1f15,_0x4bf744,_0x564df4),_0x564df4;},ft=(_0x4cbb15,_0x46dfe3)=>(_0x3ee53a,_0x38fb00)=>_0x46dfe3(_0x3ee53a,_0x38fb00,_0x4cbb15);function gs(_0x3bc5c1){var _0x2a89fe=_0x2776ba;const {unitID:_0x118f1c,mutations:_0x12ac2e}=_0x3bc5c1;return{'unitId':_0x118f1c,'subUnitId':_0x12ac2e[0x0][_0x2a89fe(0x332)][_0x2a89fe(0x280)]};}let nt=class{constructor(_0x4b58e5,_0x475799,_0xbc1f1e){var _0x2d0731=_0x2776ba;this[_0x2d0731(0x38a)]=_0x4b58e5,this[_0x2d0731(0x203)]=_0x475799,this[_0x2d0731(0x477)]=_0xbc1f1e;}[_0x2776ba(0x261)](_0x423bf1){var _0x207f50=_0x2776ba,_0x174e7c,_0x1f9026,_0x57e5bc,_0x4e3830;const _0x459b1d=this['_injector']['get'](_0x53cfeb),{unitId:_0x1f9515,subUnitId:_0x2c4729}=gs(_0x423bf1),_0x5c8a96=_0x459b1d==null?void 0x0:_0x459b1d['getWorkbookSelections'](_0x1f9515)[_0x207f50(0x467)](),_0x2b0191=(_0x1f9026=(_0x174e7c=this['_instanceService'][_0x207f50(0x3de)](_0x1f9515))==null?void 0x0:_0x174e7c[_0x207f50(0x187)]())==null?void 0x0:_0x1f9026[_0x207f50(0x2a9)]();if(_0x5c8a96[_0x207f50(0x2a6)]===0x0||!_0x1f9515||!_0x2c4729)return;const _0x8d49d=[{'id':_0x3a5593['id'],'params':{'unitId':_0x1f9515,'subUnitId':_0x2b0191,'selections':_0x25d273[_0x207f50(0x420)](_0x5c8a96)}}],_0x52f594=this[_0x207f50(0x203)][_0x207f50(0x1ed)](_0x423bf1,_0x8d49d);if(!_0x348bf3(_0x52f594))throw _0x52f594['error'];const _0x2a2ba5=(_0x4e3830=(_0x57e5bc=_0x52f594['m2Prime'][0x0])==null?void 0x0:_0x57e5bc[_0x207f50(0x332)])==null?void 0x0:_0x4e3830['selections'];if(Array[_0x207f50(0x296)](_0x2a2ba5)&&_0x2a2ba5['length']){if(_0x2a2ba5['length']===_0x8d49d[0x0][_0x207f50(0x332)][_0x207f50(0x30d)][_0x207f50(0x2a6)]&&_0x2a2ba5['every']((_0x4431ff,_0x38d4a0)=>_0x2f92b0[_0x207f50(0x37e)](_0x4431ff[_0x207f50(0x22c)],_0x8d49d[0x0][_0x207f50(0x332)][_0x207f50(0x30d)][_0x38d4a0][_0x207f50(0x22c)])))return;this[_0x207f50(0x38a)]['get'](_0x36939e)[_0x207f50(0x2ba)](_0x3a5593['id'],{'unitId':_0x1f9515,'subUnitId':_0x2b0191,'selections':_0x2a2ba5});}}};nt=ms([ft(0x0,_0xad32f2(_0x237237)),ft(0x1,_0x5c7c3f),ft(0x2,_0x16c691)],nt);const _t=_0x2b60cb(_0x2776ba(0x3b9));var yi=(_0x479fe0=>(_0x479fe0[_0x479fe0[_0x2776ba(0x223)]=0x0]=_0x2776ba(0x223),_0x479fe0[_0x479fe0[_0x2776ba(0x291)]=0x1]=_0x2776ba(0x291),_0x479fe0))(yi||{});const Ss=new Set([_0x1dee63['id']]);function Jt(_0x54d687,_0x4ff77,_0x3d38f5,_0xc7f154,_0x1ee888){var _0x2c061c=_0x2776ba,_0x463d07,_0x305162,_0x5335da,_0x1f9651;const _0x2fbd82=[];for(const _0x3019b6 of _0x54d687)if(Ss[_0x2c061c(0x448)](_0x3019b6['id'])){if(_0x2fbd82[_0x2c061c(0x2a6)]>0x0)break;_0x2fbd82[_0x2c061c(0x306)](_0x3019b6);break;}else _0x2fbd82[_0x2c061c(0x306)](_0x3019b6);const _0x55445c=(_0x305162=(_0x463d07=_0x1ee888[_0x2c061c(0x256)]())==null?void 0x0:_0x463d07[_0x2c061c(0x247)])!=null?_0x305162:_0x2c061c(0x41e),_0x59b682=(_0x1f9651=(_0x5335da=_0x1ee888[_0x2c061c(0x256)]())==null?void 0x0:_0x5335da['memberID'])!=null?_0x1f9651:'unknown';return{'changeset':{'unitID':_0x4ff77,'type':_0x299fb3(_0x3d38f5['getUnitType'](_0x4ff77)),'baseRev':_0xc7f154[_0x2c061c(0x232)](_0x4ff77),'revision':0x0,'userID':_0x55445c,'memberID':_0x59b682,'mutations':_0x2fbd82},'pendingMutations':_0x54d687['slice'](_0x2fbd82[_0x2c061c(0x2a6)])};}function Es(_0x157ebd,_0x4988a0,_0x310e69,_0x4fde30,_0xef3784){var _0x54ee7b=_0x2776ba,_0x516caf,_0x12abec,_0x471f59,_0x41b390;const _0x5de629=[_0x157ebd[_0x54ee7b(0x26b)]((_0x2b27ed,_0x299c63)=>{var _0x1f3732=_0x54ee7b,_0x550285;const {id:_0x4915e6}=_0x2b27ed,{id:_0x5c05ed,type:_0x5d53e5}=_0x299c63,_0x4b9935=(_0x550285=_0x2b27ed[_0x1f3732(0x332)])!=null?_0x550285:{'actions':null},_0x4e63c5=_0x299c63[_0x1f3732(0x332)];if(_0x4915e6&&_0x4915e6!==_0x5c05ed)throw new Error(_0x1f3732(0x3e0)+_0x4915e6+_0x1f3732(0x1bf)+_0x5c05ed+'.');return{..._0x2b27ed,'id':_0x5c05ed,'type':_0x5d53e5,'params':{'unitId':_0x4e63c5[_0x1f3732(0x246)],'textRanges':_0x4e63c5[_0x1f3732(0x393)],'actions':_0x1d5fa3[_0x1f3732(0x37f)](_0x4b9935[_0x1f3732(0x222)],_0x4e63c5[_0x1f3732(0x222)])}};},{})],_0x473cdf=(_0x12abec=(_0x516caf=_0xef3784[_0x54ee7b(0x256)]())==null?void 0x0:_0x516caf['userID'])!=null?_0x12abec:_0x54ee7b(0x41e),_0xefbf0d=(_0x41b390=(_0x471f59=_0xef3784[_0x54ee7b(0x256)]())==null?void 0x0:_0x471f59[_0x54ee7b(0x183)])!=null?_0x41b390:_0x54ee7b(0x41e);return{'changeset':{'unitID':_0x4988a0,'type':_0x299fb3(_0x310e69['getUnitType'](_0x4988a0)),'baseRev':_0x4fde30['getCurrentRevOfUnit'](_0x4988a0),'revision':0x0,'userID':_0x473cdf,'memberID':_0xefbf0d,'mutations':_0x5de629},'pendingMutations':[]};}function Oi(_0x5d662f,_0x2c8e3b){var _0x16c82b=_0x2776ba;const _0x3089c5=new _0x3b1342(0x1);return setTimeout(()=>_0x3089c5['next'](_0x2c8e3b),_0x5d662f),_0x3089c5[_0x16c82b(0x340)]()[_0x16c82b(0x419)](_0x51019b(0x1));}const Is={'id':_0x15e802['id'],'type':_0x5f58ab[_0x2776ba(0x188)],'params':{}};var Ts=Object[_0x2776ba(0x282)],Cs=Object[_0x2776ba(0x236)],be=(_0x194e08,_0x711920,_0x141018,_0x467719)=>{for(var _0x18db6f=_0x467719>0x1?void 0x0:_0x467719?Cs(_0x711920,_0x141018):_0x711920,_0x46afab=_0x194e08['length']-0x1,_0x16186f;_0x46afab>=0x0;_0x46afab--)(_0x16186f=_0x194e08[_0x46afab])&&(_0x18db6f=(_0x467719?_0x16186f(_0x711920,_0x141018,_0x18db6f):_0x16186f(_0x18db6f))||_0x18db6f);return _0x467719&&_0x18db6f&&Ts(_0x711920,_0x141018,_0x18db6f),_0x18db6f;},A=(_0x250287,_0x299f2f)=>(_0x31db6f,_0x2358d9)=>_0x299f2f(_0x31db6f,_0x2358d9,_0x250287),Pi=(_0x2d9717=>(_0x2d9717['NOT_COLLAB']='not_collab',_0x2d9717[_0x2776ba(0x45b)]=_0x2776ba(0x179),_0x2d9717['PENDING']='pending',_0x2d9717[_0x2776ba(0x45f)]=_0x2776ba(0x363),_0x2d9717[_0x2776ba(0x1b8)]=_0x2776ba(0x464),_0x2d9717[_0x2776ba(0x1e5)]=_0x2776ba(0x473),_0x2d9717[_0x2776ba(0x230)]='conflict',_0x2d9717[_0x2776ba(0x39f)]=_0x2776ba(0x344),_0x2d9717))(Pi||{});const Ni=0xea60;class Re{constructor(_0x592de9,_0x386a0b,_0x4754b0,_0x33aca9,_0x26c60c,_0x13a591,_0x3c2554,_0x33dbc2,_0x319b4f){var _0x57ee91=_0x2776ba;N(this,'_awaitingChangeset',null),N(this,'_pendingMutations',[]),(this[_0x57ee91(0x3ed)]=_0x592de9,this['type']=_0x386a0b,this[_0x57ee91(0x3fe)]=_0x26c60c,this[_0x57ee91(0x2b4)]=_0x13a591,this[_0x57ee91(0x17f)]=_0x3c2554,this[_0x57ee91(0x2f2)]=_0x33dbc2,this[_0x57ee91(0x2d6)]=_0x319b4f,this[_0x57ee91(0x17e)]=_0x4754b0,this['_pendingMutations']=_0x33aca9);}[_0x2776ba(0x23b)](_0x1c6fb4){var _0x14476c=_0x2776ba;const _0x1f739f=this[_0x14476c(0x2f2)][_0x14476c(0x232)](this['unitID']);return _0x1c6fb4[_0x14476c(0x2a8)]>_0x1f739f+0x1?(this[_0x14476c(0x3fe)][_0x14476c(0x19c)]({'from':_0x1f739f,'to':_0x1c6fb4[_0x14476c(0x2a8)]-0x1}),!0x0):!0x1;}[_0x2776ba(0x46f)](_0x5c23be){var _0x2ee245=_0x2776ba;this[_0x2ee245(0x17f)]['transformUndoRedo'](this['unitID'],_0x5c23be);}[_0x2776ba(0x21e)](_0x3a46da){var _0x30ac86=_0x2776ba,_0x1f15d9,_0x585776;(_0x585776=(_0x1f15d9=this[_0x30ac86(0x3fe)])['onTransformSelections'])==null||_0x585776[_0x30ac86(0x3ae)](_0x1f15d9,_0x3a46da);}['_transformIMECache'](_0x4e963f){var _0x53a105=_0x2776ba,_0x4a09ad,_0xeb65ff;return(_0xeb65ff=(_0x4a09ad=this[_0x53a105(0x3fe)])['onTransformIME'])==null?void 0x0:_0xeb65ff[_0x53a105(0x3ae)](_0x4a09ad,_0x4e963f);}['_transformStateCache'](_0x294ced){var _0x3cab12,_0x4903ca;return(_0x4903ca=(_0x3cab12=this['_handler'])['onTransformState'])==null?void 0x0:_0x4903ca['call'](_0x3cab12,_0x294ced);}['_transformRemoteChangesetByIMECache'](_0x3153fa){var _0x381ab7=_0x2776ba,_0x283b02,_0x536b75,_0x1587c3;return(_0x1587c3=(_0x536b75=(_0x283b02=this['_handler'])[_0x381ab7(0x1db)])==null?void 0x0:_0x536b75[_0x381ab7(0x3ae)](_0x283b02,_0x3153fa))!=null?_0x1587c3:_0x3153fa;}[_0x2776ba(0x24d)](_0x1114fc){var _0x597e79=_0x2776ba,_0x73babf,_0x3f1010,_0x59d0c9;return(_0x59d0c9=(_0x3f1010=(_0x73babf=this['_handler'])[_0x597e79(0x387)])==null?void 0x0:_0x3f1010[_0x597e79(0x3ae)](_0x73babf,_0x1114fc))!=null?_0x59d0c9:_0x1114fc;}[_0x2776ba(0x3c6)](_0x218548){var _0x293199=_0x2776ba,_0x520a5a,_0x1d33c7;if(this[_0x293199(0x33a)]===Q[_0x293199(0x3f8)]){const {unitID:_0x36867c,mutations:_0x135f8a,memberID:_0x412f6b}=_0x218548,_0x32e70b=_0x135f8a[0x0]['params']['textRanges'];Array['isArray'](_0x32e70b)&&_0x32e70b[_0x293199(0x2a6)]>0x0&&((_0x1d33c7=(_0x520a5a=this[_0x293199(0x3fe)])[_0x293199(0x2d4)])==null||_0x1d33c7[_0x293199(0x3ae)](_0x520a5a,{'unitID':_0x36867c,'memberID':_0x412f6b,'textRanges':_0x32e70b}));}}['_updateLocalCache'](){var _0x36850e=_0x2776ba,_0x3c11ab;(_0x3c11ab=this[_0x36850e(0x2d6)])==null||_0x3c11ab[_0x36850e(0x1b9)](this[_0x36850e(0x3ed)],this['type'],this[_0x36850e(0x17e)],this[_0x36850e(0x2dd)]);}['_getCurrentRevision'](){var _0x1b3d82=_0x2776ba;return this[_0x1b3d82(0x2f2)]['getCurrentRevOfUnit'](this[_0x1b3d82(0x3ed)]);}[_0x2776ba(0x352)](){var _0x4672fb=_0x2776ba;this[_0x4672fb(0x2f2)][_0x4672fb(0x250)](this[_0x4672fb(0x3ed)]);}['_executeRemoteChangeset'](_0x2e3d91){var _0x138c62=_0x2776ba,_0x1c3347;let _0x17731d=this['_transformRemoteChangesetByIMECache'](_0x2e3d91);_0x17731d=this[_0x138c62(0x24d)](_0x17731d);const _0x560674=_0x179b24(_0x17731d[_0x138c62(0x273)],this['_commandService'],{'fromCollab':!0x0});if(!_0x560674[_0x138c62(0x474)])throw _0x560674[_0x138c62(0x341)]instanceof Error?_0x560674['error']:new Error((_0x1c3347=_0x560674[_0x138c62(0x341)])!=null?_0x1c3347:_0x138c62(0x23e));this[_0x138c62(0x32a)](_0x17731d),this[_0x138c62(0x44b)](_0x17731d),this['_transformUndoredo'](_0x2e3d91),this[_0x138c62(0x21e)](_0x17731d),this[_0x138c62(0x3c6)](_0x17731d),this[_0x138c62(0x352)]();}}let Ne=class extends Re{constructor(_0x56a762,_0x1dcec9,_0x32e2d1,_0x523a03,_0x1dd44f,_0x5c3f76,_0x3c687f,_0x3d759f,_0x36602e,_0x36c924){var _0x20d325=_0x2776ba;super(_0x56a762,_0x1dcec9,null,[],_0x32e2d1,_0x3c687f,_0x5c3f76,_0x523a03,_0x36c924),N(this,_0x20d325(0x450),_0x20d325(0x179)),(this[_0x20d325(0x38a)]=_0x1dd44f,this['_logService']=_0x3d759f,this[_0x20d325(0x203)]=_0x36602e,this['localCacheService']=_0x36c924);}[_0x2776ba(0x43c)](_0x32e730){var _0x530294=_0x2776ba;const _0x5d10b4=this['_injector'][_0x530294(0x346)](oe,this[_0x530294(0x3ed)],this[_0x530294(0x33a)],[_0x32e730],this['_handler']);return _0x5d10b4[_0x530294(0x453)](),_0x5d10b4['_updateLocalCache'](),_0x5d10b4;}[_0x2776ba(0x1c9)](_0x207eaa){var _0x3b2e47=_0x2776ba;if(this[_0x3b2e47(0x23b)](_0x207eaa))return this[_0x3b2e47(0x38a)]['createInstance'](te,this[_0x3b2e47(0x3ed)],this['type'],null,[],null,[_0x207eaa],this[_0x3b2e47(0x3fe)]);try{const _0x2c3a65=this[_0x3b2e47(0x203)][_0x3b2e47(0x1ed)](_0x207eaa,[Is]);if(_0x348bf3(_0x2c3a65)){const {c1Prime:_0x164637}=_0x2c3a65;return this['_executeRemoteChangeset'](_0x164637),this;}throw _0x2c3a65[_0x3b2e47(0x341)];}catch(_0x5c1f1c){return this[_0x3b2e47(0x1d7)]['error'](_0x5c1f1c),this[_0x3b2e47(0x458)](!0x1);}}[_0x2776ba(0x458)](_0x253cf2){var _0x3721c5=_0x2776ba;return this['_injector']['createInstance'](de,this[_0x3721c5(0x3ed)],this[_0x3721c5(0x33a)],null,[],this[_0x3721c5(0x3fe)],_0x253cf2);}['onRemoteAck'](){var _0x3167c6=_0x2776ba;throw new Error(_0x3167c6(0x1ee));}[_0x2776ba(0x47a)](){var _0x4c5f1d=_0x2776ba;throw new Error(_0x4c5f1d(0x1f8));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x1769df=_0x2776ba;return this['_injector']['createInstance'](fe,this[_0x1769df(0x3ed)],this[_0x1769df(0x33a)],null,[],this[_0x1769df(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x14e096=_0x2776ba;throw new Error(_0x14e096(0x463));}[_0x2776ba(0x421)](){var _0x5f21e7=_0x2776ba;const _0x5a221d=this[_0x5f21e7(0x2f2)][_0x5f21e7(0x232)](this[_0x5f21e7(0x3ed)]);return this[_0x5f21e7(0x3fe)][_0x5f21e7(0x19c)]({'from':_0x5a221d,'to':0x0}),this[_0x5f21e7(0x38a)][_0x5f21e7(0x346)](te,this[_0x5f21e7(0x3ed)],this[_0x5f21e7(0x33a)],null,[],null,[],this[_0x5f21e7(0x3fe)]);}};Ne=be([A(0x3,_0xad32f2(_0x19c318)),A(0x4,_0xad32f2(_0x237237)),A(0x5,_0x3d484f),A(0x6,_0x36939e),A(0x7,_0x3b0698),A(0x8,_0x5c7c3f),A(0x9,_0x122f64(X))],Ne);let oe=class extends Re{constructor(_0x5b7358,_0x4d345a,_0x3308eb,_0x38a66d,_0x5c4959,_0x24790e,_0x5e4868,_0x134fec,_0x59d053,_0x1a62bc,_0x605736,_0x32b702,_0xe17f8f,_0x5e9b50){var _0x40d5be=_0x2776ba;super(_0x5b7358,_0x4d345a,null,_0x3308eb,_0x38a66d,_0x59d053,_0xe17f8f,_0x24790e,_0x5e9b50),N(this,_0x40d5be(0x450),_0x40d5be(0x243)),N(this,_0x40d5be(0x1ef),null),N(this,_0x40d5be(0x375),null),(this[_0x40d5be(0x38a)]=_0x5c4959,this[_0x40d5be(0x415)]=_0x5e4868,this[_0x40d5be(0x1d7)]=_0x134fec,this[_0x40d5be(0x45d)]=_0x1a62bc,this[_0x40d5be(0x203)]=_0x605736,this['_univerInstanceService']=_0x32b702);}[_0x2776ba(0x43c)](_0x29cbe6){var _0x546a2c=_0x2776ba;return this[_0x546a2c(0x2dd)]['push'](_0x29cbe6),this[_0x546a2c(0x2ee)](),this;}[_0x2776ba(0x1c9)](_0x99591){var _0x376189=_0x2776ba;if(this[_0x376189(0x23b)](_0x99591))return this[_0x376189(0x311)](),this['_injector'][_0x376189(0x346)](te,this[_0x376189(0x3ed)],this[_0x376189(0x33a)],null,this['_pendingMutations'],null,[_0x99591],this[_0x376189(0x3fe)]);try{const _0x224d45=this['_transformService'][_0x376189(0x1ed)](_0x99591,this[_0x376189(0x2dd)]);if(_0x348bf3(_0x224d45)){const {c1Prime:_0x34c05a,m2Prime:_0x5e526f}=_0x224d45;this['_executeRemoteChangeset'](_0x34c05a);const _0x3f26be=this[_0x376189(0x38a)][_0x376189(0x346)](oe,this[_0x376189(0x3ed)],this[_0x376189(0x33a)],_0x5e526f,this[_0x376189(0x3fe)]);return this[_0x376189(0x311)](),_0x3f26be[_0x376189(0x453)](this[_0x376189(0x1ef)]?Math[_0x376189(0x426)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x376189(0x1d3)]()),_0x3f26be;}throw _0x224d45[_0x376189(0x341)];}catch(_0x199ee2){return this['_logService'][_0x376189(0x341)](_0x199ee2),this['_onConflict'](!0x1);}}['onRemoteAck'](){var _0x2bd075=_0x2776ba;throw new Error(_0x2bd075(0x211));}['onRemoteRej'](){var _0x31fd4f=_0x2776ba;throw new Error(_0x31fd4f(0x345));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){var _0x145701=_0x2776ba;return this[_0x145701(0x311)](),this[_0x145701(0x38a)]['createInstance'](fe,this['unitID'],this[_0x145701(0x33a)],null,this[_0x145701(0x2dd)],this[_0x145701(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x453)](_0x329321){var _0x5c2c76=_0x2776ba;const _0x9fab85=_0x329321!=null?_0x329321:this[_0x5c2c76(0x1d3)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x5c2c76(0x375)]=setTimeout(()=>{var _0x27341b=_0x5c2c76;this[_0x27341b(0x311)]();let _0x5992b2=null;switch(this[_0x27341b(0x33a)]){case Q[_0x27341b(0x40d)]:{_0x5992b2=Jt(this[_0x27341b(0x2dd)],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this['_memberService']);break;}case Q[_0x27341b(0x3f8)]:{this[_0x27341b(0x2dd)][_0x27341b(0x219)](_0x5424b7=>_0x5424b7['id']===_0x5bed94['id'])?_0x5992b2=Es(this['_pendingMutations'],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this['_memberService']):_0x5992b2=Jt(this[_0x27341b(0x2dd)],this[_0x27341b(0x3ed)],this[_0x27341b(0x1b3)],this[_0x27341b(0x2f2)],this[_0x27341b(0x415)]);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x27341b(0x33a)]+'\x20in\x20_schedule.');}const {changeset:_0x3bd574,pendingMutations:_0x5c1c2c}=_0x5992b2;this[_0x27341b(0x3fe)][_0x27341b(0x412)](_0x3bd574);const _0x69d564=_0x5c1c2c[_0x27341b(0x2a6)]?this[_0x27341b(0x38a)][_0x27341b(0x346)](ae,this[_0x27341b(0x3ed)],this[_0x27341b(0x33a)],_0x3bd574,_0x5c1c2c,this[_0x27341b(0x3fe)],void 0x0):this[_0x27341b(0x38a)][_0x27341b(0x346)](ue,this[_0x27341b(0x3ed)],this[_0x27341b(0x33a)],_0x3bd574,this[_0x27341b(0x3fe)]);_0x69d564[_0x27341b(0x2ee)](),this[_0x27341b(0x3fe)][_0x27341b(0x444)](this,_0x69d564);},_0x9fab85);}[_0x2776ba(0x1d3)](){var _0x527933=_0x2776ba,_0x2efd20;const _0x2f63e8=this[_0x527933(0x45d)][_0x527933(0x27b)](Y);return(_0x2efd20=_0x2f63e8==null?void 0x0:_0x2f63e8[_0x527933(0x460)])!=null?_0x2efd20:wn;}[_0x2776ba(0x343)](){var _0x3cc022=_0x2776ba;throw new Error(_0x3cc022(0x182));}[_0x2776ba(0x311)](){var _0x32b5ee=_0x2776ba;this['_sendingTimer']!=null&&(clearTimeout(this[_0x32b5ee(0x375)]),this[_0x32b5ee(0x375)]=null);}[_0x2776ba(0x458)](_0xecc19f){var _0x5bf254=_0x2776ba;return this[_0x5bf254(0x311)](),this[_0x5bf254(0x38a)][_0x5bf254(0x346)](de,this[_0x5bf254(0x3ed)],this[_0x5bf254(0x33a)],null,this['_pendingMutations'],this[_0x5bf254(0x3fe)],_0xecc19f);}};oe=be([A(0x4,_0xad32f2(_0x237237)),A(0x5,_0xad32f2(_0x19c318)),A(0x6,_0xad32f2(xe)),A(0x7,_0x3b0698),A(0x8,_0x36939e),A(0x9,_0x5aacb0),A(0xa,_0x5c7c3f),A(0xb,_0x16c691),A(0xc,_0x3d484f),A(0xd,_0x122f64(X))],oe);let ue=class extends Re{constructor(_0x3c4e25,_0x23526b,_0x235f24,_0x302fc3,_0x566bba,_0x140481,_0x1d70ba,_0x3e4e4e,_0xaa7002,_0x2b4044,_0x575cfa){var _0x4c6acf=_0x2776ba;super(_0x3c4e25,_0x23526b,_0x235f24,[],_0x302fc3,_0x1d70ba,_0x2b4044,_0x140481,_0x575cfa),N(this,_0x4c6acf(0x450),_0x4c6acf(0x363)),N(this,'_resendTimeout',0x0),N(this,_0x4c6acf(0x2f9)),N(this,'_sender'),(this['_injector']=_0x566bba,this[_0x4c6acf(0x1d7)]=_0x3e4e4e,this[_0x4c6acf(0x203)]=_0xaa7002);}['appendMutation'](_0x4258b9){var _0x4943ec=_0x2776ba;this[_0x4943ec(0x311)]();const _0x13790e=this[_0x4943ec(0x38a)]['createInstance'](ae,this[_0x4943ec(0x3ed)],this['type'],this[_0x4943ec(0x17e)],[_0x4258b9],this[_0x4943ec(0x3fe)],this[_0x4943ec(0x2f9)]);return _0x13790e[_0x4943ec(0x2ee)](),_0x13790e;}[_0x2776ba(0x1c9)](_0x424386){var _0x5c3bf0=_0x2776ba;if(this[_0x5c3bf0(0x23b)](_0x424386))return this['_clearScheduledTask'](),this[_0x5c3bf0(0x38a)][_0x5c3bf0(0x346)](te,this[_0x5c3bf0(0x3ed)],this[_0x5c3bf0(0x33a)],this[_0x5c3bf0(0x17e)],[],null,[_0x424386],this[_0x5c3bf0(0x3fe)]);try{const _0xc2c44c=this[_0x5c3bf0(0x203)][_0x5c3bf0(0x428)]([_0x424386],[this[_0x5c3bf0(0x17e)]],!0x1);if(_0x585f59(_0xc2c44c)){const {c1Prime:_0xfd738b,c2Prime:_0x2a91d6}=_0xc2c44c;this[_0x5c3bf0(0x388)](_0xfd738b[0x0]),_0x2a91d6[0x0][_0x5c3bf0(0x18d)]=this['_getCurrentRevision'](),this[_0x5c3bf0(0x311)]();const _0x2daab6=this[_0x5c3bf0(0x38a)][_0x5c3bf0(0x346)](ue,this[_0x5c3bf0(0x3ed)],this[_0x5c3bf0(0x33a)],_0x2a91d6[0x0],this[_0x5c3bf0(0x3fe)]);return _0x2daab6[_0x5c3bf0(0x2ee)](),_0x2daab6;}return this[_0x5c3bf0(0x458)](!0x1);}catch(_0x5605c0){return this[_0x5c3bf0(0x1d7)]['error'](_0x5605c0),this[_0x5c3bf0(0x458)](!0x1);}}[_0x2776ba(0x32b)](_0x22c66a){var _0x26041f=_0x2776ba;this[_0x26041f(0x311)]();const _0x2f09ee=this['_revisionService'][_0x26041f(0x232)](this[_0x26041f(0x3ed)]);if(_0x22c66a[_0x26041f(0x2a8)]<_0x2f09ee-0x1)return this;if(this[_0x26041f(0x23b)](_0x22c66a))return this[_0x26041f(0x38a)][_0x26041f(0x346)](te,this[_0x26041f(0x3ed)],this[_0x26041f(0x33a)],null,[],this[_0x26041f(0x17e)],[],this['_handler']);this[_0x26041f(0x352)]();const _0x1ff5c8=this[_0x26041f(0x38a)][_0x26041f(0x346)](Ne,this['unitID'],this[_0x26041f(0x33a)],this['_handler']);return _0x1ff5c8[_0x26041f(0x2ee)](),_0x1ff5c8;}['onRemoteRej'](_0x289eea){return this['_onConflict'](!!(_0x289eea!=null&&_0x289eea['isPermissionRej']));}[_0x2776ba(0x3a6)](_0x54b12e){var _0xc9d637=_0x2776ba;return this['_resendTimeout']>Ni?this[_0xc9d637(0x1e6)]():(this[_0xc9d637(0x2f9)]=Oi(this[_0xc9d637(0x269)],{'timeout':this['_resendTimeout'],'reqId':_0x54b12e[_0xc9d637(0x38e)]}),this[_0xc9d637(0x2c8)]=this[_0xc9d637(0x2f9)][_0xc9d637(0x20f)](({reqId:_0x82ed59,timeout:_0x6b5a21})=>{var _0x199e26=_0xc9d637;this[_0x199e26(0x407)](_0x82ed59,_0x6b5a21);}),this);}[_0x2776ba(0x1e6)](){var _0xfcf8b0=_0x2776ba;return this[_0xfcf8b0(0x311)](),this['_injector'][_0xfcf8b0(0x346)](fe,this['unitID'],this['type'],this[_0xfcf8b0(0x17e)],[],this[_0xfcf8b0(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x49fab6=_0x2776ba;this[_0x49fab6(0x3fe)][_0x49fab6(0x412)](this['_awaitingChangeset']);}[_0x2776ba(0x458)](_0x345812){var _0x4732c6=_0x2776ba;return this[_0x4732c6(0x311)](),this[_0x4732c6(0x38a)][_0x4732c6(0x346)](de,this[_0x4732c6(0x3ed)],this[_0x4732c6(0x33a)],this[_0x4732c6(0x17e)],[],this['_handler'],_0x345812);}[_0x2776ba(0x407)](_0x2aa384,_0xaaebc3){var _0x9d1bb8=_0x2776ba,_0x5e6db5;_0x2aa384===((_0x5e6db5=this['_awaitingChangeset'])==null?void 0x0:_0x5e6db5[_0x9d1bb8(0x38e)])&&(this[_0x9d1bb8(0x343)](),this[_0x9d1bb8(0x269)]=_0xaaebc3===0x0?0x3e8:_0xaaebc3*0x2);}[_0x2776ba(0x311)](){var _0x3e3167=_0x2776ba,_0x401c04;(_0x401c04=this[_0x3e3167(0x2c8)])==null||_0x401c04['unsubscribe'](),this['_resendTimeout']=0x0;}};ue=be([A(0x4,_0xad32f2(_0x237237)),A(0x5,_0xad32f2(_0x19c318)),A(0x6,_0x36939e),A(0x7,_0x3b0698),A(0x8,_0x5c7c3f),A(0x9,_0x3d484f),A(0xa,_0x122f64(X))],ue);let ae=class extends Re{constructor(_0x3d0bad,_0x3ecc49,_0x5406dc,_0x130232,_0x1cc0cd,_0x1b7192,_0x917eb7,_0x5771f5,_0x4d7bba,_0x1a92fc,_0x2073ca,_0x533c30,_0x4b85ef){var _0xf165b7=_0x2776ba;super(_0x3d0bad,_0x3ecc49,_0x5406dc,_0x130232,_0x1cc0cd,_0x4d7bba,_0x533c30,_0x5771f5,_0x4b85ef),N(this,_0xf165b7(0x450),_0xf165b7(0x464)),N(this,_0xf165b7(0x269),0x0),N(this,_0xf165b7(0x2f9)),N(this,_0xf165b7(0x2c8)),(this[_0xf165b7(0x38a)]=_0x917eb7,this[_0xf165b7(0x1d7)]=_0x1a92fc,this[_0xf165b7(0x203)]=_0x2073ca,this[_0xf165b7(0x259)]=_0x4b85ef,_0x1b7192&&(this[_0xf165b7(0x2f9)]=_0x1b7192,this[_0xf165b7(0x2c8)]=this['_resendTimer']['subscribe'](({reqId:_0x47f3ff,timeout:_0x4eb0e4})=>{var _0x35514c=_0xf165b7;this[_0x35514c(0x407)](_0x47f3ff,_0x4eb0e4);})));}[_0x2776ba(0x43c)](_0x18ed0c){var _0x314da9=_0x2776ba;return this[_0x314da9(0x2dd)]['push'](_0x18ed0c),this;}[_0x2776ba(0x1c9)](_0x33e44b){var _0x37ec77=_0x2776ba;if(this[_0x37ec77(0x23b)](_0x33e44b))return this[_0x37ec77(0x311)](),this[_0x37ec77(0x38a)][_0x37ec77(0x346)](te,this[_0x37ec77(0x3ed)],this[_0x37ec77(0x33a)],this[_0x37ec77(0x17e)],this[_0x37ec77(0x2dd)],null,[_0x33e44b],this[_0x37ec77(0x3fe)]);try{const _0x4fe87d=this['_transformService'][_0x37ec77(0x428)]([_0x33e44b],[this[_0x37ec77(0x17e)]],!0x1);if(_0x585f59(_0x4fe87d)){const {c1Prime:_0xd4978f,c2Prime:_0x21b591}=_0x4fe87d,_0x571c2a=this[_0x37ec77(0x203)][_0x37ec77(0x1ed)](_0xd4978f[0x0],this['_pendingMutations']);if(_0x348bf3(_0x571c2a)){const {c1Prime:_0x1cfc6b,m2Prime:_0x4d76e1}=_0x571c2a;return this['_executeRemoteChangeset'](_0x1cfc6b),_0x21b591[0x0]['baseRev']=this[_0x37ec77(0x44e)](),this[_0x37ec77(0x311)](),this[_0x37ec77(0x38a)][_0x37ec77(0x346)](ae,this[_0x37ec77(0x3ed)],this['type'],_0x21b591[0x0],_0x4d76e1,this[_0x37ec77(0x3fe)],void 0x0);}throw _0x571c2a['error'];}throw _0x4fe87d[_0x37ec77(0x341)];}catch(_0x2a4209){return this['_logService']['error'](_0x2a4209),this[_0x37ec77(0x458)](!0x1);}}['onRemoteAck'](_0x400429){var _0x55f4df=_0x2776ba;if(this['_clearScheduledTask'](),this[_0x55f4df(0x23b)](_0x400429))return this[_0x55f4df(0x38a)][_0x55f4df(0x346)](te,this[_0x55f4df(0x3ed)],this[_0x55f4df(0x33a)],null,this[_0x55f4df(0x2dd)],this['_awaitingChangeset'],[],this[_0x55f4df(0x3fe)]);this['_incrementRevisionNumber']();const _0x48b542=this[_0x55f4df(0x38a)]['createInstance'](oe,this[_0x55f4df(0x3ed)],this[_0x55f4df(0x33a)],this['_pendingMutations'],this[_0x55f4df(0x3fe)]);return _0x48b542[_0x55f4df(0x453)](),_0x48b542[_0x55f4df(0x2ee)](),_0x48b542;}['onRemoteRej'](_0x1a1500){var _0x3b0ff3=_0x2776ba;return this[_0x3b0ff3(0x458)](!!(_0x1a1500!=null&&_0x1a1500['isPermissionRej']));}[_0x2776ba(0x3a6)](_0x1925a2){var _0x5cfb2e=_0x2776ba;return this[_0x5cfb2e(0x269)]>Ni?this[_0x5cfb2e(0x1e6)]():(this[_0x5cfb2e(0x2f9)]=Oi(this[_0x5cfb2e(0x269)],{'timeout':this['_resendTimeout'],'reqId':_0x1925a2[_0x5cfb2e(0x38e)]}),this[_0x5cfb2e(0x2c8)]=this[_0x5cfb2e(0x2f9)][_0x5cfb2e(0x20f)](({reqId:_0x2cc2ba,timeout:_0x3afe2f})=>{var _0x317917=_0x5cfb2e;this[_0x317917(0x407)](_0x2cc2ba,_0x3afe2f);}),this);}[_0x2776ba(0x1e6)](){var _0x9746ca=_0x2776ba;return this['_clearScheduledTask'](),this[_0x9746ca(0x38a)][_0x9746ca(0x346)](fe,this[_0x9746ca(0x3ed)],this[_0x9746ca(0x33a)],this['_awaitingChangeset'],this[_0x9746ca(0x2dd)],this[_0x9746ca(0x3fe)]);}[_0x2776ba(0x193)](){return this;}[_0x2776ba(0x343)](){var _0x34145a=_0x2776ba;this[_0x34145a(0x3fe)]['onSendChangeset'](this[_0x34145a(0x17e)]);}[_0x2776ba(0x458)](_0x5b4d79){var _0x31c5c9=_0x2776ba;return this[_0x31c5c9(0x311)](),this['_injector'][_0x31c5c9(0x346)](de,this[_0x31c5c9(0x3ed)],this[_0x31c5c9(0x33a)],null,this[_0x31c5c9(0x2dd)],this[_0x31c5c9(0x3fe)],_0x5b4d79);}[_0x2776ba(0x407)](_0x475881,_0x15b36c){var _0x45a0f5=_0x2776ba,_0x56afdf;_0x475881===((_0x56afdf=this[_0x45a0f5(0x17e)])==null?void 0x0:_0x56afdf[_0x45a0f5(0x38e)])&&(this[_0x45a0f5(0x343)](),this[_0x45a0f5(0x269)]=_0x15b36c===0x0?0x3e8:_0x15b36c*0x2);}['_clearScheduledTask'](){var _0x12a88a=_0x2776ba,_0x103abe;(_0x103abe=this['_sender'])==null||_0x103abe[_0x12a88a(0x1af)](),this[_0x12a88a(0x269)]=0x0;}};ae=be([A(0x6,_0xad32f2(_0x237237)),A(0x7,_0xad32f2(_0x19c318)),A(0x8,_0x36939e),A(0x9,_0x3b0698),A(0xa,_0x5c7c3f),A(0xb,_0x3d484f),A(0xc,_0x122f64(X))],ae);let de=class extends Re{constructor(_0x3a7edd,_0x50b695,_0x5dcd91,_0x324103,_0x1cd093,_0x4c4946=!0x1,_0x57abd8,_0x50400e,_0x4ac68e,_0x5587e6,_0x438d8d,_0x567550,_0xa7dc8a){var _0x48f743=_0x2776ba;super(_0x3a7edd,_0x50b695,_0x5dcd91,_0x324103,_0x1cd093,_0x50400e,_0x4ac68e,_0x5587e6,_0xa7dc8a),N(this,_0x48f743(0x450),'conflict'),(this[_0x48f743(0x3d1)]=_0x4c4946,this[_0x48f743(0x2f6)]=_0x57abd8,this[_0x48f743(0x1f9)]=_0x438d8d,this['_collaborationUIEventService']=_0x567550,this[_0x48f743(0x259)]=_0xa7dc8a,this[_0x48f743(0x422)](),this[_0x48f743(0x22d)](),this[_0x48f743(0x32c)]());}['appendMutation'](){return this;}[_0x2776ba(0x1c9)](){return this;}['onRemoteAck'](){return this;}[_0x2776ba(0x47a)](){return this;}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){return this;}['toggleOnline'](){return this;}[_0x2776ba(0x343)](){var _0x2aaaa7=_0x2776ba;throw new Error(_0x2aaaa7(0x1a4));}[_0x2776ba(0x22d)](){var _0x1d0698=_0x2776ba,_0x33ccc1;(_0x33ccc1=this[_0x1d0698(0x2d6)])==null||_0x33ccc1['updateOfflineData'](this[_0x1d0698(0x3ed)],this[_0x1d0698(0x33a)],null,[]);}[_0x2776ba(0x422)](){var _0x375f75=_0x2776ba;this[_0x375f75(0x3d1)]?this[_0x375f75(0x36d)]['emitEvent']({'id':re[_0x375f75(0x3da)]}):this[_0x375f75(0x36d)][_0x375f75(0x1cc)]({'id':re[_0x375f75(0x230)]});}[_0x2776ba(0x32c)](){var _0x3d6a6f=_0x2776ba;this[_0x3d6a6f(0x2f6)][_0x3d6a6f(0x3ad)](new _0x1f9850(this[_0x3d6a6f(0x3ed)])['id'],!0x1);}};de=be([A(0x6,_0xad32f2(_0x39f738)),A(0x7,_0x36939e),A(0x8,_0x3d484f),A(0x9,_0xad32f2(_0x19c318)),A(0xa,_0xad32f2(_0x415ba6)),A(0xb,_0xad32f2(pe)),A(0xc,_0x122f64(X))],de);let fe=class extends Re{constructor(_0x1baf86,_0x3b5704,_0x2b98f2,_0x3303b0,_0x5ac5ce,_0x8ab803,_0x372518,_0xcb0436,_0x5cd114,_0x5bc9e7){var _0x1c2d07=_0x2776ba;super(_0x1baf86,_0x3b5704,_0x2b98f2,_0x3303b0,_0x5ac5ce,_0xcb0436,_0x5cd114,_0x372518,_0x5bc9e7),N(this,_0x1c2d07(0x450),_0x1c2d07(0x344)),this[_0x1c2d07(0x38a)]=_0x8ab803;}[_0x2776ba(0x43c)](_0x512865){var _0x550c42=_0x2776ba;return this['_pendingMutations']['push'](_0x512865),this[_0x550c42(0x2ee)](),this;}[_0x2776ba(0x1c9)](_0x5782cc){var _0x2b430f=_0x2776ba;throw new Error(_0x2b430f(0x435));}['onRemoteAck'](){var _0x327355=_0x2776ba;throw new Error(_0x327355(0x34e));}['onRemoteRej'](){var _0x17f7d2=_0x2776ba;throw new Error(_0x17f7d2(0x350));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){return this;}[_0x2776ba(0x193)](){var _0x23ec8a=_0x2776ba;const {_injector:_0x398fa4,_pendingMutations:_0x2f3aff,_awaitingChangeset:_0x4d7277,unitID:_0x384446,_handler:_0x562dac,type:_0x4a2eea}=this,_0x24e366=Di(_0x398fa4,_0x384446,_0x4a2eea,_0x4d7277,_0x2f3aff,_0x562dac);return _0x24e366 instanceof oe?_0x24e366['_schedule']():(_0x24e366 instanceof ae||_0x24e366 instanceof ue)&&_0x24e366[_0x23ec8a(0x343)](),_0x24e366;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=be([A(0x5,_0xad32f2(_0x237237)),A(0x6,_0xad32f2(_0x19c318)),A(0x7,_0x36939e),A(0x8,_0x3d484f),A(0x9,_0x122f64(X))],fe);let te=class extends Re{constructor(_0x55a90f,_0x4b97c6,_0x2c7117,_0x48f4d7,_0x4859fe,_0x429a70,_0x276a2c,_0x18ed64,_0x49695d,_0x30c1b8,_0x51ab35,_0x4f7412,_0x4052cd,_0x2529ea){var _0x523634=_0x2776ba;super(_0x55a90f,_0x4b97c6,_0x2c7117,_0x48f4d7,_0x276a2c,_0x51ab35,_0x4f7412,_0x49695d,_0x2529ea),N(this,_0x523634(0x450),_0x523634(0x473)),(this['_acknowledgedAwaitingChangeset']=_0x4859fe,this['_queuedRemoteChangesets']=_0x429a70,this['_injector']=_0x18ed64,this[_0x523634(0x1d7)]=_0x30c1b8,this['_transformService']=_0x4052cd,this[_0x523634(0x259)]=_0x2529ea);}[_0x2776ba(0x262)](_0x1a33cc){var _0x17f61c=_0x2776ba;try{const _0x22dc05=[..._0x1a33cc,...this[_0x17f61c(0x447)]],_0xbe82a3=[this[_0x17f61c(0x17e)]||this[_0x17f61c(0x2fa)]]['filter'](_0x5db687=>!!_0x5db687);let _0x2f1f79,_0x522aef;if(_0xbe82a3[_0x17f61c(0x2a6)]){const _0x45f9b6=this[_0x17f61c(0x203)][_0x17f61c(0x428)](_0x22dc05,_0xbe82a3,!0x1);if(!_0x585f59(_0x45f9b6))throw _0x45f9b6['error'];_0x2f1f79=_0x45f9b6[_0x17f61c(0x43f)],_0x522aef=_0x45f9b6[_0x17f61c(0x2bd)];}else _0x2f1f79=_0x22dc05,_0x522aef=[];let _0x4ddf94=this['_pendingMutations'];_0x2f1f79[_0x17f61c(0x294)](_0x230003=>{var _0x1be0e3=_0x17f61c;let _0x7b8daf;if(_0x4ddf94['length']){const _0xacc8bd=this[_0x1be0e3(0x203)]['transformMutationsWithChangeset'](_0x230003,_0x4ddf94);if(!_0x348bf3(_0xacc8bd))throw _0xacc8bd[_0x1be0e3(0x341)];_0x7b8daf=_0xacc8bd['c1Prime'],_0x4ddf94=_0xacc8bd['m2Prime'];}else _0x7b8daf=_0x230003;this['_executeRemoteChangeset'](_0x7b8daf);}),this[_0x17f61c(0x2fa)]&&this[_0x17f61c(0x352)](),this[_0x17f61c(0x17e)]&&_0x522aef[_0x17f61c(0x2a6)]&&(_0x522aef[0x0][_0x17f61c(0x18d)]=this['_getCurrentRevision']());let _0xa58e7e;if(this[_0x17f61c(0x17e)]&&_0x4ddf94[_0x17f61c(0x2a6)]!==0x0)_0xa58e7e=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](ae,this[_0x17f61c(0x3ed)],this['type'],_0x522aef[0x0],_0x4ddf94,this[_0x17f61c(0x3fe)],void 0x0);else{if(this[_0x17f61c(0x17e)]&&_0x4ddf94['length']===0x0)_0x522aef[0x0][_0x17f61c(0x18d)]=this[_0x17f61c(0x44e)](),_0xa58e7e=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](ue,this[_0x17f61c(0x3ed)],this['type'],_0x522aef[0x0],this[_0x17f61c(0x3fe)]);else{if(_0x4ddf94[_0x17f61c(0x2a6)]!==0x0){const _0x2526d4=this[_0x17f61c(0x38a)][_0x17f61c(0x346)](oe,this['unitID'],this['type'],_0x4ddf94,this[_0x17f61c(0x3fe)]);_0x2526d4[_0x17f61c(0x453)](),_0xa58e7e=_0x2526d4;}else _0xa58e7e=this['_injector'][_0x17f61c(0x346)](Ne,this['unitID'],this['type'],this[_0x17f61c(0x3fe)]);}}return _0xa58e7e[_0x17f61c(0x2ee)](),_0xa58e7e;}catch(_0x8d2923){return this[_0x17f61c(0x1d7)][_0x17f61c(0x341)]('[FetchMissState]',_0x17f61c(0x2fd),_0x8d2923),this[_0x17f61c(0x38a)][_0x17f61c(0x346)](de,this[_0x17f61c(0x3ed)],this[_0x17f61c(0x33a)],this[_0x17f61c(0x17e)],this['_pendingMutations'],this[_0x17f61c(0x3fe)],!0x1);}}[_0x2776ba(0x343)](){var _0x13f38c=_0x2776ba;throw new Error(_0x13f38c(0x359));}[_0x2776ba(0x43c)](_0x1e6f5f){return this['_pendingMutations']['push'](_0x1e6f5f),this;}['onRemoteChangeset'](_0x33d750){var _0xbc54a4=_0x2776ba;return this[_0xbc54a4(0x447)]['push'](_0x33d750),this;}[_0x2776ba(0x32b)](_0x52200a){var _0x2b3d89=_0x2776ba;if(this[_0x2b3d89(0x17e)])return this['_acknowledgedAwaitingChangeset']=this[_0x2b3d89(0x17e)],this[_0x2b3d89(0x17e)]=null,this;throw new Error(_0x2b3d89(0x37a));}['onRemoteRej'](_0x34f608){var _0x40f99a=_0x2776ba;return this['_onConflict'](!!(_0x34f608!=null&&_0x34f608[_0x40f99a(0x251)]));}[_0x2776ba(0x3a6)](){return this;}[_0x2776ba(0x1e6)](){var _0xee74b2=_0x2776ba;return this['_injector'][_0xee74b2(0x346)](fe,this[_0xee74b2(0x3ed)],this[_0xee74b2(0x33a)],this[_0xee74b2(0x17e)],this['_pendingMutations'],this[_0xee74b2(0x3fe)]);}['toggleOnline'](){return this;}[_0x2776ba(0x458)](_0x42e4d9){var _0x59e106=_0x2776ba;return this[_0x59e106(0x38a)][_0x59e106(0x346)](de,this[_0x59e106(0x3ed)],this[_0x59e106(0x33a)],this[_0x59e106(0x17e)],this[_0x59e106(0x2dd)],this[_0x59e106(0x3fe)],_0x42e4d9);}};te=be([A(0x7,_0xad32f2(_0x237237)),A(0x8,_0xad32f2(_0x19c318)),A(0x9,_0x3b0698),A(0xa,_0x36939e),A(0xb,_0x3d484f),A(0xc,_0x5c7c3f),A(0xd,_0x122f64(X))],te);function Di(_0x2bc60f,_0x59f2dd,_0x19b4d5,_0x41830b,_0x56ef7d,_0x398642){var _0x1e7170=_0x2776ba;return _0x41830b&&_0x56ef7d[_0x1e7170(0x2a6)]?_0x2bc60f[_0x1e7170(0x346)](ae,_0x59f2dd,_0x19b4d5,_0x41830b,_0x56ef7d,_0x398642,void 0x0):_0x41830b?_0x2bc60f[_0x1e7170(0x346)](ue,_0x59f2dd,_0x19b4d5,_0x41830b,_0x398642):_0x56ef7d['length']?_0x2bc60f[_0x1e7170(0x346)](oe,_0x59f2dd,_0x19b4d5,_0x56ef7d,_0x398642):_0x2bc60f['createInstance'](Ne,_0x59f2dd,_0x19b4d5,_0x398642);}var bs=Object[_0x2776ba(0x282)],Rs=Object[_0x2776ba(0x236)],Mt=(_0x3994b0,_0xac2e21,_0x1ae541,_0x5b0cbf)=>{var _0x4140fc=_0x2776ba;for(var _0x37b300=_0x5b0cbf>0x1?void 0x0:_0x5b0cbf?Rs(_0xac2e21,_0x1ae541):_0xac2e21,_0x107b36=_0x3994b0[_0x4140fc(0x2a6)]-0x1,_0x50d012;_0x107b36>=0x0;_0x107b36--)(_0x50d012=_0x3994b0[_0x107b36])&&(_0x37b300=(_0x5b0cbf?_0x50d012(_0xac2e21,_0x1ae541,_0x37b300):_0x50d012(_0x37b300))||_0x37b300);return _0x5b0cbf&&_0x37b300&&bs(_0xac2e21,_0x1ae541,_0x37b300),_0x37b300;},k=(_0x1b16f4,_0x53b4ef)=>(_0x34b927,_0x48b3f0)=>_0x53b4ef(_0x34b927,_0x48b3f0,_0x1b16f4);let st=class extends _0x3fbf91{constructor(_0x144ee4,_0x498602,_0x168a5b,_0x2517fa,_0x354281,_0x4f08dc,_0x1f0078,_0x4496e8,_0x1f490b,_0x58abf8,_0x19fbb4,_0x47e7c6,_0x5af8c6){var _0x117b51=_0x2776ba;super(),N(this,_0x117b51(0x424),new _0x5f0741(null)),N(this,_0x117b51(0x397),this[_0x117b51(0x424)]['asObservable']()),N(this,_0x117b51(0x263)),N(this,'_collaborationPaused',!0x1),N(this,_0x117b51(0x40b),''),N(this,_0x117b51(0x197),0x0),N(this,_0x117b51(0x31e),this[_0x117b51(0x397)][_0x117b51(0x419)](_0x4c876c(_0x471632=>_0x471632?_0x471632[_0x117b51(0x450)]:Pi['OFFLINE']),_0x1a46f2(0x1))),N(this,_0x117b51(0x3cf),!0x1),N(this,_0x117b51(0x377),[]),(this[_0x117b51(0x3ed)]=_0x144ee4,this[_0x117b51(0x2ac)]=_0x498602,this[_0x117b51(0x1a0)]=_0x168a5b,this[_0x117b51(0x38a)]=_0x2517fa,this[_0x117b51(0x3d9)]=_0x354281,this[_0x117b51(0x1f9)]=_0x4f08dc,this['_revisionService']=_0x1f0078,this[_0x117b51(0x265)]=_0x4496e8,this['_logService']=_0x1f490b,this[_0x117b51(0x2b4)]=_0x58abf8,this[_0x117b51(0x2f6)]=_0x19fbb4,this[_0x117b51(0x2e4)]=_0x47e7c6,this['_localCacheService']=_0x5af8c6);}get[_0x2776ba(0x2db)](){return this['_state'];}async[_0x2776ba(0x1c1)](){var _0xd722ea=_0x2776ba;if(this[_0xd722ea(0x2db)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0xe3522b(()=>{var _0xbddf3e=_0x533f;this[_0xbddf3e(0x476)]=!0x1,this[_0xbddf3e(0x1e2)]();});}[_0x2776ba(0x2a4)](_0x21d831){var _0x4eb815=_0x2776ba;this[_0x4eb815(0x1f0)](_0x21d831);}['_updateState'](_0x4ef36e){var _0x41e674=_0x2776ba;this['_state']=_0x4ef36e,this[_0x41e674(0x424)]['next'](_0x4ef36e);}async[_0x2776ba(0x281)](){var _0x582d38=_0x2776ba,_0x50cf62;this[_0x582d38(0x373)](await this[_0x582d38(0x3f7)]()),this[_0x582d38(0x2e4)]&&((_0x50cf62=this[_0x582d38(0x2e4)])==null||_0x50cf62[_0x582d38(0x3e4)](this[_0x582d38(0x3ed)]),this[_0x582d38(0x22e)](this['_singleActiveUnitService'][_0x582d38(0x1ab)](this[_0x582d38(0x3ed)])['subscribe'](_0x3b49cd=>{var _0x49a987=_0x582d38;this[_0x49a987(0x1d7)][_0x49a987(0x1be)](_0x49a987(0x43a),_0x49a987(0x255),_0x3b49cd),_0x3b49cd===yi[_0x49a987(0x291)]?(this[_0x49a987(0x265)][_0x49a987(0x1cc)]({'id':re[_0x49a987(0x430)]}),this[_0x49a987(0x2f6)][_0x49a987(0x3ad)](new _0x1f9850(this[_0x49a987(0x3ed)])['id'],!0x1),this[_0x49a987(0x2f6)][_0x49a987(0x342)](!0x1)):(this[_0x49a987(0x2f6)][_0x49a987(0x3ad)](new _0x1f9850(this['unitID'])['id'],!0x0),this['_permissionService'][_0x49a987(0x342)](!0x0));})));let _0x4d6554=!0x1;return this[_0x582d38(0x22e)](this[_0x582d38(0x2ac)][_0x582d38(0x2a1)][_0x582d38(0x20f)](_0x325f1f=>{var _0x4aff51=_0x582d38;_0x325f1f===Te[_0x4aff51(0x383)]?this[_0x4aff51(0x26a)](_0x4d6554):_0x325f1f===Te[_0x4aff51(0x39f)]&&(_0x4d6554=!0x0,this[_0x4aff51(0x272)]());})),this[_0x582d38(0x22e)](this[_0x582d38(0x2ac)]['event$'][_0x582d38(0x20f)](_0x235c13=>{var _0x30ad39=_0x582d38;try{switch(_0x235c13[_0x30ad39(0x299)]){case _0x46c53f[_0x30ad39(0x314)]:{this['_onRemoteChangeset'](_0x3f2bbf(_0x235c13[_0x30ad39(0x3b8)]));break;}case _0x46c53f[_0x30ad39(0x3c8)]:{this[_0x30ad39(0x402)](_0x235c13[_0x30ad39(0x3b8)]);break;}case _0x46c53f[_0x30ad39(0x277)]:{this[_0x30ad39(0x472)]();break;}case _0x46c53f[_0x30ad39(0x2d0)]:{this[_0x30ad39(0x3d3)](_0x235c13[_0x30ad39(0x3b8)]);break;}case _0x46c53f[_0x30ad39(0x1d2)]:{this[_0x30ad39(0x2c7)](_0x235c13['data'][_0x30ad39(0x36b)][_0x30ad39(0x25c)](_0x4f729c=>_0x3f2bbf(_0x4f729c)));break;}case _0x46c53f[_0x30ad39(0x274)]:{this[_0x30ad39(0x472)]({'isPermissionRej':!0x0});break;}case _0x46c53f['UNISCRIPT_RUN']:break;}}catch(_0x1511ad){throw console[_0x30ad39(0x341)](_0x30ad39(0x36a),_0x1511ad),_0x1511ad;}})),this[_0x582d38(0x263)];}['_unlockTransition'](){this['_transitionLocked']=!0x1;}[_0x2776ba(0x1d9)](){var _0x88c29d=_0x2776ba;if(this[_0x88c29d(0x3cf)])throw new Error(_0x88c29d(0x3a5));this[_0x88c29d(0x3cf)]=!0x0;}['_onLocalMutation'](_0x5b9741){var _0x285700=_0x2776ba;this[_0x285700(0x1d9)](),this['_updateState'](this['_state'][_0x285700(0x43c)](_0x5b9741)),this['_unlockTransition']();}[_0x2776ba(0x327)](_0x2f8ef4){var _0x2d2d2c=_0x2776ba;if(!(_0x2f8ef4[_0x2d2d2c(0x2a8)]<=this[_0x2d2d2c(0x2f2)][_0x2d2d2c(0x232)](this[_0x2d2d2c(0x3ed)]))){if(this[_0x2d2d2c(0x476)]){this[_0x2d2d2c(0x377)][_0x2d2d2c(0x306)](_0x2f8ef4);return;}this[_0x2d2d2c(0x1a9)](_0x2f8ef4);}}[_0x2776ba(0x1e2)](){var _0x5d13b3=_0x2776ba;this['_remoteChangesetQueue']['forEach'](_0x46bdbe=>this[_0x5d13b3(0x1a9)](_0x46bdbe)),this[_0x5d13b3(0x377)]=[];}['_applyRemoteChangeset'](_0x39fc5f){var _0x53cd33=_0x2776ba;const _0x591020=this[_0x53cd33(0x3d9)][_0x53cd33(0x202)][_0x53cd33(0x39d)](this[_0x53cd33(0x3d9)]['interceptor'][_0x53cd33(0x3ce)]()[_0x53cd33(0x194)])(_0x39fc5f[_0x53cd33(0x273)],null)||_0x39fc5f[_0x53cd33(0x273)],_0x2c34c2={..._0x39fc5f,'mutations':_0x591020};this['_lockTransition'](),this['_updateState'](this[_0x53cd33(0x263)][_0x53cd33(0x1c9)](_0x2c34c2)),this['_unlockTransition']();}[_0x2776ba(0x402)](_0x1d3d5f){var _0x54ecf2=_0x2776ba;this[_0x54ecf2(0x1d9)](),this['_updateState'](this['_state'][_0x54ecf2(0x32b)](_0x1d3d5f)),this[_0x54ecf2(0x31f)]();}['_onRemoteRejected'](_0x79bfb3){var _0xfe0ad0=_0x2776ba;this[_0xfe0ad0(0x1d9)](),this[_0xfe0ad0(0x373)](this['_state']['onRemoteRej'](_0x79bfb3)),this[_0xfe0ad0(0x31f)]();}[_0x2776ba(0x3d3)](_0x41c4e3){var _0x383383=_0x2776ba;this['_lockTransition'](),this[_0x383383(0x373)](this[_0x383383(0x263)][_0x383383(0x3a6)](_0x41c4e3)),this[_0x383383(0x31f)]();}[_0x2776ba(0x2c7)](_0x43ad52){var _0x52dcb5=_0x2776ba;if(!(this['_state']instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3a17de=_0x43ad52['map'](_0x3a1a95=>{var _0x6aebd0=_0x533f;const _0x1ed590=this['_compressMutationService']['interceptor'][_0x6aebd0(0x39d)](this['_compressMutationService'][_0x6aebd0(0x202)][_0x6aebd0(0x3ce)]()[_0x6aebd0(0x194)])(_0x3a1a95['mutations'],null)||_0x3a1a95[_0x6aebd0(0x273)];return{..._0x3a1a95,'mutations':_0x1ed590};});this[_0x52dcb5(0x1d9)](),this[_0x52dcb5(0x373)](this[_0x52dcb5(0x263)]['onMissedChangesetFetched'](_0x3a17de)),this[_0x52dcb5(0x31f)]();}['_toggleOffline'](){var _0x48847c=_0x2776ba;this[_0x48847c(0x1d9)](),this[_0x48847c(0x373)](this[_0x48847c(0x263)][_0x48847c(0x1e6)]()),this[_0x48847c(0x31f)]();}[_0x2776ba(0x26a)](_0x3cd66a=!0x1){var _0x2e9bf5=_0x2776ba;this[_0x2e9bf5(0x1d9)](),this[_0x2e9bf5(0x373)](this[_0x2e9bf5(0x263)][_0x2e9bf5(0x193)]()),this[_0x2e9bf5(0x31f)]();const _0x30dcab=this['_state'];_0x3cd66a&&_0x30dcab instanceof Ne&&(this['_lockTransition'](),this[_0x2e9bf5(0x373)](_0x30dcab[_0x2e9bf5(0x421)]()),this[_0x2e9bf5(0x31f)]());}async[_0x2776ba(0x3f7)](){return new Promise(_0x51a5e0=>{var _0x55d65c=_0x533f;this['session'][_0x55d65c(0x2a1)][_0x55d65c(0x419)](_0x51019b(0x1))[_0x55d65c(0x20f)](async _0x9e908a=>{var _0x3f6894=_0x55d65c;_0x51a5e0(await this['_createInitialStateImpl'](_0x9e908a===Te[_0x3f6894(0x383)]));});});}['_createHandler'](){var _0x3389ae=_0x2776ba;const _0x2aeab8=this[_0x3389ae(0x3ed)];return{'onStateChange':(_0x39ed90,_0xf8ef2a)=>{var _0x5f8671=_0x3389ae;if(_0x39ed90!==this['_state'])throw new Error(_0x5f8671(0x2df)+_0x39ed90['status']+'\x0aAfter:\x20'+_0xf8ef2a[_0x5f8671(0x450)]+_0x5f8671(0x2fe)+this['_state'][_0x5f8671(0x450)]);this['_updateState'](_0xf8ef2a);},'onSendChangeset':_0x38d2ba=>{var _0x5a3dfc=_0x3389ae;_0x38d2ba[_0x5a3dfc(0x38f)]||(_0x38d2ba[_0x5a3dfc(0x38f)]=this[_0x5a3dfc(0x40b)],_0x38d2ba[_0x5a3dfc(0x38e)]=++this['_changesetReqId']);const _0x4d38ec={'eventID':_0x46c53f['SUBMIT_CHANGESET'],'data':{'unitID':_0x38d2ba[_0x5a3dfc(0x3ed)],'unitType':this[_0x5a3dfc(0x1a0)],'changeset':_0x38d2ba,'memberID':this[_0x5a3dfc(0x2ac)]['getMemberID']()}};this['session'][_0x5a3dfc(0x2bf)](_0x4d38ec,this['unitID']);},'onMissingChangesets':({from:_0x2a5be6,to:_0x33aaa0})=>{var _0x4760a3=_0x3389ae;this[_0x4760a3(0x1d7)][_0x4760a3(0x1be)](_0x4760a3(0x43a),_0x4760a3(0x440)+_0x2a5be6+_0x4760a3(0x409)+_0x33aaa0);const _0x34f60d={'eventID':_0x46c53f[_0x4760a3(0x349)],'data':{'unitID':_0x2aeab8,'unitType':this[_0x4760a3(0x1a0)],'from':_0x2a5be6,'to':_0x33aaa0}};this[_0x4760a3(0x2ac)]['send'](_0x34f60d,this[_0x4760a3(0x3ed)]);}};}async[_0x2776ba(0x3b7)](_0x555859){var _0x438671=_0x2776ba,_0xcc5bcd,_0x5d3554,_0xa390af;const _0x4f8e8c=await((_0xcc5bcd=this['_localCacheService'])==null?void 0x0:_0xcc5bcd[_0x438671(0x1bb)](this['unitID'])),_0x4789c6=(_0x5d3554=_0x4f8e8c==null?void 0x0:_0x4f8e8c[_0x438671(0x273)])!=null?_0x5d3554:[],_0x5d2d5b=(_0xa390af=_0x4f8e8c==null?void 0x0:_0x4f8e8c[_0x438671(0x3d6)])!=null?_0xa390af:null,_0x4fe7ea=!!(_0x5d2d5b!=null&&_0x5d2d5b['sid'])&&!!(_0x5d2d5b!=null&&_0x5d2d5b[_0x438671(0x38e)]);this['_changesetSessionId']=_0x4fe7ea?_0x5d2d5b[_0x438671(0x38f)]:fs(),this[_0x438671(0x197)]=_0x4fe7ea?_0x5d2d5b[_0x438671(0x38e)]:0x0;const _0xabc23=this['unitID'];try{this[_0x438671(0x2ab)](_0x5d2d5b,_0x4789c6);}catch(_0x11c224){this[_0x438671(0x1d7)]['error'](_0x11c224);}const _0x57fb59=this[_0x438671(0x45a)]();if(_0x555859){const _0x56f224=Di(this[_0x438671(0x38a)],_0xabc23,this[_0x438671(0x1a0)],_0x5d2d5b,_0x4789c6,_0x57fb59);return _0x56f224 instanceof oe?_0x56f224[_0x438671(0x453)]():(_0x56f224 instanceof ae||_0x56f224 instanceof ue)&&_0x56f224[_0x438671(0x343)](),_0x56f224;}return this['_injector']['createInstance'](fe,_0xabc23,this['_type'],_0x5d2d5b,_0x4789c6,_0x57fb59);}[_0x2776ba(0x2ab)](_0x473bc3,_0x6059f9){var _0x38a0ce=_0x2776ba,_0x4c1f79,_0x4b096a;const _0xcf8a30=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x38a0ce(0x3d9)][_0x38a0ce(0x202)][_0x38a0ce(0x3ce)]()[_0x38a0ce(0x194)]);(_0x4c1f79=_0xcf8a30((_0x473bc3==null?void 0x0:_0x473bc3['mutations'])||[],null))==null||_0x4c1f79[_0x38a0ce(0x294)](_0x4e1bbc=>this[_0x38a0ce(0x2b4)][_0x38a0ce(0x2ba)](_0x4e1bbc['id'],_0x4e1bbc[_0x38a0ce(0x332)])),(_0x4b096a=_0xcf8a30(_0x6059f9||[],null))==null||_0x4b096a[_0x38a0ce(0x294)](_0x5a2ade=>this['_commandService']['executeCommand'](_0x5a2ade['id'],_0x5a2ade[_0x38a0ce(0x332)]));}};st=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(pe)),k(0x8,_0x3b0698),k(0x9,_0x36939e),k(0xa,_0x39f738),k(0xb,_0x122f64(_t)),k(0xc,_0x122f64(X))],st);let Ct=class extends st{constructor(_0x4aa5a8,_0x321f8b,_0x233c27,_0x46b03b,_0x2ba137,_0x95f969,_0x39c9c0,_0x1f5ba9,_0x572a90,_0x1c48f5,_0x1bf7b5,_0x4daf1c,_0x189117){var _0x48dc5b=_0x2776ba;super(_0x4aa5a8,_0x233c27,_0x321f8b,_0x46b03b,_0x2ba137,_0x95f969,_0x39c9c0,_0x1f5ba9,_0x572a90,_0x1c48f5,_0x1bf7b5,_0x4daf1c,_0x189117),N(this,_0x48dc5b(0x26c),null),(this[_0x48dc5b(0x3ed)]=_0x4aa5a8,this[_0x48dc5b(0x33a)]=_0x321f8b);}[_0x2776ba(0x368)](_0x274619){var _0x50465a=_0x2776ba;this[_0x50465a(0x26c)]=_0x274619;}[_0x2776ba(0x28f)](){var _0x41b9b5=_0x2776ba;this[_0x41b9b5(0x26c)]=null,super['dispose']();}[_0x2776ba(0x45a)](){var _0x12c117=_0x2776ba;const _0x547078=super[_0x12c117(0x45a)]();return _0x547078[_0x12c117(0x32e)]=_0x11d4da=>{var _0x2085b7=_0x12c117,_0x150373,_0x3bb965;return(_0x3bb965=(_0x150373=this[_0x2085b7(0x26c)])==null?void 0x0:_0x150373['onTransformIME'])==null?void 0x0:_0x3bb965[_0x2085b7(0x3ae)](_0x150373,_0x11d4da);},_0x547078[_0x12c117(0x360)]=_0x5afc4a=>{var _0x3db1ed=_0x12c117,_0x56fa34,_0x470da6;return(_0x470da6=(_0x56fa34=this[_0x3db1ed(0x26c)])==null?void 0x0:_0x56fa34[_0x3db1ed(0x360)])==null?void 0x0:_0x470da6[_0x3db1ed(0x3ae)](_0x56fa34,_0x5afc4a);},_0x547078['onTransformSelections']=_0x1856c6=>{var _0x378963=_0x12c117,_0x257ca4,_0x5ca42d;return(_0x5ca42d=(_0x257ca4=this[_0x378963(0x26c)])==null?void 0x0:_0x257ca4['onTransformSelections'])==null?void 0x0:_0x5ca42d[_0x378963(0x3ae)](_0x257ca4,_0x1856c6);},_0x547078['onSyncEditingCollabCursor']=_0x1d471c=>{var _0x1b3062=_0x12c117,_0x25de37,_0x190afb;return(_0x190afb=(_0x25de37=this[_0x1b3062(0x26c)])==null?void 0x0:_0x25de37[_0x1b3062(0x2d4)])==null?void 0x0:_0x190afb[_0x1b3062(0x3ae)](_0x25de37,_0x1d471c);},_0x547078[_0x12c117(0x1db)]=_0x5c9fc9=>{var _0x45c24c=_0x12c117,_0x286468,_0x4843ab,_0x3ed1ac;if(!((_0x286468=this['_handlerCallback'])!=null&&_0x286468['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3ed1ac=(_0x4843ab=this['_handlerCallback'])==null?void 0x0:_0x4843ab['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3ed1ac[_0x45c24c(0x3ae)](_0x4843ab,_0x5c9fc9);},_0x547078[_0x12c117(0x387)]=_0x15556f=>{var _0x593029=_0x12c117,_0x1600a8,_0xcfd9f0,_0x145090;if(!((_0x1600a8=this[_0x593029(0x26c)])!=null&&_0x1600a8['onTransformRemoteChangesetByStateCache']))throw new Error(_0x593029(0x221));return(_0x145090=(_0xcfd9f0=this[_0x593029(0x26c)])==null?void 0x0:_0xcfd9f0[_0x593029(0x387)])==null?void 0x0:_0x145090[_0x593029(0x3ae)](_0xcfd9f0,_0x15556f);},_0x547078;}async['_init'](){var _0x9ab70b=_0x2776ba;const _0x854735=await super[_0x9ab70b(0x281)]();return this[_0x9ab70b(0x22e)](this[_0x9ab70b(0x2b4)][_0x9ab70b(0x200)]((_0x534041,_0x4aec47)=>{var _0x525191=_0x9ab70b;if(_0x534041['type']!==_0x5f58ab['MUTATION']||_0x4aec47!=null&&_0x4aec47[_0x525191(0x369)]||_0x4aec47!=null&&_0x4aec47[_0x525191(0x30e)]||_0x534041['id']===_0x5bed94['id'])return;const _0x4c5527=_0x534041[_0x525191(0x332)];if((_0x4c5527==null?void 0x0:_0x4c5527[_0x525191(0x246)])!==this[_0x525191(0x3ed)])return;const _0x47c877=_0x534041,_0x807ff2=this[_0x525191(0x3d9)]['interceptor'][_0x525191(0x39d)](this['_compressMutationService'][_0x525191(0x202)][_0x525191(0x3ce)]()[_0x525191(0x40e)])([_0x47c877],null)||[_0x47c877];this['_onLocalMutation'](_0x807ff2[0x0]);})),_0x854735;}};Ct=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(pe)),k(0x8,_0x3b0698),k(0x9,_0x36939e),k(0xa,_0x39f738),k(0xb,_0x122f64(_t)),k(0xc,_0x122f64(X))],Ct);let bt=class extends st{constructor(_0x26222d,_0x4846ee,_0x257627,_0x299849,_0x492dad,_0x2d1b2d,_0x1ba34f,_0x4204f9,_0x3d5ce4,_0x313e4a,_0x2a4aee,_0x3de1fa,_0x444b79,_0x2d9cac){var _0xe40f6=_0x2776ba;super(_0x26222d,_0x257627,_0x4846ee,_0x299849,_0x492dad,_0x2d1b2d,_0x1ba34f,_0x3d5ce4,_0x313e4a,_0x2a4aee,_0x3de1fa,_0x444b79,_0x2d9cac),this[_0xe40f6(0x3ed)]=_0x26222d,this[_0xe40f6(0x33a)]=_0x4846ee,this[_0xe40f6(0x288)]=_0x4204f9;}['_createHandler'](){var _0x442e34=_0x2776ba;const _0x1a1dfa=super[_0x442e34(0x45a)]();return _0x1a1dfa[_0x442e34(0x20e)]=_0x39e1f9=>this['_sheetTransformSelectionsService']['transformSelections'](_0x39e1f9),_0x1a1dfa;}async[_0x2776ba(0x281)](){var _0x235486=_0x2776ba;const _0x1a2db5=await super[_0x235486(0x281)]();return this[_0x235486(0x22e)](this['_commandService'][_0x235486(0x200)]((_0x32a527,_0x118e3b)=>{var _0x3d96e8=_0x235486;if(_0x32a527[_0x3d96e8(0x33a)]!==_0x5f58ab[_0x3d96e8(0x188)]||_0x118e3b!=null&&_0x118e3b[_0x3d96e8(0x369)]||_0x118e3b!=null&&_0x118e3b[_0x3d96e8(0x30e)])return;const _0x2bf824=_0x32a527[_0x3d96e8(0x332)];if((_0x2bf824==null?void 0x0:_0x2bf824[_0x3d96e8(0x246)])!==this[_0x3d96e8(0x3ed)])return;const _0x51e82a=_0x32a527,_0x36b8aa=this[_0x3d96e8(0x3d9)][_0x3d96e8(0x202)][_0x3d96e8(0x39d)](this[_0x3d96e8(0x3d9)][_0x3d96e8(0x202)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x51e82a],null)||[_0x51e82a];this['_onLocalMutation'](_0x36b8aa[0x0]);})),_0x1a2db5;}};bt=Mt([k(0x3,_0xad32f2(_0x237237)),k(0x4,_0xad32f2(_0x4e4230)),k(0x5,_0xad32f2(_0x415ba6)),k(0x6,_0xad32f2(_0x19c318)),k(0x7,_0xad32f2(nt)),k(0x8,_0xad32f2(pe)),k(0x9,_0x3b0698),k(0xa,_0x36939e),k(0xb,_0x39f738),k(0xc,_0x122f64(_t)),k(0xd,_0x122f64(X))],bt);var ys=Object['defineProperty'],Os=Object[_0x2776ba(0x236)],Ps=(_0x27690c,_0x1d94a7,_0x795f5,_0x186efc)=>{var _0x5119d7=_0x2776ba;for(var _0x528b82=_0x186efc>0x1?void 0x0:_0x186efc?Os(_0x1d94a7,_0x795f5):_0x1d94a7,_0x294c65=_0x27690c[_0x5119d7(0x2a6)]-0x1,_0x5323cf;_0x294c65>=0x0;_0x294c65--)(_0x5323cf=_0x27690c[_0x294c65])&&(_0x528b82=(_0x186efc?_0x5323cf(_0x1d94a7,_0x795f5,_0x528b82):_0x5323cf(_0x528b82))||_0x528b82);return _0x186efc&&_0x528b82&&ys(_0x1d94a7,_0x795f5,_0x528b82),_0x528b82;},vt=(_0x667207,_0x953d2f)=>(_0x2baa81,_0x19e53e)=>_0x953d2f(_0x2baa81,_0x19e53e,_0x667207);let rt=class extends _0x3fbf91{constructor(_0x382ef4,_0xe6f6da,_0x29ecc8){var _0x2a6334=_0x2776ba;super(),N(this,'_entities',new Map()),N(this,_0x2a6334(0x210),new _0x119eaf()),N(this,_0x2a6334(0x1c5),this[_0x2a6334(0x210)][_0x2a6334(0x340)]()),(this[_0x2a6334(0x38a)]=_0x382ef4,this['_collabSessionService']=_0xe6f6da,this[_0x2a6334(0x1b3)]=_0x29ecc8,this['_init']());}[_0x2776ba(0x28f)](){var _0x101b2e=_0x2776ba;super[_0x101b2e(0x28f)](),this[_0x101b2e(0x411)][_0x101b2e(0x294)](_0x3e1a24=>_0x3e1a24[_0x101b2e(0x28f)]()),this[_0x101b2e(0x411)][_0x101b2e(0x2c4)]();}['getCollabEntity'](_0x4c6af0){var _0x3a6d6b=_0x2776ba,_0x2eec46;return(_0x2eec46=this[_0x3a6d6b(0x411)][_0x3a6d6b(0x190)](_0x4c6af0))!=null?_0x2eec46:null;}[_0x2776ba(0x21c)](_0x3edd8f){var _0x1e5181=_0x2776ba;const _0x484a0d=this[_0x1e5181(0x28a)](_0x3edd8f);return _0x484a0d?_0x5dc709(_0x484a0d):this[_0x1e5181(0x210)][_0x1e5181(0x419)](_0x3994ac(_0x4af16e=>_0x4af16e['unitID']===_0x3edd8f));}[_0x2776ba(0x34f)](_0x5b6242){var _0x5d127d=_0x2776ba;return _0x35ec08(this[_0x5d127d(0x21c)](_0x5b6242)[_0x5d127d(0x419)](_0x554d4a(()=>{})));}[_0x2776ba(0x281)](){var _0x2b8193=_0x2776ba;this['_univerInstanceService'][_0x2b8193(0x30c)](_0x471c35['UNIVER_SHEET'])['pipe'](_0x16b361(this['dispose$']),_0x528e9b(0x10))['subscribe'](async _0x3dd11d=>{var _0x2510f7=_0x2b8193;const _0x5cb7fe=_0x3dd11d['getUnitId'](),_0x15b8cd=await this['_startCollaboration'](_0x5cb7fe,Q[_0x2510f7(0x40d)]);this[_0x2510f7(0x411)][_0x2510f7(0x189)](_0x5cb7fe,_0x15b8cd);}),this[_0x2b8193(0x1b3)][_0x2b8193(0x30c)](_0x471c35['UNIVER_DOC'])[_0x2b8193(0x419)](_0x16b361(this[_0x2b8193(0x1f2)]),_0x528e9b(0x10))[_0x2b8193(0x419)](_0x3994ac(_0x373b15=>!_0x373b15[_0x2b8193(0x3d2)]()[_0x2b8193(0x213)]('__')))['subscribe'](async _0xffc39e=>{var _0x5baad1=_0x2b8193;const _0x50c4f4=_0xffc39e[_0x5baad1(0x3d2)](),_0x571810=await this[_0x5baad1(0x17c)](_0x50c4f4,Q['UNIVER_DOC']);this[_0x5baad1(0x411)][_0x5baad1(0x189)](_0x50c4f4,_0x571810);}),_0x207695(this[_0x2b8193(0x1b3)][_0x2b8193(0x217)](_0x471c35[_0x2b8193(0x40d)]),this['_univerInstanceService'][_0x2b8193(0x217)](_0x471c35['UNIVER_DOC']))['pipe'](_0x16b361(this['dispose$']))[_0x2b8193(0x20f)](_0x8efda2=>{var _0x4097e8=_0x2b8193;const _0x260607=_0x8efda2[_0x4097e8(0x3d2)](),_0x4c3add=this['_entities'][_0x4097e8(0x190)](_0x260607);_0x4c3add&&(_0x4c3add[_0x4097e8(0x28f)](),this[_0x4097e8(0x411)][_0x4097e8(0x378)](_0x260607));});}async[_0x2776ba(0x17c)](_0x31ebd2,_0x14b66d){var _0xa7bd30=_0x2776ba;const _0x568281=await this[_0xa7bd30(0x470)][_0xa7bd30(0x43d)](_0x31ebd2),_0x3ab8cc=this[_0xa7bd30(0x38a)][_0xa7bd30(0x346)](this['_getCtorByUniverType'](_0x14b66d),_0x31ebd2,_0x14b66d,_0x568281);return await _0x3ab8cc[_0xa7bd30(0x1c1)](),this[_0xa7bd30(0x210)]['next'](_0x3ab8cc),_0x3ab8cc;}[_0x2776ba(0x418)](_0x17da4d){var _0x471dc3=_0x2776ba;switch(_0x17da4d){case Q[_0x471dc3(0x3f8)]:return Ct;case Q[_0x471dc3(0x40d)]:return bt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x17da4d);}}};rt=Ps([vt(0x0,_0xad32f2(_0x237237)),vt(0x1,_0xad32f2(Le)),vt(0x2,_0x16c691)],rt);var Ns=Object[_0x2776ba(0x282)],Ds=Object['getOwnPropertyDescriptor'],ws=(_0x5d539a,_0x5c2ae3,_0x21efff,_0x395e3f)=>{var _0x21d7e3=_0x2776ba;for(var _0x2b3f5a=_0x395e3f>0x1?void 0x0:_0x395e3f?Ds(_0x5c2ae3,_0x21efff):_0x5c2ae3,_0x133468=_0x5d539a[_0x21d7e3(0x2a6)]-0x1,_0x2fbbd8;_0x133468>=0x0;_0x133468--)(_0x2fbbd8=_0x5d539a[_0x133468])&&(_0x2b3f5a=(_0x395e3f?_0x2fbbd8(_0x5c2ae3,_0x21efff,_0x2b3f5a):_0x2fbbd8(_0x2b3f5a))||_0x2b3f5a);return _0x395e3f&&_0x2b3f5a&&Ns(_0x5c2ae3,_0x21efff,_0x2b3f5a),_0x2b3f5a;},Xt=(_0x38e9f8,_0x3ba44a)=>(_0x364869,_0x30c547)=>_0x3ba44a(_0x364869,_0x30c547,_0x38e9f8);const Us=_0x2776ba(0x380),As='Univer';let Rt=class extends _0x35df0f{constructor(_0x1eaf67,_0x38480b){var _0x233523=_0x2776ba;super(),this[_0x233523(0x1b3)]=_0x1eaf67,this[_0x233523(0x45d)]=_0x38480b,this[_0x233523(0x281)]();}['_init'](){var _0x493bff=_0x2776ba;this[_0x493bff(0x22e)](this[_0x493bff(0x1b3)]['focused$'][_0x493bff(0x20f)](()=>{var _0x1595c7=_0x493bff,_0x1307ed;const _0x3c2ac8=this[_0x1595c7(0x1b3)]['getFocusedUnit']();let _0x203613=(_0x1307ed=this[_0x1595c7(0x45d)][_0x1595c7(0x27b)](Us))!=null?_0x1307ed:As;_0x3c2ac8 instanceof _0x4dafa2&&(_0x203613=_0x3c2ac8[_0x1595c7(0x3b3)]),document[_0x1595c7(0x379)]=_0x203613;}));}};Rt=ws([Xt(0x0,_0x16c691),Xt(0x1,_0x5aacb0)],Rt);var xs=Object[_0x2776ba(0x282)],Ls=Object[_0x2776ba(0x236)],Ms=(_0x2d9bd6,_0x3858c,_0xb547e9,_0x17eb42)=>{var _0x40b5fb=_0x2776ba;for(var _0x33c30a=_0x17eb42>0x1?void 0x0:_0x17eb42?Ls(_0x3858c,_0xb547e9):_0x3858c,_0x69c2b3=_0x2d9bd6[_0x40b5fb(0x2a6)]-0x1,_0x29b743;_0x69c2b3>=0x0;_0x69c2b3--)(_0x29b743=_0x2d9bd6[_0x69c2b3])&&(_0x33c30a=(_0x17eb42?_0x29b743(_0x3858c,_0xb547e9,_0x33c30a):_0x29b743(_0x33c30a))||_0x33c30a);return _0x17eb42&&_0x33c30a&&xs(_0x3858c,_0xb547e9,_0x33c30a),_0x33c30a;},pt=(_0x2649e8,_0x3450dc)=>(_0x5206c9,_0x4b7123)=>_0x3450dc(_0x5206c9,_0x4b7123,_0x2649e8);let ot=class{constructor(_0x54c17f,_0x264971,_0x385911){var _0x5988cb=_0x2776ba;this[_0x5988cb(0x45d)]=_0x54c17f,this[_0x5988cb(0x283)]=_0x264971,this[_0x5988cb(0x320)]=_0x385911,this[_0x5988cb(0x1c1)]();}[_0x2776ba(0x1c1)](){var _0x29a381=_0x2776ba;this[_0x29a381(0x283)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4c2038,_0x1eaa29)=>_0x1eaa29(_0x4c2038)['pipe'](_0x1e9a27(async _0x16b877=>{var _0x4c5bac=_0x29a381;const _0x4daff1=_0x16b877;if(_0x4daff1[_0x4c5bac(0x450)]===0x191){if(typeof window>'u')throw new Error(_0x4c5bac(0x338));if(window[_0x4c5bac(0x2f0)](this[_0x4c5bac(0x320)]['t'](_0x4c5bac(0x34d)))){const _0x19d55f=window[_0x4c5bac(0x443)](window[_0x4c5bac(0x18a)][_0x4c5bac(0x2ae)]);window['location'][_0x4c5bac(0x2ae)]=this['_getLoginPath']()+_0x4c5bac(0x322)+_0x19d55f;}}return _0x4daff1;}))});}[_0x2776ba(0x234)](){var _0x34af29=_0x2776ba,_0x2654fe,_0x641925;const _0x1c9979=this[_0x34af29(0x45d)][_0x34af29(0x27b)](Fn),_0x13f230=this[_0x34af29(0x45d)]['getConfig'](Y);return(_0x641925=(_0x2654fe=_0x13f230==null?void 0x0:_0x13f230[_0x34af29(0x438)])!=null?_0x2654fe:_0x1c9979)!=null?_0x641925:Vn;}};ot=Ms([pt(0x0,_0x5aacb0),pt(0x1,_0xad32f2(_0x3d73d7)),pt(0x2,_0xad32f2(_0x415ba6))],ot);var $s=Object[_0x2776ba(0x282)],Hs=Object[_0x2776ba(0x236)],ks=(_0x13d35d,_0x247871,_0x14f266,_0x1f3ec2)=>{for(var _0x5a6458=_0x1f3ec2>0x1?void 0x0:_0x1f3ec2?Hs(_0x247871,_0x14f266):_0x247871,_0x2321cc=_0x13d35d['length']-0x1,_0x3bae02;_0x2321cc>=0x0;_0x2321cc--)(_0x3bae02=_0x13d35d[_0x2321cc])&&(_0x5a6458=(_0x1f3ec2?_0x3bae02(_0x247871,_0x14f266,_0x5a6458):_0x3bae02(_0x5a6458))||_0x5a6458);return _0x1f3ec2&&_0x5a6458&&$s(_0x247871,_0x14f266,_0x5a6458),_0x5a6458;},Zt=(_0x4122fd,_0x23b901)=>(_0x143ea1,_0x2a237d)=>_0x23b901(_0x143ea1,_0x2a237d,_0x4122fd);const wi='AUTHZ_URL_KEY',js=_0x2776ba(0x22a);let yt=class extends _0x35df0f{constructor(_0xcb9d8e,_0x456073){var _0xd60a09=_0x2776ba;super(),this[_0xd60a09(0x242)]=_0xcb9d8e,this[_0xd60a09(0x45d)]=_0x456073,this[_0xd60a09(0x289)]();}[_0x2776ba(0x289)](){var _0x3f00a3=_0x2776ba;const _0x5e80a7=this;this[_0x3f00a3(0x22e)](this[_0x3f00a3(0x242)][_0x3f00a3(0x24c)]({'priority':0x3e7,'interceptor':_0x1d86e2({'isMatch'(_0x43ddca){var _0x1e98f3=_0x3f00a3,_0x6b9145;if(_0x43ddca['method']===_0x1e98f3(0x3bd)&&((_0x6b9145=_0x43ddca['requestParams'])!=null&&_0x6b9145['body'])){const {objectID:_0x7c806c,objectType:_0x30a19d}=_0x43ddca[_0x1e98f3(0x1f7)][_0x1e98f3(0x39b)]||{};if(!_0x7c806c||_0x30a19d===void 0x0)return!0x1;const _0x61f099=_0x5e80a7[_0x1e98f3(0x2c9)]()+'/'+_0x30a19d+_0x1e98f3(0x3ff)+_0x7c806c+_0x1e98f3(0x1aa);if(_0x43ddca['url']===_0x61f099)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51181a){var _0x2bbece=_0x3f00a3,_0x3c40ce;return(_0x3c40ce=_0x51181a['requestParams'])==null?void 0x0:_0x3c40ce[_0x2bbece(0x39b)];},'mergeParamsToRequest'(_0x42a870,_0x3fd533){var _0xc70211=_0x3f00a3;const _0x3658a8=_0x5e80a7[_0xc70211(0x2c9)]()+_0xc70211(0x414),_0x5c012e=_0x42a870[_0xc70211(0x26b)]((_0x97c8c6,_0x5be3c7)=>{var _0x3ae325=_0xc70211;const {unitID:_0x2b98ac,objectID:_0x7789d4,objectType:_0x1ba65e,actions:_0x52a679}=_0x5be3c7;return _0x97c8c6[_0x2b98ac]||(_0x97c8c6[_0x2b98ac]={}),_0x97c8c6[_0x2b98ac][_0x7789d4]||(_0x97c8c6[_0x2b98ac][_0x7789d4]={'objectID':_0x7789d4,'objectType':_0x1ba65e,'actions':[]}),_0x97c8c6[_0x2b98ac][_0x7789d4]['actions'][_0x3ae325(0x306)](..._0x52a679),_0x97c8c6;},{}),_0x41153a=[];for(const _0x2a71e8 in _0x5c012e)for(const _0x576fff in _0x5c012e[_0x2a71e8]){const {actions:_0x55a4c6,objectType:_0x5df5c3}=_0x5c012e[_0x2a71e8][_0x576fff],_0x364906=[...new Set(_0x55a4c6)];_0x41153a[_0xc70211(0x306)]({'unitID':_0x2a71e8,'objectID':_0x576fff,'objectType':_0x5df5c3,'actions':_0x364906});}return new _0x7a37fc(_0xc70211(0x3bd),_0x3658a8,{'headers':_0x3fd533[_0xc70211(0x356)],'withCredentials':_0x3fd533[_0xc70211(0x325)],'responseType':_0x3fd533[_0xc70211(0x2ef)],'body':{'requests':_0x41153a}});}},{'distributeResult'(_0x239179,_0x324e7e){var _0x5a0d6b=_0x3f00a3;const {objectActions:_0x57550a}=_0x239179;return _0x324e7e[_0x5a0d6b(0x25c)](_0x1b0d65=>{var _0x5d225b=_0x5a0d6b;const {unitID:_0xc55e48,objectID:_0x530032,actions:_0x446466}=_0x1b0d65,_0x19b7b8=_0x57550a['find'](_0x4b5113=>_0x4b5113[_0x5d225b(0x3ed)]===_0xc55e48&&_0x4b5113['objectID']===_0x530032),_0x28f892=_0x446466[_0x5d225b(0x25c)](_0x295ee1=>_0x19b7b8==null?void 0x0:_0x19b7b8[_0x5d225b(0x222)][_0x5d225b(0x337)](_0x32178e=>_0x32178e['action']===_0x295ee1))[_0x5d225b(0x432)](_0x3d2562=>!!_0x3d2562);return{'config':_0x1b0d65,'result':{'actions':_0x28f892,'error':_0x239179['error']}};});}})}));}[_0x2776ba(0x2c9)](){var _0xda63eb=_0x2776ba,_0x7b0b29,_0x590eb2;const _0x248129=this[_0xda63eb(0x45d)]['getConfig'](wi),_0x2f3e47=this[_0xda63eb(0x45d)][_0xda63eb(0x27b)](Y);return(_0x590eb2=(_0x7b0b29=_0x2f3e47==null?void 0x0:_0x2f3e47[_0xda63eb(0x33b)])!=null?_0x7b0b29:_0x248129)!=null?_0x590eb2:js;}async['create'](_0x2d991c){var _0x18cbb0=_0x2776ba;const _0x44e747=this['_getAPIPrefixPath']()+'/'+_0x2d991c[_0x18cbb0(0x225)]+_0x18cbb0(0x198);return(await this[_0x18cbb0(0x242)]['post'](_0x44e747,{'body':_0x2d991c}))[_0x18cbb0(0x39b)][_0x18cbb0(0x316)]||'';}async[_0x2776ba(0x275)](_0x24197d){var _0x13e7d2=_0x2776ba;const _0x8ed6f9=this['_getAPIPrefixPath']()+'/-/object/list';return(await this[_0x13e7d2(0x242)][_0x13e7d2(0x30f)](_0x8ed6f9,{'body':_0x24197d}))[_0x13e7d2(0x39b)][_0x13e7d2(0x358)];}async[_0x2776ba(0x3cc)](_0x25b9ff){var _0x4f9c63=_0x2776ba;const _0x4b064b=this['_getAPIPrefixPath']()+'/'+_0x25b9ff[_0x4f9c63(0x225)]+_0x4f9c63(0x3ff)+_0x25b9ff[_0x4f9c63(0x316)];await this['_HTTPService'][_0x4f9c63(0x21a)](_0x4b064b,{'body':_0x25b9ff});}async[_0x2776ba(0x237)](_0x28fc52){var _0x286a0d=_0x2776ba;const _0x24f7d4=this[_0x286a0d(0x2c9)]()+'/'+_0x28fc52[_0x286a0d(0x225)]+_0x286a0d(0x3ff)+_0x28fc52[_0x286a0d(0x316)]+_0x286a0d(0x1aa);return(await this[_0x286a0d(0x242)][_0x286a0d(0x30f)](_0x24f7d4,{'body':_0x28fc52}))[_0x286a0d(0x39b)][_0x286a0d(0x222)];}async[_0x2776ba(0x287)](_0x353ad2){var _0x40d5d4=_0x2776ba;const _0x3aab74=this[_0x40d5d4(0x2c9)]()+'/-/object/-/batch_allowed';return(await this[_0x40d5d4(0x242)]['post'](_0x3aab74,{'body':{'requests':_0x353ad2}}))[_0x40d5d4(0x39b)]['objectActions'];}async['listRoles'](_0x45b175){var _0x2a1e27=_0x2776ba;const _0x1486bb=this[_0x2a1e27(0x2c9)]()+'/'+_0x45b175[_0x2a1e27(0x225)]+_0x2a1e27(0x285),_0x38f0cc=await this[_0x2a1e27(0x242)][_0x2a1e27(0x30f)](_0x1486bb,{'body':_0x45b175});return{'roles':_0x38f0cc[_0x2a1e27(0x39b)][_0x2a1e27(0x35b)],'actions':_0x38f0cc[_0x2a1e27(0x39b)][_0x2a1e27(0x222)]};}async['deleteCollaborator'](_0x2e04c6){var _0x26c195=_0x2776ba;const _0x45902c=this[_0x26c195(0x2c9)]()+_0x26c195(0x33d);await this['_HTTPService']['delete'](_0x45902c,{'params':{'collaboratorID':_0x2e04c6['collaboratorID'],'objectID':_0x2e04c6['objectID'],'unitID':_0x2e04c6[_0x26c195(0x3ed)]}});}async['updateCollaborator'](_0x5be6c6){var _0x2b5b89=_0x2776ba;const _0x31d8a3=this[_0x2b5b89(0x2c9)]()+'/collaborator';await this[_0x2b5b89(0x242)][_0x2b5b89(0x257)](_0x31d8a3,{'body':_0x5be6c6});}async['createCollaborator'](_0x57e937){var _0x42fc25=_0x2776ba;const _0xa8d08c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x42fc25(0x242)][_0x42fc25(0x30f)](_0xa8d08c,{'body':_0x57e937});}async[_0x2776ba(0x3d8)](_0x329f55){var _0x2ab846=_0x2776ba;const _0x5466d1=this['_getAPIPrefixPath']()+_0x2ab846(0x33d);return(await this[_0x2ab846(0x242)][_0x2ab846(0x190)](_0x5466d1,{'params':{'objectID':_0x329f55[_0x2ab846(0x316)],'unitID':_0x329f55['unitID']}}))[_0x2ab846(0x39b)]['collaborators'];}async[_0x2776ba(0x17a)](_0x230ab6){var _0x2e2a40=_0x2776ba;const _0x43cc42=this[_0x2e2a40(0x2c9)]()+_0x2e2a40(0x33d);await this[_0x2e2a40(0x242)][_0x2e2a40(0x21a)](_0x43cc42,{'body':_0x230ab6});}};yt=ks([Zt(0x0,_0xad32f2(_0x3d73d7)),Zt(0x1,_0xad32f2(_0x5aacb0))],yt);var mt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x449d52){var _0x53e38f=_0x2776ba;return _0x449d52&&_0x449d52['__esModule']&&Object[_0x53e38f(0x29b)]['hasOwnProperty'][_0x53e38f(0x3ae)](_0x449d52,_0x53e38f(0x44c))?_0x449d52[_0x53e38f(0x44c)]:_0x449d52;}var We={'exports':{}};function Bs(_0x4e5f36){var _0x16d7a6=_0x2776ba;throw new Error(_0x16d7a6(0x3c3)+_0x4e5f36+_0x16d7a6(0x24f));}var Ge={'exports':{}},Fs=Ge[_0x2776ba(0x24b)],Qt;function ne(){var _0x166f28=_0x2776ba;return Qt||(Qt=0x1,function(_0x4282d4,_0x146f10){(function(_0x4652a1,_0x4462cd){var _0x5a7897=_0x533f;_0x4282d4[_0x5a7897(0x24b)]=_0x4462cd();}(Fs,function(){var _0x220769=_0x220769||function(_0x2fca44,_0x1aae2a){var _0x33a8fb=_0x533f,_0x48e662;if(typeof window<'u'&&window[_0x33a8fb(0x1b1)]&&(_0x48e662=window[_0x33a8fb(0x1b1)]),typeof self<'u'&&self['crypto']&&(_0x48e662=self[_0x33a8fb(0x1b1)]),typeof globalThis<'u'&&globalThis[_0x33a8fb(0x1b1)]&&(_0x48e662=globalThis[_0x33a8fb(0x1b1)]),!_0x48e662&&typeof window<'u'&&window[_0x33a8fb(0x2b3)]&&(_0x48e662=window[_0x33a8fb(0x2b3)]),!_0x48e662&&typeof mt<'u'&&mt[_0x33a8fb(0x1b1)]&&(_0x48e662=mt[_0x33a8fb(0x1b1)]),!_0x48e662&&typeof Bs==_0x33a8fb(0x35c))try{_0x48e662=require(_0x33a8fb(0x1b1));}catch{}var _0x3ba19c=function(){var _0x2e25ec=_0x33a8fb;if(_0x48e662){if(typeof _0x48e662['getRandomValues']=='function')try{return _0x48e662['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x48e662[_0x2e25ec(0x3ec)]==_0x2e25ec(0x35c))try{return _0x48e662[_0x2e25ec(0x3ec)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2e25ec(0x2f5));},_0x47e468=Object[_0x33a8fb(0x268)]||(function(){function _0x242b94(){}return function(_0x2ae512){var _0x12999f=_0x533f,_0x5bd50c;return _0x242b94[_0x12999f(0x29b)]=_0x2ae512,_0x5bd50c=new _0x242b94(),_0x242b94[_0x12999f(0x29b)]=null,_0x5bd50c;};}()),_0x3d64e1={},_0x1b5bf6=_0x3d64e1[_0x33a8fb(0x2b6)]={},_0xcc7340=_0x1b5bf6[_0x33a8fb(0x279)]=(function(){return{'extend':function(_0x130876){var _0x28fdb5=_0x533f,_0x5e8c44=_0x47e468(this);return _0x130876&&_0x5e8c44['mixIn'](_0x130876),(!_0x5e8c44[_0x28fdb5(0x195)](_0x28fdb5(0x1c1))||this[_0x28fdb5(0x1c1)]===_0x5e8c44[_0x28fdb5(0x1c1)])&&(_0x5e8c44[_0x28fdb5(0x1c1)]=function(){var _0x4b2721=_0x28fdb5;_0x5e8c44[_0x4b2721(0x37c)]['init']['apply'](this,arguments);}),_0x5e8c44[_0x28fdb5(0x1c1)]['prototype']=_0x5e8c44,_0x5e8c44['$super']=this,_0x5e8c44;},'create':function(){var _0x218f5d=_0x533f,_0x23e9c9=this[_0x218f5d(0x1c4)]();return _0x23e9c9['init'][_0x218f5d(0x29a)](_0x23e9c9,arguments),_0x23e9c9;},'init':function(){},'mixIn':function(_0x435372){var _0x290c37=_0x533f;for(var _0x18a294 in _0x435372)_0x435372[_0x290c37(0x195)](_0x18a294)&&(this[_0x18a294]=_0x435372[_0x18a294]);_0x435372[_0x290c37(0x195)]('toString')&&(this[_0x290c37(0x39a)]=_0x435372[_0x290c37(0x39a)]);},'clone':function(){var _0xbe4a7d=_0x533f;return this[_0xbe4a7d(0x1c1)][_0xbe4a7d(0x29b)]['extend'](this);}};}()),_0x179599=_0x1b5bf6[_0x33a8fb(0x33e)]=_0xcc7340['extend']({'init':function(_0x7ab8,_0x57e363){var _0x5a58e9=_0x33a8fb;_0x7ab8=this['words']=_0x7ab8||[],_0x57e363!=_0x1aae2a?this[_0x5a58e9(0x2b9)]=_0x57e363:this['sigBytes']=_0x7ab8[_0x5a58e9(0x2a6)]*0x4;},'toString':function(_0x26d1f1){var _0x2c02c2=_0x33a8fb;return(_0x26d1f1||_0x2c5d19)[_0x2c02c2(0x231)](this);},'concat':function(_0x4b83d4){var _0x15e70c=_0x33a8fb,_0xc8e8c0=this[_0x15e70c(0x1c0)],_0x425bb0=_0x4b83d4['words'],_0x14f0a0=this[_0x15e70c(0x2b9)],_0x31f13e=_0x4b83d4[_0x15e70c(0x2b9)];if(this['clamp'](),_0x14f0a0%0x4)for(var _0x30382d=0x0;_0x30382d<_0x31f13e;_0x30382d++){var _0x370715=_0x425bb0[_0x30382d>>>0x2]>>>0x18-_0x30382d%0x4*0x8&0xff;_0xc8e8c0[_0x14f0a0+_0x30382d>>>0x2]|=_0x370715<<0x18-(_0x14f0a0+_0x30382d)%0x4*0x8;}else{for(var _0x5b2ea3=0x0;_0x5b2ea3<_0x31f13e;_0x5b2ea3+=0x4)_0xc8e8c0[_0x14f0a0+_0x5b2ea3>>>0x2]=_0x425bb0[_0x5b2ea3>>>0x2];}return this[_0x15e70c(0x2b9)]+=_0x31f13e,this;},'clamp':function(){var _0x45a74c=_0x33a8fb,_0x3e629f=this[_0x45a74c(0x1c0)],_0x4abd87=this[_0x45a74c(0x2b9)];_0x3e629f[_0x4abd87>>>0x2]&=0xffffffff<<0x20-_0x4abd87%0x4*0x8,_0x3e629f[_0x45a74c(0x2a6)]=_0x2fca44[_0x45a74c(0x2fc)](_0x4abd87/0x4);},'clone':function(){var _0x434d26=_0x33a8fb,_0x45dab7=_0xcc7340['clone'][_0x434d26(0x3ae)](this);return _0x45dab7[_0x434d26(0x1c0)]=this[_0x434d26(0x1c0)]['slice'](0x0),_0x45dab7;},'random':function(_0x989aed){var _0x4423e0=_0x33a8fb;for(var _0x305126=[],_0x2cd990=0x0;_0x2cd990<_0x989aed;_0x2cd990+=0x4)_0x305126[_0x4423e0(0x306)](_0x3ba19c());return new _0x179599[(_0x4423e0(0x1c1))](_0x305126,_0x989aed);}}),_0x363ce3=_0x3d64e1[_0x33a8fb(0x45c)]={},_0x2c5d19=_0x363ce3[_0x33a8fb(0x46e)]={'stringify':function(_0x27a2f4){var _0x48a9f3=_0x33a8fb;for(var _0x19a124=_0x27a2f4[_0x48a9f3(0x1c0)],_0x145ea8=_0x27a2f4['sigBytes'],_0x55d886=[],_0x2241dd=0x0;_0x2241dd<_0x145ea8;_0x2241dd++){var _0x1987a0=_0x19a124[_0x2241dd>>>0x2]>>>0x18-_0x2241dd%0x4*0x8&0xff;_0x55d886[_0x48a9f3(0x306)]((_0x1987a0>>>0x4)['toString'](0x10)),_0x55d886[_0x48a9f3(0x306)]((_0x1987a0&0xf)[_0x48a9f3(0x39a)](0x10));}return _0x55d886[_0x48a9f3(0x2e9)]('');},'parse':function(_0xbdb4bc){var _0x1e4d6d=_0x33a8fb;for(var _0x2e7fca=_0xbdb4bc[_0x1e4d6d(0x2a6)],_0x4b52d5=[],_0x3e2dcc=0x0;_0x3e2dcc<_0x2e7fca;_0x3e2dcc+=0x2)_0x4b52d5[_0x3e2dcc>>>0x3]|=parseInt(_0xbdb4bc[_0x1e4d6d(0x461)](_0x3e2dcc,0x2),0x10)<<0x18-_0x3e2dcc%0x8*0x4;return new _0x179599['init'](_0x4b52d5,_0x2e7fca/0x2);}},_0x4602ac=_0x363ce3[_0x33a8fb(0x40f)]={'stringify':function(_0x56a011){var _0x3eb809=_0x33a8fb;for(var _0xbcc92d=_0x56a011['words'],_0x4d7f86=_0x56a011[_0x3eb809(0x2b9)],_0x2da54c=[],_0x571bee=0x0;_0x571bee<_0x4d7f86;_0x571bee++){var _0x1e0398=_0xbcc92d[_0x571bee>>>0x2]>>>0x18-_0x571bee%0x4*0x8&0xff;_0x2da54c[_0x3eb809(0x306)](String['fromCharCode'](_0x1e0398));}return _0x2da54c[_0x3eb809(0x2e9)]('');},'parse':function(_0x35b902){var _0x315c95=_0x33a8fb;for(var _0x4eef32=_0x35b902[_0x315c95(0x2a6)],_0x25e43d=[],_0x4a2974=0x0;_0x4a2974<_0x4eef32;_0x4a2974++)_0x25e43d[_0x4a2974>>>0x2]|=(_0x35b902[_0x315c95(0x303)](_0x4a2974)&0xff)<<0x18-_0x4a2974%0x4*0x8;return new _0x179599[(_0x315c95(0x1c1))](_0x25e43d,_0x4eef32);}},_0x26854a=_0x363ce3[_0x33a8fb(0x1de)]={'stringify':function(_0x2262d7){var _0x4caaa0=_0x33a8fb;try{return decodeURIComponent(escape(_0x4602ac[_0x4caaa0(0x231)](_0x2262d7)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0xf48dcf){return _0x4602ac['parse'](unescape(encodeURIComponent(_0xf48dcf)));}},_0x1a38d5=_0x1b5bf6['BufferedBlockAlgorithm']=_0xcc7340[_0x33a8fb(0x1c4)]({'reset':function(){var _0x283ec2=_0x33a8fb;this[_0x283ec2(0x2eb)]=new _0x179599['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x288100){var _0x433275=_0x33a8fb;typeof _0x288100==_0x433275(0x199)&&(_0x288100=_0x26854a[_0x433275(0x3b0)](_0x288100)),this[_0x433275(0x2eb)][_0x433275(0x2fb)](_0x288100),this[_0x433275(0x19f)]+=_0x288100[_0x433275(0x2b9)];},'_process':function(_0x334547){var _0x51edc2=_0x33a8fb,_0x934bb5,_0x3f49b5=this['_data'],_0xfc66bd=_0x3f49b5['words'],_0x31b44d=_0x3f49b5[_0x51edc2(0x2b9)],_0x489a7d=this['blockSize'],_0x29aa41=_0x489a7d*0x4,_0x363071=_0x31b44d/_0x29aa41;_0x334547?_0x363071=_0x2fca44['ceil'](_0x363071):_0x363071=_0x2fca44['max']((_0x363071|0x0)-this[_0x51edc2(0x355)],0x0);var _0x28971b=_0x363071*_0x489a7d,_0x473bdb=_0x2fca44['min'](_0x28971b*0x4,_0x31b44d);if(_0x28971b){for(var _0x131756=0x0;_0x131756<_0x28971b;_0x131756+=_0x489a7d)this[_0x51edc2(0x278)](_0xfc66bd,_0x131756);_0x934bb5=_0xfc66bd['splice'](0x0,_0x28971b),_0x3f49b5[_0x51edc2(0x2b9)]-=_0x473bdb;}return new _0x179599[(_0x51edc2(0x1c1))](_0x934bb5,_0x473bdb);},'clone':function(){var _0x39b89f=_0x33a8fb,_0xf8ef37=_0xcc7340[_0x39b89f(0x330)][_0x39b89f(0x3ae)](this);return _0xf8ef37[_0x39b89f(0x2eb)]=this['_data'][_0x39b89f(0x330)](),_0xf8ef37;},'_minBufferSize':0x0});_0x1b5bf6[_0x33a8fb(0x3e9)]=_0x1a38d5[_0x33a8fb(0x1c4)]({'cfg':_0xcc7340[_0x33a8fb(0x1c4)](),'init':function(_0x37d186){var _0x170bc7=_0x33a8fb;this[_0x170bc7(0x3a2)]=this['cfg'][_0x170bc7(0x1c4)](_0x37d186),this['reset']();},'reset':function(){var _0x552426=_0x33a8fb;_0x1a38d5[_0x552426(0x2c6)][_0x552426(0x3ae)](this),this[_0x552426(0x2d5)]();},'update':function(_0x40d6a2){var _0x3b57b9=_0x33a8fb;return this[_0x3b57b9(0x204)](_0x40d6a2),this[_0x3b57b9(0x24e)](),this;},'finalize':function(_0x427c91){var _0x2b51b6=_0x33a8fb;_0x427c91&&this[_0x2b51b6(0x204)](_0x427c91);var _0x3eb501=this['_doFinalize']();return _0x3eb501;},'blockSize':0x10,'_createHelper':function(_0x4b3df){return function(_0x3c49bf,_0x51f895){var _0x170011=_0x533f;return new _0x4b3df[(_0x170011(0x1c1))](_0x51f895)[_0x170011(0x215)](_0x3c49bf);};},'_createHmacHelper':function(_0x4b3afc){return function(_0x35f9ab,_0x5309e5){var _0x44291d=_0x533f;return new _0x48f4f4[(_0x44291d(0x2d3))][(_0x44291d(0x1c1))](_0x4b3afc,_0x5309e5)[_0x44291d(0x215)](_0x35f9ab);};}});var _0x48f4f4=_0x3d64e1['algo']={};return _0x3d64e1;}(Math);return _0x220769;}));}(Ge)),Ge[_0x166f28(0x24b)];}var Ke={'exports':{}},Vs=Ke[_0x2776ba(0x24b)],ei;function Ui(){var _0x40c90c=_0x2776ba;return ei||(ei=0x1,function(_0x17cd5a,_0x32fdc5){(function(_0x245b93,_0x22ac37){var _0x27fa44=_0x533f;_0x17cd5a[_0x27fa44(0x24b)]=_0x22ac37(ne());}(Vs,function(_0x3827b6){var _0x55f7ca=_0x533f;return(function(){var _0xf9f778=_0x533f,_0x31170e=_0x3827b6,_0xf15dfd=_0x31170e[_0xf9f778(0x2b6)],_0x11cb1e=_0xf15dfd[_0xf9f778(0x33e)],_0x408a07=_0x31170e[_0xf9f778(0x45c)];_0x408a07[_0xf9f778(0x226)]={'stringify':function(_0x3a2b47){var _0x231abb=_0xf9f778,_0x2ca017=_0x3a2b47[_0x231abb(0x1c0)],_0x2fb037=_0x3a2b47[_0x231abb(0x2b9)],_0x481709=this[_0x231abb(0x446)];_0x3a2b47['clamp']();for(var _0x36e010=[],_0xf9cb60=0x0;_0xf9cb60<_0x2fb037;_0xf9cb60+=0x3)for(var _0x128cae=_0x2ca017[_0xf9cb60>>>0x2]>>>0x18-_0xf9cb60%0x4*0x8&0xff,_0x206c86=_0x2ca017[_0xf9cb60+0x1>>>0x2]>>>0x18-(_0xf9cb60+0x1)%0x4*0x8&0xff,_0x1eec1e=_0x2ca017[_0xf9cb60+0x2>>>0x2]>>>0x18-(_0xf9cb60+0x2)%0x4*0x8&0xff,_0x1d9c3b=_0x128cae<<0x10|_0x206c86<<0x8|_0x1eec1e,_0x29e02a=0x0;_0x29e02a<0x4&&_0xf9cb60+_0x29e02a*0.75<_0x2fb037;_0x29e02a++)_0x36e010[_0x231abb(0x306)](_0x481709['charAt'](_0x1d9c3b>>>0x6*(0x3-_0x29e02a)&0x3f));var _0x31e71c=_0x481709[_0x231abb(0x46b)](0x40);if(_0x31e71c){for(;_0x36e010[_0x231abb(0x2a6)]%0x4;)_0x36e010[_0x231abb(0x306)](_0x31e71c);}return _0x36e010[_0x231abb(0x2e9)]('');},'parse':function(_0x7273d){var _0x134e6e=_0xf9f778,_0x32726f=_0x7273d[_0x134e6e(0x2a6)],_0x41e4cb=this[_0x134e6e(0x446)],_0x3bf9cf=this[_0x134e6e(0x336)];if(!_0x3bf9cf){_0x3bf9cf=this['_reverseMap']=[];for(var _0x3cc534=0x0;_0x3cc534<_0x41e4cb[_0x134e6e(0x2a6)];_0x3cc534++)_0x3bf9cf[_0x41e4cb[_0x134e6e(0x303)](_0x3cc534)]=_0x3cc534;}var _0x40280b=_0x41e4cb[_0x134e6e(0x46b)](0x40);if(_0x40280b){var _0x1fd18b=_0x7273d['indexOf'](_0x40280b);_0x1fd18b!==-0x1&&(_0x32726f=_0x1fd18b);}return _0x42d005(_0x7273d,_0x32726f,_0x3bf9cf);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x42d005(_0x429b48,_0xfadf83,_0x2b6754){var _0x4cbe15=_0xf9f778;for(var _0x216af0=[],_0x6c4678=0x0,_0x52269a=0x0;_0x52269a<_0xfadf83;_0x52269a++)if(_0x52269a%0x4){var _0x38e64b=_0x2b6754[_0x429b48['charCodeAt'](_0x52269a-0x1)]<<_0x52269a%0x4*0x2,_0x1d3aa6=_0x2b6754[_0x429b48['charCodeAt'](_0x52269a)]>>>0x6-_0x52269a%0x4*0x2,_0x4a71d5=_0x38e64b|_0x1d3aa6;_0x216af0[_0x6c4678>>>0x2]|=_0x4a71d5<<0x18-_0x6c4678%0x4*0x8,_0x6c4678++;}return _0x11cb1e[_0x4cbe15(0x268)](_0x216af0,_0x6c4678);}}()),_0x3827b6[_0x55f7ca(0x45c)][_0x55f7ca(0x226)];}));}(Ke)),Ke[_0x40c90c(0x24b)];}var ze={'exports':{}},Ws=ze[_0x2776ba(0x24b)],ti;function Gs(){var _0x489b8e=_0x2776ba;return ti||(ti=0x1,function(_0x1d6458,_0x3c1d2b){(function(_0x438941,_0x185009){_0x1d6458['exports']=_0x185009(ne());}(Ws,function(_0x149c06){var _0x2a8ee9=_0x533f;return function(_0x19b7e8){var _0x32f2fe=_0x533f,_0x2692f5=_0x149c06,_0x47f698=_0x2692f5[_0x32f2fe(0x2b6)],_0x6e9ccc=_0x47f698[_0x32f2fe(0x33e)],_0x5127e6=_0x47f698[_0x32f2fe(0x3e9)],_0x3f7bc3=_0x2692f5[_0x32f2fe(0x323)],_0x338a4e=[];(function(){for(var _0xc7be39=0x0;_0xc7be39<0x40;_0xc7be39++)_0x338a4e[_0xc7be39]=_0x19b7e8['abs'](_0x19b7e8['sin'](_0xc7be39+0x1))*0x100000000|0x0;}());var _0x19b4fc=_0x3f7bc3['MD5']=_0x5127e6['extend']({'_doReset':function(){var _0xd8b6f4=_0x32f2fe;this[_0xd8b6f4(0x29e)]=new _0x6e9ccc[(_0xd8b6f4(0x1c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3ccefb,_0x1298c0){for(var _0x437d08=0x0;_0x437d08<0x10;_0x437d08++){var _0x2bdcb1=_0x1298c0+_0x437d08,_0x29fa0f=_0x3ccefb[_0x2bdcb1];_0x3ccefb[_0x2bdcb1]=(_0x29fa0f<<0x8|_0x29fa0f>>>0x18)&0xff00ff|(_0x29fa0f<<0x18|_0x29fa0f>>>0x8)&0xff00ff00;}var _0xd96bac=this['_hash']['words'],_0x27511f=_0x3ccefb[_0x1298c0+0x0],_0x8e59c8=_0x3ccefb[_0x1298c0+0x1],_0x533f85=_0x3ccefb[_0x1298c0+0x2],_0xa1eede=_0x3ccefb[_0x1298c0+0x3],_0x2181a2=_0x3ccefb[_0x1298c0+0x4],_0xb16454=_0x3ccefb[_0x1298c0+0x5],_0x33e9d0=_0x3ccefb[_0x1298c0+0x6],_0x6b2426=_0x3ccefb[_0x1298c0+0x7],_0xfaf487=_0x3ccefb[_0x1298c0+0x8],_0x50439d=_0x3ccefb[_0x1298c0+0x9],_0xb486da=_0x3ccefb[_0x1298c0+0xa],_0x3157b8=_0x3ccefb[_0x1298c0+0xb],_0xe74ce=_0x3ccefb[_0x1298c0+0xc],_0x383a5f=_0x3ccefb[_0x1298c0+0xd],_0x2d3230=_0x3ccefb[_0x1298c0+0xe],_0x2da15f=_0x3ccefb[_0x1298c0+0xf],_0x1b7135=_0xd96bac[0x0],_0x26d179=_0xd96bac[0x1],_0xc9c149=_0xd96bac[0x2],_0x5127a2=_0xd96bac[0x3];_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x27511f,0x7,_0x338a4e[0x0]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x8e59c8,0xc,_0x338a4e[0x1]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x533f85,0x11,_0x338a4e[0x2]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xa1eede,0x16,_0x338a4e[0x3]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x2181a2,0x7,_0x338a4e[0x4]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xb16454,0xc,_0x338a4e[0x5]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x33e9d0,0x11,_0x338a4e[0x6]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x6b2426,0x16,_0x338a4e[0x7]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xfaf487,0x7,_0x338a4e[0x8]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x50439d,0xc,_0x338a4e[0x9]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xb486da,0x11,_0x338a4e[0xa]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x3157b8,0x16,_0x338a4e[0xb]),_0x1b7135=_0x414f07(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xe74ce,0x7,_0x338a4e[0xc]),_0x5127a2=_0x414f07(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x383a5f,0xc,_0x338a4e[0xd]),_0xc9c149=_0x414f07(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2d3230,0x11,_0x338a4e[0xe]),_0x26d179=_0x414f07(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2da15f,0x16,_0x338a4e[0xf]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x8e59c8,0x5,_0x338a4e[0x10]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x33e9d0,0x9,_0x338a4e[0x11]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x3157b8,0xe,_0x338a4e[0x12]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x27511f,0x14,_0x338a4e[0x13]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xb16454,0x5,_0x338a4e[0x14]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xb486da,0x9,_0x338a4e[0x15]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2da15f,0xe,_0x338a4e[0x16]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2181a2,0x14,_0x338a4e[0x17]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x50439d,0x5,_0x338a4e[0x18]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2d3230,0x9,_0x338a4e[0x19]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xa1eede,0xe,_0x338a4e[0x1a]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xfaf487,0x14,_0x338a4e[0x1b]),_0x1b7135=_0x6a852b(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x383a5f,0x5,_0x338a4e[0x1c]),_0x5127a2=_0x6a852b(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x533f85,0x9,_0x338a4e[0x1d]),_0xc9c149=_0x6a852b(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x6b2426,0xe,_0x338a4e[0x1e]),_0x26d179=_0x6a852b(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xe74ce,0x14,_0x338a4e[0x1f]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xb16454,0x4,_0x338a4e[0x20]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xfaf487,0xb,_0x338a4e[0x21]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x3157b8,0x10,_0x338a4e[0x22]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x2d3230,0x17,_0x338a4e[0x23]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x8e59c8,0x4,_0x338a4e[0x24]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2181a2,0xb,_0x338a4e[0x25]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x6b2426,0x10,_0x338a4e[0x26]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xb486da,0x17,_0x338a4e[0x27]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x383a5f,0x4,_0x338a4e[0x28]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x27511f,0xb,_0x338a4e[0x29]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xa1eede,0x10,_0x338a4e[0x2a]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x33e9d0,0x17,_0x338a4e[0x2b]),_0x1b7135=_0x547937(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x50439d,0x4,_0x338a4e[0x2c]),_0x5127a2=_0x547937(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xe74ce,0xb,_0x338a4e[0x2d]),_0xc9c149=_0x547937(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2da15f,0x10,_0x338a4e[0x2e]),_0x26d179=_0x547937(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x533f85,0x17,_0x338a4e[0x2f]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x27511f,0x6,_0x338a4e[0x30]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x6b2426,0xa,_0x338a4e[0x31]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x2d3230,0xf,_0x338a4e[0x32]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0xb16454,0x15,_0x338a4e[0x33]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xe74ce,0x6,_0x338a4e[0x34]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0xa1eede,0xa,_0x338a4e[0x35]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0xb486da,0xf,_0x338a4e[0x36]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x8e59c8,0x15,_0x338a4e[0x37]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0xfaf487,0x6,_0x338a4e[0x38]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x2da15f,0xa,_0x338a4e[0x39]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x33e9d0,0xf,_0x338a4e[0x3a]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x383a5f,0x15,_0x338a4e[0x3b]),_0x1b7135=_0x2119fa(_0x1b7135,_0x26d179,_0xc9c149,_0x5127a2,_0x2181a2,0x6,_0x338a4e[0x3c]),_0x5127a2=_0x2119fa(_0x5127a2,_0x1b7135,_0x26d179,_0xc9c149,_0x3157b8,0xa,_0x338a4e[0x3d]),_0xc9c149=_0x2119fa(_0xc9c149,_0x5127a2,_0x1b7135,_0x26d179,_0x533f85,0xf,_0x338a4e[0x3e]),_0x26d179=_0x2119fa(_0x26d179,_0xc9c149,_0x5127a2,_0x1b7135,_0x50439d,0x15,_0x338a4e[0x3f]),_0xd96bac[0x0]=_0xd96bac[0x0]+_0x1b7135|0x0,_0xd96bac[0x1]=_0xd96bac[0x1]+_0x26d179|0x0,_0xd96bac[0x2]=_0xd96bac[0x2]+_0xc9c149|0x0,_0xd96bac[0x3]=_0xd96bac[0x3]+_0x5127a2|0x0;},'_doFinalize':function(){var _0x377fcb=_0x32f2fe,_0x13467d=this['_data'],_0x3d2f62=_0x13467d[_0x377fcb(0x1c0)],_0x4c50e1=this['_nDataBytes']*0x8,_0x13f488=_0x13467d[_0x377fcb(0x2b9)]*0x8;_0x3d2f62[_0x13f488>>>0x5]|=0x80<<0x18-_0x13f488%0x20;var _0x49cd0e=_0x19b7e8[_0x377fcb(0x2b2)](_0x4c50e1/0x100000000),_0x29ee4b=_0x4c50e1;_0x3d2f62[(_0x13f488+0x40>>>0x9<<0x4)+0xf]=(_0x49cd0e<<0x8|_0x49cd0e>>>0x18)&0xff00ff|(_0x49cd0e<<0x18|_0x49cd0e>>>0x8)&0xff00ff00,_0x3d2f62[(_0x13f488+0x40>>>0x9<<0x4)+0xe]=(_0x29ee4b<<0x8|_0x29ee4b>>>0x18)&0xff00ff|(_0x29ee4b<<0x18|_0x29ee4b>>>0x8)&0xff00ff00,_0x13467d[_0x377fcb(0x2b9)]=(_0x3d2f62[_0x377fcb(0x2a6)]+0x1)*0x4,this[_0x377fcb(0x24e)]();for(var _0x307790=this[_0x377fcb(0x29e)],_0x3be75d=_0x307790['words'],_0x515b84=0x0;_0x515b84<0x4;_0x515b84++){var _0x4608c2=_0x3be75d[_0x515b84];_0x3be75d[_0x515b84]=(_0x4608c2<<0x8|_0x4608c2>>>0x18)&0xff00ff|(_0x4608c2<<0x18|_0x4608c2>>>0x8)&0xff00ff00;}return _0x307790;},'clone':function(){var _0x517323=_0x32f2fe,_0x16246c=_0x5127e6[_0x517323(0x330)][_0x517323(0x3ae)](this);return _0x16246c[_0x517323(0x29e)]=this['_hash'][_0x517323(0x330)](),_0x16246c;}});function _0x414f07(_0x523dd6,_0x1e3cc2,_0x519605,_0xdfc890,_0x4910b5,_0xb6d91,_0x4b54d8){var _0x5b29ff=_0x523dd6+(_0x1e3cc2&_0x519605|~_0x1e3cc2&_0xdfc890)+_0x4910b5+_0x4b54d8;return(_0x5b29ff<<_0xb6d91|_0x5b29ff>>>0x20-_0xb6d91)+_0x1e3cc2;}function _0x6a852b(_0x4174b5,_0x5c407e,_0xb12e2,_0x3119c9,_0x274f21,_0x477015,_0x517f2a){var _0x22399c=_0x4174b5+(_0x5c407e&_0x3119c9|_0xb12e2&~_0x3119c9)+_0x274f21+_0x517f2a;return(_0x22399c<<_0x477015|_0x22399c>>>0x20-_0x477015)+_0x5c407e;}function _0x547937(_0x37441a,_0x464d29,_0x304def,_0x37761f,_0x1efe2b,_0x1e35b9,_0x20f607){var _0x574f58=_0x37441a+(_0x464d29^_0x304def^_0x37761f)+_0x1efe2b+_0x20f607;return(_0x574f58<<_0x1e35b9|_0x574f58>>>0x20-_0x1e35b9)+_0x464d29;}function _0x2119fa(_0x20538e,_0x38e928,_0xd4d64c,_0x26d861,_0x5704f5,_0x132f35,_0x49c4c8){var _0x3856bc=_0x20538e+(_0xd4d64c^(_0x38e928|~_0x26d861))+_0x5704f5+_0x49c4c8;return(_0x3856bc<<_0x132f35|_0x3856bc>>>0x20-_0x132f35)+_0x38e928;}_0x2692f5[_0x32f2fe(0x2e7)]=_0x5127e6[_0x32f2fe(0x3bf)](_0x19b4fc),_0x2692f5[_0x32f2fe(0x2d1)]=_0x5127e6[_0x32f2fe(0x451)](_0x19b4fc);}(Math),_0x149c06[_0x2a8ee9(0x2e7)];}));}(ze)),ze[_0x489b8e(0x24b)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x2776ba(0x24b)],ii;function zs(){var _0x49c917=_0x2776ba;return ii||(ii=0x1,function(_0x45150f,_0xed7900){(function(_0x2b71b9,_0x595caa){var _0xdfefb4=_0x533f;_0x45150f[_0xdfefb4(0x24b)]=_0x595caa(ne());}(Ks,function(_0x2d26eb){return(function(){var _0x5558d9=_0x533f,_0x3ae49a=_0x2d26eb,_0xfb629e=_0x3ae49a[_0x5558d9(0x2b6)],_0x2f3e84=_0xfb629e[_0x5558d9(0x33e)],_0x40a197=_0xfb629e[_0x5558d9(0x3e9)],_0x517ec9=_0x3ae49a[_0x5558d9(0x323)],_0x35c99a=[],_0x4adc45=_0x517ec9[_0x5558d9(0x2cb)]=_0x40a197['extend']({'_doReset':function(){var _0x5615dd=_0x5558d9;this[_0x5615dd(0x29e)]=new _0x2f3e84[(_0x5615dd(0x1c1))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x51192e,_0x7bb38d){var _0x5ec61c=_0x5558d9;for(var _0x10ff00=this['_hash'][_0x5ec61c(0x1c0)],_0x33ffbc=_0x10ff00[0x0],_0x44ca82=_0x10ff00[0x1],_0x1c094e=_0x10ff00[0x2],_0x2b5892=_0x10ff00[0x3],_0x3512b7=_0x10ff00[0x4],_0x8b85ee=0x0;_0x8b85ee<0x50;_0x8b85ee++){if(_0x8b85ee<0x10)_0x35c99a[_0x8b85ee]=_0x51192e[_0x7bb38d+_0x8b85ee]|0x0;else{var _0x52ec93=_0x35c99a[_0x8b85ee-0x3]^_0x35c99a[_0x8b85ee-0x8]^_0x35c99a[_0x8b85ee-0xe]^_0x35c99a[_0x8b85ee-0x10];_0x35c99a[_0x8b85ee]=_0x52ec93<<0x1|_0x52ec93>>>0x1f;}var _0x5373bf=(_0x33ffbc<<0x5|_0x33ffbc>>>0x1b)+_0x3512b7+_0x35c99a[_0x8b85ee];_0x8b85ee<0x14?_0x5373bf+=(_0x44ca82&_0x1c094e|~_0x44ca82&_0x2b5892)+0x5a827999:_0x8b85ee<0x28?_0x5373bf+=(_0x44ca82^_0x1c094e^_0x2b5892)+0x6ed9eba1:_0x8b85ee<0x3c?_0x5373bf+=(_0x44ca82&_0x1c094e|_0x44ca82&_0x2b5892|_0x1c094e&_0x2b5892)-0x70e44324:_0x5373bf+=(_0x44ca82^_0x1c094e^_0x2b5892)-0x359d3e2a,_0x3512b7=_0x2b5892,_0x2b5892=_0x1c094e,_0x1c094e=_0x44ca82<<0x1e|_0x44ca82>>>0x2,_0x44ca82=_0x33ffbc,_0x33ffbc=_0x5373bf;}_0x10ff00[0x0]=_0x10ff00[0x0]+_0x33ffbc|0x0,_0x10ff00[0x1]=_0x10ff00[0x1]+_0x44ca82|0x0,_0x10ff00[0x2]=_0x10ff00[0x2]+_0x1c094e|0x0,_0x10ff00[0x3]=_0x10ff00[0x3]+_0x2b5892|0x0,_0x10ff00[0x4]=_0x10ff00[0x4]+_0x3512b7|0x0;},'_doFinalize':function(){var _0x131eff=_0x5558d9,_0x3d40a7=this[_0x131eff(0x2eb)],_0x1168ae=_0x3d40a7['words'],_0x278409=this[_0x131eff(0x19f)]*0x8,_0x490059=_0x3d40a7[_0x131eff(0x2b9)]*0x8;return _0x1168ae[_0x490059>>>0x5]|=0x80<<0x18-_0x490059%0x20,_0x1168ae[(_0x490059+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x278409/0x100000000),_0x1168ae[(_0x490059+0x40>>>0x9<<0x4)+0xf]=_0x278409,_0x3d40a7[_0x131eff(0x2b9)]=_0x1168ae['length']*0x4,this[_0x131eff(0x24e)](),this['_hash'];},'clone':function(){var _0x557182=_0x5558d9,_0x18ede7=_0x40a197[_0x557182(0x330)][_0x557182(0x3ae)](this);return _0x18ede7[_0x557182(0x29e)]=this[_0x557182(0x29e)]['clone'](),_0x18ede7;}});_0x3ae49a[_0x5558d9(0x2cb)]=_0x40a197[_0x5558d9(0x3bf)](_0x4adc45),_0x3ae49a['HmacSHA1']=_0x40a197[_0x5558d9(0x451)](_0x4adc45);}()),_0x2d26eb['SHA1'];}));}(qe)),qe[_0x49c917(0x24b)];}var Je={'exports':{}},Ys=Je[_0x2776ba(0x24b)],ni;function qs(){var _0x44e822=_0x2776ba;return ni||(ni=0x1,function(_0x42b583,_0x18d5f3){(function(_0x28c72b,_0x2aef8e){var _0x4ff537=_0x533f;_0x42b583[_0x4ff537(0x24b)]=_0x2aef8e(ne());}(Ys,function(_0x175950){(function(){var _0x4917ef=_0x533f,_0x56f2a7=_0x175950,_0x2da8bd=_0x56f2a7[_0x4917ef(0x2b6)],_0x5c5f88=_0x2da8bd['Base'],_0x4dd525=_0x56f2a7[_0x4917ef(0x45c)],_0x4499cb=_0x4dd525['Utf8'],_0x2150a2=_0x56f2a7[_0x4917ef(0x323)];_0x2150a2[_0x4917ef(0x2d3)]=_0x5c5f88[_0x4917ef(0x1c4)]({'init':function(_0x33336d,_0x59db04){var _0x3f180c=_0x4917ef;_0x33336d=this[_0x3f180c(0x1cb)]=new _0x33336d['init'](),typeof _0x59db04==_0x3f180c(0x199)&&(_0x59db04=_0x4499cb[_0x3f180c(0x3b0)](_0x59db04));var _0x1be480=_0x33336d[_0x3f180c(0x45e)],_0x435aab=_0x1be480*0x4;_0x59db04[_0x3f180c(0x2b9)]>_0x435aab&&(_0x59db04=_0x33336d['finalize'](_0x59db04)),_0x59db04[_0x3f180c(0x29f)]();for(var _0x1006c2=this[_0x3f180c(0x305)]=_0x59db04[_0x3f180c(0x330)](),_0x1f48da=this[_0x3f180c(0x24a)]=_0x59db04[_0x3f180c(0x330)](),_0x35f714=_0x1006c2['words'],_0x4a53ba=_0x1f48da[_0x3f180c(0x1c0)],_0xe1f295=0x0;_0xe1f295<_0x1be480;_0xe1f295++)_0x35f714[_0xe1f295]^=0x5c5c5c5c,_0x4a53ba[_0xe1f295]^=0x36363636;_0x1006c2[_0x3f180c(0x2b9)]=_0x1f48da[_0x3f180c(0x2b9)]=_0x435aab,this[_0x3f180c(0x2c6)]();},'reset':function(){var _0x296039=_0x4917ef,_0x15e64f=this['_hasher'];_0x15e64f['reset'](),_0x15e64f['update'](this[_0x296039(0x24a)]);},'update':function(_0x48a61e){var _0x3725bc=_0x4917ef;return this[_0x3725bc(0x1cb)][_0x3725bc(0x3cc)](_0x48a61e),this;},'finalize':function(_0x265ca5){var _0x1aefff=_0x4917ef,_0x4d2e0b=this[_0x1aefff(0x1cb)],_0x2c00a5=_0x4d2e0b[_0x1aefff(0x215)](_0x265ca5);_0x4d2e0b[_0x1aefff(0x2c6)]();var _0x10d1e1=_0x4d2e0b[_0x1aefff(0x215)](this[_0x1aefff(0x305)]['clone']()[_0x1aefff(0x2fb)](_0x2c00a5));return _0x10d1e1;}});}());}));}(Je)),Je[_0x44e822(0x24b)];}var Js=Ye[_0x2776ba(0x24b)],si;function Ai(){var _0x20da9d=_0x2776ba;return si||(si=0x1,function(_0x5b6e06,_0x44fac7){(function(_0x422ebc,_0x362c52,_0x29d47b){var _0x4ba238=_0x533f;_0x5b6e06[_0x4ba238(0x24b)]=_0x362c52(ne(),zs(),qs());}(Js,function(_0x5062d1){var _0x371445=_0x533f;return(function(){var _0x477246=_0x533f,_0x2a701b=_0x5062d1,_0x4bfa56=_0x2a701b[_0x477246(0x2b6)],_0x13ec10=_0x4bfa56[_0x477246(0x279)],_0x536894=_0x4bfa56['WordArray'],_0x33c933=_0x2a701b[_0x477246(0x323)],_0x2f4f68=_0x33c933['MD5'],_0x13eb56=_0x33c933[_0x477246(0x1c6)]=_0x13ec10[_0x477246(0x1c4)]({'cfg':_0x13ec10[_0x477246(0x1c4)]({'keySize':0x80/0x20,'hasher':_0x2f4f68,'iterations':0x1}),'init':function(_0x3178ee){var _0x228185=_0x477246;this[_0x228185(0x3a2)]=this[_0x228185(0x3a2)][_0x228185(0x1c4)](_0x3178ee);},'compute':function(_0x1f8549,_0x14960c){var _0x4f79ca=_0x477246;for(var _0x4f5041,_0x4f66c1=this['cfg'],_0x38422e=_0x4f66c1['hasher'][_0x4f79ca(0x268)](),_0x1c3e36=_0x536894[_0x4f79ca(0x268)](),_0x29053f=_0x1c3e36[_0x4f79ca(0x1c0)],_0xa51a15=_0x4f66c1['keySize'],_0x41ecde=_0x4f66c1['iterations'];_0x29053f[_0x4f79ca(0x2a6)]<_0xa51a15;){_0x4f5041&&_0x38422e[_0x4f79ca(0x3cc)](_0x4f5041),_0x4f5041=_0x38422e['update'](_0x1f8549)[_0x4f79ca(0x215)](_0x14960c),_0x38422e[_0x4f79ca(0x2c6)]();for(var _0x2382d2=0x1;_0x2382d2<_0x41ecde;_0x2382d2++)_0x4f5041=_0x38422e['finalize'](_0x4f5041),_0x38422e['reset']();_0x1c3e36[_0x4f79ca(0x2fb)](_0x4f5041);}return _0x1c3e36['sigBytes']=_0xa51a15*0x4,_0x1c3e36;}});_0x2a701b['EvpKDF']=function(_0x2fc319,_0x7a1603,_0x1469c1){var _0x5b87cd=_0x477246;return _0x13eb56[_0x5b87cd(0x268)](_0x1469c1)[_0x5b87cd(0x3f0)](_0x2fc319,_0x7a1603);};}()),_0x5062d1[_0x371445(0x1c6)];}));}(Ye)),Ye[_0x20da9d(0x24b)];}var Xe={'exports':{}},Xs=Xe['exports'],ri;function xi(){var _0x529707=_0x2776ba;return ri||(ri=0x1,function(_0x47bdc8,_0x10591c){(function(_0x13be30,_0x28d387,_0x52b3c4){_0x47bdc8['exports']=_0x28d387(ne(),Ai());}(Xs,function(_0x110d13){var _0x6a78b1=_0x533f;_0x110d13[_0x6a78b1(0x2b6)][_0x6a78b1(0x1b7)]||function(_0xaab9d4){var _0x562188=_0x6a78b1,_0x2688e6=_0x110d13,_0x3b2acb=_0x2688e6[_0x562188(0x2b6)],_0x318427=_0x3b2acb[_0x562188(0x279)],_0x4b1824=_0x3b2acb[_0x562188(0x33e)],_0x411ad9=_0x3b2acb['BufferedBlockAlgorithm'],_0x192e7e=_0x2688e6[_0x562188(0x45c)];_0x192e7e[_0x562188(0x1de)];var _0x3f4780=_0x192e7e[_0x562188(0x226)],_0x16517c=_0x2688e6[_0x562188(0x323)],_0x3c0968=_0x16517c[_0x562188(0x1c6)],_0x3a58af=_0x3b2acb[_0x562188(0x1b7)]=_0x411ad9[_0x562188(0x1c4)]({'cfg':_0x318427[_0x562188(0x1c4)](),'createEncryptor':function(_0xd03de9,_0x23a923){var _0x1d4132=_0x562188;return this[_0x1d4132(0x268)](this[_0x1d4132(0x312)],_0xd03de9,_0x23a923);},'createDecryptor':function(_0x1b47eb,_0xfc15cc){var _0x404e40=_0x562188;return this[_0x404e40(0x268)](this['_DEC_XFORM_MODE'],_0x1b47eb,_0xfc15cc);},'init':function(_0x16888a,_0x3ebe11,_0x2cc243){var _0x10d49c=_0x562188;this[_0x10d49c(0x3a2)]=this[_0x10d49c(0x3a2)][_0x10d49c(0x1c4)](_0x2cc243),this[_0x10d49c(0x32f)]=_0x16888a,this[_0x10d49c(0x26f)]=_0x3ebe11,this[_0x10d49c(0x2c6)]();},'reset':function(){var _0x20456b=_0x562188;_0x411ad9[_0x20456b(0x2c6)]['call'](this),this[_0x20456b(0x2d5)]();},'process':function(_0x2a88b6){var _0x3e7551=_0x562188;return this[_0x3e7551(0x204)](_0x2a88b6),this['_process']();},'finalize':function(_0x1e0604){_0x1e0604&&this['_append'](_0x1e0604);var _0x525ad1=this['_doFinalize']();return _0x525ad1;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x489eb3(_0x2abfe9){var _0x3182d0=_0x533f;return typeof _0x2abfe9==_0x3182d0(0x199)?_0x370667:_0x27223e;}return function(_0x53dff0){return{'encrypt':function(_0x25c847,_0xcc6f9,_0x5c2a4f){var _0x8fdf1c=_0x533f;return _0x489eb3(_0xcc6f9)[_0x8fdf1c(0x212)](_0x53dff0,_0x25c847,_0xcc6f9,_0x5c2a4f);},'decrypt':function(_0x5a6048,_0x101f72,_0x3866fa){var _0x2dc516=_0x533f;return _0x489eb3(_0x101f72)[_0x2dc516(0x385)](_0x53dff0,_0x5a6048,_0x101f72,_0x3866fa);}};};}())});_0x3b2acb[_0x562188(0x1ba)]=_0x3a58af[_0x562188(0x1c4)]({'_doFinalize':function(){var _0x458dc9=_0x562188,_0x1ab804=this[_0x458dc9(0x24e)](!0x0);return _0x1ab804;},'blockSize':0x1});var _0x3bb3f2=_0x2688e6[_0x562188(0x2bb)]={},_0x13f29d=_0x3b2acb[_0x562188(0x319)]=_0x318427['extend']({'createEncryptor':function(_0xc429ab,_0xfc6cc2){return this['Encryptor']['create'](_0xc429ab,_0xfc6cc2);},'createDecryptor':function(_0x2df69a,_0x2417a4){var _0x57667e=_0x562188;return this[_0x57667e(0x449)][_0x57667e(0x268)](_0x2df69a,_0x2417a4);},'init':function(_0x52d30a,_0x42f3d1){var _0x5746c2=_0x562188;this[_0x5746c2(0x1d1)]=_0x52d30a,this['_iv']=_0x42f3d1;}}),_0x4de66e=_0x3bb3f2[_0x562188(0x19b)]=(function(){var _0x50bed0=_0x562188,_0x1234e4=_0x13f29d[_0x50bed0(0x1c4)]();_0x1234e4[_0x50bed0(0x18e)]=_0x1234e4[_0x50bed0(0x1c4)]({'processBlock':function(_0x285fdb,_0x1cf156){var _0x5c1ed6=_0x50bed0,_0x4464be=this[_0x5c1ed6(0x1d1)],_0x2b5920=_0x4464be[_0x5c1ed6(0x45e)];_0x4a930b['call'](this,_0x285fdb,_0x1cf156,_0x2b5920),_0x4464be['encryptBlock'](_0x285fdb,_0x1cf156),this['_prevBlock']=_0x285fdb['slice'](_0x1cf156,_0x1cf156+_0x2b5920);}}),_0x1234e4[_0x50bed0(0x449)]=_0x1234e4[_0x50bed0(0x1c4)]({'processBlock':function(_0x58e5d5,_0x4aa941){var _0x5de373=_0x50bed0,_0xe09823=this['_cipher'],_0xbc3f9f=_0xe09823[_0x5de373(0x45e)],_0x38a52d=_0x58e5d5[_0x5de373(0x2f1)](_0x4aa941,_0x4aa941+_0xbc3f9f);_0xe09823[_0x5de373(0x227)](_0x58e5d5,_0x4aa941),_0x4a930b[_0x5de373(0x3ae)](this,_0x58e5d5,_0x4aa941,_0xbc3f9f),this[_0x5de373(0x25f)]=_0x38a52d;}});function _0x4a930b(_0x9f964f,_0x27c3fe,_0xde9151){var _0x1be215=_0x50bed0,_0x33275a,_0x5cc9e9=this['_iv'];_0x5cc9e9?(_0x33275a=_0x5cc9e9,this['_iv']=_0xaab9d4):_0x33275a=this[_0x1be215(0x25f)];for(var _0x48b200=0x0;_0x48b200<_0xde9151;_0x48b200++)_0x9f964f[_0x27c3fe+_0x48b200]^=_0x33275a[_0x48b200];}return _0x1234e4;}()),_0x305525=_0x2688e6[_0x562188(0x361)]={},_0x211e67=_0x305525[_0x562188(0x27d)]={'pad':function(_0x2400cc,_0x2eabf3){var _0x2518f0=_0x562188;for(var _0x210be6=_0x2eabf3*0x4,_0x47938c=_0x210be6-_0x2400cc[_0x2518f0(0x2b9)]%_0x210be6,_0x10a164=_0x47938c<<0x18|_0x47938c<<0x10|_0x47938c<<0x8|_0x47938c,_0x2c6c7d=[],_0x18fd94=0x0;_0x18fd94<_0x47938c;_0x18fd94+=0x4)_0x2c6c7d[_0x2518f0(0x306)](_0x10a164);var _0x5a1632=_0x4b1824[_0x2518f0(0x268)](_0x2c6c7d,_0x47938c);_0x2400cc['concat'](_0x5a1632);},'unpad':function(_0x1aed88){var _0xa7076b=_0x562188,_0xcd46b1=_0x1aed88['words'][_0x1aed88[_0xa7076b(0x2b9)]-0x1>>>0x2]&0xff;_0x1aed88[_0xa7076b(0x2b9)]-=_0xcd46b1;}};_0x3b2acb[_0x562188(0x3d0)]=_0x3a58af[_0x562188(0x1c4)]({'cfg':_0x3a58af[_0x562188(0x3a2)]['extend']({'mode':_0x4de66e,'padding':_0x211e67}),'reset':function(){var _0x57146f=_0x562188,_0x457974;_0x3a58af[_0x57146f(0x2c6)]['call'](this);var _0x362de2=this['cfg'],_0x543fe3=_0x362de2['iv'],_0x513842=_0x362de2[_0x57146f(0x2bb)];this[_0x57146f(0x32f)]==this[_0x57146f(0x312)]?_0x457974=_0x513842[_0x57146f(0x1e0)]:(_0x457974=_0x513842[_0x57146f(0x2ea)],this['_minBufferSize']=0x1),this[_0x57146f(0x1df)]&&this['_mode'][_0x57146f(0x425)]==_0x457974?this['_mode'][_0x57146f(0x1c1)](this,_0x543fe3&&_0x543fe3[_0x57146f(0x1c0)]):(this[_0x57146f(0x1df)]=_0x457974[_0x57146f(0x3ae)](_0x513842,this,_0x543fe3&&_0x543fe3['words']),this[_0x57146f(0x1df)][_0x57146f(0x425)]=_0x457974);},'_doProcessBlock':function(_0x16483d,_0x5a8546){var _0x1dbf89=_0x562188;this[_0x1dbf89(0x1df)][_0x1dbf89(0x1ea)](_0x16483d,_0x5a8546);},'_doFinalize':function(){var _0x4de316=_0x562188,_0x266fd9,_0x2d3eda=this[_0x4de316(0x3a2)][_0x4de316(0x264)];return this[_0x4de316(0x32f)]==this[_0x4de316(0x312)]?(_0x2d3eda[_0x4de316(0x361)](this[_0x4de316(0x2eb)],this[_0x4de316(0x45e)]),_0x266fd9=this['_process'](!0x0)):(_0x266fd9=this[_0x4de316(0x24e)](!0x0),_0x2d3eda[_0x4de316(0x2bc)](_0x266fd9)),_0x266fd9;},'blockSize':0x80/0x20});var _0x465426=_0x3b2acb[_0x562188(0x2c2)]=_0x318427[_0x562188(0x1c4)]({'init':function(_0x2d2ff8){var _0x80dd34=_0x562188;this[_0x80dd34(0x36e)](_0x2d2ff8);},'toString':function(_0x12c686){return(_0x12c686||this['formatter'])['stringify'](this);}}),_0x3830b0=_0x2688e6['format']={},_0x9d38d1=_0x3830b0[_0x562188(0x20c)]={'stringify':function(_0x4e96cd){var _0x3acf2c=_0x562188,_0x34dcec,_0x13fc92=_0x4e96cd[_0x3acf2c(0x1fa)],_0x336791=_0x4e96cd[_0x3acf2c(0x3f5)];return _0x336791?_0x34dcec=_0x4b1824[_0x3acf2c(0x268)]([0x53616c74,0x65645f5f])['concat'](_0x336791)[_0x3acf2c(0x2fb)](_0x13fc92):_0x34dcec=_0x13fc92,_0x34dcec[_0x3acf2c(0x39a)](_0x3f4780);},'parse':function(_0x36996a){var _0x35d41b=_0x562188,_0x5d4b1a,_0x510a78=_0x3f4780[_0x35d41b(0x3b0)](_0x36996a),_0x20e2bb=_0x510a78[_0x35d41b(0x1c0)];return _0x20e2bb[0x0]==0x53616c74&&_0x20e2bb[0x1]==0x65645f5f&&(_0x5d4b1a=_0x4b1824[_0x35d41b(0x268)](_0x20e2bb[_0x35d41b(0x2f1)](0x2,0x4)),_0x20e2bb[_0x35d41b(0x31c)](0x0,0x4),_0x510a78[_0x35d41b(0x2b9)]-=0x10),_0x465426[_0x35d41b(0x268)]({'ciphertext':_0x510a78,'salt':_0x5d4b1a});}},_0x27223e=_0x3b2acb[_0x562188(0x313)]=_0x318427[_0x562188(0x1c4)]({'cfg':_0x318427[_0x562188(0x1c4)]({'format':_0x9d38d1}),'encrypt':function(_0xd29479,_0x438915,_0x2b037c,_0x102522){var _0x30304a=_0x562188;_0x102522=this[_0x30304a(0x3a2)][_0x30304a(0x1c4)](_0x102522);var _0x264e74=_0xd29479[_0x30304a(0x1e0)](_0x2b037c,_0x102522),_0x26f875=_0x264e74[_0x30304a(0x215)](_0x438915),_0x396278=_0x264e74[_0x30304a(0x3a2)];return _0x465426[_0x30304a(0x268)]({'ciphertext':_0x26f875,'key':_0x2b037c,'iv':_0x396278['iv'],'algorithm':_0xd29479,'mode':_0x396278[_0x30304a(0x2bb)],'padding':_0x396278[_0x30304a(0x264)],'blockSize':_0xd29479[_0x30304a(0x45e)],'formatter':_0x102522[_0x30304a(0x3df)]});},'decrypt':function(_0x14756c,_0x40a8dc,_0x38a9c5,_0x2b9ba8){var _0x2d7477=_0x562188;_0x2b9ba8=this['cfg']['extend'](_0x2b9ba8),_0x40a8dc=this[_0x2d7477(0x184)](_0x40a8dc,_0x2b9ba8[_0x2d7477(0x3df)]);var _0x933fdf=_0x14756c[_0x2d7477(0x2ea)](_0x38a9c5,_0x2b9ba8)[_0x2d7477(0x215)](_0x40a8dc[_0x2d7477(0x1fa)]);return _0x933fdf;},'_parse':function(_0xab026b,_0x3f7d5d){var _0x2fe6f5=_0x562188;return typeof _0xab026b==_0x2fe6f5(0x199)?_0x3f7d5d['parse'](_0xab026b,this):_0xab026b;}}),_0x4749ae=_0x2688e6[_0x562188(0x2aa)]={},_0x5e6aae=_0x4749ae['OpenSSL']={'execute':function(_0x2b0668,_0x2df189,_0x58b51d,_0x1abb1b,_0x290e9c){var _0x42582f=_0x562188;if(_0x1abb1b||(_0x1abb1b=_0x4b1824[_0x42582f(0x3fa)](0x40/0x8)),_0x290e9c)var _0x4c9cff=_0x3c0968[_0x42582f(0x268)]({'keySize':_0x2df189+_0x58b51d,'hasher':_0x290e9c})[_0x42582f(0x3f0)](_0x2b0668,_0x1abb1b);else var _0x4c9cff=_0x3c0968[_0x42582f(0x268)]({'keySize':_0x2df189+_0x58b51d})['compute'](_0x2b0668,_0x1abb1b);var _0x20b892=_0x4b1824['create'](_0x4c9cff[_0x42582f(0x1c0)][_0x42582f(0x2f1)](_0x2df189),_0x58b51d*0x4);return _0x4c9cff[_0x42582f(0x2b9)]=_0x2df189*0x4,_0x465426['create']({'key':_0x4c9cff,'iv':_0x20b892,'salt':_0x1abb1b});}},_0x370667=_0x3b2acb['PasswordBasedCipher']=_0x27223e['extend']({'cfg':_0x27223e[_0x562188(0x3a2)]['extend']({'kdf':_0x5e6aae}),'encrypt':function(_0x726c9e,_0x48403d,_0x5acb1d,_0x11bcd9){var _0x2ea427=_0x562188;_0x11bcd9=this['cfg'][_0x2ea427(0x1c4)](_0x11bcd9);var _0xb9fe7e=_0x11bcd9[_0x2ea427(0x2aa)]['execute'](_0x5acb1d,_0x726c9e['keySize'],_0x726c9e[_0x2ea427(0x1da)],_0x11bcd9[_0x2ea427(0x3f5)],_0x11bcd9['hasher']);_0x11bcd9['iv']=_0xb9fe7e['iv'];var _0x43ad96=_0x27223e[_0x2ea427(0x212)]['call'](this,_0x726c9e,_0x48403d,_0xb9fe7e['key'],_0x11bcd9);return _0x43ad96[_0x2ea427(0x36e)](_0xb9fe7e),_0x43ad96;},'decrypt':function(_0x5893d3,_0x2dfeee,_0x36737d,_0x3e4290){var _0x182533=_0x562188;_0x3e4290=this[_0x182533(0x3a2)][_0x182533(0x1c4)](_0x3e4290),_0x2dfeee=this[_0x182533(0x184)](_0x2dfeee,_0x3e4290['format']);var _0x3da4db=_0x3e4290[_0x182533(0x2aa)][_0x182533(0x1f6)](_0x36737d,_0x5893d3[_0x182533(0x191)],_0x5893d3['ivSize'],_0x2dfeee[_0x182533(0x3f5)],_0x3e4290['hasher']);_0x3e4290['iv']=_0x3da4db['iv'];var _0x3d51d6=_0x27223e[_0x182533(0x385)][_0x182533(0x3ae)](this,_0x5893d3,_0x2dfeee,_0x3da4db[_0x182533(0x41b)],_0x3e4290);return _0x3d51d6;}});}();}));}(Xe)),Xe[_0x529707(0x24b)];}var Zs=We[_0x2776ba(0x24b)],oi;function Qs(){var _0x17d5bf=_0x2776ba;return oi||(oi=0x1,function(_0x8af36,_0x2cadef){(function(_0x3005ed,_0x4f8dfb,_0x419699){var _0x5d1502=_0x533f;_0x8af36[_0x5d1502(0x24b)]=_0x4f8dfb(ne(),Ui(),Gs(),Ai(),xi());}(Zs,function(_0x3ed6a0){var _0x5ae9fb=_0x533f;return(function(){var _0x1f31b=_0x533f,_0x523f70=_0x3ed6a0,_0x3b319d=_0x523f70['lib'],_0xbc3d49=_0x3b319d[_0x1f31b(0x3d0)],_0xd11c66=_0x523f70[_0x1f31b(0x323)],_0x4b546b=[],_0xf8b396=[],_0xbdeaeb=[],_0x59e911=[],_0xb23eac=[],_0x519bcc=[],_0x3c1905=[],_0x40adff=[],_0x4e2e09=[],_0x22771c=[];(function(){for(var _0x572260=[],_0x2ca500=0x0;_0x2ca500<0x100;_0x2ca500++)_0x2ca500<0x80?_0x572260[_0x2ca500]=_0x2ca500<<0x1:_0x572260[_0x2ca500]=_0x2ca500<<0x1^0x11b;for(var _0x37ff19=0x0,_0x45625b=0x0,_0x2ca500=0x0;_0x2ca500<0x100;_0x2ca500++){var _0x4c5524=_0x45625b^_0x45625b<<0x1^_0x45625b<<0x2^_0x45625b<<0x3^_0x45625b<<0x4;_0x4c5524=_0x4c5524>>>0x8^_0x4c5524&0xff^0x63,_0x4b546b[_0x37ff19]=_0x4c5524,_0xf8b396[_0x4c5524]=_0x37ff19;var _0x4ae25f=_0x572260[_0x37ff19],_0x2cb243=_0x572260[_0x4ae25f],_0x384c48=_0x572260[_0x2cb243],_0x34b76b=_0x572260[_0x4c5524]*0x101^_0x4c5524*0x1010100;_0xbdeaeb[_0x37ff19]=_0x34b76b<<0x18|_0x34b76b>>>0x8,_0x59e911[_0x37ff19]=_0x34b76b<<0x10|_0x34b76b>>>0x10,_0xb23eac[_0x37ff19]=_0x34b76b<<0x8|_0x34b76b>>>0x18,_0x519bcc[_0x37ff19]=_0x34b76b;var _0x34b76b=_0x384c48*0x1010101^_0x2cb243*0x10001^_0x4ae25f*0x101^_0x37ff19*0x1010100;_0x3c1905[_0x4c5524]=_0x34b76b<<0x18|_0x34b76b>>>0x8,_0x40adff[_0x4c5524]=_0x34b76b<<0x10|_0x34b76b>>>0x10,_0x4e2e09[_0x4c5524]=_0x34b76b<<0x8|_0x34b76b>>>0x18,_0x22771c[_0x4c5524]=_0x34b76b,_0x37ff19?(_0x37ff19=_0x4ae25f^_0x572260[_0x572260[_0x572260[_0x384c48^_0x4ae25f]]],_0x45625b^=_0x572260[_0x572260[_0x45625b]]):_0x37ff19=_0x45625b=0x1;}}());var _0x1ecdb4=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x46ebc7=_0xd11c66['AES']=_0xbc3d49[_0x1f31b(0x1c4)]({'_doReset':function(){var _0x54f68e=_0x1f31b,_0x3fac74;if(!(this[_0x54f68e(0x392)]&&this['_keyPriorReset']===this[_0x54f68e(0x26f)])){for(var _0x4225fe=this[_0x54f68e(0x3f6)]=this[_0x54f68e(0x26f)],_0x38b7c1=_0x4225fe[_0x54f68e(0x1c0)],_0x45df1b=_0x4225fe[_0x54f68e(0x2b9)]/0x4,_0x437d1d=this['_nRounds']=_0x45df1b+0x6,_0x36e7d9=(_0x437d1d+0x1)*0x4,_0x44da1d=this[_0x54f68e(0x295)]=[],_0x2e172a=0x0;_0x2e172a<_0x36e7d9;_0x2e172a++)_0x2e172a<_0x45df1b?_0x44da1d[_0x2e172a]=_0x38b7c1[_0x2e172a]:(_0x3fac74=_0x44da1d[_0x2e172a-0x1],_0x2e172a%_0x45df1b?_0x45df1b>0x6&&_0x2e172a%_0x45df1b==0x4&&(_0x3fac74=_0x4b546b[_0x3fac74>>>0x18]<<0x18|_0x4b546b[_0x3fac74>>>0x10&0xff]<<0x10|_0x4b546b[_0x3fac74>>>0x8&0xff]<<0x8|_0x4b546b[_0x3fac74&0xff]):(_0x3fac74=_0x3fac74<<0x8|_0x3fac74>>>0x18,_0x3fac74=_0x4b546b[_0x3fac74>>>0x18]<<0x18|_0x4b546b[_0x3fac74>>>0x10&0xff]<<0x10|_0x4b546b[_0x3fac74>>>0x8&0xff]<<0x8|_0x4b546b[_0x3fac74&0xff],_0x3fac74^=_0x1ecdb4[_0x2e172a/_0x45df1b|0x0]<<0x18),_0x44da1d[_0x2e172a]=_0x44da1d[_0x2e172a-_0x45df1b]^_0x3fac74);for(var _0x3b1a17=this[_0x54f68e(0x2f4)]=[],_0x9c51bd=0x0;_0x9c51bd<_0x36e7d9;_0x9c51bd++){var _0x2e172a=_0x36e7d9-_0x9c51bd;if(_0x9c51bd%0x4)var _0x3fac74=_0x44da1d[_0x2e172a];else var _0x3fac74=_0x44da1d[_0x2e172a-0x4];_0x9c51bd<0x4||_0x2e172a<=0x4?_0x3b1a17[_0x9c51bd]=_0x3fac74:_0x3b1a17[_0x9c51bd]=_0x3c1905[_0x4b546b[_0x3fac74>>>0x18]]^_0x40adff[_0x4b546b[_0x3fac74>>>0x10&0xff]]^_0x4e2e09[_0x4b546b[_0x3fac74>>>0x8&0xff]]^_0x22771c[_0x4b546b[_0x3fac74&0xff]];}}},'encryptBlock':function(_0xc5bb58,_0x1bb018){var _0x39b13b=_0x1f31b;this[_0x39b13b(0x267)](_0xc5bb58,_0x1bb018,this['_keySchedule'],_0xbdeaeb,_0x59e911,_0xb23eac,_0x519bcc,_0x4b546b);},'decryptBlock':function(_0x3be6a2,_0x40de96){var _0x55cdaa=_0x1f31b,_0xa8e8b5=_0x3be6a2[_0x40de96+0x1];_0x3be6a2[_0x40de96+0x1]=_0x3be6a2[_0x40de96+0x3],_0x3be6a2[_0x40de96+0x3]=_0xa8e8b5,this[_0x55cdaa(0x267)](_0x3be6a2,_0x40de96,this[_0x55cdaa(0x2f4)],_0x3c1905,_0x40adff,_0x4e2e09,_0x22771c,_0xf8b396);var _0xa8e8b5=_0x3be6a2[_0x40de96+0x1];_0x3be6a2[_0x40de96+0x1]=_0x3be6a2[_0x40de96+0x3],_0x3be6a2[_0x40de96+0x3]=_0xa8e8b5;},'_doCryptBlock':function(_0xff0649,_0x24aa7e,_0x117430,_0x409444,_0x39410b,_0x1cb2ec,_0x3d23f1,_0x4c9e04){var _0x8fc8b6=_0x1f31b;for(var _0x1bc216=this[_0x8fc8b6(0x392)],_0x37f2d9=_0xff0649[_0x24aa7e]^_0x117430[0x0],_0x3177fa=_0xff0649[_0x24aa7e+0x1]^_0x117430[0x1],_0x1b33b6=_0xff0649[_0x24aa7e+0x2]^_0x117430[0x2],_0x3b9499=_0xff0649[_0x24aa7e+0x3]^_0x117430[0x3],_0x480d41=0x4,_0x4b1400=0x1;_0x4b1400<_0x1bc216;_0x4b1400++){var _0x940a89=_0x409444[_0x37f2d9>>>0x18]^_0x39410b[_0x3177fa>>>0x10&0xff]^_0x1cb2ec[_0x1b33b6>>>0x8&0xff]^_0x3d23f1[_0x3b9499&0xff]^_0x117430[_0x480d41++],_0x1b6304=_0x409444[_0x3177fa>>>0x18]^_0x39410b[_0x1b33b6>>>0x10&0xff]^_0x1cb2ec[_0x3b9499>>>0x8&0xff]^_0x3d23f1[_0x37f2d9&0xff]^_0x117430[_0x480d41++],_0x3d1a52=_0x409444[_0x1b33b6>>>0x18]^_0x39410b[_0x3b9499>>>0x10&0xff]^_0x1cb2ec[_0x37f2d9>>>0x8&0xff]^_0x3d23f1[_0x3177fa&0xff]^_0x117430[_0x480d41++],_0x8bc5c2=_0x409444[_0x3b9499>>>0x18]^_0x39410b[_0x37f2d9>>>0x10&0xff]^_0x1cb2ec[_0x3177fa>>>0x8&0xff]^_0x3d23f1[_0x1b33b6&0xff]^_0x117430[_0x480d41++];_0x37f2d9=_0x940a89,_0x3177fa=_0x1b6304,_0x1b33b6=_0x3d1a52,_0x3b9499=_0x8bc5c2;}var _0x940a89=(_0x4c9e04[_0x37f2d9>>>0x18]<<0x18|_0x4c9e04[_0x3177fa>>>0x10&0xff]<<0x10|_0x4c9e04[_0x1b33b6>>>0x8&0xff]<<0x8|_0x4c9e04[_0x3b9499&0xff])^_0x117430[_0x480d41++],_0x1b6304=(_0x4c9e04[_0x3177fa>>>0x18]<<0x18|_0x4c9e04[_0x1b33b6>>>0x10&0xff]<<0x10|_0x4c9e04[_0x3b9499>>>0x8&0xff]<<0x8|_0x4c9e04[_0x37f2d9&0xff])^_0x117430[_0x480d41++],_0x3d1a52=(_0x4c9e04[_0x1b33b6>>>0x18]<<0x18|_0x4c9e04[_0x3b9499>>>0x10&0xff]<<0x10|_0x4c9e04[_0x37f2d9>>>0x8&0xff]<<0x8|_0x4c9e04[_0x3177fa&0xff])^_0x117430[_0x480d41++],_0x8bc5c2=(_0x4c9e04[_0x3b9499>>>0x18]<<0x18|_0x4c9e04[_0x37f2d9>>>0x10&0xff]<<0x10|_0x4c9e04[_0x3177fa>>>0x8&0xff]<<0x8|_0x4c9e04[_0x1b33b6&0xff])^_0x117430[_0x480d41++];_0xff0649[_0x24aa7e]=_0x940a89,_0xff0649[_0x24aa7e+0x1]=_0x1b6304,_0xff0649[_0x24aa7e+0x2]=_0x3d1a52,_0xff0649[_0x24aa7e+0x3]=_0x8bc5c2;},'keySize':0x100/0x20});_0x523f70[_0x1f31b(0x2b0)]=_0xbc3d49[_0x1f31b(0x3bf)](_0x46ebc7);}()),_0x3ed6a0[_0x5ae9fb(0x2b0)];}));}(We)),We[_0x17d5bf(0x24b)];}var er=Qs();const tr=ke(er);var ir=Ui();const ai=ke(ir);var Ze={'exports':{}},nr=Ze[_0x2776ba(0x24b)],ci;function sr(){var _0x109f92=_0x2776ba;return ci||(ci=0x1,function(_0x3902bd,_0x383b0a){(function(_0x133bf2,_0x87aaa0){var _0xac5234=_0x533f;_0x3902bd[_0xac5234(0x24b)]=_0x87aaa0(ne());}(nr,function(_0x19a891){var _0x126811=_0x533f;return _0x19a891[_0x126811(0x45c)]['Utf8'];}));}(Ze)),Ze[_0x109f92(0x24b)];}var rr=sr();const or=ke(rr);var Qe={'exports':{}},ar=Qe[_0x2776ba(0x24b)],hi;function cr(){return hi||(hi=0x1,function(_0x2c2661,_0x3a1ab1){(function(_0x4e411c,_0x88f5be){var _0x243170=_0x533f;_0x2c2661[_0x243170(0x24b)]=_0x88f5be(ne());}(ar,function(_0x4737bb){var _0x5ee618=_0x533f;return(function(){var _0x19fafd=_0x533f;if(typeof ArrayBuffer==_0x19fafd(0x35c)){var _0x10e920=_0x4737bb,_0x5ba9c9=_0x10e920[_0x19fafd(0x2b6)],_0x17433a=_0x5ba9c9['WordArray'],_0x5f019f=_0x17433a[_0x19fafd(0x1c1)],_0x16ac06=_0x17433a[_0x19fafd(0x1c1)]=function(_0x8fe665){var _0x1a07de=_0x19fafd;if(_0x8fe665 instanceof ArrayBuffer&&(_0x8fe665=new Uint8Array(_0x8fe665)),(_0x8fe665 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x8fe665 instanceof Uint8ClampedArray||_0x8fe665 instanceof Int16Array||_0x8fe665 instanceof Uint16Array||_0x8fe665 instanceof Int32Array||_0x8fe665 instanceof Uint32Array||_0x8fe665 instanceof Float32Array||_0x8fe665 instanceof Float64Array)&&(_0x8fe665=new Uint8Array(_0x8fe665[_0x1a07de(0x2dc)],_0x8fe665['byteOffset'],_0x8fe665['byteLength'])),_0x8fe665 instanceof Uint8Array){for(var _0x39f05f=_0x8fe665[_0x1a07de(0x3e1)],_0x246ebd=[],_0x2bdf1d=0x0;_0x2bdf1d<_0x39f05f;_0x2bdf1d++)_0x246ebd[_0x2bdf1d>>>0x2]|=_0x8fe665[_0x2bdf1d]<<0x18-_0x2bdf1d%0x4*0x8;_0x5f019f['call'](this,_0x246ebd,_0x39f05f);}else _0x5f019f[_0x1a07de(0x29a)](this,arguments);};_0x16ac06[_0x19fafd(0x29b)]=_0x17433a;}}()),_0x4737bb[_0x5ee618(0x2b6)][_0x5ee618(0x33e)];}));}(Qe)),Qe['exports'];}var hr=cr();const _r=ke(hr);var et={'exports':{}},lr=et[_0x2776ba(0x24b)],_i;function ur(){var _0xac7450=_0x2776ba;return _i||(_i=0x1,function(_0x33856a,_0x219c93){(function(_0x1c3ca1,_0x5d41c8,_0x273359){var _0x3a7493=_0x533f;_0x33856a[_0x3a7493(0x24b)]=_0x5d41c8(ne(),xi());}(lr,function(_0x47a9f8){var _0x2eef6e=_0x533f;return _0x47a9f8[_0x2eef6e(0x361)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x47a9f8[_0x2eef6e(0x361)][_0x2eef6e(0x253)];}));}(et)),et[_0xac7450(0x24b)];}var dr=ur();function _0x533f(_0xf72989,_0x439c94){var _0x52c6bb=_0x52c6();return _0x533f=function(_0x533fb3,_0x455929){_0x533fb3=_0x533fb3-0x179;var _0x5ae149=_0x52c6bb[_0x533fb3];return _0x5ae149;},_0x533f(_0xf72989,_0x439c94);}const fr=ke(dr);function vr(_0x83645f,_0x1ff38b){var _0x3874ef=_0x2776ba;const _0xd39eaf=_0x1ff38b-_0x83645f[_0x3874ef(0x2a6)]%_0x1ff38b,_0x24e899=String[_0x3874ef(0x310)](_0xd39eaf)[_0x3874ef(0x3b1)](_0xd39eaf);return _0x83645f+_0x24e899;}function pr(_0x3a98dd,_0x1d7e5f){var _0x532500=_0x2776ba;const _0x539dac=_r[_0x532500(0x3fa)](0x10),_0x5e998b=vr(_0x3a98dd,0x10),_0x281cb8=tr['encrypt'](or[_0x532500(0x3b0)](_0x5e998b),ai[_0x532500(0x3b0)](_0x1d7e5f),{'iv':_0x539dac,'padding':fr});return _0x539dac[_0x532500(0x2fb)](_0x281cb8[_0x532500(0x1fa)])[_0x532500(0x39a)](ai);}function mr(){var _0x1f1521=_0x2776ba;const _0x367ec1=_0x18fd3a()[_0x1f1521(0x3b2)];if(_0x367ec1){const _0xd20a2c={'time':Math[_0x1f1521(0x2b2)](Date[_0x1f1521(0x245)]()/0x3e8),'domain':location[_0x1f1521(0x357)]};return pr(JSON[_0x1f1521(0x231)](_0xd20a2c),_0x367ec1);}}var gr=Object[_0x2776ba(0x282)],Sr=Object[_0x2776ba(0x236)],Er=(_0xc9a059,_0x399430,_0x541e38,_0x3d9ae0)=>{for(var _0x353bef=_0x3d9ae0>0x1?void 0x0:_0x3d9ae0?Sr(_0x399430,_0x541e38):_0x399430,_0x3ad45e=_0xc9a059['length']-0x1,_0x79513b;_0x3ad45e>=0x0;_0x3ad45e--)(_0x79513b=_0xc9a059[_0x3ad45e])&&(_0x353bef=(_0x3d9ae0?_0x79513b(_0x399430,_0x541e38,_0x353bef):_0x79513b(_0x353bef))||_0x353bef);return _0x3d9ae0&&_0x353bef&&gr(_0x399430,_0x541e38,_0x353bef),_0x353bef;},Ir=(_0x52f717,_0x53a5fb)=>(_0x39c7b1,_0x429f33)=>_0x53a5fb(_0x39c7b1,_0x429f33,_0x52f717);let at=class{constructor(_0x3c03e8){var _0x1cca6a=_0x2776ba;this[_0x1cca6a(0x283)]=_0x3c03e8,this[_0x1cca6a(0x41c)]();}[_0x2776ba(0x41c)](){var _0x526be4=_0x2776ba;this[_0x526be4(0x283)]['registerHTTPInterceptor']({'interceptor':(_0x1031bf,_0x2cf407)=>{var _0x50b836=_0x526be4;const _0x36f187=_0x1031bf['headers'],_0x461961=mr();return _0x461961&&_0x36f187[_0x50b836(0x189)](_0x50b836(0x301),_0x461961),_0x2cf407(_0x1031bf);}});}};at=Er([Ir(0x0,_0xad32f2(_0x3d73d7))],at);var Tr=Object[_0x2776ba(0x282)],Cr=Object[_0x2776ba(0x236)],br=(_0x10e8c0,_0x4319d2,_0x5d393a,_0x222f1b)=>{var _0x33ebd2=_0x2776ba;for(var _0x408725=_0x222f1b>0x1?void 0x0:_0x222f1b?Cr(_0x4319d2,_0x5d393a):_0x4319d2,_0x13eb14=_0x10e8c0[_0x33ebd2(0x2a6)]-0x1,_0x377136;_0x13eb14>=0x0;_0x13eb14--)(_0x377136=_0x10e8c0[_0x13eb14])&&(_0x408725=(_0x222f1b?_0x377136(_0x4319d2,_0x5d393a,_0x408725):_0x377136(_0x408725))||_0x408725);return _0x222f1b&&_0x408725&&Tr(_0x4319d2,_0x5d393a,_0x408725),_0x408725;},gt=(_0x33ffc1,_0x35be0a)=>(_0x3d8bcd,_0x2906aa)=>_0x35be0a(_0x3d8bcd,_0x2906aa,_0x33ffc1);let Ot=class extends _0x3fbf91{constructor(_0x54b424,_0xdd10a2,_0x240b24){var _0x5069d7=_0x2776ba;super(),N(this,_0x5069d7(0x276),new _0x5f0741(null)),N(this,'unitInfo$',this[_0x5069d7(0x276)][_0x5069d7(0x340)]()),(this[_0x5069d7(0x1d7)]=_0x54b424,this[_0x5069d7(0x2e3)]=_0xdd10a2,this[_0x5069d7(0x2d6)]=_0x240b24);}async['loadUnit'](_0x535475,_0x6db479,_0x1920b0){var _0x35a48e=_0x2776ba;this[_0x35a48e(0x276)][_0x35a48e(0x445)]({'unitId':_0x535475,'type':_0x6db479,'subUnitId':_0x1920b0});let _0x2ba33f=null;switch(_0x6db479){case Q[_0x35a48e(0x40d)]:{_0x2ba33f=await this[_0x35a48e(0x46a)](_0x535475);break;}case Q[_0x35a48e(0x3f8)]:{_0x2ba33f=await this[_0x35a48e(0x389)](_0x535475);break;}default:{this[_0x35a48e(0x1d7)][_0x35a48e(0x341)](_0x35a48e(0x2be),_0x35a48e(0x208));break;}}return _0x2ba33f;}async[_0x2776ba(0x46a)](_0x537c13){var _0x539b3e=_0x2776ba,_0x400aa5;let _0x422731=0x0;const _0x3c27fe=await((_0x400aa5=this[_0x539b3e(0x2d6)])==null?void 0x0:_0x400aa5[_0x539b3e(0x1bb)](_0x537c13));return _0x3c27fe&&(_0x3c27fe['awaitingChangeset']||_0x3c27fe[_0x539b3e(0x273)]['length']!==0x0)&&(_0x422731=_0x3c27fe[_0x539b3e(0x408)]),_0x422731===0x0&&this[_0x539b3e(0x1d7)][_0x539b3e(0x1be)](_0x539b3e(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x539b3e(0x2e3)]['loadSheet'](_0x537c13,_0x422731);}async['_loadDoc'](_0x4d095f){var _0x174a85=_0x2776ba,_0x5dfe06;let _0x38a02f=0x0;const _0x18044f=await((_0x5dfe06=this[_0x174a85(0x2d6)])==null?void 0x0:_0x5dfe06[_0x174a85(0x1bb)](_0x4d095f));return _0x18044f&&(_0x18044f['awaitingChangeset']||_0x18044f['mutations'][_0x174a85(0x2a6)]!==0x0)&&(_0x38a02f=_0x18044f[_0x174a85(0x408)]),_0x38a02f===0x0&&this['_logService'][_0x174a85(0x1be)](_0x174a85(0x2be),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x4d095f,_0x38a02f);}};Ot=br([gt(0x0,_0x3b0698),gt(0x1,_0xad32f2(_0x5187c9)),gt(0x2,_0x122f64(X))],Ot);var Rr=Object[_0x2776ba(0x282)],yr=Object[_0x2776ba(0x236)],Or=(_0x24dd96,_0x19d0b9,_0x2202ba,_0x30ee35)=>{var _0x55d763=_0x2776ba;for(var _0x1d671f=_0x30ee35>0x1?void 0x0:_0x30ee35?yr(_0x19d0b9,_0x2202ba):_0x19d0b9,_0x2260cc=_0x24dd96[_0x55d763(0x2a6)]-0x1,_0x5ab3a0;_0x2260cc>=0x0;_0x2260cc--)(_0x5ab3a0=_0x24dd96[_0x2260cc])&&(_0x1d671f=(_0x30ee35?_0x5ab3a0(_0x19d0b9,_0x2202ba,_0x1d671f):_0x5ab3a0(_0x1d671f))||_0x1d671f);return _0x30ee35&&_0x1d671f&&Rr(_0x19d0b9,_0x2202ba,_0x1d671f),_0x1d671f;},St=(_0x22c933,_0x2b85b6)=>(_0x5e9be1,_0x3f26df)=>_0x2b85b6(_0x5e9be1,_0x3f26df,_0x22c933);const Pr=['image/png','image/jpeg',_0x2776ba(0x298),_0x2776ba(0x18f),'image/bmp'],Nr=0x5*0x400*0x400,Dr=_0x2776ba(0x1ad),wr=_0x2776ba(0x2af),Ur=_0x2776ba(0x1b2),Ar=_0x2776ba(0x3c2);let Pt=class{constructor(_0x3bcb38,_0x151d79,_0x8c22b0){var _0x1f8c1c=_0x2776ba;N(this,'_waitCount',0x0),N(this,_0x1f8c1c(0x367),new _0x119eaf()),N(this,'change$',this[_0x1f8c1c(0x367)]),N(this,_0x1f8c1c(0x40c),new Map()),(this[_0x1f8c1c(0x283)]=_0x3bcb38,this[_0x1f8c1c(0x45d)]=_0x151d79,this[_0x1f8c1c(0x1b3)]=_0x8c22b0);}[_0x2776ba(0x2ff)](_0x15eae2){var _0x46801e=_0x2776ba;this[_0x46801e(0x1d5)]=_0x15eae2,this[_0x46801e(0x367)][_0x46801e(0x445)](_0x15eae2);}[_0x2776ba(0x1cf)](_0x523d58,_0xa0ff61){var _0x1847e4=_0x2776ba;if(_0xa0ff61===_0x1be747[_0x1847e4(0x43b)]){const _0x148ee2=new Image();return _0x148ee2['src']=_0x523d58,_0x148ee2;}return this[_0x1847e4(0x40c)][_0x1847e4(0x190)](_0x523d58);}[_0x2776ba(0x2c5)](_0x56a198,_0x1cce5b,_0x2ccefd){var _0x3b058a=_0x2776ba;_0x1cce5b===_0x1be747['BASE64']||_0x2ccefd==null||this[_0x3b058a(0x40c)][_0x3b058a(0x189)](_0x56a198,_0x2ccefd);}async[_0x2776ba(0x1ff)](_0x4a3e18){var _0x5acc05=_0x2776ba;try{const _0x287840=this['_replaceFileID'](this[_0x5acc05(0x2a0)](),''+_0x4a3e18),_0x9809ed=(await this[_0x5acc05(0x283)][_0x5acc05(0x190)](_0x287840))[_0x5acc05(0x39b)];if(_0x9809ed['error']&&_0x9809ed['error'][_0x5acc05(0x228)]===Ti['OK']){const _0x3aee99=new URL(_0x9809ed[_0x5acc05(0x351)],this['_getDownloadEndpointURL']())[_0x5acc05(0x39a)]();return Promise[_0x5acc05(0x36f)](_0x3aee99);}return Promise[_0x5acc05(0x309)](_0x9809ed[_0x5acc05(0x341)]);}catch(_0x40c156){return Promise[_0x5acc05(0x309)](_0x40c156);}}async[_0x2776ba(0x1a8)](_0x37b20e){var _0x4fb51d=_0x2776ba;let _0x47c243='';if(!Pr['includes'](_0x37b20e[_0x4fb51d(0x33a)]))return this['_decreaseWaiting'](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x3ee)]));if(_0x37b20e[_0x4fb51d(0x44d)]>Nr)return this[_0x4fb51d(0x28d)](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x34a)]));try{const _0x17e35e=new FormData();_0x17e35e[_0x4fb51d(0x19a)]('file',_0x37b20e);const _0x52d6b1=this[_0x4fb51d(0x1b3)][_0x4fb51d(0x1b5)](),_0x583e2c=_0x52d6b1==null?void 0x0:_0x52d6b1['getUnitId']();if(!_0x583e2c)throw new Error(_0x4fb51d(0x2cd));const _0x5dacf9=this[_0x4fb51d(0x456)]()+_0x4fb51d(0x437)+_0x37b20e[_0x4fb51d(0x44d)][_0x4fb51d(0x39a)]()+_0x4fb51d(0x38b)+Ci[_0x4fb51d(0x3b6)]+_0x4fb51d(0x1d8)+encodeURIComponent(_0x583e2c),_0x1fb437=await(await fetch(_0x5dacf9,{'method':_0x4fb51d(0x3bd),'body':_0x17e35e}))[_0x4fb51d(0x3cd)]();if(typeof _0x1fb437['FileId']!='string')return this['_decreaseWaiting'](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x1ec)]));_0x47c243=_0x1fb437[_0x4fb51d(0x333)];}catch{return this[_0x4fb51d(0x28d)](),Promise[_0x4fb51d(0x309)](new Error(_0x3db4e2[_0x4fb51d(0x1ec)]));}return new Promise((_0xb2f3e0,_0xab7b4f)=>{var _0x4f9719=_0x4fb51d;const _0x114e13=new FileReader();_0x114e13[_0x4f9719(0x20d)](_0x37b20e),_0x114e13[_0x4f9719(0x3bb)]=_0x203284=>{var _0x2b039f=_0x4f9719,_0xd820e3;const _0x2fe01d=(_0xd820e3=_0x203284[_0x2b039f(0x220)])==null?void 0x0:_0xd820e3[_0x2b039f(0x474)];if(_0x2fe01d==null){this['_decreaseWaiting'](),_0xab7b4f(new Error(_0x3db4e2[_0x2b039f(0x1ec)]));return;}const _0xd84098=_0x25d273['generateRandomId'](0x6);_0xb2f3e0({'imageId':_0xd84098,'imageSourceType':_0x1be747[_0x2b039f(0x1fb)],'source':_0x47c243,'base64Cache':_0x2fe01d,'status':_0x3db4e2[_0x2b039f(0x3dd)]}),this['_decreaseWaiting']();};});}[_0x2776ba(0x456)](){var _0x4273ec=_0x2776ba,_0x3c181a,_0x31b0c5;const _0xc47374=this[_0x4273ec(0x45d)][_0x4273ec(0x27b)](Dr),_0x34db1c=this[_0x4273ec(0x45d)]['getConfig'](Y);return(_0x31b0c5=(_0x3c181a=_0x34db1c==null?void 0x0:_0x34db1c[_0x4273ec(0x401)])!=null?_0x3c181a:_0xc47374)!=null?_0x31b0c5:wr;}[_0x2776ba(0x2a0)](){var _0x6cbb25=_0x2776ba,_0x3eae07,_0x16a2c3;const _0x249922=this[_0x6cbb25(0x45d)][_0x6cbb25(0x27b)](Ur),_0x384269=this[_0x6cbb25(0x45d)][_0x6cbb25(0x27b)](Y);return(_0x16a2c3=(_0x3eae07=_0x384269==null?void 0x0:_0x384269[_0x6cbb25(0x2c3)])!=null?_0x3eae07:_0x249922)!=null?_0x16a2c3:Ar;}[_0x2776ba(0x3a4)](){var _0x55a0ea=_0x2776ba,_0x5e5c4e;const _0x1e9da4=this[_0x55a0ea(0x45d)][_0x55a0ea(0x27b)](Y);return(_0x5e5c4e=_0x1e9da4==null?void 0x0:_0x1e9da4[_0x55a0ea(0x41f)])!=null?_0x5e5c4e:location['origin'];}['_replaceFileID'](_0x22becd,_0x5529cf){var _0x4655db=_0x2776ba;return _0x22becd[_0x4655db(0x348)](_0x4655db(0x2ad),_0x5529cf);}[_0x2776ba(0x28d)](){var _0x2f8287=_0x2776ba;this[_0x2f8287(0x1d5)]-=0x1,this[_0x2f8287(0x367)]['next'](this[_0x2f8287(0x1d5)]);}};Pt=Or([St(0x0,_0xad32f2(_0x3d73d7)),St(0x1,_0x5aacb0),St(0x2,_0xad32f2(_0x16c691))],Pt);var xr=Object[_0x2776ba(0x282)],Lr=Object[_0x2776ba(0x236)],Mr=(_0x418c89,_0xc8397c,_0x13009d,_0xaec90b)=>{for(var _0x5b39d3=_0xaec90b>0x1?void 0x0:_0xaec90b?Lr(_0xc8397c,_0x13009d):_0xc8397c,_0x26db6a=_0x418c89['length']-0x1,_0x25cbd5;_0x26db6a>=0x0;_0x26db6a--)(_0x25cbd5=_0x418c89[_0x26db6a])&&(_0x5b39d3=(_0xaec90b?_0x25cbd5(_0xc8397c,_0x13009d,_0x5b39d3):_0x25cbd5(_0x5b39d3))||_0x5b39d3);return _0xaec90b&&_0x5b39d3&&xr(_0xc8397c,_0x13009d,_0x5b39d3),_0x5b39d3;},li=(_0x4cc213,_0xdf0724)=>(_0x313106,_0x12d2ed)=>_0xdf0724(_0x313106,_0x12d2ed,_0x4cc213);const $r=_0x2776ba(0x22a);let Nt=class{constructor(_0x5d599a,_0x1c3780){var _0x5e8bbe=_0x2776ba;this[_0x5e8bbe(0x45d)]=_0x5d599a,this['_HTTPService']=_0x1c3780;}[_0x2776ba(0x2c9)](){var _0x43075f=_0x2776ba,_0x3600e5,_0x27f746;const _0xdaca7d=this[_0x43075f(0x45d)]['getConfig'](wi),_0x537498=this[_0x43075f(0x45d)][_0x43075f(0x27b)](Y);return(_0x27f746=(_0x3600e5=_0x537498==null?void 0x0:_0x537498[_0x43075f(0x33b)])!=null?_0x3600e5:_0xdaca7d)!=null?_0x27f746:$r;}async['list'](_0x56aa75){var _0x5065ad=_0x2776ba;const _0xfb1a36=this[_0x5065ad(0x2c9)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0xfb1a36,{'params':{'objectID':_0x56aa75[_0x5065ad(0x246)],'unitID':_0x56aa75[_0x5065ad(0x246)]}}))[_0x5065ad(0x39b)]['collaborators'][_0x5065ad(0x25c)](_0xc5e780=>({'objectId':_0xc5e780['id'],'name':_0xc5e780['subject'][_0x5065ad(0x3b3)],'metadata':{'icon':_0xc5e780[_0x5065ad(0x1f3)][_0x5065ad(0x249)]},'label':_0xc5e780['subject'][_0x5065ad(0x3b3)],'objectType':_0x2114f1[_0x5065ad(0x209)]})),'metadata':{},'type':_0x2114f1[_0x5065ad(0x209)]}]};}};Nt=Mr([li(0x0,_0xad32f2(_0x5aacb0)),li(0x1,_0xad32f2(_0x3d73d7))],Nt);var Hr=Object[_0x2776ba(0x282)],kr=Object[_0x2776ba(0x236)],jr=(_0x58d9ab,_0xfe21e0,_0x56304c,_0x30892c)=>{for(var _0x551bdd=_0x30892c>0x1?void 0x0:_0x30892c?kr(_0xfe21e0,_0x56304c):_0xfe21e0,_0x3f92d2=_0x58d9ab['length']-0x1,_0x5ad39a;_0x3f92d2>=0x0;_0x3f92d2--)(_0x5ad39a=_0x58d9ab[_0x3f92d2])&&(_0x551bdd=(_0x30892c?_0x5ad39a(_0xfe21e0,_0x56304c,_0x551bdd):_0x5ad39a(_0x551bdd))||_0x551bdd);return _0x30892c&&_0x551bdd&&Hr(_0xfe21e0,_0x56304c,_0x551bdd),_0x551bdd;},Se=(_0x4dd57d,_0x5a1f30)=>(_0x259079,_0x54c94d)=>_0x5a1f30(_0x259079,_0x54c94d,_0x4dd57d);let ct=class extends _0x3fbf91{constructor(_0x5a82e3,_0x501284,_0x1bb977,_0x1125c5,_0x4eaeaf,_0x3c98ff,_0x203685){var _0x3a2c7a=_0x2776ba;super(),this[_0x3a2c7a(0x38a)]=_0x5a82e3,this[_0x3a2c7a(0x1b3)]=_0x501284,this[_0x3a2c7a(0x2f6)]=_0x1bb977,this['_collaborationSessionService']=_0x1125c5,this['_collaborationUIEventService']=_0x4eaeaf,this[_0x3a2c7a(0x27f)]=_0x3c98ff,this[_0x3a2c7a(0x17f)]=_0x203685,this[_0x3a2c7a(0x1dc)](),this['_initCloseConn']();}[_0x2776ba(0x1ce)](){var _0x28dd5d=_0x2776ba;const _0x47f3f9=async _0x3ab8ed=>{var _0x4ebd65=_0x533f;(await this[_0x4ebd65(0x17b)][_0x4ebd65(0x43d)](_0x3ab8ed))[_0x4ebd65(0x35e)][_0x4ebd65(0x419)](_0x3994ac(_0x51269f=>_0x51269f[_0x4ebd65(0x299)]===_0x46c53f[_0x4ebd65(0x42e)]),_0x526c8f(this[_0x4ebd65(0x1f2)]))['subscribe'](_0x4bfa25=>{var _0x414d14=_0x4ebd65;const _0x2265cd=_0x4bfa25,{reason:_0x4ea20f}=_0x2265cd[_0x414d14(0x3b8)];this['_collaborationUIEventService'][_0x414d14(0x1cc)]({'id':re['CLOSE_ROOM'],'data':_0x4ea20f}),this[_0x414d14(0x2f6)][_0x414d14(0x3ad)](new _0x1f9850(_0x3ab8ed)['id'],!0x1),this[_0x414d14(0x17b)][_0x414d14(0x1b6)](_0x3ab8ed);});};_0x207695(this[_0x28dd5d(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35['UNIVER_SHEET']),this[_0x28dd5d(0x1b3)][_0x28dd5d(0x30c)](_0x471c35[_0x28dd5d(0x3f8)]))['pipe'](_0x554d4a(_0x140bdd=>_0x140bdd[_0x28dd5d(0x3d2)]()),_0x3994ac(_0x5608c9=>!_0x3760ff(_0x5608c9)),_0x526c8f(this[_0x28dd5d(0x1f2)]))['subscribe'](_0x3c410c=>{_0x47f3f9(_0x3c410c);});}[_0x2776ba(0x1dc)](){var _0x325784=_0x2776ba;const _0x977118=async _0x37fa19=>{var _0x2f0b03=_0x533f;(await this[_0x2f0b03(0x17b)][_0x2f0b03(0x43d)](_0x37fa19))[_0x2f0b03(0x35e)][_0x2f0b03(0x419)](_0x3994ac(_0x5d358e=>_0x5d358e[_0x2f0b03(0x299)]===_0x46c53f[_0x2f0b03(0x2a2)]),_0x526c8f(this[_0x2f0b03(0x1f2)]))[_0x2f0b03(0x20f)](_0x4e290a=>{var _0x5f2444=_0x2f0b03;const _0x4e9303=_0x4e290a,{objectId:_0x195ead}=_0x4e9303[_0x5f2444(0x3b8)];_0x195ead===_0x37fa19?this[_0x5f2444(0x22b)](_0x37fa19):this['refreshPermission'](_0x37fa19,_0x195ead);});};_0x207695(this[_0x325784(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35[_0x325784(0x40d)]),this[_0x325784(0x1b3)]['getTypeOfUnitAdded$'](_0x471c35[_0x325784(0x3f8)]))['pipe'](_0x554d4a(_0x24a285=>_0x24a285['getUnitId']()),_0x3994ac(_0x1172db=>!_0x3760ff(_0x1172db)),_0x526c8f(this[_0x325784(0x1f2)]))[_0x325784(0x20f)](_0x4a59d1=>{_0x977118(_0x4a59d1);});}async[_0x2776ba(0x22b)](_0x45101e){var _0x54a5a6=_0x2776ba,_0x150b6c;const _0x351c83=_0x45101e||((_0x150b6c=this[_0x54a5a6(0x1b3)]['getCurrentUnitForType'](_0x471c35[_0x54a5a6(0x40d)]))==null?void 0x0:_0x150b6c['getUnitId']());_0x351c83&&this['_authzIoService'][_0x54a5a6(0x237)]({'objectID':_0x351c83,'objectType':_0x2f480e[_0x54a5a6(0x25d)],'unitID':_0x351c83,'actions':_0x369f6d})[_0x54a5a6(0x3aa)](_0x59981d=>{var _0x211334=_0x54a5a6;_0x29d829()[_0x211334(0x294)](_0x4e0f2e=>{var _0xa8c820=_0x211334;const _0x2eb4cb=new _0x4e0f2e(_0x351c83),_0x4d3a6e=_0x2eb4cb['subType'],_0x4db76a=_0x59981d[_0xa8c820(0x337)](_0x3f70d6=>_0x3f70d6['action']===_0x4d3a6e);_0x4db76a&&this[_0xa8c820(0x2f6)]['updatePermissionPoint'](_0x2eb4cb['id'],_0x4db76a[_0xa8c820(0x237)]);});});}[_0x2776ba(0x19d)](_0x2adce3,_0x79a649){var _0x86a5fa=_0x2776ba;const _0x186e11=this[_0x86a5fa(0x38a)][_0x86a5fa(0x190)](_0x21d734),_0x2d2cb1=_0x186e11[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);let _0x550cf5=!0x1;if(_0x2d2cb1){const [_0x50c640,_0xaf7fc2]=_0x2d2cb1;this[_0x86a5fa(0x27f)][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x2f7)],'actions':_0x288263})['then'](_0x424b2b=>{var _0x3a7dcc=_0x86a5fa;let _0x347880='';_0x4d3518()[_0x3a7dcc(0x294)](_0x18b038=>{var _0x24b8c5=_0x3a7dcc,_0x39aec4;const _0x2b3aee=new _0x18b038(_0x2adce3,_0xaf7fc2),_0x544d7d=_0x2b3aee[_0x24b8c5(0x22f)],_0xa364ea=_0x424b2b[_0x24b8c5(0x337)](_0x2b9409=>_0x2b9409[_0x24b8c5(0x1e8)]===_0x544d7d);_0xa364ea&&(((_0x39aec4=this['_permissionService'][_0x24b8c5(0x2d7)](_0x2b3aee['id']))==null?void 0x0:_0x39aec4[_0x24b8c5(0x300)])!==_0xa364ea[_0x24b8c5(0x237)]&&(_0x550cf5=!0x0),this['_permissionService'][_0x24b8c5(0x3ad)](_0x2b3aee['id'],_0xa364ea[_0x24b8c5(0x237)]),_0x347880+=_0xa364ea[_0x24b8c5(0x1e8)]+'_'+_0xa364ea[_0x24b8c5(0x237)]);}),_0x186e11[_0x3a7dcc(0x404)](_0x79a649+'_'+_0x347880),_0x550cf5&&this[_0x3a7dcc(0x17f)][_0x3a7dcc(0x18b)](_0x2adce3);});}const _0x3a2510=this[_0x86a5fa(0x38a)]['get'](_0x51f3b0)[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);if(_0x3a2510){const [_0x5944de,_0x1ef24c]=_0x3a2510;this['_authzIoService'][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x2f7)],'actions':_0x364719})[_0x86a5fa(0x3aa)](_0x504b96=>{var _0x148a54=_0x86a5fa;_0x27176b()[_0x148a54(0x294)](_0x5ed721=>{var _0x55732f=_0x148a54,_0x213510;const _0x533ef9=new _0x5ed721(_0x2adce3,_0x1ef24c),_0x70db57=_0x533ef9['subType'],_0x55be52=_0x504b96[_0x55732f(0x337)](_0x2dd237=>_0x2dd237[_0x55732f(0x1e8)]===_0x70db57);_0x55be52&&(((_0x213510=this[_0x55732f(0x2f6)][_0x55732f(0x2d7)](_0x533ef9['id']))==null?void 0x0:_0x213510[_0x55732f(0x300)])!==_0x55be52[_0x55732f(0x237)]&&(_0x550cf5=!0x0),this['_permissionService'][_0x55732f(0x3ad)](_0x533ef9['id'],_0x55be52[_0x55732f(0x237)]));}),_0x550cf5&&this['_undoRedoService'][_0x148a54(0x18b)](_0x2adce3);});}const _0x409f38=this[_0x86a5fa(0x38a)]['get'](_0xf49ef6),_0x4aa202=_0x409f38[_0x86a5fa(0x23f)](_0x2adce3,_0x79a649);if(_0x4aa202){const [_0x13139a,_0x153bf5]=_0x4aa202;this[_0x86a5fa(0x27f)][_0x86a5fa(0x237)]({'objectID':_0x79a649,'unitID':_0x2adce3,'objectType':_0x2f480e[_0x86a5fa(0x475)],'actions':_0x288263})[_0x86a5fa(0x3aa)](_0x13f644=>{var _0x1981ab=_0x86a5fa;let _0x43c1b9='';_0x220b25()[_0x1981ab(0x294)](_0x249ac3=>{var _0x36cbca=_0x1981ab,_0x286e8b;const _0x219ca8=new _0x249ac3(_0x2adce3,_0x153bf5,_0x79a649),_0x32d196=_0x219ca8[_0x36cbca(0x22f)],_0xf4d5c8=_0x13f644[_0x36cbca(0x337)](_0x589ddd=>_0x589ddd[_0x36cbca(0x1e8)]===_0x32d196);_0xf4d5c8&&(((_0x286e8b=this[_0x36cbca(0x2f6)]['getPermissionPoint'](_0x219ca8['id']))==null?void 0x0:_0x286e8b[_0x36cbca(0x300)])!==_0xf4d5c8['allowed']&&(_0x550cf5=!0x0),this[_0x36cbca(0x2f6)][_0x36cbca(0x3ad)](_0x219ca8['id'],_0xf4d5c8['allowed']),_0x43c1b9+=_0xf4d5c8[_0x36cbca(0x1e8)]+'_'+_0xf4d5c8[_0x36cbca(0x237)]);}),_0x409f38[_0x1981ab(0x404)](_0x79a649+'_'+_0x43c1b9),_0x550cf5&&this[_0x1981ab(0x17f)]['clearUndoRedo'](_0x2adce3);});}}};ct=jr([Se(0x0,_0xad32f2(_0x237237)),Se(0x1,_0x16c691),Se(0x2,_0x39f738),Se(0x3,_0xad32f2(Le)),Se(0x4,_0xad32f2(pe)),Se(0x5,_0x86fc7f),Se(0x6,_0x3d484f)],ct);var Br=Object[_0x2776ba(0x282)],Fr=Object[_0x2776ba(0x236)],Vr=(_0x40e731,_0x3b712d,_0x56cf27,_0x2c1590)=>{for(var _0x4b32be=_0x2c1590>0x1?void 0x0:_0x2c1590?Fr(_0x3b712d,_0x56cf27):_0x3b712d,_0x1b8bba=_0x40e731['length']-0x1,_0x353ef8;_0x1b8bba>=0x0;_0x1b8bba--)(_0x353ef8=_0x40e731[_0x1b8bba])&&(_0x4b32be=(_0x2c1590?_0x353ef8(_0x3b712d,_0x56cf27,_0x4b32be):_0x353ef8(_0x4b32be))||_0x4b32be);return _0x2c1590&&_0x4b32be&&Br(_0x3b712d,_0x56cf27,_0x4b32be),_0x4b32be;},ui=(_0x3f9edd,_0x46d847)=>(_0xa37e22,_0x6f691c)=>_0x46d847(_0xa37e22,_0x6f691c,_0x3f9edd);let Dt=class{constructor(_0x313168,_0x30f968){var _0x34a118=_0x2776ba;this[_0x34a118(0x45d)]=_0x313168,this[_0x34a118(0x283)]=_0x30f968;}async[_0x2776ba(0x441)](_0x1d706,_0x4812c2){var _0x8ca324=_0x2776ba,_0x22fee1;const {unitID:_0x67071d,type:_0x5f056a,revision:_0x13ca61=0x0}=_0x4812c2,_0x3b428a=this['getSnapshotAPIPath']()+'/'+_0x5f056a+'/unit/'+_0x67071d+'/rev/'+_0x13ca61,_0x4fce6a=(await this[_0x8ca324(0x283)][_0x8ca324(0x190)](_0x3b428a))[_0x8ca324(0x39b)],_0xad6df7=(_0x22fee1=_0x4fce6a[_0x8ca324(0x180)])==null?void 0x0:_0x22fee1[_0x8ca324(0x436)];if(_0xad6df7){const _0x21344a=_0xad6df7==null?void 0x0:_0xad6df7['originalMeta'],_0x4bcee6=_0x5dc421['encode'](_0x2d8599(_0x21344a));_0xad6df7[_0x8ca324(0x1a7)]=_0x4bcee6,Object[_0x8ca324(0x1f5)](_0xad6df7[_0x8ca324(0x28b)])[_0x8ca324(0x294)](([,_0x5a3ffd])=>{var _0x52a5fb=_0x8ca324;const _0x5ec3c9=_0x5a3ffd['originalMeta'],_0x13c685=_0x5dc421[_0x52a5fb(0x23d)](_0x2d8599(_0x5ec3c9));_0x5a3ffd[_0x52a5fb(0x1a7)]=_0x13c685;});}return _0x4fce6a;}async[_0x2776ba(0x270)](_0x39379b,_0x895d5d){var _0x339cf9=_0x2776ba;const {unitID:_0x1cca31,type:_0x554273,blockID:_0x5b741c}=_0x895d5d,_0x43f353=this[_0x339cf9(0x302)]()+'/'+_0x554273+_0x339cf9(0x366)+_0x1cca31+'/block/'+_0x5b741c;return(await this[_0x339cf9(0x283)][_0x339cf9(0x190)](_0x43f353))[_0x339cf9(0x39b)];}async['getDeserializedSheetBlock'](_0x28ba0b,_0x39190d){var _0x36d85d=_0x2776ba;const {unitID:_0x20affc,type:_0x30d167,blockID:_0x30fb98}=_0x39190d,_0x439e0c=this[_0x36d85d(0x302)]()+_0x36d85d(0x3c5)+_0x30d167+_0x36d85d(0x366)+_0x20affc+_0x36d85d(0x3c5)+_0x30fb98;return(await this[_0x36d85d(0x283)][_0x36d85d(0x190)](_0x439e0c))[_0x36d85d(0x39b)];}async[_0x2776ba(0x3a9)](_0x427487,_0x59bf94){var _0x376215=_0x2776ba;const {unitID:_0x27f1df,type:_0x3b25c5,from:_0x40fe3e,to:_0xfcf903}=_0x59bf94,_0xebc10c=this[_0x376215(0x302)]()+'/'+_0x3b25c5+'/unit/'+_0x27f1df+_0x376215(0x19e)+_0x40fe3e+_0x376215(0x471)+_0xfcf903;return(await this[_0x376215(0x283)][_0x376215(0x190)](_0xebc10c))[_0x376215(0x39b)];}['getSnapshotAPIPath'](){var _0x4c1f36=_0x2776ba,_0x5a98ca;return(_0x5a98ca=this[_0x4c1f36(0x45d)][_0x4c1f36(0x27b)](Dn))!=null?_0x5a98ca:this['_getAPIPrefix']();}[_0x2776ba(0x302)](){var _0x3bccb6=_0x2776ba,_0x547f06,_0x50550e;const _0x59ef6a=this['_configService'][_0x3bccb6(0x27b)](Pn),_0x4cfec=this[_0x3bccb6(0x45d)][_0x3bccb6(0x27b)](Y);return(_0x50550e=(_0x547f06=_0x4cfec==null?void 0x0:_0x4cfec[_0x3bccb6(0x214)])!=null?_0x547f06:_0x59ef6a)!=null?_0x50550e:Nn;}async[_0x2776ba(0x1e7)](_0x33d900,_0x335a4b){var _0x10a5df=_0x2776ba;const _0x23bccd=_0x10a5df(0x41d)+_0x335a4b[_0x10a5df(0x33a)]+_0x10a5df(0x366)+_0x335a4b[_0x10a5df(0x3ed)]+'/resources';return(await this[_0x10a5df(0x283)]['get'](_0x23bccd,{'params':{'resourceId':JSON[_0x10a5df(0x231)](_0x335a4b[_0x10a5df(0x365)])}}))['body'];}[_0x2776ba(0x2cf)](){var _0x287e90=_0x2776ba;throw new Error(_0x287e90(0x2a3));}[_0x2776ba(0x353)](){var _0x184554=_0x2776ba;throw new Error(_0x184554(0x2a3));}[_0x2776ba(0x2d2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2776ba(0x3cb)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x2776ba(0x46d)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=Vr([ui(0x0,_0x5aacb0),ui(0x1,_0xad32f2(_0x3d73d7))],Dt);var Wr=Object['defineProperty'],Gr=Object[_0x2776ba(0x236)],Kr=(_0xb3ce1d,_0xd8d415,_0x4cc85f,_0x47854a)=>{var _0x1e31e5=_0x2776ba;for(var _0x298f10=_0x47854a>0x1?void 0x0:_0x47854a?Gr(_0xd8d415,_0x4cc85f):_0xd8d415,_0x4a1e0a=_0xb3ce1d[_0x1e31e5(0x2a6)]-0x1,_0x3cff9f;_0x4a1e0a>=0x0;_0x4a1e0a--)(_0x3cff9f=_0xb3ce1d[_0x4a1e0a])&&(_0x298f10=(_0x47854a?_0x3cff9f(_0xd8d415,_0x4cc85f,_0x298f10):_0x3cff9f(_0x298f10))||_0x298f10);return _0x47854a&&_0x298f10&&Wr(_0xd8d415,_0x4cc85f,_0x298f10),_0x298f10;},Ae=(_0x49128a,_0x172b9d)=>(_0x3dd5f1,_0x54cf78)=>_0x172b9d(_0x3dd5f1,_0x54cf78,_0x49128a);let wt=class extends _0x51c279{constructor(_0x3e37fd,_0x2ee35c,_0x15adc4,_0x33bdd5,_0xca24f5){var _0x2b4f02=_0x2776ba;super(_0x3e37fd,_0x2ee35c,_0x15adc4),this[_0x2b4f02(0x203)]=_0x33bdd5,this[_0x2b4f02(0x1d7)]=_0xca24f5;}[_0x2776ba(0x339)](_0x3af0ab,_0x1b5db1){var _0x14765d=_0x2776ba;const _0xb9bd01=this[_0x14765d(0x3d7)](_0x3af0ab);if(_0xb9bd01)try{const _0x1fc176=this[_0x14765d(0x469)](_0xb9bd01,_0x1b5db1);this[_0x14765d(0x3e5)](_0x3af0ab,_0x1fc176);}catch(_0x3fb8b4){this[_0x14765d(0x1d7)]['error'](_0x14765d(0x30a),_0x3fb8b4),this[_0x14765d(0x3f2)](_0x3af0ab);}const _0x1abfd6=this[_0x14765d(0x304)](_0x3af0ab);if(_0x1abfd6)try{const _0x19475b=this[_0x14765d(0x469)](_0x1abfd6,_0x1b5db1);this['_substituteRedoStack'](_0x3af0ab,_0x19475b);}catch(_0x68089d){this[_0x14765d(0x1d7)][_0x14765d(0x341)](_0x68089d),this['_clearRedo'](_0x3af0ab);}}[_0x2776ba(0x3f2)](_0x5ab4f8){var _0x3b8c4b=_0x2776ba;const _0xb32004=this[_0x3b8c4b(0x3d7)](_0x5ab4f8);_0xb32004&&(_0xb32004[_0x3b8c4b(0x2a6)]=0x0,this[_0x3b8c4b(0x181)]());}['_clearRedo'](_0x4d11bb){var _0x1d6be5=_0x2776ba;const _0x297031=this[_0x1d6be5(0x304)](_0x4d11bb);_0x297031&&(_0x297031[_0x1d6be5(0x2a6)]=0x0,this[_0x1d6be5(0x181)]());}[_0x2776ba(0x3e5)](_0x3ae049,_0x1ee1bd){var _0x210d38=_0x2776ba;this[_0x210d38(0x3f4)][_0x210d38(0x189)](_0x3ae049,_0x1ee1bd),this[_0x210d38(0x181)]();}[_0x2776ba(0x207)](_0x526728,_0x290ece){var _0x426118=_0x2776ba;this[_0x426118(0x308)][_0x426118(0x189)](_0x526728,_0x290ece),this['_updateStatus']();}[_0x2776ba(0x469)](_0x805bb5,_0x3a5304){var _0x3d07ee=_0x2776ba;const _0x18d218=[];let _0x1b3409=_0x3a5304,_0x517369=_0x3a5304;for(let _0x2aafe3=_0x805bb5[_0x3d07ee(0x2a6)]-0x1;_0x2aafe3>=0x0;_0x2aafe3--){const {unitID:_0x2c046a,undoMutations:_0x1976c2,redoMutations:_0x2224d3}=_0x805bb5[_0x2aafe3],_0x3ee0ba=this['_transformService'][_0x3d07ee(0x1ed)](_0x1b3409,_0x1976c2),_0x2bde4c=this['_transformService'][_0x3d07ee(0x1ed)](_0x517369,_0x2224d3);if(_0x42721e(_0x3ee0ba)||_0x42721e(_0x2bde4c)){this[_0x3d07ee(0x1d7)][_0x3d07ee(0x341)]('[CollaborationUndoRedoService]',_0x3d07ee(0x403),_0x3ee0ba,_0x2bde4c);break;}_0x1b3409=_0x3ee0ba['c1Prime'],_0x517369=_0x2bde4c['c1Prime'],_0x18d218[_0x3d07ee(0x306)]({'unitID':_0x2c046a,'undoMutations':_0x3ee0ba['m2Prime'],'redoMutations':_0x2bde4c[_0x3d07ee(0x26d)]});}return _0x18d218[_0x3d07ee(0x44a)]();}};wt=Kr([Ae(0x0,_0x16c691),Ae(0x1,_0x36939e),Ae(0x2,_0x3fe93c),Ae(0x3,_0x5c7c3f),Ae(0x4,_0x3b0698)],wt);var Li=Object[_0x2776ba(0x282)],zr=Object[_0x2776ba(0x236)],Yr=(_0x19e212,_0x300ea6,_0x314426)=>_0x300ea6 in _0x19e212?Li(_0x19e212,_0x300ea6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314426}):_0x19e212[_0x300ea6]=_0x314426,qr=(_0x333ff6,_0x1ac59d,_0x57fe40,_0x37f383)=>{var _0x34cc10=_0x2776ba;for(var _0x47bbdd=_0x37f383>0x1?void 0x0:_0x37f383?zr(_0x1ac59d,_0x57fe40):_0x1ac59d,_0x38ad71=_0x333ff6[_0x34cc10(0x2a6)]-0x1,_0x49290e;_0x38ad71>=0x0;_0x38ad71--)(_0x49290e=_0x333ff6[_0x38ad71])&&(_0x47bbdd=(_0x37f383?_0x49290e(_0x1ac59d,_0x57fe40,_0x47bbdd):_0x49290e(_0x47bbdd))||_0x47bbdd);return _0x37f383&&_0x47bbdd&&Li(_0x1ac59d,_0x57fe40,_0x47bbdd),_0x47bbdd;},Et=(_0x12f4a3,_0x37e16)=>(_0x280064,_0xb5c0ba)=>_0x37e16(_0x280064,_0xb5c0ba,_0x12f4a3),Jr=(_0x347e06,_0xd9c372,_0x52a7b9)=>Yr(_0x347e06,_0xd9c372+'',_0x52a7b9);const Xr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Ut=class extends _0x3c4407{constructor(_0x38d3e2=Wn,_0x131afa,_0x40adbc,_0xcca48d){var _0x8aea59=_0x2776ba;super(),this['_config']=_0x38d3e2,this[_0x8aea59(0x1d7)]=_0x131afa,this[_0x8aea59(0x38a)]=_0x40adbc,this['_configService']=_0xcca48d;const {..._0x10c869}=this[_0x8aea59(0x30b)];this[_0x8aea59(0x45d)]['setConfig'](Y,_0x10c869);}[_0x2776ba(0x405)](){var _0x2e2796=_0x2776ba;this[_0x2e2796(0x241)](),this[_0x2e2796(0x29c)]();}[_0x2776ba(0x241)](){var _0x2e8445=_0x2776ba,_0x27deac,_0x39db2e,_0x49a04b,_0x3cdbea;this[_0x2e8445(0x38a)][_0x2e8445(0x448)](_0x3d484f)&&this['_logService'][_0x2e8445(0x341)](_0x2e8445(0x31b),_0x2e8445(0x376));const _0x276a76=_0x4915e8([[_0x3d484f,{'useClass':wt}],[Le],[xe],[nt],[ot],[at],[Ri],[ct],[pe],[Ot],[bi,{'useClass':(_0x39db2e=(_0x27deac=this[_0x2e8445(0x30b)])==null?void 0x0:_0x27deac[_0x2e8445(0x39c)])!=null?_0x39db2e:It}],[_0x1ae103,{'useClass':Dt}],[_0x86fc7f,{'useClass':yt}],[_0x251296,{'useClass':Pt}],[_0x5b2452,{'useClass':Nt}],[rt],[Rt]],(_0x49a04b=this[_0x2e8445(0x30b)])==null?void 0x0:_0x49a04b[_0x2e8445(0x23a)]);if(!((_0x3cdbea=this[_0x2e8445(0x30b)])!=null&&_0x3cdbea[_0x2e8445(0x1d6)])){const _0xf82607=_0x276a76['findIndex'](([_0x45c742])=>_0x45c742===_t);_0xf82607!==-0x1&&_0x276a76[_0x2e8445(0x31c)](_0xf82607,0x1);}_0x2f5c27(this['_injector'],_0x276a76);}[_0x2776ba(0x29c)](){var _0x32ce81=_0x2776ba,_0x363038,_0x40dd58,_0x17383d;this[_0x32ce81(0x38a)][_0x32ce81(0x190)](_0x3d73d7)[_0x32ce81(0x24c)]({'priority':0x14,'interceptor':_0xb3f1({'maxParallel':0x6})}),(_0x363038=this[_0x32ce81(0x30b)])!=null&&_0x363038[_0x32ce81(0x3a1)]||(_0x40dd58=this[_0x32ce81(0x38a)][_0x32ce81(0x190)](X,_0x2f87b6[_0x32ce81(0x3d4)]))==null||_0x40dd58[_0x32ce81(0x233)](),(_0x17383d=this[_0x32ce81(0x30b)])!=null&&_0x17383d[_0x32ce81(0x2de)]&&_0x199992(this[_0x32ce81(0x38a)],[[ot]]),_0x199992(this[_0x32ce81(0x38a)],[[at],[rt],[ct]]);}};Jr(Ut,_0x2776ba(0x429),Xr),Ut=qr([_0x5dabf5(_0x31a91e,_0x55f85f,_0x58051c),Et(0x1,_0x3b0698),Et(0x2,_0xad32f2(_0x237237)),Et(0x3,_0x5aacb0)],Ut);export{wi as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,Y as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,jn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Un as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,st as CollaborationEntity,Pt as CollaborationImageIoService,Tt as CollaborationSession,Le as CollaborationSessionService,It as CollaborationSocketService,Pi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,An as DEFAULT_COLLAB_WEB_SOCKET_URL,Ot as DataLoaderService,Ct as DocCollaborationEntity,te as FetchingMissState,Ln as HEARTBEAT_INTERVAL_KEY,Ei as HEARTBEAT_TIMEOUT_KEY,bi as ICollaborationSocketService,X as ILocalCacheService,Gn as INetworkConditionService,_t as ISingleActiveUnitService,lo as LOCAL_CACHE_INTERVAL,_o as LOCAL_CACHE_INTERVAL_KEY,Fn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,Hn as RETRY_CONNECTING_MAX_COUNT_KEY,ho as SEND_CHANGESET_TIMEOUT_KEY,Pn as SNAPSHOT_SERVER_URL_KEY,Dn as SNAPSHOT_URL_KEY,Te as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Ne as SyncedState,yi as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
|