@univerjs-pro/collaboration-client 0.6.0-nightly.202501271606 → 0.6.0-nightly.202501291606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x180182=_0x11d4;(function(_0x5edfc0,_0x302eda){var _0x81f043=_0x11d4,_0x2d46ee=_0x5edfc0();while(!![]){try{var _0x2c1ef3=-parseInt(_0x81f043(0x414))/0x1+-parseInt(_0x81f043(0x225))/0x2*(-parseInt(_0x81f043(0x176))/0x3)+parseInt(_0x81f043(0x27e))/0x4*(parseInt(_0x81f043(0x277))/0x5)+-parseInt(_0x81f043(0x359))/0x6+parseInt(_0x81f043(0x3f0))/0x7+-parseInt(_0x81f043(0x350))/0x8*(-parseInt(_0x81f043(0x30d))/0x9)+-parseInt(_0x81f043(0x23f))/0xa;if(_0x2c1ef3===_0x302eda)break;else _0x2d46ee['push'](_0x2d46ee['shift']());}catch(_0x3c75ca){_0x2d46ee['push'](_0x2d46ee['shift']());}}}(_0x2aa8,0x3b8a0));var Li=Object[_0x180182(0x223)],Mi=(_0x23ac8d,_0x97c0c1,_0x30298d)=>_0x97c0c1 in _0x23ac8d?Li(_0x23ac8d,_0x97c0c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30298d}):_0x23ac8d[_0x97c0c1]=_0x30298d,N=(_0x43ffa9,_0x345181,_0x4ff7d7)=>Mi(_0x43ffa9,typeof _0x345181!=_0x180182(0x1e9)?_0x345181+'':_0x345181,_0x4ff7d7);import{createIdentifier as _0x4d71e7,Inject as _0x353e29,Injector as _0x514172,Disposable as _0x5e1af1,DisposableCollection as _0x47be4c,toDisposable as _0x7e22c5,IConfigService as _0x1d880c,ILogService as _0x3e9f29,UserManagerService as _0x78d013,UniverInstanceType as _0xe90df,IUniverInstanceService as _0xbe923a,LocaleService as _0x481fdb,Optional as _0x2d320a,RxDisposable as _0x528acc,Tools as _0x51a629,Rectangle as _0x1e53d9,ICommandService as _0x3cf875,JSONX as _0x343391,CommandType as _0x36c35a,IPermissionService as _0x164670,IUndoRedoService as _0x3d63ec,sequenceExecute as _0x3feb26,Workbook as _0x1c6787,MentionType as _0x155c13,IAuthzIoService as _0x52f070,isInternalEditorID as _0x10dc22,LocalUndoRedoService as _0xfdf7e,IContextService as _0x4abb89,DependentOn as _0x543e61,Plugin as _0x4fb216,merge as _0x27c7c5,mergeOverrideWithDependencies as _0x17f737,IMentionIOService as _0xa76228,registerDependencies as _0x4de961,Quantity as _0x552291,touchDependencies as _0x2bb342}from'@univerjs/core';import{Subject as _0x3be824,merge as _0x557492,of as _0x43a41b,BehaviorSubject as _0x2de85e,takeUntil as _0x44aa56,ReplaySubject as _0x5c1b67,take as _0x4c2e79,map as _0x491c5a,shareReplay as _0xe80991,firstValueFrom as _0x381753,concatMap as _0x23a868}from'rxjs';import{map as _0x582953,take as _0x53102d,filter as _0x403452,delay as _0x303eb3,takeUntil as _0x247c3e}from'rxjs/operators';import{HTTPService as _0x3a1dbb,ISocketService as _0x2ee698,MergeInterceptorFactory as _0x575011,HTTPRequest as _0x3087b5,UniverNetworkPlugin as _0x112596,ThresholdInterceptorFactory as _0x2d58b0}from'@univerjs/network';import{CollaborationEvent as _0x34671a,parseChangesetToProtocol as _0x35fc6a,ISnapshotServerService as _0x3de3ee,isTransformMutationsWithChangesetSuccess as _0x8e3f17,ITransformService as _0x5230f8,mapDocumentTypeToUniverType as _0x14d127,RevisionService as _0x58d326,isTransformChangesetsSuccess as _0x3d9f4b,CompressMutationService as _0x42aba3,parseProtocolChangeset as _0x4b99a9,SnapshotService as _0x1574a3,textEncoder as _0x3f2056,b64DecodeUnicode as _0x3899e9,isTransformMutationsWithChangesetFailure as _0x38dae7,UniverCollaborationPlugin as _0x3b8072}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x52f1fb}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x3de722}from'@univerjs/docs';import{SheetsSelectionsService as _0x5321c9,SetSelectionsOperation as _0x2a831a,InsertSheetMutation as _0x1c2e76,EmptyMutation as _0x1b8ca0,WorkbookEditablePermission as _0x1ea93e,SheetPermissionInitController as _0x348be8,UniverSheetsPlugin as _0x1cf559}from'@univerjs/sheets';import{ImageSourceType as _0xa41595,ImageUploadStatusType as _0x3d17a0,IImageIoService as _0x1dd630}from'@univerjs/drawing';import{getGlobalObject as _0x3ae151}from'@univerjs-pro/license';const En=_0x180182(0x271),In=_0x180182(0x382),Tn='SNAPSHOT_URL_KEY',eo=_0x180182(0x328),Cn=0x7d0,Rn='COLLAB_WEB_SOCKET_URL',bn=_0x180182(0x441),On=_0x180182(0x2a4),yn=_0x180182(0x20e),Nn=0x7530,Si=_0x180182(0x2b9),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x180182(0x3e0),io=0x3e8,Un=_0x180182(0x2e6),An=_0x180182(0x1bc),xn=_0x180182(0x275),Ln=_0x180182(0x331),no=_0x180182(0x324),ro=_0x180182(0x3ad);var Ii=(_0x8c6a00=>(_0x8c6a00[_0x8c6a00[_0x180182(0x389)]=0x0]=_0x180182(0x389),_0x8c6a00[_0x8c6a00['OK']=0x1]='OK',_0x8c6a00[_0x8c6a00[_0x180182(0x27a)]=0x2]='INTERNAL_ERROR',_0x8c6a00[_0x8c6a00[_0x180182(0x3cf)]=0x3]=_0x180182(0x3cf),_0x8c6a00[_0x8c6a00[_0x180182(0x37d)]=0x4]='NOT_FOUND',_0x8c6a00[_0x8c6a00['UNAUTHENTICATED']=0x5]=_0x180182(0x321),_0x8c6a00[_0x8c6a00[_0x180182(0x412)]=0x6]='ALREADY_EXISTS',_0x8c6a00[_0x8c6a00[_0x180182(0x474)]=0x7]=_0x180182(0x474),_0x8c6a00[_0x8c6a00[_0x180182(0x2bb)]=0x8]=_0x180182(0x2bb),_0x8c6a00[_0x8c6a00[_0x180182(0x3ea)]=0x9]=_0x180182(0x3ea),_0x8c6a00[_0x8c6a00[_0x180182(0x349)]=0x1389]=_0x180182(0x349),_0x8c6a00[_0x8c6a00['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x180182(0x1be),_0x8c6a00[_0x8c6a00[_0x180182(0x209)]=0x1772]=_0x180182(0x209),_0x8c6a00[_0x8c6a00[_0x180182(0x2b6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8c6a00[_0x8c6a00[_0x180182(0x471)]=0x1b59]='APPLY_REJECT',_0x8c6a00[_0x8c6a00['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x180182(0x2da),_0x8c6a00[_0x8c6a00[_0x180182(0x44b)]=0x1b5b]=_0x180182(0x44b),_0x8c6a00[_0x8c6a00[_0x180182(0x18c)]=0x1b5c]=_0x180182(0x18c),_0x8c6a00[_0x8c6a00[_0x180182(0x2e0)]=0x1b5d]=_0x180182(0x2e0),_0x8c6a00[_0x8c6a00[_0x180182(0x3c6)]=0x1f41]=_0x180182(0x3c6),_0x8c6a00[_0x8c6a00['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x180182(0x1a3),_0x8c6a00[_0x8c6a00[_0x180182(0x451)]=0x232a]=_0x180182(0x451),_0x8c6a00[_0x8c6a00[_0x180182(0x369)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x8c6a00[_0x8c6a00[_0x180182(0x188)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8c6a00[_0x8c6a00[_0x180182(0x3fc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x8c6a00[_0x8c6a00[_0x180182(0x1ca)]=0x2711]=_0x180182(0x1ca),_0x8c6a00[_0x8c6a00[_0x180182(0x1a1)]=0x2712]=_0x180182(0x1a1),_0x8c6a00[_0x8c6a00[_0x180182(0x19c)]=0x2713]=_0x180182(0x19c),_0x8c6a00[_0x8c6a00[_0x180182(0x272)]=0x2714]=_0x180182(0x272),_0x8c6a00[_0x8c6a00[_0x180182(0x469)]=0x2af9]=_0x180182(0x469),_0x8c6a00[_0x8c6a00[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x8c6a00))(Ii||{}),Q=(_0x247606=>(_0x247606[_0x247606['UNIVER_UNKNOWN']=0x0]=_0x180182(0x3f2),_0x247606[_0x247606[_0x180182(0x282)]=0x1]=_0x180182(0x282),_0x247606[_0x247606['UNIVER_SHEET']=0x2]=_0x180182(0x45b),_0x247606[_0x247606[_0x180182(0x38f)]=0x3]=_0x180182(0x38f),_0x247606[_0x247606[_0x180182(0x31b)]=0x4]=_0x180182(0x31b),_0x247606[_0x247606[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x247606))(Q||{}),F=(_0x359796=>(_0x359796[_0x359796[_0x180182(0x3dd)]=0x0]=_0x180182(0x3dd),_0x359796[_0x359796[_0x180182(0x2f8)]=0x1]='HELLO',_0x359796[_0x359796[_0x180182(0x19b)]=0x2]=_0x180182(0x19b),_0x359796[_0x359796['LEAVE']=0x3]=_0x180182(0x438),_0x359796[_0x359796[_0x180182(0x337)]=0x4]=_0x180182(0x337),_0x359796[_0x359796[_0x180182(0x2ef)]=0x5]=_0x180182(0x2ef),_0x359796[_0x359796[_0x180182(0x2a7)]=0x6]='RECV',_0x359796[_0x359796[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x359796))(F||{}),Ee=(_0x27608a=>(_0x27608a[_0x27608a[_0x180182(0x455)]=0x0]='UNKNOWN_CODE',_0x27608a[_0x27608a['OK']=0x1]='OK',_0x27608a[_0x27608a[_0x180182(0x24f)]=0x2]=_0x180182(0x24f),_0x27608a[_0x27608a['JOIN_ROOM_FULL']=0x3e9]='JOIN_ROOM_FULL',_0x27608a[_0x27608a[_0x180182(0x1ad)]=0x3ea]=_0x180182(0x1ad),_0x27608a[_0x27608a[_0x180182(0x205)]=0x3eb]=_0x180182(0x205),_0x27608a[_0x27608a['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x180182(0x40d),_0x27608a[_0x27608a[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x27608a))(Ee||{}),Ti=(_0x2ece19=>(_0x2ece19[_0x2ece19['Undefined']=0x0]=_0x180182(0x332),_0x2ece19[_0x2ece19[_0x180182(0x2f0)]=0x1]=_0x180182(0x2f0),_0x2ece19[_0x2ece19[_0x180182(0x3d1)]=0x2]=_0x180182(0x3d1),_0x2ece19[_0x2ece19[_0x180182(0x476)]=0x3]='UnitEmbedded',_0x2ece19[_0x2ece19[_0x180182(0x228)]=0x4]=_0x180182(0x228),_0x2ece19[_0x2ece19[_0x180182(0x3a7)]=-0x1]=_0x180182(0x3a7),_0x2ece19))(Ti||{});const q=_0x180182(0x346),Wt={};var se=(_0x37c002=>(_0x37c002[_0x180182(0x1b6)]=_0x180182(0x1b6),_0x37c002[_0x180182(0x3cf)]=_0x180182(0x3cf),_0x37c002[_0x180182(0x3d5)]=_0x180182(0x3d5),_0x37c002['CLOSE_ROOM']='CLOSE_ROOM',_0x37c002['JOIN_ROOM_FAILED']=_0x180182(0x287),_0x37c002[_0x180182(0x1f7)]=_0x180182(0x1f7),_0x37c002[_0x180182(0x40b)]='SOCKET_FAILED',_0x37c002[_0x180182(0x1d1)]=_0x180182(0x1d1),_0x37c002))(se||{});class pe{constructor(){var _0x165fac=_0x180182;N(this,_0x165fac(0x1b8),new _0x3be824()),N(this,'event$',this['_event$'][_0x165fac(0x473)]());}[_0x180182(0x3f6)](_0x39dc56){var _0x2c95ab=_0x180182;this[_0x2c95ab(0x1b8)]['next'](_0x39dc56);}}const Mn=_0x4d71e7(_0x180182(0x23c));function $n(_0x329f43){var _0x12a890=_0x180182,_0x348366,_0x149a1f,_0x3d5cd8,_0x1b6548,_0x43d1b6;const _0x5920bb=_0x329f43[_0x12a890(0x180)],_0x45f52f=JSON[_0x12a890(0x18d)](_0x5920bb);switch(_0x45f52f[_0x12a890(0x39b)]){case F[_0x12a890(0x2ef)]:case F[_0x12a890(0x2f8)]:{const _0x20ac30=_0x45f52f['infoRsp'];return{..._0x45f52f,'data':_0x20ac30,'cmd':_0x45f52f[_0x12a890(0x39b)]};}case F[_0x12a890(0x19b)]:{const _0x191985=_0x45f52f['joinRsp'];return{..._0x45f52f,'data':_0x191985,'cmd':_0x45f52f[_0x12a890(0x39b)]};}case F[_0x12a890(0x2a7)]:{const _0x4f7d1d=_0x45f52f[_0x12a890(0x2f7)];switch(_0x4f7d1d[_0x12a890(0x41f)]){case _0x34671a[_0x12a890(0x22f)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x348366=_0x4f7d1d[_0x12a890(0x1bd)])==null?void 0x0:_0x348366['cs']},'cmd':_0x45f52f['cmd']};case _0x34671a[_0x12a890(0x1cc)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x149a1f=_0x4f7d1d[_0x12a890(0x39c)])==null?void 0x0:_0x149a1f['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x385)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x3d5cd8=_0x4f7d1d['newCsEvent'])==null?void 0x0:_0x3d5cd8['cs']},'cmd':_0x45f52f['cmd']};case _0x34671a[_0x12a890(0x2ea)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x1b6548=_0x4f7d1d['csRejEvent'])==null?void 0x0:_0x1b6548['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x334)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':(_0x43d1b6=_0x4f7d1d[_0x12a890(0x32c)])==null?void 0x0:_0x43d1b6['cs']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x22d)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x40a)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x40e)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x45c)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x3ee)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x452)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x38c)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['liveShareNewHost']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x1a4)]:case _0x34671a['LIVESHARE_OPERATION']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['liveShareOperation']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a['LIVESHARE_TERMINATE']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x435)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x194)]:return{..._0x45f52f,'data':_0x4f7d1d,'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x2eb)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d['commentUpdateEvent']},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x356)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x372)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a[_0x12a890(0x344)]:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x424)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};case _0x34671a['UNISCRIPT_RUN']:return{..._0x45f52f,'data':{..._0x4f7d1d,'data':_0x4f7d1d[_0x12a890(0x1ae)]},'cmd':_0x45f52f[_0x12a890(0x39b)]};default:return _0x45f52f;}}default:return _0x45f52f;}}function Hn(_0x2cb224){var _0x200d98=_0x180182;switch(_0x2cb224[_0x200d98(0x39b)]){case F[_0x200d98(0x2ef)]:case F['HELLO']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)]});case F[_0x200d98(0x337)]:{let _0x1a3bdb;switch(_0x2cb224[_0x200d98(0x180)][_0x200d98(0x41f)]){case _0x34671a['UPDATE_CURSOR']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x22d)],'updateCursorEvent':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['USERS_LEAVE']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x3ee)],'leaveEvent':_0x2cb224['data']['data']};break;}case _0x34671a[_0x200d98(0x40e)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x40e)],'joinEvent':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['LIVESHARE_NEW_HOST']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x38c)],'liveShareNewHost':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a['LIVESHARE_OPERATION']:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x2e3)],'liveShareOperation':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x1ba)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x1ba)],'liveShareTerminate':_0x2cb224['data'][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x362)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x362)],'liveShareRequestHost':_0x2cb224[_0x200d98(0x180)][_0x200d98(0x180)]};break;}case _0x34671a[_0x200d98(0x1a4)]:{_0x1a3bdb={'eventID':_0x34671a[_0x200d98(0x1a4)]};break;}default:_0x1a3bdb={'eventID':_0x2cb224['data']['eventID']};}return JSON['stringify']({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)],'collaMsg':_0x1a3bdb});}case F['JOIN']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224['cmd'],'routeKey':_0x2cb224['routeKey'],'joinReq':_0x2cb224['data']});case F['LEAVE']:return JSON[_0x200d98(0x2fc)]({'cmd':_0x2cb224[_0x200d98(0x39b)],'routeKey':_0x2cb224[_0x200d98(0x19a)],'leaveReq':_0x2cb224[_0x200d98(0x180)]});default:throw new Error(_0x200d98(0x2f5));}}var kn=Object['defineProperty'],jn=Object[_0x180182(0x2dc)],Bn=(_0x8afffd,_0x156fb8,_0x1c7773,_0x329aea)=>{var _0x1457dd=_0x180182;for(var _0x533ec2=_0x329aea>0x1?void 0x0:_0x329aea?jn(_0x156fb8,_0x1c7773):_0x156fb8,_0x175119=_0x8afffd[_0x1457dd(0x22e)]-0x1,_0xfb9fec;_0x175119>=0x0;_0x175119--)(_0xfb9fec=_0x8afffd[_0x175119])&&(_0x533ec2=(_0x329aea?_0xfb9fec(_0x156fb8,_0x1c7773,_0x533ec2):_0xfb9fec(_0x533ec2))||_0x533ec2);return _0x329aea&&_0x533ec2&&kn(_0x156fb8,_0x1c7773,_0x533ec2),_0x533ec2;},Ue=(_0x24267a,_0xab8d15)=>(_0x359971,_0x24f6f3)=>_0xab8d15(_0x359971,_0x24f6f3,_0x24267a);const Ci=_0x4d71e7(_0x180182(0x1c8));function Fn(_0x105148,_0x2d2b8e,_0x5df95e){var _0x290c7a=_0x180182;return _0x105148+'/'+_0x2d2b8e+_0x290c7a(0x2fa)+_0x5df95e+_0x290c7a(0x25c);}let Et=class extends _0x5e1af1{constructor(_0x33e16c,_0xf2f990,_0x22dbc0,_0x21e9b5,_0x2f8995){var _0x56db40=_0x180182;super(),this[_0x56db40(0x3ff)]=_0x33e16c,this['_http']=_0xf2f990,this[_0x56db40(0x2c9)]=_0x22dbc0,this['_logService']=_0x21e9b5,this['_snapshotServerService']=_0x2f8995;}[_0x180182(0x3c1)](_0x531113){var _0x426253=_0x180182;const _0x3c3f6c=this['_injector'][_0x426253(0x42e)](_0x2ee698);if(!_0x3c3f6c)throw new Error(_0x426253(0x195));const _0x1efafc=_0x3c3f6c['createSocket'](_0x531113);if(!_0x1efafc)throw new Error(_0x426253(0x378));const _0x4e3499=new _0x47be4c(),_0x37ebca=new _0x3be824();_0x4e3499[_0x426253(0x3a3)](_0x1efafc['close$'][_0x426253(0x24d)](_0x26c22a=>_0x37ebca[_0x426253(0x1c9)](_0x26c22a))),_0x4e3499['add'](_0x7e22c5(()=>_0x37ebca[_0x426253(0x173)]()));const _0x16e270=new _0x3be824();_0x4e3499['add'](_0x1efafc['error$'][_0x426253(0x24d)](_0x372e15=>_0x16e270[_0x426253(0x1c9)](_0x372e15))),_0x4e3499[_0x426253(0x3a3)](_0x7e22c5(()=>_0x16e270['complete']()));const _0x959685=new _0x3be824();_0x4e3499['add'](_0x1efafc['message$'][_0x426253(0x24d)](_0x37d0cf=>{var _0x2bade6=_0x426253;const _0xc18dd0=$n(_0x37d0cf);_0x959685[_0x2bade6(0x1c9)](_0xc18dd0);})),_0x4e3499[_0x426253(0x3a3)](_0x7e22c5(()=>_0x959685[_0x426253(0x173)]()));let _0x30a414;const _0x3d4c73=()=>{var _0x21f10a=_0x426253;_0x16e270[_0x21f10a(0x1c9)](new Event(_0x21f10a(0x1dd))),_0x37ebca[_0x21f10a(0x1c9)](new CloseEvent(_0x21f10a(0x1dd))),_0x30a414[_0x21f10a(0x434)]();};return _0x30a414={'memberID':'','close$':_0x37ebca['asObservable'](),'error$':_0x16e270[_0x426253(0x473)](),'open$':_0x1efafc[_0x426253(0x190)],'message$':_0x959685[_0x426253(0x473)](),'send':_0x43092a=>{var _0x1eb74f=_0x426253;if(_0x43092a[_0x1eb74f(0x39b)]===F[_0x1eb74f(0x337)]){if(_0x43092a[_0x1eb74f(0x180)][_0x1eb74f(0x41f)]===_0x34671a[_0x1eb74f(0x3d0)]){this['_submitChangeset'](_0x30a414,_0x43092a['data'])[_0x1eb74f(0x2cd)](_0x579b11=>{var _0x4af922=_0x1eb74f;this[_0x4af922(0x1a2)][_0x4af922(0x458)](_0x579b11),_0x3d4c73();});return;}if(_0x43092a[_0x1eb74f(0x180)][_0x1eb74f(0x41f)]===_0x34671a[_0x1eb74f(0x38d)]){const _0x122077=_0x43092a[_0x1eb74f(0x180)];this['_fetchMissChangesets'](_0x122077)[_0x1eb74f(0x1f1)](_0x2a7799=>{var _0x396310=_0x1eb74f;_0x959685[_0x396310(0x1c9)]({'cmd':F[_0x396310(0x2a7)],'code':Ee['OK'],'routeKey':_0x122077[_0x396310(0x180)]['unitID'],'routeType':'','data':{'eventID':_0x34671a[_0x396310(0x17d)],'data':{'changesets':_0x2a7799}}});})[_0x1eb74f(0x2cd)](_0x33fdf7=>{var _0x334680=_0x1eb74f;this[_0x334680(0x1a2)][_0x334680(0x458)](_0x33fdf7),_0x3d4c73();});return;}}_0x1efafc[_0x1eb74f(0x35b)](Hn(_0x43092a));},'close':()=>{var _0xd8bd92=_0x426253;_0x1efafc[_0xd8bd92(0x434)](),_0x4e3499[_0xd8bd92(0x397)]();}},_0x30a414;}async[_0x180182(0x396)](_0xbf784f,_0x230074){var _0x41bcae=_0x180182,_0x3390e5,_0x106310;const {unitType:_0x242149,unitID:_0x59cbad,changeset:_0x54dbad}=_0x230074[_0x41bcae(0x180)],_0x316b0a={'unitID':_0x59cbad,'memberID':_0xbf784f['memberID'],'type':_0x242149,'changeset':_0x35fc6a(_0x54dbad)},_0xf6554=this[_0x41bcae(0x2c9)][_0x41bcae(0x3b2)](Un),_0xc346a8=this[_0x41bcae(0x2c9)][_0x41bcae(0x3b2)](q),_0x1bc1d7=Fn((_0x106310=(_0x3390e5=_0xc346a8==null?void 0x0:_0xc346a8[_0x41bcae(0x3df)])!=null?_0x3390e5:_0xf6554)!=null?_0x106310:An,_0x242149,_0x59cbad);try{await this[_0x41bcae(0x21c)][_0x41bcae(0x2ca)](_0x1bc1d7,{'body':_0x316b0a});}catch(_0xa60fc5){throw this['_logService'][_0x41bcae(0x458)](_0x41bcae(0x33d),'submit\x20changeset\x20error!'),_0xa60fc5;}}async[_0x180182(0x1ef)](_0x338483){var _0x283d82=_0x180182;const {unitID:_0x592d1d,from:_0x26bd93,to:_0x1b3541,unitType:_0x1251ff}=_0x338483[_0x283d82(0x180)];return(await this[_0x283d82(0x42a)][_0x283d82(0x360)]({'metadata':void 0x0},{'unitID':_0x592d1d,'type':_0x1251ff,'from':_0x26bd93,'to':_0x1b3541}))[_0x283d82(0x2e5)];}};Et=Bn([Ue(0x0,_0x353e29(_0x514172)),Ue(0x1,_0x353e29(_0x3a1dbb)),Ue(0x2,_0x1d880c),Ue(0x3,_0x3e9f29),Ue(0x4,_0x3de3ee)],Et);const Vn=_0x180182(0x2a1);function Gn(_0x2a7514){var _0x27d9e4=_0x180182;return JSON[_0x27d9e4(0x2fc)](_0x2a7514)[_0x27d9e4(0x22e)];}class Ri{constructor(){var _0x2d0144=_0x180182;N(this,_0x2d0144(0x200),new _0x3be824()),N(this,_0x2d0144(0x1bb),this[_0x2d0144(0x200)][_0x2d0144(0x473)]());}[_0x180182(0x430)](_0x4baa82){var _0x3b106c=_0x180182;this['_commentUpdate$'][_0x3b106c(0x1c9)](_0x4baa82);}}var Wn=Object[_0x180182(0x223)],Kn=Object[_0x180182(0x2dc)],Yn=(_0x518410,_0x1f8357,_0x341aa3,_0x4464ca)=>{var _0x1ae67f=_0x180182;for(var _0x1d5cc2=_0x4464ca>0x1?void 0x0:_0x4464ca?Kn(_0x1f8357,_0x341aa3):_0x1f8357,_0x442489=_0x518410[_0x1ae67f(0x22e)]-0x1,_0x5e85b0;_0x442489>=0x0;_0x442489--)(_0x5e85b0=_0x518410[_0x442489])&&(_0x1d5cc2=(_0x4464ca?_0x5e85b0(_0x1f8357,_0x341aa3,_0x1d5cc2):_0x5e85b0(_0x1d5cc2))||_0x1d5cc2);return _0x4464ca&&_0x1d5cc2&&Wn(_0x1f8357,_0x341aa3,_0x1d5cc2),_0x1d5cc2;},Kt=(_0x161e66,_0x3bd5ac)=>(_0x554a25,_0x3a81fb)=>_0x3bd5ac(_0x554a25,_0x3a81fb,_0x161e66);let xe=class extends _0x5e1af1{constructor(_0x1ce2a7,_0x6577f6){var _0x515322=_0x180182;super(),N(this,_0x515322(0x238),new Map()),N(this,_0x515322(0x38b),new _0x3be824()),(this[_0x515322(0x207)]=_0x1ce2a7,this[_0x515322(0x16e)]=_0x6577f6,this['disposeWithMe'](_0x557492(this[_0x515322(0x207)][_0x515322(0x36b)](_0xe90df[_0x515322(0x45b)])['pipe'](_0x582953(_0x32d916=>_0x32d916[_0x515322(0x20f)]())),this['_univerInstanceService'][_0x515322(0x36b)](_0xe90df[_0x515322(0x282)])['pipe'](_0x582953(_0x452941=>_0x452941[_0x515322(0x20f)]())),this['_univerInstanceService'][_0x515322(0x36b)](_0xe90df['UNIVER_SLIDE'])[_0x515322(0x1df)](_0x582953(_0x4de634=>_0x4de634[_0x515322(0x20f)]())))[_0x515322(0x24d)](_0x42ca24=>this[_0x515322(0x439)](_0x42ca24))));}[_0x180182(0x32b)](_0x2e2790){var _0x2d9ef9=_0x180182;return this[_0x2d9ef9(0x238)][_0x2d9ef9(0x268)](_0x2e2790)?_0x43a41b(this[_0x2d9ef9(0x238)][_0x2d9ef9(0x42e)](_0x2e2790)):this[_0x2d9ef9(0x38b)][_0x2d9ef9(0x1df)](_0x582953(_0xe32008=>{var _0x3ba274=_0x2d9ef9;if(_0xe32008===_0x2e2790)return this[_0x3ba274(0x238)]['get'](_0xe32008);}));}['setCurrentUser'](_0x494c84){this['_userManagerService']['setCurrentUser'](_0x494c84);}[_0x180182(0x3ef)](){var _0x14416e=_0x180182;return this[_0x14416e(0x16e)][_0x14416e(0x3ef)]();}[_0x180182(0x29d)](_0xa2a1d5,_0x3e8f9a){var _0x5a2de9=_0x180182;let _0x583159=this[_0x5a2de9(0x238)][_0x5a2de9(0x42e)](_0xa2a1d5);_0x583159||(_0x583159=new qn(),this[_0x5a2de9(0x238)][_0x5a2de9(0x3e8)](_0xa2a1d5,_0x583159),this['_roomCreated$'][_0x5a2de9(0x1c9)](_0xa2a1d5)),_0x583159[_0x5a2de9(0x29d)](_0x3e8f9a);}[_0x180182(0x25e)](_0x4dfda5,_0x59b119){var _0x2242ee=_0x180182;const _0x4519c7=this[_0x2242ee(0x238)][_0x2242ee(0x42e)](_0x4dfda5);_0x4519c7&&_0x4519c7[_0x2242ee(0x25e)](_0x59b119);}['getRoom'](_0x2e12e7){var _0x365d0f=_0x180182;return this[_0x365d0f(0x238)][_0x365d0f(0x42e)](_0x2e12e7);}[_0x180182(0x425)](_0x3327e2,_0x3b434e){var _0x5522e6=_0x180182;const _0x1c9847=this[_0x5522e6(0x238)][_0x5522e6(0x42e)](_0x3327e2);if(_0x1c9847)return _0x1c9847[_0x5522e6(0x425)](_0x3b434e);}[_0x180182(0x439)](_0x35aea8){var _0x27edaa=_0x180182;const _0xa49ad3=this[_0x27edaa(0x238)]['get'](_0x35aea8);_0xa49ad3&&(_0xa49ad3[_0x27edaa(0x397)](),this[_0x27edaa(0x238)]['delete'](_0x35aea8));}['dispose'](){var _0x2e8251=_0x180182;this[_0x2e8251(0x238)][_0x2e8251(0x46f)](_0x35ea2f=>_0x35ea2f[_0x2e8251(0x397)]()),this['_roomMembers'][_0x2e8251(0x1a7)](),this[_0x2e8251(0x38b)][_0x2e8251(0x173)]();}};xe=Yn([Kt(0x0,_0xbe923a),Kt(0x1,_0x353e29(_0x78d013))],xe);class qn extends _0x5e1af1{constructor(){var _0xddac1c=_0x180182;super(...arguments),N(this,_0xddac1c(0x2d3),new Map()),N(this,_0xddac1c(0x2a2),new _0x2de85e(this[_0xddac1c(0x2d3)])),N(this,_0xddac1c(0x2ad),this['_members$'][_0xddac1c(0x473)]());}['dispose'](){var _0x3d28bc=_0x180182;this['_members'][_0x3d28bc(0x1a7)]();}[_0x180182(0x29d)](_0x59df98){var _0x178cbd=_0x180182;this[_0x178cbd(0x2d3)][_0x178cbd(0x3e8)](_0x59df98[_0x178cbd(0x2a5)],_0x59df98),this[_0x178cbd(0x2f3)]();}['removeMember'](_0x1a4820){var _0x1530b0=_0x180182;this[_0x1530b0(0x2d3)][_0x1530b0(0x1c7)](_0x1a4820);}[_0x180182(0x425)](_0x275639){var _0x54a92d=_0x180182;return this['_members'][_0x54a92d(0x42e)](_0x275639);}['getAllMembers'](){var _0x462f71=_0x180182;return Array['from'](this[_0x462f71(0x2d3)][_0x462f71(0x2db)]());}[_0x180182(0x2f3)](){var _0x4d0ad4=_0x180182;this[_0x4d0ad4(0x2a2)]['next'](this[_0x4d0ad4(0x2d3)]);}}var zn=Object[_0x180182(0x223)],Jn=Object[_0x180182(0x2dc)],Xn=(_0xbb6753,_0x4babea,_0x1041f2,_0x49f3e5)=>{var _0x4ee8e5=_0x180182;for(var _0x4b4bce=_0x49f3e5>0x1?void 0x0:_0x49f3e5?Jn(_0x4babea,_0x1041f2):_0x4babea,_0x4f2aed=_0xbb6753[_0x4ee8e5(0x22e)]-0x1,_0x143d6d;_0x4f2aed>=0x0;_0x4f2aed--)(_0x143d6d=_0xbb6753[_0x4f2aed])&&(_0x4b4bce=(_0x49f3e5?_0x143d6d(_0x4babea,_0x1041f2,_0x4b4bce):_0x143d6d(_0x4b4bce))||_0x4b4bce);return _0x49f3e5&&_0x4b4bce&&zn(_0x4babea,_0x1041f2,_0x4b4bce),_0x4b4bce;},me=(_0x974b44,_0x1c1365)=>(_0x5a6a9f,_0x4cad54)=>_0x1c1365(_0x5a6a9f,_0x4cad54,_0x974b44),Te=(_0x7fed75=>(_0x7fed75[_0x7fed75[_0x180182(0x1ed)]=0x0]=_0x180182(0x1ed),_0x7fed75[_0x7fed75[_0x180182(0x415)]=0x1]='JOINING',_0x7fed75[_0x7fed75[_0x180182(0x358)]=0x2]=_0x180182(0x358),_0x7fed75[_0x7fed75['ONLINE']=0x3]='ONLINE',_0x7fed75))(Te||{});const Yt={[Ee[_0x180182(0x24f)]]:_0x180182(0x241),[Ee[_0x180182(0x2fd)]]:_0x180182(0x2a9),[Ee[_0x180182(0x1ad)]]:_0x180182(0x2ab),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x180182(0x392),[Ee[_0x180182(0x40d)]]:_0x180182(0x3c4)};let It=class extends _0x528acc{constructor(_0x27d657,_0x4498d7,_0x463a88,_0x1bae9a,_0x4f8c8f,_0x5f29c5,_0x1b2413,_0x2cbda8,_0x1e2ba0){var _0x5d170e=_0x180182;super(),N(this,_0x5d170e(0x1fd),new _0x2de85e(0x0)),N(this,_0x5d170e(0x212),this[_0x5d170e(0x1fd)][_0x5d170e(0x473)]()),N(this,_0x5d170e(0x1b8),new _0x3be824()),N(this,'event$',this[_0x5d170e(0x1b8)][_0x5d170e(0x473)]()),N(this,'_socket'),N(this,_0x5d170e(0x2d4)),N(this,_0x5d170e(0x376)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x5d170e(0x17a),null),(this[_0x5d170e(0x28f)]=_0x27d657,this[_0x5d170e(0x1a2)]=_0x463a88,this[_0x5d170e(0x2c9)]=_0x1bae9a,this[_0x5d170e(0x2fb)]=_0x4f8c8f,this[_0x5d170e(0x2c5)]=_0x5f29c5,this[_0x5d170e(0x1fa)]=_0x1b2413,this[_0x5d170e(0x1a5)]=_0x2cbda8,this[_0x5d170e(0x2fe)]=_0x1e2ba0,this[_0x5d170e(0x365)]=!!this[_0x5d170e(0x2fe)],_0x4498d7[_0x5d170e(0x1df)](_0x44aa56(this[_0x5d170e(0x1e2)]))['subscribe'](_0x54b328=>{var _0x759749=_0x5d170e,_0x1fd9f0;typeof _0x54b328>'u'||(this[_0x759749(0x41a)]=_0x54b328,_0x54b328?(this[_0x759749(0x221)](_0x54b328),this[_0x759749(0x2d4)]=_0x54b328[_0x759749(0x289)][_0x759749(0x24d)](_0x3243a7=>{var _0x417f9f=_0x759749;_0x3243a7[_0x417f9f(0x19a)]===this['_unitID']&&this[_0x417f9f(0x270)](_0x3243a7);})):(this[_0x759749(0x421)](),this['_sessionStatus$'][_0x759749(0x1c9)](0x2),(_0x1fd9f0=this[_0x759749(0x2d4)])==null||_0x1fd9f0[_0x759749(0x2c0)](),this[_0x759749(0x2d4)]=null));}));}get[_0x180182(0x39e)](){return this['_sessionStatus$']['getValue']();}[_0x180182(0x1c3)](){var _0x43a64a=_0x180182,_0x25bd0b,_0x1ff346;return(_0x1ff346=(_0x25bd0b=this[_0x43a64a(0x41a)])==null?void 0x0:_0x25bd0b[_0x43a64a(0x2a5)])!=null?_0x1ff346:null;}['dispose'](){var _0x17abc2=_0x180182;super[_0x17abc2(0x397)](),this[_0x17abc2(0x1e2)]['next'](),this[_0x17abc2(0x1e2)][_0x17abc2(0x173)]();}[_0x180182(0x434)](){var _0x42fb60=_0x180182,_0x24f44e,_0xaeba9f;this[_0x42fb60(0x421)](),(_0x24f44e=this['_socket'])==null||_0x24f44e[_0x42fb60(0x35b)]({'cmd':F[_0x42fb60(0x438)],'data':{'roomID':this['_unitID']}}),(_0xaeba9f=this[_0x42fb60(0x41a)])==null||_0xaeba9f[_0x42fb60(0x434)](),this[_0x42fb60(0x1b8)][_0x42fb60(0x173)](),this[_0x42fb60(0x1fd)][_0x42fb60(0x173)](),this[_0x42fb60(0x397)]();}[_0x180182(0x270)](_0x32a081){var _0x557a0e=_0x180182;_0x32a081[_0x557a0e(0x39b)]===F[_0x557a0e(0x19b)]?this[_0x557a0e(0x355)](_0x32a081):_0x32a081[_0x557a0e(0x39b)]===F[_0x557a0e(0x2a7)]&&this[_0x557a0e(0x3aa)](_0x32a081);}[_0x180182(0x221)](_0x1e4a70){var _0x24e1ab=_0x180182;this[_0x24e1ab(0x1fd)]['next'](0x1),_0x1e4a70[_0x24e1ab(0x35b)]({'cmd':F[_0x24e1ab(0x19b)],'routeKey':this[_0x24e1ab(0x28f)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24e1ab(0x28f)]}]}});}[_0x180182(0x355)](_0x181a38){var _0x5e88cf=_0x180182,_0xe45f26;if(_0x181a38[_0x5e88cf(0x44d)]in Yt){this[_0x5e88cf(0x1a5)]['emitEvent']({'id':se['JOIN_ROOM_FAILED'],'data':Yt[_0x181a38[_0x5e88cf(0x44d)]]}),this[_0x5e88cf(0x1fd)][_0x5e88cf(0x1c9)](0x2);return;}this[_0x5e88cf(0x1fd)][_0x5e88cf(0x1c9)](0x3);const _0x21afff=(_0xe45f26=_0x181a38[_0x5e88cf(0x180)][_0x5e88cf(0x3ca)][this['_unitID']])==null?void 0x0:_0xe45f26[_0x5e88cf(0x1b3)];_0x21afff&&_0x21afff[_0x5e88cf(0x46f)](_0x24edb5=>this[_0x5e88cf(0x2c5)]['updateMember'](this[_0x5e88cf(0x28f)],_0x24edb5));}[_0x180182(0x3aa)](_0x77bf3e){var _0xd4c3c=_0x180182;try{const _0x5958d8=_0x77bf3e[_0xd4c3c(0x180)];switch(_0x5958d8[_0xd4c3c(0x41f)]){case _0x34671a[_0xd4c3c(0x40e)]:this['_onUserJoin'](_0x5958d8),this[_0xd4c3c(0x1b8)]['next'](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x3ee)]:this[_0xd4c3c(0x45f)](_0x5958d8),this['_event$']['next'](_0x5958d8);break;case _0x34671a['CHANGESET_ACK']:case _0x34671a[_0xd4c3c(0x334)]:this[_0xd4c3c(0x193)](),this[_0xd4c3c(0x237)](),this['_event$']['next'](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x194)]:this['_logService'][_0xd4c3c(0x458)](_0xd4c3c(0x34a)+JSON['stringify'](_0x5958d8)),this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);break;case _0x34671a[_0xd4c3c(0x2eb)]:this[_0xd4c3c(0x1fa)][_0xd4c3c(0x430)](_0x5958d8[_0xd4c3c(0x180)]),this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);break;default:this[_0xd4c3c(0x1b8)][_0xd4c3c(0x1c9)](_0x5958d8);}}catch(_0x31a30e){this[_0xd4c3c(0x1a2)]['error'](_0x31a30e,_0x77bf3e);}}['_onUserJoin'](_0x164a52){var _0x5d36fc=_0x180182;this[_0x5d36fc(0x2c5)][_0x5d36fc(0x29d)](this[_0x5d36fc(0x28f)],_0x164a52[_0x5d36fc(0x180)]);}[_0x180182(0x45f)](_0x28a988){var _0x1d9ed8=_0x180182;this[_0x1d9ed8(0x2c5)]['removeMember'](this[_0x1d9ed8(0x28f)],_0x28a988[_0x1d9ed8(0x180)][_0x1d9ed8(0x2a5)]);}async[_0x180182(0x35b)](_0x56017e,_0x23247e){var _0x457b06=_0x180182;if(this[_0x457b06(0x39e)]!==0x3||!this[_0x457b06(0x41a)])throw new Error(_0x457b06(0x335));try{_0x56017e[_0x457b06(0x41f)]===_0x34671a[_0x457b06(0x3d0)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x56017e)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x23247e,'routeType':'','data':_0x56017e});}catch(_0x498edd){this['_logService'][_0x457b06(0x458)](_0x498edd);}}[_0x180182(0x460)](){var _0x15c311=_0x180182,_0x29d81a;this[_0x15c311(0x376)]=setTimeout(()=>{var _0x5222f4=_0x15c311;this[_0x5222f4(0x376)]=null,this[_0x5222f4(0x1a5)][_0x5222f4(0x3f6)]({'id':se[_0x5222f4(0x1d1)]});},(_0x29d81a=this[_0x15c311(0x2c9)]['getConfig'](Si))!=null?_0x29d81a:Ei);}[_0x180182(0x237)](){var _0x7f2a43=_0x180182;this[_0x7f2a43(0x376)]&&(clearTimeout(this[_0x7f2a43(0x376)]),this[_0x7f2a43(0x376)]=null);}[_0x180182(0x3d9)](_0x27ea95){var _0x3e6d8f=_0x180182;if(!this[_0x3e6d8f(0x365)])return;const {data:_0x2efded}=_0x27ea95,{unitID:_0x4f63c4,changeset:_0x385361}=_0x2efded,{mutations:_0x4131a6,type:_0x4b3837}=_0x385361;this[_0x3e6d8f(0x17a)]={'unitId':_0x4f63c4,'type':_0x4b3837,'startTime':performance[_0x3e6d8f(0x407)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x4131a6)};}[_0x180182(0x193)](){var _0x40a453=_0x180182;if(this['_shouldReportTelemetry']){if(!this[_0x40a453(0x17a)]){this[_0x40a453(0x1a2)][_0x40a453(0x458)](_0x40a453(0x33d),_0x40a453(0x179));return;}this[_0x40a453(0x17a)]['stopTime']=performance[_0x40a453(0x407)](),this['_telemetryInfo']['duration']=this[_0x40a453(0x17a)][_0x40a453(0x3f3)]-this[_0x40a453(0x17a)]['startTime'],this['_telemetryService'][_0x40a453(0x317)](Vn,this[_0x40a453(0x17a)]),this[_0x40a453(0x17a)]=null;}}[_0x180182(0x421)](){this['_telemetryInfo']=null;}};It=Xn([me(0x2,_0x3e9f29),me(0x3,_0x1d880c),me(0x4,_0x353e29(_0x481fdb)),me(0x5,_0x353e29(xe)),me(0x6,_0x353e29(Ri)),me(0x7,_0x353e29(pe)),me(0x8,_0x2d320a(_0x52f1fb))],It);var Zn=Object['defineProperty'],Qn=Object[_0x180182(0x2dc)],er=(_0x10fc60,_0x1809fd,_0x41231a,_0x4deff9)=>{var _0x41eb8f=_0x180182;for(var _0x14eedf=_0x4deff9>0x1?void 0x0:_0x4deff9?Qn(_0x1809fd,_0x41231a):_0x1809fd,_0x5b2fdd=_0x10fc60[_0x41eb8f(0x22e)]-0x1,_0x108218;_0x5b2fdd>=0x0;_0x5b2fdd--)(_0x108218=_0x10fc60[_0x5b2fdd])&&(_0x14eedf=(_0x4deff9?_0x108218(_0x1809fd,_0x41231a,_0x14eedf):_0x108218(_0x14eedf))||_0x14eedf);return _0x4deff9&&_0x14eedf&&Zn(_0x1809fd,_0x41231a,_0x14eedf),_0x14eedf;},ge=(_0x1d20b5,_0x52034b)=>(_0x458078,_0x377c34)=>_0x52034b(_0x458078,_0x377c34,_0x1d20b5);let Le=class extends _0x5e1af1{constructor(_0x5d61d2,_0x59e2e7,_0x49696d,_0xd5d564,_0x149ae5,_0x53feed,_0x1bf17f){var _0x3ad8c7=_0x180182;super(),N(this,_0x3ad8c7(0x2b0),new _0x2de85e(void 0x0)),N(this,'socket$',this[_0x3ad8c7(0x2b0)][_0x3ad8c7(0x473)]()),N(this,'_candidateSocket',null),N(this,_0x3ad8c7(0x450),new Map()),N(this,'_status$',new _0x2de85e(Te[_0x3ad8c7(0x1ed)])),N(this,_0x3ad8c7(0x1fe),this[_0x3ad8c7(0x43e)][_0x3ad8c7(0x473)]()),N(this,_0x3ad8c7(0x338),!0x1),N(this,_0x3ad8c7(0x467)),N(this,'_retryCount',0x0),N(this,_0x3ad8c7(0x3c8)),N(this,_0x3ad8c7(0x44a)),(this[_0x3ad8c7(0x3ff)]=_0x5d61d2,this[_0x3ad8c7(0x1a2)]=_0x59e2e7,this[_0x3ad8c7(0x2c9)]=_0x49696d,this[_0x3ad8c7(0x23e)]=_0xd5d564,this['_httpService']=_0x149ae5,this[_0x3ad8c7(0x1a5)]=_0x53feed,this[_0x3ad8c7(0x23b)]=_0x1bf17f,this[_0x3ad8c7(0x3fe)]());}get[_0x180182(0x41a)](){var _0x2d0bf7=_0x180182;return this['_socket$'][_0x2d0bf7(0x312)]();}['_listenToNetworkCondition'](){var _0x54c78e=_0x180182;this[_0x54c78e(0x23b)]&&this[_0x54c78e(0x437)](this[_0x54c78e(0x23b)][_0x54c78e(0x265)][_0x54c78e(0x24d)](_0xbc88bc=>{var _0x4cc822=_0x54c78e;_0xbc88bc&&!this[_0x4cc822(0x41a)]&&this[_0x4cc822(0x34d)](),_0xbc88bc||this['_onOffline']();}));}[_0x180182(0x397)](){var _0x1dfe45=_0x180182;super[_0x1dfe45(0x397)](),this[_0x1dfe45(0x450)]['forEach'](_0x2c3a77=>_0x2c3a77[_0x1dfe45(0x397)]()),this[_0x1dfe45(0x450)][_0x1dfe45(0x1a7)](),this[_0x1dfe45(0x43e)][_0x1dfe45(0x173)]();}async[_0x180182(0x3f1)](_0x62ca37){var _0x12fc0b=_0x180182;if(this[_0x12fc0b(0x450)][_0x12fc0b(0x268)](_0x62ca37))return this[_0x12fc0b(0x450)]['get'](_0x62ca37);this['_tryEnsureSocket']();const _0x471750=this['_injector'][_0x12fc0b(0x182)](It,_0x62ca37,this['_socket$'][_0x12fc0b(0x473)]());return this[_0x12fc0b(0x450)][_0x12fc0b(0x3e8)](_0x62ca37,_0x471750),_0x471750;}[_0x180182(0x457)](_0x1b2080){var _0x30a4b0=_0x180182,_0x43ecfe;const _0xc4316a=this[_0x30a4b0(0x450)][_0x30a4b0(0x42e)](_0x1b2080);_0xc4316a&&(this[_0x30a4b0(0x450)][_0x30a4b0(0x1c7)](_0x1b2080),_0xc4316a[_0x30a4b0(0x434)]()),this[_0x30a4b0(0x450)]['size']||(_0x43ecfe=this[_0x30a4b0(0x41a)])==null||_0x43ecfe['close']();}['reconnect'](){var _0x11d6f5=_0x180182;this['_retryCount']=0x0,this[_0x11d6f5(0x467)]!=null&&(clearTimeout(this[_0x11d6f5(0x467)]),this[_0x11d6f5(0x467)]=null),this[_0x11d6f5(0x250)]();}async[_0x180182(0x41d)](){var _0x232f75=_0x180182,_0x171adc,_0x353d2a,_0x45bf9c;const _0x74d56a=this['_configService'][_0x232f75(0x3b2)](q),_0x2f4b81=(_0x171adc=_0x74d56a==null?void 0x0:_0x74d56a['wsSessionTicketUrl'])!=null?_0x171adc:On;return(_0x45bf9c=(_0x353d2a=(await this[_0x232f75(0x2a3)]['get'](_0x2f4b81,{'headers':{'Content-Type':_0x232f75(0x37b)}}))[_0x232f75(0x406)])==null?void 0x0:_0x353d2a[_0x232f75(0x256)])!=null?_0x45bf9c:'';}[_0x180182(0x22b)](_0x4d55c2){var _0x2bdeb9=_0x180182,_0x172960,_0xe41f6a;const _0x3a7f5a=this[_0x2bdeb9(0x2c9)]['getConfig'](Rn),_0xf00a42=this[_0x2bdeb9(0x2c9)][_0x2bdeb9(0x3b2)](q),_0x5b934e=(_0xe41f6a=(_0x172960=_0xf00a42==null?void 0x0:_0xf00a42[_0x2bdeb9(0x222)])!=null?_0x172960:_0x3a7f5a)!=null?_0xe41f6a:bn,_0xb8c7eb=typeof window>'u'?new URL(_0x5b934e):new URL(_0x5b934e,window[_0x2bdeb9(0x39d)][_0x2bdeb9(0x34f)]);_0xb8c7eb[_0x2bdeb9(0x33e)][_0x2bdeb9(0x3e8)](_0x2bdeb9(0x16d),_0x4d55c2);const _0x25c3c7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2bdeb9(0x39d)][_0x2bdeb9(0x466)]);return _0x25c3c7[_0x2bdeb9(0x42e)](_0x2bdeb9(0x168))&&_0xb8c7eb['searchParams'][_0x2bdeb9(0x3e8)](_0x2bdeb9(0x168),_0x25c3c7[_0x2bdeb9(0x42e)]('runId')),_0xb8c7eb[_0x2bdeb9(0x191)]();}async[_0x180182(0x36e)](){var _0x101478=_0x180182;const _0x2584c6=await this[_0x101478(0x41d)](),_0x413211=this[_0x101478(0x22b)](_0x2584c6),_0xb0d610=this[_0x101478(0x23e)][_0x101478(0x3c1)](_0x413211);return this[_0x101478(0x2e1)]=_0xb0d610,_0xb0d610;}async[_0x180182(0x1e4)](){var _0x16bc2c=_0x180182,_0x37383c,_0x3b9f63;try{const _0x38b449=(_0x3b9f63=(_0x37383c=this[_0x16bc2c(0x41a)])!=null?_0x37383c:this[_0x16bc2c(0x2e1)])!=null?_0x3b9f63:await this[_0x16bc2c(0x36e)]();if(_0x38b449){const _0x47034f=_0x38b449[_0x16bc2c(0x35b)];_0x38b449['send']=_0x4a03f4=>(this[_0x16bc2c(0x3b9)](),_0x47034f['apply'](_0x38b449,[_0x4a03f4])),_0x38b449[_0x16bc2c(0x289)][_0x16bc2c(0x24d)](_0x535c69=>this['_onMessage'](_0x38b449,_0x535c69)),_0x38b449[_0x16bc2c(0x45d)]['pipe'](_0x53102d(0x1))[_0x16bc2c(0x24d)](_0x264833=>this[_0x16bc2c(0x1a2)]['error'](_0x16bc2c(0x429),_0x264833)),_0x38b449[_0x16bc2c(0x190)][_0x16bc2c(0x1df)](_0x53102d(0x1))[_0x16bc2c(0x24d)](()=>{this['_onConnectionOpen'](_0x38b449);}),_0x38b449[_0x16bc2c(0x366)][_0x16bc2c(0x1df)](_0x53102d(0x1))['subscribe'](_0x29c156=>{var _0xefc329=_0x16bc2c;this[_0xefc329(0x1a2)]['debug'](_0xefc329(0x401),'socket\x20close',_0x29c156),this[_0xefc329(0x1c4)]();});}}catch(_0x317282){this[_0x16bc2c(0x1a2)][_0x16bc2c(0x458)](_0x317282),this[_0x16bc2c(0x1c4)]();}}[_0x180182(0x1b1)](_0x578391){var _0x587903=_0x180182;this[_0x587903(0x1a2)][_0x587903(0x23d)](_0x587903(0x401),_0x587903(0x3db)),_0x578391[_0x587903(0x35b)]({'cmd':F['HELLO']}),this[_0x587903(0x3b9)]();}['_onOffline'](){var _0x5ac879=_0x180182;this[_0x5ac879(0x338)]=!0x1,this[_0x5ac879(0x2e1)]=null,this['_status$'][_0x5ac879(0x1c9)](Te[_0x5ac879(0x358)]),this[_0x5ac879(0x2b0)]['next'](null),this[_0x5ac879(0x285)](),this[_0x5ac879(0x290)]();}['_onConnectionFailed'](){var _0x44f39d=_0x180182,_0x596fe9;this['_onOffline'](),this[_0x44f39d(0x3ed)]<((_0x596fe9=this[_0x44f39d(0x2c9)][_0x44f39d(0x3b2)](Pn))!=null?_0x596fe9:wn)?(this[_0x44f39d(0x1a5)][_0x44f39d(0x3f6)]({'id':se['SOCKET_FAILED_RETRY']}),this[_0x44f39d(0x250)]()):this['_collaborationUIEventService'][_0x44f39d(0x3f6)]({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x235ab5=_0x180182,_0x41e90d;const _0x26cbb5=this['_retryCount'],_0x276768=this[_0x235ab5(0x2c9)][_0x235ab5(0x3b2)](q),_0x11e2bd=_0x26cbb5===0x0?0x0:((_0x41e90d=_0x276768==null?void 0x0:_0x276768[_0x235ab5(0x185)])!=null?_0x41e90d:Dn)*0x2**_0x26cbb5;this['_retryConnectingTimer']=setTimeout(()=>{var _0x53dd1a=_0x235ab5;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x53dd1a(0x1e4)]();},_0x11e2bd),this[_0x235ab5(0x3ed)]+=0x1;}[_0x180182(0x1e0)](_0x594bd2,_0x57e675){var _0x237640=_0x180182;const {cmd:_0x3ac07b}=_0x57e675;_0x3ac07b===F[_0x237640(0x2f8)]&&!this[_0x237640(0x338)]&&(_0x594bd2[_0x237640(0x2a5)]=_0x57e675[_0x237640(0x180)][_0x237640(0x2a5)],this[_0x237640(0x2b0)]['next'](_0x594bd2),this[_0x237640(0x43e)][_0x237640(0x1c9)](Te[_0x237640(0x27c)]),this['_socketReady']=!0x0,this[_0x237640(0x2e1)]=null),_0x3ac07b===F[_0x237640(0x2ef)]&&this[_0x237640(0x285)](),this[_0x237640(0x3b9)]();}[_0x180182(0x3b9)](){var _0xe59887=_0x180182,_0x5df195;this[_0xe59887(0x290)](),this[_0xe59887(0x3c8)]=setTimeout(()=>this[_0xe59887(0x2c1)](),(_0x5df195=this[_0xe59887(0x2c9)][_0xe59887(0x3b2)](yn))!=null?_0x5df195:Nn);}[_0x180182(0x2c1)](){var _0x3acd11=_0x180182;this[_0x3acd11(0x41a)][_0x3acd11(0x35b)]({'cmd':F['HEARTBEAT']}),this[_0x3acd11(0x316)]();}[_0x180182(0x316)](){var _0x318342=_0x180182,_0x297629;this[_0x318342(0x44a)]=setTimeout(()=>this[_0x318342(0x1c4)](),(_0x297629=this[_0x318342(0x2c9)][_0x318342(0x3b2)](Si))!=null?_0x297629:Ei);}[_0x180182(0x290)](){var _0x54fda5=_0x180182;this[_0x54fda5(0x3c8)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x54fda5(0x3c8)]=null);}[_0x180182(0x285)](){var _0x4a1333=_0x180182;this[_0x4a1333(0x44a)]!=null&&(clearTimeout(this[_0x4a1333(0x44a)]),this['_timeoutTimer']=null);}};Le=er([ge(0x0,_0x353e29(_0x514172)),ge(0x1,_0x3e9f29),ge(0x2,_0x1d880c),ge(0x3,Ci),ge(0x4,_0x353e29(_0x3a1dbb)),ge(0x5,_0x353e29(pe)),ge(0x6,_0x2d320a(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x180182(0x191)](0x10)['slice'](0x1));function tr(_0x3f543f,_0x2d0a66=0x0){return(V[_0x3f543f[_0x2d0a66+0x0]]+V[_0x3f543f[_0x2d0a66+0x1]]+V[_0x3f543f[_0x2d0a66+0x2]]+V[_0x3f543f[_0x2d0a66+0x3]]+'-'+V[_0x3f543f[_0x2d0a66+0x4]]+V[_0x3f543f[_0x2d0a66+0x5]]+'-'+V[_0x3f543f[_0x2d0a66+0x6]]+V[_0x3f543f[_0x2d0a66+0x7]]+'-'+V[_0x3f543f[_0x2d0a66+0x8]]+V[_0x3f543f[_0x2d0a66+0x9]]+'-'+V[_0x3f543f[_0x2d0a66+0xa]]+V[_0x3f543f[_0x2d0a66+0xb]]+V[_0x3f543f[_0x2d0a66+0xc]]+V[_0x3f543f[_0x2d0a66+0xd]]+V[_0x3f543f[_0x2d0a66+0xe]]+V[_0x3f543f[_0x2d0a66+0xf]])['toLowerCase']();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3b2456=_0x180182;if(!ut){if(typeof crypto>'u'||!crypto[_0x3b2456(0x2aa)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x3b2456(0x26c)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x180182(0x2b7)]&&crypto[_0x180182(0x2b7)][_0x180182(0x26c)](crypto),qt={'randomUUID':rr};function sr(_0x5d711e,_0x3f4af1,_0x17e9c7){var _0x575141=_0x180182,_0x57a1ec,_0x44d405,_0x5e77b0;if(qt[_0x575141(0x2b7)]&&!_0x5d711e)return qt[_0x575141(0x2b7)]();_0x5d711e=_0x5d711e||{};const _0x1e4761=(_0x5e77b0=(_0x44d405=_0x5d711e[_0x575141(0x333)])!=null?_0x44d405:(_0x57a1ec=_0x5d711e[_0x575141(0x413)])==null?void 0x0:_0x57a1ec[_0x575141(0x3bf)](_0x5d711e))!=null?_0x5e77b0:nr();if(_0x1e4761[_0x575141(0x22e)]<0x10)throw new Error(_0x575141(0x26d));return _0x1e4761[0x6]=_0x1e4761[0x6]&0xf|0x40,_0x1e4761[0x8]=_0x1e4761[0x8]&0x3f|0x80,tr(_0x1e4761);}const J=_0x4d71e7('collaboration-client.local-cache-service');function so(_0x26324a){var _0x3dbca7=_0x180182;return _0x3dbca7(0x38e)+_0x26324a;}var or=Object[_0x180182(0x223)],ar=Object[_0x180182(0x2dc)],cr=(_0x3b2448,_0x108ae6,_0x456c4d,_0x56d69a)=>{var _0x50db93=_0x180182;for(var _0x736dfa=_0x56d69a>0x1?void 0x0:_0x56d69a?ar(_0x108ae6,_0x456c4d):_0x108ae6,_0x2f2894=_0x3b2448[_0x50db93(0x22e)]-0x1,_0x2b4e3d;_0x2f2894>=0x0;_0x2f2894--)(_0x2b4e3d=_0x3b2448[_0x2f2894])&&(_0x736dfa=(_0x56d69a?_0x2b4e3d(_0x108ae6,_0x456c4d,_0x736dfa):_0x2b4e3d(_0x736dfa))||_0x736dfa);return _0x56d69a&&_0x736dfa&&or(_0x108ae6,_0x456c4d,_0x736dfa),_0x736dfa;},dt=(_0x1298e9,_0x25f647)=>(_0xf6ef3c,_0x3d2ce2)=>_0x25f647(_0xf6ef3c,_0x3d2ce2,_0x1298e9);function hr(_0x153643){var _0x5ef026=_0x180182;const {unitID:_0x4996d0,mutations:_0x216066}=_0x153643;return{'unitId':_0x4996d0,'subUnitId':_0x216066[0x0]['params'][_0x5ef026(0x19f)]};}let it=class{constructor(_0x4fa5eb,_0xbcaf0c,_0xe867d0){var _0x4be6ae=_0x180182;this[_0x4be6ae(0x3ff)]=_0x4fa5eb,this[_0x4be6ae(0x322)]=_0xbcaf0c,this[_0x4be6ae(0x235)]=_0xe867d0;}[_0x180182(0x367)](_0x41b5d7){var _0x2b0eef=_0x180182,_0x569281,_0xd0adf5,_0x24c4cf,_0x2db1c6;const _0xe7953d=this['_injector'][_0x2b0eef(0x42e)](_0x5321c9),{unitId:_0x112e46,subUnitId:_0x336384}=hr(_0x41b5d7),_0x97b77b=_0xe7953d==null?void 0x0:_0xe7953d[_0x2b0eef(0x1cb)](_0x112e46)['getCurrentSelections'](),_0x4f7267=(_0xd0adf5=(_0x569281=this[_0x2b0eef(0x235)][_0x2b0eef(0x46a)](_0x112e46))==null?void 0x0:_0x569281['getActiveSheet']())==null?void 0x0:_0xd0adf5[_0x2b0eef(0x1ec)]();if(_0x97b77b[_0x2b0eef(0x22e)]===0x0||!_0x112e46||!_0x336384)return;const _0x52ba12=[{'id':_0x2a831a['id'],'params':{'unitId':_0x112e46,'subUnitId':_0x4f7267,'selections':_0x51a629[_0x2b0eef(0x2d9)](_0x97b77b)}}],_0x215933=this[_0x2b0eef(0x322)][_0x2b0eef(0x2b2)](_0x41b5d7,_0x52ba12);if(!_0x8e3f17(_0x215933))throw _0x215933[_0x2b0eef(0x458)];const _0xd07405=(_0x2db1c6=(_0x24c4cf=_0x215933[_0x2b0eef(0x42f)][0x0])==null?void 0x0:_0x24c4cf['params'])==null?void 0x0:_0x2db1c6['selections'];if(Array[_0x2b0eef(0x35a)](_0xd07405)&&_0xd07405[_0x2b0eef(0x22e)]){if(_0xd07405[_0x2b0eef(0x22e)]===_0x52ba12[0x0][_0x2b0eef(0x2cc)][_0x2b0eef(0x319)][_0x2b0eef(0x22e)]&&_0xd07405[_0x2b0eef(0x297)]((_0x46778e,_0x7279ae)=>_0x1e53d9['equals'](_0x46778e[_0x2b0eef(0x3ac)],_0x52ba12[0x0][_0x2b0eef(0x2cc)][_0x2b0eef(0x319)][_0x7279ae][_0x2b0eef(0x3ac)])))return;this[_0x2b0eef(0x3ff)][_0x2b0eef(0x42e)](_0x3cf875)[_0x2b0eef(0x1ff)](_0x2a831a['id'],{'unitId':_0x112e46,'subUnitId':_0x4f7267,'selections':_0xd07405});}}};it=cr([dt(0x0,_0x353e29(_0x514172)),dt(0x1,_0x5230f8),dt(0x2,_0xbe923a)],it);const ht=_0x4d71e7(_0x180182(0x3dc));var bi=(_0xe5b7ca=>(_0xe5b7ca[_0xe5b7ca[_0x180182(0x2b5)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0xe5b7ca[_0xe5b7ca[_0x180182(0x2b3)]=0x1]=_0x180182(0x2b3),_0xe5b7ca))(bi||{});const _r=new Set([_0x1c2e76['id']]);function zt(_0x19ddbd,_0x2a0199,_0xc7a067,_0x2092cc,_0x1e8d1b){var _0x464d35=_0x180182,_0x557a2b,_0x35ee31,_0x19f6fb,_0x5ab238;const _0x4fdb84=[];for(const _0x5da879 of _0x19ddbd)if(_r[_0x464d35(0x268)](_0x5da879['id'])){if(_0x4fdb84[_0x464d35(0x22e)]>0x0)break;_0x4fdb84[_0x464d35(0x247)](_0x5da879);break;}else _0x4fdb84[_0x464d35(0x247)](_0x5da879);const _0x5a6f1d=(_0x35ee31=(_0x557a2b=_0x1e8d1b['getCurrentUser']())==null?void 0x0:_0x557a2b['userID'])!=null?_0x35ee31:_0x464d35(0x31a),_0x495688=(_0x5ab238=(_0x19f6fb=_0x1e8d1b[_0x464d35(0x3ef)]())==null?void 0x0:_0x19f6fb[_0x464d35(0x2a5)])!=null?_0x5ab238:_0x464d35(0x31a);return{'changeset':{'unitID':_0x2a0199,'type':_0x14d127(_0xc7a067[_0x464d35(0x3b1)](_0x2a0199)),'baseRev':_0x2092cc['getCurrentRevOfUnit'](_0x2a0199),'revision':0x0,'userID':_0x5a6f1d,'memberID':_0x495688,'mutations':_0x4fdb84},'pendingMutations':_0x19ddbd[_0x464d35(0x2d8)](_0x4fdb84[_0x464d35(0x22e)])};}function lr(_0x54d74e,_0x375952,_0x40eab0,_0x2e7ee6,_0x2206b6){var _0xafabeb=_0x180182,_0x19a4b6,_0x430102,_0x18e530,_0x18a631;const _0x5e405b=[_0x54d74e[_0xafabeb(0x170)]((_0x33617b,_0x2a28d3)=>{var _0x5450d9=_0xafabeb,_0x55e873;const {id:_0xdc9ac7}=_0x33617b,{id:_0x533dbb,type:_0x4b726b}=_0x2a28d3,_0x39dc27=(_0x55e873=_0x33617b[_0x5450d9(0x2cc)])!=null?_0x55e873:{'actions':null},_0x5b6805=_0x2a28d3[_0x5450d9(0x2cc)];if(_0xdc9ac7&&_0xdc9ac7!==_0x533dbb)throw new Error(_0x5450d9(0x373)+_0xdc9ac7+_0x5450d9(0x462)+_0x533dbb+'.');return{..._0x33617b,'id':_0x533dbb,'type':_0x4b726b,'params':{'unitId':_0x5b6805['unitId'],'textRanges':_0x5b6805['textRanges'],'actions':_0x343391[_0x5450d9(0x21e)](_0x39dc27[_0x5450d9(0x463)],_0x5b6805[_0x5450d9(0x463)])}};},{})],_0x387cf5=(_0x430102=(_0x19a4b6=_0x2206b6[_0xafabeb(0x3ef)]())==null?void 0x0:_0x19a4b6['userID'])!=null?_0x430102:'unknown',_0x42ec94=(_0x18a631=(_0x18e530=_0x2206b6[_0xafabeb(0x3ef)]())==null?void 0x0:_0x18e530['memberID'])!=null?_0x18a631:_0xafabeb(0x31a);return{'changeset':{'unitID':_0x375952,'type':_0x14d127(_0x40eab0['getUnitType'](_0x375952)),'baseRev':_0x2e7ee6[_0xafabeb(0x2df)](_0x375952),'revision':0x0,'userID':_0x387cf5,'memberID':_0x42ec94,'mutations':_0x5e405b},'pendingMutations':[]};}function Oi(_0x56228a,_0x3b24d3){var _0x535700=_0x180182;const _0x20ceaa=new _0x5c1b67(0x1);return setTimeout(()=>_0x20ceaa['next'](_0x3b24d3),_0x56228a),_0x20ceaa[_0x535700(0x473)]()[_0x535700(0x1df)](_0x4c2e79(0x1));}const ur={'id':_0x1b8ca0['id'],'type':_0x36c35a[_0x180182(0x320)],'params':{}};var dr=Object['defineProperty'],fr=Object['getOwnPropertyDescriptor'],Re=(_0x16e536,_0x346b7e,_0x505f58,_0x36be8a)=>{var _0x196b75=_0x180182;for(var _0x4b7b6b=_0x36be8a>0x1?void 0x0:_0x36be8a?fr(_0x346b7e,_0x505f58):_0x346b7e,_0x3290a8=_0x16e536[_0x196b75(0x22e)]-0x1,_0x1918ec;_0x3290a8>=0x0;_0x3290a8--)(_0x1918ec=_0x16e536[_0x3290a8])&&(_0x4b7b6b=(_0x36be8a?_0x1918ec(_0x346b7e,_0x505f58,_0x4b7b6b):_0x1918ec(_0x4b7b6b))||_0x4b7b6b);return _0x36be8a&&_0x4b7b6b&&dr(_0x346b7e,_0x505f58,_0x4b7b6b),_0x4b7b6b;},A=(_0x58ea16,_0x141eec)=>(_0x46afe4,_0xf30353)=>_0x141eec(_0x46afe4,_0xf30353,_0x58ea16),yi=(_0x2f4892=>(_0x2f4892['NOT_COLLAB']=_0x180182(0x42d),_0x2f4892[_0x180182(0x395)]=_0x180182(0x3b8),_0x2f4892['PENDING']=_0x180182(0x46d),_0x2f4892[_0x180182(0x2f4)]=_0x180182(0x1fc),_0x2f4892[_0x180182(0x3a6)]=_0x180182(0x3b7),_0x2f4892[_0x180182(0x224)]=_0x180182(0x204),_0x2f4892[_0x180182(0x3d5)]=_0x180182(0x3fd),_0x2f4892[_0x180182(0x358)]='offline',_0x2f4892))(yi||{});const Ni=0xea60;class be{constructor(_0x52856e,_0xd02698,_0x598d88,_0x368b35,_0x497bdb,_0x5cc290,_0x2a32b7,_0x41c125,_0x2fd96f){var _0x1f2c01=_0x180182;N(this,_0x1f2c01(0x422),null),N(this,_0x1f2c01(0x2ce),[]),(this[_0x1f2c01(0x1ea)]=_0x52856e,this[_0x1f2c01(0x3b0)]=_0xd02698,this[_0x1f2c01(0x178)]=_0x497bdb,this[_0x1f2c01(0x380)]=_0x5cc290,this[_0x1f2c01(0x249)]=_0x2a32b7,this[_0x1f2c01(0x3a5)]=_0x41c125,this['_localCacheService']=_0x2fd96f,this[_0x1f2c01(0x422)]=_0x598d88,this['_pendingMutations']=_0x368b35);}[_0x180182(0x351)](_0x1958dc){var _0x49dcfb=_0x180182;const _0x3fe4f9=this[_0x49dcfb(0x3a5)][_0x49dcfb(0x2df)](this[_0x49dcfb(0x1ea)]);return _0x1958dc[_0x49dcfb(0x453)]>_0x3fe4f9+0x1?(this[_0x49dcfb(0x178)]['onMissingChangesets']({'from':_0x3fe4f9,'to':_0x1958dc['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x484cac){var _0x17f2d2=_0x180182;this[_0x17f2d2(0x249)][_0x17f2d2(0x198)](this['unitID'],_0x484cac);}[_0x180182(0x1d4)](_0x348eb0){var _0x58d0b2=_0x180182,_0x16a945,_0x5953af;(_0x5953af=(_0x16a945=this[_0x58d0b2(0x178)])[_0x58d0b2(0x1f8)])==null||_0x5953af['call'](_0x16a945,_0x348eb0);}[_0x180182(0x17c)](_0x119bce){var _0x293cf7=_0x180182,_0x268f53,_0x27ff0c;return(_0x27ff0c=(_0x268f53=this[_0x293cf7(0x178)])['onTransformIME'])==null?void 0x0:_0x27ff0c['call'](_0x268f53,_0x119bce);}['_transformStateCache'](_0x27fa3f){var _0xd4f81a=_0x180182,_0x4d4832,_0xf5424a;return(_0xf5424a=(_0x4d4832=this[_0xd4f81a(0x178)])[_0xd4f81a(0x39f)])==null?void 0x0:_0xf5424a[_0xd4f81a(0x3bf)](_0x4d4832,_0x27fa3f);}[_0x180182(0x1f4)](_0x5e0257){var _0x2e6b53=_0x180182,_0x473dbe,_0x1c4716,_0x38a741;return(_0x38a741=(_0x1c4716=(_0x473dbe=this[_0x2e6b53(0x178)])[_0x2e6b53(0x199)])==null?void 0x0:_0x1c4716[_0x2e6b53(0x3bf)](_0x473dbe,_0x5e0257))!=null?_0x38a741:_0x5e0257;}[_0x180182(0x30b)](_0x1ddde2){var _0x225ab9=_0x180182,_0x221ac6,_0x828dac,_0x3ee3bc;return(_0x3ee3bc=(_0x828dac=(_0x221ac6=this[_0x225ab9(0x178)])[_0x225ab9(0x27f)])==null?void 0x0:_0x828dac[_0x225ab9(0x3bf)](_0x221ac6,_0x1ddde2))!=null?_0x3ee3bc:_0x1ddde2;}['_syncEditingCollabCursor'](_0x1dfcfd){var _0x5a0b17=_0x180182,_0x289b11,_0x29d67a;if(this[_0x5a0b17(0x3b0)]===Q[_0x5a0b17(0x282)]){const {unitID:_0x189807,mutations:_0x54ce5e,memberID:_0x38b90e}=_0x1dfcfd,_0x46c773=_0x54ce5e[0x0][_0x5a0b17(0x2cc)]['textRanges'];Array[_0x5a0b17(0x35a)](_0x46c773)&&_0x46c773[_0x5a0b17(0x22e)]>0x0&&((_0x29d67a=(_0x289b11=this[_0x5a0b17(0x178)])[_0x5a0b17(0x35d)])==null||_0x29d67a['call'](_0x289b11,{'unitID':_0x189807,'memberID':_0x38b90e,'textRanges':_0x46c773}));}}[_0x180182(0x35e)](){var _0x601362=_0x180182,_0x10dd9d;(_0x10dd9d=this[_0x601362(0x171)])==null||_0x10dd9d[_0x601362(0x1de)](this['unitID'],this[_0x601362(0x3b0)],this['_awaitingChangeset'],this[_0x601362(0x2ce)]);}[_0x180182(0x440)](){var _0x4a4ead=_0x180182;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x4a4ead(0x1ea)]);}[_0x180182(0x403)](){var _0x2ff85c=_0x180182;this[_0x2ff85c(0x3a5)][_0x2ff85c(0x464)](this[_0x2ff85c(0x1ea)]);}[_0x180182(0x2e7)](_0x2483f7){var _0x1e42b9=_0x180182,_0x56d1a9;let _0x57572e=this[_0x1e42b9(0x1f4)](_0x2483f7);_0x57572e=this['_transformRemoteChangesetByStateCache'](_0x57572e);const _0x46e6f3=_0x3feb26(_0x57572e[_0x1e42b9(0x3f8)],this[_0x1e42b9(0x380)],{'fromCollab':!0x0});if(!_0x46e6f3[_0x1e42b9(0x29e)])throw _0x46e6f3['error']instanceof Error?_0x46e6f3['error']:new Error((_0x56d1a9=_0x46e6f3['error'])!=null?_0x56d1a9:_0x1e42b9(0x370));this[_0x1e42b9(0x17c)](_0x57572e),this[_0x1e42b9(0x227)](_0x57572e),this['_transformUndoredo'](_0x2483f7),this['_transformSelections'](_0x57572e),this[_0x1e42b9(0x20b)](_0x57572e),this[_0x1e42b9(0x403)]();}}let De=class extends be{constructor(_0x15011b,_0x47caea,_0x469526,_0x291313,_0x12086e,_0x3fb2a3,_0x4bed50,_0x1c2c81,_0x348345,_0xbd1614){var _0x45aa58=_0x180182;super(_0x15011b,_0x47caea,null,[],_0x469526,_0x4bed50,_0x3fb2a3,_0x291313,_0xbd1614),N(this,'status','synced'),(this[_0x45aa58(0x3ff)]=_0x12086e,this[_0x45aa58(0x1a2)]=_0x1c2c81,this['_transformService']=_0x348345,this[_0x45aa58(0x18e)]=_0xbd1614);}[_0x180182(0x306)](_0x21ce06){var _0x476d57=_0x180182;const _0x557609=this['_injector'][_0x476d57(0x182)](oe,this[_0x476d57(0x1ea)],this[_0x476d57(0x3b0)],[_0x21ce06],this['_handler']);return _0x557609[_0x476d57(0x29a)](),_0x557609[_0x476d57(0x35e)](),_0x557609;}[_0x180182(0x1ce)](_0x18e19e){var _0x4ec6a2=_0x180182;if(this[_0x4ec6a2(0x351)](_0x18e19e))return this[_0x4ec6a2(0x3ff)][_0x4ec6a2(0x182)](te,this['unitID'],this[_0x4ec6a2(0x3b0)],null,[],null,[_0x18e19e],this[_0x4ec6a2(0x178)]);try{const _0x1876b1=this[_0x4ec6a2(0x322)]['transformMutationsWithChangeset'](_0x18e19e,[ur]);if(_0x8e3f17(_0x1876b1)){const {c1Prime:_0x4f0552}=_0x1876b1;return this['_executeRemoteChangeset'](_0x4f0552),this;}throw _0x1876b1[_0x4ec6a2(0x458)];}catch(_0x4cab66){return this[_0x4ec6a2(0x1a2)][_0x4ec6a2(0x458)](_0x4cab66),this[_0x4ec6a2(0x2a8)](!0x1);}}[_0x180182(0x2a8)](_0x5b3e25){var _0x2c58c6=_0x180182;return this[_0x2c58c6(0x3ff)]['createInstance'](de,this['unitID'],this[_0x2c58c6(0x3b0)],null,[],this[_0x2c58c6(0x178)],_0x5b3e25);}[_0x180182(0x456)](){var _0x4d07ab=_0x180182;throw new Error(_0x4d07ab(0x426));}[_0x180182(0x208)](){var _0x10b182=_0x180182;throw new Error(_0x10b182(0x172));}[_0x180182(0x3eb)](){return this;}['toggleOffline'](){var _0x1218a8=_0x180182;return this[_0x1218a8(0x3ff)]['createInstance'](fe,this[_0x1218a8(0x1ea)],this[_0x1218a8(0x3b0)],null,[],this[_0x1218a8(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x1c44ce=_0x180182;throw new Error(_0x1c44ce(0x45a));}[_0x180182(0x192)](){var _0x1c911c=_0x180182;const _0x1649ca=this[_0x1c911c(0x3a5)]['getCurrentRevOfUnit'](this['unitID']);return this[_0x1c911c(0x178)][_0x1c911c(0x2c7)]({'from':_0x1649ca,'to':0x0}),this[_0x1c911c(0x3ff)][_0x1c911c(0x182)](te,this[_0x1c911c(0x1ea)],this[_0x1c911c(0x3b0)],null,[],null,[],this['_handler']);}};De=Re([A(0x3,_0x353e29(_0x58d326)),A(0x4,_0x353e29(_0x514172)),A(0x5,_0x3d63ec),A(0x6,_0x3cf875),A(0x7,_0x3e9f29),A(0x8,_0x5230f8),A(0x9,_0x2d320a(J))],De);let oe=class extends be{constructor(_0x5e97a4,_0x4edd89,_0x5557c7,_0x12041b,_0x158f96,_0x28d9de,_0x4d5f49,_0x487fbf,_0x275387,_0x1f92a9,_0x2d6a96,_0xc78611,_0x4f2209,_0x5268eb){var _0x551bee=_0x180182;super(_0x5e97a4,_0x4edd89,null,_0x5557c7,_0x12041b,_0x275387,_0x4f2209,_0x28d9de,_0x5268eb),N(this,_0x551bee(0x2f1),'pending'),N(this,_0x551bee(0x19d),null),N(this,_0x551bee(0x40f),null),(this[_0x551bee(0x3ff)]=_0x158f96,this['_memberService']=_0x4d5f49,this['_logService']=_0x487fbf,this[_0x551bee(0x2c9)]=_0x1f92a9,this['_transformService']=_0x2d6a96,this[_0x551bee(0x207)]=_0xc78611);}[_0x180182(0x306)](_0x3f5e60){var _0x3c4b2a=_0x180182;return this[_0x3c4b2a(0x2ce)][_0x3c4b2a(0x247)](_0x3f5e60),this[_0x3c4b2a(0x35e)](),this;}['onRemoteChangeset'](_0xa1314e){var _0x5f0c4c=_0x180182;if(this[_0x5f0c4c(0x351)](_0xa1314e))return this[_0x5f0c4c(0x2bc)](),this[_0x5f0c4c(0x3ff)]['createInstance'](te,this[_0x5f0c4c(0x1ea)],this[_0x5f0c4c(0x3b0)],null,this[_0x5f0c4c(0x2ce)],null,[_0xa1314e],this[_0x5f0c4c(0x178)]);try{const _0x1241ff=this[_0x5f0c4c(0x322)][_0x5f0c4c(0x2b2)](_0xa1314e,this[_0x5f0c4c(0x2ce)]);if(_0x8e3f17(_0x1241ff)){const {c1Prime:_0x489796,m2Prime:_0x4303c0}=_0x1241ff;this[_0x5f0c4c(0x2e7)](_0x489796);const _0x523e05=this[_0x5f0c4c(0x3ff)][_0x5f0c4c(0x182)](oe,this['unitID'],this[_0x5f0c4c(0x3b0)],_0x4303c0,this[_0x5f0c4c(0x178)]);this[_0x5f0c4c(0x2bc)]();const _0x2751b5=new Date()[_0x5f0c4c(0x3ce)](),_0x544af8=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x5f0c4c(0x19d)]-_0x2751b5,0x0):this['_getSendChangesetTimeout']();return _0x523e05['_schedule'](_0x544af8),_0x523e05;}throw _0x1241ff['error'];}catch(_0x5bcf2e){return this[_0x5f0c4c(0x1a2)][_0x5f0c4c(0x458)](_0x5bcf2e),this[_0x5f0c4c(0x2a8)](!0x1);}}[_0x180182(0x456)](){var _0xe9d298=_0x180182;throw new Error(_0xe9d298(0x1f6));}['onRemoteRej'](){var _0x514daa=_0x180182;throw new Error(_0x514daa(0x280));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){var _0x3e80a4=_0x180182;return this[_0x3e80a4(0x2bc)](),this[_0x3e80a4(0x3ff)][_0x3e80a4(0x182)](fe,this[_0x3e80a4(0x1ea)],this['type'],null,this[_0x3e80a4(0x2ce)],this[_0x3e80a4(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x29a)](_0x3e9c1c){var _0x479e21=_0x180182;const _0x299814=_0x3e9c1c!=null?_0x3e9c1c:this[_0x479e21(0x22a)]();this[_0x479e21(0x19d)]=new Date()['getTime']()+_0x299814,this[_0x479e21(0x40f)]=setTimeout(()=>{var _0x557f00=_0x479e21;this[_0x557f00(0x2bc)]();let _0x2b3aec=null;switch(this[_0x557f00(0x3b0)]){case Q[_0x557f00(0x45b)]:{_0x2b3aec=zt(this[_0x557f00(0x2ce)],this[_0x557f00(0x1ea)],this['_univerInstanceService'],this[_0x557f00(0x3a5)],this[_0x557f00(0x2c5)]);break;}case Q['UNIVER_DOC']:{this[_0x557f00(0x2ce)][_0x557f00(0x297)](_0x3eb3c1=>_0x3eb3c1['id']===_0x3de722['id'])?_0x2b3aec=lr(this['_pendingMutations'],this[_0x557f00(0x1ea)],this['_univerInstanceService'],this[_0x557f00(0x3a5)],this['_memberService']):_0x2b3aec=zt(this['_pendingMutations'],this['unitID'],this[_0x557f00(0x207)],this[_0x557f00(0x3a5)],this['_memberService']);break;}default:throw new Error(_0x557f00(0x428)+this[_0x557f00(0x3b0)]+_0x557f00(0x1db));}const {changeset:_0x5daf1d,pendingMutations:_0x4abe0d}=_0x2b3aec;this[_0x557f00(0x178)]['onSendChangeset'](_0x5daf1d);const _0x1e6bd7=_0x4abe0d['length']?this[_0x557f00(0x3ff)][_0x557f00(0x182)](ae,this['unitID'],this[_0x557f00(0x3b0)],_0x5daf1d,_0x4abe0d,this[_0x557f00(0x178)],void 0x0):this[_0x557f00(0x3ff)][_0x557f00(0x182)](ue,this[_0x557f00(0x1ea)],this[_0x557f00(0x3b0)],_0x5daf1d,this[_0x557f00(0x178)]);_0x1e6bd7[_0x557f00(0x35e)](),this['_handler']['onStateChange'](this,_0x1e6bd7);},_0x299814);}[_0x180182(0x22a)](){var _0x58d76=_0x180182,_0x3494d0;const _0x93bfc4=this[_0x58d76(0x2c9)][_0x58d76(0x3b2)](q);return(_0x3494d0=_0x93bfc4==null?void 0x0:_0x93bfc4[_0x58d76(0x196)])!=null?_0x3494d0:Cn;}['resend'](){var _0xcaaf67=_0x180182;throw new Error(_0xcaaf67(0x24e));}['_clearScheduledTask'](){var _0x356c62=_0x180182;this[_0x356c62(0x40f)]!=null&&(clearTimeout(this[_0x356c62(0x40f)]),this[_0x356c62(0x40f)]=null);}[_0x180182(0x2a8)](_0x3014ee){var _0x5bc322=_0x180182;return this['_clearScheduledTask'](),this[_0x5bc322(0x3ff)][_0x5bc322(0x182)](de,this[_0x5bc322(0x1ea)],this[_0x5bc322(0x3b0)],null,this['_pendingMutations'],this[_0x5bc322(0x178)],_0x3014ee);}};oe=Re([A(0x4,_0x353e29(_0x514172)),A(0x5,_0x353e29(_0x58d326)),A(0x6,_0x353e29(xe)),A(0x7,_0x3e9f29),A(0x8,_0x3cf875),A(0x9,_0x1d880c),A(0xa,_0x5230f8),A(0xb,_0xbe923a),A(0xc,_0x3d63ec),A(0xd,_0x2d320a(J))],oe);let ue=class extends be{constructor(_0x3ac611,_0x450f2a,_0x1546f2,_0x85afa5,_0x33c320,_0x8df0b1,_0x2376d7,_0x1779da,_0x5cd9a1,_0x350a2a,_0x328a23){var _0x317f22=_0x180182;super(_0x3ac611,_0x450f2a,_0x1546f2,[],_0x85afa5,_0x2376d7,_0x350a2a,_0x8df0b1,_0x328a23),N(this,'status','awaiting'),N(this,_0x317f22(0x307),0x0),N(this,_0x317f22(0x371)),N(this,_0x317f22(0x2cf)),(this['_injector']=_0x33c320,this[_0x317f22(0x1a2)]=_0x1779da,this[_0x317f22(0x322)]=_0x5cd9a1);}['appendMutation'](_0x8799a0){var _0x48d2ec=_0x180182;this['_clearScheduledTask']();const _0x54f84d=this[_0x48d2ec(0x3ff)][_0x48d2ec(0x182)](ae,this[_0x48d2ec(0x1ea)],this[_0x48d2ec(0x3b0)],this[_0x48d2ec(0x422)],[_0x8799a0],this[_0x48d2ec(0x178)],this[_0x48d2ec(0x371)]);return _0x54f84d[_0x48d2ec(0x35e)](),_0x54f84d;}[_0x180182(0x1ce)](_0x36b3b9){var _0x1708dd=_0x180182;if(this[_0x1708dd(0x351)](_0x36b3b9))return this[_0x1708dd(0x2bc)](),this[_0x1708dd(0x3ff)]['createInstance'](te,this[_0x1708dd(0x1ea)],this['type'],this[_0x1708dd(0x422)],[],null,[_0x36b3b9],this[_0x1708dd(0x178)]);try{const _0x485e7a=this[_0x1708dd(0x322)][_0x1708dd(0x19e)]([_0x36b3b9],[this[_0x1708dd(0x422)]],!0x1);if(_0x3d9f4b(_0x485e7a)){const {c1Prime:_0x37f151,c2Prime:_0x443dd1}=_0x485e7a;this[_0x1708dd(0x2e7)](_0x37f151[0x0]),_0x443dd1[0x0]['baseRev']=this[_0x1708dd(0x440)](),this[_0x1708dd(0x2bc)]();const _0x2a29a0=this[_0x1708dd(0x3ff)][_0x1708dd(0x182)](ue,this[_0x1708dd(0x1ea)],this[_0x1708dd(0x3b0)],_0x443dd1[0x0],this[_0x1708dd(0x178)]);return _0x2a29a0[_0x1708dd(0x35e)](),_0x2a29a0;}return this[_0x1708dd(0x2a8)](!0x1);}catch(_0x34f82b){return this[_0x1708dd(0x1a2)][_0x1708dd(0x458)](_0x34f82b),this[_0x1708dd(0x2a8)](!0x1);}}[_0x180182(0x456)](_0x130fcb){var _0x3f8342=_0x180182;this['_clearScheduledTask']();const _0x3765bf=this[_0x3f8342(0x3a5)][_0x3f8342(0x2df)](this[_0x3f8342(0x1ea)]);if(_0x130fcb[_0x3f8342(0x453)]<_0x3765bf-0x1)return this;if(this[_0x3f8342(0x351)](_0x130fcb))return this['_injector'][_0x3f8342(0x182)](te,this[_0x3f8342(0x1ea)],this[_0x3f8342(0x3b0)],null,[],this['_awaitingChangeset'],[],this[_0x3f8342(0x178)]);this[_0x3f8342(0x403)]();const _0x5bef06=this[_0x3f8342(0x3ff)][_0x3f8342(0x182)](De,this[_0x3f8342(0x1ea)],this[_0x3f8342(0x3b0)],this['_handler']);return _0x5bef06[_0x3f8342(0x35e)](),_0x5bef06;}['onRemoteRej'](_0x5c6a0c){var _0x7edf61=_0x180182;return this[_0x7edf61(0x2a8)](!!(_0x5c6a0c!=null&&_0x5c6a0c[_0x7edf61(0x394)]));}[_0x180182(0x3eb)](_0x4a15c6){var _0xfa976=_0x180182;return this[_0xfa976(0x307)]>Ni?this['toggleOffline']():(this[_0xfa976(0x371)]=Oi(this[_0xfa976(0x307)],{'timeout':this[_0xfa976(0x307)],'reqId':_0x4a15c6[_0xfa976(0x24b)]}),this[_0xfa976(0x2cf)]=this['_resendTimer'][_0xfa976(0x24d)](({reqId:_0x3d6021,timeout:_0x4a8791})=>{var _0x5409f5=_0xfa976;this[_0x5409f5(0x32d)](_0x3d6021,_0x4a8791);}),this);}[_0x180182(0x45e)](){var _0x59efb8=_0x180182;return this[_0x59efb8(0x2bc)](),this[_0x59efb8(0x3ff)][_0x59efb8(0x182)](fe,this[_0x59efb8(0x1ea)],this[_0x59efb8(0x3b0)],this[_0x59efb8(0x422)],[],this['_handler']);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x2960d6=_0x180182;this[_0x2960d6(0x178)][_0x2960d6(0x42b)](this[_0x2960d6(0x422)]);}[_0x180182(0x2a8)](_0x47929b){var _0x5f5deb=_0x180182;return this[_0x5f5deb(0x2bc)](),this['_injector']['createInstance'](de,this[_0x5f5deb(0x1ea)],this['type'],this[_0x5f5deb(0x422)],[],this['_handler'],_0x47929b);}[_0x180182(0x32d)](_0x5d0b6a,_0x2e06d2){var _0x52ddf2=_0x180182,_0x12be2a;_0x5d0b6a===((_0x12be2a=this['_awaitingChangeset'])==null?void 0x0:_0x12be2a[_0x52ddf2(0x24b)])&&(this[_0x52ddf2(0x2be)](),this[_0x52ddf2(0x307)]=_0x2e06d2===0x0?0x3e8:_0x2e06d2*0x2);}[_0x180182(0x2bc)](){var _0x5e96cc=_0x180182,_0xee67c7;(_0xee67c7=this[_0x5e96cc(0x2cf)])==null||_0xee67c7[_0x5e96cc(0x2c0)](),this['_resendTimeout']=0x0;}};ue=Re([A(0x4,_0x353e29(_0x514172)),A(0x5,_0x353e29(_0x58d326)),A(0x6,_0x3cf875),A(0x7,_0x3e9f29),A(0x8,_0x5230f8),A(0x9,_0x3d63ec),A(0xa,_0x2d320a(J))],ue);let ae=class extends be{constructor(_0x3329e5,_0x586bd3,_0x354bf6,_0x2151d2,_0x176dde,_0x3c96b0,_0x3aa75b,_0x2ea69d,_0x4d5f3f,_0x5eb968,_0x367a08,_0x186d11,_0x3d213c){var _0x12c565=_0x180182;super(_0x3329e5,_0x586bd3,_0x354bf6,_0x2151d2,_0x176dde,_0x4d5f3f,_0x186d11,_0x2ea69d,_0x3d213c),N(this,'status',_0x12c565(0x3b7)),N(this,_0x12c565(0x307),0x0),N(this,_0x12c565(0x371)),N(this,_0x12c565(0x2cf)),(this['_injector']=_0x3aa75b,this[_0x12c565(0x1a2)]=_0x5eb968,this['_transformService']=_0x367a08,this[_0x12c565(0x18e)]=_0x3d213c,_0x3c96b0&&(this[_0x12c565(0x371)]=_0x3c96b0,this[_0x12c565(0x2cf)]=this[_0x12c565(0x371)][_0x12c565(0x24d)](({reqId:_0x43e667,timeout:_0x5d0a6e})=>{var _0x12654d=_0x12c565;this[_0x12654d(0x32d)](_0x43e667,_0x5d0a6e);})));}[_0x180182(0x306)](_0x364865){var _0x386f66=_0x180182;return this[_0x386f66(0x2ce)][_0x386f66(0x247)](_0x364865),this;}[_0x180182(0x1ce)](_0x160f0a){var _0x320742=_0x180182;if(this[_0x320742(0x351)](_0x160f0a))return this[_0x320742(0x2bc)](),this[_0x320742(0x3ff)]['createInstance'](te,this[_0x320742(0x1ea)],this[_0x320742(0x3b0)],this['_awaitingChangeset'],this[_0x320742(0x2ce)],null,[_0x160f0a],this[_0x320742(0x178)]);try{const _0x44f540=this[_0x320742(0x322)][_0x320742(0x19e)]([_0x160f0a],[this[_0x320742(0x422)]],!0x1);if(_0x3d9f4b(_0x44f540)){const {c1Prime:_0x57d7e2,c2Prime:_0x5939d7}=_0x44f540,_0x433ac1=this[_0x320742(0x322)][_0x320742(0x2b2)](_0x57d7e2[0x0],this[_0x320742(0x2ce)]);if(_0x8e3f17(_0x433ac1)){const {c1Prime:_0x2fda0f,m2Prime:_0x6334e6}=_0x433ac1;return this[_0x320742(0x2e7)](_0x2fda0f),_0x5939d7[0x0][_0x320742(0x281)]=this['_getCurrentRevision'](),this[_0x320742(0x2bc)](),this['_injector'][_0x320742(0x182)](ae,this[_0x320742(0x1ea)],this['type'],_0x5939d7[0x0],_0x6334e6,this[_0x320742(0x178)],void 0x0);}throw _0x433ac1[_0x320742(0x458)];}throw _0x44f540[_0x320742(0x458)];}catch(_0x594d3b){return this[_0x320742(0x1a2)]['error'](_0x594d3b),this[_0x320742(0x2a8)](!0x1);}}[_0x180182(0x456)](_0xac7ae6){var _0x908477=_0x180182;if(this[_0x908477(0x2bc)](),this['_checkMissing'](_0xac7ae6))return this[_0x908477(0x3ff)][_0x908477(0x182)](te,this[_0x908477(0x1ea)],this[_0x908477(0x3b0)],null,this[_0x908477(0x2ce)],this[_0x908477(0x422)],[],this[_0x908477(0x178)]);this[_0x908477(0x403)]();const _0x370351=this[_0x908477(0x3ff)]['createInstance'](oe,this[_0x908477(0x1ea)],this['type'],this[_0x908477(0x2ce)],this[_0x908477(0x178)]);return _0x370351[_0x908477(0x29a)](),_0x370351[_0x908477(0x35e)](),_0x370351;}[_0x180182(0x208)](_0xd3364c){var _0x3cdc9f=_0x180182;return this[_0x3cdc9f(0x2a8)](!!(_0xd3364c!=null&&_0xd3364c[_0x3cdc9f(0x394)]));}['onRemoteRetry'](_0x110404){var _0x12d5be=_0x180182;return this['_resendTimeout']>Ni?this[_0x12d5be(0x45e)]():(this['_resendTimer']=Oi(this[_0x12d5be(0x307)],{'timeout':this[_0x12d5be(0x307)],'reqId':_0x110404[_0x12d5be(0x24b)]}),this['_sender']=this[_0x12d5be(0x371)]['subscribe'](({reqId:_0x22a862,timeout:_0x44bce7})=>{var _0x21a7fb=_0x12d5be;this[_0x21a7fb(0x32d)](_0x22a862,_0x44bce7);}),this);}[_0x180182(0x45e)](){var _0x519e95=_0x180182;return this[_0x519e95(0x2bc)](),this[_0x519e95(0x3ff)][_0x519e95(0x182)](fe,this[_0x519e95(0x1ea)],this[_0x519e95(0x3b0)],this[_0x519e95(0x422)],this[_0x519e95(0x2ce)],this[_0x519e95(0x178)]);}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x28744d=_0x180182;this[_0x28744d(0x178)][_0x28744d(0x42b)](this[_0x28744d(0x422)]);}['_onConflict'](_0x186b07){var _0x5006a8=_0x180182;return this[_0x5006a8(0x2bc)](),this[_0x5006a8(0x3ff)]['createInstance'](de,this[_0x5006a8(0x1ea)],this[_0x5006a8(0x3b0)],null,this[_0x5006a8(0x2ce)],this[_0x5006a8(0x178)],_0x186b07);}['_resendWithTimeout'](_0x1e8901,_0x4249d5){var _0x1ee8bc=_0x180182,_0x19b584;_0x1e8901===((_0x19b584=this[_0x1ee8bc(0x422)])==null?void 0x0:_0x19b584[_0x1ee8bc(0x24b)])&&(this[_0x1ee8bc(0x2be)](),this['_resendTimeout']=_0x4249d5===0x0?0x3e8:_0x4249d5*0x2);}[_0x180182(0x2bc)](){var _0x37370f=_0x180182,_0x450cc4;(_0x450cc4=this['_sender'])==null||_0x450cc4[_0x37370f(0x2c0)](),this[_0x37370f(0x307)]=0x0;}};ae=Re([A(0x6,_0x353e29(_0x514172)),A(0x7,_0x353e29(_0x58d326)),A(0x8,_0x3cf875),A(0x9,_0x3e9f29),A(0xa,_0x5230f8),A(0xb,_0x3d63ec),A(0xc,_0x2d320a(J))],ae);let de=class extends be{constructor(_0xfdb18a,_0x151bd7,_0x4bfa3d,_0x454873,_0x302c02,_0x55b0c8=!0x1,_0x35a1c6,_0x246721,_0x53d532,_0x202582,_0x16f14b,_0x102090,_0x3107d8){var _0x268796=_0x180182;super(_0xfdb18a,_0x151bd7,_0x4bfa3d,_0x454873,_0x302c02,_0x246721,_0x53d532,_0x202582,_0x3107d8),N(this,_0x268796(0x2f1),_0x268796(0x3fd)),(this[_0x268796(0x28d)]=_0x55b0c8,this['_permissionService']=_0x35a1c6,this[_0x268796(0x2fb)]=_0x16f14b,this['_collaborationUIEventService']=_0x102090,this[_0x268796(0x18e)]=_0x3107d8,this[_0x268796(0x44e)](),this[_0x268796(0x408)](),this[_0x268796(0x3cc)]());}['appendMutation'](){return this;}[_0x180182(0x1ce)](){return this;}[_0x180182(0x456)](){return this;}[_0x180182(0x208)](){return this;}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){return this;}[_0x180182(0x2bd)](){return this;}[_0x180182(0x2be)](){var _0x17a775=_0x180182;throw new Error(_0x17a775(0x418));}['_clearLocalCache'](){var _0x230170=_0x180182,_0xe487b4;(_0xe487b4=this[_0x230170(0x171)])==null||_0xe487b4['updateOfflineData'](this[_0x230170(0x1ea)],this[_0x230170(0x3b0)],null,[]);}[_0x180182(0x44e)](){var _0x28da4f=_0x180182;this[_0x28da4f(0x28d)]?this[_0x28da4f(0x1a5)][_0x28da4f(0x3f6)]({'id':se[_0x28da4f(0x3cf)]}):this[_0x28da4f(0x1a5)][_0x28da4f(0x3f6)]({'id':se['CONFLICT']});}[_0x180182(0x3cc)](){var _0x2922fe=_0x180182;this['_permissionService'][_0x2922fe(0x1af)](new _0x1ea93e(this[_0x2922fe(0x1ea)])['id'],!0x1);}};de=Re([A(0x6,_0x353e29(_0x164670)),A(0x7,_0x3cf875),A(0x8,_0x3d63ec),A(0x9,_0x353e29(_0x58d326)),A(0xa,_0x353e29(_0x481fdb)),A(0xb,_0x353e29(pe)),A(0xc,_0x2d320a(J))],de);let fe=class extends be{constructor(_0x2ea345,_0x309412,_0x5c743f,_0xad384b,_0x15142d,_0x3b3018,_0x26377d,_0x85b87a,_0x1fd45b,_0x191471){var _0x22c363=_0x180182;super(_0x2ea345,_0x309412,_0x5c743f,_0xad384b,_0x15142d,_0x85b87a,_0x1fd45b,_0x26377d,_0x191471),N(this,_0x22c363(0x2f1),_0x22c363(0x472)),this[_0x22c363(0x3ff)]=_0x3b3018;}[_0x180182(0x306)](_0x213534){var _0x4cd37f=_0x180182;return this[_0x4cd37f(0x2ce)][_0x4cd37f(0x247)](_0x213534),this[_0x4cd37f(0x35e)](),this;}[_0x180182(0x1ce)](_0x270fb3){var _0x169835=_0x180182;throw new Error(_0x169835(0x300));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x180182(0x208)](){var _0x98f986=_0x180182;throw new Error(_0x98f986(0x377));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){return this;}[_0x180182(0x2bd)](){var _0xb80b59=_0x180182;const {_injector:_0x39090a,_pendingMutations:_0x44d795,_awaitingChangeset:_0x48712d,unitID:_0x4250fe,_handler:_0xe59856,type:_0xdb0c7}=this,_0x29b4b8=Di(_0x39090a,_0x4250fe,_0xdb0c7,_0x48712d,_0x44d795,_0xe59856);return _0x29b4b8 instanceof oe?_0x29b4b8['_schedule']():(_0x29b4b8 instanceof ae||_0x29b4b8 instanceof ue)&&_0x29b4b8[_0xb80b59(0x2be)](),_0x29b4b8;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x353e29(_0x514172)),A(0x6,_0x353e29(_0x58d326)),A(0x7,_0x3cf875),A(0x8,_0x3d63ec),A(0x9,_0x2d320a(J))],fe);let te=class extends be{constructor(_0x37984d,_0x4fa6be,_0x3bbc75,_0x1aa060,_0x416027,_0x1841ee,_0x18129c,_0x4402de,_0x16aecd,_0x354292,_0xa721ab,_0x1508e1,_0x39d345,_0x50fa6c){var _0x529525=_0x180182;super(_0x37984d,_0x4fa6be,_0x3bbc75,_0x1aa060,_0x18129c,_0xa721ab,_0x1508e1,_0x16aecd,_0x50fa6c),N(this,'status',_0x529525(0x204)),(this[_0x529525(0x2c6)]=_0x416027,this[_0x529525(0x446)]=_0x1841ee,this[_0x529525(0x3ff)]=_0x4402de,this['_logService']=_0x354292,this[_0x529525(0x322)]=_0x39d345,this[_0x529525(0x18e)]=_0x50fa6c);}['onMissedChangesetFetched'](_0x59b96f){var _0x50ab1b=_0x180182;try{const _0x18fb7f=[..._0x59b96f,...this['_queuedRemoteChangesets']],_0xd46289=[this[_0x50ab1b(0x422)]||this['_acknowledgedAwaitingChangeset']][_0x50ab1b(0x293)](_0x45f463=>!!_0x45f463);let _0x45873c,_0x37bc3d;if(_0xd46289[_0x50ab1b(0x22e)]){const _0x1d9453=this['_transformService'][_0x50ab1b(0x19e)](_0x18fb7f,_0xd46289,!0x1);if(!_0x3d9f4b(_0x1d9453))throw _0x1d9453[_0x50ab1b(0x458)];_0x45873c=_0x1d9453['c1Prime'],_0x37bc3d=_0x1d9453[_0x50ab1b(0x3be)];}else _0x45873c=_0x18fb7f,_0x37bc3d=[];let _0x3b390f=this[_0x50ab1b(0x2ce)];_0x45873c[_0x50ab1b(0x46f)](_0x5d70d0=>{var _0x110292=_0x50ab1b;let _0x4daf11;if(_0x3b390f[_0x110292(0x22e)]){const _0x2081fd=this['_transformService']['transformMutationsWithChangeset'](_0x5d70d0,_0x3b390f);if(!_0x8e3f17(_0x2081fd))throw _0x2081fd[_0x110292(0x458)];_0x4daf11=_0x2081fd[_0x110292(0x44c)],_0x3b390f=_0x2081fd[_0x110292(0x42f)];}else _0x4daf11=_0x5d70d0;this['_executeRemoteChangeset'](_0x4daf11);}),this[_0x50ab1b(0x2c6)]&&this['_incrementRevisionNumber'](),this[_0x50ab1b(0x422)]&&_0x37bc3d[_0x50ab1b(0x22e)]&&(_0x37bc3d[0x0][_0x50ab1b(0x281)]=this[_0x50ab1b(0x440)]());let _0x27660f;if(this[_0x50ab1b(0x422)]&&_0x3b390f['length']!==0x0)_0x27660f=this['_injector'][_0x50ab1b(0x182)](ae,this['unitID'],this['type'],_0x37bc3d[0x0],_0x3b390f,this[_0x50ab1b(0x178)],void 0x0);else{if(this[_0x50ab1b(0x422)]&&_0x3b390f[_0x50ab1b(0x22e)]===0x0)_0x37bc3d[0x0][_0x50ab1b(0x281)]=this[_0x50ab1b(0x440)](),_0x27660f=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](ue,this[_0x50ab1b(0x1ea)],this['type'],_0x37bc3d[0x0],this[_0x50ab1b(0x178)]);else{if(_0x3b390f['length']!==0x0){const _0x32f791=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](oe,this[_0x50ab1b(0x1ea)],this[_0x50ab1b(0x3b0)],_0x3b390f,this[_0x50ab1b(0x178)]);_0x32f791[_0x50ab1b(0x29a)](),_0x27660f=_0x32f791;}else _0x27660f=this[_0x50ab1b(0x3ff)][_0x50ab1b(0x182)](De,this[_0x50ab1b(0x1ea)],this[_0x50ab1b(0x3b0)],this[_0x50ab1b(0x178)]);}}return _0x27660f[_0x50ab1b(0x35e)](),_0x27660f;}catch(_0x5bcfa8){return this['_logService'][_0x50ab1b(0x458)](_0x50ab1b(0x323),_0x50ab1b(0x1d2),_0x5bcfa8),this[_0x50ab1b(0x3ff)]['createInstance'](de,this[_0x50ab1b(0x1ea)],this['type'],this[_0x50ab1b(0x422)],this[_0x50ab1b(0x2ce)],this['_handler'],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x100d85){var _0x57f92b=_0x180182;return this[_0x57f92b(0x2ce)][_0x57f92b(0x247)](_0x100d85),this;}[_0x180182(0x1ce)](_0xe006ea){var _0x2c7c05=_0x180182;return this[_0x2c7c05(0x446)][_0x2c7c05(0x247)](_0xe006ea),this;}['onRemoteAck'](_0x3eb8ab){var _0x2e101d=_0x180182;if(this[_0x2e101d(0x422)])return this['_acknowledgedAwaitingChangeset']=this[_0x2e101d(0x422)],this[_0x2e101d(0x422)]=null,this;throw new Error(_0x2e101d(0x267));}['onRemoteRej'](_0x4f6e58){var _0x594ffa=_0x180182;return this[_0x594ffa(0x2a8)](!!(_0x4f6e58!=null&&_0x4f6e58[_0x594ffa(0x394)]));}[_0x180182(0x3eb)](){return this;}[_0x180182(0x45e)](){var _0x76aa3b=_0x180182;return this[_0x76aa3b(0x3ff)]['createInstance'](fe,this[_0x76aa3b(0x1ea)],this[_0x76aa3b(0x3b0)],this['_awaitingChangeset'],this[_0x76aa3b(0x2ce)],this[_0x76aa3b(0x178)]);}['toggleOnline'](){return this;}[_0x180182(0x2a8)](_0xeebf5b){var _0x228e1e=_0x180182;return this[_0x228e1e(0x3ff)][_0x228e1e(0x182)](de,this[_0x228e1e(0x1ea)],this[_0x228e1e(0x3b0)],this[_0x228e1e(0x422)],this[_0x228e1e(0x2ce)],this[_0x228e1e(0x178)],_0xeebf5b);}};te=Re([A(0x7,_0x353e29(_0x514172)),A(0x8,_0x353e29(_0x58d326)),A(0x9,_0x3e9f29),A(0xa,_0x3cf875),A(0xb,_0x3d63ec),A(0xc,_0x5230f8),A(0xd,_0x2d320a(J))],te);function Di(_0x42d32f,_0x8416bb,_0x35424a,_0xce300d,_0x2aa5bb,_0x1b8a0c){var _0xed11d8=_0x180182;return _0xce300d&&_0x2aa5bb['length']?_0x42d32f[_0xed11d8(0x182)](ae,_0x8416bb,_0x35424a,_0xce300d,_0x2aa5bb,_0x1b8a0c,void 0x0):_0xce300d?_0x42d32f['createInstance'](ue,_0x8416bb,_0x35424a,_0xce300d,_0x1b8a0c):_0x2aa5bb[_0xed11d8(0x22e)]?_0x42d32f[_0xed11d8(0x182)](oe,_0x8416bb,_0x35424a,_0x2aa5bb,_0x1b8a0c):_0x42d32f[_0xed11d8(0x182)](De,_0x8416bb,_0x35424a,_0x1b8a0c);}var vr=Object['defineProperty'],pr=Object[_0x180182(0x2dc)],Lt=(_0x56a9ad,_0x59058f,_0x21cb17,_0x4a73b9)=>{var _0x207e34=_0x180182;for(var _0x472755=_0x4a73b9>0x1?void 0x0:_0x4a73b9?pr(_0x59058f,_0x21cb17):_0x59058f,_0x48a5b6=_0x56a9ad[_0x207e34(0x22e)]-0x1,_0x56f53d;_0x48a5b6>=0x0;_0x48a5b6--)(_0x56f53d=_0x56a9ad[_0x48a5b6])&&(_0x472755=(_0x4a73b9?_0x56f53d(_0x59058f,_0x21cb17,_0x472755):_0x56f53d(_0x472755))||_0x472755);return _0x4a73b9&&_0x472755&&vr(_0x59058f,_0x21cb17,_0x472755),_0x472755;},k=(_0x280e7d,_0x3240bc)=>(_0x2da2c6,_0x384412)=>_0x3240bc(_0x2da2c6,_0x384412,_0x280e7d);let nt=class extends _0x528acc{constructor(_0x3c253b,_0x3fe3c6,_0x4d0562,_0x2f05cc,_0x400b0d,_0x5cb765,_0x34acf5,_0x599766,_0x1039fb,_0x222b54,_0x6c989,_0x5a32fa,_0x356c41){var _0x3bdf48=_0x180182;super(),N(this,'_state$',new _0x2de85e(null)),N(this,_0x3bdf48(0x2f2),this[_0x3bdf48(0x36c)]['asObservable']()),N(this,'_state'),N(this,_0x3bdf48(0x3e7),!0x1),N(this,'_changesetSessionId',''),N(this,_0x3bdf48(0x3a0),0x0),N(this,_0x3bdf48(0x1fe),this[_0x3bdf48(0x2f2)][_0x3bdf48(0x1df)](_0x491c5a(_0x20fe5a=>_0x20fe5a?_0x20fe5a[_0x3bdf48(0x2f1)]:yi[_0x3bdf48(0x358)]),_0xe80991(0x1))),N(this,_0x3bdf48(0x1d8),!0x1),N(this,_0x3bdf48(0x1a6),[]),(this[_0x3bdf48(0x1ea)]=_0x3c253b,this[_0x3bdf48(0x25f)]=_0x3fe3c6,this['_type']=_0x4d0562,this['_injector']=_0x2f05cc,this[_0x3bdf48(0x257)]=_0x400b0d,this[_0x3bdf48(0x2fb)]=_0x5cb765,this[_0x3bdf48(0x3a5)]=_0x34acf5,this[_0x3bdf48(0x30f)]=_0x599766,this[_0x3bdf48(0x1a2)]=_0x1039fb,this[_0x3bdf48(0x380)]=_0x222b54,this[_0x3bdf48(0x206)]=_0x6c989,this[_0x3bdf48(0x296)]=_0x5a32fa,this['_localCacheService']=_0x356c41);}get[_0x180182(0x40c)](){var _0x295555=_0x180182;return this[_0x295555(0x329)];}async[_0x180182(0x31d)](){var _0x2062ec=_0x180182;if(this[_0x2062ec(0x40c)])throw new Error(_0x2062ec(0x3b3));await this[_0x2062ec(0x2d0)]();}['pauseCollaboration'](){var _0x4f33bd=_0x180182;return this[_0x4f33bd(0x3e7)]=!0x0,_0x7e22c5(()=>{var _0x300bbf=_0x4f33bd;this[_0x300bbf(0x3e7)]=!0x1,this[_0x300bbf(0x1c0)]();});}[_0x180182(0x34b)](_0x51c127){var _0x348ff1=_0x180182;this[_0x348ff1(0x2f9)](_0x51c127);}['_updateState'](_0x55c5c9){var _0x2b0c47=_0x180182;this[_0x2b0c47(0x329)]=_0x55c5c9,this[_0x2b0c47(0x36c)][_0x2b0c47(0x1c9)](_0x55c5c9);}async[_0x180182(0x2d0)](){var _0x387e64=_0x180182,_0x5eae56;this['_updateState'](await this[_0x387e64(0x1ab)]()),this[_0x387e64(0x296)]&&((_0x5eae56=this['_singleActiveUnitService'])==null||_0x5eae56[_0x387e64(0x3ec)](this[_0x387e64(0x1ea)]),this[_0x387e64(0x437)](this[_0x387e64(0x296)][_0x387e64(0x36f)](this[_0x387e64(0x1ea)])[_0x387e64(0x24d)](_0x550cb6=>{var _0x504f01=_0x387e64;this[_0x504f01(0x1a2)][_0x504f01(0x23d)](_0x504f01(0x2a6),_0x504f01(0x1a0),_0x550cb6),_0x550cb6===bi[_0x504f01(0x2b3)]?(this[_0x504f01(0x30f)]['emitEvent']({'id':se[_0x504f01(0x1b6)]}),this[_0x504f01(0x206)][_0x504f01(0x1af)](new _0x1ea93e(this[_0x504f01(0x1ea)])['id'],!0x1),this[_0x504f01(0x206)][_0x504f01(0x34e)](!0x1)):(this[_0x504f01(0x206)][_0x504f01(0x1af)](new _0x1ea93e(this[_0x504f01(0x1ea)])['id'],!0x0),this[_0x504f01(0x206)][_0x504f01(0x34e)](!0x0));})));let _0x2a13e8=!0x1;return this['disposeWithMe'](this[_0x387e64(0x25f)][_0x387e64(0x212)]['subscribe'](_0x3f30f5=>{var _0xc624a=_0x387e64;_0x3f30f5===Te['ONLINE']?this[_0xc624a(0x310)](_0x2a13e8):_0x3f30f5===Te[_0xc624a(0x358)]&&(_0x2a13e8=!0x0,this[_0xc624a(0x361)]());})),this[_0x387e64(0x437)](this[_0x387e64(0x25f)][_0x387e64(0x27b)][_0x387e64(0x24d)](_0x5b7e66=>{var _0x2723fa=_0x387e64;try{switch(_0x5b7e66[_0x2723fa(0x41f)]){case _0x34671a['NEW_CHANGESETS']:{this[_0x2723fa(0x17b)](_0x4b99a9(_0x5b7e66[_0x2723fa(0x180)]));break;}case _0x34671a[_0x2723fa(0x1cc)]:{this['_onRemoteACK'](_0x5b7e66[_0x2723fa(0x180)]);break;}case _0x34671a[_0x2723fa(0x2ea)]:{this[_0x2723fa(0x419)]();break;}case _0x34671a['CHANGESET_SHOULD_RETRY']:{this[_0x2723fa(0x210)](_0x5b7e66[_0x2723fa(0x180)]);break;}case _0x34671a[_0x2723fa(0x17d)]:{this[_0x2723fa(0x37f)](_0x5b7e66[_0x2723fa(0x180)][_0x2723fa(0x2e5)]['map'](_0x5e8089=>_0x4b99a9(_0x5e8089)));break;}case _0x34671a[_0x2723fa(0x22f)]:{this[_0x2723fa(0x419)]({'isPermissionRej':!0x0});break;}case _0x34671a['UNISCRIPT_RUN']:break;}}catch(_0x136bfb){throw console['error'](_0x2723fa(0x20d),_0x136bfb),_0x136bfb;}})),this[_0x387e64(0x329)];}[_0x180182(0x187)](){var _0xfe6f71=_0x180182;this[_0xfe6f71(0x1d8)]=!0x1;}['_lockTransition'](){var _0x33a95e=_0x180182;if(this['_transitionLocked'])throw new Error(_0x33a95e(0x2d6));this[_0x33a95e(0x1d8)]=!0x0;}[_0x180182(0x2f9)](_0x4ae397){var _0x5fe2b4=_0x180182;this[_0x5fe2b4(0x30a)](),this['_updateState'](this[_0x5fe2b4(0x329)][_0x5fe2b4(0x306)](_0x4ae397)),this[_0x5fe2b4(0x187)]();}[_0x180182(0x17b)](_0x53fb47){var _0x56d5ee=_0x180182;if(!(_0x53fb47[_0x56d5ee(0x453)]<=this['_revisionService'][_0x56d5ee(0x2df)](this['unitID']))){if(this[_0x56d5ee(0x3e7)]){this[_0x56d5ee(0x1a6)][_0x56d5ee(0x247)](_0x53fb47);return;}this[_0x56d5ee(0x21d)](_0x53fb47);}}[_0x180182(0x1c0)](){var _0x240b23=_0x180182;this['_remoteChangesetQueue'][_0x240b23(0x46f)](_0x2227e7=>this['_applyRemoteChangeset'](_0x2227e7)),this[_0x240b23(0x1a6)]=[];}[_0x180182(0x21d)](_0x428d75){var _0x2e88ff=_0x180182;const _0x246703=this['_compressMutationService'][_0x2e88ff(0x20a)][_0x2e88ff(0x16f)](this[_0x2e88ff(0x257)]['interceptor'][_0x2e88ff(0x3d2)]()[_0x2e88ff(0x298)])(_0x428d75[_0x2e88ff(0x3f8)],null)||_0x428d75[_0x2e88ff(0x3f8)],_0x477eb1={..._0x428d75,'mutations':_0x246703};this[_0x2e88ff(0x30a)](),this[_0x2e88ff(0x468)](this[_0x2e88ff(0x329)]['onRemoteChangeset'](_0x477eb1)),this[_0x2e88ff(0x187)]();}[_0x180182(0x32e)](_0x379bd5){var _0x4846cf=_0x180182;this['_lockTransition'](),this[_0x4846cf(0x468)](this['_state'][_0x4846cf(0x456)](_0x379bd5)),this[_0x4846cf(0x187)]();}['_onRemoteRejected'](_0x520e86){var _0x3ff2ce=_0x180182;this[_0x3ff2ce(0x30a)](),this[_0x3ff2ce(0x468)](this['_state'][_0x3ff2ce(0x208)](_0x520e86)),this[_0x3ff2ce(0x187)]();}[_0x180182(0x210)](_0x517ee5){var _0x2c6720=_0x180182;this[_0x2c6720(0x30a)](),this[_0x2c6720(0x468)](this[_0x2c6720(0x329)][_0x2c6720(0x3eb)](_0x517ee5)),this[_0x2c6720(0x187)]();}[_0x180182(0x37f)](_0x1031cb){var _0xafffe=_0x180182;if(!(this['_state']instanceof te))throw new TypeError(_0xafffe(0x41e));const _0x3697ed=_0x1031cb['map'](_0x3842d0=>{var _0x1d3eca=_0xafffe;const _0x5134e8=this[_0x1d3eca(0x257)][_0x1d3eca(0x20a)][_0x1d3eca(0x16f)](this['_compressMutationService']['interceptor'][_0x1d3eca(0x3d2)]()['COMPRESS_MUTATION_APPLY'])(_0x3842d0[_0x1d3eca(0x3f8)],null)||_0x3842d0[_0x1d3eca(0x3f8)];return{..._0x3842d0,'mutations':_0x5134e8};});this['_lockTransition'](),this[_0xafffe(0x468)](this[_0xafffe(0x329)][_0xafffe(0x43f)](_0x3697ed)),this[_0xafffe(0x187)]();}[_0x180182(0x361)](){var _0x181354=_0x180182;this['_lockTransition'](),this['_updateState'](this[_0x181354(0x329)][_0x181354(0x45e)]()),this[_0x181354(0x187)]();}[_0x180182(0x310)](_0x1aad6a=!0x1){var _0x33c045=_0x180182;this[_0x33c045(0x30a)](),this[_0x33c045(0x468)](this[_0x33c045(0x329)][_0x33c045(0x2bd)]()),this[_0x33c045(0x187)]();const _0xe40c01=this[_0x33c045(0x329)];_0x1aad6a&&_0xe40c01 instanceof De&&(this[_0x33c045(0x30a)](),this[_0x33c045(0x468)](_0xe40c01['fetchMiss']()),this[_0x33c045(0x187)]());}async[_0x180182(0x1ab)](){return new Promise(_0x2014b2=>{var _0x3fddf5=_0x11d4;this['session'][_0x3fddf5(0x212)]['pipe'](_0x4c2e79(0x1))[_0x3fddf5(0x24d)](async _0x526787=>{var _0x17d783=_0x3fddf5;_0x2014b2(await this['_createInitialStateImpl'](_0x526787===Te[_0x17d783(0x27c)]));});});}[_0x180182(0x1f5)](){var _0x149478=_0x180182;const _0x34c6d9=this[_0x149478(0x1ea)];return{'onStateChange':(_0xb57b34,_0x33912f)=>{var _0x5633a5=_0x149478;if(_0xb57b34!==this[_0x5633a5(0x329)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0xb57b34[_0x5633a5(0x2f1)]+'\x0aAfter:\x20'+_0x33912f['status']+'\x0aCurrent:\x20'+this[_0x5633a5(0x329)]['status']);this[_0x5633a5(0x468)](_0x33912f);},'onSendChangeset':_0x5d5ffe=>{var _0x486a57=_0x149478;_0x5d5ffe[_0x486a57(0x21a)]||(_0x5d5ffe['sid']=this['_changesetSessionId'],_0x5d5ffe[_0x486a57(0x24b)]=++this[_0x486a57(0x3a0)]);const _0x47e422={'eventID':_0x34671a[_0x486a57(0x3d0)],'data':{'unitID':_0x5d5ffe['unitID'],'unitType':this['_type'],'changeset':_0x5d5ffe,'memberID':this[_0x486a57(0x25f)]['getMemberID']()}};this[_0x486a57(0x25f)][_0x486a57(0x35b)](_0x47e422,this[_0x486a57(0x1ea)]);},'onMissingChangesets':({from:_0x2f7998,to:_0x351bb8})=>{var _0x5f17be=_0x149478;this['_logService'][_0x5f17be(0x23d)](_0x5f17be(0x2a6),'fetching\x20missing\x20changesets\x20from\x20'+_0x2f7998+_0x5f17be(0x2a0)+_0x351bb8);const _0xd04d62={'eventID':_0x34671a[_0x5f17be(0x38d)],'data':{'unitID':_0x34c6d9,'unitType':this['_type'],'from':_0x2f7998,'to':_0x351bb8}};this[_0x5f17be(0x25f)][_0x5f17be(0x35b)](_0xd04d62,this[_0x5f17be(0x1ea)]);}};}async[_0x180182(0x226)](_0x2c1f14){var _0x2e06b8=_0x180182,_0x1dce03,_0x590c51,_0x42cd9a;const _0x24a881=await((_0x1dce03=this[_0x2e06b8(0x171)])==null?void 0x0:_0x1dce03[_0x2e06b8(0x253)](this[_0x2e06b8(0x1ea)])),_0x1adeed=(_0x590c51=_0x24a881==null?void 0x0:_0x24a881[_0x2e06b8(0x3f8)])!=null?_0x590c51:[],_0x3ea2c2=(_0x42cd9a=_0x24a881==null?void 0x0:_0x24a881['awaitingChangeset'])!=null?_0x42cd9a:null,_0x41f30e=!!(_0x3ea2c2!=null&&_0x3ea2c2['sid'])&&!!(_0x3ea2c2!=null&&_0x3ea2c2[_0x2e06b8(0x24b)]);this[_0x2e06b8(0x251)]=_0x41f30e?_0x3ea2c2[_0x2e06b8(0x21a)]:sr(),this[_0x2e06b8(0x3a0)]=_0x41f30e?_0x3ea2c2[_0x2e06b8(0x24b)]:0x0;const _0x1be98d=this[_0x2e06b8(0x1ea)];try{this[_0x2e06b8(0x2cb)](_0x3ea2c2,_0x1adeed);}catch(_0x4b2b10){this[_0x2e06b8(0x1a2)][_0x2e06b8(0x458)](_0x4b2b10);}const _0x516f3f=this[_0x2e06b8(0x1f5)]();if(_0x2c1f14){const _0x43cb1f=Di(this[_0x2e06b8(0x3ff)],_0x1be98d,this['_type'],_0x3ea2c2,_0x1adeed,_0x516f3f);return _0x43cb1f instanceof oe?_0x43cb1f[_0x2e06b8(0x29a)]():(_0x43cb1f instanceof ae||_0x43cb1f instanceof ue)&&_0x43cb1f[_0x2e06b8(0x2be)](),_0x43cb1f;}return this['_injector'][_0x2e06b8(0x182)](fe,_0x1be98d,this[_0x2e06b8(0x3d3)],_0x3ea2c2,_0x1adeed,_0x516f3f);}[_0x180182(0x2cb)](_0x4a9fa8,_0x228e3d){var _0x4bdbaf=_0x180182,_0x3c8f6f,_0x3a02d9;const _0x58b56c=this['_compressMutationService'][_0x4bdbaf(0x20a)][_0x4bdbaf(0x16f)](this['_compressMutationService'][_0x4bdbaf(0x20a)][_0x4bdbaf(0x3d2)]()[_0x4bdbaf(0x298)]);(_0x3c8f6f=_0x58b56c((_0x4a9fa8==null?void 0x0:_0x4a9fa8[_0x4bdbaf(0x3f8)])||[],null))==null||_0x3c8f6f[_0x4bdbaf(0x46f)](_0x3ecc59=>this[_0x4bdbaf(0x380)][_0x4bdbaf(0x1ff)](_0x3ecc59['id'],_0x3ecc59[_0x4bdbaf(0x2cc)])),(_0x3a02d9=_0x58b56c(_0x228e3d||[],null))==null||_0x3a02d9['forEach'](_0xd18c31=>this[_0x4bdbaf(0x380)][_0x4bdbaf(0x1ff)](_0xd18c31['id'],_0xd18c31['params']));}};nt=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(pe)),k(0x8,_0x3e9f29),k(0x9,_0x3cf875),k(0xa,_0x164670),k(0xb,_0x2d320a(ht)),k(0xc,_0x2d320a(J))],nt);let Tt=class extends nt{constructor(_0x93a3d1,_0x2bd844,_0x46cbc3,_0x29f200,_0x25dd61,_0x5f0585,_0x72e6e3,_0x189465,_0x396b6b,_0x4b52f4,_0x507cf6,_0x65d3d2,_0xbf7297){var _0x3572f1=_0x180182;super(_0x93a3d1,_0x46cbc3,_0x2bd844,_0x29f200,_0x25dd61,_0x5f0585,_0x72e6e3,_0x189465,_0x396b6b,_0x4b52f4,_0x507cf6,_0x65d3d2,_0xbf7297),N(this,_0x3572f1(0x3bc),null),(this[_0x3572f1(0x1ea)]=_0x93a3d1,this[_0x3572f1(0x3b0)]=_0x2bd844);}[_0x180182(0x444)](_0x50b5ea){var _0x186d01=_0x180182;this[_0x186d01(0x3bc)]=_0x50b5ea;}[_0x180182(0x397)](){var _0x756b77=_0x180182;this['_handlerCallback']=null,super[_0x756b77(0x397)]();}[_0x180182(0x1f5)](){var _0x4e74fe=_0x180182;const _0x3e99c1=super['_createHandler']();return _0x3e99c1[_0x4e74fe(0x470)]=_0x4dc41f=>{var _0x28a2ab=_0x4e74fe,_0x2edee2,_0x2495ac;return(_0x2495ac=(_0x2edee2=this[_0x28a2ab(0x3bc)])==null?void 0x0:_0x2edee2[_0x28a2ab(0x470)])==null?void 0x0:_0x2495ac[_0x28a2ab(0x3bf)](_0x2edee2,_0x4dc41f);},_0x3e99c1[_0x4e74fe(0x39f)]=_0x2caa9a=>{var _0x4e2a44=_0x4e74fe,_0x4cb5f1,_0x3c1711;return(_0x3c1711=(_0x4cb5f1=this[_0x4e2a44(0x3bc)])==null?void 0x0:_0x4cb5f1[_0x4e2a44(0x39f)])==null?void 0x0:_0x3c1711[_0x4e2a44(0x3bf)](_0x4cb5f1,_0x2caa9a);},_0x3e99c1[_0x4e74fe(0x1f8)]=_0x1d44d3=>{var _0x3331e3=_0x4e74fe,_0x5ef07b,_0x1df69a;return(_0x1df69a=(_0x5ef07b=this['_handlerCallback'])==null?void 0x0:_0x5ef07b['onTransformSelections'])==null?void 0x0:_0x1df69a[_0x3331e3(0x3bf)](_0x5ef07b,_0x1d44d3);},_0x3e99c1[_0x4e74fe(0x35d)]=_0x79546c=>{var _0x123c7d=_0x4e74fe,_0x8a828d,_0x4cccd4;return(_0x4cccd4=(_0x8a828d=this[_0x123c7d(0x3bc)])==null?void 0x0:_0x8a828d[_0x123c7d(0x35d)])==null?void 0x0:_0x4cccd4[_0x123c7d(0x3bf)](_0x8a828d,_0x79546c);},_0x3e99c1[_0x4e74fe(0x199)]=_0xb9b6e6=>{var _0x317ad5=_0x4e74fe,_0x338d2f,_0x106b80,_0x39776b;if(!((_0x338d2f=this['_handlerCallback'])!=null&&_0x338d2f[_0x317ad5(0x199)]))throw new Error(_0x317ad5(0x475));return(_0x39776b=(_0x106b80=this[_0x317ad5(0x3bc)])==null?void 0x0:_0x106b80[_0x317ad5(0x199)])==null?void 0x0:_0x39776b[_0x317ad5(0x3bf)](_0x106b80,_0xb9b6e6);},_0x3e99c1[_0x4e74fe(0x27f)]=_0x11dd04=>{var _0x587ee5=_0x4e74fe,_0x2d3f12,_0x439645,_0x38a355;if(!((_0x2d3f12=this[_0x587ee5(0x3bc)])!=null&&_0x2d3f12[_0x587ee5(0x27f)]))throw new Error(_0x587ee5(0x283));return(_0x38a355=(_0x439645=this[_0x587ee5(0x3bc)])==null?void 0x0:_0x439645[_0x587ee5(0x27f)])==null?void 0x0:_0x38a355[_0x587ee5(0x3bf)](_0x439645,_0x11dd04);},_0x3e99c1;}async[_0x180182(0x2d0)](){var _0x14bd3d=_0x180182;const _0x4368c7=await super[_0x14bd3d(0x2d0)]();return this['disposeWithMe'](this['_commandService'][_0x14bd3d(0x16c)]((_0x4c839d,_0x3cbdfa)=>{var _0x199543=_0x14bd3d;if(_0x4c839d[_0x199543(0x3b0)]!==_0x36c35a[_0x199543(0x320)]||_0x3cbdfa!=null&&_0x3cbdfa['fromCollab']||_0x3cbdfa!=null&&_0x3cbdfa[_0x199543(0x233)]||_0x4c839d['id']===_0x3de722['id'])return;const _0x659069=_0x4c839d[_0x199543(0x2cc)];if((_0x659069==null?void 0x0:_0x659069['unitId'])!==this['unitID'])return;const _0x3d6fbd=_0x4c839d,_0x23f0ef=this[_0x199543(0x257)]['interceptor'][_0x199543(0x16f)](this[_0x199543(0x257)]['interceptor'][_0x199543(0x3d2)]()['COMPRESS_MUTATION_SEND'])([_0x3d6fbd],null)||[_0x3d6fbd];this['_onLocalMutation'](_0x23f0ef[0x0]);})),_0x4368c7;}};Tt=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(pe)),k(0x8,_0x3e9f29),k(0x9,_0x3cf875),k(0xa,_0x164670),k(0xb,_0x2d320a(ht)),k(0xc,_0x2d320a(J))],Tt);let Ct=class extends nt{constructor(_0x10d0da,_0xdc89a6,_0x3af781,_0x10d619,_0x412d92,_0x59fcbb,_0x3424ca,_0x240a85,_0x39bed4,_0xb365ac,_0x429fed,_0x42fbd9,_0x5ceccc,_0x420a3b){var _0x4d3e2f=_0x180182;super(_0x10d0da,_0x3af781,_0xdc89a6,_0x10d619,_0x412d92,_0x59fcbb,_0x3424ca,_0x39bed4,_0xb365ac,_0x429fed,_0x42fbd9,_0x5ceccc,_0x420a3b),this['unitID']=_0x10d0da,this[_0x4d3e2f(0x3b0)]=_0xdc89a6,this[_0x4d3e2f(0x1b9)]=_0x240a85;}[_0x180182(0x1f5)](){var _0x2aafe2=_0x180182;const _0x15af56=super[_0x2aafe2(0x1f5)]();return _0x15af56['onTransformSelections']=_0x2cc745=>this[_0x2aafe2(0x1b9)][_0x2aafe2(0x367)](_0x2cc745),_0x15af56;}async[_0x180182(0x2d0)](){var _0x2c8c4d=_0x180182;const _0x38a3e0=await super[_0x2c8c4d(0x2d0)]();return this['disposeWithMe'](this[_0x2c8c4d(0x380)][_0x2c8c4d(0x16c)]((_0x24ca68,_0x565463)=>{var _0x2020e9=_0x2c8c4d;if(_0x24ca68['type']!==_0x36c35a[_0x2020e9(0x320)]||_0x565463!=null&&_0x565463['fromCollab']||_0x565463!=null&&_0x565463['onlyLocal'])return;const _0x49855c=_0x24ca68['params'];if((_0x49855c==null?void 0x0:_0x49855c[_0x2020e9(0x18a)])!==this[_0x2020e9(0x1ea)])return;const _0xeae339=_0x24ca68,_0x4e3872=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0x2020e9(0x20a)][_0x2020e9(0x3d2)]()[_0x2020e9(0x1b5)])([_0xeae339],null)||[_0xeae339];this[_0x2020e9(0x2f9)](_0x4e3872[0x0]);})),_0x38a3e0;}};Ct=Lt([k(0x3,_0x353e29(_0x514172)),k(0x4,_0x353e29(_0x42aba3)),k(0x5,_0x353e29(_0x481fdb)),k(0x6,_0x353e29(_0x58d326)),k(0x7,_0x353e29(it)),k(0x8,_0x353e29(pe)),k(0x9,_0x3e9f29),k(0xa,_0x3cf875),k(0xb,_0x164670),k(0xc,_0x2d320a(ht)),k(0xd,_0x2d320a(J))],Ct);var mr=Object[_0x180182(0x223)],gr=Object[_0x180182(0x2dc)],Sr=(_0x3ebac0,_0x2597c8,_0x149bcc,_0x31e98d)=>{var _0x361a9f=_0x180182;for(var _0x4ed516=_0x31e98d>0x1?void 0x0:_0x31e98d?gr(_0x2597c8,_0x149bcc):_0x2597c8,_0x4af7ce=_0x3ebac0[_0x361a9f(0x22e)]-0x1,_0x51649e;_0x4af7ce>=0x0;_0x4af7ce--)(_0x51649e=_0x3ebac0[_0x4af7ce])&&(_0x4ed516=(_0x31e98d?_0x51649e(_0x2597c8,_0x149bcc,_0x4ed516):_0x51649e(_0x4ed516))||_0x4ed516);return _0x31e98d&&_0x4ed516&&mr(_0x2597c8,_0x149bcc,_0x4ed516),_0x4ed516;},ft=(_0x584ce3,_0x170b54)=>(_0x5252c9,_0x3d2bfe)=>_0x170b54(_0x5252c9,_0x3d2bfe,_0x584ce3);let rt=class extends _0x528acc{constructor(_0xd19cd1,_0x4b151a,_0x553fb3){var _0x5f4424=_0x180182;super(),N(this,'_entities',new Map()),N(this,_0x5f4424(0x3ae),new _0x3be824()),N(this,_0x5f4424(0x1f9),this['_entityInit$'][_0x5f4424(0x473)]()),(this['_injector']=_0xd19cd1,this['_collabSessionService']=_0x4b151a,this[_0x5f4424(0x207)]=_0x553fb3,this[_0x5f4424(0x2d0)]());}[_0x180182(0x397)](){var _0x296a64=_0x180182;super[_0x296a64(0x397)](),this[_0x296a64(0x1f2)][_0x296a64(0x46f)](_0x1fb222=>_0x1fb222['dispose']()),this['_entities']['clear']();}[_0x180182(0x264)](_0x529f43){var _0x102119=_0x180182,_0x2e156d;return(_0x2e156d=this[_0x102119(0x1f2)][_0x102119(0x42e)](_0x529f43))!=null?_0x2e156d:null;}['getCollabEntity$'](_0x38d8c4){var _0x4275d5=_0x180182;const _0x2c4164=this[_0x4275d5(0x264)](_0x38d8c4);return _0x2c4164?_0x43a41b(_0x2c4164):this[_0x4275d5(0x3ae)][_0x4275d5(0x1df)](_0x403452(_0x418644=>_0x418644[_0x4275d5(0x1ea)]===_0x38d8c4));}[_0x180182(0x465)](_0x43a519){var _0x4800ed=_0x180182;return _0x381753(this[_0x4800ed(0x258)](_0x43a519)[_0x4800ed(0x1df)](_0x582953(()=>{})));}['_init'](){var _0x3c845f=_0x180182;this[_0x3c845f(0x207)][_0x3c845f(0x2bf)](_0xe90df[_0x3c845f(0x45b)])[_0x3c845f(0x1df)](_0x44aa56(this['dispose$']),_0x303eb3(0x10))[_0x3c845f(0x24d)](async _0x4a57bd=>{var _0x2c1bea=_0x3c845f;const _0x2d5280=_0x4a57bd[_0x2c1bea(0x20f)](),_0x4ea733=await this['_startCollaboration'](_0x2d5280,Q[_0x2c1bea(0x45b)]);this[_0x2c1bea(0x1f2)]['set'](_0x2d5280,_0x4ea733);}),this[_0x3c845f(0x207)][_0x3c845f(0x2bf)](_0xe90df[_0x3c845f(0x282)])[_0x3c845f(0x1df)](_0x44aa56(this[_0x3c845f(0x1e2)]),_0x303eb3(0x10))[_0x3c845f(0x1df)](_0x403452(_0x5b8afb=>!_0x5b8afb[_0x3c845f(0x20f)]()[_0x3c845f(0x32f)]('__')))['subscribe'](async _0x3abf3e=>{var _0x1b1493=_0x3c845f;const _0x335cd3=_0x3abf3e['getUnitId'](),_0x2fdde5=await this[_0x1b1493(0x169)](_0x335cd3,Q[_0x1b1493(0x282)]);this[_0x1b1493(0x1f2)][_0x1b1493(0x3e8)](_0x335cd3,_0x2fdde5);}),_0x557492(this[_0x3c845f(0x207)][_0x3c845f(0x36b)](_0xe90df['UNIVER_SHEET']),this['_univerInstanceService'][_0x3c845f(0x36b)](_0xe90df[_0x3c845f(0x282)]))[_0x3c845f(0x1df)](_0x44aa56(this[_0x3c845f(0x1e2)]))['subscribe'](_0x3b64ca=>{var _0x2588e5=_0x3c845f;const _0xfc5f55=_0x3b64ca[_0x2588e5(0x20f)](),_0x2d92f5=this['_entities'][_0x2588e5(0x42e)](_0xfc5f55);_0x2d92f5&&(_0x2d92f5[_0x2588e5(0x397)](),this['_entities'][_0x2588e5(0x1c7)](_0xfc5f55));});}async[_0x180182(0x169)](_0x16c52b,_0x2a54f8){var _0x20dc7f=_0x180182;const _0x352750=await this['_collabSessionService'][_0x20dc7f(0x3f1)](_0x16c52b),_0x3bc99a=this[_0x20dc7f(0x3ff)]['createInstance'](this[_0x20dc7f(0x326)](_0x2a54f8),_0x16c52b,_0x2a54f8,_0x352750);return await _0x3bc99a[_0x20dc7f(0x31d)](),this[_0x20dc7f(0x3ae)][_0x20dc7f(0x1c9)](_0x3bc99a),_0x3bc99a;}['_getCtorByUniverType'](_0x49d56b){var _0x137671=_0x180182;switch(_0x49d56b){case Q[_0x137671(0x282)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x137671(0x231)+_0x49d56b);}}};rt=Sr([ft(0x0,_0x353e29(_0x514172)),ft(0x1,_0x353e29(Le)),ft(0x2,_0xbe923a)],rt);var Er=Object[_0x180182(0x223)],Ir=Object[_0x180182(0x2dc)],Tr=(_0x5c5a01,_0x37c676,_0x141bb8,_0x3f12a5)=>{for(var _0x4beab3=_0x3f12a5>0x1?void 0x0:_0x3f12a5?Ir(_0x37c676,_0x141bb8):_0x37c676,_0x2d4b7e=_0x5c5a01['length']-0x1,_0x2ddd51;_0x2d4b7e>=0x0;_0x2d4b7e--)(_0x2ddd51=_0x5c5a01[_0x2d4b7e])&&(_0x4beab3=(_0x3f12a5?_0x2ddd51(_0x37c676,_0x141bb8,_0x4beab3):_0x2ddd51(_0x4beab3))||_0x4beab3);return _0x3f12a5&&_0x4beab3&&Er(_0x37c676,_0x141bb8,_0x4beab3),_0x4beab3;},Jt=(_0x5341ff,_0x269d1f)=>(_0x414dea,_0x401dbc)=>_0x269d1f(_0x414dea,_0x401dbc,_0x5341ff);const Cr=_0x180182(0x274),Rr=_0x180182(0x391);let Rt=class extends _0x5e1af1{constructor(_0x768b89,_0x3c026f){var _0x52e55f=_0x180182;super(),this[_0x52e55f(0x207)]=_0x768b89,this[_0x52e55f(0x2c9)]=_0x3c026f,this['_init']();}[_0x180182(0x2d0)](){var _0x991d3e=_0x180182;this[_0x991d3e(0x437)](this[_0x991d3e(0x207)][_0x991d3e(0x2dd)][_0x991d3e(0x24d)](()=>{var _0x5e4b26=_0x991d3e,_0x1ac31e;const _0x1f521e=this[_0x5e4b26(0x207)][_0x5e4b26(0x336)]();let _0x5b300a=(_0x1ac31e=this[_0x5e4b26(0x2c9)][_0x5e4b26(0x3b2)](Cr))!=null?_0x1ac31e:Rr;_0x1f521e instanceof _0x1c6787&&(_0x5b300a=_0x1f521e[_0x5e4b26(0x31e)]),document['title']=_0x5b300a;}));}};Rt=Tr([Jt(0x0,_0xbe923a),Jt(0x1,_0x1d880c)],Rt);var br=Object[_0x180182(0x223)],Or=Object[_0x180182(0x2dc)],yr=(_0x59820b,_0x273098,_0xcabd99,_0x2d8e09)=>{var _0x930b9a=_0x180182;for(var _0x3dbf8f=_0x2d8e09>0x1?void 0x0:_0x2d8e09?Or(_0x273098,_0xcabd99):_0x273098,_0x358da9=_0x59820b[_0x930b9a(0x22e)]-0x1,_0x4feb7b;_0x358da9>=0x0;_0x358da9--)(_0x4feb7b=_0x59820b[_0x358da9])&&(_0x3dbf8f=(_0x2d8e09?_0x4feb7b(_0x273098,_0xcabd99,_0x3dbf8f):_0x4feb7b(_0x3dbf8f))||_0x3dbf8f);return _0x2d8e09&&_0x3dbf8f&&br(_0x273098,_0xcabd99,_0x3dbf8f),_0x3dbf8f;},vt=(_0x47c243,_0x2f46c0)=>(_0x4c3f71,_0x150a11)=>_0x2f46c0(_0x4c3f71,_0x150a11,_0x47c243);let st=class{constructor(_0x494210,_0x585d8b,_0x144bff){var _0x14acb2=_0x180182;this[_0x14acb2(0x2c9)]=_0x494210,this[_0x14acb2(0x2a3)]=_0x585d8b,this['localeService']=_0x144bff,this[_0x14acb2(0x31d)]();}['init'](){var _0x2b9610=_0x180182;this['_httpService'][_0x2b9610(0x1a9)]({'priority':0x1,'interceptor':(_0x41200e,_0x3d55da)=>_0x3d55da(_0x41200e)['pipe'](_0x23a868(async _0x1be8c4=>{var _0x28db38=_0x2b9610;const _0x59eb2a=_0x1be8c4;if(_0x59eb2a[_0x28db38(0x2f1)]===0x191){if(typeof window>'u')throw new Error(_0x28db38(0x245));if(window[_0x28db38(0x340)](this['localeService']['t'](_0x28db38(0x375)))){const _0x5ab3db=window[_0x28db38(0x348)](window[_0x28db38(0x39d)][_0x28db38(0x3e1)]);window[_0x28db38(0x39d)][_0x28db38(0x3e1)]=this[_0x28db38(0x299)]()+_0x28db38(0x16b)+_0x5ab3db;}}return _0x59eb2a;}))});}[_0x180182(0x299)](){var _0x270af3=_0x180182,_0x31b396,_0x58f331;const _0x6ebaef=this[_0x270af3(0x2c9)][_0x270af3(0x3b2)](xn),_0x5c7237=this['_configService'][_0x270af3(0x3b2)](q);return(_0x58f331=(_0x31b396=_0x5c7237==null?void 0x0:_0x5c7237[_0x270af3(0x354)])!=null?_0x31b396:_0x6ebaef)!=null?_0x58f331:Ln;}};st=yr([vt(0x0,_0x1d880c),vt(0x1,_0x353e29(_0x3a1dbb)),vt(0x2,_0x353e29(_0x481fdb))],st);var Nr=Object[_0x180182(0x223)],Dr=Object[_0x180182(0x2dc)],Pr=(_0xb3124,_0x58c370,_0xb749ef,_0x26f90b)=>{var _0x5f3515=_0x180182;for(var _0x14f85c=_0x26f90b>0x1?void 0x0:_0x26f90b?Dr(_0x58c370,_0xb749ef):_0x58c370,_0x4c33eb=_0xb3124[_0x5f3515(0x22e)]-0x1,_0x260f01;_0x4c33eb>=0x0;_0x4c33eb--)(_0x260f01=_0xb3124[_0x4c33eb])&&(_0x14f85c=(_0x26f90b?_0x260f01(_0x58c370,_0xb749ef,_0x14f85c):_0x260f01(_0x14f85c))||_0x14f85c);return _0x26f90b&&_0x14f85c&&Nr(_0x58c370,_0xb749ef,_0x14f85c),_0x14f85c;},Xt=(_0x6a01b7,_0x453ee8)=>(_0x1b738e,_0x379806)=>_0x453ee8(_0x1b738e,_0x379806,_0x6a01b7);const Pi=_0x180182(0x43b),wr=_0x180182(0x1d9);let bt=class extends _0x5e1af1{constructor(_0x258242,_0x543b4b){var _0x4b01c1=_0x180182;super(),this['_HTTPService']=_0x258242,this[_0x4b01c1(0x2c9)]=_0x543b4b,this[_0x4b01c1(0x423)]();}[_0x180182(0x423)](){var _0x4f3dd2=_0x180182;const _0x5addec=this;this[_0x4f3dd2(0x437)](this[_0x4f3dd2(0x3bb)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x575011({'isMatch'(_0x283611){var _0x247799=_0x4f3dd2,_0xe77402;if(_0x283611[_0x247799(0x3ba)]===_0x247799(0x26f)&&((_0xe77402=_0x283611['requestParams'])!=null&&_0xe77402[_0x247799(0x406)])){const {objectID:_0x213401,objectType:_0x518fff}=_0x283611[_0x247799(0x420)]['body']||{};if(!_0x213401||_0x518fff===void 0x0)return!0x1;const _0x3b61b2=_0x5addec['_getAPIPrefixPath']()+'/'+_0x518fff+_0x247799(0x1e6)+_0x213401+_0x247799(0x398);if(_0x283611[_0x247799(0x3a8)]===_0x3b61b2)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4fbafc){var _0xf515b2=_0x4f3dd2,_0x2d9c2f;return(_0x2d9c2f=_0x4fbafc[_0xf515b2(0x420)])==null?void 0x0:_0x2d9c2f['body'];},'mergeParamsToRequest'(_0x8b1869,_0x32ce20){var _0x31ad16=_0x4f3dd2;const _0x3702d9=_0x5addec[_0x31ad16(0x232)]()+_0x31ad16(0x393),_0x4198b2=_0x8b1869[_0x31ad16(0x170)]((_0x174dd3,_0x3cc777)=>{const {unitID:_0x47a6ba,objectID:_0x115274,objectType:_0x22713c,actions:_0x47be10}=_0x3cc777;return _0x174dd3[_0x47a6ba]||(_0x174dd3[_0x47a6ba]={}),_0x174dd3[_0x47a6ba][_0x115274]||(_0x174dd3[_0x47a6ba][_0x115274]={'objectID':_0x115274,'objectType':_0x22713c,'actions':[]}),_0x174dd3[_0x47a6ba][_0x115274]['actions']['push'](..._0x47be10),_0x174dd3;},{}),_0x1096ca=[];for(const _0x456e96 in _0x4198b2)for(const _0xf9d7fb in _0x4198b2[_0x456e96]){const {actions:_0x3659d6,objectType:_0x40f311}=_0x4198b2[_0x456e96][_0xf9d7fb],_0x2e510d=[...new Set(_0x3659d6)];_0x1096ca['push']({'unitID':_0x456e96,'objectID':_0xf9d7fb,'objectType':_0x40f311,'actions':_0x2e510d});}return new _0x3087b5(_0x31ad16(0x26f),_0x3702d9,{'headers':_0x32ce20[_0x31ad16(0x357)],'withCredentials':_0x32ce20[_0x31ad16(0x37a)],'responseType':_0x32ce20['responseType'],'body':{'requests':_0x1096ca}});}},{'distributeResult'(_0x10ea4b,_0x1304b6){var _0x2c576e=_0x4f3dd2;const {objectActions:_0x4c8ca3}=_0x10ea4b;return _0x1304b6[_0x2c576e(0x318)](_0x5ed929=>{var _0x2b3f45=_0x2c576e;const {unitID:_0x1853f0,objectID:_0x590b33,actions:_0x2cf074}=_0x5ed929,_0x2a5121=_0x4c8ca3[_0x2b3f45(0x22c)](_0x5e0af8=>_0x5e0af8['unitID']===_0x1853f0&&_0x5e0af8[_0x2b3f45(0x33a)]===_0x590b33),_0x4b72b8=_0x2cf074[_0x2b3f45(0x318)](_0x270954=>_0x2a5121==null?void 0x0:_0x2a5121[_0x2b3f45(0x463)][_0x2b3f45(0x22c)](_0x2fc657=>_0x2fc657[_0x2b3f45(0x431)]===_0x270954))['filter'](_0x1db0ac=>!!_0x1db0ac);return{'config':_0x5ed929,'result':{'actions':_0x4b72b8,'error':_0x10ea4b[_0x2b3f45(0x458)]}};});}})}));}[_0x180182(0x232)](){var _0x98e14e=_0x180182,_0x45ff52,_0x27570b;const _0x5e61b2=this[_0x98e14e(0x2c9)][_0x98e14e(0x3b2)](Pi),_0x3e3c85=this[_0x98e14e(0x2c9)][_0x98e14e(0x3b2)](q);return(_0x27570b=(_0x45ff52=_0x3e3c85==null?void 0x0:_0x3e3c85[_0x98e14e(0x383)])!=null?_0x45ff52:_0x5e61b2)!=null?_0x27570b:wr;}async[_0x180182(0x220)](_0x5b3392){var _0x48a60e=_0x180182;const _0x1cabfd=this[_0x48a60e(0x232)]()+'/'+_0x5b3392['objectType']+_0x48a60e(0x46b);return(await this[_0x48a60e(0x3bb)]['post'](_0x1cabfd,{'body':_0x5b3392}))[_0x48a60e(0x406)][_0x48a60e(0x33a)]||'';}async[_0x180182(0x3c3)](_0x55b375){var _0x111647=_0x180182;const _0x2dbe73=this[_0x111647(0x232)]()+'/-/object/list';return(await this[_0x111647(0x3bb)][_0x111647(0x2ca)](_0x2dbe73,{'body':_0x55b375}))[_0x111647(0x406)][_0x111647(0x345)];}async[_0x180182(0x3ab)](_0xa56724){var _0x2c6c0b=_0x180182;const _0x59ebc8=this[_0x2c6c0b(0x232)]()+'/'+_0xa56724[_0x2c6c0b(0x3bd)]+_0x2c6c0b(0x1e6)+_0xa56724['objectID'];await this['_HTTPService'][_0x2c6c0b(0x1e8)](_0x59ebc8,{'body':_0xa56724});}async['allowed'](_0x22f300){var _0x9438c3=_0x180182;const _0xb2147b=this[_0x9438c3(0x232)]()+'/'+_0x22f300[_0x9438c3(0x3bd)]+_0x9438c3(0x1e6)+_0x22f300[_0x9438c3(0x33a)]+_0x9438c3(0x398);return(await this['_HTTPService'][_0x9438c3(0x2ca)](_0xb2147b,{'body':_0x22f300}))[_0x9438c3(0x406)]['actions'];}async[_0x180182(0x302)](_0x2af351){var _0x4cd80b=_0x180182;const _0x28805c=this['_getAPIPrefixPath']()+_0x4cd80b(0x393);return(await this[_0x4cd80b(0x3bb)][_0x4cd80b(0x2ca)](_0x28805c,{'body':{'requests':_0x2af351}}))[_0x4cd80b(0x406)][_0x4cd80b(0x427)];}async[_0x180182(0x273)](_0x101d6e){var _0x58b505=_0x180182;const _0x5751d7=this['_getAPIPrefixPath']()+'/'+_0x101d6e[_0x58b505(0x3bd)]+'/role',_0x525fd8=await this['_HTTPService'][_0x58b505(0x2ca)](_0x5751d7,{'body':_0x101d6e});return{'roles':_0x525fd8['body'][_0x58b505(0x304)],'actions':_0x525fd8[_0x58b505(0x406)]['actions']};}async['deleteCollaborator'](_0x1fa495){var _0xf492dc=_0x180182;const _0xf82188=this[_0xf492dc(0x232)]()+_0xf492dc(0x442);await this[_0xf492dc(0x3bb)]['delete'](_0xf82188,{'params':{'collaboratorID':_0x1fa495[_0xf492dc(0x390)],'objectID':_0x1fa495[_0xf492dc(0x33a)],'unitID':_0x1fa495[_0xf492dc(0x1ea)]}});}async[_0x180182(0x1f0)](_0x2d98e9){var _0xb39e51=_0x180182;const _0x5a66e2=this[_0xb39e51(0x232)]()+_0xb39e51(0x442);await this[_0xb39e51(0x3bb)]['patch'](_0x5a66e2,{'body':_0x2d98e9});}async[_0x180182(0x477)](_0x5a149d){var _0x2a3414=_0x180182;const _0x454b9e=this[_0x2a3414(0x232)]()+_0x2a3414(0x442);await this[_0x2a3414(0x3bb)][_0x2a3414(0x2ca)](_0x454b9e,{'body':_0x5a149d});}async[_0x180182(0x1dc)](_0x19334c){var _0x3cab42=_0x180182;const _0x1d9465=this[_0x3cab42(0x232)]()+'/collaborator';return(await this[_0x3cab42(0x3bb)][_0x3cab42(0x42e)](_0x1d9465,{'params':{'objectID':_0x19334c[_0x3cab42(0x33a)],'unitID':_0x19334c[_0x3cab42(0x1ea)]}}))[_0x3cab42(0x406)][_0x3cab42(0x246)];}async[_0x180182(0x1cf)](_0x837719){var _0x1e436c=_0x180182;const _0x538353=this[_0x1e436c(0x232)]()+_0x1e436c(0x442);await this[_0x1e436c(0x3bb)]['put'](_0x538353,{'body':_0x837719});}};bt=Pr([Xt(0x0,_0x353e29(_0x3a1dbb)),Xt(0x1,_0x353e29(_0x1d880c))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x6f5dc){var _0x1e7da0=_0x180182;return _0x6f5dc&&_0x6f5dc[_0x1e7da0(0x269)]&&Object[_0x1e7da0(0x433)]['hasOwnProperty']['call'](_0x6f5dc,'default')?_0x6f5dc[_0x1e7da0(0x240)]:_0x6f5dc;}function _0x2aa8(){var _0x4fb271=['_imageSourceCache','getValue','decryptBlock','_transformStack','_cipher','_waitForHeartbeatResponse','capture','map','selections','unknown','UNIVER_PROJECT','unitId\x20is\x20not\x20found','init','name','generateRandomId','MUTATION','UNAUTHENTICATED','_transformService','[FetchMissState]','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getUnitOnRev','_getCtorByUniverType','src','SEND_CHANGESET_TIMEOUT','_state','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','waitForRoom$','csShouldRetryEvent','_resendWithTimeout','_onRemoteACK','startsWith','People','/universer-api/oidc/authpage','Undefined','random','CHANGESET_SHOULD_RETRY','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','getFocusedUnit','INGEST','_socketReady','_getDownloadEndpointURL','objectID','_xformMode','keySize','[CollaborationSession]','searchParams','indexOf','confirm','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Base','randomBytes','SHOULD_CLOSE_CONN','objects','collaboration-client.config','FileId','encodeURIComponent','CHANGESET_REVISION_CONFILICT','save\x20fail\x20reason\x20is\x20','onLocalMutation','socketService','reconnect','setShowComponents','origin','6896hWeVjv','_checkMissing','crypto','_loadSheet','loginUrlKey','_onJoinRoomEvent','UPDATE_PERMISSION_OBJ','headers','OFFLINE','199776MhLceb','isArray','send','enableAuthServer','onSyncEditingCollabCursor','_updateLocalCache','_snapshotService','fetchMissingChangesets','_toggleOffline','LIVESHARE_REQUEST_HOST','_hasher','_ENC_XFORM_MODE','_shouldReportTelemetry','close$','transformSelections','_loadDoc','LICENSE_IMPORT_SIZE_EXCEEDED','Encryptor','getTypeOfUnitDisposed$','_state$','unitInfo$','_createSocket','getUnitStatus$','[CollaborationState]:\x20apply\x20error!','_resendTimer','updatePermissionObjEvent','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','salt','auth.needGotoLoginAlert','_collaborationTimeoutTimer','[OfflineState]:\x20received\x20rejection.','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','buffer','withCredentials','application/json','splice','NOT_FOUND','execute','_onFetchMissResult','_commandService','getImageSourceCache','/universer-api/snapshot','authzUrl','loadUnit','NEW_CHANGESETS','ERROR_EXCEED_SIZE','override','HMAC','UNDEFINED','compute','_roomCreated$','LIVESHARE_NEW_HOST','FETCH_MISSING','unit-cache-','UNIVER_SLIDE','collaboratorID','Univer','session.room-permission-denied','/-/object/-/batch_allowed','isPermissionRej','SYNCED','_submitChangeset','dispose','/allowed','SUCCUSS','blockSize','cmd','csAckEvent','location','sessionStatus','onTransformState','_changesetReqId','[DataLoaderService]','sigBytes','add','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_revisionService','AWAITING_WITH_PENDING','UNRECOGNIZED','url','_unitInfo$','_onRecvEvent','update','range','/universer-api/uniscript','_entityInit$','image/jpg','type','getUnitType','getConfig','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_COLLABORATION_CLIENT_PLUGIN','sheets','concat','awaiting_with_pending','synced','_rescheduleHeartbeat','method','_HTTPService','_handlerCallback','objectType','c2Prime','call','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','createSocket','_createHelper','list','session.room-cnt-exceeds','_redoStacks','CONNECTOR_DATA_TOO_LARGE','_decreaseWaiting','_sendHeartbeatTimer','byteOffset','roomInfos','reset','_disableEditing','NoPadding','getTime','PERMISSION_DENIED','SUBMIT_CHANGESET','HttpExport','getInterceptPoints','_type','format','CONFLICT','_getUploadFileURL','copyFileMeta','_getRedoStack','_startTelemetryCollaborationNewChangeset','avatar','socket\x20open.','univer-pro.collaboration-client.single-active-unit-service','UNKNOWN_CMD','processBlock','collabSubmitChangesetUrl','LOCAL_CACHE_INTERVAL','href','extend','encryptBlock','Hex','resourceIDs','_minBufferSize','_collaborationPaused','set','/universer-api/file/{fileID}/sign-url','COMPLETION_FINISHED','onRemoteRetry','editingUnit','_retryCount','USERS_LEAVE','getCurrentUser','1307355isrbRx','requireSession','UNIVER_UNKNOWN','stopTime','fromCharCode','signUrlServerUrl','emitEvent','_undoStacks','mutations','_clearUndo','loadSheet','Hasher','LICENSE_DISTRO_REJECTED','conflict','_listenToNetworkCondition','_injector','onload','[CollaborationSessionService]','OpenSSL','_incrementRevisionNumber','_collaborationSessionService','apply','body','now','_clearLocalCache','image/jpeg','updateCursorEvent','SOCKET_FAILED','state','GLOBAL_ROOMS_CNT_EXCEEDS','USERS_ENTER','_sendingTimer','hasher','findIndex','ALREADY_EXISTS','rng','304840FaIbhf','JOINING','_updateStatus','_clearRedo','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onRemoteRejected','_socket','hostname','CLOSE_ROOM','_getSessionTicket','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','eventID','requestParams','_throwTelemetryCollaborationNewChangeset','_awaitingChangeset','_initMergeInterceptor','shouldCloseConn','getMember','[SyncedState]:\x20received\x20acknowledgement.','objectActions','[PendingState]:\x20unhandled\x20univer\x20type:\x20','[CollaborationSessionService]:\x20socket\x20error','_snapshotServerService','onSendChangeset','CBC','not_collab','get','m2Prime','onCommentUpdate','action','BASE64','prototype','close','liveShareNewHost','decrypt','disposeWithMe','LEAVE','_removeRoom','downloadEndpointUrl','AUTHZ_URL_KEY','padding','_doReset','_status$','onMissedChangesetFetched','_getCurrentRevision','ws://127.0.0.1:8000/universer-api/comb/connect','/collaborator','_change$','addHandlerCallback','Cipher','_queuedRemoteChangesets','_getSignURL','min','_waitCount','_timeoutTimer','APPLY_REVISION_CONFILICT','c1Prime','code','_showConflictNotification','__Key__','_sessions','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','leaveEvent','revision','MD5','UNKNOWN_CODE','onRemoteAck','closeSession','error','charCodeAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','UNIVER_SHEET','joinEvent','error$','toggleOffline','_onUserLeave','_scheduleCollaborationTimeoutTimer','_append','\x20-\x20','actions','incrementRevOfUnit','readyForCollab','search','_retryConnectingTimer','_updateState','PY_RUNTIME_SCRIPT_ERROR','getUnit','/object','/universer-api/snapshot/','pending','encode','forEach','onTransformIME','APPLY_REJECT','offline','asObservable','INVALID_ARGUMENT','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','UnitEmbedded','createCollaborator','enableSingleActiveInstanceLock','runId','_startCollaboration','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','?url=','onCommandExecuted','sessionTicket','_userManagerService','fetchThroughInterceptors','reduce','_localCacheService','[SyncedState]:\x20received\x20rejection.','complete','snapshot','loadDoc','1155gzZOPv','BlockCipherMode','_handler','telemetry\x20info\x20is\x20not\x20initialized','_telemetryInfo','_onRemoteChangeset','_transformIMECache','PSEUDO_FETCH_MISSING_RESULT','resolve','finalize','data','EXCHANGE_SIGN_URL_SERVER_URL_KEY','createInstance','_replaceFileID','_nRounds','retryConnectingInterval','ceil','_unlockTransition','LICENSE_EXPORT_SIZE_EXCEEDED','x-univer-host','unitId','Utf8','APPLY_PERMISSION_DENIED','parse','localCacheService','size','open$','toString','fetchMiss','_stopTelemetryCollaborationNewChangeset','MSG_FOR_ERROR','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','sendChangesetTimeout','CipherParams','transformUndoRedo','onTransformRemoteChangesetByIMECache','routeKey','JOIN','YUUMI_RATE_OVER_LIMIT','_scheduleCompleteTimestamp','transformChangesets','subUnitId','editing\x20status\x20changed\x20to','YUUMI_URL_COL_OUT_OF_RANGE','_logService','LICENSE_MAX_UNITS_EXCEEDED','LIVESHARE_FETCH_OPERATIONS','_collaborationUIEventService','_remoteChangesetQueue','clear','replace','registerHTTPInterceptor','WordArray','_createInitialState','exports','JOIN_ROOM_NOT_EXISTS','uniscriptRunEvent','updatePermissionPoint','saveImage','_onConnectionOpen','string','members','mixIn','COMPRESS_MUTATION_SEND','OTHER_CLIENT_EDITING','Base64','_event$','_sheetTransformSelectionsService','LIVESHARE_TERMINATE','commentUpdate$','/universer-api/comb','permissionRejEvent','SNAPSHOT_INVALID_SNAPSHOT','append','_exhaustRemoteChangesetQueue','_parse','&source=','getMemberID','_onConnectionFailed','setWaitCount','_hash','delete','univer-pro.collaboration-client-socket-service','next','YUUMI_UNABLE_LOAD_URL','getWorkbookSelections','CHANGESET_ACK','_config','onRemoteChangeset','putCollaborators','hasOwnProperty','SUBMIT_CHANGESET_TIMEOUT','failed\x20to\x20apply\x20missed\x20changesets!','_invKeySchedule','_transformSelections','/block/','OPTIONAL','ERROR_IMAGE_TYPE','_transitionLocked','/universer-api/authz','subject','\x20in\x20_schedule.','listCollaborators','connection\x20error','updateOfflineData','pipe','_onMessage','clamp','dispose$','__creator','_tryEnsureSocket','words','/object/','{fileID}','put','symbol','unitID','includes','getSheetId','IDLE','ciphertext','_fetchMissChangesets','updateCollaborator','then','_entities','createEncryptor','_transformRemoteChangesetByIMECache','_createHandler','[PendingState]:\x20received\x20acknowledgement.','SOCKET_FAILED_RETRY','onTransformSelections','entityInit$','_commentService','ERROR_IMAGE','awaiting','_sessionStatus$','status$','executeCommand','_commentUpdate$','initWorkbookPermissionChange','_doFinalize','json','fetch_missing','JOIN_ROOM_PERMISSION_DENIED','_permissionService','_univerInstanceService','onRemoteRej','SNAPSHOT_HAS_BEEN_REMOVED','interceptor','_syncEditingCollabCursor','originalMeta','Error\x20on\x20receiving\x20event','HEARTBEAT_INTERVAL','getUnitId','_onRemoteRetry','enc','sessionStatus$','_substituteUndoStack','_data','image/gif','&to=','charAt','BufferedBlockAlgorithm','_substituteRedoStack','sid','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_http','_applyRemoteChangeset','compose','kdf','create','_joinRoom','collabWebSocketUrl','defineProperty','FETCH_MISS','802QbYrlM','_createInitialStateImpl','_transformStateCache','UnitSnapshot','snapshotServerUrl','_getSendChangesetTimeout','_createSocketURL','find','UPDATE_CURSOR','length','PERMISSION_REJ','EvpKDF','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','_getAPIPrefixPath','onlyLocal','awaitingChangeset','_instanceService','_createHmacHelper','_clearCollaborationTimeoutTimer','_roomMembers','_key','AES','_networkConditionService','univer-pro.collaboration-client.network-condition.service','debug','_socketService','4253830mpyVCu','default','session.join-failed','Decryptor','readAsDataURL','saveChangeset','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','collaborators','push','transformStack\x20failed!','_undoRedoService','_initRequestHeader','reqId','PasswordBasedCipher','subscribe','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','FAIL','_tryReconnect','_changesetSessionId','_iv','loadOfflineData','_DEC_XFORM_MODE','lib','ticket','_compressMutationService','getCollabEntity$','algo','_process','formatter','/new_changes','iterations','removeMember','session','_map','pad','SerializableCipher','enableOfflineEditing','getCollabEntity','online$','_doCryptBlock','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','has','__esModule','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','PERSON','bind','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','/fetchmissing?from=','POST','_onCombEvent','SNAPSHOT_SERVER_URL_KEY','YUUMI_SUBSCRIPTION_NOT_FOUND','listRoles','DEFAULT_FILE_NAME','LOGIN_URL_KEY','/rev/','25vZLJrD','_getAPIPrefix','byteLength','INTERNAL_ERROR','event$','ONLINE','getLatestCsReqIdBySid','168884QMUCmy','onTransformRemoteChangesetByStateCache','[PendingState]:\x20received\x20rejection.','baseRev','UNIVER_DOC','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','encrypt','_clearTimeoutTimer','?size=','JOIN_ROOM_FAILED','image/png','message$','readInt32LE','_registerDependencies','floor','_isPermissionRej','clone','_unitID','_clearHeartbeatTimer','msCrypto','getDeserializedSheetBlock','filter','uploadFileServerUrl','_authzIoService','_singleActiveUnitService','every','COMPRESS_MUTATION_APPLY','_getLoginPath','_schedule','getResourcesRequest','_mode','updateMember','result','reject','\x20to\x20','collaboration_new_changeset','_members$','_httpService','/universer-api/user/session-ticket','memberID','[CollaborationEntity]','RECV','_onConflict','session.room-full','getRandomValues','session.room-not-exists','unpad','members$','workbook','disableLocalCache','_socket$','rev','transformMutationsWithChangeset','OTHER_CLIENTS_EDITING','abs','NO_OTHER_CLIENTS_EDITING','ENSURE_SNAPSHOT_EXECUTION','randomUUID','_reverseMap','HEARTBEAT_TIMEOUT','cfg','TOO_MANY_REQUESTS','_clearScheduledTask','toggleOnline','resend','getTypeOfUnitAdded$','unsubscribe','_sendHeartbeat','SHA1','reverse','_prevBlock','_memberService','_acknowledgedAwaitingChangeset','onMissingChangesets','entries','_configService','post','_replayCachedMutations','params','catch','_pendingMutations','_sender','_init','addImageSourceCache','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_members','_socketMessageSubscription','getSnapshotAPIPath','[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.','/resources','slice','deepClone','APPLY_NON_SEQUENTIAL_REVISION','values','getOwnPropertyDescriptor','focused$','key','getCurrentRevOfUnit','APPLY_DUPLICATED','_candidateSocket','Malformed\x20UTF-8\x20data','LIVESHARE_OPERATION','join','changesets','COLLAB_SUBMIT_CHANGESET_URL','_executeRemoteChangeset','_keySchedule','refreshPermission','CHANGESET_REJ','COMMENT_UPDATE','_initUnitPermissionChange','function','_oKey','HEARTBEAT','HttpImport','status','state$','_emitMembers','AWAITING','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','Pkcs7','collaMsg','HELLO','_onLocalMutation','/unit/','_localeService','stringify','JOIN_ROOM_FULL','_telemetryService','_initDependencies','[OfflineState]:\x20received\x20changeset.','mode','batchAllowed','change$','roles','_keyPriorReset','appendMutation','_resendTimeout','_nDataBytes','BlockCipher','_lockTransition','_transformRemoteChangesetByStateCache','_iKey','4752UHQoSP','_initCloseConn','_eventService','_toggleOnline'];_0x2aa8=function(){return _0x4fb271;};return _0x2aa8();}var Ve={'exports':{}};function Ur(_0x138e31){var _0x5bd389=_0x180182;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x138e31+_0x5bd389(0x3c0));}var Ge={'exports':{}},Ar=Ge[_0x180182(0x1ac)],Zt;function ne(){var _0x8a723c=_0x180182;return Zt||(Zt=0x1,function(_0x35cdce,_0xb3d943){(function(_0x26d079,_0x18ed49){var _0x425c82=_0x11d4;_0x35cdce[_0x425c82(0x1ac)]=_0x18ed49();}(Ar,function(){var _0x4ba23f=_0x4ba23f||function(_0x2567a4,_0x3bf5c9){var _0xccb5c1=_0x11d4,_0x5d382a;if(typeof window<'u'&&window[_0xccb5c1(0x352)]&&(_0x5d382a=window[_0xccb5c1(0x352)]),typeof self<'u'&&self['crypto']&&(_0x5d382a=self[_0xccb5c1(0x352)]),typeof globalThis<'u'&&globalThis[_0xccb5c1(0x352)]&&(_0x5d382a=globalThis[_0xccb5c1(0x352)]),!_0x5d382a&&typeof window<'u'&&window[_0xccb5c1(0x291)]&&(_0x5d382a=window[_0xccb5c1(0x291)]),!_0x5d382a&&typeof pt<'u'&&pt[_0xccb5c1(0x352)]&&(_0x5d382a=pt[_0xccb5c1(0x352)]),!_0x5d382a&&typeof Ur=='function')try{_0x5d382a=require(_0xccb5c1(0x352));}catch{}var _0xe31af5=function(){var _0x1ac77a=_0xccb5c1;if(_0x5d382a){if(typeof _0x5d382a[_0x1ac77a(0x2aa)]=='function')try{return _0x5d382a['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5d382a[_0x1ac77a(0x343)]=='function')try{return _0x5d382a['randomBytes'](0x4)[_0x1ac77a(0x28a)]();}catch{}}throw new Error(_0x1ac77a(0x21b));},_0x35ab9f=Object[_0xccb5c1(0x220)]||(function(){function _0x1eb570(){}return function(_0x33e503){var _0x372794=_0x11d4,_0x9dd85f;return _0x1eb570[_0x372794(0x433)]=_0x33e503,_0x9dd85f=new _0x1eb570(),_0x1eb570[_0x372794(0x433)]=null,_0x9dd85f;};}()),_0x20c672={},_0x2dd585=_0x20c672[_0xccb5c1(0x255)]={},_0x416255=_0x2dd585[_0xccb5c1(0x342)]=(function(){return{'extend':function(_0x1b0af3){var _0x11c4b3=_0x11d4,_0x52c955=_0x35ab9f(this);return _0x1b0af3&&_0x52c955[_0x11c4b3(0x1b4)](_0x1b0af3),(!_0x52c955[_0x11c4b3(0x1d0)](_0x11c4b3(0x31d))||this[_0x11c4b3(0x31d)]===_0x52c955[_0x11c4b3(0x31d)])&&(_0x52c955[_0x11c4b3(0x31d)]=function(){_0x52c955['$super']['init']['apply'](this,arguments);}),_0x52c955[_0x11c4b3(0x31d)][_0x11c4b3(0x433)]=_0x52c955,_0x52c955['$super']=this,_0x52c955;},'create':function(){var _0xc9293e=_0x11d4,_0x1b577c=this['extend']();return _0x1b577c[_0xc9293e(0x31d)][_0xc9293e(0x405)](_0x1b577c,arguments),_0x1b577c;},'init':function(){},'mixIn':function(_0x350c07){var _0x9db6c6=_0x11d4;for(var _0x57da1f in _0x350c07)_0x350c07[_0x9db6c6(0x1d0)](_0x57da1f)&&(this[_0x57da1f]=_0x350c07[_0x57da1f]);_0x350c07[_0x9db6c6(0x1d0)](_0x9db6c6(0x191))&&(this[_0x9db6c6(0x191)]=_0x350c07[_0x9db6c6(0x191)]);},'clone':function(){var _0x544763=_0x11d4;return this[_0x544763(0x31d)][_0x544763(0x433)][_0x544763(0x3e2)](this);}};}()),_0x37bd30=_0x2dd585[_0xccb5c1(0x1aa)]=_0x416255[_0xccb5c1(0x3e2)]({'init':function(_0x43f734,_0x3c529d){var _0x33196d=_0xccb5c1;_0x43f734=this[_0x33196d(0x1e5)]=_0x43f734||[],_0x3c529d!=_0x3bf5c9?this[_0x33196d(0x3a2)]=_0x3c529d:this[_0x33196d(0x3a2)]=_0x43f734[_0x33196d(0x22e)]*0x4;},'toString':function(_0x36791a){var _0x1db053=_0xccb5c1;return(_0x36791a||_0x2ed1da)[_0x1db053(0x2fc)](this);},'concat':function(_0x3c4d11){var _0x416cf7=_0xccb5c1,_0x2e24f6=this['words'],_0x2d0a9b=_0x3c4d11[_0x416cf7(0x1e5)],_0x249a7d=this[_0x416cf7(0x3a2)],_0x24f091=_0x3c4d11['sigBytes'];if(this[_0x416cf7(0x1e1)](),_0x249a7d%0x4)for(var _0x46fb62=0x0;_0x46fb62<_0x24f091;_0x46fb62++){var _0x4b2a7f=_0x2d0a9b[_0x46fb62>>>0x2]>>>0x18-_0x46fb62%0x4*0x8&0xff;_0x2e24f6[_0x249a7d+_0x46fb62>>>0x2]|=_0x4b2a7f<<0x18-(_0x249a7d+_0x46fb62)%0x4*0x8;}else{for(var _0x226b3b=0x0;_0x226b3b<_0x24f091;_0x226b3b+=0x4)_0x2e24f6[_0x249a7d+_0x226b3b>>>0x2]=_0x2d0a9b[_0x226b3b>>>0x2];}return this[_0x416cf7(0x3a2)]+=_0x24f091,this;},'clamp':function(){var _0x3ad685=_0xccb5c1,_0x15da29=this[_0x3ad685(0x1e5)],_0x28e004=this[_0x3ad685(0x3a2)];_0x15da29[_0x28e004>>>0x2]&=0xffffffff<<0x20-_0x28e004%0x4*0x8,_0x15da29['length']=_0x2567a4[_0x3ad685(0x186)](_0x28e004/0x4);},'clone':function(){var _0x5f4d4d=_0xccb5c1,_0x121f29=_0x416255[_0x5f4d4d(0x28e)][_0x5f4d4d(0x3bf)](this);return _0x121f29['words']=this[_0x5f4d4d(0x1e5)][_0x5f4d4d(0x2d8)](0x0),_0x121f29;},'random':function(_0x5de738){var _0x5fbd88=_0xccb5c1;for(var _0x3fc4f1=[],_0x1680b7=0x0;_0x1680b7<_0x5de738;_0x1680b7+=0x4)_0x3fc4f1[_0x5fbd88(0x247)](_0xe31af5());return new _0x37bd30[(_0x5fbd88(0x31d))](_0x3fc4f1,_0x5de738);}}),_0x4528f5=_0x20c672[_0xccb5c1(0x211)]={},_0x2ed1da=_0x4528f5[_0xccb5c1(0x3e4)]={'stringify':function(_0x501a5c){var _0x3c2cf7=_0xccb5c1;for(var _0x3d34e3=_0x501a5c['words'],_0x341637=_0x501a5c[_0x3c2cf7(0x3a2)],_0x3f5848=[],_0x12b061=0x0;_0x12b061<_0x341637;_0x12b061++){var _0x24bf54=_0x3d34e3[_0x12b061>>>0x2]>>>0x18-_0x12b061%0x4*0x8&0xff;_0x3f5848[_0x3c2cf7(0x247)]((_0x24bf54>>>0x4)[_0x3c2cf7(0x191)](0x10)),_0x3f5848[_0x3c2cf7(0x247)]((_0x24bf54&0xf)[_0x3c2cf7(0x191)](0x10));}return _0x3f5848[_0x3c2cf7(0x2e4)]('');},'parse':function(_0x299e63){var _0x1f625b=_0xccb5c1;for(var _0x163045=_0x299e63['length'],_0x4dd180=[],_0x147eb=0x0;_0x147eb<_0x163045;_0x147eb+=0x2)_0x4dd180[_0x147eb>>>0x3]|=parseInt(_0x299e63['substr'](_0x147eb,0x2),0x10)<<0x18-_0x147eb%0x8*0x4;return new _0x37bd30[(_0x1f625b(0x31d))](_0x4dd180,_0x163045/0x2);}},_0x549d42=_0x4528f5['Latin1']={'stringify':function(_0x25dc06){var _0x2f87b0=_0xccb5c1;for(var _0x1219e2=_0x25dc06['words'],_0x93d5b1=_0x25dc06[_0x2f87b0(0x3a2)],_0x2f933f=[],_0x35624d=0x0;_0x35624d<_0x93d5b1;_0x35624d++){var _0x541dc1=_0x1219e2[_0x35624d>>>0x2]>>>0x18-_0x35624d%0x4*0x8&0xff;_0x2f933f['push'](String[_0x2f87b0(0x3f4)](_0x541dc1));}return _0x2f933f[_0x2f87b0(0x2e4)]('');},'parse':function(_0x2b9914){var _0x3489f2=_0xccb5c1;for(var _0x2e0418=_0x2b9914[_0x3489f2(0x22e)],_0x37c0d7=[],_0x5848fd=0x0;_0x5848fd<_0x2e0418;_0x5848fd++)_0x37c0d7[_0x5848fd>>>0x2]|=(_0x2b9914[_0x3489f2(0x459)](_0x5848fd)&0xff)<<0x18-_0x5848fd%0x4*0x8;return new _0x37bd30[(_0x3489f2(0x31d))](_0x37c0d7,_0x2e0418);}},_0x413cdc=_0x4528f5[_0xccb5c1(0x18b)]={'stringify':function(_0x3f7350){var _0x5bba42=_0xccb5c1;try{return decodeURIComponent(escape(_0x549d42[_0x5bba42(0x2fc)](_0x3f7350)));}catch{throw new Error(_0x5bba42(0x2e2));}},'parse':function(_0x47b772){var _0x11abc2=_0xccb5c1;return _0x549d42[_0x11abc2(0x18d)](unescape(encodeURIComponent(_0x47b772)));}},_0x59f18c=_0x2dd585[_0xccb5c1(0x218)]=_0x416255['extend']({'reset':function(){var _0x3e43fe=_0xccb5c1;this['_data']=new _0x37bd30[(_0x3e43fe(0x31d))](),this[_0x3e43fe(0x308)]=0x0;},'_append':function(_0x528c62){var _0x11405c=_0xccb5c1;typeof _0x528c62==_0x11405c(0x1b2)&&(_0x528c62=_0x413cdc[_0x11405c(0x18d)](_0x528c62)),this[_0x11405c(0x214)][_0x11405c(0x3b6)](_0x528c62),this['_nDataBytes']+=_0x528c62[_0x11405c(0x3a2)];},'_process':function(_0x494860){var _0xb20c9a=_0xccb5c1,_0x2e6fdf,_0x3f0d9a=this[_0xb20c9a(0x214)],_0x1cc55c=_0x3f0d9a['words'],_0x2fa8f1=_0x3f0d9a[_0xb20c9a(0x3a2)],_0xe6f6c5=this[_0xb20c9a(0x39a)],_0x3885ab=_0xe6f6c5*0x4,_0x442de5=_0x2fa8f1/_0x3885ab;_0x494860?_0x442de5=_0x2567a4[_0xb20c9a(0x186)](_0x442de5):_0x442de5=_0x2567a4['max']((_0x442de5|0x0)-this[_0xb20c9a(0x3e6)],0x0);var _0xd6d582=_0x442de5*_0xe6f6c5,_0x5b7f91=_0x2567a4[_0xb20c9a(0x448)](_0xd6d582*0x4,_0x2fa8f1);if(_0xd6d582){for(var _0x3215a1=0x0;_0x3215a1<_0xd6d582;_0x3215a1+=_0xe6f6c5)this['_doProcessBlock'](_0x1cc55c,_0x3215a1);_0x2e6fdf=_0x1cc55c['splice'](0x0,_0xd6d582),_0x3f0d9a[_0xb20c9a(0x3a2)]-=_0x5b7f91;}return new _0x37bd30[(_0xb20c9a(0x31d))](_0x2e6fdf,_0x5b7f91);},'clone':function(){var _0x2b08a5=_0xccb5c1,_0x3b4a60=_0x416255[_0x2b08a5(0x28e)][_0x2b08a5(0x3bf)](this);return _0x3b4a60[_0x2b08a5(0x214)]=this[_0x2b08a5(0x214)][_0x2b08a5(0x28e)](),_0x3b4a60;},'_minBufferSize':0x0});_0x2dd585['Hasher']=_0x59f18c[_0xccb5c1(0x3e2)]({'cfg':_0x416255[_0xccb5c1(0x3e2)](),'init':function(_0x59c41a){var _0x12fd8a=_0xccb5c1;this['cfg']=this[_0x12fd8a(0x2ba)][_0x12fd8a(0x3e2)](_0x59c41a),this[_0x12fd8a(0x3cb)]();},'reset':function(){var _0x16e037=_0xccb5c1;_0x59f18c[_0x16e037(0x3cb)]['call'](this),this[_0x16e037(0x43d)]();},'update':function(_0x458933){var _0x3a5b21=_0xccb5c1;return this['_append'](_0x458933),this[_0x3a5b21(0x25a)](),this;},'finalize':function(_0x1371a9){_0x1371a9&&this['_append'](_0x1371a9);var _0x39d20d=this['_doFinalize']();return _0x39d20d;},'blockSize':0x10,'_createHelper':function(_0x29c62b){return function(_0x5806e5,_0x24877a){var _0x5bddae=_0x11d4;return new _0x29c62b['init'](_0x24877a)[_0x5bddae(0x17f)](_0x5806e5);};},'_createHmacHelper':function(_0x4cd800){return function(_0x7f8147,_0x42d174){var _0x15ee27=_0x11d4;return new _0x30a907[(_0x15ee27(0x388))]['init'](_0x4cd800,_0x42d174)[_0x15ee27(0x17f)](_0x7f8147);};}});var _0x30a907=_0x20c672['algo']={};return _0x20c672;}(Math);return _0x4ba23f;}));}(Ge)),Ge[_0x8a723c(0x1ac)];}var We={'exports':{}},xr=We[_0x180182(0x1ac)],Qt;function wi(){var _0xb3138c=_0x180182;return Qt||(Qt=0x1,function(_0x1b3f87,_0x7207fc){(function(_0x40010d,_0x1b60ce){var _0x484699=_0x11d4;_0x1b3f87[_0x484699(0x1ac)]=_0x1b60ce(ne());}(xr,function(_0x34696c){var _0x4f71b2=_0x11d4;return(function(){var _0x1883ea=_0x11d4,_0xc0a26=_0x34696c,_0x17e39e=_0xc0a26['lib'],_0x279081=_0x17e39e[_0x1883ea(0x1aa)],_0x37ef4f=_0xc0a26[_0x1883ea(0x211)];_0x37ef4f[_0x1883ea(0x1b7)]={'stringify':function(_0x22e623){var _0x385e88=_0x1883ea,_0x4e4e1a=_0x22e623[_0x385e88(0x1e5)],_0x3d047b=_0x22e623[_0x385e88(0x3a2)],_0x2ca3e6=this['_map'];_0x22e623[_0x385e88(0x1e1)]();for(var _0x276d99=[],_0x2f13c7=0x0;_0x2f13c7<_0x3d047b;_0x2f13c7+=0x3)for(var _0xaf4aec=_0x4e4e1a[_0x2f13c7>>>0x2]>>>0x18-_0x2f13c7%0x4*0x8&0xff,_0x14a972=_0x4e4e1a[_0x2f13c7+0x1>>>0x2]>>>0x18-(_0x2f13c7+0x1)%0x4*0x8&0xff,_0xf6692a=_0x4e4e1a[_0x2f13c7+0x2>>>0x2]>>>0x18-(_0x2f13c7+0x2)%0x4*0x8&0xff,_0x5ea61e=_0xaf4aec<<0x10|_0x14a972<<0x8|_0xf6692a,_0x5c84d9=0x0;_0x5c84d9<0x4&&_0x2f13c7+_0x5c84d9*0.75<_0x3d047b;_0x5c84d9++)_0x276d99['push'](_0x2ca3e6[_0x385e88(0x217)](_0x5ea61e>>>0x6*(0x3-_0x5c84d9)&0x3f));var _0x46b3ad=_0x2ca3e6['charAt'](0x40);if(_0x46b3ad){for(;_0x276d99[_0x385e88(0x22e)]%0x4;)_0x276d99[_0x385e88(0x247)](_0x46b3ad);}return _0x276d99['join']('');},'parse':function(_0x2d3503){var _0x22871d=_0x1883ea,_0x4416d1=_0x2d3503[_0x22871d(0x22e)],_0x4c736c=this[_0x22871d(0x260)],_0x31ab62=this['_reverseMap'];if(!_0x31ab62){_0x31ab62=this[_0x22871d(0x2b8)]=[];for(var _0xa75969=0x0;_0xa75969<_0x4c736c[_0x22871d(0x22e)];_0xa75969++)_0x31ab62[_0x4c736c[_0x22871d(0x459)](_0xa75969)]=_0xa75969;}var _0x18880d=_0x4c736c[_0x22871d(0x217)](0x40);if(_0x18880d){var _0x440a47=_0x2d3503[_0x22871d(0x33f)](_0x18880d);_0x440a47!==-0x1&&(_0x4416d1=_0x440a47);}return _0x1e54de(_0x2d3503,_0x4416d1,_0x31ab62);},'_map':_0x1883ea(0x26a)};function _0x1e54de(_0x797736,_0x2e2eda,_0x235f4d){for(var _0x18df6=[],_0x307446=0x0,_0x30d1d7=0x0;_0x30d1d7<_0x2e2eda;_0x30d1d7++)if(_0x30d1d7%0x4){var _0x459c71=_0x235f4d[_0x797736['charCodeAt'](_0x30d1d7-0x1)]<<_0x30d1d7%0x4*0x2,_0x4546d1=_0x235f4d[_0x797736['charCodeAt'](_0x30d1d7)]>>>0x6-_0x30d1d7%0x4*0x2,_0x30708d=_0x459c71|_0x4546d1;_0x18df6[_0x307446>>>0x2]|=_0x30708d<<0x18-_0x307446%0x4*0x8,_0x307446++;}return _0x279081['create'](_0x18df6,_0x307446);}}()),_0x34696c[_0x4f71b2(0x211)][_0x4f71b2(0x1b7)];}));}(We)),We[_0xb3138c(0x1ac)];}var Ke={'exports':{}},Lr=Ke[_0x180182(0x1ac)],ei;function Mr(){var _0x4a26d3=_0x180182;return ei||(ei=0x1,function(_0x2d702e,_0x45deb4){(function(_0x37505b,_0x204f8d){var _0x579ca2=_0x11d4;_0x2d702e[_0x579ca2(0x1ac)]=_0x204f8d(ne());}(Lr,function(_0x5e2071){var _0x47eecd=_0x11d4;return function(_0x4b822e){var _0x4c75aa=_0x11d4,_0x204d3e=_0x5e2071,_0x5dfc82=_0x204d3e['lib'],_0x185277=_0x5dfc82['WordArray'],_0x4eabb5=_0x5dfc82[_0x4c75aa(0x3fb)],_0x4a5202=_0x204d3e[_0x4c75aa(0x259)],_0x36fc21=[];(function(){var _0x468d8a=_0x4c75aa;for(var _0x25a8a6=0x0;_0x25a8a6<0x40;_0x25a8a6++)_0x36fc21[_0x25a8a6]=_0x4b822e[_0x468d8a(0x2b4)](_0x4b822e['sin'](_0x25a8a6+0x1))*0x100000000|0x0;}());var _0x58cc50=_0x4a5202[_0x4c75aa(0x454)]=_0x4eabb5[_0x4c75aa(0x3e2)]({'_doReset':function(){var _0x519386=_0x4c75aa;this[_0x519386(0x1c6)]=new _0x185277[(_0x519386(0x31d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x475b43,_0x8102c3){var _0x31934b=_0x4c75aa;for(var _0x4a1e12=0x0;_0x4a1e12<0x10;_0x4a1e12++){var _0x266e59=_0x8102c3+_0x4a1e12,_0x378087=_0x475b43[_0x266e59];_0x475b43[_0x266e59]=(_0x378087<<0x8|_0x378087>>>0x18)&0xff00ff|(_0x378087<<0x18|_0x378087>>>0x8)&0xff00ff00;}var _0x3752bb=this[_0x31934b(0x1c6)]['words'],_0x2ac98c=_0x475b43[_0x8102c3+0x0],_0x4be1cd=_0x475b43[_0x8102c3+0x1],_0x4a9261=_0x475b43[_0x8102c3+0x2],_0x1f227d=_0x475b43[_0x8102c3+0x3],_0xa359b7=_0x475b43[_0x8102c3+0x4],_0x47daf8=_0x475b43[_0x8102c3+0x5],_0x31dc38=_0x475b43[_0x8102c3+0x6],_0x4a44ac=_0x475b43[_0x8102c3+0x7],_0x5e0c2b=_0x475b43[_0x8102c3+0x8],_0x2a5bf7=_0x475b43[_0x8102c3+0x9],_0x406fe5=_0x475b43[_0x8102c3+0xa],_0x42b476=_0x475b43[_0x8102c3+0xb],_0x539e84=_0x475b43[_0x8102c3+0xc],_0x4b73b8=_0x475b43[_0x8102c3+0xd],_0x556640=_0x475b43[_0x8102c3+0xe],_0x25ec11=_0x475b43[_0x8102c3+0xf],_0x2575eb=_0x3752bb[0x0],_0x46884b=_0x3752bb[0x1],_0x18c27d=_0x3752bb[0x2],_0x10ef5d=_0x3752bb[0x3];_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2ac98c,0x7,_0x36fc21[0x0]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4be1cd,0xc,_0x36fc21[0x1]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a9261,0x11,_0x36fc21[0x2]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x1f227d,0x16,_0x36fc21[0x3]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0xa359b7,0x7,_0x36fc21[0x4]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x47daf8,0xc,_0x36fc21[0x5]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x31dc38,0x11,_0x36fc21[0x6]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4a44ac,0x16,_0x36fc21[0x7]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x5e0c2b,0x7,_0x36fc21[0x8]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x2a5bf7,0xc,_0x36fc21[0x9]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x406fe5,0x11,_0x36fc21[0xa]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x42b476,0x16,_0x36fc21[0xb]),_0x2575eb=_0x567649(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x539e84,0x7,_0x36fc21[0xc]),_0x10ef5d=_0x567649(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4b73b8,0xc,_0x36fc21[0xd]),_0x18c27d=_0x567649(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x556640,0x11,_0x36fc21[0xe]),_0x46884b=_0x567649(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x25ec11,0x16,_0x36fc21[0xf]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4be1cd,0x5,_0x36fc21[0x10]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x31dc38,0x9,_0x36fc21[0x11]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x42b476,0xe,_0x36fc21[0x12]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x2ac98c,0x14,_0x36fc21[0x13]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x47daf8,0x5,_0x36fc21[0x14]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x406fe5,0x9,_0x36fc21[0x15]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x25ec11,0xe,_0x36fc21[0x16]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0xa359b7,0x14,_0x36fc21[0x17]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2a5bf7,0x5,_0x36fc21[0x18]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x556640,0x9,_0x36fc21[0x19]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x1f227d,0xe,_0x36fc21[0x1a]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x5e0c2b,0x14,_0x36fc21[0x1b]),_0x2575eb=_0x17677e(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4b73b8,0x5,_0x36fc21[0x1c]),_0x10ef5d=_0x17677e(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4a9261,0x9,_0x36fc21[0x1d]),_0x18c27d=_0x17677e(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a44ac,0xe,_0x36fc21[0x1e]),_0x46884b=_0x17677e(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x539e84,0x14,_0x36fc21[0x1f]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x47daf8,0x4,_0x36fc21[0x20]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x5e0c2b,0xb,_0x36fc21[0x21]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x42b476,0x10,_0x36fc21[0x22]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x556640,0x17,_0x36fc21[0x23]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4be1cd,0x4,_0x36fc21[0x24]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0xa359b7,0xb,_0x36fc21[0x25]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a44ac,0x10,_0x36fc21[0x26]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x406fe5,0x17,_0x36fc21[0x27]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x4b73b8,0x4,_0x36fc21[0x28]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x2ac98c,0xb,_0x36fc21[0x29]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x1f227d,0x10,_0x36fc21[0x2a]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x31dc38,0x17,_0x36fc21[0x2b]),_0x2575eb=_0xaaa9b7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2a5bf7,0x4,_0x36fc21[0x2c]),_0x10ef5d=_0xaaa9b7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x539e84,0xb,_0x36fc21[0x2d]),_0x18c27d=_0xaaa9b7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x25ec11,0x10,_0x36fc21[0x2e]),_0x46884b=_0xaaa9b7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4a9261,0x17,_0x36fc21[0x2f]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x2ac98c,0x6,_0x36fc21[0x30]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x4a44ac,0xa,_0x36fc21[0x31]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x556640,0xf,_0x36fc21[0x32]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x47daf8,0x15,_0x36fc21[0x33]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x539e84,0x6,_0x36fc21[0x34]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x1f227d,0xa,_0x36fc21[0x35]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x406fe5,0xf,_0x36fc21[0x36]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4be1cd,0x15,_0x36fc21[0x37]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0x5e0c2b,0x6,_0x36fc21[0x38]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x25ec11,0xa,_0x36fc21[0x39]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x31dc38,0xf,_0x36fc21[0x3a]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x4b73b8,0x15,_0x36fc21[0x3b]),_0x2575eb=_0x1dcda7(_0x2575eb,_0x46884b,_0x18c27d,_0x10ef5d,_0xa359b7,0x6,_0x36fc21[0x3c]),_0x10ef5d=_0x1dcda7(_0x10ef5d,_0x2575eb,_0x46884b,_0x18c27d,_0x42b476,0xa,_0x36fc21[0x3d]),_0x18c27d=_0x1dcda7(_0x18c27d,_0x10ef5d,_0x2575eb,_0x46884b,_0x4a9261,0xf,_0x36fc21[0x3e]),_0x46884b=_0x1dcda7(_0x46884b,_0x18c27d,_0x10ef5d,_0x2575eb,_0x2a5bf7,0x15,_0x36fc21[0x3f]),_0x3752bb[0x0]=_0x3752bb[0x0]+_0x2575eb|0x0,_0x3752bb[0x1]=_0x3752bb[0x1]+_0x46884b|0x0,_0x3752bb[0x2]=_0x3752bb[0x2]+_0x18c27d|0x0,_0x3752bb[0x3]=_0x3752bb[0x3]+_0x10ef5d|0x0;},'_doFinalize':function(){var _0x5e8087=_0x4c75aa,_0x29937e=this[_0x5e8087(0x214)],_0x55d675=_0x29937e[_0x5e8087(0x1e5)],_0x5cd869=this[_0x5e8087(0x308)]*0x8,_0x18d8ef=_0x29937e[_0x5e8087(0x3a2)]*0x8;_0x55d675[_0x18d8ef>>>0x5]|=0x80<<0x18-_0x18d8ef%0x20;var _0x5b20a5=_0x4b822e[_0x5e8087(0x28c)](_0x5cd869/0x100000000),_0x3609ce=_0x5cd869;_0x55d675[(_0x18d8ef+0x40>>>0x9<<0x4)+0xf]=(_0x5b20a5<<0x8|_0x5b20a5>>>0x18)&0xff00ff|(_0x5b20a5<<0x18|_0x5b20a5>>>0x8)&0xff00ff00,_0x55d675[(_0x18d8ef+0x40>>>0x9<<0x4)+0xe]=(_0x3609ce<<0x8|_0x3609ce>>>0x18)&0xff00ff|(_0x3609ce<<0x18|_0x3609ce>>>0x8)&0xff00ff00,_0x29937e[_0x5e8087(0x3a2)]=(_0x55d675[_0x5e8087(0x22e)]+0x1)*0x4,this[_0x5e8087(0x25a)]();for(var _0x3da5f3=this[_0x5e8087(0x1c6)],_0x31a9de=_0x3da5f3[_0x5e8087(0x1e5)],_0x1bcc8d=0x0;_0x1bcc8d<0x4;_0x1bcc8d++){var _0xb026cb=_0x31a9de[_0x1bcc8d];_0x31a9de[_0x1bcc8d]=(_0xb026cb<<0x8|_0xb026cb>>>0x18)&0xff00ff|(_0xb026cb<<0x18|_0xb026cb>>>0x8)&0xff00ff00;}return _0x3da5f3;},'clone':function(){var _0x3bdc16=_0x4c75aa,_0x4f3645=_0x4eabb5['clone']['call'](this);return _0x4f3645[_0x3bdc16(0x1c6)]=this['_hash']['clone'](),_0x4f3645;}});function _0x567649(_0x1655c9,_0x4fc17c,_0x40d921,_0x15ad75,_0x1b55f0,_0x373fed,_0xe18210){var _0x246f93=_0x1655c9+(_0x4fc17c&_0x40d921|~_0x4fc17c&_0x15ad75)+_0x1b55f0+_0xe18210;return(_0x246f93<<_0x373fed|_0x246f93>>>0x20-_0x373fed)+_0x4fc17c;}function _0x17677e(_0x1a3021,_0x259367,_0x212a59,_0x3ac9b6,_0x46fbd0,_0xd038b4,_0x1c88c9){var _0x16043d=_0x1a3021+(_0x259367&_0x3ac9b6|_0x212a59&~_0x3ac9b6)+_0x46fbd0+_0x1c88c9;return(_0x16043d<<_0xd038b4|_0x16043d>>>0x20-_0xd038b4)+_0x259367;}function _0xaaa9b7(_0x24414c,_0x53630c,_0x51921e,_0x127228,_0x116780,_0x571565,_0x420680){var _0xa1deb=_0x24414c+(_0x53630c^_0x51921e^_0x127228)+_0x116780+_0x420680;return(_0xa1deb<<_0x571565|_0xa1deb>>>0x20-_0x571565)+_0x53630c;}function _0x1dcda7(_0x4a6933,_0x3d0687,_0x1f5e7a,_0x1c581a,_0x3c4757,_0x31f567,_0x1ab796){var _0x27f9aa=_0x4a6933+(_0x1f5e7a^(_0x3d0687|~_0x1c581a))+_0x3c4757+_0x1ab796;return(_0x27f9aa<<_0x31f567|_0x27f9aa>>>0x20-_0x31f567)+_0x3d0687;}_0x204d3e[_0x4c75aa(0x454)]=_0x4eabb5[_0x4c75aa(0x3c2)](_0x58cc50),_0x204d3e['HmacMD5']=_0x4eabb5[_0x4c75aa(0x236)](_0x58cc50);}(Math),_0x5e2071[_0x47eecd(0x454)];}));}(Ke)),Ke[_0x4a26d3(0x1ac)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x180182(0x1ac)],ti;function Hr(){var _0x277892=_0x180182;return ti||(ti=0x1,function(_0x54ed49,_0x2bb315){(function(_0x4d5f57,_0x1d953d){var _0x2f54bc=_0x11d4;_0x54ed49[_0x2f54bc(0x1ac)]=_0x1d953d(ne());}($r,function(_0x454eac){return(function(){var _0x3f6462=_0x11d4,_0x2968c=_0x454eac,_0x427a75=_0x2968c[_0x3f6462(0x255)],_0x41a914=_0x427a75[_0x3f6462(0x1aa)],_0xb1edd8=_0x427a75[_0x3f6462(0x3fb)],_0x289daf=_0x2968c[_0x3f6462(0x259)],_0x5ed9b7=[],_0x20e018=_0x289daf['SHA1']=_0xb1edd8[_0x3f6462(0x3e2)]({'_doReset':function(){var _0x1c2203=_0x3f6462;this[_0x1c2203(0x1c6)]=new _0x41a914['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1e30b4,_0x2768eb){var _0x2c6bee=_0x3f6462;for(var _0x53846f=this[_0x2c6bee(0x1c6)][_0x2c6bee(0x1e5)],_0x58bf75=_0x53846f[0x0],_0xed8942=_0x53846f[0x1],_0x2eb1bf=_0x53846f[0x2],_0xd157f5=_0x53846f[0x3],_0x2dce28=_0x53846f[0x4],_0x5d0566=0x0;_0x5d0566<0x50;_0x5d0566++){if(_0x5d0566<0x10)_0x5ed9b7[_0x5d0566]=_0x1e30b4[_0x2768eb+_0x5d0566]|0x0;else{var _0x1c3094=_0x5ed9b7[_0x5d0566-0x3]^_0x5ed9b7[_0x5d0566-0x8]^_0x5ed9b7[_0x5d0566-0xe]^_0x5ed9b7[_0x5d0566-0x10];_0x5ed9b7[_0x5d0566]=_0x1c3094<<0x1|_0x1c3094>>>0x1f;}var _0x522530=(_0x58bf75<<0x5|_0x58bf75>>>0x1b)+_0x2dce28+_0x5ed9b7[_0x5d0566];_0x5d0566<0x14?_0x522530+=(_0xed8942&_0x2eb1bf|~_0xed8942&_0xd157f5)+0x5a827999:_0x5d0566<0x28?_0x522530+=(_0xed8942^_0x2eb1bf^_0xd157f5)+0x6ed9eba1:_0x5d0566<0x3c?_0x522530+=(_0xed8942&_0x2eb1bf|_0xed8942&_0xd157f5|_0x2eb1bf&_0xd157f5)-0x70e44324:_0x522530+=(_0xed8942^_0x2eb1bf^_0xd157f5)-0x359d3e2a,_0x2dce28=_0xd157f5,_0xd157f5=_0x2eb1bf,_0x2eb1bf=_0xed8942<<0x1e|_0xed8942>>>0x2,_0xed8942=_0x58bf75,_0x58bf75=_0x522530;}_0x53846f[0x0]=_0x53846f[0x0]+_0x58bf75|0x0,_0x53846f[0x1]=_0x53846f[0x1]+_0xed8942|0x0,_0x53846f[0x2]=_0x53846f[0x2]+_0x2eb1bf|0x0,_0x53846f[0x3]=_0x53846f[0x3]+_0xd157f5|0x0,_0x53846f[0x4]=_0x53846f[0x4]+_0x2dce28|0x0;},'_doFinalize':function(){var _0x462326=_0x3f6462,_0x344dfc=this[_0x462326(0x214)],_0x284f90=_0x344dfc['words'],_0x51b91a=this[_0x462326(0x308)]*0x8,_0x4de91c=_0x344dfc[_0x462326(0x3a2)]*0x8;return _0x284f90[_0x4de91c>>>0x5]|=0x80<<0x18-_0x4de91c%0x20,_0x284f90[(_0x4de91c+0x40>>>0x9<<0x4)+0xe]=Math[_0x462326(0x28c)](_0x51b91a/0x100000000),_0x284f90[(_0x4de91c+0x40>>>0x9<<0x4)+0xf]=_0x51b91a,_0x344dfc[_0x462326(0x3a2)]=_0x284f90['length']*0x4,this[_0x462326(0x25a)](),this[_0x462326(0x1c6)];},'clone':function(){var _0x57518b=_0x3f6462,_0x41844e=_0xb1edd8[_0x57518b(0x28e)][_0x57518b(0x3bf)](this);return _0x41844e[_0x57518b(0x1c6)]=this[_0x57518b(0x1c6)][_0x57518b(0x28e)](),_0x41844e;}});_0x2968c[_0x3f6462(0x2c2)]=_0xb1edd8[_0x3f6462(0x3c2)](_0x20e018),_0x2968c['HmacSHA1']=_0xb1edd8['_createHmacHelper'](_0x20e018);}()),_0x454eac['SHA1'];}));}(qe)),qe[_0x277892(0x1ac)];}var ze={'exports':{}},kr=ze[_0x180182(0x1ac)],ii;function jr(){var _0x93b744=_0x180182;return ii||(ii=0x1,function(_0x1d5355,_0x1c8500){(function(_0x42b802,_0x1c93ce){_0x1d5355['exports']=_0x1c93ce(ne());}(kr,function(_0x52439b){(function(){var _0x2ba076=_0x11d4,_0x23175d=_0x52439b,_0xb9f0f9=_0x23175d[_0x2ba076(0x255)],_0x6de330=_0xb9f0f9[_0x2ba076(0x342)],_0x2cdaa5=_0x23175d[_0x2ba076(0x211)],_0x390895=_0x2cdaa5[_0x2ba076(0x18b)],_0x29c9f2=_0x23175d['algo'];_0x29c9f2[_0x2ba076(0x388)]=_0x6de330[_0x2ba076(0x3e2)]({'init':function(_0x4fbcb6,_0x110a46){var _0x30583e=_0x2ba076;_0x4fbcb6=this[_0x30583e(0x363)]=new _0x4fbcb6[(_0x30583e(0x31d))](),typeof _0x110a46==_0x30583e(0x1b2)&&(_0x110a46=_0x390895['parse'](_0x110a46));var _0x5e5e52=_0x4fbcb6[_0x30583e(0x39a)],_0x3fb9c6=_0x5e5e52*0x4;_0x110a46[_0x30583e(0x3a2)]>_0x3fb9c6&&(_0x110a46=_0x4fbcb6[_0x30583e(0x17f)](_0x110a46)),_0x110a46[_0x30583e(0x1e1)]();for(var _0x7d208d=this[_0x30583e(0x2ee)]=_0x110a46[_0x30583e(0x28e)](),_0x2f8388=this[_0x30583e(0x30c)]=_0x110a46[_0x30583e(0x28e)](),_0x527a09=_0x7d208d[_0x30583e(0x1e5)],_0x2d558d=_0x2f8388[_0x30583e(0x1e5)],_0x2227b2=0x0;_0x2227b2<_0x5e5e52;_0x2227b2++)_0x527a09[_0x2227b2]^=0x5c5c5c5c,_0x2d558d[_0x2227b2]^=0x36363636;_0x7d208d[_0x30583e(0x3a2)]=_0x2f8388[_0x30583e(0x3a2)]=_0x3fb9c6,this[_0x30583e(0x3cb)]();},'reset':function(){var _0x3d9820=_0x2ba076,_0x839576=this['_hasher'];_0x839576[_0x3d9820(0x3cb)](),_0x839576[_0x3d9820(0x3ab)](this[_0x3d9820(0x30c)]);},'update':function(_0x3cad4f){var _0x859742=_0x2ba076;return this['_hasher'][_0x859742(0x3ab)](_0x3cad4f),this;},'finalize':function(_0x17a5c6){var _0x239a3c=_0x2ba076,_0x4650b6=this[_0x239a3c(0x363)],_0x397323=_0x4650b6[_0x239a3c(0x17f)](_0x17a5c6);_0x4650b6[_0x239a3c(0x3cb)]();var _0x141a7e=_0x4650b6[_0x239a3c(0x17f)](this[_0x239a3c(0x2ee)][_0x239a3c(0x28e)]()[_0x239a3c(0x3b6)](_0x397323));return _0x141a7e;}});}());}));}(ze)),ze[_0x93b744(0x1ac)];}var Br=Ye[_0x180182(0x1ac)],ni;function Ui(){var _0x401338=_0x180182;return ni||(ni=0x1,function(_0x5be5a4,_0xa0f520){(function(_0x48feca,_0x265f4e,_0x71a921){var _0x2a7213=_0x11d4;_0x5be5a4[_0x2a7213(0x1ac)]=_0x265f4e(ne(),Hr(),jr());}(Br,function(_0x433dce){var _0x5a01f0=_0x11d4;return(function(){var _0x373d61=_0x11d4,_0x45fe63=_0x433dce,_0x498e6b=_0x45fe63[_0x373d61(0x255)],_0x2ddad1=_0x498e6b[_0x373d61(0x342)],_0x2033eb=_0x498e6b['WordArray'],_0x438fdc=_0x45fe63[_0x373d61(0x259)],_0x2a949e=_0x438fdc[_0x373d61(0x454)],_0x28178d=_0x438fdc['EvpKDF']=_0x2ddad1['extend']({'cfg':_0x2ddad1[_0x373d61(0x3e2)]({'keySize':0x80/0x20,'hasher':_0x2a949e,'iterations':0x1}),'init':function(_0x1c9050){var _0x4297ad=_0x373d61;this[_0x4297ad(0x2ba)]=this[_0x4297ad(0x2ba)][_0x4297ad(0x3e2)](_0x1c9050);},'compute':function(_0x482d13,_0x126316){var _0x1e4267=_0x373d61;for(var _0x56687e,_0x18c92c=this[_0x1e4267(0x2ba)],_0x299ed2=_0x18c92c['hasher'][_0x1e4267(0x220)](),_0x1432dc=_0x2033eb[_0x1e4267(0x220)](),_0xdde2ce=_0x1432dc[_0x1e4267(0x1e5)],_0x24b1d0=_0x18c92c[_0x1e4267(0x33c)],_0x19be65=_0x18c92c[_0x1e4267(0x25d)];_0xdde2ce[_0x1e4267(0x22e)]<_0x24b1d0;){_0x56687e&&_0x299ed2['update'](_0x56687e),_0x56687e=_0x299ed2[_0x1e4267(0x3ab)](_0x482d13)[_0x1e4267(0x17f)](_0x126316),_0x299ed2[_0x1e4267(0x3cb)]();for(var _0x126196=0x1;_0x126196<_0x19be65;_0x126196++)_0x56687e=_0x299ed2['finalize'](_0x56687e),_0x299ed2[_0x1e4267(0x3cb)]();_0x1432dc[_0x1e4267(0x3b6)](_0x56687e);}return _0x1432dc[_0x1e4267(0x3a2)]=_0x24b1d0*0x4,_0x1432dc;}});_0x45fe63[_0x373d61(0x230)]=function(_0x5c2d6f,_0x290cd2,_0x44ef5f){var _0x1344ec=_0x373d61;return _0x28178d[_0x1344ec(0x220)](_0x44ef5f)[_0x1344ec(0x38a)](_0x5c2d6f,_0x290cd2);};}()),_0x433dce[_0x5a01f0(0x230)];}));}(Ye)),Ye[_0x401338(0x1ac)];}var Je={'exports':{}},Fr=Je[_0x180182(0x1ac)],ri;function Ai(){var _0x27b0c2=_0x180182;return ri||(ri=0x1,function(_0x52d6fa,_0x3f5ec0){(function(_0x188793,_0x295779,_0x23aceb){_0x52d6fa['exports']=_0x295779(ne(),Ui());}(Fr,function(_0x3b4957){var _0x5dc811=_0x11d4;_0x3b4957['lib'][_0x5dc811(0x445)]||function(_0x49ed93){var _0xe04162=_0x5dc811,_0x1dfa78=_0x3b4957,_0x1bf311=_0x1dfa78[_0xe04162(0x255)],_0x40fc2c=_0x1bf311[_0xe04162(0x342)],_0x3a49a6=_0x1bf311['WordArray'],_0x23931d=_0x1bf311[_0xe04162(0x218)],_0x3d5e5d=_0x1dfa78[_0xe04162(0x211)];_0x3d5e5d[_0xe04162(0x18b)];var _0x16e2a2=_0x3d5e5d[_0xe04162(0x1b7)],_0x438578=_0x1dfa78[_0xe04162(0x259)],_0x40f261=_0x438578[_0xe04162(0x230)],_0x118bf0=_0x1bf311['Cipher']=_0x23931d['extend']({'cfg':_0x40fc2c[_0xe04162(0x3e2)](),'createEncryptor':function(_0x44b763,_0x5a41e2){var _0xde67bc=_0xe04162;return this[_0xde67bc(0x220)](this[_0xde67bc(0x364)],_0x44b763,_0x5a41e2);},'createDecryptor':function(_0x361933,_0x4eab66){var _0x48b023=_0xe04162;return this[_0x48b023(0x220)](this[_0x48b023(0x254)],_0x361933,_0x4eab66);},'init':function(_0x3d4e68,_0x5c4f07,_0x52a02b){var _0x89e99b=_0xe04162;this[_0x89e99b(0x2ba)]=this[_0x89e99b(0x2ba)][_0x89e99b(0x3e2)](_0x52a02b),this[_0x89e99b(0x33b)]=_0x3d4e68,this[_0x89e99b(0x239)]=_0x5c4f07,this[_0x89e99b(0x3cb)]();},'reset':function(){var _0x10eb25=_0xe04162;_0x23931d['reset']['call'](this),this[_0x10eb25(0x43d)]();},'process':function(_0x16f593){var _0x613e02=_0xe04162;return this[_0x613e02(0x461)](_0x16f593),this['_process']();},'finalize':function(_0x22d6d3){var _0xe96711=_0xe04162;_0x22d6d3&&this[_0xe96711(0x461)](_0x22d6d3);var _0x5f3ce4=this[_0xe96711(0x202)]();return _0x5f3ce4;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x383bed(_0x3dc7b5){var _0x196048=_0x11d4;return typeof _0x3dc7b5==_0x196048(0x1b2)?_0x378940:_0x2208d9;}return function(_0x1e0d67){return{'encrypt':function(_0xd51a22,_0x389801,_0x4cc017){var _0x57cdb5=_0x11d4;return _0x383bed(_0x389801)[_0x57cdb5(0x284)](_0x1e0d67,_0xd51a22,_0x389801,_0x4cc017);},'decrypt':function(_0xecc02a,_0x12bba3,_0x166ea4){return _0x383bed(_0x12bba3)['decrypt'](_0x1e0d67,_0xecc02a,_0x12bba3,_0x166ea4);}};};}())});_0x1bf311['StreamCipher']=_0x118bf0[_0xe04162(0x3e2)]({'_doFinalize':function(){var _0x6932e7=_0xe04162,_0xe05bf1=this[_0x6932e7(0x25a)](!0x0);return _0xe05bf1;},'blockSize':0x1});var _0x2ff2e3=_0x1dfa78[_0xe04162(0x301)]={},_0x5197f2=_0x1bf311[_0xe04162(0x177)]=_0x40fc2c[_0xe04162(0x3e2)]({'createEncryptor':function(_0x23aee9,_0x2de09f){var _0x3bdffa=_0xe04162;return this[_0x3bdffa(0x36a)][_0x3bdffa(0x220)](_0x23aee9,_0x2de09f);},'createDecryptor':function(_0x4390fb,_0x1afc53){var _0x27db09=_0xe04162;return this[_0x27db09(0x242)][_0x27db09(0x220)](_0x4390fb,_0x1afc53);},'init':function(_0x24a41f,_0x1478fc){var _0x2f4359=_0xe04162;this['_cipher']=_0x24a41f,this[_0x2f4359(0x252)]=_0x1478fc;}}),_0x87adbc=_0x2ff2e3[_0xe04162(0x42c)]=(function(){var _0x180022=_0xe04162,_0x49b641=_0x5197f2[_0x180022(0x3e2)]();_0x49b641[_0x180022(0x36a)]=_0x49b641[_0x180022(0x3e2)]({'processBlock':function(_0x372647,_0x16ff7b){var _0x3d3ae0=_0x180022,_0x12b0b2=this[_0x3d3ae0(0x315)],_0x4fc998=_0x12b0b2['blockSize'];_0x5528db[_0x3d3ae0(0x3bf)](this,_0x372647,_0x16ff7b,_0x4fc998),_0x12b0b2[_0x3d3ae0(0x3e3)](_0x372647,_0x16ff7b),this['_prevBlock']=_0x372647[_0x3d3ae0(0x2d8)](_0x16ff7b,_0x16ff7b+_0x4fc998);}}),_0x49b641[_0x180022(0x242)]=_0x49b641[_0x180022(0x3e2)]({'processBlock':function(_0x502259,_0x13b65b){var _0x391be7=_0x180022,_0xfb7158=this[_0x391be7(0x315)],_0x264e45=_0xfb7158['blockSize'],_0x57d901=_0x502259[_0x391be7(0x2d8)](_0x13b65b,_0x13b65b+_0x264e45);_0xfb7158[_0x391be7(0x313)](_0x502259,_0x13b65b),_0x5528db[_0x391be7(0x3bf)](this,_0x502259,_0x13b65b,_0x264e45),this[_0x391be7(0x2c4)]=_0x57d901;}});function _0x5528db(_0x46db58,_0x219f0d,_0x1fc4fa){var _0x38ffbd=_0x180022,_0x37607d,_0x1f9cb6=this[_0x38ffbd(0x252)];_0x1f9cb6?(_0x37607d=_0x1f9cb6,this[_0x38ffbd(0x252)]=_0x49ed93):_0x37607d=this[_0x38ffbd(0x2c4)];for(var _0x3ca8dc=0x0;_0x3ca8dc<_0x1fc4fa;_0x3ca8dc++)_0x46db58[_0x219f0d+_0x3ca8dc]^=_0x37607d[_0x3ca8dc];}return _0x49b641;}()),_0x4d0d74=_0x1dfa78[_0xe04162(0x261)]={},_0x813189=_0x4d0d74[_0xe04162(0x2f6)]={'pad':function(_0x2f464f,_0x781e1e){var _0x80a72a=_0xe04162;for(var _0x4763b5=_0x781e1e*0x4,_0x2a41d9=_0x4763b5-_0x2f464f['sigBytes']%_0x4763b5,_0x1a3dd4=_0x2a41d9<<0x18|_0x2a41d9<<0x10|_0x2a41d9<<0x8|_0x2a41d9,_0x5d815e=[],_0x2d2438=0x0;_0x2d2438<_0x2a41d9;_0x2d2438+=0x4)_0x5d815e[_0x80a72a(0x247)](_0x1a3dd4);var _0x301747=_0x3a49a6[_0x80a72a(0x220)](_0x5d815e,_0x2a41d9);_0x2f464f[_0x80a72a(0x3b6)](_0x301747);},'unpad':function(_0x5e0aa5){var _0x48bc52=_0xe04162,_0x559d05=_0x5e0aa5[_0x48bc52(0x1e5)][_0x5e0aa5[_0x48bc52(0x3a2)]-0x1>>>0x2]&0xff;_0x5e0aa5['sigBytes']-=_0x559d05;}};_0x1bf311[_0xe04162(0x309)]=_0x118bf0[_0xe04162(0x3e2)]({'cfg':_0x118bf0[_0xe04162(0x2ba)][_0xe04162(0x3e2)]({'mode':_0x87adbc,'padding':_0x813189}),'reset':function(){var _0x43b9fb=_0xe04162,_0x491e4b;_0x118bf0[_0x43b9fb(0x3cb)][_0x43b9fb(0x3bf)](this);var _0x5c4529=this[_0x43b9fb(0x2ba)],_0x518871=_0x5c4529['iv'],_0x527ae8=_0x5c4529['mode'];this[_0x43b9fb(0x33b)]==this['_ENC_XFORM_MODE']?_0x491e4b=_0x527ae8[_0x43b9fb(0x1f3)]:(_0x491e4b=_0x527ae8['createDecryptor'],this[_0x43b9fb(0x3e6)]=0x1),this[_0x43b9fb(0x29c)]&&this[_0x43b9fb(0x29c)][_0x43b9fb(0x1e3)]==_0x491e4b?this[_0x43b9fb(0x29c)][_0x43b9fb(0x31d)](this,_0x518871&&_0x518871[_0x43b9fb(0x1e5)]):(this[_0x43b9fb(0x29c)]=_0x491e4b['call'](_0x527ae8,this,_0x518871&&_0x518871[_0x43b9fb(0x1e5)]),this['_mode']['__creator']=_0x491e4b);},'_doProcessBlock':function(_0x1ef801,_0x1657aa){var _0x242e48=_0xe04162;this[_0x242e48(0x29c)][_0x242e48(0x3de)](_0x1ef801,_0x1657aa);},'_doFinalize':function(){var _0x450a18=_0xe04162,_0x3bc134,_0x30ba8b=this['cfg'][_0x450a18(0x43c)];return this[_0x450a18(0x33b)]==this['_ENC_XFORM_MODE']?(_0x30ba8b[_0x450a18(0x261)](this['_data'],this[_0x450a18(0x39a)]),_0x3bc134=this['_process'](!0x0)):(_0x3bc134=this[_0x450a18(0x25a)](!0x0),_0x30ba8b[_0x450a18(0x2ac)](_0x3bc134)),_0x3bc134;},'blockSize':0x80/0x20});var _0x59ed20=_0x1bf311[_0xe04162(0x197)]=_0x40fc2c[_0xe04162(0x3e2)]({'init':function(_0x545829){this['mixIn'](_0x545829);},'toString':function(_0x4afec8){var _0x48b7cb=_0xe04162;return(_0x4afec8||this[_0x48b7cb(0x25b)])[_0x48b7cb(0x2fc)](this);}}),_0xbdea39=_0x1dfa78[_0xe04162(0x3d4)]={},_0x22b3bc=_0xbdea39[_0xe04162(0x402)]={'stringify':function(_0x1e0410){var _0x2f84f4=_0xe04162,_0x3b337b,_0x520f9f=_0x1e0410[_0x2f84f4(0x1ee)],_0x144775=_0x1e0410[_0x2f84f4(0x374)];return _0x144775?_0x3b337b=_0x3a49a6[_0x2f84f4(0x220)]([0x53616c74,0x65645f5f])[_0x2f84f4(0x3b6)](_0x144775)[_0x2f84f4(0x3b6)](_0x520f9f):_0x3b337b=_0x520f9f,_0x3b337b['toString'](_0x16e2a2);},'parse':function(_0xdf7778){var _0x455c5d=_0xe04162,_0x2db3a1,_0x5282c3=_0x16e2a2[_0x455c5d(0x18d)](_0xdf7778),_0x984e9f=_0x5282c3[_0x455c5d(0x1e5)];return _0x984e9f[0x0]==0x53616c74&&_0x984e9f[0x1]==0x65645f5f&&(_0x2db3a1=_0x3a49a6['create'](_0x984e9f['slice'](0x2,0x4)),_0x984e9f[_0x455c5d(0x37c)](0x0,0x4),_0x5282c3[_0x455c5d(0x3a2)]-=0x10),_0x59ed20[_0x455c5d(0x220)]({'ciphertext':_0x5282c3,'salt':_0x2db3a1});}},_0x2208d9=_0x1bf311[_0xe04162(0x262)]=_0x40fc2c['extend']({'cfg':_0x40fc2c['extend']({'format':_0x22b3bc}),'encrypt':function(_0x100c46,_0x2f7fac,_0x5b6a67,_0x208494){var _0x19977e=_0xe04162;_0x208494=this[_0x19977e(0x2ba)][_0x19977e(0x3e2)](_0x208494);var _0x3a97b5=_0x100c46['createEncryptor'](_0x5b6a67,_0x208494),_0x49b75f=_0x3a97b5[_0x19977e(0x17f)](_0x2f7fac),_0x4b746=_0x3a97b5['cfg'];return _0x59ed20[_0x19977e(0x220)]({'ciphertext':_0x49b75f,'key':_0x5b6a67,'iv':_0x4b746['iv'],'algorithm':_0x100c46,'mode':_0x4b746[_0x19977e(0x301)],'padding':_0x4b746[_0x19977e(0x43c)],'blockSize':_0x100c46[_0x19977e(0x39a)],'formatter':_0x208494[_0x19977e(0x3d4)]});},'decrypt':function(_0x5ea52b,_0x18ca21,_0x24d43a,_0x4beae5){var _0x16663a=_0xe04162;_0x4beae5=this[_0x16663a(0x2ba)][_0x16663a(0x3e2)](_0x4beae5),_0x18ca21=this[_0x16663a(0x1c1)](_0x18ca21,_0x4beae5[_0x16663a(0x3d4)]);var _0x294c74=_0x5ea52b['createDecryptor'](_0x24d43a,_0x4beae5)['finalize'](_0x18ca21['ciphertext']);return _0x294c74;},'_parse':function(_0x503938,_0x3ccdc2){var _0x21b110=_0xe04162;return typeof _0x503938==_0x21b110(0x1b2)?_0x3ccdc2[_0x21b110(0x18d)](_0x503938,this):_0x503938;}}),_0x20515e=_0x1dfa78[_0xe04162(0x21f)]={},_0x35e96e=_0x20515e[_0xe04162(0x402)]={'execute':function(_0xd836e2,_0x28e87c,_0x452dbb,_0x117ec6,_0x3a1be7){var _0xdcd57d=_0xe04162;if(_0x117ec6||(_0x117ec6=_0x3a49a6[_0xdcd57d(0x333)](0x40/0x8)),_0x3a1be7)var _0x511a96=_0x40f261[_0xdcd57d(0x220)]({'keySize':_0x28e87c+_0x452dbb,'hasher':_0x3a1be7})[_0xdcd57d(0x38a)](_0xd836e2,_0x117ec6);else var _0x511a96=_0x40f261[_0xdcd57d(0x220)]({'keySize':_0x28e87c+_0x452dbb})['compute'](_0xd836e2,_0x117ec6);var _0x256c85=_0x3a49a6[_0xdcd57d(0x220)](_0x511a96[_0xdcd57d(0x1e5)][_0xdcd57d(0x2d8)](_0x28e87c),_0x452dbb*0x4);return _0x511a96[_0xdcd57d(0x3a2)]=_0x28e87c*0x4,_0x59ed20[_0xdcd57d(0x220)]({'key':_0x511a96,'iv':_0x256c85,'salt':_0x117ec6});}},_0x378940=_0x1bf311[_0xe04162(0x24c)]=_0x2208d9[_0xe04162(0x3e2)]({'cfg':_0x2208d9[_0xe04162(0x2ba)][_0xe04162(0x3e2)]({'kdf':_0x35e96e}),'encrypt':function(_0x46430e,_0x3b3147,_0x5511ee,_0x1355ab){var _0x27fb14=_0xe04162;_0x1355ab=this['cfg'][_0x27fb14(0x3e2)](_0x1355ab);var _0x343640=_0x1355ab[_0x27fb14(0x21f)][_0x27fb14(0x37e)](_0x5511ee,_0x46430e[_0x27fb14(0x33c)],_0x46430e['ivSize'],_0x1355ab[_0x27fb14(0x374)],_0x1355ab[_0x27fb14(0x410)]);_0x1355ab['iv']=_0x343640['iv'];var _0x2b8151=_0x2208d9[_0x27fb14(0x284)][_0x27fb14(0x3bf)](this,_0x46430e,_0x3b3147,_0x343640[_0x27fb14(0x2de)],_0x1355ab);return _0x2b8151[_0x27fb14(0x1b4)](_0x343640),_0x2b8151;},'decrypt':function(_0x4a1666,_0x49281f,_0x484d9c,_0x5e5863){var _0x4d8aa2=_0xe04162;_0x5e5863=this[_0x4d8aa2(0x2ba)]['extend'](_0x5e5863),_0x49281f=this[_0x4d8aa2(0x1c1)](_0x49281f,_0x5e5863[_0x4d8aa2(0x3d4)]);var _0x38b349=_0x5e5863[_0x4d8aa2(0x21f)][_0x4d8aa2(0x37e)](_0x484d9c,_0x4a1666['keySize'],_0x4a1666['ivSize'],_0x49281f[_0x4d8aa2(0x374)],_0x5e5863['hasher']);_0x5e5863['iv']=_0x38b349['iv'];var _0x2a2896=_0x2208d9[_0x4d8aa2(0x436)][_0x4d8aa2(0x3bf)](this,_0x4a1666,_0x49281f,_0x38b349[_0x4d8aa2(0x2de)],_0x5e5863);return _0x2a2896;}});}();}));}(Je)),Je[_0x27b0c2(0x1ac)];}var Vr=Ve['exports'],si;function Gr(){var _0x2b099c=_0x180182;return si||(si=0x1,function(_0x25b2d5,_0x467b48){(function(_0x1bbcc3,_0x3eeaf7,_0x2d6add){_0x25b2d5['exports']=_0x3eeaf7(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x44e248){var _0x41f28e=_0x11d4;return(function(){var _0x129120=_0x11d4,_0x20b741=_0x44e248,_0x1a797c=_0x20b741['lib'],_0x4c0a04=_0x1a797c[_0x129120(0x309)],_0x12b820=_0x20b741['algo'],_0xa22e97=[],_0x22d392=[],_0x2ae79d=[],_0x354e90=[],_0x29a82d=[],_0x3864bf=[],_0x115bc2=[],_0x4346ed=[],_0x3c3140=[],_0x1c9c7e=[];(function(){for(var _0x3b6989=[],_0x242b66=0x0;_0x242b66<0x100;_0x242b66++)_0x242b66<0x80?_0x3b6989[_0x242b66]=_0x242b66<<0x1:_0x3b6989[_0x242b66]=_0x242b66<<0x1^0x11b;for(var _0x3cc29c=0x0,_0x4f183b=0x0,_0x242b66=0x0;_0x242b66<0x100;_0x242b66++){var _0x5d7035=_0x4f183b^_0x4f183b<<0x1^_0x4f183b<<0x2^_0x4f183b<<0x3^_0x4f183b<<0x4;_0x5d7035=_0x5d7035>>>0x8^_0x5d7035&0xff^0x63,_0xa22e97[_0x3cc29c]=_0x5d7035,_0x22d392[_0x5d7035]=_0x3cc29c;var _0x4c9572=_0x3b6989[_0x3cc29c],_0x2ab694=_0x3b6989[_0x4c9572],_0x529568=_0x3b6989[_0x2ab694],_0x276046=_0x3b6989[_0x5d7035]*0x101^_0x5d7035*0x1010100;_0x2ae79d[_0x3cc29c]=_0x276046<<0x18|_0x276046>>>0x8,_0x354e90[_0x3cc29c]=_0x276046<<0x10|_0x276046>>>0x10,_0x29a82d[_0x3cc29c]=_0x276046<<0x8|_0x276046>>>0x18,_0x3864bf[_0x3cc29c]=_0x276046;var _0x276046=_0x529568*0x1010101^_0x2ab694*0x10001^_0x4c9572*0x101^_0x3cc29c*0x1010100;_0x115bc2[_0x5d7035]=_0x276046<<0x18|_0x276046>>>0x8,_0x4346ed[_0x5d7035]=_0x276046<<0x10|_0x276046>>>0x10,_0x3c3140[_0x5d7035]=_0x276046<<0x8|_0x276046>>>0x18,_0x1c9c7e[_0x5d7035]=_0x276046,_0x3cc29c?(_0x3cc29c=_0x4c9572^_0x3b6989[_0x3b6989[_0x3b6989[_0x529568^_0x4c9572]]],_0x4f183b^=_0x3b6989[_0x3b6989[_0x4f183b]]):_0x3cc29c=_0x4f183b=0x1;}}());var _0x57745d=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4fd5be=_0x12b820[_0x129120(0x23a)]=_0x4c0a04['extend']({'_doReset':function(){var _0x466f1a=_0x129120,_0xf3a903;if(!(this[_0x466f1a(0x184)]&&this[_0x466f1a(0x305)]===this['_key'])){for(var _0x141fa6=this[_0x466f1a(0x305)]=this[_0x466f1a(0x239)],_0x2d402a=_0x141fa6[_0x466f1a(0x1e5)],_0x58f958=_0x141fa6[_0x466f1a(0x3a2)]/0x4,_0x327a8f=this[_0x466f1a(0x184)]=_0x58f958+0x6,_0x3629de=(_0x327a8f+0x1)*0x4,_0x28aad2=this[_0x466f1a(0x2e8)]=[],_0x1080d4=0x0;_0x1080d4<_0x3629de;_0x1080d4++)_0x1080d4<_0x58f958?_0x28aad2[_0x1080d4]=_0x2d402a[_0x1080d4]:(_0xf3a903=_0x28aad2[_0x1080d4-0x1],_0x1080d4%_0x58f958?_0x58f958>0x6&&_0x1080d4%_0x58f958==0x4&&(_0xf3a903=_0xa22e97[_0xf3a903>>>0x18]<<0x18|_0xa22e97[_0xf3a903>>>0x10&0xff]<<0x10|_0xa22e97[_0xf3a903>>>0x8&0xff]<<0x8|_0xa22e97[_0xf3a903&0xff]):(_0xf3a903=_0xf3a903<<0x8|_0xf3a903>>>0x18,_0xf3a903=_0xa22e97[_0xf3a903>>>0x18]<<0x18|_0xa22e97[_0xf3a903>>>0x10&0xff]<<0x10|_0xa22e97[_0xf3a903>>>0x8&0xff]<<0x8|_0xa22e97[_0xf3a903&0xff],_0xf3a903^=_0x57745d[_0x1080d4/_0x58f958|0x0]<<0x18),_0x28aad2[_0x1080d4]=_0x28aad2[_0x1080d4-_0x58f958]^_0xf3a903);for(var _0x11ebf9=this[_0x466f1a(0x1d3)]=[],_0x4e885a=0x0;_0x4e885a<_0x3629de;_0x4e885a++){var _0x1080d4=_0x3629de-_0x4e885a;if(_0x4e885a%0x4)var _0xf3a903=_0x28aad2[_0x1080d4];else var _0xf3a903=_0x28aad2[_0x1080d4-0x4];_0x4e885a<0x4||_0x1080d4<=0x4?_0x11ebf9[_0x4e885a]=_0xf3a903:_0x11ebf9[_0x4e885a]=_0x115bc2[_0xa22e97[_0xf3a903>>>0x18]]^_0x4346ed[_0xa22e97[_0xf3a903>>>0x10&0xff]]^_0x3c3140[_0xa22e97[_0xf3a903>>>0x8&0xff]]^_0x1c9c7e[_0xa22e97[_0xf3a903&0xff]];}}},'encryptBlock':function(_0x1de204,_0x2db330){var _0x3a3333=_0x129120;this[_0x3a3333(0x266)](_0x1de204,_0x2db330,this[_0x3a3333(0x2e8)],_0x2ae79d,_0x354e90,_0x29a82d,_0x3864bf,_0xa22e97);},'decryptBlock':function(_0x3e2a29,_0x4a1c1a){var _0x43cb7b=_0x129120,_0x2e378b=_0x3e2a29[_0x4a1c1a+0x1];_0x3e2a29[_0x4a1c1a+0x1]=_0x3e2a29[_0x4a1c1a+0x3],_0x3e2a29[_0x4a1c1a+0x3]=_0x2e378b,this[_0x43cb7b(0x266)](_0x3e2a29,_0x4a1c1a,this[_0x43cb7b(0x1d3)],_0x115bc2,_0x4346ed,_0x3c3140,_0x1c9c7e,_0x22d392);var _0x2e378b=_0x3e2a29[_0x4a1c1a+0x1];_0x3e2a29[_0x4a1c1a+0x1]=_0x3e2a29[_0x4a1c1a+0x3],_0x3e2a29[_0x4a1c1a+0x3]=_0x2e378b;},'_doCryptBlock':function(_0x1b583e,_0x23ee73,_0x19063e,_0x4d2267,_0x4ee3e4,_0x40d6ec,_0x236978,_0x833b35){for(var _0x55b4ad=this['_nRounds'],_0x239a92=_0x1b583e[_0x23ee73]^_0x19063e[0x0],_0x1e9824=_0x1b583e[_0x23ee73+0x1]^_0x19063e[0x1],_0x125d04=_0x1b583e[_0x23ee73+0x2]^_0x19063e[0x2],_0x4cc5d9=_0x1b583e[_0x23ee73+0x3]^_0x19063e[0x3],_0xf65518=0x4,_0x1674b8=0x1;_0x1674b8<_0x55b4ad;_0x1674b8++){var _0x1389d3=_0x4d2267[_0x239a92>>>0x18]^_0x4ee3e4[_0x1e9824>>>0x10&0xff]^_0x40d6ec[_0x125d04>>>0x8&0xff]^_0x236978[_0x4cc5d9&0xff]^_0x19063e[_0xf65518++],_0x28077e=_0x4d2267[_0x1e9824>>>0x18]^_0x4ee3e4[_0x125d04>>>0x10&0xff]^_0x40d6ec[_0x4cc5d9>>>0x8&0xff]^_0x236978[_0x239a92&0xff]^_0x19063e[_0xf65518++],_0x2657bf=_0x4d2267[_0x125d04>>>0x18]^_0x4ee3e4[_0x4cc5d9>>>0x10&0xff]^_0x40d6ec[_0x239a92>>>0x8&0xff]^_0x236978[_0x1e9824&0xff]^_0x19063e[_0xf65518++],_0x4f5bdf=_0x4d2267[_0x4cc5d9>>>0x18]^_0x4ee3e4[_0x239a92>>>0x10&0xff]^_0x40d6ec[_0x1e9824>>>0x8&0xff]^_0x236978[_0x125d04&0xff]^_0x19063e[_0xf65518++];_0x239a92=_0x1389d3,_0x1e9824=_0x28077e,_0x125d04=_0x2657bf,_0x4cc5d9=_0x4f5bdf;}var _0x1389d3=(_0x833b35[_0x239a92>>>0x18]<<0x18|_0x833b35[_0x1e9824>>>0x10&0xff]<<0x10|_0x833b35[_0x125d04>>>0x8&0xff]<<0x8|_0x833b35[_0x4cc5d9&0xff])^_0x19063e[_0xf65518++],_0x28077e=(_0x833b35[_0x1e9824>>>0x18]<<0x18|_0x833b35[_0x125d04>>>0x10&0xff]<<0x10|_0x833b35[_0x4cc5d9>>>0x8&0xff]<<0x8|_0x833b35[_0x239a92&0xff])^_0x19063e[_0xf65518++],_0x2657bf=(_0x833b35[_0x125d04>>>0x18]<<0x18|_0x833b35[_0x4cc5d9>>>0x10&0xff]<<0x10|_0x833b35[_0x239a92>>>0x8&0xff]<<0x8|_0x833b35[_0x1e9824&0xff])^_0x19063e[_0xf65518++],_0x4f5bdf=(_0x833b35[_0x4cc5d9>>>0x18]<<0x18|_0x833b35[_0x239a92>>>0x10&0xff]<<0x10|_0x833b35[_0x1e9824>>>0x8&0xff]<<0x8|_0x833b35[_0x125d04&0xff])^_0x19063e[_0xf65518++];_0x1b583e[_0x23ee73]=_0x1389d3,_0x1b583e[_0x23ee73+0x1]=_0x28077e,_0x1b583e[_0x23ee73+0x2]=_0x2657bf,_0x1b583e[_0x23ee73+0x3]=_0x4f5bdf;},'keySize':0x100/0x20});_0x20b741[_0x129120(0x23a)]=_0x4c0a04[_0x129120(0x3c2)](_0x4fd5be);}()),_0x44e248[_0x41f28e(0x23a)];}));}(Ve)),Ve[_0x2b099c(0x1ac)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x180182(0x1ac)],ai;function zr(){var _0x45932b=_0x180182;return ai||(ai=0x1,function(_0x2550df,_0x56a9cd){(function(_0x5ddb71,_0x2a1844){var _0x1b42f0=_0x11d4;_0x2550df[_0x1b42f0(0x1ac)]=_0x2a1844(ne());}(qr,function(_0x35a78d){var _0x30f2bf=_0x11d4;return _0x35a78d[_0x30f2bf(0x211)]['Utf8'];}));}(Xe)),Xe[_0x45932b(0x1ac)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x180182(0x1ac)],ci;function Qr(){var _0x17a392=_0x180182;return ci||(ci=0x1,function(_0x17c347,_0x3d5f6b){(function(_0x1a9103,_0x5729df){var _0x44296c=_0x11d4;_0x17c347[_0x44296c(0x1ac)]=_0x5729df(ne());}(Zr,function(_0x533117){var _0xd533de=_0x11d4;return(function(){var _0x3a9d61=_0x11d4;if(typeof ArrayBuffer==_0x3a9d61(0x2ed)){var _0x4c989f=_0x533117,_0x3bfa3c=_0x4c989f[_0x3a9d61(0x255)],_0x476c35=_0x3bfa3c[_0x3a9d61(0x1aa)],_0x28d6ea=_0x476c35[_0x3a9d61(0x31d)],_0x3e2024=_0x476c35[_0x3a9d61(0x31d)]=function(_0x5a6006){var _0x339593=_0x3a9d61;if(_0x5a6006 instanceof ArrayBuffer&&(_0x5a6006=new Uint8Array(_0x5a6006)),(_0x5a6006 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5a6006 instanceof Uint8ClampedArray||_0x5a6006 instanceof Int16Array||_0x5a6006 instanceof Uint16Array||_0x5a6006 instanceof Int32Array||_0x5a6006 instanceof Uint32Array||_0x5a6006 instanceof Float32Array||_0x5a6006 instanceof Float64Array)&&(_0x5a6006=new Uint8Array(_0x5a6006[_0x339593(0x379)],_0x5a6006[_0x339593(0x3c9)],_0x5a6006[_0x339593(0x279)])),_0x5a6006 instanceof Uint8Array){for(var _0x33f10a=_0x5a6006[_0x339593(0x279)],_0xc04c3c=[],_0xa48756=0x0;_0xa48756<_0x33f10a;_0xa48756++)_0xc04c3c[_0xa48756>>>0x2]|=_0x5a6006[_0xa48756]<<0x18-_0xa48756%0x4*0x8;_0x28d6ea['call'](this,_0xc04c3c,_0x33f10a);}else _0x28d6ea['apply'](this,arguments);};_0x3e2024[_0x3a9d61(0x433)]=_0x476c35;}}()),_0x533117[_0xd533de(0x255)][_0xd533de(0x1aa)];}));}(Ze)),Ze[_0x17a392(0x1ac)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x180182(0x1ac)],hi;function ns(){return hi||(hi=0x1,function(_0x42a9b3,_0x49f460){(function(_0x3d94c4,_0x27a7d6,_0x26fc0c){_0x42a9b3['exports']=_0x27a7d6(ne(),Ai());}(is,function(_0x4d042e){var _0x5e4c3c=_0x11d4;return _0x4d042e['pad'][_0x5e4c3c(0x3cd)]={'pad':function(){},'unpad':function(){}},_0x4d042e[_0x5e4c3c(0x261)][_0x5e4c3c(0x3cd)];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x647c65,_0x179997){var _0x513e59=_0x180182;const _0x13ce5d=_0x179997-_0x647c65['length']%_0x179997,_0x4add1b=String[_0x513e59(0x3f4)](_0x13ce5d)['repeat'](_0x13ce5d);return _0x647c65+_0x4add1b;}function as(_0x128889,_0x1d52d6){var _0x90b6bf=_0x180182;const _0x176bae=ts['random'](0x10),_0xed26ed=os(_0x128889,0x10),_0x48b810=Kr[_0x90b6bf(0x284)](Xr[_0x90b6bf(0x18d)](_0xed26ed),oi['parse'](_0x1d52d6),{'iv':_0x176bae,'padding':ss});return _0x176bae['concat'](_0x48b810[_0x90b6bf(0x1ee)])[_0x90b6bf(0x191)](oi);}function cs(){var _0xd00185=_0x180182;const _0x49e49b=_0x3ae151()[_0xd00185(0x44f)];if(_0x49e49b){const _0x5f3225={'time':Math[_0xd00185(0x28c)](Date[_0xd00185(0x407)]()/0x3e8),'domain':location[_0xd00185(0x41b)]};return as(JSON[_0xd00185(0x2fc)](_0x5f3225),_0x49e49b);}}var hs=Object[_0x180182(0x223)],_s=Object[_0x180182(0x2dc)],ls=(_0x4fb2c1,_0x184d6b,_0x5d8720,_0x4a56ed)=>{for(var _0x4ad2c5=_0x4a56ed>0x1?void 0x0:_0x4a56ed?_s(_0x184d6b,_0x5d8720):_0x184d6b,_0x4234da=_0x4fb2c1['length']-0x1,_0x2078b2;_0x4234da>=0x0;_0x4234da--)(_0x2078b2=_0x4fb2c1[_0x4234da])&&(_0x4ad2c5=(_0x4a56ed?_0x2078b2(_0x184d6b,_0x5d8720,_0x4ad2c5):_0x2078b2(_0x4ad2c5))||_0x4ad2c5);return _0x4a56ed&&_0x4ad2c5&&hs(_0x184d6b,_0x5d8720,_0x4ad2c5),_0x4ad2c5;},us=(_0x31640a,_0x3ebfe8)=>(_0x59c927,_0xf96688)=>_0x3ebfe8(_0x59c927,_0xf96688,_0x31640a);let ot=class{constructor(_0x21418c){var _0x5ed010=_0x180182;this[_0x5ed010(0x2a3)]=_0x21418c,this[_0x5ed010(0x24a)]();}['_initRequestHeader'](){var _0xf696fd=_0x180182;this[_0xf696fd(0x2a3)][_0xf696fd(0x1a9)]({'interceptor':(_0x59b1a5,_0x368a01)=>{var _0x3c8ae0=_0xf696fd;const _0x897f15=_0x59b1a5[_0x3c8ae0(0x357)],_0x1431e3=cs();return _0x1431e3&&_0x897f15['set'](_0x3c8ae0(0x189),_0x1431e3),_0x368a01(_0x59b1a5);}});}};ot=ls([us(0x0,_0x353e29(_0x3a1dbb))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x441afa,_0xc07556,_0x2199ed,_0x241548)=>{var _0x433d44=_0x180182;for(var _0x58ba8f=_0x241548>0x1?void 0x0:_0x241548?fs(_0xc07556,_0x2199ed):_0xc07556,_0x4661f9=_0x441afa[_0x433d44(0x22e)]-0x1,_0x357546;_0x4661f9>=0x0;_0x4661f9--)(_0x357546=_0x441afa[_0x4661f9])&&(_0x58ba8f=(_0x241548?_0x357546(_0xc07556,_0x2199ed,_0x58ba8f):_0x357546(_0x58ba8f))||_0x58ba8f);return _0x241548&&_0x58ba8f&&ds(_0xc07556,_0x2199ed,_0x58ba8f),_0x58ba8f;},mt=(_0x378b46,_0xff41af)=>(_0x11e32a,_0x18a5a5)=>_0xff41af(_0x11e32a,_0x18a5a5,_0x378b46);let Ot=class extends _0x528acc{constructor(_0x8983c4,_0x476396,_0x449128){var _0x4121e7=_0x180182;super(),N(this,_0x4121e7(0x3a9),new _0x2de85e(null)),N(this,_0x4121e7(0x36d),this[_0x4121e7(0x3a9)][_0x4121e7(0x473)]()),(this[_0x4121e7(0x1a2)]=_0x8983c4,this['_snapshotService']=_0x476396,this[_0x4121e7(0x171)]=_0x449128);}async[_0x180182(0x384)](_0x3c12b3,_0x27e2f5,_0x2ee944){var _0x36d2e3=_0x180182;this[_0x36d2e3(0x3a9)]['next']({'unitId':_0x3c12b3,'type':_0x27e2f5,'subUnitId':_0x2ee944});let _0x154ee4=null;switch(_0x27e2f5){case Q[_0x36d2e3(0x45b)]:{_0x154ee4=await this[_0x36d2e3(0x353)](_0x3c12b3);break;}case Q[_0x36d2e3(0x282)]:{_0x154ee4=await this[_0x36d2e3(0x368)](_0x3c12b3);break;}default:{this['_logService']['error'](_0x36d2e3(0x3a1),_0x36d2e3(0x341));break;}}return _0x154ee4;}async[_0x180182(0x353)](_0x32c3fe){var _0x451945=_0x180182,_0xb330b1;let _0x10dccd=0x0;const _0x267f77=await((_0xb330b1=this['_localCacheService'])==null?void 0x0:_0xb330b1[_0x451945(0x253)](_0x32c3fe));return _0x267f77&&(_0x267f77[_0x451945(0x234)]||_0x267f77[_0x451945(0x3f8)][_0x451945(0x22e)]!==0x0)&&(_0x10dccd=_0x267f77[_0x451945(0x2b1)]),_0x10dccd===0x0&&this[_0x451945(0x1a2)][_0x451945(0x23d)](_0x451945(0x3a1),_0x451945(0x2d2)),this[_0x451945(0x35f)][_0x451945(0x3fa)](_0x32c3fe,_0x10dccd);}async['_loadDoc'](_0x2688fd){var _0x17530a=_0x180182,_0x2f896f;let _0x14b5a8=0x0;const _0xacbd3=await((_0x2f896f=this[_0x17530a(0x171)])==null?void 0x0:_0x2f896f['loadOfflineData'](_0x2688fd));return _0xacbd3&&(_0xacbd3['awaitingChangeset']||_0xacbd3[_0x17530a(0x3f8)][_0x17530a(0x22e)]!==0x0)&&(_0x14b5a8=_0xacbd3[_0x17530a(0x2b1)]),_0x14b5a8===0x0&&this[_0x17530a(0x1a2)][_0x17530a(0x23d)]('[DataLoaderService]',_0x17530a(0x2d2)),this[_0x17530a(0x35f)][_0x17530a(0x175)](_0x2688fd,_0x14b5a8);}};Ot=vs([mt(0x0,_0x3e9f29),mt(0x1,_0x353e29(_0x1574a3)),mt(0x2,_0x2d320a(J))],Ot);var ps=Object[_0x180182(0x223)],ms=Object[_0x180182(0x2dc)],gs=(_0x4e1125,_0x23271f,_0x5ec37f,_0x2971ca)=>{var _0x3a5e48=_0x180182;for(var _0x25950b=_0x2971ca>0x1?void 0x0:_0x2971ca?ms(_0x23271f,_0x5ec37f):_0x23271f,_0x202693=_0x4e1125[_0x3a5e48(0x22e)]-0x1,_0x3a659d;_0x202693>=0x0;_0x202693--)(_0x3a659d=_0x4e1125[_0x202693])&&(_0x25950b=(_0x2971ca?_0x3a659d(_0x23271f,_0x5ec37f,_0x25950b):_0x3a659d(_0x25950b))||_0x25950b);return _0x2971ca&&_0x25950b&&ps(_0x23271f,_0x5ec37f,_0x25950b),_0x25950b;},gt=(_0x5159b2,_0x1f04c9)=>(_0xb34a70,_0x57a284)=>_0x1f04c9(_0xb34a70,_0x57a284,_0x5159b2);const Ss=[_0x180182(0x288),_0x180182(0x409),_0x180182(0x3af),_0x180182(0x215),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x180182(0x16a),Ts='/universer-api/stream/file/upload',Cs=_0x180182(0x181),Rs=_0x180182(0x3e9);let yt=class{constructor(_0x3d9575,_0x82a0dc,_0x5975bd){var _0xe20474=_0x180182;N(this,_0xe20474(0x449),0x0),N(this,_0xe20474(0x443),new _0x3be824()),N(this,_0xe20474(0x303),this['_change$']),N(this,_0xe20474(0x311),new Map()),(this[_0xe20474(0x2a3)]=_0x3d9575,this[_0xe20474(0x2c9)]=_0x82a0dc,this['_univerInstanceService']=_0x5975bd);}[_0x180182(0x1c5)](_0x46cb06){var _0x4eb085=_0x180182;this['_waitCount']=_0x46cb06,this[_0x4eb085(0x443)][_0x4eb085(0x1c9)](_0x46cb06);}[_0x180182(0x381)](_0x11f682,_0x3d944b){var _0x40f449=_0x180182;if(_0x3d944b===_0xa41595[_0x40f449(0x432)]){const _0x36a862=new Image();return _0x36a862[_0x40f449(0x327)]=_0x11f682,_0x36a862;}return this[_0x40f449(0x311)][_0x40f449(0x42e)](_0x11f682);}[_0x180182(0x2d1)](_0x1e39d1,_0x221f53,_0x5142c9){var _0x2434e1=_0x180182;_0x221f53===_0xa41595[_0x2434e1(0x432)]||_0x5142c9==null||this[_0x2434e1(0x311)][_0x2434e1(0x3e8)](_0x1e39d1,_0x5142c9);}async['getImage'](_0x5dffe5){var _0x53737d=_0x180182;try{const _0x38a65f=this[_0x53737d(0x183)](this[_0x53737d(0x447)](),''+_0x5dffe5),_0x84f37c=(await this['_httpService']['get'](_0x38a65f))['body'];if(_0x84f37c[_0x53737d(0x458)]&&_0x84f37c[_0x53737d(0x458)][_0x53737d(0x44d)]===Ii['OK']){const _0x381475=new URL(_0x84f37c[_0x53737d(0x3a8)],this[_0x53737d(0x339)]())[_0x53737d(0x191)]();return Promise[_0x53737d(0x17e)](_0x381475);}return Promise['reject'](_0x84f37c[_0x53737d(0x458)]);}catch(_0x53493b){return Promise['reject'](_0x53493b);}}async[_0x180182(0x1b0)](_0x32bc52){var _0x730a9c=_0x180182;let _0x1b841f='';if(!Ss[_0x730a9c(0x1eb)](_0x32bc52[_0x730a9c(0x3b0)]))return this['_decreaseWaiting'](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1d7)]));if(_0x32bc52[_0x730a9c(0x18f)]>Es)return this[_0x730a9c(0x3c7)](),Promise['reject'](new Error(_0x3d17a0[_0x730a9c(0x386)]));try{const _0x385b92=new FormData();_0x385b92[_0x730a9c(0x1bf)]('file',_0x32bc52);const _0x19c321=this['_univerInstanceService'][_0x730a9c(0x336)](),_0x3bf6b5=_0x19c321==null?void 0x0:_0x19c321['getUnitId']();if(!_0x3bf6b5)throw new Error(_0x730a9c(0x31c));const _0x2c0c0d=this[_0x730a9c(0x3d6)]()+_0x730a9c(0x286)+_0x32bc52[_0x730a9c(0x18f)][_0x730a9c(0x191)]()+_0x730a9c(0x1c2)+Ti['UnitEmbedded']+'&assign='+encodeURIComponent(_0x3bf6b5),_0x4cb8ee=await(await fetch(_0x2c0c0d,{'method':_0x730a9c(0x26f),'body':_0x385b92}))[_0x730a9c(0x203)]();if(typeof _0x4cb8ee[_0x730a9c(0x347)]!=_0x730a9c(0x1b2))return this['_decreaseWaiting'](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1fb)]));_0x1b841f=_0x4cb8ee[_0x730a9c(0x347)];}catch{return this[_0x730a9c(0x3c7)](),Promise[_0x730a9c(0x29f)](new Error(_0x3d17a0[_0x730a9c(0x1fb)]));}return new Promise((_0x41b0c4,_0xf72bce)=>{var _0x332cfd=_0x730a9c;const _0x116b09=new FileReader();_0x116b09[_0x332cfd(0x243)](_0x32bc52),_0x116b09[_0x332cfd(0x400)]=_0x28ee77=>{var _0x5684f1=_0x332cfd,_0x23c865;const _0x18e88d=(_0x23c865=_0x28ee77['target'])==null?void 0x0:_0x23c865['result'];if(_0x18e88d==null){this['_decreaseWaiting'](),_0xf72bce(new Error(_0x3d17a0['ERROR_IMAGE']));return;}const _0x2baf11=_0x51a629[_0x5684f1(0x31f)](0x6);_0x41b0c4({'imageId':_0x2baf11,'imageSourceType':_0xa41595['UUID'],'source':_0x1b841f,'base64Cache':_0x18e88d,'status':_0x3d17a0[_0x5684f1(0x399)]}),this[_0x5684f1(0x3c7)]();};});}[_0x180182(0x3d6)](){var _0x34187e=_0x180182,_0x5739e3,_0x2f4f8e;const _0xc80cc7=this[_0x34187e(0x2c9)][_0x34187e(0x3b2)](Is),_0x278374=this['_configService'][_0x34187e(0x3b2)](q);return(_0x2f4f8e=(_0x5739e3=_0x278374==null?void 0x0:_0x278374[_0x34187e(0x294)])!=null?_0x5739e3:_0xc80cc7)!=null?_0x2f4f8e:Ts;}[_0x180182(0x447)](){var _0x2e11dc=_0x180182,_0x30755f,_0xbc0c8d;const _0x3b1c65=this[_0x2e11dc(0x2c9)][_0x2e11dc(0x3b2)](Cs),_0xc3213=this[_0x2e11dc(0x2c9)]['getConfig'](q);return(_0xbc0c8d=(_0x30755f=_0xc3213==null?void 0x0:_0xc3213[_0x2e11dc(0x3f5)])!=null?_0x30755f:_0x3b1c65)!=null?_0xbc0c8d:Rs;}[_0x180182(0x339)](){var _0x4d15c4=_0x180182,_0x3f5d22;const _0x353f8c=this['_configService']['getConfig'](q);return(_0x3f5d22=_0x353f8c==null?void 0x0:_0x353f8c[_0x4d15c4(0x43a)])!=null?_0x3f5d22:location[_0x4d15c4(0x34f)];}['_replaceFileID'](_0x7974f6,_0x4ed42c){var _0x434068=_0x180182;return _0x7974f6[_0x434068(0x1a8)](_0x434068(0x1e7),_0x4ed42c);}[_0x180182(0x3c7)](){var _0x3c5d30=_0x180182;this[_0x3c5d30(0x449)]-=0x1,this[_0x3c5d30(0x443)]['next'](this[_0x3c5d30(0x449)]);}};yt=gs([gt(0x0,_0x353e29(_0x3a1dbb)),gt(0x1,_0x1d880c),gt(0x2,_0x353e29(_0xbe923a))],yt);var bs=Object[_0x180182(0x223)],Os=Object[_0x180182(0x2dc)],ys=(_0x4deef1,_0x5408d1,_0x2365cc,_0x241c4c)=>{var _0x21d99a=_0x180182;for(var _0x4eddd9=_0x241c4c>0x1?void 0x0:_0x241c4c?Os(_0x5408d1,_0x2365cc):_0x5408d1,_0x1b70a0=_0x4deef1[_0x21d99a(0x22e)]-0x1,_0x58caa0;_0x1b70a0>=0x0;_0x1b70a0--)(_0x58caa0=_0x4deef1[_0x1b70a0])&&(_0x4eddd9=(_0x241c4c?_0x58caa0(_0x5408d1,_0x2365cc,_0x4eddd9):_0x58caa0(_0x4eddd9))||_0x4eddd9);return _0x241c4c&&_0x4eddd9&&bs(_0x5408d1,_0x2365cc,_0x4eddd9),_0x4eddd9;},_i=(_0x2feb91,_0xaa6629)=>(_0x29afe9,_0x2c7d31)=>_0xaa6629(_0x29afe9,_0x2c7d31,_0x2feb91);function _0x11d4(_0x504601,_0x254a07){var _0x2aa82f=_0x2aa8();return _0x11d4=function(_0x11d460,_0x1f207f){_0x11d460=_0x11d460-0x168;var _0x3ae042=_0x2aa82f[_0x11d460];return _0x3ae042;},_0x11d4(_0x504601,_0x254a07);}const Ns='/universer-api/authz';let Nt=class{constructor(_0x4b8423,_0xea9fb3){var _0x2eb8c7=_0x180182;this[_0x2eb8c7(0x2c9)]=_0x4b8423,this[_0x2eb8c7(0x3bb)]=_0xea9fb3;}[_0x180182(0x232)](){var _0x8ac20f=_0x180182,_0x3607f2,_0x6e5c64;const _0x356fd6=this[_0x8ac20f(0x2c9)][_0x8ac20f(0x3b2)](Pi),_0x4405ab=this['_configService'][_0x8ac20f(0x3b2)](q);return(_0x6e5c64=(_0x3607f2=_0x4405ab==null?void 0x0:_0x4405ab['authzUrl'])!=null?_0x3607f2:_0x356fd6)!=null?_0x6e5c64:Ns;}async[_0x180182(0x3c3)](_0x5886fb){var _0x506c18=_0x180182;const _0xa5018=this[_0x506c18(0x232)]()+_0x506c18(0x442);return{'list':[{'title':_0x506c18(0x330),'mentions':(await this[_0x506c18(0x3bb)][_0x506c18(0x42e)](_0xa5018,{'params':{'objectID':_0x5886fb['unitId'],'unitID':_0x5886fb[_0x506c18(0x18a)]}}))[_0x506c18(0x406)][_0x506c18(0x246)]['map'](_0x5415b4=>({'objectId':_0x5415b4['id'],'name':_0x5415b4[_0x506c18(0x1da)][_0x506c18(0x31e)],'metadata':{'icon':_0x5415b4[_0x506c18(0x1da)][_0x506c18(0x3da)]},'label':_0x5415b4[_0x506c18(0x1da)]['name'],'objectType':_0x155c13[_0x506c18(0x26b)]})),'metadata':{},'type':_0x155c13['PERSON']}]};}};Nt=ys([_i(0x0,_0x353e29(_0x1d880c)),_i(0x1,_0x353e29(_0x3a1dbb))],Nt);var Ds=Object['defineProperty'],Ps=Object[_0x180182(0x2dc)],ws=(_0x539a27,_0x3f5687,_0x4df901,_0x25a1c2)=>{var _0x1a76c1=_0x180182;for(var _0x2bebcc=_0x25a1c2>0x1?void 0x0:_0x25a1c2?Ps(_0x3f5687,_0x4df901):_0x3f5687,_0x4fc8a8=_0x539a27[_0x1a76c1(0x22e)]-0x1,_0x18536e;_0x4fc8a8>=0x0;_0x4fc8a8--)(_0x18536e=_0x539a27[_0x4fc8a8])&&(_0x2bebcc=(_0x25a1c2?_0x18536e(_0x3f5687,_0x4df901,_0x2bebcc):_0x18536e(_0x2bebcc))||_0x2bebcc);return _0x25a1c2&&_0x2bebcc&&Ds(_0x3f5687,_0x4df901,_0x2bebcc),_0x2bebcc;},Se=(_0x1f8327,_0x56f81d)=>(_0xfc79ca,_0x1107d2)=>_0x56f81d(_0xfc79ca,_0x1107d2,_0x1f8327);let at=class extends _0x528acc{constructor(_0x36de8a,_0x598ed6,_0x900256,_0x250c74,_0xbede23,_0x2ba17a,_0x38128a){var _0x2d81ab=_0x180182;super(),this[_0x2d81ab(0x3ff)]=_0x36de8a,this[_0x2d81ab(0x207)]=_0x598ed6,this[_0x2d81ab(0x206)]=_0x900256,this['_collaborationSessionService']=_0x250c74,this[_0x2d81ab(0x1a5)]=_0xbede23,this[_0x2d81ab(0x295)]=_0x2ba17a,this['_undoRedoService']=_0x38128a,this[_0x2d81ab(0x2ec)](),this[_0x2d81ab(0x30e)]();}[_0x180182(0x30e)](){var _0xe5cd70=_0x180182;const _0x2b4b6d=async _0x103467=>{var _0x44c227=_0x11d4;(await this[_0x44c227(0x404)]['requireSession'](_0x103467))['event$'][_0x44c227(0x1df)](_0x403452(_0x209cb6=>_0x209cb6[_0x44c227(0x41f)]===_0x34671a[_0x44c227(0x344)]),_0x247c3e(this[_0x44c227(0x1e2)]))['subscribe'](_0x4dad55=>{var _0x161587=_0x44c227;const _0xd3a45e=_0x4dad55,{reason:_0x390ef5}=_0xd3a45e[_0x161587(0x180)];this[_0x161587(0x1a5)][_0x161587(0x3f6)]({'id':se[_0x161587(0x41c)],'data':_0x390ef5}),this[_0x161587(0x206)][_0x161587(0x1af)](new _0x1ea93e(_0x103467)['id'],!0x1),this[_0x161587(0x404)][_0x161587(0x457)](_0x103467);});};_0x557492(this[_0xe5cd70(0x207)][_0xe5cd70(0x2bf)](_0xe90df[_0xe5cd70(0x45b)]),this['_univerInstanceService'][_0xe5cd70(0x2bf)](_0xe90df[_0xe5cd70(0x282)]))[_0xe5cd70(0x1df)](_0x582953(_0x13efd4=>_0x13efd4['getUnitId']()),_0x403452(_0x11d424=>!_0x10dc22(_0x11d424)),_0x247c3e(this[_0xe5cd70(0x1e2)]))['subscribe'](_0x251198=>{_0x2b4b6d(_0x251198);});}[_0x180182(0x2ec)](){var _0x3fa651=_0x180182;const _0x2178b0=async _0xa17330=>{var _0x4b3488=_0x11d4;const _0x6857c0=await this[_0x4b3488(0x404)][_0x4b3488(0x3f1)](_0xa17330),_0x2836a5=this[_0x4b3488(0x3ff)][_0x4b3488(0x42e)](_0x348be8);_0x6857c0[_0x4b3488(0x27b)][_0x4b3488(0x1df)](_0x403452(_0x21f299=>_0x21f299['eventID']===_0x34671a['UPDATE_PERMISSION_OBJ']),_0x247c3e(this[_0x4b3488(0x1e2)]))['subscribe'](_0x4f8797=>{var _0x1f49a2=_0x4b3488;const _0x31cb13=_0x4f8797,{objectId:_0x4ca551}=_0x31cb13['data'];_0x4ca551===_0xa17330?_0x2836a5[_0x1f49a2(0x201)](_0xa17330):_0x2836a5[_0x1f49a2(0x2e9)](_0xa17330,_0x4ca551);});};_0x557492(this[_0x3fa651(0x207)][_0x3fa651(0x2bf)](_0xe90df['UNIVER_SHEET']),this[_0x3fa651(0x207)][_0x3fa651(0x2bf)](_0xe90df['UNIVER_DOC']))[_0x3fa651(0x1df)](_0x582953(_0x56f013=>_0x56f013[_0x3fa651(0x20f)]()),_0x403452(_0x2525af=>!_0x10dc22(_0x2525af)),_0x247c3e(this[_0x3fa651(0x1e2)]))[_0x3fa651(0x24d)](_0x133c87=>{_0x2178b0(_0x133c87);});}};at=ws([Se(0x0,_0x353e29(_0x514172)),Se(0x1,_0xbe923a),Se(0x2,_0x164670),Se(0x3,_0x353e29(Le)),Se(0x4,_0x353e29(pe)),Se(0x5,_0x52f070),Se(0x6,_0x3d63ec)],at);var Us=Object[_0x180182(0x223)],As=Object['getOwnPropertyDescriptor'],xs=(_0x1228ef,_0x151bd1,_0x2fb1aa,_0x56420d)=>{var _0x539455=_0x180182;for(var _0x37a48a=_0x56420d>0x1?void 0x0:_0x56420d?As(_0x151bd1,_0x2fb1aa):_0x151bd1,_0x278d57=_0x1228ef[_0x539455(0x22e)]-0x1,_0x454328;_0x278d57>=0x0;_0x278d57--)(_0x454328=_0x1228ef[_0x278d57])&&(_0x37a48a=(_0x56420d?_0x454328(_0x151bd1,_0x2fb1aa,_0x37a48a):_0x454328(_0x37a48a))||_0x37a48a);return _0x56420d&&_0x37a48a&&Us(_0x151bd1,_0x2fb1aa,_0x37a48a),_0x37a48a;},li=(_0x30fa14,_0x5ea362)=>(_0x5f1b29,_0x4cde44)=>_0x5ea362(_0x5f1b29,_0x4cde44,_0x30fa14);let Dt=class{constructor(_0x4f3687,_0x2c4a7f){var _0x2431b0=_0x180182;this[_0x2431b0(0x2c9)]=_0x4f3687,this[_0x2431b0(0x2a3)]=_0x2c4a7f;}async[_0x180182(0x325)](_0x3e1c1a,_0x57dbfe){var _0x318fb6=_0x180182,_0x47a74e;const {unitID:_0x4e5b3e,type:_0xd3e6b5,revision:_0x58db66=0x0}=_0x57dbfe,_0x520e85=this[_0x318fb6(0x2d5)]()+'/'+_0xd3e6b5+_0x318fb6(0x2fa)+_0x4e5b3e+_0x318fb6(0x276)+_0x58db66,_0x231f78=(await this['_httpService'][_0x318fb6(0x42e)](_0x520e85))[_0x318fb6(0x406)],_0x5b9634=(_0x47a74e=_0x231f78[_0x318fb6(0x174)])==null?void 0x0:_0x47a74e[_0x318fb6(0x2ae)];if(_0x5b9634){const _0x5d0590=_0x5b9634==null?void 0x0:_0x5b9634['originalMeta'],_0x53ebb2=_0x3f2056['encode'](_0x3899e9(_0x5d0590));_0x5b9634[_0x318fb6(0x20c)]=_0x53ebb2,Object[_0x318fb6(0x2c8)](_0x5b9634[_0x318fb6(0x3b5)])[_0x318fb6(0x46f)](([,_0x43899e])=>{var _0x3e2ff7=_0x318fb6;const _0x1ef09e=_0x43899e[_0x3e2ff7(0x20c)],_0x4eb834=_0x3f2056[_0x3e2ff7(0x46e)](_0x3899e9(_0x1ef09e));_0x43899e[_0x3e2ff7(0x20c)]=_0x4eb834;});}return _0x231f78;}async['getSheetBlock'](_0x3a8e21,_0x341bb3){var _0x4196e1=_0x180182;const {unitID:_0x4e5968,type:_0x300f88,blockID:_0x5d9f08}=_0x341bb3,_0xb23ff7=this['_getAPIPrefix']()+'/'+_0x300f88+_0x4196e1(0x2fa)+_0x4e5968+_0x4196e1(0x1d5)+_0x5d9f08;return(await this[_0x4196e1(0x2a3)][_0x4196e1(0x42e)](_0xb23ff7))[_0x4196e1(0x406)];}async[_0x180182(0x292)](_0x178adc,_0xf5d552){var _0x18fcb5=_0x180182;const {unitID:_0x270aa9,type:_0x4dca2d,blockID:_0x151ed0}=_0xf5d552,_0x4f1b6f=this[_0x18fcb5(0x278)]()+_0x18fcb5(0x1d5)+_0x4dca2d+_0x18fcb5(0x2fa)+_0x270aa9+_0x18fcb5(0x1d5)+_0x151ed0;return(await this[_0x18fcb5(0x2a3)][_0x18fcb5(0x42e)](_0x4f1b6f))[_0x18fcb5(0x406)];}async['fetchMissingChangesets'](_0x54c645,_0x53ea13){var _0x34fc81=_0x180182;const {unitID:_0x1a2a40,type:_0x29621c,from:_0x26230a,to:_0x5a53c9}=_0x53ea13,_0x10f931=this[_0x34fc81(0x278)]()+'/'+_0x29621c+'/unit/'+_0x1a2a40+_0x34fc81(0x26e)+_0x26230a+_0x34fc81(0x216)+_0x5a53c9;return(await this[_0x34fc81(0x2a3)]['get'](_0x10f931))[_0x34fc81(0x406)];}[_0x180182(0x2d5)](){var _0x3c5557=_0x180182,_0x41140a;return(_0x41140a=this[_0x3c5557(0x2c9)]['getConfig'](Tn))!=null?_0x41140a:this[_0x3c5557(0x278)]();}[_0x180182(0x278)](){var _0x552a94=_0x180182,_0x468f82,_0x11ad68;const _0x464623=this['_configService'][_0x552a94(0x3b2)](En),_0xd0cbe7=this[_0x552a94(0x2c9)][_0x552a94(0x3b2)](q);return(_0x11ad68=(_0x468f82=_0xd0cbe7==null?void 0x0:_0xd0cbe7[_0x552a94(0x229)])!=null?_0x468f82:_0x464623)!=null?_0x11ad68:In;}async[_0x180182(0x29b)](_0x22cdb6,_0x4c6147){var _0x4bae49=_0x180182;const _0x5cc4a9=_0x4bae49(0x46c)+_0x4c6147['type']+'/unit/'+_0x4c6147[_0x4bae49(0x1ea)]+_0x4bae49(0x2d7);return(await this['_httpService'][_0x4bae49(0x42e)](_0x5cc4a9,{'params':{'resourceId':JSON[_0x4bae49(0x2fc)](_0x4c6147[_0x4bae49(0x3e5)])}}))['body'];}['saveSnapshot'](){var _0x34ab0e=_0x180182;throw new Error(_0x34ab0e(0x3a4));}['saveSheetBlock'](){var _0x558edb=_0x180182;throw new Error(_0x558edb(0x3a4));}[_0x180182(0x244)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x180182(0x3d7)](){var _0x41f1c9=_0x180182;throw new Error(_0x41f1c9(0x3a4));}[_0x180182(0x27d)](){var _0x355f7c=_0x180182;throw new Error(_0x355f7c(0x3a4));}};Dt=xs([li(0x0,_0x1d880c),li(0x1,_0x353e29(_0x3a1dbb))],Dt);var Ls=Object[_0x180182(0x223)],Ms=Object[_0x180182(0x2dc)],$s=(_0x1c50d7,_0x322adb,_0x153b38,_0x5bd966)=>{for(var _0xcc571e=_0x5bd966>0x1?void 0x0:_0x5bd966?Ms(_0x322adb,_0x153b38):_0x322adb,_0x775680=_0x1c50d7['length']-0x1,_0x3de3cc;_0x775680>=0x0;_0x775680--)(_0x3de3cc=_0x1c50d7[_0x775680])&&(_0xcc571e=(_0x5bd966?_0x3de3cc(_0x322adb,_0x153b38,_0xcc571e):_0x3de3cc(_0xcc571e))||_0xcc571e);return _0x5bd966&&_0xcc571e&&Ls(_0x322adb,_0x153b38,_0xcc571e),_0xcc571e;},Ae=(_0x1cd196,_0x39cb25)=>(_0x488bd1,_0x952f6e)=>_0x39cb25(_0x488bd1,_0x952f6e,_0x1cd196);let Pt=class extends _0xfdf7e{constructor(_0x1c28ac,_0x23d92d,_0x58a715,_0xc89722,_0x2b3ed9){var _0x5795ea=_0x180182;super(_0x1c28ac,_0x23d92d,_0x58a715),this[_0x5795ea(0x322)]=_0xc89722,this['_logService']=_0x2b3ed9;}[_0x180182(0x198)](_0x41ac92,_0x22829d){var _0x29127c=_0x180182;const _0x50f210=this['_getUndoStack'](_0x41ac92);if(_0x50f210)try{const _0x3dd213=this[_0x29127c(0x314)](_0x50f210,_0x22829d);this[_0x29127c(0x213)](_0x41ac92,_0x3dd213);}catch(_0x8d4759){this[_0x29127c(0x1a2)][_0x29127c(0x458)]('[CollaborationUndoRedoService]',_0x8d4759),this[_0x29127c(0x3f9)](_0x41ac92);}const _0x3165f=this[_0x29127c(0x3d8)](_0x41ac92);if(_0x3165f)try{const _0x4b9292=this[_0x29127c(0x314)](_0x3165f,_0x22829d);this[_0x29127c(0x219)](_0x41ac92,_0x4b9292);}catch(_0x13f56e){this[_0x29127c(0x1a2)]['error'](_0x13f56e),this[_0x29127c(0x417)](_0x41ac92);}}[_0x180182(0x3f9)](_0x4f94df){var _0x30e0ee=_0x180182;const _0x2f2d49=this['_getUndoStack'](_0x4f94df);_0x2f2d49&&(_0x2f2d49['length']=0x0,this[_0x30e0ee(0x416)]());}['_clearRedo'](_0x19d100){var _0x448bcd=_0x180182;const _0x581eb4=this[_0x448bcd(0x3d8)](_0x19d100);_0x581eb4&&(_0x581eb4[_0x448bcd(0x22e)]=0x0,this['_updateStatus']());}[_0x180182(0x213)](_0x35abe5,_0x5c6fff){var _0x23db23=_0x180182;this[_0x23db23(0x3f7)]['set'](_0x35abe5,_0x5c6fff),this[_0x23db23(0x416)]();}[_0x180182(0x219)](_0xd7602,_0x23e773){var _0x234e47=_0x180182;this[_0x234e47(0x3c5)]['set'](_0xd7602,_0x23e773),this['_updateStatus']();}['_transformStack'](_0x2138f6,_0x5de1d7){var _0x182495=_0x180182;const _0x53966e=[];let _0x580212=_0x5de1d7,_0x212847=_0x5de1d7;for(let _0x3f6fed=_0x2138f6[_0x182495(0x22e)]-0x1;_0x3f6fed>=0x0;_0x3f6fed--){const {unitID:_0x3bc7c6,undoMutations:_0x5577ae,redoMutations:_0x3021e0}=_0x2138f6[_0x3f6fed],_0x542cd3=this[_0x182495(0x322)][_0x182495(0x2b2)](_0x580212,_0x5577ae),_0x205f86=this[_0x182495(0x322)][_0x182495(0x2b2)](_0x212847,_0x3021e0);if(_0x38dae7(_0x542cd3)||_0x38dae7(_0x205f86)){this['_logService']['error']('[CollaborationUndoRedoService]',_0x182495(0x248),_0x542cd3,_0x205f86);break;}_0x580212=_0x542cd3[_0x182495(0x44c)],_0x212847=_0x205f86['c1Prime'],_0x53966e[_0x182495(0x247)]({'unitID':_0x3bc7c6,'undoMutations':_0x542cd3['m2Prime'],'redoMutations':_0x205f86[_0x182495(0x42f)]});}return _0x53966e[_0x182495(0x2c3)]();}};Pt=$s([Ae(0x0,_0xbe923a),Ae(0x1,_0x3cf875),Ae(0x2,_0x4abb89),Ae(0x3,_0x5230f8),Ae(0x4,_0x3e9f29)],Pt);var xi=Object[_0x180182(0x223)],Hs=Object[_0x180182(0x2dc)],ks=(_0x29c2c1,_0x5a6d5d,_0x932653)=>_0x5a6d5d in _0x29c2c1?xi(_0x29c2c1,_0x5a6d5d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x932653}):_0x29c2c1[_0x5a6d5d]=_0x932653,js=(_0x575152,_0x517282,_0x1bad87,_0x314f0f)=>{var _0x295d78=_0x180182;for(var _0x3dd569=_0x314f0f>0x1?void 0x0:_0x314f0f?Hs(_0x517282,_0x1bad87):_0x517282,_0x229015=_0x575152[_0x295d78(0x22e)]-0x1,_0x318583;_0x229015>=0x0;_0x229015--)(_0x318583=_0x575152[_0x229015])&&(_0x3dd569=(_0x314f0f?_0x318583(_0x517282,_0x1bad87,_0x3dd569):_0x318583(_0x3dd569))||_0x3dd569);return _0x314f0f&&_0x3dd569&&xi(_0x517282,_0x1bad87,_0x3dd569),_0x3dd569;},St=(_0x572cf4,_0x3b81de)=>(_0x5ecf3e,_0x45d3aa)=>_0x3b81de(_0x5ecf3e,_0x45d3aa,_0x572cf4),Bs=(_0x269316,_0x43b06c,_0x2fce4c)=>ks(_0x269316,_0x43b06c+'',_0x2fce4c);const Fs=_0x180182(0x3b4);let wt=class extends _0x4fb216{constructor(_0x32596c=Wt,_0x54aa5a,_0x1a8e50,_0x2fd24b){var _0x3e6bf8=_0x180182;super(),this[_0x3e6bf8(0x1cd)]=_0x32596c,this['_logService']=_0x54aa5a,this[_0x3e6bf8(0x3ff)]=_0x1a8e50,this[_0x3e6bf8(0x2c9)]=_0x2fd24b;const {..._0x32e2f7}=_0x27c7c5({},Wt,this[_0x3e6bf8(0x1cd)]);this['_configService']['setConfig'](q,_0x32e2f7);}['onStarting'](){var _0x1621e5=_0x180182;this['_registerDependencies'](),this[_0x1621e5(0x2ff)]();}[_0x180182(0x28b)](){var _0x45d538=_0x180182,_0x4f720d,_0x23248f,_0x23495e,_0x10d34a;this['_injector'][_0x45d538(0x268)](_0x3d63ec)&&this[_0x45d538(0x1a2)][_0x45d538(0x458)]('[UniverCollaborationClientPlugin]',_0x45d538(0x32a));const _0x456dca=_0x17f737([[_0x3d63ec,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x23248f=(_0x4f720d=this[_0x45d538(0x1cd)])==null?void 0x0:_0x4f720d[_0x45d538(0x34c)])!=null?_0x23248f:Et}],[_0x3de3ee,{'useClass':Dt}],[_0x52f070,{'useClass':bt}],[_0x1dd630,{'useClass':yt}],[_0xa76228,{'useClass':Nt}],[rt],[Rt]],(_0x23495e=this[_0x45d538(0x1cd)])==null?void 0x0:_0x23495e[_0x45d538(0x387)]);if(!((_0x10d34a=this[_0x45d538(0x1cd)])!=null&&_0x10d34a[_0x45d538(0x478)])){const _0x35804c=_0x456dca[_0x45d538(0x411)](([_0x4c7f32])=>_0x4c7f32===ht);_0x35804c!==-0x1&&_0x456dca[_0x45d538(0x37c)](_0x35804c,0x1);}_0x4de961(this[_0x45d538(0x3ff)],_0x456dca);}[_0x180182(0x2ff)](){var _0x2294b4=_0x180182,_0x443e2a,_0x26833d,_0x53b3a3;this[_0x2294b4(0x3ff)][_0x2294b4(0x42e)](_0x3a1dbb)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x2d58b0({'maxParallel':0x6})}),(_0x443e2a=this['_config'])!=null&&_0x443e2a[_0x2294b4(0x263)]||(_0x26833d=this[_0x2294b4(0x3ff)]['get'](J,_0x552291[_0x2294b4(0x1d6)]))==null||_0x26833d[_0x2294b4(0x2af)](),(_0x53b3a3=this[_0x2294b4(0x1cd)])!=null&&_0x53b3a3[_0x2294b4(0x35c)]&&_0x2bb342(this[_0x2294b4(0x3ff)],[[st]]),_0x2bb342(this[_0x2294b4(0x3ff)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x543e61(_0x3b8072,_0x1cf559,_0x112596),St(0x1,_0x3e9f29),St(0x2,_0x353e29(_0x514172)),St(0x3,_0x1d880c)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x1af128=_0x596d;(function(_0x54357c,_0x277910){var _0x419faf=_0x596d,_0x7d8800=_0x54357c();while(!![]){try{var _0x64e8d=parseInt(_0x419faf(0x46a))/0x1+parseInt(_0x419faf(0x411))/0x2*(parseInt(_0x419faf(0x489))/0x3)+parseInt(_0x419faf(0x225))/0x4+parseInt(_0x419faf(0x27f))/0x5+parseInt(_0x419faf(0x3cc))/0x6+-parseInt(_0x419faf(0x2d6))/0x7*(-parseInt(_0x419faf(0x491))/0x8)+-parseInt(_0x419faf(0x482))/0x9;if(_0x64e8d===_0x277910)break;else _0x7d8800['push'](_0x7d8800['shift']());}catch(_0x554bbf){_0x7d8800['push'](_0x7d8800['shift']());}}}(_0x6aa3,0xce6f8));var Li=Object[_0x1af128(0x4ba)],Mi=(_0x346783,_0x2b74e0,_0x3580c8)=>_0x2b74e0 in _0x346783?Li(_0x346783,_0x2b74e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3580c8}):_0x346783[_0x2b74e0]=_0x3580c8,N=(_0x560993,_0x3726a6,_0x30e255)=>Mi(_0x560993,typeof _0x3726a6!=_0x1af128(0x27b)?_0x3726a6+'':_0x3726a6,_0x30e255);import{createIdentifier as _0x22f5cd,Inject as _0x50b881,Injector as _0x339edd,Disposable as _0x1ec030,DisposableCollection as _0x39d6d0,toDisposable as _0x1943de,IConfigService as _0xb3f6ba,ILogService as _0x334ed4,UserManagerService as _0x3c3b47,UniverInstanceType as _0x7a0f38,IUniverInstanceService as _0x42b8e7,LocaleService as _0x3d3898,Optional as _0x325bd4,RxDisposable as _0x4273f8,Tools as _0x15157c,Rectangle as _0x47e43a,ICommandService as _0x4f3e11,JSONX as _0x4890ac,CommandType as _0x572a97,IPermissionService as _0xea2b61,IUndoRedoService as _0x16445d,sequenceExecute as _0x596acb,Workbook as _0x331611,MentionType as _0x4389d9,IAuthzIoService as _0x298ad2,isInternalEditorID as _0xc3ccf8,LocalUndoRedoService as _0x40707b,IContextService as _0x215270,DependentOn as _0x3fade5,Plugin as _0x58ba77,merge as _0x1686f7,mergeOverrideWithDependencies as _0x3b1a20,IMentionIOService as _0x478e21,registerDependencies as _0x48774b,Quantity as _0x8bb0cb,touchDependencies as _0x150a5f}from'@univerjs/core';import{Subject as _0x10c59f,merge as _0x19107a,of as _0x4586b0,BehaviorSubject as _0x230061,takeUntil as _0x1b190a,ReplaySubject as _0x55eb7f,take as _0x2a8f0e,map as _0x3bf594,shareReplay as _0x2b76e9,firstValueFrom as _0x5acfb6,concatMap as _0x196fe2}from'rxjs';import{map as _0x3c96ad,take as _0x41f024,filter as _0x226f92,delay as _0x2468e4,takeUntil as _0x4387d8}from'rxjs/operators';import{HTTPService as _0x51273b,ISocketService as _0x23e178,MergeInterceptorFactory as _0x8ebddf,HTTPRequest as _0x4ca06d,UniverNetworkPlugin as _0x22d427,ThresholdInterceptorFactory as _0x105533}from'@univerjs/network';import{CollaborationEvent as _0x1d08ca,parseChangesetToProtocol as _0x5c8585,ISnapshotServerService as _0x2687e0,isTransformMutationsWithChangesetSuccess as _0x49a34e,ITransformService as _0x207f44,mapDocumentTypeToUniverType as _0x3450b7,RevisionService as _0x1c117d,isTransformChangesetsSuccess as _0x397f0a,CompressMutationService as _0x4651e0,parseProtocolChangeset as _0x1db08e,SnapshotService as _0x2ec050,textEncoder as _0x20eefa,b64DecodeUnicode as _0x55b68d,isTransformMutationsWithChangesetFailure as _0x3abcdb,UniverCollaborationPlugin as _0x1ce121}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x3dbc3c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x582104}from'@univerjs/docs';import{SheetsSelectionsService as _0x370139,SetSelectionsOperation as _0x2d5539,InsertSheetMutation as _0x361fa7,EmptyMutation as _0x1a6a86,WorkbookEditablePermission as _0x3ff24a,SheetPermissionInitController as _0x2ba33e,UniverSheetsPlugin as _0x376c94}from'@univerjs/sheets';import{ImageSourceType as _0x544571,ImageUploadStatusType as _0x509a09,IImageIoService as _0x5b5ab5}from'@univerjs/drawing';import{getGlobalObject as _0x58e8fb}from'@univerjs-pro/license';const En=_0x1af128(0x215),In='/universer-api/snapshot',Tn=_0x1af128(0x2ff),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x1af128(0x338),bn=_0x1af128(0x3d2),On='/universer-api/user/session-ticket',yn=_0x1af128(0x3f0),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x1af128(0x1e9),wn=0x3,to=_0x1af128(0x413),io=0x3e8,Un=_0x1af128(0x36f),An=_0x1af128(0x1d5),xn=_0x1af128(0x307),Ln=_0x1af128(0x42e),no=_0x1af128(0x2b6),ro=_0x1af128(0x450);var Ii=(_0x52849a=>(_0x52849a[_0x52849a[_0x1af128(0x3d4)]=0x0]=_0x1af128(0x3d4),_0x52849a[_0x52849a['OK']=0x1]='OK',_0x52849a[_0x52849a[_0x1af128(0x335)]=0x2]=_0x1af128(0x335),_0x52849a[_0x52849a['PERMISSION_DENIED']=0x3]=_0x1af128(0x47d),_0x52849a[_0x52849a[_0x1af128(0x3c2)]=0x4]='NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x267)]=0x5]='UNAUTHENTICATED',_0x52849a[_0x52849a[_0x1af128(0x40f)]=0x6]=_0x1af128(0x40f),_0x52849a[_0x52849a[_0x1af128(0x38c)]=0x7]=_0x1af128(0x38c),_0x52849a[_0x52849a[_0x1af128(0x3e5)]=0x8]=_0x1af128(0x3e5),_0x52849a[_0x52849a['COMPLETION_FINISHED']=0x9]=_0x1af128(0x238),_0x52849a[_0x52849a[_0x1af128(0x341)]=0x1389]=_0x1af128(0x341),_0x52849a[_0x52849a[_0x1af128(0x27a)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x52849a[_0x52849a[_0x1af128(0x449)]=0x1772]=_0x1af128(0x449),_0x52849a[_0x52849a[_0x1af128(0x361)]=0x1773]=_0x1af128(0x361),_0x52849a[_0x52849a[_0x1af128(0x28b)]=0x1b59]=_0x1af128(0x28b),_0x52849a[_0x52849a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x52849a[_0x52849a[_0x1af128(0x2d3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x52849a[_0x52849a[_0x1af128(0x47b)]=0x1b5c]=_0x1af128(0x47b),_0x52849a[_0x52849a[_0x1af128(0x4b4)]=0x1b5d]='APPLY_DUPLICATED',_0x52849a[_0x52849a[_0x1af128(0x2ba)]=0x1f41]=_0x1af128(0x2ba),_0x52849a[_0x52849a['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x1af128(0x4bb),_0x52849a[_0x52849a[_0x1af128(0x354)]=0x232a]=_0x1af128(0x354),_0x52849a[_0x52849a[_0x1af128(0x377)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x52849a[_0x52849a[_0x1af128(0x432)]=0x232c]=_0x1af128(0x432),_0x52849a[_0x52849a[_0x1af128(0x2b3)]=0x232d]=_0x1af128(0x2b3),_0x52849a[_0x52849a[_0x1af128(0x3a2)]=0x2711]=_0x1af128(0x3a2),_0x52849a[_0x52849a[_0x1af128(0x24c)]=0x2712]=_0x1af128(0x24c),_0x52849a[_0x52849a[_0x1af128(0x376)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x52849a[_0x52849a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x52849a[_0x52849a[_0x1af128(0x42c)]=0x2af9]=_0x1af128(0x42c),_0x52849a[_0x52849a[_0x1af128(0x46d)]=-0x1]='UNRECOGNIZED',_0x52849a))(Ii||{}),Q=(_0x463b19=>(_0x463b19[_0x463b19[_0x1af128(0x37a)]=0x0]='UNIVER_UNKNOWN',_0x463b19[_0x463b19[_0x1af128(0x43b)]=0x1]=_0x1af128(0x43b),_0x463b19[_0x463b19[_0x1af128(0x3c7)]=0x2]=_0x1af128(0x3c7),_0x463b19[_0x463b19[_0x1af128(0x351)]=0x3]=_0x1af128(0x351),_0x463b19[_0x463b19[_0x1af128(0x33f)]=0x4]=_0x1af128(0x33f),_0x463b19[_0x463b19[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x463b19))(Q||{}),F=(_0x1ef7c9=>(_0x1ef7c9[_0x1ef7c9[_0x1af128(0x2bb)]=0x0]='UNKNOWN_CMD',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x3f4)]=0x1]='HELLO',_0x1ef7c9[_0x1ef7c9[_0x1af128(0x483)]=0x2]=_0x1af128(0x483),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x493)]=0x3]=_0x1af128(0x493),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x373)]=0x4]=_0x1af128(0x373),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x475)]=0x5]=_0x1af128(0x475),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x217)]=0x6]=_0x1af128(0x217),_0x1ef7c9[_0x1ef7c9[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x1ef7c9))(F||{}),Ee=(_0x24b361=>(_0x24b361[_0x24b361[_0x1af128(0x2d8)]=0x0]=_0x1af128(0x2d8),_0x24b361[_0x24b361['OK']=0x1]='OK',_0x24b361[_0x24b361[_0x1af128(0x1d1)]=0x2]=_0x1af128(0x1d1),_0x24b361[_0x24b361[_0x1af128(0x23b)]=0x3e9]=_0x1af128(0x23b),_0x24b361[_0x24b361[_0x1af128(0x48e)]=0x3ea]=_0x1af128(0x48e),_0x24b361[_0x24b361[_0x1af128(0x422)]=0x3eb]=_0x1af128(0x422),_0x24b361[_0x24b361[_0x1af128(0x4af)]=0x3ec]=_0x1af128(0x4af),_0x24b361[_0x24b361[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x24b361))(Ee||{}),Ti=(_0x59553d=>(_0x59553d[_0x59553d[_0x1af128(0x40a)]=0x0]=_0x1af128(0x40a),_0x59553d[_0x59553d[_0x1af128(0x32a)]=0x1]='HttpImport',_0x59553d[_0x59553d[_0x1af128(0x446)]=0x2]=_0x1af128(0x446),_0x59553d[_0x59553d[_0x1af128(0x41c)]=0x3]=_0x1af128(0x41c),_0x59553d[_0x59553d[_0x1af128(0x4b5)]=0x4]=_0x1af128(0x4b5),_0x59553d[_0x59553d[_0x1af128(0x46d)]=-0x1]=_0x1af128(0x46d),_0x59553d))(Ti||{});const q=_0x1af128(0x319),Wt={};var se=(_0x36532e=>(_0x36532e[_0x1af128(0x302)]='OTHER_CLIENT_EDITING',_0x36532e[_0x1af128(0x47d)]=_0x1af128(0x47d),_0x36532e[_0x1af128(0x3dc)]=_0x1af128(0x3dc),_0x36532e['CLOSE_ROOM']=_0x1af128(0x4d3),_0x36532e[_0x1af128(0x209)]='JOIN_ROOM_FAILED',_0x36532e['SOCKET_FAILED_RETRY']='SOCKET_FAILED_RETRY',_0x36532e[_0x1af128(0x4bc)]=_0x1af128(0x4bc),_0x36532e[_0x1af128(0x3af)]=_0x1af128(0x3af),_0x36532e))(se||{});class pe{constructor(){var _0x17c1b2=_0x1af128;N(this,_0x17c1b2(0x3b9),new _0x10c59f()),N(this,_0x17c1b2(0x22e),this['_event$'][_0x17c1b2(0x2c7)]());}[_0x1af128(0x258)](_0x5707dc){var _0x85941d=_0x1af128;this[_0x85941d(0x3b9)][_0x85941d(0x2cb)](_0x5707dc);}}const Mn=_0x22f5cd(_0x1af128(0x2b1));function $n(_0x5511c1){var _0x5b8fd6=_0x1af128,_0x572705,_0x2fe831,_0x5a2fad,_0x37b483,_0x447698;const _0x439784=_0x5511c1[_0x5b8fd6(0x345)],_0xd1e37f=JSON[_0x5b8fd6(0x3df)](_0x439784);switch(_0xd1e37f[_0x5b8fd6(0x223)]){case F[_0x5b8fd6(0x475)]:case F[_0x5b8fd6(0x3f4)]:{const _0x6f612c=_0xd1e37f[_0x5b8fd6(0x2dd)];return{..._0xd1e37f,'data':_0x6f612c,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F[_0x5b8fd6(0x483)]:{const _0x303f0d=_0xd1e37f[_0x5b8fd6(0x2ee)];return{..._0xd1e37f,'data':_0x303f0d,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};}case F['RECV']:{const _0x4f1392=_0xd1e37f[_0x5b8fd6(0x2c4)];switch(_0x4f1392[_0x5b8fd6(0x492)]){case _0x1d08ca['PERMISSION_REJ']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x572705=_0x4f1392[_0x5b8fd6(0x2a2)])==null?void 0x0:_0x572705['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x333)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x2fe831=_0x4f1392[_0x5b8fd6(0x342)])==null?void 0x0:_0x2fe831['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x405)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x5a2fad=_0x4f1392[_0x5b8fd6(0x39b)])==null?void 0x0:_0x5a2fad['cs']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x4a5)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x37b483=_0x4f1392[_0x5b8fd6(0x276)])==null?void 0x0:_0x37b483['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca[_0x5b8fd6(0x4c4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':(_0x447698=_0x4f1392[_0x5b8fd6(0x242)])==null?void 0x0:_0x447698['cs']},'cmd':_0xd1e37f['cmd']};case _0x1d08ca['UPDATE_CURSOR']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x3f7)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['USERS_ENTER']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x260)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x33d)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x344)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['LIVESHARE_NEW_HOST']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x41a)]:case _0x1d08ca[_0x5b8fd6(0x2a8)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['liveShareOperation']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x2f4)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x401)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x222)]:return{..._0xd1e37f,'data':_0x4f1392,'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca['COMMENT_UPDATE']:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x2a3)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x28f)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x362)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x368)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392['shouldCloseConn']},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};case _0x1d08ca[_0x5b8fd6(0x226)]:return{..._0xd1e37f,'data':{..._0x4f1392,'data':_0x4f1392[_0x5b8fd6(0x288)]},'cmd':_0xd1e37f[_0x5b8fd6(0x223)]};default:return _0xd1e37f;}}default:return _0xd1e37f;}}function Hn(_0x1f83c1){var _0x358b6c=_0x1af128;switch(_0x1f83c1[_0x358b6c(0x223)]){case F[_0x358b6c(0x475)]:case F[_0x358b6c(0x3f4)]:return JSON['stringify']({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)]});case F[_0x358b6c(0x373)]:{let _0x4ab46c;switch(_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]){case _0x1d08ca[_0x358b6c(0x3f1)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x3f1)],'updateCursorEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x33d)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x33d)],'leaveEvent':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x418)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x418)],'joinEvent':_0x1f83c1[_0x358b6c(0x345)]['data']};break;}case _0x1d08ca['LIVESHARE_NEW_HOST']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x356)],'liveShareNewHost':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2a8)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2a8)],'liveShareOperation':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x2f4)]:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x2f4)],'liveShareTerminate':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x345)]};break;}case _0x1d08ca[_0x358b6c(0x462)]:{_0x4ab46c={'eventID':_0x1d08ca['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1f83c1['data'][_0x358b6c(0x345)]};break;}case _0x1d08ca['LIVESHARE_FETCH_OPERATIONS']:{_0x4ab46c={'eventID':_0x1d08ca[_0x358b6c(0x41a)]};break;}default:_0x4ab46c={'eventID':_0x1f83c1[_0x358b6c(0x345)][_0x358b6c(0x492)]};}return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'collaMsg':_0x4ab46c});}case F[_0x358b6c(0x483)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'joinReq':_0x1f83c1['data']});case F[_0x358b6c(0x493)]:return JSON[_0x358b6c(0x44b)]({'cmd':_0x1f83c1[_0x358b6c(0x223)],'routeKey':_0x1f83c1[_0x358b6c(0x360)],'leaveReq':_0x1f83c1[_0x358b6c(0x345)]});default:throw new Error(_0x358b6c(0x36b));}}var kn=Object[_0x1af128(0x4ba)],jn=Object[_0x1af128(0x3d3)],Bn=(_0x57eaa9,_0x3a292c,_0x509a67,_0x2995ba)=>{var _0x34e870=_0x1af128;for(var _0x5296bb=_0x2995ba>0x1?void 0x0:_0x2995ba?jn(_0x3a292c,_0x509a67):_0x3a292c,_0x71d241=_0x57eaa9[_0x34e870(0x431)]-0x1,_0x2b1771;_0x71d241>=0x0;_0x71d241--)(_0x2b1771=_0x57eaa9[_0x71d241])&&(_0x5296bb=(_0x2995ba?_0x2b1771(_0x3a292c,_0x509a67,_0x5296bb):_0x2b1771(_0x5296bb))||_0x5296bb);return _0x2995ba&&_0x5296bb&&kn(_0x3a292c,_0x509a67,_0x5296bb),_0x5296bb;},Ue=(_0x386271,_0x3932d7)=>(_0x11bfd1,_0x2c9e01)=>_0x3932d7(_0x11bfd1,_0x2c9e01,_0x386271);const Ci=_0x22f5cd(_0x1af128(0x3bb));function Fn(_0x1581d6,_0x45afe4,_0x13d267){var _0x3b26af=_0x1af128;return _0x1581d6+'/'+_0x45afe4+_0x3b26af(0x29a)+_0x13d267+_0x3b26af(0x4ae);}let Et=class extends _0x1ec030{constructor(_0xd8e413,_0x4a17a6,_0x312a15,_0x5172bb,_0x2f8b3f){var _0x13bcd1=_0x1af128;super(),this['_injector']=_0xd8e413,this[_0x13bcd1(0x437)]=_0x4a17a6,this[_0x13bcd1(0x4d1)]=_0x312a15,this[_0x13bcd1(0x485)]=_0x5172bb,this[_0x13bcd1(0x408)]=_0x2f8b3f;}[_0x1af128(0x252)](_0x2f61b0){var _0xcf4ffd=_0x1af128;const _0x675365=this[_0xcf4ffd(0x367)][_0xcf4ffd(0x416)](_0x23e178);if(!_0x675365)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x35df56=_0x675365[_0xcf4ffd(0x252)](_0x2f61b0);if(!_0x35df56)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x5709cf=new _0x39d6d0(),_0x53e358=new _0x10c59f();_0x5709cf['add'](_0x35df56[_0xcf4ffd(0x409)][_0xcf4ffd(0x26c)](_0x919613=>_0x53e358['next'](_0x919613))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x53e358[_0xcf4ffd(0x3b1)]()));const _0x3f1900=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56[_0xcf4ffd(0x414)][_0xcf4ffd(0x26c)](_0xc212e4=>_0x3f1900['next'](_0xc212e4))),_0x5709cf[_0xcf4ffd(0x2d0)](_0x1943de(()=>_0x3f1900[_0xcf4ffd(0x3b1)]()));const _0x3caef9=new _0x10c59f();_0x5709cf[_0xcf4ffd(0x2d0)](_0x35df56['message$'][_0xcf4ffd(0x26c)](_0x126f09=>{var _0x210eb7=_0xcf4ffd;const _0x542c33=$n(_0x126f09);_0x3caef9[_0x210eb7(0x2cb)](_0x542c33);})),_0x5709cf['add'](_0x1943de(()=>_0x3caef9[_0xcf4ffd(0x3b1)]()));let _0xe7b539;const _0x42aae3=()=>{var _0x97b3a9=_0xcf4ffd;_0x3f1900[_0x97b3a9(0x2cb)](new Event('connection\x20error')),_0x53e358[_0x97b3a9(0x2cb)](new CloseEvent('connection\x20error')),_0xe7b539[_0x97b3a9(0x3c0)]();};return _0xe7b539={'memberID':'','close$':_0x53e358[_0xcf4ffd(0x2c7)](),'error$':_0x3f1900['asObservable'](),'open$':_0x35df56[_0xcf4ffd(0x23e)],'message$':_0x3caef9[_0xcf4ffd(0x2c7)](),'send':_0x2de057=>{var _0x4c62dc=_0xcf4ffd;if(_0x2de057[_0x4c62dc(0x223)]===F[_0x4c62dc(0x373)]){if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca['SUBMIT_CHANGESET']){this[_0x4c62dc(0x29c)](_0xe7b539,_0x2de057[_0x4c62dc(0x345)])[_0x4c62dc(0x474)](_0x53e5d8=>{var _0x1a7f52=_0x4c62dc;this[_0x1a7f52(0x485)][_0x1a7f52(0x479)](_0x53e5d8),_0x42aae3();});return;}if(_0x2de057[_0x4c62dc(0x345)][_0x4c62dc(0x492)]===_0x1d08ca[_0x4c62dc(0x249)]){const _0x4d2358=_0x2de057['data'];this[_0x4c62dc(0x400)](_0x4d2358)[_0x4c62dc(0x1d4)](_0x1f5bb3=>{var _0x572e82=_0x4c62dc;_0x3caef9['next']({'cmd':F[_0x572e82(0x217)],'code':Ee['OK'],'routeKey':_0x4d2358[_0x572e82(0x345)][_0x572e82(0x1fa)],'routeType':'','data':{'eventID':_0x1d08ca['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1f5bb3}}});})[_0x4c62dc(0x474)](_0x166639=>{this['_logService']['error'](_0x166639),_0x42aae3();});return;}}_0x35df56['send'](Hn(_0x2de057));},'close':()=>{var _0x3a1b17=_0xcf4ffd;_0x35df56[_0x3a1b17(0x3c0)](),_0x5709cf[_0x3a1b17(0x1d3)]();}},_0xe7b539;}async[_0x1af128(0x29c)](_0x203e97,_0x3cf917){var _0x3f07a0=_0x1af128,_0x33b58e,_0x132429;const {unitType:_0x1c1ed3,unitID:_0x117a8c,changeset:_0x148512}=_0x3cf917['data'],_0x1da415={'unitID':_0x117a8c,'memberID':_0x203e97[_0x3f07a0(0x2a4)],'type':_0x1c1ed3,'changeset':_0x5c8585(_0x148512)},_0x3f8dd2=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](Un),_0x353c5e=this[_0x3f07a0(0x4d1)][_0x3f07a0(0x49e)](q),_0x3a8d6c=Fn((_0x132429=(_0x33b58e=_0x353c5e==null?void 0x0:_0x353c5e[_0x3f07a0(0x241)])!=null?_0x33b58e:_0x3f8dd2)!=null?_0x132429:An,_0x1c1ed3,_0x117a8c);try{await this[_0x3f07a0(0x437)][_0x3f07a0(0x4cc)](_0x3a8d6c,{'body':_0x1da415});}catch(_0x4af3be){throw this[_0x3f07a0(0x485)][_0x3f07a0(0x479)](_0x3f07a0(0x259),'submit\x20changeset\x20error!'),_0x4af3be;}}async[_0x1af128(0x400)](_0x53db0f){var _0x1f0975=_0x1af128;const {unitID:_0x494e8b,from:_0x1da37b,to:_0x57fcbb,unitType:_0x3e5a6d}=_0x53db0f[_0x1f0975(0x345)];return(await this[_0x1f0975(0x408)][_0x1f0975(0x33b)]({'metadata':void 0x0},{'unitID':_0x494e8b,'type':_0x3e5a6d,'from':_0x1da37b,'to':_0x57fcbb}))[_0x1f0975(0x3e4)];}};Et=Bn([Ue(0x0,_0x50b881(_0x339edd)),Ue(0x1,_0x50b881(_0x51273b)),Ue(0x2,_0xb3f6ba),Ue(0x3,_0x334ed4),Ue(0x4,_0x2687e0)],Et);const Vn=_0x1af128(0x243);function Gn(_0x534eee){var _0x25dd02=_0x1af128;return JSON[_0x25dd02(0x44b)](_0x534eee)[_0x25dd02(0x431)];}class Ri{constructor(){var _0x5bdfa1=_0x1af128;N(this,_0x5bdfa1(0x421),new _0x10c59f()),N(this,'commentUpdate$',this[_0x5bdfa1(0x421)][_0x5bdfa1(0x2c7)]());}['onCommentUpdate'](_0x8ac70e){var _0x35f5f9=_0x1af128;this[_0x35f5f9(0x421)][_0x35f5f9(0x2cb)](_0x8ac70e);}}var Wn=Object[_0x1af128(0x4ba)],Kn=Object[_0x1af128(0x3d3)],Yn=(_0x29eaa4,_0x1da03c,_0x12be84,_0x3b5b23)=>{var _0x211440=_0x1af128;for(var _0x1ab7a9=_0x3b5b23>0x1?void 0x0:_0x3b5b23?Kn(_0x1da03c,_0x12be84):_0x1da03c,_0x2392f2=_0x29eaa4[_0x211440(0x431)]-0x1,_0x405952;_0x2392f2>=0x0;_0x2392f2--)(_0x405952=_0x29eaa4[_0x2392f2])&&(_0x1ab7a9=(_0x3b5b23?_0x405952(_0x1da03c,_0x12be84,_0x1ab7a9):_0x405952(_0x1ab7a9))||_0x1ab7a9);return _0x3b5b23&&_0x1ab7a9&&Wn(_0x1da03c,_0x12be84,_0x1ab7a9),_0x1ab7a9;},Kt=(_0x12ac19,_0x2da4a8)=>(_0x33293d,_0x2b6583)=>_0x2da4a8(_0x33293d,_0x2b6583,_0x12ac19);let xe=class extends _0x1ec030{constructor(_0x2f5bd5,_0x6db48d){var _0xe4cbf=_0x1af128;super(),N(this,_0xe4cbf(0x291),new Map()),N(this,_0xe4cbf(0x3e3),new _0x10c59f()),(this['_univerInstanceService']=_0x2f5bd5,this[_0xe4cbf(0x3c4)]=_0x6db48d,this['disposeWithMe'](_0x19107a(this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x3c7)])[_0xe4cbf(0x463)](_0x3c96ad(_0x1f044c=>_0x1f044c[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38[_0xe4cbf(0x43b)])['pipe'](_0x3c96ad(_0x3041b2=>_0x3041b2[_0xe4cbf(0x26b)]())),this[_0xe4cbf(0x332)][_0xe4cbf(0x41d)](_0x7a0f38['UNIVER_SLIDE'])[_0xe4cbf(0x463)](_0x3c96ad(_0x1226a1=>_0x1226a1[_0xe4cbf(0x26b)]())))['subscribe'](_0x57824d=>this[_0xe4cbf(0x2d7)](_0x57824d))));}['waitForRoom$'](_0x4cd296){var _0x598f15=_0x1af128;return this[_0x598f15(0x291)]['has'](_0x4cd296)?_0x4586b0(this[_0x598f15(0x291)][_0x598f15(0x416)](_0x4cd296)):this['_roomCreated$'][_0x598f15(0x463)](_0x3c96ad(_0x33c9e9=>{var _0x175fe9=_0x598f15;if(_0x33c9e9===_0x4cd296)return this['_roomMembers'][_0x175fe9(0x416)](_0x33c9e9);}));}[_0x1af128(0x39f)](_0x29497b){var _0x495c76=_0x1af128;this['_userManagerService'][_0x495c76(0x39f)](_0x29497b);}[_0x1af128(0x1dc)](){var _0x11bf15=_0x1af128;return this[_0x11bf15(0x3c4)][_0x11bf15(0x1dc)]();}['updateMember'](_0x10fd5a,_0x2ec813){var _0x324dcb=_0x1af128;let _0x25a4fe=this[_0x324dcb(0x291)]['get'](_0x10fd5a);_0x25a4fe||(_0x25a4fe=new qn(),this[_0x324dcb(0x291)][_0x324dcb(0x255)](_0x10fd5a,_0x25a4fe),this['_roomCreated$'][_0x324dcb(0x2cb)](_0x10fd5a)),_0x25a4fe[_0x324dcb(0x20a)](_0x2ec813);}[_0x1af128(0x3e2)](_0x72e4b5,_0x24efd8){var _0x2a0014=_0x1af128;const _0xde819a=this[_0x2a0014(0x291)][_0x2a0014(0x416)](_0x72e4b5);_0xde819a&&_0xde819a['removeMember'](_0x24efd8);}[_0x1af128(0x419)](_0x1fc310){var _0x54aa3a=_0x1af128;return this[_0x54aa3a(0x291)][_0x54aa3a(0x416)](_0x1fc310);}[_0x1af128(0x41f)](_0xed560c,_0x4c8e31){var _0x12f386=_0x1af128;const _0x1279c7=this[_0x12f386(0x291)]['get'](_0xed560c);if(_0x1279c7)return _0x1279c7[_0x12f386(0x41f)](_0x4c8e31);}[_0x1af128(0x2d7)](_0x51a9b0){var _0x2c2344=_0x1af128;const _0x11c721=this[_0x2c2344(0x291)][_0x2c2344(0x416)](_0x51a9b0);_0x11c721&&(_0x11c721[_0x2c2344(0x1d3)](),this[_0x2c2344(0x291)]['delete'](_0x51a9b0));}[_0x1af128(0x1d3)](){var _0x5946ff=_0x1af128;this[_0x5946ff(0x291)][_0x5946ff(0x30f)](_0x1cb119=>_0x1cb119[_0x5946ff(0x1d3)]()),this['_roomMembers'][_0x5946ff(0x348)](),this[_0x5946ff(0x3e3)][_0x5946ff(0x3b1)]();}};xe=Yn([Kt(0x0,_0x42b8e7),Kt(0x1,_0x50b881(_0x3c3b47))],xe);class qn extends _0x1ec030{constructor(){var _0x2bf24f=_0x1af128;super(...arguments),N(this,_0x2bf24f(0x451),new Map()),N(this,_0x2bf24f(0x295),new _0x230061(this[_0x2bf24f(0x451)])),N(this,'members$',this[_0x2bf24f(0x295)][_0x2bf24f(0x2c7)]());}[_0x1af128(0x1d3)](){var _0x31b19c=_0x1af128;this['_members'][_0x31b19c(0x348)]();}['updateMember'](_0x5be122){var _0x5d2c2a=_0x1af128;this['_members'][_0x5d2c2a(0x255)](_0x5be122[_0x5d2c2a(0x2a4)],_0x5be122),this['_emitMembers']();}[_0x1af128(0x3e2)](_0x291ace){var _0x4c0159=_0x1af128;this[_0x4c0159(0x451)][_0x4c0159(0x31f)](_0x291ace);}['getMember'](_0x13a470){var _0x2d8812=_0x1af128;return this[_0x2d8812(0x451)]['get'](_0x13a470);}[_0x1af128(0x272)](){var _0x5dd64d=_0x1af128;return Array['from'](this[_0x5dd64d(0x451)][_0x5dd64d(0x355)]());}[_0x1af128(0x3ae)](){var _0x16f330=_0x1af128;this[_0x16f330(0x295)][_0x16f330(0x2cb)](this[_0x16f330(0x451)]);}}var zn=Object[_0x1af128(0x4ba)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x3c84ea,_0x2877ed,_0x25567c,_0x176d03)=>{var _0xeb4b78=_0x1af128;for(var _0x39b33c=_0x176d03>0x1?void 0x0:_0x176d03?Jn(_0x2877ed,_0x25567c):_0x2877ed,_0x319bd3=_0x3c84ea[_0xeb4b78(0x431)]-0x1,_0x45dc48;_0x319bd3>=0x0;_0x319bd3--)(_0x45dc48=_0x3c84ea[_0x319bd3])&&(_0x39b33c=(_0x176d03?_0x45dc48(_0x2877ed,_0x25567c,_0x39b33c):_0x45dc48(_0x39b33c))||_0x39b33c);return _0x176d03&&_0x39b33c&&zn(_0x2877ed,_0x25567c,_0x39b33c),_0x39b33c;},me=(_0x23281d,_0x1dd725)=>(_0x1b14ce,_0x3507d6)=>_0x1dd725(_0x1b14ce,_0x3507d6,_0x23281d),Te=(_0x1718ff=>(_0x1718ff[_0x1718ff[_0x1af128(0x220)]=0x0]=_0x1af128(0x220),_0x1718ff[_0x1718ff[_0x1af128(0x48d)]=0x1]='JOINING',_0x1718ff[_0x1718ff['OFFLINE']=0x2]=_0x1af128(0x2b8),_0x1718ff[_0x1718ff[_0x1af128(0x336)]=0x3]='ONLINE',_0x1718ff))(Te||{});const Yt={[Ee[_0x1af128(0x1d1)]]:_0x1af128(0x3da),[Ee['JOIN_ROOM_FULL']]:_0x1af128(0x229),[Ee[_0x1af128(0x48e)]]:_0x1af128(0x3d9),[Ee['JOIN_ROOM_PERMISSION_DENIED']]:_0x1af128(0x20c),[Ee[_0x1af128(0x4af)]]:_0x1af128(0x37d)};let It=class extends _0x4273f8{constructor(_0x57e68d,_0x373c49,_0x3b8a9d,_0x361615,_0x4c15cc,_0x1aed72,_0x5d3517,_0xe01458,_0x1ce16f){var _0x5b238e=_0x1af128;super(),N(this,'_sessionStatus$',new _0x230061(0x0)),N(this,_0x5b238e(0x214),this[_0x5b238e(0x434)][_0x5b238e(0x2c7)]()),N(this,_0x5b238e(0x3b9),new _0x10c59f()),N(this,'event$',this[_0x5b238e(0x3b9)][_0x5b238e(0x2c7)]()),N(this,'_socket'),N(this,_0x5b238e(0x1db)),N(this,_0x5b238e(0x28c)),N(this,_0x5b238e(0x254),!0x1),N(this,_0x5b238e(0x37b),null),(this[_0x5b238e(0x2e3)]=_0x57e68d,this['_logService']=_0x3b8a9d,this[_0x5b238e(0x4d1)]=_0x361615,this[_0x5b238e(0x4c2)]=_0x4c15cc,this[_0x5b238e(0x37c)]=_0x1aed72,this[_0x5b238e(0x314)]=_0x5d3517,this[_0x5b238e(0x4b1)]=_0xe01458,this[_0x5b238e(0x394)]=_0x1ce16f,this[_0x5b238e(0x254)]=!!this['_telemetryService'],_0x373c49[_0x5b238e(0x463)](_0x1b190a(this['dispose$']))[_0x5b238e(0x26c)](_0x95d0be=>{var _0x260215=_0x5b238e,_0xf88e2f;typeof _0x95d0be>'u'||(this[_0x260215(0x31d)]=_0x95d0be,_0x95d0be?(this['_joinRoom'](_0x95d0be),this[_0x260215(0x1db)]=_0x95d0be[_0x260215(0x45e)]['subscribe'](_0x1b2153=>{var _0x51b50b=_0x260215;_0x1b2153['routeKey']===this[_0x51b50b(0x2e3)]&&this['_onCombEvent'](_0x1b2153);})):(this[_0x260215(0x3d0)](),this[_0x260215(0x434)][_0x260215(0x2cb)](0x2),(_0xf88e2f=this['_socketMessageSubscription'])==null||_0xf88e2f[_0x260215(0x1f6)](),this[_0x260215(0x1db)]=null));}));}get[_0x1af128(0x495)](){var _0x340704=_0x1af128;return this['_sessionStatus$'][_0x340704(0x2f7)]();}[_0x1af128(0x435)](){var _0x4f8b1a=_0x1af128,_0x29a04a,_0x36fda0;return(_0x36fda0=(_0x29a04a=this[_0x4f8b1a(0x31d)])==null?void 0x0:_0x29a04a['memberID'])!=null?_0x36fda0:null;}['dispose'](){var _0x59151c=_0x1af128;super[_0x59151c(0x1d3)](),this[_0x59151c(0x2f3)][_0x59151c(0x2cb)](),this['dispose$'][_0x59151c(0x3b1)]();}[_0x1af128(0x3c0)](){var _0x153ece=_0x1af128,_0x50c18e,_0x1e91f8;this[_0x153ece(0x3d0)](),(_0x50c18e=this[_0x153ece(0x31d)])==null||_0x50c18e[_0x153ece(0x444)]({'cmd':F[_0x153ece(0x493)],'data':{'roomID':this[_0x153ece(0x2e3)]}}),(_0x1e91f8=this[_0x153ece(0x31d)])==null||_0x1e91f8[_0x153ece(0x3c0)](),this[_0x153ece(0x3b9)][_0x153ece(0x3b1)](),this[_0x153ece(0x434)]['complete'](),this['dispose']();}['_onCombEvent'](_0x59bb61){var _0x21df86=_0x1af128;_0x59bb61[_0x21df86(0x223)]===F[_0x21df86(0x483)]?this[_0x21df86(0x34f)](_0x59bb61):_0x59bb61['cmd']===F[_0x21df86(0x217)]&&this[_0x21df86(0x33e)](_0x59bb61);}[_0x1af128(0x2fb)](_0xce0a15){var _0x39f688=_0x1af128;this[_0x39f688(0x434)]['next'](0x1),_0xce0a15[_0x39f688(0x444)]({'cmd':F[_0x39f688(0x483)],'routeKey':this[_0x39f688(0x2e3)],'routeType':'','data':{'rooms':[{'roomID':this[_0x39f688(0x2e3)]}]}});}[_0x1af128(0x34f)](_0xead141){var _0x20a79b=_0x1af128,_0x36f846;if(_0xead141['code']in Yt){this[_0x20a79b(0x4b1)]['emitEvent']({'id':se[_0x20a79b(0x209)],'data':Yt[_0xead141[_0x20a79b(0x2c3)]]}),this['_sessionStatus$'][_0x20a79b(0x2cb)](0x2);return;}this[_0x20a79b(0x434)][_0x20a79b(0x2cb)](0x3);const _0x35ce16=(_0x36f846=_0xead141[_0x20a79b(0x345)][_0x20a79b(0x31b)][this['_unitID']])==null?void 0x0:_0x36f846[_0x20a79b(0x268)];_0x35ce16&&_0x35ce16[_0x20a79b(0x30f)](_0x7df805=>this[_0x20a79b(0x37c)][_0x20a79b(0x20a)](this[_0x20a79b(0x2e3)],_0x7df805));}[_0x1af128(0x33e)](_0x290133){var _0x83fc99=_0x1af128;try{const _0x400591=_0x290133['data'];switch(_0x400591[_0x83fc99(0x492)]){case _0x1d08ca[_0x83fc99(0x418)]:this['_onUserJoin'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x33d)]:this['_onUserLeave'](_0x400591),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x333)]:case _0x1d08ca[_0x83fc99(0x4c4)]:this[_0x83fc99(0x378)](),this[_0x83fc99(0x4ad)](),this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);break;case _0x1d08ca[_0x83fc99(0x222)]:this[_0x83fc99(0x485)][_0x83fc99(0x479)](_0x83fc99(0x39d)+JSON[_0x83fc99(0x44b)](_0x400591)),this[_0x83fc99(0x3b9)]['next'](_0x400591);break;case _0x1d08ca[_0x83fc99(0x1fc)]:this[_0x83fc99(0x314)]['onCommentUpdate'](_0x400591[_0x83fc99(0x345)]),this['_event$'][_0x83fc99(0x2cb)](_0x400591);break;default:this[_0x83fc99(0x3b9)][_0x83fc99(0x2cb)](_0x400591);}}catch(_0x230ae3){this['_logService'][_0x83fc99(0x479)](_0x230ae3,_0x290133);}}[_0x1af128(0x45b)](_0x1f0a8e){var _0x188923=_0x1af128;this[_0x188923(0x37c)][_0x188923(0x20a)](this[_0x188923(0x2e3)],_0x1f0a8e[_0x188923(0x345)]);}['_onUserLeave'](_0x56cb83){var _0x13ec04=_0x1af128;this['_memberService'][_0x13ec04(0x3e2)](this['_unitID'],_0x56cb83[_0x13ec04(0x345)][_0x13ec04(0x2a4)]);}async[_0x1af128(0x444)](_0x80a34e,_0x53f338){var _0x5c5ea8=_0x1af128;if(this[_0x5c5ea8(0x495)]!==0x3||!this['_socket'])throw new Error(_0x5c5ea8(0x3fd));try{_0x80a34e[_0x5c5ea8(0x492)]===_0x1d08ca[_0x5c5ea8(0x2b2)]&&(this[_0x5c5ea8(0x2ab)](),this[_0x5c5ea8(0x213)](_0x80a34e)),this[_0x5c5ea8(0x31d)][_0x5c5ea8(0x444)]({'cmd':F[_0x5c5ea8(0x373)],'routeKey':_0x53f338,'routeType':'','data':_0x80a34e});}catch(_0x3e088b){this[_0x5c5ea8(0x485)]['error'](_0x3e088b);}}[_0x1af128(0x2ab)](){var _0x23cca4=_0x1af128,_0x1633be;this[_0x23cca4(0x28c)]=setTimeout(()=>{var _0xc396d1=_0x23cca4;this[_0xc396d1(0x28c)]=null,this[_0xc396d1(0x4b1)][_0xc396d1(0x258)]({'id':se[_0xc396d1(0x3af)]});},(_0x1633be=this['_configService'][_0x23cca4(0x49e)](Si))!=null?_0x1633be:Ei);}[_0x1af128(0x4ad)](){var _0x491710=_0x1af128;this[_0x491710(0x28c)]&&(clearTimeout(this[_0x491710(0x28c)]),this[_0x491710(0x28c)]=null);}[_0x1af128(0x213)](_0x190c14){var _0x57c2e1=_0x1af128;if(!this[_0x57c2e1(0x254)])return;const {data:_0x2c8543}=_0x190c14,{unitID:_0x37a386,changeset:_0x135382}=_0x2c8543,{mutations:_0x581425,type:_0x16daaf}=_0x135382;this[_0x57c2e1(0x37b)]={'unitId':_0x37a386,'type':_0x16daaf,'startTime':performance[_0x57c2e1(0x428)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x581425)};}[_0x1af128(0x378)](){var _0x1b7aed=_0x1af128;if(this[_0x1b7aed(0x254)]){if(!this['_telemetryInfo']){this[_0x1b7aed(0x485)][_0x1b7aed(0x479)](_0x1b7aed(0x259),'telemetry\x20info\x20is\x20not\x20initialized');return;}this[_0x1b7aed(0x37b)]['stopTime']=performance[_0x1b7aed(0x428)](),this[_0x1b7aed(0x37b)][_0x1b7aed(0x233)]=this[_0x1b7aed(0x37b)]['stopTime']-this[_0x1b7aed(0x37b)][_0x1b7aed(0x285)],this[_0x1b7aed(0x394)][_0x1b7aed(0x391)](Vn,this[_0x1b7aed(0x37b)]),this[_0x1b7aed(0x37b)]=null;}}[_0x1af128(0x3d0)](){var _0xdb2166=_0x1af128;this[_0xdb2166(0x37b)]=null;}};It=Xn([me(0x2,_0x334ed4),me(0x3,_0xb3f6ba),me(0x4,_0x50b881(_0x3d3898)),me(0x5,_0x50b881(xe)),me(0x6,_0x50b881(Ri)),me(0x7,_0x50b881(pe)),me(0x8,_0x325bd4(_0x3dbc3c))],It);var Zn=Object[_0x1af128(0x4ba)],Qn=Object[_0x1af128(0x3d3)],er=(_0x29a323,_0x52abcd,_0x56da52,_0x67f6e7)=>{for(var _0x53987b=_0x67f6e7>0x1?void 0x0:_0x67f6e7?Qn(_0x52abcd,_0x56da52):_0x52abcd,_0x5efb02=_0x29a323['length']-0x1,_0xda1e06;_0x5efb02>=0x0;_0x5efb02--)(_0xda1e06=_0x29a323[_0x5efb02])&&(_0x53987b=(_0x67f6e7?_0xda1e06(_0x52abcd,_0x56da52,_0x53987b):_0xda1e06(_0x53987b))||_0x53987b);return _0x67f6e7&&_0x53987b&&Zn(_0x52abcd,_0x56da52,_0x53987b),_0x53987b;},ge=(_0x3bfb91,_0xa98021)=>(_0x4b4fc4,_0x1963f3)=>_0xa98021(_0x4b4fc4,_0x1963f3,_0x3bfb91);let Le=class extends _0x1ec030{constructor(_0x49bd31,_0x177a1c,_0x59d771,_0x32b823,_0x5b1ef7,_0x3f506b,_0x1a34ca){var _0x3de4fb=_0x1af128;super(),N(this,_0x3de4fb(0x2bc),new _0x230061(void 0x0)),N(this,_0x3de4fb(0x443),this['_socket$'][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x350),null),N(this,'_sessions',new Map()),N(this,_0x3de4fb(0x3c8),new _0x230061(Te[_0x3de4fb(0x220)])),N(this,_0x3de4fb(0x388),this[_0x3de4fb(0x3c8)][_0x3de4fb(0x2c7)]()),N(this,_0x3de4fb(0x415),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3de4fb(0x20d),0x0),N(this,_0x3de4fb(0x27e)),N(this,'_timeoutTimer'),(this[_0x3de4fb(0x367)]=_0x49bd31,this['_logService']=_0x177a1c,this[_0x3de4fb(0x4d1)]=_0x59d771,this[_0x3de4fb(0x44f)]=_0x32b823,this[_0x3de4fb(0x1ea)]=_0x5b1ef7,this[_0x3de4fb(0x4b1)]=_0x3f506b,this[_0x3de4fb(0x204)]=_0x1a34ca,this['_listenToNetworkCondition']());}get[_0x1af128(0x31d)](){var _0x2c911d=_0x1af128;return this[_0x2c911d(0x2bc)][_0x2c911d(0x2f7)]();}[_0x1af128(0x433)](){var _0x42e027=_0x1af128;this[_0x42e027(0x204)]&&this[_0x42e027(0x3b0)](this[_0x42e027(0x204)][_0x42e027(0x429)][_0x42e027(0x26c)](_0x2f0566=>{var _0x40f7df=_0x42e027;_0x2f0566&&!this[_0x40f7df(0x31d)]&&this[_0x40f7df(0x2c9)](),_0x2f0566||this[_0x40f7df(0x359)]();}));}[_0x1af128(0x1d3)](){var _0x2e6ec3=_0x1af128;super[_0x2e6ec3(0x1d3)](),this['_sessions'][_0x2e6ec3(0x30f)](_0x219671=>_0x219671[_0x2e6ec3(0x1d3)]()),this[_0x2e6ec3(0x36d)][_0x2e6ec3(0x348)](),this[_0x2e6ec3(0x3c8)][_0x2e6ec3(0x3b1)]();}async['requireSession'](_0x442f0c){var _0x2443ca=_0x1af128;if(this['_sessions'][_0x2443ca(0x278)](_0x442f0c))return this[_0x2443ca(0x36d)][_0x2443ca(0x416)](_0x442f0c);this[_0x2443ca(0x331)]();const _0x2fea0c=this[_0x2443ca(0x367)][_0x2443ca(0x372)](It,_0x442f0c,this[_0x2443ca(0x2bc)][_0x2443ca(0x2c7)]());return this[_0x2443ca(0x36d)][_0x2443ca(0x255)](_0x442f0c,_0x2fea0c),_0x2fea0c;}[_0x1af128(0x3e9)](_0x2c6a29){var _0x334af3=_0x1af128,_0x2e2cb2;const _0x18e877=this['_sessions'][_0x334af3(0x416)](_0x2c6a29);_0x18e877&&(this['_sessions'][_0x334af3(0x31f)](_0x2c6a29),_0x18e877[_0x334af3(0x3c0)]()),this[_0x334af3(0x36d)][_0x334af3(0x363)]||(_0x2e2cb2=this['_socket'])==null||_0x2e2cb2[_0x334af3(0x3c0)]();}[_0x1af128(0x2c9)](){var _0x4bbd28=_0x1af128;this[_0x4bbd28(0x20d)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x4bbd28(0x277)]),this['_retryConnectingTimer']=null),this[_0x4bbd28(0x2f5)]();}async[_0x1af128(0x325)](){var _0x1a5e13=_0x1af128,_0x291c71,_0x71e03c,_0x422431;const _0x36c69f=this[_0x1a5e13(0x4d1)]['getConfig'](q),_0x19d4b4=(_0x291c71=_0x36c69f==null?void 0x0:_0x36c69f['wsSessionTicketUrl'])!=null?_0x291c71:On;return(_0x422431=(_0x71e03c=(await this['_httpService'][_0x1a5e13(0x416)](_0x19d4b4,{'headers':{'Content-Type':_0x1a5e13(0x216)}}))['body'])==null?void 0x0:_0x71e03c[_0x1a5e13(0x2e5)])!=null?_0x422431:'';}['_createSocketURL'](_0xb3815a){var _0x239663=_0x1af128,_0x3dbb17,_0x171fdd;const _0x528851=this[_0x239663(0x4d1)]['getConfig'](Rn),_0x556973=this['_configService']['getConfig'](q),_0x1ad877=(_0x171fdd=(_0x3dbb17=_0x556973==null?void 0x0:_0x556973['collabWebSocketUrl'])!=null?_0x3dbb17:_0x528851)!=null?_0x171fdd:bn,_0x735a98=typeof window>'u'?new URL(_0x1ad877):new URL(_0x1ad877,window[_0x239663(0x25e)][_0x239663(0x21a)]);_0x735a98[_0x239663(0x3b4)][_0x239663(0x255)](_0x239663(0x1f5),_0xb3815a);const _0x565908=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x239663(0x25e)][_0x239663(0x2f6)]);return _0x565908['get'](_0x239663(0x264))&&_0x735a98['searchParams'][_0x239663(0x255)](_0x239663(0x264),_0x565908['get']('runId')),_0x735a98['toString']();}async[_0x1af128(0x36c)](){var _0xb5aa97=_0x1af128;const _0x9a69ae=await this[_0xb5aa97(0x325)](),_0x42be40=this['_createSocketURL'](_0x9a69ae),_0x26ec61=this[_0xb5aa97(0x44f)][_0xb5aa97(0x252)](_0x42be40);return this[_0xb5aa97(0x350)]=_0x26ec61,_0x26ec61;}async['_tryEnsureSocket'](){var _0x5e93c6=_0x1af128,_0x18b492,_0xb09e36;try{const _0x5a9f73=(_0xb09e36=(_0x18b492=this[_0x5e93c6(0x31d)])!=null?_0x18b492:this[_0x5e93c6(0x350)])!=null?_0xb09e36:await this[_0x5e93c6(0x36c)]();if(_0x5a9f73){const _0x2b1f7b=_0x5a9f73[_0x5e93c6(0x444)];_0x5a9f73[_0x5e93c6(0x444)]=_0x37394d=>(this[_0x5e93c6(0x1eb)](),_0x2b1f7b['apply'](_0x5a9f73,[_0x37394d])),_0x5a9f73[_0x5e93c6(0x45e)]['subscribe'](_0x3970da=>this['_onMessage'](_0x5a9f73,_0x3970da)),_0x5a9f73[_0x5e93c6(0x414)]['pipe'](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0x22f730=>this[_0x5e93c6(0x485)]['error'](_0x5e93c6(0x2d5),_0x22f730)),_0x5a9f73[_0x5e93c6(0x23e)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](()=>{this['_onConnectionOpen'](_0x5a9f73);}),_0x5a9f73[_0x5e93c6(0x409)][_0x5e93c6(0x463)](_0x41f024(0x1))[_0x5e93c6(0x26c)](_0xf3f952=>{var _0xfdaf72=_0x5e93c6;this[_0xfdaf72(0x485)]['debug'](_0xfdaf72(0x3e1),_0xfdaf72(0x43a),_0xf3f952),this[_0xfdaf72(0x33a)]();});}}catch(_0x992d87){this[_0x5e93c6(0x485)][_0x5e93c6(0x479)](_0x992d87),this[_0x5e93c6(0x33a)]();}}[_0x1af128(0x3d5)](_0x1f03e0){var _0x24eecf=_0x1af128;this[_0x24eecf(0x485)]['debug'](_0x24eecf(0x3e1),_0x24eecf(0x4c8)),_0x1f03e0['send']({'cmd':F[_0x24eecf(0x3f4)]}),this[_0x24eecf(0x1eb)]();}[_0x1af128(0x359)](){var _0x65b36d=_0x1af128;this[_0x65b36d(0x415)]=!0x1,this[_0x65b36d(0x350)]=null,this[_0x65b36d(0x3c8)]['next'](Te['OFFLINE']),this[_0x65b36d(0x2bc)][_0x65b36d(0x2cb)](null),this[_0x65b36d(0x203)](),this['_clearHeartbeatTimer']();}[_0x1af128(0x33a)](){var _0xf5a411=_0x1af128,_0x271aba;this[_0xf5a411(0x359)](),this[_0xf5a411(0x20d)]<((_0x271aba=this[_0xf5a411(0x4d1)][_0xf5a411(0x49e)](Pn))!=null?_0x271aba:wn)?(this['_collaborationUIEventService'][_0xf5a411(0x258)]({'id':se[_0xf5a411(0x420)]}),this[_0xf5a411(0x2f5)]()):this[_0xf5a411(0x4b1)]['emitEvent']({'id':se['SOCKET_FAILED']});}[_0x1af128(0x2f5)](){var _0x40129f=_0x1af128,_0x53b224;const _0x162d80=this[_0x40129f(0x20d)],_0x19d3fc=this[_0x40129f(0x4d1)][_0x40129f(0x49e)](q),_0x5e01e4=_0x162d80===0x0?0x0:((_0x53b224=_0x19d3fc==null?void 0x0:_0x19d3fc[_0x40129f(0x496)])!=null?_0x53b224:Dn)*0x2**_0x162d80;this['_retryConnectingTimer']=setTimeout(()=>{var _0x547c70=_0x40129f;clearTimeout(this[_0x547c70(0x277)]),this[_0x547c70(0x277)]=null,this['_tryEnsureSocket']();},_0x5e01e4),this[_0x40129f(0x20d)]+=0x1;}[_0x1af128(0x44d)](_0x4fa5f9,_0x48bed8){var _0x4cc1e4=_0x1af128;const {cmd:_0x2255d3}=_0x48bed8;_0x2255d3===F['HELLO']&&!this[_0x4cc1e4(0x415)]&&(_0x4fa5f9[_0x4cc1e4(0x2a4)]=_0x48bed8[_0x4cc1e4(0x345)]['memberID'],this[_0x4cc1e4(0x2bc)][_0x4cc1e4(0x2cb)](_0x4fa5f9),this[_0x4cc1e4(0x3c8)][_0x4cc1e4(0x2cb)](Te[_0x4cc1e4(0x336)]),this[_0x4cc1e4(0x415)]=!0x0,this[_0x4cc1e4(0x350)]=null),_0x2255d3===F['HEARTBEAT']&&this[_0x4cc1e4(0x203)](),this['_rescheduleHeartbeat']();}[_0x1af128(0x1eb)](){var _0x50c041=_0x1af128,_0x5cb7c7;this[_0x50c041(0x43c)](),this[_0x50c041(0x27e)]=setTimeout(()=>this[_0x50c041(0x470)](),(_0x5cb7c7=this['_configService'][_0x50c041(0x49e)](yn))!=null?_0x5cb7c7:Nn);}['_sendHeartbeat'](){var _0x5ccd9c=_0x1af128;this[_0x5ccd9c(0x31d)]['send']({'cmd':F[_0x5ccd9c(0x475)]}),this['_waitForHeartbeatResponse']();}[_0x1af128(0x3cd)](){var _0x694731=_0x1af128,_0x19a885;this[_0x694731(0x49a)]=setTimeout(()=>this[_0x694731(0x33a)](),(_0x19a885=this[_0x694731(0x4d1)][_0x694731(0x49e)](Si))!=null?_0x19a885:Ei);}['_clearHeartbeatTimer'](){var _0x20cec5=_0x1af128;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x20cec5(0x27e)]),this['_sendHeartbeatTimer']=null);}['_clearTimeoutTimer'](){var _0x369bf5=_0x1af128;this[_0x369bf5(0x49a)]!=null&&(clearTimeout(this[_0x369bf5(0x49a)]),this[_0x369bf5(0x49a)]=null);}};Le=er([ge(0x0,_0x50b881(_0x339edd)),ge(0x1,_0x334ed4),ge(0x2,_0xb3f6ba),ge(0x3,Ci),ge(0x4,_0x50b881(_0x51273b)),ge(0x5,_0x50b881(pe)),ge(0x6,_0x325bd4(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x1af128(0x2ad)]((n+0x100)[_0x1af128(0x4d5)](0x10)[_0x1af128(0x386)](0x1));function tr(_0x520935,_0x30c155=0x0){var _0x54938e=_0x1af128;return(V[_0x520935[_0x30c155+0x0]]+V[_0x520935[_0x30c155+0x1]]+V[_0x520935[_0x30c155+0x2]]+V[_0x520935[_0x30c155+0x3]]+'-'+V[_0x520935[_0x30c155+0x4]]+V[_0x520935[_0x30c155+0x5]]+'-'+V[_0x520935[_0x30c155+0x6]]+V[_0x520935[_0x30c155+0x7]]+'-'+V[_0x520935[_0x30c155+0x8]]+V[_0x520935[_0x30c155+0x9]]+'-'+V[_0x520935[_0x30c155+0xa]]+V[_0x520935[_0x30c155+0xb]]+V[_0x520935[_0x30c155+0xc]]+V[_0x520935[_0x30c155+0xd]]+V[_0x520935[_0x30c155+0xe]]+V[_0x520935[_0x30c155+0xf]])[_0x54938e(0x3fb)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x5ddab2=_0x1af128;if(!ut){if(typeof crypto>'u'||!crypto[_0x5ddab2(0x25c)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x5ddab2(0x25c)][_0x5ddab2(0x1f1)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x1af128(0x2aa)]&&crypto['randomUUID']['bind'](crypto),qt={'randomUUID':rr};function sr(_0x12ac45,_0x5c9654,_0x2a4b71){var _0x1ff54e=_0x1af128,_0x34b635,_0x36372e,_0x8298f8;if(qt[_0x1ff54e(0x2aa)]&&!_0x12ac45)return qt[_0x1ff54e(0x2aa)]();_0x12ac45=_0x12ac45||{};const _0x475763=(_0x8298f8=(_0x36372e=_0x12ac45[_0x1ff54e(0x1d7)])!=null?_0x36372e:(_0x34b635=_0x12ac45[_0x1ff54e(0x2be)])==null?void 0x0:_0x34b635[_0x1ff54e(0x3f9)](_0x12ac45))!=null?_0x8298f8:nr();if(_0x475763[_0x1ff54e(0x431)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x475763[0x6]=_0x475763[0x6]&0xf|0x40,_0x475763[0x8]=_0x475763[0x8]&0x3f|0x80,tr(_0x475763);}const J=_0x22f5cd(_0x1af128(0x304));function so(_0x213a4d){var _0x38f52b=_0x1af128;return _0x38f52b(0x20b)+_0x213a4d;}var or=Object[_0x1af128(0x4ba)],ar=Object['getOwnPropertyDescriptor'],cr=(_0x56aad5,_0x38c743,_0x3c6ef6,_0x3e226a)=>{var _0x15f44c=_0x1af128;for(var _0x481e7e=_0x3e226a>0x1?void 0x0:_0x3e226a?ar(_0x38c743,_0x3c6ef6):_0x38c743,_0x131cba=_0x56aad5[_0x15f44c(0x431)]-0x1,_0x33d203;_0x131cba>=0x0;_0x131cba--)(_0x33d203=_0x56aad5[_0x131cba])&&(_0x481e7e=(_0x3e226a?_0x33d203(_0x38c743,_0x3c6ef6,_0x481e7e):_0x33d203(_0x481e7e))||_0x481e7e);return _0x3e226a&&_0x481e7e&&or(_0x38c743,_0x3c6ef6,_0x481e7e),_0x481e7e;},dt=(_0x4fc5db,_0xa363bf)=>(_0x15576d,_0xc3ea2)=>_0xa363bf(_0x15576d,_0xc3ea2,_0x4fc5db);function hr(_0x4a0c70){var _0x5a7596=_0x1af128;const {unitID:_0x154626,mutations:_0x354658}=_0x4a0c70;return{'unitId':_0x154626,'subUnitId':_0x354658[0x0][_0x5a7596(0x311)]['subUnitId']};}let it=class{constructor(_0x3ccea9,_0x17883e,_0x25239f){var _0x5e837b=_0x1af128;this[_0x5e837b(0x367)]=_0x3ccea9,this[_0x5e837b(0x44a)]=_0x17883e,this['_instanceService']=_0x25239f;}[_0x1af128(0x3aa)](_0x3ea5fa){var _0x3f7256=_0x1af128,_0xa6e842,_0xa507a5,_0xcd0041,_0x506449;const _0x327398=this[_0x3f7256(0x367)]['get'](_0x370139),{unitId:_0x564ab2,subUnitId:_0x46a322}=hr(_0x3ea5fa),_0x5d5f89=_0x327398==null?void 0x0:_0x327398[_0x3f7256(0x4cd)](_0x564ab2)[_0x3f7256(0x3bf)](),_0x5227b9=(_0xa507a5=(_0xa6e842=this[_0x3f7256(0x310)][_0x3f7256(0x396)](_0x564ab2))==null?void 0x0:_0xa6e842['getActiveSheet']())==null?void 0x0:_0xa507a5[_0x3f7256(0x44e)]();if(_0x5d5f89['length']===0x0||!_0x564ab2||!_0x46a322)return;const _0x3b4012=[{'id':_0x2d5539['id'],'params':{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x15157c[_0x3f7256(0x2fc)](_0x5d5f89)}}],_0x5e5136=this['_transformService'][_0x3f7256(0x29f)](_0x3ea5fa,_0x3b4012);if(!_0x49a34e(_0x5e5136))throw _0x5e5136[_0x3f7256(0x479)];const _0x1383fe=(_0x506449=(_0xcd0041=_0x5e5136['m2Prime'][0x0])==null?void 0x0:_0xcd0041[_0x3f7256(0x311)])==null?void 0x0:_0x506449[_0x3f7256(0x275)];if(Array[_0x3f7256(0x22f)](_0x1383fe)&&_0x1383fe[_0x3f7256(0x431)]){if(_0x1383fe[_0x3f7256(0x431)]===_0x3b4012[0x0][_0x3f7256(0x311)]['selections'][_0x3f7256(0x431)]&&_0x1383fe[_0x3f7256(0x481)]((_0x2fcf7a,_0x37d130)=>_0x47e43a[_0x3f7256(0x454)](_0x2fcf7a[_0x3f7256(0x25b)],_0x3b4012[0x0][_0x3f7256(0x311)][_0x3f7256(0x275)][_0x37d130][_0x3f7256(0x25b)])))return;this[_0x3f7256(0x367)][_0x3f7256(0x416)](_0x4f3e11)[_0x3f7256(0x283)](_0x2d5539['id'],{'unitId':_0x564ab2,'subUnitId':_0x5227b9,'selections':_0x1383fe});}}};it=cr([dt(0x0,_0x50b881(_0x339edd)),dt(0x1,_0x207f44),dt(0x2,_0x42b8e7)],it);const ht=_0x22f5cd('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x4bef2d=>(_0x4bef2d[_0x4bef2d[_0x1af128(0x456)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x4bef2d[_0x4bef2d[_0x1af128(0x212)]=0x1]='OTHER_CLIENTS_EDITING',_0x4bef2d))(bi||{});const _r=new Set([_0x361fa7['id']]);function zt(_0x144034,_0x1060e5,_0x3a7ed4,_0xdef30,_0x2564d8){var _0x365fcc=_0x1af128,_0xb44493,_0x6898fc,_0x2f2ed9,_0x236de7;const _0x154c46=[];for(const _0x2ce3f3 of _0x144034)if(_r[_0x365fcc(0x278)](_0x2ce3f3['id'])){if(_0x154c46['length']>0x0)break;_0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);break;}else _0x154c46[_0x365fcc(0x2ad)](_0x2ce3f3);const _0x138525=(_0x6898fc=(_0xb44493=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0xb44493[_0x365fcc(0x2c6)])!=null?_0x6898fc:'unknown',_0x33fda6=(_0x236de7=(_0x2f2ed9=_0x2564d8[_0x365fcc(0x1dc)]())==null?void 0x0:_0x2f2ed9[_0x365fcc(0x2a4)])!=null?_0x236de7:'unknown';return{'changeset':{'unitID':_0x1060e5,'type':_0x3450b7(_0x3a7ed4[_0x365fcc(0x26a)](_0x1060e5)),'baseRev':_0xdef30[_0x365fcc(0x224)](_0x1060e5),'revision':0x0,'userID':_0x138525,'memberID':_0x33fda6,'mutations':_0x154c46},'pendingMutations':_0x144034[_0x365fcc(0x386)](_0x154c46[_0x365fcc(0x431)])};}function lr(_0x48e31e,_0x5d643e,_0x1b3807,_0x5ba7e4,_0x58f67c){var _0x1ff6d9=_0x1af128,_0x378d0b,_0x1be4bc,_0x922ef4,_0x321676;const _0x584fea=[_0x48e31e[_0x1ff6d9(0x327)]((_0x5688b2,_0x5db1d8)=>{var _0x4a8315=_0x1ff6d9,_0x4b670f;const {id:_0x1b4f6d}=_0x5688b2,{id:_0x27841b,type:_0x990842}=_0x5db1d8,_0x4c47de=(_0x4b670f=_0x5688b2[_0x4a8315(0x311)])!=null?_0x4b670f:{'actions':null},_0x19a4e3=_0x5db1d8[_0x4a8315(0x311)];if(_0x1b4f6d&&_0x1b4f6d!==_0x27841b)throw new Error(_0x4a8315(0x309)+_0x1b4f6d+'\x20-\x20'+_0x27841b+'.');return{..._0x5688b2,'id':_0x27841b,'type':_0x990842,'params':{'unitId':_0x19a4e3[_0x4a8315(0x379)],'textRanges':_0x19a4e3[_0x4a8315(0x3c1)],'actions':_0x4890ac[_0x4a8315(0x398)](_0x4c47de['actions'],_0x19a4e3[_0x4a8315(0x366)])}};},{})],_0x179378=(_0x1be4bc=(_0x378d0b=_0x58f67c[_0x1ff6d9(0x1dc)]())==null?void 0x0:_0x378d0b[_0x1ff6d9(0x2c6)])!=null?_0x1be4bc:_0x1ff6d9(0x2a7),_0x3f9e72=(_0x321676=(_0x922ef4=_0x58f67c['getCurrentUser']())==null?void 0x0:_0x922ef4[_0x1ff6d9(0x2a4)])!=null?_0x321676:'unknown';return{'changeset':{'unitID':_0x5d643e,'type':_0x3450b7(_0x1b3807[_0x1ff6d9(0x26a)](_0x5d643e)),'baseRev':_0x5ba7e4[_0x1ff6d9(0x224)](_0x5d643e),'revision':0x0,'userID':_0x179378,'memberID':_0x3f9e72,'mutations':_0x584fea},'pendingMutations':[]};}function Oi(_0x11efea,_0x184cad){var _0xf434e4=_0x1af128;const _0x2ed9ed=new _0x55eb7f(0x1);return setTimeout(()=>_0x2ed9ed[_0xf434e4(0x2cb)](_0x184cad),_0x11efea),_0x2ed9ed[_0xf434e4(0x2c7)]()['pipe'](_0x2a8f0e(0x1));}const ur={'id':_0x1a6a86['id'],'type':_0x572a97[_0x1af128(0x480)],'params':{}};var dr=Object['defineProperty'],fr=Object[_0x1af128(0x3d3)],Re=(_0xcf857a,_0x1cc08e,_0x33c596,_0x590512)=>{var _0x309fc5=_0x1af128;for(var _0x4d7ddb=_0x590512>0x1?void 0x0:_0x590512?fr(_0x1cc08e,_0x33c596):_0x1cc08e,_0x8ee662=_0xcf857a[_0x309fc5(0x431)]-0x1,_0x118ce3;_0x8ee662>=0x0;_0x8ee662--)(_0x118ce3=_0xcf857a[_0x8ee662])&&(_0x4d7ddb=(_0x590512?_0x118ce3(_0x1cc08e,_0x33c596,_0x4d7ddb):_0x118ce3(_0x4d7ddb))||_0x4d7ddb);return _0x590512&&_0x4d7ddb&&dr(_0x1cc08e,_0x33c596,_0x4d7ddb),_0x4d7ddb;},A=(_0xfcb904,_0x4bcc74)=>(_0x5c1cc9,_0x4e2d62)=>_0x4bcc74(_0x5c1cc9,_0x4e2d62,_0xfcb904),yi=(_0x1a8b2b=>(_0x1a8b2b[_0x1af128(0x22a)]='not_collab',_0x1a8b2b[_0x1af128(0x380)]=_0x1af128(0x49f),_0x1a8b2b['PENDING']='pending',_0x1a8b2b[_0x1af128(0x384)]=_0x1af128(0x3fe),_0x1a8b2b['AWAITING_WITH_PENDING']=_0x1af128(0x34c),_0x1a8b2b[_0x1af128(0x1ff)]=_0x1af128(0x4cb),_0x1a8b2b[_0x1af128(0x3dc)]=_0x1af128(0x47e),_0x1a8b2b[_0x1af128(0x2b8)]=_0x1af128(0x375),_0x1a8b2b))(yi||{});const Ni=0xea60;class be{constructor(_0x5452d5,_0x19fc95,_0x626838,_0x418af8,_0x4b06de,_0x5cfa51,_0x1ac612,_0x561631,_0x28701a){var _0x2b687f=_0x1af128;N(this,_0x2b687f(0x4d0),null),N(this,_0x2b687f(0x28d),[]),(this[_0x2b687f(0x1fa)]=_0x5452d5,this[_0x2b687f(0x417)]=_0x19fc95,this['_handler']=_0x4b06de,this[_0x2b687f(0x32c)]=_0x5cfa51,this[_0x2b687f(0x1ee)]=_0x1ac612,this['_revisionService']=_0x561631,this[_0x2b687f(0x1e8)]=_0x28701a,this['_awaitingChangeset']=_0x626838,this[_0x2b687f(0x28d)]=_0x418af8);}[_0x1af128(0x274)](_0x5b956b){var _0x30c0af=_0x1af128;const _0x227a47=this[_0x30c0af(0x1f3)][_0x30c0af(0x224)](this[_0x30c0af(0x1fa)]);return _0x5b956b[_0x30c0af(0x244)]>_0x227a47+0x1?(this[_0x30c0af(0x321)]['onMissingChangesets']({'from':_0x227a47,'to':_0x5b956b[_0x30c0af(0x244)]-0x1}),!0x0):!0x1;}[_0x1af128(0x2f9)](_0x134ec1){var _0x3a7924=_0x1af128;this['_undoRedoService'][_0x3a7924(0x2de)](this['unitID'],_0x134ec1);}[_0x1af128(0x353)](_0xe19362){var _0x2f9d66=_0x1af128,_0x36b68b,_0x243c67;(_0x243c67=(_0x36b68b=this['_handler'])['onTransformSelections'])==null||_0x243c67[_0x2f9d66(0x3f9)](_0x36b68b,_0xe19362);}[_0x1af128(0x2b5)](_0x53ecc1){var _0x5c280a=_0x1af128,_0x37d63a,_0x1ef900;return(_0x1ef900=(_0x37d63a=this[_0x5c280a(0x321)])[_0x5c280a(0x457)])==null?void 0x0:_0x1ef900['call'](_0x37d63a,_0x53ecc1);}[_0x1af128(0x343)](_0x5c509e){var _0x29d7e7=_0x1af128,_0x4fc22d,_0x585d9e;return(_0x585d9e=(_0x4fc22d=this[_0x29d7e7(0x321)])[_0x29d7e7(0x36e)])==null?void 0x0:_0x585d9e[_0x29d7e7(0x3f9)](_0x4fc22d,_0x5c509e);}[_0x1af128(0x4d6)](_0x4db1cf){var _0x2e5dc8=_0x1af128,_0x3c8b19,_0xbfdfb2,_0x5131fb;return(_0x5131fb=(_0xbfdfb2=(_0x3c8b19=this[_0x2e5dc8(0x321)])[_0x2e5dc8(0x45d)])==null?void 0x0:_0xbfdfb2[_0x2e5dc8(0x3f9)](_0x3c8b19,_0x4db1cf))!=null?_0x5131fb:_0x4db1cf;}[_0x1af128(0x3a4)](_0x2f355b){var _0x3612c9=_0x1af128,_0x20f550,_0x256ea9,_0xccc4b;return(_0xccc4b=(_0x256ea9=(_0x20f550=this[_0x3612c9(0x321)])[_0x3612c9(0x2c1)])==null?void 0x0:_0x256ea9[_0x3612c9(0x3f9)](_0x20f550,_0x2f355b))!=null?_0xccc4b:_0x2f355b;}[_0x1af128(0x3a8)](_0xb540d8){var _0x515809=_0x1af128,_0x191589,_0x87a6b7;if(this[_0x515809(0x417)]===Q[_0x515809(0x43b)]){const {unitID:_0x4c6871,mutations:_0x4eef9b,memberID:_0x11935b}=_0xb540d8,_0x244317=_0x4eef9b[0x0][_0x515809(0x311)]['textRanges'];Array['isArray'](_0x244317)&&_0x244317['length']>0x0&&((_0x87a6b7=(_0x191589=this[_0x515809(0x321)])[_0x515809(0x221)])==null||_0x87a6b7['call'](_0x191589,{'unitID':_0x4c6871,'memberID':_0x11935b,'textRanges':_0x244317}));}}['_updateLocalCache'](){var _0x298343=_0x1af128,_0x2ccae2;(_0x2ccae2=this[_0x298343(0x1e8)])==null||_0x2ccae2['updateOfflineData'](this['unitID'],this['type'],this[_0x298343(0x4d0)],this['_pendingMutations']);}[_0x1af128(0x490)](){var _0x49bb82=_0x1af128;return this[_0x49bb82(0x1f3)][_0x49bb82(0x224)](this[_0x49bb82(0x1fa)]);}[_0x1af128(0x28e)](){var _0x146c45=_0x1af128;this[_0x146c45(0x1f3)][_0x146c45(0x236)](this['unitID']);}[_0x1af128(0x464)](_0x45993e){var _0x38eabd=_0x1af128,_0x461da1;let _0x24a6fe=this[_0x38eabd(0x4d6)](_0x45993e);_0x24a6fe=this[_0x38eabd(0x3a4)](_0x24a6fe);const _0x3bc693=_0x596acb(_0x24a6fe[_0x38eabd(0x4a4)],this[_0x38eabd(0x32c)],{'fromCollab':!0x0});if(!_0x3bc693[_0x38eabd(0x371)])throw _0x3bc693['error']instanceof Error?_0x3bc693[_0x38eabd(0x479)]:new Error((_0x461da1=_0x3bc693['error'])!=null?_0x461da1:_0x38eabd(0x4a0));this[_0x38eabd(0x2b5)](_0x24a6fe),this[_0x38eabd(0x343)](_0x24a6fe),this[_0x38eabd(0x2f9)](_0x45993e),this[_0x38eabd(0x353)](_0x24a6fe),this['_syncEditingCollabCursor'](_0x24a6fe),this[_0x38eabd(0x28e)]();}}let De=class extends be{constructor(_0xc5cb0f,_0x5207c1,_0x56807e,_0x5b688a,_0x33cf44,_0x42253b,_0x30d3ae,_0x548dcc,_0x55ba4b,_0x407aac){var _0xcf747e=_0x1af128;super(_0xc5cb0f,_0x5207c1,null,[],_0x56807e,_0x30d3ae,_0x42253b,_0x5b688a,_0x407aac),N(this,_0xcf747e(0x29e),_0xcf747e(0x49f)),(this[_0xcf747e(0x367)]=_0x33cf44,this[_0xcf747e(0x485)]=_0x548dcc,this['_transformService']=_0x55ba4b,this[_0xcf747e(0x2e8)]=_0x407aac);}[_0x1af128(0x2a1)](_0x272b55){var _0x523f3e=_0x1af128;const _0x126074=this['_injector']['createInstance'](oe,this[_0x523f3e(0x1fa)],this[_0x523f3e(0x417)],[_0x272b55],this[_0x523f3e(0x321)]);return _0x126074[_0x523f3e(0x4b7)](),_0x126074[_0x523f3e(0x1ed)](),_0x126074;}[_0x1af128(0x22b)](_0x3d395b){var _0x5591a8=_0x1af128;if(this[_0x5591a8(0x274)](_0x3d395b))return this['_injector'][_0x5591a8(0x372)](te,this[_0x5591a8(0x1fa)],this[_0x5591a8(0x417)],null,[],null,[_0x3d395b],this['_handler']);try{const _0x409bbe=this[_0x5591a8(0x44a)][_0x5591a8(0x29f)](_0x3d395b,[ur]);if(_0x49a34e(_0x409bbe)){const {c1Prime:_0x4a6813}=_0x409bbe;return this[_0x5591a8(0x464)](_0x4a6813),this;}throw _0x409bbe[_0x5591a8(0x479)];}catch(_0x1cdf7a){return this[_0x5591a8(0x485)][_0x5591a8(0x479)](_0x1cdf7a),this[_0x5591a8(0x438)](!0x1);}}[_0x1af128(0x438)](_0x385f46){var _0x2a6040=_0x1af128;return this[_0x2a6040(0x367)][_0x2a6040(0x372)](de,this[_0x2a6040(0x1fa)],this[_0x2a6040(0x417)],null,[],this[_0x2a6040(0x321)],_0x385f46);}[_0x1af128(0x4b0)](){var _0x618c34=_0x1af128;throw new Error(_0x618c34(0x3ad));}[_0x1af128(0x37e)](){var _0x52bee9=_0x1af128;throw new Error(_0x52bee9(0x26e));}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x4007c4=_0x1af128;return this[_0x4007c4(0x367)][_0x4007c4(0x372)](fe,this[_0x4007c4(0x1fa)],this[_0x4007c4(0x417)],null,[],this[_0x4007c4(0x321)]);}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x264132=_0x1af128;throw new Error(_0x264132(0x466));}[_0x1af128(0x261)](){var _0xe75e67=_0x1af128;const _0x221a38=this[_0xe75e67(0x1f3)][_0xe75e67(0x224)](this['unitID']);return this[_0xe75e67(0x321)][_0xe75e67(0x269)]({'from':_0x221a38,'to':0x0}),this[_0xe75e67(0x367)][_0xe75e67(0x372)](te,this[_0xe75e67(0x1fa)],this['type'],null,[],null,[],this[_0xe75e67(0x321)]);}};De=Re([A(0x3,_0x50b881(_0x1c117d)),A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x16445d),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x325bd4(J))],De);let oe=class extends be{constructor(_0x2caa22,_0x24ba8c,_0x1a160a,_0x27920a,_0x1ed471,_0x488a75,_0x4d3fbb,_0x119206,_0xcfb6d9,_0x1a572e,_0x76ddcd,_0x669117,_0x245ec4,_0x43ac96){var _0x566615=_0x1af128;super(_0x2caa22,_0x24ba8c,null,_0x1a160a,_0x27920a,_0xcfb6d9,_0x245ec4,_0x488a75,_0x43ac96),N(this,_0x566615(0x29e),_0x566615(0x486)),N(this,_0x566615(0x32f),null),N(this,_0x566615(0x43f),null),(this[_0x566615(0x367)]=_0x1ed471,this[_0x566615(0x37c)]=_0x4d3fbb,this[_0x566615(0x485)]=_0x119206,this[_0x566615(0x4d1)]=_0x1a572e,this['_transformService']=_0x76ddcd,this[_0x566615(0x332)]=_0x669117);}[_0x1af128(0x2a1)](_0x4a70ac){var _0xe686bb=_0x1af128;return this['_pendingMutations'][_0xe686bb(0x2ad)](_0x4a70ac),this[_0xe686bb(0x1ed)](),this;}[_0x1af128(0x22b)](_0x295ec6){var _0x491d2f=_0x1af128;if(this[_0x491d2f(0x274)](_0x295ec6))return this[_0x491d2f(0x1e0)](),this['_injector'][_0x491d2f(0x372)](te,this[_0x491d2f(0x1fa)],this[_0x491d2f(0x417)],null,this['_pendingMutations'],null,[_0x295ec6],this['_handler']);try{const _0x281e52=this[_0x491d2f(0x44a)][_0x491d2f(0x29f)](_0x295ec6,this[_0x491d2f(0x28d)]);if(_0x49a34e(_0x281e52)){const {c1Prime:_0x3bd7f9,m2Prime:_0x5937e2}=_0x281e52;this[_0x491d2f(0x464)](_0x3bd7f9);const _0x19b492=this[_0x491d2f(0x367)][_0x491d2f(0x372)](oe,this['unitID'],this[_0x491d2f(0x417)],_0x5937e2,this['_handler']);this['_clearScheduledTask']();const _0xa0e110=new Date()[_0x491d2f(0x219)](),_0x921ea1=this[_0x491d2f(0x32f)]?Math['max'](this['_scheduleCompleteTimestamp']-_0xa0e110,0x0):this[_0x491d2f(0x2ec)]();return _0x19b492[_0x491d2f(0x4b7)](_0x921ea1),_0x19b492;}throw _0x281e52[_0x491d2f(0x479)];}catch(_0x2e7838){return this['_logService'][_0x491d2f(0x479)](_0x2e7838),this[_0x491d2f(0x438)](!0x1);}}['onRemoteAck'](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x1af128(0x37e)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x1af128(0x24e)](){var _0x1ba3e1=_0x1af128;return this['_clearScheduledTask'](),this[_0x1ba3e1(0x367)][_0x1ba3e1(0x372)](fe,this[_0x1ba3e1(0x1fa)],this['type'],null,this[_0x1ba3e1(0x28d)],this[_0x1ba3e1(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x4b7)](_0x2f9cdf){var _0x49af8a=_0x1af128;const _0x46ac41=_0x2f9cdf!=null?_0x2f9cdf:this['_getSendChangesetTimeout']();this[_0x49af8a(0x32f)]=new Date()[_0x49af8a(0x219)]()+_0x46ac41,this[_0x49af8a(0x43f)]=setTimeout(()=>{var _0x1ebecc=_0x49af8a;this[_0x1ebecc(0x1e0)]();let _0x4b988f=null;switch(this[_0x1ebecc(0x417)]){case Q['UNIVER_SHEET']:{_0x4b988f=zt(this['_pendingMutations'],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}case Q[_0x1ebecc(0x43b)]:{this[_0x1ebecc(0x28d)][_0x1ebecc(0x481)](_0x22b333=>_0x22b333['id']===_0x582104['id'])?_0x4b988f=lr(this[_0x1ebecc(0x28d)],this['unitID'],this[_0x1ebecc(0x332)],this[_0x1ebecc(0x1f3)],this[_0x1ebecc(0x37c)]):_0x4b988f=zt(this['_pendingMutations'],this[_0x1ebecc(0x1fa)],this['_univerInstanceService'],this[_0x1ebecc(0x1f3)],this['_memberService']);break;}default:throw new Error(_0x1ebecc(0x385)+this[_0x1ebecc(0x417)]+_0x1ebecc(0x406));}const {changeset:_0x21432f,pendingMutations:_0x19f671}=_0x4b988f;this['_handler'][_0x1ebecc(0x22c)](_0x21432f);const _0x18ae4f=_0x19f671[_0x1ebecc(0x431)]?this[_0x1ebecc(0x367)]['createInstance'](ae,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,_0x19f671,this[_0x1ebecc(0x321)],void 0x0):this[_0x1ebecc(0x367)][_0x1ebecc(0x372)](ue,this[_0x1ebecc(0x1fa)],this[_0x1ebecc(0x417)],_0x21432f,this[_0x1ebecc(0x321)]);_0x18ae4f[_0x1ebecc(0x1ed)](),this[_0x1ebecc(0x321)][_0x1ebecc(0x248)](this,_0x18ae4f);},_0x46ac41);}[_0x1af128(0x2ec)](){var _0x308b26=_0x1af128,_0x2af338;const _0x2b8d04=this['_configService']['getConfig'](q);return(_0x2af338=_0x2b8d04==null?void 0x0:_0x2b8d04[_0x308b26(0x25a)])!=null?_0x2af338:Cn;}[_0x1af128(0x2b9)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1af128(0x1e0)](){var _0x3cc3d2=_0x1af128;this[_0x3cc3d2(0x43f)]!=null&&(clearTimeout(this[_0x3cc3d2(0x43f)]),this['_sendingTimer']=null);}[_0x1af128(0x438)](_0x291f2e){var _0x279457=_0x1af128;return this['_clearScheduledTask'](),this[_0x279457(0x367)][_0x279457(0x372)](de,this[_0x279457(0x1fa)],this['type'],null,this[_0x279457(0x28d)],this['_handler'],_0x291f2e);}};oe=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x50b881(xe)),A(0x7,_0x334ed4),A(0x8,_0x4f3e11),A(0x9,_0xb3f6ba),A(0xa,_0x207f44),A(0xb,_0x42b8e7),A(0xc,_0x16445d),A(0xd,_0x325bd4(J))],oe);let ue=class extends be{constructor(_0x55d0a2,_0x243cd0,_0x55b659,_0x28e219,_0x4af1c9,_0x210a34,_0x23db15,_0x4fde02,_0x43537f,_0x4a67a2,_0xacccc8){var _0x56d2d7=_0x1af128;super(_0x55d0a2,_0x243cd0,_0x55b659,[],_0x28e219,_0x23db15,_0x4a67a2,_0x210a34,_0xacccc8),N(this,_0x56d2d7(0x29e),_0x56d2d7(0x3fe)),N(this,'_resendTimeout',0x0),N(this,_0x56d2d7(0x21c)),N(this,_0x56d2d7(0x33c)),(this['_injector']=_0x4af1c9,this[_0x56d2d7(0x485)]=_0x4fde02,this[_0x56d2d7(0x44a)]=_0x43537f);}['appendMutation'](_0x56bfbc){var _0x18aa0e=_0x1af128;this['_clearScheduledTask']();const _0x890be3=this[_0x18aa0e(0x367)]['createInstance'](ae,this[_0x18aa0e(0x1fa)],this['type'],this['_awaitingChangeset'],[_0x56bfbc],this[_0x18aa0e(0x321)],this['_resendTimer']);return _0x890be3[_0x18aa0e(0x1ed)](),_0x890be3;}[_0x1af128(0x22b)](_0x1e8534){var _0x10a45c=_0x1af128;if(this['_checkMissing'](_0x1e8534))return this[_0x10a45c(0x1e0)](),this['_injector']['createInstance'](te,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],this[_0x10a45c(0x4d0)],[],null,[_0x1e8534],this[_0x10a45c(0x321)]);try{const _0x3e405f=this[_0x10a45c(0x44a)][_0x10a45c(0x45f)]([_0x1e8534],[this[_0x10a45c(0x4d0)]],!0x1);if(_0x397f0a(_0x3e405f)){const {c1Prime:_0x283a7a,c2Prime:_0x5aaa27}=_0x3e405f;this[_0x10a45c(0x464)](_0x283a7a[0x0]),_0x5aaa27[0x0][_0x10a45c(0x2d2)]=this['_getCurrentRevision'](),this[_0x10a45c(0x1e0)]();const _0x343eba=this[_0x10a45c(0x367)][_0x10a45c(0x372)](ue,this[_0x10a45c(0x1fa)],this[_0x10a45c(0x417)],_0x5aaa27[0x0],this['_handler']);return _0x343eba[_0x10a45c(0x1ed)](),_0x343eba;}return this[_0x10a45c(0x438)](!0x1);}catch(_0x2628d3){return this[_0x10a45c(0x485)][_0x10a45c(0x479)](_0x2628d3),this[_0x10a45c(0x438)](!0x1);}}[_0x1af128(0x4b0)](_0x4ce7c5){var _0x3df313=_0x1af128;this[_0x3df313(0x1e0)]();const _0x28d079=this['_revisionService'][_0x3df313(0x224)](this[_0x3df313(0x1fa)]);if(_0x4ce7c5[_0x3df313(0x244)]<_0x28d079-0x1)return this;if(this[_0x3df313(0x274)](_0x4ce7c5))return this[_0x3df313(0x367)][_0x3df313(0x372)](te,this[_0x3df313(0x1fa)],this[_0x3df313(0x417)],null,[],this[_0x3df313(0x4d0)],[],this['_handler']);this[_0x3df313(0x28e)]();const _0x377af5=this[_0x3df313(0x367)]['createInstance'](De,this['unitID'],this[_0x3df313(0x417)],this[_0x3df313(0x321)]);return _0x377af5[_0x3df313(0x1ed)](),_0x377af5;}[_0x1af128(0x37e)](_0x3b8826){var _0x4fd6fb=_0x1af128;return this['_onConflict'](!!(_0x3b8826!=null&&_0x3b8826[_0x4fd6fb(0x3ec)]));}[_0x1af128(0x1d9)](_0x5764b1){var _0xd12ca9=_0x1af128;return this[_0xd12ca9(0x20e)]>Ni?this[_0xd12ca9(0x24e)]():(this['_resendTimer']=Oi(this[_0xd12ca9(0x20e)],{'timeout':this['_resendTimeout'],'reqId':_0x5764b1[_0xd12ca9(0x467)]}),this['_sender']=this[_0xd12ca9(0x21c)][_0xd12ca9(0x26c)](({reqId:_0x13a7ab,timeout:_0x452649})=>{var _0x1f83a1=_0xd12ca9;this[_0x1f83a1(0x455)](_0x13a7ab,_0x452649);}),this);}['toggleOffline'](){var _0x43b3a7=_0x1af128;return this[_0x43b3a7(0x1e0)](),this[_0x43b3a7(0x367)][_0x43b3a7(0x372)](fe,this[_0x43b3a7(0x1fa)],this[_0x43b3a7(0x417)],this['_awaitingChangeset'],[],this[_0x43b3a7(0x321)]);}['toggleOnline'](){return this;}[_0x1af128(0x2b9)](){var _0x4bf26e=_0x1af128;this[_0x4bf26e(0x321)]['onSendChangeset'](this[_0x4bf26e(0x4d0)]);}[_0x1af128(0x438)](_0xd521){var _0x2e7ffd=_0x1af128;return this[_0x2e7ffd(0x1e0)](),this[_0x2e7ffd(0x367)][_0x2e7ffd(0x372)](de,this[_0x2e7ffd(0x1fa)],this['type'],this[_0x2e7ffd(0x4d0)],[],this['_handler'],_0xd521);}['_resendWithTimeout'](_0x1145a6,_0x2fcd8d){var _0x111507=_0x1af128,_0x2331c1;_0x1145a6===((_0x2331c1=this['_awaitingChangeset'])==null?void 0x0:_0x2331c1[_0x111507(0x467)])&&(this[_0x111507(0x2b9)](),this[_0x111507(0x20e)]=_0x2fcd8d===0x0?0x3e8:_0x2fcd8d*0x2);}[_0x1af128(0x1e0)](){var _0x2926cc=_0x1af128,_0xf68538;(_0xf68538=this[_0x2926cc(0x33c)])==null||_0xf68538[_0x2926cc(0x1f6)](),this[_0x2926cc(0x20e)]=0x0;}};ue=Re([A(0x4,_0x50b881(_0x339edd)),A(0x5,_0x50b881(_0x1c117d)),A(0x6,_0x4f3e11),A(0x7,_0x334ed4),A(0x8,_0x207f44),A(0x9,_0x16445d),A(0xa,_0x325bd4(J))],ue);let ae=class extends be{constructor(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x3d0499,_0xbe8f19,_0x867186,_0x49aa0f,_0x28bb49,_0x1bf708,_0x161f65,_0x513ee9){var _0x2917e1=_0x1af128;super(_0x2d4e77,_0xed2a34,_0x2ce650,_0x4982ae,_0x2be009,_0x49aa0f,_0x161f65,_0x867186,_0x513ee9),N(this,_0x2917e1(0x29e),_0x2917e1(0x34c)),N(this,_0x2917e1(0x20e),0x0),N(this,_0x2917e1(0x21c)),N(this,_0x2917e1(0x33c)),(this[_0x2917e1(0x367)]=_0xbe8f19,this[_0x2917e1(0x485)]=_0x28bb49,this[_0x2917e1(0x44a)]=_0x1bf708,this[_0x2917e1(0x2e8)]=_0x513ee9,_0x3d0499&&(this[_0x2917e1(0x21c)]=_0x3d0499,this[_0x2917e1(0x33c)]=this[_0x2917e1(0x21c)][_0x2917e1(0x26c)](({reqId:_0x4d9e82,timeout:_0x27bbd6})=>{this['_resendWithTimeout'](_0x4d9e82,_0x27bbd6);})));}[_0x1af128(0x2a1)](_0x169b43){var _0x39f2ce=_0x1af128;return this[_0x39f2ce(0x28d)]['push'](_0x169b43),this;}[_0x1af128(0x22b)](_0x33f308){var _0x8e7c51=_0x1af128;if(this[_0x8e7c51(0x274)](_0x33f308))return this[_0x8e7c51(0x1e0)](),this[_0x8e7c51(0x367)]['createInstance'](te,this[_0x8e7c51(0x1fa)],this[_0x8e7c51(0x417)],this[_0x8e7c51(0x4d0)],this[_0x8e7c51(0x28d)],null,[_0x33f308],this[_0x8e7c51(0x321)]);try{const _0x14bbbf=this['_transformService'][_0x8e7c51(0x45f)]([_0x33f308],[this[_0x8e7c51(0x4d0)]],!0x1);if(_0x397f0a(_0x14bbbf)){const {c1Prime:_0x542f83,c2Prime:_0x38abbb}=_0x14bbbf,_0x5b3357=this['_transformService']['transformMutationsWithChangeset'](_0x542f83[0x0],this[_0x8e7c51(0x28d)]);if(_0x49a34e(_0x5b3357)){const {c1Prime:_0x11095f,m2Prime:_0x4c2376}=_0x5b3357;return this['_executeRemoteChangeset'](_0x11095f),_0x38abbb[0x0]['baseRev']=this[_0x8e7c51(0x490)](),this[_0x8e7c51(0x1e0)](),this['_injector'][_0x8e7c51(0x372)](ae,this['unitID'],this['type'],_0x38abbb[0x0],_0x4c2376,this['_handler'],void 0x0);}throw _0x5b3357[_0x8e7c51(0x479)];}throw _0x14bbbf[_0x8e7c51(0x479)];}catch(_0x20f44b){return this['_logService'][_0x8e7c51(0x479)](_0x20f44b),this['_onConflict'](!0x1);}}[_0x1af128(0x4b0)](_0x1d75f5){var _0x527237=_0x1af128;if(this[_0x527237(0x1e0)](),this[_0x527237(0x274)](_0x1d75f5))return this[_0x527237(0x367)][_0x527237(0x372)](te,this[_0x527237(0x1fa)],this[_0x527237(0x417)],null,this[_0x527237(0x28d)],this[_0x527237(0x4d0)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x57138d=this['_injector'][_0x527237(0x372)](oe,this[_0x527237(0x1fa)],this[_0x527237(0x417)],this[_0x527237(0x28d)],this[_0x527237(0x321)]);return _0x57138d[_0x527237(0x4b7)](),_0x57138d['_updateLocalCache'](),_0x57138d;}['onRemoteRej'](_0x26de52){var _0x52ce30=_0x1af128;return this[_0x52ce30(0x438)](!!(_0x26de52!=null&&_0x26de52['isPermissionRej']));}[_0x1af128(0x1d9)](_0x2c516f){var _0x50bdec=_0x1af128;return this[_0x50bdec(0x20e)]>Ni?this['toggleOffline']():(this[_0x50bdec(0x21c)]=Oi(this['_resendTimeout'],{'timeout':this[_0x50bdec(0x20e)],'reqId':_0x2c516f['reqId']}),this['_sender']=this['_resendTimer']['subscribe'](({reqId:_0x39d8ea,timeout:_0x241cde})=>{this['_resendWithTimeout'](_0x39d8ea,_0x241cde);}),this);}[_0x1af128(0x24e)](){var _0x5e4fa6=_0x1af128;return this[_0x5e4fa6(0x1e0)](),this[_0x5e4fa6(0x367)][_0x5e4fa6(0x372)](fe,this[_0x5e4fa6(0x1fa)],this['type'],this[_0x5e4fa6(0x4d0)],this[_0x5e4fa6(0x28d)],this[_0x5e4fa6(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x2b9)](){var _0x4028af=_0x1af128;this[_0x4028af(0x321)][_0x4028af(0x22c)](this[_0x4028af(0x4d0)]);}[_0x1af128(0x438)](_0x35860a){var _0x959105=_0x1af128;return this['_clearScheduledTask'](),this[_0x959105(0x367)][_0x959105(0x372)](de,this['unitID'],this[_0x959105(0x417)],null,this[_0x959105(0x28d)],this['_handler'],_0x35860a);}[_0x1af128(0x455)](_0x4004ad,_0x49d8e4){var _0xb449eb=_0x1af128,_0x5e1c74;_0x4004ad===((_0x5e1c74=this['_awaitingChangeset'])==null?void 0x0:_0x5e1c74[_0xb449eb(0x467)])&&(this[_0xb449eb(0x2b9)](),this['_resendTimeout']=_0x49d8e4===0x0?0x3e8:_0x49d8e4*0x2);}[_0x1af128(0x1e0)](){var _0x1f48ba=_0x1af128,_0x4a1ca7;(_0x4a1ca7=this[_0x1f48ba(0x33c)])==null||_0x4a1ca7['unsubscribe'](),this[_0x1f48ba(0x20e)]=0x0;}};ae=Re([A(0x6,_0x50b881(_0x339edd)),A(0x7,_0x50b881(_0x1c117d)),A(0x8,_0x4f3e11),A(0x9,_0x334ed4),A(0xa,_0x207f44),A(0xb,_0x16445d),A(0xc,_0x325bd4(J))],ae);let de=class extends be{constructor(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x5a7555=!0x1,_0x4e2bf3,_0x39fa02,_0x483409,_0x317f14,_0x554848,_0x5fdd6b,_0x1cba7f){var _0x3ff97d=_0x1af128;super(_0x54aac0,_0x29110f,_0x355f71,_0x2df29e,_0x5a5f1e,_0x39fa02,_0x483409,_0x317f14,_0x1cba7f),N(this,'status',_0x3ff97d(0x47e)),(this[_0x3ff97d(0x334)]=_0x5a7555,this['_permissionService']=_0x4e2bf3,this[_0x3ff97d(0x4c2)]=_0x554848,this['_collaborationUIEventService']=_0x5fdd6b,this[_0x3ff97d(0x2e8)]=_0x1cba7f,this[_0x3ff97d(0x4c3)](),this['_clearLocalCache'](),this['_disableEditing']());}['appendMutation'](){return this;}[_0x1af128(0x22b)](){return this;}['onRemoteAck'](){return this;}[_0x1af128(0x37e)](){return this;}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}[_0x1af128(0x2a5)](){return this;}['resend'](){var _0x388775=_0x1af128;throw new Error(_0x388775(0x34a));}['_clearLocalCache'](){var _0xd9bee5=_0x1af128,_0x5ad1cf;(_0x5ad1cf=this[_0xd9bee5(0x1e8)])==null||_0x5ad1cf[_0xd9bee5(0x30b)](this['unitID'],this[_0xd9bee5(0x417)],null,[]);}[_0x1af128(0x4c3)](){var _0x543d3f=_0x1af128;this[_0x543d3f(0x334)]?this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se['PERMISSION_DENIED']}):this[_0x543d3f(0x4b1)][_0x543d3f(0x258)]({'id':se[_0x543d3f(0x3dc)]});}['_disableEditing'](){var _0x33b1f3=_0x1af128;this[_0x33b1f3(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x33b1f3(0x1fa)])['id'],!0x1);}};de=Re([A(0x6,_0x50b881(_0xea2b61)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x50b881(_0x1c117d)),A(0xa,_0x50b881(_0x3d3898)),A(0xb,_0x50b881(pe)),A(0xc,_0x325bd4(J))],de);let fe=class extends be{constructor(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x5c5c29,_0x2b9b02,_0x593268,_0xb970e,_0x3ef1db){var _0x56cd9c=_0x1af128;super(_0x4cec8b,_0x5d365e,_0x1489ef,_0x11aab6,_0x1bda35,_0x593268,_0xb970e,_0x2b9b02,_0x3ef1db),N(this,'status',_0x56cd9c(0x375)),this['_injector']=_0x5c5c29;}[_0x1af128(0x2a1)](_0x1b71ee){var _0x1a6396=_0x1af128;return this[_0x1a6396(0x28d)]['push'](_0x1b71ee),this[_0x1a6396(0x1ed)](),this;}[_0x1af128(0x22b)](_0x1e7123){var _0x434ed8=_0x1af128;throw new Error(_0x434ed8(0x426));}[_0x1af128(0x4b0)](){var _0x5bc771=_0x1af128;throw new Error(_0x5bc771(0x47a));}[_0x1af128(0x37e)](){var _0x45f176=_0x1af128;throw new Error(_0x45f176(0x4c1));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){return this;}['toggleOnline'](){var _0x2fe74f=_0x1af128;const {_injector:_0x351365,_pendingMutations:_0x54042f,_awaitingChangeset:_0x4c4957,unitID:_0x57e23d,_handler:_0x162e8b,type:_0x1a2d06}=this,_0x3d5863=Di(_0x351365,_0x57e23d,_0x1a2d06,_0x4c4957,_0x54042f,_0x162e8b);return _0x3d5863 instanceof oe?_0x3d5863[_0x2fe74f(0x4b7)]():(_0x3d5863 instanceof ae||_0x3d5863 instanceof ue)&&_0x3d5863[_0x2fe74f(0x2b9)](),_0x3d5863;}[_0x1af128(0x2b9)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};fe=Re([A(0x5,_0x50b881(_0x339edd)),A(0x6,_0x50b881(_0x1c117d)),A(0x7,_0x4f3e11),A(0x8,_0x16445d),A(0x9,_0x325bd4(J))],fe);let te=class extends be{constructor(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x307de1,_0x528942,_0x5bfa93,_0x586a96,_0x3f2eda,_0x393456,_0x2cea7b,_0x5f0ece,_0x595c82,_0x3bbe13){var _0x20873c=_0x1af128;super(_0x39eb1b,_0x4f9773,_0x3c602f,_0xa366bc,_0x5bfa93,_0x2cea7b,_0x5f0ece,_0x3f2eda,_0x3bbe13),N(this,_0x20873c(0x29e),_0x20873c(0x4cb)),(this[_0x20873c(0x21e)]=_0x307de1,this[_0x20873c(0x299)]=_0x528942,this[_0x20873c(0x367)]=_0x586a96,this[_0x20873c(0x485)]=_0x393456,this[_0x20873c(0x44a)]=_0x595c82,this[_0x20873c(0x2e8)]=_0x3bbe13);}[_0x1af128(0x24b)](_0x151aaa){var _0x5dbb0e=_0x1af128;try{const _0x39d858=[..._0x151aaa,...this[_0x5dbb0e(0x299)]],_0x9899d8=[this[_0x5dbb0e(0x4d0)]||this[_0x5dbb0e(0x21e)]][_0x5dbb0e(0x448)](_0x16d677=>!!_0x16d677);let _0x192afd,_0x389db2;if(_0x9899d8[_0x5dbb0e(0x431)]){const _0x16935d=this[_0x5dbb0e(0x44a)][_0x5dbb0e(0x45f)](_0x39d858,_0x9899d8,!0x1);if(!_0x397f0a(_0x16935d))throw _0x16935d[_0x5dbb0e(0x479)];_0x192afd=_0x16935d[_0x5dbb0e(0x2cd)],_0x389db2=_0x16935d[_0x5dbb0e(0x4c7)];}else _0x192afd=_0x39d858,_0x389db2=[];let _0x13140e=this[_0x5dbb0e(0x28d)];_0x192afd[_0x5dbb0e(0x30f)](_0x5ca5aa=>{var _0x447063=_0x5dbb0e;let _0x5d56ed;if(_0x13140e[_0x447063(0x431)]){const _0x501641=this['_transformService'][_0x447063(0x29f)](_0x5ca5aa,_0x13140e);if(!_0x49a34e(_0x501641))throw _0x501641[_0x447063(0x479)];_0x5d56ed=_0x501641['c1Prime'],_0x13140e=_0x501641[_0x447063(0x2b0)];}else _0x5d56ed=_0x5ca5aa;this['_executeRemoteChangeset'](_0x5d56ed);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5dbb0e(0x28e)](),this[_0x5dbb0e(0x4d0)]&&_0x389db2[_0x5dbb0e(0x431)]&&(_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this[_0x5dbb0e(0x490)]());let _0x4e3d3b;if(this[_0x5dbb0e(0x4d0)]&&_0x13140e['length']!==0x0)_0x4e3d3b=this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](ae,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x389db2[0x0],_0x13140e,this[_0x5dbb0e(0x321)],void 0x0);else{if(this[_0x5dbb0e(0x4d0)]&&_0x13140e[_0x5dbb0e(0x431)]===0x0)_0x389db2[0x0][_0x5dbb0e(0x2d2)]=this['_getCurrentRevision'](),_0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](ue,this['unitID'],this[_0x5dbb0e(0x417)],_0x389db2[0x0],this[_0x5dbb0e(0x321)]);else{if(_0x13140e[_0x5dbb0e(0x431)]!==0x0){const _0x3b7406=this[_0x5dbb0e(0x367)]['createInstance'](oe,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],_0x13140e,this[_0x5dbb0e(0x321)]);_0x3b7406[_0x5dbb0e(0x4b7)](),_0x4e3d3b=_0x3b7406;}else _0x4e3d3b=this[_0x5dbb0e(0x367)]['createInstance'](De,this[_0x5dbb0e(0x1fa)],this[_0x5dbb0e(0x417)],this[_0x5dbb0e(0x321)]);}}return _0x4e3d3b[_0x5dbb0e(0x1ed)](),_0x4e3d3b;}catch(_0x5102de){return this[_0x5dbb0e(0x485)]['error'](_0x5dbb0e(0x38f),_0x5dbb0e(0x46f),_0x5102de),this[_0x5dbb0e(0x367)][_0x5dbb0e(0x372)](de,this[_0x5dbb0e(0x1fa)],this['type'],this['_awaitingChangeset'],this[_0x5dbb0e(0x28d)],this[_0x5dbb0e(0x321)],!0x1);}}[_0x1af128(0x2b9)](){var _0x259709=_0x1af128;throw new Error(_0x259709(0x42b));}[_0x1af128(0x2a1)](_0x3fa37a){var _0x3a0bcf=_0x1af128;return this[_0x3a0bcf(0x28d)][_0x3a0bcf(0x2ad)](_0x3fa37a),this;}['onRemoteChangeset'](_0x4e7eab){var _0x2efad9=_0x1af128;return this[_0x2efad9(0x299)]['push'](_0x4e7eab),this;}[_0x1af128(0x4b0)](_0x471758){var _0x44c2bb=_0x1af128;if(this[_0x44c2bb(0x4d0)])return this[_0x44c2bb(0x21e)]=this[_0x44c2bb(0x4d0)],this[_0x44c2bb(0x4d0)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x1af128(0x37e)](_0x23adf3){var _0x4bdd4d=_0x1af128;return this[_0x4bdd4d(0x438)](!!(_0x23adf3!=null&&_0x23adf3['isPermissionRej']));}[_0x1af128(0x1d9)](){return this;}[_0x1af128(0x24e)](){var _0x212007=_0x1af128;return this[_0x212007(0x367)]['createInstance'](fe,this['unitID'],this[_0x212007(0x417)],this[_0x212007(0x4d0)],this[_0x212007(0x28d)],this[_0x212007(0x321)]);}[_0x1af128(0x2a5)](){return this;}[_0x1af128(0x438)](_0x187eb0){var _0x2c0d8e=_0x1af128;return this[_0x2c0d8e(0x367)][_0x2c0d8e(0x372)](de,this['unitID'],this[_0x2c0d8e(0x417)],this[_0x2c0d8e(0x4d0)],this[_0x2c0d8e(0x28d)],this[_0x2c0d8e(0x321)],_0x187eb0);}};te=Re([A(0x7,_0x50b881(_0x339edd)),A(0x8,_0x50b881(_0x1c117d)),A(0x9,_0x334ed4),A(0xa,_0x4f3e11),A(0xb,_0x16445d),A(0xc,_0x207f44),A(0xd,_0x325bd4(J))],te);function Di(_0x3fc489,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5){var _0x2c78b4=_0x1af128;return _0x2a6dd6&&_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](ae,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x33d439,_0x17c2e5,void 0x0):_0x2a6dd6?_0x3fc489[_0x2c78b4(0x372)](ue,_0x37c09d,_0xaa5b1f,_0x2a6dd6,_0x17c2e5):_0x33d439[_0x2c78b4(0x431)]?_0x3fc489[_0x2c78b4(0x372)](oe,_0x37c09d,_0xaa5b1f,_0x33d439,_0x17c2e5):_0x3fc489['createInstance'](De,_0x37c09d,_0xaa5b1f,_0x17c2e5);}var vr=Object[_0x1af128(0x4ba)],pr=Object[_0x1af128(0x3d3)],Lt=(_0x4c1fcd,_0x32c682,_0x2dd36d,_0x2c8d17)=>{var _0x547ad2=_0x1af128;for(var _0x18955e=_0x2c8d17>0x1?void 0x0:_0x2c8d17?pr(_0x32c682,_0x2dd36d):_0x32c682,_0x83d555=_0x4c1fcd[_0x547ad2(0x431)]-0x1,_0x2ce583;_0x83d555>=0x0;_0x83d555--)(_0x2ce583=_0x4c1fcd[_0x83d555])&&(_0x18955e=(_0x2c8d17?_0x2ce583(_0x32c682,_0x2dd36d,_0x18955e):_0x2ce583(_0x18955e))||_0x18955e);return _0x2c8d17&&_0x18955e&&vr(_0x32c682,_0x2dd36d,_0x18955e),_0x18955e;},k=(_0x1a4409,_0x3c56bb)=>(_0x308ffb,_0xc6f24d)=>_0x3c56bb(_0x308ffb,_0xc6f24d,_0x1a4409);let nt=class extends _0x4273f8{constructor(_0x1723a1,_0x1ed058,_0x1d55a8,_0x2b9d22,_0xc7b632,_0x20ac93,_0x1e04ad,_0x219074,_0x1426e9,_0x1a059d,_0x2d388a,_0x1117fc,_0x110095){var _0x10d242=_0x1af128;super(),N(this,'_state$',new _0x230061(null)),N(this,_0x10d242(0x4aa),this['_state$']['asObservable']()),N(this,'_state'),N(this,_0x10d242(0x298),!0x1),N(this,_0x10d242(0x2a9),''),N(this,_0x10d242(0x488),0x0),N(this,'status$',this[_0x10d242(0x4aa)]['pipe'](_0x3bf594(_0x3ca3eb=>_0x3ca3eb?_0x3ca3eb[_0x10d242(0x29e)]:yi[_0x10d242(0x2b8)]),_0x2b76e9(0x1))),N(this,_0x10d242(0x471),!0x1),N(this,_0x10d242(0x322),[]),(this['unitID']=_0x1723a1,this[_0x10d242(0x320)]=_0x1ed058,this[_0x10d242(0x202)]=_0x1d55a8,this[_0x10d242(0x367)]=_0x2b9d22,this[_0x10d242(0x3c9)]=_0xc7b632,this[_0x10d242(0x4c2)]=_0x20ac93,this[_0x10d242(0x1f3)]=_0x1e04ad,this[_0x10d242(0x2ef)]=_0x219074,this['_logService']=_0x1426e9,this[_0x10d242(0x32c)]=_0x1a059d,this['_permissionService']=_0x2d388a,this['_singleActiveUnitService']=_0x1117fc,this[_0x10d242(0x1e8)]=_0x110095);}get[_0x1af128(0x24d)](){return this['_state'];}async['init'](){var _0x2b4ff1=_0x1af128;if(this[_0x2b4ff1(0x24d)])throw new Error(_0x2b4ff1(0x476));await this['_init']();}[_0x1af128(0x4ca)](){var _0x273eed=_0x1af128;return this[_0x273eed(0x298)]=!0x0,_0x1943de(()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1af128(0x477)](_0x4667ad){var _0x538c6a=_0x1af128;this[_0x538c6a(0x369)](_0x4667ad);}['_updateState'](_0x2d11ce){var _0x239cc1=_0x1af128;this[_0x239cc1(0x3b5)]=_0x2d11ce,this[_0x239cc1(0x40c)][_0x239cc1(0x2cb)](_0x2d11ce);}async['_init'](){var _0x5e9979=_0x1af128,_0x4161ee;this[_0x5e9979(0x32b)](await this[_0x5e9979(0x313)]()),this[_0x5e9979(0x1e4)]&&((_0x4161ee=this[_0x5e9979(0x1e4)])==null||_0x4161ee[_0x5e9979(0x35f)](this[_0x5e9979(0x1fa)]),this['disposeWithMe'](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x5e9979(0x26c)](_0x2a6092=>{var _0x290db9=_0x5e9979;this['_logService'][_0x290db9(0x247)](_0x290db9(0x3a9),'editing\x20status\x20changed\x20to',_0x2a6092),_0x2a6092===bi['OTHER_CLIENTS_EDITING']?(this[_0x290db9(0x2ef)][_0x290db9(0x258)]({'id':se[_0x290db9(0x302)]}),this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x1),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x1)):(this[_0x290db9(0x201)]['updatePermissionPoint'](new _0x3ff24a(this[_0x290db9(0x1fa)])['id'],!0x0),this[_0x290db9(0x201)][_0x290db9(0x3cf)](!0x0));})));let _0x413eb3=!0x1;return this['disposeWithMe'](this[_0x5e9979(0x320)][_0x5e9979(0x214)][_0x5e9979(0x26c)](_0x1f9521=>{var _0x148e17=_0x5e9979;_0x1f9521===Te[_0x148e17(0x336)]?this[_0x148e17(0x3bd)](_0x413eb3):_0x1f9521===Te['OFFLINE']&&(_0x413eb3=!0x0,this['_toggleOffline']());})),this[_0x5e9979(0x3b0)](this['session']['event$'][_0x5e9979(0x26c)](_0x5738e1=>{var _0x339e5d=_0x5e9979;try{switch(_0x5738e1[_0x339e5d(0x492)]){case _0x1d08ca[_0x339e5d(0x405)]:{this[_0x339e5d(0x287)](_0x1db08e(_0x5738e1[_0x339e5d(0x345)]));break;}case _0x1d08ca[_0x339e5d(0x333)]:{this[_0x339e5d(0x430)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca[_0x339e5d(0x4a5)]:{this[_0x339e5d(0x352)]();break;}case _0x1d08ca[_0x339e5d(0x4c4)]:{this[_0x339e5d(0x200)](_0x5738e1[_0x339e5d(0x345)]);break;}case _0x1d08ca['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x339e5d(0x49b)](_0x5738e1[_0x339e5d(0x345)][_0x339e5d(0x3e4)]['map'](_0x2d7be3=>_0x1db08e(_0x2d7be3)));break;}case _0x1d08ca[_0x339e5d(0x40b)]:{this[_0x339e5d(0x352)]({'isPermissionRej':!0x0});break;}case _0x1d08ca['UNISCRIPT_RUN']:break;}}catch(_0x5c7523){throw console[_0x339e5d(0x479)](_0x339e5d(0x2df),_0x5c7523),_0x5c7523;}})),this['_state'];}['_unlockTransition'](){var _0x2eb633=_0x1af128;this[_0x2eb633(0x471)]=!0x1;}['_lockTransition'](){var _0x27a968=_0x1af128;if(this['_transitionLocked'])throw new Error(_0x27a968(0x3e6));this['_transitionLocked']=!0x0;}[_0x1af128(0x369)](_0x4b24e2){var _0x51647c=_0x1af128;this[_0x51647c(0x2c0)](),this['_updateState'](this[_0x51647c(0x3b5)][_0x51647c(0x2a1)](_0x4b24e2)),this['_unlockTransition']();}[_0x1af128(0x287)](_0x23089b){var _0x133adc=_0x1af128;if(!(_0x23089b['revision']<=this[_0x133adc(0x1f3)]['getCurrentRevOfUnit'](this[_0x133adc(0x1fa)]))){if(this[_0x133adc(0x298)]){this[_0x133adc(0x322)]['push'](_0x23089b);return;}this[_0x133adc(0x245)](_0x23089b);}}[_0x1af128(0x3b2)](){var _0x320c40=_0x1af128;this[_0x320c40(0x322)][_0x320c40(0x30f)](_0x17604b=>this[_0x320c40(0x245)](_0x17604b)),this[_0x320c40(0x322)]=[];}[_0x1af128(0x245)](_0x140f92){var _0x5a4bb6=_0x1af128;const _0x208e94=this['_compressMutationService']['interceptor'][_0x5a4bb6(0x399)](this[_0x5a4bb6(0x3c9)][_0x5a4bb6(0x3a6)]['getInterceptPoints']()[_0x5a4bb6(0x23a)])(_0x140f92[_0x5a4bb6(0x4a4)],null)||_0x140f92[_0x5a4bb6(0x4a4)],_0x369052={..._0x140f92,'mutations':_0x208e94};this[_0x5a4bb6(0x2c0)](),this['_updateState'](this[_0x5a4bb6(0x3b5)]['onRemoteChangeset'](_0x369052)),this[_0x5a4bb6(0x2ce)]();}[_0x1af128(0x430)](_0x5c0e2f){var _0x114bcd=_0x1af128;this[_0x114bcd(0x2c0)](),this[_0x114bcd(0x32b)](this[_0x114bcd(0x3b5)][_0x114bcd(0x4b0)](_0x5c0e2f)),this['_unlockTransition']();}[_0x1af128(0x352)](_0xaa728d){var _0x231fb1=_0x1af128;this[_0x231fb1(0x2c0)](),this[_0x231fb1(0x32b)](this[_0x231fb1(0x3b5)]['onRemoteRej'](_0xaa728d)),this[_0x231fb1(0x2ce)]();}[_0x1af128(0x200)](_0x417acf){var _0x5d5bfc=_0x1af128;this[_0x5d5bfc(0x2c0)](),this[_0x5d5bfc(0x32b)](this[_0x5d5bfc(0x3b5)][_0x5d5bfc(0x1d9)](_0x417acf)),this['_unlockTransition']();}[_0x1af128(0x49b)](_0x2d71e4){var _0x1baada=_0x1af128;if(!(this[_0x1baada(0x3b5)]instanceof te))throw new TypeError(_0x1baada(0x237));const _0x33a508=_0x2d71e4[_0x1baada(0x453)](_0x2afe91=>{var _0x500e34=_0x1baada;const _0x577b7d=this[_0x500e34(0x3c9)][_0x500e34(0x3a6)]['fetchThroughInterceptors'](this[_0x500e34(0x3c9)][_0x500e34(0x3a6)][_0x500e34(0x211)]()[_0x500e34(0x23a)])(_0x2afe91[_0x500e34(0x4a4)],null)||_0x2afe91[_0x500e34(0x4a4)];return{..._0x2afe91,'mutations':_0x577b7d};});this[_0x1baada(0x2c0)](),this[_0x1baada(0x32b)](this[_0x1baada(0x3b5)][_0x1baada(0x24b)](_0x33a508)),this[_0x1baada(0x2ce)]();}[_0x1af128(0x35c)](){var _0xdf4853=_0x1af128;this['_lockTransition'](),this[_0xdf4853(0x32b)](this[_0xdf4853(0x3b5)]['toggleOffline']()),this[_0xdf4853(0x2ce)]();}[_0x1af128(0x3bd)](_0xcd937d=!0x1){var _0x55aada=_0x1af128;this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](this['_state'][_0x55aada(0x2a5)]()),this[_0x55aada(0x2ce)]();const _0x209d16=this[_0x55aada(0x3b5)];_0xcd937d&&_0x209d16 instanceof De&&(this[_0x55aada(0x2c0)](),this[_0x55aada(0x32b)](_0x209d16[_0x55aada(0x261)]()),this['_unlockTransition']());}async[_0x1af128(0x313)](){return new Promise(_0x5f3cd2=>{var _0x3268a8=_0x596d;this['session'][_0x3268a8(0x214)][_0x3268a8(0x463)](_0x2a8f0e(0x1))[_0x3268a8(0x26c)](async _0x18afc9=>{var _0x2ff127=_0x3268a8;_0x5f3cd2(await this[_0x2ff127(0x346)](_0x18afc9===Te['ONLINE']));});});}[_0x1af128(0x317)](){var _0x32d37e=_0x1af128;const _0xfc90de=this[_0x32d37e(0x1fa)];return{'onStateChange':(_0x5b786d,_0x119775)=>{var _0x5860cb=_0x32d37e;if(_0x5b786d!==this[_0x5860cb(0x3b5)])throw new Error(_0x5860cb(0x43e)+_0x5b786d['status']+_0x5860cb(0x37f)+_0x119775['status']+'\x0aCurrent:\x20'+this[_0x5860cb(0x3b5)][_0x5860cb(0x29e)]);this[_0x5860cb(0x32b)](_0x119775);},'onSendChangeset':_0x2865cb=>{var _0x105836=_0x32d37e;_0x2865cb['sid']||(_0x2865cb[_0x105836(0x38a)]=this[_0x105836(0x2a9)],_0x2865cb[_0x105836(0x467)]=++this[_0x105836(0x488)]);const _0x3f5c1d={'eventID':_0x1d08ca[_0x105836(0x2b2)],'data':{'unitID':_0x2865cb['unitID'],'unitType':this[_0x105836(0x202)],'changeset':_0x2865cb,'memberID':this['session']['getMemberID']()}};this['session'][_0x105836(0x444)](_0x3f5c1d,this[_0x105836(0x1fa)]);},'onMissingChangesets':({from:_0x80a9a3,to:_0x31c059})=>{var _0x7cd203=_0x32d37e;this[_0x7cd203(0x485)]['debug'](_0x7cd203(0x3a9),_0x7cd203(0x49d)+_0x80a9a3+_0x7cd203(0x2e6)+_0x31c059);const _0x355ae6={'eventID':_0x1d08ca['FETCH_MISSING'],'data':{'unitID':_0xfc90de,'unitType':this[_0x7cd203(0x202)],'from':_0x80a9a3,'to':_0x31c059}};this[_0x7cd203(0x320)][_0x7cd203(0x444)](_0x355ae6,this[_0x7cd203(0x1fa)]);}};}async['_createInitialStateImpl'](_0x22affb){var _0x170398=_0x1af128,_0x497ebd,_0x2ee431,_0x560c35;const _0x1c6a4f=await((_0x497ebd=this['_localCacheService'])==null?void 0x0:_0x497ebd[_0x170398(0x4ac)](this[_0x170398(0x1fa)])),_0x465e95=(_0x2ee431=_0x1c6a4f==null?void 0x0:_0x1c6a4f['mutations'])!=null?_0x2ee431:[],_0x17939d=(_0x560c35=_0x1c6a4f==null?void 0x0:_0x1c6a4f[_0x170398(0x387)])!=null?_0x560c35:null,_0x9a0653=!!(_0x17939d!=null&&_0x17939d[_0x170398(0x38a)])&&!!(_0x17939d!=null&&_0x17939d['reqId']);this[_0x170398(0x2a9)]=_0x9a0653?_0x17939d[_0x170398(0x38a)]:sr(),this[_0x170398(0x488)]=_0x9a0653?_0x17939d[_0x170398(0x467)]:0x0;const _0xb0f794=this[_0x170398(0x1fa)];try{this[_0x170398(0x469)](_0x17939d,_0x465e95);}catch(_0xc92b73){this[_0x170398(0x485)][_0x170398(0x479)](_0xc92b73);}const _0x1984bc=this[_0x170398(0x317)]();if(_0x22affb){const _0x39c959=Di(this[_0x170398(0x367)],_0xb0f794,this[_0x170398(0x202)],_0x17939d,_0x465e95,_0x1984bc);return _0x39c959 instanceof oe?_0x39c959[_0x170398(0x4b7)]():(_0x39c959 instanceof ae||_0x39c959 instanceof ue)&&_0x39c959['resend'](),_0x39c959;}return this['_injector'][_0x170398(0x372)](fe,_0xb0f794,this['_type'],_0x17939d,_0x465e95,_0x1984bc);}['_replayCachedMutations'](_0x3ec35c,_0x705e09){var _0x56b33e=_0x1af128,_0x20df83,_0x472294;const _0x41d095=this[_0x56b33e(0x3c9)][_0x56b33e(0x3a6)][_0x56b33e(0x399)](this['_compressMutationService']['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x20df83=_0x41d095((_0x3ec35c==null?void 0x0:_0x3ec35c['mutations'])||[],null))==null||_0x20df83[_0x56b33e(0x30f)](_0x6aabfe=>this[_0x56b33e(0x32c)]['executeCommand'](_0x6aabfe['id'],_0x6aabfe['params'])),(_0x472294=_0x41d095(_0x705e09||[],null))==null||_0x472294['forEach'](_0xbf140=>this['_commandService'][_0x56b33e(0x283)](_0xbf140['id'],_0xbf140[_0x56b33e(0x311)]));}};nt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],nt);let Tt=class extends nt{constructor(_0x2e4554,_0x270708,_0x495cf8,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9){var _0x41891=_0x1af128;super(_0x2e4554,_0x495cf8,_0x270708,_0x2c67a6,_0x48f0b6,_0x445844,_0x47eaa8,_0x57fe91,_0x3f905a,_0x5cec0b,_0x3498f2,_0x443a29,_0x34eeb9),N(this,_0x41891(0x3f6),null),(this[_0x41891(0x1fa)]=_0x2e4554,this['type']=_0x270708);}[_0x1af128(0x26d)](_0x5c2ce6){this['_handlerCallback']=_0x5c2ce6;}[_0x1af128(0x1d3)](){var _0x53adf9=_0x1af128;this[_0x53adf9(0x3f6)]=null,super[_0x53adf9(0x1d3)]();}[_0x1af128(0x317)](){var _0x2a0972=_0x1af128;const _0x147f85=super[_0x2a0972(0x317)]();return _0x147f85[_0x2a0972(0x457)]=_0x542b9b=>{var _0x154a9b=_0x2a0972,_0x1e8736,_0x2c1fa8;return(_0x2c1fa8=(_0x1e8736=this[_0x154a9b(0x3f6)])==null?void 0x0:_0x1e8736['onTransformIME'])==null?void 0x0:_0x2c1fa8[_0x154a9b(0x3f9)](_0x1e8736,_0x542b9b);},_0x147f85['onTransformState']=_0x5f3a59=>{var _0xb881d6=_0x2a0972,_0x3522e1,_0x47599f;return(_0x47599f=(_0x3522e1=this[_0xb881d6(0x3f6)])==null?void 0x0:_0x3522e1[_0xb881d6(0x36e)])==null?void 0x0:_0x47599f[_0xb881d6(0x3f9)](_0x3522e1,_0x5f3a59);},_0x147f85[_0x2a0972(0x42a)]=_0x42a4a7=>{var _0x419b60=_0x2a0972,_0x546699,_0x3584b2;return(_0x3584b2=(_0x546699=this[_0x419b60(0x3f6)])==null?void 0x0:_0x546699[_0x419b60(0x42a)])==null?void 0x0:_0x3584b2['call'](_0x546699,_0x42a4a7);},_0x147f85['onSyncEditingCollabCursor']=_0x56d9db=>{var _0x971b92=_0x2a0972,_0x4770f6,_0x4da2b0;return(_0x4da2b0=(_0x4770f6=this['_handlerCallback'])==null?void 0x0:_0x4770f6[_0x971b92(0x221)])==null?void 0x0:_0x4da2b0[_0x971b92(0x3f9)](_0x4770f6,_0x56d9db);},_0x147f85[_0x2a0972(0x45d)]=_0x3e93a1=>{var _0x47cc6f=_0x2a0972,_0x381114,_0x349fb4,_0xa53b99;if(!((_0x381114=this[_0x47cc6f(0x3f6)])!=null&&_0x381114[_0x47cc6f(0x45d)]))throw new Error(_0x47cc6f(0x330));return(_0xa53b99=(_0x349fb4=this[_0x47cc6f(0x3f6)])==null?void 0x0:_0x349fb4[_0x47cc6f(0x45d)])==null?void 0x0:_0xa53b99[_0x47cc6f(0x3f9)](_0x349fb4,_0x3e93a1);},_0x147f85[_0x2a0972(0x2c1)]=_0x396ee8=>{var _0x1c7b2e=_0x2a0972,_0x565ef4,_0x2c8088,_0x2f09bd;if(!((_0x565ef4=this[_0x1c7b2e(0x3f6)])!=null&&_0x565ef4['onTransformRemoteChangesetByStateCache']))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x2f09bd=(_0x2c8088=this[_0x1c7b2e(0x3f6)])==null?void 0x0:_0x2c8088['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x2f09bd[_0x1c7b2e(0x3f9)](_0x2c8088,_0x396ee8);},_0x147f85;}async[_0x1af128(0x4d4)](){var _0x1263b2=_0x1af128;const _0xfe3275=await super[_0x1263b2(0x4d4)]();return this[_0x1263b2(0x3b0)](this['_commandService'][_0x1263b2(0x2cc)]((_0xeb9b55,_0x59a33f)=>{var _0x3de2e2=_0x1263b2;if(_0xeb9b55['type']!==_0x572a97['MUTATION']||_0x59a33f!=null&&_0x59a33f['fromCollab']||_0x59a33f!=null&&_0x59a33f[_0x3de2e2(0x253)]||_0xeb9b55['id']===_0x582104['id'])return;const _0x224981=_0xeb9b55['params'];if((_0x224981==null?void 0x0:_0x224981[_0x3de2e2(0x379)])!==this['unitID'])return;const _0x3f5bc2=_0xeb9b55,_0x575ab9=this[_0x3de2e2(0x3c9)]['interceptor']['fetchThroughInterceptors'](this[_0x3de2e2(0x3c9)][_0x3de2e2(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3f5bc2],null)||[_0x3f5bc2];this[_0x3de2e2(0x369)](_0x575ab9[0x0]);})),_0xfe3275;}};Tt=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(pe)),k(0x8,_0x334ed4),k(0x9,_0x4f3e11),k(0xa,_0xea2b61),k(0xb,_0x325bd4(ht)),k(0xc,_0x325bd4(J))],Tt);let Ct=class extends nt{constructor(_0xb41954,_0x1bbb1e,_0x244cbf,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3f7ba4,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6){var _0x1dee69=_0x1af128;super(_0xb41954,_0x244cbf,_0x1bbb1e,_0x4b7cec,_0x3d9008,_0x3da623,_0x36266e,_0x3e6e00,_0x171fde,_0x2bcf5c,_0x5e1ae4,_0x4b87f6,_0x23fba6),this[_0x1dee69(0x1fa)]=_0xb41954,this[_0x1dee69(0x417)]=_0x1bbb1e,this[_0x1dee69(0x4ab)]=_0x3f7ba4;}[_0x1af128(0x317)](){var _0x97c34=_0x1af128;const _0x3ea236=super['_createHandler']();return _0x3ea236['onTransformSelections']=_0x2a10bb=>this[_0x97c34(0x4ab)][_0x97c34(0x3aa)](_0x2a10bb),_0x3ea236;}async[_0x1af128(0x4d4)](){var _0x5cd2a2=_0x1af128;const _0x856342=await super[_0x5cd2a2(0x4d4)]();return this['disposeWithMe'](this[_0x5cd2a2(0x32c)][_0x5cd2a2(0x2cc)]((_0x176a4f,_0x4d7e5b)=>{var _0x89c24e=_0x5cd2a2;if(_0x176a4f[_0x89c24e(0x417)]!==_0x572a97['MUTATION']||_0x4d7e5b!=null&&_0x4d7e5b['fromCollab']||_0x4d7e5b!=null&&_0x4d7e5b['onlyLocal'])return;const _0xcb5875=_0x176a4f['params'];if((_0xcb5875==null?void 0x0:_0xcb5875[_0x89c24e(0x379)])!==this[_0x89c24e(0x1fa)])return;const _0x3dc288=_0x176a4f,_0x9d1388=this[_0x89c24e(0x3c9)][_0x89c24e(0x3a6)][_0x89c24e(0x399)](this['_compressMutationService'][_0x89c24e(0x3a6)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x3dc288],null)||[_0x3dc288];this[_0x89c24e(0x369)](_0x9d1388[0x0]);})),_0x856342;}};Ct=Lt([k(0x3,_0x50b881(_0x339edd)),k(0x4,_0x50b881(_0x4651e0)),k(0x5,_0x50b881(_0x3d3898)),k(0x6,_0x50b881(_0x1c117d)),k(0x7,_0x50b881(it)),k(0x8,_0x50b881(pe)),k(0x9,_0x334ed4),k(0xa,_0x4f3e11),k(0xb,_0xea2b61),k(0xc,_0x325bd4(ht)),k(0xd,_0x325bd4(J))],Ct);var mr=Object[_0x1af128(0x4ba)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x30e11b,_0x5c1689,_0x54e287,_0x2dc57e)=>{var _0x2250d6=_0x1af128;for(var _0x5b5652=_0x2dc57e>0x1?void 0x0:_0x2dc57e?gr(_0x5c1689,_0x54e287):_0x5c1689,_0x14fe2f=_0x30e11b[_0x2250d6(0x431)]-0x1,_0x566884;_0x14fe2f>=0x0;_0x14fe2f--)(_0x566884=_0x30e11b[_0x14fe2f])&&(_0x5b5652=(_0x2dc57e?_0x566884(_0x5c1689,_0x54e287,_0x5b5652):_0x566884(_0x5b5652))||_0x5b5652);return _0x2dc57e&&_0x5b5652&&mr(_0x5c1689,_0x54e287,_0x5b5652),_0x5b5652;},ft=(_0x22a372,_0x2c5c02)=>(_0xb584cd,_0x48dff1)=>_0x2c5c02(_0xb584cd,_0x48dff1,_0x22a372);let rt=class extends _0x4273f8{constructor(_0x14ffdd,_0x4e977b,_0x58aba9){var _0x6bcc44=_0x1af128;super(),N(this,_0x6bcc44(0x1df),new Map()),N(this,'_entityInit$',new _0x10c59f()),N(this,_0x6bcc44(0x1d8),this[_0x6bcc44(0x39c)]['asObservable']()),(this[_0x6bcc44(0x367)]=_0x14ffdd,this[_0x6bcc44(0x412)]=_0x4e977b,this[_0x6bcc44(0x332)]=_0x58aba9,this[_0x6bcc44(0x4d4)]());}[_0x1af128(0x1d3)](){var _0x1ea11e=_0x1af128;super[_0x1ea11e(0x1d3)](),this[_0x1ea11e(0x1df)]['forEach'](_0xb4fd47=>_0xb4fd47[_0x1ea11e(0x1d3)]()),this[_0x1ea11e(0x1df)][_0x1ea11e(0x348)]();}[_0x1af128(0x339)](_0x204208){var _0x4d0896=_0x1af128,_0x588357;return(_0x588357=this[_0x4d0896(0x1df)]['get'](_0x204208))!=null?_0x588357:null;}['getCollabEntity$'](_0x4b2355){var _0x4a631e=_0x1af128;const _0x588033=this['getCollabEntity'](_0x4b2355);return _0x588033?_0x4586b0(_0x588033):this[_0x4a631e(0x39c)][_0x4a631e(0x463)](_0x226f92(_0x431318=>_0x431318[_0x4a631e(0x1fa)]===_0x4b2355));}[_0x1af128(0x357)](_0x47753c){var _0x3d58df=_0x1af128;return _0x5acfb6(this[_0x3d58df(0x397)](_0x47753c)['pipe'](_0x3c96ad(()=>{})));}[_0x1af128(0x4d4)](){var _0x48515b=_0x1af128;this[_0x48515b(0x332)][_0x48515b(0x2e0)](_0x7a0f38['UNIVER_SHEET'])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x26c)](async _0x43f273=>{var _0x1ad2be=_0x48515b;const _0xeb1052=_0x43f273['getUnitId'](),_0x13e582=await this[_0x1ad2be(0x4a9)](_0xeb1052,Q[_0x1ad2be(0x3c7)]);this['_entities'][_0x1ad2be(0x255)](_0xeb1052,_0x13e582);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x7a0f38[_0x48515b(0x43b)])[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]),_0x2468e4(0x10))[_0x48515b(0x463)](_0x226f92(_0x567f25=>!_0x567f25[_0x48515b(0x26b)]()['startsWith']('__')))['subscribe'](async _0x407c90=>{var _0x79ccf1=_0x48515b;const _0x2365be=_0x407c90[_0x79ccf1(0x26b)](),_0x573ed4=await this[_0x79ccf1(0x4a9)](_0x2365be,Q[_0x79ccf1(0x43b)]);this[_0x79ccf1(0x1df)][_0x79ccf1(0x255)](_0x2365be,_0x573ed4);}),_0x19107a(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x7a0f38['UNIVER_SHEET']),this[_0x48515b(0x332)][_0x48515b(0x41d)](_0x7a0f38['UNIVER_DOC']))[_0x48515b(0x463)](_0x1b190a(this[_0x48515b(0x2f3)]))[_0x48515b(0x26c)](_0x486b0b=>{var _0x4fe7a4=_0x48515b;const _0x3319f5=_0x486b0b['getUnitId'](),_0x366933=this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x416)](_0x3319f5);_0x366933&&(_0x366933[_0x4fe7a4(0x1d3)](),this[_0x4fe7a4(0x1df)][_0x4fe7a4(0x31f)](_0x3319f5));});}async[_0x1af128(0x4a9)](_0x362268,_0x4ee0f5){var _0x1a697f=_0x1af128;const _0x3faf8d=await this[_0x1a697f(0x412)][_0x1a697f(0x3e7)](_0x362268),_0x5858bd=this[_0x1a697f(0x367)]['createInstance'](this[_0x1a697f(0x364)](_0x4ee0f5),_0x362268,_0x4ee0f5,_0x3faf8d);return await _0x5858bd['init'](),this[_0x1a697f(0x39c)]['next'](_0x5858bd),_0x5858bd;}[_0x1af128(0x364)](_0xb0dd7f){var _0x20988b=_0x1af128;switch(_0xb0dd7f){case Q[_0x20988b(0x43b)]:return Tt;case Q[_0x20988b(0x3c7)]:return Ct;default:throw new Error(_0x20988b(0x473)+_0xb0dd7f);}}};rt=Sr([ft(0x0,_0x50b881(_0x339edd)),ft(0x1,_0x50b881(Le)),ft(0x2,_0x42b8e7)],rt);var Er=Object[_0x1af128(0x4ba)],Ir=Object[_0x1af128(0x3d3)],Tr=(_0x45692e,_0x42d327,_0xee6807,_0x4587e5)=>{for(var _0x21fbc2=_0x4587e5>0x1?void 0x0:_0x4587e5?Ir(_0x42d327,_0xee6807):_0x42d327,_0x5c3acd=_0x45692e['length']-0x1,_0x194bd8;_0x5c3acd>=0x0;_0x5c3acd--)(_0x194bd8=_0x45692e[_0x5c3acd])&&(_0x21fbc2=(_0x4587e5?_0x194bd8(_0x42d327,_0xee6807,_0x21fbc2):_0x194bd8(_0x21fbc2))||_0x21fbc2);return _0x4587e5&&_0x21fbc2&&Er(_0x42d327,_0xee6807,_0x21fbc2),_0x21fbc2;},Jt=(_0x1ddfa9,_0x2baf28)=>(_0x3b97f8,_0x237211)=>_0x2baf28(_0x3b97f8,_0x237211,_0x1ddfa9);const Cr=_0x1af128(0x4ce),Rr=_0x1af128(0x3d8);let Rt=class extends _0x1ec030{constructor(_0x57a7f8,_0x4979d9){var _0x11725c=_0x1af128;super(),this[_0x11725c(0x332)]=_0x57a7f8,this[_0x11725c(0x4d1)]=_0x4979d9,this[_0x11725c(0x4d4)]();}[_0x1af128(0x4d4)](){var _0x51f1e2=_0x1af128;this[_0x51f1e2(0x3b0)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x5539a8=_0x51f1e2,_0xaf5f49;const _0x1e312d=this['_univerInstanceService'][_0x5539a8(0x328)]();let _0x140b41=(_0xaf5f49=this[_0x5539a8(0x4d1)][_0x5539a8(0x49e)](Cr))!=null?_0xaf5f49:Rr;_0x1e312d instanceof _0x331611&&(_0x140b41=_0x1e312d[_0x5539a8(0x3fa)]),document[_0x5539a8(0x41e)]=_0x140b41;}));}};Rt=Tr([Jt(0x0,_0x42b8e7),Jt(0x1,_0xb3f6ba)],Rt);var br=Object[_0x1af128(0x4ba)],Or=Object[_0x1af128(0x3d3)],yr=(_0x5441b4,_0x16219b,_0xebc0e1,_0x59b66c)=>{var _0x1d626b=_0x1af128;for(var _0xcc1101=_0x59b66c>0x1?void 0x0:_0x59b66c?Or(_0x16219b,_0xebc0e1):_0x16219b,_0x1e2219=_0x5441b4[_0x1d626b(0x431)]-0x1,_0x2163a8;_0x1e2219>=0x0;_0x1e2219--)(_0x2163a8=_0x5441b4[_0x1e2219])&&(_0xcc1101=(_0x59b66c?_0x2163a8(_0x16219b,_0xebc0e1,_0xcc1101):_0x2163a8(_0xcc1101))||_0xcc1101);return _0x59b66c&&_0xcc1101&&br(_0x16219b,_0xebc0e1,_0xcc1101),_0xcc1101;},vt=(_0x2d9606,_0x246cd5)=>(_0x1b6513,_0x16514b)=>_0x246cd5(_0x1b6513,_0x16514b,_0x2d9606);let st=class{constructor(_0x3180a2,_0xa64171,_0x3061ca){var _0x146fae=_0x1af128;this[_0x146fae(0x4d1)]=_0x3180a2,this[_0x146fae(0x1ea)]=_0xa64171,this[_0x146fae(0x246)]=_0x3061ca,this[_0x146fae(0x3fc)]();}[_0x1af128(0x3fc)](){var _0x323f2f=_0x1af128;this['_httpService'][_0x323f2f(0x340)]({'priority':0x1,'interceptor':(_0x307307,_0x240a44)=>_0x240a44(_0x307307)[_0x323f2f(0x463)](_0x196fe2(async _0xb5ee9=>{var _0x163a16=_0x323f2f;const _0x3f8b39=_0xb5ee9;if(_0x3f8b39[_0x163a16(0x29e)]===0x191){if(typeof window>'u')throw new Error(_0x163a16(0x34d));if(window[_0x163a16(0x44c)](this['localeService']['t'](_0x163a16(0x1d0)))){const _0x3f57fa=window[_0x163a16(0x2ed)](window[_0x163a16(0x25e)][_0x163a16(0x4be)]);window['location'][_0x163a16(0x4be)]=this[_0x163a16(0x2bf)]()+_0x163a16(0x349)+_0x3f57fa;}}return _0x3f8b39;}))});}[_0x1af128(0x2bf)](){var _0x5cec19=_0x1af128,_0x49e521,_0x2e143b;const _0x5c72ce=this[_0x5cec19(0x4d1)][_0x5cec19(0x49e)](xn),_0x57519f=this['_configService'][_0x5cec19(0x49e)](q);return(_0x2e143b=(_0x49e521=_0x57519f==null?void 0x0:_0x57519f[_0x5cec19(0x48a)])!=null?_0x49e521:_0x5c72ce)!=null?_0x2e143b:Ln;}};st=yr([vt(0x0,_0xb3f6ba),vt(0x1,_0x50b881(_0x51273b)),vt(0x2,_0x50b881(_0x3d3898))],st);var Nr=Object[_0x1af128(0x4ba)],Dr=Object[_0x1af128(0x3d3)],Pr=(_0x20957b,_0x418e7d,_0x251f41,_0x333635)=>{var _0x4a6b88=_0x1af128;for(var _0x451541=_0x333635>0x1?void 0x0:_0x333635?Dr(_0x418e7d,_0x251f41):_0x418e7d,_0x21c337=_0x20957b[_0x4a6b88(0x431)]-0x1,_0x9e3490;_0x21c337>=0x0;_0x21c337--)(_0x9e3490=_0x20957b[_0x21c337])&&(_0x451541=(_0x333635?_0x9e3490(_0x418e7d,_0x251f41,_0x451541):_0x9e3490(_0x451541))||_0x451541);return _0x333635&&_0x451541&&Nr(_0x418e7d,_0x251f41,_0x451541),_0x451541;},Xt=(_0x44f0b7,_0x142718)=>(_0x1f60b3,_0x3ec281)=>_0x142718(_0x1f60b3,_0x3ec281,_0x44f0b7);function _0x6aa3(){var _0x3c277c=['min','socket\x20close','UNIVER_DOC','_clearHeartbeatTimer','msCrypto','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_sendingTimer','image/png','_createHmacHelper','_cipher','socket$','send','mixIn','HttpExport','hasher','filter','SNAPSHOT_HAS_BEEN_REMOVED','_transformService','stringify','confirm','_onMessage','getSheetId','_socketService','/universer-api/uniscript','_members','&source=','map','equals','_resendWithTimeout','NO_OTHER_CLIENTS_EDITING','onTransformIME','_reverseMap','NoPadding','_getSignURL','_onUserJoin','uploadFileServerUrl','onTransformRemoteChangesetByIMECache','message$','transformChangesets','hostname','UUID','LIVESHARE_REQUEST_HOST','pipe','_executeRemoteChangeset','_minBufferSize','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','reqId','includes','_replayCachedMutations','417711XYNxmY','/-/object/-/batch_allowed','Pkcs7','UNRECOGNIZED','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','failed\x20to\x20apply\x20missed\x20changesets!','_sendHeartbeat','_transitionLocked','image/bmp','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','catch','HEARTBEAT','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','onLocalMutation','image/jpg','error','[OfflineState]:\x20received\x20acknowledgement.','APPLY_PERMISSION_DENIED','__esModule','PERMISSION_DENIED','conflict','resourceIDs','MUTATION','every','54135288GWzNFF','JOIN','headers','_logService','pending','words','_changesetReqId','3GMIsgR','loginUrlKey','__creator','BufferedBlockAlgorithm','JOINING','JOIN_ROOM_NOT_EXISTS','EvpKDF','_getCurrentRevision','2776KqrUOx','eventID','LEAVE','createEncryptor','sessionStatus','retryConnectingInterval','Base64','apply','_getRedoStack','_timeoutTimer','_onFetchMissResult','readAsDataURL','fetching\x20missing\x20changesets\x20from\x20','getConfig','synced','[CollaborationState]:\x20apply\x20error!','_decreaseWaiting','extend','_doFinalize','mutations','CHANGESET_REJ','ceil','subject','roles','_startCollaboration','state$','_sheetTransformSelectionsService','loadOfflineData','_clearCollaborationTimeoutTimer','/new_changes','GLOBAL_ROOMS_CNT_EXCEEDS','onRemoteAck','_collaborationUIEventService','create','_undoStacks','APPLY_DUPLICATED','UnitSnapshot','addImageSourceCache','_schedule','execute','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','defineProperty','LICENSE_MAX_UNITS_EXCEEDED','SOCKET_FAILED','listCollaborators','href','encrypt','_initUnitPermissionChange','[OfflineState]:\x20received\x20rejection.','_localeService','_showConflictNotification','CHANGESET_SHOULD_RETRY','transformStack\x20failed!','formatter','c2Prime','socket\x20open.','initWorkbookPermissionChange','pauseCollaboration','fetch_missing','post','getWorkbookSelections','DEFAULT_FILE_NAME','BlockCipher','_awaitingChangeset','_configService','_getAPIPrefix','CLOSE_ROOM','_init','toString','_transformRemoteChangesetByIMECache','MD5','_data','auth.needGotoLoginAlert','FAIL','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','dispose','then','/universer-api/comb','exports','random','entityInit$','onRemoteRetry','getImage','_socketMessageSubscription','getCurrentUser','createCollaborator','clone','_entities','_clearScheduledTask','/block/','max','_authzIoService','_singleActiveUnitService','processBlock','/universer-api/authz','Decryptor','_localCacheService','RETRY_CONNECTING_MAX_COUNT','_httpService','_rescheduleHeartbeat','_initCloseConn','_updateLocalCache','_undoRedoService','ERROR_EXCEED_SIZE','EXCHANGE_SIGN_URL_SERVER_URL_KEY','bind','saveImage','_revisionService','_waitCount','sessionTicket','unsubscribe','_createHelper','url','repeat','unitID','_registerDependencies','COMMENT_UPDATE','_keySchedule','enc','FETCH_MISS','_onRemoteRetry','_permissionService','_type','_clearTimeoutTimer','_networkConditionService','Hex','Latin1','_DEC_XFORM_MODE','byteLength','JOIN_ROOM_FAILED','updateMember','unit-cache-','session.room-permission-denied','_retryCount','_resendTimeout','image/jpeg','OpenSSL','getInterceptPoints','OTHER_CLIENTS_EDITING','_startTelemetryCollaborationNewChangeset','sessionStatus$','SNAPSHOT_SERVER_URL_KEY','application/json','RECV','_keyPriorReset','getTime','origin','override','_resendTimer','concat','_acknowledgedAwaitingChangeset','enableOfflineEditing','IDLE','onSyncEditingCollabCursor','MSG_FOR_ERROR','cmd','getCurrentRevOfUnit','6084256NNihXr','UNISCRIPT_RUN','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','key','session.room-full','NOT_COLLAB','onRemoteChangeset','onSendChangeset','reset','event$','isArray','[DataLoaderService]','mode','default','duration','POST','saveChangeset','incrementRevOfUnit','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','COMPLETION_FINISHED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','COMPRESS_MUTATION_APPLY','JOIN_ROOM_FULL','CBC','_getUndoStack','open$','loadSheet','originalMeta','collabSubmitChangesetUrl','csShouldRetryEvent','collaboration_new_changeset','revision','_applyRemoteChangeset','localeService','debug','onStateChange','FETCH_MISSING','indexOf','onMissedChangesetFetched','YUUMI_URL_COL_OUT_OF_RANGE','state','toggleOffline','createDecryptor','join','/rev/','createSocket','onlyLocal','_shouldReportTelemetry','set','_nDataBytes','src','emitEvent','[CollaborationSession]','sendChangesetTimeout','range','getRandomValues','/-/object/list','location','_iv','joinEvent','fetchMiss','iterations','getSheetBlock','runId','clamp','AES','UNAUTHENTICATED','members','onMissingChangesets','getUnitType','getUnitId','subscribe','addHandlerCallback','[SyncedState]:\x20received\x20rejection.','_hasher','_initMergeInterceptor','PasswordBasedCipher','getAllMembers','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_checkMissing','selections','csRejEvent','_retryConnectingTimer','has','hasOwnProperty','SNAPSHOT_INVALID_SNAPSHOT','symbol','_xformMode','avatar','_sendHeartbeatTimer','3307675jLpcwf','HMAC','SerializableCipher','decrypt','executeCommand','signUrlServerUrl','startTime','workbook','_onRemoteChangeset','uniscriptRunEvent','method','getSnapshotAPIPath','APPLY_REJECT','_collaborationTimeoutTimer','_pendingMutations','_incrementRevisionNumber','UPDATE_PERMISSION_OBJ','list','_roomMembers','/allowed','_doProcessBlock','_oKey','_members$','target','pluginName','_collaborationPaused','_queuedRemoteChangesets','/unit/','_nRounds','_submitChangeset','People','status','transformMutationsWithChangeset','socketService','appendMutation','permissionRejEvent','commentUpdateEvent','memberID','toggleOnline','_loadDoc','unknown','LIVESHARE_OPERATION','_changesetSessionId','randomUUID','_scheduleCollaborationTimeoutTimer','format','push','StreamCipher','algo','m2Prime','univer-pro.collaboration-client.network-condition.service','SUBMIT_CHANGESET','LICENSE_DISTRO_REJECTED','unitId\x20is\x20not\x20found','_transformIMECache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','finalize','OFFLINE','resend','CONNECTOR_DATA_TOO_LARGE','UNKNOWN_CMD','_socket$','AUTHZ_URL_KEY','rng','_getLoginPath','_lockTransition','onTransformRemoteChangesetByStateCache','json','code','collaMsg','put','userID','asObservable','resolve','reconnect','_clearRedo','next','onCommandExecuted','c1Prime','_unlockTransition','x-univer-host','add','charCodeAt','baseRev','APPLY_REVISION_CONFILICT','/universer-api/snapshot/','[CollaborationSessionService]:\x20socket\x20error','29582phwVwL','_removeRoom','UNKNOWN_CODE','/universer-api/file/{fileID}/sign-url','ciphertext','_mode','_initDependencies','infoRsp','transformUndoRedo','Error\x20on\x20receiving\x20event','getTypeOfUnitAdded$','_transformStack','sigBytes','_unitID','_map','ticket','\x20to\x20','objectID','localCacheService','copyFileMeta','sin','prototype','_getSendChangesetTimeout','encodeURIComponent','joinRsp','_eventService','encode','_imageSourceCache','saveSnapshot','dispose$','LIVESHARE_TERMINATE','_tryReconnect','search','getValue','blockSize','_transformUndoredo','unitInfo$','_joinRoom','deepClone','rev','padding','SNAPSHOT_URL_KEY','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','WordArray','OTHER_CLIENT_EDITING','getLatestCsReqIdBySid','collaboration-client.local-cache-service','buffer','UNIVER_COLLABORATION_CLIENT_PLUGIN','LOGIN_URL_KEY','/role','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','requestParams','updateOfflineData','_getAPIPrefixPath','_substituteUndoStack','pad','forEach','_instanceService','params','allowed','_createInitialState','_commentService','batchAllowed','_hash','_createHandler','_key','collaboration-client.config','BASE64','roomInfos','objectType','_socket','getImageSourceCache','delete','session','_handler','_remoteChangesetQueue','_getDownloadEndpointURL','byteOffset','_getSessionTicket','enableAuthServer','reduce','getFocusedUnit','_doReset','HttpImport','_updateState','_commandService','change$','SHA1','_scheduleCompleteTimestamp','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_tryEnsureSocket','_univerInstanceService','CHANGESET_ACK','_isPermissionRej','INTERNAL_ERROR','ONLINE','/object','COLLAB_WEB_SOCKET_URL','getCollabEntity','_onConnectionFailed','fetchMissingChangesets','_sender','USERS_LEAVE','_onRecvEvent','UNIVER_PROJECT','registerHTTPInterceptor','CHANGESET_REVISION_CONFILICT','csAckEvent','_transformStateCache','leaveEvent','data','_createInitialStateImpl','authzUrl','clear','?url=','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitInfo$','awaiting_with_pending','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','listRoles','_onJoinRoomEvent','_candidateSocket','UNIVER_SLIDE','_onRemoteRejected','_transformSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','values','LIVESHARE_NEW_HOST','readyForCollab','_config','_onOffline','substr','objectActions','_toggleOffline','_snapshotService','/fetchmissing?from=','editingUnit','routeKey','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','size','_getCtorByUniverType','downloadEndpointUrl','actions','_injector','SHOULD_CLOSE_CONN','_onLocalMutation','&assign=','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createSocket','_sessions','onTransformState','COLLAB_SUBMIT_CHANGESET_URL','update','result','createInstance','INGEST','salt','offline','YUUMI_RATE_OVER_LIMIT','LICENSE_IMPORT_SIZE_EXCEEDED','_stopTelemetryCollaborationNewChangeset','unitId','UNIVER_UNKNOWN','_telemetryInfo','_memberService','session.room-cnt-exceeds','onRemoteRej','\x0aAfter:\x20','SYNCED','_getUploadFileURL','OPTIONAL','$super','AWAITING','[PendingState]:\x20unhandled\x20univer\x20type:\x20','slice','awaitingChangeset','status$','loadUnit','sid','[UniverCollaborationClientPlugin]','INVALID_ARGUMENT','append','lib','[FetchMissState]','cfg','capture','reject','_HTTPService','_telemetryService','ivSize','getUnit','getCollabEntity$','compose','fetchThroughInterceptors','randomBytes','newCsEvent','_entityInit$','save\x20fail\x20reason\x20is\x20','ERROR_IMAGE','setCurrentUser','[CollaborationUndoRedoService]','kdf','YUUMI_UNABLE_LOAD_URL','readInt32LE','_transformRemoteChangesetByStateCache','PERSON','interceptor','sheets','_syncEditingCollabCursor','[CollaborationEntity]','transformSelections','floor','Base','[SyncedState]:\x20received\x20acknowledgement.','_emitMembers','SUBMIT_CHANGESET_TIMEOUT','disposeWithMe','complete','_exhaustRemoteChangesetQueue','abs','searchParams','_state','encryptBlock','updatePermissionPoint','_parse','_event$','/resources','univer-pro.collaboration-client-socket-service','_collaborationSessionService','_toggleOnline','_updateStatus','getCurrentSelections','close','textRanges','NOT_FOUND','__Key__','_userManagerService','_replaceFileID','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','UNIVER_SHEET','_status$','_compressMutationService','splice','_invKeySchedule','8472096ASejRX','_waitForHeartbeatResponse','_change$','setShowComponents','_throwTelemetryCollaborationNewChangeset','_doCryptBlock','ws://127.0.0.1:8000/universer-api/comb/connect','getOwnPropertyDescriptor','UNDEFINED','_onConnectionOpen','keySize','function','Univer','session.room-not-exists','session.join-failed','_iKey','CONFLICT','charAt','crypto','parse','findIndex','[CollaborationSessionService]','removeMember','_roomCreated$','changesets','TOO_MANY_REQUESTS','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','requireSession','Malformed\x20UTF-8\x20data','closeSession','getDeserializedSheetBlock','_initRequestHeader','isPermissionRej','HmacSHA1','_loadSheet','/object/','HEARTBEAT_INTERVAL','UPDATE_CURSOR','/collaborator','Cipher','HELLO','HmacMD5','_handlerCallback','updateCursorEvent','compute','call','name','toLowerCase','init','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','awaiting','_prevBlock','_fetchMissChangesets','liveShareNewHost','_clearUndo','Utf8','_substituteRedoStack','NEW_CHANGESETS','\x20in\x20_schedule.','Encryptor','_snapshotServerService','close$','Undefined','PERMISSION_REJ','_state$','_process','refreshPermission','ALREADY_EXISTS','find','2763688BTbrSJ','_collabSessionService','LOCAL_CACHE_INTERVAL','error$','_socketReady','get','type','USERS_ENTER','getRoom','LIVESHARE_FETCH_OPERATIONS','collaborators','UnitEmbedded','getTypeOfUnitDisposed$','title','getMember','SOCKET_FAILED_RETRY','_commentUpdate$','JOIN_ROOM_PERMISSION_DENIED','updateCollaborator','_append','body','[OfflineState]:\x20received\x20changeset.','string','now','online$','onTransformSelections','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','PY_RUNTIME_SCRIPT_ERROR','FileId','/universer-api/oidc/authpage','ERROR_IMAGE_TYPE','_onRemoteACK','length','LICENSE_EXPORT_SIZE_EXCEEDED','_listenToNetworkCondition','_sessionStatus$','getMemberID','_ENC_XFORM_MODE','_http','_onConflict'];_0x6aa3=function(){return _0x3c277c;};return _0x6aa3();}const Pi=_0x1af128(0x2bd),wr=_0x1af128(0x1e6);let bt=class extends _0x1ec030{constructor(_0x57d8bc,_0x49cbc1){var _0x10ab04=_0x1af128;super(),this[_0x10ab04(0x393)]=_0x57d8bc,this[_0x10ab04(0x4d1)]=_0x49cbc1,this[_0x10ab04(0x270)]();}[_0x1af128(0x270)](){var _0x47a96a=_0x1af128;const _0x51598e=this;this[_0x47a96a(0x3b0)](this[_0x47a96a(0x393)][_0x47a96a(0x340)]({'priority':0x3e7,'interceptor':_0x8ebddf({'isMatch'(_0x5c48fe){var _0x4064c4=_0x47a96a,_0x33ce1f;if(_0x5c48fe[_0x4064c4(0x289)]===_0x4064c4(0x234)&&((_0x33ce1f=_0x5c48fe['requestParams'])!=null&&_0x33ce1f[_0x4064c4(0x425)])){const {objectID:_0x53873e,objectType:_0x7907d8}=_0x5c48fe[_0x4064c4(0x30a)][_0x4064c4(0x425)]||{};if(!_0x53873e||_0x7907d8===void 0x0)return!0x1;const _0x23c2ed=_0x51598e['_getAPIPrefixPath']()+'/'+_0x7907d8+'/object/'+_0x53873e+'/allowed';if(_0x5c48fe[_0x4064c4(0x1f8)]===_0x23c2ed)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5abdc2){var _0x8887ac=_0x47a96a,_0x1e6a14;return(_0x1e6a14=_0x5abdc2['requestParams'])==null?void 0x0:_0x1e6a14[_0x8887ac(0x425)];},'mergeParamsToRequest'(_0x121c13,_0x545c1d){var _0x1bbed0=_0x47a96a;const _0x2bc8f6=_0x51598e['_getAPIPrefixPath']()+_0x1bbed0(0x46b),_0x223d2b=_0x121c13[_0x1bbed0(0x327)]((_0x11dc9c,_0x3ee9d3)=>{var _0x3abd70=_0x1bbed0;const {unitID:_0x5a7440,objectID:_0x136ca0,objectType:_0x4d52d1,actions:_0x2aee9d}=_0x3ee9d3;return _0x11dc9c[_0x5a7440]||(_0x11dc9c[_0x5a7440]={}),_0x11dc9c[_0x5a7440][_0x136ca0]||(_0x11dc9c[_0x5a7440][_0x136ca0]={'objectID':_0x136ca0,'objectType':_0x4d52d1,'actions':[]}),_0x11dc9c[_0x5a7440][_0x136ca0][_0x3abd70(0x366)]['push'](..._0x2aee9d),_0x11dc9c;},{}),_0x65a60c=[];for(const _0x19ed99 in _0x223d2b)for(const _0x36734f in _0x223d2b[_0x19ed99]){const {actions:_0x4fca87,objectType:_0x14e748}=_0x223d2b[_0x19ed99][_0x36734f],_0x47a582=[...new Set(_0x4fca87)];_0x65a60c['push']({'unitID':_0x19ed99,'objectID':_0x36734f,'objectType':_0x14e748,'actions':_0x47a582});}return new _0x4ca06d(_0x1bbed0(0x234),_0x2bc8f6,{'headers':_0x545c1d[_0x1bbed0(0x484)],'withCredentials':_0x545c1d['withCredentials'],'responseType':_0x545c1d['responseType'],'body':{'requests':_0x65a60c}});}},{'distributeResult'(_0x5e5604,_0x1b9ca9){var _0x3543b0=_0x47a96a;const {objectActions:_0x2195d1}=_0x5e5604;return _0x1b9ca9[_0x3543b0(0x453)](_0x1bbcb7=>{var _0x288d3d=_0x3543b0;const {unitID:_0x3778f2,objectID:_0x28b054,actions:_0x2d17d1}=_0x1bbcb7,_0x38d262=_0x2195d1[_0x288d3d(0x410)](_0x37d3b1=>_0x37d3b1[_0x288d3d(0x1fa)]===_0x3778f2&&_0x37d3b1[_0x288d3d(0x2e7)]===_0x28b054),_0x4c74c3=_0x2d17d1[_0x288d3d(0x453)](_0x5bb2f1=>_0x38d262==null?void 0x0:_0x38d262[_0x288d3d(0x366)][_0x288d3d(0x410)](_0xc792e8=>_0xc792e8['action']===_0x5bb2f1))['filter'](_0x2d719e=>!!_0x2d719e);return{'config':_0x1bbcb7,'result':{'actions':_0x4c74c3,'error':_0x5e5604[_0x288d3d(0x479)]}};});}})}));}[_0x1af128(0x30c)](){var _0x18f744=_0x1af128,_0x816606,_0x45e0f7;const _0x3c74fe=this['_configService'][_0x18f744(0x49e)](Pi),_0x29a906=this[_0x18f744(0x4d1)][_0x18f744(0x49e)](q);return(_0x45e0f7=(_0x816606=_0x29a906==null?void 0x0:_0x29a906[_0x18f744(0x347)])!=null?_0x816606:_0x3c74fe)!=null?_0x45e0f7:wr;}async[_0x1af128(0x4b2)](_0xa0602e){var _0x38922f=_0x1af128;const _0x1270e7=this['_getAPIPrefixPath']()+'/'+_0xa0602e[_0x38922f(0x31c)]+_0x38922f(0x337);return(await this[_0x38922f(0x393)][_0x38922f(0x4cc)](_0x1270e7,{'body':_0xa0602e}))['body']['objectID']||'';}async['list'](_0x1869a9){var _0x4da3c4=_0x1af128;const _0x1f391d=this['_getAPIPrefixPath']()+_0x4da3c4(0x25d);return(await this['_HTTPService'][_0x4da3c4(0x4cc)](_0x1f391d,{'body':_0x1869a9}))[_0x4da3c4(0x425)]['objects'];}async[_0x1af128(0x370)](_0xb4dd55){var _0x9077f2=_0x1af128;const _0x25e3d7=this[_0x9077f2(0x30c)]()+'/'+_0xb4dd55[_0x9077f2(0x31c)]+_0x9077f2(0x3ef)+_0xb4dd55[_0x9077f2(0x2e7)];await this['_HTTPService'][_0x9077f2(0x2c5)](_0x25e3d7,{'body':_0xb4dd55});}async[_0x1af128(0x312)](_0x5ba9f9){var _0x11f922=_0x1af128;const _0x2167b9=this[_0x11f922(0x30c)]()+'/'+_0x5ba9f9['objectType']+_0x11f922(0x3ef)+_0x5ba9f9[_0x11f922(0x2e7)]+_0x11f922(0x292);return(await this[_0x11f922(0x393)]['post'](_0x2167b9,{'body':_0x5ba9f9}))[_0x11f922(0x425)]['actions'];}async[_0x1af128(0x315)](_0x19ed53){var _0x530030=_0x1af128;const _0x16a52a=this[_0x530030(0x30c)]()+_0x530030(0x46b);return(await this[_0x530030(0x393)][_0x530030(0x4cc)](_0x16a52a,{'body':{'requests':_0x19ed53}}))[_0x530030(0x425)][_0x530030(0x35b)];}async[_0x1af128(0x34e)](_0x57df8b){var _0x2b3c00=_0x1af128;const _0x7aaca0=this['_getAPIPrefixPath']()+'/'+_0x57df8b[_0x2b3c00(0x31c)]+_0x2b3c00(0x308),_0x1867b8=await this['_HTTPService']['post'](_0x7aaca0,{'body':_0x57df8b});return{'roles':_0x1867b8[_0x2b3c00(0x425)][_0x2b3c00(0x4a8)],'actions':_0x1867b8['body']['actions']};}async['deleteCollaborator'](_0x275ddd){var _0x1f0d3a=_0x1af128;const _0x3cfeb6=this[_0x1f0d3a(0x30c)]()+_0x1f0d3a(0x3f2);await this[_0x1f0d3a(0x393)][_0x1f0d3a(0x31f)](_0x3cfeb6,{'params':{'collaboratorID':_0x275ddd['collaboratorID'],'objectID':_0x275ddd['objectID'],'unitID':_0x275ddd['unitID']}});}async[_0x1af128(0x423)](_0x46b496){var _0x359ad2=_0x1af128;const _0x189557=this[_0x359ad2(0x30c)]()+_0x359ad2(0x3f2);await this[_0x359ad2(0x393)]['patch'](_0x189557,{'body':_0x46b496});}async[_0x1af128(0x1dd)](_0x4e8a31){var _0x301307=_0x1af128;const _0x42454c=this[_0x301307(0x30c)]()+'/collaborator';await this[_0x301307(0x393)][_0x301307(0x4cc)](_0x42454c,{'body':_0x4e8a31});}async[_0x1af128(0x4bd)](_0x26126d){var _0x19f4d1=_0x1af128;const _0x278ad3=this[_0x19f4d1(0x30c)]()+_0x19f4d1(0x3f2);return(await this[_0x19f4d1(0x393)][_0x19f4d1(0x416)](_0x278ad3,{'params':{'objectID':_0x26126d[_0x19f4d1(0x2e7)],'unitID':_0x26126d[_0x19f4d1(0x1fa)]}}))[_0x19f4d1(0x425)][_0x19f4d1(0x41b)];}async['putCollaborators'](_0x318b2c){var _0x4fca6c=_0x1af128;const _0x4493a0=this[_0x4fca6c(0x30c)]()+'/collaborator';await this[_0x4fca6c(0x393)][_0x4fca6c(0x2c5)](_0x4493a0,{'body':_0x318b2c});}};bt=Pr([Xt(0x0,_0x50b881(_0x51273b)),Xt(0x1,_0x50b881(_0xb3f6ba))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x552113){var _0x3be1fd=_0x1af128;return _0x552113&&_0x552113[_0x3be1fd(0x47c)]&&Object[_0x3be1fd(0x2eb)][_0x3be1fd(0x279)][_0x3be1fd(0x3f9)](_0x552113,_0x3be1fd(0x232))?_0x552113[_0x3be1fd(0x232)]:_0x552113;}var Ve={'exports':{}};function Ur(_0x2e5fd5){var _0x304bd7=_0x1af128;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x2e5fd5+_0x304bd7(0x300));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){return Zt||(Zt=0x1,function(_0x48a56b,_0x314c04){(function(_0x5a5d90,_0x2b0f24){var _0x118ebe=_0x596d;_0x48a56b[_0x118ebe(0x1d6)]=_0x2b0f24();}(Ar,function(){var _0x280bb4=_0x280bb4||function(_0x4a9a82,_0x4c29b1){var _0x37e20c=_0x596d,_0x3bab31;if(typeof window<'u'&&window['crypto']&&(_0x3bab31=window[_0x37e20c(0x3de)]),typeof self<'u'&&self[_0x37e20c(0x3de)]&&(_0x3bab31=self[_0x37e20c(0x3de)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3bab31=globalThis[_0x37e20c(0x3de)]),!_0x3bab31&&typeof window<'u'&&window[_0x37e20c(0x43d)]&&(_0x3bab31=window['msCrypto']),!_0x3bab31&&typeof pt<'u'&&pt[_0x37e20c(0x3de)]&&(_0x3bab31=pt[_0x37e20c(0x3de)]),!_0x3bab31&&typeof Ur=='function')try{_0x3bab31=require(_0x37e20c(0x3de));}catch{}var _0xc4e0eb=function(){var _0x50f3b7=_0x37e20c;if(_0x3bab31){if(typeof _0x3bab31[_0x50f3b7(0x25c)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x25c)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3bab31[_0x50f3b7(0x39a)]==_0x50f3b7(0x3d7))try{return _0x3bab31[_0x50f3b7(0x39a)](0x4)[_0x50f3b7(0x3a3)]();}catch{}}throw new Error(_0x50f3b7(0x4b9));},_0x4b17aa=Object['create']||(function(){function _0x32ef65(){}return function(_0x6d804){var _0x2a9916=_0x596d,_0x3647bf;return _0x32ef65['prototype']=_0x6d804,_0x3647bf=new _0x32ef65(),_0x32ef65[_0x2a9916(0x2eb)]=null,_0x3647bf;};}()),_0x1c143c={},_0x5f7b10=_0x1c143c[_0x37e20c(0x38e)]={},_0x5becf1=_0x5f7b10[_0x37e20c(0x3ac)]=(function(){return{'extend':function(_0x34b0c8){var _0x4233c0=_0x596d,_0x14ef6f=_0x4b17aa(this);return _0x34b0c8&&_0x14ef6f[_0x4233c0(0x445)](_0x34b0c8),(!_0x14ef6f[_0x4233c0(0x279)](_0x4233c0(0x3fc))||this[_0x4233c0(0x3fc)]===_0x14ef6f['init'])&&(_0x14ef6f[_0x4233c0(0x3fc)]=function(){var _0x4a6856=_0x4233c0;_0x14ef6f['$super'][_0x4a6856(0x3fc)][_0x4a6856(0x498)](this,arguments);}),_0x14ef6f[_0x4233c0(0x3fc)][_0x4233c0(0x2eb)]=_0x14ef6f,_0x14ef6f[_0x4233c0(0x383)]=this,_0x14ef6f;},'create':function(){var _0x2b25c6=_0x596d,_0x6abba6=this['extend']();return _0x6abba6['init'][_0x2b25c6(0x498)](_0x6abba6,arguments),_0x6abba6;},'init':function(){},'mixIn':function(_0x157af6){var _0x4742fa=_0x596d;for(var _0x522b82 in _0x157af6)_0x157af6[_0x4742fa(0x279)](_0x522b82)&&(this[_0x522b82]=_0x157af6[_0x522b82]);_0x157af6[_0x4742fa(0x279)](_0x4742fa(0x4d5))&&(this[_0x4742fa(0x4d5)]=_0x157af6[_0x4742fa(0x4d5)]);},'clone':function(){var _0x496970=_0x596d;return this[_0x496970(0x3fc)]['prototype'][_0x496970(0x4a2)](this);}};}()),_0x213313=_0x5f7b10[_0x37e20c(0x301)]=_0x5becf1['extend']({'init':function(_0x24fb5e,_0x56093c){var _0x301d4f=_0x37e20c;_0x24fb5e=this[_0x301d4f(0x487)]=_0x24fb5e||[],_0x56093c!=_0x4c29b1?this[_0x301d4f(0x2e2)]=_0x56093c:this['sigBytes']=_0x24fb5e[_0x301d4f(0x431)]*0x4;},'toString':function(_0x5d14dc){return(_0x5d14dc||_0x3fc6c9)['stringify'](this);},'concat':function(_0x2d731f){var _0x3f5157=_0x37e20c,_0x243b17=this[_0x3f5157(0x487)],_0x364e0c=_0x2d731f[_0x3f5157(0x487)],_0x57fcf5=this[_0x3f5157(0x2e2)],_0x3a4c64=_0x2d731f[_0x3f5157(0x2e2)];if(this[_0x3f5157(0x265)](),_0x57fcf5%0x4)for(var _0x413209=0x0;_0x413209<_0x3a4c64;_0x413209++){var _0x251ee8=_0x364e0c[_0x413209>>>0x2]>>>0x18-_0x413209%0x4*0x8&0xff;_0x243b17[_0x57fcf5+_0x413209>>>0x2]|=_0x251ee8<<0x18-(_0x57fcf5+_0x413209)%0x4*0x8;}else{for(var _0x588d7b=0x0;_0x588d7b<_0x3a4c64;_0x588d7b+=0x4)_0x243b17[_0x57fcf5+_0x588d7b>>>0x2]=_0x364e0c[_0x588d7b>>>0x2];}return this[_0x3f5157(0x2e2)]+=_0x3a4c64,this;},'clamp':function(){var _0x56ba8e=_0x37e20c,_0x3c37e7=this[_0x56ba8e(0x487)],_0x56409b=this[_0x56ba8e(0x2e2)];_0x3c37e7[_0x56409b>>>0x2]&=0xffffffff<<0x20-_0x56409b%0x4*0x8,_0x3c37e7[_0x56ba8e(0x431)]=_0x4a9a82[_0x56ba8e(0x4a6)](_0x56409b/0x4);},'clone':function(){var _0x13616b=_0x37e20c,_0x30e4fb=_0x5becf1[_0x13616b(0x1de)]['call'](this);return _0x30e4fb[_0x13616b(0x487)]=this['words'][_0x13616b(0x386)](0x0),_0x30e4fb;},'random':function(_0x906c8){var _0x35d5b6=_0x37e20c;for(var _0x3c0348=[],_0x529f72=0x0;_0x529f72<_0x906c8;_0x529f72+=0x4)_0x3c0348['push'](_0xc4e0eb());return new _0x213313[(_0x35d5b6(0x3fc))](_0x3c0348,_0x906c8);}}),_0xa88831=_0x1c143c['enc']={},_0x3fc6c9=_0xa88831[_0x37e20c(0x205)]={'stringify':function(_0x3ce5b9){var _0x4e558c=_0x37e20c;for(var _0x7bfc74=_0x3ce5b9[_0x4e558c(0x487)],_0x19a5ce=_0x3ce5b9[_0x4e558c(0x2e2)],_0x907164=[],_0x1bd737=0x0;_0x1bd737<_0x19a5ce;_0x1bd737++){var _0x5a2618=_0x7bfc74[_0x1bd737>>>0x2]>>>0x18-_0x1bd737%0x4*0x8&0xff;_0x907164[_0x4e558c(0x2ad)]((_0x5a2618>>>0x4)['toString'](0x10)),_0x907164[_0x4e558c(0x2ad)]((_0x5a2618&0xf)[_0x4e558c(0x4d5)](0x10));}return _0x907164[_0x4e558c(0x250)]('');},'parse':function(_0x27d3ab){var _0x3b0a51=_0x37e20c;for(var _0x1d2558=_0x27d3ab[_0x3b0a51(0x431)],_0xaff7d9=[],_0x165ddf=0x0;_0x165ddf<_0x1d2558;_0x165ddf+=0x2)_0xaff7d9[_0x165ddf>>>0x3]|=parseInt(_0x27d3ab[_0x3b0a51(0x35a)](_0x165ddf,0x2),0x10)<<0x18-_0x165ddf%0x8*0x4;return new _0x213313['init'](_0xaff7d9,_0x1d2558/0x2);}},_0x390f1d=_0xa88831[_0x37e20c(0x206)]={'stringify':function(_0x3fd973){var _0x26869f=_0x37e20c;for(var _0x1bab15=_0x3fd973['words'],_0x1cfa7c=_0x3fd973[_0x26869f(0x2e2)],_0xdc4287=[],_0x202405=0x0;_0x202405<_0x1cfa7c;_0x202405++){var _0x469a3d=_0x1bab15[_0x202405>>>0x2]>>>0x18-_0x202405%0x4*0x8&0xff;_0xdc4287['push'](String['fromCharCode'](_0x469a3d));}return _0xdc4287[_0x26869f(0x250)]('');},'parse':function(_0x450496){var _0x33ce96=_0x37e20c;for(var _0x2ffcf7=_0x450496[_0x33ce96(0x431)],_0x3364a2=[],_0x3a0313=0x0;_0x3a0313<_0x2ffcf7;_0x3a0313++)_0x3364a2[_0x3a0313>>>0x2]|=(_0x450496['charCodeAt'](_0x3a0313)&0xff)<<0x18-_0x3a0313%0x4*0x8;return new _0x213313[(_0x33ce96(0x3fc))](_0x3364a2,_0x2ffcf7);}},_0x53f9c3=_0xa88831[_0x37e20c(0x403)]={'stringify':function(_0x2787aa){var _0x586c53=_0x37e20c;try{return decodeURIComponent(escape(_0x390f1d['stringify'](_0x2787aa)));}catch{throw new Error(_0x586c53(0x3e8));}},'parse':function(_0x3ed9c1){var _0x2806a3=_0x37e20c;return _0x390f1d[_0x2806a3(0x3df)](unescape(encodeURIComponent(_0x3ed9c1)));}},_0x11fa61=_0x5f7b10['BufferedBlockAlgorithm']=_0x5becf1['extend']({'reset':function(){var _0x4012d2=_0x37e20c;this[_0x4012d2(0x4d8)]=new _0x213313[(_0x4012d2(0x3fc))](),this[_0x4012d2(0x256)]=0x0;},'_append':function(_0x106cfd){var _0x3988f2=_0x37e20c;typeof _0x106cfd==_0x3988f2(0x427)&&(_0x106cfd=_0x53f9c3[_0x3988f2(0x3df)](_0x106cfd)),this[_0x3988f2(0x4d8)][_0x3988f2(0x21d)](_0x106cfd),this['_nDataBytes']+=_0x106cfd[_0x3988f2(0x2e2)];},'_process':function(_0x4b561c){var _0x2bdaca=_0x37e20c,_0x5bc40b,_0x487b47=this[_0x2bdaca(0x4d8)],_0x37fc4e=_0x487b47[_0x2bdaca(0x487)],_0xb1f32d=_0x487b47[_0x2bdaca(0x2e2)],_0x56280e=this['blockSize'],_0xa231db=_0x56280e*0x4,_0x361b25=_0xb1f32d/_0xa231db;_0x4b561c?_0x361b25=_0x4a9a82[_0x2bdaca(0x4a6)](_0x361b25):_0x361b25=_0x4a9a82[_0x2bdaca(0x1e2)]((_0x361b25|0x0)-this['_minBufferSize'],0x0);var _0x596736=_0x361b25*_0x56280e,_0x5c5f27=_0x4a9a82[_0x2bdaca(0x439)](_0x596736*0x4,_0xb1f32d);if(_0x596736){for(var _0x1a8425=0x0;_0x1a8425<_0x596736;_0x1a8425+=_0x56280e)this[_0x2bdaca(0x293)](_0x37fc4e,_0x1a8425);_0x5bc40b=_0x37fc4e['splice'](0x0,_0x596736),_0x487b47[_0x2bdaca(0x2e2)]-=_0x5c5f27;}return new _0x213313[(_0x2bdaca(0x3fc))](_0x5bc40b,_0x5c5f27);},'clone':function(){var _0x104f62=_0x37e20c,_0x2f7109=_0x5becf1['clone'][_0x104f62(0x3f9)](this);return _0x2f7109[_0x104f62(0x4d8)]=this[_0x104f62(0x4d8)][_0x104f62(0x1de)](),_0x2f7109;},'_minBufferSize':0x0});_0x5f7b10['Hasher']=_0x11fa61[_0x37e20c(0x4a2)]({'cfg':_0x5becf1[_0x37e20c(0x4a2)](),'init':function(_0x33d8d1){var _0x2f1384=_0x37e20c;this[_0x2f1384(0x390)]=this[_0x2f1384(0x390)][_0x2f1384(0x4a2)](_0x33d8d1),this[_0x2f1384(0x22d)]();},'reset':function(){var _0x7d9669=_0x37e20c;_0x11fa61[_0x7d9669(0x22d)][_0x7d9669(0x3f9)](this),this[_0x7d9669(0x329)]();},'update':function(_0x5458c4){var _0x4689ae=_0x37e20c;return this[_0x4689ae(0x424)](_0x5458c4),this[_0x4689ae(0x40d)](),this;},'finalize':function(_0x4c8a03){var _0x3f4b6e=_0x37e20c;_0x4c8a03&&this[_0x3f4b6e(0x424)](_0x4c8a03);var _0x2e69b2=this[_0x3f4b6e(0x4a3)]();return _0x2e69b2;},'blockSize':0x10,'_createHelper':function(_0x222b35){return function(_0x593d8,_0x2932ec){var _0x1a4ec7=_0x596d;return new _0x222b35['init'](_0x2932ec)[_0x1a4ec7(0x2b7)](_0x593d8);};},'_createHmacHelper':function(_0x3877f4){return function(_0x3089d0,_0x509973){var _0x43eba0=_0x596d;return new _0x589f1e[(_0x43eba0(0x280))][(_0x43eba0(0x3fc))](_0x3877f4,_0x509973)[_0x43eba0(0x2b7)](_0x3089d0);};}});var _0x589f1e=_0x1c143c['algo']={};return _0x1c143c;}(Math);return _0x280bb4;}));}(Ge)),Ge['exports'];}var We={'exports':{}},xr=We[_0x1af128(0x1d6)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x11881c,_0xdd206b){(function(_0x336033,_0x46e412){var _0x11fd9c=_0x596d;_0x11881c[_0x11fd9c(0x1d6)]=_0x46e412(ne());}(xr,function(_0x4c7b3e){var _0x37b411=_0x596d;return(function(){var _0xa7735e=_0x596d,_0x1a1be8=_0x4c7b3e,_0x1c3b07=_0x1a1be8[_0xa7735e(0x38e)],_0x294c0f=_0x1c3b07[_0xa7735e(0x301)],_0x3439cc=_0x1a1be8['enc'];_0x3439cc['Base64']={'stringify':function(_0x28f918){var _0x201c4e=_0xa7735e,_0x3f3091=_0x28f918[_0x201c4e(0x487)],_0x3e5b10=_0x28f918[_0x201c4e(0x2e2)],_0x137553=this[_0x201c4e(0x2e4)];_0x28f918[_0x201c4e(0x265)]();for(var _0x3fc56e=[],_0x486189=0x0;_0x486189<_0x3e5b10;_0x486189+=0x3)for(var _0x1fcb00=_0x3f3091[_0x486189>>>0x2]>>>0x18-_0x486189%0x4*0x8&0xff,_0x4411a9=_0x3f3091[_0x486189+0x1>>>0x2]>>>0x18-(_0x486189+0x1)%0x4*0x8&0xff,_0x43fa0e=_0x3f3091[_0x486189+0x2>>>0x2]>>>0x18-(_0x486189+0x2)%0x4*0x8&0xff,_0x5db6d7=_0x1fcb00<<0x10|_0x4411a9<<0x8|_0x43fa0e,_0x173eba=0x0;_0x173eba<0x4&&_0x486189+_0x173eba*0.75<_0x3e5b10;_0x173eba++)_0x3fc56e['push'](_0x137553[_0x201c4e(0x3dd)](_0x5db6d7>>>0x6*(0x3-_0x173eba)&0x3f));var _0x56d568=_0x137553[_0x201c4e(0x3dd)](0x40);if(_0x56d568){for(;_0x3fc56e['length']%0x4;)_0x3fc56e[_0x201c4e(0x2ad)](_0x56d568);}return _0x3fc56e[_0x201c4e(0x250)]('');},'parse':function(_0x5f6127){var _0x1893f7=_0xa7735e,_0x213210=_0x5f6127[_0x1893f7(0x431)],_0x5f30c9=this[_0x1893f7(0x2e4)],_0x6ee06d=this[_0x1893f7(0x458)];if(!_0x6ee06d){_0x6ee06d=this[_0x1893f7(0x458)]=[];for(var _0x89f914=0x0;_0x89f914<_0x5f30c9[_0x1893f7(0x431)];_0x89f914++)_0x6ee06d[_0x5f30c9[_0x1893f7(0x2d1)](_0x89f914)]=_0x89f914;}var _0x106663=_0x5f30c9[_0x1893f7(0x3dd)](0x40);if(_0x106663){var _0x1fc414=_0x5f6127[_0x1893f7(0x24a)](_0x106663);_0x1fc414!==-0x1&&(_0x213210=_0x1fc414);}return _0x41c13d(_0x5f6127,_0x213210,_0x6ee06d);},'_map':_0xa7735e(0x227)};function _0x41c13d(_0x20aa83,_0x594448,_0xd3c7a3){var _0x3def0d=_0xa7735e;for(var _0x5da843=[],_0x159ddf=0x0,_0x5b407d=0x0;_0x5b407d<_0x594448;_0x5b407d++)if(_0x5b407d%0x4){var _0x689f96=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d-0x1)]<<_0x5b407d%0x4*0x2,_0x5079d2=_0xd3c7a3[_0x20aa83[_0x3def0d(0x2d1)](_0x5b407d)]>>>0x6-_0x5b407d%0x4*0x2,_0x5db391=_0x689f96|_0x5079d2;_0x5da843[_0x159ddf>>>0x2]|=_0x5db391<<0x18-_0x159ddf%0x4*0x8,_0x159ddf++;}return _0x294c0f[_0x3def0d(0x4b2)](_0x5da843,_0x159ddf);}}()),_0x4c7b3e[_0x37b411(0x1fe)][_0x37b411(0x497)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x473fbd=_0x1af128;return ei||(ei=0x1,function(_0x7ee48c,_0x547e34){(function(_0x184f95,_0x20a655){var _0x1f6494=_0x596d;_0x7ee48c[_0x1f6494(0x1d6)]=_0x20a655(ne());}(Lr,function(_0x52080a){return function(_0x537a9a){var _0x133cbd=_0x596d,_0xdeeb8d=_0x52080a,_0x10f43a=_0xdeeb8d[_0x133cbd(0x38e)],_0x311b7c=_0x10f43a['WordArray'],_0x266371=_0x10f43a['Hasher'],_0x381e5d=_0xdeeb8d[_0x133cbd(0x2af)],_0x38e293=[];(function(){var _0x214e0=_0x133cbd;for(var _0xe8776f=0x0;_0xe8776f<0x40;_0xe8776f++)_0x38e293[_0xe8776f]=_0x537a9a[_0x214e0(0x3b3)](_0x537a9a[_0x214e0(0x2ea)](_0xe8776f+0x1))*0x100000000|0x0;}());var _0x1e1837=_0x381e5d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x4a2)]({'_doReset':function(){var _0x2dbb7d=_0x133cbd;this[_0x2dbb7d(0x316)]=new _0x311b7c[(_0x2dbb7d(0x3fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4ac0c0,_0x502076){var _0x330187=_0x133cbd;for(var _0x5286f2=0x0;_0x5286f2<0x10;_0x5286f2++){var _0xde7572=_0x502076+_0x5286f2,_0x3e57a2=_0x4ac0c0[_0xde7572];_0x4ac0c0[_0xde7572]=(_0x3e57a2<<0x8|_0x3e57a2>>>0x18)&0xff00ff|(_0x3e57a2<<0x18|_0x3e57a2>>>0x8)&0xff00ff00;}var _0x291bba=this[_0x330187(0x316)][_0x330187(0x487)],_0x2476b3=_0x4ac0c0[_0x502076+0x0],_0x55be43=_0x4ac0c0[_0x502076+0x1],_0x4541bb=_0x4ac0c0[_0x502076+0x2],_0x75d4aa=_0x4ac0c0[_0x502076+0x3],_0x3f2094=_0x4ac0c0[_0x502076+0x4],_0x56e834=_0x4ac0c0[_0x502076+0x5],_0x3a114e=_0x4ac0c0[_0x502076+0x6],_0x36b380=_0x4ac0c0[_0x502076+0x7],_0x376622=_0x4ac0c0[_0x502076+0x8],_0x161533=_0x4ac0c0[_0x502076+0x9],_0x3c917a=_0x4ac0c0[_0x502076+0xa],_0x53391c=_0x4ac0c0[_0x502076+0xb],_0x2e9b0a=_0x4ac0c0[_0x502076+0xc],_0x945a71=_0x4ac0c0[_0x502076+0xd],_0x112621=_0x4ac0c0[_0x502076+0xe],_0xd41543=_0x4ac0c0[_0x502076+0xf],_0x244937=_0x291bba[0x0],_0x5eb74c=_0x291bba[0x1],_0x1bbe88=_0x291bba[0x2],_0x508c2e=_0x291bba[0x3];_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x7,_0x38e293[0x0]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x55be43,0xc,_0x38e293[0x1]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0x11,_0x38e293[0x2]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x75d4aa,0x16,_0x38e293[0x3]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x7,_0x38e293[0x4]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x56e834,0xc,_0x38e293[0x5]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0x11,_0x38e293[0x6]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x36b380,0x16,_0x38e293[0x7]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x7,_0x38e293[0x8]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x161533,0xc,_0x38e293[0x9]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0x11,_0x38e293[0xa]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x53391c,0x16,_0x38e293[0xb]),_0x244937=_0xdc5d3c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x7,_0x38e293[0xc]),_0x508c2e=_0xdc5d3c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x945a71,0xc,_0x38e293[0xd]),_0x1bbe88=_0xdc5d3c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0x11,_0x38e293[0xe]),_0x5eb74c=_0xdc5d3c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0xd41543,0x16,_0x38e293[0xf]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x5,_0x38e293[0x10]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3a114e,0x9,_0x38e293[0x11]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0xe,_0x38e293[0x12]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2476b3,0x14,_0x38e293[0x13]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x5,_0x38e293[0x14]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3c917a,0x9,_0x38e293[0x15]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0xe,_0x38e293[0x16]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3f2094,0x14,_0x38e293[0x17]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x5,_0x38e293[0x18]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x112621,0x9,_0x38e293[0x19]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0xe,_0x38e293[0x1a]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x376622,0x14,_0x38e293[0x1b]),_0x244937=_0x3855f6(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x5,_0x38e293[0x1c]),_0x508c2e=_0x3855f6(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x4541bb,0x9,_0x38e293[0x1d]),_0x1bbe88=_0x3855f6(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0xe,_0x38e293[0x1e]),_0x5eb74c=_0x3855f6(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x2e9b0a,0x14,_0x38e293[0x1f]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x56e834,0x4,_0x38e293[0x20]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x376622,0xb,_0x38e293[0x21]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x53391c,0x10,_0x38e293[0x22]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x112621,0x17,_0x38e293[0x23]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x55be43,0x4,_0x38e293[0x24]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x3f2094,0xb,_0x38e293[0x25]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x36b380,0x10,_0x38e293[0x26]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3c917a,0x17,_0x38e293[0x27]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x945a71,0x4,_0x38e293[0x28]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2476b3,0xb,_0x38e293[0x29]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x75d4aa,0x10,_0x38e293[0x2a]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x3a114e,0x17,_0x38e293[0x2b]),_0x244937=_0x84d727(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x161533,0x4,_0x38e293[0x2c]),_0x508c2e=_0x84d727(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x2e9b0a,0xb,_0x38e293[0x2d]),_0x1bbe88=_0x84d727(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0xd41543,0x10,_0x38e293[0x2e]),_0x5eb74c=_0x84d727(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x4541bb,0x17,_0x38e293[0x2f]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2476b3,0x6,_0x38e293[0x30]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x36b380,0xa,_0x38e293[0x31]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x112621,0xf,_0x38e293[0x32]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x56e834,0x15,_0x38e293[0x33]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x2e9b0a,0x6,_0x38e293[0x34]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x75d4aa,0xa,_0x38e293[0x35]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3c917a,0xf,_0x38e293[0x36]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x55be43,0x15,_0x38e293[0x37]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x376622,0x6,_0x38e293[0x38]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0xd41543,0xa,_0x38e293[0x39]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x3a114e,0xf,_0x38e293[0x3a]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x945a71,0x15,_0x38e293[0x3b]),_0x244937=_0x29239c(_0x244937,_0x5eb74c,_0x1bbe88,_0x508c2e,_0x3f2094,0x6,_0x38e293[0x3c]),_0x508c2e=_0x29239c(_0x508c2e,_0x244937,_0x5eb74c,_0x1bbe88,_0x53391c,0xa,_0x38e293[0x3d]),_0x1bbe88=_0x29239c(_0x1bbe88,_0x508c2e,_0x244937,_0x5eb74c,_0x4541bb,0xf,_0x38e293[0x3e]),_0x5eb74c=_0x29239c(_0x5eb74c,_0x1bbe88,_0x508c2e,_0x244937,_0x161533,0x15,_0x38e293[0x3f]),_0x291bba[0x0]=_0x291bba[0x0]+_0x244937|0x0,_0x291bba[0x1]=_0x291bba[0x1]+_0x5eb74c|0x0,_0x291bba[0x2]=_0x291bba[0x2]+_0x1bbe88|0x0,_0x291bba[0x3]=_0x291bba[0x3]+_0x508c2e|0x0;},'_doFinalize':function(){var _0xdfdff7=_0x133cbd,_0x2c44cd=this[_0xdfdff7(0x4d8)],_0x4aa320=_0x2c44cd[_0xdfdff7(0x487)],_0x1af8c8=this['_nDataBytes']*0x8,_0x11ac8b=_0x2c44cd[_0xdfdff7(0x2e2)]*0x8;_0x4aa320[_0x11ac8b>>>0x5]|=0x80<<0x18-_0x11ac8b%0x20;var _0x52f35c=_0x537a9a['floor'](_0x1af8c8/0x100000000),_0x405819=_0x1af8c8;_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xf]=(_0x52f35c<<0x8|_0x52f35c>>>0x18)&0xff00ff|(_0x52f35c<<0x18|_0x52f35c>>>0x8)&0xff00ff00,_0x4aa320[(_0x11ac8b+0x40>>>0x9<<0x4)+0xe]=(_0x405819<<0x8|_0x405819>>>0x18)&0xff00ff|(_0x405819<<0x18|_0x405819>>>0x8)&0xff00ff00,_0x2c44cd[_0xdfdff7(0x2e2)]=(_0x4aa320['length']+0x1)*0x4,this['_process']();for(var _0x3841f7=this[_0xdfdff7(0x316)],_0x5387cf=_0x3841f7[_0xdfdff7(0x487)],_0x51aaa4=0x0;_0x51aaa4<0x4;_0x51aaa4++){var _0x396919=_0x5387cf[_0x51aaa4];_0x5387cf[_0x51aaa4]=(_0x396919<<0x8|_0x396919>>>0x18)&0xff00ff|(_0x396919<<0x18|_0x396919>>>0x8)&0xff00ff00;}return _0x3841f7;},'clone':function(){var _0x37c524=_0x133cbd,_0x29c11d=_0x266371[_0x37c524(0x1de)][_0x37c524(0x3f9)](this);return _0x29c11d['_hash']=this['_hash'][_0x37c524(0x1de)](),_0x29c11d;}});function _0xdc5d3c(_0x5be382,_0x37b7ce,_0x567736,_0x2b5df4,_0x6ccbe5,_0x284bad,_0x1b0d94){var _0x184652=_0x5be382+(_0x37b7ce&_0x567736|~_0x37b7ce&_0x2b5df4)+_0x6ccbe5+_0x1b0d94;return(_0x184652<<_0x284bad|_0x184652>>>0x20-_0x284bad)+_0x37b7ce;}function _0x3855f6(_0x50a123,_0x106bf7,_0x4e75df,_0x2a9c05,_0x3a43da,_0x16bbf4,_0x3abef4){var _0x430c30=_0x50a123+(_0x106bf7&_0x2a9c05|_0x4e75df&~_0x2a9c05)+_0x3a43da+_0x3abef4;return(_0x430c30<<_0x16bbf4|_0x430c30>>>0x20-_0x16bbf4)+_0x106bf7;}function _0x84d727(_0x27f2b5,_0x2759bf,_0x195ef8,_0x2bed17,_0x1246b3,_0x105a8c,_0xf1b546){var _0x156def=_0x27f2b5+(_0x2759bf^_0x195ef8^_0x2bed17)+_0x1246b3+_0xf1b546;return(_0x156def<<_0x105a8c|_0x156def>>>0x20-_0x105a8c)+_0x2759bf;}function _0x29239c(_0x139863,_0x27d06c,_0x5d999d,_0x4fee5a,_0xea0eaf,_0x5be690,_0x5b6d03){var _0x47c1bb=_0x139863+(_0x5d999d^(_0x27d06c|~_0x4fee5a))+_0xea0eaf+_0x5b6d03;return(_0x47c1bb<<_0x5be690|_0x47c1bb>>>0x20-_0x5be690)+_0x27d06c;}_0xdeeb8d[_0x133cbd(0x4d7)]=_0x266371[_0x133cbd(0x1f7)](_0x1e1837),_0xdeeb8d[_0x133cbd(0x3f5)]=_0x266371[_0x133cbd(0x441)](_0x1e1837);}(Math),_0x52080a['MD5'];}));}(Ke)),Ke[_0x473fbd(0x1d6)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x1af128(0x1d6)],ti;function Hr(){var _0x4a71c=_0x1af128;return ti||(ti=0x1,function(_0x30a665,_0x1d8dfb){(function(_0x36036c,_0x31f482){var _0x4fc0eb=_0x596d;_0x30a665[_0x4fc0eb(0x1d6)]=_0x31f482(ne());}($r,function(_0x32e95e){return(function(){var _0x52b658=_0x596d,_0x272dab=_0x32e95e,_0xbbf018=_0x272dab[_0x52b658(0x38e)],_0x291a37=_0xbbf018[_0x52b658(0x301)],_0x294f34=_0xbbf018['Hasher'],_0x81cfcd=_0x272dab[_0x52b658(0x2af)],_0x29a0f7=[],_0x3cef03=_0x81cfcd[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x4a2)]({'_doReset':function(){var _0x4b8d6d=_0x52b658;this[_0x4b8d6d(0x316)]=new _0x291a37['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x593cc2,_0x2ab868){var _0x4e979b=_0x52b658;for(var _0x2cd74d=this[_0x4e979b(0x316)]['words'],_0x3497be=_0x2cd74d[0x0],_0x5b9af9=_0x2cd74d[0x1],_0x32e200=_0x2cd74d[0x2],_0x2b3dbb=_0x2cd74d[0x3],_0x36c539=_0x2cd74d[0x4],_0x12f25=0x0;_0x12f25<0x50;_0x12f25++){if(_0x12f25<0x10)_0x29a0f7[_0x12f25]=_0x593cc2[_0x2ab868+_0x12f25]|0x0;else{var _0x94cd35=_0x29a0f7[_0x12f25-0x3]^_0x29a0f7[_0x12f25-0x8]^_0x29a0f7[_0x12f25-0xe]^_0x29a0f7[_0x12f25-0x10];_0x29a0f7[_0x12f25]=_0x94cd35<<0x1|_0x94cd35>>>0x1f;}var _0x59b534=(_0x3497be<<0x5|_0x3497be>>>0x1b)+_0x36c539+_0x29a0f7[_0x12f25];_0x12f25<0x14?_0x59b534+=(_0x5b9af9&_0x32e200|~_0x5b9af9&_0x2b3dbb)+0x5a827999:_0x12f25<0x28?_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)+0x6ed9eba1:_0x12f25<0x3c?_0x59b534+=(_0x5b9af9&_0x32e200|_0x5b9af9&_0x2b3dbb|_0x32e200&_0x2b3dbb)-0x70e44324:_0x59b534+=(_0x5b9af9^_0x32e200^_0x2b3dbb)-0x359d3e2a,_0x36c539=_0x2b3dbb,_0x2b3dbb=_0x32e200,_0x32e200=_0x5b9af9<<0x1e|_0x5b9af9>>>0x2,_0x5b9af9=_0x3497be,_0x3497be=_0x59b534;}_0x2cd74d[0x0]=_0x2cd74d[0x0]+_0x3497be|0x0,_0x2cd74d[0x1]=_0x2cd74d[0x1]+_0x5b9af9|0x0,_0x2cd74d[0x2]=_0x2cd74d[0x2]+_0x32e200|0x0,_0x2cd74d[0x3]=_0x2cd74d[0x3]+_0x2b3dbb|0x0,_0x2cd74d[0x4]=_0x2cd74d[0x4]+_0x36c539|0x0;},'_doFinalize':function(){var _0x919228=_0x52b658,_0x39a81c=this['_data'],_0x13bdfc=_0x39a81c[_0x919228(0x487)],_0x298c60=this['_nDataBytes']*0x8,_0x10f09f=_0x39a81c['sigBytes']*0x8;return _0x13bdfc[_0x10f09f>>>0x5]|=0x80<<0x18-_0x10f09f%0x20,_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xe]=Math[_0x919228(0x3ab)](_0x298c60/0x100000000),_0x13bdfc[(_0x10f09f+0x40>>>0x9<<0x4)+0xf]=_0x298c60,_0x39a81c[_0x919228(0x2e2)]=_0x13bdfc[_0x919228(0x431)]*0x4,this[_0x919228(0x40d)](),this[_0x919228(0x316)];},'clone':function(){var _0x8e1539=_0x52b658,_0x187b23=_0x294f34[_0x8e1539(0x1de)]['call'](this);return _0x187b23[_0x8e1539(0x316)]=this[_0x8e1539(0x316)][_0x8e1539(0x1de)](),_0x187b23;}});_0x272dab[_0x52b658(0x32e)]=_0x294f34[_0x52b658(0x1f7)](_0x3cef03),_0x272dab[_0x52b658(0x3ed)]=_0x294f34[_0x52b658(0x441)](_0x3cef03);}()),_0x32e95e['SHA1'];}));}(qe)),qe[_0x4a71c(0x1d6)];}var ze={'exports':{}},kr=ze[_0x1af128(0x1d6)],ii;function jr(){var _0x4d1fad=_0x1af128;return ii||(ii=0x1,function(_0x4fc494,_0x561379){(function(_0x194213,_0x535d31){_0x4fc494['exports']=_0x535d31(ne());}(kr,function(_0x79793c){(function(){var _0x402120=_0x596d,_0x1262ba=_0x79793c,_0x43966e=_0x1262ba[_0x402120(0x38e)],_0x2bff77=_0x43966e['Base'],_0x27e5de=_0x1262ba['enc'],_0x4bf706=_0x27e5de[_0x402120(0x403)],_0x3510cb=_0x1262ba[_0x402120(0x2af)];_0x3510cb[_0x402120(0x280)]=_0x2bff77['extend']({'init':function(_0x1d6424,_0x252353){var _0x494d81=_0x402120;_0x1d6424=this[_0x494d81(0x26f)]=new _0x1d6424[(_0x494d81(0x3fc))](),typeof _0x252353=='string'&&(_0x252353=_0x4bf706[_0x494d81(0x3df)](_0x252353));var _0x15c884=_0x1d6424[_0x494d81(0x2f8)],_0x5b4aea=_0x15c884*0x4;_0x252353[_0x494d81(0x2e2)]>_0x5b4aea&&(_0x252353=_0x1d6424[_0x494d81(0x2b7)](_0x252353)),_0x252353['clamp']();for(var _0x127735=this[_0x494d81(0x294)]=_0x252353['clone'](),_0x1582a1=this['_iKey']=_0x252353[_0x494d81(0x1de)](),_0x4f3890=_0x127735[_0x494d81(0x487)],_0x2435e1=_0x1582a1['words'],_0x29bac8=0x0;_0x29bac8<_0x15c884;_0x29bac8++)_0x4f3890[_0x29bac8]^=0x5c5c5c5c,_0x2435e1[_0x29bac8]^=0x36363636;_0x127735[_0x494d81(0x2e2)]=_0x1582a1['sigBytes']=_0x5b4aea,this[_0x494d81(0x22d)]();},'reset':function(){var _0x3feddb=_0x402120,_0x3626f6=this[_0x3feddb(0x26f)];_0x3626f6['reset'](),_0x3626f6[_0x3feddb(0x370)](this[_0x3feddb(0x3db)]);},'update':function(_0x555c89){var _0x93aae0=_0x402120;return this[_0x93aae0(0x26f)][_0x93aae0(0x370)](_0x555c89),this;},'finalize':function(_0x3f4ab8){var _0x3af6e4=_0x402120,_0x32db97=this[_0x3af6e4(0x26f)],_0x3b4b64=_0x32db97[_0x3af6e4(0x2b7)](_0x3f4ab8);_0x32db97['reset']();var _0x293363=_0x32db97[_0x3af6e4(0x2b7)](this[_0x3af6e4(0x294)][_0x3af6e4(0x1de)]()[_0x3af6e4(0x21d)](_0x3b4b64));return _0x293363;}});}());}));}(ze)),ze[_0x4d1fad(0x1d6)];}var Br=Ye[_0x1af128(0x1d6)],ni;function Ui(){var _0x51b167=_0x1af128;return ni||(ni=0x1,function(_0x21e618,_0xe53cbb){(function(_0x4fdf7d,_0x313f0e,_0x203c9f){var _0x484538=_0x596d;_0x21e618[_0x484538(0x1d6)]=_0x313f0e(ne(),Hr(),jr());}(Br,function(_0x18a74f){var _0x41c08d=_0x596d;return(function(){var _0xc89938=_0x596d,_0x5a52f9=_0x18a74f,_0x59614e=_0x5a52f9[_0xc89938(0x38e)],_0x1fda88=_0x59614e[_0xc89938(0x3ac)],_0x466169=_0x59614e[_0xc89938(0x301)],_0x4e3d04=_0x5a52f9[_0xc89938(0x2af)],_0xa2cc14=_0x4e3d04[_0xc89938(0x4d7)],_0x359970=_0x4e3d04[_0xc89938(0x48f)]=_0x1fda88[_0xc89938(0x4a2)]({'cfg':_0x1fda88[_0xc89938(0x4a2)]({'keySize':0x80/0x20,'hasher':_0xa2cc14,'iterations':0x1}),'init':function(_0x272fef){var _0x2337c2=_0xc89938;this[_0x2337c2(0x390)]=this['cfg'][_0x2337c2(0x4a2)](_0x272fef);},'compute':function(_0x50d7d4,_0x4abd7d){var _0x252a82=_0xc89938;for(var _0x1bb8f6,_0xc4c43c=this[_0x252a82(0x390)],_0x32f35b=_0xc4c43c[_0x252a82(0x447)][_0x252a82(0x4b2)](),_0x429847=_0x466169[_0x252a82(0x4b2)](),_0x177a6c=_0x429847[_0x252a82(0x487)],_0xe9ae0e=_0xc4c43c[_0x252a82(0x3d6)],_0x1f3737=_0xc4c43c[_0x252a82(0x262)];_0x177a6c[_0x252a82(0x431)]<_0xe9ae0e;){_0x1bb8f6&&_0x32f35b['update'](_0x1bb8f6),_0x1bb8f6=_0x32f35b['update'](_0x50d7d4)[_0x252a82(0x2b7)](_0x4abd7d),_0x32f35b['reset']();for(var _0x1e8ef2=0x1;_0x1e8ef2<_0x1f3737;_0x1e8ef2++)_0x1bb8f6=_0x32f35b[_0x252a82(0x2b7)](_0x1bb8f6),_0x32f35b[_0x252a82(0x22d)]();_0x429847['concat'](_0x1bb8f6);}return _0x429847['sigBytes']=_0xe9ae0e*0x4,_0x429847;}});_0x5a52f9[_0xc89938(0x48f)]=function(_0x1d62b3,_0x48bea3,_0x38024e){var _0xe7f39a=_0xc89938;return _0x359970[_0xe7f39a(0x4b2)](_0x38024e)[_0xe7f39a(0x3f8)](_0x1d62b3,_0x48bea3);};}()),_0x18a74f[_0x41c08d(0x48f)];}));}(Ye)),Ye[_0x51b167(0x1d6)];}var Je={'exports':{}},Fr=Je[_0x1af128(0x1d6)],ri;function Ai(){return ri||(ri=0x1,function(_0x4d622a,_0x24ef57){(function(_0x3331c8,_0x3ac5a8,_0x264f85){var _0x30fdad=_0x596d;_0x4d622a[_0x30fdad(0x1d6)]=_0x3ac5a8(ne(),Ui());}(Fr,function(_0x111f1d){var _0x18b65c=_0x596d;_0x111f1d[_0x18b65c(0x38e)][_0x18b65c(0x3f3)]||function(_0x31a63e){var _0x51cb57=_0x18b65c,_0x16e9ae=_0x111f1d,_0x326008=_0x16e9ae[_0x51cb57(0x38e)],_0x373344=_0x326008['Base'],_0xb28977=_0x326008[_0x51cb57(0x301)],_0x1e0a8b=_0x326008[_0x51cb57(0x48c)],_0x5344cc=_0x16e9ae['enc'];_0x5344cc[_0x51cb57(0x403)];var _0x12b014=_0x5344cc[_0x51cb57(0x497)],_0x2211ed=_0x16e9ae[_0x51cb57(0x2af)],_0x54ada5=_0x2211ed[_0x51cb57(0x48f)],_0x464d55=_0x326008[_0x51cb57(0x3f3)]=_0x1e0a8b[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)](),'createEncryptor':function(_0x865b4e,_0x18f012){var _0x12ca7a=_0x51cb57;return this[_0x12ca7a(0x4b2)](this['_ENC_XFORM_MODE'],_0x865b4e,_0x18f012);},'createDecryptor':function(_0x317a5a,_0x5bf923){var _0x23ea81=_0x51cb57;return this[_0x23ea81(0x4b2)](this[_0x23ea81(0x207)],_0x317a5a,_0x5bf923);},'init':function(_0x427658,_0x3c141f,_0x5e26b5){var _0x11607c=_0x51cb57;this[_0x11607c(0x390)]=this['cfg']['extend'](_0x5e26b5),this[_0x11607c(0x27c)]=_0x427658,this[_0x11607c(0x318)]=_0x3c141f,this['reset']();},'reset':function(){var _0x4c8658=_0x51cb57;_0x1e0a8b[_0x4c8658(0x22d)]['call'](this),this[_0x4c8658(0x329)]();},'process':function(_0x2a788e){var _0x1ad368=_0x51cb57;return this[_0x1ad368(0x424)](_0x2a788e),this[_0x1ad368(0x40d)]();},'finalize':function(_0x3aa143){var _0x2e1e9b=_0x51cb57;_0x3aa143&&this[_0x2e1e9b(0x424)](_0x3aa143);var _0x20b3b0=this[_0x2e1e9b(0x4a3)]();return _0x20b3b0;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x423ad7(_0xb6f771){return typeof _0xb6f771=='string'?_0x1515d5:_0xc3566;}return function(_0x3ab687){return{'encrypt':function(_0x26306e,_0x2ed8fc,_0x278f66){var _0x5edec7=_0x596d;return _0x423ad7(_0x2ed8fc)[_0x5edec7(0x4bf)](_0x3ab687,_0x26306e,_0x2ed8fc,_0x278f66);},'decrypt':function(_0x3e253b,_0x3633f0,_0x4f2a45){return _0x423ad7(_0x3633f0)['decrypt'](_0x3ab687,_0x3e253b,_0x3633f0,_0x4f2a45);}};};}())});_0x326008[_0x51cb57(0x2ae)]=_0x464d55[_0x51cb57(0x4a2)]({'_doFinalize':function(){var _0x3f9dae=this['_process'](!0x0);return _0x3f9dae;},'blockSize':0x1});var _0x5f35e5=_0x16e9ae[_0x51cb57(0x231)]={},_0x5cf44c=_0x326008['BlockCipherMode']=_0x373344[_0x51cb57(0x4a2)]({'createEncryptor':function(_0x20e2d3,_0x115b3d){var _0x1cfcde=_0x51cb57;return this[_0x1cfcde(0x407)][_0x1cfcde(0x4b2)](_0x20e2d3,_0x115b3d);},'createDecryptor':function(_0x2abcbf,_0xd461a){var _0x37f5a2=_0x51cb57;return this[_0x37f5a2(0x1e7)]['create'](_0x2abcbf,_0xd461a);},'init':function(_0x5b7bd7,_0x45d5ee){var _0x578943=_0x51cb57;this[_0x578943(0x442)]=_0x5b7bd7,this['_iv']=_0x45d5ee;}}),_0x3132f5=_0x5f35e5[_0x51cb57(0x23c)]=(function(){var _0x9b8ea9=_0x51cb57,_0x589506=_0x5cf44c[_0x9b8ea9(0x4a2)]();_0x589506['Encryptor']=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x4ba117,_0x5e40ac){var _0x290461=_0x9b8ea9,_0x1fcbf2=this[_0x290461(0x442)],_0x798908=_0x1fcbf2[_0x290461(0x2f8)];_0x3c574f[_0x290461(0x3f9)](this,_0x4ba117,_0x5e40ac,_0x798908),_0x1fcbf2[_0x290461(0x3b6)](_0x4ba117,_0x5e40ac),this['_prevBlock']=_0x4ba117[_0x290461(0x386)](_0x5e40ac,_0x5e40ac+_0x798908);}}),_0x589506[_0x9b8ea9(0x1e7)]=_0x589506[_0x9b8ea9(0x4a2)]({'processBlock':function(_0x38ffa6,_0x1ebbba){var _0x557341=_0x9b8ea9,_0xc10e97=this[_0x557341(0x442)],_0x18aec9=_0xc10e97[_0x557341(0x2f8)],_0x560f95=_0x38ffa6['slice'](_0x1ebbba,_0x1ebbba+_0x18aec9);_0xc10e97['decryptBlock'](_0x38ffa6,_0x1ebbba),_0x3c574f[_0x557341(0x3f9)](this,_0x38ffa6,_0x1ebbba,_0x18aec9),this[_0x557341(0x3ff)]=_0x560f95;}});function _0x3c574f(_0x133bb2,_0xa85c23,_0x335eec){var _0x9e6019=_0x9b8ea9,_0x1067e9,_0x53e5b6=this[_0x9e6019(0x25f)];_0x53e5b6?(_0x1067e9=_0x53e5b6,this['_iv']=_0x31a63e):_0x1067e9=this[_0x9e6019(0x3ff)];for(var _0x31840c=0x0;_0x31840c<_0x335eec;_0x31840c++)_0x133bb2[_0xa85c23+_0x31840c]^=_0x1067e9[_0x31840c];}return _0x589506;}()),_0x3a9cfe=_0x16e9ae[_0x51cb57(0x30e)]={},_0x309845=_0x3a9cfe[_0x51cb57(0x46c)]={'pad':function(_0x525e74,_0x5eb755){var _0x59fe3b=_0x51cb57;for(var _0x4c38f1=_0x5eb755*0x4,_0x58db63=_0x4c38f1-_0x525e74[_0x59fe3b(0x2e2)]%_0x4c38f1,_0x2cbad8=_0x58db63<<0x18|_0x58db63<<0x10|_0x58db63<<0x8|_0x58db63,_0x57975b=[],_0x1d109d=0x0;_0x1d109d<_0x58db63;_0x1d109d+=0x4)_0x57975b['push'](_0x2cbad8);var _0x388d83=_0xb28977[_0x59fe3b(0x4b2)](_0x57975b,_0x58db63);_0x525e74['concat'](_0x388d83);},'unpad':function(_0x5b28bc){var _0x1700f9=_0x51cb57,_0x11331d=_0x5b28bc[_0x1700f9(0x487)][_0x5b28bc[_0x1700f9(0x2e2)]-0x1>>>0x2]&0xff;_0x5b28bc['sigBytes']-=_0x11331d;}};_0x326008[_0x51cb57(0x4cf)]=_0x464d55[_0x51cb57(0x4a2)]({'cfg':_0x464d55[_0x51cb57(0x390)][_0x51cb57(0x4a2)]({'mode':_0x3132f5,'padding':_0x309845}),'reset':function(){var _0x37ec00=_0x51cb57,_0x5b2e6a;_0x464d55[_0x37ec00(0x22d)][_0x37ec00(0x3f9)](this);var _0x53c01e=this[_0x37ec00(0x390)],_0x3e865=_0x53c01e['iv'],_0x3471ed=_0x53c01e['mode'];this[_0x37ec00(0x27c)]==this[_0x37ec00(0x436)]?_0x5b2e6a=_0x3471ed['createEncryptor']:(_0x5b2e6a=_0x3471ed[_0x37ec00(0x24f)],this[_0x37ec00(0x465)]=0x1),this[_0x37ec00(0x2db)]&&this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]==_0x5b2e6a?this[_0x37ec00(0x2db)][_0x37ec00(0x3fc)](this,_0x3e865&&_0x3e865['words']):(this['_mode']=_0x5b2e6a[_0x37ec00(0x3f9)](_0x3471ed,this,_0x3e865&&_0x3e865[_0x37ec00(0x487)]),this[_0x37ec00(0x2db)][_0x37ec00(0x48b)]=_0x5b2e6a);},'_doProcessBlock':function(_0x464df1,_0x3dd517){var _0x3c3f64=_0x51cb57;this['_mode'][_0x3c3f64(0x1e5)](_0x464df1,_0x3dd517);},'_doFinalize':function(){var _0x420153=_0x51cb57,_0x309f12,_0x5b3057=this['cfg'][_0x420153(0x2fe)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x5b3057[_0x420153(0x30e)](this['_data'],this[_0x420153(0x2f8)]),_0x309f12=this[_0x420153(0x40d)](!0x0)):(_0x309f12=this[_0x420153(0x40d)](!0x0),_0x5b3057['unpad'](_0x309f12)),_0x309f12;},'blockSize':0x80/0x20});var _0x4d7a47=_0x326008['CipherParams']=_0x373344[_0x51cb57(0x4a2)]({'init':function(_0x33dd4e){var _0x5bd1af=_0x51cb57;this[_0x5bd1af(0x445)](_0x33dd4e);},'toString':function(_0x542f61){var _0x5b2888=_0x51cb57;return(_0x542f61||this[_0x5b2888(0x4c6)])[_0x5b2888(0x44b)](this);}}),_0x161034=_0x16e9ae[_0x51cb57(0x2ac)]={},_0x53224e=_0x161034[_0x51cb57(0x210)]={'stringify':function(_0x591d5f){var _0x18c64e=_0x51cb57,_0x194454,_0x491c85=_0x591d5f[_0x18c64e(0x2da)],_0x450f91=_0x591d5f[_0x18c64e(0x374)];return _0x450f91?_0x194454=_0xb28977[_0x18c64e(0x4b2)]([0x53616c74,0x65645f5f])[_0x18c64e(0x21d)](_0x450f91)[_0x18c64e(0x21d)](_0x491c85):_0x194454=_0x491c85,_0x194454['toString'](_0x12b014);},'parse':function(_0x5c1b6e){var _0x48532f=_0x51cb57,_0x1dff3f,_0x343c7b=_0x12b014['parse'](_0x5c1b6e),_0x1ae3fc=_0x343c7b[_0x48532f(0x487)];return _0x1ae3fc[0x0]==0x53616c74&&_0x1ae3fc[0x1]==0x65645f5f&&(_0x1dff3f=_0xb28977[_0x48532f(0x4b2)](_0x1ae3fc[_0x48532f(0x386)](0x2,0x4)),_0x1ae3fc[_0x48532f(0x3ca)](0x0,0x4),_0x343c7b[_0x48532f(0x2e2)]-=0x10),_0x4d7a47[_0x48532f(0x4b2)]({'ciphertext':_0x343c7b,'salt':_0x1dff3f});}},_0xc3566=_0x326008[_0x51cb57(0x281)]=_0x373344[_0x51cb57(0x4a2)]({'cfg':_0x373344[_0x51cb57(0x4a2)]({'format':_0x53224e}),'encrypt':function(_0x2d9782,_0x43d528,_0x257191,_0x4fac91){var _0x556c7d=_0x51cb57;_0x4fac91=this['cfg']['extend'](_0x4fac91);var _0x1db048=_0x2d9782[_0x556c7d(0x494)](_0x257191,_0x4fac91),_0x39e041=_0x1db048['finalize'](_0x43d528),_0x5b73fe=_0x1db048['cfg'];return _0x4d7a47[_0x556c7d(0x4b2)]({'ciphertext':_0x39e041,'key':_0x257191,'iv':_0x5b73fe['iv'],'algorithm':_0x2d9782,'mode':_0x5b73fe[_0x556c7d(0x231)],'padding':_0x5b73fe[_0x556c7d(0x2fe)],'blockSize':_0x2d9782[_0x556c7d(0x2f8)],'formatter':_0x4fac91[_0x556c7d(0x2ac)]});},'decrypt':function(_0x738985,_0x5cb78f,_0x13292f,_0x48145f){var _0x4b1dac=_0x51cb57;_0x48145f=this['cfg']['extend'](_0x48145f),_0x5cb78f=this[_0x4b1dac(0x3b8)](_0x5cb78f,_0x48145f[_0x4b1dac(0x2ac)]);var _0x229c66=_0x738985[_0x4b1dac(0x24f)](_0x13292f,_0x48145f)['finalize'](_0x5cb78f[_0x4b1dac(0x2da)]);return _0x229c66;},'_parse':function(_0x21e7af,_0x63b7c1){var _0x2f6a5f=_0x51cb57;return typeof _0x21e7af==_0x2f6a5f(0x427)?_0x63b7c1[_0x2f6a5f(0x3df)](_0x21e7af,this):_0x21e7af;}}),_0xc66a16=_0x16e9ae[_0x51cb57(0x3a1)]={},_0x436371=_0xc66a16[_0x51cb57(0x210)]={'execute':function(_0x5df856,_0x105185,_0x527a59,_0x2454c5,_0x5c454c){var _0x447e31=_0x51cb57;if(_0x2454c5||(_0x2454c5=_0xb28977[_0x447e31(0x1d7)](0x40/0x8)),_0x5c454c)var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59,'hasher':_0x5c454c})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);else var _0x5c6923=_0x54ada5[_0x447e31(0x4b2)]({'keySize':_0x105185+_0x527a59})[_0x447e31(0x3f8)](_0x5df856,_0x2454c5);var _0x1f9f52=_0xb28977[_0x447e31(0x4b2)](_0x5c6923[_0x447e31(0x487)][_0x447e31(0x386)](_0x105185),_0x527a59*0x4);return _0x5c6923[_0x447e31(0x2e2)]=_0x105185*0x4,_0x4d7a47[_0x447e31(0x4b2)]({'key':_0x5c6923,'iv':_0x1f9f52,'salt':_0x2454c5});}},_0x1515d5=_0x326008[_0x51cb57(0x271)]=_0xc3566['extend']({'cfg':_0xc3566[_0x51cb57(0x390)]['extend']({'kdf':_0x436371}),'encrypt':function(_0x201787,_0x582cc5,_0x1cfe1c,_0x5532b8){var _0x2d1751=_0x51cb57;_0x5532b8=this[_0x2d1751(0x390)][_0x2d1751(0x4a2)](_0x5532b8);var _0xda7c66=_0x5532b8['kdf'][_0x2d1751(0x4b8)](_0x1cfe1c,_0x201787[_0x2d1751(0x3d6)],_0x201787['ivSize'],_0x5532b8[_0x2d1751(0x374)],_0x5532b8[_0x2d1751(0x447)]);_0x5532b8['iv']=_0xda7c66['iv'];var _0x57812c=_0xc3566[_0x2d1751(0x4bf)][_0x2d1751(0x3f9)](this,_0x201787,_0x582cc5,_0xda7c66[_0x2d1751(0x228)],_0x5532b8);return _0x57812c[_0x2d1751(0x445)](_0xda7c66),_0x57812c;},'decrypt':function(_0x5ac895,_0xb8aa54,_0x4aba26,_0x3a9fa0){var _0x39af83=_0x51cb57;_0x3a9fa0=this[_0x39af83(0x390)][_0x39af83(0x4a2)](_0x3a9fa0),_0xb8aa54=this['_parse'](_0xb8aa54,_0x3a9fa0['format']);var _0x1fad98=_0x3a9fa0[_0x39af83(0x3a1)][_0x39af83(0x4b8)](_0x4aba26,_0x5ac895[_0x39af83(0x3d6)],_0x5ac895[_0x39af83(0x395)],_0xb8aa54[_0x39af83(0x374)],_0x3a9fa0[_0x39af83(0x447)]);_0x3a9fa0['iv']=_0x1fad98['iv'];var _0xf3cb24=_0xc3566[_0x39af83(0x282)][_0x39af83(0x3f9)](this,_0x5ac895,_0xb8aa54,_0x1fad98[_0x39af83(0x228)],_0x3a9fa0);return _0xf3cb24;}});}();}));}(Je)),Je['exports'];}var Vr=Ve['exports'],si;function Gr(){var _0x2f0b11=_0x1af128;return si||(si=0x1,function(_0x25c05f,_0x1d2d41){(function(_0x94b03b,_0x295442,_0x2b64e1){var _0x539f79=_0x596d;_0x25c05f[_0x539f79(0x1d6)]=_0x295442(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x2a56a9){var _0x3f25a8=_0x596d;return(function(){var _0x4464ff=_0x596d,_0x57b550=_0x2a56a9,_0x485bf7=_0x57b550[_0x4464ff(0x38e)],_0x1eb7f9=_0x485bf7[_0x4464ff(0x4cf)],_0x10fd66=_0x57b550[_0x4464ff(0x2af)],_0x3aa8d1=[],_0x428322=[],_0x31e510=[],_0x4789d9=[],_0xab9e49=[],_0x4ece89=[],_0x494800=[],_0x58160c=[],_0x70708e=[],_0x4086b9=[];(function(){for(var _0x46b858=[],_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++)_0x37bac9<0x80?_0x46b858[_0x37bac9]=_0x37bac9<<0x1:_0x46b858[_0x37bac9]=_0x37bac9<<0x1^0x11b;for(var _0x1f3b7a=0x0,_0x6bd485=0x0,_0x37bac9=0x0;_0x37bac9<0x100;_0x37bac9++){var _0x158af6=_0x6bd485^_0x6bd485<<0x1^_0x6bd485<<0x2^_0x6bd485<<0x3^_0x6bd485<<0x4;_0x158af6=_0x158af6>>>0x8^_0x158af6&0xff^0x63,_0x3aa8d1[_0x1f3b7a]=_0x158af6,_0x428322[_0x158af6]=_0x1f3b7a;var _0x4350df=_0x46b858[_0x1f3b7a],_0x293bd4=_0x46b858[_0x4350df],_0x499b8e=_0x46b858[_0x293bd4],_0x2402c3=_0x46b858[_0x158af6]*0x101^_0x158af6*0x1010100;_0x31e510[_0x1f3b7a]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x4789d9[_0x1f3b7a]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0xab9e49[_0x1f3b7a]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4ece89[_0x1f3b7a]=_0x2402c3;var _0x2402c3=_0x499b8e*0x1010101^_0x293bd4*0x10001^_0x4350df*0x101^_0x1f3b7a*0x1010100;_0x494800[_0x158af6]=_0x2402c3<<0x18|_0x2402c3>>>0x8,_0x58160c[_0x158af6]=_0x2402c3<<0x10|_0x2402c3>>>0x10,_0x70708e[_0x158af6]=_0x2402c3<<0x8|_0x2402c3>>>0x18,_0x4086b9[_0x158af6]=_0x2402c3,_0x1f3b7a?(_0x1f3b7a=_0x4350df^_0x46b858[_0x46b858[_0x46b858[_0x499b8e^_0x4350df]]],_0x6bd485^=_0x46b858[_0x46b858[_0x6bd485]]):_0x1f3b7a=_0x6bd485=0x1;}}());var _0x565348=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1bfa21=_0x10fd66[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x4a2)]({'_doReset':function(){var _0x2161ba=_0x4464ff,_0x238a97;if(!(this[_0x2161ba(0x29b)]&&this[_0x2161ba(0x218)]===this['_key'])){for(var _0x3fb93c=this[_0x2161ba(0x218)]=this[_0x2161ba(0x318)],_0x3b77ce=_0x3fb93c[_0x2161ba(0x487)],_0xd10272=_0x3fb93c[_0x2161ba(0x2e2)]/0x4,_0x8f5c03=this['_nRounds']=_0xd10272+0x6,_0x297126=(_0x8f5c03+0x1)*0x4,_0x552856=this[_0x2161ba(0x1fd)]=[],_0xb5e507=0x0;_0xb5e507<_0x297126;_0xb5e507++)_0xb5e507<_0xd10272?_0x552856[_0xb5e507]=_0x3b77ce[_0xb5e507]:(_0x238a97=_0x552856[_0xb5e507-0x1],_0xb5e507%_0xd10272?_0xd10272>0x6&&_0xb5e507%_0xd10272==0x4&&(_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff]):(_0x238a97=_0x238a97<<0x8|_0x238a97>>>0x18,_0x238a97=_0x3aa8d1[_0x238a97>>>0x18]<<0x18|_0x3aa8d1[_0x238a97>>>0x10&0xff]<<0x10|_0x3aa8d1[_0x238a97>>>0x8&0xff]<<0x8|_0x3aa8d1[_0x238a97&0xff],_0x238a97^=_0x565348[_0xb5e507/_0xd10272|0x0]<<0x18),_0x552856[_0xb5e507]=_0x552856[_0xb5e507-_0xd10272]^_0x238a97);for(var _0x257f66=this[_0x2161ba(0x3cb)]=[],_0x36808a=0x0;_0x36808a<_0x297126;_0x36808a++){var _0xb5e507=_0x297126-_0x36808a;if(_0x36808a%0x4)var _0x238a97=_0x552856[_0xb5e507];else var _0x238a97=_0x552856[_0xb5e507-0x4];_0x36808a<0x4||_0xb5e507<=0x4?_0x257f66[_0x36808a]=_0x238a97:_0x257f66[_0x36808a]=_0x494800[_0x3aa8d1[_0x238a97>>>0x18]]^_0x58160c[_0x3aa8d1[_0x238a97>>>0x10&0xff]]^_0x70708e[_0x3aa8d1[_0x238a97>>>0x8&0xff]]^_0x4086b9[_0x3aa8d1[_0x238a97&0xff]];}}},'encryptBlock':function(_0x278757,_0x2e404e){var _0x4956ae=_0x4464ff;this[_0x4956ae(0x3d1)](_0x278757,_0x2e404e,this[_0x4956ae(0x1fd)],_0x31e510,_0x4789d9,_0xab9e49,_0x4ece89,_0x3aa8d1);},'decryptBlock':function(_0x58c416,_0xf5ac01){var _0x32e201=_0x4464ff,_0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a,this[_0x32e201(0x3d1)](_0x58c416,_0xf5ac01,this[_0x32e201(0x3cb)],_0x494800,_0x58160c,_0x70708e,_0x4086b9,_0x428322);var _0x18c02a=_0x58c416[_0xf5ac01+0x1];_0x58c416[_0xf5ac01+0x1]=_0x58c416[_0xf5ac01+0x3],_0x58c416[_0xf5ac01+0x3]=_0x18c02a;},'_doCryptBlock':function(_0x3902ea,_0xb26c83,_0x3581b8,_0x4189f6,_0x4d3bfa,_0x2d1ec8,_0x18964b,_0x3aaac1){var _0x50ed45=_0x4464ff;for(var _0x74f255=this[_0x50ed45(0x29b)],_0x273bfc=_0x3902ea[_0xb26c83]^_0x3581b8[0x0],_0x122c02=_0x3902ea[_0xb26c83+0x1]^_0x3581b8[0x1],_0x4e4962=_0x3902ea[_0xb26c83+0x2]^_0x3581b8[0x2],_0x282d68=_0x3902ea[_0xb26c83+0x3]^_0x3581b8[0x3],_0x413cbd=0x4,_0x56b309=0x1;_0x56b309<_0x74f255;_0x56b309++){var _0x440d4c=_0x4189f6[_0x273bfc>>>0x18]^_0x4d3bfa[_0x122c02>>>0x10&0xff]^_0x2d1ec8[_0x4e4962>>>0x8&0xff]^_0x18964b[_0x282d68&0xff]^_0x3581b8[_0x413cbd++],_0x29c2dd=_0x4189f6[_0x122c02>>>0x18]^_0x4d3bfa[_0x4e4962>>>0x10&0xff]^_0x2d1ec8[_0x282d68>>>0x8&0xff]^_0x18964b[_0x273bfc&0xff]^_0x3581b8[_0x413cbd++],_0x3fccd6=_0x4189f6[_0x4e4962>>>0x18]^_0x4d3bfa[_0x282d68>>>0x10&0xff]^_0x2d1ec8[_0x273bfc>>>0x8&0xff]^_0x18964b[_0x122c02&0xff]^_0x3581b8[_0x413cbd++],_0x406ee3=_0x4189f6[_0x282d68>>>0x18]^_0x4d3bfa[_0x273bfc>>>0x10&0xff]^_0x2d1ec8[_0x122c02>>>0x8&0xff]^_0x18964b[_0x4e4962&0xff]^_0x3581b8[_0x413cbd++];_0x273bfc=_0x440d4c,_0x122c02=_0x29c2dd,_0x4e4962=_0x3fccd6,_0x282d68=_0x406ee3;}var _0x440d4c=(_0x3aaac1[_0x273bfc>>>0x18]<<0x18|_0x3aaac1[_0x122c02>>>0x10&0xff]<<0x10|_0x3aaac1[_0x4e4962>>>0x8&0xff]<<0x8|_0x3aaac1[_0x282d68&0xff])^_0x3581b8[_0x413cbd++],_0x29c2dd=(_0x3aaac1[_0x122c02>>>0x18]<<0x18|_0x3aaac1[_0x4e4962>>>0x10&0xff]<<0x10|_0x3aaac1[_0x282d68>>>0x8&0xff]<<0x8|_0x3aaac1[_0x273bfc&0xff])^_0x3581b8[_0x413cbd++],_0x3fccd6=(_0x3aaac1[_0x4e4962>>>0x18]<<0x18|_0x3aaac1[_0x282d68>>>0x10&0xff]<<0x10|_0x3aaac1[_0x273bfc>>>0x8&0xff]<<0x8|_0x3aaac1[_0x122c02&0xff])^_0x3581b8[_0x413cbd++],_0x406ee3=(_0x3aaac1[_0x282d68>>>0x18]<<0x18|_0x3aaac1[_0x273bfc>>>0x10&0xff]<<0x10|_0x3aaac1[_0x122c02>>>0x8&0xff]<<0x8|_0x3aaac1[_0x4e4962&0xff])^_0x3581b8[_0x413cbd++];_0x3902ea[_0xb26c83]=_0x440d4c,_0x3902ea[_0xb26c83+0x1]=_0x29c2dd,_0x3902ea[_0xb26c83+0x2]=_0x3fccd6,_0x3902ea[_0xb26c83+0x3]=_0x406ee3;},'keySize':0x100/0x20});_0x57b550[_0x4464ff(0x266)]=_0x1eb7f9[_0x4464ff(0x1f7)](_0x1bfa21);}()),_0x2a56a9[_0x3f25a8(0x266)];}));}(Ve)),Ve[_0x2f0b11(0x1d6)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x1af128(0x1d6)],ai;function zr(){var _0x12d48b=_0x1af128;return ai||(ai=0x1,function(_0x184f42,_0x19f4b5){(function(_0x45c6a3,_0x2e0fb0){_0x184f42['exports']=_0x2e0fb0(ne());}(qr,function(_0x545400){var _0x4bb2e5=_0x596d;return _0x545400['enc'][_0x4bb2e5(0x403)];}));}(Xe)),Xe[_0x12d48b(0x1d6)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze['exports'],ci;function Qr(){return ci||(ci=0x1,function(_0x4731c7,_0x2249b1){(function(_0x5a80b5,_0x4b1cd3){_0x4731c7['exports']=_0x4b1cd3(ne());}(Zr,function(_0x15361a){var _0x525bad=_0x596d;return(function(){var _0x7d14c7=_0x596d;if(typeof ArrayBuffer==_0x7d14c7(0x3d7)){var _0x2ffcce=_0x15361a,_0x5ab6d1=_0x2ffcce[_0x7d14c7(0x38e)],_0x40be38=_0x5ab6d1[_0x7d14c7(0x301)],_0x373e5=_0x40be38[_0x7d14c7(0x3fc)],_0x5024d1=_0x40be38['init']=function(_0x533d82){var _0x590cca=_0x7d14c7;if(_0x533d82 instanceof ArrayBuffer&&(_0x533d82=new Uint8Array(_0x533d82)),(_0x533d82 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x533d82 instanceof Uint8ClampedArray||_0x533d82 instanceof Int16Array||_0x533d82 instanceof Uint16Array||_0x533d82 instanceof Int32Array||_0x533d82 instanceof Uint32Array||_0x533d82 instanceof Float32Array||_0x533d82 instanceof Float64Array)&&(_0x533d82=new Uint8Array(_0x533d82[_0x590cca(0x305)],_0x533d82[_0x590cca(0x324)],_0x533d82[_0x590cca(0x208)])),_0x533d82 instanceof Uint8Array){for(var _0x10ec51=_0x533d82[_0x590cca(0x208)],_0xb65d30=[],_0x3d7955=0x0;_0x3d7955<_0x10ec51;_0x3d7955++)_0xb65d30[_0x3d7955>>>0x2]|=_0x533d82[_0x3d7955]<<0x18-_0x3d7955%0x4*0x8;_0x373e5[_0x590cca(0x3f9)](this,_0xb65d30,_0x10ec51);}else _0x373e5[_0x590cca(0x498)](this,arguments);};_0x5024d1[_0x7d14c7(0x2eb)]=_0x40be38;}}()),_0x15361a[_0x525bad(0x38e)]['WordArray'];}));}(Ze)),Ze['exports'];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe['exports'],hi;function ns(){var _0x4e5d0d=_0x1af128;return hi||(hi=0x1,function(_0x19013d,_0x51217f){(function(_0x49d24d,_0x3b2ae5,_0x447261){_0x19013d['exports']=_0x3b2ae5(ne(),Ai());}(is,function(_0x3beaef){var _0x5e8822=_0x596d;return _0x3beaef[_0x5e8822(0x30e)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x3beaef[_0x5e8822(0x30e)][_0x5e8822(0x459)];}));}(Qe)),Qe[_0x4e5d0d(0x1d6)];}var rs=ns();const ss=ke(rs);function os(_0xa3abb6,_0x570662){var _0x50be5c=_0x1af128;const _0x39f22b=_0x570662-_0xa3abb6[_0x50be5c(0x431)]%_0x570662,_0x154e7f=String['fromCharCode'](_0x39f22b)[_0x50be5c(0x1f9)](_0x39f22b);return _0xa3abb6+_0x154e7f;}function as(_0x180a5c,_0x1477cd){var _0x191588=_0x1af128;const _0x4a0ee1=ts[_0x191588(0x1d7)](0x10),_0xab0d18=os(_0x180a5c,0x10),_0x49135e=Kr[_0x191588(0x4bf)](Xr[_0x191588(0x3df)](_0xab0d18),oi[_0x191588(0x3df)](_0x1477cd),{'iv':_0x4a0ee1,'padding':ss});return _0x4a0ee1[_0x191588(0x21d)](_0x49135e['ciphertext'])[_0x191588(0x4d5)](oi);}function cs(){var _0x2ff212=_0x1af128;const _0x2f42d6=_0x58e8fb()[_0x2ff212(0x3c3)];if(_0x2f42d6){const _0x73968e={'time':Math[_0x2ff212(0x3ab)](Date[_0x2ff212(0x428)]()/0x3e8),'domain':location[_0x2ff212(0x460)]};return as(JSON[_0x2ff212(0x44b)](_0x73968e),_0x2f42d6);}}var hs=Object[_0x1af128(0x4ba)],_s=Object[_0x1af128(0x3d3)],ls=(_0x16fe88,_0x3be521,_0x11ac81,_0x4007cf)=>{var _0x1eba68=_0x1af128;for(var _0x1ec684=_0x4007cf>0x1?void 0x0:_0x4007cf?_s(_0x3be521,_0x11ac81):_0x3be521,_0x282f2e=_0x16fe88[_0x1eba68(0x431)]-0x1,_0x2c102b;_0x282f2e>=0x0;_0x282f2e--)(_0x2c102b=_0x16fe88[_0x282f2e])&&(_0x1ec684=(_0x4007cf?_0x2c102b(_0x3be521,_0x11ac81,_0x1ec684):_0x2c102b(_0x1ec684))||_0x1ec684);return _0x4007cf&&_0x1ec684&&hs(_0x3be521,_0x11ac81,_0x1ec684),_0x1ec684;},us=(_0x2f3445,_0xd90760)=>(_0xc60259,_0xe62e0)=>_0xd90760(_0xc60259,_0xe62e0,_0x2f3445);let ot=class{constructor(_0x59de6d){var _0x237ba5=_0x1af128;this[_0x237ba5(0x1ea)]=_0x59de6d,this[_0x237ba5(0x3eb)]();}[_0x1af128(0x3eb)](){var _0x26a727=_0x1af128;this[_0x26a727(0x1ea)][_0x26a727(0x340)]({'interceptor':(_0x320188,_0x1fb191)=>{var _0x2d38e7=_0x26a727;const _0x34d9ad=_0x320188[_0x2d38e7(0x484)],_0x480465=cs();return _0x480465&&_0x34d9ad['set'](_0x2d38e7(0x2cf),_0x480465),_0x1fb191(_0x320188);}});}};ot=ls([us(0x0,_0x50b881(_0x51273b))],ot);var ds=Object[_0x1af128(0x4ba)],fs=Object[_0x1af128(0x3d3)],vs=(_0x5cdc98,_0x32b083,_0x2e0045,_0x398b61)=>{var _0x31c27e=_0x1af128;for(var _0x2a56c5=_0x398b61>0x1?void 0x0:_0x398b61?fs(_0x32b083,_0x2e0045):_0x32b083,_0x1fc541=_0x5cdc98[_0x31c27e(0x431)]-0x1,_0x3900be;_0x1fc541>=0x0;_0x1fc541--)(_0x3900be=_0x5cdc98[_0x1fc541])&&(_0x2a56c5=(_0x398b61?_0x3900be(_0x32b083,_0x2e0045,_0x2a56c5):_0x3900be(_0x2a56c5))||_0x2a56c5);return _0x398b61&&_0x2a56c5&&ds(_0x32b083,_0x2e0045,_0x2a56c5),_0x2a56c5;},mt=(_0x1d47bd,_0x411bf4)=>(_0x18f695,_0x1a1957)=>_0x411bf4(_0x18f695,_0x1a1957,_0x1d47bd);let Ot=class extends _0x4273f8{constructor(_0x497869,_0x3ea252,_0x5c28f8){var _0xb9a738=_0x1af128;super(),N(this,_0xb9a738(0x34b),new _0x230061(null)),N(this,_0xb9a738(0x2fa),this['_unitInfo$'][_0xb9a738(0x2c7)]()),(this[_0xb9a738(0x485)]=_0x497869,this[_0xb9a738(0x35d)]=_0x3ea252,this[_0xb9a738(0x1e8)]=_0x5c28f8);}async[_0x1af128(0x389)](_0x2f2556,_0x5e6f2b,_0x59f933){var _0x43d648=_0x1af128;this['_unitInfo$'][_0x43d648(0x2cb)]({'unitId':_0x2f2556,'type':_0x5e6f2b,'subUnitId':_0x59f933});let _0x18aaf4=null;switch(_0x5e6f2b){case Q[_0x43d648(0x3c7)]:{_0x18aaf4=await this[_0x43d648(0x3ee)](_0x2f2556);break;}case Q[_0x43d648(0x43b)]:{_0x18aaf4=await this[_0x43d648(0x2a6)](_0x2f2556);break;}default:{this[_0x43d648(0x485)]['error'](_0x43d648(0x230),_0x43d648(0x273));break;}}return _0x18aaf4;}async[_0x1af128(0x3ee)](_0x5b162e){var _0x1270a5=_0x1af128,_0x467ebf;let _0xb6b1cb=0x0;const _0x5e2cd1=await((_0x467ebf=this[_0x1270a5(0x1e8)])==null?void 0x0:_0x467ebf[_0x1270a5(0x4ac)](_0x5b162e));return _0x5e2cd1&&(_0x5e2cd1[_0x1270a5(0x387)]||_0x5e2cd1[_0x1270a5(0x4a4)][_0x1270a5(0x431)]!==0x0)&&(_0xb6b1cb=_0x5e2cd1[_0x1270a5(0x2fd)]),_0xb6b1cb===0x0&&this['_logService']['debug']('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x1270a5(0x35d)][_0x1270a5(0x23f)](_0x5b162e,_0xb6b1cb);}async[_0x1af128(0x2a6)](_0x2d36d8){var _0x4ce69e=_0x1af128,_0x8af2a4;let _0x1e2209=0x0;const _0x14084e=await((_0x8af2a4=this['_localCacheService'])==null?void 0x0:_0x8af2a4['loadOfflineData'](_0x2d36d8));return _0x14084e&&(_0x14084e[_0x4ce69e(0x387)]||_0x14084e[_0x4ce69e(0x4a4)]['length']!==0x0)&&(_0x1e2209=_0x14084e[_0x4ce69e(0x2fd)]),_0x1e2209===0x0&&this['_logService'][_0x4ce69e(0x247)]('[DataLoaderService]',_0x4ce69e(0x3c6)),this[_0x4ce69e(0x35d)]['loadDoc'](_0x2d36d8,_0x1e2209);}};Ot=vs([mt(0x0,_0x334ed4),mt(0x1,_0x50b881(_0x2ec050)),mt(0x2,_0x325bd4(J))],Ot);var ps=Object[_0x1af128(0x4ba)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x352167,_0x27679b,_0x4a34fe,_0x221867)=>{var _0x46a0d4=_0x1af128;for(var _0x41d2c8=_0x221867>0x1?void 0x0:_0x221867?ms(_0x27679b,_0x4a34fe):_0x27679b,_0x18fdb=_0x352167[_0x46a0d4(0x431)]-0x1,_0x23ce09;_0x18fdb>=0x0;_0x18fdb--)(_0x23ce09=_0x352167[_0x18fdb])&&(_0x41d2c8=(_0x221867?_0x23ce09(_0x27679b,_0x4a34fe,_0x41d2c8):_0x23ce09(_0x41d2c8))||_0x41d2c8);return _0x221867&&_0x41d2c8&&ps(_0x27679b,_0x4a34fe,_0x41d2c8),_0x41d2c8;},gt=(_0x2b3ab6,_0x19795f)=>(_0x7a77b7,_0x259f68)=>_0x19795f(_0x7a77b7,_0x259f68,_0x2b3ab6);const Ss=[_0x1af128(0x440),_0x1af128(0x20f),_0x1af128(0x478),'image/gif',_0x1af128(0x472)],Es=0x5*0x400*0x400,Is=_0x1af128(0x239),Ts='/universer-api/stream/file/upload',Cs=_0x1af128(0x1f0),Rs=_0x1af128(0x2d9);let yt=class{constructor(_0x18c0ed,_0x7dc939,_0x53adfc){var _0x4c2bf3=_0x1af128;N(this,_0x4c2bf3(0x1f4),0x0),N(this,_0x4c2bf3(0x3ce),new _0x10c59f()),N(this,_0x4c2bf3(0x32d),this[_0x4c2bf3(0x3ce)]),N(this,_0x4c2bf3(0x2f1),new Map()),(this[_0x4c2bf3(0x1ea)]=_0x18c0ed,this['_configService']=_0x7dc939,this[_0x4c2bf3(0x332)]=_0x53adfc);}['setWaitCount'](_0x46e72a){var _0x5eca65=_0x1af128;this[_0x5eca65(0x1f4)]=_0x46e72a,this['_change$'][_0x5eca65(0x2cb)](_0x46e72a);}[_0x1af128(0x31e)](_0x287795,_0x7ab224){var _0x41cad7=_0x1af128;if(_0x7ab224===_0x544571[_0x41cad7(0x31a)]){const _0x12cb5a=new Image();return _0x12cb5a[_0x41cad7(0x257)]=_0x287795,_0x12cb5a;}return this[_0x41cad7(0x2f1)][_0x41cad7(0x416)](_0x287795);}[_0x1af128(0x4b6)](_0x413dcc,_0x1ab857,_0x2903f7){var _0x368fad=_0x1af128;_0x1ab857===_0x544571[_0x368fad(0x31a)]||_0x2903f7==null||this[_0x368fad(0x2f1)][_0x368fad(0x255)](_0x413dcc,_0x2903f7);}async[_0x1af128(0x1da)](_0x3a4986){var _0x48677f=_0x1af128;try{const _0x541f90=this[_0x48677f(0x3c5)](this['_getSignURL'](),''+_0x3a4986),_0x21dd58=(await this[_0x48677f(0x1ea)]['get'](_0x541f90))[_0x48677f(0x425)];if(_0x21dd58[_0x48677f(0x479)]&&_0x21dd58[_0x48677f(0x479)][_0x48677f(0x2c3)]===Ii['OK']){const _0x18f781=new URL(_0x21dd58[_0x48677f(0x1f8)],this[_0x48677f(0x323)]())[_0x48677f(0x4d5)]();return Promise[_0x48677f(0x2c8)](_0x18f781);}return Promise[_0x48677f(0x392)](_0x21dd58[_0x48677f(0x479)]);}catch(_0x3f8bd1){return Promise[_0x48677f(0x392)](_0x3f8bd1);}}async[_0x1af128(0x1f2)](_0x7e309c){var _0x261c7a=_0x1af128;let _0x151dac='';if(!Ss[_0x261c7a(0x468)](_0x7e309c['type']))return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x42f)]));if(_0x7e309c[_0x261c7a(0x363)]>Es)return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09[_0x261c7a(0x1ef)]));try{const _0x38fb30=new FormData();_0x38fb30[_0x261c7a(0x38d)]('file',_0x7e309c);const _0x3d8984=this[_0x261c7a(0x332)][_0x261c7a(0x328)](),_0x381856=_0x3d8984==null?void 0x0:_0x3d8984[_0x261c7a(0x26b)]();if(!_0x381856)throw new Error(_0x261c7a(0x2b4));const _0x48bc63=this[_0x261c7a(0x381)]()+'?size='+_0x7e309c[_0x261c7a(0x363)][_0x261c7a(0x4d5)]()+_0x261c7a(0x452)+Ti['UnitEmbedded']+_0x261c7a(0x36a)+encodeURIComponent(_0x381856),_0x119eef=await(await fetch(_0x48bc63,{'method':_0x261c7a(0x234),'body':_0x38fb30}))[_0x261c7a(0x2c2)]();if(typeof _0x119eef[_0x261c7a(0x42d)]!='string')return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x509a09[_0x261c7a(0x39e)]));_0x151dac=_0x119eef[_0x261c7a(0x42d)];}catch{return this[_0x261c7a(0x4a1)](),Promise[_0x261c7a(0x392)](new Error(_0x509a09['ERROR_IMAGE']));}return new Promise((_0x43cf13,_0x3952b2)=>{var _0x5a607b=_0x261c7a;const _0x4f8de1=new FileReader();_0x4f8de1[_0x5a607b(0x49c)](_0x7e309c),_0x4f8de1['onload']=_0x38b6fc=>{var _0x2956c9=_0x5a607b,_0x3483a6;const _0x132b2b=(_0x3483a6=_0x38b6fc[_0x2956c9(0x296)])==null?void 0x0:_0x3483a6[_0x2956c9(0x371)];if(_0x132b2b==null){this[_0x2956c9(0x4a1)](),_0x3952b2(new Error(_0x509a09['ERROR_IMAGE']));return;}const _0x21395e=_0x15157c['generateRandomId'](0x6);_0x43cf13({'imageId':_0x21395e,'imageSourceType':_0x544571[_0x2956c9(0x461)],'source':_0x151dac,'base64Cache':_0x132b2b,'status':_0x509a09['SUCCUSS']}),this[_0x2956c9(0x4a1)]();};});}[_0x1af128(0x381)](){var _0x273d71=_0x1af128,_0x1e4577,_0x13f5f0;const _0x18db8d=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](Is),_0x2ec516=this[_0x273d71(0x4d1)][_0x273d71(0x49e)](q);return(_0x13f5f0=(_0x1e4577=_0x2ec516==null?void 0x0:_0x2ec516[_0x273d71(0x45c)])!=null?_0x1e4577:_0x18db8d)!=null?_0x13f5f0:Ts;}[_0x1af128(0x45a)](){var _0xa1a900=_0x1af128,_0x5a17e4,_0x362ad5;const _0x489d90=this['_configService'][_0xa1a900(0x49e)](Cs),_0x4608b0=this[_0xa1a900(0x4d1)][_0xa1a900(0x49e)](q);return(_0x362ad5=(_0x5a17e4=_0x4608b0==null?void 0x0:_0x4608b0[_0xa1a900(0x284)])!=null?_0x5a17e4:_0x489d90)!=null?_0x362ad5:Rs;}[_0x1af128(0x323)](){var _0x37bd30=_0x1af128,_0x444522;const _0x2cc327=this[_0x37bd30(0x4d1)][_0x37bd30(0x49e)](q);return(_0x444522=_0x2cc327==null?void 0x0:_0x2cc327[_0x37bd30(0x365)])!=null?_0x444522:location['origin'];}[_0x1af128(0x3c5)](_0x5c6068,_0xc7739e){return _0x5c6068['replace']('{fileID}',_0xc7739e);}[_0x1af128(0x4a1)](){var _0x432957=_0x1af128;this[_0x432957(0x1f4)]-=0x1,this[_0x432957(0x3ce)]['next'](this['_waitCount']);}};yt=gs([gt(0x0,_0x50b881(_0x51273b)),gt(0x1,_0xb3f6ba),gt(0x2,_0x50b881(_0x42b8e7))],yt);var bs=Object[_0x1af128(0x4ba)],Os=Object[_0x1af128(0x3d3)],ys=(_0x4cc287,_0x1faa31,_0xa7c8c6,_0x34efd5)=>{var _0x2502d2=_0x1af128;for(var _0x1bb667=_0x34efd5>0x1?void 0x0:_0x34efd5?Os(_0x1faa31,_0xa7c8c6):_0x1faa31,_0x1cd666=_0x4cc287[_0x2502d2(0x431)]-0x1,_0x2c9807;_0x1cd666>=0x0;_0x1cd666--)(_0x2c9807=_0x4cc287[_0x1cd666])&&(_0x1bb667=(_0x34efd5?_0x2c9807(_0x1faa31,_0xa7c8c6,_0x1bb667):_0x2c9807(_0x1bb667))||_0x1bb667);return _0x34efd5&&_0x1bb667&&bs(_0x1faa31,_0xa7c8c6,_0x1bb667),_0x1bb667;},_i=(_0x255dc4,_0x55d05a)=>(_0x325aa1,_0xeccec7)=>_0x55d05a(_0x325aa1,_0xeccec7,_0x255dc4);const Ns=_0x1af128(0x1e6);let Nt=class{constructor(_0x134059,_0x1045ff){this['_configService']=_0x134059,this['_HTTPService']=_0x1045ff;}[_0x1af128(0x30c)](){var _0x5e1d39=_0x1af128,_0x135a19,_0xb56eab;const _0x4f59af=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](Pi),_0x4cb291=this[_0x5e1d39(0x4d1)][_0x5e1d39(0x49e)](q);return(_0xb56eab=(_0x135a19=_0x4cb291==null?void 0x0:_0x4cb291[_0x5e1d39(0x347)])!=null?_0x135a19:_0x4f59af)!=null?_0xb56eab:Ns;}async[_0x1af128(0x290)](_0xccbcb5){var _0x234e8d=_0x1af128;const _0x98ba2b=this[_0x234e8d(0x30c)]()+'/collaborator';return{'list':[{'title':_0x234e8d(0x29d),'mentions':(await this[_0x234e8d(0x393)][_0x234e8d(0x416)](_0x98ba2b,{'params':{'objectID':_0xccbcb5[_0x234e8d(0x379)],'unitID':_0xccbcb5[_0x234e8d(0x379)]}}))[_0x234e8d(0x425)][_0x234e8d(0x41b)][_0x234e8d(0x453)](_0x46d9d5=>({'objectId':_0x46d9d5['id'],'name':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'metadata':{'icon':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x27d)]},'label':_0x46d9d5[_0x234e8d(0x4a7)][_0x234e8d(0x3fa)],'objectType':_0x4389d9[_0x234e8d(0x3a5)]})),'metadata':{},'type':_0x4389d9[_0x234e8d(0x3a5)]}]};}};Nt=ys([_i(0x0,_0x50b881(_0xb3f6ba)),_i(0x1,_0x50b881(_0x51273b))],Nt);var Ds=Object[_0x1af128(0x4ba)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x1eeb93,_0x54ff7c,_0x257c6a,_0x17f789)=>{var _0x285939=_0x1af128;for(var _0x543bab=_0x17f789>0x1?void 0x0:_0x17f789?Ps(_0x54ff7c,_0x257c6a):_0x54ff7c,_0x47cbe2=_0x1eeb93[_0x285939(0x431)]-0x1,_0x47d708;_0x47cbe2>=0x0;_0x47cbe2--)(_0x47d708=_0x1eeb93[_0x47cbe2])&&(_0x543bab=(_0x17f789?_0x47d708(_0x54ff7c,_0x257c6a,_0x543bab):_0x47d708(_0x543bab))||_0x543bab);return _0x17f789&&_0x543bab&&Ds(_0x54ff7c,_0x257c6a,_0x543bab),_0x543bab;},Se=(_0x114e06,_0x1e95d8)=>(_0x5a1c57,_0x1f26ae)=>_0x1e95d8(_0x5a1c57,_0x1f26ae,_0x114e06);let at=class extends _0x4273f8{constructor(_0x385b01,_0x9233e0,_0x396bc3,_0x363257,_0x14556f,_0x2ce2ee,_0xe4bbdb){var _0x2f1657=_0x1af128;super(),this[_0x2f1657(0x367)]=_0x385b01,this['_univerInstanceService']=_0x9233e0,this[_0x2f1657(0x201)]=_0x396bc3,this[_0x2f1657(0x3bc)]=_0x363257,this[_0x2f1657(0x4b1)]=_0x14556f,this[_0x2f1657(0x1e3)]=_0x2ce2ee,this['_undoRedoService']=_0xe4bbdb,this[_0x2f1657(0x4c0)](),this['_initCloseConn']();}[_0x1af128(0x1ec)](){var _0x44998a=_0x1af128;const _0x44853c=async _0x29bc99=>{var _0x4782cd=_0x596d;(await this[_0x4782cd(0x3bc)][_0x4782cd(0x3e7)](_0x29bc99))[_0x4782cd(0x22e)]['pipe'](_0x226f92(_0x2aded2=>_0x2aded2['eventID']===_0x1d08ca[_0x4782cd(0x368)]),_0x4387d8(this[_0x4782cd(0x2f3)]))[_0x4782cd(0x26c)](_0x60481b=>{var _0x2a9fbe=_0x4782cd;const _0x513adb=_0x60481b,{reason:_0x265995}=_0x513adb[_0x2a9fbe(0x345)];this[_0x2a9fbe(0x4b1)][_0x2a9fbe(0x258)]({'id':se[_0x2a9fbe(0x4d3)],'data':_0x265995}),this[_0x2a9fbe(0x201)][_0x2a9fbe(0x3b7)](new _0x3ff24a(_0x29bc99)['id'],!0x1),this[_0x2a9fbe(0x3bc)][_0x2a9fbe(0x3e9)](_0x29bc99);});};_0x19107a(this[_0x44998a(0x332)][_0x44998a(0x2e0)](_0x7a0f38[_0x44998a(0x3c7)]),this[_0x44998a(0x332)]['getTypeOfUnitAdded$'](_0x7a0f38[_0x44998a(0x43b)]))['pipe'](_0x3c96ad(_0x5d990d=>_0x5d990d['getUnitId']()),_0x226f92(_0xb99bac=>!_0xc3ccf8(_0xb99bac)),_0x4387d8(this['dispose$']))['subscribe'](_0x5a0f39=>{_0x44853c(_0x5a0f39);});}[_0x1af128(0x4c0)](){var _0x327807=_0x1af128;const _0x35dca9=async _0x2bc3cf=>{var _0x254f78=_0x596d;const _0x4a3bf9=await this['_collaborationSessionService'][_0x254f78(0x3e7)](_0x2bc3cf),_0x49f7dd=this['_injector'][_0x254f78(0x416)](_0x2ba33e);_0x4a3bf9[_0x254f78(0x22e)][_0x254f78(0x463)](_0x226f92(_0x5c6f5a=>_0x5c6f5a['eventID']===_0x1d08ca[_0x254f78(0x28f)]),_0x4387d8(this[_0x254f78(0x2f3)]))['subscribe'](_0x4c65c9=>{var _0x1e8196=_0x254f78;const _0x4bb863=_0x4c65c9,{objectId:_0x1d2268}=_0x4bb863[_0x1e8196(0x345)];_0x1d2268===_0x2bc3cf?_0x49f7dd[_0x1e8196(0x4c9)](_0x2bc3cf):_0x49f7dd[_0x1e8196(0x40e)](_0x2bc3cf,_0x1d2268);});};_0x19107a(this['_univerInstanceService'][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x3c7)]),this[_0x327807(0x332)][_0x327807(0x2e0)](_0x7a0f38[_0x327807(0x43b)]))[_0x327807(0x463)](_0x3c96ad(_0x194f82=>_0x194f82['getUnitId']()),_0x226f92(_0x3fcf60=>!_0xc3ccf8(_0x3fcf60)),_0x4387d8(this[_0x327807(0x2f3)]))[_0x327807(0x26c)](_0x5e04b8=>{_0x35dca9(_0x5e04b8);});}};function _0x596d(_0x2f762a,_0x5ae8e2){var _0x6aa32=_0x6aa3();return _0x596d=function(_0x596df4,_0x2e2efe){_0x596df4=_0x596df4-0x1d0;var _0x4a5f9f=_0x6aa32[_0x596df4];return _0x4a5f9f;},_0x596d(_0x2f762a,_0x5ae8e2);}at=ws([Se(0x0,_0x50b881(_0x339edd)),Se(0x1,_0x42b8e7),Se(0x2,_0xea2b61),Se(0x3,_0x50b881(Le)),Se(0x4,_0x50b881(pe)),Se(0x5,_0x298ad2),Se(0x6,_0x16445d)],at);var Us=Object[_0x1af128(0x4ba)],As=Object[_0x1af128(0x3d3)],xs=(_0x1278d2,_0xcba28,_0x3de9cb,_0x12aa49)=>{for(var _0x580e37=_0x12aa49>0x1?void 0x0:_0x12aa49?As(_0xcba28,_0x3de9cb):_0xcba28,_0xe2593d=_0x1278d2['length']-0x1,_0x206fdf;_0xe2593d>=0x0;_0xe2593d--)(_0x206fdf=_0x1278d2[_0xe2593d])&&(_0x580e37=(_0x12aa49?_0x206fdf(_0xcba28,_0x3de9cb,_0x580e37):_0x206fdf(_0x580e37))||_0x580e37);return _0x12aa49&&_0x580e37&&Us(_0xcba28,_0x3de9cb,_0x580e37),_0x580e37;},li=(_0x494487,_0x5c7c0f)=>(_0x47005c,_0x32dc41)=>_0x5c7c0f(_0x47005c,_0x32dc41,_0x494487);let Dt=class{constructor(_0x3bc861,_0x1d4cf3){var _0x4c551e=_0x1af128;this[_0x4c551e(0x4d1)]=_0x3bc861,this[_0x4c551e(0x1ea)]=_0x1d4cf3;}async['getUnitOnRev'](_0x587139,_0x1a7826){var _0x5772db=_0x1af128,_0x49c3f6;const {unitID:_0x3bc903,type:_0x12194f,revision:_0x222902=0x0}=_0x1a7826,_0x29d114=this['getSnapshotAPIPath']()+'/'+_0x12194f+_0x5772db(0x29a)+_0x3bc903+_0x5772db(0x251)+_0x222902,_0x149899=(await this[_0x5772db(0x1ea)]['get'](_0x29d114))[_0x5772db(0x425)],_0x5b1652=(_0x49c3f6=_0x149899['snapshot'])==null?void 0x0:_0x49c3f6[_0x5772db(0x286)];if(_0x5b1652){const _0xeacb8a=_0x5b1652==null?void 0x0:_0x5b1652[_0x5772db(0x240)],_0x483e74=_0x20eefa[_0x5772db(0x2f0)](_0x55b68d(_0xeacb8a));_0x5b1652[_0x5772db(0x240)]=_0x483e74,Object['entries'](_0x5b1652[_0x5772db(0x3a7)])[_0x5772db(0x30f)](([,_0x32796b])=>{var _0x258547=_0x5772db;const _0x736ced=_0x32796b[_0x258547(0x240)],_0x38cb12=_0x20eefa[_0x258547(0x2f0)](_0x55b68d(_0x736ced));_0x32796b['originalMeta']=_0x38cb12;});}return _0x149899;}async[_0x1af128(0x263)](_0x5414f9,_0x483e57){var _0x45aded=_0x1af128;const {unitID:_0x5f2913,type:_0x451567,blockID:_0x48fac8}=_0x483e57,_0x1feb50=this[_0x45aded(0x4d2)]()+'/'+_0x451567+_0x45aded(0x29a)+_0x5f2913+_0x45aded(0x1e1)+_0x48fac8;return(await this[_0x45aded(0x1ea)][_0x45aded(0x416)](_0x1feb50))[_0x45aded(0x425)];}async[_0x1af128(0x3ea)](_0x187a60,_0x10de6d){var _0x498ad5=_0x1af128;const {unitID:_0x4a928a,type:_0xef53df,blockID:_0x196991}=_0x10de6d,_0x11704d=this[_0x498ad5(0x4d2)]()+'/block/'+_0xef53df+_0x498ad5(0x29a)+_0x4a928a+_0x498ad5(0x1e1)+_0x196991;return(await this[_0x498ad5(0x1ea)]['get'](_0x11704d))['body'];}async['fetchMissingChangesets'](_0x416921,_0x285f70){var _0x465509=_0x1af128;const {unitID:_0x572694,type:_0x8d1df1,from:_0x569765,to:_0x427ab4}=_0x285f70,_0x4f747e=this[_0x465509(0x4d2)]()+'/'+_0x8d1df1+_0x465509(0x29a)+_0x572694+_0x465509(0x35e)+_0x569765+'&to='+_0x427ab4;return(await this[_0x465509(0x1ea)]['get'](_0x4f747e))[_0x465509(0x425)];}[_0x1af128(0x28a)](){var _0x1d899b=_0x1af128,_0x1a8a4e;return(_0x1a8a4e=this[_0x1d899b(0x4d1)][_0x1d899b(0x49e)](Tn))!=null?_0x1a8a4e:this[_0x1d899b(0x4d2)]();}[_0x1af128(0x4d2)](){var _0x455011=_0x1af128,_0xaa8095,_0x55e0f4;const _0x1e7841=this[_0x455011(0x4d1)][_0x455011(0x49e)](En),_0x56a3fe=this['_configService'][_0x455011(0x49e)](q);return(_0x55e0f4=(_0xaa8095=_0x56a3fe==null?void 0x0:_0x56a3fe['snapshotServerUrl'])!=null?_0xaa8095:_0x1e7841)!=null?_0x55e0f4:In;}async['getResourcesRequest'](_0x225666,_0x250632){var _0x19fdbe=_0x1af128;const _0x26f28e=_0x19fdbe(0x2d4)+_0x250632['type']+_0x19fdbe(0x29a)+_0x250632[_0x19fdbe(0x1fa)]+_0x19fdbe(0x3ba);return(await this[_0x19fdbe(0x1ea)][_0x19fdbe(0x416)](_0x26f28e,{'params':{'resourceId':JSON[_0x19fdbe(0x44b)](_0x250632[_0x19fdbe(0x47f)])}}))['body'];}[_0x1af128(0x2f2)](){var _0x48f322=_0x1af128;throw new Error(_0x48f322(0x1d2));}['saveSheetBlock'](){var _0x2c08a4=_0x1af128;throw new Error(_0x2c08a4(0x1d2));}[_0x1af128(0x235)](){var _0x45d479=_0x1af128;throw new Error(_0x45d479(0x1d2));}[_0x1af128(0x2e9)](){var _0x2bd3ec=_0x1af128;throw new Error(_0x2bd3ec(0x1d2));}[_0x1af128(0x303)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};Dt=xs([li(0x0,_0xb3f6ba),li(0x1,_0x50b881(_0x51273b))],Dt);var Ls=Object[_0x1af128(0x4ba)],Ms=Object[_0x1af128(0x3d3)],$s=(_0x37d8f5,_0x23442d,_0x1ed29,_0x5543ea)=>{var _0x5bfc9f=_0x1af128;for(var _0xd751bd=_0x5543ea>0x1?void 0x0:_0x5543ea?Ms(_0x23442d,_0x1ed29):_0x23442d,_0x531d71=_0x37d8f5[_0x5bfc9f(0x431)]-0x1,_0x395191;_0x531d71>=0x0;_0x531d71--)(_0x395191=_0x37d8f5[_0x531d71])&&(_0xd751bd=(_0x5543ea?_0x395191(_0x23442d,_0x1ed29,_0xd751bd):_0x395191(_0xd751bd))||_0xd751bd);return _0x5543ea&&_0xd751bd&&Ls(_0x23442d,_0x1ed29,_0xd751bd),_0xd751bd;},Ae=(_0x3034a6,_0x6ca804)=>(_0x58b2c0,_0x41d6b0)=>_0x6ca804(_0x58b2c0,_0x41d6b0,_0x3034a6);let Pt=class extends _0x40707b{constructor(_0xa88093,_0x5c1fa8,_0x5ca08d,_0x455eff,_0x40a082){var _0x16f928=_0x1af128;super(_0xa88093,_0x5c1fa8,_0x5ca08d),this[_0x16f928(0x44a)]=_0x455eff,this['_logService']=_0x40a082;}[_0x1af128(0x2de)](_0xd2cbac,_0x5aa7b7){var _0x404b07=_0x1af128;const _0xc64686=this[_0x404b07(0x23d)](_0xd2cbac);if(_0xc64686)try{const _0x3167d7=this[_0x404b07(0x2e1)](_0xc64686,_0x5aa7b7);this['_substituteUndoStack'](_0xd2cbac,_0x3167d7);}catch(_0x2445a9){this[_0x404b07(0x485)]['error'](_0x404b07(0x3a0),_0x2445a9),this[_0x404b07(0x402)](_0xd2cbac);}const _0x5c560f=this[_0x404b07(0x499)](_0xd2cbac);if(_0x5c560f)try{const _0x40b839=this[_0x404b07(0x2e1)](_0x5c560f,_0x5aa7b7);this[_0x404b07(0x404)](_0xd2cbac,_0x40b839);}catch(_0x30013f){this['_logService'][_0x404b07(0x479)](_0x30013f),this[_0x404b07(0x2ca)](_0xd2cbac);}}[_0x1af128(0x402)](_0x3cd5cb){var _0x35bb3a=_0x1af128;const _0x2183ae=this[_0x35bb3a(0x23d)](_0x3cd5cb);_0x2183ae&&(_0x2183ae[_0x35bb3a(0x431)]=0x0,this[_0x35bb3a(0x3be)]());}[_0x1af128(0x2ca)](_0x47dc62){var _0x17bf34=_0x1af128;const _0x4c0a6d=this['_getRedoStack'](_0x47dc62);_0x4c0a6d&&(_0x4c0a6d[_0x17bf34(0x431)]=0x0,this[_0x17bf34(0x3be)]());}[_0x1af128(0x30d)](_0x89e1fe,_0x1949c1){var _0x17fa21=_0x1af128;this[_0x17fa21(0x4b3)]['set'](_0x89e1fe,_0x1949c1),this[_0x17fa21(0x3be)]();}['_substituteRedoStack'](_0x544193,_0x2c208f){var _0x3fba00=_0x1af128;this['_redoStacks'][_0x3fba00(0x255)](_0x544193,_0x2c208f),this[_0x3fba00(0x3be)]();}[_0x1af128(0x2e1)](_0x393040,_0x5da609){var _0x48f3ae=_0x1af128;const _0x3cf3bc=[];let _0x4cbf93=_0x5da609,_0x202070=_0x5da609;for(let _0x5b7133=_0x393040[_0x48f3ae(0x431)]-0x1;_0x5b7133>=0x0;_0x5b7133--){const {unitID:_0x307365,undoMutations:_0x15b6a6,redoMutations:_0x3af41a}=_0x393040[_0x5b7133],_0x52ddaf=this[_0x48f3ae(0x44a)]['transformMutationsWithChangeset'](_0x4cbf93,_0x15b6a6),_0x2c2c37=this[_0x48f3ae(0x44a)][_0x48f3ae(0x29f)](_0x202070,_0x3af41a);if(_0x3abcdb(_0x52ddaf)||_0x3abcdb(_0x2c2c37)){this[_0x48f3ae(0x485)]['error'](_0x48f3ae(0x3a0),_0x48f3ae(0x4c5),_0x52ddaf,_0x2c2c37);break;}_0x4cbf93=_0x52ddaf[_0x48f3ae(0x2cd)],_0x202070=_0x2c2c37[_0x48f3ae(0x2cd)],_0x3cf3bc[_0x48f3ae(0x2ad)]({'unitID':_0x307365,'undoMutations':_0x52ddaf[_0x48f3ae(0x2b0)],'redoMutations':_0x2c2c37[_0x48f3ae(0x2b0)]});}return _0x3cf3bc['reverse']();}};Pt=$s([Ae(0x0,_0x42b8e7),Ae(0x1,_0x4f3e11),Ae(0x2,_0x215270),Ae(0x3,_0x207f44),Ae(0x4,_0x334ed4)],Pt);var xi=Object[_0x1af128(0x4ba)],Hs=Object[_0x1af128(0x3d3)],ks=(_0x576577,_0x599215,_0x10881b)=>_0x599215 in _0x576577?xi(_0x576577,_0x599215,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10881b}):_0x576577[_0x599215]=_0x10881b,js=(_0x249d65,_0xe06207,_0x497045,_0x2140fa)=>{var _0x2cf9c9=_0x1af128;for(var _0x39ceee=_0x2140fa>0x1?void 0x0:_0x2140fa?Hs(_0xe06207,_0x497045):_0xe06207,_0x4c6c58=_0x249d65[_0x2cf9c9(0x431)]-0x1,_0x572d11;_0x4c6c58>=0x0;_0x4c6c58--)(_0x572d11=_0x249d65[_0x4c6c58])&&(_0x39ceee=(_0x2140fa?_0x572d11(_0xe06207,_0x497045,_0x39ceee):_0x572d11(_0x39ceee))||_0x39ceee);return _0x2140fa&&_0x39ceee&&xi(_0xe06207,_0x497045,_0x39ceee),_0x39ceee;},St=(_0x574307,_0x489698)=>(_0x32cb78,_0x5cb2d6)=>_0x489698(_0x32cb78,_0x5cb2d6,_0x574307),Bs=(_0x298c18,_0x71fe72,_0x5cead2)=>ks(_0x298c18,_0x71fe72+'',_0x5cead2);const Fs=_0x1af128(0x306);let wt=class extends _0x58ba77{constructor(_0x1a036b=Wt,_0x43fe1a,_0x26dddb,_0x5588f5){var _0x42d766=_0x1af128;super(),this['_config']=_0x1a036b,this[_0x42d766(0x485)]=_0x43fe1a,this[_0x42d766(0x367)]=_0x26dddb,this[_0x42d766(0x4d1)]=_0x5588f5;const {..._0x587125}=_0x1686f7({},Wt,this[_0x42d766(0x358)]);this[_0x42d766(0x4d1)]['setConfig'](q,_0x587125);}['onStarting'](){var _0x443f95=_0x1af128;this[_0x443f95(0x1fb)](),this[_0x443f95(0x2dc)]();}[_0x1af128(0x1fb)](){var _0x16edfb=_0x1af128,_0x2febc0,_0x5b397a,_0x14012e,_0x592198;this[_0x16edfb(0x367)][_0x16edfb(0x278)](_0x16445d)&&this['_logService']['error'](_0x16edfb(0x38b),_0x16edfb(0x46e));const _0x295ef7=_0x3b1a20([[_0x16445d,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5b397a=(_0x2febc0=this[_0x16edfb(0x358)])==null?void 0x0:_0x2febc0[_0x16edfb(0x2a0)])!=null?_0x5b397a:Et}],[_0x2687e0,{'useClass':Dt}],[_0x298ad2,{'useClass':bt}],[_0x5b5ab5,{'useClass':yt}],[_0x478e21,{'useClass':Nt}],[rt],[Rt]],(_0x14012e=this[_0x16edfb(0x358)])==null?void 0x0:_0x14012e[_0x16edfb(0x21b)]);if(!((_0x592198=this[_0x16edfb(0x358)])!=null&&_0x592198['enableSingleActiveInstanceLock'])){const _0x4ba3ee=_0x295ef7[_0x16edfb(0x3e0)](([_0x23833d])=>_0x23833d===ht);_0x4ba3ee!==-0x1&&_0x295ef7[_0x16edfb(0x3ca)](_0x4ba3ee,0x1);}_0x48774b(this['_injector'],_0x295ef7);}[_0x1af128(0x2dc)](){var _0x1e7ae7=_0x1af128,_0x3bbc71,_0x160b42,_0x55f922;this['_injector'][_0x1e7ae7(0x416)](_0x51273b)[_0x1e7ae7(0x340)]({'priority':0x14,'interceptor':_0x105533({'maxParallel':0x6})}),(_0x3bbc71=this['_config'])!=null&&_0x3bbc71[_0x1e7ae7(0x21f)]||(_0x160b42=this[_0x1e7ae7(0x367)]['get'](J,_0x8bb0cb[_0x1e7ae7(0x382)]))==null||_0x160b42['disableLocalCache'](),(_0x55f922=this[_0x1e7ae7(0x358)])!=null&&_0x55f922[_0x1e7ae7(0x326)]&&_0x150a5f(this[_0x1e7ae7(0x367)],[[st]]),_0x150a5f(this['_injector'],[[ot],[rt],[at]]);}};Bs(wt,_0x1af128(0x297),Fs),wt=js([_0x3fade5(_0x1ce121,_0x376c94,_0x22d427),St(0x1,_0x334ed4),St(0x2,_0x50b881(_0x339edd)),St(0x3,_0xb3f6ba)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|