@univerjs-pro/collaboration-client 0.6.0-nightly.202502041606 → 0.6.0-nightly.202502061605

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 _0xe5cf50=_0x6808;function _0x6808(_0xf0cee0,_0x4ab8f6){var _0x4e7cb4=_0x4e7c();return _0x6808=function(_0x68080b,_0x367854){_0x68080b=_0x68080b-0x1ab;var _0x1dc10b=_0x4e7cb4[_0x68080b];return _0x1dc10b;},_0x6808(_0xf0cee0,_0x4ab8f6);}(function(_0x421743,_0x4b6d2b){var _0x5c0013=_0x6808,_0x1a6f3f=_0x421743();while(!![]){try{var _0x121d00=-parseInt(_0x5c0013(0x49f))/0x1+-parseInt(_0x5c0013(0x457))/0x2+parseInt(_0x5c0013(0x2ed))/0x3+-parseInt(_0x5c0013(0x24c))/0x4+parseInt(_0x5c0013(0x294))/0x5*(parseInt(_0x5c0013(0x370))/0x6)+parseInt(_0x5c0013(0x474))/0x7*(-parseInt(_0x5c0013(0x37d))/0x8)+-parseInt(_0x5c0013(0x291))/0x9*(-parseInt(_0x5c0013(0x24e))/0xa);if(_0x121d00===_0x4b6d2b)break;else _0x1a6f3f['push'](_0x1a6f3f['shift']());}catch(_0x3d8704){_0x1a6f3f['push'](_0x1a6f3f['shift']());}}}(_0x4e7c,0x3ce0d));var Li=Object[_0xe5cf50(0x4a7)],Mi=(_0x5ebc3a,_0x5a76cc,_0x37b2f0)=>_0x5a76cc in _0x5ebc3a?Li(_0x5ebc3a,_0x5a76cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37b2f0}):_0x5ebc3a[_0x5a76cc]=_0x37b2f0,N=(_0x3bce97,_0x4fc25d,_0x4c0f8d)=>Mi(_0x3bce97,typeof _0x4fc25d!='symbol'?_0x4fc25d+'':_0x4fc25d,_0x4c0f8d);import{createIdentifier as _0x1b7aa9,Inject as _0x1d51a6,Injector as _0x1edb1c,Disposable as _0x15bb7e,DisposableCollection as _0x2d1ba5,toDisposable as _0x33728b,IConfigService as _0x22ebb9,ILogService as _0x4597d7,UserManagerService as _0x2ba410,UniverInstanceType as _0xed9f94,IUniverInstanceService as _0x25173e,LocaleService as _0x3e1840,Optional as _0x32cef0,RxDisposable as _0x155349,Tools as _0x338369,Rectangle as _0x1362d2,ICommandService as _0x40e4b8,JSONX as _0x325cc3,CommandType as _0x7679c4,IPermissionService as _0x1f54fc,IUndoRedoService as _0x512149,sequenceExecute as _0x9fe256,Workbook as _0x4fa49c,MentionType as _0x342389,IAuthzIoService as _0x3f47ca,isInternalEditorID as _0x23cdd9,LocalUndoRedoService as _0x31f8ae,IContextService as _0x305114,DependentOn as _0x41e936,Plugin as _0x4be1fd,merge as _0x4deb4a,mergeOverrideWithDependencies as _0x22c189,IMentionIOService as _0x463542,registerDependencies as _0x5e0e01,Quantity as _0x45574e,touchDependencies as _0x466650}from'@univerjs/core';import{Subject as _0x355bd5,merge as _0x25b517,of as _0x6fb856,BehaviorSubject as _0xd2a8b4,takeUntil as _0x349e1a,ReplaySubject as _0x515433,take as _0x49d364,map as _0x1605e5,shareReplay as _0x363918,firstValueFrom as _0x5ae48c,concatMap as _0x1b2c8c}from'rxjs';import{map as _0x137573,take as _0x54a384,filter as _0x2c2600,delay as _0x513ef8,takeUntil as _0x196a7c}from'rxjs/operators';import{HTTPService as _0x2e5962,ISocketService as _0x28e355,MergeInterceptorFactory as _0x9f0991,HTTPRequest as _0x18d74a,UniverNetworkPlugin as _0x46aee4,ThresholdInterceptorFactory as _0x5d45a2}from'@univerjs/network';import{CollaborationEvent as _0x11ed3f,parseChangesetToProtocol as _0x22419a,ISnapshotServerService as _0x288584,isTransformMutationsWithChangesetSuccess as _0x4ab4da,ITransformService as _0x45bd1b,mapDocumentTypeToUniverType as _0x10416f,RevisionService as _0x3410cd,isTransformChangesetsSuccess as _0x38e180,CompressMutationService as _0x56682d,parseProtocolChangeset as _0x8516cb,SnapshotService as _0x1ce1d6,textEncoder as _0x248498,b64DecodeUnicode as _0x548551,isTransformMutationsWithChangesetFailure as _0x255dba,UniverCollaborationPlugin as _0x4962f3}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4fdfa4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x23b106}from'@univerjs/docs';import{SheetsSelectionsService as _0x3ccb14,SetSelectionsOperation as _0x44f79c,InsertSheetMutation as _0x5b33a5,EmptyMutation as _0x30a27c,WorkbookEditablePermission as _0x3d42b8,SheetPermissionInitController as _0x531427,UniverSheetsPlugin as _0xd99729}from'@univerjs/sheets';import{ImageSourceType as _0x2061c6,ImageUploadStatusType as _0x554c83,IImageIoService as _0x3dc1a0}from'@univerjs/drawing';import{getGlobalObject as _0x15c967}from'@univerjs-pro/license';const En=_0xe5cf50(0x439),In=_0xe5cf50(0x429),Tn=_0xe5cf50(0x238),eo=_0xe5cf50(0x1b2),Cn=0x7d0,Rn=_0xe5cf50(0x392),bn=_0xe5cf50(0x29e),On=_0xe5cf50(0x2e4),yn=_0xe5cf50(0x342),Nn=0x7530,Si=_0xe5cf50(0x33a),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0xe5cf50(0x466),io=0x3e8,Un='COLLAB_SUBMIT_CHANGESET_URL',An='/universer-api/comb',xn=_0xe5cf50(0x397),Ln=_0xe5cf50(0x33e),no=_0xe5cf50(0x376),ro='/universer-api/uniscript';var Ii=(_0x2a978d=>(_0x2a978d[_0x2a978d['UNDEFINED']=0x0]=_0xe5cf50(0x482),_0x2a978d[_0x2a978d['OK']=0x1]='OK',_0x2a978d[_0x2a978d['INTERNAL_ERROR']=0x2]=_0xe5cf50(0x1cc),_0x2a978d[_0x2a978d[_0xe5cf50(0x42e)]=0x3]=_0xe5cf50(0x42e),_0x2a978d[_0x2a978d[_0xe5cf50(0x343)]=0x4]='NOT_FOUND',_0x2a978d[_0x2a978d[_0xe5cf50(0x337)]=0x5]=_0xe5cf50(0x337),_0x2a978d[_0x2a978d[_0xe5cf50(0x418)]=0x6]=_0xe5cf50(0x418),_0x2a978d[_0x2a978d[_0xe5cf50(0x382)]=0x7]=_0xe5cf50(0x382),_0x2a978d[_0x2a978d[_0xe5cf50(0x240)]=0x8]=_0xe5cf50(0x240),_0x2a978d[_0x2a978d[_0xe5cf50(0x496)]=0x9]='COMPLETION_FINISHED',_0x2a978d[_0x2a978d[_0xe5cf50(0x2f8)]=0x1389]=_0xe5cf50(0x2f8),_0x2a978d[_0x2a978d[_0xe5cf50(0x422)]=0x1771]=_0xe5cf50(0x422),_0x2a978d[_0x2a978d[_0xe5cf50(0x40e)]=0x1772]=_0xe5cf50(0x40e),_0x2a978d[_0x2a978d[_0xe5cf50(0x44c)]=0x1773]=_0xe5cf50(0x44c),_0x2a978d[_0x2a978d[_0xe5cf50(0x4a2)]=0x1b59]=_0xe5cf50(0x4a2),_0x2a978d[_0x2a978d[_0xe5cf50(0x3ab)]=0x1b5a]=_0xe5cf50(0x3ab),_0x2a978d[_0x2a978d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xe5cf50(0x349),_0x2a978d[_0x2a978d['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xe5cf50(0x398),_0x2a978d[_0x2a978d[_0xe5cf50(0x467)]=0x1b5d]='APPLY_DUPLICATED',_0x2a978d[_0x2a978d[_0xe5cf50(0x375)]=0x1f41]=_0xe5cf50(0x375),_0x2a978d[_0x2a978d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0xe5cf50(0x451),_0x2a978d[_0x2a978d[_0xe5cf50(0x348)]=0x232a]=_0xe5cf50(0x348),_0x2a978d[_0x2a978d[_0xe5cf50(0x46c)]=0x232b]=_0xe5cf50(0x46c),_0x2a978d[_0x2a978d[_0xe5cf50(0x301)]=0x232c]=_0xe5cf50(0x301),_0x2a978d[_0x2a978d[_0xe5cf50(0x45a)]=0x232d]=_0xe5cf50(0x45a),_0x2a978d[_0x2a978d['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xe5cf50(0x229),_0x2a978d[_0x2a978d[_0xe5cf50(0x485)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2a978d[_0x2a978d[_0xe5cf50(0x311)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2a978d[_0x2a978d[_0xe5cf50(0x38c)]=0x2714]=_0xe5cf50(0x38c),_0x2a978d[_0x2a978d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xe5cf50(0x3f1),_0x2a978d[_0x2a978d['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x2a978d))(Ii||{}),Q=(_0x19ae05=>(_0x19ae05[_0x19ae05[_0xe5cf50(0x23d)]=0x0]=_0xe5cf50(0x23d),_0x19ae05[_0x19ae05[_0xe5cf50(0x2cf)]=0x1]='UNIVER_DOC',_0x19ae05[_0x19ae05['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x19ae05[_0x19ae05[_0xe5cf50(0x2ee)]=0x3]=_0xe5cf50(0x2ee),_0x19ae05[_0x19ae05['UNIVER_PROJECT']=0x4]=_0xe5cf50(0x211),_0x19ae05[_0x19ae05[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x19ae05))(Q||{}),F=(_0x2ae13b=>(_0x2ae13b[_0x2ae13b[_0xe5cf50(0x2dd)]=0x0]=_0xe5cf50(0x2dd),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x45c)]=0x1]=_0xe5cf50(0x45c),_0x2ae13b[_0x2ae13b['JOIN']=0x2]='JOIN',_0x2ae13b[_0x2ae13b[_0xe5cf50(0x34f)]=0x3]=_0xe5cf50(0x34f),_0x2ae13b[_0x2ae13b['INGEST']=0x4]=_0xe5cf50(0x250),_0x2ae13b[_0x2ae13b['HEARTBEAT']=0x5]=_0xe5cf50(0x409),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x373)]=0x6]=_0xe5cf50(0x373),_0x2ae13b[_0x2ae13b[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x2ae13b))(F||{}),Ee=(_0x595115=>(_0x595115[_0x595115[_0xe5cf50(0x232)]=0x0]=_0xe5cf50(0x232),_0x595115[_0x595115['OK']=0x1]='OK',_0x595115[_0x595115[_0xe5cf50(0x32f)]=0x2]=_0xe5cf50(0x32f),_0x595115[_0x595115[_0xe5cf50(0x368)]=0x3e9]='JOIN_ROOM_FULL',_0x595115[_0x595115['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0xe5cf50(0x416),_0x595115[_0x595115['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x595115[_0x595115[_0xe5cf50(0x26a)]=0x3ec]=_0xe5cf50(0x26a),_0x595115[_0x595115[_0xe5cf50(0x1bc)]=-0x1]='UNRECOGNIZED',_0x595115))(Ee||{}),Ti=(_0x58fa1d=>(_0x58fa1d[_0x58fa1d[_0xe5cf50(0x2fe)]=0x0]='Undefined',_0x58fa1d[_0x58fa1d['HttpImport']=0x1]='HttpImport',_0x58fa1d[_0x58fa1d[_0xe5cf50(0x41b)]=0x2]=_0xe5cf50(0x41b),_0x58fa1d[_0x58fa1d[_0xe5cf50(0x3a1)]=0x3]=_0xe5cf50(0x3a1),_0x58fa1d[_0x58fa1d['UnitSnapshot']=0x4]=_0xe5cf50(0x310),_0x58fa1d[_0x58fa1d[_0xe5cf50(0x1bc)]=-0x1]=_0xe5cf50(0x1bc),_0x58fa1d))(Ti||{});const q=_0xe5cf50(0x412),Wt={};var se=(_0x3b3f14=>(_0x3b3f14[_0xe5cf50(0x371)]=_0xe5cf50(0x371),_0x3b3f14[_0xe5cf50(0x42e)]=_0xe5cf50(0x42e),_0x3b3f14[_0xe5cf50(0x2f6)]=_0xe5cf50(0x2f6),_0x3b3f14[_0xe5cf50(0x40d)]=_0xe5cf50(0x40d),_0x3b3f14[_0xe5cf50(0x40a)]=_0xe5cf50(0x40a),_0x3b3f14[_0xe5cf50(0x34c)]=_0xe5cf50(0x34c),_0x3b3f14['SOCKET_FAILED']='SOCKET_FAILED',_0x3b3f14[_0xe5cf50(0x4ad)]=_0xe5cf50(0x4ad),_0x3b3f14))(se||{});class pe{constructor(){var _0x5dde66=_0xe5cf50;N(this,_0x5dde66(0x420),new _0x355bd5()),N(this,_0x5dde66(0x40c),this[_0x5dde66(0x420)][_0x5dde66(0x1f9)]());}[_0xe5cf50(0x4ae)](_0x17556a){var _0x48f170=_0xe5cf50;this['_event$'][_0x48f170(0x1dd)](_0x17556a);}}const Mn=_0x1b7aa9(_0xe5cf50(0x253));function $n(_0x196688){var _0x15cb28=_0xe5cf50,_0x1c6709,_0x5dcc75,_0x233cbc,_0x2045e3,_0x48325e;const _0x1bbd13=_0x196688[_0x15cb28(0x1d5)],_0x465962=JSON[_0x15cb28(0x44e)](_0x1bbd13);switch(_0x465962['cmd']){case F[_0x15cb28(0x409)]:case F[_0x15cb28(0x45c)]:{const _0x5e5dd4=_0x465962[_0x15cb28(0x3bf)];return{..._0x465962,'data':_0x5e5dd4,'cmd':_0x465962[_0x15cb28(0x363)]};}case F[_0x15cb28(0x260)]:{const _0x49ec5c=_0x465962[_0x15cb28(0x437)];return{..._0x465962,'data':_0x49ec5c,'cmd':_0x465962[_0x15cb28(0x363)]};}case F[_0x15cb28(0x373)]:{const _0x5c71f1=_0x465962[_0x15cb28(0x3e6)];switch(_0x5c71f1[_0x15cb28(0x23e)]){case _0x11ed3f[_0x15cb28(0x21b)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x1c6709=_0x5c71f1[_0x15cb28(0x39b)])==null?void 0x0:_0x1c6709['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f['CHANGESET_ACK']:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x5dcc75=_0x5c71f1[_0x15cb28(0x259)])==null?void 0x0:_0x5dcc75['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x22c)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x233cbc=_0x5c71f1['newCsEvent'])==null?void 0x0:_0x233cbc['cs']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f['CHANGESET_REJ']:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x2045e3=_0x5c71f1['csRejEvent'])==null?void 0x0:_0x2045e3['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x498)]:return{..._0x465962,'data':{..._0x5c71f1,'data':(_0x48325e=_0x5c71f1[_0x15cb28(0x296)])==null?void 0x0:_0x48325e['cs']},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x2b8)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x25a)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3bd)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x393)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f['USERS_LEAVE']:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['leaveEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x274)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x354)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3ee)]:case _0x11ed3f[_0x15cb28(0x2fb)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x249)]},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x2e2)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['liveShareNewHost']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x257)]:return{..._0x465962,'data':_0x5c71f1,'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x41a)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['commentUpdateEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};case _0x11ed3f[_0x15cb28(0x3d6)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x2c7)]},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x23a)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1[_0x15cb28(0x1c0)]},'cmd':_0x465962['cmd']};case _0x11ed3f[_0x15cb28(0x369)]:return{..._0x465962,'data':{..._0x5c71f1,'data':_0x5c71f1['uniscriptRunEvent']},'cmd':_0x465962[_0x15cb28(0x363)]};default:return _0x465962;}}default:return _0x465962;}}function Hn(_0x5c5e80){var _0x10a5c1=_0xe5cf50;switch(_0x5c5e80[_0x10a5c1(0x363)]){case F['HEARTBEAT']:case F[_0x10a5c1(0x45c)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80['routeKey']});case F[_0x10a5c1(0x250)]:{let _0x4647b6;switch(_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x23e)]){case _0x11ed3f[_0x10a5c1(0x2b8)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2b8)],'updateCursorEvent':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x27c)]:{_0x4647b6={'eventID':_0x11ed3f['USERS_LEAVE'],'leaveEvent':_0x5c5e80[_0x10a5c1(0x1d5)]['data']};break;}case _0x11ed3f[_0x10a5c1(0x3bd)]:{_0x4647b6={'eventID':_0x11ed3f['USERS_ENTER'],'joinEvent':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_NEW_HOST']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x274)],'liveShareNewHost':_0x5c5e80['data'][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_OPERATION']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2fb)],'liveShareOperation':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x2e2)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x2e2)],'liveShareTerminate':_0x5c5e80['data'][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f['LIVESHARE_REQUEST_HOST']:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x3f2)],'liveShareRequestHost':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x1d5)]};break;}case _0x11ed3f[_0x10a5c1(0x3ee)]:{_0x4647b6={'eventID':_0x11ed3f[_0x10a5c1(0x3ee)]};break;}default:_0x4647b6={'eventID':_0x5c5e80[_0x10a5c1(0x1d5)][_0x10a5c1(0x23e)]};}return JSON['stringify']({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'collaMsg':_0x4647b6});}case F[_0x10a5c1(0x260)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80[_0x10a5c1(0x363)],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'joinReq':_0x5c5e80['data']});case F[_0x10a5c1(0x34f)]:return JSON[_0x10a5c1(0x3e1)]({'cmd':_0x5c5e80['cmd'],'routeKey':_0x5c5e80[_0x10a5c1(0x2fd)],'leaveReq':_0x5c5e80[_0x10a5c1(0x1d5)]});default:throw new Error(_0x10a5c1(0x263));}}var kn=Object[_0xe5cf50(0x4a7)],jn=Object[_0xe5cf50(0x324)],Bn=(_0x59a7dc,_0x280cbe,_0x3e1a5a,_0x1ceb6c)=>{var _0xd437f7=_0xe5cf50;for(var _0x1da1fd=_0x1ceb6c>0x1?void 0x0:_0x1ceb6c?jn(_0x280cbe,_0x3e1a5a):_0x280cbe,_0x255df4=_0x59a7dc[_0xd437f7(0x2da)]-0x1,_0x2f8bf3;_0x255df4>=0x0;_0x255df4--)(_0x2f8bf3=_0x59a7dc[_0x255df4])&&(_0x1da1fd=(_0x1ceb6c?_0x2f8bf3(_0x280cbe,_0x3e1a5a,_0x1da1fd):_0x2f8bf3(_0x1da1fd))||_0x1da1fd);return _0x1ceb6c&&_0x1da1fd&&kn(_0x280cbe,_0x3e1a5a,_0x1da1fd),_0x1da1fd;},Ue=(_0x572726,_0x34d53d)=>(_0x1f8665,_0x56ec7d)=>_0x34d53d(_0x1f8665,_0x56ec7d,_0x572726);const Ci=_0x1b7aa9('univer-pro.collaboration-client-socket-service');function Fn(_0x4f8639,_0x58a2cd,_0x554755){var _0x4f3ea3=_0xe5cf50;return _0x4f8639+'/'+_0x58a2cd+'/unit/'+_0x554755+_0x4f3ea3(0x29f);}let Et=class extends _0x15bb7e{constructor(_0x2f364d,_0x2be342,_0x5c0395,_0x4058c5,_0x24f689){var _0x586e5c=_0xe5cf50;super(),this[_0x586e5c(0x49d)]=_0x2f364d,this[_0x586e5c(0x30a)]=_0x2be342,this[_0x586e5c(0x3ae)]=_0x5c0395,this[_0x586e5c(0x32c)]=_0x4058c5,this['_snapshotServerService']=_0x24f689;}['createSocket'](_0x26c992){var _0x4be1b2=_0xe5cf50;const _0x3a0271=this[_0x4be1b2(0x49d)][_0x4be1b2(0x442)](_0x28e355);if(!_0x3a0271)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x5b5db6=_0x3a0271[_0x4be1b2(0x31d)](_0x26c992);if(!_0x5b5db6)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x326ee1=new _0x2d1ba5(),_0x446f96=new _0x355bd5();_0x326ee1[_0x4be1b2(0x1fd)](_0x5b5db6[_0x4be1b2(0x388)][_0x4be1b2(0x1e9)](_0x2c6cab=>_0x446f96[_0x4be1b2(0x1dd)](_0x2c6cab))),_0x326ee1['add'](_0x33728b(()=>_0x446f96[_0x4be1b2(0x3a2)]()));const _0x29b410=new _0x355bd5();_0x326ee1['add'](_0x5b5db6['error$'][_0x4be1b2(0x1e9)](_0x9b3216=>_0x29b410[_0x4be1b2(0x1dd)](_0x9b3216))),_0x326ee1[_0x4be1b2(0x1fd)](_0x33728b(()=>_0x29b410[_0x4be1b2(0x3a2)]()));const _0x3d5d08=new _0x355bd5();_0x326ee1['add'](_0x5b5db6[_0x4be1b2(0x357)]['subscribe'](_0x10251d=>{var _0x2564a8=_0x4be1b2;const _0x36ad12=$n(_0x10251d);_0x3d5d08[_0x2564a8(0x1dd)](_0x36ad12);})),_0x326ee1[_0x4be1b2(0x1fd)](_0x33728b(()=>_0x3d5d08['complete']()));let _0x49f926;const _0x3f3b9a=()=>{var _0x40c212=_0x4be1b2;_0x29b410[_0x40c212(0x1dd)](new Event(_0x40c212(0x2f1))),_0x446f96[_0x40c212(0x1dd)](new CloseEvent(_0x40c212(0x2f1))),_0x49f926[_0x40c212(0x234)]();};return _0x49f926={'memberID':'','close$':_0x446f96['asObservable'](),'error$':_0x29b410['asObservable'](),'open$':_0x5b5db6['open$'],'message$':_0x3d5d08[_0x4be1b2(0x1f9)](),'send':_0x98aee2=>{var _0x5ef4eb=_0x4be1b2;if(_0x98aee2[_0x5ef4eb(0x363)]===F[_0x5ef4eb(0x250)]){if(_0x98aee2['data'][_0x5ef4eb(0x23e)]===_0x11ed3f[_0x5ef4eb(0x3c3)]){this[_0x5ef4eb(0x3b5)](_0x49f926,_0x98aee2[_0x5ef4eb(0x1d5)])[_0x5ef4eb(0x35a)](_0x547967=>{var _0x824231=_0x5ef4eb;this[_0x824231(0x32c)]['error'](_0x547967),_0x3f3b9a();});return;}if(_0x98aee2['data'][_0x5ef4eb(0x23e)]===_0x11ed3f[_0x5ef4eb(0x490)]){const _0x3daae5=_0x98aee2['data'];this['_fetchMissChangesets'](_0x3daae5)[_0x5ef4eb(0x1d2)](_0x444931=>{var _0x1f8593=_0x5ef4eb;_0x3d5d08['next']({'cmd':F[_0x1f8593(0x373)],'code':Ee['OK'],'routeKey':_0x3daae5[_0x1f8593(0x1d5)]['unitID'],'routeType':'','data':{'eventID':_0x11ed3f[_0x1f8593(0x49a)],'data':{'changesets':_0x444931}}});})[_0x5ef4eb(0x35a)](_0x28d83d=>{var _0x5614d2=_0x5ef4eb;this[_0x5614d2(0x32c)][_0x5614d2(0x21e)](_0x28d83d),_0x3f3b9a();});return;}}_0x5b5db6['send'](Hn(_0x98aee2));},'close':()=>{_0x5b5db6['close'](),_0x326ee1['dispose']();}},_0x49f926;}async['_submitChangeset'](_0x4425f0,_0x4b4396){var _0x2c2cc1=_0xe5cf50,_0x9e38ec,_0x8fe0b9;const {unitType:_0x4e4816,unitID:_0x71e63b,changeset:_0x1c8f82}=_0x4b4396[_0x2c2cc1(0x1d5)],_0x36b953={'unitID':_0x71e63b,'memberID':_0x4425f0[_0x2c2cc1(0x45d)],'type':_0x4e4816,'changeset':_0x22419a(_0x1c8f82)},_0x44f106=this[_0x2c2cc1(0x3ae)][_0x2c2cc1(0x2ae)](Un),_0x1c96a2=this[_0x2c2cc1(0x3ae)][_0x2c2cc1(0x2ae)](q),_0x2654a2=Fn((_0x8fe0b9=(_0x9e38ec=_0x1c96a2==null?void 0x0:_0x1c96a2[_0x2c2cc1(0x1af)])!=null?_0x9e38ec:_0x44f106)!=null?_0x8fe0b9:An,_0x4e4816,_0x71e63b);try{await this[_0x2c2cc1(0x30a)]['post'](_0x2654a2,{'body':_0x36b953});}catch(_0x47d0c6){throw this[_0x2c2cc1(0x32c)][_0x2c2cc1(0x21e)](_0x2c2cc1(0x251),'submit\x20changeset\x20error!'),_0x47d0c6;}}async[_0xe5cf50(0x1fc)](_0x1f68c3){var _0x3dc04e=_0xe5cf50;const {unitID:_0x72de70,from:_0x5a0427,to:_0x5b87b3,unitType:_0x4cd880}=_0x1f68c3[_0x3dc04e(0x1d5)];return(await this[_0x3dc04e(0x275)][_0x3dc04e(0x401)]({'metadata':void 0x0},{'unitID':_0x72de70,'type':_0x4cd880,'from':_0x5a0427,'to':_0x5b87b3}))[_0x3dc04e(0x325)];}};Et=Bn([Ue(0x0,_0x1d51a6(_0x1edb1c)),Ue(0x1,_0x1d51a6(_0x2e5962)),Ue(0x2,_0x22ebb9),Ue(0x3,_0x4597d7),Ue(0x4,_0x288584)],Et);const Vn=_0xe5cf50(0x352);function Gn(_0x5df221){var _0xdd1d06=_0xe5cf50;return JSON[_0xdd1d06(0x3e1)](_0x5df221)[_0xdd1d06(0x2da)];}class Ri{constructor(){var _0x17d7da=_0xe5cf50;N(this,_0x17d7da(0x38a),new _0x355bd5()),N(this,_0x17d7da(0x39d),this[_0x17d7da(0x38a)]['asObservable']());}[_0xe5cf50(0x386)](_0x3fa04e){var _0x57c0cc=_0xe5cf50;this['_commentUpdate$'][_0x57c0cc(0x1dd)](_0x3fa04e);}}var Wn=Object[_0xe5cf50(0x4a7)],Kn=Object[_0xe5cf50(0x324)],Yn=(_0x59bf50,_0x4a2c4c,_0x18bb91,_0x465815)=>{var _0x389ec2=_0xe5cf50;for(var _0x322f93=_0x465815>0x1?void 0x0:_0x465815?Kn(_0x4a2c4c,_0x18bb91):_0x4a2c4c,_0x3c5a8b=_0x59bf50[_0x389ec2(0x2da)]-0x1,_0x5b5ad2;_0x3c5a8b>=0x0;_0x3c5a8b--)(_0x5b5ad2=_0x59bf50[_0x3c5a8b])&&(_0x322f93=(_0x465815?_0x5b5ad2(_0x4a2c4c,_0x18bb91,_0x322f93):_0x5b5ad2(_0x322f93))||_0x322f93);return _0x465815&&_0x322f93&&Wn(_0x4a2c4c,_0x18bb91,_0x322f93),_0x322f93;},Kt=(_0x31cd63,_0x3fe74e)=>(_0x2f25f1,_0x18e557)=>_0x3fe74e(_0x2f25f1,_0x18e557,_0x31cd63);let xe=class extends _0x15bb7e{constructor(_0x152132,_0x3fff51){var _0x228f2d=_0xe5cf50;super(),N(this,_0x228f2d(0x438),new Map()),N(this,_0x228f2d(0x20f),new _0x355bd5()),(this[_0x228f2d(0x1f3)]=_0x152132,this['_userManagerService']=_0x3fff51,this[_0x228f2d(0x1fa)](_0x25b517(this[_0x228f2d(0x1f3)][_0x228f2d(0x1ff)](_0xed9f94['UNIVER_SHEET'])[_0x228f2d(0x34d)](_0x137573(_0x4b0367=>_0x4b0367['getUnitId']())),this[_0x228f2d(0x1f3)]['getTypeOfUnitDisposed$'](_0xed9f94[_0x228f2d(0x2cf)])[_0x228f2d(0x34d)](_0x137573(_0x541871=>_0x541871[_0x228f2d(0x326)]())),this[_0x228f2d(0x1f3)][_0x228f2d(0x1ff)](_0xed9f94['UNIVER_SLIDE'])[_0x228f2d(0x34d)](_0x137573(_0x1f442b=>_0x1f442b['getUnitId']())))['subscribe'](_0x171bd6=>this['_removeRoom'](_0x171bd6))));}[_0xe5cf50(0x29d)](_0x1b53bb){var _0x3a5fec=_0xe5cf50;return this[_0x3a5fec(0x438)]['has'](_0x1b53bb)?_0x6fb856(this['_roomMembers'][_0x3a5fec(0x442)](_0x1b53bb)):this[_0x3a5fec(0x20f)][_0x3a5fec(0x34d)](_0x137573(_0x129c81=>{var _0x85f57d=_0x3a5fec;if(_0x129c81===_0x1b53bb)return this['_roomMembers'][_0x85f57d(0x442)](_0x129c81);}));}[_0xe5cf50(0x1da)](_0x1e1c16){var _0x277a3f=_0xe5cf50;this[_0x277a3f(0x1bf)][_0x277a3f(0x1da)](_0x1e1c16);}[_0xe5cf50(0x1d3)](){var _0x1f6586=_0xe5cf50;return this[_0x1f6586(0x1bf)][_0x1f6586(0x1d3)]();}[_0xe5cf50(0x41c)](_0x292aee,_0x47612e){var _0x3696e5=_0xe5cf50;let _0x2c0892=this[_0x3696e5(0x438)][_0x3696e5(0x442)](_0x292aee);_0x2c0892||(_0x2c0892=new qn(),this[_0x3696e5(0x438)][_0x3696e5(0x458)](_0x292aee,_0x2c0892),this[_0x3696e5(0x20f)][_0x3696e5(0x1dd)](_0x292aee)),_0x2c0892[_0x3696e5(0x41c)](_0x47612e);}[_0xe5cf50(0x1df)](_0x174759,_0x1db859){var _0x50989d=_0xe5cf50;const _0x1dfd58=this[_0x50989d(0x438)][_0x50989d(0x442)](_0x174759);_0x1dfd58&&_0x1dfd58[_0x50989d(0x1df)](_0x1db859);}['getRoom'](_0x27ef62){var _0x29258e=_0xe5cf50;return this[_0x29258e(0x438)][_0x29258e(0x442)](_0x27ef62);}[_0xe5cf50(0x46a)](_0x53cebc,_0xa2959f){var _0x2f836b=_0xe5cf50;const _0x2801e6=this['_roomMembers'][_0x2f836b(0x442)](_0x53cebc);if(_0x2801e6)return _0x2801e6[_0x2f836b(0x46a)](_0xa2959f);}['_removeRoom'](_0x688c6b){var _0x1c753e=_0xe5cf50;const _0x10e87a=this[_0x1c753e(0x438)][_0x1c753e(0x442)](_0x688c6b);_0x10e87a&&(_0x10e87a[_0x1c753e(0x410)](),this[_0x1c753e(0x438)][_0x1c753e(0x494)](_0x688c6b));}['dispose'](){var _0x22379c=_0xe5cf50;this['_roomMembers'][_0x22379c(0x21a)](_0x29a43e=>_0x29a43e[_0x22379c(0x410)]()),this[_0x22379c(0x438)][_0x22379c(0x314)](),this[_0x22379c(0x20f)][_0x22379c(0x3a2)]();}};xe=Yn([Kt(0x0,_0x25173e),Kt(0x1,_0x1d51a6(_0x2ba410))],xe);class qn extends _0x15bb7e{constructor(){var _0x3359d5=_0xe5cf50;super(...arguments),N(this,_0x3359d5(0x39c),new Map()),N(this,_0x3359d5(0x322),new _0xd2a8b4(this[_0x3359d5(0x39c)])),N(this,_0x3359d5(0x440),this[_0x3359d5(0x322)][_0x3359d5(0x1f9)]());}[_0xe5cf50(0x410)](){var _0x1a92e4=_0xe5cf50;this[_0x1a92e4(0x39c)]['clear']();}[_0xe5cf50(0x41c)](_0x3802f3){var _0x424974=_0xe5cf50;this['_members'][_0x424974(0x458)](_0x3802f3[_0x424974(0x45d)],_0x3802f3),this['_emitMembers']();}[_0xe5cf50(0x1df)](_0x7e67ad){var _0x5cd477=_0xe5cf50;this['_members'][_0x5cd477(0x494)](_0x7e67ad);}[_0xe5cf50(0x46a)](_0xc00777){var _0x24aa04=_0xe5cf50;return this[_0x24aa04(0x39c)][_0x24aa04(0x442)](_0xc00777);}[_0xe5cf50(0x266)](){var _0xaf0fc8=_0xe5cf50;return Array[_0xaf0fc8(0x35f)](this['_members'][_0xaf0fc8(0x480)]());}[_0xe5cf50(0x3d8)](){var _0xe84f54=_0xe5cf50;this[_0xe84f54(0x322)][_0xe84f54(0x1dd)](this[_0xe84f54(0x39c)]);}}var zn=Object['defineProperty'],Jn=Object[_0xe5cf50(0x324)],Xn=(_0x3fa0e4,_0x2a3d2b,_0x26c00c,_0x1ef8d8)=>{var _0x4d4880=_0xe5cf50;for(var _0xf83673=_0x1ef8d8>0x1?void 0x0:_0x1ef8d8?Jn(_0x2a3d2b,_0x26c00c):_0x2a3d2b,_0x8effd0=_0x3fa0e4[_0x4d4880(0x2da)]-0x1,_0x1a7110;_0x8effd0>=0x0;_0x8effd0--)(_0x1a7110=_0x3fa0e4[_0x8effd0])&&(_0xf83673=(_0x1ef8d8?_0x1a7110(_0x2a3d2b,_0x26c00c,_0xf83673):_0x1a7110(_0xf83673))||_0xf83673);return _0x1ef8d8&&_0xf83673&&zn(_0x2a3d2b,_0x26c00c,_0xf83673),_0xf83673;},me=(_0x204d07,_0x22f3ea)=>(_0x2eae28,_0x2cd9fd)=>_0x22f3ea(_0x2eae28,_0x2cd9fd,_0x204d07),Te=(_0x3b3e5b=>(_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x1d4)]=0x0]='IDLE',_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x2c0)]=0x1]=_0xe5cf50(0x2c0),_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x2f2)]=0x2]=_0xe5cf50(0x2f2),_0x3b3e5b[_0x3b3e5b[_0xe5cf50(0x292)]=0x3]=_0xe5cf50(0x292),_0x3b3e5b))(Te||{});const Yt={[Ee[_0xe5cf50(0x32f)]]:_0xe5cf50(0x22b),[Ee[_0xe5cf50(0x368)]]:_0xe5cf50(0x3eb),[Ee[_0xe5cf50(0x416)]]:_0xe5cf50(0x1f2),[Ee[_0xe5cf50(0x2d2)]]:_0xe5cf50(0x473),[Ee[_0xe5cf50(0x26a)]]:_0xe5cf50(0x3e7)};let It=class extends _0x155349{constructor(_0x18c9ee,_0x28eb06,_0x8decf4,_0x2ff699,_0x501d1d,_0x1224b1,_0x2051ea,_0x1abee3,_0x56cf8d){var _0x2f3f31=_0xe5cf50;super(),N(this,_0x2f3f31(0x37b),new _0xd2a8b4(0x0)),N(this,_0x2f3f31(0x341),this[_0x2f3f31(0x37b)][_0x2f3f31(0x1f9)]()),N(this,_0x2f3f31(0x420),new _0x355bd5()),N(this,'event$',this[_0x2f3f31(0x420)][_0x2f3f31(0x1f9)]()),N(this,_0x2f3f31(0x408)),N(this,_0x2f3f31(0x28c)),N(this,_0x2f3f31(0x403)),N(this,_0x2f3f31(0x469),!0x1),N(this,_0x2f3f31(0x2c8),null),(this['_unitID']=_0x18c9ee,this[_0x2f3f31(0x32c)]=_0x8decf4,this[_0x2f3f31(0x3ae)]=_0x2ff699,this[_0x2f3f31(0x203)]=_0x501d1d,this[_0x2f3f31(0x336)]=_0x1224b1,this[_0x2f3f31(0x215)]=_0x2051ea,this[_0x2f3f31(0x29a)]=_0x1abee3,this[_0x2f3f31(0x3e5)]=_0x56cf8d,this['_shouldReportTelemetry']=!!this[_0x2f3f31(0x3e5)],_0x28eb06[_0x2f3f31(0x34d)](_0x349e1a(this[_0x2f3f31(0x3a7)]))[_0x2f3f31(0x1e9)](_0x466b08=>{var _0x341185=_0x2f3f31,_0x1273e3;typeof _0x466b08>'u'||(this[_0x341185(0x408)]=_0x466b08,_0x466b08?(this[_0x341185(0x289)](_0x466b08),this[_0x341185(0x28c)]=_0x466b08[_0x341185(0x357)][_0x341185(0x1e9)](_0x221f10=>{var _0x47801c=_0x341185;_0x221f10[_0x47801c(0x2fd)]===this[_0x47801c(0x1ee)]&&this[_0x47801c(0x4a6)](_0x221f10);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x341185(0x37b)]['next'](0x2),(_0x1273e3=this[_0x341185(0x28c)])==null||_0x1273e3[_0x341185(0x31c)](),this[_0x341185(0x28c)]=null));}));}get[_0xe5cf50(0x2aa)](){var _0x2c3f6b=_0xe5cf50;return this[_0x2c3f6b(0x37b)]['getValue']();}[_0xe5cf50(0x3f6)](){var _0x82a99b=_0xe5cf50,_0x454912,_0x5d4cbe;return(_0x5d4cbe=(_0x454912=this[_0x82a99b(0x408)])==null?void 0x0:_0x454912[_0x82a99b(0x45d)])!=null?_0x5d4cbe:null;}[_0xe5cf50(0x410)](){var _0xe9bf20=_0xe5cf50;super[_0xe9bf20(0x410)](),this[_0xe9bf20(0x3a7)][_0xe9bf20(0x1dd)](),this['dispose$'][_0xe9bf20(0x3a2)]();}[_0xe5cf50(0x234)](){var _0x32a823=_0xe5cf50,_0x23b6a8,_0x360fea;this[_0x32a823(0x3d9)](),(_0x23b6a8=this[_0x32a823(0x408)])==null||_0x23b6a8[_0x32a823(0x484)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x32a823(0x1ee)]}}),(_0x360fea=this[_0x32a823(0x408)])==null||_0x360fea[_0x32a823(0x234)](),this[_0x32a823(0x420)][_0x32a823(0x3a2)](),this[_0x32a823(0x37b)]['complete'](),this['dispose']();}[_0xe5cf50(0x4a6)](_0x5ee376){var _0x15a355=_0xe5cf50;_0x5ee376['cmd']===F[_0x15a355(0x260)]?this[_0x15a355(0x3c7)](_0x5ee376):_0x5ee376['cmd']===F[_0x15a355(0x373)]&&this[_0x15a355(0x2d5)](_0x5ee376);}[_0xe5cf50(0x289)](_0x27fc06){var _0x570b36=_0xe5cf50;this['_sessionStatus$'][_0x570b36(0x1dd)](0x1),_0x27fc06['send']({'cmd':F['JOIN'],'routeKey':this[_0x570b36(0x1ee)],'routeType':'','data':{'rooms':[{'roomID':this[_0x570b36(0x1ee)]}]}});}['_onJoinRoomEvent'](_0x52d52f){var _0x1f2ecb=_0xe5cf50,_0x45e414;if(_0x52d52f[_0x1f2ecb(0x1de)]in Yt){this[_0x1f2ecb(0x29a)][_0x1f2ecb(0x4ae)]({'id':se[_0x1f2ecb(0x40a)],'data':Yt[_0x52d52f[_0x1f2ecb(0x1de)]]}),this['_sessionStatus$'][_0x1f2ecb(0x1dd)](0x2);return;}this[_0x1f2ecb(0x37b)][_0x1f2ecb(0x1dd)](0x3);const _0x3e67e4=(_0x45e414=_0x52d52f['data']['roomInfos'][this[_0x1f2ecb(0x1ee)]])==null?void 0x0:_0x45e414[_0x1f2ecb(0x252)];_0x3e67e4&&_0x3e67e4['forEach'](_0x4155d3=>this[_0x1f2ecb(0x336)][_0x1f2ecb(0x41c)](this['_unitID'],_0x4155d3));}['_onRecvEvent'](_0x33ee8e){var _0x29a71a=_0xe5cf50;try{const _0x35aeb9=_0x33ee8e['data'];switch(_0x35aeb9[_0x29a71a(0x23e)]){case _0x11ed3f[_0x29a71a(0x3bd)]:this[_0x29a71a(0x1cf)](_0x35aeb9),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x27c)]:this['_onUserLeave'](_0x35aeb9),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f['CHANGESET_ACK']:case _0x11ed3f[_0x29a71a(0x498)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x29a71a(0x3c6)](),this[_0x29a71a(0x420)]['next'](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x257)]:this[_0x29a71a(0x32c)][_0x29a71a(0x21e)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x29a71a(0x3e1)](_0x35aeb9)),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;case _0x11ed3f[_0x29a71a(0x41a)]:this['_commentService'][_0x29a71a(0x386)](_0x35aeb9[_0x29a71a(0x1d5)]),this[_0x29a71a(0x420)][_0x29a71a(0x1dd)](_0x35aeb9);break;default:this['_event$'][_0x29a71a(0x1dd)](_0x35aeb9);}}catch(_0x491e00){this[_0x29a71a(0x32c)][_0x29a71a(0x21e)](_0x491e00,_0x33ee8e);}}[_0xe5cf50(0x1cf)](_0x240faf){var _0x225f35=_0xe5cf50;this[_0x225f35(0x336)][_0x225f35(0x41c)](this[_0x225f35(0x1ee)],_0x240faf[_0x225f35(0x1d5)]);}['_onUserLeave'](_0xe09995){var _0x16ce41=_0xe5cf50;this[_0x16ce41(0x336)]['removeMember'](this['_unitID'],_0xe09995[_0x16ce41(0x1d5)][_0x16ce41(0x45d)]);}async[_0xe5cf50(0x484)](_0x3dc2e2,_0x4b1987){var _0x575e27=_0xe5cf50;if(this[_0x575e27(0x2aa)]!==0x3||!this[_0x575e27(0x408)])throw new Error(_0x575e27(0x29c));try{_0x3dc2e2[_0x575e27(0x23e)]===_0x11ed3f[_0x575e27(0x3c3)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x575e27(0x3be)](_0x3dc2e2)),this[_0x575e27(0x408)][_0x575e27(0x484)]({'cmd':F[_0x575e27(0x250)],'routeKey':_0x4b1987,'routeType':'','data':_0x3dc2e2});}catch(_0x7bc626){this[_0x575e27(0x32c)][_0x575e27(0x21e)](_0x7bc626);}}[_0xe5cf50(0x3e8)](){var _0x4028c6=_0xe5cf50,_0x3d8f6b;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x6472e0=_0x6808;this[_0x6472e0(0x403)]=null,this[_0x6472e0(0x29a)][_0x6472e0(0x4ae)]({'id':se[_0x6472e0(0x4ad)]});},(_0x3d8f6b=this[_0x4028c6(0x3ae)][_0x4028c6(0x2ae)](Si))!=null?_0x3d8f6b:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x2f4b5c=_0xe5cf50;this[_0x2f4b5c(0x403)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x2f4b5c(0x403)]=null);}[_0xe5cf50(0x3be)](_0x977a74){var _0x5e6181=_0xe5cf50;if(!this[_0x5e6181(0x469)])return;const {data:_0x34e1af}=_0x977a74,{unitID:_0x4de594,changeset:_0xb4bcd6}=_0x34e1af,{mutations:_0x53b33f,type:_0x53c1f2}=_0xb4bcd6;this[_0x5e6181(0x2c8)]={'unitId':_0x4de594,'type':_0x53c1f2,'startTime':performance[_0x5e6181(0x48b)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x53b33f)};}[_0xe5cf50(0x2cc)](){var _0x16ba4e=_0xe5cf50;if(this[_0x16ba4e(0x469)]){if(!this[_0x16ba4e(0x2c8)]){this[_0x16ba4e(0x32c)][_0x16ba4e(0x21e)]('[CollaborationSession]',_0x16ba4e(0x2b6));return;}this['_telemetryInfo'][_0x16ba4e(0x226)]=performance['now'](),this[_0x16ba4e(0x2c8)]['duration']=this[_0x16ba4e(0x2c8)][_0x16ba4e(0x226)]-this[_0x16ba4e(0x2c8)]['startTime'],this[_0x16ba4e(0x3e5)][_0x16ba4e(0x42a)](Vn,this['_telemetryInfo']),this['_telemetryInfo']=null;}}[_0xe5cf50(0x3d9)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x4597d7),me(0x3,_0x22ebb9),me(0x4,_0x1d51a6(_0x3e1840)),me(0x5,_0x1d51a6(xe)),me(0x6,_0x1d51a6(Ri)),me(0x7,_0x1d51a6(pe)),me(0x8,_0x32cef0(_0x4fdfa4))],It);var Zn=Object[_0xe5cf50(0x4a7)],Qn=Object[_0xe5cf50(0x324)],er=(_0x5d7183,_0x1ece71,_0x16e395,_0x2c2681)=>{for(var _0x435709=_0x2c2681>0x1?void 0x0:_0x2c2681?Qn(_0x1ece71,_0x16e395):_0x1ece71,_0x3da92a=_0x5d7183['length']-0x1,_0x2ec8f7;_0x3da92a>=0x0;_0x3da92a--)(_0x2ec8f7=_0x5d7183[_0x3da92a])&&(_0x435709=(_0x2c2681?_0x2ec8f7(_0x1ece71,_0x16e395,_0x435709):_0x2ec8f7(_0x435709))||_0x435709);return _0x2c2681&&_0x435709&&Zn(_0x1ece71,_0x16e395,_0x435709),_0x435709;},ge=(_0x17775d,_0x2ab3db)=>(_0x297384,_0x47cccc)=>_0x2ab3db(_0x297384,_0x47cccc,_0x17775d);let Le=class extends _0x15bb7e{constructor(_0x672319,_0x40d27c,_0x5ca89b,_0x20cd58,_0x1bc462,_0x59a341,_0x5787fe){var _0xbe3d2e=_0xe5cf50;super(),N(this,'_socket$',new _0xd2a8b4(void 0x0)),N(this,'socket$',this['_socket$']['asObservable']()),N(this,_0xbe3d2e(0x43b),null),N(this,_0xbe3d2e(0x407),new Map()),N(this,_0xbe3d2e(0x48f),new _0xd2a8b4(Te[_0xbe3d2e(0x1d4)])),N(this,_0xbe3d2e(0x2c2),this[_0xbe3d2e(0x48f)][_0xbe3d2e(0x1f9)]()),N(this,_0xbe3d2e(0x2a9),!0x1),N(this,_0xbe3d2e(0x385)),N(this,_0xbe3d2e(0x1f0),0x0),N(this,_0xbe3d2e(0x36d)),N(this,_0xbe3d2e(0x42b)),(this[_0xbe3d2e(0x49d)]=_0x672319,this[_0xbe3d2e(0x32c)]=_0x40d27c,this[_0xbe3d2e(0x3ae)]=_0x5ca89b,this[_0xbe3d2e(0x41f)]=_0x20cd58,this[_0xbe3d2e(0x36e)]=_0x1bc462,this[_0xbe3d2e(0x29a)]=_0x59a341,this[_0xbe3d2e(0x31e)]=_0x5787fe,this[_0xbe3d2e(0x3e4)]());}get['_socket'](){var _0x5d9ad4=_0xe5cf50;return this[_0x5d9ad4(0x330)]['getValue']();}[_0xe5cf50(0x3e4)](){var _0x4b4677=_0xe5cf50;this[_0x4b4677(0x31e)]&&this['disposeWithMe'](this[_0x4b4677(0x31e)][_0x4b4677(0x285)][_0x4b4677(0x1e9)](_0x1c9aef=>{var _0x104e06=_0x4b4677;_0x1c9aef&&!this[_0x104e06(0x408)]&&this[_0x104e06(0x1cb)](),_0x1c9aef||this['_onOffline']();}));}[_0xe5cf50(0x410)](){var _0x49dd31=_0xe5cf50;super[_0x49dd31(0x410)](),this['_sessions'][_0x49dd31(0x21a)](_0x3666ab=>_0x3666ab['dispose']()),this[_0x49dd31(0x407)][_0x49dd31(0x314)](),this[_0x49dd31(0x48f)][_0x49dd31(0x3a2)]();}async['requireSession'](_0xf9eebc){var _0xc87c4f=_0xe5cf50;if(this[_0xc87c4f(0x407)]['has'](_0xf9eebc))return this[_0xc87c4f(0x407)][_0xc87c4f(0x442)](_0xf9eebc);this['_tryEnsureSocket']();const _0x3b9daa=this[_0xc87c4f(0x49d)][_0xc87c4f(0x3c4)](It,_0xf9eebc,this[_0xc87c4f(0x330)][_0xc87c4f(0x1f9)]());return this[_0xc87c4f(0x407)][_0xc87c4f(0x458)](_0xf9eebc,_0x3b9daa),_0x3b9daa;}[_0xe5cf50(0x212)](_0x10f6ba){var _0x462b78=_0xe5cf50,_0x17a394;const _0x21a006=this[_0x462b78(0x407)][_0x462b78(0x442)](_0x10f6ba);_0x21a006&&(this[_0x462b78(0x407)][_0x462b78(0x494)](_0x10f6ba),_0x21a006[_0x462b78(0x234)]()),this['_sessions'][_0x462b78(0x268)]||(_0x17a394=this[_0x462b78(0x408)])==null||_0x17a394[_0x462b78(0x234)]();}['reconnect'](){var _0x4c7a0c=_0xe5cf50;this[_0x4c7a0c(0x1f0)]=0x0,this[_0x4c7a0c(0x385)]!=null&&(clearTimeout(this[_0x4c7a0c(0x385)]),this['_retryConnectingTimer']=null),this[_0x4c7a0c(0x25d)]();}async['_getSessionTicket'](){var _0x23ecde=_0xe5cf50,_0x5045e4,_0x359d62,_0x302442;const _0xd216d4=this[_0x23ecde(0x3ae)][_0x23ecde(0x2ae)](q),_0x486ef1=(_0x5045e4=_0xd216d4==null?void 0x0:_0xd216d4[_0x23ecde(0x383)])!=null?_0x5045e4:On;return(_0x302442=(_0x359d62=(await this[_0x23ecde(0x36e)]['get'](_0x486ef1,{'headers':{'Content-Type':_0x23ecde(0x3ba)}}))[_0x23ecde(0x2f7)])==null?void 0x0:_0x359d62[_0x23ecde(0x1d7)])!=null?_0x302442:'';}[_0xe5cf50(0x478)](_0x30fa11){var _0x41d85c=_0xe5cf50,_0x3a14e9,_0x55cfd7;const _0x37d884=this[_0x41d85c(0x3ae)][_0x41d85c(0x2ae)](Rn),_0x2ae0eb=this[_0x41d85c(0x3ae)]['getConfig'](q),_0x1b110c=(_0x55cfd7=(_0x3a14e9=_0x2ae0eb==null?void 0x0:_0x2ae0eb[_0x41d85c(0x34b)])!=null?_0x3a14e9:_0x37d884)!=null?_0x55cfd7:bn,_0x47b0ca=typeof window>'u'?new URL(_0x1b110c):new URL(_0x1b110c,window[_0x41d85c(0x3f5)][_0x41d85c(0x44f)]);_0x47b0ca[_0x41d85c(0x3d1)][_0x41d85c(0x458)](_0x41d85c(0x404),_0x30fa11);const _0xfee55f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0xfee55f[_0x41d85c(0x442)]('runId')&&_0x47b0ca[_0x41d85c(0x3d1)]['set'](_0x41d85c(0x27e),_0xfee55f[_0x41d85c(0x442)](_0x41d85c(0x27e))),_0x47b0ca[_0x41d85c(0x1c1)]();}async['_createSocket'](){var _0x1fd2fd=_0xe5cf50;const _0x154cf1=await this[_0x1fd2fd(0x1dc)](),_0x1a716b=this[_0x1fd2fd(0x478)](_0x154cf1),_0x5b95e5=this['_socketService'][_0x1fd2fd(0x31d)](_0x1a716b);return this[_0x1fd2fd(0x43b)]=_0x5b95e5,_0x5b95e5;}async[_0xe5cf50(0x2b9)](){var _0x14e33c=_0xe5cf50,_0x3d5573,_0x4c89f1;try{const _0x2bf63b=(_0x4c89f1=(_0x3d5573=this[_0x14e33c(0x408)])!=null?_0x3d5573:this[_0x14e33c(0x43b)])!=null?_0x4c89f1:await this['_createSocket']();if(_0x2bf63b){const _0x69a073=_0x2bf63b[_0x14e33c(0x484)];_0x2bf63b['send']=_0x3322b6=>(this[_0x14e33c(0x43a)](),_0x69a073[_0x14e33c(0x1e5)](_0x2bf63b,[_0x3322b6])),_0x2bf63b[_0x14e33c(0x357)][_0x14e33c(0x1e9)](_0x12376d=>this[_0x14e33c(0x405)](_0x2bf63b,_0x12376d)),_0x2bf63b[_0x14e33c(0x37c)][_0x14e33c(0x34d)](_0x54a384(0x1))['subscribe'](_0xa4f4fc=>this[_0x14e33c(0x32c)][_0x14e33c(0x21e)](_0x14e33c(0x205),_0xa4f4fc)),_0x2bf63b[_0x14e33c(0x2a8)][_0x14e33c(0x34d)](_0x54a384(0x1))[_0x14e33c(0x1e9)](()=>{var _0x2a0749=_0x14e33c;this[_0x2a0749(0x499)](_0x2bf63b);}),_0x2bf63b[_0x14e33c(0x388)]['pipe'](_0x54a384(0x1))[_0x14e33c(0x1e9)](_0x58d481=>{var _0xf84930=_0x14e33c;this['_logService'][_0xf84930(0x340)]('[CollaborationSessionService]',_0xf84930(0x2de),_0x58d481),this[_0xf84930(0x2d9)]();});}}catch(_0x5873c0){this['_logService'][_0x14e33c(0x21e)](_0x5873c0),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x71643a){var _0x4788f9=_0xe5cf50;this['_logService']['debug'](_0x4788f9(0x2c5),'socket\x20open.'),_0x71643a[_0x4788f9(0x484)]({'cmd':F[_0x4788f9(0x45c)]}),this['_rescheduleHeartbeat']();}[_0xe5cf50(0x377)](){var _0x303aa7=_0xe5cf50;this[_0x303aa7(0x2a9)]=!0x1,this['_candidateSocket']=null,this[_0x303aa7(0x48f)][_0x303aa7(0x1dd)](Te['OFFLINE']),this[_0x303aa7(0x330)]['next'](null),this['_clearTimeoutTimer'](),this[_0x303aa7(0x279)]();}['_onConnectionFailed'](){var _0x5e3b29=_0xe5cf50,_0x1d4493;this['_onOffline'](),this[_0x5e3b29(0x1f0)]<((_0x1d4493=this[_0x5e3b29(0x3ae)]['getConfig'](Pn))!=null?_0x1d4493:wn)?(this[_0x5e3b29(0x29a)][_0x5e3b29(0x4ae)]({'id':se['SOCKET_FAILED_RETRY']}),this['_tryReconnect']()):this[_0x5e3b29(0x29a)][_0x5e3b29(0x4ae)]({'id':se[_0x5e3b29(0x483)]});}['_tryReconnect'](){var _0x41db82=_0xe5cf50,_0x49d1ec;const _0xa244b=this[_0x41db82(0x1f0)],_0x3d9bf2=this[_0x41db82(0x3ae)]['getConfig'](q),_0x3d2d07=_0xa244b===0x0?0x0:((_0x49d1ec=_0x3d9bf2==null?void 0x0:_0x3d9bf2[_0x41db82(0x335)])!=null?_0x49d1ec:Dn)*0x2**_0xa244b;this[_0x41db82(0x385)]=setTimeout(()=>{var _0x445b13=_0x41db82;clearTimeout(this[_0x445b13(0x385)]),this[_0x445b13(0x385)]=null,this[_0x445b13(0x2b9)]();},_0x3d2d07),this[_0x41db82(0x1f0)]+=0x1;}[_0xe5cf50(0x405)](_0x23eb9c,_0x372e99){var _0x4f8896=_0xe5cf50;const {cmd:_0x2fe263}=_0x372e99;_0x2fe263===F[_0x4f8896(0x45c)]&&!this[_0x4f8896(0x2a9)]&&(_0x23eb9c['memberID']=_0x372e99[_0x4f8896(0x1d5)][_0x4f8896(0x45d)],this['_socket$'][_0x4f8896(0x1dd)](_0x23eb9c),this[_0x4f8896(0x48f)]['next'](Te[_0x4f8896(0x292)]),this['_socketReady']=!0x0,this[_0x4f8896(0x43b)]=null),_0x2fe263===F['HEARTBEAT']&&this['_clearTimeoutTimer'](),this[_0x4f8896(0x43a)]();}[_0xe5cf50(0x43a)](){var _0x514270=_0xe5cf50,_0x14552d;this[_0x514270(0x279)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x514270(0x434)](),(_0x14552d=this[_0x514270(0x3ae)][_0x514270(0x2ae)](yn))!=null?_0x14552d:Nn);}[_0xe5cf50(0x434)](){var _0x2239ca=_0xe5cf50;this[_0x2239ca(0x408)][_0x2239ca(0x484)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0xe5cf50(0x453)](){var _0xdfb6cc=_0xe5cf50,_0x1ccbe5;this[_0xdfb6cc(0x42b)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x1ccbe5=this['_configService'][_0xdfb6cc(0x2ae)](Si))!=null?_0x1ccbe5:Ei);}[_0xe5cf50(0x279)](){var _0x19d1da=_0xe5cf50;this[_0x19d1da(0x36d)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x19d1da(0x36d)]=null);}[_0xe5cf50(0x201)](){var _0x15c5a9=_0xe5cf50;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x15c5a9(0x42b)]=null);}};Le=er([ge(0x0,_0x1d51a6(_0x1edb1c)),ge(0x1,_0x4597d7),ge(0x2,_0x22ebb9),ge(0x3,Ci),ge(0x4,_0x1d51a6(_0x2e5962)),ge(0x5,_0x1d51a6(pe)),ge(0x6,_0x32cef0(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0xe5cf50(0x1c1)](0x10)[_0xe5cf50(0x3aa)](0x1));function tr(_0x1ca513,_0x439264=0x0){var _0x4778bd=_0xe5cf50;return(V[_0x1ca513[_0x439264+0x0]]+V[_0x1ca513[_0x439264+0x1]]+V[_0x1ca513[_0x439264+0x2]]+V[_0x1ca513[_0x439264+0x3]]+'-'+V[_0x1ca513[_0x439264+0x4]]+V[_0x1ca513[_0x439264+0x5]]+'-'+V[_0x1ca513[_0x439264+0x6]]+V[_0x1ca513[_0x439264+0x7]]+'-'+V[_0x1ca513[_0x439264+0x8]]+V[_0x1ca513[_0x439264+0x9]]+'-'+V[_0x1ca513[_0x439264+0xa]]+V[_0x1ca513[_0x439264+0xb]]+V[_0x1ca513[_0x439264+0xc]]+V[_0x1ca513[_0x439264+0xd]]+V[_0x1ca513[_0x439264+0xe]]+V[_0x1ca513[_0x439264+0xf]])[_0x4778bd(0x302)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x531e2f=_0xe5cf50;if(!ut){if(typeof crypto>'u'||!crypto[_0x531e2f(0x331)])throw new Error(_0x531e2f(0x31a));ut=crypto[_0x531e2f(0x331)][_0x531e2f(0x261)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0xe5cf50(0x280)][_0xe5cf50(0x261)](crypto),qt={'randomUUID':rr};function sr(_0x3d9420,_0x5636cd,_0x24bcb0){var _0x43e0ef=_0xe5cf50,_0x42b2a4,_0x3c0a3b,_0x133b97;if(qt[_0x43e0ef(0x280)]&&!_0x3d9420)return qt[_0x43e0ef(0x280)]();_0x3d9420=_0x3d9420||{};const _0x5d8a22=(_0x133b97=(_0x3c0a3b=_0x3d9420[_0x43e0ef(0x1c2)])!=null?_0x3c0a3b:(_0x42b2a4=_0x3d9420[_0x43e0ef(0x38f)])==null?void 0x0:_0x42b2a4[_0x43e0ef(0x20b)](_0x3d9420))!=null?_0x133b97:nr();if(_0x5d8a22['length']<0x10)throw new Error(_0x43e0ef(0x2db));return _0x5d8a22[0x6]=_0x5d8a22[0x6]&0xf|0x40,_0x5d8a22[0x8]=_0x5d8a22[0x8]&0x3f|0x80,tr(_0x5d8a22);}const J=_0x1b7aa9(_0xe5cf50(0x2a7));function so(_0x193e61){var _0x254578=_0xe5cf50;return _0x254578(0x3c8)+_0x193e61;}var or=Object[_0xe5cf50(0x4a7)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x1ce8cf,_0xb91049,_0x4ac19b,_0xd96c2c)=>{var _0x251cbb=_0xe5cf50;for(var _0x57f78f=_0xd96c2c>0x1?void 0x0:_0xd96c2c?ar(_0xb91049,_0x4ac19b):_0xb91049,_0x5930ad=_0x1ce8cf[_0x251cbb(0x2da)]-0x1,_0x3add46;_0x5930ad>=0x0;_0x5930ad--)(_0x3add46=_0x1ce8cf[_0x5930ad])&&(_0x57f78f=(_0xd96c2c?_0x3add46(_0xb91049,_0x4ac19b,_0x57f78f):_0x3add46(_0x57f78f))||_0x57f78f);return _0xd96c2c&&_0x57f78f&&or(_0xb91049,_0x4ac19b,_0x57f78f),_0x57f78f;},dt=(_0x4e5a03,_0x131aae)=>(_0x4024d3,_0x5de9fe)=>_0x131aae(_0x4024d3,_0x5de9fe,_0x4e5a03);function hr(_0x310aa0){var _0x88c3b3=_0xe5cf50;const {unitID:_0x5729c2,mutations:_0x3e915b}=_0x310aa0;return{'unitId':_0x5729c2,'subUnitId':_0x3e915b[0x0][_0x88c3b3(0x365)][_0x88c3b3(0x26b)]};}let it=class{constructor(_0x2b78db,_0xc0fa3e,_0x107768){var _0x25da98=_0xe5cf50;this[_0x25da98(0x49d)]=_0x2b78db,this[_0x25da98(0x3a3)]=_0xc0fa3e,this[_0x25da98(0x209)]=_0x107768;}[_0xe5cf50(0x321)](_0x49187a){var _0x4e4ba2=_0xe5cf50,_0x18a888,_0x57c5bd,_0x3b036d,_0x4f8d55;const _0x292fb8=this[_0x4e4ba2(0x49d)][_0x4e4ba2(0x442)](_0x3ccb14),{unitId:_0x27dfac,subUnitId:_0x4b04d3}=hr(_0x49187a),_0x49fa24=_0x292fb8==null?void 0x0:_0x292fb8[_0x4e4ba2(0x3b1)](_0x27dfac)['getCurrentSelections'](),_0x35a63f=(_0x57c5bd=(_0x18a888=this[_0x4e4ba2(0x209)][_0x4e4ba2(0x1b6)](_0x27dfac))==null?void 0x0:_0x18a888[_0x4e4ba2(0x2b4)]())==null?void 0x0:_0x57c5bd[_0x4e4ba2(0x47f)]();if(_0x49fa24[_0x4e4ba2(0x2da)]===0x0||!_0x27dfac||!_0x4b04d3)return;const _0x1840a4=[{'id':_0x44f79c['id'],'params':{'unitId':_0x27dfac,'subUnitId':_0x35a63f,'selections':_0x338369[_0x4e4ba2(0x3a9)](_0x49fa24)}}],_0x4285ae=this[_0x4e4ba2(0x3a3)][_0x4e4ba2(0x3b0)](_0x49187a,_0x1840a4);if(!_0x4ab4da(_0x4285ae))throw _0x4285ae[_0x4e4ba2(0x21e)];const _0x28a1ab=(_0x4f8d55=(_0x3b036d=_0x4285ae['m2Prime'][0x0])==null?void 0x0:_0x3b036d[_0x4e4ba2(0x365)])==null?void 0x0:_0x4f8d55['selections'];if(Array['isArray'](_0x28a1ab)&&_0x28a1ab[_0x4e4ba2(0x2da)]){if(_0x28a1ab[_0x4e4ba2(0x2da)]===_0x1840a4[0x0][_0x4e4ba2(0x365)]['selections'][_0x4e4ba2(0x2da)]&&_0x28a1ab['every']((_0x2e7cf4,_0x5f1484)=>_0x1362d2[_0x4e4ba2(0x2a4)](_0x2e7cf4[_0x4e4ba2(0x24d)],_0x1840a4[0x0][_0x4e4ba2(0x365)]['selections'][_0x5f1484]['range'])))return;this[_0x4e4ba2(0x49d)][_0x4e4ba2(0x442)](_0x40e4b8)[_0x4e4ba2(0x3cd)](_0x44f79c['id'],{'unitId':_0x27dfac,'subUnitId':_0x35a63f,'selections':_0x28a1ab});}}};it=cr([dt(0x0,_0x1d51a6(_0x1edb1c)),dt(0x1,_0x45bd1b),dt(0x2,_0x25173e)],it);const ht=_0x1b7aa9(_0xe5cf50(0x334));var bi=(_0x51c6a2=>(_0x51c6a2[_0x51c6a2[_0xe5cf50(0x273)]=0x0]=_0xe5cf50(0x273),_0x51c6a2[_0x51c6a2[_0xe5cf50(0x3ef)]=0x1]=_0xe5cf50(0x3ef),_0x51c6a2))(bi||{});const _r=new Set([_0x5b33a5['id']]);function zt(_0x3ccb8,_0x25cbbf,_0x1bf5c6,_0x52e2c6,_0x57a9c4){var _0x303532=_0xe5cf50,_0x27bce4,_0x4527b6,_0x1fe2f2,_0x157446;const _0x454a47=[];for(const _0x4316bf of _0x3ccb8)if(_r['has'](_0x4316bf['id'])){if(_0x454a47[_0x303532(0x2da)]>0x0)break;_0x454a47[_0x303532(0x430)](_0x4316bf);break;}else _0x454a47[_0x303532(0x430)](_0x4316bf);const _0x21fc43=(_0x4527b6=(_0x27bce4=_0x57a9c4[_0x303532(0x1d3)]())==null?void 0x0:_0x27bce4[_0x303532(0x452)])!=null?_0x4527b6:_0x303532(0x3f8),_0x57ea9c=(_0x157446=(_0x1fe2f2=_0x57a9c4[_0x303532(0x1d3)]())==null?void 0x0:_0x1fe2f2['memberID'])!=null?_0x157446:'unknown';return{'changeset':{'unitID':_0x25cbbf,'type':_0x10416f(_0x1bf5c6[_0x303532(0x477)](_0x25cbbf)),'baseRev':_0x52e2c6['getCurrentRevOfUnit'](_0x25cbbf),'revision':0x0,'userID':_0x21fc43,'memberID':_0x57ea9c,'mutations':_0x454a47},'pendingMutations':_0x3ccb8[_0x303532(0x3aa)](_0x454a47[_0x303532(0x2da)])};}function lr(_0x28f055,_0x28ef6d,_0x223cc6,_0x5e0596,_0x59cac2){var _0x5ace16=_0xe5cf50,_0x3b27ef,_0xd322d,_0x544b1c,_0x30ec6d;const _0x55424e=[_0x28f055['reduce']((_0x183f46,_0x25fcd3)=>{var _0x399f84=_0x6808,_0xbd65cf;const {id:_0x1590ae}=_0x183f46,{id:_0x3bd87d,type:_0x495db3}=_0x25fcd3,_0x296cbb=(_0xbd65cf=_0x183f46[_0x399f84(0x365)])!=null?_0xbd65cf:{'actions':null},_0x22c12f=_0x25fcd3[_0x399f84(0x365)];if(_0x1590ae&&_0x1590ae!==_0x3bd87d)throw new Error(_0x399f84(0x36b)+_0x1590ae+_0x399f84(0x1e8)+_0x3bd87d+'.');return{..._0x183f46,'id':_0x3bd87d,'type':_0x495db3,'params':{'unitId':_0x22c12f[_0x399f84(0x358)],'textRanges':_0x22c12f[_0x399f84(0x413)],'actions':_0x325cc3['compose'](_0x296cbb[_0x399f84(0x2ea)],_0x22c12f[_0x399f84(0x2ea)])}};},{})],_0x4b5880=(_0xd322d=(_0x3b27ef=_0x59cac2['getCurrentUser']())==null?void 0x0:_0x3b27ef[_0x5ace16(0x452)])!=null?_0xd322d:'unknown',_0xcc539f=(_0x30ec6d=(_0x544b1c=_0x59cac2['getCurrentUser']())==null?void 0x0:_0x544b1c[_0x5ace16(0x45d)])!=null?_0x30ec6d:_0x5ace16(0x3f8);return{'changeset':{'unitID':_0x28ef6d,'type':_0x10416f(_0x223cc6[_0x5ace16(0x477)](_0x28ef6d)),'baseRev':_0x5e0596['getCurrentRevOfUnit'](_0x28ef6d),'revision':0x0,'userID':_0x4b5880,'memberID':_0xcc539f,'mutations':_0x55424e},'pendingMutations':[]};}function Oi(_0x4b049d,_0x518fd7){var _0x4e130a=_0xe5cf50;const _0x4c068b=new _0x515433(0x1);return setTimeout(()=>_0x4c068b[_0x4e130a(0x1dd)](_0x518fd7),_0x4b049d),_0x4c068b[_0x4e130a(0x1f9)]()[_0x4e130a(0x34d)](_0x49d364(0x1));}const ur={'id':_0x30a27c['id'],'type':_0x7679c4[_0xe5cf50(0x288)],'params':{}};var dr=Object[_0xe5cf50(0x4a7)],fr=Object[_0xe5cf50(0x324)],Re=(_0x52a90a,_0x36ce2a,_0x49f2af,_0x5e43b0)=>{var _0x506c33=_0xe5cf50;for(var _0x35feba=_0x5e43b0>0x1?void 0x0:_0x5e43b0?fr(_0x36ce2a,_0x49f2af):_0x36ce2a,_0x5edefd=_0x52a90a[_0x506c33(0x2da)]-0x1,_0x2992e4;_0x5edefd>=0x0;_0x5edefd--)(_0x2992e4=_0x52a90a[_0x5edefd])&&(_0x35feba=(_0x5e43b0?_0x2992e4(_0x36ce2a,_0x49f2af,_0x35feba):_0x2992e4(_0x35feba))||_0x35feba);return _0x5e43b0&&_0x35feba&&dr(_0x36ce2a,_0x49f2af,_0x35feba),_0x35feba;},A=(_0x1d1917,_0xa8387b)=>(_0x466423,_0x52767e)=>_0xa8387b(_0x466423,_0x52767e,_0x1d1917),yi=(_0x112a26=>(_0x112a26['NOT_COLLAB']=_0xe5cf50(0x219),_0x112a26['SYNCED']=_0xe5cf50(0x2f5),_0x112a26['PENDING']=_0xe5cf50(0x26e),_0x112a26[_0xe5cf50(0x479)]='awaiting',_0x112a26[_0xe5cf50(0x46d)]=_0xe5cf50(0x4ab),_0x112a26[_0xe5cf50(0x277)]=_0xe5cf50(0x22a),_0x112a26[_0xe5cf50(0x2f6)]=_0xe5cf50(0x446),_0x112a26[_0xe5cf50(0x2f2)]=_0xe5cf50(0x1b3),_0x112a26))(yi||{});const Ni=0xea60;class be{constructor(_0x4b6ce2,_0x24ee09,_0x21072b,_0x46d1af,_0x51d63d,_0x359048,_0x80fefa,_0x1e3b59,_0x252f82){var _0x301a54=_0xe5cf50;N(this,_0x301a54(0x360),null),N(this,_0x301a54(0x276),[]),(this[_0x301a54(0x45f)]=_0x4b6ce2,this['type']=_0x24ee09,this['_handler']=_0x51d63d,this['_commandService']=_0x359048,this['_undoRedoService']=_0x80fefa,this[_0x301a54(0x3fa)]=_0x1e3b59,this['_localCacheService']=_0x252f82,this[_0x301a54(0x360)]=_0x21072b,this[_0x301a54(0x276)]=_0x46d1af);}[_0xe5cf50(0x36f)](_0x42ecfa){var _0x50e56d=_0xe5cf50;const _0x1c650a=this[_0x50e56d(0x3fa)][_0x50e56d(0x2c6)](this['unitID']);return _0x42ecfa[_0x50e56d(0x2d4)]>_0x1c650a+0x1?(this['_handler'][_0x50e56d(0x399)]({'from':_0x1c650a,'to':_0x42ecfa['revision']-0x1}),!0x0):!0x1;}[_0xe5cf50(0x1cd)](_0x261eb3){var _0x264089=_0xe5cf50;this[_0x264089(0x284)][_0x264089(0x269)](this[_0x264089(0x45f)],_0x261eb3);}['_transformSelections'](_0x4472e2){var _0x50cb3b=_0xe5cf50,_0x414221,_0x2dbbc8;(_0x2dbbc8=(_0x414221=this[_0x50cb3b(0x3c0)])[_0x50cb3b(0x1bb)])==null||_0x2dbbc8[_0x50cb3b(0x20b)](_0x414221,_0x4472e2);}[_0xe5cf50(0x48c)](_0x3ea0a9){var _0x36ce32=_0xe5cf50,_0x22062e,_0x1a7707;return(_0x1a7707=(_0x22062e=this[_0x36ce32(0x3c0)])[_0x36ce32(0x2f9)])==null?void 0x0:_0x1a7707[_0x36ce32(0x20b)](_0x22062e,_0x3ea0a9);}[_0xe5cf50(0x441)](_0x3aa4e9){var _0x43cec7=_0xe5cf50,_0x11a065,_0x48ecdb;return(_0x48ecdb=(_0x11a065=this[_0x43cec7(0x3c0)])['onTransformState'])==null?void 0x0:_0x48ecdb['call'](_0x11a065,_0x3aa4e9);}[_0xe5cf50(0x206)](_0x1f9a5c){var _0x513eb5=_0xe5cf50,_0x145e56,_0x3e4653,_0xe52a5;return(_0xe52a5=(_0x3e4653=(_0x145e56=this[_0x513eb5(0x3c0)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x3e4653[_0x513eb5(0x20b)](_0x145e56,_0x1f9a5c))!=null?_0xe52a5:_0x1f9a5c;}['_transformRemoteChangesetByStateCache'](_0x54711d){var _0x42b03f=_0xe5cf50,_0x37c991,_0x52dff6,_0xf8a61a;return(_0xf8a61a=(_0x52dff6=(_0x37c991=this[_0x42b03f(0x3c0)])[_0x42b03f(0x470)])==null?void 0x0:_0x52dff6[_0x42b03f(0x20b)](_0x37c991,_0x54711d))!=null?_0xf8a61a:_0x54711d;}['_syncEditingCollabCursor'](_0x485de9){var _0x2ea716=_0xe5cf50,_0x5cbe96,_0x150af9;if(this[_0x2ea716(0x33d)]===Q[_0x2ea716(0x2cf)]){const {unitID:_0x185375,mutations:_0x13b860,memberID:_0x219f18}=_0x485de9,_0x21a018=_0x13b860[0x0][_0x2ea716(0x365)][_0x2ea716(0x413)];Array['isArray'](_0x21a018)&&_0x21a018[_0x2ea716(0x2da)]>0x0&&((_0x150af9=(_0x5cbe96=this[_0x2ea716(0x3c0)])[_0x2ea716(0x38d)])==null||_0x150af9['call'](_0x5cbe96,{'unitID':_0x185375,'memberID':_0x219f18,'textRanges':_0x21a018}));}}['_updateLocalCache'](){var _0x29a2e7=_0xe5cf50,_0xae4ffd;(_0xae4ffd=this[_0x29a2e7(0x225)])==null||_0xae4ffd[_0x29a2e7(0x1fe)](this[_0x29a2e7(0x45f)],this[_0x29a2e7(0x33d)],this[_0x29a2e7(0x360)],this[_0x29a2e7(0x276)]);}[_0xe5cf50(0x1fb)](){var _0xe6d7fd=_0xe5cf50;return this['_revisionService'][_0xe6d7fd(0x2c6)](this[_0xe6d7fd(0x45f)]);}[_0xe5cf50(0x26d)](){var _0x145327=_0xe5cf50;this['_revisionService'][_0x145327(0x272)](this[_0x145327(0x45f)]);}[_0xe5cf50(0x415)](_0x425d60){var _0x3561d8=_0xe5cf50,_0x3b848c;let _0x1d4703=this[_0x3561d8(0x206)](_0x425d60);_0x1d4703=this['_transformRemoteChangesetByStateCache'](_0x1d4703);const _0x49a51d=_0x9fe256(_0x1d4703[_0x3561d8(0x306)],this[_0x3561d8(0x1f5)],{'fromCollab':!0x0});if(!_0x49a51d[_0x3561d8(0x417)])throw _0x49a51d[_0x3561d8(0x21e)]instanceof Error?_0x49a51d[_0x3561d8(0x21e)]:new Error((_0x3b848c=_0x49a51d[_0x3561d8(0x21e)])!=null?_0x3b848c:_0x3561d8(0x43d));this['_transformIMECache'](_0x1d4703),this[_0x3561d8(0x441)](_0x1d4703),this['_transformUndoredo'](_0x425d60),this[_0x3561d8(0x33b)](_0x1d4703),this[_0x3561d8(0x23c)](_0x1d4703),this['_incrementRevisionNumber']();}}let De=class extends be{constructor(_0x5e8edb,_0x139fc6,_0x4a621f,_0x54a5c7,_0xdf7d,_0x13e376,_0x2d1aea,_0xad8235,_0x174b4e,_0x5a38ce){var _0x26d589=_0xe5cf50;super(_0x5e8edb,_0x139fc6,null,[],_0x4a621f,_0x2d1aea,_0x13e376,_0x54a5c7,_0x5a38ce),N(this,_0x26d589(0x3fb),_0x26d589(0x2f5)),(this[_0x26d589(0x49d)]=_0xdf7d,this['_logService']=_0xad8235,this[_0x26d589(0x3a3)]=_0x174b4e,this[_0x26d589(0x207)]=_0x5a38ce);}[_0xe5cf50(0x471)](_0x2d3b9e){var _0x8557e3=_0xe5cf50;const _0x2191dd=this[_0x8557e3(0x49d)]['createInstance'](oe,this['unitID'],this['type'],[_0x2d3b9e],this[_0x8557e3(0x3c0)]);return _0x2191dd[_0x8557e3(0x4a3)](),_0x2191dd[_0x8557e3(0x49c)](),_0x2191dd;}[_0xe5cf50(0x23f)](_0x237ecc){var _0x20c94=_0xe5cf50;if(this[_0x20c94(0x36f)](_0x237ecc))return this['_injector'][_0x20c94(0x3c4)](te,this[_0x20c94(0x45f)],this[_0x20c94(0x33d)],null,[],null,[_0x237ecc],this[_0x20c94(0x3c0)]);try{const _0x3a8720=this[_0x20c94(0x3a3)][_0x20c94(0x3b0)](_0x237ecc,[ur]);if(_0x4ab4da(_0x3a8720)){const {c1Prime:_0x13dcb8}=_0x3a8720;return this[_0x20c94(0x415)](_0x13dcb8),this;}throw _0x3a8720[_0x20c94(0x21e)];}catch(_0x541aa9){return this[_0x20c94(0x32c)][_0x20c94(0x21e)](_0x541aa9),this[_0x20c94(0x425)](!0x1);}}[_0xe5cf50(0x425)](_0x34e39e){var _0x23f3db=_0xe5cf50;return this[_0x23f3db(0x49d)][_0x23f3db(0x3c4)](de,this[_0x23f3db(0x45f)],this[_0x23f3db(0x33d)],null,[],this[_0x23f3db(0x3c0)],_0x34e39e);}[_0xe5cf50(0x278)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xe5cf50(0x4a8)](){return this;}['toggleOffline'](){var _0x36be70=_0xe5cf50;return this['_injector'][_0x36be70(0x3c4)](fe,this['unitID'],this[_0x36be70(0x33d)],null,[],this['_handler']);}['toggleOnline'](){return this;}[_0xe5cf50(0x221)](){var _0x5df1ad=_0xe5cf50;throw new Error(_0x5df1ad(0x2a2));}[_0xe5cf50(0x2ce)](){var _0x4015a2=_0xe5cf50;const _0x29a6ba=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);return this[_0x4015a2(0x3c0)][_0x4015a2(0x399)]({'from':_0x29a6ba,'to':0x0}),this[_0x4015a2(0x49d)][_0x4015a2(0x3c4)](te,this[_0x4015a2(0x45f)],this[_0x4015a2(0x33d)],null,[],null,[],this[_0x4015a2(0x3c0)]);}};De=Re([A(0x3,_0x1d51a6(_0x3410cd)),A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x512149),A(0x6,_0x40e4b8),A(0x7,_0x4597d7),A(0x8,_0x45bd1b),A(0x9,_0x32cef0(J))],De);let oe=class extends be{constructor(_0x29a1dc,_0xa57967,_0x362a8c,_0x379f36,_0x499b73,_0x2ac012,_0x51cb3d,_0x1ad08b,_0x1c8d0a,_0x4d41e5,_0x206584,_0x645d23,_0x5d9e66,_0x272f5e){var _0x20dede=_0xe5cf50;super(_0x29a1dc,_0xa57967,null,_0x362a8c,_0x379f36,_0x1c8d0a,_0x5d9e66,_0x2ac012,_0x272f5e),N(this,_0x20dede(0x3fb),_0x20dede(0x26e)),N(this,_0x20dede(0x447),null),N(this,_0x20dede(0x319),null),(this[_0x20dede(0x49d)]=_0x499b73,this[_0x20dede(0x336)]=_0x51cb3d,this[_0x20dede(0x32c)]=_0x1ad08b,this[_0x20dede(0x3ae)]=_0x4d41e5,this[_0x20dede(0x3a3)]=_0x206584,this['_univerInstanceService']=_0x645d23);}['appendMutation'](_0x3415a9){var _0x28dbfb=_0xe5cf50;return this[_0x28dbfb(0x276)]['push'](_0x3415a9),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x49fd96){var _0x18622f=_0xe5cf50;if(this['_checkMissing'](_0x49fd96))return this[_0x18622f(0x282)](),this[_0x18622f(0x49d)][_0x18622f(0x3c4)](te,this[_0x18622f(0x45f)],this[_0x18622f(0x33d)],null,this[_0x18622f(0x276)],null,[_0x49fd96],this['_handler']);try{const _0x5e0944=this[_0x18622f(0x3a3)]['transformMutationsWithChangeset'](_0x49fd96,this['_pendingMutations']);if(_0x4ab4da(_0x5e0944)){const {c1Prime:_0x478d2b,m2Prime:_0x38794a}=_0x5e0944;this['_executeRemoteChangeset'](_0x478d2b);const _0x35cc1d=this['_injector'][_0x18622f(0x3c4)](oe,this[_0x18622f(0x45f)],this[_0x18622f(0x33d)],_0x38794a,this[_0x18622f(0x3c0)]);this[_0x18622f(0x282)]();const _0x415810=new Date()['getTime'](),_0x3f96cd=this[_0x18622f(0x447)]?Math['max'](this['_scheduleCompleteTimestamp']-_0x415810,0x0):this['_getSendChangesetTimeout']();return _0x35cc1d['_schedule'](_0x3f96cd),_0x35cc1d;}throw _0x5e0944[_0x18622f(0x21e)];}catch(_0x525813){return this['_logService'][_0x18622f(0x21e)](_0x525813),this[_0x18622f(0x425)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){var _0x222d2b=_0xe5cf50;throw new Error(_0x222d2b(0x26f));}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){var _0x161bd1=_0xe5cf50;return this[_0x161bd1(0x282)](),this[_0x161bd1(0x49d)][_0x161bd1(0x3c4)](fe,this['unitID'],this['type'],null,this[_0x161bd1(0x276)],this[_0x161bd1(0x3c0)]);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x4a3)](_0x42cdc7){var _0x55044a=_0xe5cf50;const _0x2351c=_0x42cdc7!=null?_0x42cdc7:this[_0x55044a(0x21f)]();this[_0x55044a(0x447)]=new Date()[_0x55044a(0x34e)]()+_0x2351c,this[_0x55044a(0x319)]=setTimeout(()=>{var _0x125093=_0x55044a;this[_0x125093(0x282)]();let _0x2a6212=null;switch(this[_0x125093(0x33d)]){case Q[_0x125093(0x427)]:{_0x2a6212=zt(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this[_0x125093(0x3fa)],this['_memberService']);break;}case Q[_0x125093(0x2cf)]:{this[_0x125093(0x276)]['every'](_0x560392=>_0x560392['id']===_0x23b106['id'])?_0x2a6212=lr(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this['_revisionService'],this[_0x125093(0x336)]):_0x2a6212=zt(this[_0x125093(0x276)],this[_0x125093(0x45f)],this[_0x125093(0x1f3)],this['_revisionService'],this[_0x125093(0x336)]);break;}default:throw new Error(_0x125093(0x2f3)+this['type']+_0x125093(0x31f));}const {changeset:_0x3204da,pendingMutations:_0x1c8b18}=_0x2a6212;this['_handler'][_0x125093(0x2e8)](_0x3204da);const _0x391555=_0x1c8b18[_0x125093(0x2da)]?this['_injector'][_0x125093(0x3c4)](ae,this[_0x125093(0x45f)],this[_0x125093(0x33d)],_0x3204da,_0x1c8b18,this[_0x125093(0x3c0)],void 0x0):this['_injector']['createInstance'](ue,this[_0x125093(0x45f)],this[_0x125093(0x33d)],_0x3204da,this['_handler']);_0x391555[_0x125093(0x49c)](),this['_handler'][_0x125093(0x1bd)](this,_0x391555);},_0x2351c);}['_getSendChangesetTimeout'](){var _0x430bcd=_0xe5cf50,_0x3f1058;const _0x2769ff=this[_0x430bcd(0x3ae)][_0x430bcd(0x2ae)](q);return(_0x3f1058=_0x2769ff==null?void 0x0:_0x2769ff[_0x430bcd(0x3a5)])!=null?_0x3f1058:Cn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0xe5cf50(0x282)](){var _0x434626=_0xe5cf50;this[_0x434626(0x319)]!=null&&(clearTimeout(this[_0x434626(0x319)]),this[_0x434626(0x319)]=null);}[_0xe5cf50(0x425)](_0x5b6eea){var _0x523b5b=_0xe5cf50;return this[_0x523b5b(0x282)](),this[_0x523b5b(0x49d)][_0x523b5b(0x3c4)](de,this['unitID'],this[_0x523b5b(0x33d)],null,this[_0x523b5b(0x276)],this['_handler'],_0x5b6eea);}};oe=Re([A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x1d51a6(_0x3410cd)),A(0x6,_0x1d51a6(xe)),A(0x7,_0x4597d7),A(0x8,_0x40e4b8),A(0x9,_0x22ebb9),A(0xa,_0x45bd1b),A(0xb,_0x25173e),A(0xc,_0x512149),A(0xd,_0x32cef0(J))],oe);let ue=class extends be{constructor(_0x333e48,_0xc21e47,_0x56534c,_0x62d9db,_0x34aa14,_0x2b082b,_0x28953c,_0x490830,_0x48bb63,_0x2161f2,_0x294691){var _0x4d3621=_0xe5cf50;super(_0x333e48,_0xc21e47,_0x56534c,[],_0x62d9db,_0x28953c,_0x2161f2,_0x2b082b,_0x294691),N(this,'status',_0x4d3621(0x3ce)),N(this,_0x4d3621(0x1e7),0x0),N(this,_0x4d3621(0x33f)),N(this,'_sender'),(this['_injector']=_0x34aa14,this['_logService']=_0x490830,this[_0x4d3621(0x3a3)]=_0x48bb63);}['appendMutation'](_0x540ee8){var _0x5c5583=_0xe5cf50;this['_clearScheduledTask']();const _0x2ca71e=this[_0x5c5583(0x49d)][_0x5c5583(0x3c4)](ae,this[_0x5c5583(0x45f)],this[_0x5c5583(0x33d)],this[_0x5c5583(0x360)],[_0x540ee8],this['_handler'],this['_resendTimer']);return _0x2ca71e[_0x5c5583(0x49c)](),_0x2ca71e;}[_0xe5cf50(0x23f)](_0x4322c7){var _0xf8257b=_0xe5cf50;if(this['_checkMissing'](_0x4322c7))return this['_clearScheduledTask'](),this[_0xf8257b(0x49d)][_0xf8257b(0x3c4)](te,this[_0xf8257b(0x45f)],this[_0xf8257b(0x33d)],this[_0xf8257b(0x360)],[],null,[_0x4322c7],this[_0xf8257b(0x3c0)]);try{const _0x163236=this['_transformService'][_0xf8257b(0x459)]([_0x4322c7],[this[_0xf8257b(0x360)]],!0x1);if(_0x38e180(_0x163236)){const {c1Prime:_0x2fb284,c2Prime:_0x41d0ec}=_0x163236;this[_0xf8257b(0x415)](_0x2fb284[0x0]),_0x41d0ec[0x0][_0xf8257b(0x227)]=this['_getCurrentRevision'](),this[_0xf8257b(0x282)]();const _0x46f86a=this[_0xf8257b(0x49d)][_0xf8257b(0x3c4)](ue,this[_0xf8257b(0x45f)],this[_0xf8257b(0x33d)],_0x41d0ec[0x0],this[_0xf8257b(0x3c0)]);return _0x46f86a[_0xf8257b(0x49c)](),_0x46f86a;}return this['_onConflict'](!0x1);}catch(_0x3c036c){return this['_logService'][_0xf8257b(0x21e)](_0x3c036c),this['_onConflict'](!0x1);}}[_0xe5cf50(0x278)](_0x4b17bc){var _0x195e38=_0xe5cf50;this[_0x195e38(0x282)]();const _0x2910ce=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0x4b17bc[_0x195e38(0x2d4)]<_0x2910ce-0x1)return this;if(this['_checkMissing'](_0x4b17bc))return this['_injector'][_0x195e38(0x3c4)](te,this[_0x195e38(0x45f)],this[_0x195e38(0x33d)],null,[],this[_0x195e38(0x360)],[],this['_handler']);this[_0x195e38(0x26d)]();const _0x290786=this[_0x195e38(0x49d)]['createInstance'](De,this[_0x195e38(0x45f)],this[_0x195e38(0x33d)],this[_0x195e38(0x3c0)]);return _0x290786[_0x195e38(0x49c)](),_0x290786;}[_0xe5cf50(0x4a1)](_0x26a27e){var _0x3f312c=_0xe5cf50;return this['_onConflict'](!!(_0x26a27e!=null&&_0x26a27e[_0x3f312c(0x320)]));}[_0xe5cf50(0x4a8)](_0x5eea8b){var _0x5442d3=_0xe5cf50;return this[_0x5442d3(0x1e7)]>Ni?this[_0x5442d3(0x22e)]():(this['_resendTimer']=Oi(this[_0x5442d3(0x1e7)],{'timeout':this['_resendTimeout'],'reqId':_0x5eea8b[_0x5442d3(0x39a)]}),this['_sender']=this['_resendTimer'][_0x5442d3(0x1e9)](({reqId:_0x46fcf7,timeout:_0x2ba38a})=>{this['_resendWithTimeout'](_0x46fcf7,_0x2ba38a);}),this);}[_0xe5cf50(0x22e)](){var _0x390c17=_0xe5cf50;return this[_0x390c17(0x282)](),this[_0x390c17(0x49d)][_0x390c17(0x3c4)](fe,this[_0x390c17(0x45f)],this['type'],this[_0x390c17(0x360)],[],this[_0x390c17(0x3c0)]);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x221)](){var _0x51baa4=_0xe5cf50;this[_0x51baa4(0x3c0)][_0x51baa4(0x2e8)](this[_0x51baa4(0x360)]);}['_onConflict'](_0x2f24f1){var _0x140690=_0xe5cf50;return this['_clearScheduledTask'](),this['_injector'][_0x140690(0x3c4)](de,this['unitID'],this[_0x140690(0x33d)],this['_awaitingChangeset'],[],this[_0x140690(0x3c0)],_0x2f24f1);}[_0xe5cf50(0x222)](_0x1895d5,_0x1a306a){var _0xe6d9f6=_0xe5cf50,_0x28db3b;_0x1895d5===((_0x28db3b=this['_awaitingChangeset'])==null?void 0x0:_0x28db3b[_0xe6d9f6(0x39a)])&&(this['resend'](),this[_0xe6d9f6(0x1e7)]=_0x1a306a===0x0?0x3e8:_0x1a306a*0x2);}[_0xe5cf50(0x282)](){var _0x46298e=_0xe5cf50,_0x5aabbd;(_0x5aabbd=this[_0x46298e(0x402)])==null||_0x5aabbd[_0x46298e(0x31c)](),this[_0x46298e(0x1e7)]=0x0;}};ue=Re([A(0x4,_0x1d51a6(_0x1edb1c)),A(0x5,_0x1d51a6(_0x3410cd)),A(0x6,_0x40e4b8),A(0x7,_0x4597d7),A(0x8,_0x45bd1b),A(0x9,_0x512149),A(0xa,_0x32cef0(J))],ue);let ae=class extends be{constructor(_0x5d79d9,_0xca0039,_0x7737ce,_0x40214a,_0x5e6377,_0x910b5e,_0x2dced8,_0xfdc136,_0xb25eeb,_0x1d59d7,_0x2e489c,_0x50a6c3,_0x5527da){var _0x18eec7=_0xe5cf50;super(_0x5d79d9,_0xca0039,_0x7737ce,_0x40214a,_0x5e6377,_0xb25eeb,_0x50a6c3,_0xfdc136,_0x5527da),N(this,'status','awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x18eec7(0x33f)),N(this,_0x18eec7(0x402)),(this['_injector']=_0x2dced8,this['_logService']=_0x1d59d7,this['_transformService']=_0x2e489c,this['localCacheService']=_0x5527da,_0x910b5e&&(this[_0x18eec7(0x33f)]=_0x910b5e,this[_0x18eec7(0x402)]=this[_0x18eec7(0x33f)][_0x18eec7(0x1e9)](({reqId:_0x413914,timeout:_0x2eea43})=>{var _0x5dcfa0=_0x18eec7;this[_0x5dcfa0(0x222)](_0x413914,_0x2eea43);})));}[_0xe5cf50(0x471)](_0x56ce65){return this['_pendingMutations']['push'](_0x56ce65),this;}[_0xe5cf50(0x23f)](_0x28e708){var _0x3c8137=_0xe5cf50;if(this[_0x3c8137(0x36f)](_0x28e708))return this[_0x3c8137(0x282)](),this[_0x3c8137(0x49d)][_0x3c8137(0x3c4)](te,this['unitID'],this[_0x3c8137(0x33d)],this[_0x3c8137(0x360)],this['_pendingMutations'],null,[_0x28e708],this['_handler']);try{const _0x4380d0=this['_transformService'][_0x3c8137(0x459)]([_0x28e708],[this['_awaitingChangeset']],!0x1);if(_0x38e180(_0x4380d0)){const {c1Prime:_0x2279c6,c2Prime:_0x5e7030}=_0x4380d0,_0x1bd101=this['_transformService'][_0x3c8137(0x3b0)](_0x2279c6[0x0],this[_0x3c8137(0x276)]);if(_0x4ab4da(_0x1bd101)){const {c1Prime:_0x1e91cd,m2Prime:_0x392fa7}=_0x1bd101;return this[_0x3c8137(0x415)](_0x1e91cd),_0x5e7030[0x0][_0x3c8137(0x227)]=this['_getCurrentRevision'](),this[_0x3c8137(0x282)](),this['_injector'][_0x3c8137(0x3c4)](ae,this['unitID'],this[_0x3c8137(0x33d)],_0x5e7030[0x0],_0x392fa7,this['_handler'],void 0x0);}throw _0x1bd101[_0x3c8137(0x21e)];}throw _0x4380d0[_0x3c8137(0x21e)];}catch(_0x47ab7d){return this['_logService']['error'](_0x47ab7d),this['_onConflict'](!0x1);}}[_0xe5cf50(0x278)](_0x90f1b1){var _0x52049e=_0xe5cf50;if(this[_0x52049e(0x282)](),this[_0x52049e(0x36f)](_0x90f1b1))return this[_0x52049e(0x49d)][_0x52049e(0x3c4)](te,this['unitID'],this[_0x52049e(0x33d)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x52049e(0x3c0)]);this[_0x52049e(0x26d)]();const _0x47662d=this[_0x52049e(0x49d)]['createInstance'](oe,this[_0x52049e(0x45f)],this[_0x52049e(0x33d)],this[_0x52049e(0x276)],this[_0x52049e(0x3c0)]);return _0x47662d[_0x52049e(0x4a3)](),_0x47662d[_0x52049e(0x49c)](),_0x47662d;}[_0xe5cf50(0x4a1)](_0x18e984){var _0x1dd895=_0xe5cf50;return this[_0x1dd895(0x425)](!!(_0x18e984!=null&&_0x18e984[_0x1dd895(0x320)]));}[_0xe5cf50(0x4a8)](_0x5f5c23){var _0x34f59b=_0xe5cf50;return this[_0x34f59b(0x1e7)]>Ni?this['toggleOffline']():(this[_0x34f59b(0x33f)]=Oi(this['_resendTimeout'],{'timeout':this[_0x34f59b(0x1e7)],'reqId':_0x5f5c23[_0x34f59b(0x39a)]}),this[_0x34f59b(0x402)]=this['_resendTimer']['subscribe'](({reqId:_0x859d23,timeout:_0x377171})=>{this['_resendWithTimeout'](_0x859d23,_0x377171);}),this);}[_0xe5cf50(0x22e)](){var _0x5e9f69=_0xe5cf50;return this[_0x5e9f69(0x282)](),this['_injector'][_0x5e9f69(0x3c4)](fe,this[_0x5e9f69(0x45f)],this[_0x5e9f69(0x33d)],this[_0x5e9f69(0x360)],this[_0x5e9f69(0x276)],this[_0x5e9f69(0x3c0)]);}['toggleOnline'](){return this;}[_0xe5cf50(0x221)](){var _0x57db0a=_0xe5cf50;this['_handler'][_0x57db0a(0x2e8)](this['_awaitingChangeset']);}[_0xe5cf50(0x425)](_0x48abf1){var _0x5f00a1=_0xe5cf50;return this[_0x5f00a1(0x282)](),this[_0x5f00a1(0x49d)]['createInstance'](de,this[_0x5f00a1(0x45f)],this[_0x5f00a1(0x33d)],null,this[_0x5f00a1(0x276)],this[_0x5f00a1(0x3c0)],_0x48abf1);}[_0xe5cf50(0x222)](_0x52e9e8,_0x462a1a){var _0xbbdab0=_0xe5cf50,_0x49a9ef;_0x52e9e8===((_0x49a9ef=this[_0xbbdab0(0x360)])==null?void 0x0:_0x49a9ef[_0xbbdab0(0x39a)])&&(this[_0xbbdab0(0x221)](),this[_0xbbdab0(0x1e7)]=_0x462a1a===0x0?0x3e8:_0x462a1a*0x2);}['_clearScheduledTask'](){var _0x4b3b03=_0xe5cf50,_0x1895ef;(_0x1895ef=this[_0x4b3b03(0x402)])==null||_0x1895ef[_0x4b3b03(0x31c)](),this[_0x4b3b03(0x1e7)]=0x0;}};ae=Re([A(0x6,_0x1d51a6(_0x1edb1c)),A(0x7,_0x1d51a6(_0x3410cd)),A(0x8,_0x40e4b8),A(0x9,_0x4597d7),A(0xa,_0x45bd1b),A(0xb,_0x512149),A(0xc,_0x32cef0(J))],ae);let de=class extends be{constructor(_0x44eda7,_0x490c0c,_0x4fc1c5,_0x5d66da,_0x10601f,_0x258099=!0x1,_0x3b1fad,_0x58a2f1,_0x56e534,_0x57119f,_0xd84227,_0x29e225,_0x366f27){var _0x5c498a=_0xe5cf50;super(_0x44eda7,_0x490c0c,_0x4fc1c5,_0x5d66da,_0x10601f,_0x58a2f1,_0x56e534,_0x57119f,_0x366f27),N(this,_0x5c498a(0x3fb),_0x5c498a(0x446)),(this[_0x5c498a(0x2dc)]=_0x258099,this[_0x5c498a(0x1ac)]=_0x3b1fad,this[_0x5c498a(0x203)]=_0xd84227,this['_collaborationUIEventService']=_0x29e225,this[_0x5c498a(0x207)]=_0x366f27,this[_0x5c498a(0x3ff)](),this[_0x5c498a(0x2e7)](),this[_0x5c498a(0x2ff)]());}[_0xe5cf50(0x471)](){return this;}['onRemoteChangeset'](){return this;}[_0xe5cf50(0x278)](){return this;}[_0xe5cf50(0x4a1)](){return this;}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){return this;}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x221)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x53b442=_0xe5cf50,_0x460ead;(_0x460ead=this[_0x53b442(0x225)])==null||_0x460ead[_0x53b442(0x1fe)](this[_0x53b442(0x45f)],this[_0x53b442(0x33d)],null,[]);}['_showConflictNotification'](){var _0x21856a=_0xe5cf50;this['_isPermissionRej']?this[_0x21856a(0x29a)]['emitEvent']({'id':se[_0x21856a(0x42e)]}):this[_0x21856a(0x29a)][_0x21856a(0x4ae)]({'id':se[_0x21856a(0x2f6)]});}[_0xe5cf50(0x2ff)](){var _0x2b032d=_0xe5cf50;this['_permissionService'][_0x2b032d(0x3ec)](new _0x3d42b8(this['unitID'])['id'],!0x1);}};de=Re([A(0x6,_0x1d51a6(_0x1f54fc)),A(0x7,_0x40e4b8),A(0x8,_0x512149),A(0x9,_0x1d51a6(_0x3410cd)),A(0xa,_0x1d51a6(_0x3e1840)),A(0xb,_0x1d51a6(pe)),A(0xc,_0x32cef0(J))],de);let fe=class extends be{constructor(_0x1e4d5f,_0x555567,_0x43b7ba,_0x37f1f5,_0x32d9a1,_0x32e9ad,_0x4c967c,_0x39e768,_0x3845bb,_0xdae23f){var _0x3a84d0=_0xe5cf50;super(_0x1e4d5f,_0x555567,_0x43b7ba,_0x37f1f5,_0x32d9a1,_0x39e768,_0x3845bb,_0x4c967c,_0xdae23f),N(this,'status',_0x3a84d0(0x1b3)),this[_0x3a84d0(0x49d)]=_0x32e9ad;}[_0xe5cf50(0x471)](_0x11f27f){var _0x297bb2=_0xe5cf50;return this[_0x297bb2(0x276)]['push'](_0x11f27f),this['_updateLocalCache'](),this;}[_0xe5cf50(0x23f)](_0x2c5f83){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0xe5cf50(0x278)](){var _0x12c2b4=_0xe5cf50;throw new Error(_0x12c2b4(0x3e0));}['onRemoteRej'](){var _0x4ee2b5=_0xe5cf50;throw new Error(_0x4ee2b5(0x472));}[_0xe5cf50(0x4a8)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x26ad92=_0xe5cf50;const {_injector:_0x2ae705,_pendingMutations:_0xe648e,_awaitingChangeset:_0x4a5ad4,unitID:_0x56b392,_handler:_0x19176d,type:_0x55bcab}=this,_0x50b67d=Di(_0x2ae705,_0x56b392,_0x55bcab,_0x4a5ad4,_0xe648e,_0x19176d);return _0x50b67d instanceof oe?_0x50b67d['_schedule']():(_0x50b67d instanceof ae||_0x50b67d instanceof ue)&&_0x50b67d[_0x26ad92(0x221)](),_0x50b67d;}['resend'](){var _0x5b5be8=_0xe5cf50;throw new Error(_0x5b5be8(0x3af));}};fe=Re([A(0x5,_0x1d51a6(_0x1edb1c)),A(0x6,_0x1d51a6(_0x3410cd)),A(0x7,_0x40e4b8),A(0x8,_0x512149),A(0x9,_0x32cef0(J))],fe);let te=class extends be{constructor(_0x115252,_0x52d0ed,_0x50bbfe,_0x339ea2,_0x1900d0,_0x405a53,_0x4f2b9a,_0x4d51e5,_0x152b88,_0x5174c9,_0xcbaac9,_0x5ca891,_0x3ad725,_0x1ea0b4){var _0x166d24=_0xe5cf50;super(_0x115252,_0x52d0ed,_0x50bbfe,_0x339ea2,_0x4f2b9a,_0xcbaac9,_0x5ca891,_0x152b88,_0x1ea0b4),N(this,_0x166d24(0x3fb),'fetch_missing'),(this[_0x166d24(0x2fc)]=_0x1900d0,this['_queuedRemoteChangesets']=_0x405a53,this['_injector']=_0x4d51e5,this[_0x166d24(0x32c)]=_0x5174c9,this[_0x166d24(0x3a3)]=_0x3ad725,this[_0x166d24(0x207)]=_0x1ea0b4);}[_0xe5cf50(0x3df)](_0x248f2c){var _0x3182ac=_0xe5cf50;try{const _0x35e9dd=[..._0x248f2c,...this[_0x3182ac(0x32e)]],_0x4c16c8=[this[_0x3182ac(0x360)]||this['_acknowledgedAwaitingChangeset']][_0x3182ac(0x20d)](_0x37bfa1=>!!_0x37bfa1);let _0x50f211,_0x4f75f3;if(_0x4c16c8[_0x3182ac(0x2da)]){const _0xbfb7b3=this['_transformService'][_0x3182ac(0x459)](_0x35e9dd,_0x4c16c8,!0x1);if(!_0x38e180(_0xbfb7b3))throw _0xbfb7b3[_0x3182ac(0x21e)];_0x50f211=_0xbfb7b3[_0x3182ac(0x20a)],_0x4f75f3=_0xbfb7b3[_0x3182ac(0x372)];}else _0x50f211=_0x35e9dd,_0x4f75f3=[];let _0x588e19=this[_0x3182ac(0x276)];_0x50f211[_0x3182ac(0x21a)](_0x5ca0cc=>{var _0x26296f=_0x3182ac;let _0x33d887;if(_0x588e19['length']){const _0x1ca01f=this['_transformService'][_0x26296f(0x3b0)](_0x5ca0cc,_0x588e19);if(!_0x4ab4da(_0x1ca01f))throw _0x1ca01f[_0x26296f(0x21e)];_0x33d887=_0x1ca01f[_0x26296f(0x20a)],_0x588e19=_0x1ca01f[_0x26296f(0x22f)];}else _0x33d887=_0x5ca0cc;this['_executeRemoteChangeset'](_0x33d887);}),this['_acknowledgedAwaitingChangeset']&&this[_0x3182ac(0x26d)](),this[_0x3182ac(0x360)]&&_0x4f75f3['length']&&(_0x4f75f3[0x0][_0x3182ac(0x227)]=this['_getCurrentRevision']());let _0x12811f;if(this[_0x3182ac(0x360)]&&_0x588e19['length']!==0x0)_0x12811f=this[_0x3182ac(0x49d)]['createInstance'](ae,this['unitID'],this[_0x3182ac(0x33d)],_0x4f75f3[0x0],_0x588e19,this[_0x3182ac(0x3c0)],void 0x0);else{if(this['_awaitingChangeset']&&_0x588e19[_0x3182ac(0x2da)]===0x0)_0x4f75f3[0x0]['baseRev']=this[_0x3182ac(0x1fb)](),_0x12811f=this[_0x3182ac(0x49d)][_0x3182ac(0x3c4)](ue,this[_0x3182ac(0x45f)],this['type'],_0x4f75f3[0x0],this[_0x3182ac(0x3c0)]);else{if(_0x588e19[_0x3182ac(0x2da)]!==0x0){const _0x19aaab=this['_injector'][_0x3182ac(0x3c4)](oe,this[_0x3182ac(0x45f)],this['type'],_0x588e19,this[_0x3182ac(0x3c0)]);_0x19aaab['_schedule'](),_0x12811f=_0x19aaab;}else _0x12811f=this[_0x3182ac(0x49d)][_0x3182ac(0x3c4)](De,this[_0x3182ac(0x45f)],this[_0x3182ac(0x33d)],this[_0x3182ac(0x3c0)]);}}return _0x12811f[_0x3182ac(0x49c)](),_0x12811f;}catch(_0x2814a2){return this[_0x3182ac(0x32c)][_0x3182ac(0x21e)]('[FetchMissState]','failed\x20to\x20apply\x20missed\x20changesets!',_0x2814a2),this['_injector'][_0x3182ac(0x3c4)](de,this['unitID'],this['type'],this['_awaitingChangeset'],this[_0x3182ac(0x276)],this['_handler'],!0x1);}}['resend'](){var _0x27c3d1=_0xe5cf50;throw new Error(_0x27c3d1(0x461));}[_0xe5cf50(0x471)](_0x2ff662){var _0x3aa4c6=_0xe5cf50;return this['_pendingMutations'][_0x3aa4c6(0x430)](_0x2ff662),this;}[_0xe5cf50(0x23f)](_0x1f0f73){var _0x465e38=_0xe5cf50;return this[_0x465e38(0x32e)][_0x465e38(0x430)](_0x1f0f73),this;}[_0xe5cf50(0x278)](_0x419509){var _0x26ff9e=_0xe5cf50;if(this[_0x26ff9e(0x360)])return this[_0x26ff9e(0x2fc)]=this[_0x26ff9e(0x360)],this['_awaitingChangeset']=null,this;throw new Error(_0x26ff9e(0x208));}[_0xe5cf50(0x4a1)](_0x48d50c){var _0x5a651e=_0xe5cf50;return this[_0x5a651e(0x425)](!!(_0x48d50c!=null&&_0x48d50c['isPermissionRej']));}[_0xe5cf50(0x4a8)](){return this;}[_0xe5cf50(0x22e)](){var _0x2a0ae0=_0xe5cf50;return this[_0x2a0ae0(0x49d)][_0x2a0ae0(0x3c4)](fe,this['unitID'],this[_0x2a0ae0(0x33d)],this['_awaitingChangeset'],this[_0x2a0ae0(0x276)],this['_handler']);}[_0xe5cf50(0x1e1)](){return this;}[_0xe5cf50(0x425)](_0x4592e1){var _0xc1b5d7=_0xe5cf50;return this[_0xc1b5d7(0x49d)][_0xc1b5d7(0x3c4)](de,this[_0xc1b5d7(0x45f)],this[_0xc1b5d7(0x33d)],this[_0xc1b5d7(0x360)],this['_pendingMutations'],this[_0xc1b5d7(0x3c0)],_0x4592e1);}};te=Re([A(0x7,_0x1d51a6(_0x1edb1c)),A(0x8,_0x1d51a6(_0x3410cd)),A(0x9,_0x4597d7),A(0xa,_0x40e4b8),A(0xb,_0x512149),A(0xc,_0x45bd1b),A(0xd,_0x32cef0(J))],te);function Di(_0x51c40d,_0x255aba,_0x3d66f0,_0x55cfb8,_0x243aa1,_0x139854){var _0x1f7762=_0xe5cf50;return _0x55cfb8&&_0x243aa1[_0x1f7762(0x2da)]?_0x51c40d[_0x1f7762(0x3c4)](ae,_0x255aba,_0x3d66f0,_0x55cfb8,_0x243aa1,_0x139854,void 0x0):_0x55cfb8?_0x51c40d['createInstance'](ue,_0x255aba,_0x3d66f0,_0x55cfb8,_0x139854):_0x243aa1[_0x1f7762(0x2da)]?_0x51c40d[_0x1f7762(0x3c4)](oe,_0x255aba,_0x3d66f0,_0x243aa1,_0x139854):_0x51c40d[_0x1f7762(0x3c4)](De,_0x255aba,_0x3d66f0,_0x139854);}var vr=Object[_0xe5cf50(0x4a7)],pr=Object[_0xe5cf50(0x324)],Lt=(_0x304137,_0x5d6a23,_0x5c1402,_0x59aad2)=>{var _0x4c0aaa=_0xe5cf50;for(var _0x152cd0=_0x59aad2>0x1?void 0x0:_0x59aad2?pr(_0x5d6a23,_0x5c1402):_0x5d6a23,_0x46e0d6=_0x304137[_0x4c0aaa(0x2da)]-0x1,_0x4e25bd;_0x46e0d6>=0x0;_0x46e0d6--)(_0x4e25bd=_0x304137[_0x46e0d6])&&(_0x152cd0=(_0x59aad2?_0x4e25bd(_0x5d6a23,_0x5c1402,_0x152cd0):_0x4e25bd(_0x152cd0))||_0x152cd0);return _0x59aad2&&_0x152cd0&&vr(_0x5d6a23,_0x5c1402,_0x152cd0),_0x152cd0;},k=(_0x21b9fd,_0x524828)=>(_0x570535,_0x1970de)=>_0x524828(_0x570535,_0x1970de,_0x21b9fd);let nt=class extends _0x155349{constructor(_0x5e842d,_0x329585,_0x251550,_0x3dd3dd,_0x38760d,_0x4423bb,_0x5619ac,_0x7c47bb,_0x427313,_0x583117,_0x28a413,_0x23681a,_0x21e90e){var _0x2b5ebd=_0xe5cf50;super(),N(this,_0x2b5ebd(0x20c),new _0xd2a8b4(null)),N(this,_0x2b5ebd(0x2f0),this[_0x2b5ebd(0x20c)][_0x2b5ebd(0x1f9)]()),N(this,'_state'),N(this,_0x2b5ebd(0x46e),!0x1),N(this,'_changesetSessionId',''),N(this,_0x2b5ebd(0x1e6),0x0),N(this,'status$',this[_0x2b5ebd(0x2f0)][_0x2b5ebd(0x34d)](_0x1605e5(_0x43cd59=>_0x43cd59?_0x43cd59[_0x2b5ebd(0x3fb)]:yi[_0x2b5ebd(0x2f2)]),_0x363918(0x1))),N(this,_0x2b5ebd(0x304),!0x1),N(this,_0x2b5ebd(0x2ab),[]),(this[_0x2b5ebd(0x45f)]=_0x5e842d,this[_0x2b5ebd(0x2cb)]=_0x329585,this[_0x2b5ebd(0x3a0)]=_0x251550,this[_0x2b5ebd(0x49d)]=_0x3dd3dd,this[_0x2b5ebd(0x465)]=_0x38760d,this[_0x2b5ebd(0x203)]=_0x4423bb,this['_revisionService']=_0x5619ac,this[_0x2b5ebd(0x27f)]=_0x7c47bb,this[_0x2b5ebd(0x32c)]=_0x427313,this[_0x2b5ebd(0x1f5)]=_0x583117,this[_0x2b5ebd(0x1ac)]=_0x28a413,this[_0x2b5ebd(0x3b2)]=_0x23681a,this['_localCacheService']=_0x21e90e);}get['state'](){var _0x25d48d=_0xe5cf50;return this[_0x25d48d(0x2bc)];}async[_0xe5cf50(0x426)](){var _0x47cad0=_0xe5cf50;if(this['state'])throw new Error(_0x47cad0(0x3c5));await this['_init']();}['pauseCollaboration'](){var _0x5124ba=_0xe5cf50;return this[_0x5124ba(0x46e)]=!0x0,_0x33728b(()=>{var _0xfefffc=_0x5124ba;this[_0xfefffc(0x46e)]=!0x1,this[_0xfefffc(0x224)]();});}[_0xe5cf50(0x424)](_0x58d8d3){var _0x286121=_0xe5cf50;this[_0x286121(0x36a)](_0x58d8d3);}[_0xe5cf50(0x2f4)](_0x59be81){var _0x48038f=_0xe5cf50;this[_0x48038f(0x2bc)]=_0x59be81,this[_0x48038f(0x20c)][_0x48038f(0x1dd)](_0x59be81);}async['_init'](){var _0x487196=_0xe5cf50,_0x239ee1;this[_0x487196(0x2f4)](await this[_0x487196(0x2b5)]()),this[_0x487196(0x3b2)]&&((_0x239ee1=this[_0x487196(0x3b2)])==null||_0x239ee1[_0x487196(0x43e)](this[_0x487196(0x45f)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x487196(0x45f)])[_0x487196(0x1e9)](_0x14466f=>{var _0x578ef4=_0x487196;this['_logService'][_0x578ef4(0x340)](_0x578ef4(0x303),'editing\x20status\x20changed\x20to',_0x14466f),_0x14466f===bi[_0x578ef4(0x3ef)]?(this[_0x578ef4(0x27f)][_0x578ef4(0x4ae)]({'id':se[_0x578ef4(0x371)]}),this[_0x578ef4(0x1ac)][_0x578ef4(0x3ec)](new _0x3d42b8(this['unitID'])['id'],!0x1),this[_0x578ef4(0x1ac)][_0x578ef4(0x450)](!0x1)):(this[_0x578ef4(0x1ac)]['updatePermissionPoint'](new _0x3d42b8(this[_0x578ef4(0x45f)])['id'],!0x0),this['_permissionService'][_0x578ef4(0x450)](!0x0));})));let _0x569705=!0x1;return this[_0x487196(0x1fa)](this[_0x487196(0x2cb)]['sessionStatus$'][_0x487196(0x1e9)](_0x1c6b42=>{var _0x15904d=_0x487196;_0x1c6b42===Te[_0x15904d(0x292)]?this[_0x15904d(0x431)](_0x569705):_0x1c6b42===Te[_0x15904d(0x2f2)]&&(_0x569705=!0x0,this[_0x15904d(0x1d0)]());})),this[_0x487196(0x1fa)](this[_0x487196(0x2cb)]['event$'][_0x487196(0x1e9)](_0x252103=>{var _0xd52d3c=_0x487196;try{switch(_0x252103[_0xd52d3c(0x23e)]){case _0x11ed3f[_0xd52d3c(0x22c)]:{this[_0xd52d3c(0x46f)](_0x8516cb(_0x252103['data']));break;}case _0x11ed3f[_0xd52d3c(0x39e)]:{this[_0xd52d3c(0x3d4)](_0x252103[_0xd52d3c(0x1d5)]);break;}case _0x11ed3f[_0xd52d3c(0x2bf)]:{this['_onRemoteRejected']();break;}case _0x11ed3f[_0xd52d3c(0x498)]:{this[_0xd52d3c(0x353)](_0x252103[_0xd52d3c(0x1d5)]);break;}case _0x11ed3f[_0xd52d3c(0x49a)]:{this[_0xd52d3c(0x2e6)](_0x252103[_0xd52d3c(0x1d5)][_0xd52d3c(0x325)][_0xd52d3c(0x1f7)](_0x2fbe7e=>_0x8516cb(_0x2fbe7e)));break;}case _0x11ed3f[_0xd52d3c(0x21b)]:{this[_0xd52d3c(0x449)]({'isPermissionRej':!0x0});break;}case _0x11ed3f[_0xd52d3c(0x369)]:break;}}catch(_0x2af966){throw console[_0xd52d3c(0x21e)](_0xd52d3c(0x3a6),_0x2af966),_0x2af966;}})),this[_0x487196(0x2bc)];}[_0xe5cf50(0x3a4)](){this['_transitionLocked']=!0x1;}['_lockTransition'](){var _0x500c6f=_0xe5cf50;if(this[_0x500c6f(0x304)])throw new Error(_0x500c6f(0x267));this[_0x500c6f(0x304)]=!0x0;}[_0xe5cf50(0x36a)](_0x1a1721){var _0x2b4dee=_0xe5cf50;this[_0x2b4dee(0x3da)](),this[_0x2b4dee(0x2f4)](this[_0x2b4dee(0x2bc)][_0x2b4dee(0x471)](_0x1a1721)),this[_0x2b4dee(0x3a4)]();}[_0xe5cf50(0x46f)](_0x27e707){var _0x5c3264=_0xe5cf50;if(!(_0x27e707[_0x5c3264(0x2d4)]<=this[_0x5c3264(0x3fa)][_0x5c3264(0x2c6)](this['unitID']))){if(this[_0x5c3264(0x46e)]){this[_0x5c3264(0x2ab)]['push'](_0x27e707);return;}this['_applyRemoteChangeset'](_0x27e707);}}[_0xe5cf50(0x224)](){var _0x52a866=_0xe5cf50;this['_remoteChangesetQueue'][_0x52a866(0x21a)](_0x4a36c7=>this[_0x52a866(0x287)](_0x4a36c7)),this[_0x52a866(0x2ab)]=[];}[_0xe5cf50(0x287)](_0xe800a2){var _0x571640=_0xe5cf50;const _0x2db54d=this['_compressMutationService']['interceptor'][_0x571640(0x4ac)](this[_0x571640(0x465)]['interceptor'][_0x571640(0x309)]()[_0x571640(0x1b9)])(_0xe800a2[_0x571640(0x306)],null)||_0xe800a2['mutations'],_0x4ab012={..._0xe800a2,'mutations':_0x2db54d};this[_0x571640(0x3da)](),this[_0x571640(0x2f4)](this[_0x571640(0x2bc)][_0x571640(0x23f)](_0x4ab012)),this[_0x571640(0x3a4)]();}['_onRemoteACK'](_0x20c5f1){var _0x3fce08=_0xe5cf50;this['_lockTransition'](),this[_0x3fce08(0x2f4)](this[_0x3fce08(0x2bc)][_0x3fce08(0x278)](_0x20c5f1)),this[_0x3fce08(0x3a4)]();}['_onRemoteRejected'](_0x276ff9){var _0x589d3d=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this['_state'][_0x589d3d(0x4a1)](_0x276ff9)),this[_0x589d3d(0x3a4)]();}[_0xe5cf50(0x353)](_0x18d181){var _0x3c4549=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this[_0x3c4549(0x2bc)][_0x3c4549(0x4a8)](_0x18d181)),this['_unlockTransition']();}['_onFetchMissResult'](_0x1f028a){var _0x46ed96=_0xe5cf50;if(!(this[_0x46ed96(0x2bc)]instanceof te))throw new TypeError(_0x46ed96(0x35c));const _0x27ceac=_0x1f028a[_0x46ed96(0x1f7)](_0x5cdad8=>{var _0x34c09f=_0x46ed96;const _0x312d0b=this[_0x34c09f(0x465)]['interceptor'][_0x34c09f(0x4ac)](this[_0x34c09f(0x465)][_0x34c09f(0x245)][_0x34c09f(0x309)]()[_0x34c09f(0x1b9)])(_0x5cdad8['mutations'],null)||_0x5cdad8['mutations'];return{..._0x5cdad8,'mutations':_0x312d0b};});this['_lockTransition'](),this[_0x46ed96(0x2f4)](this[_0x46ed96(0x2bc)]['onMissedChangesetFetched'](_0x27ceac)),this['_unlockTransition']();}[_0xe5cf50(0x1d0)](){var _0x4ee0c8=_0xe5cf50;this['_lockTransition'](),this['_updateState'](this[_0x4ee0c8(0x2bc)][_0x4ee0c8(0x22e)]()),this[_0x4ee0c8(0x3a4)]();}[_0xe5cf50(0x431)](_0x2be335=!0x1){var _0x16ca8e=_0xe5cf50;this[_0x16ca8e(0x3da)](),this[_0x16ca8e(0x2f4)](this[_0x16ca8e(0x2bc)][_0x16ca8e(0x1e1)]()),this['_unlockTransition']();const _0x1a8239=this['_state'];_0x2be335&&_0x1a8239 instanceof De&&(this[_0x16ca8e(0x3da)](),this[_0x16ca8e(0x2f4)](_0x1a8239[_0x16ca8e(0x2ce)]()),this[_0x16ca8e(0x3a4)]());}async[_0xe5cf50(0x2b5)](){return new Promise(_0x3d24e7=>{var _0x6f95ef=_0x6808;this[_0x6f95ef(0x2cb)]['sessionStatus$'][_0x6f95ef(0x34d)](_0x49d364(0x1))[_0x6f95ef(0x1e9)](async _0x512d06=>{var _0xc7546b=_0x6f95ef;_0x3d24e7(await this[_0xc7546b(0x2d7)](_0x512d06===Te[_0xc7546b(0x292)]));});});}[_0xe5cf50(0x43c)](){var _0x2d98cf=_0xe5cf50;const _0x1bfb02=this[_0x2d98cf(0x45f)];return{'onStateChange':(_0x35ab7c,_0x2e3483)=>{var _0x3792da=_0x2d98cf;if(_0x35ab7c!==this[_0x3792da(0x2bc)])throw new Error(_0x3792da(0x39f)+_0x35ab7c['status']+'\x0aAfter:\x20'+_0x2e3483['status']+_0x3792da(0x2bd)+this['_state'][_0x3792da(0x3fb)]);this[_0x3792da(0x2f4)](_0x2e3483);},'onSendChangeset':_0x5c94da=>{var _0x45779f=_0x2d98cf;_0x5c94da[_0x45779f(0x230)]||(_0x5c94da[_0x45779f(0x230)]=this['_changesetSessionId'],_0x5c94da['reqId']=++this[_0x45779f(0x1e6)]);const _0x43e2b8={'eventID':_0x11ed3f[_0x45779f(0x3c3)],'data':{'unitID':_0x5c94da[_0x45779f(0x45f)],'unitType':this[_0x45779f(0x3a0)],'changeset':_0x5c94da,'memberID':this[_0x45779f(0x2cb)][_0x45779f(0x3f6)]()}};this['session'][_0x45779f(0x484)](_0x43e2b8,this[_0x45779f(0x45f)]);},'onMissingChangesets':({from:_0x21387e,to:_0x3a3cda})=>{var _0x2ab0b0=_0x2d98cf;this['_logService'][_0x2ab0b0(0x340)](_0x2ab0b0(0x303),_0x2ab0b0(0x2ba)+_0x21387e+'\x20to\x20'+_0x3a3cda);const _0xbe69a={'eventID':_0x11ed3f[_0x2ab0b0(0x490)],'data':{'unitID':_0x1bfb02,'unitType':this['_type'],'from':_0x21387e,'to':_0x3a3cda}};this[_0x2ab0b0(0x2cb)][_0x2ab0b0(0x484)](_0xbe69a,this[_0x2ab0b0(0x45f)]);}};}async[_0xe5cf50(0x2d7)](_0x1745ab){var _0x278bd0=_0xe5cf50,_0x51bb9a,_0x1c238f,_0x3995ae;const _0x1e9a45=await((_0x51bb9a=this['_localCacheService'])==null?void 0x0:_0x51bb9a[_0x278bd0(0x421)](this[_0x278bd0(0x45f)])),_0x1a604c=(_0x1c238f=_0x1e9a45==null?void 0x0:_0x1e9a45[_0x278bd0(0x306)])!=null?_0x1c238f:[],_0x4bdd7c=(_0x3995ae=_0x1e9a45==null?void 0x0:_0x1e9a45[_0x278bd0(0x2d3)])!=null?_0x3995ae:null,_0x5bbf4f=!!(_0x4bdd7c!=null&&_0x4bdd7c[_0x278bd0(0x230)])&&!!(_0x4bdd7c!=null&&_0x4bdd7c['reqId']);this['_changesetSessionId']=_0x5bbf4f?_0x4bdd7c['sid']:sr(),this[_0x278bd0(0x1e6)]=_0x5bbf4f?_0x4bdd7c['reqId']:0x0;const _0xecf984=this[_0x278bd0(0x45f)];try{this['_replayCachedMutations'](_0x4bdd7c,_0x1a604c);}catch(_0x22fd9c){this[_0x278bd0(0x32c)][_0x278bd0(0x21e)](_0x22fd9c);}const _0x4be177=this[_0x278bd0(0x43c)]();if(_0x1745ab){const _0x34206f=Di(this['_injector'],_0xecf984,this[_0x278bd0(0x3a0)],_0x4bdd7c,_0x1a604c,_0x4be177);return _0x34206f instanceof oe?_0x34206f[_0x278bd0(0x4a3)]():(_0x34206f instanceof ae||_0x34206f instanceof ue)&&_0x34206f[_0x278bd0(0x221)](),_0x34206f;}return this['_injector'][_0x278bd0(0x3c4)](fe,_0xecf984,this[_0x278bd0(0x3a0)],_0x4bdd7c,_0x1a604c,_0x4be177);}[_0xe5cf50(0x30d)](_0x4e04a2,_0x554090){var _0x961e89=_0xe5cf50,_0x37c705,_0x47c93c;const _0x1d09ad=this[_0x961e89(0x465)]['interceptor'][_0x961e89(0x4ac)](this['_compressMutationService'][_0x961e89(0x245)]['getInterceptPoints']()[_0x961e89(0x1b9)]);(_0x37c705=_0x1d09ad((_0x4e04a2==null?void 0x0:_0x4e04a2[_0x961e89(0x306)])||[],null))==null||_0x37c705[_0x961e89(0x21a)](_0x5d7cec=>this[_0x961e89(0x1f5)][_0x961e89(0x3cd)](_0x5d7cec['id'],_0x5d7cec[_0x961e89(0x365)])),(_0x47c93c=_0x1d09ad(_0x554090||[],null))==null||_0x47c93c[_0x961e89(0x21a)](_0x2c2475=>this[_0x961e89(0x1f5)][_0x961e89(0x3cd)](_0x2c2475['id'],_0x2c2475[_0x961e89(0x365)]));}};nt=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(pe)),k(0x8,_0x4597d7),k(0x9,_0x40e4b8),k(0xa,_0x1f54fc),k(0xb,_0x32cef0(ht)),k(0xc,_0x32cef0(J))],nt);let Tt=class extends nt{constructor(_0x65ebc8,_0x459976,_0x19bfa3,_0xf00020,_0x4ace50,_0x3c1c28,_0x43c452,_0x1b00d8,_0xb4b405,_0x473070,_0x198f11,_0x8e7283,_0x2db9c5){var _0x34c0da=_0xe5cf50;super(_0x65ebc8,_0x19bfa3,_0x459976,_0xf00020,_0x4ace50,_0x3c1c28,_0x43c452,_0x1b00d8,_0xb4b405,_0x473070,_0x198f11,_0x8e7283,_0x2db9c5),N(this,_0x34c0da(0x3c9),null),(this['unitID']=_0x65ebc8,this['type']=_0x459976);}[_0xe5cf50(0x1db)](_0x2ae003){var _0x304406=_0xe5cf50;this[_0x304406(0x3c9)]=_0x2ae003;}[_0xe5cf50(0x410)](){var _0x5d3e93=_0xe5cf50;this[_0x5d3e93(0x3c9)]=null,super[_0x5d3e93(0x410)]();}[_0xe5cf50(0x43c)](){var _0x2cd7b7=_0xe5cf50;const _0x46c84d=super[_0x2cd7b7(0x43c)]();return _0x46c84d[_0x2cd7b7(0x2f9)]=_0x13ce34=>{var _0x1010ba=_0x2cd7b7,_0x321afc,_0x1adbdf;return(_0x1adbdf=(_0x321afc=this[_0x1010ba(0x3c9)])==null?void 0x0:_0x321afc['onTransformIME'])==null?void 0x0:_0x1adbdf[_0x1010ba(0x20b)](_0x321afc,_0x13ce34);},_0x46c84d[_0x2cd7b7(0x290)]=_0x48baf2=>{var _0x29d7bf=_0x2cd7b7,_0x13d254,_0x4b3bcd;return(_0x4b3bcd=(_0x13d254=this[_0x29d7bf(0x3c9)])==null?void 0x0:_0x13d254[_0x29d7bf(0x290)])==null?void 0x0:_0x4b3bcd[_0x29d7bf(0x20b)](_0x13d254,_0x48baf2);},_0x46c84d[_0x2cd7b7(0x1bb)]=_0x2b82e7=>{var _0xd3e0d0=_0x2cd7b7,_0x4087a8,_0x37a042;return(_0x37a042=(_0x4087a8=this[_0xd3e0d0(0x3c9)])==null?void 0x0:_0x4087a8[_0xd3e0d0(0x1bb)])==null?void 0x0:_0x37a042[_0xd3e0d0(0x20b)](_0x4087a8,_0x2b82e7);},_0x46c84d[_0x2cd7b7(0x38d)]=_0x5c861a=>{var _0x641c75=_0x2cd7b7,_0x323cc9,_0x5110af;return(_0x5110af=(_0x323cc9=this[_0x641c75(0x3c9)])==null?void 0x0:_0x323cc9[_0x641c75(0x38d)])==null?void 0x0:_0x5110af[_0x641c75(0x20b)](_0x323cc9,_0x5c861a);},_0x46c84d[_0x2cd7b7(0x3bc)]=_0x241b79=>{var _0x44500f=_0x2cd7b7,_0x156516,_0x59d766,_0x5e7744;if(!((_0x156516=this['_handlerCallback'])!=null&&_0x156516[_0x44500f(0x3bc)]))throw new Error(_0x44500f(0x390));return(_0x5e7744=(_0x59d766=this[_0x44500f(0x3c9)])==null?void 0x0:_0x59d766[_0x44500f(0x3bc)])==null?void 0x0:_0x5e7744[_0x44500f(0x20b)](_0x59d766,_0x241b79);},_0x46c84d[_0x2cd7b7(0x470)]=_0xd5ac1f=>{var _0x330e1c=_0x2cd7b7,_0x41c790,_0x26a95c,_0x4de5a3;if(!((_0x41c790=this['_handlerCallback'])!=null&&_0x41c790['onTransformRemoteChangesetByStateCache']))throw new Error(_0x330e1c(0x3d0));return(_0x4de5a3=(_0x26a95c=this[_0x330e1c(0x3c9)])==null?void 0x0:_0x26a95c[_0x330e1c(0x470)])==null?void 0x0:_0x4de5a3[_0x330e1c(0x20b)](_0x26a95c,_0xd5ac1f);},_0x46c84d;}async['_init'](){var _0x4cd6b4=_0xe5cf50;const _0x4c7297=await super[_0x4cd6b4(0x2b0)]();return this[_0x4cd6b4(0x1fa)](this[_0x4cd6b4(0x1f5)][_0x4cd6b4(0x2df)]((_0x21631c,_0x10595e)=>{var _0x5b58b9=_0x4cd6b4;if(_0x21631c[_0x5b58b9(0x33d)]!==_0x7679c4[_0x5b58b9(0x288)]||_0x10595e!=null&&_0x10595e[_0x5b58b9(0x2b2)]||_0x10595e!=null&&_0x10595e['onlyLocal']||_0x21631c['id']===_0x23b106['id'])return;const _0x34bb71=_0x21631c[_0x5b58b9(0x365)];if((_0x34bb71==null?void 0x0:_0x34bb71['unitId'])!==this[_0x5b58b9(0x45f)])return;const _0x2ca7f0=_0x21631c,_0x5593a6=this[_0x5b58b9(0x465)]['interceptor'][_0x5b58b9(0x4ac)](this[_0x5b58b9(0x465)]['interceptor'][_0x5b58b9(0x309)]()[_0x5b58b9(0x3ca)])([_0x2ca7f0],null)||[_0x2ca7f0];this[_0x5b58b9(0x36a)](_0x5593a6[0x0]);})),_0x4c7297;}};Tt=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(pe)),k(0x8,_0x4597d7),k(0x9,_0x40e4b8),k(0xa,_0x1f54fc),k(0xb,_0x32cef0(ht)),k(0xc,_0x32cef0(J))],Tt);let Ct=class extends nt{constructor(_0x43ab5c,_0x22a674,_0x5a3b82,_0x128eae,_0x270516,_0x27a2e9,_0xca9409,_0x3c385e,_0x5d34f8,_0xbaea91,_0x471e98,_0x57ba4a,_0x5c750a,_0x503a41){var _0x208859=_0xe5cf50;super(_0x43ab5c,_0x5a3b82,_0x22a674,_0x128eae,_0x270516,_0x27a2e9,_0xca9409,_0x5d34f8,_0xbaea91,_0x471e98,_0x57ba4a,_0x5c750a,_0x503a41),this[_0x208859(0x45f)]=_0x43ab5c,this[_0x208859(0x33d)]=_0x22a674,this[_0x208859(0x3f7)]=_0x3c385e;}[_0xe5cf50(0x43c)](){var _0x36f0be=_0xe5cf50;const _0x29d107=super['_createHandler']();return _0x29d107[_0x36f0be(0x1bb)]=_0x1b5dba=>this[_0x36f0be(0x3f7)][_0x36f0be(0x321)](_0x1b5dba),_0x29d107;}async[_0xe5cf50(0x2b0)](){var _0x40a6ff=_0xe5cf50;const _0x2adea9=await super[_0x40a6ff(0x2b0)]();return this[_0x40a6ff(0x1fa)](this[_0x40a6ff(0x1f5)][_0x40a6ff(0x2df)]((_0x43421b,_0x280674)=>{var _0x4ac153=_0x40a6ff;if(_0x43421b['type']!==_0x7679c4[_0x4ac153(0x288)]||_0x280674!=null&&_0x280674[_0x4ac153(0x2b2)]||_0x280674!=null&&_0x280674[_0x4ac153(0x2e1)])return;const _0x56d41e=_0x43421b['params'];if((_0x56d41e==null?void 0x0:_0x56d41e[_0x4ac153(0x358)])!==this[_0x4ac153(0x45f)])return;const _0x1a67c8=_0x43421b,_0x30211a=this[_0x4ac153(0x465)][_0x4ac153(0x245)]['fetchThroughInterceptors'](this[_0x4ac153(0x465)][_0x4ac153(0x245)][_0x4ac153(0x309)]()['COMPRESS_MUTATION_SEND'])([_0x1a67c8],null)||[_0x1a67c8];this[_0x4ac153(0x36a)](_0x30211a[0x0]);})),_0x2adea9;}};Ct=Lt([k(0x3,_0x1d51a6(_0x1edb1c)),k(0x4,_0x1d51a6(_0x56682d)),k(0x5,_0x1d51a6(_0x3e1840)),k(0x6,_0x1d51a6(_0x3410cd)),k(0x7,_0x1d51a6(it)),k(0x8,_0x1d51a6(pe)),k(0x9,_0x4597d7),k(0xa,_0x40e4b8),k(0xb,_0x1f54fc),k(0xc,_0x32cef0(ht)),k(0xd,_0x32cef0(J))],Ct);var mr=Object[_0xe5cf50(0x4a7)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0xabeae6,_0x3beebf,_0x46d6fd,_0x211291)=>{for(var _0x5899bd=_0x211291>0x1?void 0x0:_0x211291?gr(_0x3beebf,_0x46d6fd):_0x3beebf,_0x3cc274=_0xabeae6['length']-0x1,_0xcbeaa1;_0x3cc274>=0x0;_0x3cc274--)(_0xcbeaa1=_0xabeae6[_0x3cc274])&&(_0x5899bd=(_0x211291?_0xcbeaa1(_0x3beebf,_0x46d6fd,_0x5899bd):_0xcbeaa1(_0x5899bd))||_0x5899bd);return _0x211291&&_0x5899bd&&mr(_0x3beebf,_0x46d6fd,_0x5899bd),_0x5899bd;},ft=(_0xec0e57,_0x46a525)=>(_0x15ffd0,_0x241c62)=>_0x46a525(_0x15ffd0,_0x241c62,_0xec0e57);let rt=class extends _0x155349{constructor(_0x8949e3,_0x17272c,_0x45fd9b){var _0x575872=_0xe5cf50;super(),N(this,_0x575872(0x37a),new Map()),N(this,'_entityInit$',new _0x355bd5()),N(this,'entityInit$',this['_entityInit$']['asObservable']()),(this['_injector']=_0x8949e3,this[_0x575872(0x305)]=_0x17272c,this[_0x575872(0x1f3)]=_0x45fd9b,this[_0x575872(0x2b0)]());}[_0xe5cf50(0x410)](){var _0x889bc0=_0xe5cf50;super[_0x889bc0(0x410)](),this[_0x889bc0(0x37a)][_0x889bc0(0x21a)](_0x472b19=>_0x472b19[_0x889bc0(0x410)]()),this['_entities'][_0x889bc0(0x314)]();}['getCollabEntity'](_0x25bc08){var _0x4d5325=_0xe5cf50,_0x23be81;return(_0x23be81=this[_0x4d5325(0x37a)][_0x4d5325(0x442)](_0x25bc08))!=null?_0x23be81:null;}[_0xe5cf50(0x28b)](_0x479b7a){var _0x20c591=_0xe5cf50;const _0xd585ae=this[_0x20c591(0x389)](_0x479b7a);return _0xd585ae?_0x6fb856(_0xd585ae):this[_0x20c591(0x329)][_0x20c591(0x34d)](_0x2c2600(_0xf1d685=>_0xf1d685['unitID']===_0x479b7a));}[_0xe5cf50(0x3cb)](_0xf3adb0){var _0x120cc2=_0xe5cf50;return _0x5ae48c(this['getCollabEntity$'](_0xf3adb0)[_0x120cc2(0x34d)](_0x137573(()=>{})));}[_0xe5cf50(0x2b0)](){var _0x46809d=_0xe5cf50;this[_0x46809d(0x1f3)]['getTypeOfUnitAdded$'](_0xed9f94[_0x46809d(0x427)])[_0x46809d(0x34d)](_0x349e1a(this[_0x46809d(0x3a7)]),_0x513ef8(0x10))[_0x46809d(0x1e9)](async _0x14dc67=>{var _0x5d048e=_0x46809d;const _0x4cc0be=_0x14dc67[_0x5d048e(0x326)](),_0x1f7e2f=await this['_startCollaboration'](_0x4cc0be,Q[_0x5d048e(0x427)]);this['_entities'][_0x5d048e(0x458)](_0x4cc0be,_0x1f7e2f);}),this[_0x46809d(0x1f3)][_0x46809d(0x32a)](_0xed9f94[_0x46809d(0x2cf)])['pipe'](_0x349e1a(this[_0x46809d(0x3a7)]),_0x513ef8(0x10))[_0x46809d(0x34d)](_0x2c2600(_0x3247d1=>!_0x3247d1[_0x46809d(0x326)]()[_0x46809d(0x237)]('__')))[_0x46809d(0x1e9)](async _0x393517=>{var _0x10a972=_0x46809d;const _0x13b7d0=_0x393517[_0x10a972(0x326)](),_0x21af3f=await this[_0x10a972(0x3cf)](_0x13b7d0,Q['UNIVER_DOC']);this['_entities'][_0x10a972(0x458)](_0x13b7d0,_0x21af3f);}),_0x25b517(this[_0x46809d(0x1f3)][_0x46809d(0x1ff)](_0xed9f94[_0x46809d(0x427)]),this[_0x46809d(0x1f3)]['getTypeOfUnitDisposed$'](_0xed9f94[_0x46809d(0x2cf)]))[_0x46809d(0x34d)](_0x349e1a(this[_0x46809d(0x3a7)]))['subscribe'](_0x1d2be4=>{var _0x2d7c4e=_0x46809d;const _0x1d1a71=_0x1d2be4['getUnitId'](),_0x48ada3=this[_0x2d7c4e(0x37a)][_0x2d7c4e(0x442)](_0x1d1a71);_0x48ada3&&(_0x48ada3[_0x2d7c4e(0x410)](),this['_entities']['delete'](_0x1d1a71));});}async['_startCollaboration'](_0x1d4e42,_0x1f7d52){var _0x53b8e1=_0xe5cf50;const _0x1932f5=await this['_collabSessionService'][_0x53b8e1(0x41d)](_0x1d4e42),_0x10e480=this[_0x53b8e1(0x49d)][_0x53b8e1(0x3c4)](this[_0x53b8e1(0x256)](_0x1f7d52),_0x1d4e42,_0x1f7d52,_0x1932f5);return await _0x10e480[_0x53b8e1(0x426)](),this['_entityInit$'][_0x53b8e1(0x1dd)](_0x10e480),_0x10e480;}[_0xe5cf50(0x256)](_0x43d939){var _0x37968f=_0xe5cf50;switch(_0x43d939){case Q['UNIVER_DOC']:return Tt;case Q[_0x37968f(0x427)]:return Ct;default:throw new Error(_0x37968f(0x1d1)+_0x43d939);}}};rt=Sr([ft(0x0,_0x1d51a6(_0x1edb1c)),ft(0x1,_0x1d51a6(Le)),ft(0x2,_0x25173e)],rt);var Er=Object['defineProperty'],Ir=Object[_0xe5cf50(0x324)],Tr=(_0x24c2b5,_0x48527a,_0x31d4f3,_0x3ee160)=>{var _0x58b6c7=_0xe5cf50;for(var _0x24e1d9=_0x3ee160>0x1?void 0x0:_0x3ee160?Ir(_0x48527a,_0x31d4f3):_0x48527a,_0x5d89dc=_0x24c2b5[_0x58b6c7(0x2da)]-0x1,_0x2bc65b;_0x5d89dc>=0x0;_0x5d89dc--)(_0x2bc65b=_0x24c2b5[_0x5d89dc])&&(_0x24e1d9=(_0x3ee160?_0x2bc65b(_0x48527a,_0x31d4f3,_0x24e1d9):_0x2bc65b(_0x24e1d9))||_0x24e1d9);return _0x3ee160&&_0x24e1d9&&Er(_0x48527a,_0x31d4f3,_0x24e1d9),_0x24e1d9;},Jt=(_0x6d20b4,_0xf3ef4e)=>(_0x271b0c,_0x47f8f9)=>_0xf3ef4e(_0x271b0c,_0x47f8f9,_0x6d20b4);const Cr=_0xe5cf50(0x36c),Rr=_0xe5cf50(0x1e3);let Rt=class extends _0x15bb7e{constructor(_0x571859,_0x5e6154){var _0x1ff300=_0xe5cf50;super(),this['_univerInstanceService']=_0x571859,this[_0x1ff300(0x3ae)]=_0x5e6154,this[_0x1ff300(0x2b0)]();}[_0xe5cf50(0x2b0)](){var _0x4a2b8a=_0xe5cf50;this[_0x4a2b8a(0x1fa)](this['_univerInstanceService']['focused$'][_0x4a2b8a(0x1e9)](()=>{var _0x1ae3ca=_0x4a2b8a,_0x3b5bb8;const _0x2de3d4=this['_univerInstanceService']['getFocusedUnit']();let _0x57269f=(_0x3b5bb8=this['_configService']['getConfig'](Cr))!=null?_0x3b5bb8:Rr;_0x2de3d4 instanceof _0x4fa49c&&(_0x57269f=_0x2de3d4[_0x1ae3ca(0x436)]),document[_0x1ae3ca(0x1ce)]=_0x57269f;}));}};Rt=Tr([Jt(0x0,_0x25173e),Jt(0x1,_0x22ebb9)],Rt);var br=Object[_0xe5cf50(0x4a7)],Or=Object[_0xe5cf50(0x324)],yr=(_0x37a0f1,_0x4e345c,_0x1747b3,_0x1a9e18)=>{var _0x3a9de7=_0xe5cf50;for(var _0x1c2888=_0x1a9e18>0x1?void 0x0:_0x1a9e18?Or(_0x4e345c,_0x1747b3):_0x4e345c,_0x58d8b5=_0x37a0f1[_0x3a9de7(0x2da)]-0x1,_0x3b0f6c;_0x58d8b5>=0x0;_0x58d8b5--)(_0x3b0f6c=_0x37a0f1[_0x58d8b5])&&(_0x1c2888=(_0x1a9e18?_0x3b0f6c(_0x4e345c,_0x1747b3,_0x1c2888):_0x3b0f6c(_0x1c2888))||_0x1c2888);return _0x1a9e18&&_0x1c2888&&br(_0x4e345c,_0x1747b3,_0x1c2888),_0x1c2888;},vt=(_0x481cbb,_0x27a309)=>(_0x5723fd,_0xe37ae3)=>_0x27a309(_0x5723fd,_0xe37ae3,_0x481cbb);let st=class{constructor(_0x4cd6ba,_0x194b29,_0x195d68){var _0x4e3f5c=_0xe5cf50;this['_configService']=_0x4cd6ba,this[_0x4e3f5c(0x36e)]=_0x194b29,this['localeService']=_0x195d68,this[_0x4e3f5c(0x426)]();}[_0xe5cf50(0x426)](){var _0x2de9d7=_0xe5cf50;this[_0x2de9d7(0x36e)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x117b18,_0x46c23d)=>_0x46c23d(_0x117b18)['pipe'](_0x1b2c8c(async _0xc0a036=>{var _0xc424c9=_0x2de9d7;const _0x50e21d=_0xc0a036;if(_0x50e21d[_0xc424c9(0x3fb)]===0x191){if(typeof window>'u')throw new Error(_0xc424c9(0x1be));if(window['confirm'](this[_0xc424c9(0x2a6)]['t'](_0xc424c9(0x1d6)))){const _0x57d869=window['encodeURIComponent'](window[_0xc424c9(0x3f5)][_0xc424c9(0x235)]);window[_0xc424c9(0x3f5)][_0xc424c9(0x235)]=this['_getLoginPath']()+_0xc424c9(0x1ab)+_0x57d869;}}return _0x50e21d;}))});}[_0xe5cf50(0x359)](){var _0x299406=_0xe5cf50,_0x3218a8,_0x23d788;const _0x2b4c98=this[_0x299406(0x3ae)]['getConfig'](xn),_0x17c0bc=this[_0x299406(0x3ae)]['getConfig'](q);return(_0x23d788=(_0x3218a8=_0x17c0bc==null?void 0x0:_0x17c0bc[_0x299406(0x432)])!=null?_0x3218a8:_0x2b4c98)!=null?_0x23d788:Ln;}};st=yr([vt(0x0,_0x22ebb9),vt(0x1,_0x1d51a6(_0x2e5962)),vt(0x2,_0x1d51a6(_0x3e1840))],st);var Nr=Object['defineProperty'],Dr=Object[_0xe5cf50(0x324)],Pr=(_0x1dd003,_0x5a434a,_0xd1d699,_0x4f40a3)=>{var _0x67cfe6=_0xe5cf50;for(var _0x25ba81=_0x4f40a3>0x1?void 0x0:_0x4f40a3?Dr(_0x5a434a,_0xd1d699):_0x5a434a,_0x1c3ada=_0x1dd003[_0x67cfe6(0x2da)]-0x1,_0x50e142;_0x1c3ada>=0x0;_0x1c3ada--)(_0x50e142=_0x1dd003[_0x1c3ada])&&(_0x25ba81=(_0x4f40a3?_0x50e142(_0x5a434a,_0xd1d699,_0x25ba81):_0x50e142(_0x25ba81))||_0x25ba81);return _0x4f40a3&&_0x25ba81&&Nr(_0x5a434a,_0xd1d699,_0x25ba81),_0x25ba81;},Xt=(_0x1a8d9d,_0x547089)=>(_0x2ec02f,_0x1a8daa)=>_0x547089(_0x2ec02f,_0x1a8daa,_0x1a8d9d);const Pi=_0xe5cf50(0x210),wr=_0xe5cf50(0x307);let bt=class extends _0x15bb7e{constructor(_0x4de2d4,_0x33bf7e){var _0x2ecb2c=_0xe5cf50;super(),this[_0x2ecb2c(0x462)]=_0x4de2d4,this[_0x2ecb2c(0x3ae)]=_0x33bf7e,this[_0x2ecb2c(0x406)]();}[_0xe5cf50(0x406)](){var _0x243c93=_0xe5cf50;const _0x1d3fa4=this;this['disposeWithMe'](this[_0x243c93(0x462)][_0x243c93(0x2d6)]({'priority':0x3e7,'interceptor':_0x9f0991({'isMatch'(_0x47b9c1){var _0x4841b2=_0x243c93,_0x33cf3e;if(_0x47b9c1[_0x4841b2(0x3c2)]==='POST'&&((_0x33cf3e=_0x47b9c1[_0x4841b2(0x344)])!=null&&_0x33cf3e['body'])){const {objectID:_0x3e9ca7,objectType:_0x2e8f64}=_0x47b9c1['requestParams']['body']||{};if(!_0x3e9ca7||_0x2e8f64===void 0x0)return!0x1;const _0xf1736e=_0x1d3fa4['_getAPIPrefixPath']()+'/'+_0x2e8f64+'/object/'+_0x3e9ca7+_0x4841b2(0x40f);if(_0x47b9c1[_0x4841b2(0x333)]===_0xf1736e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x51f999){var _0x5e2872=_0x243c93,_0x3075f2;return(_0x3075f2=_0x51f999[_0x5e2872(0x344)])==null?void 0x0:_0x3075f2[_0x5e2872(0x2f7)];},'mergeParamsToRequest'(_0x15f4f4,_0x408c0f){var _0xd5e872=_0x243c93;const _0xa8b5c6=_0x1d3fa4[_0xd5e872(0x300)]()+_0xd5e872(0x1c3),_0x56ab0d=_0x15f4f4['reduce']((_0x3f5968,_0xf1e5d3)=>{var _0x50142f=_0xd5e872;const {unitID:_0x24719a,objectID:_0x28d0c7,objectType:_0x1f9369,actions:_0x57978b}=_0xf1e5d3;return _0x3f5968[_0x24719a]||(_0x3f5968[_0x24719a]={}),_0x3f5968[_0x24719a][_0x28d0c7]||(_0x3f5968[_0x24719a][_0x28d0c7]={'objectID':_0x28d0c7,'objectType':_0x1f9369,'actions':[]}),_0x3f5968[_0x24719a][_0x28d0c7][_0x50142f(0x2ea)][_0x50142f(0x430)](..._0x57978b),_0x3f5968;},{}),_0x3dd58c=[];for(const _0x2cbd98 in _0x56ab0d)for(const _0x51f4ed in _0x56ab0d[_0x2cbd98]){const {actions:_0x185547,objectType:_0x55c70f}=_0x56ab0d[_0x2cbd98][_0x51f4ed],_0x5e8b93=[...new Set(_0x185547)];_0x3dd58c[_0xd5e872(0x430)]({'unitID':_0x2cbd98,'objectID':_0x51f4ed,'objectType':_0x55c70f,'actions':_0x5e8b93});}return new _0x18d74a('POST',_0xa8b5c6,{'headers':_0x408c0f[_0xd5e872(0x433)],'withCredentials':_0x408c0f[_0xd5e872(0x1d8)],'responseType':_0x408c0f[_0xd5e872(0x2e0)],'body':{'requests':_0x3dd58c}});}},{'distributeResult'(_0x2a9141,_0x39c263){var _0x5075fd=_0x243c93;const {objectActions:_0x3ed65b}=_0x2a9141;return _0x39c263[_0x5075fd(0x1f7)](_0x54fe34=>{var _0x3fc510=_0x5075fd;const {unitID:_0x1c6e06,objectID:_0x3e48e8,actions:_0x37bf57}=_0x54fe34,_0x3c5537=_0x3ed65b[_0x3fc510(0x315)](_0x3189f7=>_0x3189f7['unitID']===_0x1c6e06&&_0x3189f7[_0x3fc510(0x49e)]===_0x3e48e8),_0x3b2ed5=_0x37bf57[_0x3fc510(0x1f7)](_0x3a66bf=>_0x3c5537==null?void 0x0:_0x3c5537[_0x3fc510(0x2ea)][_0x3fc510(0x315)](_0x249c53=>_0x249c53[_0x3fc510(0x350)]===_0x3a66bf))['filter'](_0x1b506d=>!!_0x1b506d);return{'config':_0x54fe34,'result':{'actions':_0x3b2ed5,'error':_0x2a9141[_0x3fc510(0x21e)]}};});}})}));}[_0xe5cf50(0x300)](){var _0x5290b0=_0xe5cf50,_0x3c69f6,_0x51c053;const _0x1e3ca1=this[_0x5290b0(0x3ae)][_0x5290b0(0x2ae)](Pi),_0x5b15e5=this['_configService'][_0x5290b0(0x2ae)](q);return(_0x51c053=(_0x3c69f6=_0x5b15e5==null?void 0x0:_0x5b15e5[_0x5290b0(0x42d)])!=null?_0x3c69f6:_0x1e3ca1)!=null?_0x51c053:wr;}async[_0xe5cf50(0x475)](_0x25998e){var _0x461c39=_0xe5cf50;const _0x3354ec=this[_0x461c39(0x300)]()+'/'+_0x25998e[_0x461c39(0x351)]+_0x461c39(0x362);return(await this[_0x461c39(0x462)]['post'](_0x3354ec,{'body':_0x25998e}))[_0x461c39(0x2f7)]['objectID']||'';}async['list'](_0x4a8f70){var _0x5be200=_0xe5cf50;const _0x30c2cc=this[_0x5be200(0x300)]()+'/-/object/list';return(await this['_HTTPService']['post'](_0x30c2cc,{'body':_0x4a8f70}))['body'][_0x5be200(0x3a8)];}async[_0xe5cf50(0x3de)](_0x29eedf){var _0x37e2c9=_0xe5cf50;const _0x44855c=this[_0x37e2c9(0x300)]()+'/'+_0x29eedf[_0x37e2c9(0x351)]+_0x37e2c9(0x378)+_0x29eedf['objectID'];await this[_0x37e2c9(0x462)][_0x37e2c9(0x1c7)](_0x44855c,{'body':_0x29eedf});}async[_0xe5cf50(0x200)](_0x5dd12a){var _0x83272a=_0xe5cf50;const _0x537c1b=this['_getAPIPrefixPath']()+'/'+_0x5dd12a[_0x83272a(0x351)]+_0x83272a(0x378)+_0x5dd12a[_0x83272a(0x49e)]+'/allowed';return(await this['_HTTPService']['post'](_0x537c1b,{'body':_0x5dd12a}))[_0x83272a(0x2f7)][_0x83272a(0x2ea)];}async['batchAllowed'](_0x1160f7){var _0x2eb186=_0xe5cf50;const _0x2bea57=this[_0x2eb186(0x300)]()+_0x2eb186(0x1c3);return(await this[_0x2eb186(0x462)][_0x2eb186(0x3b8)](_0x2bea57,{'body':{'requests':_0x1160f7}}))['body'][_0x2eb186(0x1c4)];}async[_0xe5cf50(0x46b)](_0x87f886){var _0x58e756=_0xe5cf50;const _0x271c68=this['_getAPIPrefixPath']()+'/'+_0x87f886[_0x58e756(0x351)]+_0x58e756(0x428),_0x243a8b=await this[_0x58e756(0x462)][_0x58e756(0x3b8)](_0x271c68,{'body':_0x87f886});return{'roles':_0x243a8b['body'][_0x58e756(0x231)],'actions':_0x243a8b['body'][_0x58e756(0x2ea)]};}async['deleteCollaborator'](_0x3aee3f){var _0x3655b7=_0xe5cf50;const _0xcc5c1=this[_0x3655b7(0x300)]()+_0x3655b7(0x2c9);await this[_0x3655b7(0x462)][_0x3655b7(0x494)](_0xcc5c1,{'params':{'collaboratorID':_0x3aee3f[_0x3655b7(0x355)],'objectID':_0x3aee3f[_0x3655b7(0x49e)],'unitID':_0x3aee3f[_0x3655b7(0x45f)]}});}async[_0xe5cf50(0x2ac)](_0x384119){var _0x1d7818=_0xe5cf50;const _0x53e29a=this[_0x1d7818(0x300)]()+'/collaborator';await this[_0x1d7818(0x462)][_0x1d7818(0x236)](_0x53e29a,{'body':_0x384119});}async[_0xe5cf50(0x49b)](_0x83ebf7){var _0x1110bc=_0xe5cf50;const _0x4abc20=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x1110bc(0x462)][_0x1110bc(0x3b8)](_0x4abc20,{'body':_0x83ebf7});}async[_0xe5cf50(0x1ed)](_0x23610d){var _0x56460d=_0xe5cf50;const _0x8bc721=this[_0x56460d(0x300)]()+'/collaborator';return(await this[_0x56460d(0x462)][_0x56460d(0x442)](_0x8bc721,{'params':{'objectID':_0x23610d[_0x56460d(0x49e)],'unitID':_0x23610d[_0x56460d(0x45f)]}}))[_0x56460d(0x2f7)][_0x56460d(0x25f)];}async[_0xe5cf50(0x1b4)](_0x3d9742){var _0x1d1671=_0xe5cf50;const _0x112979=this['_getAPIPrefixPath']()+_0x1d1671(0x2c9);await this['_HTTPService'][_0x1d1671(0x1c7)](_0x112979,{'body':_0x3d9742});}};bt=Pr([Xt(0x0,_0x1d51a6(_0x2e5962)),Xt(0x1,_0x1d51a6(_0x22ebb9))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x28b594){var _0x45a6f4=_0xe5cf50;return _0x28b594&&_0x28b594[_0x45a6f4(0x35b)]&&Object[_0x45a6f4(0x239)]['hasOwnProperty'][_0x45a6f4(0x20b)](_0x28b594,_0x45a6f4(0x318))?_0x28b594[_0x45a6f4(0x318)]:_0x28b594;}var Ve={'exports':{}};function Ur(_0x2e10ab){var _0x4395be=_0xe5cf50;throw new Error(_0x4395be(0x2b7)+_0x2e10ab+_0x4395be(0x2a5));}var Ge={'exports':{}},Ar=Ge[_0xe5cf50(0x3bb)],Zt;function ne(){var _0x1160de=_0xe5cf50;return Zt||(Zt=0x1,function(_0x6fd4c5,_0x360ec0){(function(_0x2184a9,_0x9ad6e0){var _0x46ef4c=_0x6808;_0x6fd4c5[_0x46ef4c(0x3bb)]=_0x9ad6e0();}(Ar,function(){var _0xb24922=_0xb24922||function(_0x86cfc2,_0x6b4786){var _0x881fd8=_0x6808,_0x530d61;if(typeof window<'u'&&window['crypto']&&(_0x530d61=window['crypto']),typeof self<'u'&&self[_0x881fd8(0x396)]&&(_0x530d61=self[_0x881fd8(0x396)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x530d61=globalThis['crypto']),!_0x530d61&&typeof window<'u'&&window['msCrypto']&&(_0x530d61=window[_0x881fd8(0x286)]),!_0x530d61&&typeof pt<'u'&&pt[_0x881fd8(0x396)]&&(_0x530d61=pt[_0x881fd8(0x396)]),!_0x530d61&&typeof Ur=='function')try{_0x530d61=require(_0x881fd8(0x396));}catch{}var _0x45a724=function(){var _0xff4738=_0x881fd8;if(_0x530d61){if(typeof _0x530d61[_0xff4738(0x331)]==_0xff4738(0x29b))try{return _0x530d61[_0xff4738(0x331)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x530d61[_0xff4738(0x48d)]==_0xff4738(0x29b))try{return _0x530d61[_0xff4738(0x48d)](0x4)['readInt32LE']();}catch{}}throw new Error(_0xff4738(0x48a));},_0x32ddc7=Object[_0x881fd8(0x475)]||(function(){function _0x1dbf37(){}return function(_0x140b44){var _0x40e9c8=_0x6808,_0x147355;return _0x1dbf37[_0x40e9c8(0x239)]=_0x140b44,_0x147355=new _0x1dbf37(),_0x1dbf37[_0x40e9c8(0x239)]=null,_0x147355;};}()),_0x1b0d76={},_0x4f80a3=_0x1b0d76['lib']={},_0x36dcb2=_0x4f80a3['Base']=(function(){return{'extend':function(_0x37beda){var _0x320e6c=_0x6808,_0xb801c=_0x32ddc7(this);return _0x37beda&&_0xb801c[_0x320e6c(0x25c)](_0x37beda),(!_0xb801c[_0x320e6c(0x387)]('init')||this[_0x320e6c(0x426)]===_0xb801c[_0x320e6c(0x426)])&&(_0xb801c[_0x320e6c(0x426)]=function(){var _0x39a679=_0x320e6c;_0xb801c[_0x39a679(0x356)]['init'][_0x39a679(0x1e5)](this,arguments);}),_0xb801c[_0x320e6c(0x426)]['prototype']=_0xb801c,_0xb801c['$super']=this,_0xb801c;},'create':function(){var _0x123793=_0x6808,_0x547e6e=this[_0x123793(0x1e0)]();return _0x547e6e[_0x123793(0x426)]['apply'](_0x547e6e,arguments),_0x547e6e;},'init':function(){},'mixIn':function(_0x27ba7a){var _0x59f90a=_0x6808;for(var _0x512ade in _0x27ba7a)_0x27ba7a['hasOwnProperty'](_0x512ade)&&(this[_0x512ade]=_0x27ba7a[_0x512ade]);_0x27ba7a[_0x59f90a(0x387)](_0x59f90a(0x1c1))&&(this['toString']=_0x27ba7a[_0x59f90a(0x1c1)]);},'clone':function(){var _0x51884e=_0x6808;return this[_0x51884e(0x426)][_0x51884e(0x239)]['extend'](this);}};}()),_0x8408bc=_0x4f80a3[_0x881fd8(0x35d)]=_0x36dcb2[_0x881fd8(0x1e0)]({'init':function(_0x2d6176,_0x52649f){var _0x1e4efd=_0x881fd8;_0x2d6176=this[_0x1e4efd(0x1c8)]=_0x2d6176||[],_0x52649f!=_0x6b4786?this['sigBytes']=_0x52649f:this['sigBytes']=_0x2d6176['length']*0x4;},'toString':function(_0x35725){var _0x269892=_0x881fd8;return(_0x35725||_0xc36204)[_0x269892(0x3e1)](this);},'concat':function(_0x3ff6e7){var _0x99b04=_0x881fd8,_0x3cb1ef=this[_0x99b04(0x1c8)],_0x503bff=_0x3ff6e7['words'],_0x2baef1=this[_0x99b04(0x488)],_0x88c7b7=_0x3ff6e7[_0x99b04(0x488)];if(this[_0x99b04(0x2d8)](),_0x2baef1%0x4)for(var _0x537c21=0x0;_0x537c21<_0x88c7b7;_0x537c21++){var _0x3fa1db=_0x503bff[_0x537c21>>>0x2]>>>0x18-_0x537c21%0x4*0x8&0xff;_0x3cb1ef[_0x2baef1+_0x537c21>>>0x2]|=_0x3fa1db<<0x18-(_0x2baef1+_0x537c21)%0x4*0x8;}else{for(var _0x2c726f=0x0;_0x2c726f<_0x88c7b7;_0x2c726f+=0x4)_0x3cb1ef[_0x2baef1+_0x2c726f>>>0x2]=_0x503bff[_0x2c726f>>>0x2];}return this[_0x99b04(0x488)]+=_0x88c7b7,this;},'clamp':function(){var _0x32e681=_0x881fd8,_0x398064=this[_0x32e681(0x1c8)],_0x41db9a=this[_0x32e681(0x488)];_0x398064[_0x41db9a>>>0x2]&=0xffffffff<<0x20-_0x41db9a%0x4*0x8,_0x398064[_0x32e681(0x2da)]=_0x86cfc2[_0x32e681(0x2fa)](_0x41db9a/0x4);},'clone':function(){var _0x5ed469=_0x881fd8,_0x499be7=_0x36dcb2[_0x5ed469(0x486)]['call'](this);return _0x499be7[_0x5ed469(0x1c8)]=this['words'][_0x5ed469(0x3aa)](0x0),_0x499be7;},'random':function(_0x58f9ca){var _0xae134a=_0x881fd8;for(var _0x543056=[],_0x2f3526=0x0;_0x2f3526<_0x58f9ca;_0x2f3526+=0x4)_0x543056['push'](_0x45a724());return new _0x8408bc[(_0xae134a(0x426))](_0x543056,_0x58f9ca);}}),_0x30a819=_0x1b0d76[_0x881fd8(0x423)]={},_0xc36204=_0x30a819[_0x881fd8(0x299)]={'stringify':function(_0x5b6678){var _0x3559a0=_0x881fd8;for(var _0x11c9bf=_0x5b6678[_0x3559a0(0x1c8)],_0x2dd375=_0x5b6678[_0x3559a0(0x488)],_0x253126=[],_0x318323=0x0;_0x318323<_0x2dd375;_0x318323++){var _0x25d52a=_0x11c9bf[_0x318323>>>0x2]>>>0x18-_0x318323%0x4*0x8&0xff;_0x253126[_0x3559a0(0x430)]((_0x25d52a>>>0x4)[_0x3559a0(0x1c1)](0x10)),_0x253126[_0x3559a0(0x430)]((_0x25d52a&0xf)[_0x3559a0(0x1c1)](0x10));}return _0x253126[_0x3559a0(0x1c9)]('');},'parse':function(_0x357098){var _0x549b42=_0x881fd8;for(var _0xffab4b=_0x357098['length'],_0x567921=[],_0x46f94f=0x0;_0x46f94f<_0xffab4b;_0x46f94f+=0x2)_0x567921[_0x46f94f>>>0x3]|=parseInt(_0x357098[_0x549b42(0x223)](_0x46f94f,0x2),0x10)<<0x18-_0x46f94f%0x8*0x4;return new _0x8408bc[(_0x549b42(0x426))](_0x567921,_0xffab4b/0x2);}},_0x2340a9=_0x30a819[_0x881fd8(0x26c)]={'stringify':function(_0x2e7a70){var _0x255271=_0x881fd8;for(var _0x2c3ab2=_0x2e7a70['words'],_0x75ee5f=_0x2e7a70['sigBytes'],_0x535abc=[],_0x22b033=0x0;_0x22b033<_0x75ee5f;_0x22b033++){var _0x289da4=_0x2c3ab2[_0x22b033>>>0x2]>>>0x18-_0x22b033%0x4*0x8&0xff;_0x535abc['push'](String[_0x255271(0x2e9)](_0x289da4));}return _0x535abc[_0x255271(0x1c9)]('');},'parse':function(_0x3135b0){var _0x580816=_0x881fd8;for(var _0x459a19=_0x3135b0['length'],_0x1b7836=[],_0xe21821=0x0;_0xe21821<_0x459a19;_0xe21821++)_0x1b7836[_0xe21821>>>0x2]|=(_0x3135b0[_0x580816(0x489)](_0xe21821)&0xff)<<0x18-_0xe21821%0x4*0x8;return new _0x8408bc['init'](_0x1b7836,_0x459a19);}},_0x25f692=_0x30a819[_0x881fd8(0x317)]={'stringify':function(_0x2d3285){var _0x1c2212=_0x881fd8;try{return decodeURIComponent(escape(_0x2340a9[_0x1c2212(0x3e1)](_0x2d3285)));}catch{throw new Error(_0x1c2212(0x380));}},'parse':function(_0x5367b7){var _0x4aef2a=_0x881fd8;return _0x2340a9[_0x4aef2a(0x44e)](unescape(encodeURIComponent(_0x5367b7)));}},_0x8015c7=_0x4f80a3['BufferedBlockAlgorithm']=_0x36dcb2[_0x881fd8(0x1e0)]({'reset':function(){var _0x3e91e7=_0x881fd8;this[_0x3e91e7(0x258)]=new _0x8408bc['init'](),this[_0x3e91e7(0x3d5)]=0x0;},'_append':function(_0x13bad5){var _0x257f63=_0x881fd8;typeof _0x13bad5==_0x257f63(0x1e4)&&(_0x13bad5=_0x25f692[_0x257f63(0x44e)](_0x13bad5)),this[_0x257f63(0x258)]['concat'](_0x13bad5),this[_0x257f63(0x3d5)]+=_0x13bad5[_0x257f63(0x488)];},'_process':function(_0x2e2f77){var _0x2d37fa=_0x881fd8,_0x2397f5,_0x21e9e8=this[_0x2d37fa(0x258)],_0x100ada=_0x21e9e8['words'],_0x4cd7da=_0x21e9e8[_0x2d37fa(0x488)],_0x6f5620=this[_0x2d37fa(0x327)],_0x4c50ad=_0x6f5620*0x4,_0x2cfe4b=_0x4cd7da/_0x4c50ad;_0x2e2f77?_0x2cfe4b=_0x86cfc2[_0x2d37fa(0x2fa)](_0x2cfe4b):_0x2cfe4b=_0x86cfc2['max']((_0x2cfe4b|0x0)-this[_0x2d37fa(0x21d)],0x0);var _0x43a149=_0x2cfe4b*_0x6f5620,_0x241f89=_0x86cfc2[_0x2d37fa(0x394)](_0x43a149*0x4,_0x4cd7da);if(_0x43a149){for(var _0x543711=0x0;_0x543711<_0x43a149;_0x543711+=_0x6f5620)this['_doProcessBlock'](_0x100ada,_0x543711);_0x2397f5=_0x100ada[_0x2d37fa(0x3fc)](0x0,_0x43a149),_0x21e9e8['sigBytes']-=_0x241f89;}return new _0x8408bc[(_0x2d37fa(0x426))](_0x2397f5,_0x241f89);},'clone':function(){var _0x2fea41=_0x881fd8,_0x3addc9=_0x36dcb2[_0x2fea41(0x486)][_0x2fea41(0x20b)](this);return _0x3addc9['_data']=this['_data'][_0x2fea41(0x486)](),_0x3addc9;},'_minBufferSize':0x0});_0x4f80a3[_0x881fd8(0x456)]=_0x8015c7[_0x881fd8(0x1e0)]({'cfg':_0x36dcb2['extend'](),'init':function(_0x284026){var _0x597d5d=_0x881fd8;this[_0x597d5d(0x481)]=this[_0x597d5d(0x481)][_0x597d5d(0x1e0)](_0x284026),this[_0x597d5d(0x1ea)]();},'reset':function(){var _0x40b23b=_0x881fd8;_0x8015c7[_0x40b23b(0x1ea)][_0x40b23b(0x20b)](this),this['_doReset']();},'update':function(_0x99d29a){var _0x70a31b=_0x881fd8;return this[_0x70a31b(0x262)](_0x99d29a),this['_process'](),this;},'finalize':function(_0x5d171a){var _0x2118ad=_0x881fd8;_0x5d171a&&this[_0x2118ad(0x262)](_0x5d171a);var _0x13c57a=this[_0x2118ad(0x316)]();return _0x13c57a;},'blockSize':0x10,'_createHelper':function(_0x391305){return function(_0x1f2fd7,_0x5d379c){var _0x2388f3=_0x6808;return new _0x391305[(_0x2388f3(0x426))](_0x5d379c)['finalize'](_0x1f2fd7);};},'_createHmacHelper':function(_0x3b7acd){return function(_0x596c48,_0x3b8554){var _0x30646c=_0x6808;return new _0xdb577b['HMAC'][(_0x30646c(0x426))](_0x3b7acd,_0x3b8554)[_0x30646c(0x281)](_0x596c48);};}});var _0xdb577b=_0x1b0d76[_0x881fd8(0x1b1)]={};return _0x1b0d76;}(Math);return _0xb24922;}));}(Ge)),Ge[_0x1160de(0x3bb)];}var We={'exports':{}},xr=We[_0xe5cf50(0x3bb)],Qt;function wi(){var _0x297854=_0xe5cf50;return Qt||(Qt=0x1,function(_0x5093ce,_0x5695b6){(function(_0x29c8fe,_0x43ca68){var _0x5e7af5=_0x6808;_0x5093ce[_0x5e7af5(0x3bb)]=_0x43ca68(ne());}(xr,function(_0x34a28e){var _0x44ae7e=_0x6808;return(function(){var _0x46b710=_0x6808,_0x4b0a10=_0x34a28e,_0x18d618=_0x4b0a10['lib'],_0xa96431=_0x18d618[_0x46b710(0x35d)],_0x495d0c=_0x4b0a10[_0x46b710(0x423)];_0x495d0c[_0x46b710(0x244)]={'stringify':function(_0x4037fa){var _0x5c3c4c=_0x46b710,_0x7523ce=_0x4037fa['words'],_0x1dd95b=_0x4037fa[_0x5c3c4c(0x488)],_0x5f4222=this[_0x5c3c4c(0x411)];_0x4037fa[_0x5c3c4c(0x2d8)]();for(var _0x315d2f=[],_0x28e8f7=0x0;_0x28e8f7<_0x1dd95b;_0x28e8f7+=0x3)for(var _0x54cf48=_0x7523ce[_0x28e8f7>>>0x2]>>>0x18-_0x28e8f7%0x4*0x8&0xff,_0x2c8647=_0x7523ce[_0x28e8f7+0x1>>>0x2]>>>0x18-(_0x28e8f7+0x1)%0x4*0x8&0xff,_0x1af9fc=_0x7523ce[_0x28e8f7+0x2>>>0x2]>>>0x18-(_0x28e8f7+0x2)%0x4*0x8&0xff,_0x363c69=_0x54cf48<<0x10|_0x2c8647<<0x8|_0x1af9fc,_0x26dc18=0x0;_0x26dc18<0x4&&_0x28e8f7+_0x26dc18*0.75<_0x1dd95b;_0x26dc18++)_0x315d2f[_0x5c3c4c(0x430)](_0x5f4222[_0x5c3c4c(0x28e)](_0x363c69>>>0x6*(0x3-_0x26dc18)&0x3f));var _0x3c5bd8=_0x5f4222[_0x5c3c4c(0x28e)](0x40);if(_0x3c5bd8){for(;_0x315d2f[_0x5c3c4c(0x2da)]%0x4;)_0x315d2f[_0x5c3c4c(0x430)](_0x3c5bd8);}return _0x315d2f['join']('');},'parse':function(_0x3f8703){var _0xbaa42=_0x46b710,_0xf0a31a=_0x3f8703[_0xbaa42(0x2da)],_0x3131b6=this[_0xbaa42(0x411)],_0x1ee476=this[_0xbaa42(0x44b)];if(!_0x1ee476){_0x1ee476=this['_reverseMap']=[];for(var _0xbe9f3b=0x0;_0xbe9f3b<_0x3131b6['length'];_0xbe9f3b++)_0x1ee476[_0x3131b6['charCodeAt'](_0xbe9f3b)]=_0xbe9f3b;}var _0x324caf=_0x3131b6[_0xbaa42(0x28e)](0x40);if(_0x324caf){var _0x5e695d=_0x3f8703[_0xbaa42(0x435)](_0x324caf);_0x5e695d!==-0x1&&(_0xf0a31a=_0x5e695d);}return _0x2749f8(_0x3f8703,_0xf0a31a,_0x1ee476);},'_map':_0x46b710(0x45e)};function _0x2749f8(_0x1660ca,_0x481a31,_0x3d18ba){var _0x33af46=_0x46b710;for(var _0x4ad79a=[],_0x3dec9c=0x0,_0x33a93f=0x0;_0x33a93f<_0x481a31;_0x33a93f++)if(_0x33a93f%0x4){var _0x436b52=_0x3d18ba[_0x1660ca[_0x33af46(0x489)](_0x33a93f-0x1)]<<_0x33a93f%0x4*0x2,_0x3e6d7a=_0x3d18ba[_0x1660ca[_0x33af46(0x489)](_0x33a93f)]>>>0x6-_0x33a93f%0x4*0x2,_0x3897a2=_0x436b52|_0x3e6d7a;_0x4ad79a[_0x3dec9c>>>0x2]|=_0x3897a2<<0x18-_0x3dec9c%0x4*0x8,_0x3dec9c++;}return _0xa96431[_0x33af46(0x475)](_0x4ad79a,_0x3dec9c);}}()),_0x34a28e[_0x44ae7e(0x423)][_0x44ae7e(0x244)];}));}(We)),We[_0x297854(0x3bb)];}var Ke={'exports':{}},Lr=Ke[_0xe5cf50(0x3bb)],ei;function Mr(){return ei||(ei=0x1,function(_0x338cfe,_0x592a4f){(function(_0x1a04cf,_0x3c4919){var _0x46b4f4=_0x6808;_0x338cfe[_0x46b4f4(0x3bb)]=_0x3c4919(ne());}(Lr,function(_0x12c44a){var _0x34b0ee=_0x6808;return function(_0x844cca){var _0x7bbc6=_0x6808,_0x13aac0=_0x12c44a,_0x157347=_0x13aac0[_0x7bbc6(0x265)],_0xc75732=_0x157347['WordArray'],_0x2f2c09=_0x157347[_0x7bbc6(0x456)],_0x3b15c2=_0x13aac0[_0x7bbc6(0x1b1)],_0x476303=[];(function(){var _0x5ea5e0=_0x7bbc6;for(var _0x5559ef=0x0;_0x5559ef<0x40;_0x5559ef++)_0x476303[_0x5559ef]=_0x844cca[_0x5ea5e0(0x414)](_0x844cca['sin'](_0x5559ef+0x1))*0x100000000|0x0;}());var _0x11ef79=_0x3b15c2['MD5']=_0x2f2c09[_0x7bbc6(0x1e0)]({'_doReset':function(){var _0x222475=_0x7bbc6;this[_0x222475(0x32d)]=new _0xc75732['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1d2122,_0x5593a5){var _0x2c1a80=_0x7bbc6;for(var _0x24eb6e=0x0;_0x24eb6e<0x10;_0x24eb6e++){var _0x49c066=_0x5593a5+_0x24eb6e,_0x5b38a3=_0x1d2122[_0x49c066];_0x1d2122[_0x49c066]=(_0x5b38a3<<0x8|_0x5b38a3>>>0x18)&0xff00ff|(_0x5b38a3<<0x18|_0x5b38a3>>>0x8)&0xff00ff00;}var _0x3e1805=this[_0x2c1a80(0x32d)][_0x2c1a80(0x1c8)],_0x4a4058=_0x1d2122[_0x5593a5+0x0],_0x477cc3=_0x1d2122[_0x5593a5+0x1],_0x188d05=_0x1d2122[_0x5593a5+0x2],_0x54b29f=_0x1d2122[_0x5593a5+0x3],_0x47b735=_0x1d2122[_0x5593a5+0x4],_0x37b269=_0x1d2122[_0x5593a5+0x5],_0x466af9=_0x1d2122[_0x5593a5+0x6],_0x339aed=_0x1d2122[_0x5593a5+0x7],_0x39b149=_0x1d2122[_0x5593a5+0x8],_0xf0a918=_0x1d2122[_0x5593a5+0x9],_0x530ffe=_0x1d2122[_0x5593a5+0xa],_0x3da27e=_0x1d2122[_0x5593a5+0xb],_0x208e84=_0x1d2122[_0x5593a5+0xc],_0x140123=_0x1d2122[_0x5593a5+0xd],_0x26780a=_0x1d2122[_0x5593a5+0xe],_0x5196f3=_0x1d2122[_0x5593a5+0xf],_0x33912a=_0x3e1805[0x0],_0x3791b3=_0x3e1805[0x1],_0x4f2944=_0x3e1805[0x2],_0x5ba23e=_0x3e1805[0x3];_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x4a4058,0x7,_0x476303[0x0]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x477cc3,0xc,_0x476303[0x1]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x188d05,0x11,_0x476303[0x2]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x54b29f,0x16,_0x476303[0x3]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x47b735,0x7,_0x476303[0x4]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x37b269,0xc,_0x476303[0x5]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x466af9,0x11,_0x476303[0x6]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x339aed,0x16,_0x476303[0x7]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x39b149,0x7,_0x476303[0x8]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0xf0a918,0xc,_0x476303[0x9]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x530ffe,0x11,_0x476303[0xa]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x3da27e,0x16,_0x476303[0xb]),_0x33912a=_0x3745ce(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x208e84,0x7,_0x476303[0xc]),_0x5ba23e=_0x3745ce(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x140123,0xc,_0x476303[0xd]),_0x4f2944=_0x3745ce(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x26780a,0x11,_0x476303[0xe]),_0x3791b3=_0x3745ce(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x5196f3,0x16,_0x476303[0xf]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x477cc3,0x5,_0x476303[0x10]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x466af9,0x9,_0x476303[0x11]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x3da27e,0xe,_0x476303[0x12]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x4a4058,0x14,_0x476303[0x13]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x37b269,0x5,_0x476303[0x14]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x530ffe,0x9,_0x476303[0x15]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x5196f3,0xe,_0x476303[0x16]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x47b735,0x14,_0x476303[0x17]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0xf0a918,0x5,_0x476303[0x18]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x26780a,0x9,_0x476303[0x19]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x54b29f,0xe,_0x476303[0x1a]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x39b149,0x14,_0x476303[0x1b]),_0x33912a=_0x484be0(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x140123,0x5,_0x476303[0x1c]),_0x5ba23e=_0x484be0(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x188d05,0x9,_0x476303[0x1d]),_0x4f2944=_0x484be0(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x339aed,0xe,_0x476303[0x1e]),_0x3791b3=_0x484be0(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x208e84,0x14,_0x476303[0x1f]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x37b269,0x4,_0x476303[0x20]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x39b149,0xb,_0x476303[0x21]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x3da27e,0x10,_0x476303[0x22]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x26780a,0x17,_0x476303[0x23]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x477cc3,0x4,_0x476303[0x24]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x47b735,0xb,_0x476303[0x25]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x339aed,0x10,_0x476303[0x26]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x530ffe,0x17,_0x476303[0x27]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x140123,0x4,_0x476303[0x28]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x4a4058,0xb,_0x476303[0x29]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x54b29f,0x10,_0x476303[0x2a]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x466af9,0x17,_0x476303[0x2b]),_0x33912a=_0x348f84(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0xf0a918,0x4,_0x476303[0x2c]),_0x5ba23e=_0x348f84(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x208e84,0xb,_0x476303[0x2d]),_0x4f2944=_0x348f84(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x5196f3,0x10,_0x476303[0x2e]),_0x3791b3=_0x348f84(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x188d05,0x17,_0x476303[0x2f]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x4a4058,0x6,_0x476303[0x30]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x339aed,0xa,_0x476303[0x31]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x26780a,0xf,_0x476303[0x32]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x37b269,0x15,_0x476303[0x33]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x208e84,0x6,_0x476303[0x34]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x54b29f,0xa,_0x476303[0x35]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x530ffe,0xf,_0x476303[0x36]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x477cc3,0x15,_0x476303[0x37]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x39b149,0x6,_0x476303[0x38]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x5196f3,0xa,_0x476303[0x39]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x466af9,0xf,_0x476303[0x3a]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0x140123,0x15,_0x476303[0x3b]),_0x33912a=_0x2aae34(_0x33912a,_0x3791b3,_0x4f2944,_0x5ba23e,_0x47b735,0x6,_0x476303[0x3c]),_0x5ba23e=_0x2aae34(_0x5ba23e,_0x33912a,_0x3791b3,_0x4f2944,_0x3da27e,0xa,_0x476303[0x3d]),_0x4f2944=_0x2aae34(_0x4f2944,_0x5ba23e,_0x33912a,_0x3791b3,_0x188d05,0xf,_0x476303[0x3e]),_0x3791b3=_0x2aae34(_0x3791b3,_0x4f2944,_0x5ba23e,_0x33912a,_0xf0a918,0x15,_0x476303[0x3f]),_0x3e1805[0x0]=_0x3e1805[0x0]+_0x33912a|0x0,_0x3e1805[0x1]=_0x3e1805[0x1]+_0x3791b3|0x0,_0x3e1805[0x2]=_0x3e1805[0x2]+_0x4f2944|0x0,_0x3e1805[0x3]=_0x3e1805[0x3]+_0x5ba23e|0x0;},'_doFinalize':function(){var _0x2ff8ff=_0x7bbc6,_0x18abc7=this[_0x2ff8ff(0x258)],_0x38c36e=_0x18abc7[_0x2ff8ff(0x1c8)],_0x2f4e2c=this['_nDataBytes']*0x8,_0x300c2e=_0x18abc7[_0x2ff8ff(0x488)]*0x8;_0x38c36e[_0x300c2e>>>0x5]|=0x80<<0x18-_0x300c2e%0x20;var _0x44f24a=_0x844cca[_0x2ff8ff(0x374)](_0x2f4e2c/0x100000000),_0x21e22d=_0x2f4e2c;_0x38c36e[(_0x300c2e+0x40>>>0x9<<0x4)+0xf]=(_0x44f24a<<0x8|_0x44f24a>>>0x18)&0xff00ff|(_0x44f24a<<0x18|_0x44f24a>>>0x8)&0xff00ff00,_0x38c36e[(_0x300c2e+0x40>>>0x9<<0x4)+0xe]=(_0x21e22d<<0x8|_0x21e22d>>>0x18)&0xff00ff|(_0x21e22d<<0x18|_0x21e22d>>>0x8)&0xff00ff00,_0x18abc7['sigBytes']=(_0x38c36e[_0x2ff8ff(0x2da)]+0x1)*0x4,this['_process']();for(var _0x2a7da4=this[_0x2ff8ff(0x32d)],_0x4445e9=_0x2a7da4[_0x2ff8ff(0x1c8)],_0x58aeed=0x0;_0x58aeed<0x4;_0x58aeed++){var _0x52e154=_0x4445e9[_0x58aeed];_0x4445e9[_0x58aeed]=(_0x52e154<<0x8|_0x52e154>>>0x18)&0xff00ff|(_0x52e154<<0x18|_0x52e154>>>0x8)&0xff00ff00;}return _0x2a7da4;},'clone':function(){var _0x53aabf=_0x7bbc6,_0xbd0fa2=_0x2f2c09['clone'][_0x53aabf(0x20b)](this);return _0xbd0fa2[_0x53aabf(0x32d)]=this[_0x53aabf(0x32d)][_0x53aabf(0x486)](),_0xbd0fa2;}});function _0x3745ce(_0x55c44c,_0x519df0,_0x5aa349,_0x9ed53d,_0xeedaa9,_0x4575ef,_0x3f9c19){var _0x298317=_0x55c44c+(_0x519df0&_0x5aa349|~_0x519df0&_0x9ed53d)+_0xeedaa9+_0x3f9c19;return(_0x298317<<_0x4575ef|_0x298317>>>0x20-_0x4575ef)+_0x519df0;}function _0x484be0(_0x57cbe0,_0x40bfcb,_0x7c6509,_0x53ff99,_0x16a360,_0x37bbda,_0x2a5ed7){var _0x5c199a=_0x57cbe0+(_0x40bfcb&_0x53ff99|_0x7c6509&~_0x53ff99)+_0x16a360+_0x2a5ed7;return(_0x5c199a<<_0x37bbda|_0x5c199a>>>0x20-_0x37bbda)+_0x40bfcb;}function _0x348f84(_0x3e6a4a,_0x1d5047,_0x559491,_0x370252,_0x177cd4,_0x4e3e15,_0x3f7e63){var _0x2867bf=_0x3e6a4a+(_0x1d5047^_0x559491^_0x370252)+_0x177cd4+_0x3f7e63;return(_0x2867bf<<_0x4e3e15|_0x2867bf>>>0x20-_0x4e3e15)+_0x1d5047;}function _0x2aae34(_0x18363d,_0xa886,_0x2fb02c,_0x5f237e,_0x525fd5,_0x36e021,_0x3c834a){var _0x5e12fe=_0x18363d+(_0x2fb02c^(_0xa886|~_0x5f237e))+_0x525fd5+_0x3c834a;return(_0x5e12fe<<_0x36e021|_0x5e12fe>>>0x20-_0x36e021)+_0xa886;}_0x13aac0[_0x7bbc6(0x25b)]=_0x2f2c09[_0x7bbc6(0x2ef)](_0x11ef79),_0x13aac0['HmacMD5']=_0x2f2c09[_0x7bbc6(0x495)](_0x11ef79);}(Math),_0x12c44a[_0x34b0ee(0x25b)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0xcb4765=_0xe5cf50;return ti||(ti=0x1,function(_0x14ce2a,_0x1fcb93){(function(_0x52b240,_0x549285){var _0x2eac53=_0x6808;_0x14ce2a[_0x2eac53(0x3bb)]=_0x549285(ne());}($r,function(_0x362ee1){var _0x1dd2a5=_0x6808;return(function(){var _0x41fd3e=_0x6808,_0x4fb741=_0x362ee1,_0x380275=_0x4fb741[_0x41fd3e(0x265)],_0x5d4267=_0x380275[_0x41fd3e(0x35d)],_0x7ede38=_0x380275[_0x41fd3e(0x456)],_0x3dc7b9=_0x4fb741[_0x41fd3e(0x1b1)],_0x269a1d=[],_0x9b5091=_0x3dc7b9[_0x41fd3e(0x4a4)]=_0x7ede38[_0x41fd3e(0x1e0)]({'_doReset':function(){var _0x519451=_0x41fd3e;this[_0x519451(0x32d)]=new _0x5d4267[(_0x519451(0x426))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6ef2b2,_0x219d78){var _0x3b1bd0=_0x41fd3e;for(var _0x382290=this[_0x3b1bd0(0x32d)][_0x3b1bd0(0x1c8)],_0x2c9136=_0x382290[0x0],_0x1645f8=_0x382290[0x1],_0x5eba34=_0x382290[0x2],_0x34f00d=_0x382290[0x3],_0x51437a=_0x382290[0x4],_0x2a2933=0x0;_0x2a2933<0x50;_0x2a2933++){if(_0x2a2933<0x10)_0x269a1d[_0x2a2933]=_0x6ef2b2[_0x219d78+_0x2a2933]|0x0;else{var _0x50dd99=_0x269a1d[_0x2a2933-0x3]^_0x269a1d[_0x2a2933-0x8]^_0x269a1d[_0x2a2933-0xe]^_0x269a1d[_0x2a2933-0x10];_0x269a1d[_0x2a2933]=_0x50dd99<<0x1|_0x50dd99>>>0x1f;}var _0x26ffc2=(_0x2c9136<<0x5|_0x2c9136>>>0x1b)+_0x51437a+_0x269a1d[_0x2a2933];_0x2a2933<0x14?_0x26ffc2+=(_0x1645f8&_0x5eba34|~_0x1645f8&_0x34f00d)+0x5a827999:_0x2a2933<0x28?_0x26ffc2+=(_0x1645f8^_0x5eba34^_0x34f00d)+0x6ed9eba1:_0x2a2933<0x3c?_0x26ffc2+=(_0x1645f8&_0x5eba34|_0x1645f8&_0x34f00d|_0x5eba34&_0x34f00d)-0x70e44324:_0x26ffc2+=(_0x1645f8^_0x5eba34^_0x34f00d)-0x359d3e2a,_0x51437a=_0x34f00d,_0x34f00d=_0x5eba34,_0x5eba34=_0x1645f8<<0x1e|_0x1645f8>>>0x2,_0x1645f8=_0x2c9136,_0x2c9136=_0x26ffc2;}_0x382290[0x0]=_0x382290[0x0]+_0x2c9136|0x0,_0x382290[0x1]=_0x382290[0x1]+_0x1645f8|0x0,_0x382290[0x2]=_0x382290[0x2]+_0x5eba34|0x0,_0x382290[0x3]=_0x382290[0x3]+_0x34f00d|0x0,_0x382290[0x4]=_0x382290[0x4]+_0x51437a|0x0;},'_doFinalize':function(){var _0x10792e=_0x41fd3e,_0x52370d=this[_0x10792e(0x258)],_0x349765=_0x52370d['words'],_0x3647fa=this[_0x10792e(0x3d5)]*0x8,_0x2b666f=_0x52370d['sigBytes']*0x8;return _0x349765[_0x2b666f>>>0x5]|=0x80<<0x18-_0x2b666f%0x20,_0x349765[(_0x2b666f+0x40>>>0x9<<0x4)+0xe]=Math[_0x10792e(0x374)](_0x3647fa/0x100000000),_0x349765[(_0x2b666f+0x40>>>0x9<<0x4)+0xf]=_0x3647fa,_0x52370d['sigBytes']=_0x349765['length']*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x138dd9=_0x41fd3e,_0xd5651a=_0x7ede38[_0x138dd9(0x486)][_0x138dd9(0x20b)](this);return _0xd5651a[_0x138dd9(0x32d)]=this['_hash'][_0x138dd9(0x486)](),_0xd5651a;}});_0x4fb741['SHA1']=_0x7ede38[_0x41fd3e(0x2ef)](_0x9b5091),_0x4fb741[_0x41fd3e(0x247)]=_0x7ede38[_0x41fd3e(0x495)](_0x9b5091);}()),_0x362ee1[_0x1dd2a5(0x4a4)];}));}(qe)),qe[_0xcb4765(0x3bb)];}var ze={'exports':{}},kr=ze[_0xe5cf50(0x3bb)],ii;function jr(){var _0x4292d7=_0xe5cf50;return ii||(ii=0x1,function(_0x3c49e2,_0x5d4687){(function(_0x581802,_0x24cfa4){var _0x24aa49=_0x6808;_0x3c49e2[_0x24aa49(0x3bb)]=_0x24cfa4(ne());}(kr,function(_0x4e6755){(function(){var _0x2f6206=_0x6808,_0x431b22=_0x4e6755,_0x5cefaa=_0x431b22[_0x2f6206(0x265)],_0x30eae0=_0x5cefaa['Base'],_0x45fe7b=_0x431b22[_0x2f6206(0x423)],_0x2f7a40=_0x45fe7b[_0x2f6206(0x317)],_0x2bfc19=_0x431b22[_0x2f6206(0x1b1)];_0x2bfc19['HMAC']=_0x30eae0[_0x2f6206(0x1e0)]({'init':function(_0xd9400a,_0x51cc15){var _0x16834f=_0x2f6206;_0xd9400a=this[_0x16834f(0x1eb)]=new _0xd9400a[(_0x16834f(0x426))](),typeof _0x51cc15==_0x16834f(0x1e4)&&(_0x51cc15=_0x2f7a40[_0x16834f(0x44e)](_0x51cc15));var _0x298f48=_0xd9400a[_0x16834f(0x327)],_0x524003=_0x298f48*0x4;_0x51cc15['sigBytes']>_0x524003&&(_0x51cc15=_0xd9400a[_0x16834f(0x281)](_0x51cc15)),_0x51cc15[_0x16834f(0x2d8)]();for(var _0x5dfc73=this[_0x16834f(0x400)]=_0x51cc15['clone'](),_0x4d4a60=this[_0x16834f(0x30e)]=_0x51cc15[_0x16834f(0x486)](),_0x157dcb=_0x5dfc73[_0x16834f(0x1c8)],_0xb405b6=_0x4d4a60[_0x16834f(0x1c8)],_0x36df75=0x0;_0x36df75<_0x298f48;_0x36df75++)_0x157dcb[_0x36df75]^=0x5c5c5c5c,_0xb405b6[_0x36df75]^=0x36363636;_0x5dfc73[_0x16834f(0x488)]=_0x4d4a60[_0x16834f(0x488)]=_0x524003,this[_0x16834f(0x1ea)]();},'reset':function(){var _0x7d766d=_0x2f6206,_0x50fddb=this[_0x7d766d(0x1eb)];_0x50fddb[_0x7d766d(0x1ea)](),_0x50fddb['update'](this[_0x7d766d(0x30e)]);},'update':function(_0x1bf134){var _0x5b2e38=_0x2f6206;return this[_0x5b2e38(0x1eb)][_0x5b2e38(0x3de)](_0x1bf134),this;},'finalize':function(_0x2c26c6){var _0x398ff7=_0x2f6206,_0x1697b=this[_0x398ff7(0x1eb)],_0x5761fd=_0x1697b[_0x398ff7(0x281)](_0x2c26c6);_0x1697b[_0x398ff7(0x1ea)]();var _0xf94c07=_0x1697b[_0x398ff7(0x281)](this[_0x398ff7(0x400)][_0x398ff7(0x486)]()[_0x398ff7(0x33c)](_0x5761fd));return _0xf94c07;}});}());}));}(ze)),ze[_0x4292d7(0x3bb)];}var Br=Ye[_0xe5cf50(0x3bb)],ni;function Ui(){var _0x44a571=_0xe5cf50;return ni||(ni=0x1,function(_0x5c8be3,_0x23bc3f){(function(_0x224f5b,_0x13925e,_0x278cf3){var _0x4cb7d9=_0x6808;_0x5c8be3[_0x4cb7d9(0x3bb)]=_0x13925e(ne(),Hr(),jr());}(Br,function(_0x190269){var _0x101e5a=_0x6808;return(function(){var _0x32c126=_0x6808,_0x347ea0=_0x190269,_0x505800=_0x347ea0[_0x32c126(0x265)],_0x8a2a87=_0x505800[_0x32c126(0x4a9)],_0x256414=_0x505800['WordArray'],_0x362ac0=_0x347ea0[_0x32c126(0x1b1)],_0xa8a79d=_0x362ac0[_0x32c126(0x25b)],_0xc8de05=_0x362ac0[_0x32c126(0x3b7)]=_0x8a2a87['extend']({'cfg':_0x8a2a87['extend']({'keySize':0x80/0x20,'hasher':_0xa8a79d,'iterations':0x1}),'init':function(_0x345e0b){var _0x3d4e13=_0x32c126;this[_0x3d4e13(0x481)]=this['cfg']['extend'](_0x345e0b);},'compute':function(_0x455a98,_0x398e33){var _0x4effbb=_0x32c126;for(var _0x1ab299,_0x1ff729=this['cfg'],_0x500011=_0x1ff729[_0x4effbb(0x202)][_0x4effbb(0x475)](),_0x13ff9c=_0x256414[_0x4effbb(0x475)](),_0xe6e0f1=_0x13ff9c[_0x4effbb(0x1c8)],_0x24cbe8=_0x1ff729['keySize'],_0x347775=_0x1ff729['iterations'];_0xe6e0f1[_0x4effbb(0x2da)]<_0x24cbe8;){_0x1ab299&&_0x500011['update'](_0x1ab299),_0x1ab299=_0x500011['update'](_0x455a98)[_0x4effbb(0x281)](_0x398e33),_0x500011[_0x4effbb(0x1ea)]();for(var _0x4a2912=0x1;_0x4a2912<_0x347775;_0x4a2912++)_0x1ab299=_0x500011['finalize'](_0x1ab299),_0x500011[_0x4effbb(0x1ea)]();_0x13ff9c[_0x4effbb(0x33c)](_0x1ab299);}return _0x13ff9c[_0x4effbb(0x488)]=_0x24cbe8*0x4,_0x13ff9c;}});_0x347ea0[_0x32c126(0x3b7)]=function(_0x2dde5c,_0x30f5b2,_0x2dc3bc){var _0x592c28=_0x32c126;return _0xc8de05[_0x592c28(0x475)](_0x2dc3bc)['compute'](_0x2dde5c,_0x30f5b2);};}()),_0x190269[_0x101e5a(0x3b7)];}));}(Ye)),Ye[_0x44a571(0x3bb)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x3579ed=_0xe5cf50;return ri||(ri=0x1,function(_0x592eca,_0x296a88){(function(_0x3c0ef9,_0x25c97d,_0x55197b){var _0x296720=_0x6808;_0x592eca[_0x296720(0x3bb)]=_0x25c97d(ne(),Ui());}(Fr,function(_0x1867a2){var _0x25bc27=_0x6808;_0x1867a2[_0x25bc27(0x265)]['Cipher']||function(_0x31c2b4){var _0x4d113a=_0x25bc27,_0x244234=_0x1867a2,_0x136f1a=_0x244234[_0x4d113a(0x265)],_0x180074=_0x136f1a['Base'],_0x21822b=_0x136f1a[_0x4d113a(0x35d)],_0x5b4497=_0x136f1a[_0x4d113a(0x419)],_0x2c0901=_0x244234[_0x4d113a(0x423)];_0x2c0901[_0x4d113a(0x317)];var _0x48e6c5=_0x2c0901['Base64'],_0x3ef24d=_0x244234[_0x4d113a(0x1b1)],_0x20d11d=_0x3ef24d[_0x4d113a(0x3b7)],_0x5941d1=_0x136f1a[_0x4d113a(0x308)]=_0x5b4497[_0x4d113a(0x1e0)]({'cfg':_0x180074[_0x4d113a(0x1e0)](),'createEncryptor':function(_0x3b2773,_0x3dfbd2){var _0x5eaaad=_0x4d113a;return this[_0x5eaaad(0x475)](this[_0x5eaaad(0x32b)],_0x3b2773,_0x3dfbd2);},'createDecryptor':function(_0x2aead3,_0x300585){var _0xf5eba7=_0x4d113a;return this[_0xf5eba7(0x475)](this[_0xf5eba7(0x361)],_0x2aead3,_0x300585);},'init':function(_0x278dc5,_0x210517,_0x35880d){var _0xc0b682=_0x4d113a;this['cfg']=this[_0xc0b682(0x481)][_0xc0b682(0x1e0)](_0x35880d),this[_0xc0b682(0x3b9)]=_0x278dc5,this['_key']=_0x210517,this[_0xc0b682(0x1ea)]();},'reset':function(){var _0x6ad505=_0x4d113a;_0x5b4497['reset']['call'](this),this[_0x6ad505(0x3dc)]();},'process':function(_0x5d0c21){var _0x3e3fc1=_0x4d113a;return this[_0x3e3fc1(0x262)](_0x5d0c21),this[_0x3e3fc1(0x2c4)]();},'finalize':function(_0x210263){var _0x303193=_0x4d113a;_0x210263&&this['_append'](_0x210263);var _0x2052b0=this[_0x303193(0x316)]();return _0x2052b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x57431d(_0x14f457){return typeof _0x14f457=='string'?_0x6412d2:_0x42414e;}return function(_0x5c8311){return{'encrypt':function(_0x5c32c6,_0xe4654d,_0x1ffecd){var _0x272890=_0x6808;return _0x57431d(_0xe4654d)[_0x272890(0x1f4)](_0x5c8311,_0x5c32c6,_0xe4654d,_0x1ffecd);},'decrypt':function(_0x240d0,_0x4643e9,_0x17749f){var _0x10ad58=_0x6808;return _0x57431d(_0x4643e9)[_0x10ad58(0x40b)](_0x5c8311,_0x240d0,_0x4643e9,_0x17749f);}};};}())});_0x136f1a[_0x4d113a(0x283)]=_0x5941d1[_0x4d113a(0x1e0)]({'_doFinalize':function(){var _0x420bec=this['_process'](!0x0);return _0x420bec;},'blockSize':0x1});var _0x12fed6=_0x244234['mode']={},_0x5e1e63=_0x136f1a[_0x4d113a(0x38e)]=_0x180074[_0x4d113a(0x1e0)]({'createEncryptor':function(_0xfc391e,_0x1e0718){var _0x44ebf1=_0x4d113a;return this['Encryptor'][_0x44ebf1(0x475)](_0xfc391e,_0x1e0718);},'createDecryptor':function(_0x26835a,_0x5a8272){var _0x52b83f=_0x4d113a;return this[_0x52b83f(0x323)]['create'](_0x26835a,_0x5a8272);},'init':function(_0x50ba40,_0x4b5a06){var _0x40bed2=_0x4d113a;this[_0x40bed2(0x217)]=_0x50ba40,this[_0x40bed2(0x3db)]=_0x4b5a06;}}),_0xa7dbcd=_0x12fed6['CBC']=(function(){var _0x3ef0b0=_0x4d113a,_0x268c4d=_0x5e1e63[_0x3ef0b0(0x1e0)]();_0x268c4d[_0x3ef0b0(0x1b0)]=_0x268c4d[_0x3ef0b0(0x1e0)]({'processBlock':function(_0x160a9a,_0x4d9c35){var _0x553793=_0x3ef0b0,_0xf74e89=this['_cipher'],_0xbfe8df=_0xf74e89['blockSize'];_0x4982cc[_0x553793(0x20b)](this,_0x160a9a,_0x4d9c35,_0xbfe8df),_0xf74e89[_0x553793(0x3d3)](_0x160a9a,_0x4d9c35),this['_prevBlock']=_0x160a9a['slice'](_0x4d9c35,_0x4d9c35+_0xbfe8df);}}),_0x268c4d[_0x3ef0b0(0x323)]=_0x268c4d[_0x3ef0b0(0x1e0)]({'processBlock':function(_0x3e4da0,_0xdb63e){var _0x42378d=_0x3ef0b0,_0x4740a4=this[_0x42378d(0x217)],_0x26003d=_0x4740a4['blockSize'],_0x409dfd=_0x3e4da0[_0x42378d(0x3aa)](_0xdb63e,_0xdb63e+_0x26003d);_0x4740a4[_0x42378d(0x37e)](_0x3e4da0,_0xdb63e),_0x4982cc[_0x42378d(0x20b)](this,_0x3e4da0,_0xdb63e,_0x26003d),this['_prevBlock']=_0x409dfd;}});function _0x4982cc(_0x5058ab,_0x57f00a,_0x1ddd9b){var _0x400e05=_0x3ef0b0,_0x4bbb19,_0x3dee90=this[_0x400e05(0x3db)];_0x3dee90?(_0x4bbb19=_0x3dee90,this[_0x400e05(0x3db)]=_0x31c2b4):_0x4bbb19=this[_0x400e05(0x338)];for(var _0x3c935d=0x0;_0x3c935d<_0x1ddd9b;_0x3c935d++)_0x5058ab[_0x57f00a+_0x3c935d]^=_0x4bbb19[_0x3c935d];}return _0x268c4d;}()),_0x47ef32=_0x244234[_0x4d113a(0x4a5)]={},_0x8dea25=_0x47ef32[_0x4d113a(0x492)]={'pad':function(_0x2e9538,_0x37df38){var _0x5f47d4=_0x4d113a;for(var _0x17dfec=_0x37df38*0x4,_0x408acd=_0x17dfec-_0x2e9538[_0x5f47d4(0x488)]%_0x17dfec,_0x495207=_0x408acd<<0x18|_0x408acd<<0x10|_0x408acd<<0x8|_0x408acd,_0x3d43c0=[],_0x6a0cac=0x0;_0x6a0cac<_0x408acd;_0x6a0cac+=0x4)_0x3d43c0[_0x5f47d4(0x430)](_0x495207);var _0x2aef99=_0x21822b[_0x5f47d4(0x475)](_0x3d43c0,_0x408acd);_0x2e9538[_0x5f47d4(0x33c)](_0x2aef99);},'unpad':function(_0x2285ac){var _0x2dca90=_0x4d113a,_0x39bad5=_0x2285ac[_0x2dca90(0x1c8)][_0x2285ac[_0x2dca90(0x488)]-0x1>>>0x2]&0xff;_0x2285ac[_0x2dca90(0x488)]-=_0x39bad5;}};_0x136f1a[_0x4d113a(0x42f)]=_0x5941d1[_0x4d113a(0x1e0)]({'cfg':_0x5941d1[_0x4d113a(0x481)][_0x4d113a(0x1e0)]({'mode':_0xa7dbcd,'padding':_0x8dea25}),'reset':function(){var _0xace3ee=_0x4d113a,_0x38fabd;_0x5941d1[_0xace3ee(0x1ea)][_0xace3ee(0x20b)](this);var _0x451fc7=this['cfg'],_0x322b87=_0x451fc7['iv'],_0x32c68f=_0x451fc7[_0xace3ee(0x312)];this['_xformMode']==this[_0xace3ee(0x32b)]?_0x38fabd=_0x32c68f[_0xace3ee(0x345)]:(_0x38fabd=_0x32c68f[_0xace3ee(0x4aa)],this[_0xace3ee(0x21d)]=0x1),this['_mode']&&this['_mode'][_0xace3ee(0x27b)]==_0x38fabd?this[_0xace3ee(0x2eb)][_0xace3ee(0x426)](this,_0x322b87&&_0x322b87[_0xace3ee(0x1c8)]):(this['_mode']=_0x38fabd[_0xace3ee(0x20b)](_0x32c68f,this,_0x322b87&&_0x322b87[_0xace3ee(0x1c8)]),this[_0xace3ee(0x2eb)][_0xace3ee(0x27b)]=_0x38fabd);},'_doProcessBlock':function(_0x11695d,_0x4e335d){var _0x143153=_0x4d113a;this[_0x143153(0x2eb)][_0x143153(0x476)](_0x11695d,_0x4e335d);},'_doFinalize':function(){var _0x4c3599=_0x4d113a,_0x5eae5c,_0x268811=this[_0x4c3599(0x481)][_0x4c3599(0x3f0)];return this[_0x4c3599(0x3b9)]==this[_0x4c3599(0x32b)]?(_0x268811[_0x4c3599(0x4a5)](this['_data'],this['blockSize']),_0x5eae5c=this[_0x4c3599(0x2c4)](!0x0)):(_0x5eae5c=this[_0x4c3599(0x2c4)](!0x0),_0x268811[_0x4c3599(0x218)](_0x5eae5c)),_0x5eae5c;},'blockSize':0x80/0x20});var _0x13d192=_0x136f1a[_0x4d113a(0x1ae)]=_0x180074[_0x4d113a(0x1e0)]({'init':function(_0x50e15c){this['mixIn'](_0x50e15c);},'toString':function(_0x538d47){var _0x42ddf0=_0x4d113a;return(_0x538d47||this[_0x42ddf0(0x43f)])[_0x42ddf0(0x3e1)](this);}}),_0x1a40d1=_0x244234[_0x4d113a(0x2ad)]={},_0x31a29b=_0x1a40d1[_0x4d113a(0x20e)]={'stringify':function(_0x1d8456){var _0x46e43e=_0x4d113a,_0x459daa,_0x4d867c=_0x1d8456[_0x46e43e(0x2a3)],_0x171201=_0x1d8456[_0x46e43e(0x445)];return _0x171201?_0x459daa=_0x21822b[_0x46e43e(0x475)]([0x53616c74,0x65645f5f])[_0x46e43e(0x33c)](_0x171201)[_0x46e43e(0x33c)](_0x4d867c):_0x459daa=_0x4d867c,_0x459daa[_0x46e43e(0x1c1)](_0x48e6c5);},'parse':function(_0x31f510){var _0x403d99=_0x4d113a,_0x508842,_0x3c3ce7=_0x48e6c5['parse'](_0x31f510),_0x4fb679=_0x3c3ce7[_0x403d99(0x1c8)];return _0x4fb679[0x0]==0x53616c74&&_0x4fb679[0x1]==0x65645f5f&&(_0x508842=_0x21822b['create'](_0x4fb679[_0x403d99(0x3aa)](0x2,0x4)),_0x4fb679['splice'](0x0,0x4),_0x3c3ce7[_0x403d99(0x488)]-=0x10),_0x13d192[_0x403d99(0x475)]({'ciphertext':_0x3c3ce7,'salt':_0x508842});}},_0x42414e=_0x136f1a['SerializableCipher']=_0x180074['extend']({'cfg':_0x180074['extend']({'format':_0x31a29b}),'encrypt':function(_0x429bf8,_0x47296b,_0x4ad484,_0x37cce5){var _0x3524e2=_0x4d113a;_0x37cce5=this[_0x3524e2(0x481)][_0x3524e2(0x1e0)](_0x37cce5);var _0x438d54=_0x429bf8['createEncryptor'](_0x4ad484,_0x37cce5),_0x1e18ac=_0x438d54['finalize'](_0x47296b),_0x247334=_0x438d54['cfg'];return _0x13d192[_0x3524e2(0x475)]({'ciphertext':_0x1e18ac,'key':_0x4ad484,'iv':_0x247334['iv'],'algorithm':_0x429bf8,'mode':_0x247334[_0x3524e2(0x312)],'padding':_0x247334[_0x3524e2(0x3f0)],'blockSize':_0x429bf8['blockSize'],'formatter':_0x37cce5[_0x3524e2(0x2ad)]});},'decrypt':function(_0x24bc4c,_0x773f4a,_0x275d43,_0x5efe71){var _0x3f2579=_0x4d113a;_0x5efe71=this['cfg'][_0x3f2579(0x1e0)](_0x5efe71),_0x773f4a=this[_0x3f2579(0x3ea)](_0x773f4a,_0x5efe71[_0x3f2579(0x2ad)]);var _0x59dc61=_0x24bc4c[_0x3f2579(0x4aa)](_0x275d43,_0x5efe71)['finalize'](_0x773f4a[_0x3f2579(0x2a3)]);return _0x59dc61;},'_parse':function(_0x16cd3d,_0xedb75b){var _0x2fe5a6=_0x4d113a;return typeof _0x16cd3d==_0x2fe5a6(0x1e4)?_0xedb75b[_0x2fe5a6(0x44e)](_0x16cd3d,this):_0x16cd3d;}}),_0x124bda=_0x244234[_0x4d113a(0x493)]={},_0x3d4a43=_0x124bda['OpenSSL']={'execute':function(_0x570dad,_0x4dee9d,_0x526cd9,_0xa3dfc1,_0x59ca7f){var _0x1a0eab=_0x4d113a;if(_0xa3dfc1||(_0xa3dfc1=_0x21822b[_0x1a0eab(0x1c2)](0x40/0x8)),_0x59ca7f)var _0x5f3ac9=_0x20d11d['create']({'keySize':_0x4dee9d+_0x526cd9,'hasher':_0x59ca7f})['compute'](_0x570dad,_0xa3dfc1);else var _0x5f3ac9=_0x20d11d[_0x1a0eab(0x475)]({'keySize':_0x4dee9d+_0x526cd9})[_0x1a0eab(0x2b1)](_0x570dad,_0xa3dfc1);var _0x1a1c7e=_0x21822b[_0x1a0eab(0x475)](_0x5f3ac9[_0x1a0eab(0x1c8)][_0x1a0eab(0x3aa)](_0x4dee9d),_0x526cd9*0x4);return _0x5f3ac9[_0x1a0eab(0x488)]=_0x4dee9d*0x4,_0x13d192[_0x1a0eab(0x475)]({'key':_0x5f3ac9,'iv':_0x1a1c7e,'salt':_0xa3dfc1});}},_0x6412d2=_0x136f1a[_0x4d113a(0x3f3)]=_0x42414e['extend']({'cfg':_0x42414e[_0x4d113a(0x481)][_0x4d113a(0x1e0)]({'kdf':_0x3d4a43}),'encrypt':function(_0xb45f01,_0x4d387a,_0x8052a5,_0x1559a2){var _0x58c32d=_0x4d113a;_0x1559a2=this[_0x58c32d(0x481)][_0x58c32d(0x1e0)](_0x1559a2);var _0x44e7ad=_0x1559a2[_0x58c32d(0x493)][_0x58c32d(0x271)](_0x8052a5,_0xb45f01['keySize'],_0xb45f01['ivSize'],_0x1559a2[_0x58c32d(0x445)],_0x1559a2[_0x58c32d(0x202)]);_0x1559a2['iv']=_0x44e7ad['iv'];var _0x1ef36b=_0x42414e[_0x58c32d(0x1f4)]['call'](this,_0xb45f01,_0x4d387a,_0x44e7ad[_0x58c32d(0x497)],_0x1559a2);return _0x1ef36b[_0x58c32d(0x25c)](_0x44e7ad),_0x1ef36b;},'decrypt':function(_0x5945d5,_0x4b5d9c,_0x20124b,_0xb4cf89){var _0x15a4c=_0x4d113a;_0xb4cf89=this[_0x15a4c(0x481)][_0x15a4c(0x1e0)](_0xb4cf89),_0x4b5d9c=this[_0x15a4c(0x3ea)](_0x4b5d9c,_0xb4cf89[_0x15a4c(0x2ad)]);var _0x4dcaf2=_0xb4cf89[_0x15a4c(0x493)]['execute'](_0x20124b,_0x5945d5[_0x15a4c(0x2c1)],_0x5945d5[_0x15a4c(0x220)],_0x4b5d9c[_0x15a4c(0x445)],_0xb4cf89[_0x15a4c(0x202)]);_0xb4cf89['iv']=_0x4dcaf2['iv'];var _0x26cbc4=_0x42414e[_0x15a4c(0x40b)]['call'](this,_0x5945d5,_0x4b5d9c,_0x4dcaf2['key'],_0xb4cf89);return _0x26cbc4;}});}();}));}(Je)),Je[_0x3579ed(0x3bb)];}var Vr=Ve['exports'],si;function Gr(){var _0x1a45e7=_0xe5cf50;return si||(si=0x1,function(_0x2acec1,_0x45dd74){(function(_0xe694cb,_0x4ffac1,_0x11a9c8){var _0x4d31a5=_0x6808;_0x2acec1[_0x4d31a5(0x3bb)]=_0x4ffac1(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x56b7d1){var _0x400eb3=_0x6808;return(function(){var _0x5bfd67=_0x6808,_0x482b2a=_0x56b7d1,_0x3d46a8=_0x482b2a[_0x5bfd67(0x265)],_0x39a6e1=_0x3d46a8[_0x5bfd67(0x42f)],_0x258aff=_0x482b2a[_0x5bfd67(0x1b1)],_0x3171a4=[],_0x557f98=[],_0x403316=[],_0x3b73c5=[],_0x574b48=[],_0x1867b8=[],_0x389f52=[],_0xe9f2b8=[],_0x1fc681=[],_0x24bb1b=[];(function(){for(var _0x264b63=[],_0xa9ffbe=0x0;_0xa9ffbe<0x100;_0xa9ffbe++)_0xa9ffbe<0x80?_0x264b63[_0xa9ffbe]=_0xa9ffbe<<0x1:_0x264b63[_0xa9ffbe]=_0xa9ffbe<<0x1^0x11b;for(var _0xeec57=0x0,_0x57ac46=0x0,_0xa9ffbe=0x0;_0xa9ffbe<0x100;_0xa9ffbe++){var _0x46838e=_0x57ac46^_0x57ac46<<0x1^_0x57ac46<<0x2^_0x57ac46<<0x3^_0x57ac46<<0x4;_0x46838e=_0x46838e>>>0x8^_0x46838e&0xff^0x63,_0x3171a4[_0xeec57]=_0x46838e,_0x557f98[_0x46838e]=_0xeec57;var _0x5b9b86=_0x264b63[_0xeec57],_0x2f1533=_0x264b63[_0x5b9b86],_0x3ca81a=_0x264b63[_0x2f1533],_0x38eafd=_0x264b63[_0x46838e]*0x101^_0x46838e*0x1010100;_0x403316[_0xeec57]=_0x38eafd<<0x18|_0x38eafd>>>0x8,_0x3b73c5[_0xeec57]=_0x38eafd<<0x10|_0x38eafd>>>0x10,_0x574b48[_0xeec57]=_0x38eafd<<0x8|_0x38eafd>>>0x18,_0x1867b8[_0xeec57]=_0x38eafd;var _0x38eafd=_0x3ca81a*0x1010101^_0x2f1533*0x10001^_0x5b9b86*0x101^_0xeec57*0x1010100;_0x389f52[_0x46838e]=_0x38eafd<<0x18|_0x38eafd>>>0x8,_0xe9f2b8[_0x46838e]=_0x38eafd<<0x10|_0x38eafd>>>0x10,_0x1fc681[_0x46838e]=_0x38eafd<<0x8|_0x38eafd>>>0x18,_0x24bb1b[_0x46838e]=_0x38eafd,_0xeec57?(_0xeec57=_0x5b9b86^_0x264b63[_0x264b63[_0x264b63[_0x3ca81a^_0x5b9b86]]],_0x57ac46^=_0x264b63[_0x264b63[_0x57ac46]]):_0xeec57=_0x57ac46=0x1;}}());var _0x248245=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xec70ad=_0x258aff[_0x5bfd67(0x1f1)]=_0x39a6e1[_0x5bfd67(0x1e0)]({'_doReset':function(){var _0x2d8e47=_0x5bfd67,_0x4afe41;if(!(this[_0x2d8e47(0x3e3)]&&this['_keyPriorReset']===this[_0x2d8e47(0x468)])){for(var _0x14f917=this['_keyPriorReset']=this['_key'],_0x205e50=_0x14f917[_0x2d8e47(0x1c8)],_0x19ed7d=_0x14f917['sigBytes']/0x4,_0x4a395c=this[_0x2d8e47(0x3e3)]=_0x19ed7d+0x6,_0x2626cf=(_0x4a395c+0x1)*0x4,_0x4cad0e=this[_0x2d8e47(0x42c)]=[],_0x2a5ec8=0x0;_0x2a5ec8<_0x2626cf;_0x2a5ec8++)_0x2a5ec8<_0x19ed7d?_0x4cad0e[_0x2a5ec8]=_0x205e50[_0x2a5ec8]:(_0x4afe41=_0x4cad0e[_0x2a5ec8-0x1],_0x2a5ec8%_0x19ed7d?_0x19ed7d>0x6&&_0x2a5ec8%_0x19ed7d==0x4&&(_0x4afe41=_0x3171a4[_0x4afe41>>>0x18]<<0x18|_0x3171a4[_0x4afe41>>>0x10&0xff]<<0x10|_0x3171a4[_0x4afe41>>>0x8&0xff]<<0x8|_0x3171a4[_0x4afe41&0xff]):(_0x4afe41=_0x4afe41<<0x8|_0x4afe41>>>0x18,_0x4afe41=_0x3171a4[_0x4afe41>>>0x18]<<0x18|_0x3171a4[_0x4afe41>>>0x10&0xff]<<0x10|_0x3171a4[_0x4afe41>>>0x8&0xff]<<0x8|_0x3171a4[_0x4afe41&0xff],_0x4afe41^=_0x248245[_0x2a5ec8/_0x19ed7d|0x0]<<0x18),_0x4cad0e[_0x2a5ec8]=_0x4cad0e[_0x2a5ec8-_0x19ed7d]^_0x4afe41);for(var _0x2aa926=this['_invKeySchedule']=[],_0xcdeb4c=0x0;_0xcdeb4c<_0x2626cf;_0xcdeb4c++){var _0x2a5ec8=_0x2626cf-_0xcdeb4c;if(_0xcdeb4c%0x4)var _0x4afe41=_0x4cad0e[_0x2a5ec8];else var _0x4afe41=_0x4cad0e[_0x2a5ec8-0x4];_0xcdeb4c<0x4||_0x2a5ec8<=0x4?_0x2aa926[_0xcdeb4c]=_0x4afe41:_0x2aa926[_0xcdeb4c]=_0x389f52[_0x3171a4[_0x4afe41>>>0x18]]^_0xe9f2b8[_0x3171a4[_0x4afe41>>>0x10&0xff]]^_0x1fc681[_0x3171a4[_0x4afe41>>>0x8&0xff]]^_0x24bb1b[_0x3171a4[_0x4afe41&0xff]];}}},'encryptBlock':function(_0x2085ef,_0x3d8ced){var _0x342176=_0x5bfd67;this['_doCryptBlock'](_0x2085ef,_0x3d8ced,this[_0x342176(0x42c)],_0x403316,_0x3b73c5,_0x574b48,_0x1867b8,_0x3171a4);},'decryptBlock':function(_0x126df7,_0xacb3dd){var _0x346d63=_0x5bfd67,_0x231df1=_0x126df7[_0xacb3dd+0x1];_0x126df7[_0xacb3dd+0x1]=_0x126df7[_0xacb3dd+0x3],_0x126df7[_0xacb3dd+0x3]=_0x231df1,this[_0x346d63(0x366)](_0x126df7,_0xacb3dd,this[_0x346d63(0x3fd)],_0x389f52,_0xe9f2b8,_0x1fc681,_0x24bb1b,_0x557f98);var _0x231df1=_0x126df7[_0xacb3dd+0x1];_0x126df7[_0xacb3dd+0x1]=_0x126df7[_0xacb3dd+0x3],_0x126df7[_0xacb3dd+0x3]=_0x231df1;},'_doCryptBlock':function(_0x392e8c,_0x555512,_0x434c96,_0x117713,_0x5e0309,_0x2ad478,_0x537ffe,_0x1165b9){var _0x48be3e=_0x5bfd67;for(var _0x100ab0=this[_0x48be3e(0x3e3)],_0xcbb1aa=_0x392e8c[_0x555512]^_0x434c96[0x0],_0x4d81e8=_0x392e8c[_0x555512+0x1]^_0x434c96[0x1],_0x3ec46a=_0x392e8c[_0x555512+0x2]^_0x434c96[0x2],_0x1ddaf6=_0x392e8c[_0x555512+0x3]^_0x434c96[0x3],_0x24ee96=0x4,_0x1e2fe5=0x1;_0x1e2fe5<_0x100ab0;_0x1e2fe5++){var _0x21450d=_0x117713[_0xcbb1aa>>>0x18]^_0x5e0309[_0x4d81e8>>>0x10&0xff]^_0x2ad478[_0x3ec46a>>>0x8&0xff]^_0x537ffe[_0x1ddaf6&0xff]^_0x434c96[_0x24ee96++],_0x25f125=_0x117713[_0x4d81e8>>>0x18]^_0x5e0309[_0x3ec46a>>>0x10&0xff]^_0x2ad478[_0x1ddaf6>>>0x8&0xff]^_0x537ffe[_0xcbb1aa&0xff]^_0x434c96[_0x24ee96++],_0x1bff7e=_0x117713[_0x3ec46a>>>0x18]^_0x5e0309[_0x1ddaf6>>>0x10&0xff]^_0x2ad478[_0xcbb1aa>>>0x8&0xff]^_0x537ffe[_0x4d81e8&0xff]^_0x434c96[_0x24ee96++],_0x44c64d=_0x117713[_0x1ddaf6>>>0x18]^_0x5e0309[_0xcbb1aa>>>0x10&0xff]^_0x2ad478[_0x4d81e8>>>0x8&0xff]^_0x537ffe[_0x3ec46a&0xff]^_0x434c96[_0x24ee96++];_0xcbb1aa=_0x21450d,_0x4d81e8=_0x25f125,_0x3ec46a=_0x1bff7e,_0x1ddaf6=_0x44c64d;}var _0x21450d=(_0x1165b9[_0xcbb1aa>>>0x18]<<0x18|_0x1165b9[_0x4d81e8>>>0x10&0xff]<<0x10|_0x1165b9[_0x3ec46a>>>0x8&0xff]<<0x8|_0x1165b9[_0x1ddaf6&0xff])^_0x434c96[_0x24ee96++],_0x25f125=(_0x1165b9[_0x4d81e8>>>0x18]<<0x18|_0x1165b9[_0x3ec46a>>>0x10&0xff]<<0x10|_0x1165b9[_0x1ddaf6>>>0x8&0xff]<<0x8|_0x1165b9[_0xcbb1aa&0xff])^_0x434c96[_0x24ee96++],_0x1bff7e=(_0x1165b9[_0x3ec46a>>>0x18]<<0x18|_0x1165b9[_0x1ddaf6>>>0x10&0xff]<<0x10|_0x1165b9[_0xcbb1aa>>>0x8&0xff]<<0x8|_0x1165b9[_0x4d81e8&0xff])^_0x434c96[_0x24ee96++],_0x44c64d=(_0x1165b9[_0x1ddaf6>>>0x18]<<0x18|_0x1165b9[_0xcbb1aa>>>0x10&0xff]<<0x10|_0x1165b9[_0x4d81e8>>>0x8&0xff]<<0x8|_0x1165b9[_0x3ec46a&0xff])^_0x434c96[_0x24ee96++];_0x392e8c[_0x555512]=_0x21450d,_0x392e8c[_0x555512+0x1]=_0x25f125,_0x392e8c[_0x555512+0x2]=_0x1bff7e,_0x392e8c[_0x555512+0x3]=_0x44c64d;},'keySize':0x100/0x20});_0x482b2a['AES']=_0x39a6e1[_0x5bfd67(0x2ef)](_0xec70ad);}()),_0x56b7d1[_0x400eb3(0x1f1)];}));}(Ve)),Ve[_0x1a45e7(0x3bb)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0xe5cf50(0x3bb)],ai;function zr(){var _0x44ff9f=_0xe5cf50;return ai||(ai=0x1,function(_0x47c5ec,_0xd440e6){(function(_0x1d8e9e,_0x21f732){var _0x31c936=_0x6808;_0x47c5ec[_0x31c936(0x3bb)]=_0x21f732(ne());}(qr,function(_0x147074){var _0x97a6b0=_0x6808;return _0x147074[_0x97a6b0(0x423)][_0x97a6b0(0x317)];}));}(Xe)),Xe[_0x44ff9f(0x3bb)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0xe5cf50(0x3bb)],ci;function Qr(){var _0x27560c=_0xe5cf50;return ci||(ci=0x1,function(_0x218862,_0x22f7cd){(function(_0x1a239f,_0x44ac13){_0x218862['exports']=_0x44ac13(ne());}(Zr,function(_0x46b13f){var _0xf8d13d=_0x6808;return(function(){var _0x277dc8=_0x6808;if(typeof ArrayBuffer=='function'){var _0x5d9326=_0x46b13f,_0x480871=_0x5d9326[_0x277dc8(0x265)],_0x36d353=_0x480871[_0x277dc8(0x35d)],_0x41bf87=_0x36d353['init'],_0x1c2fb2=_0x36d353[_0x277dc8(0x426)]=function(_0x314820){var _0x454c3c=_0x277dc8;if(_0x314820 instanceof ArrayBuffer&&(_0x314820=new Uint8Array(_0x314820)),(_0x314820 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x314820 instanceof Uint8ClampedArray||_0x314820 instanceof Int16Array||_0x314820 instanceof Uint16Array||_0x314820 instanceof Int32Array||_0x314820 instanceof Uint32Array||_0x314820 instanceof Float32Array||_0x314820 instanceof Float64Array)&&(_0x314820=new Uint8Array(_0x314820['buffer'],_0x314820[_0x454c3c(0x44d)],_0x314820[_0x454c3c(0x364)])),_0x314820 instanceof Uint8Array){for(var _0x141148=_0x314820[_0x454c3c(0x364)],_0x241b6d=[],_0x365f0b=0x0;_0x365f0b<_0x141148;_0x365f0b++)_0x241b6d[_0x365f0b>>>0x2]|=_0x314820[_0x365f0b]<<0x18-_0x365f0b%0x4*0x8;_0x41bf87[_0x454c3c(0x20b)](this,_0x241b6d,_0x141148);}else _0x41bf87['apply'](this,arguments);};_0x1c2fb2[_0x277dc8(0x239)]=_0x36d353;}}()),_0x46b13f[_0xf8d13d(0x265)][_0xf8d13d(0x35d)];}));}(Ze)),Ze[_0x27560c(0x3bb)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){return hi||(hi=0x1,function(_0x2eb665,_0x337c1e){(function(_0x36e48d,_0x52be7b,_0x2b80c5){var _0x417c12=_0x6808;_0x2eb665[_0x417c12(0x3bb)]=_0x52be7b(ne(),Ai());}(is,function(_0x320a32){var _0x513815=_0x6808;return _0x320a32[_0x513815(0x4a5)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x320a32['pad'][_0x513815(0x228)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x52e17b,_0x1b0b99){var _0x33b068=_0xe5cf50;const _0x53de0f=_0x1b0b99-_0x52e17b['length']%_0x1b0b99,_0x4ba237=String[_0x33b068(0x2e9)](_0x53de0f)[_0x33b068(0x1f6)](_0x53de0f);return _0x52e17b+_0x4ba237;}function as(_0x1d6afd,_0x4afdf9){var _0x38ae71=_0xe5cf50;const _0x5d9065=ts['random'](0x10),_0x3946e2=os(_0x1d6afd,0x10),_0x1b0219=Kr[_0x38ae71(0x1f4)](Xr['parse'](_0x3946e2),oi['parse'](_0x4afdf9),{'iv':_0x5d9065,'padding':ss});return _0x5d9065[_0x38ae71(0x33c)](_0x1b0219[_0x38ae71(0x2a3)])[_0x38ae71(0x1c1)](oi);}function cs(){var _0x1a960c=_0xe5cf50;const _0x55ec89=_0x15c967()[_0x1a960c(0x2bb)];if(_0x55ec89){const _0x13b0f1={'time':Math[_0x1a960c(0x374)](Date[_0x1a960c(0x48b)]()/0x3e8),'domain':location[_0x1a960c(0x3e9)]};return as(JSON[_0x1a960c(0x3e1)](_0x13b0f1),_0x55ec89);}}var hs=Object[_0xe5cf50(0x4a7)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x3347fd,_0x5c149d,_0x242fbd,_0x281201)=>{for(var _0x12b853=_0x281201>0x1?void 0x0:_0x281201?_s(_0x5c149d,_0x242fbd):_0x5c149d,_0x57a635=_0x3347fd['length']-0x1,_0x4ab676;_0x57a635>=0x0;_0x57a635--)(_0x4ab676=_0x3347fd[_0x57a635])&&(_0x12b853=(_0x281201?_0x4ab676(_0x5c149d,_0x242fbd,_0x12b853):_0x4ab676(_0x12b853))||_0x12b853);return _0x281201&&_0x12b853&&hs(_0x5c149d,_0x242fbd,_0x12b853),_0x12b853;},us=(_0x126b21,_0x42931a)=>(_0x281c6e,_0x3bf7f9)=>_0x42931a(_0x281c6e,_0x3bf7f9,_0x126b21);let ot=class{constructor(_0x209475){var _0x1f62ea=_0xe5cf50;this[_0x1f62ea(0x36e)]=_0x209475,this[_0x1f62ea(0x243)]();}['_initRequestHeader'](){var _0x106630=_0xe5cf50;this[_0x106630(0x36e)]['registerHTTPInterceptor']({'interceptor':(_0x23178f,_0x46dc74)=>{var _0x4a5e28=_0x106630;const _0xeca529=_0x23178f['headers'],_0x1b4ab4=cs();return _0x1b4ab4&&_0xeca529['set'](_0x4a5e28(0x47d),_0x1b4ab4),_0x46dc74(_0x23178f);}});}};ot=ls([us(0x0,_0x1d51a6(_0x2e5962))],ot);function _0x4e7c(){var _0x4c4b0c=['_unlockTransition','sendChangesetTimeout','Error\x20on\x20receiving\x20event','dispose$','objects','deepClone','slice','APPLY_NON_SEQUENTIAL_REVISION','[DataLoaderService]','_registerDependencies','_configService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','transformMutationsWithChangeset','getWorkbookSelections','_singleActiveUnitService','_replaceFileID','change$','_submitChangeset','workbook','EvpKDF','post','_xformMode','application/json','exports','onTransformRemoteChangesetByIMECache','USERS_ENTER','_startTelemetryCollaborationNewChangeset','infoRsp','_handler','readAsDataURL','method','SUBMIT_CHANGESET','createInstance','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_clearCollaborationTimeoutTimer','_onJoinRoomEvent','unit-cache-','_handlerCallback','COMPRESS_MUTATION_SEND','readyForCollab','encode','executeCommand','awaiting','_startCollaboration','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','searchParams','_getDownloadEndpointURL','encryptBlock','_onRemoteACK','_nDataBytes','UPDATE_PERMISSION_OBJ','findIndex','_emitMembers','_throwTelemetryCollaborationNewChangeset','_lockTransition','_iv','_doReset','file','update','onMissedChangesetFetched','[OfflineState]:\x20received\x20acknowledgement.','stringify','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nRounds','_listenToNetworkCondition','_telemetryService','collaMsg','session.room-cnt-exceeds','_scheduleCollaborationTimeoutTimer','hostname','_parse','session.room-full','updatePermissionPoint','reject','LIVESHARE_FETCH_OPERATIONS','OTHER_CLIENTS_EDITING','padding','PY_RUNTIME_SCRIPT_ERROR','LIVESHARE_REQUEST_HOST','PasswordBasedCipher','_decreaseWaiting','location','getMemberID','_sheetTransformSelectionsService','unknown','_getSignURL','_revisionService','status','splice','_invKeySchedule','addImageSourceCache','_showConflictNotification','_oKey','fetchMissingChangesets','_sender','_collaborationTimeoutTimer','sessionTicket','_onMessage','_initMergeInterceptor','_sessions','_socket','HEARTBEAT','JOIN_ROOM_FAILED','decrypt','event$','CLOSE_ROOM','SNAPSHOT_HAS_BEEN_REMOVED','/allowed','dispose','_map','collaboration-client.config','textRanges','abs','_executeRemoteChangeset','JOIN_ROOM_NOT_EXISTS','result','ALREADY_EXISTS','BufferedBlockAlgorithm','COMMENT_UPDATE','HttpExport','updateMember','requireSession','_clearUndo','_socketService','_event$','loadOfflineData','SNAPSHOT_INVALID_SNAPSHOT','enc','onLocalMutation','_onConflict','init','UNIVER_SHEET','/role','/universer-api/snapshot','capture','_timeoutTimer','_keySchedule','authzUrl','PERMISSION_DENIED','BlockCipher','push','_toggleOnline','loginUrlKey','headers','_sendHeartbeat','indexOf','name','joinRsp','_roomMembers','SNAPSHOT_SERVER_URL_KEY','_rescheduleHeartbeat','_candidateSocket','_createHandler','[CollaborationState]:\x20apply\x20error!','editingUnit','formatter','members$','_transformStateCache','get','image/png','resolve','salt','conflict','_scheduleCompleteTimestamp','_transformStack','_onRemoteRejected','pluginName','_reverseMap','ENSURE_SNAPSHOT_EXECUTION','byteOffset','parse','origin','setShowComponents','LICENSE_MAX_UNITS_EXCEEDED','userID','_waitForHeartbeatResponse','loadDoc','getSnapshotAPIPath','Hasher','487812gWyFrV','set','transformChangesets','LICENSE_DISTRO_REJECTED','reverse','HELLO','memberID','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','unitID','_clearRedo','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_HTTPService','ERROR_IMAGE_TYPE','_loadSheet','_compressMutationService','LOCAL_CACHE_INTERVAL','APPLY_DUPLICATED','_key','_shouldReportTelemetry','getMember','listRoles','LICENSE_IMPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_collaborationPaused','_onRemoteChangeset','onTransformRemoteChangesetByStateCache','appendMutation','[OfflineState]:\x20received\x20rejection.','session.room-permission-denied','303443GUBAKT','create','processBlock','getUnitType','_createSocketURL','AWAITING','unitId\x20is\x20not\x20found','transformStack\x20failed!','_initCloseConn','x-univer-host','ERROR_IMAGE','getSheetId','values','cfg','UNDEFINED','SOCKET_FAILED','send','YUUMI_URL_COL_OUT_OF_RANGE','clone','_waitCount','sigBytes','charCodeAt','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','now','_transformIMECache','randomBytes','_undoStacks','_status$','FETCH_MISSING','uploadFileServerUrl','Pkcs7','kdf','delete','_createHmacHelper','COMPLETION_FINISHED','key','CHANGESET_SHOULD_RETRY','_onConnectionOpen','PSEUDO_FETCH_MISSING_RESULT','createCollaborator','_updateLocalCache','_injector','objectID','420693HtKZDn','_collaborationSessionService','onRemoteRej','APPLY_REJECT','_schedule','SHA1','pad','_onCombEvent','defineProperty','onRemoteRetry','Base','createDecryptor','awaiting_with_pending','fetchThroughInterceptors','SUBMIT_CHANGESET_TIMEOUT','emitEvent','?url=','_permissionService','includes','CipherParams','collabSubmitChangesetUrl','Encryptor','algo','SEND_CHANGESET_TIMEOUT','offline','putCollaborators','copyFileMeta','getUnit','snapshotServerUrl','replace','COMPRESS_MUTATION_APPLY','_imageSourceCache','onTransformSelections','UNRECOGNIZED','onStateChange','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_userManagerService','shouldCloseConn','toString','random','/-/object/-/batch_allowed','objectActions','/unit/','saveSnapshot','put','words','join','[CollaborationUndoRedoService]','reconnect','INTERNAL_ERROR','_transformUndoredo','title','_onUserJoin','_toggleOffline','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','then','getCurrentUser','IDLE','data','auth.needGotoLoginAlert','ticket','withCredentials','saveImage','setCurrentUser','addHandlerCallback','_getSessionTicket','next','code','removeMember','extend','toggleOnline','SUCCUSS','Univer','string','apply','_changesetReqId','_resendTimeout','\x20-\x20','subscribe','reset','_hasher','refreshPermission','listCollaborators','_unitID','resourceIDs','_retryCount','AES','session.room-not-exists','_univerInstanceService','encrypt','_commandService','repeat','map','setConfig','asObservable','disposeWithMe','_getCurrentRevision','_fetchMissChangesets','add','updateOfflineData','getTypeOfUnitDisposed$','allowed','_clearTimeoutTimer','hasher','_localeService','getSheetBlock','[CollaborationSessionService]:\x20socket\x20error','_transformRemoteChangesetByIMECache','localCacheService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_instanceService','c1Prime','call','_state$','filter','OpenSSL','_roomCreated$','AUTHZ_URL_KEY','UNIVER_PROJECT','closeSession','getResourcesRequest','_authzIoService','_commentService','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_cipher','unpad','not_collab','forEach','PERMISSION_REJ','downloadEndpointUrl','_minBufferSize','error','_getSendChangesetTimeout','ivSize','resend','_resendWithTimeout','substr','_exhaustRemoteChangesetQueue','_localCacheService','stopTime','baseRev','NoPadding','YUUMI_UNABLE_LOAD_URL','fetch_missing','session.join-failed','NEW_CHANGESETS','_getUndoStack','toggleOffline','m2Prime','sid','roles','UNKNOWN_CODE','getFocusedUnit','close','href','patch','startsWith','SNAPSHOT_URL_KEY','prototype','SHOULD_CLOSE_CONN','BASE64','_syncEditingCollabCursor','UNIVER_UNKNOWN','eventID','onRemoteChangeset','TOO_MANY_REQUESTS','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getUnitOnRev','_initRequestHeader','Base64','interceptor','UUID','HmacSHA1','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','liveShareOperation','_change$','_snapshotService','651756puOetD','range','5470mDIRbr','setWaitCount','INGEST','[CollaborationSession]','members','univer-pro.collaboration-client.network-condition.service','loadUnit','/block/','_getCtorByUniverType','MSG_FOR_ERROR','_data','csAckEvent','updateCursorEvent','MD5','mixIn','_tryReconnect','entries','collaborators','JOIN','bind','_append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_getUploadFileURL','lib','getAllMembers','[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.','size','transformUndoRedo','GLOBAL_ROOMS_CNT_EXCEEDS','subUnitId','Latin1','_incrementRevisionNumber','pending','[PendingState]:\x20received\x20rejection.','image/jpeg','execute','incrementRevOfUnit','NO_OTHER_CLIENTS_EDITING','LIVESHARE_NEW_HOST','_snapshotServerService','_pendingMutations','FETCH_MISS','onRemoteAck','_clearHeartbeatTimer','&source=','__creator','USERS_LEAVE','?size=','runId','_eventService','randomUUID','finalize','_clearScheduledTask','StreamCipher','_undoRedoService','online$','msCrypto','_applyRemoteChangeset','MUTATION','_joinRoom','/universer-api/snapshot/','getCollabEntity$','_socketMessageSubscription','/fetchmissing?from=','charAt','/rev/','onTransformState','20367WzIuJk','ONLINE','rev','10SpljaU','POST','csShouldRetryEvent','/universer-api/stream/file/upload','[UniverCollaborationClientPlugin]','Hex','_collaborationUIEventService','function','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','waitForRoom$','ws://127.0.0.1:8000/universer-api/comb/connect','/new_changes','image/jpg','src','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','ciphertext','equals','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','localeService','collaboration-client.local-cache-service','open$','_socketReady','sessionStatus','_remoteChangesetQueue','updateCollaborator','format','getConfig','avatar','_init','compute','fromCollab','/resources','getActiveSheet','_createInitialState','telemetry\x20info\x20is\x20not\x20initialized','Could\x20not\x20dynamically\x20require\x20\x22','UPDATE_CURSOR','_tryEnsureSocket','fetching\x20missing\x20changesets\x20from\x20','__Key__','_state','\x0aCurrent:\x20','_getRedoStack','CHANGESET_REJ','JOINING','keySize','status$','generateRandomId','_process','[CollaborationSessionService]','getCurrentRevOfUnit','updatePermissionObjEvent','_telemetryInfo','/collaborator','_unitInfo$','session','_stopTelemetryCollaborationNewChangeset','originalMeta','fetchMiss','UNIVER_DOC','People','image/bmp','JOIN_ROOM_PERMISSION_DENIED','awaitingChangeset','revision','_onRecvEvent','registerHTTPInterceptor','_createInitialStateImpl','clamp','_onConnectionFailed','length','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_isPermissionRej','UNKNOWN_CMD','socket\x20close','onCommandExecuted','responseType','onlyLocal','LIVESHARE_TERMINATE','saveSheetBlock','/universer-api/user/session-ticket','subject','_onFetchMissResult','_clearLocalCache','onSendChangeset','fromCharCode','actions','_mode','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','56220DFGTpU','UNIVER_SLIDE','_createHelper','state$','connection\x20error','OFFLINE','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_updateState','synced','CONFLICT','body','CHANGESET_REVISION_CONFILICT','onTransformIME','ceil','LIVESHARE_OPERATION','_acknowledgedAwaitingChangeset','routeKey','Undefined','_disableEditing','_getAPIPrefixPath','LICENSE_EXPORT_SIZE_EXCEEDED','toLowerCase','[CollaborationEntity]','_transitionLocked','_collabSessionService','mutations','/universer-api/authz','Cipher','getInterceptPoints','_http','_updateStatus','unitInfo$','_replayCachedMutations','_iKey','getImage','UnitSnapshot','YUUMI_RATE_OVER_LIMIT','mode','_getAPIPrefix','clear','find','_doFinalize','Utf8','default','_sendingTimer','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','FileId','unsubscribe','createSocket','_networkConditionService','\x20in\x20_schedule.','isPermissionRej','transformSelections','_members$','Decryptor','getOwnPropertyDescriptor','changesets','getUnitId','blockSize','getImageSourceCache','_entityInit$','getTypeOfUnitAdded$','_ENC_XFORM_MODE','_logService','_hash','_queuedRemoteChangesets','FAIL','_socket$','getRandomValues','socketService','url','univer-pro.collaboration-client.single-active-unit-service','retryConnectingInterval','_memberService','UNAUTHENTICATED','_prevBlock','enableAuthServer','HEARTBEAT_TIMEOUT','_transformSelections','concat','type','/universer-api/oidc/authpage','_resendTimer','debug','sessionStatus$','HEARTBEAT_INTERVAL','NOT_FOUND','requestParams','createEncryptor','sheets','_substituteUndoStack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','_loadDoc','collabWebSocketUrl','SOCKET_FAILED_RETRY','pipe','getTime','LEAVE','action','objectType','collaboration_new_changeset','_onRemoteRetry','liveShareNewHost','collaboratorID','$super','message$','unitId','_getLoginPath','catch','__esModule','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','WordArray','image/gif','from','_awaitingChangeset','_DEC_XFORM_MODE','/object','cmd','byteLength','params','_doCryptBlock','ERROR_EXCEED_SIZE','JOIN_ROOM_FULL','UNISCRIPT_RUN','_onLocalMutation','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','DEFAULT_FILE_NAME','_sendHeartbeatTimer','_httpService','_checkMissing','241164BJRPIE','OTHER_CLIENT_EDITING','c2Prime','RECV','floor','CONNECTOR_DATA_TOO_LARGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_onOffline','/object/','_initDependencies','_entities','_sessionStatus$','error$','48pPbDXe','decryptBlock','_substituteRedoStack','Malformed\x20UTF-8\x20data','_config','INVALID_ARGUMENT','wsSessionTicketUrl','&to=','_retryConnectingTimer','onCommentUpdate','hasOwnProperty','close$','getCollabEntity','_commentUpdate$','enableSingleActiveInstanceLock','YUUMI_SUBSCRIPTION_NOT_FOUND','onSyncEditingCollabCursor','BlockCipherMode','rng','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','getDeserializedSheetBlock','COLLAB_WEB_SOCKET_URL','joinEvent','min','list','crypto','LOGIN_URL_KEY','APPLY_PERMISSION_DENIED','onMissingChangesets','reqId','permissionRejEvent','_members','commentUpdate$','CHANGESET_ACK','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_type','UnitEmbedded','complete','_transformService'];_0x4e7c=function(){return _0x4c4b0c;};return _0x4e7c();}var ds=Object['defineProperty'],fs=Object[_0xe5cf50(0x324)],vs=(_0x101326,_0x44152a,_0x2705b1,_0x1ebf44)=>{var _0x5cc2b9=_0xe5cf50;for(var _0x3912fd=_0x1ebf44>0x1?void 0x0:_0x1ebf44?fs(_0x44152a,_0x2705b1):_0x44152a,_0x2d5f36=_0x101326[_0x5cc2b9(0x2da)]-0x1,_0xe339a;_0x2d5f36>=0x0;_0x2d5f36--)(_0xe339a=_0x101326[_0x2d5f36])&&(_0x3912fd=(_0x1ebf44?_0xe339a(_0x44152a,_0x2705b1,_0x3912fd):_0xe339a(_0x3912fd))||_0x3912fd);return _0x1ebf44&&_0x3912fd&&ds(_0x44152a,_0x2705b1,_0x3912fd),_0x3912fd;},mt=(_0x451353,_0x450021)=>(_0x26c33b,_0x14aab0)=>_0x450021(_0x26c33b,_0x14aab0,_0x451353);let Ot=class extends _0x155349{constructor(_0x14d3e8,_0x33f41d,_0x663eb5){var _0x19ea76=_0xe5cf50;super(),N(this,_0x19ea76(0x2ca),new _0xd2a8b4(null)),N(this,_0x19ea76(0x30c),this[_0x19ea76(0x2ca)][_0x19ea76(0x1f9)]()),(this[_0x19ea76(0x32c)]=_0x14d3e8,this[_0x19ea76(0x24b)]=_0x33f41d,this[_0x19ea76(0x225)]=_0x663eb5);}async[_0xe5cf50(0x254)](_0x5bef52,_0x3fc771,_0x5bdfb6){var _0x3a5378=_0xe5cf50;this['_unitInfo$']['next']({'unitId':_0x5bef52,'type':_0x3fc771,'subUnitId':_0x5bdfb6});let _0x406827=null;switch(_0x3fc771){case Q['UNIVER_SHEET']:{_0x406827=await this['_loadSheet'](_0x5bef52);break;}case Q['UNIVER_DOC']:{_0x406827=await this['_loadDoc'](_0x5bef52);break;}default:{this[_0x3a5378(0x32c)][_0x3a5378(0x21e)](_0x3a5378(0x3ac),_0x3a5378(0x2ec));break;}}return _0x406827;}async[_0xe5cf50(0x464)](_0x597912){var _0x406417=_0xe5cf50,_0x1c7748;let _0x548c55=0x0;const _0x4b42f3=await((_0x1c7748=this['_localCacheService'])==null?void 0x0:_0x1c7748[_0x406417(0x421)](_0x597912));return _0x4b42f3&&(_0x4b42f3[_0x406417(0x2d3)]||_0x4b42f3['mutations'][_0x406417(0x2da)]!==0x0)&&(_0x548c55=_0x4b42f3[_0x406417(0x293)]),_0x548c55===0x0&&this[_0x406417(0x32c)][_0x406417(0x340)](_0x406417(0x3ac),_0x406417(0x216)),this['_snapshotService']['loadSheet'](_0x597912,_0x548c55);}async[_0xe5cf50(0x34a)](_0x5c54ea){var _0x4514e4=_0xe5cf50,_0x1f2066;let _0x4bec55=0x0;const _0x21bbe5=await((_0x1f2066=this[_0x4514e4(0x225)])==null?void 0x0:_0x1f2066[_0x4514e4(0x421)](_0x5c54ea));return _0x21bbe5&&(_0x21bbe5[_0x4514e4(0x2d3)]||_0x21bbe5['mutations'][_0x4514e4(0x2da)]!==0x0)&&(_0x4bec55=_0x21bbe5[_0x4514e4(0x293)]),_0x4bec55===0x0&&this['_logService'][_0x4514e4(0x340)]('[DataLoaderService]',_0x4514e4(0x216)),this[_0x4514e4(0x24b)][_0x4514e4(0x454)](_0x5c54ea,_0x4bec55);}};Ot=vs([mt(0x0,_0x4597d7),mt(0x1,_0x1d51a6(_0x1ce1d6)),mt(0x2,_0x32cef0(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0xe5cf50(0x324)],gs=(_0x4c2d33,_0x3e9acd,_0x27e636,_0x2a9116)=>{var _0x311a1b=_0xe5cf50;for(var _0xc4e94e=_0x2a9116>0x1?void 0x0:_0x2a9116?ms(_0x3e9acd,_0x27e636):_0x3e9acd,_0x1002ff=_0x4c2d33[_0x311a1b(0x2da)]-0x1,_0x402ec4;_0x1002ff>=0x0;_0x1002ff--)(_0x402ec4=_0x4c2d33[_0x1002ff])&&(_0xc4e94e=(_0x2a9116?_0x402ec4(_0x3e9acd,_0x27e636,_0xc4e94e):_0x402ec4(_0xc4e94e))||_0xc4e94e);return _0x2a9116&&_0xc4e94e&&ps(_0x3e9acd,_0x27e636,_0xc4e94e),_0xc4e94e;},gt=(_0x55de40,_0x584036)=>(_0x57d666,_0xdac5c8)=>_0x584036(_0x57d666,_0xdac5c8,_0x55de40);const Ss=[_0xe5cf50(0x443),_0xe5cf50(0x270),_0xe5cf50(0x2a0),_0xe5cf50(0x35e),_0xe5cf50(0x2d1)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0xe5cf50(0x297),Cs=_0xe5cf50(0x241),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x3ee730,_0x79314f,_0x4daff2){var _0xac47f0=_0xe5cf50;N(this,_0xac47f0(0x487),0x0),N(this,_0xac47f0(0x24a),new _0x355bd5()),N(this,_0xac47f0(0x3b4),this[_0xac47f0(0x24a)]),N(this,_0xac47f0(0x1ba),new Map()),(this[_0xac47f0(0x36e)]=_0x3ee730,this[_0xac47f0(0x3ae)]=_0x79314f,this['_univerInstanceService']=_0x4daff2);}[_0xe5cf50(0x24f)](_0x2a8a55){var _0x135aa2=_0xe5cf50;this[_0x135aa2(0x487)]=_0x2a8a55,this[_0x135aa2(0x24a)][_0x135aa2(0x1dd)](_0x2a8a55);}[_0xe5cf50(0x328)](_0x442410,_0x5c6e66){var _0x5b2433=_0xe5cf50;if(_0x5c6e66===_0x2061c6[_0x5b2433(0x23b)]){const _0x491b6e=new Image();return _0x491b6e[_0x5b2433(0x2a1)]=_0x442410,_0x491b6e;}return this[_0x5b2433(0x1ba)][_0x5b2433(0x442)](_0x442410);}[_0xe5cf50(0x3fe)](_0x5c2eab,_0x43c87c,_0x5ed9c7){var _0x44fde1=_0xe5cf50;_0x43c87c===_0x2061c6[_0x44fde1(0x23b)]||_0x5ed9c7==null||this[_0x44fde1(0x1ba)][_0x44fde1(0x458)](_0x5c2eab,_0x5ed9c7);}async[_0xe5cf50(0x30f)](_0x5091a1){var _0x502867=_0xe5cf50;try{const _0x5369a8=this[_0x502867(0x3b3)](this[_0x502867(0x3f9)](),''+_0x5091a1),_0x502391=(await this[_0x502867(0x36e)][_0x502867(0x442)](_0x5369a8))[_0x502867(0x2f7)];if(_0x502391[_0x502867(0x21e)]&&_0x502391['error'][_0x502867(0x1de)]===Ii['OK']){const _0x457ba9=new URL(_0x502391[_0x502867(0x333)],this[_0x502867(0x3d2)]())[_0x502867(0x1c1)]();return Promise[_0x502867(0x444)](_0x457ba9);}return Promise['reject'](_0x502391[_0x502867(0x21e)]);}catch(_0x1943bd){return Promise[_0x502867(0x3ed)](_0x1943bd);}}async[_0xe5cf50(0x1d9)](_0x109617){var _0x514b76=_0xe5cf50;let _0x3e4cf2='';if(!Ss[_0x514b76(0x1ad)](_0x109617[_0x514b76(0x33d)]))return this[_0x514b76(0x3f4)](),Promise['reject'](new Error(_0x554c83[_0x514b76(0x463)]));if(_0x109617[_0x514b76(0x268)]>Es)return this[_0x514b76(0x3f4)](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x367)]));try{const _0x2513d8=new FormData();_0x2513d8['append'](_0x514b76(0x3dd),_0x109617);const _0x40b181=this[_0x514b76(0x1f3)][_0x514b76(0x233)](),_0x159a11=_0x40b181==null?void 0x0:_0x40b181[_0x514b76(0x326)]();if(!_0x159a11)throw new Error(_0x514b76(0x47a));const _0xaafcbb=this[_0x514b76(0x264)]()+_0x514b76(0x27d)+_0x109617['size'][_0x514b76(0x1c1)]()+_0x514b76(0x27a)+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x159a11),_0x24cb9b=await(await fetch(_0xaafcbb,{'method':_0x514b76(0x295),'body':_0x2513d8}))['json']();if(typeof _0x24cb9b[_0x514b76(0x31b)]!=_0x514b76(0x1e4))return this['_decreaseWaiting'](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x47e)]));_0x3e4cf2=_0x24cb9b[_0x514b76(0x31b)];}catch{return this[_0x514b76(0x3f4)](),Promise[_0x514b76(0x3ed)](new Error(_0x554c83[_0x514b76(0x47e)]));}return new Promise((_0x54b15a,_0x38abb8)=>{var _0x2b28c7=_0x514b76;const _0x163822=new FileReader();_0x163822[_0x2b28c7(0x3c1)](_0x109617),_0x163822['onload']=_0x38c359=>{var _0x506441=_0x2b28c7,_0x516706;const _0x3f044e=(_0x516706=_0x38c359['target'])==null?void 0x0:_0x516706[_0x506441(0x417)];if(_0x3f044e==null){this[_0x506441(0x3f4)](),_0x38abb8(new Error(_0x554c83[_0x506441(0x47e)]));return;}const _0x5a2945=_0x338369[_0x506441(0x2c3)](0x6);_0x54b15a({'imageId':_0x5a2945,'imageSourceType':_0x2061c6[_0x506441(0x246)],'source':_0x3e4cf2,'base64Cache':_0x3f044e,'status':_0x554c83[_0x506441(0x1e2)]}),this['_decreaseWaiting']();};});}[_0xe5cf50(0x264)](){var _0x339119=_0xe5cf50,_0x3dd51c,_0x132ac3;const _0x219964=this['_configService'][_0x339119(0x2ae)](Is),_0x3f52e8=this[_0x339119(0x3ae)][_0x339119(0x2ae)](q);return(_0x132ac3=(_0x3dd51c=_0x3f52e8==null?void 0x0:_0x3f52e8[_0x339119(0x491)])!=null?_0x3dd51c:_0x219964)!=null?_0x132ac3:Ts;}[_0xe5cf50(0x3f9)](){var _0x560342=_0xe5cf50,_0x13b834,_0x92fec3;const _0xc9a8c9=this[_0x560342(0x3ae)][_0x560342(0x2ae)](Cs),_0x3255e9=this[_0x560342(0x3ae)]['getConfig'](q);return(_0x92fec3=(_0x13b834=_0x3255e9==null?void 0x0:_0x3255e9['signUrlServerUrl'])!=null?_0x13b834:_0xc9a8c9)!=null?_0x92fec3:Rs;}[_0xe5cf50(0x3d2)](){var _0x2751fb=_0xe5cf50,_0x35f3dc;const _0x4d2cbd=this[_0x2751fb(0x3ae)][_0x2751fb(0x2ae)](q);return(_0x35f3dc=_0x4d2cbd==null?void 0x0:_0x4d2cbd[_0x2751fb(0x21c)])!=null?_0x35f3dc:location[_0x2751fb(0x44f)];}['_replaceFileID'](_0xe18820,_0x447c7e){var _0x1400e6=_0xe5cf50;return _0xe18820[_0x1400e6(0x1b8)]('{fileID}',_0x447c7e);}[_0xe5cf50(0x3f4)](){var _0x397f49=_0xe5cf50;this[_0x397f49(0x487)]-=0x1,this['_change$'][_0x397f49(0x1dd)](this['_waitCount']);}};yt=gs([gt(0x0,_0x1d51a6(_0x2e5962)),gt(0x1,_0x22ebb9),gt(0x2,_0x1d51a6(_0x25173e))],yt);var bs=Object[_0xe5cf50(0x4a7)],Os=Object[_0xe5cf50(0x324)],ys=(_0x1537f0,_0x3b18f7,_0x3c8e74,_0xddf0f1)=>{var _0x244428=_0xe5cf50;for(var _0x102215=_0xddf0f1>0x1?void 0x0:_0xddf0f1?Os(_0x3b18f7,_0x3c8e74):_0x3b18f7,_0x3d25c8=_0x1537f0[_0x244428(0x2da)]-0x1,_0x99b68c;_0x3d25c8>=0x0;_0x3d25c8--)(_0x99b68c=_0x1537f0[_0x3d25c8])&&(_0x102215=(_0xddf0f1?_0x99b68c(_0x3b18f7,_0x3c8e74,_0x102215):_0x99b68c(_0x102215))||_0x102215);return _0xddf0f1&&_0x102215&&bs(_0x3b18f7,_0x3c8e74,_0x102215),_0x102215;},_i=(_0x383c87,_0x21e88d)=>(_0x3e6afa,_0x5668b8)=>_0x21e88d(_0x3e6afa,_0x5668b8,_0x383c87);const Ns=_0xe5cf50(0x307);let Nt=class{constructor(_0x37d2b2,_0x27c48b){var _0x483959=_0xe5cf50;this[_0x483959(0x3ae)]=_0x37d2b2,this[_0x483959(0x462)]=_0x27c48b;}['_getAPIPrefixPath'](){var _0x58c6eb=_0xe5cf50,_0x5556bc,_0x3d2982;const _0x16c725=this[_0x58c6eb(0x3ae)][_0x58c6eb(0x2ae)](Pi),_0x197898=this[_0x58c6eb(0x3ae)][_0x58c6eb(0x2ae)](q);return(_0x3d2982=(_0x5556bc=_0x197898==null?void 0x0:_0x197898[_0x58c6eb(0x42d)])!=null?_0x5556bc:_0x16c725)!=null?_0x3d2982:Ns;}async[_0xe5cf50(0x395)](_0x4d4ba6){var _0xdc1b95=_0xe5cf50;const _0x2673e7=this['_getAPIPrefixPath']()+_0xdc1b95(0x2c9);return{'list':[{'title':_0xdc1b95(0x2d0),'mentions':(await this[_0xdc1b95(0x462)][_0xdc1b95(0x442)](_0x2673e7,{'params':{'objectID':_0x4d4ba6['unitId'],'unitID':_0x4d4ba6[_0xdc1b95(0x358)]}}))[_0xdc1b95(0x2f7)][_0xdc1b95(0x25f)][_0xdc1b95(0x1f7)](_0x550aac=>({'objectId':_0x550aac['id'],'name':_0x550aac['subject'][_0xdc1b95(0x436)],'metadata':{'icon':_0x550aac[_0xdc1b95(0x2e5)][_0xdc1b95(0x2af)]},'label':_0x550aac[_0xdc1b95(0x2e5)][_0xdc1b95(0x436)],'objectType':_0x342389['PERSON']})),'metadata':{},'type':_0x342389['PERSON']}]};}};Nt=ys([_i(0x0,_0x1d51a6(_0x22ebb9)),_i(0x1,_0x1d51a6(_0x2e5962))],Nt);var Ds=Object[_0xe5cf50(0x4a7)],Ps=Object[_0xe5cf50(0x324)],ws=(_0xd0197e,_0x31881f,_0x5ef369,_0x4695e6)=>{var _0x523299=_0xe5cf50;for(var _0x446ebb=_0x4695e6>0x1?void 0x0:_0x4695e6?Ps(_0x31881f,_0x5ef369):_0x31881f,_0x19598a=_0xd0197e[_0x523299(0x2da)]-0x1,_0x4dac73;_0x19598a>=0x0;_0x19598a--)(_0x4dac73=_0xd0197e[_0x19598a])&&(_0x446ebb=(_0x4695e6?_0x4dac73(_0x31881f,_0x5ef369,_0x446ebb):_0x4dac73(_0x446ebb))||_0x446ebb);return _0x4695e6&&_0x446ebb&&Ds(_0x31881f,_0x5ef369,_0x446ebb),_0x446ebb;},Se=(_0x5c286f,_0x123e40)=>(_0x291093,_0x28dfec)=>_0x123e40(_0x291093,_0x28dfec,_0x5c286f);let at=class extends _0x155349{constructor(_0x519759,_0x56a503,_0x244cb3,_0x1914b5,_0x4c3a2a,_0x542d92,_0x1c8891){var _0xe6d6b5=_0xe5cf50;super(),this[_0xe6d6b5(0x49d)]=_0x519759,this['_univerInstanceService']=_0x56a503,this[_0xe6d6b5(0x1ac)]=_0x244cb3,this['_collaborationSessionService']=_0x1914b5,this[_0xe6d6b5(0x29a)]=_0x4c3a2a,this[_0xe6d6b5(0x214)]=_0x542d92,this['_undoRedoService']=_0x1c8891,this['_initUnitPermissionChange'](),this['_initCloseConn']();}[_0xe5cf50(0x47c)](){var _0x3b7bb6=_0xe5cf50;const _0x25fd44=async _0x826c89=>{var _0x1e4352=_0x6808;(await this[_0x1e4352(0x4a0)][_0x1e4352(0x41d)](_0x826c89))['event$'][_0x1e4352(0x34d)](_0x2c2600(_0x72d08=>_0x72d08[_0x1e4352(0x23e)]===_0x11ed3f[_0x1e4352(0x23a)]),_0x196a7c(this[_0x1e4352(0x3a7)]))[_0x1e4352(0x1e9)](_0x2b43f3=>{var _0x301ef5=_0x1e4352;const _0x2be92a=_0x2b43f3,{reason:_0x183922}=_0x2be92a[_0x301ef5(0x1d5)];this[_0x301ef5(0x29a)][_0x301ef5(0x4ae)]({'id':se[_0x301ef5(0x40d)],'data':_0x183922}),this['_permissionService'][_0x301ef5(0x3ec)](new _0x3d42b8(_0x826c89)['id'],!0x1),this[_0x301ef5(0x4a0)][_0x301ef5(0x212)](_0x826c89);});};_0x25b517(this['_univerInstanceService'][_0x3b7bb6(0x32a)](_0xed9f94['UNIVER_SHEET']),this[_0x3b7bb6(0x1f3)][_0x3b7bb6(0x32a)](_0xed9f94['UNIVER_DOC']))[_0x3b7bb6(0x34d)](_0x137573(_0x1b3945=>_0x1b3945[_0x3b7bb6(0x326)]()),_0x2c2600(_0x43f6ee=>!_0x23cdd9(_0x43f6ee)),_0x196a7c(this[_0x3b7bb6(0x3a7)]))[_0x3b7bb6(0x1e9)](_0x5624e3=>{_0x25fd44(_0x5624e3);});}['_initUnitPermissionChange'](){var _0x10038b=_0xe5cf50;const _0x1af471=async _0x33435e=>{var _0x66721e=_0x6808;const _0x438f38=await this[_0x66721e(0x4a0)]['requireSession'](_0x33435e),_0x3292ef=this['_injector']['get'](_0x531427);_0x438f38['event$']['pipe'](_0x2c2600(_0x629c6e=>_0x629c6e['eventID']===_0x11ed3f[_0x66721e(0x3d6)]),_0x196a7c(this['dispose$']))['subscribe'](_0x400966=>{var _0x2b9ea9=_0x66721e;const _0x2dfd6d=_0x400966,{objectId:_0x465b65}=_0x2dfd6d[_0x2b9ea9(0x1d5)];_0x465b65===_0x33435e?_0x3292ef['initWorkbookPermissionChange'](_0x33435e):_0x3292ef[_0x2b9ea9(0x1ec)](_0x33435e,_0x465b65);});};_0x25b517(this['_univerInstanceService'][_0x10038b(0x32a)](_0xed9f94['UNIVER_SHEET']),this[_0x10038b(0x1f3)][_0x10038b(0x32a)](_0xed9f94['UNIVER_DOC']))[_0x10038b(0x34d)](_0x137573(_0x44091d=>_0x44091d[_0x10038b(0x326)]()),_0x2c2600(_0x2d7c21=>!_0x23cdd9(_0x2d7c21)),_0x196a7c(this[_0x10038b(0x3a7)]))[_0x10038b(0x1e9)](_0x51be5a=>{_0x1af471(_0x51be5a);});}};at=ws([Se(0x0,_0x1d51a6(_0x1edb1c)),Se(0x1,_0x25173e),Se(0x2,_0x1f54fc),Se(0x3,_0x1d51a6(Le)),Se(0x4,_0x1d51a6(pe)),Se(0x5,_0x3f47ca),Se(0x6,_0x512149)],at);var Us=Object['defineProperty'],As=Object[_0xe5cf50(0x324)],xs=(_0xae1ec0,_0x55c6ea,_0x5be337,_0x2b543e)=>{var _0x12500b=_0xe5cf50;for(var _0x55f138=_0x2b543e>0x1?void 0x0:_0x2b543e?As(_0x55c6ea,_0x5be337):_0x55c6ea,_0x20cc40=_0xae1ec0[_0x12500b(0x2da)]-0x1,_0x47b326;_0x20cc40>=0x0;_0x20cc40--)(_0x47b326=_0xae1ec0[_0x20cc40])&&(_0x55f138=(_0x2b543e?_0x47b326(_0x55c6ea,_0x5be337,_0x55f138):_0x47b326(_0x55f138))||_0x55f138);return _0x2b543e&&_0x55f138&&Us(_0x55c6ea,_0x5be337,_0x55f138),_0x55f138;},li=(_0x5443bb,_0x1248ad)=>(_0x24899b,_0xc57a58)=>_0x1248ad(_0x24899b,_0xc57a58,_0x5443bb);let Dt=class{constructor(_0x2e7e12,_0xbd2f5d){var _0x21a507=_0xe5cf50;this[_0x21a507(0x3ae)]=_0x2e7e12,this[_0x21a507(0x36e)]=_0xbd2f5d;}async[_0xe5cf50(0x242)](_0x2a14ff,_0x1d69b4){var _0x43ac1c=_0xe5cf50,_0x4e766d;const {unitID:_0x16dc5e,type:_0x3ae53e,revision:_0x3b48d0=0x0}=_0x1d69b4,_0x24e8cb=this[_0x43ac1c(0x455)]()+'/'+_0x3ae53e+_0x43ac1c(0x1c5)+_0x16dc5e+_0x43ac1c(0x28f)+_0x3b48d0,_0x1868f5=(await this[_0x43ac1c(0x36e)][_0x43ac1c(0x442)](_0x24e8cb))[_0x43ac1c(0x2f7)],_0x119eaa=(_0x4e766d=_0x1868f5['snapshot'])==null?void 0x0:_0x4e766d[_0x43ac1c(0x3b6)];if(_0x119eaa){const _0x16969d=_0x119eaa==null?void 0x0:_0x119eaa[_0x43ac1c(0x2cd)],_0x3d8258=_0x248498[_0x43ac1c(0x3cc)](_0x548551(_0x16969d));_0x119eaa[_0x43ac1c(0x2cd)]=_0x3d8258,Object[_0x43ac1c(0x25e)](_0x119eaa[_0x43ac1c(0x346)])[_0x43ac1c(0x21a)](([,_0x108175])=>{var _0x10a708=_0x43ac1c;const _0x51198c=_0x108175['originalMeta'],_0x1d5f3f=_0x248498[_0x10a708(0x3cc)](_0x548551(_0x51198c));_0x108175['originalMeta']=_0x1d5f3f;});}return _0x1868f5;}async[_0xe5cf50(0x204)](_0x59cb3b,_0x44910f){var _0x2f3025=_0xe5cf50;const {unitID:_0x32fb1e,type:_0x52ce5d,blockID:_0xba021f}=_0x44910f,_0x4d8008=this['_getAPIPrefix']()+'/'+_0x52ce5d+_0x2f3025(0x1c5)+_0x32fb1e+_0x2f3025(0x255)+_0xba021f;return(await this[_0x2f3025(0x36e)]['get'](_0x4d8008))['body'];}async[_0xe5cf50(0x391)](_0x4150c3,_0x4218c6){var _0x1048cd=_0xe5cf50;const {unitID:_0x4703c0,type:_0x16b794,blockID:_0x2278b1}=_0x4218c6,_0x316770=this[_0x1048cd(0x313)]()+_0x1048cd(0x255)+_0x16b794+_0x1048cd(0x1c5)+_0x4703c0+'/block/'+_0x2278b1;return(await this[_0x1048cd(0x36e)]['get'](_0x316770))[_0x1048cd(0x2f7)];}async[_0xe5cf50(0x401)](_0x3255d2,_0x1ba00c){var _0x26d8ed=_0xe5cf50;const {unitID:_0x2a11c7,type:_0x1c7312,from:_0x594e98,to:_0x48d6f1}=_0x1ba00c,_0x3e61ac=this[_0x26d8ed(0x313)]()+'/'+_0x1c7312+_0x26d8ed(0x1c5)+_0x2a11c7+_0x26d8ed(0x28d)+_0x594e98+_0x26d8ed(0x384)+_0x48d6f1;return(await this['_httpService'][_0x26d8ed(0x442)](_0x3e61ac))[_0x26d8ed(0x2f7)];}[_0xe5cf50(0x455)](){var _0x32006d=_0xe5cf50,_0x4abade;return(_0x4abade=this[_0x32006d(0x3ae)][_0x32006d(0x2ae)](Tn))!=null?_0x4abade:this[_0x32006d(0x313)]();}['_getAPIPrefix'](){var _0x556a23=_0xe5cf50,_0x431de1,_0x41cd82;const _0x100a35=this[_0x556a23(0x3ae)]['getConfig'](En),_0x31e53e=this[_0x556a23(0x3ae)][_0x556a23(0x2ae)](q);return(_0x41cd82=(_0x431de1=_0x31e53e==null?void 0x0:_0x31e53e[_0x556a23(0x1b7)])!=null?_0x431de1:_0x100a35)!=null?_0x41cd82:In;}async[_0xe5cf50(0x213)](_0x3656b4,_0x30d3b3){var _0x213156=_0xe5cf50;const _0x3db259=_0x213156(0x28a)+_0x30d3b3[_0x213156(0x33d)]+'/unit/'+_0x30d3b3[_0x213156(0x45f)]+_0x213156(0x2b3);return(await this[_0x213156(0x36e)][_0x213156(0x442)](_0x3db259,{'params':{'resourceId':JSON[_0x213156(0x3e1)](_0x30d3b3[_0x213156(0x1ef)])}}))['body'];}[_0xe5cf50(0x1c6)](){var _0x1f2177=_0xe5cf50;throw new Error(_0x1f2177(0x248));}[_0xe5cf50(0x2e3)](){var _0x33a0de=_0xe5cf50;throw new Error(_0x33a0de(0x248));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0xe5cf50(0x1b5)](){var _0x563d2a=_0xe5cf50;throw new Error(_0x563d2a(0x248));}['getLatestCsReqIdBySid'](){var _0x520296=_0xe5cf50;throw new Error(_0x520296(0x248));}};Dt=xs([li(0x0,_0x22ebb9),li(0x1,_0x1d51a6(_0x2e5962))],Dt);var Ls=Object[_0xe5cf50(0x4a7)],Ms=Object[_0xe5cf50(0x324)],$s=(_0x4f62ab,_0xf310f7,_0x2be14a,_0x24c7ea)=>{var _0xed1c4c=_0xe5cf50;for(var _0x2ddb9f=_0x24c7ea>0x1?void 0x0:_0x24c7ea?Ms(_0xf310f7,_0x2be14a):_0xf310f7,_0x5088c4=_0x4f62ab[_0xed1c4c(0x2da)]-0x1,_0x4b425f;_0x5088c4>=0x0;_0x5088c4--)(_0x4b425f=_0x4f62ab[_0x5088c4])&&(_0x2ddb9f=(_0x24c7ea?_0x4b425f(_0xf310f7,_0x2be14a,_0x2ddb9f):_0x4b425f(_0x2ddb9f))||_0x2ddb9f);return _0x24c7ea&&_0x2ddb9f&&Ls(_0xf310f7,_0x2be14a,_0x2ddb9f),_0x2ddb9f;},Ae=(_0x24601c,_0x2ceeed)=>(_0x4930c0,_0x183efa)=>_0x2ceeed(_0x4930c0,_0x183efa,_0x24601c);let Pt=class extends _0x31f8ae{constructor(_0x56dd5,_0x4cd856,_0x52bf22,_0x59cc78,_0x518e61){var _0xb324ef=_0xe5cf50;super(_0x56dd5,_0x4cd856,_0x52bf22),this[_0xb324ef(0x3a3)]=_0x59cc78,this[_0xb324ef(0x32c)]=_0x518e61;}[_0xe5cf50(0x269)](_0x4db3d4,_0x1a720f){var _0x105b80=_0xe5cf50;const _0x3037db=this[_0x105b80(0x22d)](_0x4db3d4);if(_0x3037db)try{const _0x4858ad=this['_transformStack'](_0x3037db,_0x1a720f);this[_0x105b80(0x347)](_0x4db3d4,_0x4858ad);}catch(_0x310c09){this[_0x105b80(0x32c)][_0x105b80(0x21e)](_0x105b80(0x1ca),_0x310c09),this[_0x105b80(0x41e)](_0x4db3d4);}const _0x1155a0=this[_0x105b80(0x2be)](_0x4db3d4);if(_0x1155a0)try{const _0x4b300e=this[_0x105b80(0x448)](_0x1155a0,_0x1a720f);this[_0x105b80(0x37f)](_0x4db3d4,_0x4b300e);}catch(_0x1720e1){this['_logService'][_0x105b80(0x21e)](_0x1720e1),this[_0x105b80(0x460)](_0x4db3d4);}}['_clearUndo'](_0x162527){var _0x1ed9da=_0xe5cf50;const _0x3d0264=this[_0x1ed9da(0x22d)](_0x162527);_0x3d0264&&(_0x3d0264['length']=0x0,this[_0x1ed9da(0x30b)]());}[_0xe5cf50(0x460)](_0x204094){var _0x23693d=_0xe5cf50;const _0x484a81=this[_0x23693d(0x2be)](_0x204094);_0x484a81&&(_0x484a81['length']=0x0,this[_0x23693d(0x30b)]());}[_0xe5cf50(0x347)](_0x3774c1,_0x586026){var _0x1c7352=_0xe5cf50;this[_0x1c7352(0x48e)]['set'](_0x3774c1,_0x586026),this['_updateStatus']();}[_0xe5cf50(0x37f)](_0x8c087a,_0x33c488){var _0x4e211a=_0xe5cf50;this['_redoStacks'][_0x4e211a(0x458)](_0x8c087a,_0x33c488),this[_0x4e211a(0x30b)]();}[_0xe5cf50(0x448)](_0x4eec2b,_0x416ab0){var _0x345a23=_0xe5cf50;const _0x364115=[];let _0xfa63b=_0x416ab0,_0x34efc5=_0x416ab0;for(let _0x3d8ee9=_0x4eec2b['length']-0x1;_0x3d8ee9>=0x0;_0x3d8ee9--){const {unitID:_0x1935a3,undoMutations:_0x116823,redoMutations:_0xa8ccf5}=_0x4eec2b[_0x3d8ee9],_0x19eab3=this[_0x345a23(0x3a3)][_0x345a23(0x3b0)](_0xfa63b,_0x116823),_0x57804c=this[_0x345a23(0x3a3)][_0x345a23(0x3b0)](_0x34efc5,_0xa8ccf5);if(_0x255dba(_0x19eab3)||_0x255dba(_0x57804c)){this['_logService']['error'](_0x345a23(0x1ca),_0x345a23(0x47b),_0x19eab3,_0x57804c);break;}_0xfa63b=_0x19eab3[_0x345a23(0x20a)],_0x34efc5=_0x57804c[_0x345a23(0x20a)],_0x364115[_0x345a23(0x430)]({'unitID':_0x1935a3,'undoMutations':_0x19eab3['m2Prime'],'redoMutations':_0x57804c[_0x345a23(0x22f)]});}return _0x364115[_0x345a23(0x45b)]();}};Pt=$s([Ae(0x0,_0x25173e),Ae(0x1,_0x40e4b8),Ae(0x2,_0x305114),Ae(0x3,_0x45bd1b),Ae(0x4,_0x4597d7)],Pt);var xi=Object[_0xe5cf50(0x4a7)],Hs=Object[_0xe5cf50(0x324)],ks=(_0x341eb9,_0x2ae522,_0xc9e17a)=>_0x2ae522 in _0x341eb9?xi(_0x341eb9,_0x2ae522,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc9e17a}):_0x341eb9[_0x2ae522]=_0xc9e17a,js=(_0x1ffaa2,_0x1d66ba,_0x47f0a6,_0x554b2b)=>{var _0x20b50c=_0xe5cf50;for(var _0x33e2ae=_0x554b2b>0x1?void 0x0:_0x554b2b?Hs(_0x1d66ba,_0x47f0a6):_0x1d66ba,_0x16e6e2=_0x1ffaa2[_0x20b50c(0x2da)]-0x1,_0x2168aa;_0x16e6e2>=0x0;_0x16e6e2--)(_0x2168aa=_0x1ffaa2[_0x16e6e2])&&(_0x33e2ae=(_0x554b2b?_0x2168aa(_0x1d66ba,_0x47f0a6,_0x33e2ae):_0x2168aa(_0x33e2ae))||_0x33e2ae);return _0x554b2b&&_0x33e2ae&&xi(_0x1d66ba,_0x47f0a6,_0x33e2ae),_0x33e2ae;},St=(_0x4eaaff,_0x2cd550)=>(_0x38600c,_0x3a35a6)=>_0x2cd550(_0x38600c,_0x3a35a6,_0x4eaaff),Bs=(_0x5aabf4,_0x2e4e4c,_0x2dcc5e)=>ks(_0x5aabf4,_0x2e4e4c+'',_0x2dcc5e);const Fs=_0xe5cf50(0x3e2);let wt=class extends _0x4be1fd{constructor(_0x1b54cf=Wt,_0x3cd1d3,_0x1e19f0,_0x29026d){var _0x15d70f=_0xe5cf50;super(),this[_0x15d70f(0x381)]=_0x1b54cf,this['_logService']=_0x3cd1d3,this[_0x15d70f(0x49d)]=_0x1e19f0,this[_0x15d70f(0x3ae)]=_0x29026d;const {..._0x120842}=_0x4deb4a({},Wt,this[_0x15d70f(0x381)]);this[_0x15d70f(0x3ae)][_0x15d70f(0x1f8)](q,_0x120842);}['onStarting'](){var _0x4fa5dd=_0xe5cf50;this[_0x4fa5dd(0x3ad)](),this[_0x4fa5dd(0x379)]();}[_0xe5cf50(0x3ad)](){var _0x5d3751=_0xe5cf50,_0x5d9cf5,_0x2a7c90,_0x1dde84,_0x934310;this['_injector']['has'](_0x512149)&&this['_logService'][_0x5d3751(0x21e)](_0x5d3751(0x298),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5bc446=_0x22c189([[_0x512149,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2a7c90=(_0x5d9cf5=this['_config'])==null?void 0x0:_0x5d9cf5[_0x5d3751(0x332)])!=null?_0x2a7c90:Et}],[_0x288584,{'useClass':Dt}],[_0x3f47ca,{'useClass':bt}],[_0x3dc1a0,{'useClass':yt}],[_0x463542,{'useClass':Nt}],[rt],[Rt]],(_0x1dde84=this[_0x5d3751(0x381)])==null?void 0x0:_0x1dde84['override']);if(!((_0x934310=this[_0x5d3751(0x381)])!=null&&_0x934310[_0x5d3751(0x38b)])){const _0x2ff2a9=_0x5bc446[_0x5d3751(0x3d7)](([_0x128135])=>_0x128135===ht);_0x2ff2a9!==-0x1&&_0x5bc446['splice'](_0x2ff2a9,0x1);}_0x5e0e01(this[_0x5d3751(0x49d)],_0x5bc446);}['_initDependencies'](){var _0x15beec=_0xe5cf50,_0x27d857,_0x2defac,_0x470470;this['_injector']['get'](_0x2e5962)[_0x15beec(0x2d6)]({'priority':0x14,'interceptor':_0x5d45a2({'maxParallel':0x6})}),(_0x27d857=this['_config'])!=null&&_0x27d857['enableOfflineEditing']||(_0x2defac=this[_0x15beec(0x49d)]['get'](J,_0x45574e['OPTIONAL']))==null||_0x2defac['disableLocalCache'](),(_0x470470=this[_0x15beec(0x381)])!=null&&_0x470470[_0x15beec(0x339)]&&_0x466650(this['_injector'],[[st]]),_0x466650(this[_0x15beec(0x49d)],[[ot],[rt],[at]]);}};Bs(wt,_0xe5cf50(0x44a),Fs),wt=js([_0x41e936(_0x4962f3,_0xd99729,_0x46aee4),St(0x1,_0x4597d7),St(0x2,_0x1d51a6(_0x1edb1c)),St(0x3,_0x22ebb9)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
1
+ var _0x42a875=_0x5999;(function(_0x263730,_0x1f1505){var _0x212028=_0x5999,_0x5fb436=_0x263730();while(!![]){try{var _0x471d7d=parseInt(_0x212028(0x1ad))/0x1+-parseInt(_0x212028(0x1d6))/0x2*(-parseInt(_0x212028(0x128))/0x3)+-parseInt(_0x212028(0x203))/0x4*(parseInt(_0x212028(0x1ee))/0x5)+-parseInt(_0x212028(0x1eb))/0x6*(-parseInt(_0x212028(0x117))/0x7)+parseInt(_0x212028(0xeb))/0x8+-parseInt(_0x212028(0x38c))/0x9+parseInt(_0x212028(0x38b))/0xa*(parseInt(_0x212028(0x22c))/0xb);if(_0x471d7d===_0x1f1505)break;else _0x5fb436['push'](_0x5fb436['shift']());}catch(_0x53e8ad){_0x5fb436['push'](_0x5fb436['shift']());}}}(_0x1bc1,0xaa417));var Li=Object[_0x42a875(0x143)],Mi=(_0xc6eeef,_0x138488,_0x3ab55b)=>_0x138488 in _0xc6eeef?Li(_0xc6eeef,_0x138488,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab55b}):_0xc6eeef[_0x138488]=_0x3ab55b,N=(_0x17c15c,_0x53b0b5,_0x2681ba)=>Mi(_0x17c15c,typeof _0x53b0b5!=_0x42a875(0x34c)?_0x53b0b5+'':_0x53b0b5,_0x2681ba);import{createIdentifier as _0x1724b5,Inject as _0x2bf137,Injector as _0x2726ca,Disposable as _0xb54eeb,DisposableCollection as _0x5dcbcf,toDisposable as _0x46f890,IConfigService as _0x3da535,ILogService as _0x1338e8,UserManagerService as _0x26cd3a,UniverInstanceType as _0x4662fa,IUniverInstanceService as _0xb6e8d5,LocaleService as _0x5870e6,Optional as _0x740129,RxDisposable as _0x21fc08,Tools as _0x23b0c2,Rectangle as _0x507d17,ICommandService as _0x485ee3,JSONX as _0xc76282,CommandType as _0x58e2b9,IPermissionService as _0x39eb8e,IUndoRedoService as _0x4995f7,sequenceExecute as _0x46c08c,Workbook as _0x208744,MentionType as _0x4f097e,IAuthzIoService as _0x4adb72,isInternalEditorID as _0x49f5d3,LocalUndoRedoService as _0x4c10e0,IContextService as _0x502bd,DependentOn as _0xbbf943,Plugin as _0x36d172,merge as _0x3e93b3,mergeOverrideWithDependencies as _0x3670f1,IMentionIOService as _0x16c865,registerDependencies as _0x393daa,Quantity as _0x4fbebf,touchDependencies as _0x4d3fd0}from'@univerjs/core';import{Subject as _0x122d74,merge as _0x2400fd,of as _0x140ee7,BehaviorSubject as _0x3142ca,takeUntil as _0x53565c,ReplaySubject as _0x2172dc,take as _0x4d9080,map as _0x3aa897,shareReplay as _0xc761ec,firstValueFrom as _0x1dddc1,concatMap as _0x49b8bd}from'rxjs';import{map as _0x111b78,take as _0x21bbe7,filter as _0x3ec5cd,delay as _0x2dfd1a,takeUntil as _0x2706ef}from'rxjs/operators';import{HTTPService as _0x93900e,ISocketService as _0x626c64,MergeInterceptorFactory as _0x426f99,HTTPRequest as _0x4c7e1e,UniverNetworkPlugin as _0x5d752a,ThresholdInterceptorFactory as _0x37c912}from'@univerjs/network';import{CollaborationEvent as _0x55f6d8,parseChangesetToProtocol as _0x576316,ISnapshotServerService as _0x223f37,isTransformMutationsWithChangesetSuccess as _0x1a28bf,ITransformService as _0x1f7611,mapDocumentTypeToUniverType as _0x168679,RevisionService as _0x1f6e04,isTransformChangesetsSuccess as _0x2fd741,CompressMutationService as _0x2ac8ce,parseProtocolChangeset as _0x182923,SnapshotService as _0x1d719f,textEncoder as _0xa94e4b,b64DecodeUnicode as _0x2755be,isTransformMutationsWithChangesetFailure as _0x105492,UniverCollaborationPlugin as _0x547887}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5a940a}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3946dc}from'@univerjs/docs';import{SheetsSelectionsService as _0x4ef90c,SetSelectionsOperation as _0x482b4a,InsertSheetMutation as _0x3e3640,EmptyMutation as _0x53a892,WorkbookEditablePermission as _0x4da1be,SheetPermissionInitController as _0x338000,UniverSheetsPlugin as _0x5dd695}from'@univerjs/sheets';import{ImageSourceType as _0x4889e5,ImageUploadStatusType as _0x3f06eb,IImageIoService as _0x182e0d}from'@univerjs/drawing';import{getGlobalObject as _0x9f6ef}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x42a875(0x37a),Tn=_0x42a875(0xe9),eo=_0x42a875(0x14d),Cn=0x7d0,Rn=_0x42a875(0x1f6),bn=_0x42a875(0x154),On='/universer-api/user/session-ticket',yn=_0x42a875(0x18c),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x42a875(0x212),wn=0x3,to=_0x42a875(0x2f6),io=0x3e8,Un=_0x42a875(0x1b7),An='/universer-api/comb',xn=_0x42a875(0x1d7),Ln=_0x42a875(0x1bb),no=_0x42a875(0xe4),ro=_0x42a875(0x1f7);var Ii=(_0x3a5b5e=>(_0x3a5b5e[_0x3a5b5e[_0x42a875(0x28f)]=0x0]=_0x42a875(0x28f),_0x3a5b5e[_0x3a5b5e['OK']=0x1]='OK',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x176)]=0x2]=_0x42a875(0x176),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x2cf)]=0x3]=_0x42a875(0x2cf),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x16c)]=0x4]=_0x42a875(0x16c),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x17e)]=0x5]=_0x42a875(0x17e),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x31b)]=0x6]='ALREADY_EXISTS',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x276)]=0x7]=_0x42a875(0x276),_0x3a5b5e[_0x3a5b5e['TOO_MANY_REQUESTS']=0x8]=_0x42a875(0x1a1),_0x3a5b5e[_0x3a5b5e['COMPLETION_FINISHED']=0x9]=_0x42a875(0x1a3),_0x3a5b5e[_0x3a5b5e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x42a875(0x35e),_0x3a5b5e[_0x3a5b5e[_0x42a875(0xc4)]=0x1771]=_0x42a875(0xc4),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x26f)]=0x1772]=_0x42a875(0x26f),_0x3a5b5e[_0x3a5b5e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x42a875(0x2e9),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x271)]=0x1b59]=_0x42a875(0x271),_0x3a5b5e[_0x3a5b5e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x42a875(0x2a1),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x291)]=0x1b5b]=_0x42a875(0x291),_0x3a5b5e[_0x3a5b5e['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x42a875(0xb1),_0x3a5b5e[_0x3a5b5e['APPLY_DUPLICATED']=0x1b5d]=_0x42a875(0x124),_0x3a5b5e[_0x3a5b5e[_0x42a875(0xa3)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x167)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x1b4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x10d)]=0x232b]=_0x42a875(0x10d),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x2e3)]=0x232c]=_0x42a875(0x2e3),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x33f)]=0x232d]=_0x42a875(0x33f),_0x3a5b5e[_0x3a5b5e[_0x42a875(0xcb)]=0x2711]=_0x42a875(0xcb),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x2a2)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3a5b5e[_0x3a5b5e[_0x42a875(0xf6)]=0x2713]=_0x42a875(0xf6),_0x3a5b5e[_0x3a5b5e[_0x42a875(0x166)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x173)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3a5b5e[_0x3a5b5e[_0x42a875(0x308)]=-0x1]=_0x42a875(0x308),_0x3a5b5e))(Ii||{}),Q=(_0x5230b4=>(_0x5230b4[_0x5230b4[_0x42a875(0x1e0)]=0x0]=_0x42a875(0x1e0),_0x5230b4[_0x5230b4['UNIVER_DOC']=0x1]=_0x42a875(0x164),_0x5230b4[_0x5230b4[_0x42a875(0x398)]=0x2]='UNIVER_SHEET',_0x5230b4[_0x5230b4[_0x42a875(0x293)]=0x3]='UNIVER_SLIDE',_0x5230b4[_0x5230b4[_0x42a875(0x36f)]=0x4]=_0x42a875(0x36f),_0x5230b4[_0x5230b4[_0x42a875(0x308)]=-0x1]='UNRECOGNIZED',_0x5230b4))(Q||{}),F=(_0x588bf0=>(_0x588bf0[_0x588bf0[_0x42a875(0x26a)]=0x0]=_0x42a875(0x26a),_0x588bf0[_0x588bf0[_0x42a875(0x218)]=0x1]=_0x42a875(0x218),_0x588bf0[_0x588bf0['JOIN']=0x2]=_0x42a875(0x25f),_0x588bf0[_0x588bf0[_0x42a875(0x1fa)]=0x3]=_0x42a875(0x1fa),_0x588bf0[_0x588bf0[_0x42a875(0x14a)]=0x4]=_0x42a875(0x14a),_0x588bf0[_0x588bf0[_0x42a875(0x292)]=0x5]=_0x42a875(0x292),_0x588bf0[_0x588bf0['RECV']=0x6]=_0x42a875(0x31c),_0x588bf0[_0x588bf0['UNRECOGNIZED']=-0x1]=_0x42a875(0x308),_0x588bf0))(F||{}),Ee=(_0x53593d=>(_0x53593d[_0x53593d[_0x42a875(0x17d)]=0x0]='UNKNOWN_CODE',_0x53593d[_0x53593d['OK']=0x1]='OK',_0x53593d[_0x53593d[_0x42a875(0x158)]=0x2]=_0x42a875(0x158),_0x53593d[_0x53593d['JOIN_ROOM_FULL']=0x3e9]=_0x42a875(0x2de),_0x53593d[_0x53593d['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x42a875(0x2bd),_0x53593d[_0x53593d['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x42a875(0xc8),_0x53593d[_0x53593d[_0x42a875(0x2ba)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x53593d[_0x53593d[_0x42a875(0x308)]=-0x1]=_0x42a875(0x308),_0x53593d))(Ee||{}),Ti=(_0x44f248=>(_0x44f248[_0x44f248[_0x42a875(0x23e)]=0x0]=_0x42a875(0x23e),_0x44f248[_0x44f248[_0x42a875(0x11e)]=0x1]='HttpImport',_0x44f248[_0x44f248['HttpExport']=0x2]=_0x42a875(0x382),_0x44f248[_0x44f248[_0x42a875(0x2da)]=0x3]=_0x42a875(0x2da),_0x44f248[_0x44f248['UnitSnapshot']=0x4]=_0x42a875(0x260),_0x44f248[_0x44f248['UNRECOGNIZED']=-0x1]=_0x42a875(0x308),_0x44f248))(Ti||{});const q=_0x42a875(0x1de),Wt={};var se=(_0x98bde1=>(_0x98bde1[_0x42a875(0x14e)]=_0x42a875(0x14e),_0x98bde1[_0x42a875(0x2cf)]=_0x42a875(0x2cf),_0x98bde1['CONFLICT']=_0x42a875(0x330),_0x98bde1[_0x42a875(0x2f9)]=_0x42a875(0x2f9),_0x98bde1['JOIN_ROOM_FAILED']=_0x42a875(0x12b),_0x98bde1[_0x42a875(0xc2)]='SOCKET_FAILED_RETRY',_0x98bde1['SOCKET_FAILED']=_0x42a875(0x38d),_0x98bde1[_0x42a875(0x23a)]=_0x42a875(0x23a),_0x98bde1))(se||{});class pe{constructor(){var _0x1c0847=_0x42a875;N(this,_0x1c0847(0x335),new _0x122d74()),N(this,_0x1c0847(0x22a),this[_0x1c0847(0x335)]['asObservable']());}[_0x42a875(0x12c)](_0x55acca){var _0x39ec6f=_0x42a875;this[_0x39ec6f(0x335)]['next'](_0x55acca);}}const Mn=_0x1724b5('univer-pro.collaboration-client.network-condition.service');function $n(_0x3453fa){var _0xa232d=_0x42a875,_0xf5a914,_0x5d5c69,_0x42378f,_0x1410f5,_0x8fc6f1;const _0x32005c=_0x3453fa[_0xa232d(0xd4)],_0x5c7bc0=JSON[_0xa232d(0xa7)](_0x32005c);switch(_0x5c7bc0[_0xa232d(0x2bb)]){case F['HEARTBEAT']:case F[_0xa232d(0x218)]:{const _0x1d7f62=_0x5c7bc0[_0xa232d(0x1a5)];return{..._0x5c7bc0,'data':_0x1d7f62,'cmd':_0x5c7bc0['cmd']};}case F['JOIN']:{const _0x22498d=_0x5c7bc0[_0xa232d(0x138)];return{..._0x5c7bc0,'data':_0x22498d,'cmd':_0x5c7bc0['cmd']};}case F[_0xa232d(0x31c)]:{const _0x3a5fbe=_0x5c7bc0['collaMsg'];switch(_0x3a5fbe['eventID']){case _0x55f6d8[_0xa232d(0x267)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':(_0xf5a914=_0x3a5fbe[_0xa232d(0x123)])==null?void 0x0:_0xf5a914['cs']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x18e)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':(_0x5d5c69=_0x3a5fbe[_0xa232d(0x334)])==null?void 0x0:_0x5d5c69['cs']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x28d)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':(_0x42378f=_0x3a5fbe[_0xa232d(0x303)])==null?void 0x0:_0x42378f['cs']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x1a2)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':(_0x1410f5=_0x3a5fbe[_0xa232d(0x15e)])==null?void 0x0:_0x1410f5['cs']},'cmd':_0x5c7bc0['cmd']};case _0x55f6d8[_0xa232d(0xb6)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':(_0x8fc6f1=_0x3a5fbe[_0xa232d(0x24e)])==null?void 0x0:_0x8fc6f1['cs']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8['UPDATE_CURSOR']:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0x195)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x364)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0xaf)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x1cb)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0x2dc)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x305)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0x251)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8['LIVESHARE_FETCH_OPERATIONS']:case _0x55f6d8[_0xa232d(0x363)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0xd7)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x321)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0x251)]},'cmd':_0x5c7bc0['cmd']};case _0x55f6d8[_0xa232d(0x39b)]:return{..._0x5c7bc0,'data':_0x3a5fbe,'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x2b2)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe['commentUpdateEvent']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x2db)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe[_0xa232d(0x115)]},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8['SHOULD_CLOSE_CONN']:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe['shouldCloseConn']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};case _0x55f6d8[_0xa232d(0x35b)]:return{..._0x5c7bc0,'data':{..._0x3a5fbe,'data':_0x3a5fbe['uniscriptRunEvent']},'cmd':_0x5c7bc0[_0xa232d(0x2bb)]};default:return _0x5c7bc0;}}default:return _0x5c7bc0;}}function Hn(_0x32f9de){var _0x4c0a33=_0x42a875;switch(_0x32f9de['cmd']){case F[_0x4c0a33(0x292)]:case F[_0x4c0a33(0x218)]:return JSON[_0x4c0a33(0x350)]({'cmd':_0x32f9de[_0x4c0a33(0x2bb)],'routeKey':_0x32f9de[_0x4c0a33(0xef)]});case F['INGEST']:{let _0x21d385;switch(_0x32f9de[_0x4c0a33(0xd4)]['eventID']){case _0x55f6d8[_0x4c0a33(0x27e)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x27e)],'updateCursorEvent':_0x32f9de[_0x4c0a33(0xd4)][_0x4c0a33(0xd4)]};break;}case _0x55f6d8[_0x4c0a33(0x1cb)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x1cb)],'leaveEvent':_0x32f9de[_0x4c0a33(0xd4)]['data']};break;}case _0x55f6d8[_0x4c0a33(0x364)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x364)],'joinEvent':_0x32f9de[_0x4c0a33(0xd4)]['data']};break;}case _0x55f6d8[_0x4c0a33(0x305)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x305)],'liveShareNewHost':_0x32f9de[_0x4c0a33(0xd4)][_0x4c0a33(0xd4)]};break;}case _0x55f6d8[_0x4c0a33(0x363)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x363)],'liveShareOperation':_0x32f9de[_0x4c0a33(0xd4)][_0x4c0a33(0xd4)]};break;}case _0x55f6d8[_0x4c0a33(0x321)]:{_0x21d385={'eventID':_0x55f6d8['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x32f9de[_0x4c0a33(0xd4)]['data']};break;}case _0x55f6d8[_0x4c0a33(0x1f0)]:{_0x21d385={'eventID':_0x55f6d8['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x32f9de['data'][_0x4c0a33(0xd4)]};break;}case _0x55f6d8[_0x4c0a33(0x2b8)]:{_0x21d385={'eventID':_0x55f6d8[_0x4c0a33(0x2b8)]};break;}default:_0x21d385={'eventID':_0x32f9de[_0x4c0a33(0xd4)]['eventID']};}return JSON[_0x4c0a33(0x350)]({'cmd':_0x32f9de['cmd'],'routeKey':_0x32f9de[_0x4c0a33(0xef)],'collaMsg':_0x21d385});}case F[_0x4c0a33(0x25f)]:return JSON[_0x4c0a33(0x350)]({'cmd':_0x32f9de['cmd'],'routeKey':_0x32f9de[_0x4c0a33(0xef)],'joinReq':_0x32f9de[_0x4c0a33(0xd4)]});case F[_0x4c0a33(0x1fa)]:return JSON['stringify']({'cmd':_0x32f9de[_0x4c0a33(0x2bb)],'routeKey':_0x32f9de[_0x4c0a33(0xef)],'leaveReq':_0x32f9de[_0x4c0a33(0xd4)]});default:throw new Error(_0x4c0a33(0x248));}}var kn=Object[_0x42a875(0x143)],jn=Object[_0x42a875(0x20c)],Bn=(_0x3e564f,_0x14b35b,_0x319fe0,_0x54674e)=>{var _0x983bc8=_0x42a875;for(var _0x5ba6e7=_0x54674e>0x1?void 0x0:_0x54674e?jn(_0x14b35b,_0x319fe0):_0x14b35b,_0x161e70=_0x3e564f[_0x983bc8(0xd2)]-0x1,_0x351a97;_0x161e70>=0x0;_0x161e70--)(_0x351a97=_0x3e564f[_0x161e70])&&(_0x5ba6e7=(_0x54674e?_0x351a97(_0x14b35b,_0x319fe0,_0x5ba6e7):_0x351a97(_0x5ba6e7))||_0x5ba6e7);return _0x54674e&&_0x5ba6e7&&kn(_0x14b35b,_0x319fe0,_0x5ba6e7),_0x5ba6e7;},Ue=(_0x85093a,_0x28c517)=>(_0x30b83a,_0x2dae66)=>_0x28c517(_0x30b83a,_0x2dae66,_0x85093a);const Ci=_0x1724b5(_0x42a875(0x205));function Fn(_0x28c89d,_0x42a6a2,_0xc00673){var _0x2228c4=_0x42a875;return _0x28c89d+'/'+_0x42a6a2+'/unit/'+_0xc00673+_0x2228c4(0x336);}let Et=class extends _0xb54eeb{constructor(_0x1e48d6,_0x5d1205,_0x492f4c,_0x49eafc,_0x2305cb){var _0x434a72=_0x42a875;super(),this[_0x434a72(0x199)]=_0x1e48d6,this['_http']=_0x5d1205,this[_0x434a72(0x22f)]=_0x492f4c,this['_logService']=_0x49eafc,this[_0x434a72(0x165)]=_0x2305cb;}[_0x42a875(0x392)](_0x4bf81f){var _0x241ee2=_0x42a875;const _0x660620=this[_0x241ee2(0x199)][_0x241ee2(0x385)](_0x626c64);if(!_0x660620)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x391801=_0x660620['createSocket'](_0x4bf81f);if(!_0x391801)throw new Error(_0x241ee2(0x2e8));const _0x1dcd3f=new _0x5dcbcf(),_0x1113ff=new _0x122d74();_0x1dcd3f[_0x241ee2(0x2e1)](_0x391801[_0x241ee2(0x368)][_0x241ee2(0x2ec)](_0x2e5194=>_0x1113ff[_0x241ee2(0x1e7)](_0x2e5194))),_0x1dcd3f[_0x241ee2(0x2e1)](_0x46f890(()=>_0x1113ff[_0x241ee2(0x2e6)]()));const _0x437b28=new _0x122d74();_0x1dcd3f[_0x241ee2(0x2e1)](_0x391801[_0x241ee2(0xb8)][_0x241ee2(0x2ec)](_0x2410ec=>_0x437b28['next'](_0x2410ec))),_0x1dcd3f[_0x241ee2(0x2e1)](_0x46f890(()=>_0x437b28[_0x241ee2(0x2e6)]()));const _0x9abade=new _0x122d74();_0x1dcd3f[_0x241ee2(0x2e1)](_0x391801[_0x241ee2(0x13b)][_0x241ee2(0x2ec)](_0x5ae564=>{var _0x3c5ca0=_0x241ee2;const _0x3fc365=$n(_0x5ae564);_0x9abade[_0x3c5ca0(0x1e7)](_0x3fc365);})),_0x1dcd3f[_0x241ee2(0x2e1)](_0x46f890(()=>_0x9abade[_0x241ee2(0x2e6)]()));let _0x2f0875;const _0x4eea92=()=>{var _0x15ff18=_0x241ee2;_0x437b28[_0x15ff18(0x1e7)](new Event(_0x15ff18(0x332))),_0x1113ff[_0x15ff18(0x1e7)](new CloseEvent(_0x15ff18(0x332))),_0x2f0875[_0x15ff18(0x255)]();};return _0x2f0875={'memberID':'','close$':_0x1113ff[_0x241ee2(0x298)](),'error$':_0x437b28[_0x241ee2(0x298)](),'open$':_0x391801['open$'],'message$':_0x9abade[_0x241ee2(0x298)](),'send':_0x252834=>{var _0x489db6=_0x241ee2;if(_0x252834[_0x489db6(0x2bb)]===F['INGEST']){if(_0x252834[_0x489db6(0xd4)][_0x489db6(0x34a)]===_0x55f6d8['SUBMIT_CHANGESET']){this[_0x489db6(0x190)](_0x2f0875,_0x252834[_0x489db6(0xd4)])[_0x489db6(0x28e)](_0x155e2e=>{var _0x33411f=_0x489db6;this[_0x33411f(0x204)][_0x33411f(0x38f)](_0x155e2e),_0x4eea92();});return;}if(_0x252834[_0x489db6(0xd4)][_0x489db6(0x34a)]===_0x55f6d8['FETCH_MISSING']){const _0x678d42=_0x252834[_0x489db6(0xd4)];this[_0x489db6(0xc0)](_0x678d42)[_0x489db6(0x2b6)](_0xdc8f7e=>{var _0x53d3a9=_0x489db6;_0x9abade['next']({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x678d42[_0x53d3a9(0xd4)][_0x53d3a9(0x372)],'routeType':'','data':{'eventID':_0x55f6d8['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xdc8f7e}}});})[_0x489db6(0x28e)](_0x26a4e1=>{this['_logService']['error'](_0x26a4e1),_0x4eea92();});return;}}_0x391801[_0x489db6(0x194)](Hn(_0x252834));},'close':()=>{var _0x3427a7=_0x241ee2;_0x391801[_0x3427a7(0x255)](),_0x1dcd3f[_0x3427a7(0x13a)]();}},_0x2f0875;}async[_0x42a875(0x190)](_0x46942d,_0x3c4099){var _0x420c8a=_0x42a875,_0x4a930f,_0x24b946;const {unitType:_0x219784,unitID:_0x5df62f,changeset:_0x66aea6}=_0x3c4099[_0x420c8a(0xd4)],_0x3c3158={'unitID':_0x5df62f,'memberID':_0x46942d[_0x420c8a(0xcd)],'type':_0x219784,'changeset':_0x576316(_0x66aea6)},_0x41aee2=this[_0x420c8a(0x22f)][_0x420c8a(0x1c4)](Un),_0x1ab57e=this[_0x420c8a(0x22f)][_0x420c8a(0x1c4)](q),_0x57d206=Fn((_0x24b946=(_0x4a930f=_0x1ab57e==null?void 0x0:_0x1ab57e[_0x420c8a(0x30c)])!=null?_0x4a930f:_0x41aee2)!=null?_0x24b946:An,_0x219784,_0x5df62f);try{await this[_0x420c8a(0x3a0)][_0x420c8a(0x1aa)](_0x57d206,{'body':_0x3c3158});}catch(_0x35774d){throw this[_0x420c8a(0x204)][_0x420c8a(0x38f)]('[CollaborationSession]',_0x420c8a(0x34d)),_0x35774d;}}async[_0x42a875(0xc0)](_0x46868e){var _0x4074f7=_0x42a875;const {unitID:_0x242da3,from:_0x465677,to:_0x125c96,unitType:_0x49557d}=_0x46868e['data'];return(await this[_0x4074f7(0x165)][_0x4074f7(0x152)]({'metadata':void 0x0},{'unitID':_0x242da3,'type':_0x49557d,'from':_0x465677,'to':_0x125c96}))[_0x4074f7(0x111)];}};Et=Bn([Ue(0x0,_0x2bf137(_0x2726ca)),Ue(0x1,_0x2bf137(_0x93900e)),Ue(0x2,_0x3da535),Ue(0x3,_0x1338e8),Ue(0x4,_0x223f37)],Et);const Vn='collaboration_new_changeset';function Gn(_0x47cbdc){var _0x22b34c=_0x42a875;return JSON['stringify'](_0x47cbdc)[_0x22b34c(0xd2)];}class Ri{constructor(){var _0x4fb1e2=_0x42a875;N(this,_0x4fb1e2(0x156),new _0x122d74()),N(this,_0x4fb1e2(0x34e),this[_0x4fb1e2(0x156)][_0x4fb1e2(0x298)]());}[_0x42a875(0x142)](_0x5ac4a9){var _0x2d839b=_0x42a875;this[_0x2d839b(0x156)][_0x2d839b(0x1e7)](_0x5ac4a9);}}var Wn=Object[_0x42a875(0x143)],Kn=Object[_0x42a875(0x20c)],Yn=(_0x37e1cd,_0x1c8315,_0x542f00,_0xb3e692)=>{var _0x348e06=_0x42a875;for(var _0x3dd52d=_0xb3e692>0x1?void 0x0:_0xb3e692?Kn(_0x1c8315,_0x542f00):_0x1c8315,_0x586e58=_0x37e1cd[_0x348e06(0xd2)]-0x1,_0x3859b6;_0x586e58>=0x0;_0x586e58--)(_0x3859b6=_0x37e1cd[_0x586e58])&&(_0x3dd52d=(_0xb3e692?_0x3859b6(_0x1c8315,_0x542f00,_0x3dd52d):_0x3859b6(_0x3dd52d))||_0x3dd52d);return _0xb3e692&&_0x3dd52d&&Wn(_0x1c8315,_0x542f00,_0x3dd52d),_0x3dd52d;},Kt=(_0x2aeb69,_0x27feb4)=>(_0x269288,_0x48e29b)=>_0x27feb4(_0x269288,_0x48e29b,_0x2aeb69);let xe=class extends _0xb54eeb{constructor(_0x8ac2bc,_0x396373){var _0x5dd75c=_0x42a875;super(),N(this,_0x5dd75c(0x162),new Map()),N(this,'_roomCreated$',new _0x122d74()),(this['_univerInstanceService']=_0x8ac2bc,this[_0x5dd75c(0x16e)]=_0x396373,this['disposeWithMe'](_0x2400fd(this[_0x5dd75c(0x390)][_0x5dd75c(0x153)](_0x4662fa[_0x5dd75c(0x398)])[_0x5dd75c(0x233)](_0x111b78(_0x425800=>_0x425800[_0x5dd75c(0xfe)]())),this['_univerInstanceService'][_0x5dd75c(0x153)](_0x4662fa[_0x5dd75c(0x164)])['pipe'](_0x111b78(_0x468647=>_0x468647['getUnitId']())),this[_0x5dd75c(0x390)]['getTypeOfUnitDisposed$'](_0x4662fa[_0x5dd75c(0x293)])[_0x5dd75c(0x233)](_0x111b78(_0x218b8e=>_0x218b8e[_0x5dd75c(0xfe)]())))[_0x5dd75c(0x2ec)](_0x4a3f76=>this[_0x5dd75c(0x232)](_0x4a3f76))));}[_0x42a875(0x378)](_0x30adea){var _0x52e3c9=_0x42a875;return this['_roomMembers'][_0x52e3c9(0xd6)](_0x30adea)?_0x140ee7(this[_0x52e3c9(0x162)][_0x52e3c9(0x385)](_0x30adea)):this[_0x52e3c9(0x184)][_0x52e3c9(0x233)](_0x111b78(_0x5e9dba=>{var _0x23e07e=_0x52e3c9;if(_0x5e9dba===_0x30adea)return this[_0x23e07e(0x162)][_0x23e07e(0x385)](_0x5e9dba);}));}[_0x42a875(0x16a)](_0x4ecfde){var _0x56deb7=_0x42a875;this[_0x56deb7(0x16e)][_0x56deb7(0x16a)](_0x4ecfde);}[_0x42a875(0x224)](){var _0x30af0d=_0x42a875;return this[_0x30af0d(0x16e)][_0x30af0d(0x224)]();}[_0x42a875(0x246)](_0x516c62,_0xfbe498){var _0x4af0a3=_0x42a875;let _0x220938=this[_0x4af0a3(0x162)][_0x4af0a3(0x385)](_0x516c62);_0x220938||(_0x220938=new qn(),this[_0x4af0a3(0x162)][_0x4af0a3(0xee)](_0x516c62,_0x220938),this[_0x4af0a3(0x184)][_0x4af0a3(0x1e7)](_0x516c62)),_0x220938[_0x4af0a3(0x246)](_0xfbe498);}[_0x42a875(0x26b)](_0x2a6053,_0x26e049){var _0x5007cf=_0x42a875;const _0x3b3caf=this[_0x5007cf(0x162)][_0x5007cf(0x385)](_0x2a6053);_0x3b3caf&&_0x3b3caf[_0x5007cf(0x26b)](_0x26e049);}[_0x42a875(0x397)](_0x3d63a1){var _0x4f4a68=_0x42a875;return this[_0x4f4a68(0x162)][_0x4f4a68(0x385)](_0x3d63a1);}['getMember'](_0x9b080,_0x538a59){var _0xed8b02=_0x42a875;const _0x1ec756=this[_0xed8b02(0x162)][_0xed8b02(0x385)](_0x9b080);if(_0x1ec756)return _0x1ec756['getMember'](_0x538a59);}[_0x42a875(0x232)](_0x495a60){var _0x20bcbe=_0x42a875;const _0x254440=this[_0x20bcbe(0x162)]['get'](_0x495a60);_0x254440&&(_0x254440[_0x20bcbe(0x13a)](),this[_0x20bcbe(0x162)]['delete'](_0x495a60));}['dispose'](){var _0x41b905=_0x42a875;this[_0x41b905(0x162)][_0x41b905(0x17f)](_0x2b1ab2=>_0x2b1ab2[_0x41b905(0x13a)]()),this[_0x41b905(0x162)]['clear'](),this[_0x41b905(0x184)][_0x41b905(0x2e6)]();}};xe=Yn([Kt(0x0,_0xb6e8d5),Kt(0x1,_0x2bf137(_0x26cd3a))],xe);class qn extends _0xb54eeb{constructor(){var _0x4b4575=_0x42a875;super(...arguments),N(this,_0x4b4575(0x2a4),new Map()),N(this,_0x4b4575(0x29e),new _0x3142ca(this[_0x4b4575(0x2a4)])),N(this,_0x4b4575(0xf4),this['_members$']['asObservable']());}[_0x42a875(0x13a)](){var _0x104843=_0x42a875;this[_0x104843(0x2a4)]['clear']();}[_0x42a875(0x246)](_0x31a0ba){var _0x39e9f2=_0x42a875;this['_members'][_0x39e9f2(0xee)](_0x31a0ba[_0x39e9f2(0xcd)],_0x31a0ba),this[_0x39e9f2(0x196)]();}[_0x42a875(0x26b)](_0x3aab0a){var _0x13614c=_0x42a875;this[_0x13614c(0x2a4)][_0x13614c(0x14f)](_0x3aab0a);}['getMember'](_0x1ad850){var _0x2981ce=_0x42a875;return this[_0x2981ce(0x2a4)][_0x2981ce(0x385)](_0x1ad850);}[_0x42a875(0x387)](){var _0x108094=_0x42a875;return Array[_0x108094(0x2c1)](this[_0x108094(0x2a4)]['values']());}[_0x42a875(0x196)](){var _0x56ae60=_0x42a875;this[_0x56ae60(0x29e)][_0x56ae60(0x1e7)](this[_0x56ae60(0x2a4)]);}}var zn=Object[_0x42a875(0x143)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x5a42b7,_0x582435,_0x5ad3dc,_0x32ffe2)=>{var _0x27b9a2=_0x42a875;for(var _0x126bbb=_0x32ffe2>0x1?void 0x0:_0x32ffe2?Jn(_0x582435,_0x5ad3dc):_0x582435,_0xa38e6a=_0x5a42b7[_0x27b9a2(0xd2)]-0x1,_0x381f0c;_0xa38e6a>=0x0;_0xa38e6a--)(_0x381f0c=_0x5a42b7[_0xa38e6a])&&(_0x126bbb=(_0x32ffe2?_0x381f0c(_0x582435,_0x5ad3dc,_0x126bbb):_0x381f0c(_0x126bbb))||_0x126bbb);return _0x32ffe2&&_0x126bbb&&zn(_0x582435,_0x5ad3dc,_0x126bbb),_0x126bbb;},me=(_0x25bb15,_0x450a2e)=>(_0x137a0d,_0xffe24f)=>_0x450a2e(_0x137a0d,_0xffe24f,_0x25bb15),Te=(_0x359559=>(_0x359559[_0x359559[_0x42a875(0x358)]=0x0]=_0x42a875(0x358),_0x359559[_0x359559[_0x42a875(0x289)]=0x1]=_0x42a875(0x289),_0x359559[_0x359559['OFFLINE']=0x2]='OFFLINE',_0x359559[_0x359559[_0x42a875(0x1dc)]=0x3]='ONLINE',_0x359559))(Te||{});const Yt={[Ee['FAIL']]:_0x42a875(0xf0),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x42a875(0x219),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x42a875(0x28b),[Ee[_0x42a875(0x2ba)]]:_0x42a875(0x265)};let It=class extends _0x21fc08{constructor(_0x3b1ce6,_0x57d148,_0x6388da,_0x1ced99,_0x269f2f,_0x680fe8,_0x420c35,_0x382e30,_0x1d880c){var _0x3e4bf3=_0x42a875;super(),N(this,'_sessionStatus$',new _0x3142ca(0x0)),N(this,_0x3e4bf3(0x1af),this[_0x3e4bf3(0x35a)][_0x3e4bf3(0x298)]()),N(this,_0x3e4bf3(0x335),new _0x122d74()),N(this,'event$',this[_0x3e4bf3(0x335)][_0x3e4bf3(0x298)]()),N(this,_0x3e4bf3(0x1ef)),N(this,_0x3e4bf3(0x263)),N(this,_0x3e4bf3(0x2f4)),N(this,_0x3e4bf3(0x380),!0x1),N(this,'_telemetryInfo',null),(this['_unitID']=_0x3b1ce6,this[_0x3e4bf3(0x204)]=_0x6388da,this[_0x3e4bf3(0x22f)]=_0x1ced99,this[_0x3e4bf3(0x1e9)]=_0x269f2f,this['_memberService']=_0x680fe8,this[_0x3e4bf3(0x146)]=_0x420c35,this[_0x3e4bf3(0x1f9)]=_0x382e30,this[_0x3e4bf3(0x2d0)]=_0x1d880c,this[_0x3e4bf3(0x380)]=!!this[_0x3e4bf3(0x2d0)],_0x57d148[_0x3e4bf3(0x233)](_0x53565c(this[_0x3e4bf3(0x198)]))['subscribe'](_0x4a9694=>{var _0x393535=_0x3e4bf3,_0x2d72c1;typeof _0x4a9694>'u'||(this[_0x393535(0x1ef)]=_0x4a9694,_0x4a9694?(this[_0x393535(0x275)](_0x4a9694),this[_0x393535(0x263)]=_0x4a9694[_0x393535(0x13b)][_0x393535(0x2ec)](_0x58cf5a=>{var _0x452f8a=_0x393535;_0x58cf5a[_0x452f8a(0xef)]===this[_0x452f8a(0x31f)]&&this[_0x452f8a(0x2c6)](_0x58cf5a);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x393535(0x35a)][_0x393535(0x1e7)](0x2),(_0x2d72c1=this[_0x393535(0x263)])==null||_0x2d72c1['unsubscribe'](),this[_0x393535(0x263)]=null));}));}get[_0x42a875(0x299)](){var _0x57a001=_0x42a875;return this[_0x57a001(0x35a)][_0x57a001(0x1f8)]();}[_0x42a875(0x362)](){var _0x5c0470=_0x42a875,_0x4e83e5,_0x5043dc;return(_0x5043dc=(_0x4e83e5=this['_socket'])==null?void 0x0:_0x4e83e5[_0x5c0470(0xcd)])!=null?_0x5043dc:null;}[_0x42a875(0x13a)](){var _0x53b6d7=_0x42a875;super[_0x53b6d7(0x13a)](),this[_0x53b6d7(0x198)]['next'](),this[_0x53b6d7(0x198)]['complete']();}[_0x42a875(0x255)](){var _0x4bffe6=_0x42a875,_0x453ece,_0x3234af;this[_0x4bffe6(0x2f2)](),(_0x453ece=this[_0x4bffe6(0x1ef)])==null||_0x453ece[_0x4bffe6(0x194)]({'cmd':F[_0x4bffe6(0x1fa)],'data':{'roomID':this[_0x4bffe6(0x31f)]}}),(_0x3234af=this[_0x4bffe6(0x1ef)])==null||_0x3234af[_0x4bffe6(0x255)](),this['_event$'][_0x4bffe6(0x2e6)](),this[_0x4bffe6(0x35a)][_0x4bffe6(0x2e6)](),this['dispose']();}[_0x42a875(0x2c6)](_0x3c178c){var _0x561ef8=_0x42a875;_0x3c178c[_0x561ef8(0x2bb)]===F[_0x561ef8(0x25f)]?this[_0x561ef8(0x17a)](_0x3c178c):_0x3c178c['cmd']===F['RECV']&&this[_0x561ef8(0xcc)](_0x3c178c);}[_0x42a875(0x275)](_0x565c00){var _0xe46570=_0x42a875;this[_0xe46570(0x35a)][_0xe46570(0x1e7)](0x1),_0x565c00[_0xe46570(0x194)]({'cmd':F[_0xe46570(0x25f)],'routeKey':this[_0xe46570(0x31f)],'routeType':'','data':{'rooms':[{'roomID':this[_0xe46570(0x31f)]}]}});}[_0x42a875(0x17a)](_0x48804a){var _0x37f785=_0x42a875,_0x35c8cb;if(_0x48804a[_0x37f785(0x17c)]in Yt){this['_collaborationUIEventService'][_0x37f785(0x12c)]({'id':se[_0x37f785(0x12b)],'data':Yt[_0x48804a[_0x37f785(0x17c)]]}),this[_0x37f785(0x35a)][_0x37f785(0x1e7)](0x2);return;}this[_0x37f785(0x35a)][_0x37f785(0x1e7)](0x3);const _0x1c41d5=(_0x35c8cb=_0x48804a[_0x37f785(0xd4)]['roomInfos'][this[_0x37f785(0x31f)]])==null?void 0x0:_0x35c8cb['members'];_0x1c41d5&&_0x1c41d5[_0x37f785(0x17f)](_0x48cf12=>this[_0x37f785(0x171)]['updateMember'](this[_0x37f785(0x31f)],_0x48cf12));}[_0x42a875(0xcc)](_0x27cf9b){var _0x37158e=_0x42a875;try{const _0x52edf7=_0x27cf9b[_0x37158e(0xd4)];switch(_0x52edf7[_0x37158e(0x34a)]){case _0x55f6d8['USERS_ENTER']:this[_0x37158e(0x148)](_0x52edf7),this[_0x37158e(0x335)][_0x37158e(0x1e7)](_0x52edf7);break;case _0x55f6d8['USERS_LEAVE']:this[_0x37158e(0x27f)](_0x52edf7),this[_0x37158e(0x335)][_0x37158e(0x1e7)](_0x52edf7);break;case _0x55f6d8[_0x37158e(0x18e)]:case _0x55f6d8[_0x37158e(0xb6)]:this[_0x37158e(0x315)](),this[_0x37158e(0x24d)](),this['_event$'][_0x37158e(0x1e7)](_0x52edf7);break;case _0x55f6d8[_0x37158e(0x39b)]:this['_logService'][_0x37158e(0x38f)](_0x37158e(0x2d4)+JSON['stringify'](_0x52edf7)),this['_event$'][_0x37158e(0x1e7)](_0x52edf7);break;case _0x55f6d8[_0x37158e(0x2b2)]:this[_0x37158e(0x146)][_0x37158e(0x142)](_0x52edf7[_0x37158e(0xd4)]),this[_0x37158e(0x335)]['next'](_0x52edf7);break;default:this[_0x37158e(0x335)]['next'](_0x52edf7);}}catch(_0x2ef0a2){this[_0x37158e(0x204)][_0x37158e(0x38f)](_0x2ef0a2,_0x27cf9b);}}[_0x42a875(0x148)](_0x1ddea2){var _0xba01bb=_0x42a875;this[_0xba01bb(0x171)][_0xba01bb(0x246)](this[_0xba01bb(0x31f)],_0x1ddea2[_0xba01bb(0xd4)]);}[_0x42a875(0x27f)](_0x3e520a){var _0xff20e8=_0x42a875;this['_memberService']['removeMember'](this[_0xff20e8(0x31f)],_0x3e520a[_0xff20e8(0xd4)][_0xff20e8(0xcd)]);}async[_0x42a875(0x194)](_0x1c32f6,_0x2d4aad){var _0x103675=_0x42a875;if(this[_0x103675(0x299)]!==0x3||!this[_0x103675(0x1ef)])throw new Error(_0x103675(0x287));try{_0x1c32f6[_0x103675(0x34a)]===_0x55f6d8[_0x103675(0x22d)]&&(this[_0x103675(0xcf)](),this['_startTelemetryCollaborationNewChangeset'](_0x1c32f6)),this[_0x103675(0x1ef)][_0x103675(0x194)]({'cmd':F[_0x103675(0x14a)],'routeKey':_0x2d4aad,'routeType':'','data':_0x1c32f6});}catch(_0x269066){this[_0x103675(0x204)][_0x103675(0x38f)](_0x269066);}}[_0x42a875(0xcf)](){var _0x4ebf87=_0x42a875,_0x23404f;this[_0x4ebf87(0x2f4)]=setTimeout(()=>{var _0x8ff291=_0x4ebf87;this['_collaborationTimeoutTimer']=null,this[_0x8ff291(0x1f9)]['emitEvent']({'id':se[_0x8ff291(0x23a)]});},(_0x23404f=this[_0x4ebf87(0x22f)][_0x4ebf87(0x1c4)](Si))!=null?_0x23404f:Ei);}['_clearCollaborationTimeoutTimer'](){var _0x5bad9d=_0x42a875;this[_0x5bad9d(0x2f4)]&&(clearTimeout(this[_0x5bad9d(0x2f4)]),this['_collaborationTimeoutTimer']=null);}[_0x42a875(0x259)](_0x4e5881){var _0x1a9c75=_0x42a875;if(!this[_0x1a9c75(0x380)])return;const {data:_0x88458f}=_0x4e5881,{unitID:_0x562a90,changeset:_0x161d25}=_0x88458f,{mutations:_0x4aea53,type:_0x514ab6}=_0x161d25;this[_0x1a9c75(0x145)]={'unitId':_0x562a90,'type':_0x514ab6,'startTime':performance[_0x1a9c75(0x2dd)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4aea53)};}[_0x42a875(0x315)](){var _0xdcb7ea=_0x42a875;if(this[_0xdcb7ea(0x380)]){if(!this[_0xdcb7ea(0x145)]){this['_logService'][_0xdcb7ea(0x38f)](_0xdcb7ea(0xec),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xdcb7ea(0x145)]['stopTime']=performance['now'](),this[_0xdcb7ea(0x145)][_0xdcb7ea(0x22b)]=this[_0xdcb7ea(0x145)][_0xdcb7ea(0x35d)]-this[_0xdcb7ea(0x145)][_0xdcb7ea(0x1e4)],this[_0xdcb7ea(0x2d0)][_0xdcb7ea(0x1a9)](Vn,this[_0xdcb7ea(0x145)]),this['_telemetryInfo']=null;}}[_0x42a875(0x2f2)](){var _0x370a7d=_0x42a875;this[_0x370a7d(0x145)]=null;}};It=Xn([me(0x2,_0x1338e8),me(0x3,_0x3da535),me(0x4,_0x2bf137(_0x5870e6)),me(0x5,_0x2bf137(xe)),me(0x6,_0x2bf137(Ri)),me(0x7,_0x2bf137(pe)),me(0x8,_0x740129(_0x5a940a))],It);var Zn=Object['defineProperty'],Qn=Object[_0x42a875(0x20c)],er=(_0xc75842,_0x1cce96,_0x507ace,_0x4eaa01)=>{var _0x3aae9f=_0x42a875;for(var _0x27b777=_0x4eaa01>0x1?void 0x0:_0x4eaa01?Qn(_0x1cce96,_0x507ace):_0x1cce96,_0x4416ff=_0xc75842[_0x3aae9f(0xd2)]-0x1,_0x159831;_0x4416ff>=0x0;_0x4416ff--)(_0x159831=_0xc75842[_0x4416ff])&&(_0x27b777=(_0x4eaa01?_0x159831(_0x1cce96,_0x507ace,_0x27b777):_0x159831(_0x27b777))||_0x27b777);return _0x4eaa01&&_0x27b777&&Zn(_0x1cce96,_0x507ace,_0x27b777),_0x27b777;},ge=(_0x590a78,_0x19a0b0)=>(_0x430502,_0x5ba483)=>_0x19a0b0(_0x430502,_0x5ba483,_0x590a78);let Le=class extends _0xb54eeb{constructor(_0x1cbe43,_0x297316,_0x12e324,_0x25b420,_0x5db687,_0x570609,_0x14e7c1){var _0xc49a27=_0x42a875;super(),N(this,'_socket$',new _0x3142ca(void 0x0)),N(this,_0xc49a27(0xe0),this[_0xc49a27(0xdb)]['asObservable']()),N(this,_0xc49a27(0x221),null),N(this,_0xc49a27(0x14c),new Map()),N(this,_0xc49a27(0x2a9),new _0x3142ca(Te[_0xc49a27(0x358)])),N(this,_0xc49a27(0x185),this[_0xc49a27(0x2a9)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0xc49a27(0x113)),N(this,_0xc49a27(0x10e),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0xc49a27(0x311)),(this[_0xc49a27(0x199)]=_0x1cbe43,this[_0xc49a27(0x204)]=_0x297316,this['_configService']=_0x12e324,this[_0xc49a27(0x188)]=_0x25b420,this[_0xc49a27(0x21a)]=_0x5db687,this[_0xc49a27(0x1f9)]=_0x570609,this[_0xc49a27(0x36c)]=_0x14e7c1,this[_0xc49a27(0xf9)]());}get['_socket'](){var _0x4ee9e9=_0x42a875;return this[_0x4ee9e9(0xdb)][_0x4ee9e9(0x1f8)]();}[_0x42a875(0xf9)](){var _0x8553c9=_0x42a875;this[_0x8553c9(0x36c)]&&this[_0x8553c9(0x21d)](this[_0x8553c9(0x36c)][_0x8553c9(0xfb)]['subscribe'](_0x8bdd46=>{var _0xc3674e=_0x8553c9;_0x8bdd46&&!this['_socket']&&this[_0xc3674e(0x1ab)](),_0x8bdd46||this['_onOffline']();}));}['dispose'](){var _0x1ae822=_0x42a875;super[_0x1ae822(0x13a)](),this[_0x1ae822(0x14c)][_0x1ae822(0x17f)](_0x423d44=>_0x423d44[_0x1ae822(0x13a)]()),this[_0x1ae822(0x14c)][_0x1ae822(0x1e5)](),this[_0x1ae822(0x2a9)][_0x1ae822(0x2e6)]();}async['requireSession'](_0x49ad58){var _0x160645=_0x42a875;if(this['_sessions']['has'](_0x49ad58))return this[_0x160645(0x14c)][_0x160645(0x385)](_0x49ad58);this['_tryEnsureSocket']();const _0xa48c6=this[_0x160645(0x199)][_0x160645(0xbb)](It,_0x49ad58,this['_socket$'][_0x160645(0x298)]());return this['_sessions'][_0x160645(0xee)](_0x49ad58,_0xa48c6),_0xa48c6;}[_0x42a875(0x352)](_0x18df6f){var _0x2814ba=_0x42a875,_0x2f2e5c;const _0x321e4a=this['_sessions'][_0x2814ba(0x385)](_0x18df6f);_0x321e4a&&(this[_0x2814ba(0x14c)]['delete'](_0x18df6f),_0x321e4a['close']()),this[_0x2814ba(0x14c)][_0x2814ba(0x131)]||(_0x2f2e5c=this[_0x2814ba(0x1ef)])==null||_0x2f2e5c[_0x2814ba(0x255)]();}[_0x42a875(0x1ab)](){var _0x5675ee=_0x42a875;this[_0x5675ee(0x10e)]=0x0,this[_0x5675ee(0x113)]!=null&&(clearTimeout(this[_0x5675ee(0x113)]),this['_retryConnectingTimer']=null),this[_0x5675ee(0x262)]();}async[_0x42a875(0x223)](){var _0x4d52d8=_0x42a875,_0xdb1946,_0x47f4d5,_0x2e4a66;const _0x4e870e=this['_configService'][_0x4d52d8(0x1c4)](q),_0x53215d=(_0xdb1946=_0x4e870e==null?void 0x0:_0x4e870e[_0x4d52d8(0x297)])!=null?_0xdb1946:On;return(_0x2e4a66=(_0x47f4d5=(await this[_0x4d52d8(0x21a)][_0x4d52d8(0x385)](_0x53215d,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x47f4d5[_0x4d52d8(0xc7)])!=null?_0x2e4a66:'';}[_0x42a875(0x12f)](_0x3c658a){var _0x5283ce=_0x42a875,_0x57e475,_0x39709e;const _0x5b9904=this[_0x5283ce(0x22f)]['getConfig'](Rn),_0xc616fe=this[_0x5283ce(0x22f)][_0x5283ce(0x1c4)](q),_0x33d2c7=(_0x39709e=(_0x57e475=_0xc616fe==null?void 0x0:_0xc616fe[_0x5283ce(0x24f)])!=null?_0x57e475:_0x5b9904)!=null?_0x39709e:bn,_0x444efc=typeof window>'u'?new URL(_0x33d2c7):new URL(_0x33d2c7,window[_0x5283ce(0x371)][_0x5283ce(0x2a5)]);_0x444efc['searchParams'][_0x5283ce(0xee)](_0x5283ce(0x1e3),_0x3c658a);const _0x4e17c2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5283ce(0x371)]['search']);return _0x4e17c2[_0x5283ce(0x385)](_0x5283ce(0x273))&&_0x444efc['searchParams']['set'](_0x5283ce(0x273),_0x4e17c2[_0x5283ce(0x385)](_0x5283ce(0x273))),_0x444efc[_0x5283ce(0x20b)]();}async[_0x42a875(0xca)](){var _0x1d4acb=_0x42a875;const _0x3c18fb=await this[_0x1d4acb(0x223)](),_0x1c4396=this['_createSocketURL'](_0x3c18fb),_0x8785c9=this[_0x1d4acb(0x188)][_0x1d4acb(0x392)](_0x1c4396);return this[_0x1d4acb(0x221)]=_0x8785c9,_0x8785c9;}async[_0x42a875(0x161)](){var _0x230e21=_0x42a875,_0x581454,_0x315ee8;try{const _0x4dca0a=(_0x315ee8=(_0x581454=this[_0x230e21(0x1ef)])!=null?_0x581454:this['_candidateSocket'])!=null?_0x315ee8:await this['_createSocket']();if(_0x4dca0a){const _0x2dd5b5=_0x4dca0a[_0x230e21(0x194)];_0x4dca0a[_0x230e21(0x194)]=_0x1658cc=>(this[_0x230e21(0x304)](),_0x2dd5b5[_0x230e21(0x10b)](_0x4dca0a,[_0x1658cc])),_0x4dca0a[_0x230e21(0x13b)][_0x230e21(0x2ec)](_0x401d6d=>this[_0x230e21(0x110)](_0x4dca0a,_0x401d6d)),_0x4dca0a['error$'][_0x230e21(0x233)](_0x21bbe7(0x1))[_0x230e21(0x2ec)](_0x6b782b=>this[_0x230e21(0x204)][_0x230e21(0x38f)](_0x230e21(0x2ae),_0x6b782b)),_0x4dca0a[_0x230e21(0x249)][_0x230e21(0x233)](_0x21bbe7(0x1))[_0x230e21(0x2ec)](()=>{var _0x54215c=_0x230e21;this[_0x54215c(0x19b)](_0x4dca0a);}),_0x4dca0a['close$']['pipe'](_0x21bbe7(0x1))[_0x230e21(0x2ec)](_0x25f6c2=>{var _0xa24fe9=_0x230e21;this['_logService'][_0xa24fe9(0x2b5)](_0xa24fe9(0x11d),_0xa24fe9(0x312),_0x25f6c2),this['_onConnectionFailed']();});}}catch(_0x119625){this[_0x230e21(0x204)][_0x230e21(0x38f)](_0x119625),this[_0x230e21(0x283)]();}}[_0x42a875(0x19b)](_0xdac89d){var _0x9c517c=_0x42a875;this[_0x9c517c(0x204)][_0x9c517c(0x2b5)](_0x9c517c(0x11d),_0x9c517c(0xf5)),_0xdac89d['send']({'cmd':F['HELLO']}),this[_0x9c517c(0x304)]();}[_0x42a875(0x189)](){var _0x28c40b=_0x42a875;this['_socketReady']=!0x1,this[_0x28c40b(0x221)]=null,this['_status$'][_0x28c40b(0x1e7)](Te['OFFLINE']),this[_0x28c40b(0xdb)]['next'](null),this['_clearTimeoutTimer'](),this[_0x28c40b(0x2c9)]();}['_onConnectionFailed'](){var _0x10da76=_0x42a875,_0x130218;this[_0x10da76(0x189)](),this[_0x10da76(0x10e)]<((_0x130218=this['_configService']['getConfig'](Pn))!=null?_0x130218:wn)?(this[_0x10da76(0x1f9)][_0x10da76(0x12c)]({'id':se[_0x10da76(0xc2)]}),this[_0x10da76(0x262)]()):this[_0x10da76(0x1f9)][_0x10da76(0x12c)]({'id':se[_0x10da76(0x38d)]});}['_tryReconnect'](){var _0x161181=_0x42a875,_0x35513d;const _0x67ae79=this['_retryCount'],_0x372c6b=this[_0x161181(0x22f)][_0x161181(0x1c4)](q),_0x1f44e4=_0x67ae79===0x0?0x0:((_0x35513d=_0x372c6b==null?void 0x0:_0x372c6b['retryConnectingInterval'])!=null?_0x35513d:Dn)*0x2**_0x67ae79;this[_0x161181(0x113)]=setTimeout(()=>{var _0x4ed42f=_0x161181;clearTimeout(this[_0x4ed42f(0x113)]),this[_0x4ed42f(0x113)]=null,this[_0x4ed42f(0x161)]();},_0x1f44e4),this[_0x161181(0x10e)]+=0x1;}[_0x42a875(0x110)](_0xfe243f,_0x16837c){var _0x2a1a08=_0x42a875;const {cmd:_0x3ddd63}=_0x16837c;_0x3ddd63===F[_0x2a1a08(0x218)]&&!this[_0x2a1a08(0xbc)]&&(_0xfe243f['memberID']=_0x16837c['data'][_0x2a1a08(0xcd)],this[_0x2a1a08(0xdb)][_0x2a1a08(0x1e7)](_0xfe243f),this[_0x2a1a08(0x2a9)][_0x2a1a08(0x1e7)](Te[_0x2a1a08(0x1dc)]),this['_socketReady']=!0x0,this[_0x2a1a08(0x221)]=null),_0x3ddd63===F[_0x2a1a08(0x292)]&&this[_0x2a1a08(0x1bc)](),this[_0x2a1a08(0x304)]();}[_0x42a875(0x304)](){var _0x12ed34=_0x42a875,_0x102384;this[_0x12ed34(0x2c9)](),this[_0x12ed34(0x31a)]=setTimeout(()=>this[_0x12ed34(0x339)](),(_0x102384=this[_0x12ed34(0x22f)][_0x12ed34(0x1c4)](yn))!=null?_0x102384:Nn);}[_0x42a875(0x339)](){var _0x4765e6=_0x42a875;this[_0x4765e6(0x1ef)][_0x4765e6(0x194)]({'cmd':F[_0x4765e6(0x292)]}),this[_0x4765e6(0x26e)]();}[_0x42a875(0x26e)](){var _0x2d93b1=_0x42a875,_0xc8dd32;this['_timeoutTimer']=setTimeout(()=>this[_0x2d93b1(0x283)](),(_0xc8dd32=this[_0x2d93b1(0x22f)][_0x2d93b1(0x1c4)](Si))!=null?_0xc8dd32:Ei);}[_0x42a875(0x2c9)](){var _0x42a21c=_0x42a875;this[_0x42a21c(0x31a)]!=null&&(clearTimeout(this[_0x42a21c(0x31a)]),this[_0x42a21c(0x31a)]=null);}['_clearTimeoutTimer'](){var _0x5a7e52=_0x42a875;this[_0x5a7e52(0x311)]!=null&&(clearTimeout(this[_0x5a7e52(0x311)]),this[_0x5a7e52(0x311)]=null);}};Le=er([ge(0x0,_0x2bf137(_0x2726ca)),ge(0x1,_0x1338e8),ge(0x2,_0x3da535),ge(0x3,Ci),ge(0x4,_0x2bf137(_0x93900e)),ge(0x5,_0x2bf137(pe)),ge(0x6,_0x740129(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x42a875(0x357)]((n+0x100)[_0x42a875(0x20b)](0x10)[_0x42a875(0x342)](0x1));function tr(_0x118faa,_0x53612e=0x0){var _0x59b840=_0x42a875;return(V[_0x118faa[_0x53612e+0x0]]+V[_0x118faa[_0x53612e+0x1]]+V[_0x118faa[_0x53612e+0x2]]+V[_0x118faa[_0x53612e+0x3]]+'-'+V[_0x118faa[_0x53612e+0x4]]+V[_0x118faa[_0x53612e+0x5]]+'-'+V[_0x118faa[_0x53612e+0x6]]+V[_0x118faa[_0x53612e+0x7]]+'-'+V[_0x118faa[_0x53612e+0x8]]+V[_0x118faa[_0x53612e+0x9]]+'-'+V[_0x118faa[_0x53612e+0xa]]+V[_0x118faa[_0x53612e+0xb]]+V[_0x118faa[_0x53612e+0xc]]+V[_0x118faa[_0x53612e+0xd]]+V[_0x118faa[_0x53612e+0xe]]+V[_0x118faa[_0x53612e+0xf]])[_0x59b840(0x23d)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3a67e5=_0x42a875;if(!ut){if(typeof crypto>'u'||!crypto[_0x3a67e5(0xa4)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x3a67e5(0xa4)][_0x3a67e5(0x2bf)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x42a875(0x2bf)](crypto),qt={'randomUUID':rr};function sr(_0xcc5a60,_0xaf0a48,_0x4b9d67){var _0x461229=_0x42a875,_0x1d9d43,_0x1c744e,_0x29f08a;if(qt[_0x461229(0x247)]&&!_0xcc5a60)return qt['randomUUID']();_0xcc5a60=_0xcc5a60||{};const _0x3bfda9=(_0x29f08a=(_0x1c744e=_0xcc5a60[_0x461229(0x25a)])!=null?_0x1c744e:(_0x1d9d43=_0xcc5a60[_0x461229(0x27b)])==null?void 0x0:_0x1d9d43[_0x461229(0xf2)](_0xcc5a60))!=null?_0x29f08a:nr();if(_0x3bfda9['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x3bfda9[0x6]=_0x3bfda9[0x6]&0xf|0x40,_0x3bfda9[0x8]=_0x3bfda9[0x8]&0x3f|0x80,tr(_0x3bfda9);}const J=_0x1724b5(_0x42a875(0x211));function so(_0x5c3a0a){var _0x67a779=_0x42a875;return _0x67a779(0x214)+_0x5c3a0a;}var or=Object['defineProperty'],ar=Object[_0x42a875(0x20c)],cr=(_0x1a8583,_0x4694ba,_0x330441,_0x4cbbcf)=>{var _0x1311d9=_0x42a875;for(var _0x25f453=_0x4cbbcf>0x1?void 0x0:_0x4cbbcf?ar(_0x4694ba,_0x330441):_0x4694ba,_0x237d1a=_0x1a8583[_0x1311d9(0xd2)]-0x1,_0x3e6a45;_0x237d1a>=0x0;_0x237d1a--)(_0x3e6a45=_0x1a8583[_0x237d1a])&&(_0x25f453=(_0x4cbbcf?_0x3e6a45(_0x4694ba,_0x330441,_0x25f453):_0x3e6a45(_0x25f453))||_0x25f453);return _0x4cbbcf&&_0x25f453&&or(_0x4694ba,_0x330441,_0x25f453),_0x25f453;},dt=(_0x52ff9f,_0x2d3f18)=>(_0x353641,_0x5afbfa)=>_0x2d3f18(_0x353641,_0x5afbfa,_0x52ff9f);function hr(_0x48bd59){var _0x5459fa=_0x42a875;const {unitID:_0x51a57f,mutations:_0x392555}=_0x48bd59;return{'unitId':_0x51a57f,'subUnitId':_0x392555[0x0][_0x5459fa(0x1e2)][_0x5459fa(0x1f3)]};}let it=class{constructor(_0x558a78,_0x49b360,_0x4a87f6){var _0x12600f=_0x42a875;this[_0x12600f(0x199)]=_0x558a78,this['_transformService']=_0x49b360,this[_0x12600f(0xd0)]=_0x4a87f6;}[_0x42a875(0x102)](_0x5162fc){var _0x47c4d9=_0x42a875,_0x1ca804,_0x20f579,_0x12949c,_0x57fb9b;const _0x3722a5=this[_0x47c4d9(0x199)][_0x47c4d9(0x385)](_0x4ef90c),{unitId:_0x1c7922,subUnitId:_0x464b33}=hr(_0x5162fc),_0x426e29=_0x3722a5==null?void 0x0:_0x3722a5['getWorkbookSelections'](_0x1c7922)[_0x47c4d9(0x27c)](),_0x217011=(_0x20f579=(_0x1ca804=this[_0x47c4d9(0xd0)][_0x47c4d9(0x10c)](_0x1c7922))==null?void 0x0:_0x1ca804['getActiveSheet']())==null?void 0x0:_0x20f579[_0x47c4d9(0x1ba)]();if(_0x426e29[_0x47c4d9(0xd2)]===0x0||!_0x1c7922||!_0x464b33)return;const _0x33b817=[{'id':_0x482b4a['id'],'params':{'unitId':_0x1c7922,'subUnitId':_0x217011,'selections':_0x23b0c2[_0x47c4d9(0x240)](_0x426e29)}}],_0x30119d=this[_0x47c4d9(0x365)][_0x47c4d9(0x135)](_0x5162fc,_0x33b817);if(!_0x1a28bf(_0x30119d))throw _0x30119d['error'];const _0x4a4c73=(_0x57fb9b=(_0x12949c=_0x30119d[_0x47c4d9(0x256)][0x0])==null?void 0x0:_0x12949c[_0x47c4d9(0x1e2)])==null?void 0x0:_0x57fb9b[_0x47c4d9(0x119)];if(Array['isArray'](_0x4a4c73)&&_0x4a4c73['length']){if(_0x4a4c73[_0x47c4d9(0xd2)]===_0x33b817[0x0][_0x47c4d9(0x1e2)][_0x47c4d9(0x119)]['length']&&_0x4a4c73[_0x47c4d9(0x19c)]((_0x4f99da,_0x500fe8)=>_0x507d17[_0x47c4d9(0x278)](_0x4f99da[_0x47c4d9(0x2c0)],_0x33b817[0x0][_0x47c4d9(0x1e2)][_0x47c4d9(0x119)][_0x500fe8][_0x47c4d9(0x2c0)])))return;this[_0x47c4d9(0x199)][_0x47c4d9(0x385)](_0x485ee3)['executeCommand'](_0x482b4a['id'],{'unitId':_0x1c7922,'subUnitId':_0x217011,'selections':_0x4a4c73});}}};it=cr([dt(0x0,_0x2bf137(_0x2726ca)),dt(0x1,_0x1f7611),dt(0x2,_0xb6e8d5)],it);const ht=_0x1724b5(_0x42a875(0x301));var bi=(_0x385678=>(_0x385678[_0x385678[_0x42a875(0xb4)]=0x0]=_0x42a875(0xb4),_0x385678[_0x385678['OTHER_CLIENTS_EDITING']=0x1]='OTHER_CLIENTS_EDITING',_0x385678))(bi||{});const _r=new Set([_0x3e3640['id']]);function zt(_0x13d5ba,_0x29941f,_0x51a761,_0x2461ce,_0xcccbbe){var _0x9d125a=_0x42a875,_0xb2f32c,_0x55ca13,_0x4ab02e,_0xab4b1f;const _0x2b951f=[];for(const _0x4f5c96 of _0x13d5ba)if(_r[_0x9d125a(0xd6)](_0x4f5c96['id'])){if(_0x2b951f[_0x9d125a(0xd2)]>0x0)break;_0x2b951f[_0x9d125a(0x357)](_0x4f5c96);break;}else _0x2b951f['push'](_0x4f5c96);const _0x2e847a=(_0x55ca13=(_0xb2f32c=_0xcccbbe[_0x9d125a(0x224)]())==null?void 0x0:_0xb2f32c[_0x9d125a(0x192)])!=null?_0x55ca13:_0x9d125a(0xdd),_0x385e23=(_0xab4b1f=(_0x4ab02e=_0xcccbbe[_0x9d125a(0x224)]())==null?void 0x0:_0x4ab02e[_0x9d125a(0xcd)])!=null?_0xab4b1f:'unknown';return{'changeset':{'unitID':_0x29941f,'type':_0x168679(_0x51a761[_0x9d125a(0x23b)](_0x29941f)),'baseRev':_0x2461ce[_0x9d125a(0x1a4)](_0x29941f),'revision':0x0,'userID':_0x2e847a,'memberID':_0x385e23,'mutations':_0x2b951f},'pendingMutations':_0x13d5ba[_0x9d125a(0x342)](_0x2b951f[_0x9d125a(0xd2)])};}function lr(_0x2e5602,_0x2dd425,_0x417991,_0x552f41,_0x298a2f){var _0x39cb9a=_0x42a875,_0x7af177,_0x1c6231,_0x18b497,_0x2f142b;const _0x1ec4c1=[_0x2e5602[_0x39cb9a(0x242)]((_0x147d54,_0x26fe67)=>{var _0x998b9=_0x39cb9a,_0x29555a;const {id:_0x2a56cd}=_0x147d54,{id:_0x509ab2,type:_0x271bd8}=_0x26fe67,_0x7e9675=(_0x29555a=_0x147d54[_0x998b9(0x1e2)])!=null?_0x29555a:{'actions':null},_0x34ea14=_0x26fe67['params'];if(_0x2a56cd&&_0x2a56cd!==_0x509ab2)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x2a56cd+_0x998b9(0x25e)+_0x509ab2+'.');return{..._0x147d54,'id':_0x509ab2,'type':_0x271bd8,'params':{'unitId':_0x34ea14[_0x998b9(0xde)],'textRanges':_0x34ea14[_0x998b9(0xe3)],'actions':_0xc76282[_0x998b9(0xc1)](_0x7e9675['actions'],_0x34ea14[_0x998b9(0x1d3)])}};},{})],_0x2fae8c=(_0x1c6231=(_0x7af177=_0x298a2f[_0x39cb9a(0x224)]())==null?void 0x0:_0x7af177[_0x39cb9a(0x192)])!=null?_0x1c6231:'unknown',_0x1a0e09=(_0x2f142b=(_0x18b497=_0x298a2f[_0x39cb9a(0x224)]())==null?void 0x0:_0x18b497[_0x39cb9a(0xcd)])!=null?_0x2f142b:_0x39cb9a(0xdd);return{'changeset':{'unitID':_0x2dd425,'type':_0x168679(_0x417991['getUnitType'](_0x2dd425)),'baseRev':_0x552f41[_0x39cb9a(0x1a4)](_0x2dd425),'revision':0x0,'userID':_0x2fae8c,'memberID':_0x1a0e09,'mutations':_0x1ec4c1},'pendingMutations':[]};}function Oi(_0x37e924,_0x56e0ff){var _0x2a25cf=_0x42a875;const _0x3aa81b=new _0x2172dc(0x1);return setTimeout(()=>_0x3aa81b[_0x2a25cf(0x1e7)](_0x56e0ff),_0x37e924),_0x3aa81b['asObservable']()[_0x2a25cf(0x233)](_0x4d9080(0x1));}const ur={'id':_0x53a892['id'],'type':_0x58e2b9[_0x42a875(0x2b7)],'params':{}};var dr=Object[_0x42a875(0x143)],fr=Object[_0x42a875(0x20c)],Re=(_0x1ed968,_0x7137b8,_0x23cbc0,_0x2643d1)=>{var _0x480067=_0x42a875;for(var _0x2a7b56=_0x2643d1>0x1?void 0x0:_0x2643d1?fr(_0x7137b8,_0x23cbc0):_0x7137b8,_0x22c7ff=_0x1ed968[_0x480067(0xd2)]-0x1,_0x36cd33;_0x22c7ff>=0x0;_0x22c7ff--)(_0x36cd33=_0x1ed968[_0x22c7ff])&&(_0x2a7b56=(_0x2643d1?_0x36cd33(_0x7137b8,_0x23cbc0,_0x2a7b56):_0x36cd33(_0x2a7b56))||_0x2a7b56);return _0x2643d1&&_0x2a7b56&&dr(_0x7137b8,_0x23cbc0,_0x2a7b56),_0x2a7b56;},A=(_0x51a39d,_0x414d91)=>(_0x4e56aa,_0x236922)=>_0x414d91(_0x4e56aa,_0x236922,_0x51a39d),yi=(_0x463876=>(_0x463876['NOT_COLLAB']=_0x42a875(0x2fe),_0x463876[_0x42a875(0x103)]='synced',_0x463876[_0x42a875(0x34b)]=_0x42a875(0x1c3),_0x463876[_0x42a875(0x130)]=_0x42a875(0x222),_0x463876['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x463876[_0x42a875(0x126)]=_0x42a875(0x258),_0x463876[_0x42a875(0x330)]='conflict',_0x463876['OFFLINE']=_0x42a875(0x1fe),_0x463876))(yi||{});const Ni=0xea60;class be{constructor(_0x135cb8,_0x27a34f,_0x29bab9,_0x41f3b0,_0x5aefd4,_0x488191,_0x8d1e11,_0x5c51e3,_0x2cd30c){var _0x5e7a57=_0x42a875;N(this,_0x5e7a57(0x182),null),N(this,_0x5e7a57(0x2ee),[]),(this[_0x5e7a57(0x372)]=_0x135cb8,this[_0x5e7a57(0x21e)]=_0x27a34f,this['_handler']=_0x5aefd4,this['_commandService']=_0x488191,this['_undoRedoService']=_0x8d1e11,this['_revisionService']=_0x5c51e3,this['_localCacheService']=_0x2cd30c,this[_0x5e7a57(0x182)]=_0x29bab9,this[_0x5e7a57(0x2ee)]=_0x41f3b0);}[_0x42a875(0x36e)](_0x21bf7f){var _0x5c4677=_0x42a875;const _0x1f376f=this[_0x5c4677(0x1c2)][_0x5c4677(0x1a4)](this[_0x5c4677(0x372)]);return _0x21bf7f[_0x5c4677(0x2ce)]>_0x1f376f+0x1?(this[_0x5c4677(0x319)][_0x5c4677(0x1d2)]({'from':_0x1f376f,'to':_0x21bf7f['revision']-0x1}),!0x0):!0x1;}[_0x42a875(0x15b)](_0x45e2b7){var _0x30110b=_0x42a875;this[_0x30110b(0x183)]['transformUndoRedo'](this[_0x30110b(0x372)],_0x45e2b7);}[_0x42a875(0x11f)](_0x3bb0f9){var _0x3d0300=_0x42a875,_0x540c08,_0x3f1aa8;(_0x3f1aa8=(_0x540c08=this['_handler'])[_0x3d0300(0x210)])==null||_0x3f1aa8[_0x3d0300(0xf2)](_0x540c08,_0x3bb0f9);}[_0x42a875(0x2b4)](_0x1c30fb){var _0x146e71=_0x42a875,_0x9f2422,_0x33ccec;return(_0x33ccec=(_0x9f2422=this['_handler'])[_0x146e71(0x200)])==null?void 0x0:_0x33ccec[_0x146e71(0xf2)](_0x9f2422,_0x1c30fb);}[_0x42a875(0x20a)](_0x4da308){var _0x4856d7=_0x42a875,_0x1abc95,_0x209c1e;return(_0x209c1e=(_0x1abc95=this[_0x4856d7(0x319)])[_0x4856d7(0x23f)])==null?void 0x0:_0x209c1e['call'](_0x1abc95,_0x4da308);}['_transformRemoteChangesetByIMECache'](_0x55a0f0){var _0x55bf79=_0x42a875,_0x1672f8,_0x163f26,_0x41c3ac;return(_0x41c3ac=(_0x163f26=(_0x1672f8=this[_0x55bf79(0x319)])[_0x55bf79(0x376)])==null?void 0x0:_0x163f26[_0x55bf79(0xf2)](_0x1672f8,_0x55a0f0))!=null?_0x41c3ac:_0x55a0f0;}[_0x42a875(0x33b)](_0x3efb8c){var _0x1d0fad=_0x42a875,_0x5422ec,_0x40e0c3,_0x310e17;return(_0x310e17=(_0x40e0c3=(_0x5422ec=this[_0x1d0fad(0x319)])[_0x1d0fad(0xb0)])==null?void 0x0:_0x40e0c3[_0x1d0fad(0xf2)](_0x5422ec,_0x3efb8c))!=null?_0x310e17:_0x3efb8c;}[_0x42a875(0x1cf)](_0x3a7383){var _0x150046=_0x42a875,_0x26fa1d,_0x2d1a66;if(this['type']===Q['UNIVER_DOC']){const {unitID:_0x37917d,mutations:_0x529da7,memberID:_0x11356c}=_0x3a7383,_0x4ad79e=_0x529da7[0x0][_0x150046(0x1e2)][_0x150046(0xe3)];Array[_0x150046(0x23c)](_0x4ad79e)&&_0x4ad79e['length']>0x0&&((_0x2d1a66=(_0x26fa1d=this[_0x150046(0x319)])[_0x150046(0x2f3)])==null||_0x2d1a66['call'](_0x26fa1d,{'unitID':_0x37917d,'memberID':_0x11356c,'textRanges':_0x4ad79e}));}}[_0x42a875(0x18f)](){var _0x166db6=_0x42a875,_0xffe1eb;(_0xffe1eb=this['_localCacheService'])==null||_0xffe1eb[_0x166db6(0xff)](this[_0x166db6(0x372)],this[_0x166db6(0x21e)],this[_0x166db6(0x182)],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x246094=_0x42a875;return this[_0x246094(0x1c2)][_0x246094(0x1a4)](this['unitID']);}[_0x42a875(0xbe)](){var _0x23eb76=_0x42a875;this['_revisionService'][_0x23eb76(0x15c)](this['unitID']);}[_0x42a875(0x2fd)](_0x116fa2){var _0x5a84a5=_0x42a875,_0x163267;let _0x1fd3d0=this[_0x5a84a5(0x393)](_0x116fa2);_0x1fd3d0=this['_transformRemoteChangesetByStateCache'](_0x1fd3d0);const _0x3ba326=_0x46c08c(_0x1fd3d0['mutations'],this[_0x5a84a5(0x2a7)],{'fromCollab':!0x0});if(!_0x3ba326[_0x5a84a5(0x16f)])throw _0x3ba326[_0x5a84a5(0x38f)]instanceof Error?_0x3ba326[_0x5a84a5(0x38f)]:new Error((_0x163267=_0x3ba326[_0x5a84a5(0x38f)])!=null?_0x163267:_0x5a84a5(0x12d));this[_0x5a84a5(0x2b4)](_0x1fd3d0),this['_transformStateCache'](_0x1fd3d0),this[_0x5a84a5(0x15b)](_0x116fa2),this[_0x5a84a5(0x11f)](_0x1fd3d0),this[_0x5a84a5(0x1cf)](_0x1fd3d0),this[_0x5a84a5(0xbe)]();}}let De=class extends be{constructor(_0x1c720b,_0x1cc4c3,_0x989220,_0x144e37,_0x16d52c,_0x185176,_0x3bb935,_0x5bf4eb,_0x189fda,_0x66d92e){var _0x30715b=_0x42a875;super(_0x1c720b,_0x1cc4c3,null,[],_0x989220,_0x3bb935,_0x185176,_0x144e37,_0x66d92e),N(this,'status',_0x30715b(0x108)),(this[_0x30715b(0x199)]=_0x16d52c,this['_logService']=_0x5bf4eb,this[_0x30715b(0x365)]=_0x189fda,this[_0x30715b(0x13f)]=_0x66d92e);}['appendMutation'](_0x24b988){var _0x4dd007=_0x42a875;const _0xeb8c36=this[_0x4dd007(0x199)][_0x4dd007(0xbb)](oe,this['unitID'],this['type'],[_0x24b988],this[_0x4dd007(0x319)]);return _0xeb8c36[_0x4dd007(0x202)](),_0xeb8c36[_0x4dd007(0x18f)](),_0xeb8c36;}[_0x42a875(0x226)](_0x2f6e92){var _0x430850=_0x42a875;if(this[_0x430850(0x36e)](_0x2f6e92))return this['_injector']['createInstance'](te,this[_0x430850(0x372)],this[_0x430850(0x21e)],null,[],null,[_0x2f6e92],this['_handler']);try{const _0x4ba684=this[_0x430850(0x365)][_0x430850(0x135)](_0x2f6e92,[ur]);if(_0x1a28bf(_0x4ba684)){const {c1Prime:_0x2b8b7c}=_0x4ba684;return this[_0x430850(0x2fd)](_0x2b8b7c),this;}throw _0x4ba684[_0x430850(0x38f)];}catch(_0x54b129){return this[_0x430850(0x204)][_0x430850(0x38f)](_0x54b129),this[_0x430850(0x2f7)](!0x1);}}['_onConflict'](_0x1f77a4){var _0x433864=_0x42a875;return this['_injector'][_0x433864(0xbb)](de,this[_0x433864(0x372)],this[_0x433864(0x21e)],null,[],this[_0x433864(0x319)],_0x1f77a4);}[_0x42a875(0x327)](){var _0x160863=_0x42a875;throw new Error(_0x160863(0x33a));}[_0x42a875(0x2ef)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x42a875(0x290)](){return this;}[_0x42a875(0x281)](){var _0x263644=_0x42a875;return this['_injector'][_0x263644(0xbb)](fe,this[_0x263644(0x372)],this[_0x263644(0x21e)],null,[],this['_handler']);}[_0x42a875(0x235)](){return this;}[_0x42a875(0x323)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x42a875(0x395)](){var _0x2aebd4=_0x42a875;const _0x1e4f31=this[_0x2aebd4(0x1c2)][_0x2aebd4(0x1a4)](this['unitID']);return this[_0x2aebd4(0x319)]['onMissingChangesets']({'from':_0x1e4f31,'to':0x0}),this[_0x2aebd4(0x199)][_0x2aebd4(0xbb)](te,this[_0x2aebd4(0x372)],this[_0x2aebd4(0x21e)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x2bf137(_0x1f6e04)),A(0x4,_0x2bf137(_0x2726ca)),A(0x5,_0x4995f7),A(0x6,_0x485ee3),A(0x7,_0x1338e8),A(0x8,_0x1f7611),A(0x9,_0x740129(J))],De);let oe=class extends be{constructor(_0x15eb2d,_0x315f96,_0x2299ec,_0x4d8c09,_0xf6a602,_0x308672,_0x39884f,_0x3e6ace,_0x22a97b,_0x40c85d,_0x173961,_0x3b0f72,_0x2c60a9,_0x79aa71){var _0x47ea40=_0x42a875;super(_0x15eb2d,_0x315f96,null,_0x2299ec,_0x4d8c09,_0x22a97b,_0x2c60a9,_0x308672,_0x79aa71),N(this,'status',_0x47ea40(0x1c3)),N(this,_0x47ea40(0x31d),null),N(this,_0x47ea40(0x2c8),null),(this[_0x47ea40(0x199)]=_0xf6a602,this[_0x47ea40(0x171)]=_0x39884f,this[_0x47ea40(0x204)]=_0x3e6ace,this[_0x47ea40(0x22f)]=_0x40c85d,this[_0x47ea40(0x365)]=_0x173961,this['_univerInstanceService']=_0x3b0f72);}[_0x42a875(0x284)](_0x3edb67){var _0x2716c8=_0x42a875;return this[_0x2716c8(0x2ee)]['push'](_0x3edb67),this[_0x2716c8(0x18f)](),this;}[_0x42a875(0x226)](_0xcff46b){var _0x459495=_0x42a875;if(this[_0x459495(0x36e)](_0xcff46b))return this['_clearScheduledTask'](),this[_0x459495(0x199)][_0x459495(0xbb)](te,this[_0x459495(0x372)],this[_0x459495(0x21e)],null,this['_pendingMutations'],null,[_0xcff46b],this[_0x459495(0x319)]);try{const _0x7ea7e7=this[_0x459495(0x365)][_0x459495(0x135)](_0xcff46b,this[_0x459495(0x2ee)]);if(_0x1a28bf(_0x7ea7e7)){const {c1Prime:_0x4ceaa0,m2Prime:_0x197564}=_0x7ea7e7;this[_0x459495(0x2fd)](_0x4ceaa0);const _0x3475e4=this[_0x459495(0x199)]['createInstance'](oe,this[_0x459495(0x372)],this[_0x459495(0x21e)],_0x197564,this[_0x459495(0x319)]);this[_0x459495(0x140)]();const _0x425b81=new Date()['getTime'](),_0x1f64e1=this[_0x459495(0x31d)]?Math[_0x459495(0x209)](this[_0x459495(0x31d)]-_0x425b81,0x0):this['_getSendChangesetTimeout']();return _0x3475e4[_0x459495(0x202)](_0x1f64e1),_0x3475e4;}throw _0x7ea7e7[_0x459495(0x38f)];}catch(_0x28e155){return this[_0x459495(0x204)][_0x459495(0x38f)](_0x28e155),this[_0x459495(0x2f7)](!0x1);}}[_0x42a875(0x327)](){var _0x5a204e=_0x42a875;throw new Error(_0x5a204e(0xdf));}[_0x42a875(0x2ef)](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x42a875(0x290)](){return this;}[_0x42a875(0x281)](){var _0x5919e8=_0x42a875;return this['_clearScheduledTask'](),this[_0x5919e8(0x199)][_0x5919e8(0xbb)](fe,this['unitID'],this[_0x5919e8(0x21e)],null,this[_0x5919e8(0x2ee)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x3588f1){var _0x259b64=_0x42a875;const _0xba8cec=_0x3588f1!=null?_0x3588f1:this[_0x259b64(0x1b5)]();this['_scheduleCompleteTimestamp']=new Date()[_0x259b64(0x1b0)]()+_0xba8cec,this[_0x259b64(0x2c8)]=setTimeout(()=>{var _0x4dc9e1=_0x259b64;this[_0x4dc9e1(0x140)]();let _0x3dcde9=null;switch(this['type']){case Q[_0x4dc9e1(0x398)]:{_0x3dcde9=zt(this['_pendingMutations'],this[_0x4dc9e1(0x372)],this[_0x4dc9e1(0x390)],this[_0x4dc9e1(0x1c2)],this[_0x4dc9e1(0x171)]);break;}case Q[_0x4dc9e1(0x164)]:{this[_0x4dc9e1(0x2ee)]['every'](_0x2172c6=>_0x2172c6['id']===_0x3946dc['id'])?_0x3dcde9=lr(this[_0x4dc9e1(0x2ee)],this['unitID'],this[_0x4dc9e1(0x390)],this[_0x4dc9e1(0x1c2)],this['_memberService']):_0x3dcde9=zt(this[_0x4dc9e1(0x2ee)],this['unitID'],this[_0x4dc9e1(0x390)],this[_0x4dc9e1(0x1c2)],this['_memberService']);break;}default:throw new Error(_0x4dc9e1(0x1c5)+this[_0x4dc9e1(0x21e)]+_0x4dc9e1(0x331));}const {changeset:_0x45898b,pendingMutations:_0x566dbc}=_0x3dcde9;this[_0x4dc9e1(0x319)][_0x4dc9e1(0x343)](_0x45898b);const _0x27f2e9=_0x566dbc[_0x4dc9e1(0xd2)]?this['_injector'][_0x4dc9e1(0xbb)](ae,this[_0x4dc9e1(0x372)],this['type'],_0x45898b,_0x566dbc,this[_0x4dc9e1(0x319)],void 0x0):this[_0x4dc9e1(0x199)][_0x4dc9e1(0xbb)](ue,this[_0x4dc9e1(0x372)],this[_0x4dc9e1(0x21e)],_0x45898b,this[_0x4dc9e1(0x319)]);_0x27f2e9[_0x4dc9e1(0x18f)](),this[_0x4dc9e1(0x319)][_0x4dc9e1(0x1cd)](this,_0x27f2e9);},_0xba8cec);}[_0x42a875(0x1b5)](){var _0x266a97=_0x42a875,_0x154f26;const _0x4c7e7d=this[_0x266a97(0x22f)]['getConfig'](q);return(_0x154f26=_0x4c7e7d==null?void 0x0:_0x4c7e7d[_0x266a97(0x32f)])!=null?_0x154f26:Cn;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x42a875(0x140)](){var _0x170778=_0x42a875;this[_0x170778(0x2c8)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x170778(0x2c8)]=null);}['_onConflict'](_0x2c9adf){var _0x4a6f1e=_0x42a875;return this[_0x4a6f1e(0x140)](),this[_0x4a6f1e(0x199)][_0x4a6f1e(0xbb)](de,this['unitID'],this['type'],null,this[_0x4a6f1e(0x2ee)],this[_0x4a6f1e(0x319)],_0x2c9adf);}};oe=Re([A(0x4,_0x2bf137(_0x2726ca)),A(0x5,_0x2bf137(_0x1f6e04)),A(0x6,_0x2bf137(xe)),A(0x7,_0x1338e8),A(0x8,_0x485ee3),A(0x9,_0x3da535),A(0xa,_0x1f7611),A(0xb,_0xb6e8d5),A(0xc,_0x4995f7),A(0xd,_0x740129(J))],oe);let ue=class extends be{constructor(_0x324cc8,_0x276e17,_0x11e52c,_0x3a51bd,_0x1d0580,_0x12609e,_0x4e0ba9,_0x1743c2,_0x4f9709,_0x1300b2,_0x32af8c){var _0x1109f1=_0x42a875;super(_0x324cc8,_0x276e17,_0x11e52c,[],_0x3a51bd,_0x4e0ba9,_0x1300b2,_0x12609e,_0x32af8c),N(this,'status','awaiting'),N(this,_0x1109f1(0x250),0x0),N(this,_0x1109f1(0x1fd)),N(this,_0x1109f1(0x381)),(this[_0x1109f1(0x199)]=_0x1d0580,this[_0x1109f1(0x204)]=_0x1743c2,this[_0x1109f1(0x365)]=_0x4f9709);}[_0x42a875(0x284)](_0xc6d5db){var _0x4ca949=_0x42a875;this['_clearScheduledTask']();const _0x308042=this[_0x4ca949(0x199)][_0x4ca949(0xbb)](ae,this[_0x4ca949(0x372)],this['type'],this[_0x4ca949(0x182)],[_0xc6d5db],this[_0x4ca949(0x319)],this[_0x4ca949(0x1fd)]);return _0x308042[_0x4ca949(0x18f)](),_0x308042;}['onRemoteChangeset'](_0x5d2c5a){var _0x1a0950=_0x42a875;if(this[_0x1a0950(0x36e)](_0x5d2c5a))return this[_0x1a0950(0x140)](),this['_injector']['createInstance'](te,this[_0x1a0950(0x372)],this['type'],this[_0x1a0950(0x182)],[],null,[_0x5d2c5a],this[_0x1a0950(0x319)]);try{const _0x507d4f=this[_0x1a0950(0x365)]['transformChangesets']([_0x5d2c5a],[this[_0x1a0950(0x182)]],!0x1);if(_0x2fd741(_0x507d4f)){const {c1Prime:_0x1fed09,c2Prime:_0x49a0c0}=_0x507d4f;this[_0x1a0950(0x2fd)](_0x1fed09[0x0]),_0x49a0c0[0x0][_0x1a0950(0x1e1)]=this['_getCurrentRevision'](),this[_0x1a0950(0x140)]();const _0x24e64c=this[_0x1a0950(0x199)][_0x1a0950(0xbb)](ue,this[_0x1a0950(0x372)],this[_0x1a0950(0x21e)],_0x49a0c0[0x0],this[_0x1a0950(0x319)]);return _0x24e64c[_0x1a0950(0x18f)](),_0x24e64c;}return this[_0x1a0950(0x2f7)](!0x1);}catch(_0x38b6de){return this[_0x1a0950(0x204)]['error'](_0x38b6de),this[_0x1a0950(0x2f7)](!0x1);}}['onRemoteAck'](_0x472d8f){var _0x4bc975=_0x42a875;this[_0x4bc975(0x140)]();const _0x2da20f=this[_0x4bc975(0x1c2)][_0x4bc975(0x1a4)](this[_0x4bc975(0x372)]);if(_0x472d8f[_0x4bc975(0x2ce)]<_0x2da20f-0x1)return this;if(this[_0x4bc975(0x36e)](_0x472d8f))return this[_0x4bc975(0x199)]['createInstance'](te,this['unitID'],this['type'],null,[],this[_0x4bc975(0x182)],[],this[_0x4bc975(0x319)]);this[_0x4bc975(0xbe)]();const _0x59d170=this['_injector'][_0x4bc975(0xbb)](De,this[_0x4bc975(0x372)],this[_0x4bc975(0x21e)],this[_0x4bc975(0x319)]);return _0x59d170[_0x4bc975(0x18f)](),_0x59d170;}[_0x42a875(0x2ef)](_0x433a6){var _0x126a49=_0x42a875;return this[_0x126a49(0x2f7)](!!(_0x433a6!=null&&_0x433a6[_0x126a49(0x1b1)]));}[_0x42a875(0x290)](_0x389506){var _0x4af2f4=_0x42a875;return this[_0x4af2f4(0x250)]>Ni?this[_0x4af2f4(0x281)]():(this[_0x4af2f4(0x1fd)]=Oi(this['_resendTimeout'],{'timeout':this[_0x4af2f4(0x250)],'reqId':_0x389506['reqId']}),this[_0x4af2f4(0x381)]=this[_0x4af2f4(0x1fd)][_0x4af2f4(0x2ec)](({reqId:_0x2957e1,timeout:_0x41ad94})=>{var _0x1176da=_0x4af2f4;this[_0x1176da(0x341)](_0x2957e1,_0x41ad94);}),this);}[_0x42a875(0x281)](){var _0x56f5b5=_0x42a875;return this[_0x56f5b5(0x140)](),this[_0x56f5b5(0x199)]['createInstance'](fe,this[_0x56f5b5(0x372)],this[_0x56f5b5(0x21e)],this[_0x56f5b5(0x182)],[],this[_0x56f5b5(0x319)]);}[_0x42a875(0x235)](){return this;}['resend'](){var _0x53ab9d=_0x42a875;this['_handler']['onSendChangeset'](this[_0x53ab9d(0x182)]);}['_onConflict'](_0x27d777){var _0x1937df=_0x42a875;return this[_0x1937df(0x140)](),this[_0x1937df(0x199)][_0x1937df(0xbb)](de,this[_0x1937df(0x372)],this[_0x1937df(0x21e)],this[_0x1937df(0x182)],[],this[_0x1937df(0x319)],_0x27d777);}[_0x42a875(0x341)](_0x1a992c,_0x149aac){var _0x1bf949=_0x42a875,_0x148b10;_0x1a992c===((_0x148b10=this[_0x1bf949(0x182)])==null?void 0x0:_0x148b10[_0x1bf949(0x2af)])&&(this[_0x1bf949(0x323)](),this['_resendTimeout']=_0x149aac===0x0?0x3e8:_0x149aac*0x2);}[_0x42a875(0x140)](){var _0x904082=_0x42a875,_0x15ee5a;(_0x15ee5a=this[_0x904082(0x381)])==null||_0x15ee5a[_0x904082(0x2cc)](),this[_0x904082(0x250)]=0x0;}};ue=Re([A(0x4,_0x2bf137(_0x2726ca)),A(0x5,_0x2bf137(_0x1f6e04)),A(0x6,_0x485ee3),A(0x7,_0x1338e8),A(0x8,_0x1f7611),A(0x9,_0x4995f7),A(0xa,_0x740129(J))],ue);let ae=class extends be{constructor(_0x86bc8c,_0x41b9e2,_0x2ca506,_0x277d0e,_0x5cf052,_0x33fc34,_0x52bd97,_0x584f8c,_0xcad53b,_0x3bfaa5,_0x2094bd,_0x214868,_0x3c9881){var _0x47058d=_0x42a875;super(_0x86bc8c,_0x41b9e2,_0x2ca506,_0x277d0e,_0x5cf052,_0xcad53b,_0x214868,_0x584f8c,_0x3c9881),N(this,_0x47058d(0xd8),_0x47058d(0x141)),N(this,_0x47058d(0x250),0x0),N(this,_0x47058d(0x1fd)),N(this,_0x47058d(0x381)),(this[_0x47058d(0x199)]=_0x52bd97,this['_logService']=_0x3bfaa5,this['_transformService']=_0x2094bd,this['localCacheService']=_0x3c9881,_0x33fc34&&(this[_0x47058d(0x1fd)]=_0x33fc34,this['_sender']=this[_0x47058d(0x1fd)][_0x47058d(0x2ec)](({reqId:_0x5dcbeb,timeout:_0x1c65d4})=>{var _0x5243e5=_0x47058d;this[_0x5243e5(0x341)](_0x5dcbeb,_0x1c65d4);})));}[_0x42a875(0x284)](_0x480516){var _0x397894=_0x42a875;return this['_pendingMutations'][_0x397894(0x357)](_0x480516),this;}[_0x42a875(0x226)](_0x36aaf8){var _0x557b15=_0x42a875;if(this[_0x557b15(0x36e)](_0x36aaf8))return this[_0x557b15(0x140)](),this[_0x557b15(0x199)][_0x557b15(0xbb)](te,this[_0x557b15(0x372)],this[_0x557b15(0x21e)],this[_0x557b15(0x182)],this[_0x557b15(0x2ee)],null,[_0x36aaf8],this['_handler']);try{const _0x50db93=this['_transformService'][_0x557b15(0xe8)]([_0x36aaf8],[this[_0x557b15(0x182)]],!0x1);if(_0x2fd741(_0x50db93)){const {c1Prime:_0xe9596,c2Prime:_0x2f739a}=_0x50db93,_0x47c161=this[_0x557b15(0x365)][_0x557b15(0x135)](_0xe9596[0x0],this[_0x557b15(0x2ee)]);if(_0x1a28bf(_0x47c161)){const {c1Prime:_0x59a395,m2Prime:_0x30f9fc}=_0x47c161;return this[_0x557b15(0x2fd)](_0x59a395),_0x2f739a[0x0][_0x557b15(0x1e1)]=this[_0x557b15(0x26d)](),this[_0x557b15(0x140)](),this['_injector'][_0x557b15(0xbb)](ae,this['unitID'],this['type'],_0x2f739a[0x0],_0x30f9fc,this[_0x557b15(0x319)],void 0x0);}throw _0x47c161[_0x557b15(0x38f)];}throw _0x50db93[_0x557b15(0x38f)];}catch(_0x4e06a3){return this[_0x557b15(0x204)][_0x557b15(0x38f)](_0x4e06a3),this[_0x557b15(0x2f7)](!0x1);}}[_0x42a875(0x327)](_0x57ce0a){var _0x50cec7=_0x42a875;if(this['_clearScheduledTask'](),this[_0x50cec7(0x36e)](_0x57ce0a))return this[_0x50cec7(0x199)][_0x50cec7(0xbb)](te,this['unitID'],this[_0x50cec7(0x21e)],null,this[_0x50cec7(0x2ee)],this[_0x50cec7(0x182)],[],this[_0x50cec7(0x319)]);this[_0x50cec7(0xbe)]();const _0x14b83f=this['_injector'][_0x50cec7(0xbb)](oe,this[_0x50cec7(0x372)],this[_0x50cec7(0x21e)],this['_pendingMutations'],this[_0x50cec7(0x319)]);return _0x14b83f[_0x50cec7(0x202)](),_0x14b83f[_0x50cec7(0x18f)](),_0x14b83f;}['onRemoteRej'](_0x12534f){var _0x16e245=_0x42a875;return this[_0x16e245(0x2f7)](!!(_0x12534f!=null&&_0x12534f[_0x16e245(0x1b1)]));}['onRemoteRetry'](_0x2907a6){var _0x5ca4e3=_0x42a875;return this[_0x5ca4e3(0x250)]>Ni?this[_0x5ca4e3(0x281)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x5ca4e3(0x250)],'reqId':_0x2907a6[_0x5ca4e3(0x2af)]}),this['_sender']=this[_0x5ca4e3(0x1fd)][_0x5ca4e3(0x2ec)](({reqId:_0x21a7ba,timeout:_0x4d4ed3})=>{this['_resendWithTimeout'](_0x21a7ba,_0x4d4ed3);}),this);}[_0x42a875(0x281)](){var _0x5f577c=_0x42a875;return this['_clearScheduledTask'](),this[_0x5f577c(0x199)][_0x5f577c(0xbb)](fe,this[_0x5f577c(0x372)],this[_0x5f577c(0x21e)],this[_0x5f577c(0x182)],this['_pendingMutations'],this[_0x5f577c(0x319)]);}[_0x42a875(0x235)](){return this;}[_0x42a875(0x323)](){var _0x2122ed=_0x42a875;this[_0x2122ed(0x319)]['onSendChangeset'](this[_0x2122ed(0x182)]);}[_0x42a875(0x2f7)](_0xde3910){var _0x4fa3b6=_0x42a875;return this[_0x4fa3b6(0x140)](),this[_0x4fa3b6(0x199)]['createInstance'](de,this[_0x4fa3b6(0x372)],this[_0x4fa3b6(0x21e)],null,this[_0x4fa3b6(0x2ee)],this['_handler'],_0xde3910);}[_0x42a875(0x341)](_0x436ac9,_0x500771){var _0x385b86=_0x42a875,_0x17f290;_0x436ac9===((_0x17f290=this['_awaitingChangeset'])==null?void 0x0:_0x17f290[_0x385b86(0x2af)])&&(this[_0x385b86(0x323)](),this[_0x385b86(0x250)]=_0x500771===0x0?0x3e8:_0x500771*0x2);}[_0x42a875(0x140)](){var _0x47b007=_0x42a875,_0x2907f6;(_0x2907f6=this[_0x47b007(0x381)])==null||_0x2907f6[_0x47b007(0x2cc)](),this[_0x47b007(0x250)]=0x0;}};function _0x1bc1(){var _0x44eff8=['_keySchedule','add','_cipher','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationEntity]','_nDataBytes','complete','getCollabEntity','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','ENSURE_SNAPSHOT_EXECUTION','_singleActiveUnitService','BufferedBlockAlgorithm','subscribe','loginUrlKey','_pendingMutations','onRemoteRej','cfg','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_throwTelemetryCollaborationNewChangeset','onSyncEditingCollabCursor','_collaborationTimeoutTimer','action','LOCAL_CACHE_INTERVAL','_onConflict','objectActions','CLOSE_ROOM','getImage','onCommandExecuted','includes','_executeRemoteChangeset','not_collab','_transitionLocked','loadDoc','univer-pro.collaboration-client.single-active-unit-service','HmacMD5','newCsEvent','_rescheduleHeartbeat','LIVESHARE_NEW_HOST','pad','create','UNRECOGNIZED','processBlock','PERSON','fetchThroughInterceptors','collabSubmitChangesetUrl','/allowed','_onRemoteRetry','buffer','[OfflineState]:\x20received\x20rejection.','_timeoutTimer','socket\x20close','putCollaborators','SerializableCipher','_stopTelemetryCollaborationNewChangeset','encryptBlock','_collaborationSessionService','enableSingleActiveInstanceLock','_handler','_sendHeartbeatTimer','ALREADY_EXISTS','RECV','_scheduleCompleteTimestamp','substr','_unitID','__creator','LIVESHARE_TERMINATE','_getAPIPrefixPath','resend','getInterceptPoints','headers','body','onRemoteAck','salt','exports','registerHTTPInterceptor','_authzIoService','onStarting','allowed','/-/object/list','sendChangesetTimeout','CONFLICT','\x20in\x20_schedule.','connection\x20error','updateCollaborator','csAckEvent','_event$','/new_changes','state','change$','_sendHeartbeat','[SyncedState]:\x20received\x20acknowledgement.','_transformRemoteChangesetByStateCache','_invKeySchedule','Univer','EvpKDF','LICENSE_DISTRO_REJECTED','kdf','_resendWithTimeout','slice','onSendChangeset','ciphertext','_state','sheets','_createHandler','ceil','getCollabEntity$','eventID','PENDING','symbol','submit\x20changeset\x20error!','commentUpdate$','generateRandomId','stringify','_process','closeSession','awaitingChangeset','transformUndoRedo','_showConflictNotification','_transformStack','push','IDLE','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_sessionStatus$','UNISCRIPT_RUN','__Key__','stopTime','CHANGESET_REVISION_CONFILICT','_lockTransition','_substituteRedoStack','prototype','getMemberID','LIVESHARE_OPERATION','USERS_ENTER','_transformService','_initUnitPermissionChange','_permissionService','close$','init','_startCollaboration','snapshotServerUrl','_networkConditionService','batchAllowed','_checkMissing','UNIVER_PROJECT','_iv','location','unitID','_loadDoc','_keyPriorReset','put','onTransformRemoteChangesetByIMECache','[OfflineState]:\x20received\x20changeset.','waitForRoom$','disableLocalCache','/universer-api/snapshot','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','words','loadUnit','ivSize','_clearUndo','_shouldReportTelemetry','_sender','HttpExport','_doReset','formatter','get','_compressMutationService','getAllMembers','roles','_getSignURL','UUID','2960yrSnmx','10847367WgElco','SOCKET_FAILED','_toggleOffline','error','_univerInstanceService','algo','createSocket','_transformRemoteChangesetByIMECache','map','fetchMiss','blockSize','getRoom','UNIVER_SHEET','image/jpeg','_doProcessBlock','MSG_FOR_ERROR','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_state$','Hasher','_remoteChangesetQueue','_http','indexOf','FileId','CONNECTOR_DATA_TOO_LARGE','getRandomValues','HmacSHA1','_updateStatus','parse','\x0aCurrent:\x20','authzUrl','/resources','_replaceFileID','HMAC','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ERROR_IMAGE','joinEvent','onTransformRemoteChangesetByStateCache','APPLY_PERMISSION_DENIED','fromCollab','_iKey','NO_OTHER_CLIENTS_EDITING','href','CHANGESET_SHOULD_RETRY','state$','error$','extend','mixIn','createInstance','_socketReady','_getUndoStack','_incrementRevisionNumber','image/gif','_fetchMissChangesets','compose','SOCKET_FAILED_RETRY','sid','SNAPSHOT_INVALID_SNAPSHOT','BlockCipher','[FetchMissState]','ticket','JOIN_ROOM_PERMISSION_DENIED','_config','_createSocket','YUUMI_UNABLE_LOAD_URL','_onRecvEvent','memberID','[CollaborationUndoRedoService]','_scheduleCollaborationTimeoutTimer','_instanceService','Could\x20not\x20dynamically\x20require\x20\x22','length','min','data','keySize','has','liveShareOperation','status','objects','_getDownloadEndpointURL','_socket$','_createHelper','unknown','unitId','[PendingState]:\x20received\x20acknowledgement.','socket$','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','objectType','textRanges','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','WordArray','PasswordBasedCipher','Cipher','transformChangesets','SNAPSHOT_URL_KEY','_getRedoStack','2864320BCSkll','[CollaborationSession]','_hash','set','routeKey','session.join-failed','_entities','call','_initDependencies','members$','socket\x20open.','YUUMI_RATE_OVER_LIMIT','onMissedChangesetFetched','_updateState','_listenToNetworkCondition','withCredentials','online$','unitId\x20is\x20not\x20found','resolve','getUnitId','updateOfflineData','_getCtorByUniverType','startsWith','transformSelections','SYNCED','_collaborationPaused','_redoStacks','listRoles','_HTTPService','synced','createCollaborator','_key','apply','getUnit','LICENSE_IMPORT_SIZE_EXCEEDED','_retryCount','_decreaseWaiting','_onMessage','changesets','/unit/','_retryConnectingTimer','[DataLoaderService]','updatePermissionObjEvent','find','70oLUEsz','\x20to\x20','selections','hostname','EXCHANGE_SIGN_URL_SERVER_URL_KEY','loadOfflineData','[CollaborationSessionService]','HttpImport','_transformSelections','/object/','_snapshotService','_exhaustRemoteChangesetQueue','permissionRejEvent','APPLY_DUPLICATED','COMPRESS_MUTATION_SEND','FETCH_MISS','_initMergeInterceptor','6IOwRCi','downloadEndpointUrl','_changesetReqId','JOIN_ROOM_FAILED','emitEvent','[CollaborationState]:\x20apply\x20error!','AES','_createSocketURL','AWAITING','size','_onRemoteACK','Decryptor','splice','transformMutationsWithChangeset','replace','_toggleOnline','joinRsp','charAt','dispose','message$','reset','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','crypto','localCacheService','_clearScheduledTask','awaiting_with_pending','onCommentUpdate','defineProperty','override','_telemetryInfo','_commentService','_handlerCallback','_onUserJoin','image/png','INGEST','unitInfo$','_sessions','SEND_CHANGESET_TIMEOUT','OTHER_CLIENT_EDITING','delete','_append','key','fetchMissingChangesets','getTypeOfUnitDisposed$','ws://127.0.0.1:8000/universer-api/comb/connect','name','_commentUpdate$','/universer-api/authz','FAIL','auth.needGotoLoginAlert','default','_transformUndoredo','incrementRevOfUnit','DEFAULT_FILE_NAME','csRejEvent','_onRemoteChangeset','readyForCollab','_tryEnsureSocket','_roomMembers','/rev/','UNIVER_DOC','_snapshotServerService','YUUMI_SUBSCRIPTION_NOT_FOUND','LICENSE_MAX_UNITS_EXCEEDED','lib','hasher','setCurrentUser','deleteCollaborator','NOT_FOUND','_imageSourceCache','_userManagerService','result','getTypeOfUnitAdded$','_memberService','_eventService','PY_RUNTIME_SCRIPT_ERROR','entries','snapshot','INTERNAL_ERROR','$super','addHandlerCallback','finalize','_onJoinRoomEvent','update','code','UNKNOWN_CODE','UNAUTHENTICATED','forEach','getFocusedUnit','editing\x20status\x20changed\x20to','_awaitingChangeset','_undoRedoService','_roomCreated$','status$','_prevBlock','_substituteUndoStack','_socketService','_onOffline','sin','?url=','HEARTBEAT_INTERVAL','_unitInfo$','CHANGESET_ACK','_updateLocalCache','_submitChangeset','/universer-api/snapshot/','userID','Latin1','send','updateCursorEvent','_emitMembers','clamp','dispose$','_injector','getResourcesRequest','_onConnectionOpen','every','Malformed\x20UTF-8\x20data','Encryptor','executeCommand','onLocalMutation','TOO_MANY_REQUESTS','CHANGESET_REJ','COMPLETION_FINISHED','getCurrentRevOfUnit','infoRsp','concat','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_collabSessionService','capture','post','reconnect','function','397620TrUxux','_queuedRemoteChangesets','sessionStatus$','getTime','isPermissionRej','_init','localeService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSendChangesetTimeout','NoPadding','COLLAB_SUBMIT_CHANGESET_URL','_reverseMap','_unlockTransition','getSheetId','/universer-api/oidc/authpage','_clearTimeoutTimer','hasOwnProperty','uploadFileServerUrl','_createInitialState','_nRounds','updatePermissionPoint','_revisionService','pending','getConfig','[PendingState]:\x20unhandled\x20univer\x20type:\x20','workbook','?size=','encodeURIComponent','getImageSourceCache','url','USERS_LEAVE','image/jpg','onStateChange','ERROR_EXCEED_SIZE','_syncEditingCollabCursor','__esModule','decryptBlock','onMissingChangesets','actions','_onFetchMissResult','pluginName','79286sMSxKf','LOGIN_URL_KEY','readAsDataURL','_applyRemoteChangeset','_change$','onlyLocal','ONLINE','reverse','collaboration-client.config','PSEUDO_FETCH_MISSING_RESULT','UNIVER_UNKNOWN','baseRev','params','sessionTicket','startTime','clear','objectID','next','entityInit$','_localeService','list','388002EHfesH','_clearRedo','/fetchmissing?from=','5537650pdYWdM','_socket','LIVESHARE_REQUEST_HOST','FETCH_MISSING','file','subUnitId','fromCharCode','_disableEditing','COLLAB_WEB_SOCKET_URL','/universer-api/uniscript','getValue','_collaborationUIEventService','LEAVE','_doFinalize','msCrypto','_resendTimer','offline','refreshPermission','onTransformIME','subject','_schedule','4qOelNv','_logService','univer-pro.collaboration-client-socket-service','format','getSnapshotAPIPath','/universer-api/stream/file/upload','max','_transformStateCache','toString','getOwnPropertyDescriptor','_getAPIPrefix','SUCCUSS','listCollaborators','onTransformSelections','collaboration-client.local-cache-service','RETRY_CONNECTING_MAX_COUNT','conflict','unit-cache-','_loadSheet','_type','/collaborator','HELLO','session.room-not-exists','_httpService','_minBufferSize','AUTHZ_URL_KEY','disposeWithMe','type','enc','compute','_candidateSocket','awaiting','_getSessionTicket','getCurrentUser','_map','onRemoteChangeset','abs','Error\x20on\x20receiving\x20event','_entityInit$','event$','duration','56804oylTTy','SUBMIT_CHANGESET','POST','_configService','collaborators','Base64','_removeRoom','pipe','createDecryptor','toggleOnline','clone','OFFLINE','/object','BASE64','SUBMIT_CHANGESET_TIMEOUT','getUnitType','isArray','toLowerCase','Undefined','onTransformState','deepClone','execute','reduce','interceptor','SHOULD_CLOSE_CONN','_changesetSessionId','updateMember','randomUUID','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','open$','src','floor','loadSheet','_clearCollaborationTimeoutTimer','csShouldRetryEvent','collabWebSocketUrl','_resendTimeout','liveShareNewHost','getSheetBlock','createEncryptor','reject','close','m2Prime','mode','fetch_missing','_startTelemetryCollaborationNewChangeset','random','avatar','_onLocalMutation','_sheetTransformSelectionsService','\x20-\x20','JOIN','UnitSnapshot','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_tryReconnect','_socketMessageSubscription','ERROR_IMAGE_TYPE','session.room-cnt-exceeds','_data','PERMISSION_REJ','_ENC_XFORM_MODE','_doCryptBlock','UNKNOWN_CMD','removeMember','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getCurrentRevision','_waitForHeartbeatResponse','SNAPSHOT_HAS_BEEN_REMOVED','/-/object/-/batch_allowed','APPLY_REJECT','_oKey','runId','rev','_joinRoom','INVALID_ARGUMENT','decrypt','equals','_hasher','encode','rng','getCurrentSelections','fetching\x20missing\x20changesets\x20from\x20','UPDATE_CURSOR','_onUserLeave','&to=','toggleOffline','session','_onConnectionFailed','appendMutation','encrypt','[OfflineState]:\x20received\x20acknowledgement.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','\x0aAfter:\x20','JOINING','_registerDependencies','session.room-permission-denied','Base','NEW_CHANGESETS','catch','UNDEFINED','onRemoteRetry','APPLY_REVISION_CONFILICT','HEARTBEAT','UNIVER_SLIDE','sigBytes','UNIVER_COLLABORATION_CLIENT_PLUGIN','_clearLocalCache','wsSessionTicketUrl','asObservable','sessionStatus','Utf8','image/bmp','/block/','_mode','_members$','People','_isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_URL_COL_OUT_OF_RANGE','MD5','_members','origin','_onRemoteRejected','_commandService','originalMeta','_status$','_parse','setShowComponents','SHA1','padding','[CollaborationSessionService]:\x20socket\x20error','reqId','_getLoginPath','byteOffset','COMMENT_UPDATE','patch','_transformIMECache','debug','then','MUTATION','LIVESHARE_FETCH_OPERATIONS','target','GLOBAL_ROOMS_CNT_EXCEEDS','cmd','OTHER_CLIENTS_EDITING','JOIN_ROOM_NOT_EXISTS','_createHmacHelper','bind','range','from','socketService','_createInitialStateImpl','requireSession','mutations','_onCombEvent','c1Prime','_sendingTimer','_clearHeartbeatTimer','_getUploadFileURL','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','unsubscribe','Hex','revision','PERMISSION_DENIED','_telemetryService','string','_waitCount','responseType','save\x20fail\x20reason\x20is\x20','COMPRESS_MUTATION_APPLY','_localCacheService','_acknowledgedAwaitingChangeset','charCodeAt','requestParams','UnitEmbedded','UPDATE_PERMISSION_OBJ','leaveEvent','now','JOIN_ROOM_FULL','_xformMode'];_0x1bc1=function(){return _0x44eff8;};return _0x1bc1();}ae=Re([A(0x6,_0x2bf137(_0x2726ca)),A(0x7,_0x2bf137(_0x1f6e04)),A(0x8,_0x485ee3),A(0x9,_0x1338e8),A(0xa,_0x1f7611),A(0xb,_0x4995f7),A(0xc,_0x740129(J))],ae);let de=class extends be{constructor(_0x47d6ed,_0xad0e16,_0x5290da,_0x533af1,_0x41702e,_0x4b9e0d=!0x1,_0x479958,_0x64b6c9,_0x332daf,_0x200a2d,_0x227e29,_0x4379dc,_0x2147fb){var _0x1e515f=_0x42a875;super(_0x47d6ed,_0xad0e16,_0x5290da,_0x533af1,_0x41702e,_0x64b6c9,_0x332daf,_0x200a2d,_0x2147fb),N(this,_0x1e515f(0xd8),_0x1e515f(0x213)),(this['_isPermissionRej']=_0x4b9e0d,this[_0x1e515f(0x367)]=_0x479958,this[_0x1e515f(0x1e9)]=_0x227e29,this[_0x1e515f(0x1f9)]=_0x4379dc,this[_0x1e515f(0x13f)]=_0x2147fb,this[_0x1e515f(0x355)](),this[_0x1e515f(0x296)](),this[_0x1e515f(0x1f5)]());}[_0x42a875(0x284)](){return this;}[_0x42a875(0x226)](){return this;}[_0x42a875(0x327)](){return this;}[_0x42a875(0x2ef)](){return this;}[_0x42a875(0x290)](){return this;}[_0x42a875(0x281)](){return this;}[_0x42a875(0x235)](){return this;}[_0x42a875(0x323)](){var _0x342b51=_0x42a875;throw new Error(_0x342b51(0x1a7));}[_0x42a875(0x296)](){var _0x5a3f30=_0x42a875,_0x4b66d7;(_0x4b66d7=this['_localCacheService'])==null||_0x4b66d7[_0x5a3f30(0xff)](this[_0x5a3f30(0x372)],this[_0x5a3f30(0x21e)],null,[]);}[_0x42a875(0x355)](){var _0x5ef5e0=_0x42a875;this[_0x5ef5e0(0x2a0)]?this[_0x5ef5e0(0x1f9)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x5ef5e0(0x1f9)]['emitEvent']({'id':se['CONFLICT']});}[_0x42a875(0x1f5)](){var _0x27fcb4=_0x42a875;this['_permissionService'][_0x27fcb4(0x1c1)](new _0x4da1be(this[_0x27fcb4(0x372)])['id'],!0x1);}};de=Re([A(0x6,_0x2bf137(_0x39eb8e)),A(0x7,_0x485ee3),A(0x8,_0x4995f7),A(0x9,_0x2bf137(_0x1f6e04)),A(0xa,_0x2bf137(_0x5870e6)),A(0xb,_0x2bf137(pe)),A(0xc,_0x740129(J))],de);let fe=class extends be{constructor(_0x4ac15f,_0x44f22d,_0xbc2c11,_0x294a5a,_0x58d947,_0x5be64b,_0x1437bb,_0x541443,_0x6198a8,_0x4464b1){var _0x1b7a99=_0x42a875;super(_0x4ac15f,_0x44f22d,_0xbc2c11,_0x294a5a,_0x58d947,_0x541443,_0x6198a8,_0x1437bb,_0x4464b1),N(this,_0x1b7a99(0xd8),'offline'),this[_0x1b7a99(0x199)]=_0x5be64b;}[_0x42a875(0x284)](_0x390915){var _0x570471=_0x42a875;return this[_0x570471(0x2ee)][_0x570471(0x357)](_0x390915),this['_updateLocalCache'](),this;}[_0x42a875(0x226)](_0x5cd471){var _0x4889af=_0x42a875;throw new Error(_0x4889af(0x377));}[_0x42a875(0x327)](){var _0x41bfe7=_0x42a875;throw new Error(_0x41bfe7(0x286));}[_0x42a875(0x2ef)](){var _0x4cacb2=_0x42a875;throw new Error(_0x4cacb2(0x310));}[_0x42a875(0x290)](){return this;}[_0x42a875(0x281)](){return this;}['toggleOnline'](){var _0x10b8d6=_0x42a875;const {_injector:_0x4e7223,_pendingMutations:_0x26af53,_awaitingChangeset:_0x436844,unitID:_0x765053,_handler:_0x40cb04,type:_0x1e2982}=this,_0x368d55=Di(_0x4e7223,_0x765053,_0x1e2982,_0x436844,_0x26af53,_0x40cb04);return _0x368d55 instanceof oe?_0x368d55[_0x10b8d6(0x202)]():(_0x368d55 instanceof ae||_0x368d55 instanceof ue)&&_0x368d55[_0x10b8d6(0x323)](),_0x368d55;}[_0x42a875(0x323)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x2bf137(_0x2726ca)),A(0x6,_0x2bf137(_0x1f6e04)),A(0x7,_0x485ee3),A(0x8,_0x4995f7),A(0x9,_0x740129(J))],fe);let te=class extends be{constructor(_0x514be1,_0x49e7de,_0x4fa62b,_0x533382,_0x4a312d,_0x52beaa,_0xe7f63b,_0x5d8d3e,_0x571816,_0x264cb2,_0x1a12d7,_0x1fe09f,_0x4ba383,_0xd99c1f){var _0x2c09df=_0x42a875;super(_0x514be1,_0x49e7de,_0x4fa62b,_0x533382,_0xe7f63b,_0x1a12d7,_0x1fe09f,_0x571816,_0xd99c1f),N(this,_0x2c09df(0xd8),_0x2c09df(0x258)),(this[_0x2c09df(0x2d7)]=_0x4a312d,this[_0x2c09df(0x1ae)]=_0x52beaa,this['_injector']=_0x5d8d3e,this[_0x2c09df(0x204)]=_0x264cb2,this['_transformService']=_0x4ba383,this[_0x2c09df(0x13f)]=_0xd99c1f);}[_0x42a875(0xf7)](_0x21701d){var _0x3ae2c=_0x42a875;try{const _0x38b2e8=[..._0x21701d,...this['_queuedRemoteChangesets']],_0x304b6f=[this[_0x3ae2c(0x182)]||this[_0x3ae2c(0x2d7)]]['filter'](_0x29933d=>!!_0x29933d);let _0x197002,_0x162bc0;if(_0x304b6f['length']){const _0x71dc3c=this['_transformService'][_0x3ae2c(0xe8)](_0x38b2e8,_0x304b6f,!0x1);if(!_0x2fd741(_0x71dc3c))throw _0x71dc3c['error'];_0x197002=_0x71dc3c['c1Prime'],_0x162bc0=_0x71dc3c['c2Prime'];}else _0x197002=_0x38b2e8,_0x162bc0=[];let _0x1232d7=this[_0x3ae2c(0x2ee)];_0x197002[_0x3ae2c(0x17f)](_0xa6098b=>{var _0x93e47=_0x3ae2c;let _0x32eb1c;if(_0x1232d7[_0x93e47(0xd2)]){const _0xb8b797=this[_0x93e47(0x365)][_0x93e47(0x135)](_0xa6098b,_0x1232d7);if(!_0x1a28bf(_0xb8b797))throw _0xb8b797[_0x93e47(0x38f)];_0x32eb1c=_0xb8b797[_0x93e47(0x2c7)],_0x1232d7=_0xb8b797[_0x93e47(0x256)];}else _0x32eb1c=_0xa6098b;this[_0x93e47(0x2fd)](_0x32eb1c);}),this[_0x3ae2c(0x2d7)]&&this[_0x3ae2c(0xbe)](),this[_0x3ae2c(0x182)]&&_0x162bc0[_0x3ae2c(0xd2)]&&(_0x162bc0[0x0][_0x3ae2c(0x1e1)]=this['_getCurrentRevision']());let _0xc4c88;if(this[_0x3ae2c(0x182)]&&_0x1232d7[_0x3ae2c(0xd2)]!==0x0)_0xc4c88=this[_0x3ae2c(0x199)][_0x3ae2c(0xbb)](ae,this['unitID'],this[_0x3ae2c(0x21e)],_0x162bc0[0x0],_0x1232d7,this[_0x3ae2c(0x319)],void 0x0);else{if(this[_0x3ae2c(0x182)]&&_0x1232d7[_0x3ae2c(0xd2)]===0x0)_0x162bc0[0x0][_0x3ae2c(0x1e1)]=this[_0x3ae2c(0x26d)](),_0xc4c88=this[_0x3ae2c(0x199)][_0x3ae2c(0xbb)](ue,this['unitID'],this[_0x3ae2c(0x21e)],_0x162bc0[0x0],this[_0x3ae2c(0x319)]);else{if(_0x1232d7[_0x3ae2c(0xd2)]!==0x0){const _0x2f9c6f=this['_injector'][_0x3ae2c(0xbb)](oe,this[_0x3ae2c(0x372)],this['type'],_0x1232d7,this[_0x3ae2c(0x319)]);_0x2f9c6f['_schedule'](),_0xc4c88=_0x2f9c6f;}else _0xc4c88=this[_0x3ae2c(0x199)][_0x3ae2c(0xbb)](De,this[_0x3ae2c(0x372)],this['type'],this[_0x3ae2c(0x319)]);}}return _0xc4c88[_0x3ae2c(0x18f)](),_0xc4c88;}catch(_0x588f5c){return this['_logService']['error'](_0x3ae2c(0xc6),'failed\x20to\x20apply\x20missed\x20changesets!',_0x588f5c),this['_injector'][_0x3ae2c(0xbb)](de,this[_0x3ae2c(0x372)],this[_0x3ae2c(0x21e)],this[_0x3ae2c(0x182)],this[_0x3ae2c(0x2ee)],this[_0x3ae2c(0x319)],!0x1);}}[_0x42a875(0x323)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x42a875(0x284)](_0x29d074){var _0x5ac169=_0x42a875;return this[_0x5ac169(0x2ee)][_0x5ac169(0x357)](_0x29d074),this;}['onRemoteChangeset'](_0x2fd7b9){var _0x17578e=_0x42a875;return this[_0x17578e(0x1ae)][_0x17578e(0x357)](_0x2fd7b9),this;}[_0x42a875(0x327)](_0x33eb88){var _0x48a9b1=_0x42a875;if(this[_0x48a9b1(0x182)])return this[_0x48a9b1(0x2d7)]=this[_0x48a9b1(0x182)],this[_0x48a9b1(0x182)]=null,this;throw new Error(_0x48a9b1(0x359));}[_0x42a875(0x2ef)](_0xf2ecd6){var _0x1200ff=_0x42a875;return this[_0x1200ff(0x2f7)](!!(_0xf2ecd6!=null&&_0xf2ecd6[_0x1200ff(0x1b1)]));}[_0x42a875(0x290)](){return this;}[_0x42a875(0x281)](){var _0x23d70b=_0x42a875;return this['_injector']['createInstance'](fe,this['unitID'],this[_0x23d70b(0x21e)],this[_0x23d70b(0x182)],this[_0x23d70b(0x2ee)],this[_0x23d70b(0x319)]);}['toggleOnline'](){return this;}['_onConflict'](_0x25dc09){var _0x244899=_0x42a875;return this[_0x244899(0x199)][_0x244899(0xbb)](de,this['unitID'],this['type'],this[_0x244899(0x182)],this[_0x244899(0x2ee)],this[_0x244899(0x319)],_0x25dc09);}};te=Re([A(0x7,_0x2bf137(_0x2726ca)),A(0x8,_0x2bf137(_0x1f6e04)),A(0x9,_0x1338e8),A(0xa,_0x485ee3),A(0xb,_0x4995f7),A(0xc,_0x1f7611),A(0xd,_0x740129(J))],te);function Di(_0x1c8094,_0x38bbcd,_0x21d66d,_0x123416,_0x1fe5c1,_0x42b2c9){var _0x1cb75c=_0x42a875;return _0x123416&&_0x1fe5c1[_0x1cb75c(0xd2)]?_0x1c8094[_0x1cb75c(0xbb)](ae,_0x38bbcd,_0x21d66d,_0x123416,_0x1fe5c1,_0x42b2c9,void 0x0):_0x123416?_0x1c8094[_0x1cb75c(0xbb)](ue,_0x38bbcd,_0x21d66d,_0x123416,_0x42b2c9):_0x1fe5c1[_0x1cb75c(0xd2)]?_0x1c8094[_0x1cb75c(0xbb)](oe,_0x38bbcd,_0x21d66d,_0x1fe5c1,_0x42b2c9):_0x1c8094[_0x1cb75c(0xbb)](De,_0x38bbcd,_0x21d66d,_0x42b2c9);}var vr=Object[_0x42a875(0x143)],pr=Object[_0x42a875(0x20c)],Lt=(_0x46863f,_0x4df21c,_0x4f9474,_0x7b30dd)=>{var _0x2ff95d=_0x42a875;for(var _0x5d047b=_0x7b30dd>0x1?void 0x0:_0x7b30dd?pr(_0x4df21c,_0x4f9474):_0x4df21c,_0x4d8194=_0x46863f[_0x2ff95d(0xd2)]-0x1,_0x4e63f0;_0x4d8194>=0x0;_0x4d8194--)(_0x4e63f0=_0x46863f[_0x4d8194])&&(_0x5d047b=(_0x7b30dd?_0x4e63f0(_0x4df21c,_0x4f9474,_0x5d047b):_0x4e63f0(_0x5d047b))||_0x5d047b);return _0x7b30dd&&_0x5d047b&&vr(_0x4df21c,_0x4f9474,_0x5d047b),_0x5d047b;},k=(_0x1e63e8,_0x23f32e)=>(_0x5f4aa8,_0x2eaf75)=>_0x23f32e(_0x5f4aa8,_0x2eaf75,_0x1e63e8);let nt=class extends _0x21fc08{constructor(_0x48d6e2,_0x413feb,_0x5e1fba,_0x2065cb,_0x6bb632,_0xfa0b95,_0x10bb98,_0x521e6a,_0x35b9b1,_0x254476,_0x3e861b,_0x5af236,_0x307864){var _0x528648=_0x42a875;super(),N(this,_0x528648(0x39d),new _0x3142ca(null)),N(this,_0x528648(0xb7),this['_state$'][_0x528648(0x298)]()),N(this,'_state'),N(this,_0x528648(0x104),!0x1),N(this,'_changesetSessionId',''),N(this,'_changesetReqId',0x0),N(this,_0x528648(0x185),this['state$'][_0x528648(0x233)](_0x3aa897(_0x10d53f=>_0x10d53f?_0x10d53f['status']:yi['OFFLINE']),_0xc761ec(0x1))),N(this,_0x528648(0x2ff),!0x1),N(this,_0x528648(0x39f),[]),(this[_0x528648(0x372)]=_0x48d6e2,this[_0x528648(0x282)]=_0x413feb,this[_0x528648(0x216)]=_0x5e1fba,this[_0x528648(0x199)]=_0x2065cb,this[_0x528648(0x386)]=_0x6bb632,this[_0x528648(0x1e9)]=_0xfa0b95,this[_0x528648(0x1c2)]=_0x10bb98,this[_0x528648(0x172)]=_0x521e6a,this[_0x528648(0x204)]=_0x35b9b1,this[_0x528648(0x2a7)]=_0x254476,this[_0x528648(0x367)]=_0x3e861b,this['_singleActiveUnitService']=_0x5af236,this['_localCacheService']=_0x307864);}get['state'](){var _0x2ce73c=_0x42a875;return this[_0x2ce73c(0x345)];}async[_0x42a875(0x369)](){var _0x8595e3=_0x42a875;if(this[_0x8595e3(0x337)])throw new Error(_0x8595e3(0x37b));await this['_init']();}['pauseCollaboration'](){var _0x21afd8=_0x42a875;return this[_0x21afd8(0x104)]=!0x0,_0x46f890(()=>{var _0x3e1915=_0x21afd8;this[_0x3e1915(0x104)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x42a875(0x1a0)](_0x320089){var _0x57e8b0=_0x42a875;this[_0x57e8b0(0x25c)](_0x320089);}[_0x42a875(0xf8)](_0x209c61){var _0x493690=_0x42a875;this[_0x493690(0x345)]=_0x209c61,this['_state$'][_0x493690(0x1e7)](_0x209c61);}async['_init'](){var _0x5f2010=_0x42a875,_0x532719;this[_0x5f2010(0xf8)](await this[_0x5f2010(0x1bf)]()),this[_0x5f2010(0x2ea)]&&((_0x532719=this['_singleActiveUnitService'])==null||_0x532719['editingUnit'](this[_0x5f2010(0x372)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x5f2010(0x372)])[_0x5f2010(0x2ec)](_0x5db0bf=>{var _0x34715d=_0x5f2010;this[_0x34715d(0x204)][_0x34715d(0x2b5)](_0x34715d(0x2e4),_0x34715d(0x181),_0x5db0bf),_0x5db0bf===bi[_0x34715d(0x2bc)]?(this[_0x34715d(0x172)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x34715d(0x367)][_0x34715d(0x1c1)](new _0x4da1be(this[_0x34715d(0x372)])['id'],!0x1),this[_0x34715d(0x367)][_0x34715d(0x2ab)](!0x1)):(this['_permissionService'][_0x34715d(0x1c1)](new _0x4da1be(this['unitID'])['id'],!0x0),this[_0x34715d(0x367)][_0x34715d(0x2ab)](!0x0));})));let _0x304e4d=!0x1;return this['disposeWithMe'](this[_0x5f2010(0x282)][_0x5f2010(0x1af)][_0x5f2010(0x2ec)](_0x51eb4a=>{var _0x59901c=_0x5f2010;_0x51eb4a===Te[_0x59901c(0x1dc)]?this[_0x59901c(0x137)](_0x304e4d):_0x51eb4a===Te[_0x59901c(0x237)]&&(_0x304e4d=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this['session'][_0x5f2010(0x22a)][_0x5f2010(0x2ec)](_0x1bd849=>{var _0x536939=_0x5f2010;try{switch(_0x1bd849['eventID']){case _0x55f6d8[_0x536939(0x28d)]:{this[_0x536939(0x15f)](_0x182923(_0x1bd849[_0x536939(0xd4)]));break;}case _0x55f6d8[_0x536939(0x18e)]:{this[_0x536939(0x132)](_0x1bd849[_0x536939(0xd4)]);break;}case _0x55f6d8[_0x536939(0x1a2)]:{this[_0x536939(0x2a6)]();break;}case _0x55f6d8[_0x536939(0xb6)]:{this[_0x536939(0x30e)](_0x1bd849[_0x536939(0xd4)]);break;}case _0x55f6d8[_0x536939(0x1df)]:{this[_0x536939(0x1d4)](_0x1bd849[_0x536939(0xd4)][_0x536939(0x111)][_0x536939(0x394)](_0x24b241=>_0x182923(_0x24b241)));break;}case _0x55f6d8[_0x536939(0x267)]:{this[_0x536939(0x2a6)]({'isPermissionRej':!0x0});break;}case _0x55f6d8[_0x536939(0x35b)]:break;}}catch(_0x4ac608){throw console[_0x536939(0x38f)](_0x536939(0x228),_0x4ac608),_0x4ac608;}})),this[_0x5f2010(0x345)];}[_0x42a875(0x1b9)](){var _0x1d4102=_0x42a875;this[_0x1d4102(0x2ff)]=!0x1;}[_0x42a875(0x35f)](){var _0x2ebcbe=_0x42a875;if(this[_0x2ebcbe(0x2ff)])throw new Error('[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.');this['_transitionLocked']=!0x0;}[_0x42a875(0x25c)](_0x11d946){var _0x49d69d=_0x42a875;this['_lockTransition'](),this[_0x49d69d(0xf8)](this[_0x49d69d(0x345)][_0x49d69d(0x284)](_0x11d946)),this['_unlockTransition']();}[_0x42a875(0x15f)](_0x5eb2e4){var _0x8fc2c6=_0x42a875;if(!(_0x5eb2e4['revision']<=this[_0x8fc2c6(0x1c2)]['getCurrentRevOfUnit'](this[_0x8fc2c6(0x372)]))){if(this[_0x8fc2c6(0x104)]){this[_0x8fc2c6(0x39f)]['push'](_0x5eb2e4);return;}this[_0x8fc2c6(0x1d9)](_0x5eb2e4);}}[_0x42a875(0x122)](){var _0x1e30b5=_0x42a875;this[_0x1e30b5(0x39f)][_0x1e30b5(0x17f)](_0x2a920a=>this[_0x1e30b5(0x1d9)](_0x2a920a)),this[_0x1e30b5(0x39f)]=[];}[_0x42a875(0x1d9)](_0x590897){var _0x3523dd=_0x42a875;const _0x5c1c14=this['_compressMutationService'][_0x3523dd(0x243)][_0x3523dd(0x30b)](this[_0x3523dd(0x386)][_0x3523dd(0x243)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x590897[_0x3523dd(0x2c5)],null)||_0x590897[_0x3523dd(0x2c5)],_0x302a2c={..._0x590897,'mutations':_0x5c1c14};this[_0x3523dd(0x35f)](),this[_0x3523dd(0xf8)](this[_0x3523dd(0x345)][_0x3523dd(0x226)](_0x302a2c)),this[_0x3523dd(0x1b9)]();}[_0x42a875(0x132)](_0x5bbf67){var _0x5bfb75=_0x42a875;this['_lockTransition'](),this[_0x5bfb75(0xf8)](this[_0x5bfb75(0x345)][_0x5bfb75(0x327)](_0x5bbf67)),this['_unlockTransition']();}[_0x42a875(0x2a6)](_0x1d1080){var _0x4bd6c8=_0x42a875;this['_lockTransition'](),this['_updateState'](this[_0x4bd6c8(0x345)][_0x4bd6c8(0x2ef)](_0x1d1080)),this[_0x4bd6c8(0x1b9)]();}[_0x42a875(0x30e)](_0x293005){var _0x3d156c=_0x42a875;this[_0x3d156c(0x35f)](),this[_0x3d156c(0xf8)](this[_0x3d156c(0x345)]['onRemoteRetry'](_0x293005)),this['_unlockTransition']();}[_0x42a875(0x1d4)](_0x4e8fd0){var _0x42ef68=_0x42a875;if(!(this[_0x42ef68(0x345)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x3ff41e=_0x4e8fd0[_0x42ef68(0x394)](_0x52234e=>{var _0x182d63=_0x42ef68;const _0x680f5f=this[_0x182d63(0x386)]['interceptor']['fetchThroughInterceptors'](this[_0x182d63(0x386)]['interceptor'][_0x182d63(0x324)]()[_0x182d63(0x2d5)])(_0x52234e[_0x182d63(0x2c5)],null)||_0x52234e['mutations'];return{..._0x52234e,'mutations':_0x680f5f};});this[_0x42ef68(0x35f)](),this[_0x42ef68(0xf8)](this[_0x42ef68(0x345)][_0x42ef68(0xf7)](_0x3ff41e)),this[_0x42ef68(0x1b9)]();}[_0x42a875(0x38e)](){var _0x7d6e64=_0x42a875;this[_0x7d6e64(0x35f)](),this[_0x7d6e64(0xf8)](this[_0x7d6e64(0x345)][_0x7d6e64(0x281)]()),this[_0x7d6e64(0x1b9)]();}['_toggleOnline'](_0x1203ad=!0x1){var _0x30464c=_0x42a875;this[_0x30464c(0x35f)](),this[_0x30464c(0xf8)](this[_0x30464c(0x345)][_0x30464c(0x235)]()),this[_0x30464c(0x1b9)]();const _0x1e0b71=this[_0x30464c(0x345)];_0x1203ad&&_0x1e0b71 instanceof De&&(this[_0x30464c(0x35f)](),this['_updateState'](_0x1e0b71[_0x30464c(0x395)]()),this[_0x30464c(0x1b9)]());}async[_0x42a875(0x1bf)](){return new Promise(_0x166314=>{var _0xcfde9d=_0x5999;this[_0xcfde9d(0x282)][_0xcfde9d(0x1af)]['pipe'](_0x4d9080(0x1))['subscribe'](async _0x34f8b1=>{var _0x2ef818=_0xcfde9d;_0x166314(await this[_0x2ef818(0x2c3)](_0x34f8b1===Te['ONLINE']));});});}['_createHandler'](){var _0x4a11dc=_0x42a875;const _0x17b95d=this[_0x4a11dc(0x372)];return{'onStateChange':(_0x519275,_0x5012b2)=>{var _0x12620e=_0x4a11dc;if(_0x519275!==this[_0x12620e(0x345)])throw new Error(_0x12620e(0x2cb)+_0x519275[_0x12620e(0xd8)]+_0x12620e(0x288)+_0x5012b2[_0x12620e(0xd8)]+_0x12620e(0xa8)+this[_0x12620e(0x345)][_0x12620e(0xd8)]);this['_updateState'](_0x5012b2);},'onSendChangeset':_0x3c3a9e=>{var _0x378dc2=_0x4a11dc;_0x3c3a9e[_0x378dc2(0xc3)]||(_0x3c3a9e[_0x378dc2(0xc3)]=this[_0x378dc2(0x245)],_0x3c3a9e[_0x378dc2(0x2af)]=++this[_0x378dc2(0x12a)]);const _0x3005ca={'eventID':_0x55f6d8['SUBMIT_CHANGESET'],'data':{'unitID':_0x3c3a9e[_0x378dc2(0x372)],'unitType':this[_0x378dc2(0x216)],'changeset':_0x3c3a9e,'memberID':this['session'][_0x378dc2(0x362)]()}};this[_0x378dc2(0x282)][_0x378dc2(0x194)](_0x3005ca,this['unitID']);},'onMissingChangesets':({from:_0x35bf98,to:_0x399f49})=>{var _0x2bb1e2=_0x4a11dc;this[_0x2bb1e2(0x204)][_0x2bb1e2(0x2b5)]('[CollaborationEntity]',_0x2bb1e2(0x27d)+_0x35bf98+_0x2bb1e2(0x118)+_0x399f49);const _0x5c42ca={'eventID':_0x55f6d8[_0x2bb1e2(0x1f1)],'data':{'unitID':_0x17b95d,'unitType':this[_0x2bb1e2(0x216)],'from':_0x35bf98,'to':_0x399f49}};this['session']['send'](_0x5c42ca,this[_0x2bb1e2(0x372)]);}};}async[_0x42a875(0x2c3)](_0x3de3d0){var _0x543c3f=_0x42a875,_0x478d6b,_0xeb3dd1,_0x5f32b8;const _0x8da332=await((_0x478d6b=this['_localCacheService'])==null?void 0x0:_0x478d6b[_0x543c3f(0x11c)](this['unitID'])),_0x470b28=(_0xeb3dd1=_0x8da332==null?void 0x0:_0x8da332[_0x543c3f(0x2c5)])!=null?_0xeb3dd1:[],_0x270702=(_0x5f32b8=_0x8da332==null?void 0x0:_0x8da332[_0x543c3f(0x353)])!=null?_0x5f32b8:null,_0x483d16=!!(_0x270702!=null&&_0x270702[_0x543c3f(0xc3)])&&!!(_0x270702!=null&&_0x270702['reqId']);this[_0x543c3f(0x245)]=_0x483d16?_0x270702[_0x543c3f(0xc3)]:sr(),this['_changesetReqId']=_0x483d16?_0x270702['reqId']:0x0;const _0x30a908=this[_0x543c3f(0x372)];try{this['_replayCachedMutations'](_0x270702,_0x470b28);}catch(_0x18dd9a){this[_0x543c3f(0x204)]['error'](_0x18dd9a);}const _0x24ab55=this[_0x543c3f(0x347)]();if(_0x3de3d0){const _0x12bc15=Di(this[_0x543c3f(0x199)],_0x30a908,this[_0x543c3f(0x216)],_0x270702,_0x470b28,_0x24ab55);return _0x12bc15 instanceof oe?_0x12bc15[_0x543c3f(0x202)]():(_0x12bc15 instanceof ae||_0x12bc15 instanceof ue)&&_0x12bc15['resend'](),_0x12bc15;}return this[_0x543c3f(0x199)]['createInstance'](fe,_0x30a908,this[_0x543c3f(0x216)],_0x270702,_0x470b28,_0x24ab55);}['_replayCachedMutations'](_0x134de3,_0x128aa1){var _0x4f781c=_0x42a875,_0x45b410,_0x594f58;const _0x422b39=this[_0x4f781c(0x386)]['interceptor'][_0x4f781c(0x30b)](this[_0x4f781c(0x386)][_0x4f781c(0x243)][_0x4f781c(0x324)]()[_0x4f781c(0x2d5)]);(_0x45b410=_0x422b39((_0x134de3==null?void 0x0:_0x134de3[_0x4f781c(0x2c5)])||[],null))==null||_0x45b410[_0x4f781c(0x17f)](_0x35e2fe=>this[_0x4f781c(0x2a7)][_0x4f781c(0x19f)](_0x35e2fe['id'],_0x35e2fe[_0x4f781c(0x1e2)])),(_0x594f58=_0x422b39(_0x128aa1||[],null))==null||_0x594f58[_0x4f781c(0x17f)](_0x49fd7b=>this['_commandService'][_0x4f781c(0x19f)](_0x49fd7b['id'],_0x49fd7b[_0x4f781c(0x1e2)]));}};nt=Lt([k(0x3,_0x2bf137(_0x2726ca)),k(0x4,_0x2bf137(_0x2ac8ce)),k(0x5,_0x2bf137(_0x5870e6)),k(0x6,_0x2bf137(_0x1f6e04)),k(0x7,_0x2bf137(pe)),k(0x8,_0x1338e8),k(0x9,_0x485ee3),k(0xa,_0x39eb8e),k(0xb,_0x740129(ht)),k(0xc,_0x740129(J))],nt);let Tt=class extends nt{constructor(_0x27f340,_0x266ebf,_0x796939,_0xe14907,_0x433c33,_0x5552ca,_0x131d77,_0x416408,_0xa3cc64,_0x1c810d,_0x3c4fd4,_0x1b6792,_0x103603){var _0xe91148=_0x42a875;super(_0x27f340,_0x796939,_0x266ebf,_0xe14907,_0x433c33,_0x5552ca,_0x131d77,_0x416408,_0xa3cc64,_0x1c810d,_0x3c4fd4,_0x1b6792,_0x103603),N(this,_0xe91148(0x147),null),(this['unitID']=_0x27f340,this['type']=_0x266ebf);}[_0x42a875(0x178)](_0x16fcd8){var _0x350726=_0x42a875;this[_0x350726(0x147)]=_0x16fcd8;}[_0x42a875(0x13a)](){var _0x3771dc=_0x42a875;this[_0x3771dc(0x147)]=null,super['dispose']();}['_createHandler'](){var _0x56b708=_0x42a875;const _0x16d9dd=super['_createHandler']();return _0x16d9dd[_0x56b708(0x200)]=_0x1fcc25=>{var _0x5883b4=_0x56b708,_0x5b53b9,_0x3c0069;return(_0x3c0069=(_0x5b53b9=this[_0x5883b4(0x147)])==null?void 0x0:_0x5b53b9[_0x5883b4(0x200)])==null?void 0x0:_0x3c0069[_0x5883b4(0xf2)](_0x5b53b9,_0x1fcc25);},_0x16d9dd[_0x56b708(0x23f)]=_0xf6588f=>{var _0xc4d7d8=_0x56b708,_0x43a007,_0x15dbe2;return(_0x15dbe2=(_0x43a007=this[_0xc4d7d8(0x147)])==null?void 0x0:_0x43a007[_0xc4d7d8(0x23f)])==null?void 0x0:_0x15dbe2[_0xc4d7d8(0xf2)](_0x43a007,_0xf6588f);},_0x16d9dd['onTransformSelections']=_0x3be286=>{var _0x52c6ca=_0x56b708,_0x5cda3f,_0x1591ac;return(_0x1591ac=(_0x5cda3f=this[_0x52c6ca(0x147)])==null?void 0x0:_0x5cda3f[_0x52c6ca(0x210)])==null?void 0x0:_0x1591ac[_0x52c6ca(0xf2)](_0x5cda3f,_0x3be286);},_0x16d9dd[_0x56b708(0x2f3)]=_0x279e86=>{var _0x36b6db=_0x56b708,_0x5e6c70,_0x39d288;return(_0x39d288=(_0x5e6c70=this['_handlerCallback'])==null?void 0x0:_0x5e6c70[_0x36b6db(0x2f3)])==null?void 0x0:_0x39d288[_0x36b6db(0xf2)](_0x5e6c70,_0x279e86);},_0x16d9dd[_0x56b708(0x376)]=_0x20681c=>{var _0x3b6e66=_0x56b708,_0x56e8ad,_0xfac28a,_0x308bcc;if(!((_0x56e8ad=this[_0x3b6e66(0x147)])!=null&&_0x56e8ad[_0x3b6e66(0x376)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x308bcc=(_0xfac28a=this[_0x3b6e66(0x147)])==null?void 0x0:_0xfac28a['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x308bcc[_0x3b6e66(0xf2)](_0xfac28a,_0x20681c);},_0x16d9dd[_0x56b708(0xb0)]=_0x2071c0=>{var _0x353c0d=_0x56b708,_0x30efca,_0x551028,_0x16a4ed;if(!((_0x30efca=this[_0x353c0d(0x147)])!=null&&_0x30efca[_0x353c0d(0xb0)]))throw new Error(_0x353c0d(0x26c));return(_0x16a4ed=(_0x551028=this[_0x353c0d(0x147)])==null?void 0x0:_0x551028[_0x353c0d(0xb0)])==null?void 0x0:_0x16a4ed[_0x353c0d(0xf2)](_0x551028,_0x2071c0);},_0x16d9dd;}async[_0x42a875(0x1b2)](){var _0x1789c7=_0x42a875;const _0x516567=await super[_0x1789c7(0x1b2)]();return this[_0x1789c7(0x21d)](this[_0x1789c7(0x2a7)][_0x1789c7(0x2fb)]((_0x27a6d8,_0x2db635)=>{var _0x62a490=_0x1789c7;if(_0x27a6d8[_0x62a490(0x21e)]!==_0x58e2b9[_0x62a490(0x2b7)]||_0x2db635!=null&&_0x2db635[_0x62a490(0xb2)]||_0x2db635!=null&&_0x2db635['onlyLocal']||_0x27a6d8['id']===_0x3946dc['id'])return;const _0x52d5c1=_0x27a6d8[_0x62a490(0x1e2)];if((_0x52d5c1==null?void 0x0:_0x52d5c1[_0x62a490(0xde)])!==this[_0x62a490(0x372)])return;const _0x13d988=_0x27a6d8,_0x424e42=this[_0x62a490(0x386)]['interceptor'][_0x62a490(0x30b)](this[_0x62a490(0x386)][_0x62a490(0x243)]['getInterceptPoints']()[_0x62a490(0x125)])([_0x13d988],null)||[_0x13d988];this[_0x62a490(0x25c)](_0x424e42[0x0]);})),_0x516567;}};Tt=Lt([k(0x3,_0x2bf137(_0x2726ca)),k(0x4,_0x2bf137(_0x2ac8ce)),k(0x5,_0x2bf137(_0x5870e6)),k(0x6,_0x2bf137(_0x1f6e04)),k(0x7,_0x2bf137(pe)),k(0x8,_0x1338e8),k(0x9,_0x485ee3),k(0xa,_0x39eb8e),k(0xb,_0x740129(ht)),k(0xc,_0x740129(J))],Tt);let Ct=class extends nt{constructor(_0x25f51b,_0x59622d,_0x399b0d,_0x4a7b94,_0xc174c1,_0x369665,_0x36f8fc,_0xad072d,_0x4a261d,_0x1ecd5d,_0xf683ad,_0x20cc3c,_0x2dd3d7,_0x11b747){var _0x35b508=_0x42a875;super(_0x25f51b,_0x399b0d,_0x59622d,_0x4a7b94,_0xc174c1,_0x369665,_0x36f8fc,_0x4a261d,_0x1ecd5d,_0xf683ad,_0x20cc3c,_0x2dd3d7,_0x11b747),this[_0x35b508(0x372)]=_0x25f51b,this[_0x35b508(0x21e)]=_0x59622d,this[_0x35b508(0x25d)]=_0xad072d;}[_0x42a875(0x347)](){var _0x46af98=_0x42a875;const _0x4a9560=super[_0x46af98(0x347)]();return _0x4a9560['onTransformSelections']=_0x4563b9=>this[_0x46af98(0x25d)][_0x46af98(0x102)](_0x4563b9),_0x4a9560;}async[_0x42a875(0x1b2)](){var _0x49f625=_0x42a875;const _0x4dd9e7=await super[_0x49f625(0x1b2)]();return this[_0x49f625(0x21d)](this['_commandService'][_0x49f625(0x2fb)]((_0x4a0c14,_0x40898a)=>{var _0x2782ec=_0x49f625;if(_0x4a0c14['type']!==_0x58e2b9[_0x2782ec(0x2b7)]||_0x40898a!=null&&_0x40898a[_0x2782ec(0xb2)]||_0x40898a!=null&&_0x40898a[_0x2782ec(0x1db)])return;const _0x3766e0=_0x4a0c14[_0x2782ec(0x1e2)];if((_0x3766e0==null?void 0x0:_0x3766e0[_0x2782ec(0xde)])!==this[_0x2782ec(0x372)])return;const _0x2ea8b8=_0x4a0c14,_0x5816d5=this[_0x2782ec(0x386)][_0x2782ec(0x243)][_0x2782ec(0x30b)](this[_0x2782ec(0x386)][_0x2782ec(0x243)][_0x2782ec(0x324)]()[_0x2782ec(0x125)])([_0x2ea8b8],null)||[_0x2ea8b8];this['_onLocalMutation'](_0x5816d5[0x0]);})),_0x4dd9e7;}};Ct=Lt([k(0x3,_0x2bf137(_0x2726ca)),k(0x4,_0x2bf137(_0x2ac8ce)),k(0x5,_0x2bf137(_0x5870e6)),k(0x6,_0x2bf137(_0x1f6e04)),k(0x7,_0x2bf137(it)),k(0x8,_0x2bf137(pe)),k(0x9,_0x1338e8),k(0xa,_0x485ee3),k(0xb,_0x39eb8e),k(0xc,_0x740129(ht)),k(0xd,_0x740129(J))],Ct);var mr=Object[_0x42a875(0x143)],gr=Object[_0x42a875(0x20c)],Sr=(_0xf9425c,_0x2b4bb2,_0x3f69ca,_0x3521a2)=>{for(var _0x3f73d2=_0x3521a2>0x1?void 0x0:_0x3521a2?gr(_0x2b4bb2,_0x3f69ca):_0x2b4bb2,_0x5377ca=_0xf9425c['length']-0x1,_0x2a60cb;_0x5377ca>=0x0;_0x5377ca--)(_0x2a60cb=_0xf9425c[_0x5377ca])&&(_0x3f73d2=(_0x3521a2?_0x2a60cb(_0x2b4bb2,_0x3f69ca,_0x3f73d2):_0x2a60cb(_0x3f73d2))||_0x3f73d2);return _0x3521a2&&_0x3f73d2&&mr(_0x2b4bb2,_0x3f69ca,_0x3f73d2),_0x3f73d2;},ft=(_0x235470,_0x4504ba)=>(_0x1d2230,_0x49b2f7)=>_0x4504ba(_0x1d2230,_0x49b2f7,_0x235470);let rt=class extends _0x21fc08{constructor(_0x2aad76,_0xe35979,_0x1e3d95){var _0x1fa9fd=_0x42a875;super(),N(this,_0x1fa9fd(0xf1),new Map()),N(this,'_entityInit$',new _0x122d74()),N(this,_0x1fa9fd(0x1e8),this['_entityInit$'][_0x1fa9fd(0x298)]()),(this[_0x1fa9fd(0x199)]=_0x2aad76,this[_0x1fa9fd(0x1a8)]=_0xe35979,this[_0x1fa9fd(0x390)]=_0x1e3d95,this['_init']());}[_0x42a875(0x13a)](){var _0x5be1dc=_0x42a875;super[_0x5be1dc(0x13a)](),this[_0x5be1dc(0xf1)]['forEach'](_0x26eb22=>_0x26eb22['dispose']()),this['_entities']['clear']();}[_0x42a875(0x2e7)](_0x9ca1ec){var _0x1346c0=_0x42a875,_0x4321eb;return(_0x4321eb=this[_0x1346c0(0xf1)]['get'](_0x9ca1ec))!=null?_0x4321eb:null;}['getCollabEntity$'](_0x1ed8b4){var _0x2f2191=_0x42a875;const _0x233b3f=this[_0x2f2191(0x2e7)](_0x1ed8b4);return _0x233b3f?_0x140ee7(_0x233b3f):this[_0x2f2191(0x229)]['pipe'](_0x3ec5cd(_0x2d2686=>_0x2d2686[_0x2f2191(0x372)]===_0x1ed8b4));}[_0x42a875(0x160)](_0xd58313){var _0x266aa9=_0x42a875;return _0x1dddc1(this[_0x266aa9(0x349)](_0xd58313)[_0x266aa9(0x233)](_0x111b78(()=>{})));}[_0x42a875(0x1b2)](){var _0x121ee8=_0x42a875;this[_0x121ee8(0x390)][_0x121ee8(0x170)](_0x4662fa['UNIVER_SHEET'])[_0x121ee8(0x233)](_0x53565c(this[_0x121ee8(0x198)]),_0x2dfd1a(0x10))['subscribe'](async _0x20063e=>{var _0x4fa0c2=_0x121ee8;const _0x375f6d=_0x20063e[_0x4fa0c2(0xfe)](),_0x3365fe=await this['_startCollaboration'](_0x375f6d,Q[_0x4fa0c2(0x398)]);this[_0x4fa0c2(0xf1)][_0x4fa0c2(0xee)](_0x375f6d,_0x3365fe);}),this[_0x121ee8(0x390)]['getTypeOfUnitAdded$'](_0x4662fa[_0x121ee8(0x164)])[_0x121ee8(0x233)](_0x53565c(this[_0x121ee8(0x198)]),_0x2dfd1a(0x10))['pipe'](_0x3ec5cd(_0x4bd32b=>!_0x4bd32b['getUnitId']()[_0x121ee8(0x101)]('__')))[_0x121ee8(0x2ec)](async _0x1d924c=>{var _0xbe758b=_0x121ee8;const _0x5e92ff=_0x1d924c[_0xbe758b(0xfe)](),_0x245aeb=await this[_0xbe758b(0x36a)](_0x5e92ff,Q[_0xbe758b(0x164)]);this[_0xbe758b(0xf1)][_0xbe758b(0xee)](_0x5e92ff,_0x245aeb);}),_0x2400fd(this[_0x121ee8(0x390)][_0x121ee8(0x153)](_0x4662fa[_0x121ee8(0x398)]),this[_0x121ee8(0x390)][_0x121ee8(0x153)](_0x4662fa[_0x121ee8(0x164)]))['pipe'](_0x53565c(this[_0x121ee8(0x198)]))[_0x121ee8(0x2ec)](_0x1c7fe4=>{var _0x11ae2b=_0x121ee8;const _0x511687=_0x1c7fe4[_0x11ae2b(0xfe)](),_0x298d8e=this[_0x11ae2b(0xf1)][_0x11ae2b(0x385)](_0x511687);_0x298d8e&&(_0x298d8e[_0x11ae2b(0x13a)](),this['_entities']['delete'](_0x511687));});}async[_0x42a875(0x36a)](_0x4ad20e,_0x523501){var _0x2b8578=_0x42a875;const _0x5ba1e9=await this[_0x2b8578(0x1a8)][_0x2b8578(0x2c4)](_0x4ad20e),_0x20ecbb=this['_injector']['createInstance'](this[_0x2b8578(0x100)](_0x523501),_0x4ad20e,_0x523501,_0x5ba1e9);return await _0x20ecbb[_0x2b8578(0x369)](),this[_0x2b8578(0x229)][_0x2b8578(0x1e7)](_0x20ecbb),_0x20ecbb;}['_getCtorByUniverType'](_0x12777a){var _0x41c2f=_0x42a875;switch(_0x12777a){case Q['UNIVER_DOC']:return Tt;case Q[_0x41c2f(0x398)]:return Ct;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x12777a);}}};rt=Sr([ft(0x0,_0x2bf137(_0x2726ca)),ft(0x1,_0x2bf137(Le)),ft(0x2,_0xb6e8d5)],rt);var Er=Object[_0x42a875(0x143)],Ir=Object['getOwnPropertyDescriptor'],Tr=(_0x5f1579,_0x26d3e5,_0x4ed98c,_0x1657b6)=>{var _0x37584=_0x42a875;for(var _0x13c6d7=_0x1657b6>0x1?void 0x0:_0x1657b6?Ir(_0x26d3e5,_0x4ed98c):_0x26d3e5,_0x103e71=_0x5f1579[_0x37584(0xd2)]-0x1,_0x95b991;_0x103e71>=0x0;_0x103e71--)(_0x95b991=_0x5f1579[_0x103e71])&&(_0x13c6d7=(_0x1657b6?_0x95b991(_0x26d3e5,_0x4ed98c,_0x13c6d7):_0x95b991(_0x13c6d7))||_0x13c6d7);return _0x1657b6&&_0x13c6d7&&Er(_0x26d3e5,_0x4ed98c,_0x13c6d7),_0x13c6d7;},Jt=(_0x52d084,_0xa7e64a)=>(_0x5659d4,_0x5f35df)=>_0xa7e64a(_0x5659d4,_0x5f35df,_0x52d084);const Cr=_0x42a875(0x15d),Rr=_0x42a875(0x33d);let Rt=class extends _0xb54eeb{constructor(_0x896f6c,_0x233209){var _0x1676a0=_0x42a875;super(),this[_0x1676a0(0x390)]=_0x896f6c,this[_0x1676a0(0x22f)]=_0x233209,this[_0x1676a0(0x1b2)]();}['_init'](){var _0xd666b1=_0x42a875;this[_0xd666b1(0x21d)](this[_0xd666b1(0x390)]['focused$'][_0xd666b1(0x2ec)](()=>{var _0xc02751=_0xd666b1,_0x1ae5ed;const _0x206d04=this[_0xc02751(0x390)][_0xc02751(0x180)]();let _0x37121d=(_0x1ae5ed=this[_0xc02751(0x22f)][_0xc02751(0x1c4)](Cr))!=null?_0x1ae5ed:Rr;_0x206d04 instanceof _0x208744&&(_0x37121d=_0x206d04[_0xc02751(0x155)]),document['title']=_0x37121d;}));}};Rt=Tr([Jt(0x0,_0xb6e8d5),Jt(0x1,_0x3da535)],Rt);var br=Object['defineProperty'],Or=Object[_0x42a875(0x20c)],yr=(_0xba5bff,_0x5f57f1,_0x3e52eb,_0x1c6de2)=>{var _0x51da8c=_0x42a875;for(var _0xb35773=_0x1c6de2>0x1?void 0x0:_0x1c6de2?Or(_0x5f57f1,_0x3e52eb):_0x5f57f1,_0x208217=_0xba5bff[_0x51da8c(0xd2)]-0x1,_0x56811c;_0x208217>=0x0;_0x208217--)(_0x56811c=_0xba5bff[_0x208217])&&(_0xb35773=(_0x1c6de2?_0x56811c(_0x5f57f1,_0x3e52eb,_0xb35773):_0x56811c(_0xb35773))||_0xb35773);return _0x1c6de2&&_0xb35773&&br(_0x5f57f1,_0x3e52eb,_0xb35773),_0xb35773;},vt=(_0x19d2f3,_0x4eb72e)=>(_0x2798c8,_0x3a74da)=>_0x4eb72e(_0x2798c8,_0x3a74da,_0x19d2f3);let st=class{constructor(_0x10b9ae,_0x4aa769,_0x3b6585){var _0x1c6f60=_0x42a875;this[_0x1c6f60(0x22f)]=_0x10b9ae,this[_0x1c6f60(0x21a)]=_0x4aa769,this[_0x1c6f60(0x1b3)]=_0x3b6585,this[_0x1c6f60(0x369)]();}[_0x42a875(0x369)](){var _0x9fbe86=_0x42a875;this[_0x9fbe86(0x21a)][_0x9fbe86(0x32a)]({'priority':0x1,'interceptor':(_0x3a0196,_0x3c1967)=>_0x3c1967(_0x3a0196)[_0x9fbe86(0x233)](_0x49b8bd(async _0x37cd72=>{var _0x2742c7=_0x9fbe86;const _0x44bca4=_0x37cd72;if(_0x44bca4[_0x2742c7(0xd8)]===0x191){if(typeof window>'u')throw new Error(_0x2742c7(0x39c));if(window['confirm'](this[_0x2742c7(0x1b3)]['t'](_0x2742c7(0x159)))){const _0x37b6b3=window[_0x2742c7(0x1c8)](window[_0x2742c7(0x371)][_0x2742c7(0xb5)]);window[_0x2742c7(0x371)][_0x2742c7(0xb5)]=this[_0x2742c7(0x2b0)]()+_0x2742c7(0x18b)+_0x37b6b3;}}return _0x44bca4;}))});}['_getLoginPath'](){var _0x51ead7=_0x42a875,_0x194e6a,_0x258245;const _0xe3a541=this['_configService'][_0x51ead7(0x1c4)](xn),_0x56c223=this[_0x51ead7(0x22f)][_0x51ead7(0x1c4)](q);return(_0x258245=(_0x194e6a=_0x56c223==null?void 0x0:_0x56c223[_0x51ead7(0x2ed)])!=null?_0x194e6a:_0xe3a541)!=null?_0x258245:Ln;}};st=yr([vt(0x0,_0x3da535),vt(0x1,_0x2bf137(_0x93900e)),vt(0x2,_0x2bf137(_0x5870e6))],st);var Nr=Object[_0x42a875(0x143)],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x7b8f87,_0x13c3c4,_0x371c0a,_0x5096d5)=>{var _0xceca5b=_0x42a875;for(var _0x30f06e=_0x5096d5>0x1?void 0x0:_0x5096d5?Dr(_0x13c3c4,_0x371c0a):_0x13c3c4,_0x277ef8=_0x7b8f87[_0xceca5b(0xd2)]-0x1,_0x1ae8e1;_0x277ef8>=0x0;_0x277ef8--)(_0x1ae8e1=_0x7b8f87[_0x277ef8])&&(_0x30f06e=(_0x5096d5?_0x1ae8e1(_0x13c3c4,_0x371c0a,_0x30f06e):_0x1ae8e1(_0x30f06e))||_0x30f06e);return _0x5096d5&&_0x30f06e&&Nr(_0x13c3c4,_0x371c0a,_0x30f06e),_0x30f06e;},Xt=(_0x24f315,_0x306bb5)=>(_0x1d3e8f,_0x3f66c3)=>_0x306bb5(_0x1d3e8f,_0x3f66c3,_0x24f315);const Pi=_0x42a875(0x21c),wr=_0x42a875(0x157);let bt=class extends _0xb54eeb{constructor(_0x299f42,_0xac6823){var _0x32d5ac=_0x42a875;super(),this[_0x32d5ac(0x107)]=_0x299f42,this['_configService']=_0xac6823,this[_0x32d5ac(0x127)]();}[_0x42a875(0x127)](){var _0x3a68b0=_0x42a875;const _0x32d273=this;this['disposeWithMe'](this[_0x3a68b0(0x107)][_0x3a68b0(0x32a)]({'priority':0x3e7,'interceptor':_0x426f99({'isMatch'(_0x140328){var _0x5ed375=_0x3a68b0,_0x24ea57;if(_0x140328['method']==='POST'&&((_0x24ea57=_0x140328[_0x5ed375(0x2d9)])!=null&&_0x24ea57[_0x5ed375(0x326)])){const {objectID:_0x53abf0,objectType:_0x378f81}=_0x140328[_0x5ed375(0x2d9)][_0x5ed375(0x326)]||{};if(!_0x53abf0||_0x378f81===void 0x0)return!0x1;const _0x362889=_0x32d273[_0x5ed375(0x322)]()+'/'+_0x378f81+_0x5ed375(0x120)+_0x53abf0+_0x5ed375(0x30d);if(_0x140328[_0x5ed375(0x1ca)]===_0x362889)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3dbcda){var _0x38ef26=_0x3a68b0,_0x4e8224;return(_0x4e8224=_0x3dbcda[_0x38ef26(0x2d9)])==null?void 0x0:_0x4e8224[_0x38ef26(0x326)];},'mergeParamsToRequest'(_0x261426,_0x1c1683){var _0xbe022e=_0x3a68b0;const _0x29a408=_0x32d273[_0xbe022e(0x322)]()+_0xbe022e(0x270),_0x912cb5=_0x261426[_0xbe022e(0x242)]((_0x49bfb8,_0x47d7a8)=>{var _0x5347ed=_0xbe022e;const {unitID:_0x4d76e5,objectID:_0x45f333,objectType:_0x2dcc9a,actions:_0x1d05bb}=_0x47d7a8;return _0x49bfb8[_0x4d76e5]||(_0x49bfb8[_0x4d76e5]={}),_0x49bfb8[_0x4d76e5][_0x45f333]||(_0x49bfb8[_0x4d76e5][_0x45f333]={'objectID':_0x45f333,'objectType':_0x2dcc9a,'actions':[]}),_0x49bfb8[_0x4d76e5][_0x45f333][_0x5347ed(0x1d3)]['push'](..._0x1d05bb),_0x49bfb8;},{}),_0x410dde=[];for(const _0x1f4595 in _0x912cb5)for(const _0x12cd07 in _0x912cb5[_0x1f4595]){const {actions:_0x404f8e,objectType:_0x2e8637}=_0x912cb5[_0x1f4595][_0x12cd07],_0x21c217=[...new Set(_0x404f8e)];_0x410dde[_0xbe022e(0x357)]({'unitID':_0x1f4595,'objectID':_0x12cd07,'objectType':_0x2e8637,'actions':_0x21c217});}return new _0x4c7e1e('POST',_0x29a408,{'headers':_0x1c1683[_0xbe022e(0x325)],'withCredentials':_0x1c1683[_0xbe022e(0xfa)],'responseType':_0x1c1683[_0xbe022e(0x2d3)],'body':{'requests':_0x410dde}});}},{'distributeResult'(_0xbe32f7,_0x4de50e){var _0x4a13f6=_0x3a68b0;const {objectActions:_0x570de4}=_0xbe32f7;return _0x4de50e[_0x4a13f6(0x394)](_0x472056=>{var _0x54e557=_0x4a13f6;const {unitID:_0x112db8,objectID:_0x95e3fa,actions:_0x9e3e85}=_0x472056,_0x3ecb68=_0x570de4[_0x54e557(0x116)](_0x59ebcd=>_0x59ebcd[_0x54e557(0x372)]===_0x112db8&&_0x59ebcd['objectID']===_0x95e3fa),_0x192cbb=_0x9e3e85['map'](_0x2b77bd=>_0x3ecb68==null?void 0x0:_0x3ecb68['actions'][_0x54e557(0x116)](_0x17377a=>_0x17377a[_0x54e557(0x2f5)]===_0x2b77bd))['filter'](_0x1e35bb=>!!_0x1e35bb);return{'config':_0x472056,'result':{'actions':_0x192cbb,'error':_0xbe32f7[_0x54e557(0x38f)]}};});}})}));}['_getAPIPrefixPath'](){var _0xdf8f6e=_0x42a875,_0x41173a,_0x312390;const _0x22856e=this[_0xdf8f6e(0x22f)][_0xdf8f6e(0x1c4)](Pi),_0x22654a=this[_0xdf8f6e(0x22f)]['getConfig'](q);return(_0x312390=(_0x41173a=_0x22654a==null?void 0x0:_0x22654a[_0xdf8f6e(0xa9)])!=null?_0x41173a:_0x22856e)!=null?_0x312390:wr;}async[_0x42a875(0x307)](_0x41ba03){var _0x1f4e92=_0x42a875;const _0x3f8b80=this[_0x1f4e92(0x322)]()+'/'+_0x41ba03[_0x1f4e92(0xe2)]+_0x1f4e92(0x238);return(await this[_0x1f4e92(0x107)]['post'](_0x3f8b80,{'body':_0x41ba03}))[_0x1f4e92(0x326)]['objectID']||'';}async[_0x42a875(0x1ea)](_0x15e814){var _0x3fe01c=_0x42a875;const _0x342798=this[_0x3fe01c(0x322)]()+_0x3fe01c(0x32e);return(await this[_0x3fe01c(0x107)][_0x3fe01c(0x1aa)](_0x342798,{'body':_0x15e814}))[_0x3fe01c(0x326)][_0x3fe01c(0xd9)];}async[_0x42a875(0x17b)](_0x5578e0){var _0x40dc87=_0x42a875;const _0x1bd3cb=this['_getAPIPrefixPath']()+'/'+_0x5578e0[_0x40dc87(0xe2)]+'/object/'+_0x5578e0['objectID'];await this['_HTTPService'][_0x40dc87(0x375)](_0x1bd3cb,{'body':_0x5578e0});}async[_0x42a875(0x32d)](_0x387d54){var _0x503106=_0x42a875;const _0xac494c=this['_getAPIPrefixPath']()+'/'+_0x387d54[_0x503106(0xe2)]+'/object/'+_0x387d54['objectID']+_0x503106(0x30d);return(await this['_HTTPService'][_0x503106(0x1aa)](_0xac494c,{'body':_0x387d54}))[_0x503106(0x326)][_0x503106(0x1d3)];}async[_0x42a875(0x36d)](_0x53bb18){var _0x231234=_0x42a875;const _0x398399=this[_0x231234(0x322)]()+_0x231234(0x270);return(await this['_HTTPService'][_0x231234(0x1aa)](_0x398399,{'body':{'requests':_0x53bb18}}))[_0x231234(0x326)][_0x231234(0x2f8)];}async[_0x42a875(0x106)](_0x3f9b92){var _0x151ccf=_0x42a875;const _0x370c06=this[_0x151ccf(0x322)]()+'/'+_0x3f9b92[_0x151ccf(0xe2)]+'/role',_0x92a244=await this[_0x151ccf(0x107)][_0x151ccf(0x1aa)](_0x370c06,{'body':_0x3f9b92});return{'roles':_0x92a244[_0x151ccf(0x326)][_0x151ccf(0x388)],'actions':_0x92a244[_0x151ccf(0x326)]['actions']};}async[_0x42a875(0x16b)](_0x2e8abc){var _0x2044fa=_0x42a875;const _0x48d8c5=this[_0x2044fa(0x322)]()+_0x2044fa(0x217);await this[_0x2044fa(0x107)][_0x2044fa(0x14f)](_0x48d8c5,{'params':{'collaboratorID':_0x2e8abc['collaboratorID'],'objectID':_0x2e8abc['objectID'],'unitID':_0x2e8abc['unitID']}});}async[_0x42a875(0x333)](_0x17537f){var _0x56ad69=_0x42a875;const _0xa7b85c=this[_0x56ad69(0x322)]()+'/collaborator';await this[_0x56ad69(0x107)][_0x56ad69(0x2b3)](_0xa7b85c,{'body':_0x17537f});}async[_0x42a875(0x109)](_0x50c592){var _0x3662bb=_0x42a875;const _0x4f821b=this[_0x3662bb(0x322)]()+'/collaborator';await this[_0x3662bb(0x107)][_0x3662bb(0x1aa)](_0x4f821b,{'body':_0x50c592});}async[_0x42a875(0x20f)](_0x444759){var _0x2e7e35=_0x42a875;const _0xb13266=this[_0x2e7e35(0x322)]()+'/collaborator';return(await this[_0x2e7e35(0x107)][_0x2e7e35(0x385)](_0xb13266,{'params':{'objectID':_0x444759[_0x2e7e35(0x1e6)],'unitID':_0x444759[_0x2e7e35(0x372)]}}))['body'][_0x2e7e35(0x230)];}async[_0x42a875(0x313)](_0x5d63da){var _0x43f9bf=_0x42a875;const _0x34c791=this[_0x43f9bf(0x322)]()+'/collaborator';await this['_HTTPService'][_0x43f9bf(0x375)](_0x34c791,{'body':_0x5d63da});}};bt=Pr([Xt(0x0,_0x2bf137(_0x93900e)),Xt(0x1,_0x2bf137(_0x3da535))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x5d0f3a){var _0x2fedac=_0x42a875;return _0x5d0f3a&&_0x5d0f3a[_0x2fedac(0x1d0)]&&Object['prototype'][_0x2fedac(0x1bd)][_0x2fedac(0xf2)](_0x5d0f3a,_0x2fedac(0x15a))?_0x5d0f3a[_0x2fedac(0x15a)]:_0x5d0f3a;}var Ve={'exports':{}};function Ur(_0x4dd441){var _0x7529df=_0x42a875;throw new Error(_0x7529df(0xd1)+_0x4dd441+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x42a875(0x329)],Zt;function ne(){var _0xf61f69=_0x42a875;return Zt||(Zt=0x1,function(_0x10ef43,_0x1980c0){(function(_0x978379,_0x36714c){_0x10ef43['exports']=_0x36714c();}(Ar,function(){var _0x5abfa6=_0x5abfa6||function(_0x1fab74,_0x1b223f){var _0x19ebe2=_0x5999,_0x3794c1;if(typeof window<'u'&&window['crypto']&&(_0x3794c1=window[_0x19ebe2(0x13e)]),typeof self<'u'&&self[_0x19ebe2(0x13e)]&&(_0x3794c1=self[_0x19ebe2(0x13e)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3794c1=globalThis[_0x19ebe2(0x13e)]),!_0x3794c1&&typeof window<'u'&&window['msCrypto']&&(_0x3794c1=window[_0x19ebe2(0x1fc)]),!_0x3794c1&&typeof pt<'u'&&pt[_0x19ebe2(0x13e)]&&(_0x3794c1=pt[_0x19ebe2(0x13e)]),!_0x3794c1&&typeof Ur==_0x19ebe2(0x1ac))try{_0x3794c1=require('crypto');}catch{}var _0x22f7d2=function(){var _0x522750=_0x19ebe2;if(_0x3794c1){if(typeof _0x3794c1['getRandomValues']==_0x522750(0x1ac))try{return _0x3794c1[_0x522750(0xa4)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3794c1['randomBytes']==_0x522750(0x1ac))try{return _0x3794c1['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0xd40fd0=Object[_0x19ebe2(0x307)]||(function(){function _0x7fc45(){}return function(_0x2a0b3b){var _0x31ad56=_0x5999,_0x4a7732;return _0x7fc45['prototype']=_0x2a0b3b,_0x4a7732=new _0x7fc45(),_0x7fc45[_0x31ad56(0x361)]=null,_0x4a7732;};}()),_0x3618bb={},_0xc9601d=_0x3618bb[_0x19ebe2(0x168)]={},_0x44b0b3=_0xc9601d[_0x19ebe2(0x28c)]=(function(){return{'extend':function(_0x3fdb32){var _0x51c002=_0x5999,_0x58dc9c=_0xd40fd0(this);return _0x3fdb32&&_0x58dc9c['mixIn'](_0x3fdb32),(!_0x58dc9c[_0x51c002(0x1bd)]('init')||this[_0x51c002(0x369)]===_0x58dc9c[_0x51c002(0x369)])&&(_0x58dc9c['init']=function(){var _0x434b65=_0x51c002;_0x58dc9c[_0x434b65(0x177)][_0x434b65(0x369)][_0x434b65(0x10b)](this,arguments);}),_0x58dc9c[_0x51c002(0x369)][_0x51c002(0x361)]=_0x58dc9c,_0x58dc9c['$super']=this,_0x58dc9c;},'create':function(){var _0x323246=_0x5999,_0x4698e5=this['extend']();return _0x4698e5[_0x323246(0x369)][_0x323246(0x10b)](_0x4698e5,arguments),_0x4698e5;},'init':function(){},'mixIn':function(_0x5561b1){var _0x3defd3=_0x5999;for(var _0xa2cc22 in _0x5561b1)_0x5561b1[_0x3defd3(0x1bd)](_0xa2cc22)&&(this[_0xa2cc22]=_0x5561b1[_0xa2cc22]);_0x5561b1[_0x3defd3(0x1bd)](_0x3defd3(0x20b))&&(this[_0x3defd3(0x20b)]=_0x5561b1['toString']);},'clone':function(){var _0x1eadbd=_0x5999;return this[_0x1eadbd(0x369)][_0x1eadbd(0x361)][_0x1eadbd(0xb9)](this);}};}()),_0x3eae17=_0xc9601d[_0x19ebe2(0xe5)]=_0x44b0b3[_0x19ebe2(0xb9)]({'init':function(_0x511f33,_0x1af4aa){var _0x550052=_0x19ebe2;_0x511f33=this[_0x550052(0x37c)]=_0x511f33||[],_0x1af4aa!=_0x1b223f?this[_0x550052(0x294)]=_0x1af4aa:this['sigBytes']=_0x511f33[_0x550052(0xd2)]*0x4;},'toString':function(_0x3b54c1){return(_0x3b54c1||_0x190e8c)['stringify'](this);},'concat':function(_0x54cd71){var _0x23bee2=_0x19ebe2,_0x35e84f=this[_0x23bee2(0x37c)],_0x16352d=_0x54cd71[_0x23bee2(0x37c)],_0x37e8f2=this['sigBytes'],_0x3b7881=_0x54cd71['sigBytes'];if(this['clamp'](),_0x37e8f2%0x4)for(var _0x2d9be3=0x0;_0x2d9be3<_0x3b7881;_0x2d9be3++){var _0x64175b=_0x16352d[_0x2d9be3>>>0x2]>>>0x18-_0x2d9be3%0x4*0x8&0xff;_0x35e84f[_0x37e8f2+_0x2d9be3>>>0x2]|=_0x64175b<<0x18-(_0x37e8f2+_0x2d9be3)%0x4*0x8;}else{for(var _0x565da4=0x0;_0x565da4<_0x3b7881;_0x565da4+=0x4)_0x35e84f[_0x37e8f2+_0x565da4>>>0x2]=_0x16352d[_0x565da4>>>0x2];}return this[_0x23bee2(0x294)]+=_0x3b7881,this;},'clamp':function(){var _0x4806af=_0x19ebe2,_0x1fbafe=this['words'],_0x8ae52e=this[_0x4806af(0x294)];_0x1fbafe[_0x8ae52e>>>0x2]&=0xffffffff<<0x20-_0x8ae52e%0x4*0x8,_0x1fbafe[_0x4806af(0xd2)]=_0x1fab74[_0x4806af(0x348)](_0x8ae52e/0x4);},'clone':function(){var _0x26365b=_0x19ebe2,_0x163e10=_0x44b0b3[_0x26365b(0x236)]['call'](this);return _0x163e10[_0x26365b(0x37c)]=this[_0x26365b(0x37c)][_0x26365b(0x342)](0x0),_0x163e10;},'random':function(_0x415770){var _0x2206ac=_0x19ebe2;for(var _0x5b8630=[],_0x27c689=0x0;_0x27c689<_0x415770;_0x27c689+=0x4)_0x5b8630[_0x2206ac(0x357)](_0x22f7d2());return new _0x3eae17[(_0x2206ac(0x369))](_0x5b8630,_0x415770);}}),_0x237e76=_0x3618bb[_0x19ebe2(0x21f)]={},_0x190e8c=_0x237e76[_0x19ebe2(0x2cd)]={'stringify':function(_0x439e3d){var _0x357c9d=_0x19ebe2;for(var _0x2aef14=_0x439e3d[_0x357c9d(0x37c)],_0x47f290=_0x439e3d[_0x357c9d(0x294)],_0x1bffa8=[],_0x436807=0x0;_0x436807<_0x47f290;_0x436807++){var _0x305019=_0x2aef14[_0x436807>>>0x2]>>>0x18-_0x436807%0x4*0x8&0xff;_0x1bffa8[_0x357c9d(0x357)]((_0x305019>>>0x4)[_0x357c9d(0x20b)](0x10)),_0x1bffa8[_0x357c9d(0x357)]((_0x305019&0xf)[_0x357c9d(0x20b)](0x10));}return _0x1bffa8['join']('');},'parse':function(_0x51271c){var _0x5bd01a=_0x19ebe2;for(var _0x38cceb=_0x51271c[_0x5bd01a(0xd2)],_0x22aef9=[],_0x50ca80=0x0;_0x50ca80<_0x38cceb;_0x50ca80+=0x2)_0x22aef9[_0x50ca80>>>0x3]|=parseInt(_0x51271c[_0x5bd01a(0x31e)](_0x50ca80,0x2),0x10)<<0x18-_0x50ca80%0x8*0x4;return new _0x3eae17[(_0x5bd01a(0x369))](_0x22aef9,_0x38cceb/0x2);}},_0x368fe4=_0x237e76[_0x19ebe2(0x193)]={'stringify':function(_0x3ad870){var _0x2c528b=_0x19ebe2;for(var _0x18383a=_0x3ad870[_0x2c528b(0x37c)],_0x2f0e26=_0x3ad870['sigBytes'],_0x295661=[],_0x2c2974=0x0;_0x2c2974<_0x2f0e26;_0x2c2974++){var _0x8d1cd0=_0x18383a[_0x2c2974>>>0x2]>>>0x18-_0x2c2974%0x4*0x8&0xff;_0x295661[_0x2c528b(0x357)](String['fromCharCode'](_0x8d1cd0));}return _0x295661['join']('');},'parse':function(_0x43ac3a){var _0x127dd7=_0x19ebe2;for(var _0x2b1e68=_0x43ac3a[_0x127dd7(0xd2)],_0x4e14e1=[],_0x4f9583=0x0;_0x4f9583<_0x2b1e68;_0x4f9583++)_0x4e14e1[_0x4f9583>>>0x2]|=(_0x43ac3a['charCodeAt'](_0x4f9583)&0xff)<<0x18-_0x4f9583%0x4*0x8;return new _0x3eae17[(_0x127dd7(0x369))](_0x4e14e1,_0x2b1e68);}},_0x3701df=_0x237e76[_0x19ebe2(0x29a)]={'stringify':function(_0x3253a0){var _0x56f9bc=_0x19ebe2;try{return decodeURIComponent(escape(_0x368fe4[_0x56f9bc(0x350)](_0x3253a0)));}catch{throw new Error(_0x56f9bc(0x19d));}},'parse':function(_0x32584d){var _0x1c0c4a=_0x19ebe2;return _0x368fe4[_0x1c0c4a(0xa7)](unescape(encodeURIComponent(_0x32584d)));}},_0x4f9720=_0xc9601d[_0x19ebe2(0x2eb)]=_0x44b0b3[_0x19ebe2(0xb9)]({'reset':function(){var _0xc73bcc=_0x19ebe2;this['_data']=new _0x3eae17['init'](),this[_0xc73bcc(0x2e5)]=0x0;},'_append':function(_0x226b94){var _0x1fefda=_0x19ebe2;typeof _0x226b94==_0x1fefda(0x2d1)&&(_0x226b94=_0x3701df[_0x1fefda(0xa7)](_0x226b94)),this[_0x1fefda(0x266)][_0x1fefda(0x1a6)](_0x226b94),this[_0x1fefda(0x2e5)]+=_0x226b94[_0x1fefda(0x294)];},'_process':function(_0x4b7303){var _0x4ebf00=_0x19ebe2,_0x3c5e78,_0x2f2c1d=this[_0x4ebf00(0x266)],_0x37dfa6=_0x2f2c1d[_0x4ebf00(0x37c)],_0x532e54=_0x2f2c1d['sigBytes'],_0x6d75e6=this[_0x4ebf00(0x396)],_0x27b585=_0x6d75e6*0x4,_0x5ac8fb=_0x532e54/_0x27b585;_0x4b7303?_0x5ac8fb=_0x1fab74[_0x4ebf00(0x348)](_0x5ac8fb):_0x5ac8fb=_0x1fab74[_0x4ebf00(0x209)]((_0x5ac8fb|0x0)-this[_0x4ebf00(0x21b)],0x0);var _0x4a4809=_0x5ac8fb*_0x6d75e6,_0x4ca0e2=_0x1fab74[_0x4ebf00(0xd3)](_0x4a4809*0x4,_0x532e54);if(_0x4a4809){for(var _0x19b48c=0x0;_0x19b48c<_0x4a4809;_0x19b48c+=_0x6d75e6)this[_0x4ebf00(0x39a)](_0x37dfa6,_0x19b48c);_0x3c5e78=_0x37dfa6[_0x4ebf00(0x134)](0x0,_0x4a4809),_0x2f2c1d[_0x4ebf00(0x294)]-=_0x4ca0e2;}return new _0x3eae17[(_0x4ebf00(0x369))](_0x3c5e78,_0x4ca0e2);},'clone':function(){var _0x209f5a=_0x19ebe2,_0x3832e7=_0x44b0b3[_0x209f5a(0x236)][_0x209f5a(0xf2)](this);return _0x3832e7[_0x209f5a(0x266)]=this[_0x209f5a(0x266)]['clone'](),_0x3832e7;},'_minBufferSize':0x0});_0xc9601d['Hasher']=_0x4f9720[_0x19ebe2(0xb9)]({'cfg':_0x44b0b3[_0x19ebe2(0xb9)](),'init':function(_0x8145a5){var _0x11f4fe=_0x19ebe2;this['cfg']=this[_0x11f4fe(0x2f0)]['extend'](_0x8145a5),this[_0x11f4fe(0x13c)]();},'reset':function(){var _0x5a3703=_0x19ebe2;_0x4f9720[_0x5a3703(0x13c)][_0x5a3703(0xf2)](this),this[_0x5a3703(0x383)]();},'update':function(_0x1eb46d){var _0x5b1d86=_0x19ebe2;return this[_0x5b1d86(0x150)](_0x1eb46d),this[_0x5b1d86(0x351)](),this;},'finalize':function(_0x292397){var _0x1cb88f=_0x19ebe2;_0x292397&&this[_0x1cb88f(0x150)](_0x292397);var _0x3790aa=this[_0x1cb88f(0x1fb)]();return _0x3790aa;},'blockSize':0x10,'_createHelper':function(_0x4f001e){return function(_0x9d8998,_0xcfd174){var _0x5c1d1c=_0x5999;return new _0x4f001e[(_0x5c1d1c(0x369))](_0xcfd174)['finalize'](_0x9d8998);};},'_createHmacHelper':function(_0x3dbde4){return function(_0x56d0d3,_0x48bce1){var _0x1fa131=_0x5999;return new _0x3a2642['HMAC'][(_0x1fa131(0x369))](_0x3dbde4,_0x48bce1)['finalize'](_0x56d0d3);};}});var _0x3a2642=_0x3618bb['algo']={};return _0x3618bb;}(Math);return _0x5abfa6;}));}(Ge)),Ge[_0xf61f69(0x329)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){return Qt||(Qt=0x1,function(_0x5a2e3c,_0x43f398){(function(_0x24c50e,_0x3ff1a6){var _0x2e379b=_0x5999;_0x5a2e3c[_0x2e379b(0x329)]=_0x3ff1a6(ne());}(xr,function(_0x167420){var _0x52253f=_0x5999;return(function(){var _0x40271a=_0x5999,_0xa21b84=_0x167420,_0x3332e3=_0xa21b84[_0x40271a(0x168)],_0x1601f2=_0x3332e3[_0x40271a(0xe5)],_0x57762d=_0xa21b84[_0x40271a(0x21f)];_0x57762d[_0x40271a(0x231)]={'stringify':function(_0x58326d){var _0xa0007c=_0x40271a,_0x621d6b=_0x58326d[_0xa0007c(0x37c)],_0x45747a=_0x58326d[_0xa0007c(0x294)],_0x1ca5fa=this[_0xa0007c(0x225)];_0x58326d['clamp']();for(var _0x2db19d=[],_0x5e656d=0x0;_0x5e656d<_0x45747a;_0x5e656d+=0x3)for(var _0xa830b6=_0x621d6b[_0x5e656d>>>0x2]>>>0x18-_0x5e656d%0x4*0x8&0xff,_0xfdbb4=_0x621d6b[_0x5e656d+0x1>>>0x2]>>>0x18-(_0x5e656d+0x1)%0x4*0x8&0xff,_0x48bca1=_0x621d6b[_0x5e656d+0x2>>>0x2]>>>0x18-(_0x5e656d+0x2)%0x4*0x8&0xff,_0x2d5f62=_0xa830b6<<0x10|_0xfdbb4<<0x8|_0x48bca1,_0x6de98b=0x0;_0x6de98b<0x4&&_0x5e656d+_0x6de98b*0.75<_0x45747a;_0x6de98b++)_0x2db19d[_0xa0007c(0x357)](_0x1ca5fa['charAt'](_0x2d5f62>>>0x6*(0x3-_0x6de98b)&0x3f));var _0x476cbb=_0x1ca5fa[_0xa0007c(0x139)](0x40);if(_0x476cbb){for(;_0x2db19d['length']%0x4;)_0x2db19d['push'](_0x476cbb);}return _0x2db19d['join']('');},'parse':function(_0x1cdd5f){var _0x40b2de=_0x40271a,_0x3513f4=_0x1cdd5f[_0x40b2de(0xd2)],_0x3eca57=this[_0x40b2de(0x225)],_0x4d84ea=this[_0x40b2de(0x1b8)];if(!_0x4d84ea){_0x4d84ea=this[_0x40b2de(0x1b8)]=[];for(var _0x3530e8=0x0;_0x3530e8<_0x3eca57[_0x40b2de(0xd2)];_0x3530e8++)_0x4d84ea[_0x3eca57[_0x40b2de(0x2d8)](_0x3530e8)]=_0x3530e8;}var _0x3304f0=_0x3eca57['charAt'](0x40);if(_0x3304f0){var _0x54addc=_0x1cdd5f[_0x40b2de(0xa1)](_0x3304f0);_0x54addc!==-0x1&&(_0x3513f4=_0x54addc);}return _0x3fcdf9(_0x1cdd5f,_0x3513f4,_0x4d84ea);},'_map':_0x40271a(0x2f1)};function _0x3fcdf9(_0x3cf0ee,_0x45e46a,_0x2e3860){var _0x459257=_0x40271a;for(var _0x42afe5=[],_0x4652a6=0x0,_0x520df0=0x0;_0x520df0<_0x45e46a;_0x520df0++)if(_0x520df0%0x4){var _0x145583=_0x2e3860[_0x3cf0ee[_0x459257(0x2d8)](_0x520df0-0x1)]<<_0x520df0%0x4*0x2,_0x5d8d52=_0x2e3860[_0x3cf0ee[_0x459257(0x2d8)](_0x520df0)]>>>0x6-_0x520df0%0x4*0x2,_0x4a421a=_0x145583|_0x5d8d52;_0x42afe5[_0x4652a6>>>0x2]|=_0x4a421a<<0x18-_0x4652a6%0x4*0x8,_0x4652a6++;}return _0x1601f2['create'](_0x42afe5,_0x4652a6);}}()),_0x167420[_0x52253f(0x21f)][_0x52253f(0x231)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke[_0x42a875(0x329)],ei;function Mr(){var _0xca32a3=_0x42a875;return ei||(ei=0x1,function(_0x2e79ff,_0x2e6a3d){(function(_0x307a16,_0x1c3e84){var _0x2f3d97=_0x5999;_0x2e79ff[_0x2f3d97(0x329)]=_0x1c3e84(ne());}(Lr,function(_0x38d43d){var _0x3e7d25=_0x5999;return function(_0x3212f2){var _0x4d2235=_0x5999,_0x485862=_0x38d43d,_0x2bf5bb=_0x485862['lib'],_0x147915=_0x2bf5bb['WordArray'],_0x48644a=_0x2bf5bb[_0x4d2235(0x39e)],_0x535d4d=_0x485862[_0x4d2235(0x391)],_0x3c5367=[];(function(){var _0x442418=_0x4d2235;for(var _0x50012b=0x0;_0x50012b<0x40;_0x50012b++)_0x3c5367[_0x50012b]=_0x3212f2[_0x442418(0x227)](_0x3212f2[_0x442418(0x18a)](_0x50012b+0x1))*0x100000000|0x0;}());var _0x25d6ab=_0x535d4d[_0x4d2235(0x2a3)]=_0x48644a['extend']({'_doReset':function(){var _0x563169=_0x4d2235;this[_0x563169(0xed)]=new _0x147915['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x5f0957,_0x5e15a0){var _0x19cb22=_0x4d2235;for(var _0x5e4269=0x0;_0x5e4269<0x10;_0x5e4269++){var _0x51e35b=_0x5e15a0+_0x5e4269,_0x363fb5=_0x5f0957[_0x51e35b];_0x5f0957[_0x51e35b]=(_0x363fb5<<0x8|_0x363fb5>>>0x18)&0xff00ff|(_0x363fb5<<0x18|_0x363fb5>>>0x8)&0xff00ff00;}var _0x424800=this[_0x19cb22(0xed)][_0x19cb22(0x37c)],_0x4f1808=_0x5f0957[_0x5e15a0+0x0],_0x4bc886=_0x5f0957[_0x5e15a0+0x1],_0x2a0999=_0x5f0957[_0x5e15a0+0x2],_0x241ba9=_0x5f0957[_0x5e15a0+0x3],_0x4d6143=_0x5f0957[_0x5e15a0+0x4],_0x2b29fb=_0x5f0957[_0x5e15a0+0x5],_0x391830=_0x5f0957[_0x5e15a0+0x6],_0x4e58e7=_0x5f0957[_0x5e15a0+0x7],_0x3a8d8c=_0x5f0957[_0x5e15a0+0x8],_0x243f0e=_0x5f0957[_0x5e15a0+0x9],_0x204fa3=_0x5f0957[_0x5e15a0+0xa],_0x437967=_0x5f0957[_0x5e15a0+0xb],_0x5838c8=_0x5f0957[_0x5e15a0+0xc],_0x432765=_0x5f0957[_0x5e15a0+0xd],_0x1ac030=_0x5f0957[_0x5e15a0+0xe],_0x1bb803=_0x5f0957[_0x5e15a0+0xf],_0x4bd467=_0x424800[0x0],_0x46a007=_0x424800[0x1],_0x2e32db=_0x424800[0x2],_0xe4aa93=_0x424800[0x3];_0x4bd467=_0x17f9f7(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4f1808,0x7,_0x3c5367[0x0]),_0xe4aa93=_0x17f9f7(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x4bc886,0xc,_0x3c5367[0x1]),_0x2e32db=_0x17f9f7(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x2a0999,0x11,_0x3c5367[0x2]),_0x46a007=_0x17f9f7(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x241ba9,0x16,_0x3c5367[0x3]),_0x4bd467=_0x17f9f7(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4d6143,0x7,_0x3c5367[0x4]),_0xe4aa93=_0x17f9f7(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x2b29fb,0xc,_0x3c5367[0x5]),_0x2e32db=_0x17f9f7(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x391830,0x11,_0x3c5367[0x6]),_0x46a007=_0x17f9f7(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x4e58e7,0x16,_0x3c5367[0x7]),_0x4bd467=_0x17f9f7(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x3a8d8c,0x7,_0x3c5367[0x8]),_0xe4aa93=_0x17f9f7(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x243f0e,0xc,_0x3c5367[0x9]),_0x2e32db=_0x17f9f7(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x204fa3,0x11,_0x3c5367[0xa]),_0x46a007=_0x17f9f7(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x437967,0x16,_0x3c5367[0xb]),_0x4bd467=_0x17f9f7(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x5838c8,0x7,_0x3c5367[0xc]),_0xe4aa93=_0x17f9f7(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x432765,0xc,_0x3c5367[0xd]),_0x2e32db=_0x17f9f7(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x1ac030,0x11,_0x3c5367[0xe]),_0x46a007=_0x17f9f7(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x1bb803,0x16,_0x3c5367[0xf]),_0x4bd467=_0x34a700(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4bc886,0x5,_0x3c5367[0x10]),_0xe4aa93=_0x34a700(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x391830,0x9,_0x3c5367[0x11]),_0x2e32db=_0x34a700(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x437967,0xe,_0x3c5367[0x12]),_0x46a007=_0x34a700(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x4f1808,0x14,_0x3c5367[0x13]),_0x4bd467=_0x34a700(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x2b29fb,0x5,_0x3c5367[0x14]),_0xe4aa93=_0x34a700(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x204fa3,0x9,_0x3c5367[0x15]),_0x2e32db=_0x34a700(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x1bb803,0xe,_0x3c5367[0x16]),_0x46a007=_0x34a700(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x4d6143,0x14,_0x3c5367[0x17]),_0x4bd467=_0x34a700(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x243f0e,0x5,_0x3c5367[0x18]),_0xe4aa93=_0x34a700(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x1ac030,0x9,_0x3c5367[0x19]),_0x2e32db=_0x34a700(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x241ba9,0xe,_0x3c5367[0x1a]),_0x46a007=_0x34a700(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x3a8d8c,0x14,_0x3c5367[0x1b]),_0x4bd467=_0x34a700(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x432765,0x5,_0x3c5367[0x1c]),_0xe4aa93=_0x34a700(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x2a0999,0x9,_0x3c5367[0x1d]),_0x2e32db=_0x34a700(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x4e58e7,0xe,_0x3c5367[0x1e]),_0x46a007=_0x34a700(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x5838c8,0x14,_0x3c5367[0x1f]),_0x4bd467=_0xaeb937(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x2b29fb,0x4,_0x3c5367[0x20]),_0xe4aa93=_0xaeb937(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x3a8d8c,0xb,_0x3c5367[0x21]),_0x2e32db=_0xaeb937(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x437967,0x10,_0x3c5367[0x22]),_0x46a007=_0xaeb937(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x1ac030,0x17,_0x3c5367[0x23]),_0x4bd467=_0xaeb937(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4bc886,0x4,_0x3c5367[0x24]),_0xe4aa93=_0xaeb937(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x4d6143,0xb,_0x3c5367[0x25]),_0x2e32db=_0xaeb937(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x4e58e7,0x10,_0x3c5367[0x26]),_0x46a007=_0xaeb937(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x204fa3,0x17,_0x3c5367[0x27]),_0x4bd467=_0xaeb937(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x432765,0x4,_0x3c5367[0x28]),_0xe4aa93=_0xaeb937(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x4f1808,0xb,_0x3c5367[0x29]),_0x2e32db=_0xaeb937(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x241ba9,0x10,_0x3c5367[0x2a]),_0x46a007=_0xaeb937(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x391830,0x17,_0x3c5367[0x2b]),_0x4bd467=_0xaeb937(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x243f0e,0x4,_0x3c5367[0x2c]),_0xe4aa93=_0xaeb937(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x5838c8,0xb,_0x3c5367[0x2d]),_0x2e32db=_0xaeb937(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x1bb803,0x10,_0x3c5367[0x2e]),_0x46a007=_0xaeb937(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x2a0999,0x17,_0x3c5367[0x2f]),_0x4bd467=_0x267180(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4f1808,0x6,_0x3c5367[0x30]),_0xe4aa93=_0x267180(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x4e58e7,0xa,_0x3c5367[0x31]),_0x2e32db=_0x267180(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x1ac030,0xf,_0x3c5367[0x32]),_0x46a007=_0x267180(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x2b29fb,0x15,_0x3c5367[0x33]),_0x4bd467=_0x267180(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x5838c8,0x6,_0x3c5367[0x34]),_0xe4aa93=_0x267180(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x241ba9,0xa,_0x3c5367[0x35]),_0x2e32db=_0x267180(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x204fa3,0xf,_0x3c5367[0x36]),_0x46a007=_0x267180(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x4bc886,0x15,_0x3c5367[0x37]),_0x4bd467=_0x267180(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x3a8d8c,0x6,_0x3c5367[0x38]),_0xe4aa93=_0x267180(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x1bb803,0xa,_0x3c5367[0x39]),_0x2e32db=_0x267180(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x391830,0xf,_0x3c5367[0x3a]),_0x46a007=_0x267180(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x432765,0x15,_0x3c5367[0x3b]),_0x4bd467=_0x267180(_0x4bd467,_0x46a007,_0x2e32db,_0xe4aa93,_0x4d6143,0x6,_0x3c5367[0x3c]),_0xe4aa93=_0x267180(_0xe4aa93,_0x4bd467,_0x46a007,_0x2e32db,_0x437967,0xa,_0x3c5367[0x3d]),_0x2e32db=_0x267180(_0x2e32db,_0xe4aa93,_0x4bd467,_0x46a007,_0x2a0999,0xf,_0x3c5367[0x3e]),_0x46a007=_0x267180(_0x46a007,_0x2e32db,_0xe4aa93,_0x4bd467,_0x243f0e,0x15,_0x3c5367[0x3f]),_0x424800[0x0]=_0x424800[0x0]+_0x4bd467|0x0,_0x424800[0x1]=_0x424800[0x1]+_0x46a007|0x0,_0x424800[0x2]=_0x424800[0x2]+_0x2e32db|0x0,_0x424800[0x3]=_0x424800[0x3]+_0xe4aa93|0x0;},'_doFinalize':function(){var _0x2bf3be=_0x4d2235,_0xa48ab7=this[_0x2bf3be(0x266)],_0x285ba5=_0xa48ab7[_0x2bf3be(0x37c)],_0xea84b3=this[_0x2bf3be(0x2e5)]*0x8,_0x56205c=_0xa48ab7[_0x2bf3be(0x294)]*0x8;_0x285ba5[_0x56205c>>>0x5]|=0x80<<0x18-_0x56205c%0x20;var _0x4034ea=_0x3212f2['floor'](_0xea84b3/0x100000000),_0x23a843=_0xea84b3;_0x285ba5[(_0x56205c+0x40>>>0x9<<0x4)+0xf]=(_0x4034ea<<0x8|_0x4034ea>>>0x18)&0xff00ff|(_0x4034ea<<0x18|_0x4034ea>>>0x8)&0xff00ff00,_0x285ba5[(_0x56205c+0x40>>>0x9<<0x4)+0xe]=(_0x23a843<<0x8|_0x23a843>>>0x18)&0xff00ff|(_0x23a843<<0x18|_0x23a843>>>0x8)&0xff00ff00,_0xa48ab7[_0x2bf3be(0x294)]=(_0x285ba5[_0x2bf3be(0xd2)]+0x1)*0x4,this[_0x2bf3be(0x351)]();for(var _0x3d94ba=this[_0x2bf3be(0xed)],_0x497e8b=_0x3d94ba['words'],_0xeb2477=0x0;_0xeb2477<0x4;_0xeb2477++){var _0x192b3b=_0x497e8b[_0xeb2477];_0x497e8b[_0xeb2477]=(_0x192b3b<<0x8|_0x192b3b>>>0x18)&0xff00ff|(_0x192b3b<<0x18|_0x192b3b>>>0x8)&0xff00ff00;}return _0x3d94ba;},'clone':function(){var _0xa67fe8=_0x4d2235,_0x4d5e8f=_0x48644a[_0xa67fe8(0x236)][_0xa67fe8(0xf2)](this);return _0x4d5e8f[_0xa67fe8(0xed)]=this[_0xa67fe8(0xed)]['clone'](),_0x4d5e8f;}});function _0x17f9f7(_0x4fec08,_0x2337ab,_0x151bc5,_0x39a61f,_0x2b043c,_0x12c8b7,_0x417fa6){var _0x5258d2=_0x4fec08+(_0x2337ab&_0x151bc5|~_0x2337ab&_0x39a61f)+_0x2b043c+_0x417fa6;return(_0x5258d2<<_0x12c8b7|_0x5258d2>>>0x20-_0x12c8b7)+_0x2337ab;}function _0x34a700(_0x4b1b9b,_0x363775,_0x5b1d67,_0x370ba4,_0x3e81a8,_0x4133cd,_0x2bcc1d){var _0x4fa79b=_0x4b1b9b+(_0x363775&_0x370ba4|_0x5b1d67&~_0x370ba4)+_0x3e81a8+_0x2bcc1d;return(_0x4fa79b<<_0x4133cd|_0x4fa79b>>>0x20-_0x4133cd)+_0x363775;}function _0xaeb937(_0x5e890c,_0x4c229a,_0x459de9,_0xc0f993,_0x4dafd0,_0x5238f1,_0x431d3f){var _0x43c6e0=_0x5e890c+(_0x4c229a^_0x459de9^_0xc0f993)+_0x4dafd0+_0x431d3f;return(_0x43c6e0<<_0x5238f1|_0x43c6e0>>>0x20-_0x5238f1)+_0x4c229a;}function _0x267180(_0x5220ba,_0x206736,_0x503660,_0xc909a7,_0x42b02d,_0x1d4ce3,_0x538d31){var _0x42e929=_0x5220ba+(_0x503660^(_0x206736|~_0xc909a7))+_0x42b02d+_0x538d31;return(_0x42e929<<_0x1d4ce3|_0x42e929>>>0x20-_0x1d4ce3)+_0x206736;}_0x485862[_0x4d2235(0x2a3)]=_0x48644a[_0x4d2235(0xdc)](_0x25d6ab),_0x485862[_0x4d2235(0x302)]=_0x48644a[_0x4d2235(0x2be)](_0x25d6ab);}(Math),_0x38d43d[_0x3e7d25(0x2a3)];}));}(Ke)),Ke[_0xca32a3(0x329)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x42a875(0x329)],ti;function Hr(){var _0x1a5ad2=_0x42a875;return ti||(ti=0x1,function(_0x567190,_0x1aa55c){(function(_0x5e0a6e,_0x5df912){var _0xe1641c=_0x5999;_0x567190[_0xe1641c(0x329)]=_0x5df912(ne());}($r,function(_0x588880){var _0x1b846d=_0x5999;return(function(){var _0x4f5338=_0x5999,_0x34d561=_0x588880,_0x102ee4=_0x34d561[_0x4f5338(0x168)],_0x5601c1=_0x102ee4[_0x4f5338(0xe5)],_0x4821f9=_0x102ee4[_0x4f5338(0x39e)],_0x1bb9f0=_0x34d561[_0x4f5338(0x391)],_0x485a10=[],_0x4f6ca2=_0x1bb9f0['SHA1']=_0x4821f9[_0x4f5338(0xb9)]({'_doReset':function(){var _0x1eddba=_0x4f5338;this[_0x1eddba(0xed)]=new _0x5601c1['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x6ce839,_0x22f92e){var _0x3f53ed=_0x4f5338;for(var _0x513f88=this[_0x3f53ed(0xed)]['words'],_0x26db64=_0x513f88[0x0],_0x57161f=_0x513f88[0x1],_0xd9556=_0x513f88[0x2],_0x420288=_0x513f88[0x3],_0x30b7af=_0x513f88[0x4],_0x492ade=0x0;_0x492ade<0x50;_0x492ade++){if(_0x492ade<0x10)_0x485a10[_0x492ade]=_0x6ce839[_0x22f92e+_0x492ade]|0x0;else{var _0x462abf=_0x485a10[_0x492ade-0x3]^_0x485a10[_0x492ade-0x8]^_0x485a10[_0x492ade-0xe]^_0x485a10[_0x492ade-0x10];_0x485a10[_0x492ade]=_0x462abf<<0x1|_0x462abf>>>0x1f;}var _0x436dad=(_0x26db64<<0x5|_0x26db64>>>0x1b)+_0x30b7af+_0x485a10[_0x492ade];_0x492ade<0x14?_0x436dad+=(_0x57161f&_0xd9556|~_0x57161f&_0x420288)+0x5a827999:_0x492ade<0x28?_0x436dad+=(_0x57161f^_0xd9556^_0x420288)+0x6ed9eba1:_0x492ade<0x3c?_0x436dad+=(_0x57161f&_0xd9556|_0x57161f&_0x420288|_0xd9556&_0x420288)-0x70e44324:_0x436dad+=(_0x57161f^_0xd9556^_0x420288)-0x359d3e2a,_0x30b7af=_0x420288,_0x420288=_0xd9556,_0xd9556=_0x57161f<<0x1e|_0x57161f>>>0x2,_0x57161f=_0x26db64,_0x26db64=_0x436dad;}_0x513f88[0x0]=_0x513f88[0x0]+_0x26db64|0x0,_0x513f88[0x1]=_0x513f88[0x1]+_0x57161f|0x0,_0x513f88[0x2]=_0x513f88[0x2]+_0xd9556|0x0,_0x513f88[0x3]=_0x513f88[0x3]+_0x420288|0x0,_0x513f88[0x4]=_0x513f88[0x4]+_0x30b7af|0x0;},'_doFinalize':function(){var _0x65e833=_0x4f5338,_0x1513a7=this[_0x65e833(0x266)],_0x1bbf1d=_0x1513a7['words'],_0x3a2213=this[_0x65e833(0x2e5)]*0x8,_0x57aae5=_0x1513a7[_0x65e833(0x294)]*0x8;return _0x1bbf1d[_0x57aae5>>>0x5]|=0x80<<0x18-_0x57aae5%0x20,_0x1bbf1d[(_0x57aae5+0x40>>>0x9<<0x4)+0xe]=Math[_0x65e833(0x24b)](_0x3a2213/0x100000000),_0x1bbf1d[(_0x57aae5+0x40>>>0x9<<0x4)+0xf]=_0x3a2213,_0x1513a7[_0x65e833(0x294)]=_0x1bbf1d[_0x65e833(0xd2)]*0x4,this['_process'](),this[_0x65e833(0xed)];},'clone':function(){var _0x4d016c=_0x4f5338,_0x5bad12=_0x4821f9['clone'][_0x4d016c(0xf2)](this);return _0x5bad12['_hash']=this['_hash']['clone'](),_0x5bad12;}});_0x34d561[_0x4f5338(0x2ac)]=_0x4821f9[_0x4f5338(0xdc)](_0x4f6ca2),_0x34d561[_0x4f5338(0xa5)]=_0x4821f9[_0x4f5338(0x2be)](_0x4f6ca2);}()),_0x588880[_0x1b846d(0x2ac)];}));}(qe)),qe[_0x1a5ad2(0x329)];}var ze={'exports':{}},kr=ze[_0x42a875(0x329)],ii;function jr(){var _0x133a55=_0x42a875;return ii||(ii=0x1,function(_0x2d1bac,_0x484d7c){(function(_0x1bd521,_0x494552){var _0x5ad3d7=_0x5999;_0x2d1bac[_0x5ad3d7(0x329)]=_0x494552(ne());}(kr,function(_0x8ee3f5){(function(){var _0x1f2a50=_0x5999,_0x390e80=_0x8ee3f5,_0x28b8a4=_0x390e80[_0x1f2a50(0x168)],_0x3245c6=_0x28b8a4[_0x1f2a50(0x28c)],_0x445d3c=_0x390e80['enc'],_0x482621=_0x445d3c['Utf8'],_0x40010c=_0x390e80['algo'];_0x40010c[_0x1f2a50(0xac)]=_0x3245c6[_0x1f2a50(0xb9)]({'init':function(_0x107b39,_0x46ba3c){var _0x3cc15a=_0x1f2a50;_0x107b39=this['_hasher']=new _0x107b39[(_0x3cc15a(0x369))](),typeof _0x46ba3c==_0x3cc15a(0x2d1)&&(_0x46ba3c=_0x482621[_0x3cc15a(0xa7)](_0x46ba3c));var _0x333e81=_0x107b39[_0x3cc15a(0x396)],_0x117aec=_0x333e81*0x4;_0x46ba3c[_0x3cc15a(0x294)]>_0x117aec&&(_0x46ba3c=_0x107b39[_0x3cc15a(0x179)](_0x46ba3c)),_0x46ba3c[_0x3cc15a(0x197)]();for(var _0x202dd1=this['_oKey']=_0x46ba3c[_0x3cc15a(0x236)](),_0x4ba173=this['_iKey']=_0x46ba3c[_0x3cc15a(0x236)](),_0x2836e1=_0x202dd1[_0x3cc15a(0x37c)],_0x33ee06=_0x4ba173[_0x3cc15a(0x37c)],_0x3ef3fc=0x0;_0x3ef3fc<_0x333e81;_0x3ef3fc++)_0x2836e1[_0x3ef3fc]^=0x5c5c5c5c,_0x33ee06[_0x3ef3fc]^=0x36363636;_0x202dd1[_0x3cc15a(0x294)]=_0x4ba173[_0x3cc15a(0x294)]=_0x117aec,this[_0x3cc15a(0x13c)]();},'reset':function(){var _0x32dfef=_0x1f2a50,_0x150dff=this[_0x32dfef(0x279)];_0x150dff[_0x32dfef(0x13c)](),_0x150dff[_0x32dfef(0x17b)](this[_0x32dfef(0xb3)]);},'update':function(_0x21436a){var _0x1c9f63=_0x1f2a50;return this[_0x1c9f63(0x279)][_0x1c9f63(0x17b)](_0x21436a),this;},'finalize':function(_0x56c9ee){var _0x3c9d47=_0x1f2a50,_0x4437a3=this[_0x3c9d47(0x279)],_0x4e5c7f=_0x4437a3[_0x3c9d47(0x179)](_0x56c9ee);_0x4437a3[_0x3c9d47(0x13c)]();var _0x22191f=_0x4437a3['finalize'](this[_0x3c9d47(0x272)][_0x3c9d47(0x236)]()[_0x3c9d47(0x1a6)](_0x4e5c7f));return _0x22191f;}});}());}));}(ze)),ze[_0x133a55(0x329)];}var Br=Ye[_0x42a875(0x329)],ni;function Ui(){var _0xf447d8=_0x42a875;return ni||(ni=0x1,function(_0x18c1bd,_0x3540a9){(function(_0x5c9a9c,_0x1ac610,_0xa23ff0){var _0x71fcc5=_0x5999;_0x18c1bd[_0x71fcc5(0x329)]=_0x1ac610(ne(),Hr(),jr());}(Br,function(_0x4707a8){return(function(){var _0x2a9985=_0x5999,_0x9958d5=_0x4707a8,_0x130a92=_0x9958d5[_0x2a9985(0x168)],_0x1d8ac7=_0x130a92['Base'],_0x1261d8=_0x130a92[_0x2a9985(0xe5)],_0x1ca3dc=_0x9958d5[_0x2a9985(0x391)],_0x2005be=_0x1ca3dc[_0x2a9985(0x2a3)],_0x26ca89=_0x1ca3dc['EvpKDF']=_0x1d8ac7['extend']({'cfg':_0x1d8ac7[_0x2a9985(0xb9)]({'keySize':0x80/0x20,'hasher':_0x2005be,'iterations':0x1}),'init':function(_0x48dd90){var _0x500772=_0x2a9985;this['cfg']=this['cfg'][_0x500772(0xb9)](_0x48dd90);},'compute':function(_0x534c63,_0xc51f){var _0x3c05fa=_0x2a9985;for(var _0x236ceb,_0x2d259d=this[_0x3c05fa(0x2f0)],_0x1161a4=_0x2d259d['hasher']['create'](),_0x5bfeff=_0x1261d8[_0x3c05fa(0x307)](),_0x41ffd6=_0x5bfeff[_0x3c05fa(0x37c)],_0x13dd8b=_0x2d259d['keySize'],_0x58be7e=_0x2d259d['iterations'];_0x41ffd6['length']<_0x13dd8b;){_0x236ceb&&_0x1161a4[_0x3c05fa(0x17b)](_0x236ceb),_0x236ceb=_0x1161a4[_0x3c05fa(0x17b)](_0x534c63)[_0x3c05fa(0x179)](_0xc51f),_0x1161a4[_0x3c05fa(0x13c)]();for(var _0x1a0103=0x1;_0x1a0103<_0x58be7e;_0x1a0103++)_0x236ceb=_0x1161a4[_0x3c05fa(0x179)](_0x236ceb),_0x1161a4[_0x3c05fa(0x13c)]();_0x5bfeff[_0x3c05fa(0x1a6)](_0x236ceb);}return _0x5bfeff[_0x3c05fa(0x294)]=_0x13dd8b*0x4,_0x5bfeff;}});_0x9958d5[_0x2a9985(0x33e)]=function(_0x34b65c,_0x348f81,_0x560951){var _0x58fae0=_0x2a9985;return _0x26ca89[_0x58fae0(0x307)](_0x560951)[_0x58fae0(0x220)](_0x34b65c,_0x348f81);};}()),_0x4707a8['EvpKDF'];}));}(Ye)),Ye[_0xf447d8(0x329)];}var Je={'exports':{}},Fr=Je[_0x42a875(0x329)],ri;function _0x5999(_0x4206b8,_0x15e929){var _0x1bc1d5=_0x1bc1();return _0x5999=function(_0x5999c0,_0x3656ed){_0x5999c0=_0x5999c0-0xa1;var _0x96c562=_0x1bc1d5[_0x5999c0];return _0x96c562;},_0x5999(_0x4206b8,_0x15e929);}function Ai(){var _0x1313de=_0x42a875;return ri||(ri=0x1,function(_0x278405,_0x3fc30e){(function(_0x80d3ea,_0x8855f7,_0x11749a){var _0x3bdf7d=_0x5999;_0x278405[_0x3bdf7d(0x329)]=_0x8855f7(ne(),Ui());}(Fr,function(_0x193783){var _0x159f2b=_0x5999;_0x193783['lib'][_0x159f2b(0xe7)]||function(_0x45a2e5){var _0x33d0fe=_0x159f2b,_0x87a906=_0x193783,_0x11cc89=_0x87a906[_0x33d0fe(0x168)],_0x41303f=_0x11cc89[_0x33d0fe(0x28c)],_0x43a11a=_0x11cc89[_0x33d0fe(0xe5)],_0x48dd98=_0x11cc89[_0x33d0fe(0x2eb)],_0x4e989f=_0x87a906[_0x33d0fe(0x21f)];_0x4e989f['Utf8'];var _0x3589a7=_0x4e989f[_0x33d0fe(0x231)],_0x2c67f3=_0x87a906[_0x33d0fe(0x391)],_0x3d3244=_0x2c67f3[_0x33d0fe(0x33e)],_0x45f2e5=_0x11cc89['Cipher']=_0x48dd98[_0x33d0fe(0xb9)]({'cfg':_0x41303f['extend'](),'createEncryptor':function(_0x29194f,_0x36dfd0){var _0x50d76d=_0x33d0fe;return this[_0x50d76d(0x307)](this[_0x50d76d(0x268)],_0x29194f,_0x36dfd0);},'createDecryptor':function(_0x27dd0c,_0x19acff){var _0x5b53c0=_0x33d0fe;return this[_0x5b53c0(0x307)](this['_DEC_XFORM_MODE'],_0x27dd0c,_0x19acff);},'init':function(_0x1e732b,_0x4821a5,_0x2f9598){var _0x8c0f93=_0x33d0fe;this[_0x8c0f93(0x2f0)]=this[_0x8c0f93(0x2f0)][_0x8c0f93(0xb9)](_0x2f9598),this[_0x8c0f93(0x2df)]=_0x1e732b,this[_0x8c0f93(0x10a)]=_0x4821a5,this[_0x8c0f93(0x13c)]();},'reset':function(){var _0x1b2750=_0x33d0fe;_0x48dd98[_0x1b2750(0x13c)][_0x1b2750(0xf2)](this),this[_0x1b2750(0x383)]();},'process':function(_0x1740af){var _0x1bb806=_0x33d0fe;return this[_0x1bb806(0x150)](_0x1740af),this['_process']();},'finalize':function(_0x1801e5){var _0x287950=_0x33d0fe;_0x1801e5&&this[_0x287950(0x150)](_0x1801e5);var _0x2167d8=this[_0x287950(0x1fb)]();return _0x2167d8;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x58a807(_0x24e1eb){var _0x302377=_0x5999;return typeof _0x24e1eb==_0x302377(0x2d1)?_0x1b25ae:_0x45ecad;}return function(_0x4aca1d){return{'encrypt':function(_0x4e3dc5,_0x1138ae,_0x454c65){var _0x1371d1=_0x5999;return _0x58a807(_0x1138ae)[_0x1371d1(0x285)](_0x4aca1d,_0x4e3dc5,_0x1138ae,_0x454c65);},'decrypt':function(_0x525b8f,_0x2bbe41,_0x5cbc35){var _0x397f17=_0x5999;return _0x58a807(_0x2bbe41)[_0x397f17(0x277)](_0x4aca1d,_0x525b8f,_0x2bbe41,_0x5cbc35);}};};}())});_0x11cc89['StreamCipher']=_0x45f2e5['extend']({'_doFinalize':function(){var _0x20f05b=_0x33d0fe,_0x8e3832=this[_0x20f05b(0x351)](!0x0);return _0x8e3832;},'blockSize':0x1});var _0x34807b=_0x87a906['mode']={},_0x21dfee=_0x11cc89['BlockCipherMode']=_0x41303f[_0x33d0fe(0xb9)]({'createEncryptor':function(_0x453e82,_0x28fc1d){var _0x26872a=_0x33d0fe;return this[_0x26872a(0x19e)][_0x26872a(0x307)](_0x453e82,_0x28fc1d);},'createDecryptor':function(_0xe1f244,_0x4e8d08){var _0x2cde9d=_0x33d0fe;return this[_0x2cde9d(0x133)]['create'](_0xe1f244,_0x4e8d08);},'init':function(_0x361b2d,_0x5b1abc){var _0x32f9c1=_0x33d0fe;this[_0x32f9c1(0x2e2)]=_0x361b2d,this['_iv']=_0x5b1abc;}}),_0x49e889=_0x34807b['CBC']=(function(){var _0x1d02f0=_0x33d0fe,_0x469c7d=_0x21dfee[_0x1d02f0(0xb9)]();_0x469c7d[_0x1d02f0(0x19e)]=_0x469c7d[_0x1d02f0(0xb9)]({'processBlock':function(_0x45cbd8,_0x13d6d6){var _0x133fa9=_0x1d02f0,_0x194fb9=this[_0x133fa9(0x2e2)],_0x3fc8e0=_0x194fb9[_0x133fa9(0x396)];_0x5bc71f['call'](this,_0x45cbd8,_0x13d6d6,_0x3fc8e0),_0x194fb9[_0x133fa9(0x316)](_0x45cbd8,_0x13d6d6),this[_0x133fa9(0x186)]=_0x45cbd8[_0x133fa9(0x342)](_0x13d6d6,_0x13d6d6+_0x3fc8e0);}}),_0x469c7d['Decryptor']=_0x469c7d[_0x1d02f0(0xb9)]({'processBlock':function(_0x1493a2,_0x5d41fa){var _0x239aaf=_0x1d02f0,_0x39c703=this[_0x239aaf(0x2e2)],_0x12ad72=_0x39c703['blockSize'],_0x5113b3=_0x1493a2[_0x239aaf(0x342)](_0x5d41fa,_0x5d41fa+_0x12ad72);_0x39c703[_0x239aaf(0x1d1)](_0x1493a2,_0x5d41fa),_0x5bc71f[_0x239aaf(0xf2)](this,_0x1493a2,_0x5d41fa,_0x12ad72),this['_prevBlock']=_0x5113b3;}});function _0x5bc71f(_0xe647e7,_0x366898,_0x1f4846){var _0x1f0e4d=_0x1d02f0,_0x1c7095,_0x22daf6=this['_iv'];_0x22daf6?(_0x1c7095=_0x22daf6,this[_0x1f0e4d(0x370)]=_0x45a2e5):_0x1c7095=this[_0x1f0e4d(0x186)];for(var _0xc445ae=0x0;_0xc445ae<_0x1f4846;_0xc445ae++)_0xe647e7[_0x366898+_0xc445ae]^=_0x1c7095[_0xc445ae];}return _0x469c7d;}()),_0x305a25=_0x87a906[_0x33d0fe(0x306)]={},_0x599567=_0x305a25['Pkcs7']={'pad':function(_0x6ddfce,_0x507b79){var _0x3f9612=_0x33d0fe;for(var _0x57a6a3=_0x507b79*0x4,_0x2b68e2=_0x57a6a3-_0x6ddfce[_0x3f9612(0x294)]%_0x57a6a3,_0x43da6a=_0x2b68e2<<0x18|_0x2b68e2<<0x10|_0x2b68e2<<0x8|_0x2b68e2,_0x2bc0dd=[],_0x47f101=0x0;_0x47f101<_0x2b68e2;_0x47f101+=0x4)_0x2bc0dd['push'](_0x43da6a);var _0x498839=_0x43a11a[_0x3f9612(0x307)](_0x2bc0dd,_0x2b68e2);_0x6ddfce[_0x3f9612(0x1a6)](_0x498839);},'unpad':function(_0x479695){var _0x6880b1=_0x33d0fe,_0x2839b5=_0x479695[_0x6880b1(0x37c)][_0x479695['sigBytes']-0x1>>>0x2]&0xff;_0x479695[_0x6880b1(0x294)]-=_0x2839b5;}};_0x11cc89[_0x33d0fe(0xc5)]=_0x45f2e5['extend']({'cfg':_0x45f2e5[_0x33d0fe(0x2f0)]['extend']({'mode':_0x49e889,'padding':_0x599567}),'reset':function(){var _0x36a202=_0x33d0fe,_0x270369;_0x45f2e5[_0x36a202(0x13c)][_0x36a202(0xf2)](this);var _0x1ccafe=this['cfg'],_0x3b4904=_0x1ccafe['iv'],_0x150231=_0x1ccafe[_0x36a202(0x257)];this[_0x36a202(0x2df)]==this[_0x36a202(0x268)]?_0x270369=_0x150231[_0x36a202(0x253)]:(_0x270369=_0x150231[_0x36a202(0x234)],this[_0x36a202(0x21b)]=0x1),this[_0x36a202(0x29d)]&&this[_0x36a202(0x29d)][_0x36a202(0x320)]==_0x270369?this['_mode'][_0x36a202(0x369)](this,_0x3b4904&&_0x3b4904['words']):(this[_0x36a202(0x29d)]=_0x270369[_0x36a202(0xf2)](_0x150231,this,_0x3b4904&&_0x3b4904['words']),this[_0x36a202(0x29d)][_0x36a202(0x320)]=_0x270369);},'_doProcessBlock':function(_0xbb2ee4,_0x31ba57){var _0x3c9c10=_0x33d0fe;this[_0x3c9c10(0x29d)][_0x3c9c10(0x309)](_0xbb2ee4,_0x31ba57);},'_doFinalize':function(){var _0x56fed6=_0x33d0fe,_0x32ca60,_0x5437b2=this[_0x56fed6(0x2f0)][_0x56fed6(0x2ad)];return this[_0x56fed6(0x2df)]==this[_0x56fed6(0x268)]?(_0x5437b2[_0x56fed6(0x306)](this[_0x56fed6(0x266)],this['blockSize']),_0x32ca60=this[_0x56fed6(0x351)](!0x0)):(_0x32ca60=this[_0x56fed6(0x351)](!0x0),_0x5437b2['unpad'](_0x32ca60)),_0x32ca60;},'blockSize':0x80/0x20});var _0x5844d4=_0x11cc89['CipherParams']=_0x41303f['extend']({'init':function(_0x1c83cf){var _0x321f9f=_0x33d0fe;this[_0x321f9f(0xba)](_0x1c83cf);},'toString':function(_0x9350a7){var _0x2991ed=_0x33d0fe;return(_0x9350a7||this[_0x2991ed(0x384)])[_0x2991ed(0x350)](this);}}),_0x19f170=_0x87a906[_0x33d0fe(0x206)]={},_0x383f16=_0x19f170['OpenSSL']={'stringify':function(_0x57142d){var _0x45de15=_0x33d0fe,_0x4fc622,_0x29f98e=_0x57142d[_0x45de15(0x344)],_0x5231cd=_0x57142d[_0x45de15(0x328)];return _0x5231cd?_0x4fc622=_0x43a11a[_0x45de15(0x307)]([0x53616c74,0x65645f5f])[_0x45de15(0x1a6)](_0x5231cd)['concat'](_0x29f98e):_0x4fc622=_0x29f98e,_0x4fc622[_0x45de15(0x20b)](_0x3589a7);},'parse':function(_0x54da14){var _0x3d6d61=_0x33d0fe,_0x27e566,_0x4f5a94=_0x3589a7[_0x3d6d61(0xa7)](_0x54da14),_0x1da08a=_0x4f5a94[_0x3d6d61(0x37c)];return _0x1da08a[0x0]==0x53616c74&&_0x1da08a[0x1]==0x65645f5f&&(_0x27e566=_0x43a11a[_0x3d6d61(0x307)](_0x1da08a[_0x3d6d61(0x342)](0x2,0x4)),_0x1da08a[_0x3d6d61(0x134)](0x0,0x4),_0x4f5a94['sigBytes']-=0x10),_0x5844d4[_0x3d6d61(0x307)]({'ciphertext':_0x4f5a94,'salt':_0x27e566});}},_0x45ecad=_0x11cc89[_0x33d0fe(0x314)]=_0x41303f[_0x33d0fe(0xb9)]({'cfg':_0x41303f[_0x33d0fe(0xb9)]({'format':_0x383f16}),'encrypt':function(_0x49f007,_0x1054af,_0x356f5a,_0x5f55b2){var _0x340cb2=_0x33d0fe;_0x5f55b2=this['cfg'][_0x340cb2(0xb9)](_0x5f55b2);var _0x2cd6cc=_0x49f007[_0x340cb2(0x253)](_0x356f5a,_0x5f55b2),_0x4a15b3=_0x2cd6cc[_0x340cb2(0x179)](_0x1054af),_0x58d6d6=_0x2cd6cc[_0x340cb2(0x2f0)];return _0x5844d4[_0x340cb2(0x307)]({'ciphertext':_0x4a15b3,'key':_0x356f5a,'iv':_0x58d6d6['iv'],'algorithm':_0x49f007,'mode':_0x58d6d6[_0x340cb2(0x257)],'padding':_0x58d6d6[_0x340cb2(0x2ad)],'blockSize':_0x49f007['blockSize'],'formatter':_0x5f55b2[_0x340cb2(0x206)]});},'decrypt':function(_0x1610e0,_0x5f1d93,_0x418be2,_0x1b774e){var _0x257f07=_0x33d0fe;_0x1b774e=this['cfg'][_0x257f07(0xb9)](_0x1b774e),_0x5f1d93=this['_parse'](_0x5f1d93,_0x1b774e[_0x257f07(0x206)]);var _0x5b20af=_0x1610e0['createDecryptor'](_0x418be2,_0x1b774e)[_0x257f07(0x179)](_0x5f1d93[_0x257f07(0x344)]);return _0x5b20af;},'_parse':function(_0x2f3d8c,_0x2e612d){var _0x3c0227=_0x33d0fe;return typeof _0x2f3d8c==_0x3c0227(0x2d1)?_0x2e612d[_0x3c0227(0xa7)](_0x2f3d8c,this):_0x2f3d8c;}}),_0x470622=_0x87a906[_0x33d0fe(0x340)]={},_0x54b0e5=_0x470622['OpenSSL']={'execute':function(_0x2da6ec,_0x43db41,_0x2756dc,_0x34ecd6,_0x55812c){var _0x5ba153=_0x33d0fe;if(_0x34ecd6||(_0x34ecd6=_0x43a11a[_0x5ba153(0x25a)](0x40/0x8)),_0x55812c)var _0x4f848c=_0x3d3244[_0x5ba153(0x307)]({'keySize':_0x43db41+_0x2756dc,'hasher':_0x55812c})[_0x5ba153(0x220)](_0x2da6ec,_0x34ecd6);else var _0x4f848c=_0x3d3244[_0x5ba153(0x307)]({'keySize':_0x43db41+_0x2756dc})[_0x5ba153(0x220)](_0x2da6ec,_0x34ecd6);var _0x1d5070=_0x43a11a[_0x5ba153(0x307)](_0x4f848c[_0x5ba153(0x37c)][_0x5ba153(0x342)](_0x43db41),_0x2756dc*0x4);return _0x4f848c[_0x5ba153(0x294)]=_0x43db41*0x4,_0x5844d4[_0x5ba153(0x307)]({'key':_0x4f848c,'iv':_0x1d5070,'salt':_0x34ecd6});}},_0x1b25ae=_0x11cc89[_0x33d0fe(0xe6)]=_0x45ecad[_0x33d0fe(0xb9)]({'cfg':_0x45ecad[_0x33d0fe(0x2f0)]['extend']({'kdf':_0x54b0e5}),'encrypt':function(_0x79fb1c,_0x41824e,_0xa3ed30,_0x1666ff){var _0x24fdd6=_0x33d0fe;_0x1666ff=this['cfg']['extend'](_0x1666ff);var _0x7308c9=_0x1666ff['kdf'][_0x24fdd6(0x241)](_0xa3ed30,_0x79fb1c[_0x24fdd6(0xd5)],_0x79fb1c[_0x24fdd6(0x37e)],_0x1666ff['salt'],_0x1666ff['hasher']);_0x1666ff['iv']=_0x7308c9['iv'];var _0x1161aa=_0x45ecad[_0x24fdd6(0x285)]['call'](this,_0x79fb1c,_0x41824e,_0x7308c9[_0x24fdd6(0x151)],_0x1666ff);return _0x1161aa[_0x24fdd6(0xba)](_0x7308c9),_0x1161aa;},'decrypt':function(_0x256103,_0x14e066,_0x4c5008,_0xe69129){var _0x4bca41=_0x33d0fe;_0xe69129=this[_0x4bca41(0x2f0)][_0x4bca41(0xb9)](_0xe69129),_0x14e066=this[_0x4bca41(0x2aa)](_0x14e066,_0xe69129[_0x4bca41(0x206)]);var _0x1a2e2d=_0xe69129[_0x4bca41(0x340)][_0x4bca41(0x241)](_0x4c5008,_0x256103[_0x4bca41(0xd5)],_0x256103[_0x4bca41(0x37e)],_0x14e066['salt'],_0xe69129[_0x4bca41(0x169)]);_0xe69129['iv']=_0x1a2e2d['iv'];var _0x5daadd=_0x45ecad[_0x4bca41(0x277)][_0x4bca41(0xf2)](this,_0x256103,_0x14e066,_0x1a2e2d['key'],_0xe69129);return _0x5daadd;}});}();}));}(Je)),Je[_0x1313de(0x329)];}var Vr=Ve['exports'],si;function Gr(){var _0x88ac4b=_0x42a875;return si||(si=0x1,function(_0x3e968b,_0x13dc89){(function(_0x42f30b,_0xabacd4,_0x1f61bf){var _0xa626f5=_0x5999;_0x3e968b[_0xa626f5(0x329)]=_0xabacd4(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x5d7863){return(function(){var _0x457247=_0x5999,_0x54b66f=_0x5d7863,_0x1564a2=_0x54b66f['lib'],_0x29d4d4=_0x1564a2[_0x457247(0xc5)],_0x38a9aa=_0x54b66f[_0x457247(0x391)],_0x5a9af1=[],_0x34d129=[],_0x35c8f9=[],_0x447c6a=[],_0x378199=[],_0x56842f=[],_0x58bc50=[],_0x3dbe10=[],_0xa0dd76=[],_0x13dc86=[];(function(){for(var _0x51f3b9=[],_0xbbdaa9=0x0;_0xbbdaa9<0x100;_0xbbdaa9++)_0xbbdaa9<0x80?_0x51f3b9[_0xbbdaa9]=_0xbbdaa9<<0x1:_0x51f3b9[_0xbbdaa9]=_0xbbdaa9<<0x1^0x11b;for(var _0x1819e8=0x0,_0x328798=0x0,_0xbbdaa9=0x0;_0xbbdaa9<0x100;_0xbbdaa9++){var _0x4008fb=_0x328798^_0x328798<<0x1^_0x328798<<0x2^_0x328798<<0x3^_0x328798<<0x4;_0x4008fb=_0x4008fb>>>0x8^_0x4008fb&0xff^0x63,_0x5a9af1[_0x1819e8]=_0x4008fb,_0x34d129[_0x4008fb]=_0x1819e8;var _0x1d258f=_0x51f3b9[_0x1819e8],_0x4c6b84=_0x51f3b9[_0x1d258f],_0x2d4e93=_0x51f3b9[_0x4c6b84],_0x405671=_0x51f3b9[_0x4008fb]*0x101^_0x4008fb*0x1010100;_0x35c8f9[_0x1819e8]=_0x405671<<0x18|_0x405671>>>0x8,_0x447c6a[_0x1819e8]=_0x405671<<0x10|_0x405671>>>0x10,_0x378199[_0x1819e8]=_0x405671<<0x8|_0x405671>>>0x18,_0x56842f[_0x1819e8]=_0x405671;var _0x405671=_0x2d4e93*0x1010101^_0x4c6b84*0x10001^_0x1d258f*0x101^_0x1819e8*0x1010100;_0x58bc50[_0x4008fb]=_0x405671<<0x18|_0x405671>>>0x8,_0x3dbe10[_0x4008fb]=_0x405671<<0x10|_0x405671>>>0x10,_0xa0dd76[_0x4008fb]=_0x405671<<0x8|_0x405671>>>0x18,_0x13dc86[_0x4008fb]=_0x405671,_0x1819e8?(_0x1819e8=_0x1d258f^_0x51f3b9[_0x51f3b9[_0x51f3b9[_0x2d4e93^_0x1d258f]]],_0x328798^=_0x51f3b9[_0x51f3b9[_0x328798]]):_0x1819e8=_0x328798=0x1;}}());var _0x440ddd=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4add82=_0x38a9aa['AES']=_0x29d4d4[_0x457247(0xb9)]({'_doReset':function(){var _0x5670d0=_0x457247,_0x5ed432;if(!(this[_0x5670d0(0x1c0)]&&this['_keyPriorReset']===this[_0x5670d0(0x10a)])){for(var _0x14af4e=this[_0x5670d0(0x374)]=this['_key'],_0x42e022=_0x14af4e[_0x5670d0(0x37c)],_0x1d8b5f=_0x14af4e[_0x5670d0(0x294)]/0x4,_0x5a66ad=this[_0x5670d0(0x1c0)]=_0x1d8b5f+0x6,_0x5066a7=(_0x5a66ad+0x1)*0x4,_0x2b3b74=this['_keySchedule']=[],_0x542abc=0x0;_0x542abc<_0x5066a7;_0x542abc++)_0x542abc<_0x1d8b5f?_0x2b3b74[_0x542abc]=_0x42e022[_0x542abc]:(_0x5ed432=_0x2b3b74[_0x542abc-0x1],_0x542abc%_0x1d8b5f?_0x1d8b5f>0x6&&_0x542abc%_0x1d8b5f==0x4&&(_0x5ed432=_0x5a9af1[_0x5ed432>>>0x18]<<0x18|_0x5a9af1[_0x5ed432>>>0x10&0xff]<<0x10|_0x5a9af1[_0x5ed432>>>0x8&0xff]<<0x8|_0x5a9af1[_0x5ed432&0xff]):(_0x5ed432=_0x5ed432<<0x8|_0x5ed432>>>0x18,_0x5ed432=_0x5a9af1[_0x5ed432>>>0x18]<<0x18|_0x5a9af1[_0x5ed432>>>0x10&0xff]<<0x10|_0x5a9af1[_0x5ed432>>>0x8&0xff]<<0x8|_0x5a9af1[_0x5ed432&0xff],_0x5ed432^=_0x440ddd[_0x542abc/_0x1d8b5f|0x0]<<0x18),_0x2b3b74[_0x542abc]=_0x2b3b74[_0x542abc-_0x1d8b5f]^_0x5ed432);for(var _0x2b1448=this[_0x5670d0(0x33c)]=[],_0x1cd935=0x0;_0x1cd935<_0x5066a7;_0x1cd935++){var _0x542abc=_0x5066a7-_0x1cd935;if(_0x1cd935%0x4)var _0x5ed432=_0x2b3b74[_0x542abc];else var _0x5ed432=_0x2b3b74[_0x542abc-0x4];_0x1cd935<0x4||_0x542abc<=0x4?_0x2b1448[_0x1cd935]=_0x5ed432:_0x2b1448[_0x1cd935]=_0x58bc50[_0x5a9af1[_0x5ed432>>>0x18]]^_0x3dbe10[_0x5a9af1[_0x5ed432>>>0x10&0xff]]^_0xa0dd76[_0x5a9af1[_0x5ed432>>>0x8&0xff]]^_0x13dc86[_0x5a9af1[_0x5ed432&0xff]];}}},'encryptBlock':function(_0x4a8a1f,_0x7c301b){var _0x4ca3f2=_0x457247;this['_doCryptBlock'](_0x4a8a1f,_0x7c301b,this[_0x4ca3f2(0x2e0)],_0x35c8f9,_0x447c6a,_0x378199,_0x56842f,_0x5a9af1);},'decryptBlock':function(_0x485ae1,_0x41426c){var _0x3b0312=_0x457247,_0x4cfcff=_0x485ae1[_0x41426c+0x1];_0x485ae1[_0x41426c+0x1]=_0x485ae1[_0x41426c+0x3],_0x485ae1[_0x41426c+0x3]=_0x4cfcff,this[_0x3b0312(0x269)](_0x485ae1,_0x41426c,this[_0x3b0312(0x33c)],_0x58bc50,_0x3dbe10,_0xa0dd76,_0x13dc86,_0x34d129);var _0x4cfcff=_0x485ae1[_0x41426c+0x1];_0x485ae1[_0x41426c+0x1]=_0x485ae1[_0x41426c+0x3],_0x485ae1[_0x41426c+0x3]=_0x4cfcff;},'_doCryptBlock':function(_0x40ae1f,_0x4b046b,_0x277a55,_0x6f326f,_0x4bdafb,_0x4b645f,_0x5df950,_0x318bf7){var _0x33c811=_0x457247;for(var _0x2c17fd=this[_0x33c811(0x1c0)],_0xc786ff=_0x40ae1f[_0x4b046b]^_0x277a55[0x0],_0x425124=_0x40ae1f[_0x4b046b+0x1]^_0x277a55[0x1],_0x554f74=_0x40ae1f[_0x4b046b+0x2]^_0x277a55[0x2],_0x44fe68=_0x40ae1f[_0x4b046b+0x3]^_0x277a55[0x3],_0x53a994=0x4,_0x67e94b=0x1;_0x67e94b<_0x2c17fd;_0x67e94b++){var _0x3caccd=_0x6f326f[_0xc786ff>>>0x18]^_0x4bdafb[_0x425124>>>0x10&0xff]^_0x4b645f[_0x554f74>>>0x8&0xff]^_0x5df950[_0x44fe68&0xff]^_0x277a55[_0x53a994++],_0x54b6a5=_0x6f326f[_0x425124>>>0x18]^_0x4bdafb[_0x554f74>>>0x10&0xff]^_0x4b645f[_0x44fe68>>>0x8&0xff]^_0x5df950[_0xc786ff&0xff]^_0x277a55[_0x53a994++],_0x14f16f=_0x6f326f[_0x554f74>>>0x18]^_0x4bdafb[_0x44fe68>>>0x10&0xff]^_0x4b645f[_0xc786ff>>>0x8&0xff]^_0x5df950[_0x425124&0xff]^_0x277a55[_0x53a994++],_0x1d6500=_0x6f326f[_0x44fe68>>>0x18]^_0x4bdafb[_0xc786ff>>>0x10&0xff]^_0x4b645f[_0x425124>>>0x8&0xff]^_0x5df950[_0x554f74&0xff]^_0x277a55[_0x53a994++];_0xc786ff=_0x3caccd,_0x425124=_0x54b6a5,_0x554f74=_0x14f16f,_0x44fe68=_0x1d6500;}var _0x3caccd=(_0x318bf7[_0xc786ff>>>0x18]<<0x18|_0x318bf7[_0x425124>>>0x10&0xff]<<0x10|_0x318bf7[_0x554f74>>>0x8&0xff]<<0x8|_0x318bf7[_0x44fe68&0xff])^_0x277a55[_0x53a994++],_0x54b6a5=(_0x318bf7[_0x425124>>>0x18]<<0x18|_0x318bf7[_0x554f74>>>0x10&0xff]<<0x10|_0x318bf7[_0x44fe68>>>0x8&0xff]<<0x8|_0x318bf7[_0xc786ff&0xff])^_0x277a55[_0x53a994++],_0x14f16f=(_0x318bf7[_0x554f74>>>0x18]<<0x18|_0x318bf7[_0x44fe68>>>0x10&0xff]<<0x10|_0x318bf7[_0xc786ff>>>0x8&0xff]<<0x8|_0x318bf7[_0x425124&0xff])^_0x277a55[_0x53a994++],_0x1d6500=(_0x318bf7[_0x44fe68>>>0x18]<<0x18|_0x318bf7[_0xc786ff>>>0x10&0xff]<<0x10|_0x318bf7[_0x425124>>>0x8&0xff]<<0x8|_0x318bf7[_0x554f74&0xff])^_0x277a55[_0x53a994++];_0x40ae1f[_0x4b046b]=_0x3caccd,_0x40ae1f[_0x4b046b+0x1]=_0x54b6a5,_0x40ae1f[_0x4b046b+0x2]=_0x14f16f,_0x40ae1f[_0x4b046b+0x3]=_0x1d6500;},'keySize':0x100/0x20});_0x54b66f[_0x457247(0x12e)]=_0x29d4d4['_createHelper'](_0x4add82);}()),_0x5d7863['AES'];}));}(Ve)),Ve[_0x88ac4b(0x329)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x42a875(0x329)],ai;function zr(){var _0x246c75=_0x42a875;return ai||(ai=0x1,function(_0x4ecfa6,_0x4b0ad4){(function(_0x2a509c,_0x4cc3bd){_0x4ecfa6['exports']=_0x4cc3bd(ne());}(qr,function(_0x569af6){var _0x318c76=_0x5999;return _0x569af6[_0x318c76(0x21f)]['Utf8'];}));}(Xe)),Xe[_0x246c75(0x329)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x42a875(0x329)],ci;function Qr(){var _0x3da7ca=_0x42a875;return ci||(ci=0x1,function(_0x11b102,_0x288783){(function(_0x4087a1,_0x57c215){var _0x2b8df6=_0x5999;_0x11b102[_0x2b8df6(0x329)]=_0x57c215(ne());}(Zr,function(_0x1f98cd){var _0x42042b=_0x5999;return(function(){var _0x1c8f0d=_0x5999;if(typeof ArrayBuffer==_0x1c8f0d(0x1ac)){var _0x47dde0=_0x1f98cd,_0x4c863c=_0x47dde0['lib'],_0x13e8e5=_0x4c863c[_0x1c8f0d(0xe5)],_0x1fc367=_0x13e8e5[_0x1c8f0d(0x369)],_0x1b7f9f=_0x13e8e5[_0x1c8f0d(0x369)]=function(_0x1085c3){var _0x5399c5=_0x1c8f0d;if(_0x1085c3 instanceof ArrayBuffer&&(_0x1085c3=new Uint8Array(_0x1085c3)),(_0x1085c3 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1085c3 instanceof Uint8ClampedArray||_0x1085c3 instanceof Int16Array||_0x1085c3 instanceof Uint16Array||_0x1085c3 instanceof Int32Array||_0x1085c3 instanceof Uint32Array||_0x1085c3 instanceof Float32Array||_0x1085c3 instanceof Float64Array)&&(_0x1085c3=new Uint8Array(_0x1085c3[_0x5399c5(0x30f)],_0x1085c3[_0x5399c5(0x2b1)],_0x1085c3['byteLength'])),_0x1085c3 instanceof Uint8Array){for(var _0x3645ea=_0x1085c3['byteLength'],_0x1101c4=[],_0x4f3c18=0x0;_0x4f3c18<_0x3645ea;_0x4f3c18++)_0x1101c4[_0x4f3c18>>>0x2]|=_0x1085c3[_0x4f3c18]<<0x18-_0x4f3c18%0x4*0x8;_0x1fc367[_0x5399c5(0xf2)](this,_0x1101c4,_0x3645ea);}else _0x1fc367[_0x5399c5(0x10b)](this,arguments);};_0x1b7f9f['prototype']=_0x13e8e5;}}()),_0x1f98cd[_0x42042b(0x168)]['WordArray'];}));}(Ze)),Ze[_0x3da7ca(0x329)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x42a875(0x329)],hi;function ns(){return hi||(hi=0x1,function(_0x5b2482,_0x4b6259){(function(_0x432fea,_0x3fef22,_0x21ede3){var _0x45cf49=_0x5999;_0x5b2482[_0x45cf49(0x329)]=_0x3fef22(ne(),Ai());}(is,function(_0xe150ef){var _0x38bd82=_0x5999;return _0xe150ef[_0x38bd82(0x306)][_0x38bd82(0x1b6)]={'pad':function(){},'unpad':function(){}},_0xe150ef[_0x38bd82(0x306)][_0x38bd82(0x1b6)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x12f171,_0x96d1dd){var _0x12e869=_0x42a875;const _0x3f2ed1=_0x96d1dd-_0x12f171[_0x12e869(0xd2)]%_0x96d1dd,_0x4214ed=String[_0x12e869(0x1f4)](_0x3f2ed1)['repeat'](_0x3f2ed1);return _0x12f171+_0x4214ed;}function as(_0x4b4855,_0xb03b8f){var _0x2590fa=_0x42a875;const _0x2796cb=ts[_0x2590fa(0x25a)](0x10),_0x5ac0ea=os(_0x4b4855,0x10),_0x391f27=Kr[_0x2590fa(0x285)](Xr[_0x2590fa(0xa7)](_0x5ac0ea),oi['parse'](_0xb03b8f),{'iv':_0x2796cb,'padding':ss});return _0x2796cb[_0x2590fa(0x1a6)](_0x391f27[_0x2590fa(0x344)])[_0x2590fa(0x20b)](oi);}function cs(){var _0x4c9e8c=_0x42a875;const _0x15c8ad=_0x9f6ef()[_0x4c9e8c(0x35c)];if(_0x15c8ad){const _0x3895c1={'time':Math[_0x4c9e8c(0x24b)](Date[_0x4c9e8c(0x2dd)]()/0x3e8),'domain':location[_0x4c9e8c(0x11a)]};return as(JSON['stringify'](_0x3895c1),_0x15c8ad);}}var hs=Object['defineProperty'],_s=Object['getOwnPropertyDescriptor'],ls=(_0x1eada8,_0x1b3050,_0xfb933c,_0x30979b)=>{for(var _0x5bb11d=_0x30979b>0x1?void 0x0:_0x30979b?_s(_0x1b3050,_0xfb933c):_0x1b3050,_0x131cf6=_0x1eada8['length']-0x1,_0x35a617;_0x131cf6>=0x0;_0x131cf6--)(_0x35a617=_0x1eada8[_0x131cf6])&&(_0x5bb11d=(_0x30979b?_0x35a617(_0x1b3050,_0xfb933c,_0x5bb11d):_0x35a617(_0x5bb11d))||_0x5bb11d);return _0x30979b&&_0x5bb11d&&hs(_0x1b3050,_0xfb933c,_0x5bb11d),_0x5bb11d;},us=(_0x25f7b0,_0x1c6970)=>(_0x1c3bcd,_0x69088c)=>_0x1c6970(_0x1c3bcd,_0x69088c,_0x25f7b0);let ot=class{constructor(_0x3ae104){this['_httpService']=_0x3ae104,this['_initRequestHeader']();}['_initRequestHeader'](){var _0xd7518d=_0x42a875;this[_0xd7518d(0x21a)]['registerHTTPInterceptor']({'interceptor':(_0x22829c,_0x6f4e89)=>{var _0x2e5cf7=_0xd7518d;const _0x29cb7d=_0x22829c[_0x2e5cf7(0x325)],_0xa0c9d=cs();return _0xa0c9d&&_0x29cb7d[_0x2e5cf7(0xee)]('x-univer-host',_0xa0c9d),_0x6f4e89(_0x22829c);}});}};ot=ls([us(0x0,_0x2bf137(_0x93900e))],ot);var ds=Object[_0x42a875(0x143)],fs=Object['getOwnPropertyDescriptor'],vs=(_0xd667a8,_0xd3a349,_0x55466a,_0x43d59a)=>{var _0x564189=_0x42a875;for(var _0x122d8f=_0x43d59a>0x1?void 0x0:_0x43d59a?fs(_0xd3a349,_0x55466a):_0xd3a349,_0x1f6fc0=_0xd667a8[_0x564189(0xd2)]-0x1,_0x42134a;_0x1f6fc0>=0x0;_0x1f6fc0--)(_0x42134a=_0xd667a8[_0x1f6fc0])&&(_0x122d8f=(_0x43d59a?_0x42134a(_0xd3a349,_0x55466a,_0x122d8f):_0x42134a(_0x122d8f))||_0x122d8f);return _0x43d59a&&_0x122d8f&&ds(_0xd3a349,_0x55466a,_0x122d8f),_0x122d8f;},mt=(_0x1e40dd,_0x1d6db8)=>(_0x4d9745,_0x5360f9)=>_0x1d6db8(_0x4d9745,_0x5360f9,_0x1e40dd);let Ot=class extends _0x21fc08{constructor(_0x34446a,_0x27257f,_0x1533fc){var _0x377442=_0x42a875;super(),N(this,_0x377442(0x18d),new _0x3142ca(null)),N(this,_0x377442(0x14b),this[_0x377442(0x18d)]['asObservable']()),(this[_0x377442(0x204)]=_0x34446a,this[_0x377442(0x121)]=_0x27257f,this['_localCacheService']=_0x1533fc);}async[_0x42a875(0x37d)](_0x14b733,_0x2b5744,_0x3ad3fe){var _0x1a1524=_0x42a875;this[_0x1a1524(0x18d)]['next']({'unitId':_0x14b733,'type':_0x2b5744,'subUnitId':_0x3ad3fe});let _0x4f322e=null;switch(_0x2b5744){case Q[_0x1a1524(0x398)]:{_0x4f322e=await this[_0x1a1524(0x215)](_0x14b733);break;}case Q[_0x1a1524(0x164)]:{_0x4f322e=await this['_loadDoc'](_0x14b733);break;}default:{this[_0x1a1524(0x204)][_0x1a1524(0x38f)](_0x1a1524(0x114),_0x1a1524(0xad));break;}}return _0x4f322e;}async[_0x42a875(0x215)](_0x4da2c9){var _0x55d14d=_0x42a875,_0x42f2bd;let _0x38a674=0x0;const _0x21281b=await((_0x42f2bd=this[_0x55d14d(0x2d6)])==null?void 0x0:_0x42f2bd['loadOfflineData'](_0x4da2c9));return _0x21281b&&(_0x21281b[_0x55d14d(0x353)]||_0x21281b['mutations']['length']!==0x0)&&(_0x38a674=_0x21281b[_0x55d14d(0x274)]),_0x38a674===0x0&&this[_0x55d14d(0x204)]['debug'](_0x55d14d(0x114),_0x55d14d(0xe1)),this[_0x55d14d(0x121)][_0x55d14d(0x24c)](_0x4da2c9,_0x38a674);}async[_0x42a875(0x373)](_0x1fe5ea){var _0x11bc25=_0x42a875,_0x58f114;let _0x1f8746=0x0;const _0x4696c5=await((_0x58f114=this[_0x11bc25(0x2d6)])==null?void 0x0:_0x58f114[_0x11bc25(0x11c)](_0x1fe5ea));return _0x4696c5&&(_0x4696c5['awaitingChangeset']||_0x4696c5['mutations']['length']!==0x0)&&(_0x1f8746=_0x4696c5[_0x11bc25(0x274)]),_0x1f8746===0x0&&this[_0x11bc25(0x204)][_0x11bc25(0x2b5)](_0x11bc25(0x114),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x11bc25(0x121)][_0x11bc25(0x300)](_0x1fe5ea,_0x1f8746);}};Ot=vs([mt(0x0,_0x1338e8),mt(0x1,_0x2bf137(_0x1d719f)),mt(0x2,_0x740129(J))],Ot);var ps=Object[_0x42a875(0x143)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x5e1bc7,_0x149cea,_0x299431,_0x28300e)=>{var _0x2bde3f=_0x42a875;for(var _0x5a1948=_0x28300e>0x1?void 0x0:_0x28300e?ms(_0x149cea,_0x299431):_0x149cea,_0x16c0a0=_0x5e1bc7[_0x2bde3f(0xd2)]-0x1,_0x5026bc;_0x16c0a0>=0x0;_0x16c0a0--)(_0x5026bc=_0x5e1bc7[_0x16c0a0])&&(_0x5a1948=(_0x28300e?_0x5026bc(_0x149cea,_0x299431,_0x5a1948):_0x5026bc(_0x5a1948))||_0x5a1948);return _0x28300e&&_0x5a1948&&ps(_0x149cea,_0x299431,_0x5a1948),_0x5a1948;},gt=(_0x55d3fa,_0x54ea57)=>(_0x12f983,_0x1043e2)=>_0x54ea57(_0x12f983,_0x1043e2,_0x55d3fa);const Ss=[_0x42a875(0x149),_0x42a875(0x399),_0x42a875(0x1cc),_0x42a875(0xbf),_0x42a875(0x29b)],Es=0x5*0x400*0x400,Is=_0x42a875(0x13d),Ts=_0x42a875(0x208),Cs=_0x42a875(0x11b),Rs='/universer-api/file/{fileID}/sign-url';let yt=class{constructor(_0x3f1e4a,_0x47158b,_0x2843ee){var _0x2d435e=_0x42a875;N(this,_0x2d435e(0x2d2),0x0),N(this,_0x2d435e(0x1da),new _0x122d74()),N(this,_0x2d435e(0x338),this['_change$']),N(this,'_imageSourceCache',new Map()),(this['_httpService']=_0x3f1e4a,this[_0x2d435e(0x22f)]=_0x47158b,this[_0x2d435e(0x390)]=_0x2843ee);}['setWaitCount'](_0x4d98ee){var _0xce6235=_0x42a875;this['_waitCount']=_0x4d98ee,this[_0xce6235(0x1da)][_0xce6235(0x1e7)](_0x4d98ee);}[_0x42a875(0x1c9)](_0x268539,_0x585313){var _0xaf0d56=_0x42a875;if(_0x585313===_0x4889e5[_0xaf0d56(0x239)]){const _0x2861d7=new Image();return _0x2861d7[_0xaf0d56(0x24a)]=_0x268539,_0x2861d7;}return this[_0xaf0d56(0x16d)][_0xaf0d56(0x385)](_0x268539);}['addImageSourceCache'](_0xa58605,_0x23a63f,_0x105dbf){var _0x4cb13d=_0x42a875;_0x23a63f===_0x4889e5[_0x4cb13d(0x239)]||_0x105dbf==null||this['_imageSourceCache'][_0x4cb13d(0xee)](_0xa58605,_0x105dbf);}async[_0x42a875(0x2fa)](_0x38c1a5){var _0x6068f9=_0x42a875;try{const _0x1d70b9=this[_0x6068f9(0xab)](this[_0x6068f9(0x389)](),''+_0x38c1a5),_0x2adea7=(await this[_0x6068f9(0x21a)][_0x6068f9(0x385)](_0x1d70b9))[_0x6068f9(0x326)];if(_0x2adea7[_0x6068f9(0x38f)]&&_0x2adea7[_0x6068f9(0x38f)][_0x6068f9(0x17c)]===Ii['OK']){const _0x1c9a50=new URL(_0x2adea7[_0x6068f9(0x1ca)],this[_0x6068f9(0xda)]())[_0x6068f9(0x20b)]();return Promise[_0x6068f9(0xfd)](_0x1c9a50);}return Promise['reject'](_0x2adea7[_0x6068f9(0x38f)]);}catch(_0x5dd88a){return Promise['reject'](_0x5dd88a);}}async['saveImage'](_0x1498ae){var _0x3757f7=_0x42a875;let _0x398c71='';if(!Ss[_0x3757f7(0x2fc)](_0x1498ae['type']))return this[_0x3757f7(0x10f)](),Promise[_0x3757f7(0x254)](new Error(_0x3f06eb[_0x3757f7(0x264)]));if(_0x1498ae[_0x3757f7(0x131)]>Es)return this[_0x3757f7(0x10f)](),Promise[_0x3757f7(0x254)](new Error(_0x3f06eb[_0x3757f7(0x1ce)]));try{const _0x3f7afb=new FormData();_0x3f7afb['append'](_0x3757f7(0x1f2),_0x1498ae);const _0x4ca046=this['_univerInstanceService'][_0x3757f7(0x180)](),_0x228a7d=_0x4ca046==null?void 0x0:_0x4ca046['getUnitId']();if(!_0x228a7d)throw new Error(_0x3757f7(0xfc));const _0x121a1f=this[_0x3757f7(0x2ca)]()+_0x3757f7(0x1c7)+_0x1498ae['size'][_0x3757f7(0x20b)]()+'&source='+Ti[_0x3757f7(0x2da)]+'&assign='+encodeURIComponent(_0x228a7d),_0x29f570=await(await fetch(_0x121a1f,{'method':_0x3757f7(0x22e),'body':_0x3f7afb}))['json']();if(typeof _0x29f570[_0x3757f7(0xa2)]!=_0x3757f7(0x2d1))return this[_0x3757f7(0x10f)](),Promise['reject'](new Error(_0x3f06eb[_0x3757f7(0xae)]));_0x398c71=_0x29f570[_0x3757f7(0xa2)];}catch{return this[_0x3757f7(0x10f)](),Promise[_0x3757f7(0x254)](new Error(_0x3f06eb[_0x3757f7(0xae)]));}return new Promise((_0x1d2c3b,_0x28b0f0)=>{var _0xaf7380=_0x3757f7;const _0x15b344=new FileReader();_0x15b344[_0xaf7380(0x1d8)](_0x1498ae),_0x15b344['onload']=_0x59aa57=>{var _0x3fedc9=_0xaf7380,_0xd1a0e0;const _0x38af4e=(_0xd1a0e0=_0x59aa57[_0x3fedc9(0x2b9)])==null?void 0x0:_0xd1a0e0[_0x3fedc9(0x16f)];if(_0x38af4e==null){this[_0x3fedc9(0x10f)](),_0x28b0f0(new Error(_0x3f06eb['ERROR_IMAGE']));return;}const _0x411aba=_0x23b0c2[_0x3fedc9(0x34f)](0x6);_0x1d2c3b({'imageId':_0x411aba,'imageSourceType':_0x4889e5[_0x3fedc9(0x38a)],'source':_0x398c71,'base64Cache':_0x38af4e,'status':_0x3f06eb[_0x3fedc9(0x20e)]}),this[_0x3fedc9(0x10f)]();};});}[_0x42a875(0x2ca)](){var _0x39f7ac=_0x42a875,_0x53aa7a,_0x3f6617;const _0x9e8751=this[_0x39f7ac(0x22f)][_0x39f7ac(0x1c4)](Is),_0x527c87=this[_0x39f7ac(0x22f)][_0x39f7ac(0x1c4)](q);return(_0x3f6617=(_0x53aa7a=_0x527c87==null?void 0x0:_0x527c87[_0x39f7ac(0x1be)])!=null?_0x53aa7a:_0x9e8751)!=null?_0x3f6617:Ts;}[_0x42a875(0x389)](){var _0x27455f=_0x42a875,_0x5596bb,_0x8a1aab;const _0x2ca16d=this[_0x27455f(0x22f)][_0x27455f(0x1c4)](Cs),_0x961bd0=this['_configService']['getConfig'](q);return(_0x8a1aab=(_0x5596bb=_0x961bd0==null?void 0x0:_0x961bd0['signUrlServerUrl'])!=null?_0x5596bb:_0x2ca16d)!=null?_0x8a1aab:Rs;}[_0x42a875(0xda)](){var _0x29ad13=_0x42a875,_0x58c2f0;const _0x3dcb64=this[_0x29ad13(0x22f)]['getConfig'](q);return(_0x58c2f0=_0x3dcb64==null?void 0x0:_0x3dcb64[_0x29ad13(0x129)])!=null?_0x58c2f0:location[_0x29ad13(0x2a5)];}[_0x42a875(0xab)](_0x22798c,_0x4281c0){var _0xbe9686=_0x42a875;return _0x22798c[_0xbe9686(0x136)]('{fileID}',_0x4281c0);}['_decreaseWaiting'](){var _0x4319e6=_0x42a875;this[_0x4319e6(0x2d2)]-=0x1,this['_change$'][_0x4319e6(0x1e7)](this[_0x4319e6(0x2d2)]);}};yt=gs([gt(0x0,_0x2bf137(_0x93900e)),gt(0x1,_0x3da535),gt(0x2,_0x2bf137(_0xb6e8d5))],yt);var bs=Object[_0x42a875(0x143)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x475099,_0x51f448,_0x5696c4,_0x4ff0a9)=>{var _0x5d8899=_0x42a875;for(var _0x1e6158=_0x4ff0a9>0x1?void 0x0:_0x4ff0a9?Os(_0x51f448,_0x5696c4):_0x51f448,_0x14b2a0=_0x475099[_0x5d8899(0xd2)]-0x1,_0x5d698b;_0x14b2a0>=0x0;_0x14b2a0--)(_0x5d698b=_0x475099[_0x14b2a0])&&(_0x1e6158=(_0x4ff0a9?_0x5d698b(_0x51f448,_0x5696c4,_0x1e6158):_0x5d698b(_0x1e6158))||_0x1e6158);return _0x4ff0a9&&_0x1e6158&&bs(_0x51f448,_0x5696c4,_0x1e6158),_0x1e6158;},_i=(_0x26e362,_0x3711ff)=>(_0x2569f2,_0x8a3d07)=>_0x3711ff(_0x2569f2,_0x8a3d07,_0x26e362);const Ns=_0x42a875(0x157);let Nt=class{constructor(_0x3bff4e,_0x5724b0){var _0x17d260=_0x42a875;this[_0x17d260(0x22f)]=_0x3bff4e,this[_0x17d260(0x107)]=_0x5724b0;}[_0x42a875(0x322)](){var _0x1b3df0=_0x42a875,_0x572c44,_0x4b2476;const _0x40b69d=this['_configService'][_0x1b3df0(0x1c4)](Pi),_0x2b7830=this[_0x1b3df0(0x22f)]['getConfig'](q);return(_0x4b2476=(_0x572c44=_0x2b7830==null?void 0x0:_0x2b7830[_0x1b3df0(0xa9)])!=null?_0x572c44:_0x40b69d)!=null?_0x4b2476:Ns;}async[_0x42a875(0x1ea)](_0x18b1bf){var _0x382398=_0x42a875;const _0x2c3c72=this['_getAPIPrefixPath']()+_0x382398(0x217);return{'list':[{'title':_0x382398(0x29f),'mentions':(await this['_HTTPService']['get'](_0x2c3c72,{'params':{'objectID':_0x18b1bf[_0x382398(0xde)],'unitID':_0x18b1bf[_0x382398(0xde)]}}))['body'][_0x382398(0x230)][_0x382398(0x394)](_0x47dbf1=>({'objectId':_0x47dbf1['id'],'name':_0x47dbf1[_0x382398(0x201)][_0x382398(0x155)],'metadata':{'icon':_0x47dbf1[_0x382398(0x201)][_0x382398(0x25b)]},'label':_0x47dbf1[_0x382398(0x201)]['name'],'objectType':_0x4f097e['PERSON']})),'metadata':{},'type':_0x4f097e[_0x382398(0x30a)]}]};}};Nt=ys([_i(0x0,_0x2bf137(_0x3da535)),_i(0x1,_0x2bf137(_0x93900e))],Nt);var Ds=Object[_0x42a875(0x143)],Ps=Object[_0x42a875(0x20c)],ws=(_0x443d75,_0x4f500c,_0xeee6aa,_0x264483)=>{for(var _0x42669d=_0x264483>0x1?void 0x0:_0x264483?Ps(_0x4f500c,_0xeee6aa):_0x4f500c,_0x5d72d7=_0x443d75['length']-0x1,_0x225b72;_0x5d72d7>=0x0;_0x5d72d7--)(_0x225b72=_0x443d75[_0x5d72d7])&&(_0x42669d=(_0x264483?_0x225b72(_0x4f500c,_0xeee6aa,_0x42669d):_0x225b72(_0x42669d))||_0x42669d);return _0x264483&&_0x42669d&&Ds(_0x4f500c,_0xeee6aa,_0x42669d),_0x42669d;},Se=(_0xe5b121,_0xeeea04)=>(_0x202a64,_0x468adf)=>_0xeeea04(_0x202a64,_0x468adf,_0xe5b121);let at=class extends _0x21fc08{constructor(_0x2cd6a1,_0x16f043,_0x28ca51,_0x31fa77,_0x3a93db,_0x1ad196,_0x16313e){var _0x18f639=_0x42a875;super(),this[_0x18f639(0x199)]=_0x2cd6a1,this[_0x18f639(0x390)]=_0x16f043,this['_permissionService']=_0x28ca51,this['_collaborationSessionService']=_0x31fa77,this[_0x18f639(0x1f9)]=_0x3a93db,this[_0x18f639(0x32b)]=_0x1ad196,this['_undoRedoService']=_0x16313e,this[_0x18f639(0x366)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x3d1e56=_0x42a875;const _0x50b608=async _0x51b0d6=>{var _0x16cfcf=_0x5999;(await this[_0x16cfcf(0x317)][_0x16cfcf(0x2c4)](_0x51b0d6))['event$']['pipe'](_0x3ec5cd(_0x4627=>_0x4627[_0x16cfcf(0x34a)]===_0x55f6d8[_0x16cfcf(0x244)]),_0x2706ef(this[_0x16cfcf(0x198)]))['subscribe'](_0x5ec798=>{var _0x567eed=_0x16cfcf;const _0x319087=_0x5ec798,{reason:_0xdd7578}=_0x319087[_0x567eed(0xd4)];this['_collaborationUIEventService'][_0x567eed(0x12c)]({'id':se['CLOSE_ROOM'],'data':_0xdd7578}),this[_0x567eed(0x367)]['updatePermissionPoint'](new _0x4da1be(_0x51b0d6)['id'],!0x1),this[_0x567eed(0x317)][_0x567eed(0x352)](_0x51b0d6);});};_0x2400fd(this[_0x3d1e56(0x390)]['getTypeOfUnitAdded$'](_0x4662fa[_0x3d1e56(0x398)]),this['_univerInstanceService'][_0x3d1e56(0x170)](_0x4662fa[_0x3d1e56(0x164)]))[_0x3d1e56(0x233)](_0x111b78(_0x1d59fa=>_0x1d59fa[_0x3d1e56(0xfe)]()),_0x3ec5cd(_0xdf6a4d=>!_0x49f5d3(_0xdf6a4d)),_0x2706ef(this[_0x3d1e56(0x198)]))[_0x3d1e56(0x2ec)](_0x24f1bf=>{_0x50b608(_0x24f1bf);});}[_0x42a875(0x366)](){var _0x559b1=_0x42a875;const _0x5ec13d=async _0x36fb20=>{var _0x4e66f3=_0x5999;const _0x41ac90=await this['_collaborationSessionService'][_0x4e66f3(0x2c4)](_0x36fb20),_0x3bab48=this[_0x4e66f3(0x199)][_0x4e66f3(0x385)](_0x338000);_0x41ac90[_0x4e66f3(0x22a)]['pipe'](_0x3ec5cd(_0x202d56=>_0x202d56[_0x4e66f3(0x34a)]===_0x55f6d8['UPDATE_PERMISSION_OBJ']),_0x2706ef(this['dispose$']))['subscribe'](_0x24aac1=>{var _0x27b9ad=_0x4e66f3;const _0x39684f=_0x24aac1,{objectId:_0x202931}=_0x39684f[_0x27b9ad(0xd4)];_0x202931===_0x36fb20?_0x3bab48['initWorkbookPermissionChange'](_0x36fb20):_0x3bab48[_0x27b9ad(0x1ff)](_0x36fb20,_0x202931);});};_0x2400fd(this[_0x559b1(0x390)]['getTypeOfUnitAdded$'](_0x4662fa[_0x559b1(0x398)]),this[_0x559b1(0x390)][_0x559b1(0x170)](_0x4662fa[_0x559b1(0x164)]))[_0x559b1(0x233)](_0x111b78(_0x548931=>_0x548931[_0x559b1(0xfe)]()),_0x3ec5cd(_0x30a7b9=>!_0x49f5d3(_0x30a7b9)),_0x2706ef(this['dispose$']))['subscribe'](_0x2bab6a=>{_0x5ec13d(_0x2bab6a);});}};at=ws([Se(0x0,_0x2bf137(_0x2726ca)),Se(0x1,_0xb6e8d5),Se(0x2,_0x39eb8e),Se(0x3,_0x2bf137(Le)),Se(0x4,_0x2bf137(pe)),Se(0x5,_0x4adb72),Se(0x6,_0x4995f7)],at);var Us=Object[_0x42a875(0x143)],As=Object[_0x42a875(0x20c)],xs=(_0x5887c5,_0x4082e9,_0x448e54,_0x26bb22)=>{var _0x301312=_0x42a875;for(var _0x3ae196=_0x26bb22>0x1?void 0x0:_0x26bb22?As(_0x4082e9,_0x448e54):_0x4082e9,_0x1e7fb0=_0x5887c5[_0x301312(0xd2)]-0x1,_0x41f712;_0x1e7fb0>=0x0;_0x1e7fb0--)(_0x41f712=_0x5887c5[_0x1e7fb0])&&(_0x3ae196=(_0x26bb22?_0x41f712(_0x4082e9,_0x448e54,_0x3ae196):_0x41f712(_0x3ae196))||_0x3ae196);return _0x26bb22&&_0x3ae196&&Us(_0x4082e9,_0x448e54,_0x3ae196),_0x3ae196;},li=(_0x166b51,_0x4203c2)=>(_0x4df961,_0x584300)=>_0x4203c2(_0x4df961,_0x584300,_0x166b51);let Dt=class{constructor(_0x37d717,_0x134ef4){var _0x4d6fa0=_0x42a875;this[_0x4d6fa0(0x22f)]=_0x37d717,this[_0x4d6fa0(0x21a)]=_0x134ef4;}async['getUnitOnRev'](_0x4abd91,_0x1b9b74){var _0x2d8840=_0x42a875,_0xb9a5c0;const {unitID:_0x5e8ff8,type:_0x1cc208,revision:_0x57c0d6=0x0}=_0x1b9b74,_0x2318b7=this['getSnapshotAPIPath']()+'/'+_0x1cc208+'/unit/'+_0x5e8ff8+_0x2d8840(0x163)+_0x57c0d6,_0x2804ea=(await this[_0x2d8840(0x21a)]['get'](_0x2318b7))[_0x2d8840(0x326)],_0x1f1632=(_0xb9a5c0=_0x2804ea[_0x2d8840(0x175)])==null?void 0x0:_0xb9a5c0[_0x2d8840(0x1c6)];if(_0x1f1632){const _0x2fa3d2=_0x1f1632==null?void 0x0:_0x1f1632[_0x2d8840(0x2a8)],_0x1b83cb=_0xa94e4b[_0x2d8840(0x27a)](_0x2755be(_0x2fa3d2));_0x1f1632[_0x2d8840(0x2a8)]=_0x1b83cb,Object[_0x2d8840(0x174)](_0x1f1632[_0x2d8840(0x346)])[_0x2d8840(0x17f)](([,_0x205f0e])=>{var _0x310795=_0x2d8840;const _0x3acb89=_0x205f0e[_0x310795(0x2a8)],_0x62bd9c=_0xa94e4b[_0x310795(0x27a)](_0x2755be(_0x3acb89));_0x205f0e[_0x310795(0x2a8)]=_0x62bd9c;});}return _0x2804ea;}async[_0x42a875(0x252)](_0x35c220,_0x8d7b77){var _0x498f93=_0x42a875;const {unitID:_0x464e71,type:_0x4ce13f,blockID:_0x413d73}=_0x8d7b77,_0x36fba4=this[_0x498f93(0x20d)]()+'/'+_0x4ce13f+_0x498f93(0x112)+_0x464e71+'/block/'+_0x413d73;return(await this[_0x498f93(0x21a)][_0x498f93(0x385)](_0x36fba4))[_0x498f93(0x326)];}async['getDeserializedSheetBlock'](_0x290a64,_0x4162d8){var _0x48e52b=_0x42a875;const {unitID:_0x6e2a47,type:_0x27ea68,blockID:_0x593584}=_0x4162d8,_0x17f5e1=this[_0x48e52b(0x20d)]()+_0x48e52b(0x29c)+_0x27ea68+_0x48e52b(0x112)+_0x6e2a47+_0x48e52b(0x29c)+_0x593584;return(await this['_httpService'][_0x48e52b(0x385)](_0x17f5e1))[_0x48e52b(0x326)];}async[_0x42a875(0x152)](_0x1a4b1e,_0x5b49de){var _0x30e99e=_0x42a875;const {unitID:_0x83e1e0,type:_0x52cbfc,from:_0x5f39cf,to:_0x41d741}=_0x5b49de,_0x203f24=this[_0x30e99e(0x20d)]()+'/'+_0x52cbfc+_0x30e99e(0x112)+_0x83e1e0+_0x30e99e(0x1ed)+_0x5f39cf+_0x30e99e(0x280)+_0x41d741;return(await this[_0x30e99e(0x21a)][_0x30e99e(0x385)](_0x203f24))['body'];}[_0x42a875(0x207)](){var _0x1f47a8=_0x42a875,_0x12b312;return(_0x12b312=this[_0x1f47a8(0x22f)][_0x1f47a8(0x1c4)](Tn))!=null?_0x12b312:this[_0x1f47a8(0x20d)]();}['_getAPIPrefix'](){var _0x159ef0=_0x42a875,_0x198d7d,_0x27d1eb;const _0x330f6a=this[_0x159ef0(0x22f)]['getConfig'](En),_0x578b23=this[_0x159ef0(0x22f)]['getConfig'](q);return(_0x27d1eb=(_0x198d7d=_0x578b23==null?void 0x0:_0x578b23[_0x159ef0(0x36b)])!=null?_0x198d7d:_0x330f6a)!=null?_0x27d1eb:In;}async[_0x42a875(0x19a)](_0x4e8b86,_0x346574){var _0x1699ef=_0x42a875;const _0x2db51b=_0x1699ef(0x191)+_0x346574[_0x1699ef(0x21e)]+'/unit/'+_0x346574[_0x1699ef(0x372)]+_0x1699ef(0xaa);return(await this[_0x1699ef(0x21a)][_0x1699ef(0x385)](_0x2db51b,{'params':{'resourceId':JSON[_0x1699ef(0x350)](_0x346574['resourceIDs'])}}))[_0x1699ef(0x326)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x50dccd=_0x42a875;throw new Error(_0x50dccd(0x261));}['saveChangeset'](){var _0x4f79f0=_0x42a875;throw new Error(_0x4f79f0(0x261));}['copyFileMeta'](){var _0x300ecb=_0x42a875;throw new Error(_0x300ecb(0x261));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0x3da535),li(0x1,_0x2bf137(_0x93900e))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x42a875(0x20c)],$s=(_0x192289,_0x1b8559,_0x38a60e,_0x1a0dcc)=>{var _0x2c3c33=_0x42a875;for(var _0x333ab6=_0x1a0dcc>0x1?void 0x0:_0x1a0dcc?Ms(_0x1b8559,_0x38a60e):_0x1b8559,_0x22590f=_0x192289[_0x2c3c33(0xd2)]-0x1,_0x2b73cd;_0x22590f>=0x0;_0x22590f--)(_0x2b73cd=_0x192289[_0x22590f])&&(_0x333ab6=(_0x1a0dcc?_0x2b73cd(_0x1b8559,_0x38a60e,_0x333ab6):_0x2b73cd(_0x333ab6))||_0x333ab6);return _0x1a0dcc&&_0x333ab6&&Ls(_0x1b8559,_0x38a60e,_0x333ab6),_0x333ab6;},Ae=(_0x248084,_0x1f0ec6)=>(_0x46a844,_0x4d3853)=>_0x1f0ec6(_0x46a844,_0x4d3853,_0x248084);let Pt=class extends _0x4c10e0{constructor(_0x38011a,_0x56ffb5,_0x27eac3,_0x278267,_0xe8c5d0){var _0x4b9e02=_0x42a875;super(_0x38011a,_0x56ffb5,_0x27eac3),this[_0x4b9e02(0x365)]=_0x278267,this['_logService']=_0xe8c5d0;}[_0x42a875(0x354)](_0x2e2fde,_0x56706d){var _0x4db5c9=_0x42a875;const _0xbd4439=this[_0x4db5c9(0xbd)](_0x2e2fde);if(_0xbd4439)try{const _0x21469c=this['_transformStack'](_0xbd4439,_0x56706d);this[_0x4db5c9(0x187)](_0x2e2fde,_0x21469c);}catch(_0x36af0d){this[_0x4db5c9(0x204)][_0x4db5c9(0x38f)](_0x4db5c9(0xce),_0x36af0d),this[_0x4db5c9(0x37f)](_0x2e2fde);}const _0xe6d64f=this[_0x4db5c9(0xea)](_0x2e2fde);if(_0xe6d64f)try{const _0x49f719=this['_transformStack'](_0xe6d64f,_0x56706d);this[_0x4db5c9(0x360)](_0x2e2fde,_0x49f719);}catch(_0x51b2c6){this[_0x4db5c9(0x204)]['error'](_0x51b2c6),this[_0x4db5c9(0x1ec)](_0x2e2fde);}}[_0x42a875(0x37f)](_0x3087c4){var _0x3195f3=_0x42a875;const _0x414687=this[_0x3195f3(0xbd)](_0x3087c4);_0x414687&&(_0x414687[_0x3195f3(0xd2)]=0x0,this[_0x3195f3(0xa6)]());}[_0x42a875(0x1ec)](_0x34f646){var _0x4cd338=_0x42a875;const _0x101a9d=this[_0x4cd338(0xea)](_0x34f646);_0x101a9d&&(_0x101a9d[_0x4cd338(0xd2)]=0x0,this[_0x4cd338(0xa6)]());}[_0x42a875(0x187)](_0x29f159,_0x347eea){var _0x477b53=_0x42a875;this['_undoStacks']['set'](_0x29f159,_0x347eea),this[_0x477b53(0xa6)]();}[_0x42a875(0x360)](_0x35b414,_0x56f424){var _0x57c4f6=_0x42a875;this[_0x57c4f6(0x105)]['set'](_0x35b414,_0x56f424),this[_0x57c4f6(0xa6)]();}[_0x42a875(0x356)](_0x483b11,_0x30aa6a){var _0x5f1f02=_0x42a875;const _0x1a0e31=[];let _0x31cfdc=_0x30aa6a,_0x5a6e75=_0x30aa6a;for(let _0x5cefd3=_0x483b11[_0x5f1f02(0xd2)]-0x1;_0x5cefd3>=0x0;_0x5cefd3--){const {unitID:_0x12ed6e,undoMutations:_0x123c9d,redoMutations:_0x19a087}=_0x483b11[_0x5cefd3],_0x533d6d=this[_0x5f1f02(0x365)][_0x5f1f02(0x135)](_0x31cfdc,_0x123c9d),_0x371185=this[_0x5f1f02(0x365)][_0x5f1f02(0x135)](_0x5a6e75,_0x19a087);if(_0x105492(_0x533d6d)||_0x105492(_0x371185)){this[_0x5f1f02(0x204)][_0x5f1f02(0x38f)](_0x5f1f02(0xce),'transformStack\x20failed!',_0x533d6d,_0x371185);break;}_0x31cfdc=_0x533d6d[_0x5f1f02(0x2c7)],_0x5a6e75=_0x371185['c1Prime'],_0x1a0e31[_0x5f1f02(0x357)]({'unitID':_0x12ed6e,'undoMutations':_0x533d6d['m2Prime'],'redoMutations':_0x371185[_0x5f1f02(0x256)]});}return _0x1a0e31[_0x5f1f02(0x1dd)]();}};Pt=$s([Ae(0x0,_0xb6e8d5),Ae(0x1,_0x485ee3),Ae(0x2,_0x502bd),Ae(0x3,_0x1f7611),Ae(0x4,_0x1338e8)],Pt);var xi=Object[_0x42a875(0x143)],Hs=Object[_0x42a875(0x20c)],ks=(_0x3c1858,_0x502ec2,_0x5b4a0d)=>_0x502ec2 in _0x3c1858?xi(_0x3c1858,_0x502ec2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b4a0d}):_0x3c1858[_0x502ec2]=_0x5b4a0d,js=(_0x3bc2e6,_0xedb411,_0x145146,_0xf8e6d5)=>{var _0x31b2a0=_0x42a875;for(var _0x59247c=_0xf8e6d5>0x1?void 0x0:_0xf8e6d5?Hs(_0xedb411,_0x145146):_0xedb411,_0x1c1a02=_0x3bc2e6[_0x31b2a0(0xd2)]-0x1,_0xa1e30f;_0x1c1a02>=0x0;_0x1c1a02--)(_0xa1e30f=_0x3bc2e6[_0x1c1a02])&&(_0x59247c=(_0xf8e6d5?_0xa1e30f(_0xedb411,_0x145146,_0x59247c):_0xa1e30f(_0x59247c))||_0x59247c);return _0xf8e6d5&&_0x59247c&&xi(_0xedb411,_0x145146,_0x59247c),_0x59247c;},St=(_0x330c08,_0x38f3e5)=>(_0x5cf469,_0x23bbf6)=>_0x38f3e5(_0x5cf469,_0x23bbf6,_0x330c08),Bs=(_0x26b748,_0xe92d16,_0x56e45a)=>ks(_0x26b748,_0xe92d16+'',_0x56e45a);const Fs=_0x42a875(0x295);let wt=class extends _0x36d172{constructor(_0x34f1f9=Wt,_0x9cb139,_0x3253bf,_0x4115b3){var _0x356f88=_0x42a875;super(),this[_0x356f88(0xc9)]=_0x34f1f9,this['_logService']=_0x9cb139,this[_0x356f88(0x199)]=_0x3253bf,this[_0x356f88(0x22f)]=_0x4115b3;const {..._0x3c538d}=_0x3e93b3({},Wt,this[_0x356f88(0xc9)]);this['_configService']['setConfig'](q,_0x3c538d);}[_0x42a875(0x32c)](){var _0xa983ff=_0x42a875;this[_0xa983ff(0x28a)](),this[_0xa983ff(0xf3)]();}[_0x42a875(0x28a)](){var _0x196bd0=_0x42a875,_0x218824,_0x19ba42,_0xd96dc4,_0x452df9;this[_0x196bd0(0x199)][_0x196bd0(0xd6)](_0x4995f7)&&this[_0x196bd0(0x204)]['error']('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5a6798=_0x3670f1([[_0x4995f7,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x19ba42=(_0x218824=this[_0x196bd0(0xc9)])==null?void 0x0:_0x218824[_0x196bd0(0x2c2)])!=null?_0x19ba42:Et}],[_0x223f37,{'useClass':Dt}],[_0x4adb72,{'useClass':bt}],[_0x182e0d,{'useClass':yt}],[_0x16c865,{'useClass':Nt}],[rt],[Rt]],(_0xd96dc4=this[_0x196bd0(0xc9)])==null?void 0x0:_0xd96dc4[_0x196bd0(0x144)]);if(!((_0x452df9=this[_0x196bd0(0xc9)])!=null&&_0x452df9[_0x196bd0(0x318)])){const _0x2bd84d=_0x5a6798['findIndex'](([_0x405012])=>_0x405012===ht);_0x2bd84d!==-0x1&&_0x5a6798[_0x196bd0(0x134)](_0x2bd84d,0x1);}_0x393daa(this[_0x196bd0(0x199)],_0x5a6798);}[_0x42a875(0xf3)](){var _0x2813a2=_0x42a875,_0x3a0085,_0x2320c8,_0x59ad6f;this[_0x2813a2(0x199)][_0x2813a2(0x385)](_0x93900e)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x37c912({'maxParallel':0x6})}),(_0x3a0085=this[_0x2813a2(0xc9)])!=null&&_0x3a0085['enableOfflineEditing']||(_0x2320c8=this['_injector']['get'](J,_0x4fbebf['OPTIONAL']))==null||_0x2320c8[_0x2813a2(0x379)](),(_0x59ad6f=this['_config'])!=null&&_0x59ad6f['enableAuthServer']&&_0x4d3fd0(this[_0x2813a2(0x199)],[[st]]),_0x4d3fd0(this[_0x2813a2(0x199)],[[ot],[rt],[at]]);}};Bs(wt,_0x42a875(0x1d5),Fs),wt=js([_0xbbf943(_0x547887,_0x5dd695,_0x5d752a),St(0x1,_0x1338e8),St(0x2,_0x2bf137(_0x2726ca)),St(0x3,_0x3da535)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};