@univerjs-pro/collaboration-client 0.5.5-nightly.202501210604 → 0.5.5-nightly.202501210849
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 +10 -10
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x4d673f=_0x1e69;(function(_0x499bf7,_0x222fa4){var _0x5066c3=_0x1e69,_0x594986=_0x499bf7();while(!![]){try{var _0x4fab38=parseInt(_0x5066c3(0x201))/0x1*(-parseInt(_0x5066c3(0x1c4))/0x2)+parseInt(_0x5066c3(0x28c))/0x3+-parseInt(_0x5066c3(0x1f2))/0x4*(parseInt(_0x5066c3(0x174))/0x5)+parseInt(_0x5066c3(0x27e))/0x6*(-parseInt(_0x5066c3(0x2f3))/0x7)+parseInt(_0x5066c3(0x146))/0x8*(parseInt(_0x5066c3(0x2b9))/0x9)+parseInt(_0x5066c3(0xd5))/0xa+parseInt(_0x5066c3(0x289))/0xb;if(_0x4fab38===_0x222fa4)break;else _0x594986['push'](_0x594986['shift']());}catch(_0xafc044){_0x594986['push'](_0x594986['shift']());}}}(_0x308f,0x3bc00));var Li=Object[_0x4d673f(0x158)],Mi=(_0x2c7d6c,_0x49ca88,_0x5ce60e)=>_0x49ca88 in _0x2c7d6c?Li(_0x2c7d6c,_0x49ca88,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ce60e}):_0x2c7d6c[_0x49ca88]=_0x5ce60e,N=(_0x5f2e59,_0x578055,_0x237bb3)=>Mi(_0x5f2e59,typeof _0x578055!=_0x4d673f(0x1b4)?_0x578055+'':_0x578055,_0x237bb3);import{createIdentifier as _0x9c7f96,Inject as _0x4513f6,Injector as _0x59bc83,Disposable as _0x31128a,DisposableCollection as _0x1c6cc0,toDisposable as _0x585d89,IConfigService as _0x50d966,ILogService as _0x4ea18a,UserManagerService as _0x4ddab5,UniverInstanceType as _0x5ef5ec,IUniverInstanceService as _0x5050f9,LocaleService as _0x17a1db,Optional as _0x1ef01f,RxDisposable as _0x24e8c4,Tools as _0x4005cd,Rectangle as _0xdf2c7d,ICommandService as _0x390090,JSONX as _0x5d47a5,CommandType as _0x1db635,IPermissionService as _0x104623,IUndoRedoService as _0x21d350,sequenceExecute as _0x8fcefa,Workbook as _0x5ab3d8,MentionType as _0x5c7868,IAuthzIoService as _0x12afe5,isInternalEditorID as _0x3a71b0,LocalUndoRedoService as _0x298346,IContextService as _0x3502aa,DependentOn as _0x301e2c,Plugin as _0xf09826,merge as _0x30fa33,mergeOverrideWithDependencies as _0x1273d5,IMentionIOService as _0x5ea9c0,registerDependencies as _0x256eac,Quantity as _0x325195,touchDependencies as _0x373e81}from'@univerjs/core';import{Subject as _0x51c542,merge as _0x55a414,of as _0x199eea,BehaviorSubject as _0xb1c695,takeUntil as _0x218a01,ReplaySubject as _0x34761a,take as _0x4a2bcd,map as _0x28bdad,shareReplay as _0x3c2e09,firstValueFrom as _0x23cb34,concatMap as _0x1f7c42}from'rxjs';import{map as _0x5b9215,take as _0x2db412,filter as _0x182afb,delay as _0x28118f,takeUntil as _0x10b628}from'rxjs/operators';import{HTTPService as _0x4b98ea,ISocketService as _0x9a3140,MergeInterceptorFactory as _0x37af45,HTTPRequest as _0x4d5295,UniverNetworkPlugin as _0x367449,ThresholdInterceptorFactory as _0x47a72c}from'@univerjs/network';import{CollaborationEvent as _0x73852e,parseChangesetToProtocol as _0x473249,ISnapshotServerService as _0x14ff5d,isTransformMutationsWithChangesetSuccess as _0x4cd9b5,ITransformService as _0x2b2aaf,mapDocumentTypeToUniverType as _0xcb99c1,RevisionService as _0x58d675,isTransformChangesetsSuccess as _0x42d41d,CompressMutationService as _0x4536ab,parseProtocolChangeset as _0x446ac4,SnapshotService as _0x29e935,textEncoder as _0x496718,b64DecodeUnicode as _0xeb4576,isTransformMutationsWithChangesetFailure as _0x5458f6,UniverCollaborationPlugin as _0x5a0a97}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5aa849}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x140c82}from'@univerjs/docs';import{SheetsSelectionsService as _0x22dba6,SetSelectionsOperation as _0x3e4304,InsertSheetMutation as _0x1dbb9f,EmptyMutation as _0x12ec92,WorkbookEditablePermission as _0x503202,SheetPermissionInitController as _0x4e8b59,UniverSheetsPlugin as _0x2ae8bd}from'@univerjs/sheets';import{ImageSourceType as _0x1aec03,ImageUploadStatusType as _0x1e24f4,IImageIoService as _0x22b061}from'@univerjs/drawing';import{getGlobalObject as _0x2f4c96}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x4d673f(0x292),Tn=_0x4d673f(0x308),eo='SEND_CHANGESET_TIMEOUT',Cn=0x7d0,Rn=_0x4d673f(0x319),bn=_0x4d673f(0x1e6),On=_0x4d673f(0x2ba),yn=_0x4d673f(0x1b6),Nn=0x7530,Si='HEARTBEAT_TIMEOUT',Ei=0x4e20,Dn=0x4e20,Pn=_0x4d673f(0x228),wn=0x3,to=_0x4d673f(0x2ad),io=0x3e8,Un=_0x4d673f(0x1f6),An=_0x4d673f(0x307),xn=_0x4d673f(0x122),Ln=_0x4d673f(0x24e),no=_0x4d673f(0x17e),ro='/universer-api/uniscript';var Ii=(_0x37b414=>(_0x37b414[_0x37b414[_0x4d673f(0xc2)]=0x0]='UNDEFINED',_0x37b414[_0x37b414['OK']=0x1]='OK',_0x37b414[_0x37b414[_0x4d673f(0x2f4)]=0x2]=_0x4d673f(0x2f4),_0x37b414[_0x37b414[_0x4d673f(0x25a)]=0x3]=_0x4d673f(0x25a),_0x37b414[_0x37b414[_0x4d673f(0x242)]=0x4]=_0x4d673f(0x242),_0x37b414[_0x37b414['UNAUTHENTICATED']=0x5]=_0x4d673f(0x22d),_0x37b414[_0x37b414['ALREADY_EXISTS']=0x6]=_0x4d673f(0x15b),_0x37b414[_0x37b414[_0x4d673f(0x33d)]=0x7]=_0x4d673f(0x33d),_0x37b414[_0x37b414[_0x4d673f(0x264)]=0x8]=_0x4d673f(0x264),_0x37b414[_0x37b414[_0x4d673f(0x368)]=0x9]=_0x4d673f(0x368),_0x37b414[_0x37b414['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x37b414[_0x37b414[_0x4d673f(0x35f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x37b414[_0x37b414['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4d673f(0x23b),_0x37b414[_0x37b414[_0x4d673f(0x267)]=0x1773]=_0x4d673f(0x267),_0x37b414[_0x37b414[_0x4d673f(0x10c)]=0x1b59]=_0x4d673f(0x10c),_0x37b414[_0x37b414[_0x4d673f(0x1fb)]=0x1b5a]=_0x4d673f(0x1fb),_0x37b414[_0x37b414['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4d673f(0x26f),_0x37b414[_0x37b414['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x4d673f(0xb0),_0x37b414[_0x37b414[_0x4d673f(0x293)]=0x1b5d]='APPLY_DUPLICATED',_0x37b414[_0x37b414[_0x4d673f(0x2dc)]=0x1f41]=_0x4d673f(0x2dc),_0x37b414[_0x37b414[_0x4d673f(0x189)]=0x2329]=_0x4d673f(0x189),_0x37b414[_0x37b414[_0x4d673f(0x11f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x37b414[_0x37b414[_0x4d673f(0x329)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x37b414[_0x37b414[_0x4d673f(0x191)]=0x232c]=_0x4d673f(0x191),_0x37b414[_0x37b414['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4d673f(0x35e),_0x37b414[_0x37b414[_0x4d673f(0x124)]=0x2711]=_0x4d673f(0x124),_0x37b414[_0x37b414[_0x4d673f(0x89)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x37b414[_0x37b414[_0x4d673f(0x2d0)]=0x2713]=_0x4d673f(0x2d0),_0x37b414[_0x37b414[_0x4d673f(0x130)]=0x2714]=_0x4d673f(0x130),_0x37b414[_0x37b414[_0x4d673f(0x1fd)]=0x2af9]=_0x4d673f(0x1fd),_0x37b414[_0x37b414[_0x4d673f(0x2c4)]=-0x1]=_0x4d673f(0x2c4),_0x37b414))(Ii||{}),Q=(_0x1fde78=>(_0x1fde78[_0x1fde78[_0x4d673f(0x24b)]=0x0]=_0x4d673f(0x24b),_0x1fde78[_0x1fde78['UNIVER_DOC']=0x1]=_0x4d673f(0x156),_0x1fde78[_0x1fde78['UNIVER_SHEET']=0x2]=_0x4d673f(0x121),_0x1fde78[_0x1fde78[_0x4d673f(0x337)]=0x3]=_0x4d673f(0x337),_0x1fde78[_0x1fde78[_0x4d673f(0x2bc)]=0x4]=_0x4d673f(0x2bc),_0x1fde78[_0x1fde78[_0x4d673f(0x2c4)]=-0x1]=_0x4d673f(0x2c4),_0x1fde78))(Q||{}),F=(_0x3dcc2f=>(_0x3dcc2f[_0x3dcc2f['UNKNOWN_CMD']=0x0]=_0x4d673f(0x12a),_0x3dcc2f[_0x3dcc2f['HELLO']=0x1]=_0x4d673f(0x107),_0x3dcc2f[_0x3dcc2f[_0x4d673f(0x263)]=0x2]=_0x4d673f(0x263),_0x3dcc2f[_0x3dcc2f['LEAVE']=0x3]=_0x4d673f(0x26d),_0x3dcc2f[_0x3dcc2f['INGEST']=0x4]=_0x4d673f(0x105),_0x3dcc2f[_0x3dcc2f[_0x4d673f(0x318)]=0x5]='HEARTBEAT',_0x3dcc2f[_0x3dcc2f[_0x4d673f(0x1f0)]=0x6]=_0x4d673f(0x1f0),_0x3dcc2f[_0x3dcc2f[_0x4d673f(0x2c4)]=-0x1]=_0x4d673f(0x2c4),_0x3dcc2f))(F||{}),Ee=(_0x3bf335=>(_0x3bf335[_0x3bf335[_0x4d673f(0x375)]=0x0]='UNKNOWN_CODE',_0x3bf335[_0x3bf335['OK']=0x1]='OK',_0x3bf335[_0x3bf335[_0x4d673f(0x32d)]=0x2]=_0x4d673f(0x32d),_0x3bf335[_0x3bf335[_0x4d673f(0xf5)]=0x3e9]='JOIN_ROOM_FULL',_0x3bf335[_0x3bf335['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x4d673f(0xa9),_0x3bf335[_0x3bf335['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x4d673f(0x1a4),_0x3bf335[_0x3bf335[_0x4d673f(0x255)]=0x3ec]=_0x4d673f(0x255),_0x3bf335[_0x3bf335[_0x4d673f(0x2c4)]=-0x1]='UNRECOGNIZED',_0x3bf335))(Ee||{}),Ti=(_0x431c75=>(_0x431c75[_0x431c75[_0x4d673f(0xb4)]=0x0]='Undefined',_0x431c75[_0x431c75['HttpImport']=0x1]=_0x4d673f(0x37b),_0x431c75[_0x431c75['HttpExport']=0x2]='HttpExport',_0x431c75[_0x431c75[_0x4d673f(0x14c)]=0x3]=_0x4d673f(0x14c),_0x431c75[_0x431c75['UnitSnapshot']=0x4]='UnitSnapshot',_0x431c75[_0x431c75[_0x4d673f(0x2c4)]=-0x1]='UNRECOGNIZED',_0x431c75))(Ti||{});const q=_0x4d673f(0x17d),Wt={};var se=(_0x558dff=>(_0x558dff[_0x4d673f(0x2e5)]=_0x4d673f(0x2e5),_0x558dff[_0x4d673f(0x25a)]=_0x4d673f(0x25a),_0x558dff[_0x4d673f(0x1c9)]='CONFLICT',_0x558dff[_0x4d673f(0x2dd)]=_0x4d673f(0x2dd),_0x558dff[_0x4d673f(0x316)]='JOIN_ROOM_FAILED',_0x558dff['SOCKET_FAILED_RETRY']=_0x4d673f(0x136),_0x558dff['SOCKET_FAILED']=_0x4d673f(0xc5),_0x558dff[_0x4d673f(0x24a)]=_0x4d673f(0x24a),_0x558dff))(se||{});function _0x1e69(_0x415908,_0x36d9d0){var _0x308ffb=_0x308f();return _0x1e69=function(_0x1e69d2,_0x4246ac){_0x1e69d2=_0x1e69d2-0x87;var _0x1257e8=_0x308ffb[_0x1e69d2];return _0x1257e8;},_0x1e69(_0x415908,_0x36d9d0);}class pe{constructor(){var _0x405fdf=_0x4d673f;N(this,_0x405fdf(0x137),new _0x51c542()),N(this,_0x405fdf(0xfe),this['_event$'][_0x405fdf(0x19c)]());}[_0x4d673f(0x243)](_0x3e24cb){var _0x57d1b9=_0x4d673f;this[_0x57d1b9(0x137)][_0x57d1b9(0x125)](_0x3e24cb);}}const Mn=_0x9c7f96('univer-pro.collaboration-client.network-condition.service');function $n(_0x11262a){var _0x19863b=_0x4d673f,_0x3aad1c,_0x517e67,_0x1cb291,_0x1006cd,_0x1ad4cf;const _0x360689=_0x11262a[_0x19863b(0x1d7)],_0x33c2e9=JSON[_0x19863b(0x153)](_0x360689);switch(_0x33c2e9['cmd']){case F[_0x19863b(0x318)]:case F[_0x19863b(0x107)]:{const _0x5f006a=_0x33c2e9[_0x19863b(0x36c)];return{..._0x33c2e9,'data':_0x5f006a,'cmd':_0x33c2e9['cmd']};}case F[_0x19863b(0x263)]:{const _0x29f708=_0x33c2e9[_0x19863b(0x225)];return{..._0x33c2e9,'data':_0x29f708,'cmd':_0x33c2e9[_0x19863b(0x179)]};}case F[_0x19863b(0x1f0)]:{const _0x250593=_0x33c2e9['collaMsg'];switch(_0x250593['eventID']){case _0x73852e[_0x19863b(0x1fc)]:return{..._0x33c2e9,'data':{..._0x250593,'data':(_0x3aad1c=_0x250593[_0x19863b(0x34e)])==null?void 0x0:_0x3aad1c['cs']},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x21d)]:return{..._0x33c2e9,'data':{..._0x250593,'data':(_0x517e67=_0x250593[_0x19863b(0x1b2)])==null?void 0x0:_0x517e67['cs']},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e['NEW_CHANGESETS']:return{..._0x33c2e9,'data':{..._0x250593,'data':(_0x1cb291=_0x250593[_0x19863b(0x1eb)])==null?void 0x0:_0x1cb291['cs']},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x168)]:return{..._0x33c2e9,'data':{..._0x250593,'data':(_0x1006cd=_0x250593[_0x19863b(0x230)])==null?void 0x0:_0x1006cd['cs']},'cmd':_0x33c2e9['cmd']};case _0x73852e['CHANGESET_SHOULD_RETRY']:return{..._0x33c2e9,'data':{..._0x250593,'data':(_0x1ad4cf=_0x250593['csShouldRetryEvent'])==null?void 0x0:_0x1ad4cf['cs']},'cmd':_0x33c2e9['cmd']};case _0x73852e[_0x19863b(0x1b7)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x93)]},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e['USERS_ENTER']:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x238)]},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x1dd)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593['leaveEvent']},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x345)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x145)]},'cmd':_0x33c2e9['cmd']};case _0x73852e[_0x19863b(0x154)]:case _0x73852e[_0x19863b(0x298)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x362)]},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x8e)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x145)]},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x346)]:return{..._0x33c2e9,'data':_0x250593,'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0xa7)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593['commentUpdateEvent']},'cmd':_0x33c2e9[_0x19863b(0x179)]};case _0x73852e[_0x19863b(0x355)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x2ac)]},'cmd':_0x33c2e9['cmd']};case _0x73852e[_0x19863b(0x13d)]:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593['shouldCloseConn']},'cmd':_0x33c2e9['cmd']};case _0x73852e['UNISCRIPT_RUN']:return{..._0x33c2e9,'data':{..._0x250593,'data':_0x250593[_0x19863b(0x205)]},'cmd':_0x33c2e9[_0x19863b(0x179)]};default:return _0x33c2e9;}}default:return _0x33c2e9;}}function Hn(_0x54a694){var _0x16d162=_0x4d673f;switch(_0x54a694[_0x16d162(0x179)]){case F['HEARTBEAT']:case F[_0x16d162(0x107)]:return JSON[_0x16d162(0x236)]({'cmd':_0x54a694['cmd'],'routeKey':_0x54a694[_0x16d162(0x2a9)]});case F[_0x16d162(0x105)]:{let _0x32ea55;switch(_0x54a694['data'][_0x16d162(0xac)]){case _0x73852e[_0x16d162(0x1b7)]:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x1b7)],'updateCursorEvent':_0x54a694[_0x16d162(0x1d7)][_0x16d162(0x1d7)]};break;}case _0x73852e[_0x16d162(0x1dd)]:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x1dd)],'leaveEvent':_0x54a694[_0x16d162(0x1d7)]['data']};break;}case _0x73852e[_0x16d162(0x305)]:{_0x32ea55={'eventID':_0x73852e['USERS_ENTER'],'joinEvent':_0x54a694[_0x16d162(0x1d7)][_0x16d162(0x1d7)]};break;}case _0x73852e[_0x16d162(0x345)]:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x345)],'liveShareNewHost':_0x54a694[_0x16d162(0x1d7)][_0x16d162(0x1d7)]};break;}case _0x73852e['LIVESHARE_OPERATION']:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x298)],'liveShareOperation':_0x54a694[_0x16d162(0x1d7)]['data']};break;}case _0x73852e[_0x16d162(0x8e)]:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x8e)],'liveShareTerminate':_0x54a694[_0x16d162(0x1d7)][_0x16d162(0x1d7)]};break;}case _0x73852e[_0x16d162(0x2cb)]:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x2cb)],'liveShareRequestHost':_0x54a694[_0x16d162(0x1d7)][_0x16d162(0x1d7)]};break;}case _0x73852e['LIVESHARE_FETCH_OPERATIONS']:{_0x32ea55={'eventID':_0x73852e[_0x16d162(0x154)]};break;}default:_0x32ea55={'eventID':_0x54a694['data'][_0x16d162(0xac)]};}return JSON[_0x16d162(0x236)]({'cmd':_0x54a694[_0x16d162(0x179)],'routeKey':_0x54a694[_0x16d162(0x2a9)],'collaMsg':_0x32ea55});}case F['JOIN']:return JSON['stringify']({'cmd':_0x54a694[_0x16d162(0x179)],'routeKey':_0x54a694[_0x16d162(0x2a9)],'joinReq':_0x54a694['data']});case F[_0x16d162(0x26d)]:return JSON[_0x16d162(0x236)]({'cmd':_0x54a694['cmd'],'routeKey':_0x54a694[_0x16d162(0x2a9)],'leaveReq':_0x54a694[_0x16d162(0x1d7)]});default:throw new Error(_0x16d162(0x278));}}var kn=Object['defineProperty'],jn=Object[_0x4d673f(0x37a)],Bn=(_0x2a8dea,_0x588984,_0x57eff1,_0x3fa794)=>{var _0x2e2d1f=_0x4d673f;for(var _0x115806=_0x3fa794>0x1?void 0x0:_0x3fa794?jn(_0x588984,_0x57eff1):_0x588984,_0x2c4c4a=_0x2a8dea[_0x2e2d1f(0xf8)]-0x1,_0x36c0da;_0x2c4c4a>=0x0;_0x2c4c4a--)(_0x36c0da=_0x2a8dea[_0x2c4c4a])&&(_0x115806=(_0x3fa794?_0x36c0da(_0x588984,_0x57eff1,_0x115806):_0x36c0da(_0x115806))||_0x115806);return _0x3fa794&&_0x115806&&kn(_0x588984,_0x57eff1,_0x115806),_0x115806;},Ue=(_0x32dc7e,_0x1a7de5)=>(_0x47a47e,_0xeb0358)=>_0x1a7de5(_0x47a47e,_0xeb0358,_0x32dc7e);const Ci=_0x9c7f96(_0x4d673f(0x29a));function Fn(_0x4b3905,_0x1a1c1a,_0x5043bd){var _0x31a922=_0x4d673f;return _0x4b3905+'/'+_0x1a1c1a+_0x31a922(0x373)+_0x5043bd+_0x31a922(0x94);}let Et=class extends _0x31128a{constructor(_0xf94f84,_0x38560b,_0x1adb46,_0x211804,_0x2353fe){var _0x34cd2c=_0x4d673f;super(),this[_0x34cd2c(0x247)]=_0xf94f84,this[_0x34cd2c(0x21b)]=_0x38560b,this[_0x34cd2c(0x2b0)]=_0x1adb46,this['_logService']=_0x211804,this[_0x34cd2c(0x1f4)]=_0x2353fe;}[_0x4d673f(0xbc)](_0x37fa5c){var _0x509789=_0x4d673f;const _0x268490=this[_0x509789(0x247)][_0x509789(0x2af)](_0x9a3140);if(!_0x268490)throw new Error(_0x509789(0xc6));const _0x5abf2e=_0x268490['createSocket'](_0x37fa5c);if(!_0x5abf2e)throw new Error(_0x509789(0x2e3));const _0x1a0224=new _0x1c6cc0(),_0x51d9cd=new _0x51c542();_0x1a0224[_0x509789(0x18b)](_0x5abf2e[_0x509789(0x21e)][_0x509789(0x126)](_0xe5cc62=>_0x51d9cd[_0x509789(0x125)](_0xe5cc62))),_0x1a0224['add'](_0x585d89(()=>_0x51d9cd['complete']()));const _0x487b6e=new _0x51c542();_0x1a0224[_0x509789(0x18b)](_0x5abf2e[_0x509789(0x185)][_0x509789(0x126)](_0x51ddc0=>_0x487b6e[_0x509789(0x125)](_0x51ddc0))),_0x1a0224[_0x509789(0x18b)](_0x585d89(()=>_0x487b6e[_0x509789(0x1a1)]()));const _0x5c702a=new _0x51c542();_0x1a0224['add'](_0x5abf2e[_0x509789(0x249)][_0x509789(0x126)](_0x4234de=>{const _0x570e2d=$n(_0x4234de);_0x5c702a['next'](_0x570e2d);})),_0x1a0224['add'](_0x585d89(()=>_0x5c702a[_0x509789(0x1a1)]()));let _0x1e4311;const _0x5bfe7c=()=>{var _0x38ef39=_0x509789;_0x487b6e[_0x38ef39(0x125)](new Event(_0x38ef39(0x330))),_0x51d9cd[_0x38ef39(0x125)](new CloseEvent(_0x38ef39(0x330))),_0x1e4311['close']();};return _0x1e4311={'memberID':'','close$':_0x51d9cd['asObservable'](),'error$':_0x487b6e[_0x509789(0x19c)](),'open$':_0x5abf2e['open$'],'message$':_0x5c702a[_0x509789(0x19c)](),'send':_0x18d49a=>{var _0x3cc896=_0x509789;if(_0x18d49a[_0x3cc896(0x179)]===F[_0x3cc896(0x105)]){if(_0x18d49a[_0x3cc896(0x1d7)][_0x3cc896(0xac)]===_0x73852e['SUBMIT_CHANGESET']){this[_0x3cc896(0x304)](_0x1e4311,_0x18d49a[_0x3cc896(0x1d7)])['catch'](_0x49e3cd=>{var _0xcb1d9d=_0x3cc896;this[_0xcb1d9d(0x306)]['error'](_0x49e3cd),_0x5bfe7c();});return;}if(_0x18d49a[_0x3cc896(0x1d7)][_0x3cc896(0xac)]===_0x73852e[_0x3cc896(0xcb)]){const _0x27638e=_0x18d49a[_0x3cc896(0x1d7)];this['_fetchMissChangesets'](_0x27638e)[_0x3cc896(0x361)](_0x555355=>{var _0x2b7cc1=_0x3cc896;_0x5c702a[_0x2b7cc1(0x125)]({'cmd':F[_0x2b7cc1(0x1f0)],'code':Ee['OK'],'routeKey':_0x27638e['data'][_0x2b7cc1(0x142)],'routeType':'','data':{'eventID':_0x73852e[_0x2b7cc1(0x28b)],'data':{'changesets':_0x555355}}});})['catch'](_0x12c61b=>{var _0x2c7fc3=_0x3cc896;this[_0x2c7fc3(0x306)]['error'](_0x12c61b),_0x5bfe7c();});return;}}_0x5abf2e[_0x3cc896(0x240)](Hn(_0x18d49a));},'close':()=>{var _0x56542d=_0x509789;_0x5abf2e[_0x56542d(0x1c7)](),_0x1a0224[_0x56542d(0x213)]();}},_0x1e4311;}async['_submitChangeset'](_0x215294,_0x3cf3f6){var _0x502ea4=_0x4d673f,_0x2b377c,_0xb116d3;const {unitType:_0x2b32b1,unitID:_0x24af1c,changeset:_0x3f5ad2}=_0x3cf3f6[_0x502ea4(0x1d7)],_0x1b0ba8={'unitID':_0x24af1c,'memberID':_0x215294[_0x502ea4(0x215)],'type':_0x2b32b1,'changeset':_0x473249(_0x3f5ad2)},_0x5e5eea=this[_0x502ea4(0x2b0)][_0x502ea4(0x2d8)](Un),_0x29a722=this[_0x502ea4(0x2b0)][_0x502ea4(0x2d8)](q),_0x2d8e39=Fn((_0xb116d3=(_0x2b377c=_0x29a722==null?void 0x0:_0x29a722[_0x502ea4(0x2e9)])!=null?_0x2b377c:_0x5e5eea)!=null?_0xb116d3:An,_0x2b32b1,_0x24af1c);try{await this[_0x502ea4(0x21b)]['post'](_0x2d8e39,{'body':_0x1b0ba8});}catch(_0x2e3cd9){throw this[_0x502ea4(0x306)]['error'](_0x502ea4(0x15c),_0x502ea4(0x356)),_0x2e3cd9;}}async[_0x4d673f(0x23f)](_0x28e772){var _0x151825=_0x4d673f;const {unitID:_0x3c68b9,from:_0x3f4726,to:_0x4b00d7,unitType:_0x15c3f0}=_0x28e772[_0x151825(0x1d7)];return(await this['_snapshotServerService'][_0x151825(0x24d)]({'metadata':void 0x0},{'unitID':_0x3c68b9,'type':_0x15c3f0,'from':_0x3f4726,'to':_0x4b00d7}))[_0x151825(0x1a3)];}};Et=Bn([Ue(0x0,_0x4513f6(_0x59bc83)),Ue(0x1,_0x4513f6(_0x4b98ea)),Ue(0x2,_0x50d966),Ue(0x3,_0x4ea18a),Ue(0x4,_0x14ff5d)],Et);const Vn=_0x4d673f(0x339);function Gn(_0x22cfdd){var _0x2d619e=_0x4d673f;return JSON[_0x2d619e(0x236)](_0x22cfdd)[_0x2d619e(0xf8)];}class Ri{constructor(){var _0x3f1fca=_0x4d673f;N(this,_0x3f1fca(0x370),new _0x51c542()),N(this,'commentUpdate$',this[_0x3f1fca(0x370)][_0x3f1fca(0x19c)]());}['onCommentUpdate'](_0xe255ea){var _0x132e12=_0x4d673f;this['_commentUpdate$'][_0x132e12(0x125)](_0xe255ea);}}var Wn=Object[_0x4d673f(0x158)],Kn=Object['getOwnPropertyDescriptor'],Yn=(_0x24e963,_0x33bcb7,_0x59b3c2,_0x5640fa)=>{for(var _0x519283=_0x5640fa>0x1?void 0x0:_0x5640fa?Kn(_0x33bcb7,_0x59b3c2):_0x33bcb7,_0x117d87=_0x24e963['length']-0x1,_0x3312f1;_0x117d87>=0x0;_0x117d87--)(_0x3312f1=_0x24e963[_0x117d87])&&(_0x519283=(_0x5640fa?_0x3312f1(_0x33bcb7,_0x59b3c2,_0x519283):_0x3312f1(_0x519283))||_0x519283);return _0x5640fa&&_0x519283&&Wn(_0x33bcb7,_0x59b3c2,_0x519283),_0x519283;},Kt=(_0x74bd58,_0x3389ee)=>(_0x342cde,_0x26f120)=>_0x3389ee(_0x342cde,_0x26f120,_0x74bd58);let xe=class extends _0x31128a{constructor(_0x33a5d6,_0x15a0d9){var _0x2a5ecf=_0x4d673f;super(),N(this,'_roomMembers',new Map()),N(this,_0x2a5ecf(0x32f),new _0x51c542()),(this[_0x2a5ecf(0x102)]=_0x33a5d6,this[_0x2a5ecf(0xaf)]=_0x15a0d9,this['disposeWithMe'](_0x55a414(this[_0x2a5ecf(0x102)][_0x2a5ecf(0x35d)](_0x5ef5ec[_0x2a5ecf(0x121)])[_0x2a5ecf(0x285)](_0x5b9215(_0x210dd2=>_0x210dd2[_0x2a5ecf(0x208)]())),this[_0x2a5ecf(0x102)]['getTypeOfUnitDisposed$'](_0x5ef5ec[_0x2a5ecf(0x156)])[_0x2a5ecf(0x285)](_0x5b9215(_0x555552=>_0x555552['getUnitId']())),this[_0x2a5ecf(0x102)][_0x2a5ecf(0x35d)](_0x5ef5ec[_0x2a5ecf(0x337)])[_0x2a5ecf(0x285)](_0x5b9215(_0x340fb8=>_0x340fb8['getUnitId']())))[_0x2a5ecf(0x126)](_0x2138c7=>this[_0x2a5ecf(0x204)](_0x2138c7))));}[_0x4d673f(0x21c)](_0x2bd378){var _0x2982fb=_0x4d673f;return this[_0x2982fb(0xc0)][_0x2982fb(0x170)](_0x2bd378)?_0x199eea(this['_roomMembers']['get'](_0x2bd378)):this['_roomCreated$'][_0x2982fb(0x285)](_0x5b9215(_0x51183b=>{var _0x2d49f9=_0x2982fb;if(_0x51183b===_0x2bd378)return this['_roomMembers'][_0x2d49f9(0x2af)](_0x51183b);}));}[_0x4d673f(0xe5)](_0x4029bb){var _0x5d3633=_0x4d673f;this[_0x5d3633(0xaf)][_0x5d3633(0xe5)](_0x4029bb);}[_0x4d673f(0x211)](){var _0x298674=_0x4d673f;return this[_0x298674(0xaf)][_0x298674(0x211)]();}['updateMember'](_0x512efb,_0x2ef0ae){var _0x342743=_0x4d673f;let _0x198fa6=this[_0x342743(0xc0)][_0x342743(0x2af)](_0x512efb);_0x198fa6||(_0x198fa6=new qn(),this['_roomMembers'][_0x342743(0x190)](_0x512efb,_0x198fa6),this[_0x342743(0x32f)][_0x342743(0x125)](_0x512efb)),_0x198fa6['updateMember'](_0x2ef0ae);}[_0x4d673f(0x99)](_0x9d5633,_0x384f6f){var _0x331769=_0x4d673f;const _0x1c0dd0=this[_0x331769(0xc0)][_0x331769(0x2af)](_0x9d5633);_0x1c0dd0&&_0x1c0dd0[_0x331769(0x99)](_0x384f6f);}[_0x4d673f(0x182)](_0x509fbc){var _0x1eb6eb=_0x4d673f;return this['_roomMembers'][_0x1eb6eb(0x2af)](_0x509fbc);}['getMember'](_0x353818,_0x3a031e){var _0x105f86=_0x4d673f;const _0x2b1175=this['_roomMembers']['get'](_0x353818);if(_0x2b1175)return _0x2b1175[_0x105f86(0x12c)](_0x3a031e);}['_removeRoom'](_0x1babcf){var _0x1154a5=_0x4d673f;const _0x2419a4=this['_roomMembers'][_0x1154a5(0x2af)](_0x1babcf);_0x2419a4&&(_0x2419a4[_0x1154a5(0x213)](),this['_roomMembers'][_0x1154a5(0x237)](_0x1babcf));}['dispose'](){var _0xf9e80=_0x4d673f;this[_0xf9e80(0xc0)][_0xf9e80(0x22b)](_0x3bb90d=>_0x3bb90d[_0xf9e80(0x213)]()),this[_0xf9e80(0xc0)]['clear'](),this['_roomCreated$']['complete']();}};xe=Yn([Kt(0x0,_0x5050f9),Kt(0x1,_0x4513f6(_0x4ddab5))],xe);class qn extends _0x31128a{constructor(){var _0x252986=_0x4d673f;super(...arguments),N(this,'_members',new Map()),N(this,_0x252986(0x302),new _0xb1c695(this[_0x252986(0x36a)])),N(this,_0x252986(0xc4),this[_0x252986(0x302)][_0x252986(0x19c)]());}[_0x4d673f(0x213)](){var _0x2c802=_0x4d673f;this[_0x2c802(0x36a)]['clear']();}['updateMember'](_0x25d7af){var _0x1feab4=_0x4d673f;this['_members'][_0x1feab4(0x190)](_0x25d7af[_0x1feab4(0x215)],_0x25d7af),this[_0x1feab4(0x33b)]();}[_0x4d673f(0x99)](_0x11127d){var _0x10e454=_0x4d673f;this[_0x10e454(0x36a)][_0x10e454(0x237)](_0x11127d);}[_0x4d673f(0x12c)](_0x1e468c){var _0x47014f=_0x4d673f;return this['_members'][_0x47014f(0x2af)](_0x1e468c);}[_0x4d673f(0xae)](){var _0x157f67=_0x4d673f;return Array[_0x157f67(0x266)](this[_0x157f67(0x36a)]['values']());}[_0x4d673f(0x33b)](){var _0x23e517=_0x4d673f;this[_0x23e517(0x302)][_0x23e517(0x125)](this[_0x23e517(0x36a)]);}}var zn=Object['defineProperty'],Jn=Object[_0x4d673f(0x37a)],Xn=(_0x21062d,_0x3861cc,_0xdf9cc5,_0x127080)=>{for(var _0xce7449=_0x127080>0x1?void 0x0:_0x127080?Jn(_0x3861cc,_0xdf9cc5):_0x3861cc,_0x370472=_0x21062d['length']-0x1,_0x16bf1d;_0x370472>=0x0;_0x370472--)(_0x16bf1d=_0x21062d[_0x370472])&&(_0xce7449=(_0x127080?_0x16bf1d(_0x3861cc,_0xdf9cc5,_0xce7449):_0x16bf1d(_0xce7449))||_0xce7449);return _0x127080&&_0xce7449&&zn(_0x3861cc,_0xdf9cc5,_0xce7449),_0xce7449;},me=(_0x3cd60c,_0xccd203)=>(_0x3ae271,_0x5b7e53)=>_0xccd203(_0x3ae271,_0x5b7e53,_0x3cd60c),Te=(_0x3b4836=>(_0x3b4836[_0x3b4836[_0x4d673f(0x294)]=0x0]=_0x4d673f(0x294),_0x3b4836[_0x3b4836[_0x4d673f(0x1d3)]=0x1]=_0x4d673f(0x1d3),_0x3b4836[_0x3b4836[_0x4d673f(0x20c)]=0x2]=_0x4d673f(0x20c),_0x3b4836[_0x3b4836['ONLINE']=0x3]=_0x4d673f(0x1ae),_0x3b4836))(Te||{});const Yt={[Ee[_0x4d673f(0x32d)]]:'session.join-failed',[Ee[_0x4d673f(0xf5)]]:_0x4d673f(0x1a8),[Ee[_0x4d673f(0xa9)]]:_0x4d673f(0x1ad),[Ee[_0x4d673f(0x1a4)]]:_0x4d673f(0x1e3),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x4d673f(0x24f)};let It=class extends _0x24e8c4{constructor(_0x1a1234,_0x196e38,_0x4e58bb,_0x8c41d,_0x54bc82,_0x563011,_0x56a2d0,_0x5d279e,_0x26c7a8){var _0x5c68cd=_0x4d673f;super(),N(this,_0x5c68cd(0x22a),new _0xb1c695(0x0)),N(this,_0x5c68cd(0x169),this['_sessionStatus$'][_0x5c68cd(0x19c)]()),N(this,_0x5c68cd(0x137),new _0x51c542()),N(this,'event$',this[_0x5c68cd(0x137)][_0x5c68cd(0x19c)]()),N(this,_0x5c68cd(0x23a)),N(this,_0x5c68cd(0x248)),N(this,_0x5c68cd(0x1ba)),N(this,_0x5c68cd(0x214),!0x1),N(this,_0x5c68cd(0x342),null),(this['_unitID']=_0x1a1234,this[_0x5c68cd(0x306)]=_0x4e58bb,this[_0x5c68cd(0x2b0)]=_0x8c41d,this['_localeService']=_0x54bc82,this['_memberService']=_0x563011,this[_0x5c68cd(0x1de)]=_0x56a2d0,this[_0x5c68cd(0x140)]=_0x5d279e,this['_telemetryService']=_0x26c7a8,this[_0x5c68cd(0x214)]=!!this[_0x5c68cd(0x343)],_0x196e38[_0x5c68cd(0x285)](_0x218a01(this[_0x5c68cd(0x2a4)]))['subscribe'](_0x1fd0d9=>{var _0x66d9bd=_0x5c68cd,_0x39292e;typeof _0x1fd0d9>'u'||(this[_0x66d9bd(0x23a)]=_0x1fd0d9,_0x1fd0d9?(this[_0x66d9bd(0xce)](_0x1fd0d9),this[_0x66d9bd(0x248)]=_0x1fd0d9[_0x66d9bd(0x249)][_0x66d9bd(0x126)](_0x3a7819=>{var _0x3bfeb6=_0x66d9bd;_0x3a7819[_0x3bfeb6(0x2a9)]===this[_0x3bfeb6(0x139)]&&this[_0x3bfeb6(0x178)](_0x3a7819);})):(this['_throwTelemetryCollaborationNewChangeset'](),this['_sessionStatus$']['next'](0x2),(_0x39292e=this[_0x66d9bd(0x248)])==null||_0x39292e[_0x66d9bd(0x299)](),this[_0x66d9bd(0x248)]=null));}));}get['sessionStatus'](){var _0x3900c4=_0x4d673f;return this[_0x3900c4(0x22a)]['getValue']();}[_0x4d673f(0x21f)](){var _0x19ffa4,_0x2e6030;return(_0x2e6030=(_0x19ffa4=this['_socket'])==null?void 0x0:_0x19ffa4['memberID'])!=null?_0x2e6030:null;}[_0x4d673f(0x213)](){var _0x364650=_0x4d673f;super[_0x364650(0x213)](),this['dispose$'][_0x364650(0x125)](),this[_0x364650(0x2a4)]['complete']();}[_0x4d673f(0x1c7)](){var _0xb67c60=_0x4d673f,_0x8db309,_0x3621b9;this[_0xb67c60(0xd1)](),(_0x8db309=this[_0xb67c60(0x23a)])==null||_0x8db309[_0xb67c60(0x240)]({'cmd':F[_0xb67c60(0x26d)],'data':{'roomID':this[_0xb67c60(0x139)]}}),(_0x3621b9=this[_0xb67c60(0x23a)])==null||_0x3621b9[_0xb67c60(0x1c7)](),this[_0xb67c60(0x137)]['complete'](),this[_0xb67c60(0x22a)][_0xb67c60(0x1a1)](),this['dispose']();}[_0x4d673f(0x178)](_0x531fac){var _0x2c5309=_0x4d673f;_0x531fac[_0x2c5309(0x179)]===F[_0x2c5309(0x263)]?this['_onJoinRoomEvent'](_0x531fac):_0x531fac[_0x2c5309(0x179)]===F[_0x2c5309(0x1f0)]&&this['_onRecvEvent'](_0x531fac);}[_0x4d673f(0xce)](_0x17c2c7){var _0x568d09=_0x4d673f;this[_0x568d09(0x22a)][_0x568d09(0x125)](0x1),_0x17c2c7['send']({'cmd':F['JOIN'],'routeKey':this[_0x568d09(0x139)],'routeType':'','data':{'rooms':[{'roomID':this[_0x568d09(0x139)]}]}});}[_0x4d673f(0x349)](_0x47d101){var _0x75bf64=_0x4d673f,_0x28c824;if(_0x47d101[_0x75bf64(0x2a5)]in Yt){this[_0x75bf64(0x140)][_0x75bf64(0x243)]({'id':se[_0x75bf64(0x316)],'data':Yt[_0x47d101['code']]}),this['_sessionStatus$'][_0x75bf64(0x125)](0x2);return;}this[_0x75bf64(0x22a)][_0x75bf64(0x125)](0x3);const _0x3e67af=(_0x28c824=_0x47d101[_0x75bf64(0x1d7)][_0x75bf64(0x323)][this[_0x75bf64(0x139)]])==null?void 0x0:_0x28c824[_0x75bf64(0x258)];_0x3e67af&&_0x3e67af[_0x75bf64(0x22b)](_0x168f35=>this[_0x75bf64(0xff)][_0x75bf64(0x14a)](this['_unitID'],_0x168f35));}[_0x4d673f(0xf7)](_0x59742d){var _0x896f6=_0x4d673f;try{const _0x574e35=_0x59742d[_0x896f6(0x1d7)];switch(_0x574e35[_0x896f6(0xac)]){case _0x73852e['USERS_ENTER']:this[_0x896f6(0x1a0)](_0x574e35),this[_0x896f6(0x137)][_0x896f6(0x125)](_0x574e35);break;case _0x73852e[_0x896f6(0x1dd)]:this[_0x896f6(0x30a)](_0x574e35),this[_0x896f6(0x137)][_0x896f6(0x125)](_0x574e35);break;case _0x73852e['CHANGESET_ACK']:case _0x73852e[_0x896f6(0x10d)]:this[_0x896f6(0x1b1)](),this[_0x896f6(0x207)](),this[_0x896f6(0x137)][_0x896f6(0x125)](_0x574e35);break;case _0x73852e['MSG_FOR_ERROR']:this[_0x896f6(0x306)][_0x896f6(0x32c)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x574e35)),this[_0x896f6(0x137)][_0x896f6(0x125)](_0x574e35);break;case _0x73852e[_0x896f6(0xa7)]:this['_commentService'][_0x896f6(0x224)](_0x574e35['data']),this[_0x896f6(0x137)][_0x896f6(0x125)](_0x574e35);break;default:this[_0x896f6(0x137)]['next'](_0x574e35);}}catch(_0x3f9ca4){this[_0x896f6(0x306)][_0x896f6(0x32c)](_0x3f9ca4,_0x59742d);}}[_0x4d673f(0x1a0)](_0x3bca6a){var _0x4bf044=_0x4d673f;this[_0x4bf044(0xff)][_0x4bf044(0x14a)](this[_0x4bf044(0x139)],_0x3bca6a[_0x4bf044(0x1d7)]);}[_0x4d673f(0x30a)](_0x150d5b){var _0x1821e3=_0x4d673f;this[_0x1821e3(0xff)]['removeMember'](this['_unitID'],_0x150d5b[_0x1821e3(0x1d7)]['memberID']);}async[_0x4d673f(0x240)](_0x34259f,_0x27654a){var _0x393669=_0x4d673f;if(this['sessionStatus']!==0x3||!this[_0x393669(0x23a)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x34259f['eventID']===_0x73852e[_0x393669(0x195)]&&(this[_0x393669(0x134)](),this[_0x393669(0x275)](_0x34259f)),this[_0x393669(0x23a)]['send']({'cmd':F[_0x393669(0x105)],'routeKey':_0x27654a,'routeType':'','data':_0x34259f});}catch(_0x3a44ea){this[_0x393669(0x306)][_0x393669(0x32c)](_0x3a44ea);}}[_0x4d673f(0x134)](){var _0x1dcd87=_0x4d673f,_0x1cf6d4;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0xc991c6=_0x1e69;this[_0xc991c6(0x1ba)]=null,this['_collaborationUIEventService'][_0xc991c6(0x243)]({'id':se[_0xc991c6(0x24a)]});},(_0x1cf6d4=this[_0x1dcd87(0x2b0)]['getConfig'](Si))!=null?_0x1cf6d4:Ei);}[_0x4d673f(0x207)](){var _0x352d9f=_0x4d673f;this[_0x352d9f(0x1ba)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x352d9f(0x1ba)]=null);}[_0x4d673f(0x275)](_0x1a1708){var _0x307275=_0x4d673f;if(!this[_0x307275(0x214)])return;const {data:_0x4e33c0}=_0x1a1708,{unitID:_0x30a334,changeset:_0x47b18e}=_0x4e33c0,{mutations:_0x309250,type:_0xc4c6ac}=_0x47b18e;this[_0x307275(0x342)]={'unitId':_0x30a334,'type':_0xc4c6ac,'startTime':performance[_0x307275(0x309)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x309250)};}[_0x4d673f(0x1b1)](){var _0x1ca12a=_0x4d673f;if(this['_shouldReportTelemetry']){if(!this[_0x1ca12a(0x342)]){this[_0x1ca12a(0x306)][_0x1ca12a(0x32c)](_0x1ca12a(0x15c),_0x1ca12a(0x1cd));return;}this[_0x1ca12a(0x342)][_0x1ca12a(0x291)]=performance[_0x1ca12a(0x309)](),this['_telemetryInfo'][_0x1ca12a(0xf1)]=this[_0x1ca12a(0x342)][_0x1ca12a(0x291)]-this[_0x1ca12a(0x342)][_0x1ca12a(0x1b5)],this[_0x1ca12a(0x343)]['capture'](Vn,this[_0x1ca12a(0x342)]),this[_0x1ca12a(0x342)]=null;}}[_0x4d673f(0xd1)](){var _0x2afa53=_0x4d673f;this[_0x2afa53(0x342)]=null;}};It=Xn([me(0x2,_0x4ea18a),me(0x3,_0x50d966),me(0x4,_0x4513f6(_0x17a1db)),me(0x5,_0x4513f6(xe)),me(0x6,_0x4513f6(Ri)),me(0x7,_0x4513f6(pe)),me(0x8,_0x1ef01f(_0x5aa849))],It);var Zn=Object[_0x4d673f(0x158)],Qn=Object[_0x4d673f(0x37a)],er=(_0x357006,_0x5d472a,_0x323553,_0xf41f2c)=>{var _0x45f62f=_0x4d673f;for(var _0x757271=_0xf41f2c>0x1?void 0x0:_0xf41f2c?Qn(_0x5d472a,_0x323553):_0x5d472a,_0x4a7268=_0x357006[_0x45f62f(0xf8)]-0x1,_0x3ef6ca;_0x4a7268>=0x0;_0x4a7268--)(_0x3ef6ca=_0x357006[_0x4a7268])&&(_0x757271=(_0xf41f2c?_0x3ef6ca(_0x5d472a,_0x323553,_0x757271):_0x3ef6ca(_0x757271))||_0x757271);return _0xf41f2c&&_0x757271&&Zn(_0x5d472a,_0x323553,_0x757271),_0x757271;},ge=(_0x3c651c,_0x180c30)=>(_0x5a27c4,_0x16b265)=>_0x180c30(_0x5a27c4,_0x16b265,_0x3c651c);let Le=class extends _0x31128a{constructor(_0x2f9c8d,_0x38d461,_0x56c0e4,_0x2a9527,_0x40e73e,_0x5921d8,_0x382d79){var _0x35962c=_0x4d673f;super(),N(this,_0x35962c(0x91),new _0xb1c695(void 0x0)),N(this,_0x35962c(0x148),this[_0x35962c(0x91)][_0x35962c(0x19c)]()),N(this,_0x35962c(0x310),null),N(this,'_sessions',new Map()),N(this,_0x35962c(0x13b),new _0xb1c695(Te[_0x35962c(0x294)])),N(this,_0x35962c(0x163),this[_0x35962c(0x13b)][_0x35962c(0x19c)]()),N(this,_0x35962c(0x288),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x35962c(0xc9),0x0),N(this,_0x35962c(0xc3)),N(this,'_timeoutTimer'),(this['_injector']=_0x2f9c8d,this[_0x35962c(0x306)]=_0x38d461,this['_configService']=_0x56c0e4,this[_0x35962c(0x2a3)]=_0x2a9527,this[_0x35962c(0x2b4)]=_0x40e73e,this[_0x35962c(0x140)]=_0x5921d8,this[_0x35962c(0x2de)]=_0x382d79,this['_listenToNetworkCondition']());}get['_socket'](){return this['_socket$']['getValue']();}[_0x4d673f(0x95)](){var _0x206bdf=_0x4d673f;this[_0x206bdf(0x2de)]&&this[_0x206bdf(0x2fa)](this[_0x206bdf(0x2de)][_0x206bdf(0xe8)]['subscribe'](_0x103ffe=>{var _0x233633=_0x206bdf;_0x103ffe&&!this[_0x233633(0x23a)]&&this['reconnect'](),_0x103ffe||this[_0x233633(0x360)]();}));}[_0x4d673f(0x213)](){var _0x41ffe7=_0x4d673f;super[_0x41ffe7(0x213)](),this[_0x41ffe7(0x317)][_0x41ffe7(0x22b)](_0x38c157=>_0x38c157[_0x41ffe7(0x213)]()),this[_0x41ffe7(0x317)][_0x41ffe7(0x2b1)](),this[_0x41ffe7(0x13b)][_0x41ffe7(0x1a1)]();}async[_0x4d673f(0x36e)](_0x13242b){var _0x387055=_0x4d673f;if(this[_0x387055(0x317)][_0x387055(0x170)](_0x13242b))return this[_0x387055(0x317)][_0x387055(0x2af)](_0x13242b);this[_0x387055(0x9c)]();const _0x4decec=this[_0x387055(0x247)][_0x387055(0x173)](It,_0x13242b,this[_0x387055(0x91)][_0x387055(0x19c)]());return this[_0x387055(0x317)][_0x387055(0x190)](_0x13242b,_0x4decec),_0x4decec;}['closeSession'](_0x3a2491){var _0x513fac=_0x4d673f,_0x3bbdc2;const _0x206daa=this[_0x513fac(0x317)][_0x513fac(0x2af)](_0x3a2491);_0x206daa&&(this[_0x513fac(0x317)][_0x513fac(0x237)](_0x3a2491),_0x206daa[_0x513fac(0x1c7)]()),this['_sessions'][_0x513fac(0x2b5)]||(_0x3bbdc2=this[_0x513fac(0x23a)])==null||_0x3bbdc2['close']();}[_0x4d673f(0x265)](){var _0x9a8189=_0x4d673f;this[_0x9a8189(0xc9)]=0x0,this[_0x9a8189(0x328)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this['_tryReconnect']();}async[_0x4d673f(0x2f6)](){var _0x260c88=_0x4d673f,_0x135c75,_0x1ba898,_0xa802d6;const _0x5e9698=this['_configService'][_0x260c88(0x2d8)](q),_0x482390=(_0x135c75=_0x5e9698==null?void 0x0:_0x5e9698['wsSessionTicketUrl'])!=null?_0x135c75:On;return(_0xa802d6=(_0x1ba898=(await this['_httpService']['get'](_0x482390,{'headers':{'Content-Type':_0x260c88(0x8f)}}))['body'])==null?void 0x0:_0x1ba898[_0x260c88(0x206)])!=null?_0xa802d6:'';}[_0x4d673f(0x2c8)](_0x33c90d){var _0x117e40=_0x4d673f,_0xe0738f,_0x5a612a;const _0x15d1bf=this[_0x117e40(0x2b0)][_0x117e40(0x2d8)](Rn),_0x341805=this['_configService'][_0x117e40(0x2d8)](q),_0x512917=(_0x5a612a=(_0xe0738f=_0x341805==null?void 0x0:_0x341805[_0x117e40(0x150)])!=null?_0xe0738f:_0x15d1bf)!=null?_0x5a612a:bn,_0x426655=typeof window>'u'?new URL(_0x512917):new URL(_0x512917,window[_0x117e40(0x276)][_0x117e40(0x2e6)]);_0x426655[_0x117e40(0x196)]['set'](_0x117e40(0x287),_0x33c90d);const _0x377539=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x117e40(0x276)]['search']);return _0x377539['get'](_0x117e40(0x1f8))&&_0x426655[_0x117e40(0x196)][_0x117e40(0x190)]('runId',_0x377539[_0x117e40(0x2af)](_0x117e40(0x1f8))),_0x426655[_0x117e40(0xf3)]();}async[_0x4d673f(0x277)](){var _0xb39c16=_0x4d673f;const _0x5aa494=await this[_0xb39c16(0x2f6)](),_0x4f43f0=this[_0xb39c16(0x2c8)](_0x5aa494),_0x120734=this['_socketService'][_0xb39c16(0xbc)](_0x4f43f0);return this[_0xb39c16(0x310)]=_0x120734,_0x120734;}async[_0x4d673f(0x9c)](){var _0x3c5fe2=_0x4d673f,_0x4bd5f1,_0x2d3698;try{const _0x3fe9ce=(_0x2d3698=(_0x4bd5f1=this[_0x3c5fe2(0x23a)])!=null?_0x4bd5f1:this[_0x3c5fe2(0x310)])!=null?_0x2d3698:await this[_0x3c5fe2(0x277)]();if(_0x3fe9ce){const _0x3e2f98=_0x3fe9ce[_0x3c5fe2(0x240)];_0x3fe9ce[_0x3c5fe2(0x240)]=_0x4459e4=>(this[_0x3c5fe2(0x1d0)](),_0x3e2f98[_0x3c5fe2(0x1f9)](_0x3fe9ce,[_0x4459e4])),_0x3fe9ce[_0x3c5fe2(0x249)]['subscribe'](_0x518694=>this['_onMessage'](_0x3fe9ce,_0x518694)),_0x3fe9ce[_0x3c5fe2(0x185)][_0x3c5fe2(0x285)](_0x2db412(0x1))['subscribe'](_0x1b2972=>this[_0x3c5fe2(0x306)][_0x3c5fe2(0x32c)](_0x3c5fe2(0x1aa),_0x1b2972)),_0x3fe9ce['open$']['pipe'](_0x2db412(0x1))[_0x3c5fe2(0x126)](()=>{var _0x38b5c8=_0x3c5fe2;this[_0x38b5c8(0x23e)](_0x3fe9ce);}),_0x3fe9ce['close$']['pipe'](_0x2db412(0x1))[_0x3c5fe2(0x126)](_0x7bd425=>{var _0x4909f2=_0x3c5fe2;this['_logService'][_0x4909f2(0x34f)]('[CollaborationSessionService]',_0x4909f2(0x32e),_0x7bd425),this[_0x4909f2(0x116)]();});}}catch(_0xc964d1){this[_0x3c5fe2(0x306)][_0x3c5fe2(0x32c)](_0xc964d1),this[_0x3c5fe2(0x116)]();}}[_0x4d673f(0x23e)](_0xb0016c){var _0x343774=_0x4d673f;this[_0x343774(0x306)][_0x343774(0x34f)](_0x343774(0xb9),_0x343774(0x344)),_0xb0016c[_0x343774(0x240)]({'cmd':F[_0x343774(0x107)]}),this[_0x343774(0x1d0)]();}[_0x4d673f(0x360)](){var _0x39db21=_0x4d673f;this['_socketReady']=!0x1,this[_0x39db21(0x310)]=null,this['_status$'][_0x39db21(0x125)](Te[_0x39db21(0x20c)]),this['_socket$'][_0x39db21(0x125)](null),this[_0x39db21(0x103)](),this[_0x39db21(0xdf)]();}[_0x4d673f(0x116)](){var _0x37a044=_0x4d673f,_0x2ec8da;this['_onOffline'](),this[_0x37a044(0xc9)]<((_0x2ec8da=this[_0x37a044(0x2b0)][_0x37a044(0x2d8)](Pn))!=null?_0x2ec8da:wn)?(this[_0x37a044(0x140)][_0x37a044(0x243)]({'id':se[_0x37a044(0x136)]}),this[_0x37a044(0x1ab)]()):this[_0x37a044(0x140)][_0x37a044(0x243)]({'id':se['SOCKET_FAILED']});}[_0x4d673f(0x1ab)](){var _0x398264=_0x4d673f,_0x5c064a;const _0x21632f=this['_retryCount'],_0x9501df=this[_0x398264(0x2b0)][_0x398264(0x2d8)](q),_0x2e042d=_0x21632f===0x0?0x0:((_0x5c064a=_0x9501df==null?void 0x0:_0x9501df[_0x398264(0x2c6)])!=null?_0x5c064a:Dn)*0x2**_0x21632f;this[_0x398264(0x328)]=setTimeout(()=>{var _0x1e2cff=_0x398264;clearTimeout(this[_0x1e2cff(0x328)]),this[_0x1e2cff(0x328)]=null,this['_tryEnsureSocket']();},_0x2e042d),this[_0x398264(0xc9)]+=0x1;}[_0x4d673f(0x35c)](_0x92b525,_0x2657ff){var _0x3b1e4b=_0x4d673f;const {cmd:_0x4b23f3}=_0x2657ff;_0x4b23f3===F['HELLO']&&!this['_socketReady']&&(_0x92b525['memberID']=_0x2657ff[_0x3b1e4b(0x1d7)][_0x3b1e4b(0x215)],this[_0x3b1e4b(0x91)][_0x3b1e4b(0x125)](_0x92b525),this[_0x3b1e4b(0x13b)][_0x3b1e4b(0x125)](Te['ONLINE']),this['_socketReady']=!0x0,this[_0x3b1e4b(0x310)]=null),_0x4b23f3===F[_0x3b1e4b(0x318)]&&this[_0x3b1e4b(0x103)](),this[_0x3b1e4b(0x1d0)]();}[_0x4d673f(0x1d0)](){var _0x276774=_0x4d673f,_0x418457;this[_0x276774(0xdf)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x276774(0x172)](),(_0x418457=this['_configService'][_0x276774(0x2d8)](yn))!=null?_0x418457:Nn);}[_0x4d673f(0x172)](){var _0x5c8351=_0x4d673f;this[_0x5c8351(0x23a)][_0x5c8351(0x240)]({'cmd':F[_0x5c8351(0x318)]}),this[_0x5c8351(0x2c5)]();}[_0x4d673f(0x2c5)](){var _0x1d1a93=_0x4d673f,_0x15548f;this[_0x1d1a93(0x119)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x15548f=this[_0x1d1a93(0x2b0)][_0x1d1a93(0x2d8)](Si))!=null?_0x15548f:Ei);}[_0x4d673f(0xdf)](){var _0x175a1f=_0x4d673f;this[_0x175a1f(0xc3)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x175a1f(0xc3)]=null);}[_0x4d673f(0x103)](){var _0xf1b892=_0x4d673f;this['_timeoutTimer']!=null&&(clearTimeout(this[_0xf1b892(0x119)]),this[_0xf1b892(0x119)]=null);}};Le=er([ge(0x0,_0x4513f6(_0x59bc83)),ge(0x1,_0x4ea18a),ge(0x2,_0x50d966),ge(0x3,Ci),ge(0x4,_0x4513f6(_0x4b98ea)),ge(0x5,_0x4513f6(pe)),ge(0x6,_0x1ef01f(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x4d673f(0xf3)](0x10)['slice'](0x1));function tr(_0x5f40bb,_0x441860=0x0){var _0x6501b8=_0x4d673f;return(V[_0x5f40bb[_0x441860+0x0]]+V[_0x5f40bb[_0x441860+0x1]]+V[_0x5f40bb[_0x441860+0x2]]+V[_0x5f40bb[_0x441860+0x3]]+'-'+V[_0x5f40bb[_0x441860+0x4]]+V[_0x5f40bb[_0x441860+0x5]]+'-'+V[_0x5f40bb[_0x441860+0x6]]+V[_0x5f40bb[_0x441860+0x7]]+'-'+V[_0x5f40bb[_0x441860+0x8]]+V[_0x5f40bb[_0x441860+0x9]]+'-'+V[_0x5f40bb[_0x441860+0xa]]+V[_0x5f40bb[_0x441860+0xb]]+V[_0x5f40bb[_0x441860+0xc]]+V[_0x5f40bb[_0x441860+0xd]]+V[_0x5f40bb[_0x441860+0xe]]+V[_0x5f40bb[_0x441860+0xf]])[_0x6501b8(0xb6)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x34d520=_0x4d673f;if(!ut){if(typeof crypto>'u'||!crypto[_0x34d520(0x159)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto['getRandomValues'][_0x34d520(0x88)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x4d673f(0x363)]&&crypto[_0x4d673f(0x363)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0xee9ef8,_0x473688,_0x4715cb){var _0x1501a2=_0x4d673f,_0x39ec1d,_0x478bac,_0x4540d2;if(qt[_0x1501a2(0x363)]&&!_0xee9ef8)return qt[_0x1501a2(0x363)]();_0xee9ef8=_0xee9ef8||{};const _0x1b7e35=(_0x4540d2=(_0x478bac=_0xee9ef8[_0x1501a2(0x311)])!=null?_0x478bac:(_0x39ec1d=_0xee9ef8[_0x1501a2(0x100)])==null?void 0x0:_0x39ec1d['call'](_0xee9ef8))!=null?_0x4540d2:nr();if(_0x1b7e35['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x1b7e35[0x6]=_0x1b7e35[0x6]&0xf|0x40,_0x1b7e35[0x8]=_0x1b7e35[0x8]&0x3f|0x80,tr(_0x1b7e35);}const J=_0x9c7f96(_0x4d673f(0x23c));function _0x308f(){var _0x1a50c4=['_doReset','onTransformState','LEAVE','_changesetSessionId','APPLY_REVISION_CONFILICT','getUnit','_transitionLocked','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','ivSize','onRemoteChangeset','_startTelemetryCollaborationNewChangeset','location','_createSocket','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','fetch_missing','objects','authzUrl','editingUnit','?url=','145902PpXSpj','find','MD5','\x20-\x20','Error\x20on\x20receiving\x20event','Hex','_entities','pipe','unknown','sessionTicket','_socketReady','1670031EECZsy','saveSnapshot','PSEUDO_FETCH_MISSING_RESULT','972660WZCMTV','onSyncEditingCollabCursor','unitId\x20is\x20not\x20found','_registerDependencies','includes','stopTime','/universer-api/snapshot','APPLY_DUPLICATED','IDLE','_compressMutationService','body','_getAPIPrefix','LIVESHARE_OPERATION','unsubscribe','univer-pro.collaboration-client-socket-service','_queuedRemoteChangesets','_cipher','listRoles','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','filter','&to=','selections','saveChangeset','_socketService','dispose$','code','_remoteChangesetQueue','BlockCipherMode','/object/','routeKey','COMPRESS_MUTATION_SEND','_nDataBytes','updatePermissionObjEvent','LOCAL_CACHE_INTERVAL','_startCollaboration','get','_configService','clear','roles','onSendChangeset','_httpService','size','_transformSelections','Base64','target','3177uxtphN','/universer-api/user/session-ticket','list','UNIVER_PROJECT','_iKey','format','getUnitStatus$','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_invKeySchedule','exports','_resendTimeout','UNRECOGNIZED','_waitForHeartbeatResponse','retryConnectingInterval','toggleOnline','_createSocketURL','listCollaborators','type','LIVESHARE_REQUEST_HOST','onStateChange','_unlockTransition','Latin1','awaiting','YUUMI_RATE_OVER_LIMIT','Malformed\x20UTF-8\x20data','rev','HmacMD5','onRemoteRetry','mode','crypto','byteOffset','getConfig','hasher','action','getUnitType','CONNECTOR_DATA_TOO_LARGE','CLOSE_ROOM','_networkConditionService','_key','_transformStateCache','mixIn','repeat','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','OTHER_CLIENT_EDITING','origin','conflict','__Key__','collabSubmitChangesetUrl','resourceIDs','DEFAULT_FILE_NAME','_data','/fetchmissing?from=','reset','_state','onMissingChangesets','/-/object/list','fetchMiss','70IHWckb','INTERNAL_ERROR','_getCtorByUniverType','_getSessionTicket','execute','unitId','_clearRedo','disposeWithMe','_substituteRedoStack','subject','_imageSourceCache','_config','failed\x20to\x20apply\x20missed\x20changesets!','loadUnit','algo','_members$','_redoStacks','_submitChangeset','USERS_ENTER','_logService','/universer-api/comb','SNAPSHOT_URL_KEY','now','_onUserLeave','params','_onRemoteACK','byteLength','_scheduleCompleteTimestamp','splice','_candidateSocket','random','_initCloseConn','offline','_initMergeInterceptor','setWaitCount','JOIN_ROOM_FAILED','_sessions','HEARTBEAT','COLLAB_WEB_SOCKET_URL','kdf','onload','setShowComponents','sendChangesetTimeout','abs','not_collab','slice','encode','_nRounds','roomInfos','_doCryptBlock','updateCollaborator','loadOfflineData','_keySchedule','_retryConnectingTimer','LICENSE_IMPORT_SIZE_EXCEEDED','unit-cache-','PERSON','error','FAIL','socket\x20close','_roomCreated$','connection\x20error','encryptBlock','lib','getFocusedUnit','_toggleOnline','_createInitialState','extend','UNIVER_SLIDE','ciphertext','collaboration_new_changeset','_reverseMap','_emitMembers','decrypt','INVALID_ARGUMENT','_resendWithTimeout','href','addHandlerCallback','interceptor','_telemetryInfo','_telemetryService','socket\x20open.','LIVESHARE_NEW_HOST','MSG_FOR_ERROR','default','MUTATION','_onJoinRoomEvent','COMPRESS_MUTATION_APPLY','/universer-api/stream/file/upload','downloadEndpointUrl','entityInit$','permissionRejEvent','debug','_toggleOffline','/rev/','_schedule','[PendingState]:\x20received\x20acknowledgement.','Hasher','UPDATE_PERMISSION_OBJ','submit\x20changeset\x20error!','synced','_createInitialStateImpl','map','createCollaborator','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_onMessage','getTypeOfUnitDisposed$','LICENSE_DISTRO_REJECTED','SNAPSHOT_INVALID_SNAPSHOT','_onOffline','then','liveShareOperation','randomUUID','max','getInterceptPoints','append','[PendingState]:\x20unhandled\x20univer\x20type:\x20','COMPLETION_FINISHED','transformUndoRedo','_members','[FetchMissState]','infoRsp','onTransformSelections','requireSession','/resources','_commentUpdate$','_getUndoStack','_updateState','/unit/','UNISCRIPT_RUN','UNKNOWN_CODE','incrementRevOfUnit','pauseCollaboration','objectType','_exhaustRemoteChangesetQueue','getOwnPropertyDescriptor','HttpImport','_onRemoteChangeset','bind','YUUMI_URL_COL_OUT_OF_RANGE','_loadDoc','image/bmp','/universer-api/authz','fromCollab','LIVESHARE_TERMINATE','application/json','salt','_socket$','_sender','updateCursorEvent','/new_changes','_listenToNetworkCondition','_lockTransition','revision','findIndex','removeMember','_hasher','_clearScheduledTask','_tryEnsureSocket','UNIVER_COLLABORATION_CLIENT_PLUGIN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','OTHER_CLIENTS_EDITING','SUCCUSS','isArray','isPermissionRej','onRemoteRej','result','{fileID}','/block/','COMMENT_UPDATE','sid','JOIN_ROOM_NOT_EXISTS','Cipher','_transformService','eventID','allowed','getAllMembers','_userManagerService','APPLY_PERMISSION_DENIED','SHA1','_getSendChangesetTimeout','/-/object/-/batch_allowed','Undefined','cfg','toLowerCase','hostname','_updateLocalCache','[CollaborationSessionService]','BlockCipher','_collabSessionService','createSocket','loadSheet','\x20in\x20_schedule.','readAsDataURL','_roomMembers','method','UNDEFINED','_sendHeartbeatTimer','members$','SOCKET_FAILED','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','updateOfflineData','_pendingMutations','_retryCount','socketService','FETCH_MISSING','indexOf','_instanceService','_joinRoom','pending','ERROR_IMAGE','_throwTelemetryCollaborationNewChangeset','HMAC','substr','_iv','34550QCFTts','objectID','_revisionService','state','baseRev','actions','awaitingChangeset','patch','onlyLocal','_localeService','_clearHeartbeatTimer','_changesetReqId','compute','json','responseType','closeSession','setCurrentUser','avatar','onTransformIME','online$','EvpKDF','m2Prime','createDecryptor','_createHmacHelper','__creator','registerHTTPInterceptor','function','FileId','duration','_executeRemoteChangeset','toString','_commandService','JOIN_ROOM_FULL','_prevBlock','_onRecvEvent','length','addImageSourceCache','SYNCED','_getUploadFileURL','toggleOffline','_unitInfo$','event$','_memberService','rng','collaborators','_univerInstanceService','_clearTimeoutTimer','Encryptor','INGEST','transformSelections','HELLO','onMissedChangesetFetched','BASE64','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','ERROR_IMAGE_TYPE','APPLY_REJECT','CHANGESET_SHOULD_RETRY','encrypt','_checkMissing','_acknowledgedAwaitingChangeset','status','/universer-api/file/{fileID}/sign-url','_incrementRevisionNumber','_ENC_XFORM_MODE','_onRemoteRejected','_onConnectionFailed','_transformIMECache','image/png','_timeoutTimer','sin','blockSize','_keyPriorReset','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','CBC','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCollabEntity$','UNIVER_SHEET','LOGIN_URL_KEY','_parse','YUUMI_UNABLE_LOAD_URL','next','subscribe','_getRedoStack','EXCHANGE_SIGN_URL_SERVER_URL_KEY','headers','UNKNOWN_CMD','put','getMember','init','getTypeOfUnitAdded$','reject','YUUMI_SUBSCRIPTION_NOT_FOUND','/collaborator','_transformRemoteChangesetByIMECache','getCollabEntity','_scheduleCollaborationTimeoutTimer','concat','SOCKET_FAILED_RETRY','_event$','keySize','_unitID','msCrypto','_status$','_showConflictNotification','SHOULD_CLOSE_CONN','hasOwnProperty','awaiting_with_pending','_collaborationUIEventService','reverse','unitID','collaboratorID','Could\x20not\x20dynamically\x20require\x20\x22','liveShareNewHost','8696tVLaIi','_snapshotService','socket$','updatePermissionPoint','updateMember','_createHelper','UnitEmbedded','_doFinalize','_HTTPService','_sheetTransformSelectionsService','collabWebSocketUrl','_createHandler','withCredentials','parse','LIVESHARE_FETCH_OPERATIONS','update','UNIVER_DOC','?size=','defineProperty','getRandomValues','reduce','ALREADY_EXISTS','[CollaborationSession]','fetchThroughInterceptors','resend','People','readInt32LE','pad','_clearLocalCache','status$','objectActions','transformStack\x20failed!','clone','textRanges','CHANGESET_REJ','sessionStatus$','_change$','_oKey','_getCurrentRevision','originalMeta','appendMutation','PasswordBasedCipher','has','[CollaborationState]:\x20apply\x20error!','_sendHeartbeat','createInstance','7855wOdLqA','sheets','range','_entityInit$','_onCombEvent','cmd','_awaitingChangeset','transformChangesets','_waitCount','collaboration-client.config','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getImageSourceCache','[DataLoaderService]','processBlock','getRoom','[OfflineState]:\x20received\x20acknowledgement.','sigBytes','error$','_append','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_hash','LICENSE_MAX_UNITS_EXCEEDED','_xformMode','add','POST','Base','_disableEditing','subUnitId','set','LICENSE_EXPORT_SIZE_EXCEEDED','randomBytes','NoPadding','NOT_COLLAB','SUBMIT_CHANGESET','searchParams','_localCacheService','_permissionService','_handlerCallback','transformMutationsWithChangeset','[OfflineState]:\x20received\x20changeset.','asObservable','[CollaborationEntity]','_undoRedoService','floor','_onUserJoin','complete','push','changesets','JOIN_ROOM_PERMISSION_DENIED','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','NO_OTHER_CLIENTS_EDITING','name','session.room-full','disableLocalCache','[CollaborationSessionService]:\x20socket\x20error','_tryReconnect','x-univer-host','session.room-not-exists','ONLINE','encodeURIComponent','_doProcessBlock','_stopTelemetryCollaborationNewChangeset','csAckEvent','_map','symbol','startTime','HEARTBEAT_INTERVAL','UPDATE_CURSOR','getSnapshotAPIPath','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_collaborationTimeoutTimer','_type','src','AES','\x0aCurrent:\x20','_transformRemoteChangesetByStateCache','_initDependencies','FETCH_MISS','onRemoteAck','c1Prime','34520yHlVov','AUTHZ_URL_KEY','string','close','getCurrentRevOfUnit','CONFLICT','$super','key','onTransformRemoteChangesetByStateCache','telemetry\x20info\x20is\x20not\x20initialized','_onFetchMissResult','SerializableCipher','_rescheduleHeartbeat','clamp','reqId','JOINING','prototype','_onRemoteRetry','unitInfo$','data','c2Prime','_clearUndo','enc','getTime','WordArray','USERS_LEAVE','_commentService','session','_onLocalMutation','onTransformRemoteChangesetByIMECache','_loadSheet','session.room-permission-denied','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','auth.needGotoLoginAlert','ws://127.0.0.1:8000/universer-api/comb/connect','OpenSSL','url','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_handler','newCsEvent','call','_replaceFileID','_transformStack','_mode','RECV','entries','604lSmmjX','image/jpg','_snapshotServerService','Decryptor','COLLAB_SUBMIT_CHANGESET_URL','_replayCachedMutations','runId','apply','localeService','APPLY_NON_SEQUENTIAL_REVISION','PERMISSION_REJ','PY_RUNTIME_SCRIPT_ERROR','BufferedBlockAlgorithm','words','mutations','8qTPQUY','_applyRemoteChangeset','_singleActiveUnitService','_removeRoom','uniscriptRunEvent','ticket','_clearCollaborationTimeoutTimer','getUnitId','[CollaborationUndoRedoService]','executeCommand','snapshot','OFFLINE','_syncEditingCollabCursor','post','_resendTimer','_getAPIPrefixPath','getCurrentUser','_init','dispose','_shouldReportTelemetry','memberID','finalize','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','[OfflineState]:\x20received\x20rejection.','title','_http','waitForRoom$','CHANGESET_ACK','close$','getMemberID','_getSignURL','signUrlServerUrl','_onConflict','pluginName','onCommentUpdate','joinRsp','_collaborationSessionService','_authzIoService','RETRY_CONNECTING_MAX_COUNT','Utf8','_sessionStatus$','forEach','replace','UNAUTHENTICATED','/role','create','csRejEvent','_substituteUndoStack','saveSheetBlock','charCodeAt','enableOfflineEditing','join','stringify','delete','joinEvent','[PendingState]:\x20received\x20rejection.','_socket','SNAPSHOT_HAS_BEEN_REMOVED','collaboration-client.local-cache-service','ceil','_onConnectionOpen','_fetchMissChangesets','send','setConfig','NOT_FOUND','emitEvent','_updateStatus','min','file','_injector','_socketMessageSubscription','message$','SUBMIT_CHANGESET_TIMEOUT','UNIVER_UNKNOWN','OPTIONAL','fetchMissingChangesets','/universer-api/oidc/authpage','session.room-cnt-exceeds','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','saveImage','AWAITING','/allowed','equals','GLOBAL_ROOMS_CNT_EXCEEDS','_state$','_getDownloadEndpointURL','members','CipherParams','PERMISSION_DENIED','generateRandomId','_sendingTimer','_process','_collaborationPaused','_decreaseWaiting','_initUnitPermissionChange','getActiveSheet','AWAITING_WITH_PENDING','JOIN','TOO_MANY_REQUESTS','reconnect','from','ENSURE_SNAPSHOT_EXECUTION','localCacheService','createEncryptor','decryptBlock'];_0x308f=function(){return _0x1a50c4;};return _0x308f();}function so(_0x423d3a){var _0x2f32ce=_0x4d673f;return _0x2f32ce(0x32a)+_0x423d3a;}var or=Object[_0x4d673f(0x158)],ar=Object[_0x4d673f(0x37a)],cr=(_0x44b63f,_0x522ecc,_0x54233b,_0xa7797b)=>{var _0x167c65=_0x4d673f;for(var _0x2e1f6c=_0xa7797b>0x1?void 0x0:_0xa7797b?ar(_0x522ecc,_0x54233b):_0x522ecc,_0x564b3f=_0x44b63f[_0x167c65(0xf8)]-0x1,_0xaeabdd;_0x564b3f>=0x0;_0x564b3f--)(_0xaeabdd=_0x44b63f[_0x564b3f])&&(_0x2e1f6c=(_0xa7797b?_0xaeabdd(_0x522ecc,_0x54233b,_0x2e1f6c):_0xaeabdd(_0x2e1f6c))||_0x2e1f6c);return _0xa7797b&&_0x2e1f6c&&or(_0x522ecc,_0x54233b,_0x2e1f6c),_0x2e1f6c;},dt=(_0xd08184,_0x372076)=>(_0x55b098,_0x4a67c2)=>_0x372076(_0x55b098,_0x4a67c2,_0xd08184);function hr(_0x2544b){var _0x5b530b=_0x4d673f;const {unitID:_0x455e69,mutations:_0x28c371}=_0x2544b;return{'unitId':_0x455e69,'subUnitId':_0x28c371[0x0]['params'][_0x5b530b(0x18f)]};}let it=class{constructor(_0x45eccb,_0x573926,_0x305742){var _0xc07d15=_0x4d673f;this['_injector']=_0x45eccb,this[_0xc07d15(0xab)]=_0x573926,this[_0xc07d15(0xcd)]=_0x305742;}['transformSelections'](_0x1ff700){var _0x4864c2=_0x4d673f,_0x4cc070,_0x130011,_0x1226f8,_0x821dad;const _0x933ee=this[_0x4864c2(0x247)][_0x4864c2(0x2af)](_0x22dba6),{unitId:_0xf0afb9,subUnitId:_0x10c329}=hr(_0x1ff700),_0x282c5e=_0x933ee==null?void 0x0:_0x933ee['getWorkbookSelections'](_0xf0afb9)['getCurrentSelections'](),_0x564631=(_0x130011=(_0x4cc070=this[_0x4864c2(0xcd)][_0x4864c2(0x270)](_0xf0afb9))==null?void 0x0:_0x4cc070[_0x4864c2(0x261)]())==null?void 0x0:_0x130011['getSheetId']();if(_0x282c5e[_0x4864c2(0xf8)]===0x0||!_0xf0afb9||!_0x10c329)return;const _0x1d67e0=[{'id':_0x3e4304['id'],'params':{'unitId':_0xf0afb9,'subUnitId':_0x564631,'selections':_0x4005cd['deepClone'](_0x282c5e)}}],_0x1d26f7=this[_0x4864c2(0xab)][_0x4864c2(0x19a)](_0x1ff700,_0x1d67e0);if(!_0x4cd9b5(_0x1d26f7))throw _0x1d26f7[_0x4864c2(0x32c)];const _0x3fb70a=(_0x821dad=(_0x1226f8=_0x1d26f7[_0x4864c2(0xea)][0x0])==null?void 0x0:_0x1226f8[_0x4864c2(0x30b)])==null?void 0x0:_0x821dad[_0x4864c2(0x2a1)];if(Array[_0x4864c2(0xa1)](_0x3fb70a)&&_0x3fb70a[_0x4864c2(0xf8)]){if(_0x3fb70a[_0x4864c2(0xf8)]===_0x1d67e0[0x0][_0x4864c2(0x30b)][_0x4864c2(0x2a1)][_0x4864c2(0xf8)]&&_0x3fb70a['every']((_0x1794f6,_0x72bfbf)=>_0xdf2c7d[_0x4864c2(0x254)](_0x1794f6[_0x4864c2(0x176)],_0x1d67e0[0x0][_0x4864c2(0x30b)][_0x4864c2(0x2a1)][_0x72bfbf][_0x4864c2(0x176)])))return;this[_0x4864c2(0x247)][_0x4864c2(0x2af)](_0x390090)[_0x4864c2(0x20a)](_0x3e4304['id'],{'unitId':_0xf0afb9,'subUnitId':_0x564631,'selections':_0x3fb70a});}}};it=cr([dt(0x0,_0x4513f6(_0x59bc83)),dt(0x1,_0x2b2aaf),dt(0x2,_0x5050f9)],it);const ht=_0x9c7f96('univer-pro.collaboration-client.single-active-unit-service');var bi=(_0x34b059=>(_0x34b059[_0x34b059[_0x4d673f(0x1a6)]=0x0]=_0x4d673f(0x1a6),_0x34b059[_0x34b059['OTHER_CLIENTS_EDITING']=0x1]=_0x4d673f(0x9f),_0x34b059))(bi||{});const _r=new Set([_0x1dbb9f['id']]);function zt(_0x130e47,_0x5bfc61,_0x5b55ea,_0x1c59a4,_0x87717b){var _0x6ded42=_0x4d673f,_0x416d18,_0x394fbf,_0x457ffa,_0x20e79d;const _0x55e0e4=[];for(const _0x2f8ae0 of _0x130e47)if(_r['has'](_0x2f8ae0['id'])){if(_0x55e0e4[_0x6ded42(0xf8)]>0x0)break;_0x55e0e4[_0x6ded42(0x1a2)](_0x2f8ae0);break;}else _0x55e0e4['push'](_0x2f8ae0);const _0x2e47ef=(_0x394fbf=(_0x416d18=_0x87717b['getCurrentUser']())==null?void 0x0:_0x416d18['userID'])!=null?_0x394fbf:'unknown',_0x1848eb=(_0x20e79d=(_0x457ffa=_0x87717b[_0x6ded42(0x211)]())==null?void 0x0:_0x457ffa[_0x6ded42(0x215)])!=null?_0x20e79d:_0x6ded42(0x286);return{'changeset':{'unitID':_0x5bfc61,'type':_0xcb99c1(_0x5b55ea[_0x6ded42(0x2db)](_0x5bfc61)),'baseRev':_0x1c59a4[_0x6ded42(0x1c8)](_0x5bfc61),'revision':0x0,'userID':_0x2e47ef,'memberID':_0x1848eb,'mutations':_0x55e0e4},'pendingMutations':_0x130e47[_0x6ded42(0x320)](_0x55e0e4[_0x6ded42(0xf8)])};}function lr(_0x37b3ca,_0x1db19a,_0x16fb21,_0x4e3cb8,_0x1aab41){var _0x3177f3=_0x4d673f,_0xbe741c,_0x287103,_0x23a8f5,_0x46a662;const _0x26be3f=[_0x37b3ca[_0x3177f3(0x15a)]((_0x3f0fcb,_0xc8f317)=>{var _0x1746e2=_0x3177f3,_0x4ece97;const {id:_0x359535}=_0x3f0fcb,{id:_0xfb9395,type:_0x1862b0}=_0xc8f317,_0x3727aa=(_0x4ece97=_0x3f0fcb[_0x1746e2(0x30b)])!=null?_0x4ece97:{'actions':null},_0x48cac0=_0xc8f317[_0x1746e2(0x30b)];if(_0x359535&&_0x359535!==_0xfb9395)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x359535+_0x1746e2(0x281)+_0xfb9395+'.');return{..._0x3f0fcb,'id':_0xfb9395,'type':_0x1862b0,'params':{'unitId':_0x48cac0['unitId'],'textRanges':_0x48cac0['textRanges'],'actions':_0x5d47a5['compose'](_0x3727aa[_0x1746e2(0xda)],_0x48cac0[_0x1746e2(0xda)])}};},{})],_0x2162f6=(_0x287103=(_0xbe741c=_0x1aab41[_0x3177f3(0x211)]())==null?void 0x0:_0xbe741c['userID'])!=null?_0x287103:'unknown',_0x5c57e5=(_0x46a662=(_0x23a8f5=_0x1aab41[_0x3177f3(0x211)]())==null?void 0x0:_0x23a8f5[_0x3177f3(0x215)])!=null?_0x46a662:_0x3177f3(0x286);return{'changeset':{'unitID':_0x1db19a,'type':_0xcb99c1(_0x16fb21['getUnitType'](_0x1db19a)),'baseRev':_0x4e3cb8[_0x3177f3(0x1c8)](_0x1db19a),'revision':0x0,'userID':_0x2162f6,'memberID':_0x5c57e5,'mutations':_0x26be3f},'pendingMutations':[]};}function Oi(_0x14bba2,_0x2e2b8a){const _0xe9cb56=new _0x34761a(0x1);return setTimeout(()=>_0xe9cb56['next'](_0x2e2b8a),_0x14bba2),_0xe9cb56['asObservable']()['pipe'](_0x4a2bcd(0x1));}const ur={'id':_0x12ec92['id'],'type':_0x1db635['MUTATION'],'params':{}};var dr=Object[_0x4d673f(0x158)],fr=Object[_0x4d673f(0x37a)],Re=(_0x4e9dd7,_0x230ea9,_0xf06f2e,_0x2ada1e)=>{var _0x3a25bc=_0x4d673f;for(var _0x1816aa=_0x2ada1e>0x1?void 0x0:_0x2ada1e?fr(_0x230ea9,_0xf06f2e):_0x230ea9,_0x24c625=_0x4e9dd7[_0x3a25bc(0xf8)]-0x1,_0x151fe8;_0x24c625>=0x0;_0x24c625--)(_0x151fe8=_0x4e9dd7[_0x24c625])&&(_0x1816aa=(_0x2ada1e?_0x151fe8(_0x230ea9,_0xf06f2e,_0x1816aa):_0x151fe8(_0x1816aa))||_0x1816aa);return _0x2ada1e&&_0x1816aa&&dr(_0x230ea9,_0xf06f2e,_0x1816aa),_0x1816aa;},A=(_0x10a20d,_0x12d14b)=>(_0x58097e,_0x3edfae)=>_0x12d14b(_0x58097e,_0x3edfae,_0x10a20d),yi=(_0x15c76d=>(_0x15c76d[_0x4d673f(0x194)]=_0x4d673f(0x31f),_0x15c76d[_0x4d673f(0xfa)]=_0x4d673f(0x357),_0x15c76d['PENDING']=_0x4d673f(0xcf),_0x15c76d[_0x4d673f(0x252)]='awaiting',_0x15c76d[_0x4d673f(0x262)]=_0x4d673f(0x13f),_0x15c76d[_0x4d673f(0x1c1)]=_0x4d673f(0x279),_0x15c76d[_0x4d673f(0x1c9)]=_0x4d673f(0x2e7),_0x15c76d[_0x4d673f(0x20c)]=_0x4d673f(0x313),_0x15c76d))(yi||{});const Ni=0xea60;class be{constructor(_0x270686,_0x3b1a5d,_0x44fd75,_0x5ba0b2,_0x3c5ba3,_0x217913,_0x4bd34d,_0x240dc6,_0x4e5457){var _0x389b1b=_0x4d673f;N(this,_0x389b1b(0x17a),null),N(this,_0x389b1b(0xc8),[]),(this['unitID']=_0x270686,this[_0x389b1b(0x2ca)]=_0x3b1a5d,this['_handler']=_0x3c5ba3,this[_0x389b1b(0xf4)]=_0x217913,this['_undoRedoService']=_0x4bd34d,this[_0x389b1b(0xd7)]=_0x240dc6,this['_localCacheService']=_0x4e5457,this['_awaitingChangeset']=_0x44fd75,this['_pendingMutations']=_0x5ba0b2);}[_0x4d673f(0x10f)](_0x4d1361){var _0x50d7f4=_0x4d673f;const _0x5727e7=this['_revisionService'][_0x50d7f4(0x1c8)](this['unitID']);return _0x4d1361['revision']>_0x5727e7+0x1?(this[_0x50d7f4(0x1ea)][_0x50d7f4(0x2f0)]({'from':_0x5727e7,'to':_0x4d1361['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1fecc5){var _0x21b7ea=_0x4d673f;this['_undoRedoService']['transformUndoRedo'](this[_0x21b7ea(0x142)],_0x1fecc5);}[_0x4d673f(0x2b6)](_0x1aa976){var _0x28b31e=_0x4d673f,_0x530217,_0xe5cfca;(_0xe5cfca=(_0x530217=this[_0x28b31e(0x1ea)])[_0x28b31e(0x36d)])==null||_0xe5cfca[_0x28b31e(0x1ec)](_0x530217,_0x1aa976);}['_transformIMECache'](_0x117701){var _0x13694c=_0x4d673f,_0x4def88,_0x5ae536;return(_0x5ae536=(_0x4def88=this[_0x13694c(0x1ea)])[_0x13694c(0xe7)])==null?void 0x0:_0x5ae536[_0x13694c(0x1ec)](_0x4def88,_0x117701);}[_0x4d673f(0x2e0)](_0x30d486){var _0x59630c=_0x4d673f,_0x503f0b,_0x25fac9;return(_0x25fac9=(_0x503f0b=this[_0x59630c(0x1ea)])[_0x59630c(0x26c)])==null?void 0x0:_0x25fac9['call'](_0x503f0b,_0x30d486);}[_0x4d673f(0x132)](_0x5cd43f){var _0x31d80d=_0x4d673f,_0x2a47ee,_0x1233c6,_0x3bd68;return(_0x3bd68=(_0x1233c6=(_0x2a47ee=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x1233c6[_0x31d80d(0x1ec)](_0x2a47ee,_0x5cd43f))!=null?_0x3bd68:_0x5cd43f;}[_0x4d673f(0x1bf)](_0x165256){var _0x59227c=_0x4d673f,_0x1f273b,_0x219573,_0x37bc1d;return(_0x37bc1d=(_0x219573=(_0x1f273b=this[_0x59227c(0x1ea)])[_0x59227c(0x1cc)])==null?void 0x0:_0x219573[_0x59227c(0x1ec)](_0x1f273b,_0x165256))!=null?_0x37bc1d:_0x165256;}['_syncEditingCollabCursor'](_0x48c559){var _0x3d60ef=_0x4d673f,_0x200ce7,_0x368c41;if(this[_0x3d60ef(0x2ca)]===Q[_0x3d60ef(0x156)]){const {unitID:_0x51a753,mutations:_0x2233d2,memberID:_0x2118c7}=_0x48c559,_0x2c05de=_0x2233d2[0x0]['params'][_0x3d60ef(0x167)];Array['isArray'](_0x2c05de)&&_0x2c05de[_0x3d60ef(0xf8)]>0x0&&((_0x368c41=(_0x200ce7=this[_0x3d60ef(0x1ea)])[_0x3d60ef(0x28d)])==null||_0x368c41[_0x3d60ef(0x1ec)](_0x200ce7,{'unitID':_0x51a753,'memberID':_0x2118c7,'textRanges':_0x2c05de}));}}[_0x4d673f(0xb8)](){var _0x40d58a=_0x4d673f,_0x2b7bc1;(_0x2b7bc1=this['_localCacheService'])==null||_0x2b7bc1[_0x40d58a(0xc7)](this[_0x40d58a(0x142)],this['type'],this['_awaitingChangeset'],this[_0x40d58a(0xc8)]);}[_0x4d673f(0x16c)](){var _0x3ced8f=_0x4d673f;return this[_0x3ced8f(0xd7)][_0x3ced8f(0x1c8)](this[_0x3ced8f(0x142)]);}[_0x4d673f(0x113)](){var _0x26c37c=_0x4d673f;this[_0x26c37c(0xd7)][_0x26c37c(0x376)](this[_0x26c37c(0x142)]);}[_0x4d673f(0xf2)](_0x2e9f26){var _0x5c6d1d=_0x4d673f,_0x1f5791;let _0xcc6d05=this[_0x5c6d1d(0x132)](_0x2e9f26);_0xcc6d05=this[_0x5c6d1d(0x1bf)](_0xcc6d05);const _0x17af25=_0x8fcefa(_0xcc6d05[_0x5c6d1d(0x200)],this['_commandService'],{'fromCollab':!0x0});if(!_0x17af25[_0x5c6d1d(0xa4)])throw _0x17af25['error']instanceof Error?_0x17af25[_0x5c6d1d(0x32c)]:new Error((_0x1f5791=_0x17af25['error'])!=null?_0x1f5791:_0x5c6d1d(0x171));this[_0x5c6d1d(0x117)](_0xcc6d05),this[_0x5c6d1d(0x2e0)](_0xcc6d05),this['_transformUndoredo'](_0x2e9f26),this[_0x5c6d1d(0x2b6)](_0xcc6d05),this[_0x5c6d1d(0x20d)](_0xcc6d05),this[_0x5c6d1d(0x113)]();}}let De=class extends be{constructor(_0x3f48d3,_0x13c32a,_0x571047,_0x4d1895,_0x30c1b1,_0x3c2d7c,_0x16e66d,_0x58160b,_0x5531d1,_0x1d2c6f){var _0x58cd60=_0x4d673f;super(_0x3f48d3,_0x13c32a,null,[],_0x571047,_0x16e66d,_0x3c2d7c,_0x4d1895,_0x1d2c6f),N(this,'status',_0x58cd60(0x357)),(this[_0x58cd60(0x247)]=_0x30c1b1,this[_0x58cd60(0x306)]=_0x58160b,this['_transformService']=_0x5531d1,this['localCacheService']=_0x1d2c6f);}[_0x4d673f(0x16e)](_0x59ed8a){var _0x576a65=_0x4d673f;const _0xe17e2=this[_0x576a65(0x247)]['createInstance'](oe,this['unitID'],this[_0x576a65(0x2ca)],[_0x59ed8a],this['_handler']);return _0xe17e2[_0x576a65(0x352)](),_0xe17e2['_updateLocalCache'](),_0xe17e2;}['onRemoteChangeset'](_0x2eee2b){var _0x43aee5=_0x4d673f;if(this[_0x43aee5(0x10f)](_0x2eee2b))return this['_injector'][_0x43aee5(0x173)](te,this['unitID'],this[_0x43aee5(0x2ca)],null,[],null,[_0x2eee2b],this[_0x43aee5(0x1ea)]);try{const _0x662e47=this[_0x43aee5(0xab)]['transformMutationsWithChangeset'](_0x2eee2b,[ur]);if(_0x4cd9b5(_0x662e47)){const {c1Prime:_0x55c78a}=_0x662e47;return this['_executeRemoteChangeset'](_0x55c78a),this;}throw _0x662e47[_0x43aee5(0x32c)];}catch(_0x556d30){return this['_logService'][_0x43aee5(0x32c)](_0x556d30),this[_0x43aee5(0x222)](!0x1);}}[_0x4d673f(0x222)](_0x1ace23){var _0x5cbf1a=_0x4d673f;return this[_0x5cbf1a(0x247)][_0x5cbf1a(0x173)](de,this[_0x5cbf1a(0x142)],this[_0x5cbf1a(0x2ca)],null,[],this[_0x5cbf1a(0x1ea)],_0x1ace23);}[_0x4d673f(0x1c2)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x4d673f(0xa3)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x4d673f(0x2d4)](){return this;}[_0x4d673f(0xfc)](){var _0x1e8d14=_0x4d673f;return this[_0x1e8d14(0x247)][_0x1e8d14(0x173)](fe,this[_0x1e8d14(0x142)],this[_0x1e8d14(0x2ca)],null,[],this[_0x1e8d14(0x1ea)]);}[_0x4d673f(0x2c7)](){return this;}[_0x4d673f(0x15e)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4d673f(0x2f2)](){var _0x29589b=_0x4d673f;const _0x5aab6f=this[_0x29589b(0xd7)][_0x29589b(0x1c8)](this['unitID']);return this['_handler'][_0x29589b(0x2f0)]({'from':_0x5aab6f,'to':0x0}),this[_0x29589b(0x247)][_0x29589b(0x173)](te,this[_0x29589b(0x142)],this[_0x29589b(0x2ca)],null,[],null,[],this[_0x29589b(0x1ea)]);}};De=Re([A(0x3,_0x4513f6(_0x58d675)),A(0x4,_0x4513f6(_0x59bc83)),A(0x5,_0x21d350),A(0x6,_0x390090),A(0x7,_0x4ea18a),A(0x8,_0x2b2aaf),A(0x9,_0x1ef01f(J))],De);let oe=class extends be{constructor(_0x876097,_0x3a95df,_0x123cc6,_0x31a826,_0x19c3e4,_0x427836,_0x430a9e,_0x43deb7,_0x2b085f,_0x1c397a,_0xfd1a45,_0x32b2e1,_0x18b9b4,_0x2992ea){var _0x55ac5d=_0x4d673f;super(_0x876097,_0x3a95df,null,_0x123cc6,_0x31a826,_0x2b085f,_0x18b9b4,_0x427836,_0x2992ea),N(this,_0x55ac5d(0x111),_0x55ac5d(0xcf)),N(this,_0x55ac5d(0x30e),null),N(this,_0x55ac5d(0x25c),null),(this[_0x55ac5d(0x247)]=_0x19c3e4,this['_memberService']=_0x430a9e,this[_0x55ac5d(0x306)]=_0x43deb7,this[_0x55ac5d(0x2b0)]=_0x1c397a,this[_0x55ac5d(0xab)]=_0xfd1a45,this[_0x55ac5d(0x102)]=_0x32b2e1);}[_0x4d673f(0x16e)](_0x288359){var _0x495b27=_0x4d673f;return this[_0x495b27(0xc8)][_0x495b27(0x1a2)](_0x288359),this['_updateLocalCache'](),this;}[_0x4d673f(0x274)](_0x119db0){var _0x4adc34=_0x4d673f;if(this[_0x4adc34(0x10f)](_0x119db0))return this[_0x4adc34(0x9b)](),this[_0x4adc34(0x247)][_0x4adc34(0x173)](te,this['unitID'],this['type'],null,this[_0x4adc34(0xc8)],null,[_0x119db0],this[_0x4adc34(0x1ea)]);try{const _0x4a2dd9=this['_transformService'][_0x4adc34(0x19a)](_0x119db0,this[_0x4adc34(0xc8)]);if(_0x4cd9b5(_0x4a2dd9)){const {c1Prime:_0x3fd960,m2Prime:_0x756a71}=_0x4a2dd9;this[_0x4adc34(0xf2)](_0x3fd960);const _0x73e828=this[_0x4adc34(0x247)]['createInstance'](oe,this[_0x4adc34(0x142)],this[_0x4adc34(0x2ca)],_0x756a71,this[_0x4adc34(0x1ea)]);this[_0x4adc34(0x9b)]();const _0x7cd001=new Date()[_0x4adc34(0x1db)](),_0x186673=this[_0x4adc34(0x30e)]?Math[_0x4adc34(0x364)](this[_0x4adc34(0x30e)]-_0x7cd001,0x0):this['_getSendChangesetTimeout']();return _0x73e828['_schedule'](_0x186673),_0x73e828;}throw _0x4a2dd9[_0x4adc34(0x32c)];}catch(_0x5e2d3e){return this[_0x4adc34(0x306)]['error'](_0x5e2d3e),this[_0x4adc34(0x222)](!0x1);}}[_0x4d673f(0x1c2)](){var _0x4ffbb6=_0x4d673f;throw new Error(_0x4ffbb6(0x353));}['onRemoteRej'](){var _0x633d34=_0x4d673f;throw new Error(_0x633d34(0x239));}[_0x4d673f(0x2d4)](){return this;}[_0x4d673f(0xfc)](){var _0x4b1651=_0x4d673f;return this[_0x4b1651(0x9b)](),this[_0x4b1651(0x247)]['createInstance'](fe,this[_0x4b1651(0x142)],this[_0x4b1651(0x2ca)],null,this[_0x4b1651(0xc8)],this[_0x4b1651(0x1ea)]);}[_0x4d673f(0x2c7)](){return this;}['_schedule'](_0x41a5ff){var _0x39c46e=_0x4d673f;const _0x486fc2=_0x41a5ff!=null?_0x41a5ff:this[_0x39c46e(0xb2)]();this[_0x39c46e(0x30e)]=new Date()['getTime']()+_0x486fc2,this['_sendingTimer']=setTimeout(()=>{var _0x654535=_0x39c46e;this['_clearScheduledTask']();let _0x31a3ca=null;switch(this['type']){case Q[_0x654535(0x121)]:{_0x31a3ca=zt(this[_0x654535(0xc8)],this['unitID'],this[_0x654535(0x102)],this[_0x654535(0xd7)],this['_memberService']);break;}case Q['UNIVER_DOC']:{this[_0x654535(0xc8)]['every'](_0x2fd92b=>_0x2fd92b['id']===_0x140c82['id'])?_0x31a3ca=lr(this[_0x654535(0xc8)],this['unitID'],this[_0x654535(0x102)],this[_0x654535(0xd7)],this[_0x654535(0xff)]):_0x31a3ca=zt(this['_pendingMutations'],this['unitID'],this[_0x654535(0x102)],this[_0x654535(0xd7)],this[_0x654535(0xff)]);break;}default:throw new Error(_0x654535(0x367)+this[_0x654535(0x2ca)]+_0x654535(0xbe));}const {changeset:_0x11e433,pendingMutations:_0x446cb8}=_0x31a3ca;this[_0x654535(0x1ea)][_0x654535(0x2b3)](_0x11e433);const _0x262807=_0x446cb8[_0x654535(0xf8)]?this[_0x654535(0x247)][_0x654535(0x173)](ae,this[_0x654535(0x142)],this['type'],_0x11e433,_0x446cb8,this['_handler'],void 0x0):this[_0x654535(0x247)][_0x654535(0x173)](ue,this['unitID'],this[_0x654535(0x2ca)],_0x11e433,this['_handler']);_0x262807[_0x654535(0xb8)](),this[_0x654535(0x1ea)][_0x654535(0x2cc)](this,_0x262807);},_0x486fc2);}['_getSendChangesetTimeout'](){var _0x2f451b=_0x4d673f,_0x5cc207;const _0x3c61d8=this[_0x2f451b(0x2b0)][_0x2f451b(0x2d8)](q);return(_0x5cc207=_0x3c61d8==null?void 0x0:_0x3c61d8[_0x2f451b(0x31d)])!=null?_0x5cc207:Cn;}[_0x4d673f(0x15e)](){var _0x530ddc=_0x4d673f;throw new Error(_0x530ddc(0x29e));}[_0x4d673f(0x9b)](){var _0x3219eb=_0x4d673f;this[_0x3219eb(0x25c)]!=null&&(clearTimeout(this[_0x3219eb(0x25c)]),this['_sendingTimer']=null);}[_0x4d673f(0x222)](_0x5deb0a){var _0x4e4de2=_0x4d673f;return this[_0x4e4de2(0x9b)](),this['_injector'][_0x4e4de2(0x173)](de,this[_0x4e4de2(0x142)],this['type'],null,this[_0x4e4de2(0xc8)],this[_0x4e4de2(0x1ea)],_0x5deb0a);}};oe=Re([A(0x4,_0x4513f6(_0x59bc83)),A(0x5,_0x4513f6(_0x58d675)),A(0x6,_0x4513f6(xe)),A(0x7,_0x4ea18a),A(0x8,_0x390090),A(0x9,_0x50d966),A(0xa,_0x2b2aaf),A(0xb,_0x5050f9),A(0xc,_0x21d350),A(0xd,_0x1ef01f(J))],oe);let ue=class extends be{constructor(_0x6ab139,_0x480b21,_0x30267d,_0x219c4c,_0x4286db,_0x4950ff,_0x53074a,_0x44fa91,_0x3958cf,_0x21ece2,_0x55213d){var _0x43670d=_0x4d673f;super(_0x6ab139,_0x480b21,_0x30267d,[],_0x219c4c,_0x53074a,_0x21ece2,_0x4950ff,_0x55213d),N(this,'status',_0x43670d(0x2cf)),N(this,_0x43670d(0x2c3),0x0),N(this,_0x43670d(0x20f)),N(this,_0x43670d(0x92)),(this[_0x43670d(0x247)]=_0x4286db,this[_0x43670d(0x306)]=_0x44fa91,this[_0x43670d(0xab)]=_0x3958cf);}[_0x4d673f(0x16e)](_0x2a8fc5){var _0x4cae6e=_0x4d673f;this[_0x4cae6e(0x9b)]();const _0x4aeeda=this[_0x4cae6e(0x247)]['createInstance'](ae,this[_0x4cae6e(0x142)],this[_0x4cae6e(0x2ca)],this[_0x4cae6e(0x17a)],[_0x2a8fc5],this[_0x4cae6e(0x1ea)],this[_0x4cae6e(0x20f)]);return _0x4aeeda['_updateLocalCache'](),_0x4aeeda;}[_0x4d673f(0x274)](_0x33ea5e){var _0x87748a=_0x4d673f;if(this[_0x87748a(0x10f)](_0x33ea5e))return this['_clearScheduledTask'](),this[_0x87748a(0x247)][_0x87748a(0x173)](te,this[_0x87748a(0x142)],this[_0x87748a(0x2ca)],this['_awaitingChangeset'],[],null,[_0x33ea5e],this[_0x87748a(0x1ea)]);try{const _0x48eace=this[_0x87748a(0xab)]['transformChangesets']([_0x33ea5e],[this[_0x87748a(0x17a)]],!0x1);if(_0x42d41d(_0x48eace)){const {c1Prime:_0x828c0d,c2Prime:_0x53979c}=_0x48eace;this[_0x87748a(0xf2)](_0x828c0d[0x0]),_0x53979c[0x0][_0x87748a(0xd9)]=this[_0x87748a(0x16c)](),this[_0x87748a(0x9b)]();const _0x2cc9ab=this['_injector']['createInstance'](ue,this['unitID'],this[_0x87748a(0x2ca)],_0x53979c[0x0],this[_0x87748a(0x1ea)]);return _0x2cc9ab[_0x87748a(0xb8)](),_0x2cc9ab;}return this[_0x87748a(0x222)](!0x1);}catch(_0xf76e77){return this[_0x87748a(0x306)][_0x87748a(0x32c)](_0xf76e77),this[_0x87748a(0x222)](!0x1);}}[_0x4d673f(0x1c2)](_0x358f0f){var _0x470543=_0x4d673f;this['_clearScheduledTask']();const _0x2bcd5a=this[_0x470543(0xd7)]['getCurrentRevOfUnit'](this[_0x470543(0x142)]);if(_0x358f0f['revision']<_0x2bcd5a-0x1)return this;if(this[_0x470543(0x10f)](_0x358f0f))return this[_0x470543(0x247)][_0x470543(0x173)](te,this['unitID'],this['type'],null,[],this[_0x470543(0x17a)],[],this[_0x470543(0x1ea)]);this['_incrementRevisionNumber']();const _0x1f1c09=this[_0x470543(0x247)][_0x470543(0x173)](De,this[_0x470543(0x142)],this[_0x470543(0x2ca)],this['_handler']);return _0x1f1c09['_updateLocalCache'](),_0x1f1c09;}[_0x4d673f(0xa3)](_0x2b0615){var _0x3ad9cf=_0x4d673f;return this[_0x3ad9cf(0x222)](!!(_0x2b0615!=null&&_0x2b0615[_0x3ad9cf(0xa2)]));}[_0x4d673f(0x2d4)](_0x636f3e){var _0x321c61=_0x4d673f;return this[_0x321c61(0x2c3)]>Ni?this[_0x321c61(0xfc)]():(this[_0x321c61(0x20f)]=Oi(this[_0x321c61(0x2c3)],{'timeout':this[_0x321c61(0x2c3)],'reqId':_0x636f3e[_0x321c61(0x1d2)]}),this['_sender']=this[_0x321c61(0x20f)][_0x321c61(0x126)](({reqId:_0x481fd2,timeout:_0x5f3bfc})=>{var _0x48d293=_0x321c61;this[_0x48d293(0x33e)](_0x481fd2,_0x5f3bfc);}),this);}['toggleOffline'](){var _0x5ce463=_0x4d673f;return this['_clearScheduledTask'](),this[_0x5ce463(0x247)][_0x5ce463(0x173)](fe,this[_0x5ce463(0x142)],this[_0x5ce463(0x2ca)],this['_awaitingChangeset'],[],this[_0x5ce463(0x1ea)]);}['toggleOnline'](){return this;}[_0x4d673f(0x15e)](){var _0xb7b1cb=_0x4d673f;this[_0xb7b1cb(0x1ea)]['onSendChangeset'](this[_0xb7b1cb(0x17a)]);}['_onConflict'](_0xdf3e69){var _0x591c46=_0x4d673f;return this[_0x591c46(0x9b)](),this['_injector'][_0x591c46(0x173)](de,this[_0x591c46(0x142)],this[_0x591c46(0x2ca)],this[_0x591c46(0x17a)],[],this['_handler'],_0xdf3e69);}[_0x4d673f(0x33e)](_0x3a1bed,_0x1c0b89){var _0x4f9257=_0x4d673f,_0x448c28;_0x3a1bed===((_0x448c28=this[_0x4f9257(0x17a)])==null?void 0x0:_0x448c28[_0x4f9257(0x1d2)])&&(this[_0x4f9257(0x15e)](),this[_0x4f9257(0x2c3)]=_0x1c0b89===0x0?0x3e8:_0x1c0b89*0x2);}[_0x4d673f(0x9b)](){var _0x338a0a=_0x4d673f,_0x18c3e6;(_0x18c3e6=this['_sender'])==null||_0x18c3e6[_0x338a0a(0x299)](),this[_0x338a0a(0x2c3)]=0x0;}};ue=Re([A(0x4,_0x4513f6(_0x59bc83)),A(0x5,_0x4513f6(_0x58d675)),A(0x6,_0x390090),A(0x7,_0x4ea18a),A(0x8,_0x2b2aaf),A(0x9,_0x21d350),A(0xa,_0x1ef01f(J))],ue);let ae=class extends be{constructor(_0x20bf52,_0x57a7f6,_0x2e7ebd,_0x1c960b,_0x532564,_0x149fc7,_0x2cdbc2,_0xcc5652,_0x3465c1,_0x326d8a,_0x16dcaf,_0x38736f,_0x1aae2b){var _0x737e55=_0x4d673f;super(_0x20bf52,_0x57a7f6,_0x2e7ebd,_0x1c960b,_0x532564,_0x3465c1,_0x38736f,_0xcc5652,_0x1aae2b),N(this,_0x737e55(0x111),_0x737e55(0x13f)),N(this,_0x737e55(0x2c3),0x0),N(this,_0x737e55(0x20f)),N(this,_0x737e55(0x92)),(this['_injector']=_0x2cdbc2,this['_logService']=_0x326d8a,this[_0x737e55(0xab)]=_0x16dcaf,this[_0x737e55(0x268)]=_0x1aae2b,_0x149fc7&&(this[_0x737e55(0x20f)]=_0x149fc7,this[_0x737e55(0x92)]=this[_0x737e55(0x20f)][_0x737e55(0x126)](({reqId:_0x5b1ef2,timeout:_0x5f5211})=>{this['_resendWithTimeout'](_0x5b1ef2,_0x5f5211);})));}['appendMutation'](_0x4bc0c5){var _0x201ead=_0x4d673f;return this[_0x201ead(0xc8)]['push'](_0x4bc0c5),this;}[_0x4d673f(0x274)](_0x264328){var _0x27cc48=_0x4d673f;if(this['_checkMissing'](_0x264328))return this[_0x27cc48(0x9b)](),this[_0x27cc48(0x247)][_0x27cc48(0x173)](te,this['unitID'],this[_0x27cc48(0x2ca)],this['_awaitingChangeset'],this['_pendingMutations'],null,[_0x264328],this[_0x27cc48(0x1ea)]);try{const _0x3c888d=this[_0x27cc48(0xab)][_0x27cc48(0x17b)]([_0x264328],[this['_awaitingChangeset']],!0x1);if(_0x42d41d(_0x3c888d)){const {c1Prime:_0x4c8988,c2Prime:_0x13a9c9}=_0x3c888d,_0x504925=this[_0x27cc48(0xab)][_0x27cc48(0x19a)](_0x4c8988[0x0],this[_0x27cc48(0xc8)]);if(_0x4cd9b5(_0x504925)){const {c1Prime:_0x5946aa,m2Prime:_0x56a94e}=_0x504925;return this['_executeRemoteChangeset'](_0x5946aa),_0x13a9c9[0x0][_0x27cc48(0xd9)]=this[_0x27cc48(0x16c)](),this['_clearScheduledTask'](),this[_0x27cc48(0x247)][_0x27cc48(0x173)](ae,this['unitID'],this[_0x27cc48(0x2ca)],_0x13a9c9[0x0],_0x56a94e,this[_0x27cc48(0x1ea)],void 0x0);}throw _0x504925['error'];}throw _0x3c888d[_0x27cc48(0x32c)];}catch(_0x111cbd){return this[_0x27cc48(0x306)][_0x27cc48(0x32c)](_0x111cbd),this[_0x27cc48(0x222)](!0x1);}}['onRemoteAck'](_0x1ea456){var _0x385f94=_0x4d673f;if(this[_0x385f94(0x9b)](),this[_0x385f94(0x10f)](_0x1ea456))return this[_0x385f94(0x247)][_0x385f94(0x173)](te,this[_0x385f94(0x142)],this[_0x385f94(0x2ca)],null,this[_0x385f94(0xc8)],this['_awaitingChangeset'],[],this[_0x385f94(0x1ea)]);this['_incrementRevisionNumber']();const _0x3dee00=this[_0x385f94(0x247)][_0x385f94(0x173)](oe,this['unitID'],this['type'],this[_0x385f94(0xc8)],this['_handler']);return _0x3dee00[_0x385f94(0x352)](),_0x3dee00[_0x385f94(0xb8)](),_0x3dee00;}['onRemoteRej'](_0x4196f6){var _0x27f589=_0x4d673f;return this[_0x27f589(0x222)](!!(_0x4196f6!=null&&_0x4196f6['isPermissionRej']));}['onRemoteRetry'](_0x27f72e){var _0x25a3fc=_0x4d673f;return this[_0x25a3fc(0x2c3)]>Ni?this['toggleOffline']():(this[_0x25a3fc(0x20f)]=Oi(this[_0x25a3fc(0x2c3)],{'timeout':this[_0x25a3fc(0x2c3)],'reqId':_0x27f72e[_0x25a3fc(0x1d2)]}),this[_0x25a3fc(0x92)]=this[_0x25a3fc(0x20f)][_0x25a3fc(0x126)](({reqId:_0x264326,timeout:_0x1ab624})=>{var _0x37ffb7=_0x25a3fc;this[_0x37ffb7(0x33e)](_0x264326,_0x1ab624);}),this);}['toggleOffline'](){var _0x56a793=_0x4d673f;return this[_0x56a793(0x9b)](),this[_0x56a793(0x247)][_0x56a793(0x173)](fe,this[_0x56a793(0x142)],this[_0x56a793(0x2ca)],this[_0x56a793(0x17a)],this[_0x56a793(0xc8)],this['_handler']);}[_0x4d673f(0x2c7)](){return this;}['resend'](){var _0x9f65d1=_0x4d673f;this['_handler']['onSendChangeset'](this[_0x9f65d1(0x17a)]);}[_0x4d673f(0x222)](_0x5288cd){var _0x9b41d=_0x4d673f;return this[_0x9b41d(0x9b)](),this['_injector'][_0x9b41d(0x173)](de,this['unitID'],this['type'],null,this[_0x9b41d(0xc8)],this[_0x9b41d(0x1ea)],_0x5288cd);}['_resendWithTimeout'](_0x5c4f4b,_0x1c5252){var _0x4e84aa=_0x4d673f,_0x3a0565;_0x5c4f4b===((_0x3a0565=this[_0x4e84aa(0x17a)])==null?void 0x0:_0x3a0565[_0x4e84aa(0x1d2)])&&(this[_0x4e84aa(0x15e)](),this[_0x4e84aa(0x2c3)]=_0x1c5252===0x0?0x3e8:_0x1c5252*0x2);}[_0x4d673f(0x9b)](){var _0x411ccd=_0x4d673f,_0x1abf9a;(_0x1abf9a=this['_sender'])==null||_0x1abf9a[_0x411ccd(0x299)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x4513f6(_0x59bc83)),A(0x7,_0x4513f6(_0x58d675)),A(0x8,_0x390090),A(0x9,_0x4ea18a),A(0xa,_0x2b2aaf),A(0xb,_0x21d350),A(0xc,_0x1ef01f(J))],ae);let de=class extends be{constructor(_0x1c3328,_0x23abbb,_0x4e1b46,_0x3f0b4b,_0x2c1681,_0xcb9a22=!0x1,_0x342649,_0x43f8fc,_0x45ac4e,_0x142b23,_0x4406df,_0x1070c3,_0x13c126){var _0x118de6=_0x4d673f;super(_0x1c3328,_0x23abbb,_0x4e1b46,_0x3f0b4b,_0x2c1681,_0x43f8fc,_0x45ac4e,_0x142b23,_0x13c126),N(this,'status',_0x118de6(0x2e7)),(this['_isPermissionRej']=_0xcb9a22,this[_0x118de6(0x198)]=_0x342649,this[_0x118de6(0xde)]=_0x4406df,this['_collaborationUIEventService']=_0x1070c3,this[_0x118de6(0x268)]=_0x13c126,this[_0x118de6(0x13c)](),this['_clearLocalCache'](),this[_0x118de6(0x18e)]());}[_0x4d673f(0x16e)](){return this;}[_0x4d673f(0x274)](){return this;}['onRemoteAck'](){return this;}[_0x4d673f(0xa3)](){return this;}[_0x4d673f(0x2d4)](){return this;}[_0x4d673f(0xfc)](){return this;}[_0x4d673f(0x2c7)](){return this;}[_0x4d673f(0x15e)](){var _0x45aa63=_0x4d673f;throw new Error(_0x45aa63(0x35b));}[_0x4d673f(0x162)](){var _0x46788f=_0x4d673f,_0xe4a2d5;(_0xe4a2d5=this[_0x46788f(0x197)])==null||_0xe4a2d5[_0x46788f(0xc7)](this[_0x46788f(0x142)],this['type'],null,[]);}[_0x4d673f(0x13c)](){var _0x50283c=_0x4d673f;this['_isPermissionRej']?this[_0x50283c(0x140)]['emitEvent']({'id':se[_0x50283c(0x25a)]}):this[_0x50283c(0x140)][_0x50283c(0x243)]({'id':se['CONFLICT']});}[_0x4d673f(0x18e)](){var _0x51e93e=_0x4d673f;this[_0x51e93e(0x198)][_0x51e93e(0x149)](new _0x503202(this[_0x51e93e(0x142)])['id'],!0x1);}};de=Re([A(0x6,_0x4513f6(_0x104623)),A(0x7,_0x390090),A(0x8,_0x21d350),A(0x9,_0x4513f6(_0x58d675)),A(0xa,_0x4513f6(_0x17a1db)),A(0xb,_0x4513f6(pe)),A(0xc,_0x1ef01f(J))],de);let fe=class extends be{constructor(_0x53ce45,_0x3ddcfa,_0x3fc677,_0x5d4de1,_0x57afca,_0x45f36c,_0x2ca05e,_0xa8a335,_0x2e6fef,_0x490d4d){var _0x42f67c=_0x4d673f;super(_0x53ce45,_0x3ddcfa,_0x3fc677,_0x5d4de1,_0x57afca,_0xa8a335,_0x2e6fef,_0x2ca05e,_0x490d4d),N(this,_0x42f67c(0x111),_0x42f67c(0x313)),this['_injector']=_0x45f36c;}[_0x4d673f(0x16e)](_0x112da3){var _0x62cfb0=_0x4d673f;return this[_0x62cfb0(0xc8)][_0x62cfb0(0x1a2)](_0x112da3),this[_0x62cfb0(0xb8)](),this;}[_0x4d673f(0x274)](_0x5c26db){var _0x22d898=_0x4d673f;throw new Error(_0x22d898(0x19b));}[_0x4d673f(0x1c2)](){var _0x392cc4=_0x4d673f;throw new Error(_0x392cc4(0x183));}[_0x4d673f(0xa3)](){var _0x27827d=_0x4d673f;throw new Error(_0x27827d(0x219));}['onRemoteRetry'](){return this;}[_0x4d673f(0xfc)](){return this;}[_0x4d673f(0x2c7)](){var _0x4dc5fe=_0x4d673f;const {_injector:_0xc7c17e,_pendingMutations:_0x51a60d,_awaitingChangeset:_0x4615bc,unitID:_0x256d99,_handler:_0x5c55ba,type:_0x183733}=this,_0xf84cdd=Di(_0xc7c17e,_0x256d99,_0x183733,_0x4615bc,_0x51a60d,_0x5c55ba);return _0xf84cdd instanceof oe?_0xf84cdd[_0x4dc5fe(0x352)]():(_0xf84cdd instanceof ae||_0xf84cdd instanceof ue)&&_0xf84cdd[_0x4dc5fe(0x15e)](),_0xf84cdd;}[_0x4d673f(0x15e)](){var _0x113630=_0x4d673f;throw new Error(_0x113630(0x218));}};fe=Re([A(0x5,_0x4513f6(_0x59bc83)),A(0x6,_0x4513f6(_0x58d675)),A(0x7,_0x390090),A(0x8,_0x21d350),A(0x9,_0x1ef01f(J))],fe);let te=class extends be{constructor(_0x110a46,_0x1f9125,_0x353ebd,_0x30e6bc,_0x4b5f92,_0x1d76cc,_0x45bdc5,_0x2f2484,_0x56338f,_0x4050ba,_0x14ee3b,_0x56262a,_0x5846e1,_0x56db44){var _0x7f990b=_0x4d673f;super(_0x110a46,_0x1f9125,_0x353ebd,_0x30e6bc,_0x45bdc5,_0x14ee3b,_0x56262a,_0x56338f,_0x56db44),N(this,_0x7f990b(0x111),_0x7f990b(0x279)),(this[_0x7f990b(0x110)]=_0x4b5f92,this[_0x7f990b(0x29b)]=_0x1d76cc,this[_0x7f990b(0x247)]=_0x2f2484,this[_0x7f990b(0x306)]=_0x4050ba,this[_0x7f990b(0xab)]=_0x5846e1,this[_0x7f990b(0x268)]=_0x56db44);}[_0x4d673f(0x108)](_0x65f3af){var _0x179271=_0x4d673f;try{const _0x555709=[..._0x65f3af,...this[_0x179271(0x29b)]],_0x37a505=[this[_0x179271(0x17a)]||this[_0x179271(0x110)]][_0x179271(0x29f)](_0x214abb=>!!_0x214abb);let _0x17860d,_0x1f9588;if(_0x37a505[_0x179271(0xf8)]){const _0x2cfbbb=this[_0x179271(0xab)][_0x179271(0x17b)](_0x555709,_0x37a505,!0x1);if(!_0x42d41d(_0x2cfbbb))throw _0x2cfbbb[_0x179271(0x32c)];_0x17860d=_0x2cfbbb[_0x179271(0x1c3)],_0x1f9588=_0x2cfbbb[_0x179271(0x1d8)];}else _0x17860d=_0x555709,_0x1f9588=[];let _0xcd0244=this['_pendingMutations'];_0x17860d[_0x179271(0x22b)](_0x14fb57=>{var _0x4cecbd=_0x179271;let _0x2946f8;if(_0xcd0244['length']){const _0x26cba4=this[_0x4cecbd(0xab)][_0x4cecbd(0x19a)](_0x14fb57,_0xcd0244);if(!_0x4cd9b5(_0x26cba4))throw _0x26cba4['error'];_0x2946f8=_0x26cba4[_0x4cecbd(0x1c3)],_0xcd0244=_0x26cba4[_0x4cecbd(0xea)];}else _0x2946f8=_0x14fb57;this['_executeRemoteChangeset'](_0x2946f8);}),this[_0x179271(0x110)]&&this[_0x179271(0x113)](),this['_awaitingChangeset']&&_0x1f9588['length']&&(_0x1f9588[0x0][_0x179271(0xd9)]=this[_0x179271(0x16c)]());let _0x2c8504;if(this['_awaitingChangeset']&&_0xcd0244[_0x179271(0xf8)]!==0x0)_0x2c8504=this[_0x179271(0x247)]['createInstance'](ae,this['unitID'],this[_0x179271(0x2ca)],_0x1f9588[0x0],_0xcd0244,this['_handler'],void 0x0);else{if(this[_0x179271(0x17a)]&&_0xcd0244[_0x179271(0xf8)]===0x0)_0x1f9588[0x0]['baseRev']=this[_0x179271(0x16c)](),_0x2c8504=this[_0x179271(0x247)][_0x179271(0x173)](ue,this[_0x179271(0x142)],this[_0x179271(0x2ca)],_0x1f9588[0x0],this[_0x179271(0x1ea)]);else{if(_0xcd0244['length']!==0x0){const _0x59b56a=this[_0x179271(0x247)][_0x179271(0x173)](oe,this[_0x179271(0x142)],this[_0x179271(0x2ca)],_0xcd0244,this[_0x179271(0x1ea)]);_0x59b56a[_0x179271(0x352)](),_0x2c8504=_0x59b56a;}else _0x2c8504=this[_0x179271(0x247)][_0x179271(0x173)](De,this[_0x179271(0x142)],this[_0x179271(0x2ca)],this[_0x179271(0x1ea)]);}}return _0x2c8504[_0x179271(0xb8)](),_0x2c8504;}catch(_0x1e8fab){return this[_0x179271(0x306)]['error'](_0x179271(0x36b),_0x179271(0x2ff),_0x1e8fab),this[_0x179271(0x247)][_0x179271(0x173)](de,this['unitID'],this['type'],this[_0x179271(0x17a)],this['_pendingMutations'],this[_0x179271(0x1ea)],!0x1);}}[_0x4d673f(0x15e)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x4d673f(0x16e)](_0x1a77b1){var _0x1059ad=_0x4d673f;return this[_0x1059ad(0xc8)][_0x1059ad(0x1a2)](_0x1a77b1),this;}[_0x4d673f(0x274)](_0x32deea){var _0xa663d9=_0x4d673f;return this[_0xa663d9(0x29b)][_0xa663d9(0x1a2)](_0x32deea),this;}['onRemoteAck'](_0x5b101b){var _0x10aac6=_0x4d673f;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x10aac6(0x17a)],this[_0x10aac6(0x17a)]=null,this;throw new Error(_0x10aac6(0x1e9));}[_0x4d673f(0xa3)](_0x36ee40){var _0x167de0=_0x4d673f;return this['_onConflict'](!!(_0x36ee40!=null&&_0x36ee40[_0x167de0(0xa2)]));}[_0x4d673f(0x2d4)](){return this;}[_0x4d673f(0xfc)](){var _0x175b45=_0x4d673f;return this[_0x175b45(0x247)][_0x175b45(0x173)](fe,this['unitID'],this['type'],this['_awaitingChangeset'],this['_pendingMutations'],this['_handler']);}[_0x4d673f(0x2c7)](){return this;}[_0x4d673f(0x222)](_0x193390){var _0x4c10c3=_0x4d673f;return this[_0x4c10c3(0x247)][_0x4c10c3(0x173)](de,this['unitID'],this['type'],this[_0x4c10c3(0x17a)],this[_0x4c10c3(0xc8)],this[_0x4c10c3(0x1ea)],_0x193390);}};te=Re([A(0x7,_0x4513f6(_0x59bc83)),A(0x8,_0x4513f6(_0x58d675)),A(0x9,_0x4ea18a),A(0xa,_0x390090),A(0xb,_0x21d350),A(0xc,_0x2b2aaf),A(0xd,_0x1ef01f(J))],te);function Di(_0x39d07e,_0x2385ac,_0x5eb86e,_0x2b80c5,_0xfd9179,_0x4a8f1c){var _0x2ead8b=_0x4d673f;return _0x2b80c5&&_0xfd9179['length']?_0x39d07e[_0x2ead8b(0x173)](ae,_0x2385ac,_0x5eb86e,_0x2b80c5,_0xfd9179,_0x4a8f1c,void 0x0):_0x2b80c5?_0x39d07e[_0x2ead8b(0x173)](ue,_0x2385ac,_0x5eb86e,_0x2b80c5,_0x4a8f1c):_0xfd9179[_0x2ead8b(0xf8)]?_0x39d07e[_0x2ead8b(0x173)](oe,_0x2385ac,_0x5eb86e,_0xfd9179,_0x4a8f1c):_0x39d07e['createInstance'](De,_0x2385ac,_0x5eb86e,_0x4a8f1c);}var vr=Object[_0x4d673f(0x158)],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x4dbff1,_0x3fff50,_0x43c7e,_0x4834fc)=>{var _0x2b37cd=_0x4d673f;for(var _0x1067ef=_0x4834fc>0x1?void 0x0:_0x4834fc?pr(_0x3fff50,_0x43c7e):_0x3fff50,_0x298a06=_0x4dbff1[_0x2b37cd(0xf8)]-0x1,_0x18a463;_0x298a06>=0x0;_0x298a06--)(_0x18a463=_0x4dbff1[_0x298a06])&&(_0x1067ef=(_0x4834fc?_0x18a463(_0x3fff50,_0x43c7e,_0x1067ef):_0x18a463(_0x1067ef))||_0x1067ef);return _0x4834fc&&_0x1067ef&&vr(_0x3fff50,_0x43c7e,_0x1067ef),_0x1067ef;},k=(_0x2cda7b,_0x59913a)=>(_0x3177c9,_0x3bb6fd)=>_0x59913a(_0x3177c9,_0x3bb6fd,_0x2cda7b);let nt=class extends _0x24e8c4{constructor(_0x3b2cf1,_0x147539,_0x541133,_0x571c9d,_0x24666b,_0x3f946c,_0x117a9f,_0x424531,_0x21a8d8,_0x524802,_0x2b6779,_0x406c27,_0x23df6){var _0x1f4513=_0x4d673f;super(),N(this,'_state$',new _0xb1c695(null)),N(this,'state$',this['_state$'][_0x1f4513(0x19c)]()),N(this,'_state'),N(this,_0x1f4513(0x25e),!0x1),N(this,'_changesetSessionId',''),N(this,_0x1f4513(0xe0),0x0),N(this,_0x1f4513(0x163),this['state$'][_0x1f4513(0x285)](_0x28bdad(_0x1a94ff=>_0x1a94ff?_0x1a94ff[_0x1f4513(0x111)]:yi[_0x1f4513(0x20c)]),_0x3c2e09(0x1))),N(this,_0x1f4513(0x271),!0x1),N(this,_0x1f4513(0x2a6),[]),(this[_0x1f4513(0x142)]=_0x3b2cf1,this[_0x1f4513(0x1df)]=_0x147539,this[_0x1f4513(0x1bb)]=_0x541133,this[_0x1f4513(0x247)]=_0x571c9d,this[_0x1f4513(0x295)]=_0x24666b,this['_localeService']=_0x3f946c,this['_revisionService']=_0x117a9f,this['_eventService']=_0x424531,this[_0x1f4513(0x306)]=_0x21a8d8,this['_commandService']=_0x524802,this[_0x1f4513(0x198)]=_0x2b6779,this[_0x1f4513(0x203)]=_0x406c27,this[_0x1f4513(0x197)]=_0x23df6);}get[_0x4d673f(0xd8)](){var _0x910d50=_0x4d673f;return this[_0x910d50(0x2ef)];}async[_0x4d673f(0x12d)](){var _0xe7d8e3=_0x4d673f;if(this[_0xe7d8e3(0xd8)])throw new Error(_0xe7d8e3(0x10a));await this[_0xe7d8e3(0x212)]();}[_0x4d673f(0x377)](){return this['_collaborationPaused']=!0x0,_0x585d89(()=>{var _0x48d21b=_0x1e69;this[_0x48d21b(0x25e)]=!0x1,this[_0x48d21b(0x379)]();});}['onLocalMutation'](_0x5b7d1d){this['_onLocalMutation'](_0x5b7d1d);}['_updateState'](_0x39d5fe){var _0x1153e6=_0x4d673f;this[_0x1153e6(0x2ef)]=_0x39d5fe,this[_0x1153e6(0x256)][_0x1153e6(0x125)](_0x39d5fe);}async[_0x4d673f(0x212)](){var _0x3c6a83=_0x4d673f,_0x531628;this[_0x3c6a83(0x372)](await this[_0x3c6a83(0x335)]()),this[_0x3c6a83(0x203)]&&((_0x531628=this['_singleActiveUnitService'])==null||_0x531628[_0x3c6a83(0x27c)](this[_0x3c6a83(0x142)]),this['disposeWithMe'](this[_0x3c6a83(0x203)][_0x3c6a83(0x2bf)](this[_0x3c6a83(0x142)])[_0x3c6a83(0x126)](_0x2d4a6c=>{var _0x504b80=_0x3c6a83;this[_0x504b80(0x306)]['debug'](_0x504b80(0x19d),'editing\x20status\x20changed\x20to',_0x2d4a6c),_0x2d4a6c===bi[_0x504b80(0x9f)]?(this['_eventService']['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x504b80(0x149)](new _0x503202(this[_0x504b80(0x142)])['id'],!0x1),this[_0x504b80(0x198)][_0x504b80(0x31c)](!0x1)):(this[_0x504b80(0x198)][_0x504b80(0x149)](new _0x503202(this['unitID'])['id'],!0x0),this[_0x504b80(0x198)]['setShowComponents'](!0x0));})));let _0x47c6c0=!0x1;return this[_0x3c6a83(0x2fa)](this[_0x3c6a83(0x1df)]['sessionStatus$']['subscribe'](_0x2ca75b=>{var _0x17c31a=_0x3c6a83;_0x2ca75b===Te[_0x17c31a(0x1ae)]?this[_0x17c31a(0x334)](_0x47c6c0):_0x2ca75b===Te[_0x17c31a(0x20c)]&&(_0x47c6c0=!0x0,this[_0x17c31a(0x350)]());})),this[_0x3c6a83(0x2fa)](this[_0x3c6a83(0x1df)][_0x3c6a83(0xfe)][_0x3c6a83(0x126)](_0x3bf914=>{var _0x1429b6=_0x3c6a83;try{switch(_0x3bf914['eventID']){case _0x73852e['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0x446ac4(_0x3bf914[_0x1429b6(0x1d7)]));break;}case _0x73852e[_0x1429b6(0x21d)]:{this[_0x1429b6(0x30c)](_0x3bf914[_0x1429b6(0x1d7)]);break;}case _0x73852e['CHANGESET_REJ']:{this[_0x1429b6(0x115)]();break;}case _0x73852e['CHANGESET_SHOULD_RETRY']:{this[_0x1429b6(0x1d5)](_0x3bf914['data']);break;}case _0x73852e[_0x1429b6(0x28b)]:{this['_onFetchMissResult'](_0x3bf914[_0x1429b6(0x1d7)]['changesets'][_0x1429b6(0x359)](_0x2fd3cf=>_0x446ac4(_0x2fd3cf)));break;}case _0x73852e['PERMISSION_REJ']:{this[_0x1429b6(0x115)]({'isPermissionRej':!0x0});break;}case _0x73852e[_0x1429b6(0x374)]:break;}}catch(_0x3f1205){throw console['error'](_0x1429b6(0x282),_0x3f1205),_0x3f1205;}})),this[_0x3c6a83(0x2ef)];}[_0x4d673f(0x2cd)](){var _0x3f746d=_0x4d673f;this[_0x3f746d(0x271)]=!0x1;}[_0x4d673f(0x96)](){var _0x1768fa=_0x4d673f;if(this[_0x1768fa(0x271)])throw new Error(_0x1768fa(0x2e4));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x3bdbc6){var _0x13c035=_0x4d673f;this[_0x13c035(0x96)](),this['_updateState'](this[_0x13c035(0x2ef)][_0x13c035(0x16e)](_0x3bdbc6)),this['_unlockTransition']();}[_0x4d673f(0x87)](_0x3bcbe3){var _0x16a993=_0x4d673f;if(!(_0x3bcbe3[_0x16a993(0x97)]<=this[_0x16a993(0xd7)]['getCurrentRevOfUnit'](this[_0x16a993(0x142)]))){if(this['_collaborationPaused']){this[_0x16a993(0x2a6)]['push'](_0x3bcbe3);return;}this[_0x16a993(0x202)](_0x3bcbe3);}}['_exhaustRemoteChangesetQueue'](){var _0x280adb=_0x4d673f;this[_0x280adb(0x2a6)][_0x280adb(0x22b)](_0x282dbf=>this[_0x280adb(0x202)](_0x282dbf)),this[_0x280adb(0x2a6)]=[];}[_0x4d673f(0x202)](_0x438686){var _0x5b9022=_0x4d673f;const _0x1dacd9=this[_0x5b9022(0x295)][_0x5b9022(0x341)][_0x5b9022(0x15d)](this[_0x5b9022(0x295)][_0x5b9022(0x341)][_0x5b9022(0x365)]()[_0x5b9022(0x34a)])(_0x438686[_0x5b9022(0x200)],null)||_0x438686[_0x5b9022(0x200)],_0x254452={..._0x438686,'mutations':_0x1dacd9};this[_0x5b9022(0x96)](),this[_0x5b9022(0x372)](this[_0x5b9022(0x2ef)]['onRemoteChangeset'](_0x254452)),this[_0x5b9022(0x2cd)]();}['_onRemoteACK'](_0x3f66aa){var _0x28d35e=_0x4d673f;this[_0x28d35e(0x96)](),this[_0x28d35e(0x372)](this['_state']['onRemoteAck'](_0x3f66aa)),this[_0x28d35e(0x2cd)]();}[_0x4d673f(0x115)](_0x5ed5bd){var _0x271772=_0x4d673f;this[_0x271772(0x96)](),this['_updateState'](this['_state'][_0x271772(0xa3)](_0x5ed5bd)),this[_0x271772(0x2cd)]();}[_0x4d673f(0x1d5)](_0x52d2ab){var _0x2566f9=_0x4d673f;this['_lockTransition'](),this[_0x2566f9(0x372)](this[_0x2566f9(0x2ef)][_0x2566f9(0x2d4)](_0x52d2ab)),this[_0x2566f9(0x2cd)]();}[_0x4d673f(0x1ce)](_0x56298b){var _0x2b37e3=_0x4d673f;if(!(this[_0x2b37e3(0x2ef)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x13e8ab=_0x56298b[_0x2b37e3(0x359)](_0xe6417c=>{var _0xbc8f22=_0x2b37e3;const _0x529adb=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this['_compressMutationService'][_0xbc8f22(0x341)][_0xbc8f22(0x365)]()[_0xbc8f22(0x34a)])(_0xe6417c['mutations'],null)||_0xe6417c['mutations'];return{..._0xe6417c,'mutations':_0x529adb};});this[_0x2b37e3(0x96)](),this[_0x2b37e3(0x372)](this[_0x2b37e3(0x2ef)]['onMissedChangesetFetched'](_0x13e8ab)),this[_0x2b37e3(0x2cd)]();}[_0x4d673f(0x350)](){var _0xd073c0=_0x4d673f;this['_lockTransition'](),this['_updateState'](this[_0xd073c0(0x2ef)][_0xd073c0(0xfc)]()),this[_0xd073c0(0x2cd)]();}[_0x4d673f(0x334)](_0x473d39=!0x1){var _0x4c2002=_0x4d673f;this[_0x4c2002(0x96)](),this[_0x4c2002(0x372)](this[_0x4c2002(0x2ef)]['toggleOnline']()),this[_0x4c2002(0x2cd)]();const _0x54d59c=this[_0x4c2002(0x2ef)];_0x473d39&&_0x54d59c instanceof De&&(this[_0x4c2002(0x96)](),this[_0x4c2002(0x372)](_0x54d59c[_0x4c2002(0x2f2)]()),this[_0x4c2002(0x2cd)]());}async['_createInitialState'](){return new Promise(_0x5c9c04=>{var _0xc1cc1c=_0x1e69;this[_0xc1cc1c(0x1df)][_0xc1cc1c(0x169)][_0xc1cc1c(0x285)](_0x4a2bcd(0x1))[_0xc1cc1c(0x126)](async _0x2bc1af=>{var _0x39004b=_0xc1cc1c;_0x5c9c04(await this[_0x39004b(0x358)](_0x2bc1af===Te[_0x39004b(0x1ae)]));});});}[_0x4d673f(0x151)](){var _0x29eadc=_0x4d673f;const _0x47ba8d=this[_0x29eadc(0x142)];return{'onStateChange':(_0x2ba683,_0x458fc)=>{var _0x1c914c=_0x29eadc;if(_0x2ba683!==this[_0x1c914c(0x2ef)])throw new Error(_0x1c914c(0x9e)+_0x2ba683[_0x1c914c(0x111)]+'\x0aAfter:\x20'+_0x458fc['status']+_0x1c914c(0x1be)+this[_0x1c914c(0x2ef)][_0x1c914c(0x111)]);this[_0x1c914c(0x372)](_0x458fc);},'onSendChangeset':_0x20dd4c=>{var _0x4bc807=_0x29eadc;_0x20dd4c['sid']||(_0x20dd4c['sid']=this[_0x4bc807(0x26e)],_0x20dd4c[_0x4bc807(0x1d2)]=++this[_0x4bc807(0xe0)]);const _0x56a582={'eventID':_0x73852e[_0x4bc807(0x195)],'data':{'unitID':_0x20dd4c[_0x4bc807(0x142)],'unitType':this['_type'],'changeset':_0x20dd4c,'memberID':this[_0x4bc807(0x1df)][_0x4bc807(0x21f)]()}};this[_0x4bc807(0x1df)][_0x4bc807(0x240)](_0x56a582,this[_0x4bc807(0x142)]);},'onMissingChangesets':({from:_0x89ee98,to:_0x196820})=>{var _0x38f93c=_0x29eadc;this[_0x38f93c(0x306)][_0x38f93c(0x34f)](_0x38f93c(0x19d),'fetching\x20missing\x20changesets\x20from\x20'+_0x89ee98+'\x20to\x20'+_0x196820);const _0x4272ea={'eventID':_0x73852e[_0x38f93c(0xcb)],'data':{'unitID':_0x47ba8d,'unitType':this['_type'],'from':_0x89ee98,'to':_0x196820}};this[_0x38f93c(0x1df)][_0x38f93c(0x240)](_0x4272ea,this[_0x38f93c(0x142)]);}};}async['_createInitialStateImpl'](_0x9756fe){var _0x3010d9=_0x4d673f,_0x2eb365,_0x4e237b,_0x5a9942;const _0x341d9f=await((_0x2eb365=this[_0x3010d9(0x197)])==null?void 0x0:_0x2eb365[_0x3010d9(0x326)](this[_0x3010d9(0x142)])),_0x290589=(_0x4e237b=_0x341d9f==null?void 0x0:_0x341d9f[_0x3010d9(0x200)])!=null?_0x4e237b:[],_0x5b56c5=(_0x5a9942=_0x341d9f==null?void 0x0:_0x341d9f[_0x3010d9(0xdb)])!=null?_0x5a9942:null,_0x143688=!!(_0x5b56c5!=null&&_0x5b56c5[_0x3010d9(0xa8)])&&!!(_0x5b56c5!=null&&_0x5b56c5[_0x3010d9(0x1d2)]);this[_0x3010d9(0x26e)]=_0x143688?_0x5b56c5[_0x3010d9(0xa8)]:sr(),this[_0x3010d9(0xe0)]=_0x143688?_0x5b56c5[_0x3010d9(0x1d2)]:0x0;const _0x36e6db=this[_0x3010d9(0x142)];try{this['_replayCachedMutations'](_0x5b56c5,_0x290589);}catch(_0x365ce6){this[_0x3010d9(0x306)][_0x3010d9(0x32c)](_0x365ce6);}const _0xe78677=this['_createHandler']();if(_0x9756fe){const _0x416311=Di(this[_0x3010d9(0x247)],_0x36e6db,this['_type'],_0x5b56c5,_0x290589,_0xe78677);return _0x416311 instanceof oe?_0x416311[_0x3010d9(0x352)]():(_0x416311 instanceof ae||_0x416311 instanceof ue)&&_0x416311['resend'](),_0x416311;}return this[_0x3010d9(0x247)][_0x3010d9(0x173)](fe,_0x36e6db,this[_0x3010d9(0x1bb)],_0x5b56c5,_0x290589,_0xe78677);}[_0x4d673f(0x1f7)](_0x5bcd12,_0x1b82c8){var _0x4ab6a0=_0x4d673f,_0x58f9e2,_0x3101ac;const _0x37ccf9=this[_0x4ab6a0(0x295)][_0x4ab6a0(0x341)][_0x4ab6a0(0x15d)](this[_0x4ab6a0(0x295)]['interceptor'][_0x4ab6a0(0x365)]()[_0x4ab6a0(0x34a)]);(_0x58f9e2=_0x37ccf9((_0x5bcd12==null?void 0x0:_0x5bcd12[_0x4ab6a0(0x200)])||[],null))==null||_0x58f9e2[_0x4ab6a0(0x22b)](_0x350f75=>this[_0x4ab6a0(0xf4)][_0x4ab6a0(0x20a)](_0x350f75['id'],_0x350f75[_0x4ab6a0(0x30b)])),(_0x3101ac=_0x37ccf9(_0x1b82c8||[],null))==null||_0x3101ac['forEach'](_0x314a86=>this[_0x4ab6a0(0xf4)]['executeCommand'](_0x314a86['id'],_0x314a86['params']));}};nt=Lt([k(0x3,_0x4513f6(_0x59bc83)),k(0x4,_0x4513f6(_0x4536ab)),k(0x5,_0x4513f6(_0x17a1db)),k(0x6,_0x4513f6(_0x58d675)),k(0x7,_0x4513f6(pe)),k(0x8,_0x4ea18a),k(0x9,_0x390090),k(0xa,_0x104623),k(0xb,_0x1ef01f(ht)),k(0xc,_0x1ef01f(J))],nt);let Tt=class extends nt{constructor(_0x5cca26,_0x4949ad,_0x1e928a,_0x410b24,_0x6094dd,_0x2fde28,_0x5c7df9,_0xb36436,_0x66be82,_0x4f1d8e,_0x1d1bf4,_0x16035f,_0x4fa60d){var _0x2b7c22=_0x4d673f;super(_0x5cca26,_0x1e928a,_0x4949ad,_0x410b24,_0x6094dd,_0x2fde28,_0x5c7df9,_0xb36436,_0x66be82,_0x4f1d8e,_0x1d1bf4,_0x16035f,_0x4fa60d),N(this,_0x2b7c22(0x199),null),(this[_0x2b7c22(0x142)]=_0x5cca26,this['type']=_0x4949ad);}[_0x4d673f(0x340)](_0x338f79){this['_handlerCallback']=_0x338f79;}[_0x4d673f(0x213)](){var _0x288fbb=_0x4d673f;this[_0x288fbb(0x199)]=null,super['dispose']();}[_0x4d673f(0x151)](){var _0xdfe8e5=_0x4d673f;const _0x43641b=super['_createHandler']();return _0x43641b[_0xdfe8e5(0xe7)]=_0x1eb6f3=>{var _0x231a8a=_0xdfe8e5,_0x2fd558,_0x551939;return(_0x551939=(_0x2fd558=this['_handlerCallback'])==null?void 0x0:_0x2fd558['onTransformIME'])==null?void 0x0:_0x551939[_0x231a8a(0x1ec)](_0x2fd558,_0x1eb6f3);},_0x43641b[_0xdfe8e5(0x26c)]=_0x4cf4ef=>{var _0x148fbc=_0xdfe8e5,_0x415e1f,_0x158963;return(_0x158963=(_0x415e1f=this[_0x148fbc(0x199)])==null?void 0x0:_0x415e1f[_0x148fbc(0x26c)])==null?void 0x0:_0x158963[_0x148fbc(0x1ec)](_0x415e1f,_0x4cf4ef);},_0x43641b[_0xdfe8e5(0x36d)]=_0x24ee2e=>{var _0x3e03d6=_0xdfe8e5,_0x5178aa,_0x2aa9e1;return(_0x2aa9e1=(_0x5178aa=this['_handlerCallback'])==null?void 0x0:_0x5178aa[_0x3e03d6(0x36d)])==null?void 0x0:_0x2aa9e1[_0x3e03d6(0x1ec)](_0x5178aa,_0x24ee2e);},_0x43641b[_0xdfe8e5(0x28d)]=_0x2e843e=>{var _0xeb5a88=_0xdfe8e5,_0x51353c,_0x6099d2;return(_0x6099d2=(_0x51353c=this['_handlerCallback'])==null?void 0x0:_0x51353c[_0xeb5a88(0x28d)])==null?void 0x0:_0x6099d2[_0xeb5a88(0x1ec)](_0x51353c,_0x2e843e);},_0x43641b[_0xdfe8e5(0x1e1)]=_0x522efc=>{var _0x934ef8=_0xdfe8e5,_0x3c78b2,_0x421e91,_0x497052;if(!((_0x3c78b2=this[_0x934ef8(0x199)])!=null&&_0x3c78b2[_0x934ef8(0x1e1)]))throw new Error(_0x934ef8(0x250));return(_0x497052=(_0x421e91=this[_0x934ef8(0x199)])==null?void 0x0:_0x421e91['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x497052[_0x934ef8(0x1ec)](_0x421e91,_0x522efc);},_0x43641b['onTransformRemoteChangesetByStateCache']=_0x25cc74=>{var _0x1e0ba8=_0xdfe8e5,_0x4b45c2,_0x252350,_0x4ac4b4;if(!((_0x4b45c2=this['_handlerCallback'])!=null&&_0x4b45c2[_0x1e0ba8(0x1cc)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x4ac4b4=(_0x252350=this[_0x1e0ba8(0x199)])==null?void 0x0:_0x252350[_0x1e0ba8(0x1cc)])==null?void 0x0:_0x4ac4b4['call'](_0x252350,_0x25cc74);},_0x43641b;}async['_init'](){var _0x4fd05a=_0x4d673f;const _0x1ecde0=await super[_0x4fd05a(0x212)]();return this[_0x4fd05a(0x2fa)](this[_0x4fd05a(0xf4)]['onCommandExecuted']((_0x432ee8,_0x9f8d08)=>{var _0x5cdb86=_0x4fd05a;if(_0x432ee8[_0x5cdb86(0x2ca)]!==_0x1db635[_0x5cdb86(0x348)]||_0x9f8d08!=null&&_0x9f8d08[_0x5cdb86(0x8d)]||_0x9f8d08!=null&&_0x9f8d08[_0x5cdb86(0xdd)]||_0x432ee8['id']===_0x140c82['id'])return;const _0x388f57=_0x432ee8[_0x5cdb86(0x30b)];if((_0x388f57==null?void 0x0:_0x388f57[_0x5cdb86(0x2f8)])!==this[_0x5cdb86(0x142)])return;const _0x2769cd=_0x432ee8,_0x2b407c=this['_compressMutationService'][_0x5cdb86(0x341)][_0x5cdb86(0x15d)](this[_0x5cdb86(0x295)][_0x5cdb86(0x341)][_0x5cdb86(0x365)]()[_0x5cdb86(0x2aa)])([_0x2769cd],null)||[_0x2769cd];this['_onLocalMutation'](_0x2b407c[0x0]);})),_0x1ecde0;}};Tt=Lt([k(0x3,_0x4513f6(_0x59bc83)),k(0x4,_0x4513f6(_0x4536ab)),k(0x5,_0x4513f6(_0x17a1db)),k(0x6,_0x4513f6(_0x58d675)),k(0x7,_0x4513f6(pe)),k(0x8,_0x4ea18a),k(0x9,_0x390090),k(0xa,_0x104623),k(0xb,_0x1ef01f(ht)),k(0xc,_0x1ef01f(J))],Tt);let Ct=class extends nt{constructor(_0x5e3819,_0x251f0b,_0x37c8f9,_0x398c6a,_0x5655ed,_0x310214,_0x506dfa,_0x2b5407,_0x47dde8,_0x1bbff6,_0xcadfb0,_0x20555e,_0x2a42ed,_0x102f81){var _0xb0cacd=_0x4d673f;super(_0x5e3819,_0x37c8f9,_0x251f0b,_0x398c6a,_0x5655ed,_0x310214,_0x506dfa,_0x47dde8,_0x1bbff6,_0xcadfb0,_0x20555e,_0x2a42ed,_0x102f81),this[_0xb0cacd(0x142)]=_0x5e3819,this[_0xb0cacd(0x2ca)]=_0x251f0b,this[_0xb0cacd(0x14f)]=_0x2b5407;}[_0x4d673f(0x151)](){var _0x40fd00=_0x4d673f;const _0x5c296f=super[_0x40fd00(0x151)]();return _0x5c296f[_0x40fd00(0x36d)]=_0x5baffb=>this[_0x40fd00(0x14f)][_0x40fd00(0x106)](_0x5baffb),_0x5c296f;}async[_0x4d673f(0x212)](){var _0x5d8cde=_0x4d673f;const _0x1a2d95=await super[_0x5d8cde(0x212)]();return this[_0x5d8cde(0x2fa)](this['_commandService']['onCommandExecuted']((_0x4ea634,_0x4d06dc)=>{var _0x18ede2=_0x5d8cde;if(_0x4ea634[_0x18ede2(0x2ca)]!==_0x1db635[_0x18ede2(0x348)]||_0x4d06dc!=null&&_0x4d06dc[_0x18ede2(0x8d)]||_0x4d06dc!=null&&_0x4d06dc[_0x18ede2(0xdd)])return;const _0x3fe5b7=_0x4ea634['params'];if((_0x3fe5b7==null?void 0x0:_0x3fe5b7['unitId'])!==this[_0x18ede2(0x142)])return;const _0x41c435=_0x4ea634,_0x535846=this[_0x18ede2(0x295)][_0x18ede2(0x341)][_0x18ede2(0x15d)](this['_compressMutationService'][_0x18ede2(0x341)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x41c435],null)||[_0x41c435];this[_0x18ede2(0x1e0)](_0x535846[0x0]);})),_0x1a2d95;}};Ct=Lt([k(0x3,_0x4513f6(_0x59bc83)),k(0x4,_0x4513f6(_0x4536ab)),k(0x5,_0x4513f6(_0x17a1db)),k(0x6,_0x4513f6(_0x58d675)),k(0x7,_0x4513f6(it)),k(0x8,_0x4513f6(pe)),k(0x9,_0x4ea18a),k(0xa,_0x390090),k(0xb,_0x104623),k(0xc,_0x1ef01f(ht)),k(0xd,_0x1ef01f(J))],Ct);var mr=Object[_0x4d673f(0x158)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x193a6a,_0x2ad096,_0xe269db,_0x4ae0a8)=>{var _0x1d590a=_0x4d673f;for(var _0xa4146d=_0x4ae0a8>0x1?void 0x0:_0x4ae0a8?gr(_0x2ad096,_0xe269db):_0x2ad096,_0x1fd0ed=_0x193a6a[_0x1d590a(0xf8)]-0x1,_0x4804af;_0x1fd0ed>=0x0;_0x1fd0ed--)(_0x4804af=_0x193a6a[_0x1fd0ed])&&(_0xa4146d=(_0x4ae0a8?_0x4804af(_0x2ad096,_0xe269db,_0xa4146d):_0x4804af(_0xa4146d))||_0xa4146d);return _0x4ae0a8&&_0xa4146d&&mr(_0x2ad096,_0xe269db,_0xa4146d),_0xa4146d;},ft=(_0x2ca2d4,_0xb94bcf)=>(_0x14f408,_0x2f703e)=>_0xb94bcf(_0x14f408,_0x2f703e,_0x2ca2d4);let rt=class extends _0x24e8c4{constructor(_0x1e950f,_0x5e2592,_0x30308a){var _0x3c5424=_0x4d673f;super(),N(this,_0x3c5424(0x284),new Map()),N(this,_0x3c5424(0x177),new _0x51c542()),N(this,_0x3c5424(0x34d),this[_0x3c5424(0x177)][_0x3c5424(0x19c)]()),(this['_injector']=_0x1e950f,this[_0x3c5424(0xbb)]=_0x5e2592,this[_0x3c5424(0x102)]=_0x30308a,this[_0x3c5424(0x212)]());}[_0x4d673f(0x213)](){var _0x2b619c=_0x4d673f;super['dispose'](),this['_entities'][_0x2b619c(0x22b)](_0x41376c=>_0x41376c[_0x2b619c(0x213)]()),this[_0x2b619c(0x284)]['clear']();}[_0x4d673f(0x133)](_0x51bd1d){var _0x28c084=_0x4d673f,_0x3e0254;return(_0x3e0254=this[_0x28c084(0x284)]['get'](_0x51bd1d))!=null?_0x3e0254:null;}[_0x4d673f(0x120)](_0x5afc00){var _0xe1da6b=_0x4d673f;const _0x21c157=this[_0xe1da6b(0x133)](_0x5afc00);return _0x21c157?_0x199eea(_0x21c157):this['_entityInit$'][_0xe1da6b(0x285)](_0x182afb(_0x8a7b33=>_0x8a7b33[_0xe1da6b(0x142)]===_0x5afc00));}['readyForCollab'](_0x368d3b){var _0x57707a=_0x4d673f;return _0x23cb34(this[_0x57707a(0x120)](_0x368d3b)[_0x57707a(0x285)](_0x5b9215(()=>{})));}['_init'](){var _0x5c3be9=_0x4d673f;this['_univerInstanceService'][_0x5c3be9(0x12e)](_0x5ef5ec[_0x5c3be9(0x121)])[_0x5c3be9(0x285)](_0x218a01(this['dispose$']),_0x28118f(0x10))['subscribe'](async _0x1f2991=>{var _0x56f3ca=_0x5c3be9;const _0x179bdc=_0x1f2991[_0x56f3ca(0x208)](),_0x2a7075=await this[_0x56f3ca(0x2ae)](_0x179bdc,Q['UNIVER_SHEET']);this[_0x56f3ca(0x284)][_0x56f3ca(0x190)](_0x179bdc,_0x2a7075);}),this['_univerInstanceService'][_0x5c3be9(0x12e)](_0x5ef5ec[_0x5c3be9(0x156)])['pipe'](_0x218a01(this[_0x5c3be9(0x2a4)]),_0x28118f(0x10))['pipe'](_0x182afb(_0xfe94a=>!_0xfe94a[_0x5c3be9(0x208)]()['startsWith']('__')))[_0x5c3be9(0x126)](async _0x1db780=>{var _0x4a29c6=_0x5c3be9;const _0x37a394=_0x1db780[_0x4a29c6(0x208)](),_0x4875b2=await this[_0x4a29c6(0x2ae)](_0x37a394,Q['UNIVER_DOC']);this[_0x4a29c6(0x284)]['set'](_0x37a394,_0x4875b2);}),_0x55a414(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5ef5ec[_0x5c3be9(0x121)]),this[_0x5c3be9(0x102)][_0x5c3be9(0x35d)](_0x5ef5ec['UNIVER_DOC']))[_0x5c3be9(0x285)](_0x218a01(this[_0x5c3be9(0x2a4)]))[_0x5c3be9(0x126)](_0x2d0576=>{var _0x4432f6=_0x5c3be9;const _0x21a266=_0x2d0576['getUnitId'](),_0x46e84f=this['_entities']['get'](_0x21a266);_0x46e84f&&(_0x46e84f[_0x4432f6(0x213)](),this[_0x4432f6(0x284)][_0x4432f6(0x237)](_0x21a266));});}async[_0x4d673f(0x2ae)](_0x330f78,_0x459322){var _0x5b973a=_0x4d673f;const _0x49a8e1=await this[_0x5b973a(0xbb)][_0x5b973a(0x36e)](_0x330f78),_0x5db98d=this[_0x5b973a(0x247)][_0x5b973a(0x173)](this[_0x5b973a(0x2f5)](_0x459322),_0x330f78,_0x459322,_0x49a8e1);return await _0x5db98d[_0x5b973a(0x12d)](),this['_entityInit$']['next'](_0x5db98d),_0x5db98d;}[_0x4d673f(0x2f5)](_0x839c99){var _0x3e0b31=_0x4d673f;switch(_0x839c99){case Q[_0x3e0b31(0x156)]:return Tt;case Q['UNIVER_SHEET']:return Ct;default:throw new Error(_0x3e0b31(0x1e4)+_0x839c99);}}};rt=Sr([ft(0x0,_0x4513f6(_0x59bc83)),ft(0x1,_0x4513f6(Le)),ft(0x2,_0x5050f9)],rt);var Er=Object[_0x4d673f(0x158)],Ir=Object[_0x4d673f(0x37a)],Tr=(_0x3efc84,_0x58d1e3,_0x490f88,_0x397d2e)=>{var _0x735211=_0x4d673f;for(var _0x3eaf26=_0x397d2e>0x1?void 0x0:_0x397d2e?Ir(_0x58d1e3,_0x490f88):_0x58d1e3,_0x5508d6=_0x3efc84[_0x735211(0xf8)]-0x1,_0x32f26c;_0x5508d6>=0x0;_0x5508d6--)(_0x32f26c=_0x3efc84[_0x5508d6])&&(_0x3eaf26=(_0x397d2e?_0x32f26c(_0x58d1e3,_0x490f88,_0x3eaf26):_0x32f26c(_0x3eaf26))||_0x3eaf26);return _0x397d2e&&_0x3eaf26&&Er(_0x58d1e3,_0x490f88,_0x3eaf26),_0x3eaf26;},Jt=(_0x429765,_0x3777a0)=>(_0x35c121,_0x56ae99)=>_0x3777a0(_0x35c121,_0x56ae99,_0x429765);const Cr=_0x4d673f(0x2eb),Rr='Univer';let Rt=class extends _0x31128a{constructor(_0x40dd1e,_0x3402ec){var _0x35493c=_0x4d673f;super(),this[_0x35493c(0x102)]=_0x40dd1e,this[_0x35493c(0x2b0)]=_0x3402ec,this[_0x35493c(0x212)]();}[_0x4d673f(0x212)](){var _0x578a6a=_0x4d673f;this[_0x578a6a(0x2fa)](this['_univerInstanceService']['focused$']['subscribe'](()=>{var _0x16fd16=_0x578a6a,_0x24c393;const _0x199657=this['_univerInstanceService'][_0x16fd16(0x333)]();let _0x310861=(_0x24c393=this[_0x16fd16(0x2b0)][_0x16fd16(0x2d8)](Cr))!=null?_0x24c393:Rr;_0x199657 instanceof _0x5ab3d8&&(_0x310861=_0x199657[_0x16fd16(0x1a7)]),document[_0x16fd16(0x21a)]=_0x310861;}));}};Rt=Tr([Jt(0x0,_0x5050f9),Jt(0x1,_0x50d966)],Rt);var br=Object['defineProperty'],Or=Object[_0x4d673f(0x37a)],yr=(_0x43f8df,_0x1d2918,_0x3227e1,_0x441137)=>{var _0xa6f24f=_0x4d673f;for(var _0x1ae1a0=_0x441137>0x1?void 0x0:_0x441137?Or(_0x1d2918,_0x3227e1):_0x1d2918,_0x12163c=_0x43f8df[_0xa6f24f(0xf8)]-0x1,_0x2e1a34;_0x12163c>=0x0;_0x12163c--)(_0x2e1a34=_0x43f8df[_0x12163c])&&(_0x1ae1a0=(_0x441137?_0x2e1a34(_0x1d2918,_0x3227e1,_0x1ae1a0):_0x2e1a34(_0x1ae1a0))||_0x1ae1a0);return _0x441137&&_0x1ae1a0&&br(_0x1d2918,_0x3227e1,_0x1ae1a0),_0x1ae1a0;},vt=(_0x43b2ae,_0x307dad)=>(_0x114071,_0x2f3aed)=>_0x307dad(_0x114071,_0x2f3aed,_0x43b2ae);let st=class{constructor(_0x197220,_0x42d2e1,_0x1b62a3){var _0x3997ce=_0x4d673f;this[_0x3997ce(0x2b0)]=_0x197220,this[_0x3997ce(0x2b4)]=_0x42d2e1,this['localeService']=_0x1b62a3,this[_0x3997ce(0x12d)]();}[_0x4d673f(0x12d)](){var _0x380bd7=_0x4d673f;this[_0x380bd7(0x2b4)][_0x380bd7(0xee)]({'priority':0x1,'interceptor':(_0xe57ebc,_0x377b43)=>_0x377b43(_0xe57ebc)['pipe'](_0x1f7c42(async _0x53d8d6=>{var _0x1d8259=_0x380bd7;const _0x462979=_0x53d8d6;if(_0x462979[_0x1d8259(0x111)]===0x191){if(typeof window>'u')throw new Error(_0x1d8259(0x187));if(window['confirm'](this[_0x1d8259(0x1fa)]['t'](_0x1d8259(0x1e5)))){const _0x21fd08=window[_0x1d8259(0x1af)](window[_0x1d8259(0x276)][_0x1d8259(0x33f)]);window[_0x1d8259(0x276)][_0x1d8259(0x33f)]=this['_getLoginPath']()+_0x1d8259(0x27d)+_0x21fd08;}}return _0x462979;}))});}['_getLoginPath'](){var _0x2531a0=_0x4d673f,_0x411aad,_0x14b076;const _0x152b34=this[_0x2531a0(0x2b0)][_0x2531a0(0x2d8)](xn),_0x3092ee=this['_configService']['getConfig'](q);return(_0x14b076=(_0x411aad=_0x3092ee==null?void 0x0:_0x3092ee['loginUrlKey'])!=null?_0x411aad:_0x152b34)!=null?_0x14b076:Ln;}};st=yr([vt(0x0,_0x50d966),vt(0x1,_0x4513f6(_0x4b98ea)),vt(0x2,_0x4513f6(_0x17a1db))],st);var Nr=Object[_0x4d673f(0x158)],Dr=Object[_0x4d673f(0x37a)],Pr=(_0x287bbf,_0x3857ec,_0x17073d,_0x4f5a55)=>{for(var _0x132fde=_0x4f5a55>0x1?void 0x0:_0x4f5a55?Dr(_0x3857ec,_0x17073d):_0x3857ec,_0x393340=_0x287bbf['length']-0x1,_0x5f0a40;_0x393340>=0x0;_0x393340--)(_0x5f0a40=_0x287bbf[_0x393340])&&(_0x132fde=(_0x4f5a55?_0x5f0a40(_0x3857ec,_0x17073d,_0x132fde):_0x5f0a40(_0x132fde))||_0x132fde);return _0x4f5a55&&_0x132fde&&Nr(_0x3857ec,_0x17073d,_0x132fde),_0x132fde;},Xt=(_0x240b6f,_0x17d7fa)=>(_0x30e4b5,_0x568047)=>_0x17d7fa(_0x30e4b5,_0x568047,_0x240b6f);const Pi=_0x4d673f(0x1c5),wr=_0x4d673f(0x8c);let bt=class extends _0x31128a{constructor(_0x5f47c0,_0x59ec0c){var _0x4121fe=_0x4d673f;super(),this[_0x4121fe(0x14e)]=_0x5f47c0,this['_configService']=_0x59ec0c,this[_0x4121fe(0x314)]();}[_0x4d673f(0x314)](){var _0x45b816=_0x4d673f;const _0x5af514=this;this[_0x45b816(0x2fa)](this[_0x45b816(0x14e)][_0x45b816(0xee)]({'priority':0x3e7,'interceptor':_0x37af45({'isMatch'(_0x528013){var _0x1133f9=_0x45b816,_0x367dc3;if(_0x528013[_0x1133f9(0xc1)]===_0x1133f9(0x18c)&&((_0x367dc3=_0x528013['requestParams'])!=null&&_0x367dc3['body'])){const {objectID:_0x277d39,objectType:_0x400555}=_0x528013['requestParams'][_0x1133f9(0x296)]||{};if(!_0x277d39||_0x400555===void 0x0)return!0x1;const _0x206b62=_0x5af514[_0x1133f9(0x210)]()+'/'+_0x400555+_0x1133f9(0x2a8)+_0x277d39+_0x1133f9(0x253);if(_0x528013[_0x1133f9(0x1e8)]===_0x206b62)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4cd886){var _0x19ac20=_0x45b816,_0xcdce9a;return(_0xcdce9a=_0x4cd886['requestParams'])==null?void 0x0:_0xcdce9a[_0x19ac20(0x296)];},'mergeParamsToRequest'(_0x2b86c1,_0x1529d5){var _0x2c31a4=_0x45b816;const _0x142cda=_0x5af514[_0x2c31a4(0x210)]()+_0x2c31a4(0xb3),_0x2666d2=_0x2b86c1[_0x2c31a4(0x15a)]((_0x53e32f,_0x5d6374)=>{const {unitID:_0x4c857a,objectID:_0xfc4f91,objectType:_0xa092eb,actions:_0x227701}=_0x5d6374;return _0x53e32f[_0x4c857a]||(_0x53e32f[_0x4c857a]={}),_0x53e32f[_0x4c857a][_0xfc4f91]||(_0x53e32f[_0x4c857a][_0xfc4f91]={'objectID':_0xfc4f91,'objectType':_0xa092eb,'actions':[]}),_0x53e32f[_0x4c857a][_0xfc4f91]['actions']['push'](..._0x227701),_0x53e32f;},{}),_0x3f8ac8=[];for(const _0x8be062 in _0x2666d2)for(const _0x210680 in _0x2666d2[_0x8be062]){const {actions:_0x3e4328,objectType:_0x1d3b59}=_0x2666d2[_0x8be062][_0x210680],_0x11933b=[...new Set(_0x3e4328)];_0x3f8ac8['push']({'unitID':_0x8be062,'objectID':_0x210680,'objectType':_0x1d3b59,'actions':_0x11933b});}return new _0x4d5295(_0x2c31a4(0x18c),_0x142cda,{'headers':_0x1529d5['headers'],'withCredentials':_0x1529d5[_0x2c31a4(0x152)],'responseType':_0x1529d5[_0x2c31a4(0xe3)],'body':{'requests':_0x3f8ac8}});}},{'distributeResult'(_0x59aca0,_0x1a08f3){const {objectActions:_0x287bd8}=_0x59aca0;return _0x1a08f3['map'](_0x2a1fc3=>{var _0x36360e=_0x1e69;const {unitID:_0x40a7a3,objectID:_0x132617,actions:_0x35730f}=_0x2a1fc3,_0x55d484=_0x287bd8[_0x36360e(0x27f)](_0x518303=>_0x518303[_0x36360e(0x142)]===_0x40a7a3&&_0x518303['objectID']===_0x132617),_0x16a0cc=_0x35730f[_0x36360e(0x359)](_0x43702b=>_0x55d484==null?void 0x0:_0x55d484[_0x36360e(0xda)][_0x36360e(0x27f)](_0x27e36c=>_0x27e36c[_0x36360e(0x2da)]===_0x43702b))[_0x36360e(0x29f)](_0x16689f=>!!_0x16689f);return{'config':_0x2a1fc3,'result':{'actions':_0x16a0cc,'error':_0x59aca0[_0x36360e(0x32c)]}};});}})}));}[_0x4d673f(0x210)](){var _0x35f9f8=_0x4d673f,_0x52041f,_0x1e534f;const _0x587f0d=this[_0x35f9f8(0x2b0)][_0x35f9f8(0x2d8)](Pi),_0x5c8b34=this[_0x35f9f8(0x2b0)][_0x35f9f8(0x2d8)](q);return(_0x1e534f=(_0x52041f=_0x5c8b34==null?void 0x0:_0x5c8b34[_0x35f9f8(0x27b)])!=null?_0x52041f:_0x587f0d)!=null?_0x1e534f:wr;}async['create'](_0x18558b){var _0x42cb7c=_0x4d673f;const _0x5e6568=this[_0x42cb7c(0x210)]()+'/'+_0x18558b[_0x42cb7c(0x378)]+'/object';return(await this[_0x42cb7c(0x14e)][_0x42cb7c(0x20e)](_0x5e6568,{'body':_0x18558b}))[_0x42cb7c(0x296)][_0x42cb7c(0xd6)]||'';}async[_0x4d673f(0x2bb)](_0x1f49dd){var _0x522d20=_0x4d673f;const _0x193b40=this[_0x522d20(0x210)]()+_0x522d20(0x2f1);return(await this[_0x522d20(0x14e)]['post'](_0x193b40,{'body':_0x1f49dd}))['body'][_0x522d20(0x27a)];}async['update'](_0x2009cb){var _0x408b00=_0x4d673f;const _0x16d8d9=this[_0x408b00(0x210)]()+'/'+_0x2009cb[_0x408b00(0x378)]+'/object/'+_0x2009cb[_0x408b00(0xd6)];await this[_0x408b00(0x14e)][_0x408b00(0x12b)](_0x16d8d9,{'body':_0x2009cb});}async[_0x4d673f(0xad)](_0x243ad5){var _0x352d14=_0x4d673f;const _0x597010=this['_getAPIPrefixPath']()+'/'+_0x243ad5[_0x352d14(0x378)]+_0x352d14(0x2a8)+_0x243ad5[_0x352d14(0xd6)]+_0x352d14(0x253);return(await this[_0x352d14(0x14e)]['post'](_0x597010,{'body':_0x243ad5}))[_0x352d14(0x296)]['actions'];}async['batchAllowed'](_0x7f7afb){var _0x7fcd33=_0x4d673f;const _0x4f2058=this[_0x7fcd33(0x210)]()+_0x7fcd33(0xb3);return(await this[_0x7fcd33(0x14e)]['post'](_0x4f2058,{'body':{'requests':_0x7f7afb}}))['body'][_0x7fcd33(0x164)];}async[_0x4d673f(0x29d)](_0x36c2c0){var _0x290409=_0x4d673f;const _0x401475=this[_0x290409(0x210)]()+'/'+_0x36c2c0[_0x290409(0x378)]+_0x290409(0x22e),_0x171502=await this['_HTTPService'][_0x290409(0x20e)](_0x401475,{'body':_0x36c2c0});return{'roles':_0x171502[_0x290409(0x296)][_0x290409(0x2b2)],'actions':_0x171502[_0x290409(0x296)][_0x290409(0xda)]};}async['deleteCollaborator'](_0x19b060){var _0x262c97=_0x4d673f;const _0x37792e=this[_0x262c97(0x210)]()+_0x262c97(0x131);await this['_HTTPService'][_0x262c97(0x237)](_0x37792e,{'params':{'collaboratorID':_0x19b060[_0x262c97(0x143)],'objectID':_0x19b060['objectID'],'unitID':_0x19b060[_0x262c97(0x142)]}});}async[_0x4d673f(0x325)](_0x49269a){var _0xc3fd6d=_0x4d673f;const _0xc2b02b=this[_0xc3fd6d(0x210)]()+'/collaborator';await this['_HTTPService'][_0xc3fd6d(0xdc)](_0xc2b02b,{'body':_0x49269a});}async[_0x4d673f(0x35a)](_0x5af526){var _0x178846=_0x4d673f;const _0x46c970=this[_0x178846(0x210)]()+'/collaborator';await this['_HTTPService'][_0x178846(0x20e)](_0x46c970,{'body':_0x5af526});}async[_0x4d673f(0x2c9)](_0x148798){var _0x54d443=_0x4d673f;const _0x5e7b63=this[_0x54d443(0x210)]()+'/collaborator';return(await this[_0x54d443(0x14e)][_0x54d443(0x2af)](_0x5e7b63,{'params':{'objectID':_0x148798['objectID'],'unitID':_0x148798[_0x54d443(0x142)]}}))['body'][_0x54d443(0x101)];}async['putCollaborators'](_0x588ec1){var _0x26c9bb=_0x4d673f;const _0x4769a4=this[_0x26c9bb(0x210)]()+_0x26c9bb(0x131);await this[_0x26c9bb(0x14e)]['put'](_0x4769a4,{'body':_0x588ec1});}};bt=Pr([Xt(0x0,_0x4513f6(_0x4b98ea)),Xt(0x1,_0x4513f6(_0x50d966))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1ab301){var _0x134d45=_0x4d673f;return _0x1ab301&&_0x1ab301['__esModule']&&Object[_0x134d45(0x1d4)]['hasOwnProperty'][_0x134d45(0x1ec)](_0x1ab301,_0x134d45(0x347))?_0x1ab301[_0x134d45(0x347)]:_0x1ab301;}var Ve={'exports':{}};function Ur(_0x3b767a){var _0x250109=_0x4d673f;throw new Error(_0x250109(0x144)+_0x3b767a+_0x250109(0x1b9));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x3d05a9=_0x4d673f;return Zt||(Zt=0x1,function(_0x2c363a,_0x4e1d0d){(function(_0x417450,_0x28a69f){var _0x482596=_0x1e69;_0x2c363a[_0x482596(0x2c2)]=_0x28a69f();}(Ar,function(){var _0x482c6e=_0x482c6e||function(_0x12a52a,_0x13c6a){var _0x1533cf=_0x1e69,_0x229dfc;if(typeof window<'u'&&window[_0x1533cf(0x2d6)]&&(_0x229dfc=window[_0x1533cf(0x2d6)]),typeof self<'u'&&self[_0x1533cf(0x2d6)]&&(_0x229dfc=self[_0x1533cf(0x2d6)]),typeof globalThis<'u'&&globalThis[_0x1533cf(0x2d6)]&&(_0x229dfc=globalThis[_0x1533cf(0x2d6)]),!_0x229dfc&&typeof window<'u'&&window[_0x1533cf(0x13a)]&&(_0x229dfc=window[_0x1533cf(0x13a)]),!_0x229dfc&&typeof pt<'u'&&pt[_0x1533cf(0x2d6)]&&(_0x229dfc=pt[_0x1533cf(0x2d6)]),!_0x229dfc&&typeof Ur==_0x1533cf(0xef))try{_0x229dfc=require(_0x1533cf(0x2d6));}catch{}var _0x38d505=function(){var _0x45d583=_0x1533cf;if(_0x229dfc){if(typeof _0x229dfc[_0x45d583(0x159)]=='function')try{return _0x229dfc[_0x45d583(0x159)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x229dfc[_0x45d583(0x192)]==_0x45d583(0xef))try{return _0x229dfc[_0x45d583(0x192)](0x4)[_0x45d583(0x160)]();}catch{}}throw new Error(_0x45d583(0x217));},_0xade271=Object[_0x1533cf(0x22f)]||(function(){function _0x50989c(){}return function(_0x49aa51){var _0x4f04f5=_0x1e69,_0x3f3819;return _0x50989c['prototype']=_0x49aa51,_0x3f3819=new _0x50989c(),_0x50989c[_0x4f04f5(0x1d4)]=null,_0x3f3819;};}()),_0x5e3479={},_0x452942=_0x5e3479[_0x1533cf(0x332)]={},_0x280330=_0x452942[_0x1533cf(0x18d)]=(function(){return{'extend':function(_0x5755e4){var _0x281116=_0x1e69,_0x4d7f07=_0xade271(this);return _0x5755e4&&_0x4d7f07[_0x281116(0x2e1)](_0x5755e4),(!_0x4d7f07['hasOwnProperty'](_0x281116(0x12d))||this[_0x281116(0x12d)]===_0x4d7f07['init'])&&(_0x4d7f07['init']=function(){var _0x5c14f5=_0x281116;_0x4d7f07['$super'][_0x5c14f5(0x12d)][_0x5c14f5(0x1f9)](this,arguments);}),_0x4d7f07['init']['prototype']=_0x4d7f07,_0x4d7f07[_0x281116(0x1ca)]=this,_0x4d7f07;},'create':function(){var _0x489f6d=_0x1e69,_0x2f07df=this[_0x489f6d(0x336)]();return _0x2f07df[_0x489f6d(0x12d)][_0x489f6d(0x1f9)](_0x2f07df,arguments),_0x2f07df;},'init':function(){},'mixIn':function(_0xb22915){var _0x2bdd88=_0x1e69;for(var _0x3945f3 in _0xb22915)_0xb22915[_0x2bdd88(0x13e)](_0x3945f3)&&(this[_0x3945f3]=_0xb22915[_0x3945f3]);_0xb22915[_0x2bdd88(0x13e)](_0x2bdd88(0xf3))&&(this[_0x2bdd88(0xf3)]=_0xb22915[_0x2bdd88(0xf3)]);},'clone':function(){var _0x3d3a6c=_0x1e69;return this[_0x3d3a6c(0x12d)][_0x3d3a6c(0x1d4)][_0x3d3a6c(0x336)](this);}};}()),_0x58de89=_0x452942['WordArray']=_0x280330[_0x1533cf(0x336)]({'init':function(_0x3ff5d3,_0x526c0d){var _0x4196d3=_0x1533cf;_0x3ff5d3=this[_0x4196d3(0x1ff)]=_0x3ff5d3||[],_0x526c0d!=_0x13c6a?this[_0x4196d3(0x184)]=_0x526c0d:this[_0x4196d3(0x184)]=_0x3ff5d3['length']*0x4;},'toString':function(_0x15b67e){return(_0x15b67e||_0x1dc28c)['stringify'](this);},'concat':function(_0x15e7a9){var _0x206a02=_0x1533cf,_0x9bb4e7=this[_0x206a02(0x1ff)],_0x26f572=_0x15e7a9[_0x206a02(0x1ff)],_0x1db437=this[_0x206a02(0x184)],_0x14ed94=_0x15e7a9['sigBytes'];if(this['clamp'](),_0x1db437%0x4)for(var _0x3ada77=0x0;_0x3ada77<_0x14ed94;_0x3ada77++){var _0x244eda=_0x26f572[_0x3ada77>>>0x2]>>>0x18-_0x3ada77%0x4*0x8&0xff;_0x9bb4e7[_0x1db437+_0x3ada77>>>0x2]|=_0x244eda<<0x18-(_0x1db437+_0x3ada77)%0x4*0x8;}else{for(var _0x501f19=0x0;_0x501f19<_0x14ed94;_0x501f19+=0x4)_0x9bb4e7[_0x1db437+_0x501f19>>>0x2]=_0x26f572[_0x501f19>>>0x2];}return this[_0x206a02(0x184)]+=_0x14ed94,this;},'clamp':function(){var _0x2f12c5=_0x1533cf,_0x4ea8eb=this[_0x2f12c5(0x1ff)],_0x24b1bc=this[_0x2f12c5(0x184)];_0x4ea8eb[_0x24b1bc>>>0x2]&=0xffffffff<<0x20-_0x24b1bc%0x4*0x8,_0x4ea8eb['length']=_0x12a52a[_0x2f12c5(0x23d)](_0x24b1bc/0x4);},'clone':function(){var _0x4067af=_0x1533cf,_0x18c32d=_0x280330[_0x4067af(0x166)][_0x4067af(0x1ec)](this);return _0x18c32d[_0x4067af(0x1ff)]=this[_0x4067af(0x1ff)][_0x4067af(0x320)](0x0),_0x18c32d;},'random':function(_0x217077){var _0x36e4b5=_0x1533cf;for(var _0x19cd7f=[],_0x4df6b6=0x0;_0x4df6b6<_0x217077;_0x4df6b6+=0x4)_0x19cd7f[_0x36e4b5(0x1a2)](_0x38d505());return new _0x58de89['init'](_0x19cd7f,_0x217077);}}),_0x560066=_0x5e3479[_0x1533cf(0x1da)]={},_0x1dc28c=_0x560066[_0x1533cf(0x283)]={'stringify':function(_0x1c59bd){var _0x140cb6=_0x1533cf;for(var _0x58fab5=_0x1c59bd['words'],_0x5ee723=_0x1c59bd['sigBytes'],_0x444304=[],_0x2000ec=0x0;_0x2000ec<_0x5ee723;_0x2000ec++){var _0x3d47e3=_0x58fab5[_0x2000ec>>>0x2]>>>0x18-_0x2000ec%0x4*0x8&0xff;_0x444304[_0x140cb6(0x1a2)]((_0x3d47e3>>>0x4)[_0x140cb6(0xf3)](0x10)),_0x444304[_0x140cb6(0x1a2)]((_0x3d47e3&0xf)[_0x140cb6(0xf3)](0x10));}return _0x444304[_0x140cb6(0x235)]('');},'parse':function(_0x5a824d){var _0x1eaa70=_0x1533cf;for(var _0x50858b=_0x5a824d['length'],_0x50c6fa=[],_0x79b21b=0x0;_0x79b21b<_0x50858b;_0x79b21b+=0x2)_0x50c6fa[_0x79b21b>>>0x3]|=parseInt(_0x5a824d[_0x1eaa70(0xd3)](_0x79b21b,0x2),0x10)<<0x18-_0x79b21b%0x8*0x4;return new _0x58de89[(_0x1eaa70(0x12d))](_0x50c6fa,_0x50858b/0x2);}},_0x1f6496=_0x560066[_0x1533cf(0x2ce)]={'stringify':function(_0x46f701){var _0x2471ca=_0x1533cf;for(var _0x3592d5=_0x46f701['words'],_0x5e62df=_0x46f701[_0x2471ca(0x184)],_0x2d1b0c=[],_0x3da6e7=0x0;_0x3da6e7<_0x5e62df;_0x3da6e7++){var _0x2329ca=_0x3592d5[_0x3da6e7>>>0x2]>>>0x18-_0x3da6e7%0x4*0x8&0xff;_0x2d1b0c['push'](String['fromCharCode'](_0x2329ca));}return _0x2d1b0c[_0x2471ca(0x235)]('');},'parse':function(_0x545827){var _0x3ee64d=_0x1533cf;for(var _0x1f38fd=_0x545827['length'],_0x57c560=[],_0x4031a3=0x0;_0x4031a3<_0x1f38fd;_0x4031a3++)_0x57c560[_0x4031a3>>>0x2]|=(_0x545827[_0x3ee64d(0x233)](_0x4031a3)&0xff)<<0x18-_0x4031a3%0x4*0x8;return new _0x58de89[(_0x3ee64d(0x12d))](_0x57c560,_0x1f38fd);}},_0x460d26=_0x560066[_0x1533cf(0x229)]={'stringify':function(_0x8b32b6){var _0x43acdb=_0x1533cf;try{return decodeURIComponent(escape(_0x1f6496[_0x43acdb(0x236)](_0x8b32b6)));}catch{throw new Error(_0x43acdb(0x2d1));}},'parse':function(_0x418c39){return _0x1f6496['parse'](unescape(encodeURIComponent(_0x418c39)));}},_0x56db0f=_0x452942[_0x1533cf(0x1fe)]=_0x280330[_0x1533cf(0x336)]({'reset':function(){var _0x52597d=_0x1533cf;this[_0x52597d(0x2ec)]=new _0x58de89[(_0x52597d(0x12d))](),this[_0x52597d(0x2ab)]=0x0;},'_append':function(_0x1b3d91){var _0x4c86de=_0x1533cf;typeof _0x1b3d91==_0x4c86de(0x1c6)&&(_0x1b3d91=_0x460d26[_0x4c86de(0x153)](_0x1b3d91)),this[_0x4c86de(0x2ec)][_0x4c86de(0x135)](_0x1b3d91),this[_0x4c86de(0x2ab)]+=_0x1b3d91[_0x4c86de(0x184)];},'_process':function(_0x2864b1){var _0x5eba71=_0x1533cf,_0x23897e,_0x28baaa=this['_data'],_0x5d1752=_0x28baaa[_0x5eba71(0x1ff)],_0x110e7c=_0x28baaa['sigBytes'],_0x1529fa=this[_0x5eba71(0x11b)],_0x37edd0=_0x1529fa*0x4,_0x11fc58=_0x110e7c/_0x37edd0;_0x2864b1?_0x11fc58=_0x12a52a[_0x5eba71(0x23d)](_0x11fc58):_0x11fc58=_0x12a52a[_0x5eba71(0x364)]((_0x11fc58|0x0)-this['_minBufferSize'],0x0);var _0x342537=_0x11fc58*_0x1529fa,_0x76fac=_0x12a52a[_0x5eba71(0x245)](_0x342537*0x4,_0x110e7c);if(_0x342537){for(var _0x16ee7d=0x0;_0x16ee7d<_0x342537;_0x16ee7d+=_0x1529fa)this[_0x5eba71(0x1b0)](_0x5d1752,_0x16ee7d);_0x23897e=_0x5d1752[_0x5eba71(0x30f)](0x0,_0x342537),_0x28baaa[_0x5eba71(0x184)]-=_0x76fac;}return new _0x58de89[(_0x5eba71(0x12d))](_0x23897e,_0x76fac);},'clone':function(){var _0x24c2ba=_0x1533cf,_0x5cc12e=_0x280330[_0x24c2ba(0x166)][_0x24c2ba(0x1ec)](this);return _0x5cc12e[_0x24c2ba(0x2ec)]=this[_0x24c2ba(0x2ec)][_0x24c2ba(0x166)](),_0x5cc12e;},'_minBufferSize':0x0});_0x452942[_0x1533cf(0x354)]=_0x56db0f[_0x1533cf(0x336)]({'cfg':_0x280330[_0x1533cf(0x336)](),'init':function(_0x28d8b3){var _0x25d89b=_0x1533cf;this[_0x25d89b(0xb5)]=this['cfg'][_0x25d89b(0x336)](_0x28d8b3),this[_0x25d89b(0x2ee)]();},'reset':function(){var _0x2b3997=_0x1533cf;_0x56db0f['reset'][_0x2b3997(0x1ec)](this),this[_0x2b3997(0x26b)]();},'update':function(_0x559e20){var _0xed0c14=_0x1533cf;return this['_append'](_0x559e20),this[_0xed0c14(0x25d)](),this;},'finalize':function(_0xbcbc7b){var _0x4e678b=_0x1533cf;_0xbcbc7b&&this[_0x4e678b(0x186)](_0xbcbc7b);var _0x5717f7=this[_0x4e678b(0x14d)]();return _0x5717f7;},'blockSize':0x10,'_createHelper':function(_0x25d98b){return function(_0x51ac3f,_0x77a6ce){var _0x411ccb=_0x1e69;return new _0x25d98b[(_0x411ccb(0x12d))](_0x77a6ce)[_0x411ccb(0x216)](_0x51ac3f);};},'_createHmacHelper':function(_0x51fb44){return function(_0x8efcbf,_0x442f1b){var _0x3fc49f=_0x1e69;return new _0x127317[(_0x3fc49f(0xd2))][(_0x3fc49f(0x12d))](_0x51fb44,_0x442f1b)[_0x3fc49f(0x216)](_0x8efcbf);};}});var _0x127317=_0x5e3479[_0x1533cf(0x301)]={};return _0x5e3479;}(Math);return _0x482c6e;}));}(Ge)),Ge[_0x3d05a9(0x2c2)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x4c78d7=_0x4d673f;return Qt||(Qt=0x1,function(_0x18e606,_0x53ec29){(function(_0x3ac40c,_0x1d358f){var _0x5f2839=_0x1e69;_0x18e606[_0x5f2839(0x2c2)]=_0x1d358f(ne());}(xr,function(_0x345da1){var _0x5ee17c=_0x1e69;return(function(){var _0x3dbd04=_0x1e69,_0x29baf7=_0x345da1,_0x36b5db=_0x29baf7[_0x3dbd04(0x332)],_0x1ffe56=_0x36b5db[_0x3dbd04(0x1dc)],_0xa6c783=_0x29baf7[_0x3dbd04(0x1da)];_0xa6c783['Base64']={'stringify':function(_0x26a05d){var _0x5efa88=_0x3dbd04,_0x59df55=_0x26a05d['words'],_0x2a264e=_0x26a05d[_0x5efa88(0x184)],_0x25dcde=this['_map'];_0x26a05d[_0x5efa88(0x1d1)]();for(var _0x3b287b=[],_0x13257b=0x0;_0x13257b<_0x2a264e;_0x13257b+=0x3)for(var _0x32401f=_0x59df55[_0x13257b>>>0x2]>>>0x18-_0x13257b%0x4*0x8&0xff,_0x28fea4=_0x59df55[_0x13257b+0x1>>>0x2]>>>0x18-(_0x13257b+0x1)%0x4*0x8&0xff,_0x1f7771=_0x59df55[_0x13257b+0x2>>>0x2]>>>0x18-(_0x13257b+0x2)%0x4*0x8&0xff,_0xcc1766=_0x32401f<<0x10|_0x28fea4<<0x8|_0x1f7771,_0x51acf4=0x0;_0x51acf4<0x4&&_0x13257b+_0x51acf4*0.75<_0x2a264e;_0x51acf4++)_0x3b287b[_0x5efa88(0x1a2)](_0x25dcde['charAt'](_0xcc1766>>>0x6*(0x3-_0x51acf4)&0x3f));var _0x58630c=_0x25dcde['charAt'](0x40);if(_0x58630c){for(;_0x3b287b['length']%0x4;)_0x3b287b[_0x5efa88(0x1a2)](_0x58630c);}return _0x3b287b[_0x5efa88(0x235)]('');},'parse':function(_0x359e4d){var _0x2d8d12=_0x3dbd04,_0x2fed59=_0x359e4d[_0x2d8d12(0xf8)],_0x4302d5=this[_0x2d8d12(0x1b3)],_0x2dfa79=this[_0x2d8d12(0x33a)];if(!_0x2dfa79){_0x2dfa79=this[_0x2d8d12(0x33a)]=[];for(var _0x5abf41=0x0;_0x5abf41<_0x4302d5['length'];_0x5abf41++)_0x2dfa79[_0x4302d5[_0x2d8d12(0x233)](_0x5abf41)]=_0x5abf41;}var _0x521429=_0x4302d5['charAt'](0x40);if(_0x521429){var _0x561c05=_0x359e4d[_0x2d8d12(0xcc)](_0x521429);_0x561c05!==-0x1&&(_0x2fed59=_0x561c05);}return _0x523a62(_0x359e4d,_0x2fed59,_0x2dfa79);},'_map':_0x3dbd04(0x1a5)};function _0x523a62(_0x221035,_0x447879,_0x50e0fd){var _0x186434=_0x3dbd04;for(var _0x3a734d=[],_0xca9fa6=0x0,_0x7ab481=0x0;_0x7ab481<_0x447879;_0x7ab481++)if(_0x7ab481%0x4){var _0x48e03e=_0x50e0fd[_0x221035['charCodeAt'](_0x7ab481-0x1)]<<_0x7ab481%0x4*0x2,_0x343dcc=_0x50e0fd[_0x221035['charCodeAt'](_0x7ab481)]>>>0x6-_0x7ab481%0x4*0x2,_0x41fb3d=_0x48e03e|_0x343dcc;_0x3a734d[_0xca9fa6>>>0x2]|=_0x41fb3d<<0x18-_0xca9fa6%0x4*0x8,_0xca9fa6++;}return _0x1ffe56[_0x186434(0x22f)](_0x3a734d,_0xca9fa6);}}()),_0x345da1[_0x5ee17c(0x1da)][_0x5ee17c(0x2b7)];}));}(We)),We[_0x4c78d7(0x2c2)];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x1e67a2=_0x4d673f;return ei||(ei=0x1,function(_0x10ad98,_0x1a3024){(function(_0x295aca,_0x15ccf9){var _0x9c57bb=_0x1e69;_0x10ad98[_0x9c57bb(0x2c2)]=_0x15ccf9(ne());}(Lr,function(_0x45c9c2){var _0x4b957c=_0x1e69;return function(_0x1855f0){var _0xdc1c15=_0x1e69,_0x6e8562=_0x45c9c2,_0x2b32c1=_0x6e8562[_0xdc1c15(0x332)],_0x39c470=_0x2b32c1[_0xdc1c15(0x1dc)],_0x691da4=_0x2b32c1[_0xdc1c15(0x354)],_0x11cf1a=_0x6e8562['algo'],_0x145c6c=[];(function(){var _0x13833d=_0xdc1c15;for(var _0x2c99ba=0x0;_0x2c99ba<0x40;_0x2c99ba++)_0x145c6c[_0x2c99ba]=_0x1855f0[_0x13833d(0x31e)](_0x1855f0[_0x13833d(0x11a)](_0x2c99ba+0x1))*0x100000000|0x0;}());var _0x454040=_0x11cf1a['MD5']=_0x691da4[_0xdc1c15(0x336)]({'_doReset':function(){var _0x277a67=_0xdc1c15;this[_0x277a67(0x188)]=new _0x39c470[(_0x277a67(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1683e6,_0x5e3ce2){var _0x4b2e1c=_0xdc1c15;for(var _0x3caec5=0x0;_0x3caec5<0x10;_0x3caec5++){var _0x22c605=_0x5e3ce2+_0x3caec5,_0x146637=_0x1683e6[_0x22c605];_0x1683e6[_0x22c605]=(_0x146637<<0x8|_0x146637>>>0x18)&0xff00ff|(_0x146637<<0x18|_0x146637>>>0x8)&0xff00ff00;}var _0x351ab4=this[_0x4b2e1c(0x188)][_0x4b2e1c(0x1ff)],_0x136c18=_0x1683e6[_0x5e3ce2+0x0],_0x47245e=_0x1683e6[_0x5e3ce2+0x1],_0x23af91=_0x1683e6[_0x5e3ce2+0x2],_0x6b1cdc=_0x1683e6[_0x5e3ce2+0x3],_0x583dd2=_0x1683e6[_0x5e3ce2+0x4],_0x235965=_0x1683e6[_0x5e3ce2+0x5],_0x2d84f7=_0x1683e6[_0x5e3ce2+0x6],_0x5422e2=_0x1683e6[_0x5e3ce2+0x7],_0x57a25d=_0x1683e6[_0x5e3ce2+0x8],_0x50fa72=_0x1683e6[_0x5e3ce2+0x9],_0x46c770=_0x1683e6[_0x5e3ce2+0xa],_0x4714f4=_0x1683e6[_0x5e3ce2+0xb],_0x13ed6c=_0x1683e6[_0x5e3ce2+0xc],_0x1f8418=_0x1683e6[_0x5e3ce2+0xd],_0x476d23=_0x1683e6[_0x5e3ce2+0xe],_0x130c8e=_0x1683e6[_0x5e3ce2+0xf],_0x155bce=_0x351ab4[0x0],_0x2ac6de=_0x351ab4[0x1],_0x4badc6=_0x351ab4[0x2],_0x11e90a=_0x351ab4[0x3];_0x155bce=_0x1e6887(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x136c18,0x7,_0x145c6c[0x0]),_0x11e90a=_0x1e6887(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x47245e,0xc,_0x145c6c[0x1]),_0x4badc6=_0x1e6887(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x23af91,0x11,_0x145c6c[0x2]),_0x2ac6de=_0x1e6887(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x6b1cdc,0x16,_0x145c6c[0x3]),_0x155bce=_0x1e6887(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x583dd2,0x7,_0x145c6c[0x4]),_0x11e90a=_0x1e6887(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x235965,0xc,_0x145c6c[0x5]),_0x4badc6=_0x1e6887(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x2d84f7,0x11,_0x145c6c[0x6]),_0x2ac6de=_0x1e6887(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x5422e2,0x16,_0x145c6c[0x7]),_0x155bce=_0x1e6887(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x57a25d,0x7,_0x145c6c[0x8]),_0x11e90a=_0x1e6887(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x50fa72,0xc,_0x145c6c[0x9]),_0x4badc6=_0x1e6887(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x46c770,0x11,_0x145c6c[0xa]),_0x2ac6de=_0x1e6887(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x4714f4,0x16,_0x145c6c[0xb]),_0x155bce=_0x1e6887(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x13ed6c,0x7,_0x145c6c[0xc]),_0x11e90a=_0x1e6887(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x1f8418,0xc,_0x145c6c[0xd]),_0x4badc6=_0x1e6887(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x476d23,0x11,_0x145c6c[0xe]),_0x2ac6de=_0x1e6887(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x130c8e,0x16,_0x145c6c[0xf]),_0x155bce=_0x4060ce(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x47245e,0x5,_0x145c6c[0x10]),_0x11e90a=_0x4060ce(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x2d84f7,0x9,_0x145c6c[0x11]),_0x4badc6=_0x4060ce(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x4714f4,0xe,_0x145c6c[0x12]),_0x2ac6de=_0x4060ce(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x136c18,0x14,_0x145c6c[0x13]),_0x155bce=_0x4060ce(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x235965,0x5,_0x145c6c[0x14]),_0x11e90a=_0x4060ce(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x46c770,0x9,_0x145c6c[0x15]),_0x4badc6=_0x4060ce(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x130c8e,0xe,_0x145c6c[0x16]),_0x2ac6de=_0x4060ce(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x583dd2,0x14,_0x145c6c[0x17]),_0x155bce=_0x4060ce(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x50fa72,0x5,_0x145c6c[0x18]),_0x11e90a=_0x4060ce(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x476d23,0x9,_0x145c6c[0x19]),_0x4badc6=_0x4060ce(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x6b1cdc,0xe,_0x145c6c[0x1a]),_0x2ac6de=_0x4060ce(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x57a25d,0x14,_0x145c6c[0x1b]),_0x155bce=_0x4060ce(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x1f8418,0x5,_0x145c6c[0x1c]),_0x11e90a=_0x4060ce(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x23af91,0x9,_0x145c6c[0x1d]),_0x4badc6=_0x4060ce(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x5422e2,0xe,_0x145c6c[0x1e]),_0x2ac6de=_0x4060ce(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x13ed6c,0x14,_0x145c6c[0x1f]),_0x155bce=_0x252b26(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x235965,0x4,_0x145c6c[0x20]),_0x11e90a=_0x252b26(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x57a25d,0xb,_0x145c6c[0x21]),_0x4badc6=_0x252b26(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x4714f4,0x10,_0x145c6c[0x22]),_0x2ac6de=_0x252b26(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x476d23,0x17,_0x145c6c[0x23]),_0x155bce=_0x252b26(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x47245e,0x4,_0x145c6c[0x24]),_0x11e90a=_0x252b26(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x583dd2,0xb,_0x145c6c[0x25]),_0x4badc6=_0x252b26(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x5422e2,0x10,_0x145c6c[0x26]),_0x2ac6de=_0x252b26(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x46c770,0x17,_0x145c6c[0x27]),_0x155bce=_0x252b26(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x1f8418,0x4,_0x145c6c[0x28]),_0x11e90a=_0x252b26(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x136c18,0xb,_0x145c6c[0x29]),_0x4badc6=_0x252b26(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x6b1cdc,0x10,_0x145c6c[0x2a]),_0x2ac6de=_0x252b26(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x2d84f7,0x17,_0x145c6c[0x2b]),_0x155bce=_0x252b26(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x50fa72,0x4,_0x145c6c[0x2c]),_0x11e90a=_0x252b26(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x13ed6c,0xb,_0x145c6c[0x2d]),_0x4badc6=_0x252b26(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x130c8e,0x10,_0x145c6c[0x2e]),_0x2ac6de=_0x252b26(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x23af91,0x17,_0x145c6c[0x2f]),_0x155bce=_0x2ffec1(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x136c18,0x6,_0x145c6c[0x30]),_0x11e90a=_0x2ffec1(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x5422e2,0xa,_0x145c6c[0x31]),_0x4badc6=_0x2ffec1(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x476d23,0xf,_0x145c6c[0x32]),_0x2ac6de=_0x2ffec1(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x235965,0x15,_0x145c6c[0x33]),_0x155bce=_0x2ffec1(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x13ed6c,0x6,_0x145c6c[0x34]),_0x11e90a=_0x2ffec1(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x6b1cdc,0xa,_0x145c6c[0x35]),_0x4badc6=_0x2ffec1(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x46c770,0xf,_0x145c6c[0x36]),_0x2ac6de=_0x2ffec1(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x47245e,0x15,_0x145c6c[0x37]),_0x155bce=_0x2ffec1(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x57a25d,0x6,_0x145c6c[0x38]),_0x11e90a=_0x2ffec1(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x130c8e,0xa,_0x145c6c[0x39]),_0x4badc6=_0x2ffec1(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x2d84f7,0xf,_0x145c6c[0x3a]),_0x2ac6de=_0x2ffec1(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x1f8418,0x15,_0x145c6c[0x3b]),_0x155bce=_0x2ffec1(_0x155bce,_0x2ac6de,_0x4badc6,_0x11e90a,_0x583dd2,0x6,_0x145c6c[0x3c]),_0x11e90a=_0x2ffec1(_0x11e90a,_0x155bce,_0x2ac6de,_0x4badc6,_0x4714f4,0xa,_0x145c6c[0x3d]),_0x4badc6=_0x2ffec1(_0x4badc6,_0x11e90a,_0x155bce,_0x2ac6de,_0x23af91,0xf,_0x145c6c[0x3e]),_0x2ac6de=_0x2ffec1(_0x2ac6de,_0x4badc6,_0x11e90a,_0x155bce,_0x50fa72,0x15,_0x145c6c[0x3f]),_0x351ab4[0x0]=_0x351ab4[0x0]+_0x155bce|0x0,_0x351ab4[0x1]=_0x351ab4[0x1]+_0x2ac6de|0x0,_0x351ab4[0x2]=_0x351ab4[0x2]+_0x4badc6|0x0,_0x351ab4[0x3]=_0x351ab4[0x3]+_0x11e90a|0x0;},'_doFinalize':function(){var _0x52cf08=_0xdc1c15,_0x52a798=this[_0x52cf08(0x2ec)],_0x2cf9e9=_0x52a798['words'],_0x224d02=this[_0x52cf08(0x2ab)]*0x8,_0x309131=_0x52a798['sigBytes']*0x8;_0x2cf9e9[_0x309131>>>0x5]|=0x80<<0x18-_0x309131%0x20;var _0x2044ee=_0x1855f0[_0x52cf08(0x19f)](_0x224d02/0x100000000),_0x37aa19=_0x224d02;_0x2cf9e9[(_0x309131+0x40>>>0x9<<0x4)+0xf]=(_0x2044ee<<0x8|_0x2044ee>>>0x18)&0xff00ff|(_0x2044ee<<0x18|_0x2044ee>>>0x8)&0xff00ff00,_0x2cf9e9[(_0x309131+0x40>>>0x9<<0x4)+0xe]=(_0x37aa19<<0x8|_0x37aa19>>>0x18)&0xff00ff|(_0x37aa19<<0x18|_0x37aa19>>>0x8)&0xff00ff00,_0x52a798['sigBytes']=(_0x2cf9e9[_0x52cf08(0xf8)]+0x1)*0x4,this[_0x52cf08(0x25d)]();for(var _0x2c114e=this[_0x52cf08(0x188)],_0x53c9f9=_0x2c114e[_0x52cf08(0x1ff)],_0x398a3c=0x0;_0x398a3c<0x4;_0x398a3c++){var _0x133d23=_0x53c9f9[_0x398a3c];_0x53c9f9[_0x398a3c]=(_0x133d23<<0x8|_0x133d23>>>0x18)&0xff00ff|(_0x133d23<<0x18|_0x133d23>>>0x8)&0xff00ff00;}return _0x2c114e;},'clone':function(){var _0x46b53f=_0xdc1c15,_0x49e2bf=_0x691da4[_0x46b53f(0x166)][_0x46b53f(0x1ec)](this);return _0x49e2bf[_0x46b53f(0x188)]=this[_0x46b53f(0x188)][_0x46b53f(0x166)](),_0x49e2bf;}});function _0x1e6887(_0x122728,_0x57e73f,_0x398394,_0x3d2e84,_0x10fdbc,_0x4d66bd,_0x58f32d){var _0x1a5405=_0x122728+(_0x57e73f&_0x398394|~_0x57e73f&_0x3d2e84)+_0x10fdbc+_0x58f32d;return(_0x1a5405<<_0x4d66bd|_0x1a5405>>>0x20-_0x4d66bd)+_0x57e73f;}function _0x4060ce(_0x2dfdae,_0x13a4cc,_0x4e8959,_0x2a3ea3,_0x3fa16d,_0x145d2e,_0x2f0888){var _0x46c84b=_0x2dfdae+(_0x13a4cc&_0x2a3ea3|_0x4e8959&~_0x2a3ea3)+_0x3fa16d+_0x2f0888;return(_0x46c84b<<_0x145d2e|_0x46c84b>>>0x20-_0x145d2e)+_0x13a4cc;}function _0x252b26(_0x351929,_0x301adf,_0x58e69d,_0x472c2d,_0x221290,_0x4b054e,_0x4ea0b2){var _0x4ade84=_0x351929+(_0x301adf^_0x58e69d^_0x472c2d)+_0x221290+_0x4ea0b2;return(_0x4ade84<<_0x4b054e|_0x4ade84>>>0x20-_0x4b054e)+_0x301adf;}function _0x2ffec1(_0x2e24ba,_0x240a78,_0x4711ed,_0x41a9a6,_0x478475,_0x102a47,_0x2573af){var _0x34680f=_0x2e24ba+(_0x4711ed^(_0x240a78|~_0x41a9a6))+_0x478475+_0x2573af;return(_0x34680f<<_0x102a47|_0x34680f>>>0x20-_0x102a47)+_0x240a78;}_0x6e8562[_0xdc1c15(0x280)]=_0x691da4['_createHelper'](_0x454040),_0x6e8562[_0xdc1c15(0x2d3)]=_0x691da4[_0xdc1c15(0xec)](_0x454040);}(Math),_0x45c9c2[_0x4b957c(0x280)];}));}(Ke)),Ke[_0x1e67a2(0x2c2)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x4d673f(0x2c2)],ti;function Hr(){return ti||(ti=0x1,function(_0x13c6b6,_0x7baeff){(function(_0x478d86,_0x449609){var _0x48b9d4=_0x1e69;_0x13c6b6[_0x48b9d4(0x2c2)]=_0x449609(ne());}($r,function(_0x2919db){return(function(){var _0x5de653=_0x1e69,_0x58ffed=_0x2919db,_0x20a13f=_0x58ffed[_0x5de653(0x332)],_0x4de6d3=_0x20a13f[_0x5de653(0x1dc)],_0x39b0ef=_0x20a13f[_0x5de653(0x354)],_0x425165=_0x58ffed[_0x5de653(0x301)],_0xd9730f=[],_0x28f138=_0x425165[_0x5de653(0xb1)]=_0x39b0ef[_0x5de653(0x336)]({'_doReset':function(){var _0x9390a7=_0x5de653;this['_hash']=new _0x4de6d3[(_0x9390a7(0x12d))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x38e710,_0x3da177){for(var _0x13bd40=this['_hash']['words'],_0x5cb43c=_0x13bd40[0x0],_0x25559f=_0x13bd40[0x1],_0x154828=_0x13bd40[0x2],_0x264122=_0x13bd40[0x3],_0xc01f0f=_0x13bd40[0x4],_0x5640b3=0x0;_0x5640b3<0x50;_0x5640b3++){if(_0x5640b3<0x10)_0xd9730f[_0x5640b3]=_0x38e710[_0x3da177+_0x5640b3]|0x0;else{var _0x37e7a0=_0xd9730f[_0x5640b3-0x3]^_0xd9730f[_0x5640b3-0x8]^_0xd9730f[_0x5640b3-0xe]^_0xd9730f[_0x5640b3-0x10];_0xd9730f[_0x5640b3]=_0x37e7a0<<0x1|_0x37e7a0>>>0x1f;}var _0x25409b=(_0x5cb43c<<0x5|_0x5cb43c>>>0x1b)+_0xc01f0f+_0xd9730f[_0x5640b3];_0x5640b3<0x14?_0x25409b+=(_0x25559f&_0x154828|~_0x25559f&_0x264122)+0x5a827999:_0x5640b3<0x28?_0x25409b+=(_0x25559f^_0x154828^_0x264122)+0x6ed9eba1:_0x5640b3<0x3c?_0x25409b+=(_0x25559f&_0x154828|_0x25559f&_0x264122|_0x154828&_0x264122)-0x70e44324:_0x25409b+=(_0x25559f^_0x154828^_0x264122)-0x359d3e2a,_0xc01f0f=_0x264122,_0x264122=_0x154828,_0x154828=_0x25559f<<0x1e|_0x25559f>>>0x2,_0x25559f=_0x5cb43c,_0x5cb43c=_0x25409b;}_0x13bd40[0x0]=_0x13bd40[0x0]+_0x5cb43c|0x0,_0x13bd40[0x1]=_0x13bd40[0x1]+_0x25559f|0x0,_0x13bd40[0x2]=_0x13bd40[0x2]+_0x154828|0x0,_0x13bd40[0x3]=_0x13bd40[0x3]+_0x264122|0x0,_0x13bd40[0x4]=_0x13bd40[0x4]+_0xc01f0f|0x0;},'_doFinalize':function(){var _0x4906e7=_0x5de653,_0x2dceb2=this['_data'],_0xae08fd=_0x2dceb2[_0x4906e7(0x1ff)],_0x4346c7=this[_0x4906e7(0x2ab)]*0x8,_0x3de87c=_0x2dceb2['sigBytes']*0x8;return _0xae08fd[_0x3de87c>>>0x5]|=0x80<<0x18-_0x3de87c%0x20,_0xae08fd[(_0x3de87c+0x40>>>0x9<<0x4)+0xe]=Math[_0x4906e7(0x19f)](_0x4346c7/0x100000000),_0xae08fd[(_0x3de87c+0x40>>>0x9<<0x4)+0xf]=_0x4346c7,_0x2dceb2[_0x4906e7(0x184)]=_0xae08fd[_0x4906e7(0xf8)]*0x4,this[_0x4906e7(0x25d)](),this[_0x4906e7(0x188)];},'clone':function(){var _0x477415=_0x5de653,_0x51c7da=_0x39b0ef['clone']['call'](this);return _0x51c7da['_hash']=this['_hash'][_0x477415(0x166)](),_0x51c7da;}});_0x58ffed[_0x5de653(0xb1)]=_0x39b0ef[_0x5de653(0x14b)](_0x28f138),_0x58ffed['HmacSHA1']=_0x39b0ef['_createHmacHelper'](_0x28f138);}()),_0x2919db['SHA1'];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x4d673f(0x2c2)],ii;function jr(){var _0x3aabbe=_0x4d673f;return ii||(ii=0x1,function(_0x5bc0c0,_0x5d50e9){(function(_0x3e98d3,_0x4f05cc){_0x5bc0c0['exports']=_0x4f05cc(ne());}(kr,function(_0x4dd48e){(function(){var _0x17cb67=_0x1e69,_0x4830b5=_0x4dd48e,_0x4d5c4a=_0x4830b5[_0x17cb67(0x332)],_0x13ac84=_0x4d5c4a[_0x17cb67(0x18d)],_0x57b9d8=_0x4830b5[_0x17cb67(0x1da)],_0x1494b4=_0x57b9d8[_0x17cb67(0x229)],_0x4b38cf=_0x4830b5[_0x17cb67(0x301)];_0x4b38cf[_0x17cb67(0xd2)]=_0x13ac84[_0x17cb67(0x336)]({'init':function(_0x17b135,_0x59fb39){var _0x1b2854=_0x17cb67;_0x17b135=this[_0x1b2854(0x9a)]=new _0x17b135[(_0x1b2854(0x12d))](),typeof _0x59fb39==_0x1b2854(0x1c6)&&(_0x59fb39=_0x1494b4[_0x1b2854(0x153)](_0x59fb39));var _0x4b2642=_0x17b135[_0x1b2854(0x11b)],_0x56fbea=_0x4b2642*0x4;_0x59fb39['sigBytes']>_0x56fbea&&(_0x59fb39=_0x17b135[_0x1b2854(0x216)](_0x59fb39)),_0x59fb39['clamp']();for(var _0x5d0275=this['_oKey']=_0x59fb39[_0x1b2854(0x166)](),_0x5ba949=this['_iKey']=_0x59fb39[_0x1b2854(0x166)](),_0x1c027c=_0x5d0275[_0x1b2854(0x1ff)],_0xde126=_0x5ba949[_0x1b2854(0x1ff)],_0xfd80c8=0x0;_0xfd80c8<_0x4b2642;_0xfd80c8++)_0x1c027c[_0xfd80c8]^=0x5c5c5c5c,_0xde126[_0xfd80c8]^=0x36363636;_0x5d0275[_0x1b2854(0x184)]=_0x5ba949[_0x1b2854(0x184)]=_0x56fbea,this[_0x1b2854(0x2ee)]();},'reset':function(){var _0x62a125=_0x17cb67,_0x3d2781=this['_hasher'];_0x3d2781['reset'](),_0x3d2781[_0x62a125(0x155)](this[_0x62a125(0x2bd)]);},'update':function(_0x10527e){var _0x1a8c55=_0x17cb67;return this[_0x1a8c55(0x9a)][_0x1a8c55(0x155)](_0x10527e),this;},'finalize':function(_0x4186b4){var _0x897fa9=_0x17cb67,_0x3ead35=this[_0x897fa9(0x9a)],_0x2a614a=_0x3ead35[_0x897fa9(0x216)](_0x4186b4);_0x3ead35[_0x897fa9(0x2ee)]();var _0x587dbe=_0x3ead35[_0x897fa9(0x216)](this[_0x897fa9(0x16b)][_0x897fa9(0x166)]()[_0x897fa9(0x135)](_0x2a614a));return _0x587dbe;}});}());}));}(ze)),ze[_0x3aabbe(0x2c2)];}var Br=Ye[_0x4d673f(0x2c2)],ni;function Ui(){var _0x3492c1=_0x4d673f;return ni||(ni=0x1,function(_0x5bef4f,_0x198c0a){(function(_0x3ba001,_0x4569fa,_0x95c521){var _0x444e3e=_0x1e69;_0x5bef4f[_0x444e3e(0x2c2)]=_0x4569fa(ne(),Hr(),jr());}(Br,function(_0x292904){var _0x32813b=_0x1e69;return(function(){var _0x26e87b=_0x1e69,_0x4ce225=_0x292904,_0x2094a7=_0x4ce225['lib'],_0x45a9dc=_0x2094a7['Base'],_0x33710e=_0x2094a7[_0x26e87b(0x1dc)],_0x43a657=_0x4ce225[_0x26e87b(0x301)],_0x16a303=_0x43a657[_0x26e87b(0x280)],_0x4ebbd3=_0x43a657[_0x26e87b(0xe9)]=_0x45a9dc[_0x26e87b(0x336)]({'cfg':_0x45a9dc[_0x26e87b(0x336)]({'keySize':0x80/0x20,'hasher':_0x16a303,'iterations':0x1}),'init':function(_0x37f9a1){var _0x3b0e95=_0x26e87b;this[_0x3b0e95(0xb5)]=this['cfg'][_0x3b0e95(0x336)](_0x37f9a1);},'compute':function(_0x375aef,_0x4617c2){var _0x529347=_0x26e87b;for(var _0x2f6e8f,_0x2b6c5e=this['cfg'],_0x330e1f=_0x2b6c5e[_0x529347(0x2d9)][_0x529347(0x22f)](),_0x53e024=_0x33710e['create'](),_0x41ea24=_0x53e024['words'],_0x383265=_0x2b6c5e['keySize'],_0x4eeea8=_0x2b6c5e['iterations'];_0x41ea24['length']<_0x383265;){_0x2f6e8f&&_0x330e1f[_0x529347(0x155)](_0x2f6e8f),_0x2f6e8f=_0x330e1f[_0x529347(0x155)](_0x375aef)[_0x529347(0x216)](_0x4617c2),_0x330e1f[_0x529347(0x2ee)]();for(var _0x57fcf8=0x1;_0x57fcf8<_0x4eeea8;_0x57fcf8++)_0x2f6e8f=_0x330e1f[_0x529347(0x216)](_0x2f6e8f),_0x330e1f[_0x529347(0x2ee)]();_0x53e024[_0x529347(0x135)](_0x2f6e8f);}return _0x53e024[_0x529347(0x184)]=_0x383265*0x4,_0x53e024;}});_0x4ce225[_0x26e87b(0xe9)]=function(_0x188447,_0x4f7133,_0x303518){return _0x4ebbd3['create'](_0x303518)['compute'](_0x188447,_0x4f7133);};}()),_0x292904[_0x32813b(0xe9)];}));}(Ye)),Ye[_0x3492c1(0x2c2)];}var Je={'exports':{}},Fr=Je['exports'],ri;function Ai(){var _0x2e12f9=_0x4d673f;return ri||(ri=0x1,function(_0x7f67a1,_0x5301e6){(function(_0x19e8c7,_0x311525,_0x229f08){var _0x5e8d19=_0x1e69;_0x7f67a1[_0x5e8d19(0x2c2)]=_0x311525(ne(),Ui());}(Fr,function(_0x4a5282){var _0x1c02e2=_0x1e69;_0x4a5282[_0x1c02e2(0x332)]['Cipher']||function(_0x17e19e){var _0x4494d3=_0x1c02e2,_0x3d1bcd=_0x4a5282,_0x43f3d7=_0x3d1bcd['lib'],_0x5484ee=_0x43f3d7['Base'],_0x18b115=_0x43f3d7['WordArray'],_0x4ecf55=_0x43f3d7[_0x4494d3(0x1fe)],_0x1e3eaa=_0x3d1bcd[_0x4494d3(0x1da)];_0x1e3eaa[_0x4494d3(0x229)];var _0x3be0b9=_0x1e3eaa[_0x4494d3(0x2b7)],_0x273b5a=_0x3d1bcd[_0x4494d3(0x301)],_0x307eda=_0x273b5a[_0x4494d3(0xe9)],_0xc6c17a=_0x43f3d7[_0x4494d3(0xaa)]=_0x4ecf55['extend']({'cfg':_0x5484ee[_0x4494d3(0x336)](),'createEncryptor':function(_0x522bf2,_0x16a7f2){var _0x55d82f=_0x4494d3;return this[_0x55d82f(0x22f)](this[_0x55d82f(0x114)],_0x522bf2,_0x16a7f2);},'createDecryptor':function(_0x171a0c,_0x2955cf){var _0x2fdf3a=_0x4494d3;return this[_0x2fdf3a(0x22f)](this['_DEC_XFORM_MODE'],_0x171a0c,_0x2955cf);},'init':function(_0x45c884,_0x270913,_0x561f5c){var _0x51bbeb=_0x4494d3;this[_0x51bbeb(0xb5)]=this[_0x51bbeb(0xb5)]['extend'](_0x561f5c),this[_0x51bbeb(0x18a)]=_0x45c884,this[_0x51bbeb(0x2df)]=_0x270913,this[_0x51bbeb(0x2ee)]();},'reset':function(){var _0x434803=_0x4494d3;_0x4ecf55['reset'][_0x434803(0x1ec)](this),this[_0x434803(0x26b)]();},'process':function(_0x556dab){return this['_append'](_0x556dab),this['_process']();},'finalize':function(_0x4aa0ab){var _0x1bbfcc=_0x4494d3;_0x4aa0ab&&this[_0x1bbfcc(0x186)](_0x4aa0ab);var _0x352d7a=this[_0x1bbfcc(0x14d)]();return _0x352d7a;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x11552c(_0x525aad){var _0x58ba39=_0x1e69;return typeof _0x525aad==_0x58ba39(0x1c6)?_0x4bdb03:_0x9539c9;}return function(_0x4a35a0){return{'encrypt':function(_0x5d1f81,_0x176b09,_0x567812){return _0x11552c(_0x176b09)['encrypt'](_0x4a35a0,_0x5d1f81,_0x176b09,_0x567812);},'decrypt':function(_0x11f113,_0x403b64,_0x4c5637){var _0x12d62b=_0x1e69;return _0x11552c(_0x403b64)[_0x12d62b(0x33c)](_0x4a35a0,_0x11f113,_0x403b64,_0x4c5637);}};};}())});_0x43f3d7['StreamCipher']=_0xc6c17a[_0x4494d3(0x336)]({'_doFinalize':function(){var _0x1fef1b=_0x4494d3,_0x42dfb5=this[_0x1fef1b(0x25d)](!0x0);return _0x42dfb5;},'blockSize':0x1});var _0x35a229=_0x3d1bcd[_0x4494d3(0x2d5)]={},_0x4f8ece=_0x43f3d7[_0x4494d3(0x2a7)]=_0x5484ee['extend']({'createEncryptor':function(_0x58b7b4,_0x1f2860){var _0x1cffba=_0x4494d3;return this[_0x1cffba(0x104)]['create'](_0x58b7b4,_0x1f2860);},'createDecryptor':function(_0x361bae,_0xc7c380){var _0xb64089=_0x4494d3;return this[_0xb64089(0x1f5)][_0xb64089(0x22f)](_0x361bae,_0xc7c380);},'init':function(_0x1d084f,_0x229a57){var _0x56e370=_0x4494d3;this['_cipher']=_0x1d084f,this[_0x56e370(0xd4)]=_0x229a57;}}),_0x395da1=_0x35a229[_0x4494d3(0x11e)]=(function(){var _0x20fd0c=_0x4494d3,_0x8ce1a9=_0x4f8ece['extend']();_0x8ce1a9[_0x20fd0c(0x104)]=_0x8ce1a9[_0x20fd0c(0x336)]({'processBlock':function(_0x264a3a,_0x4ec809){var _0x448e14=_0x20fd0c,_0x1431e0=this['_cipher'],_0x56ac5c=_0x1431e0['blockSize'];_0x50e6a2[_0x448e14(0x1ec)](this,_0x264a3a,_0x4ec809,_0x56ac5c),_0x1431e0[_0x448e14(0x331)](_0x264a3a,_0x4ec809),this[_0x448e14(0xf6)]=_0x264a3a[_0x448e14(0x320)](_0x4ec809,_0x4ec809+_0x56ac5c);}}),_0x8ce1a9[_0x20fd0c(0x1f5)]=_0x8ce1a9[_0x20fd0c(0x336)]({'processBlock':function(_0x32b220,_0x3b4e94){var _0xb340e0=_0x20fd0c,_0x4baa74=this[_0xb340e0(0x29c)],_0x3f9413=_0x4baa74['blockSize'],_0x549324=_0x32b220['slice'](_0x3b4e94,_0x3b4e94+_0x3f9413);_0x4baa74[_0xb340e0(0x26a)](_0x32b220,_0x3b4e94),_0x50e6a2[_0xb340e0(0x1ec)](this,_0x32b220,_0x3b4e94,_0x3f9413),this[_0xb340e0(0xf6)]=_0x549324;}});function _0x50e6a2(_0x197954,_0x3c0f3a,_0x3396e9){var _0x4d95a7=_0x20fd0c,_0x1eb8a9,_0xc8d606=this['_iv'];_0xc8d606?(_0x1eb8a9=_0xc8d606,this['_iv']=_0x17e19e):_0x1eb8a9=this[_0x4d95a7(0xf6)];for(var _0x533075=0x0;_0x533075<_0x3396e9;_0x533075++)_0x197954[_0x3c0f3a+_0x533075]^=_0x1eb8a9[_0x533075];}return _0x8ce1a9;}()),_0x5562db=_0x3d1bcd[_0x4494d3(0x161)]={},_0x3351f2=_0x5562db['Pkcs7']={'pad':function(_0x5eb7dc,_0x2e9b48){var _0xf7e3fb=_0x4494d3;for(var _0x182256=_0x2e9b48*0x4,_0x1f23d7=_0x182256-_0x5eb7dc[_0xf7e3fb(0x184)]%_0x182256,_0x5b9ade=_0x1f23d7<<0x18|_0x1f23d7<<0x10|_0x1f23d7<<0x8|_0x1f23d7,_0x551144=[],_0x5e7b6f=0x0;_0x5e7b6f<_0x1f23d7;_0x5e7b6f+=0x4)_0x551144[_0xf7e3fb(0x1a2)](_0x5b9ade);var _0x2a915b=_0x18b115[_0xf7e3fb(0x22f)](_0x551144,_0x1f23d7);_0x5eb7dc[_0xf7e3fb(0x135)](_0x2a915b);},'unpad':function(_0x422e20){var _0x1ca710=_0x4494d3,_0x545c6a=_0x422e20[_0x1ca710(0x1ff)][_0x422e20[_0x1ca710(0x184)]-0x1>>>0x2]&0xff;_0x422e20[_0x1ca710(0x184)]-=_0x545c6a;}};_0x43f3d7['BlockCipher']=_0xc6c17a[_0x4494d3(0x336)]({'cfg':_0xc6c17a['cfg']['extend']({'mode':_0x395da1,'padding':_0x3351f2}),'reset':function(){var _0x448df5=_0x4494d3,_0x1da407;_0xc6c17a[_0x448df5(0x2ee)][_0x448df5(0x1ec)](this);var _0x38e2c0=this[_0x448df5(0xb5)],_0x157ff0=_0x38e2c0['iv'],_0xb9b903=_0x38e2c0[_0x448df5(0x2d5)];this['_xformMode']==this[_0x448df5(0x114)]?_0x1da407=_0xb9b903[_0x448df5(0x269)]:(_0x1da407=_0xb9b903[_0x448df5(0xeb)],this['_minBufferSize']=0x1),this[_0x448df5(0x1ef)]&&this['_mode'][_0x448df5(0xed)]==_0x1da407?this['_mode'][_0x448df5(0x12d)](this,_0x157ff0&&_0x157ff0[_0x448df5(0x1ff)]):(this[_0x448df5(0x1ef)]=_0x1da407[_0x448df5(0x1ec)](_0xb9b903,this,_0x157ff0&&_0x157ff0[_0x448df5(0x1ff)]),this[_0x448df5(0x1ef)][_0x448df5(0xed)]=_0x1da407);},'_doProcessBlock':function(_0x1a0b38,_0x10c190){var _0x15f36e=_0x4494d3;this[_0x15f36e(0x1ef)][_0x15f36e(0x181)](_0x1a0b38,_0x10c190);},'_doFinalize':function(){var _0x502100=_0x4494d3,_0x7e2736,_0x11232b=this['cfg']['padding'];return this[_0x502100(0x18a)]==this[_0x502100(0x114)]?(_0x11232b[_0x502100(0x161)](this[_0x502100(0x2ec)],this['blockSize']),_0x7e2736=this[_0x502100(0x25d)](!0x0)):(_0x7e2736=this[_0x502100(0x25d)](!0x0),_0x11232b['unpad'](_0x7e2736)),_0x7e2736;},'blockSize':0x80/0x20});var _0x2ccf2f=_0x43f3d7[_0x4494d3(0x259)]=_0x5484ee[_0x4494d3(0x336)]({'init':function(_0x310d56){var _0x3015d3=_0x4494d3;this[_0x3015d3(0x2e1)](_0x310d56);},'toString':function(_0x40bb88){var _0x369037=_0x4494d3;return(_0x40bb88||this['formatter'])[_0x369037(0x236)](this);}}),_0x3226c3=_0x3d1bcd['format']={},_0x274713=_0x3226c3[_0x4494d3(0x1e7)]={'stringify':function(_0x27ed52){var _0x2d0ebf=_0x4494d3,_0x43801c,_0x7ec4bd=_0x27ed52[_0x2d0ebf(0x338)],_0x3bd043=_0x27ed52['salt'];return _0x3bd043?_0x43801c=_0x18b115[_0x2d0ebf(0x22f)]([0x53616c74,0x65645f5f])[_0x2d0ebf(0x135)](_0x3bd043)[_0x2d0ebf(0x135)](_0x7ec4bd):_0x43801c=_0x7ec4bd,_0x43801c[_0x2d0ebf(0xf3)](_0x3be0b9);},'parse':function(_0x42c168){var _0x5291bf=_0x4494d3,_0x39234b,_0x2bb5d9=_0x3be0b9['parse'](_0x42c168),_0x11993b=_0x2bb5d9[_0x5291bf(0x1ff)];return _0x11993b[0x0]==0x53616c74&&_0x11993b[0x1]==0x65645f5f&&(_0x39234b=_0x18b115[_0x5291bf(0x22f)](_0x11993b[_0x5291bf(0x320)](0x2,0x4)),_0x11993b[_0x5291bf(0x30f)](0x0,0x4),_0x2bb5d9[_0x5291bf(0x184)]-=0x10),_0x2ccf2f['create']({'ciphertext':_0x2bb5d9,'salt':_0x39234b});}},_0x9539c9=_0x43f3d7[_0x4494d3(0x1cf)]=_0x5484ee[_0x4494d3(0x336)]({'cfg':_0x5484ee[_0x4494d3(0x336)]({'format':_0x274713}),'encrypt':function(_0x715b7c,_0x2ab5e9,_0x34873f,_0x3ec3b7){var _0x54cd12=_0x4494d3;_0x3ec3b7=this[_0x54cd12(0xb5)][_0x54cd12(0x336)](_0x3ec3b7);var _0x2c176c=_0x715b7c[_0x54cd12(0x269)](_0x34873f,_0x3ec3b7),_0x238b89=_0x2c176c[_0x54cd12(0x216)](_0x2ab5e9),_0x408ac6=_0x2c176c[_0x54cd12(0xb5)];return _0x2ccf2f[_0x54cd12(0x22f)]({'ciphertext':_0x238b89,'key':_0x34873f,'iv':_0x408ac6['iv'],'algorithm':_0x715b7c,'mode':_0x408ac6[_0x54cd12(0x2d5)],'padding':_0x408ac6['padding'],'blockSize':_0x715b7c[_0x54cd12(0x11b)],'formatter':_0x3ec3b7['format']});},'decrypt':function(_0x5811b0,_0x385b21,_0x5e6e22,_0x42eb9e){var _0x5997c7=_0x4494d3;_0x42eb9e=this[_0x5997c7(0xb5)]['extend'](_0x42eb9e),_0x385b21=this[_0x5997c7(0x123)](_0x385b21,_0x42eb9e[_0x5997c7(0x2be)]);var _0x3f01d0=_0x5811b0[_0x5997c7(0xeb)](_0x5e6e22,_0x42eb9e)[_0x5997c7(0x216)](_0x385b21[_0x5997c7(0x338)]);return _0x3f01d0;},'_parse':function(_0x4cd9e0,_0x49ebac){var _0x47b6ef=_0x4494d3;return typeof _0x4cd9e0==_0x47b6ef(0x1c6)?_0x49ebac[_0x47b6ef(0x153)](_0x4cd9e0,this):_0x4cd9e0;}}),_0x5156c9=_0x3d1bcd['kdf']={},_0x5076f7=_0x5156c9['OpenSSL']={'execute':function(_0x3a4338,_0x18f180,_0x1bf0e1,_0x46ffea,_0x48822e){var _0x522768=_0x4494d3;if(_0x46ffea||(_0x46ffea=_0x18b115[_0x522768(0x311)](0x40/0x8)),_0x48822e)var _0x8e6305=_0x307eda[_0x522768(0x22f)]({'keySize':_0x18f180+_0x1bf0e1,'hasher':_0x48822e})[_0x522768(0xe1)](_0x3a4338,_0x46ffea);else var _0x8e6305=_0x307eda[_0x522768(0x22f)]({'keySize':_0x18f180+_0x1bf0e1})[_0x522768(0xe1)](_0x3a4338,_0x46ffea);var _0x5e2ca7=_0x18b115[_0x522768(0x22f)](_0x8e6305[_0x522768(0x1ff)][_0x522768(0x320)](_0x18f180),_0x1bf0e1*0x4);return _0x8e6305[_0x522768(0x184)]=_0x18f180*0x4,_0x2ccf2f[_0x522768(0x22f)]({'key':_0x8e6305,'iv':_0x5e2ca7,'salt':_0x46ffea});}},_0x4bdb03=_0x43f3d7[_0x4494d3(0x16f)]=_0x9539c9[_0x4494d3(0x336)]({'cfg':_0x9539c9['cfg'][_0x4494d3(0x336)]({'kdf':_0x5076f7}),'encrypt':function(_0x34e2b7,_0x51b8ef,_0x2b3757,_0x5463d8){var _0x52de6d=_0x4494d3;_0x5463d8=this['cfg'][_0x52de6d(0x336)](_0x5463d8);var _0x584cde=_0x5463d8[_0x52de6d(0x31a)][_0x52de6d(0x2f7)](_0x2b3757,_0x34e2b7['keySize'],_0x34e2b7['ivSize'],_0x5463d8[_0x52de6d(0x90)],_0x5463d8[_0x52de6d(0x2d9)]);_0x5463d8['iv']=_0x584cde['iv'];var _0x19ffff=_0x9539c9[_0x52de6d(0x10e)][_0x52de6d(0x1ec)](this,_0x34e2b7,_0x51b8ef,_0x584cde[_0x52de6d(0x1cb)],_0x5463d8);return _0x19ffff['mixIn'](_0x584cde),_0x19ffff;},'decrypt':function(_0x490704,_0xcf9776,_0x5e48f2,_0x2150d9){var _0x2ae49c=_0x4494d3;_0x2150d9=this['cfg'][_0x2ae49c(0x336)](_0x2150d9),_0xcf9776=this['_parse'](_0xcf9776,_0x2150d9[_0x2ae49c(0x2be)]);var _0x1c564a=_0x2150d9[_0x2ae49c(0x31a)]['execute'](_0x5e48f2,_0x490704[_0x2ae49c(0x138)],_0x490704[_0x2ae49c(0x273)],_0xcf9776[_0x2ae49c(0x90)],_0x2150d9[_0x2ae49c(0x2d9)]);_0x2150d9['iv']=_0x1c564a['iv'];var _0x3dab87=_0x9539c9['decrypt'][_0x2ae49c(0x1ec)](this,_0x490704,_0xcf9776,_0x1c564a[_0x2ae49c(0x1cb)],_0x2150d9);return _0x3dab87;}});}();}));}(Je)),Je[_0x2e12f9(0x2c2)];}var Vr=Ve[_0x4d673f(0x2c2)],si;function Gr(){var _0x287653=_0x4d673f;return si||(si=0x1,function(_0x2c39d2,_0x32e5a0){(function(_0x25752b,_0x12af4a,_0x16baaa){_0x2c39d2['exports']=_0x12af4a(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x26c36f){return(function(){var _0x331b6d=_0x1e69,_0x794b67=_0x26c36f,_0x4586fd=_0x794b67['lib'],_0x3bf89d=_0x4586fd[_0x331b6d(0xba)],_0x181fe6=_0x794b67[_0x331b6d(0x301)],_0x59ad88=[],_0x4ee97b=[],_0x48c08d=[],_0x3101fe=[],_0x50258a=[],_0x2dc83a=[],_0x4e1b4e=[],_0xb209ad=[],_0x39ac74=[],_0x4f37af=[];(function(){for(var _0x2b389f=[],_0x2ad8dd=0x0;_0x2ad8dd<0x100;_0x2ad8dd++)_0x2ad8dd<0x80?_0x2b389f[_0x2ad8dd]=_0x2ad8dd<<0x1:_0x2b389f[_0x2ad8dd]=_0x2ad8dd<<0x1^0x11b;for(var _0x2a2456=0x0,_0x312fba=0x0,_0x2ad8dd=0x0;_0x2ad8dd<0x100;_0x2ad8dd++){var _0x32255b=_0x312fba^_0x312fba<<0x1^_0x312fba<<0x2^_0x312fba<<0x3^_0x312fba<<0x4;_0x32255b=_0x32255b>>>0x8^_0x32255b&0xff^0x63,_0x59ad88[_0x2a2456]=_0x32255b,_0x4ee97b[_0x32255b]=_0x2a2456;var _0x19483e=_0x2b389f[_0x2a2456],_0x1ca00e=_0x2b389f[_0x19483e],_0x5c90bf=_0x2b389f[_0x1ca00e],_0x556d87=_0x2b389f[_0x32255b]*0x101^_0x32255b*0x1010100;_0x48c08d[_0x2a2456]=_0x556d87<<0x18|_0x556d87>>>0x8,_0x3101fe[_0x2a2456]=_0x556d87<<0x10|_0x556d87>>>0x10,_0x50258a[_0x2a2456]=_0x556d87<<0x8|_0x556d87>>>0x18,_0x2dc83a[_0x2a2456]=_0x556d87;var _0x556d87=_0x5c90bf*0x1010101^_0x1ca00e*0x10001^_0x19483e*0x101^_0x2a2456*0x1010100;_0x4e1b4e[_0x32255b]=_0x556d87<<0x18|_0x556d87>>>0x8,_0xb209ad[_0x32255b]=_0x556d87<<0x10|_0x556d87>>>0x10,_0x39ac74[_0x32255b]=_0x556d87<<0x8|_0x556d87>>>0x18,_0x4f37af[_0x32255b]=_0x556d87,_0x2a2456?(_0x2a2456=_0x19483e^_0x2b389f[_0x2b389f[_0x2b389f[_0x5c90bf^_0x19483e]]],_0x312fba^=_0x2b389f[_0x2b389f[_0x312fba]]):_0x2a2456=_0x312fba=0x1;}}());var _0x21e0aa=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x3b9e11=_0x181fe6[_0x331b6d(0x1bd)]=_0x3bf89d[_0x331b6d(0x336)]({'_doReset':function(){var _0x42f2e8=_0x331b6d,_0x1c5ca1;if(!(this[_0x42f2e8(0x322)]&&this['_keyPriorReset']===this['_key'])){for(var _0x469a37=this[_0x42f2e8(0x11c)]=this[_0x42f2e8(0x2df)],_0x4c130e=_0x469a37[_0x42f2e8(0x1ff)],_0x5a5a8c=_0x469a37[_0x42f2e8(0x184)]/0x4,_0x393909=this[_0x42f2e8(0x322)]=_0x5a5a8c+0x6,_0x4b9433=(_0x393909+0x1)*0x4,_0x42a6e7=this['_keySchedule']=[],_0x348f59=0x0;_0x348f59<_0x4b9433;_0x348f59++)_0x348f59<_0x5a5a8c?_0x42a6e7[_0x348f59]=_0x4c130e[_0x348f59]:(_0x1c5ca1=_0x42a6e7[_0x348f59-0x1],_0x348f59%_0x5a5a8c?_0x5a5a8c>0x6&&_0x348f59%_0x5a5a8c==0x4&&(_0x1c5ca1=_0x59ad88[_0x1c5ca1>>>0x18]<<0x18|_0x59ad88[_0x1c5ca1>>>0x10&0xff]<<0x10|_0x59ad88[_0x1c5ca1>>>0x8&0xff]<<0x8|_0x59ad88[_0x1c5ca1&0xff]):(_0x1c5ca1=_0x1c5ca1<<0x8|_0x1c5ca1>>>0x18,_0x1c5ca1=_0x59ad88[_0x1c5ca1>>>0x18]<<0x18|_0x59ad88[_0x1c5ca1>>>0x10&0xff]<<0x10|_0x59ad88[_0x1c5ca1>>>0x8&0xff]<<0x8|_0x59ad88[_0x1c5ca1&0xff],_0x1c5ca1^=_0x21e0aa[_0x348f59/_0x5a5a8c|0x0]<<0x18),_0x42a6e7[_0x348f59]=_0x42a6e7[_0x348f59-_0x5a5a8c]^_0x1c5ca1);for(var _0x4e384c=this['_invKeySchedule']=[],_0x2ab3fa=0x0;_0x2ab3fa<_0x4b9433;_0x2ab3fa++){var _0x348f59=_0x4b9433-_0x2ab3fa;if(_0x2ab3fa%0x4)var _0x1c5ca1=_0x42a6e7[_0x348f59];else var _0x1c5ca1=_0x42a6e7[_0x348f59-0x4];_0x2ab3fa<0x4||_0x348f59<=0x4?_0x4e384c[_0x2ab3fa]=_0x1c5ca1:_0x4e384c[_0x2ab3fa]=_0x4e1b4e[_0x59ad88[_0x1c5ca1>>>0x18]]^_0xb209ad[_0x59ad88[_0x1c5ca1>>>0x10&0xff]]^_0x39ac74[_0x59ad88[_0x1c5ca1>>>0x8&0xff]]^_0x4f37af[_0x59ad88[_0x1c5ca1&0xff]];}}},'encryptBlock':function(_0x550de1,_0x198a74){var _0x5a9c8e=_0x331b6d;this[_0x5a9c8e(0x324)](_0x550de1,_0x198a74,this[_0x5a9c8e(0x327)],_0x48c08d,_0x3101fe,_0x50258a,_0x2dc83a,_0x59ad88);},'decryptBlock':function(_0x579cfa,_0x3390db){var _0x145ba2=_0x331b6d,_0x5b7b5e=_0x579cfa[_0x3390db+0x1];_0x579cfa[_0x3390db+0x1]=_0x579cfa[_0x3390db+0x3],_0x579cfa[_0x3390db+0x3]=_0x5b7b5e,this[_0x145ba2(0x324)](_0x579cfa,_0x3390db,this[_0x145ba2(0x2c1)],_0x4e1b4e,_0xb209ad,_0x39ac74,_0x4f37af,_0x4ee97b);var _0x5b7b5e=_0x579cfa[_0x3390db+0x1];_0x579cfa[_0x3390db+0x1]=_0x579cfa[_0x3390db+0x3],_0x579cfa[_0x3390db+0x3]=_0x5b7b5e;},'_doCryptBlock':function(_0x577354,_0x3d6ace,_0x30e8a5,_0x619bdc,_0x497948,_0x148d42,_0x36170f,_0x3cdab6){var _0x56cdae=_0x331b6d;for(var _0x3503bc=this[_0x56cdae(0x322)],_0x595a05=_0x577354[_0x3d6ace]^_0x30e8a5[0x0],_0x44eca9=_0x577354[_0x3d6ace+0x1]^_0x30e8a5[0x1],_0x275410=_0x577354[_0x3d6ace+0x2]^_0x30e8a5[0x2],_0x2b44c0=_0x577354[_0x3d6ace+0x3]^_0x30e8a5[0x3],_0x23eda6=0x4,_0x4f5225=0x1;_0x4f5225<_0x3503bc;_0x4f5225++){var _0x172330=_0x619bdc[_0x595a05>>>0x18]^_0x497948[_0x44eca9>>>0x10&0xff]^_0x148d42[_0x275410>>>0x8&0xff]^_0x36170f[_0x2b44c0&0xff]^_0x30e8a5[_0x23eda6++],_0x58a1e6=_0x619bdc[_0x44eca9>>>0x18]^_0x497948[_0x275410>>>0x10&0xff]^_0x148d42[_0x2b44c0>>>0x8&0xff]^_0x36170f[_0x595a05&0xff]^_0x30e8a5[_0x23eda6++],_0x2c0b3c=_0x619bdc[_0x275410>>>0x18]^_0x497948[_0x2b44c0>>>0x10&0xff]^_0x148d42[_0x595a05>>>0x8&0xff]^_0x36170f[_0x44eca9&0xff]^_0x30e8a5[_0x23eda6++],_0x17776f=_0x619bdc[_0x2b44c0>>>0x18]^_0x497948[_0x595a05>>>0x10&0xff]^_0x148d42[_0x44eca9>>>0x8&0xff]^_0x36170f[_0x275410&0xff]^_0x30e8a5[_0x23eda6++];_0x595a05=_0x172330,_0x44eca9=_0x58a1e6,_0x275410=_0x2c0b3c,_0x2b44c0=_0x17776f;}var _0x172330=(_0x3cdab6[_0x595a05>>>0x18]<<0x18|_0x3cdab6[_0x44eca9>>>0x10&0xff]<<0x10|_0x3cdab6[_0x275410>>>0x8&0xff]<<0x8|_0x3cdab6[_0x2b44c0&0xff])^_0x30e8a5[_0x23eda6++],_0x58a1e6=(_0x3cdab6[_0x44eca9>>>0x18]<<0x18|_0x3cdab6[_0x275410>>>0x10&0xff]<<0x10|_0x3cdab6[_0x2b44c0>>>0x8&0xff]<<0x8|_0x3cdab6[_0x595a05&0xff])^_0x30e8a5[_0x23eda6++],_0x2c0b3c=(_0x3cdab6[_0x275410>>>0x18]<<0x18|_0x3cdab6[_0x2b44c0>>>0x10&0xff]<<0x10|_0x3cdab6[_0x595a05>>>0x8&0xff]<<0x8|_0x3cdab6[_0x44eca9&0xff])^_0x30e8a5[_0x23eda6++],_0x17776f=(_0x3cdab6[_0x2b44c0>>>0x18]<<0x18|_0x3cdab6[_0x595a05>>>0x10&0xff]<<0x10|_0x3cdab6[_0x44eca9>>>0x8&0xff]<<0x8|_0x3cdab6[_0x275410&0xff])^_0x30e8a5[_0x23eda6++];_0x577354[_0x3d6ace]=_0x172330,_0x577354[_0x3d6ace+0x1]=_0x58a1e6,_0x577354[_0x3d6ace+0x2]=_0x2c0b3c,_0x577354[_0x3d6ace+0x3]=_0x17776f;},'keySize':0x100/0x20});_0x794b67[_0x331b6d(0x1bd)]=_0x3bf89d[_0x331b6d(0x14b)](_0x3b9e11);}()),_0x26c36f['AES'];}));}(Ve)),Ve[_0x287653(0x2c2)];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x4d673f(0x2c2)],ai;function zr(){var _0x494c6e=_0x4d673f;return ai||(ai=0x1,function(_0x5d9fa5,_0x53795a){(function(_0x423709,_0x2b1eb1){_0x5d9fa5['exports']=_0x2b1eb1(ne());}(qr,function(_0x379813){var _0x5e3d11=_0x1e69;return _0x379813['enc'][_0x5e3d11(0x229)];}));}(Xe)),Xe[_0x494c6e(0x2c2)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x4d673f(0x2c2)],ci;function Qr(){var _0x888033=_0x4d673f;return ci||(ci=0x1,function(_0x480d88,_0x454642){(function(_0x101b89,_0xbb41ed){var _0x30dac8=_0x1e69;_0x480d88[_0x30dac8(0x2c2)]=_0xbb41ed(ne());}(Zr,function(_0x2f5460){var _0x579417=_0x1e69;return(function(){var _0x247d2f=_0x1e69;if(typeof ArrayBuffer=='function'){var _0x37a250=_0x2f5460,_0x25ec6b=_0x37a250[_0x247d2f(0x332)],_0x4d9b7f=_0x25ec6b['WordArray'],_0x18531c=_0x4d9b7f['init'],_0x1301b8=_0x4d9b7f[_0x247d2f(0x12d)]=function(_0x5236eb){var _0xbe6d24=_0x247d2f;if(_0x5236eb instanceof ArrayBuffer&&(_0x5236eb=new Uint8Array(_0x5236eb)),(_0x5236eb instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5236eb instanceof Uint8ClampedArray||_0x5236eb instanceof Int16Array||_0x5236eb instanceof Uint16Array||_0x5236eb instanceof Int32Array||_0x5236eb instanceof Uint32Array||_0x5236eb instanceof Float32Array||_0x5236eb instanceof Float64Array)&&(_0x5236eb=new Uint8Array(_0x5236eb['buffer'],_0x5236eb[_0xbe6d24(0x2d7)],_0x5236eb['byteLength'])),_0x5236eb instanceof Uint8Array){for(var _0x199e8=_0x5236eb[_0xbe6d24(0x30d)],_0x6c49b8=[],_0x2eca23=0x0;_0x2eca23<_0x199e8;_0x2eca23++)_0x6c49b8[_0x2eca23>>>0x2]|=_0x5236eb[_0x2eca23]<<0x18-_0x2eca23%0x4*0x8;_0x18531c['call'](this,_0x6c49b8,_0x199e8);}else _0x18531c[_0xbe6d24(0x1f9)](this,arguments);};_0x1301b8[_0x247d2f(0x1d4)]=_0x4d9b7f;}}()),_0x2f5460['lib'][_0x579417(0x1dc)];}));}(Ze)),Ze[_0x888033(0x2c2)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x4d673f(0x2c2)],hi;function ns(){var _0x192f02=_0x4d673f;return hi||(hi=0x1,function(_0x1f661e,_0x37f01c){(function(_0x5ad581,_0x77ce9f,_0x5a3d68){var _0x33cdef=_0x1e69;_0x1f661e[_0x33cdef(0x2c2)]=_0x77ce9f(ne(),Ai());}(is,function(_0x199f44){var _0x3c02f8=_0x1e69;return _0x199f44['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x199f44[_0x3c02f8(0x161)][_0x3c02f8(0x193)];}));}(Qe)),Qe[_0x192f02(0x2c2)];}var rs=ns();const ss=ke(rs);function os(_0x9a62de,_0x2b9ccf){var _0xcc29d1=_0x4d673f;const _0x591af7=_0x2b9ccf-_0x9a62de[_0xcc29d1(0xf8)]%_0x2b9ccf,_0x5d8927=String['fromCharCode'](_0x591af7)[_0xcc29d1(0x2e2)](_0x591af7);return _0x9a62de+_0x5d8927;}function as(_0x31d79d,_0x446759){var _0x4dd7d9=_0x4d673f;const _0x24503d=ts['random'](0x10),_0x21d63a=os(_0x31d79d,0x10),_0x436319=Kr[_0x4dd7d9(0x10e)](Xr[_0x4dd7d9(0x153)](_0x21d63a),oi[_0x4dd7d9(0x153)](_0x446759),{'iv':_0x24503d,'padding':ss});return _0x24503d[_0x4dd7d9(0x135)](_0x436319[_0x4dd7d9(0x338)])['toString'](oi);}function cs(){var _0x3cb48e=_0x4d673f;const _0x5bc8c3=_0x2f4c96()[_0x3cb48e(0x2e8)];if(_0x5bc8c3){const _0x1f5ced={'time':Math[_0x3cb48e(0x19f)](Date[_0x3cb48e(0x309)]()/0x3e8),'domain':location[_0x3cb48e(0xb7)]};return as(JSON[_0x3cb48e(0x236)](_0x1f5ced),_0x5bc8c3);}}var hs=Object[_0x4d673f(0x158)],_s=Object[_0x4d673f(0x37a)],ls=(_0x403db3,_0xcd8576,_0xddcf06,_0x5f1f2b)=>{var _0xa32947=_0x4d673f;for(var _0x30f025=_0x5f1f2b>0x1?void 0x0:_0x5f1f2b?_s(_0xcd8576,_0xddcf06):_0xcd8576,_0x5c7154=_0x403db3[_0xa32947(0xf8)]-0x1,_0x44933d;_0x5c7154>=0x0;_0x5c7154--)(_0x44933d=_0x403db3[_0x5c7154])&&(_0x30f025=(_0x5f1f2b?_0x44933d(_0xcd8576,_0xddcf06,_0x30f025):_0x44933d(_0x30f025))||_0x30f025);return _0x5f1f2b&&_0x30f025&&hs(_0xcd8576,_0xddcf06,_0x30f025),_0x30f025;},us=(_0x73f3bb,_0x290250)=>(_0x1a9737,_0xf996b)=>_0x290250(_0x1a9737,_0xf996b,_0x73f3bb);let ot=class{constructor(_0x1823eb){this['_httpService']=_0x1823eb,this['_initRequestHeader']();}['_initRequestHeader'](){var _0x28ae0e=_0x4d673f;this[_0x28ae0e(0x2b4)][_0x28ae0e(0xee)]({'interceptor':(_0x35d293,_0x37cd78)=>{var _0x43c864=_0x28ae0e;const _0x2b5877=_0x35d293[_0x43c864(0x129)],_0x48025b=cs();return _0x48025b&&_0x2b5877[_0x43c864(0x190)](_0x43c864(0x1ac),_0x48025b),_0x37cd78(_0x35d293);}});}};ot=ls([us(0x0,_0x4513f6(_0x4b98ea))],ot);var ds=Object[_0x4d673f(0x158)],fs=Object['getOwnPropertyDescriptor'],vs=(_0x37abbb,_0x3856b3,_0x51bea0,_0x402cca)=>{var _0x22c576=_0x4d673f;for(var _0x5def81=_0x402cca>0x1?void 0x0:_0x402cca?fs(_0x3856b3,_0x51bea0):_0x3856b3,_0x4d5896=_0x37abbb[_0x22c576(0xf8)]-0x1,_0x13df15;_0x4d5896>=0x0;_0x4d5896--)(_0x13df15=_0x37abbb[_0x4d5896])&&(_0x5def81=(_0x402cca?_0x13df15(_0x3856b3,_0x51bea0,_0x5def81):_0x13df15(_0x5def81))||_0x5def81);return _0x402cca&&_0x5def81&&ds(_0x3856b3,_0x51bea0,_0x5def81),_0x5def81;},mt=(_0x3805aa,_0x2a0a5e)=>(_0x41c143,_0x3e31be)=>_0x2a0a5e(_0x41c143,_0x3e31be,_0x3805aa);let Ot=class extends _0x24e8c4{constructor(_0x296207,_0x35b3f9,_0x32a02f){var _0x5e1481=_0x4d673f;super(),N(this,_0x5e1481(0xfd),new _0xb1c695(null)),N(this,_0x5e1481(0x1d6),this['_unitInfo$'][_0x5e1481(0x19c)]()),(this[_0x5e1481(0x306)]=_0x296207,this[_0x5e1481(0x147)]=_0x35b3f9,this['_localCacheService']=_0x32a02f);}async[_0x4d673f(0x300)](_0xee38d2,_0x5c276f,_0x262f9b){var _0x426fba=_0x4d673f;this[_0x426fba(0xfd)]['next']({'unitId':_0xee38d2,'type':_0x5c276f,'subUnitId':_0x262f9b});let _0x31f30d=null;switch(_0x5c276f){case Q['UNIVER_SHEET']:{_0x31f30d=await this[_0x426fba(0x1e2)](_0xee38d2);break;}case Q[_0x426fba(0x156)]:{_0x31f30d=await this[_0x426fba(0x8a)](_0xee38d2);break;}default:{this[_0x426fba(0x306)]['error'](_0x426fba(0x180),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x31f30d;}async[_0x4d673f(0x1e2)](_0x2131e6){var _0x20afc4=_0x4d673f,_0x583f4e;let _0x4956ed=0x0;const _0x15af95=await((_0x583f4e=this[_0x20afc4(0x197)])==null?void 0x0:_0x583f4e[_0x20afc4(0x326)](_0x2131e6));return _0x15af95&&(_0x15af95[_0x20afc4(0xdb)]||_0x15af95[_0x20afc4(0x200)][_0x20afc4(0xf8)]!==0x0)&&(_0x4956ed=_0x15af95[_0x20afc4(0x2d2)]),_0x4956ed===0x0&&this[_0x20afc4(0x306)][_0x20afc4(0x34f)](_0x20afc4(0x180),_0x20afc4(0x11d)),this[_0x20afc4(0x147)][_0x20afc4(0xbd)](_0x2131e6,_0x4956ed);}async[_0x4d673f(0x8a)](_0x40e720){var _0x40c71c=_0x4d673f,_0x142c37;let _0x32d65b=0x0;const _0xdb644d=await((_0x142c37=this[_0x40c71c(0x197)])==null?void 0x0:_0x142c37['loadOfflineData'](_0x40e720));return _0xdb644d&&(_0xdb644d['awaitingChangeset']||_0xdb644d[_0x40c71c(0x200)][_0x40c71c(0xf8)]!==0x0)&&(_0x32d65b=_0xdb644d[_0x40c71c(0x2d2)]),_0x32d65b===0x0&&this['_logService'][_0x40c71c(0x34f)]('[DataLoaderService]','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this[_0x40c71c(0x147)]['loadDoc'](_0x40e720,_0x32d65b);}};Ot=vs([mt(0x0,_0x4ea18a),mt(0x1,_0x4513f6(_0x29e935)),mt(0x2,_0x1ef01f(J))],Ot);var ps=Object[_0x4d673f(0x158)],ms=Object[_0x4d673f(0x37a)],gs=(_0x5834f3,_0x14ce44,_0x30cf72,_0x4ba2ce)=>{var _0x559a61=_0x4d673f;for(var _0x50026e=_0x4ba2ce>0x1?void 0x0:_0x4ba2ce?ms(_0x14ce44,_0x30cf72):_0x14ce44,_0x3d997d=_0x5834f3[_0x559a61(0xf8)]-0x1,_0x50a405;_0x3d997d>=0x0;_0x3d997d--)(_0x50a405=_0x5834f3[_0x3d997d])&&(_0x50026e=(_0x4ba2ce?_0x50a405(_0x14ce44,_0x30cf72,_0x50026e):_0x50a405(_0x50026e))||_0x50026e);return _0x4ba2ce&&_0x50026e&&ps(_0x14ce44,_0x30cf72,_0x50026e),_0x50026e;},gt=(_0x120977,_0x1051ca)=>(_0x237fa0,_0x208952)=>_0x1051ca(_0x237fa0,_0x208952,_0x120977);const Ss=[_0x4d673f(0x118),'image/jpeg',_0x4d673f(0x1f3),'image/gif',_0x4d673f(0x8b)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x4d673f(0x34b),Cs=_0x4d673f(0x128),Rs=_0x4d673f(0x112);let yt=class{constructor(_0x506747,_0x572359,_0x4e9193){var _0x3c1a1f=_0x4d673f;N(this,'_waitCount',0x0),N(this,_0x3c1a1f(0x16a),new _0x51c542()),N(this,'change$',this[_0x3c1a1f(0x16a)]),N(this,'_imageSourceCache',new Map()),(this[_0x3c1a1f(0x2b4)]=_0x506747,this[_0x3c1a1f(0x2b0)]=_0x572359,this[_0x3c1a1f(0x102)]=_0x4e9193);}[_0x4d673f(0x315)](_0x27eff5){var _0x528672=_0x4d673f;this['_waitCount']=_0x27eff5,this['_change$'][_0x528672(0x125)](_0x27eff5);}[_0x4d673f(0x17f)](_0x455070,_0x4be71c){var _0x1e7f15=_0x4d673f;if(_0x4be71c===_0x1aec03[_0x1e7f15(0x109)]){const _0x4d32f5=new Image();return _0x4d32f5[_0x1e7f15(0x1bc)]=_0x455070,_0x4d32f5;}return this['_imageSourceCache'][_0x1e7f15(0x2af)](_0x455070);}[_0x4d673f(0xf9)](_0x15891a,_0x55fd4a,_0x35a027){var _0x1c7594=_0x4d673f;_0x55fd4a===_0x1aec03[_0x1c7594(0x109)]||_0x35a027==null||this[_0x1c7594(0x2fd)]['set'](_0x15891a,_0x35a027);}async['getImage'](_0x346e8a){var _0x536f53=_0x4d673f;try{const _0x48915d=this['_replaceFileID'](this['_getSignURL'](),''+_0x346e8a),_0x28281f=(await this[_0x536f53(0x2b4)][_0x536f53(0x2af)](_0x48915d))[_0x536f53(0x296)];if(_0x28281f[_0x536f53(0x32c)]&&_0x28281f[_0x536f53(0x32c)][_0x536f53(0x2a5)]===Ii['OK']){const _0x555a59=new URL(_0x28281f['url'],this['_getDownloadEndpointURL']())[_0x536f53(0xf3)]();return Promise['resolve'](_0x555a59);}return Promise[_0x536f53(0x12f)](_0x28281f[_0x536f53(0x32c)]);}catch(_0x28f161){return Promise[_0x536f53(0x12f)](_0x28f161);}}async[_0x4d673f(0x251)](_0x5e717e){var _0x35847a=_0x4d673f;let _0x58e8e6='';if(!Ss[_0x35847a(0x290)](_0x5e717e[_0x35847a(0x2ca)]))return this[_0x35847a(0x25f)](),Promise[_0x35847a(0x12f)](new Error(_0x1e24f4[_0x35847a(0x10b)]));if(_0x5e717e[_0x35847a(0x2b5)]>Es)return this[_0x35847a(0x25f)](),Promise[_0x35847a(0x12f)](new Error(_0x1e24f4['ERROR_EXCEED_SIZE']));try{const _0x5370df=new FormData();_0x5370df[_0x35847a(0x366)](_0x35847a(0x246),_0x5e717e);const _0x4320e0=this[_0x35847a(0x102)][_0x35847a(0x333)](),_0x1dcc5c=_0x4320e0==null?void 0x0:_0x4320e0[_0x35847a(0x208)]();if(!_0x1dcc5c)throw new Error(_0x35847a(0x28e));const _0x5ba805=this[_0x35847a(0xfb)]()+_0x35847a(0x157)+_0x5e717e['size']['toString']()+'&source='+Ti[_0x35847a(0x14c)]+'&assign='+encodeURIComponent(_0x1dcc5c),_0x27a239=await(await fetch(_0x5ba805,{'method':_0x35847a(0x18c),'body':_0x5370df}))[_0x35847a(0xe2)]();if(typeof _0x27a239[_0x35847a(0xf0)]!=_0x35847a(0x1c6))return this[_0x35847a(0x25f)](),Promise[_0x35847a(0x12f)](new Error(_0x1e24f4[_0x35847a(0xd0)]));_0x58e8e6=_0x27a239[_0x35847a(0xf0)];}catch{return this[_0x35847a(0x25f)](),Promise[_0x35847a(0x12f)](new Error(_0x1e24f4[_0x35847a(0xd0)]));}return new Promise((_0x189c79,_0xc539e0)=>{var _0x5adab8=_0x35847a;const _0x3f345f=new FileReader();_0x3f345f[_0x5adab8(0xbf)](_0x5e717e),_0x3f345f[_0x5adab8(0x31b)]=_0x1c9e77=>{var _0x5acc1e=_0x5adab8,_0x4e31d2;const _0x18f909=(_0x4e31d2=_0x1c9e77[_0x5acc1e(0x2b8)])==null?void 0x0:_0x4e31d2[_0x5acc1e(0xa4)];if(_0x18f909==null){this['_decreaseWaiting'](),_0xc539e0(new Error(_0x1e24f4[_0x5acc1e(0xd0)]));return;}const _0x382450=_0x4005cd[_0x5acc1e(0x25b)](0x6);_0x189c79({'imageId':_0x382450,'imageSourceType':_0x1aec03['UUID'],'source':_0x58e8e6,'base64Cache':_0x18f909,'status':_0x1e24f4[_0x5acc1e(0xa0)]}),this['_decreaseWaiting']();};});}[_0x4d673f(0xfb)](){var _0x12d484=_0x4d673f,_0x1f35a6,_0x2b1e6;const _0x23b1a9=this[_0x12d484(0x2b0)][_0x12d484(0x2d8)](Is),_0x1e87c2=this[_0x12d484(0x2b0)]['getConfig'](q);return(_0x2b1e6=(_0x1f35a6=_0x1e87c2==null?void 0x0:_0x1e87c2['uploadFileServerUrl'])!=null?_0x1f35a6:_0x23b1a9)!=null?_0x2b1e6:Ts;}[_0x4d673f(0x220)](){var _0x2f0a3e=_0x4d673f,_0x3969dd,_0x18f42e;const _0x551814=this[_0x2f0a3e(0x2b0)][_0x2f0a3e(0x2d8)](Cs),_0xf1e0c4=this['_configService']['getConfig'](q);return(_0x18f42e=(_0x3969dd=_0xf1e0c4==null?void 0x0:_0xf1e0c4[_0x2f0a3e(0x221)])!=null?_0x3969dd:_0x551814)!=null?_0x18f42e:Rs;}[_0x4d673f(0x257)](){var _0x2ee73f=_0x4d673f,_0x27ef84;const _0x5c994d=this[_0x2ee73f(0x2b0)][_0x2ee73f(0x2d8)](q);return(_0x27ef84=_0x5c994d==null?void 0x0:_0x5c994d[_0x2ee73f(0x34c)])!=null?_0x27ef84:location[_0x2ee73f(0x2e6)];}[_0x4d673f(0x1ed)](_0x463898,_0x273847){var _0x11fef7=_0x4d673f;return _0x463898[_0x11fef7(0x22c)](_0x11fef7(0xa5),_0x273847);}[_0x4d673f(0x25f)](){var _0x10b756=_0x4d673f;this[_0x10b756(0x17c)]-=0x1,this[_0x10b756(0x16a)][_0x10b756(0x125)](this[_0x10b756(0x17c)]);}};yt=gs([gt(0x0,_0x4513f6(_0x4b98ea)),gt(0x1,_0x50d966),gt(0x2,_0x4513f6(_0x5050f9))],yt);var bs=Object['defineProperty'],Os=Object['getOwnPropertyDescriptor'],ys=(_0x4b5580,_0x55577b,_0x3cd0c6,_0x564d07)=>{var _0x546fb6=_0x4d673f;for(var _0x351791=_0x564d07>0x1?void 0x0:_0x564d07?Os(_0x55577b,_0x3cd0c6):_0x55577b,_0x5d4134=_0x4b5580[_0x546fb6(0xf8)]-0x1,_0x38cd4a;_0x5d4134>=0x0;_0x5d4134--)(_0x38cd4a=_0x4b5580[_0x5d4134])&&(_0x351791=(_0x564d07?_0x38cd4a(_0x55577b,_0x3cd0c6,_0x351791):_0x38cd4a(_0x351791))||_0x351791);return _0x564d07&&_0x351791&&bs(_0x55577b,_0x3cd0c6,_0x351791),_0x351791;},_i=(_0x1c8641,_0x458b2f)=>(_0x64b29f,_0x326d77)=>_0x458b2f(_0x64b29f,_0x326d77,_0x1c8641);const Ns=_0x4d673f(0x8c);let Nt=class{constructor(_0x52d149,_0x99393e){var _0x51efbb=_0x4d673f;this[_0x51efbb(0x2b0)]=_0x52d149,this[_0x51efbb(0x14e)]=_0x99393e;}[_0x4d673f(0x210)](){var _0x2f6f58=_0x4d673f,_0x595052,_0x1c4df0;const _0x4a0b48=this[_0x2f6f58(0x2b0)][_0x2f6f58(0x2d8)](Pi),_0x493868=this[_0x2f6f58(0x2b0)][_0x2f6f58(0x2d8)](q);return(_0x1c4df0=(_0x595052=_0x493868==null?void 0x0:_0x493868[_0x2f6f58(0x27b)])!=null?_0x595052:_0x4a0b48)!=null?_0x1c4df0:Ns;}async[_0x4d673f(0x2bb)](_0x147393){var _0x2c6a05=_0x4d673f;const _0x2c4539=this[_0x2c6a05(0x210)]()+_0x2c6a05(0x131);return{'list':[{'title':_0x2c6a05(0x15f),'mentions':(await this[_0x2c6a05(0x14e)]['get'](_0x2c4539,{'params':{'objectID':_0x147393[_0x2c6a05(0x2f8)],'unitID':_0x147393[_0x2c6a05(0x2f8)]}}))[_0x2c6a05(0x296)]['collaborators'][_0x2c6a05(0x359)](_0x2197bf=>({'objectId':_0x2197bf['id'],'name':_0x2197bf['subject']['name'],'metadata':{'icon':_0x2197bf[_0x2c6a05(0x2fc)][_0x2c6a05(0xe6)]},'label':_0x2197bf[_0x2c6a05(0x2fc)][_0x2c6a05(0x1a7)],'objectType':_0x5c7868[_0x2c6a05(0x32b)]})),'metadata':{},'type':_0x5c7868['PERSON']}]};}};Nt=ys([_i(0x0,_0x4513f6(_0x50d966)),_i(0x1,_0x4513f6(_0x4b98ea))],Nt);var Ds=Object[_0x4d673f(0x158)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x2fd56f,_0x1fe1b7,_0x2c1a0d,_0x5e23b3)=>{var _0x20ef6c=_0x4d673f;for(var _0x34245e=_0x5e23b3>0x1?void 0x0:_0x5e23b3?Ps(_0x1fe1b7,_0x2c1a0d):_0x1fe1b7,_0x210ba7=_0x2fd56f[_0x20ef6c(0xf8)]-0x1,_0x4ed8a6;_0x210ba7>=0x0;_0x210ba7--)(_0x4ed8a6=_0x2fd56f[_0x210ba7])&&(_0x34245e=(_0x5e23b3?_0x4ed8a6(_0x1fe1b7,_0x2c1a0d,_0x34245e):_0x4ed8a6(_0x34245e))||_0x34245e);return _0x5e23b3&&_0x34245e&&Ds(_0x1fe1b7,_0x2c1a0d,_0x34245e),_0x34245e;},Se=(_0x590b6,_0x39c1bb)=>(_0x322c64,_0x148b24)=>_0x39c1bb(_0x322c64,_0x148b24,_0x590b6);let at=class extends _0x24e8c4{constructor(_0x4b489a,_0x737604,_0x15f7a7,_0x3437ff,_0x126240,_0x320004,_0x3c1543){var _0x499332=_0x4d673f;super(),this[_0x499332(0x247)]=_0x4b489a,this[_0x499332(0x102)]=_0x737604,this[_0x499332(0x198)]=_0x15f7a7,this[_0x499332(0x226)]=_0x3437ff,this[_0x499332(0x140)]=_0x126240,this[_0x499332(0x227)]=_0x320004,this[_0x499332(0x19e)]=_0x3c1543,this[_0x499332(0x260)](),this[_0x499332(0x312)]();}[_0x4d673f(0x312)](){var _0x1d91e3=_0x4d673f;const _0x4e9538=async _0x40dd19=>{var _0x4d7136=_0x1e69;(await this['_collaborationSessionService'][_0x4d7136(0x36e)](_0x40dd19))['event$'][_0x4d7136(0x285)](_0x182afb(_0x45703e=>_0x45703e['eventID']===_0x73852e['SHOULD_CLOSE_CONN']),_0x10b628(this[_0x4d7136(0x2a4)]))[_0x4d7136(0x126)](_0x3b71d2=>{var _0x451db6=_0x4d7136;const _0x86a2e7=_0x3b71d2,{reason:_0x24e874}=_0x86a2e7[_0x451db6(0x1d7)];this[_0x451db6(0x140)]['emitEvent']({'id':se[_0x451db6(0x2dd)],'data':_0x24e874}),this['_permissionService'][_0x451db6(0x149)](new _0x503202(_0x40dd19)['id'],!0x1),this[_0x451db6(0x226)][_0x451db6(0xe4)](_0x40dd19);});};_0x55a414(this[_0x1d91e3(0x102)][_0x1d91e3(0x12e)](_0x5ef5ec[_0x1d91e3(0x121)]),this[_0x1d91e3(0x102)][_0x1d91e3(0x12e)](_0x5ef5ec[_0x1d91e3(0x156)]))[_0x1d91e3(0x285)](_0x5b9215(_0x852c50=>_0x852c50[_0x1d91e3(0x208)]()),_0x182afb(_0x3f8ebe=>!_0x3a71b0(_0x3f8ebe)),_0x10b628(this[_0x1d91e3(0x2a4)]))[_0x1d91e3(0x126)](_0xd0ab7d=>{_0x4e9538(_0xd0ab7d);});}['_initUnitPermissionChange'](){var _0x907247=_0x4d673f;const _0x3bed22=async _0x37db9f=>{var _0x4e257d=_0x1e69;const _0x38c5f7=await this['_collaborationSessionService'][_0x4e257d(0x36e)](_0x37db9f),_0xbaf451=this[_0x4e257d(0x247)][_0x4e257d(0x2af)](_0x4e8b59);_0x38c5f7['event$'][_0x4e257d(0x285)](_0x182afb(_0x1f9ffb=>_0x1f9ffb[_0x4e257d(0xac)]===_0x73852e['UPDATE_PERMISSION_OBJ']),_0x10b628(this[_0x4e257d(0x2a4)]))[_0x4e257d(0x126)](_0xca679=>{var _0x34c1a9=_0x4e257d;const _0xcaa954=_0xca679,{objectId:_0x4095ce}=_0xcaa954[_0x34c1a9(0x1d7)];_0x4095ce===_0x37db9f?_0xbaf451['initWorkbookPermissionChange'](_0x37db9f):_0xbaf451['refreshPermission'](_0x37db9f,_0x4095ce);});};_0x55a414(this['_univerInstanceService'][_0x907247(0x12e)](_0x5ef5ec['UNIVER_SHEET']),this[_0x907247(0x102)]['getTypeOfUnitAdded$'](_0x5ef5ec[_0x907247(0x156)]))['pipe'](_0x5b9215(_0x46a4fe=>_0x46a4fe[_0x907247(0x208)]()),_0x182afb(_0x5979ee=>!_0x3a71b0(_0x5979ee)),_0x10b628(this[_0x907247(0x2a4)]))[_0x907247(0x126)](_0xfb33f5=>{_0x3bed22(_0xfb33f5);});}};at=ws([Se(0x0,_0x4513f6(_0x59bc83)),Se(0x1,_0x5050f9),Se(0x2,_0x104623),Se(0x3,_0x4513f6(Le)),Se(0x4,_0x4513f6(pe)),Se(0x5,_0x12afe5),Se(0x6,_0x21d350)],at);var Us=Object[_0x4d673f(0x158)],As=Object['getOwnPropertyDescriptor'],xs=(_0x4fa8b8,_0x749fff,_0x3328d0,_0x45c8d1)=>{for(var _0x2728ba=_0x45c8d1>0x1?void 0x0:_0x45c8d1?As(_0x749fff,_0x3328d0):_0x749fff,_0x56fbf4=_0x4fa8b8['length']-0x1,_0x209141;_0x56fbf4>=0x0;_0x56fbf4--)(_0x209141=_0x4fa8b8[_0x56fbf4])&&(_0x2728ba=(_0x45c8d1?_0x209141(_0x749fff,_0x3328d0,_0x2728ba):_0x209141(_0x2728ba))||_0x2728ba);return _0x45c8d1&&_0x2728ba&&Us(_0x749fff,_0x3328d0,_0x2728ba),_0x2728ba;},li=(_0x35d728,_0x31aa62)=>(_0x440f28,_0x4043ff)=>_0x31aa62(_0x440f28,_0x4043ff,_0x35d728);let Dt=class{constructor(_0x3853a7,_0x104897){var _0x5806fb=_0x4d673f;this[_0x5806fb(0x2b0)]=_0x3853a7,this[_0x5806fb(0x2b4)]=_0x104897;}async['getUnitOnRev'](_0x338768,_0x1ba3e1){var _0x4590ff=_0x4d673f,_0xcc661f;const {unitID:_0x48ab6d,type:_0x166626,revision:_0x242bb6=0x0}=_0x1ba3e1,_0x30f2e7=this[_0x4590ff(0x1b8)]()+'/'+_0x166626+'/unit/'+_0x48ab6d+_0x4590ff(0x351)+_0x242bb6,_0x10215e=(await this[_0x4590ff(0x2b4)][_0x4590ff(0x2af)](_0x30f2e7))[_0x4590ff(0x296)],_0x3002fe=(_0xcc661f=_0x10215e[_0x4590ff(0x20b)])==null?void 0x0:_0xcc661f['workbook'];if(_0x3002fe){const _0x3d19f2=_0x3002fe==null?void 0x0:_0x3002fe['originalMeta'],_0x36dc87=_0x496718[_0x4590ff(0x321)](_0xeb4576(_0x3d19f2));_0x3002fe['originalMeta']=_0x36dc87,Object[_0x4590ff(0x1f1)](_0x3002fe[_0x4590ff(0x175)])[_0x4590ff(0x22b)](([,_0x9293e])=>{var _0xca2820=_0x4590ff;const _0x974f4f=_0x9293e[_0xca2820(0x16d)],_0x5b2b61=_0x496718['encode'](_0xeb4576(_0x974f4f));_0x9293e['originalMeta']=_0x5b2b61;});}return _0x10215e;}async['getSheetBlock'](_0x2c3ec0,_0x719ff4){var _0x402120=_0x4d673f;const {unitID:_0x1bab0b,type:_0x43ce41,blockID:_0x57e88b}=_0x719ff4,_0x263611=this[_0x402120(0x297)]()+'/'+_0x43ce41+_0x402120(0x373)+_0x1bab0b+_0x402120(0xa6)+_0x57e88b;return(await this[_0x402120(0x2b4)]['get'](_0x263611))[_0x402120(0x296)];}async['getDeserializedSheetBlock'](_0x23ad11,_0x132876){var _0x344c24=_0x4d673f;const {unitID:_0x36a9e2,type:_0x36a339,blockID:_0x222228}=_0x132876,_0x339da2=this[_0x344c24(0x297)]()+'/block/'+_0x36a339+_0x344c24(0x373)+_0x36a9e2+_0x344c24(0xa6)+_0x222228;return(await this['_httpService'][_0x344c24(0x2af)](_0x339da2))[_0x344c24(0x296)];}async[_0x4d673f(0x24d)](_0x37d715,_0x2d9cf6){var _0x591148=_0x4d673f;const {unitID:_0xeab324,type:_0x4e1ecf,from:_0x31c5f1,to:_0x5eb4c2}=_0x2d9cf6,_0x1c074d=this[_0x591148(0x297)]()+'/'+_0x4e1ecf+_0x591148(0x373)+_0xeab324+_0x591148(0x2ed)+_0x31c5f1+_0x591148(0x2a0)+_0x5eb4c2;return(await this[_0x591148(0x2b4)][_0x591148(0x2af)](_0x1c074d))[_0x591148(0x296)];}['getSnapshotAPIPath'](){var _0x10ef90=_0x4d673f,_0x224ba4;return(_0x224ba4=this[_0x10ef90(0x2b0)][_0x10ef90(0x2d8)](Tn))!=null?_0x224ba4:this['_getAPIPrefix']();}[_0x4d673f(0x297)](){var _0xe76623=_0x4d673f,_0x490ac1,_0x347d58;const _0x17d0ca=this['_configService']['getConfig'](En),_0x4eb3b0=this['_configService'][_0xe76623(0x2d8)](q);return(_0x347d58=(_0x490ac1=_0x4eb3b0==null?void 0x0:_0x4eb3b0['snapshotServerUrl'])!=null?_0x490ac1:_0x17d0ca)!=null?_0x347d58:In;}async['getResourcesRequest'](_0xc9b557,_0x5d4d02){var _0x128ffe=_0x4d673f;const _0x4b9e5a='/universer-api/snapshot/'+_0x5d4d02['type']+_0x128ffe(0x373)+_0x5d4d02[_0x128ffe(0x142)]+_0x128ffe(0x36f);return(await this[_0x128ffe(0x2b4)][_0x128ffe(0x2af)](_0x4b9e5a,{'params':{'resourceId':JSON[_0x128ffe(0x236)](_0x5d4d02[_0x128ffe(0x2ea)])}}))[_0x128ffe(0x296)];}[_0x4d673f(0x28a)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x4d673f(0x232)](){var _0x38a28e=_0x4d673f;throw new Error(_0x38a28e(0x2c0));}[_0x4d673f(0x2a2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['copyFileMeta'](){var _0x3fbfe2=_0x4d673f;throw new Error(_0x3fbfe2(0x2c0));}['getLatestCsReqIdBySid'](){var _0x52ca4f=_0x4d673f;throw new Error(_0x52ca4f(0x2c0));}};Dt=xs([li(0x0,_0x50d966),li(0x1,_0x4513f6(_0x4b98ea))],Dt);var Ls=Object[_0x4d673f(0x158)],Ms=Object[_0x4d673f(0x37a)],$s=(_0x3271b3,_0x558520,_0x5521ce,_0x3108c8)=>{for(var _0x2a4ee5=_0x3108c8>0x1?void 0x0:_0x3108c8?Ms(_0x558520,_0x5521ce):_0x558520,_0x33618a=_0x3271b3['length']-0x1,_0xb417b1;_0x33618a>=0x0;_0x33618a--)(_0xb417b1=_0x3271b3[_0x33618a])&&(_0x2a4ee5=(_0x3108c8?_0xb417b1(_0x558520,_0x5521ce,_0x2a4ee5):_0xb417b1(_0x2a4ee5))||_0x2a4ee5);return _0x3108c8&&_0x2a4ee5&&Ls(_0x558520,_0x5521ce,_0x2a4ee5),_0x2a4ee5;},Ae=(_0x445a9b,_0x200f11)=>(_0x2c04c2,_0x3e01da)=>_0x200f11(_0x2c04c2,_0x3e01da,_0x445a9b);let Pt=class extends _0x298346{constructor(_0x39ba25,_0xbf971,_0x3f209a,_0x28e4b0,_0x2188a4){var _0x19f697=_0x4d673f;super(_0x39ba25,_0xbf971,_0x3f209a),this[_0x19f697(0xab)]=_0x28e4b0,this['_logService']=_0x2188a4;}[_0x4d673f(0x369)](_0x915c23,_0x28ff89){var _0x1b47e5=_0x4d673f;const _0x15badd=this[_0x1b47e5(0x371)](_0x915c23);if(_0x15badd)try{const _0x16bac1=this[_0x1b47e5(0x1ee)](_0x15badd,_0x28ff89);this['_substituteUndoStack'](_0x915c23,_0x16bac1);}catch(_0x13be37){this[_0x1b47e5(0x306)][_0x1b47e5(0x32c)](_0x1b47e5(0x209),_0x13be37),this[_0x1b47e5(0x1d9)](_0x915c23);}const _0x21849f=this[_0x1b47e5(0x127)](_0x915c23);if(_0x21849f)try{const _0x3833a3=this[_0x1b47e5(0x1ee)](_0x21849f,_0x28ff89);this[_0x1b47e5(0x2fb)](_0x915c23,_0x3833a3);}catch(_0x1a8192){this[_0x1b47e5(0x306)][_0x1b47e5(0x32c)](_0x1a8192),this['_clearRedo'](_0x915c23);}}[_0x4d673f(0x1d9)](_0x315a3c){var _0x8f12cb=_0x4d673f;const _0x6c3bc=this[_0x8f12cb(0x371)](_0x315a3c);_0x6c3bc&&(_0x6c3bc['length']=0x0,this[_0x8f12cb(0x244)]());}[_0x4d673f(0x2f9)](_0x31a2a8){var _0x3cbe39=_0x4d673f;const _0x451921=this[_0x3cbe39(0x127)](_0x31a2a8);_0x451921&&(_0x451921[_0x3cbe39(0xf8)]=0x0,this[_0x3cbe39(0x244)]());}[_0x4d673f(0x231)](_0x31a528,_0x4bf9e5){var _0x214857=_0x4d673f;this['_undoStacks'][_0x214857(0x190)](_0x31a528,_0x4bf9e5),this[_0x214857(0x244)]();}[_0x4d673f(0x2fb)](_0x5824bc,_0x1917e4){var _0x501149=_0x4d673f;this[_0x501149(0x303)][_0x501149(0x190)](_0x5824bc,_0x1917e4),this[_0x501149(0x244)]();}[_0x4d673f(0x1ee)](_0x201e75,_0x2e299c){var _0x35f107=_0x4d673f;const _0x5218f2=[];let _0x5d961f=_0x2e299c,_0x4b770b=_0x2e299c;for(let _0x177a13=_0x201e75['length']-0x1;_0x177a13>=0x0;_0x177a13--){const {unitID:_0x4197ae,undoMutations:_0x37d628,redoMutations:_0x245acd}=_0x201e75[_0x177a13],_0x4388f2=this[_0x35f107(0xab)][_0x35f107(0x19a)](_0x5d961f,_0x37d628),_0x1071e4=this[_0x35f107(0xab)][_0x35f107(0x19a)](_0x4b770b,_0x245acd);if(_0x5458f6(_0x4388f2)||_0x5458f6(_0x1071e4)){this['_logService'][_0x35f107(0x32c)](_0x35f107(0x209),_0x35f107(0x165),_0x4388f2,_0x1071e4);break;}_0x5d961f=_0x4388f2[_0x35f107(0x1c3)],_0x4b770b=_0x1071e4[_0x35f107(0x1c3)],_0x5218f2[_0x35f107(0x1a2)]({'unitID':_0x4197ae,'undoMutations':_0x4388f2[_0x35f107(0xea)],'redoMutations':_0x1071e4[_0x35f107(0xea)]});}return _0x5218f2[_0x35f107(0x141)]();}};Pt=$s([Ae(0x0,_0x5050f9),Ae(0x1,_0x390090),Ae(0x2,_0x3502aa),Ae(0x3,_0x2b2aaf),Ae(0x4,_0x4ea18a)],Pt);var xi=Object[_0x4d673f(0x158)],Hs=Object['getOwnPropertyDescriptor'],ks=(_0x5cae32,_0x5c4841,_0x283283)=>_0x5c4841 in _0x5cae32?xi(_0x5cae32,_0x5c4841,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x283283}):_0x5cae32[_0x5c4841]=_0x283283,js=(_0x264347,_0x2a7cd4,_0x320bbb,_0xac863c)=>{var _0x3d81ce=_0x4d673f;for(var _0x4fed39=_0xac863c>0x1?void 0x0:_0xac863c?Hs(_0x2a7cd4,_0x320bbb):_0x2a7cd4,_0x53f339=_0x264347[_0x3d81ce(0xf8)]-0x1,_0x10f88e;_0x53f339>=0x0;_0x53f339--)(_0x10f88e=_0x264347[_0x53f339])&&(_0x4fed39=(_0xac863c?_0x10f88e(_0x2a7cd4,_0x320bbb,_0x4fed39):_0x10f88e(_0x4fed39))||_0x4fed39);return _0xac863c&&_0x4fed39&&xi(_0x2a7cd4,_0x320bbb,_0x4fed39),_0x4fed39;},St=(_0x506683,_0x25bf9d)=>(_0x105a71,_0x58b24a)=>_0x25bf9d(_0x105a71,_0x58b24a,_0x506683),Bs=(_0x263b04,_0x3ebd2a,_0xf126cf)=>ks(_0x263b04,_0x3ebd2a+'',_0xf126cf);const Fs=_0x4d673f(0x9d);let wt=class extends _0xf09826{constructor(_0x227cc8=Wt,_0x2e81b0,_0x55a715,_0x225686){var _0x547cda=_0x4d673f;super(),this[_0x547cda(0x2fe)]=_0x227cc8,this[_0x547cda(0x306)]=_0x2e81b0,this[_0x547cda(0x247)]=_0x55a715,this[_0x547cda(0x2b0)]=_0x225686;const {..._0x4e7279}=_0x30fa33({},Wt,this[_0x547cda(0x2fe)]);this[_0x547cda(0x2b0)][_0x547cda(0x241)](q,_0x4e7279);}['onStarting'](){var _0x177807=_0x4d673f;this[_0x177807(0x28f)](),this[_0x177807(0x1c0)]();}[_0x4d673f(0x28f)](){var _0x690f01=_0x4d673f,_0x2d53f9,_0x307b8b,_0x5c38f3,_0x24e5fd;this[_0x690f01(0x247)]['has'](_0x21d350)&&this[_0x690f01(0x306)][_0x690f01(0x32c)]('[UniverCollaborationClientPlugin]',_0x690f01(0x272));const _0x90bd14=_0x1273d5([[_0x21d350,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x307b8b=(_0x2d53f9=this[_0x690f01(0x2fe)])==null?void 0x0:_0x2d53f9[_0x690f01(0xca)])!=null?_0x307b8b:Et}],[_0x14ff5d,{'useClass':Dt}],[_0x12afe5,{'useClass':bt}],[_0x22b061,{'useClass':yt}],[_0x5ea9c0,{'useClass':Nt}],[rt],[Rt]],(_0x5c38f3=this[_0x690f01(0x2fe)])==null?void 0x0:_0x5c38f3['override']);if(!((_0x24e5fd=this['_config'])!=null&&_0x24e5fd['enableSingleActiveInstanceLock'])){const _0x33ff9b=_0x90bd14[_0x690f01(0x98)](([_0x4e124c])=>_0x4e124c===ht);_0x33ff9b!==-0x1&&_0x90bd14[_0x690f01(0x30f)](_0x33ff9b,0x1);}_0x256eac(this['_injector'],_0x90bd14);}[_0x4d673f(0x1c0)](){var _0x4cb59c=_0x4d673f,_0x24c2c4,_0x21203e,_0x7b4665;this[_0x4cb59c(0x247)][_0x4cb59c(0x2af)](_0x4b98ea)[_0x4cb59c(0xee)]({'priority':0x14,'interceptor':_0x47a72c({'maxParallel':0x6})}),(_0x24c2c4=this[_0x4cb59c(0x2fe)])!=null&&_0x24c2c4[_0x4cb59c(0x234)]||(_0x21203e=this[_0x4cb59c(0x247)][_0x4cb59c(0x2af)](J,_0x325195[_0x4cb59c(0x24c)]))==null||_0x21203e[_0x4cb59c(0x1a9)](),(_0x7b4665=this[_0x4cb59c(0x2fe)])!=null&&_0x7b4665['enableAuthServer']&&_0x373e81(this[_0x4cb59c(0x247)],[[st]]),_0x373e81(this[_0x4cb59c(0x247)],[[ot],[rt],[at]]);}};Bs(wt,_0x4d673f(0x223),Fs),wt=js([_0x301e2c(_0x5a0a97,_0x2ae8bd,_0x367449),St(0x1,_0x4ea18a),St(0x2,_0x4513f6(_0x59bc83)),St(0x3,_0x50d966)],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 _0x14b308=_0x2c62;(function(_0x49cf02,_0x590e01){var _0xe3f466=_0x2c62,_0x4db112=_0x49cf02();while(!![]){try{var _0x132dc0=-parseInt(_0xe3f466(0x36a))/0x1+parseInt(_0xe3f466(0x23f))/0x2+parseInt(_0xe3f466(0x339))/0x3+-parseInt(_0xe3f466(0x3c7))/0x4+parseInt(_0xe3f466(0x2bc))/0x5+parseInt(_0xe3f466(0x3cb))/0x6+parseInt(_0xe3f466(0x46e))/0x7*(parseInt(_0xe3f466(0x35f))/0x8);if(_0x132dc0===_0x590e01)break;else _0x4db112['push'](_0x4db112['shift']());}catch(_0x1f20b4){_0x4db112['push'](_0x4db112['shift']());}}}(_0x3bf7,0x9559c));var Li=Object[_0x14b308(0x380)],Mi=(_0x43f3a1,_0x7f1c11,_0x4f3938)=>_0x7f1c11 in _0x43f3a1?Li(_0x43f3a1,_0x7f1c11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f3938}):_0x43f3a1[_0x7f1c11]=_0x4f3938,N=(_0x1e5170,_0x46c13c,_0x1bd983)=>Mi(_0x1e5170,typeof _0x46c13c!=_0x14b308(0x348)?_0x46c13c+'':_0x46c13c,_0x1bd983);import{createIdentifier as _0x27af32,Inject as _0x2a95eb,Injector as _0x2adb1c,Disposable as _0xe669e4,DisposableCollection as _0x43c915,toDisposable as _0x1d3129,IConfigService as _0x4d8cf7,ILogService as _0x18544f,UserManagerService as _0x27e31e,UniverInstanceType as _0x5ec79f,IUniverInstanceService as _0x1c283b,LocaleService as _0x53b65d,Optional as _0x13d7ff,RxDisposable as _0x4d8d70,Tools as _0x362cab,Rectangle as _0x4ac573,ICommandService as _0x5d3dab,JSONX as _0x56c6db,CommandType as _0x4dbc63,IPermissionService as _0x395e94,IUndoRedoService as _0x430efd,sequenceExecute as _0x3186f7,Workbook as _0x5391c7,MentionType as _0x56d895,IAuthzIoService as _0x2eafb0,isInternalEditorID as _0x468883,LocalUndoRedoService as _0x46e4b6,IContextService as _0x338512,DependentOn as _0x4ac376,Plugin as _0x3e1d27,merge as _0x2c6887,mergeOverrideWithDependencies as _0x414324,IMentionIOService as _0x7586af,registerDependencies as _0x546950,Quantity as _0x451610,touchDependencies as _0x1e3882}from'@univerjs/core';import{Subject as _0x3b448b,merge as _0xbe5135,of as _0x4dc369,BehaviorSubject as _0x937a61,takeUntil as _0x5a53d4,ReplaySubject as _0x1475ff,take as _0x6b16a2,map as _0x12d25c,shareReplay as _0x819fe2,firstValueFrom as _0x479372,concatMap as _0x3a4637}from'rxjs';import{map as _0x232a83,take as _0x3e8684,filter as _0x12e18b,delay as _0x47bee8,takeUntil as _0x25a3f5}from'rxjs/operators';import{HTTPService as _0x17dca8,ISocketService as _0x1c9ac7,MergeInterceptorFactory as _0x4625e0,HTTPRequest as _0x203390,UniverNetworkPlugin as _0x42bc5e,ThresholdInterceptorFactory as _0x1385e8}from'@univerjs/network';import{CollaborationEvent as _0x1a2e08,parseChangesetToProtocol as _0x16e2ee,ISnapshotServerService as _0xe994e7,isTransformMutationsWithChangesetSuccess as _0x2775a2,ITransformService as _0x25af2a,mapDocumentTypeToUniverType as _0x549f1e,RevisionService as _0x4a6cda,isTransformChangesetsSuccess as _0x5f5db1,CompressMutationService as _0x1f145d,parseProtocolChangeset as _0x54eb44,SnapshotService as _0x2f599f,textEncoder as _0x16b713,b64DecodeUnicode as _0x1f6fa4,isTransformMutationsWithChangesetFailure as _0x3cd2ef,UniverCollaborationPlugin as _0x15b02c}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x4ed67c}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x598b9e}from'@univerjs/docs';import{SheetsSelectionsService as _0x10ddf3,SetSelectionsOperation as _0x45ce61,InsertSheetMutation as _0x254dee,EmptyMutation as _0x1e5cd4,WorkbookEditablePermission as _0x1c3be3,SheetPermissionInitController as _0xdb50ea,UniverSheetsPlugin as _0x5c1592}from'@univerjs/sheets';import{ImageSourceType as _0x669060,ImageUploadStatusType as _0x19d6bf,IImageIoService as _0x4cfaf4}from'@univerjs/drawing';import{getGlobalObject as _0x55cf3a}from'@univerjs-pro/license';const En='SNAPSHOT_SERVER_URL_KEY',In=_0x14b308(0x2b0),Tn='SNAPSHOT_URL_KEY',eo=_0x14b308(0x226),Cn=0x7d0,Rn=_0x14b308(0x452),bn=_0x14b308(0x40c),On=_0x14b308(0x419),yn=_0x14b308(0x27c),Nn=0x7530,Si=_0x14b308(0x342),Ei=0x4e20,Dn=0x4e20,Pn=_0x14b308(0x3e9),wn=0x3,to=_0x14b308(0x3f7),io=0x3e8,Un=_0x14b308(0x350),An=_0x14b308(0x377),xn='LOGIN_URL_KEY',Ln=_0x14b308(0x475),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x14b308(0x433);var Ii=(_0xe37457=>(_0xe37457[_0xe37457[_0x14b308(0x2d4)]=0x0]=_0x14b308(0x2d4),_0xe37457[_0xe37457['OK']=0x1]='OK',_0xe37457[_0xe37457[_0x14b308(0x2bf)]=0x2]=_0x14b308(0x2bf),_0xe37457[_0xe37457['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0xe37457[_0xe37457[_0x14b308(0x1aa)]=0x4]='NOT_FOUND',_0xe37457[_0xe37457[_0x14b308(0x2b5)]=0x5]='UNAUTHENTICATED',_0xe37457[_0xe37457['ALREADY_EXISTS']=0x6]=_0x14b308(0x461),_0xe37457[_0xe37457[_0x14b308(0x291)]=0x7]=_0x14b308(0x291),_0xe37457[_0xe37457[_0x14b308(0x248)]=0x8]=_0x14b308(0x248),_0xe37457[_0xe37457[_0x14b308(0x41f)]=0x9]=_0x14b308(0x41f),_0xe37457[_0xe37457[_0x14b308(0x1e6)]=0x1389]=_0x14b308(0x1e6),_0xe37457[_0xe37457['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x14b308(0x440),_0xe37457[_0xe37457[_0x14b308(0x26a)]=0x1772]=_0x14b308(0x26a),_0xe37457[_0xe37457[_0x14b308(0x31c)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xe37457[_0xe37457[_0x14b308(0x243)]=0x1b59]=_0x14b308(0x243),_0xe37457[_0xe37457['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x14b308(0x337),_0xe37457[_0xe37457[_0x14b308(0x394)]=0x1b5b]=_0x14b308(0x394),_0xe37457[_0xe37457[_0x14b308(0x421)]=0x1b5c]=_0x14b308(0x421),_0xe37457[_0xe37457[_0x14b308(0x3d7)]=0x1b5d]=_0x14b308(0x3d7),_0xe37457[_0xe37457[_0x14b308(0x345)]=0x1f41]=_0x14b308(0x345),_0xe37457[_0xe37457[_0x14b308(0x384)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xe37457[_0xe37457[_0x14b308(0x45f)]=0x232a]=_0x14b308(0x45f),_0xe37457[_0xe37457['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x14b308(0x390),_0xe37457[_0xe37457[_0x14b308(0x2ea)]=0x232c]=_0x14b308(0x2ea),_0xe37457[_0xe37457['LICENSE_DISTRO_REJECTED']=0x232d]=_0x14b308(0x2f8),_0xe37457[_0xe37457['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x14b308(0x28d),_0xe37457[_0xe37457[_0x14b308(0x36d)]=0x2712]=_0x14b308(0x36d),_0xe37457[_0xe37457[_0x14b308(0x34f)]=0x2713]=_0x14b308(0x34f),_0xe37457[_0xe37457[_0x14b308(0x1fd)]=0x2714]=_0x14b308(0x1fd),_0xe37457[_0xe37457[_0x14b308(0x37b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xe37457[_0xe37457[_0x14b308(0x492)]=-0x1]=_0x14b308(0x492),_0xe37457))(Ii||{}),Q=(_0x44f1ab=>(_0x44f1ab[_0x44f1ab[_0x14b308(0x420)]=0x0]=_0x14b308(0x420),_0x44f1ab[_0x44f1ab[_0x14b308(0x42a)]=0x1]='UNIVER_DOC',_0x44f1ab[_0x44f1ab['UNIVER_SHEET']=0x2]='UNIVER_SHEET',_0x44f1ab[_0x44f1ab[_0x14b308(0x437)]=0x3]=_0x14b308(0x437),_0x44f1ab[_0x44f1ab[_0x14b308(0x39b)]=0x4]='UNIVER_PROJECT',_0x44f1ab[_0x44f1ab[_0x14b308(0x492)]=-0x1]=_0x14b308(0x492),_0x44f1ab))(Q||{}),F=(_0x1e3236=>(_0x1e3236[_0x1e3236[_0x14b308(0x408)]=0x0]=_0x14b308(0x408),_0x1e3236[_0x1e3236[_0x14b308(0x295)]=0x1]=_0x14b308(0x295),_0x1e3236[_0x1e3236[_0x14b308(0x1b9)]=0x2]=_0x14b308(0x1b9),_0x1e3236[_0x1e3236['LEAVE']=0x3]=_0x14b308(0x34c),_0x1e3236[_0x1e3236[_0x14b308(0x391)]=0x4]='INGEST',_0x1e3236[_0x1e3236['HEARTBEAT']=0x5]='HEARTBEAT',_0x1e3236[_0x1e3236[_0x14b308(0x1f3)]=0x6]='RECV',_0x1e3236[_0x1e3236[_0x14b308(0x492)]=-0x1]=_0x14b308(0x492),_0x1e3236))(F||{}),Ee=(_0x52b193=>(_0x52b193[_0x52b193[_0x14b308(0x3d1)]=0x0]=_0x14b308(0x3d1),_0x52b193[_0x52b193['OK']=0x1]='OK',_0x52b193[_0x52b193[_0x14b308(0x1f5)]=0x2]=_0x14b308(0x1f5),_0x52b193[_0x52b193[_0x14b308(0x19a)]=0x3e9]='JOIN_ROOM_FULL',_0x52b193[_0x52b193[_0x14b308(0x200)]=0x3ea]=_0x14b308(0x200),_0x52b193[_0x52b193[_0x14b308(0x436)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x52b193[_0x52b193[_0x14b308(0x1af)]=0x3ec]=_0x14b308(0x1af),_0x52b193[_0x52b193['UNRECOGNIZED']=-0x1]=_0x14b308(0x492),_0x52b193))(Ee||{}),Ti=(_0x383228=>(_0x383228[_0x383228[_0x14b308(0x483)]=0x0]=_0x14b308(0x483),_0x383228[_0x383228[_0x14b308(0x33f)]=0x1]=_0x14b308(0x33f),_0x383228[_0x383228[_0x14b308(0x480)]=0x2]=_0x14b308(0x480),_0x383228[_0x383228[_0x14b308(0x25c)]=0x3]=_0x14b308(0x25c),_0x383228[_0x383228[_0x14b308(0x2ab)]=0x4]=_0x14b308(0x2ab),_0x383228[_0x383228['UNRECOGNIZED']=-0x1]=_0x14b308(0x492),_0x383228))(Ti||{});function _0x3bf7(){var _0x2ab919=['Cipher','transformStack\x20failed!','/universer-api/comb','onRemoteRetry','_getAPIPrefixPath','catch','PY_RUNTIME_SCRIPT_ERROR','dispose$','_redoStacks','replace','_commentService','defineProperty','$super','createInstance','_sheetTransformSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','routeKey','open$','_createSocket','_loadDoc','_append','init','awaiting','_collaborationUIEventService','LIVESHARE_OPERATION','UPDATE_CURSOR','USERS_LEAVE','LICENSE_IMPORT_SIZE_EXCEEDED','INGEST','unsubscribe','registerHTTPInterceptor','APPLY_REVISION_CONFILICT','liveShareNewHost','_listenToNetworkCondition','onMissingChangesets','collaborators','objects','_onRemoteACK','UNIVER_PROJECT','_handlerCallback','_univerInstanceService','Decryptor','onStarting','_scheduleCollaborationTimeoutTimer','sid','_entityInit$','collaMsg','saveChangeset','send','SOCKET_FAILED_RETRY','_unitID','_toggleOnline','JOINING','_status$','collaboration-client.config','fetchMissingChangesets','execute','loadSheet','Malformed\x20UTF-8\x20data','PERSON','decryptBlock','newCsEvent','_socket','setShowComponents','clear','floor','socket\x20open.','finalize','_tryReconnect','randomBytes','session','userID','joinRsp','failed\x20to\x20apply\x20missed\x20changesets!','/universer-api/snapshot/','_collaborationSessionService','_doProcessBlock','unitId','copyFileMeta','BlockCipherMode','random','appendMutation','4717112qLRzdA','rev','status$','params','4194300GRiqgW','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','awaitingChangeset','_commentUpdate$','_removeRoom','encode','UNKNOWN_CODE','NEW_CHANGESETS','_sendingTimer','m2Prime','putCollaborators','_hasher','APPLY_DUPLICATED','join','application/json','allowed','updateCollaborator','getInterceptPoints','_scheduleCompleteTimestamp','_sender','getTypeOfUnitDisposed$','memberID','members$','LIVESHARE_NEW_HOST','_collaborationTimeoutTimer','_snapshotService','onload','c1Prime','getValue','isPermissionRej','RETRY_CONNECTING_MAX_COUNT','PSEUDO_FETCH_MISSING_RESULT','\x0aAfter:\x20','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','save\x20fail\x20reason\x20is\x20','_changesetSessionId','PENDING','[CollaborationSessionService]:\x20socket\x20error','data','reqId','textRanges','LIVESHARE_REQUEST_HOST','_createInitialState','FETCH_MISSING','LOCAL_CACHE_INTERVAL','_waitCount','_telemetryService','event$','getFocusedUnit','collabWebSocketUrl','NO_OTHER_CLIENTS_EDITING','salt','toString','[FetchMissState]','toggleOnline','_clearHeartbeatTimer','_incrementRevisionNumber','apply','code','onTransformRemoteChangesetByStateCache','stopTime','UNKNOWN_CMD','&source=','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','SUBMIT_CHANGESET','ws://127.0.0.1:8000/universer-api/comb/connect','synced','POST','bind','set','_syncEditingCollabCursor','file','_transformRemoteChangesetByStateCache','ERROR_IMAGE','reset','_throwTelemetryCollaborationNewChangeset','_substituteRedoStack','_isPermissionRej','/universer-api/user/session-ticket','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','saveSnapshot','prototype','JOIN_ROOM_FAILED','Base64','COMPLETION_FINISHED','UNIVER_UNKNOWN','APPLY_PERMISSION_DENIED','ceil','find','_initMergeInterceptor','snapshot','online$','_configService','result','generateRandomId','UNIVER_DOC','compose','revision','CBC','getTime','shouldCloseConn','FileId','fromCollab','[PendingState]:\x20received\x20acknowledgement.','/universer-api/uniscript','[OfflineState]:\x20received\x20rejection.','OTHER_CLIENT_EDITING','JOIN_ROOM_PERMISSION_DENIED','UNIVER_SLIDE','href','encrypt','_transformSelections','CipherParams','roomInfos','wsSessionTicketUrl','rng','transformMutationsWithChangeset','SNAPSHOT_INVALID_SNAPSHOT','_onConflict','OpenSSL','originalMeta','key','_singleActiveUnitService','_checkMissing','fetch_missing','processBlock','transformSelections','runId','CHANGESET_REJ','_socket$','capture','telemetry\x20info\x20is\x20not\x20initialized','splice','enableOfflineEditing','[PendingState]:\x20unhandled\x20univer\x20type:\x20','COLLAB_WEB_SOCKET_URL','initWorkbookPermissionChange','editing\x20status\x20changed\x20to','charCodeAt','_logService','unitID','_transformUndoredo','loadOfflineData','unit-cache-','_type','getConfig','map','[CollaborationUndoRedoService]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_revisionService','ALREADY_EXISTS','entityInit$','asObservable','_createSocketURL','_clearUndo','_registerDependencies','debug','createSocket','length','_changesetReqId','_nDataBytes','ivSize','_onConnectionFailed','7klRLeS','extend','CONFLICT','call','_updateState','[CollaborationSessionService]','_hash','/universer-api/oidc/authpage','_state$','resolve','MD5','delete','error','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','mixIn','onTransformIME','getUnitType','actions','HttpExport','_createInitialStateImpl','disableLocalCache','Undefined','\x20-\x20','_socketMessageSubscription','_onOffline','listRoles','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_keySchedule','crypto','session.room-permission-denied','cmd','encryptBlock','socketService','localCacheService','_getAPIPrefix','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','UNRECOGNIZED','_httpService','searchParams','src','Utf8','_nRounds','getOwnPropertyDescriptor','\x20in\x20_schedule.','confirm','x-univer-host','requestParams','CHANGESET_ACK','JOIN_ROOM_FULL','AUTHZ_URL_KEY','_loadSheet','onCommandExecuted','createCollaborator','conflict','_doReset','setWaitCount','type','slice','getResourcesRequest','_retryCount','removeMember','/collaborator','_getSendChangesetTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','NOT_FOUND','blockSize','COMPRESS_MUTATION_APPLY','HEARTBEAT','CLOSE_ROOM','GLOBAL_ROOMS_CNT_EXCEEDS','setConfig','_resendTimeout','AES','commentUpdateEvent','c2Prime','clamp','_awaitingChangeset','_roomCreated$','ticket','JOIN','getCurrentUser','uploadFileServerUrl','_initDependencies','getMemberID','fetchThroughInterceptors','_emitMembers','retryConnectingInterval','SOCKET_FAILED','_queuedRemoteChangesets','pending','_transformIMECache','_onJoinRoomEvent','location','focused$','_replaceFileID','_memberService','substr','resend','get','readInt32LE','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_getUploadFileURL','function','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','size','_onRemoteChangeset','/rev/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_data','editingUnit','_shouldReportTelemetry','fromCharCode','collaboratorID','post','lib','_createHmacHelper','_toggleOffline','_sendHeartbeat','_cipher','_replayCachedMutations','UNISCRIPT_RUN','_mode','onCommentUpdate','_fetchMissChangesets','CHANGESET_REVISION_CONFILICT','getSheetId','fetchMiss','parse','stringify','string','members','onSyncEditingCollabCursor','_minBufferSize','incrementRevOfUnit','/object/','_onMessage','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','RECV','_resendWithTimeout','FAIL','_clearRedo','_reverseMap','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','univer-pro.collaboration-client-socket-service','updateMember','_process','cfg','YUUMI_SUBSCRIPTION_NOT_FOUND','BlockCipher','?url=','JOIN_ROOM_NOT_EXISTS','origin','pad','_disableEditing','_clearLocalCache','range','_retryConnectingTimer','avatar','_transformRemoteChangesetByIMECache','encodeURIComponent','reduce','objectID','univer-pro.collaboration-client.single-active-unit-service','_showConflictNotification','_unlockTransition','_localCacheService','__creator','getMember','ERROR_EXCEED_SIZE','_rescheduleHeartbeat','_onUserJoin','[SyncedState]:\x20received\x20acknowledgement.','_submitChangeset','list','loadDoc','url','_authzIoService','updateCursorEvent','[CollaborationState]:\x20apply\x20error!','onlyLocal','session.join-failed','getCurrentSelections','_xformMode','SYNCED','getWorkbookSelections','_undoRedoService','collaboration_new_changeset','transformUndoRedo','SEND_CHANGESET_TIMEOUT','OFFLINE','getSnapshotAPIPath','title','_updateLocalCache','push','[PendingState]:\x20received\x20rejection.','SUBMIT_CHANGESET_TIMEOUT','next','HMAC','/fetchmissing?from=','_init','sheets','submit\x20changeset\x20error!','[OfflineState]:\x20received\x20acknowledgement.','_getCtorByUniverType','_tryEnsureSocket','findIndex','_getCurrentRevision','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','clone','\x0aCurrent:\x20','loginUrlKey','_initUnitPermissionChange','interceptor','552270OyOEZQ','_oKey','_transformService','socket$','APPLY_REJECT','transformChangesets','[DataLoaderService]','_initRequestHeader','_getRedoStack','TOO_MANY_REQUESTS','_socketService','default','_onUserLeave','getUnit','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','now','WordArray','pluginName','_commandService','_http','sessionStatus$','iterations','close$','_doCryptBlock','subject','baseRev','_userManagerService','COMPRESS_MUTATION_SEND','updateOfflineData','UnitEmbedded','executeCommand','Hasher','onMissedChangesetFetched','MUTATION','_permissionService','ciphertext','_createHandler','_joinRoom','csRejEvent','getAllMembers','_exhaustRemoteChangesetQueue','loadUnit','disposeWithMe','SNAPSHOT_HAS_BEEN_REMOVED','LIVESHARE_TERMINATE','hasOwnProperty','indexOf','pauseCollaboration','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendHeartbeatTimer','onRemoteChangeset','reverse','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_pendingMutations','_onLocalMutation','getCurrentRevOfUnit','_ENC_XFORM_MODE','_getSignURL','_getSessionTicket','/role','algo','HEARTBEAT_INTERVAL','COMMENT_UPDATE','_instanceService','updatePermissionPoint','StreamCipher','\x20to\x20','format','createDecryptor','_HTTPService','name','status','forEach','words','readyForCollab','[CollaborationSession]','_socketReady','awaiting_with_pending','YUUMI_UNABLE_LOAD_URL','_initCloseConn','patch','_updateStatus','INVALID_ARGUMENT','UPDATE_PERMISSION_OBJ','batchAllowed','_onRemoteRetry','HELLO','_onRemoteRejected','_roomMembers','Univer','BufferedBlockAlgorithm','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_transformStack','onRemoteRej','_transitionLocked','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','byteLength','_sessions','getLatestCsReqIdBySid','enableSingleActiveInstanceLock','deepClone','objectType','reconnect','/resources','_createHelper','error$','target','roles','UnitSnapshot','decrypt','getCollabEntity$','emitEvent','unknown','/universer-api/snapshot','PERMISSION_DENIED','joinEvent','OTHER_CLIENTS_EDITING','CHANGESET_SHOULD_RETRY','UNAUTHENTICATED','SerializableCipher','LIVESHARE_FETCH_OPERATIONS','MSG_FOR_ERROR','onTransformRemoteChangesetByIMECache','_onCombEvent','sendChangesetTimeout','3178530XYKHqZ','HmacSHA1','message$','INTERNAL_ERROR','_sessionStatus$','downloadEndpointUrl','_executeRemoteChangeset','addImageSourceCache','_compressMutationService','withCredentials','SHOULD_CLOSE_CONN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startTelemetryCollaborationNewChangeset','/universer-api/file/{fileID}/sign-url','_unitInfo$','mutations','every','commentUpdate$','SUCCUSS','AWAITING_WITH_PENDING','image/bmp','_change$','_invKeySchedule','Base','UNDEFINED','_entities','getActiveSheet','duration','_clearCollaborationTimeoutTimer','_getDownloadEndpointURL','_members','readAsDataURL','connection\x20error','saveImage','_stopTelemetryCollaborationNewChangeset','localeService','reject','hostname','Latin1','_clearTimeoutTimer','_remoteChangesetQueue','from','close','listCollaborators','permissionRejEvent','_handler','LICENSE_EXPORT_SIZE_EXCEEDED','HmacMD5','keySize','_doFinalize','_getUndoStack','[CollaborationEntity]','_acknowledgedAwaitingChangeset','startTime','/universer-api/stream/file/upload','refreshPermission','Encryptor','state$','toLowerCase','_collabSessionService','LICENSE_DISTRO_REJECTED','DEFAULT_FILE_NAME','People','image/gif','_imageSourceCache','/universer-api/authz','randomUUID','/allowed','_onRecvEvent','concat','_parse','max','PERMISSION_REJ','resourceIDs','_snapshotServerService','sessionStatus','_decreaseWaiting','&assign=','put','setCurrentUser','getUnitId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','charAt','SHA1','pipe','socket\x20close','{fileID}','onTransformSelections','_timeoutTimer','_iKey','/block/','_key','/-/object/-/batch_allowed','authzUrl','subscribe','AWAITING','ENSURE_SNAPSHOT_EXECUTION','complete','session.room-cnt-exceeds','_telemetryInfo','getSheetBlock','offline','sin','_prevBlock','_resendTimer','includes','_localeService','toggleOffline','enc','_onConnectionOpen','mode','_state','_injector','enableAuthServer','unitInfo$','Error\x20on\x20receiving\x20event','eventID','__Key__','add','_DEC_XFORM_MODE','update','_config','onRemoteAck','APPLY_NON_SEQUENTIAL_REVISION','override','540882svdDTf','state','onSendChangeset','_lockTransition','getRandomValues','selections','HttpImport','dispose','headers','HEARTBEAT_TIMEOUT','getCollabEntity','exports','CONNECTOR_DATA_TOO_LARGE','isArray','getTypeOfUnitAdded$','symbol','_iv','USERS_ENTER','ONLINE','LEAVE','_event$','/unit/','YUUMI_RATE_OVER_LIMIT','COLLAB_SUBMIT_CHANGESET_URL','_onFetchMissResult','changesets','_map','NOT_COLLAB','_waitForHeartbeatResponse','EvpKDF','_getLoginPath','has','_candidateSocket','_substituteUndoStack','csAckEvent','body','_networkConditionService','_keyPriorReset','8101976jNDNpy','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','image/jpeg','closeSession','OPTIONAL','collabSubmitChangesetUrl','create','_collaborationPaused','_applyRemoteChangeset','_members$','_startCollaboration','1012914VbdMnM','FETCH_MISS','requireSession','YUUMI_URL_COL_OUT_OF_RANGE','onTransformState','kdf','hasher','UNIVER_SHEET','_schedule','_clearScheduledTask','sigBytes'];_0x3bf7=function(){return _0x2ab919;};return _0x3bf7();}const q=_0x14b308(0x3ab),Wt={};var se=(_0x28083b=>(_0x28083b[_0x14b308(0x435)]=_0x14b308(0x435),_0x28083b[_0x14b308(0x2b1)]=_0x14b308(0x2b1),_0x28083b[_0x14b308(0x470)]=_0x14b308(0x470),_0x28083b['CLOSE_ROOM']='CLOSE_ROOM',_0x28083b['JOIN_ROOM_FAILED']=_0x14b308(0x41d),_0x28083b[_0x14b308(0x3a6)]=_0x14b308(0x3a6),_0x28083b[_0x14b308(0x1c1)]='SOCKET_FAILED',_0x28083b[_0x14b308(0x22d)]=_0x14b308(0x22d),_0x28083b))(se||{});class pe{constructor(){var _0x355cf4=_0x14b308;N(this,'_event$',new _0x3b448b()),N(this,_0x355cf4(0x3fa),this['_event$'][_0x355cf4(0x463)]());}[_0x14b308(0x2ae)](_0x34a9ac){var _0x46cc2e=_0x14b308;this['_event$'][_0x46cc2e(0x22e)](_0x34a9ac);}}const Mn=_0x27af32('univer-pro.collaboration-client.network-condition.service');function $n(_0x79b6de){var _0x4615ac=_0x14b308,_0x48d905,_0x3cca7a,_0x476d6b,_0x391690,_0x3e5bd6;const _0x2e019f=_0x79b6de[_0x4615ac(0x3f1)],_0xcbb70c=JSON[_0x4615ac(0x1e9)](_0x2e019f);switch(_0xcbb70c[_0x4615ac(0x48c)]){case F[_0x4615ac(0x1ad)]:case F[_0x4615ac(0x295)]:{const _0x33e090=_0xcbb70c['infoRsp'];return{..._0xcbb70c,'data':_0x33e090,'cmd':_0xcbb70c[_0x4615ac(0x48c)]};}case F[_0x4615ac(0x1b9)]:{const _0xbe6daf=_0xcbb70c[_0x4615ac(0x3bd)];return{..._0xcbb70c,'data':_0xbe6daf,'cmd':_0xcbb70c[_0x4615ac(0x48c)]};}case F[_0x4615ac(0x1f3)]:{const _0x36e805=_0xcbb70c[_0x4615ac(0x3a3)];switch(_0x36e805[_0x4615ac(0x330)]){case _0x1a2e08[_0x4615ac(0x304)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':(_0x48d905=_0x36e805[_0x4615ac(0x2e8)])==null?void 0x0:_0x48d905['cs']},'cmd':_0xcbb70c['cmd']};case _0x1a2e08[_0x4615ac(0x199)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':(_0x3cca7a=_0x36e805[_0x4615ac(0x35b)])==null?void 0x0:_0x3cca7a['cs']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x3d2)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':(_0x476d6b=_0x36e805[_0x4615ac(0x3b2)])==null?void 0x0:_0x476d6b['cs']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x44b)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':(_0x391690=_0x36e805[_0x4615ac(0x265)])==null?void 0x0:_0x391690['cs']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x2b4)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':(_0x3e5bd6=_0x36e805['csShouldRetryEvent'])==null?void 0x0:_0x3e5bd6['cs']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x38e)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805[_0x4615ac(0x21b)]},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x34a)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805[_0x4615ac(0x2b2)]},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x38f)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805['leaveEvent']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x3e2)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805['liveShareNewHost']},'cmd':_0xcbb70c['cmd']};case _0x1a2e08[_0x4615ac(0x2b7)]:case _0x1a2e08[_0x4615ac(0x38d)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805['liveShareOperation']},'cmd':_0xcbb70c['cmd']};case _0x1a2e08[_0x4615ac(0x26b)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805[_0x4615ac(0x395)]},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x2b8)]:return{..._0xcbb70c,'data':_0x36e805,'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x27d)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805[_0x4615ac(0x1b3)]},'cmd':_0xcbb70c['cmd']};case _0x1a2e08[_0x4615ac(0x292)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805['updatePermissionObjEvent']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x2c6)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805[_0x4615ac(0x42f)]},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};case _0x1a2e08[_0x4615ac(0x1e2)]:return{..._0xcbb70c,'data':{..._0x36e805,'data':_0x36e805['uniscriptRunEvent']},'cmd':_0xcbb70c[_0x4615ac(0x48c)]};default:return _0xcbb70c;}}default:return _0xcbb70c;}}function Hn(_0x1b6c36){var _0xaa7db6=_0x14b308;switch(_0x1b6c36[_0xaa7db6(0x48c)]){case F[_0xaa7db6(0x1ad)]:case F[_0xaa7db6(0x295)]:return JSON[_0xaa7db6(0x1ea)]({'cmd':_0x1b6c36[_0xaa7db6(0x48c)],'routeKey':_0x1b6c36['routeKey']});case F[_0xaa7db6(0x391)]:{let _0x1fc560;switch(_0x1b6c36[_0xaa7db6(0x3f1)][_0xaa7db6(0x330)]){case _0x1a2e08[_0xaa7db6(0x38e)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x38e)],'updateCursorEvent':_0x1b6c36[_0xaa7db6(0x3f1)]['data']};break;}case _0x1a2e08['USERS_LEAVE']:{_0x1fc560={'eventID':_0x1a2e08['USERS_LEAVE'],'leaveEvent':_0x1b6c36[_0xaa7db6(0x3f1)][_0xaa7db6(0x3f1)]};break;}case _0x1a2e08[_0xaa7db6(0x34a)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x34a)],'joinEvent':_0x1b6c36[_0xaa7db6(0x3f1)][_0xaa7db6(0x3f1)]};break;}case _0x1a2e08[_0xaa7db6(0x3e2)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x3e2)],'liveShareNewHost':_0x1b6c36['data']['data']};break;}case _0x1a2e08['LIVESHARE_OPERATION']:{_0x1fc560={'eventID':_0x1a2e08['LIVESHARE_OPERATION'],'liveShareOperation':_0x1b6c36['data'][_0xaa7db6(0x3f1)]};break;}case _0x1a2e08[_0xaa7db6(0x26b)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x26b)],'liveShareTerminate':_0x1b6c36['data'][_0xaa7db6(0x3f1)]};break;}case _0x1a2e08[_0xaa7db6(0x3f4)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x3f4)],'liveShareRequestHost':_0x1b6c36[_0xaa7db6(0x3f1)][_0xaa7db6(0x3f1)]};break;}case _0x1a2e08[_0xaa7db6(0x2b7)]:{_0x1fc560={'eventID':_0x1a2e08[_0xaa7db6(0x2b7)]};break;}default:_0x1fc560={'eventID':_0x1b6c36[_0xaa7db6(0x3f1)]['eventID']};}return JSON['stringify']({'cmd':_0x1b6c36[_0xaa7db6(0x48c)],'routeKey':_0x1b6c36[_0xaa7db6(0x385)],'collaMsg':_0x1fc560});}case F[_0xaa7db6(0x1b9)]:return JSON[_0xaa7db6(0x1ea)]({'cmd':_0x1b6c36['cmd'],'routeKey':_0x1b6c36[_0xaa7db6(0x385)],'joinReq':_0x1b6c36['data']});case F[_0xaa7db6(0x34c)]:return JSON[_0xaa7db6(0x1ea)]({'cmd':_0x1b6c36['cmd'],'routeKey':_0x1b6c36['routeKey'],'leaveReq':_0x1b6c36[_0xaa7db6(0x3f1)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var kn=Object['defineProperty'],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x173d5b,_0x1da84c,_0x1321f6,_0x41b48a)=>{for(var _0x332ce7=_0x41b48a>0x1?void 0x0:_0x41b48a?jn(_0x1da84c,_0x1321f6):_0x1da84c,_0x4f8094=_0x173d5b['length']-0x1,_0xe227f8;_0x4f8094>=0x0;_0x4f8094--)(_0xe227f8=_0x173d5b[_0x4f8094])&&(_0x332ce7=(_0x41b48a?_0xe227f8(_0x1da84c,_0x1321f6,_0x332ce7):_0xe227f8(_0x332ce7))||_0x332ce7);return _0x41b48a&&_0x332ce7&&kn(_0x1da84c,_0x1321f6,_0x332ce7),_0x332ce7;},Ue=(_0x1c50cf,_0x19f007)=>(_0xf3b1d9,_0x178200)=>_0x19f007(_0xf3b1d9,_0x178200,_0x1c50cf);const Ci=_0x27af32(_0x14b308(0x1f9));function Fn(_0x1942be,_0x25f23a,_0x2a9deb){return _0x1942be+'/'+_0x25f23a+'/unit/'+_0x2a9deb+'/new_changes';}let Et=class extends _0xe669e4{constructor(_0x96f178,_0x2a7ea6,_0x320f22,_0xa803de,_0xe7f1e1){var _0x24f2c8=_0x14b308;super(),this[_0x24f2c8(0x32c)]=_0x96f178,this['_http']=_0x2a7ea6,this[_0x24f2c8(0x427)]=_0x320f22,this[_0x24f2c8(0x456)]=_0xa803de,this[_0x24f2c8(0x306)]=_0xe7f1e1;}[_0x14b308(0x468)](_0x34dbed){var _0x3be2c8=_0x14b308;const _0x1d6ac7=this[_0x3be2c8(0x32c)][_0x3be2c8(0x1cc)](_0x1c9ac7);if(!_0x1d6ac7)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x44b8e8=_0x1d6ac7['createSocket'](_0x34dbed);if(!_0x44b8e8)throw new Error(_0x3be2c8(0x3ec));const _0x20bc31=new _0x43c915(),_0x5f0164=new _0x3b448b();_0x20bc31['add'](_0x44b8e8['close$']['subscribe'](_0x5a5c00=>_0x5f0164[_0x3be2c8(0x22e)](_0x5a5c00))),_0x20bc31[_0x3be2c8(0x332)](_0x1d3129(()=>_0x5f0164[_0x3be2c8(0x31d)]()));const _0x39389e=new _0x3b448b();_0x20bc31[_0x3be2c8(0x332)](_0x44b8e8[_0x3be2c8(0x2a8)][_0x3be2c8(0x31a)](_0x27b5cb=>_0x39389e[_0x3be2c8(0x22e)](_0x27b5cb))),_0x20bc31[_0x3be2c8(0x332)](_0x1d3129(()=>_0x39389e[_0x3be2c8(0x31d)]()));const _0x1c81ef=new _0x3b448b();_0x20bc31[_0x3be2c8(0x332)](_0x44b8e8[_0x3be2c8(0x2be)][_0x3be2c8(0x31a)](_0x1344e1=>{var _0x54fbc5=_0x3be2c8;const _0x3062a1=$n(_0x1344e1);_0x1c81ef[_0x54fbc5(0x22e)](_0x3062a1);})),_0x20bc31['add'](_0x1d3129(()=>_0x1c81ef[_0x3be2c8(0x31d)]()));let _0x10bc86;const _0x5cd8e8=()=>{var _0x56b22a=_0x3be2c8;_0x39389e[_0x56b22a(0x22e)](new Event(_0x56b22a(0x2dc))),_0x5f0164['next'](new CloseEvent(_0x56b22a(0x2dc))),_0x10bc86[_0x56b22a(0x2e6)]();};return _0x10bc86={'memberID':'','close$':_0x5f0164[_0x3be2c8(0x463)](),'error$':_0x39389e['asObservable'](),'open$':_0x44b8e8[_0x3be2c8(0x386)],'message$':_0x1c81ef['asObservable'](),'send':_0x4adc6b=>{var _0x4fa119=_0x3be2c8;if(_0x4adc6b[_0x4fa119(0x48c)]===F[_0x4fa119(0x391)]){if(_0x4adc6b[_0x4fa119(0x3f1)][_0x4fa119(0x330)]===_0x1a2e08[_0x4fa119(0x40b)]){this['_submitChangeset'](_0x10bc86,_0x4adc6b['data'])[_0x4fa119(0x37a)](_0x4df20c=>{var _0x4cd4ec=_0x4fa119;this[_0x4cd4ec(0x456)][_0x4cd4ec(0x47a)](_0x4df20c),_0x5cd8e8();});return;}if(_0x4adc6b[_0x4fa119(0x3f1)]['eventID']===_0x1a2e08['FETCH_MISSING']){const _0x27df96=_0x4adc6b[_0x4fa119(0x3f1)];this[_0x4fa119(0x1e5)](_0x27df96)['then'](_0x1bba0c=>{var _0x54d8e2=_0x4fa119;_0x1c81ef[_0x54d8e2(0x22e)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x27df96['data'][_0x54d8e2(0x457)],'routeType':'','data':{'eventID':_0x1a2e08[_0x54d8e2(0x3ea)],'data':{'changesets':_0x1bba0c}}});})[_0x4fa119(0x37a)](_0x42cafd=>{var _0x7c63b2=_0x4fa119;this[_0x7c63b2(0x456)][_0x7c63b2(0x47a)](_0x42cafd),_0x5cd8e8();});return;}}_0x44b8e8['send'](Hn(_0x4adc6b));},'close':()=>{var _0x2b4cc7=_0x3be2c8;_0x44b8e8['close'](),_0x20bc31[_0x2b4cc7(0x340)]();}},_0x10bc86;}async[_0x14b308(0x216)](_0x55376a,_0xe0e4a){var _0x3047fa=_0x14b308,_0x264945,_0x5eee64;const {unitType:_0xe41908,unitID:_0x40c784,changeset:_0x5d41c6}=_0xe0e4a['data'],_0xa05f72={'unitID':_0x40c784,'memberID':_0x55376a[_0x3047fa(0x3e0)],'type':_0xe41908,'changeset':_0x16e2ee(_0x5d41c6)},_0x578eae=this[_0x3047fa(0x427)][_0x3047fa(0x45c)](Un),_0x1a01f6=this[_0x3047fa(0x427)]['getConfig'](q),_0x2740d4=Fn((_0x5eee64=(_0x264945=_0x1a01f6==null?void 0x0:_0x1a01f6[_0x3047fa(0x364)])!=null?_0x264945:_0x578eae)!=null?_0x5eee64:An,_0xe41908,_0x40c784);try{await this[_0x3047fa(0x252)][_0x3047fa(0x1db)](_0x2740d4,{'body':_0xa05f72});}catch(_0x129626){throw this[_0x3047fa(0x456)][_0x3047fa(0x47a)](_0x3047fa(0x28a),_0x3047fa(0x233)),_0x129626;}}async[_0x14b308(0x1e5)](_0xbb0010){var _0x292a8a=_0x14b308;const {unitID:_0x3fffaf,from:_0x1b007e,to:_0x29fc75,unitType:_0xb2f5db}=_0xbb0010[_0x292a8a(0x3f1)];return(await this['_snapshotServerService'][_0x292a8a(0x3ac)]({'metadata':void 0x0},{'unitID':_0x3fffaf,'type':_0xb2f5db,'from':_0x1b007e,'to':_0x29fc75}))[_0x292a8a(0x352)];}};Et=Bn([Ue(0x0,_0x2a95eb(_0x2adb1c)),Ue(0x1,_0x2a95eb(_0x17dca8)),Ue(0x2,_0x4d8cf7),Ue(0x3,_0x18544f),Ue(0x4,_0xe994e7)],Et);const Vn=_0x14b308(0x224);function Gn(_0x5dd314){var _0x202ec5=_0x14b308;return JSON[_0x202ec5(0x1ea)](_0x5dd314)[_0x202ec5(0x469)];}class Ri{constructor(){var _0x4fc1e2=_0x14b308;N(this,_0x4fc1e2(0x3ce),new _0x3b448b()),N(this,_0x4fc1e2(0x2cd),this[_0x4fc1e2(0x3ce)]['asObservable']());}[_0x14b308(0x1e4)](_0x50204f){var _0x136860=_0x14b308;this[_0x136860(0x3ce)]['next'](_0x50204f);}}var Wn=Object[_0x14b308(0x380)],Kn=Object[_0x14b308(0x498)],Yn=(_0x1fd7dd,_0x4e4b3f,_0x3435e2,_0x1e228b)=>{var _0x500b53=_0x14b308;for(var _0x5203d5=_0x1e228b>0x1?void 0x0:_0x1e228b?Kn(_0x4e4b3f,_0x3435e2):_0x4e4b3f,_0x457f20=_0x1fd7dd[_0x500b53(0x469)]-0x1,_0x95f754;_0x457f20>=0x0;_0x457f20--)(_0x95f754=_0x1fd7dd[_0x457f20])&&(_0x5203d5=(_0x1e228b?_0x95f754(_0x4e4b3f,_0x3435e2,_0x5203d5):_0x95f754(_0x5203d5))||_0x5203d5);return _0x1e228b&&_0x5203d5&&Wn(_0x4e4b3f,_0x3435e2,_0x5203d5),_0x5203d5;},Kt=(_0x11d2c3,_0x361bd3)=>(_0x563d31,_0x125f52)=>_0x361bd3(_0x563d31,_0x125f52,_0x11d2c3);let xe=class extends _0xe669e4{constructor(_0x4239e5,_0x534285){var _0x4b7f7f=_0x14b308;super(),N(this,_0x4b7f7f(0x297),new Map()),N(this,_0x4b7f7f(0x1b7),new _0x3b448b()),(this[_0x4b7f7f(0x39d)]=_0x4239e5,this[_0x4b7f7f(0x259)]=_0x534285,this[_0x4b7f7f(0x269)](_0xbe5135(this['_univerInstanceService'][_0x4b7f7f(0x3df)](_0x5ec79f['UNIVER_SHEET'])[_0x4b7f7f(0x310)](_0x232a83(_0x2d5146=>_0x2d5146[_0x4b7f7f(0x30c)]())),this[_0x4b7f7f(0x39d)][_0x4b7f7f(0x3df)](_0x5ec79f['UNIVER_DOC'])[_0x4b7f7f(0x310)](_0x232a83(_0x1acae1=>_0x1acae1[_0x4b7f7f(0x30c)]())),this[_0x4b7f7f(0x39d)][_0x4b7f7f(0x3df)](_0x5ec79f['UNIVER_SLIDE'])['pipe'](_0x232a83(_0x2b638a=>_0x2b638a[_0x4b7f7f(0x30c)]())))['subscribe'](_0x1af3dd=>this[_0x4b7f7f(0x3cf)](_0x1af3dd))));}['waitForRoom$'](_0x52fc73){var _0xd9cb08=_0x14b308;return this[_0xd9cb08(0x297)][_0xd9cb08(0x358)](_0x52fc73)?_0x4dc369(this[_0xd9cb08(0x297)][_0xd9cb08(0x1cc)](_0x52fc73)):this[_0xd9cb08(0x1b7)][_0xd9cb08(0x310)](_0x232a83(_0xe548=>{var _0x21098c=_0xd9cb08;if(_0xe548===_0x52fc73)return this[_0x21098c(0x297)]['get'](_0xe548);}));}['setCurrentUser'](_0x2cc2da){var _0x2982c5=_0x14b308;this['_userManagerService'][_0x2982c5(0x30b)](_0x2cc2da);}[_0x14b308(0x1ba)](){var _0x5aa7fe=_0x14b308;return this['_userManagerService'][_0x5aa7fe(0x1ba)]();}[_0x14b308(0x1fa)](_0x340f7e,_0x58c7ec){var _0x1c5efc=_0x14b308;let _0x33f27f=this[_0x1c5efc(0x297)][_0x1c5efc(0x1cc)](_0x340f7e);_0x33f27f||(_0x33f27f=new qn(),this[_0x1c5efc(0x297)][_0x1c5efc(0x410)](_0x340f7e,_0x33f27f),this[_0x1c5efc(0x1b7)]['next'](_0x340f7e)),_0x33f27f[_0x1c5efc(0x1fa)](_0x58c7ec);}[_0x14b308(0x1a6)](_0x1c2179,_0x542401){var _0x2fe721=_0x14b308;const _0x51e361=this[_0x2fe721(0x297)][_0x2fe721(0x1cc)](_0x1c2179);_0x51e361&&_0x51e361['removeMember'](_0x542401);}['getRoom'](_0x3d40a5){var _0xc329ea=_0x14b308;return this['_roomMembers'][_0xc329ea(0x1cc)](_0x3d40a5);}[_0x14b308(0x211)](_0xa51ec4,_0x4b0aca){var _0x4d8807=_0x14b308;const _0x392644=this['_roomMembers'][_0x4d8807(0x1cc)](_0xa51ec4);if(_0x392644)return _0x392644[_0x4d8807(0x211)](_0x4b0aca);}['_removeRoom'](_0x52fb73){var _0x33fd08=_0x14b308;const _0x3dbec8=this[_0x33fd08(0x297)][_0x33fd08(0x1cc)](_0x52fb73);_0x3dbec8&&(_0x3dbec8[_0x33fd08(0x340)](),this[_0x33fd08(0x297)]['delete'](_0x52fb73));}[_0x14b308(0x340)](){var _0x4b936f=_0x14b308;this['_roomMembers']['forEach'](_0x17c60e=>_0x17c60e[_0x4b936f(0x340)]()),this[_0x4b936f(0x297)][_0x4b936f(0x3b5)](),this['_roomCreated$'][_0x4b936f(0x31d)]();}};xe=Yn([Kt(0x0,_0x1c283b),Kt(0x1,_0x2a95eb(_0x27e31e))],xe);class qn extends _0xe669e4{constructor(){var _0x117a66=_0x14b308;super(...arguments),N(this,_0x117a66(0x2da),new Map()),N(this,'_members$',new _0x937a61(this[_0x117a66(0x2da)])),N(this,_0x117a66(0x3e1),this[_0x117a66(0x368)][_0x117a66(0x463)]());}['dispose'](){var _0x2eb0db=_0x14b308;this[_0x2eb0db(0x2da)]['clear']();}['updateMember'](_0x56b41e){var _0x30bfc0=_0x14b308;this[_0x30bfc0(0x2da)][_0x30bfc0(0x410)](_0x56b41e[_0x30bfc0(0x3e0)],_0x56b41e),this[_0x30bfc0(0x1bf)]();}[_0x14b308(0x1a6)](_0x23b6fa){var _0x476f63=_0x14b308;this[_0x476f63(0x2da)][_0x476f63(0x479)](_0x23b6fa);}[_0x14b308(0x211)](_0x47f6a1){return this['_members']['get'](_0x47f6a1);}[_0x14b308(0x266)](){var _0x5a3691=_0x14b308;return Array[_0x5a3691(0x2e5)](this[_0x5a3691(0x2da)]['values']());}['_emitMembers'](){var _0x57071b=_0x14b308;this[_0x57071b(0x368)][_0x57071b(0x22e)](this[_0x57071b(0x2da)]);}}var zn=Object[_0x14b308(0x380)],Jn=Object[_0x14b308(0x498)],Xn=(_0x43006f,_0x57bb1d,_0x135ecb,_0x12b58c)=>{var _0x5142ff=_0x14b308;for(var _0x5a3cbd=_0x12b58c>0x1?void 0x0:_0x12b58c?Jn(_0x57bb1d,_0x135ecb):_0x57bb1d,_0x54b894=_0x43006f[_0x5142ff(0x469)]-0x1,_0x28405d;_0x54b894>=0x0;_0x54b894--)(_0x28405d=_0x43006f[_0x54b894])&&(_0x5a3cbd=(_0x12b58c?_0x28405d(_0x57bb1d,_0x135ecb,_0x5a3cbd):_0x28405d(_0x5a3cbd))||_0x5a3cbd);return _0x12b58c&&_0x5a3cbd&&zn(_0x57bb1d,_0x135ecb,_0x5a3cbd),_0x5a3cbd;},me=(_0x23215c,_0x47a9e0)=>(_0x4a2612,_0x10d564)=>_0x47a9e0(_0x4a2612,_0x10d564,_0x23215c),Te=(_0x20a5f5=>(_0x20a5f5[_0x20a5f5['IDLE']=0x0]='IDLE',_0x20a5f5[_0x20a5f5['JOINING']=0x1]=_0x14b308(0x3a9),_0x20a5f5[_0x20a5f5[_0x14b308(0x227)]=0x2]=_0x14b308(0x227),_0x20a5f5[_0x20a5f5[_0x14b308(0x34b)]=0x3]=_0x14b308(0x34b),_0x20a5f5))(Te||{});function _0x2c62(_0x41df79,_0x559ff1){var _0x3bf7c0=_0x3bf7();return _0x2c62=function(_0x2c6263,_0x39e4b6){_0x2c6263=_0x2c6263-0x196;var _0x5a6998=_0x3bf7c0[_0x2c6263];return _0x5a6998;},_0x2c62(_0x41df79,_0x559ff1);}const Yt={[Ee[_0x14b308(0x1f5)]]:_0x14b308(0x21e),[Ee['JOIN_ROOM_FULL']]:'session.room-full',[Ee[_0x14b308(0x200)]]:'session.room-not-exists',[Ee[_0x14b308(0x436)]]:_0x14b308(0x48b),[Ee['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x14b308(0x31e)};let It=class extends _0x4d8d70{constructor(_0x30554c,_0x17545a,_0x5b5a36,_0x386c0f,_0x450020,_0x43cd26,_0x4366dd,_0x571976,_0x4756e3){var _0x4d506f=_0x14b308;super(),N(this,_0x4d506f(0x2c0),new _0x937a61(0x0)),N(this,_0x4d506f(0x253),this[_0x4d506f(0x2c0)]['asObservable']()),N(this,'_event$',new _0x3b448b()),N(this,_0x4d506f(0x3fa),this[_0x4d506f(0x34d)]['asObservable']()),N(this,_0x4d506f(0x3b3)),N(this,_0x4d506f(0x485)),N(this,_0x4d506f(0x3e3)),N(this,_0x4d506f(0x1d8),!0x1),N(this,_0x4d506f(0x31f),null),(this[_0x4d506f(0x3a7)]=_0x30554c,this[_0x4d506f(0x456)]=_0x5b5a36,this[_0x4d506f(0x427)]=_0x386c0f,this['_localeService']=_0x450020,this[_0x4d506f(0x1c9)]=_0x43cd26,this['_commentService']=_0x4366dd,this[_0x4d506f(0x38c)]=_0x571976,this[_0x4d506f(0x3f9)]=_0x4756e3,this[_0x4d506f(0x1d8)]=!!this[_0x4d506f(0x3f9)],_0x17545a[_0x4d506f(0x310)](_0x5a53d4(this[_0x4d506f(0x37c)]))[_0x4d506f(0x31a)](_0x5178f6=>{var _0x2a5ec8=_0x4d506f,_0x14bc55;typeof _0x5178f6>'u'||(this[_0x2a5ec8(0x3b3)]=_0x5178f6,_0x5178f6?(this[_0x2a5ec8(0x264)](_0x5178f6),this['_socketMessageSubscription']=_0x5178f6[_0x2a5ec8(0x2be)]['subscribe'](_0x278f87=>{var _0x849c4c=_0x2a5ec8;_0x278f87['routeKey']===this[_0x849c4c(0x3a7)]&&this[_0x849c4c(0x2ba)](_0x278f87);})):(this[_0x2a5ec8(0x416)](),this[_0x2a5ec8(0x2c0)][_0x2a5ec8(0x22e)](0x2),(_0x14bc55=this['_socketMessageSubscription'])==null||_0x14bc55['unsubscribe'](),this[_0x2a5ec8(0x485)]=null));}));}get[_0x14b308(0x307)](){var _0x399a39=_0x14b308;return this[_0x399a39(0x2c0)][_0x399a39(0x3e7)]();}[_0x14b308(0x1bd)](){var _0x5b4447=_0x14b308,_0x11ae26,_0x3ea7f2;return(_0x3ea7f2=(_0x11ae26=this[_0x5b4447(0x3b3)])==null?void 0x0:_0x11ae26[_0x5b4447(0x3e0)])!=null?_0x3ea7f2:null;}[_0x14b308(0x340)](){var _0x43a329=_0x14b308;super['dispose'](),this['dispose$'][_0x43a329(0x22e)](),this[_0x43a329(0x37c)][_0x43a329(0x31d)]();}[_0x14b308(0x2e6)](){var _0x44e81c=_0x14b308,_0x45eb40,_0x540ce1;this[_0x44e81c(0x416)](),(_0x45eb40=this[_0x44e81c(0x3b3)])==null||_0x45eb40[_0x44e81c(0x3a5)]({'cmd':F[_0x44e81c(0x34c)],'data':{'roomID':this[_0x44e81c(0x3a7)]}}),(_0x540ce1=this[_0x44e81c(0x3b3)])==null||_0x540ce1[_0x44e81c(0x2e6)](),this['_event$'][_0x44e81c(0x31d)](),this[_0x44e81c(0x2c0)][_0x44e81c(0x31d)](),this[_0x44e81c(0x340)]();}[_0x14b308(0x2ba)](_0x1424e9){var _0x31c671=_0x14b308;_0x1424e9[_0x31c671(0x48c)]===F['JOIN']?this[_0x31c671(0x1c5)](_0x1424e9):_0x1424e9['cmd']===F[_0x31c671(0x1f3)]&&this[_0x31c671(0x300)](_0x1424e9);}[_0x14b308(0x264)](_0x59fddf){var _0x26b89e=_0x14b308;this[_0x26b89e(0x2c0)][_0x26b89e(0x22e)](0x1),_0x59fddf[_0x26b89e(0x3a5)]({'cmd':F[_0x26b89e(0x1b9)],'routeKey':this[_0x26b89e(0x3a7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x26b89e(0x3a7)]}]}});}[_0x14b308(0x1c5)](_0x215163){var _0xeba842=_0x14b308,_0x391029;if(_0x215163[_0xeba842(0x405)]in Yt){this['_collaborationUIEventService'][_0xeba842(0x2ae)]({'id':se[_0xeba842(0x41d)],'data':Yt[_0x215163[_0xeba842(0x405)]]}),this['_sessionStatus$'][_0xeba842(0x22e)](0x2);return;}this[_0xeba842(0x2c0)][_0xeba842(0x22e)](0x3);const _0x78d531=(_0x391029=_0x215163[_0xeba842(0x3f1)][_0xeba842(0x43c)][this[_0xeba842(0x3a7)]])==null?void 0x0:_0x391029[_0xeba842(0x1ec)];_0x78d531&&_0x78d531[_0xeba842(0x287)](_0x455c52=>this['_memberService'][_0xeba842(0x1fa)](this[_0xeba842(0x3a7)],_0x455c52));}[_0x14b308(0x300)](_0x272f97){var _0x500389=_0x14b308;try{const _0x420b4b=_0x272f97[_0x500389(0x3f1)];switch(_0x420b4b['eventID']){case _0x1a2e08[_0x500389(0x34a)]:this[_0x500389(0x214)](_0x420b4b),this[_0x500389(0x34d)][_0x500389(0x22e)](_0x420b4b);break;case _0x1a2e08[_0x500389(0x38f)]:this[_0x500389(0x24b)](_0x420b4b),this[_0x500389(0x34d)][_0x500389(0x22e)](_0x420b4b);break;case _0x1a2e08['CHANGESET_ACK']:case _0x1a2e08[_0x500389(0x2b4)]:this[_0x500389(0x2de)](),this['_clearCollaborationTimeoutTimer'](),this[_0x500389(0x34d)][_0x500389(0x22e)](_0x420b4b);break;case _0x1a2e08[_0x500389(0x2b8)]:this[_0x500389(0x456)]['error'](_0x500389(0x3ed)+JSON[_0x500389(0x1ea)](_0x420b4b)),this[_0x500389(0x34d)]['next'](_0x420b4b);break;case _0x1a2e08[_0x500389(0x27d)]:this[_0x500389(0x37f)]['onCommentUpdate'](_0x420b4b[_0x500389(0x3f1)]),this['_event$'][_0x500389(0x22e)](_0x420b4b);break;default:this['_event$'][_0x500389(0x22e)](_0x420b4b);}}catch(_0x2a83ce){this['_logService'][_0x500389(0x47a)](_0x2a83ce,_0x272f97);}}[_0x14b308(0x214)](_0x59ad27){var _0x450e65=_0x14b308;this[_0x450e65(0x1c9)][_0x450e65(0x1fa)](this[_0x450e65(0x3a7)],_0x59ad27[_0x450e65(0x3f1)]);}[_0x14b308(0x24b)](_0x420624){var _0x58b4b4=_0x14b308;this['_memberService'][_0x58b4b4(0x1a6)](this[_0x58b4b4(0x3a7)],_0x420624[_0x58b4b4(0x3f1)]['memberID']);}async[_0x14b308(0x3a5)](_0x3aad57,_0x31b930){var _0x18d08a=_0x14b308;if(this[_0x18d08a(0x307)]!==0x3||!this[_0x18d08a(0x3b3)])throw new Error(_0x18d08a(0x30d));try{_0x3aad57['eventID']===_0x1a2e08[_0x18d08a(0x40b)]&&(this[_0x18d08a(0x3a0)](),this[_0x18d08a(0x2c8)](_0x3aad57)),this[_0x18d08a(0x3b3)][_0x18d08a(0x3a5)]({'cmd':F[_0x18d08a(0x391)],'routeKey':_0x31b930,'routeType':'','data':_0x3aad57});}catch(_0x1f58e3){this[_0x18d08a(0x456)][_0x18d08a(0x47a)](_0x1f58e3);}}[_0x14b308(0x3a0)](){var _0x4fb19;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4c363d=_0x2c62;this[_0x4c363d(0x3e3)]=null,this[_0x4c363d(0x38c)][_0x4c363d(0x2ae)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x4fb19=this['_configService']['getConfig'](Si))!=null?_0x4fb19:Ei);}[_0x14b308(0x2d8)](){var _0x1fff7d=_0x14b308;this[_0x1fff7d(0x3e3)]&&(clearTimeout(this[_0x1fff7d(0x3e3)]),this['_collaborationTimeoutTimer']=null);}[_0x14b308(0x2c8)](_0x2dc153){var _0x5bc45d=_0x14b308;if(!this[_0x5bc45d(0x1d8)])return;const {data:_0x379440}=_0x2dc153,{unitID:_0x15df9d,changeset:_0x48ce4c}=_0x379440,{mutations:_0x194dd7,type:_0x3186f6}=_0x48ce4c;this[_0x5bc45d(0x31f)]={'unitId':_0x15df9d,'type':_0x3186f6,'startTime':performance[_0x5bc45d(0x24e)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x194dd7)};}[_0x14b308(0x2de)](){var _0x27e308=_0x14b308;if(this[_0x27e308(0x1d8)]){if(!this[_0x27e308(0x31f)]){this['_logService'][_0x27e308(0x47a)](_0x27e308(0x28a),_0x27e308(0x44e));return;}this[_0x27e308(0x31f)][_0x27e308(0x407)]=performance[_0x27e308(0x24e)](),this[_0x27e308(0x31f)][_0x27e308(0x2d7)]=this['_telemetryInfo'][_0x27e308(0x407)]-this[_0x27e308(0x31f)][_0x27e308(0x2f1)],this['_telemetryService'][_0x27e308(0x44d)](Vn,this[_0x27e308(0x31f)]),this['_telemetryInfo']=null;}}[_0x14b308(0x416)](){var _0x192010=_0x14b308;this[_0x192010(0x31f)]=null;}};It=Xn([me(0x2,_0x18544f),me(0x3,_0x4d8cf7),me(0x4,_0x2a95eb(_0x53b65d)),me(0x5,_0x2a95eb(xe)),me(0x6,_0x2a95eb(Ri)),me(0x7,_0x2a95eb(pe)),me(0x8,_0x13d7ff(_0x4ed67c))],It);var Zn=Object[_0x14b308(0x380)],Qn=Object[_0x14b308(0x498)],er=(_0x3543a3,_0x2f6573,_0x4f0818,_0x31a084)=>{var _0x3811a5=_0x14b308;for(var _0x3fa699=_0x31a084>0x1?void 0x0:_0x31a084?Qn(_0x2f6573,_0x4f0818):_0x2f6573,_0x1cf01d=_0x3543a3[_0x3811a5(0x469)]-0x1,_0x3ca126;_0x1cf01d>=0x0;_0x1cf01d--)(_0x3ca126=_0x3543a3[_0x1cf01d])&&(_0x3fa699=(_0x31a084?_0x3ca126(_0x2f6573,_0x4f0818,_0x3fa699):_0x3ca126(_0x3fa699))||_0x3fa699);return _0x31a084&&_0x3fa699&&Zn(_0x2f6573,_0x4f0818,_0x3fa699),_0x3fa699;},ge=(_0x3ebefb,_0x3fdc02)=>(_0x11d0f3,_0x2f6176)=>_0x3fdc02(_0x11d0f3,_0x2f6176,_0x3ebefb);let Le=class extends _0xe669e4{constructor(_0x376184,_0x25edff,_0x4fc8fe,_0x18a91e,_0xd4e2b4,_0x273d05,_0x5ec762){var _0x3f7a52=_0x14b308;super(),N(this,_0x3f7a52(0x44c),new _0x937a61(void 0x0)),N(this,_0x3f7a52(0x242),this['_socket$'][_0x3f7a52(0x463)]()),N(this,_0x3f7a52(0x359),null),N(this,_0x3f7a52(0x2a0),new Map()),N(this,_0x3f7a52(0x3aa),new _0x937a61(Te['IDLE'])),N(this,_0x3f7a52(0x3c9),this[_0x3f7a52(0x3aa)][_0x3f7a52(0x463)]()),N(this,_0x3f7a52(0x28b),!0x1),N(this,'_retryConnectingTimer'),N(this,_0x3f7a52(0x1a5),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x3f7a52(0x32c)]=_0x376184,this['_logService']=_0x25edff,this['_configService']=_0x4fc8fe,this[_0x3f7a52(0x249)]=_0x18a91e,this[_0x3f7a52(0x493)]=_0xd4e2b4,this['_collaborationUIEventService']=_0x273d05,this[_0x3f7a52(0x35d)]=_0x5ec762,this[_0x3f7a52(0x396)]());}get[_0x14b308(0x3b3)](){return this['_socket$']['getValue']();}[_0x14b308(0x396)](){var _0x4be672=_0x14b308;this['_networkConditionService']&&this[_0x4be672(0x269)](this[_0x4be672(0x35d)][_0x4be672(0x426)][_0x4be672(0x31a)](_0x3eeb54=>{var _0x55fbb5=_0x4be672;_0x3eeb54&&!this[_0x55fbb5(0x3b3)]&&this[_0x55fbb5(0x2a5)](),_0x3eeb54||this['_onOffline']();}));}[_0x14b308(0x340)](){var _0x204d4d=_0x14b308;super[_0x204d4d(0x340)](),this[_0x204d4d(0x2a0)]['forEach'](_0x1affec=>_0x1affec['dispose']()),this[_0x204d4d(0x2a0)][_0x204d4d(0x3b5)](),this[_0x204d4d(0x3aa)][_0x204d4d(0x31d)]();}async[_0x14b308(0x36c)](_0x17d011){var _0x1227a2=_0x14b308;if(this['_sessions'][_0x1227a2(0x358)](_0x17d011))return this[_0x1227a2(0x2a0)]['get'](_0x17d011);this[_0x1227a2(0x236)]();const _0xcd085f=this[_0x1227a2(0x32c)][_0x1227a2(0x382)](It,_0x17d011,this['_socket$'][_0x1227a2(0x463)]());return this['_sessions']['set'](_0x17d011,_0xcd085f),_0xcd085f;}[_0x14b308(0x362)](_0x1197b0){var _0x30771f=_0x14b308,_0x3eef4c;const _0x59a91d=this[_0x30771f(0x2a0)][_0x30771f(0x1cc)](_0x1197b0);_0x59a91d&&(this[_0x30771f(0x2a0)]['delete'](_0x1197b0),_0x59a91d[_0x30771f(0x2e6)]()),this[_0x30771f(0x2a0)][_0x30771f(0x1d2)]||(_0x3eef4c=this[_0x30771f(0x3b3)])==null||_0x3eef4c[_0x30771f(0x2e6)]();}['reconnect'](){var _0x27832b=_0x14b308;this[_0x27832b(0x1a5)]=0x0,this[_0x27832b(0x206)]!=null&&(clearTimeout(this[_0x27832b(0x206)]),this[_0x27832b(0x206)]=null),this[_0x27832b(0x3b9)]();}async[_0x14b308(0x279)](){var _0x108f9e=_0x14b308,_0x3b8445,_0x519e30,_0x1d47c5;const _0x300635=this[_0x108f9e(0x427)]['getConfig'](q),_0x1d1b19=(_0x3b8445=_0x300635==null?void 0x0:_0x300635[_0x108f9e(0x43d)])!=null?_0x3b8445:On;return(_0x1d47c5=(_0x519e30=(await this['_httpService']['get'](_0x1d1b19,{'headers':{'Content-Type':_0x108f9e(0x3d9)}}))[_0x108f9e(0x35c)])==null?void 0x0:_0x519e30[_0x108f9e(0x1b8)])!=null?_0x1d47c5:'';}[_0x14b308(0x464)](_0x7f27d9){var _0xe5f9d9=_0x14b308,_0x1b94bf,_0x497433;const _0x4d2136=this[_0xe5f9d9(0x427)]['getConfig'](Rn),_0xa761dc=this[_0xe5f9d9(0x427)][_0xe5f9d9(0x45c)](q),_0x432a0b=(_0x497433=(_0x1b94bf=_0xa761dc==null?void 0x0:_0xa761dc[_0xe5f9d9(0x3fc)])!=null?_0x1b94bf:_0x4d2136)!=null?_0x497433:bn,_0x3470de=typeof window>'u'?new URL(_0x432a0b):new URL(_0x432a0b,window['location'][_0xe5f9d9(0x201)]);_0x3470de['searchParams']['set']('sessionTicket',_0x7f27d9);const _0x3ee4ad=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe5f9d9(0x1c6)]['search']);return _0x3ee4ad[_0xe5f9d9(0x1cc)](_0xe5f9d9(0x44a))&&_0x3470de[_0xe5f9d9(0x494)][_0xe5f9d9(0x410)](_0xe5f9d9(0x44a),_0x3ee4ad[_0xe5f9d9(0x1cc)](_0xe5f9d9(0x44a))),_0x3470de[_0xe5f9d9(0x3ff)]();}async[_0x14b308(0x387)](){var _0x2cc9a9=_0x14b308;const _0x5c26b7=await this[_0x2cc9a9(0x279)](),_0x3050fc=this['_createSocketURL'](_0x5c26b7),_0x522f30=this[_0x2cc9a9(0x249)][_0x2cc9a9(0x468)](_0x3050fc);return this['_candidateSocket']=_0x522f30,_0x522f30;}async[_0x14b308(0x236)](){var _0x55f440=_0x14b308,_0x4104e1,_0x5a93d9;try{const _0x59c1aa=(_0x5a93d9=(_0x4104e1=this[_0x55f440(0x3b3)])!=null?_0x4104e1:this[_0x55f440(0x359)])!=null?_0x5a93d9:await this[_0x55f440(0x387)]();if(_0x59c1aa){const _0x17e91e=_0x59c1aa['send'];_0x59c1aa[_0x55f440(0x3a5)]=_0x5c9898=>(this[_0x55f440(0x213)](),_0x17e91e[_0x55f440(0x404)](_0x59c1aa,[_0x5c9898])),_0x59c1aa[_0x55f440(0x2be)][_0x55f440(0x31a)](_0x560525=>this[_0x55f440(0x1f1)](_0x59c1aa,_0x560525)),_0x59c1aa[_0x55f440(0x2a8)][_0x55f440(0x310)](_0x3e8684(0x1))[_0x55f440(0x31a)](_0x4f9e57=>this[_0x55f440(0x456)][_0x55f440(0x47a)](_0x55f440(0x3f0),_0x4f9e57)),_0x59c1aa[_0x55f440(0x386)]['pipe'](_0x3e8684(0x1))[_0x55f440(0x31a)](()=>{var _0x506f6e=_0x55f440;this[_0x506f6e(0x329)](_0x59c1aa);}),_0x59c1aa[_0x55f440(0x255)][_0x55f440(0x310)](_0x3e8684(0x1))[_0x55f440(0x31a)](_0x23bd26=>{var _0x4bf182=_0x55f440;this['_logService'][_0x4bf182(0x467)](_0x4bf182(0x473),_0x4bf182(0x311),_0x23bd26),this['_onConnectionFailed']();});}}catch(_0x2fd528){this[_0x55f440(0x456)][_0x55f440(0x47a)](_0x2fd528),this[_0x55f440(0x46d)]();}}[_0x14b308(0x329)](_0xc8289d){var _0x10813b=_0x14b308;this[_0x10813b(0x456)][_0x10813b(0x467)]('[CollaborationSessionService]',_0x10813b(0x3b7)),_0xc8289d[_0x10813b(0x3a5)]({'cmd':F[_0x10813b(0x295)]}),this['_rescheduleHeartbeat']();}[_0x14b308(0x486)](){var _0x49f7e7=_0x14b308;this['_socketReady']=!0x1,this[_0x49f7e7(0x359)]=null,this[_0x49f7e7(0x3aa)][_0x49f7e7(0x22e)](Te[_0x49f7e7(0x227)]),this['_socket$'][_0x49f7e7(0x22e)](null),this['_clearTimeoutTimer'](),this[_0x49f7e7(0x402)]();}[_0x14b308(0x46d)](){var _0x528320=_0x14b308,_0x4b209e;this['_onOffline'](),this[_0x528320(0x1a5)]<((_0x4b209e=this[_0x528320(0x427)]['getConfig'](Pn))!=null?_0x4b209e:wn)?(this['_collaborationUIEventService']['emitEvent']({'id':se[_0x528320(0x3a6)]}),this[_0x528320(0x3b9)]()):this[_0x528320(0x38c)]['emitEvent']({'id':se['SOCKET_FAILED']});}['_tryReconnect'](){var _0x4c699e=_0x14b308,_0x29e76c;const _0x199e42=this[_0x4c699e(0x1a5)],_0x250c01=this['_configService']['getConfig'](q),_0x448915=_0x199e42===0x0?0x0:((_0x29e76c=_0x250c01==null?void 0x0:_0x250c01[_0x4c699e(0x1c0)])!=null?_0x29e76c:Dn)*0x2**_0x199e42;this['_retryConnectingTimer']=setTimeout(()=>{var _0x1abefc=_0x4c699e;clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null,this[_0x1abefc(0x236)]();},_0x448915),this['_retryCount']+=0x1;}[_0x14b308(0x1f1)](_0x3395f4,_0x323990){var _0x3a2723=_0x14b308;const {cmd:_0x7328b4}=_0x323990;_0x7328b4===F[_0x3a2723(0x295)]&&!this[_0x3a2723(0x28b)]&&(_0x3395f4[_0x3a2723(0x3e0)]=_0x323990[_0x3a2723(0x3f1)][_0x3a2723(0x3e0)],this['_socket$']['next'](_0x3395f4),this[_0x3a2723(0x3aa)]['next'](Te[_0x3a2723(0x34b)]),this[_0x3a2723(0x28b)]=!0x0,this[_0x3a2723(0x359)]=null),_0x7328b4===F[_0x3a2723(0x1ad)]&&this[_0x3a2723(0x2e3)](),this[_0x3a2723(0x213)]();}[_0x14b308(0x213)](){var _0x1ff9af=_0x14b308,_0x4241ca;this['_clearHeartbeatTimer'](),this[_0x1ff9af(0x270)]=setTimeout(()=>this[_0x1ff9af(0x1df)](),(_0x4241ca=this[_0x1ff9af(0x427)][_0x1ff9af(0x45c)](yn))!=null?_0x4241ca:Nn);}[_0x14b308(0x1df)](){var _0x53bd75=_0x14b308;this[_0x53bd75(0x3b3)][_0x53bd75(0x3a5)]({'cmd':F[_0x53bd75(0x1ad)]}),this[_0x53bd75(0x355)]();}[_0x14b308(0x355)](){var _0x401a70=_0x14b308,_0x80273;this[_0x401a70(0x314)]=setTimeout(()=>this[_0x401a70(0x46d)](),(_0x80273=this['_configService'][_0x401a70(0x45c)](Si))!=null?_0x80273:Ei);}[_0x14b308(0x402)](){var _0x898d9f=_0x14b308;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this[_0x898d9f(0x270)]),this[_0x898d9f(0x270)]=null);}[_0x14b308(0x2e3)](){var _0x5379b0=_0x14b308;this[_0x5379b0(0x314)]!=null&&(clearTimeout(this[_0x5379b0(0x314)]),this[_0x5379b0(0x314)]=null);}};Le=er([ge(0x0,_0x2a95eb(_0x2adb1c)),ge(0x1,_0x18544f),ge(0x2,_0x4d8cf7),ge(0x3,Ci),ge(0x4,_0x2a95eb(_0x17dca8)),ge(0x5,_0x2a95eb(pe)),ge(0x6,_0x13d7ff(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V['push']((n+0x100)[_0x14b308(0x3ff)](0x10)[_0x14b308(0x1a3)](0x1));function tr(_0x4cb10d,_0x3e064c=0x0){var _0x47036f=_0x14b308;return(V[_0x4cb10d[_0x3e064c+0x0]]+V[_0x4cb10d[_0x3e064c+0x1]]+V[_0x4cb10d[_0x3e064c+0x2]]+V[_0x4cb10d[_0x3e064c+0x3]]+'-'+V[_0x4cb10d[_0x3e064c+0x4]]+V[_0x4cb10d[_0x3e064c+0x5]]+'-'+V[_0x4cb10d[_0x3e064c+0x6]]+V[_0x4cb10d[_0x3e064c+0x7]]+'-'+V[_0x4cb10d[_0x3e064c+0x8]]+V[_0x4cb10d[_0x3e064c+0x9]]+'-'+V[_0x4cb10d[_0x3e064c+0xa]]+V[_0x4cb10d[_0x3e064c+0xb]]+V[_0x4cb10d[_0x3e064c+0xc]]+V[_0x4cb10d[_0x3e064c+0xd]]+V[_0x4cb10d[_0x3e064c+0xe]]+V[_0x4cb10d[_0x3e064c+0xf]])[_0x47036f(0x2f6)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x35859e=_0x14b308;if(!ut){if(typeof crypto>'u'||!crypto[_0x35859e(0x33d)])throw new Error(_0x35859e(0x273));ut=crypto['getRandomValues'][_0x35859e(0x40f)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x14b308(0x2fe)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x2185dd,_0xbb3739,_0x51c961){var _0x1e5f4b=_0x14b308,_0x18e1d6,_0x444460,_0x4ecc1c;if(qt['randomUUID']&&!_0x2185dd)return qt['randomUUID']();_0x2185dd=_0x2185dd||{};const _0x5ba13f=(_0x4ecc1c=(_0x444460=_0x2185dd[_0x1e5f4b(0x3c5)])!=null?_0x444460:(_0x18e1d6=_0x2185dd[_0x1e5f4b(0x43e)])==null?void 0x0:_0x18e1d6[_0x1e5f4b(0x471)](_0x2185dd))!=null?_0x4ecc1c:nr();if(_0x5ba13f[_0x1e5f4b(0x469)]<0x10)throw new Error(_0x1e5f4b(0x29e));return _0x5ba13f[0x6]=_0x5ba13f[0x6]&0xf|0x40,_0x5ba13f[0x8]=_0x5ba13f[0x8]&0x3f|0x80,tr(_0x5ba13f);}const J=_0x27af32('collaboration-client.local-cache-service');function so(_0x49bc26){var _0x1c9825=_0x14b308;return _0x1c9825(0x45a)+_0x49bc26;}var or=Object[_0x14b308(0x380)],ar=Object[_0x14b308(0x498)],cr=(_0x21f6ef,_0x15065f,_0x5b11a8,_0x50c59c)=>{var _0x253b6f=_0x14b308;for(var _0x345441=_0x50c59c>0x1?void 0x0:_0x50c59c?ar(_0x15065f,_0x5b11a8):_0x15065f,_0x5df4a5=_0x21f6ef[_0x253b6f(0x469)]-0x1,_0x5ea893;_0x5df4a5>=0x0;_0x5df4a5--)(_0x5ea893=_0x21f6ef[_0x5df4a5])&&(_0x345441=(_0x50c59c?_0x5ea893(_0x15065f,_0x5b11a8,_0x345441):_0x5ea893(_0x345441))||_0x345441);return _0x50c59c&&_0x345441&&or(_0x15065f,_0x5b11a8,_0x345441),_0x345441;},dt=(_0x213e1b,_0x366ca8)=>(_0x9f21ea,_0x109454)=>_0x366ca8(_0x9f21ea,_0x109454,_0x213e1b);function hr(_0x565ae0){const {unitID:_0x16639d,mutations:_0x3cb9ce}=_0x565ae0;return{'unitId':_0x16639d,'subUnitId':_0x3cb9ce[0x0]['params']['subUnitId']};}let it=class{constructor(_0x14a548,_0x366624,_0x220fac){var _0xe33cea=_0x14b308;this[_0xe33cea(0x32c)]=_0x14a548,this[_0xe33cea(0x241)]=_0x366624,this[_0xe33cea(0x27e)]=_0x220fac;}[_0x14b308(0x449)](_0x492e43){var _0x4b8fc7=_0x14b308,_0x57e4c4,_0x5e1ab2,_0x326c80,_0x1d996f;const _0x3b077e=this['_injector'][_0x4b8fc7(0x1cc)](_0x10ddf3),{unitId:_0x580807,subUnitId:_0x213c6e}=hr(_0x492e43),_0x2c2697=_0x3b077e==null?void 0x0:_0x3b077e[_0x4b8fc7(0x222)](_0x580807)[_0x4b8fc7(0x21f)](),_0x1b4328=(_0x5e1ab2=(_0x57e4c4=this[_0x4b8fc7(0x27e)][_0x4b8fc7(0x24c)](_0x580807))==null?void 0x0:_0x57e4c4[_0x4b8fc7(0x2d6)]())==null?void 0x0:_0x5e1ab2[_0x4b8fc7(0x1e7)]();if(_0x2c2697[_0x4b8fc7(0x469)]===0x0||!_0x580807||!_0x213c6e)return;const _0x2b36a2=[{'id':_0x45ce61['id'],'params':{'unitId':_0x580807,'subUnitId':_0x1b4328,'selections':_0x362cab[_0x4b8fc7(0x2a3)](_0x2c2697)}}],_0x496144=this[_0x4b8fc7(0x241)][_0x4b8fc7(0x43f)](_0x492e43,_0x2b36a2);if(!_0x2775a2(_0x496144))throw _0x496144['error'];const _0x4df25c=(_0x1d996f=(_0x326c80=_0x496144[_0x4b8fc7(0x3d4)][0x0])==null?void 0x0:_0x326c80[_0x4b8fc7(0x3ca)])==null?void 0x0:_0x1d996f['selections'];if(Array[_0x4b8fc7(0x346)](_0x4df25c)&&_0x4df25c[_0x4b8fc7(0x469)]){if(_0x4df25c[_0x4b8fc7(0x469)]===_0x2b36a2[0x0][_0x4b8fc7(0x3ca)][_0x4b8fc7(0x33e)]['length']&&_0x4df25c[_0x4b8fc7(0x2cc)]((_0x45a223,_0x41f024)=>_0x4ac573['equals'](_0x45a223[_0x4b8fc7(0x205)],_0x2b36a2[0x0][_0x4b8fc7(0x3ca)][_0x4b8fc7(0x33e)][_0x41f024][_0x4b8fc7(0x205)])))return;this[_0x4b8fc7(0x32c)]['get'](_0x5d3dab)[_0x4b8fc7(0x25d)](_0x45ce61['id'],{'unitId':_0x580807,'subUnitId':_0x1b4328,'selections':_0x4df25c});}}};it=cr([dt(0x0,_0x2a95eb(_0x2adb1c)),dt(0x1,_0x25af2a),dt(0x2,_0x1c283b)],it);const ht=_0x27af32(_0x14b308(0x20c));var bi=(_0x3c6a73=>(_0x3c6a73[_0x3c6a73[_0x14b308(0x3fd)]=0x0]=_0x14b308(0x3fd),_0x3c6a73[_0x3c6a73[_0x14b308(0x2b3)]=0x1]=_0x14b308(0x2b3),_0x3c6a73))(bi||{});const _r=new Set([_0x254dee['id']]);function zt(_0x719259,_0x593bd2,_0x2b6d31,_0xb7762f,_0x3bb0af){var _0x5e903e=_0x14b308,_0x59d9c0,_0x5aa795,_0x166d32,_0x5b8068;const _0x6b695a=[];for(const _0x18ecbb of _0x719259)if(_r[_0x5e903e(0x358)](_0x18ecbb['id'])){if(_0x6b695a['length']>0x0)break;_0x6b695a[_0x5e903e(0x22b)](_0x18ecbb);break;}else _0x6b695a[_0x5e903e(0x22b)](_0x18ecbb);const _0x1a5fc4=(_0x5aa795=(_0x59d9c0=_0x3bb0af['getCurrentUser']())==null?void 0x0:_0x59d9c0[_0x5e903e(0x3bc)])!=null?_0x5aa795:_0x5e903e(0x2af),_0x5692df=(_0x5b8068=(_0x166d32=_0x3bb0af['getCurrentUser']())==null?void 0x0:_0x166d32[_0x5e903e(0x3e0)])!=null?_0x5b8068:'unknown';return{'changeset':{'unitID':_0x593bd2,'type':_0x549f1e(_0x2b6d31[_0x5e903e(0x47e)](_0x593bd2)),'baseRev':_0xb7762f['getCurrentRevOfUnit'](_0x593bd2),'revision':0x0,'userID':_0x1a5fc4,'memberID':_0x5692df,'mutations':_0x6b695a},'pendingMutations':_0x719259[_0x5e903e(0x1a3)](_0x6b695a[_0x5e903e(0x469)])};}function lr(_0x37130c,_0x434359,_0x43d39c,_0x53fdfd,_0x4e3d8c){var _0x207415=_0x14b308,_0x464f6e,_0x468430,_0x448c28,_0x497108;const _0x2d5c74=[_0x37130c[_0x207415(0x20a)]((_0x425b64,_0x232715)=>{var _0x5d584a=_0x207415,_0x42d5d5;const {id:_0xf6d614}=_0x425b64,{id:_0x46a00f,type:_0x2e766d}=_0x232715,_0x5dc9e0=(_0x42d5d5=_0x425b64[_0x5d584a(0x3ca)])!=null?_0x42d5d5:{'actions':null},_0x21c259=_0x232715[_0x5d584a(0x3ca)];if(_0xf6d614&&_0xf6d614!==_0x46a00f)throw new Error(_0x5d584a(0x1d5)+_0xf6d614+_0x5d584a(0x484)+_0x46a00f+'.');return{..._0x425b64,'id':_0x46a00f,'type':_0x2e766d,'params':{'unitId':_0x21c259[_0x5d584a(0x3c2)],'textRanges':_0x21c259[_0x5d584a(0x3f3)],'actions':_0x56c6db[_0x5d584a(0x42b)](_0x5dc9e0['actions'],_0x21c259[_0x5d584a(0x47f)])}};},{})],_0x3216d2=(_0x468430=(_0x464f6e=_0x4e3d8c[_0x207415(0x1ba)]())==null?void 0x0:_0x464f6e[_0x207415(0x3bc)])!=null?_0x468430:_0x207415(0x2af),_0x1adae2=(_0x497108=(_0x448c28=_0x4e3d8c['getCurrentUser']())==null?void 0x0:_0x448c28['memberID'])!=null?_0x497108:_0x207415(0x2af);return{'changeset':{'unitID':_0x434359,'type':_0x549f1e(_0x43d39c[_0x207415(0x47e)](_0x434359)),'baseRev':_0x53fdfd[_0x207415(0x276)](_0x434359),'revision':0x0,'userID':_0x3216d2,'memberID':_0x1adae2,'mutations':_0x2d5c74},'pendingMutations':[]};}function Oi(_0xb3a5b3,_0x882418){var _0x1da4b3=_0x14b308;const _0x428b8a=new _0x1475ff(0x1);return setTimeout(()=>_0x428b8a['next'](_0x882418),_0xb3a5b3),_0x428b8a[_0x1da4b3(0x463)]()[_0x1da4b3(0x310)](_0x6b16a2(0x1));}const ur={'id':_0x1e5cd4['id'],'type':_0x4dbc63[_0x14b308(0x260)],'params':{}};var dr=Object[_0x14b308(0x380)],fr=Object['getOwnPropertyDescriptor'],Re=(_0x205768,_0x1e151e,_0x59903d,_0x4d289e)=>{var _0x377613=_0x14b308;for(var _0x5a5568=_0x4d289e>0x1?void 0x0:_0x4d289e?fr(_0x1e151e,_0x59903d):_0x1e151e,_0x1b4451=_0x205768[_0x377613(0x469)]-0x1,_0x333e60;_0x1b4451>=0x0;_0x1b4451--)(_0x333e60=_0x205768[_0x1b4451])&&(_0x5a5568=(_0x4d289e?_0x333e60(_0x1e151e,_0x59903d,_0x5a5568):_0x333e60(_0x5a5568))||_0x5a5568);return _0x4d289e&&_0x5a5568&&dr(_0x1e151e,_0x59903d,_0x5a5568),_0x5a5568;},A=(_0x2ec308,_0x2d465e)=>(_0x56f606,_0x2b35ea)=>_0x2d465e(_0x56f606,_0x2b35ea,_0x2ec308),yi=(_0x2d19ce=>(_0x2d19ce[_0x14b308(0x354)]='not_collab',_0x2d19ce[_0x14b308(0x221)]=_0x14b308(0x40d),_0x2d19ce[_0x14b308(0x3ef)]=_0x14b308(0x1c3),_0x2d19ce[_0x14b308(0x31b)]=_0x14b308(0x38b),_0x2d19ce[_0x14b308(0x2cf)]=_0x14b308(0x28c),_0x2d19ce[_0x14b308(0x36b)]=_0x14b308(0x447),_0x2d19ce['CONFLICT']=_0x14b308(0x19f),_0x2d19ce[_0x14b308(0x227)]=_0x14b308(0x321),_0x2d19ce))(yi||{});const Ni=0xea60;class be{constructor(_0x2e49bb,_0x558a01,_0x2f7b77,_0x3d2e95,_0x5f29bb,_0x5d1c63,_0x27625b,_0x336775,_0x114e88){var _0x406e69=_0x14b308;N(this,_0x406e69(0x1b6),null),N(this,'_pendingMutations',[]),(this[_0x406e69(0x457)]=_0x2e49bb,this[_0x406e69(0x1a2)]=_0x558a01,this[_0x406e69(0x2e9)]=_0x5f29bb,this[_0x406e69(0x251)]=_0x5d1c63,this[_0x406e69(0x223)]=_0x27625b,this['_revisionService']=_0x336775,this[_0x406e69(0x20f)]=_0x114e88,this[_0x406e69(0x1b6)]=_0x2f7b77,this[_0x406e69(0x274)]=_0x3d2e95);}[_0x14b308(0x446)](_0x11e564){var _0x1f169a=_0x14b308;const _0x397a93=this[_0x1f169a(0x460)][_0x1f169a(0x276)](this[_0x1f169a(0x457)]);return _0x11e564[_0x1f169a(0x42c)]>_0x397a93+0x1?(this[_0x1f169a(0x2e9)][_0x1f169a(0x397)]({'from':_0x397a93,'to':_0x11e564[_0x1f169a(0x42c)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3461cb){var _0x191027=_0x14b308;this['_undoRedoService'][_0x191027(0x225)](this[_0x191027(0x457)],_0x3461cb);}[_0x14b308(0x43a)](_0x3d8755){var _0x429705=_0x14b308,_0x3978f8,_0xb45c28;(_0xb45c28=(_0x3978f8=this[_0x429705(0x2e9)])[_0x429705(0x313)])==null||_0xb45c28[_0x429705(0x471)](_0x3978f8,_0x3d8755);}['_transformIMECache'](_0x51711c){var _0x38e2ca=_0x14b308,_0x1351a1,_0x42a22e;return(_0x42a22e=(_0x1351a1=this[_0x38e2ca(0x2e9)])[_0x38e2ca(0x47d)])==null?void 0x0:_0x42a22e[_0x38e2ca(0x471)](_0x1351a1,_0x51711c);}['_transformStateCache'](_0x243661){var _0x412157=_0x14b308,_0x304233,_0x5b422c;return(_0x5b422c=(_0x304233=this['_handler'])[_0x412157(0x36e)])==null?void 0x0:_0x5b422c[_0x412157(0x471)](_0x304233,_0x243661);}['_transformRemoteChangesetByIMECache'](_0x5aeb0b){var _0x12cd39=_0x14b308,_0x37fde5,_0x8aeb81,_0x59a232;return(_0x59a232=(_0x8aeb81=(_0x37fde5=this['_handler'])[_0x12cd39(0x2b9)])==null?void 0x0:_0x8aeb81[_0x12cd39(0x471)](_0x37fde5,_0x5aeb0b))!=null?_0x59a232:_0x5aeb0b;}[_0x14b308(0x413)](_0x2cda8e){var _0x3ceae6=_0x14b308,_0x24385f,_0x4b4f06,_0x196ded;return(_0x196ded=(_0x4b4f06=(_0x24385f=this[_0x3ceae6(0x2e9)])[_0x3ceae6(0x406)])==null?void 0x0:_0x4b4f06[_0x3ceae6(0x471)](_0x24385f,_0x2cda8e))!=null?_0x196ded:_0x2cda8e;}[_0x14b308(0x411)](_0x2ec9a5){var _0x4559c5=_0x14b308,_0x2ce3ff,_0x1b4690;if(this[_0x4559c5(0x1a2)]===Q[_0x4559c5(0x42a)]){const {unitID:_0x12d72b,mutations:_0x3b574d,memberID:_0x18f380}=_0x2ec9a5,_0x480fa6=_0x3b574d[0x0][_0x4559c5(0x3ca)][_0x4559c5(0x3f3)];Array[_0x4559c5(0x346)](_0x480fa6)&&_0x480fa6['length']>0x0&&((_0x1b4690=(_0x2ce3ff=this[_0x4559c5(0x2e9)])[_0x4559c5(0x1ed)])==null||_0x1b4690[_0x4559c5(0x471)](_0x2ce3ff,{'unitID':_0x12d72b,'memberID':_0x18f380,'textRanges':_0x480fa6}));}}[_0x14b308(0x22a)](){var _0xecb339=_0x14b308,_0x894df9;(_0x894df9=this['_localCacheService'])==null||_0x894df9[_0xecb339(0x25b)](this[_0xecb339(0x457)],this[_0xecb339(0x1a2)],this[_0xecb339(0x1b6)],this[_0xecb339(0x274)]);}[_0x14b308(0x238)](){var _0x362d77=_0x14b308;return this[_0x362d77(0x460)][_0x362d77(0x276)](this[_0x362d77(0x457)]);}[_0x14b308(0x403)](){var _0x381ab1=_0x14b308;this[_0x381ab1(0x460)][_0x381ab1(0x1ef)](this[_0x381ab1(0x457)]);}[_0x14b308(0x2c2)](_0x14c5dd){var _0x52dd74=_0x14b308,_0x391401;let _0x34e101=this[_0x52dd74(0x208)](_0x14c5dd);_0x34e101=this[_0x52dd74(0x413)](_0x34e101);const _0x28188b=_0x3186f7(_0x34e101[_0x52dd74(0x2cb)],this[_0x52dd74(0x251)],{'fromCollab':!0x0});if(!_0x28188b[_0x52dd74(0x428)])throw _0x28188b[_0x52dd74(0x47a)]instanceof Error?_0x28188b[_0x52dd74(0x47a)]:new Error((_0x391401=_0x28188b[_0x52dd74(0x47a)])!=null?_0x391401:_0x52dd74(0x21c));this[_0x52dd74(0x1c4)](_0x34e101),this['_transformStateCache'](_0x34e101),this[_0x52dd74(0x458)](_0x14c5dd),this[_0x52dd74(0x43a)](_0x34e101),this[_0x52dd74(0x411)](_0x34e101),this[_0x52dd74(0x403)]();}}let De=class extends be{constructor(_0x11ee0d,_0x1fc08f,_0x10e57c,_0x2f395c,_0x393ab3,_0x35966f,_0xca0c4,_0x27fa4c,_0xab26c1,_0x1dadf4){var _0x667021=_0x14b308;super(_0x11ee0d,_0x1fc08f,null,[],_0x10e57c,_0xca0c4,_0x35966f,_0x2f395c,_0x1dadf4),N(this,'status','synced'),(this[_0x667021(0x32c)]=_0x393ab3,this[_0x667021(0x456)]=_0x27fa4c,this[_0x667021(0x241)]=_0xab26c1,this[_0x667021(0x48f)]=_0x1dadf4);}[_0x14b308(0x3c6)](_0x2eb9b0){var _0x2bd71d=_0x14b308;const _0x6b0323=this['_injector'][_0x2bd71d(0x382)](oe,this[_0x2bd71d(0x457)],this[_0x2bd71d(0x1a2)],[_0x2eb9b0],this[_0x2bd71d(0x2e9)]);return _0x6b0323['_schedule'](),_0x6b0323[_0x2bd71d(0x22a)](),_0x6b0323;}[_0x14b308(0x271)](_0x11e2a6){var _0x2dd996=_0x14b308;if(this['_checkMissing'](_0x11e2a6))return this[_0x2dd996(0x32c)][_0x2dd996(0x382)](te,this[_0x2dd996(0x457)],this[_0x2dd996(0x1a2)],null,[],null,[_0x11e2a6],this['_handler']);try{const _0x53ffe4=this['_transformService']['transformMutationsWithChangeset'](_0x11e2a6,[ur]);if(_0x2775a2(_0x53ffe4)){const {c1Prime:_0x312341}=_0x53ffe4;return this[_0x2dd996(0x2c2)](_0x312341),this;}throw _0x53ffe4[_0x2dd996(0x47a)];}catch(_0x485a7b){return this[_0x2dd996(0x456)][_0x2dd996(0x47a)](_0x485a7b),this[_0x2dd996(0x441)](!0x1);}}[_0x14b308(0x441)](_0x177c08){var _0x5d67ac=_0x14b308;return this[_0x5d67ac(0x32c)]['createInstance'](de,this['unitID'],this[_0x5d67ac(0x1a2)],null,[],this['_handler'],_0x177c08);}[_0x14b308(0x336)](){var _0x425116=_0x14b308;throw new Error(_0x425116(0x215));}[_0x14b308(0x29c)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x14b308(0x378)](){return this;}[_0x14b308(0x327)](){var _0x1ea8c0=_0x14b308;return this[_0x1ea8c0(0x32c)]['createInstance'](fe,this[_0x1ea8c0(0x457)],this['type'],null,[],this[_0x1ea8c0(0x2e9)]);}[_0x14b308(0x401)](){return this;}[_0x14b308(0x1cb)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}['fetchMiss'](){var _0x4feced=_0x14b308;const _0x41be6f=this[_0x4feced(0x460)]['getCurrentRevOfUnit'](this[_0x4feced(0x457)]);return this[_0x4feced(0x2e9)][_0x4feced(0x397)]({'from':_0x41be6f,'to':0x0}),this[_0x4feced(0x32c)][_0x4feced(0x382)](te,this[_0x4feced(0x457)],this[_0x4feced(0x1a2)],null,[],null,[],this[_0x4feced(0x2e9)]);}};De=Re([A(0x3,_0x2a95eb(_0x4a6cda)),A(0x4,_0x2a95eb(_0x2adb1c)),A(0x5,_0x430efd),A(0x6,_0x5d3dab),A(0x7,_0x18544f),A(0x8,_0x25af2a),A(0x9,_0x13d7ff(J))],De);let oe=class extends be{constructor(_0x2eaa40,_0x3eaa70,_0x39796d,_0x2d77d7,_0x11157f,_0x1a4f71,_0x52bdf5,_0x484c86,_0x283533,_0x4a26dd,_0x159cf1,_0x3cfc3f,_0x547e38,_0x3247db){var _0x574e21=_0x14b308;super(_0x2eaa40,_0x3eaa70,null,_0x39796d,_0x2d77d7,_0x283533,_0x547e38,_0x1a4f71,_0x3247db),N(this,_0x574e21(0x286),_0x574e21(0x1c3)),N(this,_0x574e21(0x3dd),null),N(this,_0x574e21(0x3d3),null),(this[_0x574e21(0x32c)]=_0x11157f,this[_0x574e21(0x1c9)]=_0x52bdf5,this[_0x574e21(0x456)]=_0x484c86,this[_0x574e21(0x427)]=_0x4a26dd,this[_0x574e21(0x241)]=_0x159cf1,this[_0x574e21(0x39d)]=_0x3cfc3f);}['appendMutation'](_0x3f5232){var _0x34bef9=_0x14b308;return this[_0x34bef9(0x274)][_0x34bef9(0x22b)](_0x3f5232),this[_0x34bef9(0x22a)](),this;}[_0x14b308(0x271)](_0x58d656){var _0x1cb77b=_0x14b308;if(this[_0x1cb77b(0x446)](_0x58d656))return this[_0x1cb77b(0x373)](),this['_injector'][_0x1cb77b(0x382)](te,this[_0x1cb77b(0x457)],this['type'],null,this[_0x1cb77b(0x274)],null,[_0x58d656],this[_0x1cb77b(0x2e9)]);try{const _0x54dd95=this[_0x1cb77b(0x241)][_0x1cb77b(0x43f)](_0x58d656,this[_0x1cb77b(0x274)]);if(_0x2775a2(_0x54dd95)){const {c1Prime:_0x257a2b,m2Prime:_0x3cb351}=_0x54dd95;this[_0x1cb77b(0x2c2)](_0x257a2b);const _0x509809=this[_0x1cb77b(0x32c)]['createInstance'](oe,this[_0x1cb77b(0x457)],this[_0x1cb77b(0x1a2)],_0x3cb351,this['_handler']);this[_0x1cb77b(0x373)]();const _0x39c261=new Date()['getTime'](),_0x1cd935=this['_scheduleCompleteTimestamp']?Math['max'](this['_scheduleCompleteTimestamp']-_0x39c261,0x0):this[_0x1cb77b(0x1a8)]();return _0x509809[_0x1cb77b(0x372)](_0x1cd935),_0x509809;}throw _0x54dd95[_0x1cb77b(0x47a)];}catch(_0xc72585){return this[_0x1cb77b(0x456)][_0x1cb77b(0x47a)](_0xc72585),this[_0x1cb77b(0x441)](!0x1);}}['onRemoteAck'](){var _0x2fc258=_0x14b308;throw new Error(_0x2fc258(0x432));}[_0x14b308(0x29c)](){var _0x2691e4=_0x14b308;throw new Error(_0x2691e4(0x22c));}[_0x14b308(0x378)](){return this;}[_0x14b308(0x327)](){var _0xa3b768=_0x14b308;return this[_0xa3b768(0x373)](),this[_0xa3b768(0x32c)][_0xa3b768(0x382)](fe,this[_0xa3b768(0x457)],this['type'],null,this['_pendingMutations'],this[_0xa3b768(0x2e9)]);}['toggleOnline'](){return this;}['_schedule'](_0x1ee3a1){var _0x35f245=_0x14b308;const _0xdf213b=_0x1ee3a1!=null?_0x1ee3a1:this[_0x35f245(0x1a8)]();this[_0x35f245(0x3dd)]=new Date()[_0x35f245(0x42e)]()+_0xdf213b,this[_0x35f245(0x3d3)]=setTimeout(()=>{var _0x32810d=_0x35f245;this[_0x32810d(0x373)]();let _0xabb3bf=null;switch(this[_0x32810d(0x1a2)]){case Q[_0x32810d(0x371)]:{_0xabb3bf=zt(this[_0x32810d(0x274)],this[_0x32810d(0x457)],this[_0x32810d(0x39d)],this['_revisionService'],this[_0x32810d(0x1c9)]);break;}case Q['UNIVER_DOC']:{this[_0x32810d(0x274)][_0x32810d(0x2cc)](_0x4738a9=>_0x4738a9['id']===_0x598b9e['id'])?_0xabb3bf=lr(this[_0x32810d(0x274)],this[_0x32810d(0x457)],this['_univerInstanceService'],this['_revisionService'],this['_memberService']):_0xabb3bf=zt(this['_pendingMutations'],this[_0x32810d(0x457)],this[_0x32810d(0x39d)],this[_0x32810d(0x460)],this[_0x32810d(0x1c9)]);break;}default:throw new Error(_0x32810d(0x451)+this[_0x32810d(0x1a2)]+_0x32810d(0x499));}const {changeset:_0x33aed7,pendingMutations:_0x25ca37}=_0xabb3bf;this[_0x32810d(0x2e9)]['onSendChangeset'](_0x33aed7);const _0x3441c7=_0x25ca37[_0x32810d(0x469)]?this[_0x32810d(0x32c)][_0x32810d(0x382)](ae,this[_0x32810d(0x457)],this[_0x32810d(0x1a2)],_0x33aed7,_0x25ca37,this[_0x32810d(0x2e9)],void 0x0):this[_0x32810d(0x32c)][_0x32810d(0x382)](ue,this['unitID'],this['type'],_0x33aed7,this[_0x32810d(0x2e9)]);_0x3441c7[_0x32810d(0x22a)](),this['_handler']['onStateChange'](this,_0x3441c7);},_0xdf213b);}['_getSendChangesetTimeout'](){var _0xbe65e0=_0x14b308,_0x3f6e14;const _0xf16a34=this[_0xbe65e0(0x427)][_0xbe65e0(0x45c)](q);return(_0x3f6e14=_0xf16a34==null?void 0x0:_0xf16a34[_0xbe65e0(0x2bb)])!=null?_0x3f6e14:Cn;}[_0x14b308(0x1cb)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x14b308(0x373)](){var _0x1b3368=_0x14b308;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1b3368(0x3d3)]=null);}[_0x14b308(0x441)](_0x5263a6){var _0x1fbd07=_0x14b308;return this[_0x1fbd07(0x373)](),this[_0x1fbd07(0x32c)][_0x1fbd07(0x382)](de,this[_0x1fbd07(0x457)],this[_0x1fbd07(0x1a2)],null,this['_pendingMutations'],this[_0x1fbd07(0x2e9)],_0x5263a6);}};oe=Re([A(0x4,_0x2a95eb(_0x2adb1c)),A(0x5,_0x2a95eb(_0x4a6cda)),A(0x6,_0x2a95eb(xe)),A(0x7,_0x18544f),A(0x8,_0x5d3dab),A(0x9,_0x4d8cf7),A(0xa,_0x25af2a),A(0xb,_0x1c283b),A(0xc,_0x430efd),A(0xd,_0x13d7ff(J))],oe);let ue=class extends be{constructor(_0x5b0ae9,_0x3f2606,_0x3cb54b,_0xb4d55,_0x311ac5,_0x3efa95,_0x3ba61b,_0x40352b,_0x3e05d9,_0x4ed944,_0x2d24cc){var _0x60a562=_0x14b308;super(_0x5b0ae9,_0x3f2606,_0x3cb54b,[],_0xb4d55,_0x3ba61b,_0x4ed944,_0x3efa95,_0x2d24cc),N(this,_0x60a562(0x286),'awaiting'),N(this,_0x60a562(0x1b1),0x0),N(this,_0x60a562(0x324)),N(this,_0x60a562(0x3de)),(this[_0x60a562(0x32c)]=_0x311ac5,this[_0x60a562(0x456)]=_0x40352b,this[_0x60a562(0x241)]=_0x3e05d9);}[_0x14b308(0x3c6)](_0x114bcd){var _0x59f1dd=_0x14b308;this[_0x59f1dd(0x373)]();const _0x539eaa=this[_0x59f1dd(0x32c)][_0x59f1dd(0x382)](ae,this[_0x59f1dd(0x457)],this[_0x59f1dd(0x1a2)],this['_awaitingChangeset'],[_0x114bcd],this['_handler'],this[_0x59f1dd(0x324)]);return _0x539eaa[_0x59f1dd(0x22a)](),_0x539eaa;}[_0x14b308(0x271)](_0xf7b839){var _0x360e46=_0x14b308;if(this['_checkMissing'](_0xf7b839))return this['_clearScheduledTask'](),this[_0x360e46(0x32c)][_0x360e46(0x382)](te,this[_0x360e46(0x457)],this[_0x360e46(0x1a2)],this[_0x360e46(0x1b6)],[],null,[_0xf7b839],this['_handler']);try{const _0x3b1328=this[_0x360e46(0x241)]['transformChangesets']([_0xf7b839],[this[_0x360e46(0x1b6)]],!0x1);if(_0x5f5db1(_0x3b1328)){const {c1Prime:_0x1d34e0,c2Prime:_0x478b89}=_0x3b1328;this[_0x360e46(0x2c2)](_0x1d34e0[0x0]),_0x478b89[0x0][_0x360e46(0x258)]=this[_0x360e46(0x238)](),this[_0x360e46(0x373)]();const _0xd2435f=this[_0x360e46(0x32c)][_0x360e46(0x382)](ue,this[_0x360e46(0x457)],this[_0x360e46(0x1a2)],_0x478b89[0x0],this['_handler']);return _0xd2435f[_0x360e46(0x22a)](),_0xd2435f;}return this['_onConflict'](!0x1);}catch(_0x57d399){return this[_0x360e46(0x456)][_0x360e46(0x47a)](_0x57d399),this['_onConflict'](!0x1);}}[_0x14b308(0x336)](_0x3218a1){var _0x2150a5=_0x14b308;this[_0x2150a5(0x373)]();const _0x3d3961=this[_0x2150a5(0x460)]['getCurrentRevOfUnit'](this['unitID']);if(_0x3218a1[_0x2150a5(0x42c)]<_0x3d3961-0x1)return this;if(this[_0x2150a5(0x446)](_0x3218a1))return this[_0x2150a5(0x32c)][_0x2150a5(0x382)](te,this['unitID'],this['type'],null,[],this[_0x2150a5(0x1b6)],[],this[_0x2150a5(0x2e9)]);this[_0x2150a5(0x403)]();const _0x43da01=this['_injector']['createInstance'](De,this[_0x2150a5(0x457)],this[_0x2150a5(0x1a2)],this['_handler']);return _0x43da01[_0x2150a5(0x22a)](),_0x43da01;}[_0x14b308(0x29c)](_0x35c468){var _0x211017=_0x14b308;return this[_0x211017(0x441)](!!(_0x35c468!=null&&_0x35c468[_0x211017(0x3e8)]));}[_0x14b308(0x378)](_0x597fe7){var _0x25d937=_0x14b308;return this['_resendTimeout']>Ni?this[_0x25d937(0x327)]():(this[_0x25d937(0x324)]=Oi(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x597fe7[_0x25d937(0x3f2)]}),this[_0x25d937(0x3de)]=this[_0x25d937(0x324)]['subscribe'](({reqId:_0xa92d8b,timeout:_0x3799bd})=>{var _0x453612=_0x25d937;this[_0x453612(0x1f4)](_0xa92d8b,_0x3799bd);}),this);}['toggleOffline'](){var _0x144423=_0x14b308;return this['_clearScheduledTask'](),this[_0x144423(0x32c)][_0x144423(0x382)](fe,this['unitID'],this[_0x144423(0x1a2)],this[_0x144423(0x1b6)],[],this[_0x144423(0x2e9)]);}['toggleOnline'](){return this;}['resend'](){var _0xaa8f90=_0x14b308;this['_handler'][_0xaa8f90(0x33b)](this['_awaitingChangeset']);}[_0x14b308(0x441)](_0x5198fe){var _0x85310b=_0x14b308;return this['_clearScheduledTask'](),this['_injector'][_0x85310b(0x382)](de,this[_0x85310b(0x457)],this[_0x85310b(0x1a2)],this[_0x85310b(0x1b6)],[],this[_0x85310b(0x2e9)],_0x5198fe);}[_0x14b308(0x1f4)](_0x31086f,_0x517230){var _0x58ad07=_0x14b308,_0x3368e6;_0x31086f===((_0x3368e6=this[_0x58ad07(0x1b6)])==null?void 0x0:_0x3368e6['reqId'])&&(this['resend'](),this[_0x58ad07(0x1b1)]=_0x517230===0x0?0x3e8:_0x517230*0x2);}[_0x14b308(0x373)](){var _0x229fca=_0x14b308,_0x3acc31;(_0x3acc31=this[_0x229fca(0x3de)])==null||_0x3acc31[_0x229fca(0x392)](),this[_0x229fca(0x1b1)]=0x0;}};ue=Re([A(0x4,_0x2a95eb(_0x2adb1c)),A(0x5,_0x2a95eb(_0x4a6cda)),A(0x6,_0x5d3dab),A(0x7,_0x18544f),A(0x8,_0x25af2a),A(0x9,_0x430efd),A(0xa,_0x13d7ff(J))],ue);let ae=class extends be{constructor(_0xd8392f,_0x16befc,_0xb9233f,_0x1b5fde,_0x3fb1fd,_0x1cc70,_0x28d2b6,_0x1f97e3,_0xe440dc,_0x135af6,_0x402791,_0x36c970,_0x34ae2e){var _0x298bcf=_0x14b308;super(_0xd8392f,_0x16befc,_0xb9233f,_0x1b5fde,_0x3fb1fd,_0xe440dc,_0x36c970,_0x1f97e3,_0x34ae2e),N(this,_0x298bcf(0x286),'awaiting_with_pending'),N(this,_0x298bcf(0x1b1),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this[_0x298bcf(0x32c)]=_0x28d2b6,this['_logService']=_0x135af6,this['_transformService']=_0x402791,this['localCacheService']=_0x34ae2e,_0x1cc70&&(this[_0x298bcf(0x324)]=_0x1cc70,this[_0x298bcf(0x3de)]=this[_0x298bcf(0x324)]['subscribe'](({reqId:_0x92362a,timeout:_0x28bb70})=>{var _0x58072d=_0x298bcf;this[_0x58072d(0x1f4)](_0x92362a,_0x28bb70);})));}[_0x14b308(0x3c6)](_0x3d907a){var _0x48d589=_0x14b308;return this['_pendingMutations'][_0x48d589(0x22b)](_0x3d907a),this;}[_0x14b308(0x271)](_0x4b92aa){var _0x268deb=_0x14b308;if(this[_0x268deb(0x446)](_0x4b92aa))return this[_0x268deb(0x373)](),this[_0x268deb(0x32c)][_0x268deb(0x382)](te,this[_0x268deb(0x457)],this['type'],this[_0x268deb(0x1b6)],this[_0x268deb(0x274)],null,[_0x4b92aa],this[_0x268deb(0x2e9)]);try{const _0x1e19a6=this['_transformService'][_0x268deb(0x244)]([_0x4b92aa],[this[_0x268deb(0x1b6)]],!0x1);if(_0x5f5db1(_0x1e19a6)){const {c1Prime:_0x5ceb6a,c2Prime:_0x4beb70}=_0x1e19a6,_0x39427f=this[_0x268deb(0x241)][_0x268deb(0x43f)](_0x5ceb6a[0x0],this[_0x268deb(0x274)]);if(_0x2775a2(_0x39427f)){const {c1Prime:_0x182793,m2Prime:_0x6456d9}=_0x39427f;return this[_0x268deb(0x2c2)](_0x182793),_0x4beb70[0x0][_0x268deb(0x258)]=this[_0x268deb(0x238)](),this[_0x268deb(0x373)](),this[_0x268deb(0x32c)][_0x268deb(0x382)](ae,this[_0x268deb(0x457)],this['type'],_0x4beb70[0x0],_0x6456d9,this[_0x268deb(0x2e9)],void 0x0);}throw _0x39427f[_0x268deb(0x47a)];}throw _0x1e19a6[_0x268deb(0x47a)];}catch(_0x445549){return this['_logService'][_0x268deb(0x47a)](_0x445549),this['_onConflict'](!0x1);}}[_0x14b308(0x336)](_0xabac98){var _0x1f9685=_0x14b308;if(this[_0x1f9685(0x373)](),this[_0x1f9685(0x446)](_0xabac98))return this[_0x1f9685(0x32c)][_0x1f9685(0x382)](te,this[_0x1f9685(0x457)],this['type'],null,this[_0x1f9685(0x274)],this[_0x1f9685(0x1b6)],[],this[_0x1f9685(0x2e9)]);this[_0x1f9685(0x403)]();const _0x317596=this['_injector'][_0x1f9685(0x382)](oe,this[_0x1f9685(0x457)],this[_0x1f9685(0x1a2)],this[_0x1f9685(0x274)],this[_0x1f9685(0x2e9)]);return _0x317596[_0x1f9685(0x372)](),_0x317596[_0x1f9685(0x22a)](),_0x317596;}['onRemoteRej'](_0x5ce968){var _0x214477=_0x14b308;return this[_0x214477(0x441)](!!(_0x5ce968!=null&&_0x5ce968[_0x214477(0x3e8)]));}[_0x14b308(0x378)](_0x30f040){var _0x381f7b=_0x14b308;return this[_0x381f7b(0x1b1)]>Ni?this['toggleOffline']():(this[_0x381f7b(0x324)]=Oi(this[_0x381f7b(0x1b1)],{'timeout':this[_0x381f7b(0x1b1)],'reqId':_0x30f040[_0x381f7b(0x3f2)]}),this[_0x381f7b(0x3de)]=this[_0x381f7b(0x324)][_0x381f7b(0x31a)](({reqId:_0x473337,timeout:_0x50d205})=>{this['_resendWithTimeout'](_0x473337,_0x50d205);}),this);}[_0x14b308(0x327)](){var _0x4d616d=_0x14b308;return this[_0x4d616d(0x373)](),this[_0x4d616d(0x32c)][_0x4d616d(0x382)](fe,this[_0x4d616d(0x457)],this['type'],this[_0x4d616d(0x1b6)],this[_0x4d616d(0x274)],this[_0x4d616d(0x2e9)]);}['toggleOnline'](){return this;}[_0x14b308(0x1cb)](){var _0x711ee0=_0x14b308;this[_0x711ee0(0x2e9)][_0x711ee0(0x33b)](this[_0x711ee0(0x1b6)]);}['_onConflict'](_0x246d05){var _0x1b953c=_0x14b308;return this[_0x1b953c(0x373)](),this[_0x1b953c(0x32c)][_0x1b953c(0x382)](de,this[_0x1b953c(0x457)],this[_0x1b953c(0x1a2)],null,this[_0x1b953c(0x274)],this[_0x1b953c(0x2e9)],_0x246d05);}[_0x14b308(0x1f4)](_0x3cd98d,_0x2ba2c7){var _0xb169da=_0x14b308,_0x432ac8;_0x3cd98d===((_0x432ac8=this[_0xb169da(0x1b6)])==null?void 0x0:_0x432ac8['reqId'])&&(this[_0xb169da(0x1cb)](),this[_0xb169da(0x1b1)]=_0x2ba2c7===0x0?0x3e8:_0x2ba2c7*0x2);}[_0x14b308(0x373)](){var _0x1c3fcf=_0x14b308,_0x48979d;(_0x48979d=this[_0x1c3fcf(0x3de)])==null||_0x48979d[_0x1c3fcf(0x392)](),this[_0x1c3fcf(0x1b1)]=0x0;}};ae=Re([A(0x6,_0x2a95eb(_0x2adb1c)),A(0x7,_0x2a95eb(_0x4a6cda)),A(0x8,_0x5d3dab),A(0x9,_0x18544f),A(0xa,_0x25af2a),A(0xb,_0x430efd),A(0xc,_0x13d7ff(J))],ae);let de=class extends be{constructor(_0x1c57bd,_0x1cdff9,_0x45e5ec,_0x297bb9,_0x33069f,_0x35e945=!0x1,_0x41832e,_0x545ca4,_0x5393eb,_0x4a606e,_0x1fa564,_0x4f808c,_0x4dcf0d){var _0x30c1fb=_0x14b308;super(_0x1c57bd,_0x1cdff9,_0x45e5ec,_0x297bb9,_0x33069f,_0x545ca4,_0x5393eb,_0x4a606e,_0x4dcf0d),N(this,_0x30c1fb(0x286),_0x30c1fb(0x19f)),(this[_0x30c1fb(0x418)]=_0x35e945,this[_0x30c1fb(0x261)]=_0x41832e,this[_0x30c1fb(0x326)]=_0x1fa564,this['_collaborationUIEventService']=_0x4f808c,this[_0x30c1fb(0x48f)]=_0x4dcf0d,this[_0x30c1fb(0x20d)](),this[_0x30c1fb(0x204)](),this['_disableEditing']());}[_0x14b308(0x3c6)](){return this;}['onRemoteChangeset'](){return this;}[_0x14b308(0x336)](){return this;}['onRemoteRej'](){return this;}[_0x14b308(0x378)](){return this;}[_0x14b308(0x327)](){return this;}['toggleOnline'](){return this;}[_0x14b308(0x1cb)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x14b308(0x204)](){var _0x48fc7d=_0x14b308,_0x32be6c;(_0x32be6c=this[_0x48fc7d(0x20f)])==null||_0x32be6c[_0x48fc7d(0x25b)](this['unitID'],this[_0x48fc7d(0x1a2)],null,[]);}[_0x14b308(0x20d)](){var _0x4e98e6=_0x14b308;this['_isPermissionRej']?this[_0x4e98e6(0x38c)]['emitEvent']({'id':se['PERMISSION_DENIED']}):this[_0x4e98e6(0x38c)][_0x4e98e6(0x2ae)]({'id':se[_0x4e98e6(0x470)]});}[_0x14b308(0x203)](){var _0x351ed1=_0x14b308;this[_0x351ed1(0x261)][_0x351ed1(0x27f)](new _0x1c3be3(this[_0x351ed1(0x457)])['id'],!0x1);}};de=Re([A(0x6,_0x2a95eb(_0x395e94)),A(0x7,_0x5d3dab),A(0x8,_0x430efd),A(0x9,_0x2a95eb(_0x4a6cda)),A(0xa,_0x2a95eb(_0x53b65d)),A(0xb,_0x2a95eb(pe)),A(0xc,_0x13d7ff(J))],de);let fe=class extends be{constructor(_0xedfaa9,_0xd92769,_0x1409c0,_0x58e15d,_0x30b034,_0x4d39d,_0x194232,_0x4bc2c6,_0x1d5043,_0x198e76){var _0x4dfa0d=_0x14b308;super(_0xedfaa9,_0xd92769,_0x1409c0,_0x58e15d,_0x30b034,_0x4bc2c6,_0x1d5043,_0x194232,_0x198e76),N(this,_0x4dfa0d(0x286),_0x4dfa0d(0x321)),this['_injector']=_0x4d39d;}[_0x14b308(0x3c6)](_0x1a2832){var _0x210aa8=_0x14b308;return this[_0x210aa8(0x274)][_0x210aa8(0x22b)](_0x1a2832),this[_0x210aa8(0x22a)](),this;}[_0x14b308(0x271)](_0x2ae760){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x14b308(0x336)](){var _0x2e8a85=_0x14b308;throw new Error(_0x2e8a85(0x234));}[_0x14b308(0x29c)](){var _0xe8fe92=_0x14b308;throw new Error(_0xe8fe92(0x434));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x14b308(0x401)](){var _0x148bd5=_0x14b308;const {_injector:_0x3f6de7,_pendingMutations:_0x4fe757,_awaitingChangeset:_0x2af452,unitID:_0x3cfaf1,_handler:_0x2d47c6,type:_0x4e0371}=this,_0x2acf8b=Di(_0x3f6de7,_0x3cfaf1,_0x4e0371,_0x2af452,_0x4fe757,_0x2d47c6);return _0x2acf8b instanceof oe?_0x2acf8b['_schedule']():(_0x2acf8b instanceof ae||_0x2acf8b instanceof ue)&&_0x2acf8b[_0x148bd5(0x1cb)](),_0x2acf8b;}['resend'](){var _0x48c0fd=_0x14b308;throw new Error(_0x48c0fd(0x40a));}};fe=Re([A(0x5,_0x2a95eb(_0x2adb1c)),A(0x6,_0x2a95eb(_0x4a6cda)),A(0x7,_0x5d3dab),A(0x8,_0x430efd),A(0x9,_0x13d7ff(J))],fe);let te=class extends be{constructor(_0x352c46,_0x4b8ae4,_0x4668db,_0x2ac3d0,_0x351ba0,_0x42da17,_0x4e7275,_0x160380,_0x1f750b,_0x439983,_0x52431a,_0x3c1367,_0xc75f51,_0x398b40){var _0x40ead8=_0x14b308;super(_0x352c46,_0x4b8ae4,_0x4668db,_0x2ac3d0,_0x4e7275,_0x52431a,_0x3c1367,_0x1f750b,_0x398b40),N(this,_0x40ead8(0x286),'fetch_missing'),(this[_0x40ead8(0x2f0)]=_0x351ba0,this[_0x40ead8(0x1c2)]=_0x42da17,this[_0x40ead8(0x32c)]=_0x160380,this[_0x40ead8(0x456)]=_0x439983,this[_0x40ead8(0x241)]=_0xc75f51,this[_0x40ead8(0x48f)]=_0x398b40);}[_0x14b308(0x25f)](_0x249d4b){var _0x201008=_0x14b308;try{const _0x24e323=[..._0x249d4b,...this[_0x201008(0x1c2)]],_0x5f41e0=[this[_0x201008(0x1b6)]||this['_acknowledgedAwaitingChangeset']]['filter'](_0x32bac9=>!!_0x32bac9);let _0x496cbf,_0x41a9bb;if(_0x5f41e0['length']){const _0x46d42c=this[_0x201008(0x241)]['transformChangesets'](_0x24e323,_0x5f41e0,!0x1);if(!_0x5f5db1(_0x46d42c))throw _0x46d42c[_0x201008(0x47a)];_0x496cbf=_0x46d42c['c1Prime'],_0x41a9bb=_0x46d42c[_0x201008(0x1b4)];}else _0x496cbf=_0x24e323,_0x41a9bb=[];let _0x4b1fd1=this['_pendingMutations'];_0x496cbf[_0x201008(0x287)](_0x1a6d5d=>{var _0x31acd4=_0x201008;let _0xdf72c7;if(_0x4b1fd1['length']){const _0x5036a0=this[_0x31acd4(0x241)][_0x31acd4(0x43f)](_0x1a6d5d,_0x4b1fd1);if(!_0x2775a2(_0x5036a0))throw _0x5036a0[_0x31acd4(0x47a)];_0xdf72c7=_0x5036a0[_0x31acd4(0x3e6)],_0x4b1fd1=_0x5036a0['m2Prime'];}else _0xdf72c7=_0x1a6d5d;this[_0x31acd4(0x2c2)](_0xdf72c7);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x41a9bb[_0x201008(0x469)]&&(_0x41a9bb[0x0]['baseRev']=this['_getCurrentRevision']());let _0x40d570;if(this['_awaitingChangeset']&&_0x4b1fd1[_0x201008(0x469)]!==0x0)_0x40d570=this[_0x201008(0x32c)]['createInstance'](ae,this[_0x201008(0x457)],this[_0x201008(0x1a2)],_0x41a9bb[0x0],_0x4b1fd1,this[_0x201008(0x2e9)],void 0x0);else{if(this[_0x201008(0x1b6)]&&_0x4b1fd1[_0x201008(0x469)]===0x0)_0x41a9bb[0x0]['baseRev']=this['_getCurrentRevision'](),_0x40d570=this['_injector']['createInstance'](ue,this[_0x201008(0x457)],this[_0x201008(0x1a2)],_0x41a9bb[0x0],this[_0x201008(0x2e9)]);else{if(_0x4b1fd1[_0x201008(0x469)]!==0x0){const _0x47e93f=this['_injector'][_0x201008(0x382)](oe,this[_0x201008(0x457)],this[_0x201008(0x1a2)],_0x4b1fd1,this[_0x201008(0x2e9)]);_0x47e93f[_0x201008(0x372)](),_0x40d570=_0x47e93f;}else _0x40d570=this['_injector'][_0x201008(0x382)](De,this[_0x201008(0x457)],this[_0x201008(0x1a2)],this[_0x201008(0x2e9)]);}}return _0x40d570['_updateLocalCache'](),_0x40d570;}catch(_0x5a7802){return this[_0x201008(0x456)][_0x201008(0x47a)](_0x201008(0x400),_0x201008(0x3be),_0x5a7802),this[_0x201008(0x32c)]['createInstance'](de,this[_0x201008(0x457)],this[_0x201008(0x1a2)],this[_0x201008(0x1b6)],this['_pendingMutations'],this['_handler'],!0x1);}}['resend'](){var _0x342aa3=_0x14b308;throw new Error(_0x342aa3(0x1f2));}['appendMutation'](_0x12aaa6){var _0x51d02f=_0x14b308;return this[_0x51d02f(0x274)][_0x51d02f(0x22b)](_0x12aaa6),this;}['onRemoteChangeset'](_0x102bfa){var _0x27c4fc=_0x14b308;return this['_queuedRemoteChangesets'][_0x27c4fc(0x22b)](_0x102bfa),this;}['onRemoteAck'](_0x272278){var _0x11e556=_0x14b308;if(this[_0x11e556(0x1b6)])return this[_0x11e556(0x2f0)]=this[_0x11e556(0x1b6)],this['_awaitingChangeset']=null,this;throw new Error(_0x11e556(0x24d));}['onRemoteRej'](_0x4e5c6d){var _0x21100b=_0x14b308;return this['_onConflict'](!!(_0x4e5c6d!=null&&_0x4e5c6d[_0x21100b(0x3e8)]));}[_0x14b308(0x378)](){return this;}[_0x14b308(0x327)](){var _0x5749a=_0x14b308;return this[_0x5749a(0x32c)][_0x5749a(0x382)](fe,this[_0x5749a(0x457)],this['type'],this[_0x5749a(0x1b6)],this['_pendingMutations'],this[_0x5749a(0x2e9)]);}[_0x14b308(0x401)](){return this;}['_onConflict'](_0x3dad0c){var _0x2e5817=_0x14b308;return this[_0x2e5817(0x32c)][_0x2e5817(0x382)](de,this[_0x2e5817(0x457)],this['type'],this[_0x2e5817(0x1b6)],this['_pendingMutations'],this[_0x2e5817(0x2e9)],_0x3dad0c);}};te=Re([A(0x7,_0x2a95eb(_0x2adb1c)),A(0x8,_0x2a95eb(_0x4a6cda)),A(0x9,_0x18544f),A(0xa,_0x5d3dab),A(0xb,_0x430efd),A(0xc,_0x25af2a),A(0xd,_0x13d7ff(J))],te);function Di(_0x2f3c82,_0x50dfb5,_0x4a4b20,_0x5e3b62,_0x2d0273,_0x403bd5){var _0x2a4fdc=_0x14b308;return _0x5e3b62&&_0x2d0273[_0x2a4fdc(0x469)]?_0x2f3c82[_0x2a4fdc(0x382)](ae,_0x50dfb5,_0x4a4b20,_0x5e3b62,_0x2d0273,_0x403bd5,void 0x0):_0x5e3b62?_0x2f3c82[_0x2a4fdc(0x382)](ue,_0x50dfb5,_0x4a4b20,_0x5e3b62,_0x403bd5):_0x2d0273['length']?_0x2f3c82[_0x2a4fdc(0x382)](oe,_0x50dfb5,_0x4a4b20,_0x2d0273,_0x403bd5):_0x2f3c82[_0x2a4fdc(0x382)](De,_0x50dfb5,_0x4a4b20,_0x403bd5);}var vr=Object[_0x14b308(0x380)],pr=Object[_0x14b308(0x498)],Lt=(_0x3b1e28,_0x448a5c,_0x4f9545,_0x217387)=>{var _0x43550f=_0x14b308;for(var _0x460443=_0x217387>0x1?void 0x0:_0x217387?pr(_0x448a5c,_0x4f9545):_0x448a5c,_0xac92c2=_0x3b1e28[_0x43550f(0x469)]-0x1,_0x2abc1c;_0xac92c2>=0x0;_0xac92c2--)(_0x2abc1c=_0x3b1e28[_0xac92c2])&&(_0x460443=(_0x217387?_0x2abc1c(_0x448a5c,_0x4f9545,_0x460443):_0x2abc1c(_0x460443))||_0x460443);return _0x217387&&_0x460443&&vr(_0x448a5c,_0x4f9545,_0x460443),_0x460443;},k=(_0x4dfda7,_0x41042c)=>(_0x1734f2,_0x126f0a)=>_0x41042c(_0x1734f2,_0x126f0a,_0x4dfda7);let nt=class extends _0x4d8d70{constructor(_0xa3ef3f,_0x4a6b25,_0x3062c7,_0x4b95c4,_0x165c66,_0x1e3124,_0x5513d5,_0x39d3e9,_0x15dab7,_0x2434c3,_0x276906,_0x51bfda,_0x45aaf5){var _0x42f6ad=_0x14b308;super(),N(this,_0x42f6ad(0x476),new _0x937a61(null)),N(this,'state$',this[_0x42f6ad(0x476)][_0x42f6ad(0x463)]()),N(this,'_state'),N(this,'_collaborationPaused',!0x1),N(this,_0x42f6ad(0x3ee),''),N(this,'_changesetReqId',0x0),N(this,_0x42f6ad(0x3c9),this[_0x42f6ad(0x2f5)]['pipe'](_0x12d25c(_0x90fe3e=>_0x90fe3e?_0x90fe3e[_0x42f6ad(0x286)]:yi[_0x42f6ad(0x227)]),_0x819fe2(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x42f6ad(0x2e4),[]),(this['unitID']=_0xa3ef3f,this[_0x42f6ad(0x3bb)]=_0x4a6b25,this[_0x42f6ad(0x45b)]=_0x3062c7,this[_0x42f6ad(0x32c)]=_0x4b95c4,this[_0x42f6ad(0x2c4)]=_0x165c66,this[_0x42f6ad(0x326)]=_0x1e3124,this[_0x42f6ad(0x460)]=_0x5513d5,this['_eventService']=_0x39d3e9,this['_logService']=_0x15dab7,this[_0x42f6ad(0x251)]=_0x2434c3,this['_permissionService']=_0x276906,this['_singleActiveUnitService']=_0x51bfda,this[_0x42f6ad(0x20f)]=_0x45aaf5);}get[_0x14b308(0x33a)](){var _0x344d9d=_0x14b308;return this[_0x344d9d(0x32b)];}async['init'](){var _0x432f4a=_0x14b308;if(this[_0x432f4a(0x33a)])throw new Error(_0x432f4a(0x26f));await this['_init']();}[_0x14b308(0x26e)](){return this['_collaborationPaused']=!0x0,_0x1d3129(()=>{var _0x1b49e8=_0x2c62;this[_0x1b49e8(0x366)]=!0x1,this[_0x1b49e8(0x267)]();});}['onLocalMutation'](_0xd1ca68){var _0x530ce6=_0x14b308;this[_0x530ce6(0x275)](_0xd1ca68);}['_updateState'](_0x3abad0){var _0x29421a=_0x14b308;this[_0x29421a(0x32b)]=_0x3abad0,this[_0x29421a(0x476)]['next'](_0x3abad0);}async[_0x14b308(0x231)](){var _0x1040e6=_0x14b308,_0x590901;this[_0x1040e6(0x472)](await this[_0x1040e6(0x3f5)]()),this['_singleActiveUnitService']&&((_0x590901=this[_0x1040e6(0x445)])==null||_0x590901[_0x1040e6(0x1d7)](this[_0x1040e6(0x457)]),this[_0x1040e6(0x269)](this['_singleActiveUnitService']['getUnitStatus$'](this['unitID'])[_0x1040e6(0x31a)](_0x4591bb=>{var _0x2465e8=_0x1040e6;this['_logService']['debug'](_0x2465e8(0x2ef),_0x2465e8(0x454),_0x4591bb),_0x4591bb===bi[_0x2465e8(0x2b3)]?(this['_eventService'][_0x2465e8(0x2ae)]({'id':se[_0x2465e8(0x435)]}),this[_0x2465e8(0x261)][_0x2465e8(0x27f)](new _0x1c3be3(this[_0x2465e8(0x457)])['id'],!0x1),this[_0x2465e8(0x261)][_0x2465e8(0x3b4)](!0x1)):(this[_0x2465e8(0x261)][_0x2465e8(0x27f)](new _0x1c3be3(this['unitID'])['id'],!0x0),this[_0x2465e8(0x261)]['setShowComponents'](!0x0));})));let _0x24d9ae=!0x1;return this[_0x1040e6(0x269)](this[_0x1040e6(0x3bb)][_0x1040e6(0x253)][_0x1040e6(0x31a)](_0x435105=>{var _0x31cad2=_0x1040e6;_0x435105===Te[_0x31cad2(0x34b)]?this['_toggleOnline'](_0x24d9ae):_0x435105===Te[_0x31cad2(0x227)]&&(_0x24d9ae=!0x0,this[_0x31cad2(0x1de)]());})),this[_0x1040e6(0x269)](this[_0x1040e6(0x3bb)][_0x1040e6(0x3fa)][_0x1040e6(0x31a)](_0x3a1743=>{var _0x3d6cca=_0x1040e6;try{switch(_0x3a1743[_0x3d6cca(0x330)]){case _0x1a2e08[_0x3d6cca(0x3d2)]:{this['_onRemoteChangeset'](_0x54eb44(_0x3a1743[_0x3d6cca(0x3f1)]));break;}case _0x1a2e08[_0x3d6cca(0x199)]:{this['_onRemoteACK'](_0x3a1743[_0x3d6cca(0x3f1)]);break;}case _0x1a2e08[_0x3d6cca(0x44b)]:{this[_0x3d6cca(0x296)]();break;}case _0x1a2e08[_0x3d6cca(0x2b4)]:{this[_0x3d6cca(0x294)](_0x3a1743['data']);break;}case _0x1a2e08[_0x3d6cca(0x3ea)]:{this[_0x3d6cca(0x351)](_0x3a1743['data'][_0x3d6cca(0x352)][_0x3d6cca(0x45d)](_0x14fb35=>_0x54eb44(_0x14fb35)));break;}case _0x1a2e08[_0x3d6cca(0x304)]:{this[_0x3d6cca(0x296)]({'isPermissionRej':!0x0});break;}case _0x1a2e08[_0x3d6cca(0x1e2)]:break;}}catch(_0x2368bd){throw console[_0x3d6cca(0x47a)](_0x3d6cca(0x32f),_0x2368bd),_0x2368bd;}})),this[_0x1040e6(0x32b)];}[_0x14b308(0x20e)](){var _0x1650a7=_0x14b308;this[_0x1650a7(0x29d)]=!0x1;}[_0x14b308(0x33c)](){var _0x2f2ad6=_0x14b308;if(this[_0x2f2ad6(0x29d)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x14b308(0x275)](_0x221967){var _0x532085=_0x14b308;this[_0x532085(0x33c)](),this['_updateState'](this['_state'][_0x532085(0x3c6)](_0x221967)),this[_0x532085(0x20e)]();}[_0x14b308(0x1d3)](_0x4f6f7f){var _0x465d7e=_0x14b308;if(!(_0x4f6f7f[_0x465d7e(0x42c)]<=this[_0x465d7e(0x460)][_0x465d7e(0x276)](this[_0x465d7e(0x457)]))){if(this[_0x465d7e(0x366)]){this[_0x465d7e(0x2e4)][_0x465d7e(0x22b)](_0x4f6f7f);return;}this[_0x465d7e(0x367)](_0x4f6f7f);}}[_0x14b308(0x267)](){var _0x573217=_0x14b308;this[_0x573217(0x2e4)][_0x573217(0x287)](_0x27de1e=>this[_0x573217(0x367)](_0x27de1e)),this['_remoteChangesetQueue']=[];}[_0x14b308(0x367)](_0x3eab0b){var _0x43f4dc=_0x14b308;const _0x31904f=this[_0x43f4dc(0x2c4)][_0x43f4dc(0x23e)]['fetchThroughInterceptors'](this[_0x43f4dc(0x2c4)][_0x43f4dc(0x23e)]['getInterceptPoints']()[_0x43f4dc(0x1ac)])(_0x3eab0b['mutations'],null)||_0x3eab0b[_0x43f4dc(0x2cb)],_0x1bf553={..._0x3eab0b,'mutations':_0x31904f};this[_0x43f4dc(0x33c)](),this[_0x43f4dc(0x472)](this['_state']['onRemoteChangeset'](_0x1bf553)),this[_0x43f4dc(0x20e)]();}[_0x14b308(0x39a)](_0x44605a){var _0x346f01=_0x14b308;this[_0x346f01(0x33c)](),this[_0x346f01(0x472)](this[_0x346f01(0x32b)][_0x346f01(0x336)](_0x44605a)),this[_0x346f01(0x20e)]();}[_0x14b308(0x296)](_0xce4005){var _0x1cd33d=_0x14b308;this[_0x1cd33d(0x33c)](),this['_updateState'](this[_0x1cd33d(0x32b)]['onRemoteRej'](_0xce4005)),this['_unlockTransition']();}[_0x14b308(0x294)](_0x5e8615){var _0x5b374b=_0x14b308;this[_0x5b374b(0x33c)](),this[_0x5b374b(0x472)](this['_state'][_0x5b374b(0x378)](_0x5e8615)),this[_0x5b374b(0x20e)]();}[_0x14b308(0x351)](_0x749520){var _0x4b7df8=_0x14b308;if(!(this[_0x4b7df8(0x32b)]instanceof te))throw new TypeError(_0x4b7df8(0x47b));const _0x441535=_0x749520[_0x4b7df8(0x45d)](_0x31a960=>{var _0x4c1b58=_0x4b7df8;const _0x2feaf7=this[_0x4c1b58(0x2c4)][_0x4c1b58(0x23e)][_0x4c1b58(0x1be)](this[_0x4c1b58(0x2c4)][_0x4c1b58(0x23e)][_0x4c1b58(0x3dc)]()[_0x4c1b58(0x1ac)])(_0x31a960['mutations'],null)||_0x31a960[_0x4c1b58(0x2cb)];return{..._0x31a960,'mutations':_0x2feaf7};});this[_0x4b7df8(0x33c)](),this[_0x4b7df8(0x472)](this[_0x4b7df8(0x32b)][_0x4b7df8(0x25f)](_0x441535)),this[_0x4b7df8(0x20e)]();}[_0x14b308(0x1de)](){var _0x51c4eb=_0x14b308;this[_0x51c4eb(0x33c)](),this[_0x51c4eb(0x472)](this['_state']['toggleOffline']()),this['_unlockTransition']();}[_0x14b308(0x3a8)](_0x1bb276=!0x1){var _0x4babcf=_0x14b308;this['_lockTransition'](),this['_updateState'](this['_state'][_0x4babcf(0x401)]()),this[_0x4babcf(0x20e)]();const _0x4e5fbf=this[_0x4babcf(0x32b)];_0x1bb276&&_0x4e5fbf instanceof De&&(this['_lockTransition'](),this[_0x4babcf(0x472)](_0x4e5fbf[_0x4babcf(0x1e8)]()),this[_0x4babcf(0x20e)]());}async[_0x14b308(0x3f5)](){return new Promise(_0x31ffba=>{var _0x518795=_0x2c62;this[_0x518795(0x3bb)]['sessionStatus$'][_0x518795(0x310)](_0x6b16a2(0x1))['subscribe'](async _0x3fc38c=>{var _0x2de6d3=_0x518795;_0x31ffba(await this[_0x2de6d3(0x481)](_0x3fc38c===Te['ONLINE']));});});}['_createHandler'](){var _0x17480a=_0x14b308;const _0x44f9e9=this[_0x17480a(0x457)];return{'onStateChange':(_0x428181,_0x1c0f9c)=>{var _0x3d89e5=_0x17480a;if(_0x428181!==this[_0x3d89e5(0x32b)])throw new Error(_0x3d89e5(0x2c7)+_0x428181[_0x3d89e5(0x286)]+_0x3d89e5(0x3eb)+_0x1c0f9c[_0x3d89e5(0x286)]+_0x3d89e5(0x23b)+this[_0x3d89e5(0x32b)][_0x3d89e5(0x286)]);this[_0x3d89e5(0x472)](_0x1c0f9c);},'onSendChangeset':_0x4e931a=>{var _0x38f1e7=_0x17480a;_0x4e931a[_0x38f1e7(0x3a1)]||(_0x4e931a['sid']=this[_0x38f1e7(0x3ee)],_0x4e931a[_0x38f1e7(0x3f2)]=++this[_0x38f1e7(0x46a)]);const _0x1c42bb={'eventID':_0x1a2e08[_0x38f1e7(0x40b)],'data':{'unitID':_0x4e931a[_0x38f1e7(0x457)],'unitType':this[_0x38f1e7(0x45b)],'changeset':_0x4e931a,'memberID':this[_0x38f1e7(0x3bb)][_0x38f1e7(0x1bd)]()}};this['session']['send'](_0x1c42bb,this['unitID']);},'onMissingChangesets':({from:_0xb8c2cf,to:_0x6d76c6})=>{var _0xc8cd01=_0x17480a;this[_0xc8cd01(0x456)][_0xc8cd01(0x467)](_0xc8cd01(0x2ef),'fetching\x20missing\x20changesets\x20from\x20'+_0xb8c2cf+_0xc8cd01(0x281)+_0x6d76c6);const _0x16a502={'eventID':_0x1a2e08[_0xc8cd01(0x3f6)],'data':{'unitID':_0x44f9e9,'unitType':this[_0xc8cd01(0x45b)],'from':_0xb8c2cf,'to':_0x6d76c6}};this['session']['send'](_0x16a502,this[_0xc8cd01(0x457)]);}};}async[_0x14b308(0x481)](_0x436b62){var _0x43d754=_0x14b308,_0x57070a,_0x3c894a,_0x51a2b2;const _0x50d543=await((_0x57070a=this[_0x43d754(0x20f)])==null?void 0x0:_0x57070a['loadOfflineData'](this['unitID'])),_0x3e7ed1=(_0x3c894a=_0x50d543==null?void 0x0:_0x50d543[_0x43d754(0x2cb)])!=null?_0x3c894a:[],_0x595a2d=(_0x51a2b2=_0x50d543==null?void 0x0:_0x50d543[_0x43d754(0x3cd)])!=null?_0x51a2b2:null,_0x3a7666=!!(_0x595a2d!=null&&_0x595a2d[_0x43d754(0x3a1)])&&!!(_0x595a2d!=null&&_0x595a2d[_0x43d754(0x3f2)]);this[_0x43d754(0x3ee)]=_0x3a7666?_0x595a2d[_0x43d754(0x3a1)]:sr(),this[_0x43d754(0x46a)]=_0x3a7666?_0x595a2d[_0x43d754(0x3f2)]:0x0;const _0x4fe894=this[_0x43d754(0x457)];try{this[_0x43d754(0x1e1)](_0x595a2d,_0x3e7ed1);}catch(_0x21f723){this['_logService'][_0x43d754(0x47a)](_0x21f723);}const _0x126f9b=this['_createHandler']();if(_0x436b62){const _0x43de19=Di(this[_0x43d754(0x32c)],_0x4fe894,this[_0x43d754(0x45b)],_0x595a2d,_0x3e7ed1,_0x126f9b);return _0x43de19 instanceof oe?_0x43de19[_0x43d754(0x372)]():(_0x43de19 instanceof ae||_0x43de19 instanceof ue)&&_0x43de19[_0x43d754(0x1cb)](),_0x43de19;}return this[_0x43d754(0x32c)]['createInstance'](fe,_0x4fe894,this[_0x43d754(0x45b)],_0x595a2d,_0x3e7ed1,_0x126f9b);}[_0x14b308(0x1e1)](_0x5ab3b2,_0x97b3bb){var _0x378ffb=_0x14b308,_0x56358e,_0x46b165;const _0xb6bf1e=this['_compressMutationService'][_0x378ffb(0x23e)]['fetchThroughInterceptors'](this[_0x378ffb(0x2c4)][_0x378ffb(0x23e)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x56358e=_0xb6bf1e((_0x5ab3b2==null?void 0x0:_0x5ab3b2[_0x378ffb(0x2cb)])||[],null))==null||_0x56358e['forEach'](_0x11a870=>this['_commandService']['executeCommand'](_0x11a870['id'],_0x11a870[_0x378ffb(0x3ca)])),(_0x46b165=_0xb6bf1e(_0x97b3bb||[],null))==null||_0x46b165['forEach'](_0x534e9e=>this['_commandService']['executeCommand'](_0x534e9e['id'],_0x534e9e[_0x378ffb(0x3ca)]));}};nt=Lt([k(0x3,_0x2a95eb(_0x2adb1c)),k(0x4,_0x2a95eb(_0x1f145d)),k(0x5,_0x2a95eb(_0x53b65d)),k(0x6,_0x2a95eb(_0x4a6cda)),k(0x7,_0x2a95eb(pe)),k(0x8,_0x18544f),k(0x9,_0x5d3dab),k(0xa,_0x395e94),k(0xb,_0x13d7ff(ht)),k(0xc,_0x13d7ff(J))],nt);let Tt=class extends nt{constructor(_0x3d9adb,_0x111f97,_0x2a9f18,_0x5f48a0,_0xc93714,_0x58412c,_0x547def,_0x1f4b4e,_0x9c92df,_0x352a2c,_0x15ef67,_0x2b0f4e,_0x3f7017){var _0x3b2025=_0x14b308;super(_0x3d9adb,_0x2a9f18,_0x111f97,_0x5f48a0,_0xc93714,_0x58412c,_0x547def,_0x1f4b4e,_0x9c92df,_0x352a2c,_0x15ef67,_0x2b0f4e,_0x3f7017),N(this,_0x3b2025(0x39c),null),(this[_0x3b2025(0x457)]=_0x3d9adb,this[_0x3b2025(0x1a2)]=_0x111f97);}['addHandlerCallback'](_0x912353){var _0x1e36f7=_0x14b308;this[_0x1e36f7(0x39c)]=_0x912353;}['dispose'](){var _0x180f59=_0x14b308;this[_0x180f59(0x39c)]=null,super[_0x180f59(0x340)]();}['_createHandler'](){var _0x5cc8ab=_0x14b308;const _0x5a477b=super[_0x5cc8ab(0x263)]();return _0x5a477b[_0x5cc8ab(0x47d)]=_0x44b741=>{var _0xe86bfd=_0x5cc8ab,_0x4e51d4,_0x47ecc8;return(_0x47ecc8=(_0x4e51d4=this['_handlerCallback'])==null?void 0x0:_0x4e51d4['onTransformIME'])==null?void 0x0:_0x47ecc8[_0xe86bfd(0x471)](_0x4e51d4,_0x44b741);},_0x5a477b[_0x5cc8ab(0x36e)]=_0x3e444f=>{var _0x376950=_0x5cc8ab,_0x47bb78,_0x5113a1;return(_0x5113a1=(_0x47bb78=this['_handlerCallback'])==null?void 0x0:_0x47bb78[_0x376950(0x36e)])==null?void 0x0:_0x5113a1[_0x376950(0x471)](_0x47bb78,_0x3e444f);},_0x5a477b[_0x5cc8ab(0x313)]=_0x3eda7b=>{var _0xab99d6=_0x5cc8ab,_0x5cb425,_0x3abf9e;return(_0x3abf9e=(_0x5cb425=this[_0xab99d6(0x39c)])==null?void 0x0:_0x5cb425[_0xab99d6(0x313)])==null?void 0x0:_0x3abf9e[_0xab99d6(0x471)](_0x5cb425,_0x3eda7b);},_0x5a477b['onSyncEditingCollabCursor']=_0x432a84=>{var _0x4a7d0d=_0x5cc8ab,_0xe75da2,_0x108e0b;return(_0x108e0b=(_0xe75da2=this[_0x4a7d0d(0x39c)])==null?void 0x0:_0xe75da2[_0x4a7d0d(0x1ed)])==null?void 0x0:_0x108e0b[_0x4a7d0d(0x471)](_0xe75da2,_0x432a84);},_0x5a477b[_0x5cc8ab(0x2b9)]=_0x494a1a=>{var _0x2bb5b2=_0x5cc8ab,_0x46f8fe,_0x533e54,_0x19750c;if(!((_0x46f8fe=this[_0x2bb5b2(0x39c)])!=null&&_0x46f8fe[_0x2bb5b2(0x2b9)]))throw new Error(_0x2bb5b2(0x29a));return(_0x19750c=(_0x533e54=this[_0x2bb5b2(0x39c)])==null?void 0x0:_0x533e54[_0x2bb5b2(0x2b9)])==null?void 0x0:_0x19750c[_0x2bb5b2(0x471)](_0x533e54,_0x494a1a);},_0x5a477b[_0x5cc8ab(0x406)]=_0x3c8c90=>{var _0x586a73=_0x5cc8ab,_0x460465,_0x1d62d8,_0x3d188a;if(!((_0x460465=this['_handlerCallback'])!=null&&_0x460465[_0x586a73(0x406)]))throw new Error(_0x586a73(0x1ce));return(_0x3d188a=(_0x1d62d8=this[_0x586a73(0x39c)])==null?void 0x0:_0x1d62d8['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x3d188a['call'](_0x1d62d8,_0x3c8c90);},_0x5a477b;}async['_init'](){var _0x47889f=_0x14b308;const _0x574a51=await super[_0x47889f(0x231)]();return this['disposeWithMe'](this[_0x47889f(0x251)]['onCommandExecuted']((_0x101e45,_0x34907a)=>{var _0x4b06be=_0x47889f;if(_0x101e45[_0x4b06be(0x1a2)]!==_0x4dbc63[_0x4b06be(0x260)]||_0x34907a!=null&&_0x34907a[_0x4b06be(0x431)]||_0x34907a!=null&&_0x34907a[_0x4b06be(0x21d)]||_0x101e45['id']===_0x598b9e['id'])return;const _0x4fe3c9=_0x101e45['params'];if((_0x4fe3c9==null?void 0x0:_0x4fe3c9[_0x4b06be(0x3c2)])!==this['unitID'])return;const _0x5a30c6=_0x101e45,_0x233bf4=this['_compressMutationService'][_0x4b06be(0x23e)][_0x4b06be(0x1be)](this['_compressMutationService'][_0x4b06be(0x23e)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x5a30c6],null)||[_0x5a30c6];this[_0x4b06be(0x275)](_0x233bf4[0x0]);})),_0x574a51;}};Tt=Lt([k(0x3,_0x2a95eb(_0x2adb1c)),k(0x4,_0x2a95eb(_0x1f145d)),k(0x5,_0x2a95eb(_0x53b65d)),k(0x6,_0x2a95eb(_0x4a6cda)),k(0x7,_0x2a95eb(pe)),k(0x8,_0x18544f),k(0x9,_0x5d3dab),k(0xa,_0x395e94),k(0xb,_0x13d7ff(ht)),k(0xc,_0x13d7ff(J))],Tt);let Ct=class extends nt{constructor(_0x39e964,_0x2f205c,_0x1ae615,_0x474384,_0x19dc1e,_0x372525,_0x3a7374,_0x5123a0,_0x56635d,_0x4e533d,_0x31a508,_0x58a7ff,_0x212e2c,_0x38e60d){var _0x5e7a00=_0x14b308;super(_0x39e964,_0x1ae615,_0x2f205c,_0x474384,_0x19dc1e,_0x372525,_0x3a7374,_0x56635d,_0x4e533d,_0x31a508,_0x58a7ff,_0x212e2c,_0x38e60d),this['unitID']=_0x39e964,this[_0x5e7a00(0x1a2)]=_0x2f205c,this[_0x5e7a00(0x383)]=_0x5123a0;}[_0x14b308(0x263)](){var _0x6dd177=_0x14b308;const _0x17b813=super[_0x6dd177(0x263)]();return _0x17b813['onTransformSelections']=_0x6217f1=>this['_sheetTransformSelectionsService']['transformSelections'](_0x6217f1),_0x17b813;}async[_0x14b308(0x231)](){var _0x3691f7=_0x14b308;const _0x3a0e62=await super['_init']();return this['disposeWithMe'](this[_0x3691f7(0x251)][_0x3691f7(0x19d)]((_0x776a9,_0x158165)=>{var _0x4015a0=_0x3691f7;if(_0x776a9['type']!==_0x4dbc63[_0x4015a0(0x260)]||_0x158165!=null&&_0x158165['fromCollab']||_0x158165!=null&&_0x158165[_0x4015a0(0x21d)])return;const _0x626282=_0x776a9['params'];if((_0x626282==null?void 0x0:_0x626282[_0x4015a0(0x3c2)])!==this[_0x4015a0(0x457)])return;const _0x1403cb=_0x776a9,_0x422844=this['_compressMutationService']['interceptor']['fetchThroughInterceptors'](this[_0x4015a0(0x2c4)][_0x4015a0(0x23e)]['getInterceptPoints']()[_0x4015a0(0x25a)])([_0x1403cb],null)||[_0x1403cb];this[_0x4015a0(0x275)](_0x422844[0x0]);})),_0x3a0e62;}};Ct=Lt([k(0x3,_0x2a95eb(_0x2adb1c)),k(0x4,_0x2a95eb(_0x1f145d)),k(0x5,_0x2a95eb(_0x53b65d)),k(0x6,_0x2a95eb(_0x4a6cda)),k(0x7,_0x2a95eb(it)),k(0x8,_0x2a95eb(pe)),k(0x9,_0x18544f),k(0xa,_0x5d3dab),k(0xb,_0x395e94),k(0xc,_0x13d7ff(ht)),k(0xd,_0x13d7ff(J))],Ct);var mr=Object['defineProperty'],gr=Object[_0x14b308(0x498)],Sr=(_0x21663b,_0x60b0b6,_0x68972c,_0x171a6e)=>{var _0x247c21=_0x14b308;for(var _0x5d7351=_0x171a6e>0x1?void 0x0:_0x171a6e?gr(_0x60b0b6,_0x68972c):_0x60b0b6,_0x378208=_0x21663b[_0x247c21(0x469)]-0x1,_0x59c955;_0x378208>=0x0;_0x378208--)(_0x59c955=_0x21663b[_0x378208])&&(_0x5d7351=(_0x171a6e?_0x59c955(_0x60b0b6,_0x68972c,_0x5d7351):_0x59c955(_0x5d7351))||_0x5d7351);return _0x171a6e&&_0x5d7351&&mr(_0x60b0b6,_0x68972c,_0x5d7351),_0x5d7351;},ft=(_0x5ddef8,_0x34a180)=>(_0x18ff68,_0x32719e)=>_0x34a180(_0x18ff68,_0x32719e,_0x5ddef8);let rt=class extends _0x4d8d70{constructor(_0x440433,_0x5806b6,_0x4818b5){var _0x239332=_0x14b308;super(),N(this,_0x239332(0x2d5),new Map()),N(this,_0x239332(0x3a2),new _0x3b448b()),N(this,_0x239332(0x462),this[_0x239332(0x3a2)][_0x239332(0x463)]()),(this[_0x239332(0x32c)]=_0x440433,this[_0x239332(0x2f7)]=_0x5806b6,this[_0x239332(0x39d)]=_0x4818b5,this[_0x239332(0x231)]());}['dispose'](){var _0x3a34ab=_0x14b308;super['dispose'](),this['_entities'][_0x3a34ab(0x287)](_0x4b7b7b=>_0x4b7b7b[_0x3a34ab(0x340)]()),this['_entities'][_0x3a34ab(0x3b5)]();}[_0x14b308(0x343)](_0x4f1cb3){var _0x5898c2=_0x14b308,_0x3cd7ae;return(_0x3cd7ae=this[_0x5898c2(0x2d5)][_0x5898c2(0x1cc)](_0x4f1cb3))!=null?_0x3cd7ae:null;}[_0x14b308(0x2ad)](_0x3212e8){var _0x3e12c7=_0x14b308;const _0x16a4c7=this[_0x3e12c7(0x343)](_0x3212e8);return _0x16a4c7?_0x4dc369(_0x16a4c7):this[_0x3e12c7(0x3a2)][_0x3e12c7(0x310)](_0x12e18b(_0xc98c2c=>_0xc98c2c[_0x3e12c7(0x457)]===_0x3212e8));}[_0x14b308(0x289)](_0x30b7dd){var _0x581c06=_0x14b308;return _0x479372(this[_0x581c06(0x2ad)](_0x30b7dd)[_0x581c06(0x310)](_0x232a83(()=>{})));}['_init'](){var _0x4044ff=_0x14b308;this['_univerInstanceService'][_0x4044ff(0x347)](_0x5ec79f['UNIVER_SHEET'])[_0x4044ff(0x310)](_0x5a53d4(this[_0x4044ff(0x37c)]),_0x47bee8(0x10))[_0x4044ff(0x31a)](async _0x54585f=>{var _0x5cf79e=_0x4044ff;const _0x560e82=_0x54585f[_0x5cf79e(0x30c)](),_0x5dc8d0=await this[_0x5cf79e(0x369)](_0x560e82,Q['UNIVER_SHEET']);this[_0x5cf79e(0x2d5)][_0x5cf79e(0x410)](_0x560e82,_0x5dc8d0);}),this[_0x4044ff(0x39d)][_0x4044ff(0x347)](_0x5ec79f[_0x4044ff(0x42a)])[_0x4044ff(0x310)](_0x5a53d4(this[_0x4044ff(0x37c)]),_0x47bee8(0x10))[_0x4044ff(0x310)](_0x12e18b(_0x35e690=>!_0x35e690[_0x4044ff(0x30c)]()['startsWith']('__')))[_0x4044ff(0x31a)](async _0x2a3db1=>{var _0x330751=_0x4044ff;const _0x33528=_0x2a3db1[_0x330751(0x30c)](),_0x12ce9e=await this[_0x330751(0x369)](_0x33528,Q['UNIVER_DOC']);this[_0x330751(0x2d5)]['set'](_0x33528,_0x12ce9e);}),_0xbe5135(this[_0x4044ff(0x39d)]['getTypeOfUnitDisposed$'](_0x5ec79f[_0x4044ff(0x371)]),this['_univerInstanceService'][_0x4044ff(0x3df)](_0x5ec79f[_0x4044ff(0x42a)]))[_0x4044ff(0x310)](_0x5a53d4(this[_0x4044ff(0x37c)]))[_0x4044ff(0x31a)](_0x114200=>{var _0x52c0f0=_0x4044ff;const _0x4dd98c=_0x114200['getUnitId'](),_0x2db315=this[_0x52c0f0(0x2d5)][_0x52c0f0(0x1cc)](_0x4dd98c);_0x2db315&&(_0x2db315[_0x52c0f0(0x340)](),this[_0x52c0f0(0x2d5)][_0x52c0f0(0x479)](_0x4dd98c));});}async['_startCollaboration'](_0x4795de,_0x3401b0){var _0x119a2f=_0x14b308;const _0x2a66f9=await this[_0x119a2f(0x2f7)][_0x119a2f(0x36c)](_0x4795de),_0x2c0ae3=this[_0x119a2f(0x32c)][_0x119a2f(0x382)](this[_0x119a2f(0x235)](_0x3401b0),_0x4795de,_0x3401b0,_0x2a66f9);return await _0x2c0ae3[_0x119a2f(0x38a)](),this[_0x119a2f(0x3a2)][_0x119a2f(0x22e)](_0x2c0ae3),_0x2c0ae3;}[_0x14b308(0x235)](_0x39dac2){var _0x51b592=_0x14b308;switch(_0x39dac2){case Q['UNIVER_DOC']:return Tt;case Q[_0x51b592(0x371)]:return Ct;default:throw new Error(_0x51b592(0x1f8)+_0x39dac2);}}};rt=Sr([ft(0x0,_0x2a95eb(_0x2adb1c)),ft(0x1,_0x2a95eb(Le)),ft(0x2,_0x1c283b)],rt);var Er=Object[_0x14b308(0x380)],Ir=Object[_0x14b308(0x498)],Tr=(_0x4c6277,_0x1c2325,_0xc30e62,_0x178cc1)=>{var _0x5d9041=_0x14b308;for(var _0x2dc817=_0x178cc1>0x1?void 0x0:_0x178cc1?Ir(_0x1c2325,_0xc30e62):_0x1c2325,_0x1358b8=_0x4c6277[_0x5d9041(0x469)]-0x1,_0x5bebfc;_0x1358b8>=0x0;_0x1358b8--)(_0x5bebfc=_0x4c6277[_0x1358b8])&&(_0x2dc817=(_0x178cc1?_0x5bebfc(_0x1c2325,_0xc30e62,_0x2dc817):_0x5bebfc(_0x2dc817))||_0x2dc817);return _0x178cc1&&_0x2dc817&&Er(_0x1c2325,_0xc30e62,_0x2dc817),_0x2dc817;},Jt=(_0x1c5af3,_0x2bbd1a)=>(_0x16a824,_0xb9ec8a)=>_0x2bbd1a(_0x16a824,_0xb9ec8a,_0x1c5af3);const Cr=_0x14b308(0x2f9),Rr=_0x14b308(0x298);let Rt=class extends _0xe669e4{constructor(_0x33c5d0,_0x1ee28c){var _0x1e3971=_0x14b308;super(),this['_univerInstanceService']=_0x33c5d0,this[_0x1e3971(0x427)]=_0x1ee28c,this['_init']();}[_0x14b308(0x231)](){var _0x1e2e4f=_0x14b308;this[_0x1e2e4f(0x269)](this[_0x1e2e4f(0x39d)][_0x1e2e4f(0x1c7)]['subscribe'](()=>{var _0x2a6b03=_0x1e2e4f,_0x2072ac;const _0x14514c=this['_univerInstanceService'][_0x2a6b03(0x3fb)]();let _0x1d5409=(_0x2072ac=this['_configService'][_0x2a6b03(0x45c)](Cr))!=null?_0x2072ac:Rr;_0x14514c instanceof _0x5391c7&&(_0x1d5409=_0x14514c[_0x2a6b03(0x285)]),document[_0x2a6b03(0x229)]=_0x1d5409;}));}};Rt=Tr([Jt(0x0,_0x1c283b),Jt(0x1,_0x4d8cf7)],Rt);var br=Object[_0x14b308(0x380)],Or=Object[_0x14b308(0x498)],yr=(_0x8c7d88,_0x22364a,_0x1ec84d,_0x3c053d)=>{var _0x17210e=_0x14b308;for(var _0x4c4f9b=_0x3c053d>0x1?void 0x0:_0x3c053d?Or(_0x22364a,_0x1ec84d):_0x22364a,_0x131e12=_0x8c7d88[_0x17210e(0x469)]-0x1,_0x43ddcd;_0x131e12>=0x0;_0x131e12--)(_0x43ddcd=_0x8c7d88[_0x131e12])&&(_0x4c4f9b=(_0x3c053d?_0x43ddcd(_0x22364a,_0x1ec84d,_0x4c4f9b):_0x43ddcd(_0x4c4f9b))||_0x4c4f9b);return _0x3c053d&&_0x4c4f9b&&br(_0x22364a,_0x1ec84d,_0x4c4f9b),_0x4c4f9b;},vt=(_0xa7785b,_0x2a9c5c)=>(_0x5851cf,_0x30c45c)=>_0x2a9c5c(_0x5851cf,_0x30c45c,_0xa7785b);let st=class{constructor(_0x2f49cc,_0x321052,_0xd78d18){var _0x24e7ce=_0x14b308;this[_0x24e7ce(0x427)]=_0x2f49cc,this['_httpService']=_0x321052,this[_0x24e7ce(0x2df)]=_0xd78d18,this[_0x24e7ce(0x38a)]();}['init'](){var _0x55d172=_0x14b308;this[_0x55d172(0x493)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xeb9ce1,_0x583ef4)=>_0x583ef4(_0xeb9ce1)['pipe'](_0x3a4637(async _0x4f4abd=>{var _0x436e64=_0x55d172;const _0x44e787=_0x4f4abd;if(_0x44e787['status']===0x191){if(typeof window>'u')throw new Error(_0x436e64(0x1d1));if(window[_0x436e64(0x196)](this[_0x436e64(0x2df)]['t']('auth.needGotoLoginAlert'))){const _0x458d85=window[_0x436e64(0x209)](window['location'][_0x436e64(0x438)]);window['location']['href']=this[_0x436e64(0x357)]()+_0x436e64(0x1ff)+_0x458d85;}}return _0x44e787;}))});}[_0x14b308(0x357)](){var _0xd2bae6=_0x14b308,_0x4e9307,_0x252ddc;const _0x3fa3e3=this['_configService'][_0xd2bae6(0x45c)](xn),_0xdcd5b0=this[_0xd2bae6(0x427)]['getConfig'](q);return(_0x252ddc=(_0x4e9307=_0xdcd5b0==null?void 0x0:_0xdcd5b0[_0xd2bae6(0x23c)])!=null?_0x4e9307:_0x3fa3e3)!=null?_0x252ddc:Ln;}};st=yr([vt(0x0,_0x4d8cf7),vt(0x1,_0x2a95eb(_0x17dca8)),vt(0x2,_0x2a95eb(_0x53b65d))],st);var Nr=Object['defineProperty'],Dr=Object[_0x14b308(0x498)],Pr=(_0x3290b6,_0x4b1e57,_0x48f0b6,_0x8ff1b2)=>{var _0x54abf9=_0x14b308;for(var _0x3e05af=_0x8ff1b2>0x1?void 0x0:_0x8ff1b2?Dr(_0x4b1e57,_0x48f0b6):_0x4b1e57,_0x373dda=_0x3290b6[_0x54abf9(0x469)]-0x1,_0x5b2001;_0x373dda>=0x0;_0x373dda--)(_0x5b2001=_0x3290b6[_0x373dda])&&(_0x3e05af=(_0x8ff1b2?_0x5b2001(_0x4b1e57,_0x48f0b6,_0x3e05af):_0x5b2001(_0x3e05af))||_0x3e05af);return _0x8ff1b2&&_0x3e05af&&Nr(_0x4b1e57,_0x48f0b6,_0x3e05af),_0x3e05af;},Xt=(_0x53357d,_0x370219)=>(_0x131cd2,_0x160942)=>_0x370219(_0x131cd2,_0x160942,_0x53357d);const Pi=_0x14b308(0x19b),wr='/universer-api/authz';let bt=class extends _0xe669e4{constructor(_0x35f3f2,_0x55232a){var _0x4e897f=_0x14b308;super(),this['_HTTPService']=_0x35f3f2,this[_0x4e897f(0x427)]=_0x55232a,this[_0x4e897f(0x424)]();}['_initMergeInterceptor'](){var _0x26aabe=_0x14b308;const _0x568d76=this;this[_0x26aabe(0x269)](this[_0x26aabe(0x284)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4625e0({'isMatch'(_0xe1dd3e){var _0x56c27c=_0x26aabe,_0x438513;if(_0xe1dd3e['method']==='POST'&&((_0x438513=_0xe1dd3e[_0x56c27c(0x198)])!=null&&_0x438513[_0x56c27c(0x35c)])){const {objectID:_0x39aa35,objectType:_0x56e444}=_0xe1dd3e[_0x56c27c(0x198)][_0x56c27c(0x35c)]||{};if(!_0x39aa35||_0x56e444===void 0x0)return!0x1;const _0x5a49a5=_0x568d76[_0x56c27c(0x379)]()+'/'+_0x56e444+_0x56c27c(0x1f0)+_0x39aa35+_0x56c27c(0x2ff);if(_0xe1dd3e['url']===_0x5a49a5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x58ed9b){var _0x53b189=_0x26aabe,_0x47f5ac;return(_0x47f5ac=_0x58ed9b[_0x53b189(0x198)])==null?void 0x0:_0x47f5ac[_0x53b189(0x35c)];},'mergeParamsToRequest'(_0x12a0a5,_0x1fe892){var _0x15e8b4=_0x26aabe;const _0x17a9c1=_0x568d76[_0x15e8b4(0x379)]()+'/-/object/-/batch_allowed',_0x38dc84=_0x12a0a5['reduce']((_0x5785f9,_0x603d32)=>{var _0x25e1fe=_0x15e8b4;const {unitID:_0x32c117,objectID:_0x33df29,objectType:_0x1f44bf,actions:_0x2aef73}=_0x603d32;return _0x5785f9[_0x32c117]||(_0x5785f9[_0x32c117]={}),_0x5785f9[_0x32c117][_0x33df29]||(_0x5785f9[_0x32c117][_0x33df29]={'objectID':_0x33df29,'objectType':_0x1f44bf,'actions':[]}),_0x5785f9[_0x32c117][_0x33df29][_0x25e1fe(0x47f)][_0x25e1fe(0x22b)](..._0x2aef73),_0x5785f9;},{}),_0x4328c1=[];for(const _0x24beba in _0x38dc84)for(const _0x3f30c8 in _0x38dc84[_0x24beba]){const {actions:_0x58d5dd,objectType:_0x9862d7}=_0x38dc84[_0x24beba][_0x3f30c8],_0x4c8f2d=[...new Set(_0x58d5dd)];_0x4328c1[_0x15e8b4(0x22b)]({'unitID':_0x24beba,'objectID':_0x3f30c8,'objectType':_0x9862d7,'actions':_0x4c8f2d});}return new _0x203390(_0x15e8b4(0x40e),_0x17a9c1,{'headers':_0x1fe892[_0x15e8b4(0x341)],'withCredentials':_0x1fe892[_0x15e8b4(0x2c5)],'responseType':_0x1fe892['responseType'],'body':{'requests':_0x4328c1}});}},{'distributeResult'(_0x58dee1,_0x3c494b){const {objectActions:_0x2f62ed}=_0x58dee1;return _0x3c494b['map'](_0x435bd6=>{var _0x33d70d=_0x2c62;const {unitID:_0x40d353,objectID:_0x3f7356,actions:_0x4943c4}=_0x435bd6,_0x400b09=_0x2f62ed[_0x33d70d(0x423)](_0x20f1ab=>_0x20f1ab[_0x33d70d(0x457)]===_0x40d353&&_0x20f1ab['objectID']===_0x3f7356),_0x674090=_0x4943c4[_0x33d70d(0x45d)](_0x31159f=>_0x400b09==null?void 0x0:_0x400b09[_0x33d70d(0x47f)][_0x33d70d(0x423)](_0x446b7a=>_0x446b7a['action']===_0x31159f))['filter'](_0x76b856=>!!_0x76b856);return{'config':_0x435bd6,'result':{'actions':_0x674090,'error':_0x58dee1[_0x33d70d(0x47a)]}};});}})}));}['_getAPIPrefixPath'](){var _0x7b7ef0=_0x14b308,_0x65eedd,_0x173984;const _0x493739=this[_0x7b7ef0(0x427)][_0x7b7ef0(0x45c)](Pi),_0x207c20=this[_0x7b7ef0(0x427)][_0x7b7ef0(0x45c)](q);return(_0x173984=(_0x65eedd=_0x207c20==null?void 0x0:_0x207c20[_0x7b7ef0(0x319)])!=null?_0x65eedd:_0x493739)!=null?_0x173984:wr;}async[_0x14b308(0x365)](_0xe10fa){var _0x321287=_0x14b308;const _0x4ab15e=this['_getAPIPrefixPath']()+'/'+_0xe10fa[_0x321287(0x2a4)]+'/object';return(await this[_0x321287(0x284)][_0x321287(0x1db)](_0x4ab15e,{'body':_0xe10fa}))[_0x321287(0x35c)][_0x321287(0x20b)]||'';}async[_0x14b308(0x217)](_0x4e8943){var _0x292674=_0x14b308;const _0x263ca9=this[_0x292674(0x379)]()+'/-/object/list';return(await this[_0x292674(0x284)]['post'](_0x263ca9,{'body':_0x4e8943}))['body'][_0x292674(0x399)];}async[_0x14b308(0x334)](_0x3de9a8){var _0x421560=_0x14b308;const _0x40b364=this[_0x421560(0x379)]()+'/'+_0x3de9a8[_0x421560(0x2a4)]+_0x421560(0x1f0)+_0x3de9a8[_0x421560(0x20b)];await this['_HTTPService']['put'](_0x40b364,{'body':_0x3de9a8});}async[_0x14b308(0x3da)](_0xc2783c){var _0x3c70b0=_0x14b308;const _0x20a000=this[_0x3c70b0(0x379)]()+'/'+_0xc2783c['objectType']+'/object/'+_0xc2783c[_0x3c70b0(0x20b)]+'/allowed';return(await this[_0x3c70b0(0x284)][_0x3c70b0(0x1db)](_0x20a000,{'body':_0xc2783c}))[_0x3c70b0(0x35c)][_0x3c70b0(0x47f)];}async[_0x14b308(0x293)](_0x389544){var _0x38df2f=_0x14b308;const _0x151b68=this['_getAPIPrefixPath']()+_0x38df2f(0x318);return(await this[_0x38df2f(0x284)][_0x38df2f(0x1db)](_0x151b68,{'body':{'requests':_0x389544}}))[_0x38df2f(0x35c)]['objectActions'];}async[_0x14b308(0x487)](_0x226852){var _0x1c2ae3=_0x14b308;const _0x13548e=this[_0x1c2ae3(0x379)]()+'/'+_0x226852['objectType']+_0x1c2ae3(0x27a),_0x248bad=await this[_0x1c2ae3(0x284)][_0x1c2ae3(0x1db)](_0x13548e,{'body':_0x226852});return{'roles':_0x248bad[_0x1c2ae3(0x35c)][_0x1c2ae3(0x2aa)],'actions':_0x248bad[_0x1c2ae3(0x35c)][_0x1c2ae3(0x47f)]};}async['deleteCollaborator'](_0x9d2d90){var _0x941916=_0x14b308;const _0x152408=this[_0x941916(0x379)]()+'/collaborator';await this[_0x941916(0x284)]['delete'](_0x152408,{'params':{'collaboratorID':_0x9d2d90[_0x941916(0x1da)],'objectID':_0x9d2d90[_0x941916(0x20b)],'unitID':_0x9d2d90[_0x941916(0x457)]}});}async[_0x14b308(0x3db)](_0x5aa61f){var _0x22beb1=_0x14b308;const _0x263e0b=this['_getAPIPrefixPath']()+_0x22beb1(0x1a7);await this[_0x22beb1(0x284)][_0x22beb1(0x28f)](_0x263e0b,{'body':_0x5aa61f});}async[_0x14b308(0x19e)](_0x34749d){var _0x392e5b=_0x14b308;const _0x361ed2=this[_0x392e5b(0x379)]()+_0x392e5b(0x1a7);await this[_0x392e5b(0x284)]['post'](_0x361ed2,{'body':_0x34749d});}async[_0x14b308(0x2e7)](_0x56a6b5){var _0x37a22d=_0x14b308;const _0x6e1eab=this[_0x37a22d(0x379)]()+_0x37a22d(0x1a7);return(await this[_0x37a22d(0x284)]['get'](_0x6e1eab,{'params':{'objectID':_0x56a6b5[_0x37a22d(0x20b)],'unitID':_0x56a6b5['unitID']}}))[_0x37a22d(0x35c)]['collaborators'];}async[_0x14b308(0x3d5)](_0x46ee10){var _0x3f156c=_0x14b308;const _0x4adf69=this[_0x3f156c(0x379)]()+'/collaborator';await this[_0x3f156c(0x284)][_0x3f156c(0x30a)](_0x4adf69,{'body':_0x46ee10});}};bt=Pr([Xt(0x0,_0x2a95eb(_0x17dca8)),Xt(0x1,_0x2a95eb(_0x4d8cf7))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x52316c){var _0x43195f=_0x14b308;return _0x52316c&&_0x52316c['__esModule']&&Object['prototype'][_0x43195f(0x26c)][_0x43195f(0x471)](_0x52316c,_0x43195f(0x24a))?_0x52316c[_0x43195f(0x24a)]:_0x52316c;}var Ve={'exports':{}};function Ur(_0x1ed145){throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1ed145+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x14b308(0x344)],Zt;function ne(){var _0x2b7cff=_0x14b308;return Zt||(Zt=0x1,function(_0x41c7fb,_0x38757e){(function(_0x343031,_0x3ec5c7){var _0x22fd4d=_0x2c62;_0x41c7fb[_0x22fd4d(0x344)]=_0x3ec5c7();}(Ar,function(){var _0x401dc2=_0x401dc2||function(_0x1168e0,_0x3d5be2){var _0x50023a=_0x2c62,_0x44a20d;if(typeof window<'u'&&window[_0x50023a(0x48a)]&&(_0x44a20d=window[_0x50023a(0x48a)]),typeof self<'u'&&self['crypto']&&(_0x44a20d=self[_0x50023a(0x48a)]),typeof globalThis<'u'&&globalThis[_0x50023a(0x48a)]&&(_0x44a20d=globalThis[_0x50023a(0x48a)]),!_0x44a20d&&typeof window<'u'&&window['msCrypto']&&(_0x44a20d=window['msCrypto']),!_0x44a20d&&typeof pt<'u'&&pt[_0x50023a(0x48a)]&&(_0x44a20d=pt[_0x50023a(0x48a)]),!_0x44a20d&&typeof Ur==_0x50023a(0x1d0))try{_0x44a20d=require(_0x50023a(0x48a));}catch{}var _0x3401a6=function(){var _0x404f04=_0x50023a;if(_0x44a20d){if(typeof _0x44a20d[_0x404f04(0x33d)]==_0x404f04(0x1d0))try{return _0x44a20d['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x44a20d[_0x404f04(0x3ba)]=='function')try{return _0x44a20d[_0x404f04(0x3ba)](0x4)[_0x404f04(0x1cd)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3cb710=Object[_0x50023a(0x365)]||(function(){function _0x669f97(){}return function(_0x373c30){var _0x2dae34;return _0x669f97['prototype']=_0x373c30,_0x2dae34=new _0x669f97(),_0x669f97['prototype']=null,_0x2dae34;};}()),_0x58a25a={},_0x1e73f3=_0x58a25a[_0x50023a(0x1dc)]={},_0x5bf9c6=_0x1e73f3[_0x50023a(0x2d3)]=(function(){return{'extend':function(_0x74e289){var _0x3b65f1=_0x2c62,_0x280988=_0x3cb710(this);return _0x74e289&&_0x280988[_0x3b65f1(0x47c)](_0x74e289),(!_0x280988[_0x3b65f1(0x26c)](_0x3b65f1(0x38a))||this['init']===_0x280988[_0x3b65f1(0x38a)])&&(_0x280988[_0x3b65f1(0x38a)]=function(){var _0x58ce3c=_0x3b65f1;_0x280988[_0x58ce3c(0x381)]['init'][_0x58ce3c(0x404)](this,arguments);}),_0x280988[_0x3b65f1(0x38a)][_0x3b65f1(0x41c)]=_0x280988,_0x280988[_0x3b65f1(0x381)]=this,_0x280988;},'create':function(){var _0x2d7103=_0x2c62,_0x130204=this[_0x2d7103(0x46f)]();return _0x130204[_0x2d7103(0x38a)][_0x2d7103(0x404)](_0x130204,arguments),_0x130204;},'init':function(){},'mixIn':function(_0x5b1190){var _0x3831f9=_0x2c62;for(var _0x1ea46c in _0x5b1190)_0x5b1190[_0x3831f9(0x26c)](_0x1ea46c)&&(this[_0x1ea46c]=_0x5b1190[_0x1ea46c]);_0x5b1190[_0x3831f9(0x26c)](_0x3831f9(0x3ff))&&(this[_0x3831f9(0x3ff)]=_0x5b1190['toString']);},'clone':function(){var _0x2f017c=_0x2c62;return this[_0x2f017c(0x38a)][_0x2f017c(0x41c)]['extend'](this);}};}()),_0x4a6daa=_0x1e73f3[_0x50023a(0x24f)]=_0x5bf9c6[_0x50023a(0x46f)]({'init':function(_0x3d7cc1,_0xf0eb4b){var _0x1faee2=_0x50023a;_0x3d7cc1=this[_0x1faee2(0x288)]=_0x3d7cc1||[],_0xf0eb4b!=_0x3d5be2?this[_0x1faee2(0x374)]=_0xf0eb4b:this['sigBytes']=_0x3d7cc1[_0x1faee2(0x469)]*0x4;},'toString':function(_0xcc18f1){var _0x2ef644=_0x50023a;return(_0xcc18f1||_0x296241)[_0x2ef644(0x1ea)](this);},'concat':function(_0x25e5de){var _0x24129e=_0x50023a,_0x2caa45=this['words'],_0x45d636=_0x25e5de['words'],_0x179007=this[_0x24129e(0x374)],_0x51f19a=_0x25e5de[_0x24129e(0x374)];if(this[_0x24129e(0x1b5)](),_0x179007%0x4)for(var _0xd1dc7d=0x0;_0xd1dc7d<_0x51f19a;_0xd1dc7d++){var _0x1db1ce=_0x45d636[_0xd1dc7d>>>0x2]>>>0x18-_0xd1dc7d%0x4*0x8&0xff;_0x2caa45[_0x179007+_0xd1dc7d>>>0x2]|=_0x1db1ce<<0x18-(_0x179007+_0xd1dc7d)%0x4*0x8;}else{for(var _0x5091f3=0x0;_0x5091f3<_0x51f19a;_0x5091f3+=0x4)_0x2caa45[_0x179007+_0x5091f3>>>0x2]=_0x45d636[_0x5091f3>>>0x2];}return this[_0x24129e(0x374)]+=_0x51f19a,this;},'clamp':function(){var _0x24fe7c=_0x50023a,_0x55f997=this['words'],_0x51beb3=this[_0x24fe7c(0x374)];_0x55f997[_0x51beb3>>>0x2]&=0xffffffff<<0x20-_0x51beb3%0x4*0x8,_0x55f997['length']=_0x1168e0[_0x24fe7c(0x422)](_0x51beb3/0x4);},'clone':function(){var _0x5494e5=_0x50023a,_0x483b24=_0x5bf9c6[_0x5494e5(0x23a)]['call'](this);return _0x483b24[_0x5494e5(0x288)]=this[_0x5494e5(0x288)][_0x5494e5(0x1a3)](0x0),_0x483b24;},'random':function(_0x2247e0){var _0x488f6c=_0x50023a;for(var _0x24fc12=[],_0x1ea072=0x0;_0x1ea072<_0x2247e0;_0x1ea072+=0x4)_0x24fc12['push'](_0x3401a6());return new _0x4a6daa[(_0x488f6c(0x38a))](_0x24fc12,_0x2247e0);}}),_0x2c2b7a=_0x58a25a[_0x50023a(0x328)]={},_0x296241=_0x2c2b7a['Hex']={'stringify':function(_0xb450c2){var _0x34c3f6=_0x50023a;for(var _0x3368a8=_0xb450c2[_0x34c3f6(0x288)],_0x4a757e=_0xb450c2[_0x34c3f6(0x374)],_0x288d04=[],_0x454367=0x0;_0x454367<_0x4a757e;_0x454367++){var _0x1a1187=_0x3368a8[_0x454367>>>0x2]>>>0x18-_0x454367%0x4*0x8&0xff;_0x288d04['push']((_0x1a1187>>>0x4)[_0x34c3f6(0x3ff)](0x10)),_0x288d04[_0x34c3f6(0x22b)]((_0x1a1187&0xf)[_0x34c3f6(0x3ff)](0x10));}return _0x288d04[_0x34c3f6(0x3d8)]('');},'parse':function(_0x5837ba){var _0x5ae167=_0x50023a;for(var _0x24334e=_0x5837ba[_0x5ae167(0x469)],_0x5987ce=[],_0x31a1fd=0x0;_0x31a1fd<_0x24334e;_0x31a1fd+=0x2)_0x5987ce[_0x31a1fd>>>0x3]|=parseInt(_0x5837ba[_0x5ae167(0x1ca)](_0x31a1fd,0x2),0x10)<<0x18-_0x31a1fd%0x8*0x4;return new _0x4a6daa['init'](_0x5987ce,_0x24334e/0x2);}},_0x241bf8=_0x2c2b7a[_0x50023a(0x2e2)]={'stringify':function(_0x430a70){var _0x3f65f5=_0x50023a;for(var _0x4da09e=_0x430a70[_0x3f65f5(0x288)],_0xded9e1=_0x430a70['sigBytes'],_0x469064=[],_0x4e4c8c=0x0;_0x4e4c8c<_0xded9e1;_0x4e4c8c++){var _0x19b1e5=_0x4da09e[_0x4e4c8c>>>0x2]>>>0x18-_0x4e4c8c%0x4*0x8&0xff;_0x469064[_0x3f65f5(0x22b)](String[_0x3f65f5(0x1d9)](_0x19b1e5));}return _0x469064['join']('');},'parse':function(_0x48c1f3){var _0x4b27e5=_0x50023a;for(var _0x4fab85=_0x48c1f3['length'],_0x41bb7f=[],_0x155212=0x0;_0x155212<_0x4fab85;_0x155212++)_0x41bb7f[_0x155212>>>0x2]|=(_0x48c1f3[_0x4b27e5(0x455)](_0x155212)&0xff)<<0x18-_0x155212%0x4*0x8;return new _0x4a6daa[(_0x4b27e5(0x38a))](_0x41bb7f,_0x4fab85);}},_0x365e1f=_0x2c2b7a[_0x50023a(0x496)]={'stringify':function(_0xecb28f){var _0x5f171e=_0x50023a;try{return decodeURIComponent(escape(_0x241bf8[_0x5f171e(0x1ea)](_0xecb28f)));}catch{throw new Error(_0x5f171e(0x3af));}},'parse':function(_0x5ec010){var _0x109fbc=_0x50023a;return _0x241bf8[_0x109fbc(0x1e9)](unescape(encodeURIComponent(_0x5ec010)));}},_0xade47c=_0x1e73f3['BufferedBlockAlgorithm']=_0x5bf9c6[_0x50023a(0x46f)]({'reset':function(){var _0x436415=_0x50023a;this[_0x436415(0x1d6)]=new _0x4a6daa[(_0x436415(0x38a))](),this[_0x436415(0x46b)]=0x0;},'_append':function(_0x1a182a){var _0x222db7=_0x50023a;typeof _0x1a182a==_0x222db7(0x1eb)&&(_0x1a182a=_0x365e1f[_0x222db7(0x1e9)](_0x1a182a)),this[_0x222db7(0x1d6)][_0x222db7(0x301)](_0x1a182a),this[_0x222db7(0x46b)]+=_0x1a182a[_0x222db7(0x374)];},'_process':function(_0x2187b4){var _0x560612=_0x50023a,_0x4ab38d,_0x2b6b1c=this['_data'],_0xc15934=_0x2b6b1c[_0x560612(0x288)],_0x934a8d=_0x2b6b1c[_0x560612(0x374)],_0x3bd01d=this[_0x560612(0x1ab)],_0x1bd9e6=_0x3bd01d*0x4,_0x30d9e8=_0x934a8d/_0x1bd9e6;_0x2187b4?_0x30d9e8=_0x1168e0[_0x560612(0x422)](_0x30d9e8):_0x30d9e8=_0x1168e0[_0x560612(0x303)]((_0x30d9e8|0x0)-this[_0x560612(0x1ee)],0x0);var _0x40db73=_0x30d9e8*_0x3bd01d,_0x3401af=_0x1168e0['min'](_0x40db73*0x4,_0x934a8d);if(_0x40db73){for(var _0x905d4=0x0;_0x905d4<_0x40db73;_0x905d4+=_0x3bd01d)this[_0x560612(0x3c1)](_0xc15934,_0x905d4);_0x4ab38d=_0xc15934[_0x560612(0x44f)](0x0,_0x40db73),_0x2b6b1c[_0x560612(0x374)]-=_0x3401af;}return new _0x4a6daa['init'](_0x4ab38d,_0x3401af);},'clone':function(){var _0x130b3d=_0x50023a,_0x1f33ab=_0x5bf9c6[_0x130b3d(0x23a)][_0x130b3d(0x471)](this);return _0x1f33ab[_0x130b3d(0x1d6)]=this['_data'][_0x130b3d(0x23a)](),_0x1f33ab;},'_minBufferSize':0x0});_0x1e73f3[_0x50023a(0x25e)]=_0xade47c[_0x50023a(0x46f)]({'cfg':_0x5bf9c6[_0x50023a(0x46f)](),'init':function(_0x11edad){var _0x2ef15=_0x50023a;this[_0x2ef15(0x1fc)]=this[_0x2ef15(0x1fc)][_0x2ef15(0x46f)](_0x11edad),this[_0x2ef15(0x415)]();},'reset':function(){var _0x476159=_0x50023a;_0xade47c[_0x476159(0x415)]['call'](this),this[_0x476159(0x1a0)]();},'update':function(_0x22c6b5){var _0xa694dc=_0x50023a;return this[_0xa694dc(0x389)](_0x22c6b5),this[_0xa694dc(0x1fb)](),this;},'finalize':function(_0x32d1c7){var _0x29f1b3=_0x50023a;_0x32d1c7&&this[_0x29f1b3(0x389)](_0x32d1c7);var _0x1c562f=this[_0x29f1b3(0x2ed)]();return _0x1c562f;},'blockSize':0x10,'_createHelper':function(_0x8a8277){return function(_0x3c483f,_0x7be910){var _0x29dec9=_0x2c62;return new _0x8a8277[(_0x29dec9(0x38a))](_0x7be910)[_0x29dec9(0x3b8)](_0x3c483f);};},'_createHmacHelper':function(_0x4b3945){return function(_0x5130c6,_0x283db6){var _0x5b8d0c=_0x2c62;return new _0x47af10[(_0x5b8d0c(0x22f))]['init'](_0x4b3945,_0x283db6)[_0x5b8d0c(0x3b8)](_0x5130c6);};}});var _0x47af10=_0x58a25a[_0x50023a(0x27b)]={};return _0x58a25a;}(Math);return _0x401dc2;}));}(Ge)),Ge[_0x2b7cff(0x344)];}var We={'exports':{}},xr=We[_0x14b308(0x344)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x3fdc39,_0x407fe1){(function(_0x543bf3,_0x3e4f3c){var _0x4e4364=_0x2c62;_0x3fdc39[_0x4e4364(0x344)]=_0x3e4f3c(ne());}(xr,function(_0x14e1a9){var _0x336773=_0x2c62;return(function(){var _0x11a270=_0x2c62,_0x51a954=_0x14e1a9,_0x4700ba=_0x51a954[_0x11a270(0x1dc)],_0x6021fe=_0x4700ba[_0x11a270(0x24f)],_0x58b281=_0x51a954[_0x11a270(0x328)];_0x58b281[_0x11a270(0x41e)]={'stringify':function(_0x25a58f){var _0x272c3f=_0x11a270,_0x13114f=_0x25a58f[_0x272c3f(0x288)],_0x1c9be9=_0x25a58f[_0x272c3f(0x374)],_0x34ac3f=this[_0x272c3f(0x353)];_0x25a58f[_0x272c3f(0x1b5)]();for(var _0x212909=[],_0x5c22c5=0x0;_0x5c22c5<_0x1c9be9;_0x5c22c5+=0x3)for(var _0x41030e=_0x13114f[_0x5c22c5>>>0x2]>>>0x18-_0x5c22c5%0x4*0x8&0xff,_0x2d1d54=_0x13114f[_0x5c22c5+0x1>>>0x2]>>>0x18-(_0x5c22c5+0x1)%0x4*0x8&0xff,_0x3a8b42=_0x13114f[_0x5c22c5+0x2>>>0x2]>>>0x18-(_0x5c22c5+0x2)%0x4*0x8&0xff,_0x5640bb=_0x41030e<<0x10|_0x2d1d54<<0x8|_0x3a8b42,_0x39f8f7=0x0;_0x39f8f7<0x4&&_0x5c22c5+_0x39f8f7*0.75<_0x1c9be9;_0x39f8f7++)_0x212909[_0x272c3f(0x22b)](_0x34ac3f[_0x272c3f(0x30e)](_0x5640bb>>>0x6*(0x3-_0x39f8f7)&0x3f));var _0x1adc0e=_0x34ac3f['charAt'](0x40);if(_0x1adc0e){for(;_0x212909[_0x272c3f(0x469)]%0x4;)_0x212909['push'](_0x1adc0e);}return _0x212909[_0x272c3f(0x3d8)]('');},'parse':function(_0x148637){var _0x4e27da=_0x11a270,_0x18f2e2=_0x148637[_0x4e27da(0x469)],_0x3f8efb=this[_0x4e27da(0x353)],_0x52614a=this['_reverseMap'];if(!_0x52614a){_0x52614a=this[_0x4e27da(0x1f7)]=[];for(var _0x55579c=0x0;_0x55579c<_0x3f8efb[_0x4e27da(0x469)];_0x55579c++)_0x52614a[_0x3f8efb['charCodeAt'](_0x55579c)]=_0x55579c;}var _0x373959=_0x3f8efb['charAt'](0x40);if(_0x373959){var _0x341a9c=_0x148637[_0x4e27da(0x26d)](_0x373959);_0x341a9c!==-0x1&&(_0x18f2e2=_0x341a9c);}return _0x2917a2(_0x148637,_0x18f2e2,_0x52614a);},'_map':_0x11a270(0x41a)};function _0x2917a2(_0x27f963,_0x4e40e2,_0x1b5979){var _0x2e1e07=_0x11a270;for(var _0x363ed6=[],_0x1bc009=0x0,_0x374b6f=0x0;_0x374b6f<_0x4e40e2;_0x374b6f++)if(_0x374b6f%0x4){var _0x2529e5=_0x1b5979[_0x27f963[_0x2e1e07(0x455)](_0x374b6f-0x1)]<<_0x374b6f%0x4*0x2,_0x2ad615=_0x1b5979[_0x27f963['charCodeAt'](_0x374b6f)]>>>0x6-_0x374b6f%0x4*0x2,_0x213a82=_0x2529e5|_0x2ad615;_0x363ed6[_0x1bc009>>>0x2]|=_0x213a82<<0x18-_0x1bc009%0x4*0x8,_0x1bc009++;}return _0x6021fe[_0x2e1e07(0x365)](_0x363ed6,_0x1bc009);}}()),_0x14e1a9[_0x336773(0x328)][_0x336773(0x41e)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){var _0x4baf94=_0x14b308;return ei||(ei=0x1,function(_0xe71f24,_0x539765){(function(_0x3806c7,_0x28bcf0){var _0xa6149c=_0x2c62;_0xe71f24[_0xa6149c(0x344)]=_0x28bcf0(ne());}(Lr,function(_0x6a59db){return function(_0x17c987){var _0x5bead4=_0x2c62,_0x341f9b=_0x6a59db,_0x40a766=_0x341f9b[_0x5bead4(0x1dc)],_0x4ec04c=_0x40a766['WordArray'],_0x39bff4=_0x40a766[_0x5bead4(0x25e)],_0x39fdc6=_0x341f9b['algo'],_0x5ab2dd=[];(function(){var _0x354599=_0x5bead4;for(var _0x2900d9=0x0;_0x2900d9<0x40;_0x2900d9++)_0x5ab2dd[_0x2900d9]=_0x17c987['abs'](_0x17c987[_0x354599(0x322)](_0x2900d9+0x1))*0x100000000|0x0;}());var _0x4340de=_0x39fdc6['MD5']=_0x39bff4[_0x5bead4(0x46f)]({'_doReset':function(){var _0x51bc16=_0x5bead4;this[_0x51bc16(0x474)]=new _0x4ec04c[(_0x51bc16(0x38a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x3672a4,_0x172d7e){var _0x42c308=_0x5bead4;for(var _0xbb6e12=0x0;_0xbb6e12<0x10;_0xbb6e12++){var _0x2abe58=_0x172d7e+_0xbb6e12,_0x585c3c=_0x3672a4[_0x2abe58];_0x3672a4[_0x2abe58]=(_0x585c3c<<0x8|_0x585c3c>>>0x18)&0xff00ff|(_0x585c3c<<0x18|_0x585c3c>>>0x8)&0xff00ff00;}var _0x2bedef=this[_0x42c308(0x474)][_0x42c308(0x288)],_0x3d296f=_0x3672a4[_0x172d7e+0x0],_0x166b93=_0x3672a4[_0x172d7e+0x1],_0x3dd4e3=_0x3672a4[_0x172d7e+0x2],_0x7e3caf=_0x3672a4[_0x172d7e+0x3],_0x299875=_0x3672a4[_0x172d7e+0x4],_0x41fe4d=_0x3672a4[_0x172d7e+0x5],_0x5b7c4b=_0x3672a4[_0x172d7e+0x6],_0x5a44ec=_0x3672a4[_0x172d7e+0x7],_0x36c77d=_0x3672a4[_0x172d7e+0x8],_0x3aa7b8=_0x3672a4[_0x172d7e+0x9],_0x5d20e3=_0x3672a4[_0x172d7e+0xa],_0x2ad640=_0x3672a4[_0x172d7e+0xb],_0x7e5e59=_0x3672a4[_0x172d7e+0xc],_0x2441e8=_0x3672a4[_0x172d7e+0xd],_0x31ad8b=_0x3672a4[_0x172d7e+0xe],_0xfd4d5=_0x3672a4[_0x172d7e+0xf],_0x20c40f=_0x2bedef[0x0],_0x46582f=_0x2bedef[0x1],_0x21fa77=_0x2bedef[0x2],_0xbb9669=_0x2bedef[0x3];_0x20c40f=_0x20370e(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x3d296f,0x7,_0x5ab2dd[0x0]),_0xbb9669=_0x20370e(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x166b93,0xc,_0x5ab2dd[0x1]),_0x21fa77=_0x20370e(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x3dd4e3,0x11,_0x5ab2dd[0x2]),_0x46582f=_0x20370e(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x7e3caf,0x16,_0x5ab2dd[0x3]),_0x20c40f=_0x20370e(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x299875,0x7,_0x5ab2dd[0x4]),_0xbb9669=_0x20370e(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x41fe4d,0xc,_0x5ab2dd[0x5]),_0x21fa77=_0x20370e(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5b7c4b,0x11,_0x5ab2dd[0x6]),_0x46582f=_0x20370e(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x5a44ec,0x16,_0x5ab2dd[0x7]),_0x20c40f=_0x20370e(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x36c77d,0x7,_0x5ab2dd[0x8]),_0xbb9669=_0x20370e(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x3aa7b8,0xc,_0x5ab2dd[0x9]),_0x21fa77=_0x20370e(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5d20e3,0x11,_0x5ab2dd[0xa]),_0x46582f=_0x20370e(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x2ad640,0x16,_0x5ab2dd[0xb]),_0x20c40f=_0x20370e(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x7e5e59,0x7,_0x5ab2dd[0xc]),_0xbb9669=_0x20370e(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x2441e8,0xc,_0x5ab2dd[0xd]),_0x21fa77=_0x20370e(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x31ad8b,0x11,_0x5ab2dd[0xe]),_0x46582f=_0x20370e(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0xfd4d5,0x16,_0x5ab2dd[0xf]),_0x20c40f=_0x4bbaf9(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x166b93,0x5,_0x5ab2dd[0x10]),_0xbb9669=_0x4bbaf9(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x5b7c4b,0x9,_0x5ab2dd[0x11]),_0x21fa77=_0x4bbaf9(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x2ad640,0xe,_0x5ab2dd[0x12]),_0x46582f=_0x4bbaf9(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x3d296f,0x14,_0x5ab2dd[0x13]),_0x20c40f=_0x4bbaf9(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x41fe4d,0x5,_0x5ab2dd[0x14]),_0xbb9669=_0x4bbaf9(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x5d20e3,0x9,_0x5ab2dd[0x15]),_0x21fa77=_0x4bbaf9(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0xfd4d5,0xe,_0x5ab2dd[0x16]),_0x46582f=_0x4bbaf9(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x299875,0x14,_0x5ab2dd[0x17]),_0x20c40f=_0x4bbaf9(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x3aa7b8,0x5,_0x5ab2dd[0x18]),_0xbb9669=_0x4bbaf9(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x31ad8b,0x9,_0x5ab2dd[0x19]),_0x21fa77=_0x4bbaf9(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x7e3caf,0xe,_0x5ab2dd[0x1a]),_0x46582f=_0x4bbaf9(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x36c77d,0x14,_0x5ab2dd[0x1b]),_0x20c40f=_0x4bbaf9(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x2441e8,0x5,_0x5ab2dd[0x1c]),_0xbb9669=_0x4bbaf9(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x3dd4e3,0x9,_0x5ab2dd[0x1d]),_0x21fa77=_0x4bbaf9(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5a44ec,0xe,_0x5ab2dd[0x1e]),_0x46582f=_0x4bbaf9(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x7e5e59,0x14,_0x5ab2dd[0x1f]),_0x20c40f=_0x2da8dc(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x41fe4d,0x4,_0x5ab2dd[0x20]),_0xbb9669=_0x2da8dc(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x36c77d,0xb,_0x5ab2dd[0x21]),_0x21fa77=_0x2da8dc(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x2ad640,0x10,_0x5ab2dd[0x22]),_0x46582f=_0x2da8dc(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x31ad8b,0x17,_0x5ab2dd[0x23]),_0x20c40f=_0x2da8dc(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x166b93,0x4,_0x5ab2dd[0x24]),_0xbb9669=_0x2da8dc(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x299875,0xb,_0x5ab2dd[0x25]),_0x21fa77=_0x2da8dc(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5a44ec,0x10,_0x5ab2dd[0x26]),_0x46582f=_0x2da8dc(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x5d20e3,0x17,_0x5ab2dd[0x27]),_0x20c40f=_0x2da8dc(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x2441e8,0x4,_0x5ab2dd[0x28]),_0xbb9669=_0x2da8dc(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x3d296f,0xb,_0x5ab2dd[0x29]),_0x21fa77=_0x2da8dc(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x7e3caf,0x10,_0x5ab2dd[0x2a]),_0x46582f=_0x2da8dc(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x5b7c4b,0x17,_0x5ab2dd[0x2b]),_0x20c40f=_0x2da8dc(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x3aa7b8,0x4,_0x5ab2dd[0x2c]),_0xbb9669=_0x2da8dc(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x7e5e59,0xb,_0x5ab2dd[0x2d]),_0x21fa77=_0x2da8dc(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0xfd4d5,0x10,_0x5ab2dd[0x2e]),_0x46582f=_0x2da8dc(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x3dd4e3,0x17,_0x5ab2dd[0x2f]),_0x20c40f=_0x5db2c8(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x3d296f,0x6,_0x5ab2dd[0x30]),_0xbb9669=_0x5db2c8(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x5a44ec,0xa,_0x5ab2dd[0x31]),_0x21fa77=_0x5db2c8(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x31ad8b,0xf,_0x5ab2dd[0x32]),_0x46582f=_0x5db2c8(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x41fe4d,0x15,_0x5ab2dd[0x33]),_0x20c40f=_0x5db2c8(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x7e5e59,0x6,_0x5ab2dd[0x34]),_0xbb9669=_0x5db2c8(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x7e3caf,0xa,_0x5ab2dd[0x35]),_0x21fa77=_0x5db2c8(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5d20e3,0xf,_0x5ab2dd[0x36]),_0x46582f=_0x5db2c8(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x166b93,0x15,_0x5ab2dd[0x37]),_0x20c40f=_0x5db2c8(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x36c77d,0x6,_0x5ab2dd[0x38]),_0xbb9669=_0x5db2c8(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0xfd4d5,0xa,_0x5ab2dd[0x39]),_0x21fa77=_0x5db2c8(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x5b7c4b,0xf,_0x5ab2dd[0x3a]),_0x46582f=_0x5db2c8(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x2441e8,0x15,_0x5ab2dd[0x3b]),_0x20c40f=_0x5db2c8(_0x20c40f,_0x46582f,_0x21fa77,_0xbb9669,_0x299875,0x6,_0x5ab2dd[0x3c]),_0xbb9669=_0x5db2c8(_0xbb9669,_0x20c40f,_0x46582f,_0x21fa77,_0x2ad640,0xa,_0x5ab2dd[0x3d]),_0x21fa77=_0x5db2c8(_0x21fa77,_0xbb9669,_0x20c40f,_0x46582f,_0x3dd4e3,0xf,_0x5ab2dd[0x3e]),_0x46582f=_0x5db2c8(_0x46582f,_0x21fa77,_0xbb9669,_0x20c40f,_0x3aa7b8,0x15,_0x5ab2dd[0x3f]),_0x2bedef[0x0]=_0x2bedef[0x0]+_0x20c40f|0x0,_0x2bedef[0x1]=_0x2bedef[0x1]+_0x46582f|0x0,_0x2bedef[0x2]=_0x2bedef[0x2]+_0x21fa77|0x0,_0x2bedef[0x3]=_0x2bedef[0x3]+_0xbb9669|0x0;},'_doFinalize':function(){var _0x5128bc=_0x5bead4,_0x2054c9=this['_data'],_0x1f955e=_0x2054c9[_0x5128bc(0x288)],_0x1b9a10=this[_0x5128bc(0x46b)]*0x8,_0x561888=_0x2054c9[_0x5128bc(0x374)]*0x8;_0x1f955e[_0x561888>>>0x5]|=0x80<<0x18-_0x561888%0x20;var _0x2c000c=_0x17c987[_0x5128bc(0x3b6)](_0x1b9a10/0x100000000),_0x43b1b8=_0x1b9a10;_0x1f955e[(_0x561888+0x40>>>0x9<<0x4)+0xf]=(_0x2c000c<<0x8|_0x2c000c>>>0x18)&0xff00ff|(_0x2c000c<<0x18|_0x2c000c>>>0x8)&0xff00ff00,_0x1f955e[(_0x561888+0x40>>>0x9<<0x4)+0xe]=(_0x43b1b8<<0x8|_0x43b1b8>>>0x18)&0xff00ff|(_0x43b1b8<<0x18|_0x43b1b8>>>0x8)&0xff00ff00,_0x2054c9[_0x5128bc(0x374)]=(_0x1f955e['length']+0x1)*0x4,this[_0x5128bc(0x1fb)]();for(var _0x148596=this[_0x5128bc(0x474)],_0x804c80=_0x148596[_0x5128bc(0x288)],_0x33b719=0x0;_0x33b719<0x4;_0x33b719++){var _0x3c8481=_0x804c80[_0x33b719];_0x804c80[_0x33b719]=(_0x3c8481<<0x8|_0x3c8481>>>0x18)&0xff00ff|(_0x3c8481<<0x18|_0x3c8481>>>0x8)&0xff00ff00;}return _0x148596;},'clone':function(){var _0x4f53bb=_0x5bead4,_0x561625=_0x39bff4[_0x4f53bb(0x23a)]['call'](this);return _0x561625[_0x4f53bb(0x474)]=this['_hash']['clone'](),_0x561625;}});function _0x20370e(_0x327c64,_0x536f84,_0x5a55f4,_0x148d8e,_0x3741d6,_0x489a0b,_0x334ddf){var _0x3659b2=_0x327c64+(_0x536f84&_0x5a55f4|~_0x536f84&_0x148d8e)+_0x3741d6+_0x334ddf;return(_0x3659b2<<_0x489a0b|_0x3659b2>>>0x20-_0x489a0b)+_0x536f84;}function _0x4bbaf9(_0x4114f6,_0x29491c,_0x5275fa,_0x2a5b40,_0x116cbf,_0x1b6b5a,_0x350796){var _0x449d53=_0x4114f6+(_0x29491c&_0x2a5b40|_0x5275fa&~_0x2a5b40)+_0x116cbf+_0x350796;return(_0x449d53<<_0x1b6b5a|_0x449d53>>>0x20-_0x1b6b5a)+_0x29491c;}function _0x2da8dc(_0x3bf789,_0x4a797d,_0x5207db,_0x3ece54,_0x94ad9e,_0x1b86b2,_0x3398f1){var _0x49a832=_0x3bf789+(_0x4a797d^_0x5207db^_0x3ece54)+_0x94ad9e+_0x3398f1;return(_0x49a832<<_0x1b86b2|_0x49a832>>>0x20-_0x1b86b2)+_0x4a797d;}function _0x5db2c8(_0x2cd588,_0x43a615,_0xc0ff8f,_0x2cc7c3,_0x27097c,_0x14b30d,_0x250aa1){var _0x4f59f1=_0x2cd588+(_0xc0ff8f^(_0x43a615|~_0x2cc7c3))+_0x27097c+_0x250aa1;return(_0x4f59f1<<_0x14b30d|_0x4f59f1>>>0x20-_0x14b30d)+_0x43a615;}_0x341f9b[_0x5bead4(0x478)]=_0x39bff4[_0x5bead4(0x2a7)](_0x4340de),_0x341f9b[_0x5bead4(0x2eb)]=_0x39bff4[_0x5bead4(0x1dd)](_0x4340de);}(Math),_0x6a59db['MD5'];}));}(Ke)),Ke[_0x4baf94(0x344)];}var Ye={'exports':{}},qe={'exports':{}},$r=qe[_0x14b308(0x344)],ti;function Hr(){return ti||(ti=0x1,function(_0x55db0b,_0x2e54f9){(function(_0x2e90dd,_0x493b70){var _0x1eeafc=_0x2c62;_0x55db0b[_0x1eeafc(0x344)]=_0x493b70(ne());}($r,function(_0x16781c){var _0x527bec=_0x2c62;return(function(){var _0x508cb1=_0x2c62,_0x1e517f=_0x16781c,_0x28d819=_0x1e517f[_0x508cb1(0x1dc)],_0x396f2b=_0x28d819['WordArray'],_0x3c08fd=_0x28d819['Hasher'],_0x3cd99a=_0x1e517f[_0x508cb1(0x27b)],_0x2b5f13=[],_0x4cab1b=_0x3cd99a[_0x508cb1(0x30f)]=_0x3c08fd[_0x508cb1(0x46f)]({'_doReset':function(){var _0x2a600a=_0x508cb1;this['_hash']=new _0x396f2b[(_0x2a600a(0x38a))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x4d444d,_0x375e68){var _0x9d9cc2=_0x508cb1;for(var _0x1823c1=this['_hash'][_0x9d9cc2(0x288)],_0x23466c=_0x1823c1[0x0],_0x1386c6=_0x1823c1[0x1],_0x3cde98=_0x1823c1[0x2],_0x4261f8=_0x1823c1[0x3],_0x535b4b=_0x1823c1[0x4],_0x1c357e=0x0;_0x1c357e<0x50;_0x1c357e++){if(_0x1c357e<0x10)_0x2b5f13[_0x1c357e]=_0x4d444d[_0x375e68+_0x1c357e]|0x0;else{var _0xeb1864=_0x2b5f13[_0x1c357e-0x3]^_0x2b5f13[_0x1c357e-0x8]^_0x2b5f13[_0x1c357e-0xe]^_0x2b5f13[_0x1c357e-0x10];_0x2b5f13[_0x1c357e]=_0xeb1864<<0x1|_0xeb1864>>>0x1f;}var _0x5bea1f=(_0x23466c<<0x5|_0x23466c>>>0x1b)+_0x535b4b+_0x2b5f13[_0x1c357e];_0x1c357e<0x14?_0x5bea1f+=(_0x1386c6&_0x3cde98|~_0x1386c6&_0x4261f8)+0x5a827999:_0x1c357e<0x28?_0x5bea1f+=(_0x1386c6^_0x3cde98^_0x4261f8)+0x6ed9eba1:_0x1c357e<0x3c?_0x5bea1f+=(_0x1386c6&_0x3cde98|_0x1386c6&_0x4261f8|_0x3cde98&_0x4261f8)-0x70e44324:_0x5bea1f+=(_0x1386c6^_0x3cde98^_0x4261f8)-0x359d3e2a,_0x535b4b=_0x4261f8,_0x4261f8=_0x3cde98,_0x3cde98=_0x1386c6<<0x1e|_0x1386c6>>>0x2,_0x1386c6=_0x23466c,_0x23466c=_0x5bea1f;}_0x1823c1[0x0]=_0x1823c1[0x0]+_0x23466c|0x0,_0x1823c1[0x1]=_0x1823c1[0x1]+_0x1386c6|0x0,_0x1823c1[0x2]=_0x1823c1[0x2]+_0x3cde98|0x0,_0x1823c1[0x3]=_0x1823c1[0x3]+_0x4261f8|0x0,_0x1823c1[0x4]=_0x1823c1[0x4]+_0x535b4b|0x0;},'_doFinalize':function(){var _0x43c290=_0x508cb1,_0x2047e3=this['_data'],_0x432447=_0x2047e3[_0x43c290(0x288)],_0x370d70=this[_0x43c290(0x46b)]*0x8,_0x5333d1=_0x2047e3[_0x43c290(0x374)]*0x8;return _0x432447[_0x5333d1>>>0x5]|=0x80<<0x18-_0x5333d1%0x20,_0x432447[(_0x5333d1+0x40>>>0x9<<0x4)+0xe]=Math[_0x43c290(0x3b6)](_0x370d70/0x100000000),_0x432447[(_0x5333d1+0x40>>>0x9<<0x4)+0xf]=_0x370d70,_0x2047e3[_0x43c290(0x374)]=_0x432447[_0x43c290(0x469)]*0x4,this[_0x43c290(0x1fb)](),this['_hash'];},'clone':function(){var _0x23cdd1=_0x508cb1,_0x491bd2=_0x3c08fd[_0x23cdd1(0x23a)]['call'](this);return _0x491bd2[_0x23cdd1(0x474)]=this[_0x23cdd1(0x474)][_0x23cdd1(0x23a)](),_0x491bd2;}});_0x1e517f['SHA1']=_0x3c08fd[_0x508cb1(0x2a7)](_0x4cab1b),_0x1e517f[_0x508cb1(0x2bd)]=_0x3c08fd[_0x508cb1(0x1dd)](_0x4cab1b);}()),_0x16781c[_0x527bec(0x30f)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x14b308(0x344)],ii;function jr(){return ii||(ii=0x1,function(_0x239d0e,_0x5b8e5b){(function(_0x31a992,_0x5d22a8){_0x239d0e['exports']=_0x5d22a8(ne());}(kr,function(_0x2fd95b){(function(){var _0x1b525c=_0x2c62,_0x12c3f5=_0x2fd95b,_0x56646d=_0x12c3f5[_0x1b525c(0x1dc)],_0x1551aa=_0x56646d['Base'],_0x5e2216=_0x12c3f5[_0x1b525c(0x328)],_0x516743=_0x5e2216[_0x1b525c(0x496)],_0x5c4b0a=_0x12c3f5[_0x1b525c(0x27b)];_0x5c4b0a['HMAC']=_0x1551aa[_0x1b525c(0x46f)]({'init':function(_0x1e7a56,_0x174e9f){var _0x5a6883=_0x1b525c;_0x1e7a56=this[_0x5a6883(0x3d6)]=new _0x1e7a56[(_0x5a6883(0x38a))](),typeof _0x174e9f==_0x5a6883(0x1eb)&&(_0x174e9f=_0x516743[_0x5a6883(0x1e9)](_0x174e9f));var _0x1231e7=_0x1e7a56[_0x5a6883(0x1ab)],_0x1d1e36=_0x1231e7*0x4;_0x174e9f[_0x5a6883(0x374)]>_0x1d1e36&&(_0x174e9f=_0x1e7a56[_0x5a6883(0x3b8)](_0x174e9f)),_0x174e9f[_0x5a6883(0x1b5)]();for(var _0x59ab47=this[_0x5a6883(0x240)]=_0x174e9f[_0x5a6883(0x23a)](),_0x46690f=this[_0x5a6883(0x315)]=_0x174e9f[_0x5a6883(0x23a)](),_0x3c1f55=_0x59ab47['words'],_0x3c2a87=_0x46690f[_0x5a6883(0x288)],_0x404fc2=0x0;_0x404fc2<_0x1231e7;_0x404fc2++)_0x3c1f55[_0x404fc2]^=0x5c5c5c5c,_0x3c2a87[_0x404fc2]^=0x36363636;_0x59ab47[_0x5a6883(0x374)]=_0x46690f[_0x5a6883(0x374)]=_0x1d1e36,this[_0x5a6883(0x415)]();},'reset':function(){var _0x23f05b=_0x1b525c,_0x12ab80=this[_0x23f05b(0x3d6)];_0x12ab80[_0x23f05b(0x415)](),_0x12ab80[_0x23f05b(0x334)](this[_0x23f05b(0x315)]);},'update':function(_0x45844f){var _0x3e9ef2=_0x1b525c;return this['_hasher'][_0x3e9ef2(0x334)](_0x45844f),this;},'finalize':function(_0x6435c0){var _0x44e892=_0x1b525c,_0x703cb2=this[_0x44e892(0x3d6)],_0x558c58=_0x703cb2[_0x44e892(0x3b8)](_0x6435c0);_0x703cb2[_0x44e892(0x415)]();var _0x1a4fa7=_0x703cb2[_0x44e892(0x3b8)](this[_0x44e892(0x240)][_0x44e892(0x23a)]()['concat'](_0x558c58));return _0x1a4fa7;}});}());}));}(ze)),ze['exports'];}var Br=Ye['exports'],ni;function Ui(){var _0x117845=_0x14b308;return ni||(ni=0x1,function(_0x1e17ee,_0xc8e6d8){(function(_0x5bfda4,_0x460517,_0x5f2a87){var _0x39730f=_0x2c62;_0x1e17ee[_0x39730f(0x344)]=_0x460517(ne(),Hr(),jr());}(Br,function(_0x35d9e8){return(function(){var _0x2313f6=_0x2c62,_0x175d9f=_0x35d9e8,_0x22aa5e=_0x175d9f[_0x2313f6(0x1dc)],_0x1aa1c7=_0x22aa5e[_0x2313f6(0x2d3)],_0x73990f=_0x22aa5e['WordArray'],_0x5cdc2f=_0x175d9f[_0x2313f6(0x27b)],_0xd0368d=_0x5cdc2f['MD5'],_0xff3ff4=_0x5cdc2f[_0x2313f6(0x356)]=_0x1aa1c7['extend']({'cfg':_0x1aa1c7[_0x2313f6(0x46f)]({'keySize':0x80/0x20,'hasher':_0xd0368d,'iterations':0x1}),'init':function(_0x25ad94){var _0x2f74c5=_0x2313f6;this[_0x2f74c5(0x1fc)]=this[_0x2f74c5(0x1fc)][_0x2f74c5(0x46f)](_0x25ad94);},'compute':function(_0x4d1fc1,_0x199c36){var _0x3197fc=_0x2313f6;for(var _0x2439bc,_0xe10fe5=this[_0x3197fc(0x1fc)],_0x245591=_0xe10fe5['hasher'][_0x3197fc(0x365)](),_0x105622=_0x73990f[_0x3197fc(0x365)](),_0x1fce5d=_0x105622[_0x3197fc(0x288)],_0x1dbcf8=_0xe10fe5[_0x3197fc(0x2ec)],_0x20c4f6=_0xe10fe5[_0x3197fc(0x254)];_0x1fce5d[_0x3197fc(0x469)]<_0x1dbcf8;){_0x2439bc&&_0x245591[_0x3197fc(0x334)](_0x2439bc),_0x2439bc=_0x245591['update'](_0x4d1fc1)[_0x3197fc(0x3b8)](_0x199c36),_0x245591[_0x3197fc(0x415)]();for(var _0x51d8c3=0x1;_0x51d8c3<_0x20c4f6;_0x51d8c3++)_0x2439bc=_0x245591[_0x3197fc(0x3b8)](_0x2439bc),_0x245591['reset']();_0x105622[_0x3197fc(0x301)](_0x2439bc);}return _0x105622[_0x3197fc(0x374)]=_0x1dbcf8*0x4,_0x105622;}});_0x175d9f[_0x2313f6(0x356)]=function(_0x399792,_0x3986bf,_0x151b19){var _0x71d841=_0x2313f6;return _0xff3ff4[_0x71d841(0x365)](_0x151b19)['compute'](_0x399792,_0x3986bf);};}()),_0x35d9e8['EvpKDF'];}));}(Ye)),Ye[_0x117845(0x344)];}var Je={'exports':{}},Fr=Je[_0x14b308(0x344)],ri;function Ai(){var _0xd7dbd7=_0x14b308;return ri||(ri=0x1,function(_0x49d89f,_0x594cf3){(function(_0x39dc1e,_0x4dd3a3,_0x33bdb9){_0x49d89f['exports']=_0x4dd3a3(ne(),Ui());}(Fr,function(_0x46108c){var _0x5a2d88=_0x2c62;_0x46108c['lib'][_0x5a2d88(0x375)]||function(_0x3a26ba){var _0x464aed=_0x5a2d88,_0x25108b=_0x46108c,_0x1cf05e=_0x25108b[_0x464aed(0x1dc)],_0xb9d87=_0x1cf05e['Base'],_0x1ea034=_0x1cf05e[_0x464aed(0x24f)],_0x3464ba=_0x1cf05e[_0x464aed(0x299)],_0x219eab=_0x25108b[_0x464aed(0x328)];_0x219eab[_0x464aed(0x496)];var _0x2f6545=_0x219eab[_0x464aed(0x41e)],_0x38ab26=_0x25108b['algo'],_0x25b060=_0x38ab26[_0x464aed(0x356)],_0x2e61fc=_0x1cf05e[_0x464aed(0x375)]=_0x3464ba[_0x464aed(0x46f)]({'cfg':_0xb9d87[_0x464aed(0x46f)](),'createEncryptor':function(_0x460cb2,_0x50ae76){var _0x5edb56=_0x464aed;return this[_0x5edb56(0x365)](this['_ENC_XFORM_MODE'],_0x460cb2,_0x50ae76);},'createDecryptor':function(_0x4f4275,_0x4830fa){var _0x412cb8=_0x464aed;return this[_0x412cb8(0x365)](this[_0x412cb8(0x333)],_0x4f4275,_0x4830fa);},'init':function(_0x9038b,_0x3111b2,_0x85997b){var _0x310d31=_0x464aed;this[_0x310d31(0x1fc)]=this[_0x310d31(0x1fc)][_0x310d31(0x46f)](_0x85997b),this[_0x310d31(0x220)]=_0x9038b,this[_0x310d31(0x317)]=_0x3111b2,this[_0x310d31(0x415)]();},'reset':function(){var _0x162133=_0x464aed;_0x3464ba['reset'][_0x162133(0x471)](this),this['_doReset']();},'process':function(_0x55b6fb){var _0x3a9acd=_0x464aed;return this[_0x3a9acd(0x389)](_0x55b6fb),this[_0x3a9acd(0x1fb)]();},'finalize':function(_0x8f8e9b){var _0x583633=_0x464aed;_0x8f8e9b&&this['_append'](_0x8f8e9b);var _0x4f2848=this[_0x583633(0x2ed)]();return _0x4f2848;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x21a04(_0x59ed51){var _0xd8f02b=_0x2c62;return typeof _0x59ed51==_0xd8f02b(0x1eb)?_0x15a767:_0x4a3073;}return function(_0x55a004){return{'encrypt':function(_0xbf3381,_0x2a5fec,_0x4246a6){var _0x5b7407=_0x2c62;return _0x21a04(_0x2a5fec)[_0x5b7407(0x439)](_0x55a004,_0xbf3381,_0x2a5fec,_0x4246a6);},'decrypt':function(_0x3d3cd5,_0x1efa9a,_0x54e427){return _0x21a04(_0x1efa9a)['decrypt'](_0x55a004,_0x3d3cd5,_0x1efa9a,_0x54e427);}};};}())});_0x1cf05e[_0x464aed(0x280)]=_0x2e61fc[_0x464aed(0x46f)]({'_doFinalize':function(){var _0x72207=_0x464aed,_0x2ffd43=this[_0x72207(0x1fb)](!0x0);return _0x2ffd43;},'blockSize':0x1});var _0x4da56b=_0x25108b[_0x464aed(0x32a)]={},_0x17376e=_0x1cf05e[_0x464aed(0x3c4)]=_0xb9d87['extend']({'createEncryptor':function(_0x5e0a5d,_0x223782){var _0x163454=_0x464aed;return this[_0x163454(0x2f4)][_0x163454(0x365)](_0x5e0a5d,_0x223782);},'createDecryptor':function(_0x2c6487,_0x439e77){var _0x274d80=_0x464aed;return this[_0x274d80(0x39e)]['create'](_0x2c6487,_0x439e77);},'init':function(_0x308cb7,_0x386b73){var _0x30f374=_0x464aed;this[_0x30f374(0x1e0)]=_0x308cb7,this['_iv']=_0x386b73;}}),_0x48f9e3=_0x4da56b[_0x464aed(0x42d)]=(function(){var _0x1731e3=_0x464aed,_0x39a5cd=_0x17376e[_0x1731e3(0x46f)]();_0x39a5cd[_0x1731e3(0x2f4)]=_0x39a5cd['extend']({'processBlock':function(_0x719799,_0x16efeb){var _0x2b64fe=_0x1731e3,_0xeb5e15=this['_cipher'],_0x5e147b=_0xeb5e15[_0x2b64fe(0x1ab)];_0x3bd0a5[_0x2b64fe(0x471)](this,_0x719799,_0x16efeb,_0x5e147b),_0xeb5e15[_0x2b64fe(0x48d)](_0x719799,_0x16efeb),this[_0x2b64fe(0x323)]=_0x719799[_0x2b64fe(0x1a3)](_0x16efeb,_0x16efeb+_0x5e147b);}}),_0x39a5cd[_0x1731e3(0x39e)]=_0x39a5cd[_0x1731e3(0x46f)]({'processBlock':function(_0x44cc22,_0x2487f9){var _0x5f52fb=_0x1731e3,_0xaae7fa=this[_0x5f52fb(0x1e0)],_0x403981=_0xaae7fa[_0x5f52fb(0x1ab)],_0x19870a=_0x44cc22[_0x5f52fb(0x1a3)](_0x2487f9,_0x2487f9+_0x403981);_0xaae7fa[_0x5f52fb(0x3b1)](_0x44cc22,_0x2487f9),_0x3bd0a5[_0x5f52fb(0x471)](this,_0x44cc22,_0x2487f9,_0x403981),this[_0x5f52fb(0x323)]=_0x19870a;}});function _0x3bd0a5(_0x55db48,_0x15dc0f,_0x5445bd){var _0x39fdea=_0x1731e3,_0x146060,_0x18ca7b=this[_0x39fdea(0x349)];_0x18ca7b?(_0x146060=_0x18ca7b,this['_iv']=_0x3a26ba):_0x146060=this[_0x39fdea(0x323)];for(var _0x359473=0x0;_0x359473<_0x5445bd;_0x359473++)_0x55db48[_0x15dc0f+_0x359473]^=_0x146060[_0x359473];}return _0x39a5cd;}()),_0x558d90=_0x25108b[_0x464aed(0x202)]={},_0x3b84a7=_0x558d90['Pkcs7']={'pad':function(_0x520591,_0x59087a){var _0x962b21=_0x464aed;for(var _0x183320=_0x59087a*0x4,_0x2add8e=_0x183320-_0x520591[_0x962b21(0x374)]%_0x183320,_0x1ca601=_0x2add8e<<0x18|_0x2add8e<<0x10|_0x2add8e<<0x8|_0x2add8e,_0x303a11=[],_0x34032d=0x0;_0x34032d<_0x2add8e;_0x34032d+=0x4)_0x303a11[_0x962b21(0x22b)](_0x1ca601);var _0x2bd445=_0x1ea034[_0x962b21(0x365)](_0x303a11,_0x2add8e);_0x520591[_0x962b21(0x301)](_0x2bd445);},'unpad':function(_0x442eba){var _0x58a7aa=_0x464aed,_0x4fd70c=_0x442eba[_0x58a7aa(0x288)][_0x442eba[_0x58a7aa(0x374)]-0x1>>>0x2]&0xff;_0x442eba[_0x58a7aa(0x374)]-=_0x4fd70c;}};_0x1cf05e['BlockCipher']=_0x2e61fc[_0x464aed(0x46f)]({'cfg':_0x2e61fc['cfg']['extend']({'mode':_0x48f9e3,'padding':_0x3b84a7}),'reset':function(){var _0x4b1d8f=_0x464aed,_0x1f508e;_0x2e61fc['reset'][_0x4b1d8f(0x471)](this);var _0x40c15b=this[_0x4b1d8f(0x1fc)],_0x16f2b5=_0x40c15b['iv'],_0x21cc37=_0x40c15b[_0x4b1d8f(0x32a)];this[_0x4b1d8f(0x220)]==this[_0x4b1d8f(0x277)]?_0x1f508e=_0x21cc37['createEncryptor']:(_0x1f508e=_0x21cc37[_0x4b1d8f(0x283)],this[_0x4b1d8f(0x1ee)]=0x1),this[_0x4b1d8f(0x1e3)]&&this[_0x4b1d8f(0x1e3)][_0x4b1d8f(0x210)]==_0x1f508e?this[_0x4b1d8f(0x1e3)][_0x4b1d8f(0x38a)](this,_0x16f2b5&&_0x16f2b5['words']):(this['_mode']=_0x1f508e[_0x4b1d8f(0x471)](_0x21cc37,this,_0x16f2b5&&_0x16f2b5[_0x4b1d8f(0x288)]),this[_0x4b1d8f(0x1e3)][_0x4b1d8f(0x210)]=_0x1f508e);},'_doProcessBlock':function(_0x146fde,_0x240b47){var _0x4abbf6=_0x464aed;this['_mode'][_0x4abbf6(0x448)](_0x146fde,_0x240b47);},'_doFinalize':function(){var _0x49db06=_0x464aed,_0x88e395,_0x55ec97=this['cfg']['padding'];return this[_0x49db06(0x220)]==this[_0x49db06(0x277)]?(_0x55ec97[_0x49db06(0x202)](this[_0x49db06(0x1d6)],this[_0x49db06(0x1ab)]),_0x88e395=this[_0x49db06(0x1fb)](!0x0)):(_0x88e395=this[_0x49db06(0x1fb)](!0x0),_0x55ec97['unpad'](_0x88e395)),_0x88e395;},'blockSize':0x80/0x20});var _0x169676=_0x1cf05e[_0x464aed(0x43b)]=_0xb9d87[_0x464aed(0x46f)]({'init':function(_0x4ffd21){var _0x31444d=_0x464aed;this[_0x31444d(0x47c)](_0x4ffd21);},'toString':function(_0x26e92b){var _0x571af9=_0x464aed;return(_0x26e92b||this['formatter'])[_0x571af9(0x1ea)](this);}}),_0x138107=_0x25108b['format']={},_0x2600b8=_0x138107[_0x464aed(0x442)]={'stringify':function(_0x1eade8){var _0x56342f=_0x464aed,_0x48addc,_0x47a162=_0x1eade8[_0x56342f(0x262)],_0x163f98=_0x1eade8[_0x56342f(0x3fe)];return _0x163f98?_0x48addc=_0x1ea034[_0x56342f(0x365)]([0x53616c74,0x65645f5f])['concat'](_0x163f98)[_0x56342f(0x301)](_0x47a162):_0x48addc=_0x47a162,_0x48addc[_0x56342f(0x3ff)](_0x2f6545);},'parse':function(_0x4a7d07){var _0x57766c=_0x464aed,_0x3594f0,_0x423046=_0x2f6545[_0x57766c(0x1e9)](_0x4a7d07),_0x52f57c=_0x423046[_0x57766c(0x288)];return _0x52f57c[0x0]==0x53616c74&&_0x52f57c[0x1]==0x65645f5f&&(_0x3594f0=_0x1ea034[_0x57766c(0x365)](_0x52f57c[_0x57766c(0x1a3)](0x2,0x4)),_0x52f57c[_0x57766c(0x44f)](0x0,0x4),_0x423046[_0x57766c(0x374)]-=0x10),_0x169676[_0x57766c(0x365)]({'ciphertext':_0x423046,'salt':_0x3594f0});}},_0x4a3073=_0x1cf05e[_0x464aed(0x2b6)]=_0xb9d87[_0x464aed(0x46f)]({'cfg':_0xb9d87['extend']({'format':_0x2600b8}),'encrypt':function(_0x2bca89,_0x597c38,_0x428862,_0x3e4d6b){var _0x5d0b99=_0x464aed;_0x3e4d6b=this[_0x5d0b99(0x1fc)][_0x5d0b99(0x46f)](_0x3e4d6b);var _0x502762=_0x2bca89['createEncryptor'](_0x428862,_0x3e4d6b),_0x6cc8bb=_0x502762['finalize'](_0x597c38),_0x218f33=_0x502762[_0x5d0b99(0x1fc)];return _0x169676[_0x5d0b99(0x365)]({'ciphertext':_0x6cc8bb,'key':_0x428862,'iv':_0x218f33['iv'],'algorithm':_0x2bca89,'mode':_0x218f33[_0x5d0b99(0x32a)],'padding':_0x218f33['padding'],'blockSize':_0x2bca89['blockSize'],'formatter':_0x3e4d6b['format']});},'decrypt':function(_0x3bfd5a,_0xb9655a,_0x246325,_0x4b17cf){var _0x157a81=_0x464aed;_0x4b17cf=this[_0x157a81(0x1fc)][_0x157a81(0x46f)](_0x4b17cf),_0xb9655a=this[_0x157a81(0x302)](_0xb9655a,_0x4b17cf[_0x157a81(0x282)]);var _0x52fe7b=_0x3bfd5a['createDecryptor'](_0x246325,_0x4b17cf)['finalize'](_0xb9655a['ciphertext']);return _0x52fe7b;},'_parse':function(_0x20ac58,_0x215e9c){var _0x129458=_0x464aed;return typeof _0x20ac58==_0x129458(0x1eb)?_0x215e9c[_0x129458(0x1e9)](_0x20ac58,this):_0x20ac58;}}),_0x364d3a=_0x25108b[_0x464aed(0x36f)]={},_0x58623c=_0x364d3a[_0x464aed(0x442)]={'execute':function(_0x10c754,_0x260080,_0x408f08,_0x5aa028,_0x1a0cd8){var _0x595b54=_0x464aed;if(_0x5aa028||(_0x5aa028=_0x1ea034[_0x595b54(0x3c5)](0x40/0x8)),_0x1a0cd8)var _0x429ce5=_0x25b060[_0x595b54(0x365)]({'keySize':_0x260080+_0x408f08,'hasher':_0x1a0cd8})['compute'](_0x10c754,_0x5aa028);else var _0x429ce5=_0x25b060[_0x595b54(0x365)]({'keySize':_0x260080+_0x408f08})['compute'](_0x10c754,_0x5aa028);var _0x32c65d=_0x1ea034['create'](_0x429ce5[_0x595b54(0x288)][_0x595b54(0x1a3)](_0x260080),_0x408f08*0x4);return _0x429ce5['sigBytes']=_0x260080*0x4,_0x169676['create']({'key':_0x429ce5,'iv':_0x32c65d,'salt':_0x5aa028});}},_0x15a767=_0x1cf05e['PasswordBasedCipher']=_0x4a3073[_0x464aed(0x46f)]({'cfg':_0x4a3073['cfg'][_0x464aed(0x46f)]({'kdf':_0x58623c}),'encrypt':function(_0x7649c2,_0x4e2b8f,_0x2c2cfd,_0xebda4){var _0x17ec38=_0x464aed;_0xebda4=this[_0x17ec38(0x1fc)][_0x17ec38(0x46f)](_0xebda4);var _0xd6efb6=_0xebda4[_0x17ec38(0x36f)][_0x17ec38(0x3ad)](_0x2c2cfd,_0x7649c2[_0x17ec38(0x2ec)],_0x7649c2[_0x17ec38(0x46c)],_0xebda4[_0x17ec38(0x3fe)],_0xebda4['hasher']);_0xebda4['iv']=_0xd6efb6['iv'];var _0x1802be=_0x4a3073['encrypt'][_0x17ec38(0x471)](this,_0x7649c2,_0x4e2b8f,_0xd6efb6[_0x17ec38(0x444)],_0xebda4);return _0x1802be[_0x17ec38(0x47c)](_0xd6efb6),_0x1802be;},'decrypt':function(_0x4788f5,_0x54a056,_0x13a2b4,_0x30a05d){var _0x293d8d=_0x464aed;_0x30a05d=this[_0x293d8d(0x1fc)][_0x293d8d(0x46f)](_0x30a05d),_0x54a056=this[_0x293d8d(0x302)](_0x54a056,_0x30a05d['format']);var _0x3b2466=_0x30a05d[_0x293d8d(0x36f)][_0x293d8d(0x3ad)](_0x13a2b4,_0x4788f5[_0x293d8d(0x2ec)],_0x4788f5[_0x293d8d(0x46c)],_0x54a056[_0x293d8d(0x3fe)],_0x30a05d[_0x293d8d(0x370)]);_0x30a05d['iv']=_0x3b2466['iv'];var _0x2c02af=_0x4a3073[_0x293d8d(0x2ac)][_0x293d8d(0x471)](this,_0x4788f5,_0x54a056,_0x3b2466['key'],_0x30a05d);return _0x2c02af;}});}();}));}(Je)),Je[_0xd7dbd7(0x344)];}var Vr=Ve['exports'],si;function Gr(){return si||(si=0x1,function(_0x2b8a7a,_0x123d65){(function(_0x16ea1a,_0x3d070b,_0x112e66){var _0x2f07f8=_0x2c62;_0x2b8a7a[_0x2f07f8(0x344)]=_0x3d070b(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x26306c){var _0x7e5a4f=_0x2c62;return(function(){var _0x4cdf32=_0x2c62,_0x2bbb02=_0x26306c,_0x3151a1=_0x2bbb02[_0x4cdf32(0x1dc)],_0x3bc724=_0x3151a1[_0x4cdf32(0x1fe)],_0x56efc9=_0x2bbb02[_0x4cdf32(0x27b)],_0x3e0b12=[],_0x440af2=[],_0x354de9=[],_0x158df2=[],_0x4a13b8=[],_0x570dfb=[],_0x1662a1=[],_0x20dd9f=[],_0x1422e8=[],_0x2e691b=[];(function(){for(var _0x35bd87=[],_0x2472b4=0x0;_0x2472b4<0x100;_0x2472b4++)_0x2472b4<0x80?_0x35bd87[_0x2472b4]=_0x2472b4<<0x1:_0x35bd87[_0x2472b4]=_0x2472b4<<0x1^0x11b;for(var _0x3c0661=0x0,_0x1f13aa=0x0,_0x2472b4=0x0;_0x2472b4<0x100;_0x2472b4++){var _0x5ad77e=_0x1f13aa^_0x1f13aa<<0x1^_0x1f13aa<<0x2^_0x1f13aa<<0x3^_0x1f13aa<<0x4;_0x5ad77e=_0x5ad77e>>>0x8^_0x5ad77e&0xff^0x63,_0x3e0b12[_0x3c0661]=_0x5ad77e,_0x440af2[_0x5ad77e]=_0x3c0661;var _0x328315=_0x35bd87[_0x3c0661],_0xe01f9f=_0x35bd87[_0x328315],_0x8aaf95=_0x35bd87[_0xe01f9f],_0x39f755=_0x35bd87[_0x5ad77e]*0x101^_0x5ad77e*0x1010100;_0x354de9[_0x3c0661]=_0x39f755<<0x18|_0x39f755>>>0x8,_0x158df2[_0x3c0661]=_0x39f755<<0x10|_0x39f755>>>0x10,_0x4a13b8[_0x3c0661]=_0x39f755<<0x8|_0x39f755>>>0x18,_0x570dfb[_0x3c0661]=_0x39f755;var _0x39f755=_0x8aaf95*0x1010101^_0xe01f9f*0x10001^_0x328315*0x101^_0x3c0661*0x1010100;_0x1662a1[_0x5ad77e]=_0x39f755<<0x18|_0x39f755>>>0x8,_0x20dd9f[_0x5ad77e]=_0x39f755<<0x10|_0x39f755>>>0x10,_0x1422e8[_0x5ad77e]=_0x39f755<<0x8|_0x39f755>>>0x18,_0x2e691b[_0x5ad77e]=_0x39f755,_0x3c0661?(_0x3c0661=_0x328315^_0x35bd87[_0x35bd87[_0x35bd87[_0x8aaf95^_0x328315]]],_0x1f13aa^=_0x35bd87[_0x35bd87[_0x1f13aa]]):_0x3c0661=_0x1f13aa=0x1;}}());var _0x1d9c64=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xac7df5=_0x56efc9[_0x4cdf32(0x1b2)]=_0x3bc724[_0x4cdf32(0x46f)]({'_doReset':function(){var _0x17e056=_0x4cdf32,_0x36f13c;if(!(this['_nRounds']&&this[_0x17e056(0x35e)]===this[_0x17e056(0x317)])){for(var _0x219cab=this[_0x17e056(0x35e)]=this[_0x17e056(0x317)],_0x3ec43f=_0x219cab['words'],_0x3d540d=_0x219cab[_0x17e056(0x374)]/0x4,_0x4d95ab=this[_0x17e056(0x497)]=_0x3d540d+0x6,_0x47dc0a=(_0x4d95ab+0x1)*0x4,_0xe22dfe=this[_0x17e056(0x489)]=[],_0x5ab4f9=0x0;_0x5ab4f9<_0x47dc0a;_0x5ab4f9++)_0x5ab4f9<_0x3d540d?_0xe22dfe[_0x5ab4f9]=_0x3ec43f[_0x5ab4f9]:(_0x36f13c=_0xe22dfe[_0x5ab4f9-0x1],_0x5ab4f9%_0x3d540d?_0x3d540d>0x6&&_0x5ab4f9%_0x3d540d==0x4&&(_0x36f13c=_0x3e0b12[_0x36f13c>>>0x18]<<0x18|_0x3e0b12[_0x36f13c>>>0x10&0xff]<<0x10|_0x3e0b12[_0x36f13c>>>0x8&0xff]<<0x8|_0x3e0b12[_0x36f13c&0xff]):(_0x36f13c=_0x36f13c<<0x8|_0x36f13c>>>0x18,_0x36f13c=_0x3e0b12[_0x36f13c>>>0x18]<<0x18|_0x3e0b12[_0x36f13c>>>0x10&0xff]<<0x10|_0x3e0b12[_0x36f13c>>>0x8&0xff]<<0x8|_0x3e0b12[_0x36f13c&0xff],_0x36f13c^=_0x1d9c64[_0x5ab4f9/_0x3d540d|0x0]<<0x18),_0xe22dfe[_0x5ab4f9]=_0xe22dfe[_0x5ab4f9-_0x3d540d]^_0x36f13c);for(var _0x5c0042=this[_0x17e056(0x2d2)]=[],_0x4a4370=0x0;_0x4a4370<_0x47dc0a;_0x4a4370++){var _0x5ab4f9=_0x47dc0a-_0x4a4370;if(_0x4a4370%0x4)var _0x36f13c=_0xe22dfe[_0x5ab4f9];else var _0x36f13c=_0xe22dfe[_0x5ab4f9-0x4];_0x4a4370<0x4||_0x5ab4f9<=0x4?_0x5c0042[_0x4a4370]=_0x36f13c:_0x5c0042[_0x4a4370]=_0x1662a1[_0x3e0b12[_0x36f13c>>>0x18]]^_0x20dd9f[_0x3e0b12[_0x36f13c>>>0x10&0xff]]^_0x1422e8[_0x3e0b12[_0x36f13c>>>0x8&0xff]]^_0x2e691b[_0x3e0b12[_0x36f13c&0xff]];}}},'encryptBlock':function(_0x12119b,_0x332572){var _0x55af90=_0x4cdf32;this[_0x55af90(0x256)](_0x12119b,_0x332572,this[_0x55af90(0x489)],_0x354de9,_0x158df2,_0x4a13b8,_0x570dfb,_0x3e0b12);},'decryptBlock':function(_0x44f7bd,_0x682011){var _0x533430=_0x4cdf32,_0x226f92=_0x44f7bd[_0x682011+0x1];_0x44f7bd[_0x682011+0x1]=_0x44f7bd[_0x682011+0x3],_0x44f7bd[_0x682011+0x3]=_0x226f92,this['_doCryptBlock'](_0x44f7bd,_0x682011,this[_0x533430(0x2d2)],_0x1662a1,_0x20dd9f,_0x1422e8,_0x2e691b,_0x440af2);var _0x226f92=_0x44f7bd[_0x682011+0x1];_0x44f7bd[_0x682011+0x1]=_0x44f7bd[_0x682011+0x3],_0x44f7bd[_0x682011+0x3]=_0x226f92;},'_doCryptBlock':function(_0x291976,_0x3a5346,_0x48a24b,_0x5408ae,_0x3250e9,_0x47fe61,_0xc256f9,_0x25e841){var _0x7cb4b0=_0x4cdf32;for(var _0x54ec6e=this[_0x7cb4b0(0x497)],_0x3f0ee8=_0x291976[_0x3a5346]^_0x48a24b[0x0],_0x3a4668=_0x291976[_0x3a5346+0x1]^_0x48a24b[0x1],_0x47af72=_0x291976[_0x3a5346+0x2]^_0x48a24b[0x2],_0x49ae25=_0x291976[_0x3a5346+0x3]^_0x48a24b[0x3],_0x4bd6c3=0x4,_0x1a3822=0x1;_0x1a3822<_0x54ec6e;_0x1a3822++){var _0x176c96=_0x5408ae[_0x3f0ee8>>>0x18]^_0x3250e9[_0x3a4668>>>0x10&0xff]^_0x47fe61[_0x47af72>>>0x8&0xff]^_0xc256f9[_0x49ae25&0xff]^_0x48a24b[_0x4bd6c3++],_0x7c5978=_0x5408ae[_0x3a4668>>>0x18]^_0x3250e9[_0x47af72>>>0x10&0xff]^_0x47fe61[_0x49ae25>>>0x8&0xff]^_0xc256f9[_0x3f0ee8&0xff]^_0x48a24b[_0x4bd6c3++],_0x4ad9ed=_0x5408ae[_0x47af72>>>0x18]^_0x3250e9[_0x49ae25>>>0x10&0xff]^_0x47fe61[_0x3f0ee8>>>0x8&0xff]^_0xc256f9[_0x3a4668&0xff]^_0x48a24b[_0x4bd6c3++],_0x334a6b=_0x5408ae[_0x49ae25>>>0x18]^_0x3250e9[_0x3f0ee8>>>0x10&0xff]^_0x47fe61[_0x3a4668>>>0x8&0xff]^_0xc256f9[_0x47af72&0xff]^_0x48a24b[_0x4bd6c3++];_0x3f0ee8=_0x176c96,_0x3a4668=_0x7c5978,_0x47af72=_0x4ad9ed,_0x49ae25=_0x334a6b;}var _0x176c96=(_0x25e841[_0x3f0ee8>>>0x18]<<0x18|_0x25e841[_0x3a4668>>>0x10&0xff]<<0x10|_0x25e841[_0x47af72>>>0x8&0xff]<<0x8|_0x25e841[_0x49ae25&0xff])^_0x48a24b[_0x4bd6c3++],_0x7c5978=(_0x25e841[_0x3a4668>>>0x18]<<0x18|_0x25e841[_0x47af72>>>0x10&0xff]<<0x10|_0x25e841[_0x49ae25>>>0x8&0xff]<<0x8|_0x25e841[_0x3f0ee8&0xff])^_0x48a24b[_0x4bd6c3++],_0x4ad9ed=(_0x25e841[_0x47af72>>>0x18]<<0x18|_0x25e841[_0x49ae25>>>0x10&0xff]<<0x10|_0x25e841[_0x3f0ee8>>>0x8&0xff]<<0x8|_0x25e841[_0x3a4668&0xff])^_0x48a24b[_0x4bd6c3++],_0x334a6b=(_0x25e841[_0x49ae25>>>0x18]<<0x18|_0x25e841[_0x3f0ee8>>>0x10&0xff]<<0x10|_0x25e841[_0x3a4668>>>0x8&0xff]<<0x8|_0x25e841[_0x47af72&0xff])^_0x48a24b[_0x4bd6c3++];_0x291976[_0x3a5346]=_0x176c96,_0x291976[_0x3a5346+0x1]=_0x7c5978,_0x291976[_0x3a5346+0x2]=_0x4ad9ed,_0x291976[_0x3a5346+0x3]=_0x334a6b;},'keySize':0x100/0x20});_0x2bbb02[_0x4cdf32(0x1b2)]=_0x3bc724[_0x4cdf32(0x2a7)](_0xac7df5);}()),_0x26306c[_0x7e5a4f(0x1b2)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x14b308(0x344)],ai;function zr(){var _0x299b08=_0x14b308;return ai||(ai=0x1,function(_0x4e051b,_0x1c6d6b){(function(_0x410f79,_0xea9032){_0x4e051b['exports']=_0xea9032(ne());}(qr,function(_0x31c3d5){var _0x14edaa=_0x2c62;return _0x31c3d5[_0x14edaa(0x328)][_0x14edaa(0x496)];}));}(Xe)),Xe[_0x299b08(0x344)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x14b308(0x344)],ci;function Qr(){var _0x2131dd=_0x14b308;return ci||(ci=0x1,function(_0x548494,_0x3e8c49){(function(_0x35c437,_0x382d95){var _0x180634=_0x2c62;_0x548494[_0x180634(0x344)]=_0x382d95(ne());}(Zr,function(_0x156cf0){var _0x4c8310=_0x2c62;return(function(){var _0x23bca6=_0x2c62;if(typeof ArrayBuffer==_0x23bca6(0x1d0)){var _0x2c3d82=_0x156cf0,_0xea4715=_0x2c3d82[_0x23bca6(0x1dc)],_0x5c8646=_0xea4715['WordArray'],_0x1f3f8a=_0x5c8646[_0x23bca6(0x38a)],_0x101adf=_0x5c8646[_0x23bca6(0x38a)]=function(_0x2bf48a){var _0x3f20c1=_0x23bca6;if(_0x2bf48a instanceof ArrayBuffer&&(_0x2bf48a=new Uint8Array(_0x2bf48a)),(_0x2bf48a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x2bf48a instanceof Uint8ClampedArray||_0x2bf48a instanceof Int16Array||_0x2bf48a instanceof Uint16Array||_0x2bf48a instanceof Int32Array||_0x2bf48a instanceof Uint32Array||_0x2bf48a instanceof Float32Array||_0x2bf48a instanceof Float64Array)&&(_0x2bf48a=new Uint8Array(_0x2bf48a['buffer'],_0x2bf48a['byteOffset'],_0x2bf48a[_0x3f20c1(0x29f)])),_0x2bf48a instanceof Uint8Array){for(var _0x14c5ed=_0x2bf48a['byteLength'],_0x418890=[],_0x4ea6b5=0x0;_0x4ea6b5<_0x14c5ed;_0x4ea6b5++)_0x418890[_0x4ea6b5>>>0x2]|=_0x2bf48a[_0x4ea6b5]<<0x18-_0x4ea6b5%0x4*0x8;_0x1f3f8a[_0x3f20c1(0x471)](this,_0x418890,_0x14c5ed);}else _0x1f3f8a[_0x3f20c1(0x404)](this,arguments);};_0x101adf[_0x23bca6(0x41c)]=_0x5c8646;}}()),_0x156cf0[_0x4c8310(0x1dc)][_0x4c8310(0x24f)];}));}(Ze)),Ze[_0x2131dd(0x344)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x14b308(0x344)],hi;function ns(){return hi||(hi=0x1,function(_0x4af65e,_0x513c1c){(function(_0x375e6a,_0x47e02d,_0x2e50e4){var _0x4f5112=_0x2c62;_0x4af65e[_0x4f5112(0x344)]=_0x47e02d(ne(),Ai());}(is,function(_0x26a82e){var _0x120091=_0x2c62;return _0x26a82e[_0x120091(0x202)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x26a82e['pad']['NoPadding'];}));}(Qe)),Qe['exports'];}var rs=ns();const ss=ke(rs);function os(_0x4d05f4,_0x50f32d){var _0x26d8c0=_0x14b308;const _0x45a137=_0x50f32d-_0x4d05f4[_0x26d8c0(0x469)]%_0x50f32d,_0x1c8b97=String['fromCharCode'](_0x45a137)['repeat'](_0x45a137);return _0x4d05f4+_0x1c8b97;}function as(_0x57d90e,_0x36b3ec){var _0x279615=_0x14b308;const _0xc6f461=ts['random'](0x10),_0x1b4f8b=os(_0x57d90e,0x10),_0x2931c0=Kr[_0x279615(0x439)](Xr[_0x279615(0x1e9)](_0x1b4f8b),oi[_0x279615(0x1e9)](_0x36b3ec),{'iv':_0xc6f461,'padding':ss});return _0xc6f461[_0x279615(0x301)](_0x2931c0[_0x279615(0x262)])[_0x279615(0x3ff)](oi);}function cs(){var _0xa8bd80=_0x14b308;const _0x41de9c=_0x55cf3a()[_0xa8bd80(0x331)];if(_0x41de9c){const _0x3799fc={'time':Math[_0xa8bd80(0x3b6)](Date['now']()/0x3e8),'domain':location[_0xa8bd80(0x2e1)]};return as(JSON[_0xa8bd80(0x1ea)](_0x3799fc),_0x41de9c);}}var hs=Object[_0x14b308(0x380)],_s=Object['getOwnPropertyDescriptor'],ls=(_0x49c9ac,_0xc68049,_0x567abf,_0x284915)=>{var _0x50225a=_0x14b308;for(var _0x364cac=_0x284915>0x1?void 0x0:_0x284915?_s(_0xc68049,_0x567abf):_0xc68049,_0x2de928=_0x49c9ac[_0x50225a(0x469)]-0x1,_0xa7a577;_0x2de928>=0x0;_0x2de928--)(_0xa7a577=_0x49c9ac[_0x2de928])&&(_0x364cac=(_0x284915?_0xa7a577(_0xc68049,_0x567abf,_0x364cac):_0xa7a577(_0x364cac))||_0x364cac);return _0x284915&&_0x364cac&&hs(_0xc68049,_0x567abf,_0x364cac),_0x364cac;},us=(_0x110a36,_0x4c7e54)=>(_0x2ccf40,_0x16dfd3)=>_0x4c7e54(_0x2ccf40,_0x16dfd3,_0x110a36);let ot=class{constructor(_0x1411db){var _0x443fad=_0x14b308;this['_httpService']=_0x1411db,this[_0x443fad(0x246)]();}[_0x14b308(0x246)](){var _0x28dfbe=_0x14b308;this[_0x28dfbe(0x493)][_0x28dfbe(0x393)]({'interceptor':(_0x340a88,_0x55bf12)=>{var _0x42b9e4=_0x28dfbe;const _0xabfb6=_0x340a88[_0x42b9e4(0x341)],_0x4daf9e=cs();return _0x4daf9e&&_0xabfb6[_0x42b9e4(0x410)](_0x42b9e4(0x197),_0x4daf9e),_0x55bf12(_0x340a88);}});}};ot=ls([us(0x0,_0x2a95eb(_0x17dca8))],ot);var ds=Object['defineProperty'],fs=Object[_0x14b308(0x498)],vs=(_0x54915a,_0x4105de,_0x4f17c0,_0x7b8457)=>{var _0x1e30a0=_0x14b308;for(var _0x25e300=_0x7b8457>0x1?void 0x0:_0x7b8457?fs(_0x4105de,_0x4f17c0):_0x4105de,_0x2cba86=_0x54915a[_0x1e30a0(0x469)]-0x1,_0x57ac99;_0x2cba86>=0x0;_0x2cba86--)(_0x57ac99=_0x54915a[_0x2cba86])&&(_0x25e300=(_0x7b8457?_0x57ac99(_0x4105de,_0x4f17c0,_0x25e300):_0x57ac99(_0x25e300))||_0x25e300);return _0x7b8457&&_0x25e300&&ds(_0x4105de,_0x4f17c0,_0x25e300),_0x25e300;},mt=(_0x3d35c1,_0x3d4594)=>(_0x4bffbd,_0x57a959)=>_0x3d4594(_0x4bffbd,_0x57a959,_0x3d35c1);let Ot=class extends _0x4d8d70{constructor(_0xd3c104,_0x1b4310,_0x3c128e){var _0x11979e=_0x14b308;super(),N(this,_0x11979e(0x2ca),new _0x937a61(null)),N(this,_0x11979e(0x32e),this[_0x11979e(0x2ca)][_0x11979e(0x463)]()),(this[_0x11979e(0x456)]=_0xd3c104,this[_0x11979e(0x3e4)]=_0x1b4310,this['_localCacheService']=_0x3c128e);}async[_0x14b308(0x268)](_0x488b55,_0x3f493f,_0x5aa7e0){var _0x301b66=_0x14b308;this[_0x301b66(0x2ca)]['next']({'unitId':_0x488b55,'type':_0x3f493f,'subUnitId':_0x5aa7e0});let _0x2db2b8=null;switch(_0x3f493f){case Q[_0x301b66(0x371)]:{_0x2db2b8=await this[_0x301b66(0x19c)](_0x488b55);break;}case Q[_0x301b66(0x42a)]:{_0x2db2b8=await this[_0x301b66(0x388)](_0x488b55);break;}default:{this[_0x301b66(0x456)][_0x301b66(0x47a)](_0x301b66(0x245),_0x301b66(0x3cc));break;}}return _0x2db2b8;}async[_0x14b308(0x19c)](_0xd9290c){var _0xc490a7=_0x14b308,_0x4bf7b4;let _0x464921=0x0;const _0x1b6360=await((_0x4bf7b4=this[_0xc490a7(0x20f)])==null?void 0x0:_0x4bf7b4[_0xc490a7(0x459)](_0xd9290c));return _0x1b6360&&(_0x1b6360[_0xc490a7(0x3cd)]||_0x1b6360[_0xc490a7(0x2cb)][_0xc490a7(0x469)]!==0x0)&&(_0x464921=_0x1b6360[_0xc490a7(0x3c8)]),_0x464921===0x0&&this[_0xc490a7(0x456)][_0xc490a7(0x467)]('[DataLoaderService]',_0xc490a7(0x488)),this[_0xc490a7(0x3e4)][_0xc490a7(0x3ae)](_0xd9290c,_0x464921);}async[_0x14b308(0x388)](_0x53ee38){var _0x155eb4=_0x14b308,_0x1b4c1f;let _0x2b53b3=0x0;const _0x4c9208=await((_0x1b4c1f=this[_0x155eb4(0x20f)])==null?void 0x0:_0x1b4c1f[_0x155eb4(0x459)](_0x53ee38));return _0x4c9208&&(_0x4c9208[_0x155eb4(0x3cd)]||_0x4c9208[_0x155eb4(0x2cb)][_0x155eb4(0x469)]!==0x0)&&(_0x2b53b3=_0x4c9208[_0x155eb4(0x3c8)]),_0x2b53b3===0x0&&this[_0x155eb4(0x456)]['debug'](_0x155eb4(0x245),_0x155eb4(0x488)),this[_0x155eb4(0x3e4)][_0x155eb4(0x218)](_0x53ee38,_0x2b53b3);}};Ot=vs([mt(0x0,_0x18544f),mt(0x1,_0x2a95eb(_0x2f599f)),mt(0x2,_0x13d7ff(J))],Ot);var ps=Object['defineProperty'],ms=Object[_0x14b308(0x498)],gs=(_0x1ecbb3,_0x3caeb6,_0x23b8cb,_0x41cf37)=>{var _0x10f16a=_0x14b308;for(var _0x3dd84f=_0x41cf37>0x1?void 0x0:_0x41cf37?ms(_0x3caeb6,_0x23b8cb):_0x3caeb6,_0x2caab4=_0x1ecbb3[_0x10f16a(0x469)]-0x1,_0x2a7611;_0x2caab4>=0x0;_0x2caab4--)(_0x2a7611=_0x1ecbb3[_0x2caab4])&&(_0x3dd84f=(_0x41cf37?_0x2a7611(_0x3caeb6,_0x23b8cb,_0x3dd84f):_0x2a7611(_0x3dd84f))||_0x3dd84f);return _0x41cf37&&_0x3dd84f&&ps(_0x3caeb6,_0x23b8cb,_0x3dd84f),_0x3dd84f;},gt=(_0x10b85e,_0x5aac64)=>(_0x121e06,_0x21b270)=>_0x5aac64(_0x121e06,_0x21b270,_0x10b85e);const Ss=['image/png',_0x14b308(0x361),'image/jpg',_0x14b308(0x2fb),_0x14b308(0x2d0)],Es=0x5*0x400*0x400,Is=_0x14b308(0x360),Ts=_0x14b308(0x2f2),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x14b308(0x2c9);let yt=class{constructor(_0x204b82,_0x10b9e7,_0x420790){var _0x295f6c=_0x14b308;N(this,_0x295f6c(0x3f8),0x0),N(this,'_change$',new _0x3b448b()),N(this,'change$',this[_0x295f6c(0x2d1)]),N(this,'_imageSourceCache',new Map()),(this[_0x295f6c(0x493)]=_0x204b82,this[_0x295f6c(0x427)]=_0x10b9e7,this[_0x295f6c(0x39d)]=_0x420790);}[_0x14b308(0x1a1)](_0x261283){var _0x65d4c9=_0x14b308;this[_0x65d4c9(0x3f8)]=_0x261283,this['_change$']['next'](_0x261283);}['getImageSourceCache'](_0x2f1a90,_0x189ec2){var _0x9906aa=_0x14b308;if(_0x189ec2===_0x669060['BASE64']){const _0x44aebb=new Image();return _0x44aebb[_0x9906aa(0x495)]=_0x2f1a90,_0x44aebb;}return this[_0x9906aa(0x2fc)]['get'](_0x2f1a90);}[_0x14b308(0x2c3)](_0x19e131,_0x2a4187,_0x1769de){var _0x2c3f1e=_0x14b308;_0x2a4187===_0x669060['BASE64']||_0x1769de==null||this[_0x2c3f1e(0x2fc)][_0x2c3f1e(0x410)](_0x19e131,_0x1769de);}async['getImage'](_0x592b6a){var _0x5436a9=_0x14b308;try{const _0x1fe12c=this[_0x5436a9(0x1c8)](this[_0x5436a9(0x278)](),''+_0x592b6a),_0x4221fb=(await this['_httpService'][_0x5436a9(0x1cc)](_0x1fe12c))[_0x5436a9(0x35c)];if(_0x4221fb[_0x5436a9(0x47a)]&&_0x4221fb['error']['code']===Ii['OK']){const _0x5be81d=new URL(_0x4221fb[_0x5436a9(0x219)],this['_getDownloadEndpointURL']())[_0x5436a9(0x3ff)]();return Promise[_0x5436a9(0x477)](_0x5be81d);}return Promise[_0x5436a9(0x2e0)](_0x4221fb[_0x5436a9(0x47a)]);}catch(_0x320b77){return Promise['reject'](_0x320b77);}}async[_0x14b308(0x2dd)](_0x2a8c79){var _0x2ce3c8=_0x14b308;let _0x4a59d9='';if(!Ss[_0x2ce3c8(0x325)](_0x2a8c79[_0x2ce3c8(0x1a2)]))return this[_0x2ce3c8(0x308)](),Promise[_0x2ce3c8(0x2e0)](new Error(_0x19d6bf['ERROR_IMAGE_TYPE']));if(_0x2a8c79[_0x2ce3c8(0x1d2)]>Es)return this[_0x2ce3c8(0x308)](),Promise['reject'](new Error(_0x19d6bf[_0x2ce3c8(0x212)]));try{const _0x3e3ac5=new FormData();_0x3e3ac5['append'](_0x2ce3c8(0x412),_0x2a8c79);const _0x19e67b=this[_0x2ce3c8(0x39d)][_0x2ce3c8(0x3fb)](),_0x5895d3=_0x19e67b==null?void 0x0:_0x19e67b[_0x2ce3c8(0x30c)]();if(!_0x5895d3)throw new Error('unitId\x20is\x20not\x20found');const _0x5e88b0=this[_0x2ce3c8(0x1cf)]()+'?size='+_0x2a8c79['size'][_0x2ce3c8(0x3ff)]()+_0x2ce3c8(0x409)+Ti[_0x2ce3c8(0x25c)]+_0x2ce3c8(0x309)+encodeURIComponent(_0x5895d3),_0x93d764=await(await fetch(_0x5e88b0,{'method':_0x2ce3c8(0x40e),'body':_0x3e3ac5}))['json']();if(typeof _0x93d764[_0x2ce3c8(0x430)]!='string')return this[_0x2ce3c8(0x308)](),Promise['reject'](new Error(_0x19d6bf[_0x2ce3c8(0x414)]));_0x4a59d9=_0x93d764[_0x2ce3c8(0x430)];}catch{return this[_0x2ce3c8(0x308)](),Promise['reject'](new Error(_0x19d6bf[_0x2ce3c8(0x414)]));}return new Promise((_0x31cabd,_0x575b93)=>{var _0x5b3a1c=_0x2ce3c8;const _0x8d0633=new FileReader();_0x8d0633[_0x5b3a1c(0x2db)](_0x2a8c79),_0x8d0633[_0x5b3a1c(0x3e5)]=_0x588a21=>{var _0x3e2826=_0x5b3a1c,_0x5ce301;const _0x307cda=(_0x5ce301=_0x588a21[_0x3e2826(0x2a9)])==null?void 0x0:_0x5ce301['result'];if(_0x307cda==null){this[_0x3e2826(0x308)](),_0x575b93(new Error(_0x19d6bf['ERROR_IMAGE']));return;}const _0x11b7d4=_0x362cab[_0x3e2826(0x429)](0x6);_0x31cabd({'imageId':_0x11b7d4,'imageSourceType':_0x669060['UUID'],'source':_0x4a59d9,'base64Cache':_0x307cda,'status':_0x19d6bf[_0x3e2826(0x2ce)]}),this[_0x3e2826(0x308)]();};});}[_0x14b308(0x1cf)](){var _0x44f800=_0x14b308,_0x1f09de,_0x310737;const _0x391184=this[_0x44f800(0x427)][_0x44f800(0x45c)](Is),_0x211eba=this[_0x44f800(0x427)]['getConfig'](q);return(_0x310737=(_0x1f09de=_0x211eba==null?void 0x0:_0x211eba[_0x44f800(0x1bb)])!=null?_0x1f09de:_0x391184)!=null?_0x310737:Ts;}[_0x14b308(0x278)](){var _0x571b9d=_0x14b308,_0x1a9041,_0x5842d8;const _0x104131=this[_0x571b9d(0x427)][_0x571b9d(0x45c)](Cs),_0x532fd6=this[_0x571b9d(0x427)][_0x571b9d(0x45c)](q);return(_0x5842d8=(_0x1a9041=_0x532fd6==null?void 0x0:_0x532fd6['signUrlServerUrl'])!=null?_0x1a9041:_0x104131)!=null?_0x5842d8:Rs;}[_0x14b308(0x2d9)](){var _0x3d8bd0=_0x14b308,_0x21124d;const _0x58c262=this[_0x3d8bd0(0x427)][_0x3d8bd0(0x45c)](q);return(_0x21124d=_0x58c262==null?void 0x0:_0x58c262[_0x3d8bd0(0x2c1)])!=null?_0x21124d:location['origin'];}['_replaceFileID'](_0xeda6ff,_0x2999c9){var _0x2570e8=_0x14b308;return _0xeda6ff[_0x2570e8(0x37e)](_0x2570e8(0x312),_0x2999c9);}[_0x14b308(0x308)](){var _0x3a0b67=_0x14b308;this['_waitCount']-=0x1,this[_0x3a0b67(0x2d1)]['next'](this[_0x3a0b67(0x3f8)]);}};yt=gs([gt(0x0,_0x2a95eb(_0x17dca8)),gt(0x1,_0x4d8cf7),gt(0x2,_0x2a95eb(_0x1c283b))],yt);var bs=Object[_0x14b308(0x380)],Os=Object[_0x14b308(0x498)],ys=(_0x24989a,_0x1f4da0,_0x2727c5,_0x55c0d5)=>{var _0x5f42db=_0x14b308;for(var _0x77e09f=_0x55c0d5>0x1?void 0x0:_0x55c0d5?Os(_0x1f4da0,_0x2727c5):_0x1f4da0,_0x56234f=_0x24989a[_0x5f42db(0x469)]-0x1,_0x4ccad4;_0x56234f>=0x0;_0x56234f--)(_0x4ccad4=_0x24989a[_0x56234f])&&(_0x77e09f=(_0x55c0d5?_0x4ccad4(_0x1f4da0,_0x2727c5,_0x77e09f):_0x4ccad4(_0x77e09f))||_0x77e09f);return _0x55c0d5&&_0x77e09f&&bs(_0x1f4da0,_0x2727c5,_0x77e09f),_0x77e09f;},_i=(_0x112f1f,_0x1491b6)=>(_0x120991,_0x5c5dc6)=>_0x1491b6(_0x120991,_0x5c5dc6,_0x112f1f);const Ns=_0x14b308(0x2fd);let Nt=class{constructor(_0x10a2d4,_0x5eb651){var _0x464d3e=_0x14b308;this[_0x464d3e(0x427)]=_0x10a2d4,this[_0x464d3e(0x284)]=_0x5eb651;}[_0x14b308(0x379)](){var _0x2716b9=_0x14b308,_0x24f069,_0x3fc3af;const _0x2f9000=this[_0x2716b9(0x427)][_0x2716b9(0x45c)](Pi),_0x1f361f=this[_0x2716b9(0x427)]['getConfig'](q);return(_0x3fc3af=(_0x24f069=_0x1f361f==null?void 0x0:_0x1f361f[_0x2716b9(0x319)])!=null?_0x24f069:_0x2f9000)!=null?_0x3fc3af:Ns;}async[_0x14b308(0x217)](_0x4214b5){var _0x44c82b=_0x14b308;const _0x5d75d2=this[_0x44c82b(0x379)]()+_0x44c82b(0x1a7);return{'list':[{'title':_0x44c82b(0x2fa),'mentions':(await this[_0x44c82b(0x284)][_0x44c82b(0x1cc)](_0x5d75d2,{'params':{'objectID':_0x4214b5[_0x44c82b(0x3c2)],'unitID':_0x4214b5[_0x44c82b(0x3c2)]}}))['body'][_0x44c82b(0x398)]['map'](_0x57892f=>({'objectId':_0x57892f['id'],'name':_0x57892f['subject'][_0x44c82b(0x285)],'metadata':{'icon':_0x57892f['subject'][_0x44c82b(0x207)]},'label':_0x57892f[_0x44c82b(0x257)][_0x44c82b(0x285)],'objectType':_0x56d895[_0x44c82b(0x3b0)]})),'metadata':{},'type':_0x56d895['PERSON']}]};}};Nt=ys([_i(0x0,_0x2a95eb(_0x4d8cf7)),_i(0x1,_0x2a95eb(_0x17dca8))],Nt);var Ds=Object[_0x14b308(0x380)],Ps=Object[_0x14b308(0x498)],ws=(_0x29e09f,_0x4cfc5c,_0x22d9a6,_0x5c37c3)=>{var _0x1a70d3=_0x14b308;for(var _0x4778dc=_0x5c37c3>0x1?void 0x0:_0x5c37c3?Ps(_0x4cfc5c,_0x22d9a6):_0x4cfc5c,_0x61a4e0=_0x29e09f[_0x1a70d3(0x469)]-0x1,_0x4d1fa5;_0x61a4e0>=0x0;_0x61a4e0--)(_0x4d1fa5=_0x29e09f[_0x61a4e0])&&(_0x4778dc=(_0x5c37c3?_0x4d1fa5(_0x4cfc5c,_0x22d9a6,_0x4778dc):_0x4d1fa5(_0x4778dc))||_0x4778dc);return _0x5c37c3&&_0x4778dc&&Ds(_0x4cfc5c,_0x22d9a6,_0x4778dc),_0x4778dc;},Se=(_0x3cb96,_0x5c9c1f)=>(_0x4dd7e5,_0x1a5f56)=>_0x5c9c1f(_0x4dd7e5,_0x1a5f56,_0x3cb96);let at=class extends _0x4d8d70{constructor(_0x11fb8e,_0xa82207,_0x526177,_0x6b414,_0x2da81f,_0x29fb5c,_0x1ca931){var _0x4a85a0=_0x14b308;super(),this[_0x4a85a0(0x32c)]=_0x11fb8e,this[_0x4a85a0(0x39d)]=_0xa82207,this[_0x4a85a0(0x261)]=_0x526177,this[_0x4a85a0(0x3c0)]=_0x6b414,this[_0x4a85a0(0x38c)]=_0x2da81f,this[_0x4a85a0(0x21a)]=_0x29fb5c,this[_0x4a85a0(0x223)]=_0x1ca931,this[_0x4a85a0(0x23d)](),this[_0x4a85a0(0x28e)]();}[_0x14b308(0x28e)](){var _0x5ec402=_0x14b308;const _0x371d30=async _0xa17727=>{var _0x1fc821=_0x2c62;(await this[_0x1fc821(0x3c0)]['requireSession'](_0xa17727))['event$'][_0x1fc821(0x310)](_0x12e18b(_0x17d519=>_0x17d519[_0x1fc821(0x330)]===_0x1a2e08[_0x1fc821(0x2c6)]),_0x25a3f5(this[_0x1fc821(0x37c)]))[_0x1fc821(0x31a)](_0x3274b0=>{var _0x169753=_0x1fc821;const _0x4fe368=_0x3274b0,{reason:_0x3289e5}=_0x4fe368[_0x169753(0x3f1)];this[_0x169753(0x38c)][_0x169753(0x2ae)]({'id':se[_0x169753(0x1ae)],'data':_0x3289e5}),this[_0x169753(0x261)][_0x169753(0x27f)](new _0x1c3be3(_0xa17727)['id'],!0x1),this[_0x169753(0x3c0)][_0x169753(0x362)](_0xa17727);});};_0xbe5135(this[_0x5ec402(0x39d)][_0x5ec402(0x347)](_0x5ec79f[_0x5ec402(0x371)]),this['_univerInstanceService'][_0x5ec402(0x347)](_0x5ec79f['UNIVER_DOC']))[_0x5ec402(0x310)](_0x232a83(_0x245eef=>_0x245eef[_0x5ec402(0x30c)]()),_0x12e18b(_0x590c83=>!_0x468883(_0x590c83)),_0x25a3f5(this[_0x5ec402(0x37c)]))['subscribe'](_0x4931e2=>{_0x371d30(_0x4931e2);});}['_initUnitPermissionChange'](){var _0x1b9cf7=_0x14b308;const _0x3c2402=async _0x8c2d62=>{var _0x5a2065=_0x2c62;const _0x490539=await this[_0x5a2065(0x3c0)][_0x5a2065(0x36c)](_0x8c2d62),_0xe13894=this['_injector']['get'](_0xdb50ea);_0x490539[_0x5a2065(0x3fa)][_0x5a2065(0x310)](_0x12e18b(_0x208905=>_0x208905[_0x5a2065(0x330)]===_0x1a2e08['UPDATE_PERMISSION_OBJ']),_0x25a3f5(this[_0x5a2065(0x37c)]))[_0x5a2065(0x31a)](_0x5670d2=>{var _0x2b1932=_0x5a2065;const _0x7aa842=_0x5670d2,{objectId:_0x359daa}=_0x7aa842[_0x2b1932(0x3f1)];_0x359daa===_0x8c2d62?_0xe13894[_0x2b1932(0x453)](_0x8c2d62):_0xe13894[_0x2b1932(0x2f3)](_0x8c2d62,_0x359daa);});};_0xbe5135(this[_0x1b9cf7(0x39d)][_0x1b9cf7(0x347)](_0x5ec79f[_0x1b9cf7(0x371)]),this[_0x1b9cf7(0x39d)][_0x1b9cf7(0x347)](_0x5ec79f[_0x1b9cf7(0x42a)]))['pipe'](_0x232a83(_0x2deafa=>_0x2deafa[_0x1b9cf7(0x30c)]()),_0x12e18b(_0x1a3dcc=>!_0x468883(_0x1a3dcc)),_0x25a3f5(this[_0x1b9cf7(0x37c)]))[_0x1b9cf7(0x31a)](_0x471d15=>{_0x3c2402(_0x471d15);});}};at=ws([Se(0x0,_0x2a95eb(_0x2adb1c)),Se(0x1,_0x1c283b),Se(0x2,_0x395e94),Se(0x3,_0x2a95eb(Le)),Se(0x4,_0x2a95eb(pe)),Se(0x5,_0x2eafb0),Se(0x6,_0x430efd)],at);var Us=Object['defineProperty'],As=Object['getOwnPropertyDescriptor'],xs=(_0x2a2b23,_0x27fc2c,_0x3455ad,_0x24aa96)=>{for(var _0x4cb4d8=_0x24aa96>0x1?void 0x0:_0x24aa96?As(_0x27fc2c,_0x3455ad):_0x27fc2c,_0x7f2263=_0x2a2b23['length']-0x1,_0x4a37ef;_0x7f2263>=0x0;_0x7f2263--)(_0x4a37ef=_0x2a2b23[_0x7f2263])&&(_0x4cb4d8=(_0x24aa96?_0x4a37ef(_0x27fc2c,_0x3455ad,_0x4cb4d8):_0x4a37ef(_0x4cb4d8))||_0x4cb4d8);return _0x24aa96&&_0x4cb4d8&&Us(_0x27fc2c,_0x3455ad,_0x4cb4d8),_0x4cb4d8;},li=(_0x73dfb1,_0x47f444)=>(_0x1067ba,_0x1da20)=>_0x47f444(_0x1067ba,_0x1da20,_0x73dfb1);let Dt=class{constructor(_0x1aa734,_0x1ba210){var _0x12885e=_0x14b308;this[_0x12885e(0x427)]=_0x1aa734,this[_0x12885e(0x493)]=_0x1ba210;}async['getUnitOnRev'](_0x3ff4e1,_0x342f14){var _0x37aae0=_0x14b308,_0xd3a1;const {unitID:_0x1fb189,type:_0x1edb81,revision:_0x27a4fa=0x0}=_0x342f14,_0x237342=this['getSnapshotAPIPath']()+'/'+_0x1edb81+'/unit/'+_0x1fb189+_0x37aae0(0x1d4)+_0x27a4fa,_0x248c36=(await this[_0x37aae0(0x493)][_0x37aae0(0x1cc)](_0x237342))[_0x37aae0(0x35c)],_0x4f6f5d=(_0xd3a1=_0x248c36[_0x37aae0(0x425)])==null?void 0x0:_0xd3a1['workbook'];if(_0x4f6f5d){const _0x5c16da=_0x4f6f5d==null?void 0x0:_0x4f6f5d[_0x37aae0(0x443)],_0x1c48bb=_0x16b713[_0x37aae0(0x3d0)](_0x1f6fa4(_0x5c16da));_0x4f6f5d['originalMeta']=_0x1c48bb,Object['entries'](_0x4f6f5d[_0x37aae0(0x232)])['forEach'](([,_0x5050fa])=>{var _0x284bf0=_0x37aae0;const _0x80c659=_0x5050fa[_0x284bf0(0x443)],_0x5aa925=_0x16b713[_0x284bf0(0x3d0)](_0x1f6fa4(_0x80c659));_0x5050fa[_0x284bf0(0x443)]=_0x5aa925;});}return _0x248c36;}async[_0x14b308(0x320)](_0x3758e7,_0x4d0453){var _0x5a4267=_0x14b308;const {unitID:_0x2e037a,type:_0x5ca223,blockID:_0x43d0b1}=_0x4d0453,_0x51183f=this['_getAPIPrefix']()+'/'+_0x5ca223+_0x5a4267(0x34e)+_0x2e037a+_0x5a4267(0x316)+_0x43d0b1;return(await this[_0x5a4267(0x493)]['get'](_0x51183f))[_0x5a4267(0x35c)];}async['getDeserializedSheetBlock'](_0x28b344,_0x33c34c){var _0xd6ec6b=_0x14b308;const {unitID:_0x4cc228,type:_0x3179fd,blockID:_0x4151b9}=_0x33c34c,_0x6b993a=this[_0xd6ec6b(0x490)]()+_0xd6ec6b(0x316)+_0x3179fd+_0xd6ec6b(0x34e)+_0x4cc228+_0xd6ec6b(0x316)+_0x4151b9;return(await this[_0xd6ec6b(0x493)][_0xd6ec6b(0x1cc)](_0x6b993a))[_0xd6ec6b(0x35c)];}async[_0x14b308(0x3ac)](_0x5f278d,_0x3bbbf9){var _0x476d2a=_0x14b308;const {unitID:_0x4dd78e,type:_0x2c9edd,from:_0x237691,to:_0x202f53}=_0x3bbbf9,_0x55ac87=this[_0x476d2a(0x490)]()+'/'+_0x2c9edd+'/unit/'+_0x4dd78e+_0x476d2a(0x230)+_0x237691+'&to='+_0x202f53;return(await this['_httpService'][_0x476d2a(0x1cc)](_0x55ac87))['body'];}[_0x14b308(0x228)](){var _0x982ee6=_0x14b308,_0x161aff;return(_0x161aff=this[_0x982ee6(0x427)][_0x982ee6(0x45c)](Tn))!=null?_0x161aff:this[_0x982ee6(0x490)]();}[_0x14b308(0x490)](){var _0x37af8c=_0x14b308,_0x442305,_0x15f4f8;const _0x5be217=this['_configService']['getConfig'](En),_0x4fb5d1=this[_0x37af8c(0x427)]['getConfig'](q);return(_0x15f4f8=(_0x442305=_0x4fb5d1==null?void 0x0:_0x4fb5d1['snapshotServerUrl'])!=null?_0x442305:_0x5be217)!=null?_0x15f4f8:In;}async[_0x14b308(0x1a4)](_0x254baa,_0x2400ea){var _0x2389b3=_0x14b308;const _0x3a3f7e=_0x2389b3(0x3bf)+_0x2400ea[_0x2389b3(0x1a2)]+_0x2389b3(0x34e)+_0x2400ea[_0x2389b3(0x457)]+_0x2389b3(0x2a6);return(await this[_0x2389b3(0x493)][_0x2389b3(0x1cc)](_0x3a3f7e,{'params':{'resourceId':JSON[_0x2389b3(0x1ea)](_0x2400ea[_0x2389b3(0x305)])}}))[_0x2389b3(0x35c)];}[_0x14b308(0x41b)](){var _0x380998=_0x14b308;throw new Error(_0x380998(0x491));}['saveSheetBlock'](){var _0x56d8cc=_0x14b308;throw new Error(_0x56d8cc(0x491));}[_0x14b308(0x3a4)](){var _0x3c9ae4=_0x14b308;throw new Error(_0x3c9ae4(0x491));}[_0x14b308(0x3c3)](){var _0x749def=_0x14b308;throw new Error(_0x749def(0x491));}[_0x14b308(0x2a1)](){var _0x223674=_0x14b308;throw new Error(_0x223674(0x491));}};Dt=xs([li(0x0,_0x4d8cf7),li(0x1,_0x2a95eb(_0x17dca8))],Dt);var Ls=Object[_0x14b308(0x380)],Ms=Object[_0x14b308(0x498)],$s=(_0x495d3e,_0x1caee4,_0x5439d7,_0x137835)=>{for(var _0x298d9b=_0x137835>0x1?void 0x0:_0x137835?Ms(_0x1caee4,_0x5439d7):_0x1caee4,_0x58dbac=_0x495d3e['length']-0x1,_0x4a8260;_0x58dbac>=0x0;_0x58dbac--)(_0x4a8260=_0x495d3e[_0x58dbac])&&(_0x298d9b=(_0x137835?_0x4a8260(_0x1caee4,_0x5439d7,_0x298d9b):_0x4a8260(_0x298d9b))||_0x298d9b);return _0x137835&&_0x298d9b&&Ls(_0x1caee4,_0x5439d7,_0x298d9b),_0x298d9b;},Ae=(_0x4ecbf4,_0x25114b)=>(_0x498fb4,_0x2a1763)=>_0x25114b(_0x498fb4,_0x2a1763,_0x4ecbf4);let Pt=class extends _0x46e4b6{constructor(_0x1c9a8c,_0x1e6e34,_0x3ea86a,_0x5b37d2,_0x120f2a){var _0x9498a=_0x14b308;super(_0x1c9a8c,_0x1e6e34,_0x3ea86a),this['_transformService']=_0x5b37d2,this[_0x9498a(0x456)]=_0x120f2a;}[_0x14b308(0x225)](_0x36eed1,_0x46f395){var _0x2fcb63=_0x14b308;const _0x2c924e=this[_0x2fcb63(0x2ee)](_0x36eed1);if(_0x2c924e)try{const _0x5abac2=this[_0x2fcb63(0x29b)](_0x2c924e,_0x46f395);this[_0x2fcb63(0x35a)](_0x36eed1,_0x5abac2);}catch(_0x57cfb1){this[_0x2fcb63(0x456)][_0x2fcb63(0x47a)](_0x2fcb63(0x45e),_0x57cfb1),this[_0x2fcb63(0x465)](_0x36eed1);}const _0x1e7063=this[_0x2fcb63(0x247)](_0x36eed1);if(_0x1e7063)try{const _0x26e752=this['_transformStack'](_0x1e7063,_0x46f395);this[_0x2fcb63(0x417)](_0x36eed1,_0x26e752);}catch(_0x38cc05){this['_logService'][_0x2fcb63(0x47a)](_0x38cc05),this[_0x2fcb63(0x1f6)](_0x36eed1);}}[_0x14b308(0x465)](_0x287e05){var _0x400f3e=_0x14b308;const _0x3f8d24=this[_0x400f3e(0x2ee)](_0x287e05);_0x3f8d24&&(_0x3f8d24[_0x400f3e(0x469)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x3d479f){var _0x5f54b2=_0x14b308;const _0x4374a4=this[_0x5f54b2(0x247)](_0x3d479f);_0x4374a4&&(_0x4374a4[_0x5f54b2(0x469)]=0x0,this[_0x5f54b2(0x290)]());}[_0x14b308(0x35a)](_0x40fcc7,_0x906054){var _0x5215d2=_0x14b308;this['_undoStacks']['set'](_0x40fcc7,_0x906054),this[_0x5215d2(0x290)]();}[_0x14b308(0x417)](_0xe28f95,_0x1cbdc4){var _0x4f0b70=_0x14b308;this[_0x4f0b70(0x37d)][_0x4f0b70(0x410)](_0xe28f95,_0x1cbdc4),this[_0x4f0b70(0x290)]();}[_0x14b308(0x29b)](_0x5664ca,_0x22fd68){var _0xe9f3f=_0x14b308;const _0x2d4703=[];let _0x5c0d35=_0x22fd68,_0x4ece8d=_0x22fd68;for(let _0x8910ed=_0x5664ca['length']-0x1;_0x8910ed>=0x0;_0x8910ed--){const {unitID:_0x5a2c7f,undoMutations:_0x1aed21,redoMutations:_0x1c7831}=_0x5664ca[_0x8910ed],_0xdd82bd=this[_0xe9f3f(0x241)][_0xe9f3f(0x43f)](_0x5c0d35,_0x1aed21),_0x49e913=this[_0xe9f3f(0x241)][_0xe9f3f(0x43f)](_0x4ece8d,_0x1c7831);if(_0x3cd2ef(_0xdd82bd)||_0x3cd2ef(_0x49e913)){this[_0xe9f3f(0x456)][_0xe9f3f(0x47a)]('[CollaborationUndoRedoService]',_0xe9f3f(0x376),_0xdd82bd,_0x49e913);break;}_0x5c0d35=_0xdd82bd[_0xe9f3f(0x3e6)],_0x4ece8d=_0x49e913[_0xe9f3f(0x3e6)],_0x2d4703[_0xe9f3f(0x22b)]({'unitID':_0x5a2c7f,'undoMutations':_0xdd82bd['m2Prime'],'redoMutations':_0x49e913[_0xe9f3f(0x3d4)]});}return _0x2d4703[_0xe9f3f(0x272)]();}};Pt=$s([Ae(0x0,_0x1c283b),Ae(0x1,_0x5d3dab),Ae(0x2,_0x338512),Ae(0x3,_0x25af2a),Ae(0x4,_0x18544f)],Pt);var xi=Object[_0x14b308(0x380)],Hs=Object[_0x14b308(0x498)],ks=(_0x3da4b6,_0x251781,_0x3151ef)=>_0x251781 in _0x3da4b6?xi(_0x3da4b6,_0x251781,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3151ef}):_0x3da4b6[_0x251781]=_0x3151ef,js=(_0x3c3701,_0x31760f,_0x52582c,_0x2f9cf5)=>{var _0x42adaa=_0x14b308;for(var _0x51c513=_0x2f9cf5>0x1?void 0x0:_0x2f9cf5?Hs(_0x31760f,_0x52582c):_0x31760f,_0x5b10bb=_0x3c3701[_0x42adaa(0x469)]-0x1,_0x3ac8cb;_0x5b10bb>=0x0;_0x5b10bb--)(_0x3ac8cb=_0x3c3701[_0x5b10bb])&&(_0x51c513=(_0x2f9cf5?_0x3ac8cb(_0x31760f,_0x52582c,_0x51c513):_0x3ac8cb(_0x51c513))||_0x51c513);return _0x2f9cf5&&_0x51c513&&xi(_0x31760f,_0x52582c,_0x51c513),_0x51c513;},St=(_0x4d6179,_0x5d992b)=>(_0x1bbb82,_0x468221)=>_0x5d992b(_0x1bbb82,_0x468221,_0x4d6179),Bs=(_0x2e18a5,_0x3d7bbe,_0x492341)=>ks(_0x2e18a5,_0x3d7bbe+'',_0x492341);const Fs=_0x14b308(0x1a9);let wt=class extends _0x3e1d27{constructor(_0x2f39f5=Wt,_0x42609b,_0x134e3a,_0x2470b8){var _0x5d790f=_0x14b308;super(),this[_0x5d790f(0x335)]=_0x2f39f5,this[_0x5d790f(0x456)]=_0x42609b,this[_0x5d790f(0x32c)]=_0x134e3a,this[_0x5d790f(0x427)]=_0x2470b8;const {..._0x2bfed1}=_0x2c6887({},Wt,this[_0x5d790f(0x335)]);this[_0x5d790f(0x427)][_0x5d790f(0x1b0)](q,_0x2bfed1);}[_0x14b308(0x39f)](){var _0x49a6ed=_0x14b308;this['_registerDependencies'](),this[_0x49a6ed(0x1bc)]();}[_0x14b308(0x466)](){var _0x5818ce=_0x14b308,_0x270475,_0x1b999b,_0x2d088d,_0x33e7c9;this['_injector'][_0x5818ce(0x358)](_0x430efd)&&this['_logService'][_0x5818ce(0x47a)]('[UniverCollaborationClientPlugin]',_0x5818ce(0x239));const _0x226006=_0x414324([[_0x430efd,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x1b999b=(_0x270475=this[_0x5818ce(0x335)])==null?void 0x0:_0x270475[_0x5818ce(0x48e)])!=null?_0x1b999b:Et}],[_0xe994e7,{'useClass':Dt}],[_0x2eafb0,{'useClass':bt}],[_0x4cfaf4,{'useClass':yt}],[_0x7586af,{'useClass':Nt}],[rt],[Rt]],(_0x2d088d=this[_0x5818ce(0x335)])==null?void 0x0:_0x2d088d[_0x5818ce(0x338)]);if(!((_0x33e7c9=this[_0x5818ce(0x335)])!=null&&_0x33e7c9[_0x5818ce(0x2a2)])){const _0x235ec7=_0x226006[_0x5818ce(0x237)](([_0x313189])=>_0x313189===ht);_0x235ec7!==-0x1&&_0x226006[_0x5818ce(0x44f)](_0x235ec7,0x1);}_0x546950(this[_0x5818ce(0x32c)],_0x226006);}[_0x14b308(0x1bc)](){var _0x3a2536=_0x14b308,_0x51e19a,_0x1a6d29,_0x45b408;this[_0x3a2536(0x32c)][_0x3a2536(0x1cc)](_0x17dca8)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x1385e8({'maxParallel':0x6})}),(_0x51e19a=this['_config'])!=null&&_0x51e19a[_0x3a2536(0x450)]||(_0x1a6d29=this[_0x3a2536(0x32c)][_0x3a2536(0x1cc)](J,_0x451610[_0x3a2536(0x363)]))==null||_0x1a6d29[_0x3a2536(0x482)](),(_0x45b408=this['_config'])!=null&&_0x45b408[_0x3a2536(0x32d)]&&_0x1e3882(this['_injector'],[[st]]),_0x1e3882(this[_0x3a2536(0x32c)],[[ot],[rt],[at]]);}};Bs(wt,_0x14b308(0x250),Fs),wt=js([_0x4ac376(_0x15b02c,_0x5c1592,_0x42bc5e),St(0x1,_0x18544f),St(0x2,_0x2a95eb(_0x2adb1c)),St(0x3,_0x4d8cf7)],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};
|