@univerjs-pro/collaboration-client 0.8.0-nightly.202505281606 → 0.8.0-nightly.202505301607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x1cf15a=_0x59f7;(function(_0x12b212,_0x165f9a){var _0x3d3417=_0x59f7,_0x481ffe=_0x12b212();while(!![]){try{var _0x3198d4=-parseInt(_0x3d3417(0x3d6))/0x1*(parseInt(_0x3d3417(0x14e))/0x2)+parseInt(_0x3d3417(0x34e))/0x3*(parseInt(_0x3d3417(0x34d))/0x4)+parseInt(_0x3d3417(0x332))/0x5+parseInt(_0x3d3417(0x380))/0x6*(parseInt(_0x3d3417(0x2eb))/0x7)+-parseInt(_0x3d3417(0x297))/0x8*(-parseInt(_0x3d3417(0x320))/0x9)+-parseInt(_0x3d3417(0x2c6))/0xa*(-parseInt(_0x3d3417(0x16c))/0xb)+-parseInt(_0x3d3417(0x25f))/0xc;if(_0x3198d4===_0x165f9a)break;else _0x481ffe['push'](_0x481ffe['shift']());}catch(_0x480f83){_0x481ffe['push'](_0x481ffe['shift']());}}}(_0x3299,0x99d7e));var Di=Object[_0x1cf15a(0x3f8)],Ui=(_0x62f1eb,_0x9948d7,_0x3de306)=>_0x9948d7 in _0x62f1eb?Di(_0x62f1eb,_0x9948d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3de306}):_0x62f1eb[_0x9948d7]=_0x3de306,N=(_0x36c54a,_0x81b8d6,_0x83d1d8)=>Ui(_0x36c54a,typeof _0x81b8d6!=_0x1cf15a(0x344)?_0x81b8d6+'':_0x81b8d6,_0x83d1d8);import{createIdentifier as _0x5e399a,Inject as _0x4395c3,Injector as _0xac3c15,IConfigService as _0x149db4,ILogService as _0x1ffba8,Disposable as _0x4c47e9,DisposableCollection as _0x1165e4,toDisposable as _0x40427e,IUniverInstanceService as _0x125d03,UserManagerService as _0x1209a8,UniverInstanceType as _0x1dfda5,LocaleService as _0x58db33,Optional as _0x3ede3c,RxDisposable as _0x18f2f0,Tools as _0x43b5c0,Rectangle as _0x378739,ICommandService as _0x751d12,JSONX as _0x166e50,CommandType as _0x1b7bc7,IUndoRedoService as _0x1ed94f,IPermissionService as _0x4b2793,sequenceExecute as _0x4e92f0,Workbook as _0x37b7a4,MentionType as _0x4e719d,isInternalEditorID as _0x1be6f8,LocalUndoRedoService as _0x50e5c7,IContextService as _0x450583,DependentOn as _0x2f84f5,Plugin as _0x5ebafa,merge as _0x270510,mergeOverrideWithDependencies as _0x1e1085,IAuthzIoService as _0x378d3e,IMentionIOService as _0x36d935,registerDependencies as _0x42f2c7,Quantity as _0x334508,touchDependencies as _0x26668f}from'@univerjs/core';import{Subject as _0x2f0731,merge as _0xf55bf,of as _0x1aced1,BehaviorSubject as _0x16d07d,takeUntil as _0x110672,ReplaySubject as _0x3d8e59,take as _0x47a6dd,map as _0x1e88a7,shareReplay as _0xbd9f34,firstValueFrom as _0x56179c,concatMap as _0x458142}from'rxjs';import{map as _0x1baf73,take as _0x59231f,filter as _0x46e42e,delay as _0x3c2d30,takeUntil as _0x3ae062}from'rxjs/operators';import{CollaborationEvent as _0x29bafd,ISnapshotServerService as _0x38de54,parseChangesetToProtocol as _0x433f55,ITransformService as _0x3226d7,isTransformMutationsWithChangesetSuccess as _0x4923e4,mapDocumentTypeToUniverType as _0x7cb32e,RevisionService as _0x471d83,isTransformChangesetsSuccess as _0x40451d,CompressMutationService as _0x10c1b2,parseProtocolChangeset as _0x6a586,uuidv4 as _0x5a0cbf,SnapshotService as _0x5e4500,textEncoder as _0x53d43c,b64DecodeUnicode as _0x55eb2a,isTransformMutationsWithChangesetFailure as _0x5f28cd,UniverCollaborationPlugin as _0x2a7d00}from'@univerjs-pro/collaboration';import{HTTPService as _0x3099c1,ISocketService as _0x93a07b,MergeInterceptorFactory as _0x437f45,HTTPRequest as _0x175622,UniverNetworkPlugin as _0x3b2df8,ThresholdInterceptorFactory as _0x28334d}from'@univerjs/network';import{ITelemetryService as _0x1c3a1b}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x9099a8}from'@univerjs/docs';import{SheetsSelectionsService as _0x11e3f7,SetSelectionsOperation as _0x248468,InsertSheetMutation as _0x5016c6,EmptyMutation as _0x5da75f,WorkbookEditablePermission as _0x56b723,SheetPermissionInitController as _0x23aad7}from'@univerjs/sheets';import{ImageSourceType as _0x32420f,ImageUploadStatusType as _0x36b5c1,IImageIoService as _0x4dfa58}from'@univerjs/drawing';import{getGlobalObject as _0x1f17fb}from'@univerjs-pro/license';const fs=_0x1cf15a(0x18e),vs=_0x1cf15a(0x358),ps='SNAPSHOT_URL_KEY',yr=_0x1cf15a(0x18d),ms=0x7d0,gs=_0x1cf15a(0x373),Ss=_0x1cf15a(0x179),Nr=_0x1cf15a(0x338),Es='HEARTBEAT_INTERVAL',Is=0x7530,fi=_0x1cf15a(0x225),vi=0x4e20,Ts=0x4e20,Cs=_0x1cf15a(0x1c7),Rs=0x3,Dr=_0x1cf15a(0x368),Ur=0x3e8,bs=_0x1cf15a(0x145),Os=_0x1cf15a(0x178),ys='LOGIN_URL_KEY',Ns='/universer-api/oidc/authpage',Ar='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',wr=_0x1cf15a(0x18f);var pi=(_0x5f3ef0=>(_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x343)]=0x0]='UNDEFINED',_0x5f3ef0[_0x5f3ef0['OK']=0x1]='OK',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x3c0)]=0x2]=_0x1cf15a(0x3c0),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x383)]=0x3]=_0x1cf15a(0x383),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x424)]=0x4]=_0x1cf15a(0x424),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1b6)]=0x5]=_0x1cf15a(0x1b6),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x24b)]=0x6]='ALREADY_EXISTS',_0x5f3ef0[_0x5f3ef0['INVALID_ARGUMENT']=0x7]=_0x1cf15a(0x39b),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1e1)]=0x8]=_0x1cf15a(0x1e1),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x174)]=0x9]=_0x1cf15a(0x174),_0x5f3ef0[_0x5f3ef0['LOGIN_FAILED']=0xa]=_0x1cf15a(0x31d),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x43f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x323)]=0x1771]=_0x1cf15a(0x323),_0x5f3ef0[_0x5f3ef0['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1cf15a(0x226),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x35c)]=0x1773]=_0x1cf15a(0x35c),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x29d)]=0x1b59]=_0x1cf15a(0x29d),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2b7)]=0x1b5a]=_0x1cf15a(0x2b7),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x293)]=0x1b5b]=_0x1cf15a(0x293),_0x5f3ef0[_0x5f3ef0['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x437)]=0x1b5d]='APPLY_DUPLICATED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1cb)]=0x1f41]=_0x1cf15a(0x1cb),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x428)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x149)]=0x232a]=_0x1cf15a(0x149),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x33a)]=0x232b]=_0x1cf15a(0x33a),_0x5f3ef0[_0x5f3ef0['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2da)]=0x232d]=_0x1cf15a(0x2da),_0x5f3ef0[_0x5f3ef0['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1cf15a(0x23d),_0x5f3ef0[_0x5f3ef0['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x30c)]=0x2713]=_0x1cf15a(0x30c),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2bb)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2a7)]=0x271a]=_0x1cf15a(0x2a7),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x2ce)]=0x271b]=_0x1cf15a(0x2ce),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x440)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5f3ef0[_0x5f3ef0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5f3ef0[_0x5f3ef0['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1cf15a(0x194),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x3ac)]=0x271f]=_0x1cf15a(0x3ac),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x23f)]=0x2af9]=_0x1cf15a(0x23f),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x32e)]=0x2ee1]=_0x1cf15a(0x32e),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x257)]=0x2ee2]=_0x1cf15a(0x257),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x268)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1a6)]=0x2ee4]=_0x1cf15a(0x1a6),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x1ec)]=0x2ee5]=_0x1cf15a(0x1ec),_0x5f3ef0[_0x5f3ef0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1cf15a(0x3f5),_0x5f3ef0[_0x5f3ef0[_0x1cf15a(0x37d)]=0x32ca]=_0x1cf15a(0x37d),_0x5f3ef0[_0x5f3ef0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1cf15a(0x199),_0x5f3ef0[_0x5f3ef0['UNRECOGNIZED']=-0x1]=_0x1cf15a(0x3d3),_0x5f3ef0))(pi||{}),Z=(_0x3122fb=>(_0x3122fb[_0x3122fb[_0x1cf15a(0x442)]=0x0]='UNIVER_UNKNOWN',_0x3122fb[_0x3122fb[_0x1cf15a(0x22a)]=0x1]=_0x1cf15a(0x22a),_0x3122fb[_0x3122fb[_0x1cf15a(0x355)]=0x2]=_0x1cf15a(0x355),_0x3122fb[_0x3122fb[_0x1cf15a(0x3fa)]=0x3]='UNIVER_SLIDE',_0x3122fb[_0x3122fb[_0x1cf15a(0x1b8)]=0x4]='UNIVER_PROJECT',_0x3122fb[_0x3122fb[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x3122fb))(Z||{}),F=(_0x21b100=>(_0x21b100[_0x21b100['UNKNOWN_CMD']=0x0]=_0x1cf15a(0x39f),_0x21b100[_0x21b100[_0x1cf15a(0x231)]=0x1]='HELLO',_0x21b100[_0x21b100[_0x1cf15a(0x2d4)]=0x2]=_0x1cf15a(0x2d4),_0x21b100[_0x21b100[_0x1cf15a(0x362)]=0x3]=_0x1cf15a(0x362),_0x21b100[_0x21b100[_0x1cf15a(0x1c3)]=0x4]='INGEST',_0x21b100[_0x21b100[_0x1cf15a(0x3fd)]=0x5]=_0x1cf15a(0x3fd),_0x21b100[_0x21b100[_0x1cf15a(0x40e)]=0x6]=_0x1cf15a(0x40e),_0x21b100[_0x21b100[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x21b100))(F||{}),me=(_0x4037f0=>(_0x4037f0[_0x4037f0[_0x1cf15a(0x1dc)]=0x0]=_0x1cf15a(0x1dc),_0x4037f0[_0x4037f0['OK']=0x1]='OK',_0x4037f0[_0x4037f0[_0x1cf15a(0x3e9)]=0x2]=_0x1cf15a(0x3e9),_0x4037f0[_0x4037f0[_0x1cf15a(0x2b8)]=0x3e9]=_0x1cf15a(0x2b8),_0x4037f0[_0x4037f0[_0x1cf15a(0x43c)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x4037f0[_0x4037f0[_0x1cf15a(0x28d)]=0x3eb]=_0x1cf15a(0x28d),_0x4037f0[_0x4037f0[_0x1cf15a(0x21d)]=0x3ec]=_0x1cf15a(0x21d),_0x4037f0[_0x4037f0['UNRECOGNIZED']=-0x1]=_0x1cf15a(0x3d3),_0x4037f0))(me||{}),mi=(_0x53cee5=>(_0x53cee5[_0x53cee5[_0x1cf15a(0x28c)]=0x0]=_0x1cf15a(0x28c),_0x53cee5[_0x53cee5[_0x1cf15a(0x189)]=0x1]=_0x1cf15a(0x189),_0x53cee5[_0x53cee5['HttpExport']=0x2]=_0x1cf15a(0x284),_0x53cee5[_0x53cee5[_0x1cf15a(0x410)]=0x3]=_0x1cf15a(0x410),_0x53cee5[_0x53cee5[_0x1cf15a(0x426)]=0x4]=_0x1cf15a(0x426),_0x53cee5[_0x53cee5[_0x1cf15a(0x2a0)]=0x5]=_0x1cf15a(0x2a0),_0x53cee5[_0x53cee5[_0x1cf15a(0x3d3)]=-0x1]=_0x1cf15a(0x3d3),_0x53cee5))(mi||{});const K=_0x1cf15a(0x21c),Ds={};var ne=(_0x5847c9=>(_0x5847c9[_0x1cf15a(0x2ed)]='OTHER_CLIENT_EDITING',_0x5847c9[_0x1cf15a(0x383)]=_0x1cf15a(0x383),_0x5847c9[_0x1cf15a(0x286)]=_0x1cf15a(0x286),_0x5847c9['CLOSE_ROOM']=_0x1cf15a(0x143),_0x5847c9[_0x1cf15a(0x3a9)]=_0x1cf15a(0x3a9),_0x5847c9[_0x1cf15a(0x2f5)]=_0x1cf15a(0x2f5),_0x5847c9['SOCKET_FAILED']=_0x1cf15a(0x371),_0x5847c9[_0x1cf15a(0x2df)]=_0x1cf15a(0x2df),_0x5847c9))(ne||{});class ve{constructor(){var _0x5ab4ac=_0x1cf15a;N(this,'_event$',new _0x2f0731()),N(this,_0x5ab4ac(0x2cf),this['_event$'][_0x5ab4ac(0x17c)]());}[_0x1cf15a(0x301)](_0xea1f45){var _0x5499f0=_0x1cf15a;this[_0x5499f0(0x161)][_0x5499f0(0x200)](_0xea1f45);}}const Us=_0x5e399a(_0x1cf15a(0x197));function As(_0xbbfdb5){var _0x9da07c=_0x1cf15a,_0x37b4cc,_0xc5d011,_0x1e06c1,_0x38daef,_0x54b613;const _0x3acb1b=_0xbbfdb5['data'],_0x1d7d48=JSON[_0x9da07c(0x401)](_0x3acb1b);switch(_0x1d7d48[_0x9da07c(0x407)]){case F[_0x9da07c(0x3fd)]:case F[_0x9da07c(0x231)]:{const _0x415986=_0x1d7d48[_0x9da07c(0x3ed)];return{..._0x1d7d48,'data':_0x415986,'cmd':_0x1d7d48[_0x9da07c(0x407)]};}case F['JOIN']:{const _0x1e7d86=_0x1d7d48['joinRsp'];return{..._0x1d7d48,'data':_0x1e7d86,'cmd':_0x1d7d48[_0x9da07c(0x407)]};}case F[_0x9da07c(0x40e)]:{const _0x3aba29=_0x1d7d48['collaMsg'];switch(_0x3aba29[_0x9da07c(0x19a)]){case _0x29bafd[_0x9da07c(0x306)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x37b4cc=_0x3aba29[_0x9da07c(0x395)])==null?void 0x0:_0x37b4cc['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x3e3)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0xc5d011=_0x3aba29[_0x9da07c(0x3cc)])==null?void 0x0:_0xc5d011['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x234)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x1e06c1=_0x3aba29[_0x9da07c(0x26c)])==null?void 0x0:_0x1e06c1['cs']},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x27b)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x38daef=_0x3aba29['csRejEvent'])==null?void 0x0:_0x38daef['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x302)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':(_0x54b613=_0x3aba29['csShouldRetryEvent'])==null?void 0x0:_0x54b613['cs']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x248)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x20b)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x38e)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x375)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x265)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x205)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x214)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x32c)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x228)]:case _0x29bafd['LIVESHARE_OPERATION']:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x21f)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd['LIVESHARE_TERMINATE']:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29['liveShareNewHost']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x165)]:return{..._0x1d7d48,'data':_0x3aba29,'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x33f)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x270)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x32a)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x3aa)]},'cmd':_0x1d7d48['cmd']};case _0x29bafd[_0x9da07c(0x2ea)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29['shouldCloseConn']},'cmd':_0x1d7d48[_0x9da07c(0x407)]};case _0x29bafd[_0x9da07c(0x245)]:return{..._0x1d7d48,'data':{..._0x3aba29,'data':_0x3aba29[_0x9da07c(0x324)]},'cmd':_0x1d7d48[_0x9da07c(0x407)]};default:return _0x1d7d48;}}default:return _0x1d7d48;}}function ws(_0x86ca17){var _0x58f448=_0x1cf15a;switch(_0x86ca17[_0x58f448(0x407)]){case F['HEARTBEAT']:case F[_0x58f448(0x231)]:return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17[_0x58f448(0x2fb)]});case F[_0x58f448(0x1c3)]:{let _0x44f07b;switch(_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x19a)]){case _0x29bafd[_0x58f448(0x248)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x248)],'updateCursorEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x265)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x265)],'leaveEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x38e)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x38e)],'joinEvent':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x214)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x214)],'liveShareNewHost':_0x86ca17[_0x58f448(0x31c)]['data']};break;}case _0x29bafd['LIVESHARE_OPERATION']:{_0x44f07b={'eventID':_0x29bafd['LIVESHARE_OPERATION'],'liveShareOperation':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd['LIVESHARE_TERMINATE']:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x153)],'liveShareTerminate':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x2d1)]:{_0x44f07b={'eventID':_0x29bafd[_0x58f448(0x2d1)],'liveShareRequestHost':_0x86ca17[_0x58f448(0x31c)][_0x58f448(0x31c)]};break;}case _0x29bafd[_0x58f448(0x228)]:{_0x44f07b={'eventID':_0x29bafd['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x44f07b={'eventID':_0x86ca17['data']['eventID']};}return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17['cmd'],'routeKey':_0x86ca17['routeKey'],'collaMsg':_0x44f07b});}case F[_0x58f448(0x2d4)]:return JSON['stringify']({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17['routeKey'],'joinReq':_0x86ca17[_0x58f448(0x31c)]});case F[_0x58f448(0x362)]:return JSON[_0x58f448(0x160)]({'cmd':_0x86ca17[_0x58f448(0x407)],'routeKey':_0x86ca17[_0x58f448(0x2fb)],'leaveReq':_0x86ca17[_0x58f448(0x31c)]});default:throw new Error(_0x58f448(0x1c0));}}var Ps=Object[_0x1cf15a(0x2fc)],Ls=(_0x2dbbf0,_0x313770,_0x49ac83,_0x5e895e)=>{for(var _0x25bede=_0x5e895e>0x1?void 0x0:_0x5e895e?Ps(_0x313770,_0x49ac83):_0x313770,_0x59eb8d=_0x2dbbf0['length']-0x1,_0x479695;_0x59eb8d>=0x0;_0x59eb8d--)(_0x479695=_0x2dbbf0[_0x59eb8d])&&(_0x25bede=_0x479695(_0x25bede)||_0x25bede);return _0x25bede;},Ue=(_0x2db412,_0x5323e6)=>(_0x9fe04b,_0x383196)=>_0x5323e6(_0x9fe04b,_0x383196,_0x2db412);const gi=_0x5e399a(_0x1cf15a(0x392));function Ms(_0x1284c8,_0x1320a6,_0x2dd0f2){var _0x9a568e=_0x1cf15a;return _0x1284c8+'/'+_0x1320a6+_0x9a568e(0x147)+_0x2dd0f2+_0x9a568e(0x290);}let Ft=class extends _0x4c47e9{constructor(_0x5da972,_0xb99b4c,_0x91a903,_0x15e6f6,_0x3a1062){var _0x3eaf54=_0x1cf15a;super(),this[_0x3eaf54(0x1bb)]=_0x5da972,this[_0x3eaf54(0x2b5)]=_0xb99b4c,this['_configService']=_0x91a903,this[_0x3eaf54(0x353)]=_0x15e6f6,this[_0x3eaf54(0x3f4)]=_0x3a1062;}['_doCreateSocket'](_0xf23a16){var _0x341ae7=_0x1cf15a;const _0x29833a=this['_injector'][_0x341ae7(0x340)](_0x93a07b);if(!_0x29833a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x1b61be=_0x29833a[_0x341ae7(0x3be)](_0xf23a16);if(!_0x1b61be)throw new Error(_0x341ae7(0x2cb));const _0x447cc8=new _0x1165e4(),_0x1694dc=new _0x2f0731();_0x447cc8['add'](_0x1b61be[_0x341ae7(0x40f)][_0x341ae7(0x41f)](_0x2599a2=>_0x1694dc[_0x341ae7(0x200)](_0x2599a2))),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x1694dc[_0x341ae7(0x233)]()));const _0x6bf281=new _0x2f0731();_0x447cc8[_0x341ae7(0x31f)](_0x1b61be[_0x341ae7(0x37c)][_0x341ae7(0x41f)](_0xd6100b=>_0x6bf281[_0x341ae7(0x200)](_0xd6100b))),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x6bf281['complete']()));const _0x144a5b=new _0x2f0731();_0x447cc8[_0x341ae7(0x31f)](_0x1b61be[_0x341ae7(0x37e)]['subscribe'](_0xbd5e2=>{var _0x48a4bc=_0x341ae7;const _0x58880f=As(_0xbd5e2);_0x144a5b[_0x48a4bc(0x200)](_0x58880f);})),_0x447cc8[_0x341ae7(0x31f)](_0x40427e(()=>_0x144a5b['complete']()));let _0x35bc10;const _0x2b3744=()=>{var _0x3ba62f=_0x341ae7;_0x6bf281[_0x3ba62f(0x200)](new Event(_0x3ba62f(0x43d))),_0x1694dc[_0x3ba62f(0x200)](new Event(_0x3ba62f(0x43d))),_0x35bc10[_0x3ba62f(0x29e)]();};return _0x35bc10={'memberID':'','close$':_0x1694dc['asObservable'](),'error$':_0x6bf281[_0x341ae7(0x17c)](),'open$':_0x1b61be['open$'],'message$':_0x144a5b[_0x341ae7(0x17c)](),'send':_0x49787f=>{var _0xd447a9=_0x341ae7;if(_0x49787f[_0xd447a9(0x407)]===F[_0xd447a9(0x1c3)]){if(_0x49787f[_0xd447a9(0x31c)][_0xd447a9(0x19a)]===_0x29bafd['SUBMIT_CHANGESET']){this[_0xd447a9(0x43e)](_0x35bc10,_0x49787f[_0xd447a9(0x31c)])[_0xd447a9(0x216)](_0x388165=>{var _0x31b7b9=_0xd447a9;this['_logService'][_0x31b7b9(0x335)](_0x388165),_0x2b3744();});return;}if(_0x49787f[_0xd447a9(0x31c)][_0xd447a9(0x19a)]===_0x29bafd[_0xd447a9(0x3dc)]){const _0x597aed=_0x49787f['data'];this[_0xd447a9(0x1aa)](_0x597aed)['then'](_0x576fb8=>{var _0x1e266e=_0xd447a9;_0x144a5b[_0x1e266e(0x200)]({'cmd':F[_0x1e266e(0x40e)],'code':me['OK'],'routeKey':_0x597aed[_0x1e266e(0x31c)][_0x1e266e(0x1df)],'routeType':'','data':{'eventID':_0x29bafd[_0x1e266e(0x38a)],'data':{'changesets':_0x576fb8}}});})[_0xd447a9(0x216)](_0x1c189b=>{var _0x2c0133=_0xd447a9;this[_0x2c0133(0x353)][_0x2c0133(0x335)](_0x1c189b),_0x2b3744();});return;}}_0x1b61be[_0xd447a9(0x441)](ws(_0x49787f));},'close':()=>{var _0x4701ea=_0x341ae7;_0x1b61be[_0x4701ea(0x29e)](),_0x447cc8['dispose']();}},_0x35bc10;}async[_0x1cf15a(0x43e)](_0x572966,_0x11726b){var _0x1ef669=_0x1cf15a,_0x35d5c7,_0xf962b8;const {unitType:_0x58f635,unitID:_0xe0194,changeset:_0x399143}=_0x11726b[_0x1ef669(0x31c)],_0x270b63={'unitID':_0xe0194,'memberID':_0x572966['memberID'],'type':_0x58f635,'changeset':_0x433f55(_0x399143)},_0x18588d=this[_0x1ef669(0x40d)][_0x1ef669(0x2bf)](bs),_0x58b66a=this[_0x1ef669(0x40d)][_0x1ef669(0x2bf)](K),_0x3d79c9=Ms((_0xf962b8=(_0x35d5c7=_0x58b66a==null?void 0x0:_0x58b66a['collabSubmitChangesetUrl'])!=null?_0x35d5c7:_0x18588d)!=null?_0xf962b8:Os,_0x58f635,_0xe0194);try{await this[_0x1ef669(0x2b5)][_0x1ef669(0x2ba)](_0x3d79c9,{'body':_0x270b63});}catch(_0x31f1e8){throw this['_logService'][_0x1ef669(0x335)](_0x1ef669(0x1fb),_0x1ef669(0x1a2)),_0x31f1e8;}}async[_0x1cf15a(0x1aa)](_0x39b44a){var _0x3eb5a8=_0x1cf15a;const {unitID:_0x28480f,from:_0x43299b,to:_0x12cb2f,unitType:_0x53ea4d}=_0x39b44a[_0x3eb5a8(0x31c)];return(await this['_snapshotServerService'][_0x3eb5a8(0x387)]({'metadata':void 0x0},{'unitID':_0x28480f,'type':_0x53ea4d,'from':_0x43299b,'to':_0x12cb2f}))['changesets'];}};Ft=Ls([Ue(0x0,_0x4395c3(_0xac3c15)),Ue(0x1,_0x4395c3(_0x3099c1)),Ue(0x2,_0x149db4),Ue(0x3,_0x1ffba8),Ue(0x4,_0x38de54)],Ft);const xs=_0x1cf15a(0x402);function ks(_0x4aa08f){var _0x1f9bb7=_0x1cf15a;return JSON[_0x1f9bb7(0x160)](_0x4aa08f)[_0x1f9bb7(0x25a)];}class Si{constructor(){var _0x1b240c=_0x1cf15a;N(this,_0x1b240c(0x339),new _0x2f0731()),N(this,_0x1b240c(0x2ca),this[_0x1b240c(0x339)][_0x1b240c(0x17c)]());}['onCommentUpdate'](_0xdf030c){var _0x261d7f=_0x1cf15a;this[_0x261d7f(0x339)][_0x261d7f(0x200)](_0xdf030c);}}var $s=Object['getOwnPropertyDescriptor'],Hs=(_0x548ee3,_0x4689ce,_0x2a0164,_0x237972)=>{var _0x149c14=_0x1cf15a;for(var _0x4e652f=_0x237972>0x1?void 0x0:_0x237972?$s(_0x4689ce,_0x2a0164):_0x4689ce,_0x5156d4=_0x548ee3[_0x149c14(0x25a)]-0x1,_0x14591f;_0x5156d4>=0x0;_0x5156d4--)(_0x14591f=_0x548ee3[_0x5156d4])&&(_0x4e652f=_0x14591f(_0x4e652f)||_0x4e652f);return _0x4e652f;},Vt=(_0x42ac1e,_0x220493)=>(_0x327919,_0x17dc09)=>_0x220493(_0x327919,_0x17dc09,_0x42ac1e);let Pe=class extends _0x4c47e9{constructor(_0x2fdcdc,_0x283685){var _0x19721a=_0x1cf15a;super(),N(this,_0x19721a(0x3e8),new Map()),N(this,_0x19721a(0x187),new _0x2f0731()),(this[_0x19721a(0x2d9)]=_0x2fdcdc,this['_userManagerService']=_0x283685,this[_0x19721a(0x212)](_0xf55bf(this[_0x19721a(0x2d9)][_0x19721a(0x2c9)](_0x1dfda5[_0x19721a(0x355)])[_0x19721a(0x295)](_0x1baf73(_0x8cba6d=>_0x8cba6d[_0x19721a(0x2ae)]())),this['_univerInstanceService'][_0x19721a(0x2c9)](_0x1dfda5['UNIVER_DOC'])[_0x19721a(0x295)](_0x1baf73(_0x40d311=>_0x40d311[_0x19721a(0x2ae)]())),this['_univerInstanceService'][_0x19721a(0x2c9)](_0x1dfda5[_0x19721a(0x3fa)])[_0x19721a(0x295)](_0x1baf73(_0x92a94b=>_0x92a94b[_0x19721a(0x2ae)]())))[_0x19721a(0x41f)](_0x22227c=>this[_0x19721a(0x267)](_0x22227c))));}['waitForRoom$'](_0x4a687d){var _0x5eeb41=_0x1cf15a;return this[_0x5eeb41(0x3e8)]['has'](_0x4a687d)?_0x1aced1(this[_0x5eeb41(0x3e8)][_0x5eeb41(0x340)](_0x4a687d)):this['_roomCreated$'][_0x5eeb41(0x295)](_0x1baf73(_0x412b37=>{var _0x44ea64=_0x5eeb41;if(_0x412b37===_0x4a687d)return this[_0x44ea64(0x3e8)][_0x44ea64(0x340)](_0x412b37);}));}['setCurrentUser'](_0x484f90){var _0xa68ceb=_0x1cf15a;this[_0xa68ceb(0x22d)][_0xa68ceb(0x1c4)](_0x484f90);}[_0x1cf15a(0x386)](){var _0x176e85=_0x1cf15a;return this[_0x176e85(0x22d)]['getCurrentUser']();}[_0x1cf15a(0x2c0)](_0x3801eb,_0x4809f3){var _0xfe5e67=_0x1cf15a;let _0xe2402c=this[_0xfe5e67(0x3e8)]['get'](_0x3801eb);_0xe2402c||(_0xe2402c=new Bs(),this['_roomMembers'][_0xfe5e67(0x310)](_0x3801eb,_0xe2402c),this[_0xfe5e67(0x187)][_0xfe5e67(0x200)](_0x3801eb)),_0xe2402c['updateMember'](_0x4809f3);}[_0x1cf15a(0x1e6)](_0x1895fe,_0x34aac0){var _0x134399=_0x1cf15a;const _0x50dad2=this['_roomMembers'][_0x134399(0x340)](_0x1895fe);_0x50dad2&&_0x50dad2[_0x134399(0x1e6)](_0x34aac0);}['getRoom'](_0x2407d5){var _0x5613c2=_0x1cf15a;return this[_0x5613c2(0x3e8)]['get'](_0x2407d5);}['getMember'](_0x28ed4c,_0x6971f0){var _0x2fba65=_0x1cf15a;const _0x17bc09=this[_0x2fba65(0x3e8)][_0x2fba65(0x340)](_0x28ed4c);if(_0x17bc09)return _0x17bc09[_0x2fba65(0x3e7)](_0x6971f0);}['_removeRoom'](_0x4733fa){var _0x854c9a=_0x1cf15a;const _0x58d4ed=this[_0x854c9a(0x3e8)][_0x854c9a(0x340)](_0x4733fa);_0x58d4ed&&(_0x58d4ed[_0x854c9a(0x367)](),this['_roomMembers'][_0x854c9a(0x17d)](_0x4733fa));}[_0x1cf15a(0x367)](){var _0x132f3a=_0x1cf15a;this[_0x132f3a(0x3e8)][_0x132f3a(0x1ea)](_0xb2e52b=>_0xb2e52b[_0x132f3a(0x367)]()),this['_roomMembers'][_0x132f3a(0x316)](),this[_0x132f3a(0x187)][_0x132f3a(0x233)]();}};Pe=Hs([Vt(0x0,_0x125d03),Vt(0x1,_0x4395c3(_0x1209a8))],Pe);class Bs extends _0x4c47e9{constructor(){var _0x560353=_0x1cf15a;super(...arguments),N(this,_0x560353(0x35a),new Map()),N(this,'_members$',new _0x16d07d(this[_0x560353(0x35a)])),N(this,'members$',this[_0x560353(0x264)][_0x560353(0x17c)]());}['dispose'](){var _0x25c3c1=_0x1cf15a;this[_0x25c3c1(0x35a)][_0x25c3c1(0x316)]();}['updateMember'](_0xe6f0a1){var _0x35e295=_0x1cf15a;this[_0x35e295(0x35a)]['set'](_0xe6f0a1[_0x35e295(0x185)],_0xe6f0a1),this[_0x35e295(0x430)]();}[_0x1cf15a(0x1e6)](_0x52b088){var _0x5490aa=_0x1cf15a;this[_0x5490aa(0x35a)][_0x5490aa(0x17d)](_0x52b088);}[_0x1cf15a(0x3e7)](_0x50fbd9){var _0x4432f4=_0x1cf15a;return this[_0x4432f4(0x35a)]['get'](_0x50fbd9);}['getAllMembers'](){var _0x440724=_0x1cf15a;return Array['from'](this['_members'][_0x440724(0x36a)]());}[_0x1cf15a(0x430)](){var _0x57f0ba=_0x1cf15a;this[_0x57f0ba(0x264)][_0x57f0ba(0x200)](this[_0x57f0ba(0x35a)]);}}var js=Object[_0x1cf15a(0x2fc)],Fs=(_0x3885ba,_0x411abf,_0x392b2c,_0x205cbf)=>{var _0x29d510=_0x1cf15a;for(var _0x5d9355=_0x205cbf>0x1?void 0x0:_0x205cbf?js(_0x411abf,_0x392b2c):_0x411abf,_0x5d3c02=_0x3885ba[_0x29d510(0x25a)]-0x1,_0xb99d5c;_0x5d3c02>=0x0;_0x5d3c02--)(_0xb99d5c=_0x3885ba[_0x5d3c02])&&(_0x5d9355=_0xb99d5c(_0x5d9355)||_0x5d9355);return _0x5d9355;},pe=(_0x485ff2,_0x36ba8a)=>(_0x207dec,_0x546370)=>_0x36ba8a(_0x207dec,_0x546370,_0x485ff2),Se=(_0x54e2d1=>(_0x54e2d1[_0x54e2d1['IDLE']=0x0]=_0x1cf15a(0x38f),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x206)]=0x1]=_0x1cf15a(0x206),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x2be)]=0x2]=_0x1cf15a(0x2be),_0x54e2d1[_0x54e2d1[_0x1cf15a(0x400)]=0x3]='ONLINE',_0x54e2d1))(Se||{});const Gt={[me['FAIL']]:_0x1cf15a(0x1a1),[me['JOIN_ROOM_FULL']]:_0x1cf15a(0x26b),[me[_0x1cf15a(0x43c)]]:_0x1cf15a(0x374),[me[_0x1cf15a(0x28d)]]:'session.room-permission-denied',[me['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let gt=class extends _0x18f2f0{constructor(_0x122c47,_0x5ec9a5,_0x27ec7c,_0x436165,_0x1a5b4a,_0x55b7df,_0x5dba64,_0x1e962c,_0x2535ec){var _0x287ae8=_0x1cf15a;super(),N(this,_0x287ae8(0x17e),new _0x16d07d(0x0)),N(this,_0x287ae8(0x3b4),this['_sessionStatus$'][_0x287ae8(0x17c)]()),N(this,_0x287ae8(0x161),new _0x2f0731()),N(this,_0x287ae8(0x2cf),this[_0x287ae8(0x161)][_0x287ae8(0x17c)]()),N(this,'_socket'),N(this,_0x287ae8(0x2bc)),N(this,'_collaborationTimeoutTimer'),N(this,_0x287ae8(0x152),!0x1),N(this,_0x287ae8(0x397),null),(this[_0x287ae8(0x2af)]=_0x122c47,this[_0x287ae8(0x353)]=_0x27ec7c,this[_0x287ae8(0x40d)]=_0x436165,this['_localeService']=_0x1a5b4a,this[_0x287ae8(0x1f2)]=_0x55b7df,this[_0x287ae8(0x3ec)]=_0x5dba64,this[_0x287ae8(0x1b4)]=_0x1e962c,this[_0x287ae8(0x296)]=_0x2535ec,this[_0x287ae8(0x152)]=!!this['_telemetryService'],_0x5ec9a5[_0x287ae8(0x295)](_0x110672(this[_0x287ae8(0x277)]))[_0x287ae8(0x41f)](_0x3900fe=>{var _0x470447=_0x287ae8,_0x21f4d0;typeof _0x3900fe>'u'||(this['_socket']=_0x3900fe,_0x3900fe?(this[_0x470447(0x1f8)](_0x3900fe),this[_0x470447(0x2bc)]=_0x3900fe[_0x470447(0x37e)][_0x470447(0x41f)](_0x1621ea=>{var _0x5e8336=_0x470447;_0x1621ea['routeKey']===this[_0x5e8336(0x2af)]&&this[_0x5e8336(0x342)](_0x1621ea);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x470447(0x17e)][_0x470447(0x200)](0x2),(_0x21f4d0=this[_0x470447(0x2bc)])==null||_0x21f4d0['unsubscribe'](),this['_socketMessageSubscription']=null));}));}get[_0x1cf15a(0x34c)](){var _0x3cc1ad=_0x1cf15a;return this[_0x3cc1ad(0x17e)][_0x3cc1ad(0x25e)]();}[_0x1cf15a(0x30b)](){var _0x52a9e1=_0x1cf15a,_0x1fe652,_0x2d9c9b;return(_0x2d9c9b=(_0x1fe652=this[_0x52a9e1(0x232)])==null?void 0x0:_0x1fe652[_0x52a9e1(0x185)])!=null?_0x2d9c9b:null;}['dispose'](){var _0xcc0e90=_0x1cf15a;super[_0xcc0e90(0x367)](),this[_0xcc0e90(0x277)]['next'](),this[_0xcc0e90(0x277)][_0xcc0e90(0x233)]();}['close'](){var _0x201263=_0x1cf15a,_0x4bd7a6,_0x2fa98d;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4bd7a6=this[_0x201263(0x232)])==null||_0x4bd7a6['send']({'cmd':F[_0x201263(0x362)],'data':{'roomID':this[_0x201263(0x2af)]}}),(_0x2fa98d=this[_0x201263(0x232)])==null||_0x2fa98d[_0x201263(0x29e)](),this['_event$'][_0x201263(0x233)](),this[_0x201263(0x17e)]['complete'](),this[_0x201263(0x367)]();}[_0x1cf15a(0x342)](_0x2cf526){var _0x5edf3b=_0x1cf15a;_0x2cf526[_0x5edf3b(0x407)]===F[_0x5edf3b(0x2d4)]?this[_0x5edf3b(0x186)](_0x2cf526):_0x2cf526[_0x5edf3b(0x407)]===F[_0x5edf3b(0x40e)]&&this[_0x5edf3b(0x3c9)](_0x2cf526);}[_0x1cf15a(0x1f8)](_0x4e1094){var _0x54c1ec=_0x1cf15a;this[_0x54c1ec(0x17e)][_0x54c1ec(0x200)](0x1),_0x4e1094[_0x54c1ec(0x441)]({'cmd':F[_0x54c1ec(0x2d4)],'routeKey':this[_0x54c1ec(0x2af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x54c1ec(0x2af)]}]}});}['_onJoinRoomEvent'](_0x9b6f0d){var _0x407027=_0x1cf15a,_0x52f6ec;if(_0x9b6f0d[_0x407027(0x163)]in Gt){this['_collaborationUIEventService'][_0x407027(0x301)]({'id':ne['JOIN_ROOM_FAILED'],'data':Gt[_0x9b6f0d['code']]}),this[_0x407027(0x17e)][_0x407027(0x200)](0x2);return;}this[_0x407027(0x17e)][_0x407027(0x200)](0x3);const _0x5286ae=(_0x52f6ec=_0x9b6f0d['data'][_0x407027(0x36f)][this[_0x407027(0x2af)]])==null?void 0x0:_0x52f6ec[_0x407027(0x36d)];_0x5286ae&&_0x5286ae[_0x407027(0x1ea)](_0xe06f69=>this[_0x407027(0x1f2)]['updateMember'](this['_unitID'],_0xe06f69));}[_0x1cf15a(0x3c9)](_0x114ea2){var _0x16cf04=_0x1cf15a;try{const _0x4f654a=_0x114ea2['data'];switch(_0x4f654a['eventID']){case _0x29bafd[_0x16cf04(0x38e)]:this[_0x16cf04(0x1b1)](_0x4f654a),this[_0x16cf04(0x161)]['next'](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x265)]:this['_onUserLeave'](_0x4f654a),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd['CHANGESET_ACK']:case _0x29bafd[_0x16cf04(0x302)]:this[_0x16cf04(0x425)](),this[_0x16cf04(0x3da)](),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x165)]:this[_0x16cf04(0x353)][_0x16cf04(0x335)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x4f654a)),this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);break;case _0x29bafd[_0x16cf04(0x33f)]:this['_commentService'][_0x16cf04(0x263)](_0x4f654a[_0x16cf04(0x31c)]),this['_event$']['next'](_0x4f654a);break;default:this[_0x16cf04(0x161)][_0x16cf04(0x200)](_0x4f654a);}}catch(_0x4b99a3){this[_0x16cf04(0x353)][_0x16cf04(0x335)](_0x4b99a3,_0x114ea2);}}[_0x1cf15a(0x1b1)](_0x294a4f){var _0x50ff81=_0x1cf15a;this[_0x50ff81(0x1f2)][_0x50ff81(0x2c0)](this[_0x50ff81(0x2af)],_0x294a4f[_0x50ff81(0x31c)]);}[_0x1cf15a(0x3f7)](_0x1c4cd7){var _0x34bcc5=_0x1cf15a;this[_0x34bcc5(0x1f2)][_0x34bcc5(0x1e6)](this['_unitID'],_0x1c4cd7['data']['memberID']);}async[_0x1cf15a(0x441)](_0x3f4383,_0x5c1c84){var _0x17d3e6=_0x1cf15a;if(this['sessionStatus']!==0x3||!this[_0x17d3e6(0x232)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x3f4383[_0x17d3e6(0x19a)]===_0x29bafd['SUBMIT_CHANGESET']&&(this[_0x17d3e6(0x3b7)](),this['_startTelemetryCollaborationNewChangeset'](_0x3f4383)),this['_socket']['send']({'cmd':F[_0x17d3e6(0x1c3)],'routeKey':_0x5c1c84,'routeType':'','data':_0x3f4383});}catch(_0x49111a){this[_0x17d3e6(0x353)][_0x17d3e6(0x335)](_0x49111a);}}['_scheduleCollaborationTimeoutTimer'](){var _0x55a476=_0x1cf15a,_0x2dc00f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x29e3b2=_0x59f7;this[_0x29e3b2(0x420)]=null,this[_0x29e3b2(0x1b4)]['emitEvent']({'id':ne[_0x29e3b2(0x2df)]});},(_0x2dc00f=this['_configService'][_0x55a476(0x2bf)](fi))!=null?_0x2dc00f:vi);}[_0x1cf15a(0x3da)](){var _0x217a12=_0x1cf15a;this[_0x217a12(0x420)]&&(clearTimeout(this[_0x217a12(0x420)]),this[_0x217a12(0x420)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x163eeb){var _0x40adcb=_0x1cf15a;if(!this[_0x40adcb(0x152)])return;const {data:_0x2aa402}=_0x163eeb,{unitID:_0x2520e9,changeset:_0x2aa3c5}=_0x2aa402,{mutations:_0x5cfb19,type:_0xe0d941}=_0x2aa3c5;this[_0x40adcb(0x397)]={'unitId':_0x2520e9,'type':_0xe0d941,'startTime':performance[_0x40adcb(0x3e0)](),'stopTime':0x0,'duration':0x0,'size':ks(_0x5cfb19)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x259c0f=_0x1cf15a;if(this[_0x259c0f(0x152)]){if(!this[_0x259c0f(0x397)]){this[_0x259c0f(0x353)]['error']('[CollaborationSession]',_0x259c0f(0x170));return;}this[_0x259c0f(0x397)][_0x259c0f(0x2c1)]=performance['now'](),this[_0x259c0f(0x397)]['duration']=this['_telemetryInfo'][_0x259c0f(0x2c1)]-this['_telemetryInfo'][_0x259c0f(0x2dd)],this[_0x259c0f(0x296)][_0x259c0f(0x307)](xs,this[_0x259c0f(0x397)]),this['_telemetryInfo']=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0x410b05=_0x1cf15a;this[_0x410b05(0x397)]=null;}};gt=Fs([pe(0x2,_0x1ffba8),pe(0x3,_0x149db4),pe(0x4,_0x4395c3(_0x58db33)),pe(0x5,_0x4395c3(Pe)),pe(0x6,_0x4395c3(Si)),pe(0x7,_0x4395c3(ve)),pe(0x8,_0x3ede3c(_0x1c3a1b))],gt);var Vs=Object[_0x1cf15a(0x2fc)],Gs=(_0x351402,_0x5b0f54,_0x91919c,_0x788f42)=>{var _0x5ecd80=_0x1cf15a;for(var _0x26e1f0=_0x788f42>0x1?void 0x0:_0x788f42?Vs(_0x5b0f54,_0x91919c):_0x5b0f54,_0x144b08=_0x351402[_0x5ecd80(0x25a)]-0x1,_0x268dfa;_0x144b08>=0x0;_0x144b08--)(_0x268dfa=_0x351402[_0x144b08])&&(_0x26e1f0=_0x268dfa(_0x26e1f0)||_0x26e1f0);return _0x26e1f0;},Re=(_0x5a8266,_0x5af476)=>(_0x4ccca8,_0x178f7b)=>_0x5af476(_0x4ccca8,_0x178f7b,_0x5a8266);let Le=class extends _0x4c47e9{constructor(_0x9a5233,_0x103d4a,_0x2f0b1d,_0xd6d128,_0x180055,_0xfd538b){var _0x2c2210=_0x1cf15a;super(),N(this,_0x2c2210(0x291),new _0x16d07d(void 0x0)),N(this,'socket$',this[_0x2c2210(0x291)][_0x2c2210(0x17c)]()),N(this,'_candidateSocket',null),N(this,'_sessions',new Map()),N(this,_0x2c2210(0x325),new _0x16d07d(Se[_0x2c2210(0x38f)])),N(this,_0x2c2210(0x404),this['_status$'][_0x2c2210(0x17c)]()),N(this,_0x2c2210(0x363),!0x1),N(this,_0x2c2210(0x1b3)),N(this,_0x2c2210(0x239),0x0),N(this,_0x2c2210(0x3f2)),N(this,_0x2c2210(0x2d7)),(this['_injector']=_0x9a5233,this['_logService']=_0x103d4a,this[_0x2c2210(0x40d)]=_0x2f0b1d,this[_0x2c2210(0x413)]=_0xd6d128,this[_0x2c2210(0x1b4)]=_0x180055,this[_0x2c2210(0x21a)]=_0xfd538b,this['_listenToNetworkCondition']());}get[_0x1cf15a(0x232)](){return this['_socket$']['getValue']();}['_listenToNetworkCondition'](){var _0x31c8ea=_0x1cf15a;this[_0x31c8ea(0x21a)]&&this[_0x31c8ea(0x212)](this['_networkConditionService']['online$'][_0x31c8ea(0x41f)](_0x1f8c21=>{var _0x19ef9b=_0x31c8ea;_0x1f8c21&&!this[_0x19ef9b(0x232)]&&this[_0x19ef9b(0x3df)](),_0x1f8c21||this[_0x19ef9b(0x26f)]();}));}[_0x1cf15a(0x367)](){var _0x1ad51b=_0x1cf15a;super['dispose'](),this[_0x1ad51b(0x29c)](),this[_0x1ad51b(0x1a3)](),this[_0x1ad51b(0x30d)](),this[_0x1ad51b(0x16b)][_0x1ad51b(0x1ea)](_0x14ed54=>_0x14ed54[_0x1ad51b(0x367)]()),this[_0x1ad51b(0x16b)][_0x1ad51b(0x316)](),this[_0x1ad51b(0x325)][_0x1ad51b(0x233)]();}async['requireSession'](_0x730962){var _0x221299=_0x1cf15a;if(this['_sessions'][_0x221299(0x171)](_0x730962))return this[_0x221299(0x16b)][_0x221299(0x340)](_0x730962);this[_0x221299(0x432)]();const _0x4e6ac4=this['_injector'][_0x221299(0x176)](gt,_0x730962,this['_socket$'][_0x221299(0x17c)]());return this[_0x221299(0x16b)]['set'](_0x730962,_0x4e6ac4),_0x4e6ac4;}[_0x1cf15a(0x443)](_0x2578a8){var _0x12a357=_0x1cf15a,_0x181c32;const _0x281e1b=this[_0x12a357(0x16b)][_0x12a357(0x340)](_0x2578a8);_0x281e1b&&(this['_sessions'][_0x12a357(0x17d)](_0x2578a8),_0x281e1b[_0x12a357(0x29e)]()),this['_sessions'][_0x12a357(0x419)]||(_0x181c32=this[_0x12a357(0x232)])==null||_0x181c32[_0x12a357(0x29e)]();}[_0x1cf15a(0x3df)](){var _0x1a764d=_0x1cf15a;this[_0x1a764d(0x239)]=0x0,this[_0x1a764d(0x29c)](),this[_0x1a764d(0x28e)]();}[_0x1cf15a(0x29c)](){var _0x536c82=_0x1cf15a;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x536c82(0x1b3)]),this[_0x536c82(0x1b3)]=null);}async[_0x1cf15a(0x1e0)](){var _0x5331e1=_0x1cf15a,_0x43dc56,_0x2ff985;const _0x5358a1=this['_configService'][_0x5331e1(0x2bf)](gs),_0x466ffe=this['_configService'][_0x5331e1(0x2bf)](K),_0x11deb4=(_0x2ff985=(_0x43dc56=_0x466ffe==null?void 0x0:_0x466ffe[_0x5331e1(0x15e)])!=null?_0x43dc56:_0x5358a1)!=null?_0x2ff985:Ss,_0x11d26f=await this['_socketService'][_0x5331e1(0x3be)](_0x11deb4);return this['_candidateSocket']=_0x11d26f,_0x11d26f;}async[_0x1cf15a(0x432)](){var _0x584007=_0x1cf15a,_0x4c5b49,_0x5d9789;try{const _0x2a3adc=(_0x5d9789=(_0x4c5b49=this[_0x584007(0x232)])!=null?_0x4c5b49:this[_0x584007(0x14f)])!=null?_0x5d9789:await this[_0x584007(0x1e0)]();if(_0x2a3adc){const _0x50fd1e=_0x2a3adc[_0x584007(0x441)];_0x2a3adc[_0x584007(0x441)]=_0x42734b=>(this[_0x584007(0x3c4)](),_0x50fd1e[_0x584007(0x436)](_0x2a3adc,[_0x42734b])),_0x2a3adc[_0x584007(0x37e)][_0x584007(0x41f)](_0xdd8a54=>this[_0x584007(0x1ff)](_0x2a3adc,_0xdd8a54)),_0x2a3adc[_0x584007(0x37c)]['pipe'](_0x59231f(0x1))[_0x584007(0x41f)](_0x5c8213=>this[_0x584007(0x353)][_0x584007(0x335)](_0x584007(0x3a6),_0x5c8213)),_0x2a3adc[_0x584007(0x16e)][_0x584007(0x295)](_0x59231f(0x1))[_0x584007(0x41f)](()=>{var _0x1ade67=_0x584007;this[_0x1ade67(0x38c)](_0x2a3adc);}),_0x2a3adc['close$']['pipe'](_0x59231f(0x1))[_0x584007(0x41f)](_0x278d66=>{var _0x35c3c8=_0x584007;this['_logService'][_0x35c3c8(0x222)]('[CollaborationSessionService]',_0x35c3c8(0x3c7),_0x278d66),this['_onConnectionFailed']();});}}catch(_0x4633f8){this[_0x584007(0x353)]['error'](_0x4633f8),this['_onConnectionFailed']();}}[_0x1cf15a(0x38c)](_0x189333){var _0x39b96d=_0x1cf15a;this[_0x39b96d(0x353)][_0x39b96d(0x222)](_0x39b96d(0x42b),'socket\x20open.'),_0x189333[_0x39b96d(0x441)]({'cmd':F[_0x39b96d(0x231)]}),this[_0x39b96d(0x3c4)]();}[_0x1cf15a(0x26f)](){var _0x10813b=_0x1cf15a;this[_0x10813b(0x363)]=!0x1,this[_0x10813b(0x14f)]=null,this[_0x10813b(0x325)][_0x10813b(0x200)](Se['OFFLINE']),this['_socket$'][_0x10813b(0x200)](null),this[_0x10813b(0x1a3)](),this[_0x10813b(0x30d)]();}[_0x1cf15a(0x2b0)](){var _0x5bc9e6=_0x1cf15a,_0x500097;this[_0x5bc9e6(0x26f)](),this[_0x5bc9e6(0x239)]<((_0x500097=this['_configService']['getConfig'](Cs))!=null?_0x500097:Rs)?(this[_0x5bc9e6(0x1b4)]['emitEvent']({'id':ne[_0x5bc9e6(0x2f5)]}),this[_0x5bc9e6(0x28e)]()):this[_0x5bc9e6(0x1b4)][_0x5bc9e6(0x301)]({'id':ne[_0x5bc9e6(0x371)]});}[_0x1cf15a(0x28e)](){var _0x4b833e=_0x1cf15a,_0x276e3f;const _0x38f564=this[_0x4b833e(0x239)],_0x5df563=this[_0x4b833e(0x40d)][_0x4b833e(0x2bf)](K),_0x52bf78=_0x38f564===0x0?0x0:((_0x276e3f=_0x5df563==null?void 0x0:_0x5df563[_0x4b833e(0x417)])!=null?_0x276e3f:Ts)*0x2**_0x38f564;this[_0x4b833e(0x1b3)]=setTimeout(()=>{var _0x594e8c=_0x4b833e;clearTimeout(this[_0x594e8c(0x1b3)]),this['_retryConnectingTimer']=null,this[_0x594e8c(0x432)]();},_0x52bf78),this[_0x4b833e(0x239)]+=0x1;}['_onMessage'](_0x15491e,_0x4d8c82){var _0x2c400e=_0x1cf15a;const {cmd:_0x35a22f}=_0x4d8c82;_0x35a22f===F[_0x2c400e(0x231)]&&!this[_0x2c400e(0x363)]&&(_0x15491e[_0x2c400e(0x185)]=_0x4d8c82[_0x2c400e(0x31c)][_0x2c400e(0x185)],this[_0x2c400e(0x291)][_0x2c400e(0x200)](_0x15491e),this['_status$'][_0x2c400e(0x200)](Se['ONLINE']),this[_0x2c400e(0x363)]=!0x0,this[_0x2c400e(0x14f)]=null),_0x35a22f===F[_0x2c400e(0x3fd)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x1cf15a(0x3c4)](){var _0x4f33d5=_0x1cf15a,_0xb88921;this['_clearHeartbeatTimer'](),this[_0x4f33d5(0x3f2)]=setTimeout(()=>this[_0x4f33d5(0x1c5)](),(_0xb88921=this[_0x4f33d5(0x40d)]['getConfig'](Es))!=null?_0xb88921:Is);}[_0x1cf15a(0x1c5)](){var _0x46eb82=_0x1cf15a;this['_socket'][_0x46eb82(0x441)]({'cmd':F[_0x46eb82(0x3fd)]}),this[_0x46eb82(0x309)]();}[_0x1cf15a(0x309)](){var _0x4feb42=_0x1cf15a,_0x5650a8;this[_0x4feb42(0x2d7)]=setTimeout(()=>this['_onConnectionFailed'](),(_0x5650a8=this[_0x4feb42(0x40d)][_0x4feb42(0x2bf)](fi))!=null?_0x5650a8:vi);}[_0x1cf15a(0x30d)](){var _0x547dde=_0x1cf15a;this[_0x547dde(0x3f2)]!=null&&(clearTimeout(this[_0x547dde(0x3f2)]),this['_sendHeartbeatTimer']=null);}[_0x1cf15a(0x1a3)](){var _0x5c42db=_0x1cf15a;this[_0x5c42db(0x2d7)]!=null&&(clearTimeout(this[_0x5c42db(0x2d7)]),this[_0x5c42db(0x2d7)]=null);}};Le=Gs([Re(0x0,_0x4395c3(_0xac3c15)),Re(0x1,_0x1ffba8),Re(0x2,_0x149db4),Re(0x3,gi),Re(0x4,_0x4395c3(ve)),Re(0x5,_0x3ede3c(Us))],Le);const J=_0x5e399a('collaboration-client.local-cache-service');function Pr(_0x1c496f){var _0x2bb2a6=_0x1cf15a;return _0x2bb2a6(0x235)+_0x1c496f;}var Ws=Object['getOwnPropertyDescriptor'],Ys=(_0x3f88f2,_0x1da59c,_0x5f517a,_0x2b92d9)=>{var _0x56c0c3=_0x1cf15a;for(var _0x2b0761=_0x2b92d9>0x1?void 0x0:_0x2b92d9?Ws(_0x1da59c,_0x5f517a):_0x1da59c,_0x28fe4f=_0x3f88f2[_0x56c0c3(0x25a)]-0x1,_0xfa2b1;_0x28fe4f>=0x0;_0x28fe4f--)(_0xfa2b1=_0x3f88f2[_0x28fe4f])&&(_0x2b0761=_0xfa2b1(_0x2b0761)||_0x2b0761);return _0x2b0761;},ut=(_0x49028a,_0x3eeb5c)=>(_0x16308a,_0x1888cf)=>_0x3eeb5c(_0x16308a,_0x1888cf,_0x49028a);function Ks(_0x202c15){var _0x4f3af6=_0x1cf15a;const {unitID:_0x3790e0,mutations:_0x4e0492}=_0x202c15;return{'unitId':_0x3790e0,'subUnitId':_0x4e0492[0x0][_0x4f3af6(0x3bc)][_0x4f3af6(0x243)]};}let it=class{constructor(_0x3e767f,_0x250b02,_0x23e396){var _0x4c9edf=_0x1cf15a;this[_0x4c9edf(0x1bb)]=_0x3e767f,this[_0x4c9edf(0x2e2)]=_0x250b02,this['_instanceService']=_0x23e396;}['transformSelections'](_0x3d8495){var _0x35507d=_0x1cf15a,_0x19e012,_0x106078,_0x3c746d,_0x10dd9c;const _0x179673=this[_0x35507d(0x1bb)]['get'](_0x11e3f7),{unitId:_0x872ee8,subUnitId:_0x7b7220}=Ks(_0x3d8495),_0x239840=_0x179673==null?void 0x0:_0x179673[_0x35507d(0x396)](_0x872ee8)[_0x35507d(0x15d)](),_0x26a0d2=(_0x106078=(_0x19e012=this[_0x35507d(0x240)]['getUnit'](_0x872ee8))==null?void 0x0:_0x19e012['getActiveSheet']())==null?void 0x0:_0x106078[_0x35507d(0x258)]();if(_0x239840['length']===0x0||!_0x872ee8||!_0x7b7220)return;const _0x50b0a3=[{'id':_0x248468['id'],'params':{'unitId':_0x872ee8,'subUnitId':_0x26a0d2,'selections':_0x43b5c0[_0x35507d(0x3d2)](_0x239840)}}],_0x4e9570=this[_0x35507d(0x2e2)][_0x35507d(0x17b)](_0x3d8495,_0x50b0a3);if(!_0x4923e4(_0x4e9570))throw _0x4e9570[_0x35507d(0x335)];const _0x460983=(_0x10dd9c=(_0x3c746d=_0x4e9570[_0x35507d(0x33d)][0x0])==null?void 0x0:_0x3c746d[_0x35507d(0x3bc)])==null?void 0x0:_0x10dd9c[_0x35507d(0x330)];if(Array[_0x35507d(0x328)](_0x460983)&&_0x460983['length']){if(_0x460983['length']===_0x50b0a3[0x0]['params'][_0x35507d(0x330)]['length']&&_0x460983[_0x35507d(0x203)]((_0x39d289,_0x28cf84)=>_0x378739[_0x35507d(0x414)](_0x39d289[_0x35507d(0x3f0)],_0x50b0a3[0x0][_0x35507d(0x3bc)][_0x35507d(0x330)][_0x28cf84]['range'])))return;this[_0x35507d(0x1bb)][_0x35507d(0x340)](_0x751d12)[_0x35507d(0x1f7)](_0x248468['id'],{'unitId':_0x872ee8,'subUnitId':_0x26a0d2,'selections':_0x460983});}}};it=Ys([ut(0x0,_0x4395c3(_0xac3c15)),ut(0x1,_0x3226d7),ut(0x2,_0x125d03)],it);const ht=_0x5e399a(_0x1cf15a(0x439));var Ei=(_0x3aa966=>(_0x3aa966[_0x3aa966[_0x1cf15a(0x21b)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x3aa966[_0x3aa966[_0x1cf15a(0x1ee)]=0x1]='OTHER_CLIENTS_EDITING',_0x3aa966))(Ei||{});const qs=new Set([_0x5016c6['id']]);function Wt(_0x1c9b56,_0x14adac,_0x4b7d42,_0x1735f9,_0x588bef){var _0xb2fe8a=_0x1cf15a,_0x2b511d,_0x5dd269,_0x385d54,_0x19ee60;const _0x2a931a=[];for(const _0x75cab5 of _0x1c9b56)if(qs[_0xb2fe8a(0x171)](_0x75cab5['id'])){if(_0x2a931a['length']>0x0)break;_0x2a931a[_0xb2fe8a(0x39c)](_0x75cab5);break;}else _0x2a931a[_0xb2fe8a(0x39c)](_0x75cab5);const _0x5b7c26=(_0x5dd269=(_0x2b511d=_0x588bef[_0xb2fe8a(0x386)]())==null?void 0x0:_0x2b511d[_0xb2fe8a(0x1e7)])!=null?_0x5dd269:'unknown',_0x36dd82=(_0x19ee60=(_0x385d54=_0x588bef[_0xb2fe8a(0x386)]())==null?void 0x0:_0x385d54[_0xb2fe8a(0x185)])!=null?_0x19ee60:'unknown';return{'changeset':{'unitID':_0x14adac,'type':_0x7cb32e(_0x4b7d42[_0xb2fe8a(0x204)](_0x14adac)),'baseRev':_0x1735f9[_0xb2fe8a(0x198)](_0x14adac),'revision':0x0,'userID':_0x5b7c26,'memberID':_0x36dd82,'mutations':_0x2a931a},'pendingMutations':_0x1c9b56[_0xb2fe8a(0x22c)](_0x2a931a[_0xb2fe8a(0x25a)])};}function zs(_0x1e2225,_0x559b41,_0x3f7206,_0x4c6a5c,_0x129b30){var _0x47b18e=_0x1cf15a,_0x38417c,_0x2efda3,_0x5a03b9,_0x4021c2;const _0x4c6616=[_0x1e2225[_0x47b18e(0x15b)]((_0x31bdbd,_0x50ad53)=>{var _0x73676f=_0x47b18e,_0x5d4c4d;const {id:_0x494110}=_0x31bdbd,{id:_0x22832a,type:_0x52c2f6}=_0x50ad53,_0xe372b4=(_0x5d4c4d=_0x31bdbd[_0x73676f(0x3bc)])!=null?_0x5d4c4d:{'actions':null},_0x18ce1c=_0x50ad53[_0x73676f(0x3bc)];if(_0x494110&&_0x494110!==_0x22832a)throw new Error(_0x73676f(0x1fd)+_0x494110+'\x20-\x20'+_0x22832a+'.');return{..._0x31bdbd,'id':_0x22832a,'type':_0x52c2f6,'params':{'unitId':_0x18ce1c[_0x73676f(0x1a9)],'textRanges':_0x18ce1c[_0x73676f(0x15a)],'actions':_0x166e50[_0x73676f(0x1b2)](_0xe372b4[_0x73676f(0x384)],_0x18ce1c[_0x73676f(0x384)])}};},{})],_0x36d0bd=(_0x2efda3=(_0x38417c=_0x129b30['getCurrentUser']())==null?void 0x0:_0x38417c[_0x47b18e(0x1e7)])!=null?_0x2efda3:_0x47b18e(0x20a),_0x16ce96=(_0x4021c2=(_0x5a03b9=_0x129b30[_0x47b18e(0x386)]())==null?void 0x0:_0x5a03b9[_0x47b18e(0x185)])!=null?_0x4021c2:_0x47b18e(0x20a);return{'changeset':{'unitID':_0x559b41,'type':_0x7cb32e(_0x3f7206[_0x47b18e(0x204)](_0x559b41)),'baseRev':_0x4c6a5c[_0x47b18e(0x198)](_0x559b41),'revision':0x0,'userID':_0x36d0bd,'memberID':_0x16ce96,'mutations':_0x4c6616},'pendingMutations':[]};}function Ii(_0x329103,_0x1a471a){var _0x3d12d4=_0x1cf15a;const _0x559c2d=new _0x3d8e59(0x1);return setTimeout(()=>_0x559c2d[_0x3d12d4(0x200)](_0x1a471a),_0x329103),_0x559c2d[_0x3d12d4(0x17c)]()[_0x3d12d4(0x295)](_0x47a6dd(0x1));}const Js={'id':_0x5da75f['id'],'type':_0x1b7bc7['MUTATION'],'params':{}};var Xs=Object['getOwnPropertyDescriptor'],Ie=(_0x4427e8,_0x29a225,_0x5b221e,_0x3be5ee)=>{for(var _0xc7366=_0x3be5ee>0x1?void 0x0:_0x3be5ee?Xs(_0x29a225,_0x5b221e):_0x29a225,_0x3c42c6=_0x4427e8['length']-0x1,_0x74b9e2;_0x3c42c6>=0x0;_0x3c42c6--)(_0x74b9e2=_0x4427e8[_0x3c42c6])&&(_0xc7366=_0x74b9e2(_0xc7366)||_0xc7366);return _0xc7366;},P=(_0x50cfc5,_0x429ff0)=>(_0x5535b8,_0xf2dc93)=>_0x429ff0(_0x5535b8,_0xf2dc93,_0x50cfc5),Ti=(_0x28c3cb=>(_0x28c3cb[_0x1cf15a(0x318)]=_0x1cf15a(0x287),_0x28c3cb['SYNCED']=_0x1cf15a(0x1de),_0x28c3cb['PENDING']=_0x1cf15a(0x18c),_0x28c3cb['AWAITING']='awaiting',_0x28c3cb['AWAITING_WITH_PENDING']=_0x1cf15a(0x431),_0x28c3cb[_0x1cf15a(0x2e3)]='fetch_missing',_0x28c3cb[_0x1cf15a(0x286)]=_0x1cf15a(0x2bd),_0x28c3cb[_0x1cf15a(0x2be)]='offline',_0x28c3cb))(Ti||{});const Ci=0xea60;class Te{constructor(_0xf4053,_0x5b01da,_0x839098,_0x34684b,_0x2523cd,_0x1c6371,_0xe54436,_0x3178b4,_0x2d4996){var _0x312fca=_0x1cf15a;N(this,'_awaitingChangeset',null),N(this,_0x312fca(0x1dd),[]),(this['unitID']=_0xf4053,this[_0x312fca(0x220)]=_0x5b01da,this[_0x312fca(0x3ab)]=_0x2523cd,this[_0x312fca(0x3bd)]=_0x1c6371,this[_0x312fca(0x28a)]=_0xe54436,this['_revisionService']=_0x3178b4,this['_localCacheService']=_0x2d4996,this[_0x312fca(0x3eb)]=_0x839098,this[_0x312fca(0x1dd)]=_0x34684b);}[_0x1cf15a(0x22f)](_0x579c50){var _0xc5dbc5=_0x1cf15a;const _0x2f5bec=this['_revisionService'][_0xc5dbc5(0x198)](this['unitID']);return _0x579c50['revision']>_0x2f5bec+0x1?(this[_0xc5dbc5(0x3ab)][_0xc5dbc5(0x42d)]({'from':_0x2f5bec,'to':_0x579c50[_0xc5dbc5(0x317)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1ddfe7){var _0x57625e=_0x1cf15a;this[_0x57625e(0x28a)]['transformUndoRedo'](this[_0x57625e(0x1df)],_0x1ddfe7);}['_transformSelections'](_0x1c0be2){var _0x521dd2=_0x1cf15a,_0x550a93,_0x168ebb;(_0x168ebb=(_0x550a93=this[_0x521dd2(0x3ab)])[_0x521dd2(0x2a9)])==null||_0x168ebb['call'](_0x550a93,_0x1c0be2);}[_0x1cf15a(0x357)](_0x27167a){var _0x508da9=_0x1cf15a,_0x13cb1e,_0x2c6523;return(_0x2c6523=(_0x13cb1e=this[_0x508da9(0x3ab)])[_0x508da9(0x202)])==null?void 0x0:_0x2c6523[_0x508da9(0x2ee)](_0x13cb1e,_0x27167a);}[_0x1cf15a(0x38d)](_0x25c25d){var _0x5ecf36=_0x1cf15a,_0x3defdb,_0x1e7843;return(_0x1e7843=(_0x3defdb=this['_handler'])[_0x5ecf36(0x385)])==null?void 0x0:_0x1e7843[_0x5ecf36(0x2ee)](_0x3defdb,_0x25c25d);}[_0x1cf15a(0x274)](_0x359dfb){var _0x45e002=_0x1cf15a,_0x21cee0,_0x527936,_0x1b08ca;return(_0x1b08ca=(_0x527936=(_0x21cee0=this['_handler'])[_0x45e002(0x434)])==null?void 0x0:_0x527936[_0x45e002(0x2ee)](_0x21cee0,_0x359dfb))!=null?_0x1b08ca:_0x359dfb;}['_transformRemoteChangesetByStateCache'](_0x364988){var _0x57883c=_0x1cf15a,_0x2044b6,_0x43cd2c,_0xf84f5c;return(_0xf84f5c=(_0x43cd2c=(_0x2044b6=this[_0x57883c(0x3ab)])[_0x57883c(0x18b)])==null?void 0x0:_0x43cd2c[_0x57883c(0x2ee)](_0x2044b6,_0x364988))!=null?_0xf84f5c:_0x364988;}[_0x1cf15a(0x388)](_0x339943){var _0x3c8b5f=_0x1cf15a,_0x95b327,_0x120c3d;if(this[_0x3c8b5f(0x220)]===Z[_0x3c8b5f(0x22a)]){const {unitID:_0x55393b,mutations:_0x1a451c,memberID:_0x134a6c}=_0x339943,_0x4476d8=_0x1a451c[0x0][_0x3c8b5f(0x3bc)]['textRanges'];Array['isArray'](_0x4476d8)&&_0x4476d8[_0x3c8b5f(0x25a)]>0x0&&((_0x120c3d=(_0x95b327=this['_handler'])[_0x3c8b5f(0x259)])==null||_0x120c3d[_0x3c8b5f(0x2ee)](_0x95b327,{'unitID':_0x55393b,'memberID':_0x134a6c,'textRanges':_0x4476d8}));}}['_updateLocalCache'](){var _0x5ad557=_0x1cf15a,_0x2bbf05;(_0x2bbf05=this['_localCacheService'])==null||_0x2bbf05[_0x5ad557(0x1ed)](this[_0x5ad557(0x1df)],this[_0x5ad557(0x220)],this[_0x5ad557(0x3eb)],this[_0x5ad557(0x1dd)]);}[_0x1cf15a(0x31b)](){var _0x5a1e22=_0x1cf15a;return this[_0x5a1e22(0x229)][_0x5a1e22(0x198)](this[_0x5a1e22(0x1df)]);}[_0x1cf15a(0x41d)](){var _0x27298a=_0x1cf15a;this['_revisionService']['incrementRevOfUnit'](this[_0x27298a(0x1df)]);}[_0x1cf15a(0x26a)](_0x2f1446){var _0xd5e877=_0x1cf15a,_0x4d1485;let _0x39cf71=this[_0xd5e877(0x274)](_0x2f1446);_0x39cf71=this[_0xd5e877(0x288)](_0x39cf71);const _0x1d804c=_0x4e92f0(_0x39cf71[_0xd5e877(0x3ff)],this[_0xd5e877(0x3bd)],{'fromCollab':!0x0});if(!_0x1d804c[_0xd5e877(0x262)])throw _0x1d804c['error']instanceof Error?_0x1d804c[_0xd5e877(0x335)]:new Error((_0x4d1485=_0x1d804c[_0xd5e877(0x335)])!=null?_0x4d1485:_0xd5e877(0x164));this[_0xd5e877(0x357)](_0x39cf71),this[_0xd5e877(0x38d)](_0x39cf71),this[_0xd5e877(0x244)](_0x2f1446),this[_0xd5e877(0x1c1)](_0x39cf71),this[_0xd5e877(0x388)](_0x39cf71),this[_0xd5e877(0x41d)]();}}function _0x59f7(_0x16fa48,_0x16df44){var _0x32992a=_0x3299();return _0x59f7=function(_0x59f7ed,_0x3614ec){_0x59f7ed=_0x59f7ed-0x141;var _0x53cec0=_0x32992a[_0x59f7ed];return _0x53cec0;},_0x59f7(_0x16fa48,_0x16df44);}let ye=class extends Te{constructor(_0x402805,_0x4a795d,_0x4a4c3a,_0x5496a4,_0x5339ea,_0x596fa2,_0x54545b,_0x2187ee,_0x1daf66,_0x126a5a){var _0x2f229d=_0x1cf15a;super(_0x402805,_0x4a795d,null,[],_0x4a4c3a,_0x54545b,_0x596fa2,_0x5496a4,_0x126a5a),N(this,_0x2f229d(0x1bc),_0x2f229d(0x1de)),(this[_0x2f229d(0x1bb)]=_0x5339ea,this[_0x2f229d(0x353)]=_0x2187ee,this['_transformService']=_0x1daf66,this[_0x2f229d(0x2de)]=_0x126a5a);}[_0x1cf15a(0x292)](_0x5dfe56){var _0x403fb1=_0x1cf15a;const _0x143f56=this[_0x403fb1(0x1bb)]['createInstance'](re,this[_0x403fb1(0x1df)],this[_0x403fb1(0x220)],[_0x5dfe56],this[_0x403fb1(0x3ab)]);return _0x143f56[_0x403fb1(0x159)](),_0x143f56[_0x403fb1(0x23e)](),_0x143f56;}[_0x1cf15a(0x319)](_0x5db10b){var _0x3f53c0=_0x1cf15a;if(this[_0x3f53c0(0x22f)](_0x5db10b))return this[_0x3f53c0(0x1bb)][_0x3f53c0(0x176)](Q,this[_0x3f53c0(0x1df)],this[_0x3f53c0(0x220)],null,[],null,[_0x5db10b],this[_0x3f53c0(0x3ab)]);try{const _0x4ec3eb=this['_transformService'][_0x3f53c0(0x17b)](_0x5db10b,[Js]);if(_0x4923e4(_0x4ec3eb)){const {c1Prime:_0x13d391}=_0x4ec3eb;return this[_0x3f53c0(0x26a)](_0x13d391),this;}throw _0x4ec3eb[_0x3f53c0(0x335)];}catch(_0x529519){return this[_0x3f53c0(0x353)]['error'](_0x529519),this[_0x3f53c0(0x406)](!0x1);}}[_0x1cf15a(0x406)](_0x37fe27){var _0x2ab637=_0x1cf15a;return this[_0x2ab637(0x1bb)]['createInstance'](le,this[_0x2ab637(0x1df)],this['type'],null,[],this[_0x2ab637(0x3ab)],_0x37fe27);}[_0x1cf15a(0x379)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x1cf15a(0x38b)](){var _0x5b37b2=_0x1cf15a;throw new Error(_0x5b37b2(0x30e));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x45901e=_0x1cf15a;return this[_0x45901e(0x1bb)][_0x45901e(0x176)](ue,this[_0x45901e(0x1df)],this[_0x45901e(0x220)],null,[],this[_0x45901e(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x3e069c=_0x1cf15a;throw new Error(_0x3e069c(0x337));}[_0x1cf15a(0x2c4)](){var _0x340312=_0x1cf15a;const _0x5aa4c0=this[_0x340312(0x229)][_0x340312(0x198)](this[_0x340312(0x1df)]);return this[_0x340312(0x3ab)][_0x340312(0x42d)]({'from':_0x5aa4c0,'to':0x0}),this[_0x340312(0x1bb)]['createInstance'](Q,this[_0x340312(0x1df)],this['type'],null,[],null,[],this[_0x340312(0x3ab)]);}};ye=Ie([P(0x3,_0x4395c3(_0x471d83)),P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x1ed94f),P(0x6,_0x751d12),P(0x7,_0x1ffba8),P(0x8,_0x3226d7),P(0x9,_0x3ede3c(J))],ye);let re=class extends Te{constructor(_0x3c951a,_0x1b3e2b,_0xb4fd49,_0x5ea54a,_0x14421d,_0x317bc3,_0x17c417,_0x18edb8,_0x207de3,_0x1487ff,_0x39d32b,_0x53cb42,_0x4e7d49,_0x9a5a){var _0xb92587=_0x1cf15a;super(_0x3c951a,_0x1b3e2b,null,_0xb4fd49,_0x5ea54a,_0x207de3,_0x4e7d49,_0x317bc3,_0x9a5a),N(this,_0xb92587(0x1bc),_0xb92587(0x18c)),N(this,_0xb92587(0x336),null),N(this,'_sendingTimer',null),(this[_0xb92587(0x1bb)]=_0x14421d,this[_0xb92587(0x1f2)]=_0x17c417,this[_0xb92587(0x353)]=_0x18edb8,this[_0xb92587(0x40d)]=_0x1487ff,this[_0xb92587(0x2e2)]=_0x39d32b,this['_univerInstanceService']=_0x53cb42);}[_0x1cf15a(0x292)](_0x671099){var _0x320e4c=_0x1cf15a;return this[_0x320e4c(0x1dd)][_0x320e4c(0x39c)](_0x671099),this[_0x320e4c(0x23e)](),this;}['onRemoteChangeset'](_0x5b6541){var _0x388adc=_0x1cf15a;if(this[_0x388adc(0x22f)](_0x5b6541))return this['_clearScheduledTask'](),this[_0x388adc(0x1bb)]['createInstance'](Q,this[_0x388adc(0x1df)],this[_0x388adc(0x220)],null,this[_0x388adc(0x1dd)],null,[_0x5b6541],this['_handler']);try{const _0x239e80=this['_transformService'][_0x388adc(0x17b)](_0x5b6541,this[_0x388adc(0x1dd)]);if(_0x4923e4(_0x239e80)){const {c1Prime:_0x1c0896,m2Prime:_0x5b9adc}=_0x239e80;this[_0x388adc(0x26a)](_0x1c0896);const _0x46f1f7=this['_injector'][_0x388adc(0x176)](re,this[_0x388adc(0x1df)],this[_0x388adc(0x220)],_0x5b9adc,this[_0x388adc(0x3ab)]);this[_0x388adc(0x360)]();const _0xb0916=new Date()[_0x388adc(0x41e)](),_0x5d9f44=this[_0x388adc(0x336)]?Math['max'](this[_0x388adc(0x336)]-_0xb0916,0x0):this[_0x388adc(0x3cb)]();return _0x46f1f7[_0x388adc(0x159)](_0x5d9f44),_0x46f1f7;}throw _0x239e80[_0x388adc(0x335)];}catch(_0x28a26d){return this[_0x388adc(0x353)][_0x388adc(0x335)](_0x28a26d),this['_onConflict'](!0x1);}}[_0x1cf15a(0x379)](){var _0x5e5cf3=_0x1cf15a;throw new Error(_0x5e5cf3(0x184));}[_0x1cf15a(0x38b)](){var _0x4d3674=_0x1cf15a;throw new Error(_0x4d3674(0x3a3));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x1aba70=_0x1cf15a;return this[_0x1aba70(0x360)](),this[_0x1aba70(0x1bb)][_0x1aba70(0x176)](ue,this[_0x1aba70(0x1df)],this[_0x1aba70(0x220)],null,this['_pendingMutations'],this[_0x1aba70(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x159)](_0x47ba40){var _0x358414=_0x1cf15a;const _0x21fc28=_0x47ba40!=null?_0x47ba40:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x358414(0x41e)]()+_0x21fc28,this[_0x358414(0x26d)]=setTimeout(()=>{var _0x56a2b1=_0x358414;this[_0x56a2b1(0x360)]();let _0x2b8749=null;switch(this[_0x56a2b1(0x220)]){case Z[_0x56a2b1(0x355)]:{_0x2b8749=Wt(this[_0x56a2b1(0x1dd)],this[_0x56a2b1(0x1df)],this['_univerInstanceService'],this[_0x56a2b1(0x229)],this[_0x56a2b1(0x1f2)]);break;}case Z['UNIVER_DOC']:{this[_0x56a2b1(0x1dd)][_0x56a2b1(0x203)](_0x10ff1e=>_0x10ff1e['id']===_0x9099a8['id'])?_0x2b8749=zs(this[_0x56a2b1(0x1dd)],this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x2d9)],this[_0x56a2b1(0x229)],this[_0x56a2b1(0x1f2)]):_0x2b8749=Wt(this['_pendingMutations'],this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x2d9)],this['_revisionService'],this[_0x56a2b1(0x1f2)]);break;}default:throw new Error(_0x56a2b1(0x313)+this[_0x56a2b1(0x220)]+_0x56a2b1(0x294));}const {changeset:_0x281e6e,pendingMutations:_0x1f9e10}=_0x2b8749;this[_0x56a2b1(0x3ab)]['onSendChangeset'](_0x281e6e);const _0x49d185=_0x1f9e10[_0x56a2b1(0x25a)]?this['_injector'][_0x56a2b1(0x176)](ae,this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x220)],_0x281e6e,_0x1f9e10,this['_handler'],void 0x0):this[_0x56a2b1(0x1bb)][_0x56a2b1(0x176)](_e,this[_0x56a2b1(0x1df)],this[_0x56a2b1(0x220)],_0x281e6e,this[_0x56a2b1(0x3ab)]);_0x49d185[_0x56a2b1(0x23e)](),this[_0x56a2b1(0x3ab)][_0x56a2b1(0x1d0)](this,_0x49d185);},_0x21fc28);}[_0x1cf15a(0x3cb)](){var _0x5abcb6=_0x1cf15a,_0x1b5936;const _0xac9253=this[_0x5abcb6(0x40d)][_0x5abcb6(0x2bf)](K);return(_0x1b5936=_0xac9253==null?void 0x0:_0xac9253[_0x5abcb6(0x255)])!=null?_0x1b5936:ms;}[_0x1cf15a(0x3fb)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x1cf15a(0x360)](){var _0x12b260=_0x1cf15a;this[_0x12b260(0x26d)]!=null&&(clearTimeout(this[_0x12b260(0x26d)]),this[_0x12b260(0x26d)]=null);}[_0x1cf15a(0x406)](_0x45af17){var _0x48c5c9=_0x1cf15a;return this[_0x48c5c9(0x360)](),this[_0x48c5c9(0x1bb)][_0x48c5c9(0x176)](le,this[_0x48c5c9(0x1df)],this[_0x48c5c9(0x220)],null,this['_pendingMutations'],this[_0x48c5c9(0x3ab)],_0x45af17);}};re=Ie([P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x4395c3(_0x471d83)),P(0x6,_0x4395c3(Pe)),P(0x7,_0x1ffba8),P(0x8,_0x751d12),P(0x9,_0x149db4),P(0xa,_0x3226d7),P(0xb,_0x125d03),P(0xc,_0x1ed94f),P(0xd,_0x3ede3c(J))],re);let _e=class extends Te{constructor(_0x356b49,_0x16a34b,_0x25d215,_0x575898,_0x1663b4,_0x5cb195,_0x5b6899,_0x482629,_0x324233,_0x4f6ade,_0x3e0252){var _0xd639d6=_0x1cf15a;super(_0x356b49,_0x16a34b,_0x25d215,[],_0x575898,_0x5b6899,_0x4f6ade,_0x5cb195,_0x3e0252),N(this,_0xd639d6(0x1bc),_0xd639d6(0x1ce)),N(this,_0xd639d6(0x1ad),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x1663b4,this[_0xd639d6(0x353)]=_0x482629,this[_0xd639d6(0x2e2)]=_0x324233);}['appendMutation'](_0x2e520e){var _0x33bd4c=_0x1cf15a;this[_0x33bd4c(0x360)]();const _0x16977b=this[_0x33bd4c(0x1bb)][_0x33bd4c(0x176)](ae,this[_0x33bd4c(0x1df)],this[_0x33bd4c(0x220)],this['_awaitingChangeset'],[_0x2e520e],this['_handler'],this['_resendTimer']);return _0x16977b[_0x33bd4c(0x23e)](),_0x16977b;}[_0x1cf15a(0x319)](_0x4321cb){var _0x51502b=_0x1cf15a;if(this[_0x51502b(0x22f)](_0x4321cb))return this[_0x51502b(0x360)](),this['_injector']['createInstance'](Q,this[_0x51502b(0x1df)],this[_0x51502b(0x220)],this[_0x51502b(0x3eb)],[],null,[_0x4321cb],this[_0x51502b(0x3ab)]);try{const _0x2165a9=this[_0x51502b(0x2e2)][_0x51502b(0x17f)]([_0x4321cb],[this[_0x51502b(0x3eb)]],!0x1);if(_0x40451d(_0x2165a9)){const {c1Prime:_0x517e6c,c2Prime:_0x61b891}=_0x2165a9;this['_executeRemoteChangeset'](_0x517e6c[0x0]),_0x61b891[0x0][_0x51502b(0x346)]=this[_0x51502b(0x31b)](),this[_0x51502b(0x360)]();const _0x4297f8=this['_injector'][_0x51502b(0x176)](_e,this[_0x51502b(0x1df)],this[_0x51502b(0x220)],_0x61b891[0x0],this['_handler']);return _0x4297f8[_0x51502b(0x23e)](),_0x4297f8;}return this[_0x51502b(0x406)](!0x1);}catch(_0x538d87){return this[_0x51502b(0x353)][_0x51502b(0x335)](_0x538d87),this[_0x51502b(0x406)](!0x1);}}[_0x1cf15a(0x379)](_0xfd14d2){var _0x17881d=_0x1cf15a;this[_0x17881d(0x360)]();const _0x308814=this[_0x17881d(0x229)][_0x17881d(0x198)](this[_0x17881d(0x1df)]);if(_0xfd14d2['revision']<_0x308814-0x1)return this;if(this[_0x17881d(0x22f)](_0xfd14d2))return this[_0x17881d(0x1bb)]['createInstance'](Q,this['unitID'],this['type'],null,[],this[_0x17881d(0x3eb)],[],this['_handler']);this[_0x17881d(0x41d)]();const _0x2b22b6=this[_0x17881d(0x1bb)][_0x17881d(0x176)](ye,this[_0x17881d(0x1df)],this[_0x17881d(0x220)],this[_0x17881d(0x3ab)]);return _0x2b22b6[_0x17881d(0x23e)](),_0x2b22b6;}[_0x1cf15a(0x38b)](_0x5cafd6){var _0x9fc729=_0x1cf15a;return this[_0x9fc729(0x406)](!!(_0x5cafd6!=null&&_0x5cafd6[_0x9fc729(0x39a)]));}[_0x1cf15a(0x333)](_0x506bdd){var _0x16a895=_0x1cf15a;return this['_resendTimeout']>Ci?this['toggleOffline']():(this[_0x16a895(0x2b3)]=Ii(this[_0x16a895(0x1ad)],{'timeout':this[_0x16a895(0x1ad)],'reqId':_0x506bdd[_0x16a895(0x1d4)]}),this['_sender']=this['_resendTimer'][_0x16a895(0x41f)](({reqId:_0x296031,timeout:_0xc4d5f3})=>{var _0x12c30d=_0x16a895;this[_0x12c30d(0x2fe)](_0x296031,_0xc4d5f3);}),this);}['toggleOffline'](){var _0x51b965=_0x1cf15a;return this[_0x51b965(0x360)](),this['_injector'][_0x51b965(0x176)](ue,this[_0x51b965(0x1df)],this[_0x51b965(0x220)],this['_awaitingChangeset'],[],this['_handler']);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x31ab06=_0x1cf15a;this[_0x31ab06(0x3ab)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x1cf15a(0x406)](_0x417ef0){var _0x583a47=_0x1cf15a;return this[_0x583a47(0x360)](),this[_0x583a47(0x1bb)][_0x583a47(0x176)](le,this[_0x583a47(0x1df)],this[_0x583a47(0x220)],this['_awaitingChangeset'],[],this['_handler'],_0x417ef0);}[_0x1cf15a(0x2fe)](_0xcb0248,_0x682477){var _0x3e1868=_0x1cf15a,_0x405bd9;_0xcb0248===((_0x405bd9=this[_0x3e1868(0x3eb)])==null?void 0x0:_0x405bd9[_0x3e1868(0x1d4)])&&(this[_0x3e1868(0x3fb)](),this[_0x3e1868(0x1ad)]=_0x682477===0x0?0x3e8:_0x682477*0x2);}[_0x1cf15a(0x360)](){var _0x25db60=_0x1cf15a,_0x424eaf;(_0x424eaf=this[_0x25db60(0x1e8)])==null||_0x424eaf[_0x25db60(0x224)](),this[_0x25db60(0x1ad)]=0x0;}};_e=Ie([P(0x4,_0x4395c3(_0xac3c15)),P(0x5,_0x4395c3(_0x471d83)),P(0x6,_0x751d12),P(0x7,_0x1ffba8),P(0x8,_0x3226d7),P(0x9,_0x1ed94f),P(0xa,_0x3ede3c(J))],_e);let ae=class extends Te{constructor(_0x2489d9,_0x3a736c,_0x1cb250,_0xbede5b,_0x53339d,_0x28692d,_0x11647f,_0x2d2ef1,_0x48b330,_0x4c2c2a,_0x26425f,_0x351d89,_0x38158a){var _0x39d870=_0x1cf15a;super(_0x2489d9,_0x3a736c,_0x1cb250,_0xbede5b,_0x53339d,_0x48b330,_0x351d89,_0x2d2ef1,_0x38158a),N(this,_0x39d870(0x1bc),_0x39d870(0x431)),N(this,_0x39d870(0x1ad),0x0),N(this,_0x39d870(0x2b3)),N(this,_0x39d870(0x1e8)),(this[_0x39d870(0x1bb)]=_0x11647f,this[_0x39d870(0x353)]=_0x4c2c2a,this['_transformService']=_0x26425f,this[_0x39d870(0x2de)]=_0x38158a,_0x28692d&&(this[_0x39d870(0x2b3)]=_0x28692d,this[_0x39d870(0x1e8)]=this[_0x39d870(0x2b3)]['subscribe'](({reqId:_0x566605,timeout:_0xd2c7a7})=>{this['_resendWithTimeout'](_0x566605,_0xd2c7a7);})));}[_0x1cf15a(0x292)](_0x242a56){var _0x3b6af3=_0x1cf15a;return this[_0x3b6af3(0x1dd)]['push'](_0x242a56),this;}[_0x1cf15a(0x319)](_0x321799){var _0x10486f=_0x1cf15a;if(this['_checkMissing'](_0x321799))return this[_0x10486f(0x360)](),this['_injector']['createInstance'](Q,this['unitID'],this[_0x10486f(0x220)],this[_0x10486f(0x3eb)],this[_0x10486f(0x1dd)],null,[_0x321799],this['_handler']);try{const _0x28e167=this[_0x10486f(0x2e2)][_0x10486f(0x17f)]([_0x321799],[this[_0x10486f(0x3eb)]],!0x1);if(_0x40451d(_0x28e167)){const {c1Prime:_0x1de378,c2Prime:_0x45acf5}=_0x28e167,_0x3e7e7d=this[_0x10486f(0x2e2)][_0x10486f(0x17b)](_0x1de378[0x0],this[_0x10486f(0x1dd)]);if(_0x4923e4(_0x3e7e7d)){const {c1Prime:_0x1fbc4d,m2Prime:_0x912bf0}=_0x3e7e7d;return this['_executeRemoteChangeset'](_0x1fbc4d),_0x45acf5[0x0][_0x10486f(0x346)]=this[_0x10486f(0x31b)](),this[_0x10486f(0x360)](),this['_injector'][_0x10486f(0x176)](ae,this[_0x10486f(0x1df)],this[_0x10486f(0x220)],_0x45acf5[0x0],_0x912bf0,this[_0x10486f(0x3ab)],void 0x0);}throw _0x3e7e7d[_0x10486f(0x335)];}throw _0x28e167[_0x10486f(0x335)];}catch(_0x5ee5cc){return this[_0x10486f(0x353)][_0x10486f(0x335)](_0x5ee5cc),this['_onConflict'](!0x1);}}[_0x1cf15a(0x379)](_0x3b2e52){var _0x16cadb=_0x1cf15a;if(this[_0x16cadb(0x360)](),this[_0x16cadb(0x22f)](_0x3b2e52))return this['_injector'][_0x16cadb(0x176)](Q,this['unitID'],this[_0x16cadb(0x220)],null,this['_pendingMutations'],this['_awaitingChangeset'],[],this[_0x16cadb(0x3ab)]);this['_incrementRevisionNumber']();const _0x22b29f=this[_0x16cadb(0x1bb)]['createInstance'](re,this[_0x16cadb(0x1df)],this[_0x16cadb(0x220)],this[_0x16cadb(0x1dd)],this['_handler']);return _0x22b29f[_0x16cadb(0x159)](),_0x22b29f[_0x16cadb(0x23e)](),_0x22b29f;}[_0x1cf15a(0x38b)](_0x2f5ca0){var _0x3ca4ee=_0x1cf15a;return this[_0x3ca4ee(0x406)](!!(_0x2f5ca0!=null&&_0x2f5ca0[_0x3ca4ee(0x39a)]));}[_0x1cf15a(0x333)](_0x116c9d){var _0x49d300=_0x1cf15a;return this['_resendTimeout']>Ci?this[_0x49d300(0x223)]():(this[_0x49d300(0x2b3)]=Ii(this[_0x49d300(0x1ad)],{'timeout':this[_0x49d300(0x1ad)],'reqId':_0x116c9d[_0x49d300(0x1d4)]}),this['_sender']=this[_0x49d300(0x2b3)]['subscribe'](({reqId:_0x42c684,timeout:_0x90d827})=>{var _0x575fae=_0x49d300;this[_0x575fae(0x2fe)](_0x42c684,_0x90d827);}),this);}[_0x1cf15a(0x223)](){var _0x5d2e72=_0x1cf15a;return this[_0x5d2e72(0x360)](),this[_0x5d2e72(0x1bb)][_0x5d2e72(0x176)](ue,this[_0x5d2e72(0x1df)],this[_0x5d2e72(0x220)],this[_0x5d2e72(0x3eb)],this[_0x5d2e72(0x1dd)],this[_0x5d2e72(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x89e75=_0x1cf15a;this['_handler'][_0x89e75(0x1f0)](this[_0x89e75(0x3eb)]);}[_0x1cf15a(0x406)](_0x299bad){var _0x54025b=_0x1cf15a;return this[_0x54025b(0x360)](),this[_0x54025b(0x1bb)]['createInstance'](le,this[_0x54025b(0x1df)],this[_0x54025b(0x220)],null,this[_0x54025b(0x1dd)],this[_0x54025b(0x3ab)],_0x299bad);}[_0x1cf15a(0x2fe)](_0x33ef4e,_0x1f10ee){var _0xb48cf8=_0x1cf15a,_0x474c41;_0x33ef4e===((_0x474c41=this[_0xb48cf8(0x3eb)])==null?void 0x0:_0x474c41[_0xb48cf8(0x1d4)])&&(this[_0xb48cf8(0x3fb)](),this[_0xb48cf8(0x1ad)]=_0x1f10ee===0x0?0x3e8:_0x1f10ee*0x2);}['_clearScheduledTask'](){var _0x511343=_0x1cf15a,_0x25c40e;(_0x25c40e=this[_0x511343(0x1e8)])==null||_0x25c40e[_0x511343(0x224)](),this[_0x511343(0x1ad)]=0x0;}};ae=Ie([P(0x6,_0x4395c3(_0xac3c15)),P(0x7,_0x4395c3(_0x471d83)),P(0x8,_0x751d12),P(0x9,_0x1ffba8),P(0xa,_0x3226d7),P(0xb,_0x1ed94f),P(0xc,_0x3ede3c(J))],ae);let le=class extends Te{constructor(_0x59eb1b,_0x1a070f,_0x11f01e,_0x4d2abb,_0x2fae2f,_0x2789f6=!0x1,_0x3cf414,_0x398d48,_0x145b35,_0x3cea29,_0x5306c5,_0x56fca8,_0xe9b3e0){var _0x53f430=_0x1cf15a;super(_0x59eb1b,_0x1a070f,_0x11f01e,_0x4d2abb,_0x2fae2f,_0x398d48,_0x145b35,_0x3cea29,_0xe9b3e0),N(this,_0x53f430(0x1bc),_0x53f430(0x2bd)),(this[_0x53f430(0x3ba)]=_0x2789f6,this['_permissionService']=_0x3cf414,this[_0x53f430(0x341)]=_0x5306c5,this[_0x53f430(0x1b4)]=_0x56fca8,this[_0x53f430(0x2de)]=_0xe9b3e0,this[_0x53f430(0x1b5)](),this[_0x53f430(0x40a)](),this[_0x53f430(0x2f2)]());}[_0x1cf15a(0x292)](){return this;}[_0x1cf15a(0x319)](){return this;}[_0x1cf15a(0x379)](){return this;}[_0x1cf15a(0x38b)](){return this;}['onRemoteRetry'](){return this;}[_0x1cf15a(0x223)](){return this;}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x3fb)](){var _0x5da55d=_0x1cf15a;throw new Error(_0x5da55d(0x1d6));}['_clearLocalCache'](){var _0x14c002=_0x1cf15a,_0x2462ed;(_0x2462ed=this[_0x14c002(0x37f)])==null||_0x2462ed[_0x14c002(0x1ed)](this[_0x14c002(0x1df)],this['type'],null,[]);}[_0x1cf15a(0x1b5)](){var _0x187f52=_0x1cf15a;this[_0x187f52(0x3ba)]?this[_0x187f52(0x1b4)]['emitEvent']({'id':ne[_0x187f52(0x383)]}):this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x187f52(0x286)]});}[_0x1cf15a(0x2f2)](){var _0x47a38e=_0x1cf15a;this[_0x47a38e(0x435)][_0x47a38e(0x3de)](new _0x56b723(this[_0x47a38e(0x1df)])['id'],!0x1);}};le=Ie([P(0x6,_0x4395c3(_0x4b2793)),P(0x7,_0x751d12),P(0x8,_0x1ed94f),P(0x9,_0x4395c3(_0x471d83)),P(0xa,_0x4395c3(_0x58db33)),P(0xb,_0x4395c3(ve)),P(0xc,_0x3ede3c(J))],le);let ue=class extends Te{constructor(_0x1ba063,_0x3eb4d9,_0x268ef7,_0x47d115,_0x2d5da1,_0xd27eae,_0x4fae14,_0x4b1dae,_0x290a5a,_0x2dad1c){var _0x6311c1=_0x1cf15a;super(_0x1ba063,_0x3eb4d9,_0x268ef7,_0x47d115,_0x2d5da1,_0x4b1dae,_0x290a5a,_0x4fae14,_0x2dad1c),N(this,_0x6311c1(0x1bc),'offline'),this[_0x6311c1(0x1bb)]=_0xd27eae;}[_0x1cf15a(0x292)](_0x1ee9aa){var _0x29add6=_0x1cf15a;return this[_0x29add6(0x1dd)][_0x29add6(0x39c)](_0x1ee9aa),this[_0x29add6(0x23e)](),this;}[_0x1cf15a(0x319)](_0x15b041){throw new Error('[OfflineState]:\x20received\x20changeset.');}[_0x1cf15a(0x379)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x1cf15a(0x38b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x1cf15a(0x333)](){return this;}['toggleOffline'](){return this;}[_0x1cf15a(0x183)](){var _0x1db930=_0x1cf15a;const {_injector:_0x1a7fe0,_pendingMutations:_0x1cc778,_awaitingChangeset:_0x59e123,unitID:_0x3ff6ac,_handler:_0x2b0cb9,type:_0x5e9a85}=this,_0x4fab6b=Ri(_0x1a7fe0,_0x3ff6ac,_0x5e9a85,_0x59e123,_0x1cc778,_0x2b0cb9);return _0x4fab6b instanceof re?_0x4fab6b[_0x1db930(0x159)]():(_0x4fab6b instanceof ae||_0x4fab6b instanceof _e)&&_0x4fab6b[_0x1db930(0x3fb)](),_0x4fab6b;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x4395c3(_0xac3c15)),P(0x6,_0x4395c3(_0x471d83)),P(0x7,_0x751d12),P(0x8,_0x1ed94f),P(0x9,_0x3ede3c(J))],ue);let Q=class extends Te{constructor(_0x222e61,_0x2360e0,_0x540bc1,_0x419a98,_0x19900d,_0x29a203,_0x5b569c,_0x3a3088,_0x1455bb,_0x59cdfa,_0x2b3768,_0x54d70e,_0x37b93d,_0x9647fa){var _0x539aae=_0x1cf15a;super(_0x222e61,_0x2360e0,_0x540bc1,_0x419a98,_0x5b569c,_0x2b3768,_0x54d70e,_0x1455bb,_0x9647fa),N(this,_0x539aae(0x1bc),_0x539aae(0x3b6)),(this['_acknowledgedAwaitingChangeset']=_0x19900d,this[_0x539aae(0x3f1)]=_0x29a203,this[_0x539aae(0x1bb)]=_0x3a3088,this[_0x539aae(0x353)]=_0x59cdfa,this[_0x539aae(0x2e2)]=_0x37b93d,this[_0x539aae(0x2de)]=_0x9647fa);}['onMissedChangesetFetched'](_0x172263){var _0x40b244=_0x1cf15a;try{const _0x221a22=[..._0x172263,...this['_queuedRemoteChangesets']],_0x23d1b8=[this[_0x40b244(0x3eb)]||this[_0x40b244(0x30f)]]['filter'](_0x4503d1=>!!_0x4503d1);let _0x248773,_0x122b5f;if(_0x23d1b8['length']){const _0x2a6af=this['_transformService'][_0x40b244(0x17f)](_0x221a22,_0x23d1b8,!0x1);if(!_0x40451d(_0x2a6af))throw _0x2a6af[_0x40b244(0x335)];_0x248773=_0x2a6af['c1Prime'],_0x122b5f=_0x2a6af['c2Prime'];}else _0x248773=_0x221a22,_0x122b5f=[];let _0x1142b7=this['_pendingMutations'];_0x248773[_0x40b244(0x1ea)](_0x2824f3=>{var _0x32f094=_0x40b244;let _0x4b7078;if(_0x1142b7[_0x32f094(0x25a)]){const _0x5d4faf=this[_0x32f094(0x2e2)][_0x32f094(0x17b)](_0x2824f3,_0x1142b7);if(!_0x4923e4(_0x5d4faf))throw _0x5d4faf[_0x32f094(0x335)];_0x4b7078=_0x5d4faf[_0x32f094(0x2e7)],_0x1142b7=_0x5d4faf[_0x32f094(0x33d)];}else _0x4b7078=_0x2824f3;this[_0x32f094(0x26a)](_0x4b7078);}),this[_0x40b244(0x30f)]&&this[_0x40b244(0x41d)](),this[_0x40b244(0x3eb)]&&_0x122b5f[_0x40b244(0x25a)]&&(_0x122b5f[0x0][_0x40b244(0x346)]=this[_0x40b244(0x31b)]());let _0x5e71fc;if(this[_0x40b244(0x3eb)]&&_0x1142b7[_0x40b244(0x25a)]!==0x0)_0x5e71fc=this[_0x40b244(0x1bb)][_0x40b244(0x176)](ae,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x122b5f[0x0],_0x1142b7,this['_handler'],void 0x0);else{if(this[_0x40b244(0x3eb)]&&_0x1142b7[_0x40b244(0x25a)]===0x0)_0x122b5f[0x0]['baseRev']=this[_0x40b244(0x31b)](),_0x5e71fc=this['_injector'][_0x40b244(0x176)](_e,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x122b5f[0x0],this[_0x40b244(0x3ab)]);else{if(_0x1142b7[_0x40b244(0x25a)]!==0x0){const _0x193ae4=this['_injector'][_0x40b244(0x176)](re,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],_0x1142b7,this[_0x40b244(0x3ab)]);_0x193ae4[_0x40b244(0x159)](),_0x5e71fc=_0x193ae4;}else _0x5e71fc=this[_0x40b244(0x1bb)]['createInstance'](ye,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],this[_0x40b244(0x3ab)]);}}return _0x5e71fc[_0x40b244(0x23e)](),_0x5e71fc;}catch(_0x313629){return this[_0x40b244(0x353)][_0x40b244(0x335)](_0x40b244(0x2b2),_0x40b244(0x41b),_0x313629),this[_0x40b244(0x1bb)]['createInstance'](le,this[_0x40b244(0x1df)],this[_0x40b244(0x220)],this['_awaitingChangeset'],this[_0x40b244(0x1dd)],this[_0x40b244(0x3ab)],!0x1);}}[_0x1cf15a(0x3fb)](){var _0x1b3ce2=_0x1cf15a;throw new Error(_0x1b3ce2(0x308));}[_0x1cf15a(0x292)](_0x4f8297){return this['_pendingMutations']['push'](_0x4f8297),this;}[_0x1cf15a(0x319)](_0x4ab12b){var _0x5d7a9b=_0x1cf15a;return this[_0x5d7a9b(0x3f1)][_0x5d7a9b(0x39c)](_0x4ab12b),this;}[_0x1cf15a(0x379)](_0x2ed30a){var _0x473655=_0x1cf15a;if(this[_0x473655(0x3eb)])return this[_0x473655(0x30f)]=this['_awaitingChangeset'],this[_0x473655(0x3eb)]=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}['onRemoteRej'](_0x408794){var _0x1fca6f=_0x1cf15a;return this[_0x1fca6f(0x406)](!!(_0x408794!=null&&_0x408794[_0x1fca6f(0x39a)]));}[_0x1cf15a(0x333)](){return this;}[_0x1cf15a(0x223)](){var _0x3e5e06=_0x1cf15a;return this[_0x3e5e06(0x1bb)][_0x3e5e06(0x176)](ue,this[_0x3e5e06(0x1df)],this['type'],this[_0x3e5e06(0x3eb)],this[_0x3e5e06(0x1dd)],this[_0x3e5e06(0x3ab)]);}[_0x1cf15a(0x183)](){return this;}[_0x1cf15a(0x406)](_0x414fd1){var _0xb41b47=_0x1cf15a;return this[_0xb41b47(0x1bb)]['createInstance'](le,this[_0xb41b47(0x1df)],this['type'],this[_0xb41b47(0x3eb)],this[_0xb41b47(0x1dd)],this[_0xb41b47(0x3ab)],_0x414fd1);}};Q=Ie([P(0x7,_0x4395c3(_0xac3c15)),P(0x8,_0x4395c3(_0x471d83)),P(0x9,_0x1ffba8),P(0xa,_0x751d12),P(0xb,_0x1ed94f),P(0xc,_0x3226d7),P(0xd,_0x3ede3c(J))],Q);function Ri(_0x56ec63,_0x4c78c3,_0x46027a,_0x405d60,_0x16c4c3,_0x2849c5){var _0x2f0ea7=_0x1cf15a;return _0x405d60&&_0x16c4c3[_0x2f0ea7(0x25a)]?_0x56ec63[_0x2f0ea7(0x176)](ae,_0x4c78c3,_0x46027a,_0x405d60,_0x16c4c3,_0x2849c5,void 0x0):_0x405d60?_0x56ec63['createInstance'](_e,_0x4c78c3,_0x46027a,_0x405d60,_0x2849c5):_0x16c4c3['length']?_0x56ec63[_0x2f0ea7(0x176)](re,_0x4c78c3,_0x46027a,_0x16c4c3,_0x2849c5):_0x56ec63['createInstance'](ye,_0x4c78c3,_0x46027a,_0x2849c5);}var Zs=Object['getOwnPropertyDescriptor'],wt=(_0xa612ab,_0x14d88f,_0x54eb36,_0x4a7c09)=>{for(var _0x260e84=_0x4a7c09>0x1?void 0x0:_0x4a7c09?Zs(_0x14d88f,_0x54eb36):_0x14d88f,_0x1f7d49=_0xa612ab['length']-0x1,_0x19d136;_0x1f7d49>=0x0;_0x1f7d49--)(_0x19d136=_0xa612ab[_0x1f7d49])&&(_0x260e84=_0x19d136(_0x260e84)||_0x260e84);return _0x260e84;},H=(_0x227a30,_0x485ce7)=>(_0xd77e8d,_0x51c85e)=>_0x485ce7(_0xd77e8d,_0x51c85e,_0x227a30);let st=class extends _0x18f2f0{constructor(_0x2f6fc9,_0x3c7824,_0x57bfc8,_0x33f4b8,_0x1a5025,_0x5cfb60,_0x478c0d,_0x9e850e,_0x48eab0,_0xc91429,_0x31f290,_0x479c6a,_0x39e499){var _0x4969e1=_0x1cf15a;super(),N(this,_0x4969e1(0x304),new _0x16d07d(null)),N(this,'state$',this['_state$'][_0x4969e1(0x17c)]()),N(this,_0x4969e1(0x42c)),N(this,'_collaborationPaused',!0x1),N(this,_0x4969e1(0x2a1),''),N(this,_0x4969e1(0x39d),0x0),N(this,_0x4969e1(0x404),this[_0x4969e1(0x144)][_0x4969e1(0x295)](_0x1e88a7(_0x2e28d8=>_0x2e28d8?_0x2e28d8[_0x4969e1(0x1bc)]:Ti[_0x4969e1(0x2be)]),_0xbd9f34(0x1))),N(this,_0x4969e1(0x2b1),!0x1),N(this,_0x4969e1(0x305),[]),(this[_0x4969e1(0x1df)]=_0x2f6fc9,this[_0x4969e1(0x35e)]=_0x3c7824,this[_0x4969e1(0x181)]=_0x57bfc8,this[_0x4969e1(0x1bb)]=_0x33f4b8,this['_compressMutationService']=_0x1a5025,this[_0x4969e1(0x341)]=_0x5cfb60,this[_0x4969e1(0x229)]=_0x478c0d,this['_eventService']=_0x9e850e,this[_0x4969e1(0x353)]=_0x48eab0,this[_0x4969e1(0x3bd)]=_0xc91429,this['_permissionService']=_0x31f290,this['_singleActiveUnitService']=_0x479c6a,this[_0x4969e1(0x37f)]=_0x39e499);}get['state'](){var _0x1f557c=_0x1cf15a;return this[_0x1f557c(0x42c)];}async[_0x1cf15a(0x348)](){var _0x5ed690=_0x1cf15a;if(this[_0x5ed690(0x2a3)])throw new Error(_0x5ed690(0x1ae));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x40427e(()=>{var _0x254ced=_0x59f7;this[_0x254ced(0x21e)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x1cf15a(0x256)](_0x44c242){var _0x33b175=_0x1cf15a;this[_0x33b175(0x24d)](_0x44c242);}[_0x1cf15a(0x218)](_0x5c2b5a){var _0x2bd966=_0x1cf15a;this[_0x2bd966(0x42c)]=_0x5c2b5a,this[_0x2bd966(0x304)][_0x2bd966(0x200)](_0x5c2b5a);}async[_0x1cf15a(0x3d7)](){var _0x2a9084=_0x1cf15a,_0x2bf293;this['_updateState'](await this[_0x2a9084(0x3b9)]()),this['_singleActiveUnitService']&&((_0x2bf293=this[_0x2a9084(0x1d8)])==null||_0x2bf293[_0x2a9084(0x3bb)](this['unitID']),this[_0x2a9084(0x212)](this[_0x2a9084(0x1d8)][_0x2a9084(0x3d9)](this['unitID'])[_0x2a9084(0x41f)](_0x422fa2=>{var _0x823f34=_0x2a9084;this[_0x823f34(0x353)][_0x823f34(0x222)](_0x823f34(0x2b9),_0x823f34(0x24f),_0x422fa2),_0x422fa2===Ei[_0x823f34(0x1ee)]?(this[_0x823f34(0x1f9)][_0x823f34(0x301)]({'id':ne[_0x823f34(0x2ed)]}),this[_0x823f34(0x435)]['updatePermissionPoint'](new _0x56b723(this[_0x823f34(0x1df)])['id'],!0x1),this[_0x823f34(0x435)]['setShowComponents'](!0x1)):(this[_0x823f34(0x435)][_0x823f34(0x3de)](new _0x56b723(this[_0x823f34(0x1df)])['id'],!0x0),this[_0x823f34(0x435)][_0x823f34(0x283)](!0x0));})));let _0x5f24a9=!0x1;return this[_0x2a9084(0x212)](this['session'][_0x2a9084(0x3b4)]['subscribe'](_0x2717bf=>{var _0x2b3eec=_0x2a9084;_0x2717bf===Se[_0x2b3eec(0x400)]?this[_0x2b3eec(0x1da)](_0x5f24a9):_0x2717bf===Se['OFFLINE']&&(_0x5f24a9=!0x0,this[_0x2b3eec(0x221)]());})),this[_0x2a9084(0x212)](this['session'][_0x2a9084(0x2cf)]['subscribe'](_0x44bcf7=>{var _0x4d7a27=_0x2a9084;try{switch(_0x44bcf7['eventID']){case _0x29bafd[_0x4d7a27(0x234)]:{this[_0x4d7a27(0x3ef)](_0x6a586(_0x44bcf7['data']));break;}case _0x29bafd['CHANGESET_ACK']:{this[_0x4d7a27(0x266)](_0x44bcf7[_0x4d7a27(0x31c)]);break;}case _0x29bafd[_0x4d7a27(0x27b)]:{this[_0x4d7a27(0x36c)]();break;}case _0x29bafd[_0x4d7a27(0x302)]:{this[_0x4d7a27(0x364)](_0x44bcf7[_0x4d7a27(0x31c)]);break;}case _0x29bafd[_0x4d7a27(0x38a)]:{this['_onFetchMissResult'](_0x44bcf7[_0x4d7a27(0x31c)][_0x4d7a27(0x2c8)][_0x4d7a27(0x2d6)](_0x59303b=>_0x6a586(_0x59303b)));break;}case _0x29bafd[_0x4d7a27(0x306)]:{this[_0x4d7a27(0x36c)]({'isPermissionRej':!0x0});break;}case _0x29bafd[_0x4d7a27(0x245)]:break;}}catch(_0x411eaa){throw console[_0x4d7a27(0x335)](_0x4d7a27(0x303),_0x411eaa),_0x411eaa;}})),this[_0x2a9084(0x42c)];}['_unlockTransition'](){var _0x3832c4=_0x1cf15a;this[_0x3832c4(0x2b1)]=!0x1;}[_0x1cf15a(0x298)](){var _0x50e49d=_0x1cf15a;if(this[_0x50e49d(0x2b1)])throw new Error(_0x50e49d(0x168));this['_transitionLocked']=!0x0;}['_onLocalMutation'](_0x2481f1){var _0x1e5258=_0x1cf15a;this[_0x1e5258(0x298)](),this[_0x1e5258(0x218)](this[_0x1e5258(0x42c)]['appendMutation'](_0x2481f1)),this[_0x1e5258(0x24c)]();}[_0x1cf15a(0x3ef)](_0x4ff4bf){var _0x458db2=_0x1cf15a;if(!(_0x4ff4bf[_0x458db2(0x317)]<=this[_0x458db2(0x229)][_0x458db2(0x198)](this[_0x458db2(0x1df)]))){if(this['_collaborationPaused']){this[_0x458db2(0x305)][_0x458db2(0x39c)](_0x4ff4bf);return;}this[_0x458db2(0x30a)](_0x4ff4bf);}}[_0x1cf15a(0x2a4)](){var _0x126323=_0x1cf15a;this[_0x126323(0x305)][_0x126323(0x1ea)](_0x5f5134=>this[_0x126323(0x30a)](_0x5f5134)),this[_0x126323(0x305)]=[];}[_0x1cf15a(0x30a)](_0x1b5304){var _0x26cd56=_0x1cf15a;const _0x1638ea=this['_compressMutationService']['interceptor'][_0x26cd56(0x2f0)](this[_0x26cd56(0x40c)][_0x26cd56(0x2ad)][_0x26cd56(0x195)]()[_0x26cd56(0x271)])(_0x1b5304['mutations'],null)||_0x1b5304[_0x26cd56(0x3ff)],_0x4af1ac={..._0x1b5304,'mutations':_0x1638ea};this[_0x26cd56(0x298)](),this[_0x26cd56(0x218)](this['_state']['onRemoteChangeset'](_0x4af1ac)),this['_unlockTransition']();}[_0x1cf15a(0x266)](_0x3c41ae){var _0x5f29d9=_0x1cf15a;this[_0x5f29d9(0x298)](),this[_0x5f29d9(0x218)](this[_0x5f29d9(0x42c)]['onRemoteAck'](_0x3c41ae)),this[_0x5f29d9(0x24c)]();}[_0x1cf15a(0x36c)](_0x184ed3){var _0x3d56af=_0x1cf15a;this['_lockTransition'](),this['_updateState'](this[_0x3d56af(0x42c)]['onRemoteRej'](_0x184ed3)),this[_0x3d56af(0x24c)]();}[_0x1cf15a(0x364)](_0x59a871){var _0x2a54c3=_0x1cf15a;this[_0x2a54c3(0x298)](),this[_0x2a54c3(0x218)](this[_0x2a54c3(0x42c)][_0x2a54c3(0x333)](_0x59a871)),this[_0x2a54c3(0x24c)]();}[_0x1cf15a(0x2b4)](_0x18bf58){var _0x63a60a=_0x1cf15a;if(!(this[_0x63a60a(0x42c)]instanceof Q))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x29e6d7=_0x18bf58['map'](_0x200547=>{var _0x15b2dc=_0x63a60a;const _0x313075=this[_0x15b2dc(0x40c)][_0x15b2dc(0x2ad)][_0x15b2dc(0x2f0)](this['_compressMutationService'][_0x15b2dc(0x2ad)][_0x15b2dc(0x195)]()['COMPRESS_MUTATION_APPLY'])(_0x200547[_0x15b2dc(0x3ff)],null)||_0x200547['mutations'];return{..._0x200547,'mutations':_0x313075};});this[_0x63a60a(0x298)](),this[_0x63a60a(0x218)](this['_state']['onMissedChangesetFetched'](_0x29e6d7)),this[_0x63a60a(0x24c)]();}[_0x1cf15a(0x221)](){var _0x2ab3de=_0x1cf15a;this[_0x2ab3de(0x298)](),this[_0x2ab3de(0x218)](this[_0x2ab3de(0x42c)]['toggleOffline']()),this['_unlockTransition']();}[_0x1cf15a(0x1da)](_0x42828c=!0x1){var _0x268ae9=_0x1cf15a;this[_0x268ae9(0x298)](),this[_0x268ae9(0x218)](this[_0x268ae9(0x42c)][_0x268ae9(0x183)]()),this['_unlockTransition']();const _0xaff9ee=this['_state'];_0x42828c&&_0xaff9ee instanceof ye&&(this[_0x268ae9(0x298)](),this[_0x268ae9(0x218)](_0xaff9ee[_0x268ae9(0x2c4)]()),this['_unlockTransition']());}async[_0x1cf15a(0x3b9)](){return new Promise(_0x2ef514=>{var _0x27d07a=_0x59f7;this[_0x27d07a(0x35e)][_0x27d07a(0x3b4)]['pipe'](_0x47a6dd(0x1))[_0x27d07a(0x41f)](async _0x4e276c=>{var _0x5e2eaf=_0x27d07a;_0x2ef514(await this['_createInitialStateImpl'](_0x4e276c===Se[_0x5e2eaf(0x400)]));});});}[_0x1cf15a(0x14c)](){var _0x2ffd71=_0x1cf15a;const _0x6ea537=this[_0x2ffd71(0x1df)];return{'onStateChange':(_0x3d4893,_0x15517e)=>{var _0x52d03c=_0x2ffd71;if(_0x3d4893!==this[_0x52d03c(0x42c)])throw new Error(_0x52d03c(0x2c7)+_0x3d4893[_0x52d03c(0x1bc)]+'\x0aAfter:\x20'+_0x15517e[_0x52d03c(0x1bc)]+_0x52d03c(0x3a1)+this[_0x52d03c(0x42c)][_0x52d03c(0x1bc)]);this[_0x52d03c(0x218)](_0x15517e);},'onSendChangeset':_0x3db516=>{var _0x367642=_0x2ffd71;_0x3db516[_0x367642(0x366)]||(_0x3db516[_0x367642(0x366)]=this[_0x367642(0x2a1)],_0x3db516[_0x367642(0x1d4)]=++this[_0x367642(0x39d)]);const _0x45dac6={'eventID':_0x29bafd[_0x367642(0x253)],'data':{'unitID':_0x3db516[_0x367642(0x1df)],'unitType':this['_type'],'changeset':_0x3db516,'memberID':this[_0x367642(0x35e)][_0x367642(0x30b)]()}};this['session'][_0x367642(0x441)](_0x45dac6,this[_0x367642(0x1df)]);},'onMissingChangesets':({from:_0x10e56d,to:_0x3a4084})=>{var _0x52074c=_0x2ffd71;this[_0x52074c(0x353)]['debug'](_0x52074c(0x2b9),_0x52074c(0x2cc)+_0x10e56d+'\x20to\x20'+_0x3a4084);const _0x2346b4={'eventID':_0x29bafd['FETCH_MISSING'],'data':{'unitID':_0x6ea537,'unitType':this[_0x52074c(0x181)],'from':_0x10e56d,'to':_0x3a4084}};this[_0x52074c(0x35e)]['send'](_0x2346b4,this[_0x52074c(0x1df)]);}};}async['_createInitialStateImpl'](_0x20c84c){var _0x127ab4=_0x1cf15a,_0x5b0694,_0xe381b7,_0x5f10ef;const _0x344a90=await((_0x5b0694=this[_0x127ab4(0x37f)])==null?void 0x0:_0x5b0694[_0x127ab4(0x28f)](this[_0x127ab4(0x1df)])),_0x25fb8b=(_0xe381b7=_0x344a90==null?void 0x0:_0x344a90['mutations'])!=null?_0xe381b7:[],_0x42b930=(_0x5f10ef=_0x344a90==null?void 0x0:_0x344a90[_0x127ab4(0x23a)])!=null?_0x5f10ef:null,_0x4a849a=!!(_0x42b930!=null&&_0x42b930[_0x127ab4(0x366)])&&!!(_0x42b930!=null&&_0x42b930['reqId']);this[_0x127ab4(0x2a1)]=_0x4a849a?_0x42b930['sid']:_0x5a0cbf(),this[_0x127ab4(0x39d)]=_0x4a849a?_0x42b930[_0x127ab4(0x1d4)]:0x0;const _0x47a4e0=this[_0x127ab4(0x1df)];try{this[_0x127ab4(0x2fa)](_0x42b930,_0x25fb8b);}catch(_0x2e3f49){this[_0x127ab4(0x353)][_0x127ab4(0x335)](_0x2e3f49);}const _0x20eca2=this[_0x127ab4(0x14c)]();if(_0x20c84c){const _0x47a983=Ri(this[_0x127ab4(0x1bb)],_0x47a4e0,this[_0x127ab4(0x181)],_0x42b930,_0x25fb8b,_0x20eca2);return _0x47a983 instanceof re?_0x47a983[_0x127ab4(0x159)]():(_0x47a983 instanceof ae||_0x47a983 instanceof _e)&&_0x47a983[_0x127ab4(0x3fb)](),_0x47a983;}return this[_0x127ab4(0x1bb)][_0x127ab4(0x176)](ue,_0x47a4e0,this[_0x127ab4(0x181)],_0x42b930,_0x25fb8b,_0x20eca2);}[_0x1cf15a(0x2fa)](_0x401a08,_0x3496c1){var _0x23e308=_0x1cf15a,_0x5777b7,_0x42d7c5;const _0x491d17=this[_0x23e308(0x40c)][_0x23e308(0x2ad)][_0x23e308(0x2f0)](this[_0x23e308(0x40c)]['interceptor'][_0x23e308(0x195)]()[_0x23e308(0x271)]);(_0x5777b7=_0x491d17((_0x401a08==null?void 0x0:_0x401a08[_0x23e308(0x3ff)])||[],null))==null||_0x5777b7[_0x23e308(0x1ea)](_0x375cfd=>this[_0x23e308(0x3bd)][_0x23e308(0x1f7)](_0x375cfd['id'],_0x375cfd[_0x23e308(0x3bc)])),(_0x42d7c5=_0x491d17(_0x3496c1||[],null))==null||_0x42d7c5[_0x23e308(0x1ea)](_0x5238de=>this['_commandService'][_0x23e308(0x1f7)](_0x5238de['id'],_0x5238de[_0x23e308(0x3bc)]));}};st=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(ve)),H(0x8,_0x1ffba8),H(0x9,_0x751d12),H(0xa,_0x4b2793),H(0xb,_0x3ede3c(ht)),H(0xc,_0x3ede3c(J))],st);let St=class extends st{constructor(_0x182e78,_0x13b3ff,_0x1d9db8,_0x47afcd,_0xf11409,_0x12e9cc,_0x23cbf4,_0x1b9a93,_0x149e94,_0x9ab8e4,_0x3cc2be,_0x12b5d6,_0x545926){var _0x10aeee=_0x1cf15a;super(_0x182e78,_0x1d9db8,_0x13b3ff,_0x47afcd,_0xf11409,_0x12e9cc,_0x23cbf4,_0x1b9a93,_0x149e94,_0x9ab8e4,_0x3cc2be,_0x12b5d6,_0x545926),N(this,'_handlerCallback',null),(this[_0x10aeee(0x1df)]=_0x182e78,this[_0x10aeee(0x220)]=_0x13b3ff);}[_0x1cf15a(0x3a7)](_0x8a2362){var _0x1f5f34=_0x1cf15a;this[_0x1f5f34(0x215)]=_0x8a2362;}['dispose'](){this['_handlerCallback']=null,super['dispose']();}['_createHandler'](){var _0x579cda=_0x1cf15a;const _0x5cedf6=super['_createHandler']();return _0x5cedf6['onTransformIME']=_0x4f7b77=>{var _0x17fc9e=_0x59f7,_0xfaec79,_0x1324d3;return(_0x1324d3=(_0xfaec79=this[_0x17fc9e(0x215)])==null?void 0x0:_0xfaec79[_0x17fc9e(0x202)])==null?void 0x0:_0x1324d3['call'](_0xfaec79,_0x4f7b77);},_0x5cedf6[_0x579cda(0x385)]=_0x543ba6=>{var _0x4bec6b=_0x579cda,_0x2c3b0e,_0x3c199d;return(_0x3c199d=(_0x2c3b0e=this[_0x4bec6b(0x215)])==null?void 0x0:_0x2c3b0e[_0x4bec6b(0x385)])==null?void 0x0:_0x3c199d[_0x4bec6b(0x2ee)](_0x2c3b0e,_0x543ba6);},_0x5cedf6[_0x579cda(0x2a9)]=_0x774c2b=>{var _0x2db4e6=_0x579cda,_0x467801,_0x3ad4d0;return(_0x3ad4d0=(_0x467801=this[_0x2db4e6(0x215)])==null?void 0x0:_0x467801['onTransformSelections'])==null?void 0x0:_0x3ad4d0[_0x2db4e6(0x2ee)](_0x467801,_0x774c2b);},_0x5cedf6['onSyncEditingCollabCursor']=_0x56c415=>{var _0x370030=_0x579cda,_0x8b2193,_0x1d0537;return(_0x1d0537=(_0x8b2193=this[_0x370030(0x215)])==null?void 0x0:_0x8b2193[_0x370030(0x259)])==null?void 0x0:_0x1d0537['call'](_0x8b2193,_0x56c415);},_0x5cedf6['onTransformRemoteChangesetByIMECache']=_0x3fe980=>{var _0x3d5702=_0x579cda,_0x27ddd3,_0xb5a92,_0x1dbc04;if(!((_0x27ddd3=this[_0x3d5702(0x215)])!=null&&_0x27ddd3[_0x3d5702(0x434)]))throw new Error(_0x3d5702(0x246));return(_0x1dbc04=(_0xb5a92=this[_0x3d5702(0x215)])==null?void 0x0:_0xb5a92[_0x3d5702(0x434)])==null?void 0x0:_0x1dbc04['call'](_0xb5a92,_0x3fe980);},_0x5cedf6[_0x579cda(0x18b)]=_0x5ab9b3=>{var _0x56be9c=_0x579cda,_0x5dd87b,_0x2f937f,_0x5d5844;if(!((_0x5dd87b=this[_0x56be9c(0x215)])!=null&&_0x5dd87b[_0x56be9c(0x18b)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x5d5844=(_0x2f937f=this[_0x56be9c(0x215)])==null?void 0x0:_0x2f937f['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x5d5844['call'](_0x2f937f,_0x5ab9b3);},_0x5cedf6;}async[_0x1cf15a(0x3d7)](){var _0x1550a3=_0x1cf15a;const _0x187b8e=await super[_0x1550a3(0x3d7)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x925e09,_0x546be2)=>{var _0x4c0ed7=_0x1550a3;if(_0x925e09[_0x4c0ed7(0x220)]!==_0x1b7bc7['MUTATION']||_0x546be2!=null&&_0x546be2[_0x4c0ed7(0x25b)]||_0x546be2!=null&&_0x546be2[_0x4c0ed7(0x327)]||_0x925e09['id']===_0x9099a8['id'])return;const _0x259b59=_0x925e09['params'];if((_0x259b59==null?void 0x0:_0x259b59['unitId'])!==this[_0x4c0ed7(0x1df)])return;const _0x1ecb4f=_0x925e09,_0x41505c=this[_0x4c0ed7(0x40c)]['interceptor'][_0x4c0ed7(0x2f0)](this['_compressMutationService'][_0x4c0ed7(0x2ad)][_0x4c0ed7(0x195)]()[_0x4c0ed7(0x42f)])([_0x1ecb4f],null)||[_0x1ecb4f];this[_0x4c0ed7(0x24d)](_0x41505c[0x0]);})),_0x187b8e;}};St=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(ve)),H(0x8,_0x1ffba8),H(0x9,_0x751d12),H(0xa,_0x4b2793),H(0xb,_0x3ede3c(ht)),H(0xc,_0x3ede3c(J))],St);function _0x3299(){var _0x26e524=['_isPermissionRej','editingUnit','params','_commandService','createSocket','string','INTERNAL_ERROR','key','pad','enableSingleActiveInstanceLock','_rescheduleHeartbeat','subject','PERSON','socket\x20close','originalMeta','_onRecvEvent','BASE64','_getSendChangesetTimeout','csAckEvent','saveSnapshot','setConfig','addImageSourceCache','SHA1','includes','deepClone','UNRECOGNIZED','workbook','/object','2oLZdVM','_init','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnitStatus$','_clearCollaborationTimeoutTimer','_registerDependencies','FETCH_MISSING','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','updatePermissionPoint','reconnect','now','/universer-api/authz','_substituteRedoStack','CHANGESET_ACK','decryptBlock','encryptBlock','x-univer-host','getMember','_roomMembers','FAIL','Univer','_awaitingChangeset','_commentService','infoRsp','getSnapshotAPIPath','_onRemoteChangeset','range','_queuedRemoteChangesets','_sendHeartbeatTimer','ERROR_IMAGE','_snapshotServerService','WECHAT_HAS_BEEN_BOUND','/allowed','_onUserLeave','defineProperty','crypto','UNIVER_SLIDE','resend','[CollaborationUndoRedoService]','HEARTBEAT','getImage','mutations','ONLINE','parse','collaboration_new_changeset','/-/object/list','status$','name','_onConflict','cmd','image/jpg','splice','_clearLocalCache','_initCloseConn','_compressMutationService','_configService','RECV','close$','UnitEmbedded','Failed\x20to\x20update\x20permission\x20point','HmacMD5','_socketService','equals','_key','_waitCount','retryConnectingInterval','enableAuthServer','size','repeat','failed\x20to\x20apply\x20missed\x20changesets!','_replaceFileID','_incrementRevisionNumber','getTime','subscribe','_collaborationTimeoutTimer','_data','_decreaseWaiting','entityInit$','NOT_FOUND','_stopTelemetryCollaborationNewChangeset','UnitSnapshot','updateSnapshot','LICENSE_MAX_UNITS_EXCEEDED','override','WordArray','[CollaborationSessionService]','_state','onMissingChangesets','copyFileMeta','COMPRESS_MUTATION_SEND','_emitMembers','awaiting_with_pending','_tryEnsureSocket','resolve','onTransformRemoteChangesetByIMECache','_permissionService','apply','APPLY_DUPLICATED','enc','univer-pro.collaboration-client.single-active-unit-service','reject','sigBytes','JOIN_ROOM_NOT_EXISTS','connection\x20error','_submitChangeset','CHANGESET_REVISION_CONFILICT','YUUMI_TABLE_NOT_FOUND_IN_UNIT','send','UNIVER_UNKNOWN','closeSession','$super','loadUnit','_getAPIPrefix','CLOSE_ROOM','state$','COLLAB_SUBMIT_CHANGESET_URL','extend','/unit/','getFocusedUnit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','encode','_createHandler','EXCHANGE_SIGN_URL_SERVER_URL_KEY','821146wcJxUm','_candidateSocket','_unitInfo$','update','_shouldReportTelemetry','LIVESHARE_TERMINATE','ivSize','_minBufferSize','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','onload','_iv','_schedule','textRanges','reduce','_keyPriorReset','getCurrentSelections','collabWebSocketUrl','/rev/','stringify','_event$','allowed','code','[CollaborationState]:\x20apply\x20error!','MSG_FOR_ERROR','collaborators','find','[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.','Base','objectType','_sessions','10931679kdDrMg','hasher','open$','listRoles','telemetry\x20info\x20is\x20not\x20initialized','has','execute','charAt','COMPLETION_FINISHED','saveSheetBlock','createInstance','format','/universer-api/comb','ws://127.0.0.1:8000/universer-api/comb/connect','_mode','transformMutationsWithChangeset','asObservable','delete','_sessionStatus$','transformChangesets','href','_type','requestParams','toggleOnline','[PendingState]:\x20received\x20acknowledgement.','memberID','_onJoinRoomEvent','_roomCreated$','_DEC_XFORM_MODE','HttpImport','/collaborator','onTransformRemoteChangesetByStateCache','pending','SEND_CHANGESET_TIMEOUT','SNAPSHOT_SERVER_URL_KEY','/universer-api/uniscript','registerHTTPInterceptor','_clearUndo','clamp','change$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getInterceptPoints','_reverseMap','univer-pro.collaboration-client.network-condition.service','getCurrentRevOfUnit','EMAIL_HAS_BEEN_BOUND','eventID','objectID','createEncryptor','file','AES','salt','HmacSHA1','session.join-failed','submit\x20changeset\x20error!','_clearTimeoutTimer','SUCCUSS','lib','USER_NOT_INVITED_CODE','kdf','?size=','unitId','_fetchMissChangesets','_process','mode','_resendTimeout','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','deleteCollaborator','iterations','_onUserJoin','compose','_retryConnectingTimer','_collaborationUIEventService','_showConflictNotification','UNAUTHENTICATED','_undoStacks','UNIVER_PROJECT','ERROR_EXCEED_SIZE','_getSignURL','_injector','status','buffer','_parse','append','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformSelections','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','INGEST','setCurrentUser','_sendHeartbeat','_clearRedo','RETRY_CONNECTING_MAX_COUNT','/universer-api/stream/file/upload','prototype','unitId\x20is\x20not\x20found','CONNECTOR_DATA_TOO_LARGE','getLatestCsReqIdBySid','_getRedoStack','awaiting','pluginName','onStateChange','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_entityInit$','Cipher','reqId','_config','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','padding','_singleActiveUnitService','_getCtorByUniverType','_toggleOnline','toString','UNKNOWN_CODE','_pendingMutations','synced','unitID','_createSocket','TOO_MANY_REQUESTS','enableCollaboration','readyForCollab','_nRounds','indexOf','removeMember','userID','_sender','location','forEach','authzUrl','INVITE_CODE_ALREADY_BOUND','updateOfflineData','OTHER_CLIENTS_EDITING','filter','onSendChangeset','ciphertext','_memberService','image/jpeg','createCollaborator','compute','StreamCipher','executeCommand','_joinRoom','_eventService','getImageSourceCache','[CollaborationSession]','/universer-api/snapshot/','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','responseType','_onMessage','next','disableLocalCache','onTransformIME','every','getUnitType','leaveEvent','JOINING','/object/','formatter','exports','unknown','updateCursorEvent','loadUnitOfRevision','method','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cipher','onCommandExecuted','getTypeOfUnitAdded$','disposeWithMe','Base64','LIVESHARE_NEW_HOST','_handlerCallback','catch','_prevBlock','_updateState','put','_networkConditionService','NO_OTHER_CLIENTS_EDITING','collaboration-client.config','GLOBAL_ROOMS_CNT_EXCEEDS','_collaborationPaused','liveShareOperation','type','_toggleOffline','debug','toggleOffline','unsubscribe','HEARTBEAT_TIMEOUT','SNAPSHOT_HAS_BEEN_REMOVED','fromCharCode','LIVESHARE_FETCH_OPERATIONS','_revisionService','UNIVER_DOC','transformStack\x20failed!','slice','_userManagerService','body','_checkMissing','snapshotServerUrl','HELLO','_socket','complete','NEW_CHANGESETS','unit-cache-','create','refreshPermission','MD5','_retryCount','awaitingChangeset','mixIn','finalize','YUUMI_UNABLE_LOAD_URL','_updateLocalCache','PY_RUNTIME_SCRIPT_ERROR','_instanceService','sin','random','subUnitId','_transformUndoredo','UNISCRIPT_RUN','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','list','UPDATE_CURSOR','socketService','avatar','ALREADY_EXISTS','_unlockTransition','_onLocalMutation','__esModule','editing\x20status\x20changed\x20to','generateRandomId','_createHmacHelper','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','SUBMIT_CHANGESET','join','sendChangesetTimeout','onLocalMutation','INVALID_INVITE_CODE','getSheetId','onSyncEditingCollabCursor','length','fromCollab','_hasher','_updateStatus','getValue','31660260KHnbrJ','_xformMode','_ENC_XFORM_MODE','result','onCommentUpdate','_members$','USERS_LEAVE','_onRemoteACK','_removeRoom','INVITE_CODE_REQUIRED','/role','_executeRemoteChangeset','session.room-full','newCsEvent','_sendingTimer','objectActions','_onOffline','commentUpdateEvent','COMPRESS_MUTATION_APPLY','POST','UUID','_transformRemoteChangesetByIMECache','getCollabEntity','getUnitOnRev','dispose$','saveImage','DEFAULT_FILE_NAME','hostname','CHANGESET_REJ','max','BlockCipherMode','BufferedBlockAlgorithm','transformUndoRedo','_getUndoStack','CBC','_transformStack','setShowComponents','HttpExport','Malformed\x20UTF-8\x20data','CONFLICT','not_collab','_transformRemoteChangesetByStateCache','readInt32LE','_undoRedoService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','Undefined','JOIN_ROOM_PERMISSION_DENIED','_tryReconnect','loadOfflineData','/new_changes','_socket$','appendMutation','APPLY_REVISION_CONFILICT','\x20in\x20_schedule.','pipe','_telemetryService','223624wcTxiM','_lockTransition','entries','_doCryptBlock','/fetchmissing?from=','_clearRetryConnectingTimer','APPLY_REJECT','close','_oKey','UserProfileImg','_changesetSessionId','MUTATION','state','_exhaustRemoteChangesetQueue','randomBytes','&assign=','YUUMI_NO_CUBOID_FOR_QUESTION','enableOfflineEditing','onTransformSelections','decrypt','[DataLoaderService]','resourceIDs','interceptor','getUnitId','_unitID','_onConnectionFailed','_transitionLocked','[FetchMissState]','_resendTimer','_onFetchMissResult','_httpService','OpenSSL','APPLY_NON_SEQUENTIAL_REVISION','JOIN_ROOM_FULL','[CollaborationEntity]','post','YUUMI_SUBSCRIPTION_NOT_FOUND','_socketMessageSubscription','conflict','OFFLINE','getConfig','updateMember','stopTime','_doReset','clone','fetchMiss','/block/','10RbsKQN','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','changesets','getTypeOfUnitDisposed$','commentUpdate$','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','fetching\x20missing\x20changesets\x20from\x20','snapshot','YUUMI_ASYNCIO_CANCELLED','event$','BlockCipher','LIVESHARE_REQUEST_HOST','_imageSourceCache','_initMergeInterceptor','JOIN','startsWith','map','_timeoutTimer','function','_univerInstanceService','LICENSE_DISTRO_REJECTED','concat','_nDataBytes','startTime','localCacheService','SUBMIT_CHANGESET_TIMEOUT','_HTTPService','FileId','_transformService','FETCH_MISS','_createHelper','_change$','onStarting','c1Prime','auth.needGotoLoginAlert','abs','SHOULD_CLOSE_CONN','14GEOgVP','__Key__','OTHER_CLIENT_EDITING','call','OPTIONAL','fetchThroughInterceptors','_substituteUndoStack','_disableEditing','uploadFileServerUrl','charCodeAt','SOCKET_FAILED_RETRY','_initRequestHeader','algo','_doProcessBlock','createDecryptor','_replayCachedMutations','routeKey','getOwnPropertyDescriptor','_getUploadFileURL','_resendWithTimeout','saveChangeset','Pkcs7','emitEvent','CHANGESET_SHOULD_RETRY','Error\x20on\x20receiving\x20event','_state$','_remoteChangesetQueue','PERMISSION_REJ','capture','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_waitForHeartbeatResponse','_applyRemoteChangeset','getMemberID','YUUMI_RATE_OVER_LIMIT','_clearHeartbeatTimer','[SyncedState]:\x20received\x20rejection.','_acknowledgedAwaitingChangeset','set','reset','ceil','[PendingState]:\x20unhandled\x20univer\x20type:\x20','headers','_collabSessionService','clear','revision','NOT_COLLAB','onRemoteChangeset','_collaborationSessionService','_getCurrentRevision','data','LOGIN_FAILED','_getLoginPath','add','387srLIoW','Hasher','min','SNAPSHOT_INVALID_SNAPSHOT','uniscriptRunEvent','_status$','Decryptor','onlyLocal','isArray','?url=','UPDATE_PERMISSION_OBJ','/-/object/-/batch_allowed','liveShareNewHost','cfg','INVITE_CODE_HAS_BEEN_UES','listCollaborators','selections','getRandomValues','3850185fVPvlI','onRemoteRetry','blockSize','error','_scheduleCompleteTimestamp','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/universer-api/user/session-ticket','_commentUpdate$','LICENSE_IMPORT_SIZE_EXCEEDED','image/bmp','downloadEndpointUrl','m2Prime','__creator','COMMENT_UPDATE','get','_localeService','_onCombEvent','UNDEFINED','symbol','url','baseRev','image/gif','init','words','AUTHZ_URL_KEY','_entities','sessionStatus','425316ztXPIA','18HKJSOC','image/png','_keySchedule','msCrypto','substr','_logService','Utf8','UNIVER_SHEET','encrypt','_transformIMECache','/universer-api/snapshot','getCollabEntity$','_members','origin','ENSURE_SNAPSHOT_EXECUTION','_getAPIPrefixPath','session','_hash','_clearScheduledTask','_invKeySchedule','LEAVE','_socketReady','_onRemoteRetry','NoPadding','sid','dispose','LOCAL_CACHE_INTERVAL','Latin1','values','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','members','CipherParams','roomInfos','keySize','SOCKET_FAILED','withCredentials','COLLAB_WEB_SOCKET_URL','session.room-not-exists','joinEvent','target','_initUnitPermissionChange','encodeURIComponent','onRemoteAck','_startCollaboration','_snapshotService','error$','MOBILE_HAS_BEEN_BOUND','message$','_localCacheService','1457592QbdGij','loadSheet','loginUrlKey','PERMISSION_DENIED','actions','onTransformState','getCurrentUser','fetchMissingChangesets','_syncEditingCollabCursor','_doFinalize','PSEUDO_FETCH_MISSING_RESULT','onRemoteRej','_onConnectionOpen','_transformStateCache','USERS_ENTER','IDLE','Encryptor','patch','univer-pro.collaboration-client-socket-service','hasOwnProperty','byteOffset','permissionRejEvent','getWorkbookSelections','_telemetryInfo','requireSession','floor','isPermissionRej','INVALID_ARGUMENT','push','_changesetReqId','Could\x20not\x20dynamically\x20require\x20\x22','UNKNOWN_CMD','signUrlServerUrl','\x0aCurrent:\x20','unitInfo$','[PendingState]:\x20received\x20rejection.','transformSelections','default','[CollaborationSessionService]:\x20socket\x20error','addHandlerCallback','_append','JOIN_ROOM_FAILED','updatePermissionObjEvent','_handler','YUUMI_AI_RUN_FAILED','_sheetTransformSelectionsService','localeService','SerializableCipher','EvpKDF','focused$','findIndex','_map','sessionStatus$','HMAC','fetch_missing','_scheduleCollaborationTimeoutTimer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_createInitialState'];_0x3299=function(){return _0x26e524;};return _0x3299();}let Et=class extends st{constructor(_0x35cbd3,_0x530fce,_0x4c6377,_0x582817,_0x2b9f8f,_0xbe4b7c,_0xfae664,_0x55673c,_0x30ef7f,_0x1b7e29,_0x5e256d,_0x51d301,_0x338380,_0x1ce79a){var _0x4363c5=_0x1cf15a;super(_0x35cbd3,_0x4c6377,_0x530fce,_0x582817,_0x2b9f8f,_0xbe4b7c,_0xfae664,_0x30ef7f,_0x1b7e29,_0x5e256d,_0x51d301,_0x338380,_0x1ce79a),this[_0x4363c5(0x1df)]=_0x35cbd3,this[_0x4363c5(0x220)]=_0x530fce,this[_0x4363c5(0x3ad)]=_0x55673c;}[_0x1cf15a(0x14c)](){var _0xb1ebdc=_0x1cf15a;const _0x42497b=super[_0xb1ebdc(0x14c)]();return _0x42497b[_0xb1ebdc(0x2a9)]=_0x11cf4b=>this[_0xb1ebdc(0x3ad)][_0xb1ebdc(0x3a4)](_0x11cf4b),_0x42497b;}async[_0x1cf15a(0x3d7)](){var _0x2b5208=_0x1cf15a;const _0x24f92f=await super[_0x2b5208(0x3d7)]();return this[_0x2b5208(0x212)](this[_0x2b5208(0x3bd)][_0x2b5208(0x210)]((_0x4e08d6,_0x3e91ea)=>{var _0x2602ec=_0x2b5208;if(_0x4e08d6[_0x2602ec(0x220)]!==_0x1b7bc7[_0x2602ec(0x2a2)]||_0x3e91ea!=null&&_0x3e91ea['fromCollab']||_0x3e91ea!=null&&_0x3e91ea[_0x2602ec(0x327)])return;const _0x4448d1=_0x4e08d6['params'];if((_0x4448d1==null?void 0x0:_0x4448d1[_0x2602ec(0x1a9)])!==this[_0x2602ec(0x1df)])return;const _0xa9847=_0x4e08d6,_0x556f2b=this[_0x2602ec(0x40c)][_0x2602ec(0x2ad)]['fetchThroughInterceptors'](this[_0x2602ec(0x40c)][_0x2602ec(0x2ad)]['getInterceptPoints']()[_0x2602ec(0x42f)])([_0xa9847],null)||[_0xa9847];this[_0x2602ec(0x24d)](_0x556f2b[0x0]);})),_0x24f92f;}};Et=wt([H(0x3,_0x4395c3(_0xac3c15)),H(0x4,_0x4395c3(_0x10c1b2)),H(0x5,_0x4395c3(_0x58db33)),H(0x6,_0x4395c3(_0x471d83)),H(0x7,_0x4395c3(it)),H(0x8,_0x4395c3(ve)),H(0x9,_0x1ffba8),H(0xa,_0x751d12),H(0xb,_0x4b2793),H(0xc,_0x3ede3c(ht)),H(0xd,_0x3ede3c(J))],Et);var Qs=Object[_0x1cf15a(0x2fc)],en=(_0x16e733,_0x5448ed,_0x271a4f,_0x2d7a21)=>{for(var _0x1518cf=_0x2d7a21>0x1?void 0x0:_0x2d7a21?Qs(_0x5448ed,_0x271a4f):_0x5448ed,_0x278fc7=_0x16e733['length']-0x1,_0x50e9bd;_0x278fc7>=0x0;_0x278fc7--)(_0x50e9bd=_0x16e733[_0x278fc7])&&(_0x1518cf=_0x50e9bd(_0x1518cf)||_0x1518cf);return _0x1518cf;},Be=(_0x1f0564,_0x492535)=>(_0x153748,_0x2b2dbc)=>_0x492535(_0x153748,_0x2b2dbc,_0x1f0564);let nt=class extends _0x18f2f0{constructor(_0x40eb24,_0x48f6bd,_0x40ab7f,_0x32fade){var _0x6de7a8=_0x1cf15a,_0x5466b6;super(),N(this,_0x6de7a8(0x34b),new Map()),N(this,'_entityInit$',new _0x2f0731()),N(this,_0x6de7a8(0x423),this[_0x6de7a8(0x1d2)][_0x6de7a8(0x17c)]()),(this['_injector']=_0x40eb24,this[_0x6de7a8(0x315)]=_0x48f6bd,this[_0x6de7a8(0x40d)]=_0x40ab7f,this[_0x6de7a8(0x2d9)]=_0x32fade,((_0x5466b6=this['_configService'][_0x6de7a8(0x2bf)](K))==null?void 0x0:_0x5466b6[_0x6de7a8(0x1e2)])!==!0x1&&this[_0x6de7a8(0x3d7)]());}[_0x1cf15a(0x367)](){var _0x5ccc67=_0x1cf15a;super['dispose'](),this[_0x5ccc67(0x34b)]['forEach'](_0x450c79=>_0x450c79['dispose']()),this['_entities'][_0x5ccc67(0x316)]();}[_0x1cf15a(0x275)](_0x1dfa0e){var _0x1bc39f=_0x1cf15a,_0x16ebd5;return(_0x16ebd5=this[_0x1bc39f(0x34b)][_0x1bc39f(0x340)](_0x1dfa0e))!=null?_0x16ebd5:null;}[_0x1cf15a(0x359)](_0x36df53){var _0x4dd9f2=_0x1cf15a;const _0x39ca58=this[_0x4dd9f2(0x275)](_0x36df53);return _0x39ca58?_0x1aced1(_0x39ca58):this[_0x4dd9f2(0x1d2)]['pipe'](_0x46e42e(_0x15db09=>_0x15db09[_0x4dd9f2(0x1df)]===_0x36df53));}[_0x1cf15a(0x1e3)](_0x54a215){var _0x24d5e8=_0x1cf15a;return _0x56179c(this[_0x24d5e8(0x359)](_0x54a215)[_0x24d5e8(0x295)](_0x1baf73(()=>{})));}[_0x1cf15a(0x3d7)](){var _0x35da42=_0x1cf15a;this[_0x35da42(0x2d9)][_0x35da42(0x211)](_0x1dfda5[_0x35da42(0x355)])[_0x35da42(0x295)](_0x110672(this['dispose$']),_0x3c2d30(0x10))[_0x35da42(0x41f)](async _0x53261f=>{var _0x231ad8=_0x35da42;const _0x4c61a2=_0x53261f[_0x231ad8(0x2ae)](),_0x2cc2da=await this[_0x231ad8(0x37a)](_0x4c61a2,Z[_0x231ad8(0x355)]);this[_0x231ad8(0x34b)][_0x231ad8(0x310)](_0x4c61a2,_0x2cc2da);}),this[_0x35da42(0x2d9)][_0x35da42(0x211)](_0x1dfda5[_0x35da42(0x22a)])[_0x35da42(0x295)](_0x110672(this[_0x35da42(0x277)]),_0x3c2d30(0x10))[_0x35da42(0x295)](_0x46e42e(_0x125f6f=>!_0x125f6f[_0x35da42(0x2ae)]()[_0x35da42(0x2d5)]('__')))[_0x35da42(0x41f)](async _0x2c4fdb=>{var _0x2940be=_0x35da42;const _0x4709f9=_0x2c4fdb[_0x2940be(0x2ae)](),_0x22dd3f=await this[_0x2940be(0x37a)](_0x4709f9,Z[_0x2940be(0x22a)]);this['_entities']['set'](_0x4709f9,_0x22dd3f);}),_0xf55bf(this[_0x35da42(0x2d9)][_0x35da42(0x2c9)](_0x1dfda5[_0x35da42(0x355)]),this[_0x35da42(0x2d9)][_0x35da42(0x2c9)](_0x1dfda5[_0x35da42(0x22a)]))[_0x35da42(0x295)](_0x110672(this[_0x35da42(0x277)]))[_0x35da42(0x41f)](_0x37525e=>{var _0x1c703b=_0x35da42;const _0x5a2c6a=_0x37525e['getUnitId'](),_0x333624=this[_0x1c703b(0x34b)][_0x1c703b(0x340)](_0x5a2c6a);_0x333624&&(_0x333624['dispose'](),this['_entities'][_0x1c703b(0x17d)](_0x5a2c6a));});}async[_0x1cf15a(0x37a)](_0xca6e9,_0x4fe3d1){var _0x2a33da=_0x1cf15a;const _0x463f59=await this[_0x2a33da(0x315)][_0x2a33da(0x398)](_0xca6e9),_0x359cae=this[_0x2a33da(0x1bb)][_0x2a33da(0x176)](this['_getCtorByUniverType'](_0x4fe3d1),_0xca6e9,_0x4fe3d1,_0x463f59);return await _0x359cae[_0x2a33da(0x348)](),this['_entityInit$'][_0x2a33da(0x200)](_0x359cae),_0x359cae;}[_0x1cf15a(0x1d9)](_0x5dd624){var _0x4edc6a=_0x1cf15a;switch(_0x5dd624){case Z['UNIVER_DOC']:return St;case Z[_0x4edc6a(0x355)]:return Et;default:throw new Error(_0x4edc6a(0x14a)+_0x5dd624);}}};nt=en([Be(0x0,_0x4395c3(_0xac3c15)),Be(0x1,_0x4395c3(Le)),Be(0x2,_0x149db4),Be(0x3,_0x125d03)],nt);var tn=Object[_0x1cf15a(0x2fc)],sn=(_0x26d093,_0x5ed538,_0x104493,_0x4db23c)=>{var _0x1673fd=_0x1cf15a;for(var _0x1f924f=_0x4db23c>0x1?void 0x0:_0x4db23c?tn(_0x5ed538,_0x104493):_0x5ed538,_0x162852=_0x26d093[_0x1673fd(0x25a)]-0x1,_0x305715;_0x162852>=0x0;_0x162852--)(_0x305715=_0x26d093[_0x162852])&&(_0x1f924f=_0x305715(_0x1f924f)||_0x1f924f);return _0x1f924f;},Yt=(_0xb585eb,_0x9cccb2)=>(_0x2003aa,_0x2d63ab)=>_0x9cccb2(_0x2003aa,_0x2d63ab,_0xb585eb);const nn=_0x1cf15a(0x279),rn=_0x1cf15a(0x3ea);let It=class extends _0x4c47e9{constructor(_0x543ccc,_0x2fad76){var _0x5c1650=_0x1cf15a;super(),this[_0x5c1650(0x2d9)]=_0x543ccc,this['_configService']=_0x2fad76,this[_0x5c1650(0x3d7)]();}[_0x1cf15a(0x3d7)](){var _0x1b3371=_0x1cf15a;this[_0x1b3371(0x212)](this[_0x1b3371(0x2d9)][_0x1b3371(0x3b1)][_0x1b3371(0x41f)](()=>{var _0x14a338=_0x1b3371,_0x466c65;const _0x371f94=this[_0x14a338(0x2d9)][_0x14a338(0x148)]();let _0x33c9af=(_0x466c65=this['_configService']['getConfig'](nn))!=null?_0x466c65:rn;_0x371f94 instanceof _0x37b7a4&&(_0x33c9af=_0x371f94[_0x14a338(0x405)]),document['title']=_0x33c9af;}));}};It=sn([Yt(0x0,_0x125d03),Yt(0x1,_0x149db4)],It);var an=Object[_0x1cf15a(0x2fc)],on=(_0x3f3069,_0x1d8ac8,_0x1f45b8,_0x3e2b74)=>{for(var _0x41059c=_0x3e2b74>0x1?void 0x0:_0x3e2b74?an(_0x1d8ac8,_0x1f45b8):_0x1d8ac8,_0x48635c=_0x3f3069['length']-0x1,_0x3847aa;_0x48635c>=0x0;_0x48635c--)(_0x3847aa=_0x3f3069[_0x48635c])&&(_0x41059c=_0x3847aa(_0x41059c)||_0x41059c);return _0x41059c;},dt=(_0x4fadf1,_0x3b4f70)=>(_0x4214e7,_0x311dd8)=>_0x3b4f70(_0x4214e7,_0x311dd8,_0x4fadf1);let rt=class{constructor(_0x205eb9,_0x4f9228,_0x2b6bde){var _0x3a1892=_0x1cf15a;this[_0x3a1892(0x40d)]=_0x205eb9,this[_0x3a1892(0x2b5)]=_0x4f9228,this[_0x3a1892(0x3ae)]=_0x2b6bde,this[_0x3a1892(0x348)]();}[_0x1cf15a(0x348)](){var _0x5eca43=_0x1cf15a;this[_0x5eca43(0x2b5)][_0x5eca43(0x190)]({'priority':0x1,'interceptor':(_0x500ad0,_0x286cf8)=>_0x286cf8(_0x500ad0)[_0x5eca43(0x295)](_0x458142(async _0x3f6a55=>{var _0x24f636=_0x5eca43;const _0x5a49cd=_0x3f6a55;if(_0x5a49cd['status']===0x191){if(typeof window>'u')throw new Error(_0x24f636(0x28b));if(window['confirm'](this[_0x24f636(0x3ae)]['t'](_0x24f636(0x2e8)))){const _0x4630f6=window[_0x24f636(0x378)](window[_0x24f636(0x1e9)][_0x24f636(0x180)]);window[_0x24f636(0x1e9)][_0x24f636(0x180)]=this['_getLoginPath']()+_0x24f636(0x329)+_0x4630f6;}}return _0x5a49cd;}))});}[_0x1cf15a(0x31e)](){var _0x1912ea=_0x1cf15a,_0x77c30d,_0x362164;const _0xb844af=this['_configService'][_0x1912ea(0x2bf)](ys),_0x5ae9e3=this[_0x1912ea(0x40d)][_0x1912ea(0x2bf)](K);return(_0x362164=(_0x77c30d=_0x5ae9e3==null?void 0x0:_0x5ae9e3[_0x1912ea(0x382)])!=null?_0x77c30d:_0xb844af)!=null?_0x362164:Ns;}};rt=on([dt(0x0,_0x149db4),dt(0x1,_0x4395c3(_0x3099c1)),dt(0x2,_0x4395c3(_0x58db33))],rt);var cn=Object[_0x1cf15a(0x2fc)],hn=(_0x342219,_0x2a8a9d,_0x47f1c0,_0xc09792)=>{var _0x42ef1f=_0x1cf15a;for(var _0x5c1ec9=_0xc09792>0x1?void 0x0:_0xc09792?cn(_0x2a8a9d,_0x47f1c0):_0x2a8a9d,_0x41dba3=_0x342219[_0x42ef1f(0x25a)]-0x1,_0x30ba0e;_0x41dba3>=0x0;_0x41dba3--)(_0x30ba0e=_0x342219[_0x41dba3])&&(_0x5c1ec9=_0x30ba0e(_0x5c1ec9)||_0x5c1ec9);return _0x5c1ec9;},Kt=(_0x1e2946,_0x6677b8)=>(_0x30752e,_0x1a27fe)=>_0x6677b8(_0x30752e,_0x1a27fe,_0x1e2946);const bi=_0x1cf15a(0x34a),_n=_0x1cf15a(0x3e1);let Tt=class extends _0x4c47e9{constructor(_0x342a3c,_0x1114d5){var _0x5198e0=_0x1cf15a;super(),this[_0x5198e0(0x2e0)]=_0x342a3c,this['_configService']=_0x1114d5,this[_0x5198e0(0x2d3)]();}[_0x1cf15a(0x2d3)](){var _0x1dd493=_0x1cf15a;const _0x45c46e=this;this[_0x1dd493(0x212)](this[_0x1dd493(0x2e0)][_0x1dd493(0x190)]({'priority':0x3e7,'interceptor':_0x437f45({'isMatch'(_0x41d5d4){var _0x2ce18b=_0x1dd493,_0x5b39ff;if(_0x41d5d4[_0x2ce18b(0x20d)]===_0x2ce18b(0x272)&&((_0x5b39ff=_0x41d5d4[_0x2ce18b(0x182)])!=null&&_0x5b39ff[_0x2ce18b(0x22e)])){const {objectID:_0x332461,objectType:_0x53c75e}=_0x41d5d4[_0x2ce18b(0x182)]['body']||{};if(!_0x332461||_0x53c75e===void 0x0)return!0x1;const _0x5767fe=_0x45c46e[_0x2ce18b(0x35d)]()+'/'+_0x53c75e+_0x2ce18b(0x207)+_0x332461+_0x2ce18b(0x3f6);if(_0x41d5d4['url']===_0x5767fe)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xa44083){var _0x3f1996;return(_0x3f1996=_0xa44083['requestParams'])==null?void 0x0:_0x3f1996['body'];},'mergeParamsToRequest'(_0x1f5567,_0x44c101){var _0x5b4ba7=_0x1dd493;const _0x359434=_0x45c46e['_getAPIPrefixPath']()+_0x5b4ba7(0x32b),_0x1d9864=_0x1f5567['reduce']((_0x3cf3d8,_0x2b23f8)=>{var _0x3f9def=_0x5b4ba7;const {unitID:_0x250c50,objectID:_0x3d8275,objectType:_0x248462,actions:_0x456624}=_0x2b23f8;return _0x3cf3d8[_0x250c50]||(_0x3cf3d8[_0x250c50]={}),_0x3cf3d8[_0x250c50][_0x3d8275]||(_0x3cf3d8[_0x250c50][_0x3d8275]={'objectID':_0x3d8275,'objectType':_0x248462,'actions':[]}),_0x3cf3d8[_0x250c50][_0x3d8275][_0x3f9def(0x384)]['push'](..._0x456624),_0x3cf3d8;},{}),_0x598aac=[];for(const _0xd1460b in _0x1d9864)for(const _0x36af30 in _0x1d9864[_0xd1460b]){const {actions:_0x47657d,objectType:_0x4b165f}=_0x1d9864[_0xd1460b][_0x36af30],_0x480829=[...new Set(_0x47657d)];_0x598aac['push']({'unitID':_0xd1460b,'objectID':_0x36af30,'objectType':_0x4b165f,'actions':_0x480829});}return new _0x175622(_0x5b4ba7(0x272),_0x359434,{'headers':_0x44c101[_0x5b4ba7(0x314)],'withCredentials':_0x44c101[_0x5b4ba7(0x372)],'responseType':_0x44c101[_0x5b4ba7(0x1fe)],'body':{'requests':_0x598aac}});}},{'distributeResult'(_0x7111a2,_0x330885){var _0x5082d0=_0x1dd493;const {objectActions:_0x314d99}=_0x7111a2;return _0x330885[_0x5082d0(0x2d6)](_0x475c80=>{var _0x5a562d=_0x5082d0;const {unitID:_0x5a15b4,objectID:_0x31bfd4,actions:_0x51e61d}=_0x475c80,_0x524391=_0x314d99[_0x5a562d(0x167)](_0x341746=>_0x341746[_0x5a562d(0x1df)]===_0x5a15b4&&_0x341746[_0x5a562d(0x19b)]===_0x31bfd4),_0x4e22e9=_0x51e61d['map'](_0x940249=>_0x524391==null?void 0x0:_0x524391[_0x5a562d(0x384)][_0x5a562d(0x167)](_0x1857f8=>_0x1857f8['action']===_0x940249))[_0x5a562d(0x1ef)](_0x53b942=>!!_0x53b942);return{'config':_0x475c80,'result':{'actions':_0x4e22e9,'error':_0x7111a2[_0x5a562d(0x335)]}};});}})}));}[_0x1cf15a(0x35d)](){var _0xf6411=_0x1cf15a,_0x578aea,_0x1d3169;const _0x1df38f=this[_0xf6411(0x40d)][_0xf6411(0x2bf)](bi),_0xf8c85=this[_0xf6411(0x40d)][_0xf6411(0x2bf)](K);return(_0x1d3169=(_0x578aea=_0xf8c85==null?void 0x0:_0xf8c85[_0xf6411(0x1eb)])!=null?_0x578aea:_0x1df38f)!=null?_0x1d3169:_n;}async[_0x1cf15a(0x236)](_0x1da4ac){var _0x2a0d8a=_0x1cf15a;const _0x481e11=this[_0x2a0d8a(0x35d)]()+'/'+_0x1da4ac[_0x2a0d8a(0x16a)]+_0x2a0d8a(0x3d5);return(await this[_0x2a0d8a(0x2e0)][_0x2a0d8a(0x2ba)](_0x481e11,{'body':_0x1da4ac}))['body']['objectID']||'';}async[_0x1cf15a(0x247)](_0x2c909d){var _0x5d27f6=_0x1cf15a;const _0x5b1ee1=this[_0x5d27f6(0x35d)]()+_0x5d27f6(0x403);return(await this[_0x5d27f6(0x2e0)][_0x5d27f6(0x2ba)](_0x5b1ee1,{'body':_0x2c909d}))[_0x5d27f6(0x22e)]['objects'];}async['update'](_0x564fb4){var _0x3bd062=_0x1cf15a,_0x47dc20,_0x62837a;const _0xbb1bb5=this[_0x3bd062(0x35d)]()+'/'+_0x564fb4[_0x3bd062(0x16a)]+_0x3bd062(0x207)+_0x564fb4[_0x3bd062(0x19b)],_0x12c4cf=await this['_HTTPService'][_0x3bd062(0x219)](_0xbb1bb5,{'body':_0x564fb4});if(((_0x62837a=(_0x47dc20=_0x12c4cf==null?void 0x0:_0x12c4cf[_0x3bd062(0x22e)])==null?void 0x0:_0x47dc20[_0x3bd062(0x335)])==null?void 0x0:_0x62837a[_0x3bd062(0x163)])!==0x1)throw new Error(_0x3bd062(0x411));}async[_0x1cf15a(0x162)](_0x59fca3){var _0x32c19c=_0x1cf15a;const _0x53d1bc=this[_0x32c19c(0x35d)]()+'/'+_0x59fca3[_0x32c19c(0x16a)]+_0x32c19c(0x207)+_0x59fca3[_0x32c19c(0x19b)]+'/allowed';return(await this[_0x32c19c(0x2e0)]['post'](_0x53d1bc,{'body':_0x59fca3}))['body'][_0x32c19c(0x384)];}async['batchAllowed'](_0x199681){var _0x129a66=_0x1cf15a;const _0x409e47=this['_getAPIPrefixPath']()+_0x129a66(0x32b);return(await this['_HTTPService'][_0x129a66(0x2ba)](_0x409e47,{'body':{'requests':_0x199681}}))[_0x129a66(0x22e)][_0x129a66(0x26e)];}async[_0x1cf15a(0x16f)](_0x8214d){var _0x1b6eb1=_0x1cf15a;const _0x3e3afe=this[_0x1b6eb1(0x35d)]()+'/'+_0x8214d[_0x1b6eb1(0x16a)]+_0x1b6eb1(0x269),_0x7e8068=await this[_0x1b6eb1(0x2e0)][_0x1b6eb1(0x2ba)](_0x3e3afe,{'body':_0x8214d});return{'roles':_0x7e8068[_0x1b6eb1(0x22e)]['roles'],'actions':_0x7e8068[_0x1b6eb1(0x22e)][_0x1b6eb1(0x384)]};}async[_0x1cf15a(0x1af)](_0x4b06fd){var _0x3431ff=_0x1cf15a;const _0x3d3d29=this['_getAPIPrefixPath']()+_0x3431ff(0x18a);await this[_0x3431ff(0x2e0)][_0x3431ff(0x17d)](_0x3d3d29,{'params':{'collaboratorID':_0x4b06fd['collaboratorID'],'objectID':_0x4b06fd[_0x3431ff(0x19b)],'unitID':_0x4b06fd['unitID']}});}async['updateCollaborator'](_0x2a77ca){var _0x5f36f9=_0x1cf15a;const _0x115875=this[_0x5f36f9(0x35d)]()+'/collaborator';await this[_0x5f36f9(0x2e0)][_0x5f36f9(0x391)](_0x115875,{'body':_0x2a77ca});}async[_0x1cf15a(0x1f4)](_0x5404ee){var _0x444c35=_0x1cf15a;const _0x7f5dbb=this[_0x444c35(0x35d)]()+_0x444c35(0x18a);await this[_0x444c35(0x2e0)][_0x444c35(0x2ba)](_0x7f5dbb,{'body':_0x5404ee});}async[_0x1cf15a(0x32f)](_0x11c55e){var _0x50ac64=_0x1cf15a;const _0x5c2e47=this[_0x50ac64(0x35d)]()+_0x50ac64(0x18a);return(await this[_0x50ac64(0x2e0)]['get'](_0x5c2e47,{'params':{'objectID':_0x11c55e[_0x50ac64(0x19b)],'unitID':_0x11c55e['unitID']}}))[_0x50ac64(0x22e)][_0x50ac64(0x166)];}async['putCollaborators'](_0x1f693f){var _0xa6744d=_0x1cf15a;const _0x473887=this[_0xa6744d(0x35d)]()+_0xa6744d(0x18a);await this[_0xa6744d(0x2e0)][_0xa6744d(0x219)](_0x473887,{'body':_0x1f693f});}};Tt=hn([Kt(0x0,_0x4395c3(_0x3099c1)),Kt(0x1,_0x4395c3(_0x149db4))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x3c39ec){var _0x593b78=_0x1cf15a;return _0x3c39ec&&_0x3c39ec[_0x593b78(0x24e)]&&Object[_0x593b78(0x1c9)][_0x593b78(0x393)][_0x593b78(0x2ee)](_0x3c39ec,'default')?_0x3c39ec[_0x593b78(0x3a5)]:_0x3c39ec;}var Ve={'exports':{}};function ln(_0x101ce0){var _0x2f3ec8=_0x1cf15a;throw new Error(_0x2f3ec8(0x39e)+_0x101ce0+_0x2f3ec8(0x3d8));}var Ge={'exports':{}},un=Ge['exports'],qt;function te(){var _0x4cd10a=_0x1cf15a;return qt||(qt=0x1,function(_0x4b45bc,_0x7732a8){(function(_0x3b7d11,_0x101acc){_0x4b45bc['exports']=_0x101acc();}(un,function(){var _0x53edb2=_0x53edb2||function(_0x5d22b6,_0x4a7423){var _0x2bdea7=_0x59f7,_0x25cc33;if(typeof window<'u'&&window[_0x2bdea7(0x3f9)]&&(_0x25cc33=window[_0x2bdea7(0x3f9)]),typeof self<'u'&&self['crypto']&&(_0x25cc33=self['crypto']),typeof globalThis<'u'&&globalThis[_0x2bdea7(0x3f9)]&&(_0x25cc33=globalThis[_0x2bdea7(0x3f9)]),!_0x25cc33&&typeof window<'u'&&window['msCrypto']&&(_0x25cc33=window[_0x2bdea7(0x351)]),!_0x25cc33&&typeof ft<'u'&&ft[_0x2bdea7(0x3f9)]&&(_0x25cc33=ft[_0x2bdea7(0x3f9)]),!_0x25cc33&&typeof ln==_0x2bdea7(0x2d8))try{_0x25cc33=require(_0x2bdea7(0x3f9));}catch{}var _0xbfa7cc=function(){var _0x420a3d=_0x2bdea7;if(_0x25cc33){if(typeof _0x25cc33[_0x420a3d(0x331)]==_0x420a3d(0x2d8))try{return _0x25cc33['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x25cc33[_0x420a3d(0x2a5)]==_0x420a3d(0x2d8))try{return _0x25cc33[_0x420a3d(0x2a5)](0x4)[_0x420a3d(0x289)]();}catch{}}throw new Error(_0x420a3d(0x3b8));},_0x260561=Object[_0x2bdea7(0x236)]||(function(){function _0x55d996(){}return function(_0x97cdf8){var _0x4832c1=_0x59f7,_0x5600b5;return _0x55d996[_0x4832c1(0x1c9)]=_0x97cdf8,_0x5600b5=new _0x55d996(),_0x55d996[_0x4832c1(0x1c9)]=null,_0x5600b5;};}()),_0x48588d={},_0x47fca1=_0x48588d['lib']={},_0x3d9c4e=_0x47fca1['Base']=(function(){return{'extend':function(_0x387cc0){var _0x5f4bec=_0x59f7,_0x1dcd11=_0x260561(this);return _0x387cc0&&_0x1dcd11[_0x5f4bec(0x23b)](_0x387cc0),(!_0x1dcd11[_0x5f4bec(0x393)](_0x5f4bec(0x348))||this[_0x5f4bec(0x348)]===_0x1dcd11[_0x5f4bec(0x348)])&&(_0x1dcd11[_0x5f4bec(0x348)]=function(){var _0x679e04=_0x5f4bec;_0x1dcd11[_0x679e04(0x444)]['init'][_0x679e04(0x436)](this,arguments);}),_0x1dcd11[_0x5f4bec(0x348)][_0x5f4bec(0x1c9)]=_0x1dcd11,_0x1dcd11['$super']=this,_0x1dcd11;},'create':function(){var _0x4283ac=_0x59f7,_0xcb281c=this[_0x4283ac(0x146)]();return _0xcb281c[_0x4283ac(0x348)][_0x4283ac(0x436)](_0xcb281c,arguments),_0xcb281c;},'init':function(){},'mixIn':function(_0x149827){var _0x69492=_0x59f7;for(var _0x556bfb in _0x149827)_0x149827[_0x69492(0x393)](_0x556bfb)&&(this[_0x556bfb]=_0x149827[_0x556bfb]);_0x149827[_0x69492(0x393)](_0x69492(0x1db))&&(this[_0x69492(0x1db)]=_0x149827[_0x69492(0x1db)]);},'clone':function(){var _0x44ee86=_0x59f7;return this[_0x44ee86(0x348)][_0x44ee86(0x1c9)][_0x44ee86(0x146)](this);}};}()),_0x36be22=_0x47fca1['WordArray']=_0x3d9c4e[_0x2bdea7(0x146)]({'init':function(_0x4fdeab,_0x4726c5){var _0x2f33a7=_0x2bdea7;_0x4fdeab=this[_0x2f33a7(0x349)]=_0x4fdeab||[],_0x4726c5!=_0x4a7423?this[_0x2f33a7(0x43b)]=_0x4726c5:this[_0x2f33a7(0x43b)]=_0x4fdeab[_0x2f33a7(0x25a)]*0x4;},'toString':function(_0x432d3a){return(_0x432d3a||_0x229d3b)['stringify'](this);},'concat':function(_0x17efca){var _0x31f5a1=_0x2bdea7,_0x38efea=this[_0x31f5a1(0x349)],_0x34d8c9=_0x17efca[_0x31f5a1(0x349)],_0x5d60db=this[_0x31f5a1(0x43b)],_0x195d8d=_0x17efca[_0x31f5a1(0x43b)];if(this['clamp'](),_0x5d60db%0x4)for(var _0x540bfd=0x0;_0x540bfd<_0x195d8d;_0x540bfd++){var _0x9b9f9c=_0x34d8c9[_0x540bfd>>>0x2]>>>0x18-_0x540bfd%0x4*0x8&0xff;_0x38efea[_0x5d60db+_0x540bfd>>>0x2]|=_0x9b9f9c<<0x18-(_0x5d60db+_0x540bfd)%0x4*0x8;}else{for(var _0x22082f=0x0;_0x22082f<_0x195d8d;_0x22082f+=0x4)_0x38efea[_0x5d60db+_0x22082f>>>0x2]=_0x34d8c9[_0x22082f>>>0x2];}return this[_0x31f5a1(0x43b)]+=_0x195d8d,this;},'clamp':function(){var _0x12f5c5=_0x2bdea7,_0x4aaf95=this[_0x12f5c5(0x349)],_0x8c818a=this[_0x12f5c5(0x43b)];_0x4aaf95[_0x8c818a>>>0x2]&=0xffffffff<<0x20-_0x8c818a%0x4*0x8,_0x4aaf95[_0x12f5c5(0x25a)]=_0x5d22b6[_0x12f5c5(0x312)](_0x8c818a/0x4);},'clone':function(){var _0x19e367=_0x2bdea7,_0x2ecd7f=_0x3d9c4e[_0x19e367(0x2c3)][_0x19e367(0x2ee)](this);return _0x2ecd7f[_0x19e367(0x349)]=this[_0x19e367(0x349)][_0x19e367(0x22c)](0x0),_0x2ecd7f;},'random':function(_0x167eb8){var _0x588c4e=_0x2bdea7;for(var _0x489adf=[],_0x2e353e=0x0;_0x2e353e<_0x167eb8;_0x2e353e+=0x4)_0x489adf['push'](_0xbfa7cc());return new _0x36be22[(_0x588c4e(0x348))](_0x489adf,_0x167eb8);}}),_0x2d3fec=_0x48588d['enc']={},_0x229d3b=_0x2d3fec['Hex']={'stringify':function(_0x14eab4){var _0x5ab8f7=_0x2bdea7;for(var _0xade84f=_0x14eab4[_0x5ab8f7(0x349)],_0x177ab6=_0x14eab4[_0x5ab8f7(0x43b)],_0x2ae688=[],_0x47d492=0x0;_0x47d492<_0x177ab6;_0x47d492++){var _0x54e41a=_0xade84f[_0x47d492>>>0x2]>>>0x18-_0x47d492%0x4*0x8&0xff;_0x2ae688[_0x5ab8f7(0x39c)]((_0x54e41a>>>0x4)[_0x5ab8f7(0x1db)](0x10)),_0x2ae688[_0x5ab8f7(0x39c)]((_0x54e41a&0xf)[_0x5ab8f7(0x1db)](0x10));}return _0x2ae688[_0x5ab8f7(0x254)]('');},'parse':function(_0x5f0542){var _0x9838ab=_0x2bdea7;for(var _0x22370f=_0x5f0542[_0x9838ab(0x25a)],_0x461247=[],_0x5511c6=0x0;_0x5511c6<_0x22370f;_0x5511c6+=0x2)_0x461247[_0x5511c6>>>0x3]|=parseInt(_0x5f0542[_0x9838ab(0x352)](_0x5511c6,0x2),0x10)<<0x18-_0x5511c6%0x8*0x4;return new _0x36be22['init'](_0x461247,_0x22370f/0x2);}},_0xf129d3=_0x2d3fec[_0x2bdea7(0x369)]={'stringify':function(_0x22f9ac){var _0x56b213=_0x2bdea7;for(var _0x5b8335=_0x22f9ac[_0x56b213(0x349)],_0x548f40=_0x22f9ac[_0x56b213(0x43b)],_0x321955=[],_0x7bc08e=0x0;_0x7bc08e<_0x548f40;_0x7bc08e++){var _0x2e4705=_0x5b8335[_0x7bc08e>>>0x2]>>>0x18-_0x7bc08e%0x4*0x8&0xff;_0x321955[_0x56b213(0x39c)](String[_0x56b213(0x227)](_0x2e4705));}return _0x321955[_0x56b213(0x254)]('');},'parse':function(_0x4cf360){var _0x9618e5=_0x2bdea7;for(var _0x2e3248=_0x4cf360[_0x9618e5(0x25a)],_0x5ce5cc=[],_0x2c2560=0x0;_0x2c2560<_0x2e3248;_0x2c2560++)_0x5ce5cc[_0x2c2560>>>0x2]|=(_0x4cf360['charCodeAt'](_0x2c2560)&0xff)<<0x18-_0x2c2560%0x4*0x8;return new _0x36be22[(_0x9618e5(0x348))](_0x5ce5cc,_0x2e3248);}},_0x4bda6d=_0x2d3fec[_0x2bdea7(0x354)]={'stringify':function(_0x3e4c46){var _0x11bdd8=_0x2bdea7;try{return decodeURIComponent(escape(_0xf129d3[_0x11bdd8(0x160)](_0x3e4c46)));}catch{throw new Error(_0x11bdd8(0x285));}},'parse':function(_0x272a3e){var _0x12c0f7=_0x2bdea7;return _0xf129d3[_0x12c0f7(0x401)](unescape(encodeURIComponent(_0x272a3e)));}},_0x1bed76=_0x47fca1['BufferedBlockAlgorithm']=_0x3d9c4e['extend']({'reset':function(){var _0x294438=_0x2bdea7;this['_data']=new _0x36be22[(_0x294438(0x348))](),this[_0x294438(0x2dc)]=0x0;},'_append':function(_0x46470f){var _0xabe1cf=_0x2bdea7;typeof _0x46470f==_0xabe1cf(0x3bf)&&(_0x46470f=_0x4bda6d[_0xabe1cf(0x401)](_0x46470f)),this['_data'][_0xabe1cf(0x2db)](_0x46470f),this[_0xabe1cf(0x2dc)]+=_0x46470f[_0xabe1cf(0x43b)];},'_process':function(_0x1d7054){var _0x18ffaa=_0x2bdea7,_0x5065f5,_0x3e0d0a=this[_0x18ffaa(0x421)],_0x283d27=_0x3e0d0a[_0x18ffaa(0x349)],_0x12bb2d=_0x3e0d0a[_0x18ffaa(0x43b)],_0x22cf92=this[_0x18ffaa(0x334)],_0x3da73c=_0x22cf92*0x4,_0x297670=_0x12bb2d/_0x3da73c;_0x1d7054?_0x297670=_0x5d22b6['ceil'](_0x297670):_0x297670=_0x5d22b6[_0x18ffaa(0x27c)]((_0x297670|0x0)-this[_0x18ffaa(0x155)],0x0);var _0x58ffc6=_0x297670*_0x22cf92,_0x540b74=_0x5d22b6[_0x18ffaa(0x322)](_0x58ffc6*0x4,_0x12bb2d);if(_0x58ffc6){for(var _0x2563e3=0x0;_0x2563e3<_0x58ffc6;_0x2563e3+=_0x22cf92)this[_0x18ffaa(0x2f8)](_0x283d27,_0x2563e3);_0x5065f5=_0x283d27[_0x18ffaa(0x409)](0x0,_0x58ffc6),_0x3e0d0a[_0x18ffaa(0x43b)]-=_0x540b74;}return new _0x36be22[(_0x18ffaa(0x348))](_0x5065f5,_0x540b74);},'clone':function(){var _0x2d46a0=_0x2bdea7,_0x56a886=_0x3d9c4e[_0x2d46a0(0x2c3)][_0x2d46a0(0x2ee)](this);return _0x56a886[_0x2d46a0(0x421)]=this['_data']['clone'](),_0x56a886;},'_minBufferSize':0x0});_0x47fca1[_0x2bdea7(0x321)]=_0x1bed76[_0x2bdea7(0x146)]({'cfg':_0x3d9c4e[_0x2bdea7(0x146)](),'init':function(_0x5c71d4){var _0x57e8c2=_0x2bdea7;this[_0x57e8c2(0x32d)]=this[_0x57e8c2(0x32d)][_0x57e8c2(0x146)](_0x5c71d4),this[_0x57e8c2(0x311)]();},'reset':function(){var _0x4cd49a=_0x2bdea7;_0x1bed76['reset'][_0x4cd49a(0x2ee)](this),this[_0x4cd49a(0x2c2)]();},'update':function(_0x2150a0){var _0x4f31d0=_0x2bdea7;return this[_0x4f31d0(0x3a8)](_0x2150a0),this['_process'](),this;},'finalize':function(_0x110d9c){_0x110d9c&&this['_append'](_0x110d9c);var _0xe3a799=this['_doFinalize']();return _0xe3a799;},'blockSize':0x10,'_createHelper':function(_0x5720e5){return function(_0xb876af,_0x119510){var _0x366a2f=_0x59f7;return new _0x5720e5[(_0x366a2f(0x348))](_0x119510)[_0x366a2f(0x23c)](_0xb876af);};},'_createHmacHelper':function(_0x3a6b6b){return function(_0x5662ad,_0x523113){var _0x2d2824=_0x59f7;return new _0x4604ea[(_0x2d2824(0x3b5))][(_0x2d2824(0x348))](_0x3a6b6b,_0x523113)[_0x2d2824(0x23c)](_0x5662ad);};}});var _0x4604ea=_0x48588d[_0x2bdea7(0x2f7)]={};return _0x48588d;}(Math);return _0x53edb2;}));}(Ge)),Ge[_0x4cd10a(0x209)];}var We={'exports':{}},dn=We['exports'],zt;function Oi(){var _0x4597e1=_0x1cf15a;return zt||(zt=0x1,function(_0x1c8c81,_0x27b8f2){(function(_0x17e75f,_0x939554){var _0x2bda67=_0x59f7;_0x1c8c81[_0x2bda67(0x209)]=_0x939554(te());}(dn,function(_0x23cc4e){var _0xe85e1a=_0x59f7;return(function(){var _0x4e368b=_0x59f7,_0x271e4a=_0x23cc4e,_0x44b6e7=_0x271e4a['lib'],_0x4ddb23=_0x44b6e7['WordArray'],_0x3f521e=_0x271e4a['enc'];_0x3f521e[_0x4e368b(0x213)]={'stringify':function(_0x1d6de8){var _0x1733e4=_0x4e368b,_0x2e6346=_0x1d6de8[_0x1733e4(0x349)],_0x4f489d=_0x1d6de8[_0x1733e4(0x43b)],_0x191e29=this[_0x1733e4(0x3b3)];_0x1d6de8[_0x1733e4(0x192)]();for(var _0x486911=[],_0x229e33=0x0;_0x229e33<_0x4f489d;_0x229e33+=0x3)for(var _0x577b06=_0x2e6346[_0x229e33>>>0x2]>>>0x18-_0x229e33%0x4*0x8&0xff,_0x25fa1f=_0x2e6346[_0x229e33+0x1>>>0x2]>>>0x18-(_0x229e33+0x1)%0x4*0x8&0xff,_0x50164b=_0x2e6346[_0x229e33+0x2>>>0x2]>>>0x18-(_0x229e33+0x2)%0x4*0x8&0xff,_0x333936=_0x577b06<<0x10|_0x25fa1f<<0x8|_0x50164b,_0x74ab0c=0x0;_0x74ab0c<0x4&&_0x229e33+_0x74ab0c*0.75<_0x4f489d;_0x74ab0c++)_0x486911['push'](_0x191e29[_0x1733e4(0x173)](_0x333936>>>0x6*(0x3-_0x74ab0c)&0x3f));var _0x2cbdee=_0x191e29['charAt'](0x40);if(_0x2cbdee){for(;_0x486911[_0x1733e4(0x25a)]%0x4;)_0x486911[_0x1733e4(0x39c)](_0x2cbdee);}return _0x486911[_0x1733e4(0x254)]('');},'parse':function(_0x5a9326){var _0x26ab77=_0x4e368b,_0x14b589=_0x5a9326[_0x26ab77(0x25a)],_0x3a5707=this['_map'],_0x20a1f3=this['_reverseMap'];if(!_0x20a1f3){_0x20a1f3=this[_0x26ab77(0x196)]=[];for(var _0x3782ef=0x0;_0x3782ef<_0x3a5707[_0x26ab77(0x25a)];_0x3782ef++)_0x20a1f3[_0x3a5707[_0x26ab77(0x2f4)](_0x3782ef)]=_0x3782ef;}var _0x2444c6=_0x3a5707['charAt'](0x40);if(_0x2444c6){var _0x315220=_0x5a9326[_0x26ab77(0x1e5)](_0x2444c6);_0x315220!==-0x1&&(_0x14b589=_0x315220);}return _0x3a780c(_0x5a9326,_0x14b589,_0x20a1f3);},'_map':_0x4e368b(0x3dd)};function _0x3a780c(_0xdb723b,_0xc1abd,_0x412750){var _0x181825=_0x4e368b;for(var _0x3f8561=[],_0x4aab30=0x0,_0x4bba22=0x0;_0x4bba22<_0xc1abd;_0x4bba22++)if(_0x4bba22%0x4){var _0x5e2dd1=_0x412750[_0xdb723b[_0x181825(0x2f4)](_0x4bba22-0x1)]<<_0x4bba22%0x4*0x2,_0x365321=_0x412750[_0xdb723b[_0x181825(0x2f4)](_0x4bba22)]>>>0x6-_0x4bba22%0x4*0x2,_0x5260ed=_0x5e2dd1|_0x365321;_0x3f8561[_0x4aab30>>>0x2]|=_0x5260ed<<0x18-_0x4aab30%0x4*0x8,_0x4aab30++;}return _0x4ddb23[_0x181825(0x236)](_0x3f8561,_0x4aab30);}}()),_0x23cc4e[_0xe85e1a(0x438)][_0xe85e1a(0x213)];}));}(We)),We[_0x4597e1(0x209)];}var Ye={'exports':{}},fn=Ye[_0x1cf15a(0x209)],Jt;function vn(){var _0x4def44=_0x1cf15a;return Jt||(Jt=0x1,function(_0x59353b,_0x21ecb2){(function(_0x40b38b,_0x2c7f01){var _0x33d333=_0x59f7;_0x59353b[_0x33d333(0x209)]=_0x2c7f01(te());}(fn,function(_0x392475){var _0x44ec65=_0x59f7;return function(_0x33f882){var _0xa88c8f=_0x59f7,_0x26632a=_0x392475,_0x403ea1=_0x26632a[_0xa88c8f(0x1a5)],_0x9d3825=_0x403ea1[_0xa88c8f(0x42a)],_0x5d953f=_0x403ea1[_0xa88c8f(0x321)],_0x77532e=_0x26632a['algo'],_0x289735=[];(function(){var _0x2b169f=_0xa88c8f;for(var _0x366dce=0x0;_0x366dce<0x40;_0x366dce++)_0x289735[_0x366dce]=_0x33f882[_0x2b169f(0x2e9)](_0x33f882[_0x2b169f(0x241)](_0x366dce+0x1))*0x100000000|0x0;}());var _0x2094a6=_0x77532e['MD5']=_0x5d953f['extend']({'_doReset':function(){var _0x50c59b=_0xa88c8f;this[_0x50c59b(0x35f)]=new _0x9d3825['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0xef70c2,_0x5dfe26){var _0x226de1=_0xa88c8f;for(var _0x98528c=0x0;_0x98528c<0x10;_0x98528c++){var _0x405dff=_0x5dfe26+_0x98528c,_0x4c6c71=_0xef70c2[_0x405dff];_0xef70c2[_0x405dff]=(_0x4c6c71<<0x8|_0x4c6c71>>>0x18)&0xff00ff|(_0x4c6c71<<0x18|_0x4c6c71>>>0x8)&0xff00ff00;}var _0x5474f7=this[_0x226de1(0x35f)][_0x226de1(0x349)],_0x5d3f30=_0xef70c2[_0x5dfe26+0x0],_0x391461=_0xef70c2[_0x5dfe26+0x1],_0x5b334d=_0xef70c2[_0x5dfe26+0x2],_0x46669a=_0xef70c2[_0x5dfe26+0x3],_0x4a083b=_0xef70c2[_0x5dfe26+0x4],_0x25ff1f=_0xef70c2[_0x5dfe26+0x5],_0x2c8475=_0xef70c2[_0x5dfe26+0x6],_0xa66268=_0xef70c2[_0x5dfe26+0x7],_0x1221ad=_0xef70c2[_0x5dfe26+0x8],_0xbfe583=_0xef70c2[_0x5dfe26+0x9],_0x22b73f=_0xef70c2[_0x5dfe26+0xa],_0x5331c1=_0xef70c2[_0x5dfe26+0xb],_0x15210a=_0xef70c2[_0x5dfe26+0xc],_0x4287b4=_0xef70c2[_0x5dfe26+0xd],_0x424535=_0xef70c2[_0x5dfe26+0xe],_0x74f6cb=_0xef70c2[_0x5dfe26+0xf],_0x3e8b21=_0x5474f7[0x0],_0x3210cc=_0x5474f7[0x1],_0x23553f=_0x5474f7[0x2],_0x32a087=_0x5474f7[0x3];_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x5d3f30,0x7,_0x289735[0x0]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x391461,0xc,_0x289735[0x1]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5b334d,0x11,_0x289735[0x2]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x46669a,0x16,_0x289735[0x3]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4a083b,0x7,_0x289735[0x4]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x25ff1f,0xc,_0x289735[0x5]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x2c8475,0x11,_0x289735[0x6]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0xa66268,0x16,_0x289735[0x7]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x1221ad,0x7,_0x289735[0x8]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0xbfe583,0xc,_0x289735[0x9]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x22b73f,0x11,_0x289735[0xa]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5331c1,0x16,_0x289735[0xb]),_0x3e8b21=_0x656306(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x15210a,0x7,_0x289735[0xc]),_0x32a087=_0x656306(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x4287b4,0xc,_0x289735[0xd]),_0x23553f=_0x656306(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x424535,0x11,_0x289735[0xe]),_0x3210cc=_0x656306(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x74f6cb,0x16,_0x289735[0xf]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x391461,0x5,_0x289735[0x10]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x2c8475,0x9,_0x289735[0x11]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5331c1,0xe,_0x289735[0x12]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5d3f30,0x14,_0x289735[0x13]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x25ff1f,0x5,_0x289735[0x14]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x22b73f,0x9,_0x289735[0x15]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x74f6cb,0xe,_0x289735[0x16]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x4a083b,0x14,_0x289735[0x17]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0xbfe583,0x5,_0x289735[0x18]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x424535,0x9,_0x289735[0x19]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x46669a,0xe,_0x289735[0x1a]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x1221ad,0x14,_0x289735[0x1b]),_0x3e8b21=_0x4a9409(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4287b4,0x5,_0x289735[0x1c]),_0x32a087=_0x4a9409(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5b334d,0x9,_0x289735[0x1d]),_0x23553f=_0x4a9409(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0xa66268,0xe,_0x289735[0x1e]),_0x3210cc=_0x4a9409(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x15210a,0x14,_0x289735[0x1f]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x25ff1f,0x4,_0x289735[0x20]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x1221ad,0xb,_0x289735[0x21]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5331c1,0x10,_0x289735[0x22]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x424535,0x17,_0x289735[0x23]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x391461,0x4,_0x289735[0x24]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x4a083b,0xb,_0x289735[0x25]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0xa66268,0x10,_0x289735[0x26]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x22b73f,0x17,_0x289735[0x27]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4287b4,0x4,_0x289735[0x28]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5d3f30,0xb,_0x289735[0x29]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x46669a,0x10,_0x289735[0x2a]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x2c8475,0x17,_0x289735[0x2b]),_0x3e8b21=_0x509623(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0xbfe583,0x4,_0x289735[0x2c]),_0x32a087=_0x509623(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x15210a,0xb,_0x289735[0x2d]),_0x23553f=_0x509623(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x74f6cb,0x10,_0x289735[0x2e]),_0x3210cc=_0x509623(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x5b334d,0x17,_0x289735[0x2f]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x5d3f30,0x6,_0x289735[0x30]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0xa66268,0xa,_0x289735[0x31]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x424535,0xf,_0x289735[0x32]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x25ff1f,0x15,_0x289735[0x33]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x15210a,0x6,_0x289735[0x34]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x46669a,0xa,_0x289735[0x35]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x22b73f,0xf,_0x289735[0x36]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x391461,0x15,_0x289735[0x37]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x1221ad,0x6,_0x289735[0x38]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x74f6cb,0xa,_0x289735[0x39]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x2c8475,0xf,_0x289735[0x3a]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0x4287b4,0x15,_0x289735[0x3b]),_0x3e8b21=_0x44ab96(_0x3e8b21,_0x3210cc,_0x23553f,_0x32a087,_0x4a083b,0x6,_0x289735[0x3c]),_0x32a087=_0x44ab96(_0x32a087,_0x3e8b21,_0x3210cc,_0x23553f,_0x5331c1,0xa,_0x289735[0x3d]),_0x23553f=_0x44ab96(_0x23553f,_0x32a087,_0x3e8b21,_0x3210cc,_0x5b334d,0xf,_0x289735[0x3e]),_0x3210cc=_0x44ab96(_0x3210cc,_0x23553f,_0x32a087,_0x3e8b21,_0xbfe583,0x15,_0x289735[0x3f]),_0x5474f7[0x0]=_0x5474f7[0x0]+_0x3e8b21|0x0,_0x5474f7[0x1]=_0x5474f7[0x1]+_0x3210cc|0x0,_0x5474f7[0x2]=_0x5474f7[0x2]+_0x23553f|0x0,_0x5474f7[0x3]=_0x5474f7[0x3]+_0x32a087|0x0;},'_doFinalize':function(){var _0x466c7f=_0xa88c8f,_0x65c6ce=this['_data'],_0x2c8cfb=_0x65c6ce['words'],_0x439c75=this[_0x466c7f(0x2dc)]*0x8,_0x2e6996=_0x65c6ce['sigBytes']*0x8;_0x2c8cfb[_0x2e6996>>>0x5]|=0x80<<0x18-_0x2e6996%0x20;var _0x270eaa=_0x33f882[_0x466c7f(0x399)](_0x439c75/0x100000000),_0x54646e=_0x439c75;_0x2c8cfb[(_0x2e6996+0x40>>>0x9<<0x4)+0xf]=(_0x270eaa<<0x8|_0x270eaa>>>0x18)&0xff00ff|(_0x270eaa<<0x18|_0x270eaa>>>0x8)&0xff00ff00,_0x2c8cfb[(_0x2e6996+0x40>>>0x9<<0x4)+0xe]=(_0x54646e<<0x8|_0x54646e>>>0x18)&0xff00ff|(_0x54646e<<0x18|_0x54646e>>>0x8)&0xff00ff00,_0x65c6ce[_0x466c7f(0x43b)]=(_0x2c8cfb[_0x466c7f(0x25a)]+0x1)*0x4,this[_0x466c7f(0x1ab)]();for(var _0x4ef8bd=this[_0x466c7f(0x35f)],_0x40689a=_0x4ef8bd[_0x466c7f(0x349)],_0x37aaad=0x0;_0x37aaad<0x4;_0x37aaad++){var _0x1f808f=_0x40689a[_0x37aaad];_0x40689a[_0x37aaad]=(_0x1f808f<<0x8|_0x1f808f>>>0x18)&0xff00ff|(_0x1f808f<<0x18|_0x1f808f>>>0x8)&0xff00ff00;}return _0x4ef8bd;},'clone':function(){var _0x3e59f4=_0xa88c8f,_0x4964fb=_0x5d953f[_0x3e59f4(0x2c3)]['call'](this);return _0x4964fb[_0x3e59f4(0x35f)]=this[_0x3e59f4(0x35f)]['clone'](),_0x4964fb;}});function _0x656306(_0x53111d,_0x53e3df,_0x388612,_0x58392d,_0x406c62,_0x3a596b,_0x13b91f){var _0x6a2842=_0x53111d+(_0x53e3df&_0x388612|~_0x53e3df&_0x58392d)+_0x406c62+_0x13b91f;return(_0x6a2842<<_0x3a596b|_0x6a2842>>>0x20-_0x3a596b)+_0x53e3df;}function _0x4a9409(_0x359e4b,_0x2b2aa5,_0x41c004,_0x211c82,_0x22b60e,_0x550ef1,_0x3ab76f){var _0x39ec49=_0x359e4b+(_0x2b2aa5&_0x211c82|_0x41c004&~_0x211c82)+_0x22b60e+_0x3ab76f;return(_0x39ec49<<_0x550ef1|_0x39ec49>>>0x20-_0x550ef1)+_0x2b2aa5;}function _0x509623(_0x53fa05,_0x52f026,_0x4e972c,_0x40e231,_0x2f69a4,_0x3d5fa3,_0x4cb887){var _0x2e3fe3=_0x53fa05+(_0x52f026^_0x4e972c^_0x40e231)+_0x2f69a4+_0x4cb887;return(_0x2e3fe3<<_0x3d5fa3|_0x2e3fe3>>>0x20-_0x3d5fa3)+_0x52f026;}function _0x44ab96(_0x84d15d,_0x2d7ec6,_0x93a451,_0x46495e,_0x23fbd1,_0xea56f0,_0x5e0e40){var _0x3ba993=_0x84d15d+(_0x93a451^(_0x2d7ec6|~_0x46495e))+_0x23fbd1+_0x5e0e40;return(_0x3ba993<<_0xea56f0|_0x3ba993>>>0x20-_0xea56f0)+_0x2d7ec6;}_0x26632a[_0xa88c8f(0x238)]=_0x5d953f['_createHelper'](_0x2094a6),_0x26632a[_0xa88c8f(0x412)]=_0x5d953f[_0xa88c8f(0x251)](_0x2094a6);}(Math),_0x392475[_0x44ec65(0x238)];}));}(Ye)),Ye[_0x4def44(0x209)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe['exports'],Xt;function mn(){var _0x5bdfa6=_0x1cf15a;return Xt||(Xt=0x1,function(_0x2303c1,_0x596793){(function(_0x42fa2a,_0x10319b){var _0x166b2f=_0x59f7;_0x2303c1[_0x166b2f(0x209)]=_0x10319b(te());}(pn,function(_0x1403cf){var _0x4bbe2e=_0x59f7;return(function(){var _0x2cd126=_0x59f7,_0xcfecac=_0x1403cf,_0x6d9799=_0xcfecac[_0x2cd126(0x1a5)],_0x3b9020=_0x6d9799[_0x2cd126(0x42a)],_0x2c6081=_0x6d9799[_0x2cd126(0x321)],_0xc7bf=_0xcfecac[_0x2cd126(0x2f7)],_0x51c426=[],_0x6e2a38=_0xc7bf['SHA1']=_0x2c6081[_0x2cd126(0x146)]({'_doReset':function(){var _0x3c6459=_0x2cd126;this[_0x3c6459(0x35f)]=new _0x3b9020[(_0x3c6459(0x348))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1492ae,_0x2f9a86){var _0x56dfc4=_0x2cd126;for(var _0x3e3e90=this[_0x56dfc4(0x35f)][_0x56dfc4(0x349)],_0x5a7e7b=_0x3e3e90[0x0],_0x4781b3=_0x3e3e90[0x1],_0x13e503=_0x3e3e90[0x2],_0x5b9da2=_0x3e3e90[0x3],_0x93bad8=_0x3e3e90[0x4],_0x38b1f1=0x0;_0x38b1f1<0x50;_0x38b1f1++){if(_0x38b1f1<0x10)_0x51c426[_0x38b1f1]=_0x1492ae[_0x2f9a86+_0x38b1f1]|0x0;else{var _0x17f48c=_0x51c426[_0x38b1f1-0x3]^_0x51c426[_0x38b1f1-0x8]^_0x51c426[_0x38b1f1-0xe]^_0x51c426[_0x38b1f1-0x10];_0x51c426[_0x38b1f1]=_0x17f48c<<0x1|_0x17f48c>>>0x1f;}var _0xbd6307=(_0x5a7e7b<<0x5|_0x5a7e7b>>>0x1b)+_0x93bad8+_0x51c426[_0x38b1f1];_0x38b1f1<0x14?_0xbd6307+=(_0x4781b3&_0x13e503|~_0x4781b3&_0x5b9da2)+0x5a827999:_0x38b1f1<0x28?_0xbd6307+=(_0x4781b3^_0x13e503^_0x5b9da2)+0x6ed9eba1:_0x38b1f1<0x3c?_0xbd6307+=(_0x4781b3&_0x13e503|_0x4781b3&_0x5b9da2|_0x13e503&_0x5b9da2)-0x70e44324:_0xbd6307+=(_0x4781b3^_0x13e503^_0x5b9da2)-0x359d3e2a,_0x93bad8=_0x5b9da2,_0x5b9da2=_0x13e503,_0x13e503=_0x4781b3<<0x1e|_0x4781b3>>>0x2,_0x4781b3=_0x5a7e7b,_0x5a7e7b=_0xbd6307;}_0x3e3e90[0x0]=_0x3e3e90[0x0]+_0x5a7e7b|0x0,_0x3e3e90[0x1]=_0x3e3e90[0x1]+_0x4781b3|0x0,_0x3e3e90[0x2]=_0x3e3e90[0x2]+_0x13e503|0x0,_0x3e3e90[0x3]=_0x3e3e90[0x3]+_0x5b9da2|0x0,_0x3e3e90[0x4]=_0x3e3e90[0x4]+_0x93bad8|0x0;},'_doFinalize':function(){var _0x51cc16=_0x2cd126,_0x356f8f=this['_data'],_0x13accc=_0x356f8f[_0x51cc16(0x349)],_0x4b2a94=this[_0x51cc16(0x2dc)]*0x8,_0x2a4d9f=_0x356f8f['sigBytes']*0x8;return _0x13accc[_0x2a4d9f>>>0x5]|=0x80<<0x18-_0x2a4d9f%0x20,_0x13accc[(_0x2a4d9f+0x40>>>0x9<<0x4)+0xe]=Math[_0x51cc16(0x399)](_0x4b2a94/0x100000000),_0x13accc[(_0x2a4d9f+0x40>>>0x9<<0x4)+0xf]=_0x4b2a94,_0x356f8f['sigBytes']=_0x13accc['length']*0x4,this[_0x51cc16(0x1ab)](),this['_hash'];},'clone':function(){var _0x3243aa=_0x2cd126,_0x3eac25=_0x2c6081[_0x3243aa(0x2c3)]['call'](this);return _0x3eac25[_0x3243aa(0x35f)]=this[_0x3243aa(0x35f)][_0x3243aa(0x2c3)](),_0x3eac25;}});_0xcfecac['SHA1']=_0x2c6081[_0x2cd126(0x2e4)](_0x6e2a38),_0xcfecac[_0x2cd126(0x1a0)]=_0x2c6081['_createHmacHelper'](_0x6e2a38);}()),_0x1403cf[_0x4bbe2e(0x3d0)];}));}(qe)),qe[_0x5bdfa6(0x209)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x304abf=_0x1cf15a;return Zt||(Zt=0x1,function(_0x45ec28,_0x1d57d6){(function(_0x204c69,_0x28338c){var _0x5298fa=_0x59f7;_0x45ec28[_0x5298fa(0x209)]=_0x28338c(te());}(gn,function(_0x2aacd4){(function(){var _0x3bef56=_0x59f7,_0x397e16=_0x2aacd4,_0x49ee09=_0x397e16['lib'],_0x2870dd=_0x49ee09[_0x3bef56(0x169)],_0x4a728b=_0x397e16[_0x3bef56(0x438)],_0x50b3e3=_0x4a728b[_0x3bef56(0x354)],_0x5a0ae9=_0x397e16[_0x3bef56(0x2f7)];_0x5a0ae9[_0x3bef56(0x3b5)]=_0x2870dd[_0x3bef56(0x146)]({'init':function(_0x49881a,_0x32284c){var _0x45c82f=_0x3bef56;_0x49881a=this['_hasher']=new _0x49881a[(_0x45c82f(0x348))](),typeof _0x32284c==_0x45c82f(0x3bf)&&(_0x32284c=_0x50b3e3[_0x45c82f(0x401)](_0x32284c));var _0x279329=_0x49881a[_0x45c82f(0x334)],_0x406829=_0x279329*0x4;_0x32284c[_0x45c82f(0x43b)]>_0x406829&&(_0x32284c=_0x49881a[_0x45c82f(0x23c)](_0x32284c)),_0x32284c[_0x45c82f(0x192)]();for(var _0x2ede45=this['_oKey']=_0x32284c[_0x45c82f(0x2c3)](),_0xb28eb3=this['_iKey']=_0x32284c[_0x45c82f(0x2c3)](),_0x390347=_0x2ede45[_0x45c82f(0x349)],_0x39a564=_0xb28eb3['words'],_0x34ccbb=0x0;_0x34ccbb<_0x279329;_0x34ccbb++)_0x390347[_0x34ccbb]^=0x5c5c5c5c,_0x39a564[_0x34ccbb]^=0x36363636;_0x2ede45[_0x45c82f(0x43b)]=_0xb28eb3['sigBytes']=_0x406829,this[_0x45c82f(0x311)]();},'reset':function(){var _0x43b986=_0x3bef56,_0x1d67b3=this[_0x43b986(0x25c)];_0x1d67b3[_0x43b986(0x311)](),_0x1d67b3[_0x43b986(0x151)](this['_iKey']);},'update':function(_0x42a235){var _0x1a173d=_0x3bef56;return this['_hasher'][_0x1a173d(0x151)](_0x42a235),this;},'finalize':function(_0x22e4c2){var _0x3aff0c=_0x3bef56,_0x1739ca=this['_hasher'],_0xd7c1c9=_0x1739ca['finalize'](_0x22e4c2);_0x1739ca[_0x3aff0c(0x311)]();var _0x478dda=_0x1739ca[_0x3aff0c(0x23c)](this[_0x3aff0c(0x29f)][_0x3aff0c(0x2c3)]()[_0x3aff0c(0x2db)](_0xd7c1c9));return _0x478dda;}});}());}));}(ze)),ze[_0x304abf(0x209)];}var En=Ke['exports'],Qt;function yi(){var _0x6bb33a=_0x1cf15a;return Qt||(Qt=0x1,function(_0xb6d19f,_0x2f5aad){(function(_0x14a970,_0x428426,_0x5bf59e){_0xb6d19f['exports']=_0x428426(te(),mn(),Sn());}(En,function(_0xbf1554){var _0x1fc92e=_0x59f7;return(function(){var _0x3d8d8b=_0x59f7,_0x16a8c4=_0xbf1554,_0x41947b=_0x16a8c4[_0x3d8d8b(0x1a5)],_0x508139=_0x41947b[_0x3d8d8b(0x169)],_0xab2f5b=_0x41947b[_0x3d8d8b(0x42a)],_0x55d591=_0x16a8c4[_0x3d8d8b(0x2f7)],_0x3efb73=_0x55d591[_0x3d8d8b(0x238)],_0x5e02e8=_0x55d591[_0x3d8d8b(0x3b0)]=_0x508139[_0x3d8d8b(0x146)]({'cfg':_0x508139[_0x3d8d8b(0x146)]({'keySize':0x80/0x20,'hasher':_0x3efb73,'iterations':0x1}),'init':function(_0x35cff6){var _0x3996ed=_0x3d8d8b;this['cfg']=this[_0x3996ed(0x32d)][_0x3996ed(0x146)](_0x35cff6);},'compute':function(_0xf3d728,_0x15b56f){var _0x2eca8d=_0x3d8d8b;for(var _0x9571d4,_0x555dee=this[_0x2eca8d(0x32d)],_0x3d9b9e=_0x555dee[_0x2eca8d(0x16d)]['create'](),_0x2c4204=_0xab2f5b[_0x2eca8d(0x236)](),_0x1d6c9c=_0x2c4204['words'],_0x5c33f6=_0x555dee[_0x2eca8d(0x370)],_0x113d77=_0x555dee[_0x2eca8d(0x1b0)];_0x1d6c9c[_0x2eca8d(0x25a)]<_0x5c33f6;){_0x9571d4&&_0x3d9b9e[_0x2eca8d(0x151)](_0x9571d4),_0x9571d4=_0x3d9b9e[_0x2eca8d(0x151)](_0xf3d728)[_0x2eca8d(0x23c)](_0x15b56f),_0x3d9b9e[_0x2eca8d(0x311)]();for(var _0x2bc57a=0x1;_0x2bc57a<_0x113d77;_0x2bc57a++)_0x9571d4=_0x3d9b9e[_0x2eca8d(0x23c)](_0x9571d4),_0x3d9b9e[_0x2eca8d(0x311)]();_0x2c4204[_0x2eca8d(0x2db)](_0x9571d4);}return _0x2c4204[_0x2eca8d(0x43b)]=_0x5c33f6*0x4,_0x2c4204;}});_0x16a8c4[_0x3d8d8b(0x3b0)]=function(_0x5f1316,_0x546898,_0x13259d){var _0x1c1c3d=_0x3d8d8b;return _0x5e02e8['create'](_0x13259d)[_0x1c1c3d(0x1f5)](_0x5f1316,_0x546898);};}()),_0xbf1554[_0x1fc92e(0x3b0)];}));}(Ke)),Ke[_0x6bb33a(0x209)];}var Je={'exports':{}},In=Je['exports'],ei;function Ni(){var _0x3898f9=_0x1cf15a;return ei||(ei=0x1,function(_0xf40555,_0x47cf45){(function(_0x4d2af9,_0x59d436,_0x29b0ca){_0xf40555['exports']=_0x59d436(te(),yi());}(In,function(_0x450fbc){var _0x204eeb=_0x59f7;_0x450fbc['lib'][_0x204eeb(0x1d3)]||function(_0x394b55){var _0xd29c37=_0x204eeb,_0x1039aa=_0x450fbc,_0x5bd40b=_0x1039aa[_0xd29c37(0x1a5)],_0xc4343d=_0x5bd40b[_0xd29c37(0x169)],_0x518bbb=_0x5bd40b[_0xd29c37(0x42a)],_0x1affc3=_0x5bd40b[_0xd29c37(0x27e)],_0x33e15e=_0x1039aa['enc'];_0x33e15e[_0xd29c37(0x354)];var _0x562cf8=_0x33e15e[_0xd29c37(0x213)],_0x3c1d75=_0x1039aa[_0xd29c37(0x2f7)],_0x1dd907=_0x3c1d75['EvpKDF'],_0x18ecf9=_0x5bd40b[_0xd29c37(0x1d3)]=_0x1affc3[_0xd29c37(0x146)]({'cfg':_0xc4343d[_0xd29c37(0x146)](),'createEncryptor':function(_0x43ed30,_0x269939){var _0x419b0d=_0xd29c37;return this[_0x419b0d(0x236)](this[_0x419b0d(0x261)],_0x43ed30,_0x269939);},'createDecryptor':function(_0x3f4f69,_0x3f2248){var _0x566009=_0xd29c37;return this[_0x566009(0x236)](this[_0x566009(0x188)],_0x3f4f69,_0x3f2248);},'init':function(_0x5085e9,_0x558c68,_0x13f8ad){var _0x236b24=_0xd29c37;this[_0x236b24(0x32d)]=this[_0x236b24(0x32d)][_0x236b24(0x146)](_0x13f8ad),this[_0x236b24(0x260)]=_0x5085e9,this[_0x236b24(0x415)]=_0x558c68,this[_0x236b24(0x311)]();},'reset':function(){var _0x2ea42c=_0xd29c37;_0x1affc3[_0x2ea42c(0x311)][_0x2ea42c(0x2ee)](this),this[_0x2ea42c(0x2c2)]();},'process':function(_0x13a938){var _0x59a2d5=_0xd29c37;return this[_0x59a2d5(0x3a8)](_0x13a938),this[_0x59a2d5(0x1ab)]();},'finalize':function(_0x2b7097){var _0x3ab5c7=_0xd29c37;_0x2b7097&&this[_0x3ab5c7(0x3a8)](_0x2b7097);var _0xba8bad=this[_0x3ab5c7(0x389)]();return _0xba8bad;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x25ce91(_0x40c393){var _0x2ae71b=_0x59f7;return typeof _0x40c393==_0x2ae71b(0x3bf)?_0x353c73:_0x45ab24;}return function(_0x167fe4){return{'encrypt':function(_0x57a550,_0x2bb0e3,_0x10a809){return _0x25ce91(_0x2bb0e3)['encrypt'](_0x167fe4,_0x57a550,_0x2bb0e3,_0x10a809);},'decrypt':function(_0x37d0fc,_0x13e384,_0x167449){var _0x2196e0=_0x59f7;return _0x25ce91(_0x13e384)[_0x2196e0(0x2aa)](_0x167fe4,_0x37d0fc,_0x13e384,_0x167449);}};};}())});_0x5bd40b[_0xd29c37(0x1f6)]=_0x18ecf9['extend']({'_doFinalize':function(){var _0x573262=_0xd29c37,_0x38a05f=this[_0x573262(0x1ab)](!0x0);return _0x38a05f;},'blockSize':0x1});var _0x4bd0a0=_0x1039aa[_0xd29c37(0x1ac)]={},_0x3b037c=_0x5bd40b[_0xd29c37(0x27d)]=_0xc4343d[_0xd29c37(0x146)]({'createEncryptor':function(_0x5649af,_0x285578){return this['Encryptor']['create'](_0x5649af,_0x285578);},'createDecryptor':function(_0x48a450,_0x13b803){var _0x179f26=_0xd29c37;return this['Decryptor'][_0x179f26(0x236)](_0x48a450,_0x13b803);},'init':function(_0x1696e6,_0xd7fa51){this['_cipher']=_0x1696e6,this['_iv']=_0xd7fa51;}}),_0x370f16=_0x4bd0a0[_0xd29c37(0x281)]=(function(){var _0x597020=_0xd29c37,_0x1e9c99=_0x3b037c['extend']();_0x1e9c99[_0x597020(0x390)]=_0x1e9c99[_0x597020(0x146)]({'processBlock':function(_0x1b1133,_0x2a846){var _0x21ac4a=_0x597020,_0x183756=this[_0x21ac4a(0x20f)],_0x29851d=_0x183756[_0x21ac4a(0x334)];_0x123997[_0x21ac4a(0x2ee)](this,_0x1b1133,_0x2a846,_0x29851d),_0x183756[_0x21ac4a(0x3e5)](_0x1b1133,_0x2a846),this['_prevBlock']=_0x1b1133['slice'](_0x2a846,_0x2a846+_0x29851d);}}),_0x1e9c99[_0x597020(0x326)]=_0x1e9c99[_0x597020(0x146)]({'processBlock':function(_0x22623c,_0x5bf498){var _0x2d85d6=_0x597020,_0x4f8bd5=this[_0x2d85d6(0x20f)],_0x3332fd=_0x4f8bd5[_0x2d85d6(0x334)],_0xeb4790=_0x22623c[_0x2d85d6(0x22c)](_0x5bf498,_0x5bf498+_0x3332fd);_0x4f8bd5[_0x2d85d6(0x3e4)](_0x22623c,_0x5bf498),_0x123997[_0x2d85d6(0x2ee)](this,_0x22623c,_0x5bf498,_0x3332fd),this[_0x2d85d6(0x217)]=_0xeb4790;}});function _0x123997(_0x58252b,_0xd4eaff,_0x392163){var _0x5a00a6=_0x597020,_0x4e0c20,_0x4430e6=this[_0x5a00a6(0x158)];_0x4430e6?(_0x4e0c20=_0x4430e6,this[_0x5a00a6(0x158)]=_0x394b55):_0x4e0c20=this[_0x5a00a6(0x217)];for(var _0x382f2e=0x0;_0x382f2e<_0x392163;_0x382f2e++)_0x58252b[_0xd4eaff+_0x382f2e]^=_0x4e0c20[_0x382f2e];}return _0x1e9c99;}()),_0x237f28=_0x1039aa[_0xd29c37(0x3c2)]={},_0x598e15=_0x237f28[_0xd29c37(0x300)]={'pad':function(_0x15aeda,_0x5adcb5){var _0x58582a=_0xd29c37;for(var _0x302c1f=_0x5adcb5*0x4,_0x559a58=_0x302c1f-_0x15aeda[_0x58582a(0x43b)]%_0x302c1f,_0x18c1c3=_0x559a58<<0x18|_0x559a58<<0x10|_0x559a58<<0x8|_0x559a58,_0xd87d00=[],_0x5b1d68=0x0;_0x5b1d68<_0x559a58;_0x5b1d68+=0x4)_0xd87d00[_0x58582a(0x39c)](_0x18c1c3);var _0x331f4c=_0x518bbb['create'](_0xd87d00,_0x559a58);_0x15aeda[_0x58582a(0x2db)](_0x331f4c);},'unpad':function(_0x1f4b19){var _0x2b9f30=_0xd29c37,_0x250cd8=_0x1f4b19[_0x2b9f30(0x349)][_0x1f4b19[_0x2b9f30(0x43b)]-0x1>>>0x2]&0xff;_0x1f4b19['sigBytes']-=_0x250cd8;}};_0x5bd40b[_0xd29c37(0x2d0)]=_0x18ecf9[_0xd29c37(0x146)]({'cfg':_0x18ecf9[_0xd29c37(0x32d)][_0xd29c37(0x146)]({'mode':_0x370f16,'padding':_0x598e15}),'reset':function(){var _0x4cda4e=_0xd29c37,_0x1d0aff;_0x18ecf9['reset'][_0x4cda4e(0x2ee)](this);var _0xe69889=this['cfg'],_0x1240f0=_0xe69889['iv'],_0x1a8e99=_0xe69889[_0x4cda4e(0x1ac)];this[_0x4cda4e(0x260)]==this[_0x4cda4e(0x261)]?_0x1d0aff=_0x1a8e99[_0x4cda4e(0x19c)]:(_0x1d0aff=_0x1a8e99[_0x4cda4e(0x2f9)],this[_0x4cda4e(0x155)]=0x1),this['_mode']&&this[_0x4cda4e(0x17a)][_0x4cda4e(0x33e)]==_0x1d0aff?this[_0x4cda4e(0x17a)][_0x4cda4e(0x348)](this,_0x1240f0&&_0x1240f0[_0x4cda4e(0x349)]):(this[_0x4cda4e(0x17a)]=_0x1d0aff[_0x4cda4e(0x2ee)](_0x1a8e99,this,_0x1240f0&&_0x1240f0[_0x4cda4e(0x349)]),this[_0x4cda4e(0x17a)]['__creator']=_0x1d0aff);},'_doProcessBlock':function(_0x39dbaa,_0x567820){var _0x1f49fe=_0xd29c37;this[_0x1f49fe(0x17a)]['processBlock'](_0x39dbaa,_0x567820);},'_doFinalize':function(){var _0x667029=_0xd29c37,_0x442574,_0x7fbcd1=this['cfg'][_0x667029(0x1d7)];return this[_0x667029(0x260)]==this['_ENC_XFORM_MODE']?(_0x7fbcd1[_0x667029(0x3c2)](this[_0x667029(0x421)],this[_0x667029(0x334)]),_0x442574=this[_0x667029(0x1ab)](!0x0)):(_0x442574=this[_0x667029(0x1ab)](!0x0),_0x7fbcd1['unpad'](_0x442574)),_0x442574;},'blockSize':0x80/0x20});var _0x23c8b0=_0x5bd40b[_0xd29c37(0x36e)]=_0xc4343d['extend']({'init':function(_0x5527aa){var _0x1269fd=_0xd29c37;this[_0x1269fd(0x23b)](_0x5527aa);},'toString':function(_0x40cd0c){var _0x1d80ee=_0xd29c37;return(_0x40cd0c||this[_0x1d80ee(0x208)])[_0x1d80ee(0x160)](this);}}),_0x25a4a6=_0x1039aa[_0xd29c37(0x177)]={},_0x308fe4=_0x25a4a6[_0xd29c37(0x2b6)]={'stringify':function(_0x3c0238){var _0x454b60=_0xd29c37,_0x212f3f,_0x444936=_0x3c0238[_0x454b60(0x1f1)],_0x3d04cb=_0x3c0238['salt'];return _0x3d04cb?_0x212f3f=_0x518bbb[_0x454b60(0x236)]([0x53616c74,0x65645f5f])[_0x454b60(0x2db)](_0x3d04cb)[_0x454b60(0x2db)](_0x444936):_0x212f3f=_0x444936,_0x212f3f[_0x454b60(0x1db)](_0x562cf8);},'parse':function(_0x7e2740){var _0x474348=_0xd29c37,_0x3d9f53,_0x252d5e=_0x562cf8['parse'](_0x7e2740),_0x321a68=_0x252d5e['words'];return _0x321a68[0x0]==0x53616c74&&_0x321a68[0x1]==0x65645f5f&&(_0x3d9f53=_0x518bbb['create'](_0x321a68[_0x474348(0x22c)](0x2,0x4)),_0x321a68['splice'](0x0,0x4),_0x252d5e[_0x474348(0x43b)]-=0x10),_0x23c8b0['create']({'ciphertext':_0x252d5e,'salt':_0x3d9f53});}},_0x45ab24=_0x5bd40b[_0xd29c37(0x3af)]=_0xc4343d['extend']({'cfg':_0xc4343d[_0xd29c37(0x146)]({'format':_0x308fe4}),'encrypt':function(_0x571f0e,_0x56b0f2,_0xe8e8fd,_0x3e6b67){var _0x4426cc=_0xd29c37;_0x3e6b67=this['cfg'][_0x4426cc(0x146)](_0x3e6b67);var _0x383e3e=_0x571f0e['createEncryptor'](_0xe8e8fd,_0x3e6b67),_0x3476bf=_0x383e3e[_0x4426cc(0x23c)](_0x56b0f2),_0x549902=_0x383e3e['cfg'];return _0x23c8b0[_0x4426cc(0x236)]({'ciphertext':_0x3476bf,'key':_0xe8e8fd,'iv':_0x549902['iv'],'algorithm':_0x571f0e,'mode':_0x549902[_0x4426cc(0x1ac)],'padding':_0x549902[_0x4426cc(0x1d7)],'blockSize':_0x571f0e[_0x4426cc(0x334)],'formatter':_0x3e6b67[_0x4426cc(0x177)]});},'decrypt':function(_0x4229a3,_0x22b0d6,_0x323662,_0x51e17c){var _0xc78ff4=_0xd29c37;_0x51e17c=this['cfg'][_0xc78ff4(0x146)](_0x51e17c),_0x22b0d6=this[_0xc78ff4(0x1be)](_0x22b0d6,_0x51e17c[_0xc78ff4(0x177)]);var _0x233403=_0x4229a3[_0xc78ff4(0x2f9)](_0x323662,_0x51e17c)['finalize'](_0x22b0d6[_0xc78ff4(0x1f1)]);return _0x233403;},'_parse':function(_0x2e53bd,_0x5b2cce){var _0x335db4=_0xd29c37;return typeof _0x2e53bd==_0x335db4(0x3bf)?_0x5b2cce['parse'](_0x2e53bd,this):_0x2e53bd;}}),_0x26e88c=_0x1039aa[_0xd29c37(0x1a7)]={},_0x51a770=_0x26e88c[_0xd29c37(0x2b6)]={'execute':function(_0x5cae49,_0x30f43f,_0x551b96,_0x333dd4,_0x22d0d6){var _0x35b248=_0xd29c37;if(_0x333dd4||(_0x333dd4=_0x518bbb[_0x35b248(0x242)](0x40/0x8)),_0x22d0d6)var _0x2002c6=_0x1dd907[_0x35b248(0x236)]({'keySize':_0x30f43f+_0x551b96,'hasher':_0x22d0d6})[_0x35b248(0x1f5)](_0x5cae49,_0x333dd4);else var _0x2002c6=_0x1dd907['create']({'keySize':_0x30f43f+_0x551b96})[_0x35b248(0x1f5)](_0x5cae49,_0x333dd4);var _0x42e00b=_0x518bbb['create'](_0x2002c6[_0x35b248(0x349)][_0x35b248(0x22c)](_0x30f43f),_0x551b96*0x4);return _0x2002c6[_0x35b248(0x43b)]=_0x30f43f*0x4,_0x23c8b0[_0x35b248(0x236)]({'key':_0x2002c6,'iv':_0x42e00b,'salt':_0x333dd4});}},_0x353c73=_0x5bd40b['PasswordBasedCipher']=_0x45ab24['extend']({'cfg':_0x45ab24[_0xd29c37(0x32d)][_0xd29c37(0x146)]({'kdf':_0x51a770}),'encrypt':function(_0xbe6227,_0x3f18c0,_0x2b73a7,_0x362579){var _0x196f27=_0xd29c37;_0x362579=this[_0x196f27(0x32d)][_0x196f27(0x146)](_0x362579);var _0x1ac359=_0x362579[_0x196f27(0x1a7)]['execute'](_0x2b73a7,_0xbe6227[_0x196f27(0x370)],_0xbe6227[_0x196f27(0x154)],_0x362579[_0x196f27(0x19f)],_0x362579[_0x196f27(0x16d)]);_0x362579['iv']=_0x1ac359['iv'];var _0x397434=_0x45ab24[_0x196f27(0x356)][_0x196f27(0x2ee)](this,_0xbe6227,_0x3f18c0,_0x1ac359['key'],_0x362579);return _0x397434['mixIn'](_0x1ac359),_0x397434;},'decrypt':function(_0x205a6e,_0xea24f8,_0x4595ef,_0x323865){var _0x4f4b8a=_0xd29c37;_0x323865=this['cfg']['extend'](_0x323865),_0xea24f8=this[_0x4f4b8a(0x1be)](_0xea24f8,_0x323865['format']);var _0x51f204=_0x323865[_0x4f4b8a(0x1a7)][_0x4f4b8a(0x172)](_0x4595ef,_0x205a6e[_0x4f4b8a(0x370)],_0x205a6e[_0x4f4b8a(0x154)],_0xea24f8[_0x4f4b8a(0x19f)],_0x323865['hasher']);_0x323865['iv']=_0x51f204['iv'];var _0x420c7e=_0x45ab24[_0x4f4b8a(0x2aa)][_0x4f4b8a(0x2ee)](this,_0x205a6e,_0xea24f8,_0x51f204[_0x4f4b8a(0x3c1)],_0x323865);return _0x420c7e;}});}();}));}(Je)),Je[_0x3898f9(0x209)];}var Tn=Ve['exports'],ti;function Cn(){var _0x2a0bd7=_0x1cf15a;return ti||(ti=0x1,function(_0x3d9f09,_0x487aa5){(function(_0x4d894e,_0x5e951f,_0x23eaf8){var _0x5166a6=_0x59f7;_0x3d9f09[_0x5166a6(0x209)]=_0x5e951f(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x9266de){var _0x3d33ca=_0x59f7;return(function(){var _0x5f5cc5=_0x59f7,_0x10ed11=_0x9266de,_0x4cb409=_0x10ed11[_0x5f5cc5(0x1a5)],_0x3732d8=_0x4cb409[_0x5f5cc5(0x2d0)],_0x3fce46=_0x10ed11[_0x5f5cc5(0x2f7)],_0x21bd26=[],_0x5e544b=[],_0xd0a5f5=[],_0x5c897f=[],_0x11b898=[],_0x179efa=[],_0x4a0af1=[],_0xb415=[],_0x97f0ee=[],_0x21d9b2=[];(function(){for(var _0x1f2737=[],_0x1169a4=0x0;_0x1169a4<0x100;_0x1169a4++)_0x1169a4<0x80?_0x1f2737[_0x1169a4]=_0x1169a4<<0x1:_0x1f2737[_0x1169a4]=_0x1169a4<<0x1^0x11b;for(var _0x108634=0x0,_0x5946f4=0x0,_0x1169a4=0x0;_0x1169a4<0x100;_0x1169a4++){var _0x2515cd=_0x5946f4^_0x5946f4<<0x1^_0x5946f4<<0x2^_0x5946f4<<0x3^_0x5946f4<<0x4;_0x2515cd=_0x2515cd>>>0x8^_0x2515cd&0xff^0x63,_0x21bd26[_0x108634]=_0x2515cd,_0x5e544b[_0x2515cd]=_0x108634;var _0x155c46=_0x1f2737[_0x108634],_0x3b54ba=_0x1f2737[_0x155c46],_0x25f620=_0x1f2737[_0x3b54ba],_0x3d8017=_0x1f2737[_0x2515cd]*0x101^_0x2515cd*0x1010100;_0xd0a5f5[_0x108634]=_0x3d8017<<0x18|_0x3d8017>>>0x8,_0x5c897f[_0x108634]=_0x3d8017<<0x10|_0x3d8017>>>0x10,_0x11b898[_0x108634]=_0x3d8017<<0x8|_0x3d8017>>>0x18,_0x179efa[_0x108634]=_0x3d8017;var _0x3d8017=_0x25f620*0x1010101^_0x3b54ba*0x10001^_0x155c46*0x101^_0x108634*0x1010100;_0x4a0af1[_0x2515cd]=_0x3d8017<<0x18|_0x3d8017>>>0x8,_0xb415[_0x2515cd]=_0x3d8017<<0x10|_0x3d8017>>>0x10,_0x97f0ee[_0x2515cd]=_0x3d8017<<0x8|_0x3d8017>>>0x18,_0x21d9b2[_0x2515cd]=_0x3d8017,_0x108634?(_0x108634=_0x155c46^_0x1f2737[_0x1f2737[_0x1f2737[_0x25f620^_0x155c46]]],_0x5946f4^=_0x1f2737[_0x1f2737[_0x5946f4]]):_0x108634=_0x5946f4=0x1;}}());var _0x16c762=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x5a610b=_0x3fce46['AES']=_0x3732d8[_0x5f5cc5(0x146)]({'_doReset':function(){var _0x4ad31d=_0x5f5cc5,_0x34b1e2;if(!(this[_0x4ad31d(0x1e4)]&&this[_0x4ad31d(0x15c)]===this[_0x4ad31d(0x415)])){for(var _0x113f91=this[_0x4ad31d(0x15c)]=this[_0x4ad31d(0x415)],_0x582af8=_0x113f91[_0x4ad31d(0x349)],_0x1c9a98=_0x113f91[_0x4ad31d(0x43b)]/0x4,_0x37b8d3=this[_0x4ad31d(0x1e4)]=_0x1c9a98+0x6,_0x489d0a=(_0x37b8d3+0x1)*0x4,_0x317b49=this[_0x4ad31d(0x350)]=[],_0x530861=0x0;_0x530861<_0x489d0a;_0x530861++)_0x530861<_0x1c9a98?_0x317b49[_0x530861]=_0x582af8[_0x530861]:(_0x34b1e2=_0x317b49[_0x530861-0x1],_0x530861%_0x1c9a98?_0x1c9a98>0x6&&_0x530861%_0x1c9a98==0x4&&(_0x34b1e2=_0x21bd26[_0x34b1e2>>>0x18]<<0x18|_0x21bd26[_0x34b1e2>>>0x10&0xff]<<0x10|_0x21bd26[_0x34b1e2>>>0x8&0xff]<<0x8|_0x21bd26[_0x34b1e2&0xff]):(_0x34b1e2=_0x34b1e2<<0x8|_0x34b1e2>>>0x18,_0x34b1e2=_0x21bd26[_0x34b1e2>>>0x18]<<0x18|_0x21bd26[_0x34b1e2>>>0x10&0xff]<<0x10|_0x21bd26[_0x34b1e2>>>0x8&0xff]<<0x8|_0x21bd26[_0x34b1e2&0xff],_0x34b1e2^=_0x16c762[_0x530861/_0x1c9a98|0x0]<<0x18),_0x317b49[_0x530861]=_0x317b49[_0x530861-_0x1c9a98]^_0x34b1e2);for(var _0x5437b2=this[_0x4ad31d(0x361)]=[],_0x2a9268=0x0;_0x2a9268<_0x489d0a;_0x2a9268++){var _0x530861=_0x489d0a-_0x2a9268;if(_0x2a9268%0x4)var _0x34b1e2=_0x317b49[_0x530861];else var _0x34b1e2=_0x317b49[_0x530861-0x4];_0x2a9268<0x4||_0x530861<=0x4?_0x5437b2[_0x2a9268]=_0x34b1e2:_0x5437b2[_0x2a9268]=_0x4a0af1[_0x21bd26[_0x34b1e2>>>0x18]]^_0xb415[_0x21bd26[_0x34b1e2>>>0x10&0xff]]^_0x97f0ee[_0x21bd26[_0x34b1e2>>>0x8&0xff]]^_0x21d9b2[_0x21bd26[_0x34b1e2&0xff]];}}},'encryptBlock':function(_0x2f5226,_0x39c192){var _0x5f3019=_0x5f5cc5;this[_0x5f3019(0x29a)](_0x2f5226,_0x39c192,this[_0x5f3019(0x350)],_0xd0a5f5,_0x5c897f,_0x11b898,_0x179efa,_0x21bd26);},'decryptBlock':function(_0xe60ef2,_0x1c663a){var _0x4013d8=_0x5f5cc5,_0x14dbd1=_0xe60ef2[_0x1c663a+0x1];_0xe60ef2[_0x1c663a+0x1]=_0xe60ef2[_0x1c663a+0x3],_0xe60ef2[_0x1c663a+0x3]=_0x14dbd1,this[_0x4013d8(0x29a)](_0xe60ef2,_0x1c663a,this[_0x4013d8(0x361)],_0x4a0af1,_0xb415,_0x97f0ee,_0x21d9b2,_0x5e544b);var _0x14dbd1=_0xe60ef2[_0x1c663a+0x1];_0xe60ef2[_0x1c663a+0x1]=_0xe60ef2[_0x1c663a+0x3],_0xe60ef2[_0x1c663a+0x3]=_0x14dbd1;},'_doCryptBlock':function(_0x5c8362,_0x26941f,_0x2b9c8b,_0x502e8c,_0x4479cd,_0x1bdec4,_0x55db26,_0x291ad1){var _0x473e69=_0x5f5cc5;for(var _0x47f1e5=this[_0x473e69(0x1e4)],_0x29a3a9=_0x5c8362[_0x26941f]^_0x2b9c8b[0x0],_0x34c8f3=_0x5c8362[_0x26941f+0x1]^_0x2b9c8b[0x1],_0x2bf76a=_0x5c8362[_0x26941f+0x2]^_0x2b9c8b[0x2],_0x5201ff=_0x5c8362[_0x26941f+0x3]^_0x2b9c8b[0x3],_0x322fc9=0x4,_0xa8831f=0x1;_0xa8831f<_0x47f1e5;_0xa8831f++){var _0x2f364f=_0x502e8c[_0x29a3a9>>>0x18]^_0x4479cd[_0x34c8f3>>>0x10&0xff]^_0x1bdec4[_0x2bf76a>>>0x8&0xff]^_0x55db26[_0x5201ff&0xff]^_0x2b9c8b[_0x322fc9++],_0x5c1d01=_0x502e8c[_0x34c8f3>>>0x18]^_0x4479cd[_0x2bf76a>>>0x10&0xff]^_0x1bdec4[_0x5201ff>>>0x8&0xff]^_0x55db26[_0x29a3a9&0xff]^_0x2b9c8b[_0x322fc9++],_0x3257cd=_0x502e8c[_0x2bf76a>>>0x18]^_0x4479cd[_0x5201ff>>>0x10&0xff]^_0x1bdec4[_0x29a3a9>>>0x8&0xff]^_0x55db26[_0x34c8f3&0xff]^_0x2b9c8b[_0x322fc9++],_0x31384c=_0x502e8c[_0x5201ff>>>0x18]^_0x4479cd[_0x29a3a9>>>0x10&0xff]^_0x1bdec4[_0x34c8f3>>>0x8&0xff]^_0x55db26[_0x2bf76a&0xff]^_0x2b9c8b[_0x322fc9++];_0x29a3a9=_0x2f364f,_0x34c8f3=_0x5c1d01,_0x2bf76a=_0x3257cd,_0x5201ff=_0x31384c;}var _0x2f364f=(_0x291ad1[_0x29a3a9>>>0x18]<<0x18|_0x291ad1[_0x34c8f3>>>0x10&0xff]<<0x10|_0x291ad1[_0x2bf76a>>>0x8&0xff]<<0x8|_0x291ad1[_0x5201ff&0xff])^_0x2b9c8b[_0x322fc9++],_0x5c1d01=(_0x291ad1[_0x34c8f3>>>0x18]<<0x18|_0x291ad1[_0x2bf76a>>>0x10&0xff]<<0x10|_0x291ad1[_0x5201ff>>>0x8&0xff]<<0x8|_0x291ad1[_0x29a3a9&0xff])^_0x2b9c8b[_0x322fc9++],_0x3257cd=(_0x291ad1[_0x2bf76a>>>0x18]<<0x18|_0x291ad1[_0x5201ff>>>0x10&0xff]<<0x10|_0x291ad1[_0x29a3a9>>>0x8&0xff]<<0x8|_0x291ad1[_0x34c8f3&0xff])^_0x2b9c8b[_0x322fc9++],_0x31384c=(_0x291ad1[_0x5201ff>>>0x18]<<0x18|_0x291ad1[_0x29a3a9>>>0x10&0xff]<<0x10|_0x291ad1[_0x34c8f3>>>0x8&0xff]<<0x8|_0x291ad1[_0x2bf76a&0xff])^_0x2b9c8b[_0x322fc9++];_0x5c8362[_0x26941f]=_0x2f364f,_0x5c8362[_0x26941f+0x1]=_0x5c1d01,_0x5c8362[_0x26941f+0x2]=_0x3257cd,_0x5c8362[_0x26941f+0x3]=_0x31384c;},'keySize':0x100/0x20});_0x10ed11['AES']=_0x3732d8[_0x5f5cc5(0x2e4)](_0x5a610b);}()),_0x9266de[_0x3d33ca(0x19e)];}));}(Ve)),Ve[_0x2a0bd7(0x209)];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x1cf15a(0x209)],si;function Nn(){return si||(si=0x1,function(_0xced7b2,_0x366ba0){(function(_0x42c3e6,_0x2b38c9){var _0x2ba8e9=_0x59f7;_0xced7b2[_0x2ba8e9(0x209)]=_0x2b38c9(te());}(yn,function(_0x571e9b){var _0x1d4cc4=_0x59f7;return _0x571e9b[_0x1d4cc4(0x438)][_0x1d4cc4(0x354)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x1cf15a(0x209)],ni;function wn(){var _0x238f63=_0x1cf15a;return ni||(ni=0x1,function(_0x1f8bed,_0x3809d9){(function(_0x224e09,_0x2fb302){_0x1f8bed['exports']=_0x2fb302(te());}(An,function(_0x281570){var _0x594f99=_0x59f7;return(function(){var _0x553ef8=_0x59f7;if(typeof ArrayBuffer==_0x553ef8(0x2d8)){var _0x489ab9=_0x281570,_0xbdb342=_0x489ab9['lib'],_0x171bda=_0xbdb342[_0x553ef8(0x42a)],_0x212369=_0x171bda[_0x553ef8(0x348)],_0x501f5e=_0x171bda[_0x553ef8(0x348)]=function(_0x1375e9){var _0x35c1d5=_0x553ef8;if(_0x1375e9 instanceof ArrayBuffer&&(_0x1375e9=new Uint8Array(_0x1375e9)),(_0x1375e9 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1375e9 instanceof Uint8ClampedArray||_0x1375e9 instanceof Int16Array||_0x1375e9 instanceof Uint16Array||_0x1375e9 instanceof Int32Array||_0x1375e9 instanceof Uint32Array||_0x1375e9 instanceof Float32Array||_0x1375e9 instanceof Float64Array)&&(_0x1375e9=new Uint8Array(_0x1375e9[_0x35c1d5(0x1bd)],_0x1375e9[_0x35c1d5(0x394)],_0x1375e9['byteLength'])),_0x1375e9 instanceof Uint8Array){for(var _0x1fc943=_0x1375e9['byteLength'],_0x44b8df=[],_0x208212=0x0;_0x208212<_0x1fc943;_0x208212++)_0x44b8df[_0x208212>>>0x2]|=_0x1375e9[_0x208212]<<0x18-_0x208212%0x4*0x8;_0x212369['call'](this,_0x44b8df,_0x1fc943);}else _0x212369[_0x35c1d5(0x436)](this,arguments);};_0x501f5e[_0x553ef8(0x1c9)]=_0x171bda;}}()),_0x281570[_0x594f99(0x1a5)]['WordArray'];}));}(Ze)),Ze[_0x238f63(0x209)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe['exports'],ri;function xn(){var _0x210a51=_0x1cf15a;return ri||(ri=0x1,function(_0x3308b7,_0x41d025){(function(_0x42b3ee,_0x4c43ec,_0x322f3c){var _0x3df9e0=_0x59f7;_0x3308b7[_0x3df9e0(0x209)]=_0x4c43ec(te(),Ni());}(Mn,function(_0x43fcce){var _0x111076=_0x59f7;return _0x43fcce['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x43fcce['pad'][_0x111076(0x365)];}));}(Qe)),Qe[_0x210a51(0x209)];}var kn=xn();const $n=$e(kn);function Hn(_0x11dcb5,_0x452e00){var _0x2558c1=_0x1cf15a;const _0x58e089=_0x452e00-_0x11dcb5[_0x2558c1(0x25a)]%_0x452e00,_0x4e2e82=String[_0x2558c1(0x227)](_0x58e089)[_0x2558c1(0x41a)](_0x58e089);return _0x11dcb5+_0x4e2e82;}function Bn(_0x573add,_0x4e8393){var _0x2079ea=_0x1cf15a;const _0x570433=Ln[_0x2079ea(0x242)](0x10),_0x3ad27b=Hn(_0x573add,0x10),_0x1ea385=bn[_0x2079ea(0x356)](Un['parse'](_0x3ad27b),ii['parse'](_0x4e8393),{'iv':_0x570433,'padding':$n});return _0x570433[_0x2079ea(0x2db)](_0x1ea385[_0x2079ea(0x1f1)])[_0x2079ea(0x1db)](ii);}function jn(){var _0x28b78d=_0x1cf15a;const _0x4b020c=_0x1f17fb()[_0x28b78d(0x2ec)];if(_0x4b020c){const _0x3529e6={'time':Math[_0x28b78d(0x399)](Date['now']()/0x3e8),'domain':location[_0x28b78d(0x27a)]};return Bn(JSON['stringify'](_0x3529e6),_0x4b020c);}}var Fn=Object[_0x1cf15a(0x2fc)],Vn=(_0x4a0155,_0x5de3f2,_0xc2df9f,_0x4af841)=>{var _0x32903b=_0x1cf15a;for(var _0x1ef5ed=_0x4af841>0x1?void 0x0:_0x4af841?Fn(_0x5de3f2,_0xc2df9f):_0x5de3f2,_0x57a7a1=_0x4a0155[_0x32903b(0x25a)]-0x1,_0x3667e0;_0x57a7a1>=0x0;_0x57a7a1--)(_0x3667e0=_0x4a0155[_0x57a7a1])&&(_0x1ef5ed=_0x3667e0(_0x1ef5ed)||_0x1ef5ed);return _0x1ef5ed;},Gn=(_0x478563,_0x37f646)=>(_0x37ff34,_0x4c2e46)=>_0x37f646(_0x37ff34,_0x4c2e46,_0x478563);let at=class{constructor(_0xfda1d0){var _0x2df247=_0x1cf15a;this[_0x2df247(0x2b5)]=_0xfda1d0,this[_0x2df247(0x2f6)]();}[_0x1cf15a(0x2f6)](){var _0x10c7c9=_0x1cf15a;this['_httpService'][_0x10c7c9(0x190)]({'interceptor':(_0x5a9fc5,_0x427bef)=>{var _0x20b555=_0x10c7c9;const _0x4c2189=_0x5a9fc5['headers'],_0x194560=jn();return _0x194560&&_0x4c2189['set'](_0x20b555(0x3e6),_0x194560),_0x427bef(_0x5a9fc5);}});}};at=Vn([Gn(0x0,_0x4395c3(_0x3099c1))],at);var Wn=Object['getOwnPropertyDescriptor'],Yn=(_0x2de322,_0x5f16d7,_0x5e6b31,_0x29232e)=>{for(var _0x424e91=_0x29232e>0x1?void 0x0:_0x29232e?Wn(_0x5f16d7,_0x5e6b31):_0x5f16d7,_0x417dd3=_0x2de322['length']-0x1,_0x576891;_0x417dd3>=0x0;_0x417dd3--)(_0x576891=_0x2de322[_0x417dd3])&&(_0x424e91=_0x576891(_0x424e91)||_0x424e91);return _0x424e91;},vt=(_0x20c898,_0x4c07eb)=>(_0x38b5b4,_0x3a8b57)=>_0x4c07eb(_0x38b5b4,_0x3a8b57,_0x20c898);let Ct=class extends _0x18f2f0{constructor(_0x41d938,_0x9976d9,_0x3714d4){var _0x42b446=_0x1cf15a;super(),N(this,_0x42b446(0x150),new _0x16d07d(null)),N(this,_0x42b446(0x3a2),this['_unitInfo$']['asObservable']()),(this[_0x42b446(0x353)]=_0x41d938,this[_0x42b446(0x37b)]=_0x9976d9,this['_localCacheService']=_0x3714d4);}async[_0x1cf15a(0x20c)](_0x2e3fa3,_0x515771,_0x189cc0){var _0x4dc82b=_0x1cf15a;this[_0x4dc82b(0x150)][_0x4dc82b(0x200)]({'unitId':_0x2e3fa3,'type':_0x515771});let _0x5dbf5d=null;switch(_0x515771){case Z[_0x4dc82b(0x355)]:{_0x5dbf5d=await this['_snapshotService'][_0x4dc82b(0x381)](_0x2e3fa3,_0x189cc0);break;}case Z['UNIVER_DOC']:{_0x5dbf5d=await this['_snapshotService']['loadDoc'](_0x2e3fa3,_0x189cc0);break;}default:{this[_0x4dc82b(0x353)][_0x4dc82b(0x335)](_0x4dc82b(0x2ab),_0x4dc82b(0x20e));break;}}return _0x5dbf5d;}async[_0x1cf15a(0x141)](_0x5e1737,_0x3d860f,_0xa46d52){var _0x1eec45=_0x1cf15a,_0x1921da;this[_0x1eec45(0x150)]['next']({'unitId':_0x5e1737,'type':_0x3d860f,'subUnitId':_0xa46d52});let _0x3e944c=0x0;const _0x2b381d=await((_0x1921da=this[_0x1eec45(0x37f)])==null?void 0x0:_0x1921da['loadOfflineData'](_0x5e1737));return _0x2b381d&&(_0x2b381d[_0x1eec45(0x23a)]||_0x2b381d[_0x1eec45(0x3ff)][_0x1eec45(0x25a)]!==0x0)&&(_0x3e944c=_0x2b381d['rev']),_0x3e944c===0x0&&this[_0x1eec45(0x353)][_0x1eec45(0x222)](_0x1eec45(0x2ab),_0x1eec45(0x156)),this['loadUnitOfRevision'](_0x5e1737,_0x3d860f,_0x3e944c);}};Ct=Yn([vt(0x0,_0x1ffba8),vt(0x1,_0x4395c3(_0x5e4500)),vt(0x2,_0x3ede3c(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x35f0d8,_0x1b7966,_0x2c8f9b,_0x5bf12f)=>{for(var _0x56b76f=_0x5bf12f>0x1?void 0x0:_0x5bf12f?Kn(_0x1b7966,_0x2c8f9b):_0x1b7966,_0x350af5=_0x35f0d8['length']-0x1,_0x47088a;_0x350af5>=0x0;_0x350af5--)(_0x47088a=_0x35f0d8[_0x350af5])&&(_0x56b76f=_0x47088a(_0x56b76f)||_0x56b76f);return _0x56b76f;},pt=(_0x38317c,_0x4fd10d)=>(_0x5619eb,_0x46c28d)=>_0x4fd10d(_0x5619eb,_0x46c28d,_0x38317c);const zn=[_0x1cf15a(0x34f),_0x1cf15a(0x1f3),_0x1cf15a(0x408),_0x1cf15a(0x347),_0x1cf15a(0x33b)],Jn=0x5*0x400*0x400,Xn=_0x1cf15a(0x1d1),Zn=_0x1cf15a(0x1c8),Qn=_0x1cf15a(0x14d),er=_0x1cf15a(0x36b);let Rt=class{constructor(_0x465932,_0x42b92f,_0x58002e){var _0x2ec07c=_0x1cf15a;N(this,_0x2ec07c(0x416),0x0),N(this,_0x2ec07c(0x2e5),new _0x2f0731()),N(this,_0x2ec07c(0x193),this['_change$']),N(this,_0x2ec07c(0x2d2),new Map()),(this[_0x2ec07c(0x2b5)]=_0x465932,this[_0x2ec07c(0x40d)]=_0x42b92f,this[_0x2ec07c(0x2d9)]=_0x58002e);}['setWaitCount'](_0x375af4){var _0x27f27d=_0x1cf15a;this[_0x27f27d(0x416)]=_0x375af4,this[_0x27f27d(0x2e5)][_0x27f27d(0x200)](_0x375af4);}[_0x1cf15a(0x1fa)](_0x11e14a,_0x44fbcd){var _0xe02a45=_0x1cf15a;if(_0x44fbcd===_0x32420f[_0xe02a45(0x3ca)]){const _0x1c2aed=new Image();return _0x1c2aed['src']=_0x11e14a,_0x1c2aed;}return this[_0xe02a45(0x2d2)][_0xe02a45(0x340)](_0x11e14a);}[_0x1cf15a(0x3cf)](_0x1b4ce1,_0x356dcd,_0x3ed3e8){var _0x351eeb=_0x1cf15a;_0x356dcd===_0x32420f[_0x351eeb(0x3ca)]||_0x3ed3e8==null||this[_0x351eeb(0x2d2)]['set'](_0x1b4ce1,_0x3ed3e8);}async[_0x1cf15a(0x3fe)](_0x515de8){var _0x436579=_0x1cf15a;try{const _0x48f0ac=this['_replaceFileID'](this[_0x436579(0x1ba)](),''+_0x515de8),_0x1560db=(await this[_0x436579(0x2b5)]['get'](_0x48f0ac))['body'];if(_0x1560db[_0x436579(0x335)]&&_0x1560db['error'][_0x436579(0x163)]===pi['OK']){const _0x2e2ec1=new URL(_0x1560db[_0x436579(0x345)],this['_getDownloadEndpointURL']())[_0x436579(0x1db)]();return Promise[_0x436579(0x433)](_0x2e2ec1);}return Promise['reject'](_0x1560db['error']);}catch(_0x204608){return Promise[_0x436579(0x43a)](_0x204608);}}async[_0x1cf15a(0x278)](_0x260585){var _0x3ffd41=_0x1cf15a;let _0x4bc6d4='';if(!zn[_0x3ffd41(0x3d1)](_0x260585[_0x3ffd41(0x220)]))return this[_0x3ffd41(0x422)](),Promise[_0x3ffd41(0x43a)](new Error(_0x36b5c1['ERROR_IMAGE_TYPE']));if(_0x260585['size']>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x36b5c1[_0x3ffd41(0x1b9)]));try{const _0x5e7d11=new FormData();_0x5e7d11[_0x3ffd41(0x1bf)](_0x3ffd41(0x19d),_0x260585);const _0xf6ea83=this[_0x3ffd41(0x2d9)][_0x3ffd41(0x148)](),_0x5d4d27=_0xf6ea83==null?void 0x0:_0xf6ea83[_0x3ffd41(0x2ae)]();if(!_0x5d4d27)throw new Error(_0x3ffd41(0x1ca));const _0x127960=this[_0x3ffd41(0x2fd)]()+_0x3ffd41(0x1a8)+_0x260585[_0x3ffd41(0x419)][_0x3ffd41(0x1db)]()+'&source='+mi['UnitEmbedded']+_0x3ffd41(0x2a6)+encodeURIComponent(_0x5d4d27),_0x3cd58c={'body':_0x5e7d11},_0x5c6664=(await this[_0x3ffd41(0x2b5)][_0x3ffd41(0x2ba)](_0x127960,_0x3cd58c))[_0x3ffd41(0x22e)];if(typeof _0x5c6664[_0x3ffd41(0x2e1)]!=_0x3ffd41(0x3bf))return this['_decreaseWaiting'](),Promise[_0x3ffd41(0x43a)](new Error(_0x36b5c1[_0x3ffd41(0x3f3)]));_0x4bc6d4=_0x5c6664[_0x3ffd41(0x2e1)];}catch{return this[_0x3ffd41(0x422)](),Promise['reject'](new Error(_0x36b5c1['ERROR_IMAGE']));}return new Promise((_0x4ba351,_0x5ab973)=>{var _0x15b20e=_0x3ffd41;const _0x2bb7f9=new FileReader();_0x2bb7f9['readAsDataURL'](_0x260585),_0x2bb7f9[_0x15b20e(0x157)]=_0x36b7db=>{var _0x441f50=_0x15b20e,_0x38501c;const _0x228d9c=(_0x38501c=_0x36b7db[_0x441f50(0x376)])==null?void 0x0:_0x38501c[_0x441f50(0x262)];if(_0x228d9c==null){this['_decreaseWaiting'](),_0x5ab973(new Error(_0x36b5c1[_0x441f50(0x3f3)]));return;}const _0x21355b=_0x43b5c0[_0x441f50(0x250)](0x6);_0x4ba351({'imageId':_0x21355b,'imageSourceType':_0x32420f[_0x441f50(0x273)],'source':_0x4bc6d4,'base64Cache':_0x228d9c,'status':_0x36b5c1[_0x441f50(0x1a4)]}),this['_decreaseWaiting']();};});}[_0x1cf15a(0x2fd)](){var _0x10700d=_0x1cf15a,_0x19bafb,_0xeeff5d;const _0x2bdc7a=this[_0x10700d(0x40d)]['getConfig'](Xn),_0x158c21=this[_0x10700d(0x40d)][_0x10700d(0x2bf)](K);return(_0xeeff5d=(_0x19bafb=_0x158c21==null?void 0x0:_0x158c21[_0x10700d(0x2f3)])!=null?_0x19bafb:_0x2bdc7a)!=null?_0xeeff5d:Zn;}[_0x1cf15a(0x1ba)](){var _0x38f98b=_0x1cf15a,_0x4d1b16,_0x31da6e;const _0x5c3457=this['_configService'][_0x38f98b(0x2bf)](Qn),_0x552805=this[_0x38f98b(0x40d)][_0x38f98b(0x2bf)](K);return(_0x31da6e=(_0x4d1b16=_0x552805==null?void 0x0:_0x552805[_0x38f98b(0x3a0)])!=null?_0x4d1b16:_0x5c3457)!=null?_0x31da6e:er;}['_getDownloadEndpointURL'](){var _0x456090=_0x1cf15a,_0x4e8587;const _0x4b086d=this[_0x456090(0x40d)][_0x456090(0x2bf)](K);return(_0x4e8587=_0x4b086d==null?void 0x0:_0x4b086d[_0x456090(0x33c)])!=null?_0x4e8587:location[_0x456090(0x35b)];}[_0x1cf15a(0x41c)](_0x9f7899,_0x213605){return _0x9f7899['replace']('{fileID}',_0x213605);}['_decreaseWaiting'](){var _0x22c9b5=_0x1cf15a;this[_0x22c9b5(0x416)]-=0x1,this['_change$'][_0x22c9b5(0x200)](this[_0x22c9b5(0x416)]);}};Rt=qn([pt(0x0,_0x4395c3(_0x3099c1)),pt(0x1,_0x149db4),pt(0x2,_0x4395c3(_0x125d03))],Rt);var tr=Object['getOwnPropertyDescriptor'],ir=(_0x22504b,_0x18395d,_0x4ccee7,_0x38eebe)=>{for(var _0x498c07=_0x38eebe>0x1?void 0x0:_0x38eebe?tr(_0x18395d,_0x4ccee7):_0x18395d,_0x405f08=_0x22504b['length']-0x1,_0x230c17;_0x405f08>=0x0;_0x405f08--)(_0x230c17=_0x22504b[_0x405f08])&&(_0x498c07=_0x230c17(_0x498c07)||_0x498c07);return _0x498c07;},ai=(_0x3b4e9a,_0x14f156)=>(_0x2fc354,_0x33b7fd)=>_0x14f156(_0x2fc354,_0x33b7fd,_0x3b4e9a);const sr='/universer-api/authz';let bt=class{constructor(_0x2c37aa,_0x39614e){var _0x3ffa09=_0x1cf15a;this['_configService']=_0x2c37aa,this[_0x3ffa09(0x2e0)]=_0x39614e;}[_0x1cf15a(0x35d)](){var _0x705cc5=_0x1cf15a,_0x14170f,_0x54cad2;const _0x130344=this['_configService'][_0x705cc5(0x2bf)](bi),_0x200316=this[_0x705cc5(0x40d)]['getConfig'](K);return(_0x54cad2=(_0x14170f=_0x200316==null?void 0x0:_0x200316[_0x705cc5(0x1eb)])!=null?_0x14170f:_0x130344)!=null?_0x54cad2:sr;}async['list'](_0x41f9d6){var _0x158d9d=_0x1cf15a;const _0x350e20=this[_0x158d9d(0x35d)]()+'/collaborator';return{'list':[{'title':'People','mentions':(await this['_HTTPService']['get'](_0x350e20,{'params':{'objectID':_0x41f9d6['unitId'],'unitID':_0x41f9d6['unitId']}}))[_0x158d9d(0x22e)][_0x158d9d(0x166)]['map'](_0x50b355=>({'objectId':_0x50b355['id'],'name':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x405)],'metadata':{'icon':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x24a)]},'label':_0x50b355[_0x158d9d(0x3c5)][_0x158d9d(0x405)],'objectType':_0x4e719d[_0x158d9d(0x3c6)]})),'metadata':{},'type':_0x4e719d[_0x158d9d(0x3c6)]}]};}};bt=ir([ai(0x0,_0x4395c3(_0x149db4)),ai(0x1,_0x4395c3(_0x3099c1))],bt);var nr=Object[_0x1cf15a(0x2fc)],rr=(_0x22128c,_0x41edeb,_0x4ea416,_0x13818f)=>{var _0x34b920=_0x1cf15a;for(var _0x355277=_0x13818f>0x1?void 0x0:_0x13818f?nr(_0x41edeb,_0x4ea416):_0x41edeb,_0x4c2edf=_0x22128c[_0x34b920(0x25a)]-0x1,_0x52d564;_0x4c2edf>=0x0;_0x4c2edf--)(_0x52d564=_0x22128c[_0x4c2edf])&&(_0x355277=_0x52d564(_0x355277)||_0x355277);return _0x355277;},Ae=(_0x3e0aa3,_0x139072)=>(_0x171198,_0x1f664f)=>_0x139072(_0x171198,_0x1f664f,_0x3e0aa3);let ot=class extends _0x18f2f0{constructor(_0x51e6fd,_0x1b1779,_0x28a5e5,_0x586690,_0x36ceac){var _0x2c7f8c=_0x1cf15a;super(),this['_injector']=_0x51e6fd,this['_univerInstanceService']=_0x1b1779,this[_0x2c7f8c(0x435)]=_0x28a5e5,this[_0x2c7f8c(0x31a)]=_0x586690,this[_0x2c7f8c(0x1b4)]=_0x36ceac,this[_0x2c7f8c(0x377)](),this[_0x2c7f8c(0x40b)]();}[_0x1cf15a(0x40b)](){var _0x4ed1e3=_0x1cf15a;const _0x3629cf=async _0x5867ad=>{var _0x504045=_0x59f7;(await this['_collaborationSessionService']['requireSession'](_0x5867ad))[_0x504045(0x2cf)][_0x504045(0x295)](_0x46e42e(_0x587f7a=>_0x587f7a[_0x504045(0x19a)]===_0x29bafd[_0x504045(0x2ea)]),_0x3ae062(this['dispose$']))[_0x504045(0x41f)](_0x1991ab=>{var _0x5015f7=_0x504045;const _0x52a628=_0x1991ab,{reason:_0x599a63}=_0x52a628[_0x5015f7(0x31c)];this[_0x5015f7(0x1b4)][_0x5015f7(0x301)]({'id':ne['CLOSE_ROOM'],'data':_0x599a63}),this['_permissionService'][_0x5015f7(0x3de)](new _0x56b723(_0x5867ad)['id'],!0x1),this[_0x5015f7(0x31a)]['closeSession'](_0x5867ad);});};_0xf55bf(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1dfda5[_0x4ed1e3(0x355)]),this[_0x4ed1e3(0x2d9)][_0x4ed1e3(0x211)](_0x1dfda5[_0x4ed1e3(0x22a)]))['pipe'](_0x1baf73(_0x52416f=>_0x52416f[_0x4ed1e3(0x2ae)]()),_0x46e42e(_0x5e8d12=>!_0x1be6f8(_0x5e8d12)),_0x3ae062(this[_0x4ed1e3(0x277)]))[_0x4ed1e3(0x41f)](_0x32747d=>{_0x3629cf(_0x32747d);});}[_0x1cf15a(0x377)](){var _0x2c2645=_0x1cf15a;const _0x252c40=async _0x5f3b58=>{var _0x41a722=_0x59f7;const _0x53a5b2=await this[_0x41a722(0x31a)][_0x41a722(0x398)](_0x5f3b58),_0x3b403e=this[_0x41a722(0x1bb)][_0x41a722(0x340)](_0x23aad7);_0x53a5b2[_0x41a722(0x2cf)][_0x41a722(0x295)](_0x46e42e(_0x53006a=>_0x53006a[_0x41a722(0x19a)]===_0x29bafd[_0x41a722(0x32a)]),_0x3ae062(this[_0x41a722(0x277)]))[_0x41a722(0x41f)](_0x54b8b6=>{var _0x5e571b=_0x41a722;const _0x15a6bd=_0x54b8b6,{objectId:_0x33db03}=_0x15a6bd['data'];_0x33db03===_0x5f3b58?_0x3b403e['initWorkbookPermissionChange'](_0x5f3b58):_0x3b403e[_0x5e571b(0x237)](_0x5f3b58,_0x33db03);});};_0xf55bf(this['_univerInstanceService'][_0x2c2645(0x211)](_0x1dfda5[_0x2c2645(0x355)]))[_0x2c2645(0x295)](_0x1baf73(_0x4631b6=>_0x4631b6[_0x2c2645(0x2ae)]()),_0x46e42e(_0x2a70b4=>!_0x1be6f8(_0x2a70b4)),_0x3ae062(this['dispose$']))['subscribe'](_0x1553be=>{_0x252c40(_0x1553be);});}};ot=rr([Ae(0x0,_0x4395c3(_0xac3c15)),Ae(0x1,_0x125d03),Ae(0x2,_0x4b2793),Ae(0x3,_0x4395c3(Le)),Ae(0x4,_0x4395c3(ve))],ot);var ar=Object[_0x1cf15a(0x2fc)],or=(_0x3cf65c,_0xe04d89,_0x525839,_0x3455f3)=>{var _0x362e3b=_0x1cf15a;for(var _0x18a45e=_0x3455f3>0x1?void 0x0:_0x3455f3?ar(_0xe04d89,_0x525839):_0xe04d89,_0x4687e7=_0x3cf65c[_0x362e3b(0x25a)]-0x1,_0x22331a;_0x4687e7>=0x0;_0x4687e7--)(_0x22331a=_0x3cf65c[_0x4687e7])&&(_0x18a45e=_0x22331a(_0x18a45e)||_0x18a45e);return _0x18a45e;},oi=(_0x5b8e78,_0x1fcea5)=>(_0x183978,_0x1d4b8f)=>_0x1fcea5(_0x183978,_0x1d4b8f,_0x5b8e78);let Ot=class{constructor(_0x5cedff,_0x488a18){var _0x58e20c=_0x1cf15a;this[_0x58e20c(0x40d)]=_0x5cedff,this[_0x58e20c(0x2b5)]=_0x488a18;}async[_0x1cf15a(0x276)](_0x1f13ad,_0x2678a9){var _0x363cf1=_0x1cf15a,_0x56886f;const {unitID:_0x29c0c3,type:_0x5375d4,revision:_0x164f2e=0x0}=_0x2678a9,_0x3de4ed=this['getSnapshotAPIPath']()+'/'+_0x5375d4+_0x363cf1(0x147)+_0x29c0c3+_0x363cf1(0x15f)+_0x164f2e,_0x46771b=(await this['_httpService'][_0x363cf1(0x340)](_0x3de4ed))[_0x363cf1(0x22e)],_0x14db16=(_0x56886f=_0x46771b[_0x363cf1(0x2cd)])==null?void 0x0:_0x56886f[_0x363cf1(0x3d4)];if(_0x14db16){const _0x35669e=_0x14db16==null?void 0x0:_0x14db16[_0x363cf1(0x3c8)],_0x2f2aa1=_0x53d43c['encode'](_0x55eb2a(_0x35669e));_0x14db16[_0x363cf1(0x3c8)]=_0x2f2aa1,Object[_0x363cf1(0x299)](_0x14db16['sheets'])[_0x363cf1(0x1ea)](([,_0x1349fc])=>{var _0x22c8c6=_0x363cf1;const _0x4e5876=_0x1349fc['originalMeta'],_0x442432=_0x53d43c[_0x22c8c6(0x14b)](_0x55eb2a(_0x4e5876));_0x1349fc[_0x22c8c6(0x3c8)]=_0x442432;});}return _0x46771b;}async['getSheetBlock'](_0xf76388,_0xe1e710){var _0x458c15=_0x1cf15a;const {unitID:_0x38208a,type:_0x59e20e,blockID:_0x58d52a}=_0xe1e710,_0x6ec914=this[_0x458c15(0x142)]()+'/'+_0x59e20e+_0x458c15(0x147)+_0x38208a+'/block/'+_0x58d52a;return(await this[_0x458c15(0x2b5)][_0x458c15(0x340)](_0x6ec914))[_0x458c15(0x22e)];}async['getDeserializedSheetBlock'](_0x2d0502,_0x5340ce){var _0x5c1ad9=_0x1cf15a;const {unitID:_0x59b1a6,type:_0x2b9648,blockID:_0x39e246}=_0x5340ce,_0x4adcba=this['_getAPIPrefix']()+_0x5c1ad9(0x2c5)+_0x2b9648+'/unit/'+_0x59b1a6+_0x5c1ad9(0x2c5)+_0x39e246;return(await this[_0x5c1ad9(0x2b5)][_0x5c1ad9(0x340)](_0x4adcba))[_0x5c1ad9(0x22e)];}async[_0x1cf15a(0x387)](_0x35190c,_0x412b72){var _0x370486=_0x1cf15a;const {unitID:_0x3f10fa,type:_0x3fb319,from:_0x5acba4,to:_0xde02b3}=_0x412b72,_0x4e5c34=this[_0x370486(0x142)]()+'/'+_0x3fb319+_0x370486(0x147)+_0x3f10fa+_0x370486(0x29b)+_0x5acba4+'&to='+_0xde02b3;return(await this[_0x370486(0x2b5)][_0x370486(0x340)](_0x4e5c34))['body'];}[_0x1cf15a(0x3ee)](){var _0x40afd0=_0x1cf15a,_0x6080a5;return(_0x6080a5=this[_0x40afd0(0x40d)][_0x40afd0(0x2bf)](ps))!=null?_0x6080a5:this[_0x40afd0(0x142)]();}[_0x1cf15a(0x142)](){var _0x5486f1=_0x1cf15a,_0x49c58d,_0x4e12f2;const _0xdb5078=this['_configService']['getConfig'](fs),_0x3e1ffa=this[_0x5486f1(0x40d)]['getConfig'](K);return(_0x4e12f2=(_0x49c58d=_0x3e1ffa==null?void 0x0:_0x3e1ffa[_0x5486f1(0x230)])!=null?_0x49c58d:_0xdb5078)!=null?_0x4e12f2:vs;}async['getResourcesRequest'](_0x54edb5,_0x26732d){var _0x27a520=_0x1cf15a;const _0x4a3c1d=_0x27a520(0x1fc)+_0x26732d[_0x27a520(0x220)]+_0x27a520(0x147)+_0x26732d['unitID']+'/resources';return(await this['_httpService'][_0x27a520(0x340)](_0x4a3c1d,{'params':{'resourceId':JSON[_0x27a520(0x160)](_0x26732d[_0x27a520(0x2ac)])}}))[_0x27a520(0x22e)];}[_0x1cf15a(0x3cd)](){var _0x3cee93=_0x1cf15a;throw new Error(_0x3cee93(0x1c2));}[_0x1cf15a(0x427)](){var _0x243685=_0x1cf15a;throw new Error(_0x243685(0x1c2));}[_0x1cf15a(0x175)](){var _0x423338=_0x1cf15a;throw new Error(_0x423338(0x1c2));}[_0x1cf15a(0x2ff)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x1cf15a(0x42e)](){var _0x3e9c27=_0x1cf15a;throw new Error(_0x3e9c27(0x1c2));}[_0x1cf15a(0x1cc)](){var _0x1a8cf9=_0x1cf15a;throw new Error(_0x1a8cf9(0x1c2));}};Ot=or([oi(0x0,_0x149db4),oi(0x1,_0x4395c3(_0x3099c1))],Ot);var cr=Object[_0x1cf15a(0x2fc)],hr=(_0x4d3900,_0x4252e9,_0x13762d,_0x1ce3f6)=>{var _0x7dbc21=_0x1cf15a;for(var _0x47c934=_0x1ce3f6>0x1?void 0x0:_0x1ce3f6?cr(_0x4252e9,_0x13762d):_0x4252e9,_0x15cde3=_0x4d3900[_0x7dbc21(0x25a)]-0x1,_0x5ed048;_0x15cde3>=0x0;_0x15cde3--)(_0x5ed048=_0x4d3900[_0x15cde3])&&(_0x47c934=_0x5ed048(_0x47c934)||_0x47c934);return _0x47c934;},we=(_0x10c5c1,_0x2cafae)=>(_0x57d2b1,_0x41658b)=>_0x2cafae(_0x57d2b1,_0x41658b,_0x10c5c1);let yt=class extends _0x50e5c7{constructor(_0x3c5662,_0x235a83,_0x393095,_0x34e8c0,_0x5bc0fd){var _0x2e65ee=_0x1cf15a;super(_0x3c5662,_0x235a83,_0x393095),this[_0x2e65ee(0x2e2)]=_0x34e8c0,this[_0x2e65ee(0x353)]=_0x5bc0fd;}[_0x1cf15a(0x27f)](_0x2c71e0,_0x56336e){var _0x2bcb5f=_0x1cf15a;const _0x54f6ef=this[_0x2bcb5f(0x280)](_0x2c71e0);if(_0x54f6ef)try{const _0x2607b4=this[_0x2bcb5f(0x282)](_0x54f6ef,_0x56336e);this[_0x2bcb5f(0x2f1)](_0x2c71e0,_0x2607b4);}catch(_0x58a0d2){this[_0x2bcb5f(0x353)]['error'](_0x2bcb5f(0x3fc),_0x58a0d2),this[_0x2bcb5f(0x191)](_0x2c71e0);}const _0xa92459=this[_0x2bcb5f(0x1cd)](_0x2c71e0);if(_0xa92459)try{const _0x2939da=this['_transformStack'](_0xa92459,_0x56336e);this[_0x2bcb5f(0x3e2)](_0x2c71e0,_0x2939da);}catch(_0x2cdde4){this[_0x2bcb5f(0x353)][_0x2bcb5f(0x335)](_0x2cdde4),this[_0x2bcb5f(0x1c6)](_0x2c71e0);}}[_0x1cf15a(0x191)](_0x490594){var _0x252c86=_0x1cf15a;const _0x3569a5=this[_0x252c86(0x280)](_0x490594);_0x3569a5&&(_0x3569a5[_0x252c86(0x25a)]=0x0,this[_0x252c86(0x25d)]());}[_0x1cf15a(0x1c6)](_0x5848bf){var _0x26a2a5=_0x1cf15a;const _0x35a023=this['_getRedoStack'](_0x5848bf);_0x35a023&&(_0x35a023[_0x26a2a5(0x25a)]=0x0,this[_0x26a2a5(0x25d)]());}[_0x1cf15a(0x2f1)](_0x26f6d2,_0x40cee2){var _0x4d405a=_0x1cf15a;this[_0x4d405a(0x1b7)][_0x4d405a(0x310)](_0x26f6d2,_0x40cee2),this[_0x4d405a(0x25d)]();}[_0x1cf15a(0x3e2)](_0xba606a,_0x5069b1){var _0x325c8b=_0x1cf15a;this['_redoStacks']['set'](_0xba606a,_0x5069b1),this[_0x325c8b(0x25d)]();}[_0x1cf15a(0x282)](_0x404982,_0x40ce5f){var _0xd3d860=_0x1cf15a;const _0x32c98f=[];let _0x33c790=_0x40ce5f,_0x5286f8=_0x40ce5f;for(let _0x547bfb=_0x404982['length']-0x1;_0x547bfb>=0x0;_0x547bfb--){const {unitID:_0x187c01,undoMutations:_0x14a729,redoMutations:_0x784d26}=_0x404982[_0x547bfb],_0x47f285=this[_0xd3d860(0x2e2)][_0xd3d860(0x17b)](_0x33c790,_0x14a729),_0x3e1010=this[_0xd3d860(0x2e2)]['transformMutationsWithChangeset'](_0x5286f8,_0x784d26);if(_0x5f28cd(_0x47f285)||_0x5f28cd(_0x3e1010)){this[_0xd3d860(0x353)][_0xd3d860(0x335)](_0xd3d860(0x3fc),_0xd3d860(0x22b),_0x47f285,_0x3e1010);break;}_0x33c790=_0x47f285[_0xd3d860(0x2e7)],_0x5286f8=_0x3e1010[_0xd3d860(0x2e7)],_0x32c98f[_0xd3d860(0x39c)]({'unitID':_0x187c01,'undoMutations':_0x47f285['m2Prime'],'redoMutations':_0x3e1010[_0xd3d860(0x33d)]});}return _0x32c98f['reverse']();}};yt=hr([we(0x0,_0x125d03),we(0x1,_0x751d12),we(0x2,_0x450583),we(0x3,_0x3226d7),we(0x4,_0x1ffba8)],yt);var _r=Object['defineProperty'],lr=Object[_0x1cf15a(0x2fc)],ur=(_0x5de558,_0x1433ec,_0x202559)=>_0x1433ec in _0x5de558?_r(_0x5de558,_0x1433ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202559}):_0x5de558[_0x1433ec]=_0x202559,dr=(_0x46004a,_0xc6ef19,_0xa88636,_0x1fbb59)=>{var _0x54d57e=_0x1cf15a;for(var _0x55dd7f=_0x1fbb59>0x1?void 0x0:_0x1fbb59?lr(_0xc6ef19,_0xa88636):_0xc6ef19,_0x4f3cf4=_0x46004a[_0x54d57e(0x25a)]-0x1,_0x36bf17;_0x4f3cf4>=0x0;_0x4f3cf4--)(_0x36bf17=_0x46004a[_0x4f3cf4])&&(_0x55dd7f=_0x36bf17(_0x55dd7f)||_0x55dd7f);return _0x55dd7f;},mt=(_0xd4703f,_0x491ba6)=>(_0x468d60,_0x18bb5b)=>_0x491ba6(_0x468d60,_0x18bb5b,_0xd4703f),fr=(_0x274f67,_0x45a092,_0x36fa2d)=>ur(_0x274f67,_0x45a092+'',_0x36fa2d);const vr='UNIVER_COLLABORATION_CLIENT_PLUGIN';let Nt=class extends _0x5ebafa{constructor(_0x26d0ca,_0x11f5ff,_0x26d8ee,_0x450a8c){var _0x2e8656=_0x1cf15a;super(),N(this,_0x2e8656(0x1d5)),(this[_0x2e8656(0x353)]=_0x11f5ff,this[_0x2e8656(0x1bb)]=_0x26d8ee,this[_0x2e8656(0x40d)]=_0x450a8c);const {..._0x10aa10}=_0x270510({},Ds,_0x26d0ca);if(!_0x10aa10[_0x2e8656(0x249)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e8656(0x1d5)]=_0x10aa10,this[_0x2e8656(0x40d)][_0x2e8656(0x3ce)](K,_0x10aa10);}[_0x1cf15a(0x2e6)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1cf15a(0x3db)](){var _0x1245f3=_0x1cf15a,_0x4287cd,_0x1afd32;this[_0x1245f3(0x1bb)][_0x1245f3(0x171)](_0x1ed94f)&&this['_logService']['error']('[UniverCollaborationClientPlugin]',_0x1245f3(0x252));const _0x4ce9bb=_0x1e1085([[_0x1ed94f,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this[_0x1245f3(0x1d5)][_0x1245f3(0x249)]}],[_0x38de54,{'useClass':Ot}],[_0x378d3e,{'useClass':Tt}],[_0x4dfa58,{'useClass':Rt}],[_0x36d935,{'useClass':bt}],[nt],[It]],(_0x4287cd=this[_0x1245f3(0x1d5)])==null?void 0x0:_0x4287cd[_0x1245f3(0x429)]);if(!((_0x1afd32=this[_0x1245f3(0x1d5)])!=null&&_0x1afd32[_0x1245f3(0x3c3)])){const _0x14e79d=_0x4ce9bb[_0x1245f3(0x3b2)](([_0x13e51a])=>_0x13e51a===ht);_0x14e79d!==-0x1&&_0x4ce9bb[_0x1245f3(0x409)](_0x14e79d,0x1);}_0x42f2c7(this[_0x1245f3(0x1bb)],_0x4ce9bb);}['_initDependencies'](){var _0x5cc3da=_0x1cf15a,_0x41e87e,_0x1f7dbd,_0x18bd10;this['_injector'][_0x5cc3da(0x340)](_0x3099c1)[_0x5cc3da(0x190)]({'priority':0x14,'interceptor':_0x28334d({'maxParallel':0x6})}),(_0x41e87e=this[_0x5cc3da(0x1d5)])!=null&&_0x41e87e[_0x5cc3da(0x2a8)]||(_0x1f7dbd=this[_0x5cc3da(0x1bb)][_0x5cc3da(0x340)](J,_0x334508[_0x5cc3da(0x2ef)]))==null||_0x1f7dbd[_0x5cc3da(0x201)](),(_0x18bd10=this[_0x5cc3da(0x1d5)])!=null&&_0x18bd10[_0x5cc3da(0x418)]&&_0x26668f(this[_0x5cc3da(0x1bb)],[[rt]]),_0x26668f(this[_0x5cc3da(0x1bb)],[[at],[nt],[ot]]);}};fr(Nt,_0x1cf15a(0x1cf),vr),Nt=dr([_0x2f84f5(_0x2a7d00,_0x3b2df8),mt(0x1,_0x1ffba8),mt(0x2,_0x4395c3(_0xac3c15)),mt(0x3,_0x149db4)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|
1
|
+
var _0x8cc9a2=_0x178d;(function(_0x67f9e9,_0x100f7e){var _0x5e981b=_0x178d,_0x24c867=_0x67f9e9();while(!![]){try{var _0x1d80fb=parseInt(_0x5e981b(0x1aa))/0x1+-parseInt(_0x5e981b(0x267))/0x2*(parseInt(_0x5e981b(0x310))/0x3)+-parseInt(_0x5e981b(0x289))/0x4*(-parseInt(_0x5e981b(0x30b))/0x5)+-parseInt(_0x5e981b(0x2b7))/0x6*(parseInt(_0x5e981b(0x30c))/0x7)+parseInt(_0x5e981b(0xf4))/0x8+parseInt(_0x5e981b(0x2d1))/0x9*(parseInt(_0x5e981b(0x1a3))/0xa)+-parseInt(_0x5e981b(0x129))/0xb;if(_0x1d80fb===_0x100f7e)break;else _0x24c867['push'](_0x24c867['shift']());}catch(_0x6cdf){_0x24c867['push'](_0x24c867['shift']());}}}(_0x1e84,0xdb009));var Di=Object['defineProperty'],Ui=(_0x49050a,_0x1872e8,_0x45b9fc)=>_0x1872e8 in _0x49050a?Di(_0x49050a,_0x1872e8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45b9fc}):_0x49050a[_0x1872e8]=_0x45b9fc,N=(_0x5f1128,_0x2448aa,_0x586e76)=>Ui(_0x5f1128,typeof _0x2448aa!='symbol'?_0x2448aa+'':_0x2448aa,_0x586e76);import{createIdentifier as _0x217a73,Inject as _0x2bc925,Injector as _0x5c0aec,IConfigService as _0x195c73,ILogService as _0xd27129,Disposable as _0x580a3b,DisposableCollection as _0x3b9aba,toDisposable as _0x3d946d,IUniverInstanceService as _0x24fe3b,UserManagerService as _0x3806f3,UniverInstanceType as _0x444bb2,LocaleService as _0x48830e,Optional as _0x31269b,RxDisposable as _0x13f7ae,Tools as _0x17f42b,Rectangle as _0xbecd6c,ICommandService as _0x8da825,JSONX as _0x383395,CommandType as _0x2aff31,IUndoRedoService as _0x1ab2de,IPermissionService as _0x2c39ae,sequenceExecute as _0x157570,Workbook as _0x118162,MentionType as _0x18d35c,isInternalEditorID as _0x2b0287,LocalUndoRedoService as _0x416660,IContextService as _0x128882,DependentOn as _0x356294,Plugin as _0x42526b,merge as _0x35ab8b,mergeOverrideWithDependencies as _0x4935cd,IAuthzIoService as _0x38a123,IMentionIOService as _0x449fda,registerDependencies as _0x218ff3,Quantity as _0x5df4bb,touchDependencies as _0xc06ae3}from'@univerjs/core';import{Subject as _0x71a712,merge as _0x4e790d,of as _0x32f5dc,BehaviorSubject as _0xf5efdc,takeUntil as _0x49e2dd,ReplaySubject as _0x5c9c56,take as _0x1d9788,map as _0x2b99f6,shareReplay as _0x280cd0,firstValueFrom as _0x54ae21,concatMap as _0x4ea64a}from'rxjs';import{map as _0xcf6408,take as _0x1ff15b,filter as _0x469615,delay as _0x4b53e2,takeUntil as _0x108dc2}from'rxjs/operators';import{CollaborationEvent as _0x52d112,ISnapshotServerService as _0x591680,parseChangesetToProtocol as _0x27472e,ITransformService as _0x20376b,isTransformMutationsWithChangesetSuccess as _0xaeb0b0,mapDocumentTypeToUniverType as _0x451344,RevisionService as _0x55e017,isTransformChangesetsSuccess as _0x53b0a7,CompressMutationService as _0x4b00a2,parseProtocolChangeset as _0xb25bd1,uuidv4 as _0xdb3176,SnapshotService as _0x4b7bbc,textEncoder as _0x260c50,b64DecodeUnicode as _0x3e3d73,isTransformMutationsWithChangesetFailure as _0x37d180,UniverCollaborationPlugin as _0x215b5a}from'@univerjs-pro/collaboration';import{HTTPService as _0x2b7687,ISocketService as _0x50b473,MergeInterceptorFactory as _0x480f26,HTTPRequest as _0x47c3f2,UniverNetworkPlugin as _0x1310cc,ThresholdInterceptorFactory as _0x57bbb5}from'@univerjs/network';import{ITelemetryService as _0x5f2298}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6cc34}from'@univerjs/docs';import{SheetsSelectionsService as _0x5db5ca,SetSelectionsOperation as _0x54316f,InsertSheetMutation as _0x1d6366,EmptyMutation as _0x626df2,WorkbookEditablePermission as _0x4721f5,SheetPermissionInitController as _0x12aebc}from'@univerjs/sheets';import{ImageSourceType as _0x33e4d2,ImageUploadStatusType as _0x42d9c1,IImageIoService as _0x478784}from'@univerjs/drawing';function _0x178d(_0x3faa5c,_0x42a80f){var _0x1e847a=_0x1e84();return _0x178d=function(_0x178dd1,_0x1cb770){_0x178dd1=_0x178dd1-0xbf;var _0x6c7cc3=_0x1e847a[_0x178dd1];return _0x6c7cc3;},_0x178d(_0x3faa5c,_0x42a80f);}import{getGlobalObject as _0x58db97}from'@univerjs-pro/license';const fs=_0x8cc9a2(0xcb),vs=_0x8cc9a2(0x367),ps=_0x8cc9a2(0x1c3),yr=_0x8cc9a2(0x17b),ms=0x7d0,gs='COLLAB_WEB_SOCKET_URL',Ss=_0x8cc9a2(0x2dd),Nr='/universer-api/user/session-ticket',Es=_0x8cc9a2(0x2d4),Is=0x7530,fi=_0x8cc9a2(0x1ea),vi=0x4e20,Ts=0x4e20,Cs='RETRY_CONNECTING_MAX_COUNT',Rs=0x3,Dr=_0x8cc9a2(0x298),Ur=0x3e8,bs='COLLAB_SUBMIT_CHANGESET_URL',Os=_0x8cc9a2(0x2a4),ys='LOGIN_URL_KEY',Ns=_0x8cc9a2(0x2c8),Ar=_0x8cc9a2(0x236),wr=_0x8cc9a2(0x13d);var pi=(_0x31895f=>(_0x31895f[_0x31895f['UNDEFINED']=0x0]='UNDEFINED',_0x31895f[_0x31895f['OK']=0x1]='OK',_0x31895f[_0x31895f['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x253)]=0x3]=_0x8cc9a2(0x253),_0x31895f[_0x31895f[_0x8cc9a2(0x26b)]=0x4]=_0x8cc9a2(0x26b),_0x31895f[_0x31895f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x31895f[_0x31895f[_0x8cc9a2(0x20d)]=0x6]=_0x8cc9a2(0x20d),_0x31895f[_0x31895f[_0x8cc9a2(0x1c1)]=0x7]='INVALID_ARGUMENT',_0x31895f[_0x31895f[_0x8cc9a2(0x14a)]=0x8]=_0x8cc9a2(0x14a),_0x31895f[_0x31895f[_0x8cc9a2(0x27c)]=0x9]='COMPLETION_FINISHED',_0x31895f[_0x31895f[_0x8cc9a2(0x152)]=0xa]='LOGIN_FAILED',_0x31895f[_0x31895f[_0x8cc9a2(0x28f)]=0x1389]=_0x8cc9a2(0x28f),_0x31895f[_0x31895f[_0x8cc9a2(0x18e)]=0x1771]=_0x8cc9a2(0x18e),_0x31895f[_0x31895f[_0x8cc9a2(0xd2)]=0x1772]=_0x8cc9a2(0xd2),_0x31895f[_0x31895f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x8cc9a2(0x128),_0x31895f[_0x31895f[_0x8cc9a2(0x247)]=0x1b59]='APPLY_REJECT',_0x31895f[_0x31895f[_0x8cc9a2(0x2ae)]=0x1b5a]=_0x8cc9a2(0x2ae),_0x31895f[_0x31895f[_0x8cc9a2(0x372)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x31895f[_0x31895f[_0x8cc9a2(0x305)]=0x1b5c]=_0x8cc9a2(0x305),_0x31895f[_0x31895f[_0x8cc9a2(0x32f)]=0x1b5d]=_0x8cc9a2(0x32f),_0x31895f[_0x31895f[_0x8cc9a2(0xbf)]=0x1f41]=_0x8cc9a2(0xbf),_0x31895f[_0x31895f[_0x8cc9a2(0x393)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x31895f[_0x31895f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8cc9a2(0x15c),_0x31895f[_0x31895f[_0x8cc9a2(0x2e7)]=0x232b]=_0x8cc9a2(0x2e7),_0x31895f[_0x31895f[_0x8cc9a2(0x15d)]=0x232c]=_0x8cc9a2(0x15d),_0x31895f[_0x31895f[_0x8cc9a2(0x12e)]=0x232d]=_0x8cc9a2(0x12e),_0x31895f[_0x31895f[_0x8cc9a2(0x272)]=0x2711]=_0x8cc9a2(0x272),_0x31895f[_0x31895f[_0x8cc9a2(0xf6)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x31895f[_0x31895f[_0x8cc9a2(0x326)]=0x2713]=_0x8cc9a2(0x326),_0x31895f[_0x31895f[_0x8cc9a2(0x27f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x206)]=0x271a]=_0x8cc9a2(0x206),_0x31895f[_0x31895f[_0x8cc9a2(0x186)]=0x271b]=_0x8cc9a2(0x186),_0x31895f[_0x31895f[_0x8cc9a2(0x1c0)]=0x271c]=_0x8cc9a2(0x1c0),_0x31895f[_0x31895f[_0x8cc9a2(0x32c)]=0x271d]=_0x8cc9a2(0x32c),_0x31895f[_0x31895f[_0x8cc9a2(0x2be)]=0x271e]=_0x8cc9a2(0x2be),_0x31895f[_0x31895f[_0x8cc9a2(0x2ab)]=0x271f]=_0x8cc9a2(0x2ab),_0x31895f[_0x31895f[_0x8cc9a2(0x1a0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x31895f[_0x31895f[_0x8cc9a2(0x31c)]=0x2ee1]=_0x8cc9a2(0x31c),_0x31895f[_0x31895f[_0x8cc9a2(0x1d7)]=0x2ee2]=_0x8cc9a2(0x1d7),_0x31895f[_0x31895f[_0x8cc9a2(0x235)]=0x2ee3]=_0x8cc9a2(0x235),_0x31895f[_0x31895f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x8cc9a2(0x2a5),_0x31895f[_0x31895f[_0x8cc9a2(0x352)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x31895f[_0x31895f[_0x8cc9a2(0x222)]=0x32c9]=_0x8cc9a2(0x222),_0x31895f[_0x31895f[_0x8cc9a2(0x16b)]=0x32ca]=_0x8cc9a2(0x16b),_0x31895f[_0x31895f[_0x8cc9a2(0xf1)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x31895f[_0x31895f['UNRECOGNIZED']=-0x1]=_0x8cc9a2(0x13c),_0x31895f))(pi||{}),Z=(_0x5b5622=>(_0x5b5622[_0x5b5622['UNIVER_UNKNOWN']=0x0]=_0x8cc9a2(0xf7),_0x5b5622[_0x5b5622[_0x8cc9a2(0x11c)]=0x1]=_0x8cc9a2(0x11c),_0x5b5622[_0x5b5622['UNIVER_SHEET']=0x2]=_0x8cc9a2(0x2f4),_0x5b5622[_0x5b5622['UNIVER_SLIDE']=0x3]='UNIVER_SLIDE',_0x5b5622[_0x5b5622['UNIVER_PROJECT']=0x4]=_0x8cc9a2(0x34e),_0x5b5622[_0x5b5622[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x5b5622))(Z||{}),F=(_0x10fa81=>(_0x10fa81[_0x10fa81[_0x8cc9a2(0x139)]=0x0]=_0x8cc9a2(0x139),_0x10fa81[_0x10fa81[_0x8cc9a2(0x2c4)]=0x1]=_0x8cc9a2(0x2c4),_0x10fa81[_0x10fa81['JOIN']=0x2]='JOIN',_0x10fa81[_0x10fa81[_0x8cc9a2(0x359)]=0x3]='LEAVE',_0x10fa81[_0x10fa81[_0x8cc9a2(0x19c)]=0x4]=_0x8cc9a2(0x19c),_0x10fa81[_0x10fa81[_0x8cc9a2(0x39d)]=0x5]=_0x8cc9a2(0x39d),_0x10fa81[_0x10fa81[_0x8cc9a2(0x1af)]=0x6]=_0x8cc9a2(0x1af),_0x10fa81[_0x10fa81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x10fa81))(F||{}),me=(_0x13d0f5=>(_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x3c4)]=0x0]=_0x8cc9a2(0x3c4),_0x13d0f5[_0x13d0f5['OK']=0x1]='OK',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x125)]=0x2]='FAIL',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x22d)]=0x3e9]=_0x8cc9a2(0x22d),_0x13d0f5[_0x13d0f5['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x8cc9a2(0x399),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x178)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x2c5)]=0x3ec]=_0x8cc9a2(0x2c5),_0x13d0f5[_0x13d0f5[_0x8cc9a2(0x13c)]=-0x1]='UNRECOGNIZED',_0x13d0f5))(me||{}),mi=(_0x305b81=>(_0x305b81[_0x305b81[_0x8cc9a2(0x143)]=0x0]='Undefined',_0x305b81[_0x305b81['HttpImport']=0x1]=_0x8cc9a2(0x369),_0x305b81[_0x305b81[_0x8cc9a2(0x2dc)]=0x2]=_0x8cc9a2(0x2dc),_0x305b81[_0x305b81[_0x8cc9a2(0x1ba)]=0x3]='UnitEmbedded',_0x305b81[_0x305b81[_0x8cc9a2(0x31f)]=0x4]=_0x8cc9a2(0x31f),_0x305b81[_0x305b81[_0x8cc9a2(0x10a)]=0x5]='UserProfileImg',_0x305b81[_0x305b81[_0x8cc9a2(0x13c)]=-0x1]=_0x8cc9a2(0x13c),_0x305b81))(mi||{});const K='collaboration-client.config',Ds={};var ne=(_0x50e5e2=>(_0x50e5e2[_0x8cc9a2(0x295)]=_0x8cc9a2(0x295),_0x50e5e2[_0x8cc9a2(0x253)]=_0x8cc9a2(0x253),_0x50e5e2[_0x8cc9a2(0x2ee)]='CONFLICT',_0x50e5e2[_0x8cc9a2(0x22a)]=_0x8cc9a2(0x22a),_0x50e5e2[_0x8cc9a2(0x383)]=_0x8cc9a2(0x383),_0x50e5e2[_0x8cc9a2(0x19a)]='SOCKET_FAILED_RETRY',_0x50e5e2[_0x8cc9a2(0x312)]='SOCKET_FAILED',_0x50e5e2[_0x8cc9a2(0x18d)]=_0x8cc9a2(0x18d),_0x50e5e2))(ne||{});class ve{constructor(){var _0x2b74cd=_0x8cc9a2;N(this,_0x2b74cd(0x3b2),new _0x71a712()),N(this,_0x2b74cd(0x395),this[_0x2b74cd(0x3b2)]['asObservable']());}[_0x8cc9a2(0x350)](_0xba1630){var _0x3c863e=_0x8cc9a2;this[_0x3c863e(0x3b2)]['next'](_0xba1630);}}const Us=_0x217a73(_0x8cc9a2(0x145));function As(_0x25eeab){var _0x1db796=_0x8cc9a2,_0x179054,_0x18ca88,_0x574f05,_0x532f2e,_0x55b5f9;const _0x542178=_0x25eeab['data'],_0x5f526=JSON[_0x1db796(0x3c3)](_0x542178);switch(_0x5f526[_0x1db796(0x33a)]){case F[_0x1db796(0x39d)]:case F['HELLO']:{const _0x5aca88=_0x5f526[_0x1db796(0x1d6)];return{..._0x5f526,'data':_0x5aca88,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1bd)]:{const _0x4ab8fa=_0x5f526[_0x1db796(0x300)];return{..._0x5f526,'data':_0x4ab8fa,'cmd':_0x5f526['cmd']};}case F[_0x1db796(0x1af)]:{const _0x2c4249=_0x5f526[_0x1db796(0x12f)];switch(_0x2c4249[_0x1db796(0x22e)]){case _0x52d112[_0x1db796(0x2b2)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x179054=_0x2c4249[_0x1db796(0x21d)])==null?void 0x0:_0x179054['cs']},'cmd':_0x5f526['cmd']};case _0x52d112[_0x1db796(0x2a7)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x18ca88=_0x2c4249['csAckEvent'])==null?void 0x0:_0x18ca88['cs']},'cmd':_0x5f526['cmd']};case _0x52d112['NEW_CHANGESETS']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x574f05=_0x2c4249['newCsEvent'])==null?void 0x0:_0x574f05['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x224)]:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x532f2e=_0x2c4249[_0x1db796(0x37d)])==null?void 0x0:_0x532f2e['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['CHANGESET_SHOULD_RETRY']:return{..._0x5f526,'data':{..._0x2c4249,'data':(_0x55b5f9=_0x2c4249['csShouldRetryEvent'])==null?void 0x0:_0x55b5f9['cs']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x23d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x160)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x33d)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249['joinEvent']},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x229)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x21b)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x37a)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:case _0x52d112[_0x1db796(0x165)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x338)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x225)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x308)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2a2)]:return{..._0x5f526,'data':_0x2c4249,'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0x2e3)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x187)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xc6)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x316)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112['SHOULD_CLOSE_CONN']:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0x377)]},'cmd':_0x5f526[_0x1db796(0x33a)]};case _0x52d112[_0x1db796(0xce)]:return{..._0x5f526,'data':{..._0x2c4249,'data':_0x2c4249[_0x1db796(0xf5)]},'cmd':_0x5f526[_0x1db796(0x33a)]};default:return _0x5f526;}}default:return _0x5f526;}}function ws(_0xb34013){var _0x5dc59e=_0x8cc9a2;switch(_0xb34013[_0x5dc59e(0x33a)]){case F[_0x5dc59e(0x39d)]:case F[_0x5dc59e(0x2c4)]:return JSON[_0x5dc59e(0x133)]({'cmd':_0xb34013['cmd'],'routeKey':_0xb34013[_0x5dc59e(0x34d)]});case F[_0x5dc59e(0x19c)]:{let _0x22efa9;switch(_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]){case _0x52d112['UPDATE_CURSOR']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x23d)],'updateCursorEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x229)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x229)],'leaveEvent':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['USERS_ENTER']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x33d)],'joinEvent':_0xb34013['data']['data']};break;}case _0x52d112['LIVESHARE_NEW_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x37a)],'liveShareNewHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_OPERATION']:{_0x22efa9={'eventID':_0x52d112['LIVESHARE_OPERATION'],'liveShareOperation':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112[_0x5dc59e(0x225)]:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x225)],'liveShareTerminate':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_REQUEST_HOST']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x1e4)],'liveShareRequestHost':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x32a)]};break;}case _0x52d112['LIVESHARE_FETCH_OPERATIONS']:{_0x22efa9={'eventID':_0x52d112[_0x5dc59e(0x3b5)]};break;}default:_0x22efa9={'eventID':_0xb34013[_0x5dc59e(0x32a)][_0x5dc59e(0x22e)]};}return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'collaMsg':_0x22efa9});}case F['JOIN']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'joinReq':_0xb34013[_0x5dc59e(0x32a)]});case F['LEAVE']:return JSON['stringify']({'cmd':_0xb34013[_0x5dc59e(0x33a)],'routeKey':_0xb34013[_0x5dc59e(0x34d)],'leaveReq':_0xb34013[_0x5dc59e(0x32a)]});default:throw new Error(_0x5dc59e(0x1b0));}}var Ps=Object[_0x8cc9a2(0x2fc)],Ls=(_0x24e572,_0x39c66f,_0x4473bb,_0x10dac1)=>{var _0x136b69=_0x8cc9a2;for(var _0x5b8e54=_0x10dac1>0x1?void 0x0:_0x10dac1?Ps(_0x39c66f,_0x4473bb):_0x39c66f,_0x533146=_0x24e572[_0x136b69(0x1ae)]-0x1,_0x247df3;_0x533146>=0x0;_0x533146--)(_0x247df3=_0x24e572[_0x533146])&&(_0x5b8e54=_0x247df3(_0x5b8e54)||_0x5b8e54);return _0x5b8e54;},Ue=(_0x3d7aef,_0x1cd881)=>(_0x35eac3,_0x59211c)=>_0x1cd881(_0x35eac3,_0x59211c,_0x3d7aef);const gi=_0x217a73(_0x8cc9a2(0x38a));function Ms(_0x34c6d3,_0x4fa29c,_0x3e245e){var _0x5c27b5=_0x8cc9a2;return _0x34c6d3+'/'+_0x4fa29c+_0x5c27b5(0xf0)+_0x3e245e+_0x5c27b5(0x388);}let Ft=class extends _0x580a3b{constructor(_0x183949,_0x479608,_0x5e9d3b,_0x5a3c92,_0x2f4372){var _0x4f13cc=_0x8cc9a2;super(),this[_0x4f13cc(0x127)]=_0x183949,this[_0x4f13cc(0x100)]=_0x479608,this[_0x4f13cc(0xee)]=_0x5e9d3b,this[_0x4f13cc(0x3a2)]=_0x5a3c92,this[_0x4f13cc(0x340)]=_0x2f4372;}[_0x8cc9a2(0xdd)](_0x3cf05c){var _0x149091=_0x8cc9a2;const _0x4177bd=this[_0x149091(0x127)][_0x149091(0x313)](_0x50b473);if(!_0x4177bd)throw new Error(_0x149091(0x2eb));const _0x39cca7=_0x4177bd['createSocket'](_0x3cf05c);if(!_0x39cca7)throw new Error(_0x149091(0x3c5));const _0x2f5ff3=new _0x3b9aba(),_0x443d0b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x149)][_0x149091(0x389)](_0x1a9b51=>_0x443d0b[_0x149091(0x30d)](_0x1a9b51))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x443d0b[_0x149091(0x34f)]()));const _0x38882d=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7['error$'][_0x149091(0x389)](_0x42def9=>_0x38882d[_0x149091(0x30d)](_0x42def9))),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x38882d['complete']()));const _0x23685b=new _0x71a712();_0x2f5ff3[_0x149091(0x2a1)](_0x39cca7[_0x149091(0x332)][_0x149091(0x389)](_0x3b84eb=>{var _0x5e4f1d=_0x149091;const _0x121390=As(_0x3b84eb);_0x23685b[_0x5e4f1d(0x30d)](_0x121390);})),_0x2f5ff3[_0x149091(0x2a1)](_0x3d946d(()=>_0x23685b[_0x149091(0x34f)]()));let _0x3eb5e2;const _0x1e1e16=()=>{var _0xbe8228=_0x149091;_0x38882d[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x443d0b[_0xbe8228(0x30d)](new Event(_0xbe8228(0x218))),_0x3eb5e2[_0xbe8228(0x24f)]();};return _0x3eb5e2={'memberID':'','close$':_0x443d0b[_0x149091(0x107)](),'error$':_0x38882d[_0x149091(0x107)](),'open$':_0x39cca7['open$'],'message$':_0x23685b[_0x149091(0x107)](),'send':_0x3591f9=>{var _0x5c8b62=_0x149091;if(_0x3591f9[_0x5c8b62(0x33a)]===F['INGEST']){if(_0x3591f9['data']['eventID']===_0x52d112[_0x5c8b62(0x2da)]){this[_0x5c8b62(0x2b3)](_0x3eb5e2,_0x3591f9[_0x5c8b62(0x32a)])[_0x5c8b62(0x2fa)](_0x64bee7=>{var _0x26b234=_0x5c8b62;this[_0x26b234(0x3a2)][_0x26b234(0x237)](_0x64bee7),_0x1e1e16();});return;}if(_0x3591f9[_0x5c8b62(0x32a)][_0x5c8b62(0x22e)]===_0x52d112['FETCH_MISSING']){const _0x2e325d=_0x3591f9['data'];this[_0x5c8b62(0x1b1)](_0x2e325d)[_0x5c8b62(0x15a)](_0x1150b5=>{var _0x59a5a5=_0x5c8b62;_0x23685b['next']({'cmd':F[_0x59a5a5(0x1af)],'code':me['OK'],'routeKey':_0x2e325d[_0x59a5a5(0x32a)]['unitID'],'routeType':'','data':{'eventID':_0x52d112['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1150b5}}});})[_0x5c8b62(0x2fa)](_0x26ffff=>{var _0x311dac=_0x5c8b62;this['_logService'][_0x311dac(0x237)](_0x26ffff),_0x1e1e16();});return;}}_0x39cca7['send'](ws(_0x3591f9));},'close':()=>{var _0x406167=_0x149091;_0x39cca7['close'](),_0x2f5ff3[_0x406167(0x1ab)]();}},_0x3eb5e2;}async['_submitChangeset'](_0x8f6277,_0x608101){var _0x4fdfe4=_0x8cc9a2,_0x51149b,_0x589f0b;const {unitType:_0x28c54d,unitID:_0x4e33a0,changeset:_0x2f68f8}=_0x608101[_0x4fdfe4(0x32a)],_0x3b7f3b={'unitID':_0x4e33a0,'memberID':_0x8f6277[_0x4fdfe4(0x13e)],'type':_0x28c54d,'changeset':_0x27472e(_0x2f68f8)},_0x581810=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](bs),_0x3afbae=this[_0x4fdfe4(0xee)][_0x4fdfe4(0x122)](K),_0x317fb0=Ms((_0x589f0b=(_0x51149b=_0x3afbae==null?void 0x0:_0x3afbae['collabSubmitChangesetUrl'])!=null?_0x51149b:_0x581810)!=null?_0x589f0b:Os,_0x28c54d,_0x4e33a0);try{await this[_0x4fdfe4(0x100)][_0x4fdfe4(0x171)](_0x317fb0,{'body':_0x3b7f3b});}catch(_0x200453){throw this[_0x4fdfe4(0x3a2)][_0x4fdfe4(0x237)](_0x4fdfe4(0x216),_0x4fdfe4(0x2b0)),_0x200453;}}async[_0x8cc9a2(0x1b1)](_0x5d122e){var _0x2e3198=_0x8cc9a2;const {unitID:_0x438748,from:_0x29e422,to:_0x875300,unitType:_0x29a629}=_0x5d122e[_0x2e3198(0x32a)];return(await this['_snapshotServerService'][_0x2e3198(0x120)]({'metadata':void 0x0},{'unitID':_0x438748,'type':_0x29a629,'from':_0x29e422,'to':_0x875300}))[_0x2e3198(0x318)];}};Ft=Ls([Ue(0x0,_0x2bc925(_0x5c0aec)),Ue(0x1,_0x2bc925(_0x2b7687)),Ue(0x2,_0x195c73),Ue(0x3,_0xd27129),Ue(0x4,_0x591680)],Ft);const xs=_0x8cc9a2(0x214);function ks(_0x4008b3){var _0x51ed7a=_0x8cc9a2;return JSON['stringify'](_0x4008b3)[_0x51ed7a(0x1ae)];}class Si{constructor(){var _0x2f4242=_0x8cc9a2;N(this,_0x2f4242(0x231),new _0x71a712()),N(this,_0x2f4242(0x273),this['_commentUpdate$'][_0x2f4242(0x107)]());}['onCommentUpdate'](_0x15bf59){var _0x17940e=_0x8cc9a2;this['_commentUpdate$'][_0x17940e(0x30d)](_0x15bf59);}}var $s=Object[_0x8cc9a2(0x2fc)],Hs=(_0xad1897,_0x1dee6a,_0x30256b,_0x1756ef)=>{var _0x253b9c=_0x8cc9a2;for(var _0x5dac1b=_0x1756ef>0x1?void 0x0:_0x1756ef?$s(_0x1dee6a,_0x30256b):_0x1dee6a,_0x202f3d=_0xad1897[_0x253b9c(0x1ae)]-0x1,_0x3dadfc;_0x202f3d>=0x0;_0x202f3d--)(_0x3dadfc=_0xad1897[_0x202f3d])&&(_0x5dac1b=_0x3dadfc(_0x5dac1b)||_0x5dac1b);return _0x5dac1b;},Vt=(_0x2857f9,_0x157517)=>(_0x9bf36f,_0x1b1fc5)=>_0x157517(_0x9bf36f,_0x1b1fc5,_0x2857f9);let Pe=class extends _0x580a3b{constructor(_0x2d6cec,_0x48fe87){var _0x34b29c=_0x8cc9a2;super(),N(this,_0x34b29c(0x254),new Map()),N(this,_0x34b29c(0x37e),new _0x71a712()),(this['_univerInstanceService']=_0x2d6cec,this['_userManagerService']=_0x48fe87,this[_0x34b29c(0x2ce)](_0x4e790d(this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x2f4)])['pipe'](_0xcf6408(_0xf412f3=>_0xf412f3['getUnitId']())),this[_0x34b29c(0x370)][_0x34b29c(0x309)](_0x444bb2['UNIVER_DOC'])['pipe'](_0xcf6408(_0x5186a3=>_0x5186a3['getUnitId']())),this['_univerInstanceService'][_0x34b29c(0x309)](_0x444bb2[_0x34b29c(0x36f)])['pipe'](_0xcf6408(_0x2a5a66=>_0x2a5a66[_0x34b29c(0x239)]())))[_0x34b29c(0x389)](_0x17d4ee=>this['_removeRoom'](_0x17d4ee))));}[_0x8cc9a2(0x33c)](_0x318403){var _0x3ed657=_0x8cc9a2;return this[_0x3ed657(0x254)][_0x3ed657(0x16a)](_0x318403)?_0x32f5dc(this[_0x3ed657(0x254)][_0x3ed657(0x313)](_0x318403)):this[_0x3ed657(0x37e)][_0x3ed657(0x265)](_0xcf6408(_0x56c04e=>{var _0x22500e=_0x3ed657;if(_0x56c04e===_0x318403)return this[_0x22500e(0x254)][_0x22500e(0x313)](_0x56c04e);}));}['setCurrentUser'](_0x4e4c82){var _0x5d58e1=_0x8cc9a2;this[_0x5d58e1(0x155)]['setCurrentUser'](_0x4e4c82);}[_0x8cc9a2(0x1a6)](){var _0x2ae9ed=_0x8cc9a2;return this[_0x2ae9ed(0x155)]['getCurrentUser']();}[_0x8cc9a2(0x293)](_0x38dc23,_0x209f68){var _0x1db072=_0x8cc9a2;let _0x5c337c=this[_0x1db072(0x254)][_0x1db072(0x313)](_0x38dc23);_0x5c337c||(_0x5c337c=new Bs(),this[_0x1db072(0x254)][_0x1db072(0x2bb)](_0x38dc23,_0x5c337c),this['_roomCreated$'][_0x1db072(0x30d)](_0x38dc23)),_0x5c337c[_0x1db072(0x293)](_0x209f68);}[_0x8cc9a2(0x105)](_0x15434b,_0x5d63be){var _0x38a137=_0x8cc9a2;const _0x474fb0=this[_0x38a137(0x254)]['get'](_0x15434b);_0x474fb0&&_0x474fb0[_0x38a137(0x105)](_0x5d63be);}['getRoom'](_0x330cae){var _0x589ba6=_0x8cc9a2;return this[_0x589ba6(0x254)][_0x589ba6(0x313)](_0x330cae);}[_0x8cc9a2(0x281)](_0x5bf66c,_0x1669b9){var _0x187031=_0x8cc9a2;const _0x33c5de=this['_roomMembers'][_0x187031(0x313)](_0x5bf66c);if(_0x33c5de)return _0x33c5de[_0x187031(0x281)](_0x1669b9);}[_0x8cc9a2(0x34b)](_0x4cc6cc){var _0x17dd8a=_0x8cc9a2;const _0x11e7a7=this['_roomMembers']['get'](_0x4cc6cc);_0x11e7a7&&(_0x11e7a7[_0x17dd8a(0x1ab)](),this[_0x17dd8a(0x254)][_0x17dd8a(0x2aa)](_0x4cc6cc));}[_0x8cc9a2(0x1ab)](){var _0x388579=_0x8cc9a2;this[_0x388579(0x254)][_0x388579(0x172)](_0x424227=>_0x424227[_0x388579(0x1ab)]()),this[_0x388579(0x254)][_0x388579(0x17a)](),this['_roomCreated$'][_0x388579(0x34f)]();}};Pe=Hs([Vt(0x0,_0x24fe3b),Vt(0x1,_0x2bc925(_0x3806f3))],Pe);class Bs extends _0x580a3b{constructor(){var _0x3831bb=_0x8cc9a2;super(...arguments),N(this,_0x3831bb(0x1ed),new Map()),N(this,_0x3831bb(0x390),new _0xf5efdc(this[_0x3831bb(0x1ed)])),N(this,'members$',this[_0x3831bb(0x390)][_0x3831bb(0x107)]());}['dispose'](){var _0x406c5d=_0x8cc9a2;this[_0x406c5d(0x1ed)]['clear']();}[_0x8cc9a2(0x293)](_0x5aa7ab){var _0xa73497=_0x8cc9a2;this['_members'][_0xa73497(0x2bb)](_0x5aa7ab[_0xa73497(0x13e)],_0x5aa7ab),this[_0xa73497(0x11a)]();}[_0x8cc9a2(0x105)](_0x1cc663){var _0x446653=_0x8cc9a2;this[_0x446653(0x1ed)][_0x446653(0x2aa)](_0x1cc663);}['getMember'](_0x484553){return this['_members']['get'](_0x484553);}['getAllMembers'](){var _0x22db85=_0x8cc9a2;return Array[_0x22db85(0x3a6)](this['_members'][_0x22db85(0x1fb)]());}[_0x8cc9a2(0x11a)](){var _0x5f0260=_0x8cc9a2;this[_0x5f0260(0x390)][_0x5f0260(0x30d)](this[_0x5f0260(0x1ed)]);}}var js=Object['getOwnPropertyDescriptor'],Fs=(_0x536cee,_0x3dfa95,_0x53e631,_0xd64758)=>{var _0x308ad2=_0x8cc9a2;for(var _0x350b63=_0xd64758>0x1?void 0x0:_0xd64758?js(_0x3dfa95,_0x53e631):_0x3dfa95,_0x49be9f=_0x536cee[_0x308ad2(0x1ae)]-0x1,_0x4abb01;_0x49be9f>=0x0;_0x49be9f--)(_0x4abb01=_0x536cee[_0x49be9f])&&(_0x350b63=_0x4abb01(_0x350b63)||_0x350b63);return _0x350b63;},pe=(_0x43beb1,_0x4ef14b)=>(_0x4dbebf,_0xe024aa)=>_0x4ef14b(_0x4dbebf,_0xe024aa,_0x43beb1),Se=(_0x4f1bd8=>(_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x288)]=0x0]='IDLE',_0x4f1bd8[_0x4f1bd8[_0x8cc9a2(0x1a2)]=0x1]=_0x8cc9a2(0x1a2),_0x4f1bd8[_0x4f1bd8['OFFLINE']=0x2]=_0x8cc9a2(0x19d),_0x4f1bd8[_0x4f1bd8['ONLINE']=0x3]=_0x8cc9a2(0x373),_0x4f1bd8))(Se||{});const Gt={[me[_0x8cc9a2(0x125)]]:_0x8cc9a2(0x382),[me[_0x8cc9a2(0x22d)]]:_0x8cc9a2(0x380),[me[_0x8cc9a2(0x399)]]:_0x8cc9a2(0x2e9),[me['JOIN_ROOM_PERMISSION_DENIED']]:_0x8cc9a2(0x1f7),[me[_0x8cc9a2(0x2c5)]]:'session.room-cnt-exceeds'};let gt=class extends _0x13f7ae{constructor(_0x403a41,_0x279d3c,_0x2cb289,_0x10550f,_0x448c5a,_0x4afaca,_0x604e20,_0x5cb48c,_0x55706a){var _0x538f62=_0x8cc9a2;super(),N(this,_0x538f62(0xf9),new _0xf5efdc(0x0)),N(this,_0x538f62(0xfa),this['_sessionStatus$'][_0x538f62(0x107)]()),N(this,'_event$',new _0x71a712()),N(this,'event$',this[_0x538f62(0x3b2)][_0x538f62(0x107)]()),N(this,'_socket'),N(this,'_socketMessageSubscription'),N(this,_0x538f62(0x227)),N(this,_0x538f62(0x26f),!0x1),N(this,_0x538f62(0xc8),null),(this['_unitID']=_0x403a41,this['_logService']=_0x2cb289,this[_0x538f62(0xee)]=_0x10550f,this['_localeService']=_0x448c5a,this['_memberService']=_0x4afaca,this[_0x538f62(0x25b)]=_0x604e20,this[_0x538f62(0x299)]=_0x5cb48c,this[_0x538f62(0xfb)]=_0x55706a,this[_0x538f62(0x26f)]=!!this[_0x538f62(0xfb)],_0x279d3c['pipe'](_0x49e2dd(this[_0x538f62(0x346)]))[_0x538f62(0x389)](_0x27d2ba=>{var _0x3d4622=_0x538f62,_0x147daa;typeof _0x27d2ba>'u'||(this[_0x3d4622(0x169)]=_0x27d2ba,_0x27d2ba?(this[_0x3d4622(0x348)](_0x27d2ba),this['_socketMessageSubscription']=_0x27d2ba[_0x3d4622(0x332)][_0x3d4622(0x389)](_0x5347f5=>{var _0x5581f5=_0x3d4622;_0x5347f5[_0x5581f5(0x34d)]===this[_0x5581f5(0x268)]&&this[_0x5581f5(0xe0)](_0x5347f5);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3d4622(0xf9)]['next'](0x2),(_0x147daa=this[_0x3d4622(0xd0)])==null||_0x147daa[_0x3d4622(0x31a)](),this[_0x3d4622(0xd0)]=null));}));}get['sessionStatus'](){var _0x2ed393=_0x8cc9a2;return this['_sessionStatus$'][_0x2ed393(0x14e)]();}[_0x8cc9a2(0x208)](){var _0x444571,_0x224e88;return(_0x224e88=(_0x444571=this['_socket'])==null?void 0x0:_0x444571['memberID'])!=null?_0x224e88:null;}[_0x8cc9a2(0x1ab)](){var _0x864dec=_0x8cc9a2;super['dispose'](),this[_0x864dec(0x346)][_0x864dec(0x30d)](),this[_0x864dec(0x346)][_0x864dec(0x34f)]();}[_0x8cc9a2(0x24f)](){var _0x492c4d=_0x8cc9a2,_0xa07a9a,_0x2964f2;this[_0x492c4d(0xfc)](),(_0xa07a9a=this[_0x492c4d(0x169)])==null||_0xa07a9a['send']({'cmd':F['LEAVE'],'data':{'roomID':this['_unitID']}}),(_0x2964f2=this[_0x492c4d(0x169)])==null||_0x2964f2[_0x492c4d(0x24f)](),this[_0x492c4d(0x3b2)][_0x492c4d(0x34f)](),this[_0x492c4d(0xf9)][_0x492c4d(0x34f)](),this['dispose']();}[_0x8cc9a2(0xe0)](_0x4287a8){var _0x39fe9b=_0x8cc9a2;_0x4287a8['cmd']===F['JOIN']?this[_0x39fe9b(0x1db)](_0x4287a8):_0x4287a8[_0x39fe9b(0x33a)]===F[_0x39fe9b(0x1af)]&&this['_onRecvEvent'](_0x4287a8);}[_0x8cc9a2(0x348)](_0x12173a){var _0x103acb=_0x8cc9a2;this[_0x103acb(0xf9)]['next'](0x1),_0x12173a[_0x103acb(0x2e1)]({'cmd':F[_0x103acb(0x1bd)],'routeKey':this[_0x103acb(0x268)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x8cc9a2(0x1db)](_0x4486ad){var _0x368647=_0x8cc9a2,_0x1cd315;if(_0x4486ad['code']in Gt){this['_collaborationUIEventService'][_0x368647(0x350)]({'id':ne[_0x368647(0x383)],'data':Gt[_0x4486ad[_0x368647(0x12b)]]}),this[_0x368647(0xf9)][_0x368647(0x30d)](0x2);return;}this['_sessionStatus$'][_0x368647(0x30d)](0x3);const _0x257ac1=(_0x1cd315=_0x4486ad['data'][_0x368647(0x1d4)][this[_0x368647(0x268)]])==null?void 0x0:_0x1cd315['members'];_0x257ac1&&_0x257ac1['forEach'](_0x54b844=>this[_0x368647(0x1c9)]['updateMember'](this['_unitID'],_0x54b844));}[_0x8cc9a2(0x2d6)](_0x4463f3){var _0x2dc045=_0x8cc9a2;try{const _0x3f0404=_0x4463f3[_0x2dc045(0x32a)];switch(_0x3f0404[_0x2dc045(0x22e)]){case _0x52d112['USERS_ENTER']:this[_0x2dc045(0xd6)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x229)]:this[_0x2dc045(0x167)](_0x3f0404),this[_0x2dc045(0x3b2)][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a7)]:case _0x52d112['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2a2)]:this[_0x2dc045(0x3a2)][_0x2dc045(0x237)]('save\x20fail\x20reason\x20is\x20'+JSON['stringify'](_0x3f0404)),this['_event$'][_0x2dc045(0x30d)](_0x3f0404);break;case _0x52d112[_0x2dc045(0x2e3)]:this[_0x2dc045(0x25b)][_0x2dc045(0x14f)](_0x3f0404[_0x2dc045(0x32a)]),this[_0x2dc045(0x3b2)]['next'](_0x3f0404);break;default:this['_event$']['next'](_0x3f0404);}}catch(_0x407ba7){this[_0x2dc045(0x3a2)][_0x2dc045(0x237)](_0x407ba7,_0x4463f3);}}['_onUserJoin'](_0x2327e9){var _0x48783e=_0x8cc9a2;this[_0x48783e(0x1c9)][_0x48783e(0x293)](this['_unitID'],_0x2327e9[_0x48783e(0x32a)]);}['_onUserLeave'](_0x2f684c){var _0x44f7f4=_0x8cc9a2;this[_0x44f7f4(0x1c9)][_0x44f7f4(0x105)](this[_0x44f7f4(0x268)],_0x2f684c['data']['memberID']);}async['send'](_0x53bf66,_0x48cd23){var _0x408850=_0x8cc9a2;if(this[_0x408850(0x20f)]!==0x3||!this[_0x408850(0x169)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x53bf66['eventID']===_0x52d112[_0x408850(0x2da)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x53bf66)),this['_socket']['send']({'cmd':F[_0x408850(0x19c)],'routeKey':_0x48cd23,'routeType':'','data':_0x53bf66});}catch(_0x110555){this['_logService']['error'](_0x110555);}}['_scheduleCollaborationTimeoutTimer'](){var _0x172e58=_0x8cc9a2,_0x24e0b3;this[_0x172e58(0x227)]=setTimeout(()=>{var _0x5b857a=_0x172e58;this['_collaborationTimeoutTimer']=null,this['_collaborationUIEventService']['emitEvent']({'id':ne[_0x5b857a(0x18d)]});},(_0x24e0b3=this[_0x172e58(0xee)][_0x172e58(0x122)](fi))!=null?_0x24e0b3:vi);}['_clearCollaborationTimeoutTimer'](){var _0x3ae17d=_0x8cc9a2;this[_0x3ae17d(0x227)]&&(clearTimeout(this[_0x3ae17d(0x227)]),this[_0x3ae17d(0x227)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x6de888){var _0x32c044=_0x8cc9a2;if(!this[_0x32c044(0x26f)])return;const {data:_0x3ace80}=_0x6de888,{unitID:_0x5cf892,changeset:_0x37e2f9}=_0x3ace80,{mutations:_0xef5780,type:_0x490380}=_0x37e2f9;this[_0x32c044(0xc8)]={'unitId':_0x5cf892,'type':_0x490380,'startTime':performance[_0x32c044(0xd9)](),'stopTime':0x0,'duration':0x0,'size':ks(_0xef5780)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x36e6fc=_0x8cc9a2;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this[_0x36e6fc(0x3a2)][_0x36e6fc(0x237)](_0x36e6fc(0x216),_0x36e6fc(0x194));return;}this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]=performance['now'](),this[_0x36e6fc(0xc8)][_0x36e6fc(0x354)]=this[_0x36e6fc(0xc8)][_0x36e6fc(0x141)]-this[_0x36e6fc(0xc8)][_0x36e6fc(0x17d)],this[_0x36e6fc(0xfb)]['capture'](xs,this[_0x36e6fc(0xc8)]),this['_telemetryInfo']=null;}}[_0x8cc9a2(0xfc)](){var _0x4b8521=_0x8cc9a2;this[_0x4b8521(0xc8)]=null;}};gt=Fs([pe(0x2,_0xd27129),pe(0x3,_0x195c73),pe(0x4,_0x2bc925(_0x48830e)),pe(0x5,_0x2bc925(Pe)),pe(0x6,_0x2bc925(Si)),pe(0x7,_0x2bc925(ve)),pe(0x8,_0x31269b(_0x5f2298))],gt);var Vs=Object[_0x8cc9a2(0x2fc)],Gs=(_0x3d96bc,_0x538949,_0xba3ddb,_0x309073)=>{var _0x88e256=_0x8cc9a2;for(var _0x5ba508=_0x309073>0x1?void 0x0:_0x309073?Vs(_0x538949,_0xba3ddb):_0x538949,_0x569225=_0x3d96bc[_0x88e256(0x1ae)]-0x1,_0x2f76e4;_0x569225>=0x0;_0x569225--)(_0x2f76e4=_0x3d96bc[_0x569225])&&(_0x5ba508=_0x2f76e4(_0x5ba508)||_0x5ba508);return _0x5ba508;},Re=(_0x28d39e,_0x24016e)=>(_0x51673c,_0x5defeb)=>_0x24016e(_0x51673c,_0x5defeb,_0x28d39e);let Le=class extends _0x580a3b{constructor(_0xdfea1c,_0x425c3d,_0x32f567,_0x92c195,_0x46bba6,_0x28e9ae){var _0x5b2b0c=_0x8cc9a2;super(),N(this,'_socket$',new _0xf5efdc(void 0x0)),N(this,_0x5b2b0c(0x1a9),this['_socket$'][_0x5b2b0c(0x107)]()),N(this,'_candidateSocket',null),N(this,_0x5b2b0c(0x24b),new Map()),N(this,_0x5b2b0c(0x147),new _0xf5efdc(Se['IDLE'])),N(this,_0x5b2b0c(0x26a),this[_0x5b2b0c(0x147)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,'_retryCount',0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x5b2b0c(0x307)),(this[_0x5b2b0c(0x127)]=_0xdfea1c,this[_0x5b2b0c(0x3a2)]=_0x425c3d,this[_0x5b2b0c(0xee)]=_0x32f567,this['_socketService']=_0x92c195,this[_0x5b2b0c(0x299)]=_0x46bba6,this[_0x5b2b0c(0x361)]=_0x28e9ae,this[_0x5b2b0c(0x3c6)]());}get['_socket'](){var _0x65bad5=_0x8cc9a2;return this[_0x65bad5(0x2b5)]['getValue']();}[_0x8cc9a2(0x3c6)](){var _0x288bce=_0x8cc9a2;this['_networkConditionService']&&this[_0x288bce(0x2ce)](this[_0x288bce(0x361)][_0x288bce(0x20a)][_0x288bce(0x389)](_0x190044=>{var _0xc6e5ac=_0x288bce;_0x190044&&!this[_0xc6e5ac(0x169)]&&this[_0xc6e5ac(0x16e)](),_0x190044||this[_0xc6e5ac(0x150)]();}));}[_0x8cc9a2(0x1ab)](){var _0x19c997=_0x8cc9a2;super[_0x19c997(0x1ab)](),this[_0x19c997(0x320)](),this[_0x19c997(0x1c2)](),this[_0x19c997(0x25a)](),this[_0x19c997(0x24b)]['forEach'](_0x2130cb=>_0x2130cb[_0x19c997(0x1ab)]()),this['_sessions']['clear'](),this['_status$']['complete']();}async[_0x8cc9a2(0x148)](_0x4c18da){var _0xa829d6=_0x8cc9a2;if(this['_sessions'][_0xa829d6(0x16a)](_0x4c18da))return this['_sessions'][_0xa829d6(0x313)](_0x4c18da);this[_0xa829d6(0x35e)]();const _0x226909=this[_0xa829d6(0x127)]['createInstance'](gt,_0x4c18da,this[_0xa829d6(0x2b5)][_0xa829d6(0x107)]());return this[_0xa829d6(0x24b)][_0xa829d6(0x2bb)](_0x4c18da,_0x226909),_0x226909;}[_0x8cc9a2(0x3b6)](_0x3cc960){var _0x230d4c=_0x8cc9a2,_0x314474;const _0x1b1da6=this[_0x230d4c(0x24b)][_0x230d4c(0x313)](_0x3cc960);_0x1b1da6&&(this[_0x230d4c(0x24b)]['delete'](_0x3cc960),_0x1b1da6['close']()),this['_sessions']['size']||(_0x314474=this['_socket'])==null||_0x314474[_0x230d4c(0x24f)]();}[_0x8cc9a2(0x16e)](){var _0x3f585b=_0x8cc9a2;this[_0x3f585b(0x3a3)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x3f585b(0x176)]();}[_0x8cc9a2(0x320)](){var _0x572cc8=_0x8cc9a2;this[_0x572cc8(0x3b4)]!=null&&(clearTimeout(this[_0x572cc8(0x3b4)]),this[_0x572cc8(0x3b4)]=null);}async[_0x8cc9a2(0x1e5)](){var _0x7d6ced=_0x8cc9a2,_0x4ebc0d,_0x391650;const _0x2ae92f=this[_0x7d6ced(0xee)]['getConfig'](gs),_0x497df1=this[_0x7d6ced(0xee)][_0x7d6ced(0x122)](K),_0x2e372d=(_0x391650=(_0x4ebc0d=_0x497df1==null?void 0x0:_0x497df1['collabWebSocketUrl'])!=null?_0x4ebc0d:_0x2ae92f)!=null?_0x391650:Ss,_0x153b9f=await this[_0x7d6ced(0x174)][_0x7d6ced(0x2ca)](_0x2e372d);return this['_candidateSocket']=_0x153b9f,_0x153b9f;}async[_0x8cc9a2(0x35e)](){var _0x3e9d03=_0x8cc9a2,_0x22fb4f,_0x306252;try{const _0x276576=(_0x306252=(_0x22fb4f=this[_0x3e9d03(0x169)])!=null?_0x22fb4f:this[_0x3e9d03(0x2a0)])!=null?_0x306252:await this[_0x3e9d03(0x1e5)]();if(_0x276576){const _0x3e938b=_0x276576[_0x3e9d03(0x2e1)];_0x276576[_0x3e9d03(0x2e1)]=_0x1ed4dd=>(this[_0x3e9d03(0x2d3)](),_0x3e938b[_0x3e9d03(0x368)](_0x276576,[_0x1ed4dd])),_0x276576[_0x3e9d03(0x332)][_0x3e9d03(0x389)](_0xa28284=>this[_0x3e9d03(0x1c8)](_0x276576,_0xa28284)),_0x276576[_0x3e9d03(0x1bb)]['pipe'](_0x1ff15b(0x1))['subscribe'](_0x50f894=>this[_0x3e9d03(0x3a2)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x50f894)),_0x276576[_0x3e9d03(0xc0)][_0x3e9d03(0x265)](_0x1ff15b(0x1))[_0x3e9d03(0x389)](()=>{var _0xf225cc=_0x3e9d03;this[_0xf225cc(0xde)](_0x276576);}),_0x276576['close$']['pipe'](_0x1ff15b(0x1))[_0x3e9d03(0x389)](_0x1c5980=>{var _0x47b119=_0x3e9d03;this[_0x47b119(0x3a2)][_0x47b119(0x31b)](_0x47b119(0x1fe),_0x47b119(0x2e4),_0x1c5980),this[_0x47b119(0x1da)]();});}}catch(_0x1ffc0f){this['_logService'][_0x3e9d03(0x237)](_0x1ffc0f),this['_onConnectionFailed']();}}[_0x8cc9a2(0xde)](_0x4ffed3){var _0x172617=_0x8cc9a2;this[_0x172617(0x3a2)][_0x172617(0x31b)]('[CollaborationSessionService]',_0x172617(0x325)),_0x4ffed3[_0x172617(0x2e1)]({'cmd':F['HELLO']}),this[_0x172617(0x2d3)]();}[_0x8cc9a2(0x150)](){var _0x59aaae=_0x8cc9a2;this[_0x59aaae(0x164)]=!0x1,this[_0x59aaae(0x2a0)]=null,this[_0x59aaae(0x147)][_0x59aaae(0x30d)](Se['OFFLINE']),this[_0x59aaae(0x2b5)][_0x59aaae(0x30d)](null),this[_0x59aaae(0x1c2)](),this['_clearHeartbeatTimer']();}[_0x8cc9a2(0x1da)](){var _0x29e754=_0x8cc9a2,_0x5286f6;this['_onOffline'](),this[_0x29e754(0x3a3)]<((_0x5286f6=this['_configService'][_0x29e754(0x122)](Cs))!=null?_0x5286f6:Rs)?(this[_0x29e754(0x299)][_0x29e754(0x350)]({'id':ne['SOCKET_FAILED_RETRY']}),this[_0x29e754(0x176)]()):this['_collaborationUIEventService'][_0x29e754(0x350)]({'id':ne[_0x29e754(0x312)]});}[_0x8cc9a2(0x176)](){var _0x17cca0=_0x8cc9a2,_0x3a6cda;const _0x527bc0=this[_0x17cca0(0x3a3)],_0x9eec0e=this[_0x17cca0(0xee)][_0x17cca0(0x122)](K),_0x4b94a4=_0x527bc0===0x0?0x0:((_0x3a6cda=_0x9eec0e==null?void 0x0:_0x9eec0e[_0x17cca0(0x286)])!=null?_0x3a6cda:Ts)*0x2**_0x527bc0;this[_0x17cca0(0x3b4)]=setTimeout(()=>{var _0x38b78d=_0x17cca0;clearTimeout(this['_retryConnectingTimer']),this[_0x38b78d(0x3b4)]=null,this[_0x38b78d(0x35e)]();},_0x4b94a4),this[_0x17cca0(0x3a3)]+=0x1;}[_0x8cc9a2(0x1c8)](_0x44f5cd,_0x1e324f){var _0x3fdb83=_0x8cc9a2;const {cmd:_0x388d46}=_0x1e324f;_0x388d46===F[_0x3fdb83(0x2c4)]&&!this[_0x3fdb83(0x164)]&&(_0x44f5cd[_0x3fdb83(0x13e)]=_0x1e324f[_0x3fdb83(0x32a)][_0x3fdb83(0x13e)],this[_0x3fdb83(0x2b5)][_0x3fdb83(0x30d)](_0x44f5cd),this[_0x3fdb83(0x147)][_0x3fdb83(0x30d)](Se[_0x3fdb83(0x373)]),this[_0x3fdb83(0x164)]=!0x0,this[_0x3fdb83(0x2a0)]=null),_0x388d46===F[_0x3fdb83(0x39d)]&&this[_0x3fdb83(0x1c2)](),this[_0x3fdb83(0x2d3)]();}['_rescheduleHeartbeat'](){var _0x542edc=_0x8cc9a2,_0x2bdd1c;this[_0x542edc(0x25a)](),this[_0x542edc(0xe6)]=setTimeout(()=>this[_0x542edc(0x207)](),(_0x2bdd1c=this['_configService'][_0x542edc(0x122)](Es))!=null?_0x2bdd1c:Is);}['_sendHeartbeat'](){var _0x457c09=_0x8cc9a2;this[_0x457c09(0x169)][_0x457c09(0x2e1)]({'cmd':F['HEARTBEAT']}),this[_0x457c09(0x32d)]();}[_0x8cc9a2(0x32d)](){var _0x44dda0=_0x8cc9a2,_0x18db45;this[_0x44dda0(0x307)]=setTimeout(()=>this[_0x44dda0(0x1da)](),(_0x18db45=this[_0x44dda0(0xee)][_0x44dda0(0x122)](fi))!=null?_0x18db45:vi);}[_0x8cc9a2(0x25a)](){var _0x104c6d=_0x8cc9a2;this[_0x104c6d(0xe6)]!=null&&(clearTimeout(this[_0x104c6d(0xe6)]),this[_0x104c6d(0xe6)]=null);}['_clearTimeoutTimer'](){var _0x31a66d=_0x8cc9a2;this[_0x31a66d(0x307)]!=null&&(clearTimeout(this[_0x31a66d(0x307)]),this[_0x31a66d(0x307)]=null);}};Le=Gs([Re(0x0,_0x2bc925(_0x5c0aec)),Re(0x1,_0xd27129),Re(0x2,_0x195c73),Re(0x3,gi),Re(0x4,_0x2bc925(ve)),Re(0x5,_0x31269b(Us))],Le);const J=_0x217a73(_0x8cc9a2(0x2ad));function Pr(_0x190b7b){return'unit-cache-'+_0x190b7b;}var Ws=Object[_0x8cc9a2(0x2fc)],Ys=(_0x319ea6,_0x362bfb,_0x22b8d0,_0x42b1d9)=>{var _0x55f7eb=_0x8cc9a2;for(var _0x46f57f=_0x42b1d9>0x1?void 0x0:_0x42b1d9?Ws(_0x362bfb,_0x22b8d0):_0x362bfb,_0x18d3bf=_0x319ea6[_0x55f7eb(0x1ae)]-0x1,_0x274379;_0x18d3bf>=0x0;_0x18d3bf--)(_0x274379=_0x319ea6[_0x18d3bf])&&(_0x46f57f=_0x274379(_0x46f57f)||_0x46f57f);return _0x46f57f;},ut=(_0x5b3c35,_0x19930d)=>(_0x3d33f3,_0x43abb4)=>_0x19930d(_0x3d33f3,_0x43abb4,_0x5b3c35);function Ks(_0x29e3d4){var _0xf9a0c1=_0x8cc9a2;const {unitID:_0x4f18db,mutations:_0x574822}=_0x29e3d4;return{'unitId':_0x4f18db,'subUnitId':_0x574822[0x0][_0xf9a0c1(0x3b3)]['subUnitId']};}let it=class{constructor(_0x32c859,_0x24a1cd,_0x5b2401){var _0x40efae=_0x8cc9a2;this[_0x40efae(0x127)]=_0x32c859,this[_0x40efae(0x385)]=_0x24a1cd,this[_0x40efae(0x1b9)]=_0x5b2401;}[_0x8cc9a2(0x283)](_0x40714d){var _0x58e799=_0x8cc9a2,_0x12bd35,_0x176eee,_0x12047f,_0x53e107;const _0x3c48ac=this[_0x58e799(0x127)]['get'](_0x5db5ca),{unitId:_0x18bf98,subUnitId:_0x228b46}=Ks(_0x40714d),_0x5f523f=_0x3c48ac==null?void 0x0:_0x3c48ac['getWorkbookSelections'](_0x18bf98)['getCurrentSelections'](),_0x100a52=(_0x176eee=(_0x12bd35=this[_0x58e799(0x1b9)][_0x58e799(0x343)](_0x18bf98))==null?void 0x0:_0x12bd35[_0x58e799(0x2a3)]())==null?void 0x0:_0x176eee[_0x58e799(0xcd)]();if(_0x5f523f[_0x58e799(0x1ae)]===0x0||!_0x18bf98||!_0x228b46)return;const _0x5a6599=[{'id':_0x54316f['id'],'params':{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x17f42b[_0x58e799(0x29e)](_0x5f523f)}}],_0x222275=this[_0x58e799(0x385)][_0x58e799(0x1e0)](_0x40714d,_0x5a6599);if(!_0xaeb0b0(_0x222275))throw _0x222275[_0x58e799(0x237)];const _0x182bd6=(_0x53e107=(_0x12047f=_0x222275['m2Prime'][0x0])==null?void 0x0:_0x12047f['params'])==null?void 0x0:_0x53e107[_0x58e799(0xf2)];if(Array[_0x58e799(0x287)](_0x182bd6)&&_0x182bd6['length']){if(_0x182bd6['length']===_0x5a6599[0x0][_0x58e799(0x3b3)][_0x58e799(0xf2)][_0x58e799(0x1ae)]&&_0x182bd6[_0x58e799(0x14c)]((_0x3c535c,_0x56c593)=>_0xbecd6c[_0x58e799(0x2fd)](_0x3c535c[_0x58e799(0xd4)],_0x5a6599[0x0][_0x58e799(0x3b3)]['selections'][_0x56c593][_0x58e799(0xd4)])))return;this[_0x58e799(0x127)][_0x58e799(0x313)](_0x8da825)[_0x58e799(0x280)](_0x54316f['id'],{'unitId':_0x18bf98,'subUnitId':_0x100a52,'selections':_0x182bd6});}}};it=Ys([ut(0x0,_0x2bc925(_0x5c0aec)),ut(0x1,_0x20376b),ut(0x2,_0x24fe3b)],it);const ht=_0x217a73(_0x8cc9a2(0x398));var Ei=(_0x9eb281=>(_0x9eb281[_0x9eb281['NO_OTHER_CLIENTS_EDITING']=0x0]='NO_OTHER_CLIENTS_EDITING',_0x9eb281[_0x9eb281[_0x8cc9a2(0x277)]=0x1]=_0x8cc9a2(0x277),_0x9eb281))(Ei||{});const qs=new Set([_0x1d6366['id']]);function Wt(_0x48d97f,_0x3a2396,_0x1a25c5,_0x33f4cb,_0x217157){var _0x517738=_0x8cc9a2,_0x5485c7,_0x1bf5ed,_0x1b838c,_0x33fa9a;const _0x530707=[];for(const _0x5647e9 of _0x48d97f)if(qs[_0x517738(0x16a)](_0x5647e9['id'])){if(_0x530707[_0x517738(0x1ae)]>0x0)break;_0x530707['push'](_0x5647e9);break;}else _0x530707[_0x517738(0x13f)](_0x5647e9);const _0x442d7d=(_0x1bf5ed=(_0x5485c7=_0x217157['getCurrentUser']())==null?void 0x0:_0x5485c7[_0x517738(0x123)])!=null?_0x1bf5ed:_0x517738(0xf8),_0x425ff3=(_0x33fa9a=(_0x1b838c=_0x217157['getCurrentUser']())==null?void 0x0:_0x1b838c[_0x517738(0x13e)])!=null?_0x33fa9a:_0x517738(0xf8);return{'changeset':{'unitID':_0x3a2396,'type':_0x451344(_0x1a25c5[_0x517738(0x30f)](_0x3a2396)),'baseRev':_0x33f4cb['getCurrentRevOfUnit'](_0x3a2396),'revision':0x0,'userID':_0x442d7d,'memberID':_0x425ff3,'mutations':_0x530707},'pendingMutations':_0x48d97f[_0x517738(0x2ec)](_0x530707[_0x517738(0x1ae)])};}function zs(_0x3a44fe,_0x3cf188,_0x193370,_0x45a062,_0x22177d){var _0x6d6d0a=_0x8cc9a2,_0xb07b4a,_0x560c18,_0x2d7f96,_0x9121b8;const _0xa72fae=[_0x3a44fe['reduce']((_0xa1f6f2,_0x3c05db)=>{var _0x585c6f=_0x178d,_0x71afc1;const {id:_0x16579b}=_0xa1f6f2,{id:_0x39ed5c,type:_0x3d1b6c}=_0x3c05db,_0x56627b=(_0x71afc1=_0xa1f6f2['params'])!=null?_0x71afc1:{'actions':null},_0x44ca60=_0x3c05db[_0x585c6f(0x3b3)];if(_0x16579b&&_0x16579b!==_0x39ed5c)throw new Error(_0x585c6f(0x363)+_0x16579b+_0x585c6f(0x2cf)+_0x39ed5c+'.');return{..._0xa1f6f2,'id':_0x39ed5c,'type':_0x3d1b6c,'params':{'unitId':_0x44ca60[_0x585c6f(0x3a7)],'textRanges':_0x44ca60[_0x585c6f(0x2ac)],'actions':_0x383395[_0x585c6f(0x1bf)](_0x56627b[_0x585c6f(0x16f)],_0x44ca60[_0x585c6f(0x16f)])}};},{})],_0x526e17=(_0x560c18=(_0xb07b4a=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0xb07b4a[_0x6d6d0a(0x123)])!=null?_0x560c18:_0x6d6d0a(0xf8),_0x491982=(_0x9121b8=(_0x2d7f96=_0x22177d[_0x6d6d0a(0x1a6)]())==null?void 0x0:_0x2d7f96['memberID'])!=null?_0x9121b8:_0x6d6d0a(0xf8);return{'changeset':{'unitID':_0x3cf188,'type':_0x451344(_0x193370[_0x6d6d0a(0x30f)](_0x3cf188)),'baseRev':_0x45a062[_0x6d6d0a(0x38f)](_0x3cf188),'revision':0x0,'userID':_0x526e17,'memberID':_0x491982,'mutations':_0xa72fae},'pendingMutations':[]};}function Ii(_0x1b96aa,_0x1bd635){var _0x55f5cb=_0x8cc9a2;const _0x4631d1=new _0x5c9c56(0x1);return setTimeout(()=>_0x4631d1[_0x55f5cb(0x30d)](_0x1bd635),_0x1b96aa),_0x4631d1[_0x55f5cb(0x107)]()[_0x55f5cb(0x265)](_0x1d9788(0x1));}const Js={'id':_0x626df2['id'],'type':_0x2aff31[_0x8cc9a2(0xc2)],'params':{}};var Xs=Object[_0x8cc9a2(0x2fc)],Ie=(_0x5111f8,_0x23bd40,_0x18fdc2,_0x3d7d3f)=>{var _0x44e103=_0x8cc9a2;for(var _0x17f5fb=_0x3d7d3f>0x1?void 0x0:_0x3d7d3f?Xs(_0x23bd40,_0x18fdc2):_0x23bd40,_0x1fed19=_0x5111f8[_0x44e103(0x1ae)]-0x1,_0xa25320;_0x1fed19>=0x0;_0x1fed19--)(_0xa25320=_0x5111f8[_0x1fed19])&&(_0x17f5fb=_0xa25320(_0x17f5fb)||_0x17f5fb);return _0x17f5fb;},P=(_0x27832e,_0x504681)=>(_0x1bf807,_0x3a1794)=>_0x504681(_0x1bf807,_0x3a1794,_0x27832e),Ti=(_0x39892b=>(_0x39892b[_0x8cc9a2(0x376)]=_0x8cc9a2(0x126),_0x39892b['SYNCED']=_0x8cc9a2(0x241),_0x39892b[_0x8cc9a2(0x23e)]=_0x8cc9a2(0x10d),_0x39892b[_0x8cc9a2(0x3ae)]=_0x8cc9a2(0x138),_0x39892b[_0x8cc9a2(0x25e)]=_0x8cc9a2(0x33b),_0x39892b[_0x8cc9a2(0x317)]='fetch_missing',_0x39892b[_0x8cc9a2(0x2ee)]='conflict',_0x39892b[_0x8cc9a2(0x19d)]=_0x8cc9a2(0x2e0),_0x39892b))(Ti||{});const Ci=0xea60;class Te{constructor(_0xc58421,_0x336654,_0x11c1ac,_0x59927b,_0x92a0f9,_0x409cc6,_0x504a39,_0x36cbf7,_0x5092bd){var _0x70f848=_0x8cc9a2;N(this,_0x70f848(0x1ff),null),N(this,_0x70f848(0x328),[]),(this['unitID']=_0xc58421,this['type']=_0x336654,this[_0x70f848(0xdf)]=_0x92a0f9,this[_0x70f848(0x16d)]=_0x409cc6,this['_undoRedoService']=_0x504a39,this[_0x70f848(0x358)]=_0x36cbf7,this[_0x70f848(0x378)]=_0x5092bd,this[_0x70f848(0x1ff)]=_0x11c1ac,this[_0x70f848(0x328)]=_0x59927b);}['_checkMissing'](_0x2f3458){var _0x2b81b3=_0x8cc9a2;const _0x2a5bd5=this[_0x2b81b3(0x358)]['getCurrentRevOfUnit'](this['unitID']);return _0x2f3458['revision']>_0x2a5bd5+0x1?(this[_0x2b81b3(0xdf)]['onMissingChangesets']({'from':_0x2a5bd5,'to':_0x2f3458[_0x2b81b3(0x306)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x1a6b40){var _0x25bab9=_0x8cc9a2;this['_undoRedoService'][_0x25bab9(0x2ed)](this[_0x25bab9(0x2e6)],_0x1a6b40);}[_0x8cc9a2(0x339)](_0x31467b){var _0x39df8e=_0x8cc9a2,_0xff1c6a,_0x3a8cf1;(_0x3a8cf1=(_0xff1c6a=this[_0x39df8e(0xdf)])[_0x39df8e(0x2a8)])==null||_0x3a8cf1[_0x39df8e(0x324)](_0xff1c6a,_0x31467b);}['_transformIMECache'](_0x2b3fc1){var _0x34f052=_0x8cc9a2,_0x478a6f,_0x535716;return(_0x535716=(_0x478a6f=this[_0x34f052(0xdf)])[_0x34f052(0x179)])==null?void 0x0:_0x535716[_0x34f052(0x324)](_0x478a6f,_0x2b3fc1);}[_0x8cc9a2(0x1a8)](_0x37989f){var _0x501b84=_0x8cc9a2,_0x36b54d,_0x58ef61;return(_0x58ef61=(_0x36b54d=this[_0x501b84(0xdf)])['onTransformState'])==null?void 0x0:_0x58ef61[_0x501b84(0x324)](_0x36b54d,_0x37989f);}['_transformRemoteChangesetByIMECache'](_0x3ab7b7){var _0x8ad6c3=_0x8cc9a2,_0xeb4818,_0x1e1da9,_0x441081;return(_0x441081=(_0x1e1da9=(_0xeb4818=this['_handler'])[_0x8ad6c3(0x246)])==null?void 0x0:_0x1e1da9['call'](_0xeb4818,_0x3ab7b7))!=null?_0x441081:_0x3ab7b7;}[_0x8cc9a2(0x1a7)](_0x40e384){var _0x36ebf8=_0x8cc9a2,_0x4f1f48,_0x363f34,_0x251796;return(_0x251796=(_0x363f34=(_0x4f1f48=this[_0x36ebf8(0xdf)])[_0x36ebf8(0x219)])==null?void 0x0:_0x363f34['call'](_0x4f1f48,_0x40e384))!=null?_0x251796:_0x40e384;}['_syncEditingCollabCursor'](_0x33605b){var _0x2d5469=_0x8cc9a2,_0x2521a6,_0x301c90;if(this[_0x2d5469(0x3c2)]===Z['UNIVER_DOC']){const {unitID:_0xb47c0f,mutations:_0x5d6a63,memberID:_0x1af51f}=_0x33605b,_0x4d5e18=_0x5d6a63[0x0]['params']['textRanges'];Array['isArray'](_0x4d5e18)&&_0x4d5e18[_0x2d5469(0x1ae)]>0x0&&((_0x301c90=(_0x2521a6=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x301c90[_0x2d5469(0x324)](_0x2521a6,{'unitID':_0xb47c0f,'memberID':_0x1af51f,'textRanges':_0x4d5e18}));}}['_updateLocalCache'](){var _0x33994c=_0x8cc9a2,_0x1a5b9b;(_0x1a5b9b=this['_localCacheService'])==null||_0x1a5b9b[_0x33994c(0x238)](this[_0x33994c(0x2e6)],this[_0x33994c(0x3c2)],this['_awaitingChangeset'],this[_0x33994c(0x328)]);}['_getCurrentRevision'](){var _0x7fad03=_0x8cc9a2;return this[_0x7fad03(0x358)]['getCurrentRevOfUnit'](this['unitID']);}[_0x8cc9a2(0x2cb)](){var _0x1f5f01=_0x8cc9a2;this[_0x1f5f01(0x358)][_0x1f5f01(0x39e)](this[_0x1f5f01(0x2e6)]);}[_0x8cc9a2(0x13b)](_0x5b287d){var _0x199fa9=_0x8cc9a2,_0x1d5731;let _0x44072a=this['_transformRemoteChangesetByIMECache'](_0x5b287d);_0x44072a=this[_0x199fa9(0x1a7)](_0x44072a);const _0x4c7128=_0x157570(_0x44072a[_0x199fa9(0x3be)],this[_0x199fa9(0x16d)],{'fromCollab':!0x0});if(!_0x4c7128[_0x199fa9(0x341)])throw _0x4c7128[_0x199fa9(0x237)]instanceof Error?_0x4c7128[_0x199fa9(0x237)]:new Error((_0x1d5731=_0x4c7128[_0x199fa9(0x237)])!=null?_0x1d5731:_0x199fa9(0x392));this[_0x199fa9(0x134)](_0x44072a),this[_0x199fa9(0x1a8)](_0x44072a),this[_0x199fa9(0x386)](_0x5b287d),this[_0x199fa9(0x339)](_0x44072a),this['_syncEditingCollabCursor'](_0x44072a),this[_0x199fa9(0x2cb)]();}}let ye=class extends Te{constructor(_0x4656bb,_0xb15da2,_0x3ead20,_0x6210b,_0xbaacd2,_0x47e91f,_0xfa96e0,_0x3b485c,_0x2a26ee,_0x2d51dc){var _0x4e0ad1=_0x8cc9a2;super(_0x4656bb,_0xb15da2,null,[],_0x3ead20,_0xfa96e0,_0x47e91f,_0x6210b,_0x2d51dc),N(this,_0x4e0ad1(0xdb),_0x4e0ad1(0x241)),(this[_0x4e0ad1(0x127)]=_0xbaacd2,this[_0x4e0ad1(0x3a2)]=_0x3b485c,this[_0x4e0ad1(0x385)]=_0x2a26ee,this[_0x4e0ad1(0x38e)]=_0x2d51dc);}[_0x8cc9a2(0x182)](_0x176180){var _0x2028ff=_0x8cc9a2;const _0x301b2f=this[_0x2028ff(0x127)][_0x2028ff(0x36b)](re,this[_0x2028ff(0x2e6)],this[_0x2028ff(0x3c2)],[_0x176180],this['_handler']);return _0x301b2f[_0x2028ff(0x211)](),_0x301b2f[_0x2028ff(0x3c7)](),_0x301b2f;}[_0x8cc9a2(0x3ab)](_0x1e9edd){var _0x37515b=_0x8cc9a2;if(this['_checkMissing'](_0x1e9edd))return this[_0x37515b(0x127)][_0x37515b(0x36b)](Q,this[_0x37515b(0x2e6)],this[_0x37515b(0x3c2)],null,[],null,[_0x1e9edd],this[_0x37515b(0xdf)]);try{const _0x58fe9a=this[_0x37515b(0x385)][_0x37515b(0x1e0)](_0x1e9edd,[Js]);if(_0xaeb0b0(_0x58fe9a)){const {c1Prime:_0x264e5c}=_0x58fe9a;return this['_executeRemoteChangeset'](_0x264e5c),this;}throw _0x58fe9a[_0x37515b(0x237)];}catch(_0x62587){return this[_0x37515b(0x3a2)][_0x37515b(0x237)](_0x62587),this['_onConflict'](!0x1);}}['_onConflict'](_0x54e872){var _0xcc42cc=_0x8cc9a2;return this[_0xcc42cc(0x127)][_0xcc42cc(0x36b)](le,this[_0xcc42cc(0x2e6)],this[_0xcc42cc(0x3c2)],null,[],this[_0xcc42cc(0xdf)],_0x54e872);}[_0x8cc9a2(0x29f)](){var _0x376c08=_0x8cc9a2;throw new Error(_0x376c08(0x2f7));}[_0x8cc9a2(0x263)](){var _0x51814=_0x8cc9a2;throw new Error(_0x51814(0xfd));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x19c010=_0x8cc9a2;return this[_0x19c010(0x127)][_0x19c010(0x36b)](ue,this[_0x19c010(0x2e6)],this[_0x19c010(0x3c2)],null,[],this[_0x19c010(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x23c)](){var _0x4d11ee=_0x8cc9a2;const _0x8fc1dd=this[_0x4d11ee(0x358)][_0x4d11ee(0x38f)](this['unitID']);return this[_0x4d11ee(0xdf)]['onMissingChangesets']({'from':_0x8fc1dd,'to':0x0}),this[_0x4d11ee(0x127)][_0x4d11ee(0x36b)](Q,this['unitID'],this[_0x4d11ee(0x3c2)],null,[],null,[],this['_handler']);}};ye=Ie([P(0x3,_0x2bc925(_0x55e017)),P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x1ab2de),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x31269b(J))],ye);let re=class extends Te{constructor(_0x46759b,_0x3c3366,_0x430fab,_0x584d4b,_0x30b5a6,_0x110706,_0x591400,_0x45490e,_0x8c9548,_0x52af59,_0x36b3ad,_0x5cb793,_0x3f8b45,_0x354b54){var _0x4d8fbf=_0x8cc9a2;super(_0x46759b,_0x3c3366,null,_0x430fab,_0x584d4b,_0x8c9548,_0x3f8b45,_0x110706,_0x354b54),N(this,_0x4d8fbf(0xdb),_0x4d8fbf(0x10d)),N(this,_0x4d8fbf(0x1e2),null),N(this,_0x4d8fbf(0x1ee),null),(this[_0x4d8fbf(0x127)]=_0x30b5a6,this[_0x4d8fbf(0x1c9)]=_0x591400,this[_0x4d8fbf(0x3a2)]=_0x45490e,this[_0x4d8fbf(0xee)]=_0x52af59,this[_0x4d8fbf(0x385)]=_0x36b3ad,this['_univerInstanceService']=_0x5cb793);}[_0x8cc9a2(0x182)](_0x5933ed){var _0x46cf99=_0x8cc9a2;return this[_0x46cf99(0x328)][_0x46cf99(0x13f)](_0x5933ed),this[_0x46cf99(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x24ee67){var _0x8ba443=_0x8cc9a2;if(this['_checkMissing'](_0x24ee67))return this[_0x8ba443(0x19f)](),this['_injector']['createInstance'](Q,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],null,this[_0x8ba443(0x328)],null,[_0x24ee67],this[_0x8ba443(0xdf)]);try{const _0x540076=this['_transformService']['transformMutationsWithChangeset'](_0x24ee67,this['_pendingMutations']);if(_0xaeb0b0(_0x540076)){const {c1Prime:_0x5213f4,m2Prime:_0x523965}=_0x540076;this['_executeRemoteChangeset'](_0x5213f4);const _0xb48135=this['_injector'][_0x8ba443(0x36b)](re,this[_0x8ba443(0x2e6)],this[_0x8ba443(0x3c2)],_0x523965,this[_0x8ba443(0xdf)]);this['_clearScheduledTask']();const _0x43316b=new Date()[_0x8ba443(0x1f4)](),_0x1b2079=this[_0x8ba443(0x1e2)]?Math[_0x8ba443(0x201)](this[_0x8ba443(0x1e2)]-_0x43316b,0x0):this[_0x8ba443(0x17e)]();return _0xb48135[_0x8ba443(0x211)](_0x1b2079),_0xb48135;}throw _0x540076[_0x8ba443(0x237)];}catch(_0x2bec71){return this[_0x8ba443(0x3a2)][_0x8ba443(0x237)](_0x2bec71),this[_0x8ba443(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](){var _0x1d80fc=_0x8cc9a2;throw new Error(_0x1d80fc(0x195));}[_0x8cc9a2(0x263)](){var _0xcb3d11=_0x8cc9a2;throw new Error(_0xcb3d11(0x2bd));}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){var _0x4af0a6=_0x8cc9a2;return this[_0x4af0a6(0x19f)](),this['_injector'][_0x4af0a6(0x36b)](ue,this[_0x4af0a6(0x2e6)],this[_0x4af0a6(0x3c2)],null,this[_0x4af0a6(0x328)],this[_0x4af0a6(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x211)](_0x56f94e){var _0x2ffdb8=_0x8cc9a2;const _0x4664d8=_0x56f94e!=null?_0x56f94e:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()[_0x2ffdb8(0x1f4)]()+_0x4664d8,this['_sendingTimer']=setTimeout(()=>{var _0x44ec89=_0x2ffdb8;this[_0x44ec89(0x19f)]();let _0x2043d4=null;switch(this[_0x44ec89(0x3c2)]){case Z[_0x44ec89(0x2f4)]:{_0x2043d4=Wt(this[_0x44ec89(0x328)],this['unitID'],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]);break;}case Z[_0x44ec89(0x11c)]:{this[_0x44ec89(0x328)]['every'](_0x46a5b2=>_0x46a5b2['id']===_0x6cc34['id'])?_0x2043d4=zs(this['_pendingMutations'],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this[_0x44ec89(0x1c9)]):_0x2043d4=Wt(this[_0x44ec89(0x328)],this[_0x44ec89(0x2e6)],this[_0x44ec89(0x370)],this[_0x44ec89(0x358)],this['_memberService']);break;}default:throw new Error(_0x44ec89(0x2c6)+this[_0x44ec89(0x3c2)]+_0x44ec89(0x379));}const {changeset:_0x26d082,pendingMutations:_0xd0aca3}=_0x2043d4;this[_0x44ec89(0xdf)][_0x44ec89(0x226)](_0x26d082);const _0x1d0713=_0xd0aca3[_0x44ec89(0x1ae)]?this[_0x44ec89(0x127)]['createInstance'](ae,this[_0x44ec89(0x2e6)],this['type'],_0x26d082,_0xd0aca3,this[_0x44ec89(0xdf)],void 0x0):this[_0x44ec89(0x127)][_0x44ec89(0x36b)](_e,this[_0x44ec89(0x2e6)],this[_0x44ec89(0x3c2)],_0x26d082,this[_0x44ec89(0xdf)]);_0x1d0713[_0x44ec89(0x3c7)](),this[_0x44ec89(0xdf)][_0x44ec89(0xe8)](this,_0x1d0713);},_0x4664d8);}[_0x8cc9a2(0x17e)](){var _0x901f53=_0x8cc9a2,_0x1573ad;const _0x22fc0a=this[_0x901f53(0xee)]['getConfig'](K);return(_0x1573ad=_0x22fc0a==null?void 0x0:_0x22fc0a[_0x901f53(0x1b7)])!=null?_0x1573ad:ms;}[_0x8cc9a2(0x197)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x8cc9a2(0x19f)](){var _0x2b2750=_0x8cc9a2;this['_sendingTimer']!=null&&(clearTimeout(this[_0x2b2750(0x1ee)]),this[_0x2b2750(0x1ee)]=null);}[_0x8cc9a2(0x18f)](_0x2f7b41){var _0x4eaf37=_0x8cc9a2;return this[_0x4eaf37(0x19f)](),this[_0x4eaf37(0x127)][_0x4eaf37(0x36b)](le,this[_0x4eaf37(0x2e6)],this[_0x4eaf37(0x3c2)],null,this[_0x4eaf37(0x328)],this['_handler'],_0x2f7b41);}};re=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x2bc925(Pe)),P(0x7,_0xd27129),P(0x8,_0x8da825),P(0x9,_0x195c73),P(0xa,_0x20376b),P(0xb,_0x24fe3b),P(0xc,_0x1ab2de),P(0xd,_0x31269b(J))],re);let _e=class extends Te{constructor(_0x1e5b54,_0x1a8689,_0x29091e,_0x538825,_0x4840ec,_0x3fa2a8,_0x3dcea2,_0x3d4634,_0x12fe34,_0x5d3272,_0x2532f5){var _0x3e3f19=_0x8cc9a2;super(_0x1e5b54,_0x1a8689,_0x29091e,[],_0x538825,_0x3dcea2,_0x5d3272,_0x3fa2a8,_0x2532f5),N(this,_0x3e3f19(0xdb),_0x3e3f19(0x138)),N(this,_0x3e3f19(0x250),0x0),N(this,_0x3e3f19(0x3aa)),N(this,_0x3e3f19(0x203)),(this['_injector']=_0x4840ec,this[_0x3e3f19(0x3a2)]=_0x3d4634,this[_0x3e3f19(0x385)]=_0x12fe34);}[_0x8cc9a2(0x182)](_0x1bd2d8){var _0x4a88a1=_0x8cc9a2;this[_0x4a88a1(0x19f)]();const _0x6bacf2=this['_injector'][_0x4a88a1(0x36b)](ae,this[_0x4a88a1(0x2e6)],this[_0x4a88a1(0x3c2)],this[_0x4a88a1(0x1ff)],[_0x1bd2d8],this[_0x4a88a1(0xdf)],this[_0x4a88a1(0x3aa)]);return _0x6bacf2[_0x4a88a1(0x3c7)](),_0x6bacf2;}[_0x8cc9a2(0x3ab)](_0x1c4c37){var _0x5a979d=_0x8cc9a2;if(this[_0x5a979d(0x158)](_0x1c4c37))return this['_clearScheduledTask'](),this['_injector'][_0x5a979d(0x36b)](Q,this['unitID'],this[_0x5a979d(0x3c2)],this[_0x5a979d(0x1ff)],[],null,[_0x1c4c37],this['_handler']);try{const _0x59ba98=this['_transformService'][_0x5a979d(0xe7)]([_0x1c4c37],[this[_0x5a979d(0x1ff)]],!0x1);if(_0x53b0a7(_0x59ba98)){const {c1Prime:_0x2270d9,c2Prime:_0x5df848}=_0x59ba98;this[_0x5a979d(0x13b)](_0x2270d9[0x0]),_0x5df848[0x0][_0x5a979d(0x240)]=this[_0x5a979d(0x2af)](),this[_0x5a979d(0x19f)]();const _0x432239=this['_injector'][_0x5a979d(0x36b)](_e,this[_0x5a979d(0x2e6)],this[_0x5a979d(0x3c2)],_0x5df848[0x0],this[_0x5a979d(0xdf)]);return _0x432239[_0x5a979d(0x3c7)](),_0x432239;}return this[_0x5a979d(0x18f)](!0x1);}catch(_0x4414b5){return this['_logService'][_0x5a979d(0x237)](_0x4414b5),this[_0x5a979d(0x18f)](!0x1);}}['onRemoteAck'](_0xf23652){var _0x538e0c=_0x8cc9a2;this[_0x538e0c(0x19f)]();const _0x1a4fab=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);if(_0xf23652[_0x538e0c(0x306)]<_0x1a4fab-0x1)return this;if(this[_0x538e0c(0x158)](_0xf23652))return this[_0x538e0c(0x127)][_0x538e0c(0x36b)](Q,this['unitID'],this[_0x538e0c(0x3c2)],null,[],this[_0x538e0c(0x1ff)],[],this[_0x538e0c(0xdf)]);this['_incrementRevisionNumber']();const _0x52713d=this[_0x538e0c(0x127)][_0x538e0c(0x36b)](ye,this['unitID'],this[_0x538e0c(0x3c2)],this[_0x538e0c(0xdf)]);return _0x52713d[_0x538e0c(0x3c7)](),_0x52713d;}[_0x8cc9a2(0x263)](_0x3dae1d){var _0x5d3332=_0x8cc9a2;return this[_0x5d3332(0x18f)](!!(_0x3dae1d!=null&&_0x3dae1d['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x42dcef){var _0x54b24b=_0x8cc9a2;return this[_0x54b24b(0x250)]>Ci?this[_0x54b24b(0x29d)]():(this['_resendTimer']=Ii(this[_0x54b24b(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x42dcef[_0x54b24b(0x394)]}),this[_0x54b24b(0x203)]=this[_0x54b24b(0x3aa)][_0x54b24b(0x389)](({reqId:_0x1300d2,timeout:_0x41aa6c})=>{var _0x1c88d4=_0x54b24b;this[_0x1c88d4(0x274)](_0x1300d2,_0x41aa6c);}),this);}[_0x8cc9a2(0x29d)](){var _0x3d3986=_0x8cc9a2;return this['_clearScheduledTask'](),this[_0x3d3986(0x127)]['createInstance'](ue,this[_0x3d3986(0x2e6)],this[_0x3d3986(0x3c2)],this['_awaitingChangeset'],[],this[_0x3d3986(0xdf)]);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){var _0x22943d=_0x8cc9a2;this[_0x22943d(0xdf)][_0x22943d(0x226)](this[_0x22943d(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x59f174){var _0x34df01=_0x8cc9a2;return this[_0x34df01(0x19f)](),this[_0x34df01(0x127)][_0x34df01(0x36b)](le,this[_0x34df01(0x2e6)],this[_0x34df01(0x3c2)],this['_awaitingChangeset'],[],this['_handler'],_0x59f174);}[_0x8cc9a2(0x274)](_0x3d8a23,_0x35a481){var _0x205e8e=_0x8cc9a2,_0x9c8e2b;_0x3d8a23===((_0x9c8e2b=this[_0x205e8e(0x1ff)])==null?void 0x0:_0x9c8e2b[_0x205e8e(0x394)])&&(this[_0x205e8e(0x197)](),this[_0x205e8e(0x250)]=_0x35a481===0x0?0x3e8:_0x35a481*0x2);}[_0x8cc9a2(0x19f)](){var _0x58785a=_0x8cc9a2,_0x4caad5;(_0x4caad5=this[_0x58785a(0x203)])==null||_0x4caad5[_0x58785a(0x31a)](),this['_resendTimeout']=0x0;}};_e=Ie([P(0x4,_0x2bc925(_0x5c0aec)),P(0x5,_0x2bc925(_0x55e017)),P(0x6,_0x8da825),P(0x7,_0xd27129),P(0x8,_0x20376b),P(0x9,_0x1ab2de),P(0xa,_0x31269b(J))],_e);function _0x1e84(){var _0x590d5a=['join','_data','downloadEndpointUrl','toggleOffline','deepClone','onRemoteAck','_candidateSocket','add','MSG_FOR_ERROR','getActiveSheet','/universer-api/comb','USER_NOT_INVITED_CODE','getTypeOfUnitAdded$','CHANGESET_ACK','onTransformSelections','registerHTTPInterceptor','delete','YUUMI_AI_RUN_FAILED','textRanges','collaboration-client.local-cache-service','APPLY_NON_SEQUENTIAL_REVISION','_getCurrentRevision','submit\x20changeset\x20error!','?url=','PERMISSION_REJ','_submitChangeset','headers','_socket$','hasOwnProperty','6bEQjOF','fromCharCode','Latin1','SHA1','set','unitId\x20is\x20not\x20found','[PendingState]:\x20received\x20rejection.','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','HmacSHA1','clone','_toggleOffline','file','HELLO','GLOBAL_ROOMS_CNT_EXCEEDS','[PendingState]:\x20unhandled\x20univer\x20type:\x20','NoPadding','/universer-api/oidc/authpage','?size=','createSocket','_incrementRevisionNumber','iterations','_localeService','disposeWithMe','\x20-\x20','format','9OjtjFT','authzUrl','_rescheduleHeartbeat','HEARTBEAT_INTERVAL','refreshPermission','_onRecvEvent','href','createCollaborator','Failed\x20to\x20update\x20permission\x20point','SUBMIT_CHANGESET','WordArray','HttpExport','ws://127.0.0.1:8000/universer-api/comb/connect','_createHandler','_oKey','offline','send','EXCHANGE_SIGN_URL_SERVER_URL_KEY','COMMENT_UPDATE','socket\x20close','_prevBlock','unitID','LICENSE_IMPORT_SIZE_EXCEEDED','override','session.room-not-exists','/object/','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','slice','transformUndoRedo','CONFLICT','_cipher','onRemoteRetry','byteOffset','_getCtorByUniverType','sigBytes','UNIVER_SHEET','requestParams','COMPRESS_MUTATION_SEND','[SyncedState]:\x20received\x20acknowledgement.','_process','/allowed','catch','_singleActiveUnitService','getOwnPropertyDescriptor','equals','_hasher','_createInitialStateImpl','joinRsp','OPTIONAL','snapshotServerUrl','extend','objects','APPLY_PERMISSION_DENIED','revision','_timeoutTimer','liveShareNewHost','getTypeOfUnitDisposed$','[OfflineState]:\x20received\x20changeset.','605RpKeDf','4151182qmgwNu','next','ivSize','getUnitType','3gWlaoJ','fetchThroughInterceptors','SOCKET_FAILED','get','[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.','crypto','updatePermissionObjEvent','FETCH_MISS','changesets','getSheetBlock','unsubscribe','debug','INVITE_CODE_HAS_BEEN_UES','execute','BASE64','UnitSnapshot','_clearRetryConnectingTimer','conflict','Base','getImage','call','socket\x20open.','YUUMI_RATE_OVER_LIMIT','Univer','_pendingMutations','getRandomValues','data','image/bmp','YUUMI_ALL_TABLES_IS_INVALID','_waitForHeartbeatResponse','exports','APPLY_DUPLICATED','generateRandomId','_queuedRemoteChangesets','message$','padding','put','_applyRemoteChangeset','collaborators','_nDataBytes','liveShareOperation','_transformSelections','cmd','awaiting_with_pending','waitForRoom$','USERS_ENTER','randomBytes','/fetchmissing?from=','_snapshotServerService','result','__creator','getUnit','_mode','_collabSessionService','dispose$','CBC','_joinRoom','[OfflineState]:\x20received\x20rejection.','StreamCipher','_removeRoom','map','routeKey','UNIVER_PROJECT','complete','emitEvent','loadSheet','INVITE_CODE_ALREADY_BOUND','_map','duration','HmacMD5','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','decryptBlock','_revisionService','LEAVE','ERROR_EXCEED_SIZE','_iKey','getFocusedUnit','FileId','_tryEnsureSocket','_registerDependencies','indexOf','_networkConditionService','[CollaborationUndoRedoService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getInterceptPoints','&to=','_append','/universer-api/snapshot','apply','HttpImport','_imageSourceCache','createInstance','CipherParams','append','_createHelper','UNIVER_SLIDE','_univerInstanceService','OpenSSL','APPLY_REVISION_CONFILICT','ONLINE','UUID','_minBufferSize','NOT_COLLAB','shouldCloseConn','_localCacheService','\x20in\x20_schedule.','LIVESHARE_NEW_HOST','repeat','allowed','csRejEvent','_roomCreated$','AES','session.room-full','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','session.join-failed','JOIN_ROOM_FAILED','splice','_transformService','_transformUndoredo','name','/new_changes','subscribe','univer-pro.collaboration-client-socket-service','size','_state','includes','localCacheService','getCurrentRevOfUnit','_members$','title','[CollaborationState]:\x20apply\x20error!','LICENSE_MAX_UNITS_EXCEEDED','reqId','event$','PERSON','_redoStacks','univer-pro.collaboration-client.single-active-unit-service','JOIN_ROOM_NOT_EXISTS','encryptBlock','EvpKDF','_doReset','HEARTBEAT','incrementRevOfUnit','_collaborationSessionService','image/gif','state$','_logService','_retryCount','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','/role','from','unitId','_updateStatus','subject','_resendTimer','onRemoteChangeset','DEFAULT_FILE_NAME','enableOfflineEditing','AWAITING','_collaborationPaused','kdf','[DataLoaderService]','_event$','params','_retryConnectingTimer','LIVESHARE_FETCH_OPERATIONS','closeSession','PasswordBasedCipher','processBlock','state','patch','saveChangeset','objectID','formatter','mutations','updateSnapshot','encode','entries','type','parse','UNKNOWN_CODE','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_listenToNetworkCondition','_updateLocalCache','interceptor','CONNECTOR_DATA_TOO_LARGE','open$','create','MUTATION','_onFetchMissResult','awaitingChangeset','_waitCount','UPDATE_PERMISSION_OBJ','_getAPIPrefixPath','_telemetryInfo','prototype','_nRounds','SNAPSHOT_SERVER_URL_KEY','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','getSheetId','UNISCRIPT_RUN','pauseCollaboration','_socketMessageSubscription','filter','SNAPSHOT_HAS_BEEN_REMOVED','_initMergeInterceptor','range','ERROR_IMAGE_TYPE','_onUserJoin','_iv','_onRemoteRejected','now','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','status','Error\x20on\x20receiving\x20event','_doCreateSocket','_onConnectionOpen','_handler','_onCombEvent','/universer-api/authz','People','/-/object/-/batch_allowed','responseType','/collaborator','_sendHeartbeatTimer','transformChangesets','onStateChange','ceil','_substituteUndoStack','_entities','roles','collaboratorID','_configService','BlockCipherMode','/unit/','EMAIL_HAS_BEEN_BOUND','selections','fromCollab','12051096dYJUct','uniscriptRunEvent','YUUMI_URL_COL_OUT_OF_RANGE','UNIVER_UNKNOWN','unknown','_sessionStatus$','sessionStatus$','_telemetryService','_throwTelemetryCollaborationNewChangeset','[SyncedState]:\x20received\x20rejection.','objectType','/object','_httpService','_keySchedule','loadDoc','pad','/universer-api/snapshot/','removeMember','{fileID}','asObservable','signUrlServerUrl','focused$','UserProfileImg','_getDownloadEndpointURL','_doCryptBlock','pending','_exhaustRemoteChangesetQueue','_hash','reject','_changesetSessionId','Hasher','/block/','c1Prime','_updateState','editingUnit','Utf8','readAsDataURL','function','_emitMembers','_getUploadFileURL','UNIVER_DOC','image/png','_doFinalize','_transitionLocked','fetchMissingChangesets','_transformStack','getConfig','userID','min','FAIL','not_collab','_injector','ENSURE_SNAPSHOT_EXECUTION','9770706yJXpPV','_sheetTransformSelectionsService','code','finalize','SHOULD_CLOSE_CONN','LICENSE_DISTRO_REJECTED','collaMsg','&assign=','\x0aAfter:\x20','lib','stringify','_transformIMECache','onload','_type','setShowComponents','awaiting','UNKNOWN_CMD','createEncryptor','_executeRemoteChangeset','UNRECOGNIZED','/universer-api/uniscript','memberID','push','sheets','stopTime','getDeserializedSheetBlock','Undefined','findIndex','univer-pro.collaboration-client.network-condition.service','image/jpg','_status$','requireSession','close$','TOO_MANY_REQUESTS','_permissionService','every','resourceIDs','getValue','onCommentUpdate','_onOffline','localeService','LOGIN_FAILED','_doProcessBlock','cfg','_userManagerService','/-/object/list','_DEC_XFORM_MODE','_checkMissing','_replayCachedMutations','then','onMissedChangesetFetched','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','_replaceFileID','decrypt','updateCursorEvent','_decreaseWaiting','enableAuthServer','createDecryptor','_socketReady','LIVESHARE_OPERATION','UNIVER_COLLABORATION_CLIENT_PLUGIN','_onUserLeave','_changesetReqId','_socket','has','MOBILE_HAS_BEEN_BOUND','Malformed\x20UTF-8\x20data','_commandService','reconnect','actions','COMPRESS_MUTATION_APPLY','post','forEach','addHandlerCallback','_socketService','initWorkbookPermissionChange','_tryReconnect','_isPermissionRej','JOIN_ROOM_PERMISSION_DENIED','onTransformIME','clear','SEND_CHANGESET_TIMEOUT','getUnitOnRev','startTime','_getSendChangesetTimeout','onCommandExecuted','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','sid','appendMutation','msCrypto','_config','loginUrlKey','YUUMI_ASYNCIO_CANCELLED','commentUpdateEvent','concat','origin','hasher','update','pluginName','SUBMIT_CHANGESET_TIMEOUT','SNAPSHOT_INVALID_SNAPSHOT','_onConflict','x-univer-host','isPermissionRej','[OfflineState]:\x20received\x20acknowledgement.','Decryptor','telemetry\x20info\x20is\x20not\x20initialized','[PendingState]:\x20received\x20acknowledgement.','confirm','resend','POST','getSnapshotAPIPath','SOCKET_FAILED_RETRY','_change$','INGEST','OFFLINE','/universer-api/stream/file/upload','_clearScheduledTask','PY_RUNTIME_SCRIPT_ERROR','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','JOINING','8527690XeakFg','_getAPIPrefix','mixIn','getCurrentUser','_transformRemoteChangesetByStateCache','_transformStateCache','socket$','72297qBdRwW','dispose','disableLocalCache','image/jpeg','length','RECV','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_fetchMissChangesets','_createHmacHelper','_undoStacks','_reverseMap','_onLocalMutation','location','sendChangesetTimeout','find','_instanceService','UnitEmbedded','error$','avatar','JOIN','listCollaborators','compose','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INVALID_ARGUMENT','_clearTimeoutTimer','SNAPSHOT_URL_KEY','toString','_invKeySchedule','_initCloseConn','$super','_onMessage','_memberService','originalMeta','session','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','saveSheetBlock','CHANGESET_SHOULD_RETRY','_xformMode','__esModule','enc','Base64','MD5','roomInfos','onLocalMutation','infoRsp','INVALID_INVITE_CODE','_clearRedo','salt','_onConnectionFailed','_onJoinRoomEvent','reduce','_init','Hex','BlockCipher','transformMutationsWithChangeset','_substituteRedoStack','_scheduleCompleteTimestamp','[UniverCollaborationClientPlugin]','LIVESHARE_REQUEST_HOST','_createSocket','_key','buffer','keySize','hostname','HEARTBEAT_TIMEOUT','_HTTPService','init','_members','_sendingTimer','getCollabEntity$','getUnitStatus$','_getUndoStack','Encryptor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','getTime','_getLoginPath','_acknowledgedAwaitingChangeset','session.room-permission-denied','loadUnitOfRevision','editing\x20status\x20changed\x20to','_state$','values','encodeURIComponent','charAt','[CollaborationSessionService]','_awaitingChangeset','_entityInit$','max','loadOfflineData','_sender','_onRemoteACK','url','YUUMI_NO_CUBOID_FOR_QUESTION','_sendHeartbeat','getMemberID','getLatestCsReqIdBySid','online$','m2Prime','_initUnitPermissionChange','ALREADY_EXISTS','_compressMutationService','sessionStatus','workbook','_schedule','batchAllowed','_onRemoteRetry','collaboration_new_changeset','_getRedoStack','[CollaborationSession]','_ENC_XFORM_MODE','connection\x20error','onTransformRemoteChangesetByStateCache','SUCCUSS','leaveEvent','withCredentials','permissionRejEvent','unpad','mode','_clearUndo','target','WECHAT_HAS_BEEN_BOUND','ciphertext','CHANGESET_REJ','LIVESHARE_TERMINATE','onSendChangeset','_collaborationTimeoutTimer','_getSignURL','USERS_LEAVE','CLOSE_ROOM','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onSyncEditingCollabCursor','JOIN_ROOM_FULL','eventID','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','floor','_commentUpdate$','reverse','snapshot','toggleOnline','INVITE_CODE_REQUIRED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','error','updateOfflineData','getUnitId','readInt32LE','_showConflictNotification','fetchMiss','UPDATE_CURSOR','PENDING','socketService','baseRev','synced','body','Cipher','updatePermissionPoint','/universer-api/file/{fileID}/sign-url','onTransformRemoteChangesetByIMECache','APPLY_REJECT','\x20to\x20','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','SerializableCipher','_sessions','_snapshotService','string','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','close','_resendTimeout','onlyLocal','algo','PERMISSION_DENIED','_roomMembers','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','blockSize','clamp','sin','compute','_clearHeartbeatTimer','_commentService','encrypt','rev','AWAITING_WITH_PENDING','enableSingleActiveInstanceLock','readyForCollab','getImageSourceCache','BufferedBlockAlgorithm','onRemoteRej','_unlockTransition','pipe','_keyPriorReset','1894918jingzw','_unitID','_parse','status$','NOT_FOUND','enableCollaboration','failed\x20to\x20apply\x20missed\x20changesets!','random','_shouldReportTelemetry','onTransformState','change$','YUUMI_UNABLE_LOAD_URL','commentUpdate$','_resendWithTimeout','_initRequestHeader','ERROR_IMAGE','OTHER_CLIENTS_EDITING','PSEUDO_FETCH_MISSING_RESULT','reset','setConfig','_startCollaboration','COMPLETION_FINISHED','getCollabEntity','byteLength','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','getMember','deleteCollaborator','transformSelections','_handlerCallback','_eventService','retryConnectingInterval','isArray','IDLE','29564pAWYoe','words','getResourcesRequest','key','_lockTransition','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','CHANGESET_REVISION_CONFILICT','charCodeAt','uploadFileServerUrl','_unitInfo$','updateMember','_disableEditing','OTHER_CLIENT_EDITING','Could\x20not\x20dynamically\x20require\x20\x22','_createInitialState','LOCAL_CACHE_INTERVAL','_collaborationUIEventService'];_0x1e84=function(){return _0x590d5a;};return _0x1e84();}let ae=class extends Te{constructor(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x86951d,_0x499e75,_0x1e99b9,_0x1b3c70,_0x145e3f,_0x37e7c2,_0x6086e5,_0x44310a){var _0x7c8657=_0x8cc9a2;super(_0x2ef2f4,_0x5e90b2,_0x5c6c65,_0x6fc88a,_0x22501a,_0x1b3c70,_0x6086e5,_0x1e99b9,_0x44310a),N(this,_0x7c8657(0xdb),_0x7c8657(0x33b)),N(this,'_resendTimeout',0x0),N(this,_0x7c8657(0x3aa)),N(this,_0x7c8657(0x203)),(this[_0x7c8657(0x127)]=_0x499e75,this[_0x7c8657(0x3a2)]=_0x145e3f,this[_0x7c8657(0x385)]=_0x37e7c2,this[_0x7c8657(0x38e)]=_0x44310a,_0x86951d&&(this[_0x7c8657(0x3aa)]=_0x86951d,this[_0x7c8657(0x203)]=this[_0x7c8657(0x3aa)][_0x7c8657(0x389)](({reqId:_0x3b2e17,timeout:_0x24f04d})=>{var _0x4b7b81=_0x7c8657;this[_0x4b7b81(0x274)](_0x3b2e17,_0x24f04d);})));}[_0x8cc9a2(0x182)](_0x574691){var _0xc51cfa=_0x8cc9a2;return this['_pendingMutations'][_0xc51cfa(0x13f)](_0x574691),this;}[_0x8cc9a2(0x3ab)](_0x2475d9){var _0x1f5268=_0x8cc9a2;if(this[_0x1f5268(0x158)](_0x2475d9))return this['_clearScheduledTask'](),this['_injector']['createInstance'](Q,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],this[_0x1f5268(0x1ff)],this['_pendingMutations'],null,[_0x2475d9],this['_handler']);try{const _0x5c124f=this[_0x1f5268(0x385)][_0x1f5268(0xe7)]([_0x2475d9],[this['_awaitingChangeset']],!0x1);if(_0x53b0a7(_0x5c124f)){const {c1Prime:_0x2ac82a,c2Prime:_0x2bd8db}=_0x5c124f,_0x30757c=this[_0x1f5268(0x385)][_0x1f5268(0x1e0)](_0x2ac82a[0x0],this[_0x1f5268(0x328)]);if(_0xaeb0b0(_0x30757c)){const {c1Prime:_0x449597,m2Prime:_0x571143}=_0x30757c;return this[_0x1f5268(0x13b)](_0x449597),_0x2bd8db[0x0][_0x1f5268(0x240)]=this[_0x1f5268(0x2af)](),this[_0x1f5268(0x19f)](),this[_0x1f5268(0x127)][_0x1f5268(0x36b)](ae,this[_0x1f5268(0x2e6)],this[_0x1f5268(0x3c2)],_0x2bd8db[0x0],_0x571143,this[_0x1f5268(0xdf)],void 0x0);}throw _0x30757c[_0x1f5268(0x237)];}throw _0x5c124f[_0x1f5268(0x237)];}catch(_0x23042b){return this[_0x1f5268(0x3a2)][_0x1f5268(0x237)](_0x23042b),this[_0x1f5268(0x18f)](!0x1);}}[_0x8cc9a2(0x29f)](_0x3ff6b7){var _0x12066d=_0x8cc9a2;if(this[_0x12066d(0x19f)](),this[_0x12066d(0x158)](_0x3ff6b7))return this[_0x12066d(0x127)][_0x12066d(0x36b)](Q,this[_0x12066d(0x2e6)],this['type'],null,this[_0x12066d(0x328)],this[_0x12066d(0x1ff)],[],this[_0x12066d(0xdf)]);this[_0x12066d(0x2cb)]();const _0x39393a=this[_0x12066d(0x127)][_0x12066d(0x36b)](re,this['unitID'],this[_0x12066d(0x3c2)],this[_0x12066d(0x328)],this[_0x12066d(0xdf)]);return _0x39393a[_0x12066d(0x211)](),_0x39393a[_0x12066d(0x3c7)](),_0x39393a;}[_0x8cc9a2(0x263)](_0x45acc1){var _0x4e5dfb=_0x8cc9a2;return this[_0x4e5dfb(0x18f)](!!(_0x45acc1!=null&&_0x45acc1['isPermissionRej']));}[_0x8cc9a2(0x2f0)](_0x39677c){var _0x2371f2=_0x8cc9a2;return this['_resendTimeout']>Ci?this[_0x2371f2(0x29d)]():(this[_0x2371f2(0x3aa)]=Ii(this[_0x2371f2(0x250)],{'timeout':this['_resendTimeout'],'reqId':_0x39677c[_0x2371f2(0x394)]}),this['_sender']=this[_0x2371f2(0x3aa)][_0x2371f2(0x389)](({reqId:_0x52645b,timeout:_0x11887b})=>{var _0x27204f=_0x2371f2;this[_0x27204f(0x274)](_0x52645b,_0x11887b);}),this);}['toggleOffline'](){var _0x50804e=_0x8cc9a2;return this[_0x50804e(0x19f)](),this[_0x50804e(0x127)][_0x50804e(0x36b)](ue,this[_0x50804e(0x2e6)],this[_0x50804e(0x3c2)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x50804e(0xdf)]);}['toggleOnline'](){return this;}[_0x8cc9a2(0x197)](){var _0x33c761=_0x8cc9a2;this[_0x33c761(0xdf)]['onSendChangeset'](this[_0x33c761(0x1ff)]);}[_0x8cc9a2(0x18f)](_0x2fede0){var _0x52c3e0=_0x8cc9a2;return this[_0x52c3e0(0x19f)](),this['_injector'][_0x52c3e0(0x36b)](le,this['unitID'],this[_0x52c3e0(0x3c2)],null,this[_0x52c3e0(0x328)],this['_handler'],_0x2fede0);}['_resendWithTimeout'](_0x47b213,_0x3c0b96){var _0x241e5b=_0x8cc9a2,_0x2ccd21;_0x47b213===((_0x2ccd21=this['_awaitingChangeset'])==null?void 0x0:_0x2ccd21[_0x241e5b(0x394)])&&(this[_0x241e5b(0x197)](),this['_resendTimeout']=_0x3c0b96===0x0?0x3e8:_0x3c0b96*0x2);}[_0x8cc9a2(0x19f)](){var _0x5eb4d2=_0x8cc9a2,_0x2844ff;(_0x2844ff=this[_0x5eb4d2(0x203)])==null||_0x2844ff[_0x5eb4d2(0x31a)](),this['_resendTimeout']=0x0;}};ae=Ie([P(0x6,_0x2bc925(_0x5c0aec)),P(0x7,_0x2bc925(_0x55e017)),P(0x8,_0x8da825),P(0x9,_0xd27129),P(0xa,_0x20376b),P(0xb,_0x1ab2de),P(0xc,_0x31269b(J))],ae);let le=class extends Te{constructor(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x1822da=!0x1,_0x163048,_0x48cdd5,_0x37c1d5,_0x12c085,_0x2cc99c,_0x28a683,_0x1a535f){var _0x35881c=_0x8cc9a2;super(_0x3f49c5,_0x5eaae4,_0x2d3e06,_0x227c40,_0x36da0a,_0x48cdd5,_0x37c1d5,_0x12c085,_0x1a535f),N(this,'status',_0x35881c(0x321)),(this[_0x35881c(0x177)]=_0x1822da,this[_0x35881c(0x14b)]=_0x163048,this['_localeService']=_0x2cc99c,this[_0x35881c(0x299)]=_0x28a683,this[_0x35881c(0x38e)]=_0x1a535f,this['_showConflictNotification'](),this['_clearLocalCache'](),this[_0x35881c(0x294)]());}[_0x8cc9a2(0x182)](){return this;}[_0x8cc9a2(0x3ab)](){return this;}['onRemoteAck'](){return this;}[_0x8cc9a2(0x263)](){return this;}[_0x8cc9a2(0x2f0)](){return this;}['toggleOffline'](){return this;}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x197)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0xa11912=_0x8cc9a2,_0x429453;(_0x429453=this[_0xa11912(0x378)])==null||_0x429453[_0xa11912(0x238)](this[_0xa11912(0x2e6)],this['type'],null,[]);}[_0x8cc9a2(0x23b)](){var _0x43f9ac=_0x8cc9a2;this[_0x43f9ac(0x177)]?this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x253)]}):this[_0x43f9ac(0x299)][_0x43f9ac(0x350)]({'id':ne[_0x43f9ac(0x2ee)]});}[_0x8cc9a2(0x294)](){var _0x22da8a=_0x8cc9a2;this[_0x22da8a(0x14b)][_0x22da8a(0x244)](new _0x4721f5(this[_0x22da8a(0x2e6)])['id'],!0x1);}};le=Ie([P(0x6,_0x2bc925(_0x2c39ae)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x2bc925(_0x55e017)),P(0xa,_0x2bc925(_0x48830e)),P(0xb,_0x2bc925(ve)),P(0xc,_0x31269b(J))],le);let ue=class extends Te{constructor(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x1f022a,_0xc4f02,_0x4cd410,_0x315a2f,_0x938684){var _0x3cd878=_0x8cc9a2;super(_0x592e27,_0x1574be,_0x8acab2,_0x3375e3,_0x3f392e,_0x4cd410,_0x315a2f,_0xc4f02,_0x938684),N(this,_0x3cd878(0xdb),_0x3cd878(0x2e0)),this[_0x3cd878(0x127)]=_0x1f022a;}[_0x8cc9a2(0x182)](_0x17fcb6){var _0x21f21d=_0x8cc9a2;return this['_pendingMutations']['push'](_0x17fcb6),this[_0x21f21d(0x3c7)](),this;}[_0x8cc9a2(0x3ab)](_0x20aba6){var _0x5c4d07=_0x8cc9a2;throw new Error(_0x5c4d07(0x30a));}[_0x8cc9a2(0x29f)](){var _0x339324=_0x8cc9a2;throw new Error(_0x339324(0x192));}[_0x8cc9a2(0x263)](){var _0xe51354=_0x8cc9a2;throw new Error(_0xe51354(0x349));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){return this;}[_0x8cc9a2(0x234)](){var _0x52eb79=_0x8cc9a2;const {_injector:_0x4a39a9,_pendingMutations:_0xbcc622,_awaitingChangeset:_0x2d6768,unitID:_0x53ea4d,_handler:_0x5db200,type:_0xee5a36}=this,_0x4c4c70=Ri(_0x4a39a9,_0x53ea4d,_0xee5a36,_0x2d6768,_0xbcc622,_0x5db200);return _0x4c4c70 instanceof re?_0x4c4c70[_0x52eb79(0x211)]():(_0x4c4c70 instanceof ae||_0x4c4c70 instanceof _e)&&_0x4c4c70[_0x52eb79(0x197)](),_0x4c4c70;}[_0x8cc9a2(0x197)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ue=Ie([P(0x5,_0x2bc925(_0x5c0aec)),P(0x6,_0x2bc925(_0x55e017)),P(0x7,_0x8da825),P(0x8,_0x1ab2de),P(0x9,_0x31269b(J))],ue);let Q=class extends Te{constructor(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5c1204,_0x2034f3,_0x5f09b5,_0x5b7b3e,_0x5124f2,_0x1506f2,_0x51fe1e,_0x3454ab,_0x5e626b,_0x261644){var _0x24d88d=_0x8cc9a2;super(_0x2fd022,_0x5bf0e5,_0x16b5c6,_0x412294,_0x5f09b5,_0x51fe1e,_0x3454ab,_0x5124f2,_0x261644),N(this,_0x24d88d(0xdb),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x5c1204,this[_0x24d88d(0x331)]=_0x2034f3,this[_0x24d88d(0x127)]=_0x5b7b3e,this['_logService']=_0x1506f2,this['_transformService']=_0x5e626b,this[_0x24d88d(0x38e)]=_0x261644);}['onMissedChangesetFetched'](_0x32514d){var _0x5ba7b0=_0x8cc9a2;try{const _0x4349ca=[..._0x32514d,...this[_0x5ba7b0(0x331)]],_0x4c82d0=[this[_0x5ba7b0(0x1ff)]||this[_0x5ba7b0(0x1f6)]][_0x5ba7b0(0xd1)](_0x4fb152=>!!_0x4fb152);let _0x1d879c,_0x7ffeb;if(_0x4c82d0[_0x5ba7b0(0x1ae)]){const _0x3151c7=this[_0x5ba7b0(0x385)][_0x5ba7b0(0xe7)](_0x4349ca,_0x4c82d0,!0x1);if(!_0x53b0a7(_0x3151c7))throw _0x3151c7['error'];_0x1d879c=_0x3151c7['c1Prime'],_0x7ffeb=_0x3151c7['c2Prime'];}else _0x1d879c=_0x4349ca,_0x7ffeb=[];let _0x18d66a=this[_0x5ba7b0(0x328)];_0x1d879c[_0x5ba7b0(0x172)](_0x55de84=>{var _0x24e8bc=_0x5ba7b0;let _0x16ee74;if(_0x18d66a[_0x24e8bc(0x1ae)]){const _0x6d9a79=this[_0x24e8bc(0x385)][_0x24e8bc(0x1e0)](_0x55de84,_0x18d66a);if(!_0xaeb0b0(_0x6d9a79))throw _0x6d9a79[_0x24e8bc(0x237)];_0x16ee74=_0x6d9a79['c1Prime'],_0x18d66a=_0x6d9a79[_0x24e8bc(0x20b)];}else _0x16ee74=_0x55de84;this[_0x24e8bc(0x13b)](_0x16ee74);}),this[_0x5ba7b0(0x1f6)]&&this[_0x5ba7b0(0x2cb)](),this[_0x5ba7b0(0x1ff)]&&_0x7ffeb[_0x5ba7b0(0x1ae)]&&(_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)]());let _0x1eaa03;if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0)_0x1eaa03=this['_injector'][_0x5ba7b0(0x36b)](ae,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],_0x18d66a,this['_handler'],void 0x0);else{if(this[_0x5ba7b0(0x1ff)]&&_0x18d66a['length']===0x0)_0x7ffeb[0x0][_0x5ba7b0(0x240)]=this[_0x5ba7b0(0x2af)](),_0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](_e,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],_0x7ffeb[0x0],this['_handler']);else{if(_0x18d66a[_0x5ba7b0(0x1ae)]!==0x0){const _0x465062=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](re,this['unitID'],this[_0x5ba7b0(0x3c2)],_0x18d66a,this[_0x5ba7b0(0xdf)]);_0x465062[_0x5ba7b0(0x211)](),_0x1eaa03=_0x465062;}else _0x1eaa03=this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](ye,this[_0x5ba7b0(0x2e6)],this[_0x5ba7b0(0x3c2)],this['_handler']);}}return _0x1eaa03[_0x5ba7b0(0x3c7)](),_0x1eaa03;}catch(_0x269ecd){return this['_logService']['error']('[FetchMissState]',_0x5ba7b0(0x26d),_0x269ecd),this[_0x5ba7b0(0x127)][_0x5ba7b0(0x36b)](le,this[_0x5ba7b0(0x2e6)],this['type'],this[_0x5ba7b0(0x1ff)],this[_0x5ba7b0(0x328)],this[_0x5ba7b0(0xdf)],!0x1);}}['resend'](){var _0x2179c8=_0x8cc9a2;throw new Error(_0x2179c8(0xcc));}[_0x8cc9a2(0x182)](_0x1c0c6e){var _0x4a3350=_0x8cc9a2;return this[_0x4a3350(0x328)][_0x4a3350(0x13f)](_0x1c0c6e),this;}[_0x8cc9a2(0x3ab)](_0x4a087c){var _0x2e135d=_0x8cc9a2;return this[_0x2e135d(0x331)][_0x2e135d(0x13f)](_0x4a087c),this;}[_0x8cc9a2(0x29f)](_0x54bb5f){var _0x2ed774=_0x8cc9a2;if(this[_0x2ed774(0x1ff)])return this[_0x2ed774(0x1f6)]=this[_0x2ed774(0x1ff)],this[_0x2ed774(0x1ff)]=null,this;throw new Error(_0x2ed774(0x381));}[_0x8cc9a2(0x263)](_0x3770f8){var _0x539df6=_0x8cc9a2;return this[_0x539df6(0x18f)](!!(_0x3770f8!=null&&_0x3770f8[_0x539df6(0x191)]));}[_0x8cc9a2(0x2f0)](){return this;}[_0x8cc9a2(0x29d)](){var _0x11e53c=_0x8cc9a2;return this[_0x11e53c(0x127)][_0x11e53c(0x36b)](ue,this[_0x11e53c(0x2e6)],this[_0x11e53c(0x3c2)],this[_0x11e53c(0x1ff)],this[_0x11e53c(0x328)],this['_handler']);}[_0x8cc9a2(0x234)](){return this;}[_0x8cc9a2(0x18f)](_0x35ef3d){var _0x2f5409=_0x8cc9a2;return this[_0x2f5409(0x127)][_0x2f5409(0x36b)](le,this[_0x2f5409(0x2e6)],this[_0x2f5409(0x3c2)],this[_0x2f5409(0x1ff)],this['_pendingMutations'],this[_0x2f5409(0xdf)],_0x35ef3d);}};Q=Ie([P(0x7,_0x2bc925(_0x5c0aec)),P(0x8,_0x2bc925(_0x55e017)),P(0x9,_0xd27129),P(0xa,_0x8da825),P(0xb,_0x1ab2de),P(0xc,_0x20376b),P(0xd,_0x31269b(J))],Q);function Ri(_0x482037,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba){var _0x270d55=_0x8cc9a2;return _0x1ed6cf&&_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](ae,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x133bb8,_0x4e3aba,void 0x0):_0x1ed6cf?_0x482037[_0x270d55(0x36b)](_e,_0xe28431,_0x4d3e7c,_0x1ed6cf,_0x4e3aba):_0x133bb8[_0x270d55(0x1ae)]?_0x482037[_0x270d55(0x36b)](re,_0xe28431,_0x4d3e7c,_0x133bb8,_0x4e3aba):_0x482037[_0x270d55(0x36b)](ye,_0xe28431,_0x4d3e7c,_0x4e3aba);}var Zs=Object[_0x8cc9a2(0x2fc)],wt=(_0x41e388,_0x7a9394,_0x354d97,_0x186e84)=>{var _0x424196=_0x8cc9a2;for(var _0x33ffba=_0x186e84>0x1?void 0x0:_0x186e84?Zs(_0x7a9394,_0x354d97):_0x7a9394,_0x910721=_0x41e388[_0x424196(0x1ae)]-0x1,_0xd25c7f;_0x910721>=0x0;_0x910721--)(_0xd25c7f=_0x41e388[_0x910721])&&(_0x33ffba=_0xd25c7f(_0x33ffba)||_0x33ffba);return _0x33ffba;},H=(_0x426eb7,_0x50e0b0)=>(_0x2f1c59,_0x55d04b)=>_0x50e0b0(_0x2f1c59,_0x55d04b,_0x426eb7);let st=class extends _0x13f7ae{constructor(_0x384ba5,_0x1907f6,_0xf1eedf,_0x29841d,_0x42c33f,_0x20cde6,_0x505cd9,_0x3a9046,_0x909924,_0x372dfc,_0x500b15,_0x53080e,_0x21472c){var _0xb718a=_0x8cc9a2;super(),N(this,_0xb718a(0x1fa),new _0xf5efdc(null)),N(this,'state$',this['_state$'][_0xb718a(0x107)]()),N(this,_0xb718a(0x38c)),N(this,_0xb718a(0x3af),!0x1),N(this,_0xb718a(0x111),''),N(this,_0xb718a(0x168),0x0),N(this,_0xb718a(0x26a),this[_0xb718a(0x3a1)][_0xb718a(0x265)](_0x2b99f6(_0x7e83ac=>_0x7e83ac?_0x7e83ac['status']:Ti['OFFLINE']),_0x280cd0(0x1))),N(this,_0xb718a(0x11f),!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0xb718a(0x2e6)]=_0x384ba5,this[_0xb718a(0x1cb)]=_0x1907f6,this[_0xb718a(0x136)]=_0xf1eedf,this[_0xb718a(0x127)]=_0x29841d,this[_0xb718a(0x20e)]=_0x42c33f,this[_0xb718a(0x2cd)]=_0x20cde6,this[_0xb718a(0x358)]=_0x505cd9,this['_eventService']=_0x3a9046,this[_0xb718a(0x3a2)]=_0x909924,this[_0xb718a(0x16d)]=_0x372dfc,this[_0xb718a(0x14b)]=_0x500b15,this[_0xb718a(0x2fb)]=_0x53080e,this['_localCacheService']=_0x21472c);}get[_0x8cc9a2(0x3b9)](){var _0x2dba8d=_0x8cc9a2;return this[_0x2dba8d(0x38c)];}async['init'](){var _0x46dd39=_0x8cc9a2;if(this[_0x46dd39(0x3b9)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x46dd39(0x1dd)]();}[_0x8cc9a2(0xcf)](){var _0x57fe72=_0x8cc9a2;return this[_0x57fe72(0x3af)]=!0x0,_0x3d946d(()=>{var _0x17627e=_0x57fe72;this[_0x17627e(0x3af)]=!0x1,this[_0x17627e(0x10e)]();});}[_0x8cc9a2(0x1d5)](_0x2cb967){var _0x59c926=_0x8cc9a2;this[_0x59c926(0x1b5)](_0x2cb967);}[_0x8cc9a2(0x115)](_0x1630ce){var _0x407f7d=_0x8cc9a2;this[_0x407f7d(0x38c)]=_0x1630ce,this[_0x407f7d(0x1fa)][_0x407f7d(0x30d)](_0x1630ce);}async['_init'](){var _0x53e3fe=_0x8cc9a2,_0x216f89;this[_0x53e3fe(0x115)](await this[_0x53e3fe(0x297)]()),this[_0x53e3fe(0x2fb)]&&((_0x216f89=this['_singleActiveUnitService'])==null||_0x216f89[_0x53e3fe(0x116)](this['unitID']),this[_0x53e3fe(0x2ce)](this['_singleActiveUnitService'][_0x53e3fe(0x1f0)](this['unitID'])[_0x53e3fe(0x389)](_0x4e1f9b=>{var _0x5899d8=_0x53e3fe;this[_0x5899d8(0x3a2)]['debug']('[CollaborationEntity]',_0x5899d8(0x1f9),_0x4e1f9b),_0x4e1f9b===Ei[_0x5899d8(0x277)]?(this[_0x5899d8(0x285)]['emitEvent']({'id':ne['OTHER_CLIENT_EDITING']}),this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x1),this[_0x5899d8(0x14b)][_0x5899d8(0x137)](!0x1)):(this[_0x5899d8(0x14b)][_0x5899d8(0x244)](new _0x4721f5(this[_0x5899d8(0x2e6)])['id'],!0x0),this['_permissionService'][_0x5899d8(0x137)](!0x0));})));let _0x51b518=!0x1;return this[_0x53e3fe(0x2ce)](this[_0x53e3fe(0x1cb)][_0x53e3fe(0xfa)][_0x53e3fe(0x389)](_0x25baa1=>{var _0xaf3a00=_0x53e3fe;_0x25baa1===Se[_0xaf3a00(0x373)]?this['_toggleOnline'](_0x51b518):_0x25baa1===Se['OFFLINE']&&(_0x51b518=!0x0,this[_0xaf3a00(0x2c2)]());})),this[_0x53e3fe(0x2ce)](this['session']['event$'][_0x53e3fe(0x389)](_0xf3a9f9=>{var _0x37bcbe=_0x53e3fe;try{switch(_0xf3a9f9[_0x37bcbe(0x22e)]){case _0x52d112['NEW_CHANGESETS']:{this['_onRemoteChangeset'](_0xb25bd1(_0xf3a9f9[_0x37bcbe(0x32a)]));break;}case _0x52d112[_0x37bcbe(0x2a7)]:{this[_0x37bcbe(0x204)](_0xf3a9f9['data']);break;}case _0x52d112[_0x37bcbe(0x224)]:{this['_onRemoteRejected']();break;}case _0x52d112[_0x37bcbe(0x1ce)]:{this[_0x37bcbe(0x213)](_0xf3a9f9[_0x37bcbe(0x32a)]);break;}case _0x52d112[_0x37bcbe(0x278)]:{this[_0x37bcbe(0xc3)](_0xf3a9f9[_0x37bcbe(0x32a)][_0x37bcbe(0x318)][_0x37bcbe(0x34c)](_0x3a79e3=>_0xb25bd1(_0x3a79e3)));break;}case _0x52d112[_0x37bcbe(0x2b2)]:{this[_0x37bcbe(0xd8)]({'isPermissionRej':!0x0});break;}case _0x52d112[_0x37bcbe(0xce)]:break;}}catch(_0x4d958c){throw console[_0x37bcbe(0x237)](_0x37bcbe(0xdc),_0x4d958c),_0x4d958c;}})),this[_0x53e3fe(0x38c)];}[_0x8cc9a2(0x264)](){var _0x389671=_0x8cc9a2;this[_0x389671(0x11f)]=!0x1;}[_0x8cc9a2(0x28d)](){var _0x2523c1=_0x8cc9a2;if(this['_transitionLocked'])throw new Error(_0x2523c1(0x314));this['_transitionLocked']=!0x0;}[_0x8cc9a2(0x1b5)](_0x92e3e9){var _0x5eec18=_0x8cc9a2;this['_lockTransition'](),this[_0x5eec18(0x115)](this[_0x5eec18(0x38c)][_0x5eec18(0x182)](_0x92e3e9)),this[_0x5eec18(0x264)]();}['_onRemoteChangeset'](_0x3247d9){var _0x1505c7=_0x8cc9a2;if(!(_0x3247d9[_0x1505c7(0x306)]<=this[_0x1505c7(0x358)]['getCurrentRevOfUnit'](this[_0x1505c7(0x2e6)]))){if(this[_0x1505c7(0x3af)]){this['_remoteChangesetQueue'][_0x1505c7(0x13f)](_0x3247d9);return;}this[_0x1505c7(0x335)](_0x3247d9);}}[_0x8cc9a2(0x10e)](){var _0x2c090a=_0x8cc9a2;this['_remoteChangesetQueue'][_0x2c090a(0x172)](_0x363254=>this['_applyRemoteChangeset'](_0x363254)),this['_remoteChangesetQueue']=[];}[_0x8cc9a2(0x335)](_0x6a4ad5){var _0x3daf3b=_0x8cc9a2;const _0x1765ce=this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x311)](this['_compressMutationService'][_0x3daf3b(0x3c8)][_0x3daf3b(0x364)]()['COMPRESS_MUTATION_APPLY'])(_0x6a4ad5[_0x3daf3b(0x3be)],null)||_0x6a4ad5[_0x3daf3b(0x3be)],_0x51fd4a={..._0x6a4ad5,'mutations':_0x1765ce};this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteChangeset'](_0x51fd4a)),this['_unlockTransition']();}['_onRemoteACK'](_0xf5bcd0){var _0x577dd8=_0x8cc9a2;this[_0x577dd8(0x28d)](),this[_0x577dd8(0x115)](this[_0x577dd8(0x38c)]['onRemoteAck'](_0xf5bcd0)),this[_0x577dd8(0x264)]();}[_0x8cc9a2(0xd8)](_0x29277c){var _0x267c54=_0x8cc9a2;this['_lockTransition'](),this[_0x267c54(0x115)](this['_state'][_0x267c54(0x263)](_0x29277c)),this['_unlockTransition']();}[_0x8cc9a2(0x213)](_0x34284e){var _0x2631e3=_0x8cc9a2;this[_0x2631e3(0x28d)](),this[_0x2631e3(0x115)](this['_state'][_0x2631e3(0x2f0)](_0x34284e)),this[_0x2631e3(0x264)]();}['_onFetchMissResult'](_0x55dd81){var _0x3d2a60=_0x8cc9a2;if(!(this[_0x3d2a60(0x38c)]instanceof Q))throw new TypeError(_0x3d2a60(0x255));const _0x340004=_0x55dd81['map'](_0x4e5776=>{var _0x261bf5=_0x3d2a60;const _0x2247c4=this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x311)](this[_0x261bf5(0x20e)][_0x261bf5(0x3c8)][_0x261bf5(0x364)]()[_0x261bf5(0x170)])(_0x4e5776[_0x261bf5(0x3be)],null)||_0x4e5776[_0x261bf5(0x3be)];return{..._0x4e5776,'mutations':_0x2247c4};});this[_0x3d2a60(0x28d)](),this[_0x3d2a60(0x115)](this[_0x3d2a60(0x38c)][_0x3d2a60(0x15b)](_0x340004)),this['_unlockTransition']();}['_toggleOffline'](){var _0x11e2b1=_0x8cc9a2;this[_0x11e2b1(0x28d)](),this[_0x11e2b1(0x115)](this[_0x11e2b1(0x38c)][_0x11e2b1(0x29d)]()),this[_0x11e2b1(0x264)]();}['_toggleOnline'](_0x30d13c=!0x1){var _0x456806=_0x8cc9a2;this['_lockTransition'](),this['_updateState'](this[_0x456806(0x38c)][_0x456806(0x234)]()),this[_0x456806(0x264)]();const _0x2728b4=this[_0x456806(0x38c)];_0x30d13c&&_0x2728b4 instanceof ye&&(this[_0x456806(0x28d)](),this[_0x456806(0x115)](_0x2728b4[_0x456806(0x23c)]()),this[_0x456806(0x264)]());}async[_0x8cc9a2(0x297)](){return new Promise(_0x4e132d=>{var _0x117263=_0x178d;this[_0x117263(0x1cb)][_0x117263(0xfa)]['pipe'](_0x1d9788(0x1))['subscribe'](async _0x14ac66=>{var _0x2570c5=_0x117263;_0x4e132d(await this[_0x2570c5(0x2ff)](_0x14ac66===Se[_0x2570c5(0x373)]));});});}[_0x8cc9a2(0x2de)](){var _0x3acfcc=_0x8cc9a2;const _0xf7dab0=this[_0x3acfcc(0x2e6)];return{'onStateChange':(_0x2ffd46,_0x44f727)=>{var _0x1fb757=_0x3acfcc;if(_0x2ffd46!==this['_state'])throw new Error(_0x1fb757(0x22f)+_0x2ffd46['status']+_0x1fb757(0x131)+_0x44f727['status']+'\x0aCurrent:\x20'+this[_0x1fb757(0x38c)]['status']);this[_0x1fb757(0x115)](_0x44f727);},'onSendChangeset':_0x3e0898=>{var _0x3e1685=_0x3acfcc;_0x3e0898['sid']||(_0x3e0898[_0x3e1685(0x181)]=this[_0x3e1685(0x111)],_0x3e0898[_0x3e1685(0x394)]=++this['_changesetReqId']);const _0x124b28={'eventID':_0x52d112[_0x3e1685(0x2da)],'data':{'unitID':_0x3e0898[_0x3e1685(0x2e6)],'unitType':this['_type'],'changeset':_0x3e0898,'memberID':this[_0x3e1685(0x1cb)][_0x3e1685(0x208)]()}};this[_0x3e1685(0x1cb)][_0x3e1685(0x2e1)](_0x124b28,this[_0x3e1685(0x2e6)]);},'onMissingChangesets':({from:_0x5037fa,to:_0xa75b87})=>{var _0x42ed2a=_0x3acfcc;this[_0x42ed2a(0x3a2)][_0x42ed2a(0x31b)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x5037fa+_0x42ed2a(0x248)+_0xa75b87);const _0x477c49={'eventID':_0x52d112['FETCH_MISSING'],'data':{'unitID':_0xf7dab0,'unitType':this[_0x42ed2a(0x136)],'from':_0x5037fa,'to':_0xa75b87}};this[_0x42ed2a(0x1cb)][_0x42ed2a(0x2e1)](_0x477c49,this[_0x42ed2a(0x2e6)]);}};}async[_0x8cc9a2(0x2ff)](_0x26b8ab){var _0x1614e3=_0x8cc9a2,_0x4e693c,_0x5ca418,_0x184e69;const _0x1b5ba9=await((_0x4e693c=this[_0x1614e3(0x378)])==null?void 0x0:_0x4e693c[_0x1614e3(0x202)](this['unitID'])),_0x2ed19f=(_0x5ca418=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0x3be)])!=null?_0x5ca418:[],_0x454299=(_0x184e69=_0x1b5ba9==null?void 0x0:_0x1b5ba9[_0x1614e3(0xc4)])!=null?_0x184e69:null,_0x2c2de4=!!(_0x454299!=null&&_0x454299[_0x1614e3(0x181)])&&!!(_0x454299!=null&&_0x454299[_0x1614e3(0x394)]);this[_0x1614e3(0x111)]=_0x2c2de4?_0x454299[_0x1614e3(0x181)]:_0xdb3176(),this[_0x1614e3(0x168)]=_0x2c2de4?_0x454299[_0x1614e3(0x394)]:0x0;const _0x2a0d9d=this[_0x1614e3(0x2e6)];try{this['_replayCachedMutations'](_0x454299,_0x2ed19f);}catch(_0x14e629){this[_0x1614e3(0x3a2)]['error'](_0x14e629);}const _0x206453=this[_0x1614e3(0x2de)]();if(_0x26b8ab){const _0x17ea9d=Ri(this['_injector'],_0x2a0d9d,this['_type'],_0x454299,_0x2ed19f,_0x206453);return _0x17ea9d instanceof re?_0x17ea9d[_0x1614e3(0x211)]():(_0x17ea9d instanceof ae||_0x17ea9d instanceof _e)&&_0x17ea9d[_0x1614e3(0x197)](),_0x17ea9d;}return this['_injector']['createInstance'](ue,_0x2a0d9d,this[_0x1614e3(0x136)],_0x454299,_0x2ed19f,_0x206453);}[_0x8cc9a2(0x159)](_0x529fbf,_0x5c51bc){var _0x373d75=_0x8cc9a2,_0x2f119d,_0xa22402;const _0x5e79e5=this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x311)](this['_compressMutationService'][_0x373d75(0x3c8)][_0x373d75(0x364)]()[_0x373d75(0x170)]);(_0x2f119d=_0x5e79e5((_0x529fbf==null?void 0x0:_0x529fbf[_0x373d75(0x3be)])||[],null))==null||_0x2f119d[_0x373d75(0x172)](_0x281441=>this[_0x373d75(0x16d)]['executeCommand'](_0x281441['id'],_0x281441['params'])),(_0xa22402=_0x5e79e5(_0x5c51bc||[],null))==null||_0xa22402['forEach'](_0x34cb0a=>this[_0x373d75(0x16d)][_0x373d75(0x280)](_0x34cb0a['id'],_0x34cb0a['params']));}};st=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],st);let St=class extends st{constructor(_0x297183,_0x5a1ff8,_0x5ca9ad,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69){var _0x5f5287=_0x8cc9a2;super(_0x297183,_0x5ca9ad,_0x5a1ff8,_0x5a7f43,_0x1e1ffa,_0x4ed308,_0x4776c1,_0x3601d1,_0x3f8f68,_0x532707,_0x20e033,_0x44f2e,_0x53df69),N(this,_0x5f5287(0x284),null),(this['unitID']=_0x297183,this[_0x5f5287(0x3c2)]=_0x5a1ff8);}[_0x8cc9a2(0x173)](_0x3b536f){var _0x27ce29=_0x8cc9a2;this[_0x27ce29(0x284)]=_0x3b536f;}[_0x8cc9a2(0x1ab)](){var _0x1fb588=_0x8cc9a2;this[_0x1fb588(0x284)]=null,super[_0x1fb588(0x1ab)]();}['_createHandler'](){var _0x35b560=_0x8cc9a2;const _0x54e030=super['_createHandler']();return _0x54e030[_0x35b560(0x179)]=_0x35d5d0=>{var _0x5ae045=_0x35b560,_0xad4eeb,_0x26467c;return(_0x26467c=(_0xad4eeb=this[_0x5ae045(0x284)])==null?void 0x0:_0xad4eeb[_0x5ae045(0x179)])==null?void 0x0:_0x26467c[_0x5ae045(0x324)](_0xad4eeb,_0x35d5d0);},_0x54e030[_0x35b560(0x270)]=_0x26af5c=>{var _0xa5fdc=_0x35b560,_0x461b3c,_0x158303;return(_0x158303=(_0x461b3c=this[_0xa5fdc(0x284)])==null?void 0x0:_0x461b3c[_0xa5fdc(0x270)])==null?void 0x0:_0x158303[_0xa5fdc(0x324)](_0x461b3c,_0x26af5c);},_0x54e030[_0x35b560(0x2a8)]=_0x1f21f0=>{var _0x56cb94=_0x35b560,_0x465e6d,_0x97ef3f;return(_0x97ef3f=(_0x465e6d=this[_0x56cb94(0x284)])==null?void 0x0:_0x465e6d['onTransformSelections'])==null?void 0x0:_0x97ef3f['call'](_0x465e6d,_0x1f21f0);},_0x54e030[_0x35b560(0x22c)]=_0x5801e0=>{var _0x386378=_0x35b560,_0x357152,_0x5991a3;return(_0x5991a3=(_0x357152=this[_0x386378(0x284)])==null?void 0x0:_0x357152[_0x386378(0x22c)])==null?void 0x0:_0x5991a3[_0x386378(0x324)](_0x357152,_0x5801e0);},_0x54e030['onTransformRemoteChangesetByIMECache']=_0x44ae80=>{var _0x42fd96=_0x35b560,_0x3fc71e,_0x4e89b4,_0x24479f;if(!((_0x3fc71e=this['_handlerCallback'])!=null&&_0x3fc71e[_0x42fd96(0x246)]))throw new Error(_0x42fd96(0x28e));return(_0x24479f=(_0x4e89b4=this[_0x42fd96(0x284)])==null?void 0x0:_0x4e89b4[_0x42fd96(0x246)])==null?void 0x0:_0x24479f[_0x42fd96(0x324)](_0x4e89b4,_0x44ae80);},_0x54e030[_0x35b560(0x219)]=_0x513d19=>{var _0x458c7e=_0x35b560,_0x36ba6c,_0x4aacea,_0x115ea9;if(!((_0x36ba6c=this['_handlerCallback'])!=null&&_0x36ba6c[_0x458c7e(0x219)]))throw new Error(_0x458c7e(0x249));return(_0x115ea9=(_0x4aacea=this['_handlerCallback'])==null?void 0x0:_0x4aacea[_0x458c7e(0x219)])==null?void 0x0:_0x115ea9['call'](_0x4aacea,_0x513d19);},_0x54e030;}async[_0x8cc9a2(0x1dd)](){var _0x45ef8b=_0x8cc9a2;const _0x35f88b=await super[_0x45ef8b(0x1dd)]();return this[_0x45ef8b(0x2ce)](this[_0x45ef8b(0x16d)][_0x45ef8b(0x17f)]((_0x2523be,_0x22a0b6)=>{var _0xf1747b=_0x45ef8b;if(_0x2523be[_0xf1747b(0x3c2)]!==_0x2aff31[_0xf1747b(0xc2)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0xf3)]||_0x22a0b6!=null&&_0x22a0b6[_0xf1747b(0x251)]||_0x2523be['id']===_0x6cc34['id'])return;const _0x50f60e=_0x2523be[_0xf1747b(0x3b3)];if((_0x50f60e==null?void 0x0:_0x50f60e[_0xf1747b(0x3a7)])!==this[_0xf1747b(0x2e6)])return;const _0x74300d=_0x2523be,_0x3e18f0=this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x311)](this[_0xf1747b(0x20e)][_0xf1747b(0x3c8)][_0xf1747b(0x364)]()[_0xf1747b(0x2f6)])([_0x74300d],null)||[_0x74300d];this[_0xf1747b(0x1b5)](_0x3e18f0[0x0]);})),_0x35f88b;}};St=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(ve)),H(0x8,_0xd27129),H(0x9,_0x8da825),H(0xa,_0x2c39ae),H(0xb,_0x31269b(ht)),H(0xc,_0x31269b(J))],St);let Et=class extends st{constructor(_0x236ece,_0x5ccf97,_0x1a421b,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x466bec,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468){var _0x25dd06=_0x8cc9a2;super(_0x236ece,_0x1a421b,_0x5ccf97,_0x176534,_0x263179,_0x203a16,_0x5da6fa,_0x4d3942,_0x703b1d,_0x577c7e,_0x369b71,_0x4ced3f,_0x3b9468),this[_0x25dd06(0x2e6)]=_0x236ece,this[_0x25dd06(0x3c2)]=_0x5ccf97,this[_0x25dd06(0x12a)]=_0x466bec;}[_0x8cc9a2(0x2de)](){var _0x19169f=_0x8cc9a2;const _0x477694=super[_0x19169f(0x2de)]();return _0x477694[_0x19169f(0x2a8)]=_0x3a160d=>this[_0x19169f(0x12a)]['transformSelections'](_0x3a160d),_0x477694;}async['_init'](){var _0x185d7e=_0x8cc9a2;const _0xf704e6=await super[_0x185d7e(0x1dd)]();return this[_0x185d7e(0x2ce)](this['_commandService'][_0x185d7e(0x17f)]((_0x9165be,_0x679e02)=>{var _0x4a776f=_0x185d7e;if(_0x9165be[_0x4a776f(0x3c2)]!==_0x2aff31[_0x4a776f(0xc2)]||_0x679e02!=null&&_0x679e02[_0x4a776f(0xf3)]||_0x679e02!=null&&_0x679e02['onlyLocal'])return;const _0x51444f=_0x9165be[_0x4a776f(0x3b3)];if((_0x51444f==null?void 0x0:_0x51444f['unitId'])!==this[_0x4a776f(0x2e6)])return;const _0x1236df=_0x9165be,_0x35949f=this[_0x4a776f(0x20e)]['interceptor'][_0x4a776f(0x311)](this[_0x4a776f(0x20e)][_0x4a776f(0x3c8)][_0x4a776f(0x364)]()[_0x4a776f(0x2f6)])([_0x1236df],null)||[_0x1236df];this[_0x4a776f(0x1b5)](_0x35949f[0x0]);})),_0xf704e6;}};Et=wt([H(0x3,_0x2bc925(_0x5c0aec)),H(0x4,_0x2bc925(_0x4b00a2)),H(0x5,_0x2bc925(_0x48830e)),H(0x6,_0x2bc925(_0x55e017)),H(0x7,_0x2bc925(it)),H(0x8,_0x2bc925(ve)),H(0x9,_0xd27129),H(0xa,_0x8da825),H(0xb,_0x2c39ae),H(0xc,_0x31269b(ht)),H(0xd,_0x31269b(J))],Et);var Qs=Object[_0x8cc9a2(0x2fc)],en=(_0x18a2fb,_0x1ef8f8,_0x3fbda3,_0xd3c742)=>{for(var _0x4d74f7=_0xd3c742>0x1?void 0x0:_0xd3c742?Qs(_0x1ef8f8,_0x3fbda3):_0x1ef8f8,_0x5dc918=_0x18a2fb['length']-0x1,_0x337c1c;_0x5dc918>=0x0;_0x5dc918--)(_0x337c1c=_0x18a2fb[_0x5dc918])&&(_0x4d74f7=_0x337c1c(_0x4d74f7)||_0x4d74f7);return _0x4d74f7;},Be=(_0x31c84e,_0x25a0fe)=>(_0x5b6bce,_0x420d7f)=>_0x25a0fe(_0x5b6bce,_0x420d7f,_0x31c84e);let nt=class extends _0x13f7ae{constructor(_0x52f46c,_0x33cf67,_0x1756d0,_0x1468b4){var _0x4b8f1e=_0x8cc9a2,_0x3feacd;super(),N(this,_0x4b8f1e(0xeb),new Map()),N(this,_0x4b8f1e(0x200),new _0x71a712()),N(this,'entityInit$',this[_0x4b8f1e(0x200)][_0x4b8f1e(0x107)]()),(this[_0x4b8f1e(0x127)]=_0x52f46c,this[_0x4b8f1e(0x345)]=_0x33cf67,this[_0x4b8f1e(0xee)]=_0x1756d0,this[_0x4b8f1e(0x370)]=_0x1468b4,((_0x3feacd=this['_configService'][_0x4b8f1e(0x122)](K))==null?void 0x0:_0x3feacd[_0x4b8f1e(0x26c)])!==!0x1&&this[_0x4b8f1e(0x1dd)]());}[_0x8cc9a2(0x1ab)](){var _0x204dda=_0x8cc9a2;super[_0x204dda(0x1ab)](),this[_0x204dda(0xeb)][_0x204dda(0x172)](_0x2618c6=>_0x2618c6[_0x204dda(0x1ab)]()),this[_0x204dda(0xeb)]['clear']();}[_0x8cc9a2(0x27d)](_0x54895f){var _0x440e3b=_0x8cc9a2,_0x32c075;return(_0x32c075=this['_entities'][_0x440e3b(0x313)](_0x54895f))!=null?_0x32c075:null;}[_0x8cc9a2(0x1ef)](_0x4ca87e){var _0x31637f=_0x8cc9a2;const _0x32961e=this[_0x31637f(0x27d)](_0x4ca87e);return _0x32961e?_0x32f5dc(_0x32961e):this[_0x31637f(0x200)][_0x31637f(0x265)](_0x469615(_0x555939=>_0x555939[_0x31637f(0x2e6)]===_0x4ca87e));}[_0x8cc9a2(0x260)](_0x3e2ee4){var _0xa09118=_0x8cc9a2;return _0x54ae21(this[_0xa09118(0x1ef)](_0x3e2ee4)[_0xa09118(0x265)](_0xcf6408(()=>{})));}['_init'](){var _0x4eebad=_0x8cc9a2;this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2[_0x4eebad(0x2f4)])['pipe'](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x389)](async _0x170887=>{var _0x1c3d5c=_0x4eebad;const _0x3fa335=_0x170887[_0x1c3d5c(0x239)](),_0x4d0281=await this[_0x1c3d5c(0x27b)](_0x3fa335,Z[_0x1c3d5c(0x2f4)]);this[_0x1c3d5c(0xeb)][_0x1c3d5c(0x2bb)](_0x3fa335,_0x4d0281);}),this[_0x4eebad(0x370)][_0x4eebad(0x2a6)](_0x444bb2['UNIVER_DOC'])[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]),_0x4b53e2(0x10))[_0x4eebad(0x265)](_0x469615(_0x24c59d=>!_0x24c59d[_0x4eebad(0x239)]()['startsWith']('__')))[_0x4eebad(0x389)](async _0xbcf3e9=>{var _0x569c9a=_0x4eebad;const _0x7214ff=_0xbcf3e9[_0x569c9a(0x239)](),_0x5d5a75=await this[_0x569c9a(0x27b)](_0x7214ff,Z[_0x569c9a(0x11c)]);this['_entities'][_0x569c9a(0x2bb)](_0x7214ff,_0x5d5a75);}),_0x4e790d(this[_0x4eebad(0x370)]['getTypeOfUnitDisposed$'](_0x444bb2[_0x4eebad(0x2f4)]),this[_0x4eebad(0x370)][_0x4eebad(0x309)](_0x444bb2[_0x4eebad(0x11c)]))[_0x4eebad(0x265)](_0x49e2dd(this[_0x4eebad(0x346)]))['subscribe'](_0x47f0fc=>{var _0x1513ef=_0x4eebad;const _0x5767e1=_0x47f0fc[_0x1513ef(0x239)](),_0x52b7b6=this[_0x1513ef(0xeb)][_0x1513ef(0x313)](_0x5767e1);_0x52b7b6&&(_0x52b7b6[_0x1513ef(0x1ab)](),this[_0x1513ef(0xeb)][_0x1513ef(0x2aa)](_0x5767e1));});}async[_0x8cc9a2(0x27b)](_0x489810,_0x39531f){var _0x3f1ef8=_0x8cc9a2;const _0x3f7987=await this[_0x3f1ef8(0x345)][_0x3f1ef8(0x148)](_0x489810),_0x466da0=this[_0x3f1ef8(0x127)][_0x3f1ef8(0x36b)](this['_getCtorByUniverType'](_0x39531f),_0x489810,_0x39531f,_0x3f7987);return await _0x466da0[_0x3f1ef8(0x1ec)](),this[_0x3f1ef8(0x200)]['next'](_0x466da0),_0x466da0;}[_0x8cc9a2(0x2f2)](_0x127a7f){var _0x27479e=_0x8cc9a2;switch(_0x127a7f){case Z['UNIVER_DOC']:return St;case Z[_0x27479e(0x2f4)]:return Et;default:throw new Error(_0x27479e(0x22b)+_0x127a7f);}}};nt=en([Be(0x0,_0x2bc925(_0x5c0aec)),Be(0x1,_0x2bc925(Le)),Be(0x2,_0x195c73),Be(0x3,_0x24fe3b)],nt);var tn=Object[_0x8cc9a2(0x2fc)],sn=(_0x2f7b19,_0x2f7c9b,_0x162997,_0xce600)=>{var _0x42b717=_0x8cc9a2;for(var _0x596066=_0xce600>0x1?void 0x0:_0xce600?tn(_0x2f7c9b,_0x162997):_0x2f7c9b,_0x1d7cf6=_0x2f7b19[_0x42b717(0x1ae)]-0x1,_0x570aff;_0x1d7cf6>=0x0;_0x1d7cf6--)(_0x570aff=_0x2f7b19[_0x1d7cf6])&&(_0x596066=_0x570aff(_0x596066)||_0x596066);return _0x596066;},Yt=(_0xac532b,_0x2aab44)=>(_0x4dbe52,_0x4b597d)=>_0x2aab44(_0x4dbe52,_0x4b597d,_0xac532b);const nn=_0x8cc9a2(0x3ac),rn=_0x8cc9a2(0x327);let It=class extends _0x580a3b{constructor(_0x6466a6,_0x192d2e){var _0x496e19=_0x8cc9a2;super(),this[_0x496e19(0x370)]=_0x6466a6,this[_0x496e19(0xee)]=_0x192d2e,this[_0x496e19(0x1dd)]();}[_0x8cc9a2(0x1dd)](){var _0x5c7c46=_0x8cc9a2;this['disposeWithMe'](this[_0x5c7c46(0x370)][_0x5c7c46(0x109)]['subscribe'](()=>{var _0x2b6878=_0x5c7c46,_0x100e7f;const _0x4e3bb2=this[_0x2b6878(0x370)]['getFocusedUnit']();let _0x1f18c3=(_0x100e7f=this[_0x2b6878(0xee)][_0x2b6878(0x122)](nn))!=null?_0x100e7f:rn;_0x4e3bb2 instanceof _0x118162&&(_0x1f18c3=_0x4e3bb2[_0x2b6878(0x387)]),document[_0x2b6878(0x391)]=_0x1f18c3;}));}};It=sn([Yt(0x0,_0x24fe3b),Yt(0x1,_0x195c73)],It);var an=Object['getOwnPropertyDescriptor'],on=(_0x4eb8e4,_0xd3e13,_0x563ce3,_0x59dbc9)=>{var _0xbe64f6=_0x8cc9a2;for(var _0x5c0511=_0x59dbc9>0x1?void 0x0:_0x59dbc9?an(_0xd3e13,_0x563ce3):_0xd3e13,_0x278f41=_0x4eb8e4[_0xbe64f6(0x1ae)]-0x1,_0x3697e7;_0x278f41>=0x0;_0x278f41--)(_0x3697e7=_0x4eb8e4[_0x278f41])&&(_0x5c0511=_0x3697e7(_0x5c0511)||_0x5c0511);return _0x5c0511;},dt=(_0x3c9b21,_0x3aa875)=>(_0x423cc4,_0x694129)=>_0x3aa875(_0x423cc4,_0x694129,_0x3c9b21);let rt=class{constructor(_0x456407,_0x5b3160,_0x440da7){var _0x29cad6=_0x8cc9a2;this[_0x29cad6(0xee)]=_0x456407,this[_0x29cad6(0x100)]=_0x5b3160,this[_0x29cad6(0x151)]=_0x440da7,this[_0x29cad6(0x1ec)]();}[_0x8cc9a2(0x1ec)](){var _0x2e8b7a=_0x8cc9a2;this['_httpService'][_0x2e8b7a(0x2a9)]({'priority':0x1,'interceptor':(_0x1b9863,_0xa37998)=>_0xa37998(_0x1b9863)['pipe'](_0x4ea64a(async _0x1d555d=>{var _0x1874a1=_0x2e8b7a;const _0x9f7a16=_0x1d555d;if(_0x9f7a16[_0x1874a1(0xdb)]===0x191){if(typeof window>'u')throw new Error(_0x1874a1(0x2bf));if(window[_0x1874a1(0x196)](this[_0x1874a1(0x151)]['t']('auth.needGotoLoginAlert'))){const _0x29b081=window[_0x1874a1(0x1fc)](window[_0x1874a1(0x1b6)][_0x1874a1(0x2d7)]);window[_0x1874a1(0x1b6)]['href']=this['_getLoginPath']()+_0x1874a1(0x2b1)+_0x29b081;}}return _0x9f7a16;}))});}[_0x8cc9a2(0x1f5)](){var _0x200fcb=_0x8cc9a2,_0x5b2b5f,_0x256e30;const _0x209b56=this[_0x200fcb(0xee)]['getConfig'](ys),_0x77c392=this[_0x200fcb(0xee)]['getConfig'](K);return(_0x256e30=(_0x5b2b5f=_0x77c392==null?void 0x0:_0x77c392[_0x200fcb(0x185)])!=null?_0x5b2b5f:_0x209b56)!=null?_0x256e30:Ns;}};rt=on([dt(0x0,_0x195c73),dt(0x1,_0x2bc925(_0x2b7687)),dt(0x2,_0x2bc925(_0x48830e))],rt);var cn=Object[_0x8cc9a2(0x2fc)],hn=(_0x23652d,_0x2543e5,_0x4da61a,_0x6f9865)=>{var _0x12cb50=_0x8cc9a2;for(var _0x2684a2=_0x6f9865>0x1?void 0x0:_0x6f9865?cn(_0x2543e5,_0x4da61a):_0x2543e5,_0x30f60b=_0x23652d[_0x12cb50(0x1ae)]-0x1,_0x498dd1;_0x30f60b>=0x0;_0x30f60b--)(_0x498dd1=_0x23652d[_0x30f60b])&&(_0x2684a2=_0x498dd1(_0x2684a2)||_0x2684a2);return _0x2684a2;},Kt=(_0x59ff51,_0x14b297)=>(_0x241385,_0x512d06)=>_0x14b297(_0x241385,_0x512d06,_0x59ff51);const bi='AUTHZ_URL_KEY',_n=_0x8cc9a2(0xe1);let Tt=class extends _0x580a3b{constructor(_0x1b45f9,_0x111bcb){var _0x1737b3=_0x8cc9a2;super(),this['_HTTPService']=_0x1b45f9,this[_0x1737b3(0xee)]=_0x111bcb,this[_0x1737b3(0xd3)]();}[_0x8cc9a2(0xd3)](){var _0x338d0c=_0x8cc9a2;const _0x580456=this;this[_0x338d0c(0x2ce)](this[_0x338d0c(0x1eb)][_0x338d0c(0x2a9)]({'priority':0x3e7,'interceptor':_0x480f26({'isMatch'(_0x5e088c){var _0x4a4bff=_0x338d0c,_0x88d33;if(_0x5e088c['method']===_0x4a4bff(0x198)&&((_0x88d33=_0x5e088c['requestParams'])!=null&&_0x88d33['body'])){const {objectID:_0x5c1502,objectType:_0x1784c7}=_0x5e088c['requestParams']['body']||{};if(!_0x5c1502||_0x1784c7===void 0x0)return!0x1;const _0x54b8d1=_0x580456[_0x4a4bff(0xc7)]()+'/'+_0x1784c7+_0x4a4bff(0x2ea)+_0x5c1502+_0x4a4bff(0x2f9);if(_0x5e088c['url']===_0x54b8d1)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x268975){var _0x4145f0=_0x338d0c,_0x1cc73d;return(_0x1cc73d=_0x268975[_0x4145f0(0x2f5)])==null?void 0x0:_0x1cc73d[_0x4145f0(0x242)];},'mergeParamsToRequest'(_0x593d7e,_0x38b44c){var _0x3e8be7=_0x338d0c;const _0x27005c=_0x580456[_0x3e8be7(0xc7)]()+_0x3e8be7(0xe3),_0xbdaf26=_0x593d7e[_0x3e8be7(0x1dc)]((_0x4b10d0,_0x28a74c)=>{var _0x330d68=_0x3e8be7;const {unitID:_0x3d4c94,objectID:_0x1dd1c0,objectType:_0x5b63de,actions:_0x53c733}=_0x28a74c;return _0x4b10d0[_0x3d4c94]||(_0x4b10d0[_0x3d4c94]={}),_0x4b10d0[_0x3d4c94][_0x1dd1c0]||(_0x4b10d0[_0x3d4c94][_0x1dd1c0]={'objectID':_0x1dd1c0,'objectType':_0x5b63de,'actions':[]}),_0x4b10d0[_0x3d4c94][_0x1dd1c0][_0x330d68(0x16f)][_0x330d68(0x13f)](..._0x53c733),_0x4b10d0;},{}),_0x5349ea=[];for(const _0x5e08f8 in _0xbdaf26)for(const _0x42996b in _0xbdaf26[_0x5e08f8]){const {actions:_0x5248f3,objectType:_0x34da1b}=_0xbdaf26[_0x5e08f8][_0x42996b],_0x1d3dc9=[...new Set(_0x5248f3)];_0x5349ea[_0x3e8be7(0x13f)]({'unitID':_0x5e08f8,'objectID':_0x42996b,'objectType':_0x34da1b,'actions':_0x1d3dc9});}return new _0x47c3f2('POST',_0x27005c,{'headers':_0x38b44c['headers'],'withCredentials':_0x38b44c[_0x3e8be7(0x21c)],'responseType':_0x38b44c[_0x3e8be7(0xe4)],'body':{'requests':_0x5349ea}});}},{'distributeResult'(_0x561dc2,_0x1c3485){var _0x520134=_0x338d0c;const {objectActions:_0x274234}=_0x561dc2;return _0x1c3485[_0x520134(0x34c)](_0x20e443=>{var _0x4c4f83=_0x520134;const {unitID:_0x184bb2,objectID:_0x59d5ec,actions:_0x23e5a9}=_0x20e443,_0x5a0578=_0x274234[_0x4c4f83(0x1b8)](_0x3fd089=>_0x3fd089[_0x4c4f83(0x2e6)]===_0x184bb2&&_0x3fd089[_0x4c4f83(0x3bc)]===_0x59d5ec),_0x21d99f=_0x23e5a9[_0x4c4f83(0x34c)](_0x2e02fd=>_0x5a0578==null?void 0x0:_0x5a0578[_0x4c4f83(0x16f)][_0x4c4f83(0x1b8)](_0x4d27f9=>_0x4d27f9['action']===_0x2e02fd))[_0x4c4f83(0xd1)](_0x2774c5=>!!_0x2774c5);return{'config':_0x20e443,'result':{'actions':_0x21d99f,'error':_0x561dc2[_0x4c4f83(0x237)]}};});}})}));}[_0x8cc9a2(0xc7)](){var _0xbf616d=_0x8cc9a2,_0x374c7c,_0x510a3b;const _0x1448cc=this[_0xbf616d(0xee)][_0xbf616d(0x122)](bi),_0x2339cd=this[_0xbf616d(0xee)]['getConfig'](K);return(_0x510a3b=(_0x374c7c=_0x2339cd==null?void 0x0:_0x2339cd[_0xbf616d(0x2d2)])!=null?_0x374c7c:_0x1448cc)!=null?_0x510a3b:_n;}async['create'](_0x4a5845){var _0xc0df61=_0x8cc9a2;const _0xeca5=this[_0xc0df61(0xc7)]()+'/'+_0x4a5845[_0xc0df61(0xfe)]+_0xc0df61(0xff);return(await this[_0xc0df61(0x1eb)][_0xc0df61(0x171)](_0xeca5,{'body':_0x4a5845}))['body']['objectID']||'';}async['list'](_0xf0a596){var _0x20ee53=_0x8cc9a2;const _0x4bfd76=this[_0x20ee53(0xc7)]()+_0x20ee53(0x156);return(await this[_0x20ee53(0x1eb)][_0x20ee53(0x171)](_0x4bfd76,{'body':_0xf0a596}))[_0x20ee53(0x242)][_0x20ee53(0x304)];}async[_0x8cc9a2(0x18b)](_0x274ff2){var _0x3fd98f=_0x8cc9a2,_0x50c518,_0x1881e6;const _0x29ee07=this[_0x3fd98f(0xc7)]()+'/'+_0x274ff2[_0x3fd98f(0xfe)]+_0x3fd98f(0x2ea)+_0x274ff2[_0x3fd98f(0x3bc)],_0x5a1d6d=await this[_0x3fd98f(0x1eb)]['put'](_0x29ee07,{'body':_0x274ff2});if(((_0x1881e6=(_0x50c518=_0x5a1d6d==null?void 0x0:_0x5a1d6d['body'])==null?void 0x0:_0x50c518[_0x3fd98f(0x237)])==null?void 0x0:_0x1881e6[_0x3fd98f(0x12b)])!==0x1)throw new Error(_0x3fd98f(0x2d9));}async[_0x8cc9a2(0x37c)](_0x3f2a86){var _0x279ecc=_0x8cc9a2;const _0x535313=this[_0x279ecc(0xc7)]()+'/'+_0x3f2a86[_0x279ecc(0xfe)]+_0x279ecc(0x2ea)+_0x3f2a86[_0x279ecc(0x3bc)]+'/allowed';return(await this[_0x279ecc(0x1eb)][_0x279ecc(0x171)](_0x535313,{'body':_0x3f2a86}))[_0x279ecc(0x242)][_0x279ecc(0x16f)];}async[_0x8cc9a2(0x212)](_0x70dff8){var _0xe70b3f=_0x8cc9a2;const _0x27ae1b=this[_0xe70b3f(0xc7)]()+_0xe70b3f(0xe3);return(await this['_HTTPService'][_0xe70b3f(0x171)](_0x27ae1b,{'body':{'requests':_0x70dff8}}))['body']['objectActions'];}async['listRoles'](_0x4361ae){var _0x4b1a1c=_0x8cc9a2;const _0x1e98b1=this[_0x4b1a1c(0xc7)]()+'/'+_0x4361ae[_0x4b1a1c(0xfe)]+_0x4b1a1c(0x3a5),_0x1b241e=await this['_HTTPService'][_0x4b1a1c(0x171)](_0x1e98b1,{'body':_0x4361ae});return{'roles':_0x1b241e['body'][_0x4b1a1c(0xec)],'actions':_0x1b241e[_0x4b1a1c(0x242)][_0x4b1a1c(0x16f)]};}async[_0x8cc9a2(0x282)](_0x484cdb){var _0x3e5113=_0x8cc9a2;const _0x35cd9d=this[_0x3e5113(0xc7)]()+_0x3e5113(0xe5);await this[_0x3e5113(0x1eb)][_0x3e5113(0x2aa)](_0x35cd9d,{'params':{'collaboratorID':_0x484cdb[_0x3e5113(0xed)],'objectID':_0x484cdb[_0x3e5113(0x3bc)],'unitID':_0x484cdb['unitID']}});}async['updateCollaborator'](_0x5b22d3){var _0x1d61a0=_0x8cc9a2;const _0x208587=this[_0x1d61a0(0xc7)]()+'/collaborator';await this[_0x1d61a0(0x1eb)][_0x1d61a0(0x3ba)](_0x208587,{'body':_0x5b22d3});}async[_0x8cc9a2(0x2d8)](_0x48b513){var _0x96849b=_0x8cc9a2;const _0x301a9d=this['_getAPIPrefixPath']()+_0x96849b(0xe5);await this['_HTTPService']['post'](_0x301a9d,{'body':_0x48b513});}async[_0x8cc9a2(0x1be)](_0x1a8315){var _0x29a8be=_0x8cc9a2;const _0x510c39=this[_0x29a8be(0xc7)]()+_0x29a8be(0xe5);return(await this[_0x29a8be(0x1eb)][_0x29a8be(0x313)](_0x510c39,{'params':{'objectID':_0x1a8315[_0x29a8be(0x3bc)],'unitID':_0x1a8315[_0x29a8be(0x2e6)]}}))[_0x29a8be(0x242)]['collaborators'];}async['putCollaborators'](_0x52a627){var _0x245d3a=_0x8cc9a2;const _0x473ad8=this[_0x245d3a(0xc7)]()+_0x245d3a(0xe5);await this[_0x245d3a(0x1eb)][_0x245d3a(0x334)](_0x473ad8,{'body':_0x52a627});}};Tt=hn([Kt(0x0,_0x2bc925(_0x2b7687)),Kt(0x1,_0x2bc925(_0x195c73))],Tt);var ft=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function $e(_0x20dcc1){var _0x3e3a8a=_0x8cc9a2;return _0x20dcc1&&_0x20dcc1[_0x3e3a8a(0x1d0)]&&Object[_0x3e3a8a(0xc9)][_0x3e3a8a(0x2b6)][_0x3e3a8a(0x324)](_0x20dcc1,'default')?_0x20dcc1['default']:_0x20dcc1;}var Ve={'exports':{}};function ln(_0x14d460){var _0x1eaf47=_0x8cc9a2;throw new Error(_0x1eaf47(0x296)+_0x14d460+_0x1eaf47(0x180));}var Ge={'exports':{}},un=Ge[_0x8cc9a2(0x32e)],qt;function te(){return qt||(qt=0x1,function(_0x20ab3f,_0x152429){(function(_0x389e88,_0x45e959){var _0x3ef8a5=_0x178d;_0x20ab3f[_0x3ef8a5(0x32e)]=_0x45e959();}(un,function(){var _0x1b2709=_0x1b2709||function(_0x5296a4,_0x18bd8f){var _0x1af073=_0x178d,_0x3ab598;if(typeof window<'u'&&window[_0x1af073(0x315)]&&(_0x3ab598=window['crypto']),typeof self<'u'&&self[_0x1af073(0x315)]&&(_0x3ab598=self[_0x1af073(0x315)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x3ab598=globalThis['crypto']),!_0x3ab598&&typeof window<'u'&&window[_0x1af073(0x183)]&&(_0x3ab598=window[_0x1af073(0x183)]),!_0x3ab598&&typeof ft<'u'&&ft[_0x1af073(0x315)]&&(_0x3ab598=ft['crypto']),!_0x3ab598&&typeof ln==_0x1af073(0x119))try{_0x3ab598=require(_0x1af073(0x315));}catch{}var _0x343033=function(){var _0x18083a=_0x1af073;if(_0x3ab598){if(typeof _0x3ab598[_0x18083a(0x329)]=='function')try{return _0x3ab598[_0x18083a(0x329)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x3ab598[_0x18083a(0x33e)]=='function')try{return _0x3ab598[_0x18083a(0x33e)](0x4)[_0x18083a(0x23a)]();}catch{}}throw new Error(_0x18083a(0x1a1));},_0x31ce88=Object['create']||(function(){function _0x562b42(){}return function(_0x4951d1){var _0x1d6955;return _0x562b42['prototype']=_0x4951d1,_0x1d6955=new _0x562b42(),_0x562b42['prototype']=null,_0x1d6955;};}()),_0x3f62bd={},_0x88cd7f=_0x3f62bd[_0x1af073(0x132)]={},_0x210110=_0x88cd7f[_0x1af073(0x322)]=(function(){return{'extend':function(_0x5764aa){var _0x53e727=_0x178d,_0x475e98=_0x31ce88(this);return _0x5764aa&&_0x475e98[_0x53e727(0x1a5)](_0x5764aa),(!_0x475e98['hasOwnProperty'](_0x53e727(0x1ec))||this[_0x53e727(0x1ec)]===_0x475e98[_0x53e727(0x1ec)])&&(_0x475e98[_0x53e727(0x1ec)]=function(){var _0x2e0a54=_0x53e727;_0x475e98[_0x2e0a54(0x1c7)][_0x2e0a54(0x1ec)][_0x2e0a54(0x368)](this,arguments);}),_0x475e98[_0x53e727(0x1ec)][_0x53e727(0xc9)]=_0x475e98,_0x475e98[_0x53e727(0x1c7)]=this,_0x475e98;},'create':function(){var _0x5f0ff3=_0x178d,_0x28e21c=this[_0x5f0ff3(0x303)]();return _0x28e21c[_0x5f0ff3(0x1ec)][_0x5f0ff3(0x368)](_0x28e21c,arguments),_0x28e21c;},'init':function(){},'mixIn':function(_0x5984bf){var _0x1c5280=_0x178d;for(var _0x50dc11 in _0x5984bf)_0x5984bf[_0x1c5280(0x2b6)](_0x50dc11)&&(this[_0x50dc11]=_0x5984bf[_0x50dc11]);_0x5984bf[_0x1c5280(0x2b6)](_0x1c5280(0x1c4))&&(this[_0x1c5280(0x1c4)]=_0x5984bf[_0x1c5280(0x1c4)]);},'clone':function(){var _0x193635=_0x178d;return this[_0x193635(0x1ec)][_0x193635(0xc9)][_0x193635(0x303)](this);}};}()),_0x129780=_0x88cd7f['WordArray']=_0x210110[_0x1af073(0x303)]({'init':function(_0x3656ae,_0x1a7626){var _0x42f4bf=_0x1af073;_0x3656ae=this[_0x42f4bf(0x28a)]=_0x3656ae||[],_0x1a7626!=_0x18bd8f?this[_0x42f4bf(0x2f3)]=_0x1a7626:this[_0x42f4bf(0x2f3)]=_0x3656ae[_0x42f4bf(0x1ae)]*0x4;},'toString':function(_0x5912a1){var _0x283735=_0x1af073;return(_0x5912a1||_0x116321)[_0x283735(0x133)](this);},'concat':function(_0x417ce5){var _0x22f4c2=_0x1af073,_0x1f070d=this[_0x22f4c2(0x28a)],_0x66d908=_0x417ce5[_0x22f4c2(0x28a)],_0x42efa8=this['sigBytes'],_0x550712=_0x417ce5[_0x22f4c2(0x2f3)];if(this[_0x22f4c2(0x257)](),_0x42efa8%0x4)for(var _0x199e8e=0x0;_0x199e8e<_0x550712;_0x199e8e++){var _0x463f8d=_0x66d908[_0x199e8e>>>0x2]>>>0x18-_0x199e8e%0x4*0x8&0xff;_0x1f070d[_0x42efa8+_0x199e8e>>>0x2]|=_0x463f8d<<0x18-(_0x42efa8+_0x199e8e)%0x4*0x8;}else{for(var _0x52c337=0x0;_0x52c337<_0x550712;_0x52c337+=0x4)_0x1f070d[_0x42efa8+_0x52c337>>>0x2]=_0x66d908[_0x52c337>>>0x2];}return this[_0x22f4c2(0x2f3)]+=_0x550712,this;},'clamp':function(){var _0x2d8fec=_0x1af073,_0xaf155a=this[_0x2d8fec(0x28a)],_0x5d2b79=this[_0x2d8fec(0x2f3)];_0xaf155a[_0x5d2b79>>>0x2]&=0xffffffff<<0x20-_0x5d2b79%0x4*0x8,_0xaf155a[_0x2d8fec(0x1ae)]=_0x5296a4['ceil'](_0x5d2b79/0x4);},'clone':function(){var _0xff94c=_0x1af073,_0x4ea1ca=_0x210110[_0xff94c(0x2c1)][_0xff94c(0x324)](this);return _0x4ea1ca[_0xff94c(0x28a)]=this[_0xff94c(0x28a)][_0xff94c(0x2ec)](0x0),_0x4ea1ca;},'random':function(_0x40c0b2){var _0x43815b=_0x1af073;for(var _0x1bbc5b=[],_0x13a25d=0x0;_0x13a25d<_0x40c0b2;_0x13a25d+=0x4)_0x1bbc5b[_0x43815b(0x13f)](_0x343033());return new _0x129780[(_0x43815b(0x1ec))](_0x1bbc5b,_0x40c0b2);}}),_0x48ad47=_0x3f62bd[_0x1af073(0x1d1)]={},_0x116321=_0x48ad47[_0x1af073(0x1de)]={'stringify':function(_0x291cf2){var _0x1df5ce=_0x1af073;for(var _0x299090=_0x291cf2[_0x1df5ce(0x28a)],_0x522f00=_0x291cf2['sigBytes'],_0x14dc76=[],_0x49e219=0x0;_0x49e219<_0x522f00;_0x49e219++){var _0x17c3a7=_0x299090[_0x49e219>>>0x2]>>>0x18-_0x49e219%0x4*0x8&0xff;_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7>>>0x4)['toString'](0x10)),_0x14dc76[_0x1df5ce(0x13f)]((_0x17c3a7&0xf)[_0x1df5ce(0x1c4)](0x10));}return _0x14dc76[_0x1df5ce(0x29a)]('');},'parse':function(_0x530502){var _0x52443e=_0x1af073;for(var _0x618c01=_0x530502[_0x52443e(0x1ae)],_0xb94f2f=[],_0x565be6=0x0;_0x565be6<_0x618c01;_0x565be6+=0x2)_0xb94f2f[_0x565be6>>>0x3]|=parseInt(_0x530502['substr'](_0x565be6,0x2),0x10)<<0x18-_0x565be6%0x8*0x4;return new _0x129780['init'](_0xb94f2f,_0x618c01/0x2);}},_0x50223a=_0x48ad47[_0x1af073(0x2b9)]={'stringify':function(_0xaf091c){var _0x49aa22=_0x1af073;for(var _0x4ca4f3=_0xaf091c[_0x49aa22(0x28a)],_0x16c191=_0xaf091c['sigBytes'],_0x10228d=[],_0x10248b=0x0;_0x10248b<_0x16c191;_0x10248b++){var _0x2d903f=_0x4ca4f3[_0x10248b>>>0x2]>>>0x18-_0x10248b%0x4*0x8&0xff;_0x10228d[_0x49aa22(0x13f)](String[_0x49aa22(0x2b8)](_0x2d903f));}return _0x10228d[_0x49aa22(0x29a)]('');},'parse':function(_0xc8359){var _0x560538=_0x1af073;for(var _0x1a7173=_0xc8359[_0x560538(0x1ae)],_0x321854=[],_0x35d969=0x0;_0x35d969<_0x1a7173;_0x35d969++)_0x321854[_0x35d969>>>0x2]|=(_0xc8359['charCodeAt'](_0x35d969)&0xff)<<0x18-_0x35d969%0x4*0x8;return new _0x129780['init'](_0x321854,_0x1a7173);}},_0x23d195=_0x48ad47['Utf8']={'stringify':function(_0x2ac2b9){var _0x5e520a=_0x1af073;try{return decodeURIComponent(escape(_0x50223a[_0x5e520a(0x133)](_0x2ac2b9)));}catch{throw new Error(_0x5e520a(0x16c));}},'parse':function(_0x34a47a){var _0x56318c=_0x1af073;return _0x50223a[_0x56318c(0x3c3)](unescape(encodeURIComponent(_0x34a47a)));}},_0x5084b6=_0x88cd7f[_0x1af073(0x262)]=_0x210110[_0x1af073(0x303)]({'reset':function(){var _0x2592c3=_0x1af073;this['_data']=new _0x129780[(_0x2592c3(0x1ec))](),this[_0x2592c3(0x337)]=0x0;},'_append':function(_0x457942){var _0x1e50a3=_0x1af073;typeof _0x457942==_0x1e50a3(0x24d)&&(_0x457942=_0x23d195[_0x1e50a3(0x3c3)](_0x457942)),this[_0x1e50a3(0x29b)]['concat'](_0x457942),this[_0x1e50a3(0x337)]+=_0x457942[_0x1e50a3(0x2f3)];},'_process':function(_0x33ae8d){var _0x648b13=_0x1af073,_0x15fc46,_0x19f179=this[_0x648b13(0x29b)],_0x2f507b=_0x19f179[_0x648b13(0x28a)],_0x568db2=_0x19f179['sigBytes'],_0x323d4b=this['blockSize'],_0x3e6301=_0x323d4b*0x4,_0x194409=_0x568db2/_0x3e6301;_0x33ae8d?_0x194409=_0x5296a4[_0x648b13(0xe9)](_0x194409):_0x194409=_0x5296a4[_0x648b13(0x201)]((_0x194409|0x0)-this[_0x648b13(0x375)],0x0);var _0x18ef5e=_0x194409*_0x323d4b,_0x32c25d=_0x5296a4[_0x648b13(0x124)](_0x18ef5e*0x4,_0x568db2);if(_0x18ef5e){for(var _0x289938=0x0;_0x289938<_0x18ef5e;_0x289938+=_0x323d4b)this[_0x648b13(0x153)](_0x2f507b,_0x289938);_0x15fc46=_0x2f507b[_0x648b13(0x384)](0x0,_0x18ef5e),_0x19f179[_0x648b13(0x2f3)]-=_0x32c25d;}return new _0x129780[(_0x648b13(0x1ec))](_0x15fc46,_0x32c25d);},'clone':function(){var _0x1af1e9=_0x1af073,_0x2587fd=_0x210110[_0x1af1e9(0x2c1)]['call'](this);return _0x2587fd['_data']=this[_0x1af1e9(0x29b)][_0x1af1e9(0x2c1)](),_0x2587fd;},'_minBufferSize':0x0});_0x88cd7f[_0x1af073(0x112)]=_0x5084b6[_0x1af073(0x303)]({'cfg':_0x210110[_0x1af073(0x303)](),'init':function(_0x1a5f58){var _0x216fd6=_0x1af073;this[_0x216fd6(0x154)]=this['cfg'][_0x216fd6(0x303)](_0x1a5f58),this[_0x216fd6(0x279)]();},'reset':function(){var _0x2ab649=_0x1af073;_0x5084b6['reset'][_0x2ab649(0x324)](this),this[_0x2ab649(0x39c)]();},'update':function(_0x1f57b2){var _0x49c419=_0x1af073;return this['_append'](_0x1f57b2),this[_0x49c419(0x2f8)](),this;},'finalize':function(_0x2b5a32){var _0x507913=_0x1af073;_0x2b5a32&&this[_0x507913(0x366)](_0x2b5a32);var _0x427a7f=this['_doFinalize']();return _0x427a7f;},'blockSize':0x10,'_createHelper':function(_0x57c39c){return function(_0x293ba7,_0x1986da){var _0x48ae28=_0x178d;return new _0x57c39c[(_0x48ae28(0x1ec))](_0x1986da)[_0x48ae28(0x12c)](_0x293ba7);};},'_createHmacHelper':function(_0x2aef7a){return function(_0xb03706,_0x4adf8f){var _0x2d6de5=_0x178d;return new _0x1ab80b['HMAC'][(_0x2d6de5(0x1ec))](_0x2aef7a,_0x4adf8f)['finalize'](_0xb03706);};}});var _0x1ab80b=_0x3f62bd[_0x1af073(0x252)]={};return _0x3f62bd;}(Math);return _0x1b2709;}));}(Ge)),Ge['exports'];}var We={'exports':{}},dn=We[_0x8cc9a2(0x32e)],zt;function Oi(){var _0x46271=_0x8cc9a2;return zt||(zt=0x1,function(_0x511798,_0x1c8d3e){(function(_0x5a0ddd,_0x71fc6a){var _0x46a922=_0x178d;_0x511798[_0x46a922(0x32e)]=_0x71fc6a(te());}(dn,function(_0xfb7b3e){var _0x111982=_0x178d;return(function(){var _0x3a22de=_0x178d,_0x4fbd1c=_0xfb7b3e,_0x1acd72=_0x4fbd1c['lib'],_0x4498a6=_0x1acd72[_0x3a22de(0x2db)],_0x2fbf5c=_0x4fbd1c['enc'];_0x2fbf5c[_0x3a22de(0x1d2)]={'stringify':function(_0x18e62f){var _0x122a31=_0x3a22de,_0x36d4f4=_0x18e62f[_0x122a31(0x28a)],_0x35f531=_0x18e62f['sigBytes'],_0x290e74=this[_0x122a31(0x353)];_0x18e62f['clamp']();for(var _0x4b9eb8=[],_0x5493c8=0x0;_0x5493c8<_0x35f531;_0x5493c8+=0x3)for(var _0x1d03e3=_0x36d4f4[_0x5493c8>>>0x2]>>>0x18-_0x5493c8%0x4*0x8&0xff,_0x2b4510=_0x36d4f4[_0x5493c8+0x1>>>0x2]>>>0x18-(_0x5493c8+0x1)%0x4*0x8&0xff,_0x292513=_0x36d4f4[_0x5493c8+0x2>>>0x2]>>>0x18-(_0x5493c8+0x2)%0x4*0x8&0xff,_0x3ec79d=_0x1d03e3<<0x10|_0x2b4510<<0x8|_0x292513,_0x33cb22=0x0;_0x33cb22<0x4&&_0x5493c8+_0x33cb22*0.75<_0x35f531;_0x33cb22++)_0x4b9eb8[_0x122a31(0x13f)](_0x290e74[_0x122a31(0x1fd)](_0x3ec79d>>>0x6*(0x3-_0x33cb22)&0x3f));var _0xee9664=_0x290e74[_0x122a31(0x1fd)](0x40);if(_0xee9664){for(;_0x4b9eb8[_0x122a31(0x1ae)]%0x4;)_0x4b9eb8[_0x122a31(0x13f)](_0xee9664);}return _0x4b9eb8[_0x122a31(0x29a)]('');},'parse':function(_0x16f82){var _0x8f00e0=_0x3a22de,_0x3c1929=_0x16f82[_0x8f00e0(0x1ae)],_0x172e66=this['_map'],_0x278ae6=this[_0x8f00e0(0x1b4)];if(!_0x278ae6){_0x278ae6=this[_0x8f00e0(0x1b4)]=[];for(var _0x479a25=0x0;_0x479a25<_0x172e66['length'];_0x479a25++)_0x278ae6[_0x172e66[_0x8f00e0(0x290)](_0x479a25)]=_0x479a25;}var _0x42099b=_0x172e66['charAt'](0x40);if(_0x42099b){var _0x21d91e=_0x16f82[_0x8f00e0(0x360)](_0x42099b);_0x21d91e!==-0x1&&(_0x3c1929=_0x21d91e);}return _0x10eb62(_0x16f82,_0x3c1929,_0x278ae6);},'_map':_0x3a22de(0x356)};function _0x10eb62(_0x230ad1,_0x5c3766,_0x4bb2d){var _0x2f2ef3=_0x3a22de;for(var _0x3543dd=[],_0x26e160=0x0,_0x5d65cf=0x0;_0x5d65cf<_0x5c3766;_0x5d65cf++)if(_0x5d65cf%0x4){var _0x322d2c=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf-0x1)]<<_0x5d65cf%0x4*0x2,_0x46581d=_0x4bb2d[_0x230ad1[_0x2f2ef3(0x290)](_0x5d65cf)]>>>0x6-_0x5d65cf%0x4*0x2,_0x692519=_0x322d2c|_0x46581d;_0x3543dd[_0x26e160>>>0x2]|=_0x692519<<0x18-_0x26e160%0x4*0x8,_0x26e160++;}return _0x4498a6[_0x2f2ef3(0xc1)](_0x3543dd,_0x26e160);}}()),_0xfb7b3e[_0x111982(0x1d1)][_0x111982(0x1d2)];}));}(We)),We[_0x46271(0x32e)];}var Ye={'exports':{}},fn=Ye[_0x8cc9a2(0x32e)],Jt;function vn(){var _0x4e419a=_0x8cc9a2;return Jt||(Jt=0x1,function(_0x2e0be1,_0x3fa091){(function(_0x4f4144,_0x4245ce){var _0xff401=_0x178d;_0x2e0be1[_0xff401(0x32e)]=_0x4245ce(te());}(fn,function(_0xdcea1e){var _0x4610ff=_0x178d;return function(_0x4d2ce3){var _0x840cfa=_0x178d,_0x310660=_0xdcea1e,_0xc34244=_0x310660['lib'],_0x31749b=_0xc34244[_0x840cfa(0x2db)],_0x3068b0=_0xc34244[_0x840cfa(0x112)],_0x2d2967=_0x310660[_0x840cfa(0x252)],_0x120443=[];(function(){var _0x4c57c1=_0x840cfa;for(var _0x44703a=0x0;_0x44703a<0x40;_0x44703a++)_0x120443[_0x44703a]=_0x4d2ce3['abs'](_0x4d2ce3[_0x4c57c1(0x258)](_0x44703a+0x1))*0x100000000|0x0;}());var _0x2373c2=_0x2d2967[_0x840cfa(0x1d3)]=_0x3068b0['extend']({'_doReset':function(){var _0x108bb2=_0x840cfa;this[_0x108bb2(0x10f)]=new _0x31749b[(_0x108bb2(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x2661b6,_0x3d2c07){var _0x15c5e9=_0x840cfa;for(var _0x1849f6=0x0;_0x1849f6<0x10;_0x1849f6++){var _0xe9f3ab=_0x3d2c07+_0x1849f6,_0x2aced9=_0x2661b6[_0xe9f3ab];_0x2661b6[_0xe9f3ab]=(_0x2aced9<<0x8|_0x2aced9>>>0x18)&0xff00ff|(_0x2aced9<<0x18|_0x2aced9>>>0x8)&0xff00ff00;}var _0xa7fe7a=this[_0x15c5e9(0x10f)][_0x15c5e9(0x28a)],_0x4d0b74=_0x2661b6[_0x3d2c07+0x0],_0x171bc9=_0x2661b6[_0x3d2c07+0x1],_0x87624a=_0x2661b6[_0x3d2c07+0x2],_0x304920=_0x2661b6[_0x3d2c07+0x3],_0x21f069=_0x2661b6[_0x3d2c07+0x4],_0x280766=_0x2661b6[_0x3d2c07+0x5],_0x224bd8=_0x2661b6[_0x3d2c07+0x6],_0x4caa51=_0x2661b6[_0x3d2c07+0x7],_0x55f2be=_0x2661b6[_0x3d2c07+0x8],_0x2521aa=_0x2661b6[_0x3d2c07+0x9],_0x470cc4=_0x2661b6[_0x3d2c07+0xa],_0x4b2528=_0x2661b6[_0x3d2c07+0xb],_0x4113cd=_0x2661b6[_0x3d2c07+0xc],_0x317cf6=_0x2661b6[_0x3d2c07+0xd],_0x192593=_0x2661b6[_0x3d2c07+0xe],_0x65f5e1=_0x2661b6[_0x3d2c07+0xf],_0x1f726c=_0xa7fe7a[0x0],_0x394af8=_0xa7fe7a[0x1],_0x34716d=_0xa7fe7a[0x2],_0x4ed15e=_0xa7fe7a[0x3];_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x7,_0x120443[0x0]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x171bc9,0xc,_0x120443[0x1]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0x11,_0x120443[0x2]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x304920,0x16,_0x120443[0x3]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x7,_0x120443[0x4]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x280766,0xc,_0x120443[0x5]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0x11,_0x120443[0x6]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4caa51,0x16,_0x120443[0x7]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x7,_0x120443[0x8]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x2521aa,0xc,_0x120443[0x9]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0x11,_0x120443[0xa]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4b2528,0x16,_0x120443[0xb]),_0x1f726c=_0x5bc65a(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x7,_0x120443[0xc]),_0x4ed15e=_0x5bc65a(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x317cf6,0xc,_0x120443[0xd]),_0x34716d=_0x5bc65a(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0x11,_0x120443[0xe]),_0x394af8=_0x5bc65a(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x65f5e1,0x16,_0x120443[0xf]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x5,_0x120443[0x10]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x224bd8,0x9,_0x120443[0x11]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0xe,_0x120443[0x12]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4d0b74,0x14,_0x120443[0x13]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x5,_0x120443[0x14]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x470cc4,0x9,_0x120443[0x15]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0xe,_0x120443[0x16]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x21f069,0x14,_0x120443[0x17]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x5,_0x120443[0x18]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x192593,0x9,_0x120443[0x19]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0xe,_0x120443[0x1a]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x55f2be,0x14,_0x120443[0x1b]),_0x1f726c=_0x21f53e(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x5,_0x120443[0x1c]),_0x4ed15e=_0x21f53e(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x87624a,0x9,_0x120443[0x1d]),_0x34716d=_0x21f53e(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0xe,_0x120443[0x1e]),_0x394af8=_0x21f53e(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x4113cd,0x14,_0x120443[0x1f]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x280766,0x4,_0x120443[0x20]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x55f2be,0xb,_0x120443[0x21]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4b2528,0x10,_0x120443[0x22]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x192593,0x17,_0x120443[0x23]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x171bc9,0x4,_0x120443[0x24]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x21f069,0xb,_0x120443[0x25]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x4caa51,0x10,_0x120443[0x26]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x470cc4,0x17,_0x120443[0x27]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x317cf6,0x4,_0x120443[0x28]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4d0b74,0xb,_0x120443[0x29]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x304920,0x10,_0x120443[0x2a]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x224bd8,0x17,_0x120443[0x2b]),_0x1f726c=_0x112952(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x2521aa,0x4,_0x120443[0x2c]),_0x4ed15e=_0x112952(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4113cd,0xb,_0x120443[0x2d]),_0x34716d=_0x112952(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x65f5e1,0x10,_0x120443[0x2e]),_0x394af8=_0x112952(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x87624a,0x17,_0x120443[0x2f]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4d0b74,0x6,_0x120443[0x30]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4caa51,0xa,_0x120443[0x31]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x192593,0xf,_0x120443[0x32]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x280766,0x15,_0x120443[0x33]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x4113cd,0x6,_0x120443[0x34]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x304920,0xa,_0x120443[0x35]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x470cc4,0xf,_0x120443[0x36]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x171bc9,0x15,_0x120443[0x37]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x55f2be,0x6,_0x120443[0x38]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x65f5e1,0xa,_0x120443[0x39]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x224bd8,0xf,_0x120443[0x3a]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x317cf6,0x15,_0x120443[0x3b]),_0x1f726c=_0xc2e8c4(_0x1f726c,_0x394af8,_0x34716d,_0x4ed15e,_0x21f069,0x6,_0x120443[0x3c]),_0x4ed15e=_0xc2e8c4(_0x4ed15e,_0x1f726c,_0x394af8,_0x34716d,_0x4b2528,0xa,_0x120443[0x3d]),_0x34716d=_0xc2e8c4(_0x34716d,_0x4ed15e,_0x1f726c,_0x394af8,_0x87624a,0xf,_0x120443[0x3e]),_0x394af8=_0xc2e8c4(_0x394af8,_0x34716d,_0x4ed15e,_0x1f726c,_0x2521aa,0x15,_0x120443[0x3f]),_0xa7fe7a[0x0]=_0xa7fe7a[0x0]+_0x1f726c|0x0,_0xa7fe7a[0x1]=_0xa7fe7a[0x1]+_0x394af8|0x0,_0xa7fe7a[0x2]=_0xa7fe7a[0x2]+_0x34716d|0x0,_0xa7fe7a[0x3]=_0xa7fe7a[0x3]+_0x4ed15e|0x0;},'_doFinalize':function(){var _0x140920=_0x840cfa,_0x5dda44=this['_data'],_0x5918a2=_0x5dda44[_0x140920(0x28a)],_0x3f4b5f=this[_0x140920(0x337)]*0x8,_0x395ba8=_0x5dda44[_0x140920(0x2f3)]*0x8;_0x5918a2[_0x395ba8>>>0x5]|=0x80<<0x18-_0x395ba8%0x20;var _0x5184b5=_0x4d2ce3[_0x140920(0x230)](_0x3f4b5f/0x100000000),_0x36b341=_0x3f4b5f;_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xf]=(_0x5184b5<<0x8|_0x5184b5>>>0x18)&0xff00ff|(_0x5184b5<<0x18|_0x5184b5>>>0x8)&0xff00ff00,_0x5918a2[(_0x395ba8+0x40>>>0x9<<0x4)+0xe]=(_0x36b341<<0x8|_0x36b341>>>0x18)&0xff00ff|(_0x36b341<<0x18|_0x36b341>>>0x8)&0xff00ff00,_0x5dda44['sigBytes']=(_0x5918a2[_0x140920(0x1ae)]+0x1)*0x4,this[_0x140920(0x2f8)]();for(var _0x1c2c0c=this[_0x140920(0x10f)],_0x3fb888=_0x1c2c0c['words'],_0x15a658=0x0;_0x15a658<0x4;_0x15a658++){var _0x56b640=_0x3fb888[_0x15a658];_0x3fb888[_0x15a658]=(_0x56b640<<0x8|_0x56b640>>>0x18)&0xff00ff|(_0x56b640<<0x18|_0x56b640>>>0x8)&0xff00ff00;}return _0x1c2c0c;},'clone':function(){var _0x3c08ed=_0x840cfa,_0x5e1a8a=_0x3068b0[_0x3c08ed(0x2c1)][_0x3c08ed(0x324)](this);return _0x5e1a8a['_hash']=this['_hash'][_0x3c08ed(0x2c1)](),_0x5e1a8a;}});function _0x5bc65a(_0xfb5035,_0x2efaa1,_0x245bfd,_0x2ba602,_0x4c8904,_0x76cc5a,_0x502811){var _0x2d1b66=_0xfb5035+(_0x2efaa1&_0x245bfd|~_0x2efaa1&_0x2ba602)+_0x4c8904+_0x502811;return(_0x2d1b66<<_0x76cc5a|_0x2d1b66>>>0x20-_0x76cc5a)+_0x2efaa1;}function _0x21f53e(_0x21366b,_0x417d09,_0x45e8f6,_0x428b7b,_0x358e95,_0x421a00,_0x1de4ec){var _0x2d457e=_0x21366b+(_0x417d09&_0x428b7b|_0x45e8f6&~_0x428b7b)+_0x358e95+_0x1de4ec;return(_0x2d457e<<_0x421a00|_0x2d457e>>>0x20-_0x421a00)+_0x417d09;}function _0x112952(_0x11dead,_0x13233d,_0x656397,_0x326c4d,_0x5ccb30,_0x36d8c7,_0x1032cc){var _0x2e87cc=_0x11dead+(_0x13233d^_0x656397^_0x326c4d)+_0x5ccb30+_0x1032cc;return(_0x2e87cc<<_0x36d8c7|_0x2e87cc>>>0x20-_0x36d8c7)+_0x13233d;}function _0xc2e8c4(_0x33a6cb,_0x4f73f3,_0x1281db,_0x58bbe0,_0x5d85eb,_0x21fab6,_0x12eeba){var _0x2ced05=_0x33a6cb+(_0x1281db^(_0x4f73f3|~_0x58bbe0))+_0x5d85eb+_0x12eeba;return(_0x2ced05<<_0x21fab6|_0x2ced05>>>0x20-_0x21fab6)+_0x4f73f3;}_0x310660['MD5']=_0x3068b0[_0x840cfa(0x36e)](_0x2373c2),_0x310660[_0x840cfa(0x355)]=_0x3068b0[_0x840cfa(0x1b2)](_0x2373c2);}(Math),_0xdcea1e[_0x4610ff(0x1d3)];}));}(Ye)),Ye[_0x4e419a(0x32e)];}var Ke={'exports':{}},qe={'exports':{}},pn=qe[_0x8cc9a2(0x32e)],Xt;function mn(){var _0x9ac44f=_0x8cc9a2;return Xt||(Xt=0x1,function(_0x1e2e4e,_0x495dee){(function(_0x150acd,_0x1926de){_0x1e2e4e['exports']=_0x1926de(te());}(pn,function(_0x311503){var _0x363bb5=_0x178d;return(function(){var _0x40bdc1=_0x178d,_0x300cce=_0x311503,_0x3ee369=_0x300cce[_0x40bdc1(0x132)],_0x1e875f=_0x3ee369[_0x40bdc1(0x2db)],_0x3d8142=_0x3ee369['Hasher'],_0x4738c4=_0x300cce[_0x40bdc1(0x252)],_0x2e6ed2=[],_0x21f174=_0x4738c4[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x303)]({'_doReset':function(){var _0x160be9=_0x40bdc1;this[_0x160be9(0x10f)]=new _0x1e875f[(_0x160be9(0x1ec))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x438bb1,_0x3b8603){var _0x5f5cf8=_0x40bdc1;for(var _0x2ce3e4=this[_0x5f5cf8(0x10f)]['words'],_0x53125f=_0x2ce3e4[0x0],_0x190797=_0x2ce3e4[0x1],_0x1092ad=_0x2ce3e4[0x2],_0x943277=_0x2ce3e4[0x3],_0x1c915c=_0x2ce3e4[0x4],_0x4c2771=0x0;_0x4c2771<0x50;_0x4c2771++){if(_0x4c2771<0x10)_0x2e6ed2[_0x4c2771]=_0x438bb1[_0x3b8603+_0x4c2771]|0x0;else{var _0x547db2=_0x2e6ed2[_0x4c2771-0x3]^_0x2e6ed2[_0x4c2771-0x8]^_0x2e6ed2[_0x4c2771-0xe]^_0x2e6ed2[_0x4c2771-0x10];_0x2e6ed2[_0x4c2771]=_0x547db2<<0x1|_0x547db2>>>0x1f;}var _0x35edb2=(_0x53125f<<0x5|_0x53125f>>>0x1b)+_0x1c915c+_0x2e6ed2[_0x4c2771];_0x4c2771<0x14?_0x35edb2+=(_0x190797&_0x1092ad|~_0x190797&_0x943277)+0x5a827999:_0x4c2771<0x28?_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)+0x6ed9eba1:_0x4c2771<0x3c?_0x35edb2+=(_0x190797&_0x1092ad|_0x190797&_0x943277|_0x1092ad&_0x943277)-0x70e44324:_0x35edb2+=(_0x190797^_0x1092ad^_0x943277)-0x359d3e2a,_0x1c915c=_0x943277,_0x943277=_0x1092ad,_0x1092ad=_0x190797<<0x1e|_0x190797>>>0x2,_0x190797=_0x53125f,_0x53125f=_0x35edb2;}_0x2ce3e4[0x0]=_0x2ce3e4[0x0]+_0x53125f|0x0,_0x2ce3e4[0x1]=_0x2ce3e4[0x1]+_0x190797|0x0,_0x2ce3e4[0x2]=_0x2ce3e4[0x2]+_0x1092ad|0x0,_0x2ce3e4[0x3]=_0x2ce3e4[0x3]+_0x943277|0x0,_0x2ce3e4[0x4]=_0x2ce3e4[0x4]+_0x1c915c|0x0;},'_doFinalize':function(){var _0x28ab17=_0x40bdc1,_0x3adfd4=this[_0x28ab17(0x29b)],_0x3d3c23=_0x3adfd4[_0x28ab17(0x28a)],_0x5bb67d=this[_0x28ab17(0x337)]*0x8,_0x77ab3f=_0x3adfd4[_0x28ab17(0x2f3)]*0x8;return _0x3d3c23[_0x77ab3f>>>0x5]|=0x80<<0x18-_0x77ab3f%0x20,_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5bb67d/0x100000000),_0x3d3c23[(_0x77ab3f+0x40>>>0x9<<0x4)+0xf]=_0x5bb67d,_0x3adfd4[_0x28ab17(0x2f3)]=_0x3d3c23[_0x28ab17(0x1ae)]*0x4,this[_0x28ab17(0x2f8)](),this[_0x28ab17(0x10f)];},'clone':function(){var _0x4ddb7d=_0x40bdc1,_0x1bb69a=_0x3d8142[_0x4ddb7d(0x2c1)][_0x4ddb7d(0x324)](this);return _0x1bb69a['_hash']=this[_0x4ddb7d(0x10f)]['clone'](),_0x1bb69a;}});_0x300cce[_0x40bdc1(0x2ba)]=_0x3d8142[_0x40bdc1(0x36e)](_0x21f174),_0x300cce[_0x40bdc1(0x2c0)]=_0x3d8142[_0x40bdc1(0x1b2)](_0x21f174);}()),_0x311503[_0x363bb5(0x2ba)];}));}(qe)),qe[_0x9ac44f(0x32e)];}var ze={'exports':{}},gn=ze['exports'],Zt;function Sn(){var _0x2cf980=_0x8cc9a2;return Zt||(Zt=0x1,function(_0x278726,_0x550f63){(function(_0x118637,_0x429610){var _0xd75e4a=_0x178d;_0x278726[_0xd75e4a(0x32e)]=_0x429610(te());}(gn,function(_0x38b921){(function(){var _0x3abe8d=_0x178d,_0x56ae7c=_0x38b921,_0x22a356=_0x56ae7c['lib'],_0x19acd3=_0x22a356[_0x3abe8d(0x322)],_0x4db77c=_0x56ae7c['enc'],_0x3f02cf=_0x4db77c[_0x3abe8d(0x117)],_0x42d844=_0x56ae7c[_0x3abe8d(0x252)];_0x42d844['HMAC']=_0x19acd3[_0x3abe8d(0x303)]({'init':function(_0x236923,_0x23ec3c){var _0x53176f=_0x3abe8d;_0x236923=this[_0x53176f(0x2fe)]=new _0x236923[(_0x53176f(0x1ec))](),typeof _0x23ec3c==_0x53176f(0x24d)&&(_0x23ec3c=_0x3f02cf[_0x53176f(0x3c3)](_0x23ec3c));var _0x54a044=_0x236923['blockSize'],_0xdfd014=_0x54a044*0x4;_0x23ec3c[_0x53176f(0x2f3)]>_0xdfd014&&(_0x23ec3c=_0x236923[_0x53176f(0x12c)](_0x23ec3c)),_0x23ec3c[_0x53176f(0x257)]();for(var _0x5b1788=this[_0x53176f(0x2df)]=_0x23ec3c['clone'](),_0xa8c3dc=this[_0x53176f(0x35b)]=_0x23ec3c[_0x53176f(0x2c1)](),_0x5aa84b=_0x5b1788[_0x53176f(0x28a)],_0x4b9942=_0xa8c3dc[_0x53176f(0x28a)],_0x4654cf=0x0;_0x4654cf<_0x54a044;_0x4654cf++)_0x5aa84b[_0x4654cf]^=0x5c5c5c5c,_0x4b9942[_0x4654cf]^=0x36363636;_0x5b1788[_0x53176f(0x2f3)]=_0xa8c3dc[_0x53176f(0x2f3)]=_0xdfd014,this[_0x53176f(0x279)]();},'reset':function(){var _0x48b758=_0x3abe8d,_0xe7fc43=this[_0x48b758(0x2fe)];_0xe7fc43[_0x48b758(0x279)](),_0xe7fc43[_0x48b758(0x18b)](this[_0x48b758(0x35b)]);},'update':function(_0x18b18d){var _0x1ca079=_0x3abe8d;return this[_0x1ca079(0x2fe)][_0x1ca079(0x18b)](_0x18b18d),this;},'finalize':function(_0x186f2b){var _0x57d2a8=_0x3abe8d,_0x26d3de=this[_0x57d2a8(0x2fe)],_0x1ba72a=_0x26d3de[_0x57d2a8(0x12c)](_0x186f2b);_0x26d3de[_0x57d2a8(0x279)]();var _0x120f53=_0x26d3de[_0x57d2a8(0x12c)](this[_0x57d2a8(0x2df)]['clone']()[_0x57d2a8(0x188)](_0x1ba72a));return _0x120f53;}});}());}));}(ze)),ze[_0x2cf980(0x32e)];}var En=Ke[_0x8cc9a2(0x32e)],Qt;function yi(){var _0x2dab4e=_0x8cc9a2;return Qt||(Qt=0x1,function(_0x33d261,_0x36e34b){(function(_0x24fd6e,_0x1cd52d,_0x5419a1){var _0x5b6875=_0x178d;_0x33d261[_0x5b6875(0x32e)]=_0x1cd52d(te(),mn(),Sn());}(En,function(_0x53e8d1){var _0x1b52fe=_0x178d;return(function(){var _0x3778f3=_0x178d,_0x101177=_0x53e8d1,_0x4c844c=_0x101177[_0x3778f3(0x132)],_0x1cf0e7=_0x4c844c[_0x3778f3(0x322)],_0x5eceb0=_0x4c844c['WordArray'],_0x27d4fb=_0x101177[_0x3778f3(0x252)],_0xa7e0ab=_0x27d4fb['MD5'],_0xa62ecc=_0x27d4fb[_0x3778f3(0x39b)]=_0x1cf0e7[_0x3778f3(0x303)]({'cfg':_0x1cf0e7[_0x3778f3(0x303)]({'keySize':0x80/0x20,'hasher':_0xa7e0ab,'iterations':0x1}),'init':function(_0x517433){var _0x46e50d=_0x3778f3;this[_0x46e50d(0x154)]=this[_0x46e50d(0x154)]['extend'](_0x517433);},'compute':function(_0x518564,_0x45e15e){var _0x1a15fa=_0x3778f3;for(var _0x88b370,_0x3ffc83=this['cfg'],_0x12f12a=_0x3ffc83[_0x1a15fa(0x18a)][_0x1a15fa(0xc1)](),_0x266cf1=_0x5eceb0[_0x1a15fa(0xc1)](),_0x4dc502=_0x266cf1['words'],_0x508d47=_0x3ffc83['keySize'],_0x5080a6=_0x3ffc83[_0x1a15fa(0x2cc)];_0x4dc502['length']<_0x508d47;){_0x88b370&&_0x12f12a[_0x1a15fa(0x18b)](_0x88b370),_0x88b370=_0x12f12a[_0x1a15fa(0x18b)](_0x518564)['finalize'](_0x45e15e),_0x12f12a['reset']();for(var _0xc1cfc3=0x1;_0xc1cfc3<_0x5080a6;_0xc1cfc3++)_0x88b370=_0x12f12a['finalize'](_0x88b370),_0x12f12a[_0x1a15fa(0x279)]();_0x266cf1[_0x1a15fa(0x188)](_0x88b370);}return _0x266cf1[_0x1a15fa(0x2f3)]=_0x508d47*0x4,_0x266cf1;}});_0x101177[_0x3778f3(0x39b)]=function(_0xf8ef50,_0x484b92,_0xc2b9ad){var _0x3deffe=_0x3778f3;return _0xa62ecc['create'](_0xc2b9ad)[_0x3deffe(0x259)](_0xf8ef50,_0x484b92);};}()),_0x53e8d1[_0x1b52fe(0x39b)];}));}(Ke)),Ke[_0x2dab4e(0x32e)];}var Je={'exports':{}},In=Je[_0x8cc9a2(0x32e)],ei;function Ni(){var _0x23ac43=_0x8cc9a2;return ei||(ei=0x1,function(_0x158cb9,_0x433a52){(function(_0x3fdc26,_0x132589,_0x14d5e3){var _0x191547=_0x178d;_0x158cb9[_0x191547(0x32e)]=_0x132589(te(),yi());}(In,function(_0x46d594){var _0xa8fd8a=_0x178d;_0x46d594[_0xa8fd8a(0x132)][_0xa8fd8a(0x243)]||function(_0x36f253){var _0x214032=_0xa8fd8a,_0x475a2d=_0x46d594,_0x39ae85=_0x475a2d[_0x214032(0x132)],_0x4979bb=_0x39ae85[_0x214032(0x322)],_0x1b122c=_0x39ae85[_0x214032(0x2db)],_0x2eb6ab=_0x39ae85[_0x214032(0x262)],_0x234066=_0x475a2d[_0x214032(0x1d1)];_0x234066[_0x214032(0x117)];var _0x1dc541=_0x234066[_0x214032(0x1d2)],_0x27fc10=_0x475a2d['algo'],_0x2b113e=_0x27fc10[_0x214032(0x39b)],_0x2acb3c=_0x39ae85['Cipher']=_0x2eb6ab['extend']({'cfg':_0x4979bb[_0x214032(0x303)](),'createEncryptor':function(_0x3b256e,_0x1d5933){var _0x13bf18=_0x214032;return this[_0x13bf18(0xc1)](this[_0x13bf18(0x217)],_0x3b256e,_0x1d5933);},'createDecryptor':function(_0xac36df,_0x24b588){var _0x2a2692=_0x214032;return this['create'](this[_0x2a2692(0x157)],_0xac36df,_0x24b588);},'init':function(_0x345792,_0x53c205,_0x59614a){var _0x5a3ae4=_0x214032;this[_0x5a3ae4(0x154)]=this['cfg'][_0x5a3ae4(0x303)](_0x59614a),this[_0x5a3ae4(0x1cf)]=_0x345792,this[_0x5a3ae4(0x1e6)]=_0x53c205,this[_0x5a3ae4(0x279)]();},'reset':function(){var _0x5ba3fb=_0x214032;_0x2eb6ab[_0x5ba3fb(0x279)]['call'](this),this['_doReset']();},'process':function(_0xabe017){var _0x2c4e5e=_0x214032;return this['_append'](_0xabe017),this[_0x2c4e5e(0x2f8)]();},'finalize':function(_0x3b946d){var _0x24837a=_0x214032;_0x3b946d&&this[_0x24837a(0x366)](_0x3b946d);var _0x510530=this[_0x24837a(0x11e)]();return _0x510530;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x2637ec(_0x2bf65a){var _0x5a0c01=_0x178d;return typeof _0x2bf65a==_0x5a0c01(0x24d)?_0x960cee:_0x25f797;}return function(_0x6aa6be){return{'encrypt':function(_0x57a459,_0x2364b4,_0x2dc184){var _0xed8eb5=_0x178d;return _0x2637ec(_0x2364b4)[_0xed8eb5(0x25c)](_0x6aa6be,_0x57a459,_0x2364b4,_0x2dc184);},'decrypt':function(_0x12c3a7,_0x5ba8c8,_0x2339fd){var _0x421207=_0x178d;return _0x2637ec(_0x5ba8c8)[_0x421207(0x15f)](_0x6aa6be,_0x12c3a7,_0x5ba8c8,_0x2339fd);}};};}())});_0x39ae85[_0x214032(0x34a)]=_0x2acb3c[_0x214032(0x303)]({'_doFinalize':function(){var _0xea9261=_0x214032,_0x485fd0=this[_0xea9261(0x2f8)](!0x0);return _0x485fd0;},'blockSize':0x1});var _0x524279=_0x475a2d[_0x214032(0x21f)]={},_0x1492a1=_0x39ae85[_0x214032(0xef)]=_0x4979bb[_0x214032(0x303)]({'createEncryptor':function(_0x29b365,_0x16f599){return this['Encryptor']['create'](_0x29b365,_0x16f599);},'createDecryptor':function(_0x5a7ab6,_0x487dc1){var _0x3c8394=_0x214032;return this[_0x3c8394(0x193)][_0x3c8394(0xc1)](_0x5a7ab6,_0x487dc1);},'init':function(_0x5f4488,_0x50c29b){var _0x3488c9=_0x214032;this['_cipher']=_0x5f4488,this[_0x3488c9(0xd7)]=_0x50c29b;}}),_0x5144a7=_0x524279[_0x214032(0x347)]=(function(){var _0x4761e9=_0x214032,_0x3a24aa=_0x1492a1[_0x4761e9(0x303)]();_0x3a24aa[_0x4761e9(0x1f2)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x51ea4b,_0x1b88b5){var _0xb76e5f=_0x4761e9,_0x4b9651=this[_0xb76e5f(0x2ef)],_0x2ee4dd=_0x4b9651[_0xb76e5f(0x256)];_0x1956b4[_0xb76e5f(0x324)](this,_0x51ea4b,_0x1b88b5,_0x2ee4dd),_0x4b9651[_0xb76e5f(0x39a)](_0x51ea4b,_0x1b88b5),this[_0xb76e5f(0x2e5)]=_0x51ea4b[_0xb76e5f(0x2ec)](_0x1b88b5,_0x1b88b5+_0x2ee4dd);}}),_0x3a24aa[_0x4761e9(0x193)]=_0x3a24aa[_0x4761e9(0x303)]({'processBlock':function(_0x58c48f,_0x73a093){var _0x2059f5=_0x4761e9,_0x23680d=this[_0x2059f5(0x2ef)],_0x35316a=_0x23680d[_0x2059f5(0x256)],_0x313177=_0x58c48f[_0x2059f5(0x2ec)](_0x73a093,_0x73a093+_0x35316a);_0x23680d[_0x2059f5(0x357)](_0x58c48f,_0x73a093),_0x1956b4[_0x2059f5(0x324)](this,_0x58c48f,_0x73a093,_0x35316a),this[_0x2059f5(0x2e5)]=_0x313177;}});function _0x1956b4(_0x1f7391,_0xb69215,_0x12573e){var _0x479959=_0x4761e9,_0x193981,_0x14e0cc=this[_0x479959(0xd7)];_0x14e0cc?(_0x193981=_0x14e0cc,this[_0x479959(0xd7)]=_0x36f253):_0x193981=this['_prevBlock'];for(var _0x4170b3=0x0;_0x4170b3<_0x12573e;_0x4170b3++)_0x1f7391[_0xb69215+_0x4170b3]^=_0x193981[_0x4170b3];}return _0x3a24aa;}()),_0x349c00=_0x475a2d[_0x214032(0x103)]={},_0x3b3ae6=_0x349c00['Pkcs7']={'pad':function(_0x5ef7c3,_0x28f322){var _0x1da888=_0x214032;for(var _0xcb7175=_0x28f322*0x4,_0x203691=_0xcb7175-_0x5ef7c3['sigBytes']%_0xcb7175,_0x146e20=_0x203691<<0x18|_0x203691<<0x10|_0x203691<<0x8|_0x203691,_0x59e1aa=[],_0x439c33=0x0;_0x439c33<_0x203691;_0x439c33+=0x4)_0x59e1aa[_0x1da888(0x13f)](_0x146e20);var _0x420237=_0x1b122c[_0x1da888(0xc1)](_0x59e1aa,_0x203691);_0x5ef7c3[_0x1da888(0x188)](_0x420237);},'unpad':function(_0x25c0cf){var _0x2b9306=_0x214032,_0x583c2c=_0x25c0cf[_0x2b9306(0x28a)][_0x25c0cf[_0x2b9306(0x2f3)]-0x1>>>0x2]&0xff;_0x25c0cf['sigBytes']-=_0x583c2c;}};_0x39ae85[_0x214032(0x1df)]=_0x2acb3c[_0x214032(0x303)]({'cfg':_0x2acb3c[_0x214032(0x154)]['extend']({'mode':_0x5144a7,'padding':_0x3b3ae6}),'reset':function(){var _0x3b0347=_0x214032,_0x35d760;_0x2acb3c[_0x3b0347(0x279)][_0x3b0347(0x324)](this);var _0x283cd1=this['cfg'],_0x207d1f=_0x283cd1['iv'],_0x1472a6=_0x283cd1[_0x3b0347(0x21f)];this[_0x3b0347(0x1cf)]==this[_0x3b0347(0x217)]?_0x35d760=_0x1472a6['createEncryptor']:(_0x35d760=_0x1472a6[_0x3b0347(0x163)],this[_0x3b0347(0x375)]=0x1),this[_0x3b0347(0x344)]&&this[_0x3b0347(0x344)][_0x3b0347(0x342)]==_0x35d760?this[_0x3b0347(0x344)][_0x3b0347(0x1ec)](this,_0x207d1f&&_0x207d1f[_0x3b0347(0x28a)]):(this[_0x3b0347(0x344)]=_0x35d760[_0x3b0347(0x324)](_0x1472a6,this,_0x207d1f&&_0x207d1f['words']),this[_0x3b0347(0x344)][_0x3b0347(0x342)]=_0x35d760);},'_doProcessBlock':function(_0xb75fc1,_0x3fa3cd){var _0x2a3e2a=_0x214032;this['_mode'][_0x2a3e2a(0x3b8)](_0xb75fc1,_0x3fa3cd);},'_doFinalize':function(){var _0x571b84=_0x214032,_0x4e5815,_0x548744=this[_0x571b84(0x154)][_0x571b84(0x333)];return this[_0x571b84(0x1cf)]==this['_ENC_XFORM_MODE']?(_0x548744[_0x571b84(0x103)](this[_0x571b84(0x29b)],this[_0x571b84(0x256)]),_0x4e5815=this[_0x571b84(0x2f8)](!0x0)):(_0x4e5815=this['_process'](!0x0),_0x548744[_0x571b84(0x21e)](_0x4e5815)),_0x4e5815;},'blockSize':0x80/0x20});var _0x2c13d9=_0x39ae85[_0x214032(0x36c)]=_0x4979bb[_0x214032(0x303)]({'init':function(_0x275d65){var _0x90b028=_0x214032;this[_0x90b028(0x1a5)](_0x275d65);},'toString':function(_0x2a2b23){var _0x2be563=_0x214032;return(_0x2a2b23||this[_0x2be563(0x3bd)])[_0x2be563(0x133)](this);}}),_0x21de45=_0x475a2d[_0x214032(0x2d0)]={},_0x5f07e2=_0x21de45[_0x214032(0x371)]={'stringify':function(_0x530091){var _0x4b32b3=_0x214032,_0x84a9e9,_0x23cdb2=_0x530091[_0x4b32b3(0x223)],_0x28a0d9=_0x530091[_0x4b32b3(0x1d9)];return _0x28a0d9?_0x84a9e9=_0x1b122c[_0x4b32b3(0xc1)]([0x53616c74,0x65645f5f])[_0x4b32b3(0x188)](_0x28a0d9)[_0x4b32b3(0x188)](_0x23cdb2):_0x84a9e9=_0x23cdb2,_0x84a9e9[_0x4b32b3(0x1c4)](_0x1dc541);},'parse':function(_0xf12f75){var _0x5d59cf=_0x214032,_0x49af66,_0x257f4d=_0x1dc541[_0x5d59cf(0x3c3)](_0xf12f75),_0x5571a7=_0x257f4d[_0x5d59cf(0x28a)];return _0x5571a7[0x0]==0x53616c74&&_0x5571a7[0x1]==0x65645f5f&&(_0x49af66=_0x1b122c[_0x5d59cf(0xc1)](_0x5571a7[_0x5d59cf(0x2ec)](0x2,0x4)),_0x5571a7[_0x5d59cf(0x384)](0x0,0x4),_0x257f4d['sigBytes']-=0x10),_0x2c13d9[_0x5d59cf(0xc1)]({'ciphertext':_0x257f4d,'salt':_0x49af66});}},_0x25f797=_0x39ae85[_0x214032(0x24a)]=_0x4979bb[_0x214032(0x303)]({'cfg':_0x4979bb[_0x214032(0x303)]({'format':_0x5f07e2}),'encrypt':function(_0x334f88,_0x508170,_0x23b3a7,_0x2c9bf3){var _0x2ae5c9=_0x214032;_0x2c9bf3=this['cfg'][_0x2ae5c9(0x303)](_0x2c9bf3);var _0x46568b=_0x334f88[_0x2ae5c9(0x13a)](_0x23b3a7,_0x2c9bf3),_0x4144b6=_0x46568b[_0x2ae5c9(0x12c)](_0x508170),_0x16617c=_0x46568b[_0x2ae5c9(0x154)];return _0x2c13d9[_0x2ae5c9(0xc1)]({'ciphertext':_0x4144b6,'key':_0x23b3a7,'iv':_0x16617c['iv'],'algorithm':_0x334f88,'mode':_0x16617c[_0x2ae5c9(0x21f)],'padding':_0x16617c[_0x2ae5c9(0x333)],'blockSize':_0x334f88['blockSize'],'formatter':_0x2c9bf3['format']});},'decrypt':function(_0x415bd5,_0x61d17d,_0x159d3c,_0x4ede3f){var _0x294e9f=_0x214032;_0x4ede3f=this['cfg']['extend'](_0x4ede3f),_0x61d17d=this[_0x294e9f(0x269)](_0x61d17d,_0x4ede3f[_0x294e9f(0x2d0)]);var _0x1ab8e8=_0x415bd5['createDecryptor'](_0x159d3c,_0x4ede3f)[_0x294e9f(0x12c)](_0x61d17d[_0x294e9f(0x223)]);return _0x1ab8e8;},'_parse':function(_0x389b94,_0x774862){var _0xe906ca=_0x214032;return typeof _0x389b94==_0xe906ca(0x24d)?_0x774862[_0xe906ca(0x3c3)](_0x389b94,this):_0x389b94;}}),_0x32d582=_0x475a2d[_0x214032(0x3b0)]={},_0x2efd8b=_0x32d582[_0x214032(0x371)]={'execute':function(_0x3a567a,_0xd8e864,_0xa0fc20,_0x204463,_0x5ec8e0){var _0x50aaf9=_0x214032;if(_0x204463||(_0x204463=_0x1b122c[_0x50aaf9(0x26e)](0x40/0x8)),_0x5ec8e0)var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20,'hasher':_0x5ec8e0})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);else var _0x3dd444=_0x2b113e[_0x50aaf9(0xc1)]({'keySize':_0xd8e864+_0xa0fc20})[_0x50aaf9(0x259)](_0x3a567a,_0x204463);var _0x1ae38e=_0x1b122c[_0x50aaf9(0xc1)](_0x3dd444['words'][_0x50aaf9(0x2ec)](_0xd8e864),_0xa0fc20*0x4);return _0x3dd444['sigBytes']=_0xd8e864*0x4,_0x2c13d9['create']({'key':_0x3dd444,'iv':_0x1ae38e,'salt':_0x204463});}},_0x960cee=_0x39ae85[_0x214032(0x3b7)]=_0x25f797[_0x214032(0x303)]({'cfg':_0x25f797[_0x214032(0x154)][_0x214032(0x303)]({'kdf':_0x2efd8b}),'encrypt':function(_0x185f01,_0x5219d7,_0x3048ea,_0x46ca94){var _0x32a7a2=_0x214032;_0x46ca94=this[_0x32a7a2(0x154)][_0x32a7a2(0x303)](_0x46ca94);var _0x1d6398=_0x46ca94[_0x32a7a2(0x3b0)]['execute'](_0x3048ea,_0x185f01[_0x32a7a2(0x1e8)],_0x185f01[_0x32a7a2(0x30e)],_0x46ca94['salt'],_0x46ca94[_0x32a7a2(0x18a)]);_0x46ca94['iv']=_0x1d6398['iv'];var _0x309244=_0x25f797[_0x32a7a2(0x25c)][_0x32a7a2(0x324)](this,_0x185f01,_0x5219d7,_0x1d6398['key'],_0x46ca94);return _0x309244[_0x32a7a2(0x1a5)](_0x1d6398),_0x309244;},'decrypt':function(_0x4b720a,_0x2452c1,_0x2e22ec,_0x42af19){var _0x1be591=_0x214032;_0x42af19=this[_0x1be591(0x154)][_0x1be591(0x303)](_0x42af19),_0x2452c1=this[_0x1be591(0x269)](_0x2452c1,_0x42af19['format']);var _0xd3de1f=_0x42af19[_0x1be591(0x3b0)][_0x1be591(0x31d)](_0x2e22ec,_0x4b720a[_0x1be591(0x1e8)],_0x4b720a['ivSize'],_0x2452c1[_0x1be591(0x1d9)],_0x42af19[_0x1be591(0x18a)]);_0x42af19['iv']=_0xd3de1f['iv'];var _0x5403c2=_0x25f797[_0x1be591(0x15f)][_0x1be591(0x324)](this,_0x4b720a,_0x2452c1,_0xd3de1f[_0x1be591(0x28c)],_0x42af19);return _0x5403c2;}});}();}));}(Je)),Je[_0x23ac43(0x32e)];}var Tn=Ve[_0x8cc9a2(0x32e)],ti;function Cn(){return ti||(ti=0x1,function(_0x5be299,_0x4b84a9){(function(_0x50bb18,_0x59a8db,_0x1707df){_0x5be299['exports']=_0x59a8db(te(),Oi(),vn(),yi(),Ni());}(Tn,function(_0x228e82){var _0x226cad=_0x178d;return(function(){var _0x471d26=_0x178d,_0x4191c8=_0x228e82,_0x73ff11=_0x4191c8['lib'],_0x5471c1=_0x73ff11['BlockCipher'],_0x148be7=_0x4191c8['algo'],_0x1ffa97=[],_0x275546=[],_0x5a7c2f=[],_0xe7041e=[],_0x1ae1cc=[],_0x71ba49=[],_0x3112d5=[],_0xa2e034=[],_0x4fa249=[],_0x5441fa=[];(function(){for(var _0x1ceb04=[],_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++)_0x2e84cd<0x80?_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1:_0x1ceb04[_0x2e84cd]=_0x2e84cd<<0x1^0x11b;for(var _0x54fac8=0x0,_0x345e30=0x0,_0x2e84cd=0x0;_0x2e84cd<0x100;_0x2e84cd++){var _0x488435=_0x345e30^_0x345e30<<0x1^_0x345e30<<0x2^_0x345e30<<0x3^_0x345e30<<0x4;_0x488435=_0x488435>>>0x8^_0x488435&0xff^0x63,_0x1ffa97[_0x54fac8]=_0x488435,_0x275546[_0x488435]=_0x54fac8;var _0x2236db=_0x1ceb04[_0x54fac8],_0x2ab26c=_0x1ceb04[_0x2236db],_0x504aae=_0x1ceb04[_0x2ab26c],_0x23cc17=_0x1ceb04[_0x488435]*0x101^_0x488435*0x1010100;_0x5a7c2f[_0x54fac8]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xe7041e[_0x54fac8]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x1ae1cc[_0x54fac8]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x71ba49[_0x54fac8]=_0x23cc17;var _0x23cc17=_0x504aae*0x1010101^_0x2ab26c*0x10001^_0x2236db*0x101^_0x54fac8*0x1010100;_0x3112d5[_0x488435]=_0x23cc17<<0x18|_0x23cc17>>>0x8,_0xa2e034[_0x488435]=_0x23cc17<<0x10|_0x23cc17>>>0x10,_0x4fa249[_0x488435]=_0x23cc17<<0x8|_0x23cc17>>>0x18,_0x5441fa[_0x488435]=_0x23cc17,_0x54fac8?(_0x54fac8=_0x2236db^_0x1ceb04[_0x1ceb04[_0x1ceb04[_0x504aae^_0x2236db]]],_0x345e30^=_0x1ceb04[_0x1ceb04[_0x345e30]]):_0x54fac8=_0x345e30=0x1;}}());var _0x2af189=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x23fd8c=_0x148be7[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x303)]({'_doReset':function(){var _0x586f72=_0x471d26,_0x522ec9;if(!(this[_0x586f72(0xca)]&&this[_0x586f72(0x266)]===this[_0x586f72(0x1e6)])){for(var _0x21bae6=this[_0x586f72(0x266)]=this[_0x586f72(0x1e6)],_0x4b4380=_0x21bae6[_0x586f72(0x28a)],_0x28c376=_0x21bae6[_0x586f72(0x2f3)]/0x4,_0x1d9fea=this['_nRounds']=_0x28c376+0x6,_0x53b8ee=(_0x1d9fea+0x1)*0x4,_0x4b8200=this[_0x586f72(0x101)]=[],_0x3adb63=0x0;_0x3adb63<_0x53b8ee;_0x3adb63++)_0x3adb63<_0x28c376?_0x4b8200[_0x3adb63]=_0x4b4380[_0x3adb63]:(_0x522ec9=_0x4b8200[_0x3adb63-0x1],_0x3adb63%_0x28c376?_0x28c376>0x6&&_0x3adb63%_0x28c376==0x4&&(_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff]):(_0x522ec9=_0x522ec9<<0x8|_0x522ec9>>>0x18,_0x522ec9=_0x1ffa97[_0x522ec9>>>0x18]<<0x18|_0x1ffa97[_0x522ec9>>>0x10&0xff]<<0x10|_0x1ffa97[_0x522ec9>>>0x8&0xff]<<0x8|_0x1ffa97[_0x522ec9&0xff],_0x522ec9^=_0x2af189[_0x3adb63/_0x28c376|0x0]<<0x18),_0x4b8200[_0x3adb63]=_0x4b8200[_0x3adb63-_0x28c376]^_0x522ec9);for(var _0x4db70c=this[_0x586f72(0x1c5)]=[],_0x36d261=0x0;_0x36d261<_0x53b8ee;_0x36d261++){var _0x3adb63=_0x53b8ee-_0x36d261;if(_0x36d261%0x4)var _0x522ec9=_0x4b8200[_0x3adb63];else var _0x522ec9=_0x4b8200[_0x3adb63-0x4];_0x36d261<0x4||_0x3adb63<=0x4?_0x4db70c[_0x36d261]=_0x522ec9:_0x4db70c[_0x36d261]=_0x3112d5[_0x1ffa97[_0x522ec9>>>0x18]]^_0xa2e034[_0x1ffa97[_0x522ec9>>>0x10&0xff]]^_0x4fa249[_0x1ffa97[_0x522ec9>>>0x8&0xff]]^_0x5441fa[_0x1ffa97[_0x522ec9&0xff]];}}},'encryptBlock':function(_0x401650,_0x1a5549){var _0x9ad9cb=_0x471d26;this['_doCryptBlock'](_0x401650,_0x1a5549,this[_0x9ad9cb(0x101)],_0x5a7c2f,_0xe7041e,_0x1ae1cc,_0x71ba49,_0x1ffa97);},'decryptBlock':function(_0x1363a0,_0x2c2398){var _0x2f4d3f=_0x471d26,_0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e,this[_0x2f4d3f(0x10c)](_0x1363a0,_0x2c2398,this['_invKeySchedule'],_0x3112d5,_0xa2e034,_0x4fa249,_0x5441fa,_0x275546);var _0x15b64e=_0x1363a0[_0x2c2398+0x1];_0x1363a0[_0x2c2398+0x1]=_0x1363a0[_0x2c2398+0x3],_0x1363a0[_0x2c2398+0x3]=_0x15b64e;},'_doCryptBlock':function(_0xbefbd0,_0x4976cc,_0x3eb3b3,_0x18dc3a,_0x4db16c,_0x209ba3,_0x2c5211,_0x5c49ef){var _0xad0763=_0x471d26;for(var _0x31889f=this[_0xad0763(0xca)],_0x55f278=_0xbefbd0[_0x4976cc]^_0x3eb3b3[0x0],_0x1a1499=_0xbefbd0[_0x4976cc+0x1]^_0x3eb3b3[0x1],_0x171d50=_0xbefbd0[_0x4976cc+0x2]^_0x3eb3b3[0x2],_0x135eb9=_0xbefbd0[_0x4976cc+0x3]^_0x3eb3b3[0x3],_0x21229b=0x4,_0x463b94=0x1;_0x463b94<_0x31889f;_0x463b94++){var _0x5cfa5a=_0x18dc3a[_0x55f278>>>0x18]^_0x4db16c[_0x1a1499>>>0x10&0xff]^_0x209ba3[_0x171d50>>>0x8&0xff]^_0x2c5211[_0x135eb9&0xff]^_0x3eb3b3[_0x21229b++],_0x3485e2=_0x18dc3a[_0x1a1499>>>0x18]^_0x4db16c[_0x171d50>>>0x10&0xff]^_0x209ba3[_0x135eb9>>>0x8&0xff]^_0x2c5211[_0x55f278&0xff]^_0x3eb3b3[_0x21229b++],_0x2cae01=_0x18dc3a[_0x171d50>>>0x18]^_0x4db16c[_0x135eb9>>>0x10&0xff]^_0x209ba3[_0x55f278>>>0x8&0xff]^_0x2c5211[_0x1a1499&0xff]^_0x3eb3b3[_0x21229b++],_0x119162=_0x18dc3a[_0x135eb9>>>0x18]^_0x4db16c[_0x55f278>>>0x10&0xff]^_0x209ba3[_0x1a1499>>>0x8&0xff]^_0x2c5211[_0x171d50&0xff]^_0x3eb3b3[_0x21229b++];_0x55f278=_0x5cfa5a,_0x1a1499=_0x3485e2,_0x171d50=_0x2cae01,_0x135eb9=_0x119162;}var _0x5cfa5a=(_0x5c49ef[_0x55f278>>>0x18]<<0x18|_0x5c49ef[_0x1a1499>>>0x10&0xff]<<0x10|_0x5c49ef[_0x171d50>>>0x8&0xff]<<0x8|_0x5c49ef[_0x135eb9&0xff])^_0x3eb3b3[_0x21229b++],_0x3485e2=(_0x5c49ef[_0x1a1499>>>0x18]<<0x18|_0x5c49ef[_0x171d50>>>0x10&0xff]<<0x10|_0x5c49ef[_0x135eb9>>>0x8&0xff]<<0x8|_0x5c49ef[_0x55f278&0xff])^_0x3eb3b3[_0x21229b++],_0x2cae01=(_0x5c49ef[_0x171d50>>>0x18]<<0x18|_0x5c49ef[_0x135eb9>>>0x10&0xff]<<0x10|_0x5c49ef[_0x55f278>>>0x8&0xff]<<0x8|_0x5c49ef[_0x1a1499&0xff])^_0x3eb3b3[_0x21229b++],_0x119162=(_0x5c49ef[_0x135eb9>>>0x18]<<0x18|_0x5c49ef[_0x55f278>>>0x10&0xff]<<0x10|_0x5c49ef[_0x1a1499>>>0x8&0xff]<<0x8|_0x5c49ef[_0x171d50&0xff])^_0x3eb3b3[_0x21229b++];_0xbefbd0[_0x4976cc]=_0x5cfa5a,_0xbefbd0[_0x4976cc+0x1]=_0x3485e2,_0xbefbd0[_0x4976cc+0x2]=_0x2cae01,_0xbefbd0[_0x4976cc+0x3]=_0x119162;},'keySize':0x100/0x20});_0x4191c8[_0x471d26(0x37f)]=_0x5471c1[_0x471d26(0x36e)](_0x23fd8c);}()),_0x228e82[_0x226cad(0x37f)];}));}(Ve)),Ve['exports'];}var Rn=Cn();const bn=$e(Rn);var On=Oi();const ii=$e(On);var Xe={'exports':{}},yn=Xe[_0x8cc9a2(0x32e)],si;function Nn(){return si||(si=0x1,function(_0x9fb8d1,_0x4af1f1){(function(_0x1dd22f,_0x482369){_0x9fb8d1['exports']=_0x482369(te());}(yn,function(_0x551164){var _0x2f5503=_0x178d;return _0x551164[_0x2f5503(0x1d1)][_0x2f5503(0x117)];}));}(Xe)),Xe['exports'];}var Dn=Nn();const Un=$e(Dn);var Ze={'exports':{}},An=Ze[_0x8cc9a2(0x32e)],ni;function wn(){var _0x548fbe=_0x8cc9a2;return ni||(ni=0x1,function(_0x4d4a7c,_0x4126f5){(function(_0x52f963,_0xa8b2a8){var _0x3e8a43=_0x178d;_0x4d4a7c[_0x3e8a43(0x32e)]=_0xa8b2a8(te());}(An,function(_0x1c7325){var _0x248ff3=_0x178d;return(function(){var _0x54f005=_0x178d;if(typeof ArrayBuffer==_0x54f005(0x119)){var _0x584ad5=_0x1c7325,_0x33e6c2=_0x584ad5[_0x54f005(0x132)],_0x5e797c=_0x33e6c2[_0x54f005(0x2db)],_0x2bb73e=_0x5e797c[_0x54f005(0x1ec)],_0x32f3f0=_0x5e797c[_0x54f005(0x1ec)]=function(_0x14d4b8){var _0x31bc12=_0x54f005;if(_0x14d4b8 instanceof ArrayBuffer&&(_0x14d4b8=new Uint8Array(_0x14d4b8)),(_0x14d4b8 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x14d4b8 instanceof Uint8ClampedArray||_0x14d4b8 instanceof Int16Array||_0x14d4b8 instanceof Uint16Array||_0x14d4b8 instanceof Int32Array||_0x14d4b8 instanceof Uint32Array||_0x14d4b8 instanceof Float32Array||_0x14d4b8 instanceof Float64Array)&&(_0x14d4b8=new Uint8Array(_0x14d4b8[_0x31bc12(0x1e7)],_0x14d4b8[_0x31bc12(0x2f1)],_0x14d4b8[_0x31bc12(0x27e)])),_0x14d4b8 instanceof Uint8Array){for(var _0xff4aed=_0x14d4b8['byteLength'],_0x271abf=[],_0x128303=0x0;_0x128303<_0xff4aed;_0x128303++)_0x271abf[_0x128303>>>0x2]|=_0x14d4b8[_0x128303]<<0x18-_0x128303%0x4*0x8;_0x2bb73e[_0x31bc12(0x324)](this,_0x271abf,_0xff4aed);}else _0x2bb73e[_0x31bc12(0x368)](this,arguments);};_0x32f3f0[_0x54f005(0xc9)]=_0x5e797c;}}()),_0x1c7325[_0x248ff3(0x132)][_0x248ff3(0x2db)];}));}(Ze)),Ze[_0x548fbe(0x32e)];}var Pn=wn();const Ln=$e(Pn);var Qe={'exports':{}},Mn=Qe[_0x8cc9a2(0x32e)],ri;function xn(){var _0xef908d=_0x8cc9a2;return ri||(ri=0x1,function(_0x36fc5f,_0x3dddc7){(function(_0x97d62f,_0x4486e5,_0x3afbc3){var _0x244d5a=_0x178d;_0x36fc5f[_0x244d5a(0x32e)]=_0x4486e5(te(),Ni());}(Mn,function(_0x424784){var _0x316317=_0x178d;return _0x424784['pad']['NoPadding']={'pad':function(){},'unpad':function(){}},_0x424784['pad'][_0x316317(0x2c7)];}));}(Qe)),Qe[_0xef908d(0x32e)];}var kn=xn();const $n=$e(kn);function Hn(_0x341bf8,_0x356e66){var _0x198578=_0x8cc9a2;const _0x3b9cd3=_0x356e66-_0x341bf8[_0x198578(0x1ae)]%_0x356e66,_0x23cf33=String['fromCharCode'](_0x3b9cd3)[_0x198578(0x37b)](_0x3b9cd3);return _0x341bf8+_0x23cf33;}function Bn(_0x33b3dc,_0x1abe44){var _0x2f6c4f=_0x8cc9a2;const _0x38d77d=Ln[_0x2f6c4f(0x26e)](0x10),_0x1cce71=Hn(_0x33b3dc,0x10),_0x53d473=bn[_0x2f6c4f(0x25c)](Un['parse'](_0x1cce71),ii[_0x2f6c4f(0x3c3)](_0x1abe44),{'iv':_0x38d77d,'padding':$n});return _0x38d77d['concat'](_0x53d473[_0x2f6c4f(0x223)])[_0x2f6c4f(0x1c4)](ii);}function jn(){var _0x20626c=_0x8cc9a2;const _0x5f5496=_0x58db97()['__Key__'];if(_0x5f5496){const _0x54880f={'time':Math[_0x20626c(0x230)](Date[_0x20626c(0xd9)]()/0x3e8),'domain':location[_0x20626c(0x1e9)]};return Bn(JSON[_0x20626c(0x133)](_0x54880f),_0x5f5496);}}var Fn=Object[_0x8cc9a2(0x2fc)],Vn=(_0x5166c2,_0x550379,_0x57538b,_0x5931a5)=>{for(var _0x6b08c0=_0x5931a5>0x1?void 0x0:_0x5931a5?Fn(_0x550379,_0x57538b):_0x550379,_0x1fd6da=_0x5166c2['length']-0x1,_0x7003ba;_0x1fd6da>=0x0;_0x1fd6da--)(_0x7003ba=_0x5166c2[_0x1fd6da])&&(_0x6b08c0=_0x7003ba(_0x6b08c0)||_0x6b08c0);return _0x6b08c0;},Gn=(_0x9a03f4,_0x3c088e)=>(_0x4557eb,_0x1fd287)=>_0x3c088e(_0x4557eb,_0x1fd287,_0x9a03f4);let at=class{constructor(_0xc6bcea){var _0x3f7b51=_0x8cc9a2;this[_0x3f7b51(0x100)]=_0xc6bcea,this[_0x3f7b51(0x275)]();}['_initRequestHeader'](){var _0x3e2994=_0x8cc9a2;this[_0x3e2994(0x100)][_0x3e2994(0x2a9)]({'interceptor':(_0x1ed599,_0x321def)=>{var _0x4d4f00=_0x3e2994;const _0x3b4d97=_0x1ed599[_0x4d4f00(0x2b4)],_0x5c2945=jn();return _0x5c2945&&_0x3b4d97['set'](_0x4d4f00(0x190),_0x5c2945),_0x321def(_0x1ed599);}});}};at=Vn([Gn(0x0,_0x2bc925(_0x2b7687))],at);var Wn=Object[_0x8cc9a2(0x2fc)],Yn=(_0x57914d,_0x42b52f,_0x5b48e4,_0x19fd0c)=>{for(var _0xdba3ae=_0x19fd0c>0x1?void 0x0:_0x19fd0c?Wn(_0x42b52f,_0x5b48e4):_0x42b52f,_0x476985=_0x57914d['length']-0x1,_0x21c3ee;_0x476985>=0x0;_0x476985--)(_0x21c3ee=_0x57914d[_0x476985])&&(_0xdba3ae=_0x21c3ee(_0xdba3ae)||_0xdba3ae);return _0xdba3ae;},vt=(_0x52b6d9,_0x1f73cc)=>(_0x567d4e,_0xd48515)=>_0x1f73cc(_0x567d4e,_0xd48515,_0x52b6d9);let Ct=class extends _0x13f7ae{constructor(_0x190035,_0x534121,_0x4ac735){var _0x3a1edd=_0x8cc9a2;super(),N(this,_0x3a1edd(0x292),new _0xf5efdc(null)),N(this,'unitInfo$',this[_0x3a1edd(0x292)][_0x3a1edd(0x107)]()),(this[_0x3a1edd(0x3a2)]=_0x190035,this['_snapshotService']=_0x534121,this[_0x3a1edd(0x378)]=_0x4ac735);}async[_0x8cc9a2(0x1f8)](_0x4d6c2c,_0x11b91c,_0x5b2291){var _0x5b5c24=_0x8cc9a2;this['_unitInfo$'][_0x5b5c24(0x30d)]({'unitId':_0x4d6c2c,'type':_0x11b91c});let _0xbeda43=null;switch(_0x11b91c){case Z[_0x5b5c24(0x2f4)]:{_0xbeda43=await this[_0x5b5c24(0x24c)][_0x5b5c24(0x351)](_0x4d6c2c,_0x5b2291);break;}case Z[_0x5b5c24(0x11c)]:{_0xbeda43=await this['_snapshotService'][_0x5b5c24(0x102)](_0x4d6c2c,_0x5b2291);break;}default:{this[_0x5b5c24(0x3a2)]['error'](_0x5b5c24(0x3b1),_0x5b5c24(0xda));break;}}return _0xbeda43;}async['loadUnit'](_0x27c3cd,_0x1b85fd,_0x1bb866){var _0x2d84b3=_0x8cc9a2,_0x49ea5f;this[_0x2d84b3(0x292)][_0x2d84b3(0x30d)]({'unitId':_0x27c3cd,'type':_0x1b85fd,'subUnitId':_0x1bb866});let _0x432681=0x0;const _0x19abf7=await((_0x49ea5f=this[_0x2d84b3(0x378)])==null?void 0x0:_0x49ea5f[_0x2d84b3(0x202)](_0x27c3cd));return _0x19abf7&&(_0x19abf7['awaitingChangeset']||_0x19abf7[_0x2d84b3(0x3be)][_0x2d84b3(0x1ae)]!==0x0)&&(_0x432681=_0x19abf7[_0x2d84b3(0x25d)]),_0x432681===0x0&&this['_logService'][_0x2d84b3(0x31b)]('[DataLoaderService]',_0x2d84b3(0x1f3)),this[_0x2d84b3(0x1f8)](_0x27c3cd,_0x1b85fd,_0x432681);}};Ct=Yn([vt(0x0,_0xd27129),vt(0x1,_0x2bc925(_0x4b7bbc)),vt(0x2,_0x31269b(J))],Ct);var Kn=Object['getOwnPropertyDescriptor'],qn=(_0x322032,_0x1124ab,_0x1a3078,_0x388cfd)=>{var _0x1dd58e=_0x8cc9a2;for(var _0x1b5b15=_0x388cfd>0x1?void 0x0:_0x388cfd?Kn(_0x1124ab,_0x1a3078):_0x1124ab,_0x2c95e8=_0x322032[_0x1dd58e(0x1ae)]-0x1,_0x552a5a;_0x2c95e8>=0x0;_0x2c95e8--)(_0x552a5a=_0x322032[_0x2c95e8])&&(_0x1b5b15=_0x552a5a(_0x1b5b15)||_0x1b5b15);return _0x1b5b15;},pt=(_0x38196b,_0x5e0ef1)=>(_0x5e5341,_0x6b6b7e)=>_0x5e0ef1(_0x5e5341,_0x6b6b7e,_0x38196b);const zn=[_0x8cc9a2(0x11d),_0x8cc9a2(0x1ad),_0x8cc9a2(0x146),_0x8cc9a2(0x3a0),_0x8cc9a2(0x32b)],Jn=0x5*0x400*0x400,Xn=_0x8cc9a2(0x3a4),Zn=_0x8cc9a2(0x19e),Qn=_0x8cc9a2(0x2e2),er=_0x8cc9a2(0x245);let Rt=class{constructor(_0x5da739,_0x436045,_0x1369af){var _0x4e5e3d=_0x8cc9a2;N(this,'_waitCount',0x0),N(this,_0x4e5e3d(0x19b),new _0x71a712()),N(this,_0x4e5e3d(0x271),this[_0x4e5e3d(0x19b)]),N(this,_0x4e5e3d(0x36a),new Map()),(this[_0x4e5e3d(0x100)]=_0x5da739,this[_0x4e5e3d(0xee)]=_0x436045,this['_univerInstanceService']=_0x1369af);}['setWaitCount'](_0x3f7f0d){var _0x32a2e2=_0x8cc9a2;this[_0x32a2e2(0xc5)]=_0x3f7f0d,this[_0x32a2e2(0x19b)]['next'](_0x3f7f0d);}[_0x8cc9a2(0x261)](_0x427f8e,_0x27615c){var _0x4fa533=_0x8cc9a2;if(_0x27615c===_0x33e4d2[_0x4fa533(0x31e)]){const _0x1a12a4=new Image();return _0x1a12a4['src']=_0x427f8e,_0x1a12a4;}return this['_imageSourceCache']['get'](_0x427f8e);}['addImageSourceCache'](_0x1b3a7d,_0xb52382,_0x3c46ea){var _0x4b203f=_0x8cc9a2;_0xb52382===_0x33e4d2[_0x4b203f(0x31e)]||_0x3c46ea==null||this[_0x4b203f(0x36a)][_0x4b203f(0x2bb)](_0x1b3a7d,_0x3c46ea);}async[_0x8cc9a2(0x323)](_0x468fca){var _0x3fbbce=_0x8cc9a2;try{const _0x178ab3=this[_0x3fbbce(0x15e)](this[_0x3fbbce(0x228)](),''+_0x468fca),_0x4f0397=(await this['_httpService'][_0x3fbbce(0x313)](_0x178ab3))[_0x3fbbce(0x242)];if(_0x4f0397[_0x3fbbce(0x237)]&&_0x4f0397[_0x3fbbce(0x237)][_0x3fbbce(0x12b)]===pi['OK']){const _0x2a6df5=new URL(_0x4f0397[_0x3fbbce(0x205)],this['_getDownloadEndpointURL']())[_0x3fbbce(0x1c4)]();return Promise['resolve'](_0x2a6df5);}return Promise[_0x3fbbce(0x110)](_0x4f0397[_0x3fbbce(0x237)]);}catch(_0x556bb2){return Promise[_0x3fbbce(0x110)](_0x556bb2);}}async['saveImage'](_0x45beb8){var _0x4555fc=_0x8cc9a2;let _0x2edd0e='';if(!zn[_0x4555fc(0x38d)](_0x45beb8[_0x4555fc(0x3c2)]))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1[_0x4555fc(0xd5)]));if(_0x45beb8[_0x4555fc(0x38b)]>Jn)return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x35a)]));try{const _0x193f9a=new FormData();_0x193f9a[_0x4555fc(0x36d)](_0x4555fc(0x2c3),_0x45beb8);const _0x50644a=this[_0x4555fc(0x370)][_0x4555fc(0x35c)](),_0x4d08d5=_0x50644a==null?void 0x0:_0x50644a['getUnitId']();if(!_0x4d08d5)throw new Error(_0x4555fc(0x2bc));const _0x232acd=this[_0x4555fc(0x11b)]()+_0x4555fc(0x2c9)+_0x45beb8[_0x4555fc(0x38b)]['toString']()+'&source='+mi['UnitEmbedded']+_0x4555fc(0x130)+encodeURIComponent(_0x4d08d5),_0xd91bba={'body':_0x193f9a},_0x27699e=(await this[_0x4555fc(0x100)][_0x4555fc(0x171)](_0x232acd,_0xd91bba))[_0x4555fc(0x242)];if(typeof _0x27699e[_0x4555fc(0x35d)]!=_0x4555fc(0x24d))return this[_0x4555fc(0x161)](),Promise[_0x4555fc(0x110)](new Error(_0x42d9c1['ERROR_IMAGE']));_0x2edd0e=_0x27699e[_0x4555fc(0x35d)];}catch{return this[_0x4555fc(0x161)](),Promise['reject'](new Error(_0x42d9c1[_0x4555fc(0x276)]));}return new Promise((_0x564139,_0x566d5f)=>{var _0x4f9b49=_0x4555fc;const _0x4380d6=new FileReader();_0x4380d6[_0x4f9b49(0x118)](_0x45beb8),_0x4380d6[_0x4f9b49(0x135)]=_0x28cf3e=>{var _0x2450a8=_0x4f9b49,_0x5840e3;const _0x580809=(_0x5840e3=_0x28cf3e[_0x2450a8(0x221)])==null?void 0x0:_0x5840e3[_0x2450a8(0x341)];if(_0x580809==null){this[_0x2450a8(0x161)](),_0x566d5f(new Error(_0x42d9c1[_0x2450a8(0x276)]));return;}const _0x2ee688=_0x17f42b[_0x2450a8(0x330)](0x6);_0x564139({'imageId':_0x2ee688,'imageSourceType':_0x33e4d2[_0x2450a8(0x374)],'source':_0x2edd0e,'base64Cache':_0x580809,'status':_0x42d9c1[_0x2450a8(0x21a)]}),this['_decreaseWaiting']();};});}[_0x8cc9a2(0x11b)](){var _0x370705=_0x8cc9a2,_0x691cb7,_0x3ba0c6;const _0x3d36e8=this[_0x370705(0xee)]['getConfig'](Xn),_0x2fa7d4=this['_configService']['getConfig'](K);return(_0x3ba0c6=(_0x691cb7=_0x2fa7d4==null?void 0x0:_0x2fa7d4[_0x370705(0x291)])!=null?_0x691cb7:_0x3d36e8)!=null?_0x3ba0c6:Zn;}[_0x8cc9a2(0x228)](){var _0xf50bb7=_0x8cc9a2,_0x4bb09b,_0x6c9547;const _0x2e43dc=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](Qn),_0x32a796=this[_0xf50bb7(0xee)][_0xf50bb7(0x122)](K);return(_0x6c9547=(_0x4bb09b=_0x32a796==null?void 0x0:_0x32a796[_0xf50bb7(0x108)])!=null?_0x4bb09b:_0x2e43dc)!=null?_0x6c9547:er;}[_0x8cc9a2(0x10b)](){var _0x18d6e7=_0x8cc9a2,_0x2c15c9;const _0x16490d=this[_0x18d6e7(0xee)][_0x18d6e7(0x122)](K);return(_0x2c15c9=_0x16490d==null?void 0x0:_0x16490d[_0x18d6e7(0x29c)])!=null?_0x2c15c9:location[_0x18d6e7(0x189)];}[_0x8cc9a2(0x15e)](_0x2ac9d5,_0x35f255){var _0x3612f8=_0x8cc9a2;return _0x2ac9d5['replace'](_0x3612f8(0x106),_0x35f255);}[_0x8cc9a2(0x161)](){var _0x5537f9=_0x8cc9a2;this[_0x5537f9(0xc5)]-=0x1,this['_change$'][_0x5537f9(0x30d)](this['_waitCount']);}};Rt=qn([pt(0x0,_0x2bc925(_0x2b7687)),pt(0x1,_0x195c73),pt(0x2,_0x2bc925(_0x24fe3b))],Rt);var tr=Object[_0x8cc9a2(0x2fc)],ir=(_0x5abce0,_0x1cf12d,_0x425bd8,_0x557c88)=>{var _0x4d9e15=_0x8cc9a2;for(var _0x48ea06=_0x557c88>0x1?void 0x0:_0x557c88?tr(_0x1cf12d,_0x425bd8):_0x1cf12d,_0x5150f7=_0x5abce0[_0x4d9e15(0x1ae)]-0x1,_0x60ce76;_0x5150f7>=0x0;_0x5150f7--)(_0x60ce76=_0x5abce0[_0x5150f7])&&(_0x48ea06=_0x60ce76(_0x48ea06)||_0x48ea06);return _0x48ea06;},ai=(_0x1ac0cf,_0x37a351)=>(_0xac8686,_0x4382e0)=>_0x37a351(_0xac8686,_0x4382e0,_0x1ac0cf);const sr=_0x8cc9a2(0xe1);let bt=class{constructor(_0x135a6b,_0x49ed1b){var _0x291963=_0x8cc9a2;this[_0x291963(0xee)]=_0x135a6b,this['_HTTPService']=_0x49ed1b;}[_0x8cc9a2(0xc7)](){var _0x5abe6f=_0x8cc9a2,_0x42d495,_0x11a1bf;const _0x589e64=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](bi),_0x364545=this[_0x5abe6f(0xee)][_0x5abe6f(0x122)](K);return(_0x11a1bf=(_0x42d495=_0x364545==null?void 0x0:_0x364545['authzUrl'])!=null?_0x42d495:_0x589e64)!=null?_0x11a1bf:sr;}async['list'](_0x18cf58){var _0x338949=_0x8cc9a2;const _0x2a170b=this[_0x338949(0xc7)]()+_0x338949(0xe5);return{'list':[{'title':_0x338949(0xe2),'mentions':(await this[_0x338949(0x1eb)]['get'](_0x2a170b,{'params':{'objectID':_0x18cf58[_0x338949(0x3a7)],'unitID':_0x18cf58[_0x338949(0x3a7)]}}))['body'][_0x338949(0x336)][_0x338949(0x34c)](_0x387b2d=>({'objectId':_0x387b2d['id'],'name':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x387)],'metadata':{'icon':_0x387b2d[_0x338949(0x3a9)][_0x338949(0x1bc)]},'label':_0x387b2d[_0x338949(0x3a9)]['name'],'objectType':_0x18d35c['PERSON']})),'metadata':{},'type':_0x18d35c[_0x338949(0x396)]}]};}};bt=ir([ai(0x0,_0x2bc925(_0x195c73)),ai(0x1,_0x2bc925(_0x2b7687))],bt);var nr=Object['getOwnPropertyDescriptor'],rr=(_0x5f1169,_0x4023f7,_0x243f1e,_0x3f9bec)=>{var _0x21712a=_0x8cc9a2;for(var _0x213558=_0x3f9bec>0x1?void 0x0:_0x3f9bec?nr(_0x4023f7,_0x243f1e):_0x4023f7,_0x352a22=_0x5f1169[_0x21712a(0x1ae)]-0x1,_0x3b6416;_0x352a22>=0x0;_0x352a22--)(_0x3b6416=_0x5f1169[_0x352a22])&&(_0x213558=_0x3b6416(_0x213558)||_0x213558);return _0x213558;},Ae=(_0x5bc3c3,_0x459ccb)=>(_0x56a897,_0x4550b9)=>_0x459ccb(_0x56a897,_0x4550b9,_0x5bc3c3);let ot=class extends _0x13f7ae{constructor(_0x1c2235,_0x29d6e1,_0x4d82ae,_0x85b936,_0x4b41d1){var _0x23df1e=_0x8cc9a2;super(),this[_0x23df1e(0x127)]=_0x1c2235,this[_0x23df1e(0x370)]=_0x29d6e1,this[_0x23df1e(0x14b)]=_0x4d82ae,this[_0x23df1e(0x39f)]=_0x85b936,this[_0x23df1e(0x299)]=_0x4b41d1,this[_0x23df1e(0x20c)](),this[_0x23df1e(0x1c6)]();}[_0x8cc9a2(0x1c6)](){var _0x1ab919=_0x8cc9a2;const _0x15b00c=async _0x1d1ad8=>{var _0x3ed250=_0x178d;(await this[_0x3ed250(0x39f)][_0x3ed250(0x148)](_0x1d1ad8))[_0x3ed250(0x395)][_0x3ed250(0x265)](_0x469615(_0x4f769c=>_0x4f769c[_0x3ed250(0x22e)]===_0x52d112[_0x3ed250(0x12d)]),_0x108dc2(this['dispose$']))[_0x3ed250(0x389)](_0x1fed11=>{var _0x225f3d=_0x3ed250;const _0x47ff39=_0x1fed11,{reason:_0x5e0e5d}=_0x47ff39[_0x225f3d(0x32a)];this[_0x225f3d(0x299)][_0x225f3d(0x350)]({'id':ne[_0x225f3d(0x22a)],'data':_0x5e0e5d}),this[_0x225f3d(0x14b)][_0x225f3d(0x244)](new _0x4721f5(_0x1d1ad8)['id'],!0x1),this[_0x225f3d(0x39f)][_0x225f3d(0x3b6)](_0x1d1ad8);});};_0x4e790d(this[_0x1ab919(0x370)][_0x1ab919(0x2a6)](_0x444bb2[_0x1ab919(0x2f4)]),this[_0x1ab919(0x370)]['getTypeOfUnitAdded$'](_0x444bb2[_0x1ab919(0x11c)]))['pipe'](_0xcf6408(_0x5b0de7=>_0x5b0de7[_0x1ab919(0x239)]()),_0x469615(_0x1d7e11=>!_0x2b0287(_0x1d7e11)),_0x108dc2(this[_0x1ab919(0x346)]))[_0x1ab919(0x389)](_0x2c2aa3=>{_0x15b00c(_0x2c2aa3);});}[_0x8cc9a2(0x20c)](){var _0x518536=_0x8cc9a2;const _0x15ed7b=async _0x3ac8e8=>{var _0x397105=_0x178d;const _0x52ea82=await this[_0x397105(0x39f)][_0x397105(0x148)](_0x3ac8e8),_0x1cec06=this[_0x397105(0x127)][_0x397105(0x313)](_0x12aebc);_0x52ea82[_0x397105(0x395)]['pipe'](_0x469615(_0x3dbcaa=>_0x3dbcaa[_0x397105(0x22e)]===_0x52d112['UPDATE_PERMISSION_OBJ']),_0x108dc2(this['dispose$']))['subscribe'](_0x1092b3=>{var _0x2219b8=_0x397105;const _0x512401=_0x1092b3,{objectId:_0x18af73}=_0x512401[_0x2219b8(0x32a)];_0x18af73===_0x3ac8e8?_0x1cec06[_0x2219b8(0x175)](_0x3ac8e8):_0x1cec06[_0x2219b8(0x2d5)](_0x3ac8e8,_0x18af73);});};_0x4e790d(this[_0x518536(0x370)]['getTypeOfUnitAdded$'](_0x444bb2['UNIVER_SHEET']))['pipe'](_0xcf6408(_0xdab31b=>_0xdab31b[_0x518536(0x239)]()),_0x469615(_0xa1545f=>!_0x2b0287(_0xa1545f)),_0x108dc2(this[_0x518536(0x346)]))[_0x518536(0x389)](_0x171c69=>{_0x15ed7b(_0x171c69);});}};ot=rr([Ae(0x0,_0x2bc925(_0x5c0aec)),Ae(0x1,_0x24fe3b),Ae(0x2,_0x2c39ae),Ae(0x3,_0x2bc925(Le)),Ae(0x4,_0x2bc925(ve))],ot);var ar=Object[_0x8cc9a2(0x2fc)],or=(_0x267d18,_0x31ac7f,_0x392377,_0x5370fb)=>{var _0x4fa567=_0x8cc9a2;for(var _0x42516e=_0x5370fb>0x1?void 0x0:_0x5370fb?ar(_0x31ac7f,_0x392377):_0x31ac7f,_0x26143c=_0x267d18[_0x4fa567(0x1ae)]-0x1,_0x2694c7;_0x26143c>=0x0;_0x26143c--)(_0x2694c7=_0x267d18[_0x26143c])&&(_0x42516e=_0x2694c7(_0x42516e)||_0x42516e);return _0x42516e;},oi=(_0x43ba20,_0x3b88bc)=>(_0x17910c,_0x18de89)=>_0x3b88bc(_0x17910c,_0x18de89,_0x43ba20);let Ot=class{constructor(_0x1a0163,_0x20f8c8){var _0x558842=_0x8cc9a2;this['_configService']=_0x1a0163,this[_0x558842(0x100)]=_0x20f8c8;}async[_0x8cc9a2(0x17c)](_0x375e14,_0x1c265d){var _0x2dded9=_0x8cc9a2,_0x5e3bb1;const {unitID:_0x35110d,type:_0x285705,revision:_0x286754=0x0}=_0x1c265d,_0x4a3e8e=this[_0x2dded9(0x199)]()+'/'+_0x285705+_0x2dded9(0xf0)+_0x35110d+'/rev/'+_0x286754,_0x17178d=(await this[_0x2dded9(0x100)][_0x2dded9(0x313)](_0x4a3e8e))[_0x2dded9(0x242)],_0x4f20cd=(_0x5e3bb1=_0x17178d[_0x2dded9(0x233)])==null?void 0x0:_0x5e3bb1[_0x2dded9(0x210)];if(_0x4f20cd){const _0xfa0f7b=_0x4f20cd==null?void 0x0:_0x4f20cd['originalMeta'],_0x2b9dd5=_0x260c50[_0x2dded9(0x3c0)](_0x3e3d73(_0xfa0f7b));_0x4f20cd['originalMeta']=_0x2b9dd5,Object[_0x2dded9(0x3c1)](_0x4f20cd[_0x2dded9(0x140)])['forEach'](([,_0x438fce])=>{var _0x2ef75e=_0x2dded9;const _0x3a3dcc=_0x438fce[_0x2ef75e(0x1ca)],_0x5997a1=_0x260c50[_0x2ef75e(0x3c0)](_0x3e3d73(_0x3a3dcc));_0x438fce[_0x2ef75e(0x1ca)]=_0x5997a1;});}return _0x17178d;}async[_0x8cc9a2(0x319)](_0x1974b2,_0x36326c){var _0x4b4601=_0x8cc9a2;const {unitID:_0x527dd7,type:_0x568d29,blockID:_0x513584}=_0x36326c,_0x5ae183=this[_0x4b4601(0x1a4)]()+'/'+_0x568d29+_0x4b4601(0xf0)+_0x527dd7+_0x4b4601(0x113)+_0x513584;return(await this['_httpService'][_0x4b4601(0x313)](_0x5ae183))['body'];}async[_0x8cc9a2(0x142)](_0x24fd16,_0x35b90f){var _0x172ad8=_0x8cc9a2;const {unitID:_0x39fade,type:_0x1ec423,blockID:_0x461e44}=_0x35b90f,_0x15a8c5=this[_0x172ad8(0x1a4)]()+'/block/'+_0x1ec423+'/unit/'+_0x39fade+_0x172ad8(0x113)+_0x461e44;return(await this[_0x172ad8(0x100)][_0x172ad8(0x313)](_0x15a8c5))[_0x172ad8(0x242)];}async[_0x8cc9a2(0x120)](_0x580fc3,_0x20a000){var _0xcee387=_0x8cc9a2;const {unitID:_0x34cc99,type:_0x2769ed,from:_0xe48c31,to:_0x385176}=_0x20a000,_0x5827b3=this[_0xcee387(0x1a4)]()+'/'+_0x2769ed+_0xcee387(0xf0)+_0x34cc99+_0xcee387(0x33f)+_0xe48c31+_0xcee387(0x365)+_0x385176;return(await this['_httpService'][_0xcee387(0x313)](_0x5827b3))[_0xcee387(0x242)];}[_0x8cc9a2(0x199)](){var _0x31c605=_0x8cc9a2,_0x7b9c88;return(_0x7b9c88=this[_0x31c605(0xee)]['getConfig'](ps))!=null?_0x7b9c88:this[_0x31c605(0x1a4)]();}[_0x8cc9a2(0x1a4)](){var _0x314ac3=_0x8cc9a2,_0x4a6bff,_0x5031f7;const _0x2f9b61=this[_0x314ac3(0xee)]['getConfig'](fs),_0x12cf50=this[_0x314ac3(0xee)][_0x314ac3(0x122)](K);return(_0x5031f7=(_0x4a6bff=_0x12cf50==null?void 0x0:_0x12cf50[_0x314ac3(0x302)])!=null?_0x4a6bff:_0x2f9b61)!=null?_0x5031f7:vs;}async[_0x8cc9a2(0x28b)](_0x5a25cf,_0x55508a){var _0x1ddcc5=_0x8cc9a2;const _0x82cb4f=_0x1ddcc5(0x104)+_0x55508a[_0x1ddcc5(0x3c2)]+_0x1ddcc5(0xf0)+_0x55508a[_0x1ddcc5(0x2e6)]+'/resources';return(await this[_0x1ddcc5(0x100)][_0x1ddcc5(0x313)](_0x82cb4f,{'params':{'resourceId':JSON[_0x1ddcc5(0x133)](_0x55508a[_0x1ddcc5(0x14d)])}}))[_0x1ddcc5(0x242)];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x3bf)](){var _0x345c02=_0x8cc9a2;throw new Error(_0x345c02(0x1cc));}[_0x8cc9a2(0x1cd)](){var _0x26a752=_0x8cc9a2;throw new Error(_0x26a752(0x1cc));}[_0x8cc9a2(0x3bb)](){var _0xe107c9=_0x8cc9a2;throw new Error(_0xe107c9(0x1cc));}['copyFileMeta'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x8cc9a2(0x209)](){var _0xb6d870=_0x8cc9a2;throw new Error(_0xb6d870(0x1cc));}};Ot=or([oi(0x0,_0x195c73),oi(0x1,_0x2bc925(_0x2b7687))],Ot);var cr=Object[_0x8cc9a2(0x2fc)],hr=(_0x32f5fd,_0x3bea46,_0x12d73a,_0xd8f48f)=>{var _0x2aa317=_0x8cc9a2;for(var _0x2a0502=_0xd8f48f>0x1?void 0x0:_0xd8f48f?cr(_0x3bea46,_0x12d73a):_0x3bea46,_0x4afc1b=_0x32f5fd[_0x2aa317(0x1ae)]-0x1,_0xb598c6;_0x4afc1b>=0x0;_0x4afc1b--)(_0xb598c6=_0x32f5fd[_0x4afc1b])&&(_0x2a0502=_0xb598c6(_0x2a0502)||_0x2a0502);return _0x2a0502;},we=(_0x50a400,_0x542b6c)=>(_0x16666c,_0x2a7e98)=>_0x542b6c(_0x16666c,_0x2a7e98,_0x50a400);let yt=class extends _0x416660{constructor(_0x2bce13,_0x5908d6,_0x585358,_0x5f1596,_0x54916a){var _0x2ee2e9=_0x8cc9a2;super(_0x2bce13,_0x5908d6,_0x585358),this[_0x2ee2e9(0x385)]=_0x5f1596,this[_0x2ee2e9(0x3a2)]=_0x54916a;}['transformUndoRedo'](_0x2d0c17,_0x294a25){var _0x47c149=_0x8cc9a2;const _0x20cc56=this[_0x47c149(0x1f1)](_0x2d0c17);if(_0x20cc56)try{const _0x33d2c9=this[_0x47c149(0x121)](_0x20cc56,_0x294a25);this[_0x47c149(0xea)](_0x2d0c17,_0x33d2c9);}catch(_0x1bda9e){this[_0x47c149(0x3a2)]['error'](_0x47c149(0x362),_0x1bda9e),this[_0x47c149(0x220)](_0x2d0c17);}const _0x40eef6=this[_0x47c149(0x215)](_0x2d0c17);if(_0x40eef6)try{const _0x47979f=this['_transformStack'](_0x40eef6,_0x294a25);this[_0x47c149(0x1e1)](_0x2d0c17,_0x47979f);}catch(_0x46c943){this[_0x47c149(0x3a2)]['error'](_0x46c943),this[_0x47c149(0x1d8)](_0x2d0c17);}}['_clearUndo'](_0x3c8eea){var _0x310795=_0x8cc9a2;const _0x21cb2b=this[_0x310795(0x1f1)](_0x3c8eea);_0x21cb2b&&(_0x21cb2b[_0x310795(0x1ae)]=0x0,this[_0x310795(0x3a8)]());}[_0x8cc9a2(0x1d8)](_0x4e7b3d){var _0x543cb9=_0x8cc9a2;const _0x1d3a09=this['_getRedoStack'](_0x4e7b3d);_0x1d3a09&&(_0x1d3a09[_0x543cb9(0x1ae)]=0x0,this[_0x543cb9(0x3a8)]());}['_substituteUndoStack'](_0x261321,_0x1b5d4c){var _0x4e66d2=_0x8cc9a2;this[_0x4e66d2(0x1b3)][_0x4e66d2(0x2bb)](_0x261321,_0x1b5d4c),this['_updateStatus']();}[_0x8cc9a2(0x1e1)](_0x47f74b,_0x5d5a72){var _0x31b373=_0x8cc9a2;this[_0x31b373(0x397)][_0x31b373(0x2bb)](_0x47f74b,_0x5d5a72),this[_0x31b373(0x3a8)]();}[_0x8cc9a2(0x121)](_0x1e0aaf,_0x16864e){var _0x5c3b23=_0x8cc9a2;const _0x2b8777=[];let _0x23d8d4=_0x16864e,_0x5cbacf=_0x16864e;for(let _0x5cf5c4=_0x1e0aaf[_0x5c3b23(0x1ae)]-0x1;_0x5cf5c4>=0x0;_0x5cf5c4--){const {unitID:_0x3b58b9,undoMutations:_0x2e5f87,redoMutations:_0x1a4fed}=_0x1e0aaf[_0x5cf5c4],_0xd843af=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x23d8d4,_0x2e5f87),_0x5beb9d=this[_0x5c3b23(0x385)][_0x5c3b23(0x1e0)](_0x5cbacf,_0x1a4fed);if(_0x37d180(_0xd843af)||_0x37d180(_0x5beb9d)){this[_0x5c3b23(0x3a2)][_0x5c3b23(0x237)](_0x5c3b23(0x362),'transformStack\x20failed!',_0xd843af,_0x5beb9d);break;}_0x23d8d4=_0xd843af[_0x5c3b23(0x114)],_0x5cbacf=_0x5beb9d[_0x5c3b23(0x114)],_0x2b8777[_0x5c3b23(0x13f)]({'unitID':_0x3b58b9,'undoMutations':_0xd843af[_0x5c3b23(0x20b)],'redoMutations':_0x5beb9d['m2Prime']});}return _0x2b8777[_0x5c3b23(0x232)]();}};yt=hr([we(0x0,_0x24fe3b),we(0x1,_0x8da825),we(0x2,_0x128882),we(0x3,_0x20376b),we(0x4,_0xd27129)],yt);var _r=Object['defineProperty'],lr=Object['getOwnPropertyDescriptor'],ur=(_0x3e34a3,_0x2fa1f6,_0x291ecf)=>_0x2fa1f6 in _0x3e34a3?_r(_0x3e34a3,_0x2fa1f6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x291ecf}):_0x3e34a3[_0x2fa1f6]=_0x291ecf,dr=(_0x460a65,_0x5e1baf,_0x582858,_0x4226d0)=>{var _0x18dcd4=_0x8cc9a2;for(var _0x35e24c=_0x4226d0>0x1?void 0x0:_0x4226d0?lr(_0x5e1baf,_0x582858):_0x5e1baf,_0x1e11ca=_0x460a65[_0x18dcd4(0x1ae)]-0x1,_0x5407e5;_0x1e11ca>=0x0;_0x1e11ca--)(_0x5407e5=_0x460a65[_0x1e11ca])&&(_0x35e24c=_0x5407e5(_0x35e24c)||_0x35e24c);return _0x35e24c;},mt=(_0x141bfe,_0x2a66e2)=>(_0x64cb38,_0x2e784f)=>_0x2a66e2(_0x64cb38,_0x2e784f,_0x141bfe),fr=(_0x35eda8,_0x4a89de,_0x3cce6f)=>ur(_0x35eda8,_0x4a89de+'',_0x3cce6f);const vr=_0x8cc9a2(0x166);let Nt=class extends _0x42526b{constructor(_0x5f08a5,_0x569dfd,_0x385cb9,_0xcd06c5){var _0x1c0ad9=_0x8cc9a2;super(),N(this,_0x1c0ad9(0x184)),(this['_logService']=_0x569dfd,this['_injector']=_0x385cb9,this[_0x1c0ad9(0xee)]=_0xcd06c5);const {..._0x54e43d}=_0x35ab8b({},Ds,_0x5f08a5);if(!_0x54e43d[_0x1c0ad9(0x23f)])throw new Error(_0x1c0ad9(0x24e));this[_0x1c0ad9(0x184)]=_0x54e43d,this['_configService'][_0x1c0ad9(0x27a)](K,_0x54e43d);}['onStarting'](){var _0x1c03bd=_0x8cc9a2;this[_0x1c03bd(0x35f)](),this['_initDependencies']();}[_0x8cc9a2(0x35f)](){var _0x22923c=_0x8cc9a2,_0x5e681a,_0x32c14e;this['_injector']['has'](_0x1ab2de)&&this[_0x22923c(0x3a2)][_0x22923c(0x237)](_0x22923c(0x1e3),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x2c43ec=_0x4935cd([[_0x1ab2de,{'useClass':yt}],[Le],[Pe],[it],[rt],[at],[Si],[ot],[ve],[Ct],[gi,{'useClass':this['_config']['socketService']}],[_0x591680,{'useClass':Ot}],[_0x38a123,{'useClass':Tt}],[_0x478784,{'useClass':Rt}],[_0x449fda,{'useClass':bt}],[nt],[It]],(_0x5e681a=this['_config'])==null?void 0x0:_0x5e681a[_0x22923c(0x2e8)]);if(!((_0x32c14e=this[_0x22923c(0x184)])!=null&&_0x32c14e[_0x22923c(0x25f)])){const _0x26efcc=_0x2c43ec[_0x22923c(0x144)](([_0x14849e])=>_0x14849e===ht);_0x26efcc!==-0x1&&_0x2c43ec['splice'](_0x26efcc,0x1);}_0x218ff3(this[_0x22923c(0x127)],_0x2c43ec);}['_initDependencies'](){var _0x50a151=_0x8cc9a2,_0x3f2569,_0x16ba08,_0x219507;this['_injector'][_0x50a151(0x313)](_0x2b7687)[_0x50a151(0x2a9)]({'priority':0x14,'interceptor':_0x57bbb5({'maxParallel':0x6})}),(_0x3f2569=this[_0x50a151(0x184)])!=null&&_0x3f2569[_0x50a151(0x3ad)]||(_0x16ba08=this[_0x50a151(0x127)][_0x50a151(0x313)](J,_0x5df4bb[_0x50a151(0x301)]))==null||_0x16ba08[_0x50a151(0x1ac)](),(_0x219507=this['_config'])!=null&&_0x219507[_0x50a151(0x162)]&&_0xc06ae3(this['_injector'],[[rt]]),_0xc06ae3(this[_0x50a151(0x127)],[[at],[nt],[ot]]);}};fr(Nt,_0x8cc9a2(0x18c),vr),Nt=dr([_0x356294(_0x215b5a,_0x1310cc),mt(0x1,_0xd27129),mt(0x2,_0x2bc925(_0x5c0aec)),mt(0x3,_0x195c73)],Nt);export{bi as AUTHZ_URL_KEY,Tt as AuthzIoHttpService,_e as AwaitingState,ae as AwaitingWithPendingState,K as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,bs as COLLAB_SUBMIT_CHANGESET_URL_KEY,gs as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,st as CollaborationEntity,Rt as CollaborationImageIoService,gt as CollaborationSession,Le as CollaborationSessionService,Ft as CollaborationSocketService,Ti as CollaborationStatus,ne as CollaborationUIEventId,ve as CollaborationUIEventService,yt as CollaborativeUndoRedoService,Si as CommentService,le as ConflictState,Ss as DEFAULT_COLLAB_WEB_SOCKET_URL,wr as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Nr as DEFAULT_WS_SESSION_TICKET_URL,Ct as DataLoaderService,St as DocCollaborationEntity,Q as FetchingMissState,Es as HEARTBEAT_INTERVAL_KEY,fi as HEARTBEAT_TIMEOUT_KEY,gi as ICollaborationSocketService,J as ILocalCacheService,Us as INetworkConditionService,ht as ISingleActiveUnitService,Ur as LOCAL_CACHE_INTERVAL,Dr as LOCAL_CACHE_INTERVAL_KEY,ys as LOGIN_URL_KEY,Pe as MemberService,bt as MentionIoHttpService,ue as OfflineState,re as PendingState,Ar as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Cs as RETRY_CONNECTING_MAX_COUNT_KEY,yr as SEND_CHANGESET_TIMEOUT_KEY,fs as SNAPSHOT_SERVER_URL_KEY,ps as SNAPSHOT_URL_KEY,Se as SessionStatus,Et as SheetCollaborationEntity,it as SheetTransformSelectionsService,Ot as SnapshotServerOverHTTPService,ye as SyncedState,Ei as UnitStatus,Nt as UniverCollaborationClientPlugin,As as deserializeToCombResponse,Pr as getLocalCacheKey,ws as serializeCombRequest};
|