@univerjs-pro/collaboration-client 0.6.10-nightly.202504201606 → 0.6.10-nightly.202504221607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -11
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x3aff44=_0x79cb;(function(_0x5e888b,_0x10804c){var _0x1562c8=_0x79cb,_0x24ade0=_0x5e888b();while(!![]){try{var _0x11e571=-parseInt(_0x1562c8(0x2a1))/0x1*(parseInt(_0x1562c8(0x12b))/0x2)+parseInt(_0x1562c8(0xcd))/0x3+parseInt(_0x1562c8(0x1dc))/0x4+-parseInt(_0x1562c8(0x270))/0x5*(parseInt(_0x1562c8(0x10d))/0x6)+-parseInt(_0x1562c8(0x8e))/0x7+-parseInt(_0x1562c8(0x21d))/0x8+parseInt(_0x1562c8(0x1c3))/0x9;if(_0x11e571===_0x10804c)break;else _0x24ade0['push'](_0x24ade0['shift']());}catch(_0x42fdbb){_0x24ade0['push'](_0x24ade0['shift']());}}}(_0x2aa7,0xc3320));var wi=Object[_0x3aff44(0x203)],Pi=(_0x172694,_0x594fbf,_0x143577)=>_0x594fbf in _0x172694?wi(_0x172694,_0x594fbf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x143577}):_0x172694[_0x594fbf]=_0x143577,N=(_0x27ee95,_0x200710,_0x4b4044)=>Pi(_0x27ee95,typeof _0x200710!=_0x3aff44(0x1a7)?_0x200710+'':_0x200710,_0x4b4044);import{createIdentifier as _0x14c25f,Inject as _0x2d5589,Injector as _0x548b34,IConfigService as _0x3c5e42,ILogService as _0x4a21cb,Disposable as _0x19df94,DisposableCollection as _0x9504c8,toDisposable as _0x10d4b1,IUniverInstanceService as _0x52f90f,UserManagerService as _0x482413,UniverInstanceType as _0x32ac1a,LocaleService as _0x8ed99f,Optional as _0x12c4df,RxDisposable as _0x358ab7,Tools as _0x21ca88,Rectangle as _0x3f1e15,ICommandService as _0x529fbd,JSONX as _0x18e82d,CommandType as _0x30e367,IUndoRedoService as _0x4fa255,IPermissionService as _0x25587c,sequenceExecute as _0x5d4273,Workbook as _0x441a8c,MentionType as _0x40daf5,isInternalEditorID as _0x94f4bb,LocalUndoRedoService as _0x43c235,IContextService as _0x271c1c,DependentOn as _0x4c90ec,Plugin as _0x440046,merge as _0x51635c,mergeOverrideWithDependencies as _0x43f0e0,IAuthzIoService as _0xca19d,IMentionIOService as _0x206e72,registerDependencies as _0x5058fc,Quantity as _0x4cd278,touchDependencies as _0x813a62}from'@univerjs/core';import{Subject as _0x279a5a,merge as _0x436cc6,of as _0x312f76,BehaviorSubject as _0x269196,takeUntil as _0x59b91c,ReplaySubject as _0x3a5863,take as _0x141c58,map as _0xc8db9,shareReplay as _0x56558e,firstValueFrom as _0x1bd6db,concatMap as _0x39cf2b}from'rxjs';import{map as _0x45b9c6,take as _0x3593ce,filter as _0x4926c7,delay as _0x338ee3,takeUntil as _0x32ebe9}from'rxjs/operators';import{CollaborationEvent as _0x2bf31e,ISnapshotServerService as _0x3952ba,parseChangesetToProtocol as _0x5862b3,ITransformService as _0x35a8a9,isTransformMutationsWithChangesetSuccess as _0x4c7cee,mapDocumentTypeToUniverType as _0x487cfb,RevisionService as _0x15c1d1,isTransformChangesetsSuccess as _0x383de4,CompressMutationService as _0x103b5f,parseProtocolChangeset as _0x1848be,SnapshotService as _0x2f9057,textEncoder as _0x22ae9a,b64DecodeUnicode as _0x5dea1c,isTransformMutationsWithChangesetFailure as _0x1f8f82,UniverCollaborationPlugin as _0x27987d}from'@univerjs-pro/collaboration';import{HTTPService as _0x4fb77b,ISocketService as _0x20422d,MergeInterceptorFactory as _0x9fd7a8,HTTPRequest as _0x24675a,UniverNetworkPlugin as _0x4ae3e0,ThresholdInterceptorFactory as _0x2bb1b1}from'@univerjs/network';import{ITelemetryService as _0x2f779b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x99b319}from'@univerjs/docs';import{SheetsSelectionsService as _0x3516f7,SetSelectionsOperation as _0x3e2339,InsertSheetMutation as _0x120e12,EmptyMutation as _0xe71767,WorkbookEditablePermission as _0x3cd10f,SheetPermissionInitController as _0x127517}from'@univerjs/sheets';import{ImageSourceType as _0x15d5af,ImageUploadStatusType as _0x11c350,IImageIoService as _0x205a84}from'@univerjs/drawing';import{getGlobalObject as _0x337955}from'@univerjs-pro/license';const mn=_0x3aff44(0x2bf),gn=_0x3aff44(0x254),Sn=_0x3aff44(0x10b),Lr='SEND_CHANGESET_TIMEOUT',En=0x7d0,In='COLLAB_WEB_SOCKET_URL',Tn=_0x3aff44(0x2f7),xr=_0x3aff44(0x193),Cn=_0x3aff44(0x29b),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,On=_0x3aff44(0x2af),yn=0x3,Mr=_0x3aff44(0x1d9),kr=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn='/universer-api/comb',Un=_0x3aff44(0x1ae),An=_0x3aff44(0x2b6),$r=_0x3aff44(0x138),Hr=_0x3aff44(0x158);var Si=(_0x59a7e4=>(_0x59a7e4[_0x59a7e4[_0x3aff44(0x2a6)]=0x0]=_0x3aff44(0x2a6),_0x59a7e4[_0x59a7e4['OK']=0x1]='OK',_0x59a7e4[_0x59a7e4[_0x3aff44(0x98)]=0x2]=_0x3aff44(0x98),_0x59a7e4[_0x59a7e4['PERMISSION_DENIED']=0x3]=_0x3aff44(0x16e),_0x59a7e4[_0x59a7e4[_0x3aff44(0x1b3)]=0x4]=_0x3aff44(0x1b3),_0x59a7e4[_0x59a7e4[_0x3aff44(0x2e5)]=0x5]=_0x3aff44(0x2e5),_0x59a7e4[_0x59a7e4[_0x3aff44(0x2c6)]=0x6]='ALREADY_EXISTS',_0x59a7e4[_0x59a7e4[_0x3aff44(0x210)]=0x7]='INVALID_ARGUMENT',_0x59a7e4[_0x59a7e4[_0x3aff44(0x1bd)]=0x8]='TOO_MANY_REQUESTS',_0x59a7e4[_0x59a7e4[_0x3aff44(0x1e5)]=0x9]=_0x3aff44(0x1e5),_0x59a7e4[_0x59a7e4['LOGIN_FAILED']=0xa]=_0x3aff44(0x11f),_0x59a7e4[_0x59a7e4[_0x3aff44(0x278)]=0x1389]=_0x3aff44(0x278),_0x59a7e4[_0x59a7e4[_0x3aff44(0x269)]=0x1771]=_0x3aff44(0x269),_0x59a7e4[_0x59a7e4[_0x3aff44(0x1ba)]=0x1772]=_0x3aff44(0x1ba),_0x59a7e4[_0x59a7e4[_0x3aff44(0x151)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x59a7e4[_0x59a7e4[_0x3aff44(0x188)]=0x1b59]=_0x3aff44(0x188),_0x59a7e4[_0x59a7e4[_0x3aff44(0x12e)]=0x1b5a]=_0x3aff44(0x12e),_0x59a7e4[_0x59a7e4['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x59a7e4[_0x59a7e4['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3aff44(0x9e),_0x59a7e4[_0x59a7e4[_0x3aff44(0x300)]=0x1b5d]=_0x3aff44(0x300),_0x59a7e4[_0x59a7e4[_0x3aff44(0x93)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x59a7e4[_0x59a7e4[_0x3aff44(0x2b9)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x59a7e4[_0x59a7e4[_0x3aff44(0x256)]=0x232a]=_0x3aff44(0x256),_0x59a7e4[_0x59a7e4['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x59a7e4[_0x59a7e4[_0x3aff44(0xa6)]=0x232c]=_0x3aff44(0xa6),_0x59a7e4[_0x59a7e4['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3aff44(0x335),_0x59a7e4[_0x59a7e4[_0x3aff44(0x23e)]=0x2711]=_0x3aff44(0x23e),_0x59a7e4[_0x59a7e4[_0x3aff44(0xa2)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x59a7e4[_0x59a7e4[_0x3aff44(0x94)]=0x2713]=_0x3aff44(0x94),_0x59a7e4[_0x59a7e4[_0x3aff44(0x26c)]=0x2714]=_0x3aff44(0x26c),_0x59a7e4[_0x59a7e4[_0x3aff44(0x147)]=0x271a]=_0x3aff44(0x147),_0x59a7e4[_0x59a7e4[_0x3aff44(0x265)]=0x271b]=_0x3aff44(0x265),_0x59a7e4[_0x59a7e4[_0x3aff44(0xf9)]=0x2af9]=_0x3aff44(0xf9),_0x59a7e4[_0x59a7e4[_0x3aff44(0x196)]=0x2ee1]=_0x3aff44(0x196),_0x59a7e4[_0x59a7e4[_0x3aff44(0x238)]=0x2ee2]=_0x3aff44(0x238),_0x59a7e4[_0x59a7e4[_0x3aff44(0x2d8)]=0x2ee3]=_0x3aff44(0x2d8),_0x59a7e4[_0x59a7e4[_0x3aff44(0x32c)]=0x2ee4]=_0x3aff44(0x32c),_0x59a7e4[_0x59a7e4[_0x3aff44(0x34e)]=0x2ee5]=_0x3aff44(0x34e),_0x59a7e4[_0x59a7e4[_0x3aff44(0x1ca)]=0x32c9]=_0x3aff44(0x1ca),_0x59a7e4[_0x59a7e4[_0x3aff44(0x30f)]=0x32ca]=_0x3aff44(0x30f),_0x59a7e4[_0x59a7e4['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3aff44(0x343),_0x59a7e4[_0x59a7e4[_0x3aff44(0xd1)]=-0x1]='UNRECOGNIZED',_0x59a7e4))(Si||{}),Q=(_0xd844c5=>(_0xd844c5[_0xd844c5[_0x3aff44(0x115)]=0x0]=_0x3aff44(0x115),_0xd844c5[_0xd844c5[_0x3aff44(0x27e)]=0x1]=_0x3aff44(0x27e),_0xd844c5[_0xd844c5['UNIVER_SHEET']=0x2]=_0x3aff44(0xb4),_0xd844c5[_0xd844c5['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0xd844c5[_0xd844c5[_0x3aff44(0x324)]=0x4]=_0x3aff44(0x324),_0xd844c5[_0xd844c5['UNRECOGNIZED']=-0x1]=_0x3aff44(0xd1),_0xd844c5))(Q||{}),F=(_0x53df9d=>(_0x53df9d[_0x53df9d[_0x3aff44(0x195)]=0x0]=_0x3aff44(0x195),_0x53df9d[_0x53df9d[_0x3aff44(0x36f)]=0x1]=_0x3aff44(0x36f),_0x53df9d[_0x53df9d[_0x3aff44(0x2ec)]=0x2]='JOIN',_0x53df9d[_0x53df9d['LEAVE']=0x3]='LEAVE',_0x53df9d[_0x53df9d[_0x3aff44(0x2f3)]=0x4]=_0x3aff44(0x2f3),_0x53df9d[_0x53df9d[_0x3aff44(0x208)]=0x5]='HEARTBEAT',_0x53df9d[_0x53df9d[_0x3aff44(0x166)]=0x6]=_0x3aff44(0x166),_0x53df9d[_0x53df9d[_0x3aff44(0xd1)]=-0x1]='UNRECOGNIZED',_0x53df9d))(F||{}),ge=(_0xb960a3=>(_0xb960a3[_0xb960a3[_0x3aff44(0x282)]=0x0]=_0x3aff44(0x282),_0xb960a3[_0xb960a3['OK']=0x1]='OK',_0xb960a3[_0xb960a3['FAIL']=0x2]=_0x3aff44(0x370),_0xb960a3[_0xb960a3[_0x3aff44(0x308)]=0x3e9]=_0x3aff44(0x308),_0xb960a3[_0xb960a3[_0x3aff44(0x36b)]=0x3ea]=_0x3aff44(0x36b),_0xb960a3[_0xb960a3[_0x3aff44(0x2b8)]=0x3eb]=_0x3aff44(0x2b8),_0xb960a3[_0xb960a3[_0x3aff44(0x237)]=0x3ec]=_0x3aff44(0x237),_0xb960a3[_0xb960a3[_0x3aff44(0xd1)]=-0x1]=_0x3aff44(0xd1),_0xb960a3))(ge||{}),Ei=(_0x84ddcb=>(_0x84ddcb[_0x84ddcb[_0x3aff44(0x2e9)]=0x0]=_0x3aff44(0x2e9),_0x84ddcb[_0x84ddcb['HttpImport']=0x1]=_0x3aff44(0x112),_0x84ddcb[_0x84ddcb['HttpExport']=0x2]=_0x3aff44(0xe0),_0x84ddcb[_0x84ddcb['UnitEmbedded']=0x3]=_0x3aff44(0x34d),_0x84ddcb[_0x84ddcb[_0x3aff44(0xd6)]=0x4]='UnitSnapshot',_0x84ddcb[_0x84ddcb['UserProfileImg']=0x5]=_0x3aff44(0x174),_0x84ddcb[_0x84ddcb[_0x3aff44(0xd1)]=-0x1]=_0x3aff44(0xd1),_0x84ddcb))(Ei||{});const q=_0x3aff44(0x28e),wn={};var re=(_0x22b0eb=>(_0x22b0eb[_0x3aff44(0x245)]=_0x3aff44(0x245),_0x22b0eb['PERMISSION_DENIED']=_0x3aff44(0x16e),_0x22b0eb['CONFLICT']='CONFLICT',_0x22b0eb[_0x3aff44(0x2e4)]=_0x3aff44(0x2e4),_0x22b0eb[_0x3aff44(0x1a4)]=_0x3aff44(0x1a4),_0x22b0eb['SOCKET_FAILED_RETRY']=_0x3aff44(0x35a),_0x22b0eb[_0x3aff44(0x250)]=_0x3aff44(0x250),_0x22b0eb[_0x3aff44(0x105)]=_0x3aff44(0x105),_0x22b0eb))(re||{});class pe{constructor(){var _0x240bee=_0x3aff44;N(this,_0x240bee(0x2c7),new _0x279a5a()),N(this,_0x240bee(0x29f),this[_0x240bee(0x2c7)][_0x240bee(0x205)]());}[_0x3aff44(0x374)](_0x2d4dfc){var _0x4e7d0f=_0x3aff44;this[_0x4e7d0f(0x2c7)][_0x4e7d0f(0x15e)](_0x2d4dfc);}}const Pn=_0x14c25f(_0x3aff44(0x2e8));function Ln(_0x51acee){var _0x9e7a5d=_0x3aff44,_0x47b616,_0x5735b2,_0x34dba8,_0x3edbb5,_0x47d888;const _0x44c658=_0x51acee[_0x9e7a5d(0x37d)],_0x4c01fd=JSON[_0x9e7a5d(0x247)](_0x44c658);switch(_0x4c01fd[_0x9e7a5d(0x330)]){case F['HEARTBEAT']:case F[_0x9e7a5d(0x36f)]:{const _0x524a25=_0x4c01fd[_0x9e7a5d(0x2eb)];return{..._0x4c01fd,'data':_0x524a25,'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};}case F[_0x9e7a5d(0x2ec)]:{const _0x4b0edf=_0x4c01fd[_0x9e7a5d(0xff)];return{..._0x4c01fd,'data':_0x4b0edf,'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};}case F[_0x9e7a5d(0x166)]:{const _0x24cbf8=_0x4c01fd['collaMsg'];switch(_0x24cbf8[_0x9e7a5d(0x388)]){case _0x2bf31e['PERMISSION_REJ']:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':(_0x47b616=_0x24cbf8[_0x9e7a5d(0x15d)])==null?void 0x0:_0x47b616['cs']},'cmd':_0x4c01fd['cmd']};case _0x2bf31e[_0x9e7a5d(0x332)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':(_0x5735b2=_0x24cbf8[_0x9e7a5d(0x33d)])==null?void 0x0:_0x5735b2['cs']},'cmd':_0x4c01fd['cmd']};case _0x2bf31e[_0x9e7a5d(0x230)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':(_0x34dba8=_0x24cbf8[_0x9e7a5d(0x387)])==null?void 0x0:_0x34dba8['cs']},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x19b)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':(_0x3edbb5=_0x24cbf8[_0x9e7a5d(0x146)])==null?void 0x0:_0x3edbb5['cs']},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e['CHANGESET_SHOULD_RETRY']:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':(_0x47d888=_0x24cbf8[_0x9e7a5d(0x373)])==null?void 0x0:_0x47d888['cs']},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x1c2)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x97)]},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x9b)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x36e)]},'cmd':_0x4c01fd['cmd']};case _0x2bf31e[_0x9e7a5d(0x317)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x2e1)]},'cmd':_0x4c01fd['cmd']};case _0x2bf31e[_0x9e7a5d(0x104)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x321)]},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x379)]:case _0x2bf31e['LIVESHARE_OPERATION']:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8['liveShareOperation']},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x9a)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8['liveShareNewHost']},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e['MSG_FOR_ERROR']:return{..._0x4c01fd,'data':_0x24cbf8,'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x13a)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x2d3)]},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x2d6)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x184)]},'cmd':_0x4c01fd[_0x9e7a5d(0x330)]};case _0x2bf31e[_0x9e7a5d(0x311)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x25c)]},'cmd':_0x4c01fd['cmd']};case _0x2bf31e[_0x9e7a5d(0xb9)]:return{..._0x4c01fd,'data':{..._0x24cbf8,'data':_0x24cbf8[_0x9e7a5d(0x21f)]},'cmd':_0x4c01fd['cmd']};default:return _0x4c01fd;}}default:return _0x4c01fd;}}function xn(_0x4f1adc){var _0x2886c2=_0x3aff44;switch(_0x4f1adc[_0x2886c2(0x330)]){case F[_0x2886c2(0x208)]:case F['HELLO']:return JSON['stringify']({'cmd':_0x4f1adc['cmd'],'routeKey':_0x4f1adc[_0x2886c2(0x264)]});case F[_0x2886c2(0x2f3)]:{let _0x1f8545;switch(_0x4f1adc[_0x2886c2(0x37d)]['eventID']){case _0x2bf31e[_0x2886c2(0x1c2)]:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x1c2)],'updateCursorEvent':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e['USERS_LEAVE']:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x317)],'leaveEvent':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e[_0x2886c2(0x9b)]:{_0x1f8545={'eventID':_0x2bf31e['USERS_ENTER'],'joinEvent':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e[_0x2886c2(0x104)]:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x104)],'liveShareNewHost':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e['LIVESHARE_OPERATION']:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x2a5)],'liveShareOperation':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e[_0x2886c2(0x9a)]:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x9a)],'liveShareTerminate':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e[_0x2886c2(0x135)]:{_0x1f8545={'eventID':_0x2bf31e[_0x2886c2(0x135)],'liveShareRequestHost':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x37d)]};break;}case _0x2bf31e[_0x2886c2(0x379)]:{_0x1f8545={'eventID':_0x2bf31e['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x1f8545={'eventID':_0x4f1adc[_0x2886c2(0x37d)][_0x2886c2(0x388)]};}return JSON[_0x2886c2(0x258)]({'cmd':_0x4f1adc['cmd'],'routeKey':_0x4f1adc[_0x2886c2(0x264)],'collaMsg':_0x1f8545});}case F['JOIN']:return JSON[_0x2886c2(0x258)]({'cmd':_0x4f1adc[_0x2886c2(0x330)],'routeKey':_0x4f1adc[_0x2886c2(0x264)],'joinReq':_0x4f1adc[_0x2886c2(0x37d)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0x4f1adc['cmd'],'routeKey':_0x4f1adc['routeKey'],'leaveReq':_0x4f1adc[_0x2886c2(0x37d)]});default:throw new Error(_0x2886c2(0x383));}}var Mn=Object[_0x3aff44(0x202)],kn=(_0x372b5f,_0xaf894c,_0x4ca2a7,_0x933d85)=>{var _0x563a1f=_0x3aff44;for(var _0x59e490=_0x933d85>0x1?void 0x0:_0x933d85?Mn(_0xaf894c,_0x4ca2a7):_0xaf894c,_0x22db40=_0x372b5f[_0x563a1f(0x2fe)]-0x1,_0x456cf6;_0x22db40>=0x0;_0x22db40--)(_0x456cf6=_0x372b5f[_0x22db40])&&(_0x59e490=_0x456cf6(_0x59e490)||_0x59e490);return _0x59e490;},Ae=(_0x2dff8c,_0x50d826)=>(_0x4b43f8,_0x51e64b)=>_0x50d826(_0x4b43f8,_0x51e64b,_0x2dff8c);const Ii=_0x14c25f(_0x3aff44(0x23c));function $n(_0x38e78b,_0x315416,_0x2fee7e){var _0x49fbde=_0x3aff44;return _0x38e78b+'/'+_0x315416+_0x49fbde(0x284)+_0x2fee7e+_0x49fbde(0x109);}let Gt=class extends _0x19df94{constructor(_0x45268e,_0x34d167,_0x37adc2,_0x46fc2e,_0x10f129){var _0x2f7960=_0x3aff44;super(),this[_0x2f7960(0xea)]=_0x45268e,this[_0x2f7960(0xa3)]=_0x34d167,this[_0x2f7960(0x2ed)]=_0x37adc2,this['_logService']=_0x46fc2e,this[_0x2f7960(0xf2)]=_0x10f129;}[_0x3aff44(0x1ef)](_0x310f2f){var _0x1cd9a7=_0x3aff44;const _0x1f4c3a=this[_0x1cd9a7(0xea)][_0x1cd9a7(0x142)](_0x20422d);if(!_0x1f4c3a)throw new Error(_0x1cd9a7(0x1a6));const _0x43f2dc=_0x1f4c3a[_0x1cd9a7(0x211)](_0x310f2f);if(!_0x43f2dc)throw new Error(_0x1cd9a7(0x2a9));const _0x24b255=new _0x9504c8(),_0x8c321b=new _0x279a5a();_0x24b255['add'](_0x43f2dc[_0x1cd9a7(0xa5)][_0x1cd9a7(0x152)](_0x582e39=>_0x8c321b[_0x1cd9a7(0x15e)](_0x582e39))),_0x24b255[_0x1cd9a7(0x2b4)](_0x10d4b1(()=>_0x8c321b[_0x1cd9a7(0x2ad)]()));const _0x289ea4=new _0x279a5a();_0x24b255[_0x1cd9a7(0x2b4)](_0x43f2dc[_0x1cd9a7(0x2fd)][_0x1cd9a7(0x152)](_0x1effa5=>_0x289ea4[_0x1cd9a7(0x15e)](_0x1effa5))),_0x24b255['add'](_0x10d4b1(()=>_0x289ea4[_0x1cd9a7(0x2ad)]()));const _0x60fce7=new _0x279a5a();_0x24b255[_0x1cd9a7(0x2b4)](_0x43f2dc['message$'][_0x1cd9a7(0x152)](_0x372ace=>{const _0x5b3890=Ln(_0x372ace);_0x60fce7['next'](_0x5b3890);})),_0x24b255[_0x1cd9a7(0x2b4)](_0x10d4b1(()=>_0x60fce7[_0x1cd9a7(0x2ad)]()));let _0x438725;const _0x27c9d4=()=>{var _0x2cf3ef=_0x1cd9a7;_0x289ea4['next'](new Event('connection\x20error')),_0x8c321b[_0x2cf3ef(0x15e)](new Event(_0x2cf3ef(0x1d2))),_0x438725[_0x2cf3ef(0x2d1)]();};return _0x438725={'memberID':'','close$':_0x8c321b[_0x1cd9a7(0x205)](),'error$':_0x289ea4[_0x1cd9a7(0x205)](),'open$':_0x43f2dc['open$'],'message$':_0x60fce7[_0x1cd9a7(0x205)](),'send':_0x5ecbf0=>{var _0x13539e=_0x1cd9a7;if(_0x5ecbf0['cmd']===F['INGEST']){if(_0x5ecbf0['data'][_0x13539e(0x388)]===_0x2bf31e[_0x13539e(0x263)]){this['_submitChangeset'](_0x438725,_0x5ecbf0[_0x13539e(0x37d)])['catch'](_0x4e7cbe=>{var _0x3650ae=_0x13539e;this['_logService'][_0x3650ae(0x2dd)](_0x4e7cbe),_0x27c9d4();});return;}if(_0x5ecbf0[_0x13539e(0x37d)][_0x13539e(0x388)]===_0x2bf31e['FETCH_MISSING']){const _0x4b6feb=_0x5ecbf0[_0x13539e(0x37d)];this[_0x13539e(0x1dd)](_0x4b6feb)[_0x13539e(0x172)](_0x6a93c3=>{var _0x26a341=_0x13539e;_0x60fce7[_0x26a341(0x15e)]({'cmd':F[_0x26a341(0x166)],'code':ge['OK'],'routeKey':_0x4b6feb[_0x26a341(0x37d)]['unitID'],'routeType':'','data':{'eventID':_0x2bf31e[_0x26a341(0x216)],'data':{'changesets':_0x6a93c3}}});})[_0x13539e(0x1b4)](_0x4e6480=>{var _0x22f481=_0x13539e;this[_0x22f481(0x1bf)][_0x22f481(0x2dd)](_0x4e6480),_0x27c9d4();});return;}}_0x43f2dc['send'](xn(_0x5ecbf0));},'close':()=>{var _0x3eaf8a=_0x1cd9a7;_0x43f2dc[_0x3eaf8a(0x2d1)](),_0x24b255[_0x3eaf8a(0xb2)]();}},_0x438725;}async[_0x3aff44(0xcf)](_0x18d9ac,_0x1bd49f){var _0x40cfb3=_0x3aff44,_0x546f39,_0x3c7cad;const {unitType:_0x16d136,unitID:_0x32e8fd,changeset:_0x51e351}=_0x1bd49f[_0x40cfb3(0x37d)],_0x10d494={'unitID':_0x32e8fd,'memberID':_0x18d9ac[_0x40cfb3(0xdc)],'type':_0x16d136,'changeset':_0x5862b3(_0x51e351)},_0x1240ef=this['_configService'][_0x40cfb3(0x189)](Nn),_0x8c6f3a=this['_configService'][_0x40cfb3(0x189)](q),_0x666abc=$n((_0x3c7cad=(_0x546f39=_0x8c6f3a==null?void 0x0:_0x8c6f3a[_0x40cfb3(0x133)])!=null?_0x546f39:_0x1240ef)!=null?_0x3c7cad:Dn,_0x16d136,_0x32e8fd);try{await this[_0x40cfb3(0xa3)][_0x40cfb3(0x331)](_0x666abc,{'body':_0x10d494});}catch(_0x2e0635){throw this[_0x40cfb3(0x1bf)][_0x40cfb3(0x2dd)](_0x40cfb3(0xe8),_0x40cfb3(0x1f8)),_0x2e0635;}}async[_0x3aff44(0x1dd)](_0x5d870a){var _0x345e1f=_0x3aff44;const {unitID:_0x7b1c7e,from:_0x4092b8,to:_0x381c88,unitType:_0x21f09c}=_0x5d870a[_0x345e1f(0x37d)];return(await this['_snapshotServerService']['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x7b1c7e,'type':_0x21f09c,'from':_0x4092b8,'to':_0x381c88}))['changesets'];}};Gt=kn([Ae(0x0,_0x2d5589(_0x548b34)),Ae(0x1,_0x2d5589(_0x4fb77b)),Ae(0x2,_0x3c5e42),Ae(0x3,_0x4a21cb),Ae(0x4,_0x3952ba)],Gt);const Hn=_0x3aff44(0x369);function Bn(_0x50a6bf){var _0x170117=_0x3aff44;return JSON[_0x170117(0x258)](_0x50a6bf)[_0x170117(0x2fe)];}class Ti{constructor(){var _0x324d1e=_0x3aff44;N(this,'_commentUpdate$',new _0x279a5a()),N(this,_0x324d1e(0x1c6),this['_commentUpdate$'][_0x324d1e(0x205)]());}['onCommentUpdate'](_0x2e698d){var _0x1ee061=_0x3aff44;this['_commentUpdate$'][_0x1ee061(0x15e)](_0x2e698d);}}var jn=Object[_0x3aff44(0x202)],Fn=(_0x1d3d2b,_0x433909,_0x6e524f,_0x4ea6d4)=>{var _0xaa954e=_0x3aff44;for(var _0x52fdf2=_0x4ea6d4>0x1?void 0x0:_0x4ea6d4?jn(_0x433909,_0x6e524f):_0x433909,_0x3b60cb=_0x1d3d2b[_0xaa954e(0x2fe)]-0x1,_0x63ddd9;_0x3b60cb>=0x0;_0x3b60cb--)(_0x63ddd9=_0x1d3d2b[_0x3b60cb])&&(_0x52fdf2=_0x63ddd9(_0x52fdf2)||_0x52fdf2);return _0x52fdf2;},Wt=(_0x67e94a,_0x52140a)=>(_0x274917,_0x2d9cc9)=>_0x52140a(_0x274917,_0x2d9cc9,_0x67e94a);let Le=class extends _0x19df94{constructor(_0x4d8858,_0x20c4de){var _0x3e3ace=_0x3aff44;super(),N(this,'_roomMembers',new Map()),N(this,'_roomCreated$',new _0x279a5a()),(this[_0x3e3ace(0x268)]=_0x4d8858,this['_userManagerService']=_0x20c4de,this[_0x3e3ace(0xeb)](_0x436cc6(this[_0x3e3ace(0x268)][_0x3e3ace(0x16d)](_0x32ac1a[_0x3e3ace(0xb4)])[_0x3e3ace(0x16b)](_0x45b9c6(_0x33ceaa=>_0x33ceaa[_0x3e3ace(0x35f)]())),this[_0x3e3ace(0x268)][_0x3e3ace(0x16d)](_0x32ac1a[_0x3e3ace(0x27e)])['pipe'](_0x45b9c6(_0x288e34=>_0x288e34[_0x3e3ace(0x35f)]())),this[_0x3e3ace(0x268)][_0x3e3ace(0x16d)](_0x32ac1a[_0x3e3ace(0x32a)])['pipe'](_0x45b9c6(_0x31473c=>_0x31473c['getUnitId']())))['subscribe'](_0x2e85dd=>this[_0x3e3ace(0x342)](_0x2e85dd))));}[_0x3aff44(0x116)](_0xe89128){var _0x56e505=_0x3aff44;return this[_0x56e505(0x290)][_0x56e505(0xba)](_0xe89128)?_0x312f76(this[_0x56e505(0x290)]['get'](_0xe89128)):this['_roomCreated$']['pipe'](_0x45b9c6(_0x42ca93=>{var _0x274c75=_0x56e505;if(_0x42ca93===_0xe89128)return this[_0x274c75(0x290)][_0x274c75(0x142)](_0x42ca93);}));}['setCurrentUser'](_0x3d0865){var _0xb4efad=_0x3aff44;this['_userManagerService'][_0xb4efad(0x26b)](_0x3d0865);}['getCurrentUser'](){var _0x932b5c=_0x3aff44;return this[_0x932b5c(0x261)][_0x932b5c(0x183)]();}[_0x3aff44(0x224)](_0x41aa92,_0xe96532){var _0x1129c1=_0x3aff44;let _0x50588d=this[_0x1129c1(0x290)][_0x1129c1(0x142)](_0x41aa92);_0x50588d||(_0x50588d=new Vn(),this['_roomMembers'][_0x1129c1(0xbd)](_0x41aa92,_0x50588d),this['_roomCreated$'][_0x1129c1(0x15e)](_0x41aa92)),_0x50588d[_0x1129c1(0x224)](_0xe96532);}[_0x3aff44(0x176)](_0xf80ac1,_0x297c3e){var _0x28d3e3=_0x3aff44;const _0x1504de=this['_roomMembers']['get'](_0xf80ac1);_0x1504de&&_0x1504de[_0x28d3e3(0x176)](_0x297c3e);}['getRoom'](_0xf16b19){var _0x585618=_0x3aff44;return this[_0x585618(0x290)][_0x585618(0x142)](_0xf16b19);}['getMember'](_0x3ac1c4,_0x430008){var _0x115e81=_0x3aff44;const _0x27c159=this['_roomMembers'][_0x115e81(0x142)](_0x3ac1c4);if(_0x27c159)return _0x27c159[_0x115e81(0x36a)](_0x430008);}[_0x3aff44(0x342)](_0x1d4342){var _0x38fb98=_0x3aff44;const _0xa86f15=this[_0x38fb98(0x290)]['get'](_0x1d4342);_0xa86f15&&(_0xa86f15[_0x38fb98(0xb2)](),this['_roomMembers'][_0x38fb98(0x2d9)](_0x1d4342));}[_0x3aff44(0xb2)](){var _0xf0e11b=_0x3aff44;this[_0xf0e11b(0x290)][_0xf0e11b(0x1b7)](_0x382ba6=>_0x382ba6[_0xf0e11b(0xb2)]()),this[_0xf0e11b(0x290)][_0xf0e11b(0x190)](),this[_0xf0e11b(0xb5)][_0xf0e11b(0x2ad)]();}};Le=Fn([Wt(0x0,_0x52f90f),Wt(0x1,_0x2d5589(_0x482413))],Le);class Vn extends _0x19df94{constructor(){var _0x4c94bb=_0x3aff44;super(...arguments),N(this,'_members',new Map()),N(this,_0x4c94bb(0x33b),new _0x269196(this['_members'])),N(this,'members$',this['_members$']['asObservable']());}[_0x3aff44(0xb2)](){var _0x542b14=_0x3aff44;this['_members'][_0x542b14(0x190)]();}[_0x3aff44(0x224)](_0x8cc692){var _0x216d9c=_0x3aff44;this[_0x216d9c(0x27b)][_0x216d9c(0xbd)](_0x8cc692['memberID'],_0x8cc692),this[_0x216d9c(0x1bb)]();}[_0x3aff44(0x176)](_0x1f2b10){var _0x4c70ed=_0x3aff44;this[_0x4c70ed(0x27b)][_0x4c70ed(0x2d9)](_0x1f2b10);}['getMember'](_0x12dbfc){var _0xb88f0e=_0x3aff44;return this['_members'][_0xb88f0e(0x142)](_0x12dbfc);}[_0x3aff44(0x18d)](){var _0x54d73a=_0x3aff44;return Array[_0x54d73a(0x20e)](this['_members']['values']());}[_0x3aff44(0x1bb)](){var _0x21e91a=_0x3aff44;this[_0x21e91a(0x33b)]['next'](this[_0x21e91a(0x27b)]);}}var Gn=Object['getOwnPropertyDescriptor'],Wn=(_0x284da3,_0x39b251,_0x1a47ae,_0xd7117c)=>{var _0x45ec97=_0x3aff44;for(var _0x448958=_0xd7117c>0x1?void 0x0:_0xd7117c?Gn(_0x39b251,_0x1a47ae):_0x39b251,_0x4f0e35=_0x284da3[_0x45ec97(0x2fe)]-0x1,_0x501d3b;_0x4f0e35>=0x0;_0x4f0e35--)(_0x501d3b=_0x284da3[_0x4f0e35])&&(_0x448958=_0x501d3b(_0x448958)||_0x448958);return _0x448958;},me=(_0x16e33a,_0x5239fd)=>(_0x3bd546,_0x6d2c2)=>_0x5239fd(_0x3bd546,_0x6d2c2,_0x16e33a),Ee=(_0x3868f2=>(_0x3868f2[_0x3868f2['IDLE']=0x0]='IDLE',_0x3868f2[_0x3868f2[_0x3aff44(0x1cc)]=0x1]=_0x3aff44(0x1cc),_0x3868f2[_0x3868f2['OFFLINE']=0x2]=_0x3aff44(0x1b0),_0x3868f2[_0x3868f2[_0x3aff44(0x35c)]=0x3]='ONLINE',_0x3868f2))(Ee||{});const Kt={[ge['FAIL']]:_0x3aff44(0x281),[ge['JOIN_ROOM_FULL']]:_0x3aff44(0x218),[ge[_0x3aff44(0x36b)]]:_0x3aff44(0x292),[ge[_0x3aff44(0x2b8)]]:_0x3aff44(0x19c),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x3aff44(0xe2)};let Et=class extends _0x358ab7{constructor(_0x28394b,_0x25a908,_0xba155b,_0x446922,_0x2b5008,_0x453720,_0x523f59,_0x4a53ae,_0x5214e7){var _0x27d7e0=_0x3aff44;super(),N(this,'_sessionStatus$',new _0x269196(0x0)),N(this,'sessionStatus$',this['_sessionStatus$'][_0x27d7e0(0x205)]()),N(this,_0x27d7e0(0x2c7),new _0x279a5a()),N(this,'event$',this[_0x27d7e0(0x2c7)][_0x27d7e0(0x205)]()),N(this,_0x27d7e0(0xe4)),N(this,_0x27d7e0(0x329)),N(this,_0x27d7e0(0x1f3)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x27d7e0(0xc2),null),(this[_0x27d7e0(0x137)]=_0x28394b,this['_logService']=_0xba155b,this[_0x27d7e0(0x2ed)]=_0x446922,this[_0x27d7e0(0x304)]=_0x2b5008,this[_0x27d7e0(0xf7)]=_0x453720,this['_commentService']=_0x523f59,this['_collaborationUIEventService']=_0x4a53ae,this[_0x27d7e0(0x1de)]=_0x5214e7,this[_0x27d7e0(0x1f9)]=!!this[_0x27d7e0(0x1de)],_0x25a908[_0x27d7e0(0x16b)](_0x59b91c(this[_0x27d7e0(0x163)]))[_0x27d7e0(0x152)](_0x468b20=>{var _0x11dd5a=_0x27d7e0,_0x35d8d6;typeof _0x468b20>'u'||(this[_0x11dd5a(0xe4)]=_0x468b20,_0x468b20?(this[_0x11dd5a(0x31a)](_0x468b20),this['_socketMessageSubscription']=_0x468b20[_0x11dd5a(0x92)][_0x11dd5a(0x152)](_0x515e90=>{var _0x4797e4=_0x11dd5a;_0x515e90[_0x4797e4(0x264)]===this['_unitID']&&this[_0x4797e4(0x360)](_0x515e90);})):(this[_0x11dd5a(0x33a)](),this[_0x11dd5a(0x1d6)][_0x11dd5a(0x15e)](0x2),(_0x35d8d6=this['_socketMessageSubscription'])==null||_0x35d8d6['unsubscribe'](),this[_0x11dd5a(0x329)]=null));}));}get[_0x3aff44(0xbe)](){var _0x5801c7=_0x3aff44;return this[_0x5801c7(0x1d6)][_0x5801c7(0x1d8)]();}[_0x3aff44(0x96)](){var _0x8740bd=_0x3aff44,_0x467a3a,_0x16db2f;return(_0x16db2f=(_0x467a3a=this[_0x8740bd(0xe4)])==null?void 0x0:_0x467a3a[_0x8740bd(0xdc)])!=null?_0x16db2f:null;}[_0x3aff44(0xb2)](){var _0x736fa8=_0x3aff44;super[_0x736fa8(0xb2)](),this[_0x736fa8(0x163)][_0x736fa8(0x15e)](),this[_0x736fa8(0x163)]['complete']();}[_0x3aff44(0x2d1)](){var _0xc5cc2a=_0x3aff44,_0x3ab21b,_0x4a414f;this[_0xc5cc2a(0x33a)](),(_0x3ab21b=this[_0xc5cc2a(0xe4)])==null||_0x3ab21b[_0xc5cc2a(0x1be)]({'cmd':F[_0xc5cc2a(0x32d)],'data':{'roomID':this[_0xc5cc2a(0x137)]}}),(_0x4a414f=this['_socket'])==null||_0x4a414f[_0xc5cc2a(0x2d1)](),this['_event$'][_0xc5cc2a(0x2ad)](),this[_0xc5cc2a(0x1d6)][_0xc5cc2a(0x2ad)](),this[_0xc5cc2a(0xb2)]();}[_0x3aff44(0x360)](_0x1a014e){var _0x1a2c81=_0x3aff44;_0x1a014e[_0x1a2c81(0x330)]===F[_0x1a2c81(0x2ec)]?this[_0x1a2c81(0x38a)](_0x1a014e):_0x1a014e['cmd']===F[_0x1a2c81(0x166)]&&this[_0x1a2c81(0x375)](_0x1a014e);}[_0x3aff44(0x31a)](_0x355c9d){var _0x49bd69=_0x3aff44;this[_0x49bd69(0x1d6)][_0x49bd69(0x15e)](0x1),_0x355c9d[_0x49bd69(0x1be)]({'cmd':F[_0x49bd69(0x2ec)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x49bd69(0x137)]}]}});}[_0x3aff44(0x38a)](_0x5a7a69){var _0x5ea70f=_0x3aff44,_0x50aede;if(_0x5a7a69['code']in Kt){this[_0x5ea70f(0x1c7)][_0x5ea70f(0x374)]({'id':re[_0x5ea70f(0x1a4)],'data':Kt[_0x5a7a69[_0x5ea70f(0xd3)]]}),this[_0x5ea70f(0x1d6)][_0x5ea70f(0x15e)](0x2);return;}this[_0x5ea70f(0x1d6)][_0x5ea70f(0x15e)](0x3);const _0x5e0505=(_0x50aede=_0x5a7a69[_0x5ea70f(0x37d)]['roomInfos'][this[_0x5ea70f(0x137)]])==null?void 0x0:_0x50aede[_0x5ea70f(0x325)];_0x5e0505&&_0x5e0505[_0x5ea70f(0x1b7)](_0x348051=>this[_0x5ea70f(0xf7)][_0x5ea70f(0x224)](this[_0x5ea70f(0x137)],_0x348051));}[_0x3aff44(0x375)](_0x36018d){var _0x5eba91=_0x3aff44;try{const _0x15fc89=_0x36018d['data'];switch(_0x15fc89[_0x5eba91(0x388)]){case _0x2bf31e[_0x5eba91(0x9b)]:this['_onUserJoin'](_0x15fc89),this['_event$'][_0x5eba91(0x15e)](_0x15fc89);break;case _0x2bf31e[_0x5eba91(0x317)]:this[_0x5eba91(0x318)](_0x15fc89),this['_event$'][_0x5eba91(0x15e)](_0x15fc89);break;case _0x2bf31e['CHANGESET_ACK']:case _0x2bf31e[_0x5eba91(0x24f)]:this[_0x5eba91(0x19f)](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0x15fc89);break;case _0x2bf31e['MSG_FOR_ERROR']:this[_0x5eba91(0x1bf)]['error']('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x15fc89)),this[_0x5eba91(0x2c7)][_0x5eba91(0x15e)](_0x15fc89);break;case _0x2bf31e[_0x5eba91(0x13a)]:this[_0x5eba91(0x294)][_0x5eba91(0x349)](_0x15fc89['data']),this['_event$'][_0x5eba91(0x15e)](_0x15fc89);break;default:this[_0x5eba91(0x2c7)]['next'](_0x15fc89);}}catch(_0x3183c1){this[_0x5eba91(0x1bf)][_0x5eba91(0x2dd)](_0x3183c1,_0x36018d);}}['_onUserJoin'](_0x58b0e1){var _0x14b6e7=_0x3aff44;this[_0x14b6e7(0xf7)][_0x14b6e7(0x224)](this[_0x14b6e7(0x137)],_0x58b0e1['data']);}['_onUserLeave'](_0x4cd0ae){var _0x5b516c=_0x3aff44;this[_0x5b516c(0xf7)][_0x5b516c(0x176)](this[_0x5b516c(0x137)],_0x4cd0ae[_0x5b516c(0x37d)]['memberID']);}async[_0x3aff44(0x1be)](_0x1b311c,_0x37f5ee){var _0x4fc2db=_0x3aff44;if(this[_0x4fc2db(0xbe)]!==0x3||!this[_0x4fc2db(0xe4)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x1b311c[_0x4fc2db(0x388)]===_0x2bf31e[_0x4fc2db(0x263)]&&(this[_0x4fc2db(0x1db)](),this['_startTelemetryCollaborationNewChangeset'](_0x1b311c)),this[_0x4fc2db(0xe4)][_0x4fc2db(0x1be)]({'cmd':F['INGEST'],'routeKey':_0x37f5ee,'routeType':'','data':_0x1b311c});}catch(_0x5ee8f9){this['_logService'][_0x4fc2db(0x2dd)](_0x5ee8f9);}}[_0x3aff44(0x1db)](){var _0x5d681c=_0x3aff44,_0x5016c8;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x5cce00=_0x79cb;this[_0x5cce00(0x1f3)]=null,this['_collaborationUIEventService'][_0x5cce00(0x374)]({'id':re[_0x5cce00(0x105)]});},(_0x5016c8=this['_configService'][_0x5d681c(0x189)](mi))!=null?_0x5016c8:gi);}[_0x3aff44(0x13b)](){var _0x494a47=_0x3aff44;this[_0x494a47(0x1f3)]&&(clearTimeout(this[_0x494a47(0x1f3)]),this[_0x494a47(0x1f3)]=null);}[_0x3aff44(0x14e)](_0x311de4){var _0x1fad80=_0x3aff44;if(!this['_shouldReportTelemetry'])return;const {data:_0x14df5e}=_0x311de4,{unitID:_0x24757a,changeset:_0x5ccbdd}=_0x14df5e,{mutations:_0x3ccb85,type:_0x54dc78}=_0x5ccbdd;this['_telemetryInfo']={'unitId':_0x24757a,'type':_0x54dc78,'startTime':performance[_0x1fad80(0xe7)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x3ccb85)};}[_0x3aff44(0x19f)](){var _0x553203=_0x3aff44;if(this[_0x553203(0x1f9)]){if(!this[_0x553203(0xc2)]){this[_0x553203(0x1bf)]['error'](_0x553203(0xe8),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x553203(0xc2)]['stopTime']=performance['now'](),this[_0x553203(0xc2)][_0x553203(0xbc)]=this[_0x553203(0xc2)][_0x553203(0x255)]-this[_0x553203(0xc2)][_0x553203(0x10c)],this[_0x553203(0x1de)]['capture'](Hn,this['_telemetryInfo']),this[_0x553203(0xc2)]=null;}}[_0x3aff44(0x33a)](){var _0x2ebb7c=_0x3aff44;this[_0x2ebb7c(0xc2)]=null;}};Et=Wn([me(0x2,_0x4a21cb),me(0x3,_0x3c5e42),me(0x4,_0x2d5589(_0x8ed99f)),me(0x5,_0x2d5589(Le)),me(0x6,_0x2d5589(Ti)),me(0x7,_0x2d5589(pe)),me(0x8,_0x12c4df(_0x2f779b))],Et);var Kn=Object[_0x3aff44(0x202)],Yn=(_0x3677aa,_0x1b46b,_0x43d67d,_0x582f46)=>{var _0x56e935=_0x3aff44;for(var _0x1ef1a8=_0x582f46>0x1?void 0x0:_0x582f46?Kn(_0x1b46b,_0x43d67d):_0x1b46b,_0x1cff33=_0x3677aa[_0x56e935(0x2fe)]-0x1,_0x1e5ae0;_0x1cff33>=0x0;_0x1cff33--)(_0x1e5ae0=_0x3677aa[_0x1cff33])&&(_0x1ef1a8=_0x1e5ae0(_0x1ef1a8)||_0x1ef1a8);return _0x1ef1a8;},be=(_0x11adea,_0x4ecafb)=>(_0x5346b8,_0x1d1d8b)=>_0x4ecafb(_0x5346b8,_0x1d1d8b,_0x11adea);let xe=class extends _0x19df94{constructor(_0x43b50d,_0x5b4866,_0x1cdcff,_0x52103d,_0x2efc71,_0x17038d){var _0x4377b2=_0x3aff44;super(),N(this,'_socket$',new _0x269196(void 0x0)),N(this,_0x4377b2(0x8c),this[_0x4377b2(0xdb)][_0x4377b2(0x205)]()),N(this,_0x4377b2(0xd2),null),N(this,_0x4377b2(0x125),new Map()),N(this,_0x4377b2(0x24e),new _0x269196(Ee[_0x4377b2(0x316)])),N(this,'status$',this[_0x4377b2(0x24e)]['asObservable']()),N(this,_0x4377b2(0x17b),!0x1),N(this,_0x4377b2(0x21c)),N(this,_0x4377b2(0x309),0x0),N(this,_0x4377b2(0x243)),N(this,_0x4377b2(0x17a)),(this['_injector']=_0x43b50d,this[_0x4377b2(0x1bf)]=_0x5b4866,this['_configService']=_0x1cdcff,this[_0x4377b2(0x99)]=_0x52103d,this['_collaborationUIEventService']=_0x2efc71,this['_networkConditionService']=_0x17038d,this[_0x4377b2(0x2e2)]());}get[_0x3aff44(0xe4)](){var _0x5d9cd5=_0x3aff44;return this[_0x5d9cd5(0xdb)][_0x5d9cd5(0x1d8)]();}[_0x3aff44(0x2e2)](){var _0x5a8374=_0x3aff44;this[_0x5a8374(0x334)]&&this[_0x5a8374(0xeb)](this[_0x5a8374(0x334)]['online$'][_0x5a8374(0x152)](_0x26ad2e=>{var _0x489fa2=_0x5a8374;_0x26ad2e&&!this[_0x489fa2(0xe4)]&&this[_0x489fa2(0x12f)](),_0x26ad2e||this['_onOffline']();}));}[_0x3aff44(0xb2)](){var _0x32ef67=_0x3aff44;super[_0x32ef67(0xb2)](),this[_0x32ef67(0x16a)](),this['_clearTimeoutTimer'](),this[_0x32ef67(0x38b)](),this[_0x32ef67(0x125)][_0x32ef67(0x1b7)](_0x5bf078=>_0x5bf078[_0x32ef67(0xb2)]()),this[_0x32ef67(0x125)]['clear'](),this[_0x32ef67(0x24e)][_0x32ef67(0x2ad)]();}async['requireSession'](_0x3c202d){var _0x5a9cfc=_0x3aff44;if(this[_0x5a9cfc(0x125)][_0x5a9cfc(0xba)](_0x3c202d))return this[_0x5a9cfc(0x125)][_0x5a9cfc(0x142)](_0x3c202d);this[_0x5a9cfc(0x1fc)]();const _0x2f2eb5=this['_injector'][_0x5a9cfc(0x21b)](Et,_0x3c202d,this[_0x5a9cfc(0xdb)][_0x5a9cfc(0x205)]());return this['_sessions'][_0x5a9cfc(0xbd)](_0x3c202d,_0x2f2eb5),_0x2f2eb5;}[_0x3aff44(0x1a9)](_0x478398){var _0x2374dc=_0x3aff44,_0x598793;const _0x59bb06=this[_0x2374dc(0x125)][_0x2374dc(0x142)](_0x478398);_0x59bb06&&(this[_0x2374dc(0x125)][_0x2374dc(0x2d9)](_0x478398),_0x59bb06[_0x2374dc(0x2d1)]()),this[_0x2374dc(0x125)][_0x2374dc(0x2f5)]||(_0x598793=this['_socket'])==null||_0x598793[_0x2374dc(0x2d1)]();}[_0x3aff44(0x12f)](){var _0x33aa5b=_0x3aff44;this[_0x33aa5b(0x309)]=0x0,this[_0x33aa5b(0x16a)](),this[_0x33aa5b(0x1fd)]();}['_clearRetryConnectingTimer'](){var _0x18a434=_0x3aff44;this[_0x18a434(0x21c)]!=null&&(clearTimeout(this[_0x18a434(0x21c)]),this[_0x18a434(0x21c)]=null);}async[_0x3aff44(0x26f)](){var _0x476e09=_0x3aff44,_0x106e9e,_0x272134;const _0x477c08=this['_configService'][_0x476e09(0x189)](In),_0x1105a0=this[_0x476e09(0x2ed)][_0x476e09(0x189)](q),_0x1540fa=(_0x272134=(_0x106e9e=_0x1105a0==null?void 0x0:_0x1105a0[_0x476e09(0x2d0)])!=null?_0x106e9e:_0x477c08)!=null?_0x272134:Tn,_0x266dfa=await this['_socketService'][_0x476e09(0x211)](_0x1540fa);return this[_0x476e09(0xd2)]=_0x266dfa,_0x266dfa;}async[_0x3aff44(0x1fc)](){var _0x3234a2=_0x3aff44,_0x47d87a,_0x5db5c6;try{const _0x5da846=(_0x5db5c6=(_0x47d87a=this[_0x3234a2(0xe4)])!=null?_0x47d87a:this['_candidateSocket'])!=null?_0x5db5c6:await this['_createSocket']();if(_0x5da846){const _0x433788=_0x5da846[_0x3234a2(0x1be)];_0x5da846[_0x3234a2(0x1be)]=_0x3107e4=>(this[_0x3234a2(0x2df)](),_0x433788[_0x3234a2(0x13e)](_0x5da846,[_0x3107e4])),_0x5da846[_0x3234a2(0x92)][_0x3234a2(0x152)](_0x44c72d=>this[_0x3234a2(0xfe)](_0x5da846,_0x44c72d)),_0x5da846[_0x3234a2(0x2fd)][_0x3234a2(0x16b)](_0x3593ce(0x1))[_0x3234a2(0x152)](_0x1c6745=>this[_0x3234a2(0x1bf)][_0x3234a2(0x2dd)](_0x3234a2(0x154),_0x1c6745)),_0x5da846[_0x3234a2(0x1b5)][_0x3234a2(0x16b)](_0x3593ce(0x1))[_0x3234a2(0x152)](()=>{var _0x1fcef9=_0x3234a2;this[_0x1fcef9(0x1c5)](_0x5da846);}),_0x5da846[_0x3234a2(0xa5)][_0x3234a2(0x16b)](_0x3593ce(0x1))[_0x3234a2(0x152)](_0x1954e6=>{var _0x169673=_0x3234a2;this[_0x169673(0x1bf)]['debug'](_0x169673(0x1f5),_0x169673(0x1ea),_0x1954e6),this[_0x169673(0x2db)]();});}}catch(_0x27b6e7){this['_logService'][_0x3234a2(0x2dd)](_0x27b6e7),this[_0x3234a2(0x2db)]();}}[_0x3aff44(0x1c5)](_0x146ca5){var _0x1c269a=_0x3aff44;this[_0x1c269a(0x1bf)][_0x1c269a(0x2c3)](_0x1c269a(0x1f5),_0x1c269a(0x2fc)),_0x146ca5[_0x1c269a(0x1be)]({'cmd':F[_0x1c269a(0x36f)]}),this[_0x1c269a(0x2df)]();}[_0x3aff44(0x233)](){var _0x25d0c9=_0x3aff44;this[_0x25d0c9(0x17b)]=!0x1,this[_0x25d0c9(0xd2)]=null,this['_status$'][_0x25d0c9(0x15e)](Ee[_0x25d0c9(0x1b0)]),this[_0x25d0c9(0xdb)][_0x25d0c9(0x15e)](null),this[_0x25d0c9(0x381)](),this[_0x25d0c9(0x38b)]();}[_0x3aff44(0x2db)](){var _0xc09671=_0x3aff44,_0x269cff;this['_onOffline'](),this[_0xc09671(0x309)]<((_0x269cff=this[_0xc09671(0x2ed)][_0xc09671(0x189)](On))!=null?_0x269cff:yn)?(this[_0xc09671(0x1c7)][_0xc09671(0x374)]({'id':re['SOCKET_FAILED_RETRY']}),this[_0xc09671(0x1fd)]()):this[_0xc09671(0x1c7)][_0xc09671(0x374)]({'id':re[_0xc09671(0x250)]});}[_0x3aff44(0x1fd)](){var _0xe80a68=_0x3aff44,_0x38a842;const _0x174547=this['_retryCount'],_0x1ca56e=this[_0xe80a68(0x2ed)][_0xe80a68(0x189)](q),_0x16a908=_0x174547===0x0?0x0:((_0x38a842=_0x1ca56e==null?void 0x0:_0x1ca56e[_0xe80a68(0x38c)])!=null?_0x38a842:bn)*0x2**_0x174547;this[_0xe80a68(0x21c)]=setTimeout(()=>{var _0x334f75=_0xe80a68;clearTimeout(this['_retryConnectingTimer']),this[_0x334f75(0x21c)]=null,this[_0x334f75(0x1fc)]();},_0x16a908),this[_0xe80a68(0x309)]+=0x1;}['_onMessage'](_0x374168,_0x31dc57){var _0x577f75=_0x3aff44;const {cmd:_0xded5e8}=_0x31dc57;_0xded5e8===F['HELLO']&&!this[_0x577f75(0x17b)]&&(_0x374168[_0x577f75(0xdc)]=_0x31dc57[_0x577f75(0x37d)][_0x577f75(0xdc)],this[_0x577f75(0xdb)]['next'](_0x374168),this['_status$'][_0x577f75(0x15e)](Ee[_0x577f75(0x35c)]),this[_0x577f75(0x17b)]=!0x0,this[_0x577f75(0xd2)]=null),_0xded5e8===F[_0x577f75(0x208)]&&this[_0x577f75(0x381)](),this[_0x577f75(0x2df)]();}[_0x3aff44(0x2df)](){var _0x379e6e=_0x3aff44,_0x33bbb3;this['_clearHeartbeatTimer'](),this[_0x379e6e(0x243)]=setTimeout(()=>this[_0x379e6e(0x14f)](),(_0x33bbb3=this[_0x379e6e(0x2ed)][_0x379e6e(0x189)](Cn))!=null?_0x33bbb3:Rn);}['_sendHeartbeat'](){var _0x3d1c27=_0x3aff44;this[_0x3d1c27(0xe4)][_0x3d1c27(0x1be)]({'cmd':F[_0x3d1c27(0x208)]}),this[_0x3d1c27(0x35b)]();}[_0x3aff44(0x35b)](){var _0x4e60a7=_0x3aff44,_0xad06cf;this[_0x4e60a7(0x17a)]=setTimeout(()=>this[_0x4e60a7(0x2db)](),(_0xad06cf=this['_configService'][_0x4e60a7(0x189)](mi))!=null?_0xad06cf:gi);}['_clearHeartbeatTimer'](){var _0x10a7b4=_0x3aff44;this[_0x10a7b4(0x243)]!=null&&(clearTimeout(this[_0x10a7b4(0x243)]),this[_0x10a7b4(0x243)]=null);}['_clearTimeoutTimer'](){var _0x478c40=_0x3aff44;this[_0x478c40(0x17a)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x478c40(0x17a)]=null);}};xe=Yn([be(0x0,_0x2d5589(_0x548b34)),be(0x1,_0x4a21cb),be(0x2,_0x3c5e42),be(0x3,Ii),be(0x4,_0x2d5589(pe)),be(0x5,_0x12c4df(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V[_0x3aff44(0x31b)]((t+0x100)[_0x3aff44(0x2c2)](0x10)[_0x3aff44(0x38d)](0x1));function qn(_0x5de7a9,_0x101440=0x0){var _0x4b3e09=_0x3aff44;return(V[_0x5de7a9[_0x101440+0x0]]+V[_0x5de7a9[_0x101440+0x1]]+V[_0x5de7a9[_0x101440+0x2]]+V[_0x5de7a9[_0x101440+0x3]]+'-'+V[_0x5de7a9[_0x101440+0x4]]+V[_0x5de7a9[_0x101440+0x5]]+'-'+V[_0x5de7a9[_0x101440+0x6]]+V[_0x5de7a9[_0x101440+0x7]]+'-'+V[_0x5de7a9[_0x101440+0x8]]+V[_0x5de7a9[_0x101440+0x9]]+'-'+V[_0x5de7a9[_0x101440+0xa]]+V[_0x5de7a9[_0x101440+0xb]]+V[_0x5de7a9[_0x101440+0xc]]+V[_0x5de7a9[_0x101440+0xd]]+V[_0x5de7a9[_0x101440+0xe]]+V[_0x5de7a9[_0x101440+0xf]])[_0x4b3e09(0x122)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x2d9287=_0x3aff44;if(!ut){if(typeof crypto>'u'||!crypto[_0x2d9287(0x12a)])throw new Error(_0x2d9287(0x2ea));ut=crypto[_0x2d9287(0x12a)][_0x2d9287(0x225)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x3aff44(0x2b3)]&&crypto['randomUUID'][_0x3aff44(0x225)](crypto),Yt={'randomUUID':Xn};function Zn(_0x1a63b1,_0x576f61,_0x5bc783){var _0x3e296d=_0x3aff44,_0x2c2716,_0x8bca50,_0x285042;if(Yt['randomUUID']&&!_0x1a63b1)return Yt[_0x3e296d(0x2b3)]();_0x1a63b1=_0x1a63b1||{};const _0x199049=(_0x285042=(_0x8bca50=_0x1a63b1['random'])!=null?_0x8bca50:(_0x2c2716=_0x1a63b1[_0x3e296d(0x161)])==null?void 0x0:_0x2c2716[_0x3e296d(0x108)](_0x1a63b1))!=null?_0x285042:Jn();if(_0x199049[_0x3e296d(0x2fe)]<0x10)throw new Error(_0x3e296d(0x179));return _0x199049[0x6]=_0x199049[0x6]&0xf|0x40,_0x199049[0x8]=_0x199049[0x8]&0x3f|0x80,qn(_0x199049);}const J=_0x14c25f(_0x3aff44(0x25f));function Br(_0x25e182){var _0x33ad59=_0x3aff44;return _0x33ad59(0x1d7)+_0x25e182;}var Qn=Object['getOwnPropertyDescriptor'],es=(_0x28031e,_0x506c4b,_0x251022,_0xc77cfb)=>{var _0x46c09b=_0x3aff44;for(var _0x2498d0=_0xc77cfb>0x1?void 0x0:_0xc77cfb?Qn(_0x506c4b,_0x251022):_0x506c4b,_0x58b1b6=_0x28031e[_0x46c09b(0x2fe)]-0x1,_0x486997;_0x58b1b6>=0x0;_0x58b1b6--)(_0x486997=_0x28031e[_0x58b1b6])&&(_0x2498d0=_0x486997(_0x2498d0)||_0x2498d0);return _0x2498d0;},dt=(_0x28079a,_0x3ef7e0)=>(_0x4e3673,_0xd7c0d4)=>_0x3ef7e0(_0x4e3673,_0xd7c0d4,_0x28079a);function ts(_0x58b850){var _0x2d8633=_0x3aff44;const {unitID:_0x37a053,mutations:_0x2999d9}=_0x58b850;return{'unitId':_0x37a053,'subUnitId':_0x2999d9[0x0][_0x2d8633(0x20a)][_0x2d8633(0x167)]};}let it=class{constructor(_0x537ec3,_0x2ffaa7,_0x88fcb5){var _0x1f21c4=_0x3aff44;this[_0x1f21c4(0xea)]=_0x537ec3,this['_transformService']=_0x2ffaa7,this[_0x1f21c4(0x228)]=_0x88fcb5;}[_0x3aff44(0x36c)](_0x30b44e){var _0x38d66a=_0x3aff44,_0x31effa,_0x283291,_0x2c7bc3,_0x2ea08c;const _0x372551=this[_0x38d66a(0xea)][_0x38d66a(0x142)](_0x3516f7),{unitId:_0x5889d3,subUnitId:_0x56875f}=ts(_0x30b44e),_0x31ec0f=_0x372551==null?void 0x0:_0x372551[_0x38d66a(0xf6)](_0x5889d3)[_0x38d66a(0x159)](),_0x319008=(_0x283291=(_0x31effa=this[_0x38d66a(0x228)][_0x38d66a(0x1b9)](_0x5889d3))==null?void 0x0:_0x31effa[_0x38d66a(0x2ef)]())==null?void 0x0:_0x283291[_0x38d66a(0x23a)]();if(_0x31ec0f[_0x38d66a(0x2fe)]===0x0||!_0x5889d3||!_0x56875f)return;const _0x22b5ee=[{'id':_0x3e2339['id'],'params':{'unitId':_0x5889d3,'subUnitId':_0x319008,'selections':_0x21ca88[_0x38d66a(0x37f)](_0x31ec0f)}}],_0x344ab1=this[_0x38d66a(0x296)][_0x38d66a(0x127)](_0x30b44e,_0x22b5ee);if(!_0x4c7cee(_0x344ab1))throw _0x344ab1[_0x38d66a(0x2dd)];const _0x510b50=(_0x2ea08c=(_0x2c7bc3=_0x344ab1['m2Prime'][0x0])==null?void 0x0:_0x2c7bc3['params'])==null?void 0x0:_0x2ea08c['selections'];if(Array[_0x38d66a(0xf0)](_0x510b50)&&_0x510b50[_0x38d66a(0x2fe)]){if(_0x510b50[_0x38d66a(0x2fe)]===_0x22b5ee[0x0][_0x38d66a(0x20a)][_0x38d66a(0xfa)][_0x38d66a(0x2fe)]&&_0x510b50[_0x38d66a(0x288)]((_0x1cebed,_0x126a36)=>_0x3f1e15[_0x38d66a(0x1f0)](_0x1cebed[_0x38d66a(0x25b)],_0x22b5ee[0x0][_0x38d66a(0x20a)][_0x38d66a(0xfa)][_0x126a36][_0x38d66a(0x25b)])))return;this[_0x38d66a(0xea)]['get'](_0x529fbd)['executeCommand'](_0x3e2339['id'],{'unitId':_0x5889d3,'subUnitId':_0x319008,'selections':_0x510b50});}}};it=es([dt(0x0,_0x2d5589(_0x548b34)),dt(0x1,_0x35a8a9),dt(0x2,_0x52f90f)],it);const ht=_0x14c25f(_0x3aff44(0x15c));var Ci=(_0x22d8bb=>(_0x22d8bb[_0x22d8bb[_0x3aff44(0x24a)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x22d8bb[_0x22d8bb[_0x3aff44(0x10f)]=0x1]=_0x3aff44(0x10f),_0x22d8bb))(Ci||{});const is=new Set([_0x120e12['id']]);function qt(_0x33fae8,_0x388896,_0x5bf9aa,_0x493ad9,_0x430f38){var _0xbc1050=_0x3aff44,_0x29e299,_0x314137,_0x5f0f72,_0x4c9f3b;const _0x54173a=[];for(const _0x5e821d of _0x33fae8)if(is[_0xbc1050(0xba)](_0x5e821d['id'])){if(_0x54173a[_0xbc1050(0x2fe)]>0x0)break;_0x54173a[_0xbc1050(0x31b)](_0x5e821d);break;}else _0x54173a['push'](_0x5e821d);const _0xe58568=(_0x314137=(_0x29e299=_0x430f38[_0xbc1050(0x183)]())==null?void 0x0:_0x29e299[_0xbc1050(0x129)])!=null?_0x314137:_0xbc1050(0xdf),_0x410457=(_0x4c9f3b=(_0x5f0f72=_0x430f38[_0xbc1050(0x183)]())==null?void 0x0:_0x5f0f72[_0xbc1050(0xdc)])!=null?_0x4c9f3b:_0xbc1050(0xdf);return{'changeset':{'unitID':_0x388896,'type':_0x487cfb(_0x5bf9aa[_0xbc1050(0xde)](_0x388896)),'baseRev':_0x493ad9[_0xbc1050(0x17f)](_0x388896),'revision':0x0,'userID':_0xe58568,'memberID':_0x410457,'mutations':_0x54173a},'pendingMutations':_0x33fae8['slice'](_0x54173a[_0xbc1050(0x2fe)])};}function ns(_0x2922bc,_0x233b50,_0x4afef4,_0xaff03d,_0x556d94){var _0x53fbac=_0x3aff44,_0x484705,_0x191804,_0x4da445,_0x3a6b74;const _0x17a33c=[_0x2922bc[_0x53fbac(0x389)]((_0x298ff1,_0x4c3846)=>{var _0x5f5769=_0x53fbac,_0x2ca5b2;const {id:_0x3f0f8c}=_0x298ff1,{id:_0x40280a,type:_0x4c4d11}=_0x4c3846,_0x443870=(_0x2ca5b2=_0x298ff1['params'])!=null?_0x2ca5b2:{'actions':null},_0x1286c2=_0x4c3846['params'];if(_0x3f0f8c&&_0x3f0f8c!==_0x40280a)throw new Error(_0x5f5769(0x25e)+_0x3f0f8c+'\x20-\x20'+_0x40280a+'.');return{..._0x298ff1,'id':_0x40280a,'type':_0x4c4d11,'params':{'unitId':_0x1286c2[_0x5f5769(0x1fe)],'textRanges':_0x1286c2[_0x5f5769(0xda)],'actions':_0x18e82d[_0x5f5769(0x26a)](_0x443870[_0x5f5769(0x1d5)],_0x1286c2['actions'])}};},{})],_0x52ffc0=(_0x191804=(_0x484705=_0x556d94[_0x53fbac(0x183)]())==null?void 0x0:_0x484705[_0x53fbac(0x129)])!=null?_0x191804:_0x53fbac(0xdf),_0x5059c4=(_0x3a6b74=(_0x4da445=_0x556d94[_0x53fbac(0x183)]())==null?void 0x0:_0x4da445[_0x53fbac(0xdc)])!=null?_0x3a6b74:_0x53fbac(0xdf);return{'changeset':{'unitID':_0x233b50,'type':_0x487cfb(_0x4afef4[_0x53fbac(0xde)](_0x233b50)),'baseRev':_0xaff03d[_0x53fbac(0x17f)](_0x233b50),'revision':0x0,'userID':_0x52ffc0,'memberID':_0x5059c4,'mutations':_0x17a33c},'pendingMutations':[]};}function Ri(_0x26f585,_0x45763c){var _0x7fd8d2=_0x3aff44;const _0x2de1e4=new _0x3a5863(0x1);return setTimeout(()=>_0x2de1e4[_0x7fd8d2(0x15e)](_0x45763c),_0x26f585),_0x2de1e4[_0x7fd8d2(0x205)]()[_0x7fd8d2(0x16b)](_0x141c58(0x1));}const ss={'id':_0xe71767['id'],'type':_0x30e367['MUTATION'],'params':{}};var rs=Object[_0x3aff44(0x202)],Te=(_0x35db70,_0x3c9aba,_0x3a1ca4,_0x13da3b)=>{var _0x4833ec=_0x3aff44;for(var _0x2f045c=_0x13da3b>0x1?void 0x0:_0x13da3b?rs(_0x3c9aba,_0x3a1ca4):_0x3c9aba,_0x475eaa=_0x35db70[_0x4833ec(0x2fe)]-0x1,_0x278163;_0x475eaa>=0x0;_0x475eaa--)(_0x278163=_0x35db70[_0x475eaa])&&(_0x2f045c=_0x278163(_0x2f045c)||_0x2f045c);return _0x2f045c;},P=(_0x89e038,_0x24b0c3)=>(_0x3d53e7,_0x26b0c7)=>_0x24b0c3(_0x3d53e7,_0x26b0c7,_0x89e038),bi=(_0x163924=>(_0x163924[_0x3aff44(0x257)]=_0x3aff44(0xec),_0x163924['SYNCED']=_0x3aff44(0x2ff),_0x163924[_0x3aff44(0xe6)]='pending',_0x163924[_0x3aff44(0xce)]=_0x3aff44(0x28c),_0x163924[_0x3aff44(0x2c9)]=_0x3aff44(0x1e8),_0x163924['FETCH_MISS']=_0x3aff44(0xa7),_0x163924['CONFLICT']=_0x3aff44(0x178),_0x163924[_0x3aff44(0x1b0)]=_0x3aff44(0x286),_0x163924))(bi||{});const Oi=0xea60;class Ce{constructor(_0x10bfbf,_0xa066e1,_0x431cc9,_0x4677bd,_0x69a903,_0x35c94c,_0x7a29a9,_0x1a5af4,_0x6212ce){var _0x40d516=_0x3aff44;N(this,_0x40d516(0x2a8),null),N(this,_0x40d516(0x1d4),[]),(this['unitID']=_0x10bfbf,this[_0x40d516(0xed)]=_0xa066e1,this['_handler']=_0x69a903,this['_commandService']=_0x35c94c,this[_0x40d516(0x2bd)]=_0x7a29a9,this[_0x40d516(0x2b7)]=_0x1a5af4,this['_localCacheService']=_0x6212ce,this[_0x40d516(0x2a8)]=_0x431cc9,this['_pendingMutations']=_0x4677bd);}[_0x3aff44(0xa1)](_0x2a2ef1){var _0x410299=_0x3aff44;const _0x401620=this[_0x410299(0x2b7)]['getCurrentRevOfUnit'](this['unitID']);return _0x2a2ef1[_0x410299(0xaa)]>_0x401620+0x1?(this[_0x410299(0x9c)]['onMissingChangesets']({'from':_0x401620,'to':_0x2a2ef1[_0x410299(0xaa)]-0x1}),!0x0):!0x1;}[_0x3aff44(0x226)](_0x198818){var _0x294433=_0x3aff44;this[_0x294433(0x2bd)]['transformUndoRedo'](this[_0x294433(0x262)],_0x198818);}[_0x3aff44(0x27c)](_0xdb6b49){var _0x33f0de=_0x3aff44,_0x5f29f1,_0x1d9b8d;(_0x1d9b8d=(_0x5f29f1=this['_handler'])['onTransformSelections'])==null||_0x1d9b8d[_0x33f0de(0x108)](_0x5f29f1,_0xdb6b49);}[_0x3aff44(0x14a)](_0x2398c9){var _0x44f71a=_0x3aff44,_0x489500,_0x56cddb;return(_0x56cddb=(_0x489500=this[_0x44f71a(0x9c)])[_0x44f71a(0x1e7)])==null?void 0x0:_0x56cddb['call'](_0x489500,_0x2398c9);}['_transformStateCache'](_0x3b6215){var _0x5f12cc=_0x3aff44,_0x5e4b75,_0x187a32;return(_0x187a32=(_0x5e4b75=this[_0x5f12cc(0x9c)])[_0x5f12cc(0x1e3)])==null?void 0x0:_0x187a32[_0x5f12cc(0x108)](_0x5e4b75,_0x3b6215);}[_0x3aff44(0x312)](_0x3a951e){var _0x3bab83=_0x3aff44,_0x5e5df0,_0x526868,_0x14a88c;return(_0x14a88c=(_0x526868=(_0x5e5df0=this['_handler'])[_0x3bab83(0x136)])==null?void 0x0:_0x526868[_0x3bab83(0x108)](_0x5e5df0,_0x3a951e))!=null?_0x14a88c:_0x3a951e;}[_0x3aff44(0xc5)](_0x12daa9){var _0x590824=_0x3aff44,_0x36f5b3,_0x3c21b5,_0x17575c;return(_0x17575c=(_0x3c21b5=(_0x36f5b3=this[_0x590824(0x9c)])[_0x590824(0xee)])==null?void 0x0:_0x3c21b5[_0x590824(0x108)](_0x36f5b3,_0x12daa9))!=null?_0x17575c:_0x12daa9;}[_0x3aff44(0x2d2)](_0x13c30e){var _0x451bf4=_0x3aff44,_0x3bada9,_0x14fb9c;if(this[_0x451bf4(0xed)]===Q[_0x451bf4(0x27e)]){const {unitID:_0x4d2d4c,mutations:_0x4ace40,memberID:_0x5655d9}=_0x13c30e,_0x2dd634=_0x4ace40[0x0][_0x451bf4(0x20a)][_0x451bf4(0xda)];Array[_0x451bf4(0xf0)](_0x2dd634)&&_0x2dd634[_0x451bf4(0x2fe)]>0x0&&((_0x14fb9c=(_0x3bada9=this[_0x451bf4(0x9c)])[_0x451bf4(0x372)])==null||_0x14fb9c[_0x451bf4(0x108)](_0x3bada9,{'unitID':_0x4d2d4c,'memberID':_0x5655d9,'textRanges':_0x2dd634}));}}['_updateLocalCache'](){var _0x1dfc8b=_0x3aff44,_0x57f562;(_0x57f562=this[_0x1dfc8b(0x222)])==null||_0x57f562[_0x1dfc8b(0x22f)](this[_0x1dfc8b(0x262)],this[_0x1dfc8b(0xed)],this['_awaitingChangeset'],this[_0x1dfc8b(0x1d4)]);}[_0x3aff44(0x11d)](){var _0x55d530=_0x3aff44;return this[_0x55d530(0x2b7)]['getCurrentRevOfUnit'](this['unitID']);}[_0x3aff44(0x382)](){var _0x9a19a0=_0x3aff44;this[_0x9a19a0(0x2b7)][_0x9a19a0(0x14d)](this['unitID']);}[_0x3aff44(0x219)](_0xb8d592){var _0x2d055c=_0x3aff44,_0x2cb354;let _0x3cc1fc=this['_transformRemoteChangesetByIMECache'](_0xb8d592);_0x3cc1fc=this['_transformRemoteChangesetByStateCache'](_0x3cc1fc);const _0x170fae=_0x5d4273(_0x3cc1fc[_0x2d055c(0x14b)],this[_0x2d055c(0xe3)],{'fromCollab':!0x0});if(!_0x170fae[_0x2d055c(0xf4)])throw _0x170fae[_0x2d055c(0x2dd)]instanceof Error?_0x170fae[_0x2d055c(0x2dd)]:new Error((_0x2cb354=_0x170fae['error'])!=null?_0x2cb354:'[CollaborationState]:\x20apply\x20error!');this[_0x2d055c(0x14a)](_0x3cc1fc),this[_0x2d055c(0x18e)](_0x3cc1fc),this[_0x2d055c(0x226)](_0xb8d592),this[_0x2d055c(0x27c)](_0x3cc1fc),this[_0x2d055c(0x2d2)](_0x3cc1fc),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x4965f8,_0x2f3df5,_0x59cb53,_0x9af5ac,_0xabc1e8,_0x511519,_0x5b799e,_0x2701e2,_0x3a6ad5,_0x2cb29c){var _0x1b8b04=_0x3aff44;super(_0x4965f8,_0x2f3df5,null,[],_0x59cb53,_0x5b799e,_0x511519,_0x9af5ac,_0x2cb29c),N(this,_0x1b8b04(0x355),_0x1b8b04(0x2ff)),(this['_injector']=_0xabc1e8,this[_0x1b8b04(0x1bf)]=_0x2701e2,this[_0x1b8b04(0x296)]=_0x3a6ad5,this['localCacheService']=_0x2cb29c);}[_0x3aff44(0x2be)](_0x58dc43){var _0x4b1884=_0x3aff44;const _0x8cfc08=this['_injector'][_0x4b1884(0x21b)](ae,this['unitID'],this['type'],[_0x58dc43],this[_0x4b1884(0x9c)]);return _0x8cfc08[_0x4b1884(0x371)](),_0x8cfc08[_0x4b1884(0x1a5)](),_0x8cfc08;}['onRemoteChangeset'](_0x23bf27){var _0x46491b=_0x3aff44;if(this[_0x46491b(0xa1)](_0x23bf27))return this[_0x46491b(0xea)]['createInstance'](ee,this[_0x46491b(0x262)],this[_0x46491b(0xed)],null,[],null,[_0x23bf27],this[_0x46491b(0x9c)]);try{const _0x539e12=this[_0x46491b(0x296)]['transformMutationsWithChangeset'](_0x23bf27,[ss]);if(_0x4c7cee(_0x539e12)){const {c1Prime:_0x1bfef2}=_0x539e12;return this[_0x46491b(0x219)](_0x1bfef2),this;}throw _0x539e12['error'];}catch(_0x2264f3){return this['_logService'][_0x46491b(0x2dd)](_0x2264f3),this[_0x46491b(0x132)](!0x1);}}[_0x3aff44(0x132)](_0x1d4084){var _0x3eef1e=_0x3aff44;return this[_0x3eef1e(0xea)][_0x3eef1e(0x21b)](ue,this[_0x3eef1e(0x262)],this[_0x3eef1e(0xed)],null,[],this[_0x3eef1e(0x9c)],_0x1d4084);}[_0x3aff44(0x241)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x564cae=_0x3aff44;return this[_0x564cae(0xea)][_0x564cae(0x21b)](de,this['unitID'],this['type'],null,[],this[_0x564cae(0x9c)]);}[_0x3aff44(0x155)](){return this;}[_0x3aff44(0x298)](){var _0x95e4bd=_0x3aff44;throw new Error(_0x95e4bd(0xc8));}['fetchMiss'](){var _0x182239=_0x3aff44;const _0x1603b5=this[_0x182239(0x2b7)][_0x182239(0x17f)](this[_0x182239(0x262)]);return this[_0x182239(0x9c)]['onMissingChangesets']({'from':_0x1603b5,'to':0x0}),this[_0x182239(0xea)][_0x182239(0x21b)](ee,this[_0x182239(0x262)],this[_0x182239(0xed)],null,[],null,[],this[_0x182239(0x9c)]);}};Ne=Te([P(0x3,_0x2d5589(_0x15c1d1)),P(0x4,_0x2d5589(_0x548b34)),P(0x5,_0x4fa255),P(0x6,_0x529fbd),P(0x7,_0x4a21cb),P(0x8,_0x35a8a9),P(0x9,_0x12c4df(J))],Ne);let ae=class extends Ce{constructor(_0x92c061,_0x53efb3,_0x410d1e,_0x48ed7b,_0x4c837c,_0x1249d2,_0x476098,_0x298fab,_0x7bd7e9,_0x578c30,_0x65ebfa,_0x1f4572,_0x4af294,_0x178f05){var _0x3f9fc6=_0x3aff44;super(_0x92c061,_0x53efb3,null,_0x410d1e,_0x48ed7b,_0x7bd7e9,_0x4af294,_0x1249d2,_0x178f05),N(this,_0x3f9fc6(0x355),_0x3f9fc6(0x1b6)),N(this,'_scheduleCompleteTimestamp',null),N(this,_0x3f9fc6(0x2b0),null),(this[_0x3f9fc6(0xea)]=_0x4c837c,this['_memberService']=_0x476098,this[_0x3f9fc6(0x1bf)]=_0x298fab,this[_0x3f9fc6(0x2ed)]=_0x578c30,this['_transformService']=_0x65ebfa,this[_0x3f9fc6(0x268)]=_0x1f4572);}[_0x3aff44(0x2be)](_0x4ac7f7){var _0x268c0f=_0x3aff44;return this[_0x268c0f(0x1d4)][_0x268c0f(0x31b)](_0x4ac7f7),this[_0x268c0f(0x1a5)](),this;}[_0x3aff44(0x31c)](_0xf89027){var _0x2a0edf=_0x3aff44;if(this[_0x2a0edf(0xa1)](_0xf89027))return this['_clearScheduledTask'](),this[_0x2a0edf(0xea)][_0x2a0edf(0x21b)](ee,this[_0x2a0edf(0x262)],this[_0x2a0edf(0xed)],null,this[_0x2a0edf(0x1d4)],null,[_0xf89027],this[_0x2a0edf(0x9c)]);try{const _0x22dae2=this[_0x2a0edf(0x296)][_0x2a0edf(0x127)](_0xf89027,this[_0x2a0edf(0x1d4)]);if(_0x4c7cee(_0x22dae2)){const {c1Prime:_0x32bc56,m2Prime:_0x2a2fa8}=_0x22dae2;this[_0x2a0edf(0x219)](_0x32bc56);const _0x2eead9=this[_0x2a0edf(0xea)][_0x2a0edf(0x21b)](ae,this['unitID'],this['type'],_0x2a2fa8,this[_0x2a0edf(0x9c)]);this[_0x2a0edf(0x2e7)]();const _0x5864ba=new Date()[_0x2a0edf(0x1b8)](),_0x44fc71=this[_0x2a0edf(0x386)]?Math[_0x2a0edf(0x28a)](this[_0x2a0edf(0x386)]-_0x5864ba,0x0):this['_getSendChangesetTimeout']();return _0x2eead9[_0x2a0edf(0x371)](_0x44fc71),_0x2eead9;}throw _0x22dae2['error'];}catch(_0x4f217e){return this[_0x2a0edf(0x1bf)][_0x2a0edf(0x2dd)](_0x4f217e),this[_0x2a0edf(0x132)](!0x1);}}[_0x3aff44(0x241)](){var _0x495116=_0x3aff44;throw new Error(_0x495116(0x181));}[_0x3aff44(0x198)](){var _0x30b2b1=_0x3aff44;throw new Error(_0x30b2b1(0x15a));}[_0x3aff44(0x128)](){return this;}[_0x3aff44(0x1c0)](){var _0x2aaf1c=_0x3aff44;return this[_0x2aaf1c(0x2e7)](),this['_injector'][_0x2aaf1c(0x21b)](de,this[_0x2aaf1c(0x262)],this['type'],null,this[_0x2aaf1c(0x1d4)],this[_0x2aaf1c(0x9c)]);}[_0x3aff44(0x155)](){return this;}[_0x3aff44(0x371)](_0x331310){var _0x152fce=_0x3aff44;const _0x2daf28=_0x331310!=null?_0x331310:this['_getSendChangesetTimeout']();this[_0x152fce(0x386)]=new Date()[_0x152fce(0x1b8)]()+_0x2daf28,this['_sendingTimer']=setTimeout(()=>{var _0x2c4bb6=_0x152fce;this[_0x2c4bb6(0x2e7)]();let _0x3d8cef=null;switch(this[_0x2c4bb6(0xed)]){case Q[_0x2c4bb6(0xb4)]:{_0x3d8cef=qt(this[_0x2c4bb6(0x1d4)],this[_0x2c4bb6(0x262)],this['_univerInstanceService'],this[_0x2c4bb6(0x2b7)],this[_0x2c4bb6(0xf7)]);break;}case Q['UNIVER_DOC']:{this[_0x2c4bb6(0x1d4)]['every'](_0x43843c=>_0x43843c['id']===_0x99b319['id'])?_0x3d8cef=ns(this['_pendingMutations'],this[_0x2c4bb6(0x262)],this['_univerInstanceService'],this[_0x2c4bb6(0x2b7)],this[_0x2c4bb6(0xf7)]):_0x3d8cef=qt(this[_0x2c4bb6(0x1d4)],this[_0x2c4bb6(0x262)],this['_univerInstanceService'],this['_revisionService'],this[_0x2c4bb6(0xf7)]);break;}default:throw new Error(_0x2c4bb6(0x107)+this['type']+_0x2c4bb6(0x21e));}const {changeset:_0xd623dc,pendingMutations:_0xbecfb4}=_0x3d8cef;this[_0x2c4bb6(0x9c)][_0x2c4bb6(0x313)](_0xd623dc);const _0x5312b8=_0xbecfb4[_0x2c4bb6(0x2fe)]?this[_0x2c4bb6(0xea)][_0x2c4bb6(0x21b)](oe,this['unitID'],this[_0x2c4bb6(0xed)],_0xd623dc,_0xbecfb4,this[_0x2c4bb6(0x9c)],void 0x0):this['_injector'][_0x2c4bb6(0x21b)](le,this[_0x2c4bb6(0x262)],this[_0x2c4bb6(0xed)],_0xd623dc,this[_0x2c4bb6(0x9c)]);_0x5312b8[_0x2c4bb6(0x1a5)](),this['_handler'][_0x2c4bb6(0x303)](this,_0x5312b8);},_0x2daf28);}['_getSendChangesetTimeout'](){var _0x159c87=_0x3aff44,_0x1f5935;const _0x34262e=this['_configService'][_0x159c87(0x189)](q);return(_0x1f5935=_0x34262e==null?void 0x0:_0x34262e[_0x159c87(0x327)])!=null?_0x1f5935:En;}[_0x3aff44(0x298)](){var _0x1ed710=_0x3aff44;throw new Error(_0x1ed710(0x295));}['_clearScheduledTask'](){var _0x43af4b=_0x3aff44;this[_0x43af4b(0x2b0)]!=null&&(clearTimeout(this[_0x43af4b(0x2b0)]),this[_0x43af4b(0x2b0)]=null);}[_0x3aff44(0x132)](_0x334127){var _0x59542d=_0x3aff44;return this['_clearScheduledTask'](),this[_0x59542d(0xea)]['createInstance'](ue,this[_0x59542d(0x262)],this[_0x59542d(0xed)],null,this[_0x59542d(0x1d4)],this[_0x59542d(0x9c)],_0x334127);}};ae=Te([P(0x4,_0x2d5589(_0x548b34)),P(0x5,_0x2d5589(_0x15c1d1)),P(0x6,_0x2d5589(Le)),P(0x7,_0x4a21cb),P(0x8,_0x529fbd),P(0x9,_0x3c5e42),P(0xa,_0x35a8a9),P(0xb,_0x52f90f),P(0xc,_0x4fa255),P(0xd,_0x12c4df(J))],ae);let le=class extends Ce{constructor(_0x42aeb6,_0x52d704,_0x4068b2,_0x5ddbab,_0x4f38cd,_0x572b67,_0x45a313,_0x31bc5b,_0x428a1a,_0x3df248,_0x4864c2){var _0x1b040c=_0x3aff44;super(_0x42aeb6,_0x52d704,_0x4068b2,[],_0x5ddbab,_0x45a313,_0x3df248,_0x572b67,_0x4864c2),N(this,_0x1b040c(0x355),_0x1b040c(0x28c)),N(this,'_resendTimeout',0x0),N(this,_0x1b040c(0x168)),N(this,_0x1b040c(0x2dc)),(this[_0x1b040c(0xea)]=_0x4f38cd,this[_0x1b040c(0x1bf)]=_0x31bc5b,this[_0x1b040c(0x296)]=_0x428a1a);}[_0x3aff44(0x2be)](_0x9c3c62){var _0x35e006=_0x3aff44;this['_clearScheduledTask']();const _0x50a471=this[_0x35e006(0xea)][_0x35e006(0x21b)](oe,this[_0x35e006(0x262)],this[_0x35e006(0xed)],this[_0x35e006(0x2a8)],[_0x9c3c62],this[_0x35e006(0x9c)],this[_0x35e006(0x168)]);return _0x50a471['_updateLocalCache'](),_0x50a471;}[_0x3aff44(0x31c)](_0x4209b0){var _0x1642f3=_0x3aff44;if(this[_0x1642f3(0xa1)](_0x4209b0))return this[_0x1642f3(0x2e7)](),this['_injector'][_0x1642f3(0x21b)](ee,this[_0x1642f3(0x262)],this[_0x1642f3(0xed)],this[_0x1642f3(0x2a8)],[],null,[_0x4209b0],this['_handler']);try{const _0x5951be=this['_transformService']['transformChangesets']([_0x4209b0],[this[_0x1642f3(0x2a8)]],!0x1);if(_0x383de4(_0x5951be)){const {c1Prime:_0x58fa14,c2Prime:_0x599ced}=_0x5951be;this[_0x1642f3(0x219)](_0x58fa14[0x0]),_0x599ced[0x0][_0x1642f3(0x33f)]=this[_0x1642f3(0x11d)](),this[_0x1642f3(0x2e7)]();const _0x598526=this[_0x1642f3(0xea)]['createInstance'](le,this[_0x1642f3(0x262)],this['type'],_0x599ced[0x0],this[_0x1642f3(0x9c)]);return _0x598526[_0x1642f3(0x1a5)](),_0x598526;}return this[_0x1642f3(0x132)](!0x1);}catch(_0x21b4f0){return this[_0x1642f3(0x1bf)]['error'](_0x21b4f0),this[_0x1642f3(0x132)](!0x1);}}[_0x3aff44(0x241)](_0x3a2c1d){var _0x1f7ea1=_0x3aff44;this[_0x1f7ea1(0x2e7)]();const _0x55cec7=this[_0x1f7ea1(0x2b7)][_0x1f7ea1(0x17f)](this[_0x1f7ea1(0x262)]);if(_0x3a2c1d['revision']<_0x55cec7-0x1)return this;if(this[_0x1f7ea1(0xa1)](_0x3a2c1d))return this['_injector']['createInstance'](ee,this[_0x1f7ea1(0x262)],this[_0x1f7ea1(0xed)],null,[],this['_awaitingChangeset'],[],this[_0x1f7ea1(0x9c)]);this[_0x1f7ea1(0x382)]();const _0x29184b=this['_injector']['createInstance'](Ne,this['unitID'],this['type'],this[_0x1f7ea1(0x9c)]);return _0x29184b[_0x1f7ea1(0x1a5)](),_0x29184b;}[_0x3aff44(0x198)](_0x114d54){var _0x41767a=_0x3aff44;return this[_0x41767a(0x132)](!!(_0x114d54!=null&&_0x114d54[_0x41767a(0x1ac)]));}[_0x3aff44(0x128)](_0x172f4b){var _0x5e37ce=_0x3aff44;return this[_0x5e37ce(0x1e4)]>Oi?this['toggleOffline']():(this[_0x5e37ce(0x168)]=Ri(this[_0x5e37ce(0x1e4)],{'timeout':this['_resendTimeout'],'reqId':_0x172f4b[_0x5e37ce(0x204)]}),this[_0x5e37ce(0x2dc)]=this[_0x5e37ce(0x168)][_0x5e37ce(0x152)](({reqId:_0x28920a,timeout:_0x2b6787})=>{var _0x51b866=_0x5e37ce;this[_0x51b866(0x326)](_0x28920a,_0x2b6787);}),this);}[_0x3aff44(0x1c0)](){var _0x401f14=_0x3aff44;return this[_0x401f14(0x2e7)](),this[_0x401f14(0xea)][_0x401f14(0x21b)](de,this['unitID'],this[_0x401f14(0xed)],this[_0x401f14(0x2a8)],[],this[_0x401f14(0x9c)]);}[_0x3aff44(0x155)](){return this;}[_0x3aff44(0x298)](){var _0x24bfc7=_0x3aff44;this[_0x24bfc7(0x9c)][_0x24bfc7(0x313)](this[_0x24bfc7(0x2a8)]);}['_onConflict'](_0x17f180){var _0x37f917=_0x3aff44;return this[_0x37f917(0x2e7)](),this[_0x37f917(0xea)][_0x37f917(0x21b)](ue,this[_0x37f917(0x262)],this[_0x37f917(0xed)],this[_0x37f917(0x2a8)],[],this[_0x37f917(0x9c)],_0x17f180);}[_0x3aff44(0x326)](_0x4ba40d,_0x4d86ba){var _0x2e1c34=_0x3aff44,_0x1c4c10;_0x4ba40d===((_0x1c4c10=this[_0x2e1c34(0x2a8)])==null?void 0x0:_0x1c4c10['reqId'])&&(this[_0x2e1c34(0x298)](),this[_0x2e1c34(0x1e4)]=_0x4d86ba===0x0?0x3e8:_0x4d86ba*0x2);}[_0x3aff44(0x2e7)](){var _0x1074c6=_0x3aff44,_0x3594b6;(_0x3594b6=this[_0x1074c6(0x2dc)])==null||_0x3594b6[_0x1074c6(0x23d)](),this[_0x1074c6(0x1e4)]=0x0;}};le=Te([P(0x4,_0x2d5589(_0x548b34)),P(0x5,_0x2d5589(_0x15c1d1)),P(0x6,_0x529fbd),P(0x7,_0x4a21cb),P(0x8,_0x35a8a9),P(0x9,_0x4fa255),P(0xa,_0x12c4df(J))],le);let oe=class extends Ce{constructor(_0xad0bfd,_0x49c0ea,_0x546a1f,_0x3c13fe,_0x6718f,_0xdfe84c,_0x294660,_0x35d037,_0x3e4724,_0x58f52a,_0x58a90a,_0x3ee86f,_0x2e2e30){var _0x4e67ca=_0x3aff44;super(_0xad0bfd,_0x49c0ea,_0x546a1f,_0x3c13fe,_0x6718f,_0x3e4724,_0x3ee86f,_0x35d037,_0x2e2e30),N(this,_0x4e67ca(0x355),'awaiting_with_pending'),N(this,_0x4e67ca(0x1e4),0x0),N(this,_0x4e67ca(0x168)),N(this,'_sender'),(this[_0x4e67ca(0xea)]=_0x294660,this[_0x4e67ca(0x1bf)]=_0x58f52a,this[_0x4e67ca(0x296)]=_0x58a90a,this[_0x4e67ca(0x1fb)]=_0x2e2e30,_0xdfe84c&&(this['_resendTimer']=_0xdfe84c,this[_0x4e67ca(0x2dc)]=this[_0x4e67ca(0x168)]['subscribe'](({reqId:_0x4d1fc6,timeout:_0x2bcc19})=>{var _0x2d09e7=_0x4e67ca;this[_0x2d09e7(0x326)](_0x4d1fc6,_0x2bcc19);})));}[_0x3aff44(0x2be)](_0x31fc9d){var _0x16c83c=_0x3aff44;return this[_0x16c83c(0x1d4)][_0x16c83c(0x31b)](_0x31fc9d),this;}['onRemoteChangeset'](_0x50545f){var _0x280247=_0x3aff44;if(this['_checkMissing'](_0x50545f))return this['_clearScheduledTask'](),this[_0x280247(0xea)][_0x280247(0x21b)](ee,this[_0x280247(0x262)],this[_0x280247(0xed)],this['_awaitingChangeset'],this[_0x280247(0x1d4)],null,[_0x50545f],this['_handler']);try{const _0xff54e8=this[_0x280247(0x296)][_0x280247(0x164)]([_0x50545f],[this[_0x280247(0x2a8)]],!0x1);if(_0x383de4(_0xff54e8)){const {c1Prime:_0x3c2ae1,c2Prime:_0x37f2ca}=_0xff54e8,_0x5e0db2=this[_0x280247(0x296)][_0x280247(0x127)](_0x3c2ae1[0x0],this[_0x280247(0x1d4)]);if(_0x4c7cee(_0x5e0db2)){const {c1Prime:_0x25d649,m2Prime:_0x21fae0}=_0x5e0db2;return this['_executeRemoteChangeset'](_0x25d649),_0x37f2ca[0x0][_0x280247(0x33f)]=this[_0x280247(0x11d)](),this[_0x280247(0x2e7)](),this[_0x280247(0xea)][_0x280247(0x21b)](oe,this['unitID'],this[_0x280247(0xed)],_0x37f2ca[0x0],_0x21fae0,this[_0x280247(0x9c)],void 0x0);}throw _0x5e0db2[_0x280247(0x2dd)];}throw _0xff54e8[_0x280247(0x2dd)];}catch(_0x4017eb){return this[_0x280247(0x1bf)]['error'](_0x4017eb),this[_0x280247(0x132)](!0x1);}}[_0x3aff44(0x241)](_0x1d5e3f){var _0x59a1aa=_0x3aff44;if(this['_clearScheduledTask'](),this[_0x59a1aa(0xa1)](_0x1d5e3f))return this[_0x59a1aa(0xea)][_0x59a1aa(0x21b)](ee,this['unitID'],this[_0x59a1aa(0xed)],null,this[_0x59a1aa(0x1d4)],this[_0x59a1aa(0x2a8)],[],this[_0x59a1aa(0x9c)]);this['_incrementRevisionNumber']();const _0x1f1a2a=this[_0x59a1aa(0xea)]['createInstance'](ae,this[_0x59a1aa(0x262)],this['type'],this['_pendingMutations'],this[_0x59a1aa(0x9c)]);return _0x1f1a2a[_0x59a1aa(0x371)](),_0x1f1a2a['_updateLocalCache'](),_0x1f1a2a;}[_0x3aff44(0x198)](_0x486996){var _0x40d174=_0x3aff44;return this[_0x40d174(0x132)](!!(_0x486996!=null&&_0x486996['isPermissionRej']));}[_0x3aff44(0x128)](_0x40f90c){var _0x465bfe=_0x3aff44;return this[_0x465bfe(0x1e4)]>Oi?this[_0x465bfe(0x1c0)]():(this[_0x465bfe(0x168)]=Ri(this[_0x465bfe(0x1e4)],{'timeout':this[_0x465bfe(0x1e4)],'reqId':_0x40f90c[_0x465bfe(0x204)]}),this['_sender']=this[_0x465bfe(0x168)]['subscribe'](({reqId:_0x5c3380,timeout:_0x551299})=>{var _0x244ac1=_0x465bfe;this[_0x244ac1(0x326)](_0x5c3380,_0x551299);}),this);}[_0x3aff44(0x1c0)](){var _0x5af340=_0x3aff44;return this[_0x5af340(0x2e7)](),this[_0x5af340(0xea)][_0x5af340(0x21b)](de,this[_0x5af340(0x262)],this[_0x5af340(0xed)],this[_0x5af340(0x2a8)],this[_0x5af340(0x1d4)],this[_0x5af340(0x9c)]);}['toggleOnline'](){return this;}[_0x3aff44(0x298)](){var _0x25c6b5=_0x3aff44;this[_0x25c6b5(0x9c)][_0x25c6b5(0x313)](this[_0x25c6b5(0x2a8)]);}[_0x3aff44(0x132)](_0x13b0a4){var _0x2160de=_0x3aff44;return this[_0x2160de(0x2e7)](),this[_0x2160de(0xea)]['createInstance'](ue,this[_0x2160de(0x262)],this[_0x2160de(0xed)],null,this[_0x2160de(0x1d4)],this[_0x2160de(0x9c)],_0x13b0a4);}['_resendWithTimeout'](_0x140b8c,_0x5830a9){var _0xee7bcf=_0x3aff44,_0x24acd4;_0x140b8c===((_0x24acd4=this[_0xee7bcf(0x2a8)])==null?void 0x0:_0x24acd4[_0xee7bcf(0x204)])&&(this[_0xee7bcf(0x298)](),this[_0xee7bcf(0x1e4)]=_0x5830a9===0x0?0x3e8:_0x5830a9*0x2);}[_0x3aff44(0x2e7)](){var _0x543b17=_0x3aff44,_0x553715;(_0x553715=this['_sender'])==null||_0x553715[_0x543b17(0x23d)](),this[_0x543b17(0x1e4)]=0x0;}};oe=Te([P(0x6,_0x2d5589(_0x548b34)),P(0x7,_0x2d5589(_0x15c1d1)),P(0x8,_0x529fbd),P(0x9,_0x4a21cb),P(0xa,_0x35a8a9),P(0xb,_0x4fa255),P(0xc,_0x12c4df(J))],oe);let ue=class extends Ce{constructor(_0x38ad3c,_0x38e940,_0x5dd719,_0x22ad19,_0x2c8c34,_0x3af85f=!0x1,_0x2586fa,_0x4bf943,_0x48493c,_0x4ddf48,_0x546688,_0xc37e7d,_0x290f46){var _0x3b1c88=_0x3aff44;super(_0x38ad3c,_0x38e940,_0x5dd719,_0x22ad19,_0x2c8c34,_0x4bf943,_0x48493c,_0x4ddf48,_0x290f46),N(this,_0x3b1c88(0x355),_0x3b1c88(0x178)),(this[_0x3b1c88(0x12d)]=_0x3af85f,this[_0x3b1c88(0x18b)]=_0x2586fa,this[_0x3b1c88(0x304)]=_0x546688,this[_0x3b1c88(0x1c7)]=_0xc37e7d,this['localCacheService']=_0x290f46,this[_0x3b1c88(0xc4)](),this[_0x3b1c88(0x260)](),this[_0x3b1c88(0x2ca)]());}[_0x3aff44(0x2be)](){return this;}[_0x3aff44(0x31c)](){return this;}[_0x3aff44(0x241)](){return this;}[_0x3aff44(0x198)](){return this;}[_0x3aff44(0x128)](){return this;}[_0x3aff44(0x1c0)](){return this;}[_0x3aff44(0x155)](){return this;}['resend'](){var _0x44bc52=_0x3aff44;throw new Error(_0x44bc52(0x34f));}[_0x3aff44(0x260)](){var _0x195ee2=_0x3aff44,_0x549375;(_0x549375=this['_localCacheService'])==null||_0x549375[_0x195ee2(0x22f)](this['unitID'],this[_0x195ee2(0xed)],null,[]);}[_0x3aff44(0xc4)](){var _0xa0fdf4=_0x3aff44;this[_0xa0fdf4(0x12d)]?this[_0xa0fdf4(0x1c7)][_0xa0fdf4(0x374)]({'id':re[_0xa0fdf4(0x16e)]}):this[_0xa0fdf4(0x1c7)]['emitEvent']({'id':re['CONFLICT']});}[_0x3aff44(0x2ca)](){var _0x1838a6=_0x3aff44;this[_0x1838a6(0x18b)]['updatePermissionPoint'](new _0x3cd10f(this[_0x1838a6(0x262)])['id'],!0x1);}};ue=Te([P(0x6,_0x2d5589(_0x25587c)),P(0x7,_0x529fbd),P(0x8,_0x4fa255),P(0x9,_0x2d5589(_0x15c1d1)),P(0xa,_0x2d5589(_0x8ed99f)),P(0xb,_0x2d5589(pe)),P(0xc,_0x12c4df(J))],ue);let de=class extends Ce{constructor(_0x3a8bff,_0x4a11e3,_0x255467,_0x3bccbc,_0x5c6f9a,_0x102051,_0x13d4c1,_0x5501f7,_0x290163,_0x560fab){var _0x54083e=_0x3aff44;super(_0x3a8bff,_0x4a11e3,_0x255467,_0x3bccbc,_0x5c6f9a,_0x5501f7,_0x290163,_0x13d4c1,_0x560fab),N(this,_0x54083e(0x355),_0x54083e(0x286)),this[_0x54083e(0xea)]=_0x102051;}[_0x3aff44(0x2be)](_0x3c5305){var _0x46db3b=_0x3aff44;return this[_0x46db3b(0x1d4)]['push'](_0x3c5305),this[_0x46db3b(0x1a5)](),this;}[_0x3aff44(0x31c)](_0x4e5549){var _0x467a7a=_0x3aff44;throw new Error(_0x467a7a(0x337));}[_0x3aff44(0x241)](){var _0x4cf468=_0x3aff44;throw new Error(_0x4cf468(0x14c));}[_0x3aff44(0x198)](){var _0x4b70e0=_0x3aff44;throw new Error(_0x4b70e0(0x37a));}[_0x3aff44(0x128)](){return this;}['toggleOffline'](){return this;}[_0x3aff44(0x155)](){var _0x2b7a59=_0x3aff44;const {_injector:_0x1ea0b9,_pendingMutations:_0x18b19e,_awaitingChangeset:_0x5ca852,unitID:_0x44ae1f,_handler:_0x10041b,type:_0xcf7f3e}=this,_0x14557c=yi(_0x1ea0b9,_0x44ae1f,_0xcf7f3e,_0x5ca852,_0x18b19e,_0x10041b);return _0x14557c instanceof ae?_0x14557c['_schedule']():(_0x14557c instanceof oe||_0x14557c instanceof le)&&_0x14557c[_0x2b7a59(0x298)](),_0x14557c;}[_0x3aff44(0x298)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([P(0x5,_0x2d5589(_0x548b34)),P(0x6,_0x2d5589(_0x15c1d1)),P(0x7,_0x529fbd),P(0x8,_0x4fa255),P(0x9,_0x12c4df(J))],de);let ee=class extends Ce{constructor(_0x13bd74,_0x5f556a,_0x430723,_0x4f457b,_0x38984b,_0x20dd5f,_0x475377,_0x190584,_0x1f0b5a,_0x172c40,_0x50c22c,_0x533e7a,_0x13dc4a,_0x13ce0d){var _0x552618=_0x3aff44;super(_0x13bd74,_0x5f556a,_0x430723,_0x4f457b,_0x475377,_0x50c22c,_0x533e7a,_0x1f0b5a,_0x13ce0d),N(this,_0x552618(0x355),_0x552618(0xa7)),(this[_0x552618(0x367)]=_0x38984b,this[_0x552618(0x103)]=_0x20dd5f,this[_0x552618(0xea)]=_0x190584,this[_0x552618(0x1bf)]=_0x172c40,this[_0x552618(0x296)]=_0x13dc4a,this['localCacheService']=_0x13ce0d);}['onMissedChangesetFetched'](_0x41bf7b){var _0x19e642=_0x3aff44;try{const _0x15b529=[..._0x41bf7b,...this[_0x19e642(0x103)]],_0xb26e7b=[this[_0x19e642(0x2a8)]||this[_0x19e642(0x367)]]['filter'](_0xea7359=>!!_0xea7359);let _0x57972a,_0x55d5e1;if(_0xb26e7b[_0x19e642(0x2fe)]){const _0x1beecb=this[_0x19e642(0x296)]['transformChangesets'](_0x15b529,_0xb26e7b,!0x1);if(!_0x383de4(_0x1beecb))throw _0x1beecb['error'];_0x57972a=_0x1beecb[_0x19e642(0xb8)],_0x55d5e1=_0x1beecb['c2Prime'];}else _0x57972a=_0x15b529,_0x55d5e1=[];let _0x4377f5=this[_0x19e642(0x1d4)];_0x57972a[_0x19e642(0x1b7)](_0x45ec99=>{var _0x44ca78=_0x19e642;let _0x416f36;if(_0x4377f5[_0x44ca78(0x2fe)]){const _0x2b1586=this[_0x44ca78(0x296)]['transformMutationsWithChangeset'](_0x45ec99,_0x4377f5);if(!_0x4c7cee(_0x2b1586))throw _0x2b1586['error'];_0x416f36=_0x2b1586[_0x44ca78(0xb8)],_0x4377f5=_0x2b1586[_0x44ca78(0x274)];}else _0x416f36=_0x45ec99;this['_executeRemoteChangeset'](_0x416f36);}),this[_0x19e642(0x367)]&&this[_0x19e642(0x382)](),this[_0x19e642(0x2a8)]&&_0x55d5e1[_0x19e642(0x2fe)]&&(_0x55d5e1[0x0][_0x19e642(0x33f)]=this[_0x19e642(0x11d)]());let _0xfba6ca;if(this[_0x19e642(0x2a8)]&&_0x4377f5[_0x19e642(0x2fe)]!==0x0)_0xfba6ca=this['_injector']['createInstance'](oe,this['unitID'],this[_0x19e642(0xed)],_0x55d5e1[0x0],_0x4377f5,this[_0x19e642(0x9c)],void 0x0);else{if(this['_awaitingChangeset']&&_0x4377f5[_0x19e642(0x2fe)]===0x0)_0x55d5e1[0x0]['baseRev']=this[_0x19e642(0x11d)](),_0xfba6ca=this[_0x19e642(0xea)]['createInstance'](le,this['unitID'],this[_0x19e642(0xed)],_0x55d5e1[0x0],this[_0x19e642(0x9c)]);else{if(_0x4377f5[_0x19e642(0x2fe)]!==0x0){const _0x24d466=this[_0x19e642(0xea)]['createInstance'](ae,this['unitID'],this[_0x19e642(0xed)],_0x4377f5,this[_0x19e642(0x9c)]);_0x24d466['_schedule'](),_0xfba6ca=_0x24d466;}else _0xfba6ca=this['_injector']['createInstance'](Ne,this[_0x19e642(0x262)],this['type'],this[_0x19e642(0x9c)]);}}return _0xfba6ca[_0x19e642(0x1a5)](),_0xfba6ca;}catch(_0x1629f2){return this[_0x19e642(0x1bf)][_0x19e642(0x2dd)](_0x19e642(0x18c),_0x19e642(0x90),_0x1629f2),this[_0x19e642(0xea)]['createInstance'](ue,this['unitID'],this['type'],this[_0x19e642(0x2a8)],this[_0x19e642(0x1d4)],this[_0x19e642(0x9c)],!0x1);}}[_0x3aff44(0x298)](){var _0xaf9a72=_0x3aff44;throw new Error(_0xaf9a72(0x214));}[_0x3aff44(0x2be)](_0x4cff02){var _0x14b91f=_0x3aff44;return this['_pendingMutations'][_0x14b91f(0x31b)](_0x4cff02),this;}[_0x3aff44(0x31c)](_0xb3f248){var _0x3d54ff=_0x3aff44;return this[_0x3d54ff(0x103)][_0x3d54ff(0x31b)](_0xb3f248),this;}[_0x3aff44(0x241)](_0x1e1ca7){var _0x279ec5=_0x3aff44;if(this[_0x279ec5(0x2a8)])return this[_0x279ec5(0x367)]=this[_0x279ec5(0x2a8)],this[_0x279ec5(0x2a8)]=null,this;throw new Error(_0x279ec5(0xc0));}[_0x3aff44(0x198)](_0x4dc303){var _0x7df8f9=_0x3aff44;return this[_0x7df8f9(0x132)](!!(_0x4dc303!=null&&_0x4dc303[_0x7df8f9(0x1ac)]));}[_0x3aff44(0x128)](){return this;}[_0x3aff44(0x1c0)](){var _0x49cdce=_0x3aff44;return this[_0x49cdce(0xea)]['createInstance'](de,this[_0x49cdce(0x262)],this[_0x49cdce(0xed)],this[_0x49cdce(0x2a8)],this[_0x49cdce(0x1d4)],this[_0x49cdce(0x9c)]);}[_0x3aff44(0x155)](){return this;}[_0x3aff44(0x132)](_0x15de79){var _0x388464=_0x3aff44;return this[_0x388464(0xea)]['createInstance'](ue,this['unitID'],this[_0x388464(0xed)],this['_awaitingChangeset'],this[_0x388464(0x1d4)],this['_handler'],_0x15de79);}};ee=Te([P(0x7,_0x2d5589(_0x548b34)),P(0x8,_0x2d5589(_0x15c1d1)),P(0x9,_0x4a21cb),P(0xa,_0x529fbd),P(0xb,_0x4fa255),P(0xc,_0x35a8a9),P(0xd,_0x12c4df(J))],ee);function yi(_0x3ece12,_0x36a08d,_0x154d66,_0x1e8677,_0x3e91c5,_0x14ae0a){var _0x2a7ec0=_0x3aff44;return _0x1e8677&&_0x3e91c5[_0x2a7ec0(0x2fe)]?_0x3ece12[_0x2a7ec0(0x21b)](oe,_0x36a08d,_0x154d66,_0x1e8677,_0x3e91c5,_0x14ae0a,void 0x0):_0x1e8677?_0x3ece12['createInstance'](le,_0x36a08d,_0x154d66,_0x1e8677,_0x14ae0a):_0x3e91c5[_0x2a7ec0(0x2fe)]?_0x3ece12[_0x2a7ec0(0x21b)](ae,_0x36a08d,_0x154d66,_0x3e91c5,_0x14ae0a):_0x3ece12[_0x2a7ec0(0x21b)](Ne,_0x36a08d,_0x154d66,_0x14ae0a);}var as=Object[_0x3aff44(0x202)],Lt=(_0x52d629,_0x4b6a99,_0x131bdc,_0x18242c)=>{var _0xed85da=_0x3aff44;for(var _0x39b767=_0x18242c>0x1?void 0x0:_0x18242c?as(_0x4b6a99,_0x131bdc):_0x4b6a99,_0x1ebb05=_0x52d629[_0xed85da(0x2fe)]-0x1,_0x4bdf02;_0x1ebb05>=0x0;_0x1ebb05--)(_0x4bdf02=_0x52d629[_0x1ebb05])&&(_0x39b767=_0x4bdf02(_0x39b767)||_0x39b767);return _0x39b767;},H=(_0xe009cb,_0x51584e)=>(_0x517772,_0x126f40)=>_0x51584e(_0x517772,_0x126f40,_0xe009cb);let nt=class extends _0x358ab7{constructor(_0x50f876,_0xa0217d,_0x5b288e,_0x434a45,_0x24961b,_0x149330,_0x4a75a0,_0x28d457,_0x355a37,_0x4fb9eb,_0x2d6790,_0x5970a8,_0x9ea598){var _0x2c8b2a=_0x3aff44;super(),N(this,'_state$',new _0x269196(null)),N(this,_0x2c8b2a(0x24c),this[_0x2c8b2a(0x356)][_0x2c8b2a(0x205)]()),N(this,'_state'),N(this,_0x2c8b2a(0x357),!0x1),N(this,_0x2c8b2a(0x259),''),N(this,'_changesetReqId',0x0),N(this,_0x2c8b2a(0x2f6),this[_0x2c8b2a(0x24c)][_0x2c8b2a(0x16b)](_0xc8db9(_0x2ad1af=>_0x2ad1af?_0x2ad1af[_0x2c8b2a(0x355)]:bi[_0x2c8b2a(0x1b0)]),_0x56558e(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x2c8b2a(0x361),[]),(this['unitID']=_0x50f876,this[_0x2c8b2a(0x120)]=_0xa0217d,this['_type']=_0x5b288e,this['_injector']=_0x434a45,this[_0x2c8b2a(0x1af)]=_0x24961b,this[_0x2c8b2a(0x304)]=_0x149330,this['_revisionService']=_0x4a75a0,this['_eventService']=_0x28d457,this[_0x2c8b2a(0x1bf)]=_0x355a37,this['_commandService']=_0x4fb9eb,this[_0x2c8b2a(0x18b)]=_0x2d6790,this[_0x2c8b2a(0x199)]=_0x5970a8,this[_0x2c8b2a(0x222)]=_0x9ea598);}get[_0x3aff44(0x319)](){return this['_state'];}async['init'](){var _0x2d0240=_0x3aff44;if(this[_0x2d0240(0x319)])throw new Error(_0x2d0240(0x297));await this[_0x2d0240(0x1ce)]();}['pauseCollaboration'](){var _0x5b4a9f=_0x3aff44;return this[_0x5b4a9f(0x357)]=!0x0,_0x10d4b1(()=>{var _0xca05a3=_0x5b4a9f;this[_0xca05a3(0x357)]=!0x1,this[_0xca05a3(0x1ec)]();});}[_0x3aff44(0x10e)](_0x32cedd){var _0x4b8d77=_0x3aff44;this[_0x4b8d77(0x12c)](_0x32cedd);}['_updateState'](_0x2a78da){var _0x341628=_0x3aff44;this[_0x341628(0x34b)]=_0x2a78da,this['_state$'][_0x341628(0x15e)](_0x2a78da);}async[_0x3aff44(0x1ce)](){var _0x4f2298=_0x3aff44,_0x136ee8;this[_0x4f2298(0x186)](await this[_0x4f2298(0x1f4)]()),this['_singleActiveUnitService']&&((_0x136ee8=this[_0x4f2298(0x199)])==null||_0x136ee8[_0x4f2298(0x338)](this[_0x4f2298(0x262)]),this[_0x4f2298(0xeb)](this[_0x4f2298(0x199)][_0x4f2298(0x2ae)](this[_0x4f2298(0x262)])[_0x4f2298(0x152)](_0x2a768d=>{var _0xc9e65a=_0x4f2298;this[_0xc9e65a(0x1bf)][_0xc9e65a(0x2c3)](_0xc9e65a(0x1c8),_0xc9e65a(0x20d),_0x2a768d),_0x2a768d===Ci[_0xc9e65a(0x10f)]?(this[_0xc9e65a(0xb7)]['emitEvent']({'id':re['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0xc9e65a(0xb0)](new _0x3cd10f(this[_0xc9e65a(0x262)])['id'],!0x1),this['_permissionService'][_0xc9e65a(0x31d)](!0x1)):(this[_0xc9e65a(0x18b)][_0xc9e65a(0xb0)](new _0x3cd10f(this[_0xc9e65a(0x262)])['id'],!0x0),this['_permissionService'][_0xc9e65a(0x31d)](!0x0));})));let _0x5bcadc=!0x1;return this[_0x4f2298(0xeb)](this['session'][_0x4f2298(0x283)][_0x4f2298(0x152)](_0xbb0082=>{var _0x1af64f=_0x4f2298;_0xbb0082===Ee[_0x1af64f(0x35c)]?this['_toggleOnline'](_0x5bcadc):_0xbb0082===Ee[_0x1af64f(0x1b0)]&&(_0x5bcadc=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x4f2298(0x120)][_0x4f2298(0x29f)][_0x4f2298(0x152)](_0x3d4965=>{var _0x33f6dd=_0x4f2298;try{switch(_0x3d4965[_0x33f6dd(0x388)]){case _0x2bf31e[_0x33f6dd(0x230)]:{this[_0x33f6dd(0x11a)](_0x1848be(_0x3d4965['data']));break;}case _0x2bf31e[_0x33f6dd(0x332)]:{this[_0x33f6dd(0x157)](_0x3d4965[_0x33f6dd(0x37d)]);break;}case _0x2bf31e['CHANGESET_REJ']:{this[_0x33f6dd(0x1cd)]();break;}case _0x2bf31e[_0x33f6dd(0x24f)]:{this[_0x33f6dd(0x2c8)](_0x3d4965['data']);break;}case _0x2bf31e[_0x33f6dd(0x216)]:{this[_0x33f6dd(0x8d)](_0x3d4965[_0x33f6dd(0x37d)][_0x33f6dd(0x252)]['map'](_0x49829e=>_0x1848be(_0x49829e)));break;}case _0x2bf31e['PERMISSION_REJ']:{this[_0x33f6dd(0x1cd)]({'isPermissionRej':!0x0});break;}case _0x2bf31e['UNISCRIPT_RUN']:break;}}catch(_0x281e1c){throw console['error'](_0x33f6dd(0x2d4),_0x281e1c),_0x281e1c;}})),this['_state'];}['_unlockTransition'](){var _0x3ac76b=_0x3aff44;this[_0x3ac76b(0x293)]=!0x1;}[_0x3aff44(0x180)](){var _0x152e8d=_0x3aff44;if(this[_0x152e8d(0x293)])throw new Error(_0x152e8d(0x206));this[_0x152e8d(0x293)]=!0x0;}[_0x3aff44(0x12c)](_0x4d98c6){var _0x2e0a30=_0x3aff44;this[_0x2e0a30(0x180)](),this[_0x2e0a30(0x186)](this[_0x2e0a30(0x34b)][_0x2e0a30(0x2be)](_0x4d98c6)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x41f3e7){var _0x3f38fa=_0x3aff44;if(!(_0x41f3e7[_0x3f38fa(0xaa)]<=this[_0x3f38fa(0x2b7)][_0x3f38fa(0x17f)](this[_0x3f38fa(0x262)]))){if(this[_0x3f38fa(0x357)]){this[_0x3f38fa(0x361)][_0x3f38fa(0x31b)](_0x41f3e7);return;}this[_0x3f38fa(0x339)](_0x41f3e7);}}[_0x3aff44(0x1ec)](){var _0x47acb3=_0x3aff44;this['_remoteChangesetQueue'][_0x47acb3(0x1b7)](_0x23c971=>this['_applyRemoteChangeset'](_0x23c971)),this[_0x47acb3(0x361)]=[];}[_0x3aff44(0x339)](_0x3b8782){var _0x4d3287=_0x3aff44;const _0x34919a=this[_0x4d3287(0x1af)]['interceptor'][_0x4d3287(0xd5)](this[_0x4d3287(0x1af)]['interceptor'][_0x4d3287(0x1e1)]()[_0x4d3287(0x27a)])(_0x3b8782[_0x4d3287(0x14b)],null)||_0x3b8782[_0x4d3287(0x14b)],_0x3800b9={..._0x3b8782,'mutations':_0x34919a};this[_0x4d3287(0x180)](),this[_0x4d3287(0x186)](this[_0x4d3287(0x34b)]['onRemoteChangeset'](_0x3800b9)),this[_0x4d3287(0x1f2)]();}[_0x3aff44(0x157)](_0xa436da){var _0x4c9137=_0x3aff44;this[_0x4c9137(0x180)](),this[_0x4c9137(0x186)](this[_0x4c9137(0x34b)]['onRemoteAck'](_0xa436da)),this['_unlockTransition']();}['_onRemoteRejected'](_0x61ae3d){var _0x1ee3ac=_0x3aff44;this[_0x1ee3ac(0x180)](),this[_0x1ee3ac(0x186)](this[_0x1ee3ac(0x34b)][_0x1ee3ac(0x198)](_0x61ae3d)),this[_0x1ee3ac(0x1f2)]();}[_0x3aff44(0x2c8)](_0x55e10e){var _0xb8555d=_0x3aff44;this[_0xb8555d(0x180)](),this['_updateState'](this[_0xb8555d(0x34b)]['onRemoteRetry'](_0x55e10e)),this[_0xb8555d(0x1f2)]();}['_onFetchMissResult'](_0x5bce8f){var _0x1fb8be=_0x3aff44;if(!(this[_0x1fb8be(0x34b)]instanceof ee))throw new TypeError(_0x1fb8be(0x23f));const _0x546655=_0x5bce8f[_0x1fb8be(0x364)](_0x132785=>{var _0x19ba17=_0x1fb8be;const _0x541fdd=this[_0x19ba17(0x1af)][_0x19ba17(0x235)][_0x19ba17(0xd5)](this[_0x19ba17(0x1af)][_0x19ba17(0x235)][_0x19ba17(0x1e1)]()[_0x19ba17(0x27a)])(_0x132785[_0x19ba17(0x14b)],null)||_0x132785['mutations'];return{..._0x132785,'mutations':_0x541fdd};});this[_0x1fb8be(0x180)](),this[_0x1fb8be(0x186)](this[_0x1fb8be(0x34b)][_0x1fb8be(0x117)](_0x546655)),this[_0x1fb8be(0x1f2)]();}[_0x3aff44(0x368)](){var _0x4fefc0=_0x3aff44;this[_0x4fefc0(0x180)](),this[_0x4fefc0(0x186)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x3aff44(0x124)](_0x70a3ec=!0x1){var _0x640d1a=_0x3aff44;this['_lockTransition'](),this[_0x640d1a(0x186)](this[_0x640d1a(0x34b)][_0x640d1a(0x155)]()),this[_0x640d1a(0x1f2)]();const _0x5b456d=this[_0x640d1a(0x34b)];_0x70a3ec&&_0x5b456d instanceof Ne&&(this[_0x640d1a(0x180)](),this['_updateState'](_0x5b456d[_0x640d1a(0x2c4)]()),this[_0x640d1a(0x1f2)]());}async['_createInitialState'](){return new Promise(_0x311482=>{var _0x563aeb=_0x79cb;this[_0x563aeb(0x120)][_0x563aeb(0x283)][_0x563aeb(0x16b)](_0x141c58(0x1))[_0x563aeb(0x152)](async _0x5759a8=>{var _0x4e8b4f=_0x563aeb;_0x311482(await this[_0x4e8b4f(0x1ab)](_0x5759a8===Ee[_0x4e8b4f(0x35c)]));});});}[_0x3aff44(0x2de)](){var _0x21e6d5=_0x3aff44;const _0x2ff9a=this[_0x21e6d5(0x262)];return{'onStateChange':(_0x2885df,_0x49ade7)=>{var _0x10e25f=_0x21e6d5;if(_0x2885df!==this[_0x10e25f(0x34b)])throw new Error(_0x10e25f(0x1df)+_0x2885df[_0x10e25f(0x355)]+_0x10e25f(0x22b)+_0x49ade7[_0x10e25f(0x355)]+_0x10e25f(0x277)+this[_0x10e25f(0x34b)][_0x10e25f(0x355)]);this[_0x10e25f(0x186)](_0x49ade7);},'onSendChangeset':_0x4e8bdd=>{var _0x16bcfa=_0x21e6d5;_0x4e8bdd['sid']||(_0x4e8bdd[_0x16bcfa(0x101)]=this[_0x16bcfa(0x259)],_0x4e8bdd['reqId']=++this['_changesetReqId']);const _0x244490={'eventID':_0x2bf31e[_0x16bcfa(0x263)],'data':{'unitID':_0x4e8bdd[_0x16bcfa(0x262)],'unitType':this['_type'],'changeset':_0x4e8bdd,'memberID':this[_0x16bcfa(0x120)][_0x16bcfa(0x96)]()}};this[_0x16bcfa(0x120)][_0x16bcfa(0x1be)](_0x244490,this[_0x16bcfa(0x262)]);},'onMissingChangesets':({from:_0x4f5f43,to:_0x1a46b5})=>{var _0x3227f7=_0x21e6d5;this[_0x3227f7(0x1bf)][_0x3227f7(0x2c3)](_0x3227f7(0x1c8),_0x3227f7(0x234)+_0x4f5f43+'\x20to\x20'+_0x1a46b5);const _0xc5093a={'eventID':_0x2bf31e[_0x3227f7(0x220)],'data':{'unitID':_0x2ff9a,'unitType':this[_0x3227f7(0x365)],'from':_0x4f5f43,'to':_0x1a46b5}};this['session']['send'](_0xc5093a,this['unitID']);}};}async[_0x3aff44(0x1ab)](_0x4426af){var _0x35f6e3=_0x3aff44,_0x29fb27,_0x238574,_0x87ee0d;const _0x1a78c2=await((_0x29fb27=this[_0x35f6e3(0x222)])==null?void 0x0:_0x29fb27[_0x35f6e3(0x130)](this[_0x35f6e3(0x262)])),_0x2c0422=(_0x238574=_0x1a78c2==null?void 0x0:_0x1a78c2['mutations'])!=null?_0x238574:[],_0x2f5235=(_0x87ee0d=_0x1a78c2==null?void 0x0:_0x1a78c2[_0x35f6e3(0x113)])!=null?_0x87ee0d:null,_0x17d088=!!(_0x2f5235!=null&&_0x2f5235['sid'])&&!!(_0x2f5235!=null&&_0x2f5235[_0x35f6e3(0x204)]);this[_0x35f6e3(0x259)]=_0x17d088?_0x2f5235[_0x35f6e3(0x101)]:Zn(),this[_0x35f6e3(0x2f4)]=_0x17d088?_0x2f5235[_0x35f6e3(0x204)]:0x0;const _0x5c6b5e=this[_0x35f6e3(0x262)];try{this[_0x35f6e3(0x160)](_0x2f5235,_0x2c0422);}catch(_0x3c1602){this[_0x35f6e3(0x1bf)][_0x35f6e3(0x2dd)](_0x3c1602);}const _0x4bda6d=this[_0x35f6e3(0x2de)]();if(_0x4426af){const _0x2c1474=yi(this[_0x35f6e3(0xea)],_0x5c6b5e,this[_0x35f6e3(0x365)],_0x2f5235,_0x2c0422,_0x4bda6d);return _0x2c1474 instanceof ae?_0x2c1474[_0x35f6e3(0x371)]():(_0x2c1474 instanceof oe||_0x2c1474 instanceof le)&&_0x2c1474['resend'](),_0x2c1474;}return this[_0x35f6e3(0xea)][_0x35f6e3(0x21b)](de,_0x5c6b5e,this[_0x35f6e3(0x365)],_0x2f5235,_0x2c0422,_0x4bda6d);}['_replayCachedMutations'](_0xacd02,_0x12c60a){var _0x34bccf=_0x3aff44,_0x9e82f1,_0x4a5bb4;const _0x45eb44=this[_0x34bccf(0x1af)]['interceptor'][_0x34bccf(0xd5)](this['_compressMutationService']['interceptor'][_0x34bccf(0x1e1)]()[_0x34bccf(0x27a)]);(_0x9e82f1=_0x45eb44((_0xacd02==null?void 0x0:_0xacd02[_0x34bccf(0x14b)])||[],null))==null||_0x9e82f1['forEach'](_0x1675d5=>this['_commandService'][_0x34bccf(0x170)](_0x1675d5['id'],_0x1675d5[_0x34bccf(0x20a)])),(_0x4a5bb4=_0x45eb44(_0x12c60a||[],null))==null||_0x4a5bb4[_0x34bccf(0x1b7)](_0x5e96ea=>this[_0x34bccf(0xe3)][_0x34bccf(0x170)](_0x5e96ea['id'],_0x5e96ea[_0x34bccf(0x20a)]));}};nt=Lt([H(0x3,_0x2d5589(_0x548b34)),H(0x4,_0x2d5589(_0x103b5f)),H(0x5,_0x2d5589(_0x8ed99f)),H(0x6,_0x2d5589(_0x15c1d1)),H(0x7,_0x2d5589(pe)),H(0x8,_0x4a21cb),H(0x9,_0x529fbd),H(0xa,_0x25587c),H(0xb,_0x12c4df(ht)),H(0xc,_0x12c4df(J))],nt);function _0x79cb(_0x23462d,_0x32b187){var _0x2aa762=_0x2aa7();return _0x79cb=function(_0x79cbee,_0x2ced09){_0x79cbee=_0x79cbee-0x8c;var _0xff015e=_0x2aa762[_0x79cbee];return _0xff015e;},_0x79cb(_0x23462d,_0x32b187);}let It=class extends nt{constructor(_0x10f3c9,_0x765ee9,_0x406dbd,_0x4ad9ad,_0x427104,_0x75a998,_0x2ec83b,_0x5e4600,_0x5c8b37,_0xad3c20,_0x4876e8,_0x51e708,_0x40ebb5){var _0x17ee68=_0x3aff44;super(_0x10f3c9,_0x406dbd,_0x765ee9,_0x4ad9ad,_0x427104,_0x75a998,_0x2ec83b,_0x5e4600,_0x5c8b37,_0xad3c20,_0x4876e8,_0x51e708,_0x40ebb5),N(this,'_handlerCallback',null),(this[_0x17ee68(0x262)]=_0x10f3c9,this[_0x17ee68(0xed)]=_0x765ee9);}[_0x3aff44(0x30a)](_0x1d3f4d){var _0x62766a=_0x3aff44;this[_0x62766a(0x305)]=_0x1d3f4d;}[_0x3aff44(0xb2)](){var _0x250509=_0x3aff44;this[_0x250509(0x305)]=null,super[_0x250509(0xb2)]();}[_0x3aff44(0x2de)](){var _0x1bc492=_0x3aff44;const _0x1d3563=super['_createHandler']();return _0x1d3563[_0x1bc492(0x1e7)]=_0x18ed24=>{var _0x29cd0e=_0x1bc492,_0x4c947c,_0xcf36f2;return(_0xcf36f2=(_0x4c947c=this[_0x29cd0e(0x305)])==null?void 0x0:_0x4c947c[_0x29cd0e(0x1e7)])==null?void 0x0:_0xcf36f2[_0x29cd0e(0x108)](_0x4c947c,_0x18ed24);},_0x1d3563[_0x1bc492(0x1e3)]=_0xd4e4ba=>{var _0x5609a1=_0x1bc492,_0x3602af,_0x1c47b2;return(_0x1c47b2=(_0x3602af=this[_0x5609a1(0x305)])==null?void 0x0:_0x3602af['onTransformState'])==null?void 0x0:_0x1c47b2[_0x5609a1(0x108)](_0x3602af,_0xd4e4ba);},_0x1d3563[_0x1bc492(0x280)]=_0x33e9b3=>{var _0x5a4b15=_0x1bc492,_0x29eebb,_0xd20350;return(_0xd20350=(_0x29eebb=this[_0x5a4b15(0x305)])==null?void 0x0:_0x29eebb[_0x5a4b15(0x280)])==null?void 0x0:_0xd20350[_0x5a4b15(0x108)](_0x29eebb,_0x33e9b3);},_0x1d3563[_0x1bc492(0x372)]=_0x372d98=>{var _0x19992b=_0x1bc492,_0x267063,_0x2ee985;return(_0x2ee985=(_0x267063=this[_0x19992b(0x305)])==null?void 0x0:_0x267063[_0x19992b(0x372)])==null?void 0x0:_0x2ee985[_0x19992b(0x108)](_0x267063,_0x372d98);},_0x1d3563['onTransformRemoteChangesetByIMECache']=_0x47f29e=>{var _0x9d0379=_0x1bc492,_0xd44708,_0x313fab,_0x4482cb;if(!((_0xd44708=this[_0x9d0379(0x305)])!=null&&_0xd44708[_0x9d0379(0x136)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4482cb=(_0x313fab=this[_0x9d0379(0x305)])==null?void 0x0:_0x313fab['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x4482cb['call'](_0x313fab,_0x47f29e);},_0x1d3563[_0x1bc492(0xee)]=_0x284285=>{var _0x1c513e=_0x1bc492,_0x558662,_0x57d2ee,_0x5f51bf;if(!((_0x558662=this['_handlerCallback'])!=null&&_0x558662[_0x1c513e(0xee)]))throw new Error(_0x1c513e(0xfd));return(_0x5f51bf=(_0x57d2ee=this[_0x1c513e(0x305)])==null?void 0x0:_0x57d2ee['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5f51bf['call'](_0x57d2ee,_0x284285);},_0x1d3563;}async['_init'](){var _0x518196=_0x3aff44;const _0x56686c=await super[_0x518196(0x1ce)]();return this['disposeWithMe'](this[_0x518196(0xe3)][_0x518196(0x363)]((_0x4a90bb,_0x58d153)=>{var _0x314f06=_0x518196;if(_0x4a90bb[_0x314f06(0xed)]!==_0x30e367['MUTATION']||_0x58d153!=null&&_0x58d153[_0x314f06(0xc3)]||_0x58d153!=null&&_0x58d153[_0x314f06(0x347)]||_0x4a90bb['id']===_0x99b319['id'])return;const _0x2b3ac9=_0x4a90bb['params'];if((_0x2b3ac9==null?void 0x0:_0x2b3ac9['unitId'])!==this[_0x314f06(0x262)])return;const _0x3afc07=_0x4a90bb,_0x7be5e0=this['_compressMutationService']['interceptor'][_0x314f06(0xd5)](this[_0x314f06(0x1af)][_0x314f06(0x235)][_0x314f06(0x1e1)]()['COMPRESS_MUTATION_SEND'])([_0x3afc07],null)||[_0x3afc07];this['_onLocalMutation'](_0x7be5e0[0x0]);})),_0x56686c;}};It=Lt([H(0x3,_0x2d5589(_0x548b34)),H(0x4,_0x2d5589(_0x103b5f)),H(0x5,_0x2d5589(_0x8ed99f)),H(0x6,_0x2d5589(_0x15c1d1)),H(0x7,_0x2d5589(pe)),H(0x8,_0x4a21cb),H(0x9,_0x529fbd),H(0xa,_0x25587c),H(0xb,_0x12c4df(ht)),H(0xc,_0x12c4df(J))],It);let Tt=class extends nt{constructor(_0x4c2b0b,_0x31d17f,_0x415cbc,_0x2615d3,_0x1c290a,_0x4acdba,_0x803829,_0x482e94,_0x9adbfc,_0x2aabbf,_0x1a4fd2,_0x4cd758,_0x2217d7,_0x2b6a18){var _0x746f9a=_0x3aff44;super(_0x4c2b0b,_0x415cbc,_0x31d17f,_0x2615d3,_0x1c290a,_0x4acdba,_0x803829,_0x9adbfc,_0x2aabbf,_0x1a4fd2,_0x4cd758,_0x2217d7,_0x2b6a18),this[_0x746f9a(0x262)]=_0x4c2b0b,this['type']=_0x31d17f,this[_0x746f9a(0x359)]=_0x482e94;}[_0x3aff44(0x2de)](){var _0x1c3bf8=_0x3aff44;const _0x4a9e91=super['_createHandler']();return _0x4a9e91['onTransformSelections']=_0x24f02a=>this[_0x1c3bf8(0x359)][_0x1c3bf8(0x36c)](_0x24f02a),_0x4a9e91;}async[_0x3aff44(0x1ce)](){var _0x50833c=_0x3aff44;const _0x34d509=await super['_init']();return this[_0x50833c(0xeb)](this[_0x50833c(0xe3)][_0x50833c(0x363)]((_0x325a86,_0x39ef12)=>{var _0x14bfea=_0x50833c;if(_0x325a86[_0x14bfea(0xed)]!==_0x30e367[_0x14bfea(0x27f)]||_0x39ef12!=null&&_0x39ef12[_0x14bfea(0xc3)]||_0x39ef12!=null&&_0x39ef12[_0x14bfea(0x347)])return;const _0x38c748=_0x325a86['params'];if((_0x38c748==null?void 0x0:_0x38c748[_0x14bfea(0x1fe)])!==this[_0x14bfea(0x262)])return;const _0x4be4ac=_0x325a86,_0x2acc7c=this[_0x14bfea(0x1af)]['interceptor'][_0x14bfea(0xd5)](this['_compressMutationService'][_0x14bfea(0x235)][_0x14bfea(0x1e1)]()['COMPRESS_MUTATION_SEND'])([_0x4be4ac],null)||[_0x4be4ac];this[_0x14bfea(0x12c)](_0x2acc7c[0x0]);})),_0x34d509;}};Tt=Lt([H(0x3,_0x2d5589(_0x548b34)),H(0x4,_0x2d5589(_0x103b5f)),H(0x5,_0x2d5589(_0x8ed99f)),H(0x6,_0x2d5589(_0x15c1d1)),H(0x7,_0x2d5589(it)),H(0x8,_0x2d5589(pe)),H(0x9,_0x4a21cb),H(0xa,_0x529fbd),H(0xb,_0x25587c),H(0xc,_0x12c4df(ht)),H(0xd,_0x12c4df(J))],Tt);var os=Object['getOwnPropertyDescriptor'],cs=(_0x51601c,_0x284a95,_0x563cf3,_0x1e4302)=>{for(var _0x2c3fe8=_0x1e4302>0x1?void 0x0:_0x1e4302?os(_0x284a95,_0x563cf3):_0x284a95,_0x45aa65=_0x51601c['length']-0x1,_0x347232;_0x45aa65>=0x0;_0x45aa65--)(_0x347232=_0x51601c[_0x45aa65])&&(_0x2c3fe8=_0x347232(_0x2c3fe8)||_0x2c3fe8);return _0x2c3fe8;},ft=(_0x386832,_0x446fa5)=>(_0x5df20f,_0x3fb371)=>_0x446fa5(_0x5df20f,_0x3fb371,_0x386832);let st=class extends _0x358ab7{constructor(_0x21ed88,_0xfe5fa1,_0x2f9361){var _0x315ac0=_0x3aff44;super(),N(this,_0x315ac0(0x144),new Map()),N(this,_0x315ac0(0x37b),new _0x279a5a()),N(this,_0x315ac0(0x33e),this[_0x315ac0(0x37b)][_0x315ac0(0x205)]()),(this['_injector']=_0x21ed88,this[_0x315ac0(0x173)]=_0xfe5fa1,this[_0x315ac0(0x268)]=_0x2f9361,this[_0x315ac0(0x1ce)]());}[_0x3aff44(0xb2)](){var _0x21f6bd=_0x3aff44;super['dispose'](),this[_0x21f6bd(0x144)][_0x21f6bd(0x1b7)](_0x5d3c94=>_0x5d3c94[_0x21f6bd(0xb2)]()),this[_0x21f6bd(0x144)][_0x21f6bd(0x190)]();}['getCollabEntity'](_0x5be778){var _0x2edbbe=_0x3aff44,_0x46ab71;return(_0x46ab71=this[_0x2edbbe(0x144)]['get'](_0x5be778))!=null?_0x46ab71:null;}[_0x3aff44(0x21a)](_0x4c37cd){var _0x1fa96d=_0x3aff44;const _0xd8c882=this[_0x1fa96d(0x22a)](_0x4c37cd);return _0xd8c882?_0x312f76(_0xd8c882):this[_0x1fa96d(0x37b)]['pipe'](_0x4926c7(_0x2fdfb5=>_0x2fdfb5[_0x1fa96d(0x262)]===_0x4c37cd));}['readyForCollab'](_0x517517){var _0x5b2918=_0x3aff44;return _0x1bd6db(this['getCollabEntity$'](_0x517517)[_0x5b2918(0x16b)](_0x45b9c6(()=>{})));}['_init'](){var _0x372b21=_0x3aff44;this[_0x372b21(0x268)][_0x372b21(0x289)](_0x32ac1a[_0x372b21(0xb4)])['pipe'](_0x59b91c(this[_0x372b21(0x163)]),_0x338ee3(0x10))[_0x372b21(0x152)](async _0x215dc4=>{var _0x37ea27=_0x372b21;const _0x2663bd=_0x215dc4[_0x37ea27(0x35f)](),_0x41b267=await this[_0x37ea27(0x28b)](_0x2663bd,Q[_0x37ea27(0xb4)]);this[_0x37ea27(0x144)][_0x37ea27(0xbd)](_0x2663bd,_0x41b267);}),this[_0x372b21(0x268)][_0x372b21(0x289)](_0x32ac1a[_0x372b21(0x27e)])[_0x372b21(0x16b)](_0x59b91c(this[_0x372b21(0x163)]),_0x338ee3(0x10))[_0x372b21(0x16b)](_0x4926c7(_0xea8941=>!_0xea8941[_0x372b21(0x35f)]()['startsWith']('__')))[_0x372b21(0x152)](async _0x539817=>{var _0x3ee741=_0x372b21;const _0x2a4690=_0x539817[_0x3ee741(0x35f)](),_0x5273ca=await this[_0x3ee741(0x28b)](_0x2a4690,Q[_0x3ee741(0x27e)]);this[_0x3ee741(0x144)][_0x3ee741(0xbd)](_0x2a4690,_0x5273ca);}),_0x436cc6(this[_0x372b21(0x268)][_0x372b21(0x16d)](_0x32ac1a[_0x372b21(0xb4)]),this[_0x372b21(0x268)][_0x372b21(0x16d)](_0x32ac1a['UNIVER_DOC']))[_0x372b21(0x16b)](_0x59b91c(this['dispose$']))['subscribe'](_0x14a68d=>{var _0x2b49e8=_0x372b21;const _0x1a9f6b=_0x14a68d[_0x2b49e8(0x35f)](),_0x5b0d6a=this[_0x2b49e8(0x144)][_0x2b49e8(0x142)](_0x1a9f6b);_0x5b0d6a&&(_0x5b0d6a[_0x2b49e8(0xb2)](),this['_entities'][_0x2b49e8(0x2d9)](_0x1a9f6b));});}async[_0x3aff44(0x28b)](_0x4b2157,_0x2827cf){var _0x2d4a85=_0x3aff44;const _0x3355e3=await this['_collabSessionService'][_0x2d4a85(0x2f0)](_0x4b2157),_0x5ac418=this[_0x2d4a85(0xea)][_0x2d4a85(0x21b)](this[_0x2d4a85(0x31e)](_0x2827cf),_0x4b2157,_0x2827cf,_0x3355e3);return await _0x5ac418['init'](),this[_0x2d4a85(0x37b)][_0x2d4a85(0x15e)](_0x5ac418),_0x5ac418;}[_0x3aff44(0x31e)](_0x17c12b){var _0x335df0=_0x3aff44;switch(_0x17c12b){case Q[_0x335df0(0x27e)]:return It;case Q['UNIVER_SHEET']:return Tt;default:throw new Error(_0x335df0(0x1a8)+_0x17c12b);}}};st=cs([ft(0x0,_0x2d5589(_0x548b34)),ft(0x1,_0x2d5589(xe)),ft(0x2,_0x52f90f)],st);var hs=Object[_0x3aff44(0x202)],_s=(_0x66f778,_0x4c9846,_0x9b8af3,_0x57dbe8)=>{var _0xed7faa=_0x3aff44;for(var _0x1d7d46=_0x57dbe8>0x1?void 0x0:_0x57dbe8?hs(_0x4c9846,_0x9b8af3):_0x4c9846,_0x32de48=_0x66f778[_0xed7faa(0x2fe)]-0x1,_0x171e31;_0x32de48>=0x0;_0x32de48--)(_0x171e31=_0x66f778[_0x32de48])&&(_0x1d7d46=_0x171e31(_0x1d7d46)||_0x1d7d46);return _0x1d7d46;},zt=(_0x226b00,_0x1b676b)=>(_0x367b79,_0x94d4c8)=>_0x1b676b(_0x367b79,_0x94d4c8,_0x226b00);const ls=_0x3aff44(0x2fa),us=_0x3aff44(0x240);let Ct=class extends _0x19df94{constructor(_0x464c25,_0x1d995f){var _0x50c790=_0x3aff44;super(),this['_univerInstanceService']=_0x464c25,this[_0x50c790(0x2ed)]=_0x1d995f,this[_0x50c790(0x1ce)]();}[_0x3aff44(0x1ce)](){var _0x54b37f=_0x3aff44;this[_0x54b37f(0xeb)](this[_0x54b37f(0x268)][_0x54b37f(0x27d)][_0x54b37f(0x152)](()=>{var _0x2c3f6e=_0x54b37f,_0x3361f1;const _0x59d431=this['_univerInstanceService'][_0x2c3f6e(0x315)]();let _0x76e38a=(_0x3361f1=this[_0x2c3f6e(0x2ed)][_0x2c3f6e(0x189)](ls))!=null?_0x3361f1:us;_0x59d431 instanceof _0x441a8c&&(_0x76e38a=_0x59d431[_0x2c3f6e(0x1c9)]),document[_0x2c3f6e(0x2cf)]=_0x76e38a;}));}};Ct=_s([zt(0x0,_0x52f90f),zt(0x1,_0x3c5e42)],Ct);var ds=Object[_0x3aff44(0x202)],fs=(_0x2f71d0,_0x3730e6,_0x3ee98e,_0x593573)=>{var _0x154154=_0x3aff44;for(var _0x4912cb=_0x593573>0x1?void 0x0:_0x593573?ds(_0x3730e6,_0x3ee98e):_0x3730e6,_0x939067=_0x2f71d0[_0x154154(0x2fe)]-0x1,_0x3e6ffe;_0x939067>=0x0;_0x939067--)(_0x3e6ffe=_0x2f71d0[_0x939067])&&(_0x4912cb=_0x3e6ffe(_0x4912cb)||_0x4912cb);return _0x4912cb;},vt=(_0x3ee6fa,_0x43f4fd)=>(_0x4c7d65,_0x4ff9d7)=>_0x43f4fd(_0x4c7d65,_0x4ff9d7,_0x3ee6fa);let rt=class{constructor(_0x41ba48,_0x304f0d,_0x15ee97){var _0xff4780=_0x3aff44;this[_0xff4780(0x2ed)]=_0x41ba48,this[_0xff4780(0xa3)]=_0x304f0d,this[_0xff4780(0x239)]=_0x15ee97,this[_0xff4780(0x17e)]();}['init'](){var _0x8ded51=_0x3aff44;this[_0x8ded51(0xa3)][_0x8ded51(0xb6)]({'priority':0x1,'interceptor':(_0x10d275,_0x41e1b7)=>_0x41e1b7(_0x10d275)[_0x8ded51(0x16b)](_0x39cf2b(async _0x22ed40=>{var _0x51cf10=_0x8ded51;const _0x98c819=_0x22ed40;if(_0x98c819[_0x51cf10(0x355)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x51cf10(0x239)]['t'](_0x51cf10(0x328)))){const _0x5b8708=window[_0x51cf10(0x118)](window[_0x51cf10(0x102)]['href']);window[_0x51cf10(0x102)][_0x51cf10(0x307)]=this[_0x51cf10(0xc1)]()+_0x51cf10(0xa4)+_0x5b8708;}}return _0x98c819;}))});}['_getLoginPath'](){var _0x393a80=_0x3aff44,_0x48785b,_0x336fe1;const _0x3066d5=this['_configService'][_0x393a80(0x189)](Un),_0x249f14=this['_configService'][_0x393a80(0x189)](q);return(_0x336fe1=(_0x48785b=_0x249f14==null?void 0x0:_0x249f14[_0x393a80(0x111)])!=null?_0x48785b:_0x3066d5)!=null?_0x336fe1:An;}};rt=fs([vt(0x0,_0x3c5e42),vt(0x1,_0x2d5589(_0x4fb77b)),vt(0x2,_0x2d5589(_0x8ed99f))],rt);var vs=Object[_0x3aff44(0x202)],ps=(_0x879d11,_0x2fd514,_0x1f1e80,_0x165b41)=>{var _0x56771c=_0x3aff44;for(var _0x20d383=_0x165b41>0x1?void 0x0:_0x165b41?vs(_0x2fd514,_0x1f1e80):_0x2fd514,_0x909a40=_0x879d11[_0x56771c(0x2fe)]-0x1,_0x1a2eb3;_0x909a40>=0x0;_0x909a40--)(_0x1a2eb3=_0x879d11[_0x909a40])&&(_0x20d383=_0x1a2eb3(_0x20d383)||_0x20d383);return _0x20d383;},Jt=(_0x459677,_0x57c287)=>(_0x171dd4,_0x1f17de)=>_0x57c287(_0x171dd4,_0x1f17de,_0x459677);const Ni=_0x3aff44(0x1e2),ms=_0x3aff44(0x33c);let Rt=class extends _0x19df94{constructor(_0x3933bb,_0x1681a2){var _0x329f9a=_0x3aff44;super(),this[_0x329f9a(0x100)]=_0x3933bb,this['_configService']=_0x1681a2,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){var _0x3accea=_0x3aff44;const _0x43e064=this;this[_0x3accea(0xeb)](this['_HTTPService'][_0x3accea(0xb6)]({'priority':0x3e7,'interceptor':_0x9fd7a8({'isMatch'(_0x39cd81){var _0x13f86d=_0x3accea,_0x413c97;if(_0x39cd81[_0x13f86d(0xd7)]===_0x13f86d(0x20f)&&((_0x413c97=_0x39cd81[_0x13f86d(0x1d0)])!=null&&_0x413c97[_0x13f86d(0x1e6)])){const {objectID:_0x291af2,objectType:_0x3d912b}=_0x39cd81[_0x13f86d(0x1d0)][_0x13f86d(0x1e6)]||{};if(!_0x291af2||_0x3d912b===void 0x0)return!0x1;const _0x337096=_0x43e064[_0x13f86d(0x227)]()+'/'+_0x3d912b+_0x13f86d(0xf3)+_0x291af2+_0x13f86d(0x271);if(_0x39cd81[_0x13f86d(0x10a)]===_0x337096)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x409a80){var _0x3dc389=_0x3accea,_0x558234;return(_0x558234=_0x409a80[_0x3dc389(0x1d0)])==null?void 0x0:_0x558234[_0x3dc389(0x1e6)];},'mergeParamsToRequest'(_0x3f35d5,_0x3da50c){var _0x1b74cb=_0x3accea;const _0x4c15dc=_0x43e064[_0x1b74cb(0x227)]()+'/-/object/-/batch_allowed',_0x5b79a8=_0x3f35d5['reduce']((_0x111b6b,_0x57e962)=>{var _0xa37c07=_0x1b74cb;const {unitID:_0x28ccaf,objectID:_0x39b72b,objectType:_0x1429a8,actions:_0x5b56da}=_0x57e962;return _0x111b6b[_0x28ccaf]||(_0x111b6b[_0x28ccaf]={}),_0x111b6b[_0x28ccaf][_0x39b72b]||(_0x111b6b[_0x28ccaf][_0x39b72b]={'objectID':_0x39b72b,'objectType':_0x1429a8,'actions':[]}),_0x111b6b[_0x28ccaf][_0x39b72b][_0xa37c07(0x1d5)]['push'](..._0x5b56da),_0x111b6b;},{}),_0x2444ce=[];for(const _0x4400a2 in _0x5b79a8)for(const _0x2180db in _0x5b79a8[_0x4400a2]){const {actions:_0x426110,objectType:_0x332092}=_0x5b79a8[_0x4400a2][_0x2180db],_0x5d9b7a=[...new Set(_0x426110)];_0x2444ce[_0x1b74cb(0x31b)]({'unitID':_0x4400a2,'objectID':_0x2180db,'objectType':_0x332092,'actions':_0x5d9b7a});}return new _0x24675a(_0x1b74cb(0x20f),_0x4c15dc,{'headers':_0x3da50c['headers'],'withCredentials':_0x3da50c[_0x1b74cb(0x345)],'responseType':_0x3da50c['responseType'],'body':{'requests':_0x2444ce}});}},{'distributeResult'(_0x26d524,_0x2a4545){var _0x826526=_0x3accea;const {objectActions:_0x25b43c}=_0x26d524;return _0x2a4545[_0x826526(0x364)](_0x31d506=>{var _0xe05a62=_0x826526;const {unitID:_0xb68515,objectID:_0x49cafd,actions:_0x1de3f8}=_0x31d506,_0x123912=_0x25b43c[_0xe05a62(0x29c)](_0x485b41=>_0x485b41[_0xe05a62(0x262)]===_0xb68515&&_0x485b41[_0xe05a62(0x213)]===_0x49cafd),_0x595ab7=_0x1de3f8[_0xe05a62(0x364)](_0x2a8373=>_0x123912==null?void 0x0:_0x123912[_0xe05a62(0x1d5)]['find'](_0x3d13ee=>_0x3d13ee[_0xe05a62(0x114)]===_0x2a8373))[_0xe05a62(0x1a1)](_0x3b7133=>!!_0x3b7133);return{'config':_0x31d506,'result':{'actions':_0x595ab7,'error':_0x26d524[_0xe05a62(0x2dd)]}};});}})}));}[_0x3aff44(0x227)](){var _0x144118=_0x3aff44,_0x25221c,_0x51611b;const _0x1ab351=this[_0x144118(0x2ed)][_0x144118(0x189)](Ni),_0x4b2fca=this[_0x144118(0x2ed)]['getConfig'](q);return(_0x51611b=(_0x25221c=_0x4b2fca==null?void 0x0:_0x4b2fca[_0x144118(0x2a7)])!=null?_0x25221c:_0x1ab351)!=null?_0x51611b:ms;}async[_0x3aff44(0x194)](_0x563991){var _0x3a1d9c=_0x3aff44;const _0x82c91f=this[_0x3a1d9c(0x227)]()+'/'+_0x563991[_0x3a1d9c(0x2f2)]+_0x3a1d9c(0x20b);return(await this[_0x3a1d9c(0x100)][_0x3a1d9c(0x331)](_0x82c91f,{'body':_0x563991}))[_0x3a1d9c(0x1e6)]['objectID']||'';}async['list'](_0x61a4a5){var _0x1ff124=_0x3aff44;const _0x495413=this[_0x1ff124(0x227)]()+_0x1ff124(0x1d1);return(await this['_HTTPService'][_0x1ff124(0x331)](_0x495413,{'body':_0x61a4a5}))['body'][_0x1ff124(0x139)];}async[_0x3aff44(0x182)](_0x4d1c5b){var _0x3f26f6=_0x3aff44,_0x3cfa30,_0x262839;const _0x1fe7bf=this[_0x3f26f6(0x227)]()+'/'+_0x4d1c5b['objectType']+_0x3f26f6(0xf3)+_0x4d1c5b[_0x3f26f6(0x213)],_0x5ed07a=await this['_HTTPService'][_0x3f26f6(0x2cd)](_0x1fe7bf,{'body':_0x4d1c5b});if(((_0x262839=(_0x3cfa30=_0x5ed07a==null?void 0x0:_0x5ed07a[_0x3f26f6(0x1e6)])==null?void 0x0:_0x3cfa30['error'])==null?void 0x0:_0x262839['code'])!==0x1)throw new Error(_0x3f26f6(0x106));}async[_0x3aff44(0x2ce)](_0x19a010){var _0x5d2379=_0x3aff44;const _0x31957d=this[_0x5d2379(0x227)]()+'/'+_0x19a010[_0x5d2379(0x2f2)]+'/object/'+_0x19a010[_0x5d2379(0x213)]+_0x5d2379(0x271);return(await this[_0x5d2379(0x100)][_0x5d2379(0x331)](_0x31957d,{'body':_0x19a010}))[_0x5d2379(0x1e6)]['actions'];}async[_0x3aff44(0x306)](_0x18ac57){var _0x2e94f5=_0x3aff44;const _0x1f02a1=this[_0x2e94f5(0x227)]()+_0x2e94f5(0x2da);return(await this[_0x2e94f5(0x100)][_0x2e94f5(0x331)](_0x1f02a1,{'body':{'requests':_0x18ac57}}))[_0x2e94f5(0x1e6)][_0x2e94f5(0x1da)];}async['listRoles'](_0x350d28){var _0x56b0ab=_0x3aff44;const _0xbf994a=this['_getAPIPrefixPath']()+'/'+_0x350d28[_0x56b0ab(0x2f2)]+_0x56b0ab(0x1d3),_0x26cc73=await this[_0x56b0ab(0x100)][_0x56b0ab(0x331)](_0xbf994a,{'body':_0x350d28});return{'roles':_0x26cc73[_0x56b0ab(0x1e6)][_0x56b0ab(0x17c)],'actions':_0x26cc73[_0x56b0ab(0x1e6)][_0x56b0ab(0x1d5)]};}async[_0x3aff44(0x2c1)](_0x160fd8){var _0x169357=_0x3aff44;const _0x448a7c=this[_0x169357(0x227)]()+_0x169357(0x2a0);await this[_0x169357(0x100)][_0x169357(0x2d9)](_0x448a7c,{'params':{'collaboratorID':_0x160fd8[_0x169357(0x2e6)],'objectID':_0x160fd8[_0x169357(0x213)],'unitID':_0x160fd8[_0x169357(0x262)]}});}async['updateCollaborator'](_0x4ee42b){var _0x3161a9=_0x3aff44;const _0x56b0fd=this[_0x3161a9(0x227)]()+_0x3161a9(0x2a0);await this['_HTTPService'][_0x3161a9(0xc9)](_0x56b0fd,{'body':_0x4ee42b});}async[_0x3aff44(0x314)](_0x31e303){var _0x5d87e6=_0x3aff44;const _0x21254f=this['_getAPIPrefixPath']()+_0x5d87e6(0x2a0);await this[_0x5d87e6(0x100)]['post'](_0x21254f,{'body':_0x31e303});}async['listCollaborators'](_0x8b2c){var _0x4e3590=_0x3aff44;const _0xffcd54=this['_getAPIPrefixPath']()+_0x4e3590(0x2a0);return(await this[_0x4e3590(0x100)][_0x4e3590(0x142)](_0xffcd54,{'params':{'objectID':_0x8b2c[_0x4e3590(0x213)],'unitID':_0x8b2c['unitID']}}))[_0x4e3590(0x1e6)][_0x4e3590(0x123)];}async[_0x3aff44(0x285)](_0x4fdee6){var _0x1cc54d=_0x3aff44;const _0x1d1ee9=this[_0x1cc54d(0x227)]()+_0x1cc54d(0x2a0);await this[_0x1cc54d(0x100)][_0x1cc54d(0x2cd)](_0x1d1ee9,{'body':_0x4fdee6});}};Rt=ps([Jt(0x0,_0x2d5589(_0x4fb77b)),Jt(0x1,_0x2d5589(_0x3c5e42))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x3b16fb){var _0x4cb61e=_0x3aff44;return _0x3b16fb&&_0x3b16fb['__esModule']&&Object[_0x4cb61e(0x15f)][_0x4cb61e(0x185)][_0x4cb61e(0x108)](_0x3b16fb,_0x4cb61e(0x1f7))?_0x3b16fb[_0x4cb61e(0x1f7)]:_0x3b16fb;}var Ve={'exports':{}};function gs(_0x426122){var _0x504245=_0x3aff44;throw new Error(_0x504245(0x2e3)+_0x426122+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ss=Ge[_0x3aff44(0x35d)],Xt;function ie(){var _0x106029=_0x3aff44;return Xt||(Xt=0x1,function(_0x597879,_0x5058d9){(function(_0x21dd60,_0x273179){var _0x27ef94=_0x79cb;_0x597879[_0x27ef94(0x35d)]=_0x273179();}(Ss,function(){var _0x40c294=_0x40c294||function(_0x11b78e,_0x4fea1c){var _0x1dbe61=_0x79cb,_0x932ec3;if(typeof window<'u'&&window[_0x1dbe61(0x200)]&&(_0x932ec3=window[_0x1dbe61(0x200)]),typeof self<'u'&&self[_0x1dbe61(0x200)]&&(_0x932ec3=self[_0x1dbe61(0x200)]),typeof globalThis<'u'&&globalThis[_0x1dbe61(0x200)]&&(_0x932ec3=globalThis[_0x1dbe61(0x200)]),!_0x932ec3&&typeof window<'u'&&window[_0x1dbe61(0x95)]&&(_0x932ec3=window[_0x1dbe61(0x95)]),!_0x932ec3&&typeof pt<'u'&&pt[_0x1dbe61(0x200)]&&(_0x932ec3=pt[_0x1dbe61(0x200)]),!_0x932ec3&&typeof gs==_0x1dbe61(0xae))try{_0x932ec3=require(_0x1dbe61(0x200));}catch{}var _0x1009bd=function(){var _0x319a34=_0x1dbe61;if(_0x932ec3){if(typeof _0x932ec3[_0x319a34(0x12a)]=='function')try{return _0x932ec3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x932ec3[_0x319a34(0x322)]=='function')try{return _0x932ec3[_0x319a34(0x322)](0x4)[_0x319a34(0x1a0)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x269205=Object[_0x1dbe61(0x194)]||(function(){function _0x5b94d4(){}return function(_0x17f410){var _0x407381=_0x79cb,_0x36948a;return _0x5b94d4[_0x407381(0x15f)]=_0x17f410,_0x36948a=new _0x5b94d4(),_0x5b94d4[_0x407381(0x15f)]=null,_0x36948a;};}()),_0x5de4b0={},_0x54e711=_0x5de4b0[_0x1dbe61(0x22e)]={},_0x2e4d84=_0x54e711['Base']=(function(){return{'extend':function(_0x2f5176){var _0x525050=_0x79cb,_0x3dc552=_0x269205(this);return _0x2f5176&&_0x3dc552[_0x525050(0x291)](_0x2f5176),(!_0x3dc552[_0x525050(0x185)](_0x525050(0x17e))||this[_0x525050(0x17e)]===_0x3dc552[_0x525050(0x17e)])&&(_0x3dc552[_0x525050(0x17e)]=function(){var _0x46a739=_0x525050;_0x3dc552[_0x46a739(0xf8)]['init'][_0x46a739(0x13e)](this,arguments);}),_0x3dc552[_0x525050(0x17e)][_0x525050(0x15f)]=_0x3dc552,_0x3dc552['$super']=this,_0x3dc552;},'create':function(){var _0x1e3031=_0x79cb,_0x5938cb=this[_0x1e3031(0x32f)]();return _0x5938cb[_0x1e3031(0x17e)]['apply'](_0x5938cb,arguments),_0x5938cb;},'init':function(){},'mixIn':function(_0x242698){var _0x5317ab=_0x79cb;for(var _0x16da53 in _0x242698)_0x242698[_0x5317ab(0x185)](_0x16da53)&&(this[_0x16da53]=_0x242698[_0x16da53]);_0x242698['hasOwnProperty']('toString')&&(this['toString']=_0x242698['toString']);},'clone':function(){var _0x37bf45=_0x79cb;return this[_0x37bf45(0x17e)][_0x37bf45(0x15f)]['extend'](this);}};}()),_0x3eb0a8=_0x54e711[_0x1dbe61(0x348)]=_0x2e4d84[_0x1dbe61(0x32f)]({'init':function(_0x47a2d1,_0x2d9899){var _0x113129=_0x1dbe61;_0x47a2d1=this[_0x113129(0x299)]=_0x47a2d1||[],_0x2d9899!=_0x4fea1c?this[_0x113129(0x30d)]=_0x2d9899:this[_0x113129(0x30d)]=_0x47a2d1[_0x113129(0x2fe)]*0x4;},'toString':function(_0x465983){var _0x1b6a06=_0x1dbe61;return(_0x465983||_0x4c2237)[_0x1b6a06(0x258)](this);},'concat':function(_0x3aa399){var _0x187529=_0x1dbe61,_0x586a46=this[_0x187529(0x299)],_0x3dff16=_0x3aa399[_0x187529(0x299)],_0x6469a8=this[_0x187529(0x30d)],_0x3a6441=_0x3aa399['sigBytes'];if(this['clamp'](),_0x6469a8%0x4)for(var _0x45b322=0x0;_0x45b322<_0x3a6441;_0x45b322++){var _0xd1dc86=_0x3dff16[_0x45b322>>>0x2]>>>0x18-_0x45b322%0x4*0x8&0xff;_0x586a46[_0x6469a8+_0x45b322>>>0x2]|=_0xd1dc86<<0x18-(_0x6469a8+_0x45b322)%0x4*0x8;}else{for(var _0x451039=0x0;_0x451039<_0x3a6441;_0x451039+=0x4)_0x586a46[_0x6469a8+_0x451039>>>0x2]=_0x3dff16[_0x451039>>>0x2];}return this[_0x187529(0x30d)]+=_0x3a6441,this;},'clamp':function(){var _0x53c2c8=_0x1dbe61,_0x365cfa=this['words'],_0x177953=this[_0x53c2c8(0x30d)];_0x365cfa[_0x177953>>>0x2]&=0xffffffff<<0x20-_0x177953%0x4*0x8,_0x365cfa[_0x53c2c8(0x2fe)]=_0x11b78e[_0x53c2c8(0x141)](_0x177953/0x4);},'clone':function(){var _0x58f902=_0x1dbe61,_0x5d0620=_0x2e4d84[_0x58f902(0x11e)][_0x58f902(0x108)](this);return _0x5d0620[_0x58f902(0x299)]=this[_0x58f902(0x299)][_0x58f902(0x38d)](0x0),_0x5d0620;},'random':function(_0x421e1a){var _0x38afbc=_0x1dbe61;for(var _0x413cdf=[],_0x52aaac=0x0;_0x52aaac<_0x421e1a;_0x52aaac+=0x4)_0x413cdf['push'](_0x1009bd());return new _0x3eb0a8[(_0x38afbc(0x17e))](_0x413cdf,_0x421e1a);}}),_0x1c56ba=_0x5de4b0[_0x1dbe61(0x26e)]={},_0x4c2237=_0x1c56ba[_0x1dbe61(0x340)]={'stringify':function(_0x4ba2b3){var _0x3d0a27=_0x1dbe61;for(var _0x2a779a=_0x4ba2b3[_0x3d0a27(0x299)],_0x1b27d2=_0x4ba2b3[_0x3d0a27(0x30d)],_0x1abf54=[],_0x13f81f=0x0;_0x13f81f<_0x1b27d2;_0x13f81f++){var _0x5ec50a=_0x2a779a[_0x13f81f>>>0x2]>>>0x18-_0x13f81f%0x4*0x8&0xff;_0x1abf54[_0x3d0a27(0x31b)]((_0x5ec50a>>>0x4)[_0x3d0a27(0x2c2)](0x10)),_0x1abf54['push']((_0x5ec50a&0xf)[_0x3d0a27(0x2c2)](0x10));}return _0x1abf54[_0x3d0a27(0x267)]('');},'parse':function(_0xd2f17b){var _0x8d2bcd=_0x1dbe61;for(var _0x56e800=_0xd2f17b[_0x8d2bcd(0x2fe)],_0x4cbf5c=[],_0x19a0c3=0x0;_0x19a0c3<_0x56e800;_0x19a0c3+=0x2)_0x4cbf5c[_0x19a0c3>>>0x3]|=parseInt(_0xd2f17b[_0x8d2bcd(0x376)](_0x19a0c3,0x2),0x10)<<0x18-_0x19a0c3%0x8*0x4;return new _0x3eb0a8[(_0x8d2bcd(0x17e))](_0x4cbf5c,_0x56e800/0x2);}},_0x52c9b3=_0x1c56ba['Latin1']={'stringify':function(_0x41dc2b){var _0x19615a=_0x1dbe61;for(var _0x910be6=_0x41dc2b[_0x19615a(0x299)],_0x219219=_0x41dc2b[_0x19615a(0x30d)],_0x2a6b95=[],_0x474589=0x0;_0x474589<_0x219219;_0x474589++){var _0x36d642=_0x910be6[_0x474589>>>0x2]>>>0x18-_0x474589%0x4*0x8&0xff;_0x2a6b95[_0x19615a(0x31b)](String['fromCharCode'](_0x36d642));}return _0x2a6b95['join']('');},'parse':function(_0x424c80){var _0x2b0c6f=_0x1dbe61;for(var _0x3a6565=_0x424c80[_0x2b0c6f(0x2fe)],_0x16e256=[],_0x30b8de=0x0;_0x30b8de<_0x3a6565;_0x30b8de++)_0x16e256[_0x30b8de>>>0x2]|=(_0x424c80[_0x2b0c6f(0x1fa)](_0x30b8de)&0xff)<<0x18-_0x30b8de%0x4*0x8;return new _0x3eb0a8['init'](_0x16e256,_0x3a6565);}},_0x27c93e=_0x1c56ba['Utf8']={'stringify':function(_0x232ba8){var _0x6945aa=_0x1dbe61;try{return decodeURIComponent(escape(_0x52c9b3['stringify'](_0x232ba8)));}catch{throw new Error(_0x6945aa(0x273));}},'parse':function(_0x31fbfa){var _0x33a05a=_0x1dbe61;return _0x52c9b3[_0x33a05a(0x247)](unescape(encodeURIComponent(_0x31fbfa)));}},_0x3b1b24=_0x54e711[_0x1dbe61(0x2c0)]=_0x2e4d84['extend']({'reset':function(){var _0x2e8ad1=_0x1dbe61;this[_0x2e8ad1(0x2ee)]=new _0x3eb0a8['init'](),this['_nDataBytes']=0x0;},'_append':function(_0x1aa043){var _0x12df97=_0x1dbe61;typeof _0x1aa043==_0x12df97(0x34c)&&(_0x1aa043=_0x27c93e[_0x12df97(0x247)](_0x1aa043)),this[_0x12df97(0x2ee)]['concat'](_0x1aa043),this[_0x12df97(0xe5)]+=_0x1aa043['sigBytes'];},'_process':function(_0x1b1c29){var _0x5602c9=_0x1dbe61,_0x3be052,_0x555a0e=this['_data'],_0x247df5=_0x555a0e[_0x5602c9(0x299)],_0x3253e0=_0x555a0e[_0x5602c9(0x30d)],_0x1e2681=this[_0x5602c9(0xaf)],_0x314673=_0x1e2681*0x4,_0x1184d8=_0x3253e0/_0x314673;_0x1b1c29?_0x1184d8=_0x11b78e['ceil'](_0x1184d8):_0x1184d8=_0x11b78e[_0x5602c9(0x28a)]((_0x1184d8|0x0)-this[_0x5602c9(0xe1)],0x0);var _0x5b9065=_0x1184d8*_0x1e2681,_0x39d7e8=_0x11b78e[_0x5602c9(0x244)](_0x5b9065*0x4,_0x3253e0);if(_0x5b9065){for(var _0x11215d=0x0;_0x11215d<_0x5b9065;_0x11215d+=_0x1e2681)this[_0x5602c9(0x1a2)](_0x247df5,_0x11215d);_0x3be052=_0x247df5[_0x5602c9(0x1ed)](0x0,_0x5b9065),_0x555a0e[_0x5602c9(0x30d)]-=_0x39d7e8;}return new _0x3eb0a8[(_0x5602c9(0x17e))](_0x3be052,_0x39d7e8);},'clone':function(){var _0x226cfe=_0x1dbe61,_0x576b39=_0x2e4d84[_0x226cfe(0x11e)][_0x226cfe(0x108)](this);return _0x576b39[_0x226cfe(0x2ee)]=this[_0x226cfe(0x2ee)]['clone'](),_0x576b39;},'_minBufferSize':0x0});_0x54e711['Hasher']=_0x3b1b24[_0x1dbe61(0x32f)]({'cfg':_0x2e4d84['extend'](),'init':function(_0x122154){var _0x568cf5=_0x1dbe61;this[_0x568cf5(0x301)]=this['cfg']['extend'](_0x122154),this[_0x568cf5(0x352)]();},'reset':function(){var _0x84442f=_0x1dbe61;_0x3b1b24[_0x84442f(0x352)][_0x84442f(0x108)](this),this[_0x84442f(0x207)]();},'update':function(_0x3327de){var _0x893b84=_0x1dbe61;return this[_0x893b84(0x145)](_0x3327de),this[_0x893b84(0x353)](),this;},'finalize':function(_0x19f96a){var _0x3cb8b3=_0x1dbe61;_0x19f96a&&this[_0x3cb8b3(0x145)](_0x19f96a);var _0x5529da=this[_0x3cb8b3(0xca)]();return _0x5529da;},'blockSize':0x10,'_createHelper':function(_0x485621){return function(_0x1dc3b4,_0x374d0e){var _0x21db5f=_0x79cb;return new _0x485621[(_0x21db5f(0x17e))](_0x374d0e)['finalize'](_0x1dc3b4);};},'_createHmacHelper':function(_0xfe7bf8){return function(_0x4b5c4c,_0x402c55){var _0x50a186=_0x79cb;return new _0x4260bd[(_0x50a186(0x351))]['init'](_0xfe7bf8,_0x402c55)['finalize'](_0x4b5c4c);};}});var _0x4260bd=_0x5de4b0[_0x1dbe61(0x229)]={};return _0x5de4b0;}(Math);return _0x40c294;}));}(Ge)),Ge[_0x106029(0x35d)];}var We={'exports':{}},Es=We[_0x3aff44(0x35d)],Zt;function Di(){return Zt||(Zt=0x1,function(_0x265385,_0x20e339){(function(_0x2ad206,_0xdfc21c){_0x265385['exports']=_0xdfc21c(ie());}(Es,function(_0x13ebe6){var _0x286ed4=_0x79cb;return(function(){var _0x1725ea=_0x79cb,_0x3a9c1d=_0x13ebe6,_0x3fd029=_0x3a9c1d[_0x1725ea(0x22e)],_0x56b6b3=_0x3fd029[_0x1725ea(0x348)],_0x24a0bf=_0x3a9c1d[_0x1725ea(0x26e)];_0x24a0bf[_0x1725ea(0x354)]={'stringify':function(_0x5c5931){var _0x2baae6=_0x1725ea,_0x3a567f=_0x5c5931['words'],_0x23c020=_0x5c5931[_0x2baae6(0x30d)],_0x4bc38b=this[_0x2baae6(0x16c)];_0x5c5931['clamp']();for(var _0x488cc9=[],_0x51503b=0x0;_0x51503b<_0x23c020;_0x51503b+=0x3)for(var _0x43856c=_0x3a567f[_0x51503b>>>0x2]>>>0x18-_0x51503b%0x4*0x8&0xff,_0x185be4=_0x3a567f[_0x51503b+0x1>>>0x2]>>>0x18-(_0x51503b+0x1)%0x4*0x8&0xff,_0x4c6cc0=_0x3a567f[_0x51503b+0x2>>>0x2]>>>0x18-(_0x51503b+0x2)%0x4*0x8&0xff,_0x1784d6=_0x43856c<<0x10|_0x185be4<<0x8|_0x4c6cc0,_0x21d145=0x0;_0x21d145<0x4&&_0x51503b+_0x21d145*0.75<_0x23c020;_0x21d145++)_0x488cc9[_0x2baae6(0x31b)](_0x4bc38b['charAt'](_0x1784d6>>>0x6*(0x3-_0x21d145)&0x3f));var _0x59681e=_0x4bc38b[_0x2baae6(0x31f)](0x40);if(_0x59681e){for(;_0x488cc9['length']%0x4;)_0x488cc9[_0x2baae6(0x31b)](_0x59681e);}return _0x488cc9[_0x2baae6(0x267)]('');},'parse':function(_0x22cede){var _0x4b2799=_0x1725ea,_0x416d70=_0x22cede[_0x4b2799(0x2fe)],_0x3483e3=this[_0x4b2799(0x16c)],_0x31e9d7=this['_reverseMap'];if(!_0x31e9d7){_0x31e9d7=this[_0x4b2799(0x2d7)]=[];for(var _0x388971=0x0;_0x388971<_0x3483e3[_0x4b2799(0x2fe)];_0x388971++)_0x31e9d7[_0x3483e3[_0x4b2799(0x1fa)](_0x388971)]=_0x388971;}var _0x44ce44=_0x3483e3['charAt'](0x40);if(_0x44ce44){var _0xd22a51=_0x22cede['indexOf'](_0x44ce44);_0xd22a51!==-0x1&&(_0x416d70=_0xd22a51);}return _0x2a11a0(_0x22cede,_0x416d70,_0x31e9d7);},'_map':_0x1725ea(0x187)};function _0x2a11a0(_0x20ca7e,_0x173260,_0x13429f){var _0x48d4c4=_0x1725ea;for(var _0x13a30a=[],_0x594adf=0x0,_0x5df7cb=0x0;_0x5df7cb<_0x173260;_0x5df7cb++)if(_0x5df7cb%0x4){var _0x1e81b6=_0x13429f[_0x20ca7e[_0x48d4c4(0x1fa)](_0x5df7cb-0x1)]<<_0x5df7cb%0x4*0x2,_0xf1ace5=_0x13429f[_0x20ca7e[_0x48d4c4(0x1fa)](_0x5df7cb)]>>>0x6-_0x5df7cb%0x4*0x2,_0x152d61=_0x1e81b6|_0xf1ace5;_0x13a30a[_0x594adf>>>0x2]|=_0x152d61<<0x18-_0x594adf%0x4*0x8,_0x594adf++;}return _0x56b6b3[_0x48d4c4(0x194)](_0x13a30a,_0x594adf);}}()),_0x13ebe6[_0x286ed4(0x26e)]['Base64'];}));}(We)),We['exports'];}var Ke={'exports':{}},Is=Ke[_0x3aff44(0x35d)],Qt;function Ts(){var _0xd66cd7=_0x3aff44;return Qt||(Qt=0x1,function(_0x2feffa,_0x56aff0){(function(_0x560b55,_0xdd7c38){var _0x5b59c6=_0x79cb;_0x2feffa[_0x5b59c6(0x35d)]=_0xdd7c38(ie());}(Is,function(_0x3e5be3){var _0x30ab6c=_0x79cb;return function(_0x41b942){var _0x39818b=_0x79cb,_0x173368=_0x3e5be3,_0x1af266=_0x173368[_0x39818b(0x22e)],_0xe5c7ec=_0x1af266[_0x39818b(0x348)],_0x33a5d=_0x1af266[_0x39818b(0x11b)],_0x4c4ee4=_0x173368['algo'],_0x42a1ca=[];(function(){for(var _0x19d7ed=0x0;_0x19d7ed<0x40;_0x19d7ed++)_0x42a1ca[_0x19d7ed]=_0x41b942['abs'](_0x41b942['sin'](_0x19d7ed+0x1))*0x100000000|0x0;}());var _0x133c81=_0x4c4ee4[_0x39818b(0xc7)]=_0x33a5d[_0x39818b(0x32f)]({'_doReset':function(){var _0x4f1904=_0x39818b;this[_0x4f1904(0x169)]=new _0xe5c7ec[(_0x4f1904(0x17e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x89378,_0x597e7b){var _0x21c732=_0x39818b;for(var _0x25e89b=0x0;_0x25e89b<0x10;_0x25e89b++){var _0x3d48cc=_0x597e7b+_0x25e89b,_0x420ad6=_0x89378[_0x3d48cc];_0x89378[_0x3d48cc]=(_0x420ad6<<0x8|_0x420ad6>>>0x18)&0xff00ff|(_0x420ad6<<0x18|_0x420ad6>>>0x8)&0xff00ff00;}var _0x3364cd=this[_0x21c732(0x169)][_0x21c732(0x299)],_0x41e6d6=_0x89378[_0x597e7b+0x0],_0x584e8d=_0x89378[_0x597e7b+0x1],_0x7d572f=_0x89378[_0x597e7b+0x2],_0xc9815e=_0x89378[_0x597e7b+0x3],_0x6bf50d=_0x89378[_0x597e7b+0x4],_0x208ab5=_0x89378[_0x597e7b+0x5],_0x3c8aa2=_0x89378[_0x597e7b+0x6],_0x4a891d=_0x89378[_0x597e7b+0x7],_0x56f2b1=_0x89378[_0x597e7b+0x8],_0x5e6d1a=_0x89378[_0x597e7b+0x9],_0x12a897=_0x89378[_0x597e7b+0xa],_0x204db7=_0x89378[_0x597e7b+0xb],_0x52102a=_0x89378[_0x597e7b+0xc],_0x186208=_0x89378[_0x597e7b+0xd],_0xa36d01=_0x89378[_0x597e7b+0xe],_0x2a9fa4=_0x89378[_0x597e7b+0xf],_0x1a8d22=_0x3364cd[0x0],_0x57b046=_0x3364cd[0x1],_0x508c5=_0x3364cd[0x2],_0x255101=_0x3364cd[0x3];_0x1a8d22=_0x13ee9c(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x41e6d6,0x7,_0x42a1ca[0x0]),_0x255101=_0x13ee9c(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x584e8d,0xc,_0x42a1ca[0x1]),_0x508c5=_0x13ee9c(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x7d572f,0x11,_0x42a1ca[0x2]),_0x57b046=_0x13ee9c(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0xc9815e,0x16,_0x42a1ca[0x3]),_0x1a8d22=_0x13ee9c(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x6bf50d,0x7,_0x42a1ca[0x4]),_0x255101=_0x13ee9c(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x208ab5,0xc,_0x42a1ca[0x5]),_0x508c5=_0x13ee9c(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x3c8aa2,0x11,_0x42a1ca[0x6]),_0x57b046=_0x13ee9c(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x4a891d,0x16,_0x42a1ca[0x7]),_0x1a8d22=_0x13ee9c(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x56f2b1,0x7,_0x42a1ca[0x8]),_0x255101=_0x13ee9c(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x5e6d1a,0xc,_0x42a1ca[0x9]),_0x508c5=_0x13ee9c(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x12a897,0x11,_0x42a1ca[0xa]),_0x57b046=_0x13ee9c(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x204db7,0x16,_0x42a1ca[0xb]),_0x1a8d22=_0x13ee9c(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x52102a,0x7,_0x42a1ca[0xc]),_0x255101=_0x13ee9c(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x186208,0xc,_0x42a1ca[0xd]),_0x508c5=_0x13ee9c(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0xa36d01,0x11,_0x42a1ca[0xe]),_0x57b046=_0x13ee9c(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x2a9fa4,0x16,_0x42a1ca[0xf]),_0x1a8d22=_0x4a02a1(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x584e8d,0x5,_0x42a1ca[0x10]),_0x255101=_0x4a02a1(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x3c8aa2,0x9,_0x42a1ca[0x11]),_0x508c5=_0x4a02a1(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x204db7,0xe,_0x42a1ca[0x12]),_0x57b046=_0x4a02a1(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x41e6d6,0x14,_0x42a1ca[0x13]),_0x1a8d22=_0x4a02a1(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x208ab5,0x5,_0x42a1ca[0x14]),_0x255101=_0x4a02a1(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x12a897,0x9,_0x42a1ca[0x15]),_0x508c5=_0x4a02a1(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x2a9fa4,0xe,_0x42a1ca[0x16]),_0x57b046=_0x4a02a1(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x6bf50d,0x14,_0x42a1ca[0x17]),_0x1a8d22=_0x4a02a1(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x5e6d1a,0x5,_0x42a1ca[0x18]),_0x255101=_0x4a02a1(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0xa36d01,0x9,_0x42a1ca[0x19]),_0x508c5=_0x4a02a1(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0xc9815e,0xe,_0x42a1ca[0x1a]),_0x57b046=_0x4a02a1(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x56f2b1,0x14,_0x42a1ca[0x1b]),_0x1a8d22=_0x4a02a1(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x186208,0x5,_0x42a1ca[0x1c]),_0x255101=_0x4a02a1(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x7d572f,0x9,_0x42a1ca[0x1d]),_0x508c5=_0x4a02a1(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x4a891d,0xe,_0x42a1ca[0x1e]),_0x57b046=_0x4a02a1(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x52102a,0x14,_0x42a1ca[0x1f]),_0x1a8d22=_0x547b64(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x208ab5,0x4,_0x42a1ca[0x20]),_0x255101=_0x547b64(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x56f2b1,0xb,_0x42a1ca[0x21]),_0x508c5=_0x547b64(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x204db7,0x10,_0x42a1ca[0x22]),_0x57b046=_0x547b64(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0xa36d01,0x17,_0x42a1ca[0x23]),_0x1a8d22=_0x547b64(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x584e8d,0x4,_0x42a1ca[0x24]),_0x255101=_0x547b64(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x6bf50d,0xb,_0x42a1ca[0x25]),_0x508c5=_0x547b64(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x4a891d,0x10,_0x42a1ca[0x26]),_0x57b046=_0x547b64(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x12a897,0x17,_0x42a1ca[0x27]),_0x1a8d22=_0x547b64(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x186208,0x4,_0x42a1ca[0x28]),_0x255101=_0x547b64(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x41e6d6,0xb,_0x42a1ca[0x29]),_0x508c5=_0x547b64(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0xc9815e,0x10,_0x42a1ca[0x2a]),_0x57b046=_0x547b64(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x3c8aa2,0x17,_0x42a1ca[0x2b]),_0x1a8d22=_0x547b64(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x5e6d1a,0x4,_0x42a1ca[0x2c]),_0x255101=_0x547b64(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x52102a,0xb,_0x42a1ca[0x2d]),_0x508c5=_0x547b64(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x2a9fa4,0x10,_0x42a1ca[0x2e]),_0x57b046=_0x547b64(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x7d572f,0x17,_0x42a1ca[0x2f]),_0x1a8d22=_0x57d76d(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x41e6d6,0x6,_0x42a1ca[0x30]),_0x255101=_0x57d76d(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x4a891d,0xa,_0x42a1ca[0x31]),_0x508c5=_0x57d76d(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0xa36d01,0xf,_0x42a1ca[0x32]),_0x57b046=_0x57d76d(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x208ab5,0x15,_0x42a1ca[0x33]),_0x1a8d22=_0x57d76d(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x52102a,0x6,_0x42a1ca[0x34]),_0x255101=_0x57d76d(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0xc9815e,0xa,_0x42a1ca[0x35]),_0x508c5=_0x57d76d(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x12a897,0xf,_0x42a1ca[0x36]),_0x57b046=_0x57d76d(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x584e8d,0x15,_0x42a1ca[0x37]),_0x1a8d22=_0x57d76d(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x56f2b1,0x6,_0x42a1ca[0x38]),_0x255101=_0x57d76d(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x2a9fa4,0xa,_0x42a1ca[0x39]),_0x508c5=_0x57d76d(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x3c8aa2,0xf,_0x42a1ca[0x3a]),_0x57b046=_0x57d76d(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x186208,0x15,_0x42a1ca[0x3b]),_0x1a8d22=_0x57d76d(_0x1a8d22,_0x57b046,_0x508c5,_0x255101,_0x6bf50d,0x6,_0x42a1ca[0x3c]),_0x255101=_0x57d76d(_0x255101,_0x1a8d22,_0x57b046,_0x508c5,_0x204db7,0xa,_0x42a1ca[0x3d]),_0x508c5=_0x57d76d(_0x508c5,_0x255101,_0x1a8d22,_0x57b046,_0x7d572f,0xf,_0x42a1ca[0x3e]),_0x57b046=_0x57d76d(_0x57b046,_0x508c5,_0x255101,_0x1a8d22,_0x5e6d1a,0x15,_0x42a1ca[0x3f]),_0x3364cd[0x0]=_0x3364cd[0x0]+_0x1a8d22|0x0,_0x3364cd[0x1]=_0x3364cd[0x1]+_0x57b046|0x0,_0x3364cd[0x2]=_0x3364cd[0x2]+_0x508c5|0x0,_0x3364cd[0x3]=_0x3364cd[0x3]+_0x255101|0x0;},'_doFinalize':function(){var _0x3108a8=_0x39818b,_0x2d3ad3=this[_0x3108a8(0x2ee)],_0x49bba8=_0x2d3ad3[_0x3108a8(0x299)],_0x213de3=this[_0x3108a8(0xe5)]*0x8,_0x1d240c=_0x2d3ad3[_0x3108a8(0x30d)]*0x8;_0x49bba8[_0x1d240c>>>0x5]|=0x80<<0x18-_0x1d240c%0x20;var _0x43a6d1=_0x41b942[_0x3108a8(0x15b)](_0x213de3/0x100000000),_0x181b8f=_0x213de3;_0x49bba8[(_0x1d240c+0x40>>>0x9<<0x4)+0xf]=(_0x43a6d1<<0x8|_0x43a6d1>>>0x18)&0xff00ff|(_0x43a6d1<<0x18|_0x43a6d1>>>0x8)&0xff00ff00,_0x49bba8[(_0x1d240c+0x40>>>0x9<<0x4)+0xe]=(_0x181b8f<<0x8|_0x181b8f>>>0x18)&0xff00ff|(_0x181b8f<<0x18|_0x181b8f>>>0x8)&0xff00ff00,_0x2d3ad3[_0x3108a8(0x30d)]=(_0x49bba8[_0x3108a8(0x2fe)]+0x1)*0x4,this[_0x3108a8(0x353)]();for(var _0x217525=this[_0x3108a8(0x169)],_0x29a7e8=_0x217525[_0x3108a8(0x299)],_0x2dce65=0x0;_0x2dce65<0x4;_0x2dce65++){var _0x3aa5a=_0x29a7e8[_0x2dce65];_0x29a7e8[_0x2dce65]=(_0x3aa5a<<0x8|_0x3aa5a>>>0x18)&0xff00ff|(_0x3aa5a<<0x18|_0x3aa5a>>>0x8)&0xff00ff00;}return _0x217525;},'clone':function(){var _0x16f396=_0x39818b,_0x1f0cf7=_0x33a5d[_0x16f396(0x11e)]['call'](this);return _0x1f0cf7[_0x16f396(0x169)]=this[_0x16f396(0x169)][_0x16f396(0x11e)](),_0x1f0cf7;}});function _0x13ee9c(_0x40976b,_0x5ef164,_0x530d19,_0x45d4cd,_0x22e2a9,_0x6e02b7,_0x25009d){var _0xc24d1b=_0x40976b+(_0x5ef164&_0x530d19|~_0x5ef164&_0x45d4cd)+_0x22e2a9+_0x25009d;return(_0xc24d1b<<_0x6e02b7|_0xc24d1b>>>0x20-_0x6e02b7)+_0x5ef164;}function _0x4a02a1(_0x1e728e,_0x577f9a,_0x388df7,_0x2fee35,_0x14e840,_0x2b098e,_0x5623b3){var _0x176a84=_0x1e728e+(_0x577f9a&_0x2fee35|_0x388df7&~_0x2fee35)+_0x14e840+_0x5623b3;return(_0x176a84<<_0x2b098e|_0x176a84>>>0x20-_0x2b098e)+_0x577f9a;}function _0x547b64(_0x1ebbe9,_0xabbe07,_0x419d0e,_0x205b4e,_0x43c3ac,_0x4debcc,_0x2ab440){var _0x55d38a=_0x1ebbe9+(_0xabbe07^_0x419d0e^_0x205b4e)+_0x43c3ac+_0x2ab440;return(_0x55d38a<<_0x4debcc|_0x55d38a>>>0x20-_0x4debcc)+_0xabbe07;}function _0x57d76d(_0x2e986c,_0x4296c8,_0x8c6d9f,_0x74c2fd,_0x317ea5,_0x3651bf,_0x2230db){var _0x2044c8=_0x2e986c+(_0x8c6d9f^(_0x4296c8|~_0x74c2fd))+_0x317ea5+_0x2230db;return(_0x2044c8<<_0x3651bf|_0x2044c8>>>0x20-_0x3651bf)+_0x4296c8;}_0x173368['MD5']=_0x33a5d[_0x39818b(0x341)](_0x133c81),_0x173368['HmacMD5']=_0x33a5d[_0x39818b(0x1cb)](_0x133c81);}(Math),_0x3e5be3[_0x30ab6c(0xc7)];}));}(Ke)),Ke[_0xd66cd7(0x35d)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe[_0x3aff44(0x35d)],ei;function Rs(){var _0x1a9e7a=_0x3aff44;return ei||(ei=0x1,function(_0x53640e,_0x3bbf60){(function(_0x473b3b,_0xacaab6){var _0x5a0469=_0x79cb;_0x53640e[_0x5a0469(0x35d)]=_0xacaab6(ie());}(Cs,function(_0x26c366){var _0x5ef873=_0x79cb;return(function(){var _0x5efe6e=_0x79cb,_0x55d6f6=_0x26c366,_0x3fa817=_0x55d6f6[_0x5efe6e(0x22e)],_0x2f6720=_0x3fa817['WordArray'],_0x1f2cb8=_0x3fa817[_0x5efe6e(0x11b)],_0x371362=_0x55d6f6['algo'],_0x23ebdf=[],_0x4cafba=_0x371362['SHA1']=_0x1f2cb8[_0x5efe6e(0x32f)]({'_doReset':function(){var _0x28ff21=_0x5efe6e;this[_0x28ff21(0x169)]=new _0x2f6720[(_0x28ff21(0x17e))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x21f59c,_0x3d611d){var _0x5d0ae2=_0x5efe6e;for(var _0x1697fb=this['_hash'][_0x5d0ae2(0x299)],_0x1096af=_0x1697fb[0x0],_0x486f44=_0x1697fb[0x1],_0x47763a=_0x1697fb[0x2],_0x3dd806=_0x1697fb[0x3],_0x56ab8d=_0x1697fb[0x4],_0x538930=0x0;_0x538930<0x50;_0x538930++){if(_0x538930<0x10)_0x23ebdf[_0x538930]=_0x21f59c[_0x3d611d+_0x538930]|0x0;else{var _0x8690bc=_0x23ebdf[_0x538930-0x3]^_0x23ebdf[_0x538930-0x8]^_0x23ebdf[_0x538930-0xe]^_0x23ebdf[_0x538930-0x10];_0x23ebdf[_0x538930]=_0x8690bc<<0x1|_0x8690bc>>>0x1f;}var _0x5e87f8=(_0x1096af<<0x5|_0x1096af>>>0x1b)+_0x56ab8d+_0x23ebdf[_0x538930];_0x538930<0x14?_0x5e87f8+=(_0x486f44&_0x47763a|~_0x486f44&_0x3dd806)+0x5a827999:_0x538930<0x28?_0x5e87f8+=(_0x486f44^_0x47763a^_0x3dd806)+0x6ed9eba1:_0x538930<0x3c?_0x5e87f8+=(_0x486f44&_0x47763a|_0x486f44&_0x3dd806|_0x47763a&_0x3dd806)-0x70e44324:_0x5e87f8+=(_0x486f44^_0x47763a^_0x3dd806)-0x359d3e2a,_0x56ab8d=_0x3dd806,_0x3dd806=_0x47763a,_0x47763a=_0x486f44<<0x1e|_0x486f44>>>0x2,_0x486f44=_0x1096af,_0x1096af=_0x5e87f8;}_0x1697fb[0x0]=_0x1697fb[0x0]+_0x1096af|0x0,_0x1697fb[0x1]=_0x1697fb[0x1]+_0x486f44|0x0,_0x1697fb[0x2]=_0x1697fb[0x2]+_0x47763a|0x0,_0x1697fb[0x3]=_0x1697fb[0x3]+_0x3dd806|0x0,_0x1697fb[0x4]=_0x1697fb[0x4]+_0x56ab8d|0x0;},'_doFinalize':function(){var _0x25f682=_0x5efe6e,_0x43166c=this[_0x25f682(0x2ee)],_0x44a0b9=_0x43166c['words'],_0x357313=this[_0x25f682(0xe5)]*0x8,_0x50185e=_0x43166c['sigBytes']*0x8;return _0x44a0b9[_0x50185e>>>0x5]|=0x80<<0x18-_0x50185e%0x20,_0x44a0b9[(_0x50185e+0x40>>>0x9<<0x4)+0xe]=Math[_0x25f682(0x15b)](_0x357313/0x100000000),_0x44a0b9[(_0x50185e+0x40>>>0x9<<0x4)+0xf]=_0x357313,_0x43166c[_0x25f682(0x30d)]=_0x44a0b9[_0x25f682(0x2fe)]*0x4,this[_0x25f682(0x353)](),this[_0x25f682(0x169)];},'clone':function(){var _0x4925e1=_0x5efe6e,_0x1eba5b=_0x1f2cb8[_0x4925e1(0x11e)]['call'](this);return _0x1eba5b[_0x4925e1(0x169)]=this['_hash'][_0x4925e1(0x11e)](),_0x1eba5b;}});_0x55d6f6[_0x5efe6e(0x17d)]=_0x1f2cb8[_0x5efe6e(0x341)](_0x4cafba),_0x55d6f6[_0x5efe6e(0x302)]=_0x1f2cb8[_0x5efe6e(0x1cb)](_0x4cafba);}()),_0x26c366[_0x5ef873(0x17d)];}));}(qe)),qe[_0x1a9e7a(0x35d)];}var ze={'exports':{}},bs=ze[_0x3aff44(0x35d)],ti;function Os(){var _0x2732dd=_0x3aff44;return ti||(ti=0x1,function(_0x5d4094,_0x20db83){(function(_0x1545a5,_0x29d55a){_0x5d4094['exports']=_0x29d55a(ie());}(bs,function(_0x15dc81){(function(){var _0x205de5=_0x79cb,_0x26a455=_0x15dc81,_0x202dbf=_0x26a455[_0x205de5(0x22e)],_0x4bd12c=_0x202dbf[_0x205de5(0x2f9)],_0x1b8678=_0x26a455['enc'],_0x5a5d05=_0x1b8678[_0x205de5(0xbf)],_0xa12034=_0x26a455[_0x205de5(0x229)];_0xa12034[_0x205de5(0x351)]=_0x4bd12c[_0x205de5(0x32f)]({'init':function(_0x15bbb5,_0x112ce9){var _0x5ec2fd=_0x205de5;_0x15bbb5=this[_0x5ec2fd(0x121)]=new _0x15bbb5[(_0x5ec2fd(0x17e))](),typeof _0x112ce9==_0x5ec2fd(0x34c)&&(_0x112ce9=_0x5a5d05[_0x5ec2fd(0x247)](_0x112ce9));var _0xd5c133=_0x15bbb5[_0x5ec2fd(0xaf)],_0x2d6b4a=_0xd5c133*0x4;_0x112ce9['sigBytes']>_0x2d6b4a&&(_0x112ce9=_0x15bbb5[_0x5ec2fd(0x1ad)](_0x112ce9)),_0x112ce9[_0x5ec2fd(0x2b1)]();for(var _0x105859=this[_0x5ec2fd(0x385)]=_0x112ce9[_0x5ec2fd(0x11e)](),_0x44d4a8=this[_0x5ec2fd(0x2b2)]=_0x112ce9[_0x5ec2fd(0x11e)](),_0x22dfd7=_0x105859[_0x5ec2fd(0x299)],_0x1ddde7=_0x44d4a8[_0x5ec2fd(0x299)],_0x16c7d9=0x0;_0x16c7d9<_0xd5c133;_0x16c7d9++)_0x22dfd7[_0x16c7d9]^=0x5c5c5c5c,_0x1ddde7[_0x16c7d9]^=0x36363636;_0x105859[_0x5ec2fd(0x30d)]=_0x44d4a8[_0x5ec2fd(0x30d)]=_0x2d6b4a,this['reset']();},'reset':function(){var _0x5a3eb5=_0x205de5,_0x48ed19=this['_hasher'];_0x48ed19[_0x5a3eb5(0x352)](),_0x48ed19[_0x5a3eb5(0x182)](this[_0x5a3eb5(0x2b2)]);},'update':function(_0x31e60d){var _0x4b168e=_0x205de5;return this[_0x4b168e(0x121)][_0x4b168e(0x182)](_0x31e60d),this;},'finalize':function(_0x2a2c9a){var _0x2d889b=_0x205de5,_0x35aadf=this['_hasher'],_0x27aa6c=_0x35aadf[_0x2d889b(0x1ad)](_0x2a2c9a);_0x35aadf[_0x2d889b(0x352)]();var _0x3bf682=_0x35aadf['finalize'](this[_0x2d889b(0x385)][_0x2d889b(0x11e)]()['concat'](_0x27aa6c));return _0x3bf682;}});}());}));}(ze)),ze[_0x2732dd(0x35d)];}var ys=Ye[_0x3aff44(0x35d)],ii;function Ui(){var _0x201b36=_0x3aff44;return ii||(ii=0x1,function(_0x47b60b,_0x5adc20){(function(_0x53a69d,_0x18a4dd,_0x34ac6e){_0x47b60b['exports']=_0x18a4dd(ie(),Rs(),Os());}(ys,function(_0x2877bf){return(function(){var _0xfca303=_0x79cb,_0xb4ce60=_0x2877bf,_0x22bcef=_0xb4ce60['lib'],_0x3f5e0b=_0x22bcef[_0xfca303(0x2f9)],_0x5ab84d=_0x22bcef[_0xfca303(0x348)],_0x405db3=_0xb4ce60[_0xfca303(0x229)],_0x2c2da7=_0x405db3[_0xfca303(0xc7)],_0x50a85a=_0x405db3[_0xfca303(0x25a)]=_0x3f5e0b[_0xfca303(0x32f)]({'cfg':_0x3f5e0b[_0xfca303(0x32f)]({'keySize':0x80/0x20,'hasher':_0x2c2da7,'iterations':0x1}),'init':function(_0x3b2f5e){var _0x2a68a6=_0xfca303;this['cfg']=this[_0x2a68a6(0x301)][_0x2a68a6(0x32f)](_0x3b2f5e);},'compute':function(_0x481550,_0x297691){var _0x339b1d=_0xfca303;for(var _0x2cd2c0,_0x592249=this['cfg'],_0x46f16e=_0x592249[_0x339b1d(0x23b)]['create'](),_0x58c204=_0x5ab84d[_0x339b1d(0x194)](),_0xf30569=_0x58c204[_0x339b1d(0x299)],_0x3d6907=_0x592249[_0x339b1d(0x279)],_0x2c3c84=_0x592249['iterations'];_0xf30569[_0x339b1d(0x2fe)]<_0x3d6907;){_0x2cd2c0&&_0x46f16e[_0x339b1d(0x182)](_0x2cd2c0),_0x2cd2c0=_0x46f16e[_0x339b1d(0x182)](_0x481550)[_0x339b1d(0x1ad)](_0x297691),_0x46f16e[_0x339b1d(0x352)]();for(var _0x12c7d7=0x1;_0x12c7d7<_0x2c3c84;_0x12c7d7++)_0x2cd2c0=_0x46f16e[_0x339b1d(0x1ad)](_0x2cd2c0),_0x46f16e[_0x339b1d(0x352)]();_0x58c204[_0x339b1d(0x333)](_0x2cd2c0);}return _0x58c204[_0x339b1d(0x30d)]=_0x3d6907*0x4,_0x58c204;}});_0xb4ce60[_0xfca303(0x25a)]=function(_0x16e0c6,_0x3d31f4,_0x3aa43f){var _0x431d23=_0xfca303;return _0x50a85a[_0x431d23(0x194)](_0x3aa43f)[_0x431d23(0x29e)](_0x16e0c6,_0x3d31f4);};}()),_0x2877bf['EvpKDF'];}));}(Ye)),Ye[_0x201b36(0x35d)];}var Je={'exports':{}},Ns=Je[_0x3aff44(0x35d)],ni;function Ai(){return ni||(ni=0x1,function(_0x273009,_0x96989){(function(_0x55db62,_0x42b18d,_0xbc88d6){var _0x4639ad=_0x79cb;_0x273009[_0x4639ad(0x35d)]=_0x42b18d(ie(),Ui());}(Ns,function(_0xbbb686){var _0x183c08=_0x79cb;_0xbbb686[_0x183c08(0x22e)][_0x183c08(0x377)]||function(_0x2a1d26){var _0x1b1269=_0x183c08,_0x53e5d6=_0xbbb686,_0x5433d3=_0x53e5d6[_0x1b1269(0x22e)],_0x3d267c=_0x5433d3[_0x1b1269(0x2f9)],_0xa02cff=_0x5433d3[_0x1b1269(0x348)],_0x36362c=_0x5433d3['BufferedBlockAlgorithm'],_0x1f2027=_0x53e5d6[_0x1b1269(0x26e)];_0x1f2027[_0x1b1269(0xbf)];var _0x4f837e=_0x1f2027[_0x1b1269(0x354)],_0x337fef=_0x53e5d6[_0x1b1269(0x229)],_0x555d52=_0x337fef[_0x1b1269(0x25a)],_0x34927a=_0x5433d3['Cipher']=_0x36362c[_0x1b1269(0x32f)]({'cfg':_0x3d267c[_0x1b1269(0x32f)](),'createEncryptor':function(_0xd239a6,_0x2ee158){var _0x5bc0c0=_0x1b1269;return this[_0x5bc0c0(0x194)](this[_0x5bc0c0(0x2a2)],_0xd239a6,_0x2ee158);},'createDecryptor':function(_0x46246b,_0x58306d){var _0x5da760=_0x1b1269;return this[_0x5da760(0x194)](this[_0x5da760(0x2a4)],_0x46246b,_0x58306d);},'init':function(_0x237551,_0x34baf6,_0x4e7b96){var _0x39cf12=_0x1b1269;this['cfg']=this[_0x39cf12(0x301)][_0x39cf12(0x32f)](_0x4e7b96),this['_xformMode']=_0x237551,this[_0x39cf12(0xd4)]=_0x34baf6,this[_0x39cf12(0x352)]();},'reset':function(){var _0x1fb435=_0x1b1269;_0x36362c[_0x1fb435(0x352)][_0x1fb435(0x108)](this),this['_doReset']();},'process':function(_0x567b13){var _0x1d5a00=_0x1b1269;return this[_0x1d5a00(0x145)](_0x567b13),this[_0x1d5a00(0x353)]();},'finalize':function(_0xebdacb){var _0x460dfa=_0x1b1269;_0xebdacb&&this[_0x460dfa(0x145)](_0xebdacb);var _0x350600=this[_0x460dfa(0xca)]();return _0x350600;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x3f5f1b(_0x519bed){var _0x5753ab=_0x79cb;return typeof _0x519bed==_0x5753ab(0x34c)?_0x59e133:_0x304f78;}return function(_0x1552d3){return{'encrypt':function(_0xfb658,_0x54de2f,_0x23cfb5){var _0x362049=_0x79cb;return _0x3f5f1b(_0x54de2f)[_0x362049(0xc6)](_0x1552d3,_0xfb658,_0x54de2f,_0x23cfb5);},'decrypt':function(_0x187f37,_0x548077,_0x2ab564){var _0xabdf53=_0x79cb;return _0x3f5f1b(_0x548077)[_0xabdf53(0x20c)](_0x1552d3,_0x187f37,_0x548077,_0x2ab564);}};};}())});_0x5433d3['StreamCipher']=_0x34927a['extend']({'_doFinalize':function(){var _0x418512=this['_process'](!0x0);return _0x418512;},'blockSize':0x1});var _0xb07c20=_0x53e5d6[_0x1b1269(0x22d)]={},_0x1563b5=_0x5433d3[_0x1b1269(0x149)]=_0x3d267c[_0x1b1269(0x32f)]({'createEncryptor':function(_0x550014,_0x2e52be){var _0x2bcf31=_0x1b1269;return this['Encryptor'][_0x2bcf31(0x194)](_0x550014,_0x2e52be);},'createDecryptor':function(_0x438c33,_0x4f28ce){var _0x518615=_0x1b1269;return this[_0x518615(0x19e)]['create'](_0x438c33,_0x4f28ce);},'init':function(_0x4caf87,_0x1d5dbf){this['_cipher']=_0x4caf87,this['_iv']=_0x1d5dbf;}}),_0x538977=_0xb07c20[_0x1b1269(0x36d)]=(function(){var _0x1ef97e=_0x1b1269,_0x3b235e=_0x1563b5[_0x1ef97e(0x32f)]();_0x3b235e['Encryptor']=_0x3b235e['extend']({'processBlock':function(_0x1381ad,_0x8dbc76){var _0x2ec599=_0x1ef97e,_0x40dc52=this[_0x2ec599(0x1cf)],_0x4ba686=_0x40dc52['blockSize'];_0xa6fc3e[_0x2ec599(0x108)](this,_0x1381ad,_0x8dbc76,_0x4ba686),_0x40dc52['encryptBlock'](_0x1381ad,_0x8dbc76),this[_0x2ec599(0x24b)]=_0x1381ad[_0x2ec599(0x38d)](_0x8dbc76,_0x8dbc76+_0x4ba686);}}),_0x3b235e[_0x1ef97e(0x19e)]=_0x3b235e[_0x1ef97e(0x32f)]({'processBlock':function(_0x4a496b,_0x414780){var _0x1d1256=_0x1ef97e,_0x1899d1=this[_0x1d1256(0x1cf)],_0x4c2abf=_0x1899d1[_0x1d1256(0xaf)],_0x234225=_0x4a496b[_0x1d1256(0x38d)](_0x414780,_0x414780+_0x4c2abf);_0x1899d1['decryptBlock'](_0x4a496b,_0x414780),_0xa6fc3e[_0x1d1256(0x108)](this,_0x4a496b,_0x414780,_0x4c2abf),this['_prevBlock']=_0x234225;}});function _0xa6fc3e(_0x4880b0,_0x4e3732,_0x5c8e86){var _0x31c9c5=_0x1ef97e,_0x236955,_0x2b4622=this[_0x31c9c5(0x28d)];_0x2b4622?(_0x236955=_0x2b4622,this['_iv']=_0x2a1d26):_0x236955=this['_prevBlock'];for(var _0x51020a=0x0;_0x51020a<_0x5c8e86;_0x51020a++)_0x4880b0[_0x4e3732+_0x51020a]^=_0x236955[_0x51020a];}return _0x3b235e;}()),_0x39b5f2=_0x53e5d6[_0x1b1269(0xf5)]={},_0x9dee6d=_0x39b5f2['Pkcs7']={'pad':function(_0x5297f4,_0x88f2ed){var _0x1b1a43=_0x1b1269;for(var _0x61c10d=_0x88f2ed*0x4,_0x28736d=_0x61c10d-_0x5297f4['sigBytes']%_0x61c10d,_0x5b228b=_0x28736d<<0x18|_0x28736d<<0x10|_0x28736d<<0x8|_0x28736d,_0x513540=[],_0x32076a=0x0;_0x32076a<_0x28736d;_0x32076a+=0x4)_0x513540[_0x1b1a43(0x31b)](_0x5b228b);var _0x13292b=_0xa02cff[_0x1b1a43(0x194)](_0x513540,_0x28736d);_0x5297f4[_0x1b1a43(0x333)](_0x13292b);},'unpad':function(_0x18d5b8){var _0x4fcb6a=_0x1b1269,_0x5b93c4=_0x18d5b8[_0x4fcb6a(0x299)][_0x18d5b8['sigBytes']-0x1>>>0x2]&0xff;_0x18d5b8[_0x4fcb6a(0x30d)]-=_0x5b93c4;}};_0x5433d3[_0x1b1269(0x221)]=_0x34927a[_0x1b1269(0x32f)]({'cfg':_0x34927a[_0x1b1269(0x301)][_0x1b1269(0x32f)]({'mode':_0x538977,'padding':_0x9dee6d}),'reset':function(){var _0x1a1da8=_0x1b1269,_0x57de4f;_0x34927a[_0x1a1da8(0x352)][_0x1a1da8(0x108)](this);var _0x3a27ed=this[_0x1a1da8(0x301)],_0x4914a5=_0x3a27ed['iv'],_0x94808d=_0x3a27ed['mode'];this['_xformMode']==this[_0x1a1da8(0x2a2)]?_0x57de4f=_0x94808d[_0x1a1da8(0x37e)]:(_0x57de4f=_0x94808d[_0x1a1da8(0xa8)],this[_0x1a1da8(0xe1)]=0x1),this[_0x1a1da8(0x320)]&&this['_mode']['__creator']==_0x57de4f?this['_mode'][_0x1a1da8(0x17e)](this,_0x4914a5&&_0x4914a5[_0x1a1da8(0x299)]):(this[_0x1a1da8(0x320)]=_0x57de4f[_0x1a1da8(0x108)](_0x94808d,this,_0x4914a5&&_0x4914a5['words']),this['_mode']['__creator']=_0x57de4f);},'_doProcessBlock':function(_0x2fc652,_0x43cd94){var _0x214296=_0x1b1269;this[_0x214296(0x320)][_0x214296(0x246)](_0x2fc652,_0x43cd94);},'_doFinalize':function(){var _0x48415e=_0x1b1269,_0x2d0c76,_0x1a4a42=this[_0x48415e(0x301)][_0x48415e(0x2a3)];return this[_0x48415e(0x236)]==this[_0x48415e(0x2a2)]?(_0x1a4a42[_0x48415e(0xf5)](this[_0x48415e(0x2ee)],this[_0x48415e(0xaf)]),_0x2d0c76=this[_0x48415e(0x353)](!0x0)):(_0x2d0c76=this[_0x48415e(0x353)](!0x0),_0x1a4a42[_0x48415e(0x2ab)](_0x2d0c76)),_0x2d0c76;},'blockSize':0x80/0x20});var _0xf6fb5=_0x5433d3[_0x1b1269(0x384)]=_0x3d267c[_0x1b1269(0x32f)]({'init':function(_0x13cbb4){var _0x15b4df=_0x1b1269;this[_0x15b4df(0x291)](_0x13cbb4);},'toString':function(_0x50d9b0){var _0x6cdd24=_0x1b1269;return(_0x50d9b0||this['formatter'])[_0x6cdd24(0x258)](this);}}),_0x25e5bc=_0x53e5d6[_0x1b1269(0x201)]={},_0x3b2e28=_0x25e5bc[_0x1b1269(0x251)]={'stringify':function(_0x52f796){var _0x3d94c0=_0x1b1269,_0x23d993,_0x2bd376=_0x52f796[_0x3d94c0(0x2f8)],_0x45ece2=_0x52f796[_0x3d94c0(0x34a)];return _0x45ece2?_0x23d993=_0xa02cff[_0x3d94c0(0x194)]([0x53616c74,0x65645f5f])[_0x3d94c0(0x333)](_0x45ece2)[_0x3d94c0(0x333)](_0x2bd376):_0x23d993=_0x2bd376,_0x23d993[_0x3d94c0(0x2c2)](_0x4f837e);},'parse':function(_0x3bf0d4){var _0x2b70ec=_0x1b1269,_0x37597c,_0x3e085d=_0x4f837e[_0x2b70ec(0x247)](_0x3bf0d4),_0x4e2ece=_0x3e085d[_0x2b70ec(0x299)];return _0x4e2ece[0x0]==0x53616c74&&_0x4e2ece[0x1]==0x65645f5f&&(_0x37597c=_0xa02cff[_0x2b70ec(0x194)](_0x4e2ece[_0x2b70ec(0x38d)](0x2,0x4)),_0x4e2ece['splice'](0x0,0x4),_0x3e085d[_0x2b70ec(0x30d)]-=0x10),_0xf6fb5[_0x2b70ec(0x194)]({'ciphertext':_0x3e085d,'salt':_0x37597c});}},_0x304f78=_0x5433d3[_0x1b1269(0x13c)]=_0x3d267c['extend']({'cfg':_0x3d267c[_0x1b1269(0x32f)]({'format':_0x3b2e28}),'encrypt':function(_0x837f95,_0x4b8e91,_0x251f7e,_0x4f718f){var _0xa420fe=_0x1b1269;_0x4f718f=this[_0xa420fe(0x301)][_0xa420fe(0x32f)](_0x4f718f);var _0x479d6f=_0x837f95[_0xa420fe(0x37e)](_0x251f7e,_0x4f718f),_0x1af7cf=_0x479d6f[_0xa420fe(0x1ad)](_0x4b8e91),_0x59d807=_0x479d6f[_0xa420fe(0x301)];return _0xf6fb5[_0xa420fe(0x194)]({'ciphertext':_0x1af7cf,'key':_0x251f7e,'iv':_0x59d807['iv'],'algorithm':_0x837f95,'mode':_0x59d807['mode'],'padding':_0x59d807['padding'],'blockSize':_0x837f95[_0xa420fe(0xaf)],'formatter':_0x4f718f['format']});},'decrypt':function(_0x3eb457,_0x1fcf48,_0x4cf4d7,_0x3d474a){var _0x428834=_0x1b1269;_0x3d474a=this[_0x428834(0x301)]['extend'](_0x3d474a),_0x1fcf48=this[_0x428834(0x2f1)](_0x1fcf48,_0x3d474a['format']);var _0x2196b2=_0x3eb457['createDecryptor'](_0x4cf4d7,_0x3d474a)[_0x428834(0x1ad)](_0x1fcf48[_0x428834(0x2f8)]);return _0x2196b2;},'_parse':function(_0x40ed20,_0x564551){var _0x4f4ee8=_0x1b1269;return typeof _0x40ed20=='string'?_0x564551[_0x4f4ee8(0x247)](_0x40ed20,this):_0x40ed20;}}),_0x545ede=_0x53e5d6['kdf']={},_0x5d63c9=_0x545ede[_0x1b1269(0x251)]={'execute':function(_0x5683d8,_0x3d879c,_0x2d4721,_0x47eee6,_0x4918b7){var _0x4290b5=_0x1b1269;if(_0x47eee6||(_0x47eee6=_0xa02cff[_0x4290b5(0x358)](0x40/0x8)),_0x4918b7)var _0x6f24b7=_0x555d52[_0x4290b5(0x194)]({'keySize':_0x3d879c+_0x2d4721,'hasher':_0x4918b7})[_0x4290b5(0x29e)](_0x5683d8,_0x47eee6);else var _0x6f24b7=_0x555d52[_0x4290b5(0x194)]({'keySize':_0x3d879c+_0x2d4721})[_0x4290b5(0x29e)](_0x5683d8,_0x47eee6);var _0x53ac9b=_0xa02cff['create'](_0x6f24b7['words'][_0x4290b5(0x38d)](_0x3d879c),_0x2d4721*0x4);return _0x6f24b7[_0x4290b5(0x30d)]=_0x3d879c*0x4,_0xf6fb5[_0x4290b5(0x194)]({'key':_0x6f24b7,'iv':_0x53ac9b,'salt':_0x47eee6});}},_0x59e133=_0x5433d3[_0x1b1269(0x366)]=_0x304f78[_0x1b1269(0x32f)]({'cfg':_0x304f78[_0x1b1269(0x301)][_0x1b1269(0x32f)]({'kdf':_0x5d63c9}),'encrypt':function(_0x83f0c5,_0x5de88d,_0x5ead59,_0x2d9b3e){var _0x3cb4a5=_0x1b1269;_0x2d9b3e=this['cfg']['extend'](_0x2d9b3e);var _0x21c8dc=_0x2d9b3e['kdf']['execute'](_0x5ead59,_0x83f0c5[_0x3cb4a5(0x279)],_0x83f0c5[_0x3cb4a5(0x2cb)],_0x2d9b3e[_0x3cb4a5(0x34a)],_0x2d9b3e[_0x3cb4a5(0x23b)]);_0x2d9b3e['iv']=_0x21c8dc['iv'];var _0x4ccade=_0x304f78[_0x3cb4a5(0xc6)]['call'](this,_0x83f0c5,_0x5de88d,_0x21c8dc['key'],_0x2d9b3e);return _0x4ccade[_0x3cb4a5(0x291)](_0x21c8dc),_0x4ccade;},'decrypt':function(_0x2c7c97,_0x2153c4,_0x63bc19,_0x4c52ff){var _0x375d2b=_0x1b1269;_0x4c52ff=this[_0x375d2b(0x301)][_0x375d2b(0x32f)](_0x4c52ff),_0x2153c4=this[_0x375d2b(0x2f1)](_0x2153c4,_0x4c52ff[_0x375d2b(0x201)]);var _0x189e23=_0x4c52ff[_0x375d2b(0x24d)][_0x375d2b(0xad)](_0x63bc19,_0x2c7c97[_0x375d2b(0x279)],_0x2c7c97['ivSize'],_0x2153c4['salt'],_0x4c52ff[_0x375d2b(0x23b)]);_0x4c52ff['iv']=_0x189e23['iv'];var _0x33e6de=_0x304f78[_0x375d2b(0x20c)][_0x375d2b(0x108)](this,_0x2c7c97,_0x2153c4,_0x189e23[_0x375d2b(0x249)],_0x4c52ff);return _0x33e6de;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x3aff44(0x35d)],si;function Us(){var _0x22b461=_0x3aff44;return si||(si=0x1,function(_0xd240fd,_0x1c6639){(function(_0x2fec1b,_0x442185,_0xe18ffd){var _0x580d2a=_0x79cb;_0xd240fd[_0x580d2a(0x35d)]=_0x442185(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x4f4358){return(function(){var _0xbf9116=_0x79cb,_0xadbbb3=_0x4f4358,_0x50c33a=_0xadbbb3[_0xbf9116(0x22e)],_0x581ca2=_0x50c33a[_0xbf9116(0x221)],_0x48cf28=_0xadbbb3[_0xbf9116(0x229)],_0x392744=[],_0x30f4e9=[],_0x1f4773=[],_0x3c7ba8=[],_0x209f1e=[],_0x411647=[],_0x1d62fd=[],_0x235903=[],_0x277b73=[],_0x126249=[];(function(){for(var _0xd15092=[],_0x4c2cc6=0x0;_0x4c2cc6<0x100;_0x4c2cc6++)_0x4c2cc6<0x80?_0xd15092[_0x4c2cc6]=_0x4c2cc6<<0x1:_0xd15092[_0x4c2cc6]=_0x4c2cc6<<0x1^0x11b;for(var _0x4d919e=0x0,_0x16b400=0x0,_0x4c2cc6=0x0;_0x4c2cc6<0x100;_0x4c2cc6++){var _0x1400ef=_0x16b400^_0x16b400<<0x1^_0x16b400<<0x2^_0x16b400<<0x3^_0x16b400<<0x4;_0x1400ef=_0x1400ef>>>0x8^_0x1400ef&0xff^0x63,_0x392744[_0x4d919e]=_0x1400ef,_0x30f4e9[_0x1400ef]=_0x4d919e;var _0x217eec=_0xd15092[_0x4d919e],_0x3f4ccb=_0xd15092[_0x217eec],_0x256505=_0xd15092[_0x3f4ccb],_0x5781e4=_0xd15092[_0x1400ef]*0x101^_0x1400ef*0x1010100;_0x1f4773[_0x4d919e]=_0x5781e4<<0x18|_0x5781e4>>>0x8,_0x3c7ba8[_0x4d919e]=_0x5781e4<<0x10|_0x5781e4>>>0x10,_0x209f1e[_0x4d919e]=_0x5781e4<<0x8|_0x5781e4>>>0x18,_0x411647[_0x4d919e]=_0x5781e4;var _0x5781e4=_0x256505*0x1010101^_0x3f4ccb*0x10001^_0x217eec*0x101^_0x4d919e*0x1010100;_0x1d62fd[_0x1400ef]=_0x5781e4<<0x18|_0x5781e4>>>0x8,_0x235903[_0x1400ef]=_0x5781e4<<0x10|_0x5781e4>>>0x10,_0x277b73[_0x1400ef]=_0x5781e4<<0x8|_0x5781e4>>>0x18,_0x126249[_0x1400ef]=_0x5781e4,_0x4d919e?(_0x4d919e=_0x217eec^_0xd15092[_0xd15092[_0xd15092[_0x256505^_0x217eec]]],_0x16b400^=_0xd15092[_0xd15092[_0x16b400]]):_0x4d919e=_0x16b400=0x1;}}());var _0x174300=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2e5964=_0x48cf28[_0xbf9116(0x18a)]=_0x581ca2['extend']({'_doReset':function(){var _0x9bd90d=_0xbf9116,_0x2acba8;if(!(this[_0x9bd90d(0x272)]&&this[_0x9bd90d(0x8f)]===this[_0x9bd90d(0xd4)])){for(var _0x493bcd=this[_0x9bd90d(0x8f)]=this[_0x9bd90d(0xd4)],_0x1a5369=_0x493bcd[_0x9bd90d(0x299)],_0x3ad1b0=_0x493bcd[_0x9bd90d(0x30d)]/0x4,_0x366754=this[_0x9bd90d(0x272)]=_0x3ad1b0+0x6,_0x1003b7=(_0x366754+0x1)*0x4,_0x5f17a5=this['_keySchedule']=[],_0x1d0b01=0x0;_0x1d0b01<_0x1003b7;_0x1d0b01++)_0x1d0b01<_0x3ad1b0?_0x5f17a5[_0x1d0b01]=_0x1a5369[_0x1d0b01]:(_0x2acba8=_0x5f17a5[_0x1d0b01-0x1],_0x1d0b01%_0x3ad1b0?_0x3ad1b0>0x6&&_0x1d0b01%_0x3ad1b0==0x4&&(_0x2acba8=_0x392744[_0x2acba8>>>0x18]<<0x18|_0x392744[_0x2acba8>>>0x10&0xff]<<0x10|_0x392744[_0x2acba8>>>0x8&0xff]<<0x8|_0x392744[_0x2acba8&0xff]):(_0x2acba8=_0x2acba8<<0x8|_0x2acba8>>>0x18,_0x2acba8=_0x392744[_0x2acba8>>>0x18]<<0x18|_0x392744[_0x2acba8>>>0x10&0xff]<<0x10|_0x392744[_0x2acba8>>>0x8&0xff]<<0x8|_0x392744[_0x2acba8&0xff],_0x2acba8^=_0x174300[_0x1d0b01/_0x3ad1b0|0x0]<<0x18),_0x5f17a5[_0x1d0b01]=_0x5f17a5[_0x1d0b01-_0x3ad1b0]^_0x2acba8);for(var _0x39b2fe=this[_0x9bd90d(0x2bc)]=[],_0x49cc06=0x0;_0x49cc06<_0x1003b7;_0x49cc06++){var _0x1d0b01=_0x1003b7-_0x49cc06;if(_0x49cc06%0x4)var _0x2acba8=_0x5f17a5[_0x1d0b01];else var _0x2acba8=_0x5f17a5[_0x1d0b01-0x4];_0x49cc06<0x4||_0x1d0b01<=0x4?_0x39b2fe[_0x49cc06]=_0x2acba8:_0x39b2fe[_0x49cc06]=_0x1d62fd[_0x392744[_0x2acba8>>>0x18]]^_0x235903[_0x392744[_0x2acba8>>>0x10&0xff]]^_0x277b73[_0x392744[_0x2acba8>>>0x8&0xff]]^_0x126249[_0x392744[_0x2acba8&0xff]];}}},'encryptBlock':function(_0x3ba825,_0x4e6941){var _0x1299f8=_0xbf9116;this[_0x1299f8(0x30c)](_0x3ba825,_0x4e6941,this[_0x1299f8(0x212)],_0x1f4773,_0x3c7ba8,_0x209f1e,_0x411647,_0x392744);},'decryptBlock':function(_0x42429b,_0x1dd431){var _0x3e3a73=_0xbf9116,_0x927eec=_0x42429b[_0x1dd431+0x1];_0x42429b[_0x1dd431+0x1]=_0x42429b[_0x1dd431+0x3],_0x42429b[_0x1dd431+0x3]=_0x927eec,this[_0x3e3a73(0x30c)](_0x42429b,_0x1dd431,this[_0x3e3a73(0x2bc)],_0x1d62fd,_0x235903,_0x277b73,_0x126249,_0x30f4e9);var _0x927eec=_0x42429b[_0x1dd431+0x1];_0x42429b[_0x1dd431+0x1]=_0x42429b[_0x1dd431+0x3],_0x42429b[_0x1dd431+0x3]=_0x927eec;},'_doCryptBlock':function(_0x5b1daa,_0x2cdbff,_0x24c122,_0x4af6b4,_0x1232d5,_0x5c8709,_0x4ab2d6,_0x3a85e2){var _0x29cea0=_0xbf9116;for(var _0x50b488=this[_0x29cea0(0x272)],_0x2d45dd=_0x5b1daa[_0x2cdbff]^_0x24c122[0x0],_0x19c278=_0x5b1daa[_0x2cdbff+0x1]^_0x24c122[0x1],_0x354601=_0x5b1daa[_0x2cdbff+0x2]^_0x24c122[0x2],_0x3f1dd3=_0x5b1daa[_0x2cdbff+0x3]^_0x24c122[0x3],_0x291879=0x4,_0x500527=0x1;_0x500527<_0x50b488;_0x500527++){var _0x8aaa3=_0x4af6b4[_0x2d45dd>>>0x18]^_0x1232d5[_0x19c278>>>0x10&0xff]^_0x5c8709[_0x354601>>>0x8&0xff]^_0x4ab2d6[_0x3f1dd3&0xff]^_0x24c122[_0x291879++],_0x33a910=_0x4af6b4[_0x19c278>>>0x18]^_0x1232d5[_0x354601>>>0x10&0xff]^_0x5c8709[_0x3f1dd3>>>0x8&0xff]^_0x4ab2d6[_0x2d45dd&0xff]^_0x24c122[_0x291879++],_0x3826b8=_0x4af6b4[_0x354601>>>0x18]^_0x1232d5[_0x3f1dd3>>>0x10&0xff]^_0x5c8709[_0x2d45dd>>>0x8&0xff]^_0x4ab2d6[_0x19c278&0xff]^_0x24c122[_0x291879++],_0x57276d=_0x4af6b4[_0x3f1dd3>>>0x18]^_0x1232d5[_0x2d45dd>>>0x10&0xff]^_0x5c8709[_0x19c278>>>0x8&0xff]^_0x4ab2d6[_0x354601&0xff]^_0x24c122[_0x291879++];_0x2d45dd=_0x8aaa3,_0x19c278=_0x33a910,_0x354601=_0x3826b8,_0x3f1dd3=_0x57276d;}var _0x8aaa3=(_0x3a85e2[_0x2d45dd>>>0x18]<<0x18|_0x3a85e2[_0x19c278>>>0x10&0xff]<<0x10|_0x3a85e2[_0x354601>>>0x8&0xff]<<0x8|_0x3a85e2[_0x3f1dd3&0xff])^_0x24c122[_0x291879++],_0x33a910=(_0x3a85e2[_0x19c278>>>0x18]<<0x18|_0x3a85e2[_0x354601>>>0x10&0xff]<<0x10|_0x3a85e2[_0x3f1dd3>>>0x8&0xff]<<0x8|_0x3a85e2[_0x2d45dd&0xff])^_0x24c122[_0x291879++],_0x3826b8=(_0x3a85e2[_0x354601>>>0x18]<<0x18|_0x3a85e2[_0x3f1dd3>>>0x10&0xff]<<0x10|_0x3a85e2[_0x2d45dd>>>0x8&0xff]<<0x8|_0x3a85e2[_0x19c278&0xff])^_0x24c122[_0x291879++],_0x57276d=(_0x3a85e2[_0x3f1dd3>>>0x18]<<0x18|_0x3a85e2[_0x2d45dd>>>0x10&0xff]<<0x10|_0x3a85e2[_0x19c278>>>0x8&0xff]<<0x8|_0x3a85e2[_0x354601&0xff])^_0x24c122[_0x291879++];_0x5b1daa[_0x2cdbff]=_0x8aaa3,_0x5b1daa[_0x2cdbff+0x1]=_0x33a910,_0x5b1daa[_0x2cdbff+0x2]=_0x3826b8,_0x5b1daa[_0x2cdbff+0x3]=_0x57276d;},'keySize':0x100/0x20});_0xadbbb3['AES']=_0x581ca2[_0xbf9116(0x341)](_0x2e5964);}()),_0x4f4358['AES'];}));}(Ve)),Ve[_0x22b461(0x35d)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe['exports'],ai;function xs(){var _0x118acb=_0x3aff44;return ai||(ai=0x1,function(_0x308775,_0x21b3a6){(function(_0x35cfbd,_0x5cb4fb){var _0x5b89b2=_0x79cb;_0x308775[_0x5b89b2(0x35d)]=_0x5cb4fb(ie());}(Ls,function(_0x44fa41){var _0x2d6747=_0x79cb;return _0x44fa41[_0x2d6747(0x26e)][_0x2d6747(0xbf)];}));}(Xe)),Xe[_0x118acb(0x35d)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x3aff44(0x35d)],oi;function Hs(){return oi||(oi=0x1,function(_0x1565bf,_0x4ff35e){(function(_0x54abb0,_0x241222){var _0x1219d7=_0x79cb;_0x1565bf[_0x1219d7(0x35d)]=_0x241222(ie());}($s,function(_0x3b3f3d){var _0x4c4800=_0x79cb;return(function(){var _0x5ed122=_0x79cb;if(typeof ArrayBuffer==_0x5ed122(0xae)){var _0x195fc1=_0x3b3f3d,_0x48a1ec=_0x195fc1[_0x5ed122(0x22e)],_0x2accc1=_0x48a1ec[_0x5ed122(0x348)],_0x487c43=_0x2accc1[_0x5ed122(0x17e)],_0x88565d=_0x2accc1[_0x5ed122(0x17e)]=function(_0x7e7677){var _0x1428d3=_0x5ed122;if(_0x7e7677 instanceof ArrayBuffer&&(_0x7e7677=new Uint8Array(_0x7e7677)),(_0x7e7677 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x7e7677 instanceof Uint8ClampedArray||_0x7e7677 instanceof Int16Array||_0x7e7677 instanceof Uint16Array||_0x7e7677 instanceof Int32Array||_0x7e7677 instanceof Uint32Array||_0x7e7677 instanceof Float32Array||_0x7e7677 instanceof Float64Array)&&(_0x7e7677=new Uint8Array(_0x7e7677[_0x1428d3(0x28f)],_0x7e7677[_0x1428d3(0x32e)],_0x7e7677[_0x1428d3(0x32b)])),_0x7e7677 instanceof Uint8Array){for(var _0x2fad28=_0x7e7677[_0x1428d3(0x32b)],_0x8a667d=[],_0x4d6dd8=0x0;_0x4d6dd8<_0x2fad28;_0x4d6dd8++)_0x8a667d[_0x4d6dd8>>>0x2]|=_0x7e7677[_0x4d6dd8]<<0x18-_0x4d6dd8%0x4*0x8;_0x487c43[_0x1428d3(0x108)](this,_0x8a667d,_0x2fad28);}else _0x487c43[_0x1428d3(0x13e)](this,arguments);};_0x88565d[_0x5ed122(0x15f)]=_0x2accc1;}}()),_0x3b3f3d['lib'][_0x4c4800(0x348)];}));}(Ze)),Ze['exports'];}function _0x2aa7(){var _0x3327e1=['COMPLETION_FINISHED','body','onTransformIME','awaiting_with_pending','avatar','socket\x20close','_transformStack','_exhaustRemoteChangesetQueue','splice','_imageSourceCache','_doCreateSocket','equals','origin','_unlockTransition','_collaborationTimeoutTimer','_createInitialState','[CollaborationSessionService]','override','default','submit\x20changeset\x20error!','_shouldReportTelemetry','charCodeAt','localCacheService','_tryEnsureSocket','_tryReconnect','unitId','_updateStatus','crypto','format','getOwnPropertyDescriptor','defineProperty','reqId','asObservable','[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.','_doReset','HEARTBEAT','saveSheetBlock','params','/object','decrypt','editing\x20status\x20changed\x20to','from','POST','INVALID_ARGUMENT','createSocket','_keySchedule','objectID','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','fromCharCode','PSEUDO_FETCH_MISSING_RESULT','FileId','session.room-full','_executeRemoteChangeset','getCollabEntity$','createInstance','_retryConnectingTimer','10363576NJfKxA','\x20in\x20_schedule.','uniscriptRunEvent','FETCH_MISSING','BlockCipher','_localCacheService','generateRandomId','updateMember','bind','_transformUndoredo','_getAPIPrefixPath','_instanceService','algo','getCollabEntity','\x0aAfter:\x20','loadSheet','mode','lib','updateOfflineData','NEW_CHANGESETS','resourceIDs','getResourcesRequest','_onOffline','fetching\x20missing\x20changesets\x20from\x20','interceptor','_xformMode','GLOBAL_ROOMS_CNT_EXCEEDS','INVALID_INVITE_CODE','localeService','getSheetId','hasher','univer-pro.collaboration-client-socket-service','unsubscribe','YUUMI_UNABLE_LOAD_URL','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Univer','onRemoteAck','_config','_sendHeartbeatTimer','min','OTHER_CLIENT_EDITING','processBlock','parse','encode','key','NO_OTHER_CLIENTS_EDITING','_prevBlock','state$','kdf','_status$','CHANGESET_SHOULD_RETRY','SOCKET_FAILED','OpenSSL','changesets','replace','/universer-api/snapshot','stopTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NOT_COLLAB','stringify','_changesetSessionId','EvpKDF','range','shouldCloseConn','_substituteUndoStack','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','collaboration-client.local-cache-service','_clearLocalCache','_userManagerService','unitID','SUBMIT_CHANGESET','routeKey','YUUMI_ASYNCIO_CANCELLED','/universer-api/stream/file/upload','join','_univerInstanceService','SNAPSHOT_INVALID_SNAPSHOT','compose','setCurrentUser','YUUMI_SUBSCRIPTION_NOT_FOUND','downloadEndpointUrl','enc','_createSocket','10oZYVje','/allowed','_nRounds','Malformed\x20UTF-8\x20data','m2Prime','_getAPIPrefix','includes','\x0aCurrent:\x20','CHANGESET_REVISION_CONFILICT','keySize','COMPRESS_MUTATION_APPLY','_members','_transformSelections','focused$','UNIVER_DOC','MUTATION','onTransformSelections','session.join-failed','UNKNOWN_CODE','sessionStatus$','/unit/','putCollaborators','offline','readAsDataURL','every','getTypeOfUnitAdded$','max','_startCollaboration','awaiting','_iv','collaboration-client.config','buffer','_roomMembers','mixIn','session.room-not-exists','_transitionLocked','_commentService','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformService','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','resend','words','onload','HEARTBEAT_INTERVAL','find','reject','compute','event$','/collaborator','622CTJoDp','_ENC_XFORM_MODE','padding','_DEC_XFORM_MODE','LIVESHARE_OPERATION','UNDEFINED','authzUrl','_awaitingChangeset','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_waitCount','unpad','People','complete','getUnitStatus$','RETRY_CONNECTING_MAX_COUNT','_sendingTimer','clamp','_iKey','randomUUID','add','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/universer-api/oidc/authpage','_revisionService','JOIN_ROOM_PERMISSION_DENIED','LICENSE_MAX_UNITS_EXCEEDED','setWaitCount','_change$','_invKeySchedule','_undoRedoService','appendMutation','SNAPSHOT_SERVER_URL_KEY','BufferedBlockAlgorithm','deleteCollaborator','toString','debug','fetchMiss','image/jpg','ALREADY_EXISTS','_event$','_onRemoteRetry','AWAITING_WITH_PENDING','_disableEditing','ivSize','/block/','put','allowed','title','collabWebSocketUrl','close','_syncEditingCollabCursor','commentUpdateEvent','Error\x20on\x20receiving\x20event','getSheetBlock','UPDATE_PERMISSION_OBJ','_reverseMap','INVITE_CODE_REQUIRED','delete','/-/object/-/batch_allowed','_onConnectionFailed','_sender','error','_createHandler','_rescheduleHeartbeat','OPTIONAL','leaveEvent','_listenToNetworkCondition','Could\x20not\x20dynamically\x20require\x20\x22','CLOSE_ROOM','UNAUTHENTICATED','collaboratorID','_clearScheduledTask','univer-pro.collaboration-client.network-condition.service','Undefined','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','infoRsp','JOIN','_configService','_data','getActiveSheet','requireSession','_parse','objectType','INGEST','_changesetReqId','size','status$','ws://127.0.0.1:8000/universer-api/comb/connect','ciphertext','Base','DEFAULT_FILE_NAME','_initUnitPermissionChange','socket\x20open.','error$','length','synced','APPLY_DUPLICATED','cfg','HmacSHA1','onStateChange','_localeService','_handlerCallback','batchAllowed','href','JOIN_ROOM_FULL','_retryCount','addHandlerCallback','_getRedoStack','_doCryptBlock','sigBytes','_getSignURL','MOBILE_HAS_BEEN_BOUND','image/bmp','SHOULD_CLOSE_CONN','_transformRemoteChangesetByIMECache','onSendChangeset','createCollaborator','getFocusedUnit','IDLE','USERS_LEAVE','_onUserLeave','state','_joinRoom','push','onRemoteChangeset','setShowComponents','_getCtorByUniverType','charAt','_mode','liveShareNewHost','randomBytes','{fileID}','UNIVER_PROJECT','members','_resendWithTimeout','sendChangesetTimeout','auth.needGotoLoginAlert','_socketMessageSubscription','UNIVER_SLIDE','byteLength','USER_NOT_INVITED_CODE','LEAVE','byteOffset','extend','cmd','post','CHANGESET_ACK','concat','_networkConditionService','LICENSE_DISTRO_REJECTED','getImageSourceCache','[OfflineState]:\x20received\x20changeset.','editingUnit','_applyRemoteChangeset','_throwTelemetryCollaborationNewChangeset','_members$','/universer-api/authz','csAckEvent','entityInit$','baseRev','Hex','_createHelper','_removeRoom','EMAIL_HAS_BEEN_BOUND','&to=','withCredentials','_initRequestHeader','onlyLocal','WordArray','onCommentUpdate','salt','_state','string','UnitEmbedded','INVITE_CODE_ALREADY_BOUND','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','PERSON','HMAC','reset','_process','Base64','status','_state$','_collaborationPaused','random','_sheetTransformSelectionsService','SOCKET_FAILED_RETRY','_waitForHeartbeatResponse','ONLINE','exports','socketService','getUnitId','_onCombEvent','_remoteChangesetQueue','_loadSheet','onCommandExecuted','map','_type','PasswordBasedCipher','_acknowledgedAwaitingChangeset','_toggleOffline','collaboration_new_changeset','getMember','JOIN_ROOM_NOT_EXISTS','transformSelections','CBC','joinEvent','HELLO','FAIL','_schedule','onSyncEditingCollabCursor','csShouldRetryEvent','emitEvent','_onRecvEvent','substr','Cipher','_loadDoc','LIVESHARE_FETCH_OPERATIONS','[OfflineState]:\x20received\x20rejection.','_entityInit$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','data','createEncryptor','deepClone','enableOfflineEditing','_clearTimeoutTimer','_incrementRevisionNumber','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','CipherParams','_oKey','_scheduleCompleteTimestamp','newCsEvent','eventID','reduce','_onJoinRoomEvent','_clearHeartbeatTimer','retryConnectingInterval','slice','socket$','_onFetchMissResult','3482563BiqqxI','_keyPriorReset','failed\x20to\x20apply\x20missed\x20changesets!','workbook','message$','CONNECTOR_DATA_TOO_LARGE','YUUMI_RATE_OVER_LIMIT','msCrypto','getMemberID','updateCursorEvent','INTERNAL_ERROR','_socketService','LIVESHARE_TERMINATE','USERS_ENTER','_handler','_clearRedo','APPLY_PERMISSION_DENIED','ERROR_IMAGE','[DataLoaderService]','_checkMissing','YUUMI_URL_COL_OUT_OF_RANGE','_httpService','?url=','close$','LICENSE_EXPORT_SIZE_EXCEEDED','fetch_missing','createDecryptor','_unitInfo$','revision','fetchMissingChangesets','_getUploadFileURL','execute','function','blockSize','updatePermissionPoint','_collaborationSessionService','dispose','reverse','UNIVER_SHEET','_roomCreated$','registerHTTPInterceptor','_eventService','c1Prime','UNISCRIPT_RUN','has','/fetchmissing?from=','duration','set','sessionStatus','Utf8','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_getLoginPath','_telemetryInfo','fromCollab','_showConflictNotification','_transformRemoteChangesetByStateCache','encrypt','MD5','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','_doFinalize','originalMeta','_getDownloadEndpointURL','2776725LAMGGy','AWAITING','_submitChangeset','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNRECOGNIZED','_candidateSocket','code','_key','fetchThroughInterceptors','UnitSnapshot','method','saveImage','_replaceFileID','textRanges','_socket$','memberID','_clearUndo','getUnitType','unknown','HttpExport','_minBufferSize','session.room-cnt-exceeds','_commandService','_socket','_nDataBytes','PENDING','now','[CollaborationSession]','target','_injector','disposeWithMe','not_collab','type','onTransformRemoteChangesetByStateCache','saveSnapshot','isArray','getSnapshotAPIPath','_snapshotServerService','/object/','result','pad','getWorkbookSelections','_memberService','$super','PY_RUNTIME_SCRIPT_ERROR','selections','initWorkbookPermissionChange','setConfig','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onMessage','joinRsp','_HTTPService','sid','location','_queuedRemoteChangesets','LIVESHARE_NEW_HOST','SUBMIT_CHANGESET_TIMEOUT','Failed\x20to\x20update\x20permission\x20point','[PendingState]:\x20unhandled\x20univer\x20type:\x20','call','/new_changes','url','SNAPSHOT_URL_KEY','startTime','736674mvasYA','onLocalMutation','OTHER_CLIENTS_EDITING','hostname','loginUrlKey','HttpImport','awaitingChangeset','action','UNIVER_UNKNOWN','waitForRoom$','onMissedChangesetFetched','encodeURIComponent','getImage','_onRemoteChangeset','Hasher','rev','_getCurrentRevision','clone','LOGIN_FAILED','session','_hasher','toLowerCase','collaborators','_toggleOnline','_sessions','_initDependencies','transformMutationsWithChangeset','onRemoteRetry','userID','getRandomValues','4838emfyyo','_onLocalMutation','_isPermissionRej','APPLY_NON_SEQUENTIAL_REVISION','reconnect','loadOfflineData','_substituteRedoStack','_onConflict','collabSubmitChangesetUrl','ERROR_IMAGE_TYPE','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByIMECache','_unitID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','objects','COMMENT_UPDATE','_clearCollaborationTimeoutTimer','SerializableCipher','snapshotServerUrl','apply','UNIVER_COLLABORATION_CLIENT_PLUGIN','headers','ceil','get','_undoStacks','_entities','_append','csRejEvent','YUUMI_NO_CUBOID_FOR_QUESTION','snapshot','BlockCipherMode','_transformIMECache','mutations','[OfflineState]:\x20received\x20acknowledgement.','incrementRevOfUnit','_startTelemetryCollaborationNewChangeset','_sendHeartbeat','saveChangeset','ENSURE_SNAPSHOT_EXECUTION','subscribe','_snapshotService','[CollaborationSessionService]:\x20socket\x20error','toggleOnline','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_onRemoteACK','/universer-api/uniscript','getCurrentSelections','[PendingState]:\x20received\x20rejection.','floor','univer-pro.collaboration-client.single-active-unit-service','permissionRejEvent','next','prototype','_replayCachedMutations','rng','loadDoc','dispose$','transformChangesets','enableAuthServer','RECV','subUnitId','_resendTimer','_hash','_clearRetryConnectingTimer','pipe','_map','getTypeOfUnitDisposed$','PERMISSION_DENIED','getDeserializedSheetBlock','executeCommand','repeat','then','_collabSessionService','UserProfileImg','list','removeMember','_decreaseWaiting','conflict','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_timeoutTimer','_socketReady','roles','SHA1','init','getCurrentRevOfUnit','_lockTransition','[PendingState]:\x20received\x20acknowledgement.','update','getCurrentUser','updatePermissionObjEvent','hasOwnProperty','_updateState','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','APPLY_REJECT','getConfig','AES','_permissionService','[FetchMissState]','getAllMembers','_transformStateCache','file','clear','copyFileMeta','&assign=','/universer-api/user/session-ticket','create','UNKNOWN_CMD','INVITE_CODE_HAS_BEEN_UES','[CollaborationUndoRedoService]','onRemoteRej','_singleActiveUnitService','disableLocalCache','CHANGESET_REJ','session.room-permission-denied','json','Decryptor','_stopTelemetryCollaborationNewChangeset','readInt32LE','filter','_doProcessBlock','_getUndoStack','JOIN_ROOM_FAILED','_updateLocalCache','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','symbol','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','closeSession','__Key__','_createInitialStateImpl','isPermissionRej','finalize','LOGIN_URL_KEY','_compressMutationService','OFFLINE','/rev/','/universer-api/snapshot/','NOT_FOUND','catch','open$','pending','forEach','getTime','getUnit','SNAPSHOT_HAS_BEEN_REMOVED','_emitMembers','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','TOO_MANY_REQUESTS','send','_logService','toggleOffline','x-univer-host','UPDATE_CURSOR','24728787TvLWIv','NoPadding','_onConnectionOpen','commentUpdate$','_collaborationUIEventService','[CollaborationEntity]','name','WECHAT_HAS_BEEN_BOUND','_createHmacHelper','JOINING','_onRemoteRejected','_init','_cipher','requestParams','/-/object/list','connection\x20error','/role','_pendingMutations','actions','_sessionStatus$','unit-cache-','getValue','LOCAL_CACHE_INTERVAL','objectActions','_scheduleCollaborationTimeoutTimer','2677736IESGvr','_fetchMissChangesets','_telemetryService','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','subject','getInterceptPoints','AUTHZ_URL_KEY','onTransformState','_resendTimeout'];_0x2aa7=function(){return _0x3327e1;};return _0x2aa7();}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe['exports'],ci;function Vs(){var _0xe733f0=_0x3aff44;return ci||(ci=0x1,function(_0x58e296,_0x2ab47a){(function(_0x482fc0,_0x138e00,_0x464075){var _0x8a1165=_0x79cb;_0x58e296[_0x8a1165(0x35d)]=_0x138e00(ie(),Ai());}(Fs,function(_0x55ce1e){var _0x3ab6ae=_0x79cb;return _0x55ce1e[_0x3ab6ae(0xf5)][_0x3ab6ae(0x1c4)]={'pad':function(){},'unpad':function(){}},_0x55ce1e['pad'][_0x3ab6ae(0x1c4)];}));}(Qe)),Qe[_0xe733f0(0x35d)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x4a7e17,_0x4213c0){var _0x22e29a=_0x3aff44;const _0x120ba2=_0x4213c0-_0x4a7e17[_0x22e29a(0x2fe)]%_0x4213c0,_0x4e8077=String[_0x22e29a(0x215)](_0x120ba2)[_0x22e29a(0x171)](_0x120ba2);return _0x4a7e17+_0x4e8077;}function Ys(_0x4eaef2,_0x2d24c0){var _0x536edd=_0x3aff44;const _0x1eaffc=js[_0x536edd(0x358)](0x10),_0x204521=Ks(_0x4eaef2,0x10),_0x187d6e=ws[_0x536edd(0xc6)](ks['parse'](_0x204521),ri[_0x536edd(0x247)](_0x2d24c0),{'iv':_0x1eaffc,'padding':Ws});return _0x1eaffc[_0x536edd(0x333)](_0x187d6e[_0x536edd(0x2f8)])[_0x536edd(0x2c2)](ri);}function qs(){var _0x6f3dc3=_0x3aff44;const _0x5cf48b=_0x337955()[_0x6f3dc3(0x1aa)];if(_0x5cf48b){const _0x4d5263={'time':Math[_0x6f3dc3(0x15b)](Date['now']()/0x3e8),'domain':location[_0x6f3dc3(0x110)]};return Ys(JSON[_0x6f3dc3(0x258)](_0x4d5263),_0x5cf48b);}}var zs=Object[_0x3aff44(0x202)],Js=(_0x237a4f,_0x3c095a,_0x59d370,_0x3510c9)=>{var _0xca5760=_0x3aff44;for(var _0x3c5f84=_0x3510c9>0x1?void 0x0:_0x3510c9?zs(_0x3c095a,_0x59d370):_0x3c095a,_0x1e6ba8=_0x237a4f[_0xca5760(0x2fe)]-0x1,_0x104b11;_0x1e6ba8>=0x0;_0x1e6ba8--)(_0x104b11=_0x237a4f[_0x1e6ba8])&&(_0x3c5f84=_0x104b11(_0x3c5f84)||_0x3c5f84);return _0x3c5f84;},Xs=(_0x361ec7,_0x452c79)=>(_0xc7838d,_0x43d891)=>_0x452c79(_0xc7838d,_0x43d891,_0x361ec7);let at=class{constructor(_0x262df7){var _0x999b4e=_0x3aff44;this[_0x999b4e(0xa3)]=_0x262df7,this[_0x999b4e(0x346)]();}['_initRequestHeader'](){var _0x4efaaf=_0x3aff44;this['_httpService'][_0x4efaaf(0xb6)]({'interceptor':(_0x80d4c7,_0x1d7ee5)=>{var _0x5d9d54=_0x4efaaf;const _0x156153=_0x80d4c7[_0x5d9d54(0x140)],_0x401b28=qs();return _0x401b28&&_0x156153[_0x5d9d54(0xbd)](_0x5d9d54(0x1c1),_0x401b28),_0x1d7ee5(_0x80d4c7);}});}};at=Js([Xs(0x0,_0x2d5589(_0x4fb77b))],at);var Zs=Object[_0x3aff44(0x202)],Qs=(_0x12daeb,_0x352afc,_0x107537,_0x1eb10a)=>{for(var _0x466f12=_0x1eb10a>0x1?void 0x0:_0x1eb10a?Zs(_0x352afc,_0x107537):_0x352afc,_0x10a4b2=_0x12daeb['length']-0x1,_0x309020;_0x10a4b2>=0x0;_0x10a4b2--)(_0x309020=_0x12daeb[_0x10a4b2])&&(_0x466f12=_0x309020(_0x466f12)||_0x466f12);return _0x466f12;},mt=(_0x495f95,_0x24c3f3)=>(_0x5c79d1,_0x374b51)=>_0x24c3f3(_0x5c79d1,_0x374b51,_0x495f95);let bt=class extends _0x358ab7{constructor(_0x35d16c,_0x2d2a0c,_0x38ea89){var _0x5b7467=_0x3aff44;super(),N(this,_0x5b7467(0xa9),new _0x269196(null)),N(this,'unitInfo$',this[_0x5b7467(0xa9)][_0x5b7467(0x205)]()),(this['_logService']=_0x35d16c,this[_0x5b7467(0x153)]=_0x2d2a0c,this[_0x5b7467(0x222)]=_0x38ea89);}async['loadUnit'](_0x21a945,_0x48707f,_0x4e659e){var _0x3d20ff=_0x3aff44;this[_0x3d20ff(0xa9)]['next']({'unitId':_0x21a945,'type':_0x48707f,'subUnitId':_0x4e659e});let _0x5acb7e=null;switch(_0x48707f){case Q['UNIVER_SHEET']:{_0x5acb7e=await this['_loadSheet'](_0x21a945);break;}case Q[_0x3d20ff(0x27e)]:{_0x5acb7e=await this[_0x3d20ff(0x378)](_0x21a945);break;}default:{this[_0x3d20ff(0x1bf)]['error'](_0x3d20ff(0xa0),_0x3d20ff(0x2b5));break;}}return _0x5acb7e;}async[_0x3aff44(0x362)](_0x16ed13){var _0x1fd0f9=_0x3aff44,_0x91503;let _0x3dc810=0x0;const _0x11e134=await((_0x91503=this[_0x1fd0f9(0x222)])==null?void 0x0:_0x91503[_0x1fd0f9(0x130)](_0x16ed13));return _0x11e134&&(_0x11e134[_0x1fd0f9(0x113)]||_0x11e134[_0x1fd0f9(0x14b)]['length']!==0x0)&&(_0x3dc810=_0x11e134[_0x1fd0f9(0x11c)]),_0x3dc810===0x0&&this[_0x1fd0f9(0x1bf)][_0x1fd0f9(0x2c3)](_0x1fd0f9(0xa0),_0x1fd0f9(0x156)),this[_0x1fd0f9(0x153)][_0x1fd0f9(0x22c)](_0x16ed13,_0x3dc810);}async[_0x3aff44(0x378)](_0x4bc3e){var _0x30856a=_0x3aff44,_0x8a1694;let _0x3068ab=0x0;const _0x223a13=await((_0x8a1694=this['_localCacheService'])==null?void 0x0:_0x8a1694['loadOfflineData'](_0x4bc3e));return _0x223a13&&(_0x223a13[_0x30856a(0x113)]||_0x223a13[_0x30856a(0x14b)][_0x30856a(0x2fe)]!==0x0)&&(_0x3068ab=_0x223a13[_0x30856a(0x11c)]),_0x3068ab===0x0&&this[_0x30856a(0x1bf)][_0x30856a(0x2c3)]('[DataLoaderService]',_0x30856a(0x156)),this[_0x30856a(0x153)][_0x30856a(0x162)](_0x4bc3e,_0x3068ab);}};bt=Qs([mt(0x0,_0x4a21cb),mt(0x1,_0x2d5589(_0x2f9057)),mt(0x2,_0x12c4df(J))],bt);var er=Object[_0x3aff44(0x202)],tr=(_0x2d9401,_0x55b292,_0x5a6dea,_0x5a5e18)=>{var _0x5e8847=_0x3aff44;for(var _0x31f4dc=_0x5a5e18>0x1?void 0x0:_0x5a5e18?er(_0x55b292,_0x5a6dea):_0x55b292,_0x125f18=_0x2d9401[_0x5e8847(0x2fe)]-0x1,_0x25c6be;_0x125f18>=0x0;_0x125f18--)(_0x25c6be=_0x2d9401[_0x125f18])&&(_0x31f4dc=_0x25c6be(_0x31f4dc)||_0x31f4dc);return _0x31f4dc;},gt=(_0x43dc7b,_0x4a171f)=>(_0x325d57,_0x4ee6ea)=>_0x4a171f(_0x325d57,_0x4ee6ea,_0x43dc7b);const ir=['image/png','image/jpeg',_0x3aff44(0x2c5),'image/gif',_0x3aff44(0x310)],nr=0x5*0x400*0x400,sr=_0x3aff44(0x37c),rr=_0x3aff44(0x266),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or='/universer-api/file/{fileID}/sign-url';let Ot=class{constructor(_0x5d21fa,_0x52d177,_0xe967e4){var _0x3b7de0=_0x3aff44;N(this,_0x3b7de0(0x2aa),0x0),N(this,_0x3b7de0(0x2bb),new _0x279a5a()),N(this,'change$',this['_change$']),N(this,_0x3b7de0(0x1ee),new Map()),(this[_0x3b7de0(0xa3)]=_0x5d21fa,this[_0x3b7de0(0x2ed)]=_0x52d177,this[_0x3b7de0(0x268)]=_0xe967e4);}[_0x3aff44(0x2ba)](_0x37d035){var _0x3debb9=_0x3aff44;this[_0x3debb9(0x2aa)]=_0x37d035,this[_0x3debb9(0x2bb)][_0x3debb9(0x15e)](_0x37d035);}[_0x3aff44(0x336)](_0x1637cc,_0x221264){if(_0x221264===_0x15d5af['BASE64']){const _0x58c1dd=new Image();return _0x58c1dd['src']=_0x1637cc,_0x58c1dd;}return this['_imageSourceCache']['get'](_0x1637cc);}['addImageSourceCache'](_0x6c3e28,_0x36b020,_0x2e963b){var _0x4a5074=_0x3aff44;_0x36b020===_0x15d5af['BASE64']||_0x2e963b==null||this[_0x4a5074(0x1ee)][_0x4a5074(0xbd)](_0x6c3e28,_0x2e963b);}async[_0x3aff44(0x119)](_0x414431){var _0x561bee=_0x3aff44;try{const _0x2241bd=this[_0x561bee(0xd9)](this['_getSignURL'](),''+_0x414431),_0x1eb6af=(await this[_0x561bee(0xa3)]['get'](_0x2241bd))[_0x561bee(0x1e6)];if(_0x1eb6af['error']&&_0x1eb6af[_0x561bee(0x2dd)][_0x561bee(0xd3)]===Si['OK']){const _0x474a4a=new URL(_0x1eb6af[_0x561bee(0x10a)],this[_0x561bee(0xcc)]())[_0x561bee(0x2c2)]();return Promise['resolve'](_0x474a4a);}return Promise[_0x561bee(0x29d)](_0x1eb6af[_0x561bee(0x2dd)]);}catch(_0xb565ec){return Promise[_0x561bee(0x29d)](_0xb565ec);}}async[_0x3aff44(0xd8)](_0x988e1e){var _0x18008a=_0x3aff44;let _0x2a1e8f='';if(!ir[_0x18008a(0x276)](_0x988e1e[_0x18008a(0xed)]))return this[_0x18008a(0x177)](),Promise['reject'](new Error(_0x11c350[_0x18008a(0x134)]));if(_0x988e1e[_0x18008a(0x2f5)]>nr)return this['_decreaseWaiting'](),Promise[_0x18008a(0x29d)](new Error(_0x11c350['ERROR_EXCEED_SIZE']));try{const _0x31daea=new FormData();_0x31daea['append'](_0x18008a(0x18f),_0x988e1e);const _0x1e16f1=this[_0x18008a(0x268)][_0x18008a(0x315)](),_0x26acfb=_0x1e16f1==null?void 0x0:_0x1e16f1['getUnitId']();if(!_0x26acfb)throw new Error('unitId\x20is\x20not\x20found');const _0x5aab77=this[_0x18008a(0xac)]()+'?size='+_0x988e1e[_0x18008a(0x2f5)]['toString']()+'&source='+Ei[_0x18008a(0x34d)]+_0x18008a(0x192)+encodeURIComponent(_0x26acfb),_0x29d8e8=await(await fetch(_0x5aab77,{'method':_0x18008a(0x20f),'body':_0x31daea}))[_0x18008a(0x19d)]();if(typeof _0x29d8e8[_0x18008a(0x217)]!='string')return this['_decreaseWaiting'](),Promise[_0x18008a(0x29d)](new Error(_0x11c350[_0x18008a(0x9f)]));_0x2a1e8f=_0x29d8e8['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x18008a(0x29d)](new Error(_0x11c350[_0x18008a(0x9f)]));}return new Promise((_0x449d6c,_0x738ed0)=>{var _0x4d8c57=_0x18008a;const _0x10d5b4=new FileReader();_0x10d5b4[_0x4d8c57(0x287)](_0x988e1e),_0x10d5b4[_0x4d8c57(0x29a)]=_0x35f899=>{var _0x3e936b=_0x4d8c57,_0x5e2cdb;const _0x56b2dd=(_0x5e2cdb=_0x35f899[_0x3e936b(0xe9)])==null?void 0x0:_0x5e2cdb['result'];if(_0x56b2dd==null){this[_0x3e936b(0x177)](),_0x738ed0(new Error(_0x11c350[_0x3e936b(0x9f)]));return;}const _0xa4c118=_0x21ca88[_0x3e936b(0x223)](0x6);_0x449d6c({'imageId':_0xa4c118,'imageSourceType':_0x15d5af['UUID'],'source':_0x2a1e8f,'base64Cache':_0x56b2dd,'status':_0x11c350['SUCCUSS']}),this[_0x3e936b(0x177)]();};});}[_0x3aff44(0xac)](){var _0x3efb9c=_0x3aff44,_0x60d36f,_0x1c7d77;const _0x2476d1=this[_0x3efb9c(0x2ed)][_0x3efb9c(0x189)](sr),_0x4f1bfb=this['_configService'][_0x3efb9c(0x189)](q);return(_0x1c7d77=(_0x60d36f=_0x4f1bfb==null?void 0x0:_0x4f1bfb['uploadFileServerUrl'])!=null?_0x60d36f:_0x2476d1)!=null?_0x1c7d77:rr;}[_0x3aff44(0x30e)](){var _0x1ef475=_0x3aff44,_0x1c1456,_0xd3f6c8;const _0x471958=this[_0x1ef475(0x2ed)][_0x1ef475(0x189)](ar),_0x20d155=this[_0x1ef475(0x2ed)]['getConfig'](q);return(_0xd3f6c8=(_0x1c1456=_0x20d155==null?void 0x0:_0x20d155['signUrlServerUrl'])!=null?_0x1c1456:_0x471958)!=null?_0xd3f6c8:or;}[_0x3aff44(0xcc)](){var _0x488d05=_0x3aff44,_0x30c27a;const _0x507d38=this['_configService'][_0x488d05(0x189)](q);return(_0x30c27a=_0x507d38==null?void 0x0:_0x507d38[_0x488d05(0x26d)])!=null?_0x30c27a:location[_0x488d05(0x1f1)];}['_replaceFileID'](_0x5b2ff9,_0x3e1a51){var _0x2a8f17=_0x3aff44;return _0x5b2ff9[_0x2a8f17(0x253)](_0x2a8f17(0x323),_0x3e1a51);}[_0x3aff44(0x177)](){var _0x5bde09=_0x3aff44;this[_0x5bde09(0x2aa)]-=0x1,this[_0x5bde09(0x2bb)][_0x5bde09(0x15e)](this['_waitCount']);}};Ot=tr([gt(0x0,_0x2d5589(_0x4fb77b)),gt(0x1,_0x3c5e42),gt(0x2,_0x2d5589(_0x52f90f))],Ot);var cr=Object[_0x3aff44(0x202)],hr=(_0x57f2d4,_0x4d772f,_0x240b7a,_0x580814)=>{for(var _0x26e5de=_0x580814>0x1?void 0x0:_0x580814?cr(_0x4d772f,_0x240b7a):_0x4d772f,_0x2dde3f=_0x57f2d4['length']-0x1,_0xf446db;_0x2dde3f>=0x0;_0x2dde3f--)(_0xf446db=_0x57f2d4[_0x2dde3f])&&(_0x26e5de=_0xf446db(_0x26e5de)||_0x26e5de);return _0x26e5de;},hi=(_0xb451a2,_0x4d624f)=>(_0x1e4d06,_0x17ef02)=>_0x4d624f(_0x1e4d06,_0x17ef02,_0xb451a2);const _r=_0x3aff44(0x33c);let yt=class{constructor(_0x1e1235,_0xeab15){var _0x4c0d5f=_0x3aff44;this[_0x4c0d5f(0x2ed)]=_0x1e1235,this[_0x4c0d5f(0x100)]=_0xeab15;}[_0x3aff44(0x227)](){var _0x171a78=_0x3aff44,_0x2273aa,_0xc4f7d;const _0x3615c1=this[_0x171a78(0x2ed)][_0x171a78(0x189)](Ni),_0xe1a294=this[_0x171a78(0x2ed)][_0x171a78(0x189)](q);return(_0xc4f7d=(_0x2273aa=_0xe1a294==null?void 0x0:_0xe1a294[_0x171a78(0x2a7)])!=null?_0x2273aa:_0x3615c1)!=null?_0xc4f7d:_r;}async[_0x3aff44(0x175)](_0x31ccd7){var _0x5326fd=_0x3aff44;const _0x27bd7c=this[_0x5326fd(0x227)]()+_0x5326fd(0x2a0);return{'list':[{'title':_0x5326fd(0x2ac),'mentions':(await this[_0x5326fd(0x100)][_0x5326fd(0x142)](_0x27bd7c,{'params':{'objectID':_0x31ccd7['unitId'],'unitID':_0x31ccd7[_0x5326fd(0x1fe)]}}))['body'][_0x5326fd(0x123)][_0x5326fd(0x364)](_0x52fafa=>({'objectId':_0x52fafa['id'],'name':_0x52fafa[_0x5326fd(0x1e0)][_0x5326fd(0x1c9)],'metadata':{'icon':_0x52fafa[_0x5326fd(0x1e0)][_0x5326fd(0x1e9)]},'label':_0x52fafa[_0x5326fd(0x1e0)][_0x5326fd(0x1c9)],'objectType':_0x40daf5[_0x5326fd(0x350)]})),'metadata':{},'type':_0x40daf5[_0x5326fd(0x350)]}]};}};yt=hr([hi(0x0,_0x2d5589(_0x3c5e42)),hi(0x1,_0x2d5589(_0x4fb77b))],yt);var lr=Object['getOwnPropertyDescriptor'],ur=(_0x280b72,_0x1eb605,_0x321495,_0x6a96d0)=>{var _0x21d0fb=_0x3aff44;for(var _0x72b300=_0x6a96d0>0x1?void 0x0:_0x6a96d0?lr(_0x1eb605,_0x321495):_0x1eb605,_0x4f7184=_0x280b72[_0x21d0fb(0x2fe)]-0x1,_0x27d3ed;_0x4f7184>=0x0;_0x4f7184--)(_0x27d3ed=_0x280b72[_0x4f7184])&&(_0x72b300=_0x27d3ed(_0x72b300)||_0x72b300);return _0x72b300;},we=(_0x580948,_0xc4e5ec)=>(_0x39e327,_0x4e9924)=>_0xc4e5ec(_0x39e327,_0x4e9924,_0x580948);let ot=class extends _0x358ab7{constructor(_0x187b10,_0xc44902,_0xfb3b20,_0x8e3a4,_0x353331){var _0x16f75b=_0x3aff44;super(),this['_injector']=_0x187b10,this[_0x16f75b(0x268)]=_0xc44902,this[_0x16f75b(0x18b)]=_0xfb3b20,this[_0x16f75b(0xb1)]=_0x8e3a4,this['_collaborationUIEventService']=_0x353331,this[_0x16f75b(0x2fb)](),this['_initCloseConn']();}['_initCloseConn'](){var _0x424680=_0x3aff44;const _0x4b9820=async _0x2cb94b=>{var _0x523cc8=_0x79cb;(await this[_0x523cc8(0xb1)][_0x523cc8(0x2f0)](_0x2cb94b))['event$'][_0x523cc8(0x16b)](_0x4926c7(_0x18b773=>_0x18b773[_0x523cc8(0x388)]===_0x2bf31e[_0x523cc8(0x311)]),_0x32ebe9(this[_0x523cc8(0x163)]))['subscribe'](_0x40b9de=>{var _0x3c64ac=_0x523cc8;const _0x36191d=_0x40b9de,{reason:_0x901223}=_0x36191d[_0x3c64ac(0x37d)];this[_0x3c64ac(0x1c7)][_0x3c64ac(0x374)]({'id':re['CLOSE_ROOM'],'data':_0x901223}),this['_permissionService'][_0x3c64ac(0xb0)](new _0x3cd10f(_0x2cb94b)['id'],!0x1),this[_0x3c64ac(0xb1)]['closeSession'](_0x2cb94b);});};_0x436cc6(this[_0x424680(0x268)][_0x424680(0x289)](_0x32ac1a['UNIVER_SHEET']),this['_univerInstanceService'][_0x424680(0x289)](_0x32ac1a[_0x424680(0x27e)]))[_0x424680(0x16b)](_0x45b9c6(_0x341b59=>_0x341b59[_0x424680(0x35f)]()),_0x4926c7(_0x7d3c1a=>!_0x94f4bb(_0x7d3c1a)),_0x32ebe9(this[_0x424680(0x163)]))[_0x424680(0x152)](_0x5f07c9=>{_0x4b9820(_0x5f07c9);});}[_0x3aff44(0x2fb)](){var _0x2fe700=_0x3aff44;const _0x21c102=async _0x116d99=>{var _0x4b717b=_0x79cb;const _0x1bf9d0=await this['_collaborationSessionService'][_0x4b717b(0x2f0)](_0x116d99),_0x23b261=this[_0x4b717b(0xea)][_0x4b717b(0x142)](_0x127517);_0x1bf9d0[_0x4b717b(0x29f)][_0x4b717b(0x16b)](_0x4926c7(_0x229eb5=>_0x229eb5[_0x4b717b(0x388)]===_0x2bf31e[_0x4b717b(0x2d6)]),_0x32ebe9(this['dispose$']))['subscribe'](_0x3d76a2=>{var _0x2526d1=_0x4b717b;const _0x2968c3=_0x3d76a2,{objectId:_0x1f42c6}=_0x2968c3[_0x2526d1(0x37d)];_0x1f42c6===_0x116d99?_0x23b261[_0x2526d1(0xfb)](_0x116d99):_0x23b261['refreshPermission'](_0x116d99,_0x1f42c6);});};_0x436cc6(this[_0x2fe700(0x268)][_0x2fe700(0x289)](_0x32ac1a[_0x2fe700(0xb4)]))[_0x2fe700(0x16b)](_0x45b9c6(_0x4536ca=>_0x4536ca[_0x2fe700(0x35f)]()),_0x4926c7(_0x48ff4e=>!_0x94f4bb(_0x48ff4e)),_0x32ebe9(this[_0x2fe700(0x163)]))[_0x2fe700(0x152)](_0x1e67e9=>{_0x21c102(_0x1e67e9);});}};ot=ur([we(0x0,_0x2d5589(_0x548b34)),we(0x1,_0x52f90f),we(0x2,_0x25587c),we(0x3,_0x2d5589(xe)),we(0x4,_0x2d5589(pe))],ot);var dr=Object[_0x3aff44(0x202)],fr=(_0x59cf37,_0x4d6c79,_0x3137be,_0x2aaa32)=>{var _0x580604=_0x3aff44;for(var _0x3fa7a9=_0x2aaa32>0x1?void 0x0:_0x2aaa32?dr(_0x4d6c79,_0x3137be):_0x4d6c79,_0x16fd9a=_0x59cf37[_0x580604(0x2fe)]-0x1,_0x2ee1ce;_0x16fd9a>=0x0;_0x16fd9a--)(_0x2ee1ce=_0x59cf37[_0x16fd9a])&&(_0x3fa7a9=_0x2ee1ce(_0x3fa7a9)||_0x3fa7a9);return _0x3fa7a9;},_i=(_0xe92175,_0x2122fd)=>(_0x412787,_0x11d59b)=>_0x2122fd(_0x412787,_0x11d59b,_0xe92175);let Nt=class{constructor(_0x28ce64,_0x340107){var _0x27320c=_0x3aff44;this['_configService']=_0x28ce64,this[_0x27320c(0xa3)]=_0x340107;}async['getUnitOnRev'](_0x300570,_0x6feb25){var _0x4a7307=_0x3aff44,_0x169e37;const {unitID:_0x4be0b5,type:_0x4fc23e,revision:_0x3b5a14=0x0}=_0x6feb25,_0x4a71df=this[_0x4a7307(0xf1)]()+'/'+_0x4fc23e+'/unit/'+_0x4be0b5+_0x4a7307(0x1b1)+_0x3b5a14,_0x2628f1=(await this[_0x4a7307(0xa3)][_0x4a7307(0x142)](_0x4a71df))[_0x4a7307(0x1e6)],_0x3f391e=(_0x169e37=_0x2628f1[_0x4a7307(0x148)])==null?void 0x0:_0x169e37[_0x4a7307(0x91)];if(_0x3f391e){const _0x18ec77=_0x3f391e==null?void 0x0:_0x3f391e['originalMeta'],_0xc173ec=_0x22ae9a['encode'](_0x5dea1c(_0x18ec77));_0x3f391e[_0x4a7307(0xcb)]=_0xc173ec,Object['entries'](_0x3f391e['sheets'])['forEach'](([,_0x27d7cc])=>{var _0x4f559d=_0x4a7307;const _0x67b3f1=_0x27d7cc['originalMeta'],_0x22f059=_0x22ae9a[_0x4f559d(0x248)](_0x5dea1c(_0x67b3f1));_0x27d7cc['originalMeta']=_0x22f059;});}return _0x2628f1;}async[_0x3aff44(0x2d5)](_0x452309,_0x131900){var _0x3d162b=_0x3aff44;const {unitID:_0x5a5f27,type:_0x52bfbd,blockID:_0x5734c1}=_0x131900,_0x56603e=this[_0x3d162b(0x275)]()+'/'+_0x52bfbd+'/unit/'+_0x5a5f27+_0x3d162b(0x2cc)+_0x5734c1;return(await this[_0x3d162b(0xa3)][_0x3d162b(0x142)](_0x56603e))['body'];}async[_0x3aff44(0x16f)](_0x23ada1,_0x5c2987){var _0x4a23d7=_0x3aff44;const {unitID:_0x8326b7,type:_0x18efd4,blockID:_0x3ebe77}=_0x5c2987,_0x17b6a5=this['_getAPIPrefix']()+_0x4a23d7(0x2cc)+_0x18efd4+_0x4a23d7(0x284)+_0x8326b7+_0x4a23d7(0x2cc)+_0x3ebe77;return(await this[_0x4a23d7(0xa3)][_0x4a23d7(0x142)](_0x17b6a5))[_0x4a23d7(0x1e6)];}async[_0x3aff44(0xab)](_0x2f3022,_0x1a65f7){var _0x120b99=_0x3aff44;const {unitID:_0x3a8c9,type:_0x1383e7,from:_0x5ead91,to:_0xd7c69e}=_0x1a65f7,_0xbe85ac=this[_0x120b99(0x275)]()+'/'+_0x1383e7+'/unit/'+_0x3a8c9+_0x120b99(0xbb)+_0x5ead91+_0x120b99(0x344)+_0xd7c69e;return(await this[_0x120b99(0xa3)]['get'](_0xbe85ac))[_0x120b99(0x1e6)];}[_0x3aff44(0xf1)](){var _0x1a8865=_0x3aff44,_0x2dce99;return(_0x2dce99=this[_0x1a8865(0x2ed)][_0x1a8865(0x189)](Sn))!=null?_0x2dce99:this[_0x1a8865(0x275)]();}[_0x3aff44(0x275)](){var _0x1431bf=_0x3aff44,_0x174552,_0x1cb2cc;const _0xf0d48a=this[_0x1431bf(0x2ed)][_0x1431bf(0x189)](mn),_0x399307=this[_0x1431bf(0x2ed)][_0x1431bf(0x189)](q);return(_0x1cb2cc=(_0x174552=_0x399307==null?void 0x0:_0x399307[_0x1431bf(0x13d)])!=null?_0x174552:_0xf0d48a)!=null?_0x1cb2cc:gn;}async[_0x3aff44(0x232)](_0x5d318f,_0x4f4236){var _0x5bb202=_0x3aff44;const _0x459df5=_0x5bb202(0x1b2)+_0x4f4236['type']+_0x5bb202(0x284)+_0x4f4236[_0x5bb202(0x262)]+'/resources';return(await this[_0x5bb202(0xa3)]['get'](_0x459df5,{'params':{'resourceId':JSON[_0x5bb202(0x258)](_0x4f4236[_0x5bb202(0x231)])}}))[_0x5bb202(0x1e6)];}[_0x3aff44(0xef)](){var _0x3a722e=_0x3aff44;throw new Error(_0x3a722e(0xd0));}[_0x3aff44(0x209)](){var _0x68aa9b=_0x3aff44;throw new Error(_0x68aa9b(0xd0));}[_0x3aff44(0x150)](){var _0x3b5233=_0x3aff44;throw new Error(_0x3b5233(0xd0));}[_0x3aff44(0x191)](){var _0x3c223e=_0x3aff44;throw new Error(_0x3c223e(0xd0));}['getLatestCsReqIdBySid'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Nt=fr([_i(0x0,_0x3c5e42),_i(0x1,_0x2d5589(_0x4fb77b))],Nt);var vr=Object[_0x3aff44(0x202)],pr=(_0x6b93c8,_0x205329,_0x407b5d,_0x20d578)=>{var _0x4fb06a=_0x3aff44;for(var _0x5c46bf=_0x20d578>0x1?void 0x0:_0x20d578?vr(_0x205329,_0x407b5d):_0x205329,_0x12936d=_0x6b93c8[_0x4fb06a(0x2fe)]-0x1,_0x1624c1;_0x12936d>=0x0;_0x12936d--)(_0x1624c1=_0x6b93c8[_0x12936d])&&(_0x5c46bf=_0x1624c1(_0x5c46bf)||_0x5c46bf);return _0x5c46bf;},Pe=(_0x5f46e9,_0x1a32be)=>(_0xd54c93,_0x1de62c)=>_0x1a32be(_0xd54c93,_0x1de62c,_0x5f46e9);let Dt=class extends _0x43c235{constructor(_0x3411ef,_0x2111ca,_0x4f1a7c,_0x18c3d7,_0x13ad15){var _0x44dd87=_0x3aff44;super(_0x3411ef,_0x2111ca,_0x4f1a7c),this['_transformService']=_0x18c3d7,this[_0x44dd87(0x1bf)]=_0x13ad15;}['transformUndoRedo'](_0x2096e5,_0x4a8030){var _0x13f1a2=_0x3aff44;const _0x398b2f=this['_getUndoStack'](_0x2096e5);if(_0x398b2f)try{const _0x463457=this['_transformStack'](_0x398b2f,_0x4a8030);this[_0x13f1a2(0x25d)](_0x2096e5,_0x463457);}catch(_0x1e9c9e){this[_0x13f1a2(0x1bf)]['error'](_0x13f1a2(0x197),_0x1e9c9e),this[_0x13f1a2(0xdd)](_0x2096e5);}const _0x20a413=this[_0x13f1a2(0x30b)](_0x2096e5);if(_0x20a413)try{const _0x2f3700=this['_transformStack'](_0x20a413,_0x4a8030);this[_0x13f1a2(0x131)](_0x2096e5,_0x2f3700);}catch(_0x22c83a){this[_0x13f1a2(0x1bf)][_0x13f1a2(0x2dd)](_0x22c83a),this[_0x13f1a2(0x9d)](_0x2096e5);}}[_0x3aff44(0xdd)](_0x177a3c){var _0x335143=_0x3aff44;const _0x3edbdf=this[_0x335143(0x1a3)](_0x177a3c);_0x3edbdf&&(_0x3edbdf[_0x335143(0x2fe)]=0x0,this[_0x335143(0x1ff)]());}[_0x3aff44(0x9d)](_0x29c449){var _0x2d60ca=_0x3aff44;const _0x38b9e2=this[_0x2d60ca(0x30b)](_0x29c449);_0x38b9e2&&(_0x38b9e2[_0x2d60ca(0x2fe)]=0x0,this[_0x2d60ca(0x1ff)]());}['_substituteUndoStack'](_0x51dcc2,_0x3be11a){var _0x35f06f=_0x3aff44;this[_0x35f06f(0x143)][_0x35f06f(0xbd)](_0x51dcc2,_0x3be11a),this[_0x35f06f(0x1ff)]();}[_0x3aff44(0x131)](_0x35ab20,_0x531c00){var _0x33a2f4=_0x3aff44;this['_redoStacks'][_0x33a2f4(0xbd)](_0x35ab20,_0x531c00),this[_0x33a2f4(0x1ff)]();}[_0x3aff44(0x1eb)](_0x361d6e,_0x5ccb7b){var _0x56d9ee=_0x3aff44;const _0x1b52f3=[];let _0x36e15b=_0x5ccb7b,_0x707017=_0x5ccb7b;for(let _0x2aa452=_0x361d6e[_0x56d9ee(0x2fe)]-0x1;_0x2aa452>=0x0;_0x2aa452--){const {unitID:_0x4c64d5,undoMutations:_0x587ebf,redoMutations:_0x2932cb}=_0x361d6e[_0x2aa452],_0x5da4a6=this[_0x56d9ee(0x296)][_0x56d9ee(0x127)](_0x36e15b,_0x587ebf),_0xd9f73c=this[_0x56d9ee(0x296)][_0x56d9ee(0x127)](_0x707017,_0x2932cb);if(_0x1f8f82(_0x5da4a6)||_0x1f8f82(_0xd9f73c)){this[_0x56d9ee(0x1bf)][_0x56d9ee(0x2dd)](_0x56d9ee(0x197),'transformStack\x20failed!',_0x5da4a6,_0xd9f73c);break;}_0x36e15b=_0x5da4a6[_0x56d9ee(0xb8)],_0x707017=_0xd9f73c[_0x56d9ee(0xb8)],_0x1b52f3[_0x56d9ee(0x31b)]({'unitID':_0x4c64d5,'undoMutations':_0x5da4a6[_0x56d9ee(0x274)],'redoMutations':_0xd9f73c[_0x56d9ee(0x274)]});}return _0x1b52f3[_0x56d9ee(0xb3)]();}};Dt=pr([Pe(0x0,_0x52f90f),Pe(0x1,_0x529fbd),Pe(0x2,_0x271c1c),Pe(0x3,_0x35a8a9),Pe(0x4,_0x4a21cb)],Dt);var mr=Object[_0x3aff44(0x203)],gr=Object[_0x3aff44(0x202)],Sr=(_0x2df571,_0x12b47e,_0x342f39)=>_0x12b47e in _0x2df571?mr(_0x2df571,_0x12b47e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x342f39}):_0x2df571[_0x12b47e]=_0x342f39,Er=(_0x3638ae,_0x179ee7,_0x5bea27,_0xd1e5e5)=>{var _0x244688=_0x3aff44;for(var _0x1cd334=_0xd1e5e5>0x1?void 0x0:_0xd1e5e5?gr(_0x179ee7,_0x5bea27):_0x179ee7,_0x133454=_0x3638ae[_0x244688(0x2fe)]-0x1,_0x3482d7;_0x133454>=0x0;_0x133454--)(_0x3482d7=_0x3638ae[_0x133454])&&(_0x1cd334=_0x3482d7(_0x1cd334)||_0x1cd334);return _0x1cd334;},St=(_0x399a7a,_0x4d541e)=>(_0x4fd376,_0x3e86a4)=>_0x4d541e(_0x4fd376,_0x3e86a4,_0x399a7a),Ir=(_0x3ae23f,_0x2f362c,_0x49a98)=>Sr(_0x3ae23f,_0x2f362c+'',_0x49a98);const Tr=_0x3aff44(0x13f);let Ut=class extends _0x440046{constructor(_0x22c14b,_0x19b809,_0xf1e8,_0x42aa7c){var _0x4529eb=_0x3aff44;super(),N(this,_0x4529eb(0x242)),(this[_0x4529eb(0x1bf)]=_0x19b809,this[_0x4529eb(0xea)]=_0xf1e8,this['_configService']=_0x42aa7c);const {..._0x56d125}=_0x51635c({},wn,_0x22c14b);if(!_0x56d125[_0x4529eb(0x35e)])throw new Error(_0x4529eb(0x1bc));this['_config']=_0x56d125,this[_0x4529eb(0x2ed)][_0x4529eb(0xfc)](q,_0x56d125);}['onStarting'](){var _0xb17472=_0x3aff44;this['_registerDependencies'](),this[_0xb17472(0x126)]();}['_registerDependencies'](){var _0x4d27b2=_0x3aff44,_0x167269,_0xd7128f;this[_0x4d27b2(0xea)][_0x4d27b2(0xba)](_0x4fa255)&&this[_0x4d27b2(0x1bf)][_0x4d27b2(0x2dd)]('[UniverCollaborationClientPlugin]','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x5001f7=_0x43f0e0([[_0x4fa255,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x4d27b2(0x242)][_0x4d27b2(0x35e)]}],[_0x3952ba,{'useClass':Nt}],[_0xca19d,{'useClass':Rt}],[_0x205a84,{'useClass':Ot}],[_0x206e72,{'useClass':yt}],[st],[Ct]],(_0x167269=this[_0x4d27b2(0x242)])==null?void 0x0:_0x167269[_0x4d27b2(0x1f6)]);if(!((_0xd7128f=this['_config'])!=null&&_0xd7128f['enableSingleActiveInstanceLock'])){const _0x2e9ca5=_0x5001f7['findIndex'](([_0x8f064b])=>_0x8f064b===ht);_0x2e9ca5!==-0x1&&_0x5001f7['splice'](_0x2e9ca5,0x1);}_0x5058fc(this[_0x4d27b2(0xea)],_0x5001f7);}[_0x3aff44(0x126)](){var _0x3df559=_0x3aff44,_0x37f9e7,_0x472fea,_0x2b70bf;this[_0x3df559(0xea)][_0x3df559(0x142)](_0x4fb77b)[_0x3df559(0xb6)]({'priority':0x14,'interceptor':_0x2bb1b1({'maxParallel':0x6})}),(_0x37f9e7=this['_config'])!=null&&_0x37f9e7[_0x3df559(0x380)]||(_0x472fea=this[_0x3df559(0xea)][_0x3df559(0x142)](J,_0x4cd278[_0x3df559(0x2e0)]))==null||_0x472fea[_0x3df559(0x19a)](),(_0x2b70bf=this[_0x3df559(0x242)])!=null&&_0x2b70bf[_0x3df559(0x165)]&&_0x813a62(this[_0x3df559(0xea)],[[rt]]),_0x813a62(this[_0x3df559(0xea)],[[at],[st],[ot]]);}};Ir(Ut,'pluginName',Tr),Ut=Er([_0x4c90ec(_0x27987d,_0x4ae3e0),St(0x1,_0x4a21cb),St(0x2,_0x2d5589(_0x548b34)),St(0x3,_0x3c5e42)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|
1
|
+
var _0x451168=_0x4827;(function(_0x2ee039,_0x394045){var _0x4a51c2=_0x4827,_0x5170a7=_0x2ee039();while(!![]){try{var _0x22f9e6=-parseInt(_0x4a51c2(0x4da))/0x1+-parseInt(_0x4a51c2(0x427))/0x2+-parseInt(_0x4a51c2(0x2a0))/0x3*(-parseInt(_0x4a51c2(0x2bb))/0x4)+-parseInt(_0x4a51c2(0x325))/0x5*(parseInt(_0x4a51c2(0x20a))/0x6)+-parseInt(_0x4a51c2(0x344))/0x7+-parseInt(_0x4a51c2(0x341))/0x8+parseInt(_0x4a51c2(0x2d9))/0x9*(parseInt(_0x4a51c2(0x2a4))/0xa);if(_0x22f9e6===_0x394045)break;else _0x5170a7['push'](_0x5170a7['shift']());}catch(_0xe890b0){_0x5170a7['push'](_0x5170a7['shift']());}}}(_0x52f6,0xc57f8));var wi=Object[_0x451168(0x4c8)],Pi=(_0x5c1200,_0x2c7768,_0x250f0e)=>_0x2c7768 in _0x5c1200?wi(_0x5c1200,_0x2c7768,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x250f0e}):_0x5c1200[_0x2c7768]=_0x250f0e,N=(_0x405359,_0x7750c6,_0x467855)=>Pi(_0x405359,typeof _0x7750c6!=_0x451168(0x27e)?_0x7750c6+'':_0x7750c6,_0x467855);import{createIdentifier as _0x4c269b,Inject as _0x4f01fa,Injector as _0x34b850,IConfigService as _0x411df2,ILogService as _0x567e29,Disposable as _0x26eec7,DisposableCollection as _0x2ad3f4,toDisposable as _0x2897c9,IUniverInstanceService as _0x7b4c4,UserManagerService as _0x3dce5d,UniverInstanceType as _0x4dbe30,LocaleService as _0x1f2159,Optional as _0x189190,RxDisposable as _0x2b1296,Tools as _0x13ad23,Rectangle as _0x3d17cd,ICommandService as _0x494a61,JSONX as _0x195c30,CommandType as _0x4a023a,IUndoRedoService as _0x3f0bf9,IPermissionService as _0x3d8c7e,sequenceExecute as _0x10e8b3,Workbook as _0x1cfb06,MentionType as _0x194195,isInternalEditorID as _0x50fc39,LocalUndoRedoService as _0x313441,IContextService as _0x595832,DependentOn as _0x116ae1,Plugin as _0x1d2f9d,merge as _0x338087,mergeOverrideWithDependencies as _0x4a39ef,IAuthzIoService as _0x3f35de,IMentionIOService as _0x5882e6,registerDependencies as _0x1e2b22,Quantity as _0xa4f759,touchDependencies as _0x2e50d5}from'@univerjs/core';import{Subject as _0x3c506d,merge as _0x5efdfb,of as _0x3b65d5,BehaviorSubject as _0x4e232a,takeUntil as _0x1c2da5,ReplaySubject as _0x101e6a,take as _0x5e934b,map as _0x1e69d7,shareReplay as _0x5267a1,firstValueFrom as _0x4362b5,concatMap as _0xbf56f0}from'rxjs';import{map as _0x506b1a,take as _0x5e3488,filter as _0x5bdd19,delay as _0x3e037c,takeUntil as _0x545eda}from'rxjs/operators';import{CollaborationEvent as _0x3c37fa,ISnapshotServerService as _0x56154a,parseChangesetToProtocol as _0x437196,ITransformService as _0x10bc6e,isTransformMutationsWithChangesetSuccess as _0x2eca19,mapDocumentTypeToUniverType as _0x2fbd67,RevisionService as _0x50f162,isTransformChangesetsSuccess as _0x958ecb,CompressMutationService as _0xa499c6,parseProtocolChangeset as _0x22620e,SnapshotService as _0x5e4219,textEncoder as _0x441677,b64DecodeUnicode as _0x4be0d9,isTransformMutationsWithChangesetFailure as _0x272543,UniverCollaborationPlugin as _0x294525}from'@univerjs-pro/collaboration';import{HTTPService as _0x3b3a25,ISocketService as _0x51946f,MergeInterceptorFactory as _0x48909e,HTTPRequest as _0x10a7f1,UniverNetworkPlugin as _0x65ac59,ThresholdInterceptorFactory as _0x331b5a}from'@univerjs/network';import{ITelemetryService as _0x582fe1}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3c15e0}from'@univerjs/docs';import{SheetsSelectionsService as _0xd47234,SetSelectionsOperation as _0x156b8e,InsertSheetMutation as _0x257fc5,EmptyMutation as _0xf4fda8,WorkbookEditablePermission as _0x50c67a,SheetPermissionInitController as _0x307bf1}from'@univerjs/sheets';import{ImageSourceType as _0x5a0f62,ImageUploadStatusType as _0xa79fd,IImageIoService as _0x416532}from'@univerjs/drawing';import{getGlobalObject as _0x3f7220}from'@univerjs-pro/license';const mn=_0x451168(0x32e),gn='/universer-api/snapshot',Sn=_0x451168(0x233),Lr=_0x451168(0x3c0),En=0x7d0,In=_0x451168(0x419),Tn=_0x451168(0x363),xr='/universer-api/user/session-ticket',Cn=_0x451168(0x267),Rn=0x7530,mi=_0x451168(0x4e7),gi=0x4e20,bn=0x4e20,On=_0x451168(0x4cf),yn=0x3,Mr='LOCAL_CACHE_INTERVAL',kr=0x3e8,Nn=_0x451168(0x20f),Dn=_0x451168(0x4a9),Un=_0x451168(0x30b),An=_0x451168(0x265),$r='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hr='/universer-api/uniscript';var Si=(_0x22a857=>(_0x22a857[_0x22a857[_0x451168(0x44b)]=0x0]=_0x451168(0x44b),_0x22a857[_0x22a857['OK']=0x1]='OK',_0x22a857[_0x22a857[_0x451168(0x3fb)]=0x2]='INTERNAL_ERROR',_0x22a857[_0x22a857[_0x451168(0x2da)]=0x3]=_0x451168(0x2da),_0x22a857[_0x22a857[_0x451168(0x41d)]=0x4]=_0x451168(0x41d),_0x22a857[_0x22a857[_0x451168(0x311)]=0x5]=_0x451168(0x311),_0x22a857[_0x22a857[_0x451168(0x33c)]=0x6]=_0x451168(0x33c),_0x22a857[_0x22a857[_0x451168(0x477)]=0x7]=_0x451168(0x477),_0x22a857[_0x22a857['TOO_MANY_REQUESTS']=0x8]=_0x451168(0x412),_0x22a857[_0x22a857['COMPLETION_FINISHED']=0x9]=_0x451168(0x1f2),_0x22a857[_0x22a857['LOGIN_FAILED']=0xa]=_0x451168(0x29f),_0x22a857[_0x22a857[_0x451168(0x218)]=0x1389]=_0x451168(0x218),_0x22a857[_0x22a857[_0x451168(0x217)]=0x1771]=_0x451168(0x217),_0x22a857[_0x22a857[_0x451168(0x4bf)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x22a857[_0x22a857[_0x451168(0x493)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x22a857[_0x22a857[_0x451168(0x3a4)]=0x1b59]=_0x451168(0x3a4),_0x22a857[_0x22a857[_0x451168(0x38e)]=0x1b5a]=_0x451168(0x38e),_0x22a857[_0x22a857[_0x451168(0x389)]=0x1b5b]=_0x451168(0x389),_0x22a857[_0x22a857[_0x451168(0x22f)]=0x1b5c]=_0x451168(0x22f),_0x22a857[_0x22a857[_0x451168(0x447)]=0x1b5d]=_0x451168(0x447),_0x22a857[_0x22a857['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x451168(0x370),_0x22a857[_0x22a857[_0x451168(0x3a9)]=0x2329]=_0x451168(0x3a9),_0x22a857[_0x22a857[_0x451168(0x4b7)]=0x232a]=_0x451168(0x4b7),_0x22a857[_0x22a857['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x451168(0x261),_0x22a857[_0x22a857[_0x451168(0x417)]=0x232c]=_0x451168(0x417),_0x22a857[_0x22a857['LICENSE_DISTRO_REJECTED']=0x232d]=_0x451168(0x27c),_0x22a857[_0x22a857['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x451168(0x236),_0x22a857[_0x22a857[_0x451168(0x4e3)]=0x2712]=_0x451168(0x4e3),_0x22a857[_0x22a857[_0x451168(0x284)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x22a857[_0x22a857[_0x451168(0x319)]=0x2714]=_0x451168(0x319),_0x22a857[_0x22a857['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x451168(0x36d),_0x22a857[_0x22a857[_0x451168(0x3ae)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x22a857[_0x22a857[_0x451168(0x438)]=0x2af9]=_0x451168(0x438),_0x22a857[_0x22a857[_0x451168(0x259)]=0x2ee1]=_0x451168(0x259),_0x22a857[_0x22a857[_0x451168(0x397)]=0x2ee2]=_0x451168(0x397),_0x22a857[_0x22a857[_0x451168(0x322)]=0x2ee3]=_0x451168(0x322),_0x22a857[_0x22a857[_0x451168(0x3ea)]=0x2ee4]=_0x451168(0x3ea),_0x22a857[_0x22a857[_0x451168(0x229)]=0x2ee5]=_0x451168(0x229),_0x22a857[_0x22a857['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x451168(0x3b8),_0x22a857[_0x22a857[_0x451168(0x498)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x22a857[_0x22a857[_0x451168(0x1fa)]=0x32cb]=_0x451168(0x1fa),_0x22a857[_0x22a857[_0x451168(0x242)]=-0x1]='UNRECOGNIZED',_0x22a857))(Si||{}),Q=(_0x3aad69=>(_0x3aad69[_0x3aad69[_0x451168(0x26c)]=0x0]=_0x451168(0x26c),_0x3aad69[_0x3aad69[_0x451168(0x2d0)]=0x1]=_0x451168(0x2d0),_0x3aad69[_0x3aad69[_0x451168(0x1f3)]=0x2]=_0x451168(0x1f3),_0x3aad69[_0x3aad69[_0x451168(0x4a4)]=0x3]=_0x451168(0x4a4),_0x3aad69[_0x3aad69['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x3aad69[_0x3aad69[_0x451168(0x242)]=-0x1]=_0x451168(0x242),_0x3aad69))(Q||{}),F=(_0x2d75cf=>(_0x2d75cf[_0x2d75cf[_0x451168(0x3e8)]=0x0]=_0x451168(0x3e8),_0x2d75cf[_0x2d75cf['HELLO']=0x1]=_0x451168(0x2ea),_0x2d75cf[_0x2d75cf[_0x451168(0x274)]=0x2]='JOIN',_0x2d75cf[_0x2d75cf[_0x451168(0x1f5)]=0x3]=_0x451168(0x1f5),_0x2d75cf[_0x2d75cf[_0x451168(0x40c)]=0x4]=_0x451168(0x40c),_0x2d75cf[_0x2d75cf[_0x451168(0x3b9)]=0x5]=_0x451168(0x3b9),_0x2d75cf[_0x2d75cf[_0x451168(0x2d7)]=0x6]=_0x451168(0x2d7),_0x2d75cf[_0x2d75cf[_0x451168(0x242)]=-0x1]=_0x451168(0x242),_0x2d75cf))(F||{}),ge=(_0x1eb3df=>(_0x1eb3df[_0x1eb3df[_0x451168(0x431)]=0x0]='UNKNOWN_CODE',_0x1eb3df[_0x1eb3df['OK']=0x1]='OK',_0x1eb3df[_0x1eb3df['FAIL']=0x2]=_0x451168(0x40b),_0x1eb3df[_0x1eb3df['JOIN_ROOM_FULL']=0x3e9]=_0x451168(0x383),_0x1eb3df[_0x1eb3df[_0x451168(0x2eb)]=0x3ea]=_0x451168(0x2eb),_0x1eb3df[_0x1eb3df[_0x451168(0x463)]=0x3eb]=_0x451168(0x463),_0x1eb3df[_0x1eb3df['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x451168(0x464),_0x1eb3df[_0x1eb3df['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1eb3df))(ge||{}),Ei=(_0x2fdf6c=>(_0x2fdf6c[_0x2fdf6c[_0x451168(0x1f9)]=0x0]='Undefined',_0x2fdf6c[_0x2fdf6c[_0x451168(0x4a2)]=0x1]=_0x451168(0x4a2),_0x2fdf6c[_0x2fdf6c['HttpExport']=0x2]='HttpExport',_0x2fdf6c[_0x2fdf6c[_0x451168(0x26d)]=0x3]=_0x451168(0x26d),_0x2fdf6c[_0x2fdf6c[_0x451168(0x321)]=0x4]=_0x451168(0x321),_0x2fdf6c[_0x2fdf6c[_0x451168(0x285)]=0x5]='UserProfileImg',_0x2fdf6c[_0x2fdf6c[_0x451168(0x242)]=-0x1]=_0x451168(0x242),_0x2fdf6c))(Ei||{});const q=_0x451168(0x291),wn={};var re=(_0x103b09=>(_0x103b09[_0x451168(0x361)]=_0x451168(0x361),_0x103b09[_0x451168(0x2da)]='PERMISSION_DENIED',_0x103b09['CONFLICT']=_0x451168(0x445),_0x103b09[_0x451168(0x4ce)]=_0x451168(0x4ce),_0x103b09[_0x451168(0x275)]='JOIN_ROOM_FAILED',_0x103b09[_0x451168(0x2fc)]=_0x451168(0x2fc),_0x103b09[_0x451168(0x2a9)]=_0x451168(0x2a9),_0x103b09[_0x451168(0x351)]=_0x451168(0x351),_0x103b09))(re||{});class pe{constructor(){var _0x4f36df=_0x451168;N(this,_0x4f36df(0x37c),new _0x3c506d()),N(this,_0x4f36df(0x480),this[_0x4f36df(0x37c)][_0x4f36df(0x35a)]());}[_0x451168(0x3e3)](_0x33c00a){var _0x3311bb=_0x451168;this[_0x3311bb(0x37c)][_0x3311bb(0x353)](_0x33c00a);}}const Pn=_0x4c269b(_0x451168(0x282));function Ln(_0xb098b3){var _0x2ea8c2=_0x451168,_0x3eb958,_0x19ca4e,_0x2d9416,_0x5d215c,_0x2f4c69;const _0x1d6adb=_0xb098b3[_0x2ea8c2(0x258)],_0x151814=JSON['parse'](_0x1d6adb);switch(_0x151814[_0x2ea8c2(0x35d)]){case F[_0x2ea8c2(0x3b9)]:case F['HELLO']:{const _0xc98c54=_0x151814[_0x2ea8c2(0x3a0)];return{..._0x151814,'data':_0xc98c54,'cmd':_0x151814[_0x2ea8c2(0x35d)]};}case F['JOIN']:{const _0x25e9fd=_0x151814['joinRsp'];return{..._0x151814,'data':_0x25e9fd,'cmd':_0x151814[_0x2ea8c2(0x35d)]};}case F[_0x2ea8c2(0x2d7)]:{const _0x1280ed=_0x151814[_0x2ea8c2(0x22b)];switch(_0x1280ed[_0x2ea8c2(0x290)]){case _0x3c37fa['PERMISSION_REJ']:return{..._0x151814,'data':{..._0x1280ed,'data':(_0x3eb958=_0x1280ed[_0x2ea8c2(0x3ad)])==null?void 0x0:_0x3eb958['cs']},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa['CHANGESET_ACK']:return{..._0x151814,'data':{..._0x1280ed,'data':(_0x19ca4e=_0x1280ed[_0x2ea8c2(0x2a1)])==null?void 0x0:_0x19ca4e['cs']},'cmd':_0x151814['cmd']};case _0x3c37fa[_0x2ea8c2(0x200)]:return{..._0x151814,'data':{..._0x1280ed,'data':(_0x2d9416=_0x1280ed[_0x2ea8c2(0x2f1)])==null?void 0x0:_0x2d9416['cs']},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x279)]:return{..._0x151814,'data':{..._0x1280ed,'data':(_0x5d215c=_0x1280ed[_0x2ea8c2(0x2c1)])==null?void 0x0:_0x5d215c['cs']},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa['CHANGESET_SHOULD_RETRY']:return{..._0x151814,'data':{..._0x1280ed,'data':(_0x2f4c69=_0x1280ed['csShouldRetryEvent'])==null?void 0x0:_0x2f4c69['cs']},'cmd':_0x151814['cmd']};case _0x3c37fa[_0x2ea8c2(0x435)]:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x32a)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x310)]:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x39c)]},'cmd':_0x151814['cmd']};case _0x3c37fa[_0x2ea8c2(0x25d)]:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x2dc)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x40e)]:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x221)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x38f)]:case _0x3c37fa['LIVESHARE_OPERATION']:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x343)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa['LIVESHARE_TERMINATE']:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x221)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x250)]:return{..._0x151814,'data':_0x1280ed,'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa[_0x2ea8c2(0x2bd)]:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x41e)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};case _0x3c37fa['UPDATE_PERMISSION_OBJ']:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x21e)]},'cmd':_0x151814['cmd']};case _0x3c37fa['SHOULD_CLOSE_CONN']:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x37b)]},'cmd':_0x151814['cmd']};case _0x3c37fa['UNISCRIPT_RUN']:return{..._0x151814,'data':{..._0x1280ed,'data':_0x1280ed[_0x2ea8c2(0x1fe)]},'cmd':_0x151814[_0x2ea8c2(0x35d)]};default:return _0x151814;}}default:return _0x151814;}}function xn(_0x2028e9){var _0x119300=_0x451168;switch(_0x2028e9['cmd']){case F['HEARTBEAT']:case F[_0x119300(0x2ea)]:return JSON[_0x119300(0x2fa)]({'cmd':_0x2028e9[_0x119300(0x35d)],'routeKey':_0x2028e9[_0x119300(0x283)]});case F[_0x119300(0x40c)]:{let _0x176e0a;switch(_0x2028e9[_0x119300(0x258)][_0x119300(0x290)]){case _0x3c37fa[_0x119300(0x435)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x435)],'updateCursorEvent':_0x2028e9['data'][_0x119300(0x258)]};break;}case _0x3c37fa[_0x119300(0x25d)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x25d)],'leaveEvent':_0x2028e9[_0x119300(0x258)][_0x119300(0x258)]};break;}case _0x3c37fa['USERS_ENTER']:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x310)],'joinEvent':_0x2028e9[_0x119300(0x258)][_0x119300(0x258)]};break;}case _0x3c37fa['LIVESHARE_NEW_HOST']:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x40e)],'liveShareNewHost':_0x2028e9[_0x119300(0x258)][_0x119300(0x258)]};break;}case _0x3c37fa[_0x119300(0x323)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x323)],'liveShareOperation':_0x2028e9[_0x119300(0x258)][_0x119300(0x258)]};break;}case _0x3c37fa[_0x119300(0x22e)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x22e)],'liveShareTerminate':_0x2028e9[_0x119300(0x258)]['data']};break;}case _0x3c37fa[_0x119300(0x3af)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x3af)],'liveShareRequestHost':_0x2028e9[_0x119300(0x258)][_0x119300(0x258)]};break;}case _0x3c37fa[_0x119300(0x38f)]:{_0x176e0a={'eventID':_0x3c37fa[_0x119300(0x38f)]};break;}default:_0x176e0a={'eventID':_0x2028e9[_0x119300(0x258)][_0x119300(0x290)]};}return JSON[_0x119300(0x2fa)]({'cmd':_0x2028e9['cmd'],'routeKey':_0x2028e9[_0x119300(0x283)],'collaMsg':_0x176e0a});}case F[_0x119300(0x274)]:return JSON[_0x119300(0x2fa)]({'cmd':_0x2028e9[_0x119300(0x35d)],'routeKey':_0x2028e9[_0x119300(0x283)],'joinReq':_0x2028e9[_0x119300(0x258)]});case F['LEAVE']:return JSON[_0x119300(0x2fa)]({'cmd':_0x2028e9[_0x119300(0x35d)],'routeKey':_0x2028e9[_0x119300(0x283)],'leaveReq':_0x2028e9[_0x119300(0x258)]});default:throw new Error(_0x119300(0x365));}}var Mn=Object[_0x451168(0x30f)],kn=(_0x577c75,_0xbd54e7,_0x4430e3,_0x589611)=>{var _0x5cd39a=_0x451168;for(var _0x18e378=_0x589611>0x1?void 0x0:_0x589611?Mn(_0xbd54e7,_0x4430e3):_0xbd54e7,_0x4c77f2=_0x577c75[_0x5cd39a(0x2c5)]-0x1,_0x251fcf;_0x4c77f2>=0x0;_0x4c77f2--)(_0x251fcf=_0x577c75[_0x4c77f2])&&(_0x18e378=_0x251fcf(_0x18e378)||_0x18e378);return _0x18e378;},Ae=(_0x3e0de2,_0x1fce69)=>(_0x5cb828,_0x537820)=>_0x1fce69(_0x5cb828,_0x537820,_0x3e0de2);const Ii=_0x4c269b('univer-pro.collaboration-client-socket-service');function $n(_0x28ab44,_0x5ef520,_0x4f0edf){var _0xa367ec=_0x451168;return _0x28ab44+'/'+_0x5ef520+'/unit/'+_0x4f0edf+_0xa367ec(0x28e);}let Gt=class extends _0x26eec7{constructor(_0x232b11,_0x209cd2,_0x1bc28b,_0x4e9e51,_0x3c39cd){var _0x511afb=_0x451168;super(),this[_0x511afb(0x3a5)]=_0x232b11,this[_0x511afb(0x31b)]=_0x209cd2,this[_0x511afb(0x379)]=_0x1bc28b,this[_0x511afb(0x2e2)]=_0x4e9e51,this[_0x511afb(0x402)]=_0x3c39cd;}[_0x451168(0x39a)](_0x1813ae){var _0x55b88e=_0x451168;const _0x4dd891=this[_0x55b88e(0x3a5)][_0x55b88e(0x3f1)](_0x51946f);if(!_0x4dd891)throw new Error(_0x55b88e(0x2df));const _0x5bbdc6=_0x4dd891['createSocket'](_0x1813ae);if(!_0x5bbdc6)throw new Error(_0x55b88e(0x266));const _0x1922d4=new _0x2ad3f4(),_0x18cfde=new _0x3c506d();_0x1922d4[_0x55b88e(0x3dd)](_0x5bbdc6[_0x55b88e(0x2bf)][_0x55b88e(0x375)](_0x1459af=>_0x18cfde['next'](_0x1459af))),_0x1922d4[_0x55b88e(0x3dd)](_0x2897c9(()=>_0x18cfde[_0x55b88e(0x367)]()));const _0x348a26=new _0x3c506d();_0x1922d4[_0x55b88e(0x3dd)](_0x5bbdc6[_0x55b88e(0x278)][_0x55b88e(0x375)](_0x1f969a=>_0x348a26['next'](_0x1f969a))),_0x1922d4[_0x55b88e(0x3dd)](_0x2897c9(()=>_0x348a26[_0x55b88e(0x367)]()));const _0x27d62c=new _0x3c506d();_0x1922d4[_0x55b88e(0x3dd)](_0x5bbdc6[_0x55b88e(0x3e2)][_0x55b88e(0x375)](_0x5d26ae=>{const _0x12f14f=Ln(_0x5d26ae);_0x27d62c['next'](_0x12f14f);})),_0x1922d4[_0x55b88e(0x3dd)](_0x2897c9(()=>_0x27d62c['complete']()));let _0x272e26;const _0x72eaf5=()=>{var _0x3a05f1=_0x55b88e;_0x348a26['next'](new Event(_0x3a05f1(0x45f))),_0x18cfde[_0x3a05f1(0x353)](new Event(_0x3a05f1(0x45f))),_0x272e26['close']();};return _0x272e26={'memberID':'','close$':_0x18cfde['asObservable'](),'error$':_0x348a26[_0x55b88e(0x35a)](),'open$':_0x5bbdc6['open$'],'message$':_0x27d62c[_0x55b88e(0x35a)](),'send':_0x73592f=>{var _0x21e638=_0x55b88e;if(_0x73592f['cmd']===F[_0x21e638(0x40c)]){if(_0x73592f['data'][_0x21e638(0x290)]===_0x3c37fa[_0x21e638(0x286)]){this['_submitChangeset'](_0x272e26,_0x73592f[_0x21e638(0x258)])[_0x21e638(0x228)](_0x35ddd0=>{var _0x16dce1=_0x21e638;this[_0x16dce1(0x2e2)]['error'](_0x35ddd0),_0x72eaf5();});return;}if(_0x73592f[_0x21e638(0x258)]['eventID']===_0x3c37fa['FETCH_MISSING']){const _0x369edb=_0x73592f[_0x21e638(0x258)];this[_0x21e638(0x364)](_0x369edb)['then'](_0x374c72=>{var _0x337057=_0x21e638;_0x27d62c[_0x337057(0x353)]({'cmd':F[_0x337057(0x2d7)],'code':ge['OK'],'routeKey':_0x369edb[_0x337057(0x258)][_0x337057(0x24d)],'routeType':'','data':{'eventID':_0x3c37fa[_0x337057(0x428)],'data':{'changesets':_0x374c72}}});})[_0x21e638(0x228)](_0x1ec969=>{var _0x386d6f=_0x21e638;this[_0x386d6f(0x2e2)][_0x386d6f(0x24c)](_0x1ec969),_0x72eaf5();});return;}}_0x5bbdc6[_0x21e638(0x3da)](xn(_0x73592f));},'close':()=>{var _0x3eeac7=_0x55b88e;_0x5bbdc6[_0x3eeac7(0x3d9)](),_0x1922d4[_0x3eeac7(0x35e)]();}},_0x272e26;}async[_0x451168(0x471)](_0xb88311,_0x47af26){var _0x360098=_0x451168,_0x105ef6,_0x394355;const {unitType:_0x3b7023,unitID:_0x49ecda,changeset:_0x492de7}=_0x47af26[_0x360098(0x258)],_0x2bf957={'unitID':_0x49ecda,'memberID':_0xb88311['memberID'],'type':_0x3b7023,'changeset':_0x437196(_0x492de7)},_0x1641ab=this[_0x360098(0x379)]['getConfig'](Nn),_0x588fa5=this[_0x360098(0x379)][_0x360098(0x4dd)](q),_0x4a3084=$n((_0x394355=(_0x105ef6=_0x588fa5==null?void 0x0:_0x588fa5['collabSubmitChangesetUrl'])!=null?_0x105ef6:_0x1641ab)!=null?_0x394355:Dn,_0x3b7023,_0x49ecda);try{await this['_httpService'][_0x360098(0x25f)](_0x4a3084,{'body':_0x2bf957});}catch(_0x3e0201){throw this[_0x360098(0x2e2)][_0x360098(0x24c)](_0x360098(0x216),_0x360098(0x35c)),_0x3e0201;}}async[_0x451168(0x364)](_0x38a8ae){var _0x2fefe1=_0x451168;const {unitID:_0x568f7c,from:_0x8216b2,to:_0x46086b,unitType:_0x35b176}=_0x38a8ae['data'];return(await this[_0x2fefe1(0x402)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x568f7c,'type':_0x35b176,'from':_0x8216b2,'to':_0x46086b}))[_0x2fefe1(0x3c3)];}};Gt=kn([Ae(0x0,_0x4f01fa(_0x34b850)),Ae(0x1,_0x4f01fa(_0x3b3a25)),Ae(0x2,_0x411df2),Ae(0x3,_0x567e29),Ae(0x4,_0x56154a)],Gt);const Hn=_0x451168(0x2a2);function Bn(_0x3d1511){var _0x4a80bf=_0x451168;return JSON['stringify'](_0x3d1511)[_0x4a80bf(0x2c5)];}class Ti{constructor(){var _0x895303=_0x451168;N(this,_0x895303(0x2b7),new _0x3c506d()),N(this,_0x895303(0x299),this[_0x895303(0x2b7)][_0x895303(0x35a)]());}[_0x451168(0x34f)](_0x2731e9){var _0x377856=_0x451168;this[_0x377856(0x2b7)][_0x377856(0x353)](_0x2731e9);}}var jn=Object[_0x451168(0x30f)],Fn=(_0x384054,_0x23ce19,_0x1b4e1f,_0xe6a8bd)=>{var _0x395170=_0x451168;for(var _0x247b88=_0xe6a8bd>0x1?void 0x0:_0xe6a8bd?jn(_0x23ce19,_0x1b4e1f):_0x23ce19,_0x489a0f=_0x384054[_0x395170(0x2c5)]-0x1,_0x37e371;_0x489a0f>=0x0;_0x489a0f--)(_0x37e371=_0x384054[_0x489a0f])&&(_0x247b88=_0x37e371(_0x247b88)||_0x247b88);return _0x247b88;},Wt=(_0x57480a,_0x14443e)=>(_0x56802a,_0x166d96)=>_0x14443e(_0x56802a,_0x166d96,_0x57480a);let Le=class extends _0x26eec7{constructor(_0x373d86,_0x63d491){var _0xcc28f0=_0x451168;super(),N(this,'_roomMembers',new Map()),N(this,_0xcc28f0(0x3be),new _0x3c506d()),(this[_0xcc28f0(0x3f3)]=_0x373d86,this[_0xcc28f0(0x4dc)]=_0x63d491,this[_0xcc28f0(0x29c)](_0x5efdfb(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4dbe30[_0xcc28f0(0x1f3)])[_0xcc28f0(0x3cb)](_0x506b1a(_0x2cd426=>_0x2cd426[_0xcc28f0(0x491)]())),this[_0xcc28f0(0x3f3)][_0xcc28f0(0x4ed)](_0x4dbe30[_0xcc28f0(0x2d0)])[_0xcc28f0(0x3cb)](_0x506b1a(_0xe94f26=>_0xe94f26[_0xcc28f0(0x491)]())),this[_0xcc28f0(0x3f3)]['getTypeOfUnitDisposed$'](_0x4dbe30['UNIVER_SLIDE'])[_0xcc28f0(0x3cb)](_0x506b1a(_0x3b698f=>_0x3b698f[_0xcc28f0(0x491)]())))[_0xcc28f0(0x375)](_0x45ca8c=>this[_0xcc28f0(0x227)](_0x45ca8c))));}[_0x451168(0x346)](_0x1b7664){var _0x4342f5=_0x451168;return this[_0x4342f5(0x243)][_0x4342f5(0x21f)](_0x1b7664)?_0x3b65d5(this['_roomMembers'][_0x4342f5(0x3f1)](_0x1b7664)):this[_0x4342f5(0x3be)][_0x4342f5(0x3cb)](_0x506b1a(_0xf54530=>{var _0x533400=_0x4342f5;if(_0xf54530===_0x1b7664)return this[_0x533400(0x243)][_0x533400(0x3f1)](_0xf54530);}));}[_0x451168(0x3cf)](_0x3d8425){var _0x186032=_0x451168;this[_0x186032(0x4dc)][_0x186032(0x3cf)](_0x3d8425);}[_0x451168(0x33d)](){var _0x3ad365=_0x451168;return this['_userManagerService'][_0x3ad365(0x33d)]();}[_0x451168(0x223)](_0x17f12f,_0x4af398){var _0x869128=_0x451168;let _0x424be8=this[_0x869128(0x243)][_0x869128(0x3f1)](_0x17f12f);_0x424be8||(_0x424be8=new Vn(),this[_0x869128(0x243)][_0x869128(0x449)](_0x17f12f,_0x424be8),this[_0x869128(0x3be)]['next'](_0x17f12f)),_0x424be8[_0x869128(0x223)](_0x4af398);}[_0x451168(0x3bd)](_0x18c0dd,_0x1742a7){var _0x51ab5c=_0x451168;const _0x5f1e5a=this['_roomMembers'][_0x51ab5c(0x3f1)](_0x18c0dd);_0x5f1e5a&&_0x5f1e5a[_0x51ab5c(0x3bd)](_0x1742a7);}[_0x451168(0x2c8)](_0x3e2912){var _0x4c18db=_0x451168;return this[_0x4c18db(0x243)][_0x4c18db(0x3f1)](_0x3e2912);}[_0x451168(0x2ee)](_0x6ecab0,_0x1ff9ea){var _0x1f9587=_0x451168;const _0x50f3a2=this['_roomMembers'][_0x1f9587(0x3f1)](_0x6ecab0);if(_0x50f3a2)return _0x50f3a2['getMember'](_0x1ff9ea);}['_removeRoom'](_0x274bc0){var _0x5a83cf=_0x451168;const _0x448ee1=this['_roomMembers'][_0x5a83cf(0x3f1)](_0x274bc0);_0x448ee1&&(_0x448ee1['dispose'](),this[_0x5a83cf(0x243)][_0x5a83cf(0x2f4)](_0x274bc0));}[_0x451168(0x35e)](){var _0x161e6a=_0x451168;this[_0x161e6a(0x243)][_0x161e6a(0x4b2)](_0x24677b=>_0x24677b[_0x161e6a(0x35e)]()),this[_0x161e6a(0x243)][_0x161e6a(0x4b0)](),this['_roomCreated$'][_0x161e6a(0x367)]();}};Le=Fn([Wt(0x0,_0x7b4c4),Wt(0x1,_0x4f01fa(_0x3dce5d))],Le);class Vn extends _0x26eec7{constructor(){var _0x10648f=_0x451168;super(...arguments),N(this,_0x10648f(0x357),new Map()),N(this,_0x10648f(0x423),new _0x4e232a(this[_0x10648f(0x357)])),N(this,_0x10648f(0x288),this[_0x10648f(0x423)]['asObservable']());}[_0x451168(0x35e)](){var _0xf73ce8=_0x451168;this[_0xf73ce8(0x357)]['clear']();}['updateMember'](_0x49c98){var _0x1d32d9=_0x451168;this['_members'][_0x1d32d9(0x449)](_0x49c98[_0x1d32d9(0x3b6)],_0x49c98),this['_emitMembers']();}['removeMember'](_0x4ae52e){var _0x2c7185=_0x451168;this[_0x2c7185(0x357)][_0x2c7185(0x2f4)](_0x4ae52e);}['getMember'](_0x23615f){var _0x2b9049=_0x451168;return this['_members'][_0x2b9049(0x3f1)](_0x23615f);}['getAllMembers'](){var _0x4b21eb=_0x451168;return Array[_0x4b21eb(0x400)](this[_0x4b21eb(0x357)]['values']());}[_0x451168(0x2fe)](){var _0xf4436f=_0x451168;this['_members$'][_0xf4436f(0x353)](this['_members']);}}var Gn=Object[_0x451168(0x30f)],Wn=(_0x27fa0f,_0x5a566c,_0x4f5dc9,_0xdc3c34)=>{var _0x328f13=_0x451168;for(var _0x4dea7c=_0xdc3c34>0x1?void 0x0:_0xdc3c34?Gn(_0x5a566c,_0x4f5dc9):_0x5a566c,_0x13d1f5=_0x27fa0f[_0x328f13(0x2c5)]-0x1,_0x517735;_0x13d1f5>=0x0;_0x13d1f5--)(_0x517735=_0x27fa0f[_0x13d1f5])&&(_0x4dea7c=_0x517735(_0x4dea7c)||_0x4dea7c);return _0x4dea7c;},me=(_0x5c3059,_0x21a9a1)=>(_0x102af6,_0xc675c7)=>_0x21a9a1(_0x102af6,_0xc675c7,_0x5c3059),Ee=(_0x14fe13=>(_0x14fe13[_0x14fe13['IDLE']=0x0]=_0x451168(0x4d9),_0x14fe13[_0x14fe13['JOINING']=0x1]=_0x451168(0x270),_0x14fe13[_0x14fe13[_0x451168(0x39e)]=0x2]=_0x451168(0x39e),_0x14fe13[_0x14fe13['ONLINE']=0x3]=_0x451168(0x410),_0x14fe13))(Ee||{});const Kt={[ge[_0x451168(0x40b)]]:_0x451168(0x27f),[ge[_0x451168(0x383)]]:_0x451168(0x1f0),[ge[_0x451168(0x2eb)]]:'session.room-not-exists',[ge[_0x451168(0x463)]]:_0x451168(0x33e),[ge[_0x451168(0x464)]]:'session.room-cnt-exceeds'};let Et=class extends _0x2b1296{constructor(_0x5a0a2d,_0x2cc500,_0x178b98,_0xc77570,_0x5cab1a,_0x22b028,_0x55db1c,_0xad4026,_0x130ec7){var _0x11ecfc=_0x451168;super(),N(this,_0x11ecfc(0x4a5),new _0x4e232a(0x0)),N(this,_0x11ecfc(0x254),this[_0x11ecfc(0x4a5)][_0x11ecfc(0x35a)]()),N(this,_0x11ecfc(0x37c),new _0x3c506d()),N(this,'event$',this['_event$'][_0x11ecfc(0x35a)]()),N(this,'_socket'),N(this,_0x11ecfc(0x4b1)),N(this,_0x11ecfc(0x264)),N(this,_0x11ecfc(0x486),!0x1),N(this,_0x11ecfc(0x3b3),null),(this['_unitID']=_0x5a0a2d,this[_0x11ecfc(0x2e2)]=_0x178b98,this['_configService']=_0xc77570,this[_0x11ecfc(0x3bf)]=_0x5cab1a,this[_0x11ecfc(0x256)]=_0x22b028,this['_commentService']=_0x55db1c,this[_0x11ecfc(0x32c)]=_0xad4026,this[_0x11ecfc(0x31d)]=_0x130ec7,this[_0x11ecfc(0x486)]=!!this[_0x11ecfc(0x31d)],_0x2cc500[_0x11ecfc(0x3cb)](_0x1c2da5(this[_0x11ecfc(0x330)]))['subscribe'](_0x34c12c=>{var _0x37e243=_0x11ecfc,_0x7c8030;typeof _0x34c12c>'u'||(this[_0x37e243(0x2af)]=_0x34c12c,_0x34c12c?(this[_0x37e243(0x3d4)](_0x34c12c),this[_0x37e243(0x4b1)]=_0x34c12c[_0x37e243(0x3e2)]['subscribe'](_0x1b96ea=>{var _0xb93e62=_0x37e243;_0x1b96ea[_0xb93e62(0x283)]===this[_0xb93e62(0x2c0)]&&this[_0xb93e62(0x203)](_0x1b96ea);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x37e243(0x4a5)][_0x37e243(0x353)](0x2),(_0x7c8030=this[_0x37e243(0x4b1)])==null||_0x7c8030[_0x37e243(0x3d7)](),this[_0x37e243(0x4b1)]=null));}));}get[_0x451168(0x28b)](){var _0x47a508=_0x451168;return this[_0x47a508(0x4a5)][_0x47a508(0x281)]();}[_0x451168(0x21b)](){var _0x2562e0=_0x451168,_0x34aed7,_0x1129bf;return(_0x1129bf=(_0x34aed7=this[_0x2562e0(0x2af)])==null?void 0x0:_0x34aed7[_0x2562e0(0x3b6)])!=null?_0x1129bf:null;}[_0x451168(0x35e)](){var _0x5c1e6f=_0x451168;super[_0x5c1e6f(0x35e)](),this[_0x5c1e6f(0x330)][_0x5c1e6f(0x353)](),this[_0x5c1e6f(0x330)][_0x5c1e6f(0x367)]();}['close'](){var _0x3f381c=_0x451168,_0x1f9ed5,_0x5c37a9;this[_0x3f381c(0x49f)](),(_0x1f9ed5=this[_0x3f381c(0x2af)])==null||_0x1f9ed5[_0x3f381c(0x3da)]({'cmd':F['LEAVE'],'data':{'roomID':this[_0x3f381c(0x2c0)]}}),(_0x5c37a9=this[_0x3f381c(0x2af)])==null||_0x5c37a9[_0x3f381c(0x3d9)](),this[_0x3f381c(0x37c)][_0x3f381c(0x367)](),this[_0x3f381c(0x4a5)][_0x3f381c(0x367)](),this[_0x3f381c(0x35e)]();}[_0x451168(0x203)](_0x3e6ec5){var _0x1ff3db=_0x451168;_0x3e6ec5[_0x1ff3db(0x35d)]===F[_0x1ff3db(0x274)]?this[_0x1ff3db(0x225)](_0x3e6ec5):_0x3e6ec5[_0x1ff3db(0x35d)]===F['RECV']&&this[_0x1ff3db(0x296)](_0x3e6ec5);}['_joinRoom'](_0x2896d6){var _0x57e76f=_0x451168;this[_0x57e76f(0x4a5)]['next'](0x1),_0x2896d6[_0x57e76f(0x3da)]({'cmd':F[_0x57e76f(0x274)],'routeKey':this[_0x57e76f(0x2c0)],'routeType':'','data':{'rooms':[{'roomID':this[_0x57e76f(0x2c0)]}]}});}[_0x451168(0x225)](_0x55e010){var _0x3b0a50=_0x451168,_0x1b1f66;if(_0x55e010['code']in Kt){this['_collaborationUIEventService'][_0x3b0a50(0x3e3)]({'id':re[_0x3b0a50(0x275)],'data':Kt[_0x55e010[_0x3b0a50(0x2ff)]]}),this[_0x3b0a50(0x4a5)][_0x3b0a50(0x353)](0x2);return;}this[_0x3b0a50(0x4a5)][_0x3b0a50(0x353)](0x3);const _0x1cd249=(_0x1b1f66=_0x55e010[_0x3b0a50(0x258)]['roomInfos'][this[_0x3b0a50(0x2c0)]])==null?void 0x0:_0x1b1f66[_0x3b0a50(0x268)];_0x1cd249&&_0x1cd249[_0x3b0a50(0x4b2)](_0x185a6c=>this[_0x3b0a50(0x256)][_0x3b0a50(0x223)](this[_0x3b0a50(0x2c0)],_0x185a6c));}[_0x451168(0x296)](_0x2a69db){var _0x5ca265=_0x451168;try{const _0xf7f312=_0x2a69db[_0x5ca265(0x258)];switch(_0xf7f312[_0x5ca265(0x290)]){case _0x3c37fa['USERS_ENTER']:this[_0x5ca265(0x43f)](_0xf7f312),this[_0x5ca265(0x37c)][_0x5ca265(0x353)](_0xf7f312);break;case _0x3c37fa[_0x5ca265(0x25d)]:this[_0x5ca265(0x450)](_0xf7f312),this[_0x5ca265(0x37c)]['next'](_0xf7f312);break;case _0x3c37fa['CHANGESET_ACK']:case _0x3c37fa[_0x5ca265(0x333)]:this[_0x5ca265(0x30a)](),this['_clearCollaborationTimeoutTimer'](),this['_event$']['next'](_0xf7f312);break;case _0x3c37fa[_0x5ca265(0x250)]:this[_0x5ca265(0x2e2)]['error']('save\x20fail\x20reason\x20is\x20'+JSON[_0x5ca265(0x2fa)](_0xf7f312)),this['_event$']['next'](_0xf7f312);break;case _0x3c37fa[_0x5ca265(0x2bd)]:this[_0x5ca265(0x388)][_0x5ca265(0x34f)](_0xf7f312[_0x5ca265(0x258)]),this[_0x5ca265(0x37c)][_0x5ca265(0x353)](_0xf7f312);break;default:this[_0x5ca265(0x37c)][_0x5ca265(0x353)](_0xf7f312);}}catch(_0xd838f){this['_logService'][_0x5ca265(0x24c)](_0xd838f,_0x2a69db);}}[_0x451168(0x43f)](_0x4da91b){var _0x210a53=_0x451168;this[_0x210a53(0x256)][_0x210a53(0x223)](this[_0x210a53(0x2c0)],_0x4da91b[_0x210a53(0x258)]);}[_0x451168(0x450)](_0x5deb99){var _0x29287b=_0x451168;this['_memberService'][_0x29287b(0x3bd)](this[_0x29287b(0x2c0)],_0x5deb99[_0x29287b(0x258)][_0x29287b(0x3b6)]);}async[_0x451168(0x3da)](_0x56aa4d,_0x4d504d){var _0x4661a3=_0x451168;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x4661a3(0x4ea));try{_0x56aa4d['eventID']===_0x3c37fa[_0x4661a3(0x286)]&&(this[_0x4661a3(0x2d6)](),this[_0x4661a3(0x48f)](_0x56aa4d)),this['_socket'][_0x4661a3(0x3da)]({'cmd':F[_0x4661a3(0x40c)],'routeKey':_0x4d504d,'routeType':'','data':_0x56aa4d});}catch(_0x1cad1b){this[_0x4661a3(0x2e2)]['error'](_0x1cad1b);}}['_scheduleCollaborationTimeoutTimer'](){var _0x287c63=_0x451168,_0x654882;this[_0x287c63(0x264)]=setTimeout(()=>{var _0x23dbde=_0x287c63;this[_0x23dbde(0x264)]=null,this[_0x23dbde(0x32c)][_0x23dbde(0x3e3)]({'id':re['SUBMIT_CHANGESET_TIMEOUT']});},(_0x654882=this[_0x287c63(0x379)][_0x287c63(0x4dd)](mi))!=null?_0x654882:gi);}['_clearCollaborationTimeoutTimer'](){var _0x1ad71e=_0x451168;this[_0x1ad71e(0x264)]&&(clearTimeout(this[_0x1ad71e(0x264)]),this[_0x1ad71e(0x264)]=null);}[_0x451168(0x48f)](_0x237a9f){var _0xff6c11=_0x451168;if(!this['_shouldReportTelemetry'])return;const {data:_0x30f784}=_0x237a9f,{unitID:_0x10e276,changeset:_0x4add93}=_0x30f784,{mutations:_0x134725,type:_0x1c681c}=_0x4add93;this[_0xff6c11(0x3b3)]={'unitId':_0x10e276,'type':_0x1c681c,'startTime':performance[_0xff6c11(0x3a2)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x134725)};}[_0x451168(0x30a)](){var _0x10371a=_0x451168;if(this[_0x10371a(0x486)]){if(!this[_0x10371a(0x3b3)]){this[_0x10371a(0x2e2)][_0x10371a(0x24c)](_0x10371a(0x216),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x10371a(0x3b3)]['stopTime']=performance['now'](),this[_0x10371a(0x3b3)][_0x10371a(0x26f)]=this[_0x10371a(0x3b3)][_0x10371a(0x24f)]-this[_0x10371a(0x3b3)][_0x10371a(0x374)],this['_telemetryService'][_0x10371a(0x262)](Hn,this[_0x10371a(0x3b3)]),this[_0x10371a(0x3b3)]=null;}}[_0x451168(0x49f)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x567e29),me(0x3,_0x411df2),me(0x4,_0x4f01fa(_0x1f2159)),me(0x5,_0x4f01fa(Le)),me(0x6,_0x4f01fa(Ti)),me(0x7,_0x4f01fa(pe)),me(0x8,_0x189190(_0x582fe1))],Et);var Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x5207ab,_0xba4fc4,_0x1d6871,_0x107dee)=>{var _0x5c4dea=_0x451168;for(var _0x33ace8=_0x107dee>0x1?void 0x0:_0x107dee?Kn(_0xba4fc4,_0x1d6871):_0xba4fc4,_0x5072b1=_0x5207ab[_0x5c4dea(0x2c5)]-0x1,_0x92b829;_0x5072b1>=0x0;_0x5072b1--)(_0x92b829=_0x5207ab[_0x5072b1])&&(_0x33ace8=_0x92b829(_0x33ace8)||_0x33ace8);return _0x33ace8;},be=(_0x4d5436,_0x5412aa)=>(_0x473ed9,_0x4a0e2b)=>_0x5412aa(_0x473ed9,_0x4a0e2b,_0x4d5436);let xe=class extends _0x26eec7{constructor(_0x43b19a,_0x1aabd0,_0x374c6e,_0x456a82,_0x134777,_0x353da8){var _0x42f7e0=_0x451168;super(),N(this,'_socket$',new _0x4e232a(void 0x0)),N(this,_0x42f7e0(0x306),this['_socket$']['asObservable']()),N(this,_0x42f7e0(0x401),null),N(this,'_sessions',new Map()),N(this,_0x42f7e0(0x3f7),new _0x4e232a(Ee['IDLE'])),N(this,_0x42f7e0(0x2ce),this[_0x42f7e0(0x3f7)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0x42f7e0(0x252)),N(this,_0x42f7e0(0x202),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x42f7e0(0x39b)),(this[_0x42f7e0(0x3a5)]=_0x43b19a,this['_logService']=_0x1aabd0,this['_configService']=_0x374c6e,this[_0x42f7e0(0x22d)]=_0x456a82,this['_collaborationUIEventService']=_0x134777,this[_0x42f7e0(0x3b5)]=_0x353da8,this[_0x42f7e0(0x1fb)]());}get['_socket'](){var _0x49ee0f=_0x451168;return this[_0x49ee0f(0x2de)][_0x49ee0f(0x281)]();}['_listenToNetworkCondition'](){var _0x357831=_0x451168;this[_0x357831(0x3b5)]&&this['disposeWithMe'](this[_0x357831(0x3b5)][_0x357831(0x2e4)][_0x357831(0x375)](_0x485953=>{var _0x279f12=_0x357831;_0x485953&&!this[_0x279f12(0x2af)]&&this[_0x279f12(0x260)](),_0x485953||this[_0x279f12(0x3f6)]();}));}[_0x451168(0x35e)](){var _0x449e97=_0x451168;super[_0x449e97(0x35e)](),this[_0x449e97(0x3f2)](),this[_0x449e97(0x30c)](),this[_0x449e97(0x489)](),this[_0x449e97(0x20b)][_0x449e97(0x4b2)](_0xbde9dd=>_0xbde9dd[_0x449e97(0x35e)]()),this[_0x449e97(0x20b)][_0x449e97(0x4b0)](),this['_status$'][_0x449e97(0x367)]();}async['requireSession'](_0xfa88bc){var _0xaebe6f=_0x451168;if(this['_sessions'][_0xaebe6f(0x21f)](_0xfa88bc))return this['_sessions'][_0xaebe6f(0x3f1)](_0xfa88bc);this[_0xaebe6f(0x347)]();const _0x476632=this[_0xaebe6f(0x3a5)][_0xaebe6f(0x271)](Et,_0xfa88bc,this['_socket$']['asObservable']());return this[_0xaebe6f(0x20b)][_0xaebe6f(0x449)](_0xfa88bc,_0x476632),_0x476632;}[_0x451168(0x479)](_0x5b29bd){var _0x2d244e=_0x451168,_0x24e72d;const _0x3869e9=this[_0x2d244e(0x20b)][_0x2d244e(0x3f1)](_0x5b29bd);_0x3869e9&&(this[_0x2d244e(0x20b)][_0x2d244e(0x2f4)](_0x5b29bd),_0x3869e9[_0x2d244e(0x3d9)]()),this['_sessions'][_0x2d244e(0x312)]||(_0x24e72d=this[_0x2d244e(0x2af)])==null||_0x24e72d[_0x2d244e(0x3d9)]();}[_0x451168(0x260)](){var _0x97b4b2=_0x451168;this['_retryCount']=0x0,this[_0x97b4b2(0x3f2)](),this[_0x97b4b2(0x44c)]();}[_0x451168(0x3f2)](){var _0x41d453=_0x451168;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x41d453(0x252)]),this[_0x41d453(0x252)]=null);}async[_0x451168(0x487)](){var _0x3f6e36=_0x451168,_0x24d633,_0x798131;const _0x4cbf60=this['_configService'][_0x3f6e36(0x4dd)](In),_0x82b8f3=this[_0x3f6e36(0x379)]['getConfig'](q),_0x27ce7d=(_0x798131=(_0x24d633=_0x82b8f3==null?void 0x0:_0x82b8f3['collabWebSocketUrl'])!=null?_0x24d633:_0x4cbf60)!=null?_0x798131:Tn,_0x568110=await this[_0x3f6e36(0x22d)]['createSocket'](_0x27ce7d);return this[_0x3f6e36(0x401)]=_0x568110,_0x568110;}async[_0x451168(0x347)](){var _0x2e346b=_0x451168,_0x45663f,_0x27471b;try{const _0x57cec8=(_0x27471b=(_0x45663f=this[_0x2e346b(0x2af)])!=null?_0x45663f:this[_0x2e346b(0x401)])!=null?_0x27471b:await this[_0x2e346b(0x487)]();if(_0x57cec8){const _0x4827cf=_0x57cec8[_0x2e346b(0x3da)];_0x57cec8[_0x2e346b(0x3da)]=_0x41c9b3=>(this[_0x2e346b(0x2f9)](),_0x4827cf['apply'](_0x57cec8,[_0x41c9b3])),_0x57cec8[_0x2e346b(0x3e2)]['subscribe'](_0x3b787c=>this[_0x2e346b(0x405)](_0x57cec8,_0x3b787c)),_0x57cec8['error$'][_0x2e346b(0x3cb)](_0x5e3488(0x1))[_0x2e346b(0x375)](_0x5f49f8=>this['_logService'][_0x2e346b(0x24c)]('[CollaborationSessionService]:\x20socket\x20error',_0x5f49f8)),_0x57cec8[_0x2e346b(0x3ac)]['pipe'](_0x5e3488(0x1))['subscribe'](()=>{this['_onConnectionOpen'](_0x57cec8);}),_0x57cec8[_0x2e346b(0x2bf)][_0x2e346b(0x3cb)](_0x5e3488(0x1))[_0x2e346b(0x375)](_0x36aa15=>{var _0x4f23d9=_0x2e346b;this[_0x4f23d9(0x2e2)][_0x4f23d9(0x4db)](_0x4f23d9(0x378),'socket\x20close',_0x36aa15),this[_0x4f23d9(0x376)]();});}}catch(_0x2c61fc){this[_0x2e346b(0x2e2)][_0x2e346b(0x24c)](_0x2c61fc),this[_0x2e346b(0x376)]();}}[_0x451168(0x2c9)](_0x3cbbe7){var _0x107e62=_0x451168;this[_0x107e62(0x2e2)][_0x107e62(0x4db)](_0x107e62(0x378),'socket\x20open.'),_0x3cbbe7['send']({'cmd':F[_0x107e62(0x2ea)]}),this['_rescheduleHeartbeat']();}[_0x451168(0x3f6)](){var _0x215eff=_0x451168;this['_socketReady']=!0x1,this['_candidateSocket']=null,this['_status$'][_0x215eff(0x353)](Ee[_0x215eff(0x39e)]),this['_socket$']['next'](null),this[_0x215eff(0x30c)](),this[_0x215eff(0x489)]();}['_onConnectionFailed'](){var _0x11bd51=_0x451168,_0x21a058;this['_onOffline'](),this['_retryCount']<((_0x21a058=this['_configService'][_0x11bd51(0x4dd)](On))!=null?_0x21a058:yn)?(this[_0x11bd51(0x32c)][_0x11bd51(0x3e3)]({'id':re[_0x11bd51(0x2fc)]}),this['_tryReconnect']()):this[_0x11bd51(0x32c)][_0x11bd51(0x3e3)]({'id':re[_0x11bd51(0x2a9)]});}['_tryReconnect'](){var _0x88e897=_0x451168,_0x1f75c2;const _0x1dca3b=this[_0x88e897(0x202)],_0x2c7ab9=this['_configService']['getConfig'](q),_0x6653fd=_0x1dca3b===0x0?0x0:((_0x1f75c2=_0x2c7ab9==null?void 0x0:_0x2c7ab9[_0x88e897(0x3ed)])!=null?_0x1f75c2:bn)*0x2**_0x1dca3b;this[_0x88e897(0x252)]=setTimeout(()=>{var _0x4dabd4=_0x88e897;clearTimeout(this[_0x4dabd4(0x252)]),this[_0x4dabd4(0x252)]=null,this[_0x4dabd4(0x347)]();},_0x6653fd),this['_retryCount']+=0x1;}[_0x451168(0x405)](_0x51c578,_0x4c11a5){var _0x87f0dd=_0x451168;const {cmd:_0x384527}=_0x4c11a5;_0x384527===F[_0x87f0dd(0x2ea)]&&!this[_0x87f0dd(0x1fd)]&&(_0x51c578[_0x87f0dd(0x3b6)]=_0x4c11a5[_0x87f0dd(0x258)]['memberID'],this[_0x87f0dd(0x2de)][_0x87f0dd(0x353)](_0x51c578),this[_0x87f0dd(0x3f7)][_0x87f0dd(0x353)](Ee[_0x87f0dd(0x410)]),this['_socketReady']=!0x0,this[_0x87f0dd(0x401)]=null),_0x384527===F[_0x87f0dd(0x3b9)]&&this[_0x87f0dd(0x30c)](),this[_0x87f0dd(0x2f9)]();}[_0x451168(0x2f9)](){var _0x1ddb80=_0x451168,_0x27c5e9;this[_0x1ddb80(0x489)](),this[_0x1ddb80(0x30d)]=setTimeout(()=>this[_0x1ddb80(0x209)](),(_0x27c5e9=this[_0x1ddb80(0x379)][_0x1ddb80(0x4dd)](Cn))!=null?_0x27c5e9:Rn);}[_0x451168(0x209)](){var _0xd53c2f=_0x451168;this[_0xd53c2f(0x2af)]['send']({'cmd':F[_0xd53c2f(0x3b9)]}),this[_0xd53c2f(0x436)]();}[_0x451168(0x436)](){var _0x2b0fcc=_0x451168,_0x1e59d3;this[_0x2b0fcc(0x39b)]=setTimeout(()=>this[_0x2b0fcc(0x376)](),(_0x1e59d3=this[_0x2b0fcc(0x379)][_0x2b0fcc(0x4dd)](mi))!=null?_0x1e59d3:gi);}[_0x451168(0x489)](){var _0x3ccd33=_0x451168;this[_0x3ccd33(0x30d)]!=null&&(clearTimeout(this[_0x3ccd33(0x30d)]),this['_sendHeartbeatTimer']=null);}[_0x451168(0x30c)](){var _0x451c0a=_0x451168;this[_0x451c0a(0x39b)]!=null&&(clearTimeout(this[_0x451c0a(0x39b)]),this[_0x451c0a(0x39b)]=null);}};xe=Yn([be(0x0,_0x4f01fa(_0x34b850)),be(0x1,_0x567e29),be(0x2,_0x411df2),be(0x3,Ii),be(0x4,_0x4f01fa(pe)),be(0x5,_0x189190(Pn))],xe);const V=[];for(let t=0x0;t<0x100;++t)V['push']((t+0x100)['toString'](0x10)[_0x451168(0x3c1)](0x1));function qn(_0x2ae28b,_0x1f92a7=0x0){var _0x38faf3=_0x451168;return(V[_0x2ae28b[_0x1f92a7+0x0]]+V[_0x2ae28b[_0x1f92a7+0x1]]+V[_0x2ae28b[_0x1f92a7+0x2]]+V[_0x2ae28b[_0x1f92a7+0x3]]+'-'+V[_0x2ae28b[_0x1f92a7+0x4]]+V[_0x2ae28b[_0x1f92a7+0x5]]+'-'+V[_0x2ae28b[_0x1f92a7+0x6]]+V[_0x2ae28b[_0x1f92a7+0x7]]+'-'+V[_0x2ae28b[_0x1f92a7+0x8]]+V[_0x2ae28b[_0x1f92a7+0x9]]+'-'+V[_0x2ae28b[_0x1f92a7+0xa]]+V[_0x2ae28b[_0x1f92a7+0xb]]+V[_0x2ae28b[_0x1f92a7+0xc]]+V[_0x2ae28b[_0x1f92a7+0xd]]+V[_0x2ae28b[_0x1f92a7+0xe]]+V[_0x2ae28b[_0x1f92a7+0xf]])[_0x38faf3(0x430)]();}let ut;function _0x52f6(){var _0x4d762e=['_submitChangeset','hasOwnProperty','fetch_missing','toggleOnline','Base','_entityInit$','INVALID_ARGUMENT','_executeRemoteChangeset','closeSession','range','change$','repeat','lib','string','failed\x20to\x20apply\x20missed\x20changesets!','event$','params','baseRev','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','FETCH_MISS','m2Prime','_shouldReportTelemetry','_createSocket','keySize','_clearHeartbeatTimer','_getCtorByUniverType','_initCloseConn','every','algo','getDeserializedSheetBlock','_startTelemetryCollaborationNewChangeset','min','getUnitId','_handler','ENSURE_SNAPSHOT_EXECUTION','hostname','_getDownloadEndpointURL','_incrementRevisionNumber','_compressMutationService','MOBILE_HAS_BEEN_BOUND','equals','_transformSelections','setWaitCount','synced','_substituteUndoStack','bind','_throwTelemetryCollaborationNewChangeset','loadSheet','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HttpImport','loadUnit','UNIVER_SLIDE','_sessionStatus$','_cipher','blockSize','Decryptor','/universer-api/comb','onSendChangeset','[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.','NoPadding','compute','floor','UNIVER_COLLABORATION_CLIENT_PLUGIN','clear','_socketMessageSubscription','forEach','onMissingChangesets','reduce','userID','auth.needGotoLoginAlert','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FETCH_MISSING','encrypt','_clearScheduledTask','subUnitId','filter','AES','_xformMode','SNAPSHOT_HAS_BEEN_REMOVED','[DataLoaderService]','_toggleOnline','getUnitType','onTransformRemoteChangesetByStateCache','onTransformRemoteChangesetByIMECache','_undoStacks','_data','onTransformSelections','defineProperty','resolve','textRanges','requireSession','mutations','getTime','CLOSE_ROOM','RETRY_CONNECTING_MAX_COUNT','/object','fetchMissingChangesets','image/bmp','_getAPIPrefix','exports','_resendWithTimeout','action','_commandService','putCollaborators','IDLE','208491opcZiY','debug','_userManagerService','getConfig','abs','getTypeOfUnitAdded$','charAt','_initUnitPermissionChange','finalize','YUUMI_URL_COL_OUT_OF_RANGE','editingUnit','/block/','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_TIMEOUT','hasher','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','executeCommand','getCurrentRevOfUnit','getTypeOfUnitDisposed$','_showConflictNotification','session.room-full','ciphertext','COMPLETION_FINISHED','UNIVER_SHEET','Hasher','LEAVE','objects','MUTATION','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Undefined','EMAIL_HAS_BEEN_BOUND','_listenToNetworkCondition','_change$','_socketReady','uniscriptRunEvent','Could\x20not\x20dynamically\x20require\x20\x22','NEW_CHANGESETS','getRandomValues','_retryCount','_onCombEvent','/rev/','mode','fetchThroughInterceptors','location','\x20to\x20','_sendHeartbeat','24FkLrNZ','_sessions','Pkcs7','CipherParams','_collaborationPaused','COLLAB_SUBMIT_CHANGESET_URL','_transformStack','_acknowledgedAwaitingChangeset','pad','[CollaborationUndoRedoService]','_lockTransition','[PendingState]:\x20received\x20acknowledgement.','[CollaborationSession]','SNAPSHOT_INVALID_SNAPSHOT','CHANGESET_REVISION_CONFILICT','/unit/','ERROR_IMAGE','getMemberID','objectType','CBC','updatePermissionObjEvent','has','Hex','liveShareNewHost','actions','updateMember','max','_onJoinRoomEvent','getCurrentSelections','_removeRoom','catch','INVITE_CODE_ALREADY_BOUND','_reverseMap','collaMsg','updateOfflineData','_socketService','LIVESHARE_TERMINATE','APPLY_PERMISSION_DENIED','_createHelper','appendMutation','onRemoteRetry','SNAPSHOT_URL_KEY','transformMutationsWithChangeset','origin','YUUMI_UNABLE_LOAD_URL','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_getAPIPrefixPath','toggleOffline','Malformed\x20UTF-8\x20data','encryptBlock','_awaitingChangeset','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_nRounds','_changesetReqId','MD5','_revisionService','UNRECOGNIZED','_roomMembers','_replayCachedMutations','setShowComponents','extend','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Utf8','updateCollaborator','onLocalMutation','listCollaborators','error','unitID','\x0aAfter:\x20','stopTime','MSG_FOR_ERROR','apply','_retryConnectingTimer','concat','sessionStatus$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_memberService','clamp','data','INVITE_CODE_HAS_BEEN_UES','EvpKDF','execute','Cipher','USERS_LEAVE','readAsDataURL','post','reconnect','LICENSE_IMPORT_SIZE_EXCEEDED','capture','snapshotServerUrl','_collaborationTimeoutTimer','/universer-api/oidc/authpage','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','HEARTBEAT_INTERVAL','members','BlockCipher','_createHmacHelper','_process','UNIVER_UNKNOWN','UnitEmbedded','_checkMissing','duration','JOINING','createInstance','transformUndoRedo','_createInitialState','JOIN','JOIN_ROOM_FAILED','editing\x20status\x20changed\x20to','startsWith','error$','CHANGESET_REJ','_sendingTimer','registerHTTPInterceptor','LICENSE_DISTRO_REJECTED','&source=','symbol','session.join-failed','_initDependencies','getValue','univer-pro.collaboration-client.network-condition.service','routeKey','YUUMI_RATE_OVER_LIMIT','UserProfileImg','SUBMIT_CHANGESET','revision','members$','getSnapshotAPIPath','href','sessionStatus','_getCurrentRevision','getCollabEntity','/new_changes','encodeURIComponent','eventID','collaboration-client.config','conflict','Failed\x20to\x20update\x20permission\x20point','PERSON','_onFetchMissResult','_onRecvEvent','cfg','toString','commentUpdate$','_createHandler','list','disposeWithMe','_transformRemoteChangesetByIMECache','/role','LOGIN_FAILED','155493bpZNAH','csAckEvent','collaboration_new_changeset','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','1810aqBdPJ','_collabSessionService','_ENC_XFORM_MODE','json','transformChangesets','SOCKET_FAILED','unitId','enc','unknown','_append','_transformIMECache','_socket','title','_nDataBytes','selections','collaboratorID','fetchMiss','offline','isArray','_commentUpdate$','_createInitialStateImpl','HmacSHA1','x-univer-host','96VbnwUZ','/fetchmissing?from=','COMMENT_UPDATE','People','close$','_unitID','csRejEvent','_isPermissionRej','words','join','length','_invKeySchedule','padding','getRoom','_onConnectionOpen','_getUndoStack','_clearLocalCache','_getSendChangesetTimeout','getImage','status$','_transformStateCache','UNIVER_DOC','mixIn','_unlockTransition','[OfflineState]:\x20received\x20acknowledgement.','_snapshotService','onMissedChangesetFetched','_scheduleCollaborationTimeoutTimer','RECV','_prevBlock','181359xelmgW','PERMISSION_DENIED','SUCCUSS','leaveEvent','_getLoginPath','_socket$','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','_undoRedoService','_transformUndoredo','_logService','method','online$','parse','socketService','_state','[FetchMissState]','msCrypto','HELLO','JOIN_ROOM_NOT_EXISTS','saveSnapshot','name','getMember','_loadSheet','SHOULD_CLOSE_CONN','newCsEvent','_remoteChangesetQueue','state$','delete','clone','/-/object/list','incrementRevOfUnit','compose','_rescheduleHeartbeat','stringify','sigBytes','SOCKET_FAILED_RETRY','ERROR_IMAGE_TYPE','_emitMembers','code','find','[UniverCollaborationClientPlugin]','AWAITING_WITH_PENDING','image/png','interceptor','decrypt','socket$','_iKey','[CollaborationEntity]','_sender','_stopTelemetryCollaborationNewChangeset','LOGIN_URL_KEY','_clearTimeoutTimer','_sendHeartbeatTimer','createEncryptor','getOwnPropertyDescriptor','USERS_ENTER','UNAUTHENTICATED','size','_loadDoc','fetching\x20missing\x20changesets\x20from\x20','c1Prime','_changesetSessionId','_clearUndo','requestParams','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-pro.collaboration-client.single-active-unit-service','_httpService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_telemetryService','reqId','ivSize','_resendTimeout','UnitSnapshot','INVITE_CODE_REQUIRED','LIVESHARE_OPERATION','_onLocalMutation','1137995xJaBMf','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','roles','_keyPriorReset','{fileID}','updateCursorEvent','UNISCRIPT_RUN','_collaborationUIEventService','sin','SNAPSHOT_SERVER_URL_KEY','key','dispose$','__creator','_keySchedule','CHANGESET_SHOULD_RETRY','_minBufferSize','_initRequestHeader','_decreaseWaiting','onCommandExecuted','getCollabEntity$','FileId','SerializableCipher','_pendingMutations','ALREADY_EXISTS','getCurrentUser','session.room-permission-denied','$super','generateRandomId','3716816rOKqsj','body','liveShareOperation','10595473GgLbMq','_doProcessBlock','waitForRoom$','_tryEnsureSocket','sid','Univer','\x0aCurrent:\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_onRemoteRejected','push','_instanceService','onCommentUpdate','_DEC_XFORM_MODE','SUBMIT_CHANGESET_TIMEOUT','COMPRESS_MUTATION_SEND','next','_doCryptBlock','originalMeta','headers','_members','call','pluginName','asObservable','_hasher','submit\x20changeset\x20error!','cmd','dispose','substr','_queuedRemoteChangesets','OTHER_CLIENT_EDITING','_localCacheService','ws://127.0.0.1:8000/universer-api/comb/connect','_fetchMissChangesets','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_permissionService','complete','POST','put','_sheetTransformSelectionsService','_transformRemoteChangesetByStateCache','session','YUUMI_NO_CUBOID_FOR_QUESTION','format','_init','CONNECTOR_DATA_TOO_LARGE','[SyncedState]:\x20received\x20rejection.','getSheetBlock','onlyLocal','startTime','subscribe','_onConnectionFailed','encode','[CollaborationSessionService]','_configService','_getSignURL','shouldCloseConn','_event$','WordArray','_hash','_exhaustRemoteChangesetQueue','_onRemoteACK','?url=','_handlerCallback','JOIN_ROOM_FULL','_updateLocalCache','/universer-api/file/{fileID}/sign-url','pauseCollaboration','_resendTimer','_commentService','APPLY_REVISION_CONFILICT','salt','append','_onRemoteRetry','reject','APPLY_NON_SEQUENTIAL_REVISION','LIVESHARE_FETCH_OPERATIONS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','OTHER_CLIENTS_EDITING','getActiveSheet','COMPRESS_MUTATION_APPLY','_map','map','_scheduleCompleteTimestamp','INVALID_INVITE_CODE','randomBytes','_transformService','_doCreateSocket','_timeoutTimer','joinEvent','\x20-\x20','OFFLINE','objectID','infoRsp','subject','now','file','APPLY_REJECT','_injector','PasswordBasedCipher','_iv','addImageSourceCache','LICENSE_MAX_UNITS_EXCEEDED','override','NOT_COLLAB','open$','permissionRejEvent','YUUMI_ASYNCIO_CANCELLED','LIVESHARE_REQUEST_HOST','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Error\x20on\x20receiving\x20event','_getRedoStack','_telemetryInfo','transformSelections','_networkConditionService','memberID','_state$','WECHAT_HAS_BEEN_BOUND','HEARTBEAT','_doFinalize','SHA1','reset','removeMember','_roomCreated$','_localeService','SEND_CHANGESET_TIMEOUT','slice','_key','changesets','pending','_mode','_onRemoteChangeset','getInterceptPoints','isPermissionRej','_parse','reverse','pipe','onRemoteRej','/collaborator','create','setCurrentUser','readInt32LE','kdf','fromCollab','HMAC','_joinRoom','unpad','_oKey','unsubscribe','_config','close','send','onSyncEditingCollabCursor','confirm','add','decryptBlock','localeService','unitInfo$','crypto','message$','emitEvent','createDecryptor','splice','_redoStacks','_type','UNKNOWN_CMD','url','USER_NOT_INVITED_CODE','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_toggleOffline','retryConnectingInterval','_updateStatus','collaborators','type','get','_clearRetryConnectingTimer','_univerInstanceService','[OfflineState]:\x20received\x20rejection.','PERMISSION_REJ','_onOffline','_status$','charCodeAt','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_unitInfo$','INTERNAL_ERROR','prototype','BufferedBlockAlgorithm','saveImage','entityInit$','from','_candidateSocket','_snapshotServerService','unitId\x20is\x20not\x20found','&assign=','_onMessage','&to=','buffer','byteLength','deleteCollaborator','_collaborationSessionService','FAIL','INGEST','_transitionLocked','LIVESHARE_NEW_HOST','awaitingChangeset','ONLINE','/resources','TOO_MANY_REQUESTS','update','onRemoteChangeset','loadDoc','/object/','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','COLLAB_WEB_SOCKET_URL','rev','AUTHZ_URL_KEY','UUID','NOT_FOUND','commentUpdateEvent','_syncEditingCollabCursor','_disableEditing','__Key__','getUnit','_members$','c2Prime','iterations','OPTIONAL','1970390ZtORgm','PSEUDO_FETCH_MISSING_RESULT','localCacheService','randomUUID','_imageSourceCache','Encryptor','focused$','_HTTPService','byteOffset','toLowerCase','UNKNOWN_CODE','uploadFileServerUrl','_registerDependencies','_replaceFileID','UPDATE_CURSOR','_waitForHeartbeatResponse','/universer-api/stream/file/upload','PY_RUNTIME_SCRIPT_ERROR','loadOfflineData','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','signUrlServerUrl','NO_OTHER_CLIENTS_EDITING','_schedule','authzUrl','_onUserJoin','getWorkbookSelections','UPDATE_PERMISSION_OBJ','[SyncedState]:\x20received\x20acknowledgement.','getResourcesRequest','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CONFLICT','resend','APPLY_DUPLICATED','default','set','init','UNDEFINED','_tryReconnect','_startCollaboration','_getUploadFileURL','_entities','_onUserLeave','function','updatePermissionPoint','_onConflict','_singleActiveUnitService','rng','_applyRemoteChangeset','target','_waitCount','sheets','_initMergeInterceptor','fromCharCode','patch','workbook','onTransformState','connection\x20error','result','BlockCipherMode','getUnitStatus$','JOIN_ROOM_PERMISSION_DENIED','GLOBAL_ROOMS_CNT_EXCEEDS','_eventService','entries','Base64','random','/universer-api/authz','getLatestCsReqIdBySid','onRemoteAck','status','_doReset','snapshot','enableOfflineEditing','_updateState'];_0x52f6=function(){return _0x4d762e;};return _0x52f6();}const zn=new Uint8Array(0x10);function Jn(){var _0xdcb5ad=_0x451168;if(!ut){if(typeof crypto>'u'||!crypto[_0xdcb5ad(0x201)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0xdcb5ad(0x201)][_0xdcb5ad(0x49e)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x451168(0x42a)]&&crypto[_0x451168(0x42a)][_0x451168(0x49e)](crypto),Yt={'randomUUID':Xn};function Zn(_0x599678,_0x16dc11,_0x324118){var _0xe8d6ba=_0x451168,_0x4476bc,_0x402143,_0x134acb;if(Yt[_0xe8d6ba(0x42a)]&&!_0x599678)return Yt[_0xe8d6ba(0x42a)]();_0x599678=_0x599678||{};const _0x168e3d=(_0x134acb=(_0x402143=_0x599678[_0xe8d6ba(0x468)])!=null?_0x402143:(_0x4476bc=_0x599678[_0xe8d6ba(0x455)])==null?void 0x0:_0x4476bc[_0xe8d6ba(0x358)](_0x599678))!=null?_0x134acb:Jn();if(_0x168e3d['length']<0x10)throw new Error(_0xe8d6ba(0x3eb));return _0x168e3d[0x6]=_0x168e3d[0x6]&0xf|0x40,_0x168e3d[0x8]=_0x168e3d[0x8]&0x3f|0x80,qn(_0x168e3d);}const J=_0x4c269b('collaboration-client.local-cache-service');function Br(_0x1f88c1){return'unit-cache-'+_0x1f88c1;}var Qn=Object[_0x451168(0x30f)],es=(_0x5b8506,_0xadf6ac,_0x19577a,_0x13ecc4)=>{for(var _0x3ea7b5=_0x13ecc4>0x1?void 0x0:_0x13ecc4?Qn(_0xadf6ac,_0x19577a):_0xadf6ac,_0x483c81=_0x5b8506['length']-0x1,_0x55f157;_0x483c81>=0x0;_0x483c81--)(_0x55f157=_0x5b8506[_0x483c81])&&(_0x3ea7b5=_0x55f157(_0x3ea7b5)||_0x3ea7b5);return _0x3ea7b5;},dt=(_0x199be9,_0x52955e)=>(_0x22ff20,_0x16ae80)=>_0x52955e(_0x22ff20,_0x16ae80,_0x199be9);function ts(_0x1f1e41){var _0x4918a3=_0x451168;const {unitID:_0x4a24b2,mutations:_0x3a32dd}=_0x1f1e41;return{'unitId':_0x4a24b2,'subUnitId':_0x3a32dd[0x0]['params'][_0x4918a3(0x4bb)]};}let it=class{constructor(_0x1e8428,_0x188391,_0x506051){var _0x4bc589=_0x451168;this[_0x4bc589(0x3a5)]=_0x1e8428,this['_transformService']=_0x188391,this[_0x4bc589(0x34e)]=_0x506051;}[_0x451168(0x3b4)](_0x13aecb){var _0x406f96=_0x451168,_0x2af235,_0x561cb3,_0x16becd,_0x69b506;const _0x12d0b1=this[_0x406f96(0x3a5)][_0x406f96(0x3f1)](_0xd47234),{unitId:_0x3d47aa,subUnitId:_0x24e4c2}=ts(_0x13aecb),_0x60bd5a=_0x12d0b1==null?void 0x0:_0x12d0b1[_0x406f96(0x440)](_0x3d47aa)[_0x406f96(0x226)](),_0x2795d5=(_0x561cb3=(_0x2af235=this[_0x406f96(0x34e)][_0x406f96(0x422)](_0x3d47aa))==null?void 0x0:_0x2af235[_0x406f96(0x392)]())==null?void 0x0:_0x561cb3['getSheetId']();if(_0x60bd5a['length']===0x0||!_0x3d47aa||!_0x24e4c2)return;const _0x42374c=[{'id':_0x156b8e['id'],'params':{'unitId':_0x3d47aa,'subUnitId':_0x2795d5,'selections':_0x13ad23['deepClone'](_0x60bd5a)}}],_0x2d54be=this['_transformService'][_0x406f96(0x234)](_0x13aecb,_0x42374c);if(!_0x2eca19(_0x2d54be))throw _0x2d54be[_0x406f96(0x24c)];const _0x34d756=(_0x69b506=(_0x16becd=_0x2d54be['m2Prime'][0x0])==null?void 0x0:_0x16becd[_0x406f96(0x481)])==null?void 0x0:_0x69b506[_0x406f96(0x2b2)];if(Array[_0x406f96(0x2b6)](_0x34d756)&&_0x34d756['length']){if(_0x34d756[_0x406f96(0x2c5)]===_0x42374c[0x0][_0x406f96(0x481)][_0x406f96(0x2b2)][_0x406f96(0x2c5)]&&_0x34d756['every']((_0x5f19b9,_0x35f51d)=>_0x3d17cd[_0x406f96(0x499)](_0x5f19b9[_0x406f96(0x47a)],_0x42374c[0x0]['params'][_0x406f96(0x2b2)][_0x35f51d][_0x406f96(0x47a)])))return;this[_0x406f96(0x3a5)]['get'](_0x494a61)[_0x406f96(0x4eb)](_0x156b8e['id'],{'unitId':_0x3d47aa,'subUnitId':_0x2795d5,'selections':_0x34d756});}}};it=es([dt(0x0,_0x4f01fa(_0x34b850)),dt(0x1,_0x10bc6e),dt(0x2,_0x7b4c4)],it);const ht=_0x4c269b(_0x451168(0x31a));var Ci=(_0x4ce8a6=>(_0x4ce8a6[_0x4ce8a6[_0x451168(0x43c)]=0x0]=_0x451168(0x43c),_0x4ce8a6[_0x4ce8a6[_0x451168(0x391)]=0x1]=_0x451168(0x391),_0x4ce8a6))(Ci||{});const is=new Set([_0x257fc5['id']]);function qt(_0x1549c3,_0x129335,_0x47a877,_0x392c53,_0x2ad89b){var _0x218658=_0x451168,_0x5b30f9,_0x3dc2ff,_0x52ad6c,_0x106439;const _0x9c6bb4=[];for(const _0x538596 of _0x1549c3)if(is[_0x218658(0x21f)](_0x538596['id'])){if(_0x9c6bb4[_0x218658(0x2c5)]>0x0)break;_0x9c6bb4[_0x218658(0x34d)](_0x538596);break;}else _0x9c6bb4['push'](_0x538596);const _0x289594=(_0x3dc2ff=(_0x5b30f9=_0x2ad89b[_0x218658(0x33d)]())==null?void 0x0:_0x5b30f9[_0x218658(0x4b5)])!=null?_0x3dc2ff:_0x218658(0x2ac),_0xdddc57=(_0x106439=(_0x52ad6c=_0x2ad89b[_0x218658(0x33d)]())==null?void 0x0:_0x52ad6c[_0x218658(0x3b6)])!=null?_0x106439:_0x218658(0x2ac);return{'changeset':{'unitID':_0x129335,'type':_0x2fbd67(_0x47a877['getUnitType'](_0x129335)),'baseRev':_0x392c53['getCurrentRevOfUnit'](_0x129335),'revision':0x0,'userID':_0x289594,'memberID':_0xdddc57,'mutations':_0x9c6bb4},'pendingMutations':_0x1549c3[_0x218658(0x3c1)](_0x9c6bb4[_0x218658(0x2c5)])};}function ns(_0x4701a5,_0x6954a6,_0x2660c4,_0x48ba3e,_0x24068){var _0x5dbed2=_0x451168,_0x1bdf70,_0x5c229e,_0x3b0c49,_0x2cd09a;const _0x346980=[_0x4701a5[_0x5dbed2(0x4b4)]((_0x3404cd,_0x398326)=>{var _0x459dec=_0x5dbed2,_0x19ae46;const {id:_0x46cc94}=_0x3404cd,{id:_0x1ead97,type:_0x339db9}=_0x398326,_0x213e6e=(_0x19ae46=_0x3404cd[_0x459dec(0x481)])!=null?_0x19ae46:{'actions':null},_0x5934e7=_0x398326[_0x459dec(0x481)];if(_0x46cc94&&_0x46cc94!==_0x1ead97)throw new Error(_0x459dec(0x326)+_0x46cc94+_0x459dec(0x39d)+_0x1ead97+'.');return{..._0x3404cd,'id':_0x1ead97,'type':_0x339db9,'params':{'unitId':_0x5934e7['unitId'],'textRanges':_0x5934e7[_0x459dec(0x4ca)],'actions':_0x195c30[_0x459dec(0x2f8)](_0x213e6e['actions'],_0x5934e7[_0x459dec(0x222)])}};},{})],_0x569d76=(_0x5c229e=(_0x1bdf70=_0x24068[_0x5dbed2(0x33d)]())==null?void 0x0:_0x1bdf70[_0x5dbed2(0x4b5)])!=null?_0x5c229e:_0x5dbed2(0x2ac),_0x561bbb=(_0x2cd09a=(_0x3b0c49=_0x24068[_0x5dbed2(0x33d)]())==null?void 0x0:_0x3b0c49[_0x5dbed2(0x3b6)])!=null?_0x2cd09a:_0x5dbed2(0x2ac);return{'changeset':{'unitID':_0x6954a6,'type':_0x2fbd67(_0x2660c4[_0x5dbed2(0x4c2)](_0x6954a6)),'baseRev':_0x48ba3e[_0x5dbed2(0x4ec)](_0x6954a6),'revision':0x0,'userID':_0x569d76,'memberID':_0x561bbb,'mutations':_0x346980},'pendingMutations':[]};}function Ri(_0x1f9bc0,_0x635de3){var _0x5d2d44=_0x451168;const _0x36a138=new _0x101e6a(0x1);return setTimeout(()=>_0x36a138[_0x5d2d44(0x353)](_0x635de3),_0x1f9bc0),_0x36a138['asObservable']()[_0x5d2d44(0x3cb)](_0x5e934b(0x1));}const ss={'id':_0xf4fda8['id'],'type':_0x4a023a[_0x451168(0x1f7)],'params':{}};var rs=Object[_0x451168(0x30f)],Te=(_0x3a13d4,_0x2d19ca,_0x62a46f,_0x6b442e)=>{var _0xd7fe9f=_0x451168;for(var _0x2c55a9=_0x6b442e>0x1?void 0x0:_0x6b442e?rs(_0x2d19ca,_0x62a46f):_0x2d19ca,_0x293951=_0x3a13d4[_0xd7fe9f(0x2c5)]-0x1,_0xff0708;_0x293951>=0x0;_0x293951--)(_0xff0708=_0x3a13d4[_0x293951])&&(_0x2c55a9=_0xff0708(_0x2c55a9)||_0x2c55a9);return _0x2c55a9;},P=(_0x1945ca,_0x484117)=>(_0x2f6c2c,_0x4a397e)=>_0x484117(_0x2f6c2c,_0x4a397e,_0x1945ca),bi=(_0x3506b2=>(_0x3506b2[_0x451168(0x3ab)]='not_collab',_0x3506b2['SYNCED']=_0x451168(0x49c),_0x3506b2['PENDING']='pending',_0x3506b2['AWAITING']='awaiting',_0x3506b2[_0x451168(0x302)]='awaiting_with_pending',_0x3506b2[_0x451168(0x484)]=_0x451168(0x473),_0x3506b2[_0x451168(0x445)]='conflict',_0x3506b2['OFFLINE']=_0x451168(0x2b5),_0x3506b2))(bi||{});const Oi=0xea60;class Ce{constructor(_0x58f0e2,_0x5fda0a,_0x46145c,_0x444803,_0x2747d7,_0x1b5930,_0x254413,_0x19dd1b,_0x135ee4){var _0x417fde=_0x451168;N(this,_0x417fde(0x23c),null),N(this,_0x417fde(0x33b),[]),(this[_0x417fde(0x24d)]=_0x58f0e2,this[_0x417fde(0x3f0)]=_0x5fda0a,this[_0x417fde(0x492)]=_0x2747d7,this[_0x417fde(0x4d7)]=_0x1b5930,this[_0x417fde(0x2e0)]=_0x254413,this[_0x417fde(0x241)]=_0x19dd1b,this[_0x417fde(0x362)]=_0x135ee4,this[_0x417fde(0x23c)]=_0x46145c,this['_pendingMutations']=_0x444803);}['_checkMissing'](_0x164d6e){var _0x395e96=_0x451168;const _0x4dc5cf=this[_0x395e96(0x241)][_0x395e96(0x4ec)](this['unitID']);return _0x164d6e[_0x395e96(0x287)]>_0x4dc5cf+0x1?(this['_handler'][_0x395e96(0x4b3)]({'from':_0x4dc5cf,'to':_0x164d6e[_0x395e96(0x287)]-0x1}),!0x0):!0x1;}[_0x451168(0x2e1)](_0x2e0e9d){var _0x1d68e7=_0x451168;this['_undoRedoService'][_0x1d68e7(0x272)](this[_0x1d68e7(0x24d)],_0x2e0e9d);}[_0x451168(0x49a)](_0x4b7eb9){var _0x799557=_0x451168,_0x1e78ab,_0x51bacd;(_0x51bacd=(_0x1e78ab=this[_0x799557(0x492)])['onTransformSelections'])==null||_0x51bacd[_0x799557(0x358)](_0x1e78ab,_0x4b7eb9);}[_0x451168(0x2ae)](_0x50e6ba){var _0x187353=_0x451168,_0x4d1641,_0x380b1f;return(_0x380b1f=(_0x4d1641=this[_0x187353(0x492)])['onTransformIME'])==null?void 0x0:_0x380b1f[_0x187353(0x358)](_0x4d1641,_0x50e6ba);}[_0x451168(0x2cf)](_0x2d4b78){var _0x2035d6=_0x451168,_0xc10fb6,_0xf75435;return(_0xf75435=(_0xc10fb6=this[_0x2035d6(0x492)])['onTransformState'])==null?void 0x0:_0xf75435[_0x2035d6(0x358)](_0xc10fb6,_0x2d4b78);}[_0x451168(0x29d)](_0x3c1506){var _0x5bb6c1=_0x451168,_0x26ea71,_0x120abf,_0x5deaf0;return(_0x5deaf0=(_0x120abf=(_0x26ea71=this[_0x5bb6c1(0x492)])[_0x5bb6c1(0x4c4)])==null?void 0x0:_0x120abf[_0x5bb6c1(0x358)](_0x26ea71,_0x3c1506))!=null?_0x5deaf0:_0x3c1506;}[_0x451168(0x36b)](_0x11ef30){var _0x23ab0e=_0x451168,_0x534d0c,_0x1e4cc3,_0x471af6;return(_0x471af6=(_0x1e4cc3=(_0x534d0c=this[_0x23ab0e(0x492)])[_0x23ab0e(0x4c3)])==null?void 0x0:_0x1e4cc3[_0x23ab0e(0x358)](_0x534d0c,_0x11ef30))!=null?_0x471af6:_0x11ef30;}[_0x451168(0x41f)](_0x4488eb){var _0x10b04f=_0x451168,_0x18582c,_0x564b61;if(this['type']===Q[_0x10b04f(0x2d0)]){const {unitID:_0x4a1ff8,mutations:_0xeb8143,memberID:_0x4afff0}=_0x4488eb,_0x577efa=_0xeb8143[0x0][_0x10b04f(0x481)][_0x10b04f(0x4ca)];Array[_0x10b04f(0x2b6)](_0x577efa)&&_0x577efa[_0x10b04f(0x2c5)]>0x0&&((_0x564b61=(_0x18582c=this['_handler'])[_0x10b04f(0x3db)])==null||_0x564b61[_0x10b04f(0x358)](_0x18582c,{'unitID':_0x4a1ff8,'memberID':_0x4afff0,'textRanges':_0x577efa}));}}[_0x451168(0x384)](){var _0x1236cb=_0x451168,_0x43493a;(_0x43493a=this[_0x1236cb(0x362)])==null||_0x43493a[_0x1236cb(0x22c)](this[_0x1236cb(0x24d)],this[_0x1236cb(0x3f0)],this[_0x1236cb(0x23c)],this[_0x1236cb(0x33b)]);}[_0x451168(0x28c)](){var _0x1c2f36=_0x451168;return this['_revisionService'][_0x1c2f36(0x4ec)](this[_0x1c2f36(0x24d)]);}[_0x451168(0x496)](){var _0x58f07e=_0x451168;this['_revisionService'][_0x58f07e(0x2f7)](this[_0x58f07e(0x24d)]);}[_0x451168(0x478)](_0x5bbf50){var _0x4dd90b=_0x451168,_0x3fbb5e;let _0x4abe58=this['_transformRemoteChangesetByIMECache'](_0x5bbf50);_0x4abe58=this[_0x4dd90b(0x36b)](_0x4abe58);const _0x42f14f=_0x10e8b3(_0x4abe58[_0x4dd90b(0x4cc)],this[_0x4dd90b(0x4d7)],{'fromCollab':!0x0});if(!_0x42f14f[_0x4dd90b(0x460)])throw _0x42f14f['error']instanceof Error?_0x42f14f[_0x4dd90b(0x24c)]:new Error((_0x3fbb5e=_0x42f14f['error'])!=null?_0x3fbb5e:'[CollaborationState]:\x20apply\x20error!');this[_0x4dd90b(0x2ae)](_0x4abe58),this['_transformStateCache'](_0x4abe58),this[_0x4dd90b(0x2e1)](_0x5bbf50),this[_0x4dd90b(0x49a)](_0x4abe58),this['_syncEditingCollabCursor'](_0x4abe58),this[_0x4dd90b(0x496)]();}}let Ne=class extends Ce{constructor(_0x28f9f2,_0x57f671,_0x461fe1,_0x2333f2,_0x25ce71,_0x23cdf1,_0x309334,_0x449883,_0x52e1b6,_0x4932ce){var _0x3ac255=_0x451168;super(_0x28f9f2,_0x57f671,null,[],_0x461fe1,_0x309334,_0x23cdf1,_0x2333f2,_0x4932ce),N(this,_0x3ac255(0x46c),_0x3ac255(0x49c)),(this[_0x3ac255(0x3a5)]=_0x25ce71,this[_0x3ac255(0x2e2)]=_0x449883,this[_0x3ac255(0x399)]=_0x52e1b6,this[_0x3ac255(0x429)]=_0x4932ce);}[_0x451168(0x231)](_0x2d0d82){var _0xea539=_0x451168;const _0xd091f4=this['_injector'][_0xea539(0x271)](ae,this[_0xea539(0x24d)],this[_0xea539(0x3f0)],[_0x2d0d82],this[_0xea539(0x492)]);return _0xd091f4[_0xea539(0x43d)](),_0xd091f4[_0xea539(0x384)](),_0xd091f4;}[_0x451168(0x414)](_0x3e05db){var _0x21aab2=_0x451168;if(this[_0x21aab2(0x26e)](_0x3e05db))return this['_injector'][_0x21aab2(0x271)](ee,this[_0x21aab2(0x24d)],this[_0x21aab2(0x3f0)],null,[],null,[_0x3e05db],this['_handler']);try{const _0x39f0fb=this['_transformService'][_0x21aab2(0x234)](_0x3e05db,[ss]);if(_0x2eca19(_0x39f0fb)){const {c1Prime:_0x47522f}=_0x39f0fb;return this[_0x21aab2(0x478)](_0x47522f),this;}throw _0x39f0fb[_0x21aab2(0x24c)];}catch(_0x5dd742){return this['_logService'][_0x21aab2(0x24c)](_0x5dd742),this[_0x21aab2(0x453)](!0x1);}}[_0x451168(0x453)](_0x15eafb){var _0x814be2=_0x451168;return this['_injector']['createInstance'](ue,this['unitID'],this[_0x814be2(0x3f0)],null,[],this[_0x814be2(0x492)],_0x15eafb);}['onRemoteAck'](){var _0xf0c06c=_0x451168;throw new Error(_0xf0c06c(0x442));}[_0x451168(0x3cc)](){var _0x358510=_0x451168;throw new Error(_0x358510(0x371));}[_0x451168(0x232)](){return this;}[_0x451168(0x239)](){var _0x582de0=_0x451168;return this[_0x582de0(0x3a5)][_0x582de0(0x271)](de,this[_0x582de0(0x24d)],this[_0x582de0(0x3f0)],null,[],this[_0x582de0(0x492)]);}['toggleOnline'](){return this;}[_0x451168(0x446)](){var _0x15439b=_0x451168;throw new Error(_0x15439b(0x4a1));}[_0x451168(0x2b4)](){var _0x15fcc4=_0x451168;const _0x5bcb71=this[_0x15fcc4(0x241)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x15fcc4(0x492)][_0x15fcc4(0x4b3)]({'from':_0x5bcb71,'to':0x0}),this[_0x15fcc4(0x3a5)][_0x15fcc4(0x271)](ee,this[_0x15fcc4(0x24d)],this[_0x15fcc4(0x3f0)],null,[],null,[],this[_0x15fcc4(0x492)]);}};Ne=Te([P(0x3,_0x4f01fa(_0x50f162)),P(0x4,_0x4f01fa(_0x34b850)),P(0x5,_0x3f0bf9),P(0x6,_0x494a61),P(0x7,_0x567e29),P(0x8,_0x10bc6e),P(0x9,_0x189190(J))],Ne);let ae=class extends Ce{constructor(_0x194fc1,_0x53fe15,_0x5bf851,_0x21f2c7,_0x46e462,_0x2cf48f,_0x544b8a,_0x38669b,_0x32f653,_0x43eb91,_0x23b761,_0x4ca508,_0x1270bb,_0x540942){var _0x2cadf1=_0x451168;super(_0x194fc1,_0x53fe15,null,_0x5bf851,_0x21f2c7,_0x32f653,_0x1270bb,_0x2cf48f,_0x540942),N(this,_0x2cadf1(0x46c),_0x2cadf1(0x3c4)),N(this,_0x2cadf1(0x396),null),N(this,_0x2cadf1(0x27a),null),(this[_0x2cadf1(0x3a5)]=_0x46e462,this[_0x2cadf1(0x256)]=_0x544b8a,this['_logService']=_0x38669b,this['_configService']=_0x43eb91,this[_0x2cadf1(0x399)]=_0x23b761,this[_0x2cadf1(0x3f3)]=_0x4ca508);}[_0x451168(0x231)](_0x121c88){var _0xcc08f4=_0x451168;return this[_0xcc08f4(0x33b)][_0xcc08f4(0x34d)](_0x121c88),this[_0xcc08f4(0x384)](),this;}[_0x451168(0x414)](_0x4dc639){var _0x418c37=_0x451168;if(this['_checkMissing'](_0x4dc639))return this[_0x418c37(0x4ba)](),this['_injector'][_0x418c37(0x271)](ee,this['unitID'],this[_0x418c37(0x3f0)],null,this['_pendingMutations'],null,[_0x4dc639],this['_handler']);try{const _0x44dc2e=this[_0x418c37(0x399)][_0x418c37(0x234)](_0x4dc639,this['_pendingMutations']);if(_0x2eca19(_0x44dc2e)){const {c1Prime:_0x317cdc,m2Prime:_0x3782ad}=_0x44dc2e;this[_0x418c37(0x478)](_0x317cdc);const _0x39d7ed=this['_injector'][_0x418c37(0x271)](ae,this[_0x418c37(0x24d)],this[_0x418c37(0x3f0)],_0x3782ad,this[_0x418c37(0x492)]);this[_0x418c37(0x4ba)]();const _0x4ce0c7=new Date()[_0x418c37(0x4cd)](),_0x40285b=this[_0x418c37(0x396)]?Math[_0x418c37(0x224)](this['_scheduleCompleteTimestamp']-_0x4ce0c7,0x0):this[_0x418c37(0x2cc)]();return _0x39d7ed[_0x418c37(0x43d)](_0x40285b),_0x39d7ed;}throw _0x44dc2e['error'];}catch(_0x15ec6e){return this[_0x418c37(0x2e2)]['error'](_0x15ec6e),this['_onConflict'](!0x1);}}[_0x451168(0x46b)](){var _0x925cf4=_0x451168;throw new Error(_0x925cf4(0x215));}[_0x451168(0x3cc)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x451168(0x239)](){var _0x28056c=_0x451168;return this['_clearScheduledTask'](),this[_0x28056c(0x3a5)]['createInstance'](de,this[_0x28056c(0x24d)],this[_0x28056c(0x3f0)],null,this[_0x28056c(0x33b)],this[_0x28056c(0x492)]);}['toggleOnline'](){return this;}[_0x451168(0x43d)](_0x48dfb0){var _0x192933=_0x451168;const _0x13b98d=_0x48dfb0!=null?_0x48dfb0:this[_0x192933(0x2cc)]();this[_0x192933(0x396)]=new Date()[_0x192933(0x4cd)]()+_0x13b98d,this['_sendingTimer']=setTimeout(()=>{var _0x219224=_0x192933;this[_0x219224(0x4ba)]();let _0x319253=null;switch(this[_0x219224(0x3f0)]){case Q[_0x219224(0x1f3)]:{_0x319253=qt(this[_0x219224(0x33b)],this[_0x219224(0x24d)],this[_0x219224(0x3f3)],this[_0x219224(0x241)],this[_0x219224(0x256)]);break;}case Q['UNIVER_DOC']:{this['_pendingMutations'][_0x219224(0x48c)](_0x194a79=>_0x194a79['id']===_0x3c15e0['id'])?_0x319253=ns(this[_0x219224(0x33b)],this[_0x219224(0x24d)],this[_0x219224(0x3f3)],this['_revisionService'],this['_memberService']):_0x319253=qt(this['_pendingMutations'],this[_0x219224(0x24d)],this['_univerInstanceService'],this[_0x219224(0x241)],this['_memberService']);break;}default:throw new Error(_0x219224(0x34b)+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x10039e,pendingMutations:_0x34f899}=_0x319253;this['_handler'][_0x219224(0x4aa)](_0x10039e);const _0x43e4c2=_0x34f899['length']?this[_0x219224(0x3a5)][_0x219224(0x271)](oe,this[_0x219224(0x24d)],this[_0x219224(0x3f0)],_0x10039e,_0x34f899,this['_handler'],void 0x0):this[_0x219224(0x3a5)]['createInstance'](le,this[_0x219224(0x24d)],this[_0x219224(0x3f0)],_0x10039e,this[_0x219224(0x492)]);_0x43e4c2['_updateLocalCache'](),this['_handler']['onStateChange'](this,_0x43e4c2);},_0x13b98d);}[_0x451168(0x2cc)](){var _0x561904=_0x451168,_0xbe6aaf;const _0xa066fd=this[_0x561904(0x379)][_0x561904(0x4dd)](q);return(_0xbe6aaf=_0xa066fd==null?void 0x0:_0xa066fd['sendChangesetTimeout'])!=null?_0xbe6aaf:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x451168(0x4ba)](){var _0x388a02=_0x451168;this[_0x388a02(0x27a)]!=null&&(clearTimeout(this[_0x388a02(0x27a)]),this['_sendingTimer']=null);}[_0x451168(0x453)](_0x431322){var _0x591434=_0x451168;return this['_clearScheduledTask'](),this[_0x591434(0x3a5)]['createInstance'](ue,this[_0x591434(0x24d)],this[_0x591434(0x3f0)],null,this[_0x591434(0x33b)],this[_0x591434(0x492)],_0x431322);}};ae=Te([P(0x4,_0x4f01fa(_0x34b850)),P(0x5,_0x4f01fa(_0x50f162)),P(0x6,_0x4f01fa(Le)),P(0x7,_0x567e29),P(0x8,_0x494a61),P(0x9,_0x411df2),P(0xa,_0x10bc6e),P(0xb,_0x7b4c4),P(0xc,_0x3f0bf9),P(0xd,_0x189190(J))],ae);let le=class extends Ce{constructor(_0x5b4ce7,_0x46ab34,_0x408ce5,_0x34268b,_0x43c582,_0x5f0200,_0x5ccb3a,_0x4a4265,_0xb9b54,_0x2924d2,_0x86e69b){var _0x4f9c2b=_0x451168;super(_0x5b4ce7,_0x46ab34,_0x408ce5,[],_0x34268b,_0x5ccb3a,_0x2924d2,_0x5f0200,_0x86e69b),N(this,_0x4f9c2b(0x46c),'awaiting'),N(this,'_resendTimeout',0x0),N(this,_0x4f9c2b(0x387)),N(this,_0x4f9c2b(0x309)),(this[_0x4f9c2b(0x3a5)]=_0x43c582,this['_logService']=_0x4a4265,this[_0x4f9c2b(0x399)]=_0xb9b54);}[_0x451168(0x231)](_0x3bd38b){var _0x35ec79=_0x451168;this[_0x35ec79(0x4ba)]();const _0x68678a=this[_0x35ec79(0x3a5)][_0x35ec79(0x271)](oe,this['unitID'],this['type'],this[_0x35ec79(0x23c)],[_0x3bd38b],this['_handler'],this[_0x35ec79(0x387)]);return _0x68678a[_0x35ec79(0x384)](),_0x68678a;}[_0x451168(0x414)](_0x21185a){var _0x461278=_0x451168;if(this[_0x461278(0x26e)](_0x21185a))return this[_0x461278(0x4ba)](),this[_0x461278(0x3a5)][_0x461278(0x271)](ee,this[_0x461278(0x24d)],this[_0x461278(0x3f0)],this[_0x461278(0x23c)],[],null,[_0x21185a],this[_0x461278(0x492)]);try{const _0x4ce522=this[_0x461278(0x399)][_0x461278(0x2a8)]([_0x21185a],[this[_0x461278(0x23c)]],!0x1);if(_0x958ecb(_0x4ce522)){const {c1Prime:_0x3ef293,c2Prime:_0x18560b}=_0x4ce522;this[_0x461278(0x478)](_0x3ef293[0x0]),_0x18560b[0x0]['baseRev']=this['_getCurrentRevision'](),this[_0x461278(0x4ba)]();const _0x34571d=this[_0x461278(0x3a5)]['createInstance'](le,this[_0x461278(0x24d)],this[_0x461278(0x3f0)],_0x18560b[0x0],this['_handler']);return _0x34571d[_0x461278(0x384)](),_0x34571d;}return this['_onConflict'](!0x1);}catch(_0x2e09df){return this[_0x461278(0x2e2)][_0x461278(0x24c)](_0x2e09df),this[_0x461278(0x453)](!0x1);}}[_0x451168(0x46b)](_0x39ab9a){var _0x1f6b97=_0x451168;this['_clearScheduledTask']();const _0x53471e=this[_0x1f6b97(0x241)][_0x1f6b97(0x4ec)](this[_0x1f6b97(0x24d)]);if(_0x39ab9a['revision']<_0x53471e-0x1)return this;if(this[_0x1f6b97(0x26e)](_0x39ab9a))return this[_0x1f6b97(0x3a5)][_0x1f6b97(0x271)](ee,this['unitID'],this[_0x1f6b97(0x3f0)],null,[],this[_0x1f6b97(0x23c)],[],this[_0x1f6b97(0x492)]);this[_0x1f6b97(0x496)]();const _0x3a5d56=this[_0x1f6b97(0x3a5)][_0x1f6b97(0x271)](Ne,this[_0x1f6b97(0x24d)],this[_0x1f6b97(0x3f0)],this[_0x1f6b97(0x492)]);return _0x3a5d56[_0x1f6b97(0x384)](),_0x3a5d56;}[_0x451168(0x3cc)](_0x17686a){var _0x12da1d=_0x451168;return this[_0x12da1d(0x453)](!!(_0x17686a!=null&&_0x17686a[_0x12da1d(0x3c8)]));}['onRemoteRetry'](_0x13b493){var _0x1d9f45=_0x451168;return this[_0x1d9f45(0x320)]>Oi?this[_0x1d9f45(0x239)]():(this[_0x1d9f45(0x387)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x13b493[_0x1d9f45(0x31e)]}),this[_0x1d9f45(0x309)]=this[_0x1d9f45(0x387)][_0x1d9f45(0x375)](({reqId:_0x373523,timeout:_0x24ecc2})=>{var _0x5cd320=_0x1d9f45;this[_0x5cd320(0x4d5)](_0x373523,_0x24ecc2);}),this);}[_0x451168(0x239)](){var _0x37b4c0=_0x451168;return this[_0x37b4c0(0x4ba)](),this[_0x37b4c0(0x3a5)]['createInstance'](de,this[_0x37b4c0(0x24d)],this[_0x37b4c0(0x3f0)],this[_0x37b4c0(0x23c)],[],this[_0x37b4c0(0x492)]);}['toggleOnline'](){return this;}[_0x451168(0x446)](){var _0x518575=_0x451168;this[_0x518575(0x492)][_0x518575(0x4aa)](this[_0x518575(0x23c)]);}[_0x451168(0x453)](_0x5ab17b){var _0x422bae=_0x451168;return this[_0x422bae(0x4ba)](),this[_0x422bae(0x3a5)]['createInstance'](ue,this[_0x422bae(0x24d)],this['type'],this[_0x422bae(0x23c)],[],this[_0x422bae(0x492)],_0x5ab17b);}[_0x451168(0x4d5)](_0x16b3a3,_0x485a92){var _0x3f4aeb=_0x451168,_0x4b58f3;_0x16b3a3===((_0x4b58f3=this[_0x3f4aeb(0x23c)])==null?void 0x0:_0x4b58f3[_0x3f4aeb(0x31e)])&&(this[_0x3f4aeb(0x446)](),this[_0x3f4aeb(0x320)]=_0x485a92===0x0?0x3e8:_0x485a92*0x2);}[_0x451168(0x4ba)](){var _0x3d09fe=_0x451168,_0x35eeb9;(_0x35eeb9=this[_0x3d09fe(0x309)])==null||_0x35eeb9[_0x3d09fe(0x3d7)](),this[_0x3d09fe(0x320)]=0x0;}};le=Te([P(0x4,_0x4f01fa(_0x34b850)),P(0x5,_0x4f01fa(_0x50f162)),P(0x6,_0x494a61),P(0x7,_0x567e29),P(0x8,_0x10bc6e),P(0x9,_0x3f0bf9),P(0xa,_0x189190(J))],le);let oe=class extends Ce{constructor(_0x46a045,_0x29bb32,_0x188bf0,_0x3413bf,_0x30a898,_0x42cf30,_0x217ec4,_0xe9b10c,_0x2fd056,_0x977a54,_0x44df11,_0x4af669,_0x14111f){var _0x1e3ab8=_0x451168;super(_0x46a045,_0x29bb32,_0x188bf0,_0x3413bf,_0x30a898,_0x2fd056,_0x4af669,_0xe9b10c,_0x14111f),N(this,_0x1e3ab8(0x46c),'awaiting_with_pending'),N(this,_0x1e3ab8(0x320),0x0),N(this,'_resendTimer'),N(this,_0x1e3ab8(0x309)),(this['_injector']=_0x217ec4,this[_0x1e3ab8(0x2e2)]=_0x977a54,this[_0x1e3ab8(0x399)]=_0x44df11,this[_0x1e3ab8(0x429)]=_0x14111f,_0x42cf30&&(this[_0x1e3ab8(0x387)]=_0x42cf30,this[_0x1e3ab8(0x309)]=this[_0x1e3ab8(0x387)]['subscribe'](({reqId:_0x2f001c,timeout:_0x4a488f})=>{var _0x52b10a=_0x1e3ab8;this[_0x52b10a(0x4d5)](_0x2f001c,_0x4a488f);})));}[_0x451168(0x231)](_0x26787){var _0x443344=_0x451168;return this[_0x443344(0x33b)][_0x443344(0x34d)](_0x26787),this;}[_0x451168(0x414)](_0x425d3f){var _0x259004=_0x451168;if(this[_0x259004(0x26e)](_0x425d3f))return this[_0x259004(0x4ba)](),this[_0x259004(0x3a5)][_0x259004(0x271)](ee,this[_0x259004(0x24d)],this['type'],this[_0x259004(0x23c)],this[_0x259004(0x33b)],null,[_0x425d3f],this['_handler']);try{const _0x195700=this[_0x259004(0x399)][_0x259004(0x2a8)]([_0x425d3f],[this[_0x259004(0x23c)]],!0x1);if(_0x958ecb(_0x195700)){const {c1Prime:_0x40a08e,c2Prime:_0x43a6cf}=_0x195700,_0x31fdc3=this[_0x259004(0x399)][_0x259004(0x234)](_0x40a08e[0x0],this['_pendingMutations']);if(_0x2eca19(_0x31fdc3)){const {c1Prime:_0x440e06,m2Prime:_0x4629f5}=_0x31fdc3;return this[_0x259004(0x478)](_0x440e06),_0x43a6cf[0x0][_0x259004(0x482)]=this[_0x259004(0x28c)](),this['_clearScheduledTask'](),this[_0x259004(0x3a5)]['createInstance'](oe,this['unitID'],this[_0x259004(0x3f0)],_0x43a6cf[0x0],_0x4629f5,this['_handler'],void 0x0);}throw _0x31fdc3[_0x259004(0x24c)];}throw _0x195700[_0x259004(0x24c)];}catch(_0x11b9a8){return this['_logService'][_0x259004(0x24c)](_0x11b9a8),this[_0x259004(0x453)](!0x1);}}['onRemoteAck'](_0x49afc5){var _0x3cef6c=_0x451168;if(this[_0x3cef6c(0x4ba)](),this[_0x3cef6c(0x26e)](_0x49afc5))return this['_injector'][_0x3cef6c(0x271)](ee,this[_0x3cef6c(0x24d)],this[_0x3cef6c(0x3f0)],null,this[_0x3cef6c(0x33b)],this['_awaitingChangeset'],[],this[_0x3cef6c(0x492)]);this[_0x3cef6c(0x496)]();const _0x2d9b1d=this[_0x3cef6c(0x3a5)][_0x3cef6c(0x271)](ae,this['unitID'],this['type'],this[_0x3cef6c(0x33b)],this['_handler']);return _0x2d9b1d[_0x3cef6c(0x43d)](),_0x2d9b1d[_0x3cef6c(0x384)](),_0x2d9b1d;}['onRemoteRej'](_0x53b03d){var _0x20fe78=_0x451168;return this[_0x20fe78(0x453)](!!(_0x53b03d!=null&&_0x53b03d[_0x20fe78(0x3c8)]));}[_0x451168(0x232)](_0x477537){var _0x4184a1=_0x451168;return this[_0x4184a1(0x320)]>Oi?this['toggleOffline']():(this[_0x4184a1(0x387)]=Ri(this[_0x4184a1(0x320)],{'timeout':this[_0x4184a1(0x320)],'reqId':_0x477537[_0x4184a1(0x31e)]}),this[_0x4184a1(0x309)]=this['_resendTimer'][_0x4184a1(0x375)](({reqId:_0x43c058,timeout:_0x203bb})=>{var _0x3ad78d=_0x4184a1;this[_0x3ad78d(0x4d5)](_0x43c058,_0x203bb);}),this);}[_0x451168(0x239)](){var _0x61e198=_0x451168;return this['_clearScheduledTask'](),this['_injector'][_0x61e198(0x271)](de,this['unitID'],this[_0x61e198(0x3f0)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x61e198(0x492)]);}[_0x451168(0x474)](){return this;}[_0x451168(0x446)](){var _0x166c4a=_0x451168;this[_0x166c4a(0x492)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x451168(0x453)](_0x538d28){var _0x261a35=_0x451168;return this[_0x261a35(0x4ba)](),this[_0x261a35(0x3a5)][_0x261a35(0x271)](ue,this[_0x261a35(0x24d)],this['type'],null,this[_0x261a35(0x33b)],this[_0x261a35(0x492)],_0x538d28);}[_0x451168(0x4d5)](_0x1db428,_0x4a5749){var _0xec1ef=_0x451168,_0x506d28;_0x1db428===((_0x506d28=this['_awaitingChangeset'])==null?void 0x0:_0x506d28[_0xec1ef(0x31e)])&&(this[_0xec1ef(0x446)](),this['_resendTimeout']=_0x4a5749===0x0?0x3e8:_0x4a5749*0x2);}[_0x451168(0x4ba)](){var _0xe732ac=_0x451168,_0x2f6fdb;(_0x2f6fdb=this[_0xe732ac(0x309)])==null||_0x2f6fdb[_0xe732ac(0x3d7)](),this[_0xe732ac(0x320)]=0x0;}};oe=Te([P(0x6,_0x4f01fa(_0x34b850)),P(0x7,_0x4f01fa(_0x50f162)),P(0x8,_0x494a61),P(0x9,_0x567e29),P(0xa,_0x10bc6e),P(0xb,_0x3f0bf9),P(0xc,_0x189190(J))],oe);let ue=class extends Ce{constructor(_0x2678e2,_0x2849c3,_0x26ed41,_0xfac8bb,_0x33c8e9,_0x4de7ab=!0x1,_0x13993c,_0x2cee68,_0x39f300,_0x44bb55,_0x193f85,_0x73d9e8,_0x354ce1){var _0x472f25=_0x451168;super(_0x2678e2,_0x2849c3,_0x26ed41,_0xfac8bb,_0x33c8e9,_0x2cee68,_0x39f300,_0x44bb55,_0x354ce1),N(this,'status',_0x472f25(0x292)),(this[_0x472f25(0x2c2)]=_0x4de7ab,this[_0x472f25(0x366)]=_0x13993c,this[_0x472f25(0x3bf)]=_0x193f85,this[_0x472f25(0x32c)]=_0x73d9e8,this[_0x472f25(0x429)]=_0x354ce1,this[_0x472f25(0x1ef)](),this[_0x472f25(0x2cb)](),this[_0x472f25(0x420)]());}['appendMutation'](){return this;}[_0x451168(0x414)](){return this;}[_0x451168(0x46b)](){return this;}[_0x451168(0x3cc)](){return this;}[_0x451168(0x232)](){return this;}[_0x451168(0x239)](){return this;}[_0x451168(0x474)](){return this;}[_0x451168(0x446)](){var _0x1871b6=_0x451168;throw new Error(_0x1871b6(0x4e6));}[_0x451168(0x2cb)](){var _0x4c1d24=_0x451168,_0x3285c3;(_0x3285c3=this[_0x4c1d24(0x362)])==null||_0x3285c3[_0x4c1d24(0x22c)](this['unitID'],this[_0x4c1d24(0x3f0)],null,[]);}[_0x451168(0x1ef)](){var _0x3154b1=_0x451168;this[_0x3154b1(0x2c2)]?this['_collaborationUIEventService']['emitEvent']({'id':re[_0x3154b1(0x2da)]}):this[_0x3154b1(0x32c)]['emitEvent']({'id':re[_0x3154b1(0x445)]});}[_0x451168(0x420)](){var _0x212af9=_0x451168;this[_0x212af9(0x366)][_0x212af9(0x452)](new _0x50c67a(this[_0x212af9(0x24d)])['id'],!0x1);}};ue=Te([P(0x6,_0x4f01fa(_0x3d8c7e)),P(0x7,_0x494a61),P(0x8,_0x3f0bf9),P(0x9,_0x4f01fa(_0x50f162)),P(0xa,_0x4f01fa(_0x1f2159)),P(0xb,_0x4f01fa(pe)),P(0xc,_0x189190(J))],ue);let de=class extends Ce{constructor(_0x5b9aa1,_0x1294d8,_0x5524d8,_0x441f96,_0x55faaf,_0x23ff58,_0x179828,_0x434d56,_0xed6e04,_0xa01e63){var _0x314b58=_0x451168;super(_0x5b9aa1,_0x1294d8,_0x5524d8,_0x441f96,_0x55faaf,_0x434d56,_0xed6e04,_0x179828,_0xa01e63),N(this,'status',_0x314b58(0x2b5)),this[_0x314b58(0x3a5)]=_0x23ff58;}['appendMutation'](_0x3e7e23){var _0x904d42=_0x451168;return this[_0x904d42(0x33b)][_0x904d42(0x34d)](_0x3e7e23),this[_0x904d42(0x384)](),this;}['onRemoteChangeset'](_0x671aae){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x451168(0x46b)](){var _0x4bf957=_0x451168;throw new Error(_0x4bf957(0x2d3));}['onRemoteRej'](){var _0xc8c139=_0x451168;throw new Error(_0xc8c139(0x3f4));}[_0x451168(0x232)](){return this;}['toggleOffline'](){return this;}[_0x451168(0x474)](){var _0x33d64f=_0x451168;const {_injector:_0x4dceed,_pendingMutations:_0x20bbfd,_awaitingChangeset:_0x51485e,unitID:_0xce54d0,_handler:_0x35537d,type:_0x440a26}=this,_0xc927fc=yi(_0x4dceed,_0xce54d0,_0x440a26,_0x51485e,_0x20bbfd,_0x35537d);return _0xc927fc instanceof ae?_0xc927fc[_0x33d64f(0x43d)]():(_0xc927fc instanceof oe||_0xc927fc instanceof le)&&_0xc927fc[_0x33d64f(0x446)](),_0xc927fc;}[_0x451168(0x446)](){var _0x3a7e79=_0x451168;throw new Error(_0x3a7e79(0x483));}};de=Te([P(0x5,_0x4f01fa(_0x34b850)),P(0x6,_0x4f01fa(_0x50f162)),P(0x7,_0x494a61),P(0x8,_0x3f0bf9),P(0x9,_0x189190(J))],de);let ee=class extends Ce{constructor(_0x172ec2,_0x2f364d,_0x4277fa,_0x313ed2,_0x40e742,_0x4fd1ed,_0x3827fe,_0x2cf6b0,_0x353188,_0x3b12d7,_0xe35ea8,_0x471ca7,_0x290199,_0x7d828a){var _0x130efe=_0x451168;super(_0x172ec2,_0x2f364d,_0x4277fa,_0x313ed2,_0x3827fe,_0xe35ea8,_0x471ca7,_0x353188,_0x7d828a),N(this,_0x130efe(0x46c),_0x130efe(0x473)),(this[_0x130efe(0x211)]=_0x40e742,this[_0x130efe(0x360)]=_0x4fd1ed,this[_0x130efe(0x3a5)]=_0x2cf6b0,this['_logService']=_0x3b12d7,this['_transformService']=_0x290199,this[_0x130efe(0x429)]=_0x7d828a);}[_0x451168(0x2d5)](_0x127f34){var _0x20da07=_0x451168;try{const _0x573652=[..._0x127f34,...this[_0x20da07(0x360)]],_0xfac8ab=[this[_0x20da07(0x23c)]||this[_0x20da07(0x211)]][_0x20da07(0x4bc)](_0x21b711=>!!_0x21b711);let _0x4cab15,_0x30fa74;if(_0xfac8ab['length']){const _0x5ac90b=this[_0x20da07(0x399)][_0x20da07(0x2a8)](_0x573652,_0xfac8ab,!0x1);if(!_0x958ecb(_0x5ac90b))throw _0x5ac90b[_0x20da07(0x24c)];_0x4cab15=_0x5ac90b[_0x20da07(0x315)],_0x30fa74=_0x5ac90b[_0x20da07(0x424)];}else _0x4cab15=_0x573652,_0x30fa74=[];let _0x48ba37=this['_pendingMutations'];_0x4cab15['forEach'](_0x520fa7=>{var _0x550786=_0x20da07;let _0x1249f4;if(_0x48ba37['length']){const _0xb2a536=this['_transformService'][_0x550786(0x234)](_0x520fa7,_0x48ba37);if(!_0x2eca19(_0xb2a536))throw _0xb2a536[_0x550786(0x24c)];_0x1249f4=_0xb2a536[_0x550786(0x315)],_0x48ba37=_0xb2a536[_0x550786(0x485)];}else _0x1249f4=_0x520fa7;this[_0x550786(0x478)](_0x1249f4);}),this[_0x20da07(0x211)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x30fa74[_0x20da07(0x2c5)]&&(_0x30fa74[0x0][_0x20da07(0x482)]=this[_0x20da07(0x28c)]());let _0x3d6ade;if(this[_0x20da07(0x23c)]&&_0x48ba37[_0x20da07(0x2c5)]!==0x0)_0x3d6ade=this[_0x20da07(0x3a5)][_0x20da07(0x271)](oe,this[_0x20da07(0x24d)],this[_0x20da07(0x3f0)],_0x30fa74[0x0],_0x48ba37,this['_handler'],void 0x0);else{if(this[_0x20da07(0x23c)]&&_0x48ba37['length']===0x0)_0x30fa74[0x0]['baseRev']=this['_getCurrentRevision'](),_0x3d6ade=this[_0x20da07(0x3a5)][_0x20da07(0x271)](le,this['unitID'],this[_0x20da07(0x3f0)],_0x30fa74[0x0],this[_0x20da07(0x492)]);else{if(_0x48ba37['length']!==0x0){const _0x29941e=this['_injector'][_0x20da07(0x271)](ae,this[_0x20da07(0x24d)],this[_0x20da07(0x3f0)],_0x48ba37,this[_0x20da07(0x492)]);_0x29941e['_schedule'](),_0x3d6ade=_0x29941e;}else _0x3d6ade=this[_0x20da07(0x3a5)][_0x20da07(0x271)](Ne,this[_0x20da07(0x24d)],this[_0x20da07(0x3f0)],this[_0x20da07(0x492)]);}}return _0x3d6ade['_updateLocalCache'](),_0x3d6ade;}catch(_0x5e6de7){return this[_0x20da07(0x2e2)][_0x20da07(0x24c)](_0x20da07(0x2e8),_0x20da07(0x47f),_0x5e6de7),this[_0x20da07(0x3a5)]['createInstance'](ue,this[_0x20da07(0x24d)],this[_0x20da07(0x3f0)],this[_0x20da07(0x23c)],this[_0x20da07(0x33b)],this[_0x20da07(0x492)],!0x1);}}[_0x451168(0x446)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x451168(0x231)](_0x352bed){var _0x4a6a1f=_0x451168;return this['_pendingMutations'][_0x4a6a1f(0x34d)](_0x352bed),this;}[_0x451168(0x414)](_0x290e61){var _0x5299ff=_0x451168;return this['_queuedRemoteChangesets'][_0x5299ff(0x34d)](_0x290e61),this;}[_0x451168(0x46b)](_0x18bb5e){var _0x362ee7=_0x451168;if(this[_0x362ee7(0x23c)])return this['_acknowledgedAwaitingChangeset']=this[_0x362ee7(0x23c)],this[_0x362ee7(0x23c)]=null,this;throw new Error(_0x362ee7(0x31c));}[_0x451168(0x3cc)](_0x31bc99){var _0x16f247=_0x451168;return this['_onConflict'](!!(_0x31bc99!=null&&_0x31bc99[_0x16f247(0x3c8)]));}['onRemoteRetry'](){return this;}[_0x451168(0x239)](){var _0x5aee1c=_0x451168;return this[_0x5aee1c(0x3a5)][_0x5aee1c(0x271)](de,this[_0x5aee1c(0x24d)],this[_0x5aee1c(0x3f0)],this[_0x5aee1c(0x23c)],this[_0x5aee1c(0x33b)],this[_0x5aee1c(0x492)]);}[_0x451168(0x474)](){return this;}[_0x451168(0x453)](_0x91cb69){var _0x3ea8dd=_0x451168;return this[_0x3ea8dd(0x3a5)][_0x3ea8dd(0x271)](ue,this['unitID'],this[_0x3ea8dd(0x3f0)],this[_0x3ea8dd(0x23c)],this['_pendingMutations'],this[_0x3ea8dd(0x492)],_0x91cb69);}};ee=Te([P(0x7,_0x4f01fa(_0x34b850)),P(0x8,_0x4f01fa(_0x50f162)),P(0x9,_0x567e29),P(0xa,_0x494a61),P(0xb,_0x3f0bf9),P(0xc,_0x10bc6e),P(0xd,_0x189190(J))],ee);function yi(_0x17d085,_0x50e62d,_0x336411,_0x126ad7,_0x193c86,_0x43f89c){var _0x23d18f=_0x451168;return _0x126ad7&&_0x193c86[_0x23d18f(0x2c5)]?_0x17d085[_0x23d18f(0x271)](oe,_0x50e62d,_0x336411,_0x126ad7,_0x193c86,_0x43f89c,void 0x0):_0x126ad7?_0x17d085[_0x23d18f(0x271)](le,_0x50e62d,_0x336411,_0x126ad7,_0x43f89c):_0x193c86[_0x23d18f(0x2c5)]?_0x17d085[_0x23d18f(0x271)](ae,_0x50e62d,_0x336411,_0x193c86,_0x43f89c):_0x17d085[_0x23d18f(0x271)](Ne,_0x50e62d,_0x336411,_0x43f89c);}var as=Object[_0x451168(0x30f)],Lt=(_0x3fef67,_0x56666d,_0x26a69a,_0x2bd739)=>{var _0x184636=_0x451168;for(var _0x49a29b=_0x2bd739>0x1?void 0x0:_0x2bd739?as(_0x56666d,_0x26a69a):_0x56666d,_0x1f1295=_0x3fef67[_0x184636(0x2c5)]-0x1,_0x1c9dcc;_0x1f1295>=0x0;_0x1f1295--)(_0x1c9dcc=_0x3fef67[_0x1f1295])&&(_0x49a29b=_0x1c9dcc(_0x49a29b)||_0x49a29b);return _0x49a29b;},H=(_0xf5f5df,_0x4b282a)=>(_0x85c5f2,_0x30e839)=>_0x4b282a(_0x85c5f2,_0x30e839,_0xf5f5df);let nt=class extends _0x2b1296{constructor(_0x56c89e,_0x43d848,_0x32ac5d,_0x3a952a,_0x10b4ab,_0x2c632c,_0x11cf29,_0x4f3369,_0xb1fbb7,_0x2e0185,_0x4dd8a2,_0x256127,_0x5d7061){var _0x3bea62=_0x451168;super(),N(this,_0x3bea62(0x3b7),new _0x4e232a(null)),N(this,_0x3bea62(0x2f3),this[_0x3bea62(0x3b7)][_0x3bea62(0x35a)]()),N(this,_0x3bea62(0x2e7)),N(this,_0x3bea62(0x20e),!0x1),N(this,_0x3bea62(0x316),''),N(this,'_changesetReqId',0x0),N(this,_0x3bea62(0x2ce),this[_0x3bea62(0x2f3)][_0x3bea62(0x3cb)](_0x1e69d7(_0xc70192=>_0xc70192?_0xc70192[_0x3bea62(0x46c)]:bi[_0x3bea62(0x39e)]),_0x5267a1(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x3bea62(0x2f2),[]),(this[_0x3bea62(0x24d)]=_0x56c89e,this[_0x3bea62(0x36c)]=_0x43d848,this['_type']=_0x32ac5d,this[_0x3bea62(0x3a5)]=_0x3a952a,this['_compressMutationService']=_0x10b4ab,this[_0x3bea62(0x3bf)]=_0x2c632c,this[_0x3bea62(0x241)]=_0x11cf29,this[_0x3bea62(0x465)]=_0x4f3369,this[_0x3bea62(0x2e2)]=_0xb1fbb7,this['_commandService']=_0x2e0185,this[_0x3bea62(0x366)]=_0x4dd8a2,this[_0x3bea62(0x454)]=_0x256127,this[_0x3bea62(0x362)]=_0x5d7061);}get['state'](){var _0x24f34a=_0x451168;return this[_0x24f34a(0x2e7)];}async[_0x451168(0x44a)](){var _0x208e53=_0x451168;if(this['state'])throw new Error(_0x208e53(0x255));await this['_init']();}[_0x451168(0x386)](){return this['_collaborationPaused']=!0x0,_0x2897c9(()=>{var _0x1dfecd=_0x4827;this[_0x1dfecd(0x20e)]=!0x1,this[_0x1dfecd(0x37f)]();});}[_0x451168(0x24a)](_0x24f629){var _0x497924=_0x451168;this[_0x497924(0x324)](_0x24f629);}[_0x451168(0x470)](_0xc8e308){var _0x2f88d6=_0x451168;this[_0x2f88d6(0x2e7)]=_0xc8e308,this[_0x2f88d6(0x3b7)][_0x2f88d6(0x353)](_0xc8e308);}async['_init'](){var _0x2b9cca=_0x451168,_0x2042f3;this[_0x2b9cca(0x470)](await this['_createInitialState']()),this['_singleActiveUnitService']&&((_0x2042f3=this[_0x2b9cca(0x454)])==null||_0x2042f3[_0x2b9cca(0x4e4)](this[_0x2b9cca(0x24d)]),this[_0x2b9cca(0x29c)](this[_0x2b9cca(0x454)][_0x2b9cca(0x462)](this[_0x2b9cca(0x24d)])['subscribe'](_0x544d0c=>{var _0x4985ec=_0x2b9cca;this[_0x4985ec(0x2e2)][_0x4985ec(0x4db)](_0x4985ec(0x308),_0x4985ec(0x276),_0x544d0c),_0x544d0c===Ci[_0x4985ec(0x391)]?(this['_eventService'][_0x4985ec(0x3e3)]({'id':re[_0x4985ec(0x361)]}),this[_0x4985ec(0x366)][_0x4985ec(0x452)](new _0x50c67a(this[_0x4985ec(0x24d)])['id'],!0x1),this[_0x4985ec(0x366)]['setShowComponents'](!0x1)):(this[_0x4985ec(0x366)][_0x4985ec(0x452)](new _0x50c67a(this[_0x4985ec(0x24d)])['id'],!0x0),this['_permissionService'][_0x4985ec(0x245)](!0x0));})));let _0x1093fb=!0x1;return this['disposeWithMe'](this[_0x2b9cca(0x36c)]['sessionStatus$']['subscribe'](_0x85833e=>{var _0x16c5c2=_0x2b9cca;_0x85833e===Ee[_0x16c5c2(0x410)]?this['_toggleOnline'](_0x1093fb):_0x85833e===Ee[_0x16c5c2(0x39e)]&&(_0x1093fb=!0x0,this['_toggleOffline']());})),this[_0x2b9cca(0x29c)](this[_0x2b9cca(0x36c)]['event$'][_0x2b9cca(0x375)](_0x546e7e=>{var _0x4776d0=_0x2b9cca;try{switch(_0x546e7e[_0x4776d0(0x290)]){case _0x3c37fa[_0x4776d0(0x200)]:{this['_onRemoteChangeset'](_0x22620e(_0x546e7e['data']));break;}case _0x3c37fa['CHANGESET_ACK']:{this[_0x4776d0(0x380)](_0x546e7e[_0x4776d0(0x258)]);break;}case _0x3c37fa[_0x4776d0(0x279)]:{this['_onRemoteRejected']();break;}case _0x3c37fa[_0x4776d0(0x333)]:{this[_0x4776d0(0x38c)](_0x546e7e['data']);break;}case _0x3c37fa['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x4776d0(0x295)](_0x546e7e[_0x4776d0(0x258)][_0x4776d0(0x3c3)][_0x4776d0(0x395)](_0x2bb8ee=>_0x22620e(_0x2bb8ee)));break;}case _0x3c37fa[_0x4776d0(0x3f5)]:{this[_0x4776d0(0x34c)]({'isPermissionRej':!0x0});break;}case _0x3c37fa[_0x4776d0(0x32b)]:break;}}catch(_0x5e00c3){throw console['error'](_0x4776d0(0x3b1),_0x5e00c3),_0x5e00c3;}})),this[_0x2b9cca(0x2e7)];}['_unlockTransition'](){var _0x1212d5=_0x451168;this[_0x1212d5(0x40d)]=!0x1;}[_0x451168(0x214)](){var _0xe6a225=_0x451168;if(this[_0xe6a225(0x40d)])throw new Error(_0xe6a225(0x4ab));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x5c71f5){var _0x174a9c=_0x451168;this['_lockTransition'](),this[_0x174a9c(0x470)](this[_0x174a9c(0x2e7)][_0x174a9c(0x231)](_0x5c71f5)),this[_0x174a9c(0x2d2)]();}[_0x451168(0x3c6)](_0x37d153){var _0x34ed65=_0x451168;if(!(_0x37d153[_0x34ed65(0x287)]<=this[_0x34ed65(0x241)][_0x34ed65(0x4ec)](this[_0x34ed65(0x24d)]))){if(this[_0x34ed65(0x20e)]){this[_0x34ed65(0x2f2)][_0x34ed65(0x34d)](_0x37d153);return;}this[_0x34ed65(0x456)](_0x37d153);}}['_exhaustRemoteChangesetQueue'](){var _0x1d0008=_0x451168;this[_0x1d0008(0x2f2)]['forEach'](_0x1bced8=>this[_0x1d0008(0x456)](_0x1bced8)),this[_0x1d0008(0x2f2)]=[];}[_0x451168(0x456)](_0x4cf315){var _0x333186=_0x451168;const _0x16618e=this['_compressMutationService'][_0x333186(0x304)][_0x333186(0x206)](this['_compressMutationService'][_0x333186(0x304)][_0x333186(0x3c7)]()['COMPRESS_MUTATION_APPLY'])(_0x4cf315[_0x333186(0x4cc)],null)||_0x4cf315[_0x333186(0x4cc)],_0x3d8cc0={..._0x4cf315,'mutations':_0x16618e};this[_0x333186(0x214)](),this[_0x333186(0x470)](this[_0x333186(0x2e7)]['onRemoteChangeset'](_0x3d8cc0)),this[_0x333186(0x2d2)]();}[_0x451168(0x380)](_0x43d960){var _0x5a2187=_0x451168;this[_0x5a2187(0x214)](),this[_0x5a2187(0x470)](this['_state'][_0x5a2187(0x46b)](_0x43d960)),this[_0x5a2187(0x2d2)]();}[_0x451168(0x34c)](_0x25230f){var _0x2a0bcd=_0x451168;this[_0x2a0bcd(0x214)](),this[_0x2a0bcd(0x470)](this['_state'][_0x2a0bcd(0x3cc)](_0x25230f)),this[_0x2a0bcd(0x2d2)]();}['_onRemoteRetry'](_0x208d1e){var _0x5350c3=_0x451168;this[_0x5350c3(0x214)](),this['_updateState'](this['_state'][_0x5350c3(0x232)](_0x208d1e)),this[_0x5350c3(0x2d2)]();}[_0x451168(0x295)](_0x564b06){var _0x5098dc=_0x451168;if(!(this[_0x5098dc(0x2e7)]instanceof ee))throw new TypeError(_0x5098dc(0x1f8));const _0x34ebfb=_0x564b06[_0x5098dc(0x395)](_0x1ba355=>{var _0xcd6b56=_0x5098dc;const _0x225f4b=this[_0xcd6b56(0x497)][_0xcd6b56(0x304)][_0xcd6b56(0x206)](this['_compressMutationService']['interceptor'][_0xcd6b56(0x3c7)]()[_0xcd6b56(0x393)])(_0x1ba355[_0xcd6b56(0x4cc)],null)||_0x1ba355[_0xcd6b56(0x4cc)];return{..._0x1ba355,'mutations':_0x225f4b};});this[_0x5098dc(0x214)](),this[_0x5098dc(0x470)](this[_0x5098dc(0x2e7)]['onMissedChangesetFetched'](_0x34ebfb)),this[_0x5098dc(0x2d2)]();}[_0x451168(0x3ec)](){var _0x23ecc1=_0x451168;this[_0x23ecc1(0x214)](),this['_updateState'](this[_0x23ecc1(0x2e7)]['toggleOffline']()),this[_0x23ecc1(0x2d2)]();}[_0x451168(0x4c1)](_0x4a5f7e=!0x1){var _0x2dd843=_0x451168;this[_0x2dd843(0x214)](),this[_0x2dd843(0x470)](this['_state'][_0x2dd843(0x474)]()),this[_0x2dd843(0x2d2)]();const _0x19b71a=this[_0x2dd843(0x2e7)];_0x4a5f7e&&_0x19b71a instanceof Ne&&(this[_0x2dd843(0x214)](),this[_0x2dd843(0x470)](_0x19b71a['fetchMiss']()),this['_unlockTransition']());}async[_0x451168(0x273)](){return new Promise(_0x4e0ef8=>{var _0x52e3fa=_0x4827;this[_0x52e3fa(0x36c)][_0x52e3fa(0x254)][_0x52e3fa(0x3cb)](_0x5e934b(0x1))[_0x52e3fa(0x375)](async _0x400bb4=>{var _0xeeb8ca=_0x52e3fa;_0x4e0ef8(await this[_0xeeb8ca(0x2b8)](_0x400bb4===Ee[_0xeeb8ca(0x410)]));});});}[_0x451168(0x29a)](){var _0xfb5025=_0x451168;const _0x295d91=this[_0xfb5025(0x24d)];return{'onStateChange':(_0x700f5a,_0x331a77)=>{var _0x27d581=_0xfb5025;if(_0x700f5a!==this['_state'])throw new Error(_0x27d581(0x3f9)+_0x700f5a['status']+_0x27d581(0x24e)+_0x331a77[_0x27d581(0x46c)]+_0x27d581(0x34a)+this[_0x27d581(0x2e7)][_0x27d581(0x46c)]);this[_0x27d581(0x470)](_0x331a77);},'onSendChangeset':_0x51bd70=>{var _0x11fc83=_0xfb5025;_0x51bd70[_0x11fc83(0x348)]||(_0x51bd70[_0x11fc83(0x348)]=this[_0x11fc83(0x316)],_0x51bd70['reqId']=++this[_0x11fc83(0x23f)]);const _0x13ba97={'eventID':_0x3c37fa[_0x11fc83(0x286)],'data':{'unitID':_0x51bd70[_0x11fc83(0x24d)],'unitType':this[_0x11fc83(0x3e7)],'changeset':_0x51bd70,'memberID':this['session']['getMemberID']()}};this['session'][_0x11fc83(0x3da)](_0x13ba97,this[_0x11fc83(0x24d)]);},'onMissingChangesets':({from:_0x5ea99a,to:_0x32768f})=>{var _0x371dc7=_0xfb5025;this[_0x371dc7(0x2e2)][_0x371dc7(0x4db)]('[CollaborationEntity]',_0x371dc7(0x314)+_0x5ea99a+_0x371dc7(0x208)+_0x32768f);const _0x1e1c95={'eventID':_0x3c37fa[_0x371dc7(0x4b8)],'data':{'unitID':_0x295d91,'unitType':this[_0x371dc7(0x3e7)],'from':_0x5ea99a,'to':_0x32768f}};this['session'][_0x371dc7(0x3da)](_0x1e1c95,this[_0x371dc7(0x24d)]);}};}async[_0x451168(0x2b8)](_0x168724){var _0x49a754=_0x451168,_0x4452d9,_0xf09c8,_0x3de978;const _0x2b7f2b=await((_0x4452d9=this[_0x49a754(0x362)])==null?void 0x0:_0x4452d9[_0x49a754(0x439)](this[_0x49a754(0x24d)])),_0x178f3d=(_0xf09c8=_0x2b7f2b==null?void 0x0:_0x2b7f2b[_0x49a754(0x4cc)])!=null?_0xf09c8:[],_0x2d1b19=(_0x3de978=_0x2b7f2b==null?void 0x0:_0x2b7f2b[_0x49a754(0x40f)])!=null?_0x3de978:null,_0xff4676=!!(_0x2d1b19!=null&&_0x2d1b19['sid'])&&!!(_0x2d1b19!=null&&_0x2d1b19[_0x49a754(0x31e)]);this[_0x49a754(0x316)]=_0xff4676?_0x2d1b19[_0x49a754(0x348)]:Zn(),this['_changesetReqId']=_0xff4676?_0x2d1b19[_0x49a754(0x31e)]:0x0;const _0x3f11cf=this[_0x49a754(0x24d)];try{this[_0x49a754(0x244)](_0x2d1b19,_0x178f3d);}catch(_0xcf087d){this[_0x49a754(0x2e2)][_0x49a754(0x24c)](_0xcf087d);}const _0x5861ee=this[_0x49a754(0x29a)]();if(_0x168724){const _0x5d7353=yi(this[_0x49a754(0x3a5)],_0x3f11cf,this[_0x49a754(0x3e7)],_0x2d1b19,_0x178f3d,_0x5861ee);return _0x5d7353 instanceof ae?_0x5d7353[_0x49a754(0x43d)]():(_0x5d7353 instanceof oe||_0x5d7353 instanceof le)&&_0x5d7353[_0x49a754(0x446)](),_0x5d7353;}return this[_0x49a754(0x3a5)][_0x49a754(0x271)](de,_0x3f11cf,this[_0x49a754(0x3e7)],_0x2d1b19,_0x178f3d,_0x5861ee);}['_replayCachedMutations'](_0x30c4a9,_0x2b2751){var _0x49dbc0=_0x451168,_0x269c5e,_0x4582a1;const _0x3fbf13=this[_0x49dbc0(0x497)]['interceptor'][_0x49dbc0(0x206)](this['_compressMutationService'][_0x49dbc0(0x304)][_0x49dbc0(0x3c7)]()['COMPRESS_MUTATION_APPLY']);(_0x269c5e=_0x3fbf13((_0x30c4a9==null?void 0x0:_0x30c4a9[_0x49dbc0(0x4cc)])||[],null))==null||_0x269c5e[_0x49dbc0(0x4b2)](_0x3951d7=>this['_commandService']['executeCommand'](_0x3951d7['id'],_0x3951d7['params'])),(_0x4582a1=_0x3fbf13(_0x2b2751||[],null))==null||_0x4582a1[_0x49dbc0(0x4b2)](_0x401335=>this[_0x49dbc0(0x4d7)][_0x49dbc0(0x4eb)](_0x401335['id'],_0x401335[_0x49dbc0(0x481)]));}};nt=Lt([H(0x3,_0x4f01fa(_0x34b850)),H(0x4,_0x4f01fa(_0xa499c6)),H(0x5,_0x4f01fa(_0x1f2159)),H(0x6,_0x4f01fa(_0x50f162)),H(0x7,_0x4f01fa(pe)),H(0x8,_0x567e29),H(0x9,_0x494a61),H(0xa,_0x3d8c7e),H(0xb,_0x189190(ht)),H(0xc,_0x189190(J))],nt);let It=class extends nt{constructor(_0x1fa62,_0x21e125,_0x4bdf82,_0x4d8425,_0x3cf756,_0x46e518,_0x2c81d0,_0x706cfc,_0x37a851,_0x561a0d,_0x57d689,_0x1a1e0a,_0x109ad4){var _0x3fd1d5=_0x451168;super(_0x1fa62,_0x4bdf82,_0x21e125,_0x4d8425,_0x3cf756,_0x46e518,_0x2c81d0,_0x706cfc,_0x37a851,_0x561a0d,_0x57d689,_0x1a1e0a,_0x109ad4),N(this,_0x3fd1d5(0x382),null),(this[_0x3fd1d5(0x24d)]=_0x1fa62,this['type']=_0x21e125);}['addHandlerCallback'](_0x56bc41){this['_handlerCallback']=_0x56bc41;}['dispose'](){var _0x3616b0=_0x451168;this[_0x3616b0(0x382)]=null,super[_0x3616b0(0x35e)]();}[_0x451168(0x29a)](){var _0x715dd3=_0x451168;const _0x101743=super[_0x715dd3(0x29a)]();return _0x101743['onTransformIME']=_0x5620b0=>{var _0x23a461=_0x715dd3,_0x213d81,_0x2e39c7;return(_0x2e39c7=(_0x213d81=this[_0x23a461(0x382)])==null?void 0x0:_0x213d81['onTransformIME'])==null?void 0x0:_0x2e39c7[_0x23a461(0x358)](_0x213d81,_0x5620b0);},_0x101743[_0x715dd3(0x45e)]=_0x189639=>{var _0x171f5c=_0x715dd3,_0xb7e9c5,_0x1264a7;return(_0x1264a7=(_0xb7e9c5=this['_handlerCallback'])==null?void 0x0:_0xb7e9c5['onTransformState'])==null?void 0x0:_0x1264a7[_0x171f5c(0x358)](_0xb7e9c5,_0x189639);},_0x101743[_0x715dd3(0x4c7)]=_0x2f1c37=>{var _0x338da4=_0x715dd3,_0x829cc0,_0x3404e0;return(_0x3404e0=(_0x829cc0=this['_handlerCallback'])==null?void 0x0:_0x829cc0['onTransformSelections'])==null?void 0x0:_0x3404e0[_0x338da4(0x358)](_0x829cc0,_0x2f1c37);},_0x101743[_0x715dd3(0x3db)]=_0x2210af=>{var _0x4b4c45=_0x715dd3,_0x501f5a,_0xbca6b6;return(_0xbca6b6=(_0x501f5a=this[_0x4b4c45(0x382)])==null?void 0x0:_0x501f5a['onSyncEditingCollabCursor'])==null?void 0x0:_0xbca6b6['call'](_0x501f5a,_0x2210af);},_0x101743[_0x715dd3(0x4c4)]=_0x48cc5f=>{var _0x1c2513=_0x715dd3,_0x1e6b7c,_0x3254ea,_0x1f25cf;if(!((_0x1e6b7c=this[_0x1c2513(0x382)])!=null&&_0x1e6b7c[_0x1c2513(0x4c4)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x1f25cf=(_0x3254ea=this[_0x1c2513(0x382)])==null?void 0x0:_0x3254ea[_0x1c2513(0x4c4)])==null?void 0x0:_0x1f25cf['call'](_0x3254ea,_0x48cc5f);},_0x101743[_0x715dd3(0x4c3)]=_0x183ba4=>{var _0x114caa=_0x715dd3,_0x1a2710,_0x12022e,_0x2607a6;if(!((_0x1a2710=this[_0x114caa(0x382)])!=null&&_0x1a2710[_0x114caa(0x4c3)]))throw new Error(_0x114caa(0x3b0));return(_0x2607a6=(_0x12022e=this[_0x114caa(0x382)])==null?void 0x0:_0x12022e[_0x114caa(0x4c3)])==null?void 0x0:_0x2607a6[_0x114caa(0x358)](_0x12022e,_0x183ba4);},_0x101743;}async[_0x451168(0x36f)](){var _0x209a66=_0x451168;const _0x4e80e6=await super[_0x209a66(0x36f)]();return this[_0x209a66(0x29c)](this[_0x209a66(0x4d7)][_0x209a66(0x337)]((_0x32903c,_0x3bbda4)=>{var _0x2d67ea=_0x209a66;if(_0x32903c[_0x2d67ea(0x3f0)]!==_0x4a023a['MUTATION']||_0x3bbda4!=null&&_0x3bbda4[_0x2d67ea(0x3d2)]||_0x3bbda4!=null&&_0x3bbda4['onlyLocal']||_0x32903c['id']===_0x3c15e0['id'])return;const _0x1dfb39=_0x32903c[_0x2d67ea(0x481)];if((_0x1dfb39==null?void 0x0:_0x1dfb39[_0x2d67ea(0x2aa)])!==this[_0x2d67ea(0x24d)])return;const _0x3f072e=_0x32903c,_0x2f6d8b=this[_0x2d67ea(0x497)][_0x2d67ea(0x304)][_0x2d67ea(0x206)](this['_compressMutationService'][_0x2d67ea(0x304)][_0x2d67ea(0x3c7)]()[_0x2d67ea(0x352)])([_0x3f072e],null)||[_0x3f072e];this[_0x2d67ea(0x324)](_0x2f6d8b[0x0]);})),_0x4e80e6;}};It=Lt([H(0x3,_0x4f01fa(_0x34b850)),H(0x4,_0x4f01fa(_0xa499c6)),H(0x5,_0x4f01fa(_0x1f2159)),H(0x6,_0x4f01fa(_0x50f162)),H(0x7,_0x4f01fa(pe)),H(0x8,_0x567e29),H(0x9,_0x494a61),H(0xa,_0x3d8c7e),H(0xb,_0x189190(ht)),H(0xc,_0x189190(J))],It);let Tt=class extends nt{constructor(_0x1789b0,_0x4b71f6,_0x366b1b,_0x102032,_0xafdc6c,_0x21c06f,_0xbd28b8,_0x9f6095,_0x265b13,_0x54cc27,_0x3d6542,_0x40e35d,_0x443f88,_0x255cb1){var _0x459908=_0x451168;super(_0x1789b0,_0x366b1b,_0x4b71f6,_0x102032,_0xafdc6c,_0x21c06f,_0xbd28b8,_0x265b13,_0x54cc27,_0x3d6542,_0x40e35d,_0x443f88,_0x255cb1),this[_0x459908(0x24d)]=_0x1789b0,this['type']=_0x4b71f6,this[_0x459908(0x36a)]=_0x9f6095;}['_createHandler'](){var _0x36c619=_0x451168;const _0x3ab484=super[_0x36c619(0x29a)]();return _0x3ab484[_0x36c619(0x4c7)]=_0x2f353d=>this[_0x36c619(0x36a)][_0x36c619(0x3b4)](_0x2f353d),_0x3ab484;}async[_0x451168(0x36f)](){var _0x163251=_0x451168;const _0x31bfc6=await super['_init']();return this['disposeWithMe'](this[_0x163251(0x4d7)]['onCommandExecuted']((_0x173229,_0x59d17f)=>{var _0x1899c3=_0x163251;if(_0x173229[_0x1899c3(0x3f0)]!==_0x4a023a[_0x1899c3(0x1f7)]||_0x59d17f!=null&&_0x59d17f[_0x1899c3(0x3d2)]||_0x59d17f!=null&&_0x59d17f[_0x1899c3(0x373)])return;const _0x36be8a=_0x173229[_0x1899c3(0x481)];if((_0x36be8a==null?void 0x0:_0x36be8a[_0x1899c3(0x2aa)])!==this[_0x1899c3(0x24d)])return;const _0x5e4258=_0x173229,_0x3e7b57=this['_compressMutationService'][_0x1899c3(0x304)][_0x1899c3(0x206)](this['_compressMutationService']['interceptor'][_0x1899c3(0x3c7)]()['COMPRESS_MUTATION_SEND'])([_0x5e4258],null)||[_0x5e4258];this[_0x1899c3(0x324)](_0x3e7b57[0x0]);})),_0x31bfc6;}};Tt=Lt([H(0x3,_0x4f01fa(_0x34b850)),H(0x4,_0x4f01fa(_0xa499c6)),H(0x5,_0x4f01fa(_0x1f2159)),H(0x6,_0x4f01fa(_0x50f162)),H(0x7,_0x4f01fa(it)),H(0x8,_0x4f01fa(pe)),H(0x9,_0x567e29),H(0xa,_0x494a61),H(0xb,_0x3d8c7e),H(0xc,_0x189190(ht)),H(0xd,_0x189190(J))],Tt);var os=Object[_0x451168(0x30f)],cs=(_0x122fc1,_0x34476a,_0x1f73ff,_0x14c3ae)=>{var _0x3ec0e7=_0x451168;for(var _0x27d3b0=_0x14c3ae>0x1?void 0x0:_0x14c3ae?os(_0x34476a,_0x1f73ff):_0x34476a,_0x3e4944=_0x122fc1[_0x3ec0e7(0x2c5)]-0x1,_0x235925;_0x3e4944>=0x0;_0x3e4944--)(_0x235925=_0x122fc1[_0x3e4944])&&(_0x27d3b0=_0x235925(_0x27d3b0)||_0x27d3b0);return _0x27d3b0;},ft=(_0x16152f,_0x433708)=>(_0x31bce3,_0x5b4425)=>_0x433708(_0x31bce3,_0x5b4425,_0x16152f);let st=class extends _0x2b1296{constructor(_0x43ebc4,_0x5c816e,_0x189ec1){var _0x24cdac=_0x451168;super(),N(this,_0x24cdac(0x44f),new Map()),N(this,'_entityInit$',new _0x3c506d()),N(this,_0x24cdac(0x3ff),this['_entityInit$'][_0x24cdac(0x35a)]()),(this[_0x24cdac(0x3a5)]=_0x43ebc4,this[_0x24cdac(0x2a5)]=_0x5c816e,this[_0x24cdac(0x3f3)]=_0x189ec1,this[_0x24cdac(0x36f)]());}['dispose'](){var _0x22ba91=_0x451168;super['dispose'](),this[_0x22ba91(0x44f)][_0x22ba91(0x4b2)](_0x1a5557=>_0x1a5557[_0x22ba91(0x35e)]()),this[_0x22ba91(0x44f)]['clear']();}[_0x451168(0x28d)](_0x2dc2a5){var _0x57c205=_0x451168,_0x255016;return(_0x255016=this[_0x57c205(0x44f)][_0x57c205(0x3f1)](_0x2dc2a5))!=null?_0x255016:null;}[_0x451168(0x338)](_0x37c87d){var _0x637f41=_0x451168;const _0x4f19b4=this[_0x637f41(0x28d)](_0x37c87d);return _0x4f19b4?_0x3b65d5(_0x4f19b4):this['_entityInit$'][_0x637f41(0x3cb)](_0x5bdd19(_0x2a7e32=>_0x2a7e32[_0x637f41(0x24d)]===_0x37c87d));}['readyForCollab'](_0x4db9ed){var _0x582e8a=_0x451168;return _0x4362b5(this[_0x582e8a(0x338)](_0x4db9ed)[_0x582e8a(0x3cb)](_0x506b1a(()=>{})));}[_0x451168(0x36f)](){var _0x974ada=_0x451168;this[_0x974ada(0x3f3)][_0x974ada(0x4df)](_0x4dbe30['UNIVER_SHEET'])[_0x974ada(0x3cb)](_0x1c2da5(this[_0x974ada(0x330)]),_0x3e037c(0x10))['subscribe'](async _0x31e68a=>{var _0xd13700=_0x974ada;const _0x56a3ef=_0x31e68a['getUnitId'](),_0x6cd2e8=await this[_0xd13700(0x44d)](_0x56a3ef,Q[_0xd13700(0x1f3)]);this[_0xd13700(0x44f)][_0xd13700(0x449)](_0x56a3ef,_0x6cd2e8);}),this[_0x974ada(0x3f3)][_0x974ada(0x4df)](_0x4dbe30[_0x974ada(0x2d0)])[_0x974ada(0x3cb)](_0x1c2da5(this[_0x974ada(0x330)]),_0x3e037c(0x10))[_0x974ada(0x3cb)](_0x5bdd19(_0x2207b3=>!_0x2207b3['getUnitId']()[_0x974ada(0x277)]('__')))['subscribe'](async _0x5cef91=>{var _0x4b292e=_0x974ada;const _0x6000e=_0x5cef91[_0x4b292e(0x491)](),_0x256798=await this[_0x4b292e(0x44d)](_0x6000e,Q[_0x4b292e(0x2d0)]);this[_0x4b292e(0x44f)][_0x4b292e(0x449)](_0x6000e,_0x256798);}),_0x5efdfb(this[_0x974ada(0x3f3)][_0x974ada(0x4ed)](_0x4dbe30[_0x974ada(0x1f3)]),this[_0x974ada(0x3f3)]['getTypeOfUnitDisposed$'](_0x4dbe30['UNIVER_DOC']))[_0x974ada(0x3cb)](_0x1c2da5(this[_0x974ada(0x330)]))[_0x974ada(0x375)](_0x2addb1=>{var _0x13de72=_0x974ada;const _0x3d65a8=_0x2addb1['getUnitId'](),_0xf170a7=this[_0x13de72(0x44f)][_0x13de72(0x3f1)](_0x3d65a8);_0xf170a7&&(_0xf170a7[_0x13de72(0x35e)](),this[_0x13de72(0x44f)]['delete'](_0x3d65a8));});}async[_0x451168(0x44d)](_0x3ccda1,_0x1b81fb){var _0x31990e=_0x451168;const _0x4e40f8=await this[_0x31990e(0x2a5)][_0x31990e(0x4cb)](_0x3ccda1),_0x5aceea=this[_0x31990e(0x3a5)][_0x31990e(0x271)](this['_getCtorByUniverType'](_0x1b81fb),_0x3ccda1,_0x1b81fb,_0x4e40f8);return await _0x5aceea[_0x31990e(0x44a)](),this[_0x31990e(0x476)]['next'](_0x5aceea),_0x5aceea;}[_0x451168(0x48a)](_0xe3ed79){var _0x57a44e=_0x451168;switch(_0xe3ed79){case Q[_0x57a44e(0x2d0)]:return It;case Q[_0x57a44e(0x1f3)]:return Tt;default:throw new Error(_0x57a44e(0x418)+_0xe3ed79);}}};st=cs([ft(0x0,_0x4f01fa(_0x34b850)),ft(0x1,_0x4f01fa(xe)),ft(0x2,_0x7b4c4)],st);var hs=Object[_0x451168(0x30f)],_s=(_0x2e213d,_0x2c7819,_0x406625,_0x5025ae)=>{var _0xe8e664=_0x451168;for(var _0x2bedf0=_0x5025ae>0x1?void 0x0:_0x5025ae?hs(_0x2c7819,_0x406625):_0x2c7819,_0x3bfc53=_0x2e213d[_0xe8e664(0x2c5)]-0x1,_0x3e7438;_0x3bfc53>=0x0;_0x3bfc53--)(_0x3e7438=_0x2e213d[_0x3bfc53])&&(_0x2bedf0=_0x3e7438(_0x2bedf0)||_0x2bedf0);return _0x2bedf0;},zt=(_0x453979,_0xe62eb1)=>(_0x159512,_0x28c05c)=>_0xe62eb1(_0x159512,_0x28c05c,_0x453979);const ls='DEFAULT_FILE_NAME',us=_0x451168(0x349);let Ct=class extends _0x26eec7{constructor(_0x3e8c7f,_0x439ad7){var _0x21019b=_0x451168;super(),this[_0x21019b(0x3f3)]=_0x3e8c7f,this['_configService']=_0x439ad7,this[_0x21019b(0x36f)]();}[_0x451168(0x36f)](){var _0x382f06=_0x451168;this['disposeWithMe'](this[_0x382f06(0x3f3)][_0x382f06(0x42d)]['subscribe'](()=>{var _0x4d69fd=_0x382f06,_0x4c9f81;const _0xe0b6d9=this[_0x4d69fd(0x3f3)]['getFocusedUnit']();let _0x37c0b6=(_0x4c9f81=this[_0x4d69fd(0x379)][_0x4d69fd(0x4dd)](ls))!=null?_0x4c9f81:us;_0xe0b6d9 instanceof _0x1cfb06&&(_0x37c0b6=_0xe0b6d9['name']),document[_0x4d69fd(0x2b0)]=_0x37c0b6;}));}};Ct=_s([zt(0x0,_0x7b4c4),zt(0x1,_0x411df2)],Ct);var ds=Object[_0x451168(0x30f)],fs=(_0x2233b3,_0xeedc71,_0x37e7e2,_0x31bffd)=>{var _0x3e47f7=_0x451168;for(var _0x2f6245=_0x31bffd>0x1?void 0x0:_0x31bffd?ds(_0xeedc71,_0x37e7e2):_0xeedc71,_0x25fef2=_0x2233b3[_0x3e47f7(0x2c5)]-0x1,_0x1e5ccb;_0x25fef2>=0x0;_0x25fef2--)(_0x1e5ccb=_0x2233b3[_0x25fef2])&&(_0x2f6245=_0x1e5ccb(_0x2f6245)||_0x2f6245);return _0x2f6245;},vt=(_0x17998c,_0x218955)=>(_0x4269c7,_0x4e027b)=>_0x218955(_0x4269c7,_0x4e027b,_0x17998c);let rt=class{constructor(_0x51096d,_0x5aec65,_0x1c7796){var _0x17d257=_0x451168;this[_0x17d257(0x379)]=_0x51096d,this[_0x17d257(0x31b)]=_0x5aec65,this[_0x17d257(0x3df)]=_0x1c7796,this['init']();}[_0x451168(0x44a)](){var _0x16144a=_0x451168;this[_0x16144a(0x31b)][_0x16144a(0x27b)]({'priority':0x1,'interceptor':(_0x234c01,_0x451c09)=>_0x451c09(_0x234c01)[_0x16144a(0x3cb)](_0xbf56f0(async _0x172eea=>{var _0x40ff35=_0x16144a;const _0x2a3736=_0x172eea;if(_0x2a3736[_0x40ff35(0x46c)]===0x191){if(typeof window>'u')throw new Error(_0x40ff35(0x390));if(window[_0x40ff35(0x3dc)](this[_0x40ff35(0x3df)]['t'](_0x40ff35(0x4b6)))){const _0x3420fd=window[_0x40ff35(0x28f)](window[_0x40ff35(0x207)][_0x40ff35(0x28a)]);window[_0x40ff35(0x207)][_0x40ff35(0x28a)]=this[_0x40ff35(0x2dd)]()+_0x40ff35(0x381)+_0x3420fd;}}return _0x2a3736;}))});}['_getLoginPath'](){var _0x584ccf=_0x451168,_0x3bc07c,_0x1fd616;const _0x165552=this[_0x584ccf(0x379)]['getConfig'](Un),_0x296543=this[_0x584ccf(0x379)]['getConfig'](q);return(_0x1fd616=(_0x3bc07c=_0x296543==null?void 0x0:_0x296543['loginUrlKey'])!=null?_0x3bc07c:_0x165552)!=null?_0x1fd616:An;}};rt=fs([vt(0x0,_0x411df2),vt(0x1,_0x4f01fa(_0x3b3a25)),vt(0x2,_0x4f01fa(_0x1f2159))],rt);var vs=Object[_0x451168(0x30f)],ps=(_0x43540a,_0x1a0324,_0x3c9a18,_0x3bb8c8)=>{for(var _0x2a51e0=_0x3bb8c8>0x1?void 0x0:_0x3bb8c8?vs(_0x1a0324,_0x3c9a18):_0x1a0324,_0x39a66e=_0x43540a['length']-0x1,_0x114712;_0x39a66e>=0x0;_0x39a66e--)(_0x114712=_0x43540a[_0x39a66e])&&(_0x2a51e0=_0x114712(_0x2a51e0)||_0x2a51e0);return _0x2a51e0;},Jt=(_0xe63e01,_0x1bfa7b)=>(_0x1e051c,_0x4775c8)=>_0x1bfa7b(_0x1e051c,_0x4775c8,_0xe63e01);const Ni=_0x451168(0x41b),ms=_0x451168(0x469);let Rt=class extends _0x26eec7{constructor(_0x5d29a3,_0x3bd712){var _0x30408c=_0x451168;super(),this[_0x30408c(0x42e)]=_0x5d29a3,this[_0x30408c(0x379)]=_0x3bd712,this[_0x30408c(0x45a)]();}['_initMergeInterceptor'](){var _0x9359a4=_0x451168;const _0x1524b1=this;this['disposeWithMe'](this[_0x9359a4(0x42e)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x48909e({'isMatch'(_0x5ed4ca){var _0x4548e0=_0x9359a4,_0x275c42;if(_0x5ed4ca[_0x4548e0(0x2e3)]===_0x4548e0(0x368)&&((_0x275c42=_0x5ed4ca[_0x4548e0(0x318)])!=null&&_0x275c42[_0x4548e0(0x342)])){const {objectID:_0x16b98e,objectType:_0x150718}=_0x5ed4ca[_0x4548e0(0x318)][_0x4548e0(0x342)]||{};if(!_0x16b98e||_0x150718===void 0x0)return!0x1;const _0x2e4af8=_0x1524b1[_0x4548e0(0x238)]()+'/'+_0x150718+'/object/'+_0x16b98e+'/allowed';if(_0x5ed4ca[_0x4548e0(0x3e9)]===_0x2e4af8)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3004ec){var _0x16898e=_0x9359a4,_0x1a2b5e;return(_0x1a2b5e=_0x3004ec[_0x16898e(0x318)])==null?void 0x0:_0x1a2b5e[_0x16898e(0x342)];},'mergeParamsToRequest'(_0x136f30,_0x14aca7){var _0x38ba0f=_0x9359a4;const _0x307e53=_0x1524b1[_0x38ba0f(0x238)]()+'/-/object/-/batch_allowed',_0x2fa10e=_0x136f30[_0x38ba0f(0x4b4)]((_0x299b42,_0x5bb6f9)=>{var _0x37baa2=_0x38ba0f;const {unitID:_0x30791e,objectID:_0x514f9b,objectType:_0x1bc6c0,actions:_0xb67e26}=_0x5bb6f9;return _0x299b42[_0x30791e]||(_0x299b42[_0x30791e]={}),_0x299b42[_0x30791e][_0x514f9b]||(_0x299b42[_0x30791e][_0x514f9b]={'objectID':_0x514f9b,'objectType':_0x1bc6c0,'actions':[]}),_0x299b42[_0x30791e][_0x514f9b][_0x37baa2(0x222)][_0x37baa2(0x34d)](..._0xb67e26),_0x299b42;},{}),_0x2ce4e6=[];for(const _0x580cb8 in _0x2fa10e)for(const _0x3e35cc in _0x2fa10e[_0x580cb8]){const {actions:_0xd0d920,objectType:_0x43b2e9}=_0x2fa10e[_0x580cb8][_0x3e35cc],_0x2539a5=[...new Set(_0xd0d920)];_0x2ce4e6['push']({'unitID':_0x580cb8,'objectID':_0x3e35cc,'objectType':_0x43b2e9,'actions':_0x2539a5});}return new _0x10a7f1(_0x38ba0f(0x368),_0x307e53,{'headers':_0x14aca7[_0x38ba0f(0x356)],'withCredentials':_0x14aca7['withCredentials'],'responseType':_0x14aca7['responseType'],'body':{'requests':_0x2ce4e6}});}},{'distributeResult'(_0x378eb3,_0x49fe17){var _0x5c23dd=_0x9359a4;const {objectActions:_0x1caa14}=_0x378eb3;return _0x49fe17[_0x5c23dd(0x395)](_0x58cc6d=>{var _0x1d8b2d=_0x5c23dd;const {unitID:_0x1bc4ac,objectID:_0x3a5153,actions:_0x551620}=_0x58cc6d,_0x4e0803=_0x1caa14[_0x1d8b2d(0x300)](_0x400ba8=>_0x400ba8[_0x1d8b2d(0x24d)]===_0x1bc4ac&&_0x400ba8['objectID']===_0x3a5153),_0x55ab8f=_0x551620[_0x1d8b2d(0x395)](_0x4ac92c=>_0x4e0803==null?void 0x0:_0x4e0803['actions']['find'](_0x55f3a2=>_0x55f3a2[_0x1d8b2d(0x4d6)]===_0x4ac92c))[_0x1d8b2d(0x4bc)](_0x3a67d1=>!!_0x3a67d1);return{'config':_0x58cc6d,'result':{'actions':_0x55ab8f,'error':_0x378eb3[_0x1d8b2d(0x24c)]}};});}})}));}['_getAPIPrefixPath'](){var _0x2a2e45=_0x451168,_0x2c74f5,_0x47448c;const _0x559829=this[_0x2a2e45(0x379)][_0x2a2e45(0x4dd)](Ni),_0x1799de=this[_0x2a2e45(0x379)][_0x2a2e45(0x4dd)](q);return(_0x47448c=(_0x2c74f5=_0x1799de==null?void 0x0:_0x1799de[_0x2a2e45(0x43e)])!=null?_0x2c74f5:_0x559829)!=null?_0x47448c:ms;}async['create'](_0xf6bf1){var _0x190f1f=_0x451168;const _0x509efc=this[_0x190f1f(0x238)]()+'/'+_0xf6bf1['objectType']+_0x190f1f(0x4d0);return(await this['_HTTPService']['post'](_0x509efc,{'body':_0xf6bf1}))['body']['objectID']||'';}async['list'](_0x29085d){var _0x514733=_0x451168;const _0x4f0986=this[_0x514733(0x238)]()+_0x514733(0x2f6);return(await this[_0x514733(0x42e)][_0x514733(0x25f)](_0x4f0986,{'body':_0x29085d}))['body'][_0x514733(0x1f6)];}async[_0x451168(0x413)](_0x4676ea){var _0x376703=_0x451168,_0xc89d58,_0x34f398;const _0x50f310=this[_0x376703(0x238)]()+'/'+_0x4676ea[_0x376703(0x21c)]+_0x376703(0x416)+_0x4676ea[_0x376703(0x39f)],_0x265197=await this['_HTTPService'][_0x376703(0x369)](_0x50f310,{'body':_0x4676ea});if(((_0x34f398=(_0xc89d58=_0x265197==null?void 0x0:_0x265197[_0x376703(0x342)])==null?void 0x0:_0xc89d58['error'])==null?void 0x0:_0x34f398[_0x376703(0x2ff)])!==0x1)throw new Error(_0x376703(0x293));}async['allowed'](_0x4e11b0){var _0xf695e0=_0x451168;const _0x44a4cb=this[_0xf695e0(0x238)]()+'/'+_0x4e11b0['objectType']+'/object/'+_0x4e11b0[_0xf695e0(0x39f)]+'/allowed';return(await this['_HTTPService'][_0xf695e0(0x25f)](_0x44a4cb,{'body':_0x4e11b0}))[_0xf695e0(0x342)][_0xf695e0(0x222)];}async['batchAllowed'](_0x1c5823){var _0x4ac386=_0x451168;const _0xb030f2=this[_0x4ac386(0x238)]()+'/-/object/-/batch_allowed';return(await this['_HTTPService'][_0x4ac386(0x25f)](_0xb030f2,{'body':{'requests':_0x1c5823}}))['body']['objectActions'];}async['listRoles'](_0x4f7b60){var _0x2d6a45=_0x451168;const _0x3650ba=this['_getAPIPrefixPath']()+'/'+_0x4f7b60[_0x2d6a45(0x21c)]+_0x2d6a45(0x29e),_0x571c7b=await this[_0x2d6a45(0x42e)][_0x2d6a45(0x25f)](_0x3650ba,{'body':_0x4f7b60});return{'roles':_0x571c7b[_0x2d6a45(0x342)][_0x2d6a45(0x327)],'actions':_0x571c7b[_0x2d6a45(0x342)]['actions']};}async[_0x451168(0x409)](_0x5bedb4){var _0x1d6568=_0x451168;const _0x27d36e=this[_0x1d6568(0x238)]()+'/collaborator';await this[_0x1d6568(0x42e)][_0x1d6568(0x2f4)](_0x27d36e,{'params':{'collaboratorID':_0x5bedb4[_0x1d6568(0x2b3)],'objectID':_0x5bedb4[_0x1d6568(0x39f)],'unitID':_0x5bedb4['unitID']}});}async[_0x451168(0x249)](_0xdd006c){var _0x4c5205=_0x451168;const _0x1af079=this[_0x4c5205(0x238)]()+'/collaborator';await this[_0x4c5205(0x42e)][_0x4c5205(0x45c)](_0x1af079,{'body':_0xdd006c});}async['createCollaborator'](_0x5adeb0){var _0x1ad464=_0x451168;const _0x16f914=this[_0x1ad464(0x238)]()+_0x1ad464(0x3cd);await this[_0x1ad464(0x42e)][_0x1ad464(0x25f)](_0x16f914,{'body':_0x5adeb0});}async[_0x451168(0x24b)](_0x38404c){var _0x11ce7f=_0x451168;const _0x3e9e46=this[_0x11ce7f(0x238)]()+_0x11ce7f(0x3cd);return(await this[_0x11ce7f(0x42e)]['get'](_0x3e9e46,{'params':{'objectID':_0x38404c[_0x11ce7f(0x39f)],'unitID':_0x38404c[_0x11ce7f(0x24d)]}}))[_0x11ce7f(0x342)][_0x11ce7f(0x3ef)];}async[_0x451168(0x4d8)](_0x199caa){var _0x1dc023=_0x451168;const _0x22640c=this[_0x1dc023(0x238)]()+_0x1dc023(0x3cd);await this['_HTTPService'][_0x1dc023(0x369)](_0x22640c,{'body':_0x199caa});}};Rt=ps([Jt(0x0,_0x4f01fa(_0x3b3a25)),Jt(0x1,_0x4f01fa(_0x411df2))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x2abec1){var _0x1c406f=_0x451168;return _0x2abec1&&_0x2abec1['__esModule']&&Object[_0x1c406f(0x3fc)][_0x1c406f(0x472)]['call'](_0x2abec1,_0x1c406f(0x448))?_0x2abec1[_0x1c406f(0x448)]:_0x2abec1;}var Ve={'exports':{}};function gs(_0x4e2c19){var _0x6e7a02=_0x451168;throw new Error(_0x6e7a02(0x1ff)+_0x4e2c19+_0x6e7a02(0x4e9));}var Ge={'exports':{}},Ss=Ge['exports'],Xt;function ie(){var _0xd8041c=_0x451168;return Xt||(Xt=0x1,function(_0x336a6c,_0xd47465){(function(_0xe19c30,_0x4d3c25){var _0x168979=_0x4827;_0x336a6c[_0x168979(0x4d4)]=_0x4d3c25();}(Ss,function(){var _0x5db2a2=_0x5db2a2||function(_0x1093dc,_0x87d30d){var _0x17ad4d=_0x4827,_0x34499e;if(typeof window<'u'&&window['crypto']&&(_0x34499e=window[_0x17ad4d(0x3e1)]),typeof self<'u'&&self[_0x17ad4d(0x3e1)]&&(_0x34499e=self[_0x17ad4d(0x3e1)]),typeof globalThis<'u'&&globalThis[_0x17ad4d(0x3e1)]&&(_0x34499e=globalThis[_0x17ad4d(0x3e1)]),!_0x34499e&&typeof window<'u'&&window[_0x17ad4d(0x2e9)]&&(_0x34499e=window[_0x17ad4d(0x2e9)]),!_0x34499e&&typeof pt<'u'&&pt['crypto']&&(_0x34499e=pt['crypto']),!_0x34499e&&typeof gs==_0x17ad4d(0x451))try{_0x34499e=require('crypto');}catch{}var _0x1a66ee=function(){var _0x19a669=_0x17ad4d;if(_0x34499e){if(typeof _0x34499e[_0x19a669(0x201)]=='function')try{return _0x34499e[_0x19a669(0x201)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x34499e[_0x19a669(0x398)]=='function')try{return _0x34499e[_0x19a669(0x398)](0x4)[_0x19a669(0x3d0)]();}catch{}}throw new Error(_0x19a669(0x2a3));},_0x1829e4=Object['create']||(function(){function _0x2c95c1(){}return function(_0x57ec35){var _0x335051=_0x4827,_0x15714f;return _0x2c95c1[_0x335051(0x3fc)]=_0x57ec35,_0x15714f=new _0x2c95c1(),_0x2c95c1[_0x335051(0x3fc)]=null,_0x15714f;};}()),_0x46d7d6={},_0x18e3b4=_0x46d7d6['lib']={},_0x2ded1f=_0x18e3b4[_0x17ad4d(0x475)]=(function(){return{'extend':function(_0xd0fdd6){var _0x1a6f39=_0x4827,_0x199cf=_0x1829e4(this);return _0xd0fdd6&&_0x199cf[_0x1a6f39(0x2d1)](_0xd0fdd6),(!_0x199cf[_0x1a6f39(0x472)]('init')||this[_0x1a6f39(0x44a)]===_0x199cf[_0x1a6f39(0x44a)])&&(_0x199cf[_0x1a6f39(0x44a)]=function(){var _0x3aceac=_0x1a6f39;_0x199cf[_0x3aceac(0x33f)]['init'][_0x3aceac(0x251)](this,arguments);}),_0x199cf['init'][_0x1a6f39(0x3fc)]=_0x199cf,_0x199cf[_0x1a6f39(0x33f)]=this,_0x199cf;},'create':function(){var _0x57078e=_0x4827,_0x1ed64d=this['extend']();return _0x1ed64d[_0x57078e(0x44a)][_0x57078e(0x251)](_0x1ed64d,arguments),_0x1ed64d;},'init':function(){},'mixIn':function(_0x304cce){var _0x5d656f=_0x4827;for(var _0x292ff2 in _0x304cce)_0x304cce[_0x5d656f(0x472)](_0x292ff2)&&(this[_0x292ff2]=_0x304cce[_0x292ff2]);_0x304cce[_0x5d656f(0x472)](_0x5d656f(0x298))&&(this['toString']=_0x304cce['toString']);},'clone':function(){var _0x45da6b=_0x4827;return this[_0x45da6b(0x44a)][_0x45da6b(0x3fc)][_0x45da6b(0x246)](this);}};}()),_0x3fd750=_0x18e3b4[_0x17ad4d(0x37d)]=_0x2ded1f[_0x17ad4d(0x246)]({'init':function(_0x11e180,_0x4cbdf3){var _0x52324a=_0x17ad4d;_0x11e180=this[_0x52324a(0x2c3)]=_0x11e180||[],_0x4cbdf3!=_0x87d30d?this['sigBytes']=_0x4cbdf3:this[_0x52324a(0x2fb)]=_0x11e180['length']*0x4;},'toString':function(_0x58cfe1){return(_0x58cfe1||_0x3a5b4e)['stringify'](this);},'concat':function(_0x3a42e8){var _0x1decef=_0x17ad4d,_0x2ab64e=this[_0x1decef(0x2c3)],_0x354e42=_0x3a42e8[_0x1decef(0x2c3)],_0x10c1bc=this[_0x1decef(0x2fb)],_0x392db0=_0x3a42e8[_0x1decef(0x2fb)];if(this[_0x1decef(0x257)](),_0x10c1bc%0x4)for(var _0x590bd7=0x0;_0x590bd7<_0x392db0;_0x590bd7++){var _0x1dd0ec=_0x354e42[_0x590bd7>>>0x2]>>>0x18-_0x590bd7%0x4*0x8&0xff;_0x2ab64e[_0x10c1bc+_0x590bd7>>>0x2]|=_0x1dd0ec<<0x18-(_0x10c1bc+_0x590bd7)%0x4*0x8;}else{for(var _0x36754f=0x0;_0x36754f<_0x392db0;_0x36754f+=0x4)_0x2ab64e[_0x10c1bc+_0x36754f>>>0x2]=_0x354e42[_0x36754f>>>0x2];}return this[_0x1decef(0x2fb)]+=_0x392db0,this;},'clamp':function(){var _0x447cca=_0x17ad4d,_0x21a7b7=this[_0x447cca(0x2c3)],_0x52baf1=this['sigBytes'];_0x21a7b7[_0x52baf1>>>0x2]&=0xffffffff<<0x20-_0x52baf1%0x4*0x8,_0x21a7b7[_0x447cca(0x2c5)]=_0x1093dc['ceil'](_0x52baf1/0x4);},'clone':function(){var _0x2ddb8d=_0x17ad4d,_0x44106f=_0x2ded1f['clone']['call'](this);return _0x44106f[_0x2ddb8d(0x2c3)]=this[_0x2ddb8d(0x2c3)][_0x2ddb8d(0x3c1)](0x0),_0x44106f;},'random':function(_0x4a3bb5){var _0x41400e=_0x17ad4d;for(var _0x199c5b=[],_0x1797c6=0x0;_0x1797c6<_0x4a3bb5;_0x1797c6+=0x4)_0x199c5b[_0x41400e(0x34d)](_0x1a66ee());return new _0x3fd750[(_0x41400e(0x44a))](_0x199c5b,_0x4a3bb5);}}),_0x6a2c8b=_0x46d7d6[_0x17ad4d(0x2ab)]={},_0x3a5b4e=_0x6a2c8b[_0x17ad4d(0x220)]={'stringify':function(_0x30994e){var _0x348f4a=_0x17ad4d;for(var _0x18a26d=_0x30994e['words'],_0xfcebaf=_0x30994e[_0x348f4a(0x2fb)],_0x323286=[],_0x2cc926=0x0;_0x2cc926<_0xfcebaf;_0x2cc926++){var _0x272455=_0x18a26d[_0x2cc926>>>0x2]>>>0x18-_0x2cc926%0x4*0x8&0xff;_0x323286['push']((_0x272455>>>0x4)[_0x348f4a(0x298)](0x10)),_0x323286[_0x348f4a(0x34d)]((_0x272455&0xf)['toString'](0x10));}return _0x323286[_0x348f4a(0x2c4)]('');},'parse':function(_0x1fb248){var _0xfcc945=_0x17ad4d;for(var _0x2fdb72=_0x1fb248[_0xfcc945(0x2c5)],_0x586c05=[],_0x39ed79=0x0;_0x39ed79<_0x2fdb72;_0x39ed79+=0x2)_0x586c05[_0x39ed79>>>0x3]|=parseInt(_0x1fb248[_0xfcc945(0x35f)](_0x39ed79,0x2),0x10)<<0x18-_0x39ed79%0x8*0x4;return new _0x3fd750['init'](_0x586c05,_0x2fdb72/0x2);}},_0x228e0d=_0x6a2c8b['Latin1']={'stringify':function(_0x1d3bc2){var _0x2e7236=_0x17ad4d;for(var _0x380116=_0x1d3bc2[_0x2e7236(0x2c3)],_0x4ba02e=_0x1d3bc2[_0x2e7236(0x2fb)],_0x5631a9=[],_0x187141=0x0;_0x187141<_0x4ba02e;_0x187141++){var _0x21163d=_0x380116[_0x187141>>>0x2]>>>0x18-_0x187141%0x4*0x8&0xff;_0x5631a9[_0x2e7236(0x34d)](String['fromCharCode'](_0x21163d));}return _0x5631a9[_0x2e7236(0x2c4)]('');},'parse':function(_0x3f3fa0){var _0x363bae=_0x17ad4d;for(var _0x326ab1=_0x3f3fa0[_0x363bae(0x2c5)],_0x2e894b=[],_0x402de=0x0;_0x402de<_0x326ab1;_0x402de++)_0x2e894b[_0x402de>>>0x2]|=(_0x3f3fa0[_0x363bae(0x3f8)](_0x402de)&0xff)<<0x18-_0x402de%0x4*0x8;return new _0x3fd750[(_0x363bae(0x44a))](_0x2e894b,_0x326ab1);}},_0x139b81=_0x6a2c8b[_0x17ad4d(0x248)]={'stringify':function(_0xd6c59d){var _0x4b960c=_0x17ad4d;try{return decodeURIComponent(escape(_0x228e0d[_0x4b960c(0x2fa)](_0xd6c59d)));}catch{throw new Error(_0x4b960c(0x23a));}},'parse':function(_0x5318eb){var _0xbb3a60=_0x17ad4d;return _0x228e0d[_0xbb3a60(0x2e5)](unescape(encodeURIComponent(_0x5318eb)));}},_0x4b61a0=_0x18e3b4[_0x17ad4d(0x3fd)]=_0x2ded1f[_0x17ad4d(0x246)]({'reset':function(){var _0x5a97d6=_0x17ad4d;this[_0x5a97d6(0x4c6)]=new _0x3fd750[(_0x5a97d6(0x44a))](),this['_nDataBytes']=0x0;},'_append':function(_0x54773e){var _0x4259a1=_0x17ad4d;typeof _0x54773e==_0x4259a1(0x47e)&&(_0x54773e=_0x139b81['parse'](_0x54773e)),this['_data'][_0x4259a1(0x253)](_0x54773e),this[_0x4259a1(0x2b1)]+=_0x54773e[_0x4259a1(0x2fb)];},'_process':function(_0x5e2e20){var _0x5f47d7=_0x17ad4d,_0x14f413,_0xb32c2a=this[_0x5f47d7(0x4c6)],_0x3b30be=_0xb32c2a[_0x5f47d7(0x2c3)],_0x8e7919=_0xb32c2a[_0x5f47d7(0x2fb)],_0x4670e0=this[_0x5f47d7(0x4a7)],_0x383cf0=_0x4670e0*0x4,_0xb3f33=_0x8e7919/_0x383cf0;_0x5e2e20?_0xb3f33=_0x1093dc['ceil'](_0xb3f33):_0xb3f33=_0x1093dc[_0x5f47d7(0x224)]((_0xb3f33|0x0)-this[_0x5f47d7(0x334)],0x0);var _0x2fdfcb=_0xb3f33*_0x4670e0,_0x519bec=_0x1093dc[_0x5f47d7(0x490)](_0x2fdfcb*0x4,_0x8e7919);if(_0x2fdfcb){for(var _0x2a7cc4=0x0;_0x2a7cc4<_0x2fdfcb;_0x2a7cc4+=_0x4670e0)this[_0x5f47d7(0x345)](_0x3b30be,_0x2a7cc4);_0x14f413=_0x3b30be[_0x5f47d7(0x3e5)](0x0,_0x2fdfcb),_0xb32c2a[_0x5f47d7(0x2fb)]-=_0x519bec;}return new _0x3fd750[(_0x5f47d7(0x44a))](_0x14f413,_0x519bec);},'clone':function(){var _0x3bfa9f=_0x17ad4d,_0xe57b66=_0x2ded1f[_0x3bfa9f(0x2f5)][_0x3bfa9f(0x358)](this);return _0xe57b66['_data']=this['_data'][_0x3bfa9f(0x2f5)](),_0xe57b66;},'_minBufferSize':0x0});_0x18e3b4['Hasher']=_0x4b61a0[_0x17ad4d(0x246)]({'cfg':_0x2ded1f[_0x17ad4d(0x246)](),'init':function(_0x280112){var _0x1e2060=_0x17ad4d;this[_0x1e2060(0x297)]=this[_0x1e2060(0x297)][_0x1e2060(0x246)](_0x280112),this[_0x1e2060(0x3bc)]();},'reset':function(){var _0x2ab0d4=_0x17ad4d;_0x4b61a0['reset']['call'](this),this[_0x2ab0d4(0x46d)]();},'update':function(_0x47db07){var _0x2e9668=_0x17ad4d;return this[_0x2e9668(0x2ad)](_0x47db07),this['_process'](),this;},'finalize':function(_0x4ab41d){var _0x14cadf=_0x17ad4d;_0x4ab41d&&this['_append'](_0x4ab41d);var _0x27db7e=this[_0x14cadf(0x3ba)]();return _0x27db7e;},'blockSize':0x10,'_createHelper':function(_0x523fa3){return function(_0x2232ad,_0x10e63d){var _0x1e9204=_0x4827;return new _0x523fa3[(_0x1e9204(0x44a))](_0x10e63d)[_0x1e9204(0x4e2)](_0x2232ad);};},'_createHmacHelper':function(_0x2e4ba2){return function(_0x253d28,_0xc17a6d){var _0x1f1000=_0x4827;return new _0x367d88[(_0x1f1000(0x3d3))][(_0x1f1000(0x44a))](_0x2e4ba2,_0xc17a6d)[_0x1f1000(0x4e2)](_0x253d28);};}});var _0x367d88=_0x46d7d6[_0x17ad4d(0x48d)]={};return _0x46d7d6;}(Math);return _0x5db2a2;}));}(Ge)),Ge[_0xd8041c(0x4d4)];}var We={'exports':{}},Es=We[_0x451168(0x4d4)],Zt;function Di(){var _0x26c49c=_0x451168;return Zt||(Zt=0x1,function(_0x300691,_0x543479){(function(_0x549e07,_0x46ee58){var _0x1e1891=_0x4827;_0x300691[_0x1e1891(0x4d4)]=_0x46ee58(ie());}(Es,function(_0x331497){var _0x9c9c6f=_0x4827;return(function(){var _0x3c0bc9=_0x4827,_0x437298=_0x331497,_0x1b4c49=_0x437298['lib'],_0x4f8035=_0x1b4c49[_0x3c0bc9(0x37d)],_0x5a93fd=_0x437298[_0x3c0bc9(0x2ab)];_0x5a93fd[_0x3c0bc9(0x467)]={'stringify':function(_0x2d3ffc){var _0x498346=_0x3c0bc9,_0x6ca6f=_0x2d3ffc[_0x498346(0x2c3)],_0x551427=_0x2d3ffc[_0x498346(0x2fb)],_0x569af2=this[_0x498346(0x394)];_0x2d3ffc[_0x498346(0x257)]();for(var _0x308a8c=[],_0x397326=0x0;_0x397326<_0x551427;_0x397326+=0x3)for(var _0x3a7424=_0x6ca6f[_0x397326>>>0x2]>>>0x18-_0x397326%0x4*0x8&0xff,_0x46cd8e=_0x6ca6f[_0x397326+0x1>>>0x2]>>>0x18-(_0x397326+0x1)%0x4*0x8&0xff,_0x7fe8e8=_0x6ca6f[_0x397326+0x2>>>0x2]>>>0x18-(_0x397326+0x2)%0x4*0x8&0xff,_0x71d6ee=_0x3a7424<<0x10|_0x46cd8e<<0x8|_0x7fe8e8,_0x538bf6=0x0;_0x538bf6<0x4&&_0x397326+_0x538bf6*0.75<_0x551427;_0x538bf6++)_0x308a8c[_0x498346(0x34d)](_0x569af2[_0x498346(0x4e0)](_0x71d6ee>>>0x6*(0x3-_0x538bf6)&0x3f));var _0x2fa667=_0x569af2[_0x498346(0x4e0)](0x40);if(_0x2fa667){for(;_0x308a8c['length']%0x4;)_0x308a8c[_0x498346(0x34d)](_0x2fa667);}return _0x308a8c[_0x498346(0x2c4)]('');},'parse':function(_0x4a13d3){var _0x39c8ac=_0x3c0bc9,_0x5f0177=_0x4a13d3[_0x39c8ac(0x2c5)],_0x456c5c=this[_0x39c8ac(0x394)],_0x88ef71=this[_0x39c8ac(0x22a)];if(!_0x88ef71){_0x88ef71=this[_0x39c8ac(0x22a)]=[];for(var _0x43dda9=0x0;_0x43dda9<_0x456c5c[_0x39c8ac(0x2c5)];_0x43dda9++)_0x88ef71[_0x456c5c['charCodeAt'](_0x43dda9)]=_0x43dda9;}var _0x2d4bac=_0x456c5c[_0x39c8ac(0x4e0)](0x40);if(_0x2d4bac){var _0x2933aa=_0x4a13d3['indexOf'](_0x2d4bac);_0x2933aa!==-0x1&&(_0x5f0177=_0x2933aa);}return _0xc91942(_0x4a13d3,_0x5f0177,_0x88ef71);},'_map':_0x3c0bc9(0x23d)};function _0xc91942(_0x500a7a,_0x187b3a,_0x53fe08){var _0x2496a7=_0x3c0bc9;for(var _0x49daeb=[],_0x28a53c=0x0,_0x39a935=0x0;_0x39a935<_0x187b3a;_0x39a935++)if(_0x39a935%0x4){var _0x22d806=_0x53fe08[_0x500a7a[_0x2496a7(0x3f8)](_0x39a935-0x1)]<<_0x39a935%0x4*0x2,_0x31b489=_0x53fe08[_0x500a7a[_0x2496a7(0x3f8)](_0x39a935)]>>>0x6-_0x39a935%0x4*0x2,_0x3df31e=_0x22d806|_0x31b489;_0x49daeb[_0x28a53c>>>0x2]|=_0x3df31e<<0x18-_0x28a53c%0x4*0x8,_0x28a53c++;}return _0x4f8035[_0x2496a7(0x3ce)](_0x49daeb,_0x28a53c);}}()),_0x331497['enc'][_0x9c9c6f(0x467)];}));}(We)),We[_0x26c49c(0x4d4)];}var Ke={'exports':{}},Is=Ke[_0x451168(0x4d4)],Qt;function Ts(){var _0x56c5f1=_0x451168;return Qt||(Qt=0x1,function(_0x3abf8f,_0x3c9665){(function(_0x440562,_0xb89812){var _0x2c33c2=_0x4827;_0x3abf8f[_0x2c33c2(0x4d4)]=_0xb89812(ie());}(Is,function(_0x3a776a){return function(_0x4e633c){var _0x42f86b=_0x4827,_0x589d43=_0x3a776a,_0x3dbedc=_0x589d43[_0x42f86b(0x47d)],_0x3b9cb8=_0x3dbedc[_0x42f86b(0x37d)],_0x34b283=_0x3dbedc[_0x42f86b(0x1f4)],_0x565e2c=_0x589d43[_0x42f86b(0x48d)],_0x5f4a7e=[];(function(){var _0x4ac877=_0x42f86b;for(var _0x125597=0x0;_0x125597<0x40;_0x125597++)_0x5f4a7e[_0x125597]=_0x4e633c[_0x4ac877(0x4de)](_0x4e633c[_0x4ac877(0x32d)](_0x125597+0x1))*0x100000000|0x0;}());var _0x7cf253=_0x565e2c[_0x42f86b(0x240)]=_0x34b283[_0x42f86b(0x246)]({'_doReset':function(){var _0x3c64eb=_0x42f86b;this[_0x3c64eb(0x37e)]=new _0x3b9cb8[(_0x3c64eb(0x44a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x39a50b,_0x588fe9){var _0xc833da=_0x42f86b;for(var _0x6bf1ee=0x0;_0x6bf1ee<0x10;_0x6bf1ee++){var _0x49ef12=_0x588fe9+_0x6bf1ee,_0x450785=_0x39a50b[_0x49ef12];_0x39a50b[_0x49ef12]=(_0x450785<<0x8|_0x450785>>>0x18)&0xff00ff|(_0x450785<<0x18|_0x450785>>>0x8)&0xff00ff00;}var _0x4974a0=this[_0xc833da(0x37e)][_0xc833da(0x2c3)],_0x520dab=_0x39a50b[_0x588fe9+0x0],_0x1bacab=_0x39a50b[_0x588fe9+0x1],_0xf39a00=_0x39a50b[_0x588fe9+0x2],_0x4e2875=_0x39a50b[_0x588fe9+0x3],_0x5337ce=_0x39a50b[_0x588fe9+0x4],_0x42235c=_0x39a50b[_0x588fe9+0x5],_0x3febee=_0x39a50b[_0x588fe9+0x6],_0x267901=_0x39a50b[_0x588fe9+0x7],_0x2db704=_0x39a50b[_0x588fe9+0x8],_0x47ebe8=_0x39a50b[_0x588fe9+0x9],_0x26a256=_0x39a50b[_0x588fe9+0xa],_0x3458b9=_0x39a50b[_0x588fe9+0xb],_0x3de1f0=_0x39a50b[_0x588fe9+0xc],_0x40cb1a=_0x39a50b[_0x588fe9+0xd],_0xf79baf=_0x39a50b[_0x588fe9+0xe],_0x11b5e7=_0x39a50b[_0x588fe9+0xf],_0x4fceab=_0x4974a0[0x0],_0x5e52d8=_0x4974a0[0x1],_0x4d4172=_0x4974a0[0x2],_0x14d606=_0x4974a0[0x3];_0x4fceab=_0x5d018c(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x520dab,0x7,_0x5f4a7e[0x0]),_0x14d606=_0x5d018c(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x1bacab,0xc,_0x5f4a7e[0x1]),_0x4d4172=_0x5d018c(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0xf39a00,0x11,_0x5f4a7e[0x2]),_0x5e52d8=_0x5d018c(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x4e2875,0x16,_0x5f4a7e[0x3]),_0x4fceab=_0x5d018c(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x5337ce,0x7,_0x5f4a7e[0x4]),_0x14d606=_0x5d018c(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x42235c,0xc,_0x5f4a7e[0x5]),_0x4d4172=_0x5d018c(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x3febee,0x11,_0x5f4a7e[0x6]),_0x5e52d8=_0x5d018c(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x267901,0x16,_0x5f4a7e[0x7]),_0x4fceab=_0x5d018c(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x2db704,0x7,_0x5f4a7e[0x8]),_0x14d606=_0x5d018c(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x47ebe8,0xc,_0x5f4a7e[0x9]),_0x4d4172=_0x5d018c(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x26a256,0x11,_0x5f4a7e[0xa]),_0x5e52d8=_0x5d018c(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x3458b9,0x16,_0x5f4a7e[0xb]),_0x4fceab=_0x5d018c(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x3de1f0,0x7,_0x5f4a7e[0xc]),_0x14d606=_0x5d018c(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x40cb1a,0xc,_0x5f4a7e[0xd]),_0x4d4172=_0x5d018c(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0xf79baf,0x11,_0x5f4a7e[0xe]),_0x5e52d8=_0x5d018c(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x11b5e7,0x16,_0x5f4a7e[0xf]),_0x4fceab=_0x49fafb(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x1bacab,0x5,_0x5f4a7e[0x10]),_0x14d606=_0x49fafb(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x3febee,0x9,_0x5f4a7e[0x11]),_0x4d4172=_0x49fafb(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x3458b9,0xe,_0x5f4a7e[0x12]),_0x5e52d8=_0x49fafb(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x520dab,0x14,_0x5f4a7e[0x13]),_0x4fceab=_0x49fafb(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x42235c,0x5,_0x5f4a7e[0x14]),_0x14d606=_0x49fafb(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x26a256,0x9,_0x5f4a7e[0x15]),_0x4d4172=_0x49fafb(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x11b5e7,0xe,_0x5f4a7e[0x16]),_0x5e52d8=_0x49fafb(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x5337ce,0x14,_0x5f4a7e[0x17]),_0x4fceab=_0x49fafb(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x47ebe8,0x5,_0x5f4a7e[0x18]),_0x14d606=_0x49fafb(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0xf79baf,0x9,_0x5f4a7e[0x19]),_0x4d4172=_0x49fafb(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x4e2875,0xe,_0x5f4a7e[0x1a]),_0x5e52d8=_0x49fafb(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x2db704,0x14,_0x5f4a7e[0x1b]),_0x4fceab=_0x49fafb(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x40cb1a,0x5,_0x5f4a7e[0x1c]),_0x14d606=_0x49fafb(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0xf39a00,0x9,_0x5f4a7e[0x1d]),_0x4d4172=_0x49fafb(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x267901,0xe,_0x5f4a7e[0x1e]),_0x5e52d8=_0x49fafb(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x3de1f0,0x14,_0x5f4a7e[0x1f]),_0x4fceab=_0x57ccbe(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x42235c,0x4,_0x5f4a7e[0x20]),_0x14d606=_0x57ccbe(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x2db704,0xb,_0x5f4a7e[0x21]),_0x4d4172=_0x57ccbe(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x3458b9,0x10,_0x5f4a7e[0x22]),_0x5e52d8=_0x57ccbe(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0xf79baf,0x17,_0x5f4a7e[0x23]),_0x4fceab=_0x57ccbe(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x1bacab,0x4,_0x5f4a7e[0x24]),_0x14d606=_0x57ccbe(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x5337ce,0xb,_0x5f4a7e[0x25]),_0x4d4172=_0x57ccbe(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x267901,0x10,_0x5f4a7e[0x26]),_0x5e52d8=_0x57ccbe(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x26a256,0x17,_0x5f4a7e[0x27]),_0x4fceab=_0x57ccbe(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x40cb1a,0x4,_0x5f4a7e[0x28]),_0x14d606=_0x57ccbe(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x520dab,0xb,_0x5f4a7e[0x29]),_0x4d4172=_0x57ccbe(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x4e2875,0x10,_0x5f4a7e[0x2a]),_0x5e52d8=_0x57ccbe(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x3febee,0x17,_0x5f4a7e[0x2b]),_0x4fceab=_0x57ccbe(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x47ebe8,0x4,_0x5f4a7e[0x2c]),_0x14d606=_0x57ccbe(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x3de1f0,0xb,_0x5f4a7e[0x2d]),_0x4d4172=_0x57ccbe(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x11b5e7,0x10,_0x5f4a7e[0x2e]),_0x5e52d8=_0x57ccbe(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0xf39a00,0x17,_0x5f4a7e[0x2f]),_0x4fceab=_0x4b4481(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x520dab,0x6,_0x5f4a7e[0x30]),_0x14d606=_0x4b4481(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x267901,0xa,_0x5f4a7e[0x31]),_0x4d4172=_0x4b4481(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0xf79baf,0xf,_0x5f4a7e[0x32]),_0x5e52d8=_0x4b4481(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x42235c,0x15,_0x5f4a7e[0x33]),_0x4fceab=_0x4b4481(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x3de1f0,0x6,_0x5f4a7e[0x34]),_0x14d606=_0x4b4481(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x4e2875,0xa,_0x5f4a7e[0x35]),_0x4d4172=_0x4b4481(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x26a256,0xf,_0x5f4a7e[0x36]),_0x5e52d8=_0x4b4481(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x1bacab,0x15,_0x5f4a7e[0x37]),_0x4fceab=_0x4b4481(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x2db704,0x6,_0x5f4a7e[0x38]),_0x14d606=_0x4b4481(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x11b5e7,0xa,_0x5f4a7e[0x39]),_0x4d4172=_0x4b4481(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0x3febee,0xf,_0x5f4a7e[0x3a]),_0x5e52d8=_0x4b4481(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x40cb1a,0x15,_0x5f4a7e[0x3b]),_0x4fceab=_0x4b4481(_0x4fceab,_0x5e52d8,_0x4d4172,_0x14d606,_0x5337ce,0x6,_0x5f4a7e[0x3c]),_0x14d606=_0x4b4481(_0x14d606,_0x4fceab,_0x5e52d8,_0x4d4172,_0x3458b9,0xa,_0x5f4a7e[0x3d]),_0x4d4172=_0x4b4481(_0x4d4172,_0x14d606,_0x4fceab,_0x5e52d8,_0xf39a00,0xf,_0x5f4a7e[0x3e]),_0x5e52d8=_0x4b4481(_0x5e52d8,_0x4d4172,_0x14d606,_0x4fceab,_0x47ebe8,0x15,_0x5f4a7e[0x3f]),_0x4974a0[0x0]=_0x4974a0[0x0]+_0x4fceab|0x0,_0x4974a0[0x1]=_0x4974a0[0x1]+_0x5e52d8|0x0,_0x4974a0[0x2]=_0x4974a0[0x2]+_0x4d4172|0x0,_0x4974a0[0x3]=_0x4974a0[0x3]+_0x14d606|0x0;},'_doFinalize':function(){var _0x1dda79=_0x42f86b,_0x113604=this[_0x1dda79(0x4c6)],_0x3c4e86=_0x113604[_0x1dda79(0x2c3)],_0x46e8d8=this['_nDataBytes']*0x8,_0x475810=_0x113604[_0x1dda79(0x2fb)]*0x8;_0x3c4e86[_0x475810>>>0x5]|=0x80<<0x18-_0x475810%0x20;var _0x193703=_0x4e633c[_0x1dda79(0x4ae)](_0x46e8d8/0x100000000),_0x32f4c3=_0x46e8d8;_0x3c4e86[(_0x475810+0x40>>>0x9<<0x4)+0xf]=(_0x193703<<0x8|_0x193703>>>0x18)&0xff00ff|(_0x193703<<0x18|_0x193703>>>0x8)&0xff00ff00,_0x3c4e86[(_0x475810+0x40>>>0x9<<0x4)+0xe]=(_0x32f4c3<<0x8|_0x32f4c3>>>0x18)&0xff00ff|(_0x32f4c3<<0x18|_0x32f4c3>>>0x8)&0xff00ff00,_0x113604[_0x1dda79(0x2fb)]=(_0x3c4e86[_0x1dda79(0x2c5)]+0x1)*0x4,this[_0x1dda79(0x26b)]();for(var _0x10bd4c=this[_0x1dda79(0x37e)],_0x5c1754=_0x10bd4c['words'],_0x5593bc=0x0;_0x5593bc<0x4;_0x5593bc++){var _0x52c380=_0x5c1754[_0x5593bc];_0x5c1754[_0x5593bc]=(_0x52c380<<0x8|_0x52c380>>>0x18)&0xff00ff|(_0x52c380<<0x18|_0x52c380>>>0x8)&0xff00ff00;}return _0x10bd4c;},'clone':function(){var _0x34aebc=_0x42f86b,_0x33ec12=_0x34b283[_0x34aebc(0x2f5)]['call'](this);return _0x33ec12['_hash']=this[_0x34aebc(0x37e)][_0x34aebc(0x2f5)](),_0x33ec12;}});function _0x5d018c(_0x26e614,_0x3d6046,_0x3bde49,_0x304ced,_0x3f5a4,_0x48fc3a,_0x5e599a){var _0x328076=_0x26e614+(_0x3d6046&_0x3bde49|~_0x3d6046&_0x304ced)+_0x3f5a4+_0x5e599a;return(_0x328076<<_0x48fc3a|_0x328076>>>0x20-_0x48fc3a)+_0x3d6046;}function _0x49fafb(_0x20d607,_0x53d639,_0x3c62cd,_0x16a26f,_0x55aa4a,_0x26e713,_0x605f25){var _0x572e84=_0x20d607+(_0x53d639&_0x16a26f|_0x3c62cd&~_0x16a26f)+_0x55aa4a+_0x605f25;return(_0x572e84<<_0x26e713|_0x572e84>>>0x20-_0x26e713)+_0x53d639;}function _0x57ccbe(_0x281105,_0xe33fac,_0x36f34f,_0x56b208,_0x364d29,_0x44bc0f,_0x532ae3){var _0x1d48d8=_0x281105+(_0xe33fac^_0x36f34f^_0x56b208)+_0x364d29+_0x532ae3;return(_0x1d48d8<<_0x44bc0f|_0x1d48d8>>>0x20-_0x44bc0f)+_0xe33fac;}function _0x4b4481(_0x50dbcf,_0x276087,_0x28e287,_0xc8560e,_0x145fde,_0x17196a,_0x3cd69b){var _0x3f3644=_0x50dbcf+(_0x28e287^(_0x276087|~_0xc8560e))+_0x145fde+_0x3cd69b;return(_0x3f3644<<_0x17196a|_0x3f3644>>>0x20-_0x17196a)+_0x276087;}_0x589d43['MD5']=_0x34b283['_createHelper'](_0x7cf253),_0x589d43['HmacMD5']=_0x34b283[_0x42f86b(0x26a)](_0x7cf253);}(Math),_0x3a776a['MD5'];}));}(Ke)),Ke[_0x56c5f1(0x4d4)];}var Ye={'exports':{}},qe={'exports':{}},Cs=qe['exports'],ei;function Rs(){return ei||(ei=0x1,function(_0x1abb33,_0x3c7a88){(function(_0x2bf793,_0x23ff99){var _0x5c0dff=_0x4827;_0x1abb33[_0x5c0dff(0x4d4)]=_0x23ff99(ie());}(Cs,function(_0x5e6ad0){var _0x3122c1=_0x4827;return(function(){var _0xed3773=_0x4827,_0x6409dc=_0x5e6ad0,_0x2ec15f=_0x6409dc[_0xed3773(0x47d)],_0x594c5f=_0x2ec15f[_0xed3773(0x37d)],_0x32ccb3=_0x2ec15f[_0xed3773(0x1f4)],_0xa6b557=_0x6409dc[_0xed3773(0x48d)],_0x410d3c=[],_0x1c3b38=_0xa6b557[_0xed3773(0x3bb)]=_0x32ccb3[_0xed3773(0x246)]({'_doReset':function(){var _0x5da086=_0xed3773;this[_0x5da086(0x37e)]=new _0x594c5f[(_0x5da086(0x44a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x446a02,_0x4b764c){var _0x4f5e41=_0xed3773;for(var _0x21a44f=this['_hash'][_0x4f5e41(0x2c3)],_0x477efd=_0x21a44f[0x0],_0x1184bb=_0x21a44f[0x1],_0x3cef18=_0x21a44f[0x2],_0x14fed9=_0x21a44f[0x3],_0x37b5e9=_0x21a44f[0x4],_0x986bf3=0x0;_0x986bf3<0x50;_0x986bf3++){if(_0x986bf3<0x10)_0x410d3c[_0x986bf3]=_0x446a02[_0x4b764c+_0x986bf3]|0x0;else{var _0x433c72=_0x410d3c[_0x986bf3-0x3]^_0x410d3c[_0x986bf3-0x8]^_0x410d3c[_0x986bf3-0xe]^_0x410d3c[_0x986bf3-0x10];_0x410d3c[_0x986bf3]=_0x433c72<<0x1|_0x433c72>>>0x1f;}var _0x4bf10b=(_0x477efd<<0x5|_0x477efd>>>0x1b)+_0x37b5e9+_0x410d3c[_0x986bf3];_0x986bf3<0x14?_0x4bf10b+=(_0x1184bb&_0x3cef18|~_0x1184bb&_0x14fed9)+0x5a827999:_0x986bf3<0x28?_0x4bf10b+=(_0x1184bb^_0x3cef18^_0x14fed9)+0x6ed9eba1:_0x986bf3<0x3c?_0x4bf10b+=(_0x1184bb&_0x3cef18|_0x1184bb&_0x14fed9|_0x3cef18&_0x14fed9)-0x70e44324:_0x4bf10b+=(_0x1184bb^_0x3cef18^_0x14fed9)-0x359d3e2a,_0x37b5e9=_0x14fed9,_0x14fed9=_0x3cef18,_0x3cef18=_0x1184bb<<0x1e|_0x1184bb>>>0x2,_0x1184bb=_0x477efd,_0x477efd=_0x4bf10b;}_0x21a44f[0x0]=_0x21a44f[0x0]+_0x477efd|0x0,_0x21a44f[0x1]=_0x21a44f[0x1]+_0x1184bb|0x0,_0x21a44f[0x2]=_0x21a44f[0x2]+_0x3cef18|0x0,_0x21a44f[0x3]=_0x21a44f[0x3]+_0x14fed9|0x0,_0x21a44f[0x4]=_0x21a44f[0x4]+_0x37b5e9|0x0;},'_doFinalize':function(){var _0x33c9a3=_0xed3773,_0x238189=this[_0x33c9a3(0x4c6)],_0x328bae=_0x238189[_0x33c9a3(0x2c3)],_0x5adf38=this[_0x33c9a3(0x2b1)]*0x8,_0x48ac05=_0x238189[_0x33c9a3(0x2fb)]*0x8;return _0x328bae[_0x48ac05>>>0x5]|=0x80<<0x18-_0x48ac05%0x20,_0x328bae[(_0x48ac05+0x40>>>0x9<<0x4)+0xe]=Math[_0x33c9a3(0x4ae)](_0x5adf38/0x100000000),_0x328bae[(_0x48ac05+0x40>>>0x9<<0x4)+0xf]=_0x5adf38,_0x238189[_0x33c9a3(0x2fb)]=_0x328bae['length']*0x4,this[_0x33c9a3(0x26b)](),this[_0x33c9a3(0x37e)];},'clone':function(){var _0x33962d=_0xed3773,_0x3cd714=_0x32ccb3['clone'][_0x33962d(0x358)](this);return _0x3cd714[_0x33962d(0x37e)]=this[_0x33962d(0x37e)][_0x33962d(0x2f5)](),_0x3cd714;}});_0x6409dc[_0xed3773(0x3bb)]=_0x32ccb3[_0xed3773(0x230)](_0x1c3b38),_0x6409dc[_0xed3773(0x2b9)]=_0x32ccb3[_0xed3773(0x26a)](_0x1c3b38);}()),_0x5e6ad0[_0x3122c1(0x3bb)];}));}(qe)),qe['exports'];}var ze={'exports':{}},bs=ze[_0x451168(0x4d4)],ti;function Os(){return ti||(ti=0x1,function(_0x2eec34,_0x3cbc40){(function(_0x13b567,_0x3076e4){var _0x1b7031=_0x4827;_0x2eec34[_0x1b7031(0x4d4)]=_0x3076e4(ie());}(bs,function(_0x3b2f03){(function(){var _0x3fc39d=_0x4827,_0x513f97=_0x3b2f03,_0x5ed95b=_0x513f97[_0x3fc39d(0x47d)],_0x100589=_0x5ed95b['Base'],_0x3819a1=_0x513f97['enc'],_0x5b62d4=_0x3819a1[_0x3fc39d(0x248)],_0x468d6c=_0x513f97['algo'];_0x468d6c[_0x3fc39d(0x3d3)]=_0x100589[_0x3fc39d(0x246)]({'init':function(_0x30a3fe,_0x1990d1){var _0x1fd0fd=_0x3fc39d;_0x30a3fe=this[_0x1fd0fd(0x35b)]=new _0x30a3fe[(_0x1fd0fd(0x44a))](),typeof _0x1990d1==_0x1fd0fd(0x47e)&&(_0x1990d1=_0x5b62d4[_0x1fd0fd(0x2e5)](_0x1990d1));var _0x2e5eea=_0x30a3fe['blockSize'],_0x3ec494=_0x2e5eea*0x4;_0x1990d1[_0x1fd0fd(0x2fb)]>_0x3ec494&&(_0x1990d1=_0x30a3fe[_0x1fd0fd(0x4e2)](_0x1990d1)),_0x1990d1[_0x1fd0fd(0x257)]();for(var _0xcdbf09=this[_0x1fd0fd(0x3d6)]=_0x1990d1[_0x1fd0fd(0x2f5)](),_0x51b1ad=this[_0x1fd0fd(0x307)]=_0x1990d1[_0x1fd0fd(0x2f5)](),_0x31d657=_0xcdbf09[_0x1fd0fd(0x2c3)],_0x15886c=_0x51b1ad[_0x1fd0fd(0x2c3)],_0x46b3d7=0x0;_0x46b3d7<_0x2e5eea;_0x46b3d7++)_0x31d657[_0x46b3d7]^=0x5c5c5c5c,_0x15886c[_0x46b3d7]^=0x36363636;_0xcdbf09['sigBytes']=_0x51b1ad[_0x1fd0fd(0x2fb)]=_0x3ec494,this['reset']();},'reset':function(){var _0x23342c=_0x3fc39d,_0x4c7816=this[_0x23342c(0x35b)];_0x4c7816[_0x23342c(0x3bc)](),_0x4c7816[_0x23342c(0x413)](this['_iKey']);},'update':function(_0x2fe17f){var _0xd70bb4=_0x3fc39d;return this[_0xd70bb4(0x35b)][_0xd70bb4(0x413)](_0x2fe17f),this;},'finalize':function(_0xe55493){var _0xe01978=_0x3fc39d,_0xd2598f=this['_hasher'],_0x271b03=_0xd2598f[_0xe01978(0x4e2)](_0xe55493);_0xd2598f[_0xe01978(0x3bc)]();var _0x407c53=_0xd2598f[_0xe01978(0x4e2)](this[_0xe01978(0x3d6)][_0xe01978(0x2f5)]()['concat'](_0x271b03));return _0x407c53;}});}());}));}(ze)),ze['exports'];}var ys=Ye[_0x451168(0x4d4)],ii;function _0x4827(_0x59994b,_0x23d89c){var _0x52f6b5=_0x52f6();return _0x4827=function(_0x482761,_0x33e5e7){_0x482761=_0x482761-0x1ef;var _0xe2909d=_0x52f6b5[_0x482761];return _0xe2909d;},_0x4827(_0x59994b,_0x23d89c);}function Ui(){var _0x566dfe=_0x451168;return ii||(ii=0x1,function(_0x11943b,_0x4c314a){(function(_0x41f946,_0x10c03b,_0x3aaab5){var _0x43c9bb=_0x4827;_0x11943b[_0x43c9bb(0x4d4)]=_0x10c03b(ie(),Rs(),Os());}(ys,function(_0x15cb6b){return(function(){var _0x22feeb=_0x4827,_0x472df1=_0x15cb6b,_0x5e6369=_0x472df1[_0x22feeb(0x47d)],_0x3865a0=_0x5e6369[_0x22feeb(0x475)],_0x30e336=_0x5e6369[_0x22feeb(0x37d)],_0x5ecae6=_0x472df1['algo'],_0x55ea01=_0x5ecae6[_0x22feeb(0x240)],_0x58c243=_0x5ecae6[_0x22feeb(0x25a)]=_0x3865a0[_0x22feeb(0x246)]({'cfg':_0x3865a0['extend']({'keySize':0x80/0x20,'hasher':_0x55ea01,'iterations':0x1}),'init':function(_0x2a4395){var _0x5c0d53=_0x22feeb;this['cfg']=this[_0x5c0d53(0x297)]['extend'](_0x2a4395);},'compute':function(_0xe2811d,_0x16ffd5){var _0x1538ee=_0x22feeb;for(var _0x15c221,_0x422029=this[_0x1538ee(0x297)],_0x40cd04=_0x422029[_0x1538ee(0x4e8)][_0x1538ee(0x3ce)](),_0xec030d=_0x30e336[_0x1538ee(0x3ce)](),_0x3a9b51=_0xec030d['words'],_0x4aa7fb=_0x422029[_0x1538ee(0x488)],_0x48054e=_0x422029[_0x1538ee(0x425)];_0x3a9b51[_0x1538ee(0x2c5)]<_0x4aa7fb;){_0x15c221&&_0x40cd04[_0x1538ee(0x413)](_0x15c221),_0x15c221=_0x40cd04[_0x1538ee(0x413)](_0xe2811d)[_0x1538ee(0x4e2)](_0x16ffd5),_0x40cd04['reset']();for(var _0x47f19c=0x1;_0x47f19c<_0x48054e;_0x47f19c++)_0x15c221=_0x40cd04[_0x1538ee(0x4e2)](_0x15c221),_0x40cd04[_0x1538ee(0x3bc)]();_0xec030d[_0x1538ee(0x253)](_0x15c221);}return _0xec030d[_0x1538ee(0x2fb)]=_0x4aa7fb*0x4,_0xec030d;}});_0x472df1[_0x22feeb(0x25a)]=function(_0x4334b5,_0x51aad2,_0x4a3882){var _0x440f6e=_0x22feeb;return _0x58c243['create'](_0x4a3882)[_0x440f6e(0x4ad)](_0x4334b5,_0x51aad2);};}()),_0x15cb6b['EvpKDF'];}));}(Ye)),Ye[_0x566dfe(0x4d4)];}var Je={'exports':{}},Ns=Je[_0x451168(0x4d4)],ni;function Ai(){return ni||(ni=0x1,function(_0xa240d6,_0x4304ae){(function(_0x3c3b61,_0x1567c6,_0x2901a1){var _0x141ef7=_0x4827;_0xa240d6[_0x141ef7(0x4d4)]=_0x1567c6(ie(),Ui());}(Ns,function(_0x15fe2f){var _0x16b15e=_0x4827;_0x15fe2f[_0x16b15e(0x47d)]['Cipher']||function(_0x2b1e49){var _0x3deb6e=_0x16b15e,_0x40ce9b=_0x15fe2f,_0x3b77f0=_0x40ce9b[_0x3deb6e(0x47d)],_0x3728ec=_0x3b77f0[_0x3deb6e(0x475)],_0x4577e6=_0x3b77f0[_0x3deb6e(0x37d)],_0x3cc724=_0x3b77f0['BufferedBlockAlgorithm'],_0x23da04=_0x40ce9b[_0x3deb6e(0x2ab)];_0x23da04[_0x3deb6e(0x248)];var _0x17b3dc=_0x23da04[_0x3deb6e(0x467)],_0x12940c=_0x40ce9b[_0x3deb6e(0x48d)],_0x45acee=_0x12940c[_0x3deb6e(0x25a)],_0x29565f=_0x3b77f0[_0x3deb6e(0x25c)]=_0x3cc724[_0x3deb6e(0x246)]({'cfg':_0x3728ec[_0x3deb6e(0x246)](),'createEncryptor':function(_0xd8575e,_0x13e589){var _0x745af0=_0x3deb6e;return this[_0x745af0(0x3ce)](this['_ENC_XFORM_MODE'],_0xd8575e,_0x13e589);},'createDecryptor':function(_0x385b21,_0x2ce1a7){var _0x39e4a2=_0x3deb6e;return this[_0x39e4a2(0x3ce)](this[_0x39e4a2(0x350)],_0x385b21,_0x2ce1a7);},'init':function(_0x4126c1,_0x436b4b,_0x597049){var _0x263179=_0x3deb6e;this[_0x263179(0x297)]=this[_0x263179(0x297)]['extend'](_0x597049),this[_0x263179(0x4be)]=_0x4126c1,this[_0x263179(0x3c2)]=_0x436b4b,this[_0x263179(0x3bc)]();},'reset':function(){var _0x4478e1=_0x3deb6e;_0x3cc724[_0x4478e1(0x3bc)]['call'](this),this[_0x4478e1(0x46d)]();},'process':function(_0x50a450){var _0x3fa81d=_0x3deb6e;return this[_0x3fa81d(0x2ad)](_0x50a450),this[_0x3fa81d(0x26b)]();},'finalize':function(_0x2c92f2){var _0x2cf045=_0x3deb6e;_0x2c92f2&&this[_0x2cf045(0x2ad)](_0x2c92f2);var _0x45494a=this[_0x2cf045(0x3ba)]();return _0x45494a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5104d4(_0x2926da){var _0x48d4c4=_0x4827;return typeof _0x2926da==_0x48d4c4(0x47e)?_0x5236fe:_0x3529a9;}return function(_0x3d9313){return{'encrypt':function(_0x222453,_0x188b4a,_0x48c736){var _0x5f4f07=_0x4827;return _0x5104d4(_0x188b4a)[_0x5f4f07(0x4b9)](_0x3d9313,_0x222453,_0x188b4a,_0x48c736);},'decrypt':function(_0x5ae5b3,_0x132018,_0x397c1a){var _0x28872d=_0x4827;return _0x5104d4(_0x132018)[_0x28872d(0x305)](_0x3d9313,_0x5ae5b3,_0x132018,_0x397c1a);}};};}())});_0x3b77f0['StreamCipher']=_0x29565f[_0x3deb6e(0x246)]({'_doFinalize':function(){var _0x387983=_0x3deb6e,_0x24f677=this[_0x387983(0x26b)](!0x0);return _0x24f677;},'blockSize':0x1});var _0x1b2f04=_0x40ce9b[_0x3deb6e(0x205)]={},_0x27161d=_0x3b77f0[_0x3deb6e(0x461)]=_0x3728ec[_0x3deb6e(0x246)]({'createEncryptor':function(_0xf342c9,_0x4cb4f6){var _0x1a8a30=_0x3deb6e;return this[_0x1a8a30(0x42c)][_0x1a8a30(0x3ce)](_0xf342c9,_0x4cb4f6);},'createDecryptor':function(_0x29b5ee,_0x340ca7){var _0x523e9d=_0x3deb6e;return this['Decryptor'][_0x523e9d(0x3ce)](_0x29b5ee,_0x340ca7);},'init':function(_0xfb3b62,_0x2b7e2c){var _0xa94033=_0x3deb6e;this[_0xa94033(0x4a6)]=_0xfb3b62,this[_0xa94033(0x3a7)]=_0x2b7e2c;}}),_0x1b5eda=_0x1b2f04[_0x3deb6e(0x21d)]=(function(){var _0x433bc9=_0x3deb6e,_0x1917eb=_0x27161d[_0x433bc9(0x246)]();_0x1917eb['Encryptor']=_0x1917eb['extend']({'processBlock':function(_0xb1062a,_0x33b343){var _0x29ac4d=_0x433bc9,_0x560c13=this[_0x29ac4d(0x4a6)],_0x3f27a3=_0x560c13['blockSize'];_0x2f9cd4['call'](this,_0xb1062a,_0x33b343,_0x3f27a3),_0x560c13[_0x29ac4d(0x23b)](_0xb1062a,_0x33b343),this[_0x29ac4d(0x2d8)]=_0xb1062a[_0x29ac4d(0x3c1)](_0x33b343,_0x33b343+_0x3f27a3);}}),_0x1917eb[_0x433bc9(0x4a8)]=_0x1917eb[_0x433bc9(0x246)]({'processBlock':function(_0x16b502,_0x3bf3ee){var _0x4be44a=_0x433bc9,_0x5b0efe=this[_0x4be44a(0x4a6)],_0x366566=_0x5b0efe[_0x4be44a(0x4a7)],_0x26eea2=_0x16b502[_0x4be44a(0x3c1)](_0x3bf3ee,_0x3bf3ee+_0x366566);_0x5b0efe[_0x4be44a(0x3de)](_0x16b502,_0x3bf3ee),_0x2f9cd4[_0x4be44a(0x358)](this,_0x16b502,_0x3bf3ee,_0x366566),this[_0x4be44a(0x2d8)]=_0x26eea2;}});function _0x2f9cd4(_0x155c98,_0x223b3b,_0x42884c){var _0x3c3727=_0x433bc9,_0x16ad61,_0x565bc7=this[_0x3c3727(0x3a7)];_0x565bc7?(_0x16ad61=_0x565bc7,this[_0x3c3727(0x3a7)]=_0x2b1e49):_0x16ad61=this[_0x3c3727(0x2d8)];for(var _0x10799f=0x0;_0x10799f<_0x42884c;_0x10799f++)_0x155c98[_0x223b3b+_0x10799f]^=_0x16ad61[_0x10799f];}return _0x1917eb;}()),_0x54ecbf=_0x40ce9b[_0x3deb6e(0x212)]={},_0x1b240b=_0x54ecbf[_0x3deb6e(0x20c)]={'pad':function(_0x2b74af,_0x3aa5bf){var _0x28dd91=_0x3deb6e;for(var _0x75e84f=_0x3aa5bf*0x4,_0x158b2b=_0x75e84f-_0x2b74af[_0x28dd91(0x2fb)]%_0x75e84f,_0x518bc0=_0x158b2b<<0x18|_0x158b2b<<0x10|_0x158b2b<<0x8|_0x158b2b,_0x273ca1=[],_0x14c23b=0x0;_0x14c23b<_0x158b2b;_0x14c23b+=0x4)_0x273ca1[_0x28dd91(0x34d)](_0x518bc0);var _0xc0c56=_0x4577e6['create'](_0x273ca1,_0x158b2b);_0x2b74af['concat'](_0xc0c56);},'unpad':function(_0x571cfe){var _0x5d0e37=_0x3deb6e,_0x20a140=_0x571cfe[_0x5d0e37(0x2c3)][_0x571cfe[_0x5d0e37(0x2fb)]-0x1>>>0x2]&0xff;_0x571cfe[_0x5d0e37(0x2fb)]-=_0x20a140;}};_0x3b77f0['BlockCipher']=_0x29565f[_0x3deb6e(0x246)]({'cfg':_0x29565f['cfg'][_0x3deb6e(0x246)]({'mode':_0x1b5eda,'padding':_0x1b240b}),'reset':function(){var _0x213322=_0x3deb6e,_0x5504d3;_0x29565f[_0x213322(0x3bc)][_0x213322(0x358)](this);var _0x37a788=this[_0x213322(0x297)],_0x1ad7fe=_0x37a788['iv'],_0x46f269=_0x37a788[_0x213322(0x205)];this[_0x213322(0x4be)]==this[_0x213322(0x2a6)]?_0x5504d3=_0x46f269[_0x213322(0x30e)]:(_0x5504d3=_0x46f269[_0x213322(0x3e4)],this[_0x213322(0x334)]=0x1),this[_0x213322(0x3c5)]&&this[_0x213322(0x3c5)][_0x213322(0x331)]==_0x5504d3?this[_0x213322(0x3c5)][_0x213322(0x44a)](this,_0x1ad7fe&&_0x1ad7fe[_0x213322(0x2c3)]):(this['_mode']=_0x5504d3[_0x213322(0x358)](_0x46f269,this,_0x1ad7fe&&_0x1ad7fe[_0x213322(0x2c3)]),this['_mode'][_0x213322(0x331)]=_0x5504d3);},'_doProcessBlock':function(_0x3f9937,_0x36f8da){var _0x9472d9=_0x3deb6e;this[_0x9472d9(0x3c5)]['processBlock'](_0x3f9937,_0x36f8da);},'_doFinalize':function(){var _0x36d914=_0x3deb6e,_0x5c0a2c,_0x2689df=this[_0x36d914(0x297)][_0x36d914(0x2c7)];return this[_0x36d914(0x4be)]==this[_0x36d914(0x2a6)]?(_0x2689df[_0x36d914(0x212)](this[_0x36d914(0x4c6)],this['blockSize']),_0x5c0a2c=this[_0x36d914(0x26b)](!0x0)):(_0x5c0a2c=this[_0x36d914(0x26b)](!0x0),_0x2689df[_0x36d914(0x3d5)](_0x5c0a2c)),_0x5c0a2c;},'blockSize':0x80/0x20});var _0x31a386=_0x3b77f0[_0x3deb6e(0x20d)]=_0x3728ec[_0x3deb6e(0x246)]({'init':function(_0x5afd5c){this['mixIn'](_0x5afd5c);},'toString':function(_0x2cc8c6){var _0x284c12=_0x3deb6e;return(_0x2cc8c6||this['formatter'])[_0x284c12(0x2fa)](this);}}),_0x57e602=_0x40ce9b['format']={},_0x3e736e=_0x57e602['OpenSSL']={'stringify':function(_0x429f76){var _0x102fab=_0x3deb6e,_0x35835c,_0x486baf=_0x429f76[_0x102fab(0x1f1)],_0x425b51=_0x429f76[_0x102fab(0x38a)];return _0x425b51?_0x35835c=_0x4577e6[_0x102fab(0x3ce)]([0x53616c74,0x65645f5f])[_0x102fab(0x253)](_0x425b51)[_0x102fab(0x253)](_0x486baf):_0x35835c=_0x486baf,_0x35835c['toString'](_0x17b3dc);},'parse':function(_0x217f95){var _0x2c46ca=_0x3deb6e,_0x45a8bb,_0x380ee7=_0x17b3dc[_0x2c46ca(0x2e5)](_0x217f95),_0x22a953=_0x380ee7['words'];return _0x22a953[0x0]==0x53616c74&&_0x22a953[0x1]==0x65645f5f&&(_0x45a8bb=_0x4577e6[_0x2c46ca(0x3ce)](_0x22a953['slice'](0x2,0x4)),_0x22a953[_0x2c46ca(0x3e5)](0x0,0x4),_0x380ee7[_0x2c46ca(0x2fb)]-=0x10),_0x31a386[_0x2c46ca(0x3ce)]({'ciphertext':_0x380ee7,'salt':_0x45a8bb});}},_0x3529a9=_0x3b77f0[_0x3deb6e(0x33a)]=_0x3728ec[_0x3deb6e(0x246)]({'cfg':_0x3728ec[_0x3deb6e(0x246)]({'format':_0x3e736e}),'encrypt':function(_0x33881,_0x4b919e,_0x27ad24,_0x2fd40c){var _0x414eb6=_0x3deb6e;_0x2fd40c=this['cfg']['extend'](_0x2fd40c);var _0x40dc16=_0x33881['createEncryptor'](_0x27ad24,_0x2fd40c),_0x9d465b=_0x40dc16['finalize'](_0x4b919e),_0x1950b4=_0x40dc16[_0x414eb6(0x297)];return _0x31a386[_0x414eb6(0x3ce)]({'ciphertext':_0x9d465b,'key':_0x27ad24,'iv':_0x1950b4['iv'],'algorithm':_0x33881,'mode':_0x1950b4[_0x414eb6(0x205)],'padding':_0x1950b4[_0x414eb6(0x2c7)],'blockSize':_0x33881[_0x414eb6(0x4a7)],'formatter':_0x2fd40c[_0x414eb6(0x36e)]});},'decrypt':function(_0x3c61d3,_0xdaad30,_0xbc2ade,_0x104cbd){var _0x3d5447=_0x3deb6e;_0x104cbd=this[_0x3d5447(0x297)][_0x3d5447(0x246)](_0x104cbd),_0xdaad30=this['_parse'](_0xdaad30,_0x104cbd[_0x3d5447(0x36e)]);var _0x3de2ff=_0x3c61d3['createDecryptor'](_0xbc2ade,_0x104cbd)['finalize'](_0xdaad30['ciphertext']);return _0x3de2ff;},'_parse':function(_0x1c23e6,_0x5541bc){var _0x142106=_0x3deb6e;return typeof _0x1c23e6==_0x142106(0x47e)?_0x5541bc[_0x142106(0x2e5)](_0x1c23e6,this):_0x1c23e6;}}),_0x5a35d0=_0x40ce9b['kdf']={},_0x49d277=_0x5a35d0['OpenSSL']={'execute':function(_0x29865c,_0x2b18c4,_0x6fb016,_0x4cd2d3,_0x3d0a02){var _0x5a31ab=_0x3deb6e;if(_0x4cd2d3||(_0x4cd2d3=_0x4577e6[_0x5a31ab(0x468)](0x40/0x8)),_0x3d0a02)var _0x1c3270=_0x45acee[_0x5a31ab(0x3ce)]({'keySize':_0x2b18c4+_0x6fb016,'hasher':_0x3d0a02})[_0x5a31ab(0x4ad)](_0x29865c,_0x4cd2d3);else var _0x1c3270=_0x45acee[_0x5a31ab(0x3ce)]({'keySize':_0x2b18c4+_0x6fb016})[_0x5a31ab(0x4ad)](_0x29865c,_0x4cd2d3);var _0x2a4f51=_0x4577e6[_0x5a31ab(0x3ce)](_0x1c3270[_0x5a31ab(0x2c3)][_0x5a31ab(0x3c1)](_0x2b18c4),_0x6fb016*0x4);return _0x1c3270[_0x5a31ab(0x2fb)]=_0x2b18c4*0x4,_0x31a386[_0x5a31ab(0x3ce)]({'key':_0x1c3270,'iv':_0x2a4f51,'salt':_0x4cd2d3});}},_0x5236fe=_0x3b77f0[_0x3deb6e(0x3a6)]=_0x3529a9[_0x3deb6e(0x246)]({'cfg':_0x3529a9[_0x3deb6e(0x297)][_0x3deb6e(0x246)]({'kdf':_0x49d277}),'encrypt':function(_0x1a4e72,_0x13360e,_0xdda05e,_0x147d85){var _0x5c2891=_0x3deb6e;_0x147d85=this[_0x5c2891(0x297)][_0x5c2891(0x246)](_0x147d85);var _0x58bf47=_0x147d85[_0x5c2891(0x3d1)][_0x5c2891(0x25b)](_0xdda05e,_0x1a4e72[_0x5c2891(0x488)],_0x1a4e72[_0x5c2891(0x31f)],_0x147d85[_0x5c2891(0x38a)],_0x147d85['hasher']);_0x147d85['iv']=_0x58bf47['iv'];var _0x549ad3=_0x3529a9[_0x5c2891(0x4b9)][_0x5c2891(0x358)](this,_0x1a4e72,_0x13360e,_0x58bf47[_0x5c2891(0x32f)],_0x147d85);return _0x549ad3['mixIn'](_0x58bf47),_0x549ad3;},'decrypt':function(_0x1931ec,_0x3bd246,_0x39f690,_0xde6cfd){var _0x56051d=_0x3deb6e;_0xde6cfd=this[_0x56051d(0x297)][_0x56051d(0x246)](_0xde6cfd),_0x3bd246=this[_0x56051d(0x3c9)](_0x3bd246,_0xde6cfd[_0x56051d(0x36e)]);var _0x15fb2a=_0xde6cfd[_0x56051d(0x3d1)][_0x56051d(0x25b)](_0x39f690,_0x1931ec['keySize'],_0x1931ec[_0x56051d(0x31f)],_0x3bd246['salt'],_0xde6cfd[_0x56051d(0x4e8)]);_0xde6cfd['iv']=_0x15fb2a['iv'];var _0x1ce89b=_0x3529a9[_0x56051d(0x305)][_0x56051d(0x358)](this,_0x1931ec,_0x3bd246,_0x15fb2a[_0x56051d(0x32f)],_0xde6cfd);return _0x1ce89b;}});}();}));}(Je)),Je['exports'];}var Ds=Ve[_0x451168(0x4d4)],si;function Us(){var _0x1eb007=_0x451168;return si||(si=0x1,function(_0x2e5599,_0x3dc40d){(function(_0x2a6cc4,_0x34aabe,_0x41ee8){var _0x1c19a7=_0x4827;_0x2e5599[_0x1c19a7(0x4d4)]=_0x34aabe(ie(),Di(),Ts(),Ui(),Ai());}(Ds,function(_0x36cdbe){var _0x5370c0=_0x4827;return(function(){var _0x25b07d=_0x4827,_0x49bf1e=_0x36cdbe,_0x495d88=_0x49bf1e[_0x25b07d(0x47d)],_0x4e6f8f=_0x495d88[_0x25b07d(0x269)],_0x544ede=_0x49bf1e[_0x25b07d(0x48d)],_0x5ebdcc=[],_0x273470=[],_0x10610a=[],_0x4651e1=[],_0x21c041=[],_0x390aa5=[],_0x29d4a3=[],_0x44b32b=[],_0x337170=[],_0x23ac8e=[];(function(){for(var _0x5b4e67=[],_0x43229e=0x0;_0x43229e<0x100;_0x43229e++)_0x43229e<0x80?_0x5b4e67[_0x43229e]=_0x43229e<<0x1:_0x5b4e67[_0x43229e]=_0x43229e<<0x1^0x11b;for(var _0x2fda55=0x0,_0x1fc7db=0x0,_0x43229e=0x0;_0x43229e<0x100;_0x43229e++){var _0x58df3a=_0x1fc7db^_0x1fc7db<<0x1^_0x1fc7db<<0x2^_0x1fc7db<<0x3^_0x1fc7db<<0x4;_0x58df3a=_0x58df3a>>>0x8^_0x58df3a&0xff^0x63,_0x5ebdcc[_0x2fda55]=_0x58df3a,_0x273470[_0x58df3a]=_0x2fda55;var _0x4aeedf=_0x5b4e67[_0x2fda55],_0x9d12c=_0x5b4e67[_0x4aeedf],_0x2cd13b=_0x5b4e67[_0x9d12c],_0x2ce3a7=_0x5b4e67[_0x58df3a]*0x101^_0x58df3a*0x1010100;_0x10610a[_0x2fda55]=_0x2ce3a7<<0x18|_0x2ce3a7>>>0x8,_0x4651e1[_0x2fda55]=_0x2ce3a7<<0x10|_0x2ce3a7>>>0x10,_0x21c041[_0x2fda55]=_0x2ce3a7<<0x8|_0x2ce3a7>>>0x18,_0x390aa5[_0x2fda55]=_0x2ce3a7;var _0x2ce3a7=_0x2cd13b*0x1010101^_0x9d12c*0x10001^_0x4aeedf*0x101^_0x2fda55*0x1010100;_0x29d4a3[_0x58df3a]=_0x2ce3a7<<0x18|_0x2ce3a7>>>0x8,_0x44b32b[_0x58df3a]=_0x2ce3a7<<0x10|_0x2ce3a7>>>0x10,_0x337170[_0x58df3a]=_0x2ce3a7<<0x8|_0x2ce3a7>>>0x18,_0x23ac8e[_0x58df3a]=_0x2ce3a7,_0x2fda55?(_0x2fda55=_0x4aeedf^_0x5b4e67[_0x5b4e67[_0x5b4e67[_0x2cd13b^_0x4aeedf]]],_0x1fc7db^=_0x5b4e67[_0x5b4e67[_0x1fc7db]]):_0x2fda55=_0x1fc7db=0x1;}}());var _0x2fcb54=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x2f6bb9=_0x544ede[_0x25b07d(0x4bd)]=_0x4e6f8f['extend']({'_doReset':function(){var _0x51873e=_0x25b07d,_0x28a603;if(!(this['_nRounds']&&this[_0x51873e(0x328)]===this['_key'])){for(var _0x2c17c6=this[_0x51873e(0x328)]=this[_0x51873e(0x3c2)],_0x4f8bf5=_0x2c17c6['words'],_0x3bdeee=_0x2c17c6[_0x51873e(0x2fb)]/0x4,_0x2f4cf5=this[_0x51873e(0x23e)]=_0x3bdeee+0x6,_0x31e4c7=(_0x2f4cf5+0x1)*0x4,_0x189310=this[_0x51873e(0x332)]=[],_0x1a0d5d=0x0;_0x1a0d5d<_0x31e4c7;_0x1a0d5d++)_0x1a0d5d<_0x3bdeee?_0x189310[_0x1a0d5d]=_0x4f8bf5[_0x1a0d5d]:(_0x28a603=_0x189310[_0x1a0d5d-0x1],_0x1a0d5d%_0x3bdeee?_0x3bdeee>0x6&&_0x1a0d5d%_0x3bdeee==0x4&&(_0x28a603=_0x5ebdcc[_0x28a603>>>0x18]<<0x18|_0x5ebdcc[_0x28a603>>>0x10&0xff]<<0x10|_0x5ebdcc[_0x28a603>>>0x8&0xff]<<0x8|_0x5ebdcc[_0x28a603&0xff]):(_0x28a603=_0x28a603<<0x8|_0x28a603>>>0x18,_0x28a603=_0x5ebdcc[_0x28a603>>>0x18]<<0x18|_0x5ebdcc[_0x28a603>>>0x10&0xff]<<0x10|_0x5ebdcc[_0x28a603>>>0x8&0xff]<<0x8|_0x5ebdcc[_0x28a603&0xff],_0x28a603^=_0x2fcb54[_0x1a0d5d/_0x3bdeee|0x0]<<0x18),_0x189310[_0x1a0d5d]=_0x189310[_0x1a0d5d-_0x3bdeee]^_0x28a603);for(var _0x4cecb8=this[_0x51873e(0x2c6)]=[],_0x435d59=0x0;_0x435d59<_0x31e4c7;_0x435d59++){var _0x1a0d5d=_0x31e4c7-_0x435d59;if(_0x435d59%0x4)var _0x28a603=_0x189310[_0x1a0d5d];else var _0x28a603=_0x189310[_0x1a0d5d-0x4];_0x435d59<0x4||_0x1a0d5d<=0x4?_0x4cecb8[_0x435d59]=_0x28a603:_0x4cecb8[_0x435d59]=_0x29d4a3[_0x5ebdcc[_0x28a603>>>0x18]]^_0x44b32b[_0x5ebdcc[_0x28a603>>>0x10&0xff]]^_0x337170[_0x5ebdcc[_0x28a603>>>0x8&0xff]]^_0x23ac8e[_0x5ebdcc[_0x28a603&0xff]];}}},'encryptBlock':function(_0x492065,_0x1c3f5a){var _0x1ad037=_0x25b07d;this[_0x1ad037(0x354)](_0x492065,_0x1c3f5a,this['_keySchedule'],_0x10610a,_0x4651e1,_0x21c041,_0x390aa5,_0x5ebdcc);},'decryptBlock':function(_0x35290d,_0xebd6fd){var _0x70dc56=_0x25b07d,_0x53d58e=_0x35290d[_0xebd6fd+0x1];_0x35290d[_0xebd6fd+0x1]=_0x35290d[_0xebd6fd+0x3],_0x35290d[_0xebd6fd+0x3]=_0x53d58e,this['_doCryptBlock'](_0x35290d,_0xebd6fd,this[_0x70dc56(0x2c6)],_0x29d4a3,_0x44b32b,_0x337170,_0x23ac8e,_0x273470);var _0x53d58e=_0x35290d[_0xebd6fd+0x1];_0x35290d[_0xebd6fd+0x1]=_0x35290d[_0xebd6fd+0x3],_0x35290d[_0xebd6fd+0x3]=_0x53d58e;},'_doCryptBlock':function(_0xd9cc76,_0x56e910,_0x1fa1fb,_0xf7cd57,_0x5873e5,_0x5b1f43,_0x54d9f5,_0x5a5122){var _0x5497b5=_0x25b07d;for(var _0x100e90=this[_0x5497b5(0x23e)],_0xb0935d=_0xd9cc76[_0x56e910]^_0x1fa1fb[0x0],_0x34adbe=_0xd9cc76[_0x56e910+0x1]^_0x1fa1fb[0x1],_0x4a9a8b=_0xd9cc76[_0x56e910+0x2]^_0x1fa1fb[0x2],_0x56e241=_0xd9cc76[_0x56e910+0x3]^_0x1fa1fb[0x3],_0x4398d8=0x4,_0x58d4a3=0x1;_0x58d4a3<_0x100e90;_0x58d4a3++){var _0x35382a=_0xf7cd57[_0xb0935d>>>0x18]^_0x5873e5[_0x34adbe>>>0x10&0xff]^_0x5b1f43[_0x4a9a8b>>>0x8&0xff]^_0x54d9f5[_0x56e241&0xff]^_0x1fa1fb[_0x4398d8++],_0x27b32f=_0xf7cd57[_0x34adbe>>>0x18]^_0x5873e5[_0x4a9a8b>>>0x10&0xff]^_0x5b1f43[_0x56e241>>>0x8&0xff]^_0x54d9f5[_0xb0935d&0xff]^_0x1fa1fb[_0x4398d8++],_0x3065a5=_0xf7cd57[_0x4a9a8b>>>0x18]^_0x5873e5[_0x56e241>>>0x10&0xff]^_0x5b1f43[_0xb0935d>>>0x8&0xff]^_0x54d9f5[_0x34adbe&0xff]^_0x1fa1fb[_0x4398d8++],_0x5cd469=_0xf7cd57[_0x56e241>>>0x18]^_0x5873e5[_0xb0935d>>>0x10&0xff]^_0x5b1f43[_0x34adbe>>>0x8&0xff]^_0x54d9f5[_0x4a9a8b&0xff]^_0x1fa1fb[_0x4398d8++];_0xb0935d=_0x35382a,_0x34adbe=_0x27b32f,_0x4a9a8b=_0x3065a5,_0x56e241=_0x5cd469;}var _0x35382a=(_0x5a5122[_0xb0935d>>>0x18]<<0x18|_0x5a5122[_0x34adbe>>>0x10&0xff]<<0x10|_0x5a5122[_0x4a9a8b>>>0x8&0xff]<<0x8|_0x5a5122[_0x56e241&0xff])^_0x1fa1fb[_0x4398d8++],_0x27b32f=(_0x5a5122[_0x34adbe>>>0x18]<<0x18|_0x5a5122[_0x4a9a8b>>>0x10&0xff]<<0x10|_0x5a5122[_0x56e241>>>0x8&0xff]<<0x8|_0x5a5122[_0xb0935d&0xff])^_0x1fa1fb[_0x4398d8++],_0x3065a5=(_0x5a5122[_0x4a9a8b>>>0x18]<<0x18|_0x5a5122[_0x56e241>>>0x10&0xff]<<0x10|_0x5a5122[_0xb0935d>>>0x8&0xff]<<0x8|_0x5a5122[_0x34adbe&0xff])^_0x1fa1fb[_0x4398d8++],_0x5cd469=(_0x5a5122[_0x56e241>>>0x18]<<0x18|_0x5a5122[_0xb0935d>>>0x10&0xff]<<0x10|_0x5a5122[_0x34adbe>>>0x8&0xff]<<0x8|_0x5a5122[_0x4a9a8b&0xff])^_0x1fa1fb[_0x4398d8++];_0xd9cc76[_0x56e910]=_0x35382a,_0xd9cc76[_0x56e910+0x1]=_0x27b32f,_0xd9cc76[_0x56e910+0x2]=_0x3065a5,_0xd9cc76[_0x56e910+0x3]=_0x5cd469;},'keySize':0x100/0x20});_0x49bf1e['AES']=_0x4e6f8f[_0x25b07d(0x230)](_0x2f6bb9);}()),_0x36cdbe[_0x5370c0(0x4bd)];}));}(Ve)),Ve[_0x1eb007(0x4d4)];}var As=Us();const ws=He(As);var Ps=Di();const ri=He(Ps);var Xe={'exports':{}},Ls=Xe[_0x451168(0x4d4)],ai;function xs(){var _0x1850f0=_0x451168;return ai||(ai=0x1,function(_0x5e2597,_0x340e46){(function(_0xb4b007,_0x226ef1){var _0x27efbf=_0x4827;_0x5e2597[_0x27efbf(0x4d4)]=_0x226ef1(ie());}(Ls,function(_0x590023){var _0x3d9cc9=_0x4827;return _0x590023[_0x3d9cc9(0x2ab)][_0x3d9cc9(0x248)];}));}(Xe)),Xe[_0x1850f0(0x4d4)];}var Ms=xs();const ks=He(Ms);var Ze={'exports':{}},$s=Ze[_0x451168(0x4d4)],oi;function Hs(){var _0x407355=_0x451168;return oi||(oi=0x1,function(_0xa25173,_0x3a9047){(function(_0x49df47,_0x5e60b6){var _0x23405c=_0x4827;_0xa25173[_0x23405c(0x4d4)]=_0x5e60b6(ie());}($s,function(_0x1e915f){var _0x287a5a=_0x4827;return(function(){var _0x53ecc9=_0x4827;if(typeof ArrayBuffer==_0x53ecc9(0x451)){var _0x1d10e2=_0x1e915f,_0x91db4d=_0x1d10e2[_0x53ecc9(0x47d)],_0x33219e=_0x91db4d['WordArray'],_0x155e42=_0x33219e[_0x53ecc9(0x44a)],_0x45ad4a=_0x33219e[_0x53ecc9(0x44a)]=function(_0x4788cf){var _0x19ad42=_0x53ecc9;if(_0x4788cf instanceof ArrayBuffer&&(_0x4788cf=new Uint8Array(_0x4788cf)),(_0x4788cf instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x4788cf instanceof Uint8ClampedArray||_0x4788cf instanceof Int16Array||_0x4788cf instanceof Uint16Array||_0x4788cf instanceof Int32Array||_0x4788cf instanceof Uint32Array||_0x4788cf instanceof Float32Array||_0x4788cf instanceof Float64Array)&&(_0x4788cf=new Uint8Array(_0x4788cf[_0x19ad42(0x407)],_0x4788cf[_0x19ad42(0x42f)],_0x4788cf[_0x19ad42(0x408)])),_0x4788cf instanceof Uint8Array){for(var _0x24c2c0=_0x4788cf['byteLength'],_0x16273a=[],_0x448db1=0x0;_0x448db1<_0x24c2c0;_0x448db1++)_0x16273a[_0x448db1>>>0x2]|=_0x4788cf[_0x448db1]<<0x18-_0x448db1%0x4*0x8;_0x155e42['call'](this,_0x16273a,_0x24c2c0);}else _0x155e42[_0x19ad42(0x251)](this,arguments);};_0x45ad4a['prototype']=_0x33219e;}}()),_0x1e915f[_0x287a5a(0x47d)]['WordArray'];}));}(Ze)),Ze[_0x407355(0x4d4)];}var Bs=Hs();const js=He(Bs);var Qe={'exports':{}},Fs=Qe[_0x451168(0x4d4)],ci;function Vs(){var _0x5e5871=_0x451168;return ci||(ci=0x1,function(_0x69270a,_0x88cd8){(function(_0x3929ca,_0x3906d8,_0x97f638){var _0x2c9894=_0x4827;_0x69270a[_0x2c9894(0x4d4)]=_0x3906d8(ie(),Ai());}(Fs,function(_0x3c1bab){var _0x3cf282=_0x4827;return _0x3c1bab[_0x3cf282(0x212)][_0x3cf282(0x4ac)]={'pad':function(){},'unpad':function(){}},_0x3c1bab[_0x3cf282(0x212)][_0x3cf282(0x4ac)];}));}(Qe)),Qe[_0x5e5871(0x4d4)];}var Gs=Vs();const Ws=He(Gs);function Ks(_0x47e948,_0x5af7df){var _0xbc343b=_0x451168;const _0x3ecb36=_0x5af7df-_0x47e948[_0xbc343b(0x2c5)]%_0x5af7df,_0x2bff3d=String[_0xbc343b(0x45b)](_0x3ecb36)[_0xbc343b(0x47c)](_0x3ecb36);return _0x47e948+_0x2bff3d;}function Ys(_0x3927ae,_0x3336bc){var _0x494113=_0x451168;const _0x4f59b3=js['random'](0x10),_0x4f1330=Ks(_0x3927ae,0x10),_0x416157=ws[_0x494113(0x4b9)](ks['parse'](_0x4f1330),ri['parse'](_0x3336bc),{'iv':_0x4f59b3,'padding':Ws});return _0x4f59b3[_0x494113(0x253)](_0x416157['ciphertext'])[_0x494113(0x298)](ri);}function qs(){var _0x47e581=_0x451168;const _0x295b2a=_0x3f7220()[_0x47e581(0x421)];if(_0x295b2a){const _0x3d41e6={'time':Math[_0x47e581(0x4ae)](Date['now']()/0x3e8),'domain':location[_0x47e581(0x494)]};return Ys(JSON[_0x47e581(0x2fa)](_0x3d41e6),_0x295b2a);}}var zs=Object[_0x451168(0x30f)],Js=(_0x3b5827,_0x250143,_0x2cf944,_0x1d1b58)=>{for(var _0x40f21a=_0x1d1b58>0x1?void 0x0:_0x1d1b58?zs(_0x250143,_0x2cf944):_0x250143,_0x30ea1e=_0x3b5827['length']-0x1,_0x5be9fd;_0x30ea1e>=0x0;_0x30ea1e--)(_0x5be9fd=_0x3b5827[_0x30ea1e])&&(_0x40f21a=_0x5be9fd(_0x40f21a)||_0x40f21a);return _0x40f21a;},Xs=(_0x546cad,_0x673be7)=>(_0x3149fa,_0x19f107)=>_0x673be7(_0x3149fa,_0x19f107,_0x546cad);let at=class{constructor(_0x541375){var _0x488db9=_0x451168;this[_0x488db9(0x31b)]=_0x541375,this[_0x488db9(0x335)]();}[_0x451168(0x335)](){var _0x20bc07=_0x451168;this[_0x20bc07(0x31b)][_0x20bc07(0x27b)]({'interceptor':(_0x2da278,_0x13f30d)=>{var _0x347b81=_0x20bc07;const _0x18aac9=_0x2da278['headers'],_0x3b22ec=qs();return _0x3b22ec&&_0x18aac9['set'](_0x347b81(0x2ba),_0x3b22ec),_0x13f30d(_0x2da278);}});}};at=Js([Xs(0x0,_0x4f01fa(_0x3b3a25))],at);var Zs=Object['getOwnPropertyDescriptor'],Qs=(_0x36ff4b,_0x2fdcf3,_0xec151c,_0x33aef7)=>{var _0x333c85=_0x451168;for(var _0x14d0d1=_0x33aef7>0x1?void 0x0:_0x33aef7?Zs(_0x2fdcf3,_0xec151c):_0x2fdcf3,_0x25af0c=_0x36ff4b[_0x333c85(0x2c5)]-0x1,_0x1efc30;_0x25af0c>=0x0;_0x25af0c--)(_0x1efc30=_0x36ff4b[_0x25af0c])&&(_0x14d0d1=_0x1efc30(_0x14d0d1)||_0x14d0d1);return _0x14d0d1;},mt=(_0x53dfa4,_0x49363f)=>(_0x35fce2,_0x2fe650)=>_0x49363f(_0x35fce2,_0x2fe650,_0x53dfa4);let bt=class extends _0x2b1296{constructor(_0x1458ca,_0x36eb61,_0x1a45ee){var _0x947e03=_0x451168;super(),N(this,_0x947e03(0x3fa),new _0x4e232a(null)),N(this,_0x947e03(0x3e0),this[_0x947e03(0x3fa)]['asObservable']()),(this[_0x947e03(0x2e2)]=_0x1458ca,this['_snapshotService']=_0x36eb61,this['_localCacheService']=_0x1a45ee);}async[_0x451168(0x4a3)](_0x28c048,_0x7420b,_0x357983){var _0xde90ba=_0x451168;this[_0xde90ba(0x3fa)]['next']({'unitId':_0x28c048,'type':_0x7420b,'subUnitId':_0x357983});let _0x2de837=null;switch(_0x7420b){case Q[_0xde90ba(0x1f3)]:{_0x2de837=await this[_0xde90ba(0x2ef)](_0x28c048);break;}case Q[_0xde90ba(0x2d0)]:{_0x2de837=await this['_loadDoc'](_0x28c048);break;}default:{this['_logService'][_0xde90ba(0x24c)](_0xde90ba(0x4c0),_0xde90ba(0x237));break;}}return _0x2de837;}async[_0x451168(0x2ef)](_0x54320a){var _0x350096=_0x451168,_0x41299e;let _0x21b800=0x0;const _0x20b531=await((_0x41299e=this[_0x350096(0x362)])==null?void 0x0:_0x41299e['loadOfflineData'](_0x54320a));return _0x20b531&&(_0x20b531[_0x350096(0x40f)]||_0x20b531[_0x350096(0x4cc)]['length']!==0x0)&&(_0x21b800=_0x20b531[_0x350096(0x41a)]),_0x21b800===0x0&&this[_0x350096(0x2e2)][_0x350096(0x4db)](_0x350096(0x4c0),_0x350096(0x444)),this['_snapshotService'][_0x350096(0x4a0)](_0x54320a,_0x21b800);}async[_0x451168(0x313)](_0x50802b){var _0x4fce6f=_0x451168,_0x5dd51e;let _0x2cfbef=0x0;const _0x27c4e4=await((_0x5dd51e=this['_localCacheService'])==null?void 0x0:_0x5dd51e[_0x4fce6f(0x439)](_0x50802b));return _0x27c4e4&&(_0x27c4e4[_0x4fce6f(0x40f)]||_0x27c4e4[_0x4fce6f(0x4cc)][_0x4fce6f(0x2c5)]!==0x0)&&(_0x2cfbef=_0x27c4e4['rev']),_0x2cfbef===0x0&&this[_0x4fce6f(0x2e2)][_0x4fce6f(0x4db)](_0x4fce6f(0x4c0),_0x4fce6f(0x444)),this[_0x4fce6f(0x2d4)][_0x4fce6f(0x415)](_0x50802b,_0x2cfbef);}};bt=Qs([mt(0x0,_0x567e29),mt(0x1,_0x4f01fa(_0x5e4219)),mt(0x2,_0x189190(J))],bt);var er=Object['getOwnPropertyDescriptor'],tr=(_0x21e3f2,_0x48a677,_0x577920,_0x171b83)=>{var _0x465cf0=_0x451168;for(var _0x5b536e=_0x171b83>0x1?void 0x0:_0x171b83?er(_0x48a677,_0x577920):_0x48a677,_0x15bdda=_0x21e3f2[_0x465cf0(0x2c5)]-0x1,_0x37c646;_0x15bdda>=0x0;_0x15bdda--)(_0x37c646=_0x21e3f2[_0x15bdda])&&(_0x5b536e=_0x37c646(_0x5b536e)||_0x5b536e);return _0x5b536e;},gt=(_0x3714ec,_0xb3c408)=>(_0x10da0d,_0x4edbe9)=>_0xb3c408(_0x10da0d,_0x4edbe9,_0x3714ec);const ir=[_0x451168(0x303),'image/jpeg','image/jpg','image/gif',_0x451168(0x4d2)],nr=0x5*0x400*0x400,sr=_0x451168(0x43a),rr=_0x451168(0x437),ar='EXCHANGE_SIGN_URL_SERVER_URL_KEY',or=_0x451168(0x385);let Ot=class{constructor(_0x50f858,_0x32f72d,_0x530ccf){var _0x1b715c=_0x451168;N(this,_0x1b715c(0x458),0x0),N(this,_0x1b715c(0x1fc),new _0x3c506d()),N(this,_0x1b715c(0x47b),this[_0x1b715c(0x1fc)]),N(this,_0x1b715c(0x42b),new Map()),(this[_0x1b715c(0x31b)]=_0x50f858,this[_0x1b715c(0x379)]=_0x32f72d,this['_univerInstanceService']=_0x530ccf);}[_0x451168(0x49b)](_0x57f465){var _0x23b692=_0x451168;this[_0x23b692(0x458)]=_0x57f465,this[_0x23b692(0x1fc)][_0x23b692(0x353)](_0x57f465);}['getImageSourceCache'](_0x22f029,_0x1a0fd1){var _0x50f719=_0x451168;if(_0x1a0fd1===_0x5a0f62['BASE64']){const _0x1f185a=new Image();return _0x1f185a['src']=_0x22f029,_0x1f185a;}return this[_0x50f719(0x42b)][_0x50f719(0x3f1)](_0x22f029);}[_0x451168(0x3a8)](_0x5743be,_0x3f8736,_0xe2eed5){var _0x5be05a=_0x451168;_0x3f8736===_0x5a0f62['BASE64']||_0xe2eed5==null||this[_0x5be05a(0x42b)]['set'](_0x5743be,_0xe2eed5);}async[_0x451168(0x2cd)](_0x2e116b){var _0x2f46b9=_0x451168;try{const _0x2647b6=this['_replaceFileID'](this['_getSignURL'](),''+_0x2e116b),_0x30316f=(await this['_httpService'][_0x2f46b9(0x3f1)](_0x2647b6))['body'];if(_0x30316f[_0x2f46b9(0x24c)]&&_0x30316f[_0x2f46b9(0x24c)][_0x2f46b9(0x2ff)]===Si['OK']){const _0x42ca59=new URL(_0x30316f['url'],this[_0x2f46b9(0x495)]())[_0x2f46b9(0x298)]();return Promise[_0x2f46b9(0x4c9)](_0x42ca59);}return Promise[_0x2f46b9(0x38d)](_0x30316f['error']);}catch(_0x3cbf84){return Promise[_0x2f46b9(0x38d)](_0x3cbf84);}}async[_0x451168(0x3fe)](_0x42e1a5){var _0x5cce25=_0x451168;let _0x559cc3='';if(!ir['includes'](_0x42e1a5[_0x5cce25(0x3f0)]))return this[_0x5cce25(0x336)](),Promise[_0x5cce25(0x38d)](new Error(_0xa79fd[_0x5cce25(0x2fd)]));if(_0x42e1a5[_0x5cce25(0x312)]>nr)return this[_0x5cce25(0x336)](),Promise[_0x5cce25(0x38d)](new Error(_0xa79fd['ERROR_EXCEED_SIZE']));try{const _0x19cac9=new FormData();_0x19cac9[_0x5cce25(0x38b)](_0x5cce25(0x3a3),_0x42e1a5);const _0x6d82ce=this[_0x5cce25(0x3f3)]['getFocusedUnit'](),_0x3aec1a=_0x6d82ce==null?void 0x0:_0x6d82ce[_0x5cce25(0x491)]();if(!_0x3aec1a)throw new Error(_0x5cce25(0x403));const _0x3bc9be=this[_0x5cce25(0x44e)]()+'?size='+_0x42e1a5[_0x5cce25(0x312)][_0x5cce25(0x298)]()+_0x5cce25(0x27d)+Ei[_0x5cce25(0x26d)]+_0x5cce25(0x404)+encodeURIComponent(_0x3aec1a),_0x3e6314=await(await fetch(_0x3bc9be,{'method':_0x5cce25(0x368),'body':_0x19cac9}))[_0x5cce25(0x2a7)]();if(typeof _0x3e6314[_0x5cce25(0x339)]!='string')return this['_decreaseWaiting'](),Promise[_0x5cce25(0x38d)](new Error(_0xa79fd['ERROR_IMAGE']));_0x559cc3=_0x3e6314[_0x5cce25(0x339)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0xa79fd[_0x5cce25(0x21a)]));}return new Promise((_0x5eed90,_0x15e0d0)=>{var _0x19c4cd=_0x5cce25;const _0x452368=new FileReader();_0x452368[_0x19c4cd(0x25e)](_0x42e1a5),_0x452368['onload']=_0x57b1d6=>{var _0x282bba=_0x19c4cd,_0x5a45dc;const _0x41bb36=(_0x5a45dc=_0x57b1d6[_0x282bba(0x457)])==null?void 0x0:_0x5a45dc['result'];if(_0x41bb36==null){this[_0x282bba(0x336)](),_0x15e0d0(new Error(_0xa79fd['ERROR_IMAGE']));return;}const _0x3cf53f=_0x13ad23[_0x282bba(0x340)](0x6);_0x5eed90({'imageId':_0x3cf53f,'imageSourceType':_0x5a0f62[_0x282bba(0x41c)],'source':_0x559cc3,'base64Cache':_0x41bb36,'status':_0xa79fd[_0x282bba(0x2db)]}),this[_0x282bba(0x336)]();};});}[_0x451168(0x44e)](){var _0xab75e8=_0x451168,_0xf4322,_0x51ba01;const _0x209256=this[_0xab75e8(0x379)][_0xab75e8(0x4dd)](sr),_0x5c750d=this[_0xab75e8(0x379)][_0xab75e8(0x4dd)](q);return(_0x51ba01=(_0xf4322=_0x5c750d==null?void 0x0:_0x5c750d[_0xab75e8(0x432)])!=null?_0xf4322:_0x209256)!=null?_0x51ba01:rr;}[_0x451168(0x37a)](){var _0xf2bb3e=_0x451168,_0x7024ef,_0x890cc1;const _0x4587c7=this[_0xf2bb3e(0x379)][_0xf2bb3e(0x4dd)](ar),_0xf78e81=this[_0xf2bb3e(0x379)][_0xf2bb3e(0x4dd)](q);return(_0x890cc1=(_0x7024ef=_0xf78e81==null?void 0x0:_0xf78e81[_0xf2bb3e(0x43b)])!=null?_0x7024ef:_0x4587c7)!=null?_0x890cc1:or;}['_getDownloadEndpointURL'](){var _0x1f1946=_0x451168,_0x3bce41;const _0x5212cc=this['_configService'][_0x1f1946(0x4dd)](q);return(_0x3bce41=_0x5212cc==null?void 0x0:_0x5212cc['downloadEndpointUrl'])!=null?_0x3bce41:location[_0x1f1946(0x235)];}[_0x451168(0x434)](_0x25e2e4,_0x395111){var _0x3c83c4=_0x451168;return _0x25e2e4['replace'](_0x3c83c4(0x329),_0x395111);}[_0x451168(0x336)](){var _0xdffe61=_0x451168;this['_waitCount']-=0x1,this[_0xdffe61(0x1fc)][_0xdffe61(0x353)](this[_0xdffe61(0x458)]);}};Ot=tr([gt(0x0,_0x4f01fa(_0x3b3a25)),gt(0x1,_0x411df2),gt(0x2,_0x4f01fa(_0x7b4c4))],Ot);var cr=Object['getOwnPropertyDescriptor'],hr=(_0x5e1573,_0x3bdfbe,_0x243788,_0x2e3421)=>{for(var _0x5d36a8=_0x2e3421>0x1?void 0x0:_0x2e3421?cr(_0x3bdfbe,_0x243788):_0x3bdfbe,_0x178e1c=_0x5e1573['length']-0x1,_0x398400;_0x178e1c>=0x0;_0x178e1c--)(_0x398400=_0x5e1573[_0x178e1c])&&(_0x5d36a8=_0x398400(_0x5d36a8)||_0x5d36a8);return _0x5d36a8;},hi=(_0x18876f,_0x29eb4a)=>(_0x84441a,_0x4d80f7)=>_0x29eb4a(_0x84441a,_0x4d80f7,_0x18876f);const _r=_0x451168(0x469);let yt=class{constructor(_0x11993e,_0x575a4d){var _0x1dca2a=_0x451168;this[_0x1dca2a(0x379)]=_0x11993e,this[_0x1dca2a(0x42e)]=_0x575a4d;}[_0x451168(0x238)](){var _0x4426a2=_0x451168,_0x1b6cf0,_0x1ec574;const _0x5a6a28=this['_configService'][_0x4426a2(0x4dd)](Ni),_0x3fb69f=this[_0x4426a2(0x379)][_0x4426a2(0x4dd)](q);return(_0x1ec574=(_0x1b6cf0=_0x3fb69f==null?void 0x0:_0x3fb69f[_0x4426a2(0x43e)])!=null?_0x1b6cf0:_0x5a6a28)!=null?_0x1ec574:_r;}async[_0x451168(0x29b)](_0xb3f211){var _0x10f453=_0x451168;const _0x7c0c4e=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x10f453(0x2be),'mentions':(await this['_HTTPService']['get'](_0x7c0c4e,{'params':{'objectID':_0xb3f211[_0x10f453(0x2aa)],'unitID':_0xb3f211['unitId']}}))[_0x10f453(0x342)][_0x10f453(0x3ef)][_0x10f453(0x395)](_0x2884ab=>({'objectId':_0x2884ab['id'],'name':_0x2884ab[_0x10f453(0x3a1)][_0x10f453(0x2ed)],'metadata':{'icon':_0x2884ab[_0x10f453(0x3a1)]['avatar']},'label':_0x2884ab[_0x10f453(0x3a1)][_0x10f453(0x2ed)],'objectType':_0x194195[_0x10f453(0x294)]})),'metadata':{},'type':_0x194195['PERSON']}]};}};yt=hr([hi(0x0,_0x4f01fa(_0x411df2)),hi(0x1,_0x4f01fa(_0x3b3a25))],yt);var lr=Object[_0x451168(0x30f)],ur=(_0x5ab78,_0x2e3761,_0x19a374,_0x3c3ad7)=>{var _0x16e021=_0x451168;for(var _0x50839b=_0x3c3ad7>0x1?void 0x0:_0x3c3ad7?lr(_0x2e3761,_0x19a374):_0x2e3761,_0x462f93=_0x5ab78[_0x16e021(0x2c5)]-0x1,_0x721fa4;_0x462f93>=0x0;_0x462f93--)(_0x721fa4=_0x5ab78[_0x462f93])&&(_0x50839b=_0x721fa4(_0x50839b)||_0x50839b);return _0x50839b;},we=(_0x58d771,_0x36882b)=>(_0x59e703,_0x45a7bd)=>_0x36882b(_0x59e703,_0x45a7bd,_0x58d771);let ot=class extends _0x2b1296{constructor(_0x2fae0b,_0x3e022a,_0x58aeac,_0x342e44,_0xceb2d5){var _0x3bd474=_0x451168;super(),this[_0x3bd474(0x3a5)]=_0x2fae0b,this['_univerInstanceService']=_0x3e022a,this[_0x3bd474(0x366)]=_0x58aeac,this[_0x3bd474(0x40a)]=_0x342e44,this[_0x3bd474(0x32c)]=_0xceb2d5,this[_0x3bd474(0x4e1)](),this[_0x3bd474(0x48b)]();}[_0x451168(0x48b)](){var _0x2f313c=_0x451168;const _0x20a05a=async _0x45b332=>{var _0x39a4d6=_0x4827;(await this[_0x39a4d6(0x40a)][_0x39a4d6(0x4cb)](_0x45b332))[_0x39a4d6(0x480)][_0x39a4d6(0x3cb)](_0x5bdd19(_0x1fe35b=>_0x1fe35b[_0x39a4d6(0x290)]===_0x3c37fa[_0x39a4d6(0x2f0)]),_0x545eda(this[_0x39a4d6(0x330)]))[_0x39a4d6(0x375)](_0x210665=>{var _0x389074=_0x39a4d6;const _0x5bbebf=_0x210665,{reason:_0x1b33e5}=_0x5bbebf[_0x389074(0x258)];this['_collaborationUIEventService']['emitEvent']({'id':re[_0x389074(0x4ce)],'data':_0x1b33e5}),this[_0x389074(0x366)][_0x389074(0x452)](new _0x50c67a(_0x45b332)['id'],!0x1),this[_0x389074(0x40a)][_0x389074(0x479)](_0x45b332);});};_0x5efdfb(this[_0x2f313c(0x3f3)][_0x2f313c(0x4df)](_0x4dbe30[_0x2f313c(0x1f3)]),this[_0x2f313c(0x3f3)][_0x2f313c(0x4df)](_0x4dbe30[_0x2f313c(0x2d0)]))['pipe'](_0x506b1a(_0x54e590=>_0x54e590[_0x2f313c(0x491)]()),_0x5bdd19(_0x1cb112=>!_0x50fc39(_0x1cb112)),_0x545eda(this[_0x2f313c(0x330)]))[_0x2f313c(0x375)](_0x5ebb18=>{_0x20a05a(_0x5ebb18);});}['_initUnitPermissionChange'](){var _0x5ccca4=_0x451168;const _0x5b9f86=async _0x297ad7=>{var _0x58a0e4=_0x4827;const _0x20de15=await this[_0x58a0e4(0x40a)][_0x58a0e4(0x4cb)](_0x297ad7),_0x362fb4=this[_0x58a0e4(0x3a5)]['get'](_0x307bf1);_0x20de15[_0x58a0e4(0x480)][_0x58a0e4(0x3cb)](_0x5bdd19(_0x429a25=>_0x429a25[_0x58a0e4(0x290)]===_0x3c37fa[_0x58a0e4(0x441)]),_0x545eda(this[_0x58a0e4(0x330)]))['subscribe'](_0x385e38=>{var _0xd079d0=_0x58a0e4;const _0x170379=_0x385e38,{objectId:_0x52021e}=_0x170379[_0xd079d0(0x258)];_0x52021e===_0x297ad7?_0x362fb4['initWorkbookPermissionChange'](_0x297ad7):_0x362fb4['refreshPermission'](_0x297ad7,_0x52021e);});};_0x5efdfb(this[_0x5ccca4(0x3f3)][_0x5ccca4(0x4df)](_0x4dbe30[_0x5ccca4(0x1f3)]))[_0x5ccca4(0x3cb)](_0x506b1a(_0x26a8ed=>_0x26a8ed[_0x5ccca4(0x491)]()),_0x5bdd19(_0x123492=>!_0x50fc39(_0x123492)),_0x545eda(this[_0x5ccca4(0x330)]))[_0x5ccca4(0x375)](_0x45329e=>{_0x5b9f86(_0x45329e);});}};ot=ur([we(0x0,_0x4f01fa(_0x34b850)),we(0x1,_0x7b4c4),we(0x2,_0x3d8c7e),we(0x3,_0x4f01fa(xe)),we(0x4,_0x4f01fa(pe))],ot);var dr=Object[_0x451168(0x30f)],fr=(_0x463eeb,_0x10987b,_0x456d41,_0x28b179)=>{var _0x2e6fb0=_0x451168;for(var _0x20b1dc=_0x28b179>0x1?void 0x0:_0x28b179?dr(_0x10987b,_0x456d41):_0x10987b,_0x2ed352=_0x463eeb[_0x2e6fb0(0x2c5)]-0x1,_0x43af02;_0x2ed352>=0x0;_0x2ed352--)(_0x43af02=_0x463eeb[_0x2ed352])&&(_0x20b1dc=_0x43af02(_0x20b1dc)||_0x20b1dc);return _0x20b1dc;},_i=(_0x26724f,_0x5ce23a)=>(_0x183b2e,_0x202a5f)=>_0x5ce23a(_0x183b2e,_0x202a5f,_0x26724f);let Nt=class{constructor(_0x29757f,_0x3828a8){var _0x36eada=_0x451168;this[_0x36eada(0x379)]=_0x29757f,this['_httpService']=_0x3828a8;}async['getUnitOnRev'](_0x173840,_0x2b726b){var _0x51d5d1=_0x451168,_0x281ef1;const {unitID:_0x73d9a8,type:_0x5985a8,revision:_0x3f0343=0x0}=_0x2b726b,_0x58eb5e=this[_0x51d5d1(0x289)]()+'/'+_0x5985a8+_0x51d5d1(0x219)+_0x73d9a8+_0x51d5d1(0x204)+_0x3f0343,_0x2a5ef9=(await this[_0x51d5d1(0x31b)][_0x51d5d1(0x3f1)](_0x58eb5e))[_0x51d5d1(0x342)],_0x3c39ec=(_0x281ef1=_0x2a5ef9[_0x51d5d1(0x46e)])==null?void 0x0:_0x281ef1[_0x51d5d1(0x45d)];if(_0x3c39ec){const _0x5725ec=_0x3c39ec==null?void 0x0:_0x3c39ec['originalMeta'],_0x1f09b6=_0x441677[_0x51d5d1(0x377)](_0x4be0d9(_0x5725ec));_0x3c39ec[_0x51d5d1(0x355)]=_0x1f09b6,Object[_0x51d5d1(0x466)](_0x3c39ec[_0x51d5d1(0x459)])['forEach'](([,_0x1d6230])=>{var _0x371741=_0x51d5d1;const _0x57159a=_0x1d6230['originalMeta'],_0x2ae762=_0x441677['encode'](_0x4be0d9(_0x57159a));_0x1d6230[_0x371741(0x355)]=_0x2ae762;});}return _0x2a5ef9;}async[_0x451168(0x372)](_0x14d6c6,_0x549243){var _0x5d7043=_0x451168;const {unitID:_0x1cd7e1,type:_0x2341ef,blockID:_0x242023}=_0x549243,_0x269e4e=this[_0x5d7043(0x4d3)]()+'/'+_0x2341ef+'/unit/'+_0x1cd7e1+_0x5d7043(0x4e5)+_0x242023;return(await this[_0x5d7043(0x31b)][_0x5d7043(0x3f1)](_0x269e4e))[_0x5d7043(0x342)];}async[_0x451168(0x48e)](_0x2c2df4,_0x4731cd){var _0xfdff39=_0x451168;const {unitID:_0x4830ad,type:_0x55338a,blockID:_0xf93b58}=_0x4731cd,_0x15f57f=this[_0xfdff39(0x4d3)]()+_0xfdff39(0x4e5)+_0x55338a+'/unit/'+_0x4830ad+_0xfdff39(0x4e5)+_0xf93b58;return(await this[_0xfdff39(0x31b)][_0xfdff39(0x3f1)](_0x15f57f))[_0xfdff39(0x342)];}async[_0x451168(0x4d1)](_0x370931,_0x3d5139){var _0xfb5818=_0x451168;const {unitID:_0x5d4754,type:_0x5453af,from:_0x327a7f,to:_0x31c067}=_0x3d5139,_0x5955db=this[_0xfb5818(0x4d3)]()+'/'+_0x5453af+_0xfb5818(0x219)+_0x5d4754+_0xfb5818(0x2bc)+_0x327a7f+_0xfb5818(0x406)+_0x31c067;return(await this[_0xfb5818(0x31b)][_0xfb5818(0x3f1)](_0x5955db))['body'];}['getSnapshotAPIPath'](){var _0x28a336=_0x451168,_0x102b15;return(_0x102b15=this[_0x28a336(0x379)]['getConfig'](Sn))!=null?_0x102b15:this['_getAPIPrefix']();}[_0x451168(0x4d3)](){var _0x5b074c=_0x451168,_0x2bce40,_0x4e7ad7;const _0x1aa3f4=this[_0x5b074c(0x379)][_0x5b074c(0x4dd)](mn),_0x2ff877=this[_0x5b074c(0x379)][_0x5b074c(0x4dd)](q);return(_0x4e7ad7=(_0x2bce40=_0x2ff877==null?void 0x0:_0x2ff877[_0x5b074c(0x263)])!=null?_0x2bce40:_0x1aa3f4)!=null?_0x4e7ad7:gn;}async[_0x451168(0x443)](_0x5c79ff,_0x430cf1){var _0x5ad350=_0x451168;const _0x1b1af8='/universer-api/snapshot/'+_0x430cf1[_0x5ad350(0x3f0)]+'/unit/'+_0x430cf1['unitID']+_0x5ad350(0x411);return(await this['_httpService']['get'](_0x1b1af8,{'params':{'resourceId':JSON[_0x5ad350(0x2fa)](_0x430cf1['resourceIDs'])}}))[_0x5ad350(0x342)];}[_0x451168(0x2ec)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveChangeset'](){var _0x1da0cc=_0x451168;throw new Error(_0x1da0cc(0x247));}['copyFileMeta'](){var _0x159282=_0x451168;throw new Error(_0x159282(0x247));}[_0x451168(0x46a)](){var _0x1c5792=_0x451168;throw new Error(_0x1c5792(0x247));}};Nt=fr([_i(0x0,_0x411df2),_i(0x1,_0x4f01fa(_0x3b3a25))],Nt);var vr=Object[_0x451168(0x30f)],pr=(_0x13390f,_0x3a5c45,_0x55499a,_0x5974d9)=>{var _0x4ffc18=_0x451168;for(var _0x597cb7=_0x5974d9>0x1?void 0x0:_0x5974d9?vr(_0x3a5c45,_0x55499a):_0x3a5c45,_0xb5207b=_0x13390f[_0x4ffc18(0x2c5)]-0x1,_0x169643;_0xb5207b>=0x0;_0xb5207b--)(_0x169643=_0x13390f[_0xb5207b])&&(_0x597cb7=_0x169643(_0x597cb7)||_0x597cb7);return _0x597cb7;},Pe=(_0x5e2abf,_0x260655)=>(_0x445d6a,_0x38b296)=>_0x260655(_0x445d6a,_0x38b296,_0x5e2abf);let Dt=class extends _0x313441{constructor(_0x37d31a,_0x47607b,_0x15a795,_0x3359e4,_0x39e233){var _0x133bf4=_0x451168;super(_0x37d31a,_0x47607b,_0x15a795),this[_0x133bf4(0x399)]=_0x3359e4,this[_0x133bf4(0x2e2)]=_0x39e233;}['transformUndoRedo'](_0x20be63,_0x39abbc){var _0x38c2e6=_0x451168;const _0x13b809=this[_0x38c2e6(0x2ca)](_0x20be63);if(_0x13b809)try{const _0x3b47f8=this[_0x38c2e6(0x210)](_0x13b809,_0x39abbc);this[_0x38c2e6(0x49d)](_0x20be63,_0x3b47f8);}catch(_0x32a388){this[_0x38c2e6(0x2e2)][_0x38c2e6(0x24c)](_0x38c2e6(0x213),_0x32a388),this[_0x38c2e6(0x317)](_0x20be63);}const _0x59d5f8=this['_getRedoStack'](_0x20be63);if(_0x59d5f8)try{const _0x169d7a=this[_0x38c2e6(0x210)](_0x59d5f8,_0x39abbc);this['_substituteRedoStack'](_0x20be63,_0x169d7a);}catch(_0x4c06bd){this[_0x38c2e6(0x2e2)][_0x38c2e6(0x24c)](_0x4c06bd),this['_clearRedo'](_0x20be63);}}[_0x451168(0x317)](_0x348c0b){var _0x138a69=_0x451168;const _0x490d29=this[_0x138a69(0x2ca)](_0x348c0b);_0x490d29&&(_0x490d29['length']=0x0,this[_0x138a69(0x3ee)]());}['_clearRedo'](_0x4d8023){var _0x12266d=_0x451168;const _0x3284a7=this[_0x12266d(0x3b2)](_0x4d8023);_0x3284a7&&(_0x3284a7[_0x12266d(0x2c5)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x8c089,_0x3b49e7){var _0x5fd89b=_0x451168;this[_0x5fd89b(0x4c5)]['set'](_0x8c089,_0x3b49e7),this[_0x5fd89b(0x3ee)]();}['_substituteRedoStack'](_0x4409a2,_0xa7d2c6){var _0x57b4b3=_0x451168;this[_0x57b4b3(0x3e6)][_0x57b4b3(0x449)](_0x4409a2,_0xa7d2c6),this[_0x57b4b3(0x3ee)]();}['_transformStack'](_0x31ffd9,_0x3cd679){var _0x45d45a=_0x451168;const _0x2d5ce8=[];let _0x312a7a=_0x3cd679,_0xe759a4=_0x3cd679;for(let _0x5eea9c=_0x31ffd9[_0x45d45a(0x2c5)]-0x1;_0x5eea9c>=0x0;_0x5eea9c--){const {unitID:_0x482997,undoMutations:_0x216566,redoMutations:_0xcbd5a}=_0x31ffd9[_0x5eea9c],_0x2e9202=this['_transformService'][_0x45d45a(0x234)](_0x312a7a,_0x216566),_0x55adaa=this[_0x45d45a(0x399)][_0x45d45a(0x234)](_0xe759a4,_0xcbd5a);if(_0x272543(_0x2e9202)||_0x272543(_0x55adaa)){this[_0x45d45a(0x2e2)][_0x45d45a(0x24c)](_0x45d45a(0x213),'transformStack\x20failed!',_0x2e9202,_0x55adaa);break;}_0x312a7a=_0x2e9202[_0x45d45a(0x315)],_0xe759a4=_0x55adaa[_0x45d45a(0x315)],_0x2d5ce8[_0x45d45a(0x34d)]({'unitID':_0x482997,'undoMutations':_0x2e9202[_0x45d45a(0x485)],'redoMutations':_0x55adaa[_0x45d45a(0x485)]});}return _0x2d5ce8[_0x45d45a(0x3ca)]();}};Dt=pr([Pe(0x0,_0x7b4c4),Pe(0x1,_0x494a61),Pe(0x2,_0x595832),Pe(0x3,_0x10bc6e),Pe(0x4,_0x567e29)],Dt);var mr=Object[_0x451168(0x4c8)],gr=Object[_0x451168(0x30f)],Sr=(_0x1aa5e9,_0x15b780,_0x518248)=>_0x15b780 in _0x1aa5e9?mr(_0x1aa5e9,_0x15b780,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x518248}):_0x1aa5e9[_0x15b780]=_0x518248,Er=(_0x2d06fb,_0x484397,_0x1367b9,_0x56d8b0)=>{var _0x63ba0b=_0x451168;for(var _0x1adf30=_0x56d8b0>0x1?void 0x0:_0x56d8b0?gr(_0x484397,_0x1367b9):_0x484397,_0x1dd9cd=_0x2d06fb[_0x63ba0b(0x2c5)]-0x1,_0x364067;_0x1dd9cd>=0x0;_0x1dd9cd--)(_0x364067=_0x2d06fb[_0x1dd9cd])&&(_0x1adf30=_0x364067(_0x1adf30)||_0x1adf30);return _0x1adf30;},St=(_0x28c93c,_0x11e4fe)=>(_0x429747,_0x2caf53)=>_0x11e4fe(_0x429747,_0x2caf53,_0x28c93c),Ir=(_0x2bc273,_0x412891,_0xe2a4e6)=>Sr(_0x2bc273,_0x412891+'',_0xe2a4e6);const Tr=_0x451168(0x4af);let Ut=class extends _0x1d2f9d{constructor(_0x8d7a23,_0x1b27f7,_0x4a7554,_0x3848af){var _0x520f33=_0x451168;super(),N(this,'_config'),(this[_0x520f33(0x2e2)]=_0x1b27f7,this['_injector']=_0x4a7554,this[_0x520f33(0x379)]=_0x3848af);const {..._0x5a2c76}=_0x338087({},wn,_0x8d7a23);if(!_0x5a2c76[_0x520f33(0x2e6)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x520f33(0x3d8)]=_0x5a2c76,this[_0x520f33(0x379)]['setConfig'](q,_0x5a2c76);}['onStarting'](){var _0x3d088c=_0x451168;this[_0x3d088c(0x433)](),this[_0x3d088c(0x280)]();}[_0x451168(0x433)](){var _0x44b949=_0x451168,_0x1e087c,_0x5714de;this['_injector']['has'](_0x3f0bf9)&&this['_logService'][_0x44b949(0x24c)](_0x44b949(0x301),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x4f10ee=_0x4a39ef([[_0x3f0bf9,{'useClass':Dt}],[xe],[Le],[it],[rt],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x44b949(0x3d8)]['socketService']}],[_0x56154a,{'useClass':Nt}],[_0x3f35de,{'useClass':Rt}],[_0x416532,{'useClass':Ot}],[_0x5882e6,{'useClass':yt}],[st],[Ct]],(_0x1e087c=this[_0x44b949(0x3d8)])==null?void 0x0:_0x1e087c[_0x44b949(0x3aa)]);if(!((_0x5714de=this[_0x44b949(0x3d8)])!=null&&_0x5714de['enableSingleActiveInstanceLock'])){const _0x22d24d=_0x4f10ee['findIndex'](([_0x392fd6])=>_0x392fd6===ht);_0x22d24d!==-0x1&&_0x4f10ee['splice'](_0x22d24d,0x1);}_0x1e2b22(this[_0x44b949(0x3a5)],_0x4f10ee);}[_0x451168(0x280)](){var _0x498990=_0x451168,_0x3bee3a,_0x3727d1,_0x3a2ad9;this[_0x498990(0x3a5)][_0x498990(0x3f1)](_0x3b3a25)[_0x498990(0x27b)]({'priority':0x14,'interceptor':_0x331b5a({'maxParallel':0x6})}),(_0x3bee3a=this[_0x498990(0x3d8)])!=null&&_0x3bee3a[_0x498990(0x46f)]||(_0x3727d1=this['_injector'][_0x498990(0x3f1)](J,_0xa4f759[_0x498990(0x426)]))==null||_0x3727d1['disableLocalCache'](),(_0x3a2ad9=this[_0x498990(0x3d8)])!=null&&_0x3a2ad9['enableAuthServer']&&_0x2e50d5(this[_0x498990(0x3a5)],[[rt]]),_0x2e50d5(this[_0x498990(0x3a5)],[[at],[st],[ot]]);}};Ir(Ut,_0x451168(0x359),Tr),Ut=Er([_0x116ae1(_0x294525,_0x65ac59),St(0x1,_0x567e29),St(0x2,_0x4f01fa(_0x34b850)),St(0x3,_0x411df2)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,st as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,xe as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,re as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,xr as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,kr as LOCAL_CACHE_INTERVAL,Mr as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,Le as MemberService,yt as MentionIoHttpService,de as OfflineState,ae as PendingState,$r as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,On as RETRY_CONNECTING_MAX_COUNT_KEY,Lr as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,Br as getLocalCacheKey,xn as serializeCombRequest};
|