@univerjs-pro/collaboration-client 0.5.1-nightly.202412091607 → 0.5.1-nightly.202412101606

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/es/index.js CHANGED
@@ -1 +1 @@
1
- var _0x376409=_0x1c43;(function(_0x29665b,_0x383753){var _0x29ccc9=_0x1c43,_0x2d3b4a=_0x29665b();while(!![]){try{var _0x349099=parseInt(_0x29ccc9(0x260))/0x1+parseInt(_0x29ccc9(0x2a6))/0x2*(-parseInt(_0x29ccc9(0x477))/0x3)+parseInt(_0x29ccc9(0x36c))/0x4+-parseInt(_0x29ccc9(0x227))/0x5+-parseInt(_0x29ccc9(0x224))/0x6+-parseInt(_0x29ccc9(0x315))/0x7+-parseInt(_0x29ccc9(0x217))/0x8*(-parseInt(_0x29ccc9(0x19c))/0x9);if(_0x349099===_0x383753)break;else _0x2d3b4a['push'](_0x2d3b4a['shift']());}catch(_0xaa02ba){_0x2d3b4a['push'](_0x2d3b4a['shift']());}}}(_0x447f,0x569d7));var Li=Object['defineProperty'],Mi=(_0x538575,_0x354293,_0x45c917)=>_0x354293 in _0x538575?Li(_0x538575,_0x354293,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45c917}):_0x538575[_0x354293]=_0x45c917,D=(_0x148760,_0x351fab,_0x4dd038)=>Mi(_0x148760,typeof _0x351fab!='symbol'?_0x351fab+'':_0x351fab,_0x4dd038);import{createIdentifier as _0x9c3295,Inject as _0x49f53f,Injector as _0x3e138a,Disposable as _0x5987de,DisposableCollection as _0x2107d6,toDisposable as _0x339741,IConfigService as _0x574946,ILogService as _0x3bfb06,UserManagerService as _0x422011,UniverInstanceType as _0x26b476,IUniverInstanceService as _0x2c9805,LocaleService as _0x319bff,Optional as _0x59dc08,RxDisposable as _0x46baed,Tools as _0x573c3e,Rectangle as _0x529ac3,ICommandService as _0x32fa06,JSONX as _0x229867,CommandType as _0x5b08c0,IPermissionService as _0x43c214,IUndoRedoService as _0x34122b,sequenceExecute as _0x3353b7,Workbook as _0x468afe,MentionType as _0x4e577b,IAuthzIoService as _0x1d8a5f,isInternalEditorID as _0x571d49,LocalUndoRedoService as _0x2b8bcd,IContextService as _0x3f06f6,DependentOn as _0x4b8d14,Plugin as _0xa292bb,mergeOverrideWithDependencies as _0x34902a,IMentionIOService as _0x172e0d,registerDependencies as _0x244040,Quantity as _0xc1f958,touchDependencies as _0x1d952b}from'@univerjs/core';import{Subject as _0x104c91,merge as _0x82c328,takeUntil as _0x166570,BehaviorSubject as _0x2eae86,ReplaySubject as _0x108337,take as _0x23ca51,map as _0x4df683,shareReplay as _0x559f3a,of as _0x5e7e07,firstValueFrom as _0x40925b,concatMap as _0x2c6b2e}from'rxjs';import{map as _0x225490,take as _0x28c95e,filter as _0x4b995b,delay as _0x52b3fb,takeUntil as _0x2c5716}from'rxjs/operators';import{HTTPService as _0x4a7d71,ISocketService as _0x57a30f,MergeInterceptorFactory as _0x2d4588,HTTPRequest as _0x553e53,UniverNetworkPlugin as _0x31898d,ThresholdInterceptorFactory as _0x1a045c}from'@univerjs/network';import{CollaborationEvent as _0x35b08b,parseChangesetToProtocol as _0x4e61c1,ISnapshotServerService as _0x58421a,isTransformMutationsWithChangesetSuccess as _0x26a416,ITransformService as _0x2c3c9c,mapDocumentTypeToUniverType as _0x46f6ab,RevisionService as _0x1b07e4,isTransformChangesetsSuccess as _0x49cbb5,CompressMutationService as _0x42991d,parseProtocolChangeset as _0x3499ea,SnapshotService as _0x422ef9,textEncoder as _0xfd157,b64DecodeUnicode as _0x4990ec,isTransformMutationsWithChangesetFailure as _0x2dbd11,UniverCollaborationPlugin as _0x252bba}from'@univerjs-pro/collaboration';import{ITelemetryService as _0xd07349}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x50ab50}from'@univerjs/docs';import{SheetsSelectionsService as _0x483c2e,SetSelectionsOperation as _0x154717,InsertSheetMutation as _0xcf8f9,EmptyMutation as _0x2d16cc,WorkbookEditablePermission as _0x114bbf,UnitObject as _0x47487a,defaultWorkbookPermissionPoints as _0x2fc511,getAllWorkbookPermissionPoint as _0x32e316,WorksheetProtectionRuleModel as _0x3457c7,baseProtectionActions as _0xadcd67,getAllWorksheetPermissionPoint as _0x361b47,WorksheetProtectionPointModel as _0x272e32,defaultWorksheetPermissionPoint as _0x386674,getAllWorksheetPermissionPointByPointPanel as _0x3f2530,RangeProtectionRuleModel as _0x21956a,getAllRangePermissionPoint as _0x16087f,UniverSheetsPlugin as _0xc57085}from'@univerjs/sheets';import{ImageSourceType as _0x217d5e,ImageUploadStatusType as _0xc4aafb,IImageIoService as _0x5c1605}from'@univerjs/drawing';import{getGlobalObject as _0x2a6fa5}from'@univerjs-pro/license';const Pn=_0x376409(0x189),Nn=_0x376409(0x374),Dn=_0x376409(0x1e3),ho='SEND_CHANGESET_TIMEOUT',wn=0x7d0,Un=_0x376409(0x230),An='ws://127.0.0.1:8000/universer-api/comb/connect',xn=_0x376409(0x345),Ln=_0x376409(0x298),Mn=0x7530,Si=_0x376409(0x25b),Ei=0x4e20,$n=0x4e20,Hn=_0x376409(0x2f8),kn=0x3,_o=_0x376409(0x21d),lo=0x3e8,jn=_0x376409(0x39d),Bn=_0x376409(0x292),Fn='LOGIN_URL_KEY',Vn=_0x376409(0x43d);var Ii=(_0x2fbe7a=>(_0x2fbe7a[_0x2fbe7a['UNDEFINED']=0x0]=_0x376409(0x411),_0x2fbe7a[_0x2fbe7a['OK']=0x1]='OK',_0x2fbe7a[_0x2fbe7a[_0x376409(0x282)]=0x2]=_0x376409(0x282),_0x2fbe7a[_0x2fbe7a[_0x376409(0x248)]=0x3]=_0x376409(0x248),_0x2fbe7a[_0x2fbe7a['NOT_FOUND']=0x4]='NOT_FOUND',_0x2fbe7a[_0x2fbe7a[_0x376409(0x1dc)]=0x5]='UNAUTHENTICATED',_0x2fbe7a[_0x2fbe7a[_0x376409(0x334)]=0x6]=_0x376409(0x334),_0x2fbe7a[_0x2fbe7a['INVALID_ARGUMENT']=0x7]=_0x376409(0x1bd),_0x2fbe7a[_0x2fbe7a[_0x376409(0x41d)]=0x8]='TOO_MANY_REQUESTS',_0x2fbe7a[_0x2fbe7a[_0x376409(0x3d9)]=0x9]=_0x376409(0x3d9),_0x2fbe7a[_0x2fbe7a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x376409(0x1a1),_0x2fbe7a[_0x2fbe7a[_0x376409(0x484)]=0x1771]=_0x376409(0x484),_0x2fbe7a[_0x2fbe7a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x376409(0x34f),_0x2fbe7a[_0x2fbe7a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x376409(0x469),_0x2fbe7a[_0x2fbe7a[_0x376409(0x3d1)]=0x1b59]=_0x376409(0x3d1),_0x2fbe7a[_0x2fbe7a[_0x376409(0x1e8)]=0x1b5a]=_0x376409(0x1e8),_0x2fbe7a[_0x2fbe7a[_0x376409(0x3d8)]=0x1b5b]=_0x376409(0x3d8),_0x2fbe7a[_0x2fbe7a[_0x376409(0x35c)]=0x1b5c]=_0x376409(0x35c),_0x2fbe7a[_0x2fbe7a['APPLY_DUPLICATED']=0x1b5d]=_0x376409(0x44c),_0x2fbe7a[_0x2fbe7a[_0x376409(0x487)]=0x1f41]=_0x376409(0x487),_0x2fbe7a[_0x2fbe7a[_0x376409(0x441)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2fbe7a[_0x2fbe7a[_0x376409(0x46d)]=0x232a]=_0x376409(0x46d),_0x2fbe7a[_0x2fbe7a[_0x376409(0x1d2)]=0x232b]=_0x376409(0x1d2),_0x2fbe7a[_0x2fbe7a[_0x376409(0x1db)]=0x232c]=_0x376409(0x1db),_0x2fbe7a[_0x2fbe7a[_0x376409(0x288)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x2fbe7a[_0x2fbe7a[_0x376409(0x243)]=0x2711]=_0x376409(0x243),_0x2fbe7a[_0x2fbe7a[_0x376409(0x415)]=0x2712]=_0x376409(0x415),_0x2fbe7a[_0x2fbe7a[_0x376409(0x473)]=0x2713]=_0x376409(0x473),_0x2fbe7a[_0x2fbe7a[_0x376409(0x3d7)]=0x2714]=_0x376409(0x3d7),_0x2fbe7a[_0x2fbe7a[_0x376409(0x2c5)]=-0x1]=_0x376409(0x2c5),_0x2fbe7a))(Ii||{}),Q=(_0x29aadc=>(_0x29aadc[_0x29aadc[_0x376409(0x478)]=0x0]='UNIVER_UNKNOWN',_0x29aadc[_0x29aadc[_0x376409(0x3a8)]=0x1]=_0x376409(0x3a8),_0x29aadc[_0x29aadc[_0x376409(0x480)]=0x2]=_0x376409(0x480),_0x29aadc[_0x29aadc[_0x376409(0x22c)]=0x3]=_0x376409(0x22c),_0x29aadc[_0x29aadc[_0x376409(0x427)]=0x4]=_0x376409(0x427),_0x29aadc[_0x29aadc[_0x376409(0x2c5)]=-0x1]=_0x376409(0x2c5),_0x29aadc))(Q||{}),F=(_0x10447f=>(_0x10447f[_0x10447f[_0x376409(0x413)]=0x0]=_0x376409(0x413),_0x10447f[_0x10447f['HELLO']=0x1]=_0x376409(0x328),_0x10447f[_0x10447f['JOIN']=0x2]=_0x376409(0x21b),_0x10447f[_0x10447f[_0x376409(0x2fe)]=0x3]='LEAVE',_0x10447f[_0x10447f[_0x376409(0x361)]=0x4]='INGEST',_0x10447f[_0x10447f['HEARTBEAT']=0x5]=_0x376409(0x2b1),_0x10447f[_0x10447f[_0x376409(0x2cb)]=0x6]='RECV',_0x10447f[_0x10447f['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x10447f))(F||{}),Ee=(_0x3ab68c=>(_0x3ab68c[_0x3ab68c['UNKNOWN_CODE']=0x0]='UNKNOWN_CODE',_0x3ab68c[_0x3ab68c['OK']=0x1]='OK',_0x3ab68c[_0x3ab68c['FAIL']=0x2]='FAIL',_0x3ab68c[_0x3ab68c[_0x376409(0x274)]=0x3e9]=_0x376409(0x274),_0x3ab68c[_0x3ab68c[_0x376409(0x2ff)]=0x3ea]=_0x376409(0x2ff),_0x3ab68c[_0x3ab68c[_0x376409(0x1c0)]=0x3eb]=_0x376409(0x1c0),_0x3ab68c[_0x3ab68c[_0x376409(0x466)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x3ab68c[_0x3ab68c['UNRECOGNIZED']=-0x1]=_0x376409(0x2c5),_0x3ab68c))(Ee||{}),Ti=(_0x44522c=>(_0x44522c[_0x44522c[_0x376409(0x18d)]=0x0]=_0x376409(0x18d),_0x44522c[_0x44522c['HttpImport']=0x1]=_0x376409(0x2ec),_0x44522c[_0x44522c[_0x376409(0x3a6)]=0x2]=_0x376409(0x3a6),_0x44522c[_0x44522c[_0x376409(0x27f)]=0x3]=_0x376409(0x27f),_0x44522c[_0x44522c['UnitSnapshot']=0x4]=_0x376409(0x2d4),_0x44522c[_0x44522c['UNRECOGNIZED']=-0x1]=_0x376409(0x2c5),_0x44522c))(Ti||{});const Y=_0x376409(0x2ba),Wn={};var se=(_0x578b52=>(_0x578b52['OTHER_CLIENT_EDITING']=_0x376409(0x405),_0x578b52[_0x376409(0x248)]=_0x376409(0x248),_0x578b52[_0x376409(0x1f5)]=_0x376409(0x1f5),_0x578b52[_0x376409(0x45a)]='CLOSE_ROOM',_0x578b52[_0x376409(0x2ea)]=_0x376409(0x2ea),_0x578b52['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x578b52[_0x376409(0x1fd)]=_0x376409(0x1fd),_0x578b52[_0x376409(0x432)]=_0x376409(0x432),_0x578b52))(se||{});class pe{constructor(){var _0x3a46c6=_0x376409;D(this,_0x3a46c6(0x199),new _0x104c91()),D(this,_0x3a46c6(0x34d),this[_0x3a46c6(0x199)][_0x3a46c6(0x363)]());}[_0x376409(0x228)](_0x2c5336){var _0x25f89f=_0x376409;this[_0x25f89f(0x199)]['next'](_0x2c5336);}}const Gn=_0x9c3295(_0x376409(0x278));function _0x1c43(_0x5cdb72,_0x225167){var _0x447fd6=_0x447f();return _0x1c43=function(_0x1c4335,_0x17b806){_0x1c4335=_0x1c4335-0x17f;var _0x1d4e68=_0x447fd6[_0x1c4335];return _0x1d4e68;},_0x1c43(_0x5cdb72,_0x225167);}function Kn(_0x29f77b){var _0x262da2=_0x376409,_0x22961b,_0x3c2b6a,_0xb2d2cf,_0x1bad42,_0x43f400;const _0x7a5070=_0x29f77b[_0x262da2(0x2e0)],_0x21ad0a=JSON[_0x262da2(0x319)](_0x7a5070);switch(_0x21ad0a[_0x262da2(0x1f8)]){case F[_0x262da2(0x2b1)]:case F['HELLO']:{const _0x4f77de=_0x21ad0a[_0x262da2(0x24c)];return{..._0x21ad0a,'data':_0x4f77de,'cmd':_0x21ad0a[_0x262da2(0x1f8)]};}case F[_0x262da2(0x21b)]:{const _0x5627ed=_0x21ad0a[_0x262da2(0x42a)];return{..._0x21ad0a,'data':_0x5627ed,'cmd':_0x21ad0a[_0x262da2(0x1f8)]};}case F[_0x262da2(0x2cb)]:{const _0x48d406=_0x21ad0a[_0x262da2(0x25e)];switch(_0x48d406[_0x262da2(0x300)]){case _0x35b08b[_0x262da2(0x249)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':(_0x22961b=_0x48d406[_0x262da2(0x22a)])==null?void 0x0:_0x22961b['cs']},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x352)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':(_0x3c2b6a=_0x48d406[_0x262da2(0x304)])==null?void 0x0:_0x3c2b6a['cs']},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x1e4)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':(_0xb2d2cf=_0x48d406['newCsEvent'])==null?void 0x0:_0xb2d2cf['cs']},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x456)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':(_0x1bad42=_0x48d406[_0x262da2(0x266)])==null?void 0x0:_0x1bad42['cs']},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b['CHANGESET_SHOULD_RETRY']:return{..._0x21ad0a,'data':{..._0x48d406,'data':(_0x43f400=_0x48d406[_0x262da2(0x43c)])==null?void 0x0:_0x43f400['cs']},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x3be)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x3f9)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x27d)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x45c)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x1f0)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x303)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x359)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x308)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x31f)]:case _0x35b08b[_0x262da2(0x276)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x471)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b['LIVESHARE_TERMINATE']:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x308)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x3bd)]:return{..._0x21ad0a,'data':_0x48d406,'cmd':_0x21ad0a[_0x262da2(0x1f8)]};case _0x35b08b[_0x262da2(0x1de)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x30d)]},'cmd':_0x21ad0a['cmd']};case _0x35b08b[_0x262da2(0x436)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x2ca)]},'cmd':_0x21ad0a['cmd']};case _0x35b08b[_0x262da2(0x27b)]:return{..._0x21ad0a,'data':{..._0x48d406,'data':_0x48d406[_0x262da2(0x39a)]},'cmd':_0x21ad0a[_0x262da2(0x1f8)]};default:return _0x21ad0a;}}default:return _0x21ad0a;}}function zn(_0xa6e3c8){var _0x113156=_0x376409;switch(_0xa6e3c8['cmd']){case F[_0x113156(0x2b1)]:case F[_0x113156(0x328)]:return JSON[_0x113156(0x2c4)]({'cmd':_0xa6e3c8[_0x113156(0x1f8)],'routeKey':_0xa6e3c8[_0x113156(0x28d)]});case F['INGEST']:{let _0x4d2b99;switch(_0xa6e3c8[_0x113156(0x2e0)]['eventID']){case _0x35b08b['UPDATE_CURSOR']:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x3be)],'updateCursorEvent':_0xa6e3c8[_0x113156(0x2e0)][_0x113156(0x2e0)]};break;}case _0x35b08b['USERS_LEAVE']:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x1f0)],'leaveEvent':_0xa6e3c8[_0x113156(0x2e0)][_0x113156(0x2e0)]};break;}case _0x35b08b[_0x113156(0x27d)]:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x27d)],'joinEvent':_0xa6e3c8[_0x113156(0x2e0)]['data']};break;}case _0x35b08b['LIVESHARE_NEW_HOST']:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x359)],'liveShareNewHost':_0xa6e3c8[_0x113156(0x2e0)][_0x113156(0x2e0)]};break;}case _0x35b08b[_0x113156(0x276)]:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x276)],'liveShareOperation':_0xa6e3c8[_0x113156(0x2e0)]['data']};break;}case _0x35b08b['LIVESHARE_TERMINATE']:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x1f9)],'liveShareTerminate':_0xa6e3c8[_0x113156(0x2e0)][_0x113156(0x2e0)]};break;}case _0x35b08b[_0x113156(0x34a)]:{_0x4d2b99={'eventID':_0x35b08b['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0xa6e3c8['data'][_0x113156(0x2e0)]};break;}case _0x35b08b[_0x113156(0x31f)]:{_0x4d2b99={'eventID':_0x35b08b[_0x113156(0x31f)]};break;}default:_0x4d2b99={'eventID':_0xa6e3c8['data'][_0x113156(0x300)]};}return JSON[_0x113156(0x2c4)]({'cmd':_0xa6e3c8[_0x113156(0x1f8)],'routeKey':_0xa6e3c8[_0x113156(0x28d)],'collaMsg':_0x4d2b99});}case F[_0x113156(0x21b)]:return JSON[_0x113156(0x2c4)]({'cmd':_0xa6e3c8[_0x113156(0x1f8)],'routeKey':_0xa6e3c8[_0x113156(0x28d)],'joinReq':_0xa6e3c8['data']});case F[_0x113156(0x2fe)]:return JSON[_0x113156(0x2c4)]({'cmd':_0xa6e3c8['cmd'],'routeKey':_0xa6e3c8[_0x113156(0x28d)],'leaveReq':_0xa6e3c8[_0x113156(0x2e0)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Yn=Object['defineProperty'],qn=Object[_0x376409(0x2cd)],Jn=(_0x16dad7,_0xbaee5c,_0x1759c7,_0x476385)=>{for(var _0x762be1=_0x476385>0x1?void 0x0:_0x476385?qn(_0xbaee5c,_0x1759c7):_0xbaee5c,_0x29b5d3=_0x16dad7['length']-0x1,_0x4021e7;_0x29b5d3>=0x0;_0x29b5d3--)(_0x4021e7=_0x16dad7[_0x29b5d3])&&(_0x762be1=(_0x476385?_0x4021e7(_0xbaee5c,_0x1759c7,_0x762be1):_0x4021e7(_0x762be1))||_0x762be1);return _0x476385&&_0x762be1&&Yn(_0xbaee5c,_0x1759c7,_0x762be1),_0x762be1;},we=(_0x4ec43c,_0x55fc02)=>(_0x37740f,_0x1c130b)=>_0x55fc02(_0x37740f,_0x1c130b,_0x4ec43c);const Ci=_0x9c3295(_0x376409(0x3d4));function Xn(_0x462b7c,_0x14e5b4,_0x5eceec){var _0x17dc30=_0x376409;return _0x462b7c+'/'+_0x14e5b4+_0x17dc30(0x2e6)+_0x5eceec+_0x17dc30(0x360);}let It=class extends _0x5987de{constructor(_0x309e31,_0x210d88,_0x49a423,_0x101366,_0x43e7ea){var _0x5903b8=_0x376409;super(),this[_0x5903b8(0x2d7)]=_0x309e31,this['_http']=_0x210d88,this[_0x5903b8(0x19f)]=_0x49a423,this[_0x5903b8(0x442)]=_0x101366,this['_snapshotServerService']=_0x43e7ea;}['createSocket'](_0x20e7e8){var _0x4841e0=_0x376409;const _0x594387=this['_injector'][_0x4841e0(0x358)](_0x57a30f);if(!_0x594387)throw new Error(_0x4841e0(0x1ba));const _0x512951=_0x594387[_0x4841e0(0x1e2)](_0x20e7e8);if(!_0x512951)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x53a71c=new _0x2107d6(),_0x1f0021=new _0x104c91();_0x53a71c[_0x4841e0(0x373)](_0x512951[_0x4841e0(0x23b)][_0x4841e0(0x417)](_0x23833e=>_0x1f0021[_0x4841e0(0x33d)](_0x23833e))),_0x53a71c[_0x4841e0(0x373)](_0x339741(()=>_0x1f0021[_0x4841e0(0x2d1)]()));const _0x4b1908=new _0x104c91();_0x53a71c[_0x4841e0(0x373)](_0x512951[_0x4841e0(0x1d1)][_0x4841e0(0x417)](_0x205301=>_0x4b1908[_0x4841e0(0x33d)](_0x205301))),_0x53a71c[_0x4841e0(0x373)](_0x339741(()=>_0x4b1908[_0x4841e0(0x2d1)]()));const _0x5b7524=new _0x104c91();_0x53a71c[_0x4841e0(0x373)](_0x512951[_0x4841e0(0x1cd)]['subscribe'](_0xcb0981=>{var _0x37f57f=_0x4841e0;const _0xa3eaa9=Kn(_0xcb0981);_0x5b7524[_0x37f57f(0x33d)](_0xa3eaa9);})),_0x53a71c['add'](_0x339741(()=>_0x5b7524[_0x4841e0(0x2d1)]()));let _0x5a6786;const _0x26d6c7=()=>{var _0x1df9c3=_0x4841e0;_0x4b1908['next'](new Event('connection\x20error')),_0x1f0021[_0x1df9c3(0x33d)](new CloseEvent(_0x1df9c3(0x327))),_0x5a6786[_0x1df9c3(0x39e)]();};return _0x5a6786={'memberID':'','close$':_0x1f0021[_0x4841e0(0x363)](),'error$':_0x4b1908[_0x4841e0(0x363)](),'open$':_0x512951[_0x4841e0(0x2d2)],'message$':_0x5b7524[_0x4841e0(0x363)](),'send':_0x5ee804=>{var _0x62b050=_0x4841e0;if(_0x5ee804[_0x62b050(0x1f8)]===F[_0x62b050(0x361)]){if(_0x5ee804[_0x62b050(0x2e0)][_0x62b050(0x300)]===_0x35b08b[_0x62b050(0x2c8)]){this[_0x62b050(0x344)](_0x5a6786,_0x5ee804['data'])[_0x62b050(0x41f)](_0x177314=>{var _0x131d00=_0x62b050;this[_0x131d00(0x442)][_0x131d00(0x1f6)](_0x177314),_0x26d6c7();});return;}if(_0x5ee804[_0x62b050(0x2e0)][_0x62b050(0x300)]===_0x35b08b[_0x62b050(0x2de)]){const _0x1f37f9=_0x5ee804[_0x62b050(0x2e0)];this['_fetchMissChangesets'](_0x1f37f9)[_0x62b050(0x1d8)](_0x186f7e=>{var _0x23af20=_0x62b050;_0x5b7524[_0x23af20(0x33d)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x1f37f9[_0x23af20(0x2e0)][_0x23af20(0x1b7)],'routeType':'','data':{'eventID':_0x35b08b[_0x23af20(0x481)],'data':{'changesets':_0x186f7e}}});})[_0x62b050(0x41f)](_0x1bb05a=>{var _0x314532=_0x62b050;this[_0x314532(0x442)][_0x314532(0x1f6)](_0x1bb05a),_0x26d6c7();});return;}}_0x512951[_0x62b050(0x36e)](zn(_0x5ee804));},'close':()=>{_0x512951['close'](),_0x53a71c['dispose']();}},_0x5a6786;}async[_0x376409(0x344)](_0x13b6a4,_0x13de40){var _0x104281=_0x376409,_0x27315b,_0x4ee74d;const {unitType:_0x4b7ff8,unitID:_0x7abde2,changeset:_0x4d75ea}=_0x13de40[_0x104281(0x2e0)],_0x36e940={'unitID':_0x7abde2,'memberID':_0x13b6a4[_0x104281(0x1fc)],'type':_0x4b7ff8,'changeset':_0x4e61c1(_0x4d75ea)},_0x1f5e2c=this['_configService'][_0x104281(0x335)](jn),_0x3cd8c3=this['_configService'][_0x104281(0x335)](Y),_0x2a8f84=Xn((_0x4ee74d=(_0x27315b=_0x3cd8c3==null?void 0x0:_0x3cd8c3[_0x104281(0x30f)])!=null?_0x27315b:_0x1f5e2c)!=null?_0x4ee74d:Bn,_0x4b7ff8,_0x7abde2);try{await this['_http'][_0x104281(0x3ad)](_0x2a8f84,{'body':_0x36e940});}catch(_0x5bd7e8){throw this[_0x104281(0x442)][_0x104281(0x1f6)](_0x104281(0x41c),_0x104281(0x418)),_0x5bd7e8;}}async[_0x376409(0x322)](_0x5157e4){var _0x2cbe30=_0x376409;const {unitID:_0x3042ee,from:_0x2998a7,to:_0x19f220,unitType:_0x17484a}=_0x5157e4[_0x2cbe30(0x2e0)];return(await this[_0x2cbe30(0x1e5)][_0x2cbe30(0x39b)]({'metadata':void 0x0},{'unitID':_0x3042ee,'type':_0x17484a,'from':_0x2998a7,'to':_0x19f220}))[_0x2cbe30(0x18f)];}};It=Jn([we(0x0,_0x49f53f(_0x3e138a)),we(0x1,_0x49f53f(_0x4a7d71)),we(0x2,_0x574946),we(0x3,_0x3bfb06),we(0x4,_0x58421a)],It);const Zn='collaboration_new_changeset';function Qn(_0x5401b2){var _0x37be1c=_0x376409;return JSON[_0x37be1c(0x2c4)](_0x5401b2)[_0x37be1c(0x2ce)];}class bi{constructor(){var _0x36d7ed=_0x376409;D(this,_0x36d7ed(0x434),new _0x104c91()),D(this,_0x36d7ed(0x365),this['_commentUpdate$'][_0x36d7ed(0x363)]());}[_0x376409(0x28a)](_0x2fcc80){var _0x242102=_0x376409;this[_0x242102(0x434)][_0x242102(0x33d)](_0x2fcc80);}}var es=Object[_0x376409(0x367)],ts=Object[_0x376409(0x2cd)],is=(_0x246b82,_0x2b5b6d,_0x4e7a83,_0x20d612)=>{var _0x191330=_0x376409;for(var _0x2b0004=_0x20d612>0x1?void 0x0:_0x20d612?ts(_0x2b5b6d,_0x4e7a83):_0x2b5b6d,_0x4edc99=_0x246b82[_0x191330(0x2ce)]-0x1,_0x3def63;_0x4edc99>=0x0;_0x4edc99--)(_0x3def63=_0x246b82[_0x4edc99])&&(_0x2b0004=(_0x20d612?_0x3def63(_0x2b5b6d,_0x4e7a83,_0x2b0004):_0x3def63(_0x2b0004))||_0x2b0004);return _0x20d612&&_0x2b0004&&es(_0x2b5b6d,_0x4e7a83,_0x2b0004),_0x2b0004;},zt=(_0x39c7c0,_0x17ba07)=>(_0x2afc8b,_0x8fbd74)=>_0x17ba07(_0x2afc8b,_0x8fbd74,_0x39c7c0);let Le=class extends _0x5987de{constructor(_0x27c22f,_0x4c3c5c){var _0x34257e=_0x376409;super(),D(this,_0x34257e(0x1a8),new Map()),(this[_0x34257e(0x299)]=_0x27c22f,this[_0x34257e(0x3b2)]=_0x4c3c5c,this['disposeWithMe'](_0x339741(_0x82c328(this[_0x34257e(0x299)][_0x34257e(0x1cc)](_0x26b476[_0x34257e(0x480)])[_0x34257e(0x2d3)](_0x225490(_0xdbd41c=>_0xdbd41c[_0x34257e(0x2b9)]())),this[_0x34257e(0x299)][_0x34257e(0x1cc)](_0x26b476[_0x34257e(0x3a8)])['pipe'](_0x225490(_0x17064a=>_0x17064a[_0x34257e(0x2b9)]())),this[_0x34257e(0x299)][_0x34257e(0x1cc)](_0x26b476[_0x34257e(0x22c)])[_0x34257e(0x2d3)](_0x225490(_0x348657=>_0x348657['getUnitId']())))[_0x34257e(0x417)](_0x5ce422=>this[_0x34257e(0x449)](_0x5ce422)))));}['setCurrentUser'](_0x8e151c){var _0x3f4a23=_0x376409;this['_userManagerService'][_0x3f4a23(0x34b)](_0x8e151c);}[_0x376409(0x2a4)](){var _0x2fa287=_0x376409;return this[_0x2fa287(0x3b2)][_0x2fa287(0x2a4)]();}[_0x376409(0x37b)](_0x30bb93,_0xfe9b87){var _0x3120c2=_0x376409;let _0x2dfdc2=this['_roomMembers'][_0x3120c2(0x358)](_0x30bb93);_0x2dfdc2||(_0x2dfdc2=new ns(),this[_0x3120c2(0x1a8)]['set'](_0x30bb93,_0x2dfdc2)),_0x2dfdc2[_0x3120c2(0x37b)](_0xfe9b87);}[_0x376409(0x2be)](_0x507a37,_0x48e6b9){var _0x2be24e=_0x376409;const _0x21835e=this[_0x2be24e(0x1a8)][_0x2be24e(0x358)](_0x507a37);_0x21835e&&_0x21835e[_0x2be24e(0x2be)](_0x48e6b9);}[_0x376409(0x317)](_0x1d974d){var _0x3adf10=_0x376409;return this[_0x3adf10(0x1a8)][_0x3adf10(0x358)](_0x1d974d);}[_0x376409(0x371)](_0x320feb,_0x836777){var _0x2de49e=_0x376409;const _0x16ca3e=this[_0x2de49e(0x1a8)][_0x2de49e(0x358)](_0x320feb);if(_0x16ca3e)return _0x16ca3e[_0x2de49e(0x371)](_0x836777);}[_0x376409(0x449)](_0x5c5441){var _0x3b6af0=_0x376409;const _0x3d02c1=this['_roomMembers'][_0x3b6af0(0x358)](_0x5c5441);_0x3d02c1&&(_0x3d02c1['dispose'](),this[_0x3b6af0(0x1a8)][_0x3b6af0(0x2a2)](_0x5c5441));}[_0x376409(0x40c)](){var _0x482d3e=_0x376409;this['_roomMembers']['forEach'](_0x5b5d33=>_0x5b5d33['dispose']()),this[_0x482d3e(0x1a8)][_0x482d3e(0x27c)]();}};Le=is([zt(0x0,_0x2c9805),zt(0x1,_0x49f53f(_0x422011))],Le);class ns extends _0x5987de{constructor(){var _0x1385fc=_0x376409;super(...arguments),D(this,_0x1385fc(0x2aa),new Map());}[_0x376409(0x40c)](){var _0x4d4622=_0x376409;this[_0x4d4622(0x2aa)][_0x4d4622(0x27c)]();}['updateMember'](_0x34d850){var _0x4cdf23=_0x376409;this[_0x4cdf23(0x2aa)][_0x4cdf23(0x3f5)](_0x34d850[_0x4cdf23(0x1fc)],_0x34d850);}[_0x376409(0x2be)](_0x26673f){var _0x40d762=_0x376409;this[_0x40d762(0x2aa)][_0x40d762(0x2a2)](_0x26673f);}[_0x376409(0x371)](_0x1562ec){var _0x1bcfd3=_0x376409;return this['_members'][_0x1bcfd3(0x358)](_0x1562ec);}[_0x376409(0x3c4)](){var _0x284765=_0x376409;return Array[_0x284765(0x43a)](this[_0x284765(0x2aa)][_0x284765(0x311)]());}}var ss=Object[_0x376409(0x367)],rs=Object[_0x376409(0x2cd)],os=(_0x5e9a59,_0x2ac4d4,_0x321866,_0xb0ad11)=>{var _0x588a23=_0x376409;for(var _0x5ecdf7=_0xb0ad11>0x1?void 0x0:_0xb0ad11?rs(_0x2ac4d4,_0x321866):_0x2ac4d4,_0xb9e612=_0x5e9a59[_0x588a23(0x2ce)]-0x1,_0x28407e;_0xb9e612>=0x0;_0xb9e612--)(_0x28407e=_0x5e9a59[_0xb9e612])&&(_0x5ecdf7=(_0xb0ad11?_0x28407e(_0x2ac4d4,_0x321866,_0x5ecdf7):_0x28407e(_0x5ecdf7))||_0x5ecdf7);return _0xb0ad11&&_0x5ecdf7&&ss(_0x2ac4d4,_0x321866,_0x5ecdf7),_0x5ecdf7;},ge=(_0x21ca4f,_0x494706)=>(_0x460aa5,_0x22cee4)=>_0x494706(_0x460aa5,_0x22cee4,_0x21ca4f),Ie=(_0x469d93=>(_0x469d93[_0x469d93[_0x376409(0x297)]=0x0]=_0x376409(0x297),_0x469d93[_0x469d93['JOINING']=0x1]=_0x376409(0x200),_0x469d93[_0x469d93[_0x376409(0x343)]=0x2]=_0x376409(0x343),_0x469d93[_0x469d93['ONLINE']=0x3]=_0x376409(0x448),_0x469d93))(Ie||{});const Yt={[Ee['FAIL']]:'session.join-failed',[Ee[_0x376409(0x274)]]:_0x376409(0x30b),[Ee[_0x376409(0x2ff)]]:_0x376409(0x354),[Ee[_0x376409(0x1c0)]]:_0x376409(0x283),[Ee[_0x376409(0x466)]]:_0x376409(0x399)};let Tt=class extends _0x46baed{constructor(_0x58400a,_0x4b8a27,_0x37f7b7,_0x37afad,_0x12c9b1,_0x4ed257,_0x29c9d5,_0x231349,_0x589158){var _0x5b548b=_0x376409;super(),D(this,_0x5b548b(0x35f),new _0x2eae86(0x0)),D(this,_0x5b548b(0x259),this[_0x5b548b(0x35f)][_0x5b548b(0x363)]()),D(this,_0x5b548b(0x199),new _0x104c91()),D(this,_0x5b548b(0x34d),this[_0x5b548b(0x199)][_0x5b548b(0x363)]()),D(this,_0x5b548b(0x32b)),D(this,_0x5b548b(0x242)),D(this,_0x5b548b(0x2b3)),D(this,_0x5b548b(0x1fb),!0x1),D(this,_0x5b548b(0x379),null),(this[_0x5b548b(0x301)]=_0x58400a,this[_0x5b548b(0x442)]=_0x37f7b7,this[_0x5b548b(0x19f)]=_0x37afad,this[_0x5b548b(0x46b)]=_0x12c9b1,this['_memberService']=_0x4ed257,this[_0x5b548b(0x25a)]=_0x29c9d5,this['_collaborationUIEventService']=_0x231349,this[_0x5b548b(0x45d)]=_0x589158,this['_shouldReportTelemetry']=!!this[_0x5b548b(0x45d)],_0x4b8a27[_0x5b548b(0x2d3)](_0x166570(this[_0x5b548b(0x1bb)]))[_0x5b548b(0x417)](_0x1c1bbf=>{var _0x48eb20=_0x5b548b,_0x51a519;typeof _0x1c1bbf>'u'||(this[_0x48eb20(0x32b)]=_0x1c1bbf,_0x1c1bbf?(this[_0x48eb20(0x262)](_0x1c1bbf),this[_0x48eb20(0x242)]=_0x1c1bbf[_0x48eb20(0x1cd)][_0x48eb20(0x417)](_0x233fb5=>{var _0x57d170=_0x48eb20;_0x233fb5[_0x57d170(0x28d)]===this[_0x57d170(0x301)]&&this['_onCombEvent'](_0x233fb5);})):(this[_0x48eb20(0x332)](),this[_0x48eb20(0x35f)]['next'](0x2),(_0x51a519=this[_0x48eb20(0x242)])==null||_0x51a519['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x376409(0x445)](){return this['_sessionStatus$']['getValue']();}[_0x376409(0x401)](){var _0x2ef15b=_0x376409,_0x154b0f,_0x43207d;return(_0x43207d=(_0x154b0f=this[_0x2ef15b(0x32b)])==null?void 0x0:_0x154b0f[_0x2ef15b(0x1fc)])!=null?_0x43207d:null;}[_0x376409(0x40c)](){var _0x489e0a=_0x376409;super[_0x489e0a(0x40c)](),this['dispose$']['next'](),this[_0x489e0a(0x1bb)][_0x489e0a(0x2d1)]();}[_0x376409(0x39e)](){var _0x486114=_0x376409,_0x49742b,_0x312c0a;this[_0x486114(0x332)](),(_0x49742b=this[_0x486114(0x32b)])==null||_0x49742b['send']({'cmd':F[_0x486114(0x2fe)],'data':{'roomID':this[_0x486114(0x301)]}}),(_0x312c0a=this[_0x486114(0x32b)])==null||_0x312c0a['close'](),this[_0x486114(0x199)][_0x486114(0x2d1)](),this[_0x486114(0x35f)][_0x486114(0x2d1)](),this['dispose']();}[_0x376409(0x183)](_0x1e6365){var _0x4abbe7=_0x376409;_0x1e6365['cmd']===F['JOIN']?this[_0x4abbe7(0x2fc)](_0x1e6365):_0x1e6365[_0x4abbe7(0x1f8)]===F[_0x4abbe7(0x2cb)]&&this['_onRecvEvent'](_0x1e6365);}[_0x376409(0x262)](_0x21742d){var _0x347177=_0x376409;this[_0x347177(0x35f)][_0x347177(0x33d)](0x1),_0x21742d[_0x347177(0x36e)]({'cmd':F[_0x347177(0x21b)],'routeKey':this[_0x347177(0x301)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x376409(0x2fc)](_0x31ea1c){var _0x5d73eb=_0x376409,_0x4e9577;if(_0x31ea1c[_0x5d73eb(0x2c0)]in Yt){this['_collaborationUIEventService'][_0x5d73eb(0x228)]({'id':se[_0x5d73eb(0x2ea)],'data':Yt[_0x31ea1c['code']]}),this[_0x5d73eb(0x35f)][_0x5d73eb(0x33d)](0x2);return;}this[_0x5d73eb(0x35f)]['next'](0x3);const _0x2939ce=(_0x4e9577=_0x31ea1c['data'][_0x5d73eb(0x182)][this[_0x5d73eb(0x301)]])==null?void 0x0:_0x4e9577['members'];_0x2939ce&&_0x2939ce[_0x5d73eb(0x437)](_0x282a96=>this[_0x5d73eb(0x1ca)][_0x5d73eb(0x37b)](this[_0x5d73eb(0x301)],_0x282a96));}['_onRecvEvent'](_0x4f4fac){var _0x42ff68=_0x376409;try{const _0x1bc8b8=_0x4f4fac[_0x42ff68(0x2e0)];switch(_0x1bc8b8[_0x42ff68(0x300)]){case _0x35b08b[_0x42ff68(0x27d)]:this[_0x42ff68(0x21f)](_0x1bc8b8),this[_0x42ff68(0x199)][_0x42ff68(0x33d)](_0x1bc8b8);break;case _0x35b08b['USERS_LEAVE']:this[_0x42ff68(0x3fb)](_0x1bc8b8),this[_0x42ff68(0x199)][_0x42ff68(0x33d)](_0x1bc8b8);break;case _0x35b08b[_0x42ff68(0x352)]:case _0x35b08b[_0x42ff68(0x289)]:this[_0x42ff68(0x1d9)](),this[_0x42ff68(0x310)](),this[_0x42ff68(0x199)][_0x42ff68(0x33d)](_0x1bc8b8);break;case _0x35b08b['MSG_FOR_ERROR']:this[_0x42ff68(0x442)]['error'](_0x42ff68(0x392)+JSON['stringify'](_0x1bc8b8)),this[_0x42ff68(0x199)][_0x42ff68(0x33d)](_0x1bc8b8);break;case _0x35b08b[_0x42ff68(0x1de)]:this['_commentService'][_0x42ff68(0x28a)](_0x1bc8b8[_0x42ff68(0x2e0)]),this['_event$']['next'](_0x1bc8b8);break;default:this[_0x42ff68(0x199)]['next'](_0x1bc8b8);}}catch(_0xc34744){this[_0x42ff68(0x442)][_0x42ff68(0x1f6)](_0xc34744,_0x4f4fac);}}[_0x376409(0x21f)](_0x597ec1){var _0xee56c3=_0x376409;this[_0xee56c3(0x1ca)][_0xee56c3(0x37b)](this[_0xee56c3(0x301)],_0x597ec1[_0xee56c3(0x2e0)]);}['_onUserLeave'](_0x58ea88){var _0x2a0b14=_0x376409;this[_0x2a0b14(0x1ca)][_0x2a0b14(0x2be)](this[_0x2a0b14(0x301)],_0x58ea88[_0x2a0b14(0x2e0)][_0x2a0b14(0x1fc)]);}async['send'](_0x5ab99d,_0x108c2c){var _0xba0d36=_0x376409;if(this[_0xba0d36(0x445)]!==0x3||!this['_socket'])throw new Error(_0xba0d36(0x364));try{_0x5ab99d['eventID']===_0x35b08b[_0xba0d36(0x2c8)]&&(this[_0xba0d36(0x3ef)](),this[_0xba0d36(0x244)](_0x5ab99d)),this['_socket']['send']({'cmd':F[_0xba0d36(0x361)],'routeKey':_0x108c2c,'routeType':'','data':_0x5ab99d});}catch(_0x40d3ba){this[_0xba0d36(0x442)][_0xba0d36(0x1f6)](_0x40d3ba);}}[_0x376409(0x3ef)](){var _0x5d36fa=_0x376409,_0x515be9;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xa14de=_0x1c43;this[_0xa14de(0x2b3)]=null,this[_0xa14de(0x2b5)]['emitEvent']({'id':se[_0xa14de(0x432)]});},(_0x515be9=this[_0x5d36fa(0x19f)][_0x5d36fa(0x335)](Si))!=null?_0x515be9:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x541ee2=_0x376409;this['_collaborationTimeoutTimer']&&(clearTimeout(this[_0x541ee2(0x2b3)]),this[_0x541ee2(0x2b3)]=null);}[_0x376409(0x244)](_0x53149f){var _0x14648a=_0x376409;if(!this[_0x14648a(0x1fb)])return;const {data:_0x59b412}=_0x53149f,{unitID:_0x45586e,changeset:_0x2e047f}=_0x59b412,{mutations:_0x3d9992,type:_0x1fc787}=_0x2e047f;this['_telemetryInfo']={'unitId':_0x45586e,'type':_0x1fc787,'startTime':performance[_0x14648a(0x1b0)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x3d9992)};}[_0x376409(0x1d9)](){var _0x5f1d7d=_0x376409;if(this[_0x5f1d7d(0x1fb)]){if(!this['_telemetryInfo']){this[_0x5f1d7d(0x442)][_0x5f1d7d(0x1f6)](_0x5f1d7d(0x41c),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x5f1d7d(0x379)][_0x5f1d7d(0x34e)]=performance[_0x5f1d7d(0x1b0)](),this[_0x5f1d7d(0x379)][_0x5f1d7d(0x1c2)]=this['_telemetryInfo'][_0x5f1d7d(0x34e)]-this[_0x5f1d7d(0x379)][_0x5f1d7d(0x190)],this[_0x5f1d7d(0x45d)][_0x5f1d7d(0x3ec)](Zn,this['_telemetryInfo']),this[_0x5f1d7d(0x379)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x21cd75=_0x376409;this[_0x21cd75(0x379)]=null;}};Tt=os([ge(0x2,_0x3bfb06),ge(0x3,_0x574946),ge(0x4,_0x49f53f(_0x319bff)),ge(0x5,_0x49f53f(Le)),ge(0x6,_0x49f53f(bi)),ge(0x7,_0x49f53f(pe)),ge(0x8,_0x59dc08(_0xd07349))],Tt);var as=Object[_0x376409(0x367)],cs=Object[_0x376409(0x2cd)],hs=(_0x54f2ea,_0x4ca49c,_0x548c1a,_0x5033d9)=>{var _0x2089cc=_0x376409;for(var _0x20a46b=_0x5033d9>0x1?void 0x0:_0x5033d9?cs(_0x4ca49c,_0x548c1a):_0x4ca49c,_0x2927cf=_0x54f2ea[_0x2089cc(0x2ce)]-0x1,_0x38f294;_0x2927cf>=0x0;_0x2927cf--)(_0x38f294=_0x54f2ea[_0x2927cf])&&(_0x20a46b=(_0x5033d9?_0x38f294(_0x4ca49c,_0x548c1a,_0x20a46b):_0x38f294(_0x20a46b))||_0x20a46b);return _0x5033d9&&_0x20a46b&&as(_0x4ca49c,_0x548c1a,_0x20a46b),_0x20a46b;},me=(_0x2d13d6,_0x5745f6)=>(_0x1ce159,_0x1bcdb8)=>_0x5745f6(_0x1ce159,_0x1bcdb8,_0x2d13d6);let Me=class extends _0x5987de{constructor(_0x3e6545,_0x27e4c2,_0xfba11e,_0x53dff6,_0x3ad9d6,_0x303693,_0x4bcdc2){var _0x11fab4=_0x376409;super(),D(this,'_socket$',new _0x2eae86(void 0x0)),D(this,_0x11fab4(0x3e7),this[_0x11fab4(0x1d4)][_0x11fab4(0x363)]()),D(this,_0x11fab4(0x204),null),D(this,_0x11fab4(0x407),new Map()),D(this,_0x11fab4(0x3fe),new _0x2eae86(Ie[_0x11fab4(0x297)])),D(this,_0x11fab4(0x29b),this['_status$'][_0x11fab4(0x363)]()),D(this,'_socketReady',!0x1),D(this,_0x11fab4(0x219)),D(this,'_retryCount',0x0),D(this,'_sendHeartbeatTimer'),D(this,'_timeoutTimer'),(this['_injector']=_0x3e6545,this[_0x11fab4(0x442)]=_0x27e4c2,this[_0x11fab4(0x19f)]=_0xfba11e,this[_0x11fab4(0x186)]=_0x53dff6,this[_0x11fab4(0x3a9)]=_0x3ad9d6,this['_collaborationUIEventService']=_0x303693,this['_networkConditionService']=_0x4bcdc2,this[_0x11fab4(0x26e)]());}get[_0x376409(0x32b)](){var _0x23e2fc=_0x376409;return this[_0x23e2fc(0x1d4)]['getValue']();}[_0x376409(0x26e)](){var _0x7fa7d0=_0x376409;this[_0x7fa7d0(0x1ac)]&&this[_0x7fa7d0(0x20b)](this[_0x7fa7d0(0x1ac)]['online$'][_0x7fa7d0(0x417)](_0x24af07=>{var _0x401d54=_0x7fa7d0;_0x24af07&&!this[_0x401d54(0x32b)]&&this[_0x401d54(0x30a)](),_0x24af07||this['_onOffline']();}));}[_0x376409(0x40c)](){var _0x2246ce=_0x376409;super[_0x2246ce(0x40c)](),this[_0x2246ce(0x407)][_0x2246ce(0x437)](_0x28791c=>_0x28791c[_0x2246ce(0x40c)]()),this[_0x2246ce(0x407)][_0x2246ce(0x27c)](),this[_0x2246ce(0x3fe)][_0x2246ce(0x2d1)]();}async[_0x376409(0x3ed)](_0x595f12){var _0x599a37=_0x376409;if(this[_0x599a37(0x407)][_0x599a37(0x180)](_0x595f12))return this[_0x599a37(0x407)]['get'](_0x595f12);this[_0x599a37(0x245)]();const _0xd943ae=this[_0x599a37(0x2d7)][_0x599a37(0x24a)](Tt,_0x595f12,this[_0x599a37(0x1d4)]['asObservable']());return this['_sessions'][_0x599a37(0x3f5)](_0x595f12,_0xd943ae),_0xd943ae;}['closeSession'](_0x5955b5){var _0x1603cd=_0x376409,_0x14b605;const _0x577dba=this[_0x1603cd(0x407)]['get'](_0x5955b5);_0x577dba&&(this[_0x1603cd(0x407)][_0x1603cd(0x2a2)](_0x5955b5),_0x577dba['close']()),this[_0x1603cd(0x407)][_0x1603cd(0x362)]||(_0x14b605=this[_0x1603cd(0x32b)])==null||_0x14b605['close']();}[_0x376409(0x30a)](){var _0x382c34=_0x376409;this['_retryCount']=0x0,this[_0x382c34(0x219)]!=null&&(clearTimeout(this[_0x382c34(0x219)]),this['_retryConnectingTimer']=null),this[_0x382c34(0x1f3)]();}async[_0x376409(0x41b)](){var _0x4bd143=_0x376409,_0x221ea2,_0x5b7a9f,_0x4a2a18;const _0x25589d=this[_0x4bd143(0x19f)][_0x4bd143(0x335)](Y),_0x4eae35=(_0x221ea2=_0x25589d==null?void 0x0:_0x25589d['wsSessionTicketUrl'])!=null?_0x221ea2:xn;return(_0x4a2a18=(_0x5b7a9f=(await this[_0x4bd143(0x3a9)][_0x4bd143(0x358)](_0x4eae35,{'headers':{'Content-Type':_0x4bd143(0x1cf)}}))[_0x4bd143(0x3c1)])==null?void 0x0:_0x5b7a9f[_0x4bd143(0x3e2)])!=null?_0x4a2a18:'';}[_0x376409(0x1e9)](_0x41ead9){var _0x27121c=_0x376409,_0xe4ef89,_0x4ddaae;const _0x269a37=this[_0x27121c(0x19f)][_0x27121c(0x335)](Un),_0x4c4a16=this[_0x27121c(0x19f)][_0x27121c(0x335)](Y),_0x14c9bd=(_0x4ddaae=(_0xe4ef89=_0x4c4a16==null?void 0x0:_0x4c4a16['collabWebSocketUrl'])!=null?_0xe4ef89:_0x269a37)!=null?_0x4ddaae:An,_0x45f9ac=typeof window>'u'?new URL(_0x14c9bd):new URL(_0x14c9bd,window[_0x27121c(0x472)][_0x27121c(0x384)]);return _0x45f9ac[_0x27121c(0x201)]['set']('sessionTicket',_0x41ead9),_0x45f9ac[_0x27121c(0x3f1)]();}async[_0x376409(0x43e)](){var _0xb23325=_0x376409;const _0x5ef56c=await this[_0xb23325(0x41b)](),_0x561735=this[_0xb23325(0x1e9)](_0x5ef56c),_0x2244ee=this[_0xb23325(0x186)]['createSocket'](_0x561735);return this['_candidateSocket']=_0x2244ee,_0x2244ee;}async['_tryEnsureSocket'](){var _0x1e3c66=_0x376409,_0x514fac,_0x573606;try{const _0x11308d=(_0x573606=(_0x514fac=this[_0x1e3c66(0x32b)])!=null?_0x514fac:this['_candidateSocket'])!=null?_0x573606:await this[_0x1e3c66(0x43e)]();if(_0x11308d){const _0x36deb2=_0x11308d[_0x1e3c66(0x36e)];_0x11308d[_0x1e3c66(0x36e)]=_0x3113c0=>(this[_0x1e3c66(0x447)](),_0x36deb2[_0x1e3c66(0x1b9)](_0x11308d,[_0x3113c0])),_0x11308d[_0x1e3c66(0x1cd)][_0x1e3c66(0x417)](_0x357116=>this[_0x1e3c66(0x32d)](_0x11308d,_0x357116)),_0x11308d[_0x1e3c66(0x1d1)]['pipe'](_0x28c95e(0x1))[_0x1e3c66(0x417)](_0x306a46=>this[_0x1e3c66(0x442)]['error'](_0x1e3c66(0x3db),_0x306a46)),_0x11308d[_0x1e3c66(0x2d2)][_0x1e3c66(0x2d3)](_0x28c95e(0x1))[_0x1e3c66(0x417)](()=>{var _0x4abd28=_0x1e3c66;this[_0x4abd28(0x3cf)](_0x11308d);}),_0x11308d['close$'][_0x1e3c66(0x2d3)](_0x28c95e(0x1))[_0x1e3c66(0x417)](_0xcb7818=>{var _0x29bb6f=_0x1e3c66;this[_0x29bb6f(0x442)]['debug'](_0x29bb6f(0x20a),_0x29bb6f(0x482),_0xcb7818),this['_onConnectionFailed']();});}}catch(_0x3897eb){this[_0x1e3c66(0x442)]['error'](_0x3897eb),this[_0x1e3c66(0x236)]();}}[_0x376409(0x3cf)](_0x2fd95b){var _0x1be65c=_0x376409;this[_0x1be65c(0x442)]['debug'](_0x1be65c(0x20a),_0x1be65c(0x3b3)),_0x2fd95b[_0x1be65c(0x36e)]({'cmd':F[_0x1be65c(0x328)]}),this['_rescheduleHeartbeat']();}[_0x376409(0x3d2)](){var _0x4d5dae=_0x376409;this[_0x4d5dae(0x286)]=!0x1,this[_0x4d5dae(0x204)]=null,this[_0x4d5dae(0x3fe)][_0x4d5dae(0x33d)](Ie['OFFLINE']),this['_socket$']['next'](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x376409(0x236)](){var _0x5c9633=_0x376409,_0x90acd8;this[_0x5c9633(0x3d2)](),this[_0x5c9633(0x305)]<((_0x90acd8=this['_configService'][_0x5c9633(0x335)](Hn))!=null?_0x90acd8:kn)?(this['_collaborationUIEventService'][_0x5c9633(0x228)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x5c9633(0x1f3)]()):this[_0x5c9633(0x2b5)][_0x5c9633(0x228)]({'id':se[_0x5c9633(0x1fd)]});}[_0x376409(0x1f3)](){var _0x8cc6f2=_0x376409,_0x2a3734;const _0x95903f=this[_0x8cc6f2(0x305)],_0x2dc79a=this[_0x8cc6f2(0x19f)][_0x8cc6f2(0x335)](Y),_0x566873=_0x95903f===0x0?0x0:((_0x2a3734=_0x2dc79a==null?void 0x0:_0x2dc79a[_0x8cc6f2(0x214)])!=null?_0x2a3734:$n)*0x2**_0x95903f;this[_0x8cc6f2(0x219)]=setTimeout(()=>{var _0x40ef93=_0x8cc6f2;clearTimeout(this['_retryConnectingTimer']),this[_0x40ef93(0x219)]=null,this[_0x40ef93(0x245)]();},_0x566873),this[_0x8cc6f2(0x305)]+=0x1;}[_0x376409(0x32d)](_0x4b352b,_0x3042e3){var _0x49a70a=_0x376409;const {cmd:_0x3b7a5e}=_0x3042e3;_0x3b7a5e===F[_0x49a70a(0x328)]&&!this[_0x49a70a(0x286)]&&(_0x4b352b['memberID']=_0x3042e3[_0x49a70a(0x2e0)]['memberID'],this['_socket$'][_0x49a70a(0x33d)](_0x4b352b),this[_0x49a70a(0x3fe)][_0x49a70a(0x33d)](Ie[_0x49a70a(0x448)]),this[_0x49a70a(0x286)]=!0x0,this[_0x49a70a(0x204)]=null),_0x3b7a5e===F[_0x49a70a(0x2b1)]&&this[_0x49a70a(0x20d)](),this[_0x49a70a(0x447)]();}[_0x376409(0x447)](){var _0x1abb4d=_0x376409,_0x30f74a;this['_clearHeartbeatTimer'](),this[_0x1abb4d(0x45e)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x30f74a=this[_0x1abb4d(0x19f)][_0x1abb4d(0x335)](Ln))!=null?_0x30f74a:Mn);}[_0x376409(0x37a)](){var _0x352463=_0x376409;this['_socket'][_0x352463(0x36e)]({'cmd':F[_0x352463(0x2b1)]}),this[_0x352463(0x3f4)]();}[_0x376409(0x3f4)](){var _0x3574cd=_0x376409,_0x448c9c;this[_0x3574cd(0x3fc)]=setTimeout(()=>this[_0x3574cd(0x236)](),(_0x448c9c=this[_0x3574cd(0x19f)][_0x3574cd(0x335)](Si))!=null?_0x448c9c:Ei);}[_0x376409(0x2d6)](){var _0x253a9b=_0x376409;this[_0x253a9b(0x45e)]!=null&&(clearTimeout(this[_0x253a9b(0x45e)]),this['_sendHeartbeatTimer']=null);}[_0x376409(0x20d)](){var _0x2f821f=_0x376409;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x2f821f(0x3fc)]),this['_timeoutTimer']=null);}};Me=hs([me(0x0,_0x49f53f(_0x3e138a)),me(0x1,_0x3bfb06),me(0x2,_0x574946),me(0x3,Ci),me(0x4,_0x49f53f(_0x4a7d71)),me(0x5,_0x49f53f(pe)),me(0x6,_0x59dc08(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x376409(0x273)]((n+0x100)[_0x376409(0x3f1)](0x10)[_0x376409(0x307)](0x1));function _s(_0x17de67,_0x5628bd=0x0){var _0x3560d1=_0x376409;return(V[_0x17de67[_0x5628bd+0x0]]+V[_0x17de67[_0x5628bd+0x1]]+V[_0x17de67[_0x5628bd+0x2]]+V[_0x17de67[_0x5628bd+0x3]]+'-'+V[_0x17de67[_0x5628bd+0x4]]+V[_0x17de67[_0x5628bd+0x5]]+'-'+V[_0x17de67[_0x5628bd+0x6]]+V[_0x17de67[_0x5628bd+0x7]]+'-'+V[_0x17de67[_0x5628bd+0x8]]+V[_0x17de67[_0x5628bd+0x9]]+'-'+V[_0x17de67[_0x5628bd+0xa]]+V[_0x17de67[_0x5628bd+0xb]]+V[_0x17de67[_0x5628bd+0xc]]+V[_0x17de67[_0x5628bd+0xd]]+V[_0x17de67[_0x5628bd+0xe]]+V[_0x17de67[_0x5628bd+0xf]])[_0x3560d1(0x412)]();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x3268f5=_0x376409;if(!dt){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3268f5(0x370));dt=crypto[_0x3268f5(0x191)][_0x3268f5(0x1a9)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x376409(0x287)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':ds};function fs(_0x85914b,_0xe3c021,_0x8fa9bb){var _0x2db1dc=_0x376409;if(qt[_0x2db1dc(0x287)]&&!_0xe3c021&&!_0x85914b)return qt['randomUUID']();_0x85914b=_0x85914b||{};const _0x2aaffb=_0x85914b['random']||(_0x85914b['rng']||us)();return _0x2aaffb[0x6]=_0x2aaffb[0x6]&0xf|0x40,_0x2aaffb[0x8]=_0x2aaffb[0x8]&0x3f|0x80,_s(_0x2aaffb);}const X=_0x9c3295(_0x376409(0x3f8));function uo(_0x8b525a){var _0x4d080e=_0x376409;return _0x4d080e(0x19a)+_0x8b525a;}var vs=Object['defineProperty'],ps=Object[_0x376409(0x2cd)],gs=(_0x41d89f,_0x164a93,_0x3225cf,_0x1fa99f)=>{var _0x359df4=_0x376409;for(var _0x3f7883=_0x1fa99f>0x1?void 0x0:_0x1fa99f?ps(_0x164a93,_0x3225cf):_0x164a93,_0x1afca0=_0x41d89f[_0x359df4(0x2ce)]-0x1,_0x5c12f5;_0x1afca0>=0x0;_0x1afca0--)(_0x5c12f5=_0x41d89f[_0x1afca0])&&(_0x3f7883=(_0x1fa99f?_0x5c12f5(_0x164a93,_0x3225cf,_0x3f7883):_0x5c12f5(_0x3f7883))||_0x3f7883);return _0x1fa99f&&_0x3f7883&&vs(_0x164a93,_0x3225cf,_0x3f7883),_0x3f7883;},ft=(_0x2e57bc,_0x38ac9f)=>(_0x3dc59b,_0x3b3141)=>_0x38ac9f(_0x3dc59b,_0x3b3141,_0x2e57bc);function ms(_0x495b05){var _0x5385c8=_0x376409;const {unitID:_0x45326f,mutations:_0x1f3110}=_0x495b05;return{'unitId':_0x45326f,'subUnitId':_0x1f3110[0x0]['params'][_0x5385c8(0x395)]};}let nt=class{constructor(_0x4e1bef,_0x4d8edf,_0x585311){var _0x40cb9c=_0x376409;this[_0x40cb9c(0x2d7)]=_0x4e1bef,this[_0x40cb9c(0x3ff)]=_0x4d8edf,this[_0x40cb9c(0x389)]=_0x585311;}[_0x376409(0x452)](_0x4dfe8e){var _0x4449c6=_0x376409,_0x52570c,_0x276e66,_0x5e488c,_0x1571ca;const _0x338546=this['_injector'][_0x4449c6(0x358)](_0x483c2e),{unitId:_0x5582b6,subUnitId:_0x23b524}=ms(_0x4dfe8e),_0x543165=_0x338546==null?void 0x0:_0x338546[_0x4449c6(0x338)](_0x5582b6)[_0x4449c6(0x1e6)](),_0x49f838=(_0x276e66=(_0x52570c=this[_0x4449c6(0x389)][_0x4449c6(0x1e0)](_0x5582b6))==null?void 0x0:_0x52570c[_0x4449c6(0x312)]())==null?void 0x0:_0x276e66[_0x4449c6(0x38c)]();if(_0x543165[_0x4449c6(0x2ce)]===0x0||!_0x5582b6||!_0x23b524)return;const _0x54d9a3=[{'id':_0x154717['id'],'params':{'unitId':_0x5582b6,'subUnitId':_0x49f838,'selections':_0x573c3e[_0x4449c6(0x35d)](_0x543165)}}],_0x2e4d7f=this[_0x4449c6(0x3ff)][_0x4449c6(0x465)](_0x4dfe8e,_0x54d9a3);if(!_0x26a416(_0x2e4d7f))throw _0x2e4d7f[_0x4449c6(0x1f6)];const _0x4b64b2=(_0x1571ca=(_0x5e488c=_0x2e4d7f[_0x4449c6(0x42f)][0x0])==null?void 0x0:_0x5e488c[_0x4449c6(0x479)])==null?void 0x0:_0x1571ca['selections'];if(Array[_0x4449c6(0x216)](_0x4b64b2)&&_0x4b64b2[_0x4449c6(0x2ce)]){if(_0x4b64b2['length']===_0x54d9a3[0x0][_0x4449c6(0x479)]['selections'][_0x4449c6(0x2ce)]&&_0x4b64b2[_0x4449c6(0x268)]((_0x1f1628,_0x1b6270)=>_0x529ac3['equals'](_0x1f1628[_0x4449c6(0x215)],_0x54d9a3[0x0]['params'][_0x4449c6(0x1c3)][_0x1b6270][_0x4449c6(0x215)])))return;this['_injector'][_0x4449c6(0x358)](_0x32fa06)['executeCommand'](_0x154717['id'],{'unitId':_0x5582b6,'subUnitId':_0x49f838,'selections':_0x4b64b2});}}};nt=gs([ft(0x0,_0x49f53f(_0x3e138a)),ft(0x1,_0x2c3c9c),ft(0x2,_0x2c9805)],nt);const _t=_0x9c3295(_0x376409(0x296));var Ri=(_0x46aea2=>(_0x46aea2[_0x46aea2[_0x376409(0x2d8)]=0x0]=_0x376409(0x2d8),_0x46aea2[_0x46aea2[_0x376409(0x1c5)]=0x1]=_0x376409(0x1c5),_0x46aea2))(Ri||{});const Ss=new Set([_0xcf8f9['id']]);function Jt(_0x3b965b,_0x10d436,_0x58be03,_0x45208c,_0x50ab88){var _0x4f4598=_0x376409,_0x402cba,_0x3c017c,_0x2a3dfa,_0x44ad24;const _0xfffd68=[];for(const _0x4827c6 of _0x3b965b)if(Ss[_0x4f4598(0x180)](_0x4827c6['id'])){if(_0xfffd68[_0x4f4598(0x2ce)]>0x0)break;_0xfffd68[_0x4f4598(0x273)](_0x4827c6);break;}else _0xfffd68[_0x4f4598(0x273)](_0x4827c6);const _0x22ca44=(_0x3c017c=(_0x402cba=_0x50ab88[_0x4f4598(0x2a4)]())==null?void 0x0:_0x402cba[_0x4f4598(0x486)])!=null?_0x3c017c:_0x4f4598(0x3b0),_0xd8ad2a=(_0x44ad24=(_0x2a3dfa=_0x50ab88[_0x4f4598(0x2a4)]())==null?void 0x0:_0x2a3dfa[_0x4f4598(0x1fc)])!=null?_0x44ad24:_0x4f4598(0x3b0);return{'changeset':{'unitID':_0x10d436,'type':_0x46f6ab(_0x58be03[_0x4f4598(0x3b9)](_0x10d436)),'baseRev':_0x45208c['getCurrentRevOfUnit'](_0x10d436),'revision':0x0,'userID':_0x22ca44,'memberID':_0xd8ad2a,'mutations':_0xfffd68},'pendingMutations':_0x3b965b[_0x4f4598(0x307)](_0xfffd68[_0x4f4598(0x2ce)])};}function Es(_0x3c0e0a,_0x388cad,_0x302fe5,_0x4366c1,_0x380e14){var _0x20c5ef=_0x376409,_0x29b01f,_0x57a9eb,_0x32a8ac,_0x5f0e01;const _0xe95f8=[_0x3c0e0a[_0x20c5ef(0x18a)]((_0x498c66,_0x298b1d)=>{var _0x2115a8=_0x20c5ef,_0x75d9bb;const {id:_0x35b4d1}=_0x498c66,{id:_0x11ae05,type:_0x5dc2c8}=_0x298b1d,_0xef31a5=(_0x75d9bb=_0x498c66[_0x2115a8(0x479)])!=null?_0x75d9bb:{'actions':null},_0x42f273=_0x298b1d[_0x2115a8(0x479)];if(_0x35b4d1&&_0x35b4d1!==_0x11ae05)throw new Error(_0x2115a8(0x340)+_0x35b4d1+_0x2115a8(0x2fb)+_0x11ae05+'.');return{..._0x498c66,'id':_0x11ae05,'type':_0x5dc2c8,'params':{'unitId':_0x42f273['unitId'],'textRanges':_0x42f273['textRanges'],'actions':_0x229867['compose'](_0xef31a5[_0x2115a8(0x1ea)],_0x42f273[_0x2115a8(0x1ea)])}};},{})],_0x1f5e25=(_0x57a9eb=(_0x29b01f=_0x380e14[_0x20c5ef(0x2a4)]())==null?void 0x0:_0x29b01f['userID'])!=null?_0x57a9eb:_0x20c5ef(0x3b0),_0x515b39=(_0x5f0e01=(_0x32a8ac=_0x380e14[_0x20c5ef(0x2a4)]())==null?void 0x0:_0x32a8ac['memberID'])!=null?_0x5f0e01:_0x20c5ef(0x3b0);return{'changeset':{'unitID':_0x388cad,'type':_0x46f6ab(_0x302fe5[_0x20c5ef(0x3b9)](_0x388cad)),'baseRev':_0x4366c1[_0x20c5ef(0x3a1)](_0x388cad),'revision':0x0,'userID':_0x1f5e25,'memberID':_0x515b39,'mutations':_0xe95f8},'pendingMutations':[]};}function yi(_0x20bba8,_0x298709){var _0x1c5352=_0x376409;const _0x99680f=new _0x108337(0x1);return setTimeout(()=>_0x99680f['next'](_0x298709),_0x20bba8),_0x99680f[_0x1c5352(0x363)]()[_0x1c5352(0x2d3)](_0x23ca51(0x1));}const Is={'id':_0x2d16cc['id'],'type':_0x5b08c0[_0x376409(0x1a4)],'params':{}};var Ts=Object[_0x376409(0x367)],Cs=Object[_0x376409(0x2cd)],Ce=(_0x4dbf5c,_0x3e4b2c,_0x181a05,_0x309cd8)=>{var _0x1a988f=_0x376409;for(var _0x95f1e8=_0x309cd8>0x1?void 0x0:_0x309cd8?Cs(_0x3e4b2c,_0x181a05):_0x3e4b2c,_0x315941=_0x4dbf5c[_0x1a988f(0x2ce)]-0x1,_0x29fd8e;_0x315941>=0x0;_0x315941--)(_0x29fd8e=_0x4dbf5c[_0x315941])&&(_0x95f1e8=(_0x309cd8?_0x29fd8e(_0x3e4b2c,_0x181a05,_0x95f1e8):_0x29fd8e(_0x95f1e8))||_0x95f1e8);return _0x309cd8&&_0x95f1e8&&Ts(_0x3e4b2c,_0x181a05,_0x95f1e8),_0x95f1e8;},A=(_0x23cf6a,_0x27efed)=>(_0x5d983,_0x27945a)=>_0x27efed(_0x5d983,_0x27945a,_0x23cf6a),Oi=(_0x4ae877=>(_0x4ae877[_0x376409(0x468)]='not_collab',_0x4ae877['SYNCED']=_0x376409(0x3cd),_0x4ae877[_0x376409(0x3e9)]=_0x376409(0x196),_0x4ae877[_0x376409(0x44d)]=_0x376409(0x2ad),_0x4ae877['AWAITING_WITH_PENDING']=_0x376409(0x2fa),_0x4ae877[_0x376409(0x1ae)]='fetch_missing',_0x4ae877[_0x376409(0x1f5)]=_0x376409(0x313),_0x4ae877[_0x376409(0x343)]='offline',_0x4ae877))(Oi||{});const Pi=0xea60;class be{constructor(_0x200ec4,_0x5a1374,_0x1df657,_0x1d52d1,_0x284276,_0x2a6943,_0x48162e,_0x3292f7,_0x559c4e){var _0x533216=_0x376409;D(this,_0x533216(0x47c),null),D(this,_0x533216(0x33e),[]),(this[_0x533216(0x1b7)]=_0x200ec4,this[_0x533216(0x192)]=_0x5a1374,this['_handler']=_0x284276,this[_0x533216(0x31d)]=_0x2a6943,this[_0x533216(0x1c4)]=_0x48162e,this[_0x533216(0x454)]=_0x3292f7,this[_0x533216(0x3d3)]=_0x559c4e,this[_0x533216(0x47c)]=_0x1df657,this['_pendingMutations']=_0x1d52d1);}[_0x376409(0x21c)](_0x51de48){var _0x5d3d07=_0x376409;const _0x45e85c=this[_0x5d3d07(0x454)]['getCurrentRevOfUnit'](this[_0x5d3d07(0x1b7)]);return _0x51de48[_0x5d3d07(0x39f)]>_0x45e85c+0x1?(this[_0x5d3d07(0x210)][_0x5d3d07(0x385)]({'from':_0x45e85c,'to':_0x51de48[_0x5d3d07(0x39f)]-0x1}),!0x0):!0x1;}[_0x376409(0x3a4)](_0xb8890){var _0x2d6ea0=_0x376409;this[_0x2d6ea0(0x1c4)][_0x2d6ea0(0x41e)](this[_0x2d6ea0(0x1b7)],_0xb8890);}['_transformSelections'](_0x1e018c){var _0x551b9a=_0x376409,_0x55145b,_0x7267f4;(_0x7267f4=(_0x55145b=this['_handler'])['onTransformSelections'])==null||_0x7267f4[_0x551b9a(0x380)](_0x55145b,_0x1e018c);}[_0x376409(0x46a)](_0x5b74bb){var _0x234c6c=_0x376409,_0x3637fd,_0x518da7;return(_0x518da7=(_0x3637fd=this[_0x234c6c(0x210)])[_0x234c6c(0x2d5)])==null?void 0x0:_0x518da7[_0x234c6c(0x380)](_0x3637fd,_0x5b74bb);}['_transformStateCache'](_0x12fe82){var _0x3429d2=_0x376409,_0x19c5e4,_0x30852e;return(_0x30852e=(_0x19c5e4=this[_0x3429d2(0x210)])[_0x3429d2(0x2c1)])==null?void 0x0:_0x30852e[_0x3429d2(0x380)](_0x19c5e4,_0x12fe82);}[_0x376409(0x460)](_0x18942f){var _0x5f1f39=_0x376409,_0xe30563,_0x39fd6c,_0x431951;return(_0x431951=(_0x39fd6c=(_0xe30563=this[_0x5f1f39(0x210)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x39fd6c[_0x5f1f39(0x380)](_0xe30563,_0x18942f))!=null?_0x431951:_0x18942f;}['_transformRemoteChangesetByStateCache'](_0x2e130c){var _0x1f6575=_0x376409,_0x460093,_0x149f18,_0x171992;return(_0x171992=(_0x149f18=(_0x460093=this[_0x1f6575(0x210)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x149f18['call'](_0x460093,_0x2e130c))!=null?_0x171992:_0x2e130c;}[_0x376409(0x25d)](_0x46c1dd){var _0x1eb025=_0x376409,_0x39c128,_0x12e0ff;if(this[_0x1eb025(0x192)]===Q[_0x1eb025(0x3a8)]){const {unitID:_0x2fb08b,mutations:_0x3d3e83,memberID:_0x4da07b}=_0x46c1dd,_0x1b80c6=_0x3d3e83[0x0]['params'][_0x1eb025(0x347)];Array[_0x1eb025(0x216)](_0x1b80c6)&&_0x1b80c6['length']>0x0&&((_0x12e0ff=(_0x39c128=this['_handler'])[_0x1eb025(0x209)])==null||_0x12e0ff['call'](_0x39c128,{'unitID':_0x2fb08b,'memberID':_0x4da07b,'textRanges':_0x1b80c6}));}}[_0x376409(0x2e7)](){var _0x563921=_0x376409,_0xb5fee7;(_0xb5fee7=this[_0x563921(0x3d3)])==null||_0xb5fee7[_0x563921(0x240)](this['unitID'],this[_0x563921(0x192)],this[_0x563921(0x47c)],this[_0x563921(0x33e)]);}['_getCurrentRevision'](){var _0x3f634c=_0x376409;return this[_0x3f634c(0x454)][_0x3f634c(0x3a1)](this[_0x3f634c(0x1b7)]);}[_0x376409(0x2cc)](){var _0x1e7b3b=_0x376409;this[_0x1e7b3b(0x454)][_0x1e7b3b(0x28e)](this[_0x1e7b3b(0x1b7)]);}[_0x376409(0x40e)](_0x1d235f){var _0x57e4b8=_0x376409,_0x2fd76d;let _0x39ddde=this[_0x57e4b8(0x460)](_0x1d235f);_0x39ddde=this[_0x57e4b8(0x3b8)](_0x39ddde);const _0x310529=_0x3353b7(_0x39ddde[_0x57e4b8(0x263)],this[_0x57e4b8(0x31d)],{'fromCollab':!0x0});if(!_0x310529['result'])throw _0x310529['error']instanceof Error?_0x310529['error']:new Error((_0x2fd76d=_0x310529[_0x57e4b8(0x1f6)])!=null?_0x2fd76d:_0x57e4b8(0x377));this[_0x57e4b8(0x46a)](_0x39ddde),this[_0x57e4b8(0x2f3)](_0x39ddde),this[_0x57e4b8(0x3a4)](_0x1d235f),this[_0x57e4b8(0x18b)](_0x39ddde),this[_0x57e4b8(0x25d)](_0x39ddde),this[_0x57e4b8(0x2cc)]();}}let Pe=class extends be{constructor(_0x2775d8,_0x34f349,_0x15f20d,_0x5b2c2e,_0x50c2aa,_0x29cf68,_0x2475be,_0x3cd6ff,_0x2a607e,_0x2a46bd){var _0x512db1=_0x376409;super(_0x2775d8,_0x34f349,null,[],_0x15f20d,_0x2475be,_0x29cf68,_0x5b2c2e,_0x2a46bd),D(this,_0x512db1(0x2e5),_0x512db1(0x3cd)),(this['_injector']=_0x50c2aa,this[_0x512db1(0x442)]=_0x3cd6ff,this[_0x512db1(0x3ff)]=_0x2a607e,this[_0x512db1(0x23f)]=_0x2a46bd);}[_0x376409(0x231)](_0x449cc6){var _0x1e08e8=_0x376409;const _0x1c0c3b=this[_0x1e08e8(0x2d7)][_0x1e08e8(0x24a)](re,this[_0x1e08e8(0x1b7)],this[_0x1e08e8(0x192)],[_0x449cc6],this[_0x1e08e8(0x210)]);return _0x1c0c3b[_0x1e08e8(0x2a1)](),_0x1c0c3b[_0x1e08e8(0x2e7)](),_0x1c0c3b;}[_0x376409(0x2a3)](_0x1e4119){var _0x1b37df=_0x376409;if(this[_0x1b37df(0x21c)](_0x1e4119))return this[_0x1b37df(0x2d7)][_0x1b37df(0x24a)](te,this[_0x1b37df(0x1b7)],this[_0x1b37df(0x192)],null,[],null,[_0x1e4119],this[_0x1b37df(0x210)]);try{const _0x3f9dc3=this[_0x1b37df(0x3ff)]['transformMutationsWithChangeset'](_0x1e4119,[Is]);if(_0x26a416(_0x3f9dc3)){const {c1Prime:_0x56a07c}=_0x3f9dc3;return this['_executeRemoteChangeset'](_0x56a07c),this;}throw _0x3f9dc3[_0x1b37df(0x1f6)];}catch(_0x2fcff1){return this[_0x1b37df(0x442)][_0x1b37df(0x1f6)](_0x2fcff1),this[_0x1b37df(0x47a)](!0x1);}}[_0x376409(0x47a)](_0x5e5475){var _0x446bde=_0x376409;return this['_injector'][_0x446bde(0x24a)](de,this['unitID'],this[_0x446bde(0x192)],null,[],this[_0x446bde(0x210)],_0x5e5475);}[_0x376409(0x27a)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x2b652a=_0x376409;throw new Error(_0x2b652a(0x331));}[_0x376409(0x1c9)](){return this;}[_0x376409(0x203)](){var _0x1df13e=_0x376409;return this[_0x1df13e(0x2d7)][_0x1df13e(0x24a)](fe,this[_0x1df13e(0x1b7)],this[_0x1df13e(0x192)],null,[],this[_0x1df13e(0x210)]);}['toggleOnline'](){return this;}[_0x376409(0x3da)](){var _0x4f4936=_0x376409;throw new Error(_0x4f4936(0x20e));}[_0x376409(0x44a)](){var _0x434a4e=_0x376409;const _0x4bb0ec=this[_0x434a4e(0x454)][_0x434a4e(0x3a1)](this[_0x434a4e(0x1b7)]);return this[_0x434a4e(0x210)][_0x434a4e(0x385)]({'from':_0x4bb0ec,'to':0x0}),this[_0x434a4e(0x2d7)]['createInstance'](te,this['unitID'],this[_0x434a4e(0x192)],null,[],null,[],this[_0x434a4e(0x210)]);}};Pe=Ce([A(0x3,_0x49f53f(_0x1b07e4)),A(0x4,_0x49f53f(_0x3e138a)),A(0x5,_0x34122b),A(0x6,_0x32fa06),A(0x7,_0x3bfb06),A(0x8,_0x2c3c9c),A(0x9,_0x59dc08(X))],Pe);let re=class extends be{constructor(_0x305262,_0xfdb2bc,_0x2f3d19,_0x538dab,_0x1e5138,_0x46901b,_0x29b1d1,_0x30476d,_0x4695ed,_0x25c782,_0x239dd2,_0x3f5ded,_0x2d15e5,_0x3a0de6){var _0x5b6172=_0x376409;super(_0x305262,_0xfdb2bc,null,_0x2f3d19,_0x538dab,_0x4695ed,_0x2d15e5,_0x46901b,_0x3a0de6),D(this,_0x5b6172(0x2e5),_0x5b6172(0x196)),D(this,'_scheduleTimestamp',null),D(this,_0x5b6172(0x233),null),(this[_0x5b6172(0x2d7)]=_0x1e5138,this['_memberService']=_0x29b1d1,this['_logService']=_0x30476d,this[_0x5b6172(0x19f)]=_0x25c782,this[_0x5b6172(0x3ff)]=_0x239dd2,this[_0x5b6172(0x299)]=_0x3f5ded);}['appendMutation'](_0xb7ad61){var _0xf4df19=_0x376409;return this['_pendingMutations']['push'](_0xb7ad61),this[_0xf4df19(0x2e7)](),this;}['onRemoteChangeset'](_0x46c8b2){var _0xa5e1ca=_0x376409;if(this[_0xa5e1ca(0x21c)](_0x46c8b2))return this[_0xa5e1ca(0x1c7)](),this['_injector'][_0xa5e1ca(0x24a)](te,this[_0xa5e1ca(0x1b7)],this[_0xa5e1ca(0x192)],null,this[_0xa5e1ca(0x33e)],null,[_0x46c8b2],this['_handler']);try{const _0x46a073=this[_0xa5e1ca(0x3ff)][_0xa5e1ca(0x465)](_0x46c8b2,this[_0xa5e1ca(0x33e)]);if(_0x26a416(_0x46a073)){const {c1Prime:_0x14c0ae,m2Prime:_0x1c616f}=_0x46a073;this['_executeRemoteChangeset'](_0x14c0ae);const _0xbef4e6=this[_0xa5e1ca(0x2d7)][_0xa5e1ca(0x24a)](re,this[_0xa5e1ca(0x1b7)],this[_0xa5e1ca(0x192)],_0x1c616f,this[_0xa5e1ca(0x210)]);return this[_0xa5e1ca(0x1c7)](),_0xbef4e6[_0xa5e1ca(0x2a1)](this[_0xa5e1ca(0x250)]?Math[_0xa5e1ca(0x3c3)](0x0,new Date()[_0xa5e1ca(0x457)]()-this[_0xa5e1ca(0x250)]):this[_0xa5e1ca(0x23e)]()),_0xbef4e6;}throw _0x46a073[_0xa5e1ca(0x1f6)];}catch(_0xdc05b2){return this[_0xa5e1ca(0x442)][_0xa5e1ca(0x1f6)](_0xdc05b2),this['_onConflict'](!0x1);}}[_0x376409(0x27a)](){var _0x4a01ca=_0x376409;throw new Error(_0x4a01ca(0x476));}['onRemoteRej'](){var _0xd42496=_0x376409;throw new Error(_0xd42496(0x220));}['onRemoteRetry'](){return this;}[_0x376409(0x203)](){var _0x1c2037=_0x376409;return this[_0x1c2037(0x1c7)](),this['_injector'][_0x1c2037(0x24a)](fe,this['unitID'],this[_0x1c2037(0x192)],null,this[_0x1c2037(0x33e)],this[_0x1c2037(0x210)]);}['toggleOnline'](){return this;}[_0x376409(0x2a1)](_0x3fd39f){var _0x4ea9f1=_0x376409;const _0x4144fc=_0x3fd39f!=null?_0x3fd39f:this[_0x4ea9f1(0x23e)]();this['_scheduleTimestamp']=new Date()['getTime'](),this[_0x4ea9f1(0x233)]=setTimeout(()=>{var _0x56694f=_0x4ea9f1;this['_clearScheduledTask']();let _0x388416=null;switch(this[_0x56694f(0x192)]){case Q[_0x56694f(0x480)]:{_0x388416=Jt(this[_0x56694f(0x33e)],this[_0x56694f(0x1b7)],this[_0x56694f(0x299)],this[_0x56694f(0x454)],this[_0x56694f(0x1ca)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x56694f(0x268)](_0x52fe46=>_0x52fe46['id']===_0x50ab50['id'])?_0x388416=Es(this[_0x56694f(0x33e)],this[_0x56694f(0x1b7)],this['_univerInstanceService'],this[_0x56694f(0x454)],this['_memberService']):_0x388416=Jt(this[_0x56694f(0x33e)],this['unitID'],this[_0x56694f(0x299)],this[_0x56694f(0x454)],this[_0x56694f(0x1ca)]);break;}default:throw new Error(_0x56694f(0x26a)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x468201,pendingMutations:_0x176ebc}=_0x388416;this[_0x56694f(0x210)][_0x56694f(0x207)](_0x468201);const _0x144b32=_0x176ebc[_0x56694f(0x2ce)]?this['_injector'][_0x56694f(0x24a)](oe,this[_0x56694f(0x1b7)],this[_0x56694f(0x192)],_0x468201,_0x176ebc,this[_0x56694f(0x210)],void 0x0):this[_0x56694f(0x2d7)][_0x56694f(0x24a)](ue,this[_0x56694f(0x1b7)],this[_0x56694f(0x192)],_0x468201,this[_0x56694f(0x210)]);_0x144b32[_0x56694f(0x2e7)](),this[_0x56694f(0x210)]['onStateChange'](this,_0x144b32);},_0x4144fc);}[_0x376409(0x23e)](){var _0x252ce4=_0x376409,_0x2eec7d;const _0x1ce863=this[_0x252ce4(0x19f)][_0x252ce4(0x335)](Y);return(_0x2eec7d=_0x1ce863==null?void 0x0:_0x1ce863[_0x252ce4(0x386)])!=null?_0x2eec7d:wn;}[_0x376409(0x3da)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x376409(0x1c7)](){var _0x1e19d2=_0x376409;this[_0x1e19d2(0x233)]!=null&&(clearTimeout(this[_0x1e19d2(0x233)]),this[_0x1e19d2(0x233)]=null);}[_0x376409(0x47a)](_0x37e0c9){var _0x384dd3=_0x376409;return this[_0x384dd3(0x1c7)](),this[_0x384dd3(0x2d7)][_0x384dd3(0x24a)](de,this[_0x384dd3(0x1b7)],this[_0x384dd3(0x192)],null,this[_0x384dd3(0x33e)],this[_0x384dd3(0x210)],_0x37e0c9);}};re=Ce([A(0x4,_0x49f53f(_0x3e138a)),A(0x5,_0x49f53f(_0x1b07e4)),A(0x6,_0x49f53f(Le)),A(0x7,_0x3bfb06),A(0x8,_0x32fa06),A(0x9,_0x574946),A(0xa,_0x2c3c9c),A(0xb,_0x2c9805),A(0xc,_0x34122b),A(0xd,_0x59dc08(X))],re);let ue=class extends be{constructor(_0xb8390e,_0x942bed,_0x40c151,_0x46a588,_0x5e0e58,_0x6e0425,_0x322552,_0x1c63ea,_0x37549c,_0x50c22d,_0x3cf3c5){var _0x4e153a=_0x376409;super(_0xb8390e,_0x942bed,_0x40c151,[],_0x46a588,_0x322552,_0x50c22d,_0x6e0425,_0x3cf3c5),D(this,'status',_0x4e153a(0x2ad)),D(this,_0x4e153a(0x23d),0x0),D(this,'_resendTimer'),D(this,'_sender'),(this['_injector']=_0x5e0e58,this[_0x4e153a(0x442)]=_0x1c63ea,this['_transformService']=_0x37549c);}[_0x376409(0x231)](_0x2b4bcc){var _0x7dc080=_0x376409;this[_0x7dc080(0x1c7)]();const _0x17d08c=this['_injector'][_0x7dc080(0x24a)](oe,this['unitID'],this[_0x7dc080(0x192)],this[_0x7dc080(0x47c)],[_0x2b4bcc],this['_handler'],this[_0x7dc080(0x388)]);return _0x17d08c[_0x7dc080(0x2e7)](),_0x17d08c;}[_0x376409(0x2a3)](_0x3c5122){var _0xff90cc=_0x376409;if(this['_checkMissing'](_0x3c5122))return this[_0xff90cc(0x1c7)](),this[_0xff90cc(0x2d7)]['createInstance'](te,this[_0xff90cc(0x1b7)],this[_0xff90cc(0x192)],this[_0xff90cc(0x47c)],[],null,[_0x3c5122],this[_0xff90cc(0x210)]);try{const _0x432f2a=this[_0xff90cc(0x3ff)]['transformChangesets']([_0x3c5122],[this[_0xff90cc(0x47c)]],!0x1);if(_0x49cbb5(_0x432f2a)){const {c1Prime:_0x2d68c5,c2Prime:_0x5601ac}=_0x432f2a;this['_executeRemoteChangeset'](_0x2d68c5[0x0]),_0x5601ac[0x0][_0xff90cc(0x403)]=this[_0xff90cc(0x342)](),this[_0xff90cc(0x1c7)]();const _0x1ed9d0=this['_injector'][_0xff90cc(0x24a)](ue,this[_0xff90cc(0x1b7)],this['type'],_0x5601ac[0x0],this[_0xff90cc(0x210)]);return _0x1ed9d0[_0xff90cc(0x2e7)](),_0x1ed9d0;}return this[_0xff90cc(0x47a)](!0x1);}catch(_0x35a38d){return this[_0xff90cc(0x442)][_0xff90cc(0x1f6)](_0x35a38d),this[_0xff90cc(0x47a)](!0x1);}}[_0x376409(0x27a)](_0x2ff460){var _0xd0890d=_0x376409;this[_0xd0890d(0x1c7)]();const _0x313b5e=this[_0xd0890d(0x454)][_0xd0890d(0x3a1)](this[_0xd0890d(0x1b7)]);if(_0x2ff460[_0xd0890d(0x39f)]<_0x313b5e-0x1)return this;if(this[_0xd0890d(0x21c)](_0x2ff460))return this['_injector'][_0xd0890d(0x24a)](te,this[_0xd0890d(0x1b7)],this[_0xd0890d(0x192)],null,[],this[_0xd0890d(0x47c)],[],this[_0xd0890d(0x210)]);this[_0xd0890d(0x2cc)]();const _0x2d67e5=this[_0xd0890d(0x2d7)]['createInstance'](Pe,this[_0xd0890d(0x1b7)],this[_0xd0890d(0x192)],this[_0xd0890d(0x210)]);return _0x2d67e5[_0xd0890d(0x2e7)](),_0x2d67e5;}[_0x376409(0x314)](_0xb5f55b){var _0xbd1092=_0x376409;return this[_0xbd1092(0x47a)](!!(_0xb5f55b!=null&&_0xb5f55b[_0xbd1092(0x2da)]));}[_0x376409(0x1c9)](_0x4e3480){var _0x378e64=_0x376409;return this['_resendTimeout']>Pi?this[_0x378e64(0x203)]():(this[_0x378e64(0x388)]=yi(this[_0x378e64(0x23d)],{'timeout':this['_resendTimeout'],'reqId':_0x4e3480[_0x378e64(0x3d5)]}),this[_0x378e64(0x2f9)]=this[_0x378e64(0x388)][_0x378e64(0x417)](({reqId:_0x44cf40,timeout:_0x532ed7})=>{this['_resendWithTimeout'](_0x44cf40,_0x532ed7);}),this);}[_0x376409(0x203)](){var _0x520f58=_0x376409;return this[_0x520f58(0x1c7)](),this[_0x520f58(0x2d7)][_0x520f58(0x24a)](fe,this['unitID'],this[_0x520f58(0x192)],this[_0x520f58(0x47c)],[],this[_0x520f58(0x210)]);}[_0x376409(0x293)](){return this;}[_0x376409(0x3da)](){var _0x2a6f19=_0x376409;this[_0x2a6f19(0x210)][_0x2a6f19(0x207)](this[_0x2a6f19(0x47c)]);}[_0x376409(0x47a)](_0x5d53e1){var _0x1779f9=_0x376409;return this[_0x1779f9(0x1c7)](),this['_injector'][_0x1779f9(0x24a)](de,this['unitID'],this[_0x1779f9(0x192)],this[_0x1779f9(0x47c)],[],this['_handler'],_0x5d53e1);}[_0x376409(0x3b5)](_0x4d5df9,_0x201f5c){var _0x75d7f8=_0x376409,_0xefe961;_0x4d5df9===((_0xefe961=this[_0x75d7f8(0x47c)])==null?void 0x0:_0xefe961[_0x75d7f8(0x3d5)])&&(this[_0x75d7f8(0x3da)](),this[_0x75d7f8(0x23d)]=_0x201f5c===0x0?0x3e8:_0x201f5c*0x2);}[_0x376409(0x1c7)](){var _0x2a47a3=_0x376409,_0x5db2b8;(_0x5db2b8=this['_sender'])==null||_0x5db2b8[_0x2a47a3(0x470)](),this[_0x2a47a3(0x23d)]=0x0;}};ue=Ce([A(0x4,_0x49f53f(_0x3e138a)),A(0x5,_0x49f53f(_0x1b07e4)),A(0x6,_0x32fa06),A(0x7,_0x3bfb06),A(0x8,_0x2c3c9c),A(0x9,_0x34122b),A(0xa,_0x59dc08(X))],ue);let oe=class extends be{constructor(_0x11b3fc,_0x25a719,_0x2883ee,_0x2deb70,_0x1455a4,_0x472076,_0x25cd71,_0x381ecc,_0x48921c,_0x10692d,_0x3dda13,_0x2a686a,_0x5e30f1){var _0x1cb271=_0x376409;super(_0x11b3fc,_0x25a719,_0x2883ee,_0x2deb70,_0x1455a4,_0x48921c,_0x2a686a,_0x381ecc,_0x5e30f1),D(this,_0x1cb271(0x2e5),'awaiting_with_pending'),D(this,_0x1cb271(0x23d),0x0),D(this,_0x1cb271(0x388)),D(this,_0x1cb271(0x2f9)),(this[_0x1cb271(0x2d7)]=_0x25cd71,this[_0x1cb271(0x442)]=_0x10692d,this['_transformService']=_0x3dda13,this['localCacheService']=_0x5e30f1,_0x472076&&(this[_0x1cb271(0x388)]=_0x472076,this[_0x1cb271(0x2f9)]=this[_0x1cb271(0x388)][_0x1cb271(0x417)](({reqId:_0x593a69,timeout:_0xe5a091})=>{var _0x435ea0=_0x1cb271;this[_0x435ea0(0x3b5)](_0x593a69,_0xe5a091);})));}[_0x376409(0x231)](_0x4799a5){var _0x470771=_0x376409;return this['_pendingMutations'][_0x470771(0x273)](_0x4799a5),this;}[_0x376409(0x2a3)](_0xb656f3){var _0x3f01e1=_0x376409;if(this[_0x3f01e1(0x21c)](_0xb656f3))return this['_clearScheduledTask'](),this[_0x3f01e1(0x2d7)][_0x3f01e1(0x24a)](te,this['unitID'],this['type'],this[_0x3f01e1(0x47c)],this[_0x3f01e1(0x33e)],null,[_0xb656f3],this[_0x3f01e1(0x210)]);try{const _0x22ac8f=this[_0x3f01e1(0x3ff)][_0x3f01e1(0x3a0)]([_0xb656f3],[this[_0x3f01e1(0x47c)]],!0x1);if(_0x49cbb5(_0x22ac8f)){const {c1Prime:_0x2776d0,c2Prime:_0xbb7433}=_0x22ac8f,_0x18b0aa=this['_transformService'][_0x3f01e1(0x465)](_0x2776d0[0x0],this[_0x3f01e1(0x33e)]);if(_0x26a416(_0x18b0aa)){const {c1Prime:_0x4be939,m2Prime:_0x1c693f}=_0x18b0aa;return this[_0x3f01e1(0x40e)](_0x4be939),_0xbb7433[0x0][_0x3f01e1(0x403)]=this[_0x3f01e1(0x342)](),this[_0x3f01e1(0x1c7)](),this[_0x3f01e1(0x2d7)][_0x3f01e1(0x24a)](oe,this[_0x3f01e1(0x1b7)],this['type'],_0xbb7433[0x0],_0x1c693f,this[_0x3f01e1(0x210)],void 0x0);}throw _0x18b0aa['error'];}throw _0x22ac8f[_0x3f01e1(0x1f6)];}catch(_0x38f841){return this[_0x3f01e1(0x442)][_0x3f01e1(0x1f6)](_0x38f841),this[_0x3f01e1(0x47a)](!0x1);}}[_0x376409(0x27a)](_0x3c8bb3){var _0x3a7c03=_0x376409;if(this['_clearScheduledTask'](),this[_0x3a7c03(0x21c)](_0x3c8bb3))return this['_injector'][_0x3a7c03(0x24a)](te,this[_0x3a7c03(0x1b7)],this['type'],null,this[_0x3a7c03(0x33e)],this[_0x3a7c03(0x47c)],[],this[_0x3a7c03(0x210)]);this[_0x3a7c03(0x2cc)]();const _0x46c34e=this[_0x3a7c03(0x2d7)][_0x3a7c03(0x24a)](re,this[_0x3a7c03(0x1b7)],this['type'],this[_0x3a7c03(0x33e)],this[_0x3a7c03(0x210)]);return _0x46c34e[_0x3a7c03(0x2a1)](),_0x46c34e[_0x3a7c03(0x2e7)](),_0x46c34e;}['onRemoteRej'](_0x114a82){var _0x1ad62f=_0x376409;return this[_0x1ad62f(0x47a)](!!(_0x114a82!=null&&_0x114a82[_0x1ad62f(0x2da)]));}[_0x376409(0x1c9)](_0x5254e1){var _0x31a4ce=_0x376409;return this[_0x31a4ce(0x23d)]>Pi?this[_0x31a4ce(0x203)]():(this[_0x31a4ce(0x388)]=yi(this[_0x31a4ce(0x23d)],{'timeout':this[_0x31a4ce(0x23d)],'reqId':_0x5254e1[_0x31a4ce(0x3d5)]}),this[_0x31a4ce(0x2f9)]=this[_0x31a4ce(0x388)][_0x31a4ce(0x417)](({reqId:_0x48d6f9,timeout:_0x289a60})=>{var _0x4689be=_0x31a4ce;this[_0x4689be(0x3b5)](_0x48d6f9,_0x289a60);}),this);}[_0x376409(0x203)](){var _0x511f99=_0x376409;return this['_clearScheduledTask'](),this['_injector'][_0x511f99(0x24a)](fe,this['unitID'],this[_0x511f99(0x192)],this[_0x511f99(0x47c)],this[_0x511f99(0x33e)],this[_0x511f99(0x210)]);}['toggleOnline'](){return this;}['resend'](){var _0x3bea49=_0x376409;this[_0x3bea49(0x210)][_0x3bea49(0x207)](this['_awaitingChangeset']);}[_0x376409(0x47a)](_0x5cf58f){var _0x50a451=_0x376409;return this[_0x50a451(0x1c7)](),this[_0x50a451(0x2d7)]['createInstance'](de,this[_0x50a451(0x1b7)],this[_0x50a451(0x192)],null,this[_0x50a451(0x33e)],this['_handler'],_0x5cf58f);}[_0x376409(0x3b5)](_0x3e2838,_0x9eefb6){var _0x5f08de=_0x376409,_0x27748a;_0x3e2838===((_0x27748a=this[_0x5f08de(0x47c)])==null?void 0x0:_0x27748a['reqId'])&&(this[_0x5f08de(0x3da)](),this[_0x5f08de(0x23d)]=_0x9eefb6===0x0?0x3e8:_0x9eefb6*0x2);}[_0x376409(0x1c7)](){var _0x146f91=_0x376409,_0x1d5cfc;(_0x1d5cfc=this[_0x146f91(0x2f9)])==null||_0x1d5cfc[_0x146f91(0x470)](),this['_resendTimeout']=0x0;}};oe=Ce([A(0x6,_0x49f53f(_0x3e138a)),A(0x7,_0x49f53f(_0x1b07e4)),A(0x8,_0x32fa06),A(0x9,_0x3bfb06),A(0xa,_0x2c3c9c),A(0xb,_0x34122b),A(0xc,_0x59dc08(X))],oe);let de=class extends be{constructor(_0x4cf9d8,_0x2637be,_0x204568,_0x4fe567,_0x1fe75c,_0x285252=!0x1,_0x31c13b,_0x4b8a0d,_0x56a60f,_0x3863b3,_0x5d1940,_0x4671f4,_0x3bd546){var _0x3b9b97=_0x376409;super(_0x4cf9d8,_0x2637be,_0x204568,_0x4fe567,_0x1fe75c,_0x4b8a0d,_0x56a60f,_0x3863b3,_0x3bd546),D(this,_0x3b9b97(0x2e5),'conflict'),(this[_0x3b9b97(0x3df)]=_0x285252,this[_0x3b9b97(0x391)]=_0x31c13b,this[_0x3b9b97(0x46b)]=_0x5d1940,this[_0x3b9b97(0x2b5)]=_0x4671f4,this[_0x3b9b97(0x23f)]=_0x3bd546,this[_0x3b9b97(0x420)](),this['_clearLocalCache'](),this[_0x3b9b97(0x40f)]());}[_0x376409(0x231)](){return this;}[_0x376409(0x2a3)](){return this;}[_0x376409(0x27a)](){return this;}[_0x376409(0x314)](){return this;}[_0x376409(0x1c9)](){return this;}['toggleOffline'](){return this;}[_0x376409(0x293)](){return this;}['resend'](){var _0x585506=_0x376409;throw new Error(_0x585506(0x193));}[_0x376409(0x2e8)](){var _0x203933=_0x376409,_0x356af2;(_0x356af2=this[_0x203933(0x3d3)])==null||_0x356af2[_0x203933(0x240)](this['unitID'],this[_0x203933(0x192)],null,[]);}[_0x376409(0x420)](){var _0xa94a90=_0x376409;this[_0xa94a90(0x3df)]?this[_0xa94a90(0x2b5)][_0xa94a90(0x228)]({'id':se['PERMISSION_DENIED']}):this['_collaborationUIEventService'][_0xa94a90(0x228)]({'id':se[_0xa94a90(0x1f5)]});}['_disableEditing'](){var _0x41b87a=_0x376409;this[_0x41b87a(0x391)]['updatePermissionPoint'](new _0x114bbf(this[_0x41b87a(0x1b7)])['id'],!0x1);}};de=Ce([A(0x6,_0x49f53f(_0x43c214)),A(0x7,_0x32fa06),A(0x8,_0x34122b),A(0x9,_0x49f53f(_0x1b07e4)),A(0xa,_0x49f53f(_0x319bff)),A(0xb,_0x49f53f(pe)),A(0xc,_0x59dc08(X))],de);let fe=class extends be{constructor(_0x38c01d,_0x2c4cbf,_0x44c57f,_0x294e11,_0x4d906d,_0x789527,_0x9efe01,_0x31f2e8,_0x164ddb,_0x489b95){var _0x646526=_0x376409;super(_0x38c01d,_0x2c4cbf,_0x44c57f,_0x294e11,_0x4d906d,_0x31f2e8,_0x164ddb,_0x9efe01,_0x489b95),D(this,_0x646526(0x2e5),_0x646526(0x326)),this[_0x646526(0x2d7)]=_0x789527;}['appendMutation'](_0x34772e){var _0x160d5b=_0x376409;return this[_0x160d5b(0x33e)][_0x160d5b(0x273)](_0x34772e),this['_updateLocalCache'](),this;}[_0x376409(0x2a3)](_0x44cbab){var _0x4ec427=_0x376409;throw new Error(_0x4ec427(0x252));}[_0x376409(0x27a)](){var _0x58ce45=_0x376409;throw new Error(_0x58ce45(0x2b8));}[_0x376409(0x314)](){var _0x2b148e=_0x376409;throw new Error(_0x2b148e(0x285));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x376409(0x293)](){var _0x30c07a=_0x376409;const {_injector:_0x317684,_pendingMutations:_0x3dd61d,_awaitingChangeset:_0x8b9a4a,unitID:_0x2582a5,_handler:_0x275b00,type:_0x26d38a}=this,_0x50082a=Ni(_0x317684,_0x2582a5,_0x26d38a,_0x8b9a4a,_0x3dd61d,_0x275b00);return _0x50082a instanceof re?_0x50082a[_0x30c07a(0x2a1)]():(_0x50082a instanceof oe||_0x50082a instanceof ue)&&_0x50082a[_0x30c07a(0x3da)](),_0x50082a;}[_0x376409(0x3da)](){var _0x2b6956=_0x376409;throw new Error(_0x2b6956(0x206));}};fe=Ce([A(0x5,_0x49f53f(_0x3e138a)),A(0x6,_0x49f53f(_0x1b07e4)),A(0x7,_0x32fa06),A(0x8,_0x34122b),A(0x9,_0x59dc08(X))],fe);let te=class extends be{constructor(_0x38bb48,_0x21a36f,_0xaaf50e,_0xb144ec,_0x3b0060,_0x4a9ec2,_0x5069a3,_0x46dd65,_0x3d68e8,_0x105445,_0x2ed2e9,_0x43187a,_0x1de67a,_0x1beefe){var _0x1452be=_0x376409;super(_0x38bb48,_0x21a36f,_0xaaf50e,_0xb144ec,_0x5069a3,_0x2ed2e9,_0x43187a,_0x3d68e8,_0x1beefe),D(this,_0x1452be(0x2e5),_0x1452be(0x2af)),(this[_0x1452be(0x3c7)]=_0x3b0060,this[_0x1452be(0x329)]=_0x4a9ec2,this[_0x1452be(0x2d7)]=_0x46dd65,this['_logService']=_0x105445,this[_0x1452be(0x3ff)]=_0x1de67a,this[_0x1452be(0x23f)]=_0x1beefe);}['onMissedChangesetFetched'](_0x7456d9){var _0x2b9837=_0x376409;try{const _0x2ccf2d=[..._0x7456d9,...this[_0x2b9837(0x329)]],_0x5043bb=[this[_0x2b9837(0x47c)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x131067=>!!_0x131067);let _0x4e10d5,_0x12cfb2;if(_0x5043bb[_0x2b9837(0x2ce)]){const _0x4785f5=this[_0x2b9837(0x3ff)]['transformChangesets'](_0x2ccf2d,_0x5043bb,!0x1);if(!_0x49cbb5(_0x4785f5))throw _0x4785f5[_0x2b9837(0x1f6)];_0x4e10d5=_0x4785f5[_0x2b9837(0x264)],_0x12cfb2=_0x4785f5[_0x2b9837(0x351)];}else _0x4e10d5=_0x2ccf2d,_0x12cfb2=[];let _0x35e943=this[_0x2b9837(0x33e)];_0x4e10d5[_0x2b9837(0x437)](_0x34b724=>{var _0x4e7c24=_0x2b9837;let _0x2b0ff3;if(_0x35e943[_0x4e7c24(0x2ce)]){const _0x3cead1=this[_0x4e7c24(0x3ff)][_0x4e7c24(0x465)](_0x34b724,_0x35e943);if(!_0x26a416(_0x3cead1))throw _0x3cead1[_0x4e7c24(0x1f6)];_0x2b0ff3=_0x3cead1['c1Prime'],_0x35e943=_0x3cead1[_0x4e7c24(0x42f)];}else _0x2b0ff3=_0x34b724;this['_executeRemoteChangeset'](_0x2b0ff3);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2b9837(0x2cc)](),this[_0x2b9837(0x47c)]&&_0x12cfb2['length']&&(_0x12cfb2[0x0][_0x2b9837(0x403)]=this[_0x2b9837(0x342)]());let _0x5e22bf;if(this[_0x2b9837(0x47c)]&&_0x35e943[_0x2b9837(0x2ce)]!==0x0)_0x5e22bf=this[_0x2b9837(0x2d7)]['createInstance'](oe,this['unitID'],this[_0x2b9837(0x192)],_0x12cfb2[0x0],_0x35e943,this[_0x2b9837(0x210)],void 0x0);else{if(this[_0x2b9837(0x47c)]&&_0x35e943[_0x2b9837(0x2ce)]===0x0)_0x12cfb2[0x0][_0x2b9837(0x403)]=this[_0x2b9837(0x342)](),_0x5e22bf=this[_0x2b9837(0x2d7)]['createInstance'](ue,this[_0x2b9837(0x1b7)],this['type'],_0x12cfb2[0x0],this[_0x2b9837(0x210)]);else{if(_0x35e943[_0x2b9837(0x2ce)]!==0x0){const _0x5c3f06=this[_0x2b9837(0x2d7)]['createInstance'](re,this['unitID'],this['type'],_0x35e943,this[_0x2b9837(0x210)]);_0x5c3f06[_0x2b9837(0x2a1)](),_0x5e22bf=_0x5c3f06;}else _0x5e22bf=this[_0x2b9837(0x2d7)]['createInstance'](Pe,this[_0x2b9837(0x1b7)],this[_0x2b9837(0x192)],this[_0x2b9837(0x210)]);}}return _0x5e22bf[_0x2b9837(0x2e7)](),_0x5e22bf;}catch(_0x86e4ef){return this[_0x2b9837(0x442)][_0x2b9837(0x1f6)](_0x2b9837(0x3c2),'failed\x20to\x20apply\x20missed\x20changesets!',_0x86e4ef),this[_0x2b9837(0x2d7)][_0x2b9837(0x24a)](de,this[_0x2b9837(0x1b7)],this[_0x2b9837(0x192)],this[_0x2b9837(0x47c)],this['_pendingMutations'],this[_0x2b9837(0x210)],!0x1);}}[_0x376409(0x3da)](){var _0x171f55=_0x376409;throw new Error(_0x171f55(0x281));}[_0x376409(0x231)](_0x1bcaa2){var _0x8a35f0=_0x376409;return this[_0x8a35f0(0x33e)]['push'](_0x1bcaa2),this;}[_0x376409(0x2a3)](_0x2ef235){var _0x532d00=_0x376409;return this[_0x532d00(0x329)][_0x532d00(0x273)](_0x2ef235),this;}['onRemoteAck'](_0x2fe430){var _0x2f1d47=_0x376409;if(this[_0x2f1d47(0x47c)])return this[_0x2f1d47(0x3c7)]=this[_0x2f1d47(0x47c)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x4eb33c){var _0x345b0b=_0x376409;return this['_onConflict'](!!(_0x4eb33c!=null&&_0x4eb33c[_0x345b0b(0x2da)]));}[_0x376409(0x1c9)](){return this;}[_0x376409(0x203)](){var _0x19484c=_0x376409;return this[_0x19484c(0x2d7)]['createInstance'](fe,this[_0x19484c(0x1b7)],this[_0x19484c(0x192)],this[_0x19484c(0x47c)],this[_0x19484c(0x33e)],this['_handler']);}[_0x376409(0x293)](){return this;}[_0x376409(0x47a)](_0x421402){var _0x3da081=_0x376409;return this[_0x3da081(0x2d7)][_0x3da081(0x24a)](de,this[_0x3da081(0x1b7)],this['type'],this['_awaitingChangeset'],this[_0x3da081(0x33e)],this[_0x3da081(0x210)],_0x421402);}};te=Ce([A(0x7,_0x49f53f(_0x3e138a)),A(0x8,_0x49f53f(_0x1b07e4)),A(0x9,_0x3bfb06),A(0xa,_0x32fa06),A(0xb,_0x34122b),A(0xc,_0x2c3c9c),A(0xd,_0x59dc08(X))],te);function Ni(_0xdece78,_0x358435,_0x44fc82,_0x5be5b7,_0x56918f,_0x5b4128){var _0x35fc06=_0x376409;return _0x5be5b7&&_0x56918f[_0x35fc06(0x2ce)]?_0xdece78[_0x35fc06(0x24a)](oe,_0x358435,_0x44fc82,_0x5be5b7,_0x56918f,_0x5b4128,void 0x0):_0x5be5b7?_0xdece78['createInstance'](ue,_0x358435,_0x44fc82,_0x5be5b7,_0x5b4128):_0x56918f[_0x35fc06(0x2ce)]?_0xdece78[_0x35fc06(0x24a)](re,_0x358435,_0x44fc82,_0x56918f,_0x5b4128):_0xdece78['createInstance'](Pe,_0x358435,_0x44fc82,_0x5b4128);}var bs=Object[_0x376409(0x367)],Rs=Object['getOwnPropertyDescriptor'],Mt=(_0x15ec0d,_0xaa65a3,_0x224822,_0x5e1d29)=>{for(var _0x14c385=_0x5e1d29>0x1?void 0x0:_0x5e1d29?Rs(_0xaa65a3,_0x224822):_0xaa65a3,_0x3fb11e=_0x15ec0d['length']-0x1,_0x4a76db;_0x3fb11e>=0x0;_0x3fb11e--)(_0x4a76db=_0x15ec0d[_0x3fb11e])&&(_0x14c385=(_0x5e1d29?_0x4a76db(_0xaa65a3,_0x224822,_0x14c385):_0x4a76db(_0x14c385))||_0x14c385);return _0x5e1d29&&_0x14c385&&bs(_0xaa65a3,_0x224822,_0x14c385),_0x14c385;},k=(_0x5c0c1f,_0x5b8003)=>(_0x392bda,_0x5d7bc1)=>_0x5b8003(_0x392bda,_0x5d7bc1,_0x5c0c1f);let st=class extends _0x46baed{constructor(_0x1fb5be,_0x50e583,_0x28d810,_0x228386,_0x13f34c,_0x2109ee,_0x54a143,_0x4f803,_0x3b5b6d,_0x5a5f74,_0x38adf8,_0x335159,_0x83abe4){var _0x2d9cb4=_0x376409;super(),D(this,_0x2d9cb4(0x1f4),new _0x2eae86(null)),D(this,_0x2d9cb4(0x21e),this[_0x2d9cb4(0x1f4)]['asObservable']()),D(this,_0x2d9cb4(0x324)),D(this,_0x2d9cb4(0x3a2),!0x1),D(this,_0x2d9cb4(0x35e),''),D(this,_0x2d9cb4(0x336),0x0),D(this,_0x2d9cb4(0x29b),this[_0x2d9cb4(0x21e)][_0x2d9cb4(0x2d3)](_0x4df683(_0x97d2e=>_0x97d2e?_0x97d2e[_0x2d9cb4(0x2e5)]:Oi[_0x2d9cb4(0x343)]),_0x559f3a(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x2d9cb4(0x232),[]),(this[_0x2d9cb4(0x1b7)]=_0x1fb5be,this[_0x2d9cb4(0x330)]=_0x50e583,this[_0x2d9cb4(0x3c5)]=_0x28d810,this[_0x2d9cb4(0x2d7)]=_0x228386,this[_0x2d9cb4(0x1d3)]=_0x13f34c,this['_localeService']=_0x2109ee,this[_0x2d9cb4(0x454)]=_0x54a143,this['_eventService']=_0x4f803,this[_0x2d9cb4(0x442)]=_0x3b5b6d,this[_0x2d9cb4(0x31d)]=_0x5a5f74,this[_0x2d9cb4(0x391)]=_0x38adf8,this[_0x2d9cb4(0x1f2)]=_0x335159,this[_0x2d9cb4(0x3d3)]=_0x83abe4);}get[_0x376409(0x461)](){var _0x1ca394=_0x376409;return this[_0x1ca394(0x324)];}async[_0x376409(0x2fd)](){var _0x258463=_0x376409;if(this[_0x258463(0x461)])throw new Error(_0x258463(0x31a));await this['_init']();}[_0x376409(0x2f6)](){var _0x3615d0=_0x376409;return this[_0x3615d0(0x3a2)]=!0x0,_0x339741(()=>{var _0x5ee0b1=_0x3615d0;this[_0x5ee0b1(0x3a2)]=!0x1,this[_0x5ee0b1(0x270)]();});}[_0x376409(0x2a9)](_0x23fd47){var _0x5755a9=_0x376409;this[_0x5755a9(0x2ab)](_0x23fd47);}[_0x376409(0x43b)](_0xcf2ea9){var _0x18f60c=_0x376409;this[_0x18f60c(0x324)]=_0xcf2ea9,this[_0x18f60c(0x1f4)]['next'](_0xcf2ea9);}async[_0x376409(0x1d0)](){var _0x2f09eb=_0x376409,_0x77360;this['_updateState'](await this[_0x2f09eb(0x1a6)]()),this['_singleActiveUnitService']&&((_0x77360=this[_0x2f09eb(0x1f2)])==null||_0x77360[_0x2f09eb(0x46f)](this[_0x2f09eb(0x1b7)]),this[_0x2f09eb(0x20b)](this[_0x2f09eb(0x1f2)]['getUnitStatus$'](this[_0x2f09eb(0x1b7)])['subscribe'](_0x3bbfde=>{var _0x54005f=_0x2f09eb;this[_0x54005f(0x442)]['debug'](_0x54005f(0x3c9),_0x54005f(0x44f),_0x3bbfde),_0x3bbfde===Ri['OTHER_CLIENTS_EDITING']?(this[_0x54005f(0x22d)][_0x54005f(0x228)]({'id':se[_0x54005f(0x405)]}),this[_0x54005f(0x391)][_0x54005f(0x24f)](new _0x114bbf(this['unitID'])['id'],!0x1),this[_0x54005f(0x391)][_0x54005f(0x1c1)](!0x1)):(this[_0x54005f(0x391)][_0x54005f(0x24f)](new _0x114bbf(this[_0x54005f(0x1b7)])['id'],!0x0),this[_0x54005f(0x391)][_0x54005f(0x1c1)](!0x0));})));let _0x4ec71c=!0x1;return this[_0x2f09eb(0x20b)](this[_0x2f09eb(0x330)][_0x2f09eb(0x259)]['subscribe'](_0x5b4bbb=>{var _0x338294=_0x2f09eb;_0x5b4bbb===Ie[_0x338294(0x448)]?this[_0x338294(0x20f)](_0x4ec71c):_0x5b4bbb===Ie[_0x338294(0x343)]&&(_0x4ec71c=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x2f09eb(0x330)][_0x2f09eb(0x34d)]['subscribe'](_0x306118=>{var _0x43d9ec=_0x2f09eb;try{switch(_0x306118[_0x43d9ec(0x300)]){case _0x35b08b[_0x43d9ec(0x1e4)]:{this[_0x43d9ec(0x3b6)](_0x3499ea(_0x306118[_0x43d9ec(0x2e0)]));break;}case _0x35b08b[_0x43d9ec(0x352)]:{this[_0x43d9ec(0x47e)](_0x306118['data']);break;}case _0x35b08b['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x35b08b['CHANGESET_SHOULD_RETRY']:{this[_0x43d9ec(0x3ca)](_0x306118[_0x43d9ec(0x2e0)]);break;}case _0x35b08b['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x306118[_0x43d9ec(0x2e0)]['changesets'][_0x43d9ec(0x251)](_0x23c8e4=>_0x3499ea(_0x23c8e4)));break;}case _0x35b08b[_0x43d9ec(0x249)]:this[_0x43d9ec(0x383)]({'isPermissionRej':!0x0});}}catch(_0x4a9265){throw console['error'](_0x43d9ec(0x453),_0x4a9265),_0x4a9265;}})),this[_0x2f09eb(0x324)];}[_0x376409(0x409)](){var _0x3b5f4d=_0x376409;this[_0x3b5f4d(0x1ab)]=!0x1;}['_lockTransition'](){var _0x2fd183=_0x376409;if(this[_0x2fd183(0x1ab)])throw new Error(_0x2fd183(0x2db));this['_transitionLocked']=!0x0;}[_0x376409(0x2ab)](_0x5a6101){var _0x34f1ea=_0x376409;this[_0x34f1ea(0x309)](),this[_0x34f1ea(0x43b)](this[_0x34f1ea(0x324)][_0x34f1ea(0x231)](_0x5a6101)),this[_0x34f1ea(0x409)]();}['_onRemoteChangeset'](_0x46ede3){var _0x239b4c=_0x376409;if(!(_0x46ede3[_0x239b4c(0x39f)]<=this['_revisionService'][_0x239b4c(0x3a1)](this[_0x239b4c(0x1b7)]))){if(this[_0x239b4c(0x3a2)]){this[_0x239b4c(0x232)][_0x239b4c(0x273)](_0x46ede3);return;}this[_0x239b4c(0x381)](_0x46ede3);}}[_0x376409(0x270)](){var _0x29aaad=_0x376409;this[_0x29aaad(0x232)][_0x29aaad(0x437)](_0x109ba3=>this[_0x29aaad(0x381)](_0x109ba3)),this[_0x29aaad(0x232)]=[];}[_0x376409(0x381)](_0xe3d235){var _0x3492f2=_0x376409;const _0xdd626d=this[_0x3492f2(0x1d3)][_0x3492f2(0x3eb)][_0x3492f2(0x41a)](this[_0x3492f2(0x1d3)]['interceptor'][_0x3492f2(0x17f)]()[_0x3492f2(0x1eb)])(_0xe3d235[_0x3492f2(0x263)],null)||_0xe3d235[_0x3492f2(0x263)],_0x22371d={..._0xe3d235,'mutations':_0xdd626d};this[_0x3492f2(0x309)](),this[_0x3492f2(0x43b)](this[_0x3492f2(0x324)][_0x3492f2(0x2a3)](_0x22371d)),this[_0x3492f2(0x409)]();}[_0x376409(0x47e)](_0x795ec9){var _0x1c261f=_0x376409;this[_0x1c261f(0x309)](),this['_updateState'](this[_0x1c261f(0x324)][_0x1c261f(0x27a)](_0x795ec9)),this[_0x1c261f(0x409)]();}[_0x376409(0x383)](_0x3d3f69){var _0x569c1c=_0x376409;this[_0x569c1c(0x309)](),this[_0x569c1c(0x43b)](this[_0x569c1c(0x324)][_0x569c1c(0x314)](_0x3d3f69)),this[_0x569c1c(0x409)]();}['_onRemoteRetry'](_0x5e200b){var _0x3c543c=_0x376409;this['_lockTransition'](),this[_0x3c543c(0x43b)](this[_0x3c543c(0x324)][_0x3c543c(0x1c9)](_0x5e200b)),this['_unlockTransition']();}[_0x376409(0x1ed)](_0x2ea2b1){var _0x18be45=_0x376409;if(!(this['_state']instanceof te))throw new TypeError(_0x18be45(0x29e));const _0x368257=_0x2ea2b1['map'](_0x4db709=>{var _0x365ad8=_0x18be45;const _0x4ced21=this['_compressMutationService'][_0x365ad8(0x3eb)][_0x365ad8(0x41a)](this['_compressMutationService'][_0x365ad8(0x3eb)][_0x365ad8(0x17f)]()[_0x365ad8(0x1eb)])(_0x4db709['mutations'],null)||_0x4db709[_0x365ad8(0x263)];return{..._0x4db709,'mutations':_0x4ced21};});this[_0x18be45(0x309)](),this['_updateState'](this[_0x18be45(0x324)][_0x18be45(0x394)](_0x368257)),this[_0x18be45(0x409)]();}['_toggleOffline'](){var _0x124cf7=_0x376409;this[_0x124cf7(0x309)](),this[_0x124cf7(0x43b)](this[_0x124cf7(0x324)][_0x124cf7(0x203)]()),this[_0x124cf7(0x409)]();}['_toggleOnline'](_0x27a777=!0x1){var _0x2c08d0=_0x376409;this[_0x2c08d0(0x309)](),this['_updateState'](this[_0x2c08d0(0x324)][_0x2c08d0(0x293)]()),this['_unlockTransition']();const _0x4ff18c=this[_0x2c08d0(0x324)];_0x27a777&&_0x4ff18c instanceof Pe&&(this[_0x2c08d0(0x309)](),this[_0x2c08d0(0x43b)](_0x4ff18c['fetchMiss']()),this[_0x2c08d0(0x409)]());}async[_0x376409(0x1a6)](){return new Promise(_0x2a388c=>{var _0x5c8b2d=_0x1c43;this['session'][_0x5c8b2d(0x259)][_0x5c8b2d(0x2d3)](_0x23ca51(0x1))[_0x5c8b2d(0x417)](async _0xd8951e=>{var _0x3a6eb3=_0x5c8b2d;_0x2a388c(await this['_createInitialStateImpl'](_0xd8951e===Ie[_0x3a6eb3(0x448)]));});});}['_createHandler'](){var _0x5d9469=_0x376409;const _0x36d452=this[_0x5d9469(0x1b7)];return{'onStateChange':(_0x50ac34,_0x14be69)=>{var _0x37c2ad=_0x5d9469;if(_0x50ac34!==this['_state'])throw new Error(_0x37c2ad(0x2ed)+_0x50ac34[_0x37c2ad(0x2e5)]+_0x37c2ad(0x253)+_0x14be69['status']+_0x37c2ad(0x35a)+this[_0x37c2ad(0x324)][_0x37c2ad(0x2e5)]);this[_0x37c2ad(0x43b)](_0x14be69);},'onSendChangeset':_0xb5ccbe=>{var _0x4ef4bf=_0x5d9469;_0xb5ccbe['sid']||(_0xb5ccbe[_0x4ef4bf(0x31b)]=this['_changesetSessionId'],_0xb5ccbe['reqId']=++this[_0x4ef4bf(0x336)]);const _0x3d97df={'eventID':_0x35b08b['SUBMIT_CHANGESET'],'data':{'unitID':_0xb5ccbe[_0x4ef4bf(0x1b7)],'unitType':this[_0x4ef4bf(0x3c5)],'changeset':_0xb5ccbe,'memberID':this['session'][_0x4ef4bf(0x401)]()}};this[_0x4ef4bf(0x330)][_0x4ef4bf(0x36e)](_0x3d97df,this[_0x4ef4bf(0x1b7)]);},'onMissingChangesets':({from:_0x2afd41,to:_0x158079})=>{var _0x2de029=_0x5d9469;this[_0x2de029(0x442)][_0x2de029(0x26f)]('[CollaborationEntity]',_0x2de029(0x47b)+_0x2afd41+_0x2de029(0x416)+_0x158079);const _0x836bd={'eventID':_0x35b08b['FETCH_MISSING'],'data':{'unitID':_0x36d452,'unitType':this[_0x2de029(0x3c5)],'from':_0x2afd41,'to':_0x158079}};this['session'][_0x2de029(0x36e)](_0x836bd,this[_0x2de029(0x1b7)]);}};}async[_0x376409(0x235)](_0x275a3c){var _0x439f7e=_0x376409,_0x43f370,_0x2a1f4c,_0x18eb35;const _0x58b440=await((_0x43f370=this['_localCacheService'])==null?void 0x0:_0x43f370['loadOfflineData'](this[_0x439f7e(0x1b7)])),_0x2d3477=(_0x2a1f4c=_0x58b440==null?void 0x0:_0x58b440[_0x439f7e(0x263)])!=null?_0x2a1f4c:[],_0x50f453=(_0x18eb35=_0x58b440==null?void 0x0:_0x58b440[_0x439f7e(0x2b0)])!=null?_0x18eb35:null,_0x215af2=!!(_0x50f453!=null&&_0x50f453['sid'])&&!!(_0x50f453!=null&&_0x50f453[_0x439f7e(0x3d5)]);this[_0x439f7e(0x35e)]=_0x215af2?_0x50f453[_0x439f7e(0x31b)]:fs(),this['_changesetReqId']=_0x215af2?_0x50f453[_0x439f7e(0x3d5)]:0x0;const _0x461762=this[_0x439f7e(0x1b7)];try{this[_0x439f7e(0x1b5)](_0x50f453,_0x2d3477);}catch(_0x438c5e){this[_0x439f7e(0x442)]['error'](_0x438c5e);}const _0x2799a8=this[_0x439f7e(0x211)]();if(_0x275a3c){const _0x5a7b39=Ni(this[_0x439f7e(0x2d7)],_0x461762,this[_0x439f7e(0x3c5)],_0x50f453,_0x2d3477,_0x2799a8);return _0x5a7b39 instanceof re?_0x5a7b39[_0x439f7e(0x2a1)]():(_0x5a7b39 instanceof oe||_0x5a7b39 instanceof ue)&&_0x5a7b39[_0x439f7e(0x3da)](),_0x5a7b39;}return this[_0x439f7e(0x2d7)][_0x439f7e(0x24a)](fe,_0x461762,this[_0x439f7e(0x3c5)],_0x50f453,_0x2d3477,_0x2799a8);}[_0x376409(0x1b5)](_0x41c3bc,_0x29dc2d){var _0x46c5c4=_0x376409,_0x381bca,_0x28c76c;const _0x485641=this['_compressMutationService'][_0x46c5c4(0x3eb)][_0x46c5c4(0x41a)](this[_0x46c5c4(0x1d3)][_0x46c5c4(0x3eb)]['getInterceptPoints']()[_0x46c5c4(0x1eb)]);(_0x381bca=_0x485641((_0x41c3bc==null?void 0x0:_0x41c3bc[_0x46c5c4(0x263)])||[],null))==null||_0x381bca[_0x46c5c4(0x437)](_0x2075aa=>this['_commandService']['executeCommand'](_0x2075aa['id'],_0x2075aa['params'])),(_0x28c76c=_0x485641(_0x29dc2d||[],null))==null||_0x28c76c[_0x46c5c4(0x437)](_0x1f7554=>this[_0x46c5c4(0x31d)][_0x46c5c4(0x3b7)](_0x1f7554['id'],_0x1f7554[_0x46c5c4(0x479)]));}};st=Mt([k(0x3,_0x49f53f(_0x3e138a)),k(0x4,_0x49f53f(_0x42991d)),k(0x5,_0x49f53f(_0x319bff)),k(0x6,_0x49f53f(_0x1b07e4)),k(0x7,_0x49f53f(pe)),k(0x8,_0x3bfb06),k(0x9,_0x32fa06),k(0xa,_0x43c214),k(0xb,_0x59dc08(_t)),k(0xc,_0x59dc08(X))],st);let Ct=class extends st{constructor(_0x19383e,_0x13e410,_0x2d0fd0,_0x3181f9,_0x50b15e,_0x5dda0f,_0xfb0a49,_0x389bca,_0x49daf8,_0x441039,_0x37fc7,_0x322548,_0x315528){var _0x385d1b=_0x376409;super(_0x19383e,_0x2d0fd0,_0x13e410,_0x3181f9,_0x50b15e,_0x5dda0f,_0xfb0a49,_0x389bca,_0x49daf8,_0x441039,_0x37fc7,_0x322548,_0x315528),D(this,_0x385d1b(0x258),null),(this[_0x385d1b(0x1b7)]=_0x19383e,this[_0x385d1b(0x192)]=_0x13e410);}['addHandlerCallback'](_0x3cdd2c){this['_handlerCallback']=_0x3cdd2c;}['dispose'](){var _0x46b1fb=_0x376409;this[_0x46b1fb(0x258)]=null,super['dispose']();}[_0x376409(0x211)](){var _0x4a71d7=_0x376409;const _0x5eb0da=super[_0x4a71d7(0x211)]();return _0x5eb0da[_0x4a71d7(0x2d5)]=_0x39e212=>{var _0x1a3dfc=_0x4a71d7,_0x530682,_0x7080ac;return(_0x7080ac=(_0x530682=this['_handlerCallback'])==null?void 0x0:_0x530682['onTransformIME'])==null?void 0x0:_0x7080ac[_0x1a3dfc(0x380)](_0x530682,_0x39e212);},_0x5eb0da[_0x4a71d7(0x2c1)]=_0xfd1fd7=>{var _0x464408=_0x4a71d7,_0x5e8795,_0xe9c1ef;return(_0xe9c1ef=(_0x5e8795=this[_0x464408(0x258)])==null?void 0x0:_0x5e8795[_0x464408(0x2c1)])==null?void 0x0:_0xe9c1ef[_0x464408(0x380)](_0x5e8795,_0xfd1fd7);},_0x5eb0da[_0x4a71d7(0x291)]=_0x1de7a0=>{var _0x47ff30=_0x4a71d7,_0x40d86d,_0xbd1ff5;return(_0xbd1ff5=(_0x40d86d=this[_0x47ff30(0x258)])==null?void 0x0:_0x40d86d[_0x47ff30(0x291)])==null?void 0x0:_0xbd1ff5['call'](_0x40d86d,_0x1de7a0);},_0x5eb0da['onSyncEditingCollabCursor']=_0x331ec5=>{var _0x5cea09=_0x4a71d7,_0x5a3532,_0x144fcb;return(_0x144fcb=(_0x5a3532=this[_0x5cea09(0x258)])==null?void 0x0:_0x5a3532[_0x5cea09(0x209)])==null?void 0x0:_0x144fcb['call'](_0x5a3532,_0x331ec5);},_0x5eb0da[_0x4a71d7(0x2f4)]=_0x54c0a0=>{var _0x117ffa=_0x4a71d7,_0x388a89,_0x12adc0,_0x528925;if(!((_0x388a89=this[_0x117ffa(0x258)])!=null&&_0x388a89[_0x117ffa(0x2f4)]))throw new Error(_0x117ffa(0x195));return(_0x528925=(_0x12adc0=this[_0x117ffa(0x258)])==null?void 0x0:_0x12adc0[_0x117ffa(0x2f4)])==null?void 0x0:_0x528925['call'](_0x12adc0,_0x54c0a0);},_0x5eb0da[_0x4a71d7(0x372)]=_0x50ce46=>{var _0x16f81c=_0x4a71d7,_0x485ffe,_0x9974bf,_0x18a533;if(!((_0x485ffe=this[_0x16f81c(0x258)])!=null&&_0x485ffe[_0x16f81c(0x372)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x18a533=(_0x9974bf=this[_0x16f81c(0x258)])==null?void 0x0:_0x9974bf[_0x16f81c(0x372)])==null?void 0x0:_0x18a533[_0x16f81c(0x380)](_0x9974bf,_0x50ce46);},_0x5eb0da;}async['_init'](){var _0x5998ad=_0x376409;const _0xc86483=await super['_init']();return this[_0x5998ad(0x20b)](this[_0x5998ad(0x31d)]['onCommandExecuted']((_0x5dde32,_0x2966fa)=>{var _0x2e7706=_0x5998ad;if(_0x5dde32['type']!==_0x5b08c0[_0x2e7706(0x1a4)]||_0x2966fa!=null&&_0x2966fa[_0x2e7706(0x320)]||_0x2966fa!=null&&_0x2966fa['onlyLocal']||_0x5dde32['id']===_0x50ab50['id'])return;const _0x5ea58e=_0x5dde32[_0x2e7706(0x479)];if((_0x5ea58e==null?void 0x0:_0x5ea58e[_0x2e7706(0x205)])!==this[_0x2e7706(0x1b7)])return;const _0x13b4b4=_0x5dde32,_0x347713=this['_compressMutationService'][_0x2e7706(0x3eb)][_0x2e7706(0x41a)](this[_0x2e7706(0x1d3)][_0x2e7706(0x3eb)]['getInterceptPoints']()[_0x2e7706(0x1ff)])([_0x13b4b4],null)||[_0x13b4b4];this['_onLocalMutation'](_0x347713[0x0]);})),_0xc86483;}};Ct=Mt([k(0x3,_0x49f53f(_0x3e138a)),k(0x4,_0x49f53f(_0x42991d)),k(0x5,_0x49f53f(_0x319bff)),k(0x6,_0x49f53f(_0x1b07e4)),k(0x7,_0x49f53f(pe)),k(0x8,_0x3bfb06),k(0x9,_0x32fa06),k(0xa,_0x43c214),k(0xb,_0x59dc08(_t)),k(0xc,_0x59dc08(X))],Ct);let bt=class extends st{constructor(_0x235991,_0x1a8f99,_0x26e771,_0x224500,_0xdca5fd,_0x2763b3,_0x260a80,_0x50ecca,_0x422313,_0x223d1c,_0x307a1d,_0x21c691,_0x4090e4,_0x4bdfa5){var _0xa731de=_0x376409;super(_0x235991,_0x26e771,_0x1a8f99,_0x224500,_0xdca5fd,_0x2763b3,_0x260a80,_0x422313,_0x223d1c,_0x307a1d,_0x21c691,_0x4090e4,_0x4bdfa5),this[_0xa731de(0x1b7)]=_0x235991,this[_0xa731de(0x192)]=_0x1a8f99,this[_0xa731de(0x31e)]=_0x50ecca;}[_0x376409(0x211)](){var _0xbf6f6=_0x376409;const _0x48ce8f=super[_0xbf6f6(0x211)]();return _0x48ce8f[_0xbf6f6(0x291)]=_0x13ad79=>this[_0xbf6f6(0x31e)][_0xbf6f6(0x452)](_0x13ad79),_0x48ce8f;}async[_0x376409(0x1d0)](){var _0x4a3f6c=_0x376409;const _0x49e72c=await super[_0x4a3f6c(0x1d0)]();return this[_0x4a3f6c(0x20b)](this[_0x4a3f6c(0x31d)][_0x4a3f6c(0x3a5)]((_0x24b8da,_0x47a94c)=>{var _0x292071=_0x4a3f6c;if(_0x24b8da['type']!==_0x5b08c0[_0x292071(0x1a4)]||_0x47a94c!=null&&_0x47a94c[_0x292071(0x320)]||_0x47a94c!=null&&_0x47a94c['onlyLocal'])return;const _0xc030ec=_0x24b8da[_0x292071(0x479)];if((_0xc030ec==null?void 0x0:_0xc030ec[_0x292071(0x205)])!==this[_0x292071(0x1b7)])return;const _0x366f49=_0x24b8da,_0x271826=this[_0x292071(0x1d3)][_0x292071(0x3eb)][_0x292071(0x41a)](this['_compressMutationService']['interceptor']['getInterceptPoints']()[_0x292071(0x1ff)])([_0x366f49],null)||[_0x366f49];this[_0x292071(0x2ab)](_0x271826[0x0]);})),_0x49e72c;}};bt=Mt([k(0x3,_0x49f53f(_0x3e138a)),k(0x4,_0x49f53f(_0x42991d)),k(0x5,_0x49f53f(_0x319bff)),k(0x6,_0x49f53f(_0x1b07e4)),k(0x7,_0x49f53f(nt)),k(0x8,_0x49f53f(pe)),k(0x9,_0x3bfb06),k(0xa,_0x32fa06),k(0xb,_0x43c214),k(0xc,_0x59dc08(_t)),k(0xd,_0x59dc08(X))],bt);var ys=Object[_0x376409(0x367)],Os=Object[_0x376409(0x2cd)],Ps=(_0x59a8ae,_0x207d1d,_0x1e31c1,_0x6a8208)=>{var _0x332bc6=_0x376409;for(var _0x297c72=_0x6a8208>0x1?void 0x0:_0x6a8208?Os(_0x207d1d,_0x1e31c1):_0x207d1d,_0x3a1bea=_0x59a8ae[_0x332bc6(0x2ce)]-0x1,_0x5699b9;_0x3a1bea>=0x0;_0x3a1bea--)(_0x5699b9=_0x59a8ae[_0x3a1bea])&&(_0x297c72=(_0x6a8208?_0x5699b9(_0x207d1d,_0x1e31c1,_0x297c72):_0x5699b9(_0x297c72))||_0x297c72);return _0x6a8208&&_0x297c72&&ys(_0x207d1d,_0x1e31c1,_0x297c72),_0x297c72;},vt=(_0x5b5515,_0x2e0a81)=>(_0x450948,_0x8fb7e)=>_0x2e0a81(_0x450948,_0x8fb7e,_0x5b5515);let rt=class extends _0x46baed{constructor(_0x1e8e40,_0x488516,_0x22e5c2){var _0x5d3594=_0x376409;super(),D(this,_0x5d3594(0x2a5),new Map()),D(this,_0x5d3594(0x423),new _0x104c91()),D(this,_0x5d3594(0x2e1),this[_0x5d3594(0x423)][_0x5d3594(0x363)]()),(this['_injector']=_0x1e8e40,this[_0x5d3594(0x26d)]=_0x488516,this[_0x5d3594(0x299)]=_0x22e5c2,this[_0x5d3594(0x1d0)]());}[_0x376409(0x40c)](){var _0x372be0=_0x376409;super[_0x372be0(0x40c)](),this[_0x372be0(0x2a5)]['forEach'](_0x489a80=>_0x489a80[_0x372be0(0x40c)]()),this[_0x372be0(0x2a5)][_0x372be0(0x27c)]();}['getCollabEntity'](_0x595723){var _0x4b705d=_0x376409,_0x3f8d73;return(_0x3f8d73=this[_0x4b705d(0x2a5)][_0x4b705d(0x358)](_0x595723))!=null?_0x3f8d73:null;}[_0x376409(0x23a)](_0x5b50c3){var _0x57ab20=_0x376409;const _0x369429=this[_0x57ab20(0x451)](_0x5b50c3);return _0x369429?_0x5e7e07(_0x369429):this[_0x57ab20(0x423)]['pipe'](_0x4b995b(_0x80d523=>_0x80d523[_0x57ab20(0x1b7)]===_0x5b50c3));}[_0x376409(0x43f)](_0x5cf062){var _0x4157ef=_0x376409;return _0x40925b(this[_0x4157ef(0x23a)](_0x5cf062)[_0x4157ef(0x2d3)](_0x225490(()=>{})));}['_init'](){var _0x18475a=_0x376409;this[_0x18475a(0x299)][_0x18475a(0x25c)](_0x26b476[_0x18475a(0x480)])[_0x18475a(0x2d3)](_0x166570(this[_0x18475a(0x1bb)]),_0x52b3fb(0x10))['subscribe'](async _0x5c1d80=>{var _0x1a5de4=_0x18475a;const _0x550848=_0x5c1d80[_0x1a5de4(0x2b9)](),_0x47ac83=await this[_0x1a5de4(0x218)](_0x550848,Q[_0x1a5de4(0x480)]);this[_0x1a5de4(0x2a5)][_0x1a5de4(0x3f5)](_0x550848,_0x47ac83);}),this[_0x18475a(0x299)][_0x18475a(0x25c)](_0x26b476[_0x18475a(0x3a8)])[_0x18475a(0x2d3)](_0x166570(this[_0x18475a(0x1bb)]),_0x52b3fb(0x10))['pipe'](_0x4b995b(_0x565dce=>!_0x565dce[_0x18475a(0x2b9)]()[_0x18475a(0x2f2)]('__')))['subscribe'](async _0x558082=>{var _0x291973=_0x18475a;const _0x5d0733=_0x558082['getUnitId'](),_0x1c75a8=await this[_0x291973(0x218)](_0x5d0733,Q[_0x291973(0x3a8)]);this['_entities'][_0x291973(0x3f5)](_0x5d0733,_0x1c75a8);}),_0x82c328(this[_0x18475a(0x299)][_0x18475a(0x1cc)](_0x26b476[_0x18475a(0x480)]),this[_0x18475a(0x299)]['getTypeOfUnitDisposed$'](_0x26b476['UNIVER_DOC']))['pipe'](_0x166570(this[_0x18475a(0x1bb)]))[_0x18475a(0x417)](_0x1610c9=>{var _0x25b544=_0x18475a;const _0x589379=_0x1610c9['getUnitId'](),_0x2bdb29=this[_0x25b544(0x2a5)][_0x25b544(0x358)](_0x589379);_0x2bdb29&&(_0x2bdb29[_0x25b544(0x40c)](),this['_entities'][_0x25b544(0x2a2)](_0x589379));});}async[_0x376409(0x218)](_0x1ffef2,_0x13416a){var _0x5f553a=_0x376409;const _0x43246e=await this[_0x5f553a(0x26d)][_0x5f553a(0x3ed)](_0x1ffef2),_0xf8380c=this[_0x5f553a(0x2d7)][_0x5f553a(0x24a)](this['_getCtorByUniverType'](_0x13416a),_0x1ffef2,_0x13416a,_0x43246e);return await _0xf8380c['init'](),this['_entityInit$'][_0x5f553a(0x33d)](_0xf8380c),_0xf8380c;}[_0x376409(0x408)](_0xeca0e9){var _0x37e45e=_0x376409;switch(_0xeca0e9){case Q['UNIVER_DOC']:return Ct;case Q['UNIVER_SHEET']:return bt;default:throw new Error(_0x37e45e(0x3bc)+_0xeca0e9);}}};rt=Ps([vt(0x0,_0x49f53f(_0x3e138a)),vt(0x1,_0x49f53f(Me)),vt(0x2,_0x2c9805)],rt);var Ns=Object[_0x376409(0x367)],Ds=Object[_0x376409(0x2cd)],ws=(_0x5b8d6f,_0x481ce7,_0x5e795e,_0x475c1c)=>{var _0x5327f0=_0x376409;for(var _0x43c3b3=_0x475c1c>0x1?void 0x0:_0x475c1c?Ds(_0x481ce7,_0x5e795e):_0x481ce7,_0xe65872=_0x5b8d6f[_0x5327f0(0x2ce)]-0x1,_0x149b89;_0xe65872>=0x0;_0xe65872--)(_0x149b89=_0x5b8d6f[_0xe65872])&&(_0x43c3b3=(_0x475c1c?_0x149b89(_0x481ce7,_0x5e795e,_0x43c3b3):_0x149b89(_0x43c3b3))||_0x43c3b3);return _0x475c1c&&_0x43c3b3&&Ns(_0x481ce7,_0x5e795e,_0x43c3b3),_0x43c3b3;},Xt=(_0x25c8d2,_0x3e7664)=>(_0x1bcba1,_0x47bc89)=>_0x3e7664(_0x1bcba1,_0x47bc89,_0x25c8d2);const Us='DEFAULT_FILE_NAME',As=_0x376409(0x2c3);let Rt=class extends _0x5987de{constructor(_0x18de8d,_0x5e8439){var _0x452d7b=_0x376409;super(),this[_0x452d7b(0x299)]=_0x18de8d,this[_0x452d7b(0x19f)]=_0x5e8439,this['_init']();}[_0x376409(0x1d0)](){var _0x3f2aef=_0x376409;this[_0x3f2aef(0x20b)](this[_0x3f2aef(0x299)]['focused$'][_0x3f2aef(0x417)](()=>{var _0x14d1e1=_0x3f2aef,_0x220805;const _0xefae15=this['_univerInstanceService'][_0x14d1e1(0x3fa)]();let _0x3c1761=(_0x220805=this['_configService'][_0x14d1e1(0x335)](Us))!=null?_0x220805:As;_0xefae15 instanceof _0x468afe&&(_0x3c1761=_0xefae15[_0x14d1e1(0x44e)]),document[_0x14d1e1(0x42b)]=_0x3c1761;}));}};Rt=ws([Xt(0x0,_0x2c9805),Xt(0x1,_0x574946)],Rt);var xs=Object[_0x376409(0x367)],Ls=Object[_0x376409(0x2cd)],Ms=(_0x11953e,_0x5d1e37,_0x36b1ee,_0x4a4962)=>{var _0x5a16ef=_0x376409;for(var _0x29ea4f=_0x4a4962>0x1?void 0x0:_0x4a4962?Ls(_0x5d1e37,_0x36b1ee):_0x5d1e37,_0x7de583=_0x11953e[_0x5a16ef(0x2ce)]-0x1,_0x492f22;_0x7de583>=0x0;_0x7de583--)(_0x492f22=_0x11953e[_0x7de583])&&(_0x29ea4f=(_0x4a4962?_0x492f22(_0x5d1e37,_0x36b1ee,_0x29ea4f):_0x492f22(_0x29ea4f))||_0x29ea4f);return _0x4a4962&&_0x29ea4f&&xs(_0x5d1e37,_0x36b1ee,_0x29ea4f),_0x29ea4f;},pt=(_0x349ab2,_0x29f63a)=>(_0x51045,_0xee204f)=>_0x29f63a(_0x51045,_0xee204f,_0x349ab2);let ot=class{constructor(_0x2b55b2,_0xac46f8,_0x3b4862){var _0x1bc148=_0x376409;this[_0x1bc148(0x19f)]=_0x2b55b2,this[_0x1bc148(0x3a9)]=_0xac46f8,this[_0x1bc148(0x1ad)]=_0x3b4862,this[_0x1bc148(0x2fd)]();}[_0x376409(0x2fd)](){var _0x4e6a55=_0x376409;this[_0x4e6a55(0x3a9)][_0x4e6a55(0x1da)]({'priority':0x1,'interceptor':(_0xc061a6,_0x5b0073)=>_0x5b0073(_0xc061a6)['pipe'](_0x2c6b2e(async _0x3cb5bb=>{var _0xa25216=_0x4e6a55;const _0x3dd65c=_0x3cb5bb;if(_0x3dd65c['status']===0x191){if(typeof window>'u')throw new Error(_0xa25216(0x22e));if(window[_0xa25216(0x2a0)](this['localeService']['t'](_0xa25216(0x431)))){const _0x367041=window['encodeURIComponent'](window['location'][_0xa25216(0x30e)]);window['location'][_0xa25216(0x30e)]=this[_0xa25216(0x349)]()+_0xa25216(0x197)+_0x367041;}}return _0x3dd65c;}))});}[_0x376409(0x349)](){var _0x46247a=_0x376409,_0x4580c1,_0x411a63;const _0x25a14c=this[_0x46247a(0x19f)]['getConfig'](Fn),_0x2357a8=this[_0x46247a(0x19f)][_0x46247a(0x335)](Y);return(_0x411a63=(_0x4580c1=_0x2357a8==null?void 0x0:_0x2357a8[_0x46247a(0x2df)])!=null?_0x4580c1:_0x25a14c)!=null?_0x411a63:Vn;}};ot=Ms([pt(0x0,_0x574946),pt(0x1,_0x49f53f(_0x4a7d71)),pt(0x2,_0x49f53f(_0x319bff))],ot);var $s=Object[_0x376409(0x367)],Hs=Object[_0x376409(0x2cd)],ks=(_0x3192ef,_0x2689db,_0x45fd27,_0x28de79)=>{var _0x3ffd87=_0x376409;for(var _0x2656c4=_0x28de79>0x1?void 0x0:_0x28de79?Hs(_0x2689db,_0x45fd27):_0x2689db,_0x1f16f1=_0x3192ef[_0x3ffd87(0x2ce)]-0x1,_0x174ae0;_0x1f16f1>=0x0;_0x1f16f1--)(_0x174ae0=_0x3192ef[_0x1f16f1])&&(_0x2656c4=(_0x28de79?_0x174ae0(_0x2689db,_0x45fd27,_0x2656c4):_0x174ae0(_0x2656c4))||_0x2656c4);return _0x28de79&&_0x2656c4&&$s(_0x2689db,_0x45fd27,_0x2656c4),_0x2656c4;},Zt=(_0xb529a0,_0x42154b)=>(_0x3acd46,_0x94f2ef)=>_0x42154b(_0x3acd46,_0x94f2ef,_0xb529a0);const Di='AUTHZ_URL_KEY',js='/universer-api/authz';let yt=class extends _0x5987de{constructor(_0x274a65,_0x51b95f){var _0x2250e7=_0x376409;super(),this[_0x2250e7(0x316)]=_0x274a65,this['_configService']=_0x51b95f,this[_0x2250e7(0x3af)]();}[_0x376409(0x3af)](){var _0x13e17b=_0x376409;const _0x2a7da8=this;this[_0x13e17b(0x20b)](this[_0x13e17b(0x316)][_0x13e17b(0x1da)]({'priority':0x3e7,'interceptor':_0x2d4588({'isMatch'(_0x4d627e){var _0x128d3a=_0x13e17b,_0x1d4583;if(_0x4d627e[_0x128d3a(0x3f6)]==='POST'&&((_0x1d4583=_0x4d627e[_0x128d3a(0x280)])!=null&&_0x1d4583['body'])){const {objectID:_0x4014b9,objectType:_0x3978db}=_0x4d627e[_0x128d3a(0x280)]['body']||{};if(!_0x4014b9||_0x3978db===void 0x0)return!0x1;const _0x7805eb=_0x2a7da8[_0x128d3a(0x1b6)]()+'/'+_0x3978db+'/object/'+_0x4014b9+_0x128d3a(0x3c0);if(_0x4d627e[_0x128d3a(0x3de)]===_0x7805eb)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x1cd911){var _0x4c2fef=_0x13e17b,_0x1238ec;return(_0x1238ec=_0x1cd911[_0x4c2fef(0x280)])==null?void 0x0:_0x1238ec[_0x4c2fef(0x3c1)];},'mergeParamsToRequest'(_0x47a10c,_0x59ebe2){var _0x534db4=_0x13e17b;const _0x25b49d=_0x2a7da8[_0x534db4(0x1b6)]()+_0x534db4(0x1a7),_0x3ff33c=_0x47a10c['reduce']((_0x876733,_0x30d6a7)=>{var _0x2483f3=_0x534db4;const {unitID:_0xa564b6,objectID:_0x1d7ffa,objectType:_0x502fe8,actions:_0x2f8cff}=_0x30d6a7;return _0x876733[_0xa564b6]||(_0x876733[_0xa564b6]={}),_0x876733[_0xa564b6][_0x1d7ffa]||(_0x876733[_0xa564b6][_0x1d7ffa]={'objectID':_0x1d7ffa,'objectType':_0x502fe8,'actions':[]}),_0x876733[_0xa564b6][_0x1d7ffa][_0x2483f3(0x1ea)][_0x2483f3(0x273)](..._0x2f8cff),_0x876733;},{}),_0x31506e=[];for(const _0x561b5e in _0x3ff33c)for(const _0x1b0998 in _0x3ff33c[_0x561b5e]){const {actions:_0x65864b,objectType:_0x5dc960}=_0x3ff33c[_0x561b5e][_0x1b0998],_0x3142ba=[...new Set(_0x65864b)];_0x31506e[_0x534db4(0x273)]({'unitID':_0x561b5e,'objectID':_0x1b0998,'objectType':_0x5dc960,'actions':_0x3142ba});}return new _0x553e53('POST',_0x25b49d,{'headers':_0x59ebe2[_0x534db4(0x1af)],'withCredentials':_0x59ebe2[_0x534db4(0x353)],'responseType':_0x59ebe2[_0x534db4(0x1d5)],'body':{'requests':_0x31506e}});}},{'distributeResult'(_0x11f349,_0x27f3eb){const {objectActions:_0x5d40de}=_0x11f349;return _0x27f3eb['map'](_0x1571de=>{var _0xd02577=_0x1c43;const {unitID:_0x5bfd08,objectID:_0x4dc121,actions:_0x3f51a1}=_0x1571de,_0x5a4d88=_0x5d40de[_0xd02577(0x1f7)](_0x44ac13=>_0x44ac13[_0xd02577(0x1b7)]===_0x5bfd08&&_0x44ac13[_0xd02577(0x37c)]===_0x4dc121),_0x5cc1a2=_0x3f51a1[_0xd02577(0x251)](_0x1a8a45=>_0x5a4d88==null?void 0x0:_0x5a4d88[_0xd02577(0x1ea)]['find'](_0x29aeab=>_0x29aeab[_0xd02577(0x464)]===_0x1a8a45))[_0xd02577(0x3bf)](_0x569093=>!!_0x569093);return{'config':_0x1571de,'result':{'actions':_0x5cc1a2,'error':_0x11f349['error']}};});}})}));}['_getAPIPrefixPath'](){var _0x45482e=_0x376409,_0x3fddb8,_0x121878;const _0x6ded56=this[_0x45482e(0x19f)][_0x45482e(0x335)](Di),_0x12480c=this[_0x45482e(0x19f)]['getConfig'](Y);return(_0x121878=(_0x3fddb8=_0x12480c==null?void 0x0:_0x12480c[_0x45482e(0x257)])!=null?_0x3fddb8:_0x6ded56)!=null?_0x121878:js;}async[_0x376409(0x1fa)](_0xe2f8b5){var _0x6a5521=_0x376409;const _0xa0cd4e=this['_getAPIPrefixPath']()+'/'+_0xe2f8b5[_0x6a5521(0x462)]+_0x6a5521(0x426);return(await this[_0x6a5521(0x316)][_0x6a5521(0x3ad)](_0xa0cd4e,{'body':_0xe2f8b5}))['body'][_0x6a5521(0x37c)]||'';}async[_0x376409(0x18e)](_0x5f5898){var _0x24ba34=_0x376409;const _0x526f38=this[_0x24ba34(0x1b6)]()+_0x24ba34(0x47d);return(await this[_0x24ba34(0x316)][_0x24ba34(0x3ad)](_0x526f38,{'body':_0x5f5898}))['body'][_0x24ba34(0x1ec)];}async[_0x376409(0x1ce)](_0x253ddb){var _0x48e04e=_0x376409;const _0xc3562c=this[_0x48e04e(0x1b6)]()+'/'+_0x253ddb['objectType']+_0x48e04e(0x455)+_0x253ddb['objectID'];await this[_0x48e04e(0x316)][_0x48e04e(0x402)](_0xc3562c,{'body':_0x253ddb});}async[_0x376409(0x255)](_0x417782){var _0xe7f994=_0x376409;const _0x10f14e=this[_0xe7f994(0x1b6)]()+'/'+_0x417782[_0xe7f994(0x462)]+_0xe7f994(0x455)+_0x417782[_0xe7f994(0x37c)]+_0xe7f994(0x3c0);return(await this[_0xe7f994(0x316)]['post'](_0x10f14e,{'body':_0x417782}))[_0xe7f994(0x3c1)][_0xe7f994(0x1ea)];}async['batchAllowed'](_0xd509f3){var _0x1f9248=_0x376409;const _0xf5e8e7=this[_0x1f9248(0x1b6)]()+_0x1f9248(0x1a7);return(await this[_0x1f9248(0x316)][_0x1f9248(0x3ad)](_0xf5e8e7,{'body':{'requests':_0xd509f3}}))[_0x1f9248(0x3c1)][_0x1f9248(0x440)];}async['listRoles'](_0x1ca0b4){var _0x82b394=_0x376409;const _0x532b28=this[_0x82b394(0x1b6)]()+'/'+_0x1ca0b4['objectType']+_0x82b394(0x3ce),_0xd382b0=await this[_0x82b394(0x316)][_0x82b394(0x3ad)](_0x532b28,{'body':_0x1ca0b4});return{'roles':_0xd382b0[_0x82b394(0x3c1)][_0x82b394(0x198)],'actions':_0xd382b0[_0x82b394(0x3c1)]['actions']};}async[_0x376409(0x36a)](_0x3694d7){var _0x578214=_0x376409;const _0x5e57b8=this[_0x578214(0x1b6)]()+_0x578214(0x3b1);await this['_HTTPService'][_0x578214(0x2a2)](_0x5e57b8,{'params':{'collaboratorID':_0x3694d7['collaboratorID'],'objectID':_0x3694d7['objectID'],'unitID':_0x3694d7[_0x578214(0x1b7)]}});}async[_0x376409(0x397)](_0x4b6936){var _0x505990=_0x376409;const _0x121fc9=this[_0x505990(0x1b6)]()+_0x505990(0x3b1);await this[_0x505990(0x316)]['patch'](_0x121fc9,{'body':_0x4b6936});}async[_0x376409(0x1a3)](_0x396d43){var _0x2baba6=_0x376409;const _0x3131d2=this[_0x2baba6(0x1b6)]()+_0x2baba6(0x3b1);await this[_0x2baba6(0x316)][_0x2baba6(0x3ad)](_0x3131d2,{'body':_0x396d43});}async[_0x376409(0x1b1)](_0x29670d){var _0x552bdd=_0x376409;const _0x10e3ef=this['_getAPIPrefixPath']()+_0x552bdd(0x3b1);return(await this[_0x552bdd(0x316)][_0x552bdd(0x358)](_0x10e3ef,{'params':{'objectID':_0x29670d[_0x552bdd(0x37c)],'unitID':_0x29670d[_0x552bdd(0x1b7)]}}))[_0x552bdd(0x3c1)][_0x552bdd(0x430)];}async['putCollaborators'](_0x29d0eb){var _0x3247ae=_0x376409;const _0x567a8c=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x3247ae(0x316)][_0x3247ae(0x402)](_0x567a8c,{'body':_0x29d0eb});}};yt=ks([Zt(0x0,_0x49f53f(_0x4a7d71)),Zt(0x1,_0x49f53f(_0x574946))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0xb96e75){var _0x39a901=_0x376409;return _0xb96e75&&_0xb96e75['__esModule']&&Object['prototype'][_0x39a901(0x24e)][_0x39a901(0x380)](_0xb96e75,_0x39a901(0x212))?_0xb96e75[_0x39a901(0x212)]:_0xb96e75;}var We={'exports':{}};function Bs(_0x2d2232){var _0x4fb315=_0x376409;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2d2232+_0x4fb315(0x2eb));}var Ge={'exports':{}},Fs=Ge[_0x376409(0x2f5)],Qt;function ne(){var _0x5d9e34=_0x376409;return Qt||(Qt=0x1,function(_0x1e380c,_0x2cd46a){(function(_0xd4ca1f,_0x113e6c){var _0x44f702=_0x1c43;_0x1e380c[_0x44f702(0x2f5)]=_0x113e6c();}(Fs,function(){var _0x3bdf04=_0x3bdf04||function(_0x5c0b6b,_0x2debcd){var _0x4c880e=_0x1c43,_0x3c0169;if(typeof window<'u'&&window['crypto']&&(_0x3c0169=window[_0x4c880e(0x404)]),typeof self<'u'&&self['crypto']&&(_0x3c0169=self[_0x4c880e(0x404)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3c0169=globalThis['crypto']),!_0x3c0169&&typeof window<'u'&&window[_0x4c880e(0x406)]&&(_0x3c0169=window[_0x4c880e(0x406)]),!_0x3c0169&&typeof gt<'u'&&gt['crypto']&&(_0x3c0169=gt[_0x4c880e(0x404)]),!_0x3c0169&&typeof Bs=='function')try{_0x3c0169=require('crypto');}catch{}var _0x2d51a4=function(){var _0x14b31a=_0x4c880e;if(_0x3c0169){if(typeof _0x3c0169['getRandomValues']=='function')try{return _0x3c0169['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3c0169[_0x14b31a(0x3dd)]==_0x14b31a(0x269))try{return _0x3c0169['randomBytes'](0x4)[_0x14b31a(0x22f)]();}catch{}}throw new Error(_0x14b31a(0x2bd));},_0x5f21fa=Object[_0x4c880e(0x1fa)]||(function(){function _0x189676(){}return function(_0x583d98){var _0x11a65b=_0x1c43,_0x4fbbc1;return _0x189676[_0x11a65b(0x223)]=_0x583d98,_0x4fbbc1=new _0x189676(),_0x189676[_0x11a65b(0x223)]=null,_0x4fbbc1;};}()),_0x4b670a={},_0x58e8ad=_0x4b670a[_0x4c880e(0x40d)]={},_0x4db29c=_0x58e8ad[_0x4c880e(0x1c8)]=(function(){return{'extend':function(_0x5b9fc4){var _0x826539=_0x1c43,_0x17e9db=_0x5f21fa(this);return _0x5b9fc4&&_0x17e9db[_0x826539(0x29d)](_0x5b9fc4),(!_0x17e9db['hasOwnProperty']('init')||this[_0x826539(0x2fd)]===_0x17e9db[_0x826539(0x2fd)])&&(_0x17e9db[_0x826539(0x2fd)]=function(){var _0x59c79e=_0x826539;_0x17e9db[_0x59c79e(0x35b)][_0x59c79e(0x2fd)][_0x59c79e(0x1b9)](this,arguments);}),_0x17e9db['init'][_0x826539(0x223)]=_0x17e9db,_0x17e9db[_0x826539(0x35b)]=this,_0x17e9db;},'create':function(){var _0x2fb56c=_0x1c43,_0x440fab=this[_0x2fb56c(0x2c6)]();return _0x440fab[_0x2fb56c(0x2fd)][_0x2fb56c(0x1b9)](_0x440fab,arguments),_0x440fab;},'init':function(){},'mixIn':function(_0x10cef7){var _0x3b1591=_0x1c43;for(var _0x5209b0 in _0x10cef7)_0x10cef7[_0x3b1591(0x24e)](_0x5209b0)&&(this[_0x5209b0]=_0x10cef7[_0x5209b0]);_0x10cef7[_0x3b1591(0x24e)]('toString')&&(this[_0x3b1591(0x3f1)]=_0x10cef7[_0x3b1591(0x3f1)]);},'clone':function(){var _0x1f445c=_0x1c43;return this[_0x1f445c(0x2fd)][_0x1f445c(0x223)][_0x1f445c(0x2c6)](this);}};}()),_0x2662ac=_0x58e8ad[_0x4c880e(0x1c6)]=_0x4db29c[_0x4c880e(0x2c6)]({'init':function(_0x14d179,_0x3b8134){var _0x244ef9=_0x4c880e;_0x14d179=this[_0x244ef9(0x475)]=_0x14d179||[],_0x3b8134!=_0x2debcd?this['sigBytes']=_0x3b8134:this[_0x244ef9(0x1dd)]=_0x14d179[_0x244ef9(0x2ce)]*0x4;},'toString':function(_0x596bc4){var _0x257a13=_0x4c880e;return(_0x596bc4||_0x3f3a32)[_0x257a13(0x2c4)](this);},'concat':function(_0x28745b){var _0x279075=_0x4c880e,_0x6f6ef9=this[_0x279075(0x475)],_0x8e9c10=_0x28745b['words'],_0x4cb395=this[_0x279075(0x1dd)],_0x1bd5cc=_0x28745b[_0x279075(0x1dd)];if(this[_0x279075(0x410)](),_0x4cb395%0x4)for(var _0x15b20a=0x0;_0x15b20a<_0x1bd5cc;_0x15b20a++){var _0xc1153a=_0x8e9c10[_0x15b20a>>>0x2]>>>0x18-_0x15b20a%0x4*0x8&0xff;_0x6f6ef9[_0x4cb395+_0x15b20a>>>0x2]|=_0xc1153a<<0x18-(_0x4cb395+_0x15b20a)%0x4*0x8;}else{for(var _0x26a24e=0x0;_0x26a24e<_0x1bd5cc;_0x26a24e+=0x4)_0x6f6ef9[_0x4cb395+_0x26a24e>>>0x2]=_0x8e9c10[_0x26a24e>>>0x2];}return this[_0x279075(0x1dd)]+=_0x1bd5cc,this;},'clamp':function(){var _0x37f0a8=_0x4c880e,_0x3be298=this[_0x37f0a8(0x475)],_0x23cd7d=this[_0x37f0a8(0x1dd)];_0x3be298[_0x23cd7d>>>0x2]&=0xffffffff<<0x20-_0x23cd7d%0x4*0x8,_0x3be298[_0x37f0a8(0x2ce)]=_0x5c0b6b[_0x37f0a8(0x2bb)](_0x23cd7d/0x4);},'clone':function(){var _0x69973f=_0x4c880e,_0x3ed338=_0x4db29c[_0x69973f(0x2b6)][_0x69973f(0x380)](this);return _0x3ed338[_0x69973f(0x475)]=this[_0x69973f(0x475)][_0x69973f(0x307)](0x0),_0x3ed338;},'random':function(_0x2c821b){var _0x596bad=_0x4c880e;for(var _0x3a2ab5=[],_0x2a453f=0x0;_0x2a453f<_0x2c821b;_0x2a453f+=0x4)_0x3a2ab5[_0x596bad(0x273)](_0x2d51a4());return new _0x2662ac[(_0x596bad(0x2fd))](_0x3a2ab5,_0x2c821b);}}),_0x2dc1f8=_0x4b670a[_0x4c880e(0x2f7)]={},_0x3f3a32=_0x2dc1f8[_0x4c880e(0x438)]={'stringify':function(_0x1e7a40){var _0x465e59=_0x4c880e;for(var _0xbf4c74=_0x1e7a40['words'],_0x30983a=_0x1e7a40[_0x465e59(0x1dd)],_0x138a3b=[],_0x2ad2f4=0x0;_0x2ad2f4<_0x30983a;_0x2ad2f4++){var _0x5547da=_0xbf4c74[_0x2ad2f4>>>0x2]>>>0x18-_0x2ad2f4%0x4*0x8&0xff;_0x138a3b[_0x465e59(0x273)]((_0x5547da>>>0x4)[_0x465e59(0x3f1)](0x10)),_0x138a3b[_0x465e59(0x273)]((_0x5547da&0xf)['toString'](0x10));}return _0x138a3b[_0x465e59(0x33c)]('');},'parse':function(_0x4ea201){var _0x45772d=_0x4c880e;for(var _0x10bc09=_0x4ea201['length'],_0x586f9f=[],_0x4e6055=0x0;_0x4e6055<_0x10bc09;_0x4e6055+=0x2)_0x586f9f[_0x4e6055>>>0x3]|=parseInt(_0x4ea201['substr'](_0x4e6055,0x2),0x10)<<0x18-_0x4e6055%0x8*0x4;return new _0x2662ac[(_0x45772d(0x2fd))](_0x586f9f,_0x10bc09/0x2);}},_0x5c9f3e=_0x2dc1f8[_0x4c880e(0x237)]={'stringify':function(_0x4d2e9a){var _0x49852a=_0x4c880e;for(var _0x45aa0d=_0x4d2e9a[_0x49852a(0x475)],_0xfb6ce5=_0x4d2e9a[_0x49852a(0x1dd)],_0x3d60a3=[],_0x5c8a39=0x0;_0x5c8a39<_0xfb6ce5;_0x5c8a39++){var _0x27376f=_0x45aa0d[_0x5c8a39>>>0x2]>>>0x18-_0x5c8a39%0x4*0x8&0xff;_0x3d60a3[_0x49852a(0x273)](String[_0x49852a(0x419)](_0x27376f));}return _0x3d60a3['join']('');},'parse':function(_0x3cac9a){var _0x2f886e=_0x4c880e;for(var _0x3c61e3=_0x3cac9a[_0x2f886e(0x2ce)],_0x1ea025=[],_0x21370f=0x0;_0x21370f<_0x3c61e3;_0x21370f++)_0x1ea025[_0x21370f>>>0x2]|=(_0x3cac9a[_0x2f886e(0x3e0)](_0x21370f)&0xff)<<0x18-_0x21370f%0x4*0x8;return new _0x2662ac[(_0x2f886e(0x2fd))](_0x1ea025,_0x3c61e3);}},_0x164378=_0x2dc1f8[_0x4c880e(0x382)]={'stringify':function(_0x246703){var _0x37498d=_0x4c880e;try{return decodeURIComponent(escape(_0x5c9f3e[_0x37498d(0x2c4)](_0x246703)));}catch{throw new Error(_0x37498d(0x184));}},'parse':function(_0x3d45d1){return _0x5c9f3e['parse'](unescape(encodeURIComponent(_0x3d45d1)));}},_0x5569b4=_0x58e8ad[_0x4c880e(0x368)]=_0x4db29c[_0x4c880e(0x2c6)]({'reset':function(){var _0x48a139=_0x4c880e;this[_0x48a139(0x27e)]=new _0x2662ac[(_0x48a139(0x2fd))](),this[_0x48a139(0x38a)]=0x0;},'_append':function(_0x4bde90){var _0x441580=_0x4c880e;typeof _0x4bde90==_0x441580(0x444)&&(_0x4bde90=_0x164378['parse'](_0x4bde90)),this[_0x441580(0x27e)][_0x441580(0x433)](_0x4bde90),this['_nDataBytes']+=_0x4bde90['sigBytes'];},'_process':function(_0x22264b){var _0x4b404c=_0x4c880e,_0x59c0c6,_0x3b3240=this['_data'],_0x122e64=_0x3b3240[_0x4b404c(0x475)],_0x1d2fbe=_0x3b3240['sigBytes'],_0x53e037=this['blockSize'],_0x11ac76=_0x53e037*0x4,_0x95acf3=_0x1d2fbe/_0x11ac76;_0x22264b?_0x95acf3=_0x5c0b6b['ceil'](_0x95acf3):_0x95acf3=_0x5c0b6b[_0x4b404c(0x3c3)]((_0x95acf3|0x0)-this[_0x4b404c(0x339)],0x0);var _0x445b96=_0x95acf3*_0x53e037,_0x59b17d=_0x5c0b6b[_0x4b404c(0x295)](_0x445b96*0x4,_0x1d2fbe);if(_0x445b96){for(var _0x41be7b=0x0;_0x41be7b<_0x445b96;_0x41be7b+=_0x53e037)this['_doProcessBlock'](_0x122e64,_0x41be7b);_0x59c0c6=_0x122e64[_0x4b404c(0x2c7)](0x0,_0x445b96),_0x3b3240[_0x4b404c(0x1dd)]-=_0x59b17d;}return new _0x2662ac[(_0x4b404c(0x2fd))](_0x59c0c6,_0x59b17d);},'clone':function(){var _0x4a2ed5=_0x4c880e,_0x45de66=_0x4db29c[_0x4a2ed5(0x2b6)]['call'](this);return _0x45de66[_0x4a2ed5(0x27e)]=this[_0x4a2ed5(0x27e)][_0x4a2ed5(0x2b6)](),_0x45de66;},'_minBufferSize':0x0});_0x58e8ad['Hasher']=_0x5569b4['extend']({'cfg':_0x4db29c[_0x4c880e(0x2c6)](),'init':function(_0x1e0f9c){var _0x53bb9b=_0x4c880e;this[_0x53bb9b(0x40b)]=this['cfg']['extend'](_0x1e0f9c),this['reset']();},'reset':function(){var _0x332778=_0x4c880e;_0x5569b4['reset'][_0x332778(0x380)](this),this[_0x332778(0x1bf)]();},'update':function(_0x3350f4){var _0x10a99d=_0x4c880e;return this['_append'](_0x3350f4),this[_0x10a99d(0x1b8)](),this;},'finalize':function(_0x4bb994){var _0x36ce59=_0x4c880e;_0x4bb994&&this['_append'](_0x4bb994);var _0x1382ba=this[_0x36ce59(0x2a7)]();return _0x1382ba;},'blockSize':0x10,'_createHelper':function(_0x43b397){return function(_0x1452c6,_0x48b2e1){return new _0x43b397['init'](_0x48b2e1)['finalize'](_0x1452c6);};},'_createHmacHelper':function(_0x32edf3){return function(_0x21a1f4,_0x181870){var _0x9e8216=_0x1c43;return new _0x567c89[(_0x9e8216(0x306))][(_0x9e8216(0x2fd))](_0x32edf3,_0x181870)[_0x9e8216(0x450)](_0x21a1f4);};}});var _0x567c89=_0x4b670a[_0x4c880e(0x38f)]={};return _0x4b670a;}(Math);return _0x3bdf04;}));}(Ge)),Ge[_0x5d9e34(0x2f5)];}var Ke={'exports':{}},Vs=Ke[_0x376409(0x2f5)],ei;function wi(){return ei||(ei=0x1,function(_0x1dcbc1,_0x52f7c0){(function(_0x170c2d,_0x1076bb){var _0x5e7bd5=_0x1c43;_0x1dcbc1[_0x5e7bd5(0x2f5)]=_0x1076bb(ne());}(Vs,function(_0x39e047){var _0x2c98ea=_0x1c43;return(function(){var _0x18d2cc=_0x1c43,_0x3305f4=_0x39e047,_0x11750e=_0x3305f4['lib'],_0x5e8fe7=_0x11750e[_0x18d2cc(0x1c6)],_0x6354dd=_0x3305f4[_0x18d2cc(0x2f7)];_0x6354dd[_0x18d2cc(0x393)]={'stringify':function(_0x40b186){var _0x53046e=_0x18d2cc,_0x2b6b66=_0x40b186['words'],_0x54f52e=_0x40b186['sigBytes'],_0x423976=this[_0x53046e(0x42c)];_0x40b186['clamp']();for(var _0x698346=[],_0x5080e0=0x0;_0x5080e0<_0x54f52e;_0x5080e0+=0x3)for(var _0x50649b=_0x2b6b66[_0x5080e0>>>0x2]>>>0x18-_0x5080e0%0x4*0x8&0xff,_0x53a9b4=_0x2b6b66[_0x5080e0+0x1>>>0x2]>>>0x18-(_0x5080e0+0x1)%0x4*0x8&0xff,_0x1fd7d5=_0x2b6b66[_0x5080e0+0x2>>>0x2]>>>0x18-(_0x5080e0+0x2)%0x4*0x8&0xff,_0x12dfcd=_0x50649b<<0x10|_0x53a9b4<<0x8|_0x1fd7d5,_0x52537c=0x0;_0x52537c<0x4&&_0x5080e0+_0x52537c*0.75<_0x54f52e;_0x52537c++)_0x698346[_0x53046e(0x273)](_0x423976[_0x53046e(0x1a2)](_0x12dfcd>>>0x6*(0x3-_0x52537c)&0x3f));var _0x48f6a8=_0x423976['charAt'](0x40);if(_0x48f6a8){for(;_0x698346[_0x53046e(0x2ce)]%0x4;)_0x698346[_0x53046e(0x273)](_0x48f6a8);}return _0x698346['join']('');},'parse':function(_0x314b5f){var _0x5013c1=_0x18d2cc,_0x2d9612=_0x314b5f['length'],_0x173f16=this[_0x5013c1(0x42c)],_0x9e7734=this[_0x5013c1(0x1b2)];if(!_0x9e7734){_0x9e7734=this[_0x5013c1(0x1b2)]=[];for(var _0x503210=0x0;_0x503210<_0x173f16[_0x5013c1(0x2ce)];_0x503210++)_0x9e7734[_0x173f16[_0x5013c1(0x3e0)](_0x503210)]=_0x503210;}var _0x3ebe08=_0x173f16[_0x5013c1(0x1a2)](0x40);if(_0x3ebe08){var _0x2a8b6d=_0x314b5f[_0x5013c1(0x2ef)](_0x3ebe08);_0x2a8b6d!==-0x1&&(_0x2d9612=_0x2a8b6d);}return _0x5740ba(_0x314b5f,_0x2d9612,_0x9e7734);},'_map':_0x18d2cc(0x350)};function _0x5740ba(_0x4db4e6,_0x43512b,_0x5e6242){var _0x1e7311=_0x18d2cc;for(var _0x1b327a=[],_0x32deca=0x0,_0x25d930=0x0;_0x25d930<_0x43512b;_0x25d930++)if(_0x25d930%0x4){var _0x4bb06b=_0x5e6242[_0x4db4e6[_0x1e7311(0x3e0)](_0x25d930-0x1)]<<_0x25d930%0x4*0x2,_0x35e23d=_0x5e6242[_0x4db4e6[_0x1e7311(0x3e0)](_0x25d930)]>>>0x6-_0x25d930%0x4*0x2,_0x33060a=_0x4bb06b|_0x35e23d;_0x1b327a[_0x32deca>>>0x2]|=_0x33060a<<0x18-_0x32deca%0x4*0x8,_0x32deca++;}return _0x5e8fe7[_0x1e7311(0x1fa)](_0x1b327a,_0x32deca);}}()),_0x39e047[_0x2c98ea(0x2f7)]['Base64'];}));}(Ke)),Ke['exports'];}var ze={'exports':{}},Ws=ze[_0x376409(0x2f5)],ti;function Gs(){var _0xe88f54=_0x376409;return ti||(ti=0x1,function(_0x25b051,_0x277e1a){(function(_0x3628be,_0x56a961){var _0x5e60f3=_0x1c43;_0x25b051[_0x5e60f3(0x2f5)]=_0x56a961(ne());}(Ws,function(_0x7f4a23){return function(_0xfdf213){var _0x259bf0=_0x1c43,_0x3eca34=_0x7f4a23,_0x503271=_0x3eca34[_0x259bf0(0x40d)],_0xdd5861=_0x503271[_0x259bf0(0x1c6)],_0x3f5ad6=_0x503271[_0x259bf0(0x3c8)],_0x36797a=_0x3eca34[_0x259bf0(0x38f)],_0x3264b9=[];(function(){var _0x129656=_0x259bf0;for(var _0x5c45ff=0x0;_0x5c45ff<0x40;_0x5c45ff++)_0x3264b9[_0x5c45ff]=_0xfdf213[_0x129656(0x3ae)](_0xfdf213[_0x129656(0x221)](_0x5c45ff+0x1))*0x100000000|0x0;}());var _0x19923f=_0x36797a[_0x259bf0(0x3ba)]=_0x3f5ad6[_0x259bf0(0x2c6)]({'_doReset':function(){var _0x48bbc0=_0x259bf0;this[_0x48bbc0(0x485)]=new _0xdd5861[(_0x48bbc0(0x2fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2db574,_0x8b25be){for(var _0x51c224=0x0;_0x51c224<0x10;_0x51c224++){var _0x4df226=_0x8b25be+_0x51c224,_0x206bb7=_0x2db574[_0x4df226];_0x2db574[_0x4df226]=(_0x206bb7<<0x8|_0x206bb7>>>0x18)&0xff00ff|(_0x206bb7<<0x18|_0x206bb7>>>0x8)&0xff00ff00;}var _0x2d0cfe=this['_hash']['words'],_0x28fd4c=_0x2db574[_0x8b25be+0x0],_0xe8530e=_0x2db574[_0x8b25be+0x1],_0x56e066=_0x2db574[_0x8b25be+0x2],_0x44fd9=_0x2db574[_0x8b25be+0x3],_0xc34bac=_0x2db574[_0x8b25be+0x4],_0x51ee68=_0x2db574[_0x8b25be+0x5],_0x34a6b3=_0x2db574[_0x8b25be+0x6],_0x45326=_0x2db574[_0x8b25be+0x7],_0x2a9639=_0x2db574[_0x8b25be+0x8],_0xc36dac=_0x2db574[_0x8b25be+0x9],_0x19e47c=_0x2db574[_0x8b25be+0xa],_0x5bbfb4=_0x2db574[_0x8b25be+0xb],_0xe8bc7d=_0x2db574[_0x8b25be+0xc],_0x29533e=_0x2db574[_0x8b25be+0xd],_0xa9f9fd=_0x2db574[_0x8b25be+0xe],_0x427829=_0x2db574[_0x8b25be+0xf],_0x44969e=_0x2d0cfe[0x0],_0x3c9f92=_0x2d0cfe[0x1],_0x558194=_0x2d0cfe[0x2],_0xa1f23a=_0x2d0cfe[0x3];_0x44969e=_0x5c2bb2(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x28fd4c,0x7,_0x3264b9[0x0]),_0xa1f23a=_0x5c2bb2(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0xe8530e,0xc,_0x3264b9[0x1]),_0x558194=_0x5c2bb2(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x56e066,0x11,_0x3264b9[0x2]),_0x3c9f92=_0x5c2bb2(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x44fd9,0x16,_0x3264b9[0x3]),_0x44969e=_0x5c2bb2(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xc34bac,0x7,_0x3264b9[0x4]),_0xa1f23a=_0x5c2bb2(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x51ee68,0xc,_0x3264b9[0x5]),_0x558194=_0x5c2bb2(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x34a6b3,0x11,_0x3264b9[0x6]),_0x3c9f92=_0x5c2bb2(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x45326,0x16,_0x3264b9[0x7]),_0x44969e=_0x5c2bb2(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x2a9639,0x7,_0x3264b9[0x8]),_0xa1f23a=_0x5c2bb2(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0xc36dac,0xc,_0x3264b9[0x9]),_0x558194=_0x5c2bb2(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x19e47c,0x11,_0x3264b9[0xa]),_0x3c9f92=_0x5c2bb2(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x5bbfb4,0x16,_0x3264b9[0xb]),_0x44969e=_0x5c2bb2(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xe8bc7d,0x7,_0x3264b9[0xc]),_0xa1f23a=_0x5c2bb2(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x29533e,0xc,_0x3264b9[0xd]),_0x558194=_0x5c2bb2(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0xa9f9fd,0x11,_0x3264b9[0xe]),_0x3c9f92=_0x5c2bb2(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x427829,0x16,_0x3264b9[0xf]),_0x44969e=_0x77622f(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xe8530e,0x5,_0x3264b9[0x10]),_0xa1f23a=_0x77622f(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x34a6b3,0x9,_0x3264b9[0x11]),_0x558194=_0x77622f(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x5bbfb4,0xe,_0x3264b9[0x12]),_0x3c9f92=_0x77622f(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x28fd4c,0x14,_0x3264b9[0x13]),_0x44969e=_0x77622f(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x51ee68,0x5,_0x3264b9[0x14]),_0xa1f23a=_0x77622f(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x19e47c,0x9,_0x3264b9[0x15]),_0x558194=_0x77622f(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x427829,0xe,_0x3264b9[0x16]),_0x3c9f92=_0x77622f(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0xc34bac,0x14,_0x3264b9[0x17]),_0x44969e=_0x77622f(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xc36dac,0x5,_0x3264b9[0x18]),_0xa1f23a=_0x77622f(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0xa9f9fd,0x9,_0x3264b9[0x19]),_0x558194=_0x77622f(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x44fd9,0xe,_0x3264b9[0x1a]),_0x3c9f92=_0x77622f(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x2a9639,0x14,_0x3264b9[0x1b]),_0x44969e=_0x77622f(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x29533e,0x5,_0x3264b9[0x1c]),_0xa1f23a=_0x77622f(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x56e066,0x9,_0x3264b9[0x1d]),_0x558194=_0x77622f(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x45326,0xe,_0x3264b9[0x1e]),_0x3c9f92=_0x77622f(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0xe8bc7d,0x14,_0x3264b9[0x1f]),_0x44969e=_0x5c1d38(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x51ee68,0x4,_0x3264b9[0x20]),_0xa1f23a=_0x5c1d38(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x2a9639,0xb,_0x3264b9[0x21]),_0x558194=_0x5c1d38(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x5bbfb4,0x10,_0x3264b9[0x22]),_0x3c9f92=_0x5c1d38(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0xa9f9fd,0x17,_0x3264b9[0x23]),_0x44969e=_0x5c1d38(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xe8530e,0x4,_0x3264b9[0x24]),_0xa1f23a=_0x5c1d38(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0xc34bac,0xb,_0x3264b9[0x25]),_0x558194=_0x5c1d38(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x45326,0x10,_0x3264b9[0x26]),_0x3c9f92=_0x5c1d38(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x19e47c,0x17,_0x3264b9[0x27]),_0x44969e=_0x5c1d38(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x29533e,0x4,_0x3264b9[0x28]),_0xa1f23a=_0x5c1d38(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x28fd4c,0xb,_0x3264b9[0x29]),_0x558194=_0x5c1d38(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x44fd9,0x10,_0x3264b9[0x2a]),_0x3c9f92=_0x5c1d38(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x34a6b3,0x17,_0x3264b9[0x2b]),_0x44969e=_0x5c1d38(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xc36dac,0x4,_0x3264b9[0x2c]),_0xa1f23a=_0x5c1d38(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0xe8bc7d,0xb,_0x3264b9[0x2d]),_0x558194=_0x5c1d38(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x427829,0x10,_0x3264b9[0x2e]),_0x3c9f92=_0x5c1d38(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x56e066,0x17,_0x3264b9[0x2f]),_0x44969e=_0x3900be(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x28fd4c,0x6,_0x3264b9[0x30]),_0xa1f23a=_0x3900be(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x45326,0xa,_0x3264b9[0x31]),_0x558194=_0x3900be(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0xa9f9fd,0xf,_0x3264b9[0x32]),_0x3c9f92=_0x3900be(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x51ee68,0x15,_0x3264b9[0x33]),_0x44969e=_0x3900be(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xe8bc7d,0x6,_0x3264b9[0x34]),_0xa1f23a=_0x3900be(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x44fd9,0xa,_0x3264b9[0x35]),_0x558194=_0x3900be(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x19e47c,0xf,_0x3264b9[0x36]),_0x3c9f92=_0x3900be(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0xe8530e,0x15,_0x3264b9[0x37]),_0x44969e=_0x3900be(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0x2a9639,0x6,_0x3264b9[0x38]),_0xa1f23a=_0x3900be(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x427829,0xa,_0x3264b9[0x39]),_0x558194=_0x3900be(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x34a6b3,0xf,_0x3264b9[0x3a]),_0x3c9f92=_0x3900be(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0x29533e,0x15,_0x3264b9[0x3b]),_0x44969e=_0x3900be(_0x44969e,_0x3c9f92,_0x558194,_0xa1f23a,_0xc34bac,0x6,_0x3264b9[0x3c]),_0xa1f23a=_0x3900be(_0xa1f23a,_0x44969e,_0x3c9f92,_0x558194,_0x5bbfb4,0xa,_0x3264b9[0x3d]),_0x558194=_0x3900be(_0x558194,_0xa1f23a,_0x44969e,_0x3c9f92,_0x56e066,0xf,_0x3264b9[0x3e]),_0x3c9f92=_0x3900be(_0x3c9f92,_0x558194,_0xa1f23a,_0x44969e,_0xc36dac,0x15,_0x3264b9[0x3f]),_0x2d0cfe[0x0]=_0x2d0cfe[0x0]+_0x44969e|0x0,_0x2d0cfe[0x1]=_0x2d0cfe[0x1]+_0x3c9f92|0x0,_0x2d0cfe[0x2]=_0x2d0cfe[0x2]+_0x558194|0x0,_0x2d0cfe[0x3]=_0x2d0cfe[0x3]+_0xa1f23a|0x0;},'_doFinalize':function(){var _0x47fe86=_0x259bf0,_0x49f475=this[_0x47fe86(0x27e)],_0x4af4e9=_0x49f475[_0x47fe86(0x475)],_0x5574b5=this[_0x47fe86(0x38a)]*0x8,_0x4de150=_0x49f475[_0x47fe86(0x1dd)]*0x8;_0x4af4e9[_0x4de150>>>0x5]|=0x80<<0x18-_0x4de150%0x20;var _0x43fc5b=_0xfdf213[_0x47fe86(0x261)](_0x5574b5/0x100000000),_0x2027b6=_0x5574b5;_0x4af4e9[(_0x4de150+0x40>>>0x9<<0x4)+0xf]=(_0x43fc5b<<0x8|_0x43fc5b>>>0x18)&0xff00ff|(_0x43fc5b<<0x18|_0x43fc5b>>>0x8)&0xff00ff00,_0x4af4e9[(_0x4de150+0x40>>>0x9<<0x4)+0xe]=(_0x2027b6<<0x8|_0x2027b6>>>0x18)&0xff00ff|(_0x2027b6<<0x18|_0x2027b6>>>0x8)&0xff00ff00,_0x49f475[_0x47fe86(0x1dd)]=(_0x4af4e9[_0x47fe86(0x2ce)]+0x1)*0x4,this[_0x47fe86(0x1b8)]();for(var _0x2f5fd2=this[_0x47fe86(0x485)],_0x48923e=_0x2f5fd2[_0x47fe86(0x475)],_0x10607d=0x0;_0x10607d<0x4;_0x10607d++){var _0x1b162b=_0x48923e[_0x10607d];_0x48923e[_0x10607d]=(_0x1b162b<<0x8|_0x1b162b>>>0x18)&0xff00ff|(_0x1b162b<<0x18|_0x1b162b>>>0x8)&0xff00ff00;}return _0x2f5fd2;},'clone':function(){var _0x5b5d49=_0x259bf0,_0x39733=_0x3f5ad6[_0x5b5d49(0x2b6)][_0x5b5d49(0x380)](this);return _0x39733[_0x5b5d49(0x485)]=this[_0x5b5d49(0x485)]['clone'](),_0x39733;}});function _0x5c2bb2(_0x5ca9ec,_0x2be49f,_0x208211,_0x5c8199,_0x53a94f,_0x12ec7d,_0x583cd3){var _0x585644=_0x5ca9ec+(_0x2be49f&_0x208211|~_0x2be49f&_0x5c8199)+_0x53a94f+_0x583cd3;return(_0x585644<<_0x12ec7d|_0x585644>>>0x20-_0x12ec7d)+_0x2be49f;}function _0x77622f(_0x33101e,_0x10d190,_0xe7998c,_0x2f6dff,_0x4d7f31,_0x16d317,_0x119aa6){var _0x12fd86=_0x33101e+(_0x10d190&_0x2f6dff|_0xe7998c&~_0x2f6dff)+_0x4d7f31+_0x119aa6;return(_0x12fd86<<_0x16d317|_0x12fd86>>>0x20-_0x16d317)+_0x10d190;}function _0x5c1d38(_0x18dfc7,_0xeabff1,_0x54a2ba,_0x5de367,_0x16e01f,_0x67f7d3,_0x12b72e){var _0x4ab672=_0x18dfc7+(_0xeabff1^_0x54a2ba^_0x5de367)+_0x16e01f+_0x12b72e;return(_0x4ab672<<_0x67f7d3|_0x4ab672>>>0x20-_0x67f7d3)+_0xeabff1;}function _0x3900be(_0x371591,_0x291d51,_0x66e352,_0x254dbe,_0xa9589e,_0x3ef5cb,_0x2d8656){var _0x93208d=_0x371591+(_0x66e352^(_0x291d51|~_0x254dbe))+_0xa9589e+_0x2d8656;return(_0x93208d<<_0x3ef5cb|_0x93208d>>>0x20-_0x3ef5cb)+_0x291d51;}_0x3eca34[_0x259bf0(0x3ba)]=_0x3f5ad6[_0x259bf0(0x3e4)](_0x19923f),_0x3eca34[_0x259bf0(0x2ac)]=_0x3f5ad6['_createHmacHelper'](_0x19923f);}(Math),_0x7f4a23['MD5'];}));}(ze)),ze[_0xe88f54(0x2f5)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x376409(0x2f5)],ii;function zs(){var _0x319d9a=_0x376409;return ii||(ii=0x1,function(_0x2aeb8e,_0x24b08c){(function(_0x56b2d1,_0x301b0e){var _0xb0b0ef=_0x1c43;_0x2aeb8e[_0xb0b0ef(0x2f5)]=_0x301b0e(ne());}(Ks,function(_0x2f150c){return(function(){var _0xf9611d=_0x1c43,_0x4d9a32=_0x2f150c,_0x3c3e22=_0x4d9a32[_0xf9611d(0x40d)],_0x1415b6=_0x3c3e22['WordArray'],_0xe685c6=_0x3c3e22[_0xf9611d(0x3c8)],_0x3c7590=_0x4d9a32['algo'],_0x4e9ce1=[],_0xc9d17=_0x3c7590[_0xf9611d(0x33a)]=_0xe685c6['extend']({'_doReset':function(){var _0x499c53=_0xf9611d;this[_0x499c53(0x485)]=new _0x1415b6[(_0x499c53(0x2fd))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x422ba9,_0x500a55){var _0xfabcf6=_0xf9611d;for(var _0x5b59f5=this[_0xfabcf6(0x485)][_0xfabcf6(0x475)],_0x4f7cfc=_0x5b59f5[0x0],_0x2e2d5d=_0x5b59f5[0x1],_0x1119af=_0x5b59f5[0x2],_0x5bde27=_0x5b59f5[0x3],_0x57f820=_0x5b59f5[0x4],_0x3de164=0x0;_0x3de164<0x50;_0x3de164++){if(_0x3de164<0x10)_0x4e9ce1[_0x3de164]=_0x422ba9[_0x500a55+_0x3de164]|0x0;else{var _0x27c6ac=_0x4e9ce1[_0x3de164-0x3]^_0x4e9ce1[_0x3de164-0x8]^_0x4e9ce1[_0x3de164-0xe]^_0x4e9ce1[_0x3de164-0x10];_0x4e9ce1[_0x3de164]=_0x27c6ac<<0x1|_0x27c6ac>>>0x1f;}var _0x3433cf=(_0x4f7cfc<<0x5|_0x4f7cfc>>>0x1b)+_0x57f820+_0x4e9ce1[_0x3de164];_0x3de164<0x14?_0x3433cf+=(_0x2e2d5d&_0x1119af|~_0x2e2d5d&_0x5bde27)+0x5a827999:_0x3de164<0x28?_0x3433cf+=(_0x2e2d5d^_0x1119af^_0x5bde27)+0x6ed9eba1:_0x3de164<0x3c?_0x3433cf+=(_0x2e2d5d&_0x1119af|_0x2e2d5d&_0x5bde27|_0x1119af&_0x5bde27)-0x70e44324:_0x3433cf+=(_0x2e2d5d^_0x1119af^_0x5bde27)-0x359d3e2a,_0x57f820=_0x5bde27,_0x5bde27=_0x1119af,_0x1119af=_0x2e2d5d<<0x1e|_0x2e2d5d>>>0x2,_0x2e2d5d=_0x4f7cfc,_0x4f7cfc=_0x3433cf;}_0x5b59f5[0x0]=_0x5b59f5[0x0]+_0x4f7cfc|0x0,_0x5b59f5[0x1]=_0x5b59f5[0x1]+_0x2e2d5d|0x0,_0x5b59f5[0x2]=_0x5b59f5[0x2]+_0x1119af|0x0,_0x5b59f5[0x3]=_0x5b59f5[0x3]+_0x5bde27|0x0,_0x5b59f5[0x4]=_0x5b59f5[0x4]+_0x57f820|0x0;},'_doFinalize':function(){var _0x19b858=_0xf9611d,_0x2016d0=this[_0x19b858(0x27e)],_0x3987d3=_0x2016d0[_0x19b858(0x475)],_0x253feb=this[_0x19b858(0x38a)]*0x8,_0x4c7479=_0x2016d0[_0x19b858(0x1dd)]*0x8;return _0x3987d3[_0x4c7479>>>0x5]|=0x80<<0x18-_0x4c7479%0x20,_0x3987d3[(_0x4c7479+0x40>>>0x9<<0x4)+0xe]=Math[_0x19b858(0x261)](_0x253feb/0x100000000),_0x3987d3[(_0x4c7479+0x40>>>0x9<<0x4)+0xf]=_0x253feb,_0x2016d0[_0x19b858(0x1dd)]=_0x3987d3[_0x19b858(0x2ce)]*0x4,this[_0x19b858(0x1b8)](),this[_0x19b858(0x485)];},'clone':function(){var _0xb6acaf=_0xf9611d,_0x3b2b89=_0xe685c6[_0xb6acaf(0x2b6)]['call'](this);return _0x3b2b89[_0xb6acaf(0x485)]=this['_hash'][_0xb6acaf(0x2b6)](),_0x3b2b89;}});_0x4d9a32[_0xf9611d(0x33a)]=_0xe685c6[_0xf9611d(0x3e4)](_0xc9d17),_0x4d9a32['HmacSHA1']=_0xe685c6['_createHmacHelper'](_0xc9d17);}()),_0x2f150c['SHA1'];}));}(qe)),qe[_0x319d9a(0x2f5)];}function _0x447f(){var _0x1f86fa=['random','YUUMI_SUBSCRIPTION_NOT_FOUND','APPLY_REVISION_CONFILICT','COMPLETION_FINISHED','resend','[CollaborationSessionService]:\x20socket\x20error','_snapshotService','randomBytes','url','_isPermissionRej','charCodeAt','__Key__','ticket','_replaceFileID','_createHelper','_getUploadFileURL','_initDependencies','socket$','clearUndoRedo','PENDING','src','interceptor','capture','requireSession','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_scheduleCollaborationTimeoutTimer','&source=','toString','getSnapshotAPIPath','subType','_waitForHeartbeatResponse','set','method','saveChangeset','collaboration-client.local-cache-service','updateCursorEvent','getFocusedUnit','_onUserLeave','_timeoutTimer','Decryptor','_status$','_transformService','getLatestCsReqIdBySid','getMemberID','put','baseRev','crypto','OTHER_CLIENT_EDITING','msCrypto','_sessions','_getCtorByUniverType','_unlockTransition','loadOfflineData','cfg','dispose','lib','_executeRemoteChangeset','_disableEditing','clamp','UNDEFINED','toLowerCase','UNKNOWN_CMD','_xformMode','YUUMI_URL_COL_OUT_OF_RANGE','\x20to\x20','subscribe','submit\x20changeset\x20error!','fromCharCode','fetchThroughInterceptors','_getSessionTicket','[CollaborationSession]','TOO_MANY_REQUESTS','transformUndoRedo','catch','_showConflictNotification','/universer-api/file/{fileID}/sign-url','saveImage','_entityInit$','_substituteUndoStack','[UniverCollaborationClientPlugin]','/object','UNIVER_PROJECT','_change$','getCurrentUnitForType','joinRsp','title','_map','_updateStatus','ciphertext','m2Prime','collaborators','auth.needGotoLoginAlert','SUBMIT_CHANGESET_TIMEOUT','concat','_commentUpdate$','reset','UPDATE_PERMISSION_OBJ','forEach','Hex','image/bmp','from','_updateState','csShouldRetryEvent','/universer-api/oidc/authpage','_createSocket','readyForCollab','objectActions','LICENSE_MAX_UNITS_EXCEEDED','_logService','hasher','string','sessionStatus','subject','_rescheduleHeartbeat','ONLINE','_removeRoom','fetchMiss','_getDownloadEndpointURL','APPLY_DUPLICATED','AWAITING','name','editing\x20status\x20changed\x20to','finalize','getCollabEntity','transformSelections','Error\x20on\x20receiving\x20event','_revisionService','/object/','CHANGESET_REJ','getTime','_keySchedule','avatar','CLOSE_ROOM','saveSnapshot','joinEvent','_telemetryService','_sendHeartbeatTimer','enableAuthServer','_transformRemoteChangesetByIMECache','state','objectType','includes','action','transformMutationsWithChangeset','GLOBAL_ROOMS_CNT_EXCEEDS','value','NOT_COLLAB','ENSURE_SNAPSHOT_EXECUTION','_transformIMECache','_localeService','padding','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','file','editingUnit','unsubscribe','liveShareOperation','location','YUUMI_RATE_OVER_LIMIT','format','words','[PendingState]:\x20received\x20acknowledgement.','22587JcvCcD','UNIVER_UNKNOWN','params','_onConflict','fetching\x20missing\x20changesets\x20from\x20','_awaitingChangeset','/-/object/list','_onRemoteACK','compute','UNIVER_SHEET','PSEUDO_FETCH_MISSING_RESULT','socket\x20close','CipherParams','SNAPSHOT_INVALID_SNAPSHOT','_hash','userID','CONNECTOR_DATA_TOO_LARGE','getInterceptPoints','has','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','roomInfos','_onCombEvent','Malformed\x20UTF-8\x20data','initWorkbookPermissionChange','_socketService','iterations','PERSON','SNAPSHOT_SERVER_URL_KEY','reduce','_transformSelections','PasswordBasedCipher','Undefined','list','changesets','startTime','getRandomValues','type','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitCount','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','pending','?url=','roles','_event$','unit-cache-','readAsDataURL','933435CWSdZh','getUnitOnRev','ERROR_IMAGE','_configService','_oKey','CHANGESET_REVISION_CONFILICT','charAt','createCollaborator','MUTATION','workbook','_createInitialState','/-/object/-/batch_allowed','_roomMembers','bind','/universer-api/snapshot/','_transitionLocked','_networkConditionService','localeService','FETCH_MISS','headers','now','listCollaborators','_reverseMap','decrypt','Encryptor','_replayCachedMutations','_getAPIPrefixPath','unitID','_process','apply','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','dispose$','disableLocalCache','INVALID_ARGUMENT','[CollaborationUndoRedoService]','_doReset','JOIN_ROOM_PERMISSION_DENIED','setShowComponents','duration','selections','_undoRedoService','OTHER_CLIENTS_EDITING','WordArray','_clearScheduledTask','Base','onRemoteRetry','_memberService','onStarting','getTypeOfUnitDisposed$','message$','update','application/json','_init','error$','LICENSE_IMPORT_SIZE_EXCEEDED','_compressMutationService','_socket$','responseType','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getImage','then','_stopTelemetryCollaborationNewChangeset','registerHTTPInterceptor','LICENSE_EXPORT_SIZE_EXCEEDED','UNAUTHENTICATED','sigBytes','COMMENT_UPDATE','_clearRedo','getUnit','/resources','createSocket','SNAPSHOT_URL_KEY','NEW_CHANGESETS','_snapshotServerService','getCurrentSelections','OPTIONAL','APPLY_NON_SEQUENTIAL_REVISION','_createSocketURL','actions','COMPRESS_MUTATION_APPLY','objects','_onFetchMissResult','resolve','keySize','USERS_LEAVE','encrypt','_singleActiveUnitService','_tryReconnect','_state$','CONFLICT','error','find','cmd','LIVESHARE_TERMINATE','create','_shouldReportTelemetry','memberID','SOCKET_FAILED','salt','COMPRESS_MUTATION_SEND','JOINING','searchParams','_transformStack','toggleOffline','_candidateSocket','unitId','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','onSendChangeset','formatter','onSyncEditingCollabCursor','[CollaborationSessionService]','disposeWithMe','_hasher','_clearTimeoutTimer','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_toggleOnline','_handler','_createHandler','default','originalMeta','retryConnectingInterval','range','isArray','72GsHFNE','_startCollaboration','_retryConnectingTimer','_key','JOIN','_checkMissing','LOCAL_CACHE_INTERVAL','state$','_onUserJoin','[PendingState]:\x20received\x20rejection.','sin','image/gif','prototype','743694MfknIf','_unitInfo$','_mode','2005145bCtAZc','emitEvent','_authzIoService','permissionRejEvent','__creator','UNIVER_SLIDE','_eventService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','readInt32LE','COLLAB_WEB_SOCKET_URL','appendMutation','_remoteChangesetQueue','_sendingTimer','snapshotServerUrl','_createInitialStateImpl','_onConnectionFailed','Latin1','uploadFileServerUrl','UNIVER_COLLABORATION_CLIENT_PLUGIN','getCollabEntity$','close$','pluginName','_resendTimeout','_getSendChangesetTimeout','localCacheService','updateOfflineData','onload','_socketMessageSubscription','YUUMI_UNABLE_LOAD_URL','_startTelemetryCollaborationNewChangeset','_tryEnsureSocket','image/jpg','OpenSSL','PERMISSION_DENIED','PERMISSION_REJ','createInstance','socketService','infoRsp','_initUnitPermissionChange','hasOwnProperty','updatePermissionPoint','_scheduleTimestamp','map','[OfflineState]:\x20received\x20changeset.','\x0aAfter:\x20','kdf','allowed','addImageSourceCache','authzUrl','_handlerCallback','sessionStatus$','_commentService','HEARTBEAT_TIMEOUT','getTypeOfUnitAdded$','_syncEditingCollabCursor','collaMsg','byteLength','468406YSpHbq','floor','_joinRoom','mutations','c1Prime','_getSignURL','csRejEvent','transformStack\x20failed!','every','function','[PendingState]:\x20unhandled\x20univer\x20type:\x20','saveSheetBlock','loadSheet','_collabSessionService','_listenToNetworkCondition','debug','_exhaustRemoteChangesetQueue','createEncryptor','result','push','JOIN_ROOM_FULL','_keyPriorReset','LIVESHARE_OPERATION','append','univer-pro.collaboration-client.network-condition.service','ruleRefresh','onRemoteAck','SHOULD_CLOSE_CONN','clear','USERS_ENTER','_data','UnitEmbedded','requestParams','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','INTERNAL_ERROR','session.room-permission-denied','replace','[OfflineState]:\x20received\x20rejection.','_socketReady','randomUUID','LICENSE_DISTRO_REJECTED','CHANGESET_SHOULD_RETRY','onCommentUpdate','BlockCipherMode','Worksheet','routeKey','incrementRevOfUnit','_cipher','UUID','onTransformSelections','/universer-api/comb','toggleOnline','hostname','min','univer-pro.collaboration-client.single-active-unit-service','IDLE','HEARTBEAT_INTERVAL','_univerInstanceService','_initCloseConn','status$','_parse','mixIn','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_doCryptBlock','confirm','_schedule','delete','onRemoteChangeset','getCurrentUser','_entities','168jBvWhH','_doFinalize','StreamCipher','onLocalMutation','_members','_onLocalMutation','HmacMD5','awaiting','_iv','fetch_missing','awaitingChangeset','HEARTBEAT','_loadDoc','_collaborationTimeoutTimer','_getAPIPrefix','_collaborationUIEventService','clone','ivSize','[OfflineState]:\x20received\x20acknowledgement.','getUnitId','collaboration-client.config','ceil','ERROR_IMAGE_TYPE','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','removeMember','/block/','code','onTransformState','resourceIDs','Univer','stringify','UNRECOGNIZED','extend','splice','SUBMIT_CHANGESET','sheets','updatePermissionObjEvent','RECV','_incrementRevisionNumber','getOwnPropertyDescriptor','length','Cipher','_prevBlock','complete','open$','pipe','UnitSnapshot','onTransformIME','_clearHeartbeatTimer','_injector','NO_OTHER_CLIENTS_EDITING','_loadSheet','isPermissionRej','[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.','EvpKDF','key','FETCH_MISSING','loginUrlKey','data','entityInit$','rev','setConfig','_decreaseWaiting','status','/unit/','_updateLocalCache','_clearLocalCache','execute','JOIN_ROOM_FAILED','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','HttpImport','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','reject','indexOf','_ENC_XFORM_MODE','SerializableCipher','startsWith','_transformStateCache','onTransformRemoteChangesetByIMECache','exports','pauseCollaboration','enc','RETRY_CONNECTING_MAX_COUNT','_sender','awaiting_with_pending','\x20-\x20','_onJoinRoomEvent','init','LEAVE','JOIN_ROOM_NOT_EXISTS','eventID','_unitID','x-univer-host','leaveEvent','csAckEvent','_retryCount','HMAC','slice','liveShareNewHost','_lockTransition','reconnect','session.room-full','decryptBlock','commentUpdateEvent','href','collabSubmitChangesetUrl','_clearCollaborationTimeoutTimer','values','getActiveSheet','conflict','onRemoteRej','1908872zaCNnH','_HTTPService','getRoom','change$','parse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','sid','&to=','_commandService','_sheetTransformSelectionsService','LIVESHARE_FETCH_OPERATIONS','fromCollab','blockSize','_fetchMissChangesets','_nRounds','_state','_iKey','offline','connection\x20error','HELLO','_queuedRemoteChangesets','snapshot','_socket','_getRedoStack','_onMessage','pad','getPermissionPoint','session','[SyncedState]:\x20received\x20rejection.','_throwTelemetryCollaborationNewChangeset','image/png','ALREADY_EXISTS','getConfig','_changesetReqId','createDecryptor','getWorkbookSelections','_minBufferSize','SHA1','enableOfflineEditing','join','next','_pendingMutations','AES','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','People','_getCurrentRevision','OFFLINE','_submitChangeset','/universer-api/user/session-ticket','/universer-api/stream/file/upload','textRanges','closeSession','_getLoginPath','LIVESHARE_REQUEST_HOST','setCurrentUser','[DataLoaderService]','event$','stopTime','SNAPSHOT_HAS_BEEN_REMOVED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','c2Prime','CHANGESET_ACK','withCredentials','session.room-not-exists','/universer-api/authz','_invKeySchedule','downloadEndpointUrl','get','LIVESHARE_NEW_HOST','\x0aCurrent:\x20','$super','APPLY_PERMISSION_DENIED','deepClone','_changesetSessionId','_sessionStatus$','/new_changes','INGEST','size','asObservable','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','commentUpdate$','json','defineProperty','BufferedBlockAlgorithm','_initRequestHeader','deleteCollaborator','_getUndoStack','1532176HckgGm','unpad','send','image/jpeg','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getMember','onTransformRemoteChangesetByStateCache','add','/universer-api/snapshot','SelectRange','?size=','[CollaborationState]:\x20apply\x20error!','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_telemetryInfo','_sendHeartbeat','updateMember','objectID','_config','_append','mode','call','_applyRemoteChangeset','Utf8','_onRemoteRejected','origin','onMissingChangesets','sendChangesetTimeout','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_resendTimer','_instanceService','_nDataBytes','_imageSourceCache','getSheetId','_DEC_XFORM_MODE','_substituteRedoStack','algo','getResourcesRequest','_permissionService','save\x20fail\x20reason\x20is\x20','Base64','onMissedChangesetFetched','subUnitId','BlockCipher','updateCollaborator','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','session.room-cnt-exceeds','shouldCloseConn','fetchMissingChangesets','_collaborationSessionService','COLLAB_SUBMIT_CHANGESET_URL','close','revision','transformChangesets','getCurrentRevOfUnit','_collaborationPaused','getTargetByPermissionId','_transformUndoredo','onCommandExecuted','HttpExport','byteOffset','UNIVER_DOC','_httpService','NoPadding','getImageSourceCache','encode','post','abs','_initMergeInterceptor','unknown','/collaborator','_userManagerService','socket\x20open.','SUCCUSS','_resendWithTimeout','_onRemoteChangeset','executeCommand','_transformRemoteChangesetByStateCache','getUnitType','MD5','BASE64','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','MSG_FOR_ERROR','UPDATE_CURSOR','filter','/allowed','body','[FetchMissState]','max','getAllMembers','_type','FileId','_acknowledgedAwaitingChangeset','Hasher','[CollaborationEntity]','_onRemoteRetry','Pkcs7','refreshPermission','synced','/role','_onConnectionOpen','signUrlServerUrl','APPLY_REJECT','_onOffline','_localCacheService','univer-pro.collaboration-client-socket-service','reqId'];_0x447f=function(){return _0x1f86fa;};return _0x447f();}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){var _0x24583d=_0x376409;return ni||(ni=0x1,function(_0x5edff7,_0x5636c7){(function(_0x1acf87,_0x1c6e05){var _0x63dbef=_0x1c43;_0x5edff7[_0x63dbef(0x2f5)]=_0x1c6e05(ne());}(Ys,function(_0x5384e3){(function(){var _0xc7d09c=_0x1c43,_0x2f4282=_0x5384e3,_0x3c0cf5=_0x2f4282['lib'],_0x590e35=_0x3c0cf5[_0xc7d09c(0x1c8)],_0x24f611=_0x2f4282[_0xc7d09c(0x2f7)],_0x1810e1=_0x24f611[_0xc7d09c(0x382)],_0x13813a=_0x2f4282[_0xc7d09c(0x38f)];_0x13813a[_0xc7d09c(0x306)]=_0x590e35[_0xc7d09c(0x2c6)]({'init':function(_0x35920f,_0x490bac){var _0x497da6=_0xc7d09c;_0x35920f=this[_0x497da6(0x20c)]=new _0x35920f['init'](),typeof _0x490bac==_0x497da6(0x444)&&(_0x490bac=_0x1810e1[_0x497da6(0x319)](_0x490bac));var _0x325cf4=_0x35920f[_0x497da6(0x321)],_0x84d56e=_0x325cf4*0x4;_0x490bac[_0x497da6(0x1dd)]>_0x84d56e&&(_0x490bac=_0x35920f[_0x497da6(0x450)](_0x490bac)),_0x490bac[_0x497da6(0x410)]();for(var _0x2557bd=this[_0x497da6(0x1a0)]=_0x490bac[_0x497da6(0x2b6)](),_0x3a5786=this[_0x497da6(0x325)]=_0x490bac['clone'](),_0x3253a2=_0x2557bd[_0x497da6(0x475)],_0x37266f=_0x3a5786[_0x497da6(0x475)],_0x137cf5=0x0;_0x137cf5<_0x325cf4;_0x137cf5++)_0x3253a2[_0x137cf5]^=0x5c5c5c5c,_0x37266f[_0x137cf5]^=0x36363636;_0x2557bd['sigBytes']=_0x3a5786[_0x497da6(0x1dd)]=_0x84d56e,this['reset']();},'reset':function(){var _0x5993d2=_0xc7d09c,_0x114edf=this[_0x5993d2(0x20c)];_0x114edf[_0x5993d2(0x435)](),_0x114edf[_0x5993d2(0x1ce)](this[_0x5993d2(0x325)]);},'update':function(_0x33c980){var _0x10bcba=_0xc7d09c;return this[_0x10bcba(0x20c)][_0x10bcba(0x1ce)](_0x33c980),this;},'finalize':function(_0xa5b12f){var _0x2380db=_0xc7d09c,_0x54410b=this['_hasher'],_0x4ab1ad=_0x54410b[_0x2380db(0x450)](_0xa5b12f);_0x54410b[_0x2380db(0x435)]();var _0x1a1962=_0x54410b[_0x2380db(0x450)](this[_0x2380db(0x1a0)][_0x2380db(0x2b6)]()[_0x2380db(0x433)](_0x4ab1ad));return _0x1a1962;}});}());}));}(Je)),Je[_0x24583d(0x2f5)];}var Js=Ye[_0x376409(0x2f5)],si;function Ui(){var _0x15811c=_0x376409;return si||(si=0x1,function(_0x2d6339,_0x4195a2){(function(_0x1bd83f,_0x1f4936,_0x91bef){var _0x2010a9=_0x1c43;_0x2d6339[_0x2010a9(0x2f5)]=_0x1f4936(ne(),zs(),qs());}(Js,function(_0xbbdb5a){return(function(){var _0x22f34c=_0x1c43,_0x214f31=_0xbbdb5a,_0x3b6ebd=_0x214f31['lib'],_0x5d3daf=_0x3b6ebd[_0x22f34c(0x1c8)],_0x536c0b=_0x3b6ebd[_0x22f34c(0x1c6)],_0x52bdb0=_0x214f31[_0x22f34c(0x38f)],_0x22ef98=_0x52bdb0['MD5'],_0x412af8=_0x52bdb0['EvpKDF']=_0x5d3daf['extend']({'cfg':_0x5d3daf[_0x22f34c(0x2c6)]({'keySize':0x80/0x20,'hasher':_0x22ef98,'iterations':0x1}),'init':function(_0x54bfe9){var _0x96a4c4=_0x22f34c;this['cfg']=this['cfg'][_0x96a4c4(0x2c6)](_0x54bfe9);},'compute':function(_0x77060c,_0x558eb8){var _0x350be2=_0x22f34c;for(var _0x567477,_0x1bf41d=this[_0x350be2(0x40b)],_0x509cbc=_0x1bf41d[_0x350be2(0x443)][_0x350be2(0x1fa)](),_0x4e15d7=_0x536c0b[_0x350be2(0x1fa)](),_0x1a2441=_0x4e15d7[_0x350be2(0x475)],_0x40abdd=_0x1bf41d[_0x350be2(0x1ef)],_0x3a7f01=_0x1bf41d[_0x350be2(0x187)];_0x1a2441['length']<_0x40abdd;){_0x567477&&_0x509cbc['update'](_0x567477),_0x567477=_0x509cbc[_0x350be2(0x1ce)](_0x77060c)[_0x350be2(0x450)](_0x558eb8),_0x509cbc['reset']();for(var _0x5b0993=0x1;_0x5b0993<_0x3a7f01;_0x5b0993++)_0x567477=_0x509cbc[_0x350be2(0x450)](_0x567477),_0x509cbc[_0x350be2(0x435)]();_0x4e15d7[_0x350be2(0x433)](_0x567477);}return _0x4e15d7[_0x350be2(0x1dd)]=_0x40abdd*0x4,_0x4e15d7;}});_0x214f31[_0x22f34c(0x2dc)]=function(_0x24e3f1,_0x1686f4,_0x16fdfa){var _0x5afe22=_0x22f34c;return _0x412af8[_0x5afe22(0x1fa)](_0x16fdfa)[_0x5afe22(0x47f)](_0x24e3f1,_0x1686f4);};}()),_0xbbdb5a['EvpKDF'];}));}(Ye)),Ye[_0x15811c(0x2f5)];}var Xe={'exports':{}},Xs=Xe[_0x376409(0x2f5)],ri;function Ai(){var _0x4e2d03=_0x376409;return ri||(ri=0x1,function(_0x343b03,_0x10b707){(function(_0x3f1ac4,_0x2f2d05,_0x138b12){var _0x38f952=_0x1c43;_0x343b03[_0x38f952(0x2f5)]=_0x2f2d05(ne(),Ui());}(Xs,function(_0x3aaf0f){var _0x35c3a1=_0x1c43;_0x3aaf0f['lib'][_0x35c3a1(0x2cf)]||function(_0x5abbc4){var _0x22a2ff=_0x35c3a1,_0x43af52=_0x3aaf0f,_0x3bc9f3=_0x43af52['lib'],_0x199a31=_0x3bc9f3[_0x22a2ff(0x1c8)],_0x5a420c=_0x3bc9f3[_0x22a2ff(0x1c6)],_0x226c9e=_0x3bc9f3[_0x22a2ff(0x368)],_0x2279f9=_0x43af52[_0x22a2ff(0x2f7)];_0x2279f9[_0x22a2ff(0x382)];var _0x245fc6=_0x2279f9[_0x22a2ff(0x393)],_0x371e3b=_0x43af52[_0x22a2ff(0x38f)],_0x46c41e=_0x371e3b[_0x22a2ff(0x2dc)],_0x7e6f91=_0x3bc9f3['Cipher']=_0x226c9e['extend']({'cfg':_0x199a31['extend'](),'createEncryptor':function(_0x243a62,_0x4d23f5){return this['create'](this['_ENC_XFORM_MODE'],_0x243a62,_0x4d23f5);},'createDecryptor':function(_0x28de02,_0x51eedf){var _0x425723=_0x22a2ff;return this['create'](this[_0x425723(0x38d)],_0x28de02,_0x51eedf);},'init':function(_0x3f8e4c,_0xb30bb,_0x9fdca5){var _0x2be676=_0x22a2ff;this[_0x2be676(0x40b)]=this[_0x2be676(0x40b)][_0x2be676(0x2c6)](_0x9fdca5),this[_0x2be676(0x414)]=_0x3f8e4c,this[_0x2be676(0x21a)]=_0xb30bb,this[_0x2be676(0x435)]();},'reset':function(){var _0x4336ce=_0x22a2ff;_0x226c9e[_0x4336ce(0x435)]['call'](this),this['_doReset']();},'process':function(_0x384735){var _0x15fb90=_0x22a2ff;return this['_append'](_0x384735),this[_0x15fb90(0x1b8)]();},'finalize':function(_0x4890dd){var _0x18e5b2=_0x22a2ff;_0x4890dd&&this[_0x18e5b2(0x37e)](_0x4890dd);var _0x2f5690=this[_0x18e5b2(0x2a7)]();return _0x2f5690;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2d70ff(_0x9ec46d){return typeof _0x9ec46d=='string'?_0x4fd215:_0x4d2aea;}return function(_0x28a6e0){return{'encrypt':function(_0xb7efca,_0x298c7d,_0x3bf848){return _0x2d70ff(_0x298c7d)['encrypt'](_0x28a6e0,_0xb7efca,_0x298c7d,_0x3bf848);},'decrypt':function(_0x2ed48b,_0x11b96a,_0x183e62){return _0x2d70ff(_0x11b96a)['decrypt'](_0x28a6e0,_0x2ed48b,_0x11b96a,_0x183e62);}};};}())});_0x3bc9f3[_0x22a2ff(0x2a8)]=_0x7e6f91['extend']({'_doFinalize':function(){var _0x2e19cb=_0x22a2ff,_0x4b271e=this[_0x2e19cb(0x1b8)](!0x0);return _0x4b271e;},'blockSize':0x1});var _0x4571df=_0x43af52[_0x22a2ff(0x37f)]={},_0x1445e0=_0x3bc9f3[_0x22a2ff(0x28b)]=_0x199a31['extend']({'createEncryptor':function(_0x364285,_0x54cbd2){var _0x33b299=_0x22a2ff;return this[_0x33b299(0x1b4)][_0x33b299(0x1fa)](_0x364285,_0x54cbd2);},'createDecryptor':function(_0x145ee9,_0xb61a7d){var _0x3d43c7=_0x22a2ff;return this[_0x3d43c7(0x3fd)][_0x3d43c7(0x1fa)](_0x145ee9,_0xb61a7d);},'init':function(_0x288b0b,_0x29971c){var _0x131b28=_0x22a2ff;this[_0x131b28(0x28f)]=_0x288b0b,this['_iv']=_0x29971c;}}),_0x2f4db8=_0x4571df['CBC']=(function(){var _0x326be9=_0x22a2ff,_0x4ba0e5=_0x1445e0[_0x326be9(0x2c6)]();_0x4ba0e5['Encryptor']=_0x4ba0e5[_0x326be9(0x2c6)]({'processBlock':function(_0x4d1fdd,_0x901209){var _0x105f11=_0x326be9,_0xd3a100=this[_0x105f11(0x28f)],_0x43e5ba=_0xd3a100['blockSize'];_0xafd9b5[_0x105f11(0x380)](this,_0x4d1fdd,_0x901209,_0x43e5ba),_0xd3a100['encryptBlock'](_0x4d1fdd,_0x901209),this['_prevBlock']=_0x4d1fdd[_0x105f11(0x307)](_0x901209,_0x901209+_0x43e5ba);}}),_0x4ba0e5[_0x326be9(0x3fd)]=_0x4ba0e5[_0x326be9(0x2c6)]({'processBlock':function(_0x443924,_0x480f26){var _0x4760fe=_0x326be9,_0x598aaf=this[_0x4760fe(0x28f)],_0x5e36fa=_0x598aaf[_0x4760fe(0x321)],_0x52fd8e=_0x443924[_0x4760fe(0x307)](_0x480f26,_0x480f26+_0x5e36fa);_0x598aaf[_0x4760fe(0x30c)](_0x443924,_0x480f26),_0xafd9b5[_0x4760fe(0x380)](this,_0x443924,_0x480f26,_0x5e36fa),this[_0x4760fe(0x2d0)]=_0x52fd8e;}});function _0xafd9b5(_0x2a8eab,_0x36b1fd,_0x212c70){var _0x32eba8=_0x326be9,_0x57d4f1,_0x5157c1=this[_0x32eba8(0x2ae)];_0x5157c1?(_0x57d4f1=_0x5157c1,this[_0x32eba8(0x2ae)]=_0x5abbc4):_0x57d4f1=this[_0x32eba8(0x2d0)];for(var _0xd8c35d=0x0;_0xd8c35d<_0x212c70;_0xd8c35d++)_0x2a8eab[_0x36b1fd+_0xd8c35d]^=_0x57d4f1[_0xd8c35d];}return _0x4ba0e5;}()),_0x24c272=_0x43af52['pad']={},_0x54fe49=_0x24c272[_0x22a2ff(0x3cb)]={'pad':function(_0x4eb6a3,_0xd3c263){var _0x45ec04=_0x22a2ff;for(var _0x14da80=_0xd3c263*0x4,_0x2fa2f6=_0x14da80-_0x4eb6a3['sigBytes']%_0x14da80,_0xa8ae95=_0x2fa2f6<<0x18|_0x2fa2f6<<0x10|_0x2fa2f6<<0x8|_0x2fa2f6,_0x1924d7=[],_0x4a64ad=0x0;_0x4a64ad<_0x2fa2f6;_0x4a64ad+=0x4)_0x1924d7[_0x45ec04(0x273)](_0xa8ae95);var _0x559f42=_0x5a420c[_0x45ec04(0x1fa)](_0x1924d7,_0x2fa2f6);_0x4eb6a3[_0x45ec04(0x433)](_0x559f42);},'unpad':function(_0x40f7a2){var _0x84f3f5=_0x22a2ff,_0x1a062a=_0x40f7a2['words'][_0x40f7a2[_0x84f3f5(0x1dd)]-0x1>>>0x2]&0xff;_0x40f7a2[_0x84f3f5(0x1dd)]-=_0x1a062a;}};_0x3bc9f3[_0x22a2ff(0x396)]=_0x7e6f91['extend']({'cfg':_0x7e6f91['cfg'][_0x22a2ff(0x2c6)]({'mode':_0x2f4db8,'padding':_0x54fe49}),'reset':function(){var _0x581883=_0x22a2ff,_0x3d875d;_0x7e6f91[_0x581883(0x435)]['call'](this);var _0x25ee97=this['cfg'],_0x495df9=_0x25ee97['iv'],_0x3276e1=_0x25ee97[_0x581883(0x37f)];this[_0x581883(0x414)]==this['_ENC_XFORM_MODE']?_0x3d875d=_0x3276e1[_0x581883(0x271)]:(_0x3d875d=_0x3276e1[_0x581883(0x337)],this['_minBufferSize']=0x1),this['_mode']&&this['_mode'][_0x581883(0x22b)]==_0x3d875d?this[_0x581883(0x226)][_0x581883(0x2fd)](this,_0x495df9&&_0x495df9[_0x581883(0x475)]):(this[_0x581883(0x226)]=_0x3d875d['call'](_0x3276e1,this,_0x495df9&&_0x495df9[_0x581883(0x475)]),this['_mode'][_0x581883(0x22b)]=_0x3d875d);},'_doProcessBlock':function(_0x1c5306,_0x2c63da){this['_mode']['processBlock'](_0x1c5306,_0x2c63da);},'_doFinalize':function(){var _0x318e12=_0x22a2ff,_0x4a998c,_0x1194de=this[_0x318e12(0x40b)]['padding'];return this[_0x318e12(0x414)]==this[_0x318e12(0x2f0)]?(_0x1194de[_0x318e12(0x32e)](this['_data'],this[_0x318e12(0x321)]),_0x4a998c=this[_0x318e12(0x1b8)](!0x0)):(_0x4a998c=this[_0x318e12(0x1b8)](!0x0),_0x1194de[_0x318e12(0x36d)](_0x4a998c)),_0x4a998c;},'blockSize':0x80/0x20});var _0x24db01=_0x3bc9f3[_0x22a2ff(0x483)]=_0x199a31[_0x22a2ff(0x2c6)]({'init':function(_0x362367){var _0x2322c3=_0x22a2ff;this[_0x2322c3(0x29d)](_0x362367);},'toString':function(_0x41e213){var _0x1717bb=_0x22a2ff;return(_0x41e213||this[_0x1717bb(0x208)])[_0x1717bb(0x2c4)](this);}}),_0x365652=_0x43af52['format']={},_0xf7fd00=_0x365652[_0x22a2ff(0x247)]={'stringify':function(_0x4ad241){var _0x198ba8=_0x22a2ff,_0xf07a57,_0x53eaba=_0x4ad241[_0x198ba8(0x42e)],_0x47a98d=_0x4ad241[_0x198ba8(0x1fe)];return _0x47a98d?_0xf07a57=_0x5a420c[_0x198ba8(0x1fa)]([0x53616c74,0x65645f5f])[_0x198ba8(0x433)](_0x47a98d)['concat'](_0x53eaba):_0xf07a57=_0x53eaba,_0xf07a57['toString'](_0x245fc6);},'parse':function(_0x5f51ae){var _0x5a9d04=_0x22a2ff,_0x58f961,_0x5b6942=_0x245fc6[_0x5a9d04(0x319)](_0x5f51ae),_0x53a324=_0x5b6942[_0x5a9d04(0x475)];return _0x53a324[0x0]==0x53616c74&&_0x53a324[0x1]==0x65645f5f&&(_0x58f961=_0x5a420c['create'](_0x53a324[_0x5a9d04(0x307)](0x2,0x4)),_0x53a324[_0x5a9d04(0x2c7)](0x0,0x4),_0x5b6942[_0x5a9d04(0x1dd)]-=0x10),_0x24db01['create']({'ciphertext':_0x5b6942,'salt':_0x58f961});}},_0x4d2aea=_0x3bc9f3[_0x22a2ff(0x2f1)]=_0x199a31[_0x22a2ff(0x2c6)]({'cfg':_0x199a31[_0x22a2ff(0x2c6)]({'format':_0xf7fd00}),'encrypt':function(_0x23b714,_0x4620c2,_0x2e8697,_0x23092e){var _0xa783ae=_0x22a2ff;_0x23092e=this[_0xa783ae(0x40b)][_0xa783ae(0x2c6)](_0x23092e);var _0x170a5e=_0x23b714[_0xa783ae(0x271)](_0x2e8697,_0x23092e),_0x14ad3a=_0x170a5e['finalize'](_0x4620c2),_0x357dbb=_0x170a5e[_0xa783ae(0x40b)];return _0x24db01[_0xa783ae(0x1fa)]({'ciphertext':_0x14ad3a,'key':_0x2e8697,'iv':_0x357dbb['iv'],'algorithm':_0x23b714,'mode':_0x357dbb[_0xa783ae(0x37f)],'padding':_0x357dbb[_0xa783ae(0x46c)],'blockSize':_0x23b714[_0xa783ae(0x321)],'formatter':_0x23092e[_0xa783ae(0x474)]});},'decrypt':function(_0x875504,_0x449e32,_0x5f1cc2,_0x4fb743){var _0x38bc59=_0x22a2ff;_0x4fb743=this[_0x38bc59(0x40b)][_0x38bc59(0x2c6)](_0x4fb743),_0x449e32=this[_0x38bc59(0x29c)](_0x449e32,_0x4fb743['format']);var _0x154a77=_0x875504[_0x38bc59(0x337)](_0x5f1cc2,_0x4fb743)[_0x38bc59(0x450)](_0x449e32[_0x38bc59(0x42e)]);return _0x154a77;},'_parse':function(_0x51c0ab,_0x50f525){var _0x3852cb=_0x22a2ff;return typeof _0x51c0ab=='string'?_0x50f525[_0x3852cb(0x319)](_0x51c0ab,this):_0x51c0ab;}}),_0x83f4ec=_0x43af52[_0x22a2ff(0x254)]={},_0x1eac40=_0x83f4ec['OpenSSL']={'execute':function(_0x5656e7,_0x2b6418,_0x80461d,_0x3e9589,_0x2fc0a5){var _0xcc62af=_0x22a2ff;if(_0x3e9589||(_0x3e9589=_0x5a420c[_0xcc62af(0x3d6)](0x40/0x8)),_0x2fc0a5)var _0xbc1cc4=_0x46c41e['create']({'keySize':_0x2b6418+_0x80461d,'hasher':_0x2fc0a5})['compute'](_0x5656e7,_0x3e9589);else var _0xbc1cc4=_0x46c41e['create']({'keySize':_0x2b6418+_0x80461d})['compute'](_0x5656e7,_0x3e9589);var _0x4307aa=_0x5a420c[_0xcc62af(0x1fa)](_0xbc1cc4[_0xcc62af(0x475)][_0xcc62af(0x307)](_0x2b6418),_0x80461d*0x4);return _0xbc1cc4[_0xcc62af(0x1dd)]=_0x2b6418*0x4,_0x24db01[_0xcc62af(0x1fa)]({'key':_0xbc1cc4,'iv':_0x4307aa,'salt':_0x3e9589});}},_0x4fd215=_0x3bc9f3[_0x22a2ff(0x18c)]=_0x4d2aea[_0x22a2ff(0x2c6)]({'cfg':_0x4d2aea['cfg'][_0x22a2ff(0x2c6)]({'kdf':_0x1eac40}),'encrypt':function(_0x42f815,_0x5db69d,_0xdcafe7,_0x18e85b){var _0x3fc3a5=_0x22a2ff;_0x18e85b=this['cfg'][_0x3fc3a5(0x2c6)](_0x18e85b);var _0x5e36ca=_0x18e85b[_0x3fc3a5(0x254)][_0x3fc3a5(0x2e9)](_0xdcafe7,_0x42f815[_0x3fc3a5(0x1ef)],_0x42f815[_0x3fc3a5(0x2b7)],_0x18e85b[_0x3fc3a5(0x1fe)],_0x18e85b[_0x3fc3a5(0x443)]);_0x18e85b['iv']=_0x5e36ca['iv'];var _0x304f92=_0x4d2aea[_0x3fc3a5(0x1f1)][_0x3fc3a5(0x380)](this,_0x42f815,_0x5db69d,_0x5e36ca[_0x3fc3a5(0x2dd)],_0x18e85b);return _0x304f92[_0x3fc3a5(0x29d)](_0x5e36ca),_0x304f92;},'decrypt':function(_0x2e0b31,_0x49720c,_0x1361a7,_0x5942b6){var _0x276a9b=_0x22a2ff;_0x5942b6=this[_0x276a9b(0x40b)][_0x276a9b(0x2c6)](_0x5942b6),_0x49720c=this[_0x276a9b(0x29c)](_0x49720c,_0x5942b6['format']);var _0x5b0bea=_0x5942b6['kdf'][_0x276a9b(0x2e9)](_0x1361a7,_0x2e0b31[_0x276a9b(0x1ef)],_0x2e0b31[_0x276a9b(0x2b7)],_0x49720c[_0x276a9b(0x1fe)],_0x5942b6[_0x276a9b(0x443)]);_0x5942b6['iv']=_0x5b0bea['iv'];var _0x1c2017=_0x4d2aea[_0x276a9b(0x1b3)]['call'](this,_0x2e0b31,_0x49720c,_0x5b0bea[_0x276a9b(0x2dd)],_0x5942b6);return _0x1c2017;}});}();}));}(Xe)),Xe[_0x4e2d03(0x2f5)];}var Zs=We[_0x376409(0x2f5)],oi;function Qs(){var _0x4f69b9=_0x376409;return oi||(oi=0x1,function(_0x31a9c6,_0x21917b){(function(_0x53998b,_0x583c2b,_0x5c16bf){var _0x496d51=_0x1c43;_0x31a9c6[_0x496d51(0x2f5)]=_0x583c2b(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x59e9d1){var _0x2d5f2c=_0x1c43;return(function(){var _0x127c41=_0x1c43,_0x442e0f=_0x59e9d1,_0x176e2a=_0x442e0f[_0x127c41(0x40d)],_0x126d70=_0x176e2a['BlockCipher'],_0x1fce26=_0x442e0f[_0x127c41(0x38f)],_0x4bc5f5=[],_0x37d3c3=[],_0x37e554=[],_0x4f7b81=[],_0x524e6b=[],_0x299efe=[],_0x558c26=[],_0x7c8cd3=[],_0x2ece31=[],_0x402da3=[];(function(){for(var _0x45f2c3=[],_0x3f15ca=0x0;_0x3f15ca<0x100;_0x3f15ca++)_0x3f15ca<0x80?_0x45f2c3[_0x3f15ca]=_0x3f15ca<<0x1:_0x45f2c3[_0x3f15ca]=_0x3f15ca<<0x1^0x11b;for(var _0x2485a3=0x0,_0xe2261d=0x0,_0x3f15ca=0x0;_0x3f15ca<0x100;_0x3f15ca++){var _0x3dc321=_0xe2261d^_0xe2261d<<0x1^_0xe2261d<<0x2^_0xe2261d<<0x3^_0xe2261d<<0x4;_0x3dc321=_0x3dc321>>>0x8^_0x3dc321&0xff^0x63,_0x4bc5f5[_0x2485a3]=_0x3dc321,_0x37d3c3[_0x3dc321]=_0x2485a3;var _0xa5c47d=_0x45f2c3[_0x2485a3],_0x18c46f=_0x45f2c3[_0xa5c47d],_0x4fce84=_0x45f2c3[_0x18c46f],_0x50856e=_0x45f2c3[_0x3dc321]*0x101^_0x3dc321*0x1010100;_0x37e554[_0x2485a3]=_0x50856e<<0x18|_0x50856e>>>0x8,_0x4f7b81[_0x2485a3]=_0x50856e<<0x10|_0x50856e>>>0x10,_0x524e6b[_0x2485a3]=_0x50856e<<0x8|_0x50856e>>>0x18,_0x299efe[_0x2485a3]=_0x50856e;var _0x50856e=_0x4fce84*0x1010101^_0x18c46f*0x10001^_0xa5c47d*0x101^_0x2485a3*0x1010100;_0x558c26[_0x3dc321]=_0x50856e<<0x18|_0x50856e>>>0x8,_0x7c8cd3[_0x3dc321]=_0x50856e<<0x10|_0x50856e>>>0x10,_0x2ece31[_0x3dc321]=_0x50856e<<0x8|_0x50856e>>>0x18,_0x402da3[_0x3dc321]=_0x50856e,_0x2485a3?(_0x2485a3=_0xa5c47d^_0x45f2c3[_0x45f2c3[_0x45f2c3[_0x4fce84^_0xa5c47d]]],_0xe2261d^=_0x45f2c3[_0x45f2c3[_0xe2261d]]):_0x2485a3=_0xe2261d=0x1;}}());var _0x3001bf=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5749ef=_0x1fce26['AES']=_0x126d70[_0x127c41(0x2c6)]({'_doReset':function(){var _0x2fac1a=_0x127c41,_0x4507a9;if(!(this[_0x2fac1a(0x323)]&&this[_0x2fac1a(0x275)]===this[_0x2fac1a(0x21a)])){for(var _0x212905=this[_0x2fac1a(0x275)]=this[_0x2fac1a(0x21a)],_0x305be6=_0x212905[_0x2fac1a(0x475)],_0x50b458=_0x212905['sigBytes']/0x4,_0xfe7ccf=this[_0x2fac1a(0x323)]=_0x50b458+0x6,_0xd4307=(_0xfe7ccf+0x1)*0x4,_0x2df272=this[_0x2fac1a(0x458)]=[],_0x2b3cee=0x0;_0x2b3cee<_0xd4307;_0x2b3cee++)_0x2b3cee<_0x50b458?_0x2df272[_0x2b3cee]=_0x305be6[_0x2b3cee]:(_0x4507a9=_0x2df272[_0x2b3cee-0x1],_0x2b3cee%_0x50b458?_0x50b458>0x6&&_0x2b3cee%_0x50b458==0x4&&(_0x4507a9=_0x4bc5f5[_0x4507a9>>>0x18]<<0x18|_0x4bc5f5[_0x4507a9>>>0x10&0xff]<<0x10|_0x4bc5f5[_0x4507a9>>>0x8&0xff]<<0x8|_0x4bc5f5[_0x4507a9&0xff]):(_0x4507a9=_0x4507a9<<0x8|_0x4507a9>>>0x18,_0x4507a9=_0x4bc5f5[_0x4507a9>>>0x18]<<0x18|_0x4bc5f5[_0x4507a9>>>0x10&0xff]<<0x10|_0x4bc5f5[_0x4507a9>>>0x8&0xff]<<0x8|_0x4bc5f5[_0x4507a9&0xff],_0x4507a9^=_0x3001bf[_0x2b3cee/_0x50b458|0x0]<<0x18),_0x2df272[_0x2b3cee]=_0x2df272[_0x2b3cee-_0x50b458]^_0x4507a9);for(var _0x49fba2=this[_0x2fac1a(0x356)]=[],_0x100c7e=0x0;_0x100c7e<_0xd4307;_0x100c7e++){var _0x2b3cee=_0xd4307-_0x100c7e;if(_0x100c7e%0x4)var _0x4507a9=_0x2df272[_0x2b3cee];else var _0x4507a9=_0x2df272[_0x2b3cee-0x4];_0x100c7e<0x4||_0x2b3cee<=0x4?_0x49fba2[_0x100c7e]=_0x4507a9:_0x49fba2[_0x100c7e]=_0x558c26[_0x4bc5f5[_0x4507a9>>>0x18]]^_0x7c8cd3[_0x4bc5f5[_0x4507a9>>>0x10&0xff]]^_0x2ece31[_0x4bc5f5[_0x4507a9>>>0x8&0xff]]^_0x402da3[_0x4bc5f5[_0x4507a9&0xff]];}}},'encryptBlock':function(_0x17409b,_0x1ff5bf){var _0x1a138a=_0x127c41;this[_0x1a138a(0x29f)](_0x17409b,_0x1ff5bf,this['_keySchedule'],_0x37e554,_0x4f7b81,_0x524e6b,_0x299efe,_0x4bc5f5);},'decryptBlock':function(_0x22d458,_0x1e8711){var _0xb0948e=_0x127c41,_0x31d762=_0x22d458[_0x1e8711+0x1];_0x22d458[_0x1e8711+0x1]=_0x22d458[_0x1e8711+0x3],_0x22d458[_0x1e8711+0x3]=_0x31d762,this[_0xb0948e(0x29f)](_0x22d458,_0x1e8711,this[_0xb0948e(0x356)],_0x558c26,_0x7c8cd3,_0x2ece31,_0x402da3,_0x37d3c3);var _0x31d762=_0x22d458[_0x1e8711+0x1];_0x22d458[_0x1e8711+0x1]=_0x22d458[_0x1e8711+0x3],_0x22d458[_0x1e8711+0x3]=_0x31d762;},'_doCryptBlock':function(_0x1b6fbb,_0x55ed96,_0x287089,_0x551866,_0x46d718,_0x36a2a7,_0x15763d,_0x94d1eb){var _0x3617eb=_0x127c41;for(var _0x20ef49=this[_0x3617eb(0x323)],_0x24bb51=_0x1b6fbb[_0x55ed96]^_0x287089[0x0],_0x319c52=_0x1b6fbb[_0x55ed96+0x1]^_0x287089[0x1],_0x2771c2=_0x1b6fbb[_0x55ed96+0x2]^_0x287089[0x2],_0x23cd78=_0x1b6fbb[_0x55ed96+0x3]^_0x287089[0x3],_0x23ba82=0x4,_0x2c0622=0x1;_0x2c0622<_0x20ef49;_0x2c0622++){var _0x15a27f=_0x551866[_0x24bb51>>>0x18]^_0x46d718[_0x319c52>>>0x10&0xff]^_0x36a2a7[_0x2771c2>>>0x8&0xff]^_0x15763d[_0x23cd78&0xff]^_0x287089[_0x23ba82++],_0x50cdd6=_0x551866[_0x319c52>>>0x18]^_0x46d718[_0x2771c2>>>0x10&0xff]^_0x36a2a7[_0x23cd78>>>0x8&0xff]^_0x15763d[_0x24bb51&0xff]^_0x287089[_0x23ba82++],_0x4e9ff7=_0x551866[_0x2771c2>>>0x18]^_0x46d718[_0x23cd78>>>0x10&0xff]^_0x36a2a7[_0x24bb51>>>0x8&0xff]^_0x15763d[_0x319c52&0xff]^_0x287089[_0x23ba82++],_0x2148ae=_0x551866[_0x23cd78>>>0x18]^_0x46d718[_0x24bb51>>>0x10&0xff]^_0x36a2a7[_0x319c52>>>0x8&0xff]^_0x15763d[_0x2771c2&0xff]^_0x287089[_0x23ba82++];_0x24bb51=_0x15a27f,_0x319c52=_0x50cdd6,_0x2771c2=_0x4e9ff7,_0x23cd78=_0x2148ae;}var _0x15a27f=(_0x94d1eb[_0x24bb51>>>0x18]<<0x18|_0x94d1eb[_0x319c52>>>0x10&0xff]<<0x10|_0x94d1eb[_0x2771c2>>>0x8&0xff]<<0x8|_0x94d1eb[_0x23cd78&0xff])^_0x287089[_0x23ba82++],_0x50cdd6=(_0x94d1eb[_0x319c52>>>0x18]<<0x18|_0x94d1eb[_0x2771c2>>>0x10&0xff]<<0x10|_0x94d1eb[_0x23cd78>>>0x8&0xff]<<0x8|_0x94d1eb[_0x24bb51&0xff])^_0x287089[_0x23ba82++],_0x4e9ff7=(_0x94d1eb[_0x2771c2>>>0x18]<<0x18|_0x94d1eb[_0x23cd78>>>0x10&0xff]<<0x10|_0x94d1eb[_0x24bb51>>>0x8&0xff]<<0x8|_0x94d1eb[_0x319c52&0xff])^_0x287089[_0x23ba82++],_0x2148ae=(_0x94d1eb[_0x23cd78>>>0x18]<<0x18|_0x94d1eb[_0x24bb51>>>0x10&0xff]<<0x10|_0x94d1eb[_0x319c52>>>0x8&0xff]<<0x8|_0x94d1eb[_0x2771c2&0xff])^_0x287089[_0x23ba82++];_0x1b6fbb[_0x55ed96]=_0x15a27f,_0x1b6fbb[_0x55ed96+0x1]=_0x50cdd6,_0x1b6fbb[_0x55ed96+0x2]=_0x4e9ff7,_0x1b6fbb[_0x55ed96+0x3]=_0x2148ae;},'keySize':0x100/0x20});_0x442e0f[_0x127c41(0x33f)]=_0x126d70[_0x127c41(0x3e4)](_0x5749ef);}()),_0x59e9d1[_0x2d5f2c(0x33f)];}));}(We)),We[_0x4f69b9(0x2f5)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x376409(0x2f5)],ci;function sr(){var _0x3ebd88=_0x376409;return ci||(ci=0x1,function(_0xccc502,_0x3bcb61){(function(_0x205f62,_0x212b33){var _0x58324a=_0x1c43;_0xccc502[_0x58324a(0x2f5)]=_0x212b33(ne());}(nr,function(_0x3dfc1d){var _0x18b5b0=_0x1c43;return _0x3dfc1d[_0x18b5b0(0x2f7)]['Utf8'];}));}(Ze)),Ze[_0x3ebd88(0x2f5)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x376409(0x2f5)],hi;function cr(){var _0x396b62=_0x376409;return hi||(hi=0x1,function(_0x225d9a,_0x210b9d){(function(_0x14eb4b,_0x28b3fb){var _0x43d4f1=_0x1c43;_0x225d9a[_0x43d4f1(0x2f5)]=_0x28b3fb(ne());}(ar,function(_0x44c22b){var _0x2ccf08=_0x1c43;return(function(){var _0x21eda7=_0x1c43;if(typeof ArrayBuffer==_0x21eda7(0x269)){var _0x43f49a=_0x44c22b,_0x496544=_0x43f49a[_0x21eda7(0x40d)],_0x27f37c=_0x496544['WordArray'],_0x15fcf2=_0x27f37c[_0x21eda7(0x2fd)],_0x581e67=_0x27f37c['init']=function(_0x473bdf){var _0x469154=_0x21eda7;if(_0x473bdf instanceof ArrayBuffer&&(_0x473bdf=new Uint8Array(_0x473bdf)),(_0x473bdf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x473bdf instanceof Uint8ClampedArray||_0x473bdf instanceof Int16Array||_0x473bdf instanceof Uint16Array||_0x473bdf instanceof Int32Array||_0x473bdf instanceof Uint32Array||_0x473bdf instanceof Float32Array||_0x473bdf instanceof Float64Array)&&(_0x473bdf=new Uint8Array(_0x473bdf['buffer'],_0x473bdf[_0x469154(0x3a7)],_0x473bdf[_0x469154(0x25f)])),_0x473bdf instanceof Uint8Array){for(var _0xc426f9=_0x473bdf[_0x469154(0x25f)],_0x4cad2c=[],_0x35887a=0x0;_0x35887a<_0xc426f9;_0x35887a++)_0x4cad2c[_0x35887a>>>0x2]|=_0x473bdf[_0x35887a]<<0x18-_0x35887a%0x4*0x8;_0x15fcf2[_0x469154(0x380)](this,_0x4cad2c,_0xc426f9);}else _0x15fcf2[_0x469154(0x1b9)](this,arguments);};_0x581e67[_0x21eda7(0x223)]=_0x27f37c;}}()),_0x44c22b[_0x2ccf08(0x40d)][_0x2ccf08(0x1c6)];}));}(Qe)),Qe[_0x396b62(0x2f5)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et['exports'],_i;function ur(){var _0x3727a5=_0x376409;return _i||(_i=0x1,function(_0x4fdcad,_0x32a617){(function(_0x259edc,_0x3a5ba8,_0x32eb9b){_0x4fdcad['exports']=_0x3a5ba8(ne(),Ai());}(lr,function(_0x46b29d){var _0x48b45f=_0x1c43;return _0x46b29d[_0x48b45f(0x32e)][_0x48b45f(0x3aa)]={'pad':function(){},'unpad':function(){}},_0x46b29d['pad'][_0x48b45f(0x3aa)];}));}(et)),et[_0x3727a5(0x2f5)];}var dr=ur();const fr=je(dr);function vr(_0x2fb167,_0xb1ec6f){var _0x14966d=_0x376409;const _0x34d79e=_0xb1ec6f-_0x2fb167['length']%_0xb1ec6f,_0x584121=String[_0x14966d(0x419)](_0x34d79e)['repeat'](_0x34d79e);return _0x2fb167+_0x584121;}function pr(_0x1de7e4,_0x206841){var _0x512a77=_0x376409;const _0x274a76=_r[_0x512a77(0x3d6)](0x10),_0x3c6eeb=vr(_0x1de7e4,0x10),_0x427172=tr[_0x512a77(0x1f1)](or['parse'](_0x3c6eeb),ai['parse'](_0x206841),{'iv':_0x274a76,'padding':fr});return _0x274a76['concat'](_0x427172['ciphertext'])[_0x512a77(0x3f1)](ai);}function gr(){var _0x1c4aba=_0x376409;const _0x2d6cfc=_0x2a6fa5()[_0x1c4aba(0x3e1)];if(_0x2d6cfc){const _0x2488a6={'time':Math[_0x1c4aba(0x261)](Date[_0x1c4aba(0x1b0)]()/0x3e8),'domain':location[_0x1c4aba(0x294)]};return pr(JSON[_0x1c4aba(0x2c4)](_0x2488a6),_0x2d6cfc);}}var mr=Object['defineProperty'],Sr=Object[_0x376409(0x2cd)],Er=(_0x30c290,_0x366512,_0x3c5ae0,_0x50a780)=>{var _0x2a87b3=_0x376409;for(var _0x3e5206=_0x50a780>0x1?void 0x0:_0x50a780?Sr(_0x366512,_0x3c5ae0):_0x366512,_0x2218d6=_0x30c290[_0x2a87b3(0x2ce)]-0x1,_0x1c870e;_0x2218d6>=0x0;_0x2218d6--)(_0x1c870e=_0x30c290[_0x2218d6])&&(_0x3e5206=(_0x50a780?_0x1c870e(_0x366512,_0x3c5ae0,_0x3e5206):_0x1c870e(_0x3e5206))||_0x3e5206);return _0x50a780&&_0x3e5206&&mr(_0x366512,_0x3c5ae0,_0x3e5206),_0x3e5206;},Ir=(_0x2c0490,_0xcaeec5)=>(_0x383934,_0x522ec3)=>_0xcaeec5(_0x383934,_0x522ec3,_0x2c0490);let at=class{constructor(_0x18d742){var _0x3257ee=_0x376409;this['_httpService']=_0x18d742,this[_0x3257ee(0x369)]();}['_initRequestHeader'](){var _0xdd17b4=_0x376409;this['_httpService'][_0xdd17b4(0x1da)]({'interceptor':(_0x269de0,_0x15bc7f)=>{var _0xb6cc16=_0xdd17b4;const _0x2eefc7=_0x269de0[_0xb6cc16(0x1af)],_0x3bd7d9=gr();return _0x3bd7d9&&_0x2eefc7[_0xb6cc16(0x3f5)](_0xb6cc16(0x302),_0x3bd7d9),_0x15bc7f(_0x269de0);}});}};at=Er([Ir(0x0,_0x49f53f(_0x4a7d71))],at);var Tr=Object[_0x376409(0x367)],Cr=Object[_0x376409(0x2cd)],br=(_0x34511b,_0x3a52c2,_0x4f2fc9,_0x4a8ac4)=>{var _0x5ea83a=_0x376409;for(var _0x212b98=_0x4a8ac4>0x1?void 0x0:_0x4a8ac4?Cr(_0x3a52c2,_0x4f2fc9):_0x3a52c2,_0x22f24b=_0x34511b[_0x5ea83a(0x2ce)]-0x1,_0x4a610b;_0x22f24b>=0x0;_0x22f24b--)(_0x4a610b=_0x34511b[_0x22f24b])&&(_0x212b98=(_0x4a8ac4?_0x4a610b(_0x3a52c2,_0x4f2fc9,_0x212b98):_0x4a610b(_0x212b98))||_0x212b98);return _0x4a8ac4&&_0x212b98&&Tr(_0x3a52c2,_0x4f2fc9,_0x212b98),_0x212b98;},mt=(_0x4aba1e,_0x1af193)=>(_0x2b479e,_0x4215c0)=>_0x1af193(_0x2b479e,_0x4215c0,_0x4aba1e);let Ot=class extends _0x46baed{constructor(_0x2bb51a,_0x3f9fcd,_0x5f3bd4){var _0x303255=_0x376409;super(),D(this,_0x303255(0x225),new _0x2eae86(null)),D(this,'unitInfo$',this[_0x303255(0x225)][_0x303255(0x363)]()),(this[_0x303255(0x442)]=_0x2bb51a,this[_0x303255(0x3dc)]=_0x3f9fcd,this[_0x303255(0x3d3)]=_0x5f3bd4);}async['loadUnit'](_0x19f2bc,_0x885577,_0x46e842){var _0x3fd048=_0x376409;this[_0x3fd048(0x225)][_0x3fd048(0x33d)]({'unitId':_0x19f2bc,'type':_0x885577,'subUnitId':_0x46e842});let _0x5b43fc=null;switch(_0x885577){case Q['UNIVER_SHEET']:{_0x5b43fc=await this[_0x3fd048(0x2d9)](_0x19f2bc);break;}case Q[_0x3fd048(0x3a8)]:{_0x5b43fc=await this[_0x3fd048(0x2b2)](_0x19f2bc);break;}default:{this[_0x3fd048(0x442)][_0x3fd048(0x1f6)]('[DataLoaderService]',_0x3fd048(0x398));break;}}return _0x5b43fc;}async[_0x376409(0x2d9)](_0x1b1ee6){var _0x1155e8=_0x376409,_0x4a55fd;let _0x13c8dc=0x0;const _0x4ffe63=await((_0x4a55fd=this[_0x1155e8(0x3d3)])==null?void 0x0:_0x4a55fd[_0x1155e8(0x40a)](_0x1b1ee6));return _0x4ffe63&&(_0x4ffe63[_0x1155e8(0x2b0)]||_0x4ffe63[_0x1155e8(0x263)][_0x1155e8(0x2ce)]!==0x0)&&(_0x13c8dc=_0x4ffe63[_0x1155e8(0x2e2)]),_0x13c8dc===0x0&&this[_0x1155e8(0x442)][_0x1155e8(0x26f)](_0x1155e8(0x34c),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1155e8(0x26c)](_0x1b1ee6,_0x13c8dc);}async[_0x376409(0x2b2)](_0x5dd673){var _0x29db31=_0x376409,_0x211b3b;let _0x460d4f=0x0;const _0xbd5546=await((_0x211b3b=this[_0x29db31(0x3d3)])==null?void 0x0:_0x211b3b[_0x29db31(0x40a)](_0x5dd673));return _0xbd5546&&(_0xbd5546[_0x29db31(0x2b0)]||_0xbd5546[_0x29db31(0x263)][_0x29db31(0x2ce)]!==0x0)&&(_0x460d4f=_0xbd5546['rev']),_0x460d4f===0x0&&this[_0x29db31(0x442)]['debug'](_0x29db31(0x34c),_0x29db31(0x181)),this['_snapshotService']['loadDoc'](_0x5dd673,_0x460d4f);}};Ot=br([mt(0x0,_0x3bfb06),mt(0x1,_0x49f53f(_0x422ef9)),mt(0x2,_0x59dc08(X))],Ot);var Rr=Object[_0x376409(0x367)],yr=Object[_0x376409(0x2cd)],Or=(_0x4996fe,_0x4baa61,_0xe3e7d1,_0x4668d4)=>{for(var _0x343d7c=_0x4668d4>0x1?void 0x0:_0x4668d4?yr(_0x4baa61,_0xe3e7d1):_0x4baa61,_0x4d5faa=_0x4996fe['length']-0x1,_0x7205ed;_0x4d5faa>=0x0;_0x4d5faa--)(_0x7205ed=_0x4996fe[_0x4d5faa])&&(_0x343d7c=(_0x4668d4?_0x7205ed(_0x4baa61,_0xe3e7d1,_0x343d7c):_0x7205ed(_0x343d7c))||_0x343d7c);return _0x4668d4&&_0x343d7c&&Rr(_0x4baa61,_0xe3e7d1,_0x343d7c),_0x343d7c;},St=(_0x507249,_0x53a1ac)=>(_0x4635af,_0x40e260)=>_0x53a1ac(_0x4635af,_0x40e260,_0x507249);const Pr=[_0x376409(0x333),_0x376409(0x36f),_0x376409(0x246),_0x376409(0x222),_0x376409(0x439)],Nr=0x5*0x400*0x400,Dr=_0x376409(0x378),wr=_0x376409(0x346),Ur=_0x376409(0x387),Ar=_0x376409(0x421);let Pt=class{constructor(_0x552a3a,_0x287e7e,_0x5c662a){var _0x5a5a41=_0x376409;D(this,_0x5a5a41(0x194),0x0),D(this,_0x5a5a41(0x428),new _0x104c91()),D(this,_0x5a5a41(0x318),this[_0x5a5a41(0x428)]),D(this,_0x5a5a41(0x38b),new Map()),(this[_0x5a5a41(0x3a9)]=_0x552a3a,this[_0x5a5a41(0x19f)]=_0x287e7e,this[_0x5a5a41(0x299)]=_0x5c662a);}['setWaitCount'](_0x4f1f96){var _0x46f25d=_0x376409;this[_0x46f25d(0x194)]=_0x4f1f96,this[_0x46f25d(0x428)][_0x46f25d(0x33d)](_0x4f1f96);}[_0x376409(0x3ab)](_0xda2943,_0x1b6e47){var _0x1dfe07=_0x376409;if(_0x1b6e47===_0x217d5e[_0x1dfe07(0x3bb)]){const _0x5d5701=new Image();return _0x5d5701[_0x1dfe07(0x3ea)]=_0xda2943,_0x5d5701;}return this[_0x1dfe07(0x38b)][_0x1dfe07(0x358)](_0xda2943);}[_0x376409(0x256)](_0xd833,_0x304591,_0x57b2d0){var _0x3152d5=_0x376409;_0x304591===_0x217d5e['BASE64']||_0x57b2d0==null||this['_imageSourceCache'][_0x3152d5(0x3f5)](_0xd833,_0x57b2d0);}async[_0x376409(0x1d7)](_0x3f27d1){var _0x4ce159=_0x376409;try{const _0x1b5102=this[_0x4ce159(0x3e3)](this[_0x4ce159(0x265)](),''+_0x3f27d1),_0x2717ac=(await this[_0x4ce159(0x3a9)][_0x4ce159(0x358)](_0x1b5102))['body'];if(_0x2717ac[_0x4ce159(0x1f6)]&&_0x2717ac['error']['code']===Ii['OK']){const _0x1262f0=new URL(_0x2717ac['url'],this[_0x4ce159(0x44b)]())[_0x4ce159(0x3f1)]();return Promise[_0x4ce159(0x1ee)](_0x1262f0);}return Promise[_0x4ce159(0x2ee)](_0x2717ac[_0x4ce159(0x1f6)]);}catch(_0x18f1fd){return Promise[_0x4ce159(0x2ee)](_0x18f1fd);}}async[_0x376409(0x422)](_0x338828){var _0x2e51ad=_0x376409;let _0x47dd8f='';if(!Pr[_0x2e51ad(0x463)](_0x338828[_0x2e51ad(0x192)]))return this[_0x2e51ad(0x2e4)](),Promise[_0x2e51ad(0x2ee)](new Error(_0xc4aafb[_0x2e51ad(0x2bc)]));if(_0x338828['size']>Nr)return this[_0x2e51ad(0x2e4)](),Promise[_0x2e51ad(0x2ee)](new Error(_0xc4aafb['ERROR_EXCEED_SIZE']));try{const _0x5b7ea4=new FormData();_0x5b7ea4[_0x2e51ad(0x277)](_0x2e51ad(0x46e),_0x338828);const _0x3d9dec=this[_0x2e51ad(0x299)][_0x2e51ad(0x3fa)](),_0x413929=_0x3d9dec==null?void 0x0:_0x3d9dec[_0x2e51ad(0x2b9)]();if(!_0x413929)throw new Error('unitId\x20is\x20not\x20found');const _0xd78812=this[_0x2e51ad(0x3e5)]()+_0x2e51ad(0x376)+_0x338828[_0x2e51ad(0x362)]['toString']()+_0x2e51ad(0x3f0)+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x413929),_0x4bee99=await(await fetch(_0xd78812,{'method':'POST','body':_0x5b7ea4}))[_0x2e51ad(0x366)]();if(typeof _0x4bee99[_0x2e51ad(0x3c6)]!=_0x2e51ad(0x444))return this[_0x2e51ad(0x2e4)](),Promise[_0x2e51ad(0x2ee)](new Error(_0xc4aafb['ERROR_IMAGE']));_0x47dd8f=_0x4bee99['FileId'];}catch{return this[_0x2e51ad(0x2e4)](),Promise[_0x2e51ad(0x2ee)](new Error(_0xc4aafb[_0x2e51ad(0x19e)]));}return new Promise((_0x3bf71c,_0x2c9f1d)=>{var _0x14b62e=_0x2e51ad;const _0x13ef2d=new FileReader();_0x13ef2d[_0x14b62e(0x19b)](_0x338828),_0x13ef2d[_0x14b62e(0x241)]=_0x56d7ea=>{var _0x45b940=_0x14b62e,_0x4704a4;const _0x19cfc9=(_0x4704a4=_0x56d7ea['target'])==null?void 0x0:_0x4704a4[_0x45b940(0x272)];if(_0x19cfc9==null){this[_0x45b940(0x2e4)](),_0x2c9f1d(new Error(_0xc4aafb[_0x45b940(0x19e)]));return;}const _0x54e623=_0x573c3e['generateRandomId'](0x6);_0x3bf71c({'imageId':_0x54e623,'imageSourceType':_0x217d5e[_0x45b940(0x290)],'source':_0x47dd8f,'base64Cache':_0x19cfc9,'status':_0xc4aafb[_0x45b940(0x3b4)]}),this[_0x45b940(0x2e4)]();};});}[_0x376409(0x3e5)](){var _0x443d53=_0x376409,_0x2398dc,_0x2ca16c;const _0x5ecd9a=this[_0x443d53(0x19f)]['getConfig'](Dr),_0x1965ee=this[_0x443d53(0x19f)]['getConfig'](Y);return(_0x2ca16c=(_0x2398dc=_0x1965ee==null?void 0x0:_0x1965ee[_0x443d53(0x238)])!=null?_0x2398dc:_0x5ecd9a)!=null?_0x2ca16c:wr;}[_0x376409(0x265)](){var _0x45392d=_0x376409,_0x4fbed3,_0x1f6a92;const _0x3b5c17=this['_configService'][_0x45392d(0x335)](Ur),_0x11cf63=this[_0x45392d(0x19f)]['getConfig'](Y);return(_0x1f6a92=(_0x4fbed3=_0x11cf63==null?void 0x0:_0x11cf63[_0x45392d(0x3d0)])!=null?_0x4fbed3:_0x3b5c17)!=null?_0x1f6a92:Ar;}['_getDownloadEndpointURL'](){var _0x294d7e=_0x376409,_0x47ceb9;const _0x5646d4=this[_0x294d7e(0x19f)][_0x294d7e(0x335)](Y);return(_0x47ceb9=_0x5646d4==null?void 0x0:_0x5646d4[_0x294d7e(0x357)])!=null?_0x47ceb9:location[_0x294d7e(0x384)];}[_0x376409(0x3e3)](_0x505b6e,_0x15f542){var _0x71fa90=_0x376409;return _0x505b6e[_0x71fa90(0x284)]('{fileID}',_0x15f542);}['_decreaseWaiting'](){var _0x2a4daa=_0x376409;this['_waitCount']-=0x1,this[_0x2a4daa(0x428)][_0x2a4daa(0x33d)](this[_0x2a4daa(0x194)]);}};Pt=Or([St(0x0,_0x49f53f(_0x4a7d71)),St(0x1,_0x574946),St(0x2,_0x49f53f(_0x2c9805))],Pt);var xr=Object['defineProperty'],Lr=Object[_0x376409(0x2cd)],Mr=(_0x178264,_0x2b0ed5,_0xb0fc20,_0x44de49)=>{for(var _0x55705=_0x44de49>0x1?void 0x0:_0x44de49?Lr(_0x2b0ed5,_0xb0fc20):_0x2b0ed5,_0x492805=_0x178264['length']-0x1,_0x575bf5;_0x492805>=0x0;_0x492805--)(_0x575bf5=_0x178264[_0x492805])&&(_0x55705=(_0x44de49?_0x575bf5(_0x2b0ed5,_0xb0fc20,_0x55705):_0x575bf5(_0x55705))||_0x55705);return _0x44de49&&_0x55705&&xr(_0x2b0ed5,_0xb0fc20,_0x55705),_0x55705;},li=(_0x52092a,_0x1ed219)=>(_0x21be33,_0x52d834)=>_0x1ed219(_0x21be33,_0x52d834,_0x52092a);const $r=_0x376409(0x355);let Nt=class{constructor(_0x2b0dbd,_0x3bc1e7){var _0x566e3d=_0x376409;this[_0x566e3d(0x19f)]=_0x2b0dbd,this[_0x566e3d(0x316)]=_0x3bc1e7;}[_0x376409(0x1b6)](){var _0x601ee7=_0x376409,_0x427bc7,_0x3ba55a;const _0x5ba44b=this['_configService'][_0x601ee7(0x335)](Di),_0x1259e4=this[_0x601ee7(0x19f)][_0x601ee7(0x335)](Y);return(_0x3ba55a=(_0x427bc7=_0x1259e4==null?void 0x0:_0x1259e4[_0x601ee7(0x257)])!=null?_0x427bc7:_0x5ba44b)!=null?_0x3ba55a:$r;}async['list'](_0x37e943){var _0x33ec4a=_0x376409;const _0x42ff76=this['_getAPIPrefixPath']()+_0x33ec4a(0x3b1);return{'list':[{'title':_0x33ec4a(0x341),'mentions':(await this['_HTTPService'][_0x33ec4a(0x358)](_0x42ff76,{'params':{'objectID':_0x37e943[_0x33ec4a(0x205)],'unitID':_0x37e943[_0x33ec4a(0x205)]}}))[_0x33ec4a(0x3c1)][_0x33ec4a(0x430)]['map'](_0x1cb501=>({'objectId':_0x1cb501['id'],'name':_0x1cb501[_0x33ec4a(0x446)]['name'],'metadata':{'icon':_0x1cb501[_0x33ec4a(0x446)][_0x33ec4a(0x459)]},'label':_0x1cb501[_0x33ec4a(0x446)][_0x33ec4a(0x44e)],'objectType':_0x4e577b[_0x33ec4a(0x188)]})),'metadata':{},'type':_0x4e577b[_0x33ec4a(0x188)]}]};}};Nt=Mr([li(0x0,_0x49f53f(_0x574946)),li(0x1,_0x49f53f(_0x4a7d71))],Nt);var Hr=Object['defineProperty'],kr=Object[_0x376409(0x2cd)],jr=(_0x58d05b,_0x60d42b,_0x361279,_0x36fcf7)=>{for(var _0x11df02=_0x36fcf7>0x1?void 0x0:_0x36fcf7?kr(_0x60d42b,_0x361279):_0x60d42b,_0x4270ac=_0x58d05b['length']-0x1,_0x206fd6;_0x4270ac>=0x0;_0x4270ac--)(_0x206fd6=_0x58d05b[_0x4270ac])&&(_0x11df02=(_0x36fcf7?_0x206fd6(_0x60d42b,_0x361279,_0x11df02):_0x206fd6(_0x11df02))||_0x11df02);return _0x36fcf7&&_0x11df02&&Hr(_0x60d42b,_0x361279,_0x11df02),_0x11df02;},Se=(_0x4b50bb,_0x2ccac5)=>(_0x31303f,_0xdc8ac0)=>_0x2ccac5(_0x31303f,_0xdc8ac0,_0x4b50bb);let ct=class extends _0x46baed{constructor(_0x3cac45,_0x37d2e4,_0x121e18,_0x499b2b,_0x54a6ea,_0x5c738a,_0x32368a){var _0x490513=_0x376409;super(),this[_0x490513(0x2d7)]=_0x3cac45,this[_0x490513(0x299)]=_0x37d2e4,this[_0x490513(0x391)]=_0x121e18,this['_collaborationSessionService']=_0x499b2b,this[_0x490513(0x2b5)]=_0x54a6ea,this[_0x490513(0x229)]=_0x5c738a,this['_undoRedoService']=_0x32368a,this['_initUnitPermissionChange'](),this[_0x490513(0x29a)]();}[_0x376409(0x29a)](){var _0x28118a=_0x376409;const _0x421068=async _0x2b83a4=>{var _0x1fd087=_0x1c43;(await this[_0x1fd087(0x39c)][_0x1fd087(0x3ed)](_0x2b83a4))['event$'][_0x1fd087(0x2d3)](_0x4b995b(_0x4b1f88=>_0x4b1f88['eventID']===_0x35b08b['SHOULD_CLOSE_CONN']),_0x2c5716(this[_0x1fd087(0x1bb)]))[_0x1fd087(0x417)](_0x290f3b=>{var _0x2db18f=_0x1fd087;const _0xde491d=_0x290f3b,{reason:_0x2ee7d0}=_0xde491d[_0x2db18f(0x2e0)];this['_collaborationUIEventService'][_0x2db18f(0x228)]({'id':se[_0x2db18f(0x45a)],'data':_0x2ee7d0}),this[_0x2db18f(0x391)][_0x2db18f(0x24f)](new _0x114bbf(_0x2b83a4)['id'],!0x1),this[_0x2db18f(0x39c)][_0x2db18f(0x348)](_0x2b83a4);});};_0x82c328(this['_univerInstanceService'][_0x28118a(0x25c)](_0x26b476[_0x28118a(0x480)]),this[_0x28118a(0x299)][_0x28118a(0x25c)](_0x26b476[_0x28118a(0x3a8)]))['pipe'](_0x225490(_0x106a77=>_0x106a77[_0x28118a(0x2b9)]()),_0x4b995b(_0x43a358=>!_0x571d49(_0x43a358)),_0x2c5716(this[_0x28118a(0x1bb)]))[_0x28118a(0x417)](_0x216149=>{_0x421068(_0x216149);});}[_0x376409(0x24d)](){var _0x3a229f=_0x376409;const _0x39c844=async _0x315824=>{var _0x5c2af4=_0x1c43;(await this[_0x5c2af4(0x39c)][_0x5c2af4(0x3ed)](_0x315824))[_0x5c2af4(0x34d)]['pipe'](_0x4b995b(_0x5c399b=>_0x5c399b['eventID']===_0x35b08b[_0x5c2af4(0x436)]),_0x2c5716(this['dispose$']))['subscribe'](_0x30e0f5=>{var _0x335191=_0x5c2af4;const _0x19c2e3=_0x30e0f5,{objectId:_0xbc379e}=_0x19c2e3['data'];_0xbc379e===_0x315824?this['initWorkbookPermissionChange'](_0x315824):this[_0x335191(0x3cc)](_0x315824,_0xbc379e);});};_0x82c328(this[_0x3a229f(0x299)][_0x3a229f(0x25c)](_0x26b476['UNIVER_SHEET']),this[_0x3a229f(0x299)]['getTypeOfUnitAdded$'](_0x26b476[_0x3a229f(0x3a8)]))[_0x3a229f(0x2d3)](_0x225490(_0x2ca8b7=>_0x2ca8b7['getUnitId']()),_0x4b995b(_0x4a5bbe=>!_0x571d49(_0x4a5bbe)),_0x2c5716(this[_0x3a229f(0x1bb)]))[_0x3a229f(0x417)](_0x2bbf63=>{_0x39c844(_0x2bbf63);});}async[_0x376409(0x185)](_0x3ff021){var _0x516efb=_0x376409,_0x34f01d;const _0x361187=_0x3ff021||((_0x34f01d=this[_0x516efb(0x299)][_0x516efb(0x429)](_0x26b476[_0x516efb(0x480)]))==null?void 0x0:_0x34f01d[_0x516efb(0x2b9)]());_0x361187&&this[_0x516efb(0x229)][_0x516efb(0x255)]({'objectID':_0x361187,'objectType':_0x47487a['Workbook'],'unitID':_0x361187,'actions':_0x2fc511})[_0x516efb(0x1d8)](_0x4d6df4=>{var _0xf62e4a=_0x516efb;_0x32e316()[_0xf62e4a(0x437)](_0x29117e=>{var _0x3d8648=_0xf62e4a;const _0x1b6e56=new _0x29117e(_0x361187),_0xaf3571=_0x1b6e56['subType'],_0x3f4b3e=_0x4d6df4[_0x3d8648(0x1f7)](_0x519bd3=>_0x519bd3[_0x3d8648(0x464)]===_0xaf3571);_0x3f4b3e&&this['_permissionService']['updatePermissionPoint'](_0x1b6e56['id'],_0x3f4b3e[_0x3d8648(0x255)]);});});}[_0x376409(0x3cc)](_0x3a3691,_0x1cf2f6){var _0xcb427=_0x376409;const _0x23cfe4=this[_0xcb427(0x2d7)][_0xcb427(0x358)](_0x3457c7),_0x527612=_0x23cfe4[_0xcb427(0x3a3)](_0x3a3691,_0x1cf2f6);let _0x35a7e0=!0x1;if(_0x527612){const [_0x190b54,_0x1b0300]=_0x527612;this[_0xcb427(0x229)][_0xcb427(0x255)]({'objectID':_0x1cf2f6,'unitID':_0x3a3691,'objectType':_0x47487a[_0xcb427(0x28c)],'actions':_0xadcd67})['then'](_0x494680=>{var _0xa5df24=_0xcb427;let _0x3660db='';_0x361b47()['forEach'](_0x14af61=>{var _0x1bfa94=_0x1c43,_0x50028e;const _0x344cf2=new _0x14af61(_0x3a3691,_0x1b0300),_0x4d77cd=_0x344cf2[_0x1bfa94(0x3f3)],_0xfbc398=_0x494680[_0x1bfa94(0x1f7)](_0x56567a=>_0x56567a['action']===_0x4d77cd);_0xfbc398&&(((_0x50028e=this[_0x1bfa94(0x391)][_0x1bfa94(0x32f)](_0x344cf2['id']))==null?void 0x0:_0x50028e[_0x1bfa94(0x467)])!==_0xfbc398[_0x1bfa94(0x255)]&&(_0x35a7e0=!0x0),this[_0x1bfa94(0x391)]['updatePermissionPoint'](_0x344cf2['id'],_0xfbc398[_0x1bfa94(0x255)]),_0x3660db+=_0xfbc398[_0x1bfa94(0x464)]+'_'+_0xfbc398[_0x1bfa94(0x255)]);}),_0x23cfe4[_0xa5df24(0x279)](_0x1cf2f6+'_'+_0x3660db),_0x35a7e0&&this['_undoRedoService'][_0xa5df24(0x3e8)](_0x3a3691);});}const _0x8fc7eb=this[_0xcb427(0x2d7)][_0xcb427(0x358)](_0x272e32)['getTargetByPermissionId'](_0x3a3691,_0x1cf2f6);if(_0x8fc7eb){const [_0xb5994b,_0x208b49]=_0x8fc7eb;this[_0xcb427(0x229)]['allowed']({'objectID':_0x1cf2f6,'unitID':_0x3a3691,'objectType':_0x47487a[_0xcb427(0x28c)],'actions':_0x386674})[_0xcb427(0x1d8)](_0x596ad9=>{var _0x2c6cc8=_0xcb427;_0x3f2530()[_0x2c6cc8(0x437)](_0x3fd3f6=>{var _0x4f2994=_0x2c6cc8,_0x120b46;const _0x3aa88d=new _0x3fd3f6(_0x3a3691,_0x208b49),_0xaa84da=_0x3aa88d[_0x4f2994(0x3f3)],_0x20c6c4=_0x596ad9[_0x4f2994(0x1f7)](_0x16eaea=>_0x16eaea[_0x4f2994(0x464)]===_0xaa84da);_0x20c6c4&&(((_0x120b46=this['_permissionService']['getPermissionPoint'](_0x3aa88d['id']))==null?void 0x0:_0x120b46[_0x4f2994(0x467)])!==_0x20c6c4['allowed']&&(_0x35a7e0=!0x0),this[_0x4f2994(0x391)][_0x4f2994(0x24f)](_0x3aa88d['id'],_0x20c6c4[_0x4f2994(0x255)]));}),_0x35a7e0&&this[_0x2c6cc8(0x1c4)][_0x2c6cc8(0x3e8)](_0x3a3691);});}const _0x5cf9bd=this['_injector']['get'](_0x21956a),_0x375c46=_0x5cf9bd['getTargetByPermissionId'](_0x3a3691,_0x1cf2f6);if(_0x375c46){const [_0x635dae,_0x20ae91]=_0x375c46;this[_0xcb427(0x229)][_0xcb427(0x255)]({'objectID':_0x1cf2f6,'unitID':_0x3a3691,'objectType':_0x47487a[_0xcb427(0x375)],'actions':_0xadcd67})[_0xcb427(0x1d8)](_0x5c1180=>{var _0x2bfd2f=_0xcb427;let _0x276efc='';_0x16087f()[_0x2bfd2f(0x437)](_0x4e5626=>{var _0x4c3acb=_0x2bfd2f,_0x4b7e7b;const _0x3f2e2f=new _0x4e5626(_0x3a3691,_0x20ae91,_0x1cf2f6),_0x23338c=_0x3f2e2f[_0x4c3acb(0x3f3)],_0x55fd0c=_0x5c1180[_0x4c3acb(0x1f7)](_0x23931c=>_0x23931c[_0x4c3acb(0x464)]===_0x23338c);_0x55fd0c&&(((_0x4b7e7b=this[_0x4c3acb(0x391)]['getPermissionPoint'](_0x3f2e2f['id']))==null?void 0x0:_0x4b7e7b[_0x4c3acb(0x467)])!==_0x55fd0c[_0x4c3acb(0x255)]&&(_0x35a7e0=!0x0),this['_permissionService'][_0x4c3acb(0x24f)](_0x3f2e2f['id'],_0x55fd0c[_0x4c3acb(0x255)]),_0x276efc+=_0x55fd0c[_0x4c3acb(0x464)]+'_'+_0x55fd0c[_0x4c3acb(0x255)]);}),_0x5cf9bd[_0x2bfd2f(0x279)](_0x1cf2f6+'_'+_0x276efc),_0x35a7e0&&this['_undoRedoService']['clearUndoRedo'](_0x3a3691);});}}};ct=jr([Se(0x0,_0x49f53f(_0x3e138a)),Se(0x1,_0x2c9805),Se(0x2,_0x43c214),Se(0x3,_0x49f53f(Me)),Se(0x4,_0x49f53f(pe)),Se(0x5,_0x1d8a5f),Se(0x6,_0x34122b)],ct);var Br=Object['defineProperty'],Fr=Object[_0x376409(0x2cd)],Vr=(_0x4ca6e4,_0x216551,_0x3e9626,_0x2bb84a)=>{var _0x568348=_0x376409;for(var _0x26d7f4=_0x2bb84a>0x1?void 0x0:_0x2bb84a?Fr(_0x216551,_0x3e9626):_0x216551,_0x22746d=_0x4ca6e4[_0x568348(0x2ce)]-0x1,_0x211da0;_0x22746d>=0x0;_0x22746d--)(_0x211da0=_0x4ca6e4[_0x22746d])&&(_0x26d7f4=(_0x2bb84a?_0x211da0(_0x216551,_0x3e9626,_0x26d7f4):_0x211da0(_0x26d7f4))||_0x26d7f4);return _0x2bb84a&&_0x26d7f4&&Br(_0x216551,_0x3e9626,_0x26d7f4),_0x26d7f4;},ui=(_0x369aba,_0x336f93)=>(_0x382664,_0x5aac98)=>_0x336f93(_0x382664,_0x5aac98,_0x369aba);let Dt=class{constructor(_0x20713a,_0x1c9dae){var _0x36b8f8=_0x376409;this[_0x36b8f8(0x19f)]=_0x20713a,this[_0x36b8f8(0x3a9)]=_0x1c9dae;}async[_0x376409(0x19d)](_0x246e00,_0x31f74d){var _0x161af3=_0x376409,_0xdb80c1;const {unitID:_0x27f9f5,type:_0x280053,revision:_0x4ebee5=0x0}=_0x31f74d,_0x2c2bcf=this[_0x161af3(0x3f2)]()+'/'+_0x280053+_0x161af3(0x2e6)+_0x27f9f5+'/rev/'+_0x4ebee5,_0x57f232=(await this['_httpService']['get'](_0x2c2bcf))['body'],_0x774abe=(_0xdb80c1=_0x57f232[_0x161af3(0x32a)])==null?void 0x0:_0xdb80c1[_0x161af3(0x1a5)];if(_0x774abe){const _0x431552=_0x774abe==null?void 0x0:_0x774abe[_0x161af3(0x213)],_0x106933=_0xfd157[_0x161af3(0x3ac)](_0x4990ec(_0x431552));_0x774abe[_0x161af3(0x213)]=_0x106933,Object['entries'](_0x774abe[_0x161af3(0x2c9)])[_0x161af3(0x437)](([,_0x54c6d5])=>{var _0x513525=_0x161af3;const _0x4dc194=_0x54c6d5['originalMeta'],_0x190ad1=_0xfd157['encode'](_0x4990ec(_0x4dc194));_0x54c6d5[_0x513525(0x213)]=_0x190ad1;});}return _0x57f232;}async['getSheetBlock'](_0x2eb3f9,_0x459752){var _0x528aa8=_0x376409;const {unitID:_0x344362,type:_0xac29e2,blockID:_0x29bf1d}=_0x459752,_0x53211d=this[_0x528aa8(0x2b4)]()+'/'+_0xac29e2+'/unit/'+_0x344362+_0x528aa8(0x2bf)+_0x29bf1d;return(await this['_httpService'][_0x528aa8(0x358)](_0x53211d))['body'];}async['getDeserializedSheetBlock'](_0x39f308,_0x4d04eb){var _0x2f01b3=_0x376409;const {unitID:_0x4880e4,type:_0x2bdf20,blockID:_0x53b338}=_0x4d04eb,_0x34d6ba=this[_0x2f01b3(0x2b4)]()+_0x2f01b3(0x2bf)+_0x2bdf20+_0x2f01b3(0x2e6)+_0x4880e4+_0x2f01b3(0x2bf)+_0x53b338;return(await this[_0x2f01b3(0x3a9)][_0x2f01b3(0x358)](_0x34d6ba))[_0x2f01b3(0x3c1)];}async[_0x376409(0x39b)](_0x4ca429,_0x4eb7d4){var _0x4d05bd=_0x376409;const {unitID:_0x316df4,type:_0x5140d3,from:_0x4fd8ad,to:_0x5053ed}=_0x4eb7d4,_0x53e78a=this['_getAPIPrefix']()+'/'+_0x5140d3+'/unit/'+_0x316df4+'/fetchmissing?from='+_0x4fd8ad+_0x4d05bd(0x31c)+_0x5053ed;return(await this[_0x4d05bd(0x3a9)][_0x4d05bd(0x358)](_0x53e78a))['body'];}[_0x376409(0x3f2)](){var _0x57131b=_0x376409,_0x515b35;return(_0x515b35=this[_0x57131b(0x19f)][_0x57131b(0x335)](Dn))!=null?_0x515b35:this[_0x57131b(0x2b4)]();}[_0x376409(0x2b4)](){var _0x2ecde7=_0x376409,_0x359932,_0x507bff;const _0x55f275=this[_0x2ecde7(0x19f)][_0x2ecde7(0x335)](Pn),_0x4d37af=this[_0x2ecde7(0x19f)][_0x2ecde7(0x335)](Y);return(_0x507bff=(_0x359932=_0x4d37af==null?void 0x0:_0x4d37af[_0x2ecde7(0x234)])!=null?_0x359932:_0x55f275)!=null?_0x507bff:Nn;}async[_0x376409(0x390)](_0x67471a,_0x1ad8e2){var _0xd964ad=_0x376409;const _0x428899=_0xd964ad(0x1aa)+_0x1ad8e2['type']+'/unit/'+_0x1ad8e2['unitID']+_0xd964ad(0x1e1);return(await this[_0xd964ad(0x3a9)][_0xd964ad(0x358)](_0x428899,{'params':{'resourceId':JSON[_0xd964ad(0x2c4)](_0x1ad8e2[_0xd964ad(0x2c2)])}}))[_0xd964ad(0x3c1)];}[_0x376409(0x45b)](){var _0x3aa815=_0x376409;throw new Error(_0x3aa815(0x1d6));}[_0x376409(0x26b)](){var _0x19e90a=_0x376409;throw new Error(_0x19e90a(0x1d6));}[_0x376409(0x3f7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x6e6592=_0x376409;throw new Error(_0x6e6592(0x1d6));}[_0x376409(0x400)](){var _0x15d90d=_0x376409;throw new Error(_0x15d90d(0x1d6));}};Dt=Vr([ui(0x0,_0x574946),ui(0x1,_0x49f53f(_0x4a7d71))],Dt);var Wr=Object[_0x376409(0x367)],Gr=Object[_0x376409(0x2cd)],Kr=(_0x1b2895,_0x3e4677,_0x4e5afd,_0x130a8d)=>{var _0x2c5895=_0x376409;for(var _0x48ef7e=_0x130a8d>0x1?void 0x0:_0x130a8d?Gr(_0x3e4677,_0x4e5afd):_0x3e4677,_0x28fb00=_0x1b2895[_0x2c5895(0x2ce)]-0x1,_0x3c3991;_0x28fb00>=0x0;_0x28fb00--)(_0x3c3991=_0x1b2895[_0x28fb00])&&(_0x48ef7e=(_0x130a8d?_0x3c3991(_0x3e4677,_0x4e5afd,_0x48ef7e):_0x3c3991(_0x48ef7e))||_0x48ef7e);return _0x130a8d&&_0x48ef7e&&Wr(_0x3e4677,_0x4e5afd,_0x48ef7e),_0x48ef7e;},Ue=(_0xee0e8d,_0x3b8215)=>(_0x3642f0,_0x4d22af)=>_0x3b8215(_0x3642f0,_0x4d22af,_0xee0e8d);let wt=class extends _0x2b8bcd{constructor(_0x4241e5,_0x3cf812,_0x359701,_0x2dda71,_0x5d932b){var _0x1b9113=_0x376409;super(_0x4241e5,_0x3cf812,_0x359701),this[_0x1b9113(0x3ff)]=_0x2dda71,this[_0x1b9113(0x442)]=_0x5d932b;}[_0x376409(0x41e)](_0x3d96c7,_0x34ac17){var _0x1b6728=_0x376409;const _0x20cc69=this['_getUndoStack'](_0x3d96c7);if(_0x20cc69)try{const _0x5cb99e=this['_transformStack'](_0x20cc69,_0x34ac17);this[_0x1b6728(0x424)](_0x3d96c7,_0x5cb99e);}catch(_0x1464e5){this[_0x1b6728(0x442)][_0x1b6728(0x1f6)]('[CollaborationUndoRedoService]',_0x1464e5),this['_clearUndo'](_0x3d96c7);}const _0x2b56eb=this[_0x1b6728(0x32c)](_0x3d96c7);if(_0x2b56eb)try{const _0x5d2837=this[_0x1b6728(0x202)](_0x2b56eb,_0x34ac17);this[_0x1b6728(0x38e)](_0x3d96c7,_0x5d2837);}catch(_0x4b968f){this['_logService'][_0x1b6728(0x1f6)](_0x4b968f),this[_0x1b6728(0x1df)](_0x3d96c7);}}['_clearUndo'](_0x4453a2){var _0x20f511=_0x376409;const _0x1d202a=this[_0x20f511(0x36b)](_0x4453a2);_0x1d202a&&(_0x1d202a[_0x20f511(0x2ce)]=0x0,this[_0x20f511(0x42d)]());}['_clearRedo'](_0x5eff07){var _0x1e39c7=_0x376409;const _0x30387d=this[_0x1e39c7(0x32c)](_0x5eff07);_0x30387d&&(_0x30387d['length']=0x0,this['_updateStatus']());}[_0x376409(0x424)](_0x459a79,_0x374547){var _0x3a0652=_0x376409;this['_undoStacks'][_0x3a0652(0x3f5)](_0x459a79,_0x374547),this[_0x3a0652(0x42d)]();}[_0x376409(0x38e)](_0x1614d9,_0x680fb1){var _0xe87292=_0x376409;this['_redoStacks'][_0xe87292(0x3f5)](_0x1614d9,_0x680fb1),this['_updateStatus']();}[_0x376409(0x202)](_0x3c2d23,_0x139a1e){var _0x5aee81=_0x376409;const _0x276863=[];let _0x36ac9b=_0x139a1e,_0x31a9f6=_0x139a1e;for(let _0x4b32bd=_0x3c2d23['length']-0x1;_0x4b32bd>=0x0;_0x4b32bd--){const {unitID:_0x2cdd26,undoMutations:_0x137388,redoMutations:_0x591eeb}=_0x3c2d23[_0x4b32bd],_0x552b41=this[_0x5aee81(0x3ff)]['transformMutationsWithChangeset'](_0x36ac9b,_0x137388),_0x55e255=this[_0x5aee81(0x3ff)][_0x5aee81(0x465)](_0x31a9f6,_0x591eeb);if(_0x2dbd11(_0x552b41)||_0x2dbd11(_0x55e255)){this[_0x5aee81(0x442)][_0x5aee81(0x1f6)](_0x5aee81(0x1be),_0x5aee81(0x267),_0x552b41,_0x55e255);break;}_0x36ac9b=_0x552b41[_0x5aee81(0x264)],_0x31a9f6=_0x55e255['c1Prime'],_0x276863[_0x5aee81(0x273)]({'unitID':_0x2cdd26,'undoMutations':_0x552b41[_0x5aee81(0x42f)],'redoMutations':_0x55e255['m2Prime']});}return _0x276863['reverse']();}};wt=Kr([Ue(0x0,_0x2c9805),Ue(0x1,_0x32fa06),Ue(0x2,_0x3f06f6),Ue(0x3,_0x2c3c9c),Ue(0x4,_0x3bfb06)],wt);var xi=Object[_0x376409(0x367)],zr=Object['getOwnPropertyDescriptor'],Yr=(_0x46a842,_0x5a06fc,_0x37dc69)=>_0x5a06fc in _0x46a842?xi(_0x46a842,_0x5a06fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37dc69}):_0x46a842[_0x5a06fc]=_0x37dc69,qr=(_0x1640a4,_0x2f11af,_0x56fc26,_0x5a1fcc)=>{var _0x427423=_0x376409;for(var _0x20cf53=_0x5a1fcc>0x1?void 0x0:_0x5a1fcc?zr(_0x2f11af,_0x56fc26):_0x2f11af,_0x170749=_0x1640a4[_0x427423(0x2ce)]-0x1,_0x2988af;_0x170749>=0x0;_0x170749--)(_0x2988af=_0x1640a4[_0x170749])&&(_0x20cf53=(_0x5a1fcc?_0x2988af(_0x2f11af,_0x56fc26,_0x20cf53):_0x2988af(_0x20cf53))||_0x20cf53);return _0x5a1fcc&&_0x20cf53&&xi(_0x2f11af,_0x56fc26,_0x20cf53),_0x20cf53;},Et=(_0x50bdd5,_0x271575)=>(_0x569d2b,_0x14ad59)=>_0x271575(_0x569d2b,_0x14ad59,_0x50bdd5),Jr=(_0x18b6da,_0x2e7a0f,_0x4e54d4)=>Yr(_0x18b6da,_0x2e7a0f+'',_0x4e54d4);const Xr=_0x376409(0x239);let Ut=class extends _0xa292bb{constructor(_0x4406d4=Wn,_0x1d4276,_0x420813,_0x1a0730){var _0x40c714=_0x376409;super(),this[_0x40c714(0x37d)]=_0x4406d4,this[_0x40c714(0x442)]=_0x1d4276,this['_injector']=_0x420813,this[_0x40c714(0x19f)]=_0x1a0730;const {..._0x171f98}=this[_0x40c714(0x37d)];this[_0x40c714(0x19f)][_0x40c714(0x2e3)](Y,_0x171f98);}[_0x376409(0x1cb)](){this['_registerDependencies'](),this['_initDependencies']();}['_registerDependencies'](){var _0x3f51d9=_0x376409,_0x5ac3d7,_0x985bf2,_0x4a1ded,_0x47e16c;this[_0x3f51d9(0x2d7)][_0x3f51d9(0x180)](_0x34122b)&&this[_0x3f51d9(0x442)][_0x3f51d9(0x1f6)](_0x3f51d9(0x425),_0x3f51d9(0x3ee));const _0x226434=_0x34902a([[_0x34122b,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x985bf2=(_0x5ac3d7=this[_0x3f51d9(0x37d)])==null?void 0x0:_0x5ac3d7[_0x3f51d9(0x24b)])!=null?_0x985bf2:It}],[_0x58421a,{'useClass':Dt}],[_0x1d8a5f,{'useClass':yt}],[_0x5c1605,{'useClass':Pt}],[_0x172e0d,{'useClass':Nt}],[rt],[Rt]],(_0x4a1ded=this[_0x3f51d9(0x37d)])==null?void 0x0:_0x4a1ded['override']);if(!((_0x47e16c=this[_0x3f51d9(0x37d)])!=null&&_0x47e16c['enableSingleActiveInstanceLock'])){const _0x451025=_0x226434['findIndex'](([_0x17d64d])=>_0x17d64d===_t);_0x451025!==-0x1&&_0x226434[_0x3f51d9(0x2c7)](_0x451025,0x1);}_0x244040(this[_0x3f51d9(0x2d7)],_0x226434);}[_0x376409(0x3e6)](){var _0xa844f8=_0x376409,_0x48d3c0,_0x39a51a,_0x4c6c6e;this['_injector']['get'](_0x4a7d71)[_0xa844f8(0x1da)]({'priority':0x14,'interceptor':_0x1a045c({'maxParallel':0x6})}),(_0x48d3c0=this['_config'])!=null&&_0x48d3c0[_0xa844f8(0x33b)]||(_0x39a51a=this['_injector'][_0xa844f8(0x358)](X,_0xc1f958[_0xa844f8(0x1e7)]))==null||_0x39a51a[_0xa844f8(0x1bc)](),(_0x4c6c6e=this['_config'])!=null&&_0x4c6c6e[_0xa844f8(0x45f)]&&_0x1d952b(this[_0xa844f8(0x2d7)],[[ot]]),_0x1d952b(this[_0xa844f8(0x2d7)],[[at],[rt],[ct]]);}};Jr(Ut,_0x376409(0x23c),Xr),Ut=qr([_0x4b8d14(_0x252bba,_0xc57085,_0x31898d),Et(0x1,_0x3bfb06),Et(0x2,_0x49f53f(_0x3e138a)),Et(0x3,_0x574946)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe 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,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi 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,Si as HEARTBEAT_TIMEOUT_KEY,Ci 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,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re 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,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};
1
+ var _0x46a708=_0x5eac;(function(_0x2e05c1,_0x5a8323){var _0x2bd1ff=_0x5eac,_0xe80199=_0x2e05c1();while(!![]){try{var _0x3ca929=parseInt(_0x2bd1ff(0x2a7))/0x1+parseInt(_0x2bd1ff(0x2e8))/0x2+-parseInt(_0x2bd1ff(0xc8))/0x3*(parseInt(_0x2bd1ff(0x35d))/0x4)+parseInt(_0x2bd1ff(0x24d))/0x5+parseInt(_0x2bd1ff(0x111))/0x6+-parseInt(_0x2bd1ff(0x2e9))/0x7*(-parseInt(_0x2bd1ff(0x208))/0x8)+-parseInt(_0x2bd1ff(0x3a9))/0x9;if(_0x3ca929===_0x5a8323)break;else _0xe80199['push'](_0xe80199['shift']());}catch(_0x2ad2f5){_0xe80199['push'](_0xe80199['shift']());}}}(_0x3c01,0xd5598));var Li=Object[_0x46a708(0x19e)],Mi=(_0x522493,_0x3fa71c,_0x565662)=>_0x3fa71c in _0x522493?Li(_0x522493,_0x3fa71c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x565662}):_0x522493[_0x3fa71c]=_0x565662,D=(_0x527cee,_0x251f67,_0x10d0ce)=>Mi(_0x527cee,typeof _0x251f67!='symbol'?_0x251f67+'':_0x251f67,_0x10d0ce);import{createIdentifier as _0x6d18ba,Inject as _0x2cbcbc,Injector as _0x177fe8,Disposable as _0x2cc935,DisposableCollection as _0x59c308,toDisposable as _0x463d74,IConfigService as _0x39fbc8,ILogService as _0x39a5d8,UserManagerService as _0x184f6a,UniverInstanceType as _0x4ce4bc,IUniverInstanceService as _0x15d079,LocaleService as _0x3c75ec,Optional as _0x159445,RxDisposable as _0x4cae55,Tools as _0x4bc022,Rectangle as _0x2f388c,ICommandService as _0x5796ae,JSONX as _0x527505,CommandType as _0x3587c7,IPermissionService as _0x31c910,IUndoRedoService as _0xef8389,sequenceExecute as _0xcfe0ab,Workbook as _0x140f85,MentionType as _0x567ec2,IAuthzIoService as _0x46f702,isInternalEditorID as _0x531e92,LocalUndoRedoService as _0x56760f,IContextService as _0x26bb20,DependentOn as _0x14daf6,Plugin as _0x18edee,mergeOverrideWithDependencies as _0x4367d3,IMentionIOService as _0x6d4e74,registerDependencies as _0x270683,Quantity as _0x72c823,touchDependencies as _0x54dc45}from'@univerjs/core';import{Subject as _0x5a87a1,merge as _0x4bc9c5,takeUntil as _0x3a3941,BehaviorSubject as _0x5a555a,ReplaySubject as _0x2dfc22,take as _0x557667,map as _0x1db29d,shareReplay as _0x2547ec,of as _0x3727ba,firstValueFrom as _0x4eae8d,concatMap as _0x18b5c3}from'rxjs';import{map as _0x41c3de,take as _0x15d0f6,filter as _0x2b6ff6,delay as _0x164ecf,takeUntil as _0x24be2e}from'rxjs/operators';import{HTTPService as _0x1d8e94,ISocketService as _0x354b75,MergeInterceptorFactory as _0x354c3b,HTTPRequest as _0x5dbf6a,UniverNetworkPlugin as _0x419e55,ThresholdInterceptorFactory as _0x571757}from'@univerjs/network';import{CollaborationEvent as _0x397517,parseChangesetToProtocol as _0x4f4823,ISnapshotServerService as _0x16a870,isTransformMutationsWithChangesetSuccess as _0x69749e,ITransformService as _0x566ad4,mapDocumentTypeToUniverType as _0x16d935,RevisionService as _0x300c21,isTransformChangesetsSuccess as _0x28dbe5,CompressMutationService as _0x15b505,parseProtocolChangeset as _0x40dd00,SnapshotService as _0x10280f,textEncoder as _0x5c3f59,b64DecodeUnicode as _0x3d4577,isTransformMutationsWithChangesetFailure as _0x9968e3,UniverCollaborationPlugin as _0x49b566}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x1a6e85}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x31cd2a}from'@univerjs/docs';import{SheetsSelectionsService as _0xaeb748,SetSelectionsOperation as _0x36e544,InsertSheetMutation as _0x301413,EmptyMutation as _0x176168,WorkbookEditablePermission as _0x1eb22d,UnitObject as _0x3445b3,defaultWorkbookPermissionPoints as _0x3f4937,getAllWorkbookPermissionPoint as _0x151807,WorksheetProtectionRuleModel as _0x3ad051,baseProtectionActions as _0x3940d,getAllWorksheetPermissionPoint as _0xff0e19,WorksheetProtectionPointModel as _0x5273e7,defaultWorksheetPermissionPoint as _0x58230f,getAllWorksheetPermissionPointByPointPanel as _0x404db5,RangeProtectionRuleModel as _0x24adae,getAllRangePermissionPoint as _0x1ccdc2,UniverSheetsPlugin as _0x38903d}from'@univerjs/sheets';import{ImageSourceType as _0x3f0c6c,ImageUploadStatusType as _0x2d723a,IImageIoService as _0x4b37fe}from'@univerjs/drawing';import{getGlobalObject as _0x52991c}from'@univerjs-pro/license';const Pn='SNAPSHOT_SERVER_URL_KEY',Nn=_0x46a708(0x290),Dn='SNAPSHOT_URL_KEY',ho=_0x46a708(0x23d),wn=0x7d0,Un='COLLAB_WEB_SOCKET_URL',An=_0x46a708(0x382),xn=_0x46a708(0x383),Ln=_0x46a708(0x232),Mn=0x7530,Si=_0x46a708(0x27b),Ei=0x4e20,$n=0x4e20,Hn=_0x46a708(0x1a6),kn=0x3,_o='LOCAL_CACHE_INTERVAL',lo=0x3e8,jn=_0x46a708(0x218),Bn=_0x46a708(0x2c3),Fn=_0x46a708(0x3a4),Vn=_0x46a708(0x389);var Ii=(_0x30930c=>(_0x30930c[_0x30930c[_0x46a708(0x14d)]=0x0]=_0x46a708(0x14d),_0x30930c[_0x30930c['OK']=0x1]='OK',_0x30930c[_0x30930c[_0x46a708(0x390)]=0x2]='INTERNAL_ERROR',_0x30930c[_0x30930c[_0x46a708(0x21f)]=0x3]=_0x46a708(0x21f),_0x30930c[_0x30930c[_0x46a708(0x2cd)]=0x4]='NOT_FOUND',_0x30930c[_0x30930c[_0x46a708(0x2a3)]=0x5]=_0x46a708(0x2a3),_0x30930c[_0x30930c[_0x46a708(0x11d)]=0x6]=_0x46a708(0x11d),_0x30930c[_0x30930c[_0x46a708(0x211)]=0x7]=_0x46a708(0x211),_0x30930c[_0x30930c[_0x46a708(0x147)]=0x8]='TOO_MANY_REQUESTS',_0x30930c[_0x30930c[_0x46a708(0x2d2)]=0x9]='COMPLETION_FINISHED',_0x30930c[_0x30930c[_0x46a708(0xec)]=0x1389]=_0x46a708(0xec),_0x30930c[_0x30930c[_0x46a708(0x3b0)]=0x1771]=_0x46a708(0x3b0),_0x30930c[_0x30930c[_0x46a708(0x118)]=0x1772]=_0x46a708(0x118),_0x30930c[_0x30930c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x46a708(0x2cc),_0x30930c[_0x30930c['APPLY_REJECT']=0x1b59]=_0x46a708(0x375),_0x30930c[_0x30930c[_0x46a708(0x253)]=0x1b5a]=_0x46a708(0x253),_0x30930c[_0x30930c[_0x46a708(0x16d)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x30930c[_0x30930c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x46a708(0x2c5),_0x30930c[_0x30930c[_0x46a708(0x325)]=0x1b5d]=_0x46a708(0x325),_0x30930c[_0x30930c[_0x46a708(0x16b)]=0x1f41]=_0x46a708(0x16b),_0x30930c[_0x30930c[_0x46a708(0x1bf)]=0x2329]=_0x46a708(0x1bf),_0x30930c[_0x30930c[_0x46a708(0x1c3)]=0x232a]=_0x46a708(0x1c3),_0x30930c[_0x30930c[_0x46a708(0x381)]=0x232b]=_0x46a708(0x381),_0x30930c[_0x30930c[_0x46a708(0x231)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x30930c[_0x30930c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x46a708(0x22a),_0x30930c[_0x30930c[_0x46a708(0x128)]=0x2711]=_0x46a708(0x128),_0x30930c[_0x30930c[_0x46a708(0x2c1)]=0x2712]=_0x46a708(0x2c1),_0x30930c[_0x30930c[_0x46a708(0xff)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x30930c[_0x30930c[_0x46a708(0x2ff)]=0x2714]=_0x46a708(0x2ff),_0x30930c[_0x30930c[_0x46a708(0x323)]=-0x1]='UNRECOGNIZED',_0x30930c))(Ii||{}),Q=(_0x307ea1=>(_0x307ea1[_0x307ea1['UNIVER_UNKNOWN']=0x0]='UNIVER_UNKNOWN',_0x307ea1[_0x307ea1[_0x46a708(0x163)]=0x1]=_0x46a708(0x163),_0x307ea1[_0x307ea1['UNIVER_SHEET']=0x2]=_0x46a708(0x18c),_0x307ea1[_0x307ea1[_0x46a708(0x363)]=0x3]=_0x46a708(0x363),_0x307ea1[_0x307ea1[_0x46a708(0x263)]=0x4]=_0x46a708(0x263),_0x307ea1[_0x307ea1[_0x46a708(0x323)]=-0x1]=_0x46a708(0x323),_0x307ea1))(Q||{}),F=(_0x995df5=>(_0x995df5[_0x995df5['UNKNOWN_CMD']=0x0]='UNKNOWN_CMD',_0x995df5[_0x995df5[_0x46a708(0x358)]=0x1]=_0x46a708(0x358),_0x995df5[_0x995df5[_0x46a708(0x180)]=0x2]='JOIN',_0x995df5[_0x995df5[_0x46a708(0x39d)]=0x3]=_0x46a708(0x39d),_0x995df5[_0x995df5[_0x46a708(0x2f3)]=0x4]=_0x46a708(0x2f3),_0x995df5[_0x995df5[_0x46a708(0x1e4)]=0x5]=_0x46a708(0x1e4),_0x995df5[_0x995df5[_0x46a708(0x220)]=0x6]='RECV',_0x995df5[_0x995df5[_0x46a708(0x323)]=-0x1]=_0x46a708(0x323),_0x995df5))(F||{}),Ee=(_0x47350e=>(_0x47350e[_0x47350e[_0x46a708(0x235)]=0x0]=_0x46a708(0x235),_0x47350e[_0x47350e['OK']=0x1]='OK',_0x47350e[_0x47350e[_0x46a708(0x216)]=0x2]=_0x46a708(0x216),_0x47350e[_0x47350e['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x47350e[_0x47350e['JOIN_ROOM_NOT_EXISTS']=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x47350e[_0x47350e[_0x46a708(0x1c9)]=0x3eb]=_0x46a708(0x1c9),_0x47350e[_0x47350e[_0x46a708(0x196)]=0x3ec]=_0x46a708(0x196),_0x47350e[_0x47350e['UNRECOGNIZED']=-0x1]=_0x46a708(0x323),_0x47350e))(Ee||{}),Ti=(_0xea1e76=>(_0xea1e76[_0xea1e76[_0x46a708(0x2eb)]=0x0]=_0x46a708(0x2eb),_0xea1e76[_0xea1e76[_0x46a708(0xfd)]=0x1]=_0x46a708(0xfd),_0xea1e76[_0xea1e76[_0x46a708(0x187)]=0x2]='HttpExport',_0xea1e76[_0xea1e76['UnitEmbedded']=0x3]=_0x46a708(0x145),_0xea1e76[_0xea1e76['UnitSnapshot']=0x4]='UnitSnapshot',_0xea1e76[_0xea1e76[_0x46a708(0x323)]=-0x1]='UNRECOGNIZED',_0xea1e76))(Ti||{});const Y=_0x46a708(0x275),Wn={};var se=(_0x265ecb=>(_0x265ecb[_0x46a708(0x137)]=_0x46a708(0x137),_0x265ecb[_0x46a708(0x21f)]=_0x46a708(0x21f),_0x265ecb[_0x46a708(0x201)]=_0x46a708(0x201),_0x265ecb[_0x46a708(0x1e5)]=_0x46a708(0x1e5),_0x265ecb[_0x46a708(0xe8)]='JOIN_ROOM_FAILED',_0x265ecb[_0x46a708(0x136)]=_0x46a708(0x136),_0x265ecb[_0x46a708(0x1ee)]=_0x46a708(0x1ee),_0x265ecb[_0x46a708(0x350)]=_0x46a708(0x350),_0x265ecb))(se||{});class pe{constructor(){var _0xe58c64=_0x46a708;D(this,_0xe58c64(0x102),new _0x5a87a1()),D(this,_0xe58c64(0xc5),this[_0xe58c64(0x102)][_0xe58c64(0x35a)]());}[_0x46a708(0x2e0)](_0x227299){var _0x16c373=_0x46a708;this[_0x16c373(0x102)]['next'](_0x227299);}}const Gn=_0x6d18ba('univer-pro.collaboration-client.network-condition.service');function Kn(_0x2dae57){var _0x566554=_0x46a708,_0x4e1cee,_0x94285,_0x36046a,_0x4bff53,_0x4a572c;const _0x33392d=_0x2dae57[_0x566554(0x1de)],_0x1f37e6=JSON[_0x566554(0xf7)](_0x33392d);switch(_0x1f37e6[_0x566554(0x189)]){case F[_0x566554(0x1e4)]:case F[_0x566554(0x358)]:{const _0x531d55=_0x1f37e6[_0x566554(0x2f9)];return{..._0x1f37e6,'data':_0x531d55,'cmd':_0x1f37e6[_0x566554(0x189)]};}case F['JOIN']:{const _0x36e594=_0x1f37e6[_0x566554(0x26f)];return{..._0x1f37e6,'data':_0x36e594,'cmd':_0x1f37e6[_0x566554(0x189)]};}case F['RECV']:{const _0x3939a6=_0x1f37e6[_0x566554(0x238)];switch(_0x3939a6[_0x566554(0x1a9)]){case _0x397517[_0x566554(0x17d)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':(_0x4e1cee=_0x3939a6['permissionRejEvent'])==null?void 0x0:_0x4e1cee['cs']},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x326)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':(_0x94285=_0x3939a6[_0x566554(0xee)])==null?void 0x0:_0x94285['cs']},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x247)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':(_0x36046a=_0x3939a6[_0x566554(0x125)])==null?void 0x0:_0x36046a['cs']},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x26c)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':(_0x4bff53=_0x3939a6['csRejEvent'])==null?void 0x0:_0x4bff53['cs']},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517['CHANGESET_SHOULD_RETRY']:return{..._0x1f37e6,'data':{..._0x3939a6,'data':(_0x4a572c=_0x3939a6[_0x566554(0x130)])==null?void 0x0:_0x4a572c['cs']},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x29f)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x364)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x3b1)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x32b)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517['USERS_LEAVE']:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x2fe)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517['LIVESHARE_NEW_HOST']:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x368)]},'cmd':_0x1f37e6['cmd']};case _0x397517[_0x566554(0x152)]:case _0x397517['LIVESHARE_OPERATION']:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x314)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0x1c0)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x368)]},'cmd':_0x1f37e6['cmd']};case _0x397517['MSG_FOR_ERROR']:return{..._0x1f37e6,'data':_0x3939a6,'cmd':_0x1f37e6['cmd']};case _0x397517[_0x566554(0x20c)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x29a)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517[_0x566554(0xcc)]:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x126)]},'cmd':_0x1f37e6[_0x566554(0x189)]};case _0x397517['SHOULD_CLOSE_CONN']:return{..._0x1f37e6,'data':{..._0x3939a6,'data':_0x3939a6[_0x566554(0x318)]},'cmd':_0x1f37e6['cmd']};default:return _0x1f37e6;}}default:return _0x1f37e6;}}function zn(_0x1b61d1){var _0x116e7e=_0x46a708;switch(_0x1b61d1[_0x116e7e(0x189)]){case F[_0x116e7e(0x1e4)]:case F[_0x116e7e(0x358)]:return JSON[_0x116e7e(0x32c)]({'cmd':_0x1b61d1[_0x116e7e(0x189)],'routeKey':_0x1b61d1[_0x116e7e(0x28d)]});case F[_0x116e7e(0x2f3)]:{let _0x56be26;switch(_0x1b61d1['data'][_0x116e7e(0x1a9)]){case _0x397517[_0x116e7e(0x29f)]:{_0x56be26={'eventID':_0x397517[_0x116e7e(0x29f)],'updateCursorEvent':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1de)]};break;}case _0x397517['USERS_LEAVE']:{_0x56be26={'eventID':_0x397517['USERS_LEAVE'],'leaveEvent':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1de)]};break;}case _0x397517[_0x116e7e(0x3b1)]:{_0x56be26={'eventID':_0x397517[_0x116e7e(0x3b1)],'joinEvent':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1de)]};break;}case _0x397517[_0x116e7e(0x14f)]:{_0x56be26={'eventID':_0x397517[_0x116e7e(0x14f)],'liveShareNewHost':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1de)]};break;}case _0x397517[_0x116e7e(0x2bc)]:{_0x56be26={'eventID':_0x397517[_0x116e7e(0x2bc)],'liveShareOperation':_0x1b61d1[_0x116e7e(0x1de)]['data']};break;}case _0x397517[_0x116e7e(0x1c0)]:{_0x56be26={'eventID':_0x397517['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x1b61d1[_0x116e7e(0x1de)]['data']};break;}case _0x397517[_0x116e7e(0x2ea)]:{_0x56be26={'eventID':_0x397517['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1de)]};break;}case _0x397517[_0x116e7e(0x152)]:{_0x56be26={'eventID':_0x397517[_0x116e7e(0x152)]};break;}default:_0x56be26={'eventID':_0x1b61d1[_0x116e7e(0x1de)][_0x116e7e(0x1a9)]};}return JSON[_0x116e7e(0x32c)]({'cmd':_0x1b61d1[_0x116e7e(0x189)],'routeKey':_0x1b61d1[_0x116e7e(0x28d)],'collaMsg':_0x56be26});}case F[_0x116e7e(0x180)]:return JSON[_0x116e7e(0x32c)]({'cmd':_0x1b61d1[_0x116e7e(0x189)],'routeKey':_0x1b61d1[_0x116e7e(0x28d)],'joinReq':_0x1b61d1[_0x116e7e(0x1de)]});case F[_0x116e7e(0x39d)]:return JSON[_0x116e7e(0x32c)]({'cmd':_0x1b61d1[_0x116e7e(0x189)],'routeKey':_0x1b61d1[_0x116e7e(0x28d)],'leaveReq':_0x1b61d1['data']});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Yn=Object['defineProperty'],qn=Object[_0x46a708(0x13c)],Jn=(_0xabf7d3,_0x41497f,_0x23acaf,_0x4a61ff)=>{for(var _0x29b06a=_0x4a61ff>0x1?void 0x0:_0x4a61ff?qn(_0x41497f,_0x23acaf):_0x41497f,_0x5bdc7f=_0xabf7d3['length']-0x1,_0x4af9ef;_0x5bdc7f>=0x0;_0x5bdc7f--)(_0x4af9ef=_0xabf7d3[_0x5bdc7f])&&(_0x29b06a=(_0x4a61ff?_0x4af9ef(_0x41497f,_0x23acaf,_0x29b06a):_0x4af9ef(_0x29b06a))||_0x29b06a);return _0x4a61ff&&_0x29b06a&&Yn(_0x41497f,_0x23acaf,_0x29b06a),_0x29b06a;},we=(_0x4c4d81,_0x58e3d5)=>(_0x1cbbdd,_0x4d6f15)=>_0x58e3d5(_0x1cbbdd,_0x4d6f15,_0x4c4d81);const Ci=_0x6d18ba(_0x46a708(0xfb));function Xn(_0x53d461,_0x2f6be3,_0x25a646){var _0x59357c=_0x46a708;return _0x53d461+'/'+_0x2f6be3+_0x59357c(0x284)+_0x25a646+_0x59357c(0x3a7);}let It=class extends _0x2cc935{constructor(_0x1c13e9,_0x195a1b,_0xdde78c,_0x12a101,_0x4bd1c2){var _0x1de6f4=_0x46a708;super(),this[_0x1de6f4(0x154)]=_0x1c13e9,this[_0x1de6f4(0x27f)]=_0x195a1b,this[_0x1de6f4(0x129)]=_0xdde78c,this[_0x1de6f4(0x365)]=_0x12a101,this['_snapshotServerService']=_0x4bd1c2;}['createSocket'](_0x2a3013){var _0xe1e056=_0x46a708;const _0x4d6af1=this[_0xe1e056(0x154)][_0xe1e056(0x378)](_0x354b75);if(!_0x4d6af1)throw new Error(_0xe1e056(0x222));const _0x5d4add=_0x4d6af1[_0xe1e056(0x13f)](_0x2a3013);if(!_0x5d4add)throw new Error(_0xe1e056(0x107));const _0x15ddb6=new _0x59c308(),_0x54bcb=new _0x5a87a1();_0x15ddb6[_0xe1e056(0xd4)](_0x5d4add['close$'][_0xe1e056(0x277)](_0x13c138=>_0x54bcb[_0xe1e056(0x242)](_0x13c138))),_0x15ddb6['add'](_0x463d74(()=>_0x54bcb[_0xe1e056(0x259)]()));const _0x4b5c67=new _0x5a87a1();_0x15ddb6[_0xe1e056(0xd4)](_0x5d4add[_0xe1e056(0x399)][_0xe1e056(0x277)](_0x3edc79=>_0x4b5c67[_0xe1e056(0x242)](_0x3edc79))),_0x15ddb6[_0xe1e056(0xd4)](_0x463d74(()=>_0x4b5c67['complete']()));const _0x365787=new _0x5a87a1();_0x15ddb6['add'](_0x5d4add[_0xe1e056(0x340)][_0xe1e056(0x277)](_0x1bd6ef=>{var _0x1ee893=_0xe1e056;const _0x181437=Kn(_0x1bd6ef);_0x365787[_0x1ee893(0x242)](_0x181437);})),_0x15ddb6['add'](_0x463d74(()=>_0x365787[_0xe1e056(0x259)]()));let _0x35216b;const _0x215e5e=()=>{var _0x35f407=_0xe1e056;_0x4b5c67['next'](new Event(_0x35f407(0x12c))),_0x54bcb[_0x35f407(0x242)](new CloseEvent(_0x35f407(0x12c))),_0x35216b[_0x35f407(0x331)]();};return _0x35216b={'memberID':'','close$':_0x54bcb[_0xe1e056(0x35a)](),'error$':_0x4b5c67[_0xe1e056(0x35a)](),'open$':_0x5d4add[_0xe1e056(0x347)],'message$':_0x365787[_0xe1e056(0x35a)](),'send':_0x53b51b=>{var _0x5dc597=_0xe1e056;if(_0x53b51b[_0x5dc597(0x189)]===F[_0x5dc597(0x2f3)]){if(_0x53b51b[_0x5dc597(0x1de)]['eventID']===_0x397517[_0x5dc597(0x156)]){this['_submitChangeset'](_0x35216b,_0x53b51b['data'])[_0x5dc597(0x132)](_0x2f5443=>{var _0x1eac41=_0x5dc597;this['_logService'][_0x1eac41(0x373)](_0x2f5443),_0x215e5e();});return;}if(_0x53b51b[_0x5dc597(0x1de)][_0x5dc597(0x1a9)]===_0x397517['FETCH_MISSING']){const _0x25041a=_0x53b51b[_0x5dc597(0x1de)];this[_0x5dc597(0x1f8)](_0x25041a)[_0x5dc597(0x1a1)](_0x505e03=>{var _0x487fa6=_0x5dc597;_0x365787['next']({'cmd':F[_0x487fa6(0x220)],'code':Ee['OK'],'routeKey':_0x25041a[_0x487fa6(0x1de)][_0x487fa6(0x289)],'routeType':'','data':{'eventID':_0x397517[_0x487fa6(0x336)],'data':{'changesets':_0x505e03}}});})[_0x5dc597(0x132)](_0xa54bfb=>{var _0x30c550=_0x5dc597;this[_0x30c550(0x365)]['error'](_0xa54bfb),_0x215e5e();});return;}}_0x5d4add[_0x5dc597(0x37e)](zn(_0x53b51b));},'close':()=>{var _0x24f7cd=_0xe1e056;_0x5d4add[_0x24f7cd(0x331)](),_0x15ddb6['dispose']();}},_0x35216b;}async[_0x46a708(0x230)](_0x220333,_0x5b37f8){var _0x252b19=_0x46a708,_0x3d6155,_0x5def3f;const {unitType:_0x7a8fe9,unitID:_0xad3482,changeset:_0x289ebf}=_0x5b37f8[_0x252b19(0x1de)],_0x308c37={'unitID':_0xad3482,'memberID':_0x220333[_0x252b19(0x3b6)],'type':_0x7a8fe9,'changeset':_0x4f4823(_0x289ebf)},_0x1ba5a2=this['_configService'][_0x252b19(0x27a)](jn),_0x586312=this[_0x252b19(0x129)][_0x252b19(0x27a)](Y),_0x208d57=Xn((_0x5def3f=(_0x3d6155=_0x586312==null?void 0x0:_0x586312[_0x252b19(0x239)])!=null?_0x3d6155:_0x1ba5a2)!=null?_0x5def3f:Bn,_0x7a8fe9,_0xad3482);try{await this[_0x252b19(0x27f)][_0x252b19(0x3b3)](_0x208d57,{'body':_0x308c37});}catch(_0x56fbef){throw this['_logService'][_0x252b19(0x373)](_0x252b19(0x322),_0x252b19(0x2dc)),_0x56fbef;}}async[_0x46a708(0x1f8)](_0x5d425f){var _0x406dbf=_0x46a708;const {unitID:_0x3502ea,from:_0x56a4d2,to:_0x4a49ae,unitType:_0x3853f4}=_0x5d425f['data'];return(await this[_0x406dbf(0x1b1)][_0x406dbf(0x267)]({'metadata':void 0x0},{'unitID':_0x3502ea,'type':_0x3853f4,'from':_0x56a4d2,'to':_0x4a49ae}))[_0x406dbf(0x236)];}};It=Jn([we(0x0,_0x2cbcbc(_0x177fe8)),we(0x1,_0x2cbcbc(_0x1d8e94)),we(0x2,_0x39fbc8),we(0x3,_0x39a5d8),we(0x4,_0x16a870)],It);const Zn='collaboration_new_changeset';function Qn(_0x1bd5ec){var _0x266817=_0x46a708;return JSON[_0x266817(0x32c)](_0x1bd5ec)[_0x266817(0x297)];}class bi{constructor(){var _0x91e9c1=_0x46a708;D(this,_0x91e9c1(0xf4),new _0x5a87a1()),D(this,_0x91e9c1(0x1aa),this[_0x91e9c1(0xf4)][_0x91e9c1(0x35a)]());}[_0x46a708(0x34e)](_0x3fc8dc){var _0x4119d2=_0x46a708;this[_0x4119d2(0xf4)][_0x4119d2(0x242)](_0x3fc8dc);}}var es=Object['defineProperty'],ts=Object['getOwnPropertyDescriptor'],is=(_0x5ddd41,_0x327a20,_0x51b8fd,_0x1239bb)=>{var _0x7e4b3d=_0x46a708;for(var _0x2debd3=_0x1239bb>0x1?void 0x0:_0x1239bb?ts(_0x327a20,_0x51b8fd):_0x327a20,_0xb03995=_0x5ddd41[_0x7e4b3d(0x297)]-0x1,_0x5181ae;_0xb03995>=0x0;_0xb03995--)(_0x5181ae=_0x5ddd41[_0xb03995])&&(_0x2debd3=(_0x1239bb?_0x5181ae(_0x327a20,_0x51b8fd,_0x2debd3):_0x5181ae(_0x2debd3))||_0x2debd3);return _0x1239bb&&_0x2debd3&&es(_0x327a20,_0x51b8fd,_0x2debd3),_0x2debd3;},zt=(_0x4a0dd9,_0x4e9dd2)=>(_0x335579,_0x47b901)=>_0x4e9dd2(_0x335579,_0x47b901,_0x4a0dd9);let Le=class extends _0x2cc935{constructor(_0x5346a4,_0x5debd6){var _0xd0c9dd=_0x46a708;super(),D(this,'_roomMembers',new Map()),(this[_0xd0c9dd(0x310)]=_0x5346a4,this[_0xd0c9dd(0x24a)]=_0x5debd6,this[_0xd0c9dd(0x122)](_0x463d74(_0x4bc9c5(this[_0xd0c9dd(0x310)][_0xd0c9dd(0x291)](_0x4ce4bc['UNIVER_SHEET'])[_0xd0c9dd(0xeb)](_0x41c3de(_0x46b07d=>_0x46b07d[_0xd0c9dd(0x20f)]())),this['_univerInstanceService'][_0xd0c9dd(0x291)](_0x4ce4bc[_0xd0c9dd(0x163)])['pipe'](_0x41c3de(_0x418d2c=>_0x418d2c['getUnitId']())),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ce4bc['UNIVER_SLIDE'])[_0xd0c9dd(0xeb)](_0x41c3de(_0x204239=>_0x204239[_0xd0c9dd(0x20f)]())))[_0xd0c9dd(0x277)](_0x491f78=>this[_0xd0c9dd(0x234)](_0x491f78)))));}[_0x46a708(0x3b9)](_0x54b037){var _0x41e91d=_0x46a708;this[_0x41e91d(0x24a)][_0x41e91d(0x3b9)](_0x54b037);}[_0x46a708(0x307)](){var _0xce5b2e=_0x46a708;return this[_0xce5b2e(0x24a)][_0xce5b2e(0x307)]();}[_0x46a708(0x12b)](_0x2c5f84,_0x1ecfef){var _0x18cd8c=_0x46a708;let _0x1225da=this[_0x18cd8c(0x2a9)]['get'](_0x2c5f84);_0x1225da||(_0x1225da=new ns(),this[_0x18cd8c(0x2a9)][_0x18cd8c(0x245)](_0x2c5f84,_0x1225da)),_0x1225da[_0x18cd8c(0x12b)](_0x1ecfef);}[_0x46a708(0x335)](_0x5c37d8,_0x11a09a){var _0x332c13=_0x46a708;const _0x34d141=this['_roomMembers'][_0x332c13(0x378)](_0x5c37d8);_0x34d141&&_0x34d141[_0x332c13(0x335)](_0x11a09a);}['getRoom'](_0x1e4d99){var _0x33680c=_0x46a708;return this['_roomMembers'][_0x33680c(0x378)](_0x1e4d99);}['getMember'](_0x5276d2,_0x836006){var _0x3932ad=_0x46a708;const _0x8194b1=this[_0x3932ad(0x2a9)]['get'](_0x5276d2);if(_0x8194b1)return _0x8194b1[_0x3932ad(0xdd)](_0x836006);}[_0x46a708(0x234)](_0x46bffd){var _0xc80a61=_0x46a708;const _0x1ddc75=this[_0xc80a61(0x2a9)]['get'](_0x46bffd);_0x1ddc75&&(_0x1ddc75[_0xc80a61(0x104)](),this[_0xc80a61(0x2a9)]['delete'](_0x46bffd));}[_0x46a708(0x104)](){var _0x1aba16=_0x46a708;this[_0x1aba16(0x2a9)][_0x1aba16(0x355)](_0x1f098d=>_0x1f098d[_0x1aba16(0x104)]()),this[_0x1aba16(0x2a9)][_0x1aba16(0x1eb)]();}};Le=is([zt(0x0,_0x15d079),zt(0x1,_0x2cbcbc(_0x184f6a))],Le);class ns extends _0x2cc935{constructor(){var _0x156ea1=_0x46a708;super(...arguments),D(this,_0x156ea1(0x349),new Map());}['dispose'](){var _0x11f0d5=_0x46a708;this[_0x11f0d5(0x349)][_0x11f0d5(0x1eb)]();}[_0x46a708(0x12b)](_0x107b8e){var _0x1a6380=_0x46a708;this[_0x1a6380(0x349)][_0x1a6380(0x245)](_0x107b8e[_0x1a6380(0x3b6)],_0x107b8e);}['removeMember'](_0x24c74e){var _0x411120=_0x46a708;this[_0x411120(0x349)][_0x411120(0x1ff)](_0x24c74e);}[_0x46a708(0xdd)](_0x3e655f){var _0x112ac6=_0x46a708;return this[_0x112ac6(0x349)][_0x112ac6(0x378)](_0x3e655f);}[_0x46a708(0x309)](){var _0x32c364=_0x46a708;return Array[_0x32c364(0x31a)](this[_0x32c364(0x349)][_0x32c364(0xf1)]());}}var ss=Object[_0x46a708(0x19e)],rs=Object[_0x46a708(0x13c)],os=(_0x10c3ed,_0xd0cbfc,_0x2ecf57,_0x22d43d)=>{var _0x43944f=_0x46a708;for(var _0x59a190=_0x22d43d>0x1?void 0x0:_0x22d43d?rs(_0xd0cbfc,_0x2ecf57):_0xd0cbfc,_0x2cbecd=_0x10c3ed[_0x43944f(0x297)]-0x1,_0x5dad56;_0x2cbecd>=0x0;_0x2cbecd--)(_0x5dad56=_0x10c3ed[_0x2cbecd])&&(_0x59a190=(_0x22d43d?_0x5dad56(_0xd0cbfc,_0x2ecf57,_0x59a190):_0x5dad56(_0x59a190))||_0x59a190);return _0x22d43d&&_0x59a190&&ss(_0xd0cbfc,_0x2ecf57,_0x59a190),_0x59a190;},ge=(_0x3661c5,_0x12ae50)=>(_0x1436b1,_0x15f7fa)=>_0x12ae50(_0x1436b1,_0x15f7fa,_0x3661c5),Ie=(_0x2b7ad8=>(_0x2b7ad8[_0x2b7ad8[_0x46a708(0xf6)]=0x0]='IDLE',_0x2b7ad8[_0x2b7ad8[_0x46a708(0x29e)]=0x1]=_0x46a708(0x29e),_0x2b7ad8[_0x2b7ad8[_0x46a708(0x3aa)]=0x2]=_0x46a708(0x3aa),_0x2b7ad8[_0x2b7ad8['ONLINE']=0x3]='ONLINE',_0x2b7ad8))(Ie||{});const Yt={[Ee[_0x46a708(0x216)]]:'session.join-failed',[Ee[_0x46a708(0x1d5)]]:_0x46a708(0x1ab),[Ee[_0x46a708(0x15b)]]:_0x46a708(0x2c9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x46a708(0x204),[Ee[_0x46a708(0x196)]]:_0x46a708(0x22c)};let Tt=class extends _0x4cae55{constructor(_0x292cd0,_0x540226,_0x9dd062,_0x510f97,_0x3417ec,_0x2467b4,_0x3ab756,_0x51ed17,_0x37cf6c){var _0x30a013=_0x46a708;super(),D(this,_0x30a013(0x38b),new _0x5a555a(0x0)),D(this,_0x30a013(0x24b),this[_0x30a013(0x38b)][_0x30a013(0x35a)]()),D(this,_0x30a013(0x102),new _0x5a87a1()),D(this,_0x30a013(0xc5),this[_0x30a013(0x102)][_0x30a013(0x35a)]()),D(this,_0x30a013(0xbd)),D(this,'_socketMessageSubscription'),D(this,_0x30a013(0x329)),D(this,_0x30a013(0x229),!0x1),D(this,_0x30a013(0x39e),null),(this[_0x30a013(0x112)]=_0x292cd0,this[_0x30a013(0x365)]=_0x9dd062,this['_configService']=_0x510f97,this[_0x30a013(0x299)]=_0x3417ec,this[_0x30a013(0x22b)]=_0x2467b4,this[_0x30a013(0x3ab)]=_0x3ab756,this[_0x30a013(0x3b8)]=_0x51ed17,this[_0x30a013(0x1e3)]=_0x37cf6c,this[_0x30a013(0x229)]=!!this['_telemetryService'],_0x540226[_0x30a013(0xeb)](_0x3a3941(this[_0x30a013(0x120)]))['subscribe'](_0x168eb2=>{var _0x21b2ff=_0x30a013,_0x208dbc;typeof _0x168eb2>'u'||(this[_0x21b2ff(0xbd)]=_0x168eb2,_0x168eb2?(this[_0x21b2ff(0x1b0)](_0x168eb2),this[_0x21b2ff(0x20a)]=_0x168eb2['message$'][_0x21b2ff(0x277)](_0x3d41c1=>{var _0x2c4000=_0x21b2ff;_0x3d41c1[_0x2c4000(0x28d)]===this[_0x2c4000(0x112)]&&this[_0x2c4000(0xc6)](_0x3d41c1);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$'][_0x21b2ff(0x242)](0x2),(_0x208dbc=this[_0x21b2ff(0x20a)])==null||_0x208dbc[_0x21b2ff(0x1ce)](),this[_0x21b2ff(0x20a)]=null));}));}get[_0x46a708(0x306)](){var _0x23e47d=_0x46a708;return this[_0x23e47d(0x38b)]['getValue']();}[_0x46a708(0x2a8)](){var _0x5e4c25=_0x46a708,_0xc661c1,_0x339a8f;return(_0x339a8f=(_0xc661c1=this['_socket'])==null?void 0x0:_0xc661c1[_0x5e4c25(0x3b6)])!=null?_0x339a8f:null;}['dispose'](){var _0x5c4c71=_0x46a708;super[_0x5c4c71(0x104)](),this[_0x5c4c71(0x120)][_0x5c4c71(0x242)](),this[_0x5c4c71(0x120)]['complete']();}['close'](){var _0x34685f=_0x46a708,_0x515b97,_0x1761fb;this[_0x34685f(0x179)](),(_0x515b97=this['_socket'])==null||_0x515b97[_0x34685f(0x37e)]({'cmd':F[_0x34685f(0x39d)],'data':{'roomID':this[_0x34685f(0x112)]}}),(_0x1761fb=this[_0x34685f(0xbd)])==null||_0x1761fb[_0x34685f(0x331)](),this[_0x34685f(0x102)]['complete'](),this['_sessionStatus$'][_0x34685f(0x259)](),this[_0x34685f(0x104)]();}[_0x46a708(0xc6)](_0x2b7ab2){var _0x2edb05=_0x46a708;_0x2b7ab2['cmd']===F['JOIN']?this['_onJoinRoomEvent'](_0x2b7ab2):_0x2b7ab2['cmd']===F[_0x2edb05(0x220)]&&this['_onRecvEvent'](_0x2b7ab2);}[_0x46a708(0x1b0)](_0x526987){var _0x23b501=_0x46a708;this[_0x23b501(0x38b)][_0x23b501(0x242)](0x1),_0x526987[_0x23b501(0x37e)]({'cmd':F[_0x23b501(0x180)],'routeKey':this[_0x23b501(0x112)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x46a708(0x279)](_0x21ceb7){var _0x25b894=_0x46a708,_0x336bda;if(_0x21ceb7[_0x25b894(0x205)]in Yt){this[_0x25b894(0x3b8)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x21ceb7[_0x25b894(0x205)]]}),this['_sessionStatus$']['next'](0x2);return;}this[_0x25b894(0x38b)]['next'](0x3);const _0x14d7f2=(_0x336bda=_0x21ceb7[_0x25b894(0x1de)]['roomInfos'][this[_0x25b894(0x112)]])==null?void 0x0:_0x336bda[_0x25b894(0x2d9)];_0x14d7f2&&_0x14d7f2['forEach'](_0x50b322=>this['_memberService']['updateMember'](this[_0x25b894(0x112)],_0x50b322));}['_onRecvEvent'](_0x459bd0){var _0x4910cd=_0x46a708;try{const _0x23a506=_0x459bd0[_0x4910cd(0x1de)];switch(_0x23a506['eventID']){case _0x397517[_0x4910cd(0x3b1)]:this[_0x4910cd(0x2f1)](_0x23a506),this['_event$']['next'](_0x23a506);break;case _0x397517[_0x4910cd(0x1d6)]:this[_0x4910cd(0x1c8)](_0x23a506),this[_0x4910cd(0x102)]['next'](_0x23a506);break;case _0x397517['CHANGESET_ACK']:case _0x397517[_0x4910cd(0xc0)]:this[_0x4910cd(0x144)](),this[_0x4910cd(0x12d)](),this[_0x4910cd(0x102)]['next'](_0x23a506);break;case _0x397517[_0x4910cd(0x10c)]:this['_logService'][_0x4910cd(0x373)](_0x4910cd(0x1b3)+JSON[_0x4910cd(0x32c)](_0x23a506)),this[_0x4910cd(0x102)]['next'](_0x23a506);break;case _0x397517['COMMENT_UPDATE']:this['_commentService'][_0x4910cd(0x34e)](_0x23a506['data']),this[_0x4910cd(0x102)][_0x4910cd(0x242)](_0x23a506);break;default:this['_event$'][_0x4910cd(0x242)](_0x23a506);}}catch(_0x3eed7e){this[_0x4910cd(0x365)][_0x4910cd(0x373)](_0x3eed7e,_0x459bd0);}}[_0x46a708(0x2f1)](_0x27e0de){var _0x5284c9=_0x46a708;this[_0x5284c9(0x22b)][_0x5284c9(0x12b)](this[_0x5284c9(0x112)],_0x27e0de[_0x5284c9(0x1de)]);}[_0x46a708(0x1c8)](_0x52ffa0){var _0x568624=_0x46a708;this[_0x568624(0x22b)][_0x568624(0x335)](this[_0x568624(0x112)],_0x52ffa0['data'][_0x568624(0x3b6)]);}async['send'](_0x5dcae6,_0x3d92f5){var _0x5a2ce1=_0x46a708;if(this[_0x5a2ce1(0x306)]!==0x3||!this['_socket'])throw new Error(_0x5a2ce1(0x123));try{_0x5dcae6['eventID']===_0x397517[_0x5a2ce1(0x156)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x5a2ce1(0x351)](_0x5dcae6)),this['_socket'][_0x5a2ce1(0x37e)]({'cmd':F[_0x5a2ce1(0x2f3)],'routeKey':_0x3d92f5,'routeType':'','data':_0x5dcae6});}catch(_0x1b6293){this[_0x5a2ce1(0x365)]['error'](_0x1b6293);}}[_0x46a708(0x380)](){var _0x1ed227=_0x46a708,_0x54b185;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x15a143=_0x5eac;this['_collaborationTimeoutTimer']=null,this[_0x15a143(0x3b8)][_0x15a143(0x2e0)]({'id':se[_0x15a143(0x350)]});},(_0x54b185=this[_0x1ed227(0x129)][_0x1ed227(0x27a)](Si))!=null?_0x54b185:Ei);}[_0x46a708(0x12d)](){var _0x3daefd=_0x46a708;this[_0x3daefd(0x329)]&&(clearTimeout(this[_0x3daefd(0x329)]),this['_collaborationTimeoutTimer']=null);}[_0x46a708(0x351)](_0x29e482){var _0x3a6845=_0x46a708;if(!this[_0x3a6845(0x229)])return;const {data:_0x1481d0}=_0x29e482,{unitID:_0x5c8389,changeset:_0x21602c}=_0x1481d0,{mutations:_0x237618,type:_0x2bac73}=_0x21602c;this[_0x3a6845(0x39e)]={'unitId':_0x5c8389,'type':_0x2bac73,'startTime':performance[_0x3a6845(0x131)](),'stopTime':0x0,'duration':0x0,'size':Qn(_0x237618)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x5ae6b3=_0x46a708;if(this[_0x5ae6b3(0x229)]){if(!this[_0x5ae6b3(0x39e)]){this[_0x5ae6b3(0x365)][_0x5ae6b3(0x373)](_0x5ae6b3(0x322),_0x5ae6b3(0x153));return;}this[_0x5ae6b3(0x39e)][_0x5ae6b3(0x258)]=performance[_0x5ae6b3(0x131)](),this['_telemetryInfo'][_0x5ae6b3(0x32e)]=this['_telemetryInfo'][_0x5ae6b3(0x258)]-this[_0x5ae6b3(0x39e)][_0x5ae6b3(0x149)],this[_0x5ae6b3(0x1e3)][_0x5ae6b3(0x1fd)](Zn,this[_0x5ae6b3(0x39e)]),this[_0x5ae6b3(0x39e)]=null;}}[_0x46a708(0x179)](){this['_telemetryInfo']=null;}};Tt=os([ge(0x2,_0x39a5d8),ge(0x3,_0x39fbc8),ge(0x4,_0x2cbcbc(_0x3c75ec)),ge(0x5,_0x2cbcbc(Le)),ge(0x6,_0x2cbcbc(bi)),ge(0x7,_0x2cbcbc(pe)),ge(0x8,_0x159445(_0x1a6e85))],Tt);var as=Object['defineProperty'],cs=Object[_0x46a708(0x13c)],hs=(_0xc3259,_0x4bae7d,_0x3af48c,_0x7409a6)=>{var _0x1110a2=_0x46a708;for(var _0x2ef8f4=_0x7409a6>0x1?void 0x0:_0x7409a6?cs(_0x4bae7d,_0x3af48c):_0x4bae7d,_0x47ed78=_0xc3259[_0x1110a2(0x297)]-0x1,_0x45a071;_0x47ed78>=0x0;_0x47ed78--)(_0x45a071=_0xc3259[_0x47ed78])&&(_0x2ef8f4=(_0x7409a6?_0x45a071(_0x4bae7d,_0x3af48c,_0x2ef8f4):_0x45a071(_0x2ef8f4))||_0x2ef8f4);return _0x7409a6&&_0x2ef8f4&&as(_0x4bae7d,_0x3af48c,_0x2ef8f4),_0x2ef8f4;},me=(_0xbac507,_0x1da88b)=>(_0x426f1d,_0x289b30)=>_0x1da88b(_0x426f1d,_0x289b30,_0xbac507);let Me=class extends _0x2cc935{constructor(_0x2f4a01,_0x120d91,_0x259f69,_0x5da5c5,_0x5d0721,_0x548671,_0x48ed4d){var _0x35f368=_0x46a708;super(),D(this,_0x35f368(0xf8),new _0x5a555a(void 0x0)),D(this,_0x35f368(0x359),this[_0x35f368(0xf8)][_0x35f368(0x35a)]()),D(this,_0x35f368(0x25b),null),D(this,'_sessions',new Map()),D(this,_0x35f368(0x2df),new _0x5a555a(Ie[_0x35f368(0xf6)])),D(this,_0x35f368(0x2da),this[_0x35f368(0x2df)][_0x35f368(0x35a)]()),D(this,_0x35f368(0x346),!0x1),D(this,_0x35f368(0x36b)),D(this,_0x35f368(0x38d),0x0),D(this,_0x35f368(0x39c)),D(this,_0x35f368(0x246)),(this[_0x35f368(0x154)]=_0x2f4a01,this[_0x35f368(0x365)]=_0x120d91,this[_0x35f368(0x129)]=_0x259f69,this[_0x35f368(0x311)]=_0x5da5c5,this[_0x35f368(0x227)]=_0x5d0721,this[_0x35f368(0x3b8)]=_0x548671,this[_0x35f368(0x386)]=_0x48ed4d,this[_0x35f368(0xbf)]());}get[_0x46a708(0xbd)](){var _0xed58b1=_0x46a708;return this[_0xed58b1(0xf8)]['getValue']();}[_0x46a708(0xbf)](){var _0x891e98=_0x46a708;this['_networkConditionService']&&this[_0x891e98(0x122)](this['_networkConditionService'][_0x891e98(0xd3)][_0x891e98(0x277)](_0x21a5c4=>{var _0x59185a=_0x891e98;_0x21a5c4&&!this[_0x59185a(0xbd)]&&this[_0x59185a(0x385)](),_0x21a5c4||this[_0x59185a(0x185)]();}));}[_0x46a708(0x104)](){var _0x1cd83f=_0x46a708;super[_0x1cd83f(0x104)](),this[_0x1cd83f(0x113)][_0x1cd83f(0x355)](_0x34ea60=>_0x34ea60[_0x1cd83f(0x104)]()),this[_0x1cd83f(0x113)][_0x1cd83f(0x1eb)](),this[_0x1cd83f(0x2df)]['complete']();}async['requireSession'](_0x1f30e7){var _0x400890=_0x46a708;if(this[_0x400890(0x113)][_0x400890(0x295)](_0x1f30e7))return this['_sessions'][_0x400890(0x378)](_0x1f30e7);this['_tryEnsureSocket']();const _0x3d847=this[_0x400890(0x154)][_0x400890(0x377)](Tt,_0x1f30e7,this[_0x400890(0xf8)]['asObservable']());return this[_0x400890(0x113)][_0x400890(0x245)](_0x1f30e7,_0x3d847),_0x3d847;}[_0x46a708(0x15c)](_0x1ba367){var _0x414a8e=_0x46a708,_0x1fe107;const _0x142f18=this[_0x414a8e(0x113)]['get'](_0x1ba367);_0x142f18&&(this[_0x414a8e(0x113)][_0x414a8e(0x1ff)](_0x1ba367),_0x142f18[_0x414a8e(0x331)]()),this[_0x414a8e(0x113)]['size']||(_0x1fe107=this[_0x414a8e(0xbd)])==null||_0x1fe107[_0x414a8e(0x331)]();}[_0x46a708(0x385)](){var _0x5ee294=_0x46a708;this[_0x5ee294(0x38d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x5ee294(0x36b)]=null),this[_0x5ee294(0xc7)]();}async[_0x46a708(0x19c)](){var _0x81ecd7=_0x46a708,_0x337c56,_0x7d954d,_0x4d7893;const _0x5625f1=this[_0x81ecd7(0x129)][_0x81ecd7(0x27a)](Y),_0x2f8c1b=(_0x337c56=_0x5625f1==null?void 0x0:_0x5625f1[_0x81ecd7(0x394)])!=null?_0x337c56:xn;return(_0x4d7893=(_0x7d954d=(await this[_0x81ecd7(0x227)][_0x81ecd7(0x378)](_0x2f8c1b,{'headers':{'Content-Type':_0x81ecd7(0xe9)}}))['body'])==null?void 0x0:_0x7d954d['ticket'])!=null?_0x4d7893:'';}['_createSocketURL'](_0x5edf4b){var _0x3f6b9e=_0x46a708,_0x2deec5,_0x3435de;const _0x563ac2=this['_configService'][_0x3f6b9e(0x27a)](Un),_0x134b07=this['_configService'][_0x3f6b9e(0x27a)](Y),_0x1cea87=(_0x3435de=(_0x2deec5=_0x134b07==null?void 0x0:_0x134b07['collabWebSocketUrl'])!=null?_0x2deec5:_0x563ac2)!=null?_0x3435de:An,_0x34611e=typeof window>'u'?new URL(_0x1cea87):new URL(_0x1cea87,window[_0x3f6b9e(0x330)]['origin']);return _0x34611e[_0x3f6b9e(0xe4)][_0x3f6b9e(0x245)](_0x3f6b9e(0x342),_0x5edf4b),_0x34611e[_0x3f6b9e(0x21b)]();}async['_createSocket'](){var _0x12e197=_0x46a708;const _0x5aa4d4=await this['_getSessionTicket'](),_0x253dad=this['_createSocketURL'](_0x5aa4d4),_0x3d4da0=this[_0x12e197(0x311)][_0x12e197(0x13f)](_0x253dad);return this[_0x12e197(0x25b)]=_0x3d4da0,_0x3d4da0;}async['_tryEnsureSocket'](){var _0xd224bf=_0x46a708,_0x2e48de,_0x514498;try{const _0x5a3540=(_0x514498=(_0x2e48de=this[_0xd224bf(0xbd)])!=null?_0x2e48de:this[_0xd224bf(0x25b)])!=null?_0x514498:await this['_createSocket']();if(_0x5a3540){const _0x205062=_0x5a3540[_0xd224bf(0x37e)];_0x5a3540['send']=_0x304781=>(this[_0xd224bf(0x213)](),_0x205062[_0xd224bf(0x1b6)](_0x5a3540,[_0x304781])),_0x5a3540[_0xd224bf(0x340)]['subscribe'](_0x3ef320=>this['_onMessage'](_0x5a3540,_0x3ef320)),_0x5a3540[_0xd224bf(0x399)][_0xd224bf(0xeb)](_0x15d0f6(0x1))[_0xd224bf(0x277)](_0x574272=>this[_0xd224bf(0x365)]['error'](_0xd224bf(0x2ba),_0x574272)),_0x5a3540[_0xd224bf(0x347)][_0xd224bf(0xeb)](_0x15d0f6(0x1))['subscribe'](()=>{var _0x57afa9=_0xd224bf;this[_0x57afa9(0x2b8)](_0x5a3540);}),_0x5a3540[_0xd224bf(0x224)][_0xd224bf(0xeb)](_0x15d0f6(0x1))[_0xd224bf(0x277)](_0x219d10=>{var _0x3655c4=_0xd224bf;this[_0x3655c4(0x365)][_0x3655c4(0x26e)](_0x3655c4(0x1c7),_0x3655c4(0x1ef),_0x219d10),this[_0x3655c4(0x2f8)]();});}}catch(_0x413bf7){this['_logService']['error'](_0x413bf7),this[_0xd224bf(0x2f8)]();}}[_0x46a708(0x2b8)](_0x3cbd6b){var _0x909064=_0x46a708;this['_logService']['debug'](_0x909064(0x1c7),'socket\x20open.'),_0x3cbd6b['send']({'cmd':F[_0x909064(0x358)]}),this[_0x909064(0x213)]();}[_0x46a708(0x185)](){var _0x53ae33=_0x46a708;this[_0x53ae33(0x346)]=!0x1,this[_0x53ae33(0x25b)]=null,this[_0x53ae33(0x2df)][_0x53ae33(0x242)](Ie[_0x53ae33(0x3aa)]),this[_0x53ae33(0xf8)][_0x53ae33(0x242)](null),this[_0x53ae33(0x1b4)](),this[_0x53ae33(0x34a)]();}['_onConnectionFailed'](){var _0x40564f=_0x46a708,_0x21421f;this[_0x40564f(0x185)](),this[_0x40564f(0x38d)]<((_0x21421f=this[_0x40564f(0x129)][_0x40564f(0x27a)](Hn))!=null?_0x21421f:kn)?(this[_0x40564f(0x3b8)][_0x40564f(0x2e0)]({'id':se[_0x40564f(0x136)]}),this[_0x40564f(0xc7)]()):this[_0x40564f(0x3b8)]['emitEvent']({'id':se[_0x40564f(0x1ee)]});}[_0x46a708(0xc7)](){var _0x5169e1=_0x46a708,_0x57f81c;const _0x3ca58e=this['_retryCount'],_0x42957c=this[_0x5169e1(0x129)][_0x5169e1(0x27a)](Y),_0x1aaa2b=_0x3ca58e===0x0?0x0:((_0x57f81c=_0x42957c==null?void 0x0:_0x42957c[_0x5169e1(0x2bd)])!=null?_0x57f81c:$n)*0x2**_0x3ca58e;this['_retryConnectingTimer']=setTimeout(()=>{var _0x126988=_0x5169e1;clearTimeout(this[_0x126988(0x36b)]),this[_0x126988(0x36b)]=null,this[_0x126988(0x392)]();},_0x1aaa2b),this[_0x5169e1(0x38d)]+=0x1;}['_onMessage'](_0x3f0544,_0x8b55c){var _0xe7e036=_0x46a708;const {cmd:_0x17020a}=_0x8b55c;_0x17020a===F[_0xe7e036(0x358)]&&!this[_0xe7e036(0x346)]&&(_0x3f0544[_0xe7e036(0x3b6)]=_0x8b55c['data']['memberID'],this[_0xe7e036(0xf8)][_0xe7e036(0x242)](_0x3f0544),this[_0xe7e036(0x2df)]['next'](Ie[_0xe7e036(0xf2)]),this['_socketReady']=!0x0,this[_0xe7e036(0x25b)]=null),_0x17020a===F[_0xe7e036(0x1e4)]&&this[_0xe7e036(0x1b4)](),this['_rescheduleHeartbeat']();}[_0x46a708(0x213)](){var _0x105fb4=_0x46a708,_0x5d7835;this[_0x105fb4(0x34a)](),this['_sendHeartbeatTimer']=setTimeout(()=>this['_sendHeartbeat'](),(_0x5d7835=this[_0x105fb4(0x129)]['getConfig'](Ln))!=null?_0x5d7835:Mn);}[_0x46a708(0x293)](){var _0x23373b=_0x46a708;this[_0x23373b(0xbd)][_0x23373b(0x37e)]({'cmd':F[_0x23373b(0x1e4)]}),this[_0x23373b(0x1e1)]();}['_waitForHeartbeatResponse'](){var _0x479b5b=_0x46a708,_0x91e2b4;this['_timeoutTimer']=setTimeout(()=>this[_0x479b5b(0x2f8)](),(_0x91e2b4=this['_configService'][_0x479b5b(0x27a)](Si))!=null?_0x91e2b4:Ei);}[_0x46a708(0x34a)](){var _0x245015=_0x46a708;this[_0x245015(0x39c)]!=null&&(clearTimeout(this[_0x245015(0x39c)]),this['_sendHeartbeatTimer']=null);}[_0x46a708(0x1b4)](){var _0x4d2039=_0x46a708;this[_0x4d2039(0x246)]!=null&&(clearTimeout(this[_0x4d2039(0x246)]),this[_0x4d2039(0x246)]=null);}};Me=hs([me(0x0,_0x2cbcbc(_0x177fe8)),me(0x1,_0x39a5d8),me(0x2,_0x39fbc8),me(0x3,Ci),me(0x4,_0x2cbcbc(_0x1d8e94)),me(0x5,_0x2cbcbc(pe)),me(0x6,_0x159445(Gn))],Me);const V=[];for(let n=0x0;n<0x100;++n)V[_0x46a708(0xc9)]((n+0x100)[_0x46a708(0x21b)](0x10)[_0x46a708(0x2a6)](0x1));function _0x3c01(){var _0x4937df=['_append','_shouldReportTelemetry','LICENSE_DISTRO_REJECTED','_memberService','session.room-cnt-exceeds','BufferedBlockAlgorithm','synced','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_submitChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','HEARTBEAT_INTERVAL','saveChangeset','_removeRoom','UNKNOWN_CODE','changesets','getSheetId','collaMsg','collabSubmitChangesetUrl','objectType','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','copyFileMeta','SEND_CHANGESET_TIMEOUT','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','fetchMiss','_revisionService','state$','next','onSyncEditingCollabCursor','onTransformState','set','_timeoutTimer','NEW_CHANGESETS','type','/-/object/-/batch_allowed','_userManagerService','sessionStatus$','default','3543865MHqWEZ','registerHTTPInterceptor','Hex','AUTHZ_URL_KEY','_getUploadFileURL','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','APPLY_NON_SEQUENTIAL_REVISION','_toggleOnline','objects','subType','image/jpg','stopTime','complete','univer-pro.collaboration-client.single-active-unit-service','_candidateSocket','_changesetReqId','_onConflict','resend','filter','onCommandExecuted','awaitingChangeset','pad','UNIVER_PROJECT','reqId','uploadFileServerUrl','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','fetchMissingChangesets','_createHmacHelper','OpenSSL','sheets','OPTIONAL','CHANGESET_REJ','_schedule','debug','joinRsp','formatter','conflict','_applyRemoteChangeset','_prevBlock','title','collaboration-client.config','_getRedoStack','subscribe','_createHelper','_onJoinRoomEvent','getConfig','HEARTBEAT_TIMEOUT','subUnitId','failed\x20to\x20apply\x20missed\x20changesets!','resolve','_http','EvpKDF','__Key__','_onRemoteACK','crypto','/unit/','_doFinalize','collaboration-client.local-cache-service','list','Worksheet','unitID','_nDataBytes','sigBytes','words','routeKey','string','getUnitOnRev','/universer-api/snapshot','getTypeOfUnitDisposed$','saveSnapshot','_sendHeartbeat','getSnapshotAPIPath','has','getCollabEntity','length','_lockTransition','_localeService','commentUpdateEvent','_reverseMap','isPermissionRej','update','JOINING','UPDATE_CURSOR','Hasher','_getCtorByUniverType','_awaitingChangeset','UNAUTHENTICATED','_instanceService','getTypeOfUnitAdded$','slice','362918HQcLvb','getMemberID','_roomMembers','Cipher','_queuedRemoteChangesets','rng','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_loadDoc','subject','_resendTimer','cfg','url','fetchThroughInterceptors','getCollabEntity$','withCredentials','transformChangesets','_keyPriorReset','_onConnectionOpen','startsWith','[CollaborationSessionService]:\x20socket\x20error','_unlockTransition','LIVESHARE_OPERATION','retryConnectingInterval','min','_updateStatus','POST','YUUMI_URL_COL_OUT_OF_RANGE','unitId\x20is\x20not\x20found','/universer-api/comb','enc','APPLY_PERMISSION_DENIED','[CollaborationState]:\x20apply\x20error!','_transformIMECache','salt','session.room-not-exists','listRoles','transformStack\x20failed!','ENSURE_SNAPSHOT_EXECUTION','NOT_FOUND','exports','StreamCipher','objectActions','_xformMode','COMPLETION_FINISHED','BASE64','image/jpeg','_sendingTimer','\x20to\x20','_toggleOffline','getRandomValues','members','status$','transformMutationsWithChangeset','submit\x20changeset\x20error!','COMPRESS_MUTATION_APPLY','_permissionService','_status$','emitEvent','addImageSourceCache','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','SHA1','actions','c1Prime','_config','_sheetTransformSelectionsService','306074KCJUXI','14392uHddSM','LIVESHARE_REQUEST_HOST','Undefined','requestParams','[UniverCollaborationClientPlugin]','toggleOffline','_entityInit$','HmacSHA1','_onUserJoin','textRanges','INGEST','allowed','\x20-\x20','_authzIoService','method','_onConnectionFailed','infoRsp','MD5','_snapshotService','mixIn','_type','leaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','responseType','finalize','[SyncedState]:\x20received\x20acknowledgement.','_transformRemoteChangesetByIMECache','ceil','getSheetBlock','sessionStatus','getCurrentUser','status','getAllMembers','_resendWithTimeout','socketService','Malformed\x20UTF-8\x20data','_getLoginPath','encryptBlock','result','_univerInstanceService','_socketService','_nRounds','_transformSelections','liveShareOperation','userID','enableSingleActiveInstanceLock','entityInit$','shouldCloseConn','_acknowledgedAwaitingChangeset','from','_hash','\x0aAfter:\x20','x-univer-host','setShowComponents','name','indexOf','getInterceptPoints','[CollaborationSession]','UNRECOGNIZED','json','APPLY_DUPLICATED','CHANGESET_ACK','_sender','isArray','_collaborationTimeoutTimer','_state$','joinEvent','stringify','extend','duration','_getSendChangesetTimeout','location','close','resourceIDs','params','charAt','removeMember','PSEUDO_FETCH_MISSING_RESULT','_transformStateCache','Workbook','getTargetByPermissionId','_checkMissing','auth.needGotoLoginAlert','[DataLoaderService]','reset','requireSession','toggleOnline','message$','put','sessionTicket','_process','\x20in\x20_schedule.','bind','_socketReady','open$','loadUnit','_members','_clearHeartbeatTimer','createDecryptor','_getCurrentRevision','FETCH_MISSING','onCommentUpdate','_getAPIPrefixPath','SUBMIT_CHANGESET_TIMEOUT','_startTelemetryCollaborationNewChangeset','Pkcs7','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','localeService','forEach','_incrementRevisionNumber','loadOfflineData','HELLO','socket$','asObservable','splice','image/bmp','28eIqzdp','_key','charCodeAt','image/png','getFocusedUnit','CBC','UNIVER_SLIDE','updateCursorEvent','_logService','_collabSessionService','Could\x20not\x20dynamically\x20require\x20\x22','liveShareNewHost','__esModule','getCurrentRevOfUnit','_retryConnectingTimer','_iKey','confirm','getImage','onMissingChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','SerializableCipher','clamp','error','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','APPLY_REJECT','_changesetSessionId','createInstance','get','awaiting','[PendingState]:\x20unhandled\x20univer\x20type:\x20','readAsDataURL','_loadSheet','change$','send','value','_scheduleCollaborationTimeoutTimer','LICENSE_IMPORT_SIZE_EXCEEDED','ws://127.0.0.1:8000/universer-api/comb/connect','/universer-api/user/session-ticket','addHandlerCallback','reconnect','_networkConditionService','?url=','Error\x20on\x20receiving\x20event','/universer-api/oidc/authpage','_substituteRedoStack','_sessionStatus$','_localCacheService','_retryCount','readInt32LE','getImageSourceCache','INTERNAL_ERROR','_change$','_tryEnsureSocket','_updateState','wsSessionTicketUrl','fromCollab','signUrlServerUrl','executeCommand','AWAITING_WITH_PENDING','error$','padding','_createInitialState','_sendHeartbeatTimer','LEAVE','_telemetryInfo','_handlerCallback','unit-cache-','Univer','ERROR_IMAGE','_onRemoteRejected','LOGIN_URL_KEY','_init','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/new_changes','_exhaustRemoteChangesetQueue','18030564YYSxxH','OFFLINE','_commentService','/universer-api/stream/file/upload','[CollaborationUndoRedoService]','_clearRedo','href','SNAPSHOT_INVALID_SNAPSHOT','USERS_ENTER','_createInitialStateImpl','post','baseRev','randomUUID','memberID','PENDING','_collaborationUIEventService','setCurrentUser','_socket','ruleRefresh','_listenToNetworkCondition','CHANGESET_SHOULD_RETRY','_iv','BlockCipherMode','kdf','_decreaseWaiting','event$','_onCombEvent','_tryReconnect','515730MhDzTj','push','buffer','onMissedChangesetFetched','UPDATE_PERMISSION_OBJ','_resendTimeout','readyForCollab','createCollaborator','_hasher','_minBufferSize','COMPRESS_MUTATION_SEND','online$','add','lib','Base','getUnitType','updateOfflineData','_scheduleTimestamp','_map','_isPermissionRej','onRemoteAck','getMember','objectID','authzUrl','NOT_COLLAB','saveSheetBlock','getResourcesRequest','onLocalMutation','searchParams','collaborators','onStarting','localCacheService','JOIN_ROOM_FAILED','application/json','_collaborationPaused','pipe','CHANGESET_REVISION_CONFILICT','_entities','csAckEvent','_transformRemoteChangesetByStateCache','_replayCachedMutations','values','ONLINE','_invKeySchedule','_commentUpdate$','downloadEndpointUrl','IDLE','parse','_socket$','/rev/','WordArray','univer-pro.collaboration-client-socket-service','ciphertext','HttpImport','__creator','YUUMI_RATE_OVER_LIMIT','onRemoteChangeset','$super','_event$','state','dispose','_disableEditing','format','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getPermissionPoint','getTime','headers','hasher','MSG_FOR_ERROR','Encryptor','onSendChangeset','floor','_transitionLocked','6908964rmWtFG','_unitID','_sessions','_transformService','src','_clearLocalCache','reverse','SNAPSHOT_HAS_BEEN_REMOVED','_oKey','keySize','disableLocalCache','_keySchedule','ALREADY_EXISTS','_clearUndo','session','dispose$','join','disposeWithMe','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','mutations','newCsEvent','updatePermissionObjEvent','_registerDependencies','YUUMI_UNABLE_LOAD_URL','_configService','concat','updateMember','connection\x20error','_clearCollaborationTimeoutTimer','saveImage','onRemoteRej','csShouldRetryEvent','now','catch','refreshPermission','interceptor','_doReset','SOCKET_FAILED_RETRY','OTHER_CLIENT_EDITING','_transformStack','_undoRedoService','encode','_HTTPService','getOwnPropertyDescriptor','function','_mode','createSocket','/collaborator','_initRequestHeader','file','snapshot','_stopTelemetryCollaborationNewChangeset','UnitEmbedded','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','TOO_MANY_REQUESTS','{fileID}','startTime','random','DEFAULT_FILE_NAME','fetching\x20missing\x20changesets\x20from\x20','UNDEFINED','onTransformSelections','LIVESHARE_NEW_HOST','hasOwnProperty','avatar','LIVESHARE_FETCH_OPERATIONS','telemetry\x20info\x20is\x20not\x20initialized','_injector','awaiting_with_pending','SUBMIT_CHANGESET','_unitInfo$','/block/','execute','_parse','JOIN_ROOM_NOT_EXISTS','closeSession','appendMutation','generateRandomId','_remoteChangesetQueue','hostname','getCurrentSelections','&source=','UNIVER_DOC','_pendingMutations','_executeRemoteChangeset','entries','map','body','call','_getUndoStack','CONNECTOR_DATA_TOO_LARGE','UUID','APPLY_REVISION_CONFILICT','?size=','FileId','clone','algo','deepClone','_initDependencies','ivSize','init','not_collab','OTHER_CLIENTS_EDITING','onload','_throwTelemetryCollaborationNewChangeset','_onLocalMutation','Utf8','SHOULD_CLOSE_CONN','PERMISSION_REJ','initWorkbookPermissionChange','AWAITING','JOIN','_cipher','fromCharCode','fetch_missing','editing\x20status\x20changed\x20to','_onOffline','Base64','HttpExport','_singleActiveUnitService','cmd','_transformUndoredo','loginUrlKey','UNIVER_SHEET','onTransformRemoteChangesetByIMECache','byteLength','action','updateCollaborator','find','[CollaborationEntity]','ERROR_EXCEED_SIZE','prototype','_getAPIPrefix','GLOBAL_ROOMS_CNT_EXCEEDS','HMAC','_state','collaboratorID','target','originalMeta','_getSessionTicket','_showConflictNotification','defineProperty','transformUndoRedo','_updateLocalCache','then','onTransformIME','_getSignURL','offline','/object/','RETRY_CONNECTING_MAX_COUNT','selections','HmacMD5','eventID','commentUpdate$','session.room-full','[SyncedState]:\x20received\x20rejection.','updatePermissionPoint','AES','_eventService','_joinRoom','_snapshotServerService','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','save\x20fail\x20reason\x20is\x20','_clearTimeoutTimer','_commandService','apply','/universer-api/authz','_undoStacks','_waitCount','_clearScheduledTask','_startCollaboration','BlockCipher','_compressMutationService','clearUndoRedo','LICENSE_MAX_UNITS_EXCEEDED','LIVESHARE_TERMINATE','_ENC_XFORM_MODE','rev','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','loadDoc','_initCloseConn','size','[CollaborationSessionService]','_onUserLeave','JOIN_ROOM_PERMISSION_DENIED','unitInfo$','decrypt','processBlock','_onRemoteRetry','unsubscribe','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','reject','unknown','patch','mode','_syncEditingCollabCursor','JOIN_ROOM_FULL','USERS_LEAVE','_substituteUndoStack','unitId','/resources','SUCCUSS','NO_OTHER_CLIENTS_EDITING','getDeserializedSheetBlock','_doProcessBlock','data','revision','putCollaborators','_waitForHeartbeatResponse','editingUnit','_telemetryService','HEARTBEAT','CLOSE_ROOM','m2Prime','_createHandler','_data','transformSelections','unpad','clear','_doCryptBlock','reduce','SOCKET_FAILED','socket\x20close','range','iterations','snapshotServerUrl','PERSON','MUTATION','_handler','[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.','SelectRange','_fetchMissChangesets','sid','_getDownloadEndpointURL','pauseCollaboration','image/gif','capture','/allowed','delete','_collaborationSessionService','CONFLICT','encrypt','onTransformRemoteChangesetByStateCache','session.room-permission-denied','code','repeat','focused$','6632BhPOGo','blockSize','_socketMessageSubscription','onRemoteRetry','COMMENT_UPDATE','abs','FETCH_MISS','getUnitId','UNIVER_COLLABORATION_CLIENT_PLUGIN','INVALID_ARGUMENT','msCrypto','_rescheduleHeartbeat','includes','getWorkbookSelections','FAIL','NoPadding','COLLAB_SUBMIT_CHANGESET_URL','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_replaceFileID','toString','_imageSourceCache','create','byteOffset','PERMISSION_DENIED','RECV','incrementRevOfUnit','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','max','close$','every','_onRemoteChangeset','_httpService'];_0x3c01=function(){return _0x4937df;};return _0x3c01();}function _s(_0x5eeede,_0xb39ff5=0x0){return(V[_0x5eeede[_0xb39ff5+0x0]]+V[_0x5eeede[_0xb39ff5+0x1]]+V[_0x5eeede[_0xb39ff5+0x2]]+V[_0x5eeede[_0xb39ff5+0x3]]+'-'+V[_0x5eeede[_0xb39ff5+0x4]]+V[_0x5eeede[_0xb39ff5+0x5]]+'-'+V[_0x5eeede[_0xb39ff5+0x6]]+V[_0x5eeede[_0xb39ff5+0x7]]+'-'+V[_0x5eeede[_0xb39ff5+0x8]]+V[_0x5eeede[_0xb39ff5+0x9]]+'-'+V[_0x5eeede[_0xb39ff5+0xa]]+V[_0x5eeede[_0xb39ff5+0xb]]+V[_0x5eeede[_0xb39ff5+0xc]]+V[_0x5eeede[_0xb39ff5+0xd]]+V[_0x5eeede[_0xb39ff5+0xe]]+V[_0x5eeede[_0xb39ff5+0xf]])['toLowerCase']();}let dt;const ls=new Uint8Array(0x10);function us(){var _0x44a7d8=_0x46a708;if(!dt){if(typeof crypto>'u'||!crypto[_0x44a7d8(0x2d8)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');dt=crypto['getRandomValues'][_0x44a7d8(0x345)](crypto);}return dt(ls);}const ds=typeof crypto<'u'&&crypto[_0x46a708(0x3b5)]&&crypto[_0x46a708(0x3b5)]['bind'](crypto),qt={'randomUUID':ds};function fs(_0x4fffe6,_0x325a26,_0x5480fb){var _0x2ead41=_0x46a708;if(qt[_0x2ead41(0x3b5)]&&!_0x325a26&&!_0x4fffe6)return qt['randomUUID']();_0x4fffe6=_0x4fffe6||{};const _0x41f544=_0x4fffe6[_0x2ead41(0x14a)]||(_0x4fffe6[_0x2ead41(0x2ac)]||us)();return _0x41f544[0x6]=_0x41f544[0x6]&0xf|0x40,_0x41f544[0x8]=_0x41f544[0x8]&0x3f|0x80,_s(_0x41f544);}const X=_0x6d18ba(_0x46a708(0x286));function uo(_0x3a2951){var _0x38f8e0=_0x46a708;return _0x38f8e0(0x3a0)+_0x3a2951;}var vs=Object[_0x46a708(0x19e)],ps=Object[_0x46a708(0x13c)],gs=(_0x4346f1,_0x2a53fe,_0x33d516,_0x6ae34a)=>{var _0x1eaa4a=_0x46a708;for(var _0x4edcac=_0x6ae34a>0x1?void 0x0:_0x6ae34a?ps(_0x2a53fe,_0x33d516):_0x2a53fe,_0x301c14=_0x4346f1[_0x1eaa4a(0x297)]-0x1,_0x5b2b4d;_0x301c14>=0x0;_0x301c14--)(_0x5b2b4d=_0x4346f1[_0x301c14])&&(_0x4edcac=(_0x6ae34a?_0x5b2b4d(_0x2a53fe,_0x33d516,_0x4edcac):_0x5b2b4d(_0x4edcac))||_0x4edcac);return _0x6ae34a&&_0x4edcac&&vs(_0x2a53fe,_0x33d516,_0x4edcac),_0x4edcac;},ft=(_0x31a473,_0x46c234)=>(_0x143c15,_0x52c294)=>_0x46c234(_0x143c15,_0x52c294,_0x31a473);function ms(_0xfd4869){var _0xd76527=_0x46a708;const {unitID:_0x2c9975,mutations:_0x4f96b1}=_0xfd4869;return{'unitId':_0x2c9975,'subUnitId':_0x4f96b1[0x0]['params'][_0xd76527(0x27c)]};}let nt=class{constructor(_0x16f201,_0x54f711,_0x1a19b4){var _0xbec147=_0x46a708;this[_0xbec147(0x154)]=_0x16f201,this['_transformService']=_0x54f711,this[_0xbec147(0x2a4)]=_0x1a19b4;}[_0x46a708(0x1e9)](_0x1cb9ac){var _0x1df2cb=_0x46a708,_0x20d407,_0x388b05,_0x33fdf4,_0x3a9694;const _0x564c88=this['_injector'][_0x1df2cb(0x378)](_0xaeb748),{unitId:_0x418905,subUnitId:_0x2d7f9d}=ms(_0x1cb9ac),_0x43244b=_0x564c88==null?void 0x0:_0x564c88[_0x1df2cb(0x215)](_0x418905)[_0x1df2cb(0x161)](),_0x4b2772=(_0x388b05=(_0x20d407=this[_0x1df2cb(0x2a4)]['getUnit'](_0x418905))==null?void 0x0:_0x20d407['getActiveSheet']())==null?void 0x0:_0x388b05[_0x1df2cb(0x237)]();if(_0x43244b['length']===0x0||!_0x418905||!_0x2d7f9d)return;const _0x3fbfdd=[{'id':_0x36e544['id'],'params':{'unitId':_0x418905,'subUnitId':_0x4b2772,'selections':_0x4bc022[_0x1df2cb(0x172)](_0x43244b)}}],_0x3d57a5=this[_0x1df2cb(0x114)]['transformMutationsWithChangeset'](_0x1cb9ac,_0x3fbfdd);if(!_0x69749e(_0x3d57a5))throw _0x3d57a5[_0x1df2cb(0x373)];const _0x391c04=(_0x3a9694=(_0x33fdf4=_0x3d57a5[_0x1df2cb(0x1e6)][0x0])==null?void 0x0:_0x33fdf4['params'])==null?void 0x0:_0x3a9694[_0x1df2cb(0x1a7)];if(Array['isArray'](_0x391c04)&&_0x391c04[_0x1df2cb(0x297)]){if(_0x391c04[_0x1df2cb(0x297)]===_0x3fbfdd[0x0][_0x1df2cb(0x333)]['selections']['length']&&_0x391c04['every']((_0x544b70,_0x37b5e6)=>_0x2f388c['equals'](_0x544b70[_0x1df2cb(0x1f0)],_0x3fbfdd[0x0][_0x1df2cb(0x333)][_0x1df2cb(0x1a7)][_0x37b5e6]['range'])))return;this[_0x1df2cb(0x154)][_0x1df2cb(0x378)](_0x5796ae)[_0x1df2cb(0x397)](_0x36e544['id'],{'unitId':_0x418905,'subUnitId':_0x4b2772,'selections':_0x391c04});}}};nt=gs([ft(0x0,_0x2cbcbc(_0x177fe8)),ft(0x1,_0x566ad4),ft(0x2,_0x15d079)],nt);const _t=_0x6d18ba(_0x46a708(0x25a));var Ri=(_0x3fe4b0=>(_0x3fe4b0[_0x3fe4b0[_0x46a708(0x1db)]=0x0]=_0x46a708(0x1db),_0x3fe4b0[_0x3fe4b0[_0x46a708(0x177)]=0x1]='OTHER_CLIENTS_EDITING',_0x3fe4b0))(Ri||{});const Ss=new Set([_0x301413['id']]);function Jt(_0x234bc8,_0x5396fa,_0x234671,_0x2cbf86,_0x39f2f9){var _0x334c7b=_0x46a708,_0x2d71c8,_0x5d3322,_0x1bf52e,_0x3d580e;const _0x423b93=[];for(const _0x45ad48 of _0x234bc8)if(Ss[_0x334c7b(0x295)](_0x45ad48['id'])){if(_0x423b93['length']>0x0)break;_0x423b93[_0x334c7b(0xc9)](_0x45ad48);break;}else _0x423b93['push'](_0x45ad48);const _0x188e1a=(_0x5d3322=(_0x2d71c8=_0x39f2f9[_0x334c7b(0x307)]())==null?void 0x0:_0x2d71c8[_0x334c7b(0x315)])!=null?_0x5d3322:_0x334c7b(0x1d1),_0xa12b3e=(_0x3d580e=(_0x1bf52e=_0x39f2f9[_0x334c7b(0x307)]())==null?void 0x0:_0x1bf52e['memberID'])!=null?_0x3d580e:_0x334c7b(0x1d1);return{'changeset':{'unitID':_0x5396fa,'type':_0x16d935(_0x234671[_0x334c7b(0xd7)](_0x5396fa)),'baseRev':_0x2cbf86[_0x334c7b(0x36a)](_0x5396fa),'revision':0x0,'userID':_0x188e1a,'memberID':_0xa12b3e,'mutations':_0x423b93},'pendingMutations':_0x234bc8[_0x334c7b(0x2a6)](_0x423b93[_0x334c7b(0x297)])};}function Es(_0x168509,_0x4812a7,_0x44b24f,_0x12c11e,_0x485534){var _0x3da8e8=_0x46a708,_0x515ccd,_0x3b0e87,_0x3690ad,_0x1cad5b;const _0x5d8d20=[_0x168509[_0x3da8e8(0x1ed)]((_0x52191c,_0x32fe8b)=>{var _0x295a6d=_0x3da8e8,_0x3732c9;const {id:_0x1bb6ad}=_0x52191c,{id:_0x33db01,type:_0x37cad6}=_0x32fe8b,_0x27b660=(_0x3732c9=_0x52191c[_0x295a6d(0x333)])!=null?_0x3732c9:{'actions':null},_0x3473ea=_0x32fe8b[_0x295a6d(0x333)];if(_0x1bb6ad&&_0x1bb6ad!==_0x33db01)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x1bb6ad+_0x295a6d(0x2f5)+_0x33db01+'.');return{..._0x52191c,'id':_0x33db01,'type':_0x37cad6,'params':{'unitId':_0x3473ea[_0x295a6d(0x1d8)],'textRanges':_0x3473ea[_0x295a6d(0x2f2)],'actions':_0x527505['compose'](_0x27b660['actions'],_0x3473ea[_0x295a6d(0x2e4)])}};},{})],_0x28c3e2=(_0x3b0e87=(_0x515ccd=_0x485534[_0x3da8e8(0x307)]())==null?void 0x0:_0x515ccd[_0x3da8e8(0x315)])!=null?_0x3b0e87:_0x3da8e8(0x1d1),_0x390900=(_0x1cad5b=(_0x3690ad=_0x485534[_0x3da8e8(0x307)]())==null?void 0x0:_0x3690ad[_0x3da8e8(0x3b6)])!=null?_0x1cad5b:_0x3da8e8(0x1d1);return{'changeset':{'unitID':_0x4812a7,'type':_0x16d935(_0x44b24f[_0x3da8e8(0xd7)](_0x4812a7)),'baseRev':_0x12c11e[_0x3da8e8(0x36a)](_0x4812a7),'revision':0x0,'userID':_0x28c3e2,'memberID':_0x390900,'mutations':_0x5d8d20},'pendingMutations':[]};}function yi(_0x5bc66c,_0x48d612){var _0x580b03=_0x46a708;const _0x5872ca=new _0x2dfc22(0x1);return setTimeout(()=>_0x5872ca[_0x580b03(0x242)](_0x48d612),_0x5bc66c),_0x5872ca[_0x580b03(0x35a)]()[_0x580b03(0xeb)](_0x557667(0x1));}const Is={'id':_0x176168['id'],'type':_0x3587c7[_0x46a708(0x1f4)],'params':{}};var Ts=Object[_0x46a708(0x19e)],Cs=Object[_0x46a708(0x13c)],Ce=(_0x451cc1,_0x48dee7,_0x49eb23,_0x8ed90a)=>{var _0x2d0201=_0x46a708;for(var _0x3a722f=_0x8ed90a>0x1?void 0x0:_0x8ed90a?Cs(_0x48dee7,_0x49eb23):_0x48dee7,_0xd3f8ad=_0x451cc1[_0x2d0201(0x297)]-0x1,_0x432669;_0xd3f8ad>=0x0;_0xd3f8ad--)(_0x432669=_0x451cc1[_0xd3f8ad])&&(_0x3a722f=(_0x8ed90a?_0x432669(_0x48dee7,_0x49eb23,_0x3a722f):_0x432669(_0x3a722f))||_0x3a722f);return _0x8ed90a&&_0x3a722f&&Ts(_0x48dee7,_0x49eb23,_0x3a722f),_0x3a722f;},A=(_0x2d5fb7,_0x1933f1)=>(_0x47b38c,_0x2d1048)=>_0x1933f1(_0x47b38c,_0x2d1048,_0x2d5fb7),Oi=(_0x47c801=>(_0x47c801[_0x46a708(0xe0)]=_0x46a708(0x176),_0x47c801['SYNCED']=_0x46a708(0x22e),_0x47c801[_0x46a708(0x3b7)]='pending',_0x47c801[_0x46a708(0x17f)]=_0x46a708(0x379),_0x47c801[_0x46a708(0x398)]=_0x46a708(0x155),_0x47c801[_0x46a708(0x20e)]=_0x46a708(0x183),_0x47c801[_0x46a708(0x201)]=_0x46a708(0x271),_0x47c801[_0x46a708(0x3aa)]=_0x46a708(0x1a4),_0x47c801))(Oi||{});const Pi=0xea60;class be{constructor(_0x29480c,_0x13ab92,_0x510261,_0x4209b4,_0x1b999a,_0x3acd74,_0xb44b07,_0x308027,_0x37246a){var _0x30cc82=_0x46a708;D(this,'_awaitingChangeset',null),D(this,_0x30cc82(0x164),[]),(this['unitID']=_0x29480c,this[_0x30cc82(0x248)]=_0x13ab92,this['_handler']=_0x1b999a,this[_0x30cc82(0x1b5)]=_0x3acd74,this[_0x30cc82(0x139)]=_0xb44b07,this[_0x30cc82(0x240)]=_0x308027,this[_0x30cc82(0x38c)]=_0x37246a,this['_awaitingChangeset']=_0x510261,this[_0x30cc82(0x164)]=_0x4209b4);}[_0x46a708(0x33a)](_0x5c6dba){var _0x40d2d0=_0x46a708;const _0x305150=this[_0x40d2d0(0x240)][_0x40d2d0(0x36a)](this[_0x40d2d0(0x289)]);return _0x5c6dba[_0x40d2d0(0x1df)]>_0x305150+0x1?(this[_0x40d2d0(0x1f5)][_0x40d2d0(0x36f)]({'from':_0x305150,'to':_0x5c6dba[_0x40d2d0(0x1df)]-0x1}),!0x0):!0x1;}[_0x46a708(0x18a)](_0x3dd06e){var _0x5ebf10=_0x46a708;this[_0x5ebf10(0x139)][_0x5ebf10(0x19f)](this['unitID'],_0x3dd06e);}[_0x46a708(0x313)](_0x525872){var _0x438235=_0x46a708,_0x352c44,_0x1ceab9;(_0x1ceab9=(_0x352c44=this[_0x438235(0x1f5)])[_0x438235(0x14e)])==null||_0x1ceab9['call'](_0x352c44,_0x525872);}[_0x46a708(0x2c7)](_0x446398){var _0x4db228=_0x46a708,_0xe9a7d9,_0xf01bd1;return(_0xf01bd1=(_0xe9a7d9=this[_0x4db228(0x1f5)])[_0x4db228(0x1a2)])==null?void 0x0:_0xf01bd1[_0x4db228(0x169)](_0xe9a7d9,_0x446398);}[_0x46a708(0x337)](_0x22d9b8){var _0x7789bd=_0x46a708,_0x3127b2,_0x584a71;return(_0x584a71=(_0x3127b2=this[_0x7789bd(0x1f5)])[_0x7789bd(0x244)])==null?void 0x0:_0x584a71[_0x7789bd(0x169)](_0x3127b2,_0x22d9b8);}[_0x46a708(0x303)](_0x5a1f06){var _0x215c08=_0x46a708,_0x449a09,_0x4b3960,_0x5e3acb;return(_0x5e3acb=(_0x4b3960=(_0x449a09=this[_0x215c08(0x1f5)])[_0x215c08(0x18d)])==null?void 0x0:_0x4b3960[_0x215c08(0x169)](_0x449a09,_0x5a1f06))!=null?_0x5e3acb:_0x5a1f06;}[_0x46a708(0xef)](_0x47ae16){var _0x52d761=_0x46a708,_0x124467,_0x54c1c0,_0x5947a5;return(_0x5947a5=(_0x54c1c0=(_0x124467=this['_handler'])[_0x52d761(0x203)])==null?void 0x0:_0x54c1c0['call'](_0x124467,_0x47ae16))!=null?_0x5947a5:_0x47ae16;}['_syncEditingCollabCursor'](_0x235890){var _0x2c04a8=_0x46a708,_0x322ab7,_0x3692d6;if(this['type']===Q[_0x2c04a8(0x163)]){const {unitID:_0x461664,mutations:_0x2d9add,memberID:_0x4a78f1}=_0x235890,_0x3317c8=_0x2d9add[0x0]['params']['textRanges'];Array[_0x2c04a8(0x328)](_0x3317c8)&&_0x3317c8['length']>0x0&&((_0x3692d6=(_0x322ab7=this['_handler'])[_0x2c04a8(0x243)])==null||_0x3692d6['call'](_0x322ab7,{'unitID':_0x461664,'memberID':_0x4a78f1,'textRanges':_0x3317c8}));}}[_0x46a708(0x1a0)](){var _0x50e6f1=_0x46a708,_0x4b0dbb;(_0x4b0dbb=this[_0x50e6f1(0x38c)])==null||_0x4b0dbb['updateOfflineData'](this[_0x50e6f1(0x289)],this[_0x50e6f1(0x248)],this['_awaitingChangeset'],this[_0x50e6f1(0x164)]);}[_0x46a708(0x34c)](){var _0x45bff4=_0x46a708;return this[_0x45bff4(0x240)]['getCurrentRevOfUnit'](this[_0x45bff4(0x289)]);}[_0x46a708(0x356)](){var _0x2b89b7=_0x46a708;this[_0x2b89b7(0x240)][_0x2b89b7(0x221)](this[_0x2b89b7(0x289)]);}['_executeRemoteChangeset'](_0x1b628a){var _0x4b52f9=_0x46a708,_0x35bb4a;let _0x21dc6a=this['_transformRemoteChangesetByIMECache'](_0x1b628a);_0x21dc6a=this[_0x4b52f9(0xef)](_0x21dc6a);const _0x3cc549=_0xcfe0ab(_0x21dc6a[_0x4b52f9(0x124)],this[_0x4b52f9(0x1b5)],{'fromCollab':!0x0});if(!_0x3cc549[_0x4b52f9(0x30f)])throw _0x3cc549['error']instanceof Error?_0x3cc549[_0x4b52f9(0x373)]:new Error((_0x35bb4a=_0x3cc549[_0x4b52f9(0x373)])!=null?_0x35bb4a:_0x4b52f9(0x2c6));this[_0x4b52f9(0x2c7)](_0x21dc6a),this[_0x4b52f9(0x337)](_0x21dc6a),this[_0x4b52f9(0x18a)](_0x1b628a),this[_0x4b52f9(0x313)](_0x21dc6a),this[_0x4b52f9(0x1d4)](_0x21dc6a),this[_0x4b52f9(0x356)]();}}let Pe=class extends be{constructor(_0x25e3ee,_0x13b5e3,_0x1b7ad9,_0x368ab4,_0x19f8db,_0x263d2e,_0x5ca051,_0x2bb927,_0x221eb1,_0x465985){var _0x50143d=_0x46a708;super(_0x25e3ee,_0x13b5e3,null,[],_0x1b7ad9,_0x5ca051,_0x263d2e,_0x368ab4,_0x465985),D(this,_0x50143d(0x308),_0x50143d(0x22e)),(this[_0x50143d(0x154)]=_0x19f8db,this[_0x50143d(0x365)]=_0x2bb927,this[_0x50143d(0x114)]=_0x221eb1,this[_0x50143d(0xe7)]=_0x465985);}[_0x46a708(0x15d)](_0xb0ee8a){var _0x471529=_0x46a708;const _0x4087df=this[_0x471529(0x154)][_0x471529(0x377)](re,this[_0x471529(0x289)],this[_0x471529(0x248)],[_0xb0ee8a],this[_0x471529(0x1f5)]);return _0x4087df[_0x471529(0x26d)](),_0x4087df['_updateLocalCache'](),_0x4087df;}[_0x46a708(0x100)](_0xe649ba){var _0x4c832c=_0x46a708;if(this[_0x4c832c(0x33a)](_0xe649ba))return this[_0x4c832c(0x154)][_0x4c832c(0x377)](te,this[_0x4c832c(0x289)],this[_0x4c832c(0x248)],null,[],null,[_0xe649ba],this[_0x4c832c(0x1f5)]);try{const _0x3eb476=this[_0x4c832c(0x114)][_0x4c832c(0x2db)](_0xe649ba,[Is]);if(_0x69749e(_0x3eb476)){const {c1Prime:_0x10b6eb}=_0x3eb476;return this[_0x4c832c(0x165)](_0x10b6eb),this;}throw _0x3eb476[_0x4c832c(0x373)];}catch(_0x5e1623){return this[_0x4c832c(0x365)]['error'](_0x5e1623),this['_onConflict'](!0x1);}}[_0x46a708(0x25d)](_0x4b2de4){var _0x22c1cb=_0x46a708;return this[_0x22c1cb(0x154)]['createInstance'](de,this['unitID'],this[_0x22c1cb(0x248)],null,[],this[_0x22c1cb(0x1f5)],_0x4b2de4);}[_0x46a708(0xdc)](){var _0x23047b=_0x46a708;throw new Error(_0x23047b(0x302));}[_0x46a708(0x12f)](){var _0xef30e6=_0x46a708;throw new Error(_0xef30e6(0x1ac));}['onRemoteRetry'](){return this;}[_0x46a708(0x2ee)](){var _0x2097af=_0x46a708;return this[_0x2097af(0x154)]['createInstance'](fe,this[_0x2097af(0x289)],this[_0x2097af(0x248)],null,[],this['_handler']);}[_0x46a708(0x33f)](){return this;}[_0x46a708(0x25e)](){var _0x993476=_0x46a708;throw new Error(_0x993476(0x3a6));}['fetchMiss'](){var _0x207d67=_0x46a708;const _0x2d5d1c=this['_revisionService'][_0x207d67(0x36a)](this[_0x207d67(0x289)]);return this[_0x207d67(0x1f5)][_0x207d67(0x36f)]({'from':_0x2d5d1c,'to':0x0}),this['_injector'][_0x207d67(0x377)](te,this[_0x207d67(0x289)],this[_0x207d67(0x248)],null,[],null,[],this[_0x207d67(0x1f5)]);}};Pe=Ce([A(0x3,_0x2cbcbc(_0x300c21)),A(0x4,_0x2cbcbc(_0x177fe8)),A(0x5,_0xef8389),A(0x6,_0x5796ae),A(0x7,_0x39a5d8),A(0x8,_0x566ad4),A(0x9,_0x159445(X))],Pe);let re=class extends be{constructor(_0x43cd8a,_0x1f8afc,_0x3268b2,_0x1721b4,_0x28fc3f,_0x348b31,_0x1ab2b3,_0x5471a7,_0x55c9c0,_0x493d7d,_0x2f200b,_0x20ea8d,_0x44eb75,_0x1dd4a9){var _0xcb5f39=_0x46a708;super(_0x43cd8a,_0x1f8afc,null,_0x3268b2,_0x1721b4,_0x55c9c0,_0x44eb75,_0x348b31,_0x1dd4a9),D(this,_0xcb5f39(0x308),'pending'),D(this,_0xcb5f39(0xd9),null),D(this,_0xcb5f39(0x2d5),null),(this[_0xcb5f39(0x154)]=_0x28fc3f,this[_0xcb5f39(0x22b)]=_0x1ab2b3,this[_0xcb5f39(0x365)]=_0x5471a7,this[_0xcb5f39(0x129)]=_0x493d7d,this['_transformService']=_0x2f200b,this[_0xcb5f39(0x310)]=_0x20ea8d);}[_0x46a708(0x15d)](_0x5b5d8f){var _0xc7f456=_0x46a708;return this[_0xc7f456(0x164)][_0xc7f456(0xc9)](_0x5b5d8f),this[_0xc7f456(0x1a0)](),this;}[_0x46a708(0x100)](_0x2762fc){var _0x5e22e9=_0x46a708;if(this[_0x5e22e9(0x33a)](_0x2762fc))return this[_0x5e22e9(0x1ba)](),this[_0x5e22e9(0x154)]['createInstance'](te,this[_0x5e22e9(0x289)],this['type'],null,this[_0x5e22e9(0x164)],null,[_0x2762fc],this[_0x5e22e9(0x1f5)]);try{const _0x5927a9=this[_0x5e22e9(0x114)][_0x5e22e9(0x2db)](_0x2762fc,this[_0x5e22e9(0x164)]);if(_0x69749e(_0x5927a9)){const {c1Prime:_0xaac334,m2Prime:_0x17f003}=_0x5927a9;this['_executeRemoteChangeset'](_0xaac334);const _0x4fca48=this[_0x5e22e9(0x154)][_0x5e22e9(0x377)](re,this[_0x5e22e9(0x289)],this[_0x5e22e9(0x248)],_0x17f003,this[_0x5e22e9(0x1f5)]);return this[_0x5e22e9(0x1ba)](),_0x4fca48['_schedule'](this[_0x5e22e9(0xd9)]?Math[_0x5e22e9(0x223)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x5e22e9(0x32f)]()),_0x4fca48;}throw _0x5927a9['error'];}catch(_0x242411){return this[_0x5e22e9(0x365)]['error'](_0x242411),this['_onConflict'](!0x1);}}[_0x46a708(0xdc)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x46a708(0x12f)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46a708(0x2ee)](){var _0x358472=_0x46a708;return this['_clearScheduledTask'](),this[_0x358472(0x154)][_0x358472(0x377)](fe,this['unitID'],this['type'],null,this[_0x358472(0x164)],this['_handler']);}[_0x46a708(0x33f)](){return this;}[_0x46a708(0x26d)](_0xecf2da){var _0x4ce0dd=_0x46a708;const _0x9cbea4=_0xecf2da!=null?_0xecf2da:this['_getSendChangesetTimeout']();this[_0x4ce0dd(0xd9)]=new Date()[_0x4ce0dd(0x109)](),this[_0x4ce0dd(0x2d5)]=setTimeout(()=>{var _0x1c4035=_0x4ce0dd;this[_0x1c4035(0x1ba)]();let _0xbe723b=null;switch(this[_0x1c4035(0x248)]){case Q[_0x1c4035(0x18c)]:{_0xbe723b=Jt(this[_0x1c4035(0x164)],this[_0x1c4035(0x289)],this['_univerInstanceService'],this[_0x1c4035(0x240)],this[_0x1c4035(0x22b)]);break;}case Q[_0x1c4035(0x163)]:{this[_0x1c4035(0x164)][_0x1c4035(0x225)](_0x4391fb=>_0x4391fb['id']===_0x31cd2a['id'])?_0xbe723b=Es(this['_pendingMutations'],this[_0x1c4035(0x289)],this[_0x1c4035(0x310)],this['_revisionService'],this[_0x1c4035(0x22b)]):_0xbe723b=Jt(this['_pendingMutations'],this['unitID'],this['_univerInstanceService'],this[_0x1c4035(0x240)],this['_memberService']);break;}default:throw new Error(_0x1c4035(0x37a)+this['type']+_0x1c4035(0x344));}const {changeset:_0x37bf05,pendingMutations:_0x3f525a}=_0xbe723b;this[_0x1c4035(0x1f5)][_0x1c4035(0x10e)](_0x37bf05);const _0x1a4c85=_0x3f525a[_0x1c4035(0x297)]?this[_0x1c4035(0x154)][_0x1c4035(0x377)](oe,this[_0x1c4035(0x289)],this[_0x1c4035(0x248)],_0x37bf05,_0x3f525a,this['_handler'],void 0x0):this['_injector'][_0x1c4035(0x377)](ue,this[_0x1c4035(0x289)],this[_0x1c4035(0x248)],_0x37bf05,this[_0x1c4035(0x1f5)]);_0x1a4c85[_0x1c4035(0x1a0)](),this[_0x1c4035(0x1f5)]['onStateChange'](this,_0x1a4c85);},_0x9cbea4);}[_0x46a708(0x32f)](){var _0x4aca4c=_0x46a708,_0x25aa88;const _0x394315=this[_0x4aca4c(0x129)]['getConfig'](Y);return(_0x25aa88=_0x394315==null?void 0x0:_0x394315['sendChangesetTimeout'])!=null?_0x25aa88:wn;}[_0x46a708(0x25e)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x46a708(0x1ba)](){var _0xe610b3=_0x46a708;this['_sendingTimer']!=null&&(clearTimeout(this[_0xe610b3(0x2d5)]),this[_0xe610b3(0x2d5)]=null);}[_0x46a708(0x25d)](_0x2e6601){var _0x5e02aa=_0x46a708;return this[_0x5e02aa(0x1ba)](),this[_0x5e02aa(0x154)][_0x5e02aa(0x377)](de,this['unitID'],this[_0x5e02aa(0x248)],null,this[_0x5e02aa(0x164)],this['_handler'],_0x2e6601);}};re=Ce([A(0x4,_0x2cbcbc(_0x177fe8)),A(0x5,_0x2cbcbc(_0x300c21)),A(0x6,_0x2cbcbc(Le)),A(0x7,_0x39a5d8),A(0x8,_0x5796ae),A(0x9,_0x39fbc8),A(0xa,_0x566ad4),A(0xb,_0x15d079),A(0xc,_0xef8389),A(0xd,_0x159445(X))],re);let ue=class extends be{constructor(_0x149073,_0x476612,_0x2e26b3,_0x4f8e44,_0xcb2668,_0x48f6dc,_0x4c0462,_0x35b737,_0x4bcb04,_0x396838,_0x42e4dc){var _0x102459=_0x46a708;super(_0x149073,_0x476612,_0x2e26b3,[],_0x4f8e44,_0x4c0462,_0x396838,_0x48f6dc,_0x42e4dc),D(this,'status','awaiting'),D(this,_0x102459(0xcd),0x0),D(this,_0x102459(0x2b0)),D(this,_0x102459(0x327)),(this[_0x102459(0x154)]=_0xcb2668,this[_0x102459(0x365)]=_0x35b737,this[_0x102459(0x114)]=_0x4bcb04);}[_0x46a708(0x15d)](_0x2e62c5){var _0x35778b=_0x46a708;this[_0x35778b(0x1ba)]();const _0x406350=this[_0x35778b(0x154)]['createInstance'](oe,this['unitID'],this[_0x35778b(0x248)],this[_0x35778b(0x2a2)],[_0x2e62c5],this['_handler'],this['_resendTimer']);return _0x406350[_0x35778b(0x1a0)](),_0x406350;}[_0x46a708(0x100)](_0x15600b){var _0x3c0816=_0x46a708;if(this['_checkMissing'](_0x15600b))return this[_0x3c0816(0x1ba)](),this[_0x3c0816(0x154)][_0x3c0816(0x377)](te,this['unitID'],this[_0x3c0816(0x248)],this[_0x3c0816(0x2a2)],[],null,[_0x15600b],this[_0x3c0816(0x1f5)]);try{const _0x3259ca=this[_0x3c0816(0x114)][_0x3c0816(0x2b6)]([_0x15600b],[this[_0x3c0816(0x2a2)]],!0x1);if(_0x28dbe5(_0x3259ca)){const {c1Prime:_0x4f209c,c2Prime:_0x10829e}=_0x3259ca;this[_0x3c0816(0x165)](_0x4f209c[0x0]),_0x10829e[0x0][_0x3c0816(0x3b4)]=this[_0x3c0816(0x34c)](),this[_0x3c0816(0x1ba)]();const _0xa712d9=this[_0x3c0816(0x154)][_0x3c0816(0x377)](ue,this[_0x3c0816(0x289)],this[_0x3c0816(0x248)],_0x10829e[0x0],this['_handler']);return _0xa712d9['_updateLocalCache'](),_0xa712d9;}return this[_0x3c0816(0x25d)](!0x1);}catch(_0x41528c){return this[_0x3c0816(0x365)]['error'](_0x41528c),this[_0x3c0816(0x25d)](!0x1);}}[_0x46a708(0xdc)](_0x5301d1){var _0x444408=_0x46a708;this[_0x444408(0x1ba)]();const _0x31bf2d=this[_0x444408(0x240)][_0x444408(0x36a)](this[_0x444408(0x289)]);if(_0x5301d1[_0x444408(0x1df)]<_0x31bf2d-0x1)return this;if(this[_0x444408(0x33a)](_0x5301d1))return this[_0x444408(0x154)][_0x444408(0x377)](te,this[_0x444408(0x289)],this[_0x444408(0x248)],null,[],this[_0x444408(0x2a2)],[],this[_0x444408(0x1f5)]);this[_0x444408(0x356)]();const _0x22b006=this[_0x444408(0x154)][_0x444408(0x377)](Pe,this[_0x444408(0x289)],this[_0x444408(0x248)],this[_0x444408(0x1f5)]);return _0x22b006[_0x444408(0x1a0)](),_0x22b006;}[_0x46a708(0x12f)](_0xef4717){var _0x2dbbc8=_0x46a708;return this[_0x2dbbc8(0x25d)](!!(_0xef4717!=null&&_0xef4717[_0x2dbbc8(0x29c)]));}[_0x46a708(0x20b)](_0x3d241f){var _0x10cf66=_0x46a708;return this['_resendTimeout']>Pi?this[_0x10cf66(0x2ee)]():(this['_resendTimer']=yi(this['_resendTimeout'],{'timeout':this[_0x10cf66(0xcd)],'reqId':_0x3d241f[_0x10cf66(0x264)]}),this['_sender']=this[_0x10cf66(0x2b0)]['subscribe'](({reqId:_0x1eadd8,timeout:_0xbeec11})=>{var _0x41485c=_0x10cf66;this[_0x41485c(0x30a)](_0x1eadd8,_0xbeec11);}),this);}[_0x46a708(0x2ee)](){var _0x32fe26=_0x46a708;return this[_0x32fe26(0x1ba)](),this[_0x32fe26(0x154)][_0x32fe26(0x377)](fe,this[_0x32fe26(0x289)],this[_0x32fe26(0x248)],this[_0x32fe26(0x2a2)],[],this['_handler']);}[_0x46a708(0x33f)](){return this;}[_0x46a708(0x25e)](){var _0x2aaa6d=_0x46a708;this[_0x2aaa6d(0x1f5)][_0x2aaa6d(0x10e)](this['_awaitingChangeset']);}[_0x46a708(0x25d)](_0xf0a5e3){var _0x6f4ca5=_0x46a708;return this[_0x6f4ca5(0x1ba)](),this[_0x6f4ca5(0x154)][_0x6f4ca5(0x377)](de,this[_0x6f4ca5(0x289)],this[_0x6f4ca5(0x248)],this[_0x6f4ca5(0x2a2)],[],this['_handler'],_0xf0a5e3);}[_0x46a708(0x30a)](_0x541bf9,_0x191e35){var _0x1aaa80=_0x46a708,_0x5eb8b5;_0x541bf9===((_0x5eb8b5=this[_0x1aaa80(0x2a2)])==null?void 0x0:_0x5eb8b5[_0x1aaa80(0x264)])&&(this['resend'](),this[_0x1aaa80(0xcd)]=_0x191e35===0x0?0x3e8:_0x191e35*0x2);}[_0x46a708(0x1ba)](){var _0x317535=_0x46a708,_0x2a0f40;(_0x2a0f40=this[_0x317535(0x327)])==null||_0x2a0f40[_0x317535(0x1ce)](),this[_0x317535(0xcd)]=0x0;}};ue=Ce([A(0x4,_0x2cbcbc(_0x177fe8)),A(0x5,_0x2cbcbc(_0x300c21)),A(0x6,_0x5796ae),A(0x7,_0x39a5d8),A(0x8,_0x566ad4),A(0x9,_0xef8389),A(0xa,_0x159445(X))],ue);let oe=class extends be{constructor(_0x3dd872,_0x39944b,_0x1bb642,_0x37b85e,_0x37711e,_0x4fca31,_0x1c5a2d,_0x5ead4a,_0x38f0cc,_0x46499a,_0x2389e0,_0x886b7e,_0x20f9f8){var _0x2b3113=_0x46a708;super(_0x3dd872,_0x39944b,_0x1bb642,_0x37b85e,_0x37711e,_0x38f0cc,_0x886b7e,_0x5ead4a,_0x20f9f8),D(this,_0x2b3113(0x308),_0x2b3113(0x155)),D(this,_0x2b3113(0xcd),0x0),D(this,_0x2b3113(0x2b0)),D(this,_0x2b3113(0x327)),(this[_0x2b3113(0x154)]=_0x1c5a2d,this[_0x2b3113(0x365)]=_0x46499a,this['_transformService']=_0x2389e0,this[_0x2b3113(0xe7)]=_0x20f9f8,_0x4fca31&&(this[_0x2b3113(0x2b0)]=_0x4fca31,this[_0x2b3113(0x327)]=this[_0x2b3113(0x2b0)]['subscribe'](({reqId:_0x447dce,timeout:_0x2f2caf})=>{var _0xb6fc57=_0x2b3113;this[_0xb6fc57(0x30a)](_0x447dce,_0x2f2caf);})));}[_0x46a708(0x15d)](_0x4e01ea){var _0x3d9cf4=_0x46a708;return this['_pendingMutations'][_0x3d9cf4(0xc9)](_0x4e01ea),this;}[_0x46a708(0x100)](_0x536d84){var _0x3abea4=_0x46a708;if(this[_0x3abea4(0x33a)](_0x536d84))return this['_clearScheduledTask'](),this[_0x3abea4(0x154)][_0x3abea4(0x377)](te,this[_0x3abea4(0x289)],this[_0x3abea4(0x248)],this[_0x3abea4(0x2a2)],this['_pendingMutations'],null,[_0x536d84],this[_0x3abea4(0x1f5)]);try{const _0x5e4a68=this['_transformService']['transformChangesets']([_0x536d84],[this[_0x3abea4(0x2a2)]],!0x1);if(_0x28dbe5(_0x5e4a68)){const {c1Prime:_0xcf68b7,c2Prime:_0x17209c}=_0x5e4a68,_0xd5235a=this[_0x3abea4(0x114)]['transformMutationsWithChangeset'](_0xcf68b7[0x0],this[_0x3abea4(0x164)]);if(_0x69749e(_0xd5235a)){const {c1Prime:_0x13c5eb,m2Prime:_0x5ed2a3}=_0xd5235a;return this['_executeRemoteChangeset'](_0x13c5eb),_0x17209c[0x0][_0x3abea4(0x3b4)]=this[_0x3abea4(0x34c)](),this[_0x3abea4(0x1ba)](),this[_0x3abea4(0x154)][_0x3abea4(0x377)](oe,this[_0x3abea4(0x289)],this['type'],_0x17209c[0x0],_0x5ed2a3,this[_0x3abea4(0x1f5)],void 0x0);}throw _0xd5235a['error'];}throw _0x5e4a68['error'];}catch(_0x20e388){return this[_0x3abea4(0x365)][_0x3abea4(0x373)](_0x20e388),this[_0x3abea4(0x25d)](!0x1);}}[_0x46a708(0xdc)](_0xba0eb1){var _0x458b0b=_0x46a708;if(this[_0x458b0b(0x1ba)](),this[_0x458b0b(0x33a)](_0xba0eb1))return this[_0x458b0b(0x154)][_0x458b0b(0x377)](te,this[_0x458b0b(0x289)],this['type'],null,this[_0x458b0b(0x164)],this[_0x458b0b(0x2a2)],[],this[_0x458b0b(0x1f5)]);this[_0x458b0b(0x356)]();const _0x5c2685=this[_0x458b0b(0x154)][_0x458b0b(0x377)](re,this[_0x458b0b(0x289)],this['type'],this[_0x458b0b(0x164)],this[_0x458b0b(0x1f5)]);return _0x5c2685[_0x458b0b(0x26d)](),_0x5c2685[_0x458b0b(0x1a0)](),_0x5c2685;}[_0x46a708(0x12f)](_0x26cc4d){return this['_onConflict'](!!(_0x26cc4d!=null&&_0x26cc4d['isPermissionRej']));}[_0x46a708(0x20b)](_0x38a2d2){var _0x1d3305=_0x46a708;return this[_0x1d3305(0xcd)]>Pi?this['toggleOffline']():(this[_0x1d3305(0x2b0)]=yi(this['_resendTimeout'],{'timeout':this[_0x1d3305(0xcd)],'reqId':_0x38a2d2[_0x1d3305(0x264)]}),this['_sender']=this[_0x1d3305(0x2b0)][_0x1d3305(0x277)](({reqId:_0x1c7901,timeout:_0x21dfb6})=>{var _0x4d35bc=_0x1d3305;this[_0x4d35bc(0x30a)](_0x1c7901,_0x21dfb6);}),this);}[_0x46a708(0x2ee)](){var _0x2e6bb5=_0x46a708;return this[_0x2e6bb5(0x1ba)](),this[_0x2e6bb5(0x154)][_0x2e6bb5(0x377)](fe,this[_0x2e6bb5(0x289)],this[_0x2e6bb5(0x248)],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}['toggleOnline'](){return this;}['resend'](){var _0x4f81e6=_0x46a708;this[_0x4f81e6(0x1f5)][_0x4f81e6(0x10e)](this[_0x4f81e6(0x2a2)]);}[_0x46a708(0x25d)](_0xb1cfa8){var _0x5db335=_0x46a708;return this[_0x5db335(0x1ba)](),this[_0x5db335(0x154)][_0x5db335(0x377)](de,this[_0x5db335(0x289)],this[_0x5db335(0x248)],null,this['_pendingMutations'],this['_handler'],_0xb1cfa8);}[_0x46a708(0x30a)](_0x48b30d,_0xafa2a8){var _0x439a83=_0x46a708,_0x38bd97;_0x48b30d===((_0x38bd97=this['_awaitingChangeset'])==null?void 0x0:_0x38bd97['reqId'])&&(this['resend'](),this[_0x439a83(0xcd)]=_0xafa2a8===0x0?0x3e8:_0xafa2a8*0x2);}[_0x46a708(0x1ba)](){var _0x257eb4=_0x46a708,_0x2316c7;(_0x2316c7=this[_0x257eb4(0x327)])==null||_0x2316c7[_0x257eb4(0x1ce)](),this[_0x257eb4(0xcd)]=0x0;}};oe=Ce([A(0x6,_0x2cbcbc(_0x177fe8)),A(0x7,_0x2cbcbc(_0x300c21)),A(0x8,_0x5796ae),A(0x9,_0x39a5d8),A(0xa,_0x566ad4),A(0xb,_0xef8389),A(0xc,_0x159445(X))],oe);function _0x5eac(_0x4dc4bf,_0x4d4fb7){var _0x3c01c7=_0x3c01();return _0x5eac=function(_0x5eaccc,_0x555c72){_0x5eaccc=_0x5eaccc-0xbd;var _0x14c679=_0x3c01c7[_0x5eaccc];return _0x14c679;},_0x5eac(_0x4dc4bf,_0x4d4fb7);}let de=class extends be{constructor(_0x5adc02,_0x2ff8b7,_0xf24085,_0x43a024,_0x18fc56,_0x147f5b=!0x1,_0x67d8a3,_0x3eeb9b,_0x489cdc,_0x566b3a,_0x34008c,_0x13cece,_0x406dcb){var _0x970d90=_0x46a708;super(_0x5adc02,_0x2ff8b7,_0xf24085,_0x43a024,_0x18fc56,_0x3eeb9b,_0x489cdc,_0x566b3a,_0x406dcb),D(this,_0x970d90(0x308),_0x970d90(0x271)),(this[_0x970d90(0xdb)]=_0x147f5b,this[_0x970d90(0x2de)]=_0x67d8a3,this[_0x970d90(0x299)]=_0x34008c,this[_0x970d90(0x3b8)]=_0x13cece,this[_0x970d90(0xe7)]=_0x406dcb,this[_0x970d90(0x19d)](),this[_0x970d90(0x116)](),this[_0x970d90(0x105)]());}[_0x46a708(0x15d)](){return this;}[_0x46a708(0x100)](){return this;}['onRemoteAck'](){return this;}[_0x46a708(0x12f)](){return this;}[_0x46a708(0x20b)](){return this;}[_0x46a708(0x2ee)](){return this;}[_0x46a708(0x33f)](){return this;}[_0x46a708(0x25e)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1418cc=_0x46a708,_0xf033dd;(_0xf033dd=this[_0x1418cc(0x38c)])==null||_0xf033dd[_0x1418cc(0xd8)](this[_0x1418cc(0x289)],this['type'],null,[]);}[_0x46a708(0x19d)](){var _0x4b7d35=_0x46a708;this[_0x4b7d35(0xdb)]?this[_0x4b7d35(0x3b8)][_0x4b7d35(0x2e0)]({'id':se[_0x4b7d35(0x21f)]}):this['_collaborationUIEventService'][_0x4b7d35(0x2e0)]({'id':se[_0x4b7d35(0x201)]});}[_0x46a708(0x105)](){var _0x1c69e6=_0x46a708;this[_0x1c69e6(0x2de)][_0x1c69e6(0x1ad)](new _0x1eb22d(this[_0x1c69e6(0x289)])['id'],!0x1);}};de=Ce([A(0x6,_0x2cbcbc(_0x31c910)),A(0x7,_0x5796ae),A(0x8,_0xef8389),A(0x9,_0x2cbcbc(_0x300c21)),A(0xa,_0x2cbcbc(_0x3c75ec)),A(0xb,_0x2cbcbc(pe)),A(0xc,_0x159445(X))],de);let fe=class extends be{constructor(_0x32687b,_0x15cab7,_0x1647a7,_0x5725ed,_0x43b2cc,_0x3c40a0,_0x17e506,_0x134516,_0x1a8ed3,_0x3ec994){var _0x2e17db=_0x46a708;super(_0x32687b,_0x15cab7,_0x1647a7,_0x5725ed,_0x43b2cc,_0x134516,_0x1a8ed3,_0x17e506,_0x3ec994),D(this,_0x2e17db(0x308),'offline'),this['_injector']=_0x3c40a0;}[_0x46a708(0x15d)](_0x4b5b9c){var _0x31fc0c=_0x46a708;return this[_0x31fc0c(0x164)][_0x31fc0c(0xc9)](_0x4b5b9c),this['_updateLocalCache'](),this;}[_0x46a708(0x100)](_0x31dd26){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x46a708(0xdc)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x46a708(0x12f)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x46a708(0x2ee)](){return this;}['toggleOnline'](){var _0x246e7a=_0x46a708;const {_injector:_0x1332e1,_pendingMutations:_0x423cfb,_awaitingChangeset:_0xe0b983,unitID:_0x5adfa6,_handler:_0x59bc3d,type:_0x5d9017}=this,_0x5cb703=Ni(_0x1332e1,_0x5adfa6,_0x5d9017,_0xe0b983,_0x423cfb,_0x59bc3d);return _0x5cb703 instanceof re?_0x5cb703[_0x246e7a(0x26d)]():(_0x5cb703 instanceof oe||_0x5cb703 instanceof ue)&&_0x5cb703[_0x246e7a(0x25e)](),_0x5cb703;}[_0x46a708(0x25e)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Ce([A(0x5,_0x2cbcbc(_0x177fe8)),A(0x6,_0x2cbcbc(_0x300c21)),A(0x7,_0x5796ae),A(0x8,_0xef8389),A(0x9,_0x159445(X))],fe);let te=class extends be{constructor(_0x418e85,_0x32ff4e,_0x550eae,_0x261ae7,_0x53cce7,_0x55ee19,_0x577d23,_0xcf4057,_0x5caa68,_0xae4226,_0x4ced30,_0x150151,_0x5b6d1e,_0x71bcf6){var _0xa80e31=_0x46a708;super(_0x418e85,_0x32ff4e,_0x550eae,_0x261ae7,_0x577d23,_0x4ced30,_0x150151,_0x5caa68,_0x71bcf6),D(this,_0xa80e31(0x308),_0xa80e31(0x183)),(this[_0xa80e31(0x319)]=_0x53cce7,this['_queuedRemoteChangesets']=_0x55ee19,this[_0xa80e31(0x154)]=_0xcf4057,this[_0xa80e31(0x365)]=_0xae4226,this[_0xa80e31(0x114)]=_0x5b6d1e,this[_0xa80e31(0xe7)]=_0x71bcf6);}[_0x46a708(0xcb)](_0x5cc8c5){var _0x41c043=_0x46a708;try{const _0x3f63a5=[..._0x5cc8c5,...this[_0x41c043(0x2ab)]],_0x339058=[this[_0x41c043(0x2a2)]||this[_0x41c043(0x319)]]['filter'](_0x46272f=>!!_0x46272f);let _0x5311ac,_0x5b4c04;if(_0x339058[_0x41c043(0x297)]){const _0x11ec14=this[_0x41c043(0x114)]['transformChangesets'](_0x3f63a5,_0x339058,!0x1);if(!_0x28dbe5(_0x11ec14))throw _0x11ec14['error'];_0x5311ac=_0x11ec14[_0x41c043(0x2e5)],_0x5b4c04=_0x11ec14['c2Prime'];}else _0x5311ac=_0x3f63a5,_0x5b4c04=[];let _0x1f1a75=this[_0x41c043(0x164)];_0x5311ac['forEach'](_0x177fe4=>{var _0x14e785=_0x41c043;let _0x313aa2;if(_0x1f1a75['length']){const _0x12c784=this[_0x14e785(0x114)][_0x14e785(0x2db)](_0x177fe4,_0x1f1a75);if(!_0x69749e(_0x12c784))throw _0x12c784[_0x14e785(0x373)];_0x313aa2=_0x12c784[_0x14e785(0x2e5)],_0x1f1a75=_0x12c784[_0x14e785(0x1e6)];}else _0x313aa2=_0x177fe4;this[_0x14e785(0x165)](_0x313aa2);}),this['_acknowledgedAwaitingChangeset']&&this[_0x41c043(0x356)](),this['_awaitingChangeset']&&_0x5b4c04[_0x41c043(0x297)]&&(_0x5b4c04[0x0][_0x41c043(0x3b4)]=this['_getCurrentRevision']());let _0x589451;if(this[_0x41c043(0x2a2)]&&_0x1f1a75[_0x41c043(0x297)]!==0x0)_0x589451=this['_injector']['createInstance'](oe,this[_0x41c043(0x289)],this['type'],_0x5b4c04[0x0],_0x1f1a75,this['_handler'],void 0x0);else{if(this[_0x41c043(0x2a2)]&&_0x1f1a75['length']===0x0)_0x5b4c04[0x0][_0x41c043(0x3b4)]=this['_getCurrentRevision'](),_0x589451=this[_0x41c043(0x154)]['createInstance'](ue,this[_0x41c043(0x289)],this[_0x41c043(0x248)],_0x5b4c04[0x0],this[_0x41c043(0x1f5)]);else{if(_0x1f1a75[_0x41c043(0x297)]!==0x0){const _0x146e43=this[_0x41c043(0x154)][_0x41c043(0x377)](re,this[_0x41c043(0x289)],this['type'],_0x1f1a75,this[_0x41c043(0x1f5)]);_0x146e43['_schedule'](),_0x589451=_0x146e43;}else _0x589451=this[_0x41c043(0x154)][_0x41c043(0x377)](Pe,this[_0x41c043(0x289)],this[_0x41c043(0x248)],this[_0x41c043(0x1f5)]);}}return _0x589451['_updateLocalCache'](),_0x589451;}catch(_0x12b50c){return this[_0x41c043(0x365)][_0x41c043(0x373)]('[FetchMissState]',_0x41c043(0x27d),_0x12b50c),this['_injector'][_0x41c043(0x377)](de,this['unitID'],this[_0x41c043(0x248)],this['_awaitingChangeset'],this[_0x41c043(0x164)],this[_0x41c043(0x1f5)],!0x1);}}[_0x46a708(0x25e)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x46a708(0x15d)](_0x119544){var _0x3fa734=_0x46a708;return this[_0x3fa734(0x164)][_0x3fa734(0xc9)](_0x119544),this;}[_0x46a708(0x100)](_0x3e3e12){var _0x2619ea=_0x46a708;return this[_0x2619ea(0x2ab)][_0x2619ea(0xc9)](_0x3e3e12),this;}[_0x46a708(0xdc)](_0x1bb4e2){var _0x404e69=_0x46a708;if(this[_0x404e69(0x2a2)])return this[_0x404e69(0x319)]=this[_0x404e69(0x2a2)],this[_0x404e69(0x2a2)]=null,this;throw new Error(_0x404e69(0x353));}[_0x46a708(0x12f)](_0x511c51){var _0x151e56=_0x46a708;return this[_0x151e56(0x25d)](!!(_0x511c51!=null&&_0x511c51[_0x151e56(0x29c)]));}[_0x46a708(0x20b)](){return this;}[_0x46a708(0x2ee)](){var _0x427ec=_0x46a708;return this[_0x427ec(0x154)]['createInstance'](fe,this['unitID'],this[_0x427ec(0x248)],this[_0x427ec(0x2a2)],this['_pendingMutations'],this[_0x427ec(0x1f5)]);}['toggleOnline'](){return this;}[_0x46a708(0x25d)](_0x53be42){var _0x19ead5=_0x46a708;return this['_injector'][_0x19ead5(0x377)](de,this[_0x19ead5(0x289)],this[_0x19ead5(0x248)],this[_0x19ead5(0x2a2)],this[_0x19ead5(0x164)],this[_0x19ead5(0x1f5)],_0x53be42);}};te=Ce([A(0x7,_0x2cbcbc(_0x177fe8)),A(0x8,_0x2cbcbc(_0x300c21)),A(0x9,_0x39a5d8),A(0xa,_0x5796ae),A(0xb,_0xef8389),A(0xc,_0x566ad4),A(0xd,_0x159445(X))],te);function Ni(_0xb89cad,_0x43806f,_0x1bc3ee,_0x57ded1,_0x25dad0,_0x22c5a0){var _0x210b8e=_0x46a708;return _0x57ded1&&_0x25dad0['length']?_0xb89cad[_0x210b8e(0x377)](oe,_0x43806f,_0x1bc3ee,_0x57ded1,_0x25dad0,_0x22c5a0,void 0x0):_0x57ded1?_0xb89cad[_0x210b8e(0x377)](ue,_0x43806f,_0x1bc3ee,_0x57ded1,_0x22c5a0):_0x25dad0[_0x210b8e(0x297)]?_0xb89cad[_0x210b8e(0x377)](re,_0x43806f,_0x1bc3ee,_0x25dad0,_0x22c5a0):_0xb89cad['createInstance'](Pe,_0x43806f,_0x1bc3ee,_0x22c5a0);}var bs=Object[_0x46a708(0x19e)],Rs=Object[_0x46a708(0x13c)],Mt=(_0x3e4075,_0x20d89f,_0x56513e,_0x2c6abf)=>{for(var _0x4fc5b8=_0x2c6abf>0x1?void 0x0:_0x2c6abf?Rs(_0x20d89f,_0x56513e):_0x20d89f,_0x1a0dce=_0x3e4075['length']-0x1,_0x1747e3;_0x1a0dce>=0x0;_0x1a0dce--)(_0x1747e3=_0x3e4075[_0x1a0dce])&&(_0x4fc5b8=(_0x2c6abf?_0x1747e3(_0x20d89f,_0x56513e,_0x4fc5b8):_0x1747e3(_0x4fc5b8))||_0x4fc5b8);return _0x2c6abf&&_0x4fc5b8&&bs(_0x20d89f,_0x56513e,_0x4fc5b8),_0x4fc5b8;},k=(_0x2dd56a,_0x193680)=>(_0x26871c,_0x2bd69a)=>_0x193680(_0x26871c,_0x2bd69a,_0x2dd56a);let st=class extends _0x4cae55{constructor(_0x43e31c,_0x1b54f6,_0x3a6548,_0x16fa5f,_0x108cbe,_0x16a3e2,_0xe7e66f,_0x1583d5,_0x310d69,_0x3ad3f5,_0x2885e8,_0x5b6dc2,_0x4252d1){var _0x1ccb34=_0x46a708;super(),D(this,'_state$',new _0x5a555a(null)),D(this,_0x1ccb34(0x241),this[_0x1ccb34(0x32a)][_0x1ccb34(0x35a)]()),D(this,_0x1ccb34(0x198)),D(this,'_collaborationPaused',!0x1),D(this,_0x1ccb34(0x376),''),D(this,'_changesetReqId',0x0),D(this,_0x1ccb34(0x2da),this[_0x1ccb34(0x241)][_0x1ccb34(0xeb)](_0x1db29d(_0xbbb17b=>_0xbbb17b?_0xbbb17b[_0x1ccb34(0x308)]:Oi['OFFLINE']),_0x2547ec(0x1))),D(this,'_transitionLocked',!0x1),D(this,_0x1ccb34(0x15f),[]),(this[_0x1ccb34(0x289)]=_0x43e31c,this[_0x1ccb34(0x11f)]=_0x1b54f6,this[_0x1ccb34(0x2fd)]=_0x3a6548,this[_0x1ccb34(0x154)]=_0x16fa5f,this[_0x1ccb34(0x1bd)]=_0x108cbe,this[_0x1ccb34(0x299)]=_0x16a3e2,this['_revisionService']=_0xe7e66f,this[_0x1ccb34(0x1af)]=_0x1583d5,this[_0x1ccb34(0x365)]=_0x310d69,this[_0x1ccb34(0x1b5)]=_0x3ad3f5,this[_0x1ccb34(0x2de)]=_0x2885e8,this[_0x1ccb34(0x188)]=_0x5b6dc2,this['_localCacheService']=_0x4252d1);}get[_0x46a708(0x103)](){var _0x414c73=_0x46a708;return this[_0x414c73(0x198)];}async[_0x46a708(0x175)](){var _0x52acf5=_0x46a708;if(this[_0x52acf5(0x103)])throw new Error(_0x52acf5(0x2ad));await this[_0x52acf5(0x3a5)]();}[_0x46a708(0x1fb)](){return this['_collaborationPaused']=!0x0,_0x463d74(()=>{var _0x4c0416=_0x5eac;this[_0x4c0416(0xea)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x46a708(0xe3)](_0x2b1df9){this['_onLocalMutation'](_0x2b1df9);}[_0x46a708(0x393)](_0x114d80){var _0x4b4875=_0x46a708;this[_0x4b4875(0x198)]=_0x114d80,this['_state$']['next'](_0x114d80);}async[_0x46a708(0x3a5)](){var _0x48db2b=_0x46a708,_0x8910f1;this['_updateState'](await this[_0x48db2b(0x39b)]()),this[_0x48db2b(0x188)]&&((_0x8910f1=this['_singleActiveUnitService'])==null||_0x8910f1[_0x48db2b(0x1e2)](this[_0x48db2b(0x289)]),this[_0x48db2b(0x122)](this[_0x48db2b(0x188)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x41d474=>{var _0x3daab5=_0x48db2b;this[_0x3daab5(0x365)]['debug'](_0x3daab5(0x192),_0x3daab5(0x184),_0x41d474),_0x41d474===Ri[_0x3daab5(0x177)]?(this['_eventService'][_0x3daab5(0x2e0)]({'id':se[_0x3daab5(0x137)]}),this['_permissionService']['updatePermissionPoint'](new _0x1eb22d(this[_0x3daab5(0x289)])['id'],!0x1),this[_0x3daab5(0x2de)][_0x3daab5(0x31e)](!0x1)):(this[_0x3daab5(0x2de)][_0x3daab5(0x1ad)](new _0x1eb22d(this[_0x3daab5(0x289)])['id'],!0x0),this[_0x3daab5(0x2de)][_0x3daab5(0x31e)](!0x0));})));let _0x597329=!0x1;return this[_0x48db2b(0x122)](this[_0x48db2b(0x11f)][_0x48db2b(0x24b)][_0x48db2b(0x277)](_0x24bfa2=>{var _0x31dafe=_0x48db2b;_0x24bfa2===Ie[_0x31dafe(0xf2)]?this[_0x31dafe(0x254)](_0x597329):_0x24bfa2===Ie[_0x31dafe(0x3aa)]&&(_0x597329=!0x0,this[_0x31dafe(0x2d7)]());})),this[_0x48db2b(0x122)](this['session'][_0x48db2b(0xc5)]['subscribe'](_0x4f1fdf=>{var _0x148633=_0x48db2b;try{switch(_0x4f1fdf[_0x148633(0x1a9)]){case _0x397517['NEW_CHANGESETS']:{this[_0x148633(0x226)](_0x40dd00(_0x4f1fdf[_0x148633(0x1de)]));break;}case _0x397517[_0x148633(0x326)]:{this['_onRemoteACK'](_0x4f1fdf[_0x148633(0x1de)]);break;}case _0x397517[_0x148633(0x26c)]:{this['_onRemoteRejected']();break;}case _0x397517['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x4f1fdf[_0x148633(0x1de)]);break;}case _0x397517[_0x148633(0x336)]:{this['_onFetchMissResult'](_0x4f1fdf[_0x148633(0x1de)]['changesets'][_0x148633(0x167)](_0x4849b7=>_0x40dd00(_0x4849b7)));break;}case _0x397517[_0x148633(0x17d)]:this[_0x148633(0x3a3)]({'isPermissionRej':!0x0});}}catch(_0x458d98){throw console['error'](_0x148633(0x388),_0x458d98),_0x458d98;}})),this[_0x48db2b(0x198)];}[_0x46a708(0x2bb)](){var _0x362884=_0x46a708;this[_0x362884(0x110)]=!0x1;}[_0x46a708(0x298)](){var _0x2aeeef=_0x46a708;if(this[_0x2aeeef(0x110)])throw new Error(_0x2aeeef(0x1f6));this[_0x2aeeef(0x110)]=!0x0;}[_0x46a708(0x17a)](_0x5b2617){var _0x1286d6=_0x46a708;this[_0x1286d6(0x298)](),this[_0x1286d6(0x393)](this[_0x1286d6(0x198)][_0x1286d6(0x15d)](_0x5b2617)),this['_unlockTransition']();}[_0x46a708(0x226)](_0x28fd2a){var _0x412955=_0x46a708;if(!(_0x28fd2a['revision']<=this['_revisionService'][_0x412955(0x36a)](this[_0x412955(0x289)]))){if(this[_0x412955(0xea)]){this[_0x412955(0x15f)][_0x412955(0xc9)](_0x28fd2a);return;}this['_applyRemoteChangeset'](_0x28fd2a);}}[_0x46a708(0x3a8)](){var _0x18dcd5=_0x46a708;this[_0x18dcd5(0x15f)][_0x18dcd5(0x355)](_0x1fa557=>this[_0x18dcd5(0x272)](_0x1fa557)),this['_remoteChangesetQueue']=[];}[_0x46a708(0x272)](_0x5b7837){var _0x133c19=_0x46a708;const _0xe609cb=this[_0x133c19(0x1bd)][_0x133c19(0x134)]['fetchThroughInterceptors'](this['_compressMutationService'][_0x133c19(0x134)][_0x133c19(0x321)]()[_0x133c19(0x2dd)])(_0x5b7837[_0x133c19(0x124)],null)||_0x5b7837[_0x133c19(0x124)],_0x4c6055={..._0x5b7837,'mutations':_0xe609cb};this[_0x133c19(0x298)](),this[_0x133c19(0x393)](this['_state'][_0x133c19(0x100)](_0x4c6055)),this['_unlockTransition']();}[_0x46a708(0x282)](_0x4756c4){var _0x487967=_0x46a708;this[_0x487967(0x298)](),this[_0x487967(0x393)](this['_state'][_0x487967(0xdc)](_0x4756c4)),this[_0x487967(0x2bb)]();}[_0x46a708(0x3a3)](_0x3d8073){var _0x300e61=_0x46a708;this[_0x300e61(0x298)](),this[_0x300e61(0x393)](this[_0x300e61(0x198)][_0x300e61(0x12f)](_0x3d8073)),this[_0x300e61(0x2bb)]();}[_0x46a708(0x1cd)](_0x1ded51){var _0x1afd8e=_0x46a708;this[_0x1afd8e(0x298)](),this[_0x1afd8e(0x393)](this[_0x1afd8e(0x198)][_0x1afd8e(0x20b)](_0x1ded51)),this['_unlockTransition']();}['_onFetchMissResult'](_0x144e90){var _0x3b22d9=_0x46a708;if(!(this[_0x3b22d9(0x198)]instanceof te))throw new TypeError(_0x3b22d9(0x370));const _0x2c85e9=_0x144e90[_0x3b22d9(0x167)](_0x574d02=>{var _0x586561=_0x3b22d9;const _0x2e891c=this[_0x586561(0x1bd)]['interceptor'][_0x586561(0x2b3)](this[_0x586561(0x1bd)][_0x586561(0x134)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x574d02[_0x586561(0x124)],null)||_0x574d02[_0x586561(0x124)];return{..._0x574d02,'mutations':_0x2e891c};});this[_0x3b22d9(0x298)](),this[_0x3b22d9(0x393)](this[_0x3b22d9(0x198)][_0x3b22d9(0xcb)](_0x2c85e9)),this[_0x3b22d9(0x2bb)]();}[_0x46a708(0x2d7)](){var _0x578d3d=_0x46a708;this['_lockTransition'](),this['_updateState'](this[_0x578d3d(0x198)][_0x578d3d(0x2ee)]()),this['_unlockTransition']();}[_0x46a708(0x254)](_0x47c2a0=!0x1){var _0x50beda=_0x46a708;this[_0x50beda(0x298)](),this[_0x50beda(0x393)](this[_0x50beda(0x198)][_0x50beda(0x33f)]()),this['_unlockTransition']();const _0x43e009=this[_0x50beda(0x198)];_0x47c2a0&&_0x43e009 instanceof Pe&&(this[_0x50beda(0x298)](),this[_0x50beda(0x393)](_0x43e009[_0x50beda(0x23f)]()),this['_unlockTransition']());}async[_0x46a708(0x39b)](){return new Promise(_0x1544ec=>{var _0x9317ba=_0x5eac;this[_0x9317ba(0x11f)][_0x9317ba(0x24b)][_0x9317ba(0xeb)](_0x557667(0x1))[_0x9317ba(0x277)](async _0x230ded=>{var _0x22cf6c=_0x9317ba;_0x1544ec(await this[_0x22cf6c(0x3b2)](_0x230ded===Ie['ONLINE']));});});}['_createHandler'](){const _0x4c61dc=this['unitID'];return{'onStateChange':(_0x143c6c,_0x296e31)=>{var _0x5619f8=_0x5eac;if(_0x143c6c!==this['_state'])throw new Error(_0x5619f8(0x23b)+_0x143c6c[_0x5619f8(0x308)]+_0x5619f8(0x31c)+_0x296e31[_0x5619f8(0x308)]+'\x0aCurrent:\x20'+this[_0x5619f8(0x198)][_0x5619f8(0x308)]);this[_0x5619f8(0x393)](_0x296e31);},'onSendChangeset':_0x32be3b=>{var _0x5481ba=_0x5eac;_0x32be3b['sid']||(_0x32be3b[_0x5481ba(0x1f9)]=this[_0x5481ba(0x376)],_0x32be3b[_0x5481ba(0x264)]=++this[_0x5481ba(0x25c)]);const _0xee6a2f={'eventID':_0x397517['SUBMIT_CHANGESET'],'data':{'unitID':_0x32be3b[_0x5481ba(0x289)],'unitType':this[_0x5481ba(0x2fd)],'changeset':_0x32be3b,'memberID':this[_0x5481ba(0x11f)][_0x5481ba(0x2a8)]()}};this[_0x5481ba(0x11f)][_0x5481ba(0x37e)](_0xee6a2f,this[_0x5481ba(0x289)]);},'onMissingChangesets':({from:_0x3b7f26,to:_0x1c70a4})=>{var _0xb14965=_0x5eac;this[_0xb14965(0x365)][_0xb14965(0x26e)]('[CollaborationEntity]',_0xb14965(0x14c)+_0x3b7f26+_0xb14965(0x2d6)+_0x1c70a4);const _0x46f604={'eventID':_0x397517[_0xb14965(0x34d)],'data':{'unitID':_0x4c61dc,'unitType':this['_type'],'from':_0x3b7f26,'to':_0x1c70a4}};this[_0xb14965(0x11f)]['send'](_0x46f604,this['unitID']);}};}async['_createInitialStateImpl'](_0x4630ea){var _0x6ae8d9=_0x46a708,_0x425939,_0x4c6d3c,_0x1c0032;const _0x67d962=await((_0x425939=this[_0x6ae8d9(0x38c)])==null?void 0x0:_0x425939[_0x6ae8d9(0x357)](this[_0x6ae8d9(0x289)])),_0x105f0e=(_0x4c6d3c=_0x67d962==null?void 0x0:_0x67d962[_0x6ae8d9(0x124)])!=null?_0x4c6d3c:[],_0x4d9b5b=(_0x1c0032=_0x67d962==null?void 0x0:_0x67d962[_0x6ae8d9(0x261)])!=null?_0x1c0032:null,_0x1ac914=!!(_0x4d9b5b!=null&&_0x4d9b5b['sid'])&&!!(_0x4d9b5b!=null&&_0x4d9b5b[_0x6ae8d9(0x264)]);this[_0x6ae8d9(0x376)]=_0x1ac914?_0x4d9b5b[_0x6ae8d9(0x1f9)]:fs(),this[_0x6ae8d9(0x25c)]=_0x1ac914?_0x4d9b5b['reqId']:0x0;const _0x3c59cc=this['unitID'];try{this[_0x6ae8d9(0xf0)](_0x4d9b5b,_0x105f0e);}catch(_0x3bf1c1){this[_0x6ae8d9(0x365)]['error'](_0x3bf1c1);}const _0x4a909c=this[_0x6ae8d9(0x1e7)]();if(_0x4630ea){const _0x13d531=Ni(this[_0x6ae8d9(0x154)],_0x3c59cc,this[_0x6ae8d9(0x2fd)],_0x4d9b5b,_0x105f0e,_0x4a909c);return _0x13d531 instanceof re?_0x13d531[_0x6ae8d9(0x26d)]():(_0x13d531 instanceof oe||_0x13d531 instanceof ue)&&_0x13d531[_0x6ae8d9(0x25e)](),_0x13d531;}return this['_injector'][_0x6ae8d9(0x377)](fe,_0x3c59cc,this[_0x6ae8d9(0x2fd)],_0x4d9b5b,_0x105f0e,_0x4a909c);}['_replayCachedMutations'](_0x558ff2,_0x10cba7){var _0x45afb8=_0x46a708,_0x522b75,_0x3a670a;const _0x25cd0b=this[_0x45afb8(0x1bd)][_0x45afb8(0x134)][_0x45afb8(0x2b3)](this[_0x45afb8(0x1bd)]['interceptor']['getInterceptPoints']()[_0x45afb8(0x2dd)]);(_0x522b75=_0x25cd0b((_0x558ff2==null?void 0x0:_0x558ff2['mutations'])||[],null))==null||_0x522b75['forEach'](_0x2678d6=>this[_0x45afb8(0x1b5)]['executeCommand'](_0x2678d6['id'],_0x2678d6[_0x45afb8(0x333)])),(_0x3a670a=_0x25cd0b(_0x10cba7||[],null))==null||_0x3a670a['forEach'](_0x294d1b=>this[_0x45afb8(0x1b5)][_0x45afb8(0x397)](_0x294d1b['id'],_0x294d1b[_0x45afb8(0x333)]));}};st=Mt([k(0x3,_0x2cbcbc(_0x177fe8)),k(0x4,_0x2cbcbc(_0x15b505)),k(0x5,_0x2cbcbc(_0x3c75ec)),k(0x6,_0x2cbcbc(_0x300c21)),k(0x7,_0x2cbcbc(pe)),k(0x8,_0x39a5d8),k(0x9,_0x5796ae),k(0xa,_0x31c910),k(0xb,_0x159445(_t)),k(0xc,_0x159445(X))],st);let Ct=class extends st{constructor(_0xc5a3d2,_0x2816e0,_0x1b9cc7,_0x3d1c0b,_0x51111c,_0xd1d15a,_0x4d0182,_0x5050a3,_0x1311be,_0x266b9b,_0x3db7e0,_0x3175e0,_0x4e4b91){var _0x4433c0=_0x46a708;super(_0xc5a3d2,_0x1b9cc7,_0x2816e0,_0x3d1c0b,_0x51111c,_0xd1d15a,_0x4d0182,_0x5050a3,_0x1311be,_0x266b9b,_0x3db7e0,_0x3175e0,_0x4e4b91),D(this,'_handlerCallback',null),(this[_0x4433c0(0x289)]=_0xc5a3d2,this['type']=_0x2816e0);}[_0x46a708(0x384)](_0x4d19c3){var _0x44f217=_0x46a708;this[_0x44f217(0x39f)]=_0x4d19c3;}['dispose'](){var _0x1af3ac=_0x46a708;this[_0x1af3ac(0x39f)]=null,super[_0x1af3ac(0x104)]();}['_createHandler'](){var _0x574843=_0x46a708;const _0x51a511=super['_createHandler']();return _0x51a511['onTransformIME']=_0xb0128b=>{var _0x52e256=_0x5eac,_0x4f3bfe,_0x441609;return(_0x441609=(_0x4f3bfe=this[_0x52e256(0x39f)])==null?void 0x0:_0x4f3bfe[_0x52e256(0x1a2)])==null?void 0x0:_0x441609[_0x52e256(0x169)](_0x4f3bfe,_0xb0128b);},_0x51a511[_0x574843(0x244)]=_0x301433=>{var _0x1a4f08=_0x574843,_0x5355f8,_0x401c2c;return(_0x401c2c=(_0x5355f8=this[_0x1a4f08(0x39f)])==null?void 0x0:_0x5355f8['onTransformState'])==null?void 0x0:_0x401c2c[_0x1a4f08(0x169)](_0x5355f8,_0x301433);},_0x51a511[_0x574843(0x14e)]=_0x34789a=>{var _0x4e22a2=_0x574843,_0x381242,_0x409afd;return(_0x409afd=(_0x381242=this[_0x4e22a2(0x39f)])==null?void 0x0:_0x381242[_0x4e22a2(0x14e)])==null?void 0x0:_0x409afd['call'](_0x381242,_0x34789a);},_0x51a511[_0x574843(0x243)]=_0xcc2658=>{var _0x4484c7=_0x574843,_0x244aeb,_0x253cb6;return(_0x253cb6=(_0x244aeb=this[_0x4484c7(0x39f)])==null?void 0x0:_0x244aeb[_0x4484c7(0x243)])==null?void 0x0:_0x253cb6[_0x4484c7(0x169)](_0x244aeb,_0xcc2658);},_0x51a511[_0x574843(0x18d)]=_0x33ac04=>{var _0x3e52c5=_0x574843,_0x433aff,_0x1f1e6b,_0x56af2f;if(!((_0x433aff=this[_0x3e52c5(0x39f)])!=null&&_0x433aff[_0x3e52c5(0x18d)]))throw new Error(_0x3e52c5(0x252));return(_0x56af2f=(_0x1f1e6b=this[_0x3e52c5(0x39f)])==null?void 0x0:_0x1f1e6b['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x56af2f[_0x3e52c5(0x169)](_0x1f1e6b,_0x33ac04);},_0x51a511[_0x574843(0x203)]=_0x55b99b=>{var _0x35b4e0=_0x574843,_0x4b398f,_0xdc25eb,_0xa807cd;if(!((_0x4b398f=this[_0x35b4e0(0x39f)])!=null&&_0x4b398f['onTransformRemoteChangesetByStateCache']))throw new Error(_0x35b4e0(0x374));return(_0xa807cd=(_0xdc25eb=this['_handlerCallback'])==null?void 0x0:_0xdc25eb[_0x35b4e0(0x203)])==null?void 0x0:_0xa807cd[_0x35b4e0(0x169)](_0xdc25eb,_0x55b99b);},_0x51a511;}async['_init'](){var _0x58244a=_0x46a708;const _0x2fa09f=await super['_init']();return this[_0x58244a(0x122)](this['_commandService'][_0x58244a(0x260)]((_0x169fb0,_0x4dc0d9)=>{var _0x1270cf=_0x58244a;if(_0x169fb0[_0x1270cf(0x248)]!==_0x3587c7[_0x1270cf(0x1f4)]||_0x4dc0d9!=null&&_0x4dc0d9[_0x1270cf(0x395)]||_0x4dc0d9!=null&&_0x4dc0d9['onlyLocal']||_0x169fb0['id']===_0x31cd2a['id'])return;const _0x4ffa14=_0x169fb0[_0x1270cf(0x333)];if((_0x4ffa14==null?void 0x0:_0x4ffa14[_0x1270cf(0x1d8)])!==this[_0x1270cf(0x289)])return;const _0x379762=_0x169fb0,_0x17ea45=this[_0x1270cf(0x1bd)]['interceptor']['fetchThroughInterceptors'](this[_0x1270cf(0x1bd)][_0x1270cf(0x134)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x379762],null)||[_0x379762];this[_0x1270cf(0x17a)](_0x17ea45[0x0]);})),_0x2fa09f;}};Ct=Mt([k(0x3,_0x2cbcbc(_0x177fe8)),k(0x4,_0x2cbcbc(_0x15b505)),k(0x5,_0x2cbcbc(_0x3c75ec)),k(0x6,_0x2cbcbc(_0x300c21)),k(0x7,_0x2cbcbc(pe)),k(0x8,_0x39a5d8),k(0x9,_0x5796ae),k(0xa,_0x31c910),k(0xb,_0x159445(_t)),k(0xc,_0x159445(X))],Ct);let bt=class extends st{constructor(_0x26ae31,_0x2b594a,_0x12c248,_0xddf1cd,_0x4033bd,_0x35b30b,_0x28ed76,_0x41d979,_0x160b8c,_0x2ab0d9,_0x75ec88,_0x1b7c81,_0x18150e,_0x4d2119){var _0x43c321=_0x46a708;super(_0x26ae31,_0x12c248,_0x2b594a,_0xddf1cd,_0x4033bd,_0x35b30b,_0x28ed76,_0x160b8c,_0x2ab0d9,_0x75ec88,_0x1b7c81,_0x18150e,_0x4d2119),this[_0x43c321(0x289)]=_0x26ae31,this['type']=_0x2b594a,this['_sheetTransformSelectionsService']=_0x41d979;}['_createHandler'](){var _0x2ff3a0=_0x46a708;const _0x588ce6=super[_0x2ff3a0(0x1e7)]();return _0x588ce6[_0x2ff3a0(0x14e)]=_0xd8d5e8=>this[_0x2ff3a0(0x2e7)][_0x2ff3a0(0x1e9)](_0xd8d5e8),_0x588ce6;}async['_init'](){var _0x531ed2=_0x46a708;const _0x4c2e1b=await super['_init']();return this[_0x531ed2(0x122)](this[_0x531ed2(0x1b5)][_0x531ed2(0x260)]((_0x123246,_0x32ff71)=>{var _0x1d4ba3=_0x531ed2;if(_0x123246[_0x1d4ba3(0x248)]!==_0x3587c7[_0x1d4ba3(0x1f4)]||_0x32ff71!=null&&_0x32ff71[_0x1d4ba3(0x395)]||_0x32ff71!=null&&_0x32ff71['onlyLocal'])return;const _0x1368ab=_0x123246[_0x1d4ba3(0x333)];if((_0x1368ab==null?void 0x0:_0x1368ab[_0x1d4ba3(0x1d8)])!==this['unitID'])return;const _0xc37ff4=_0x123246,_0x1c9fa0=this[_0x1d4ba3(0x1bd)]['interceptor'][_0x1d4ba3(0x2b3)](this[_0x1d4ba3(0x1bd)][_0x1d4ba3(0x134)][_0x1d4ba3(0x321)]()[_0x1d4ba3(0xd2)])([_0xc37ff4],null)||[_0xc37ff4];this[_0x1d4ba3(0x17a)](_0x1c9fa0[0x0]);})),_0x4c2e1b;}};bt=Mt([k(0x3,_0x2cbcbc(_0x177fe8)),k(0x4,_0x2cbcbc(_0x15b505)),k(0x5,_0x2cbcbc(_0x3c75ec)),k(0x6,_0x2cbcbc(_0x300c21)),k(0x7,_0x2cbcbc(nt)),k(0x8,_0x2cbcbc(pe)),k(0x9,_0x39a5d8),k(0xa,_0x5796ae),k(0xb,_0x31c910),k(0xc,_0x159445(_t)),k(0xd,_0x159445(X))],bt);var ys=Object[_0x46a708(0x19e)],Os=Object[_0x46a708(0x13c)],Ps=(_0x5aaef5,_0x2b21f2,_0x39c7b5,_0x392ab7)=>{var _0x25549=_0x46a708;for(var _0xb60172=_0x392ab7>0x1?void 0x0:_0x392ab7?Os(_0x2b21f2,_0x39c7b5):_0x2b21f2,_0xf6c352=_0x5aaef5[_0x25549(0x297)]-0x1,_0x1751f1;_0xf6c352>=0x0;_0xf6c352--)(_0x1751f1=_0x5aaef5[_0xf6c352])&&(_0xb60172=(_0x392ab7?_0x1751f1(_0x2b21f2,_0x39c7b5,_0xb60172):_0x1751f1(_0xb60172))||_0xb60172);return _0x392ab7&&_0xb60172&&ys(_0x2b21f2,_0x39c7b5,_0xb60172),_0xb60172;},vt=(_0x398229,_0x28ccef)=>(_0x3440fa,_0x5ef8be)=>_0x28ccef(_0x3440fa,_0x5ef8be,_0x398229);let rt=class extends _0x4cae55{constructor(_0x4f0657,_0x15ab2f,_0x39f750){var _0x386a19=_0x46a708;super(),D(this,_0x386a19(0xed),new Map()),D(this,_0x386a19(0x2ef),new _0x5a87a1()),D(this,_0x386a19(0x317),this[_0x386a19(0x2ef)][_0x386a19(0x35a)]()),(this[_0x386a19(0x154)]=_0x4f0657,this['_collabSessionService']=_0x15ab2f,this[_0x386a19(0x310)]=_0x39f750,this[_0x386a19(0x3a5)]());}[_0x46a708(0x104)](){var _0x79acc0=_0x46a708;super[_0x79acc0(0x104)](),this[_0x79acc0(0xed)][_0x79acc0(0x355)](_0x1b1d81=>_0x1b1d81[_0x79acc0(0x104)]()),this[_0x79acc0(0xed)][_0x79acc0(0x1eb)]();}[_0x46a708(0x296)](_0x102aac){var _0x7c7521=_0x46a708,_0x5936b4;return(_0x5936b4=this[_0x7c7521(0xed)][_0x7c7521(0x378)](_0x102aac))!=null?_0x5936b4:null;}[_0x46a708(0x2b4)](_0x41036a){var _0x5dbeb4=_0x46a708;const _0x4bfacf=this[_0x5dbeb4(0x296)](_0x41036a);return _0x4bfacf?_0x3727ba(_0x4bfacf):this['_entityInit$'][_0x5dbeb4(0xeb)](_0x2b6ff6(_0x4b5e3b=>_0x4b5e3b[_0x5dbeb4(0x289)]===_0x41036a));}[_0x46a708(0xce)](_0x260758){var _0x492630=_0x46a708;return _0x4eae8d(this['getCollabEntity$'](_0x260758)[_0x492630(0xeb)](_0x41c3de(()=>{})));}[_0x46a708(0x3a5)](){var _0x4693c1=_0x46a708;this[_0x4693c1(0x310)][_0x4693c1(0x2a5)](_0x4ce4bc[_0x4693c1(0x18c)])[_0x4693c1(0xeb)](_0x3a3941(this[_0x4693c1(0x120)]),_0x164ecf(0x10))['subscribe'](async _0x589ae2=>{var _0x52291a=_0x4693c1;const _0x123c22=_0x589ae2['getUnitId'](),_0xf7dadb=await this[_0x52291a(0x1bb)](_0x123c22,Q['UNIVER_SHEET']);this['_entities'][_0x52291a(0x245)](_0x123c22,_0xf7dadb);}),this[_0x4693c1(0x310)]['getTypeOfUnitAdded$'](_0x4ce4bc[_0x4693c1(0x163)])[_0x4693c1(0xeb)](_0x3a3941(this['dispose$']),_0x164ecf(0x10))[_0x4693c1(0xeb)](_0x2b6ff6(_0x1be48f=>!_0x1be48f[_0x4693c1(0x20f)]()[_0x4693c1(0x2b9)]('__')))[_0x4693c1(0x277)](async _0x2a75cd=>{var _0x13ccbb=_0x4693c1;const _0x4f0f22=_0x2a75cd[_0x13ccbb(0x20f)](),_0x1eed90=await this['_startCollaboration'](_0x4f0f22,Q['UNIVER_DOC']);this[_0x13ccbb(0xed)][_0x13ccbb(0x245)](_0x4f0f22,_0x1eed90);}),_0x4bc9c5(this['_univerInstanceService'][_0x4693c1(0x291)](_0x4ce4bc[_0x4693c1(0x18c)]),this['_univerInstanceService'][_0x4693c1(0x291)](_0x4ce4bc['UNIVER_DOC']))[_0x4693c1(0xeb)](_0x3a3941(this['dispose$']))[_0x4693c1(0x277)](_0x417015=>{var _0x1b3e51=_0x4693c1;const _0x30d02a=_0x417015['getUnitId'](),_0x27e2bd=this[_0x1b3e51(0xed)]['get'](_0x30d02a);_0x27e2bd&&(_0x27e2bd[_0x1b3e51(0x104)](),this['_entities'][_0x1b3e51(0x1ff)](_0x30d02a));});}async['_startCollaboration'](_0x1e86a8,_0x3c7f31){var _0x364d8e=_0x46a708;const _0x37b3fc=await this[_0x364d8e(0x366)][_0x364d8e(0x33e)](_0x1e86a8),_0x39d746=this[_0x364d8e(0x154)][_0x364d8e(0x377)](this[_0x364d8e(0x2a1)](_0x3c7f31),_0x1e86a8,_0x3c7f31,_0x37b3fc);return await _0x39d746[_0x364d8e(0x175)](),this[_0x364d8e(0x2ef)][_0x364d8e(0x242)](_0x39d746),_0x39d746;}['_getCtorByUniverType'](_0x427d6b){var _0x5411ae=_0x46a708;switch(_0x427d6b){case Q['UNIVER_DOC']:return Ct;case Q[_0x5411ae(0x18c)]:return bt;default:throw new Error(_0x5411ae(0x219)+_0x427d6b);}}};rt=Ps([vt(0x0,_0x2cbcbc(_0x177fe8)),vt(0x1,_0x2cbcbc(Me)),vt(0x2,_0x15d079)],rt);var Ns=Object[_0x46a708(0x19e)],Ds=Object[_0x46a708(0x13c)],ws=(_0x473420,_0x5df49d,_0x1ccf31,_0xf5dee3)=>{for(var _0x2752ad=_0xf5dee3>0x1?void 0x0:_0xf5dee3?Ds(_0x5df49d,_0x1ccf31):_0x5df49d,_0x4c56e0=_0x473420['length']-0x1,_0x4b7a5f;_0x4c56e0>=0x0;_0x4c56e0--)(_0x4b7a5f=_0x473420[_0x4c56e0])&&(_0x2752ad=(_0xf5dee3?_0x4b7a5f(_0x5df49d,_0x1ccf31,_0x2752ad):_0x4b7a5f(_0x2752ad))||_0x2752ad);return _0xf5dee3&&_0x2752ad&&Ns(_0x5df49d,_0x1ccf31,_0x2752ad),_0x2752ad;},Xt=(_0x6d90a,_0x2bb46f)=>(_0x4e0ebc,_0x401394)=>_0x2bb46f(_0x4e0ebc,_0x401394,_0x6d90a);const Us=_0x46a708(0x14b),As=_0x46a708(0x3a1);let Rt=class extends _0x2cc935{constructor(_0x291f67,_0x16f8f7){var _0x3233d6=_0x46a708;super(),this['_univerInstanceService']=_0x291f67,this[_0x3233d6(0x129)]=_0x16f8f7,this[_0x3233d6(0x3a5)]();}[_0x46a708(0x3a5)](){var _0x1f17c2=_0x46a708;this['disposeWithMe'](this[_0x1f17c2(0x310)][_0x1f17c2(0x207)][_0x1f17c2(0x277)](()=>{var _0x18cb4f=_0x1f17c2,_0x47d79c;const _0x48b210=this[_0x18cb4f(0x310)][_0x18cb4f(0x361)]();let _0x4af146=(_0x47d79c=this[_0x18cb4f(0x129)]['getConfig'](Us))!=null?_0x47d79c:As;_0x48b210 instanceof _0x140f85&&(_0x4af146=_0x48b210[_0x18cb4f(0x31f)]),document[_0x18cb4f(0x274)]=_0x4af146;}));}};Rt=ws([Xt(0x0,_0x15d079),Xt(0x1,_0x39fbc8)],Rt);var xs=Object[_0x46a708(0x19e)],Ls=Object['getOwnPropertyDescriptor'],Ms=(_0x171344,_0x333412,_0x5325d2,_0x728f7f)=>{var _0x44378b=_0x46a708;for(var _0x54599e=_0x728f7f>0x1?void 0x0:_0x728f7f?Ls(_0x333412,_0x5325d2):_0x333412,_0x4b41fc=_0x171344[_0x44378b(0x297)]-0x1,_0x1f7681;_0x4b41fc>=0x0;_0x4b41fc--)(_0x1f7681=_0x171344[_0x4b41fc])&&(_0x54599e=(_0x728f7f?_0x1f7681(_0x333412,_0x5325d2,_0x54599e):_0x1f7681(_0x54599e))||_0x54599e);return _0x728f7f&&_0x54599e&&xs(_0x333412,_0x5325d2,_0x54599e),_0x54599e;},pt=(_0x36eb18,_0x2e508c)=>(_0x55bbcc,_0x37e95)=>_0x2e508c(_0x55bbcc,_0x37e95,_0x36eb18);let ot=class{constructor(_0xcd9c6c,_0x18d9c2,_0x415084){var _0x2725d4=_0x46a708;this[_0x2725d4(0x129)]=_0xcd9c6c,this['_httpService']=_0x18d9c2,this['localeService']=_0x415084,this['init']();}['init'](){var _0x51e05a=_0x46a708;this[_0x51e05a(0x227)][_0x51e05a(0x24e)]({'priority':0x1,'interceptor':(_0x1f9d47,_0x4ba00d)=>_0x4ba00d(_0x1f9d47)[_0x51e05a(0xeb)](_0x18b5c3(async _0x2d8435=>{var _0x54b2ab=_0x51e05a;const _0x2b8935=_0x2d8435;if(_0x2b8935[_0x54b2ab(0x308)]===0x191){if(typeof window>'u')throw new Error(_0x54b2ab(0x23e));if(window[_0x54b2ab(0x36d)](this[_0x54b2ab(0x354)]['t'](_0x54b2ab(0x33b)))){const _0xdae0f7=window['encodeURIComponent'](window['location']['href']);window[_0x54b2ab(0x330)][_0x54b2ab(0x3af)]=this[_0x54b2ab(0x30d)]()+_0x54b2ab(0x387)+_0xdae0f7;}}return _0x2b8935;}))});}[_0x46a708(0x30d)](){var _0x230e49=_0x46a708,_0x20d579,_0x40a41a;const _0x411f21=this['_configService']['getConfig'](Fn),_0xc79631=this[_0x230e49(0x129)][_0x230e49(0x27a)](Y);return(_0x40a41a=(_0x20d579=_0xc79631==null?void 0x0:_0xc79631[_0x230e49(0x18b)])!=null?_0x20d579:_0x411f21)!=null?_0x40a41a:Vn;}};ot=Ms([pt(0x0,_0x39fbc8),pt(0x1,_0x2cbcbc(_0x1d8e94)),pt(0x2,_0x2cbcbc(_0x3c75ec))],ot);var $s=Object['defineProperty'],Hs=Object[_0x46a708(0x13c)],ks=(_0x1c902e,_0x7740c3,_0x1a002e,_0x115b86)=>{var _0x288e6e=_0x46a708;for(var _0x50c2a7=_0x115b86>0x1?void 0x0:_0x115b86?Hs(_0x7740c3,_0x1a002e):_0x7740c3,_0x3d977f=_0x1c902e[_0x288e6e(0x297)]-0x1,_0x4ba060;_0x3d977f>=0x0;_0x3d977f--)(_0x4ba060=_0x1c902e[_0x3d977f])&&(_0x50c2a7=(_0x115b86?_0x4ba060(_0x7740c3,_0x1a002e,_0x50c2a7):_0x4ba060(_0x50c2a7))||_0x50c2a7);return _0x115b86&&_0x50c2a7&&$s(_0x7740c3,_0x1a002e,_0x50c2a7),_0x50c2a7;},Zt=(_0x5eb706,_0x19a2af)=>(_0x497cbe,_0x1d4256)=>_0x19a2af(_0x497cbe,_0x1d4256,_0x5eb706);const Di=_0x46a708(0x250),js=_0x46a708(0x1b7);let yt=class extends _0x2cc935{constructor(_0x361a09,_0x162604){var _0x4dc4b0=_0x46a708;super(),this[_0x4dc4b0(0x13b)]=_0x361a09,this[_0x4dc4b0(0x129)]=_0x162604,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x494438=_0x46a708;const _0x47c1a3=this;this[_0x494438(0x122)](this[_0x494438(0x13b)][_0x494438(0x24e)]({'priority':0x3e7,'interceptor':_0x354c3b({'isMatch'(_0x288722){var _0x2c9685=_0x494438,_0x9074a2;if(_0x288722[_0x2c9685(0x2f7)]===_0x2c9685(0x2c0)&&((_0x9074a2=_0x288722[_0x2c9685(0x2ec)])!=null&&_0x9074a2['body'])){const {objectID:_0x177d4e,objectType:_0x2ada9f}=_0x288722[_0x2c9685(0x2ec)][_0x2c9685(0x168)]||{};if(!_0x177d4e||_0x2ada9f===void 0x0)return!0x1;const _0x262de1=_0x47c1a3[_0x2c9685(0x34f)]()+'/'+_0x2ada9f+'/object/'+_0x177d4e+'/allowed';if(_0x288722[_0x2c9685(0x2b2)]===_0x262de1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x36e6b3){var _0x1b6c31=_0x494438,_0x1d7de0;return(_0x1d7de0=_0x36e6b3['requestParams'])==null?void 0x0:_0x1d7de0[_0x1b6c31(0x168)];},'mergeParamsToRequest'(_0x2d65ea,_0x220571){var _0xe72fa4=_0x494438;const _0x45077f=_0x47c1a3[_0xe72fa4(0x34f)]()+_0xe72fa4(0x249),_0x1806b6=_0x2d65ea[_0xe72fa4(0x1ed)]((_0x514990,_0x496d6b)=>{var _0x31a1ea=_0xe72fa4;const {unitID:_0x4d5918,objectID:_0x13645f,objectType:_0x34c082,actions:_0x34f31c}=_0x496d6b;return _0x514990[_0x4d5918]||(_0x514990[_0x4d5918]={}),_0x514990[_0x4d5918][_0x13645f]||(_0x514990[_0x4d5918][_0x13645f]={'objectID':_0x13645f,'objectType':_0x34c082,'actions':[]}),_0x514990[_0x4d5918][_0x13645f][_0x31a1ea(0x2e4)][_0x31a1ea(0xc9)](..._0x34f31c),_0x514990;},{}),_0x581e4c=[];for(const _0x27fe77 in _0x1806b6)for(const _0x24bcce in _0x1806b6[_0x27fe77]){const {actions:_0x50febc,objectType:_0x434265}=_0x1806b6[_0x27fe77][_0x24bcce],_0x584044=[...new Set(_0x50febc)];_0x581e4c[_0xe72fa4(0xc9)]({'unitID':_0x27fe77,'objectID':_0x24bcce,'objectType':_0x434265,'actions':_0x584044});}return new _0x5dbf6a('POST',_0x45077f,{'headers':_0x220571['headers'],'withCredentials':_0x220571[_0xe72fa4(0x2b5)],'responseType':_0x220571[_0xe72fa4(0x300)],'body':{'requests':_0x581e4c}});}},{'distributeResult'(_0x466551,_0xd7efe6){var _0x30443b=_0x494438;const {objectActions:_0x2349aa}=_0x466551;return _0xd7efe6[_0x30443b(0x167)](_0x568101=>{var _0x4c92c=_0x30443b;const {unitID:_0x48466e,objectID:_0x23419d,actions:_0x33e4cd}=_0x568101,_0x9153a3=_0x2349aa[_0x4c92c(0x191)](_0x5dd4a7=>_0x5dd4a7[_0x4c92c(0x289)]===_0x48466e&&_0x5dd4a7[_0x4c92c(0xde)]===_0x23419d),_0x32e34b=_0x33e4cd['map'](_0xa10e57=>_0x9153a3==null?void 0x0:_0x9153a3[_0x4c92c(0x2e4)][_0x4c92c(0x191)](_0x26010f=>_0x26010f[_0x4c92c(0x18f)]===_0xa10e57))[_0x4c92c(0x25f)](_0x35dc06=>!!_0x35dc06);return{'config':_0x568101,'result':{'actions':_0x32e34b,'error':_0x466551[_0x4c92c(0x373)]}};});}})}));}[_0x46a708(0x34f)](){var _0xac2360=_0x46a708,_0x498bce,_0x275660;const _0x32af81=this[_0xac2360(0x129)][_0xac2360(0x27a)](Di),_0x5942e8=this[_0xac2360(0x129)][_0xac2360(0x27a)](Y);return(_0x275660=(_0x498bce=_0x5942e8==null?void 0x0:_0x5942e8[_0xac2360(0xdf)])!=null?_0x498bce:_0x32af81)!=null?_0x275660:js;}async[_0x46a708(0x21d)](_0x53839d){var _0xb2837c=_0x46a708;const _0x35febe=this[_0xb2837c(0x34f)]()+'/'+_0x53839d[_0xb2837c(0x23a)]+'/object';return(await this['_HTTPService'][_0xb2837c(0x3b3)](_0x35febe,{'body':_0x53839d}))[_0xb2837c(0x168)][_0xb2837c(0xde)]||'';}async[_0x46a708(0x287)](_0x29fe1b){var _0x331f61=_0x46a708;const _0x8cb337=this[_0x331f61(0x34f)]()+'/-/object/list';return(await this[_0x331f61(0x13b)][_0x331f61(0x3b3)](_0x8cb337,{'body':_0x29fe1b}))['body'][_0x331f61(0x255)];}async[_0x46a708(0x29d)](_0x42d19d){var _0x118c78=_0x46a708;const _0x440c08=this[_0x118c78(0x34f)]()+'/'+_0x42d19d[_0x118c78(0x23a)]+'/object/'+_0x42d19d['objectID'];await this[_0x118c78(0x13b)][_0x118c78(0x341)](_0x440c08,{'body':_0x42d19d});}async[_0x46a708(0x2f4)](_0x290700){var _0x594710=_0x46a708;const _0x88083f=this[_0x594710(0x34f)]()+'/'+_0x290700['objectType']+_0x594710(0x1a5)+_0x290700[_0x594710(0xde)]+_0x594710(0x1fe);return(await this['_HTTPService'][_0x594710(0x3b3)](_0x88083f,{'body':_0x290700}))['body'][_0x594710(0x2e4)];}async['batchAllowed'](_0x308284){var _0x587c4e=_0x46a708;const _0x244253=this[_0x587c4e(0x34f)]()+_0x587c4e(0x249);return(await this[_0x587c4e(0x13b)][_0x587c4e(0x3b3)](_0x244253,{'body':{'requests':_0x308284}}))[_0x587c4e(0x168)][_0x587c4e(0x2d0)];}async[_0x46a708(0x2ca)](_0x14cbf0){var _0x50ce84=_0x46a708;const _0x3b9272=this[_0x50ce84(0x34f)]()+'/'+_0x14cbf0[_0x50ce84(0x23a)]+'/role',_0x331b9a=await this[_0x50ce84(0x13b)][_0x50ce84(0x3b3)](_0x3b9272,{'body':_0x14cbf0});return{'roles':_0x331b9a['body']['roles'],'actions':_0x331b9a[_0x50ce84(0x168)]['actions']};}async['deleteCollaborator'](_0x3cd6cd){var _0x6e9bdb=_0x46a708;const _0xae22a8=this['_getAPIPrefixPath']()+_0x6e9bdb(0x140);await this[_0x6e9bdb(0x13b)]['delete'](_0xae22a8,{'params':{'collaboratorID':_0x3cd6cd[_0x6e9bdb(0x199)],'objectID':_0x3cd6cd[_0x6e9bdb(0xde)],'unitID':_0x3cd6cd[_0x6e9bdb(0x289)]}});}async[_0x46a708(0x190)](_0x37dfe9){var _0x44c46a=_0x46a708;const _0x47b385=this[_0x44c46a(0x34f)]()+_0x44c46a(0x140);await this[_0x44c46a(0x13b)][_0x44c46a(0x1d2)](_0x47b385,{'body':_0x37dfe9});}async[_0x46a708(0xcf)](_0x489651){var _0x5327f3=_0x46a708;const _0x169a6e=this['_getAPIPrefixPath']()+_0x5327f3(0x140);await this['_HTTPService'][_0x5327f3(0x3b3)](_0x169a6e,{'body':_0x489651});}async['listCollaborators'](_0x43c8e0){var _0x357ebc=_0x46a708;const _0x14747f=this[_0x357ebc(0x34f)]()+'/collaborator';return(await this[_0x357ebc(0x13b)][_0x357ebc(0x378)](_0x14747f,{'params':{'objectID':_0x43c8e0[_0x357ebc(0xde)],'unitID':_0x43c8e0[_0x357ebc(0x289)]}}))[_0x357ebc(0x168)]['collaborators'];}async[_0x46a708(0x1e0)](_0x4bc1ad){var _0x2df44a=_0x46a708;const _0x152eea=this['_getAPIPrefixPath']()+_0x2df44a(0x140);await this[_0x2df44a(0x13b)][_0x2df44a(0x341)](_0x152eea,{'body':_0x4bc1ad});}};yt=ks([Zt(0x0,_0x2cbcbc(_0x1d8e94)),Zt(0x1,_0x2cbcbc(_0x39fbc8))],yt);var gt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function je(_0x43a92d){var _0xe45e55=_0x46a708;return _0x43a92d&&_0x43a92d[_0xe45e55(0x369)]&&Object[_0xe45e55(0x194)][_0xe45e55(0x150)][_0xe45e55(0x169)](_0x43a92d,_0xe45e55(0x24c))?_0x43a92d[_0xe45e55(0x24c)]:_0x43a92d;}var We={'exports':{}};function Bs(_0x3bc22a){var _0x472903=_0x46a708;throw new Error(_0x472903(0x367)+_0x3bc22a+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Fs=Ge[_0x46a708(0x2ce)],Qt;function ne(){var _0x44be5e=_0x46a708;return Qt||(Qt=0x1,function(_0x40aed8,_0x4a9ee8){(function(_0x1e0a03,_0x3e126b){_0x40aed8['exports']=_0x3e126b();}(Fs,function(){var _0x1f3f35=_0x1f3f35||function(_0xe85660,_0x30c416){var _0x2bf30a=_0x5eac,_0x1816b3;if(typeof window<'u'&&window['crypto']&&(_0x1816b3=window[_0x2bf30a(0x283)]),typeof self<'u'&&self[_0x2bf30a(0x283)]&&(_0x1816b3=self[_0x2bf30a(0x283)]),typeof globalThis<'u'&&globalThis[_0x2bf30a(0x283)]&&(_0x1816b3=globalThis[_0x2bf30a(0x283)]),!_0x1816b3&&typeof window<'u'&&window[_0x2bf30a(0x212)]&&(_0x1816b3=window[_0x2bf30a(0x212)]),!_0x1816b3&&typeof gt<'u'&&gt['crypto']&&(_0x1816b3=gt[_0x2bf30a(0x283)]),!_0x1816b3&&typeof Bs==_0x2bf30a(0x13d))try{_0x1816b3=require('crypto');}catch{}var _0x2cf487=function(){var _0x2a8a6c=_0x2bf30a;if(_0x1816b3){if(typeof _0x1816b3[_0x2a8a6c(0x2d8)]==_0x2a8a6c(0x13d))try{return _0x1816b3[_0x2a8a6c(0x2d8)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1816b3['randomBytes']==_0x2a8a6c(0x13d))try{return _0x1816b3['randomBytes'](0x4)[_0x2a8a6c(0x38e)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xf38a4c=Object['create']||(function(){function _0x284575(){}return function(_0x416d18){var _0x156ff8=_0x5eac,_0x413c38;return _0x284575[_0x156ff8(0x194)]=_0x416d18,_0x413c38=new _0x284575(),_0x284575['prototype']=null,_0x413c38;};}()),_0x3b62f9={},_0x5c3c77=_0x3b62f9['lib']={},_0x3d5e94=_0x5c3c77[_0x2bf30a(0xd6)]=(function(){return{'extend':function(_0x18fd32){var _0x2ee762=_0x5eac,_0x526835=_0xf38a4c(this);return _0x18fd32&&_0x526835[_0x2ee762(0x2fc)](_0x18fd32),(!_0x526835[_0x2ee762(0x150)](_0x2ee762(0x175))||this[_0x2ee762(0x175)]===_0x526835[_0x2ee762(0x175)])&&(_0x526835['init']=function(){var _0x3df64c=_0x2ee762;_0x526835[_0x3df64c(0x101)][_0x3df64c(0x175)]['apply'](this,arguments);}),_0x526835[_0x2ee762(0x175)][_0x2ee762(0x194)]=_0x526835,_0x526835['$super']=this,_0x526835;},'create':function(){var _0x5cd3d6=_0x5eac,_0x38e853=this['extend']();return _0x38e853['init'][_0x5cd3d6(0x1b6)](_0x38e853,arguments),_0x38e853;},'init':function(){},'mixIn':function(_0x128099){var _0x35a2de=_0x5eac;for(var _0x54aa95 in _0x128099)_0x128099[_0x35a2de(0x150)](_0x54aa95)&&(this[_0x54aa95]=_0x128099[_0x54aa95]);_0x128099[_0x35a2de(0x150)](_0x35a2de(0x21b))&&(this['toString']=_0x128099[_0x35a2de(0x21b)]);},'clone':function(){var _0x556271=_0x5eac;return this['init']['prototype'][_0x556271(0x32d)](this);}};}()),_0x291d72=_0x5c3c77[_0x2bf30a(0xfa)]=_0x3d5e94['extend']({'init':function(_0x32121e,_0x3e0799){var _0x2a0b8a=_0x2bf30a;_0x32121e=this[_0x2a0b8a(0x28c)]=_0x32121e||[],_0x3e0799!=_0x30c416?this[_0x2a0b8a(0x28b)]=_0x3e0799:this[_0x2a0b8a(0x28b)]=_0x32121e[_0x2a0b8a(0x297)]*0x4;},'toString':function(_0x4a359b){var _0x26a387=_0x2bf30a;return(_0x4a359b||_0x311011)[_0x26a387(0x32c)](this);},'concat':function(_0x29ad68){var _0x340509=_0x2bf30a,_0x45adca=this['words'],_0x5a3cae=_0x29ad68[_0x340509(0x28c)],_0x41f11b=this['sigBytes'],_0x9ee47a=_0x29ad68[_0x340509(0x28b)];if(this[_0x340509(0x372)](),_0x41f11b%0x4)for(var _0x195e09=0x0;_0x195e09<_0x9ee47a;_0x195e09++){var _0x5bf57a=_0x5a3cae[_0x195e09>>>0x2]>>>0x18-_0x195e09%0x4*0x8&0xff;_0x45adca[_0x41f11b+_0x195e09>>>0x2]|=_0x5bf57a<<0x18-(_0x41f11b+_0x195e09)%0x4*0x8;}else{for(var _0x189020=0x0;_0x189020<_0x9ee47a;_0x189020+=0x4)_0x45adca[_0x41f11b+_0x189020>>>0x2]=_0x5a3cae[_0x189020>>>0x2];}return this[_0x340509(0x28b)]+=_0x9ee47a,this;},'clamp':function(){var _0xcaed62=_0x2bf30a,_0x412d03=this['words'],_0x20dd2c=this['sigBytes'];_0x412d03[_0x20dd2c>>>0x2]&=0xffffffff<<0x20-_0x20dd2c%0x4*0x8,_0x412d03['length']=_0xe85660[_0xcaed62(0x304)](_0x20dd2c/0x4);},'clone':function(){var _0x2bf372=_0x2bf30a,_0x1a7b86=_0x3d5e94[_0x2bf372(0x170)]['call'](this);return _0x1a7b86[_0x2bf372(0x28c)]=this['words'][_0x2bf372(0x2a6)](0x0),_0x1a7b86;},'random':function(_0x5d14e6){var _0x427fe3=_0x2bf30a;for(var _0xd6e955=[],_0x400fed=0x0;_0x400fed<_0x5d14e6;_0x400fed+=0x4)_0xd6e955[_0x427fe3(0xc9)](_0x2cf487());return new _0x291d72[(_0x427fe3(0x175))](_0xd6e955,_0x5d14e6);}}),_0x32c6d2=_0x3b62f9[_0x2bf30a(0x2c4)]={},_0x311011=_0x32c6d2[_0x2bf30a(0x24f)]={'stringify':function(_0x19457f){var _0x5afd3=_0x2bf30a;for(var _0x4be3=_0x19457f[_0x5afd3(0x28c)],_0x4c8e7d=_0x19457f[_0x5afd3(0x28b)],_0x119ba7=[],_0x18ebe3=0x0;_0x18ebe3<_0x4c8e7d;_0x18ebe3++){var _0x27f0cc=_0x4be3[_0x18ebe3>>>0x2]>>>0x18-_0x18ebe3%0x4*0x8&0xff;_0x119ba7['push']((_0x27f0cc>>>0x4)[_0x5afd3(0x21b)](0x10)),_0x119ba7['push']((_0x27f0cc&0xf)[_0x5afd3(0x21b)](0x10));}return _0x119ba7[_0x5afd3(0x121)]('');},'parse':function(_0x4c3982){var _0x48647b=_0x2bf30a;for(var _0x1977b5=_0x4c3982[_0x48647b(0x297)],_0x4f987a=[],_0x5d1af0=0x0;_0x5d1af0<_0x1977b5;_0x5d1af0+=0x2)_0x4f987a[_0x5d1af0>>>0x3]|=parseInt(_0x4c3982['substr'](_0x5d1af0,0x2),0x10)<<0x18-_0x5d1af0%0x8*0x4;return new _0x291d72[(_0x48647b(0x175))](_0x4f987a,_0x1977b5/0x2);}},_0x4d880b=_0x32c6d2['Latin1']={'stringify':function(_0x47e6ef){var _0x7aecde=_0x2bf30a;for(var _0x37b0e9=_0x47e6ef[_0x7aecde(0x28c)],_0x3e256e=_0x47e6ef[_0x7aecde(0x28b)],_0x28a331=[],_0x10e5d0=0x0;_0x10e5d0<_0x3e256e;_0x10e5d0++){var _0xa1b71a=_0x37b0e9[_0x10e5d0>>>0x2]>>>0x18-_0x10e5d0%0x4*0x8&0xff;_0x28a331[_0x7aecde(0xc9)](String[_0x7aecde(0x182)](_0xa1b71a));}return _0x28a331[_0x7aecde(0x121)]('');},'parse':function(_0x1bb3ff){var _0x305172=_0x2bf30a;for(var _0x36c088=_0x1bb3ff['length'],_0x32aea6=[],_0x454e63=0x0;_0x454e63<_0x36c088;_0x454e63++)_0x32aea6[_0x454e63>>>0x2]|=(_0x1bb3ff[_0x305172(0x35f)](_0x454e63)&0xff)<<0x18-_0x454e63%0x4*0x8;return new _0x291d72[(_0x305172(0x175))](_0x32aea6,_0x36c088);}},_0x95f15c=_0x32c6d2[_0x2bf30a(0x17b)]={'stringify':function(_0x2bf5a8){var _0xa02edd=_0x2bf30a;try{return decodeURIComponent(escape(_0x4d880b['stringify'](_0x2bf5a8)));}catch{throw new Error(_0xa02edd(0x30c));}},'parse':function(_0x1f0b57){var _0x5b659c=_0x2bf30a;return _0x4d880b[_0x5b659c(0xf7)](unescape(encodeURIComponent(_0x1f0b57)));}},_0x53dfbd=_0x5c3c77[_0x2bf30a(0x22d)]=_0x3d5e94[_0x2bf30a(0x32d)]({'reset':function(){var _0x2a1c5c=_0x2bf30a;this[_0x2a1c5c(0x1e8)]=new _0x291d72[(_0x2a1c5c(0x175))](),this['_nDataBytes']=0x0;},'_append':function(_0x33f50f){var _0x18ebac=_0x2bf30a;typeof _0x33f50f==_0x18ebac(0x28e)&&(_0x33f50f=_0x95f15c[_0x18ebac(0xf7)](_0x33f50f)),this[_0x18ebac(0x1e8)][_0x18ebac(0x12a)](_0x33f50f),this[_0x18ebac(0x28a)]+=_0x33f50f['sigBytes'];},'_process':function(_0x5a8602){var _0x1364b7=_0x2bf30a,_0x4bb0ed,_0x3a0f75=this['_data'],_0x2861e2=_0x3a0f75[_0x1364b7(0x28c)],_0x225ba0=_0x3a0f75['sigBytes'],_0x588018=this[_0x1364b7(0x209)],_0x27c609=_0x588018*0x4,_0x5c6506=_0x225ba0/_0x27c609;_0x5a8602?_0x5c6506=_0xe85660[_0x1364b7(0x304)](_0x5c6506):_0x5c6506=_0xe85660[_0x1364b7(0x223)]((_0x5c6506|0x0)-this[_0x1364b7(0xd1)],0x0);var _0xd7ee45=_0x5c6506*_0x588018,_0xc293b3=_0xe85660[_0x1364b7(0x2be)](_0xd7ee45*0x4,_0x225ba0);if(_0xd7ee45){for(var _0x34ce72=0x0;_0x34ce72<_0xd7ee45;_0x34ce72+=_0x588018)this[_0x1364b7(0x1dd)](_0x2861e2,_0x34ce72);_0x4bb0ed=_0x2861e2[_0x1364b7(0x35b)](0x0,_0xd7ee45),_0x3a0f75[_0x1364b7(0x28b)]-=_0xc293b3;}return new _0x291d72[(_0x1364b7(0x175))](_0x4bb0ed,_0xc293b3);},'clone':function(){var _0x58be78=_0x2bf30a,_0xe1cf49=_0x3d5e94['clone'][_0x58be78(0x169)](this);return _0xe1cf49[_0x58be78(0x1e8)]=this[_0x58be78(0x1e8)][_0x58be78(0x170)](),_0xe1cf49;},'_minBufferSize':0x0});_0x5c3c77[_0x2bf30a(0x2a0)]=_0x53dfbd['extend']({'cfg':_0x3d5e94[_0x2bf30a(0x32d)](),'init':function(_0x29e0b6){var _0x573d1b=_0x2bf30a;this[_0x573d1b(0x2b1)]=this[_0x573d1b(0x2b1)][_0x573d1b(0x32d)](_0x29e0b6),this[_0x573d1b(0x33d)]();},'reset':function(){var _0x27cd8f=_0x2bf30a;_0x53dfbd[_0x27cd8f(0x33d)][_0x27cd8f(0x169)](this),this[_0x27cd8f(0x135)]();},'update':function(_0x33b37c){var _0x2284fe=_0x2bf30a;return this['_append'](_0x33b37c),this[_0x2284fe(0x343)](),this;},'finalize':function(_0x3c3f69){var _0x170227=_0x2bf30a;_0x3c3f69&&this[_0x170227(0x228)](_0x3c3f69);var _0x2801c8=this[_0x170227(0x285)]();return _0x2801c8;},'blockSize':0x10,'_createHelper':function(_0x291918){return function(_0x1a9817,_0x32c423){var _0x82d883=_0x5eac;return new _0x291918[(_0x82d883(0x175))](_0x32c423)[_0x82d883(0x301)](_0x1a9817);};},'_createHmacHelper':function(_0x32c114){return function(_0x20fd00,_0x41945e){var _0x194a26=_0x5eac;return new _0x53c202[(_0x194a26(0x197))][(_0x194a26(0x175))](_0x32c114,_0x41945e)[_0x194a26(0x301)](_0x20fd00);};}});var _0x53c202=_0x3b62f9[_0x2bf30a(0x171)]={};return _0x3b62f9;}(Math);return _0x1f3f35;}));}(Ge)),Ge[_0x44be5e(0x2ce)];}var Ke={'exports':{}},Vs=Ke[_0x46a708(0x2ce)],ei;function wi(){var _0x4f35d1=_0x46a708;return ei||(ei=0x1,function(_0x40db8e,_0x26fd12){(function(_0xdfba9e,_0x39eafa){var _0x86a7ea=_0x5eac;_0x40db8e[_0x86a7ea(0x2ce)]=_0x39eafa(ne());}(Vs,function(_0x211118){return(function(){var _0x5f1bfc=_0x5eac,_0x301662=_0x211118,_0x23d96f=_0x301662[_0x5f1bfc(0xd5)],_0x330b87=_0x23d96f['WordArray'],_0x239aee=_0x301662[_0x5f1bfc(0x2c4)];_0x239aee[_0x5f1bfc(0x186)]={'stringify':function(_0x52b121){var _0x15108c=_0x5f1bfc,_0x48181b=_0x52b121['words'],_0x36285c=_0x52b121[_0x15108c(0x28b)],_0x31a4af=this['_map'];_0x52b121[_0x15108c(0x372)]();for(var _0x5939d2=[],_0xf09703=0x0;_0xf09703<_0x36285c;_0xf09703+=0x3)for(var _0x3ce0f6=_0x48181b[_0xf09703>>>0x2]>>>0x18-_0xf09703%0x4*0x8&0xff,_0x4888b2=_0x48181b[_0xf09703+0x1>>>0x2]>>>0x18-(_0xf09703+0x1)%0x4*0x8&0xff,_0x626021=_0x48181b[_0xf09703+0x2>>>0x2]>>>0x18-(_0xf09703+0x2)%0x4*0x8&0xff,_0x22f11a=_0x3ce0f6<<0x10|_0x4888b2<<0x8|_0x626021,_0x4946d4=0x0;_0x4946d4<0x4&&_0xf09703+_0x4946d4*0.75<_0x36285c;_0x4946d4++)_0x5939d2['push'](_0x31a4af['charAt'](_0x22f11a>>>0x6*(0x3-_0x4946d4)&0x3f));var _0x5ec786=_0x31a4af['charAt'](0x40);if(_0x5ec786){for(;_0x5939d2[_0x15108c(0x297)]%0x4;)_0x5939d2[_0x15108c(0xc9)](_0x5ec786);}return _0x5939d2['join']('');},'parse':function(_0x1cce4c){var _0x291c18=_0x5f1bfc,_0x5b21cf=_0x1cce4c[_0x291c18(0x297)],_0x333019=this[_0x291c18(0xda)],_0x49b75d=this[_0x291c18(0x29b)];if(!_0x49b75d){_0x49b75d=this['_reverseMap']=[];for(var _0x48c234=0x0;_0x48c234<_0x333019[_0x291c18(0x297)];_0x48c234++)_0x49b75d[_0x333019[_0x291c18(0x35f)](_0x48c234)]=_0x48c234;}var _0x3f9d60=_0x333019[_0x291c18(0x334)](0x40);if(_0x3f9d60){var _0x4ad461=_0x1cce4c[_0x291c18(0x320)](_0x3f9d60);_0x4ad461!==-0x1&&(_0x5b21cf=_0x4ad461);}return _0x46c85c(_0x1cce4c,_0x5b21cf,_0x49b75d);},'_map':_0x5f1bfc(0x1b2)};function _0x46c85c(_0xbdebd4,_0x3621d0,_0x50f0e1){var _0x199e26=_0x5f1bfc;for(var _0x44542a=[],_0x25057f=0x0,_0x1ac249=0x0;_0x1ac249<_0x3621d0;_0x1ac249++)if(_0x1ac249%0x4){var _0x38d3af=_0x50f0e1[_0xbdebd4['charCodeAt'](_0x1ac249-0x1)]<<_0x1ac249%0x4*0x2,_0x27fdc4=_0x50f0e1[_0xbdebd4[_0x199e26(0x35f)](_0x1ac249)]>>>0x6-_0x1ac249%0x4*0x2,_0x29e8c5=_0x38d3af|_0x27fdc4;_0x44542a[_0x25057f>>>0x2]|=_0x29e8c5<<0x18-_0x25057f%0x4*0x8,_0x25057f++;}return _0x330b87['create'](_0x44542a,_0x25057f);}}()),_0x211118['enc']['Base64'];}));}(Ke)),Ke[_0x4f35d1(0x2ce)];}var ze={'exports':{}},Ws=ze[_0x46a708(0x2ce)],ti;function Gs(){var _0x50fb71=_0x46a708;return ti||(ti=0x1,function(_0x39340c,_0x27fedc){(function(_0x2d6634,_0x199fd4){_0x39340c['exports']=_0x199fd4(ne());}(Ws,function(_0x22cc21){var _0x3cc65e=_0x5eac;return function(_0x41d965){var _0x7da5ae=_0x5eac,_0x2f15e5=_0x22cc21,_0x2c1ce5=_0x2f15e5['lib'],_0x24ae9b=_0x2c1ce5[_0x7da5ae(0xfa)],_0x33a5ce=_0x2c1ce5[_0x7da5ae(0x2a0)],_0x5974ad=_0x2f15e5[_0x7da5ae(0x171)],_0x4fcd3f=[];(function(){var _0x23f2ae=_0x7da5ae;for(var _0x2bb1a9=0x0;_0x2bb1a9<0x40;_0x2bb1a9++)_0x4fcd3f[_0x2bb1a9]=_0x41d965[_0x23f2ae(0x20d)](_0x41d965['sin'](_0x2bb1a9+0x1))*0x100000000|0x0;}());var _0xeb21e0=_0x5974ad['MD5']=_0x33a5ce[_0x7da5ae(0x32d)]({'_doReset':function(){var _0x114cf7=_0x7da5ae;this[_0x114cf7(0x31b)]=new _0x24ae9b[(_0x114cf7(0x175))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x10d5f0,_0x46594c){var _0x5639c8=_0x7da5ae;for(var _0x309e07=0x0;_0x309e07<0x10;_0x309e07++){var _0xc9de74=_0x46594c+_0x309e07,_0x29a43c=_0x10d5f0[_0xc9de74];_0x10d5f0[_0xc9de74]=(_0x29a43c<<0x8|_0x29a43c>>>0x18)&0xff00ff|(_0x29a43c<<0x18|_0x29a43c>>>0x8)&0xff00ff00;}var _0x4103c8=this['_hash'][_0x5639c8(0x28c)],_0x165342=_0x10d5f0[_0x46594c+0x0],_0x22c536=_0x10d5f0[_0x46594c+0x1],_0x2095b7=_0x10d5f0[_0x46594c+0x2],_0xca553d=_0x10d5f0[_0x46594c+0x3],_0x34473a=_0x10d5f0[_0x46594c+0x4],_0x176c15=_0x10d5f0[_0x46594c+0x5],_0x4b5705=_0x10d5f0[_0x46594c+0x6],_0x5d9c67=_0x10d5f0[_0x46594c+0x7],_0x59746d=_0x10d5f0[_0x46594c+0x8],_0x1697d1=_0x10d5f0[_0x46594c+0x9],_0x43b15a=_0x10d5f0[_0x46594c+0xa],_0xcfbb74=_0x10d5f0[_0x46594c+0xb],_0x126de7=_0x10d5f0[_0x46594c+0xc],_0x2dcd03=_0x10d5f0[_0x46594c+0xd],_0x1bbd55=_0x10d5f0[_0x46594c+0xe],_0x277226=_0x10d5f0[_0x46594c+0xf],_0x22b0c0=_0x4103c8[0x0],_0x107710=_0x4103c8[0x1],_0x19a47e=_0x4103c8[0x2],_0x3e19e4=_0x4103c8[0x3];_0x22b0c0=_0x509652(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x165342,0x7,_0x4fcd3f[0x0]),_0x3e19e4=_0x509652(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x22c536,0xc,_0x4fcd3f[0x1]),_0x19a47e=_0x509652(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x2095b7,0x11,_0x4fcd3f[0x2]),_0x107710=_0x509652(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0xca553d,0x16,_0x4fcd3f[0x3]),_0x22b0c0=_0x509652(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x34473a,0x7,_0x4fcd3f[0x4]),_0x3e19e4=_0x509652(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x176c15,0xc,_0x4fcd3f[0x5]),_0x19a47e=_0x509652(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x4b5705,0x11,_0x4fcd3f[0x6]),_0x107710=_0x509652(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x5d9c67,0x16,_0x4fcd3f[0x7]),_0x22b0c0=_0x509652(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x59746d,0x7,_0x4fcd3f[0x8]),_0x3e19e4=_0x509652(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x1697d1,0xc,_0x4fcd3f[0x9]),_0x19a47e=_0x509652(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x43b15a,0x11,_0x4fcd3f[0xa]),_0x107710=_0x509652(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0xcfbb74,0x16,_0x4fcd3f[0xb]),_0x22b0c0=_0x509652(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x126de7,0x7,_0x4fcd3f[0xc]),_0x3e19e4=_0x509652(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x2dcd03,0xc,_0x4fcd3f[0xd]),_0x19a47e=_0x509652(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x1bbd55,0x11,_0x4fcd3f[0xe]),_0x107710=_0x509652(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x277226,0x16,_0x4fcd3f[0xf]),_0x22b0c0=_0x5f39aa(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x22c536,0x5,_0x4fcd3f[0x10]),_0x3e19e4=_0x5f39aa(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x4b5705,0x9,_0x4fcd3f[0x11]),_0x19a47e=_0x5f39aa(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0xcfbb74,0xe,_0x4fcd3f[0x12]),_0x107710=_0x5f39aa(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x165342,0x14,_0x4fcd3f[0x13]),_0x22b0c0=_0x5f39aa(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x176c15,0x5,_0x4fcd3f[0x14]),_0x3e19e4=_0x5f39aa(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x43b15a,0x9,_0x4fcd3f[0x15]),_0x19a47e=_0x5f39aa(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x277226,0xe,_0x4fcd3f[0x16]),_0x107710=_0x5f39aa(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x34473a,0x14,_0x4fcd3f[0x17]),_0x22b0c0=_0x5f39aa(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x1697d1,0x5,_0x4fcd3f[0x18]),_0x3e19e4=_0x5f39aa(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x1bbd55,0x9,_0x4fcd3f[0x19]),_0x19a47e=_0x5f39aa(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0xca553d,0xe,_0x4fcd3f[0x1a]),_0x107710=_0x5f39aa(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x59746d,0x14,_0x4fcd3f[0x1b]),_0x22b0c0=_0x5f39aa(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x2dcd03,0x5,_0x4fcd3f[0x1c]),_0x3e19e4=_0x5f39aa(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x2095b7,0x9,_0x4fcd3f[0x1d]),_0x19a47e=_0x5f39aa(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x5d9c67,0xe,_0x4fcd3f[0x1e]),_0x107710=_0x5f39aa(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x126de7,0x14,_0x4fcd3f[0x1f]),_0x22b0c0=_0x24b8c7(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x176c15,0x4,_0x4fcd3f[0x20]),_0x3e19e4=_0x24b8c7(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x59746d,0xb,_0x4fcd3f[0x21]),_0x19a47e=_0x24b8c7(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0xcfbb74,0x10,_0x4fcd3f[0x22]),_0x107710=_0x24b8c7(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x1bbd55,0x17,_0x4fcd3f[0x23]),_0x22b0c0=_0x24b8c7(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x22c536,0x4,_0x4fcd3f[0x24]),_0x3e19e4=_0x24b8c7(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x34473a,0xb,_0x4fcd3f[0x25]),_0x19a47e=_0x24b8c7(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x5d9c67,0x10,_0x4fcd3f[0x26]),_0x107710=_0x24b8c7(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x43b15a,0x17,_0x4fcd3f[0x27]),_0x22b0c0=_0x24b8c7(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x2dcd03,0x4,_0x4fcd3f[0x28]),_0x3e19e4=_0x24b8c7(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x165342,0xb,_0x4fcd3f[0x29]),_0x19a47e=_0x24b8c7(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0xca553d,0x10,_0x4fcd3f[0x2a]),_0x107710=_0x24b8c7(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x4b5705,0x17,_0x4fcd3f[0x2b]),_0x22b0c0=_0x24b8c7(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x1697d1,0x4,_0x4fcd3f[0x2c]),_0x3e19e4=_0x24b8c7(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x126de7,0xb,_0x4fcd3f[0x2d]),_0x19a47e=_0x24b8c7(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x277226,0x10,_0x4fcd3f[0x2e]),_0x107710=_0x24b8c7(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x2095b7,0x17,_0x4fcd3f[0x2f]),_0x22b0c0=_0x13882d(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x165342,0x6,_0x4fcd3f[0x30]),_0x3e19e4=_0x13882d(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x5d9c67,0xa,_0x4fcd3f[0x31]),_0x19a47e=_0x13882d(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x1bbd55,0xf,_0x4fcd3f[0x32]),_0x107710=_0x13882d(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x176c15,0x15,_0x4fcd3f[0x33]),_0x22b0c0=_0x13882d(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x126de7,0x6,_0x4fcd3f[0x34]),_0x3e19e4=_0x13882d(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0xca553d,0xa,_0x4fcd3f[0x35]),_0x19a47e=_0x13882d(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x43b15a,0xf,_0x4fcd3f[0x36]),_0x107710=_0x13882d(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x22c536,0x15,_0x4fcd3f[0x37]),_0x22b0c0=_0x13882d(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x59746d,0x6,_0x4fcd3f[0x38]),_0x3e19e4=_0x13882d(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0x277226,0xa,_0x4fcd3f[0x39]),_0x19a47e=_0x13882d(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x4b5705,0xf,_0x4fcd3f[0x3a]),_0x107710=_0x13882d(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x2dcd03,0x15,_0x4fcd3f[0x3b]),_0x22b0c0=_0x13882d(_0x22b0c0,_0x107710,_0x19a47e,_0x3e19e4,_0x34473a,0x6,_0x4fcd3f[0x3c]),_0x3e19e4=_0x13882d(_0x3e19e4,_0x22b0c0,_0x107710,_0x19a47e,_0xcfbb74,0xa,_0x4fcd3f[0x3d]),_0x19a47e=_0x13882d(_0x19a47e,_0x3e19e4,_0x22b0c0,_0x107710,_0x2095b7,0xf,_0x4fcd3f[0x3e]),_0x107710=_0x13882d(_0x107710,_0x19a47e,_0x3e19e4,_0x22b0c0,_0x1697d1,0x15,_0x4fcd3f[0x3f]),_0x4103c8[0x0]=_0x4103c8[0x0]+_0x22b0c0|0x0,_0x4103c8[0x1]=_0x4103c8[0x1]+_0x107710|0x0,_0x4103c8[0x2]=_0x4103c8[0x2]+_0x19a47e|0x0,_0x4103c8[0x3]=_0x4103c8[0x3]+_0x3e19e4|0x0;},'_doFinalize':function(){var _0x763f34=_0x7da5ae,_0xba3a7b=this[_0x763f34(0x1e8)],_0x3032fb=_0xba3a7b[_0x763f34(0x28c)],_0x32abe6=this[_0x763f34(0x28a)]*0x8,_0x9001f7=_0xba3a7b['sigBytes']*0x8;_0x3032fb[_0x9001f7>>>0x5]|=0x80<<0x18-_0x9001f7%0x20;var _0x5c74bc=_0x41d965[_0x763f34(0x10f)](_0x32abe6/0x100000000),_0x3709c4=_0x32abe6;_0x3032fb[(_0x9001f7+0x40>>>0x9<<0x4)+0xf]=(_0x5c74bc<<0x8|_0x5c74bc>>>0x18)&0xff00ff|(_0x5c74bc<<0x18|_0x5c74bc>>>0x8)&0xff00ff00,_0x3032fb[(_0x9001f7+0x40>>>0x9<<0x4)+0xe]=(_0x3709c4<<0x8|_0x3709c4>>>0x18)&0xff00ff|(_0x3709c4<<0x18|_0x3709c4>>>0x8)&0xff00ff00,_0xba3a7b[_0x763f34(0x28b)]=(_0x3032fb[_0x763f34(0x297)]+0x1)*0x4,this[_0x763f34(0x343)]();for(var _0x49fd1b=this['_hash'],_0x38ce37=_0x49fd1b['words'],_0x49c654=0x0;_0x49c654<0x4;_0x49c654++){var _0x4bd45a=_0x38ce37[_0x49c654];_0x38ce37[_0x49c654]=(_0x4bd45a<<0x8|_0x4bd45a>>>0x18)&0xff00ff|(_0x4bd45a<<0x18|_0x4bd45a>>>0x8)&0xff00ff00;}return _0x49fd1b;},'clone':function(){var _0x2154a0=_0x7da5ae,_0x459982=_0x33a5ce[_0x2154a0(0x170)][_0x2154a0(0x169)](this);return _0x459982['_hash']=this['_hash']['clone'](),_0x459982;}});function _0x509652(_0x58725c,_0x1f2323,_0x4d96f6,_0x4e3b9d,_0x420dfd,_0x2a89dc,_0x4e2f42){var _0x31ae40=_0x58725c+(_0x1f2323&_0x4d96f6|~_0x1f2323&_0x4e3b9d)+_0x420dfd+_0x4e2f42;return(_0x31ae40<<_0x2a89dc|_0x31ae40>>>0x20-_0x2a89dc)+_0x1f2323;}function _0x5f39aa(_0x51565c,_0x1ee171,_0x57d70b,_0x566afa,_0x53bcb6,_0x13768e,_0x573369){var _0x438dba=_0x51565c+(_0x1ee171&_0x566afa|_0x57d70b&~_0x566afa)+_0x53bcb6+_0x573369;return(_0x438dba<<_0x13768e|_0x438dba>>>0x20-_0x13768e)+_0x1ee171;}function _0x24b8c7(_0x49f535,_0x5d8444,_0x38491d,_0x255ff5,_0x1a9376,_0x7d4c30,_0x4a3be4){var _0x315761=_0x49f535+(_0x5d8444^_0x38491d^_0x255ff5)+_0x1a9376+_0x4a3be4;return(_0x315761<<_0x7d4c30|_0x315761>>>0x20-_0x7d4c30)+_0x5d8444;}function _0x13882d(_0x208d5d,_0x329034,_0x3eda08,_0x5a926e,_0x26d603,_0x973d72,_0x12c5d7){var _0x40b0c6=_0x208d5d+(_0x3eda08^(_0x329034|~_0x5a926e))+_0x26d603+_0x12c5d7;return(_0x40b0c6<<_0x973d72|_0x40b0c6>>>0x20-_0x973d72)+_0x329034;}_0x2f15e5[_0x7da5ae(0x2fa)]=_0x33a5ce['_createHelper'](_0xeb21e0),_0x2f15e5[_0x7da5ae(0x1a8)]=_0x33a5ce[_0x7da5ae(0x268)](_0xeb21e0);}(Math),_0x22cc21[_0x3cc65e(0x2fa)];}));}(ze)),ze[_0x50fb71(0x2ce)];}var Ye={'exports':{}},qe={'exports':{}},Ks=qe[_0x46a708(0x2ce)],ii;function zs(){var _0x2492b1=_0x46a708;return ii||(ii=0x1,function(_0xf76ab,_0x2657ca){(function(_0x5a2b78,_0x258967){var _0x42a914=_0x5eac;_0xf76ab[_0x42a914(0x2ce)]=_0x258967(ne());}(Ks,function(_0x380bde){var _0xbb336=_0x5eac;return(function(){var _0x3d095a=_0x5eac,_0x12b32f=_0x380bde,_0x5501f6=_0x12b32f[_0x3d095a(0xd5)],_0x3b65df=_0x5501f6[_0x3d095a(0xfa)],_0x5bfd44=_0x5501f6[_0x3d095a(0x2a0)],_0x817212=_0x12b32f['algo'],_0x26f8b9=[],_0x43e54d=_0x817212[_0x3d095a(0x2e3)]=_0x5bfd44[_0x3d095a(0x32d)]({'_doReset':function(){var _0x527e32=_0x3d095a;this[_0x527e32(0x31b)]=new _0x3b65df[(_0x527e32(0x175))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x53dd68,_0x12b3de){var _0x152de6=_0x3d095a;for(var _0x39ad6c=this[_0x152de6(0x31b)][_0x152de6(0x28c)],_0x4aeafd=_0x39ad6c[0x0],_0x1dbc97=_0x39ad6c[0x1],_0x50af26=_0x39ad6c[0x2],_0x322e9a=_0x39ad6c[0x3],_0x12da93=_0x39ad6c[0x4],_0x3a9c76=0x0;_0x3a9c76<0x50;_0x3a9c76++){if(_0x3a9c76<0x10)_0x26f8b9[_0x3a9c76]=_0x53dd68[_0x12b3de+_0x3a9c76]|0x0;else{var _0x27de38=_0x26f8b9[_0x3a9c76-0x3]^_0x26f8b9[_0x3a9c76-0x8]^_0x26f8b9[_0x3a9c76-0xe]^_0x26f8b9[_0x3a9c76-0x10];_0x26f8b9[_0x3a9c76]=_0x27de38<<0x1|_0x27de38>>>0x1f;}var _0x32e13d=(_0x4aeafd<<0x5|_0x4aeafd>>>0x1b)+_0x12da93+_0x26f8b9[_0x3a9c76];_0x3a9c76<0x14?_0x32e13d+=(_0x1dbc97&_0x50af26|~_0x1dbc97&_0x322e9a)+0x5a827999:_0x3a9c76<0x28?_0x32e13d+=(_0x1dbc97^_0x50af26^_0x322e9a)+0x6ed9eba1:_0x3a9c76<0x3c?_0x32e13d+=(_0x1dbc97&_0x50af26|_0x1dbc97&_0x322e9a|_0x50af26&_0x322e9a)-0x70e44324:_0x32e13d+=(_0x1dbc97^_0x50af26^_0x322e9a)-0x359d3e2a,_0x12da93=_0x322e9a,_0x322e9a=_0x50af26,_0x50af26=_0x1dbc97<<0x1e|_0x1dbc97>>>0x2,_0x1dbc97=_0x4aeafd,_0x4aeafd=_0x32e13d;}_0x39ad6c[0x0]=_0x39ad6c[0x0]+_0x4aeafd|0x0,_0x39ad6c[0x1]=_0x39ad6c[0x1]+_0x1dbc97|0x0,_0x39ad6c[0x2]=_0x39ad6c[0x2]+_0x50af26|0x0,_0x39ad6c[0x3]=_0x39ad6c[0x3]+_0x322e9a|0x0,_0x39ad6c[0x4]=_0x39ad6c[0x4]+_0x12da93|0x0;},'_doFinalize':function(){var _0x38bd7c=_0x3d095a,_0x15fd62=this[_0x38bd7c(0x1e8)],_0x5b6614=_0x15fd62[_0x38bd7c(0x28c)],_0x557b7f=this[_0x38bd7c(0x28a)]*0x8,_0x3839b4=_0x15fd62[_0x38bd7c(0x28b)]*0x8;return _0x5b6614[_0x3839b4>>>0x5]|=0x80<<0x18-_0x3839b4%0x20,_0x5b6614[(_0x3839b4+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x557b7f/0x100000000),_0x5b6614[(_0x3839b4+0x40>>>0x9<<0x4)+0xf]=_0x557b7f,_0x15fd62[_0x38bd7c(0x28b)]=_0x5b6614[_0x38bd7c(0x297)]*0x4,this['_process'](),this[_0x38bd7c(0x31b)];},'clone':function(){var _0xa1be16=_0x3d095a,_0x25ecff=_0x5bfd44[_0xa1be16(0x170)][_0xa1be16(0x169)](this);return _0x25ecff['_hash']=this[_0xa1be16(0x31b)][_0xa1be16(0x170)](),_0x25ecff;}});_0x12b32f[_0x3d095a(0x2e3)]=_0x5bfd44[_0x3d095a(0x278)](_0x43e54d),_0x12b32f[_0x3d095a(0x2f0)]=_0x5bfd44[_0x3d095a(0x268)](_0x43e54d);}()),_0x380bde[_0xbb336(0x2e3)];}));}(qe)),qe[_0x2492b1(0x2ce)];}var Je={'exports':{}},Ys=Je['exports'],ni;function qs(){var _0x1f7214=_0x46a708;return ni||(ni=0x1,function(_0x569ee6,_0x2e94e9){(function(_0x4d9f5a,_0x2751c8){var _0x15b2d7=_0x5eac;_0x569ee6[_0x15b2d7(0x2ce)]=_0x2751c8(ne());}(Ys,function(_0xce5c3c){(function(){var _0x2d5da2=_0x5eac,_0x48bfbe=_0xce5c3c,_0x59371d=_0x48bfbe[_0x2d5da2(0xd5)],_0x46e962=_0x59371d[_0x2d5da2(0xd6)],_0x927e20=_0x48bfbe[_0x2d5da2(0x2c4)],_0xcb7f5e=_0x927e20[_0x2d5da2(0x17b)],_0x214a10=_0x48bfbe[_0x2d5da2(0x171)];_0x214a10[_0x2d5da2(0x197)]=_0x46e962[_0x2d5da2(0x32d)]({'init':function(_0x47c8b4,_0x58d010){var _0x1c224d=_0x2d5da2;_0x47c8b4=this[_0x1c224d(0xd0)]=new _0x47c8b4['init'](),typeof _0x58d010==_0x1c224d(0x28e)&&(_0x58d010=_0xcb7f5e['parse'](_0x58d010));var _0xfbd490=_0x47c8b4['blockSize'],_0x57a14b=_0xfbd490*0x4;_0x58d010[_0x1c224d(0x28b)]>_0x57a14b&&(_0x58d010=_0x47c8b4[_0x1c224d(0x301)](_0x58d010)),_0x58d010[_0x1c224d(0x372)]();for(var _0x440aa3=this['_oKey']=_0x58d010[_0x1c224d(0x170)](),_0x179062=this['_iKey']=_0x58d010[_0x1c224d(0x170)](),_0x27cc2f=_0x440aa3['words'],_0x2953f3=_0x179062[_0x1c224d(0x28c)],_0x1b4582=0x0;_0x1b4582<_0xfbd490;_0x1b4582++)_0x27cc2f[_0x1b4582]^=0x5c5c5c5c,_0x2953f3[_0x1b4582]^=0x36363636;_0x440aa3[_0x1c224d(0x28b)]=_0x179062[_0x1c224d(0x28b)]=_0x57a14b,this[_0x1c224d(0x33d)]();},'reset':function(){var _0x49fbbf=_0x2d5da2,_0x51eeaf=this[_0x49fbbf(0xd0)];_0x51eeaf['reset'](),_0x51eeaf[_0x49fbbf(0x29d)](this[_0x49fbbf(0x36c)]);},'update':function(_0x45dbbf){var _0x5da9a4=_0x2d5da2;return this[_0x5da9a4(0xd0)]['update'](_0x45dbbf),this;},'finalize':function(_0x1ead34){var _0x352f3c=_0x2d5da2,_0x146add=this[_0x352f3c(0xd0)],_0x788996=_0x146add[_0x352f3c(0x301)](_0x1ead34);_0x146add[_0x352f3c(0x33d)]();var _0x3c2117=_0x146add['finalize'](this[_0x352f3c(0x119)]['clone']()[_0x352f3c(0x12a)](_0x788996));return _0x3c2117;}});}());}));}(Je)),Je[_0x1f7214(0x2ce)];}var Js=Ye[_0x46a708(0x2ce)],si;function Ui(){var _0x4be0c6=_0x46a708;return si||(si=0x1,function(_0x2f6ab6,_0x46246d){(function(_0x3e385f,_0x1800b8,_0x4b6ed9){var _0x333b69=_0x5eac;_0x2f6ab6[_0x333b69(0x2ce)]=_0x1800b8(ne(),zs(),qs());}(Js,function(_0x4a717f){var _0x5dcfba=_0x5eac;return(function(){var _0x135324=_0x5eac,_0x542389=_0x4a717f,_0x5d48ea=_0x542389[_0x135324(0xd5)],_0x24afcc=_0x5d48ea[_0x135324(0xd6)],_0x4c3131=_0x5d48ea[_0x135324(0xfa)],_0x1c067d=_0x542389[_0x135324(0x171)],_0x562241=_0x1c067d[_0x135324(0x2fa)],_0x13b9ab=_0x1c067d['EvpKDF']=_0x24afcc[_0x135324(0x32d)]({'cfg':_0x24afcc[_0x135324(0x32d)]({'keySize':0x80/0x20,'hasher':_0x562241,'iterations':0x1}),'init':function(_0x374c36){var _0x2db316=_0x135324;this['cfg']=this[_0x2db316(0x2b1)][_0x2db316(0x32d)](_0x374c36);},'compute':function(_0x4bd4d5,_0x206be9){var _0x3b2994=_0x135324;for(var _0x41fcae,_0x52bb01=this[_0x3b2994(0x2b1)],_0x4e69ec=_0x52bb01[_0x3b2994(0x10b)][_0x3b2994(0x21d)](),_0x48529a=_0x4c3131[_0x3b2994(0x21d)](),_0xcdd221=_0x48529a['words'],_0x3f0b7d=_0x52bb01[_0x3b2994(0x11a)],_0x4e178a=_0x52bb01[_0x3b2994(0x1f1)];_0xcdd221[_0x3b2994(0x297)]<_0x3f0b7d;){_0x41fcae&&_0x4e69ec[_0x3b2994(0x29d)](_0x41fcae),_0x41fcae=_0x4e69ec[_0x3b2994(0x29d)](_0x4bd4d5)[_0x3b2994(0x301)](_0x206be9),_0x4e69ec[_0x3b2994(0x33d)]();for(var _0x546385=0x1;_0x546385<_0x4e178a;_0x546385++)_0x41fcae=_0x4e69ec[_0x3b2994(0x301)](_0x41fcae),_0x4e69ec['reset']();_0x48529a[_0x3b2994(0x12a)](_0x41fcae);}return _0x48529a['sigBytes']=_0x3f0b7d*0x4,_0x48529a;}});_0x542389[_0x135324(0x280)]=function(_0x4908a2,_0x309569,_0x54ba48){var _0x183a32=_0x135324;return _0x13b9ab[_0x183a32(0x21d)](_0x54ba48)['compute'](_0x4908a2,_0x309569);};}()),_0x4a717f[_0x5dcfba(0x280)];}));}(Ye)),Ye[_0x4be0c6(0x2ce)];}var Xe={'exports':{}},Xs=Xe[_0x46a708(0x2ce)],ri;function Ai(){var _0x3dc9ed=_0x46a708;return ri||(ri=0x1,function(_0x416609,_0x5867f4){(function(_0x10825f,_0x18bf06,_0x397fd8){var _0x7abfd1=_0x5eac;_0x416609[_0x7abfd1(0x2ce)]=_0x18bf06(ne(),Ui());}(Xs,function(_0x3fa7ca){var _0x3ff791=_0x5eac;_0x3fa7ca['lib'][_0x3ff791(0x2aa)]||function(_0x224ecd){var _0x47612a=_0x3ff791,_0x4f4cfa=_0x3fa7ca,_0x39326a=_0x4f4cfa[_0x47612a(0xd5)],_0x468fb4=_0x39326a['Base'],_0x18550c=_0x39326a[_0x47612a(0xfa)],_0xbc6c9=_0x39326a[_0x47612a(0x22d)],_0x266fbd=_0x4f4cfa[_0x47612a(0x2c4)];_0x266fbd['Utf8'];var _0x4dd5ed=_0x266fbd['Base64'],_0x3e5c69=_0x4f4cfa['algo'],_0x31417c=_0x3e5c69[_0x47612a(0x280)],_0x3b913f=_0x39326a[_0x47612a(0x2aa)]=_0xbc6c9[_0x47612a(0x32d)]({'cfg':_0x468fb4[_0x47612a(0x32d)](),'createEncryptor':function(_0x46b82a,_0x91f6cc){var _0x527e82=_0x47612a;return this['create'](this[_0x527e82(0x1c1)],_0x46b82a,_0x91f6cc);},'createDecryptor':function(_0xd5d23f,_0xb49b9f){var _0x1cd4ac=_0x47612a;return this[_0x1cd4ac(0x21d)](this['_DEC_XFORM_MODE'],_0xd5d23f,_0xb49b9f);},'init':function(_0x561a16,_0x4be7b0,_0x384b4b){var _0x4493fe=_0x47612a;this[_0x4493fe(0x2b1)]=this[_0x4493fe(0x2b1)][_0x4493fe(0x32d)](_0x384b4b),this[_0x4493fe(0x2d1)]=_0x561a16,this[_0x4493fe(0x35e)]=_0x4be7b0,this[_0x4493fe(0x33d)]();},'reset':function(){var _0xb9e6ad=_0x47612a;_0xbc6c9['reset'][_0xb9e6ad(0x169)](this),this[_0xb9e6ad(0x135)]();},'process':function(_0x18f2bc){var _0x4feb00=_0x47612a;return this[_0x4feb00(0x228)](_0x18f2bc),this[_0x4feb00(0x343)]();},'finalize':function(_0x7f9bcd){var _0x45f7f4=_0x47612a;_0x7f9bcd&&this[_0x45f7f4(0x228)](_0x7f9bcd);var _0x359b2b=this[_0x45f7f4(0x285)]();return _0x359b2b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4b8777(_0x11c9c3){var _0x566895=_0x5eac;return typeof _0x11c9c3==_0x566895(0x28e)?_0x49e057:_0x3220b1;}return function(_0x5c2e4d){return{'encrypt':function(_0x27604d,_0x5020e3,_0xc18f9c){var _0x41ca8d=_0x5eac;return _0x4b8777(_0x5020e3)[_0x41ca8d(0x202)](_0x5c2e4d,_0x27604d,_0x5020e3,_0xc18f9c);},'decrypt':function(_0x392155,_0x4898b2,_0x2d1075){var _0x55b9fe=_0x5eac;return _0x4b8777(_0x4898b2)[_0x55b9fe(0x1cb)](_0x5c2e4d,_0x392155,_0x4898b2,_0x2d1075);}};};}())});_0x39326a[_0x47612a(0x2cf)]=_0x3b913f[_0x47612a(0x32d)]({'_doFinalize':function(){var _0xd257f5=this['_process'](!0x0);return _0xd257f5;},'blockSize':0x1});var _0x4b4d05=_0x4f4cfa[_0x47612a(0x1d3)]={},_0x1d9dc1=_0x39326a[_0x47612a(0xc2)]=_0x468fb4[_0x47612a(0x32d)]({'createEncryptor':function(_0x215ec7,_0x18216d){var _0x20b6b8=_0x47612a;return this['Encryptor'][_0x20b6b8(0x21d)](_0x215ec7,_0x18216d);},'createDecryptor':function(_0x16ce2e,_0x5acc7b){return this['Decryptor']['create'](_0x16ce2e,_0x5acc7b);},'init':function(_0x1a5d58,_0x1d753d){var _0x16fa39=_0x47612a;this[_0x16fa39(0x181)]=_0x1a5d58,this['_iv']=_0x1d753d;}}),_0x1aabee=_0x4b4d05[_0x47612a(0x362)]=(function(){var _0xcd4109=_0x47612a,_0x296b9e=_0x1d9dc1[_0xcd4109(0x32d)]();_0x296b9e[_0xcd4109(0x10d)]=_0x296b9e['extend']({'processBlock':function(_0x2240c4,_0xd3bf64){var _0x4c00de=_0xcd4109,_0x1789a6=this[_0x4c00de(0x181)],_0x2a59d0=_0x1789a6[_0x4c00de(0x209)];_0x17ec06['call'](this,_0x2240c4,_0xd3bf64,_0x2a59d0),_0x1789a6[_0x4c00de(0x30e)](_0x2240c4,_0xd3bf64),this[_0x4c00de(0x273)]=_0x2240c4[_0x4c00de(0x2a6)](_0xd3bf64,_0xd3bf64+_0x2a59d0);}}),_0x296b9e['Decryptor']=_0x296b9e[_0xcd4109(0x32d)]({'processBlock':function(_0x37974f,_0x55dbdb){var _0x5d520b=_0xcd4109,_0x32ee7f=this[_0x5d520b(0x181)],_0x4ec4ad=_0x32ee7f['blockSize'],_0x355116=_0x37974f[_0x5d520b(0x2a6)](_0x55dbdb,_0x55dbdb+_0x4ec4ad);_0x32ee7f['decryptBlock'](_0x37974f,_0x55dbdb),_0x17ec06['call'](this,_0x37974f,_0x55dbdb,_0x4ec4ad),this[_0x5d520b(0x273)]=_0x355116;}});function _0x17ec06(_0x5a78a6,_0x13ad6f,_0x13cecd){var _0x4ea804=_0xcd4109,_0x44d42e,_0x23f78d=this[_0x4ea804(0xc1)];_0x23f78d?(_0x44d42e=_0x23f78d,this[_0x4ea804(0xc1)]=_0x224ecd):_0x44d42e=this[_0x4ea804(0x273)];for(var _0x50414e=0x0;_0x50414e<_0x13cecd;_0x50414e++)_0x5a78a6[_0x13ad6f+_0x50414e]^=_0x44d42e[_0x50414e];}return _0x296b9e;}()),_0xd5c5e9=_0x4f4cfa['pad']={},_0x504142=_0xd5c5e9[_0x47612a(0x352)]={'pad':function(_0x3324f3,_0x1faf12){var _0xe45c67=_0x47612a;for(var _0x529703=_0x1faf12*0x4,_0x2e52da=_0x529703-_0x3324f3['sigBytes']%_0x529703,_0x32c4fa=_0x2e52da<<0x18|_0x2e52da<<0x10|_0x2e52da<<0x8|_0x2e52da,_0xe9462d=[],_0x3b812d=0x0;_0x3b812d<_0x2e52da;_0x3b812d+=0x4)_0xe9462d[_0xe45c67(0xc9)](_0x32c4fa);var _0x18d27f=_0x18550c[_0xe45c67(0x21d)](_0xe9462d,_0x2e52da);_0x3324f3['concat'](_0x18d27f);},'unpad':function(_0x4eb834){var _0x24d5a8=_0x47612a,_0x5c53cd=_0x4eb834[_0x24d5a8(0x28c)][_0x4eb834[_0x24d5a8(0x28b)]-0x1>>>0x2]&0xff;_0x4eb834[_0x24d5a8(0x28b)]-=_0x5c53cd;}};_0x39326a[_0x47612a(0x1bc)]=_0x3b913f[_0x47612a(0x32d)]({'cfg':_0x3b913f[_0x47612a(0x2b1)][_0x47612a(0x32d)]({'mode':_0x1aabee,'padding':_0x504142}),'reset':function(){var _0x368ea1=_0x47612a,_0x10dc8d;_0x3b913f[_0x368ea1(0x33d)][_0x368ea1(0x169)](this);var _0x2b70f4=this[_0x368ea1(0x2b1)],_0x3f9a4f=_0x2b70f4['iv'],_0x5d1d0b=_0x2b70f4[_0x368ea1(0x1d3)];this['_xformMode']==this[_0x368ea1(0x1c1)]?_0x10dc8d=_0x5d1d0b['createEncryptor']:(_0x10dc8d=_0x5d1d0b['createDecryptor'],this[_0x368ea1(0xd1)]=0x1),this['_mode']&&this[_0x368ea1(0x13e)][_0x368ea1(0xfe)]==_0x10dc8d?this[_0x368ea1(0x13e)][_0x368ea1(0x175)](this,_0x3f9a4f&&_0x3f9a4f[_0x368ea1(0x28c)]):(this[_0x368ea1(0x13e)]=_0x10dc8d[_0x368ea1(0x169)](_0x5d1d0b,this,_0x3f9a4f&&_0x3f9a4f['words']),this['_mode'][_0x368ea1(0xfe)]=_0x10dc8d);},'_doProcessBlock':function(_0x29992d,_0x1385fe){var _0x2f5845=_0x47612a;this['_mode'][_0x2f5845(0x1cc)](_0x29992d,_0x1385fe);},'_doFinalize':function(){var _0x10a1c2=_0x47612a,_0x15f93d,_0x2ff236=this[_0x10a1c2(0x2b1)][_0x10a1c2(0x39a)];return this[_0x10a1c2(0x2d1)]==this[_0x10a1c2(0x1c1)]?(_0x2ff236[_0x10a1c2(0x262)](this[_0x10a1c2(0x1e8)],this['blockSize']),_0x15f93d=this['_process'](!0x0)):(_0x15f93d=this[_0x10a1c2(0x343)](!0x0),_0x2ff236[_0x10a1c2(0x1ea)](_0x15f93d)),_0x15f93d;},'blockSize':0x80/0x20});var _0x127ad5=_0x39326a['CipherParams']=_0x468fb4['extend']({'init':function(_0x86c111){this['mixIn'](_0x86c111);},'toString':function(_0x30786){var _0x406102=_0x47612a;return(_0x30786||this[_0x406102(0x270)])['stringify'](this);}}),_0xf88ee4=_0x4f4cfa['format']={},_0x2a923c=_0xf88ee4['OpenSSL']={'stringify':function(_0x360d9a){var _0x19589f=_0x47612a,_0x72e057,_0x147465=_0x360d9a['ciphertext'],_0x57e0b9=_0x360d9a[_0x19589f(0x2c8)];return _0x57e0b9?_0x72e057=_0x18550c[_0x19589f(0x21d)]([0x53616c74,0x65645f5f])[_0x19589f(0x12a)](_0x57e0b9)['concat'](_0x147465):_0x72e057=_0x147465,_0x72e057[_0x19589f(0x21b)](_0x4dd5ed);},'parse':function(_0x41fa08){var _0x44d43a=_0x47612a,_0x50eeec,_0x4b0762=_0x4dd5ed[_0x44d43a(0xf7)](_0x41fa08),_0x1512cc=_0x4b0762[_0x44d43a(0x28c)];return _0x1512cc[0x0]==0x53616c74&&_0x1512cc[0x1]==0x65645f5f&&(_0x50eeec=_0x18550c['create'](_0x1512cc[_0x44d43a(0x2a6)](0x2,0x4)),_0x1512cc[_0x44d43a(0x35b)](0x0,0x4),_0x4b0762[_0x44d43a(0x28b)]-=0x10),_0x127ad5[_0x44d43a(0x21d)]({'ciphertext':_0x4b0762,'salt':_0x50eeec});}},_0x3220b1=_0x39326a[_0x47612a(0x371)]=_0x468fb4['extend']({'cfg':_0x468fb4[_0x47612a(0x32d)]({'format':_0x2a923c}),'encrypt':function(_0x9e220c,_0x1014c4,_0x4dfd1f,_0x4065a9){var _0xf49aa=_0x47612a;_0x4065a9=this[_0xf49aa(0x2b1)][_0xf49aa(0x32d)](_0x4065a9);var _0x18664b=_0x9e220c['createEncryptor'](_0x4dfd1f,_0x4065a9),_0x4e5e79=_0x18664b[_0xf49aa(0x301)](_0x1014c4),_0x356711=_0x18664b['cfg'];return _0x127ad5['create']({'ciphertext':_0x4e5e79,'key':_0x4dfd1f,'iv':_0x356711['iv'],'algorithm':_0x9e220c,'mode':_0x356711['mode'],'padding':_0x356711['padding'],'blockSize':_0x9e220c[_0xf49aa(0x209)],'formatter':_0x4065a9[_0xf49aa(0x106)]});},'decrypt':function(_0x268086,_0x3b7dee,_0x507102,_0x30a9dd){var _0x2743cb=_0x47612a;_0x30a9dd=this['cfg'][_0x2743cb(0x32d)](_0x30a9dd),_0x3b7dee=this[_0x2743cb(0x15a)](_0x3b7dee,_0x30a9dd[_0x2743cb(0x106)]);var _0x3a215d=_0x268086[_0x2743cb(0x34b)](_0x507102,_0x30a9dd)[_0x2743cb(0x301)](_0x3b7dee[_0x2743cb(0xfc)]);return _0x3a215d;},'_parse':function(_0x4c9564,_0x51c352){var _0x2cdf22=_0x47612a;return typeof _0x4c9564==_0x2cdf22(0x28e)?_0x51c352[_0x2cdf22(0xf7)](_0x4c9564,this):_0x4c9564;}}),_0x189077=_0x4f4cfa['kdf']={},_0x5715d9=_0x189077[_0x47612a(0x269)]={'execute':function(_0xeef24f,_0x142f31,_0x383da4,_0x5dbfea,_0x13e8fe){var _0x3f4b50=_0x47612a;if(_0x5dbfea||(_0x5dbfea=_0x18550c['random'](0x40/0x8)),_0x13e8fe)var _0x34888d=_0x31417c['create']({'keySize':_0x142f31+_0x383da4,'hasher':_0x13e8fe})['compute'](_0xeef24f,_0x5dbfea);else var _0x34888d=_0x31417c[_0x3f4b50(0x21d)]({'keySize':_0x142f31+_0x383da4})['compute'](_0xeef24f,_0x5dbfea);var _0x1ea79f=_0x18550c[_0x3f4b50(0x21d)](_0x34888d[_0x3f4b50(0x28c)][_0x3f4b50(0x2a6)](_0x142f31),_0x383da4*0x4);return _0x34888d[_0x3f4b50(0x28b)]=_0x142f31*0x4,_0x127ad5[_0x3f4b50(0x21d)]({'key':_0x34888d,'iv':_0x1ea79f,'salt':_0x5dbfea});}},_0x49e057=_0x39326a['PasswordBasedCipher']=_0x3220b1[_0x47612a(0x32d)]({'cfg':_0x3220b1[_0x47612a(0x2b1)]['extend']({'kdf':_0x5715d9}),'encrypt':function(_0x115156,_0x1be7b4,_0x42b79f,_0x34f4ef){var _0x135d74=_0x47612a;_0x34f4ef=this[_0x135d74(0x2b1)][_0x135d74(0x32d)](_0x34f4ef);var _0x10f660=_0x34f4ef[_0x135d74(0xc3)][_0x135d74(0x159)](_0x42b79f,_0x115156['keySize'],_0x115156[_0x135d74(0x174)],_0x34f4ef[_0x135d74(0x2c8)],_0x34f4ef[_0x135d74(0x10b)]);_0x34f4ef['iv']=_0x10f660['iv'];var _0x209b54=_0x3220b1[_0x135d74(0x202)][_0x135d74(0x169)](this,_0x115156,_0x1be7b4,_0x10f660['key'],_0x34f4ef);return _0x209b54[_0x135d74(0x2fc)](_0x10f660),_0x209b54;},'decrypt':function(_0x492ec4,_0x179ecd,_0x51d7f2,_0x8413c1){var _0x2330ae=_0x47612a;_0x8413c1=this[_0x2330ae(0x2b1)][_0x2330ae(0x32d)](_0x8413c1),_0x179ecd=this[_0x2330ae(0x15a)](_0x179ecd,_0x8413c1[_0x2330ae(0x106)]);var _0x2a5180=_0x8413c1[_0x2330ae(0xc3)][_0x2330ae(0x159)](_0x51d7f2,_0x492ec4[_0x2330ae(0x11a)],_0x492ec4[_0x2330ae(0x174)],_0x179ecd[_0x2330ae(0x2c8)],_0x8413c1[_0x2330ae(0x10b)]);_0x8413c1['iv']=_0x2a5180['iv'];var _0x473ea9=_0x3220b1[_0x2330ae(0x1cb)][_0x2330ae(0x169)](this,_0x492ec4,_0x179ecd,_0x2a5180['key'],_0x8413c1);return _0x473ea9;}});}();}));}(Xe)),Xe[_0x3dc9ed(0x2ce)];}var Zs=We[_0x46a708(0x2ce)],oi;function Qs(){var _0x6cca73=_0x46a708;return oi||(oi=0x1,function(_0x382ada,_0x17d736){(function(_0x25dc07,_0x33d5a5,_0x43343d){var _0x1823a9=_0x5eac;_0x382ada[_0x1823a9(0x2ce)]=_0x33d5a5(ne(),wi(),Gs(),Ui(),Ai());}(Zs,function(_0x3af12f){var _0xc4e94f=_0x5eac;return(function(){var _0x974037=_0x5eac,_0x562d4f=_0x3af12f,_0x239f8f=_0x562d4f['lib'],_0x4b5bca=_0x239f8f[_0x974037(0x1bc)],_0x184a34=_0x562d4f[_0x974037(0x171)],_0x15a34c=[],_0xffc56a=[],_0x5080d7=[],_0x59b4b7=[],_0x269e23=[],_0x400446=[],_0x57b131=[],_0x32d3ff=[],_0xabe250=[],_0x5d1141=[];(function(){for(var _0x3b73e4=[],_0x4260b9=0x0;_0x4260b9<0x100;_0x4260b9++)_0x4260b9<0x80?_0x3b73e4[_0x4260b9]=_0x4260b9<<0x1:_0x3b73e4[_0x4260b9]=_0x4260b9<<0x1^0x11b;for(var _0x487440=0x0,_0x28bc83=0x0,_0x4260b9=0x0;_0x4260b9<0x100;_0x4260b9++){var _0xc0823=_0x28bc83^_0x28bc83<<0x1^_0x28bc83<<0x2^_0x28bc83<<0x3^_0x28bc83<<0x4;_0xc0823=_0xc0823>>>0x8^_0xc0823&0xff^0x63,_0x15a34c[_0x487440]=_0xc0823,_0xffc56a[_0xc0823]=_0x487440;var _0x1396cc=_0x3b73e4[_0x487440],_0x274bb7=_0x3b73e4[_0x1396cc],_0x5879e1=_0x3b73e4[_0x274bb7],_0x5d266c=_0x3b73e4[_0xc0823]*0x101^_0xc0823*0x1010100;_0x5080d7[_0x487440]=_0x5d266c<<0x18|_0x5d266c>>>0x8,_0x59b4b7[_0x487440]=_0x5d266c<<0x10|_0x5d266c>>>0x10,_0x269e23[_0x487440]=_0x5d266c<<0x8|_0x5d266c>>>0x18,_0x400446[_0x487440]=_0x5d266c;var _0x5d266c=_0x5879e1*0x1010101^_0x274bb7*0x10001^_0x1396cc*0x101^_0x487440*0x1010100;_0x57b131[_0xc0823]=_0x5d266c<<0x18|_0x5d266c>>>0x8,_0x32d3ff[_0xc0823]=_0x5d266c<<0x10|_0x5d266c>>>0x10,_0xabe250[_0xc0823]=_0x5d266c<<0x8|_0x5d266c>>>0x18,_0x5d1141[_0xc0823]=_0x5d266c,_0x487440?(_0x487440=_0x1396cc^_0x3b73e4[_0x3b73e4[_0x3b73e4[_0x5879e1^_0x1396cc]]],_0x28bc83^=_0x3b73e4[_0x3b73e4[_0x28bc83]]):_0x487440=_0x28bc83=0x1;}}());var _0x2abe42=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4e6fec=_0x184a34[_0x974037(0x1ae)]=_0x4b5bca['extend']({'_doReset':function(){var _0x509715=_0x974037,_0x4964b4;if(!(this[_0x509715(0x312)]&&this[_0x509715(0x2b7)]===this[_0x509715(0x35e)])){for(var _0x896522=this[_0x509715(0x2b7)]=this[_0x509715(0x35e)],_0x5e8973=_0x896522[_0x509715(0x28c)],_0x4ad292=_0x896522[_0x509715(0x28b)]/0x4,_0x610ad2=this[_0x509715(0x312)]=_0x4ad292+0x6,_0x40fe8e=(_0x610ad2+0x1)*0x4,_0x1ed055=this[_0x509715(0x11c)]=[],_0x5a7e39=0x0;_0x5a7e39<_0x40fe8e;_0x5a7e39++)_0x5a7e39<_0x4ad292?_0x1ed055[_0x5a7e39]=_0x5e8973[_0x5a7e39]:(_0x4964b4=_0x1ed055[_0x5a7e39-0x1],_0x5a7e39%_0x4ad292?_0x4ad292>0x6&&_0x5a7e39%_0x4ad292==0x4&&(_0x4964b4=_0x15a34c[_0x4964b4>>>0x18]<<0x18|_0x15a34c[_0x4964b4>>>0x10&0xff]<<0x10|_0x15a34c[_0x4964b4>>>0x8&0xff]<<0x8|_0x15a34c[_0x4964b4&0xff]):(_0x4964b4=_0x4964b4<<0x8|_0x4964b4>>>0x18,_0x4964b4=_0x15a34c[_0x4964b4>>>0x18]<<0x18|_0x15a34c[_0x4964b4>>>0x10&0xff]<<0x10|_0x15a34c[_0x4964b4>>>0x8&0xff]<<0x8|_0x15a34c[_0x4964b4&0xff],_0x4964b4^=_0x2abe42[_0x5a7e39/_0x4ad292|0x0]<<0x18),_0x1ed055[_0x5a7e39]=_0x1ed055[_0x5a7e39-_0x4ad292]^_0x4964b4);for(var _0x3914c9=this[_0x509715(0xf3)]=[],_0x22f281=0x0;_0x22f281<_0x40fe8e;_0x22f281++){var _0x5a7e39=_0x40fe8e-_0x22f281;if(_0x22f281%0x4)var _0x4964b4=_0x1ed055[_0x5a7e39];else var _0x4964b4=_0x1ed055[_0x5a7e39-0x4];_0x22f281<0x4||_0x5a7e39<=0x4?_0x3914c9[_0x22f281]=_0x4964b4:_0x3914c9[_0x22f281]=_0x57b131[_0x15a34c[_0x4964b4>>>0x18]]^_0x32d3ff[_0x15a34c[_0x4964b4>>>0x10&0xff]]^_0xabe250[_0x15a34c[_0x4964b4>>>0x8&0xff]]^_0x5d1141[_0x15a34c[_0x4964b4&0xff]];}}},'encryptBlock':function(_0x29bed8,_0x36d873){var _0x3bc805=_0x974037;this[_0x3bc805(0x1ec)](_0x29bed8,_0x36d873,this['_keySchedule'],_0x5080d7,_0x59b4b7,_0x269e23,_0x400446,_0x15a34c);},'decryptBlock':function(_0x46affa,_0x56e07d){var _0x2748dd=_0x974037,_0x1f6ca7=_0x46affa[_0x56e07d+0x1];_0x46affa[_0x56e07d+0x1]=_0x46affa[_0x56e07d+0x3],_0x46affa[_0x56e07d+0x3]=_0x1f6ca7,this[_0x2748dd(0x1ec)](_0x46affa,_0x56e07d,this[_0x2748dd(0xf3)],_0x57b131,_0x32d3ff,_0xabe250,_0x5d1141,_0xffc56a);var _0x1f6ca7=_0x46affa[_0x56e07d+0x1];_0x46affa[_0x56e07d+0x1]=_0x46affa[_0x56e07d+0x3],_0x46affa[_0x56e07d+0x3]=_0x1f6ca7;},'_doCryptBlock':function(_0x37519c,_0x38e7c7,_0x2090bf,_0x51559b,_0x49fd91,_0x560679,_0x3fd556,_0x40910d){for(var _0x107b9d=this['_nRounds'],_0x5e3b42=_0x37519c[_0x38e7c7]^_0x2090bf[0x0],_0x4cbef9=_0x37519c[_0x38e7c7+0x1]^_0x2090bf[0x1],_0x4fc4d0=_0x37519c[_0x38e7c7+0x2]^_0x2090bf[0x2],_0x4f675b=_0x37519c[_0x38e7c7+0x3]^_0x2090bf[0x3],_0xcf6d7d=0x4,_0x14365d=0x1;_0x14365d<_0x107b9d;_0x14365d++){var _0x5a0111=_0x51559b[_0x5e3b42>>>0x18]^_0x49fd91[_0x4cbef9>>>0x10&0xff]^_0x560679[_0x4fc4d0>>>0x8&0xff]^_0x3fd556[_0x4f675b&0xff]^_0x2090bf[_0xcf6d7d++],_0x2118fa=_0x51559b[_0x4cbef9>>>0x18]^_0x49fd91[_0x4fc4d0>>>0x10&0xff]^_0x560679[_0x4f675b>>>0x8&0xff]^_0x3fd556[_0x5e3b42&0xff]^_0x2090bf[_0xcf6d7d++],_0x32bc3c=_0x51559b[_0x4fc4d0>>>0x18]^_0x49fd91[_0x4f675b>>>0x10&0xff]^_0x560679[_0x5e3b42>>>0x8&0xff]^_0x3fd556[_0x4cbef9&0xff]^_0x2090bf[_0xcf6d7d++],_0x149877=_0x51559b[_0x4f675b>>>0x18]^_0x49fd91[_0x5e3b42>>>0x10&0xff]^_0x560679[_0x4cbef9>>>0x8&0xff]^_0x3fd556[_0x4fc4d0&0xff]^_0x2090bf[_0xcf6d7d++];_0x5e3b42=_0x5a0111,_0x4cbef9=_0x2118fa,_0x4fc4d0=_0x32bc3c,_0x4f675b=_0x149877;}var _0x5a0111=(_0x40910d[_0x5e3b42>>>0x18]<<0x18|_0x40910d[_0x4cbef9>>>0x10&0xff]<<0x10|_0x40910d[_0x4fc4d0>>>0x8&0xff]<<0x8|_0x40910d[_0x4f675b&0xff])^_0x2090bf[_0xcf6d7d++],_0x2118fa=(_0x40910d[_0x4cbef9>>>0x18]<<0x18|_0x40910d[_0x4fc4d0>>>0x10&0xff]<<0x10|_0x40910d[_0x4f675b>>>0x8&0xff]<<0x8|_0x40910d[_0x5e3b42&0xff])^_0x2090bf[_0xcf6d7d++],_0x32bc3c=(_0x40910d[_0x4fc4d0>>>0x18]<<0x18|_0x40910d[_0x4f675b>>>0x10&0xff]<<0x10|_0x40910d[_0x5e3b42>>>0x8&0xff]<<0x8|_0x40910d[_0x4cbef9&0xff])^_0x2090bf[_0xcf6d7d++],_0x149877=(_0x40910d[_0x4f675b>>>0x18]<<0x18|_0x40910d[_0x5e3b42>>>0x10&0xff]<<0x10|_0x40910d[_0x4cbef9>>>0x8&0xff]<<0x8|_0x40910d[_0x4fc4d0&0xff])^_0x2090bf[_0xcf6d7d++];_0x37519c[_0x38e7c7]=_0x5a0111,_0x37519c[_0x38e7c7+0x1]=_0x2118fa,_0x37519c[_0x38e7c7+0x2]=_0x32bc3c,_0x37519c[_0x38e7c7+0x3]=_0x149877;},'keySize':0x100/0x20});_0x562d4f['AES']=_0x4b5bca[_0x974037(0x278)](_0x4e6fec);}()),_0x3af12f[_0xc4e94f(0x1ae)];}));}(We)),We[_0x6cca73(0x2ce)];}var er=Qs();const tr=je(er);var ir=wi();const ai=je(ir);var Ze={'exports':{}},nr=Ze[_0x46a708(0x2ce)],ci;function sr(){var _0x1a4c89=_0x46a708;return ci||(ci=0x1,function(_0x1d9d3d,_0x2b44b5){(function(_0x2d9a85,_0x538034){var _0x6c32a0=_0x5eac;_0x1d9d3d[_0x6c32a0(0x2ce)]=_0x538034(ne());}(nr,function(_0x2d719d){var _0x96cedd=_0x5eac;return _0x2d719d[_0x96cedd(0x2c4)][_0x96cedd(0x17b)];}));}(Ze)),Ze[_0x1a4c89(0x2ce)];}var rr=sr();const or=je(rr);var Qe={'exports':{}},ar=Qe[_0x46a708(0x2ce)],hi;function cr(){var _0x222c20=_0x46a708;return hi||(hi=0x1,function(_0x4a1225,_0x3eddf4){(function(_0x5180b8,_0x1b90c7){var _0x4d7f7f=_0x5eac;_0x4a1225[_0x4d7f7f(0x2ce)]=_0x1b90c7(ne());}(ar,function(_0x30d138){var _0x2f866e=_0x5eac;return(function(){var _0x5a3a2e=_0x5eac;if(typeof ArrayBuffer==_0x5a3a2e(0x13d)){var _0x402894=_0x30d138,_0x2b9795=_0x402894['lib'],_0x581911=_0x2b9795[_0x5a3a2e(0xfa)],_0x59b56d=_0x581911[_0x5a3a2e(0x175)],_0x3c87b1=_0x581911[_0x5a3a2e(0x175)]=function(_0x5c8bb7){var _0x311503=_0x5a3a2e;if(_0x5c8bb7 instanceof ArrayBuffer&&(_0x5c8bb7=new Uint8Array(_0x5c8bb7)),(_0x5c8bb7 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5c8bb7 instanceof Uint8ClampedArray||_0x5c8bb7 instanceof Int16Array||_0x5c8bb7 instanceof Uint16Array||_0x5c8bb7 instanceof Int32Array||_0x5c8bb7 instanceof Uint32Array||_0x5c8bb7 instanceof Float32Array||_0x5c8bb7 instanceof Float64Array)&&(_0x5c8bb7=new Uint8Array(_0x5c8bb7[_0x311503(0xca)],_0x5c8bb7[_0x311503(0x21e)],_0x5c8bb7[_0x311503(0x18e)])),_0x5c8bb7 instanceof Uint8Array){for(var _0x5d57d3=_0x5c8bb7['byteLength'],_0x4f784c=[],_0x16fc72=0x0;_0x16fc72<_0x5d57d3;_0x16fc72++)_0x4f784c[_0x16fc72>>>0x2]|=_0x5c8bb7[_0x16fc72]<<0x18-_0x16fc72%0x4*0x8;_0x59b56d[_0x311503(0x169)](this,_0x4f784c,_0x5d57d3);}else _0x59b56d[_0x311503(0x1b6)](this,arguments);};_0x3c87b1[_0x5a3a2e(0x194)]=_0x581911;}}()),_0x30d138[_0x2f866e(0xd5)]['WordArray'];}));}(Qe)),Qe[_0x222c20(0x2ce)];}var hr=cr();const _r=je(hr);var et={'exports':{}},lr=et[_0x46a708(0x2ce)],_i;function ur(){return _i||(_i=0x1,function(_0x2954b6,_0x371dfd){(function(_0x1d6fb2,_0x57a69d,_0x4465b9){_0x2954b6['exports']=_0x57a69d(ne(),Ai());}(lr,function(_0x524a28){var _0xe60eb3=_0x5eac;return _0x524a28[_0xe60eb3(0x262)][_0xe60eb3(0x217)]={'pad':function(){},'unpad':function(){}},_0x524a28[_0xe60eb3(0x262)][_0xe60eb3(0x217)];}));}(et)),et['exports'];}var dr=ur();const fr=je(dr);function vr(_0x2e1eed,_0x3e4835){var _0x30bacc=_0x46a708;const _0x30988f=_0x3e4835-_0x2e1eed[_0x30bacc(0x297)]%_0x3e4835,_0x5adff4=String[_0x30bacc(0x182)](_0x30988f)[_0x30bacc(0x206)](_0x30988f);return _0x2e1eed+_0x5adff4;}function pr(_0x473d12,_0x14e454){var _0xef85ca=_0x46a708;const _0x53087c=_r['random'](0x10),_0x5f576c=vr(_0x473d12,0x10),_0x50b835=tr[_0xef85ca(0x202)](or['parse'](_0x5f576c),ai[_0xef85ca(0xf7)](_0x14e454),{'iv':_0x53087c,'padding':fr});return _0x53087c[_0xef85ca(0x12a)](_0x50b835[_0xef85ca(0xfc)])[_0xef85ca(0x21b)](ai);}function gr(){var _0x45ff9f=_0x46a708;const _0x421830=_0x52991c()[_0x45ff9f(0x281)];if(_0x421830){const _0x366bb9={'time':Math[_0x45ff9f(0x10f)](Date['now']()/0x3e8),'domain':location[_0x45ff9f(0x160)]};return pr(JSON[_0x45ff9f(0x32c)](_0x366bb9),_0x421830);}}var mr=Object['defineProperty'],Sr=Object[_0x46a708(0x13c)],Er=(_0x27fe4e,_0x39ee4e,_0x117e1f,_0x3a7451)=>{for(var _0x523133=_0x3a7451>0x1?void 0x0:_0x3a7451?Sr(_0x39ee4e,_0x117e1f):_0x39ee4e,_0x283b65=_0x27fe4e['length']-0x1,_0x274029;_0x283b65>=0x0;_0x283b65--)(_0x274029=_0x27fe4e[_0x283b65])&&(_0x523133=(_0x3a7451?_0x274029(_0x39ee4e,_0x117e1f,_0x523133):_0x274029(_0x523133))||_0x523133);return _0x3a7451&&_0x523133&&mr(_0x39ee4e,_0x117e1f,_0x523133),_0x523133;},Ir=(_0x4d6bd8,_0xf1495e)=>(_0x107d4d,_0x535ff2)=>_0xf1495e(_0x107d4d,_0x535ff2,_0x4d6bd8);let at=class{constructor(_0x3c6039){var _0x184e8f=_0x46a708;this[_0x184e8f(0x227)]=_0x3c6039,this[_0x184e8f(0x141)]();}[_0x46a708(0x141)](){var _0x5ab08f=_0x46a708;this[_0x5ab08f(0x227)]['registerHTTPInterceptor']({'interceptor':(_0x14b5e5,_0x4602fe)=>{var _0x14ebf6=_0x5ab08f;const _0x5c79d9=_0x14b5e5[_0x14ebf6(0x10a)],_0x584e9c=gr();return _0x584e9c&&_0x5c79d9[_0x14ebf6(0x245)](_0x14ebf6(0x31d),_0x584e9c),_0x4602fe(_0x14b5e5);}});}};at=Er([Ir(0x0,_0x2cbcbc(_0x1d8e94))],at);var Tr=Object['defineProperty'],Cr=Object['getOwnPropertyDescriptor'],br=(_0x203fda,_0x162231,_0x4366c2,_0x2dde8e)=>{var _0x39faf2=_0x46a708;for(var _0x32cdeb=_0x2dde8e>0x1?void 0x0:_0x2dde8e?Cr(_0x162231,_0x4366c2):_0x162231,_0x3adff1=_0x203fda[_0x39faf2(0x297)]-0x1,_0x17eb76;_0x3adff1>=0x0;_0x3adff1--)(_0x17eb76=_0x203fda[_0x3adff1])&&(_0x32cdeb=(_0x2dde8e?_0x17eb76(_0x162231,_0x4366c2,_0x32cdeb):_0x17eb76(_0x32cdeb))||_0x32cdeb);return _0x2dde8e&&_0x32cdeb&&Tr(_0x162231,_0x4366c2,_0x32cdeb),_0x32cdeb;},mt=(_0x4048ad,_0x394a17)=>(_0x5eaafa,_0x1e2d1e)=>_0x394a17(_0x5eaafa,_0x1e2d1e,_0x4048ad);let Ot=class extends _0x4cae55{constructor(_0x3b7cdb,_0x460ec3,_0x5a7bbb){var _0xfbbe0d=_0x46a708;super(),D(this,'_unitInfo$',new _0x5a555a(null)),D(this,_0xfbbe0d(0x1ca),this[_0xfbbe0d(0x157)]['asObservable']()),(this[_0xfbbe0d(0x365)]=_0x3b7cdb,this[_0xfbbe0d(0x2fb)]=_0x460ec3,this[_0xfbbe0d(0x38c)]=_0x5a7bbb);}async[_0x46a708(0x348)](_0x1f5e8d,_0x31b8aa,_0x55ecd9){var _0x5f38a7=_0x46a708;this[_0x5f38a7(0x157)][_0x5f38a7(0x242)]({'unitId':_0x1f5e8d,'type':_0x31b8aa,'subUnitId':_0x55ecd9});let _0xdd70f9=null;switch(_0x31b8aa){case Q['UNIVER_SHEET']:{_0xdd70f9=await this[_0x5f38a7(0x37c)](_0x1f5e8d);break;}case Q[_0x5f38a7(0x163)]:{_0xdd70f9=await this[_0x5f38a7(0x2ae)](_0x1f5e8d);break;}default:{this['_logService']['error']('[DataLoaderService]',_0x5f38a7(0x146));break;}}return _0xdd70f9;}async['_loadSheet'](_0xf83cca){var _0x7893cc=_0x46a708,_0x3d1c19;let _0xad7e8d=0x0;const _0x41a28c=await((_0x3d1c19=this[_0x7893cc(0x38c)])==null?void 0x0:_0x3d1c19[_0x7893cc(0x357)](_0xf83cca));return _0x41a28c&&(_0x41a28c['awaitingChangeset']||_0x41a28c['mutations'][_0x7893cc(0x297)]!==0x0)&&(_0xad7e8d=_0x41a28c['rev']),_0xad7e8d===0x0&&this[_0x7893cc(0x365)][_0x7893cc(0x26e)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x7893cc(0x2fb)]['loadSheet'](_0xf83cca,_0xad7e8d);}async[_0x46a708(0x2ae)](_0x214b56){var _0x15406=_0x46a708,_0x205fc6;let _0x21920e=0x0;const _0x2b80b6=await((_0x205fc6=this[_0x15406(0x38c)])==null?void 0x0:_0x205fc6[_0x15406(0x357)](_0x214b56));return _0x2b80b6&&(_0x2b80b6[_0x15406(0x261)]||_0x2b80b6[_0x15406(0x124)][_0x15406(0x297)]!==0x0)&&(_0x21920e=_0x2b80b6[_0x15406(0x1c2)]),_0x21920e===0x0&&this['_logService'][_0x15406(0x26e)](_0x15406(0x33c),_0x15406(0x266)),this['_snapshotService'][_0x15406(0x1c4)](_0x214b56,_0x21920e);}};Ot=br([mt(0x0,_0x39a5d8),mt(0x1,_0x2cbcbc(_0x10280f)),mt(0x2,_0x159445(X))],Ot);var Rr=Object[_0x46a708(0x19e)],yr=Object[_0x46a708(0x13c)],Or=(_0x31a993,_0x4cbbdc,_0x117816,_0x3dd5c4)=>{var _0x33f1f2=_0x46a708;for(var _0x3ddb7b=_0x3dd5c4>0x1?void 0x0:_0x3dd5c4?yr(_0x4cbbdc,_0x117816):_0x4cbbdc,_0x229443=_0x31a993[_0x33f1f2(0x297)]-0x1,_0x85192d;_0x229443>=0x0;_0x229443--)(_0x85192d=_0x31a993[_0x229443])&&(_0x3ddb7b=(_0x3dd5c4?_0x85192d(_0x4cbbdc,_0x117816,_0x3ddb7b):_0x85192d(_0x3ddb7b))||_0x3ddb7b);return _0x3dd5c4&&_0x3ddb7b&&Rr(_0x4cbbdc,_0x117816,_0x3ddb7b),_0x3ddb7b;},St=(_0x4da553,_0x61e2b4)=>(_0x257fc4,_0x44a46d)=>_0x61e2b4(_0x257fc4,_0x44a46d,_0x4da553);const Pr=[_0x46a708(0x360),_0x46a708(0x2d4),_0x46a708(0x257),_0x46a708(0x1fc),_0x46a708(0x35c)],Nr=0x5*0x400*0x400,Dr=_0x46a708(0x2e2),wr=_0x46a708(0x3ac),Ur='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Ar='/universer-api/file/{fileID}/sign-url';let Pt=class{constructor(_0x3b5059,_0x26fe79,_0x36932b){var _0x195d23=_0x46a708;D(this,'_waitCount',0x0),D(this,_0x195d23(0x391),new _0x5a87a1()),D(this,_0x195d23(0x37d),this[_0x195d23(0x391)]),D(this,_0x195d23(0x21c),new Map()),(this[_0x195d23(0x227)]=_0x3b5059,this[_0x195d23(0x129)]=_0x26fe79,this[_0x195d23(0x310)]=_0x36932b);}['setWaitCount'](_0x563f8d){var _0x4939b0=_0x46a708;this[_0x4939b0(0x1b9)]=_0x563f8d,this['_change$'][_0x4939b0(0x242)](_0x563f8d);}[_0x46a708(0x38f)](_0x4652a6,_0x49f889){var _0x30417a=_0x46a708;if(_0x49f889===_0x3f0c6c[_0x30417a(0x2d3)]){const _0x1b07e2=new Image();return _0x1b07e2[_0x30417a(0x115)]=_0x4652a6,_0x1b07e2;}return this[_0x30417a(0x21c)][_0x30417a(0x378)](_0x4652a6);}[_0x46a708(0x2e1)](_0x23d2a5,_0x1d6dcd,_0xb2105c){var _0x123c86=_0x46a708;_0x1d6dcd===_0x3f0c6c['BASE64']||_0xb2105c==null||this[_0x123c86(0x21c)][_0x123c86(0x245)](_0x23d2a5,_0xb2105c);}async[_0x46a708(0x36e)](_0x415a0f){var _0x58c992=_0x46a708;try{const _0x5a3382=this[_0x58c992(0x21a)](this[_0x58c992(0x1a3)](),''+_0x415a0f),_0xd7b40c=(await this['_httpService'][_0x58c992(0x378)](_0x5a3382))[_0x58c992(0x168)];if(_0xd7b40c['error']&&_0xd7b40c[_0x58c992(0x373)][_0x58c992(0x205)]===Ii['OK']){const _0x1fdf66=new URL(_0xd7b40c[_0x58c992(0x2b2)],this[_0x58c992(0x1fa)]())[_0x58c992(0x21b)]();return Promise[_0x58c992(0x27e)](_0x1fdf66);}return Promise[_0x58c992(0x1d0)](_0xd7b40c['error']);}catch(_0xc820d1){return Promise[_0x58c992(0x1d0)](_0xc820d1);}}async[_0x46a708(0x12e)](_0x508a09){var _0x3b2551=_0x46a708;let _0x39aa91='';if(!Pr[_0x3b2551(0x214)](_0x508a09[_0x3b2551(0x248)]))return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2d723a['ERROR_IMAGE_TYPE']));if(_0x508a09[_0x3b2551(0x1c6)]>Nr)return this['_decreaseWaiting'](),Promise[_0x3b2551(0x1d0)](new Error(_0x2d723a[_0x3b2551(0x193)]));try{const _0x12f1bd=new FormData();_0x12f1bd['append'](_0x3b2551(0x142),_0x508a09);const _0x50b0b4=this[_0x3b2551(0x310)][_0x3b2551(0x361)](),_0xce4a3e=_0x50b0b4==null?void 0x0:_0x50b0b4[_0x3b2551(0x20f)]();if(!_0xce4a3e)throw new Error(_0x3b2551(0x2c2));const _0x227f03=this[_0x3b2551(0x251)]()+_0x3b2551(0x16e)+_0x508a09[_0x3b2551(0x1c6)]['toString']()+_0x3b2551(0x162)+Ti[_0x3b2551(0x145)]+'&assign='+encodeURIComponent(_0xce4a3e),_0x1bb56b=await(await fetch(_0x227f03,{'method':'POST','body':_0x12f1bd}))[_0x3b2551(0x324)]();if(typeof _0x1bb56b[_0x3b2551(0x16f)]!=_0x3b2551(0x28e))return this[_0x3b2551(0xc4)](),Promise['reject'](new Error(_0x2d723a['ERROR_IMAGE']));_0x39aa91=_0x1bb56b[_0x3b2551(0x16f)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x2d723a[_0x3b2551(0x3a2)]));}return new Promise((_0x1447e1,_0x1f2bd1)=>{var _0x13e851=_0x3b2551;const _0x20e844=new FileReader();_0x20e844[_0x13e851(0x37b)](_0x508a09),_0x20e844[_0x13e851(0x178)]=_0x528024=>{var _0xb0a2c=_0x13e851,_0x9e2029;const _0x51334e=(_0x9e2029=_0x528024[_0xb0a2c(0x19a)])==null?void 0x0:_0x9e2029['result'];if(_0x51334e==null){this[_0xb0a2c(0xc4)](),_0x1f2bd1(new Error(_0x2d723a[_0xb0a2c(0x3a2)]));return;}const _0x5757bd=_0x4bc022[_0xb0a2c(0x15e)](0x6);_0x1447e1({'imageId':_0x5757bd,'imageSourceType':_0x3f0c6c[_0xb0a2c(0x16c)],'source':_0x39aa91,'base64Cache':_0x51334e,'status':_0x2d723a[_0xb0a2c(0x1da)]}),this[_0xb0a2c(0xc4)]();};});}['_getUploadFileURL'](){var _0x58faa0=_0x46a708,_0x2e5d33,_0x3e38e0;const _0x21f7a5=this[_0x58faa0(0x129)][_0x58faa0(0x27a)](Dr),_0xa62218=this[_0x58faa0(0x129)][_0x58faa0(0x27a)](Y);return(_0x3e38e0=(_0x2e5d33=_0xa62218==null?void 0x0:_0xa62218[_0x58faa0(0x265)])!=null?_0x2e5d33:_0x21f7a5)!=null?_0x3e38e0:wr;}[_0x46a708(0x1a3)](){var _0xc8b172=_0x46a708,_0x1c0f37,_0xc94f58;const _0x196b71=this[_0xc8b172(0x129)][_0xc8b172(0x27a)](Ur),_0x3022ee=this[_0xc8b172(0x129)][_0xc8b172(0x27a)](Y);return(_0xc94f58=(_0x1c0f37=_0x3022ee==null?void 0x0:_0x3022ee[_0xc8b172(0x396)])!=null?_0x1c0f37:_0x196b71)!=null?_0xc94f58:Ar;}[_0x46a708(0x1fa)](){var _0x594ba8=_0x46a708,_0x2cfcee;const _0x2fbcf6=this['_configService'][_0x594ba8(0x27a)](Y);return(_0x2cfcee=_0x2fbcf6==null?void 0x0:_0x2fbcf6[_0x594ba8(0xf5)])!=null?_0x2cfcee:location['origin'];}[_0x46a708(0x21a)](_0x1937c3,_0x8a79b){var _0x3df129=_0x46a708;return _0x1937c3['replace'](_0x3df129(0x148),_0x8a79b);}[_0x46a708(0xc4)](){var _0x28ab80=_0x46a708;this[_0x28ab80(0x1b9)]-=0x1,this[_0x28ab80(0x391)][_0x28ab80(0x242)](this[_0x28ab80(0x1b9)]);}};Pt=Or([St(0x0,_0x2cbcbc(_0x1d8e94)),St(0x1,_0x39fbc8),St(0x2,_0x2cbcbc(_0x15d079))],Pt);var xr=Object[_0x46a708(0x19e)],Lr=Object[_0x46a708(0x13c)],Mr=(_0x2b0c19,_0x23135f,_0x43e50e,_0x49896b)=>{var _0x317fb2=_0x46a708;for(var _0x5d2801=_0x49896b>0x1?void 0x0:_0x49896b?Lr(_0x23135f,_0x43e50e):_0x23135f,_0xc86dbd=_0x2b0c19[_0x317fb2(0x297)]-0x1,_0x493520;_0xc86dbd>=0x0;_0xc86dbd--)(_0x493520=_0x2b0c19[_0xc86dbd])&&(_0x5d2801=(_0x49896b?_0x493520(_0x23135f,_0x43e50e,_0x5d2801):_0x493520(_0x5d2801))||_0x5d2801);return _0x49896b&&_0x5d2801&&xr(_0x23135f,_0x43e50e,_0x5d2801),_0x5d2801;},li=(_0x426e73,_0x28bddd)=>(_0x25e659,_0x4ceb70)=>_0x28bddd(_0x25e659,_0x4ceb70,_0x426e73);const $r=_0x46a708(0x1b7);let Nt=class{constructor(_0x9e8f4d,_0x164242){var _0x1c47f7=_0x46a708;this[_0x1c47f7(0x129)]=_0x9e8f4d,this[_0x1c47f7(0x13b)]=_0x164242;}[_0x46a708(0x34f)](){var _0xf07547=_0x46a708,_0x429dab,_0x2bacdb;const _0x1ba381=this[_0xf07547(0x129)]['getConfig'](Di),_0x5bae5e=this[_0xf07547(0x129)]['getConfig'](Y);return(_0x2bacdb=(_0x429dab=_0x5bae5e==null?void 0x0:_0x5bae5e[_0xf07547(0xdf)])!=null?_0x429dab:_0x1ba381)!=null?_0x2bacdb:$r;}async[_0x46a708(0x287)](_0x425f89){var _0x1cd3d3=_0x46a708;const _0x5955e8=this[_0x1cd3d3(0x34f)]()+_0x1cd3d3(0x140);return{'list':[{'title':'People','mentions':(await this[_0x1cd3d3(0x13b)][_0x1cd3d3(0x378)](_0x5955e8,{'params':{'objectID':_0x425f89[_0x1cd3d3(0x1d8)],'unitID':_0x425f89[_0x1cd3d3(0x1d8)]}}))[_0x1cd3d3(0x168)][_0x1cd3d3(0xe5)][_0x1cd3d3(0x167)](_0x561285=>({'objectId':_0x561285['id'],'name':_0x561285[_0x1cd3d3(0x2af)][_0x1cd3d3(0x31f)],'metadata':{'icon':_0x561285[_0x1cd3d3(0x2af)][_0x1cd3d3(0x151)]},'label':_0x561285['subject'][_0x1cd3d3(0x31f)],'objectType':_0x567ec2[_0x1cd3d3(0x1f3)]})),'metadata':{},'type':_0x567ec2[_0x1cd3d3(0x1f3)]}]};}};Nt=Mr([li(0x0,_0x2cbcbc(_0x39fbc8)),li(0x1,_0x2cbcbc(_0x1d8e94))],Nt);var Hr=Object[_0x46a708(0x19e)],kr=Object[_0x46a708(0x13c)],jr=(_0x28b8a1,_0x58a917,_0x4c443a,_0x17cc98)=>{var _0x1c819e=_0x46a708;for(var _0x373b24=_0x17cc98>0x1?void 0x0:_0x17cc98?kr(_0x58a917,_0x4c443a):_0x58a917,_0x141656=_0x28b8a1[_0x1c819e(0x297)]-0x1,_0x5f11cf;_0x141656>=0x0;_0x141656--)(_0x5f11cf=_0x28b8a1[_0x141656])&&(_0x373b24=(_0x17cc98?_0x5f11cf(_0x58a917,_0x4c443a,_0x373b24):_0x5f11cf(_0x373b24))||_0x373b24);return _0x17cc98&&_0x373b24&&Hr(_0x58a917,_0x4c443a,_0x373b24),_0x373b24;},Se=(_0x432fca,_0x1c4a5e)=>(_0x120f2c,_0x196f13)=>_0x1c4a5e(_0x120f2c,_0x196f13,_0x432fca);let ct=class extends _0x4cae55{constructor(_0x3a689c,_0x39ce53,_0x8886c9,_0x1732ba,_0x5abfa9,_0x15f891,_0x531e6e){var _0x5a60c5=_0x46a708;super(),this[_0x5a60c5(0x154)]=_0x3a689c,this[_0x5a60c5(0x310)]=_0x39ce53,this['_permissionService']=_0x8886c9,this[_0x5a60c5(0x200)]=_0x1732ba,this[_0x5a60c5(0x3b8)]=_0x5abfa9,this[_0x5a60c5(0x2f6)]=_0x15f891,this[_0x5a60c5(0x139)]=_0x531e6e,this['_initUnitPermissionChange'](),this[_0x5a60c5(0x1c5)]();}[_0x46a708(0x1c5)](){var _0x4e0723=_0x46a708;const _0x2ded48=async _0x48263a=>{var _0x217300=_0x5eac;(await this[_0x217300(0x200)]['requireSession'](_0x48263a))[_0x217300(0xc5)][_0x217300(0xeb)](_0x2b6ff6(_0x312a1f=>_0x312a1f[_0x217300(0x1a9)]===_0x397517[_0x217300(0x17c)]),_0x24be2e(this[_0x217300(0x120)]))['subscribe'](_0x5afa6e=>{var _0x297fed=_0x217300;const _0x3d2c8c=_0x5afa6e,{reason:_0x23b32b}=_0x3d2c8c['data'];this[_0x297fed(0x3b8)][_0x297fed(0x2e0)]({'id':se['CLOSE_ROOM'],'data':_0x23b32b}),this[_0x297fed(0x2de)]['updatePermissionPoint'](new _0x1eb22d(_0x48263a)['id'],!0x1),this[_0x297fed(0x200)][_0x297fed(0x15c)](_0x48263a);});};_0x4bc9c5(this['_univerInstanceService'][_0x4e0723(0x2a5)](_0x4ce4bc[_0x4e0723(0x18c)]),this[_0x4e0723(0x310)][_0x4e0723(0x2a5)](_0x4ce4bc[_0x4e0723(0x163)]))[_0x4e0723(0xeb)](_0x41c3de(_0x192f9d=>_0x192f9d[_0x4e0723(0x20f)]()),_0x2b6ff6(_0x5d098d=>!_0x531e92(_0x5d098d)),_0x24be2e(this[_0x4e0723(0x120)]))[_0x4e0723(0x277)](_0xb88551=>{_0x2ded48(_0xb88551);});}['_initUnitPermissionChange'](){var _0xd01917=_0x46a708;const _0x1480d6=async _0x1b6e14=>{var _0x2b54e9=_0x5eac;(await this['_collaborationSessionService'][_0x2b54e9(0x33e)](_0x1b6e14))[_0x2b54e9(0xc5)]['pipe'](_0x2b6ff6(_0x2a3fb9=>_0x2a3fb9[_0x2b54e9(0x1a9)]===_0x397517['UPDATE_PERMISSION_OBJ']),_0x24be2e(this[_0x2b54e9(0x120)]))[_0x2b54e9(0x277)](_0x2b63eb=>{var _0x32ffae=_0x2b54e9;const _0x40ffc4=_0x2b63eb,{objectId:_0x5dea6c}=_0x40ffc4[_0x32ffae(0x1de)];_0x5dea6c===_0x1b6e14?this[_0x32ffae(0x17e)](_0x1b6e14):this[_0x32ffae(0x133)](_0x1b6e14,_0x5dea6c);});};_0x4bc9c5(this['_univerInstanceService'][_0xd01917(0x2a5)](_0x4ce4bc[_0xd01917(0x18c)]),this[_0xd01917(0x310)]['getTypeOfUnitAdded$'](_0x4ce4bc[_0xd01917(0x163)]))[_0xd01917(0xeb)](_0x41c3de(_0x12e3a4=>_0x12e3a4[_0xd01917(0x20f)]()),_0x2b6ff6(_0x5ccd90=>!_0x531e92(_0x5ccd90)),_0x24be2e(this[_0xd01917(0x120)]))['subscribe'](_0x2d6349=>{_0x1480d6(_0x2d6349);});}async['initWorkbookPermissionChange'](_0x192785){var _0x3e19f4=_0x46a708,_0x27ad6f;const _0x306788=_0x192785||((_0x27ad6f=this[_0x3e19f4(0x310)]['getCurrentUnitForType'](_0x4ce4bc[_0x3e19f4(0x18c)]))==null?void 0x0:_0x27ad6f[_0x3e19f4(0x20f)]());_0x306788&&this[_0x3e19f4(0x2f6)][_0x3e19f4(0x2f4)]({'objectID':_0x306788,'objectType':_0x3445b3[_0x3e19f4(0x338)],'unitID':_0x306788,'actions':_0x3f4937})[_0x3e19f4(0x1a1)](_0x5bb60c=>{var _0x4bf483=_0x3e19f4;_0x151807()[_0x4bf483(0x355)](_0x4a02e9=>{var _0x4df361=_0x4bf483;const _0x50cdd5=new _0x4a02e9(_0x306788),_0x4e6eca=_0x50cdd5[_0x4df361(0x256)],_0x5d7c2c=_0x5bb60c[_0x4df361(0x191)](_0x4479df=>_0x4479df[_0x4df361(0x18f)]===_0x4e6eca);_0x5d7c2c&&this[_0x4df361(0x2de)]['updatePermissionPoint'](_0x50cdd5['id'],_0x5d7c2c[_0x4df361(0x2f4)]);});});}['refreshPermission'](_0xf7e9e6,_0x5a373b){var _0x2a7a47=_0x46a708;const _0x2f1553=this[_0x2a7a47(0x154)]['get'](_0x3ad051),_0x3015c3=_0x2f1553[_0x2a7a47(0x339)](_0xf7e9e6,_0x5a373b);let _0x3d3918=!0x1;if(_0x3015c3){const [_0x20e7fa,_0x5b09a5]=_0x3015c3;this['_authzIoService'][_0x2a7a47(0x2f4)]({'objectID':_0x5a373b,'unitID':_0xf7e9e6,'objectType':_0x3445b3['Worksheet'],'actions':_0x3940d})[_0x2a7a47(0x1a1)](_0x269834=>{var _0x526334=_0x2a7a47;let _0x301873='';_0xff0e19()['forEach'](_0x1ad72b=>{var _0x241266=_0x5eac,_0x3aac8c;const _0x314ae7=new _0x1ad72b(_0xf7e9e6,_0x5b09a5),_0x137e74=_0x314ae7['subType'],_0x3780bf=_0x269834[_0x241266(0x191)](_0x3d2233=>_0x3d2233[_0x241266(0x18f)]===_0x137e74);_0x3780bf&&(((_0x3aac8c=this['_permissionService'][_0x241266(0x108)](_0x314ae7['id']))==null?void 0x0:_0x3aac8c[_0x241266(0x37f)])!==_0x3780bf[_0x241266(0x2f4)]&&(_0x3d3918=!0x0),this[_0x241266(0x2de)][_0x241266(0x1ad)](_0x314ae7['id'],_0x3780bf[_0x241266(0x2f4)]),_0x301873+=_0x3780bf[_0x241266(0x18f)]+'_'+_0x3780bf[_0x241266(0x2f4)]);}),_0x2f1553[_0x526334(0xbe)](_0x5a373b+'_'+_0x301873),_0x3d3918&&this['_undoRedoService'][_0x526334(0x1be)](_0xf7e9e6);});}const _0x298071=this[_0x2a7a47(0x154)][_0x2a7a47(0x378)](_0x5273e7)[_0x2a7a47(0x339)](_0xf7e9e6,_0x5a373b);if(_0x298071){const [_0x44ac12,_0x55fde2]=_0x298071;this[_0x2a7a47(0x2f6)][_0x2a7a47(0x2f4)]({'objectID':_0x5a373b,'unitID':_0xf7e9e6,'objectType':_0x3445b3[_0x2a7a47(0x288)],'actions':_0x58230f})[_0x2a7a47(0x1a1)](_0x41664d=>{var _0x116a10=_0x2a7a47;_0x404db5()[_0x116a10(0x355)](_0x2a6aac=>{var _0x69619e=_0x116a10,_0x2f5511;const _0x1371e3=new _0x2a6aac(_0xf7e9e6,_0x55fde2),_0x9409f0=_0x1371e3[_0x69619e(0x256)],_0x18c14b=_0x41664d[_0x69619e(0x191)](_0x5b64f8=>_0x5b64f8['action']===_0x9409f0);_0x18c14b&&(((_0x2f5511=this[_0x69619e(0x2de)]['getPermissionPoint'](_0x1371e3['id']))==null?void 0x0:_0x2f5511[_0x69619e(0x37f)])!==_0x18c14b['allowed']&&(_0x3d3918=!0x0),this[_0x69619e(0x2de)][_0x69619e(0x1ad)](_0x1371e3['id'],_0x18c14b[_0x69619e(0x2f4)]));}),_0x3d3918&&this[_0x116a10(0x139)]['clearUndoRedo'](_0xf7e9e6);});}const _0x391603=this[_0x2a7a47(0x154)][_0x2a7a47(0x378)](_0x24adae),_0x2b7ea4=_0x391603[_0x2a7a47(0x339)](_0xf7e9e6,_0x5a373b);if(_0x2b7ea4){const [_0x1f3176,_0x169da5]=_0x2b7ea4;this['_authzIoService'][_0x2a7a47(0x2f4)]({'objectID':_0x5a373b,'unitID':_0xf7e9e6,'objectType':_0x3445b3[_0x2a7a47(0x1f7)],'actions':_0x3940d})['then'](_0x4524bf=>{var _0x45771a=_0x2a7a47;let _0x53799f='';_0x1ccdc2()['forEach'](_0x1d49a9=>{var _0x5453b3=_0x5eac,_0x4c00d1;const _0x3afc7b=new _0x1d49a9(_0xf7e9e6,_0x169da5,_0x5a373b),_0xc4f5f0=_0x3afc7b['subType'],_0x484a94=_0x4524bf['find'](_0x4c8cd5=>_0x4c8cd5['action']===_0xc4f5f0);_0x484a94&&(((_0x4c00d1=this[_0x5453b3(0x2de)][_0x5453b3(0x108)](_0x3afc7b['id']))==null?void 0x0:_0x4c00d1[_0x5453b3(0x37f)])!==_0x484a94['allowed']&&(_0x3d3918=!0x0),this['_permissionService'][_0x5453b3(0x1ad)](_0x3afc7b['id'],_0x484a94[_0x5453b3(0x2f4)]),_0x53799f+=_0x484a94[_0x5453b3(0x18f)]+'_'+_0x484a94[_0x5453b3(0x2f4)]);}),_0x391603[_0x45771a(0xbe)](_0x5a373b+'_'+_0x53799f),_0x3d3918&&this[_0x45771a(0x139)][_0x45771a(0x1be)](_0xf7e9e6);});}}};ct=jr([Se(0x0,_0x2cbcbc(_0x177fe8)),Se(0x1,_0x15d079),Se(0x2,_0x31c910),Se(0x3,_0x2cbcbc(Me)),Se(0x4,_0x2cbcbc(pe)),Se(0x5,_0x46f702),Se(0x6,_0xef8389)],ct);var Br=Object[_0x46a708(0x19e)],Fr=Object[_0x46a708(0x13c)],Vr=(_0x2895e2,_0x1e3435,_0x48107a,_0x28fc8c)=>{var _0x165536=_0x46a708;for(var _0x4b3a78=_0x28fc8c>0x1?void 0x0:_0x28fc8c?Fr(_0x1e3435,_0x48107a):_0x1e3435,_0x302f10=_0x2895e2[_0x165536(0x297)]-0x1,_0x2c05a3;_0x302f10>=0x0;_0x302f10--)(_0x2c05a3=_0x2895e2[_0x302f10])&&(_0x4b3a78=(_0x28fc8c?_0x2c05a3(_0x1e3435,_0x48107a,_0x4b3a78):_0x2c05a3(_0x4b3a78))||_0x4b3a78);return _0x28fc8c&&_0x4b3a78&&Br(_0x1e3435,_0x48107a,_0x4b3a78),_0x4b3a78;},ui=(_0x569b04,_0x34e4da)=>(_0x25214e,_0x6f4561)=>_0x34e4da(_0x25214e,_0x6f4561,_0x569b04);let Dt=class{constructor(_0x47c197,_0x1ff198){var _0x267059=_0x46a708;this[_0x267059(0x129)]=_0x47c197,this['_httpService']=_0x1ff198;}async[_0x46a708(0x28f)](_0x2a3f4c,_0x4e0926){var _0x1a9739=_0x46a708,_0x3828ce;const {unitID:_0x3f2b97,type:_0x272c58,revision:_0x185df0=0x0}=_0x4e0926,_0x5af730=this[_0x1a9739(0x294)]()+'/'+_0x272c58+_0x1a9739(0x284)+_0x3f2b97+_0x1a9739(0xf9)+_0x185df0,_0x3a4ae3=(await this['_httpService'][_0x1a9739(0x378)](_0x5af730))[_0x1a9739(0x168)],_0x11718a=(_0x3828ce=_0x3a4ae3[_0x1a9739(0x143)])==null?void 0x0:_0x3828ce['workbook'];if(_0x11718a){const _0x29752e=_0x11718a==null?void 0x0:_0x11718a['originalMeta'],_0x147cb0=_0x5c3f59[_0x1a9739(0x13a)](_0x3d4577(_0x29752e));_0x11718a[_0x1a9739(0x19b)]=_0x147cb0,Object[_0x1a9739(0x166)](_0x11718a[_0x1a9739(0x26a)])[_0x1a9739(0x355)](([,_0x198768])=>{var _0x314e1a=_0x1a9739;const _0x541b95=_0x198768[_0x314e1a(0x19b)],_0x1c19da=_0x5c3f59[_0x314e1a(0x13a)](_0x3d4577(_0x541b95));_0x198768['originalMeta']=_0x1c19da;});}return _0x3a4ae3;}async[_0x46a708(0x305)](_0x2cf3b8,_0x4e93a3){var _0x418542=_0x46a708;const {unitID:_0x1d297e,type:_0xe6e785,blockID:_0x4a679e}=_0x4e93a3,_0x4379be=this[_0x418542(0x195)]()+'/'+_0xe6e785+_0x418542(0x284)+_0x1d297e+'/block/'+_0x4a679e;return(await this[_0x418542(0x227)][_0x418542(0x378)](_0x4379be))[_0x418542(0x168)];}async[_0x46a708(0x1dc)](_0x13404e,_0x530e90){var _0x4e1a56=_0x46a708;const {unitID:_0x35023e,type:_0x2dfeab,blockID:_0x20337a}=_0x530e90,_0x39aa3f=this['_getAPIPrefix']()+_0x4e1a56(0x158)+_0x2dfeab+_0x4e1a56(0x284)+_0x35023e+'/block/'+_0x20337a;return(await this[_0x4e1a56(0x227)]['get'](_0x39aa3f))[_0x4e1a56(0x168)];}async['fetchMissingChangesets'](_0x1222bb,_0x2eaafa){var _0x4fac17=_0x46a708;const {unitID:_0x22c2fc,type:_0x3eff22,from:_0x5ec9d0,to:_0x21ee40}=_0x2eaafa,_0x5b589a=this[_0x4fac17(0x195)]()+'/'+_0x3eff22+_0x4fac17(0x284)+_0x22c2fc+'/fetchmissing?from='+_0x5ec9d0+'&to='+_0x21ee40;return(await this['_httpService'][_0x4fac17(0x378)](_0x5b589a))[_0x4fac17(0x168)];}['getSnapshotAPIPath'](){var _0x2c31ae=_0x46a708,_0x2f9020;return(_0x2f9020=this[_0x2c31ae(0x129)][_0x2c31ae(0x27a)](Dn))!=null?_0x2f9020:this['_getAPIPrefix']();}[_0x46a708(0x195)](){var _0x53ee97=_0x46a708,_0x27c4b9,_0x117505;const _0x4b166d=this[_0x53ee97(0x129)][_0x53ee97(0x27a)](Pn),_0x1d8ac0=this[_0x53ee97(0x129)][_0x53ee97(0x27a)](Y);return(_0x117505=(_0x27c4b9=_0x1d8ac0==null?void 0x0:_0x1d8ac0[_0x53ee97(0x1f2)])!=null?_0x27c4b9:_0x4b166d)!=null?_0x117505:Nn;}async[_0x46a708(0xe2)](_0x5ab735,_0x287e2e){var _0x8ea874=_0x46a708;const _0x3b7be8='/universer-api/snapshot/'+_0x287e2e[_0x8ea874(0x248)]+'/unit/'+_0x287e2e['unitID']+_0x8ea874(0x1d9);return(await this['_httpService'][_0x8ea874(0x378)](_0x3b7be8,{'params':{'resourceId':JSON['stringify'](_0x287e2e[_0x8ea874(0x332)])}}))[_0x8ea874(0x168)];}[_0x46a708(0x292)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x46a708(0xe1)](){var _0xeca9b6=_0x46a708;throw new Error(_0xeca9b6(0x1cf));}[_0x46a708(0x233)](){var _0x223c58=_0x46a708;throw new Error(_0x223c58(0x1cf));}[_0x46a708(0x23c)](){var _0xe35610=_0x46a708;throw new Error(_0xe35610(0x1cf));}['getLatestCsReqIdBySid'](){var _0x58dffb=_0x46a708;throw new Error(_0x58dffb(0x1cf));}};Dt=Vr([ui(0x0,_0x39fbc8),ui(0x1,_0x2cbcbc(_0x1d8e94))],Dt);var Wr=Object[_0x46a708(0x19e)],Gr=Object[_0x46a708(0x13c)],Kr=(_0x9c42cb,_0x4950b7,_0x5adb5f,_0x541f2a)=>{var _0x301063=_0x46a708;for(var _0x17e485=_0x541f2a>0x1?void 0x0:_0x541f2a?Gr(_0x4950b7,_0x5adb5f):_0x4950b7,_0x2d7a73=_0x9c42cb[_0x301063(0x297)]-0x1,_0x9535ab;_0x2d7a73>=0x0;_0x2d7a73--)(_0x9535ab=_0x9c42cb[_0x2d7a73])&&(_0x17e485=(_0x541f2a?_0x9535ab(_0x4950b7,_0x5adb5f,_0x17e485):_0x9535ab(_0x17e485))||_0x17e485);return _0x541f2a&&_0x17e485&&Wr(_0x4950b7,_0x5adb5f,_0x17e485),_0x17e485;},Ue=(_0x274d6b,_0x226c10)=>(_0x23b016,_0x4ae6ab)=>_0x226c10(_0x23b016,_0x4ae6ab,_0x274d6b);let wt=class extends _0x56760f{constructor(_0x5257f5,_0x490615,_0x1bcfb5,_0x5b559f,_0x6bbf43){var _0xbcd985=_0x46a708;super(_0x5257f5,_0x490615,_0x1bcfb5),this[_0xbcd985(0x114)]=_0x5b559f,this['_logService']=_0x6bbf43;}[_0x46a708(0x19f)](_0x836edc,_0x10bd9c){var _0xbfd540=_0x46a708;const _0x3081db=this[_0xbfd540(0x16a)](_0x836edc);if(_0x3081db)try{const _0x362f73=this[_0xbfd540(0x138)](_0x3081db,_0x10bd9c);this[_0xbfd540(0x1d7)](_0x836edc,_0x362f73);}catch(_0x26f6ba){this['_logService'][_0xbfd540(0x373)](_0xbfd540(0x3ad),_0x26f6ba),this['_clearUndo'](_0x836edc);}const _0x44bd8a=this[_0xbfd540(0x276)](_0x836edc);if(_0x44bd8a)try{const _0x10cf9c=this[_0xbfd540(0x138)](_0x44bd8a,_0x10bd9c);this['_substituteRedoStack'](_0x836edc,_0x10cf9c);}catch(_0x4b3596){this[_0xbfd540(0x365)]['error'](_0x4b3596),this['_clearRedo'](_0x836edc);}}[_0x46a708(0x11e)](_0x2f3cba){var _0x1df9de=_0x46a708;const _0x1856fc=this[_0x1df9de(0x16a)](_0x2f3cba);_0x1856fc&&(_0x1856fc[_0x1df9de(0x297)]=0x0,this['_updateStatus']());}[_0x46a708(0x3ae)](_0x55932d){var _0x263682=_0x46a708;const _0x103252=this[_0x263682(0x276)](_0x55932d);_0x103252&&(_0x103252[_0x263682(0x297)]=0x0,this[_0x263682(0x2bf)]());}[_0x46a708(0x1d7)](_0x58fa63,_0xd4207d){var _0x549484=_0x46a708;this[_0x549484(0x1b8)][_0x549484(0x245)](_0x58fa63,_0xd4207d),this[_0x549484(0x2bf)]();}[_0x46a708(0x38a)](_0x44f9b7,_0x54ef7c){var _0x211af7=_0x46a708;this['_redoStacks'][_0x211af7(0x245)](_0x44f9b7,_0x54ef7c),this[_0x211af7(0x2bf)]();}[_0x46a708(0x138)](_0x4ece77,_0x1b87b9){var _0x4f3ca2=_0x46a708;const _0x1b5fc3=[];let _0x293cdc=_0x1b87b9,_0x4918a1=_0x1b87b9;for(let _0x2111ff=_0x4ece77[_0x4f3ca2(0x297)]-0x1;_0x2111ff>=0x0;_0x2111ff--){const {unitID:_0x8806ca,undoMutations:_0x3429e7,redoMutations:_0x1e3cb5}=_0x4ece77[_0x2111ff],_0x4d9623=this[_0x4f3ca2(0x114)][_0x4f3ca2(0x2db)](_0x293cdc,_0x3429e7),_0x4b113f=this[_0x4f3ca2(0x114)][_0x4f3ca2(0x2db)](_0x4918a1,_0x1e3cb5);if(_0x9968e3(_0x4d9623)||_0x9968e3(_0x4b113f)){this[_0x4f3ca2(0x365)][_0x4f3ca2(0x373)](_0x4f3ca2(0x3ad),_0x4f3ca2(0x2cb),_0x4d9623,_0x4b113f);break;}_0x293cdc=_0x4d9623[_0x4f3ca2(0x2e5)],_0x4918a1=_0x4b113f['c1Prime'],_0x1b5fc3['push']({'unitID':_0x8806ca,'undoMutations':_0x4d9623[_0x4f3ca2(0x1e6)],'redoMutations':_0x4b113f[_0x4f3ca2(0x1e6)]});}return _0x1b5fc3[_0x4f3ca2(0x117)]();}};wt=Kr([Ue(0x0,_0x15d079),Ue(0x1,_0x5796ae),Ue(0x2,_0x26bb20),Ue(0x3,_0x566ad4),Ue(0x4,_0x39a5d8)],wt);var xi=Object[_0x46a708(0x19e)],zr=Object[_0x46a708(0x13c)],Yr=(_0x2e3f9a,_0x3b565b,_0x1b994b)=>_0x3b565b in _0x2e3f9a?xi(_0x2e3f9a,_0x3b565b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b994b}):_0x2e3f9a[_0x3b565b]=_0x1b994b,qr=(_0x316be5,_0xd8c510,_0x33bc52,_0x4ded4f)=>{var _0x3bed40=_0x46a708;for(var _0x4ad375=_0x4ded4f>0x1?void 0x0:_0x4ded4f?zr(_0xd8c510,_0x33bc52):_0xd8c510,_0x282506=_0x316be5[_0x3bed40(0x297)]-0x1,_0x4727af;_0x282506>=0x0;_0x282506--)(_0x4727af=_0x316be5[_0x282506])&&(_0x4ad375=(_0x4ded4f?_0x4727af(_0xd8c510,_0x33bc52,_0x4ad375):_0x4727af(_0x4ad375))||_0x4ad375);return _0x4ded4f&&_0x4ad375&&xi(_0xd8c510,_0x33bc52,_0x4ad375),_0x4ad375;},Et=(_0x88562a,_0x5cb62f)=>(_0x53504c,_0x4c70bc)=>_0x5cb62f(_0x53504c,_0x4c70bc,_0x88562a),Jr=(_0x24e921,_0x529cc3,_0x54c0f2)=>Yr(_0x24e921,_0x529cc3+'',_0x54c0f2);const Xr=_0x46a708(0x210);let Ut=class extends _0x18edee{constructor(_0x5eb3fd=Wn,_0x35871e,_0x16e63e,_0x2995f4){var _0x61d584=_0x46a708;super(),this[_0x61d584(0x2e6)]=_0x5eb3fd,this[_0x61d584(0x365)]=_0x35871e,this[_0x61d584(0x154)]=_0x16e63e,this[_0x61d584(0x129)]=_0x2995f4;const {..._0x5abc68}=this[_0x61d584(0x2e6)];this[_0x61d584(0x129)]['setConfig'](Y,_0x5abc68);}[_0x46a708(0xe6)](){var _0x3f8e4f=_0x46a708;this[_0x3f8e4f(0x127)](),this[_0x3f8e4f(0x173)]();}[_0x46a708(0x127)](){var _0x52353e=_0x46a708,_0x200b75,_0x33ca64,_0x205df9,_0xd12882;this[_0x52353e(0x154)][_0x52353e(0x295)](_0xef8389)&&this[_0x52353e(0x365)][_0x52353e(0x373)](_0x52353e(0x2ed),_0x52353e(0x22f));const _0x757698=_0x4367d3([[_0xef8389,{'useClass':wt}],[Me],[Le],[nt],[ot],[at],[bi],[ct],[pe],[Ot],[Ci,{'useClass':(_0x33ca64=(_0x200b75=this[_0x52353e(0x2e6)])==null?void 0x0:_0x200b75[_0x52353e(0x30b)])!=null?_0x33ca64:It}],[_0x16a870,{'useClass':Dt}],[_0x46f702,{'useClass':yt}],[_0x4b37fe,{'useClass':Pt}],[_0x6d4e74,{'useClass':Nt}],[rt],[Rt]],(_0x205df9=this['_config'])==null?void 0x0:_0x205df9['override']);if(!((_0xd12882=this['_config'])!=null&&_0xd12882[_0x52353e(0x316)])){const _0x6d9320=_0x757698['findIndex'](([_0x54373a])=>_0x54373a===_t);_0x6d9320!==-0x1&&_0x757698[_0x52353e(0x35b)](_0x6d9320,0x1);}_0x270683(this['_injector'],_0x757698);}[_0x46a708(0x173)](){var _0x4f0d25=_0x46a708,_0x49c1fd,_0x563ba5,_0x2938e8;this['_injector'][_0x4f0d25(0x378)](_0x1d8e94)[_0x4f0d25(0x24e)]({'priority':0x14,'interceptor':_0x571757({'maxParallel':0x6})}),(_0x49c1fd=this['_config'])!=null&&_0x49c1fd['enableOfflineEditing']||(_0x563ba5=this[_0x4f0d25(0x154)]['get'](X,_0x72c823[_0x4f0d25(0x26b)]))==null||_0x563ba5[_0x4f0d25(0x11b)](),(_0x2938e8=this[_0x4f0d25(0x2e6)])!=null&&_0x2938e8['enableAuthServer']&&_0x54dc45(this['_injector'],[[ot]]),_0x54dc45(this[_0x4f0d25(0x154)],[[at],[rt],[ct]]);}};Jr(Ut,'pluginName',Xr),Ut=qr([_0x14daf6(_0x49b566,_0x38903d,_0x419e55),Et(0x1,_0x39a5d8),Et(0x2,_0x2cbcbc(_0x177fe8)),Et(0x3,_0x39fbc8)],Ut);export{Di as AUTHZ_URL_KEY,yt as AuthzIoHttpService,ue as AwaitingState,oe 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,Me as CollaborationSessionService,It as CollaborationSocketService,Oi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,wt as CollaborativeUndoRedoService,bi 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,Si as HEARTBEAT_TIMEOUT_KEY,Ci 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,Le as MemberService,Nt as MentionIoHttpService,fe as OfflineState,re 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,Ie as SessionStatus,bt as SheetCollaborationEntity,nt as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,Pe as SyncedState,Ri as UnitStatus,Ut as UniverCollaborationClientPlugin,Kn as deserializeToCombResponse,uo as getLocalCacheKey,zn as serializeCombRequest};