@univerjs-pro/collaboration-client 0.6.0-nightly.202501291606 → 0.6.0-nightly.202501301606

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 _0x1af128=_0x596d;(function(_0x54357c,_0x277910){var _0x419faf=_0x596d,_0x7d8800=_0x54357c();while(!![]){try{var _0x64e8d=parseInt(_0x419faf(0x46a))/0x1+parseInt(_0x419faf(0x411))/0x2*(parseInt(_0x419faf(0x489))/0x3)+parseInt(_0x419faf(0x225))/0x4+parseInt(_0x419faf(0x27f))/0x5+parseInt(_0x419faf(0x3cc))/0x6+-parseInt(_0x419faf(0x2d6))/0x7*(-parseInt(_0x419faf(0x491))/0x8)+-parseInt(_0x419faf(0x482))/0x9;if(_0x64e8d===_0x277910)break;else _0x7d8800['push'](_0x7d8800['shift']());}catch(_0x554bbf){_0x7d8800['push'](_0x7d8800['shift']());}}}(_0x6aa3,0xce6f8));var Li=Object[_0x1af128(0x4ba)],Mi=(_0x346783,_0x2b74e0,_0x3580c8)=>_0x2b74e0 in _0x346783?Li(_0x346783,_0x2b74e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3580c8}):_0x346783[_0x2b74e0]=_0x3580c8,N=(_0x560993,_0x3726a6,_0x30e255)=>Mi(_0x560993,typeof _0x3726a6!=_0x1af128(0x27b)?_0x3726a6+'':_0x3726a6,_0x30e255);import{createIdentifier as _0x22f5cd,Inject as _0x50b881,Injector as _0x339edd,Disposable as _0x1ec030,DisposableCollection as _0x39d6d0,toDisposable as _0x1943de,IConfigService as _0xb3f6ba,ILogService as _0x334ed4,UserManagerService as _0x3c3b47,UniverInstanceType as _0x7a0f38,IUniverInstanceService as _0x42b8e7,LocaleService as _0x3d3898,Optional as _0x325bd4,RxDisposable as _0x4273f8,Tools as _0x15157c,Rectangle as _0x47e43a,ICommandService as _0x4f3e11,JSONX as _0x4890ac,CommandType as _0x572a97,IPermissionService as _0xea2b61,IUndoRedoService as _0x16445d,sequenceExecute as _0x596acb,Workbook as _0x331611,MentionType as _0x4389d9,IAuthzIoService as _0x298ad2,isInternalEditorID as _0xc3ccf8,LocalUndoRedoService as _0x40707b,IContextService as _0x215270,DependentOn as _0x3fade5,Plugin as _0x58ba77,merge as _0x1686f7,mergeOverrideWithDependencies as _0x3b1a20,IMentionIOService as _0x478e21,registerDependencies as _0x48774b,Quantity as _0x8bb0cb,touchDependencies as _0x150a5f}from'@univerjs/core';import{Subject as _0x10c59f,merge as _0x19107a,of as _0x4586b0,BehaviorSubject as _0x230061,takeUntil as _0x1b190a,ReplaySubject as _0x55eb7f,take as _0x2a8f0e,map as _0x3bf594,shareReplay as _0x2b76e9,firstValueFrom as _0x5acfb6,concatMap as _0x196fe2}from'rxjs';import{map as _0x3c96ad,take as _0x41f024,filter as _0x226f92,delay as _0x2468e4,takeUntil as _0x4387d8}from'rxjs/operators';import{HTTPService as _0x51273b,ISocketService as _0x23e178,MergeInterceptorFactory as _0x8ebddf,HTTPRequest as _0x4ca06d,UniverNetworkPlugin as _0x22d427,ThresholdInterceptorFactory as _0x105533}from'@univerjs/network';import{CollaborationEvent as _0x1d08ca,parseChangesetToProtocol as _0x5c8585,ISnapshotServerService as _0x2687e0,isTransformMutationsWithChangesetSuccess as _0x49a34e,ITransformService as _0x207f44,mapDocumentTypeToUniverType as _0x3450b7,RevisionService as _0x1c117d,isTransformChangesetsSuccess as _0x397f0a,CompressMutationService as _0x4651e0,parseProtocolChangeset as _0x1db08e,SnapshotService as _0x2ec050,textEncoder as _0x20eefa,b64DecodeUnicode as _0x55b68d,isTransformMutationsWithChangesetFailure as _0x3abcdb,UniverCollaborationPlugin as _0x1ce121}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3dbc3c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x582104}from'@univerjs/docs';import{SheetsSelectionsService as _0x370139,SetSelectionsOperation as _0x2d5539,InsertSheetMutation as _0x361fa7,EmptyMutation as _0x1a6a86,WorkbookEditablePermission as _0x3ff24a,SheetPermissionInitController as _0x2ba33e,UniverSheetsPlugin as _0x376c94}from'@univerjs/sheets';import{ImageSourceType as _0x544571,ImageUploadStatusType as _0x509a09,IImageIoService as _0x5b5ab5}from'@univerjs/drawing';import{getGlobalObject as _0x58e8fb}from'@univerjs-pro/license';const En=_0x1af128(0x215),In='/universer-api/snapshot',Tn=_0x1af128(0x2ff),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1af128(0x338),bn=_0x1af128(0x3d2),On='/universer-api/user/session-ticket',yn=_0x1af128(0x3f0),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x1af128(0x1e9),wn=0x3,to=_0x1af128(0x413),io=0x3e8,Un=_0x1af128(0x36f),An=_0x1af128(0x1d5),xn=_0x1af128(0x307),Ln=_0x1af128(0x42e),no=_0x1af128(0x2b6),ro=_0x1af128(0x450);var Ii=(_0x52849a=>(_0x52849a[_0x52849a[_0x1af128(0x3d4)]=0x0]=_0x1af128(0x3d4),_0x52849a[_0x52849a['OK']=0x1]='OK',_0x52849a[_0x52849a[_0x1af128(0x335)]=0x2]=_0x1af128(0x335),_0x52849a[_0x52849a['PERMISSION_DENIED']=0x3]=_0x1af128(0x47d),_0x52849a[_0x52849a[_0x1af128(0x3c2)]=0x4]='NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x267)]=0x5]='UNAUTHENTICATED',_0x52849a[_0x52849a[_0x1af128(0x40f)]=0x6]=_0x1af128(0x40f),_0x52849a[_0x52849a[_0x1af128(0x38c)]=0x7]=_0x1af128(0x38c),_0x52849a[_0x52849a[_0x1af128(0x3e5)]=0x8]=_0x1af128(0x3e5),_0x52849a[_0x52849a['COMPLETION_FINISHED']=0x9]=_0x1af128(0x238),_0x52849a[_0x52849a[_0x1af128(0x341)]=0x1389]=_0x1af128(0x341),_0x52849a[_0x52849a[_0x1af128(0x27a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x52849a[_0x52849a[_0x1af128(0x449)]=0x1772]=_0x1af128(0x449),_0x52849a[_0x52849a[_0x1af128(0x361)]=0x1773]=_0x1af128(0x361),_0x52849a[_0x52849a[_0x1af128(0x28b)]=0x1b59]=_0x1af128(0x28b),_0x52849a[_0x52849a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x52849a[_0x52849a[_0x1af128(0x2d3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x52849a[_0x52849a[_0x1af128(0x47b)]=0x1b5c]=_0x1af128(0x47b),_0x52849a[_0x52849a[_0x1af128(0x4b4)]=0x1b5d]='APPLY_DUPLICATED',_0x52849a[_0x52849a[_0x1af128(0x2ba)]=0x1f41]=_0x1af128(0x2ba),_0x52849a[_0x52849a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1af128(0x4bb),_0x52849a[_0x52849a[_0x1af128(0x354)]=0x232a]=_0x1af128(0x354),_0x52849a[_0x52849a[_0x1af128(0x377)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x52849a[_0x52849a[_0x1af128(0x432)]=0x232c]=_0x1af128(0x432),_0x52849a[_0x52849a[_0x1af128(0x2b3)]=0x232d]=_0x1af128(0x2b3),_0x52849a[_0x52849a[_0x1af128(0x3a2)]=0x2711]=_0x1af128(0x3a2),_0x52849a[_0x52849a[_0x1af128(0x24c)]=0x2712]=_0x1af128(0x24c),_0x52849a[_0x52849a[_0x1af128(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x52849a[_0x52849a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x42c)]=0x2af9]=_0x1af128(0x42c),_0x52849a[_0x52849a[_0x1af128(0x46d)]=-0x1]='UNRECOGNIZED',_0x52849a))(Ii||{}),Q=(_0x463b19=>(_0x463b19[_0x463b19[_0x1af128(0x37a)]=0x0]='UNIVER_UNKNOWN',_0x463b19[_0x463b19[_0x1af128(0x43b)]=0x1]=_0x1af128(0x43b),_0x463b19[_0x463b19[_0x1af128(0x3c7)]=0x2]=_0x1af128(0x3c7),_0x463b19[_0x463b19[_0x1af128(0x351)]=0x3]=_0x1af128(0x351),_0x463b19[_0x463b19[_0x1af128(0x33f)]=0x4]=_0x1af128(0x33f),_0x463b19[_0x463b19[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x463b19))(Q||{}),F=(_0x1ef7c9=>(_0x1ef7c9[_0x1ef7c9[_0x1af128(0x2bb)]=0x0]='UNKNOWN_CMD',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x3f4)]=0x1]='HELLO',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x483)]=0x2]=_0x1af128(0x483),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x493)]=0x3]=_0x1af128(0x493),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x373)]=0x4]=_0x1af128(0x373),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x475)]=0x5]=_0x1af128(0x475),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x217)]=0x6]=_0x1af128(0x217),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x1ef7c9))(F||{}),Ee=(_0x24b361=>(_0x24b361[_0x24b361[_0x1af128(0x2d8)]=0x0]=_0x1af128(0x2d8),_0x24b361[_0x24b361['OK']=0x1]='OK',_0x24b361[_0x24b361[_0x1af128(0x1d1)]=0x2]=_0x1af128(0x1d1),_0x24b361[_0x24b361[_0x1af128(0x23b)]=0x3e9]=_0x1af128(0x23b),_0x24b361[_0x24b361[_0x1af128(0x48e)]=0x3ea]=_0x1af128(0x48e),_0x24b361[_0x24b361[_0x1af128(0x422)]=0x3eb]=_0x1af128(0x422),_0x24b361[_0x24b361[_0x1af128(0x4af)]=0x3ec]=_0x1af128(0x4af),_0x24b361[_0x24b361[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x24b361))(Ee||{}),Ti=(_0x59553d=>(_0x59553d[_0x59553d[_0x1af128(0x40a)]=0x0]=_0x1af128(0x40a),_0x59553d[_0x59553d[_0x1af128(0x32a)]=0x1]='HttpImport',_0x59553d[_0x59553d[_0x1af128(0x446)]=0x2]=_0x1af128(0x446),_0x59553d[_0x59553d[_0x1af128(0x41c)]=0x3]=_0x1af128(0x41c),_0x59553d[_0x59553d[_0x1af128(0x4b5)]=0x4]=_0x1af128(0x4b5),_0x59553d[_0x59553d[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x59553d))(Ti||{});const q=_0x1af128(0x319),Wt={};var se=(_0x36532e=>(_0x36532e[_0x1af128(0x302)]='OTHER_CLIENT_EDITING',_0x36532e[_0x1af128(0x47d)]=_0x1af128(0x47d),_0x36532e[_0x1af128(0x3dc)]=_0x1af128(0x3dc),_0x36532e['CLOSE_ROOM']=_0x1af128(0x4d3),_0x36532e[_0x1af128(0x209)]='JOIN_ROOM_FAILED',_0x36532e['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x36532e[_0x1af128(0x4bc)]=_0x1af128(0x4bc),_0x36532e[_0x1af128(0x3af)]=_0x1af128(0x3af),_0x36532e))(se||{});class pe{constructor(){var _0x17c1b2=_0x1af128;N(this,_0x17c1b2(0x3b9),new _0x10c59f()),N(this,_0x17c1b2(0x22e),this['_event$'][_0x17c1b2(0x2c7)]());}[_0x1af128(0x258)](_0x5707dc){var _0x85941d=_0x1af128;this[_0x85941d(0x3b9)][_0x85941d(0x2cb)](_0x5707dc);}}const Mn=_0x22f5cd(_0x1af128(0x2b1));function $n(_0x5511c1){var _0x5b8fd6=_0x1af128,_0x572705,_0x2fe831,_0x5a2fad,_0x37b483,_0x447698;const _0x439784=_0x5511c1[_0x5b8fd6(0x345)],_0xd1e37f=JSON[_0x5b8fd6(0x3df)](_0x439784);switch(_0xd1e37f[_0x5b8fd6(0x223)]){case F[_0x5b8fd6(0x475)]:case F[_0x5b8fd6(0x3f4)]:{const _0x6f612c=_0xd1e37f[_0x5b8fd6(0x2dd)];return{..._0xd1e37f,'data':_0x6f612c,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F[_0x5b8fd6(0x483)]:{const _0x303f0d=_0xd1e37f[_0x5b8fd6(0x2ee)];return{..._0xd1e37f,'data':_0x303f0d,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F['RECV']:{const _0x4f1392=_0xd1e37f[_0x5b8fd6(0x2c4)];switch(_0x4f1392[_0x5b8fd6(0x492)]){case _0x1d08ca['PERMISSION_REJ']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x572705=_0x4f1392[_0x5b8fd6(0x2a2)])==null?void 0x0:_0x572705['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x333)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x2fe831=_0x4f1392[_0x5b8fd6(0x342)])==null?void 0x0:_0x2fe831['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x405)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x5a2fad=_0x4f1392[_0x5b8fd6(0x39b)])==null?void 0x0:_0x5a2fad['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x4a5)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x37b483=_0x4f1392[_0x5b8fd6(0x276)])==null?void 0x0:_0x37b483['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca[_0x5b8fd6(0x4c4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x447698=_0x4f1392[_0x5b8fd6(0x242)])==null?void 0x0:_0x447698['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca['UPDATE_CURSOR']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x3f7)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['USERS_ENTER']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x260)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x33d)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x344)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['LIVESHARE_NEW_HOST']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x41a)]:case _0x1d08ca[_0x5b8fd6(0x2a8)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['liveShareOperation']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x2f4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x222)]:return{..._0xd1e37f,'data':_0x4f1392,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['COMMENT_UPDATE']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x2a3)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x28f)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x362)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x368)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['shouldCloseConn']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x226)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x288)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};default:return _0xd1e37f;}}default:return _0xd1e37f;}}function Hn(_0x1f83c1){var _0x358b6c=_0x1af128;switch(_0x1f83c1[_0x358b6c(0x223)]){case F[_0x358b6c(0x475)]:case F[_0x358b6c(0x3f4)]:return JSON['stringify']({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)]});case F[_0x358b6c(0x373)]:{let _0x4ab46c;switch(_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]){case _0x1d08ca[_0x358b6c(0x3f1)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x3f1)],'updateCursorEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x33d)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x33d)],'leaveEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x418)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x418)],'joinEvent':_0x1f83c1[_0x358b6c(0x345)]['data']};break;}case _0x1d08ca['LIVESHARE_NEW_HOST']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x356)],'liveShareNewHost':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2a8)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2a8)],'liveShareOperation':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2f4)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2f4)],'liveShareTerminate':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x462)]:{_0x4ab46c={'eventID':_0x1d08ca['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca['LIVESHARE_FETCH_OPERATIONS']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x41a)]};break;}default:_0x4ab46c={'eventID':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]};}return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'collaMsg':_0x4ab46c});}case F[_0x358b6c(0x483)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'joinReq':_0x1f83c1['data']});case F[_0x358b6c(0x493)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'leaveReq':_0x1f83c1[_0x358b6c(0x345)]});default:throw new Error(_0x358b6c(0x36b));}}var kn=Object[_0x1af128(0x4ba)],jn=Object[_0x1af128(0x3d3)],Bn=(_0x57eaa9,_0x3a292c,_0x509a67,_0x2995ba)=>{var _0x34e870=_0x1af128;for(var _0x5296bb=_0x2995ba>0x1?void 0x0:_0x2995ba?jn(_0x3a292c,_0x509a67):_0x3a292c,_0x71d241=_0x57eaa9[_0x34e870(0x431)]-0x1,_0x2b1771;_0x71d241>=0x0;_0x71d241--)(_0x2b1771=_0x57eaa9[_0x71d241])&&(_0x5296bb=(_0x2995ba?_0x2b1771(_0x3a292c,_0x509a67,_0x5296bb):_0x2b1771(_0x5296bb))||_0x5296bb);return _0x2995ba&&_0x5296bb&&kn(_0x3a292c,_0x509a67,_0x5296bb),_0x5296bb;},Ue=(_0x386271,_0x3932d7)=>(_0x11bfd1,_0x2c9e01)=>_0x3932d7(_0x11bfd1,_0x2c9e01,_0x386271);const Ci=_0x22f5cd(_0x1af128(0x3bb));function Fn(_0x1581d6,_0x45afe4,_0x13d267){var _0x3b26af=_0x1af128;return _0x1581d6+'/'+_0x45afe4+_0x3b26af(0x29a)+_0x13d267+_0x3b26af(0x4ae);}let Et=class extends _0x1ec030{constructor(_0xd8e413,_0x4a17a6,_0x312a15,_0x5172bb,_0x2f8b3f){var _0x13bcd1=_0x1af128;super(),this['_injector']=_0xd8e413,this[_0x13bcd1(0x437)]=_0x4a17a6,this[_0x13bcd1(0x4d1)]=_0x312a15,this[_0x13bcd1(0x485)]=_0x5172bb,this[_0x13bcd1(0x408)]=_0x2f8b3f;}[_0x1af128(0x252)](_0x2f61b0){var _0xcf4ffd=_0x1af128;const _0x675365=this[_0xcf4ffd(0x367)][_0xcf4ffd(0x416)](_0x23e178);if(!_0x675365)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x35df56=_0x675365[_0xcf4ffd(0x252)](_0x2f61b0);if(!_0x35df56)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5709cf=new _0x39d6d0(),_0x53e358=new _0x10c59f();_0x5709cf['add'](_0x35df56[_0xcf4ffd(0x409)][_0xcf4ffd(0x26c)](_0x919613=>_0x53e358['next'](_0x919613))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x53e358[_0xcf4ffd(0x3b1)]()));const _0x3f1900=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56[_0xcf4ffd(0x414)][_0xcf4ffd(0x26c)](_0xc212e4=>_0x3f1900['next'](_0xc212e4))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x3f1900[_0xcf4ffd(0x3b1)]()));const _0x3caef9=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56['message$'][_0xcf4ffd(0x26c)](_0x126f09=>{var _0x210eb7=_0xcf4ffd;const _0x542c33=$n(_0x126f09);_0x3caef9[_0x210eb7(0x2cb)](_0x542c33);})),_0x5709cf['add'](_0x1943de(()=>_0x3caef9[_0xcf4ffd(0x3b1)]()));let _0xe7b539;const _0x42aae3=()=>{var _0x97b3a9=_0xcf4ffd;_0x3f1900[_0x97b3a9(0x2cb)](new Event('connection\x20error')),_0x53e358[_0x97b3a9(0x2cb)](new CloseEvent('connection\x20error')),_0xe7b539[_0x97b3a9(0x3c0)]();};return _0xe7b539={'memberID':'','close$':_0x53e358[_0xcf4ffd(0x2c7)](),'error$':_0x3f1900['asObservable'](),'open$':_0x35df56[_0xcf4ffd(0x23e)],'message$':_0x3caef9[_0xcf4ffd(0x2c7)](),'send':_0x2de057=>{var _0x4c62dc=_0xcf4ffd;if(_0x2de057[_0x4c62dc(0x223)]===F[_0x4c62dc(0x373)]){if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca['SUBMIT_CHANGESET']){this[_0x4c62dc(0x29c)](_0xe7b539,_0x2de057[_0x4c62dc(0x345)])[_0x4c62dc(0x474)](_0x53e5d8=>{var _0x1a7f52=_0x4c62dc;this[_0x1a7f52(0x485)][_0x1a7f52(0x479)](_0x53e5d8),_0x42aae3();});return;}if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca[_0x4c62dc(0x249)]){const _0x4d2358=_0x2de057['data'];this[_0x4c62dc(0x400)](_0x4d2358)[_0x4c62dc(0x1d4)](_0x1f5bb3=>{var _0x572e82=_0x4c62dc;_0x3caef9['next']({'cmd':F[_0x572e82(0x217)],'code':Ee['OK'],'routeKey':_0x4d2358[_0x572e82(0x345)][_0x572e82(0x1fa)],'routeType':'','data':{'eventID':_0x1d08ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1f5bb3}}});})[_0x4c62dc(0x474)](_0x166639=>{this['_logService']['error'](_0x166639),_0x42aae3();});return;}}_0x35df56['send'](Hn(_0x2de057));},'close':()=>{var _0x3a1b17=_0xcf4ffd;_0x35df56[_0x3a1b17(0x3c0)](),_0x5709cf[_0x3a1b17(0x1d3)]();}},_0xe7b539;}async[_0x1af128(0x29c)](_0x203e97,_0x3cf917){var _0x3f07a0=_0x1af128,_0x33b58e,_0x132429;const {unitType:_0x1c1ed3,unitID:_0x117a8c,changeset:_0x148512}=_0x3cf917['data'],_0x1da415={'unitID':_0x117a8c,'memberID':_0x203e97[_0x3f07a0(0x2a4)],'type':_0x1c1ed3,'changeset':_0x5c8585(_0x148512)},_0x3f8dd2=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](Un),_0x353c5e=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](q),_0x3a8d6c=Fn((_0x132429=(_0x33b58e=_0x353c5e==null?void 0x0:_0x353c5e[_0x3f07a0(0x241)])!=null?_0x33b58e:_0x3f8dd2)!=null?_0x132429:An,_0x1c1ed3,_0x117a8c);try{await this[_0x3f07a0(0x437)][_0x3f07a0(0x4cc)](_0x3a8d6c,{'body':_0x1da415});}catch(_0x4af3be){throw this[_0x3f07a0(0x485)][_0x3f07a0(0x479)](_0x3f07a0(0x259),'submit\x20changeset\x20error!'),_0x4af3be;}}async[_0x1af128(0x400)](_0x53db0f){var _0x1f0975=_0x1af128;const {unitID:_0x494e8b,from:_0x1da37b,to:_0x57fcbb,unitType:_0x3e5a6d}=_0x53db0f[_0x1f0975(0x345)];return(await this[_0x1f0975(0x408)][_0x1f0975(0x33b)]({'metadata':void 0x0},{'unitID':_0x494e8b,'type':_0x3e5a6d,'from':_0x1da37b,'to':_0x57fcbb}))[_0x1f0975(0x3e4)];}};Et=Bn([Ue(0x0,_0x50b881(_0x339edd)),Ue(0x1,_0x50b881(_0x51273b)),Ue(0x2,_0xb3f6ba),Ue(0x3,_0x334ed4),Ue(0x4,_0x2687e0)],Et);const Vn=_0x1af128(0x243);function Gn(_0x534eee){var _0x25dd02=_0x1af128;return JSON[_0x25dd02(0x44b)](_0x534eee)[_0x25dd02(0x431)];}class Ri{constructor(){var _0x5bdfa1=_0x1af128;N(this,_0x5bdfa1(0x421),new _0x10c59f()),N(this,'commentUpdate$',this[_0x5bdfa1(0x421)][_0x5bdfa1(0x2c7)]());}['onCommentUpdate'](_0x8ac70e){var _0x35f5f9=_0x1af128;this[_0x35f5f9(0x421)][_0x35f5f9(0x2cb)](_0x8ac70e);}}var Wn=Object[_0x1af128(0x4ba)],Kn=Object[_0x1af128(0x3d3)],Yn=(_0x29eaa4,_0x1da03c,_0x12be84,_0x3b5b23)=>{var _0x211440=_0x1af128;for(var _0x1ab7a9=_0x3b5b23>0x1?void 0x0:_0x3b5b23?Kn(_0x1da03c,_0x12be84):_0x1da03c,_0x2392f2=_0x29eaa4[_0x211440(0x431)]-0x1,_0x405952;_0x2392f2>=0x0;_0x2392f2--)(_0x405952=_0x29eaa4[_0x2392f2])&&(_0x1ab7a9=(_0x3b5b23?_0x405952(_0x1da03c,_0x12be84,_0x1ab7a9):_0x405952(_0x1ab7a9))||_0x1ab7a9);return _0x3b5b23&&_0x1ab7a9&&Wn(_0x1da03c,_0x12be84,_0x1ab7a9),_0x1ab7a9;},Kt=(_0x12ac19,_0x2da4a8)=>(_0x33293d,_0x2b6583)=>_0x2da4a8(_0x33293d,_0x2b6583,_0x12ac19);let xe=class extends _0x1ec030{constructor(_0x2f5bd5,_0x6db48d){var _0xe4cbf=_0x1af128;super(),N(this,_0xe4cbf(0x291),new Map()),N(this,_0xe4cbf(0x3e3),new _0x10c59f()),(this['_univerInstanceService']=_0x2f5bd5,this[_0xe4cbf(0x3c4)]=_0x6db48d,this['disposeWithMe'](_0x19107a(this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x3c7)])[_0xe4cbf(0x463)](_0x3c96ad(_0x1f044c=>_0x1f044c[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x43b)])['pipe'](_0x3c96ad(_0x3041b2=>_0x3041b2[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38['UNIVER_SLIDE'])[_0xe4cbf(0x463)](_0x3c96ad(_0x1226a1=>_0x1226a1[_0xe4cbf(0x26b)]())))['subscribe'](_0x57824d=>this[_0xe4cbf(0x2d7)](_0x57824d))));}['waitForRoom$'](_0x4cd296){var _0x598f15=_0x1af128;return this[_0x598f15(0x291)]['has'](_0x4cd296)?_0x4586b0(this[_0x598f15(0x291)][_0x598f15(0x416)](_0x4cd296)):this['_roomCreated$'][_0x598f15(0x463)](_0x3c96ad(_0x33c9e9=>{var _0x175fe9=_0x598f15;if(_0x33c9e9===_0x4cd296)return this['_roomMembers'][_0x175fe9(0x416)](_0x33c9e9);}));}[_0x1af128(0x39f)](_0x29497b){var _0x495c76=_0x1af128;this['_userManagerService'][_0x495c76(0x39f)](_0x29497b);}[_0x1af128(0x1dc)](){var _0x11bf15=_0x1af128;return this[_0x11bf15(0x3c4)][_0x11bf15(0x1dc)]();}['updateMember'](_0x10fd5a,_0x2ec813){var _0x324dcb=_0x1af128;let _0x25a4fe=this[_0x324dcb(0x291)]['get'](_0x10fd5a);_0x25a4fe||(_0x25a4fe=new qn(),this[_0x324dcb(0x291)][_0x324dcb(0x255)](_0x10fd5a,_0x25a4fe),this['_roomCreated$'][_0x324dcb(0x2cb)](_0x10fd5a)),_0x25a4fe[_0x324dcb(0x20a)](_0x2ec813);}[_0x1af128(0x3e2)](_0x72e4b5,_0x24efd8){var _0x2a0014=_0x1af128;const _0xde819a=this[_0x2a0014(0x291)][_0x2a0014(0x416)](_0x72e4b5);_0xde819a&&_0xde819a['removeMember'](_0x24efd8);}[_0x1af128(0x419)](_0x1fc310){var _0x54aa3a=_0x1af128;return this[_0x54aa3a(0x291)][_0x54aa3a(0x416)](_0x1fc310);}[_0x1af128(0x41f)](_0xed560c,_0x4c8e31){var _0x12f386=_0x1af128;const _0x1279c7=this[_0x12f386(0x291)]['get'](_0xed560c);if(_0x1279c7)return _0x1279c7[_0x12f386(0x41f)](_0x4c8e31);}[_0x1af128(0x2d7)](_0x51a9b0){var _0x2c2344=_0x1af128;const _0x11c721=this[_0x2c2344(0x291)][_0x2c2344(0x416)](_0x51a9b0);_0x11c721&&(_0x11c721[_0x2c2344(0x1d3)](),this[_0x2c2344(0x291)]['delete'](_0x51a9b0));}[_0x1af128(0x1d3)](){var _0x5946ff=_0x1af128;this[_0x5946ff(0x291)][_0x5946ff(0x30f)](_0x1cb119=>_0x1cb119[_0x5946ff(0x1d3)]()),this['_roomMembers'][_0x5946ff(0x348)](),this[_0x5946ff(0x3e3)][_0x5946ff(0x3b1)]();}};xe=Yn([Kt(0x0,_0x42b8e7),Kt(0x1,_0x50b881(_0x3c3b47))],xe);class qn extends _0x1ec030{constructor(){var _0x2bf24f=_0x1af128;super(...arguments),N(this,_0x2bf24f(0x451),new Map()),N(this,_0x2bf24f(0x295),new _0x230061(this[_0x2bf24f(0x451)])),N(this,'members$',this[_0x2bf24f(0x295)][_0x2bf24f(0x2c7)]());}[_0x1af128(0x1d3)](){var _0x31b19c=_0x1af128;this['_members'][_0x31b19c(0x348)]();}['updateMember'](_0x5be122){var _0x5d2c2a=_0x1af128;this['_members'][_0x5d2c2a(0x255)](_0x5be122[_0x5d2c2a(0x2a4)],_0x5be122),this['_emitMembers']();}[_0x1af128(0x3e2)](_0x291ace){var _0x4c0159=_0x1af128;this[_0x4c0159(0x451)][_0x4c0159(0x31f)](_0x291ace);}['getMember'](_0x13a470){var _0x2d8812=_0x1af128;return this[_0x2d8812(0x451)]['get'](_0x13a470);}[_0x1af128(0x272)](){var _0x5dd64d=_0x1af128;return Array['from'](this[_0x5dd64d(0x451)][_0x5dd64d(0x355)]());}[_0x1af128(0x3ae)](){var _0x16f330=_0x1af128;this[_0x16f330(0x295)][_0x16f330(0x2cb)](this[_0x16f330(0x451)]);}}var zn=Object[_0x1af128(0x4ba)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x3c84ea,_0x2877ed,_0x25567c,_0x176d03)=>{var _0xeb4b78=_0x1af128;for(var _0x39b33c=_0x176d03>0x1?void 0x0:_0x176d03?Jn(_0x2877ed,_0x25567c):_0x2877ed,_0x319bd3=_0x3c84ea[_0xeb4b78(0x431)]-0x1,_0x45dc48;_0x319bd3>=0x0;_0x319bd3--)(_0x45dc48=_0x3c84ea[_0x319bd3])&&(_0x39b33c=(_0x176d03?_0x45dc48(_0x2877ed,_0x25567c,_0x39b33c):_0x45dc48(_0x39b33c))||_0x39b33c);return _0x176d03&&_0x39b33c&&zn(_0x2877ed,_0x25567c,_0x39b33c),_0x39b33c;},me=(_0x23281d,_0x1dd725)=>(_0x1b14ce,_0x3507d6)=>_0x1dd725(_0x1b14ce,_0x3507d6,_0x23281d),Te=(_0x1718ff=>(_0x1718ff[_0x1718ff[_0x1af128(0x220)]=0x0]=_0x1af128(0x220),_0x1718ff[_0x1718ff[_0x1af128(0x48d)]=0x1]='JOINING',_0x1718ff[_0x1718ff['OFFLINE']=0x2]=_0x1af128(0x2b8),_0x1718ff[_0x1718ff[_0x1af128(0x336)]=0x3]='ONLINE',_0x1718ff))(Te||{});const Yt={[Ee[_0x1af128(0x1d1)]]:_0x1af128(0x3da),[Ee['JOIN_ROOM_FULL']]:_0x1af128(0x229),[Ee[_0x1af128(0x48e)]]:_0x1af128(0x3d9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x1af128(0x20c),[Ee[_0x1af128(0x4af)]]:_0x1af128(0x37d)};let It=class extends _0x4273f8{constructor(_0x57e68d,_0x373c49,_0x3b8a9d,_0x361615,_0x4c15cc,_0x1aed72,_0x5d3517,_0xe01458,_0x1ce16f){var _0x5b238e=_0x1af128;super(),N(this,'_sessionStatus$',new _0x230061(0x0)),N(this,_0x5b238e(0x214),this[_0x5b238e(0x434)][_0x5b238e(0x2c7)]()),N(this,_0x5b238e(0x3b9),new _0x10c59f()),N(this,'event$',this[_0x5b238e(0x3b9)][_0x5b238e(0x2c7)]()),N(this,'_socket'),N(this,_0x5b238e(0x1db)),N(this,_0x5b238e(0x28c)),N(this,_0x5b238e(0x254),!0x1),N(this,_0x5b238e(0x37b),null),(this[_0x5b238e(0x2e3)]=_0x57e68d,this['_logService']=_0x3b8a9d,this[_0x5b238e(0x4d1)]=_0x361615,this[_0x5b238e(0x4c2)]=_0x4c15cc,this[_0x5b238e(0x37c)]=_0x1aed72,this[_0x5b238e(0x314)]=_0x5d3517,this[_0x5b238e(0x4b1)]=_0xe01458,this[_0x5b238e(0x394)]=_0x1ce16f,this[_0x5b238e(0x254)]=!!this['_telemetryService'],_0x373c49[_0x5b238e(0x463)](_0x1b190a(this['dispose$']))[_0x5b238e(0x26c)](_0x95d0be=>{var _0x260215=_0x5b238e,_0xf88e2f;typeof _0x95d0be>'u'||(this[_0x260215(0x31d)]=_0x95d0be,_0x95d0be?(this['_joinRoom'](_0x95d0be),this[_0x260215(0x1db)]=_0x95d0be[_0x260215(0x45e)]['subscribe'](_0x1b2153=>{var _0x51b50b=_0x260215;_0x1b2153['routeKey']===this[_0x51b50b(0x2e3)]&&this['_onCombEvent'](_0x1b2153);})):(this[_0x260215(0x3d0)](),this[_0x260215(0x434)][_0x260215(0x2cb)](0x2),(_0xf88e2f=this['_socketMessageSubscription'])==null||_0xf88e2f[_0x260215(0x1f6)](),this[_0x260215(0x1db)]=null));}));}get[_0x1af128(0x495)](){var _0x340704=_0x1af128;return this['_sessionStatus$'][_0x340704(0x2f7)]();}[_0x1af128(0x435)](){var _0x4f8b1a=_0x1af128,_0x29a04a,_0x36fda0;return(_0x36fda0=(_0x29a04a=this[_0x4f8b1a(0x31d)])==null?void 0x0:_0x29a04a['memberID'])!=null?_0x36fda0:null;}['dispose'](){var _0x59151c=_0x1af128;super[_0x59151c(0x1d3)](),this[_0x59151c(0x2f3)][_0x59151c(0x2cb)](),this['dispose$'][_0x59151c(0x3b1)]();}[_0x1af128(0x3c0)](){var _0x153ece=_0x1af128,_0x50c18e,_0x1e91f8;this[_0x153ece(0x3d0)](),(_0x50c18e=this[_0x153ece(0x31d)])==null||_0x50c18e[_0x153ece(0x444)]({'cmd':F[_0x153ece(0x493)],'data':{'roomID':this[_0x153ece(0x2e3)]}}),(_0x1e91f8=this[_0x153ece(0x31d)])==null||_0x1e91f8[_0x153ece(0x3c0)](),this[_0x153ece(0x3b9)][_0x153ece(0x3b1)](),this[_0x153ece(0x434)]['complete'](),this['dispose']();}['_onCombEvent'](_0x59bb61){var _0x21df86=_0x1af128;_0x59bb61[_0x21df86(0x223)]===F[_0x21df86(0x483)]?this[_0x21df86(0x34f)](_0x59bb61):_0x59bb61['cmd']===F[_0x21df86(0x217)]&&this[_0x21df86(0x33e)](_0x59bb61);}[_0x1af128(0x2fb)](_0xce0a15){var _0x39f688=_0x1af128;this[_0x39f688(0x434)]['next'](0x1),_0xce0a15[_0x39f688(0x444)]({'cmd':F[_0x39f688(0x483)],'routeKey':this[_0x39f688(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x39f688(0x2e3)]}]}});}[_0x1af128(0x34f)](_0xead141){var _0x20a79b=_0x1af128,_0x36f846;if(_0xead141['code']in Yt){this[_0x20a79b(0x4b1)]['emitEvent']({'id':se[_0x20a79b(0x209)],'data':Yt[_0xead141[_0x20a79b(0x2c3)]]}),this['_sessionStatus$'][_0x20a79b(0x2cb)](0x2);return;}this[_0x20a79b(0x434)][_0x20a79b(0x2cb)](0x3);const _0x35ce16=(_0x36f846=_0xead141[_0x20a79b(0x345)][_0x20a79b(0x31b)][this['_unitID']])==null?void 0x0:_0x36f846[_0x20a79b(0x268)];_0x35ce16&&_0x35ce16[_0x20a79b(0x30f)](_0x7df805=>this[_0x20a79b(0x37c)][_0x20a79b(0x20a)](this[_0x20a79b(0x2e3)],_0x7df805));}[_0x1af128(0x33e)](_0x290133){var _0x83fc99=_0x1af128;try{const _0x400591=_0x290133['data'];switch(_0x400591[_0x83fc99(0x492)]){case _0x1d08ca[_0x83fc99(0x418)]:this['_onUserJoin'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x33d)]:this['_onUserLeave'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x333)]:case _0x1d08ca[_0x83fc99(0x4c4)]:this[_0x83fc99(0x378)](),this[_0x83fc99(0x4ad)](),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x222)]:this[_0x83fc99(0x485)][_0x83fc99(0x479)](_0x83fc99(0x39d)+JSON[_0x83fc99(0x44b)](_0x400591)),this[_0x83fc99(0x3b9)]['next'](_0x400591);break;case _0x1d08ca[_0x83fc99(0x1fc)]:this[_0x83fc99(0x314)]['onCommentUpdate'](_0x400591[_0x83fc99(0x345)]),this['_event$'][_0x83fc99(0x2cb)](_0x400591);break;default:this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);}}catch(_0x230ae3){this['_logService'][_0x83fc99(0x479)](_0x230ae3,_0x290133);}}[_0x1af128(0x45b)](_0x1f0a8e){var _0x188923=_0x1af128;this[_0x188923(0x37c)][_0x188923(0x20a)](this[_0x188923(0x2e3)],_0x1f0a8e[_0x188923(0x345)]);}['_onUserLeave'](_0x56cb83){var _0x13ec04=_0x1af128;this['_memberService'][_0x13ec04(0x3e2)](this['_unitID'],_0x56cb83[_0x13ec04(0x345)][_0x13ec04(0x2a4)]);}async[_0x1af128(0x444)](_0x80a34e,_0x53f338){var _0x5c5ea8=_0x1af128;if(this[_0x5c5ea8(0x495)]!==0x3||!this['_socket'])throw new Error(_0x5c5ea8(0x3fd));try{_0x80a34e[_0x5c5ea8(0x492)]===_0x1d08ca[_0x5c5ea8(0x2b2)]&&(this[_0x5c5ea8(0x2ab)](),this[_0x5c5ea8(0x213)](_0x80a34e)),this[_0x5c5ea8(0x31d)][_0x5c5ea8(0x444)]({'cmd':F[_0x5c5ea8(0x373)],'routeKey':_0x53f338,'routeType':'','data':_0x80a34e});}catch(_0x3e088b){this[_0x5c5ea8(0x485)]['error'](_0x3e088b);}}[_0x1af128(0x2ab)](){var _0x23cca4=_0x1af128,_0x1633be;this[_0x23cca4(0x28c)]=setTimeout(()=>{var _0xc396d1=_0x23cca4;this[_0xc396d1(0x28c)]=null,this[_0xc396d1(0x4b1)][_0xc396d1(0x258)]({'id':se[_0xc396d1(0x3af)]});},(_0x1633be=this['_configService'][_0x23cca4(0x49e)](Si))!=null?_0x1633be:Ei);}[_0x1af128(0x4ad)](){var _0x491710=_0x1af128;this[_0x491710(0x28c)]&&(clearTimeout(this[_0x491710(0x28c)]),this[_0x491710(0x28c)]=null);}[_0x1af128(0x213)](_0x190c14){var _0x57c2e1=_0x1af128;if(!this[_0x57c2e1(0x254)])return;const {data:_0x2c8543}=_0x190c14,{unitID:_0x37a386,changeset:_0x135382}=_0x2c8543,{mutations:_0x581425,type:_0x16daaf}=_0x135382;this[_0x57c2e1(0x37b)]={'unitId':_0x37a386,'type':_0x16daaf,'startTime':performance[_0x57c2e1(0x428)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x581425)};}[_0x1af128(0x378)](){var _0x1b7aed=_0x1af128;if(this[_0x1b7aed(0x254)]){if(!this['_telemetryInfo']){this[_0x1b7aed(0x485)][_0x1b7aed(0x479)](_0x1b7aed(0x259),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1b7aed(0x37b)]['stopTime']=performance[_0x1b7aed(0x428)](),this[_0x1b7aed(0x37b)][_0x1b7aed(0x233)]=this[_0x1b7aed(0x37b)]['stopTime']-this[_0x1b7aed(0x37b)][_0x1b7aed(0x285)],this[_0x1b7aed(0x394)][_0x1b7aed(0x391)](Vn,this[_0x1b7aed(0x37b)]),this[_0x1b7aed(0x37b)]=null;}}[_0x1af128(0x3d0)](){var _0xdb2166=_0x1af128;this[_0xdb2166(0x37b)]=null;}};It=Xn([me(0x2,_0x334ed4),me(0x3,_0xb3f6ba),me(0x4,_0x50b881(_0x3d3898)),me(0x5,_0x50b881(xe)),me(0x6,_0x50b881(Ri)),me(0x7,_0x50b881(pe)),me(0x8,_0x325bd4(_0x3dbc3c))],It);var Zn=Object[_0x1af128(0x4ba)],Qn=Object[_0x1af128(0x3d3)],er=(_0x29a323,_0x52abcd,_0x56da52,_0x67f6e7)=>{for(var _0x53987b=_0x67f6e7>0x1?void 0x0:_0x67f6e7?Qn(_0x52abcd,_0x56da52):_0x52abcd,_0x5efb02=_0x29a323['length']-0x1,_0xda1e06;_0x5efb02>=0x0;_0x5efb02--)(_0xda1e06=_0x29a323[_0x5efb02])&&(_0x53987b=(_0x67f6e7?_0xda1e06(_0x52abcd,_0x56da52,_0x53987b):_0xda1e06(_0x53987b))||_0x53987b);return _0x67f6e7&&_0x53987b&&Zn(_0x52abcd,_0x56da52,_0x53987b),_0x53987b;},ge=(_0x3bfb91,_0xa98021)=>(_0x4b4fc4,_0x1963f3)=>_0xa98021(_0x4b4fc4,_0x1963f3,_0x3bfb91);let Le=class extends _0x1ec030{constructor(_0x49bd31,_0x177a1c,_0x59d771,_0x32b823,_0x5b1ef7,_0x3f506b,_0x1a34ca){var _0x3de4fb=_0x1af128;super(),N(this,_0x3de4fb(0x2bc),new _0x230061(void 0x0)),N(this,_0x3de4fb(0x443),this['_socket$'][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x350),null),N(this,'_sessions',new Map()),N(this,_0x3de4fb(0x3c8),new _0x230061(Te[_0x3de4fb(0x220)])),N(this,_0x3de4fb(0x388),this[_0x3de4fb(0x3c8)][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x415),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3de4fb(0x20d),0x0),N(this,_0x3de4fb(0x27e)),N(this,'_timeoutTimer'),(this[_0x3de4fb(0x367)]=_0x49bd31,this['_logService']=_0x177a1c,this[_0x3de4fb(0x4d1)]=_0x59d771,this[_0x3de4fb(0x44f)]=_0x32b823,this[_0x3de4fb(0x1ea)]=_0x5b1ef7,this[_0x3de4fb(0x4b1)]=_0x3f506b,this[_0x3de4fb(0x204)]=_0x1a34ca,this['_listenToNetworkCondition']());}get[_0x1af128(0x31d)](){var _0x2c911d=_0x1af128;return this[_0x2c911d(0x2bc)][_0x2c911d(0x2f7)]();}[_0x1af128(0x433)](){var _0x42e027=_0x1af128;this[_0x42e027(0x204)]&&this[_0x42e027(0x3b0)](this[_0x42e027(0x204)][_0x42e027(0x429)][_0x42e027(0x26c)](_0x2f0566=>{var _0x40f7df=_0x42e027;_0x2f0566&&!this[_0x40f7df(0x31d)]&&this[_0x40f7df(0x2c9)](),_0x2f0566||this[_0x40f7df(0x359)]();}));}[_0x1af128(0x1d3)](){var _0x2e6ec3=_0x1af128;super[_0x2e6ec3(0x1d3)](),this['_sessions'][_0x2e6ec3(0x30f)](_0x219671=>_0x219671[_0x2e6ec3(0x1d3)]()),this[_0x2e6ec3(0x36d)][_0x2e6ec3(0x348)](),this[_0x2e6ec3(0x3c8)][_0x2e6ec3(0x3b1)]();}async['requireSession'](_0x442f0c){var _0x2443ca=_0x1af128;if(this['_sessions'][_0x2443ca(0x278)](_0x442f0c))return this[_0x2443ca(0x36d)][_0x2443ca(0x416)](_0x442f0c);this[_0x2443ca(0x331)]();const _0x2fea0c=this[_0x2443ca(0x367)][_0x2443ca(0x372)](It,_0x442f0c,this[_0x2443ca(0x2bc)][_0x2443ca(0x2c7)]());return this[_0x2443ca(0x36d)][_0x2443ca(0x255)](_0x442f0c,_0x2fea0c),_0x2fea0c;}[_0x1af128(0x3e9)](_0x2c6a29){var _0x334af3=_0x1af128,_0x2e2cb2;const _0x18e877=this['_sessions'][_0x334af3(0x416)](_0x2c6a29);_0x18e877&&(this['_sessions'][_0x334af3(0x31f)](_0x2c6a29),_0x18e877[_0x334af3(0x3c0)]()),this[_0x334af3(0x36d)][_0x334af3(0x363)]||(_0x2e2cb2=this['_socket'])==null||_0x2e2cb2[_0x334af3(0x3c0)]();}[_0x1af128(0x2c9)](){var _0x4bbd28=_0x1af128;this[_0x4bbd28(0x20d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4bbd28(0x277)]),this['_retryConnectingTimer']=null),this[_0x4bbd28(0x2f5)]();}async[_0x1af128(0x325)](){var _0x1a5e13=_0x1af128,_0x291c71,_0x71e03c,_0x422431;const _0x36c69f=this[_0x1a5e13(0x4d1)]['getConfig'](q),_0x19d4b4=(_0x291c71=_0x36c69f==null?void 0x0:_0x36c69f['wsSessionTicketUrl'])!=null?_0x291c71:On;return(_0x422431=(_0x71e03c=(await this['_httpService'][_0x1a5e13(0x416)](_0x19d4b4,{'headers':{'Content-Type':_0x1a5e13(0x216)}}))['body'])==null?void 0x0:_0x71e03c[_0x1a5e13(0x2e5)])!=null?_0x422431:'';}['_createSocketURL'](_0xb3815a){var _0x239663=_0x1af128,_0x3dbb17,_0x171fdd;const _0x528851=this[_0x239663(0x4d1)]['getConfig'](Rn),_0x556973=this['_configService']['getConfig'](q),_0x1ad877=(_0x171fdd=(_0x3dbb17=_0x556973==null?void 0x0:_0x556973['collabWebSocketUrl'])!=null?_0x3dbb17:_0x528851)!=null?_0x171fdd:bn,_0x735a98=typeof window>'u'?new URL(_0x1ad877):new URL(_0x1ad877,window[_0x239663(0x25e)][_0x239663(0x21a)]);_0x735a98[_0x239663(0x3b4)][_0x239663(0x255)](_0x239663(0x1f5),_0xb3815a);const _0x565908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x239663(0x25e)][_0x239663(0x2f6)]);return _0x565908['get'](_0x239663(0x264))&&_0x735a98['searchParams'][_0x239663(0x255)](_0x239663(0x264),_0x565908['get']('runId')),_0x735a98['toString']();}async[_0x1af128(0x36c)](){var _0xb5aa97=_0x1af128;const _0x9a69ae=await this[_0xb5aa97(0x325)](),_0x42be40=this['_createSocketURL'](_0x9a69ae),_0x26ec61=this[_0xb5aa97(0x44f)][_0xb5aa97(0x252)](_0x42be40);return this[_0xb5aa97(0x350)]=_0x26ec61,_0x26ec61;}async['_tryEnsureSocket'](){var _0x5e93c6=_0x1af128,_0x18b492,_0xb09e36;try{const _0x5a9f73=(_0xb09e36=(_0x18b492=this[_0x5e93c6(0x31d)])!=null?_0x18b492:this[_0x5e93c6(0x350)])!=null?_0xb09e36:await this[_0x5e93c6(0x36c)]();if(_0x5a9f73){const _0x2b1f7b=_0x5a9f73[_0x5e93c6(0x444)];_0x5a9f73[_0x5e93c6(0x444)]=_0x37394d=>(this[_0x5e93c6(0x1eb)](),_0x2b1f7b['apply'](_0x5a9f73,[_0x37394d])),_0x5a9f73[_0x5e93c6(0x45e)]['subscribe'](_0x3970da=>this['_onMessage'](_0x5a9f73,_0x3970da)),_0x5a9f73[_0x5e93c6(0x414)]['pipe'](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0x22f730=>this[_0x5e93c6(0x485)]['error'](_0x5e93c6(0x2d5),_0x22f730)),_0x5a9f73[_0x5e93c6(0x23e)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](()=>{this['_onConnectionOpen'](_0x5a9f73);}),_0x5a9f73[_0x5e93c6(0x409)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0xf3f952=>{var _0xfdaf72=_0x5e93c6;this[_0xfdaf72(0x485)]['debug'](_0xfdaf72(0x3e1),_0xfdaf72(0x43a),_0xf3f952),this[_0xfdaf72(0x33a)]();});}}catch(_0x992d87){this[_0x5e93c6(0x485)][_0x5e93c6(0x479)](_0x992d87),this[_0x5e93c6(0x33a)]();}}[_0x1af128(0x3d5)](_0x1f03e0){var _0x24eecf=_0x1af128;this[_0x24eecf(0x485)]['debug'](_0x24eecf(0x3e1),_0x24eecf(0x4c8)),_0x1f03e0['send']({'cmd':F[_0x24eecf(0x3f4)]}),this[_0x24eecf(0x1eb)]();}[_0x1af128(0x359)](){var _0x65b36d=_0x1af128;this[_0x65b36d(0x415)]=!0x1,this[_0x65b36d(0x350)]=null,this[_0x65b36d(0x3c8)]['next'](Te['OFFLINE']),this[_0x65b36d(0x2bc)][_0x65b36d(0x2cb)](null),this[_0x65b36d(0x203)](),this['_clearHeartbeatTimer']();}[_0x1af128(0x33a)](){var _0xf5a411=_0x1af128,_0x271aba;this[_0xf5a411(0x359)](),this[_0xf5a411(0x20d)]<((_0x271aba=this[_0xf5a411(0x4d1)][_0xf5a411(0x49e)](Pn))!=null?_0x271aba:wn)?(this['_collaborationUIEventService'][_0xf5a411(0x258)]({'id':se[_0xf5a411(0x420)]}),this[_0xf5a411(0x2f5)]()):this[_0xf5a411(0x4b1)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x1af128(0x2f5)](){var _0x40129f=_0x1af128,_0x53b224;const _0x162d80=this[_0x40129f(0x20d)],_0x19d3fc=this[_0x40129f(0x4d1)][_0x40129f(0x49e)](q),_0x5e01e4=_0x162d80===0x0?0x0:((_0x53b224=_0x19d3fc==null?void 0x0:_0x19d3fc[_0x40129f(0x496)])!=null?_0x53b224:Dn)*0x2**_0x162d80;this['_retryConnectingTimer']=setTimeout(()=>{var _0x547c70=_0x40129f;clearTimeout(this[_0x547c70(0x277)]),this[_0x547c70(0x277)]=null,this['_tryEnsureSocket']();},_0x5e01e4),this[_0x40129f(0x20d)]+=0x1;}[_0x1af128(0x44d)](_0x4fa5f9,_0x48bed8){var _0x4cc1e4=_0x1af128;const {cmd:_0x2255d3}=_0x48bed8;_0x2255d3===F['HELLO']&&!this[_0x4cc1e4(0x415)]&&(_0x4fa5f9[_0x4cc1e4(0x2a4)]=_0x48bed8[_0x4cc1e4(0x345)]['memberID'],this[_0x4cc1e4(0x2bc)][_0x4cc1e4(0x2cb)](_0x4fa5f9),this[_0x4cc1e4(0x3c8)][_0x4cc1e4(0x2cb)](Te[_0x4cc1e4(0x336)]),this[_0x4cc1e4(0x415)]=!0x0,this[_0x4cc1e4(0x350)]=null),_0x2255d3===F['HEARTBEAT']&&this[_0x4cc1e4(0x203)](),this['_rescheduleHeartbeat']();}[_0x1af128(0x1eb)](){var _0x50c041=_0x1af128,_0x5cb7c7;this[_0x50c041(0x43c)](),this[_0x50c041(0x27e)]=setTimeout(()=>this[_0x50c041(0x470)](),(_0x5cb7c7=this['_configService'][_0x50c041(0x49e)](yn))!=null?_0x5cb7c7:Nn);}['_sendHeartbeat'](){var _0x5ccd9c=_0x1af128;this[_0x5ccd9c(0x31d)]['send']({'cmd':F[_0x5ccd9c(0x475)]}),this['_waitForHeartbeatResponse']();}[_0x1af128(0x3cd)](){var _0x694731=_0x1af128,_0x19a885;this[_0x694731(0x49a)]=setTimeout(()=>this[_0x694731(0x33a)](),(_0x19a885=this[_0x694731(0x4d1)][_0x694731(0x49e)](Si))!=null?_0x19a885:Ei);}['_clearHeartbeatTimer'](){var _0x20cec5=_0x1af128;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20cec5(0x27e)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x369bf5=_0x1af128;this[_0x369bf5(0x49a)]!=null&&(clearTimeout(this[_0x369bf5(0x49a)]),this[_0x369bf5(0x49a)]=null);}};Le=er([ge(0x0,_0x50b881(_0x339edd)),ge(0x1,_0x334ed4),ge(0x2,_0xb3f6ba),ge(0x3,Ci),ge(0x4,_0x50b881(_0x51273b)),ge(0x5,_0x50b881(pe)),ge(0x6,_0x325bd4(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1af128(0x2ad)]((n+0x100)[_0x1af128(0x4d5)](0x10)[_0x1af128(0x386)](0x1));function tr(_0x520935,_0x30c155=0x0){var _0x54938e=_0x1af128;return(V[_0x520935[_0x30c155+0x0]]+V[_0x520935[_0x30c155+0x1]]+V[_0x520935[_0x30c155+0x2]]+V[_0x520935[_0x30c155+0x3]]+'-'+V[_0x520935[_0x30c155+0x4]]+V[_0x520935[_0x30c155+0x5]]+'-'+V[_0x520935[_0x30c155+0x6]]+V[_0x520935[_0x30c155+0x7]]+'-'+V[_0x520935[_0x30c155+0x8]]+V[_0x520935[_0x30c155+0x9]]+'-'+V[_0x520935[_0x30c155+0xa]]+V[_0x520935[_0x30c155+0xb]]+V[_0x520935[_0x30c155+0xc]]+V[_0x520935[_0x30c155+0xd]]+V[_0x520935[_0x30c155+0xe]]+V[_0x520935[_0x30c155+0xf]])[_0x54938e(0x3fb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x5ddab2=_0x1af128;if(!ut){if(typeof crypto>'u'||!crypto[_0x5ddab2(0x25c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5ddab2(0x25c)][_0x5ddab2(0x1f1)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x1af128(0x2aa)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x12ac45,_0x5c9654,_0x2a4b71){var _0x1ff54e=_0x1af128,_0x34b635,_0x36372e,_0x8298f8;if(qt[_0x1ff54e(0x2aa)]&&!_0x12ac45)return qt[_0x1ff54e(0x2aa)]();_0x12ac45=_0x12ac45||{};const _0x475763=(_0x8298f8=(_0x36372e=_0x12ac45[_0x1ff54e(0x1d7)])!=null?_0x36372e:(_0x34b635=_0x12ac45[_0x1ff54e(0x2be)])==null?void 0x0:_0x34b635[_0x1ff54e(0x3f9)](_0x12ac45))!=null?_0x8298f8:nr();if(_0x475763[_0x1ff54e(0x431)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x475763[0x6]=_0x475763[0x6]&0xf|0x40,_0x475763[0x8]=_0x475763[0x8]&0x3f|0x80,tr(_0x475763);}const J=_0x22f5cd(_0x1af128(0x304));function so(_0x213a4d){var _0x38f52b=_0x1af128;return _0x38f52b(0x20b)+_0x213a4d;}var or=Object[_0x1af128(0x4ba)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x56aad5,_0x38c743,_0x3c6ef6,_0x3e226a)=>{var _0x15f44c=_0x1af128;for(var _0x481e7e=_0x3e226a>0x1?void 0x0:_0x3e226a?ar(_0x38c743,_0x3c6ef6):_0x38c743,_0x131cba=_0x56aad5[_0x15f44c(0x431)]-0x1,_0x33d203;_0x131cba>=0x0;_0x131cba--)(_0x33d203=_0x56aad5[_0x131cba])&&(_0x481e7e=(_0x3e226a?_0x33d203(_0x38c743,_0x3c6ef6,_0x481e7e):_0x33d203(_0x481e7e))||_0x481e7e);return _0x3e226a&&_0x481e7e&&or(_0x38c743,_0x3c6ef6,_0x481e7e),_0x481e7e;},dt=(_0x4fc5db,_0xa363bf)=>(_0x15576d,_0xc3ea2)=>_0xa363bf(_0x15576d,_0xc3ea2,_0x4fc5db);function hr(_0x4a0c70){var _0x5a7596=_0x1af128;const {unitID:_0x154626,mutations:_0x354658}=_0x4a0c70;return{'unitId':_0x154626,'subUnitId':_0x354658[0x0][_0x5a7596(0x311)]['subUnitId']};}let it=class{constructor(_0x3ccea9,_0x17883e,_0x25239f){var _0x5e837b=_0x1af128;this[_0x5e837b(0x367)]=_0x3ccea9,this[_0x5e837b(0x44a)]=_0x17883e,this['_instanceService']=_0x25239f;}[_0x1af128(0x3aa)](_0x3ea5fa){var _0x3f7256=_0x1af128,_0xa6e842,_0xa507a5,_0xcd0041,_0x506449;const _0x327398=this[_0x3f7256(0x367)]['get'](_0x370139),{unitId:_0x564ab2,subUnitId:_0x46a322}=hr(_0x3ea5fa),_0x5d5f89=_0x327398==null?void 0x0:_0x327398[_0x3f7256(0x4cd)](_0x564ab2)[_0x3f7256(0x3bf)](),_0x5227b9=(_0xa507a5=(_0xa6e842=this[_0x3f7256(0x310)][_0x3f7256(0x396)](_0x564ab2))==null?void 0x0:_0xa6e842['getActiveSheet']())==null?void 0x0:_0xa507a5[_0x3f7256(0x44e)]();if(_0x5d5f89['length']===0x0||!_0x564ab2||!_0x46a322)return;const _0x3b4012=[{'id':_0x2d5539['id'],'params':{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x15157c[_0x3f7256(0x2fc)](_0x5d5f89)}}],_0x5e5136=this['_transformService'][_0x3f7256(0x29f)](_0x3ea5fa,_0x3b4012);if(!_0x49a34e(_0x5e5136))throw _0x5e5136[_0x3f7256(0x479)];const _0x1383fe=(_0x506449=(_0xcd0041=_0x5e5136['m2Prime'][0x0])==null?void 0x0:_0xcd0041[_0x3f7256(0x311)])==null?void 0x0:_0x506449[_0x3f7256(0x275)];if(Array[_0x3f7256(0x22f)](_0x1383fe)&&_0x1383fe[_0x3f7256(0x431)]){if(_0x1383fe[_0x3f7256(0x431)]===_0x3b4012[0x0][_0x3f7256(0x311)]['selections'][_0x3f7256(0x431)]&&_0x1383fe[_0x3f7256(0x481)]((_0x2fcf7a,_0x37d130)=>_0x47e43a[_0x3f7256(0x454)](_0x2fcf7a[_0x3f7256(0x25b)],_0x3b4012[0x0][_0x3f7256(0x311)][_0x3f7256(0x275)][_0x37d130][_0x3f7256(0x25b)])))return;this[_0x3f7256(0x367)][_0x3f7256(0x416)](_0x4f3e11)[_0x3f7256(0x283)](_0x2d5539['id'],{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x1383fe});}}};it=cr([dt(0x0,_0x50b881(_0x339edd)),dt(0x1,_0x207f44),dt(0x2,_0x42b8e7)],it);const ht=_0x22f5cd('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4bef2d=>(_0x4bef2d[_0x4bef2d[_0x1af128(0x456)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4bef2d[_0x4bef2d[_0x1af128(0x212)]=0x1]='OTHER_CLIENTS_EDITING',_0x4bef2d))(bi||{});const _r=new Set([_0x361fa7['id']]);function zt(_0x144034,_0x1060e5,_0x3a7ed4,_0xdef30,_0x2564d8){var _0x365fcc=_0x1af128,_0xb44493,_0x6898fc,_0x2f2ed9,_0x236de7;const _0x154c46=[];for(const _0x2ce3f3 of _0x144034)if(_r[_0x365fcc(0x278)](_0x2ce3f3['id'])){if(_0x154c46['length']>0x0)break;_0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);break;}else _0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);const _0x138525=(_0x6898fc=(_0xb44493=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0xb44493[_0x365fcc(0x2c6)])!=null?_0x6898fc:'unknown',_0x33fda6=(_0x236de7=(_0x2f2ed9=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0x2f2ed9[_0x365fcc(0x2a4)])!=null?_0x236de7:'unknown';return{'changeset':{'unitID':_0x1060e5,'type':_0x3450b7(_0x3a7ed4[_0x365fcc(0x26a)](_0x1060e5)),'baseRev':_0xdef30[_0x365fcc(0x224)](_0x1060e5),'revision':0x0,'userID':_0x138525,'memberID':_0x33fda6,'mutations':_0x154c46},'pendingMutations':_0x144034[_0x365fcc(0x386)](_0x154c46[_0x365fcc(0x431)])};}function lr(_0x48e31e,_0x5d643e,_0x1b3807,_0x5ba7e4,_0x58f67c){var _0x1ff6d9=_0x1af128,_0x378d0b,_0x1be4bc,_0x922ef4,_0x321676;const _0x584fea=[_0x48e31e[_0x1ff6d9(0x327)]((_0x5688b2,_0x5db1d8)=>{var _0x4a8315=_0x1ff6d9,_0x4b670f;const {id:_0x1b4f6d}=_0x5688b2,{id:_0x27841b,type:_0x990842}=_0x5db1d8,_0x4c47de=(_0x4b670f=_0x5688b2[_0x4a8315(0x311)])!=null?_0x4b670f:{'actions':null},_0x19a4e3=_0x5db1d8[_0x4a8315(0x311)];if(_0x1b4f6d&&_0x1b4f6d!==_0x27841b)throw new Error(_0x4a8315(0x309)+_0x1b4f6d+'\x20-\x20'+_0x27841b+'.');return{..._0x5688b2,'id':_0x27841b,'type':_0x990842,'params':{'unitId':_0x19a4e3[_0x4a8315(0x379)],'textRanges':_0x19a4e3[_0x4a8315(0x3c1)],'actions':_0x4890ac[_0x4a8315(0x398)](_0x4c47de['actions'],_0x19a4e3[_0x4a8315(0x366)])}};},{})],_0x179378=(_0x1be4bc=(_0x378d0b=_0x58f67c[_0x1ff6d9(0x1dc)]())==null?void 0x0:_0x378d0b[_0x1ff6d9(0x2c6)])!=null?_0x1be4bc:_0x1ff6d9(0x2a7),_0x3f9e72=(_0x321676=(_0x922ef4=_0x58f67c['getCurrentUser']())==null?void 0x0:_0x922ef4[_0x1ff6d9(0x2a4)])!=null?_0x321676:'unknown';return{'changeset':{'unitID':_0x5d643e,'type':_0x3450b7(_0x1b3807[_0x1ff6d9(0x26a)](_0x5d643e)),'baseRev':_0x5ba7e4[_0x1ff6d9(0x224)](_0x5d643e),'revision':0x0,'userID':_0x179378,'memberID':_0x3f9e72,'mutations':_0x584fea},'pendingMutations':[]};}function Oi(_0x11efea,_0x184cad){var _0xf434e4=_0x1af128;const _0x2ed9ed=new _0x55eb7f(0x1);return setTimeout(()=>_0x2ed9ed[_0xf434e4(0x2cb)](_0x184cad),_0x11efea),_0x2ed9ed[_0xf434e4(0x2c7)]()['pipe'](_0x2a8f0e(0x1));}const ur={'id':_0x1a6a86['id'],'type':_0x572a97[_0x1af128(0x480)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x1af128(0x3d3)],Re=(_0xcf857a,_0x1cc08e,_0x33c596,_0x590512)=>{var _0x309fc5=_0x1af128;for(var _0x4d7ddb=_0x590512>0x1?void 0x0:_0x590512?fr(_0x1cc08e,_0x33c596):_0x1cc08e,_0x8ee662=_0xcf857a[_0x309fc5(0x431)]-0x1,_0x118ce3;_0x8ee662>=0x0;_0x8ee662--)(_0x118ce3=_0xcf857a[_0x8ee662])&&(_0x4d7ddb=(_0x590512?_0x118ce3(_0x1cc08e,_0x33c596,_0x4d7ddb):_0x118ce3(_0x4d7ddb))||_0x4d7ddb);return _0x590512&&_0x4d7ddb&&dr(_0x1cc08e,_0x33c596,_0x4d7ddb),_0x4d7ddb;},A=(_0xfcb904,_0x4bcc74)=>(_0x5c1cc9,_0x4e2d62)=>_0x4bcc74(_0x5c1cc9,_0x4e2d62,_0xfcb904),yi=(_0x1a8b2b=>(_0x1a8b2b[_0x1af128(0x22a)]='not_collab',_0x1a8b2b[_0x1af128(0x380)]=_0x1af128(0x49f),_0x1a8b2b['PENDING']='pending',_0x1a8b2b[_0x1af128(0x384)]=_0x1af128(0x3fe),_0x1a8b2b['AWAITING_WITH_PENDING']=_0x1af128(0x34c),_0x1a8b2b[_0x1af128(0x1ff)]=_0x1af128(0x4cb),_0x1a8b2b[_0x1af128(0x3dc)]=_0x1af128(0x47e),_0x1a8b2b[_0x1af128(0x2b8)]=_0x1af128(0x375),_0x1a8b2b))(yi||{});const Ni=0xea60;class be{constructor(_0x5452d5,_0x19fc95,_0x626838,_0x418af8,_0x4b06de,_0x5cfa51,_0x1ac612,_0x561631,_0x28701a){var _0x2b687f=_0x1af128;N(this,_0x2b687f(0x4d0),null),N(this,_0x2b687f(0x28d),[]),(this[_0x2b687f(0x1fa)]=_0x5452d5,this[_0x2b687f(0x417)]=_0x19fc95,this['_handler']=_0x4b06de,this[_0x2b687f(0x32c)]=_0x5cfa51,this[_0x2b687f(0x1ee)]=_0x1ac612,this['_revisionService']=_0x561631,this[_0x2b687f(0x1e8)]=_0x28701a,this['_awaitingChangeset']=_0x626838,this[_0x2b687f(0x28d)]=_0x418af8);}[_0x1af128(0x274)](_0x5b956b){var _0x30c0af=_0x1af128;const _0x227a47=this[_0x30c0af(0x1f3)][_0x30c0af(0x224)](this[_0x30c0af(0x1fa)]);return _0x5b956b[_0x30c0af(0x244)]>_0x227a47+0x1?(this[_0x30c0af(0x321)]['onMissingChangesets']({'from':_0x227a47,'to':_0x5b956b[_0x30c0af(0x244)]-0x1}),!0x0):!0x1;}[_0x1af128(0x2f9)](_0x134ec1){var _0x3a7924=_0x1af128;this['_undoRedoService'][_0x3a7924(0x2de)](this['unitID'],_0x134ec1);}[_0x1af128(0x353)](_0xe19362){var _0x2f9d66=_0x1af128,_0x36b68b,_0x243c67;(_0x243c67=(_0x36b68b=this['_handler'])['onTransformSelections'])==null||_0x243c67[_0x2f9d66(0x3f9)](_0x36b68b,_0xe19362);}[_0x1af128(0x2b5)](_0x53ecc1){var _0x5c280a=_0x1af128,_0x37d63a,_0x1ef900;return(_0x1ef900=(_0x37d63a=this[_0x5c280a(0x321)])[_0x5c280a(0x457)])==null?void 0x0:_0x1ef900['call'](_0x37d63a,_0x53ecc1);}[_0x1af128(0x343)](_0x5c509e){var _0x29d7e7=_0x1af128,_0x4fc22d,_0x585d9e;return(_0x585d9e=(_0x4fc22d=this[_0x29d7e7(0x321)])[_0x29d7e7(0x36e)])==null?void 0x0:_0x585d9e[_0x29d7e7(0x3f9)](_0x4fc22d,_0x5c509e);}[_0x1af128(0x4d6)](_0x4db1cf){var _0x2e5dc8=_0x1af128,_0x3c8b19,_0xbfdfb2,_0x5131fb;return(_0x5131fb=(_0xbfdfb2=(_0x3c8b19=this[_0x2e5dc8(0x321)])[_0x2e5dc8(0x45d)])==null?void 0x0:_0xbfdfb2[_0x2e5dc8(0x3f9)](_0x3c8b19,_0x4db1cf))!=null?_0x5131fb:_0x4db1cf;}[_0x1af128(0x3a4)](_0x2f355b){var _0x3612c9=_0x1af128,_0x20f550,_0x256ea9,_0xccc4b;return(_0xccc4b=(_0x256ea9=(_0x20f550=this[_0x3612c9(0x321)])[_0x3612c9(0x2c1)])==null?void 0x0:_0x256ea9[_0x3612c9(0x3f9)](_0x20f550,_0x2f355b))!=null?_0xccc4b:_0x2f355b;}[_0x1af128(0x3a8)](_0xb540d8){var _0x515809=_0x1af128,_0x191589,_0x87a6b7;if(this[_0x515809(0x417)]===Q[_0x515809(0x43b)]){const {unitID:_0x4c6871,mutations:_0x4eef9b,memberID:_0x11935b}=_0xb540d8,_0x244317=_0x4eef9b[0x0][_0x515809(0x311)]['textRanges'];Array['isArray'](_0x244317)&&_0x244317['length']>0x0&&((_0x87a6b7=(_0x191589=this[_0x515809(0x321)])[_0x515809(0x221)])==null||_0x87a6b7['call'](_0x191589,{'unitID':_0x4c6871,'memberID':_0x11935b,'textRanges':_0x244317}));}}['_updateLocalCache'](){var _0x298343=_0x1af128,_0x2ccae2;(_0x2ccae2=this[_0x298343(0x1e8)])==null||_0x2ccae2['updateOfflineData'](this['unitID'],this['type'],this[_0x298343(0x4d0)],this['_pendingMutations']);}[_0x1af128(0x490)](){var _0x49bb82=_0x1af128;return this[_0x49bb82(0x1f3)][_0x49bb82(0x224)](this[_0x49bb82(0x1fa)]);}[_0x1af128(0x28e)](){var _0x146c45=_0x1af128;this[_0x146c45(0x1f3)][_0x146c45(0x236)](this['unitID']);}[_0x1af128(0x464)](_0x45993e){var _0x38eabd=_0x1af128,_0x461da1;let _0x24a6fe=this[_0x38eabd(0x4d6)](_0x45993e);_0x24a6fe=this[_0x38eabd(0x3a4)](_0x24a6fe);const _0x3bc693=_0x596acb(_0x24a6fe[_0x38eabd(0x4a4)],this[_0x38eabd(0x32c)],{'fromCollab':!0x0});if(!_0x3bc693[_0x38eabd(0x371)])throw _0x3bc693['error']instanceof Error?_0x3bc693[_0x38eabd(0x479)]:new Error((_0x461da1=_0x3bc693['error'])!=null?_0x461da1:_0x38eabd(0x4a0));this[_0x38eabd(0x2b5)](_0x24a6fe),this[_0x38eabd(0x343)](_0x24a6fe),this[_0x38eabd(0x2f9)](_0x45993e),this[_0x38eabd(0x353)](_0x24a6fe),this['_syncEditingCollabCursor'](_0x24a6fe),this[_0x38eabd(0x28e)]();}}let De=class extends be{constructor(_0xc5cb0f,_0x5207c1,_0x56807e,_0x5b688a,_0x33cf44,_0x42253b,_0x30d3ae,_0x548dcc,_0x55ba4b,_0x407aac){var _0xcf747e=_0x1af128;super(_0xc5cb0f,_0x5207c1,null,[],_0x56807e,_0x30d3ae,_0x42253b,_0x5b688a,_0x407aac),N(this,_0xcf747e(0x29e),_0xcf747e(0x49f)),(this[_0xcf747e(0x367)]=_0x33cf44,this[_0xcf747e(0x485)]=_0x548dcc,this['_transformService']=_0x55ba4b,this[_0xcf747e(0x2e8)]=_0x407aac);}[_0x1af128(0x2a1)](_0x272b55){var _0x523f3e=_0x1af128;const _0x126074=this['_injector']['createInstance'](oe,this[_0x523f3e(0x1fa)],this[_0x523f3e(0x417)],[_0x272b55],this[_0x523f3e(0x321)]);return _0x126074[_0x523f3e(0x4b7)](),_0x126074[_0x523f3e(0x1ed)](),_0x126074;}[_0x1af128(0x22b)](_0x3d395b){var _0x5591a8=_0x1af128;if(this[_0x5591a8(0x274)](_0x3d395b))return this['_injector'][_0x5591a8(0x372)](te,this[_0x5591a8(0x1fa)],this[_0x5591a8(0x417)],null,[],null,[_0x3d395b],this['_handler']);try{const _0x409bbe=this[_0x5591a8(0x44a)][_0x5591a8(0x29f)](_0x3d395b,[ur]);if(_0x49a34e(_0x409bbe)){const {c1Prime:_0x4a6813}=_0x409bbe;return this[_0x5591a8(0x464)](_0x4a6813),this;}throw _0x409bbe[_0x5591a8(0x479)];}catch(_0x1cdf7a){return this[_0x5591a8(0x485)][_0x5591a8(0x479)](_0x1cdf7a),this[_0x5591a8(0x438)](!0x1);}}[_0x1af128(0x438)](_0x385f46){var _0x2a6040=_0x1af128;return this[_0x2a6040(0x367)][_0x2a6040(0x372)](de,this[_0x2a6040(0x1fa)],this[_0x2a6040(0x417)],null,[],this[_0x2a6040(0x321)],_0x385f46);}[_0x1af128(0x4b0)](){var _0x618c34=_0x1af128;throw new Error(_0x618c34(0x3ad));}[_0x1af128(0x37e)](){var _0x52bee9=_0x1af128;throw new Error(_0x52bee9(0x26e));}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x4007c4=_0x1af128;return this[_0x4007c4(0x367)][_0x4007c4(0x372)](fe,this[_0x4007c4(0x1fa)],this[_0x4007c4(0x417)],null,[],this[_0x4007c4(0x321)]);}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x264132=_0x1af128;throw new Error(_0x264132(0x466));}[_0x1af128(0x261)](){var _0xe75e67=_0x1af128;const _0x221a38=this[_0xe75e67(0x1f3)][_0xe75e67(0x224)](this['unitID']);return this[_0xe75e67(0x321)][_0xe75e67(0x269)]({'from':_0x221a38,'to':0x0}),this[_0xe75e67(0x367)][_0xe75e67(0x372)](te,this[_0xe75e67(0x1fa)],this['type'],null,[],null,[],this[_0xe75e67(0x321)]);}};De=Re([A(0x3,_0x50b881(_0x1c117d)),A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x16445d),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x325bd4(J))],De);let oe=class extends be{constructor(_0x2caa22,_0x24ba8c,_0x1a160a,_0x27920a,_0x1ed471,_0x488a75,_0x4d3fbb,_0x119206,_0xcfb6d9,_0x1a572e,_0x76ddcd,_0x669117,_0x245ec4,_0x43ac96){var _0x566615=_0x1af128;super(_0x2caa22,_0x24ba8c,null,_0x1a160a,_0x27920a,_0xcfb6d9,_0x245ec4,_0x488a75,_0x43ac96),N(this,_0x566615(0x29e),_0x566615(0x486)),N(this,_0x566615(0x32f),null),N(this,_0x566615(0x43f),null),(this[_0x566615(0x367)]=_0x1ed471,this[_0x566615(0x37c)]=_0x4d3fbb,this[_0x566615(0x485)]=_0x119206,this[_0x566615(0x4d1)]=_0x1a572e,this['_transformService']=_0x76ddcd,this[_0x566615(0x332)]=_0x669117);}[_0x1af128(0x2a1)](_0x4a70ac){var _0xe686bb=_0x1af128;return this['_pendingMutations'][_0xe686bb(0x2ad)](_0x4a70ac),this[_0xe686bb(0x1ed)](),this;}[_0x1af128(0x22b)](_0x295ec6){var _0x491d2f=_0x1af128;if(this[_0x491d2f(0x274)](_0x295ec6))return this[_0x491d2f(0x1e0)](),this['_injector'][_0x491d2f(0x372)](te,this[_0x491d2f(0x1fa)],this[_0x491d2f(0x417)],null,this['_pendingMutations'],null,[_0x295ec6],this['_handler']);try{const _0x281e52=this[_0x491d2f(0x44a)][_0x491d2f(0x29f)](_0x295ec6,this[_0x491d2f(0x28d)]);if(_0x49a34e(_0x281e52)){const {c1Prime:_0x3bd7f9,m2Prime:_0x5937e2}=_0x281e52;this[_0x491d2f(0x464)](_0x3bd7f9);const _0x19b492=this[_0x491d2f(0x367)][_0x491d2f(0x372)](oe,this['unitID'],this[_0x491d2f(0x417)],_0x5937e2,this['_handler']);this['_clearScheduledTask']();const _0xa0e110=new Date()[_0x491d2f(0x219)](),_0x921ea1=this[_0x491d2f(0x32f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xa0e110,0x0):this[_0x491d2f(0x2ec)]();return _0x19b492[_0x491d2f(0x4b7)](_0x921ea1),_0x19b492;}throw _0x281e52[_0x491d2f(0x479)];}catch(_0x2e7838){return this['_logService'][_0x491d2f(0x479)](_0x2e7838),this[_0x491d2f(0x438)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1af128(0x37e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x1ba3e1=_0x1af128;return this['_clearScheduledTask'](),this[_0x1ba3e1(0x367)][_0x1ba3e1(0x372)](fe,this[_0x1ba3e1(0x1fa)],this['type'],null,this[_0x1ba3e1(0x28d)],this[_0x1ba3e1(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x4b7)](_0x2f9cdf){var _0x49af8a=_0x1af128;const _0x46ac41=_0x2f9cdf!=null?_0x2f9cdf:this['_getSendChangesetTimeout']();this[_0x49af8a(0x32f)]=new Date()[_0x49af8a(0x219)]()+_0x46ac41,this[_0x49af8a(0x43f)]=setTimeout(()=>{var _0x1ebecc=_0x49af8a;this[_0x1ebecc(0x1e0)]();let _0x4b988f=null;switch(this[_0x1ebecc(0x417)]){case Q['UNIVER_SHEET']:{_0x4b988f=zt(this['_pendingMutations'],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}case Q[_0x1ebecc(0x43b)]:{this[_0x1ebecc(0x28d)][_0x1ebecc(0x481)](_0x22b333=>_0x22b333['id']===_0x582104['id'])?_0x4b988f=lr(this[_0x1ebecc(0x28d)],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this[_0x1ebecc(0x37c)]):_0x4b988f=zt(this['_pendingMutations'],this[_0x1ebecc(0x1fa)],this['_univerInstanceService'],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}default:throw new Error(_0x1ebecc(0x385)+this[_0x1ebecc(0x417)]+_0x1ebecc(0x406));}const {changeset:_0x21432f,pendingMutations:_0x19f671}=_0x4b988f;this['_handler'][_0x1ebecc(0x22c)](_0x21432f);const _0x18ae4f=_0x19f671[_0x1ebecc(0x431)]?this[_0x1ebecc(0x367)]['createInstance'](ae,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,_0x19f671,this[_0x1ebecc(0x321)],void 0x0):this[_0x1ebecc(0x367)][_0x1ebecc(0x372)](ue,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,this[_0x1ebecc(0x321)]);_0x18ae4f[_0x1ebecc(0x1ed)](),this[_0x1ebecc(0x321)][_0x1ebecc(0x248)](this,_0x18ae4f);},_0x46ac41);}[_0x1af128(0x2ec)](){var _0x308b26=_0x1af128,_0x2af338;const _0x2b8d04=this['_configService']['getConfig'](q);return(_0x2af338=_0x2b8d04==null?void 0x0:_0x2b8d04[_0x308b26(0x25a)])!=null?_0x2af338:Cn;}[_0x1af128(0x2b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1af128(0x1e0)](){var _0x3cc3d2=_0x1af128;this[_0x3cc3d2(0x43f)]!=null&&(clearTimeout(this[_0x3cc3d2(0x43f)]),this['_sendingTimer']=null);}[_0x1af128(0x438)](_0x291f2e){var _0x279457=_0x1af128;return this['_clearScheduledTask'](),this[_0x279457(0x367)][_0x279457(0x372)](de,this[_0x279457(0x1fa)],this['type'],null,this[_0x279457(0x28d)],this['_handler'],_0x291f2e);}};oe=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x50b881(xe)),A(0x7,_0x334ed4),A(0x8,_0x4f3e11),A(0x9,_0xb3f6ba),A(0xa,_0x207f44),A(0xb,_0x42b8e7),A(0xc,_0x16445d),A(0xd,_0x325bd4(J))],oe);let ue=class extends be{constructor(_0x55d0a2,_0x243cd0,_0x55b659,_0x28e219,_0x4af1c9,_0x210a34,_0x23db15,_0x4fde02,_0x43537f,_0x4a67a2,_0xacccc8){var _0x56d2d7=_0x1af128;super(_0x55d0a2,_0x243cd0,_0x55b659,[],_0x28e219,_0x23db15,_0x4a67a2,_0x210a34,_0xacccc8),N(this,_0x56d2d7(0x29e),_0x56d2d7(0x3fe)),N(this,'_resendTimeout',0x0),N(this,_0x56d2d7(0x21c)),N(this,_0x56d2d7(0x33c)),(this['_injector']=_0x4af1c9,this[_0x56d2d7(0x485)]=_0x4fde02,this[_0x56d2d7(0x44a)]=_0x43537f);}['appendMutation'](_0x56bfbc){var _0x18aa0e=_0x1af128;this['_clearScheduledTask']();const _0x890be3=this[_0x18aa0e(0x367)]['createInstance'](ae,this[_0x18aa0e(0x1fa)],this['type'],this['_awaitingChangeset'],[_0x56bfbc],this[_0x18aa0e(0x321)],this['_resendTimer']);return _0x890be3[_0x18aa0e(0x1ed)](),_0x890be3;}[_0x1af128(0x22b)](_0x1e8534){var _0x10a45c=_0x1af128;if(this['_checkMissing'](_0x1e8534))return this[_0x10a45c(0x1e0)](),this['_injector']['createInstance'](te,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],this[_0x10a45c(0x4d0)],[],null,[_0x1e8534],this[_0x10a45c(0x321)]);try{const _0x3e405f=this[_0x10a45c(0x44a)][_0x10a45c(0x45f)]([_0x1e8534],[this[_0x10a45c(0x4d0)]],!0x1);if(_0x397f0a(_0x3e405f)){const {c1Prime:_0x283a7a,c2Prime:_0x5aaa27}=_0x3e405f;this[_0x10a45c(0x464)](_0x283a7a[0x0]),_0x5aaa27[0x0][_0x10a45c(0x2d2)]=this['_getCurrentRevision'](),this[_0x10a45c(0x1e0)]();const _0x343eba=this[_0x10a45c(0x367)][_0x10a45c(0x372)](ue,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],_0x5aaa27[0x0],this['_handler']);return _0x343eba[_0x10a45c(0x1ed)](),_0x343eba;}return this[_0x10a45c(0x438)](!0x1);}catch(_0x2628d3){return this[_0x10a45c(0x485)][_0x10a45c(0x479)](_0x2628d3),this[_0x10a45c(0x438)](!0x1);}}[_0x1af128(0x4b0)](_0x4ce7c5){var _0x3df313=_0x1af128;this[_0x3df313(0x1e0)]();const _0x28d079=this['_revisionService'][_0x3df313(0x224)](this[_0x3df313(0x1fa)]);if(_0x4ce7c5[_0x3df313(0x244)]<_0x28d079-0x1)return this;if(this[_0x3df313(0x274)](_0x4ce7c5))return this[_0x3df313(0x367)][_0x3df313(0x372)](te,this[_0x3df313(0x1fa)],this[_0x3df313(0x417)],null,[],this[_0x3df313(0x4d0)],[],this['_handler']);this[_0x3df313(0x28e)]();const _0x377af5=this[_0x3df313(0x367)]['createInstance'](De,this['unitID'],this[_0x3df313(0x417)],this[_0x3df313(0x321)]);return _0x377af5[_0x3df313(0x1ed)](),_0x377af5;}[_0x1af128(0x37e)](_0x3b8826){var _0x4fd6fb=_0x1af128;return this['_onConflict'](!!(_0x3b8826!=null&&_0x3b8826[_0x4fd6fb(0x3ec)]));}[_0x1af128(0x1d9)](_0x5764b1){var _0xd12ca9=_0x1af128;return this[_0xd12ca9(0x20e)]>Ni?this[_0xd12ca9(0x24e)]():(this['_resendTimer']=Oi(this[_0xd12ca9(0x20e)],{'timeout':this['_resendTimeout'],'reqId':_0x5764b1[_0xd12ca9(0x467)]}),this['_sender']=this[_0xd12ca9(0x21c)][_0xd12ca9(0x26c)](({reqId:_0x13a7ab,timeout:_0x452649})=>{var _0x1f83a1=_0xd12ca9;this[_0x1f83a1(0x455)](_0x13a7ab,_0x452649);}),this);}['toggleOffline'](){var _0x43b3a7=_0x1af128;return this[_0x43b3a7(0x1e0)](),this[_0x43b3a7(0x367)][_0x43b3a7(0x372)](fe,this[_0x43b3a7(0x1fa)],this[_0x43b3a7(0x417)],this['_awaitingChangeset'],[],this[_0x43b3a7(0x321)]);}['toggleOnline'](){return this;}[_0x1af128(0x2b9)](){var _0x4bf26e=_0x1af128;this[_0x4bf26e(0x321)]['onSendChangeset'](this[_0x4bf26e(0x4d0)]);}[_0x1af128(0x438)](_0xd521){var _0x2e7ffd=_0x1af128;return this[_0x2e7ffd(0x1e0)](),this[_0x2e7ffd(0x367)][_0x2e7ffd(0x372)](de,this[_0x2e7ffd(0x1fa)],this['type'],this[_0x2e7ffd(0x4d0)],[],this['_handler'],_0xd521);}['_resendWithTimeout'](_0x1145a6,_0x2fcd8d){var _0x111507=_0x1af128,_0x2331c1;_0x1145a6===((_0x2331c1=this['_awaitingChangeset'])==null?void 0x0:_0x2331c1[_0x111507(0x467)])&&(this[_0x111507(0x2b9)](),this[_0x111507(0x20e)]=_0x2fcd8d===0x0?0x3e8:_0x2fcd8d*0x2);}[_0x1af128(0x1e0)](){var _0x2926cc=_0x1af128,_0xf68538;(_0xf68538=this[_0x2926cc(0x33c)])==null||_0xf68538[_0x2926cc(0x1f6)](),this[_0x2926cc(0x20e)]=0x0;}};ue=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x16445d),A(0xa,_0x325bd4(J))],ue);let ae=class extends be{constructor(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x3d0499,_0xbe8f19,_0x867186,_0x49aa0f,_0x28bb49,_0x1bf708,_0x161f65,_0x513ee9){var _0x2917e1=_0x1af128;super(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x49aa0f,_0x161f65,_0x867186,_0x513ee9),N(this,_0x2917e1(0x29e),_0x2917e1(0x34c)),N(this,_0x2917e1(0x20e),0x0),N(this,_0x2917e1(0x21c)),N(this,_0x2917e1(0x33c)),(this[_0x2917e1(0x367)]=_0xbe8f19,this[_0x2917e1(0x485)]=_0x28bb49,this[_0x2917e1(0x44a)]=_0x1bf708,this[_0x2917e1(0x2e8)]=_0x513ee9,_0x3d0499&&(this[_0x2917e1(0x21c)]=_0x3d0499,this[_0x2917e1(0x33c)]=this[_0x2917e1(0x21c)][_0x2917e1(0x26c)](({reqId:_0x4d9e82,timeout:_0x27bbd6})=>{this['_resendWithTimeout'](_0x4d9e82,_0x27bbd6);})));}[_0x1af128(0x2a1)](_0x169b43){var _0x39f2ce=_0x1af128;return this[_0x39f2ce(0x28d)]['push'](_0x169b43),this;}[_0x1af128(0x22b)](_0x33f308){var _0x8e7c51=_0x1af128;if(this[_0x8e7c51(0x274)](_0x33f308))return this[_0x8e7c51(0x1e0)](),this[_0x8e7c51(0x367)]['createInstance'](te,this[_0x8e7c51(0x1fa)],this[_0x8e7c51(0x417)],this[_0x8e7c51(0x4d0)],this[_0x8e7c51(0x28d)],null,[_0x33f308],this[_0x8e7c51(0x321)]);try{const _0x14bbbf=this['_transformService'][_0x8e7c51(0x45f)]([_0x33f308],[this[_0x8e7c51(0x4d0)]],!0x1);if(_0x397f0a(_0x14bbbf)){const {c1Prime:_0x542f83,c2Prime:_0x38abbb}=_0x14bbbf,_0x5b3357=this['_transformService']['transformMutationsWithChangeset'](_0x542f83[0x0],this[_0x8e7c51(0x28d)]);if(_0x49a34e(_0x5b3357)){const {c1Prime:_0x11095f,m2Prime:_0x4c2376}=_0x5b3357;return this['_executeRemoteChangeset'](_0x11095f),_0x38abbb[0x0]['baseRev']=this[_0x8e7c51(0x490)](),this[_0x8e7c51(0x1e0)](),this['_injector'][_0x8e7c51(0x372)](ae,this['unitID'],this['type'],_0x38abbb[0x0],_0x4c2376,this['_handler'],void 0x0);}throw _0x5b3357[_0x8e7c51(0x479)];}throw _0x14bbbf[_0x8e7c51(0x479)];}catch(_0x20f44b){return this['_logService'][_0x8e7c51(0x479)](_0x20f44b),this['_onConflict'](!0x1);}}[_0x1af128(0x4b0)](_0x1d75f5){var _0x527237=_0x1af128;if(this[_0x527237(0x1e0)](),this[_0x527237(0x274)](_0x1d75f5))return this[_0x527237(0x367)][_0x527237(0x372)](te,this[_0x527237(0x1fa)],this[_0x527237(0x417)],null,this[_0x527237(0x28d)],this[_0x527237(0x4d0)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x57138d=this['_injector'][_0x527237(0x372)](oe,this[_0x527237(0x1fa)],this[_0x527237(0x417)],this[_0x527237(0x28d)],this[_0x527237(0x321)]);return _0x57138d[_0x527237(0x4b7)](),_0x57138d['_updateLocalCache'](),_0x57138d;}['onRemoteRej'](_0x26de52){var _0x52ce30=_0x1af128;return this[_0x52ce30(0x438)](!!(_0x26de52!=null&&_0x26de52['isPermissionRej']));}[_0x1af128(0x1d9)](_0x2c516f){var _0x50bdec=_0x1af128;return this[_0x50bdec(0x20e)]>Ni?this['toggleOffline']():(this[_0x50bdec(0x21c)]=Oi(this['_resendTimeout'],{'timeout':this[_0x50bdec(0x20e)],'reqId':_0x2c516f['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x39d8ea,timeout:_0x241cde})=>{this['_resendWithTimeout'](_0x39d8ea,_0x241cde);}),this);}[_0x1af128(0x24e)](){var _0x5e4fa6=_0x1af128;return this[_0x5e4fa6(0x1e0)](),this[_0x5e4fa6(0x367)][_0x5e4fa6(0x372)](fe,this[_0x5e4fa6(0x1fa)],this['type'],this[_0x5e4fa6(0x4d0)],this[_0x5e4fa6(0x28d)],this[_0x5e4fa6(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x2b9)](){var _0x4028af=_0x1af128;this[_0x4028af(0x321)][_0x4028af(0x22c)](this[_0x4028af(0x4d0)]);}[_0x1af128(0x438)](_0x35860a){var _0x959105=_0x1af128;return this['_clearScheduledTask'](),this[_0x959105(0x367)][_0x959105(0x372)](de,this['unitID'],this[_0x959105(0x417)],null,this[_0x959105(0x28d)],this['_handler'],_0x35860a);}[_0x1af128(0x455)](_0x4004ad,_0x49d8e4){var _0xb449eb=_0x1af128,_0x5e1c74;_0x4004ad===((_0x5e1c74=this['_awaitingChangeset'])==null?void 0x0:_0x5e1c74[_0xb449eb(0x467)])&&(this[_0xb449eb(0x2b9)](),this['_resendTimeout']=_0x49d8e4===0x0?0x3e8:_0x49d8e4*0x2);}[_0x1af128(0x1e0)](){var _0x1f48ba=_0x1af128,_0x4a1ca7;(_0x4a1ca7=this[_0x1f48ba(0x33c)])==null||_0x4a1ca7['unsubscribe'](),this[_0x1f48ba(0x20e)]=0x0;}};ae=Re([A(0x6,_0x50b881(_0x339edd)),A(0x7,_0x50b881(_0x1c117d)),A(0x8,_0x4f3e11),A(0x9,_0x334ed4),A(0xa,_0x207f44),A(0xb,_0x16445d),A(0xc,_0x325bd4(J))],ae);let de=class extends be{constructor(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x5a7555=!0x1,_0x4e2bf3,_0x39fa02,_0x483409,_0x317f14,_0x554848,_0x5fdd6b,_0x1cba7f){var _0x3ff97d=_0x1af128;super(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x39fa02,_0x483409,_0x317f14,_0x1cba7f),N(this,'status',_0x3ff97d(0x47e)),(this[_0x3ff97d(0x334)]=_0x5a7555,this['_permissionService']=_0x4e2bf3,this[_0x3ff97d(0x4c2)]=_0x554848,this['_collaborationUIEventService']=_0x5fdd6b,this[_0x3ff97d(0x2e8)]=_0x1cba7f,this[_0x3ff97d(0x4c3)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x1af128(0x22b)](){return this;}['onRemoteAck'](){return this;}[_0x1af128(0x37e)](){return this;}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x388775=_0x1af128;throw new Error(_0x388775(0x34a));}['_clearLocalCache'](){var _0xd9bee5=_0x1af128,_0x5ad1cf;(_0x5ad1cf=this[_0xd9bee5(0x1e8)])==null||_0x5ad1cf[_0xd9bee5(0x30b)](this['unitID'],this[_0xd9bee5(0x417)],null,[]);}[_0x1af128(0x4c3)](){var _0x543d3f=_0x1af128;this[_0x543d3f(0x334)]?this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se['PERMISSION_DENIED']}):this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se[_0x543d3f(0x3dc)]});}['_disableEditing'](){var _0x33b1f3=_0x1af128;this[_0x33b1f3(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x33b1f3(0x1fa)])['id'],!0x1);}};de=Re([A(0x6,_0x50b881(_0xea2b61)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x50b881(_0x1c117d)),A(0xa,_0x50b881(_0x3d3898)),A(0xb,_0x50b881(pe)),A(0xc,_0x325bd4(J))],de);let fe=class extends be{constructor(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x5c5c29,_0x2b9b02,_0x593268,_0xb970e,_0x3ef1db){var _0x56cd9c=_0x1af128;super(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x593268,_0xb970e,_0x2b9b02,_0x3ef1db),N(this,'status',_0x56cd9c(0x375)),this['_injector']=_0x5c5c29;}[_0x1af128(0x2a1)](_0x1b71ee){var _0x1a6396=_0x1af128;return this[_0x1a6396(0x28d)]['push'](_0x1b71ee),this[_0x1a6396(0x1ed)](),this;}[_0x1af128(0x22b)](_0x1e7123){var _0x434ed8=_0x1af128;throw new Error(_0x434ed8(0x426));}[_0x1af128(0x4b0)](){var _0x5bc771=_0x1af128;throw new Error(_0x5bc771(0x47a));}[_0x1af128(0x37e)](){var _0x45f176=_0x1af128;throw new Error(_0x45f176(0x4c1));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}['toggleOnline'](){var _0x2fe74f=_0x1af128;const {_injector:_0x351365,_pendingMutations:_0x54042f,_awaitingChangeset:_0x4c4957,unitID:_0x57e23d,_handler:_0x162e8b,type:_0x1a2d06}=this,_0x3d5863=Di(_0x351365,_0x57e23d,_0x1a2d06,_0x4c4957,_0x54042f,_0x162e8b);return _0x3d5863 instanceof oe?_0x3d5863[_0x2fe74f(0x4b7)]():(_0x3d5863 instanceof ae||_0x3d5863 instanceof ue)&&_0x3d5863[_0x2fe74f(0x2b9)](),_0x3d5863;}[_0x1af128(0x2b9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x50b881(_0x339edd)),A(0x6,_0x50b881(_0x1c117d)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x325bd4(J))],fe);let te=class extends be{constructor(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x307de1,_0x528942,_0x5bfa93,_0x586a96,_0x3f2eda,_0x393456,_0x2cea7b,_0x5f0ece,_0x595c82,_0x3bbe13){var _0x20873c=_0x1af128;super(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x5bfa93,_0x2cea7b,_0x5f0ece,_0x3f2eda,_0x3bbe13),N(this,_0x20873c(0x29e),_0x20873c(0x4cb)),(this[_0x20873c(0x21e)]=_0x307de1,this[_0x20873c(0x299)]=_0x528942,this[_0x20873c(0x367)]=_0x586a96,this[_0x20873c(0x485)]=_0x393456,this[_0x20873c(0x44a)]=_0x595c82,this[_0x20873c(0x2e8)]=_0x3bbe13);}[_0x1af128(0x24b)](_0x151aaa){var _0x5dbb0e=_0x1af128;try{const _0x39d858=[..._0x151aaa,...this[_0x5dbb0e(0x299)]],_0x9899d8=[this[_0x5dbb0e(0x4d0)]||this[_0x5dbb0e(0x21e)]][_0x5dbb0e(0x448)](_0x16d677=>!!_0x16d677);let _0x192afd,_0x389db2;if(_0x9899d8[_0x5dbb0e(0x431)]){const _0x16935d=this[_0x5dbb0e(0x44a)][_0x5dbb0e(0x45f)](_0x39d858,_0x9899d8,!0x1);if(!_0x397f0a(_0x16935d))throw _0x16935d[_0x5dbb0e(0x479)];_0x192afd=_0x16935d[_0x5dbb0e(0x2cd)],_0x389db2=_0x16935d[_0x5dbb0e(0x4c7)];}else _0x192afd=_0x39d858,_0x389db2=[];let _0x13140e=this[_0x5dbb0e(0x28d)];_0x192afd[_0x5dbb0e(0x30f)](_0x5ca5aa=>{var _0x447063=_0x5dbb0e;let _0x5d56ed;if(_0x13140e[_0x447063(0x431)]){const _0x501641=this['_transformService'][_0x447063(0x29f)](_0x5ca5aa,_0x13140e);if(!_0x49a34e(_0x501641))throw _0x501641[_0x447063(0x479)];_0x5d56ed=_0x501641['c1Prime'],_0x13140e=_0x501641[_0x447063(0x2b0)];}else _0x5d56ed=_0x5ca5aa;this['_executeRemoteChangeset'](_0x5d56ed);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5dbb0e(0x28e)](),this[_0x5dbb0e(0x4d0)]&&_0x389db2[_0x5dbb0e(0x431)]&&(_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this[_0x5dbb0e(0x490)]());let _0x4e3d3b;if(this[_0x5dbb0e(0x4d0)]&&_0x13140e['length']!==0x0)_0x4e3d3b=this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](ae,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x389db2[0x0],_0x13140e,this[_0x5dbb0e(0x321)],void 0x0);else{if(this[_0x5dbb0e(0x4d0)]&&_0x13140e[_0x5dbb0e(0x431)]===0x0)_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this['_getCurrentRevision'](),_0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](ue,this['unitID'],this[_0x5dbb0e(0x417)],_0x389db2[0x0],this[_0x5dbb0e(0x321)]);else{if(_0x13140e[_0x5dbb0e(0x431)]!==0x0){const _0x3b7406=this[_0x5dbb0e(0x367)]['createInstance'](oe,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x13140e,this[_0x5dbb0e(0x321)]);_0x3b7406[_0x5dbb0e(0x4b7)](),_0x4e3d3b=_0x3b7406;}else _0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](De,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],this[_0x5dbb0e(0x321)]);}}return _0x4e3d3b[_0x5dbb0e(0x1ed)](),_0x4e3d3b;}catch(_0x5102de){return this[_0x5dbb0e(0x485)]['error'](_0x5dbb0e(0x38f),_0x5dbb0e(0x46f),_0x5102de),this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](de,this[_0x5dbb0e(0x1fa)],this['type'],this['_awaitingChangeset'],this[_0x5dbb0e(0x28d)],this[_0x5dbb0e(0x321)],!0x1);}}[_0x1af128(0x2b9)](){var _0x259709=_0x1af128;throw new Error(_0x259709(0x42b));}[_0x1af128(0x2a1)](_0x3fa37a){var _0x3a0bcf=_0x1af128;return this[_0x3a0bcf(0x28d)][_0x3a0bcf(0x2ad)](_0x3fa37a),this;}['onRemoteChangeset'](_0x4e7eab){var _0x2efad9=_0x1af128;return this[_0x2efad9(0x299)]['push'](_0x4e7eab),this;}[_0x1af128(0x4b0)](_0x471758){var _0x44c2bb=_0x1af128;if(this[_0x44c2bb(0x4d0)])return this[_0x44c2bb(0x21e)]=this[_0x44c2bb(0x4d0)],this[_0x44c2bb(0x4d0)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1af128(0x37e)](_0x23adf3){var _0x4bdd4d=_0x1af128;return this[_0x4bdd4d(0x438)](!!(_0x23adf3!=null&&_0x23adf3['isPermissionRej']));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){var _0x212007=_0x1af128;return this[_0x212007(0x367)]['createInstance'](fe,this['unitID'],this[_0x212007(0x417)],this[_0x212007(0x4d0)],this[_0x212007(0x28d)],this[_0x212007(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x438)](_0x187eb0){var _0x2c0d8e=_0x1af128;return this[_0x2c0d8e(0x367)][_0x2c0d8e(0x372)](de,this['unitID'],this[_0x2c0d8e(0x417)],this[_0x2c0d8e(0x4d0)],this[_0x2c0d8e(0x28d)],this[_0x2c0d8e(0x321)],_0x187eb0);}};te=Re([A(0x7,_0x50b881(_0x339edd)),A(0x8,_0x50b881(_0x1c117d)),A(0x9,_0x334ed4),A(0xa,_0x4f3e11),A(0xb,_0x16445d),A(0xc,_0x207f44),A(0xd,_0x325bd4(J))],te);function Di(_0x3fc489,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5){var _0x2c78b4=_0x1af128;return _0x2a6dd6&&_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](ae,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5,void 0x0):_0x2a6dd6?_0x3fc489[_0x2c78b4(0x372)](ue,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x17c2e5):_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](oe,_0x37c09d,_0xaa5b1f,_0x33d439,_0x17c2e5):_0x3fc489['createInstance'](De,_0x37c09d,_0xaa5b1f,_0x17c2e5);}var vr=Object[_0x1af128(0x4ba)],pr=Object[_0x1af128(0x3d3)],Lt=(_0x4c1fcd,_0x32c682,_0x2dd36d,_0x2c8d17)=>{var _0x547ad2=_0x1af128;for(var _0x18955e=_0x2c8d17>0x1?void 0x0:_0x2c8d17?pr(_0x32c682,_0x2dd36d):_0x32c682,_0x83d555=_0x4c1fcd[_0x547ad2(0x431)]-0x1,_0x2ce583;_0x83d555>=0x0;_0x83d555--)(_0x2ce583=_0x4c1fcd[_0x83d555])&&(_0x18955e=(_0x2c8d17?_0x2ce583(_0x32c682,_0x2dd36d,_0x18955e):_0x2ce583(_0x18955e))||_0x18955e);return _0x2c8d17&&_0x18955e&&vr(_0x32c682,_0x2dd36d,_0x18955e),_0x18955e;},k=(_0x1a4409,_0x3c56bb)=>(_0x308ffb,_0xc6f24d)=>_0x3c56bb(_0x308ffb,_0xc6f24d,_0x1a4409);let nt=class extends _0x4273f8{constructor(_0x1723a1,_0x1ed058,_0x1d55a8,_0x2b9d22,_0xc7b632,_0x20ac93,_0x1e04ad,_0x219074,_0x1426e9,_0x1a059d,_0x2d388a,_0x1117fc,_0x110095){var _0x10d242=_0x1af128;super(),N(this,'_state$',new _0x230061(null)),N(this,_0x10d242(0x4aa),this['_state$']['asObservable']()),N(this,'_state'),N(this,_0x10d242(0x298),!0x1),N(this,_0x10d242(0x2a9),''),N(this,_0x10d242(0x488),0x0),N(this,'status$',this[_0x10d242(0x4aa)]['pipe'](_0x3bf594(_0x3ca3eb=>_0x3ca3eb?_0x3ca3eb[_0x10d242(0x29e)]:yi[_0x10d242(0x2b8)]),_0x2b76e9(0x1))),N(this,_0x10d242(0x471),!0x1),N(this,_0x10d242(0x322),[]),(this['unitID']=_0x1723a1,this[_0x10d242(0x320)]=_0x1ed058,this[_0x10d242(0x202)]=_0x1d55a8,this[_0x10d242(0x367)]=_0x2b9d22,this[_0x10d242(0x3c9)]=_0xc7b632,this[_0x10d242(0x4c2)]=_0x20ac93,this[_0x10d242(0x1f3)]=_0x1e04ad,this[_0x10d242(0x2ef)]=_0x219074,this['_logService']=_0x1426e9,this[_0x10d242(0x32c)]=_0x1a059d,this['_permissionService']=_0x2d388a,this['_singleActiveUnitService']=_0x1117fc,this[_0x10d242(0x1e8)]=_0x110095);}get[_0x1af128(0x24d)](){return this['_state'];}async['init'](){var _0x2b4ff1=_0x1af128;if(this[_0x2b4ff1(0x24d)])throw new Error(_0x2b4ff1(0x476));await this['_init']();}[_0x1af128(0x4ca)](){var _0x273eed=_0x1af128;return this[_0x273eed(0x298)]=!0x0,_0x1943de(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1af128(0x477)](_0x4667ad){var _0x538c6a=_0x1af128;this[_0x538c6a(0x369)](_0x4667ad);}['_updateState'](_0x2d11ce){var _0x239cc1=_0x1af128;this[_0x239cc1(0x3b5)]=_0x2d11ce,this[_0x239cc1(0x40c)][_0x239cc1(0x2cb)](_0x2d11ce);}async['_init'](){var _0x5e9979=_0x1af128,_0x4161ee;this[_0x5e9979(0x32b)](await this[_0x5e9979(0x313)]()),this[_0x5e9979(0x1e4)]&&((_0x4161ee=this[_0x5e9979(0x1e4)])==null||_0x4161ee[_0x5e9979(0x35f)](this[_0x5e9979(0x1fa)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5e9979(0x26c)](_0x2a6092=>{var _0x290db9=_0x5e9979;this['_logService'][_0x290db9(0x247)](_0x290db9(0x3a9),'editing\x20status\x20changed\x20to',_0x2a6092),_0x2a6092===bi['OTHER_CLIENTS_EDITING']?(this[_0x290db9(0x2ef)][_0x290db9(0x258)]({'id':se[_0x290db9(0x302)]}),this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x1),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x1)):(this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x0),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x0));})));let _0x413eb3=!0x1;return this['disposeWithMe'](this[_0x5e9979(0x320)][_0x5e9979(0x214)][_0x5e9979(0x26c)](_0x1f9521=>{var _0x148e17=_0x5e9979;_0x1f9521===Te[_0x148e17(0x336)]?this[_0x148e17(0x3bd)](_0x413eb3):_0x1f9521===Te['OFFLINE']&&(_0x413eb3=!0x0,this['_toggleOffline']());})),this[_0x5e9979(0x3b0)](this['session']['event$'][_0x5e9979(0x26c)](_0x5738e1=>{var _0x339e5d=_0x5e9979;try{switch(_0x5738e1[_0x339e5d(0x492)]){case _0x1d08ca[_0x339e5d(0x405)]:{this[_0x339e5d(0x287)](_0x1db08e(_0x5738e1[_0x339e5d(0x345)]));break;}case _0x1d08ca[_0x339e5d(0x333)]:{this[_0x339e5d(0x430)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca[_0x339e5d(0x4a5)]:{this[_0x339e5d(0x352)]();break;}case _0x1d08ca[_0x339e5d(0x4c4)]:{this[_0x339e5d(0x200)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x339e5d(0x49b)](_0x5738e1[_0x339e5d(0x345)][_0x339e5d(0x3e4)]['map'](_0x2d7be3=>_0x1db08e(_0x2d7be3)));break;}case _0x1d08ca[_0x339e5d(0x40b)]:{this[_0x339e5d(0x352)]({'isPermissionRej':!0x0});break;}case _0x1d08ca['UNISCRIPT_RUN']:break;}}catch(_0x5c7523){throw console[_0x339e5d(0x479)](_0x339e5d(0x2df),_0x5c7523),_0x5c7523;}})),this['_state'];}['_unlockTransition'](){var _0x2eb633=_0x1af128;this[_0x2eb633(0x471)]=!0x1;}['_lockTransition'](){var _0x27a968=_0x1af128;if(this['_transitionLocked'])throw new Error(_0x27a968(0x3e6));this['_transitionLocked']=!0x0;}[_0x1af128(0x369)](_0x4b24e2){var _0x51647c=_0x1af128;this[_0x51647c(0x2c0)](),this['_updateState'](this[_0x51647c(0x3b5)][_0x51647c(0x2a1)](_0x4b24e2)),this['_unlockTransition']();}[_0x1af128(0x287)](_0x23089b){var _0x133adc=_0x1af128;if(!(_0x23089b['revision']<=this[_0x133adc(0x1f3)]['getCurrentRevOfUnit'](this[_0x133adc(0x1fa)]))){if(this[_0x133adc(0x298)]){this[_0x133adc(0x322)]['push'](_0x23089b);return;}this[_0x133adc(0x245)](_0x23089b);}}[_0x1af128(0x3b2)](){var _0x320c40=_0x1af128;this[_0x320c40(0x322)][_0x320c40(0x30f)](_0x17604b=>this[_0x320c40(0x245)](_0x17604b)),this[_0x320c40(0x322)]=[];}[_0x1af128(0x245)](_0x140f92){var _0x5a4bb6=_0x1af128;const _0x208e94=this['_compressMutationService']['interceptor'][_0x5a4bb6(0x399)](this[_0x5a4bb6(0x3c9)][_0x5a4bb6(0x3a6)]['getInterceptPoints']()[_0x5a4bb6(0x23a)])(_0x140f92[_0x5a4bb6(0x4a4)],null)||_0x140f92[_0x5a4bb6(0x4a4)],_0x369052={..._0x140f92,'mutations':_0x208e94};this[_0x5a4bb6(0x2c0)](),this['_updateState'](this[_0x5a4bb6(0x3b5)]['onRemoteChangeset'](_0x369052)),this[_0x5a4bb6(0x2ce)]();}[_0x1af128(0x430)](_0x5c0e2f){var _0x114bcd=_0x1af128;this[_0x114bcd(0x2c0)](),this[_0x114bcd(0x32b)](this[_0x114bcd(0x3b5)][_0x114bcd(0x4b0)](_0x5c0e2f)),this['_unlockTransition']();}[_0x1af128(0x352)](_0xaa728d){var _0x231fb1=_0x1af128;this[_0x231fb1(0x2c0)](),this[_0x231fb1(0x32b)](this[_0x231fb1(0x3b5)]['onRemoteRej'](_0xaa728d)),this[_0x231fb1(0x2ce)]();}[_0x1af128(0x200)](_0x417acf){var _0x5d5bfc=_0x1af128;this[_0x5d5bfc(0x2c0)](),this[_0x5d5bfc(0x32b)](this[_0x5d5bfc(0x3b5)][_0x5d5bfc(0x1d9)](_0x417acf)),this['_unlockTransition']();}[_0x1af128(0x49b)](_0x2d71e4){var _0x1baada=_0x1af128;if(!(this[_0x1baada(0x3b5)]instanceof te))throw new TypeError(_0x1baada(0x237));const _0x33a508=_0x2d71e4[_0x1baada(0x453)](_0x2afe91=>{var _0x500e34=_0x1baada;const _0x577b7d=this[_0x500e34(0x3c9)][_0x500e34(0x3a6)]['fetchThroughInterceptors'](this[_0x500e34(0x3c9)][_0x500e34(0x3a6)][_0x500e34(0x211)]()[_0x500e34(0x23a)])(_0x2afe91[_0x500e34(0x4a4)],null)||_0x2afe91[_0x500e34(0x4a4)];return{..._0x2afe91,'mutations':_0x577b7d};});this[_0x1baada(0x2c0)](),this[_0x1baada(0x32b)](this[_0x1baada(0x3b5)][_0x1baada(0x24b)](_0x33a508)),this[_0x1baada(0x2ce)]();}[_0x1af128(0x35c)](){var _0xdf4853=_0x1af128;this['_lockTransition'](),this[_0xdf4853(0x32b)](this[_0xdf4853(0x3b5)]['toggleOffline']()),this[_0xdf4853(0x2ce)]();}[_0x1af128(0x3bd)](_0xcd937d=!0x1){var _0x55aada=_0x1af128;this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](this['_state'][_0x55aada(0x2a5)]()),this[_0x55aada(0x2ce)]();const _0x209d16=this[_0x55aada(0x3b5)];_0xcd937d&&_0x209d16 instanceof De&&(this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](_0x209d16[_0x55aada(0x261)]()),this['_unlockTransition']());}async[_0x1af128(0x313)](){return new Promise(_0x5f3cd2=>{var _0x3268a8=_0x596d;this['session'][_0x3268a8(0x214)][_0x3268a8(0x463)](_0x2a8f0e(0x1))[_0x3268a8(0x26c)](async _0x18afc9=>{var _0x2ff127=_0x3268a8;_0x5f3cd2(await this[_0x2ff127(0x346)](_0x18afc9===Te['ONLINE']));});});}[_0x1af128(0x317)](){var _0x32d37e=_0x1af128;const _0xfc90de=this[_0x32d37e(0x1fa)];return{'onStateChange':(_0x5b786d,_0x119775)=>{var _0x5860cb=_0x32d37e;if(_0x5b786d!==this[_0x5860cb(0x3b5)])throw new Error(_0x5860cb(0x43e)+_0x5b786d['status']+_0x5860cb(0x37f)+_0x119775['status']+'\x0aCurrent:\x20'+this[_0x5860cb(0x3b5)][_0x5860cb(0x29e)]);this[_0x5860cb(0x32b)](_0x119775);},'onSendChangeset':_0x2865cb=>{var _0x105836=_0x32d37e;_0x2865cb['sid']||(_0x2865cb[_0x105836(0x38a)]=this[_0x105836(0x2a9)],_0x2865cb[_0x105836(0x467)]=++this[_0x105836(0x488)]);const _0x3f5c1d={'eventID':_0x1d08ca[_0x105836(0x2b2)],'data':{'unitID':_0x2865cb['unitID'],'unitType':this[_0x105836(0x202)],'changeset':_0x2865cb,'memberID':this['session']['getMemberID']()}};this['session'][_0x105836(0x444)](_0x3f5c1d,this[_0x105836(0x1fa)]);},'onMissingChangesets':({from:_0x80a9a3,to:_0x31c059})=>{var _0x7cd203=_0x32d37e;this[_0x7cd203(0x485)]['debug'](_0x7cd203(0x3a9),_0x7cd203(0x49d)+_0x80a9a3+_0x7cd203(0x2e6)+_0x31c059);const _0x355ae6={'eventID':_0x1d08ca['FETCH_MISSING'],'data':{'unitID':_0xfc90de,'unitType':this[_0x7cd203(0x202)],'from':_0x80a9a3,'to':_0x31c059}};this[_0x7cd203(0x320)][_0x7cd203(0x444)](_0x355ae6,this[_0x7cd203(0x1fa)]);}};}async['_createInitialStateImpl'](_0x22affb){var _0x170398=_0x1af128,_0x497ebd,_0x2ee431,_0x560c35;const _0x1c6a4f=await((_0x497ebd=this['_localCacheService'])==null?void 0x0:_0x497ebd[_0x170398(0x4ac)](this[_0x170398(0x1fa)])),_0x465e95=(_0x2ee431=_0x1c6a4f==null?void 0x0:_0x1c6a4f['mutations'])!=null?_0x2ee431:[],_0x17939d=(_0x560c35=_0x1c6a4f==null?void 0x0:_0x1c6a4f[_0x170398(0x387)])!=null?_0x560c35:null,_0x9a0653=!!(_0x17939d!=null&&_0x17939d[_0x170398(0x38a)])&&!!(_0x17939d!=null&&_0x17939d['reqId']);this[_0x170398(0x2a9)]=_0x9a0653?_0x17939d[_0x170398(0x38a)]:sr(),this[_0x170398(0x488)]=_0x9a0653?_0x17939d[_0x170398(0x467)]:0x0;const _0xb0f794=this[_0x170398(0x1fa)];try{this[_0x170398(0x469)](_0x17939d,_0x465e95);}catch(_0xc92b73){this[_0x170398(0x485)][_0x170398(0x479)](_0xc92b73);}const _0x1984bc=this[_0x170398(0x317)]();if(_0x22affb){const _0x39c959=Di(this[_0x170398(0x367)],_0xb0f794,this[_0x170398(0x202)],_0x17939d,_0x465e95,_0x1984bc);return _0x39c959 instanceof oe?_0x39c959[_0x170398(0x4b7)]():(_0x39c959 instanceof ae||_0x39c959 instanceof ue)&&_0x39c959['resend'](),_0x39c959;}return this['_injector'][_0x170398(0x372)](fe,_0xb0f794,this['_type'],_0x17939d,_0x465e95,_0x1984bc);}['_replayCachedMutations'](_0x3ec35c,_0x705e09){var _0x56b33e=_0x1af128,_0x20df83,_0x472294;const _0x41d095=this[_0x56b33e(0x3c9)][_0x56b33e(0x3a6)][_0x56b33e(0x399)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x20df83=_0x41d095((_0x3ec35c==null?void 0x0:_0x3ec35c['mutations'])||[],null))==null||_0x20df83[_0x56b33e(0x30f)](_0x6aabfe=>this[_0x56b33e(0x32c)]['executeCommand'](_0x6aabfe['id'],_0x6aabfe['params'])),(_0x472294=_0x41d095(_0x705e09||[],null))==null||_0x472294['forEach'](_0xbf140=>this['_commandService'][_0x56b33e(0x283)](_0xbf140['id'],_0xbf140[_0x56b33e(0x311)]));}};nt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],nt);let Tt=class extends nt{constructor(_0x2e4554,_0x270708,_0x495cf8,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9){var _0x41891=_0x1af128;super(_0x2e4554,_0x495cf8,_0x270708,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9),N(this,_0x41891(0x3f6),null),(this[_0x41891(0x1fa)]=_0x2e4554,this['type']=_0x270708);}[_0x1af128(0x26d)](_0x5c2ce6){this['_handlerCallback']=_0x5c2ce6;}[_0x1af128(0x1d3)](){var _0x53adf9=_0x1af128;this[_0x53adf9(0x3f6)]=null,super[_0x53adf9(0x1d3)]();}[_0x1af128(0x317)](){var _0x2a0972=_0x1af128;const _0x147f85=super[_0x2a0972(0x317)]();return _0x147f85[_0x2a0972(0x457)]=_0x542b9b=>{var _0x154a9b=_0x2a0972,_0x1e8736,_0x2c1fa8;return(_0x2c1fa8=(_0x1e8736=this[_0x154a9b(0x3f6)])==null?void 0x0:_0x1e8736['onTransformIME'])==null?void 0x0:_0x2c1fa8[_0x154a9b(0x3f9)](_0x1e8736,_0x542b9b);},_0x147f85['onTransformState']=_0x5f3a59=>{var _0xb881d6=_0x2a0972,_0x3522e1,_0x47599f;return(_0x47599f=(_0x3522e1=this[_0xb881d6(0x3f6)])==null?void 0x0:_0x3522e1[_0xb881d6(0x36e)])==null?void 0x0:_0x47599f[_0xb881d6(0x3f9)](_0x3522e1,_0x5f3a59);},_0x147f85[_0x2a0972(0x42a)]=_0x42a4a7=>{var _0x419b60=_0x2a0972,_0x546699,_0x3584b2;return(_0x3584b2=(_0x546699=this[_0x419b60(0x3f6)])==null?void 0x0:_0x546699[_0x419b60(0x42a)])==null?void 0x0:_0x3584b2['call'](_0x546699,_0x42a4a7);},_0x147f85['onSyncEditingCollabCursor']=_0x56d9db=>{var _0x971b92=_0x2a0972,_0x4770f6,_0x4da2b0;return(_0x4da2b0=(_0x4770f6=this['_handlerCallback'])==null?void 0x0:_0x4770f6[_0x971b92(0x221)])==null?void 0x0:_0x4da2b0[_0x971b92(0x3f9)](_0x4770f6,_0x56d9db);},_0x147f85[_0x2a0972(0x45d)]=_0x3e93a1=>{var _0x47cc6f=_0x2a0972,_0x381114,_0x349fb4,_0xa53b99;if(!((_0x381114=this[_0x47cc6f(0x3f6)])!=null&&_0x381114[_0x47cc6f(0x45d)]))throw new Error(_0x47cc6f(0x330));return(_0xa53b99=(_0x349fb4=this[_0x47cc6f(0x3f6)])==null?void 0x0:_0x349fb4[_0x47cc6f(0x45d)])==null?void 0x0:_0xa53b99[_0x47cc6f(0x3f9)](_0x349fb4,_0x3e93a1);},_0x147f85[_0x2a0972(0x2c1)]=_0x396ee8=>{var _0x1c7b2e=_0x2a0972,_0x565ef4,_0x2c8088,_0x2f09bd;if(!((_0x565ef4=this[_0x1c7b2e(0x3f6)])!=null&&_0x565ef4['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f09bd=(_0x2c8088=this[_0x1c7b2e(0x3f6)])==null?void 0x0:_0x2c8088['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f09bd[_0x1c7b2e(0x3f9)](_0x2c8088,_0x396ee8);},_0x147f85;}async[_0x1af128(0x4d4)](){var _0x1263b2=_0x1af128;const _0xfe3275=await super[_0x1263b2(0x4d4)]();return this[_0x1263b2(0x3b0)](this['_commandService'][_0x1263b2(0x2cc)]((_0xeb9b55,_0x59a33f)=>{var _0x3de2e2=_0x1263b2;if(_0xeb9b55['type']!==_0x572a97['MUTATION']||_0x59a33f!=null&&_0x59a33f['fromCollab']||_0x59a33f!=null&&_0x59a33f[_0x3de2e2(0x253)]||_0xeb9b55['id']===_0x582104['id'])return;const _0x224981=_0xeb9b55['params'];if((_0x224981==null?void 0x0:_0x224981[_0x3de2e2(0x379)])!==this['unitID'])return;const _0x3f5bc2=_0xeb9b55,_0x575ab9=this[_0x3de2e2(0x3c9)]['interceptor']['fetchThroughInterceptors'](this[_0x3de2e2(0x3c9)][_0x3de2e2(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3f5bc2],null)||[_0x3f5bc2];this[_0x3de2e2(0x369)](_0x575ab9[0x0]);})),_0xfe3275;}};Tt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],Tt);let Ct=class extends nt{constructor(_0xb41954,_0x1bbb1e,_0x244cbf,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3f7ba4,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6){var _0x1dee69=_0x1af128;super(_0xb41954,_0x244cbf,_0x1bbb1e,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6),this[_0x1dee69(0x1fa)]=_0xb41954,this[_0x1dee69(0x417)]=_0x1bbb1e,this[_0x1dee69(0x4ab)]=_0x3f7ba4;}[_0x1af128(0x317)](){var _0x97c34=_0x1af128;const _0x3ea236=super['_createHandler']();return _0x3ea236['onTransformSelections']=_0x2a10bb=>this[_0x97c34(0x4ab)][_0x97c34(0x3aa)](_0x2a10bb),_0x3ea236;}async[_0x1af128(0x4d4)](){var _0x5cd2a2=_0x1af128;const _0x856342=await super[_0x5cd2a2(0x4d4)]();return this['disposeWithMe'](this[_0x5cd2a2(0x32c)][_0x5cd2a2(0x2cc)]((_0x176a4f,_0x4d7e5b)=>{var _0x89c24e=_0x5cd2a2;if(_0x176a4f[_0x89c24e(0x417)]!==_0x572a97['MUTATION']||_0x4d7e5b!=null&&_0x4d7e5b['fromCollab']||_0x4d7e5b!=null&&_0x4d7e5b['onlyLocal'])return;const _0xcb5875=_0x176a4f['params'];if((_0xcb5875==null?void 0x0:_0xcb5875[_0x89c24e(0x379)])!==this[_0x89c24e(0x1fa)])return;const _0x3dc288=_0x176a4f,_0x9d1388=this[_0x89c24e(0x3c9)][_0x89c24e(0x3a6)][_0x89c24e(0x399)](this['_compressMutationService'][_0x89c24e(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3dc288],null)||[_0x3dc288];this[_0x89c24e(0x369)](_0x9d1388[0x0]);})),_0x856342;}};Ct=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(it)),k(0x8,_0x50b881(pe)),k(0x9,_0x334ed4),k(0xa,_0x4f3e11),k(0xb,_0xea2b61),k(0xc,_0x325bd4(ht)),k(0xd,_0x325bd4(J))],Ct);var mr=Object[_0x1af128(0x4ba)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x30e11b,_0x5c1689,_0x54e287,_0x2dc57e)=>{var _0x2250d6=_0x1af128;for(var _0x5b5652=_0x2dc57e>0x1?void 0x0:_0x2dc57e?gr(_0x5c1689,_0x54e287):_0x5c1689,_0x14fe2f=_0x30e11b[_0x2250d6(0x431)]-0x1,_0x566884;_0x14fe2f>=0x0;_0x14fe2f--)(_0x566884=_0x30e11b[_0x14fe2f])&&(_0x5b5652=(_0x2dc57e?_0x566884(_0x5c1689,_0x54e287,_0x5b5652):_0x566884(_0x5b5652))||_0x5b5652);return _0x2dc57e&&_0x5b5652&&mr(_0x5c1689,_0x54e287,_0x5b5652),_0x5b5652;},ft=(_0x22a372,_0x2c5c02)=>(_0xb584cd,_0x48dff1)=>_0x2c5c02(_0xb584cd,_0x48dff1,_0x22a372);let rt=class extends _0x4273f8{constructor(_0x14ffdd,_0x4e977b,_0x58aba9){var _0x6bcc44=_0x1af128;super(),N(this,_0x6bcc44(0x1df),new Map()),N(this,'_entityInit$',new _0x10c59f()),N(this,_0x6bcc44(0x1d8),this[_0x6bcc44(0x39c)]['asObservable']()),(this[_0x6bcc44(0x367)]=_0x14ffdd,this[_0x6bcc44(0x412)]=_0x4e977b,this[_0x6bcc44(0x332)]=_0x58aba9,this[_0x6bcc44(0x4d4)]());}[_0x1af128(0x1d3)](){var _0x1ea11e=_0x1af128;super[_0x1ea11e(0x1d3)](),this[_0x1ea11e(0x1df)]['forEach'](_0xb4fd47=>_0xb4fd47[_0x1ea11e(0x1d3)]()),this[_0x1ea11e(0x1df)][_0x1ea11e(0x348)]();}[_0x1af128(0x339)](_0x204208){var _0x4d0896=_0x1af128,_0x588357;return(_0x588357=this[_0x4d0896(0x1df)]['get'](_0x204208))!=null?_0x588357:null;}['getCollabEntity$'](_0x4b2355){var _0x4a631e=_0x1af128;const _0x588033=this['getCollabEntity'](_0x4b2355);return _0x588033?_0x4586b0(_0x588033):this[_0x4a631e(0x39c)][_0x4a631e(0x463)](_0x226f92(_0x431318=>_0x431318[_0x4a631e(0x1fa)]===_0x4b2355));}[_0x1af128(0x357)](_0x47753c){var _0x3d58df=_0x1af128;return _0x5acfb6(this[_0x3d58df(0x397)](_0x47753c)['pipe'](_0x3c96ad(()=>{})));}[_0x1af128(0x4d4)](){var _0x48515b=_0x1af128;this[_0x48515b(0x332)][_0x48515b(0x2e0)](_0x7a0f38['UNIVER_SHEET'])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x26c)](async _0x43f273=>{var _0x1ad2be=_0x48515b;const _0xeb1052=_0x43f273['getUnitId'](),_0x13e582=await this[_0x1ad2be(0x4a9)](_0xeb1052,Q[_0x1ad2be(0x3c7)]);this['_entities'][_0x1ad2be(0x255)](_0xeb1052,_0x13e582);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x7a0f38[_0x48515b(0x43b)])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x463)](_0x226f92(_0x567f25=>!_0x567f25[_0x48515b(0x26b)]()['startsWith']('__')))['subscribe'](async _0x407c90=>{var _0x79ccf1=_0x48515b;const _0x2365be=_0x407c90[_0x79ccf1(0x26b)](),_0x573ed4=await this[_0x79ccf1(0x4a9)](_0x2365be,Q[_0x79ccf1(0x43b)]);this[_0x79ccf1(0x1df)][_0x79ccf1(0x255)](_0x2365be,_0x573ed4);}),_0x19107a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7a0f38['UNIVER_SHEET']),this[_0x48515b(0x332)][_0x48515b(0x41d)](_0x7a0f38['UNIVER_DOC']))[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]))[_0x48515b(0x26c)](_0x486b0b=>{var _0x4fe7a4=_0x48515b;const _0x3319f5=_0x486b0b['getUnitId'](),_0x366933=this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x416)](_0x3319f5);_0x366933&&(_0x366933[_0x4fe7a4(0x1d3)](),this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x31f)](_0x3319f5));});}async[_0x1af128(0x4a9)](_0x362268,_0x4ee0f5){var _0x1a697f=_0x1af128;const _0x3faf8d=await this[_0x1a697f(0x412)][_0x1a697f(0x3e7)](_0x362268),_0x5858bd=this[_0x1a697f(0x367)]['createInstance'](this[_0x1a697f(0x364)](_0x4ee0f5),_0x362268,_0x4ee0f5,_0x3faf8d);return await _0x5858bd['init'](),this[_0x1a697f(0x39c)]['next'](_0x5858bd),_0x5858bd;}[_0x1af128(0x364)](_0xb0dd7f){var _0x20988b=_0x1af128;switch(_0xb0dd7f){case Q[_0x20988b(0x43b)]:return Tt;case Q[_0x20988b(0x3c7)]:return Ct;default:throw new Error(_0x20988b(0x473)+_0xb0dd7f);}}};rt=Sr([ft(0x0,_0x50b881(_0x339edd)),ft(0x1,_0x50b881(Le)),ft(0x2,_0x42b8e7)],rt);var Er=Object[_0x1af128(0x4ba)],Ir=Object[_0x1af128(0x3d3)],Tr=(_0x45692e,_0x42d327,_0xee6807,_0x4587e5)=>{for(var _0x21fbc2=_0x4587e5>0x1?void 0x0:_0x4587e5?Ir(_0x42d327,_0xee6807):_0x42d327,_0x5c3acd=_0x45692e['length']-0x1,_0x194bd8;_0x5c3acd>=0x0;_0x5c3acd--)(_0x194bd8=_0x45692e[_0x5c3acd])&&(_0x21fbc2=(_0x4587e5?_0x194bd8(_0x42d327,_0xee6807,_0x21fbc2):_0x194bd8(_0x21fbc2))||_0x21fbc2);return _0x4587e5&&_0x21fbc2&&Er(_0x42d327,_0xee6807,_0x21fbc2),_0x21fbc2;},Jt=(_0x1ddfa9,_0x2baf28)=>(_0x3b97f8,_0x237211)=>_0x2baf28(_0x3b97f8,_0x237211,_0x1ddfa9);const Cr=_0x1af128(0x4ce),Rr=_0x1af128(0x3d8);let Rt=class extends _0x1ec030{constructor(_0x57a7f8,_0x4979d9){var _0x11725c=_0x1af128;super(),this[_0x11725c(0x332)]=_0x57a7f8,this[_0x11725c(0x4d1)]=_0x4979d9,this[_0x11725c(0x4d4)]();}[_0x1af128(0x4d4)](){var _0x51f1e2=_0x1af128;this[_0x51f1e2(0x3b0)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x5539a8=_0x51f1e2,_0xaf5f49;const _0x1e312d=this['_univerInstanceService'][_0x5539a8(0x328)]();let _0x140b41=(_0xaf5f49=this[_0x5539a8(0x4d1)][_0x5539a8(0x49e)](Cr))!=null?_0xaf5f49:Rr;_0x1e312d instanceof _0x331611&&(_0x140b41=_0x1e312d[_0x5539a8(0x3fa)]),document[_0x5539a8(0x41e)]=_0x140b41;}));}};Rt=Tr([Jt(0x0,_0x42b8e7),Jt(0x1,_0xb3f6ba)],Rt);var br=Object[_0x1af128(0x4ba)],Or=Object[_0x1af128(0x3d3)],yr=(_0x5441b4,_0x16219b,_0xebc0e1,_0x59b66c)=>{var _0x1d626b=_0x1af128;for(var _0xcc1101=_0x59b66c>0x1?void 0x0:_0x59b66c?Or(_0x16219b,_0xebc0e1):_0x16219b,_0x1e2219=_0x5441b4[_0x1d626b(0x431)]-0x1,_0x2163a8;_0x1e2219>=0x0;_0x1e2219--)(_0x2163a8=_0x5441b4[_0x1e2219])&&(_0xcc1101=(_0x59b66c?_0x2163a8(_0x16219b,_0xebc0e1,_0xcc1101):_0x2163a8(_0xcc1101))||_0xcc1101);return _0x59b66c&&_0xcc1101&&br(_0x16219b,_0xebc0e1,_0xcc1101),_0xcc1101;},vt=(_0x2d9606,_0x246cd5)=>(_0x1b6513,_0x16514b)=>_0x246cd5(_0x1b6513,_0x16514b,_0x2d9606);let st=class{constructor(_0x3180a2,_0xa64171,_0x3061ca){var _0x146fae=_0x1af128;this[_0x146fae(0x4d1)]=_0x3180a2,this[_0x146fae(0x1ea)]=_0xa64171,this[_0x146fae(0x246)]=_0x3061ca,this[_0x146fae(0x3fc)]();}[_0x1af128(0x3fc)](){var _0x323f2f=_0x1af128;this['_httpService'][_0x323f2f(0x340)]({'priority':0x1,'interceptor':(_0x307307,_0x240a44)=>_0x240a44(_0x307307)[_0x323f2f(0x463)](_0x196fe2(async _0xb5ee9=>{var _0x163a16=_0x323f2f;const _0x3f8b39=_0xb5ee9;if(_0x3f8b39[_0x163a16(0x29e)]===0x191){if(typeof window>'u')throw new Error(_0x163a16(0x34d));if(window[_0x163a16(0x44c)](this['localeService']['t'](_0x163a16(0x1d0)))){const _0x3f57fa=window[_0x163a16(0x2ed)](window[_0x163a16(0x25e)][_0x163a16(0x4be)]);window['location'][_0x163a16(0x4be)]=this[_0x163a16(0x2bf)]()+_0x163a16(0x349)+_0x3f57fa;}}return _0x3f8b39;}))});}[_0x1af128(0x2bf)](){var _0x5cec19=_0x1af128,_0x49e521,_0x2e143b;const _0x5c72ce=this[_0x5cec19(0x4d1)][_0x5cec19(0x49e)](xn),_0x57519f=this['_configService'][_0x5cec19(0x49e)](q);return(_0x2e143b=(_0x49e521=_0x57519f==null?void 0x0:_0x57519f[_0x5cec19(0x48a)])!=null?_0x49e521:_0x5c72ce)!=null?_0x2e143b:Ln;}};st=yr([vt(0x0,_0xb3f6ba),vt(0x1,_0x50b881(_0x51273b)),vt(0x2,_0x50b881(_0x3d3898))],st);var Nr=Object[_0x1af128(0x4ba)],Dr=Object[_0x1af128(0x3d3)],Pr=(_0x20957b,_0x418e7d,_0x251f41,_0x333635)=>{var _0x4a6b88=_0x1af128;for(var _0x451541=_0x333635>0x1?void 0x0:_0x333635?Dr(_0x418e7d,_0x251f41):_0x418e7d,_0x21c337=_0x20957b[_0x4a6b88(0x431)]-0x1,_0x9e3490;_0x21c337>=0x0;_0x21c337--)(_0x9e3490=_0x20957b[_0x21c337])&&(_0x451541=(_0x333635?_0x9e3490(_0x418e7d,_0x251f41,_0x451541):_0x9e3490(_0x451541))||_0x451541);return _0x333635&&_0x451541&&Nr(_0x418e7d,_0x251f41,_0x451541),_0x451541;},Xt=(_0x44f0b7,_0x142718)=>(_0x1f60b3,_0x3ec281)=>_0x142718(_0x1f60b3,_0x3ec281,_0x44f0b7);function _0x6aa3(){var _0x3c277c=['min','socket\x20close','UNIVER_DOC','_clearHeartbeatTimer','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendingTimer','image/png','_createHmacHelper','_cipher','socket$','send','mixIn','HttpExport','hasher','filter','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','stringify','confirm','_onMessage','getSheetId','_socketService','/universer-api/uniscript','_members','&source=','map','equals','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','onTransformIME','_reverseMap','NoPadding','_getSignURL','_onUserJoin','uploadFileServerUrl','onTransformRemoteChangesetByIMECache','message$','transformChangesets','hostname','UUID','LIVESHARE_REQUEST_HOST','pipe','_executeRemoteChangeset','_minBufferSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','includes','_replayCachedMutations','417711XYNxmY','/-/object/-/batch_allowed','Pkcs7','UNRECOGNIZED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','failed\x20to\x20apply\x20missed\x20changesets!','_sendHeartbeat','_transitionLocked','image/bmp','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','catch','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onLocalMutation','image/jpg','error','[OfflineState]:\x20received\x20acknowledgement.','APPLY_PERMISSION_DENIED','__esModule','PERMISSION_DENIED','conflict','resourceIDs','MUTATION','every','54135288GWzNFF','JOIN','headers','_logService','pending','words','_changesetReqId','3GMIsgR','loginUrlKey','__creator','BufferedBlockAlgorithm','JOINING','JOIN_ROOM_NOT_EXISTS','EvpKDF','_getCurrentRevision','2776KqrUOx','eventID','LEAVE','createEncryptor','sessionStatus','retryConnectingInterval','Base64','apply','_getRedoStack','_timeoutTimer','_onFetchMissResult','readAsDataURL','fetching\x20missing\x20changesets\x20from\x20','getConfig','synced','[CollaborationState]:\x20apply\x20error!','_decreaseWaiting','extend','_doFinalize','mutations','CHANGESET_REJ','ceil','subject','roles','_startCollaboration','state$','_sheetTransformSelectionsService','loadOfflineData','_clearCollaborationTimeoutTimer','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteAck','_collaborationUIEventService','create','_undoStacks','APPLY_DUPLICATED','UnitSnapshot','addImageSourceCache','_schedule','execute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','defineProperty','LICENSE_MAX_UNITS_EXCEEDED','SOCKET_FAILED','listCollaborators','href','encrypt','_initUnitPermissionChange','[OfflineState]:\x20received\x20rejection.','_localeService','_showConflictNotification','CHANGESET_SHOULD_RETRY','transformStack\x20failed!','formatter','c2Prime','socket\x20open.','initWorkbookPermissionChange','pauseCollaboration','fetch_missing','post','getWorkbookSelections','DEFAULT_FILE_NAME','BlockCipher','_awaitingChangeset','_configService','_getAPIPrefix','CLOSE_ROOM','_init','toString','_transformRemoteChangesetByIMECache','MD5','_data','auth.needGotoLoginAlert','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','dispose','then','/universer-api/comb','exports','random','entityInit$','onRemoteRetry','getImage','_socketMessageSubscription','getCurrentUser','createCollaborator','clone','_entities','_clearScheduledTask','/block/','max','_authzIoService','_singleActiveUnitService','processBlock','/universer-api/authz','Decryptor','_localCacheService','RETRY_CONNECTING_MAX_COUNT','_httpService','_rescheduleHeartbeat','_initCloseConn','_updateLocalCache','_undoRedoService','ERROR_EXCEED_SIZE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','bind','saveImage','_revisionService','_waitCount','sessionTicket','unsubscribe','_createHelper','url','repeat','unitID','_registerDependencies','COMMENT_UPDATE','_keySchedule','enc','FETCH_MISS','_onRemoteRetry','_permissionService','_type','_clearTimeoutTimer','_networkConditionService','Hex','Latin1','_DEC_XFORM_MODE','byteLength','JOIN_ROOM_FAILED','updateMember','unit-cache-','session.room-permission-denied','_retryCount','_resendTimeout','image/jpeg','OpenSSL','getInterceptPoints','OTHER_CLIENTS_EDITING','_startTelemetryCollaborationNewChangeset','sessionStatus$','SNAPSHOT_SERVER_URL_KEY','application/json','RECV','_keyPriorReset','getTime','origin','override','_resendTimer','concat','_acknowledgedAwaitingChangeset','enableOfflineEditing','IDLE','onSyncEditingCollabCursor','MSG_FOR_ERROR','cmd','getCurrentRevOfUnit','6084256NNihXr','UNISCRIPT_RUN','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','key','session.room-full','NOT_COLLAB','onRemoteChangeset','onSendChangeset','reset','event$','isArray','[DataLoaderService]','mode','default','duration','POST','saveChangeset','incrementRevOfUnit','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COMPLETION_FINISHED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','JOIN_ROOM_FULL','CBC','_getUndoStack','open$','loadSheet','originalMeta','collabSubmitChangesetUrl','csShouldRetryEvent','collaboration_new_changeset','revision','_applyRemoteChangeset','localeService','debug','onStateChange','FETCH_MISSING','indexOf','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','state','toggleOffline','createDecryptor','join','/rev/','createSocket','onlyLocal','_shouldReportTelemetry','set','_nDataBytes','src','emitEvent','[CollaborationSession]','sendChangesetTimeout','range','getRandomValues','/-/object/list','location','_iv','joinEvent','fetchMiss','iterations','getSheetBlock','runId','clamp','AES','UNAUTHENTICATED','members','onMissingChangesets','getUnitType','getUnitId','subscribe','addHandlerCallback','[SyncedState]:\x20received\x20rejection.','_hasher','_initMergeInterceptor','PasswordBasedCipher','getAllMembers','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_checkMissing','selections','csRejEvent','_retryConnectingTimer','has','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','symbol','_xformMode','avatar','_sendHeartbeatTimer','3307675jLpcwf','HMAC','SerializableCipher','decrypt','executeCommand','signUrlServerUrl','startTime','workbook','_onRemoteChangeset','uniscriptRunEvent','method','getSnapshotAPIPath','APPLY_REJECT','_collaborationTimeoutTimer','_pendingMutations','_incrementRevisionNumber','UPDATE_PERMISSION_OBJ','list','_roomMembers','/allowed','_doProcessBlock','_oKey','_members$','target','pluginName','_collaborationPaused','_queuedRemoteChangesets','/unit/','_nRounds','_submitChangeset','People','status','transformMutationsWithChangeset','socketService','appendMutation','permissionRejEvent','commentUpdateEvent','memberID','toggleOnline','_loadDoc','unknown','LIVESHARE_OPERATION','_changesetSessionId','randomUUID','_scheduleCollaborationTimeoutTimer','format','push','StreamCipher','algo','m2Prime','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','LICENSE_DISTRO_REJECTED','unitId\x20is\x20not\x20found','_transformIMECache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','finalize','OFFLINE','resend','CONNECTOR_DATA_TOO_LARGE','UNKNOWN_CMD','_socket$','AUTHZ_URL_KEY','rng','_getLoginPath','_lockTransition','onTransformRemoteChangesetByStateCache','json','code','collaMsg','put','userID','asObservable','resolve','reconnect','_clearRedo','next','onCommandExecuted','c1Prime','_unlockTransition','x-univer-host','add','charCodeAt','baseRev','APPLY_REVISION_CONFILICT','/universer-api/snapshot/','[CollaborationSessionService]:\x20socket\x20error','29582phwVwL','_removeRoom','UNKNOWN_CODE','/universer-api/file/{fileID}/sign-url','ciphertext','_mode','_initDependencies','infoRsp','transformUndoRedo','Error\x20on\x20receiving\x20event','getTypeOfUnitAdded$','_transformStack','sigBytes','_unitID','_map','ticket','\x20to\x20','objectID','localCacheService','copyFileMeta','sin','prototype','_getSendChangesetTimeout','encodeURIComponent','joinRsp','_eventService','encode','_imageSourceCache','saveSnapshot','dispose$','LIVESHARE_TERMINATE','_tryReconnect','search','getValue','blockSize','_transformUndoredo','unitInfo$','_joinRoom','deepClone','rev','padding','SNAPSHOT_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','WordArray','OTHER_CLIENT_EDITING','getLatestCsReqIdBySid','collaboration-client.local-cache-service','buffer','UNIVER_COLLABORATION_CLIENT_PLUGIN','LOGIN_URL_KEY','/role','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','requestParams','updateOfflineData','_getAPIPrefixPath','_substituteUndoStack','pad','forEach','_instanceService','params','allowed','_createInitialState','_commentService','batchAllowed','_hash','_createHandler','_key','collaboration-client.config','BASE64','roomInfos','objectType','_socket','getImageSourceCache','delete','session','_handler','_remoteChangesetQueue','_getDownloadEndpointURL','byteOffset','_getSessionTicket','enableAuthServer','reduce','getFocusedUnit','_doReset','HttpImport','_updateState','_commandService','change$','SHA1','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_univerInstanceService','CHANGESET_ACK','_isPermissionRej','INTERNAL_ERROR','ONLINE','/object','COLLAB_WEB_SOCKET_URL','getCollabEntity','_onConnectionFailed','fetchMissingChangesets','_sender','USERS_LEAVE','_onRecvEvent','UNIVER_PROJECT','registerHTTPInterceptor','CHANGESET_REVISION_CONFILICT','csAckEvent','_transformStateCache','leaveEvent','data','_createInitialStateImpl','authzUrl','clear','?url=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','awaiting_with_pending','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','listRoles','_onJoinRoomEvent','_candidateSocket','UNIVER_SLIDE','_onRemoteRejected','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','values','LIVESHARE_NEW_HOST','readyForCollab','_config','_onOffline','substr','objectActions','_toggleOffline','_snapshotService','/fetchmissing?from=','editingUnit','routeKey','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','size','_getCtorByUniverType','downloadEndpointUrl','actions','_injector','SHOULD_CLOSE_CONN','_onLocalMutation','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createSocket','_sessions','onTransformState','COLLAB_SUBMIT_CHANGESET_URL','update','result','createInstance','INGEST','salt','offline','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','_stopTelemetryCollaborationNewChangeset','unitId','UNIVER_UNKNOWN','_telemetryInfo','_memberService','session.room-cnt-exceeds','onRemoteRej','\x0aAfter:\x20','SYNCED','_getUploadFileURL','OPTIONAL','$super','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','awaitingChangeset','status$','loadUnit','sid','[UniverCollaborationClientPlugin]','INVALID_ARGUMENT','append','lib','[FetchMissState]','cfg','capture','reject','_HTTPService','_telemetryService','ivSize','getUnit','getCollabEntity$','compose','fetchThroughInterceptors','randomBytes','newCsEvent','_entityInit$','save\x20fail\x20reason\x20is\x20','ERROR_IMAGE','setCurrentUser','[CollaborationUndoRedoService]','kdf','YUUMI_UNABLE_LOAD_URL','readInt32LE','_transformRemoteChangesetByStateCache','PERSON','interceptor','sheets','_syncEditingCollabCursor','[CollaborationEntity]','transformSelections','floor','Base','[SyncedState]:\x20received\x20acknowledgement.','_emitMembers','SUBMIT_CHANGESET_TIMEOUT','disposeWithMe','complete','_exhaustRemoteChangesetQueue','abs','searchParams','_state','encryptBlock','updatePermissionPoint','_parse','_event$','/resources','univer-pro.collaboration-client-socket-service','_collaborationSessionService','_toggleOnline','_updateStatus','getCurrentSelections','close','textRanges','NOT_FOUND','__Key__','_userManagerService','_replaceFileID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_SHEET','_status$','_compressMutationService','splice','_invKeySchedule','8472096ASejRX','_waitForHeartbeatResponse','_change$','setShowComponents','_throwTelemetryCollaborationNewChangeset','_doCryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','UNDEFINED','_onConnectionOpen','keySize','function','Univer','session.room-not-exists','session.join-failed','_iKey','CONFLICT','charAt','crypto','parse','findIndex','[CollaborationSessionService]','removeMember','_roomCreated$','changesets','TOO_MANY_REQUESTS','[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.','requireSession','Malformed\x20UTF-8\x20data','closeSession','getDeserializedSheetBlock','_initRequestHeader','isPermissionRej','HmacSHA1','_loadSheet','/object/','HEARTBEAT_INTERVAL','UPDATE_CURSOR','/collaborator','Cipher','HELLO','HmacMD5','_handlerCallback','updateCursorEvent','compute','call','name','toLowerCase','init','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaiting','_prevBlock','_fetchMissChangesets','liveShareNewHost','_clearUndo','Utf8','_substituteRedoStack','NEW_CHANGESETS','\x20in\x20_schedule.','Encryptor','_snapshotServerService','close$','Undefined','PERMISSION_REJ','_state$','_process','refreshPermission','ALREADY_EXISTS','find','2763688BTbrSJ','_collabSessionService','LOCAL_CACHE_INTERVAL','error$','_socketReady','get','type','USERS_ENTER','getRoom','LIVESHARE_FETCH_OPERATIONS','collaborators','UnitEmbedded','getTypeOfUnitDisposed$','title','getMember','SOCKET_FAILED_RETRY','_commentUpdate$','JOIN_ROOM_PERMISSION_DENIED','updateCollaborator','_append','body','[OfflineState]:\x20received\x20changeset.','string','now','online$','onTransformSelections','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PY_RUNTIME_SCRIPT_ERROR','FileId','/universer-api/oidc/authpage','ERROR_IMAGE_TYPE','_onRemoteACK','length','LICENSE_EXPORT_SIZE_EXCEEDED','_listenToNetworkCondition','_sessionStatus$','getMemberID','_ENC_XFORM_MODE','_http','_onConflict'];_0x6aa3=function(){return _0x3c277c;};return _0x6aa3();}const Pi=_0x1af128(0x2bd),wr=_0x1af128(0x1e6);let bt=class extends _0x1ec030{constructor(_0x57d8bc,_0x49cbc1){var _0x10ab04=_0x1af128;super(),this[_0x10ab04(0x393)]=_0x57d8bc,this[_0x10ab04(0x4d1)]=_0x49cbc1,this[_0x10ab04(0x270)]();}[_0x1af128(0x270)](){var _0x47a96a=_0x1af128;const _0x51598e=this;this[_0x47a96a(0x3b0)](this[_0x47a96a(0x393)][_0x47a96a(0x340)]({'priority':0x3e7,'interceptor':_0x8ebddf({'isMatch'(_0x5c48fe){var _0x4064c4=_0x47a96a,_0x33ce1f;if(_0x5c48fe[_0x4064c4(0x289)]===_0x4064c4(0x234)&&((_0x33ce1f=_0x5c48fe['requestParams'])!=null&&_0x33ce1f[_0x4064c4(0x425)])){const {objectID:_0x53873e,objectType:_0x7907d8}=_0x5c48fe[_0x4064c4(0x30a)][_0x4064c4(0x425)]||{};if(!_0x53873e||_0x7907d8===void 0x0)return!0x1;const _0x23c2ed=_0x51598e['_getAPIPrefixPath']()+'/'+_0x7907d8+'/object/'+_0x53873e+'/allowed';if(_0x5c48fe[_0x4064c4(0x1f8)]===_0x23c2ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5abdc2){var _0x8887ac=_0x47a96a,_0x1e6a14;return(_0x1e6a14=_0x5abdc2['requestParams'])==null?void 0x0:_0x1e6a14[_0x8887ac(0x425)];},'mergeParamsToRequest'(_0x121c13,_0x545c1d){var _0x1bbed0=_0x47a96a;const _0x2bc8f6=_0x51598e['_getAPIPrefixPath']()+_0x1bbed0(0x46b),_0x223d2b=_0x121c13[_0x1bbed0(0x327)]((_0x11dc9c,_0x3ee9d3)=>{var _0x3abd70=_0x1bbed0;const {unitID:_0x5a7440,objectID:_0x136ca0,objectType:_0x4d52d1,actions:_0x2aee9d}=_0x3ee9d3;return _0x11dc9c[_0x5a7440]||(_0x11dc9c[_0x5a7440]={}),_0x11dc9c[_0x5a7440][_0x136ca0]||(_0x11dc9c[_0x5a7440][_0x136ca0]={'objectID':_0x136ca0,'objectType':_0x4d52d1,'actions':[]}),_0x11dc9c[_0x5a7440][_0x136ca0][_0x3abd70(0x366)]['push'](..._0x2aee9d),_0x11dc9c;},{}),_0x65a60c=[];for(const _0x19ed99 in _0x223d2b)for(const _0x36734f in _0x223d2b[_0x19ed99]){const {actions:_0x4fca87,objectType:_0x14e748}=_0x223d2b[_0x19ed99][_0x36734f],_0x47a582=[...new Set(_0x4fca87)];_0x65a60c['push']({'unitID':_0x19ed99,'objectID':_0x36734f,'objectType':_0x14e748,'actions':_0x47a582});}return new _0x4ca06d(_0x1bbed0(0x234),_0x2bc8f6,{'headers':_0x545c1d[_0x1bbed0(0x484)],'withCredentials':_0x545c1d['withCredentials'],'responseType':_0x545c1d['responseType'],'body':{'requests':_0x65a60c}});}},{'distributeResult'(_0x5e5604,_0x1b9ca9){var _0x3543b0=_0x47a96a;const {objectActions:_0x2195d1}=_0x5e5604;return _0x1b9ca9[_0x3543b0(0x453)](_0x1bbcb7=>{var _0x288d3d=_0x3543b0;const {unitID:_0x3778f2,objectID:_0x28b054,actions:_0x2d17d1}=_0x1bbcb7,_0x38d262=_0x2195d1[_0x288d3d(0x410)](_0x37d3b1=>_0x37d3b1[_0x288d3d(0x1fa)]===_0x3778f2&&_0x37d3b1[_0x288d3d(0x2e7)]===_0x28b054),_0x4c74c3=_0x2d17d1[_0x288d3d(0x453)](_0x5bb2f1=>_0x38d262==null?void 0x0:_0x38d262[_0x288d3d(0x366)][_0x288d3d(0x410)](_0xc792e8=>_0xc792e8['action']===_0x5bb2f1))['filter'](_0x2d719e=>!!_0x2d719e);return{'config':_0x1bbcb7,'result':{'actions':_0x4c74c3,'error':_0x5e5604[_0x288d3d(0x479)]}};});}})}));}[_0x1af128(0x30c)](){var _0x18f744=_0x1af128,_0x816606,_0x45e0f7;const _0x3c74fe=this['_configService'][_0x18f744(0x49e)](Pi),_0x29a906=this[_0x18f744(0x4d1)][_0x18f744(0x49e)](q);return(_0x45e0f7=(_0x816606=_0x29a906==null?void 0x0:_0x29a906[_0x18f744(0x347)])!=null?_0x816606:_0x3c74fe)!=null?_0x45e0f7:wr;}async[_0x1af128(0x4b2)](_0xa0602e){var _0x38922f=_0x1af128;const _0x1270e7=this['_getAPIPrefixPath']()+'/'+_0xa0602e[_0x38922f(0x31c)]+_0x38922f(0x337);return(await this[_0x38922f(0x393)][_0x38922f(0x4cc)](_0x1270e7,{'body':_0xa0602e}))['body']['objectID']||'';}async['list'](_0x1869a9){var _0x4da3c4=_0x1af128;const _0x1f391d=this['_getAPIPrefixPath']()+_0x4da3c4(0x25d);return(await this['_HTTPService'][_0x4da3c4(0x4cc)](_0x1f391d,{'body':_0x1869a9}))[_0x4da3c4(0x425)]['objects'];}async[_0x1af128(0x370)](_0xb4dd55){var _0x9077f2=_0x1af128;const _0x25e3d7=this[_0x9077f2(0x30c)]()+'/'+_0xb4dd55[_0x9077f2(0x31c)]+_0x9077f2(0x3ef)+_0xb4dd55[_0x9077f2(0x2e7)];await this['_HTTPService'][_0x9077f2(0x2c5)](_0x25e3d7,{'body':_0xb4dd55});}async[_0x1af128(0x312)](_0x5ba9f9){var _0x11f922=_0x1af128;const _0x2167b9=this[_0x11f922(0x30c)]()+'/'+_0x5ba9f9['objectType']+_0x11f922(0x3ef)+_0x5ba9f9[_0x11f922(0x2e7)]+_0x11f922(0x292);return(await this[_0x11f922(0x393)]['post'](_0x2167b9,{'body':_0x5ba9f9}))[_0x11f922(0x425)]['actions'];}async[_0x1af128(0x315)](_0x19ed53){var _0x530030=_0x1af128;const _0x16a52a=this[_0x530030(0x30c)]()+_0x530030(0x46b);return(await this[_0x530030(0x393)][_0x530030(0x4cc)](_0x16a52a,{'body':{'requests':_0x19ed53}}))[_0x530030(0x425)][_0x530030(0x35b)];}async[_0x1af128(0x34e)](_0x57df8b){var _0x2b3c00=_0x1af128;const _0x7aaca0=this['_getAPIPrefixPath']()+'/'+_0x57df8b[_0x2b3c00(0x31c)]+_0x2b3c00(0x308),_0x1867b8=await this['_HTTPService']['post'](_0x7aaca0,{'body':_0x57df8b});return{'roles':_0x1867b8[_0x2b3c00(0x425)][_0x2b3c00(0x4a8)],'actions':_0x1867b8['body']['actions']};}async['deleteCollaborator'](_0x275ddd){var _0x1f0d3a=_0x1af128;const _0x3cfeb6=this[_0x1f0d3a(0x30c)]()+_0x1f0d3a(0x3f2);await this[_0x1f0d3a(0x393)][_0x1f0d3a(0x31f)](_0x3cfeb6,{'params':{'collaboratorID':_0x275ddd['collaboratorID'],'objectID':_0x275ddd['objectID'],'unitID':_0x275ddd['unitID']}});}async[_0x1af128(0x423)](_0x46b496){var _0x359ad2=_0x1af128;const _0x189557=this[_0x359ad2(0x30c)]()+_0x359ad2(0x3f2);await this[_0x359ad2(0x393)]['patch'](_0x189557,{'body':_0x46b496});}async[_0x1af128(0x1dd)](_0x4e8a31){var _0x301307=_0x1af128;const _0x42454c=this[_0x301307(0x30c)]()+'/collaborator';await this[_0x301307(0x393)][_0x301307(0x4cc)](_0x42454c,{'body':_0x4e8a31});}async[_0x1af128(0x4bd)](_0x26126d){var _0x19f4d1=_0x1af128;const _0x278ad3=this[_0x19f4d1(0x30c)]()+_0x19f4d1(0x3f2);return(await this[_0x19f4d1(0x393)][_0x19f4d1(0x416)](_0x278ad3,{'params':{'objectID':_0x26126d[_0x19f4d1(0x2e7)],'unitID':_0x26126d[_0x19f4d1(0x1fa)]}}))[_0x19f4d1(0x425)][_0x19f4d1(0x41b)];}async['putCollaborators'](_0x318b2c){var _0x4fca6c=_0x1af128;const _0x4493a0=this[_0x4fca6c(0x30c)]()+'/collaborator';await this[_0x4fca6c(0x393)][_0x4fca6c(0x2c5)](_0x4493a0,{'body':_0x318b2c});}};bt=Pr([Xt(0x0,_0x50b881(_0x51273b)),Xt(0x1,_0x50b881(_0xb3f6ba))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x552113){var _0x3be1fd=_0x1af128;return _0x552113&&_0x552113[_0x3be1fd(0x47c)]&&Object[_0x3be1fd(0x2eb)][_0x3be1fd(0x279)][_0x3be1fd(0x3f9)](_0x552113,_0x3be1fd(0x232))?_0x552113[_0x3be1fd(0x232)]:_0x552113;}var Ve={'exports':{}};function Ur(_0x2e5fd5){var _0x304bd7=_0x1af128;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2e5fd5+_0x304bd7(0x300));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x48a56b,_0x314c04){(function(_0x5a5d90,_0x2b0f24){var _0x118ebe=_0x596d;_0x48a56b[_0x118ebe(0x1d6)]=_0x2b0f24();}(Ar,function(){var _0x280bb4=_0x280bb4||function(_0x4a9a82,_0x4c29b1){var _0x37e20c=_0x596d,_0x3bab31;if(typeof window<'u'&&window['crypto']&&(_0x3bab31=window[_0x37e20c(0x3de)]),typeof self<'u'&&self[_0x37e20c(0x3de)]&&(_0x3bab31=self[_0x37e20c(0x3de)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3bab31=globalThis[_0x37e20c(0x3de)]),!_0x3bab31&&typeof window<'u'&&window[_0x37e20c(0x43d)]&&(_0x3bab31=window['msCrypto']),!_0x3bab31&&typeof pt<'u'&&pt[_0x37e20c(0x3de)]&&(_0x3bab31=pt[_0x37e20c(0x3de)]),!_0x3bab31&&typeof Ur=='function')try{_0x3bab31=require(_0x37e20c(0x3de));}catch{}var _0xc4e0eb=function(){var _0x50f3b7=_0x37e20c;if(_0x3bab31){if(typeof _0x3bab31[_0x50f3b7(0x25c)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x25c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3bab31[_0x50f3b7(0x39a)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x39a)](0x4)[_0x50f3b7(0x3a3)]();}catch{}}throw new Error(_0x50f3b7(0x4b9));},_0x4b17aa=Object['create']||(function(){function _0x32ef65(){}return function(_0x6d804){var _0x2a9916=_0x596d,_0x3647bf;return _0x32ef65['prototype']=_0x6d804,_0x3647bf=new _0x32ef65(),_0x32ef65[_0x2a9916(0x2eb)]=null,_0x3647bf;};}()),_0x1c143c={},_0x5f7b10=_0x1c143c[_0x37e20c(0x38e)]={},_0x5becf1=_0x5f7b10[_0x37e20c(0x3ac)]=(function(){return{'extend':function(_0x34b0c8){var _0x4233c0=_0x596d,_0x14ef6f=_0x4b17aa(this);return _0x34b0c8&&_0x14ef6f[_0x4233c0(0x445)](_0x34b0c8),(!_0x14ef6f[_0x4233c0(0x279)](_0x4233c0(0x3fc))||this[_0x4233c0(0x3fc)]===_0x14ef6f['init'])&&(_0x14ef6f[_0x4233c0(0x3fc)]=function(){var _0x4a6856=_0x4233c0;_0x14ef6f['$super'][_0x4a6856(0x3fc)][_0x4a6856(0x498)](this,arguments);}),_0x14ef6f[_0x4233c0(0x3fc)][_0x4233c0(0x2eb)]=_0x14ef6f,_0x14ef6f[_0x4233c0(0x383)]=this,_0x14ef6f;},'create':function(){var _0x2b25c6=_0x596d,_0x6abba6=this['extend']();return _0x6abba6['init'][_0x2b25c6(0x498)](_0x6abba6,arguments),_0x6abba6;},'init':function(){},'mixIn':function(_0x157af6){var _0x4742fa=_0x596d;for(var _0x522b82 in _0x157af6)_0x157af6[_0x4742fa(0x279)](_0x522b82)&&(this[_0x522b82]=_0x157af6[_0x522b82]);_0x157af6[_0x4742fa(0x279)](_0x4742fa(0x4d5))&&(this[_0x4742fa(0x4d5)]=_0x157af6[_0x4742fa(0x4d5)]);},'clone':function(){var _0x496970=_0x596d;return this[_0x496970(0x3fc)]['prototype'][_0x496970(0x4a2)](this);}};}()),_0x213313=_0x5f7b10[_0x37e20c(0x301)]=_0x5becf1['extend']({'init':function(_0x24fb5e,_0x56093c){var _0x301d4f=_0x37e20c;_0x24fb5e=this[_0x301d4f(0x487)]=_0x24fb5e||[],_0x56093c!=_0x4c29b1?this[_0x301d4f(0x2e2)]=_0x56093c:this['sigBytes']=_0x24fb5e[_0x301d4f(0x431)]*0x4;},'toString':function(_0x5d14dc){return(_0x5d14dc||_0x3fc6c9)['stringify'](this);},'concat':function(_0x2d731f){var _0x3f5157=_0x37e20c,_0x243b17=this[_0x3f5157(0x487)],_0x364e0c=_0x2d731f[_0x3f5157(0x487)],_0x57fcf5=this[_0x3f5157(0x2e2)],_0x3a4c64=_0x2d731f[_0x3f5157(0x2e2)];if(this[_0x3f5157(0x265)](),_0x57fcf5%0x4)for(var _0x413209=0x0;_0x413209<_0x3a4c64;_0x413209++){var _0x251ee8=_0x364e0c[_0x413209>>>0x2]>>>0x18-_0x413209%0x4*0x8&0xff;_0x243b17[_0x57fcf5+_0x413209>>>0x2]|=_0x251ee8<<0x18-(_0x57fcf5+_0x413209)%0x4*0x8;}else{for(var _0x588d7b=0x0;_0x588d7b<_0x3a4c64;_0x588d7b+=0x4)_0x243b17[_0x57fcf5+_0x588d7b>>>0x2]=_0x364e0c[_0x588d7b>>>0x2];}return this[_0x3f5157(0x2e2)]+=_0x3a4c64,this;},'clamp':function(){var _0x56ba8e=_0x37e20c,_0x3c37e7=this[_0x56ba8e(0x487)],_0x56409b=this[_0x56ba8e(0x2e2)];_0x3c37e7[_0x56409b>>>0x2]&=0xffffffff<<0x20-_0x56409b%0x4*0x8,_0x3c37e7[_0x56ba8e(0x431)]=_0x4a9a82[_0x56ba8e(0x4a6)](_0x56409b/0x4);},'clone':function(){var _0x13616b=_0x37e20c,_0x30e4fb=_0x5becf1[_0x13616b(0x1de)]['call'](this);return _0x30e4fb[_0x13616b(0x487)]=this['words'][_0x13616b(0x386)](0x0),_0x30e4fb;},'random':function(_0x906c8){var _0x35d5b6=_0x37e20c;for(var _0x3c0348=[],_0x529f72=0x0;_0x529f72<_0x906c8;_0x529f72+=0x4)_0x3c0348['push'](_0xc4e0eb());return new _0x213313[(_0x35d5b6(0x3fc))](_0x3c0348,_0x906c8);}}),_0xa88831=_0x1c143c['enc']={},_0x3fc6c9=_0xa88831[_0x37e20c(0x205)]={'stringify':function(_0x3ce5b9){var _0x4e558c=_0x37e20c;for(var _0x7bfc74=_0x3ce5b9[_0x4e558c(0x487)],_0x19a5ce=_0x3ce5b9[_0x4e558c(0x2e2)],_0x907164=[],_0x1bd737=0x0;_0x1bd737<_0x19a5ce;_0x1bd737++){var _0x5a2618=_0x7bfc74[_0x1bd737>>>0x2]>>>0x18-_0x1bd737%0x4*0x8&0xff;_0x907164[_0x4e558c(0x2ad)]((_0x5a2618>>>0x4)['toString'](0x10)),_0x907164[_0x4e558c(0x2ad)]((_0x5a2618&0xf)[_0x4e558c(0x4d5)](0x10));}return _0x907164[_0x4e558c(0x250)]('');},'parse':function(_0x27d3ab){var _0x3b0a51=_0x37e20c;for(var _0x1d2558=_0x27d3ab[_0x3b0a51(0x431)],_0xaff7d9=[],_0x165ddf=0x0;_0x165ddf<_0x1d2558;_0x165ddf+=0x2)_0xaff7d9[_0x165ddf>>>0x3]|=parseInt(_0x27d3ab[_0x3b0a51(0x35a)](_0x165ddf,0x2),0x10)<<0x18-_0x165ddf%0x8*0x4;return new _0x213313['init'](_0xaff7d9,_0x1d2558/0x2);}},_0x390f1d=_0xa88831[_0x37e20c(0x206)]={'stringify':function(_0x3fd973){var _0x26869f=_0x37e20c;for(var _0x1bab15=_0x3fd973['words'],_0x1cfa7c=_0x3fd973[_0x26869f(0x2e2)],_0xdc4287=[],_0x202405=0x0;_0x202405<_0x1cfa7c;_0x202405++){var _0x469a3d=_0x1bab15[_0x202405>>>0x2]>>>0x18-_0x202405%0x4*0x8&0xff;_0xdc4287['push'](String['fromCharCode'](_0x469a3d));}return _0xdc4287[_0x26869f(0x250)]('');},'parse':function(_0x450496){var _0x33ce96=_0x37e20c;for(var _0x2ffcf7=_0x450496[_0x33ce96(0x431)],_0x3364a2=[],_0x3a0313=0x0;_0x3a0313<_0x2ffcf7;_0x3a0313++)_0x3364a2[_0x3a0313>>>0x2]|=(_0x450496['charCodeAt'](_0x3a0313)&0xff)<<0x18-_0x3a0313%0x4*0x8;return new _0x213313[(_0x33ce96(0x3fc))](_0x3364a2,_0x2ffcf7);}},_0x53f9c3=_0xa88831[_0x37e20c(0x403)]={'stringify':function(_0x2787aa){var _0x586c53=_0x37e20c;try{return decodeURIComponent(escape(_0x390f1d['stringify'](_0x2787aa)));}catch{throw new Error(_0x586c53(0x3e8));}},'parse':function(_0x3ed9c1){var _0x2806a3=_0x37e20c;return _0x390f1d[_0x2806a3(0x3df)](unescape(encodeURIComponent(_0x3ed9c1)));}},_0x11fa61=_0x5f7b10['BufferedBlockAlgorithm']=_0x5becf1['extend']({'reset':function(){var _0x4012d2=_0x37e20c;this[_0x4012d2(0x4d8)]=new _0x213313[(_0x4012d2(0x3fc))](),this[_0x4012d2(0x256)]=0x0;},'_append':function(_0x106cfd){var _0x3988f2=_0x37e20c;typeof _0x106cfd==_0x3988f2(0x427)&&(_0x106cfd=_0x53f9c3[_0x3988f2(0x3df)](_0x106cfd)),this[_0x3988f2(0x4d8)][_0x3988f2(0x21d)](_0x106cfd),this['_nDataBytes']+=_0x106cfd[_0x3988f2(0x2e2)];},'_process':function(_0x4b561c){var _0x2bdaca=_0x37e20c,_0x5bc40b,_0x487b47=this[_0x2bdaca(0x4d8)],_0x37fc4e=_0x487b47[_0x2bdaca(0x487)],_0xb1f32d=_0x487b47[_0x2bdaca(0x2e2)],_0x56280e=this['blockSize'],_0xa231db=_0x56280e*0x4,_0x361b25=_0xb1f32d/_0xa231db;_0x4b561c?_0x361b25=_0x4a9a82[_0x2bdaca(0x4a6)](_0x361b25):_0x361b25=_0x4a9a82[_0x2bdaca(0x1e2)]((_0x361b25|0x0)-this['_minBufferSize'],0x0);var _0x596736=_0x361b25*_0x56280e,_0x5c5f27=_0x4a9a82[_0x2bdaca(0x439)](_0x596736*0x4,_0xb1f32d);if(_0x596736){for(var _0x1a8425=0x0;_0x1a8425<_0x596736;_0x1a8425+=_0x56280e)this[_0x2bdaca(0x293)](_0x37fc4e,_0x1a8425);_0x5bc40b=_0x37fc4e['splice'](0x0,_0x596736),_0x487b47[_0x2bdaca(0x2e2)]-=_0x5c5f27;}return new _0x213313[(_0x2bdaca(0x3fc))](_0x5bc40b,_0x5c5f27);},'clone':function(){var _0x104f62=_0x37e20c,_0x2f7109=_0x5becf1['clone'][_0x104f62(0x3f9)](this);return _0x2f7109[_0x104f62(0x4d8)]=this[_0x104f62(0x4d8)][_0x104f62(0x1de)](),_0x2f7109;},'_minBufferSize':0x0});_0x5f7b10['Hasher']=_0x11fa61[_0x37e20c(0x4a2)]({'cfg':_0x5becf1[_0x37e20c(0x4a2)](),'init':function(_0x33d8d1){var _0x2f1384=_0x37e20c;this[_0x2f1384(0x390)]=this[_0x2f1384(0x390)][_0x2f1384(0x4a2)](_0x33d8d1),this[_0x2f1384(0x22d)]();},'reset':function(){var _0x7d9669=_0x37e20c;_0x11fa61[_0x7d9669(0x22d)][_0x7d9669(0x3f9)](this),this[_0x7d9669(0x329)]();},'update':function(_0x5458c4){var _0x4689ae=_0x37e20c;return this[_0x4689ae(0x424)](_0x5458c4),this[_0x4689ae(0x40d)](),this;},'finalize':function(_0x4c8a03){var _0x3f4b6e=_0x37e20c;_0x4c8a03&&this[_0x3f4b6e(0x424)](_0x4c8a03);var _0x2e69b2=this[_0x3f4b6e(0x4a3)]();return _0x2e69b2;},'blockSize':0x10,'_createHelper':function(_0x222b35){return function(_0x593d8,_0x2932ec){var _0x1a4ec7=_0x596d;return new _0x222b35['init'](_0x2932ec)[_0x1a4ec7(0x2b7)](_0x593d8);};},'_createHmacHelper':function(_0x3877f4){return function(_0x3089d0,_0x509973){var _0x43eba0=_0x596d;return new _0x589f1e[(_0x43eba0(0x280))][(_0x43eba0(0x3fc))](_0x3877f4,_0x509973)[_0x43eba0(0x2b7)](_0x3089d0);};}});var _0x589f1e=_0x1c143c['algo']={};return _0x1c143c;}(Math);return _0x280bb4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1af128(0x1d6)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x11881c,_0xdd206b){(function(_0x336033,_0x46e412){var _0x11fd9c=_0x596d;_0x11881c[_0x11fd9c(0x1d6)]=_0x46e412(ne());}(xr,function(_0x4c7b3e){var _0x37b411=_0x596d;return(function(){var _0xa7735e=_0x596d,_0x1a1be8=_0x4c7b3e,_0x1c3b07=_0x1a1be8[_0xa7735e(0x38e)],_0x294c0f=_0x1c3b07[_0xa7735e(0x301)],_0x3439cc=_0x1a1be8['enc'];_0x3439cc['Base64']={'stringify':function(_0x28f918){var _0x201c4e=_0xa7735e,_0x3f3091=_0x28f918[_0x201c4e(0x487)],_0x3e5b10=_0x28f918[_0x201c4e(0x2e2)],_0x137553=this[_0x201c4e(0x2e4)];_0x28f918[_0x201c4e(0x265)]();for(var _0x3fc56e=[],_0x486189=0x0;_0x486189<_0x3e5b10;_0x486189+=0x3)for(var _0x1fcb00=_0x3f3091[_0x486189>>>0x2]>>>0x18-_0x486189%0x4*0x8&0xff,_0x4411a9=_0x3f3091[_0x486189+0x1>>>0x2]>>>0x18-(_0x486189+0x1)%0x4*0x8&0xff,_0x43fa0e=_0x3f3091[_0x486189+0x2>>>0x2]>>>0x18-(_0x486189+0x2)%0x4*0x8&0xff,_0x5db6d7=_0x1fcb00<<0x10|_0x4411a9<<0x8|_0x43fa0e,_0x173eba=0x0;_0x173eba<0x4&&_0x486189+_0x173eba*0.75<_0x3e5b10;_0x173eba++)_0x3fc56e['push'](_0x137553[_0x201c4e(0x3dd)](_0x5db6d7>>>0x6*(0x3-_0x173eba)&0x3f));var _0x56d568=_0x137553[_0x201c4e(0x3dd)](0x40);if(_0x56d568){for(;_0x3fc56e['length']%0x4;)_0x3fc56e[_0x201c4e(0x2ad)](_0x56d568);}return _0x3fc56e[_0x201c4e(0x250)]('');},'parse':function(_0x5f6127){var _0x1893f7=_0xa7735e,_0x213210=_0x5f6127[_0x1893f7(0x431)],_0x5f30c9=this[_0x1893f7(0x2e4)],_0x6ee06d=this[_0x1893f7(0x458)];if(!_0x6ee06d){_0x6ee06d=this[_0x1893f7(0x458)]=[];for(var _0x89f914=0x0;_0x89f914<_0x5f30c9[_0x1893f7(0x431)];_0x89f914++)_0x6ee06d[_0x5f30c9[_0x1893f7(0x2d1)](_0x89f914)]=_0x89f914;}var _0x106663=_0x5f30c9[_0x1893f7(0x3dd)](0x40);if(_0x106663){var _0x1fc414=_0x5f6127[_0x1893f7(0x24a)](_0x106663);_0x1fc414!==-0x1&&(_0x213210=_0x1fc414);}return _0x41c13d(_0x5f6127,_0x213210,_0x6ee06d);},'_map':_0xa7735e(0x227)};function _0x41c13d(_0x20aa83,_0x594448,_0xd3c7a3){var _0x3def0d=_0xa7735e;for(var _0x5da843=[],_0x159ddf=0x0,_0x5b407d=0x0;_0x5b407d<_0x594448;_0x5b407d++)if(_0x5b407d%0x4){var _0x689f96=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d-0x1)]<<_0x5b407d%0x4*0x2,_0x5079d2=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d)]>>>0x6-_0x5b407d%0x4*0x2,_0x5db391=_0x689f96|_0x5079d2;_0x5da843[_0x159ddf>>>0x2]|=_0x5db391<<0x18-_0x159ddf%0x4*0x8,_0x159ddf++;}return _0x294c0f[_0x3def0d(0x4b2)](_0x5da843,_0x159ddf);}}()),_0x4c7b3e[_0x37b411(0x1fe)][_0x37b411(0x497)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x473fbd=_0x1af128;return ei||(ei=0x1,function(_0x7ee48c,_0x547e34){(function(_0x184f95,_0x20a655){var _0x1f6494=_0x596d;_0x7ee48c[_0x1f6494(0x1d6)]=_0x20a655(ne());}(Lr,function(_0x52080a){return function(_0x537a9a){var _0x133cbd=_0x596d,_0xdeeb8d=_0x52080a,_0x10f43a=_0xdeeb8d[_0x133cbd(0x38e)],_0x311b7c=_0x10f43a['WordArray'],_0x266371=_0x10f43a['Hasher'],_0x381e5d=_0xdeeb8d[_0x133cbd(0x2af)],_0x38e293=[];(function(){var _0x214e0=_0x133cbd;for(var _0xe8776f=0x0;_0xe8776f<0x40;_0xe8776f++)_0x38e293[_0xe8776f]=_0x537a9a[_0x214e0(0x3b3)](_0x537a9a[_0x214e0(0x2ea)](_0xe8776f+0x1))*0x100000000|0x0;}());var _0x1e1837=_0x381e5d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x4a2)]({'_doReset':function(){var _0x2dbb7d=_0x133cbd;this[_0x2dbb7d(0x316)]=new _0x311b7c[(_0x2dbb7d(0x3fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ac0c0,_0x502076){var _0x330187=_0x133cbd;for(var _0x5286f2=0x0;_0x5286f2<0x10;_0x5286f2++){var _0xde7572=_0x502076+_0x5286f2,_0x3e57a2=_0x4ac0c0[_0xde7572];_0x4ac0c0[_0xde7572]=(_0x3e57a2<<0x8|_0x3e57a2>>>0x18)&0xff00ff|(_0x3e57a2<<0x18|_0x3e57a2>>>0x8)&0xff00ff00;}var _0x291bba=this[_0x330187(0x316)][_0x330187(0x487)],_0x2476b3=_0x4ac0c0[_0x502076+0x0],_0x55be43=_0x4ac0c0[_0x502076+0x1],_0x4541bb=_0x4ac0c0[_0x502076+0x2],_0x75d4aa=_0x4ac0c0[_0x502076+0x3],_0x3f2094=_0x4ac0c0[_0x502076+0x4],_0x56e834=_0x4ac0c0[_0x502076+0x5],_0x3a114e=_0x4ac0c0[_0x502076+0x6],_0x36b380=_0x4ac0c0[_0x502076+0x7],_0x376622=_0x4ac0c0[_0x502076+0x8],_0x161533=_0x4ac0c0[_0x502076+0x9],_0x3c917a=_0x4ac0c0[_0x502076+0xa],_0x53391c=_0x4ac0c0[_0x502076+0xb],_0x2e9b0a=_0x4ac0c0[_0x502076+0xc],_0x945a71=_0x4ac0c0[_0x502076+0xd],_0x112621=_0x4ac0c0[_0x502076+0xe],_0xd41543=_0x4ac0c0[_0x502076+0xf],_0x244937=_0x291bba[0x0],_0x5eb74c=_0x291bba[0x1],_0x1bbe88=_0x291bba[0x2],_0x508c2e=_0x291bba[0x3];_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x7,_0x38e293[0x0]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x55be43,0xc,_0x38e293[0x1]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0x11,_0x38e293[0x2]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x75d4aa,0x16,_0x38e293[0x3]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x7,_0x38e293[0x4]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x56e834,0xc,_0x38e293[0x5]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0x11,_0x38e293[0x6]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x36b380,0x16,_0x38e293[0x7]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x7,_0x38e293[0x8]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x161533,0xc,_0x38e293[0x9]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0x11,_0x38e293[0xa]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x53391c,0x16,_0x38e293[0xb]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x7,_0x38e293[0xc]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x945a71,0xc,_0x38e293[0xd]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0x11,_0x38e293[0xe]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0xd41543,0x16,_0x38e293[0xf]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x5,_0x38e293[0x10]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3a114e,0x9,_0x38e293[0x11]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0xe,_0x38e293[0x12]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2476b3,0x14,_0x38e293[0x13]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x5,_0x38e293[0x14]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3c917a,0x9,_0x38e293[0x15]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0xe,_0x38e293[0x16]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3f2094,0x14,_0x38e293[0x17]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x5,_0x38e293[0x18]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x112621,0x9,_0x38e293[0x19]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0xe,_0x38e293[0x1a]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x376622,0x14,_0x38e293[0x1b]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x5,_0x38e293[0x1c]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x4541bb,0x9,_0x38e293[0x1d]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0xe,_0x38e293[0x1e]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2e9b0a,0x14,_0x38e293[0x1f]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x4,_0x38e293[0x20]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x376622,0xb,_0x38e293[0x21]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0x10,_0x38e293[0x22]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x112621,0x17,_0x38e293[0x23]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x4,_0x38e293[0x24]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3f2094,0xb,_0x38e293[0x25]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0x10,_0x38e293[0x26]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3c917a,0x17,_0x38e293[0x27]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x4,_0x38e293[0x28]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2476b3,0xb,_0x38e293[0x29]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0x10,_0x38e293[0x2a]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3a114e,0x17,_0x38e293[0x2b]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x4,_0x38e293[0x2c]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2e9b0a,0xb,_0x38e293[0x2d]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0x10,_0x38e293[0x2e]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x4541bb,0x17,_0x38e293[0x2f]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x6,_0x38e293[0x30]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x36b380,0xa,_0x38e293[0x31]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0xf,_0x38e293[0x32]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x56e834,0x15,_0x38e293[0x33]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x6,_0x38e293[0x34]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x75d4aa,0xa,_0x38e293[0x35]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0xf,_0x38e293[0x36]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x55be43,0x15,_0x38e293[0x37]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x6,_0x38e293[0x38]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0xd41543,0xa,_0x38e293[0x39]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0xf,_0x38e293[0x3a]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x945a71,0x15,_0x38e293[0x3b]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x6,_0x38e293[0x3c]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x53391c,0xa,_0x38e293[0x3d]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0xf,_0x38e293[0x3e]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x161533,0x15,_0x38e293[0x3f]),_0x291bba[0x0]=_0x291bba[0x0]+_0x244937|0x0,_0x291bba[0x1]=_0x291bba[0x1]+_0x5eb74c|0x0,_0x291bba[0x2]=_0x291bba[0x2]+_0x1bbe88|0x0,_0x291bba[0x3]=_0x291bba[0x3]+_0x508c2e|0x0;},'_doFinalize':function(){var _0xdfdff7=_0x133cbd,_0x2c44cd=this[_0xdfdff7(0x4d8)],_0x4aa320=_0x2c44cd[_0xdfdff7(0x487)],_0x1af8c8=this['_nDataBytes']*0x8,_0x11ac8b=_0x2c44cd[_0xdfdff7(0x2e2)]*0x8;_0x4aa320[_0x11ac8b>>>0x5]|=0x80<<0x18-_0x11ac8b%0x20;var _0x52f35c=_0x537a9a['floor'](_0x1af8c8/0x100000000),_0x405819=_0x1af8c8;_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xf]=(_0x52f35c<<0x8|_0x52f35c>>>0x18)&0xff00ff|(_0x52f35c<<0x18|_0x52f35c>>>0x8)&0xff00ff00,_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xe]=(_0x405819<<0x8|_0x405819>>>0x18)&0xff00ff|(_0x405819<<0x18|_0x405819>>>0x8)&0xff00ff00,_0x2c44cd[_0xdfdff7(0x2e2)]=(_0x4aa320['length']+0x1)*0x4,this['_process']();for(var _0x3841f7=this[_0xdfdff7(0x316)],_0x5387cf=_0x3841f7[_0xdfdff7(0x487)],_0x51aaa4=0x0;_0x51aaa4<0x4;_0x51aaa4++){var _0x396919=_0x5387cf[_0x51aaa4];_0x5387cf[_0x51aaa4]=(_0x396919<<0x8|_0x396919>>>0x18)&0xff00ff|(_0x396919<<0x18|_0x396919>>>0x8)&0xff00ff00;}return _0x3841f7;},'clone':function(){var _0x37c524=_0x133cbd,_0x29c11d=_0x266371[_0x37c524(0x1de)][_0x37c524(0x3f9)](this);return _0x29c11d['_hash']=this['_hash'][_0x37c524(0x1de)](),_0x29c11d;}});function _0xdc5d3c(_0x5be382,_0x37b7ce,_0x567736,_0x2b5df4,_0x6ccbe5,_0x284bad,_0x1b0d94){var _0x184652=_0x5be382+(_0x37b7ce&_0x567736|~_0x37b7ce&_0x2b5df4)+_0x6ccbe5+_0x1b0d94;return(_0x184652<<_0x284bad|_0x184652>>>0x20-_0x284bad)+_0x37b7ce;}function _0x3855f6(_0x50a123,_0x106bf7,_0x4e75df,_0x2a9c05,_0x3a43da,_0x16bbf4,_0x3abef4){var _0x430c30=_0x50a123+(_0x106bf7&_0x2a9c05|_0x4e75df&~_0x2a9c05)+_0x3a43da+_0x3abef4;return(_0x430c30<<_0x16bbf4|_0x430c30>>>0x20-_0x16bbf4)+_0x106bf7;}function _0x84d727(_0x27f2b5,_0x2759bf,_0x195ef8,_0x2bed17,_0x1246b3,_0x105a8c,_0xf1b546){var _0x156def=_0x27f2b5+(_0x2759bf^_0x195ef8^_0x2bed17)+_0x1246b3+_0xf1b546;return(_0x156def<<_0x105a8c|_0x156def>>>0x20-_0x105a8c)+_0x2759bf;}function _0x29239c(_0x139863,_0x27d06c,_0x5d999d,_0x4fee5a,_0xea0eaf,_0x5be690,_0x5b6d03){var _0x47c1bb=_0x139863+(_0x5d999d^(_0x27d06c|~_0x4fee5a))+_0xea0eaf+_0x5b6d03;return(_0x47c1bb<<_0x5be690|_0x47c1bb>>>0x20-_0x5be690)+_0x27d06c;}_0xdeeb8d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x1f7)](_0x1e1837),_0xdeeb8d[_0x133cbd(0x3f5)]=_0x266371[_0x133cbd(0x441)](_0x1e1837);}(Math),_0x52080a['MD5'];}));}(Ke)),Ke[_0x473fbd(0x1d6)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1af128(0x1d6)],ti;function Hr(){var _0x4a71c=_0x1af128;return ti||(ti=0x1,function(_0x30a665,_0x1d8dfb){(function(_0x36036c,_0x31f482){var _0x4fc0eb=_0x596d;_0x30a665[_0x4fc0eb(0x1d6)]=_0x31f482(ne());}($r,function(_0x32e95e){return(function(){var _0x52b658=_0x596d,_0x272dab=_0x32e95e,_0xbbf018=_0x272dab[_0x52b658(0x38e)],_0x291a37=_0xbbf018[_0x52b658(0x301)],_0x294f34=_0xbbf018['Hasher'],_0x81cfcd=_0x272dab[_0x52b658(0x2af)],_0x29a0f7=[],_0x3cef03=_0x81cfcd[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x4a2)]({'_doReset':function(){var _0x4b8d6d=_0x52b658;this[_0x4b8d6d(0x316)]=new _0x291a37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x593cc2,_0x2ab868){var _0x4e979b=_0x52b658;for(var _0x2cd74d=this[_0x4e979b(0x316)]['words'],_0x3497be=_0x2cd74d[0x0],_0x5b9af9=_0x2cd74d[0x1],_0x32e200=_0x2cd74d[0x2],_0x2b3dbb=_0x2cd74d[0x3],_0x36c539=_0x2cd74d[0x4],_0x12f25=0x0;_0x12f25<0x50;_0x12f25++){if(_0x12f25<0x10)_0x29a0f7[_0x12f25]=_0x593cc2[_0x2ab868+_0x12f25]|0x0;else{var _0x94cd35=_0x29a0f7[_0x12f25-0x3]^_0x29a0f7[_0x12f25-0x8]^_0x29a0f7[_0x12f25-0xe]^_0x29a0f7[_0x12f25-0x10];_0x29a0f7[_0x12f25]=_0x94cd35<<0x1|_0x94cd35>>>0x1f;}var _0x59b534=(_0x3497be<<0x5|_0x3497be>>>0x1b)+_0x36c539+_0x29a0f7[_0x12f25];_0x12f25<0x14?_0x59b534+=(_0x5b9af9&_0x32e200|~_0x5b9af9&_0x2b3dbb)+0x5a827999:_0x12f25<0x28?_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)+0x6ed9eba1:_0x12f25<0x3c?_0x59b534+=(_0x5b9af9&_0x32e200|_0x5b9af9&_0x2b3dbb|_0x32e200&_0x2b3dbb)-0x70e44324:_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)-0x359d3e2a,_0x36c539=_0x2b3dbb,_0x2b3dbb=_0x32e200,_0x32e200=_0x5b9af9<<0x1e|_0x5b9af9>>>0x2,_0x5b9af9=_0x3497be,_0x3497be=_0x59b534;}_0x2cd74d[0x0]=_0x2cd74d[0x0]+_0x3497be|0x0,_0x2cd74d[0x1]=_0x2cd74d[0x1]+_0x5b9af9|0x0,_0x2cd74d[0x2]=_0x2cd74d[0x2]+_0x32e200|0x0,_0x2cd74d[0x3]=_0x2cd74d[0x3]+_0x2b3dbb|0x0,_0x2cd74d[0x4]=_0x2cd74d[0x4]+_0x36c539|0x0;},'_doFinalize':function(){var _0x919228=_0x52b658,_0x39a81c=this['_data'],_0x13bdfc=_0x39a81c[_0x919228(0x487)],_0x298c60=this['_nDataBytes']*0x8,_0x10f09f=_0x39a81c['sigBytes']*0x8;return _0x13bdfc[_0x10f09f>>>0x5]|=0x80<<0x18-_0x10f09f%0x20,_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xe]=Math[_0x919228(0x3ab)](_0x298c60/0x100000000),_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xf]=_0x298c60,_0x39a81c[_0x919228(0x2e2)]=_0x13bdfc[_0x919228(0x431)]*0x4,this[_0x919228(0x40d)](),this[_0x919228(0x316)];},'clone':function(){var _0x8e1539=_0x52b658,_0x187b23=_0x294f34[_0x8e1539(0x1de)]['call'](this);return _0x187b23[_0x8e1539(0x316)]=this[_0x8e1539(0x316)][_0x8e1539(0x1de)](),_0x187b23;}});_0x272dab[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x1f7)](_0x3cef03),_0x272dab[_0x52b658(0x3ed)]=_0x294f34[_0x52b658(0x441)](_0x3cef03);}()),_0x32e95e['SHA1'];}));}(qe)),qe[_0x4a71c(0x1d6)];}var ze={'exports':{}},kr=ze[_0x1af128(0x1d6)],ii;function jr(){var _0x4d1fad=_0x1af128;return ii||(ii=0x1,function(_0x4fc494,_0x561379){(function(_0x194213,_0x535d31){_0x4fc494['exports']=_0x535d31(ne());}(kr,function(_0x79793c){(function(){var _0x402120=_0x596d,_0x1262ba=_0x79793c,_0x43966e=_0x1262ba[_0x402120(0x38e)],_0x2bff77=_0x43966e['Base'],_0x27e5de=_0x1262ba['enc'],_0x4bf706=_0x27e5de[_0x402120(0x403)],_0x3510cb=_0x1262ba[_0x402120(0x2af)];_0x3510cb[_0x402120(0x280)]=_0x2bff77['extend']({'init':function(_0x1d6424,_0x252353){var _0x494d81=_0x402120;_0x1d6424=this[_0x494d81(0x26f)]=new _0x1d6424[(_0x494d81(0x3fc))](),typeof _0x252353=='string'&&(_0x252353=_0x4bf706[_0x494d81(0x3df)](_0x252353));var _0x15c884=_0x1d6424[_0x494d81(0x2f8)],_0x5b4aea=_0x15c884*0x4;_0x252353[_0x494d81(0x2e2)]>_0x5b4aea&&(_0x252353=_0x1d6424[_0x494d81(0x2b7)](_0x252353)),_0x252353['clamp']();for(var _0x127735=this[_0x494d81(0x294)]=_0x252353['clone'](),_0x1582a1=this['_iKey']=_0x252353[_0x494d81(0x1de)](),_0x4f3890=_0x127735[_0x494d81(0x487)],_0x2435e1=_0x1582a1['words'],_0x29bac8=0x0;_0x29bac8<_0x15c884;_0x29bac8++)_0x4f3890[_0x29bac8]^=0x5c5c5c5c,_0x2435e1[_0x29bac8]^=0x36363636;_0x127735[_0x494d81(0x2e2)]=_0x1582a1['sigBytes']=_0x5b4aea,this[_0x494d81(0x22d)]();},'reset':function(){var _0x3feddb=_0x402120,_0x3626f6=this[_0x3feddb(0x26f)];_0x3626f6['reset'](),_0x3626f6[_0x3feddb(0x370)](this[_0x3feddb(0x3db)]);},'update':function(_0x555c89){var _0x93aae0=_0x402120;return this[_0x93aae0(0x26f)][_0x93aae0(0x370)](_0x555c89),this;},'finalize':function(_0x3f4ab8){var _0x3af6e4=_0x402120,_0x32db97=this[_0x3af6e4(0x26f)],_0x3b4b64=_0x32db97[_0x3af6e4(0x2b7)](_0x3f4ab8);_0x32db97['reset']();var _0x293363=_0x32db97[_0x3af6e4(0x2b7)](this[_0x3af6e4(0x294)][_0x3af6e4(0x1de)]()[_0x3af6e4(0x21d)](_0x3b4b64));return _0x293363;}});}());}));}(ze)),ze[_0x4d1fad(0x1d6)];}var Br=Ye[_0x1af128(0x1d6)],ni;function Ui(){var _0x51b167=_0x1af128;return ni||(ni=0x1,function(_0x21e618,_0xe53cbb){(function(_0x4fdf7d,_0x313f0e,_0x203c9f){var _0x484538=_0x596d;_0x21e618[_0x484538(0x1d6)]=_0x313f0e(ne(),Hr(),jr());}(Br,function(_0x18a74f){var _0x41c08d=_0x596d;return(function(){var _0xc89938=_0x596d,_0x5a52f9=_0x18a74f,_0x59614e=_0x5a52f9[_0xc89938(0x38e)],_0x1fda88=_0x59614e[_0xc89938(0x3ac)],_0x466169=_0x59614e[_0xc89938(0x301)],_0x4e3d04=_0x5a52f9[_0xc89938(0x2af)],_0xa2cc14=_0x4e3d04[_0xc89938(0x4d7)],_0x359970=_0x4e3d04[_0xc89938(0x48f)]=_0x1fda88[_0xc89938(0x4a2)]({'cfg':_0x1fda88[_0xc89938(0x4a2)]({'keySize':0x80/0x20,'hasher':_0xa2cc14,'iterations':0x1}),'init':function(_0x272fef){var _0x2337c2=_0xc89938;this[_0x2337c2(0x390)]=this['cfg'][_0x2337c2(0x4a2)](_0x272fef);},'compute':function(_0x50d7d4,_0x4abd7d){var _0x252a82=_0xc89938;for(var _0x1bb8f6,_0xc4c43c=this[_0x252a82(0x390)],_0x32f35b=_0xc4c43c[_0x252a82(0x447)][_0x252a82(0x4b2)](),_0x429847=_0x466169[_0x252a82(0x4b2)](),_0x177a6c=_0x429847[_0x252a82(0x487)],_0xe9ae0e=_0xc4c43c[_0x252a82(0x3d6)],_0x1f3737=_0xc4c43c[_0x252a82(0x262)];_0x177a6c[_0x252a82(0x431)]<_0xe9ae0e;){_0x1bb8f6&&_0x32f35b['update'](_0x1bb8f6),_0x1bb8f6=_0x32f35b['update'](_0x50d7d4)[_0x252a82(0x2b7)](_0x4abd7d),_0x32f35b['reset']();for(var _0x1e8ef2=0x1;_0x1e8ef2<_0x1f3737;_0x1e8ef2++)_0x1bb8f6=_0x32f35b[_0x252a82(0x2b7)](_0x1bb8f6),_0x32f35b[_0x252a82(0x22d)]();_0x429847['concat'](_0x1bb8f6);}return _0x429847['sigBytes']=_0xe9ae0e*0x4,_0x429847;}});_0x5a52f9[_0xc89938(0x48f)]=function(_0x1d62b3,_0x48bea3,_0x38024e){var _0xe7f39a=_0xc89938;return _0x359970[_0xe7f39a(0x4b2)](_0x38024e)[_0xe7f39a(0x3f8)](_0x1d62b3,_0x48bea3);};}()),_0x18a74f[_0x41c08d(0x48f)];}));}(Ye)),Ye[_0x51b167(0x1d6)];}var Je={'exports':{}},Fr=Je[_0x1af128(0x1d6)],ri;function Ai(){return ri||(ri=0x1,function(_0x4d622a,_0x24ef57){(function(_0x3331c8,_0x3ac5a8,_0x264f85){var _0x30fdad=_0x596d;_0x4d622a[_0x30fdad(0x1d6)]=_0x3ac5a8(ne(),Ui());}(Fr,function(_0x111f1d){var _0x18b65c=_0x596d;_0x111f1d[_0x18b65c(0x38e)][_0x18b65c(0x3f3)]||function(_0x31a63e){var _0x51cb57=_0x18b65c,_0x16e9ae=_0x111f1d,_0x326008=_0x16e9ae[_0x51cb57(0x38e)],_0x373344=_0x326008['Base'],_0xb28977=_0x326008[_0x51cb57(0x301)],_0x1e0a8b=_0x326008[_0x51cb57(0x48c)],_0x5344cc=_0x16e9ae['enc'];_0x5344cc[_0x51cb57(0x403)];var _0x12b014=_0x5344cc[_0x51cb57(0x497)],_0x2211ed=_0x16e9ae[_0x51cb57(0x2af)],_0x54ada5=_0x2211ed[_0x51cb57(0x48f)],_0x464d55=_0x326008[_0x51cb57(0x3f3)]=_0x1e0a8b[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)](),'createEncryptor':function(_0x865b4e,_0x18f012){var _0x12ca7a=_0x51cb57;return this[_0x12ca7a(0x4b2)](this['_ENC_XFORM_MODE'],_0x865b4e,_0x18f012);},'createDecryptor':function(_0x317a5a,_0x5bf923){var _0x23ea81=_0x51cb57;return this[_0x23ea81(0x4b2)](this[_0x23ea81(0x207)],_0x317a5a,_0x5bf923);},'init':function(_0x427658,_0x3c141f,_0x5e26b5){var _0x11607c=_0x51cb57;this[_0x11607c(0x390)]=this['cfg']['extend'](_0x5e26b5),this[_0x11607c(0x27c)]=_0x427658,this[_0x11607c(0x318)]=_0x3c141f,this['reset']();},'reset':function(){var _0x4c8658=_0x51cb57;_0x1e0a8b[_0x4c8658(0x22d)]['call'](this),this[_0x4c8658(0x329)]();},'process':function(_0x2a788e){var _0x1ad368=_0x51cb57;return this[_0x1ad368(0x424)](_0x2a788e),this[_0x1ad368(0x40d)]();},'finalize':function(_0x3aa143){var _0x2e1e9b=_0x51cb57;_0x3aa143&&this[_0x2e1e9b(0x424)](_0x3aa143);var _0x20b3b0=this[_0x2e1e9b(0x4a3)]();return _0x20b3b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x423ad7(_0xb6f771){return typeof _0xb6f771=='string'?_0x1515d5:_0xc3566;}return function(_0x3ab687){return{'encrypt':function(_0x26306e,_0x2ed8fc,_0x278f66){var _0x5edec7=_0x596d;return _0x423ad7(_0x2ed8fc)[_0x5edec7(0x4bf)](_0x3ab687,_0x26306e,_0x2ed8fc,_0x278f66);},'decrypt':function(_0x3e253b,_0x3633f0,_0x4f2a45){return _0x423ad7(_0x3633f0)['decrypt'](_0x3ab687,_0x3e253b,_0x3633f0,_0x4f2a45);}};};}())});_0x326008[_0x51cb57(0x2ae)]=_0x464d55[_0x51cb57(0x4a2)]({'_doFinalize':function(){var _0x3f9dae=this['_process'](!0x0);return _0x3f9dae;},'blockSize':0x1});var _0x5f35e5=_0x16e9ae[_0x51cb57(0x231)]={},_0x5cf44c=_0x326008['BlockCipherMode']=_0x373344[_0x51cb57(0x4a2)]({'createEncryptor':function(_0x20e2d3,_0x115b3d){var _0x1cfcde=_0x51cb57;return this[_0x1cfcde(0x407)][_0x1cfcde(0x4b2)](_0x20e2d3,_0x115b3d);},'createDecryptor':function(_0x2abcbf,_0xd461a){var _0x37f5a2=_0x51cb57;return this[_0x37f5a2(0x1e7)]['create'](_0x2abcbf,_0xd461a);},'init':function(_0x5b7bd7,_0x45d5ee){var _0x578943=_0x51cb57;this[_0x578943(0x442)]=_0x5b7bd7,this['_iv']=_0x45d5ee;}}),_0x3132f5=_0x5f35e5[_0x51cb57(0x23c)]=(function(){var _0x9b8ea9=_0x51cb57,_0x589506=_0x5cf44c[_0x9b8ea9(0x4a2)]();_0x589506['Encryptor']=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x4ba117,_0x5e40ac){var _0x290461=_0x9b8ea9,_0x1fcbf2=this[_0x290461(0x442)],_0x798908=_0x1fcbf2[_0x290461(0x2f8)];_0x3c574f[_0x290461(0x3f9)](this,_0x4ba117,_0x5e40ac,_0x798908),_0x1fcbf2[_0x290461(0x3b6)](_0x4ba117,_0x5e40ac),this['_prevBlock']=_0x4ba117[_0x290461(0x386)](_0x5e40ac,_0x5e40ac+_0x798908);}}),_0x589506[_0x9b8ea9(0x1e7)]=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x38ffa6,_0x1ebbba){var _0x557341=_0x9b8ea9,_0xc10e97=this[_0x557341(0x442)],_0x18aec9=_0xc10e97[_0x557341(0x2f8)],_0x560f95=_0x38ffa6['slice'](_0x1ebbba,_0x1ebbba+_0x18aec9);_0xc10e97['decryptBlock'](_0x38ffa6,_0x1ebbba),_0x3c574f[_0x557341(0x3f9)](this,_0x38ffa6,_0x1ebbba,_0x18aec9),this[_0x557341(0x3ff)]=_0x560f95;}});function _0x3c574f(_0x133bb2,_0xa85c23,_0x335eec){var _0x9e6019=_0x9b8ea9,_0x1067e9,_0x53e5b6=this[_0x9e6019(0x25f)];_0x53e5b6?(_0x1067e9=_0x53e5b6,this['_iv']=_0x31a63e):_0x1067e9=this[_0x9e6019(0x3ff)];for(var _0x31840c=0x0;_0x31840c<_0x335eec;_0x31840c++)_0x133bb2[_0xa85c23+_0x31840c]^=_0x1067e9[_0x31840c];}return _0x589506;}()),_0x3a9cfe=_0x16e9ae[_0x51cb57(0x30e)]={},_0x309845=_0x3a9cfe[_0x51cb57(0x46c)]={'pad':function(_0x525e74,_0x5eb755){var _0x59fe3b=_0x51cb57;for(var _0x4c38f1=_0x5eb755*0x4,_0x58db63=_0x4c38f1-_0x525e74[_0x59fe3b(0x2e2)]%_0x4c38f1,_0x2cbad8=_0x58db63<<0x18|_0x58db63<<0x10|_0x58db63<<0x8|_0x58db63,_0x57975b=[],_0x1d109d=0x0;_0x1d109d<_0x58db63;_0x1d109d+=0x4)_0x57975b['push'](_0x2cbad8);var _0x388d83=_0xb28977[_0x59fe3b(0x4b2)](_0x57975b,_0x58db63);_0x525e74['concat'](_0x388d83);},'unpad':function(_0x5b28bc){var _0x1700f9=_0x51cb57,_0x11331d=_0x5b28bc[_0x1700f9(0x487)][_0x5b28bc[_0x1700f9(0x2e2)]-0x1>>>0x2]&0xff;_0x5b28bc['sigBytes']-=_0x11331d;}};_0x326008[_0x51cb57(0x4cf)]=_0x464d55[_0x51cb57(0x4a2)]({'cfg':_0x464d55[_0x51cb57(0x390)][_0x51cb57(0x4a2)]({'mode':_0x3132f5,'padding':_0x309845}),'reset':function(){var _0x37ec00=_0x51cb57,_0x5b2e6a;_0x464d55[_0x37ec00(0x22d)][_0x37ec00(0x3f9)](this);var _0x53c01e=this[_0x37ec00(0x390)],_0x3e865=_0x53c01e['iv'],_0x3471ed=_0x53c01e['mode'];this[_0x37ec00(0x27c)]==this[_0x37ec00(0x436)]?_0x5b2e6a=_0x3471ed['createEncryptor']:(_0x5b2e6a=_0x3471ed[_0x37ec00(0x24f)],this[_0x37ec00(0x465)]=0x1),this[_0x37ec00(0x2db)]&&this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]==_0x5b2e6a?this[_0x37ec00(0x2db)][_0x37ec00(0x3fc)](this,_0x3e865&&_0x3e865['words']):(this['_mode']=_0x5b2e6a[_0x37ec00(0x3f9)](_0x3471ed,this,_0x3e865&&_0x3e865[_0x37ec00(0x487)]),this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]=_0x5b2e6a);},'_doProcessBlock':function(_0x464df1,_0x3dd517){var _0x3c3f64=_0x51cb57;this['_mode'][_0x3c3f64(0x1e5)](_0x464df1,_0x3dd517);},'_doFinalize':function(){var _0x420153=_0x51cb57,_0x309f12,_0x5b3057=this['cfg'][_0x420153(0x2fe)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5b3057[_0x420153(0x30e)](this['_data'],this[_0x420153(0x2f8)]),_0x309f12=this[_0x420153(0x40d)](!0x0)):(_0x309f12=this[_0x420153(0x40d)](!0x0),_0x5b3057['unpad'](_0x309f12)),_0x309f12;},'blockSize':0x80/0x20});var _0x4d7a47=_0x326008['CipherParams']=_0x373344[_0x51cb57(0x4a2)]({'init':function(_0x33dd4e){var _0x5bd1af=_0x51cb57;this[_0x5bd1af(0x445)](_0x33dd4e);},'toString':function(_0x542f61){var _0x5b2888=_0x51cb57;return(_0x542f61||this[_0x5b2888(0x4c6)])[_0x5b2888(0x44b)](this);}}),_0x161034=_0x16e9ae[_0x51cb57(0x2ac)]={},_0x53224e=_0x161034[_0x51cb57(0x210)]={'stringify':function(_0x591d5f){var _0x18c64e=_0x51cb57,_0x194454,_0x491c85=_0x591d5f[_0x18c64e(0x2da)],_0x450f91=_0x591d5f[_0x18c64e(0x374)];return _0x450f91?_0x194454=_0xb28977[_0x18c64e(0x4b2)]([0x53616c74,0x65645f5f])[_0x18c64e(0x21d)](_0x450f91)[_0x18c64e(0x21d)](_0x491c85):_0x194454=_0x491c85,_0x194454['toString'](_0x12b014);},'parse':function(_0x5c1b6e){var _0x48532f=_0x51cb57,_0x1dff3f,_0x343c7b=_0x12b014['parse'](_0x5c1b6e),_0x1ae3fc=_0x343c7b[_0x48532f(0x487)];return _0x1ae3fc[0x0]==0x53616c74&&_0x1ae3fc[0x1]==0x65645f5f&&(_0x1dff3f=_0xb28977[_0x48532f(0x4b2)](_0x1ae3fc[_0x48532f(0x386)](0x2,0x4)),_0x1ae3fc[_0x48532f(0x3ca)](0x0,0x4),_0x343c7b[_0x48532f(0x2e2)]-=0x10),_0x4d7a47[_0x48532f(0x4b2)]({'ciphertext':_0x343c7b,'salt':_0x1dff3f});}},_0xc3566=_0x326008[_0x51cb57(0x281)]=_0x373344[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)]({'format':_0x53224e}),'encrypt':function(_0x2d9782,_0x43d528,_0x257191,_0x4fac91){var _0x556c7d=_0x51cb57;_0x4fac91=this['cfg']['extend'](_0x4fac91);var _0x1db048=_0x2d9782[_0x556c7d(0x494)](_0x257191,_0x4fac91),_0x39e041=_0x1db048['finalize'](_0x43d528),_0x5b73fe=_0x1db048['cfg'];return _0x4d7a47[_0x556c7d(0x4b2)]({'ciphertext':_0x39e041,'key':_0x257191,'iv':_0x5b73fe['iv'],'algorithm':_0x2d9782,'mode':_0x5b73fe[_0x556c7d(0x231)],'padding':_0x5b73fe[_0x556c7d(0x2fe)],'blockSize':_0x2d9782[_0x556c7d(0x2f8)],'formatter':_0x4fac91[_0x556c7d(0x2ac)]});},'decrypt':function(_0x738985,_0x5cb78f,_0x13292f,_0x48145f){var _0x4b1dac=_0x51cb57;_0x48145f=this['cfg']['extend'](_0x48145f),_0x5cb78f=this[_0x4b1dac(0x3b8)](_0x5cb78f,_0x48145f[_0x4b1dac(0x2ac)]);var _0x229c66=_0x738985[_0x4b1dac(0x24f)](_0x13292f,_0x48145f)['finalize'](_0x5cb78f[_0x4b1dac(0x2da)]);return _0x229c66;},'_parse':function(_0x21e7af,_0x63b7c1){var _0x2f6a5f=_0x51cb57;return typeof _0x21e7af==_0x2f6a5f(0x427)?_0x63b7c1[_0x2f6a5f(0x3df)](_0x21e7af,this):_0x21e7af;}}),_0xc66a16=_0x16e9ae[_0x51cb57(0x3a1)]={},_0x436371=_0xc66a16[_0x51cb57(0x210)]={'execute':function(_0x5df856,_0x105185,_0x527a59,_0x2454c5,_0x5c454c){var _0x447e31=_0x51cb57;if(_0x2454c5||(_0x2454c5=_0xb28977[_0x447e31(0x1d7)](0x40/0x8)),_0x5c454c)var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59,'hasher':_0x5c454c})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);else var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);var _0x1f9f52=_0xb28977[_0x447e31(0x4b2)](_0x5c6923[_0x447e31(0x487)][_0x447e31(0x386)](_0x105185),_0x527a59*0x4);return _0x5c6923[_0x447e31(0x2e2)]=_0x105185*0x4,_0x4d7a47[_0x447e31(0x4b2)]({'key':_0x5c6923,'iv':_0x1f9f52,'salt':_0x2454c5});}},_0x1515d5=_0x326008[_0x51cb57(0x271)]=_0xc3566['extend']({'cfg':_0xc3566[_0x51cb57(0x390)]['extend']({'kdf':_0x436371}),'encrypt':function(_0x201787,_0x582cc5,_0x1cfe1c,_0x5532b8){var _0x2d1751=_0x51cb57;_0x5532b8=this[_0x2d1751(0x390)][_0x2d1751(0x4a2)](_0x5532b8);var _0xda7c66=_0x5532b8['kdf'][_0x2d1751(0x4b8)](_0x1cfe1c,_0x201787[_0x2d1751(0x3d6)],_0x201787['ivSize'],_0x5532b8[_0x2d1751(0x374)],_0x5532b8[_0x2d1751(0x447)]);_0x5532b8['iv']=_0xda7c66['iv'];var _0x57812c=_0xc3566[_0x2d1751(0x4bf)][_0x2d1751(0x3f9)](this,_0x201787,_0x582cc5,_0xda7c66[_0x2d1751(0x228)],_0x5532b8);return _0x57812c[_0x2d1751(0x445)](_0xda7c66),_0x57812c;},'decrypt':function(_0x5ac895,_0xb8aa54,_0x4aba26,_0x3a9fa0){var _0x39af83=_0x51cb57;_0x3a9fa0=this[_0x39af83(0x390)][_0x39af83(0x4a2)](_0x3a9fa0),_0xb8aa54=this['_parse'](_0xb8aa54,_0x3a9fa0['format']);var _0x1fad98=_0x3a9fa0[_0x39af83(0x3a1)][_0x39af83(0x4b8)](_0x4aba26,_0x5ac895[_0x39af83(0x3d6)],_0x5ac895[_0x39af83(0x395)],_0xb8aa54[_0x39af83(0x374)],_0x3a9fa0[_0x39af83(0x447)]);_0x3a9fa0['iv']=_0x1fad98['iv'];var _0xf3cb24=_0xc3566[_0x39af83(0x282)][_0x39af83(0x3f9)](this,_0x5ac895,_0xb8aa54,_0x1fad98[_0x39af83(0x228)],_0x3a9fa0);return _0xf3cb24;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x2f0b11=_0x1af128;return si||(si=0x1,function(_0x25c05f,_0x1d2d41){(function(_0x94b03b,_0x295442,_0x2b64e1){var _0x539f79=_0x596d;_0x25c05f[_0x539f79(0x1d6)]=_0x295442(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2a56a9){var _0x3f25a8=_0x596d;return(function(){var _0x4464ff=_0x596d,_0x57b550=_0x2a56a9,_0x485bf7=_0x57b550[_0x4464ff(0x38e)],_0x1eb7f9=_0x485bf7[_0x4464ff(0x4cf)],_0x10fd66=_0x57b550[_0x4464ff(0x2af)],_0x3aa8d1=[],_0x428322=[],_0x31e510=[],_0x4789d9=[],_0xab9e49=[],_0x4ece89=[],_0x494800=[],_0x58160c=[],_0x70708e=[],_0x4086b9=[];(function(){for(var _0x46b858=[],_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++)_0x37bac9<0x80?_0x46b858[_0x37bac9]=_0x37bac9<<0x1:_0x46b858[_0x37bac9]=_0x37bac9<<0x1^0x11b;for(var _0x1f3b7a=0x0,_0x6bd485=0x0,_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++){var _0x158af6=_0x6bd485^_0x6bd485<<0x1^_0x6bd485<<0x2^_0x6bd485<<0x3^_0x6bd485<<0x4;_0x158af6=_0x158af6>>>0x8^_0x158af6&0xff^0x63,_0x3aa8d1[_0x1f3b7a]=_0x158af6,_0x428322[_0x158af6]=_0x1f3b7a;var _0x4350df=_0x46b858[_0x1f3b7a],_0x293bd4=_0x46b858[_0x4350df],_0x499b8e=_0x46b858[_0x293bd4],_0x2402c3=_0x46b858[_0x158af6]*0x101^_0x158af6*0x1010100;_0x31e510[_0x1f3b7a]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x4789d9[_0x1f3b7a]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0xab9e49[_0x1f3b7a]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4ece89[_0x1f3b7a]=_0x2402c3;var _0x2402c3=_0x499b8e*0x1010101^_0x293bd4*0x10001^_0x4350df*0x101^_0x1f3b7a*0x1010100;_0x494800[_0x158af6]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x58160c[_0x158af6]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0x70708e[_0x158af6]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4086b9[_0x158af6]=_0x2402c3,_0x1f3b7a?(_0x1f3b7a=_0x4350df^_0x46b858[_0x46b858[_0x46b858[_0x499b8e^_0x4350df]]],_0x6bd485^=_0x46b858[_0x46b858[_0x6bd485]]):_0x1f3b7a=_0x6bd485=0x1;}}());var _0x565348=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bfa21=_0x10fd66[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x4a2)]({'_doReset':function(){var _0x2161ba=_0x4464ff,_0x238a97;if(!(this[_0x2161ba(0x29b)]&&this[_0x2161ba(0x218)]===this['_key'])){for(var _0x3fb93c=this[_0x2161ba(0x218)]=this[_0x2161ba(0x318)],_0x3b77ce=_0x3fb93c[_0x2161ba(0x487)],_0xd10272=_0x3fb93c[_0x2161ba(0x2e2)]/0x4,_0x8f5c03=this['_nRounds']=_0xd10272+0x6,_0x297126=(_0x8f5c03+0x1)*0x4,_0x552856=this[_0x2161ba(0x1fd)]=[],_0xb5e507=0x0;_0xb5e507<_0x297126;_0xb5e507++)_0xb5e507<_0xd10272?_0x552856[_0xb5e507]=_0x3b77ce[_0xb5e507]:(_0x238a97=_0x552856[_0xb5e507-0x1],_0xb5e507%_0xd10272?_0xd10272>0x6&&_0xb5e507%_0xd10272==0x4&&(_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff]):(_0x238a97=_0x238a97<<0x8|_0x238a97>>>0x18,_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff],_0x238a97^=_0x565348[_0xb5e507/_0xd10272|0x0]<<0x18),_0x552856[_0xb5e507]=_0x552856[_0xb5e507-_0xd10272]^_0x238a97);for(var _0x257f66=this[_0x2161ba(0x3cb)]=[],_0x36808a=0x0;_0x36808a<_0x297126;_0x36808a++){var _0xb5e507=_0x297126-_0x36808a;if(_0x36808a%0x4)var _0x238a97=_0x552856[_0xb5e507];else var _0x238a97=_0x552856[_0xb5e507-0x4];_0x36808a<0x4||_0xb5e507<=0x4?_0x257f66[_0x36808a]=_0x238a97:_0x257f66[_0x36808a]=_0x494800[_0x3aa8d1[_0x238a97>>>0x18]]^_0x58160c[_0x3aa8d1[_0x238a97>>>0x10&0xff]]^_0x70708e[_0x3aa8d1[_0x238a97>>>0x8&0xff]]^_0x4086b9[_0x3aa8d1[_0x238a97&0xff]];}}},'encryptBlock':function(_0x278757,_0x2e404e){var _0x4956ae=_0x4464ff;this[_0x4956ae(0x3d1)](_0x278757,_0x2e404e,this[_0x4956ae(0x1fd)],_0x31e510,_0x4789d9,_0xab9e49,_0x4ece89,_0x3aa8d1);},'decryptBlock':function(_0x58c416,_0xf5ac01){var _0x32e201=_0x4464ff,_0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a,this[_0x32e201(0x3d1)](_0x58c416,_0xf5ac01,this[_0x32e201(0x3cb)],_0x494800,_0x58160c,_0x70708e,_0x4086b9,_0x428322);var _0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a;},'_doCryptBlock':function(_0x3902ea,_0xb26c83,_0x3581b8,_0x4189f6,_0x4d3bfa,_0x2d1ec8,_0x18964b,_0x3aaac1){var _0x50ed45=_0x4464ff;for(var _0x74f255=this[_0x50ed45(0x29b)],_0x273bfc=_0x3902ea[_0xb26c83]^_0x3581b8[0x0],_0x122c02=_0x3902ea[_0xb26c83+0x1]^_0x3581b8[0x1],_0x4e4962=_0x3902ea[_0xb26c83+0x2]^_0x3581b8[0x2],_0x282d68=_0x3902ea[_0xb26c83+0x3]^_0x3581b8[0x3],_0x413cbd=0x4,_0x56b309=0x1;_0x56b309<_0x74f255;_0x56b309++){var _0x440d4c=_0x4189f6[_0x273bfc>>>0x18]^_0x4d3bfa[_0x122c02>>>0x10&0xff]^_0x2d1ec8[_0x4e4962>>>0x8&0xff]^_0x18964b[_0x282d68&0xff]^_0x3581b8[_0x413cbd++],_0x29c2dd=_0x4189f6[_0x122c02>>>0x18]^_0x4d3bfa[_0x4e4962>>>0x10&0xff]^_0x2d1ec8[_0x282d68>>>0x8&0xff]^_0x18964b[_0x273bfc&0xff]^_0x3581b8[_0x413cbd++],_0x3fccd6=_0x4189f6[_0x4e4962>>>0x18]^_0x4d3bfa[_0x282d68>>>0x10&0xff]^_0x2d1ec8[_0x273bfc>>>0x8&0xff]^_0x18964b[_0x122c02&0xff]^_0x3581b8[_0x413cbd++],_0x406ee3=_0x4189f6[_0x282d68>>>0x18]^_0x4d3bfa[_0x273bfc>>>0x10&0xff]^_0x2d1ec8[_0x122c02>>>0x8&0xff]^_0x18964b[_0x4e4962&0xff]^_0x3581b8[_0x413cbd++];_0x273bfc=_0x440d4c,_0x122c02=_0x29c2dd,_0x4e4962=_0x3fccd6,_0x282d68=_0x406ee3;}var _0x440d4c=(_0x3aaac1[_0x273bfc>>>0x18]<<0x18|_0x3aaac1[_0x122c02>>>0x10&0xff]<<0x10|_0x3aaac1[_0x4e4962>>>0x8&0xff]<<0x8|_0x3aaac1[_0x282d68&0xff])^_0x3581b8[_0x413cbd++],_0x29c2dd=(_0x3aaac1[_0x122c02>>>0x18]<<0x18|_0x3aaac1[_0x4e4962>>>0x10&0xff]<<0x10|_0x3aaac1[_0x282d68>>>0x8&0xff]<<0x8|_0x3aaac1[_0x273bfc&0xff])^_0x3581b8[_0x413cbd++],_0x3fccd6=(_0x3aaac1[_0x4e4962>>>0x18]<<0x18|_0x3aaac1[_0x282d68>>>0x10&0xff]<<0x10|_0x3aaac1[_0x273bfc>>>0x8&0xff]<<0x8|_0x3aaac1[_0x122c02&0xff])^_0x3581b8[_0x413cbd++],_0x406ee3=(_0x3aaac1[_0x282d68>>>0x18]<<0x18|_0x3aaac1[_0x273bfc>>>0x10&0xff]<<0x10|_0x3aaac1[_0x122c02>>>0x8&0xff]<<0x8|_0x3aaac1[_0x4e4962&0xff])^_0x3581b8[_0x413cbd++];_0x3902ea[_0xb26c83]=_0x440d4c,_0x3902ea[_0xb26c83+0x1]=_0x29c2dd,_0x3902ea[_0xb26c83+0x2]=_0x3fccd6,_0x3902ea[_0xb26c83+0x3]=_0x406ee3;},'keySize':0x100/0x20});_0x57b550[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x1f7)](_0x1bfa21);}()),_0x2a56a9[_0x3f25a8(0x266)];}));}(Ve)),Ve[_0x2f0b11(0x1d6)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1af128(0x1d6)],ai;function zr(){var _0x12d48b=_0x1af128;return ai||(ai=0x1,function(_0x184f42,_0x19f4b5){(function(_0x45c6a3,_0x2e0fb0){_0x184f42['exports']=_0x2e0fb0(ne());}(qr,function(_0x545400){var _0x4bb2e5=_0x596d;return _0x545400['enc'][_0x4bb2e5(0x403)];}));}(Xe)),Xe[_0x12d48b(0x1d6)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x4731c7,_0x2249b1){(function(_0x5a80b5,_0x4b1cd3){_0x4731c7['exports']=_0x4b1cd3(ne());}(Zr,function(_0x15361a){var _0x525bad=_0x596d;return(function(){var _0x7d14c7=_0x596d;if(typeof ArrayBuffer==_0x7d14c7(0x3d7)){var _0x2ffcce=_0x15361a,_0x5ab6d1=_0x2ffcce[_0x7d14c7(0x38e)],_0x40be38=_0x5ab6d1[_0x7d14c7(0x301)],_0x373e5=_0x40be38[_0x7d14c7(0x3fc)],_0x5024d1=_0x40be38['init']=function(_0x533d82){var _0x590cca=_0x7d14c7;if(_0x533d82 instanceof ArrayBuffer&&(_0x533d82=new Uint8Array(_0x533d82)),(_0x533d82 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x533d82 instanceof Uint8ClampedArray||_0x533d82 instanceof Int16Array||_0x533d82 instanceof Uint16Array||_0x533d82 instanceof Int32Array||_0x533d82 instanceof Uint32Array||_0x533d82 instanceof Float32Array||_0x533d82 instanceof Float64Array)&&(_0x533d82=new Uint8Array(_0x533d82[_0x590cca(0x305)],_0x533d82[_0x590cca(0x324)],_0x533d82[_0x590cca(0x208)])),_0x533d82 instanceof Uint8Array){for(var _0x10ec51=_0x533d82[_0x590cca(0x208)],_0xb65d30=[],_0x3d7955=0x0;_0x3d7955<_0x10ec51;_0x3d7955++)_0xb65d30[_0x3d7955>>>0x2]|=_0x533d82[_0x3d7955]<<0x18-_0x3d7955%0x4*0x8;_0x373e5[_0x590cca(0x3f9)](this,_0xb65d30,_0x10ec51);}else _0x373e5[_0x590cca(0x498)](this,arguments);};_0x5024d1[_0x7d14c7(0x2eb)]=_0x40be38;}}()),_0x15361a[_0x525bad(0x38e)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4e5d0d=_0x1af128;return hi||(hi=0x1,function(_0x19013d,_0x51217f){(function(_0x49d24d,_0x3b2ae5,_0x447261){_0x19013d['exports']=_0x3b2ae5(ne(),Ai());}(is,function(_0x3beaef){var _0x5e8822=_0x596d;return _0x3beaef[_0x5e8822(0x30e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3beaef[_0x5e8822(0x30e)][_0x5e8822(0x459)];}));}(Qe)),Qe[_0x4e5d0d(0x1d6)];}var rs=ns();const ss=ke(rs);function os(_0xa3abb6,_0x570662){var _0x50be5c=_0x1af128;const _0x39f22b=_0x570662-_0xa3abb6[_0x50be5c(0x431)]%_0x570662,_0x154e7f=String['fromCharCode'](_0x39f22b)[_0x50be5c(0x1f9)](_0x39f22b);return _0xa3abb6+_0x154e7f;}function as(_0x180a5c,_0x1477cd){var _0x191588=_0x1af128;const _0x4a0ee1=ts[_0x191588(0x1d7)](0x10),_0xab0d18=os(_0x180a5c,0x10),_0x49135e=Kr[_0x191588(0x4bf)](Xr[_0x191588(0x3df)](_0xab0d18),oi[_0x191588(0x3df)](_0x1477cd),{'iv':_0x4a0ee1,'padding':ss});return _0x4a0ee1[_0x191588(0x21d)](_0x49135e['ciphertext'])[_0x191588(0x4d5)](oi);}function cs(){var _0x2ff212=_0x1af128;const _0x2f42d6=_0x58e8fb()[_0x2ff212(0x3c3)];if(_0x2f42d6){const _0x73968e={'time':Math[_0x2ff212(0x3ab)](Date[_0x2ff212(0x428)]()/0x3e8),'domain':location[_0x2ff212(0x460)]};return as(JSON[_0x2ff212(0x44b)](_0x73968e),_0x2f42d6);}}var hs=Object[_0x1af128(0x4ba)],_s=Object[_0x1af128(0x3d3)],ls=(_0x16fe88,_0x3be521,_0x11ac81,_0x4007cf)=>{var _0x1eba68=_0x1af128;for(var _0x1ec684=_0x4007cf>0x1?void 0x0:_0x4007cf?_s(_0x3be521,_0x11ac81):_0x3be521,_0x282f2e=_0x16fe88[_0x1eba68(0x431)]-0x1,_0x2c102b;_0x282f2e>=0x0;_0x282f2e--)(_0x2c102b=_0x16fe88[_0x282f2e])&&(_0x1ec684=(_0x4007cf?_0x2c102b(_0x3be521,_0x11ac81,_0x1ec684):_0x2c102b(_0x1ec684))||_0x1ec684);return _0x4007cf&&_0x1ec684&&hs(_0x3be521,_0x11ac81,_0x1ec684),_0x1ec684;},us=(_0x2f3445,_0xd90760)=>(_0xc60259,_0xe62e0)=>_0xd90760(_0xc60259,_0xe62e0,_0x2f3445);let ot=class{constructor(_0x59de6d){var _0x237ba5=_0x1af128;this[_0x237ba5(0x1ea)]=_0x59de6d,this[_0x237ba5(0x3eb)]();}[_0x1af128(0x3eb)](){var _0x26a727=_0x1af128;this[_0x26a727(0x1ea)][_0x26a727(0x340)]({'interceptor':(_0x320188,_0x1fb191)=>{var _0x2d38e7=_0x26a727;const _0x34d9ad=_0x320188[_0x2d38e7(0x484)],_0x480465=cs();return _0x480465&&_0x34d9ad['set'](_0x2d38e7(0x2cf),_0x480465),_0x1fb191(_0x320188);}});}};ot=ls([us(0x0,_0x50b881(_0x51273b))],ot);var ds=Object[_0x1af128(0x4ba)],fs=Object[_0x1af128(0x3d3)],vs=(_0x5cdc98,_0x32b083,_0x2e0045,_0x398b61)=>{var _0x31c27e=_0x1af128;for(var _0x2a56c5=_0x398b61>0x1?void 0x0:_0x398b61?fs(_0x32b083,_0x2e0045):_0x32b083,_0x1fc541=_0x5cdc98[_0x31c27e(0x431)]-0x1,_0x3900be;_0x1fc541>=0x0;_0x1fc541--)(_0x3900be=_0x5cdc98[_0x1fc541])&&(_0x2a56c5=(_0x398b61?_0x3900be(_0x32b083,_0x2e0045,_0x2a56c5):_0x3900be(_0x2a56c5))||_0x2a56c5);return _0x398b61&&_0x2a56c5&&ds(_0x32b083,_0x2e0045,_0x2a56c5),_0x2a56c5;},mt=(_0x1d47bd,_0x411bf4)=>(_0x18f695,_0x1a1957)=>_0x411bf4(_0x18f695,_0x1a1957,_0x1d47bd);let Ot=class extends _0x4273f8{constructor(_0x497869,_0x3ea252,_0x5c28f8){var _0xb9a738=_0x1af128;super(),N(this,_0xb9a738(0x34b),new _0x230061(null)),N(this,_0xb9a738(0x2fa),this['_unitInfo$'][_0xb9a738(0x2c7)]()),(this[_0xb9a738(0x485)]=_0x497869,this[_0xb9a738(0x35d)]=_0x3ea252,this[_0xb9a738(0x1e8)]=_0x5c28f8);}async[_0x1af128(0x389)](_0x2f2556,_0x5e6f2b,_0x59f933){var _0x43d648=_0x1af128;this['_unitInfo$'][_0x43d648(0x2cb)]({'unitId':_0x2f2556,'type':_0x5e6f2b,'subUnitId':_0x59f933});let _0x18aaf4=null;switch(_0x5e6f2b){case Q[_0x43d648(0x3c7)]:{_0x18aaf4=await this[_0x43d648(0x3ee)](_0x2f2556);break;}case Q[_0x43d648(0x43b)]:{_0x18aaf4=await this[_0x43d648(0x2a6)](_0x2f2556);break;}default:{this[_0x43d648(0x485)]['error'](_0x43d648(0x230),_0x43d648(0x273));break;}}return _0x18aaf4;}async[_0x1af128(0x3ee)](_0x5b162e){var _0x1270a5=_0x1af128,_0x467ebf;let _0xb6b1cb=0x0;const _0x5e2cd1=await((_0x467ebf=this[_0x1270a5(0x1e8)])==null?void 0x0:_0x467ebf[_0x1270a5(0x4ac)](_0x5b162e));return _0x5e2cd1&&(_0x5e2cd1[_0x1270a5(0x387)]||_0x5e2cd1[_0x1270a5(0x4a4)][_0x1270a5(0x431)]!==0x0)&&(_0xb6b1cb=_0x5e2cd1[_0x1270a5(0x2fd)]),_0xb6b1cb===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1270a5(0x35d)][_0x1270a5(0x23f)](_0x5b162e,_0xb6b1cb);}async[_0x1af128(0x2a6)](_0x2d36d8){var _0x4ce69e=_0x1af128,_0x8af2a4;let _0x1e2209=0x0;const _0x14084e=await((_0x8af2a4=this['_localCacheService'])==null?void 0x0:_0x8af2a4['loadOfflineData'](_0x2d36d8));return _0x14084e&&(_0x14084e[_0x4ce69e(0x387)]||_0x14084e[_0x4ce69e(0x4a4)]['length']!==0x0)&&(_0x1e2209=_0x14084e[_0x4ce69e(0x2fd)]),_0x1e2209===0x0&&this['_logService'][_0x4ce69e(0x247)]('[DataLoaderService]',_0x4ce69e(0x3c6)),this[_0x4ce69e(0x35d)]['loadDoc'](_0x2d36d8,_0x1e2209);}};Ot=vs([mt(0x0,_0x334ed4),mt(0x1,_0x50b881(_0x2ec050)),mt(0x2,_0x325bd4(J))],Ot);var ps=Object[_0x1af128(0x4ba)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x352167,_0x27679b,_0x4a34fe,_0x221867)=>{var _0x46a0d4=_0x1af128;for(var _0x41d2c8=_0x221867>0x1?void 0x0:_0x221867?ms(_0x27679b,_0x4a34fe):_0x27679b,_0x18fdb=_0x352167[_0x46a0d4(0x431)]-0x1,_0x23ce09;_0x18fdb>=0x0;_0x18fdb--)(_0x23ce09=_0x352167[_0x18fdb])&&(_0x41d2c8=(_0x221867?_0x23ce09(_0x27679b,_0x4a34fe,_0x41d2c8):_0x23ce09(_0x41d2c8))||_0x41d2c8);return _0x221867&&_0x41d2c8&&ps(_0x27679b,_0x4a34fe,_0x41d2c8),_0x41d2c8;},gt=(_0x2b3ab6,_0x19795f)=>(_0x7a77b7,_0x259f68)=>_0x19795f(_0x7a77b7,_0x259f68,_0x2b3ab6);const Ss=[_0x1af128(0x440),_0x1af128(0x20f),_0x1af128(0x478),'image/gif',_0x1af128(0x472)],Es=0x5*0x400*0x400,Is=_0x1af128(0x239),Ts='/universer-api/stream/file/upload',Cs=_0x1af128(0x1f0),Rs=_0x1af128(0x2d9);let yt=class{constructor(_0x18c0ed,_0x7dc939,_0x53adfc){var _0x4c2bf3=_0x1af128;N(this,_0x4c2bf3(0x1f4),0x0),N(this,_0x4c2bf3(0x3ce),new _0x10c59f()),N(this,_0x4c2bf3(0x32d),this[_0x4c2bf3(0x3ce)]),N(this,_0x4c2bf3(0x2f1),new Map()),(this[_0x4c2bf3(0x1ea)]=_0x18c0ed,this['_configService']=_0x7dc939,this[_0x4c2bf3(0x332)]=_0x53adfc);}['setWaitCount'](_0x46e72a){var _0x5eca65=_0x1af128;this[_0x5eca65(0x1f4)]=_0x46e72a,this['_change$'][_0x5eca65(0x2cb)](_0x46e72a);}[_0x1af128(0x31e)](_0x287795,_0x7ab224){var _0x41cad7=_0x1af128;if(_0x7ab224===_0x544571[_0x41cad7(0x31a)]){const _0x12cb5a=new Image();return _0x12cb5a[_0x41cad7(0x257)]=_0x287795,_0x12cb5a;}return this[_0x41cad7(0x2f1)][_0x41cad7(0x416)](_0x287795);}[_0x1af128(0x4b6)](_0x413dcc,_0x1ab857,_0x2903f7){var _0x368fad=_0x1af128;_0x1ab857===_0x544571[_0x368fad(0x31a)]||_0x2903f7==null||this[_0x368fad(0x2f1)][_0x368fad(0x255)](_0x413dcc,_0x2903f7);}async[_0x1af128(0x1da)](_0x3a4986){var _0x48677f=_0x1af128;try{const _0x541f90=this[_0x48677f(0x3c5)](this['_getSignURL'](),''+_0x3a4986),_0x21dd58=(await this[_0x48677f(0x1ea)]['get'](_0x541f90))[_0x48677f(0x425)];if(_0x21dd58[_0x48677f(0x479)]&&_0x21dd58[_0x48677f(0x479)][_0x48677f(0x2c3)]===Ii['OK']){const _0x18f781=new URL(_0x21dd58[_0x48677f(0x1f8)],this[_0x48677f(0x323)]())[_0x48677f(0x4d5)]();return Promise[_0x48677f(0x2c8)](_0x18f781);}return Promise[_0x48677f(0x392)](_0x21dd58[_0x48677f(0x479)]);}catch(_0x3f8bd1){return Promise[_0x48677f(0x392)](_0x3f8bd1);}}async[_0x1af128(0x1f2)](_0x7e309c){var _0x261c7a=_0x1af128;let _0x151dac='';if(!Ss[_0x261c7a(0x468)](_0x7e309c['type']))return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x42f)]));if(_0x7e309c[_0x261c7a(0x363)]>Es)return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x1ef)]));try{const _0x38fb30=new FormData();_0x38fb30[_0x261c7a(0x38d)]('file',_0x7e309c);const _0x3d8984=this[_0x261c7a(0x332)][_0x261c7a(0x328)](),_0x381856=_0x3d8984==null?void 0x0:_0x3d8984[_0x261c7a(0x26b)]();if(!_0x381856)throw new Error(_0x261c7a(0x2b4));const _0x48bc63=this[_0x261c7a(0x381)]()+'?size='+_0x7e309c[_0x261c7a(0x363)][_0x261c7a(0x4d5)]()+_0x261c7a(0x452)+Ti['UnitEmbedded']+_0x261c7a(0x36a)+encodeURIComponent(_0x381856),_0x119eef=await(await fetch(_0x48bc63,{'method':_0x261c7a(0x234),'body':_0x38fb30}))[_0x261c7a(0x2c2)]();if(typeof _0x119eef[_0x261c7a(0x42d)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x509a09[_0x261c7a(0x39e)]));_0x151dac=_0x119eef[_0x261c7a(0x42d)];}catch{return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09['ERROR_IMAGE']));}return new Promise((_0x43cf13,_0x3952b2)=>{var _0x5a607b=_0x261c7a;const _0x4f8de1=new FileReader();_0x4f8de1[_0x5a607b(0x49c)](_0x7e309c),_0x4f8de1['onload']=_0x38b6fc=>{var _0x2956c9=_0x5a607b,_0x3483a6;const _0x132b2b=(_0x3483a6=_0x38b6fc[_0x2956c9(0x296)])==null?void 0x0:_0x3483a6[_0x2956c9(0x371)];if(_0x132b2b==null){this[_0x2956c9(0x4a1)](),_0x3952b2(new Error(_0x509a09['ERROR_IMAGE']));return;}const _0x21395e=_0x15157c['generateRandomId'](0x6);_0x43cf13({'imageId':_0x21395e,'imageSourceType':_0x544571[_0x2956c9(0x461)],'source':_0x151dac,'base64Cache':_0x132b2b,'status':_0x509a09['SUCCUSS']}),this[_0x2956c9(0x4a1)]();};});}[_0x1af128(0x381)](){var _0x273d71=_0x1af128,_0x1e4577,_0x13f5f0;const _0x18db8d=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](Is),_0x2ec516=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](q);return(_0x13f5f0=(_0x1e4577=_0x2ec516==null?void 0x0:_0x2ec516[_0x273d71(0x45c)])!=null?_0x1e4577:_0x18db8d)!=null?_0x13f5f0:Ts;}[_0x1af128(0x45a)](){var _0xa1a900=_0x1af128,_0x5a17e4,_0x362ad5;const _0x489d90=this['_configService'][_0xa1a900(0x49e)](Cs),_0x4608b0=this[_0xa1a900(0x4d1)][_0xa1a900(0x49e)](q);return(_0x362ad5=(_0x5a17e4=_0x4608b0==null?void 0x0:_0x4608b0[_0xa1a900(0x284)])!=null?_0x5a17e4:_0x489d90)!=null?_0x362ad5:Rs;}[_0x1af128(0x323)](){var _0x37bd30=_0x1af128,_0x444522;const _0x2cc327=this[_0x37bd30(0x4d1)][_0x37bd30(0x49e)](q);return(_0x444522=_0x2cc327==null?void 0x0:_0x2cc327[_0x37bd30(0x365)])!=null?_0x444522:location['origin'];}[_0x1af128(0x3c5)](_0x5c6068,_0xc7739e){return _0x5c6068['replace']('{fileID}',_0xc7739e);}[_0x1af128(0x4a1)](){var _0x432957=_0x1af128;this[_0x432957(0x1f4)]-=0x1,this[_0x432957(0x3ce)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x50b881(_0x51273b)),gt(0x1,_0xb3f6ba),gt(0x2,_0x50b881(_0x42b8e7))],yt);var bs=Object[_0x1af128(0x4ba)],Os=Object[_0x1af128(0x3d3)],ys=(_0x4cc287,_0x1faa31,_0xa7c8c6,_0x34efd5)=>{var _0x2502d2=_0x1af128;for(var _0x1bb667=_0x34efd5>0x1?void 0x0:_0x34efd5?Os(_0x1faa31,_0xa7c8c6):_0x1faa31,_0x1cd666=_0x4cc287[_0x2502d2(0x431)]-0x1,_0x2c9807;_0x1cd666>=0x0;_0x1cd666--)(_0x2c9807=_0x4cc287[_0x1cd666])&&(_0x1bb667=(_0x34efd5?_0x2c9807(_0x1faa31,_0xa7c8c6,_0x1bb667):_0x2c9807(_0x1bb667))||_0x1bb667);return _0x34efd5&&_0x1bb667&&bs(_0x1faa31,_0xa7c8c6,_0x1bb667),_0x1bb667;},_i=(_0x255dc4,_0x55d05a)=>(_0x325aa1,_0xeccec7)=>_0x55d05a(_0x325aa1,_0xeccec7,_0x255dc4);const Ns=_0x1af128(0x1e6);let Nt=class{constructor(_0x134059,_0x1045ff){this['_configService']=_0x134059,this['_HTTPService']=_0x1045ff;}[_0x1af128(0x30c)](){var _0x5e1d39=_0x1af128,_0x135a19,_0xb56eab;const _0x4f59af=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](Pi),_0x4cb291=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](q);return(_0xb56eab=(_0x135a19=_0x4cb291==null?void 0x0:_0x4cb291[_0x5e1d39(0x347)])!=null?_0x135a19:_0x4f59af)!=null?_0xb56eab:Ns;}async[_0x1af128(0x290)](_0xccbcb5){var _0x234e8d=_0x1af128;const _0x98ba2b=this[_0x234e8d(0x30c)]()+'/collaborator';return{'list':[{'title':_0x234e8d(0x29d),'mentions':(await this[_0x234e8d(0x393)][_0x234e8d(0x416)](_0x98ba2b,{'params':{'objectID':_0xccbcb5[_0x234e8d(0x379)],'unitID':_0xccbcb5[_0x234e8d(0x379)]}}))[_0x234e8d(0x425)][_0x234e8d(0x41b)][_0x234e8d(0x453)](_0x46d9d5=>({'objectId':_0x46d9d5['id'],'name':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'metadata':{'icon':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x27d)]},'label':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'objectType':_0x4389d9[_0x234e8d(0x3a5)]})),'metadata':{},'type':_0x4389d9[_0x234e8d(0x3a5)]}]};}};Nt=ys([_i(0x0,_0x50b881(_0xb3f6ba)),_i(0x1,_0x50b881(_0x51273b))],Nt);var Ds=Object[_0x1af128(0x4ba)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1eeb93,_0x54ff7c,_0x257c6a,_0x17f789)=>{var _0x285939=_0x1af128;for(var _0x543bab=_0x17f789>0x1?void 0x0:_0x17f789?Ps(_0x54ff7c,_0x257c6a):_0x54ff7c,_0x47cbe2=_0x1eeb93[_0x285939(0x431)]-0x1,_0x47d708;_0x47cbe2>=0x0;_0x47cbe2--)(_0x47d708=_0x1eeb93[_0x47cbe2])&&(_0x543bab=(_0x17f789?_0x47d708(_0x54ff7c,_0x257c6a,_0x543bab):_0x47d708(_0x543bab))||_0x543bab);return _0x17f789&&_0x543bab&&Ds(_0x54ff7c,_0x257c6a,_0x543bab),_0x543bab;},Se=(_0x114e06,_0x1e95d8)=>(_0x5a1c57,_0x1f26ae)=>_0x1e95d8(_0x5a1c57,_0x1f26ae,_0x114e06);let at=class extends _0x4273f8{constructor(_0x385b01,_0x9233e0,_0x396bc3,_0x363257,_0x14556f,_0x2ce2ee,_0xe4bbdb){var _0x2f1657=_0x1af128;super(),this[_0x2f1657(0x367)]=_0x385b01,this['_univerInstanceService']=_0x9233e0,this[_0x2f1657(0x201)]=_0x396bc3,this[_0x2f1657(0x3bc)]=_0x363257,this[_0x2f1657(0x4b1)]=_0x14556f,this[_0x2f1657(0x1e3)]=_0x2ce2ee,this['_undoRedoService']=_0xe4bbdb,this[_0x2f1657(0x4c0)](),this['_initCloseConn']();}[_0x1af128(0x1ec)](){var _0x44998a=_0x1af128;const _0x44853c=async _0x29bc99=>{var _0x4782cd=_0x596d;(await this[_0x4782cd(0x3bc)][_0x4782cd(0x3e7)](_0x29bc99))[_0x4782cd(0x22e)]['pipe'](_0x226f92(_0x2aded2=>_0x2aded2['eventID']===_0x1d08ca[_0x4782cd(0x368)]),_0x4387d8(this[_0x4782cd(0x2f3)]))[_0x4782cd(0x26c)](_0x60481b=>{var _0x2a9fbe=_0x4782cd;const _0x513adb=_0x60481b,{reason:_0x265995}=_0x513adb[_0x2a9fbe(0x345)];this[_0x2a9fbe(0x4b1)][_0x2a9fbe(0x258)]({'id':se[_0x2a9fbe(0x4d3)],'data':_0x265995}),this[_0x2a9fbe(0x201)][_0x2a9fbe(0x3b7)](new _0x3ff24a(_0x29bc99)['id'],!0x1),this[_0x2a9fbe(0x3bc)][_0x2a9fbe(0x3e9)](_0x29bc99);});};_0x19107a(this[_0x44998a(0x332)][_0x44998a(0x2e0)](_0x7a0f38[_0x44998a(0x3c7)]),this[_0x44998a(0x332)]['getTypeOfUnitAdded$'](_0x7a0f38[_0x44998a(0x43b)]))['pipe'](_0x3c96ad(_0x5d990d=>_0x5d990d['getUnitId']()),_0x226f92(_0xb99bac=>!_0xc3ccf8(_0xb99bac)),_0x4387d8(this['dispose$']))['subscribe'](_0x5a0f39=>{_0x44853c(_0x5a0f39);});}[_0x1af128(0x4c0)](){var _0x327807=_0x1af128;const _0x35dca9=async _0x2bc3cf=>{var _0x254f78=_0x596d;const _0x4a3bf9=await this['_collaborationSessionService'][_0x254f78(0x3e7)](_0x2bc3cf),_0x49f7dd=this['_injector'][_0x254f78(0x416)](_0x2ba33e);_0x4a3bf9[_0x254f78(0x22e)][_0x254f78(0x463)](_0x226f92(_0x5c6f5a=>_0x5c6f5a['eventID']===_0x1d08ca[_0x254f78(0x28f)]),_0x4387d8(this[_0x254f78(0x2f3)]))['subscribe'](_0x4c65c9=>{var _0x1e8196=_0x254f78;const _0x4bb863=_0x4c65c9,{objectId:_0x1d2268}=_0x4bb863[_0x1e8196(0x345)];_0x1d2268===_0x2bc3cf?_0x49f7dd[_0x1e8196(0x4c9)](_0x2bc3cf):_0x49f7dd[_0x1e8196(0x40e)](_0x2bc3cf,_0x1d2268);});};_0x19107a(this['_univerInstanceService'][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x3c7)]),this[_0x327807(0x332)][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x43b)]))[_0x327807(0x463)](_0x3c96ad(_0x194f82=>_0x194f82['getUnitId']()),_0x226f92(_0x3fcf60=>!_0xc3ccf8(_0x3fcf60)),_0x4387d8(this[_0x327807(0x2f3)]))[_0x327807(0x26c)](_0x5e04b8=>{_0x35dca9(_0x5e04b8);});}};function _0x596d(_0x2f762a,_0x5ae8e2){var _0x6aa32=_0x6aa3();return _0x596d=function(_0x596df4,_0x2e2efe){_0x596df4=_0x596df4-0x1d0;var _0x4a5f9f=_0x6aa32[_0x596df4];return _0x4a5f9f;},_0x596d(_0x2f762a,_0x5ae8e2);}at=ws([Se(0x0,_0x50b881(_0x339edd)),Se(0x1,_0x42b8e7),Se(0x2,_0xea2b61),Se(0x3,_0x50b881(Le)),Se(0x4,_0x50b881(pe)),Se(0x5,_0x298ad2),Se(0x6,_0x16445d)],at);var Us=Object[_0x1af128(0x4ba)],As=Object[_0x1af128(0x3d3)],xs=(_0x1278d2,_0xcba28,_0x3de9cb,_0x12aa49)=>{for(var _0x580e37=_0x12aa49>0x1?void 0x0:_0x12aa49?As(_0xcba28,_0x3de9cb):_0xcba28,_0xe2593d=_0x1278d2['length']-0x1,_0x206fdf;_0xe2593d>=0x0;_0xe2593d--)(_0x206fdf=_0x1278d2[_0xe2593d])&&(_0x580e37=(_0x12aa49?_0x206fdf(_0xcba28,_0x3de9cb,_0x580e37):_0x206fdf(_0x580e37))||_0x580e37);return _0x12aa49&&_0x580e37&&Us(_0xcba28,_0x3de9cb,_0x580e37),_0x580e37;},li=(_0x494487,_0x5c7c0f)=>(_0x47005c,_0x32dc41)=>_0x5c7c0f(_0x47005c,_0x32dc41,_0x494487);let Dt=class{constructor(_0x3bc861,_0x1d4cf3){var _0x4c551e=_0x1af128;this[_0x4c551e(0x4d1)]=_0x3bc861,this[_0x4c551e(0x1ea)]=_0x1d4cf3;}async['getUnitOnRev'](_0x587139,_0x1a7826){var _0x5772db=_0x1af128,_0x49c3f6;const {unitID:_0x3bc903,type:_0x12194f,revision:_0x222902=0x0}=_0x1a7826,_0x29d114=this['getSnapshotAPIPath']()+'/'+_0x12194f+_0x5772db(0x29a)+_0x3bc903+_0x5772db(0x251)+_0x222902,_0x149899=(await this[_0x5772db(0x1ea)]['get'](_0x29d114))[_0x5772db(0x425)],_0x5b1652=(_0x49c3f6=_0x149899['snapshot'])==null?void 0x0:_0x49c3f6[_0x5772db(0x286)];if(_0x5b1652){const _0xeacb8a=_0x5b1652==null?void 0x0:_0x5b1652[_0x5772db(0x240)],_0x483e74=_0x20eefa[_0x5772db(0x2f0)](_0x55b68d(_0xeacb8a));_0x5b1652[_0x5772db(0x240)]=_0x483e74,Object['entries'](_0x5b1652[_0x5772db(0x3a7)])[_0x5772db(0x30f)](([,_0x32796b])=>{var _0x258547=_0x5772db;const _0x736ced=_0x32796b[_0x258547(0x240)],_0x38cb12=_0x20eefa[_0x258547(0x2f0)](_0x55b68d(_0x736ced));_0x32796b['originalMeta']=_0x38cb12;});}return _0x149899;}async[_0x1af128(0x263)](_0x5414f9,_0x483e57){var _0x45aded=_0x1af128;const {unitID:_0x5f2913,type:_0x451567,blockID:_0x48fac8}=_0x483e57,_0x1feb50=this[_0x45aded(0x4d2)]()+'/'+_0x451567+_0x45aded(0x29a)+_0x5f2913+_0x45aded(0x1e1)+_0x48fac8;return(await this[_0x45aded(0x1ea)][_0x45aded(0x416)](_0x1feb50))[_0x45aded(0x425)];}async[_0x1af128(0x3ea)](_0x187a60,_0x10de6d){var _0x498ad5=_0x1af128;const {unitID:_0x4a928a,type:_0xef53df,blockID:_0x196991}=_0x10de6d,_0x11704d=this[_0x498ad5(0x4d2)]()+'/block/'+_0xef53df+_0x498ad5(0x29a)+_0x4a928a+_0x498ad5(0x1e1)+_0x196991;return(await this[_0x498ad5(0x1ea)]['get'](_0x11704d))['body'];}async['fetchMissingChangesets'](_0x416921,_0x285f70){var _0x465509=_0x1af128;const {unitID:_0x572694,type:_0x8d1df1,from:_0x569765,to:_0x427ab4}=_0x285f70,_0x4f747e=this[_0x465509(0x4d2)]()+'/'+_0x8d1df1+_0x465509(0x29a)+_0x572694+_0x465509(0x35e)+_0x569765+'&to='+_0x427ab4;return(await this[_0x465509(0x1ea)]['get'](_0x4f747e))[_0x465509(0x425)];}[_0x1af128(0x28a)](){var _0x1d899b=_0x1af128,_0x1a8a4e;return(_0x1a8a4e=this[_0x1d899b(0x4d1)][_0x1d899b(0x49e)](Tn))!=null?_0x1a8a4e:this[_0x1d899b(0x4d2)]();}[_0x1af128(0x4d2)](){var _0x455011=_0x1af128,_0xaa8095,_0x55e0f4;const _0x1e7841=this[_0x455011(0x4d1)][_0x455011(0x49e)](En),_0x56a3fe=this['_configService'][_0x455011(0x49e)](q);return(_0x55e0f4=(_0xaa8095=_0x56a3fe==null?void 0x0:_0x56a3fe['snapshotServerUrl'])!=null?_0xaa8095:_0x1e7841)!=null?_0x55e0f4:In;}async['getResourcesRequest'](_0x225666,_0x250632){var _0x19fdbe=_0x1af128;const _0x26f28e=_0x19fdbe(0x2d4)+_0x250632['type']+_0x19fdbe(0x29a)+_0x250632[_0x19fdbe(0x1fa)]+_0x19fdbe(0x3ba);return(await this[_0x19fdbe(0x1ea)][_0x19fdbe(0x416)](_0x26f28e,{'params':{'resourceId':JSON[_0x19fdbe(0x44b)](_0x250632[_0x19fdbe(0x47f)])}}))['body'];}[_0x1af128(0x2f2)](){var _0x48f322=_0x1af128;throw new Error(_0x48f322(0x1d2));}['saveSheetBlock'](){var _0x2c08a4=_0x1af128;throw new Error(_0x2c08a4(0x1d2));}[_0x1af128(0x235)](){var _0x45d479=_0x1af128;throw new Error(_0x45d479(0x1d2));}[_0x1af128(0x2e9)](){var _0x2bd3ec=_0x1af128;throw new Error(_0x2bd3ec(0x1d2));}[_0x1af128(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0xb3f6ba),li(0x1,_0x50b881(_0x51273b))],Dt);var Ls=Object[_0x1af128(0x4ba)],Ms=Object[_0x1af128(0x3d3)],$s=(_0x37d8f5,_0x23442d,_0x1ed29,_0x5543ea)=>{var _0x5bfc9f=_0x1af128;for(var _0xd751bd=_0x5543ea>0x1?void 0x0:_0x5543ea?Ms(_0x23442d,_0x1ed29):_0x23442d,_0x531d71=_0x37d8f5[_0x5bfc9f(0x431)]-0x1,_0x395191;_0x531d71>=0x0;_0x531d71--)(_0x395191=_0x37d8f5[_0x531d71])&&(_0xd751bd=(_0x5543ea?_0x395191(_0x23442d,_0x1ed29,_0xd751bd):_0x395191(_0xd751bd))||_0xd751bd);return _0x5543ea&&_0xd751bd&&Ls(_0x23442d,_0x1ed29,_0xd751bd),_0xd751bd;},Ae=(_0x3034a6,_0x6ca804)=>(_0x58b2c0,_0x41d6b0)=>_0x6ca804(_0x58b2c0,_0x41d6b0,_0x3034a6);let Pt=class extends _0x40707b{constructor(_0xa88093,_0x5c1fa8,_0x5ca08d,_0x455eff,_0x40a082){var _0x16f928=_0x1af128;super(_0xa88093,_0x5c1fa8,_0x5ca08d),this[_0x16f928(0x44a)]=_0x455eff,this['_logService']=_0x40a082;}[_0x1af128(0x2de)](_0xd2cbac,_0x5aa7b7){var _0x404b07=_0x1af128;const _0xc64686=this[_0x404b07(0x23d)](_0xd2cbac);if(_0xc64686)try{const _0x3167d7=this[_0x404b07(0x2e1)](_0xc64686,_0x5aa7b7);this['_substituteUndoStack'](_0xd2cbac,_0x3167d7);}catch(_0x2445a9){this[_0x404b07(0x485)]['error'](_0x404b07(0x3a0),_0x2445a9),this[_0x404b07(0x402)](_0xd2cbac);}const _0x5c560f=this[_0x404b07(0x499)](_0xd2cbac);if(_0x5c560f)try{const _0x40b839=this[_0x404b07(0x2e1)](_0x5c560f,_0x5aa7b7);this[_0x404b07(0x404)](_0xd2cbac,_0x40b839);}catch(_0x30013f){this['_logService'][_0x404b07(0x479)](_0x30013f),this[_0x404b07(0x2ca)](_0xd2cbac);}}[_0x1af128(0x402)](_0x3cd5cb){var _0x35bb3a=_0x1af128;const _0x2183ae=this[_0x35bb3a(0x23d)](_0x3cd5cb);_0x2183ae&&(_0x2183ae[_0x35bb3a(0x431)]=0x0,this[_0x35bb3a(0x3be)]());}[_0x1af128(0x2ca)](_0x47dc62){var _0x17bf34=_0x1af128;const _0x4c0a6d=this['_getRedoStack'](_0x47dc62);_0x4c0a6d&&(_0x4c0a6d[_0x17bf34(0x431)]=0x0,this[_0x17bf34(0x3be)]());}[_0x1af128(0x30d)](_0x89e1fe,_0x1949c1){var _0x17fa21=_0x1af128;this[_0x17fa21(0x4b3)]['set'](_0x89e1fe,_0x1949c1),this[_0x17fa21(0x3be)]();}['_substituteRedoStack'](_0x544193,_0x2c208f){var _0x3fba00=_0x1af128;this['_redoStacks'][_0x3fba00(0x255)](_0x544193,_0x2c208f),this[_0x3fba00(0x3be)]();}[_0x1af128(0x2e1)](_0x393040,_0x5da609){var _0x48f3ae=_0x1af128;const _0x3cf3bc=[];let _0x4cbf93=_0x5da609,_0x202070=_0x5da609;for(let _0x5b7133=_0x393040[_0x48f3ae(0x431)]-0x1;_0x5b7133>=0x0;_0x5b7133--){const {unitID:_0x307365,undoMutations:_0x15b6a6,redoMutations:_0x3af41a}=_0x393040[_0x5b7133],_0x52ddaf=this[_0x48f3ae(0x44a)]['transformMutationsWithChangeset'](_0x4cbf93,_0x15b6a6),_0x2c2c37=this[_0x48f3ae(0x44a)][_0x48f3ae(0x29f)](_0x202070,_0x3af41a);if(_0x3abcdb(_0x52ddaf)||_0x3abcdb(_0x2c2c37)){this[_0x48f3ae(0x485)]['error'](_0x48f3ae(0x3a0),_0x48f3ae(0x4c5),_0x52ddaf,_0x2c2c37);break;}_0x4cbf93=_0x52ddaf[_0x48f3ae(0x2cd)],_0x202070=_0x2c2c37[_0x48f3ae(0x2cd)],_0x3cf3bc[_0x48f3ae(0x2ad)]({'unitID':_0x307365,'undoMutations':_0x52ddaf[_0x48f3ae(0x2b0)],'redoMutations':_0x2c2c37[_0x48f3ae(0x2b0)]});}return _0x3cf3bc['reverse']();}};Pt=$s([Ae(0x0,_0x42b8e7),Ae(0x1,_0x4f3e11),Ae(0x2,_0x215270),Ae(0x3,_0x207f44),Ae(0x4,_0x334ed4)],Pt);var xi=Object[_0x1af128(0x4ba)],Hs=Object[_0x1af128(0x3d3)],ks=(_0x576577,_0x599215,_0x10881b)=>_0x599215 in _0x576577?xi(_0x576577,_0x599215,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10881b}):_0x576577[_0x599215]=_0x10881b,js=(_0x249d65,_0xe06207,_0x497045,_0x2140fa)=>{var _0x2cf9c9=_0x1af128;for(var _0x39ceee=_0x2140fa>0x1?void 0x0:_0x2140fa?Hs(_0xe06207,_0x497045):_0xe06207,_0x4c6c58=_0x249d65[_0x2cf9c9(0x431)]-0x1,_0x572d11;_0x4c6c58>=0x0;_0x4c6c58--)(_0x572d11=_0x249d65[_0x4c6c58])&&(_0x39ceee=(_0x2140fa?_0x572d11(_0xe06207,_0x497045,_0x39ceee):_0x572d11(_0x39ceee))||_0x39ceee);return _0x2140fa&&_0x39ceee&&xi(_0xe06207,_0x497045,_0x39ceee),_0x39ceee;},St=(_0x574307,_0x489698)=>(_0x32cb78,_0x5cb2d6)=>_0x489698(_0x32cb78,_0x5cb2d6,_0x574307),Bs=(_0x298c18,_0x71fe72,_0x5cead2)=>ks(_0x298c18,_0x71fe72+'',_0x5cead2);const Fs=_0x1af128(0x306);let wt=class extends _0x58ba77{constructor(_0x1a036b=Wt,_0x43fe1a,_0x26dddb,_0x5588f5){var _0x42d766=_0x1af128;super(),this['_config']=_0x1a036b,this[_0x42d766(0x485)]=_0x43fe1a,this[_0x42d766(0x367)]=_0x26dddb,this[_0x42d766(0x4d1)]=_0x5588f5;const {..._0x587125}=_0x1686f7({},Wt,this[_0x42d766(0x358)]);this[_0x42d766(0x4d1)]['setConfig'](q,_0x587125);}['onStarting'](){var _0x443f95=_0x1af128;this[_0x443f95(0x1fb)](),this[_0x443f95(0x2dc)]();}[_0x1af128(0x1fb)](){var _0x16edfb=_0x1af128,_0x2febc0,_0x5b397a,_0x14012e,_0x592198;this[_0x16edfb(0x367)][_0x16edfb(0x278)](_0x16445d)&&this['_logService']['error'](_0x16edfb(0x38b),_0x16edfb(0x46e));const _0x295ef7=_0x3b1a20([[_0x16445d,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5b397a=(_0x2febc0=this[_0x16edfb(0x358)])==null?void 0x0:_0x2febc0[_0x16edfb(0x2a0)])!=null?_0x5b397a:Et}],[_0x2687e0,{'useClass':Dt}],[_0x298ad2,{'useClass':bt}],[_0x5b5ab5,{'useClass':yt}],[_0x478e21,{'useClass':Nt}],[rt],[Rt]],(_0x14012e=this[_0x16edfb(0x358)])==null?void 0x0:_0x14012e[_0x16edfb(0x21b)]);if(!((_0x592198=this[_0x16edfb(0x358)])!=null&&_0x592198['enableSingleActiveInstanceLock'])){const _0x4ba3ee=_0x295ef7[_0x16edfb(0x3e0)](([_0x23833d])=>_0x23833d===ht);_0x4ba3ee!==-0x1&&_0x295ef7[_0x16edfb(0x3ca)](_0x4ba3ee,0x1);}_0x48774b(this['_injector'],_0x295ef7);}[_0x1af128(0x2dc)](){var _0x1e7ae7=_0x1af128,_0x3bbc71,_0x160b42,_0x55f922;this['_injector'][_0x1e7ae7(0x416)](_0x51273b)[_0x1e7ae7(0x340)]({'priority':0x14,'interceptor':_0x105533({'maxParallel':0x6})}),(_0x3bbc71=this['_config'])!=null&&_0x3bbc71[_0x1e7ae7(0x21f)]||(_0x160b42=this[_0x1e7ae7(0x367)]['get'](J,_0x8bb0cb[_0x1e7ae7(0x382)]))==null||_0x160b42['disableLocalCache'](),(_0x55f922=this[_0x1e7ae7(0x358)])!=null&&_0x55f922[_0x1e7ae7(0x326)]&&_0x150a5f(this[_0x1e7ae7(0x367)],[[st]]),_0x150a5f(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x1af128(0x297),Fs),wt=js([_0x3fade5(_0x1ce121,_0x376c94,_0x22d427),St(0x1,_0x334ed4),St(0x2,_0x50b881(_0x339edd)),St(0x3,_0xb3f6ba)],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 _0x1a3a6b=_0x2c36;(function(_0x1982be,_0x53b90e){var _0x19f8db=_0x2c36,_0x52c0fc=_0x1982be();while(!![]){try{var _0x390a18=-parseInt(_0x19f8db(0x261))/0x1+parseInt(_0x19f8db(0x98))/0x2+-parseInt(_0x19f8db(0x278))/0x3*(parseInt(_0x19f8db(0x342))/0x4)+-parseInt(_0x19f8db(0xc9))/0x5*(parseInt(_0x19f8db(0x1d2))/0x6)+parseInt(_0x19f8db(0x271))/0x7+-parseInt(_0x19f8db(0x160))/0x8+parseInt(_0x19f8db(0x26d))/0x9;if(_0x390a18===_0x53b90e)break;else _0x52c0fc['push'](_0x52c0fc['shift']());}catch(_0x2953b0){_0x52c0fc['push'](_0x52c0fc['shift']());}}}(_0x45ac,0x2cd79));var Li=Object[_0x1a3a6b(0x1fd)],Mi=(_0x926a91,_0xd8e19a,_0x39d6f5)=>_0xd8e19a in _0x926a91?Li(_0x926a91,_0xd8e19a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39d6f5}):_0x926a91[_0xd8e19a]=_0x39d6f5,N=(_0x221101,_0x13e59c,_0x2a2a42)=>Mi(_0x221101,typeof _0x13e59c!=_0x1a3a6b(0x38a)?_0x13e59c+'':_0x13e59c,_0x2a2a42);import{createIdentifier as _0x9ba8fb,Inject as _0x5eebc2,Injector as _0x54e9ab,Disposable as _0x15bf0d,DisposableCollection as _0x3a4736,toDisposable as _0x19a661,IConfigService as _0x4107ea,ILogService as _0x1ca28b,UserManagerService as _0x268a30,UniverInstanceType as _0x520b34,IUniverInstanceService as _0x42a1e9,LocaleService as _0x3c43d2,Optional as _0x27b19f,RxDisposable as _0x20578d,Tools as _0x282cb2,Rectangle as _0x57aa7b,ICommandService as _0x572fdd,JSONX as _0x55f872,CommandType as _0x1d7b02,IPermissionService as _0x4ebb7c,IUndoRedoService as _0x1ca1a7,sequenceExecute as _0x2ca4cb,Workbook as _0x35a766,MentionType as _0x446bf5,IAuthzIoService as _0x1226d2,isInternalEditorID as _0x4aa697,LocalUndoRedoService as _0x97a08e,IContextService as _0x27bf1f,DependentOn as _0x12a217,Plugin as _0x154cbd,merge as _0x3b3b7a,mergeOverrideWithDependencies as _0x347440,IMentionIOService as _0x145c7f,registerDependencies as _0x2cd418,Quantity as _0x29c645,touchDependencies as _0x324e2e}from'@univerjs/core';import{Subject as _0x1b9930,merge as _0x56378f,of as _0x3a6100,BehaviorSubject as _0x5c1b2c,takeUntil as _0x1131f9,ReplaySubject as _0xd72070,take as _0x4ef5b4,map as _0x2ee0d8,shareReplay as _0x4d0233,firstValueFrom as _0x530861,concatMap as _0x44cc5d}from'rxjs';import{map as _0x15b0db,take as _0x67184a,filter as _0x5cfa46,delay as _0x1309f4,takeUntil as _0x2f89f8}from'rxjs/operators';import{HTTPService as _0x5b5c45,ISocketService as _0x3391fb,MergeInterceptorFactory as _0x28dfed,HTTPRequest as _0x59d13e,UniverNetworkPlugin as _0x1c49eb,ThresholdInterceptorFactory as _0x5294b3}from'@univerjs/network';import{CollaborationEvent as _0x12854d,parseChangesetToProtocol as _0x3f1cee,ISnapshotServerService as _0x394c8c,isTransformMutationsWithChangesetSuccess as _0x52e85a,ITransformService as _0x2b6404,mapDocumentTypeToUniverType as _0x374c9f,RevisionService as _0x5b78cb,isTransformChangesetsSuccess as _0x1abdb2,CompressMutationService as _0x55750e,parseProtocolChangeset as _0x4651b7,SnapshotService as _0x59c463,textEncoder as _0x302778,b64DecodeUnicode as _0x23859b,isTransformMutationsWithChangesetFailure as _0x1278d5,UniverCollaborationPlugin as _0x1d7fdc}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5787a1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x39055c}from'@univerjs/docs';import{SheetsSelectionsService as _0x299d1f,SetSelectionsOperation as _0x1ac112,InsertSheetMutation as _0x4ae0ea,EmptyMutation as _0x4c85f6,WorkbookEditablePermission as _0x56b9cd,SheetPermissionInitController as _0x18a768,UniverSheetsPlugin as _0x29ba89}from'@univerjs/sheets';import{ImageSourceType as _0x15d1ee,ImageUploadStatusType as _0x113468,IImageIoService as _0xb7d4df}from'@univerjs/drawing';import{getGlobalObject as _0x23ae21}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x1a3a6b(0x11f),Tn=_0x1a3a6b(0x227),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1a3a6b(0x2c1),bn='ws://127.0.0.1:8000/universer-api/comb/connect',On='/universer-api/user/session-ticket',yn='HEARTBEAT_INTERVAL',Nn=0x7530,Si=_0x1a3a6b(0x33a),Ei=0x4e20,Dn=0x4e20,Pn=_0x1a3a6b(0x33b),wn=0x3,to=_0x1a3a6b(0xfd),io=0x3e8,Un=_0x1a3a6b(0xe0),An='/universer-api/comb',xn=_0x1a3a6b(0x355),Ln=_0x1a3a6b(0x1a1),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x1a3a6b(0x10d);var Ii=(_0x31fcd1=>(_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x273)]=0x0]=_0x1a3a6b(0x273),_0x31fcd1[_0x31fcd1['OK']=0x1]='OK',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x134)]=0x2]=_0x1a3a6b(0x134),_0x31fcd1[_0x31fcd1['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x31fcd1[_0x31fcd1['NOT_FOUND']=0x4]='NOT_FOUND',_0x31fcd1[_0x31fcd1['UNAUTHENTICATED']=0x5]=_0x1a3a6b(0x2eb),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xab)]=0x6]=_0x1a3a6b(0xab),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x1ee)]=0x7]=_0x1a3a6b(0x1ee),_0x31fcd1[_0x31fcd1['TOO_MANY_REQUESTS']=0x8]=_0x1a3a6b(0x363),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x145)]=0x9]=_0x1a3a6b(0x145),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xc0)]=0x1389]=_0x1a3a6b(0xc0),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x23d)]=0x1771]=_0x1a3a6b(0x23d),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x38d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x143)]=0x1773]=_0x1a3a6b(0x143),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x279)]=0x1b59]=_0x1a3a6b(0x279),_0x31fcd1[_0x31fcd1['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x31fcd1[_0x31fcd1['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1a3a6b(0x1bf),_0x31fcd1[_0x31fcd1['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x230)]=0x1b5d]=_0x1a3a6b(0x230),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x13c)]=0x1f41]=_0x1a3a6b(0x13c),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x1e6)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31fcd1[_0x31fcd1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1a3a6b(0x12c),_0x31fcd1[_0x31fcd1['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1a3a6b(0x2be),_0x31fcd1[_0x31fcd1['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1a3a6b(0x9e),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x17e)]=0x232d]=_0x1a3a6b(0x17e),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0xd7)]=0x2711]=_0x1a3a6b(0xd7),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x213)]=0x2712]=_0x1a3a6b(0x213),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x31fcd1[_0x31fcd1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1a3a6b(0x210),_0x31fcd1[_0x31fcd1[_0x1a3a6b(0x29d)]=0x2af9]=_0x1a3a6b(0x29d),_0x31fcd1[_0x31fcd1['UNRECOGNIZED']=-0x1]=_0x1a3a6b(0x123),_0x31fcd1))(Ii||{}),Q=(_0x1126b9=>(_0x1126b9[_0x1126b9['UNIVER_UNKNOWN']=0x0]=_0x1a3a6b(0x245),_0x1126b9[_0x1126b9['UNIVER_DOC']=0x1]=_0x1a3a6b(0xef),_0x1126b9[_0x1126b9[_0x1a3a6b(0x2c4)]=0x2]=_0x1a3a6b(0x2c4),_0x1126b9[_0x1126b9[_0x1a3a6b(0x34f)]=0x3]=_0x1a3a6b(0x34f),_0x1126b9[_0x1126b9[_0x1a3a6b(0xc6)]=0x4]=_0x1a3a6b(0xc6),_0x1126b9[_0x1126b9[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x1126b9))(Q||{}),F=(_0xc48f0=>(_0xc48f0[_0xc48f0[_0x1a3a6b(0x1bc)]=0x0]=_0x1a3a6b(0x1bc),_0xc48f0[_0xc48f0[_0x1a3a6b(0x26f)]=0x1]=_0x1a3a6b(0x26f),_0xc48f0[_0xc48f0[_0x1a3a6b(0x1a5)]=0x2]='JOIN',_0xc48f0[_0xc48f0[_0x1a3a6b(0xcd)]=0x3]=_0x1a3a6b(0xcd),_0xc48f0[_0xc48f0['INGEST']=0x4]=_0x1a3a6b(0x180),_0xc48f0[_0xc48f0[_0x1a3a6b(0x392)]=0x5]=_0x1a3a6b(0x392),_0xc48f0[_0xc48f0[_0x1a3a6b(0xd9)]=0x6]=_0x1a3a6b(0xd9),_0xc48f0[_0xc48f0['UNRECOGNIZED']=-0x1]=_0x1a3a6b(0x123),_0xc48f0))(F||{}),Ee=(_0x33768b=>(_0x33768b[_0x33768b[_0x1a3a6b(0x2d1)]=0x0]=_0x1a3a6b(0x2d1),_0x33768b[_0x33768b['OK']=0x1]='OK',_0x33768b[_0x33768b['FAIL']=0x2]=_0x1a3a6b(0x2fc),_0x33768b[_0x33768b[_0x1a3a6b(0x178)]=0x3e9]='JOIN_ROOM_FULL',_0x33768b[_0x33768b[_0x1a3a6b(0x275)]=0x3ea]=_0x1a3a6b(0x275),_0x33768b[_0x33768b['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x1a3a6b(0x204),_0x33768b[_0x33768b[_0x1a3a6b(0x18c)]=0x3ec]=_0x1a3a6b(0x18c),_0x33768b[_0x33768b[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x33768b))(Ee||{}),Ti=(_0x489df0=>(_0x489df0[_0x489df0[_0x1a3a6b(0x29a)]=0x0]=_0x1a3a6b(0x29a),_0x489df0[_0x489df0[_0x1a3a6b(0x17c)]=0x1]=_0x1a3a6b(0x17c),_0x489df0[_0x489df0[_0x1a3a6b(0x15f)]=0x2]=_0x1a3a6b(0x15f),_0x489df0[_0x489df0[_0x1a3a6b(0x1cb)]=0x3]=_0x1a3a6b(0x1cb),_0x489df0[_0x489df0[_0x1a3a6b(0x2cd)]=0x4]=_0x1a3a6b(0x2cd),_0x489df0[_0x489df0[_0x1a3a6b(0x123)]=-0x1]=_0x1a3a6b(0x123),_0x489df0))(Ti||{});const q=_0x1a3a6b(0x2a7),Wt={};var se=(_0x5df597=>(_0x5df597[_0x1a3a6b(0x15b)]='OTHER_CLIENT_EDITING',_0x5df597['PERMISSION_DENIED']='PERMISSION_DENIED',_0x5df597[_0x1a3a6b(0x34d)]=_0x1a3a6b(0x34d),_0x5df597[_0x1a3a6b(0x2a1)]=_0x1a3a6b(0x2a1),_0x5df597[_0x1a3a6b(0x1f3)]='JOIN_ROOM_FAILED',_0x5df597['SOCKET_FAILED_RETRY']=_0x1a3a6b(0x2aa),_0x5df597[_0x1a3a6b(0xd3)]=_0x1a3a6b(0xd3),_0x5df597['SUBMIT_CHANGESET_TIMEOUT']=_0x1a3a6b(0x359),_0x5df597))(se||{});class pe{constructor(){var _0x46df52=_0x1a3a6b;N(this,_0x46df52(0x2b0),new _0x1b9930()),N(this,_0x46df52(0x1c9),this[_0x46df52(0x2b0)][_0x46df52(0x9d)]());}[_0x1a3a6b(0x2fe)](_0xb7e173){var _0xdfa54b=_0x1a3a6b;this[_0xdfa54b(0x2b0)][_0xdfa54b(0x182)](_0xb7e173);}}const Mn=_0x9ba8fb(_0x1a3a6b(0x22d));function $n(_0x490221){var _0x311e3b=_0x1a3a6b,_0x28f026,_0x34f2bb,_0x5ae6ef,_0x63304,_0x5b9f07;const _0x3b5ac9=_0x490221['data'],_0x52f5b8=JSON[_0x311e3b(0x119)](_0x3b5ac9);switch(_0x52f5b8[_0x311e3b(0x33d)]){case F[_0x311e3b(0x392)]:case F['HELLO']:{const _0x25ac0a=_0x52f5b8[_0x311e3b(0x25c)];return{..._0x52f5b8,'data':_0x25ac0a,'cmd':_0x52f5b8['cmd']};}case F[_0x311e3b(0x1a5)]:{const _0x28cbf9=_0x52f5b8[_0x311e3b(0x1ff)];return{..._0x52f5b8,'data':_0x28cbf9,'cmd':_0x52f5b8[_0x311e3b(0x33d)]};}case F[_0x311e3b(0xd9)]:{const _0x17742e=_0x52f5b8['collaMsg'];switch(_0x17742e[_0x311e3b(0xb3)]){case _0x12854d[_0x311e3b(0x280)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x28f026=_0x17742e[_0x311e3b(0xc3)])==null?void 0x0:_0x28f026['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x162)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x34f2bb=_0x17742e[_0x311e3b(0x262)])==null?void 0x0:_0x34f2bb['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x1c8)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x5ae6ef=_0x17742e[_0x311e3b(0x298)])==null?void 0x0:_0x5ae6ef['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d['CHANGESET_REJ']:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x63304=_0x17742e[_0x311e3b(0x25a)])==null?void 0x0:_0x63304['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0xa1)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':(_0x5b9f07=_0x17742e[_0x311e3b(0x15d)])==null?void 0x0:_0x5b9f07['cs']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x116)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e['updateCursorEvent']},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x17a)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x21a)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x26b)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x327)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x394)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x16f)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x96)]:case _0x12854d[_0x311e3b(0x159)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x331)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x276)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x16f)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d[_0x311e3b(0x120)]:return{..._0x52f5b8,'data':_0x17742e,'cmd':_0x52f5b8['cmd']};case _0x12854d['COMMENT_UPDATE']:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x2fb)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x343)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x2ad)]},'cmd':_0x52f5b8[_0x311e3b(0x33d)]};case _0x12854d['SHOULD_CLOSE_CONN']:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x26c)]},'cmd':_0x52f5b8['cmd']};case _0x12854d[_0x311e3b(0x367)]:return{..._0x52f5b8,'data':{..._0x17742e,'data':_0x17742e[_0x311e3b(0x328)]},'cmd':_0x52f5b8['cmd']};default:return _0x52f5b8;}}default:return _0x52f5b8;}}function Hn(_0x82dcbd){var _0xa5f407=_0x1a3a6b;switch(_0x82dcbd[_0xa5f407(0x33d)]){case F[_0xa5f407(0x392)]:case F[_0xa5f407(0x26f)]:return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd[_0xa5f407(0x33d)],'routeKey':_0x82dcbd[_0xa5f407(0x22f)]});case F[_0xa5f407(0x180)]:{let _0x44ee5d;switch(_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0xb3)]){case _0x12854d[_0xa5f407(0x116)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x116)],'updateCursorEvent':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x26b)]:{_0x44ee5d={'eventID':_0x12854d['USERS_LEAVE'],'leaveEvent':_0x82dcbd['data']['data']};break;}case _0x12854d[_0xa5f407(0x17a)]:{_0x44ee5d={'eventID':_0x12854d['USERS_ENTER'],'joinEvent':_0x82dcbd[_0xa5f407(0x22a)]['data']};break;}case _0x12854d['LIVESHARE_NEW_HOST']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x394)],'liveShareNewHost':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d['LIVESHARE_OPERATION']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x159)],'liveShareOperation':_0x82dcbd['data']['data']};break;}case _0x12854d['LIVESHARE_TERMINATE']:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x276)],'liveShareTerminate':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x1ad)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x1ad)],'liveShareRequestHost':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0x22a)]};break;}case _0x12854d[_0xa5f407(0x96)]:{_0x44ee5d={'eventID':_0x12854d[_0xa5f407(0x96)]};break;}default:_0x44ee5d={'eventID':_0x82dcbd[_0xa5f407(0x22a)][_0xa5f407(0xb3)]};}return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd[_0xa5f407(0x22f)],'collaMsg':_0x44ee5d});}case F[_0xa5f407(0x1a5)]:return JSON['stringify']({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd['routeKey'],'joinReq':_0x82dcbd[_0xa5f407(0x22a)]});case F['LEAVE']:return JSON[_0xa5f407(0x1d1)]({'cmd':_0x82dcbd['cmd'],'routeKey':_0x82dcbd[_0xa5f407(0x22f)],'leaveReq':_0x82dcbd[_0xa5f407(0x22a)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object[_0x1a3a6b(0x1fd)],jn=Object[_0x1a3a6b(0xf3)],Bn=(_0x5073a5,_0x5b29ff,_0x2ded08,_0x32696a)=>{for(var _0x3a1cb7=_0x32696a>0x1?void 0x0:_0x32696a?jn(_0x5b29ff,_0x2ded08):_0x5b29ff,_0x358e1c=_0x5073a5['length']-0x1,_0x2193fb;_0x358e1c>=0x0;_0x358e1c--)(_0x2193fb=_0x5073a5[_0x358e1c])&&(_0x3a1cb7=(_0x32696a?_0x2193fb(_0x5b29ff,_0x2ded08,_0x3a1cb7):_0x2193fb(_0x3a1cb7))||_0x3a1cb7);return _0x32696a&&_0x3a1cb7&&kn(_0x5b29ff,_0x2ded08,_0x3a1cb7),_0x3a1cb7;},Ue=(_0x4a7578,_0x343ecd)=>(_0x1cc721,_0x2a104a)=>_0x343ecd(_0x1cc721,_0x2a104a,_0x4a7578);const Ci=_0x9ba8fb(_0x1a3a6b(0x188));function Fn(_0x2cb8d6,_0x2fe5c5,_0x135605){var _0x16da35=_0x1a3a6b;return _0x2cb8d6+'/'+_0x2fe5c5+_0x16da35(0x17d)+_0x135605+_0x16da35(0x18b);}let Et=class extends _0x15bf0d{constructor(_0x3eda1f,_0x3ca304,_0x2f5ca5,_0xd88ab4,_0x5b4da7){var _0x55f0af=_0x1a3a6b;super(),this[_0x55f0af(0x353)]=_0x3eda1f,this['_http']=_0x3ca304,this['_configService']=_0x2f5ca5,this['_logService']=_0xd88ab4,this[_0x55f0af(0x2df)]=_0x5b4da7;}[_0x1a3a6b(0x369)](_0x425003){var _0x2bec32=_0x1a3a6b;const _0x41c903=this['_injector'][_0x2bec32(0x2f9)](_0x3391fb);if(!_0x41c903)throw new Error(_0x2bec32(0x2d7));const _0x2af3b2=_0x41c903['createSocket'](_0x425003);if(!_0x2af3b2)throw new Error(_0x2bec32(0x32f));const _0x2becd4=new _0x3a4736(),_0x4e4cfb=new _0x1b9930();_0x2becd4['add'](_0x2af3b2[_0x2bec32(0x179)][_0x2bec32(0x175)](_0x2e0895=>_0x4e4cfb['next'](_0x2e0895))),_0x2becd4['add'](_0x19a661(()=>_0x4e4cfb[_0x2bec32(0x37a)]()));const _0x2c6841=new _0x1b9930();_0x2becd4[_0x2bec32(0x360)](_0x2af3b2[_0x2bec32(0x30b)][_0x2bec32(0x175)](_0x1c238e=>_0x2c6841[_0x2bec32(0x182)](_0x1c238e))),_0x2becd4[_0x2bec32(0x360)](_0x19a661(()=>_0x2c6841[_0x2bec32(0x37a)]()));const _0x56e10b=new _0x1b9930();_0x2becd4['add'](_0x2af3b2['message$'][_0x2bec32(0x175)](_0x4c99da=>{var _0x2febb3=_0x2bec32;const _0xda293d=$n(_0x4c99da);_0x56e10b[_0x2febb3(0x182)](_0xda293d);})),_0x2becd4[_0x2bec32(0x360)](_0x19a661(()=>_0x56e10b[_0x2bec32(0x37a)]()));let _0x4e4f7a;const _0x2dabc6=()=>{var _0x181396=_0x2bec32;_0x2c6841[_0x181396(0x182)](new Event('connection\x20error')),_0x4e4cfb[_0x181396(0x182)](new CloseEvent('connection\x20error')),_0x4e4f7a[_0x181396(0x12a)]();};return _0x4e4f7a={'memberID':'','close$':_0x4e4cfb['asObservable'](),'error$':_0x2c6841['asObservable'](),'open$':_0x2af3b2[_0x2bec32(0x308)],'message$':_0x56e10b['asObservable'](),'send':_0x51fe30=>{var _0x238a49=_0x2bec32;if(_0x51fe30['cmd']===F[_0x238a49(0x180)]){if(_0x51fe30[_0x238a49(0x22a)][_0x238a49(0xb3)]===_0x12854d[_0x238a49(0x35c)]){this[_0x238a49(0x109)](_0x4e4f7a,_0x51fe30['data'])[_0x238a49(0x265)](_0x514248=>{var _0x5106a7=_0x238a49;this[_0x5106a7(0x2d8)]['error'](_0x514248),_0x2dabc6();});return;}if(_0x51fe30[_0x238a49(0x22a)][_0x238a49(0xb3)]===_0x12854d[_0x238a49(0x2b7)]){const _0x56e32e=_0x51fe30[_0x238a49(0x22a)];this['_fetchMissChangesets'](_0x56e32e)[_0x238a49(0x20a)](_0xdd3c5e=>{var _0x15ece2=_0x238a49;_0x56e10b[_0x15ece2(0x182)]({'cmd':F[_0x15ece2(0xd9)],'code':Ee['OK'],'routeKey':_0x56e32e['data']['unitID'],'routeType':'','data':{'eventID':_0x12854d['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0xdd3c5e}}});})['catch'](_0x2bbea7=>{this['_logService']['error'](_0x2bbea7),_0x2dabc6();});return;}}_0x2af3b2[_0x238a49(0x174)](Hn(_0x51fe30));},'close':()=>{var _0xd22841=_0x2bec32;_0x2af3b2[_0xd22841(0x12a)](),_0x2becd4[_0xd22841(0xf0)]();}},_0x4e4f7a;}async[_0x1a3a6b(0x109)](_0x29ffa5,_0x4dc596){var _0x59dc7b=_0x1a3a6b,_0xed7c2a,_0x52c3b0;const {unitType:_0x565f21,unitID:_0x51978a,changeset:_0x2332ed}=_0x4dc596[_0x59dc7b(0x22a)],_0x2d89f5={'unitID':_0x51978a,'memberID':_0x29ffa5[_0x59dc7b(0x1b9)],'type':_0x565f21,'changeset':_0x3f1cee(_0x2332ed)},_0x1caff1=this[_0x59dc7b(0x2a4)][_0x59dc7b(0x268)](Un),_0xb1628=this[_0x59dc7b(0x2a4)][_0x59dc7b(0x268)](q),_0xf1a423=Fn((_0x52c3b0=(_0xed7c2a=_0xb1628==null?void 0x0:_0xb1628['collabSubmitChangesetUrl'])!=null?_0xed7c2a:_0x1caff1)!=null?_0x52c3b0:An,_0x565f21,_0x51978a);try{await this[_0x59dc7b(0x283)][_0x59dc7b(0x2a5)](_0xf1a423,{'body':_0x2d89f5});}catch(_0x287f35){throw this[_0x59dc7b(0x2d8)][_0x59dc7b(0x362)](_0x59dc7b(0xc7),'submit\x20changeset\x20error!'),_0x287f35;}}async[_0x1a3a6b(0x17b)](_0x1e3aba){var _0x21fc0a=_0x1a3a6b;const {unitID:_0xbcddd6,from:_0x43b589,to:_0x2f47d9,unitType:_0x46dd6d}=_0x1e3aba[_0x21fc0a(0x22a)];return(await this[_0x21fc0a(0x2df)][_0x21fc0a(0x32d)]({'metadata':void 0x0},{'unitID':_0xbcddd6,'type':_0x46dd6d,'from':_0x43b589,'to':_0x2f47d9}))[_0x21fc0a(0x257)];}};Et=Bn([Ue(0x0,_0x5eebc2(_0x54e9ab)),Ue(0x1,_0x5eebc2(_0x5b5c45)),Ue(0x2,_0x4107ea),Ue(0x3,_0x1ca28b),Ue(0x4,_0x394c8c)],Et);const Vn=_0x1a3a6b(0x2b5);function Gn(_0x4f78b7){var _0x36b160=_0x1a3a6b;return JSON['stringify'](_0x4f78b7)[_0x36b160(0x23f)];}class Ri{constructor(){var _0x1478c7=_0x1a3a6b;N(this,_0x1478c7(0x2b1),new _0x1b9930()),N(this,_0x1478c7(0xd5),this[_0x1478c7(0x2b1)][_0x1478c7(0x9d)]());}[_0x1a3a6b(0x1aa)](_0x5212fd){var _0x2cbfc1=_0x1a3a6b;this[_0x2cbfc1(0x2b1)][_0x2cbfc1(0x182)](_0x5212fd);}}var Wn=Object[_0x1a3a6b(0x1fd)],Kn=Object[_0x1a3a6b(0xf3)],Yn=(_0x1f1398,_0x390b01,_0x83a68,_0x1134fa)=>{for(var _0x43d7c2=_0x1134fa>0x1?void 0x0:_0x1134fa?Kn(_0x390b01,_0x83a68):_0x390b01,_0x1bfd4a=_0x1f1398['length']-0x1,_0x45d48d;_0x1bfd4a>=0x0;_0x1bfd4a--)(_0x45d48d=_0x1f1398[_0x1bfd4a])&&(_0x43d7c2=(_0x1134fa?_0x45d48d(_0x390b01,_0x83a68,_0x43d7c2):_0x45d48d(_0x43d7c2))||_0x43d7c2);return _0x1134fa&&_0x43d7c2&&Wn(_0x390b01,_0x83a68,_0x43d7c2),_0x43d7c2;},Kt=(_0x169974,_0x3130b4)=>(_0x1616b5,_0x2ea57e)=>_0x3130b4(_0x1616b5,_0x2ea57e,_0x169974);let xe=class extends _0x15bf0d{constructor(_0x56f883,_0x446982){var _0x46ce20=_0x1a3a6b;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x1b9930()),(this[_0x46ce20(0x1d5)]=_0x56f883,this['_userManagerService']=_0x446982,this['disposeWithMe'](_0x56378f(this[_0x46ce20(0x1d5)][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0x2c4)])[_0x46ce20(0x114)](_0x15b0db(_0x5508f2=>_0x5508f2[_0x46ce20(0x31c)]())),this['_univerInstanceService'][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0xef)])[_0x46ce20(0x114)](_0x15b0db(_0x224c30=>_0x224c30[_0x46ce20(0x31c)]())),this[_0x46ce20(0x1d5)][_0x46ce20(0x2c3)](_0x520b34[_0x46ce20(0x34f)])[_0x46ce20(0x114)](_0x15b0db(_0x35f0ff=>_0x35f0ff[_0x46ce20(0x31c)]())))[_0x46ce20(0x175)](_0x5cd1f2=>this[_0x46ce20(0x28a)](_0x5cd1f2))));}['waitForRoom$'](_0x68d0cf){var _0x5878f5=_0x1a3a6b;return this[_0x5878f5(0x326)][_0x5878f5(0x239)](_0x68d0cf)?_0x3a6100(this[_0x5878f5(0x326)][_0x5878f5(0x2f9)](_0x68d0cf)):this[_0x5878f5(0x176)]['pipe'](_0x15b0db(_0x5d660a=>{var _0x37aa36=_0x5878f5;if(_0x5d660a===_0x68d0cf)return this[_0x37aa36(0x326)]['get'](_0x5d660a);}));}['setCurrentUser'](_0x4396c5){var _0x86c287=_0x1a3a6b;this[_0x86c287(0x2c8)]['setCurrentUser'](_0x4396c5);}[_0x1a3a6b(0x240)](){var _0x163850=_0x1a3a6b;return this[_0x163850(0x2c8)]['getCurrentUser']();}[_0x1a3a6b(0xae)](_0x2ac332,_0x3e86b1){var _0x2c9a02=_0x1a3a6b;let _0x3ab938=this[_0x2c9a02(0x326)][_0x2c9a02(0x2f9)](_0x2ac332);_0x3ab938||(_0x3ab938=new qn(),this[_0x2c9a02(0x326)][_0x2c9a02(0x389)](_0x2ac332,_0x3ab938),this['_roomCreated$'][_0x2c9a02(0x182)](_0x2ac332)),_0x3ab938[_0x2c9a02(0xae)](_0x3e86b1);}[_0x1a3a6b(0x341)](_0x58c442,_0x13676d){var _0x5f2cc9=_0x1a3a6b;const _0x1e844d=this[_0x5f2cc9(0x326)][_0x5f2cc9(0x2f9)](_0x58c442);_0x1e844d&&_0x1e844d['removeMember'](_0x13676d);}[_0x1a3a6b(0x34a)](_0x541b0c){var _0x10fed9=_0x1a3a6b;return this['_roomMembers'][_0x10fed9(0x2f9)](_0x541b0c);}[_0x1a3a6b(0x13a)](_0x474552,_0x19342f){var _0x196b15=_0x1a3a6b;const _0x19f57f=this[_0x196b15(0x326)][_0x196b15(0x2f9)](_0x474552);if(_0x19f57f)return _0x19f57f['getMember'](_0x19342f);}[_0x1a3a6b(0x28a)](_0x202acc){var _0x4cccf0=_0x1a3a6b;const _0xb01d8c=this[_0x4cccf0(0x326)][_0x4cccf0(0x2f9)](_0x202acc);_0xb01d8c&&(_0xb01d8c[_0x4cccf0(0xf0)](),this[_0x4cccf0(0x326)][_0x4cccf0(0xf4)](_0x202acc));}['dispose'](){var _0xeed98d=_0x1a3a6b;this[_0xeed98d(0x326)]['forEach'](_0x5c3bee=>_0x5c3bee[_0xeed98d(0xf0)]()),this['_roomMembers'][_0xeed98d(0x30d)](),this[_0xeed98d(0x176)]['complete']();}};xe=Yn([Kt(0x0,_0x42a1e9),Kt(0x1,_0x5eebc2(_0x268a30))],xe);class qn extends _0x15bf0d{constructor(){var _0x2d34d0=_0x1a3a6b;super(...arguments),N(this,'_members',new Map()),N(this,_0x2d34d0(0x16b),new _0x5c1b2c(this['_members'])),N(this,_0x2d34d0(0x14a),this[_0x2d34d0(0x16b)][_0x2d34d0(0x9d)]());}['dispose'](){var _0x21c6c8=_0x1a3a6b;this[_0x21c6c8(0x2b3)]['clear']();}[_0x1a3a6b(0xae)](_0x14a5f5){var _0x272eac=_0x1a3a6b;this[_0x272eac(0x2b3)][_0x272eac(0x389)](_0x14a5f5['memberID'],_0x14a5f5),this[_0x272eac(0x2c6)]();}[_0x1a3a6b(0x341)](_0x4cff99){var _0x35716e=_0x1a3a6b;this['_members'][_0x35716e(0xf4)](_0x4cff99);}['getMember'](_0x261d6d){var _0xab8558=_0x1a3a6b;return this['_members'][_0xab8558(0x2f9)](_0x261d6d);}[_0x1a3a6b(0x256)](){var _0x30da07=_0x1a3a6b;return Array[_0x30da07(0x1c5)](this[_0x30da07(0x2b3)][_0x30da07(0xbb)]());}[_0x1a3a6b(0x2c6)](){var _0x427fec=_0x1a3a6b;this['_members$'][_0x427fec(0x182)](this['_members']);}}var zn=Object[_0x1a3a6b(0x1fd)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x489317,_0x1ff525,_0x2594e5,_0x582602)=>{var _0x4ac33e=_0x1a3a6b;for(var _0xd5de5b=_0x582602>0x1?void 0x0:_0x582602?Jn(_0x1ff525,_0x2594e5):_0x1ff525,_0x8fe2a=_0x489317[_0x4ac33e(0x23f)]-0x1,_0x3c2500;_0x8fe2a>=0x0;_0x8fe2a--)(_0x3c2500=_0x489317[_0x8fe2a])&&(_0xd5de5b=(_0x582602?_0x3c2500(_0x1ff525,_0x2594e5,_0xd5de5b):_0x3c2500(_0xd5de5b))||_0xd5de5b);return _0x582602&&_0xd5de5b&&zn(_0x1ff525,_0x2594e5,_0xd5de5b),_0xd5de5b;},me=(_0x495189,_0x5a4a6d)=>(_0xb1d35e,_0x346d1d)=>_0x5a4a6d(_0xb1d35e,_0x346d1d,_0x495189),Te=(_0x3bac8a=>(_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x318)]=0x0]=_0x1a3a6b(0x318),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x136)]=0x1]=_0x1a3a6b(0x136),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0x1dc)]=0x2]=_0x1a3a6b(0x1dc),_0x3bac8a[_0x3bac8a[_0x1a3a6b(0xe1)]=0x3]=_0x1a3a6b(0xe1),_0x3bac8a))(Te||{});const Yt={[Ee[_0x1a3a6b(0x2fc)]]:_0x1a3a6b(0x11a),[Ee[_0x1a3a6b(0x178)]]:_0x1a3a6b(0xa5),[Ee[_0x1a3a6b(0x275)]]:_0x1a3a6b(0x2d3),[Ee[_0x1a3a6b(0x204)]]:_0x1a3a6b(0x215),[Ee[_0x1a3a6b(0x18c)]]:_0x1a3a6b(0x39b)};let It=class extends _0x20578d{constructor(_0x3d4cf4,_0x1e883b,_0x4b0eb6,_0xd86e0a,_0x3d04ad,_0x4e1fa9,_0x3a54d4,_0x4a0456,_0xf81041){var _0x221047=_0x1a3a6b;super(),N(this,_0x221047(0x345),new _0x5c1b2c(0x0)),N(this,_0x221047(0x28e),this[_0x221047(0x345)][_0x221047(0x9d)]()),N(this,_0x221047(0x2b0),new _0x1b9930()),N(this,'event$',this[_0x221047(0x2b0)]['asObservable']()),N(this,_0x221047(0x137)),N(this,_0x221047(0x2ff)),N(this,'_collaborationTimeoutTimer'),N(this,_0x221047(0x2e5),!0x1),N(this,_0x221047(0x9f),null),(this[_0x221047(0x339)]=_0x3d4cf4,this['_logService']=_0x4b0eb6,this['_configService']=_0xd86e0a,this[_0x221047(0x16c)]=_0x3d04ad,this['_memberService']=_0x4e1fa9,this['_commentService']=_0x3a54d4,this[_0x221047(0x354)]=_0x4a0456,this[_0x221047(0x189)]=_0xf81041,this[_0x221047(0x2e5)]=!!this[_0x221047(0x189)],_0x1e883b['pipe'](_0x1131f9(this['dispose$']))['subscribe'](_0x4a1351=>{var _0x5c872e=_0x221047,_0x4168b7;typeof _0x4a1351>'u'||(this['_socket']=_0x4a1351,_0x4a1351?(this[_0x5c872e(0x251)](_0x4a1351),this['_socketMessageSubscription']=_0x4a1351[_0x5c872e(0x1ab)][_0x5c872e(0x175)](_0xb99ed4=>{var _0x3862c7=_0x5c872e;_0xb99ed4['routeKey']===this[_0x3862c7(0x339)]&&this[_0x3862c7(0x247)](_0xb99ed4);})):(this[_0x5c872e(0x253)](),this[_0x5c872e(0x345)][_0x5c872e(0x182)](0x2),(_0x4168b7=this['_socketMessageSubscription'])==null||_0x4168b7[_0x5c872e(0xfc)](),this[_0x5c872e(0x2ff)]=null));}));}get[_0x1a3a6b(0x167)](){var _0x37b5bf=_0x1a3a6b;return this[_0x37b5bf(0x345)][_0x37b5bf(0x19e)]();}[_0x1a3a6b(0xa9)](){var _0x652c99=_0x1a3a6b,_0x3e0ec0,_0x11a5bb;return(_0x11a5bb=(_0x3e0ec0=this[_0x652c99(0x137)])==null?void 0x0:_0x3e0ec0[_0x652c99(0x1b9)])!=null?_0x11a5bb:null;}[_0x1a3a6b(0xf0)](){var _0x48552a=_0x1a3a6b;super['dispose'](),this[_0x48552a(0x15a)][_0x48552a(0x182)](),this[_0x48552a(0x15a)][_0x48552a(0x37a)]();}[_0x1a3a6b(0x12a)](){var _0x4acfe4=_0x1a3a6b,_0x3bba24,_0x1b6feb;this[_0x4acfe4(0x253)](),(_0x3bba24=this[_0x4acfe4(0x137)])==null||_0x3bba24['send']({'cmd':F[_0x4acfe4(0xcd)],'data':{'roomID':this[_0x4acfe4(0x339)]}}),(_0x1b6feb=this['_socket'])==null||_0x1b6feb[_0x4acfe4(0x12a)](),this[_0x4acfe4(0x2b0)][_0x4acfe4(0x37a)](),this[_0x4acfe4(0x345)][_0x4acfe4(0x37a)](),this[_0x4acfe4(0xf0)]();}[_0x1a3a6b(0x247)](_0x2a64bf){var _0x2e9d88=_0x1a3a6b;_0x2a64bf['cmd']===F['JOIN']?this[_0x2e9d88(0x2f3)](_0x2a64bf):_0x2a64bf[_0x2e9d88(0x33d)]===F['RECV']&&this[_0x2e9d88(0x153)](_0x2a64bf);}[_0x1a3a6b(0x251)](_0x415583){var _0x5bbfb1=_0x1a3a6b;this['_sessionStatus$'][_0x5bbfb1(0x182)](0x1),_0x415583[_0x5bbfb1(0x174)]({'cmd':F[_0x5bbfb1(0x1a5)],'routeKey':this[_0x5bbfb1(0x339)],'routeType':'','data':{'rooms':[{'roomID':this[_0x5bbfb1(0x339)]}]}});}[_0x1a3a6b(0x2f3)](_0x3b942d){var _0x4b9ba6=_0x1a3a6b,_0x1bfe15;if(_0x3b942d['code']in Yt){this[_0x4b9ba6(0x354)]['emitEvent']({'id':se[_0x4b9ba6(0x1f3)],'data':Yt[_0x3b942d[_0x4b9ba6(0x242)]]}),this['_sessionStatus$'][_0x4b9ba6(0x182)](0x2);return;}this['_sessionStatus$'][_0x4b9ba6(0x182)](0x3);const _0x11bbf4=(_0x1bfe15=_0x3b942d['data'][_0x4b9ba6(0x2bc)][this[_0x4b9ba6(0x339)]])==null?void 0x0:_0x1bfe15[_0x4b9ba6(0x217)];_0x11bbf4&&_0x11bbf4[_0x4b9ba6(0x33c)](_0x294fc2=>this[_0x4b9ba6(0xb9)][_0x4b9ba6(0xae)](this[_0x4b9ba6(0x339)],_0x294fc2));}['_onRecvEvent'](_0x1672e6){var _0x48723a=_0x1a3a6b;try{const _0x46b9cd=_0x1672e6[_0x48723a(0x22a)];switch(_0x46b9cd['eventID']){case _0x12854d[_0x48723a(0x17a)]:this['_onUserJoin'](_0x46b9cd),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x26b)]:this[_0x48723a(0x22c)](_0x46b9cd),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x162)]:case _0x12854d[_0x48723a(0xa1)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x48723a(0x336)](),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0x120)]:this[_0x48723a(0x2d8)]['error'](_0x48723a(0xb6)+JSON[_0x48723a(0x1d1)](_0x46b9cd)),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;case _0x12854d[_0x48723a(0xa0)]:this[_0x48723a(0x222)]['onCommentUpdate'](_0x46b9cd['data']),this[_0x48723a(0x2b0)][_0x48723a(0x182)](_0x46b9cd);break;default:this['_event$'][_0x48723a(0x182)](_0x46b9cd);}}catch(_0x19e5a9){this[_0x48723a(0x2d8)][_0x48723a(0x362)](_0x19e5a9,_0x1672e6);}}[_0x1a3a6b(0x133)](_0x454130){var _0x3ef302=_0x1a3a6b;this[_0x3ef302(0xb9)][_0x3ef302(0xae)](this['_unitID'],_0x454130['data']);}[_0x1a3a6b(0x22c)](_0x113e9a){var _0x25b61c=_0x1a3a6b;this[_0x25b61c(0xb9)]['removeMember'](this[_0x25b61c(0x339)],_0x113e9a[_0x25b61c(0x22a)]['memberID']);}async[_0x1a3a6b(0x174)](_0x2b702b,_0x4fac1a){var _0x424052=_0x1a3a6b;if(this[_0x424052(0x167)]!==0x3||!this[_0x424052(0x137)])throw new Error(_0x424052(0x25f));try{_0x2b702b[_0x424052(0xb3)]===_0x12854d[_0x424052(0x35c)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x424052(0x16d)](_0x2b702b)),this[_0x424052(0x137)][_0x424052(0x174)]({'cmd':F[_0x424052(0x180)],'routeKey':_0x4fac1a,'routeType':'','data':_0x2b702b});}catch(_0x4ac8e4){this[_0x424052(0x2d8)]['error'](_0x4ac8e4);}}[_0x1a3a6b(0x1d3)](){var _0x57bd7f=_0x1a3a6b,_0x597d31;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x3ee4a6=_0x2c36;this[_0x3ee4a6(0x27f)]=null,this['_collaborationUIEventService'][_0x3ee4a6(0x2fe)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x597d31=this[_0x57bd7f(0x2a4)][_0x57bd7f(0x268)](Si))!=null?_0x597d31:Ei);}[_0x1a3a6b(0x336)](){var _0x1888e9=_0x1a3a6b;this[_0x1888e9(0x27f)]&&(clearTimeout(this[_0x1888e9(0x27f)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x1d7762){var _0x1d6cf9=_0x1a3a6b;if(!this[_0x1d6cf9(0x2e5)])return;const {data:_0x466260}=_0x1d7762,{unitID:_0x45e651,changeset:_0x40810b}=_0x466260,{mutations:_0x1e7c58,type:_0x43bc21}=_0x40810b;this[_0x1d6cf9(0x9f)]={'unitId':_0x45e651,'type':_0x43bc21,'startTime':performance[_0x1d6cf9(0xe4)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x1e7c58)};}[_0x1a3a6b(0x34e)](){var _0xa148dd=_0x1a3a6b;if(this[_0xa148dd(0x2e5)]){if(!this[_0xa148dd(0x9f)]){this['_logService']['error']('[CollaborationSession]','telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0xa148dd(0x9f)][_0xa148dd(0x1ce)]=performance[_0xa148dd(0xe4)](),this[_0xa148dd(0x9f)][_0xa148dd(0xf1)]=this[_0xa148dd(0x9f)]['stopTime']-this[_0xa148dd(0x9f)][_0xa148dd(0x193)],this[_0xa148dd(0x189)][_0xa148dd(0x31b)](Vn,this['_telemetryInfo']),this[_0xa148dd(0x9f)]=null;}}[_0x1a3a6b(0x253)](){var _0x58da05=_0x1a3a6b;this[_0x58da05(0x9f)]=null;}};It=Xn([me(0x2,_0x1ca28b),me(0x3,_0x4107ea),me(0x4,_0x5eebc2(_0x3c43d2)),me(0x5,_0x5eebc2(xe)),me(0x6,_0x5eebc2(Ri)),me(0x7,_0x5eebc2(pe)),me(0x8,_0x27b19f(_0x5787a1))],It);var Zn=Object['defineProperty'],Qn=Object[_0x1a3a6b(0xf3)],er=(_0x1a258e,_0x473fff,_0x48dd6f,_0x2960b4)=>{var _0x1fd433=_0x1a3a6b;for(var _0x4fe3d5=_0x2960b4>0x1?void 0x0:_0x2960b4?Qn(_0x473fff,_0x48dd6f):_0x473fff,_0x45278f=_0x1a258e[_0x1fd433(0x23f)]-0x1,_0x91ef7c;_0x45278f>=0x0;_0x45278f--)(_0x91ef7c=_0x1a258e[_0x45278f])&&(_0x4fe3d5=(_0x2960b4?_0x91ef7c(_0x473fff,_0x48dd6f,_0x4fe3d5):_0x91ef7c(_0x4fe3d5))||_0x4fe3d5);return _0x2960b4&&_0x4fe3d5&&Zn(_0x473fff,_0x48dd6f,_0x4fe3d5),_0x4fe3d5;},ge=(_0x3fc69c,_0x11ab50)=>(_0x4c4545,_0x4a2238)=>_0x11ab50(_0x4c4545,_0x4a2238,_0x3fc69c);let Le=class extends _0x15bf0d{constructor(_0x2dcbe0,_0x28bc26,_0x465b66,_0x24efd4,_0x484825,_0x38b3db,_0x43aac6){var _0x1632e3=_0x1a3a6b;super(),N(this,_0x1632e3(0x291),new _0x5c1b2c(void 0x0)),N(this,_0x1632e3(0x2a6),this[_0x1632e3(0x291)][_0x1632e3(0x9d)]()),N(this,_0x1632e3(0x32b),null),N(this,_0x1632e3(0x1a4),new Map()),N(this,'_status$',new _0x5c1b2c(Te[_0x1632e3(0x318)])),N(this,'status$',this[_0x1632e3(0x135)]['asObservable']()),N(this,_0x1632e3(0xee),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x1632e3(0xf6),0x0),N(this,_0x1632e3(0x33f)),N(this,_0x1632e3(0xb0)),(this[_0x1632e3(0x353)]=_0x2dcbe0,this[_0x1632e3(0x2d8)]=_0x28bc26,this[_0x1632e3(0x2a4)]=_0x465b66,this['_socketService']=_0x24efd4,this[_0x1632e3(0xd8)]=_0x484825,this[_0x1632e3(0x354)]=_0x38b3db,this[_0x1632e3(0x1d7)]=_0x43aac6,this['_listenToNetworkCondition']());}get[_0x1a3a6b(0x137)](){var _0x91c91a=_0x1a3a6b;return this['_socket$'][_0x91c91a(0x19e)]();}[_0x1a3a6b(0x2c9)](){var _0x12f270=_0x1a3a6b;this['_networkConditionService']&&this[_0x12f270(0x375)](this[_0x12f270(0x1d7)][_0x12f270(0xbd)][_0x12f270(0x175)](_0x427d44=>{var _0x4cc642=_0x12f270;_0x427d44&&!this['_socket']&&this[_0x4cc642(0x24a)](),_0x427d44||this[_0x4cc642(0x1df)]();}));}[_0x1a3a6b(0xf0)](){var _0x5528a2=_0x1a3a6b;super[_0x5528a2(0xf0)](),this[_0x5528a2(0x1a4)][_0x5528a2(0x33c)](_0x3efed8=>_0x3efed8[_0x5528a2(0xf0)]()),this['_sessions']['clear'](),this[_0x5528a2(0x135)][_0x5528a2(0x37a)]();}async['requireSession'](_0xe243f){var _0x410d0d=_0x1a3a6b;if(this[_0x410d0d(0x1a4)][_0x410d0d(0x239)](_0xe243f))return this['_sessions'][_0x410d0d(0x2f9)](_0xe243f);this['_tryEnsureSocket']();const _0x66117c=this[_0x410d0d(0x353)]['createInstance'](It,_0xe243f,this['_socket$'][_0x410d0d(0x9d)]());return this['_sessions'][_0x410d0d(0x389)](_0xe243f,_0x66117c),_0x66117c;}[_0x1a3a6b(0x35b)](_0x598413){var _0x37fa77=_0x1a3a6b,_0xabdf3c;const _0x1478b7=this['_sessions'][_0x37fa77(0x2f9)](_0x598413);_0x1478b7&&(this[_0x37fa77(0x1a4)][_0x37fa77(0xf4)](_0x598413),_0x1478b7[_0x37fa77(0x12a)]()),this['_sessions'][_0x37fa77(0x225)]||(_0xabdf3c=this['_socket'])==null||_0xabdf3c['close']();}[_0x1a3a6b(0x24a)](){var _0x13ec57=_0x1a3a6b;this['_retryCount']=0x0,this[_0x13ec57(0x38e)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x13ec57(0x38e)]=null),this['_tryReconnect']();}async[_0x1a3a6b(0x2b4)](){var _0x4405b4=_0x1a3a6b,_0x3b4161,_0x5a0579,_0x4a8b5d;const _0xaccf1f=this[_0x4405b4(0x2a4)][_0x4405b4(0x268)](q),_0x23a7b2=(_0x3b4161=_0xaccf1f==null?void 0x0:_0xaccf1f[_0x4405b4(0x1c7)])!=null?_0x3b4161:On;return(_0x4a8b5d=(_0x5a0579=(await this['_httpService']['get'](_0x23a7b2,{'headers':{'Content-Type':_0x4405b4(0x216)}}))[_0x4405b4(0x186)])==null?void 0x0:_0x5a0579[_0x4405b4(0x260)])!=null?_0x4a8b5d:'';}[_0x1a3a6b(0x1ae)](_0x65e444){var _0x24d7bb=_0x1a3a6b,_0x42789f,_0x41c61c;const _0x27cb46=this['_configService'][_0x24d7bb(0x268)](Rn),_0xf944cb=this['_configService'][_0x24d7bb(0x268)](q),_0x125a11=(_0x41c61c=(_0x42789f=_0xf944cb==null?void 0x0:_0xf944cb[_0x24d7bb(0xd0)])!=null?_0x42789f:_0x27cb46)!=null?_0x41c61c:bn,_0x3453c2=typeof window>'u'?new URL(_0x125a11):new URL(_0x125a11,window['location']['origin']);_0x3453c2[_0x24d7bb(0x194)][_0x24d7bb(0x389)](_0x24d7bb(0x1d8),_0x65e444);const _0x3c422c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x24d7bb(0x11e)][_0x24d7bb(0x161)]);return _0x3c422c[_0x24d7bb(0x2f9)](_0x24d7bb(0x181))&&_0x3453c2[_0x24d7bb(0x194)][_0x24d7bb(0x389)](_0x24d7bb(0x181),_0x3c422c[_0x24d7bb(0x2f9)](_0x24d7bb(0x181))),_0x3453c2[_0x24d7bb(0x377)]();}async[_0x1a3a6b(0x1e9)](){var _0x37747d=_0x1a3a6b;const _0x92c77b=await this['_getSessionTicket'](),_0x43f01e=this[_0x37747d(0x1ae)](_0x92c77b),_0x8e2769=this[_0x37747d(0x18d)][_0x37747d(0x369)](_0x43f01e);return this[_0x37747d(0x32b)]=_0x8e2769,_0x8e2769;}async['_tryEnsureSocket'](){var _0x430ea9=_0x1a3a6b,_0xeaf8cb,_0x52ac25;try{const _0x1ff605=(_0x52ac25=(_0xeaf8cb=this[_0x430ea9(0x137)])!=null?_0xeaf8cb:this[_0x430ea9(0x32b)])!=null?_0x52ac25:await this[_0x430ea9(0x1e9)]();if(_0x1ff605){const _0x65a82d=_0x1ff605['send'];_0x1ff605[_0x430ea9(0x174)]=_0x6e6404=>(this[_0x430ea9(0xa3)](),_0x65a82d[_0x430ea9(0x12e)](_0x1ff605,[_0x6e6404])),_0x1ff605[_0x430ea9(0x1ab)]['subscribe'](_0x4f2080=>this[_0x430ea9(0x201)](_0x1ff605,_0x4f2080)),_0x1ff605[_0x430ea9(0x30b)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](_0x17f0c6=>this[_0x430ea9(0x2d8)][_0x430ea9(0x362)](_0x430ea9(0x10b),_0x17f0c6)),_0x1ff605[_0x430ea9(0x308)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](()=>{var _0x5350c7=_0x430ea9;this[_0x5350c7(0x2c5)](_0x1ff605);}),_0x1ff605[_0x430ea9(0x179)][_0x430ea9(0x114)](_0x67184a(0x1))[_0x430ea9(0x175)](_0x5ae4ab=>{var _0x4713e0=_0x430ea9;this[_0x4713e0(0x2d8)]['debug'](_0x4713e0(0x1a8),_0x4713e0(0x397),_0x5ae4ab),this[_0x4713e0(0x1bd)]();});}}catch(_0xbdab1){this[_0x430ea9(0x2d8)][_0x430ea9(0x362)](_0xbdab1),this[_0x430ea9(0x1bd)]();}}[_0x1a3a6b(0x2c5)](_0x523c1b){var _0x1864db=_0x1a3a6b;this['_logService']['debug']('[CollaborationSessionService]','socket\x20open.'),_0x523c1b[_0x1864db(0x174)]({'cmd':F[_0x1864db(0x26f)]}),this[_0x1864db(0xa3)]();}[_0x1a3a6b(0x1df)](){var _0x4c40c1=_0x1a3a6b;this[_0x4c40c1(0xee)]=!0x1,this[_0x4c40c1(0x32b)]=null,this['_status$'][_0x4c40c1(0x182)](Te[_0x4c40c1(0x1dc)]),this[_0x4c40c1(0x291)][_0x4c40c1(0x182)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x1a3a6b(0x1bd)](){var _0x53c1aa=_0x1a3a6b,_0x22fa86;this[_0x53c1aa(0x1df)](),this['_retryCount']<((_0x22fa86=this['_configService'][_0x53c1aa(0x268)](Pn))!=null?_0x22fa86:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se[_0x53c1aa(0x2aa)]}),this[_0x53c1aa(0x390)]()):this[_0x53c1aa(0x354)][_0x53c1aa(0x2fe)]({'id':se[_0x53c1aa(0xd3)]});}['_tryReconnect'](){var _0x1bd781=_0x1a3a6b,_0x426762;const _0x15a8cf=this[_0x1bd781(0xf6)],_0x443815=this[_0x1bd781(0x2a4)][_0x1bd781(0x268)](q),_0xfb447d=_0x15a8cf===0x0?0x0:((_0x426762=_0x443815==null?void 0x0:_0x443815[_0x1bd781(0x149)])!=null?_0x426762:Dn)*0x2**_0x15a8cf;this['_retryConnectingTimer']=setTimeout(()=>{var _0x387bb1=_0x1bd781;clearTimeout(this[_0x387bb1(0x38e)]),this['_retryConnectingTimer']=null,this[_0x387bb1(0x2c7)]();},_0xfb447d),this['_retryCount']+=0x1;}[_0x1a3a6b(0x201)](_0x275555,_0x25abb1){var _0x1c77fd=_0x1a3a6b;const {cmd:_0x57aa95}=_0x25abb1;_0x57aa95===F[_0x1c77fd(0x26f)]&&!this[_0x1c77fd(0xee)]&&(_0x275555[_0x1c77fd(0x1b9)]=_0x25abb1[_0x1c77fd(0x22a)][_0x1c77fd(0x1b9)],this['_socket$'][_0x1c77fd(0x182)](_0x275555),this[_0x1c77fd(0x135)][_0x1c77fd(0x182)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0x1c77fd(0x32b)]=null),_0x57aa95===F[_0x1c77fd(0x392)]&&this['_clearTimeoutTimer'](),this[_0x1c77fd(0xa3)]();}[_0x1a3a6b(0xa3)](){var _0x250444=_0x1a3a6b,_0x42d9e9;this[_0x250444(0x1b5)](),this[_0x250444(0x33f)]=setTimeout(()=>this[_0x250444(0x34b)](),(_0x42d9e9=this['_configService'][_0x250444(0x268)](yn))!=null?_0x42d9e9:Nn);}['_sendHeartbeat'](){var _0x5687dd=_0x1a3a6b;this[_0x5687dd(0x137)][_0x5687dd(0x174)]({'cmd':F[_0x5687dd(0x392)]}),this[_0x5687dd(0x310)]();}['_waitForHeartbeatResponse'](){var _0x3ac78d=_0x1a3a6b,_0x10dcaf;this[_0x3ac78d(0xb0)]=setTimeout(()=>this[_0x3ac78d(0x1bd)](),(_0x10dcaf=this['_configService'][_0x3ac78d(0x268)](Si))!=null?_0x10dcaf:Ei);}[_0x1a3a6b(0x1b5)](){var _0x54bb50=_0x1a3a6b;this[_0x54bb50(0x33f)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x54bb50(0x33f)]=null);}[_0x1a3a6b(0x139)](){var _0x2ca514=_0x1a3a6b;this[_0x2ca514(0xb0)]!=null&&(clearTimeout(this[_0x2ca514(0xb0)]),this[_0x2ca514(0xb0)]=null);}};Le=er([ge(0x0,_0x5eebc2(_0x54e9ab)),ge(0x1,_0x1ca28b),ge(0x2,_0x4107ea),ge(0x3,Ci),ge(0x4,_0x5eebc2(_0x5b5c45)),ge(0x5,_0x5eebc2(pe)),ge(0x6,_0x27b19f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1a3a6b(0x126)]((n+0x100)[_0x1a3a6b(0x377)](0x10)[_0x1a3a6b(0x337)](0x1));function tr(_0x4aaf4f,_0xe8426=0x0){var _0x11f26e=_0x1a3a6b;return(V[_0x4aaf4f[_0xe8426+0x0]]+V[_0x4aaf4f[_0xe8426+0x1]]+V[_0x4aaf4f[_0xe8426+0x2]]+V[_0x4aaf4f[_0xe8426+0x3]]+'-'+V[_0x4aaf4f[_0xe8426+0x4]]+V[_0x4aaf4f[_0xe8426+0x5]]+'-'+V[_0x4aaf4f[_0xe8426+0x6]]+V[_0x4aaf4f[_0xe8426+0x7]]+'-'+V[_0x4aaf4f[_0xe8426+0x8]]+V[_0x4aaf4f[_0xe8426+0x9]]+'-'+V[_0x4aaf4f[_0xe8426+0xa]]+V[_0x4aaf4f[_0xe8426+0xb]]+V[_0x4aaf4f[_0xe8426+0xc]]+V[_0x4aaf4f[_0xe8426+0xd]]+V[_0x4aaf4f[_0xe8426+0xe]]+V[_0x4aaf4f[_0xe8426+0xf]])[_0x11f26e(0x2bd)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x30539e=_0x1a3a6b;if(!ut){if(typeof crypto>'u'||!crypto[_0x30539e(0x311)])throw new Error(_0x30539e(0x18e));ut=crypto[_0x30539e(0x311)][_0x30539e(0x31e)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto['randomUUID'][_0x1a3a6b(0x31e)](crypto),qt={'randomUUID':rr};function sr(_0x2965d2,_0x1be1ee,_0x4cb4a1){var _0x4b9552=_0x1a3a6b,_0x517c8b,_0x596841,_0x400d4e;if(qt[_0x4b9552(0x2cc)]&&!_0x2965d2)return qt[_0x4b9552(0x2cc)]();_0x2965d2=_0x2965d2||{};const _0x1a426b=(_0x400d4e=(_0x596841=_0x2965d2['random'])!=null?_0x596841:(_0x517c8b=_0x2965d2[_0x4b9552(0x285)])==null?void 0x0:_0x517c8b[_0x4b9552(0x106)](_0x2965d2))!=null?_0x400d4e:nr();if(_0x1a426b[_0x4b9552(0x23f)]<0x10)throw new Error(_0x4b9552(0x2fd));return _0x1a426b[0x6]=_0x1a426b[0x6]&0xf|0x40,_0x1a426b[0x8]=_0x1a426b[0x8]&0x3f|0x80,tr(_0x1a426b);}const J=_0x9ba8fb(_0x1a3a6b(0xfb));function so(_0x4247b5){var _0x40d2ec=_0x1a3a6b;return _0x40d2ec(0x307)+_0x4247b5;}var or=Object[_0x1a3a6b(0x1fd)],ar=Object[_0x1a3a6b(0xf3)],cr=(_0x3753a2,_0x4740eb,_0x297f71,_0x5e587b)=>{for(var _0x318976=_0x5e587b>0x1?void 0x0:_0x5e587b?ar(_0x4740eb,_0x297f71):_0x4740eb,_0x29d0f9=_0x3753a2['length']-0x1,_0x8a94be;_0x29d0f9>=0x0;_0x29d0f9--)(_0x8a94be=_0x3753a2[_0x29d0f9])&&(_0x318976=(_0x5e587b?_0x8a94be(_0x4740eb,_0x297f71,_0x318976):_0x8a94be(_0x318976))||_0x318976);return _0x5e587b&&_0x318976&&or(_0x4740eb,_0x297f71,_0x318976),_0x318976;},dt=(_0x56da1a,_0x1a2240)=>(_0x34d75b,_0x40cb2b)=>_0x1a2240(_0x34d75b,_0x40cb2b,_0x56da1a);function hr(_0x3476f6){var _0x1565e0=_0x1a3a6b;const {unitID:_0x7b198b,mutations:_0x55ff57}=_0x3476f6;return{'unitId':_0x7b198b,'subUnitId':_0x55ff57[0x0][_0x1565e0(0x1ed)]['subUnitId']};}let it=class{constructor(_0x4d0f25,_0x3d94f7,_0x26658e){var _0x3a0a73=_0x1a3a6b;this[_0x3a0a73(0x353)]=_0x4d0f25,this[_0x3a0a73(0x286)]=_0x3d94f7,this[_0x3a0a73(0x36c)]=_0x26658e;}[_0x1a3a6b(0x197)](_0x183f04){var _0x5c7c60=_0x1a3a6b,_0x162bf7,_0x27efba,_0x2074d3,_0x54d7c2;const _0x45cb21=this[_0x5c7c60(0x353)][_0x5c7c60(0x2f9)](_0x299d1f),{unitId:_0x12a77d,subUnitId:_0x43b09d}=hr(_0x183f04),_0x374296=_0x45cb21==null?void 0x0:_0x45cb21[_0x5c7c60(0x191)](_0x12a77d)[_0x5c7c60(0xaa)](),_0x27d1a2=(_0x27efba=(_0x162bf7=this[_0x5c7c60(0x36c)][_0x5c7c60(0x317)](_0x12a77d))==null?void 0x0:_0x162bf7[_0x5c7c60(0x158)]())==null?void 0x0:_0x27efba[_0x5c7c60(0x1d9)]();if(_0x374296[_0x5c7c60(0x23f)]===0x0||!_0x12a77d||!_0x43b09d)return;const _0x9884f9=[{'id':_0x1ac112['id'],'params':{'unitId':_0x12a77d,'subUnitId':_0x27d1a2,'selections':_0x282cb2['deepClone'](_0x374296)}}],_0x2b68e6=this[_0x5c7c60(0x286)]['transformMutationsWithChangeset'](_0x183f04,_0x9884f9);if(!_0x52e85a(_0x2b68e6))throw _0x2b68e6[_0x5c7c60(0x362)];const _0x4f380e=(_0x54d7c2=(_0x2074d3=_0x2b68e6[_0x5c7c60(0x2dd)][0x0])==null?void 0x0:_0x2074d3[_0x5c7c60(0x1ed)])==null?void 0x0:_0x54d7c2['selections'];if(Array[_0x5c7c60(0x28d)](_0x4f380e)&&_0x4f380e[_0x5c7c60(0x23f)]){if(_0x4f380e[_0x5c7c60(0x23f)]===_0x9884f9[0x0]['params'][_0x5c7c60(0x130)][_0x5c7c60(0x23f)]&&_0x4f380e[_0x5c7c60(0x1b0)]((_0x2a395a,_0x2cd64d)=>_0x57aa7b[_0x5c7c60(0x264)](_0x2a395a['range'],_0x9884f9[0x0][_0x5c7c60(0x1ed)]['selections'][_0x2cd64d][_0x5c7c60(0x36a)])))return;this[_0x5c7c60(0x353)]['get'](_0x572fdd)['executeCommand'](_0x1ac112['id'],{'unitId':_0x12a77d,'subUnitId':_0x27d1a2,'selections':_0x4f380e});}}};it=cr([dt(0x0,_0x5eebc2(_0x54e9ab)),dt(0x1,_0x2b6404),dt(0x2,_0x42a1e9)],it);const ht=_0x9ba8fb(_0x1a3a6b(0x2e4));var bi=(_0x459ab3=>(_0x459ab3[_0x459ab3[_0x1a3a6b(0x2a2)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x459ab3[_0x459ab3[_0x1a3a6b(0x266)]=0x1]='OTHER_CLIENTS_EDITING',_0x459ab3))(bi||{});const _r=new Set([_0x4ae0ea['id']]);function zt(_0x4f2474,_0x41fae3,_0x525d8b,_0x44bb61,_0x5ee705){var _0x17e79=_0x1a3a6b,_0x5b0d01,_0x1e5b12,_0x39881e,_0x59e763;const _0x8776d=[];for(const _0x4eabf0 of _0x4f2474)if(_r[_0x17e79(0x239)](_0x4eabf0['id'])){if(_0x8776d['length']>0x0)break;_0x8776d[_0x17e79(0x126)](_0x4eabf0);break;}else _0x8776d['push'](_0x4eabf0);const _0x862880=(_0x1e5b12=(_0x5b0d01=_0x5ee705[_0x17e79(0x240)]())==null?void 0x0:_0x5b0d01[_0x17e79(0x2b2)])!=null?_0x1e5b12:_0x17e79(0x370),_0x353356=(_0x59e763=(_0x39881e=_0x5ee705[_0x17e79(0x240)]())==null?void 0x0:_0x39881e[_0x17e79(0x1b9)])!=null?_0x59e763:'unknown';return{'changeset':{'unitID':_0x41fae3,'type':_0x374c9f(_0x525d8b[_0x17e79(0x37d)](_0x41fae3)),'baseRev':_0x44bb61[_0x17e79(0x166)](_0x41fae3),'revision':0x0,'userID':_0x862880,'memberID':_0x353356,'mutations':_0x8776d},'pendingMutations':_0x4f2474[_0x17e79(0x337)](_0x8776d['length'])};}function lr(_0x4aafaf,_0x273e25,_0x187a66,_0x40b942,_0x344584){var _0x2ce3fc=_0x1a3a6b,_0x3a9993,_0xe65eb,_0x408e5b,_0x5d0047;const _0x552fb4=[_0x4aafaf[_0x2ce3fc(0x321)]((_0x55cdb0,_0x3c387d)=>{var _0x513e96=_0x2ce3fc,_0x5cab22;const {id:_0x5ad902}=_0x55cdb0,{id:_0x44eba0,type:_0x133b4f}=_0x3c387d,_0x253af2=(_0x5cab22=_0x55cdb0[_0x513e96(0x1ed)])!=null?_0x5cab22:{'actions':null},_0x35c486=_0x3c387d['params'];if(_0x5ad902&&_0x5ad902!==_0x44eba0)throw new Error(_0x513e96(0xec)+_0x5ad902+_0x513e96(0x218)+_0x44eba0+'.');return{..._0x55cdb0,'id':_0x44eba0,'type':_0x133b4f,'params':{'unitId':_0x35c486[_0x513e96(0x1fc)],'textRanges':_0x35c486[_0x513e96(0x2ef)],'actions':_0x55f872['compose'](_0x253af2[_0x513e96(0x2ce)],_0x35c486[_0x513e96(0x2ce)])}};},{})],_0x4dc6f8=(_0xe65eb=(_0x3a9993=_0x344584[_0x2ce3fc(0x240)]())==null?void 0x0:_0x3a9993[_0x2ce3fc(0x2b2)])!=null?_0xe65eb:_0x2ce3fc(0x370),_0xb46dd8=(_0x5d0047=(_0x408e5b=_0x344584[_0x2ce3fc(0x240)]())==null?void 0x0:_0x408e5b[_0x2ce3fc(0x1b9)])!=null?_0x5d0047:_0x2ce3fc(0x370);return{'changeset':{'unitID':_0x273e25,'type':_0x374c9f(_0x187a66[_0x2ce3fc(0x37d)](_0x273e25)),'baseRev':_0x40b942[_0x2ce3fc(0x166)](_0x273e25),'revision':0x0,'userID':_0x4dc6f8,'memberID':_0xb46dd8,'mutations':_0x552fb4},'pendingMutations':[]};}function Oi(_0x5ac98e,_0x3a224a){var _0x4429d5=_0x1a3a6b;const _0x3dece4=new _0xd72070(0x1);return setTimeout(()=>_0x3dece4[_0x4429d5(0x182)](_0x3a224a),_0x5ac98e),_0x3dece4['asObservable']()[_0x4429d5(0x114)](_0x4ef5b4(0x1));}const ur={'id':_0x4c85f6['id'],'type':_0x1d7b02[_0x1a3a6b(0x141)],'params':{}};var dr=Object[_0x1a3a6b(0x1fd)],fr=Object[_0x1a3a6b(0xf3)],Re=(_0x30587c,_0x3c2dca,_0x1e10c5,_0x1d27bc)=>{var _0x207f6e=_0x1a3a6b;for(var _0x3f09ae=_0x1d27bc>0x1?void 0x0:_0x1d27bc?fr(_0x3c2dca,_0x1e10c5):_0x3c2dca,_0x2dad3c=_0x30587c[_0x207f6e(0x23f)]-0x1,_0x4ffce9;_0x2dad3c>=0x0;_0x2dad3c--)(_0x4ffce9=_0x30587c[_0x2dad3c])&&(_0x3f09ae=(_0x1d27bc?_0x4ffce9(_0x3c2dca,_0x1e10c5,_0x3f09ae):_0x4ffce9(_0x3f09ae))||_0x3f09ae);return _0x1d27bc&&_0x3f09ae&&dr(_0x3c2dca,_0x1e10c5,_0x3f09ae),_0x3f09ae;},A=(_0x309712,_0x4648a2)=>(_0x46152b,_0x5d7a5f)=>_0x4648a2(_0x46152b,_0x5d7a5f,_0x309712),yi=(_0x3d3cf1=>(_0x3d3cf1[_0x1a3a6b(0x205)]=_0x1a3a6b(0x243),_0x3d3cf1['SYNCED']=_0x1a3a6b(0x30a),_0x3d3cf1['PENDING']='pending',_0x3d3cf1[_0x1a3a6b(0x206)]=_0x1a3a6b(0x2b6),_0x3d3cf1[_0x1a3a6b(0x1f7)]=_0x1a3a6b(0x147),_0x3d3cf1[_0x1a3a6b(0x23b)]=_0x1a3a6b(0x104),_0x3d3cf1[_0x1a3a6b(0x34d)]=_0x1a3a6b(0x349),_0x3d3cf1[_0x1a3a6b(0x1dc)]='offline',_0x3d3cf1))(yi||{});const Ni=0xea60;class be{constructor(_0x381fb9,_0x35e97a,_0x496f08,_0x3bda4e,_0x7dd66a,_0x1df2fa,_0x1062ee,_0x4bf924,_0x1b50de){var _0x36cf9d=_0x1a3a6b;N(this,'_awaitingChangeset',null),N(this,_0x36cf9d(0xa6),[]),(this['unitID']=_0x381fb9,this[_0x36cf9d(0x284)]=_0x35e97a,this[_0x36cf9d(0xe9)]=_0x7dd66a,this['_commandService']=_0x1df2fa,this[_0x36cf9d(0x231)]=_0x1062ee,this[_0x36cf9d(0x323)]=_0x4bf924,this[_0x36cf9d(0x324)]=_0x1b50de,this[_0x36cf9d(0x2d6)]=_0x496f08,this['_pendingMutations']=_0x3bda4e);}[_0x1a3a6b(0x177)](_0x3b33fb){var _0x21c9b6=_0x1a3a6b;const _0x45d078=this['_revisionService'][_0x21c9b6(0x166)](this[_0x21c9b6(0x19d)]);return _0x3b33fb['revision']>_0x45d078+0x1?(this[_0x21c9b6(0xe9)][_0x21c9b6(0x1c0)]({'from':_0x45d078,'to':_0x3b33fb[_0x21c9b6(0x1ec)]-0x1}),!0x0):!0x1;}[_0x1a3a6b(0x1e4)](_0x1dcc20){var _0x2e3e51=_0x1a3a6b;this['_undoRedoService'][_0x2e3e51(0x2ed)](this['unitID'],_0x1dcc20);}['_transformSelections'](_0x4c2754){var _0x140d9c=_0x1a3a6b,_0x3616a5,_0x5018d0;(_0x5018d0=(_0x3616a5=this['_handler'])[_0x140d9c(0x28b)])==null||_0x5018d0[_0x140d9c(0x106)](_0x3616a5,_0x4c2754);}[_0x1a3a6b(0x1d6)](_0x5628b0){var _0x101049=_0x1a3a6b,_0x51f07a,_0x2ad58a;return(_0x2ad58a=(_0x51f07a=this[_0x101049(0xe9)])[_0x101049(0xc1)])==null?void 0x0:_0x2ad58a['call'](_0x51f07a,_0x5628b0);}[_0x1a3a6b(0x37f)](_0x591491){var _0xee8e84=_0x1a3a6b,_0x18fe80,_0x17ada5;return(_0x17ada5=(_0x18fe80=this[_0xee8e84(0xe9)])[_0xee8e84(0x274)])==null?void 0x0:_0x17ada5[_0xee8e84(0x106)](_0x18fe80,_0x591491);}[_0x1a3a6b(0x313)](_0x100b79){var _0x2a9a73=_0x1a3a6b,_0x5450b5,_0x137a65,_0x530e76;return(_0x530e76=(_0x137a65=(_0x5450b5=this[_0x2a9a73(0xe9)])[_0x2a9a73(0x121)])==null?void 0x0:_0x137a65[_0x2a9a73(0x106)](_0x5450b5,_0x100b79))!=null?_0x530e76:_0x100b79;}[_0x1a3a6b(0x348)](_0x4e306e){var _0x2ff708=_0x1a3a6b,_0x2030f0,_0x56e2f3,_0x13f2d8;return(_0x13f2d8=(_0x56e2f3=(_0x2030f0=this[_0x2ff708(0xe9)])[_0x2ff708(0xd2)])==null?void 0x0:_0x56e2f3[_0x2ff708(0x106)](_0x2030f0,_0x4e306e))!=null?_0x13f2d8:_0x4e306e;}[_0x1a3a6b(0x301)](_0xdbf28b){var _0x59fe86=_0x1a3a6b,_0x8c5415,_0xe23ad3;if(this[_0x59fe86(0x284)]===Q[_0x59fe86(0xef)]){const {unitID:_0x5c0f24,mutations:_0x2a58fc,memberID:_0xefa80d}=_0xdbf28b,_0x1507db=_0x2a58fc[0x0][_0x59fe86(0x1ed)]['textRanges'];Array[_0x59fe86(0x28d)](_0x1507db)&&_0x1507db[_0x59fe86(0x23f)]>0x0&&((_0xe23ad3=(_0x8c5415=this[_0x59fe86(0xe9)])[_0x59fe86(0x32a)])==null||_0xe23ad3[_0x59fe86(0x106)](_0x8c5415,{'unitID':_0x5c0f24,'memberID':_0xefa80d,'textRanges':_0x1507db}));}}[_0x1a3a6b(0x248)](){var _0x497e6f=_0x1a3a6b,_0x3d84ef;(_0x3d84ef=this[_0x497e6f(0x324)])==null||_0x3d84ef['updateOfflineData'](this[_0x497e6f(0x19d)],this[_0x497e6f(0x284)],this[_0x497e6f(0x2d6)],this['_pendingMutations']);}[_0x1a3a6b(0x11c)](){var _0x45202c=_0x1a3a6b;return this[_0x45202c(0x323)][_0x45202c(0x166)](this[_0x45202c(0x19d)]);}['_incrementRevisionNumber'](){var _0x2d206c=_0x1a3a6b;this['_revisionService'][_0x2d206c(0x2cb)](this[_0x2d206c(0x19d)]);}[_0x1a3a6b(0x1e0)](_0x594fe0){var _0x3e4d2a=_0x1a3a6b,_0x5e83b5;let _0x39fa23=this['_transformRemoteChangesetByIMECache'](_0x594fe0);_0x39fa23=this['_transformRemoteChangesetByStateCache'](_0x39fa23);const _0x4a3951=_0x2ca4cb(_0x39fa23[_0x3e4d2a(0x142)],this[_0x3e4d2a(0x16e)],{'fromCollab':!0x0});if(!_0x4a3951[_0x3e4d2a(0x21c)])throw _0x4a3951[_0x3e4d2a(0x362)]instanceof Error?_0x4a3951[_0x3e4d2a(0x362)]:new Error((_0x5e83b5=_0x4a3951[_0x3e4d2a(0x362)])!=null?_0x5e83b5:_0x3e4d2a(0x2ba));this['_transformIMECache'](_0x39fa23),this[_0x3e4d2a(0x37f)](_0x39fa23),this[_0x3e4d2a(0x1e4)](_0x594fe0),this[_0x3e4d2a(0x234)](_0x39fa23),this[_0x3e4d2a(0x301)](_0x39fa23),this[_0x3e4d2a(0x2bb)]();}}let De=class extends be{constructor(_0x4d1e2f,_0x5a563f,_0x1e7f7d,_0x103c0a,_0x4bdda8,_0x436e46,_0x34a1f4,_0x5de24d,_0xcdbdd4,_0x2ae061){var _0x427005=_0x1a3a6b;super(_0x4d1e2f,_0x5a563f,null,[],_0x1e7f7d,_0x34a1f4,_0x436e46,_0x103c0a,_0x2ae061),N(this,_0x427005(0x39a),_0x427005(0x30a)),(this[_0x427005(0x353)]=_0x4bdda8,this[_0x427005(0x2d8)]=_0x5de24d,this[_0x427005(0x286)]=_0xcdbdd4,this[_0x427005(0x196)]=_0x2ae061);}[_0x1a3a6b(0x10c)](_0x5767ea){var _0x142993=_0x1a3a6b;const _0x47633b=this[_0x142993(0x353)]['createInstance'](oe,this[_0x142993(0x19d)],this['type'],[_0x5767ea],this[_0x142993(0xe9)]);return _0x47633b[_0x142993(0x20c)](),_0x47633b['_updateLocalCache'](),_0x47633b;}[_0x1a3a6b(0x2e7)](_0x5ccef0){var _0x443e84=_0x1a3a6b;if(this['_checkMissing'](_0x5ccef0))return this[_0x443e84(0x353)][_0x443e84(0x2e6)](te,this['unitID'],this[_0x443e84(0x284)],null,[],null,[_0x5ccef0],this[_0x443e84(0xe9)]);try{const _0xd511c4=this[_0x443e84(0x286)][_0x443e84(0x1de)](_0x5ccef0,[ur]);if(_0x52e85a(_0xd511c4)){const {c1Prime:_0x5ac019}=_0xd511c4;return this[_0x443e84(0x1e0)](_0x5ac019),this;}throw _0xd511c4['error'];}catch(_0x28f6d4){return this[_0x443e84(0x2d8)][_0x443e84(0x362)](_0x28f6d4),this[_0x443e84(0x10a)](!0x1);}}[_0x1a3a6b(0x10a)](_0x55c1d1){var _0x46e9f6=_0x1a3a6b;return this['_injector'][_0x46e9f6(0x2e6)](de,this[_0x46e9f6(0x19d)],this[_0x46e9f6(0x284)],null,[],this['_handler'],_0x55c1d1);}[_0x1a3a6b(0xd4)](){var _0x95d0c4=_0x1a3a6b;throw new Error(_0x95d0c4(0x1e1));}[_0x1a3a6b(0x192)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){var _0x16ec9e=_0x1a3a6b;return this[_0x16ec9e(0x353)][_0x16ec9e(0x2e6)](fe,this[_0x16ec9e(0x19d)],this[_0x16ec9e(0x284)],null,[],this[_0x16ec9e(0xe9)]);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x2d5028=_0x1a3a6b;throw new Error(_0x2d5028(0x332));}['fetchMiss'](){var _0x4f8e13=_0x1a3a6b;const _0x7e982d=this[_0x4f8e13(0x323)][_0x4f8e13(0x166)](this[_0x4f8e13(0x19d)]);return this[_0x4f8e13(0xe9)]['onMissingChangesets']({'from':_0x7e982d,'to':0x0}),this['_injector'][_0x4f8e13(0x2e6)](te,this[_0x4f8e13(0x19d)],this[_0x4f8e13(0x284)],null,[],null,[],this[_0x4f8e13(0xe9)]);}};De=Re([A(0x3,_0x5eebc2(_0x5b78cb)),A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x1ca1a7),A(0x6,_0x572fdd),A(0x7,_0x1ca28b),A(0x8,_0x2b6404),A(0x9,_0x27b19f(J))],De);let oe=class extends be{constructor(_0x59d30e,_0x311619,_0x2d7580,_0x4a1133,_0x3ad5cc,_0x32d03f,_0x50ff1e,_0x130ce4,_0x447fef,_0x213f86,_0x2cdf22,_0x43def3,_0x46d96a,_0x509cf2){var _0x15fbe2=_0x1a3a6b;super(_0x59d30e,_0x311619,null,_0x2d7580,_0x4a1133,_0x447fef,_0x46d96a,_0x32d03f,_0x509cf2),N(this,_0x15fbe2(0x39a),_0x15fbe2(0x13b)),N(this,_0x15fbe2(0x27a),null),N(this,_0x15fbe2(0x277),null),(this['_injector']=_0x3ad5cc,this[_0x15fbe2(0xb9)]=_0x50ff1e,this['_logService']=_0x130ce4,this[_0x15fbe2(0x2a4)]=_0x213f86,this[_0x15fbe2(0x286)]=_0x2cdf22,this[_0x15fbe2(0x1d5)]=_0x43def3);}[_0x1a3a6b(0x10c)](_0x5c3239){var _0x562e78=_0x1a3a6b;return this[_0x562e78(0xa6)][_0x562e78(0x126)](_0x5c3239),this['_updateLocalCache'](),this;}[_0x1a3a6b(0x2e7)](_0x371a5a){var _0x28ca7a=_0x1a3a6b;if(this['_checkMissing'](_0x371a5a))return this[_0x28ca7a(0x1ac)](),this[_0x28ca7a(0x353)][_0x28ca7a(0x2e6)](te,this[_0x28ca7a(0x19d)],this[_0x28ca7a(0x284)],null,this[_0x28ca7a(0xa6)],null,[_0x371a5a],this['_handler']);try{const _0x45d922=this['_transformService'][_0x28ca7a(0x1de)](_0x371a5a,this[_0x28ca7a(0xa6)]);if(_0x52e85a(_0x45d922)){const {c1Prime:_0x4afe4b,m2Prime:_0x52a4a7}=_0x45d922;this['_executeRemoteChangeset'](_0x4afe4b);const _0x26a705=this['_injector']['createInstance'](oe,this[_0x28ca7a(0x19d)],this['type'],_0x52a4a7,this[_0x28ca7a(0xe9)]);this[_0x28ca7a(0x1ac)]();const _0x23a6da=new Date()[_0x28ca7a(0x1cd)](),_0x56d2d6=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x28ca7a(0x27a)]-_0x23a6da,0x0):this[_0x28ca7a(0x20b)]();return _0x26a705[_0x28ca7a(0x20c)](_0x56d2d6),_0x26a705;}throw _0x45d922['error'];}catch(_0x523ac0){return this[_0x28ca7a(0x2d8)]['error'](_0x523ac0),this[_0x28ca7a(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](){var _0x18c593=_0x1a3a6b;throw new Error(_0x18c593(0xc4));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){var _0xc07c5f=_0x1a3a6b;return this[_0xc07c5f(0x1ac)](),this[_0xc07c5f(0x353)][_0xc07c5f(0x2e6)](fe,this[_0xc07c5f(0x19d)],this['type'],null,this[_0xc07c5f(0xa6)],this[_0xc07c5f(0xe9)]);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x20c)](_0x1ce00a){var _0x288773=_0x1a3a6b;const _0x41dd19=_0x1ce00a!=null?_0x1ce00a:this[_0x288773(0x20b)]();this[_0x288773(0x27a)]=new Date()[_0x288773(0x1cd)]()+_0x41dd19,this[_0x288773(0x277)]=setTimeout(()=>{var _0x3634ce=_0x288773;this['_clearScheduledTask']();let _0x311689=null;switch(this[_0x3634ce(0x284)]){case Q[_0x3634ce(0x2c4)]:{_0x311689=zt(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this[_0x3634ce(0xb9)]);break;}case Q[_0x3634ce(0xef)]:{this[_0x3634ce(0xa6)][_0x3634ce(0x1b0)](_0x3afc22=>_0x3afc22['id']===_0x39055c['id'])?_0x311689=lr(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this['_memberService']):_0x311689=zt(this[_0x3634ce(0xa6)],this[_0x3634ce(0x19d)],this[_0x3634ce(0x1d5)],this[_0x3634ce(0x323)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x3634ce(0x284)]+_0x3634ce(0x14b));}const {changeset:_0x9373da,pendingMutations:_0x241876}=_0x311689;this[_0x3634ce(0xe9)][_0x3634ce(0x38c)](_0x9373da);const _0x318d25=_0x241876[_0x3634ce(0x23f)]?this[_0x3634ce(0x353)]['createInstance'](ae,this[_0x3634ce(0x19d)],this['type'],_0x9373da,_0x241876,this[_0x3634ce(0xe9)],void 0x0):this[_0x3634ce(0x353)][_0x3634ce(0x2e6)](ue,this[_0x3634ce(0x19d)],this[_0x3634ce(0x284)],_0x9373da,this[_0x3634ce(0xe9)]);_0x318d25[_0x3634ce(0x248)](),this[_0x3634ce(0xe9)][_0x3634ce(0x202)](this,_0x318d25);},_0x41dd19);}['_getSendChangesetTimeout'](){var _0x2c4f05=_0x1a3a6b,_0x909156;const _0x96153b=this[_0x2c4f05(0x2a4)][_0x2c4f05(0x268)](q);return(_0x909156=_0x96153b==null?void 0x0:_0x96153b[_0x2c4f05(0x1f8)])!=null?_0x909156:Cn;}['resend'](){var _0x23cd64=_0x1a3a6b;throw new Error(_0x23cd64(0x23a));}[_0x1a3a6b(0x1ac)](){var _0x26d6e2=_0x1a3a6b;this[_0x26d6e2(0x277)]!=null&&(clearTimeout(this[_0x26d6e2(0x277)]),this[_0x26d6e2(0x277)]=null);}['_onConflict'](_0x50744b){var _0x57631f=_0x1a3a6b;return this[_0x57631f(0x1ac)](),this[_0x57631f(0x353)]['createInstance'](de,this[_0x57631f(0x19d)],this['type'],null,this['_pendingMutations'],this['_handler'],_0x50744b);}};oe=Re([A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x5eebc2(_0x5b78cb)),A(0x6,_0x5eebc2(xe)),A(0x7,_0x1ca28b),A(0x8,_0x572fdd),A(0x9,_0x4107ea),A(0xa,_0x2b6404),A(0xb,_0x42a1e9),A(0xc,_0x1ca1a7),A(0xd,_0x27b19f(J))],oe);let ue=class extends be{constructor(_0x18cf5a,_0x8a38f2,_0xad9955,_0x4ebc95,_0x299653,_0x5aee23,_0x50a1da,_0xcb0fa9,_0x17d5eb,_0x4095d2,_0x564a82){var _0x497ef9=_0x1a3a6b;super(_0x18cf5a,_0x8a38f2,_0xad9955,[],_0x4ebc95,_0x50a1da,_0x4095d2,_0x5aee23,_0x564a82),N(this,'status',_0x497ef9(0x2b6)),N(this,'_resendTimeout',0x0),N(this,_0x497ef9(0x1b2)),N(this,_0x497ef9(0x122)),(this[_0x497ef9(0x353)]=_0x299653,this[_0x497ef9(0x2d8)]=_0xcb0fa9,this[_0x497ef9(0x286)]=_0x17d5eb);}[_0x1a3a6b(0x10c)](_0xd03d80){var _0x52ba79=_0x1a3a6b;this['_clearScheduledTask']();const _0x27475d=this[_0x52ba79(0x353)][_0x52ba79(0x2e6)](ae,this[_0x52ba79(0x19d)],this['type'],this[_0x52ba79(0x2d6)],[_0xd03d80],this['_handler'],this[_0x52ba79(0x1b2)]);return _0x27475d[_0x52ba79(0x248)](),_0x27475d;}[_0x1a3a6b(0x2e7)](_0x315de0){var _0x29b388=_0x1a3a6b;if(this[_0x29b388(0x177)](_0x315de0))return this['_clearScheduledTask'](),this[_0x29b388(0x353)]['createInstance'](te,this['unitID'],this[_0x29b388(0x284)],this['_awaitingChangeset'],[],null,[_0x315de0],this[_0x29b388(0xe9)]);try{const _0x22bc4a=this[_0x29b388(0x286)][_0x29b388(0x203)]([_0x315de0],[this['_awaitingChangeset']],!0x1);if(_0x1abdb2(_0x22bc4a)){const {c1Prime:_0xfd21dc,c2Prime:_0x5364c9}=_0x22bc4a;this[_0x29b388(0x1e0)](_0xfd21dc[0x0]),_0x5364c9[0x0][_0x29b388(0x14d)]=this[_0x29b388(0x11c)](),this['_clearScheduledTask']();const _0x47a69d=this['_injector']['createInstance'](ue,this[_0x29b388(0x19d)],this[_0x29b388(0x284)],_0x5364c9[0x0],this[_0x29b388(0xe9)]);return _0x47a69d[_0x29b388(0x248)](),_0x47a69d;}return this[_0x29b388(0x10a)](!0x1);}catch(_0x1d683d){return this[_0x29b388(0x2d8)][_0x29b388(0x362)](_0x1d683d),this[_0x29b388(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](_0x27dfcd){var _0x1f9e2f=_0x1a3a6b;this[_0x1f9e2f(0x1ac)]();const _0x5d2b21=this[_0x1f9e2f(0x323)][_0x1f9e2f(0x166)](this[_0x1f9e2f(0x19d)]);if(_0x27dfcd[_0x1f9e2f(0x1ec)]<_0x5d2b21-0x1)return this;if(this['_checkMissing'](_0x27dfcd))return this[_0x1f9e2f(0x353)][_0x1f9e2f(0x2e6)](te,this[_0x1f9e2f(0x19d)],this[_0x1f9e2f(0x284)],null,[],this[_0x1f9e2f(0x2d6)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x3bd93b=this['_injector']['createInstance'](De,this['unitID'],this[_0x1f9e2f(0x284)],this[_0x1f9e2f(0xe9)]);return _0x3bd93b[_0x1f9e2f(0x248)](),_0x3bd93b;}[_0x1a3a6b(0x192)](_0x50e2b6){var _0x12db2b=_0x1a3a6b;return this[_0x12db2b(0x10a)](!!(_0x50e2b6!=null&&_0x50e2b6[_0x12db2b(0x131)]));}['onRemoteRetry'](_0x342436){var _0x5de602=_0x1a3a6b;return this[_0x5de602(0x373)]>Ni?this['toggleOffline']():(this[_0x5de602(0x1b2)]=Oi(this['_resendTimeout'],{'timeout':this[_0x5de602(0x373)],'reqId':_0x342436[_0x5de602(0x27c)]}),this['_sender']=this['_resendTimer'][_0x5de602(0x175)](({reqId:_0x3619a4,timeout:_0x5ca451})=>{var _0x1d5872=_0x5de602;this[_0x1d5872(0x23e)](_0x3619a4,_0x5ca451);}),this);}[_0x1a3a6b(0x281)](){var _0x528578=_0x1a3a6b;return this['_clearScheduledTask'](),this[_0x528578(0x353)][_0x528578(0x2e6)](fe,this[_0x528578(0x19d)],this['type'],this[_0x528578(0x2d6)],[],this[_0x528578(0xe9)]);}['toggleOnline'](){return this;}[_0x1a3a6b(0x36f)](){var _0x14d52c=_0x1a3a6b;this['_handler']['onSendChangeset'](this[_0x14d52c(0x2d6)]);}['_onConflict'](_0x205ede){var _0x586d33=_0x1a3a6b;return this['_clearScheduledTask'](),this[_0x586d33(0x353)][_0x586d33(0x2e6)](de,this[_0x586d33(0x19d)],this['type'],this['_awaitingChangeset'],[],this[_0x586d33(0xe9)],_0x205ede);}['_resendWithTimeout'](_0x25eed9,_0x77ce27){var _0x5aa7a4=_0x1a3a6b,_0xad1d6;_0x25eed9===((_0xad1d6=this[_0x5aa7a4(0x2d6)])==null?void 0x0:_0xad1d6[_0x5aa7a4(0x27c)])&&(this[_0x5aa7a4(0x36f)](),this[_0x5aa7a4(0x373)]=_0x77ce27===0x0?0x3e8:_0x77ce27*0x2);}[_0x1a3a6b(0x1ac)](){var _0x536703=_0x1a3a6b,_0x1c9614;(_0x1c9614=this[_0x536703(0x122)])==null||_0x1c9614[_0x536703(0xfc)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x5eebc2(_0x54e9ab)),A(0x5,_0x5eebc2(_0x5b78cb)),A(0x6,_0x572fdd),A(0x7,_0x1ca28b),A(0x8,_0x2b6404),A(0x9,_0x1ca1a7),A(0xa,_0x27b19f(J))],ue);let ae=class extends be{constructor(_0x4136d7,_0x190abb,_0x40e5b7,_0x45e7f5,_0x59c61c,_0x52d81a,_0x2b7862,_0x4e9979,_0xf7df32,_0x5ce09d,_0x54b34a,_0x1fce39,_0x790065){var _0x42c550=_0x1a3a6b;super(_0x4136d7,_0x190abb,_0x40e5b7,_0x45e7f5,_0x59c61c,_0xf7df32,_0x1fce39,_0x4e9979,_0x790065),N(this,_0x42c550(0x39a),_0x42c550(0x147)),N(this,_0x42c550(0x373),0x0),N(this,_0x42c550(0x1b2)),N(this,_0x42c550(0x122)),(this[_0x42c550(0x353)]=_0x2b7862,this[_0x42c550(0x2d8)]=_0x5ce09d,this[_0x42c550(0x286)]=_0x54b34a,this[_0x42c550(0x196)]=_0x790065,_0x52d81a&&(this[_0x42c550(0x1b2)]=_0x52d81a,this[_0x42c550(0x122)]=this[_0x42c550(0x1b2)][_0x42c550(0x175)](({reqId:_0x3cf32b,timeout:_0x438614})=>{var _0x1afec4=_0x42c550;this[_0x1afec4(0x23e)](_0x3cf32b,_0x438614);})));}[_0x1a3a6b(0x10c)](_0x5c87d2){var _0x4cb278=_0x1a3a6b;return this[_0x4cb278(0xa6)][_0x4cb278(0x126)](_0x5c87d2),this;}['onRemoteChangeset'](_0x40be38){var _0x2dae90=_0x1a3a6b;if(this[_0x2dae90(0x177)](_0x40be38))return this[_0x2dae90(0x1ac)](),this['_injector'][_0x2dae90(0x2e6)](te,this[_0x2dae90(0x19d)],this[_0x2dae90(0x284)],this[_0x2dae90(0x2d6)],this[_0x2dae90(0xa6)],null,[_0x40be38],this[_0x2dae90(0xe9)]);try{const _0x117774=this[_0x2dae90(0x286)][_0x2dae90(0x203)]([_0x40be38],[this['_awaitingChangeset']],!0x1);if(_0x1abdb2(_0x117774)){const {c1Prime:_0x20af96,c2Prime:_0x27d0c4}=_0x117774,_0x3ac717=this[_0x2dae90(0x286)][_0x2dae90(0x1de)](_0x20af96[0x0],this['_pendingMutations']);if(_0x52e85a(_0x3ac717)){const {c1Prime:_0x4b9d44,m2Prime:_0x4bf5af}=_0x3ac717;return this['_executeRemoteChangeset'](_0x4b9d44),_0x27d0c4[0x0][_0x2dae90(0x14d)]=this[_0x2dae90(0x11c)](),this[_0x2dae90(0x1ac)](),this[_0x2dae90(0x353)][_0x2dae90(0x2e6)](ae,this[_0x2dae90(0x19d)],this[_0x2dae90(0x284)],_0x27d0c4[0x0],_0x4bf5af,this['_handler'],void 0x0);}throw _0x3ac717[_0x2dae90(0x362)];}throw _0x117774[_0x2dae90(0x362)];}catch(_0x24a1bf){return this[_0x2dae90(0x2d8)][_0x2dae90(0x362)](_0x24a1bf),this[_0x2dae90(0x10a)](!0x1);}}[_0x1a3a6b(0xd4)](_0xb326b7){var _0x570bb6=_0x1a3a6b;if(this['_clearScheduledTask'](),this['_checkMissing'](_0xb326b7))return this[_0x570bb6(0x353)][_0x570bb6(0x2e6)](te,this['unitID'],this[_0x570bb6(0x284)],null,this['_pendingMutations'],this[_0x570bb6(0x2d6)],[],this[_0x570bb6(0xe9)]);this[_0x570bb6(0x2bb)]();const _0xbdff88=this['_injector'][_0x570bb6(0x2e6)](oe,this['unitID'],this[_0x570bb6(0x284)],this[_0x570bb6(0xa6)],this[_0x570bb6(0xe9)]);return _0xbdff88[_0x570bb6(0x20c)](),_0xbdff88[_0x570bb6(0x248)](),_0xbdff88;}[_0x1a3a6b(0x192)](_0x5c2281){var _0x44aa69=_0x1a3a6b;return this['_onConflict'](!!(_0x5c2281!=null&&_0x5c2281[_0x44aa69(0x131)]));}['onRemoteRetry'](_0xfaeea){var _0x373209=_0x1a3a6b;return this[_0x373209(0x373)]>Ni?this['toggleOffline']():(this['_resendTimer']=Oi(this[_0x373209(0x373)],{'timeout':this[_0x373209(0x373)],'reqId':_0xfaeea[_0x373209(0x27c)]}),this[_0x373209(0x122)]=this[_0x373209(0x1b2)][_0x373209(0x175)](({reqId:_0x17edff,timeout:_0xc30edd})=>{this['_resendWithTimeout'](_0x17edff,_0xc30edd);}),this);}[_0x1a3a6b(0x281)](){var _0x5c68df=_0x1a3a6b;return this[_0x5c68df(0x1ac)](),this['_injector'][_0x5c68df(0x2e6)](fe,this[_0x5c68df(0x19d)],this[_0x5c68df(0x284)],this[_0x5c68df(0x2d6)],this[_0x5c68df(0xa6)],this['_handler']);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x5a6397=_0x1a3a6b;this[_0x5a6397(0xe9)][_0x5a6397(0x38c)](this[_0x5a6397(0x2d6)]);}[_0x1a3a6b(0x10a)](_0x78258d){var _0xe60b7a=_0x1a3a6b;return this[_0xe60b7a(0x1ac)](),this[_0xe60b7a(0x353)][_0xe60b7a(0x2e6)](de,this[_0xe60b7a(0x19d)],this[_0xe60b7a(0x284)],null,this['_pendingMutations'],this[_0xe60b7a(0xe9)],_0x78258d);}[_0x1a3a6b(0x23e)](_0x577fa7,_0x25b9d2){var _0x547a2a=_0x1a3a6b,_0x184584;_0x577fa7===((_0x184584=this[_0x547a2a(0x2d6)])==null?void 0x0:_0x184584['reqId'])&&(this[_0x547a2a(0x36f)](),this[_0x547a2a(0x373)]=_0x25b9d2===0x0?0x3e8:_0x25b9d2*0x2);}[_0x1a3a6b(0x1ac)](){var _0x12a746=_0x1a3a6b,_0x5d60f4;(_0x5d60f4=this[_0x12a746(0x122)])==null||_0x5d60f4['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x5eebc2(_0x54e9ab)),A(0x7,_0x5eebc2(_0x5b78cb)),A(0x8,_0x572fdd),A(0x9,_0x1ca28b),A(0xa,_0x2b6404),A(0xb,_0x1ca1a7),A(0xc,_0x27b19f(J))],ae);let de=class extends be{constructor(_0x17aa6e,_0xb38b69,_0x5a015a,_0x5c5ae9,_0x25c128,_0x376846=!0x1,_0x1829e8,_0x17492d,_0x973248,_0x56b57f,_0x3ce9c9,_0x1bb0f8,_0xabdcc8){var _0x37b74b=_0x1a3a6b;super(_0x17aa6e,_0xb38b69,_0x5a015a,_0x5c5ae9,_0x25c128,_0x17492d,_0x973248,_0x56b57f,_0xabdcc8),N(this,_0x37b74b(0x39a),_0x37b74b(0x349)),(this[_0x37b74b(0xda)]=_0x376846,this[_0x37b74b(0x9b)]=_0x1829e8,this[_0x37b74b(0x16c)]=_0x3ce9c9,this['_collaborationUIEventService']=_0x1bb0f8,this[_0x37b74b(0x196)]=_0xabdcc8,this[_0x37b74b(0x115)](),this['_clearLocalCache'](),this[_0x37b74b(0x150)]());}[_0x1a3a6b(0x10c)](){return this;}[_0x1a3a6b(0x2e7)](){return this;}[_0x1a3a6b(0xd4)](){return this;}[_0x1a3a6b(0x192)](){return this;}[_0x1a3a6b(0x25d)](){return this;}[_0x1a3a6b(0x281)](){return this;}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x36f)](){var _0x38d981=_0x1a3a6b;throw new Error(_0x38d981(0x1b3));}[_0x1a3a6b(0x184)](){var _0x511765=_0x1a3a6b,_0x4edecf;(_0x4edecf=this[_0x511765(0x324)])==null||_0x4edecf[_0x511765(0x100)](this['unitID'],this['type'],null,[]);}[_0x1a3a6b(0x115)](){var _0x3daa45=_0x1a3a6b;this['_isPermissionRej']?this['_collaborationUIEventService']['emitEvent']({'id':se[_0x3daa45(0xe2)]}):this[_0x3daa45(0x354)]['emitEvent']({'id':se['CONFLICT']});}[_0x1a3a6b(0x150)](){var _0x4ed65c=_0x1a3a6b;this[_0x4ed65c(0x9b)][_0x4ed65c(0xdd)](new _0x56b9cd(this[_0x4ed65c(0x19d)])['id'],!0x1);}};de=Re([A(0x6,_0x5eebc2(_0x4ebb7c)),A(0x7,_0x572fdd),A(0x8,_0x1ca1a7),A(0x9,_0x5eebc2(_0x5b78cb)),A(0xa,_0x5eebc2(_0x3c43d2)),A(0xb,_0x5eebc2(pe)),A(0xc,_0x27b19f(J))],de);let fe=class extends be{constructor(_0x50f876,_0x2ad7f6,_0x22c770,_0x5049d2,_0x17b1ea,_0xbef8c2,_0xa899b7,_0x3addb6,_0x2c0694,_0x277d92){var _0x544c1a=_0x1a3a6b;super(_0x50f876,_0x2ad7f6,_0x22c770,_0x5049d2,_0x17b1ea,_0x3addb6,_0x2c0694,_0xa899b7,_0x277d92),N(this,'status',_0x544c1a(0x1cc)),this[_0x544c1a(0x353)]=_0xbef8c2;}[_0x1a3a6b(0x10c)](_0x2aeacb){var _0x383991=_0x1a3a6b;return this['_pendingMutations'][_0x383991(0x126)](_0x2aeacb),this[_0x383991(0x248)](),this;}['onRemoteChangeset'](_0x4ab7fa){var _0x1f58a3=_0x1a3a6b;throw new Error(_0x1f58a3(0x108));}[_0x1a3a6b(0xd4)](){var _0x77c4e7=_0x1a3a6b;throw new Error(_0x77c4e7(0xff));}['onRemoteRej'](){var _0x4a5310=_0x1a3a6b;throw new Error(_0x4a5310(0x1a3));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x1a3a6b(0x250)](){var _0x562cb2=_0x1a3a6b;const {_injector:_0x4ffc65,_pendingMutations:_0x86c977,_awaitingChangeset:_0x27a50a,unitID:_0x42bb80,_handler:_0x1ea473,type:_0x21cfb6}=this,_0x54be5a=Di(_0x4ffc65,_0x42bb80,_0x21cfb6,_0x27a50a,_0x86c977,_0x1ea473);return _0x54be5a instanceof oe?_0x54be5a[_0x562cb2(0x20c)]():(_0x54be5a instanceof ae||_0x54be5a instanceof ue)&&_0x54be5a[_0x562cb2(0x36f)](),_0x54be5a;}[_0x1a3a6b(0x36f)](){var _0x1bd73d=_0x1a3a6b;throw new Error(_0x1bd73d(0x25e));}};fe=Re([A(0x5,_0x5eebc2(_0x54e9ab)),A(0x6,_0x5eebc2(_0x5b78cb)),A(0x7,_0x572fdd),A(0x8,_0x1ca1a7),A(0x9,_0x27b19f(J))],fe);function _0x2c36(_0x5d115d,_0x4183c6){var _0x45ac91=_0x45ac();return _0x2c36=function(_0x2c36a6,_0x473ef4){_0x2c36a6=_0x2c36a6-0x95;var _0x4b129c=_0x45ac91[_0x2c36a6];return _0x4b129c;},_0x2c36(_0x5d115d,_0x4183c6);}let te=class extends be{constructor(_0x3bd790,_0x22af51,_0x2609ee,_0x570fd3,_0x2b6777,_0x13ef37,_0x6ec0d0,_0x4b7c72,_0x53eff7,_0x42982a,_0x1dafe7,_0x4c5eaf,_0x564843,_0x3de319){var _0xbb0e5e=_0x1a3a6b;super(_0x3bd790,_0x22af51,_0x2609ee,_0x570fd3,_0x6ec0d0,_0x1dafe7,_0x4c5eaf,_0x53eff7,_0x3de319),N(this,_0xbb0e5e(0x39a),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x2b6777,this[_0xbb0e5e(0x2d5)]=_0x13ef37,this[_0xbb0e5e(0x353)]=_0x4b7c72,this[_0xbb0e5e(0x2d8)]=_0x42982a,this[_0xbb0e5e(0x286)]=_0x564843,this[_0xbb0e5e(0x196)]=_0x3de319);}[_0x1a3a6b(0x1f4)](_0x14e426){var _0x2f078f=_0x1a3a6b;try{const _0x2195d1=[..._0x14e426,...this['_queuedRemoteChangesets']],_0x3ff0f7=[this[_0x2f078f(0x2d6)]||this[_0x2f078f(0x110)]][_0x2f078f(0x1eb)](_0x3c9b59=>!!_0x3c9b59);let _0x27f28e,_0x61d021;if(_0x3ff0f7[_0x2f078f(0x23f)]){const _0x582f70=this['_transformService'][_0x2f078f(0x203)](_0x2195d1,_0x3ff0f7,!0x1);if(!_0x1abdb2(_0x582f70))throw _0x582f70[_0x2f078f(0x362)];_0x27f28e=_0x582f70[_0x2f078f(0x1af)],_0x61d021=_0x582f70[_0x2f078f(0x29b)];}else _0x27f28e=_0x2195d1,_0x61d021=[];let _0x5f166f=this[_0x2f078f(0xa6)];_0x27f28e[_0x2f078f(0x33c)](_0x156a52=>{var _0x1871fc=_0x2f078f;let _0x3c4545;if(_0x5f166f[_0x1871fc(0x23f)]){const _0x2b3a9e=this[_0x1871fc(0x286)][_0x1871fc(0x1de)](_0x156a52,_0x5f166f);if(!_0x52e85a(_0x2b3a9e))throw _0x2b3a9e['error'];_0x3c4545=_0x2b3a9e[_0x1871fc(0x1af)],_0x5f166f=_0x2b3a9e['m2Prime'];}else _0x3c4545=_0x156a52;this['_executeRemoteChangeset'](_0x3c4545);}),this[_0x2f078f(0x110)]&&this['_incrementRevisionNumber'](),this[_0x2f078f(0x2d6)]&&_0x61d021[_0x2f078f(0x23f)]&&(_0x61d021[0x0][_0x2f078f(0x14d)]=this[_0x2f078f(0x11c)]());let _0x211083;if(this[_0x2f078f(0x2d6)]&&_0x5f166f[_0x2f078f(0x23f)]!==0x0)_0x211083=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](ae,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],_0x61d021[0x0],_0x5f166f,this[_0x2f078f(0xe9)],void 0x0);else{if(this['_awaitingChangeset']&&_0x5f166f[_0x2f078f(0x23f)]===0x0)_0x61d021[0x0][_0x2f078f(0x14d)]=this[_0x2f078f(0x11c)](),_0x211083=this['_injector'][_0x2f078f(0x2e6)](ue,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],_0x61d021[0x0],this[_0x2f078f(0xe9)]);else{if(_0x5f166f[_0x2f078f(0x23f)]!==0x0){const _0x1a34ed=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](oe,this['unitID'],this[_0x2f078f(0x284)],_0x5f166f,this[_0x2f078f(0xe9)]);_0x1a34ed['_schedule'](),_0x211083=_0x1a34ed;}else _0x211083=this[_0x2f078f(0x353)][_0x2f078f(0x2e6)](De,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],this[_0x2f078f(0xe9)]);}}return _0x211083['_updateLocalCache'](),_0x211083;}catch(_0x529148){return this[_0x2f078f(0x2d8)][_0x2f078f(0x362)](_0x2f078f(0x374),_0x2f078f(0x24b),_0x529148),this['_injector'][_0x2f078f(0x2e6)](de,this[_0x2f078f(0x19d)],this[_0x2f078f(0x284)],this['_awaitingChangeset'],this[_0x2f078f(0xa6)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1a3a6b(0x10c)](_0xc9124e){var _0xbbef9b=_0x1a3a6b;return this[_0xbbef9b(0xa6)][_0xbbef9b(0x126)](_0xc9124e),this;}[_0x1a3a6b(0x2e7)](_0x1b0d35){var _0x381776=_0x1a3a6b;return this[_0x381776(0x2d5)][_0x381776(0x126)](_0x1b0d35),this;}[_0x1a3a6b(0xd4)](_0x2d1530){var _0x40bcc0=_0x1a3a6b;if(this[_0x40bcc0(0x2d6)])return this[_0x40bcc0(0x110)]=this[_0x40bcc0(0x2d6)],this[_0x40bcc0(0x2d6)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x185dbc){var _0x4713df=_0x1a3a6b;return this[_0x4713df(0x10a)](!!(_0x185dbc!=null&&_0x185dbc[_0x4713df(0x131)]));}['onRemoteRetry'](){return this;}[_0x1a3a6b(0x281)](){var _0x5cc417=_0x1a3a6b;return this[_0x5cc417(0x353)][_0x5cc417(0x2e6)](fe,this[_0x5cc417(0x19d)],this[_0x5cc417(0x284)],this[_0x5cc417(0x2d6)],this['_pendingMutations'],this['_handler']);}[_0x1a3a6b(0x250)](){return this;}[_0x1a3a6b(0x10a)](_0x47a9ae){var _0x5760d0=_0x1a3a6b;return this['_injector'][_0x5760d0(0x2e6)](de,this[_0x5760d0(0x19d)],this[_0x5760d0(0x284)],this[_0x5760d0(0x2d6)],this[_0x5760d0(0xa6)],this[_0x5760d0(0xe9)],_0x47a9ae);}};te=Re([A(0x7,_0x5eebc2(_0x54e9ab)),A(0x8,_0x5eebc2(_0x5b78cb)),A(0x9,_0x1ca28b),A(0xa,_0x572fdd),A(0xb,_0x1ca1a7),A(0xc,_0x2b6404),A(0xd,_0x27b19f(J))],te);function Di(_0x41f73c,_0x161e19,_0x1252c0,_0x580900,_0x4adbe8,_0xffd045){var _0x257d3b=_0x1a3a6b;return _0x580900&&_0x4adbe8[_0x257d3b(0x23f)]?_0x41f73c[_0x257d3b(0x2e6)](ae,_0x161e19,_0x1252c0,_0x580900,_0x4adbe8,_0xffd045,void 0x0):_0x580900?_0x41f73c['createInstance'](ue,_0x161e19,_0x1252c0,_0x580900,_0xffd045):_0x4adbe8[_0x257d3b(0x23f)]?_0x41f73c[_0x257d3b(0x2e6)](oe,_0x161e19,_0x1252c0,_0x4adbe8,_0xffd045):_0x41f73c['createInstance'](De,_0x161e19,_0x1252c0,_0xffd045);}var vr=Object[_0x1a3a6b(0x1fd)],pr=Object[_0x1a3a6b(0xf3)],Lt=(_0x106427,_0x1b5ba5,_0x1ba40c,_0x385afe)=>{var _0x4457c9=_0x1a3a6b;for(var _0xdbe501=_0x385afe>0x1?void 0x0:_0x385afe?pr(_0x1b5ba5,_0x1ba40c):_0x1b5ba5,_0x4f7c04=_0x106427[_0x4457c9(0x23f)]-0x1,_0x2392af;_0x4f7c04>=0x0;_0x4f7c04--)(_0x2392af=_0x106427[_0x4f7c04])&&(_0xdbe501=(_0x385afe?_0x2392af(_0x1b5ba5,_0x1ba40c,_0xdbe501):_0x2392af(_0xdbe501))||_0xdbe501);return _0x385afe&&_0xdbe501&&vr(_0x1b5ba5,_0x1ba40c,_0xdbe501),_0xdbe501;},k=(_0x1f464a,_0x5e61c2)=>(_0x236d31,_0x41b13c)=>_0x5e61c2(_0x236d31,_0x41b13c,_0x1f464a);let nt=class extends _0x20578d{constructor(_0x18a87b,_0x552faa,_0x235845,_0x40f2ee,_0x17ba71,_0x43a217,_0x5519b5,_0x142fd9,_0x4abbf8,_0xae7bbb,_0x393e57,_0x4455d6,_0x371b0e){var _0x1080e0=_0x1a3a6b;super(),N(this,'_state$',new _0x5c1b2c(null)),N(this,_0x1080e0(0x221),this[_0x1080e0(0x20e)]['asObservable']()),N(this,'_state'),N(this,_0x1080e0(0x352),!0x1),N(this,_0x1080e0(0x385),''),N(this,'_changesetReqId',0x0),N(this,'status$',this[_0x1080e0(0x221)]['pipe'](_0x2ee0d8(_0x1d9626=>_0x1d9626?_0x1d9626[_0x1080e0(0x39a)]:yi[_0x1080e0(0x1dc)]),_0x4d0233(0x1))),N(this,_0x1080e0(0x200),!0x1),N(this,_0x1080e0(0x1e8),[]),(this[_0x1080e0(0x19d)]=_0x18a87b,this['session']=_0x552faa,this[_0x1080e0(0x195)]=_0x235845,this[_0x1080e0(0x353)]=_0x40f2ee,this[_0x1080e0(0xad)]=_0x17ba71,this[_0x1080e0(0x16c)]=_0x43a217,this['_revisionService']=_0x5519b5,this[_0x1080e0(0x229)]=_0x142fd9,this[_0x1080e0(0x2d8)]=_0x4abbf8,this[_0x1080e0(0x16e)]=_0xae7bbb,this[_0x1080e0(0x9b)]=_0x393e57,this[_0x1080e0(0xcc)]=_0x4455d6,this[_0x1080e0(0x324)]=_0x371b0e);}get[_0x1a3a6b(0x12f)](){var _0x3e563d=_0x1a3a6b;return this[_0x3e563d(0xb5)];}async[_0x1a3a6b(0xce)](){var _0x464c7b=_0x1a3a6b;if(this[_0x464c7b(0x12f)])throw new Error(_0x464c7b(0x27e));await this[_0x464c7b(0x1c3)]();}[_0x1a3a6b(0x35e)](){return this['_collaborationPaused']=!0x0,_0x19a661(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}['onLocalMutation'](_0x3b8bbc){var _0x4e4989=_0x1a3a6b;this[_0x4e4989(0x2d2)](_0x3b8bbc);}['_updateState'](_0x2b7aaf){var _0x15c9f6=_0x1a3a6b;this[_0x15c9f6(0xb5)]=_0x2b7aaf,this[_0x15c9f6(0x20e)]['next'](_0x2b7aaf);}async[_0x1a3a6b(0x1c3)](){var _0x524594=_0x1a3a6b,_0x3db72d;this[_0x524594(0x124)](await this['_createInitialState']()),this[_0x524594(0xcc)]&&((_0x3db72d=this['_singleActiveUnitService'])==null||_0x3db72d[_0x524594(0x2ee)](this[_0x524594(0x19d)]),this['disposeWithMe'](this['_singleActiveUnitService'][_0x524594(0x172)](this[_0x524594(0x19d)])[_0x524594(0x175)](_0x50a967=>{var _0x4ae21e=_0x524594;this[_0x4ae21e(0x2d8)][_0x4ae21e(0x154)]('[CollaborationEntity]','editing\x20status\x20changed\x20to',_0x50a967),_0x50a967===bi['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x4ae21e(0x2fe)]({'id':se[_0x4ae21e(0x15b)]}),this[_0x4ae21e(0x9b)][_0x4ae21e(0xdd)](new _0x56b9cd(this[_0x4ae21e(0x19d)])['id'],!0x1),this[_0x4ae21e(0x9b)][_0x4ae21e(0xed)](!0x1)):(this[_0x4ae21e(0x9b)]['updatePermissionPoint'](new _0x56b9cd(this[_0x4ae21e(0x19d)])['id'],!0x0),this[_0x4ae21e(0x9b)][_0x4ae21e(0xed)](!0x0));})));let _0x574785=!0x1;return this[_0x524594(0x375)](this[_0x524594(0x259)][_0x524594(0x28e)]['subscribe'](_0xb411ab=>{var _0x4bbf96=_0x524594;_0xb411ab===Te[_0x4bbf96(0xe1)]?this[_0x4bbf96(0x155)](_0x574785):_0xb411ab===Te['OFFLINE']&&(_0x574785=!0x0,this['_toggleOffline']());})),this[_0x524594(0x375)](this[_0x524594(0x259)]['event$'][_0x524594(0x175)](_0x55cb8e=>{var _0x4f1e38=_0x524594;try{switch(_0x55cb8e[_0x4f1e38(0xb3)]){case _0x12854d['NEW_CHANGESETS']:{this[_0x4f1e38(0x2b9)](_0x4651b7(_0x55cb8e['data']));break;}case _0x12854d[_0x4f1e38(0x162)]:{this[_0x4f1e38(0x24c)](_0x55cb8e[_0x4f1e38(0x22a)]);break;}case _0x12854d['CHANGESET_REJ']:{this['_onRemoteRejected']();break;}case _0x12854d['CHANGESET_SHOULD_RETRY']:{this['_onRemoteRetry'](_0x55cb8e[_0x4f1e38(0x22a)]);break;}case _0x12854d['PSEUDO_FETCH_MISSING_RESULT']:{this['_onFetchMissResult'](_0x55cb8e[_0x4f1e38(0x22a)]['changesets']['map'](_0x98829b=>_0x4651b7(_0x98829b)));break;}case _0x12854d[_0x4f1e38(0x280)]:{this[_0x4f1e38(0x31d)]({'isPermissionRej':!0x0});break;}case _0x12854d[_0x4f1e38(0x367)]:break;}}catch(_0x869fdd){throw console['error'](_0x4f1e38(0x306),_0x869fdd),_0x869fdd;}})),this[_0x524594(0xb5)];}['_unlockTransition'](){var _0x1f709d=_0x1a3a6b;this[_0x1f709d(0x200)]=!0x1;}['_lockTransition'](){var _0x5c46a9=_0x1a3a6b;if(this[_0x5c46a9(0x200)])throw new Error(_0x5c46a9(0x330));this[_0x5c46a9(0x200)]=!0x0;}[_0x1a3a6b(0x2d2)](_0x44f2d0){var _0x4ffa2b=_0x1a3a6b;this['_lockTransition'](),this[_0x4ffa2b(0x124)](this[_0x4ffa2b(0xb5)]['appendMutation'](_0x44f2d0)),this[_0x4ffa2b(0x335)]();}[_0x1a3a6b(0x2b9)](_0x2dae7e){var _0x168db5=_0x1a3a6b;if(!(_0x2dae7e['revision']<=this['_revisionService'][_0x168db5(0x166)](this['unitID']))){if(this['_collaborationPaused']){this['_remoteChangesetQueue'][_0x168db5(0x126)](_0x2dae7e);return;}this[_0x168db5(0x1fb)](_0x2dae7e);}}['_exhaustRemoteChangesetQueue'](){var _0x3cce74=_0x1a3a6b;this['_remoteChangesetQueue'][_0x3cce74(0x33c)](_0x103109=>this[_0x3cce74(0x1fb)](_0x103109)),this['_remoteChangesetQueue']=[];}[_0x1a3a6b(0x1fb)](_0x182844){var _0x26091c=_0x1a3a6b;const _0x344ed2=this['_compressMutationService']['interceptor'][_0x26091c(0x384)](this[_0x26091c(0xad)][_0x26091c(0x2a0)][_0x26091c(0x2ae)]()[_0x26091c(0x1b8)])(_0x182844['mutations'],null)||_0x182844['mutations'],_0x423702={..._0x182844,'mutations':_0x344ed2};this[_0x26091c(0x165)](),this[_0x26091c(0x124)](this[_0x26091c(0xb5)][_0x26091c(0x2e7)](_0x423702)),this[_0x26091c(0x335)]();}[_0x1a3a6b(0x24c)](_0x2cafab){var _0x426ba0=_0x1a3a6b;this[_0x426ba0(0x165)](),this[_0x426ba0(0x124)](this['_state']['onRemoteAck'](_0x2cafab)),this[_0x426ba0(0x335)]();}[_0x1a3a6b(0x31d)](_0x11d909){var _0x530ce5=_0x1a3a6b;this[_0x530ce5(0x165)](),this[_0x530ce5(0x124)](this[_0x530ce5(0xb5)]['onRemoteRej'](_0x11d909)),this[_0x530ce5(0x335)]();}['_onRemoteRetry'](_0xd11182){var _0x2ecf65=_0x1a3a6b;this[_0x2ecf65(0x165)](),this[_0x2ecf65(0x124)](this[_0x2ecf65(0xb5)]['onRemoteRetry'](_0xd11182)),this['_unlockTransition']();}['_onFetchMissResult'](_0x3b8e36){var _0x1b0838=_0x1a3a6b;if(!(this[_0x1b0838(0xb5)]instanceof te))throw new TypeError(_0x1b0838(0x2f0));const _0x4649f2=_0x3b8e36[_0x1b0838(0x302)](_0xe5a83b=>{var _0x1117d4=_0x1b0838;const _0x1125f5=this[_0x1117d4(0xad)][_0x1117d4(0x2a0)][_0x1117d4(0x384)](this[_0x1117d4(0xad)][_0x1117d4(0x2a0)][_0x1117d4(0x2ae)]()[_0x1117d4(0x1b8)])(_0xe5a83b['mutations'],null)||_0xe5a83b[_0x1117d4(0x142)];return{..._0xe5a83b,'mutations':_0x1125f5};});this[_0x1b0838(0x165)](),this[_0x1b0838(0x124)](this[_0x1b0838(0xb5)][_0x1b0838(0x1f4)](_0x4649f2)),this[_0x1b0838(0x335)]();}['_toggleOffline'](){var _0x25d210=_0x1a3a6b;this[_0x25d210(0x165)](),this['_updateState'](this[_0x25d210(0xb5)][_0x25d210(0x281)]()),this[_0x25d210(0x335)]();}[_0x1a3a6b(0x155)](_0x2b889b=!0x1){var _0x4b0064=_0x1a3a6b;this[_0x4b0064(0x165)](),this[_0x4b0064(0x124)](this[_0x4b0064(0xb5)][_0x4b0064(0x250)]()),this[_0x4b0064(0x335)]();const _0x49fcb9=this[_0x4b0064(0xb5)];_0x2b889b&&_0x49fcb9 instanceof De&&(this['_lockTransition'](),this[_0x4b0064(0x124)](_0x49fcb9[_0x4b0064(0x1c4)]()),this[_0x4b0064(0x335)]());}async[_0x1a3a6b(0x2dc)](){return new Promise(_0xc66418=>{var _0x11c651=_0x2c36;this['session']['sessionStatus$'][_0x11c651(0x114)](_0x4ef5b4(0x1))[_0x11c651(0x175)](async _0x470de8=>{var _0x3f6f20=_0x11c651;_0xc66418(await this[_0x3f6f20(0x2bf)](_0x470de8===Te[_0x3f6f20(0xe1)]));});});}[_0x1a3a6b(0x1a2)](){var _0xdfcb4=_0x1a3a6b;const _0x2a303b=this[_0xdfcb4(0x19d)];return{'onStateChange':(_0x590717,_0x541ec8)=>{var _0x426084=_0xdfcb4;if(_0x590717!==this[_0x426084(0xb5)])throw new Error(_0x426084(0x30e)+_0x590717[_0x426084(0x39a)]+_0x426084(0x29e)+_0x541ec8['status']+_0x426084(0xf8)+this[_0x426084(0xb5)][_0x426084(0x39a)]);this[_0x426084(0x124)](_0x541ec8);},'onSendChangeset':_0x3a5c5a=>{var _0x518455=_0xdfcb4;_0x3a5c5a[_0x518455(0x299)]||(_0x3a5c5a[_0x518455(0x299)]=this[_0x518455(0x385)],_0x3a5c5a[_0x518455(0x27c)]=++this[_0x518455(0x1a6)]);const _0x2520db={'eventID':_0x12854d['SUBMIT_CHANGESET'],'data':{'unitID':_0x3a5c5a['unitID'],'unitType':this[_0x518455(0x195)],'changeset':_0x3a5c5a,'memberID':this[_0x518455(0x259)][_0x518455(0xa9)]()}};this[_0x518455(0x259)][_0x518455(0x174)](_0x2520db,this[_0x518455(0x19d)]);},'onMissingChangesets':({from:_0x184d77,to:_0x37b752})=>{var _0x2e8122=_0xdfcb4;this[_0x2e8122(0x2d8)][_0x2e8122(0x154)](_0x2e8122(0x368),'fetching\x20missing\x20changesets\x20from\x20'+_0x184d77+_0x2e8122(0x314)+_0x37b752);const _0x39eb2a={'eventID':_0x12854d[_0x2e8122(0x2b7)],'data':{'unitID':_0x2a303b,'unitType':this['_type'],'from':_0x184d77,'to':_0x37b752}};this[_0x2e8122(0x259)][_0x2e8122(0x174)](_0x39eb2a,this['unitID']);}};}async[_0x1a3a6b(0x2bf)](_0xd004f2){var _0x50d15e=_0x1a3a6b,_0x47aa1f,_0x13688b,_0x278ad9;const _0x3a2511=await((_0x47aa1f=this[_0x50d15e(0x324)])==null?void 0x0:_0x47aa1f['loadOfflineData'](this[_0x50d15e(0x19d)])),_0x18d5f2=(_0x13688b=_0x3a2511==null?void 0x0:_0x3a2511[_0x50d15e(0x142)])!=null?_0x13688b:[],_0x2871f4=(_0x278ad9=_0x3a2511==null?void 0x0:_0x3a2511[_0x50d15e(0x1c1)])!=null?_0x278ad9:null,_0x58cde1=!!(_0x2871f4!=null&&_0x2871f4[_0x50d15e(0x299)])&&!!(_0x2871f4!=null&&_0x2871f4[_0x50d15e(0x27c)]);this[_0x50d15e(0x385)]=_0x58cde1?_0x2871f4[_0x50d15e(0x299)]:sr(),this[_0x50d15e(0x1a6)]=_0x58cde1?_0x2871f4['reqId']:0x0;const _0x323643=this[_0x50d15e(0x19d)];try{this[_0x50d15e(0xf7)](_0x2871f4,_0x18d5f2);}catch(_0x3bd28f){this['_logService'][_0x50d15e(0x362)](_0x3bd28f);}const _0x22396a=this[_0x50d15e(0x1a2)]();if(_0xd004f2){const _0x2c2ad0=Di(this[_0x50d15e(0x353)],_0x323643,this[_0x50d15e(0x195)],_0x2871f4,_0x18d5f2,_0x22396a);return _0x2c2ad0 instanceof oe?_0x2c2ad0[_0x50d15e(0x20c)]():(_0x2c2ad0 instanceof ae||_0x2c2ad0 instanceof ue)&&_0x2c2ad0[_0x50d15e(0x36f)](),_0x2c2ad0;}return this[_0x50d15e(0x353)][_0x50d15e(0x2e6)](fe,_0x323643,this[_0x50d15e(0x195)],_0x2871f4,_0x18d5f2,_0x22396a);}[_0x1a3a6b(0xf7)](_0x14e929,_0x13e0f8){var _0x31f298=_0x1a3a6b,_0x47e4fc,_0x1cee10;const _0x2cef3a=this[_0x31f298(0xad)][_0x31f298(0x2a0)][_0x31f298(0x384)](this[_0x31f298(0xad)][_0x31f298(0x2a0)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x47e4fc=_0x2cef3a((_0x14e929==null?void 0x0:_0x14e929[_0x31f298(0x142)])||[],null))==null||_0x47e4fc['forEach'](_0x2365b9=>this[_0x31f298(0x16e)][_0x31f298(0x2d9)](_0x2365b9['id'],_0x2365b9[_0x31f298(0x1ed)])),(_0x1cee10=_0x2cef3a(_0x13e0f8||[],null))==null||_0x1cee10[_0x31f298(0x33c)](_0x35083b=>this[_0x31f298(0x16e)][_0x31f298(0x2d9)](_0x35083b['id'],_0x35083b[_0x31f298(0x1ed)]));}};nt=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(pe)),k(0x8,_0x1ca28b),k(0x9,_0x572fdd),k(0xa,_0x4ebb7c),k(0xb,_0x27b19f(ht)),k(0xc,_0x27b19f(J))],nt);let Tt=class extends nt{constructor(_0x28e11f,_0x281a28,_0x592fc2,_0x2a8ad7,_0x33986c,_0xb5066,_0x21046a,_0x1c75c3,_0x57fa94,_0x4e2d71,_0x4630d3,_0x4f8a9b,_0x4f0ebb){var _0x5048b6=_0x1a3a6b;super(_0x28e11f,_0x592fc2,_0x281a28,_0x2a8ad7,_0x33986c,_0xb5066,_0x21046a,_0x1c75c3,_0x57fa94,_0x4e2d71,_0x4630d3,_0x4f8a9b,_0x4f0ebb),N(this,_0x5048b6(0x212),null),(this['unitID']=_0x28e11f,this[_0x5048b6(0x284)]=_0x281a28);}['addHandlerCallback'](_0x4656dc){this['_handlerCallback']=_0x4656dc;}[_0x1a3a6b(0xf0)](){var _0x5cd9a6=_0x1a3a6b;this['_handlerCallback']=null,super[_0x5cd9a6(0xf0)]();}[_0x1a3a6b(0x1a2)](){var _0x8bc3c2=_0x1a3a6b;const _0xb2146b=super[_0x8bc3c2(0x1a2)]();return _0xb2146b[_0x8bc3c2(0xc1)]=_0x3f7638=>{var _0x1cf90a=_0x8bc3c2,_0x49029b,_0x55fb0;return(_0x55fb0=(_0x49029b=this['_handlerCallback'])==null?void 0x0:_0x49029b[_0x1cf90a(0xc1)])==null?void 0x0:_0x55fb0[_0x1cf90a(0x106)](_0x49029b,_0x3f7638);},_0xb2146b['onTransformState']=_0x1a1e35=>{var _0x3804c2=_0x8bc3c2,_0x165585,_0x2e9a34;return(_0x2e9a34=(_0x165585=this['_handlerCallback'])==null?void 0x0:_0x165585[_0x3804c2(0x274)])==null?void 0x0:_0x2e9a34['call'](_0x165585,_0x1a1e35);},_0xb2146b[_0x8bc3c2(0x28b)]=_0x504da4=>{var _0x48edba=_0x8bc3c2,_0x549ee9,_0x2e91a5;return(_0x2e91a5=(_0x549ee9=this[_0x48edba(0x212)])==null?void 0x0:_0x549ee9['onTransformSelections'])==null?void 0x0:_0x2e91a5[_0x48edba(0x106)](_0x549ee9,_0x504da4);},_0xb2146b['onSyncEditingCollabCursor']=_0x34e76b=>{var _0x40ce78=_0x8bc3c2,_0x196d93,_0x453f82;return(_0x453f82=(_0x196d93=this[_0x40ce78(0x212)])==null?void 0x0:_0x196d93['onSyncEditingCollabCursor'])==null?void 0x0:_0x453f82[_0x40ce78(0x106)](_0x196d93,_0x34e76b);},_0xb2146b[_0x8bc3c2(0x121)]=_0x121486=>{var _0x4efc47=_0x8bc3c2,_0x5a5cd7,_0x14428f,_0x254705;if(!((_0x5a5cd7=this[_0x4efc47(0x212)])!=null&&_0x5a5cd7['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4efc47(0x207));return(_0x254705=(_0x14428f=this[_0x4efc47(0x212)])==null?void 0x0:_0x14428f[_0x4efc47(0x121)])==null?void 0x0:_0x254705['call'](_0x14428f,_0x121486);},_0xb2146b['onTransformRemoteChangesetByStateCache']=_0x5f4688=>{var _0x2f6b41=_0x8bc3c2,_0x4b5552,_0x28d7c2,_0x122d86;if(!((_0x4b5552=this[_0x2f6b41(0x212)])!=null&&_0x4b5552[_0x2f6b41(0xd2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x122d86=(_0x28d7c2=this[_0x2f6b41(0x212)])==null?void 0x0:_0x28d7c2[_0x2f6b41(0xd2)])==null?void 0x0:_0x122d86[_0x2f6b41(0x106)](_0x28d7c2,_0x5f4688);},_0xb2146b;}async[_0x1a3a6b(0x1c3)](){var _0xf67ca5=_0x1a3a6b;const _0x10b050=await super[_0xf67ca5(0x1c3)]();return this['disposeWithMe'](this[_0xf67ca5(0x16e)][_0xf67ca5(0x214)]((_0x286fe2,_0x1f96a7)=>{var _0x3cb28c=_0xf67ca5;if(_0x286fe2[_0x3cb28c(0x284)]!==_0x1d7b02[_0x3cb28c(0x141)]||_0x1f96a7!=null&&_0x1f96a7[_0x3cb28c(0x21b)]||_0x1f96a7!=null&&_0x1f96a7[_0x3cb28c(0x2e1)]||_0x286fe2['id']===_0x39055c['id'])return;const _0x1a29da=_0x286fe2['params'];if((_0x1a29da==null?void 0x0:_0x1a29da['unitId'])!==this[_0x3cb28c(0x19d)])return;const _0x5ac4d6=_0x286fe2,_0x40ee46=this[_0x3cb28c(0xad)][_0x3cb28c(0x2a0)]['fetchThroughInterceptors'](this[_0x3cb28c(0xad)]['interceptor'][_0x3cb28c(0x2ae)]()[_0x3cb28c(0x10f)])([_0x5ac4d6],null)||[_0x5ac4d6];this['_onLocalMutation'](_0x40ee46[0x0]);})),_0x10b050;}};Tt=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(pe)),k(0x8,_0x1ca28b),k(0x9,_0x572fdd),k(0xa,_0x4ebb7c),k(0xb,_0x27b19f(ht)),k(0xc,_0x27b19f(J))],Tt);let Ct=class extends nt{constructor(_0x458474,_0x5acd81,_0x2b8e2e,_0x352899,_0x2e32f5,_0xc069d3,_0x4f6d90,_0x1470ad,_0x6b61b9,_0x1240f0,_0x5270ec,_0x1923f3,_0x530fd6,_0xb8ae30){var _0x4e3927=_0x1a3a6b;super(_0x458474,_0x2b8e2e,_0x5acd81,_0x352899,_0x2e32f5,_0xc069d3,_0x4f6d90,_0x6b61b9,_0x1240f0,_0x5270ec,_0x1923f3,_0x530fd6,_0xb8ae30),this[_0x4e3927(0x19d)]=_0x458474,this[_0x4e3927(0x284)]=_0x5acd81,this[_0x4e3927(0xc5)]=_0x1470ad;}['_createHandler'](){var _0x2dc4bd=_0x1a3a6b;const _0x29bff4=super[_0x2dc4bd(0x1a2)]();return _0x29bff4['onTransformSelections']=_0x39dab5=>this[_0x2dc4bd(0xc5)][_0x2dc4bd(0x197)](_0x39dab5),_0x29bff4;}async['_init'](){var _0x5ab50d=_0x1a3a6b;const _0x448dc1=await super[_0x5ab50d(0x1c3)]();return this[_0x5ab50d(0x375)](this[_0x5ab50d(0x16e)][_0x5ab50d(0x214)]((_0x4ae467,_0x1aacdf)=>{var _0x2b7fdc=_0x5ab50d;if(_0x4ae467['type']!==_0x1d7b02[_0x2b7fdc(0x141)]||_0x1aacdf!=null&&_0x1aacdf['fromCollab']||_0x1aacdf!=null&&_0x1aacdf[_0x2b7fdc(0x2e1)])return;const _0x5183f1=_0x4ae467[_0x2b7fdc(0x1ed)];if((_0x5183f1==null?void 0x0:_0x5183f1[_0x2b7fdc(0x1fc)])!==this[_0x2b7fdc(0x19d)])return;const _0x364702=_0x4ae467,_0x521d8a=this[_0x2b7fdc(0xad)][_0x2b7fdc(0x2a0)]['fetchThroughInterceptors'](this[_0x2b7fdc(0xad)]['interceptor'][_0x2b7fdc(0x2ae)]()['COMPRESS_MUTATION_SEND'])([_0x364702],null)||[_0x364702];this[_0x2b7fdc(0x2d2)](_0x521d8a[0x0]);})),_0x448dc1;}};Ct=Lt([k(0x3,_0x5eebc2(_0x54e9ab)),k(0x4,_0x5eebc2(_0x55750e)),k(0x5,_0x5eebc2(_0x3c43d2)),k(0x6,_0x5eebc2(_0x5b78cb)),k(0x7,_0x5eebc2(it)),k(0x8,_0x5eebc2(pe)),k(0x9,_0x1ca28b),k(0xa,_0x572fdd),k(0xb,_0x4ebb7c),k(0xc,_0x27b19f(ht)),k(0xd,_0x27b19f(J))],Ct);var mr=Object[_0x1a3a6b(0x1fd)],gr=Object[_0x1a3a6b(0xf3)],Sr=(_0x54234c,_0x14b6de,_0x3ad212,_0x17ea98)=>{for(var _0x51c9bf=_0x17ea98>0x1?void 0x0:_0x17ea98?gr(_0x14b6de,_0x3ad212):_0x14b6de,_0xcfe6c3=_0x54234c['length']-0x1,_0x23b843;_0xcfe6c3>=0x0;_0xcfe6c3--)(_0x23b843=_0x54234c[_0xcfe6c3])&&(_0x51c9bf=(_0x17ea98?_0x23b843(_0x14b6de,_0x3ad212,_0x51c9bf):_0x23b843(_0x51c9bf))||_0x51c9bf);return _0x17ea98&&_0x51c9bf&&mr(_0x14b6de,_0x3ad212,_0x51c9bf),_0x51c9bf;},ft=(_0x55d8f8,_0x11abd6)=>(_0x33e824,_0x31d1df)=>_0x11abd6(_0x33e824,_0x31d1df,_0x55d8f8);let rt=class extends _0x20578d{constructor(_0x58d773,_0x4b6a8e,_0x297861){var _0xf66fca=_0x1a3a6b;super(),N(this,_0xf66fca(0x364),new Map()),N(this,_0xf66fca(0xde),new _0x1b9930()),N(this,_0xf66fca(0x223),this[_0xf66fca(0xde)][_0xf66fca(0x9d)]()),(this[_0xf66fca(0x353)]=_0x58d773,this['_collabSessionService']=_0x4b6a8e,this[_0xf66fca(0x1d5)]=_0x297861,this[_0xf66fca(0x1c3)]());}[_0x1a3a6b(0xf0)](){var _0x4cd9a8=_0x1a3a6b;super[_0x4cd9a8(0xf0)](),this['_entities'][_0x4cd9a8(0x33c)](_0xa4c07e=>_0xa4c07e[_0x4cd9a8(0xf0)]()),this['_entities']['clear']();}['getCollabEntity'](_0x3454fb){var _0x3e377a=_0x1a3a6b,_0x4f1a05;return(_0x4f1a05=this[_0x3e377a(0x364)]['get'](_0x3454fb))!=null?_0x4f1a05:null;}[_0x1a3a6b(0x2d0)](_0x245720){var _0x25742d=_0x1a3a6b;const _0x5cd529=this[_0x25742d(0x2e2)](_0x245720);return _0x5cd529?_0x3a6100(_0x5cd529):this[_0x25742d(0xde)][_0x25742d(0x114)](_0x5cfa46(_0x7a1ad9=>_0x7a1ad9['unitID']===_0x245720));}['readyForCollab'](_0x5012ac){var _0x507b0f=_0x1a3a6b;return _0x530861(this[_0x507b0f(0x2d0)](_0x5012ac)['pipe'](_0x15b0db(()=>{})));}['_init'](){var _0x2926cb=_0x1a3a6b;this[_0x2926cb(0x1d5)][_0x2926cb(0x102)](_0x520b34[_0x2926cb(0x2c4)])[_0x2926cb(0x114)](_0x1131f9(this[_0x2926cb(0x15a)]),_0x1309f4(0x10))['subscribe'](async _0xec1654=>{var _0x1806a2=_0x2926cb;const _0x3483bf=_0xec1654[_0x1806a2(0x31c)](),_0x255651=await this[_0x1806a2(0x113)](_0x3483bf,Q['UNIVER_SHEET']);this[_0x1806a2(0x364)][_0x1806a2(0x389)](_0x3483bf,_0x255651);}),this[_0x2926cb(0x1d5)][_0x2926cb(0x102)](_0x520b34[_0x2926cb(0xef)])[_0x2926cb(0x114)](_0x1131f9(this['dispose$']),_0x1309f4(0x10))[_0x2926cb(0x114)](_0x5cfa46(_0x497ce9=>!_0x497ce9[_0x2926cb(0x31c)]()['startsWith']('__')))[_0x2926cb(0x175)](async _0x159a30=>{var _0x59d12e=_0x2926cb;const _0x244a3b=_0x159a30[_0x59d12e(0x31c)](),_0x3cef1b=await this[_0x59d12e(0x113)](_0x244a3b,Q[_0x59d12e(0xef)]);this[_0x59d12e(0x364)]['set'](_0x244a3b,_0x3cef1b);}),_0x56378f(this[_0x2926cb(0x1d5)][_0x2926cb(0x2c3)](_0x520b34['UNIVER_SHEET']),this[_0x2926cb(0x1d5)]['getTypeOfUnitDisposed$'](_0x520b34[_0x2926cb(0xef)]))[_0x2926cb(0x114)](_0x1131f9(this['dispose$']))[_0x2926cb(0x175)](_0x5d3adf=>{var _0x5b5e1c=_0x2926cb;const _0x1afac4=_0x5d3adf[_0x5b5e1c(0x31c)](),_0x266be1=this[_0x5b5e1c(0x364)][_0x5b5e1c(0x2f9)](_0x1afac4);_0x266be1&&(_0x266be1['dispose'](),this[_0x5b5e1c(0x364)][_0x5b5e1c(0xf4)](_0x1afac4));});}async[_0x1a3a6b(0x113)](_0x41f96e,_0x2f5815){var _0x2ca2da=_0x1a3a6b;const _0x24a739=await this[_0x2ca2da(0x38b)][_0x2ca2da(0x22b)](_0x41f96e),_0x59d169=this['_injector'][_0x2ca2da(0x2e6)](this[_0x2ca2da(0x157)](_0x2f5815),_0x41f96e,_0x2f5815,_0x24a739);return await _0x59d169[_0x2ca2da(0xce)](),this[_0x2ca2da(0xde)][_0x2ca2da(0x182)](_0x59d169),_0x59d169;}[_0x1a3a6b(0x157)](_0x4865b0){var _0x2b1593=_0x1a3a6b;switch(_0x4865b0){case Q[_0x2b1593(0xef)]:return Tt;case Q[_0x2b1593(0x2c4)]:return Ct;default:throw new Error(_0x2b1593(0x15c)+_0x4865b0);}}};rt=Sr([ft(0x0,_0x5eebc2(_0x54e9ab)),ft(0x1,_0x5eebc2(Le)),ft(0x2,_0x42a1e9)],rt);var Er=Object[_0x1a3a6b(0x1fd)],Ir=Object[_0x1a3a6b(0xf3)],Tr=(_0x2ddb84,_0x306988,_0xda1130,_0x39132c)=>{var _0x3c6044=_0x1a3a6b;for(var _0x51c7af=_0x39132c>0x1?void 0x0:_0x39132c?Ir(_0x306988,_0xda1130):_0x306988,_0x4c5c22=_0x2ddb84[_0x3c6044(0x23f)]-0x1,_0x23f2c4;_0x4c5c22>=0x0;_0x4c5c22--)(_0x23f2c4=_0x2ddb84[_0x4c5c22])&&(_0x51c7af=(_0x39132c?_0x23f2c4(_0x306988,_0xda1130,_0x51c7af):_0x23f2c4(_0x51c7af))||_0x51c7af);return _0x39132c&&_0x51c7af&&Er(_0x306988,_0xda1130,_0x51c7af),_0x51c7af;},Jt=(_0x38ce28,_0x54d2cc)=>(_0x30e58d,_0x49629d)=>_0x54d2cc(_0x30e58d,_0x49629d,_0x38ce28);const Cr=_0x1a3a6b(0xb1),Rr=_0x1a3a6b(0x258);let Rt=class extends _0x15bf0d{constructor(_0x5e8e0c,_0x5101cf){var _0x4ea7b4=_0x1a3a6b;super(),this[_0x4ea7b4(0x1d5)]=_0x5e8e0c,this[_0x4ea7b4(0x2a4)]=_0x5101cf,this['_init']();}[_0x1a3a6b(0x1c3)](){var _0x462f68=_0x1a3a6b;this[_0x462f68(0x375)](this[_0x462f68(0x1d5)][_0x462f68(0x127)]['subscribe'](()=>{var _0x54634a=_0x462f68,_0x4c3f7a;const _0x2eff04=this['_univerInstanceService'][_0x54634a(0x1f5)]();let _0x4c608e=(_0x4c3f7a=this[_0x54634a(0x2a4)][_0x54634a(0x268)](Cr))!=null?_0x4c3f7a:Rr;_0x2eff04 instanceof _0x35a766&&(_0x4c608e=_0x2eff04[_0x54634a(0x236)]),document['title']=_0x4c608e;}));}};Rt=Tr([Jt(0x0,_0x42a1e9),Jt(0x1,_0x4107ea)],Rt);var br=Object['defineProperty'],Or=Object['getOwnPropertyDescriptor'],yr=(_0x40b51f,_0x3f0764,_0x5514f1,_0x4a32bd)=>{var _0x1e0d2d=_0x1a3a6b;for(var _0x5bd20c=_0x4a32bd>0x1?void 0x0:_0x4a32bd?Or(_0x3f0764,_0x5514f1):_0x3f0764,_0x3c8989=_0x40b51f[_0x1e0d2d(0x23f)]-0x1,_0x3207c7;_0x3c8989>=0x0;_0x3c8989--)(_0x3207c7=_0x40b51f[_0x3c8989])&&(_0x5bd20c=(_0x4a32bd?_0x3207c7(_0x3f0764,_0x5514f1,_0x5bd20c):_0x3207c7(_0x5bd20c))||_0x5bd20c);return _0x4a32bd&&_0x5bd20c&&br(_0x3f0764,_0x5514f1,_0x5bd20c),_0x5bd20c;},vt=(_0x561d6f,_0x10cd4e)=>(_0x535525,_0x4d46ce)=>_0x10cd4e(_0x535525,_0x4d46ce,_0x561d6f);let st=class{constructor(_0xc4448f,_0x3f008f,_0x3b25cd){var _0x1bf798=_0x1a3a6b;this[_0x1bf798(0x2a4)]=_0xc4448f,this[_0x1bf798(0xd8)]=_0x3f008f,this[_0x1bf798(0x9c)]=_0x3b25cd,this[_0x1bf798(0xce)]();}[_0x1a3a6b(0xce)](){var _0xafbc5e=_0x1a3a6b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4faf99,_0x45e6ad)=>_0x45e6ad(_0x4faf99)[_0xafbc5e(0x114)](_0x44cc5d(async _0x23480f=>{var _0x21b0ae=_0xafbc5e;const _0x745f07=_0x23480f;if(_0x745f07[_0x21b0ae(0x39a)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x21b0ae(0x118)](this['localeService']['t']('auth.needGotoLoginAlert'))){const _0x92177a=window[_0x21b0ae(0xdc)](window['location']['href']);window[_0x21b0ae(0x11e)][_0x21b0ae(0xb2)]=this[_0x21b0ae(0xfa)]()+'?url='+_0x92177a;}}return _0x745f07;}))});}[_0x1a3a6b(0xfa)](){var _0x559a50=_0x1a3a6b,_0x4df5ff,_0x3d1f4f;const _0x22b3cd=this[_0x559a50(0x2a4)][_0x559a50(0x268)](xn),_0x232fba=this['_configService']['getConfig'](q);return(_0x3d1f4f=(_0x4df5ff=_0x232fba==null?void 0x0:_0x232fba[_0x559a50(0x322)])!=null?_0x4df5ff:_0x22b3cd)!=null?_0x3d1f4f:Ln;}};st=yr([vt(0x0,_0x4107ea),vt(0x1,_0x5eebc2(_0x5b5c45)),vt(0x2,_0x5eebc2(_0x3c43d2))],st);var Nr=Object['defineProperty'],Dr=Object[_0x1a3a6b(0xf3)],Pr=(_0x589a16,_0x4e3b57,_0x4b4f7e,_0x38852d)=>{var _0xe08c08=_0x1a3a6b;for(var _0x221dda=_0x38852d>0x1?void 0x0:_0x38852d?Dr(_0x4e3b57,_0x4b4f7e):_0x4e3b57,_0x1bfcf7=_0x589a16[_0xe08c08(0x23f)]-0x1,_0x9ac8e2;_0x1bfcf7>=0x0;_0x1bfcf7--)(_0x9ac8e2=_0x589a16[_0x1bfcf7])&&(_0x221dda=(_0x38852d?_0x9ac8e2(_0x4e3b57,_0x4b4f7e,_0x221dda):_0x9ac8e2(_0x221dda))||_0x221dda);return _0x38852d&&_0x221dda&&Nr(_0x4e3b57,_0x4b4f7e,_0x221dda),_0x221dda;},Xt=(_0x10b7b7,_0x4a4ad4)=>(_0x30cad7,_0x2c1be8)=>_0x4a4ad4(_0x30cad7,_0x2c1be8,_0x10b7b7);const Pi=_0x1a3a6b(0x28f),wr=_0x1a3a6b(0xe7);let bt=class extends _0x15bf0d{constructor(_0x47fd82,_0x22286e){var _0x2241e3=_0x1a3a6b;super(),this[_0x2241e3(0x1b1)]=_0x47fd82,this[_0x2241e3(0x2a4)]=_0x22286e,this[_0x2241e3(0x103)]();}[_0x1a3a6b(0x103)](){var _0x52a0ea=_0x1a3a6b;const _0x467c71=this;this[_0x52a0ea(0x375)](this[_0x52a0ea(0x1b1)][_0x52a0ea(0x2ac)]({'priority':0x3e7,'interceptor':_0x28dfed({'isMatch'(_0xa229ec){var _0x1e219a=_0x52a0ea,_0x599c9a;if(_0xa229ec[_0x1e219a(0x226)]==='POST'&&((_0x599c9a=_0xa229ec[_0x1e219a(0x146)])!=null&&_0x599c9a[_0x1e219a(0x186)])){const {objectID:_0x3b918e,objectType:_0x145943}=_0xa229ec[_0x1e219a(0x146)][_0x1e219a(0x186)]||{};if(!_0x3b918e||_0x145943===void 0x0)return!0x1;const _0x135648=_0x467c71['_getAPIPrefixPath']()+'/'+_0x145943+_0x1e219a(0x378)+_0x3b918e+_0x1e219a(0x2ec);if(_0xa229ec[_0x1e219a(0x1dd)]===_0x135648)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x200d48){var _0x438b26=_0x52a0ea,_0x1d1595;return(_0x1d1595=_0x200d48[_0x438b26(0x146)])==null?void 0x0:_0x1d1595[_0x438b26(0x186)];},'mergeParamsToRequest'(_0x990564,_0x3506e0){var _0x51e57d=_0x52a0ea;const _0x48c97d=_0x467c71[_0x51e57d(0x233)]()+'/-/object/-/batch_allowed',_0x4b4961=_0x990564[_0x51e57d(0x321)]((_0x220b17,_0x2f3f7e)=>{var _0x5cb19d=_0x51e57d;const {unitID:_0x10cbd4,objectID:_0x159620,objectType:_0xc165d8,actions:_0x4fdb38}=_0x2f3f7e;return _0x220b17[_0x10cbd4]||(_0x220b17[_0x10cbd4]={}),_0x220b17[_0x10cbd4][_0x159620]||(_0x220b17[_0x10cbd4][_0x159620]={'objectID':_0x159620,'objectType':_0xc165d8,'actions':[]}),_0x220b17[_0x10cbd4][_0x159620]['actions'][_0x5cb19d(0x126)](..._0x4fdb38),_0x220b17;},{}),_0x4e4279=[];for(const _0x2b5a1c in _0x4b4961)for(const _0x576928 in _0x4b4961[_0x2b5a1c]){const {actions:_0x39b5e4,objectType:_0x18b3f4}=_0x4b4961[_0x2b5a1c][_0x576928],_0x559be2=[...new Set(_0x39b5e4)];_0x4e4279[_0x51e57d(0x126)]({'unitID':_0x2b5a1c,'objectID':_0x576928,'objectType':_0x18b3f4,'actions':_0x559be2});}return new _0x59d13e('POST',_0x48c97d,{'headers':_0x3506e0[_0x51e57d(0x1db)],'withCredentials':_0x3506e0[_0x51e57d(0x30c)],'responseType':_0x3506e0[_0x51e57d(0x350)],'body':{'requests':_0x4e4279}});}},{'distributeResult'(_0x196c9d,_0x3ae869){var _0x4f1f3a=_0x52a0ea;const {objectActions:_0x1a007e}=_0x196c9d;return _0x3ae869[_0x4f1f3a(0x302)](_0xd5ae3d=>{var _0x503e36=_0x4f1f3a;const {unitID:_0x44d23f,objectID:_0x17c698,actions:_0x5f1b69}=_0xd5ae3d,_0x458d2e=_0x1a007e[_0x503e36(0x14c)](_0x25e05b=>_0x25e05b[_0x503e36(0x19d)]===_0x44d23f&&_0x25e05b[_0x503e36(0x1a9)]===_0x17c698),_0x3e0274=_0x5f1b69[_0x503e36(0x302)](_0x387a9f=>_0x458d2e==null?void 0x0:_0x458d2e['actions'][_0x503e36(0x14c)](_0x5efec6=>_0x5efec6['action']===_0x387a9f))[_0x503e36(0x1eb)](_0xf38151=>!!_0xf38151);return{'config':_0xd5ae3d,'result':{'actions':_0x3e0274,'error':_0x196c9d[_0x503e36(0x362)]}};});}})}));}[_0x1a3a6b(0x233)](){var _0x31269f=_0x1a3a6b,_0x2957de,_0x12e5a1;const _0x47c802=this[_0x31269f(0x2a4)][_0x31269f(0x268)](Pi),_0x4bd683=this[_0x31269f(0x2a4)]['getConfig'](q);return(_0x12e5a1=(_0x2957de=_0x4bd683==null?void 0x0:_0x4bd683[_0x31269f(0x128)])!=null?_0x2957de:_0x47c802)!=null?_0x12e5a1:wr;}async[_0x1a3a6b(0x107)](_0x57f9d3){var _0x17fe59=_0x1a3a6b;const _0x24d1eb=this['_getAPIPrefixPath']()+'/'+_0x57f9d3[_0x17fe59(0xeb)]+'/object';return(await this[_0x17fe59(0x1b1)][_0x17fe59(0x2a5)](_0x24d1eb,{'body':_0x57f9d3}))[_0x17fe59(0x186)][_0x17fe59(0x1a9)]||'';}async[_0x1a3a6b(0x398)](_0x21c5c5){var _0x47f3fa=_0x1a3a6b;const _0x25e430=this['_getAPIPrefixPath']()+_0x47f3fa(0x297);return(await this[_0x47f3fa(0x1b1)][_0x47f3fa(0x2a5)](_0x25e430,{'body':_0x21c5c5}))[_0x47f3fa(0x186)]['objects'];}async[_0x1a3a6b(0x97)](_0xfd6afc){var _0xe9c540=_0x1a3a6b;const _0x23c816=this[_0xe9c540(0x233)]()+'/'+_0xfd6afc[_0xe9c540(0xeb)]+_0xe9c540(0x378)+_0xfd6afc[_0xe9c540(0x1a9)];await this[_0xe9c540(0x1b1)][_0xe9c540(0x19b)](_0x23c816,{'body':_0xfd6afc});}async[_0x1a3a6b(0x34c)](_0xec8ac3){var _0x27dc6a=_0x1a3a6b;const _0x476afa=this['_getAPIPrefixPath']()+'/'+_0xec8ac3[_0x27dc6a(0xeb)]+_0x27dc6a(0x378)+_0xec8ac3['objectID']+_0x27dc6a(0x2ec);return(await this[_0x27dc6a(0x1b1)][_0x27dc6a(0x2a5)](_0x476afa,{'body':_0xec8ac3}))[_0x27dc6a(0x186)]['actions'];}async[_0x1a3a6b(0x293)](_0x38b8a3){var _0x52db7d=_0x1a3a6b;const _0x32baa7=this[_0x52db7d(0x233)]()+'/-/object/-/batch_allowed';return(await this[_0x52db7d(0x1b1)][_0x52db7d(0x2a5)](_0x32baa7,{'body':{'requests':_0x38b8a3}}))[_0x52db7d(0x186)][_0x52db7d(0x36d)];}async[_0x1a3a6b(0x37b)](_0xb9a4ad){var _0x314e2b=_0x1a3a6b;const _0x2c239a=this[_0x314e2b(0x233)]()+'/'+_0xb9a4ad[_0x314e2b(0xeb)]+_0x314e2b(0xdb),_0x418b90=await this[_0x314e2b(0x1b1)]['post'](_0x2c239a,{'body':_0xb9a4ad});return{'roles':_0x418b90[_0x314e2b(0x186)]['roles'],'actions':_0x418b90[_0x314e2b(0x186)][_0x314e2b(0x2ce)]};}async[_0x1a3a6b(0x393)](_0x3fe3fe){var _0xf7f224=_0x1a3a6b;const _0x30b4f8=this[_0xf7f224(0x233)]()+_0xf7f224(0x30f);await this[_0xf7f224(0x1b1)][_0xf7f224(0xf4)](_0x30b4f8,{'params':{'collaboratorID':_0x3fe3fe[_0xf7f224(0x2f2)],'objectID':_0x3fe3fe[_0xf7f224(0x1a9)],'unitID':_0x3fe3fe[_0xf7f224(0x19d)]}});}async[_0x1a3a6b(0x249)](_0x38aa54){var _0x50dbcf=_0x1a3a6b;const _0x9b1522=this[_0x50dbcf(0x233)]()+_0x50dbcf(0x30f);await this['_HTTPService'][_0x50dbcf(0x383)](_0x9b1522,{'body':_0x38aa54});}async['createCollaborator'](_0x57358a){var _0x31f87d=_0x1a3a6b;const _0x2f7fab=this[_0x31f87d(0x233)]()+_0x31f87d(0x30f);await this[_0x31f87d(0x1b1)][_0x31f87d(0x2a5)](_0x2f7fab,{'body':_0x57358a});}async['listCollaborators'](_0x1885bd){var _0xbbfe20=_0x1a3a6b;const _0x37dfdd=this[_0xbbfe20(0x233)]()+_0xbbfe20(0x30f);return(await this[_0xbbfe20(0x1b1)][_0xbbfe20(0x2f9)](_0x37dfdd,{'params':{'objectID':_0x1885bd['objectID'],'unitID':_0x1885bd[_0xbbfe20(0x19d)]}}))[_0xbbfe20(0x186)][_0xbbfe20(0x26e)];}async[_0x1a3a6b(0xa4)](_0xb5a2ea){var _0x34ae2f=_0x1a3a6b;const _0x4f0de4=this['_getAPIPrefixPath']()+_0x34ae2f(0x30f);await this[_0x34ae2f(0x1b1)]['put'](_0x4f0de4,{'body':_0xb5a2ea});}};bt=Pr([Xt(0x0,_0x5eebc2(_0x5b5c45)),Xt(0x1,_0x5eebc2(_0x4107ea))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x46dbca){var _0x3f4e8b=_0x1a3a6b;return _0x46dbca&&_0x46dbca[_0x3f4e8b(0x2cf)]&&Object['prototype'][_0x3f4e8b(0x1fe)][_0x3f4e8b(0x106)](_0x46dbca,'default')?_0x46dbca[_0x3f4e8b(0x294)]:_0x46dbca;}var Ve={'exports':{}};function Ur(_0x23446c){var _0x4ffd38=_0x1a3a6b;throw new Error(_0x4ffd38(0xac)+_0x23446c+_0x4ffd38(0x35d));}var Ge={'exports':{}},Ar=Ge[_0x1a3a6b(0x333)],Zt;function ne(){return Zt||(Zt=0x1,function(_0x916eff,_0x46ec57){(function(_0x52061c,_0x468914){var _0x2db503=_0x2c36;_0x916eff[_0x2db503(0x333)]=_0x468914();}(Ar,function(){var _0x1cfae4=_0x1cfae4||function(_0x4ba442,_0x406689){var _0x2ccb21=_0x2c36,_0x83bc9c;if(typeof window<'u'&&window[_0x2ccb21(0xea)]&&(_0x83bc9c=window[_0x2ccb21(0xea)]),typeof self<'u'&&self['crypto']&&(_0x83bc9c=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2ccb21(0xea)]&&(_0x83bc9c=globalThis[_0x2ccb21(0xea)]),!_0x83bc9c&&typeof window<'u'&&window[_0x2ccb21(0x16a)]&&(_0x83bc9c=window['msCrypto']),!_0x83bc9c&&typeof pt<'u'&&pt['crypto']&&(_0x83bc9c=pt[_0x2ccb21(0xea)]),!_0x83bc9c&&typeof Ur=='function')try{_0x83bc9c=require(_0x2ccb21(0xea));}catch{}var _0x34838b=function(){var _0x2d8dce=_0x2ccb21;if(_0x83bc9c){if(typeof _0x83bc9c[_0x2d8dce(0x311)]=='function')try{return _0x83bc9c[_0x2d8dce(0x311)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x83bc9c['randomBytes']=='function')try{return _0x83bc9c[_0x2d8dce(0x357)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2d8dce(0x2db));},_0x45f04e=Object[_0x2ccb21(0x107)]||(function(){function _0x5c9e8e(){}return function(_0xbbb6aa){var _0x1480fc=_0x2c36,_0x3e383e;return _0x5c9e8e[_0x1480fc(0x366)]=_0xbbb6aa,_0x3e383e=new _0x5c9e8e(),_0x5c9e8e[_0x1480fc(0x366)]=null,_0x3e383e;};}()),_0x519ef8={},_0x4d3365=_0x519ef8['lib']={},_0x46fa82=_0x4d3365[_0x2ccb21(0xca)]=(function(){return{'extend':function(_0x4dedaa){var _0x1d8ebf=_0x2c36,_0x1af602=_0x45f04e(this);return _0x4dedaa&&_0x1af602['mixIn'](_0x4dedaa),(!_0x1af602['hasOwnProperty'](_0x1d8ebf(0xce))||this[_0x1d8ebf(0xce)]===_0x1af602[_0x1d8ebf(0xce)])&&(_0x1af602[_0x1d8ebf(0xce)]=function(){var _0x5a5454=_0x1d8ebf;_0x1af602['$super'][_0x5a5454(0xce)][_0x5a5454(0x12e)](this,arguments);}),_0x1af602['init'][_0x1d8ebf(0x366)]=_0x1af602,_0x1af602[_0x1d8ebf(0x38f)]=this,_0x1af602;},'create':function(){var _0x43589d=_0x2c36,_0x505acd=this[_0x43589d(0x2c2)]();return _0x505acd[_0x43589d(0xce)][_0x43589d(0x12e)](_0x505acd,arguments),_0x505acd;},'init':function(){},'mixIn':function(_0x59d94e){var _0x3026f7=_0x2c36;for(var _0x4849ab in _0x59d94e)_0x59d94e[_0x3026f7(0x1fe)](_0x4849ab)&&(this[_0x4849ab]=_0x59d94e[_0x4849ab]);_0x59d94e[_0x3026f7(0x1fe)]('toString')&&(this[_0x3026f7(0x377)]=_0x59d94e['toString']);},'clone':function(){var _0x2e6e2a=_0x2c36;return this[_0x2e6e2a(0xce)][_0x2e6e2a(0x366)][_0x2e6e2a(0x2c2)](this);}};}()),_0x4af3e5=_0x4d3365[_0x2ccb21(0x32c)]=_0x46fa82[_0x2ccb21(0x2c2)]({'init':function(_0x4e83eb,_0x71e548){var _0x55499c=_0x2ccb21;_0x4e83eb=this[_0x55499c(0x11d)]=_0x4e83eb||[],_0x71e548!=_0x406689?this['sigBytes']=_0x71e548:this['sigBytes']=_0x4e83eb[_0x55499c(0x23f)]*0x4;},'toString':function(_0x2b1631){var _0x398212=_0x2ccb21;return(_0x2b1631||_0x261d1b)[_0x398212(0x1d1)](this);},'concat':function(_0x523310){var _0x4d94c9=_0x2ccb21,_0x1f1500=this[_0x4d94c9(0x11d)],_0x39722f=_0x523310[_0x4d94c9(0x11d)],_0x4ad419=this[_0x4d94c9(0x29f)],_0x38c0be=_0x523310['sigBytes'];if(this[_0x4d94c9(0x269)](),_0x4ad419%0x4)for(var _0x599df2=0x0;_0x599df2<_0x38c0be;_0x599df2++){var _0x547e64=_0x39722f[_0x599df2>>>0x2]>>>0x18-_0x599df2%0x4*0x8&0xff;_0x1f1500[_0x4ad419+_0x599df2>>>0x2]|=_0x547e64<<0x18-(_0x4ad419+_0x599df2)%0x4*0x8;}else{for(var _0xa746f7=0x0;_0xa746f7<_0x38c0be;_0xa746f7+=0x4)_0x1f1500[_0x4ad419+_0xa746f7>>>0x2]=_0x39722f[_0xa746f7>>>0x2];}return this[_0x4d94c9(0x29f)]+=_0x38c0be,this;},'clamp':function(){var _0x5cc78b=_0x2ccb21,_0x5ed02f=this[_0x5cc78b(0x11d)],_0x4e3d3d=this[_0x5cc78b(0x29f)];_0x5ed02f[_0x4e3d3d>>>0x2]&=0xffffffff<<0x20-_0x4e3d3d%0x4*0x8,_0x5ed02f[_0x5cc78b(0x23f)]=_0x4ba442[_0x5cc78b(0x125)](_0x4e3d3d/0x4);},'clone':function(){var _0x2daeb3=_0x2ccb21,_0x2b7eb8=_0x46fa82['clone'][_0x2daeb3(0x106)](this);return _0x2b7eb8[_0x2daeb3(0x11d)]=this[_0x2daeb3(0x11d)][_0x2daeb3(0x337)](0x0),_0x2b7eb8;},'random':function(_0x4efbce){var _0x4c5c10=_0x2ccb21;for(var _0x2da1d0=[],_0x1c897f=0x0;_0x1c897f<_0x4efbce;_0x1c897f+=0x4)_0x2da1d0[_0x4c5c10(0x126)](_0x34838b());return new _0x4af3e5[(_0x4c5c10(0xce))](_0x2da1d0,_0x4efbce);}}),_0x2dabf4=_0x519ef8[_0x2ccb21(0x111)]={},_0x261d1b=_0x2dabf4['Hex']={'stringify':function(_0x1c4843){var _0x2774ea=_0x2ccb21;for(var _0x347108=_0x1c4843[_0x2774ea(0x11d)],_0x159422=_0x1c4843[_0x2774ea(0x29f)],_0x283a18=[],_0x4925f0=0x0;_0x4925f0<_0x159422;_0x4925f0++){var _0x23e188=_0x347108[_0x4925f0>>>0x2]>>>0x18-_0x4925f0%0x4*0x8&0xff;_0x283a18['push']((_0x23e188>>>0x4)[_0x2774ea(0x377)](0x10)),_0x283a18['push']((_0x23e188&0xf)['toString'](0x10));}return _0x283a18[_0x2774ea(0x224)]('');},'parse':function(_0x25c5bc){var _0x1b5cf2=_0x2ccb21;for(var _0x265a05=_0x25c5bc[_0x1b5cf2(0x23f)],_0x429282=[],_0x59fcd=0x0;_0x59fcd<_0x265a05;_0x59fcd+=0x2)_0x429282[_0x59fcd>>>0x3]|=parseInt(_0x25c5bc[_0x1b5cf2(0x105)](_0x59fcd,0x2),0x10)<<0x18-_0x59fcd%0x8*0x4;return new _0x4af3e5[(_0x1b5cf2(0xce))](_0x429282,_0x265a05/0x2);}},_0x45c1f0=_0x2dabf4[_0x2ccb21(0x13e)]={'stringify':function(_0x12a355){var _0x275ae6=_0x2ccb21;for(var _0x25df2d=_0x12a355[_0x275ae6(0x11d)],_0x3d6e5d=_0x12a355[_0x275ae6(0x29f)],_0x39af59=[],_0x1bd10b=0x0;_0x1bd10b<_0x3d6e5d;_0x1bd10b++){var _0x5bae96=_0x25df2d[_0x1bd10b>>>0x2]>>>0x18-_0x1bd10b%0x4*0x8&0xff;_0x39af59[_0x275ae6(0x126)](String[_0x275ae6(0x2f7)](_0x5bae96));}return _0x39af59['join']('');},'parse':function(_0x36ddd4){for(var _0x20163f=_0x36ddd4['length'],_0x3b93a9=[],_0x1ea617=0x0;_0x1ea617<_0x20163f;_0x1ea617++)_0x3b93a9[_0x1ea617>>>0x2]|=(_0x36ddd4['charCodeAt'](_0x1ea617)&0xff)<<0x18-_0x1ea617%0x4*0x8;return new _0x4af3e5['init'](_0x3b93a9,_0x20163f);}},_0x42a06f=_0x2dabf4[_0x2ccb21(0x232)]={'stringify':function(_0x4d6cbb){var _0x149cfe=_0x2ccb21;try{return decodeURIComponent(escape(_0x45c1f0[_0x149cfe(0x1d1)](_0x4d6cbb)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x82561f){return _0x45c1f0['parse'](unescape(encodeURIComponent(_0x82561f)));}},_0x3296c9=_0x4d3365[_0x2ccb21(0x33e)]=_0x46fa82[_0x2ccb21(0x2c2)]({'reset':function(){var _0x37e46c=_0x2ccb21;this[_0x37e46c(0x1f6)]=new _0x4af3e5[(_0x37e46c(0xce))](),this[_0x37e46c(0x320)]=0x0;},'_append':function(_0x52b58f){var _0xe5e851=_0x2ccb21;typeof _0x52b58f==_0xe5e851(0x35a)&&(_0x52b58f=_0x42a06f[_0xe5e851(0x119)](_0x52b58f)),this['_data'][_0xe5e851(0x9a)](_0x52b58f),this['_nDataBytes']+=_0x52b58f['sigBytes'];},'_process':function(_0x375e46){var _0x2a1d80=_0x2ccb21,_0x166be7,_0x1b02d6=this[_0x2a1d80(0x1f6)],_0x4e12bb=_0x1b02d6[_0x2a1d80(0x11d)],_0x350ce6=_0x1b02d6[_0x2a1d80(0x29f)],_0x42fe18=this[_0x2a1d80(0x241)],_0xea3a8d=_0x42fe18*0x4,_0x515579=_0x350ce6/_0xea3a8d;_0x375e46?_0x515579=_0x4ba442[_0x2a1d80(0x125)](_0x515579):_0x515579=_0x4ba442[_0x2a1d80(0x344)]((_0x515579|0x0)-this[_0x2a1d80(0x138)],0x0);var _0x46dd29=_0x515579*_0x42fe18,_0x41b2c0=_0x4ba442[_0x2a1d80(0x2ca)](_0x46dd29*0x4,_0x350ce6);if(_0x46dd29){for(var _0x163bc0=0x0;_0x163bc0<_0x46dd29;_0x163bc0+=_0x42fe18)this[_0x2a1d80(0x129)](_0x4e12bb,_0x163bc0);_0x166be7=_0x4e12bb['splice'](0x0,_0x46dd29),_0x1b02d6['sigBytes']-=_0x41b2c0;}return new _0x4af3e5['init'](_0x166be7,_0x41b2c0);},'clone':function(){var _0x21914e=_0x2ccb21,_0x4ca004=_0x46fa82['clone']['call'](this);return _0x4ca004[_0x21914e(0x1f6)]=this[_0x21914e(0x1f6)]['clone'](),_0x4ca004;},'_minBufferSize':0x0});_0x4d3365['Hasher']=_0x3296c9[_0x2ccb21(0x2c2)]({'cfg':_0x46fa82[_0x2ccb21(0x2c2)](),'init':function(_0x77d991){var _0xc776c7=_0x2ccb21;this[_0xc776c7(0x173)]=this[_0xc776c7(0x173)][_0xc776c7(0x2c2)](_0x77d991),this[_0xc776c7(0x2c0)]();},'reset':function(){var _0x317da4=_0x2ccb21;_0x3296c9[_0x317da4(0x2c0)][_0x317da4(0x106)](this),this['_doReset']();},'update':function(_0x39702d){var _0x14ddaa=_0x2ccb21;return this['_append'](_0x39702d),this[_0x14ddaa(0x21f)](),this;},'finalize':function(_0x2d7655){var _0x28919a=_0x2ccb21;_0x2d7655&&this[_0x28919a(0x28c)](_0x2d7655);var _0x52f52c=this[_0x28919a(0x272)]();return _0x52f52c;},'blockSize':0x10,'_createHelper':function(_0x131979){return function(_0x3c294e,_0x2e9c71){var _0x23a49a=_0x2c36;return new _0x131979['init'](_0x2e9c71)[_0x23a49a(0x2da)](_0x3c294e);};},'_createHmacHelper':function(_0x20de7e){return function(_0xd8a5ad,_0x55ab37){var _0x5096eb=_0x2c36;return new _0x430c36[(_0x5096eb(0xba))][(_0x5096eb(0xce))](_0x20de7e,_0x55ab37)[_0x5096eb(0x2da)](_0xd8a5ad);};}});var _0x430c36=_0x519ef8[_0x2ccb21(0x19a)]={};return _0x519ef8;}(Math);return _0x1cfae4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1a3a6b(0x333)],Qt;function wi(){var _0x1459c0=_0x1a3a6b;return Qt||(Qt=0x1,function(_0x1b5c48,_0x22f48b){(function(_0x3f5d79,_0x1a50c5){var _0x823c17=_0x2c36;_0x1b5c48[_0x823c17(0x333)]=_0x1a50c5(ne());}(xr,function(_0x2cde99){var _0x5010ce=_0x2c36;return(function(){var _0x186754=_0x2c36,_0x59eb5e=_0x2cde99,_0x20ce30=_0x59eb5e[_0x186754(0xe3)],_0x1dd519=_0x20ce30['WordArray'],_0x578257=_0x59eb5e['enc'];_0x578257[_0x186754(0x1fa)]={'stringify':function(_0x37d300){var _0x226327=_0x186754,_0x227b19=_0x37d300['words'],_0x188709=_0x37d300[_0x226327(0x29f)],_0xa15340=this[_0x226327(0x1c2)];_0x37d300[_0x226327(0x269)]();for(var _0x557e86=[],_0x5ef2cd=0x0;_0x5ef2cd<_0x188709;_0x5ef2cd+=0x3)for(var _0x5acc91=_0x227b19[_0x5ef2cd>>>0x2]>>>0x18-_0x5ef2cd%0x4*0x8&0xff,_0x4d5cef=_0x227b19[_0x5ef2cd+0x1>>>0x2]>>>0x18-(_0x5ef2cd+0x1)%0x4*0x8&0xff,_0x1141fb=_0x227b19[_0x5ef2cd+0x2>>>0x2]>>>0x18-(_0x5ef2cd+0x2)%0x4*0x8&0xff,_0x4aec92=_0x5acc91<<0x10|_0x4d5cef<<0x8|_0x1141fb,_0xc5a957=0x0;_0xc5a957<0x4&&_0x5ef2cd+_0xc5a957*0.75<_0x188709;_0xc5a957++)_0x557e86[_0x226327(0x126)](_0xa15340[_0x226327(0x289)](_0x4aec92>>>0x6*(0x3-_0xc5a957)&0x3f));var _0xcebad9=_0xa15340[_0x226327(0x289)](0x40);if(_0xcebad9){for(;_0x557e86[_0x226327(0x23f)]%0x4;)_0x557e86['push'](_0xcebad9);}return _0x557e86[_0x226327(0x224)]('');},'parse':function(_0x2bfff4){var _0x3c3255=_0x186754,_0x55b096=_0x2bfff4[_0x3c3255(0x23f)],_0x487a0e=this[_0x3c3255(0x1c2)],_0x4042d7=this[_0x3c3255(0xaf)];if(!_0x4042d7){_0x4042d7=this[_0x3c3255(0xaf)]=[];for(var _0x3f2c21=0x0;_0x3f2c21<_0x487a0e[_0x3c3255(0x23f)];_0x3f2c21++)_0x4042d7[_0x487a0e[_0x3c3255(0xe5)](_0x3f2c21)]=_0x3f2c21;}var _0xe4906a=_0x487a0e['charAt'](0x40);if(_0xe4906a){var _0xeea9b=_0x2bfff4[_0x3c3255(0x37c)](_0xe4906a);_0xeea9b!==-0x1&&(_0x55b096=_0xeea9b);}return _0xacc33b(_0x2bfff4,_0x55b096,_0x4042d7);},'_map':_0x186754(0x1e5)};function _0xacc33b(_0x32164c,_0x4846a9,_0x43e556){var _0x4df91e=_0x186754;for(var _0x513e10=[],_0x3ab1a2=0x0,_0x206855=0x0;_0x206855<_0x4846a9;_0x206855++)if(_0x206855%0x4){var _0x688646=_0x43e556[_0x32164c[_0x4df91e(0xe5)](_0x206855-0x1)]<<_0x206855%0x4*0x2,_0x55edce=_0x43e556[_0x32164c[_0x4df91e(0xe5)](_0x206855)]>>>0x6-_0x206855%0x4*0x2,_0x3b2253=_0x688646|_0x55edce;_0x513e10[_0x3ab1a2>>>0x2]|=_0x3b2253<<0x18-_0x3ab1a2%0x4*0x8,_0x3ab1a2++;}return _0x1dd519[_0x4df91e(0x107)](_0x513e10,_0x3ab1a2);}}()),_0x2cde99[_0x5010ce(0x111)]['Base64'];}));}(We)),We[_0x1459c0(0x333)];}var Ke={'exports':{}},Lr=Ke[_0x1a3a6b(0x333)],ei;function Mr(){var _0xb37cd7=_0x1a3a6b;return ei||(ei=0x1,function(_0x443f57,_0x2c57f7){(function(_0x19f099,_0x13060f){var _0x354c8d=_0x2c36;_0x443f57[_0x354c8d(0x333)]=_0x13060f(ne());}(Lr,function(_0x12327b){var _0x552a2f=_0x2c36;return function(_0x2b49cb){var _0x2c2700=_0x2c36,_0x113f03=_0x12327b,_0x4ab90d=_0x113f03[_0x2c2700(0xe3)],_0x2918a1=_0x4ab90d['WordArray'],_0x3acf4c=_0x4ab90d[_0x2c2700(0x2b8)],_0x14810a=_0x113f03['algo'],_0x283c48=[];(function(){var _0x1a0ddd=_0x2c2700;for(var _0x3b1c00=0x0;_0x3b1c00<0x40;_0x3b1c00++)_0x283c48[_0x3b1c00]=_0x2b49cb[_0x1a0ddd(0x20f)](_0x2b49cb[_0x1a0ddd(0x26a)](_0x3b1c00+0x1))*0x100000000|0x0;}());var _0x24e24b=_0x14810a[_0x2c2700(0xcb)]=_0x3acf4c[_0x2c2700(0x2c2)]({'_doReset':function(){var _0x3e6bc3=_0x2c2700;this[_0x3e6bc3(0xfe)]=new _0x2918a1[(_0x3e6bc3(0xce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2c81b3,_0x205949){var _0x5ca531=_0x2c2700;for(var _0x430c9e=0x0;_0x430c9e<0x10;_0x430c9e++){var _0x340127=_0x205949+_0x430c9e,_0x5d9c18=_0x2c81b3[_0x340127];_0x2c81b3[_0x340127]=(_0x5d9c18<<0x8|_0x5d9c18>>>0x18)&0xff00ff|(_0x5d9c18<<0x18|_0x5d9c18>>>0x8)&0xff00ff00;}var _0x33b2c5=this[_0x5ca531(0xfe)][_0x5ca531(0x11d)],_0x4a53c6=_0x2c81b3[_0x205949+0x0],_0x119254=_0x2c81b3[_0x205949+0x1],_0x4fba5e=_0x2c81b3[_0x205949+0x2],_0x573dbe=_0x2c81b3[_0x205949+0x3],_0x4efd13=_0x2c81b3[_0x205949+0x4],_0x475bdc=_0x2c81b3[_0x205949+0x5],_0x1e5ccc=_0x2c81b3[_0x205949+0x6],_0x3709ca=_0x2c81b3[_0x205949+0x7],_0x49e92c=_0x2c81b3[_0x205949+0x8],_0x355073=_0x2c81b3[_0x205949+0x9],_0x3b50ee=_0x2c81b3[_0x205949+0xa],_0x55818e=_0x2c81b3[_0x205949+0xb],_0x1c6995=_0x2c81b3[_0x205949+0xc],_0x337979=_0x2c81b3[_0x205949+0xd],_0x10a6e4=_0x2c81b3[_0x205949+0xe],_0x52e20a=_0x2c81b3[_0x205949+0xf],_0x4be8de=_0x33b2c5[0x0],_0x2bf6cd=_0x33b2c5[0x1],_0x3f80af=_0x33b2c5[0x2],_0x17e0b7=_0x33b2c5[0x3];_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4a53c6,0x7,_0x283c48[0x0]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x119254,0xc,_0x283c48[0x1]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x4fba5e,0x11,_0x283c48[0x2]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x573dbe,0x16,_0x283c48[0x3]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4efd13,0x7,_0x283c48[0x4]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x475bdc,0xc,_0x283c48[0x5]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x1e5ccc,0x11,_0x283c48[0x6]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x3709ca,0x16,_0x283c48[0x7]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x49e92c,0x7,_0x283c48[0x8]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x355073,0xc,_0x283c48[0x9]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3b50ee,0x11,_0x283c48[0xa]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x55818e,0x16,_0x283c48[0xb]),_0x4be8de=_0x40e89d(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x1c6995,0x7,_0x283c48[0xc]),_0x17e0b7=_0x40e89d(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x337979,0xc,_0x283c48[0xd]),_0x3f80af=_0x40e89d(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x10a6e4,0x11,_0x283c48[0xe]),_0x2bf6cd=_0x40e89d(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x52e20a,0x16,_0x283c48[0xf]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x119254,0x5,_0x283c48[0x10]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x1e5ccc,0x9,_0x283c48[0x11]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x55818e,0xe,_0x283c48[0x12]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4a53c6,0x14,_0x283c48[0x13]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x475bdc,0x5,_0x283c48[0x14]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x3b50ee,0x9,_0x283c48[0x15]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x52e20a,0xe,_0x283c48[0x16]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4efd13,0x14,_0x283c48[0x17]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x355073,0x5,_0x283c48[0x18]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x10a6e4,0x9,_0x283c48[0x19]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x573dbe,0xe,_0x283c48[0x1a]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x49e92c,0x14,_0x283c48[0x1b]),_0x4be8de=_0x2d7d9b(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x337979,0x5,_0x283c48[0x1c]),_0x17e0b7=_0x2d7d9b(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4fba5e,0x9,_0x283c48[0x1d]),_0x3f80af=_0x2d7d9b(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3709ca,0xe,_0x283c48[0x1e]),_0x2bf6cd=_0x2d7d9b(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x1c6995,0x14,_0x283c48[0x1f]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x475bdc,0x4,_0x283c48[0x20]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x49e92c,0xb,_0x283c48[0x21]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x55818e,0x10,_0x283c48[0x22]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x10a6e4,0x17,_0x283c48[0x23]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x119254,0x4,_0x283c48[0x24]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4efd13,0xb,_0x283c48[0x25]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3709ca,0x10,_0x283c48[0x26]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x3b50ee,0x17,_0x283c48[0x27]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x337979,0x4,_0x283c48[0x28]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x4a53c6,0xb,_0x283c48[0x29]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x573dbe,0x10,_0x283c48[0x2a]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x1e5ccc,0x17,_0x283c48[0x2b]),_0x4be8de=_0xfa3c14(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x355073,0x4,_0x283c48[0x2c]),_0x17e0b7=_0xfa3c14(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x1c6995,0xb,_0x283c48[0x2d]),_0x3f80af=_0xfa3c14(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x52e20a,0x10,_0x283c48[0x2e]),_0x2bf6cd=_0xfa3c14(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x4fba5e,0x17,_0x283c48[0x2f]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4a53c6,0x6,_0x283c48[0x30]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x3709ca,0xa,_0x283c48[0x31]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x10a6e4,0xf,_0x283c48[0x32]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x475bdc,0x15,_0x283c48[0x33]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x1c6995,0x6,_0x283c48[0x34]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x573dbe,0xa,_0x283c48[0x35]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3b50ee,0xf,_0x283c48[0x36]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x119254,0x15,_0x283c48[0x37]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x49e92c,0x6,_0x283c48[0x38]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x52e20a,0xa,_0x283c48[0x39]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x1e5ccc,0xf,_0x283c48[0x3a]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x337979,0x15,_0x283c48[0x3b]),_0x4be8de=_0x3c31ed(_0x4be8de,_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4efd13,0x6,_0x283c48[0x3c]),_0x17e0b7=_0x3c31ed(_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x3f80af,_0x55818e,0xa,_0x283c48[0x3d]),_0x3f80af=_0x3c31ed(_0x3f80af,_0x17e0b7,_0x4be8de,_0x2bf6cd,_0x4fba5e,0xf,_0x283c48[0x3e]),_0x2bf6cd=_0x3c31ed(_0x2bf6cd,_0x3f80af,_0x17e0b7,_0x4be8de,_0x355073,0x15,_0x283c48[0x3f]),_0x33b2c5[0x0]=_0x33b2c5[0x0]+_0x4be8de|0x0,_0x33b2c5[0x1]=_0x33b2c5[0x1]+_0x2bf6cd|0x0,_0x33b2c5[0x2]=_0x33b2c5[0x2]+_0x3f80af|0x0,_0x33b2c5[0x3]=_0x33b2c5[0x3]+_0x17e0b7|0x0;},'_doFinalize':function(){var _0x42dedd=_0x2c2700,_0x297043=this[_0x42dedd(0x1f6)],_0x2ec140=_0x297043['words'],_0x9b58c1=this[_0x42dedd(0x320)]*0x8,_0x4883fc=_0x297043[_0x42dedd(0x29f)]*0x8;_0x2ec140[_0x4883fc>>>0x5]|=0x80<<0x18-_0x4883fc%0x20;var _0x37b92c=_0x2b49cb[_0x42dedd(0x151)](_0x9b58c1/0x100000000),_0x43200f=_0x9b58c1;_0x2ec140[(_0x4883fc+0x40>>>0x9<<0x4)+0xf]=(_0x37b92c<<0x8|_0x37b92c>>>0x18)&0xff00ff|(_0x37b92c<<0x18|_0x37b92c>>>0x8)&0xff00ff00,_0x2ec140[(_0x4883fc+0x40>>>0x9<<0x4)+0xe]=(_0x43200f<<0x8|_0x43200f>>>0x18)&0xff00ff|(_0x43200f<<0x18|_0x43200f>>>0x8)&0xff00ff00,_0x297043[_0x42dedd(0x29f)]=(_0x2ec140['length']+0x1)*0x4,this[_0x42dedd(0x21f)]();for(var _0x4b66c9=this[_0x42dedd(0xfe)],_0x5e648a=_0x4b66c9[_0x42dedd(0x11d)],_0x4012a4=0x0;_0x4012a4<0x4;_0x4012a4++){var _0x2979ac=_0x5e648a[_0x4012a4];_0x5e648a[_0x4012a4]=(_0x2979ac<<0x8|_0x2979ac>>>0x18)&0xff00ff|(_0x2979ac<<0x18|_0x2979ac>>>0x8)&0xff00ff00;}return _0x4b66c9;},'clone':function(){var _0x4b5f01=_0x2c2700,_0x4f25f5=_0x3acf4c['clone'][_0x4b5f01(0x106)](this);return _0x4f25f5[_0x4b5f01(0xfe)]=this[_0x4b5f01(0xfe)][_0x4b5f01(0x168)](),_0x4f25f5;}});function _0x40e89d(_0x5aec72,_0x345d29,_0x3d50f4,_0x170155,_0x175279,_0x35f915,_0x2f0205){var _0x372afa=_0x5aec72+(_0x345d29&_0x3d50f4|~_0x345d29&_0x170155)+_0x175279+_0x2f0205;return(_0x372afa<<_0x35f915|_0x372afa>>>0x20-_0x35f915)+_0x345d29;}function _0x2d7d9b(_0x46f6c4,_0xda4233,_0x4881df,_0x373f00,_0x4a91b1,_0x3923db,_0x14ac3f){var _0x58d1d3=_0x46f6c4+(_0xda4233&_0x373f00|_0x4881df&~_0x373f00)+_0x4a91b1+_0x14ac3f;return(_0x58d1d3<<_0x3923db|_0x58d1d3>>>0x20-_0x3923db)+_0xda4233;}function _0xfa3c14(_0x1adac9,_0x3fe8d0,_0x4649c4,_0x4b288b,_0xabbeb3,_0xbad51,_0x1c0401){var _0x171653=_0x1adac9+(_0x3fe8d0^_0x4649c4^_0x4b288b)+_0xabbeb3+_0x1c0401;return(_0x171653<<_0xbad51|_0x171653>>>0x20-_0xbad51)+_0x3fe8d0;}function _0x3c31ed(_0x1a5ead,_0x313edb,_0x3363f2,_0x167b64,_0x5a9933,_0x24ce3e,_0x1e906f){var _0x44e084=_0x1a5ead+(_0x3363f2^(_0x313edb|~_0x167b64))+_0x5a9933+_0x1e906f;return(_0x44e084<<_0x24ce3e|_0x44e084>>>0x20-_0x24ce3e)+_0x313edb;}_0x113f03['MD5']=_0x3acf4c[_0x2c2700(0x2a9)](_0x24e24b),_0x113f03[_0x2c2700(0x18f)]=_0x3acf4c['_createHmacHelper'](_0x24e24b);}(Math),_0x12327b[_0x552a2f(0xcb)];}));}(Ke)),Ke[_0xb37cd7(0x333)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1a3a6b(0x333)],ti;function Hr(){var _0x551c62=_0x1a3a6b;return ti||(ti=0x1,function(_0x1afd23,_0x11e99a){(function(_0xb65f8c,_0x284aae){var _0x2e3aef=_0x2c36;_0x1afd23[_0x2e3aef(0x333)]=_0x284aae(ne());}($r,function(_0x146b48){var _0x20c2ff=_0x2c36;return(function(){var _0x2a2f6a=_0x2c36,_0x588d56=_0x146b48,_0x2bfff8=_0x588d56['lib'],_0x2bea76=_0x2bfff8['WordArray'],_0x1db608=_0x2bfff8['Hasher'],_0x2b37b8=_0x588d56['algo'],_0x38dac3=[],_0x549ea5=_0x2b37b8['SHA1']=_0x1db608['extend']({'_doReset':function(){var _0x135082=_0x2c36;this[_0x135082(0xfe)]=new _0x2bea76[(_0x135082(0xce))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x14e485,_0x29e089){var _0x4fbb42=_0x2c36;for(var _0x4970f9=this[_0x4fbb42(0xfe)]['words'],_0x25e78f=_0x4970f9[0x0],_0x524e28=_0x4970f9[0x1],_0x2c67c5=_0x4970f9[0x2],_0x4ff038=_0x4970f9[0x3],_0x12c8da=_0x4970f9[0x4],_0x3ce39f=0x0;_0x3ce39f<0x50;_0x3ce39f++){if(_0x3ce39f<0x10)_0x38dac3[_0x3ce39f]=_0x14e485[_0x29e089+_0x3ce39f]|0x0;else{var _0x11f614=_0x38dac3[_0x3ce39f-0x3]^_0x38dac3[_0x3ce39f-0x8]^_0x38dac3[_0x3ce39f-0xe]^_0x38dac3[_0x3ce39f-0x10];_0x38dac3[_0x3ce39f]=_0x11f614<<0x1|_0x11f614>>>0x1f;}var _0x40282a=(_0x25e78f<<0x5|_0x25e78f>>>0x1b)+_0x12c8da+_0x38dac3[_0x3ce39f];_0x3ce39f<0x14?_0x40282a+=(_0x524e28&_0x2c67c5|~_0x524e28&_0x4ff038)+0x5a827999:_0x3ce39f<0x28?_0x40282a+=(_0x524e28^_0x2c67c5^_0x4ff038)+0x6ed9eba1:_0x3ce39f<0x3c?_0x40282a+=(_0x524e28&_0x2c67c5|_0x524e28&_0x4ff038|_0x2c67c5&_0x4ff038)-0x70e44324:_0x40282a+=(_0x524e28^_0x2c67c5^_0x4ff038)-0x359d3e2a,_0x12c8da=_0x4ff038,_0x4ff038=_0x2c67c5,_0x2c67c5=_0x524e28<<0x1e|_0x524e28>>>0x2,_0x524e28=_0x25e78f,_0x25e78f=_0x40282a;}_0x4970f9[0x0]=_0x4970f9[0x0]+_0x25e78f|0x0,_0x4970f9[0x1]=_0x4970f9[0x1]+_0x524e28|0x0,_0x4970f9[0x2]=_0x4970f9[0x2]+_0x2c67c5|0x0,_0x4970f9[0x3]=_0x4970f9[0x3]+_0x4ff038|0x0,_0x4970f9[0x4]=_0x4970f9[0x4]+_0x12c8da|0x0;},'_doFinalize':function(){var _0xaec7a0=_0x2c36,_0x1a82c8=this[_0xaec7a0(0x1f6)],_0x3efbbc=_0x1a82c8[_0xaec7a0(0x11d)],_0x56cdfc=this['_nDataBytes']*0x8,_0x34d11a=_0x1a82c8[_0xaec7a0(0x29f)]*0x8;return _0x3efbbc[_0x34d11a>>>0x5]|=0x80<<0x18-_0x34d11a%0x20,_0x3efbbc[(_0x34d11a+0x40>>>0x9<<0x4)+0xe]=Math[_0xaec7a0(0x151)](_0x56cdfc/0x100000000),_0x3efbbc[(_0x34d11a+0x40>>>0x9<<0x4)+0xf]=_0x56cdfc,_0x1a82c8[_0xaec7a0(0x29f)]=_0x3efbbc[_0xaec7a0(0x23f)]*0x4,this['_process'](),this[_0xaec7a0(0xfe)];},'clone':function(){var _0x55a731=_0x2c36,_0x6d1f1b=_0x1db608[_0x55a731(0x168)][_0x55a731(0x106)](this);return _0x6d1f1b[_0x55a731(0xfe)]=this[_0x55a731(0xfe)]['clone'](),_0x6d1f1b;}});_0x588d56[_0x2a2f6a(0x35f)]=_0x1db608['_createHelper'](_0x549ea5),_0x588d56[_0x2a2f6a(0x183)]=_0x1db608['_createHmacHelper'](_0x549ea5);}()),_0x146b48[_0x20c2ff(0x35f)];}));}(qe)),qe[_0x551c62(0x333)];}var ze={'exports':{}},kr=ze['exports'],ii;function jr(){return ii||(ii=0x1,function(_0xeb1056,_0x2a7b77){(function(_0x482587,_0x1c6f9f){var _0x3004db=_0x2c36;_0xeb1056[_0x3004db(0x333)]=_0x1c6f9f(ne());}(kr,function(_0x12c896){(function(){var _0x353695=_0x2c36,_0x39a0b9=_0x12c896,_0x3fb59a=_0x39a0b9[_0x353695(0xe3)],_0x306ae6=_0x3fb59a[_0x353695(0xca)],_0x353979=_0x39a0b9['enc'],_0x504cea=_0x353979['Utf8'],_0x4a899a=_0x39a0b9['algo'];_0x4a899a[_0x353695(0xba)]=_0x306ae6[_0x353695(0x2c2)]({'init':function(_0x32bcbf,_0x3f5b16){var _0x4adcee=_0x353695;_0x32bcbf=this[_0x4adcee(0x208)]=new _0x32bcbf['init'](),typeof _0x3f5b16==_0x4adcee(0x35a)&&(_0x3f5b16=_0x504cea[_0x4adcee(0x119)](_0x3f5b16));var _0xb228b5=_0x32bcbf[_0x4adcee(0x241)],_0x418c6a=_0xb228b5*0x4;_0x3f5b16[_0x4adcee(0x29f)]>_0x418c6a&&(_0x3f5b16=_0x32bcbf[_0x4adcee(0x2da)](_0x3f5b16)),_0x3f5b16[_0x4adcee(0x269)]();for(var _0x147005=this[_0x4adcee(0x21e)]=_0x3f5b16[_0x4adcee(0x168)](),_0x5edd41=this[_0x4adcee(0x2af)]=_0x3f5b16['clone'](),_0x472edd=_0x147005[_0x4adcee(0x11d)],_0x3279c2=_0x5edd41[_0x4adcee(0x11d)],_0x17cd1a=0x0;_0x17cd1a<_0xb228b5;_0x17cd1a++)_0x472edd[_0x17cd1a]^=0x5c5c5c5c,_0x3279c2[_0x17cd1a]^=0x36363636;_0x147005[_0x4adcee(0x29f)]=_0x5edd41[_0x4adcee(0x29f)]=_0x418c6a,this[_0x4adcee(0x2c0)]();},'reset':function(){var _0x4595f9=_0x353695,_0x1e2eeb=this[_0x4595f9(0x208)];_0x1e2eeb['reset'](),_0x1e2eeb[_0x4595f9(0x97)](this[_0x4595f9(0x2af)]);},'update':function(_0x1658a4){var _0x3c578c=_0x353695;return this[_0x3c578c(0x208)]['update'](_0x1658a4),this;},'finalize':function(_0x39d979){var _0x5fc7a6=_0x353695,_0x283710=this[_0x5fc7a6(0x208)],_0x183e03=_0x283710[_0x5fc7a6(0x2da)](_0x39d979);_0x283710['reset']();var _0x50dd30=_0x283710['finalize'](this['_oKey'][_0x5fc7a6(0x168)]()[_0x5fc7a6(0x9a)](_0x183e03));return _0x50dd30;}});}());}));}(ze)),ze['exports'];}var Br=Ye[_0x1a3a6b(0x333)],ni;function Ui(){return ni||(ni=0x1,function(_0x59196a,_0x4c3092){(function(_0x12eecc,_0x439df2,_0x953b1){_0x59196a['exports']=_0x439df2(ne(),Hr(),jr());}(Br,function(_0x54f965){return(function(){var _0x8122d5=_0x2c36,_0x1167eb=_0x54f965,_0x25bacf=_0x1167eb['lib'],_0x498205=_0x25bacf[_0x8122d5(0xca)],_0x4d74c8=_0x25bacf[_0x8122d5(0x32c)],_0x13ceca=_0x1167eb['algo'],_0x9bbf1d=_0x13ceca[_0x8122d5(0xcb)],_0x140983=_0x13ceca[_0x8122d5(0x209)]=_0x498205[_0x8122d5(0x2c2)]({'cfg':_0x498205[_0x8122d5(0x2c2)]({'keySize':0x80/0x20,'hasher':_0x9bbf1d,'iterations':0x1}),'init':function(_0x69c2f7){var _0x312c05=_0x8122d5;this[_0x312c05(0x173)]=this['cfg'][_0x312c05(0x2c2)](_0x69c2f7);},'compute':function(_0x124ff,_0x5162cd){var _0x4e135f=_0x8122d5;for(var _0x4561d6,_0x3f34b4=this[_0x4e135f(0x173)],_0x4a2b37=_0x3f34b4['hasher'][_0x4e135f(0x107)](),_0x5c7fa1=_0x4d74c8['create'](),_0x4aaea1=_0x5c7fa1[_0x4e135f(0x11d)],_0x26289c=_0x3f34b4['keySize'],_0x9fdaba=_0x3f34b4[_0x4e135f(0x169)];_0x4aaea1[_0x4e135f(0x23f)]<_0x26289c;){_0x4561d6&&_0x4a2b37[_0x4e135f(0x97)](_0x4561d6),_0x4561d6=_0x4a2b37[_0x4e135f(0x97)](_0x124ff)['finalize'](_0x5162cd),_0x4a2b37[_0x4e135f(0x2c0)]();for(var _0x521fe1=0x1;_0x521fe1<_0x9fdaba;_0x521fe1++)_0x4561d6=_0x4a2b37['finalize'](_0x4561d6),_0x4a2b37[_0x4e135f(0x2c0)]();_0x5c7fa1[_0x4e135f(0x9a)](_0x4561d6);}return _0x5c7fa1[_0x4e135f(0x29f)]=_0x26289c*0x4,_0x5c7fa1;}});_0x1167eb[_0x8122d5(0x209)]=function(_0x15e31a,_0x11619b,_0x2d4927){var _0x1284f3=_0x8122d5;return _0x140983[_0x1284f3(0x107)](_0x2d4927)[_0x1284f3(0x2ab)](_0x15e31a,_0x11619b);};}()),_0x54f965['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x1a3a6b(0x333)],ri;function Ai(){return ri||(ri=0x1,function(_0x2d4776,_0x4711a0){(function(_0x39e1ce,_0x170fd9,_0x1a7776){var _0x1953ea=_0x2c36;_0x2d4776[_0x1953ea(0x333)]=_0x170fd9(ne(),Ui());}(Fr,function(_0x3562e4){var _0x413ac2=_0x2c36;_0x3562e4[_0x413ac2(0xe3)]['Cipher']||function(_0x3cc5e4){var _0x5735ac=_0x413ac2,_0x3125f5=_0x3562e4,_0x5459f4=_0x3125f5[_0x5735ac(0xe3)],_0xd3878d=_0x5459f4[_0x5735ac(0xca)],_0x4236bd=_0x5459f4[_0x5735ac(0x32c)],_0x440056=_0x5459f4['BufferedBlockAlgorithm'],_0x1910c0=_0x3125f5[_0x5735ac(0x111)];_0x1910c0['Utf8'];var _0x290cca=_0x1910c0[_0x5735ac(0x1fa)],_0x503e07=_0x3125f5['algo'],_0x2e241a=_0x503e07[_0x5735ac(0x209)],_0x49363e=_0x5459f4['Cipher']=_0x440056[_0x5735ac(0x2c2)]({'cfg':_0xd3878d['extend'](),'createEncryptor':function(_0x2fe28a,_0x5ab103){return this['create'](this['_ENC_XFORM_MODE'],_0x2fe28a,_0x5ab103);},'createDecryptor':function(_0x111b8a,_0x48fcaa){var _0x1ba0a2=_0x5735ac;return this[_0x1ba0a2(0x107)](this[_0x1ba0a2(0xbf)],_0x111b8a,_0x48fcaa);},'init':function(_0x36a3ad,_0x307e14,_0x4f96c0){var _0x3eb448=_0x5735ac;this[_0x3eb448(0x173)]=this[_0x3eb448(0x173)][_0x3eb448(0x2c2)](_0x4f96c0),this[_0x3eb448(0x1a0)]=_0x36a3ad,this[_0x3eb448(0xa2)]=_0x307e14,this['reset']();},'reset':function(){var _0x3e47db=_0x5735ac;_0x440056[_0x3e47db(0x2c0)][_0x3e47db(0x106)](this),this[_0x3e47db(0x1b7)]();},'process':function(_0x33915b){var _0x267483=_0x5735ac;return this[_0x267483(0x28c)](_0x33915b),this[_0x267483(0x21f)]();},'finalize':function(_0x434105){var _0x3d1136=_0x5735ac;_0x434105&&this[_0x3d1136(0x28c)](_0x434105);var _0x31e865=this[_0x3d1136(0x272)]();return _0x31e865;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x4931e8(_0x6747d9){var _0x108cb3=_0x2c36;return typeof _0x6747d9==_0x108cb3(0x35a)?_0x328244:_0x53144b;}return function(_0x4b0478){return{'encrypt':function(_0x2b85cd,_0x44c852,_0x1165c4){return _0x4931e8(_0x44c852)['encrypt'](_0x4b0478,_0x2b85cd,_0x44c852,_0x1165c4);},'decrypt':function(_0x25bc7a,_0x533aef,_0x155af8){var _0x25930b=_0x2c36;return _0x4931e8(_0x533aef)[_0x25930b(0xf2)](_0x4b0478,_0x25bc7a,_0x533aef,_0x155af8);}};};}())});_0x5459f4['StreamCipher']=_0x49363e[_0x5735ac(0x2c2)]({'_doFinalize':function(){var _0x152e35=this['_process'](!0x0);return _0x152e35;},'blockSize':0x1});var _0x302a86=_0x3125f5['mode']={},_0x3d708e=_0x5459f4[_0x5735ac(0x290)]=_0xd3878d[_0x5735ac(0x2c2)]({'createEncryptor':function(_0x1e936b,_0xf10af9){var _0x24870a=_0x5735ac;return this[_0x24870a(0x164)]['create'](_0x1e936b,_0xf10af9);},'createDecryptor':function(_0xdaafd6,_0x52abf9){var _0x1c5711=_0x5735ac;return this[_0x1c5711(0x346)][_0x1c5711(0x107)](_0xdaafd6,_0x52abf9);},'init':function(_0x11d267,_0x52483d){var _0xa80921=_0x5735ac;this[_0xa80921(0x190)]=_0x11d267,this[_0xa80921(0x356)]=_0x52483d;}}),_0x48f543=_0x302a86[_0x5735ac(0x37e)]=(function(){var _0x3bc6c6=_0x5735ac,_0x5420da=_0x3d708e[_0x3bc6c6(0x2c2)]();_0x5420da[_0x3bc6c6(0x164)]=_0x5420da[_0x3bc6c6(0x2c2)]({'processBlock':function(_0x337e98,_0x2343b2){var _0x449ef1=_0x3bc6c6,_0x36a99f=this[_0x449ef1(0x190)],_0x5763ca=_0x36a99f[_0x449ef1(0x241)];_0x3af1ff[_0x449ef1(0x106)](this,_0x337e98,_0x2343b2,_0x5763ca),_0x36a99f['encryptBlock'](_0x337e98,_0x2343b2),this[_0x449ef1(0xe8)]=_0x337e98[_0x449ef1(0x337)](_0x2343b2,_0x2343b2+_0x5763ca);}}),_0x5420da['Decryptor']=_0x5420da[_0x3bc6c6(0x2c2)]({'processBlock':function(_0x3ff9aa,_0x5bc170){var _0x9ae540=_0x3bc6c6,_0x429e16=this[_0x9ae540(0x190)],_0x1778f0=_0x429e16[_0x9ae540(0x241)],_0x108704=_0x3ff9aa[_0x9ae540(0x337)](_0x5bc170,_0x5bc170+_0x1778f0);_0x429e16[_0x9ae540(0x31f)](_0x3ff9aa,_0x5bc170),_0x3af1ff[_0x9ae540(0x106)](this,_0x3ff9aa,_0x5bc170,_0x1778f0),this[_0x9ae540(0xe8)]=_0x108704;}});function _0x3af1ff(_0x527ff1,_0x2003aa,_0x4fba6a){var _0x260a3f=_0x3bc6c6,_0x2ac92c,_0x108e3f=this[_0x260a3f(0x356)];_0x108e3f?(_0x2ac92c=_0x108e3f,this[_0x260a3f(0x356)]=_0x3cc5e4):_0x2ac92c=this['_prevBlock'];for(var _0x57cdeb=0x0;_0x57cdeb<_0x4fba6a;_0x57cdeb++)_0x527ff1[_0x2003aa+_0x57cdeb]^=_0x2ac92c[_0x57cdeb];}return _0x5420da;}()),_0x517175=_0x3125f5[_0x5735ac(0x17f)]={},_0x5c051f=_0x517175[_0x5735ac(0x237)]={'pad':function(_0x58272b,_0x4fb052){var _0xe47263=_0x5735ac;for(var _0xecffc2=_0x4fb052*0x4,_0x88f2ea=_0xecffc2-_0x58272b[_0xe47263(0x29f)]%_0xecffc2,_0x90fecc=_0x88f2ea<<0x18|_0x88f2ea<<0x10|_0x88f2ea<<0x8|_0x88f2ea,_0x3fa9ec=[],_0x4aea49=0x0;_0x4aea49<_0x88f2ea;_0x4aea49+=0x4)_0x3fa9ec[_0xe47263(0x126)](_0x90fecc);var _0xc86eb1=_0x4236bd[_0xe47263(0x107)](_0x3fa9ec,_0x88f2ea);_0x58272b[_0xe47263(0x9a)](_0xc86eb1);},'unpad':function(_0x2a17c7){var _0x464a73=_0x5735ac,_0x358265=_0x2a17c7[_0x464a73(0x11d)][_0x2a17c7[_0x464a73(0x29f)]-0x1>>>0x2]&0xff;_0x2a17c7['sigBytes']-=_0x358265;}};_0x5459f4['BlockCipher']=_0x49363e['extend']({'cfg':_0x49363e[_0x5735ac(0x173)][_0x5735ac(0x2c2)]({'mode':_0x48f543,'padding':_0x5c051f}),'reset':function(){var _0x5bc451=_0x5735ac,_0x18b151;_0x49363e[_0x5bc451(0x2c0)][_0x5bc451(0x106)](this);var _0x1a782e=this[_0x5bc451(0x173)],_0x4442fb=_0x1a782e['iv'],_0x4a23b6=_0x1a782e[_0x5bc451(0x399)];this[_0x5bc451(0x1a0)]==this[_0x5bc451(0x24f)]?_0x18b151=_0x4a23b6[_0x5bc451(0x20d)]:(_0x18b151=_0x4a23b6[_0x5bc451(0x2fa)],this[_0x5bc451(0x138)]=0x1),this[_0x5bc451(0x1f0)]&&this[_0x5bc451(0x1f0)]['__creator']==_0x18b151?this['_mode'][_0x5bc451(0xce)](this,_0x4442fb&&_0x4442fb[_0x5bc451(0x11d)]):(this[_0x5bc451(0x1f0)]=_0x18b151[_0x5bc451(0x106)](_0x4a23b6,this,_0x4442fb&&_0x4442fb[_0x5bc451(0x11d)]),this['_mode']['__creator']=_0x18b151);},'_doProcessBlock':function(_0x114951,_0x546c19){var _0x24f481=_0x5735ac;this[_0x24f481(0x1f0)][_0x24f481(0x2e3)](_0x114951,_0x546c19);},'_doFinalize':function(){var _0x2b3583=_0x5735ac,_0x139de6,_0x395dfd=this[_0x2b3583(0x173)]['padding'];return this[_0x2b3583(0x1a0)]==this[_0x2b3583(0x24f)]?(_0x395dfd[_0x2b3583(0x17f)](this[_0x2b3583(0x1f6)],this[_0x2b3583(0x241)]),_0x139de6=this['_process'](!0x0)):(_0x139de6=this[_0x2b3583(0x21f)](!0x0),_0x395dfd[_0x2b3583(0x36e)](_0x139de6)),_0x139de6;},'blockSize':0x80/0x20});var _0x2ac8bf=_0x5459f4['CipherParams']=_0xd3878d['extend']({'init':function(_0x2b01eb){var _0x1200e1=_0x5735ac;this[_0x1200e1(0x347)](_0x2b01eb);},'toString':function(_0x57a2e7){var _0x32f663=_0x5735ac;return(_0x57a2e7||this[_0x32f663(0x1f1)])['stringify'](this);}}),_0x309fe7=_0x3125f5[_0x5735ac(0x295)]={},_0x765e36=_0x309fe7['OpenSSL']={'stringify':function(_0xd4916a){var _0x446134=_0x5735ac,_0xb8c9d4,_0x379fb8=_0xd4916a[_0x446134(0x24d)],_0xb12486=_0xd4916a[_0x446134(0xb7)];return _0xb12486?_0xb8c9d4=_0x4236bd[_0x446134(0x107)]([0x53616c74,0x65645f5f])[_0x446134(0x9a)](_0xb12486)['concat'](_0x379fb8):_0xb8c9d4=_0x379fb8,_0xb8c9d4[_0x446134(0x377)](_0x290cca);},'parse':function(_0x2036e1){var _0x2392bb=_0x5735ac,_0xaefd6c,_0x52ede2=_0x290cca[_0x2392bb(0x119)](_0x2036e1),_0x5f407e=_0x52ede2['words'];return _0x5f407e[0x0]==0x53616c74&&_0x5f407e[0x1]==0x65645f5f&&(_0xaefd6c=_0x4236bd['create'](_0x5f407e[_0x2392bb(0x337)](0x2,0x4)),_0x5f407e['splice'](0x0,0x4),_0x52ede2[_0x2392bb(0x29f)]-=0x10),_0x2ac8bf[_0x2392bb(0x107)]({'ciphertext':_0x52ede2,'salt':_0xaefd6c});}},_0x53144b=_0x5459f4[_0x5735ac(0x36b)]=_0xd3878d[_0x5735ac(0x2c2)]({'cfg':_0xd3878d['extend']({'format':_0x765e36}),'encrypt':function(_0xe30f14,_0x123666,_0x50e654,_0x2b5853){var _0x463621=_0x5735ac;_0x2b5853=this['cfg'][_0x463621(0x2c2)](_0x2b5853);var _0x14b901=_0xe30f14[_0x463621(0x20d)](_0x50e654,_0x2b5853),_0x358d9e=_0x14b901[_0x463621(0x2da)](_0x123666),_0x4d743f=_0x14b901[_0x463621(0x173)];return _0x2ac8bf['create']({'ciphertext':_0x358d9e,'key':_0x50e654,'iv':_0x4d743f['iv'],'algorithm':_0xe30f14,'mode':_0x4d743f[_0x463621(0x399)],'padding':_0x4d743f[_0x463621(0x395)],'blockSize':_0xe30f14[_0x463621(0x241)],'formatter':_0x2b5853[_0x463621(0x295)]});},'decrypt':function(_0x4355b8,_0x7d3443,_0x11c786,_0x42b450){var _0x47a19e=_0x5735ac;_0x42b450=this[_0x47a19e(0x173)][_0x47a19e(0x2c2)](_0x42b450),_0x7d3443=this['_parse'](_0x7d3443,_0x42b450[_0x47a19e(0x295)]);var _0x9f48ee=_0x4355b8[_0x47a19e(0x2fa)](_0x11c786,_0x42b450)[_0x47a19e(0x2da)](_0x7d3443[_0x47a19e(0x24d)]);return _0x9f48ee;},'_parse':function(_0x405d9f,_0x1c7ac1){var _0x6dba3e=_0x5735ac;return typeof _0x405d9f==_0x6dba3e(0x35a)?_0x1c7ac1['parse'](_0x405d9f,this):_0x405d9f;}}),_0x3b71b0=_0x3125f5[_0x5735ac(0x24e)]={},_0x3714d3=_0x3b71b0['OpenSSL']={'execute':function(_0x1fef1e,_0x4b86f5,_0x3b63c2,_0x493381,_0x32eea1){var _0x4339f2=_0x5735ac;if(_0x493381||(_0x493381=_0x4236bd[_0x4339f2(0x163)](0x40/0x8)),_0x32eea1)var _0xac6381=_0x2e241a[_0x4339f2(0x107)]({'keySize':_0x4b86f5+_0x3b63c2,'hasher':_0x32eea1})[_0x4339f2(0x2ab)](_0x1fef1e,_0x493381);else var _0xac6381=_0x2e241a[_0x4339f2(0x107)]({'keySize':_0x4b86f5+_0x3b63c2})['compute'](_0x1fef1e,_0x493381);var _0x29da31=_0x4236bd['create'](_0xac6381[_0x4339f2(0x11d)][_0x4339f2(0x337)](_0x4b86f5),_0x3b63c2*0x4);return _0xac6381['sigBytes']=_0x4b86f5*0x4,_0x2ac8bf['create']({'key':_0xac6381,'iv':_0x29da31,'salt':_0x493381});}},_0x328244=_0x5459f4['PasswordBasedCipher']=_0x53144b[_0x5735ac(0x2c2)]({'cfg':_0x53144b['cfg'][_0x5735ac(0x2c2)]({'kdf':_0x3714d3}),'encrypt':function(_0x4fabb6,_0x194256,_0x2ed937,_0x11fbb0){var _0x2afec1=_0x5735ac;_0x11fbb0=this[_0x2afec1(0x173)][_0x2afec1(0x2c2)](_0x11fbb0);var _0xbff927=_0x11fbb0[_0x2afec1(0x24e)][_0x2afec1(0x309)](_0x2ed937,_0x4fabb6[_0x2afec1(0x12d)],_0x4fabb6[_0x2afec1(0xe6)],_0x11fbb0[_0x2afec1(0xb7)],_0x11fbb0[_0x2afec1(0x282)]);_0x11fbb0['iv']=_0xbff927['iv'];var _0x42c183=_0x53144b[_0x2afec1(0x1b6)][_0x2afec1(0x106)](this,_0x4fabb6,_0x194256,_0xbff927[_0x2afec1(0x325)],_0x11fbb0);return _0x42c183[_0x2afec1(0x347)](_0xbff927),_0x42c183;},'decrypt':function(_0x59d92e,_0x3f359b,_0xf6451f,_0x24bd05){var _0x5cc57a=_0x5735ac;_0x24bd05=this['cfg'][_0x5cc57a(0x2c2)](_0x24bd05),_0x3f359b=this[_0x5cc57a(0x198)](_0x3f359b,_0x24bd05['format']);var _0x179985=_0x24bd05['kdf'][_0x5cc57a(0x309)](_0xf6451f,_0x59d92e[_0x5cc57a(0x12d)],_0x59d92e[_0x5cc57a(0xe6)],_0x3f359b[_0x5cc57a(0xb7)],_0x24bd05[_0x5cc57a(0x282)]);_0x24bd05['iv']=_0x179985['iv'];var _0x498069=_0x53144b['decrypt'][_0x5cc57a(0x106)](this,_0x59d92e,_0x3f359b,_0x179985[_0x5cc57a(0x325)],_0x24bd05);return _0x498069;}});}();}));}(Je)),Je['exports'];}var Vr=Ve[_0x1a3a6b(0x333)],si;function Gr(){var _0x2b8ba8=_0x1a3a6b;return si||(si=0x1,function(_0x1eee51,_0x41e594){(function(_0x4a4157,_0x249afa,_0x382d69){var _0x568530=_0x2c36;_0x1eee51[_0x568530(0x333)]=_0x249afa(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x115da2){var _0x7d7ace=_0x2c36;return(function(){var _0x4d8702=_0x2c36,_0x38c47d=_0x115da2,_0x131b50=_0x38c47d[_0x4d8702(0xe3)],_0x325c4d=_0x131b50[_0x4d8702(0x99)],_0xe48f6f=_0x38c47d[_0x4d8702(0x19a)],_0x35bbd1=[],_0x42cfc1=[],_0x29bab2=[],_0x539cb1=[],_0x2d38fc=[],_0x5bad2b=[],_0x41b39c=[],_0x466e40=[],_0x46aa15=[],_0x1a96f5=[];(function(){for(var _0x2f0e6f=[],_0x75cfc4=0x0;_0x75cfc4<0x100;_0x75cfc4++)_0x75cfc4<0x80?_0x2f0e6f[_0x75cfc4]=_0x75cfc4<<0x1:_0x2f0e6f[_0x75cfc4]=_0x75cfc4<<0x1^0x11b;for(var _0x149701=0x0,_0x2aeed1=0x0,_0x75cfc4=0x0;_0x75cfc4<0x100;_0x75cfc4++){var _0x55e0fa=_0x2aeed1^_0x2aeed1<<0x1^_0x2aeed1<<0x2^_0x2aeed1<<0x3^_0x2aeed1<<0x4;_0x55e0fa=_0x55e0fa>>>0x8^_0x55e0fa&0xff^0x63,_0x35bbd1[_0x149701]=_0x55e0fa,_0x42cfc1[_0x55e0fa]=_0x149701;var _0x3cb72a=_0x2f0e6f[_0x149701],_0x4dbadd=_0x2f0e6f[_0x3cb72a],_0xd6af47=_0x2f0e6f[_0x4dbadd],_0x4a9824=_0x2f0e6f[_0x55e0fa]*0x101^_0x55e0fa*0x1010100;_0x29bab2[_0x149701]=_0x4a9824<<0x18|_0x4a9824>>>0x8,_0x539cb1[_0x149701]=_0x4a9824<<0x10|_0x4a9824>>>0x10,_0x2d38fc[_0x149701]=_0x4a9824<<0x8|_0x4a9824>>>0x18,_0x5bad2b[_0x149701]=_0x4a9824;var _0x4a9824=_0xd6af47*0x1010101^_0x4dbadd*0x10001^_0x3cb72a*0x101^_0x149701*0x1010100;_0x41b39c[_0x55e0fa]=_0x4a9824<<0x18|_0x4a9824>>>0x8,_0x466e40[_0x55e0fa]=_0x4a9824<<0x10|_0x4a9824>>>0x10,_0x46aa15[_0x55e0fa]=_0x4a9824<<0x8|_0x4a9824>>>0x18,_0x1a96f5[_0x55e0fa]=_0x4a9824,_0x149701?(_0x149701=_0x3cb72a^_0x2f0e6f[_0x2f0e6f[_0x2f0e6f[_0xd6af47^_0x3cb72a]]],_0x2aeed1^=_0x2f0e6f[_0x2f0e6f[_0x2aeed1]]):_0x149701=_0x2aeed1=0x1;}}());var _0x3d74a1=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x133731=_0xe48f6f[_0x4d8702(0x387)]=_0x325c4d[_0x4d8702(0x2c2)]({'_doReset':function(){var _0x7c6b40=_0x4d8702,_0x3e86c6;if(!(this[_0x7c6b40(0x244)]&&this[_0x7c6b40(0x21d)]===this[_0x7c6b40(0xa2)])){for(var _0x35af83=this[_0x7c6b40(0x21d)]=this[_0x7c6b40(0xa2)],_0x51cc2c=_0x35af83[_0x7c6b40(0x11d)],_0x399d1c=_0x35af83[_0x7c6b40(0x29f)]/0x4,_0x1625d3=this[_0x7c6b40(0x244)]=_0x399d1c+0x6,_0x560873=(_0x1625d3+0x1)*0x4,_0x1eb9f2=this[_0x7c6b40(0xb8)]=[],_0x1258c9=0x0;_0x1258c9<_0x560873;_0x1258c9++)_0x1258c9<_0x399d1c?_0x1eb9f2[_0x1258c9]=_0x51cc2c[_0x1258c9]:(_0x3e86c6=_0x1eb9f2[_0x1258c9-0x1],_0x1258c9%_0x399d1c?_0x399d1c>0x6&&_0x1258c9%_0x399d1c==0x4&&(_0x3e86c6=_0x35bbd1[_0x3e86c6>>>0x18]<<0x18|_0x35bbd1[_0x3e86c6>>>0x10&0xff]<<0x10|_0x35bbd1[_0x3e86c6>>>0x8&0xff]<<0x8|_0x35bbd1[_0x3e86c6&0xff]):(_0x3e86c6=_0x3e86c6<<0x8|_0x3e86c6>>>0x18,_0x3e86c6=_0x35bbd1[_0x3e86c6>>>0x18]<<0x18|_0x35bbd1[_0x3e86c6>>>0x10&0xff]<<0x10|_0x35bbd1[_0x3e86c6>>>0x8&0xff]<<0x8|_0x35bbd1[_0x3e86c6&0xff],_0x3e86c6^=_0x3d74a1[_0x1258c9/_0x399d1c|0x0]<<0x18),_0x1eb9f2[_0x1258c9]=_0x1eb9f2[_0x1258c9-_0x399d1c]^_0x3e86c6);for(var _0x374b5d=this[_0x7c6b40(0x1e3)]=[],_0x4f045e=0x0;_0x4f045e<_0x560873;_0x4f045e++){var _0x1258c9=_0x560873-_0x4f045e;if(_0x4f045e%0x4)var _0x3e86c6=_0x1eb9f2[_0x1258c9];else var _0x3e86c6=_0x1eb9f2[_0x1258c9-0x4];_0x4f045e<0x4||_0x1258c9<=0x4?_0x374b5d[_0x4f045e]=_0x3e86c6:_0x374b5d[_0x4f045e]=_0x41b39c[_0x35bbd1[_0x3e86c6>>>0x18]]^_0x466e40[_0x35bbd1[_0x3e86c6>>>0x10&0xff]]^_0x46aa15[_0x35bbd1[_0x3e86c6>>>0x8&0xff]]^_0x1a96f5[_0x35bbd1[_0x3e86c6&0xff]];}}},'encryptBlock':function(_0x4190ea,_0x2da799){var _0x1b7323=_0x4d8702;this[_0x1b7323(0xa7)](_0x4190ea,_0x2da799,this['_keySchedule'],_0x29bab2,_0x539cb1,_0x2d38fc,_0x5bad2b,_0x35bbd1);},'decryptBlock':function(_0x23e32e,_0x95475f){var _0x125105=_0x4d8702,_0x43d1a1=_0x23e32e[_0x95475f+0x1];_0x23e32e[_0x95475f+0x1]=_0x23e32e[_0x95475f+0x3],_0x23e32e[_0x95475f+0x3]=_0x43d1a1,this['_doCryptBlock'](_0x23e32e,_0x95475f,this[_0x125105(0x1e3)],_0x41b39c,_0x466e40,_0x46aa15,_0x1a96f5,_0x42cfc1);var _0x43d1a1=_0x23e32e[_0x95475f+0x1];_0x23e32e[_0x95475f+0x1]=_0x23e32e[_0x95475f+0x3],_0x23e32e[_0x95475f+0x3]=_0x43d1a1;},'_doCryptBlock':function(_0x5c9816,_0x555112,_0x27f236,_0x569956,_0x5ce47b,_0x4346bb,_0x4db626,_0xf368d8){var _0x17502b=_0x4d8702;for(var _0x4a2e69=this[_0x17502b(0x244)],_0x5d4f6f=_0x5c9816[_0x555112]^_0x27f236[0x0],_0x4e4da9=_0x5c9816[_0x555112+0x1]^_0x27f236[0x1],_0x1a8387=_0x5c9816[_0x555112+0x2]^_0x27f236[0x2],_0x4302af=_0x5c9816[_0x555112+0x3]^_0x27f236[0x3],_0x217cff=0x4,_0x2c586d=0x1;_0x2c586d<_0x4a2e69;_0x2c586d++){var _0x40f80a=_0x569956[_0x5d4f6f>>>0x18]^_0x5ce47b[_0x4e4da9>>>0x10&0xff]^_0x4346bb[_0x1a8387>>>0x8&0xff]^_0x4db626[_0x4302af&0xff]^_0x27f236[_0x217cff++],_0x5f0026=_0x569956[_0x4e4da9>>>0x18]^_0x5ce47b[_0x1a8387>>>0x10&0xff]^_0x4346bb[_0x4302af>>>0x8&0xff]^_0x4db626[_0x5d4f6f&0xff]^_0x27f236[_0x217cff++],_0x45daca=_0x569956[_0x1a8387>>>0x18]^_0x5ce47b[_0x4302af>>>0x10&0xff]^_0x4346bb[_0x5d4f6f>>>0x8&0xff]^_0x4db626[_0x4e4da9&0xff]^_0x27f236[_0x217cff++],_0x116bbd=_0x569956[_0x4302af>>>0x18]^_0x5ce47b[_0x5d4f6f>>>0x10&0xff]^_0x4346bb[_0x4e4da9>>>0x8&0xff]^_0x4db626[_0x1a8387&0xff]^_0x27f236[_0x217cff++];_0x5d4f6f=_0x40f80a,_0x4e4da9=_0x5f0026,_0x1a8387=_0x45daca,_0x4302af=_0x116bbd;}var _0x40f80a=(_0xf368d8[_0x5d4f6f>>>0x18]<<0x18|_0xf368d8[_0x4e4da9>>>0x10&0xff]<<0x10|_0xf368d8[_0x1a8387>>>0x8&0xff]<<0x8|_0xf368d8[_0x4302af&0xff])^_0x27f236[_0x217cff++],_0x5f0026=(_0xf368d8[_0x4e4da9>>>0x18]<<0x18|_0xf368d8[_0x1a8387>>>0x10&0xff]<<0x10|_0xf368d8[_0x4302af>>>0x8&0xff]<<0x8|_0xf368d8[_0x5d4f6f&0xff])^_0x27f236[_0x217cff++],_0x45daca=(_0xf368d8[_0x1a8387>>>0x18]<<0x18|_0xf368d8[_0x4302af>>>0x10&0xff]<<0x10|_0xf368d8[_0x5d4f6f>>>0x8&0xff]<<0x8|_0xf368d8[_0x4e4da9&0xff])^_0x27f236[_0x217cff++],_0x116bbd=(_0xf368d8[_0x4302af>>>0x18]<<0x18|_0xf368d8[_0x5d4f6f>>>0x10&0xff]<<0x10|_0xf368d8[_0x4e4da9>>>0x8&0xff]<<0x8|_0xf368d8[_0x1a8387&0xff])^_0x27f236[_0x217cff++];_0x5c9816[_0x555112]=_0x40f80a,_0x5c9816[_0x555112+0x1]=_0x5f0026,_0x5c9816[_0x555112+0x2]=_0x45daca,_0x5c9816[_0x555112+0x3]=_0x116bbd;},'keySize':0x100/0x20});_0x38c47d[_0x4d8702(0x387)]=_0x325c4d[_0x4d8702(0x2a9)](_0x133731);}()),_0x115da2[_0x7d7ace(0x387)];}));}(Ve)),Ve[_0x2b8ba8(0x333)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1a3a6b(0x333)],ai;function zr(){var _0x15a2c3=_0x1a3a6b;return ai||(ai=0x1,function(_0x7b9d22,_0x195b4f){(function(_0x10c9db,_0x5ef739){var _0x20e2cf=_0x2c36;_0x7b9d22[_0x20e2cf(0x333)]=_0x5ef739(ne());}(qr,function(_0x3829b0){var _0x54d42e=_0x2c36;return _0x3829b0[_0x54d42e(0x111)][_0x54d42e(0x232)];}));}(Xe)),Xe[_0x15a2c3(0x333)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x1a3a6b(0x333)],ci;function Qr(){var _0x51a161=_0x1a3a6b;return ci||(ci=0x1,function(_0x5b07d8,_0x33682f){(function(_0x179e6a,_0x31d118){_0x5b07d8['exports']=_0x31d118(ne());}(Zr,function(_0x40ffc2){var _0x13da53=_0x2c36;return(function(){var _0x5a42cc=_0x2c36;if(typeof ArrayBuffer=='function'){var _0x29a3a2=_0x40ffc2,_0x54bfd9=_0x29a3a2[_0x5a42cc(0xe3)],_0x242517=_0x54bfd9[_0x5a42cc(0x32c)],_0x2b14ce=_0x242517[_0x5a42cc(0xce)],_0x4afecd=_0x242517[_0x5a42cc(0xce)]=function(_0x4c05bd){var _0x174619=_0x5a42cc;if(_0x4c05bd instanceof ArrayBuffer&&(_0x4c05bd=new Uint8Array(_0x4c05bd)),(_0x4c05bd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4c05bd instanceof Uint8ClampedArray||_0x4c05bd instanceof Int16Array||_0x4c05bd instanceof Uint16Array||_0x4c05bd instanceof Int32Array||_0x4c05bd instanceof Uint32Array||_0x4c05bd instanceof Float32Array||_0x4c05bd instanceof Float64Array)&&(_0x4c05bd=new Uint8Array(_0x4c05bd[_0x174619(0x386)],_0x4c05bd[_0x174619(0x338)],_0x4c05bd[_0x174619(0x13f)])),_0x4c05bd instanceof Uint8Array){for(var _0x192b79=_0x4c05bd[_0x174619(0x13f)],_0x4377e9=[],_0x232727=0x0;_0x232727<_0x192b79;_0x232727++)_0x4377e9[_0x232727>>>0x2]|=_0x4c05bd[_0x232727]<<0x18-_0x232727%0x4*0x8;_0x2b14ce['call'](this,_0x4377e9,_0x192b79);}else _0x2b14ce[_0x174619(0x12e)](this,arguments);};_0x4afecd[_0x5a42cc(0x366)]=_0x242517;}}()),_0x40ffc2[_0x13da53(0xe3)][_0x13da53(0x32c)];}));}(Ze)),Ze[_0x51a161(0x333)];}var es=Qr();const ts=ke(es);function _0x45ac(){var _0x3a76c8=['collaboration-client.config','generateRandomId','_createHelper','SOCKET_FAILED_RETRY','compute','registerHTTPInterceptor','updatePermissionObjEvent','getInterceptPoints','_iKey','_event$','_commentUpdate$','userID','_members','_getSessionTicket','collaboration_new_changeset','awaiting','FETCH_MISSING','Hasher','_onRemoteChangeset','[CollaborationState]:\x20apply\x20error!','_incrementRevisionNumber','roomInfos','toLowerCase','LICENSE_IMPORT_SIZE_EXCEEDED','_createInitialStateImpl','reset','COLLAB_WEB_SOCKET_URL','extend','getTypeOfUnitDisposed$','UNIVER_SHEET','_onConnectionOpen','_emitMembers','_tryEnsureSocket','_userManagerService','_listenToNetworkCondition','min','incrementRevOfUnit','randomUUID','UnitSnapshot','actions','__esModule','getCollabEntity$','UNKNOWN_CODE','_onLocalMutation','session.room-not-exists','?size=','_queuedRemoteChangesets','_awaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_logService','executeCommand','finalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createInitialState','m2Prime','_substituteRedoStack','_snapshotServerService','_getDownloadEndpointURL','onlyLocal','getCollabEntity','processBlock','univer-pro.collaboration-client.single-active-unit-service','_shouldReportTelemetry','createInstance','onRemoteChangeset','sheets','initWorkbookPermissionChange','snapshotServerUrl','UNAUTHENTICATED','/allowed','transformUndoRedo','editingUnit','textRanges','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','__Key__','collaboratorID','_onJoinRoomEvent','setConfig','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','getUnitOnRev','fromCharCode','EXCHANGE_SIGN_URL_SERVER_URL_KEY','get','createDecryptor','commentUpdateEvent','FAIL','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','emitEvent','_socketMessageSubscription','/fetchmissing?from=','_syncEditingCollabCursor','map','enableSingleActiveInstanceLock','_clearUndo','_collaborationSessionService','Error\x20on\x20receiving\x20event','unit-cache-','open$','execute','synced','error$','withCredentials','clear','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','/collaborator','_waitForHeartbeatResponse','getRandomValues','json','_transformRemoteChangesetByIMECache','\x20to\x20','_waitCount','&assign=','getUnit','IDLE','BASE64','{fileID}','capture','getUnitId','_onRemoteRejected','bind','decryptBlock','_nDataBytes','reduce','loginUrlKey','_revisionService','_localCacheService','key','_roomMembers','leaveEvent','uniscriptRunEvent','&source=','onSyncEditingCollabCursor','_candidateSocket','WordArray','fetchMissingChangesets','_transformStack','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[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.','liveShareOperation','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','exports','/rev/','_unlockTransition','_clearCollaborationTimeoutTimer','slice','byteOffset','_unitID','HEARTBEAT_TIMEOUT','RETRY_CONNECTING_MAX_COUNT','forEach','cmd','BufferedBlockAlgorithm','_sendHeartbeatTimer','OPTIONAL','removeMember','1309352sAiGHs','UPDATE_PERMISSION_OBJ','max','_sessionStatus$','Decryptor','mixIn','_transformRemoteChangesetByStateCache','conflict','getRoom','_sendHeartbeat','allowed','CONFLICT','_stopTelemetryCollaborationNewChangeset','UNIVER_SLIDE','responseType','getImage','_collaborationPaused','_injector','_collaborationUIEventService','LOGIN_URL_KEY','_iv','randomBytes','SUCCUSS','SUBMIT_CHANGESET_TIMEOUT','string','closeSession','SUBMIT_CHANGESET','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','pauseCollaboration','SHA1','add','target','error','TOO_MANY_REQUESTS','_entities','unitInfo$','prototype','UNISCRIPT_RUN','[CollaborationEntity]','createSocket','range','SerializableCipher','_instanceService','objectActions','unpad','resend','unknown','/universer-api/file/{fileID}/sign-url','reject','_resendTimeout','[FetchMissState]','disposeWithMe','YUUMI_RATE_OVER_LIMIT','toString','/object/','_decreaseWaiting','complete','listRoles','indexOf','getUnitType','CBC','_transformStateCache','_getAPIPrefix','_initRequestHeader','_change$','patch','fetchThroughInterceptors','_changesetSessionId','buffer','AES','[DataLoaderService]','set','symbol','_collabSessionService','onSendChangeset','SNAPSHOT_HAS_BEEN_REMOVED','_retryConnectingTimer','$super','_tryReconnect','onStarting','HEARTBEAT','deleteCollaborator','LIVESHARE_NEW_HOST','padding','image/bmp','socket\x20close','list','mode','status','session.room-cnt-exceeds','subject','LIVESHARE_FETCH_OPERATIONS','update','17684WZabtv','BlockCipher','concat','_permissionService','localeService','asObservable','LICENSE_EXPORT_SIZE_EXCEEDED','_telemetryInfo','COMMENT_UPDATE','CHANGESET_SHOULD_RETRY','_key','_rescheduleHeartbeat','putCollaborators','session.room-full','_pendingMutations','_doCryptBlock','hostname','getMemberID','getCurrentSelections','ALREADY_EXISTS','Could\x20not\x20dynamically\x20require\x20\x22','_compressMutationService','updateMember','_reverseMap','_timeoutTimer','DEFAULT_FILE_NAME','href','eventID','pluginName','_state','save\x20fail\x20reason\x20is\x20','salt','_keySchedule','_memberService','HMAC','values','&to=','online$','uploadFileServerUrl','_DEC_XFORM_MODE','CHANGESET_REVISION_CONFILICT','onTransformIME','_getUploadFileURL','permissionRejEvent','[PendingState]:\x20received\x20acknowledgement.','_sheetTransformSelectionsService','UNIVER_PROJECT','[CollaborationSession]','origin','80ZbENnk','Base','MD5','_singleActiveUnitService','LEAVE','init','_snapshotService','collabWebSocketUrl','_initDependencies','onTransformRemoteChangesetByStateCache','SOCKET_FAILED','onRemoteAck','commentUpdate$','enableAuthServer','YUUMI_UNABLE_LOAD_URL','_httpService','RECV','_isPermissionRej','/role','encodeURIComponent','updatePermissionPoint','_entityInit$','UUID','COLLAB_SUBMIT_CHANGESET_URL','ONLINE','PERMISSION_DENIED','lib','now','charCodeAt','ivSize','/universer-api/authz','_prevBlock','_handler','crypto','objectType','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','setShowComponents','_socketReady','UNIVER_DOC','dispose','duration','decrypt','getOwnPropertyDescriptor','delete','/resources','_retryCount','_replayCachedMutations','\x0aCurrent:\x20','x-univer-host','_getLoginPath','collaboration-client.local-cache-service','unsubscribe','LOCAL_CACHE_INTERVAL','_hash','[OfflineState]:\x20received\x20acknowledgement.','updateOfflineData','loadSheet','getTypeOfUnitAdded$','_initMergeInterceptor','fetch_missing','substr','call','create','[OfflineState]:\x20received\x20changeset.','_submitChangeset','_onConflict','[CollaborationSessionService]:\x20socket\x20error','appendMutation','/universer-api/uniscript','_loadDoc','COMPRESS_MUTATION_SEND','_acknowledgedAwaitingChangeset','enc','file','_startCollaboration','pipe','_showConflictNotification','UPDATE_CURSOR','change$','confirm','parse','session.join-failed','loadOfflineData','_getCurrentRevision','words','location','/universer-api/snapshot','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','_sender','UNRECOGNIZED','_updateState','ceil','push','focused$','authzUrl','_doProcessBlock','close','getDeserializedSheetBlock','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','keySize','apply','state','selections','isPermissionRej','[UniverCollaborationClientPlugin]','_onUserJoin','INTERNAL_ERROR','_status$','JOINING','_socket','_minBufferSize','_clearTimeoutTimer','getMember','pending','CONNECTOR_DATA_TOO_LARGE','_authzIoService','Latin1','byteLength','/universer-api/snapshot/','MUTATION','mutations','ENSURE_SNAPSHOT_EXECUTION','_imageSourceCache','COMPLETION_FINISHED','requestParams','awaiting_with_pending','onload','retryConnectingInterval','members$','\x20in\x20_schedule.','find','baseRev','loadUnit','_config','_disableEditing','floor','originalMeta','_onRecvEvent','debug','_toggleOnline','_clearRedo','_getCtorByUniverType','getActiveSheet','LIVESHARE_OPERATION','dispose$','OTHER_CLIENT_EDITING','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','csShouldRetryEvent','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','HttpExport','83736Uvacap','search','CHANGESET_ACK','random','Encryptor','_lockTransition','getCurrentRevOfUnit','sessionStatus','clone','iterations','msCrypto','_members$','_localeService','_startTelemetryCollaborationNewChangeset','_commandService','liveShareNewHost','getSnapshotAPIPath','enableOfflineEditing','getUnitStatus$','cfg','send','subscribe','_roomCreated$','_checkMissing','JOIN_ROOM_FULL','close$','USERS_ENTER','_fetchMissChangesets','HttpImport','/unit/','LICENSE_DISTRO_REJECTED','pad','INGEST','runId','next','HmacSHA1','_clearLocalCache','_loadSheet','body','/universer-api/stream/file/upload','univer-pro.collaboration-client-socket-service','_telemetryService','_updateStatus','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','_socketService','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','HmacMD5','_cipher','getWorkbookSelections','onRemoteRej','startTime','searchParams','_type','localCacheService','transformSelections','_parse','NoPadding','algo','put','_undoStacks','unitID','getValue','_registerDependencies','_xformMode','/universer-api/oidc/authpage','_createHandler','[OfflineState]:\x20received\x20rejection.','_sessions','JOIN','_changesetReqId','rev','[CollaborationSessionService]','objectID','onCommentUpdate','message$','_clearScheduledTask','LIVESHARE_REQUEST_HOST','_createSocketURL','c1Prime','every','_HTTPService','_resendTimer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_substituteUndoStack','_clearHeartbeatTimer','encrypt','_doReset','COMPRESS_MUTATION_APPLY','memberID','PERSON','[CollaborationUndoRedoService]','UNKNOWN_CMD','_onConnectionFailed','resourceIDs','APPLY_REVISION_CONFILICT','onMissingChangesets','awaitingChangeset','_map','_init','fetchMiss','from','saveImage','wsSessionTicketUrl','NEW_CHANGESETS','event$','append','UnitEmbedded','offline','getTime','stopTime','refreshPermission','loadDoc','stringify','64266eMHeGh','_scheduleCollaborationTimeoutTimer','src','_univerInstanceService','_transformIMECache','_networkConditionService','sessionTicket','getSheetId','_getSignURL','headers','OFFLINE','url','transformMutationsWithChangeset','_onOffline','_executeRemoteChangeset','[SyncedState]:\x20received\x20acknowledgement.','setWaitCount','_invKeySchedule','_transformUndoredo','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','LICENSE_MAX_UNITS_EXCEEDED','/block/','_remoteChangesetQueue','_createSocket','image/gif','filter','revision','params','INVALID_ARGUMENT','_redoStacks','_mode','formatter','_getUndoStack','JOIN_ROOM_FAILED','onMissedChangesetFetched','getFocusedUnit','_data','AWAITING_WITH_PENDING','sendChangesetTimeout','transformStack\x20failed!','Base64','_applyRemoteChangeset','unitId','defineProperty','hasOwnProperty','joinRsp','_transitionLocked','_onMessage','onStateChange','transformChangesets','JOIN_ROOM_PERMISSION_DENIED','NOT_COLLAB','AWAITING','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_hasher','EvpKDF','then','_getSendChangesetTimeout','_schedule','createEncryptor','_state$','abs','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCloseConn','_handlerCallback','YUUMI_URL_COL_OUT_OF_RANGE','onCommandExecuted','session.room-permission-denied','application/json','members','\x20-\x20','SHOULD_CLOSE_CONN','joinEvent','fromCollab','result','_keyPriorReset','_oKey','_process','snapshot','state$','_commentService','entityInit$','join','size','method','SNAPSHOT_URL_KEY','image/jpeg','_eventService','data','requireSession','_onUserLeave','univer-pro.collaboration-client.network-condition.service','repeat','routeKey','APPLY_DUPLICATED','_undoRedoService','Utf8','_getAPIPrefixPath','_transformSelections','entries','name','Pkcs7','saveChangeset','has','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISS','_replaceFileID','SNAPSHOT_INVALID_SNAPSHOT','_resendWithTimeout','length','getCurrentUser','blockSize','code','not_collab','_nRounds','UNIVER_UNKNOWN','_unitInfo$','_onCombEvent','_updateLocalCache','updateCollaborator','reconnect','failed\x20to\x20apply\x20missed\x20changesets!','_onRemoteACK','ciphertext','kdf','_ENC_XFORM_MODE','toggleOnline','_joinRoom','ERROR_IMAGE','_throwTelemetryCollaborationNewChangeset','copyFileMeta','replace','getAllMembers','changesets','Univer','session','csRejEvent','unitId\x20is\x20not\x20found','infoRsp','onRemoteRetry','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','ticket','54964UJuvvD','csAckEvent','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','equals','catch','OTHER_CLIENTS_EDITING','image/jpg','getConfig','clamp','sin','USERS_LEAVE','shouldCloseConn','4858002RchLlH','collaborators','HELLO','ERROR_IMAGE_TYPE','1394386aAqGGA','_doFinalize','UNDEFINED','onTransformState','JOIN_ROOM_NOT_EXISTS','LIVESHARE_TERMINATE','_sendingTimer','3lylLeP','APPLY_REJECT','_scheduleCompleteTimestamp','getResourcesRequest','reqId','reverse','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_collaborationTimeoutTimer','PERMISSION_REJ','toggleOffline','hasher','_http','type','rng','_transformService','UNIVER_COLLABORATION_CLIENT_PLUGIN','ERROR_EXCEED_SIZE','charAt','_removeRoom','onTransformSelections','_append','isArray','sessionStatus$','AUTHZ_URL_KEY','BlockCipherMode','_socket$','saveSheetBlock','batchAllowed','default','format','_getRedoStack','/-/object/list','newCsEvent','sid','Undefined','c2Prime','encode','PY_RUNTIME_SCRIPT_ERROR','\x0aAfter:\x20','sigBytes','interceptor','CLOSE_ROOM','NO_OTHER_CLIENTS_EDITING','signUrlServerUrl','_configService','post','socket$'];_0x45ac=function(){return _0x3a76c8;};return _0x45ac();}var Qe={'exports':{}},is=Qe[_0x1a3a6b(0x333)],hi;function ns(){var _0x3f4bcb=_0x1a3a6b;return hi||(hi=0x1,function(_0x45ad7e,_0xb0b97d){(function(_0x183c29,_0x29fc94,_0x3749da){var _0x26227e=_0x2c36;_0x45ad7e[_0x26227e(0x333)]=_0x29fc94(ne(),Ai());}(is,function(_0x49361f){var _0x1e589c=_0x2c36;return _0x49361f['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x49361f[_0x1e589c(0x17f)][_0x1e589c(0x199)];}));}(Qe)),Qe[_0x3f4bcb(0x333)];}var rs=ns();const ss=ke(rs);function os(_0x12e44f,_0x2a82c9){var _0x982a41=_0x1a3a6b;const _0x5a30f6=_0x2a82c9-_0x12e44f[_0x982a41(0x23f)]%_0x2a82c9,_0x39694e=String['fromCharCode'](_0x5a30f6)[_0x982a41(0x22e)](_0x5a30f6);return _0x12e44f+_0x39694e;}function as(_0x5bbd0a,_0x4afe35){var _0x2a07bf=_0x1a3a6b;const _0x1841c4=ts['random'](0x10),_0x32b433=os(_0x5bbd0a,0x10),_0x854b70=Kr[_0x2a07bf(0x1b6)](Xr['parse'](_0x32b433),oi['parse'](_0x4afe35),{'iv':_0x1841c4,'padding':ss});return _0x1841c4[_0x2a07bf(0x9a)](_0x854b70[_0x2a07bf(0x24d)])[_0x2a07bf(0x377)](oi);}function cs(){var _0x504b06=_0x1a3a6b;const _0x21368b=_0x23ae21()[_0x504b06(0x2f1)];if(_0x21368b){const _0x2b3a52={'time':Math[_0x504b06(0x151)](Date[_0x504b06(0xe4)]()/0x3e8),'domain':location[_0x504b06(0xa8)]};return as(JSON['stringify'](_0x2b3a52),_0x21368b);}}var hs=Object[_0x1a3a6b(0x1fd)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x250abc,_0x465002,_0x382164,_0x5618c5)=>{var _0x13d003=_0x1a3a6b;for(var _0xc54a40=_0x5618c5>0x1?void 0x0:_0x5618c5?_s(_0x465002,_0x382164):_0x465002,_0x4ceccc=_0x250abc[_0x13d003(0x23f)]-0x1,_0x5b3dcf;_0x4ceccc>=0x0;_0x4ceccc--)(_0x5b3dcf=_0x250abc[_0x4ceccc])&&(_0xc54a40=(_0x5618c5?_0x5b3dcf(_0x465002,_0x382164,_0xc54a40):_0x5b3dcf(_0xc54a40))||_0xc54a40);return _0x5618c5&&_0xc54a40&&hs(_0x465002,_0x382164,_0xc54a40),_0xc54a40;},us=(_0x3bdfec,_0x441c85)=>(_0x50510d,_0x4fd852)=>_0x441c85(_0x50510d,_0x4fd852,_0x3bdfec);let ot=class{constructor(_0x5c8f53){var _0x33792f=_0x1a3a6b;this[_0x33792f(0xd8)]=_0x5c8f53,this[_0x33792f(0x381)]();}[_0x1a3a6b(0x381)](){var _0x1d2d0f=_0x1a3a6b;this[_0x1d2d0f(0xd8)][_0x1d2d0f(0x2ac)]({'interceptor':(_0x3ec4ae,_0x567a82)=>{var _0x671e5e=_0x1d2d0f;const _0x54c5cd=_0x3ec4ae[_0x671e5e(0x1db)],_0x290ac1=cs();return _0x290ac1&&_0x54c5cd[_0x671e5e(0x389)](_0x671e5e(0xf9),_0x290ac1),_0x567a82(_0x3ec4ae);}});}};ot=ls([us(0x0,_0x5eebc2(_0x5b5c45))],ot);var ds=Object[_0x1a3a6b(0x1fd)],fs=Object[_0x1a3a6b(0xf3)],vs=(_0x45abba,_0x4981c9,_0xab2adb,_0x320675)=>{for(var _0x1d9903=_0x320675>0x1?void 0x0:_0x320675?fs(_0x4981c9,_0xab2adb):_0x4981c9,_0x2c5356=_0x45abba['length']-0x1,_0x450e75;_0x2c5356>=0x0;_0x2c5356--)(_0x450e75=_0x45abba[_0x2c5356])&&(_0x1d9903=(_0x320675?_0x450e75(_0x4981c9,_0xab2adb,_0x1d9903):_0x450e75(_0x1d9903))||_0x1d9903);return _0x320675&&_0x1d9903&&ds(_0x4981c9,_0xab2adb,_0x1d9903),_0x1d9903;},mt=(_0xe32d5a,_0x374a2d)=>(_0x36f5d3,_0x58ffba)=>_0x374a2d(_0x36f5d3,_0x58ffba,_0xe32d5a);let Ot=class extends _0x20578d{constructor(_0x29617b,_0x2f3383,_0x5f015b){var _0x1c68f5=_0x1a3a6b;super(),N(this,_0x1c68f5(0x246),new _0x5c1b2c(null)),N(this,_0x1c68f5(0x365),this[_0x1c68f5(0x246)][_0x1c68f5(0x9d)]()),(this[_0x1c68f5(0x2d8)]=_0x29617b,this['_snapshotService']=_0x2f3383,this[_0x1c68f5(0x324)]=_0x5f015b);}async[_0x1a3a6b(0x14e)](_0x444f1c,_0x2e4ab3,_0x4a7650){var _0xb77f8f=_0x1a3a6b;this[_0xb77f8f(0x246)][_0xb77f8f(0x182)]({'unitId':_0x444f1c,'type':_0x2e4ab3,'subUnitId':_0x4a7650});let _0x1bedc3=null;switch(_0x2e4ab3){case Q['UNIVER_SHEET']:{_0x1bedc3=await this[_0xb77f8f(0x185)](_0x444f1c);break;}case Q[_0xb77f8f(0xef)]:{_0x1bedc3=await this[_0xb77f8f(0x10e)](_0x444f1c);break;}default:{this[_0xb77f8f(0x2d8)]['error'](_0xb77f8f(0x388),_0xb77f8f(0x15e));break;}}return _0x1bedc3;}async['_loadSheet'](_0x5116ed){var _0x377ffa=_0x1a3a6b,_0x5e1e65;let _0x527538=0x0;const _0x23c8e7=await((_0x5e1e65=this[_0x377ffa(0x324)])==null?void 0x0:_0x5e1e65['loadOfflineData'](_0x5116ed));return _0x23c8e7&&(_0x23c8e7[_0x377ffa(0x1c1)]||_0x23c8e7[_0x377ffa(0x142)][_0x377ffa(0x23f)]!==0x0)&&(_0x527538=_0x23c8e7[_0x377ffa(0x1a7)]),_0x527538===0x0&&this[_0x377ffa(0x2d8)][_0x377ffa(0x154)](_0x377ffa(0x388),_0x377ffa(0x263)),this[_0x377ffa(0xcf)][_0x377ffa(0x101)](_0x5116ed,_0x527538);}async['_loadDoc'](_0x466e0c){var _0x1bdc6e=_0x1a3a6b,_0x1fda36;let _0x228809=0x0;const _0x2aaff1=await((_0x1fda36=this['_localCacheService'])==null?void 0x0:_0x1fda36[_0x1bdc6e(0x11b)](_0x466e0c));return _0x2aaff1&&(_0x2aaff1[_0x1bdc6e(0x1c1)]||_0x2aaff1['mutations'][_0x1bdc6e(0x23f)]!==0x0)&&(_0x228809=_0x2aaff1['rev']),_0x228809===0x0&&this[_0x1bdc6e(0x2d8)][_0x1bdc6e(0x154)](_0x1bdc6e(0x388),_0x1bdc6e(0x263)),this[_0x1bdc6e(0xcf)][_0x1bdc6e(0x1d0)](_0x466e0c,_0x228809);}};Ot=vs([mt(0x0,_0x1ca28b),mt(0x1,_0x5eebc2(_0x59c463)),mt(0x2,_0x27b19f(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x1a3a6b(0xf3)],gs=(_0x2d3735,_0x4a16aa,_0x1a7fc7,_0x1233fc)=>{var _0x4a2b14=_0x1a3a6b;for(var _0x5b5cc1=_0x1233fc>0x1?void 0x0:_0x1233fc?ms(_0x4a16aa,_0x1a7fc7):_0x4a16aa,_0x598276=_0x2d3735[_0x4a2b14(0x23f)]-0x1,_0x3f0dcd;_0x598276>=0x0;_0x598276--)(_0x3f0dcd=_0x2d3735[_0x598276])&&(_0x5b5cc1=(_0x1233fc?_0x3f0dcd(_0x4a16aa,_0x1a7fc7,_0x5b5cc1):_0x3f0dcd(_0x5b5cc1))||_0x5b5cc1);return _0x1233fc&&_0x5b5cc1&&ps(_0x4a16aa,_0x1a7fc7,_0x5b5cc1),_0x5b5cc1;},gt=(_0x3cd439,_0x5f0dd8)=>(_0x1bb3ca,_0x142149)=>_0x5f0dd8(_0x1bb3ca,_0x142149,_0x3cd439);const Ss=['image/png',_0x1a3a6b(0x228),_0x1a3a6b(0x267),_0x1a3a6b(0x1ea),_0x1a3a6b(0x396)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x1a3a6b(0x187),Cs=_0x1a3a6b(0x2f8),Rs=_0x1a3a6b(0x371);let yt=class{constructor(_0x49e664,_0x513696,_0x2e8e7e){var _0x355f4b=_0x1a3a6b;N(this,'_waitCount',0x0),N(this,_0x355f4b(0x382),new _0x1b9930()),N(this,_0x355f4b(0x117),this['_change$']),N(this,_0x355f4b(0x144),new Map()),(this[_0x355f4b(0xd8)]=_0x49e664,this['_configService']=_0x513696,this[_0x355f4b(0x1d5)]=_0x2e8e7e);}[_0x1a3a6b(0x1e2)](_0x2864ed){var _0x241410=_0x1a3a6b;this[_0x241410(0x315)]=_0x2864ed,this[_0x241410(0x382)][_0x241410(0x182)](_0x2864ed);}['getImageSourceCache'](_0x232d5b,_0x2299be){var _0x28ef29=_0x1a3a6b;if(_0x2299be===_0x15d1ee['BASE64']){const _0x3b5c09=new Image();return _0x3b5c09[_0x28ef29(0x1d4)]=_0x232d5b,_0x3b5c09;}return this[_0x28ef29(0x144)][_0x28ef29(0x2f9)](_0x232d5b);}['addImageSourceCache'](_0x1c92e1,_0x3682c3,_0x485fc5){var _0x182dd2=_0x1a3a6b;_0x3682c3===_0x15d1ee[_0x182dd2(0x319)]||_0x485fc5==null||this[_0x182dd2(0x144)][_0x182dd2(0x389)](_0x1c92e1,_0x485fc5);}async[_0x1a3a6b(0x351)](_0x743f61){var _0x40f6d5=_0x1a3a6b;try{const _0x172c74=this[_0x40f6d5(0x23c)](this['_getSignURL'](),''+_0x743f61),_0x53f032=(await this[_0x40f6d5(0xd8)][_0x40f6d5(0x2f9)](_0x172c74))[_0x40f6d5(0x186)];if(_0x53f032[_0x40f6d5(0x362)]&&_0x53f032[_0x40f6d5(0x362)][_0x40f6d5(0x242)]===Ii['OK']){const _0x10c14a=new URL(_0x53f032[_0x40f6d5(0x1dd)],this[_0x40f6d5(0x2e0)]())[_0x40f6d5(0x377)]();return Promise['resolve'](_0x10c14a);}return Promise['reject'](_0x53f032['error']);}catch(_0x1a536c){return Promise[_0x40f6d5(0x372)](_0x1a536c);}}async[_0x1a3a6b(0x1c6)](_0x1d11e0){var _0x3643e7=_0x1a3a6b;let _0x596121='';if(!Ss['includes'](_0x1d11e0[_0x3643e7(0x284)]))return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x270)]));if(_0x1d11e0[_0x3643e7(0x225)]>Es)return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x288)]));try{const _0x51e65c=new FormData();_0x51e65c[_0x3643e7(0x1ca)](_0x3643e7(0x112),_0x1d11e0);const _0x34d590=this[_0x3643e7(0x1d5)]['getFocusedUnit'](),_0xbe86ff=_0x34d590==null?void 0x0:_0x34d590['getUnitId']();if(!_0xbe86ff)throw new Error(_0x3643e7(0x25b));const _0x17e0b0=this[_0x3643e7(0xc2)]()+_0x3643e7(0x2d4)+_0x1d11e0['size']['toString']()+_0x3643e7(0x329)+Ti['UnitEmbedded']+_0x3643e7(0x316)+encodeURIComponent(_0xbe86ff),_0x3d5a1a=await(await fetch(_0x17e0b0,{'method':'POST','body':_0x51e65c}))[_0x3643e7(0x312)]();if(typeof _0x3d5a1a['FileId']!='string')return this[_0x3643e7(0x379)](),Promise[_0x3643e7(0x372)](new Error(_0x113468[_0x3643e7(0x252)]));_0x596121=_0x3d5a1a['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x3643e7(0x372)](new Error(_0x113468['ERROR_IMAGE']));}return new Promise((_0x353392,_0x10516e)=>{var _0x39202b=_0x3643e7;const _0xb31f92=new FileReader();_0xb31f92['readAsDataURL'](_0x1d11e0),_0xb31f92[_0x39202b(0x148)]=_0x2fdcaa=>{var _0x8159a=_0x39202b,_0x231e28;const _0x18b72b=(_0x231e28=_0x2fdcaa[_0x8159a(0x361)])==null?void 0x0:_0x231e28['result'];if(_0x18b72b==null){this['_decreaseWaiting'](),_0x10516e(new Error(_0x113468[_0x8159a(0x252)]));return;}const _0x1a92b7=_0x282cb2[_0x8159a(0x2a8)](0x6);_0x353392({'imageId':_0x1a92b7,'imageSourceType':_0x15d1ee[_0x8159a(0xdf)],'source':_0x596121,'base64Cache':_0x18b72b,'status':_0x113468[_0x8159a(0x358)]}),this[_0x8159a(0x379)]();};});}[_0x1a3a6b(0xc2)](){var _0x567ccd=_0x1a3a6b,_0x4c6234,_0x42067c;const _0x5efac0=this['_configService'][_0x567ccd(0x268)](Is),_0x2adcda=this['_configService'][_0x567ccd(0x268)](q);return(_0x42067c=(_0x4c6234=_0x2adcda==null?void 0x0:_0x2adcda[_0x567ccd(0xbe)])!=null?_0x4c6234:_0x5efac0)!=null?_0x42067c:Ts;}[_0x1a3a6b(0x1da)](){var _0x162272=_0x1a3a6b,_0x249d9c,_0x466a8a;const _0x229eb6=this[_0x162272(0x2a4)][_0x162272(0x268)](Cs),_0x2f7762=this[_0x162272(0x2a4)][_0x162272(0x268)](q);return(_0x466a8a=(_0x249d9c=_0x2f7762==null?void 0x0:_0x2f7762[_0x162272(0x2a3)])!=null?_0x249d9c:_0x229eb6)!=null?_0x466a8a:Rs;}['_getDownloadEndpointURL'](){var _0x45f84a=_0x1a3a6b,_0x3c014b;const _0xbb3e5b=this[_0x45f84a(0x2a4)][_0x45f84a(0x268)](q);return(_0x3c014b=_0xbb3e5b==null?void 0x0:_0xbb3e5b['downloadEndpointUrl'])!=null?_0x3c014b:location[_0x45f84a(0xc8)];}[_0x1a3a6b(0x23c)](_0x2fc0a8,_0x45ead4){var _0x2f5a5f=_0x1a3a6b;return _0x2fc0a8[_0x2f5a5f(0x255)](_0x2f5a5f(0x31a),_0x45ead4);}[_0x1a3a6b(0x379)](){var _0x5cedda=_0x1a3a6b;this[_0x5cedda(0x315)]-=0x1,this[_0x5cedda(0x382)][_0x5cedda(0x182)](this['_waitCount']);}};yt=gs([gt(0x0,_0x5eebc2(_0x5b5c45)),gt(0x1,_0x4107ea),gt(0x2,_0x5eebc2(_0x42a1e9))],yt);var bs=Object[_0x1a3a6b(0x1fd)],Os=Object['getOwnPropertyDescriptor'],ys=(_0x287cd9,_0x3648f8,_0x54d966,_0x4f7a10)=>{var _0x2c6a00=_0x1a3a6b;for(var _0x495b30=_0x4f7a10>0x1?void 0x0:_0x4f7a10?Os(_0x3648f8,_0x54d966):_0x3648f8,_0x1f3fb3=_0x287cd9[_0x2c6a00(0x23f)]-0x1,_0x4b0a51;_0x1f3fb3>=0x0;_0x1f3fb3--)(_0x4b0a51=_0x287cd9[_0x1f3fb3])&&(_0x495b30=(_0x4f7a10?_0x4b0a51(_0x3648f8,_0x54d966,_0x495b30):_0x4b0a51(_0x495b30))||_0x495b30);return _0x4f7a10&&_0x495b30&&bs(_0x3648f8,_0x54d966,_0x495b30),_0x495b30;},_i=(_0x46c60a,_0x1a3c79)=>(_0xff2a1f,_0x49c51c)=>_0x1a3c79(_0xff2a1f,_0x49c51c,_0x46c60a);const Ns=_0x1a3a6b(0xe7);let Nt=class{constructor(_0x4ce1db,_0x476ecb){var _0x466cfe=_0x1a3a6b;this[_0x466cfe(0x2a4)]=_0x4ce1db,this[_0x466cfe(0x1b1)]=_0x476ecb;}[_0x1a3a6b(0x233)](){var _0x3cb50c=_0x1a3a6b,_0x191450,_0x34bd61;const _0x3b06d8=this[_0x3cb50c(0x2a4)][_0x3cb50c(0x268)](Pi),_0x480370=this[_0x3cb50c(0x2a4)][_0x3cb50c(0x268)](q);return(_0x34bd61=(_0x191450=_0x480370==null?void 0x0:_0x480370['authzUrl'])!=null?_0x191450:_0x3b06d8)!=null?_0x34bd61:Ns;}async[_0x1a3a6b(0x398)](_0xb04206){var _0x317b19=_0x1a3a6b;const _0x371be8=this[_0x317b19(0x233)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this[_0x317b19(0x1b1)][_0x317b19(0x2f9)](_0x371be8,{'params':{'objectID':_0xb04206[_0x317b19(0x1fc)],'unitID':_0xb04206[_0x317b19(0x1fc)]}}))[_0x317b19(0x186)][_0x317b19(0x26e)][_0x317b19(0x302)](_0x1815f3=>({'objectId':_0x1815f3['id'],'name':_0x1815f3['subject'][_0x317b19(0x236)],'metadata':{'icon':_0x1815f3[_0x317b19(0x95)]['avatar']},'label':_0x1815f3[_0x317b19(0x95)][_0x317b19(0x236)],'objectType':_0x446bf5[_0x317b19(0x1ba)]})),'metadata':{},'type':_0x446bf5['PERSON']}]};}};Nt=ys([_i(0x0,_0x5eebc2(_0x4107ea)),_i(0x1,_0x5eebc2(_0x5b5c45))],Nt);var Ds=Object[_0x1a3a6b(0x1fd)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x42203b,_0x35201c,_0x13a2d0,_0x518b03)=>{var _0x3a29be=_0x1a3a6b;for(var _0x28bd49=_0x518b03>0x1?void 0x0:_0x518b03?Ps(_0x35201c,_0x13a2d0):_0x35201c,_0x5a6011=_0x42203b[_0x3a29be(0x23f)]-0x1,_0x5e405f;_0x5a6011>=0x0;_0x5a6011--)(_0x5e405f=_0x42203b[_0x5a6011])&&(_0x28bd49=(_0x518b03?_0x5e405f(_0x35201c,_0x13a2d0,_0x28bd49):_0x5e405f(_0x28bd49))||_0x28bd49);return _0x518b03&&_0x28bd49&&Ds(_0x35201c,_0x13a2d0,_0x28bd49),_0x28bd49;},Se=(_0x186fed,_0x584bbd)=>(_0x1f8789,_0xf852f5)=>_0x584bbd(_0x1f8789,_0xf852f5,_0x186fed);let at=class extends _0x20578d{constructor(_0x8213f7,_0xdc77df,_0x1ab845,_0x2d764a,_0x317726,_0x50a6c4,_0x17b927){var _0x129c32=_0x1a3a6b;super(),this[_0x129c32(0x353)]=_0x8213f7,this[_0x129c32(0x1d5)]=_0xdc77df,this[_0x129c32(0x9b)]=_0x1ab845,this[_0x129c32(0x305)]=_0x2d764a,this['_collaborationUIEventService']=_0x317726,this[_0x129c32(0x13d)]=_0x50a6c4,this[_0x129c32(0x231)]=_0x17b927,this['_initUnitPermissionChange'](),this[_0x129c32(0x211)]();}[_0x1a3a6b(0x211)](){var _0x59f72f=_0x1a3a6b;const _0x559db0=async _0x56c68a=>{var _0x2facf7=_0x2c36;(await this['_collaborationSessionService']['requireSession'](_0x56c68a))[_0x2facf7(0x1c9)]['pipe'](_0x5cfa46(_0x4b97b4=>_0x4b97b4[_0x2facf7(0xb3)]===_0x12854d[_0x2facf7(0x219)]),_0x2f89f8(this[_0x2facf7(0x15a)]))['subscribe'](_0x3773b6=>{var _0x555b1a=_0x2facf7;const _0x290a24=_0x3773b6,{reason:_0x4b1577}=_0x290a24['data'];this[_0x555b1a(0x354)][_0x555b1a(0x2fe)]({'id':se[_0x555b1a(0x2a1)],'data':_0x4b1577}),this['_permissionService'][_0x555b1a(0xdd)](new _0x56b9cd(_0x56c68a)['id'],!0x1),this[_0x555b1a(0x305)][_0x555b1a(0x35b)](_0x56c68a);});};_0x56378f(this['_univerInstanceService'][_0x59f72f(0x102)](_0x520b34[_0x59f72f(0x2c4)]),this['_univerInstanceService'][_0x59f72f(0x102)](_0x520b34[_0x59f72f(0xef)]))[_0x59f72f(0x114)](_0x15b0db(_0x58794f=>_0x58794f[_0x59f72f(0x31c)]()),_0x5cfa46(_0x141e17=>!_0x4aa697(_0x141e17)),_0x2f89f8(this[_0x59f72f(0x15a)]))[_0x59f72f(0x175)](_0x6fe882=>{_0x559db0(_0x6fe882);});}['_initUnitPermissionChange'](){var _0x9547c9=_0x1a3a6b;const _0x3c0693=async _0x1e4d66=>{var _0x3d7ee8=_0x2c36;const _0x2b8374=await this[_0x3d7ee8(0x305)]['requireSession'](_0x1e4d66),_0x44e004=this[_0x3d7ee8(0x353)][_0x3d7ee8(0x2f9)](_0x18a768);_0x2b8374[_0x3d7ee8(0x1c9)][_0x3d7ee8(0x114)](_0x5cfa46(_0x449a48=>_0x449a48['eventID']===_0x12854d['UPDATE_PERMISSION_OBJ']),_0x2f89f8(this[_0x3d7ee8(0x15a)]))[_0x3d7ee8(0x175)](_0xdc294e=>{var _0x135ebe=_0x3d7ee8;const _0x5a8940=_0xdc294e,{objectId:_0x232e0c}=_0x5a8940['data'];_0x232e0c===_0x1e4d66?_0x44e004[_0x135ebe(0x2e9)](_0x1e4d66):_0x44e004[_0x135ebe(0x1cf)](_0x1e4d66,_0x232e0c);});};_0x56378f(this[_0x9547c9(0x1d5)][_0x9547c9(0x102)](_0x520b34['UNIVER_SHEET']),this['_univerInstanceService'][_0x9547c9(0x102)](_0x520b34[_0x9547c9(0xef)]))[_0x9547c9(0x114)](_0x15b0db(_0x61da7=>_0x61da7[_0x9547c9(0x31c)]()),_0x5cfa46(_0x50c6ef=>!_0x4aa697(_0x50c6ef)),_0x2f89f8(this[_0x9547c9(0x15a)]))[_0x9547c9(0x175)](_0x273035=>{_0x3c0693(_0x273035);});}};at=ws([Se(0x0,_0x5eebc2(_0x54e9ab)),Se(0x1,_0x42a1e9),Se(0x2,_0x4ebb7c),Se(0x3,_0x5eebc2(Le)),Se(0x4,_0x5eebc2(pe)),Se(0x5,_0x1226d2),Se(0x6,_0x1ca1a7)],at);var Us=Object[_0x1a3a6b(0x1fd)],As=Object['getOwnPropertyDescriptor'],xs=(_0x255a62,_0xb5e45,_0x2b26dc,_0x22e3cb)=>{var _0x1b7e21=_0x1a3a6b;for(var _0x3b77e9=_0x22e3cb>0x1?void 0x0:_0x22e3cb?As(_0xb5e45,_0x2b26dc):_0xb5e45,_0x5d8c4d=_0x255a62[_0x1b7e21(0x23f)]-0x1,_0x4efbd3;_0x5d8c4d>=0x0;_0x5d8c4d--)(_0x4efbd3=_0x255a62[_0x5d8c4d])&&(_0x3b77e9=(_0x22e3cb?_0x4efbd3(_0xb5e45,_0x2b26dc,_0x3b77e9):_0x4efbd3(_0x3b77e9))||_0x3b77e9);return _0x22e3cb&&_0x3b77e9&&Us(_0xb5e45,_0x2b26dc,_0x3b77e9),_0x3b77e9;},li=(_0x5d2ef2,_0x4602ad)=>(_0x474740,_0x508b75)=>_0x4602ad(_0x474740,_0x508b75,_0x5d2ef2);let Dt=class{constructor(_0x43433d,_0x38b6e6){var _0x5f1877=_0x1a3a6b;this[_0x5f1877(0x2a4)]=_0x43433d,this['_httpService']=_0x38b6e6;}async[_0x1a3a6b(0x2f6)](_0x12db59,_0x114894){var _0x416aad=_0x1a3a6b,_0x17b341;const {unitID:_0x1c0c9c,type:_0x12865d,revision:_0x4fd914=0x0}=_0x114894,_0x584ea2=this[_0x416aad(0x170)]()+'/'+_0x12865d+'/unit/'+_0x1c0c9c+_0x416aad(0x334)+_0x4fd914,_0xd62d5b=(await this['_httpService'][_0x416aad(0x2f9)](_0x584ea2))[_0x416aad(0x186)],_0x5b60a8=(_0x17b341=_0xd62d5b[_0x416aad(0x220)])==null?void 0x0:_0x17b341['workbook'];if(_0x5b60a8){const _0x3ab65e=_0x5b60a8==null?void 0x0:_0x5b60a8[_0x416aad(0x152)],_0x44537d=_0x302778['encode'](_0x23859b(_0x3ab65e));_0x5b60a8[_0x416aad(0x152)]=_0x44537d,Object[_0x416aad(0x235)](_0x5b60a8[_0x416aad(0x2e8)])[_0x416aad(0x33c)](([,_0xe34ff0])=>{var _0x165bfc=_0x416aad;const _0x50e0c3=_0xe34ff0[_0x165bfc(0x152)],_0x2c89fd=_0x302778[_0x165bfc(0x29c)](_0x23859b(_0x50e0c3));_0xe34ff0[_0x165bfc(0x152)]=_0x2c89fd;});}return _0xd62d5b;}async['getSheetBlock'](_0x3a8960,_0x71419e){var _0x3618e8=_0x1a3a6b;const {unitID:_0x51593d,type:_0x301112,blockID:_0x10c4b7}=_0x71419e,_0x537eab=this[_0x3618e8(0x380)]()+'/'+_0x301112+_0x3618e8(0x17d)+_0x51593d+_0x3618e8(0x1e7)+_0x10c4b7;return(await this[_0x3618e8(0xd8)][_0x3618e8(0x2f9)](_0x537eab))[_0x3618e8(0x186)];}async[_0x1a3a6b(0x12b)](_0x25299e,_0x36122f){var _0xfefcd7=_0x1a3a6b;const {unitID:_0x1258d8,type:_0x133a9e,blockID:_0x54ac2f}=_0x36122f,_0xfcc4e=this[_0xfefcd7(0x380)]()+_0xfefcd7(0x1e7)+_0x133a9e+'/unit/'+_0x1258d8+'/block/'+_0x54ac2f;return(await this[_0xfefcd7(0xd8)][_0xfefcd7(0x2f9)](_0xfcc4e))['body'];}async[_0x1a3a6b(0x32d)](_0x1dffa1,_0x125354){var _0x5647b2=_0x1a3a6b;const {unitID:_0x57d405,type:_0x43a8ce,from:_0x3dc155,to:_0x5d2dd3}=_0x125354,_0x413241=this[_0x5647b2(0x380)]()+'/'+_0x43a8ce+_0x5647b2(0x17d)+_0x57d405+_0x5647b2(0x300)+_0x3dc155+_0x5647b2(0xbc)+_0x5d2dd3;return(await this[_0x5647b2(0xd8)][_0x5647b2(0x2f9)](_0x413241))[_0x5647b2(0x186)];}[_0x1a3a6b(0x170)](){var _0x34e9f9=_0x1a3a6b,_0x101483;return(_0x101483=this['_configService'][_0x34e9f9(0x268)](Tn))!=null?_0x101483:this[_0x34e9f9(0x380)]();}[_0x1a3a6b(0x380)](){var _0x152ebb=_0x1a3a6b,_0x51572a,_0x2301c0;const _0x31b1df=this[_0x152ebb(0x2a4)][_0x152ebb(0x268)](En),_0x474229=this[_0x152ebb(0x2a4)][_0x152ebb(0x268)](q);return(_0x2301c0=(_0x51572a=_0x474229==null?void 0x0:_0x474229[_0x152ebb(0x2ea)])!=null?_0x51572a:_0x31b1df)!=null?_0x2301c0:In;}async[_0x1a3a6b(0x27b)](_0x1aa639,_0xf7e902){var _0x9851c4=_0x1a3a6b;const _0x936942=_0x9851c4(0x140)+_0xf7e902[_0x9851c4(0x284)]+_0x9851c4(0x17d)+_0xf7e902[_0x9851c4(0x19d)]+_0x9851c4(0xf5);return(await this['_httpService'][_0x9851c4(0x2f9)](_0x936942,{'params':{'resourceId':JSON[_0x9851c4(0x1d1)](_0xf7e902[_0x9851c4(0x1be)])}}))['body'];}['saveSnapshot'](){var _0x34ca49=_0x1a3a6b;throw new Error(_0x34ca49(0x2f5));}[_0x1a3a6b(0x292)](){var _0x328905=_0x1a3a6b;throw new Error(_0x328905(0x2f5));}[_0x1a3a6b(0x238)](){var _0x371c0e=_0x1a3a6b;throw new Error(_0x371c0e(0x2f5));}[_0x1a3a6b(0x254)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){var _0x301c8b=_0x1a3a6b;throw new Error(_0x301c8b(0x2f5));}};Dt=xs([li(0x0,_0x4107ea),li(0x1,_0x5eebc2(_0x5b5c45))],Dt);var Ls=Object[_0x1a3a6b(0x1fd)],Ms=Object['getOwnPropertyDescriptor'],$s=(_0x2630a9,_0x50fa1c,_0x9db50a,_0x47154e)=>{for(var _0x20c615=_0x47154e>0x1?void 0x0:_0x47154e?Ms(_0x50fa1c,_0x9db50a):_0x50fa1c,_0x23340f=_0x2630a9['length']-0x1,_0x2010f5;_0x23340f>=0x0;_0x23340f--)(_0x2010f5=_0x2630a9[_0x23340f])&&(_0x20c615=(_0x47154e?_0x2010f5(_0x50fa1c,_0x9db50a,_0x20c615):_0x2010f5(_0x20c615))||_0x20c615);return _0x47154e&&_0x20c615&&Ls(_0x50fa1c,_0x9db50a,_0x20c615),_0x20c615;},Ae=(_0xe3d98d,_0x2a054d)=>(_0x477127,_0x3d9378)=>_0x2a054d(_0x477127,_0x3d9378,_0xe3d98d);let Pt=class extends _0x97a08e{constructor(_0x2e8fce,_0x1604cf,_0x339db3,_0xdd9877,_0x296ad6){var _0x91c55a=_0x1a3a6b;super(_0x2e8fce,_0x1604cf,_0x339db3),this[_0x91c55a(0x286)]=_0xdd9877,this[_0x91c55a(0x2d8)]=_0x296ad6;}['transformUndoRedo'](_0x584381,_0x53e000){var _0x3d251b=_0x1a3a6b;const _0x259184=this[_0x3d251b(0x1f2)](_0x584381);if(_0x259184)try{const _0x41af5d=this[_0x3d251b(0x32e)](_0x259184,_0x53e000);this['_substituteUndoStack'](_0x584381,_0x41af5d);}catch(_0x20af44){this['_logService'][_0x3d251b(0x362)](_0x3d251b(0x1bb),_0x20af44),this[_0x3d251b(0x304)](_0x584381);}const _0x5b90aa=this['_getRedoStack'](_0x584381);if(_0x5b90aa)try{const _0x12dfa1=this[_0x3d251b(0x32e)](_0x5b90aa,_0x53e000);this[_0x3d251b(0x2de)](_0x584381,_0x12dfa1);}catch(_0x11e3ee){this[_0x3d251b(0x2d8)][_0x3d251b(0x362)](_0x11e3ee),this['_clearRedo'](_0x584381);}}[_0x1a3a6b(0x304)](_0x3114b8){const _0x13d641=this['_getUndoStack'](_0x3114b8);_0x13d641&&(_0x13d641['length']=0x0,this['_updateStatus']());}[_0x1a3a6b(0x156)](_0x3a795f){var _0x68fdb7=_0x1a3a6b;const _0x36b099=this[_0x68fdb7(0x296)](_0x3a795f);_0x36b099&&(_0x36b099[_0x68fdb7(0x23f)]=0x0,this[_0x68fdb7(0x18a)]());}[_0x1a3a6b(0x1b4)](_0x5847fc,_0x560197){var _0x1f2aa0=_0x1a3a6b;this[_0x1f2aa0(0x19c)][_0x1f2aa0(0x389)](_0x5847fc,_0x560197),this['_updateStatus']();}[_0x1a3a6b(0x2de)](_0x3235c8,_0x3abcf7){var _0x53be26=_0x1a3a6b;this[_0x53be26(0x1ef)][_0x53be26(0x389)](_0x3235c8,_0x3abcf7),this[_0x53be26(0x18a)]();}['_transformStack'](_0x156b43,_0x5e5eba){var _0x57c23f=_0x1a3a6b;const _0x1b78a4=[];let _0x15c0be=_0x5e5eba,_0x46ceca=_0x5e5eba;for(let _0x51d383=_0x156b43[_0x57c23f(0x23f)]-0x1;_0x51d383>=0x0;_0x51d383--){const {unitID:_0x2d7f4a,undoMutations:_0x1b0c36,redoMutations:_0x2fece3}=_0x156b43[_0x51d383],_0x4cdda1=this[_0x57c23f(0x286)][_0x57c23f(0x1de)](_0x15c0be,_0x1b0c36),_0x5332a9=this[_0x57c23f(0x286)][_0x57c23f(0x1de)](_0x46ceca,_0x2fece3);if(_0x1278d5(_0x4cdda1)||_0x1278d5(_0x5332a9)){this[_0x57c23f(0x2d8)]['error'](_0x57c23f(0x1bb),_0x57c23f(0x1f9),_0x4cdda1,_0x5332a9);break;}_0x15c0be=_0x4cdda1[_0x57c23f(0x1af)],_0x46ceca=_0x5332a9[_0x57c23f(0x1af)],_0x1b78a4['push']({'unitID':_0x2d7f4a,'undoMutations':_0x4cdda1[_0x57c23f(0x2dd)],'redoMutations':_0x5332a9[_0x57c23f(0x2dd)]});}return _0x1b78a4[_0x57c23f(0x27d)]();}};Pt=$s([Ae(0x0,_0x42a1e9),Ae(0x1,_0x572fdd),Ae(0x2,_0x27bf1f),Ae(0x3,_0x2b6404),Ae(0x4,_0x1ca28b)],Pt);var xi=Object['defineProperty'],Hs=Object[_0x1a3a6b(0xf3)],ks=(_0x3f8438,_0x4547fa,_0x15c1f7)=>_0x4547fa in _0x3f8438?xi(_0x3f8438,_0x4547fa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15c1f7}):_0x3f8438[_0x4547fa]=_0x15c1f7,js=(_0x1d649f,_0x41af3c,_0x52fb03,_0x45e276)=>{var _0x2ba309=_0x1a3a6b;for(var _0x44732d=_0x45e276>0x1?void 0x0:_0x45e276?Hs(_0x41af3c,_0x52fb03):_0x41af3c,_0x16f14f=_0x1d649f[_0x2ba309(0x23f)]-0x1,_0x3fe44b;_0x16f14f>=0x0;_0x16f14f--)(_0x3fe44b=_0x1d649f[_0x16f14f])&&(_0x44732d=(_0x45e276?_0x3fe44b(_0x41af3c,_0x52fb03,_0x44732d):_0x3fe44b(_0x44732d))||_0x44732d);return _0x45e276&&_0x44732d&&xi(_0x41af3c,_0x52fb03,_0x44732d),_0x44732d;},St=(_0x14ee65,_0x5750c0)=>(_0x484e71,_0x595a0e)=>_0x5750c0(_0x484e71,_0x595a0e,_0x14ee65),Bs=(_0x4cedf9,_0x1c8202,_0x5b0e59)=>ks(_0x4cedf9,_0x1c8202+'',_0x5b0e59);const Fs=_0x1a3a6b(0x287);let wt=class extends _0x154cbd{constructor(_0x564bef=Wt,_0x330b1c,_0x27d010,_0x46e313){var _0xc6d94d=_0x1a3a6b;super(),this['_config']=_0x564bef,this['_logService']=_0x330b1c,this[_0xc6d94d(0x353)]=_0x27d010,this[_0xc6d94d(0x2a4)]=_0x46e313;const {..._0x346107}=_0x3b3b7a({},Wt,this[_0xc6d94d(0x14f)]);this[_0xc6d94d(0x2a4)][_0xc6d94d(0x2f4)](q,_0x346107);}[_0x1a3a6b(0x391)](){var _0x11626b=_0x1a3a6b;this[_0x11626b(0x19f)](),this['_initDependencies']();}[_0x1a3a6b(0x19f)](){var _0x2cdfbf=_0x1a3a6b,_0x42abe3,_0x2d188a,_0x70ab4c,_0x9bddb6;this[_0x2cdfbf(0x353)][_0x2cdfbf(0x239)](_0x1ca1a7)&&this[_0x2cdfbf(0x2d8)][_0x2cdfbf(0x362)](_0x2cdfbf(0x132),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5c3f37=_0x347440([[_0x1ca1a7,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x2d188a=(_0x42abe3=this[_0x2cdfbf(0x14f)])==null?void 0x0:_0x42abe3['socketService'])!=null?_0x2d188a:Et}],[_0x394c8c,{'useClass':Dt}],[_0x1226d2,{'useClass':bt}],[_0xb7d4df,{'useClass':yt}],[_0x145c7f,{'useClass':Nt}],[rt],[Rt]],(_0x70ab4c=this[_0x2cdfbf(0x14f)])==null?void 0x0:_0x70ab4c['override']);if(!((_0x9bddb6=this[_0x2cdfbf(0x14f)])!=null&&_0x9bddb6[_0x2cdfbf(0x303)])){const _0x282d5c=_0x5c3f37['findIndex'](([_0x3ba20a])=>_0x3ba20a===ht);_0x282d5c!==-0x1&&_0x5c3f37['splice'](_0x282d5c,0x1);}_0x2cd418(this[_0x2cdfbf(0x353)],_0x5c3f37);}[_0x1a3a6b(0xd1)](){var _0x21d9fa=_0x1a3a6b,_0x3e809f,_0x28ac4b,_0x13c3a5;this[_0x21d9fa(0x353)]['get'](_0x5b5c45)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x5294b3({'maxParallel':0x6})}),(_0x3e809f=this[_0x21d9fa(0x14f)])!=null&&_0x3e809f[_0x21d9fa(0x171)]||(_0x28ac4b=this[_0x21d9fa(0x353)][_0x21d9fa(0x2f9)](J,_0x29c645[_0x21d9fa(0x340)]))==null||_0x28ac4b['disableLocalCache'](),(_0x13c3a5=this[_0x21d9fa(0x14f)])!=null&&_0x13c3a5[_0x21d9fa(0xd6)]&&_0x324e2e(this[_0x21d9fa(0x353)],[[st]]),_0x324e2e(this[_0x21d9fa(0x353)],[[ot],[rt],[at]]);}};Bs(wt,_0x1a3a6b(0xb4),Fs),wt=js([_0x12a217(_0x1d7fdc,_0x29ba89,_0x1c49eb),St(0x1,_0x1ca28b),St(0x2,_0x5eebc2(_0x54e9ab)),St(0x3,_0x4107ea)],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};