@univerjs-pro/collaboration-client 0.6.7-experimental.20250329-4e66087 → 0.6.7-experimental.20250329-cad06f3
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 +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x186532=_0x5308;(function(_0x35c8cd,_0x5dd9f2){var _0x1af98c=_0x5308,_0x27799e=_0x35c8cd();while(!![]){try{var _0x2f1700=parseInt(_0x1af98c(0x200))/0x1*(-parseInt(_0x1af98c(0x1e4))/0x2)+parseInt(_0x1af98c(0xf5))/0x3*(parseInt(_0x1af98c(0x256))/0x4)+parseInt(_0x1af98c(0x2a6))/0x5*(-parseInt(_0x1af98c(0x28f))/0x6)+-parseInt(_0x1af98c(0x295))/0x7*(-parseInt(_0x1af98c(0x1c8))/0x8)+parseInt(_0x1af98c(0x286))/0x9+parseInt(_0x1af98c(0x249))/0xa*(-parseInt(_0x1af98c(0x20a))/0xb)+parseInt(_0x1af98c(0x197))/0xc;if(_0x2f1700===_0x5dd9f2)break;else _0x27799e['push'](_0x27799e['shift']());}catch(_0x2b4778){_0x27799e['push'](_0x27799e['shift']());}}}(_0x25bd,0xa4c68));var Ai=Object['defineProperty'],Pi=(_0x1f8ad6,_0x13ca45,_0x44d274)=>_0x13ca45 in _0x1f8ad6?Ai(_0x1f8ad6,_0x13ca45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44d274}):_0x1f8ad6[_0x13ca45]=_0x44d274,N=(_0x2f7537,_0x4d8038,_0x1121a4)=>Pi(_0x2f7537,typeof _0x4d8038!=_0x186532(0x27a)?_0x4d8038+'':_0x4d8038,_0x1121a4);import{createIdentifier as _0x2cfcf7,Inject as _0x272a70,Injector as _0x293f16,IConfigService as _0xc7a031,ILogService as _0x223ea5,Disposable as _0x56cd2c,DisposableCollection as _0x2ac414,toDisposable as _0x2074ba,IUniverInstanceService as _0x23ebe5,UserManagerService as _0x3dea82,UniverInstanceType as _0x1b78a2,LocaleService as _0x358a43,Optional as _0x23c069,RxDisposable as _0x449df0,Tools as _0x280c3f,Rectangle as _0x3d1433,ICommandService as _0x598125,JSONX as _0x10b418,CommandType as _0x11f49d,IUndoRedoService as _0x467098,IPermissionService as _0x2d0fc1,sequenceExecute as _0x380cae,Workbook as _0xd88f5f,MentionType as _0x396583,isInternalEditorID as _0x55eef4,LocalUndoRedoService as _0x5d0b82,IContextService as _0x593bd7,DependentOn as _0x2fd200,Plugin as _0x5cdaa8,merge as _0x3b0738,mergeOverrideWithDependencies as _0x260e1b,IAuthzIoService as _0x33ed72,IMentionIOService as _0x5a9777,registerDependencies as _0x5282fa,Quantity as _0x394d61,touchDependencies as _0x543bb9}from'@univerjs/core';import{Subject as _0x4088b8,merge as _0x34a5b4,of as _0x15bcc9,BehaviorSubject as _0x2f97c3,takeUntil as _0x1f8b48,ReplaySubject as _0x1c696b,take as _0x139173,map as _0x46448d,shareReplay as _0x1f0bbe,firstValueFrom as _0x30ae5c,concatMap as _0x16bdac}from'rxjs';import{map as _0x500627,take as _0x3966f1,filter as _0x569d1b,delay as _0x2ad3e9,takeUntil as _0x23dccd}from'rxjs/operators';import{CollaborationEvent as _0x2cc9d6,ISnapshotServerService as _0x10215c,parseChangesetToProtocol as _0x2dc2fd,ITransformService as _0x2fd010,isTransformMutationsWithChangesetSuccess as _0x26a39b,mapDocumentTypeToUniverType as _0x1f7b75,RevisionService as _0x1bccff,isTransformChangesetsSuccess as _0x21d500,CompressMutationService as _0x6d09e4,parseProtocolChangeset as _0x24adf4,SnapshotService as _0x61d876,textEncoder as _0x62fe30,b64DecodeUnicode as _0x538551,isTransformMutationsWithChangesetFailure as _0x4548bf,UniverCollaborationPlugin as _0x53df17}from'@univerjs-pro/collaboration';import{HTTPService as _0x2129a6,ISocketService as _0x13de6b,MergeInterceptorFactory as _0x190efa,HTTPRequest as _0x514671,UniverNetworkPlugin as _0x1e2c29,ThresholdInterceptorFactory as _0x5265ec}from'@univerjs/network';import{ITelemetryService as _0x1e7dbd}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x5d2f9c}from'@univerjs/docs';import{SheetsSelectionsService as _0x3b8a08,SetSelectionsOperation as _0x1edc8e,InsertSheetMutation as _0x43586f,EmptyMutation as _0x5f3f76,WorkbookEditablePermission as _0x19ad0b,SheetPermissionInitController as _0x4d360a}from'@univerjs/sheets';import{ImageSourceType as _0x8a649d,ImageUploadStatusType as _0x2be44f,IImageIoService as _0x2224df}from'@univerjs/drawing';import{getGlobalObject as _0xe1743b}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x186532(0x347),Sn=_0x186532(0x188),xs=_0x186532(0x22e),En=0x7d0,In=_0x186532(0xc1),Tn=_0x186532(0xbd),Ls='/universer-api/user/session-ticket',Cn=_0x186532(0xb4),Rn=0x7530,mi='HEARTBEAT_TIMEOUT',gi=0x4e20,bn=0x4e20,yn=_0x186532(0x1ac),On=0x3,Ms=_0x186532(0x234),ks=0x3e8,Nn=_0x186532(0x18e),Dn=_0x186532(0x20e),Un=_0x186532(0x160),wn=_0x186532(0x120),$s=_0x186532(0x157),Hs=_0x186532(0x10a);var Si=(_0xae5481=>(_0xae5481[_0xae5481[_0x186532(0x3ab)]=0x0]=_0x186532(0x3ab),_0xae5481[_0xae5481['OK']=0x1]='OK',_0xae5481[_0xae5481[_0x186532(0x20c)]=0x2]='INTERNAL_ERROR',_0xae5481[_0xae5481[_0x186532(0xf3)]=0x3]='PERMISSION_DENIED',_0xae5481[_0xae5481[_0x186532(0x15d)]=0x4]=_0x186532(0x15d),_0xae5481[_0xae5481['UNAUTHENTICATED']=0x5]=_0x186532(0x393),_0xae5481[_0xae5481[_0x186532(0x2c9)]=0x6]=_0x186532(0x2c9),_0xae5481[_0xae5481[_0x186532(0xe6)]=0x7]=_0x186532(0xe6),_0xae5481[_0xae5481[_0x186532(0x255)]=0x8]=_0x186532(0x255),_0xae5481[_0xae5481[_0x186532(0x3a8)]=0x9]=_0x186532(0x3a8),_0xae5481[_0xae5481[_0x186532(0x1b7)]=0xa]=_0x186532(0x1b7),_0xae5481[_0xae5481[_0x186532(0x1ea)]=0x1389]=_0x186532(0x1ea),_0xae5481[_0xae5481[_0x186532(0x367)]=0x1771]=_0x186532(0x367),_0xae5481[_0xae5481[_0x186532(0x130)]=0x1772]=_0x186532(0x130),_0xae5481[_0xae5481[_0x186532(0x326)]=0x1773]=_0x186532(0x326),_0xae5481[_0xae5481[_0x186532(0x2a9)]=0x1b59]=_0x186532(0x2a9),_0xae5481[_0xae5481[_0x186532(0x1ef)]=0x1b5a]=_0x186532(0x1ef),_0xae5481[_0xae5481[_0x186532(0xf6)]=0x1b5b]=_0x186532(0xf6),_0xae5481[_0xae5481[_0x186532(0x133)]=0x1b5c]=_0x186532(0x133),_0xae5481[_0xae5481[_0x186532(0x185)]=0x1b5d]='APPLY_DUPLICATED',_0xae5481[_0xae5481[_0x186532(0x3b2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xae5481[_0xae5481[_0x186532(0x253)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xae5481[_0xae5481['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x186532(0x1cf),_0xae5481[_0xae5481['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x186532(0x22a),_0xae5481[_0xae5481[_0x186532(0x29a)]=0x232c]=_0x186532(0x29a),_0xae5481[_0xae5481[_0x186532(0x206)]=0x232d]=_0x186532(0x206),_0xae5481[_0xae5481['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x186532(0x31c),_0xae5481[_0xae5481[_0x186532(0xfb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xae5481[_0xae5481['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x186532(0x293),_0xae5481[_0xae5481[_0x186532(0x3aa)]=0x2714]=_0x186532(0x3aa),_0xae5481[_0xae5481[_0x186532(0x154)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xae5481[_0xae5481[_0x186532(0x397)]=0x2ee1]=_0x186532(0x397),_0xae5481[_0xae5481[_0x186532(0x211)]=0x2ee2]=_0x186532(0x211),_0xae5481[_0xae5481[_0x186532(0x39e)]=0x2ee3]=_0x186532(0x39e),_0xae5481[_0xae5481[_0x186532(0x353)]=0x2ee4]=_0x186532(0x353),_0xae5481[_0xae5481[_0x186532(0x2d4)]=0x2ee5]=_0x186532(0x2d4),_0xae5481[_0xae5481[_0x186532(0x2e1)]=-0x1]=_0x186532(0x2e1),_0xae5481))(Si||{}),Q=(_0xb0e86f=>(_0xb0e86f[_0xb0e86f[_0x186532(0x323)]=0x0]=_0x186532(0x323),_0xb0e86f[_0xb0e86f[_0x186532(0x2b8)]=0x1]=_0x186532(0x2b8),_0xb0e86f[_0xb0e86f[_0x186532(0x12b)]=0x2]=_0x186532(0x12b),_0xb0e86f[_0xb0e86f[_0x186532(0x146)]=0x3]=_0x186532(0x146),_0xb0e86f[_0xb0e86f[_0x186532(0x38f)]=0x4]='UNIVER_PROJECT',_0xb0e86f[_0xb0e86f[_0x186532(0x2e1)]=-0x1]=_0x186532(0x2e1),_0xb0e86f))(Q||{}),F=(_0x42cec7=>(_0x42cec7[_0x42cec7[_0x186532(0xb6)]=0x0]=_0x186532(0xb6),_0x42cec7[_0x42cec7['HELLO']=0x1]=_0x186532(0xda),_0x42cec7[_0x42cec7[_0x186532(0x1c7)]=0x2]=_0x186532(0x1c7),_0x42cec7[_0x42cec7['LEAVE']=0x3]=_0x186532(0x28d),_0x42cec7[_0x42cec7[_0x186532(0x1d8)]=0x4]=_0x186532(0x1d8),_0x42cec7[_0x42cec7[_0x186532(0x23b)]=0x5]=_0x186532(0x23b),_0x42cec7[_0x42cec7['RECV']=0x6]=_0x186532(0x37c),_0x42cec7[_0x42cec7[_0x186532(0x2e1)]=-0x1]=_0x186532(0x2e1),_0x42cec7))(F||{}),ge=(_0x5d94a9=>(_0x5d94a9[_0x5d94a9['UNKNOWN_CODE']=0x0]=_0x186532(0x18c),_0x5d94a9[_0x5d94a9['OK']=0x1]='OK',_0x5d94a9[_0x5d94a9[_0x186532(0x2ba)]=0x2]='FAIL',_0x5d94a9[_0x5d94a9[_0x186532(0xfe)]=0x3e9]=_0x186532(0xfe),_0x5d94a9[_0x5d94a9[_0x186532(0x33d)]=0x3ea]=_0x186532(0x33d),_0x5d94a9[_0x5d94a9[_0x186532(0x258)]=0x3eb]=_0x186532(0x258),_0x5d94a9[_0x5d94a9[_0x186532(0x225)]=0x3ec]=_0x186532(0x225),_0x5d94a9[_0x5d94a9[_0x186532(0x2e1)]=-0x1]='UNRECOGNIZED',_0x5d94a9))(ge||{}),Ei=(_0xc8f2=>(_0xc8f2[_0xc8f2[_0x186532(0x31e)]=0x0]=_0x186532(0x31e),_0xc8f2[_0xc8f2[_0x186532(0x201)]=0x1]=_0x186532(0x201),_0xc8f2[_0xc8f2[_0x186532(0x21d)]=0x2]=_0x186532(0x21d),_0xc8f2[_0xc8f2['UnitEmbedded']=0x3]=_0x186532(0x262),_0xc8f2[_0xc8f2[_0x186532(0x33f)]=0x4]=_0x186532(0x33f),_0xc8f2[_0xc8f2[_0x186532(0x2e1)]=-0x1]=_0x186532(0x2e1),_0xc8f2))(Ei||{});const q=_0x186532(0xb8),An={};var se=(_0x10a3b0=>(_0x10a3b0[_0x186532(0x1a8)]=_0x186532(0x1a8),_0x10a3b0['PERMISSION_DENIED']=_0x186532(0xf3),_0x10a3b0[_0x186532(0xf0)]=_0x186532(0xf0),_0x10a3b0[_0x186532(0xd2)]=_0x186532(0xd2),_0x10a3b0[_0x186532(0x29b)]=_0x186532(0x29b),_0x10a3b0[_0x186532(0x1cd)]=_0x186532(0x1cd),_0x10a3b0['SOCKET_FAILED']=_0x186532(0x394),_0x10a3b0['SUBMIT_CHANGESET_TIMEOUT']=_0x186532(0x2c5),_0x10a3b0))(se||{});class pe{constructor(){var _0x15a27b=_0x186532;N(this,_0x15a27b(0x13b),new _0x4088b8()),N(this,_0x15a27b(0xe9),this['_event$'][_0x15a27b(0x32d)]());}[_0x186532(0x126)](_0x4c4019){var _0x61a2b=_0x186532;this[_0x61a2b(0x13b)]['next'](_0x4c4019);}}const Pn=_0x2cfcf7('univer-pro.collaboration-client.network-condition.service');function xn(_0x3a4a66){var _0x24b818=_0x186532,_0x530a8d,_0x3aaf02,_0x896460,_0x5eab43,_0x542144;const _0xbeca86=_0x3a4a66[_0x24b818(0x28e)],_0x1a1bf5=JSON[_0x24b818(0x178)](_0xbeca86);switch(_0x1a1bf5['cmd']){case F[_0x24b818(0x23b)]:case F[_0x24b818(0xda)]:{const _0xf19588=_0x1a1bf5[_0x24b818(0x2b5)];return{..._0x1a1bf5,'data':_0xf19588,'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};}case F['JOIN']:{const _0x59cd73=_0x1a1bf5['joinRsp'];return{..._0x1a1bf5,'data':_0x59cd73,'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};}case F['RECV']:{const _0x10a685=_0x1a1bf5[_0x24b818(0xd3)];switch(_0x10a685[_0x24b818(0x10b)]){case _0x2cc9d6['PERMISSION_REJ']:return{..._0x1a1bf5,'data':{..._0x10a685,'data':(_0x530a8d=_0x10a685[_0x24b818(0x127)])==null?void 0x0:_0x530a8d['cs']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x24c)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':(_0x3aaf02=_0x10a685[_0x24b818(0x1d5)])==null?void 0x0:_0x3aaf02['cs']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x365)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':(_0x896460=_0x10a685[_0x24b818(0x25a)])==null?void 0x0:_0x896460['cs']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x1da)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':(_0x5eab43=_0x10a685[_0x24b818(0x36b)])==null?void 0x0:_0x5eab43['cs']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6['CHANGESET_SHOULD_RETRY']:return{..._0x1a1bf5,'data':{..._0x10a685,'data':(_0x542144=_0x10a685[_0x24b818(0x35a)])==null?void 0x0:_0x542144['cs']},'cmd':_0x1a1bf5['cmd']};case _0x2cc9d6[_0x24b818(0x342)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685['updateCursorEvent']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x14b)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x2dc)]},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x1a3)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x259)]},'cmd':_0x1a1bf5['cmd']};case _0x2cc9d6[_0x24b818(0x2d5)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x30f)]},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x218)]:case _0x2cc9d6['LIVESHARE_OPERATION']:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685['liveShareOperation']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x23a)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685['liveShareNewHost']},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6['MSG_FOR_ERROR']:return{..._0x1a1bf5,'data':_0x10a685,'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x190)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x106)]},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x317)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x2e4)]},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x135)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x1d0)]},'cmd':_0x1a1bf5[_0x24b818(0x1a6)]};case _0x2cc9d6[_0x24b818(0x2f5)]:return{..._0x1a1bf5,'data':{..._0x10a685,'data':_0x10a685[_0x24b818(0x1ce)]},'cmd':_0x1a1bf5['cmd']};default:return _0x1a1bf5;}}default:return _0x1a1bf5;}}function Ln(_0x1a586d){var _0x20c618=_0x186532;switch(_0x1a586d[_0x20c618(0x1a6)]){case F[_0x20c618(0x23b)]:case F[_0x20c618(0xda)]:return JSON[_0x20c618(0x329)]({'cmd':_0x1a586d[_0x20c618(0x1a6)],'routeKey':_0x1a586d['routeKey']});case F['INGEST']:{let _0x58387c;switch(_0x1a586d[_0x20c618(0x28e)]['eventID']){case _0x2cc9d6[_0x20c618(0x342)]:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x342)],'updateCursorEvent':_0x1a586d[_0x20c618(0x28e)]['data']};break;}case _0x2cc9d6[_0x20c618(0x1a3)]:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x1a3)],'leaveEvent':_0x1a586d[_0x20c618(0x28e)]['data']};break;}case _0x2cc9d6[_0x20c618(0x14b)]:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x14b)],'joinEvent':_0x1a586d[_0x20c618(0x28e)][_0x20c618(0x28e)]};break;}case _0x2cc9d6[_0x20c618(0x2d5)]:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x2d5)],'liveShareNewHost':_0x1a586d[_0x20c618(0x28e)]['data']};break;}case _0x2cc9d6[_0x20c618(0xca)]:{_0x58387c={'eventID':_0x2cc9d6['LIVESHARE_OPERATION'],'liveShareOperation':_0x1a586d[_0x20c618(0x28e)]['data']};break;}case _0x2cc9d6['LIVESHARE_TERMINATE']:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x23a)],'liveShareTerminate':_0x1a586d[_0x20c618(0x28e)][_0x20c618(0x28e)]};break;}case _0x2cc9d6[_0x20c618(0x2d3)]:{_0x58387c={'eventID':_0x2cc9d6['LIVESHARE_REQUEST_HOST'],'liveShareRequestHost':_0x1a586d[_0x20c618(0x28e)]['data']};break;}case _0x2cc9d6['LIVESHARE_FETCH_OPERATIONS']:{_0x58387c={'eventID':_0x2cc9d6[_0x20c618(0x218)]};break;}default:_0x58387c={'eventID':_0x1a586d[_0x20c618(0x28e)][_0x20c618(0x10b)]};}return JSON[_0x20c618(0x329)]({'cmd':_0x1a586d[_0x20c618(0x1a6)],'routeKey':_0x1a586d['routeKey'],'collaMsg':_0x58387c});}case F[_0x20c618(0x1c7)]:return JSON[_0x20c618(0x329)]({'cmd':_0x1a586d[_0x20c618(0x1a6)],'routeKey':_0x1a586d[_0x20c618(0x1e9)],'joinReq':_0x1a586d[_0x20c618(0x28e)]});case F['LEAVE']:return JSON[_0x20c618(0x329)]({'cmd':_0x1a586d[_0x20c618(0x1a6)],'routeKey':_0x1a586d[_0x20c618(0x1e9)],'leaveReq':_0x1a586d[_0x20c618(0x28e)]});default:throw new Error('[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!');}}var Mn=Object[_0x186532(0x101)],kn=(_0x5ba589,_0x5112a8,_0x4b5bf7,_0x27ebed)=>{for(var _0x49bec2=_0x27ebed>0x1?void 0x0:_0x27ebed?Mn(_0x5112a8,_0x4b5bf7):_0x5112a8,_0x26965e=_0x5ba589['length']-0x1,_0x1538a8;_0x26965e>=0x0;_0x26965e--)(_0x1538a8=_0x5ba589[_0x26965e])&&(_0x49bec2=_0x1538a8(_0x49bec2)||_0x49bec2);return _0x49bec2;},we=(_0x1d78fa,_0x50a9a5)=>(_0x60d8e,_0x367b60)=>_0x50a9a5(_0x60d8e,_0x367b60,_0x1d78fa);const Ii=_0x2cfcf7('univer-pro.collaboration-client-socket-service');function $n(_0x8c1b4f,_0x302814,_0x2b001f){var _0x5acb19=_0x186532;return _0x8c1b4f+'/'+_0x302814+'/unit/'+_0x2b001f+_0x5acb19(0x1c6);}let Gt=class extends _0x56cd2c{constructor(_0x4c8f8b,_0x452852,_0x2847f6,_0x2c6a5e,_0x4d15d8){var _0x4757e0=_0x186532;super(),this['_injector']=_0x4c8f8b,this['_httpService']=_0x452852,this['_configService']=_0x2847f6,this[_0x4757e0(0x380)]=_0x2c6a5e,this[_0x4757e0(0x1f3)]=_0x4d15d8;}[_0x186532(0x17f)](_0x3f9339){var _0x5ebe1d=_0x186532;const _0x54aabb=this[_0x5ebe1d(0x21f)]['get'](_0x13de6b);if(!_0x54aabb)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x9ca674=_0x54aabb[_0x5ebe1d(0xd8)](_0x3f9339);if(!_0x9ca674)throw new Error(_0x5ebe1d(0x18b));const _0x5794c9=new _0x2ac414(),_0x5c4a3d=new _0x4088b8();_0x5794c9[_0x5ebe1d(0x33a)](_0x9ca674[_0x5ebe1d(0x1b8)][_0x5ebe1d(0xee)](_0xcb8989=>_0x5c4a3d['next'](_0xcb8989))),_0x5794c9[_0x5ebe1d(0x33a)](_0x2074ba(()=>_0x5c4a3d[_0x5ebe1d(0x13e)]()));const _0x445377=new _0x4088b8();_0x5794c9[_0x5ebe1d(0x33a)](_0x9ca674['error$'][_0x5ebe1d(0xee)](_0xe33412=>_0x445377[_0x5ebe1d(0x1d4)](_0xe33412))),_0x5794c9[_0x5ebe1d(0x33a)](_0x2074ba(()=>_0x445377[_0x5ebe1d(0x13e)]()));const _0x243d13=new _0x4088b8();_0x5794c9[_0x5ebe1d(0x33a)](_0x9ca674['message$']['subscribe'](_0x379bbb=>{var _0x3c36e6=_0x5ebe1d;const _0x5d0113=xn(_0x379bbb);_0x243d13[_0x3c36e6(0x1d4)](_0x5d0113);})),_0x5794c9['add'](_0x2074ba(()=>_0x243d13[_0x5ebe1d(0x13e)]()));let _0x159382;const _0x460753=()=>{var _0x2d1821=_0x5ebe1d;_0x445377[_0x2d1821(0x1d4)](new Event(_0x2d1821(0x1ff))),_0x5c4a3d[_0x2d1821(0x1d4)](new Event(_0x2d1821(0x1ff))),_0x159382[_0x2d1821(0x252)]();};return _0x159382={'memberID':'','close$':_0x5c4a3d[_0x5ebe1d(0x32d)](),'error$':_0x445377['asObservable'](),'open$':_0x9ca674[_0x5ebe1d(0x265)],'message$':_0x243d13[_0x5ebe1d(0x32d)](),'send':_0x20e285=>{var _0x379c61=_0x5ebe1d;if(_0x20e285[_0x379c61(0x1a6)]===F['INGEST']){if(_0x20e285[_0x379c61(0x28e)]['eventID']===_0x2cc9d6[_0x379c61(0x1d3)]){this[_0x379c61(0x173)](_0x159382,_0x20e285['data'])['catch'](_0x1174e6=>{var _0x1ac7cc=_0x379c61;this['_logService'][_0x1ac7cc(0xb3)](_0x1174e6),_0x460753();});return;}if(_0x20e285[_0x379c61(0x28e)][_0x379c61(0x10b)]===_0x2cc9d6[_0x379c61(0x375)]){const _0x4e26ee=_0x20e285['data'];this[_0x379c61(0x100)](_0x4e26ee)[_0x379c61(0x35d)](_0xc6ef00=>{var _0x448926=_0x379c61;_0x243d13[_0x448926(0x1d4)]({'cmd':F[_0x448926(0x37c)],'code':ge['OK'],'routeKey':_0x4e26ee[_0x448926(0x28e)][_0x448926(0x377)],'routeType':'','data':{'eventID':_0x2cc9d6[_0x448926(0x148)],'data':{'changesets':_0xc6ef00}}});})[_0x379c61(0x14f)](_0x3470d1=>{var _0x1c59d7=_0x379c61;this[_0x1c59d7(0x380)]['error'](_0x3470d1),_0x460753();});return;}}_0x9ca674[_0x379c61(0x19a)](Ln(_0x20e285));},'close':()=>{var _0x5a7a51=_0x5ebe1d;_0x9ca674[_0x5a7a51(0x252)](),_0x5794c9[_0x5a7a51(0xcc)]();}},_0x159382;}async['_submitChangeset'](_0xab64b5,_0x5a10d3){var _0x3c99a0=_0x186532,_0x1a60ca,_0x546b6c;const {unitType:_0x58edeb,unitID:_0x50b7b0,changeset:_0xf94158}=_0x5a10d3[_0x3c99a0(0x28e)],_0x5c49ad={'unitID':_0x50b7b0,'memberID':_0xab64b5[_0x3c99a0(0x1ed)],'type':_0x58edeb,'changeset':_0x2dc2fd(_0xf94158)},_0x25c9bd=this[_0x3c99a0(0xdf)]['getConfig'](Nn),_0x2b2960=this[_0x3c99a0(0xdf)][_0x3c99a0(0x3a7)](q),_0x1200c6=$n((_0x546b6c=(_0x1a60ca=_0x2b2960==null?void 0x0:_0x2b2960[_0x3c99a0(0x1f4)])!=null?_0x1a60ca:_0x25c9bd)!=null?_0x546b6c:Dn,_0x58edeb,_0x50b7b0);try{await this[_0x3c99a0(0x26f)][_0x3c99a0(0x1ab)](_0x1200c6,{'body':_0x5c49ad});}catch(_0x354b9a){throw this[_0x3c99a0(0x380)]['error']('[CollaborationSession]',_0x3c99a0(0x1be)),_0x354b9a;}}async[_0x186532(0x100)](_0x3c8451){var _0x96d040=_0x186532;const {unitID:_0x312b02,from:_0x212f33,to:_0x48e2ca,unitType:_0x3c11cf}=_0x3c8451[_0x96d040(0x28e)];return(await this[_0x96d040(0x1f3)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x312b02,'type':_0x3c11cf,'from':_0x212f33,'to':_0x48e2ca}))[_0x96d040(0x17d)];}};Gt=kn([we(0x0,_0x272a70(_0x293f16)),we(0x1,_0x272a70(_0x2129a6)),we(0x2,_0xc7a031),we(0x3,_0x223ea5),we(0x4,_0x10215c)],Gt);const Hn=_0x186532(0x1a2);function Bn(_0x4cd510){var _0x47120d=_0x186532;return JSON[_0x47120d(0x329)](_0x4cd510)[_0x47120d(0x2a2)];}class Ti{constructor(){var _0x2aa962=_0x186532;N(this,_0x2aa962(0x11f),new _0x4088b8()),N(this,'commentUpdate$',this[_0x2aa962(0x11f)][_0x2aa962(0x32d)]());}[_0x186532(0x2d2)](_0x2fa504){var _0x514e21=_0x186532;this['_commentUpdate$'][_0x514e21(0x1d4)](_0x2fa504);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x510ee3,_0x2bb73a,_0x26bb86,_0x29f15b)=>{var _0x1a2b20=_0x186532;for(var _0x4606f7=_0x29f15b>0x1?void 0x0:_0x29f15b?jn(_0x2bb73a,_0x26bb86):_0x2bb73a,_0x3ea674=_0x510ee3[_0x1a2b20(0x2a2)]-0x1,_0x3de1ef;_0x3ea674>=0x0;_0x3ea674--)(_0x3de1ef=_0x510ee3[_0x3ea674])&&(_0x4606f7=_0x3de1ef(_0x4606f7)||_0x4606f7);return _0x4606f7;},Wt=(_0x569409,_0x4f11ed)=>(_0x4bd798,_0x9aa7e6)=>_0x4f11ed(_0x4bd798,_0x9aa7e6,_0x569409);let xe=class extends _0x56cd2c{constructor(_0x145178,_0x5e4d2d){var _0x25d158=_0x186532;super(),N(this,_0x25d158(0x142),new Map()),N(this,_0x25d158(0x273),new _0x4088b8()),(this[_0x25d158(0x125)]=_0x145178,this[_0x25d158(0x147)]=_0x5e4d2d,this[_0x25d158(0x322)](_0x34a5b4(this[_0x25d158(0x125)][_0x25d158(0x236)](_0x1b78a2['UNIVER_SHEET'])[_0x25d158(0x118)](_0x500627(_0x35afb2=>_0x35afb2[_0x25d158(0x1f5)]())),this[_0x25d158(0x125)][_0x25d158(0x236)](_0x1b78a2[_0x25d158(0x2b8)])[_0x25d158(0x118)](_0x500627(_0x2ed333=>_0x2ed333[_0x25d158(0x1f5)]())),this[_0x25d158(0x125)]['getTypeOfUnitDisposed$'](_0x1b78a2[_0x25d158(0x146)])[_0x25d158(0x118)](_0x500627(_0x81dbc6=>_0x81dbc6[_0x25d158(0x1f5)]())))[_0x25d158(0xee)](_0x4459cb=>this[_0x25d158(0x2c3)](_0x4459cb))));}[_0x186532(0x25b)](_0x367564){var _0x1a6b67=_0x186532;return this[_0x1a6b67(0x142)][_0x1a6b67(0x167)](_0x367564)?_0x15bcc9(this[_0x1a6b67(0x142)][_0x1a6b67(0x357)](_0x367564)):this[_0x1a6b67(0x273)]['pipe'](_0x500627(_0x2fa66b=>{var _0x44b160=_0x1a6b67;if(_0x2fa66b===_0x367564)return this[_0x44b160(0x142)][_0x44b160(0x357)](_0x2fa66b);}));}[_0x186532(0x193)](_0x1d1372){var _0x3f837e=_0x186532;this[_0x3f837e(0x147)][_0x3f837e(0x193)](_0x1d1372);}[_0x186532(0x184)](){var _0x15a18b=_0x186532;return this[_0x15a18b(0x147)][_0x15a18b(0x184)]();}[_0x186532(0x1bc)](_0x56f94b,_0x9df308){var _0x3e7cf3=_0x186532;let _0x5495fb=this[_0x3e7cf3(0x142)][_0x3e7cf3(0x357)](_0x56f94b);_0x5495fb||(_0x5495fb=new Vn(),this[_0x3e7cf3(0x142)][_0x3e7cf3(0x128)](_0x56f94b,_0x5495fb),this['_roomCreated$']['next'](_0x56f94b)),_0x5495fb[_0x3e7cf3(0x1bc)](_0x9df308);}[_0x186532(0x16f)](_0x161453,_0x396402){var _0x2e8c59=_0x186532;const _0x32a2e2=this[_0x2e8c59(0x142)]['get'](_0x161453);_0x32a2e2&&_0x32a2e2[_0x2e8c59(0x16f)](_0x396402);}['getRoom'](_0x4a0524){var _0xf4029f=_0x186532;return this[_0xf4029f(0x142)][_0xf4029f(0x357)](_0x4a0524);}[_0x186532(0x340)](_0x109e23,_0x164274){var _0x1ff2d7=_0x186532;const _0x502c53=this[_0x1ff2d7(0x142)]['get'](_0x109e23);if(_0x502c53)return _0x502c53['getMember'](_0x164274);}[_0x186532(0x2c3)](_0x2fd49f){var _0x4dd511=_0x186532;const _0x25a179=this[_0x4dd511(0x142)]['get'](_0x2fd49f);_0x25a179&&(_0x25a179[_0x4dd511(0xcc)](),this['_roomMembers'][_0x4dd511(0x2da)](_0x2fd49f));}[_0x186532(0xcc)](){var _0x1027a8=_0x186532;this['_roomMembers'][_0x1027a8(0x299)](_0x3ce398=>_0x3ce398['dispose']()),this[_0x1027a8(0x142)]['clear'](),this[_0x1027a8(0x273)][_0x1027a8(0x13e)]();}};xe=Fn([Wt(0x0,_0x23ebe5),Wt(0x1,_0x272a70(_0x3dea82))],xe);class Vn extends _0x56cd2c{constructor(){var _0x25f1c8=_0x186532;super(...arguments),N(this,_0x25f1c8(0x272),new Map()),N(this,_0x25f1c8(0x1a7),new _0x2f97c3(this['_members'])),N(this,_0x25f1c8(0x369),this[_0x25f1c8(0x1a7)][_0x25f1c8(0x32d)]());}[_0x186532(0xcc)](){var _0x4d53c1=_0x186532;this[_0x4d53c1(0x272)][_0x4d53c1(0x250)]();}[_0x186532(0x1bc)](_0xece503){var _0x23ba94=_0x186532;this[_0x23ba94(0x272)][_0x23ba94(0x128)](_0xece503[_0x23ba94(0x1ed)],_0xece503),this[_0x23ba94(0x260)]();}['removeMember'](_0x284983){var _0x54f051=_0x186532;this[_0x54f051(0x272)][_0x54f051(0x2da)](_0x284983);}[_0x186532(0x340)](_0x46985a){var _0x4a32d3=_0x186532;return this['_members'][_0x4a32d3(0x357)](_0x46985a);}[_0x186532(0x328)](){var _0x17ee84=_0x186532;return Array[_0x17ee84(0x2f4)](this[_0x17ee84(0x272)][_0x17ee84(0x1fb)]());}[_0x186532(0x260)](){var _0x2898bd=_0x186532;this[_0x2898bd(0x1a7)][_0x2898bd(0x1d4)](this[_0x2898bd(0x272)]);}}var Gn=Object[_0x186532(0x101)],Wn=(_0x16426c,_0x294dcb,_0x39ca8c,_0x5b6a72)=>{var _0x1faa0c=_0x186532;for(var _0x52032b=_0x5b6a72>0x1?void 0x0:_0x5b6a72?Gn(_0x294dcb,_0x39ca8c):_0x294dcb,_0xae7ed0=_0x16426c[_0x1faa0c(0x2a2)]-0x1,_0x1d95b0;_0xae7ed0>=0x0;_0xae7ed0--)(_0x1d95b0=_0x16426c[_0xae7ed0])&&(_0x52032b=_0x1d95b0(_0x52032b)||_0x52032b);return _0x52032b;},me=(_0x10dfda,_0x4a5abc)=>(_0x178882,_0x22d2f1)=>_0x4a5abc(_0x178882,_0x22d2f1,_0x10dfda),Ee=(_0x3e5b18=>(_0x3e5b18[_0x3e5b18[_0x186532(0xb9)]=0x0]='IDLE',_0x3e5b18[_0x3e5b18['JOINING']=0x1]=_0x186532(0x331),_0x3e5b18[_0x3e5b18[_0x186532(0x2ca)]=0x2]=_0x186532(0x2ca),_0x3e5b18[_0x3e5b18[_0x186532(0x38d)]=0x3]=_0x186532(0x38d),_0x3e5b18))(Ee||{});const Kt={[ge[_0x186532(0x2ba)]]:_0x186532(0x311),[ge[_0x186532(0xfe)]]:'session.room-full',[ge[_0x186532(0x33d)]]:'session.room-not-exists',[ge[_0x186532(0x258)]]:_0x186532(0x284),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};let Et=class extends _0x449df0{constructor(_0x66a59b,_0x11ab71,_0x357493,_0x1e66fd,_0x59a354,_0x1bf01a,_0x45ab15,_0x524cd6,_0x364288){var _0x13b58e=_0x186532;super(),N(this,'_sessionStatus$',new _0x2f97c3(0x0)),N(this,'sessionStatus$',this[_0x13b58e(0x387)][_0x13b58e(0x32d)]()),N(this,_0x13b58e(0x13b),new _0x4088b8()),N(this,'event$',this[_0x13b58e(0x13b)][_0x13b58e(0x32d)]()),N(this,'_socket'),N(this,_0x13b58e(0x2b6)),N(this,'_collaborationTimeoutTimer'),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x13b58e(0x20d),null),(this[_0x13b58e(0x268)]=_0x66a59b,this['_logService']=_0x357493,this['_configService']=_0x1e66fd,this[_0x13b58e(0x36c)]=_0x59a354,this[_0x13b58e(0xec)]=_0x1bf01a,this[_0x13b58e(0x212)]=_0x45ab15,this[_0x13b58e(0x2fc)]=_0x524cd6,this['_telemetryService']=_0x364288,this[_0x13b58e(0x1c9)]=!!this[_0x13b58e(0x2e7)],_0x11ab71[_0x13b58e(0x118)](_0x1f8b48(this['dispose$']))[_0x13b58e(0xee)](_0x54effe=>{var _0x6a8692=_0x13b58e,_0x299fa5;typeof _0x54effe>'u'||(this[_0x6a8692(0x20b)]=_0x54effe,_0x54effe?(this[_0x6a8692(0x179)](_0x54effe),this['_socketMessageSubscription']=_0x54effe[_0x6a8692(0x354)]['subscribe'](_0x1030f8=>{var _0x2538b3=_0x6a8692;_0x1030f8[_0x2538b3(0x1e9)]===this[_0x2538b3(0x268)]&&this[_0x2538b3(0x1ba)](_0x1030f8);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x6a8692(0x387)][_0x6a8692(0x1d4)](0x2),(_0x299fa5=this['_socketMessageSubscription'])==null||_0x299fa5[_0x6a8692(0x378)](),this[_0x6a8692(0x2b6)]=null));}));}get['sessionStatus'](){var _0x549b68=_0x186532;return this[_0x549b68(0x387)][_0x549b68(0x10d)]();}['getMemberID'](){var _0x3260a3=_0x186532,_0x5ecfb5,_0x7a987a;return(_0x7a987a=(_0x5ecfb5=this['_socket'])==null?void 0x0:_0x5ecfb5[_0x3260a3(0x1ed)])!=null?_0x7a987a:null;}[_0x186532(0xcc)](){var _0x43b781=_0x186532;super[_0x43b781(0xcc)](),this[_0x43b781(0x140)]['next'](),this[_0x43b781(0x140)][_0x43b781(0x13e)]();}[_0x186532(0x252)](){var _0x20f8d5=_0x186532,_0x4f35ff,_0x18d7bf;this['_throwTelemetryCollaborationNewChangeset'](),(_0x4f35ff=this[_0x20f8d5(0x20b)])==null||_0x4f35ff[_0x20f8d5(0x19a)]({'cmd':F[_0x20f8d5(0x28d)],'data':{'roomID':this[_0x20f8d5(0x268)]}}),(_0x18d7bf=this['_socket'])==null||_0x18d7bf[_0x20f8d5(0x252)](),this[_0x20f8d5(0x13b)][_0x20f8d5(0x13e)](),this[_0x20f8d5(0x387)][_0x20f8d5(0x13e)](),this['dispose']();}[_0x186532(0x1ba)](_0x47f103){var _0x2daecc=_0x186532;_0x47f103[_0x2daecc(0x1a6)]===F[_0x2daecc(0x1c7)]?this[_0x2daecc(0x1d2)](_0x47f103):_0x47f103[_0x2daecc(0x1a6)]===F['RECV']&&this['_onRecvEvent'](_0x47f103);}[_0x186532(0x179)](_0x48ce66){var _0x46075b=_0x186532;this[_0x46075b(0x387)][_0x46075b(0x1d4)](0x1),_0x48ce66[_0x46075b(0x19a)]({'cmd':F[_0x46075b(0x1c7)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x46075b(0x268)]}]}});}[_0x186532(0x1d2)](_0x40601a){var _0x17f1bc=_0x186532,_0x2ae228;if(_0x40601a[_0x17f1bc(0x195)]in Kt){this['_collaborationUIEventService'][_0x17f1bc(0x126)]({'id':se[_0x17f1bc(0x29b)],'data':Kt[_0x40601a[_0x17f1bc(0x195)]]}),this[_0x17f1bc(0x387)][_0x17f1bc(0x1d4)](0x2);return;}this[_0x17f1bc(0x387)][_0x17f1bc(0x1d4)](0x3);const _0x3afc28=(_0x2ae228=_0x40601a[_0x17f1bc(0x28e)][_0x17f1bc(0x2e2)][this['_unitID']])==null?void 0x0:_0x2ae228['members'];_0x3afc28&&_0x3afc28[_0x17f1bc(0x299)](_0x148a5a=>this[_0x17f1bc(0xec)][_0x17f1bc(0x1bc)](this['_unitID'],_0x148a5a));}['_onRecvEvent'](_0x140dee){var _0x4304dc=_0x186532;try{const _0x1e415b=_0x140dee[_0x4304dc(0x28e)];switch(_0x1e415b['eventID']){case _0x2cc9d6[_0x4304dc(0x14b)]:this['_onUserJoin'](_0x1e415b),this[_0x4304dc(0x13b)][_0x4304dc(0x1d4)](_0x1e415b);break;case _0x2cc9d6[_0x4304dc(0x1a3)]:this['_onUserLeave'](_0x1e415b),this[_0x4304dc(0x13b)]['next'](_0x1e415b);break;case _0x2cc9d6['CHANGESET_ACK']:case _0x2cc9d6[_0x4304dc(0x300)]:this[_0x4304dc(0x2fe)](),this[_0x4304dc(0x2c1)](),this[_0x4304dc(0x13b)][_0x4304dc(0x1d4)](_0x1e415b);break;case _0x2cc9d6[_0x4304dc(0x291)]:this[_0x4304dc(0x380)][_0x4304dc(0xb3)]('save\x20fail\x20reason\x20is\x20'+JSON[_0x4304dc(0x329)](_0x1e415b)),this['_event$'][_0x4304dc(0x1d4)](_0x1e415b);break;case _0x2cc9d6[_0x4304dc(0x190)]:this[_0x4304dc(0x212)][_0x4304dc(0x2d2)](_0x1e415b[_0x4304dc(0x28e)]),this[_0x4304dc(0x13b)][_0x4304dc(0x1d4)](_0x1e415b);break;default:this[_0x4304dc(0x13b)][_0x4304dc(0x1d4)](_0x1e415b);}}catch(_0x53453d){this[_0x4304dc(0x380)][_0x4304dc(0xb3)](_0x53453d,_0x140dee);}}[_0x186532(0x2f7)](_0x16e415){var _0x5b734e=_0x186532;this[_0x5b734e(0xec)]['updateMember'](this[_0x5b734e(0x268)],_0x16e415[_0x5b734e(0x28e)]);}[_0x186532(0x2a0)](_0x1fff1f){var _0x26fb74=_0x186532;this[_0x26fb74(0xec)][_0x26fb74(0x16f)](this[_0x26fb74(0x268)],_0x1fff1f[_0x26fb74(0x28e)][_0x26fb74(0x1ed)]);}async['send'](_0x2312a7,_0x107706){var _0x260acf=_0x186532;if(this[_0x260acf(0x1f2)]!==0x3||!this['_socket'])throw new Error(_0x260acf(0x110));try{_0x2312a7['eventID']===_0x2cc9d6[_0x260acf(0x1d3)]&&(this[_0x260acf(0x3b0)](),this[_0x260acf(0x303)](_0x2312a7)),this['_socket'][_0x260acf(0x19a)]({'cmd':F[_0x260acf(0x1d8)],'routeKey':_0x107706,'routeType':'','data':_0x2312a7});}catch(_0x49f33c){this[_0x260acf(0x380)][_0x260acf(0xb3)](_0x49f33c);}}[_0x186532(0x3b0)](){var _0x3dfdc3=_0x186532,_0x5ed9bc;this[_0x3dfdc3(0x103)]=setTimeout(()=>{var _0xc329f=_0x3dfdc3;this['_collaborationTimeoutTimer']=null,this[_0xc329f(0x2fc)][_0xc329f(0x126)]({'id':se[_0xc329f(0x2c5)]});},(_0x5ed9bc=this[_0x3dfdc3(0xdf)]['getConfig'](mi))!=null?_0x5ed9bc:gi);}[_0x186532(0x2c1)](){var _0x14bd04=_0x186532;this[_0x14bd04(0x103)]&&(clearTimeout(this[_0x14bd04(0x103)]),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0x2f8ac5){var _0x3bf936=_0x186532;if(!this[_0x3bf936(0x1c9)])return;const {data:_0x227eed}=_0x2f8ac5,{unitID:_0x2a265d,changeset:_0x1d056b}=_0x227eed,{mutations:_0x549b22,type:_0xe29792}=_0x1d056b;this[_0x3bf936(0x20d)]={'unitId':_0x2a265d,'type':_0xe29792,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x549b22)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x4df0d4=_0x186532;if(this['_shouldReportTelemetry']){if(!this[_0x4df0d4(0x20d)]){this[_0x4df0d4(0x380)][_0x4df0d4(0xb3)](_0x4df0d4(0x11e),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x4df0d4(0xd4)]=performance[_0x4df0d4(0x304)](),this[_0x4df0d4(0x20d)]['duration']=this['_telemetryInfo'][_0x4df0d4(0xd4)]-this[_0x4df0d4(0x20d)][_0x4df0d4(0x296)],this[_0x4df0d4(0x2e7)][_0x4df0d4(0x337)](Hn,this[_0x4df0d4(0x20d)]),this[_0x4df0d4(0x20d)]=null;}}[_0x186532(0xc9)](){this['_telemetryInfo']=null;}};Et=Wn([me(0x2,_0x223ea5),me(0x3,_0xc7a031),me(0x4,_0x272a70(_0x358a43)),me(0x5,_0x272a70(xe)),me(0x6,_0x272a70(Ti)),me(0x7,_0x272a70(pe)),me(0x8,_0x23c069(_0x1e7dbd))],Et);var Kn=Object[_0x186532(0x101)],Yn=(_0x47526c,_0x500379,_0x2f1786,_0xee302f)=>{for(var _0x261928=_0xee302f>0x1?void 0x0:_0xee302f?Kn(_0x500379,_0x2f1786):_0x500379,_0x5bd172=_0x47526c['length']-0x1,_0x5c1f5b;_0x5bd172>=0x0;_0x5bd172--)(_0x5c1f5b=_0x47526c[_0x5bd172])&&(_0x261928=_0x5c1f5b(_0x261928)||_0x261928);return _0x261928;},be=(_0x1d6072,_0x18c864)=>(_0x3e3552,_0x5dc944)=>_0x18c864(_0x3e3552,_0x5dc944,_0x1d6072);let Le=class extends _0x56cd2c{constructor(_0x497168,_0x38ef19,_0x279b67,_0x1dc011,_0xc9bdf5,_0x470f39){var _0x167768=_0x186532;super(),N(this,'_socket$',new _0x2f97c3(void 0x0)),N(this,'socket$',this[_0x167768(0x1ae)][_0x167768(0x32d)]()),N(this,_0x167768(0x3a5),null),N(this,_0x167768(0xc7),new Map()),N(this,_0x167768(0x3b1),new _0x2f97c3(Ee[_0x167768(0xb9)])),N(this,'status$',this[_0x167768(0x3b1)][_0x167768(0x32d)]()),N(this,_0x167768(0x257),!0x1),N(this,_0x167768(0x13d)),N(this,_0x167768(0x21b),0x0),N(this,'_sendHeartbeatTimer'),N(this,'_timeoutTimer'),(this[_0x167768(0x21f)]=_0x497168,this[_0x167768(0x380)]=_0x38ef19,this[_0x167768(0xdf)]=_0x279b67,this[_0x167768(0x1c0)]=_0x1dc011,this[_0x167768(0x2fc)]=_0xc9bdf5,this[_0x167768(0x11a)]=_0x470f39,this['_listenToNetworkCondition']());}get[_0x186532(0x20b)](){var _0x2e1fef=_0x186532;return this[_0x2e1fef(0x1ae)][_0x2e1fef(0x10d)]();}['_listenToNetworkCondition'](){var _0x22d03f=_0x186532;this[_0x22d03f(0x11a)]&&this[_0x22d03f(0x322)](this[_0x22d03f(0x11a)][_0x22d03f(0x25f)][_0x22d03f(0xee)](_0x3077a0=>{var _0x4cf880=_0x22d03f;_0x3077a0&&!this[_0x4cf880(0x20b)]&&this[_0x4cf880(0xd1)](),_0x3077a0||this[_0x4cf880(0x2df)]();}));}['dispose'](){var _0x134e87=_0x186532;super[_0x134e87(0xcc)](),this['_clearRetryConnectingTimer'](),this[_0x134e87(0x19f)](),this[_0x134e87(0x37d)](),this[_0x134e87(0xc7)][_0x134e87(0x299)](_0x35393b=>_0x35393b[_0x134e87(0xcc)]()),this[_0x134e87(0xc7)][_0x134e87(0x250)](),this[_0x134e87(0x3b1)][_0x134e87(0x13e)]();}async[_0x186532(0xfc)](_0x28c61f){var _0x5d4e02=_0x186532;if(this[_0x5d4e02(0xc7)][_0x5d4e02(0x167)](_0x28c61f))return this[_0x5d4e02(0xc7)]['get'](_0x28c61f);this[_0x5d4e02(0xc6)]();const _0x13afc6=this['_injector'][_0x5d4e02(0x3a0)](Et,_0x28c61f,this[_0x5d4e02(0x1ae)][_0x5d4e02(0x32d)]());return this[_0x5d4e02(0xc7)][_0x5d4e02(0x128)](_0x28c61f,_0x13afc6),_0x13afc6;}[_0x186532(0x251)](_0x3d83ec){var _0x34059b=_0x186532,_0x1253ff;const _0x365610=this['_sessions'][_0x34059b(0x357)](_0x3d83ec);_0x365610&&(this[_0x34059b(0xc7)][_0x34059b(0x2da)](_0x3d83ec),_0x365610['close']()),this[_0x34059b(0xc7)][_0x34059b(0x327)]||(_0x1253ff=this[_0x34059b(0x20b)])==null||_0x1253ff[_0x34059b(0x252)]();}[_0x186532(0xd1)](){var _0x9c44ce=_0x186532;this[_0x9c44ce(0x21b)]=0x0,this['_clearRetryConnectingTimer'](),this[_0x9c44ce(0x2bb)]();}[_0x186532(0x281)](){var _0x46a381=_0x186532;this[_0x46a381(0x13d)]!=null&&(clearTimeout(this[_0x46a381(0x13d)]),this['_retryConnectingTimer']=null);}async['_createSocket'](){var _0x135b2a=_0x186532,_0x1033c2,_0x4f0602;const _0x5634cb=this[_0x135b2a(0xdf)][_0x135b2a(0x3a7)](In),_0x1ae44d=this[_0x135b2a(0xdf)][_0x135b2a(0x3a7)](q),_0x4fe6d4=(_0x4f0602=(_0x1033c2=_0x1ae44d==null?void 0x0:_0x1ae44d[_0x135b2a(0x204)])!=null?_0x1033c2:_0x5634cb)!=null?_0x4f0602:Tn,_0x278114=await this[_0x135b2a(0x1c0)]['createSocket'](_0x4fe6d4);return this['_candidateSocket']=_0x278114,_0x278114;}async[_0x186532(0xc6)](){var _0x2bab68=_0x186532,_0x49e0d6,_0x7e408b;try{const _0xc95013=(_0x7e408b=(_0x49e0d6=this[_0x2bab68(0x20b)])!=null?_0x49e0d6:this['_candidateSocket'])!=null?_0x7e408b:await this[_0x2bab68(0x104)]();if(_0xc95013){const _0x496b0a=_0xc95013[_0x2bab68(0x19a)];_0xc95013['send']=_0x4142ad=>(this[_0x2bab68(0xe5)](),_0x496b0a[_0x2bab68(0x2bc)](_0xc95013,[_0x4142ad])),_0xc95013[_0x2bab68(0x354)][_0x2bab68(0xee)](_0x38881f=>this[_0x2bab68(0x33c)](_0xc95013,_0x38881f)),_0xc95013['error$'][_0x2bab68(0x118)](_0x3966f1(0x1))[_0x2bab68(0xee)](_0x3bd2b7=>this[_0x2bab68(0x380)][_0x2bab68(0xb3)]('[CollaborationSessionService]:\x20socket\x20error',_0x3bd2b7)),_0xc95013['open$']['pipe'](_0x3966f1(0x1))[_0x2bab68(0xee)](()=>{var _0x173876=_0x2bab68;this[_0x173876(0xf4)](_0xc95013);}),_0xc95013[_0x2bab68(0x1b8)][_0x2bab68(0x118)](_0x3966f1(0x1))[_0x2bab68(0xee)](_0x20c461=>{var _0x2718e8=_0x2bab68;this['_logService'][_0x2718e8(0x168)](_0x2718e8(0x139),'socket\x20close',_0x20c461),this[_0x2718e8(0x315)]();});}}catch(_0x54d547){this[_0x2bab68(0x380)][_0x2bab68(0xb3)](_0x54d547),this[_0x2bab68(0x315)]();}}[_0x186532(0xf4)](_0x1cc44f){var _0x1c11e8=_0x186532;this[_0x1c11e8(0x380)][_0x1c11e8(0x168)](_0x1c11e8(0x139),'socket\x20open.'),_0x1cc44f[_0x1c11e8(0x19a)]({'cmd':F[_0x1c11e8(0xda)]}),this['_rescheduleHeartbeat']();}[_0x186532(0x2df)](){var _0x549f94=_0x186532;this[_0x549f94(0x257)]=!0x1,this[_0x549f94(0x3a5)]=null,this[_0x549f94(0x3b1)]['next'](Ee[_0x549f94(0x2ca)]),this[_0x549f94(0x1ae)][_0x549f94(0x1d4)](null),this[_0x549f94(0x19f)](),this['_clearHeartbeatTimer']();}[_0x186532(0x315)](){var _0xa93a50=_0x186532,_0x14ead0;this[_0xa93a50(0x2df)](),this[_0xa93a50(0x21b)]<((_0x14ead0=this[_0xa93a50(0xdf)][_0xa93a50(0x3a7)](yn))!=null?_0x14ead0:On)?(this[_0xa93a50(0x2fc)]['emitEvent']({'id':se[_0xa93a50(0x1cd)]}),this[_0xa93a50(0x2bb)]()):this[_0xa93a50(0x2fc)][_0xa93a50(0x126)]({'id':se[_0xa93a50(0x394)]});}['_tryReconnect'](){var _0x45a55d=_0x186532,_0x100d4a;const _0x510471=this[_0x45a55d(0x21b)],_0x3cf7ef=this[_0x45a55d(0xdf)][_0x45a55d(0x3a7)](q),_0x38db74=_0x510471===0x0?0x0:((_0x100d4a=_0x3cf7ef==null?void 0x0:_0x3cf7ef[_0x45a55d(0x33b)])!=null?_0x100d4a:bn)*0x2**_0x510471;this[_0x45a55d(0x13d)]=setTimeout(()=>{var _0x33ca4b=_0x45a55d;clearTimeout(this[_0x33ca4b(0x13d)]),this[_0x33ca4b(0x13d)]=null,this[_0x33ca4b(0xc6)]();},_0x38db74),this[_0x45a55d(0x21b)]+=0x1;}[_0x186532(0x33c)](_0x1863ba,_0x52135a){var _0x31c7e3=_0x186532;const {cmd:_0x3ccb90}=_0x52135a;_0x3ccb90===F[_0x31c7e3(0xda)]&&!this['_socketReady']&&(_0x1863ba[_0x31c7e3(0x1ed)]=_0x52135a[_0x31c7e3(0x28e)][_0x31c7e3(0x1ed)],this[_0x31c7e3(0x1ae)][_0x31c7e3(0x1d4)](_0x1863ba),this[_0x31c7e3(0x3b1)][_0x31c7e3(0x1d4)](Ee[_0x31c7e3(0x38d)]),this['_socketReady']=!0x0,this[_0x31c7e3(0x3a5)]=null),_0x3ccb90===F[_0x31c7e3(0x23b)]&&this[_0x31c7e3(0x19f)](),this['_rescheduleHeartbeat']();}[_0x186532(0xe5)](){var _0x4038fb=_0x186532,_0x48c716;this[_0x4038fb(0x37d)](),this[_0x4038fb(0x289)]=setTimeout(()=>this[_0x4038fb(0x2a8)](),(_0x48c716=this[_0x4038fb(0xdf)]['getConfig'](Cn))!=null?_0x48c716:Rn);}[_0x186532(0x2a8)](){var _0x147227=_0x186532;this['_socket'][_0x147227(0x19a)]({'cmd':F[_0x147227(0x23b)]}),this[_0x147227(0x1f0)]();}[_0x186532(0x1f0)](){var _0x4a87f4=_0x186532,_0x3bde50;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x3bde50=this[_0x4a87f4(0xdf)][_0x4a87f4(0x3a7)](mi))!=null?_0x3bde50:gi);}[_0x186532(0x37d)](){var _0x44a7af=_0x186532;this[_0x44a7af(0x289)]!=null&&(clearTimeout(this[_0x44a7af(0x289)]),this[_0x44a7af(0x289)]=null);}[_0x186532(0x19f)](){var _0xb0210b=_0x186532;this[_0xb0210b(0xcb)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0xb0210b(0xcb)]=null);}};Le=Yn([be(0x0,_0x272a70(_0x293f16)),be(0x1,_0x223ea5),be(0x2,_0xc7a031),be(0x3,Ii),be(0x4,_0x272a70(pe)),be(0x5,_0x23c069(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x186532(0x282)]((t+0x100)[_0x186532(0x2e0)](0x10)[_0x186532(0x217)](0x1));function qn(_0xbb44bc,_0x8fe88d=0x0){var _0x5147a6=_0x186532;return(V[_0xbb44bc[_0x8fe88d+0x0]]+V[_0xbb44bc[_0x8fe88d+0x1]]+V[_0xbb44bc[_0x8fe88d+0x2]]+V[_0xbb44bc[_0x8fe88d+0x3]]+'-'+V[_0xbb44bc[_0x8fe88d+0x4]]+V[_0xbb44bc[_0x8fe88d+0x5]]+'-'+V[_0xbb44bc[_0x8fe88d+0x6]]+V[_0xbb44bc[_0x8fe88d+0x7]]+'-'+V[_0xbb44bc[_0x8fe88d+0x8]]+V[_0xbb44bc[_0x8fe88d+0x9]]+'-'+V[_0xbb44bc[_0x8fe88d+0xa]]+V[_0xbb44bc[_0x8fe88d+0xb]]+V[_0xbb44bc[_0x8fe88d+0xc]]+V[_0xbb44bc[_0x8fe88d+0xd]]+V[_0xbb44bc[_0x8fe88d+0xe]]+V[_0xbb44bc[_0x8fe88d+0xf]])[_0x5147a6(0x2f8)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0x3290ea=_0x186532;if(!ut){if(typeof crypto>'u'||!crypto[_0x3290ea(0x10e)])throw new Error(_0x3290ea(0x183));ut=crypto[_0x3290ea(0x10e)][_0x3290ea(0x156)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto['randomUUID']&&crypto[_0x186532(0x16e)][_0x186532(0x156)](crypto),Yt={'randomUUID':Xn};function Zn(_0x878df8,_0x99be2d,_0xa804a5){var _0x3a2371=_0x186532,_0xcffbd0,_0x152db6,_0x4eb901;if(Yt['randomUUID']&&!_0x878df8)return Yt[_0x3a2371(0x16e)]();_0x878df8=_0x878df8||{};const _0x5eb33=(_0x4eb901=(_0x152db6=_0x878df8['random'])!=null?_0x152db6:(_0xcffbd0=_0x878df8['rng'])==null?void 0x0:_0xcffbd0[_0x3a2371(0x189)](_0x878df8))!=null?_0x4eb901:Jn();if(_0x5eb33[_0x3a2371(0x2a2)]<0x10)throw new Error(_0x3a2371(0x15e));return _0x5eb33[0x6]=_0x5eb33[0x6]&0xf|0x40,_0x5eb33[0x8]=_0x5eb33[0x8]&0x3f|0x80,qn(_0x5eb33);}const J=_0x2cfcf7(_0x186532(0x27e));function Bs(_0x15994f){var _0x3e7e85=_0x186532;return _0x3e7e85(0xd0)+_0x15994f;}var Qn=Object[_0x186532(0x101)],er=(_0x14d821,_0x5d582a,_0x201afb,_0x4bee20)=>{var _0x2ae14a=_0x186532;for(var _0x4254f9=_0x4bee20>0x1?void 0x0:_0x4bee20?Qn(_0x5d582a,_0x201afb):_0x5d582a,_0x1bef5a=_0x14d821[_0x2ae14a(0x2a2)]-0x1,_0x15dfd3;_0x1bef5a>=0x0;_0x1bef5a--)(_0x15dfd3=_0x14d821[_0x1bef5a])&&(_0x4254f9=_0x15dfd3(_0x4254f9)||_0x4254f9);return _0x4254f9;},dt=(_0x2768d5,_0x3cc909)=>(_0x2c5442,_0x18dc50)=>_0x3cc909(_0x2c5442,_0x18dc50,_0x2768d5);function tr(_0xcd524b){var _0x4db35e=_0x186532;const {unitID:_0x33f98b,mutations:_0x2de024}=_0xcd524b;return{'unitId':_0x33f98b,'subUnitId':_0x2de024[0x0][_0x4db35e(0x1b6)][_0x4db35e(0x187)]};}let it=class{constructor(_0x54f5ad,_0x2798b4,_0x2e7acc){var _0x1b4a4e=_0x186532;this[_0x1b4a4e(0x21f)]=_0x54f5ad,this['_transformService']=_0x2798b4,this[_0x1b4a4e(0x151)]=_0x2e7acc;}['transformSelections'](_0x9d94d2){var _0x5de3a1=_0x186532,_0x5ef84e,_0x1c9763,_0x24b8e4,_0x29980e;const _0x504528=this[_0x5de3a1(0x21f)][_0x5de3a1(0x357)](_0x3b8a08),{unitId:_0x3c436c,subUnitId:_0x1a68fa}=tr(_0x9d94d2),_0x83b464=_0x504528==null?void 0x0:_0x504528[_0x5de3a1(0x108)](_0x3c436c)[_0x5de3a1(0x31a)](),_0x40fdb9=(_0x1c9763=(_0x5ef84e=this['_instanceService']['getUnit'](_0x3c436c))==null?void 0x0:_0x5ef84e[_0x5de3a1(0x335)]())==null?void 0x0:_0x1c9763['getSheetId']();if(_0x83b464[_0x5de3a1(0x2a2)]===0x0||!_0x3c436c||!_0x1a68fa)return;const _0x5b2e88=[{'id':_0x1edc8e['id'],'params':{'unitId':_0x3c436c,'subUnitId':_0x40fdb9,'selections':_0x280c3f[_0x5de3a1(0x1bd)](_0x83b464)}}],_0x9456f4=this['_transformService'][_0x5de3a1(0x37e)](_0x9d94d2,_0x5b2e88);if(!_0x26a39b(_0x9456f4))throw _0x9456f4['error'];const _0x22ce96=(_0x29980e=(_0x24b8e4=_0x9456f4[_0x5de3a1(0x37f)][0x0])==null?void 0x0:_0x24b8e4[_0x5de3a1(0x1b6)])==null?void 0x0:_0x29980e[_0x5de3a1(0x343)];if(Array[_0x5de3a1(0x237)](_0x22ce96)&&_0x22ce96['length']){if(_0x22ce96[_0x5de3a1(0x2a2)]===_0x5b2e88[0x0][_0x5de3a1(0x1b6)][_0x5de3a1(0x343)]['length']&&_0x22ce96['every']((_0x39e776,_0x2501b8)=>_0x3d1433['equals'](_0x39e776[_0x5de3a1(0x358)],_0x5b2e88[0x0][_0x5de3a1(0x1b6)]['selections'][_0x2501b8][_0x5de3a1(0x358)])))return;this['_injector'][_0x5de3a1(0x357)](_0x598125)[_0x5de3a1(0x34a)](_0x1edc8e['id'],{'unitId':_0x3c436c,'subUnitId':_0x40fdb9,'selections':_0x22ce96});}}};it=er([dt(0x0,_0x272a70(_0x293f16)),dt(0x1,_0x2fd010),dt(0x2,_0x23ebe5)],it);const ht=_0x2cfcf7(_0x186532(0x17c));var Ci=(_0x5e3bbb=>(_0x5e3bbb[_0x5e3bbb[_0x186532(0x1e5)]=0x0]=_0x186532(0x1e5),_0x5e3bbb[_0x5e3bbb['OTHER_CLIENTS_EDITING']=0x1]=_0x186532(0xed),_0x5e3bbb))(Ci||{});const ir=new Set([_0x43586f['id']]);function qt(_0x3e0283,_0xb7fbcf,_0x41db75,_0x167f7f,_0x151f40){var _0x4053d6=_0x186532,_0x4e116c,_0xe91bae,_0x1690ff,_0x27e833;const _0x2efc48=[];for(const _0x9c9c72 of _0x3e0283)if(ir[_0x4053d6(0x167)](_0x9c9c72['id'])){if(_0x2efc48[_0x4053d6(0x2a2)]>0x0)break;_0x2efc48[_0x4053d6(0x282)](_0x9c9c72);break;}else _0x2efc48[_0x4053d6(0x282)](_0x9c9c72);const _0x3e4f33=(_0xe91bae=(_0x4e116c=_0x151f40[_0x4053d6(0x184)]())==null?void 0x0:_0x4e116c[_0x4053d6(0x3a3)])!=null?_0xe91bae:'unknown',_0xc194fc=(_0x27e833=(_0x1690ff=_0x151f40[_0x4053d6(0x184)]())==null?void 0x0:_0x1690ff['memberID'])!=null?_0x27e833:_0x4053d6(0x23c);return{'changeset':{'unitID':_0xb7fbcf,'type':_0x1f7b75(_0x41db75[_0x4053d6(0x312)](_0xb7fbcf)),'baseRev':_0x167f7f[_0x4053d6(0xb2)](_0xb7fbcf),'revision':0x0,'userID':_0x3e4f33,'memberID':_0xc194fc,'mutations':_0x2efc48},'pendingMutations':_0x3e0283[_0x4053d6(0x217)](_0x2efc48[_0x4053d6(0x2a2)])};}function nr(_0x45e402,_0x7379d6,_0x35131c,_0x380772,_0x14a64c){var _0x4d9ac0=_0x186532,_0x466b90,_0x42b48e,_0x352971,_0x2c26f6;const _0x206676=[_0x45e402[_0x4d9ac0(0xc4)]((_0x1e8b5e,_0x5723cc)=>{var _0x1b0a0c=_0x4d9ac0,_0x327712;const {id:_0x2b697b}=_0x1e8b5e,{id:_0x2448f8,type:_0x42b2a8}=_0x5723cc,_0x5480b0=(_0x327712=_0x1e8b5e[_0x1b0a0c(0x1b6)])!=null?_0x327712:{'actions':null},_0xcf9789=_0x5723cc['params'];if(_0x2b697b&&_0x2b697b!==_0x2448f8)throw new Error(_0x1b0a0c(0x30a)+_0x2b697b+'\x20-\x20'+_0x2448f8+'.');return{..._0x1e8b5e,'id':_0x2448f8,'type':_0x42b2a8,'params':{'unitId':_0xcf9789[_0x1b0a0c(0x1e1)],'textRanges':_0xcf9789[_0x1b0a0c(0x320)],'actions':_0x10b418['compose'](_0x5480b0[_0x1b0a0c(0x152)],_0xcf9789[_0x1b0a0c(0x152)])}};},{})],_0x2fd28f=(_0x42b48e=(_0x466b90=_0x14a64c['getCurrentUser']())==null?void 0x0:_0x466b90[_0x4d9ac0(0x3a3)])!=null?_0x42b48e:_0x4d9ac0(0x23c),_0x134ff6=(_0x2c26f6=(_0x352971=_0x14a64c[_0x4d9ac0(0x184)]())==null?void 0x0:_0x352971['memberID'])!=null?_0x2c26f6:'unknown';return{'changeset':{'unitID':_0x7379d6,'type':_0x1f7b75(_0x35131c[_0x4d9ac0(0x312)](_0x7379d6)),'baseRev':_0x380772[_0x4d9ac0(0xb2)](_0x7379d6),'revision':0x0,'userID':_0x2fd28f,'memberID':_0x134ff6,'mutations':_0x206676},'pendingMutations':[]};}function _0x5308(_0x4716da,_0x22df93){var _0x25bdbc=_0x25bd();return _0x5308=function(_0x5308e2,_0x21c411){_0x5308e2=_0x5308e2-0xaf;var _0x499143=_0x25bdbc[_0x5308e2];return _0x499143;},_0x5308(_0x4716da,_0x22df93);}function Ri(_0x1fe1a6,_0x5e3461){var _0x44274c=_0x186532;const _0x55af2a=new _0x1c696b(0x1);return setTimeout(()=>_0x55af2a['next'](_0x5e3461),_0x1fe1a6),_0x55af2a[_0x44274c(0x32d)]()[_0x44274c(0x118)](_0x139173(0x1));}const rr={'id':_0x5f3f76['id'],'type':_0x11f49d[_0x186532(0x34d)],'params':{}};var sr=Object[_0x186532(0x101)],Te=(_0x220991,_0x31ec0c,_0x292a17,_0x574126)=>{for(var _0x18b03d=_0x574126>0x1?void 0x0:_0x574126?sr(_0x31ec0c,_0x292a17):_0x31ec0c,_0x85d93c=_0x220991['length']-0x1,_0x115d5f;_0x85d93c>=0x0;_0x85d93c--)(_0x115d5f=_0x220991[_0x85d93c])&&(_0x18b03d=_0x115d5f(_0x18b03d)||_0x18b03d);return _0x18b03d;},P=(_0x2eac37,_0x1959bf)=>(_0x5ef9e,_0x354c1a)=>_0x1959bf(_0x5ef9e,_0x354c1a,_0x2eac37),bi=(_0x483c6e=>(_0x483c6e['NOT_COLLAB']=_0x186532(0x27f),_0x483c6e['SYNCED']='synced',_0x483c6e[_0x186532(0x1a9)]=_0x186532(0x39a),_0x483c6e[_0x186532(0x1c3)]=_0x186532(0x149),_0x483c6e[_0x186532(0x170)]=_0x186532(0x319),_0x483c6e['FETCH_MISS']=_0x186532(0x360),_0x483c6e[_0x186532(0xf0)]=_0x186532(0x2c2),_0x483c6e[_0x186532(0x2ca)]=_0x186532(0x229),_0x483c6e))(bi||{});const yi=0xea60;class Ce{constructor(_0x29c3d5,_0x46d852,_0x4d8f34,_0x2fb009,_0x47c0a6,_0x5d224d,_0x3ac5f9,_0x2151e2,_0x5c2239){var _0x32bcc6=_0x186532;N(this,_0x32bcc6(0x356),null),N(this,_0x32bcc6(0x2a7),[]),(this[_0x32bcc6(0x377)]=_0x29c3d5,this['type']=_0x46d852,this['_handler']=_0x47c0a6,this[_0x32bcc6(0xe2)]=_0x5d224d,this[_0x32bcc6(0x22c)]=_0x3ac5f9,this[_0x32bcc6(0x379)]=_0x2151e2,this['_localCacheService']=_0x5c2239,this[_0x32bcc6(0x356)]=_0x4d8f34,this[_0x32bcc6(0x2a7)]=_0x2fb009);}[_0x186532(0x26b)](_0x5a3e1a){var _0x5e5541=_0x186532;const _0x394ba3=this[_0x5e5541(0x379)][_0x5e5541(0xb2)](this['unitID']);return _0x5a3e1a[_0x5e5541(0x235)]>_0x394ba3+0x1?(this['_handler']['onMissingChangesets']({'from':_0x394ba3,'to':_0x5a3e1a[_0x5e5541(0x235)]-0x1}),!0x0):!0x1;}[_0x186532(0x1d1)](_0x52e103){var _0x486cec=_0x186532;this[_0x486cec(0x22c)][_0x486cec(0x2eb)](this[_0x486cec(0x377)],_0x52e103);}['_transformSelections'](_0x136e08){var _0x5585ac=_0x186532,_0x44da2d,_0x281e67;(_0x281e67=(_0x44da2d=this[_0x5585ac(0x3ac)])[_0x5585ac(0xfd)])==null||_0x281e67[_0x5585ac(0x189)](_0x44da2d,_0x136e08);}[_0x186532(0xb0)](_0x55055c){var _0x21ba2a=_0x186532,_0x2b038f,_0x26bd97;return(_0x26bd97=(_0x2b038f=this['_handler'])[_0x21ba2a(0x2e3)])==null?void 0x0:_0x26bd97[_0x21ba2a(0x189)](_0x2b038f,_0x55055c);}[_0x186532(0x137)](_0x2e11d8){var _0xf2d417=_0x186532,_0x39a042,_0xe8bbec;return(_0xe8bbec=(_0x39a042=this[_0xf2d417(0x3ac)])[_0xf2d417(0x1c2)])==null?void 0x0:_0xe8bbec[_0xf2d417(0x189)](_0x39a042,_0x2e11d8);}['_transformRemoteChangesetByIMECache'](_0xcdcf55){var _0x186489=_0x186532,_0x15a02e,_0x26e648,_0x33bab6;return(_0x33bab6=(_0x26e648=(_0x15a02e=this[_0x186489(0x3ac)])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x26e648[_0x186489(0x189)](_0x15a02e,_0xcdcf55))!=null?_0x33bab6:_0xcdcf55;}['_transformRemoteChangesetByStateCache'](_0x2138b4){var _0x1db0b8=_0x186532,_0x313228,_0x30e23d,_0x40ab7f;return(_0x40ab7f=(_0x30e23d=(_0x313228=this[_0x1db0b8(0x3ac)])[_0x1db0b8(0x1b4)])==null?void 0x0:_0x30e23d[_0x1db0b8(0x189)](_0x313228,_0x2138b4))!=null?_0x40ab7f:_0x2138b4;}[_0x186532(0x164)](_0x1f3723){var _0x1ddbce=_0x186532,_0x4ca23e,_0x18bae0;if(this[_0x1ddbce(0x3a6)]===Q[_0x1ddbce(0x2b8)]){const {unitID:_0x54e3b0,mutations:_0x34ff64,memberID:_0x258333}=_0x1f3723,_0x5ae404=_0x34ff64[0x0]['params'][_0x1ddbce(0x320)];Array[_0x1ddbce(0x237)](_0x5ae404)&&_0x5ae404['length']>0x0&&((_0x18bae0=(_0x4ca23e=this[_0x1ddbce(0x3ac)])[_0x1ddbce(0x2a4)])==null||_0x18bae0[_0x1ddbce(0x189)](_0x4ca23e,{'unitID':_0x54e3b0,'memberID':_0x258333,'textRanges':_0x5ae404}));}}[_0x186532(0x2cc)](){var _0x2d122f=_0x186532,_0x27f500;(_0x27f500=this['_localCacheService'])==null||_0x27f500[_0x2d122f(0xce)](this[_0x2d122f(0x377)],this[_0x2d122f(0x3a6)],this[_0x2d122f(0x356)],this[_0x2d122f(0x2a7)]);}[_0x186532(0x113)](){var _0x2363e9=_0x186532;return this['_revisionService'][_0x2363e9(0xb2)](this[_0x2363e9(0x377)]);}[_0x186532(0x313)](){var _0x1577e8=_0x186532;this[_0x1577e8(0x379)][_0x1577e8(0x24f)](this[_0x1577e8(0x377)]);}[_0x186532(0x376)](_0x31ba8a){var _0x2f8a1f=_0x186532,_0x5f0955;let _0x1ecdb4=this[_0x2f8a1f(0x29e)](_0x31ba8a);_0x1ecdb4=this[_0x2f8a1f(0x392)](_0x1ecdb4);const _0xf96443=_0x380cae(_0x1ecdb4[_0x2f8a1f(0x1fe)],this[_0x2f8a1f(0xe2)],{'fromCollab':!0x0});if(!_0xf96443[_0x2f8a1f(0x2fa)])throw _0xf96443[_0x2f8a1f(0xb3)]instanceof Error?_0xf96443[_0x2f8a1f(0xb3)]:new Error((_0x5f0955=_0xf96443[_0x2f8a1f(0xb3)])!=null?_0x5f0955:_0x2f8a1f(0x1b5));this['_transformIMECache'](_0x1ecdb4),this[_0x2f8a1f(0x137)](_0x1ecdb4),this['_transformUndoredo'](_0x31ba8a),this['_transformSelections'](_0x1ecdb4),this[_0x2f8a1f(0x164)](_0x1ecdb4),this[_0x2f8a1f(0x313)]();}}let Ne=class extends Ce{constructor(_0xaa4216,_0x51dfa9,_0x728747,_0x497232,_0x1ef9a1,_0x371896,_0x713236,_0x4191bf,_0x5a025d,_0x4f8e08){var _0x83a05d=_0x186532;super(_0xaa4216,_0x51dfa9,null,[],_0x728747,_0x713236,_0x371896,_0x497232,_0x4f8e08),N(this,_0x83a05d(0x14c),_0x83a05d(0x2d7)),(this[_0x83a05d(0x21f)]=_0x1ef9a1,this[_0x83a05d(0x380)]=_0x4191bf,this[_0x83a05d(0x269)]=_0x5a025d,this['localCacheService']=_0x4f8e08);}[_0x186532(0x19d)](_0x4208f9){var _0x4e96d0=_0x186532;const _0x995abc=this[_0x4e96d0(0x21f)]['createInstance'](ae,this[_0x4e96d0(0x377)],this[_0x4e96d0(0x3a6)],[_0x4208f9],this['_handler']);return _0x995abc['_schedule'](),_0x995abc[_0x4e96d0(0x2cc)](),_0x995abc;}[_0x186532(0x216)](_0x978487){var _0xf56b2b=_0x186532;if(this[_0xf56b2b(0x26b)](_0x978487))return this[_0xf56b2b(0x21f)][_0xf56b2b(0x3a0)](ee,this[_0xf56b2b(0x377)],this['type'],null,[],null,[_0x978487],this[_0xf56b2b(0x3ac)]);try{const _0x30cc9c=this[_0xf56b2b(0x269)][_0xf56b2b(0x37e)](_0x978487,[rr]);if(_0x26a39b(_0x30cc9c)){const {c1Prime:_0x7266e1}=_0x30cc9c;return this['_executeRemoteChangeset'](_0x7266e1),this;}throw _0x30cc9c[_0xf56b2b(0xb3)];}catch(_0x33a45b){return this[_0xf56b2b(0x380)]['error'](_0x33a45b),this[_0xf56b2b(0x1a5)](!0x1);}}['_onConflict'](_0x5988b1){var _0x2f1751=_0x186532;return this[_0x2f1751(0x21f)][_0x2f1751(0x3a0)](ue,this[_0x2f1751(0x377)],this[_0x2f1751(0x3a6)],null,[],this[_0x2f1751(0x3ac)],_0x5988b1);}[_0x186532(0x30e)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x186532(0x31d)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x186532(0x2a1)](){return this;}['toggleOffline'](){var _0x1a74c6=_0x186532;return this[_0x1a74c6(0x21f)][_0x1a74c6(0x3a0)](de,this[_0x1a74c6(0x377)],this['type'],null,[],this[_0x1a74c6(0x3ac)]);}[_0x186532(0x27d)](){return this;}[_0x186532(0x32a)](){var _0x346de6=_0x186532;throw new Error(_0x346de6(0x13c));}[_0x186532(0x205)](){var _0xa9f67d=_0x186532;const _0x384a5d=this[_0xa9f67d(0x379)][_0xa9f67d(0xb2)](this[_0xa9f67d(0x377)]);return this[_0xa9f67d(0x3ac)][_0xa9f67d(0x239)]({'from':_0x384a5d,'to':0x0}),this['_injector'][_0xa9f67d(0x3a0)](ee,this[_0xa9f67d(0x377)],this[_0xa9f67d(0x3a6)],null,[],null,[],this[_0xa9f67d(0x3ac)]);}};Ne=Te([P(0x3,_0x272a70(_0x1bccff)),P(0x4,_0x272a70(_0x293f16)),P(0x5,_0x467098),P(0x6,_0x598125),P(0x7,_0x223ea5),P(0x8,_0x2fd010),P(0x9,_0x23c069(J))],Ne);let ae=class extends Ce{constructor(_0x1a89c9,_0x55bf51,_0x5b4938,_0x57d208,_0x32e875,_0x24a530,_0x48df71,_0x51eb1e,_0x442526,_0x162bf4,_0x42ed84,_0x1895e8,_0x19f23a,_0x48923e){var _0x35707c=_0x186532;super(_0x1a89c9,_0x55bf51,null,_0x5b4938,_0x57d208,_0x442526,_0x19f23a,_0x24a530,_0x48923e),N(this,_0x35707c(0x14c),_0x35707c(0x39a)),N(this,_0x35707c(0xe0),null),N(this,_0x35707c(0x115),null),(this[_0x35707c(0x21f)]=_0x32e875,this['_memberService']=_0x48df71,this[_0x35707c(0x380)]=_0x51eb1e,this['_configService']=_0x162bf4,this[_0x35707c(0x269)]=_0x42ed84,this[_0x35707c(0x125)]=_0x1895e8);}[_0x186532(0x19d)](_0x20f7e3){var _0x3e4d40=_0x186532;return this[_0x3e4d40(0x2a7)][_0x3e4d40(0x282)](_0x20f7e3),this[_0x3e4d40(0x2cc)](),this;}[_0x186532(0x216)](_0x101fa7){var _0x400836=_0x186532;if(this['_checkMissing'](_0x101fa7))return this[_0x400836(0x37b)](),this[_0x400836(0x21f)][_0x400836(0x3a0)](ee,this[_0x400836(0x377)],this[_0x400836(0x3a6)],null,this['_pendingMutations'],null,[_0x101fa7],this[_0x400836(0x3ac)]);try{const _0x4a14a3=this[_0x400836(0x269)][_0x400836(0x37e)](_0x101fa7,this[_0x400836(0x2a7)]);if(_0x26a39b(_0x4a14a3)){const {c1Prime:_0x2105e1,m2Prime:_0x33004c}=_0x4a14a3;this[_0x400836(0x376)](_0x2105e1);const _0x12df27=this[_0x400836(0x21f)][_0x400836(0x3a0)](ae,this[_0x400836(0x377)],this[_0x400836(0x3a6)],_0x33004c,this['_handler']);this[_0x400836(0x37b)]();const _0x1cb039=new Date()[_0x400836(0x14a)](),_0x54af86=this[_0x400836(0xe0)]?Math[_0x400836(0x14d)](this['_scheduleCompleteTimestamp']-_0x1cb039,0x0):this[_0x400836(0x2ec)]();return _0x12df27[_0x400836(0x202)](_0x54af86),_0x12df27;}throw _0x4a14a3['error'];}catch(_0x2ff79f){return this[_0x400836(0x380)][_0x400836(0xb3)](_0x2ff79f),this['_onConflict'](!0x1);}}[_0x186532(0x30e)](){var _0x545df6=_0x186532;throw new Error(_0x545df6(0xcf));}[_0x186532(0x31d)](){var _0x2bcbce=_0x186532;throw new Error(_0x2bcbce(0xaf));}[_0x186532(0x2a1)](){return this;}[_0x186532(0x199)](){var _0x22870b=_0x186532;return this[_0x22870b(0x37b)](),this[_0x22870b(0x21f)]['createInstance'](de,this[_0x22870b(0x377)],this['type'],null,this[_0x22870b(0x2a7)],this[_0x22870b(0x3ac)]);}['toggleOnline'](){return this;}[_0x186532(0x202)](_0x5db651){var _0xb6825=_0x186532;const _0x2cd7e8=_0x5db651!=null?_0x5db651:this[_0xb6825(0x2ec)]();this['_scheduleCompleteTimestamp']=new Date()[_0xb6825(0x14a)]()+_0x2cd7e8,this[_0xb6825(0x115)]=setTimeout(()=>{var _0x448e9f=_0xb6825;this['_clearScheduledTask']();let _0x45e2cf=null;switch(this[_0x448e9f(0x3a6)]){case Q['UNIVER_SHEET']:{_0x45e2cf=qt(this[_0x448e9f(0x2a7)],this['unitID'],this[_0x448e9f(0x125)],this[_0x448e9f(0x379)],this[_0x448e9f(0xec)]);break;}case Q[_0x448e9f(0x2b8)]:{this['_pendingMutations'][_0x448e9f(0xdb)](_0x2c29c7=>_0x2c29c7['id']===_0x5d2f9c['id'])?_0x45e2cf=nr(this['_pendingMutations'],this[_0x448e9f(0x377)],this[_0x448e9f(0x125)],this[_0x448e9f(0x379)],this[_0x448e9f(0xec)]):_0x45e2cf=qt(this['_pendingMutations'],this['unitID'],this[_0x448e9f(0x125)],this[_0x448e9f(0x379)],this['_memberService']);break;}default:throw new Error(_0x448e9f(0x35b)+this['type']+_0x448e9f(0x1f8));}const {changeset:_0x19c3d1,pendingMutations:_0x45ae39}=_0x45e2cf;this[_0x448e9f(0x3ac)][_0x448e9f(0x1b2)](_0x19c3d1);const _0x1ee07a=_0x45ae39['length']?this['_injector'][_0x448e9f(0x3a0)](oe,this[_0x448e9f(0x377)],this[_0x448e9f(0x3a6)],_0x19c3d1,_0x45ae39,this[_0x448e9f(0x3ac)],void 0x0):this[_0x448e9f(0x21f)][_0x448e9f(0x3a0)](le,this[_0x448e9f(0x377)],this[_0x448e9f(0x3a6)],_0x19c3d1,this['_handler']);_0x1ee07a['_updateLocalCache'](),this[_0x448e9f(0x3ac)]['onStateChange'](this,_0x1ee07a);},_0x2cd7e8);}[_0x186532(0x2ec)](){var _0x3191ac=_0x186532,_0x345366;const _0x315708=this[_0x3191ac(0xdf)][_0x3191ac(0x3a7)](q);return(_0x345366=_0x315708==null?void 0x0:_0x315708[_0x3191ac(0x1c5)])!=null?_0x345366:En;}['resend'](){var _0x558faa=_0x186532;throw new Error(_0x558faa(0x267));}[_0x186532(0x37b)](){var _0x1fa976=_0x186532;this[_0x1fa976(0x115)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x1fa976(0x115)]=null);}[_0x186532(0x1a5)](_0x182fad){var _0x1c55bf=_0x186532;return this[_0x1c55bf(0x37b)](),this[_0x1c55bf(0x21f)][_0x1c55bf(0x3a0)](ue,this[_0x1c55bf(0x377)],this['type'],null,this['_pendingMutations'],this[_0x1c55bf(0x3ac)],_0x182fad);}};ae=Te([P(0x4,_0x272a70(_0x293f16)),P(0x5,_0x272a70(_0x1bccff)),P(0x6,_0x272a70(xe)),P(0x7,_0x223ea5),P(0x8,_0x598125),P(0x9,_0xc7a031),P(0xa,_0x2fd010),P(0xb,_0x23ebe5),P(0xc,_0x467098),P(0xd,_0x23c069(J))],ae);let le=class extends Ce{constructor(_0x4ca9b3,_0x273970,_0x5062df,_0x599784,_0x127d30,_0x473d9f,_0x16276e,_0x26edee,_0x549943,_0x312ece,_0x23ef95){var _0x4e9aa9=_0x186532;super(_0x4ca9b3,_0x273970,_0x5062df,[],_0x599784,_0x16276e,_0x312ece,_0x473d9f,_0x23ef95),N(this,_0x4e9aa9(0x14c),_0x4e9aa9(0x149)),N(this,'_resendTimeout',0x0),N(this,_0x4e9aa9(0x381)),N(this,_0x4e9aa9(0x1fd)),(this[_0x4e9aa9(0x21f)]=_0x127d30,this['_logService']=_0x26edee,this[_0x4e9aa9(0x269)]=_0x549943);}[_0x186532(0x19d)](_0x3be341){var _0x527812=_0x186532;this[_0x527812(0x37b)]();const _0x1b4a0c=this[_0x527812(0x21f)][_0x527812(0x3a0)](oe,this[_0x527812(0x377)],this[_0x527812(0x3a6)],this[_0x527812(0x356)],[_0x3be341],this['_handler'],this[_0x527812(0x381)]);return _0x1b4a0c[_0x527812(0x2cc)](),_0x1b4a0c;}[_0x186532(0x216)](_0x50b24d){var _0x445063=_0x186532;if(this[_0x445063(0x26b)](_0x50b24d))return this[_0x445063(0x37b)](),this[_0x445063(0x21f)][_0x445063(0x3a0)](ee,this[_0x445063(0x377)],this[_0x445063(0x3a6)],this[_0x445063(0x356)],[],null,[_0x50b24d],this[_0x445063(0x3ac)]);try{const _0x12da17=this[_0x445063(0x269)]['transformChangesets']([_0x50b24d],[this[_0x445063(0x356)]],!0x1);if(_0x21d500(_0x12da17)){const {c1Prime:_0x1409d4,c2Prime:_0xf3c458}=_0x12da17;this[_0x445063(0x376)](_0x1409d4[0x0]),_0xf3c458[0x0]['baseRev']=this[_0x445063(0x113)](),this['_clearScheduledTask']();const _0x31128d=this[_0x445063(0x21f)][_0x445063(0x3a0)](le,this['unitID'],this['type'],_0xf3c458[0x0],this['_handler']);return _0x31128d[_0x445063(0x2cc)](),_0x31128d;}return this[_0x445063(0x1a5)](!0x1);}catch(_0x105c8e){return this[_0x445063(0x380)][_0x445063(0xb3)](_0x105c8e),this[_0x445063(0x1a5)](!0x1);}}[_0x186532(0x30e)](_0x15a737){var _0x330828=_0x186532;this[_0x330828(0x37b)]();const _0x2be8f0=this['_revisionService'][_0x330828(0xb2)](this['unitID']);if(_0x15a737[_0x330828(0x235)]<_0x2be8f0-0x1)return this;if(this[_0x330828(0x26b)](_0x15a737))return this['_injector']['createInstance'](ee,this['unitID'],this[_0x330828(0x3a6)],null,[],this[_0x330828(0x356)],[],this[_0x330828(0x3ac)]);this['_incrementRevisionNumber']();const _0x2bb6b0=this[_0x330828(0x21f)][_0x330828(0x3a0)](Ne,this[_0x330828(0x377)],this[_0x330828(0x3a6)],this['_handler']);return _0x2bb6b0[_0x330828(0x2cc)](),_0x2bb6b0;}['onRemoteRej'](_0x2bbdd0){var _0x37aeb1=_0x186532;return this[_0x37aeb1(0x1a5)](!!(_0x2bbdd0!=null&&_0x2bbdd0[_0x37aeb1(0x1bf)]));}[_0x186532(0x2a1)](_0x12bef3){var _0x232623=_0x186532;return this['_resendTimeout']>yi?this[_0x232623(0x199)]():(this[_0x232623(0x381)]=Ri(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x12bef3['reqId']}),this[_0x232623(0x1fd)]=this[_0x232623(0x381)][_0x232623(0xee)](({reqId:_0x56544f,timeout:_0x5e7c38})=>{this['_resendWithTimeout'](_0x56544f,_0x5e7c38);}),this);}[_0x186532(0x199)](){var _0x3baa69=_0x186532;return this['_clearScheduledTask'](),this[_0x3baa69(0x21f)]['createInstance'](de,this[_0x3baa69(0x377)],this[_0x3baa69(0x3a6)],this['_awaitingChangeset'],[],this['_handler']);}[_0x186532(0x27d)](){return this;}[_0x186532(0x32a)](){var _0x264580=_0x186532;this[_0x264580(0x3ac)]['onSendChangeset'](this[_0x264580(0x356)]);}['_onConflict'](_0x412795){var _0x69199f=_0x186532;return this[_0x69199f(0x37b)](),this[_0x69199f(0x21f)][_0x69199f(0x3a0)](ue,this[_0x69199f(0x377)],this[_0x69199f(0x3a6)],this[_0x69199f(0x356)],[],this[_0x69199f(0x3ac)],_0x412795);}['_resendWithTimeout'](_0x42ad0d,_0x282f2d){var _0x5112a1=_0x186532,_0x4f36d7;_0x42ad0d===((_0x4f36d7=this[_0x5112a1(0x356)])==null?void 0x0:_0x4f36d7[_0x5112a1(0x134)])&&(this['resend'](),this[_0x5112a1(0x396)]=_0x282f2d===0x0?0x3e8:_0x282f2d*0x2);}[_0x186532(0x37b)](){var _0x354ecd=_0x186532,_0x2f9a5d;(_0x2f9a5d=this[_0x354ecd(0x1fd)])==null||_0x2f9a5d[_0x354ecd(0x378)](),this[_0x354ecd(0x396)]=0x0;}};le=Te([P(0x4,_0x272a70(_0x293f16)),P(0x5,_0x272a70(_0x1bccff)),P(0x6,_0x598125),P(0x7,_0x223ea5),P(0x8,_0x2fd010),P(0x9,_0x467098),P(0xa,_0x23c069(J))],le);let oe=class extends Ce{constructor(_0x4ccd4d,_0x549ee8,_0x2b81ec,_0x49b61e,_0x16660b,_0x228e4c,_0x3d3c6a,_0x2bec3a,_0x37ea08,_0x4bba67,_0x5a07ab,_0x3e2ea4,_0x3b5a2b){var _0x475ab6=_0x186532;super(_0x4ccd4d,_0x549ee8,_0x2b81ec,_0x49b61e,_0x16660b,_0x37ea08,_0x3e2ea4,_0x2bec3a,_0x3b5a2b),N(this,_0x475ab6(0x14c),_0x475ab6(0x319)),N(this,_0x475ab6(0x396),0x0),N(this,'_resendTimer'),N(this,_0x475ab6(0x1fd)),(this[_0x475ab6(0x21f)]=_0x3d3c6a,this[_0x475ab6(0x380)]=_0x4bba67,this[_0x475ab6(0x269)]=_0x5a07ab,this[_0x475ab6(0x116)]=_0x3b5a2b,_0x228e4c&&(this[_0x475ab6(0x381)]=_0x228e4c,this[_0x475ab6(0x1fd)]=this[_0x475ab6(0x381)][_0x475ab6(0xee)](({reqId:_0x357513,timeout:_0x1052df})=>{var _0x53c963=_0x475ab6;this[_0x53c963(0x18d)](_0x357513,_0x1052df);})));}['appendMutation'](_0x39741f){var _0x276e26=_0x186532;return this[_0x276e26(0x2a7)][_0x276e26(0x282)](_0x39741f),this;}[_0x186532(0x216)](_0x5b09eb){var _0x52b717=_0x186532;if(this[_0x52b717(0x26b)](_0x5b09eb))return this[_0x52b717(0x37b)](),this['_injector']['createInstance'](ee,this[_0x52b717(0x377)],this[_0x52b717(0x3a6)],this['_awaitingChangeset'],this[_0x52b717(0x2a7)],null,[_0x5b09eb],this[_0x52b717(0x3ac)]);try{const _0x2953a4=this[_0x52b717(0x269)][_0x52b717(0x22f)]([_0x5b09eb],[this[_0x52b717(0x356)]],!0x1);if(_0x21d500(_0x2953a4)){const {c1Prime:_0x18f6a1,c2Prime:_0xcb7e85}=_0x2953a4,_0xfd29bb=this[_0x52b717(0x269)][_0x52b717(0x37e)](_0x18f6a1[0x0],this[_0x52b717(0x2a7)]);if(_0x26a39b(_0xfd29bb)){const {c1Prime:_0x11bc6d,m2Prime:_0x5e87d0}=_0xfd29bb;return this[_0x52b717(0x376)](_0x11bc6d),_0xcb7e85[0x0]['baseRev']=this[_0x52b717(0x113)](),this['_clearScheduledTask'](),this[_0x52b717(0x21f)][_0x52b717(0x3a0)](oe,this[_0x52b717(0x377)],this[_0x52b717(0x3a6)],_0xcb7e85[0x0],_0x5e87d0,this['_handler'],void 0x0);}throw _0xfd29bb[_0x52b717(0xb3)];}throw _0x2953a4[_0x52b717(0xb3)];}catch(_0xa7fd59){return this[_0x52b717(0x380)][_0x52b717(0xb3)](_0xa7fd59),this[_0x52b717(0x1a5)](!0x1);}}[_0x186532(0x30e)](_0x1fa3fd){var _0x211b5f=_0x186532;if(this[_0x211b5f(0x37b)](),this[_0x211b5f(0x26b)](_0x1fa3fd))return this[_0x211b5f(0x21f)][_0x211b5f(0x3a0)](ee,this[_0x211b5f(0x377)],this[_0x211b5f(0x3a6)],null,this[_0x211b5f(0x2a7)],this[_0x211b5f(0x356)],[],this['_handler']);this['_incrementRevisionNumber']();const _0x4fc241=this['_injector']['createInstance'](ae,this[_0x211b5f(0x377)],this[_0x211b5f(0x3a6)],this[_0x211b5f(0x2a7)],this['_handler']);return _0x4fc241['_schedule'](),_0x4fc241[_0x211b5f(0x2cc)](),_0x4fc241;}[_0x186532(0x31d)](_0x40ac41){var _0x27f98e=_0x186532;return this[_0x27f98e(0x1a5)](!!(_0x40ac41!=null&&_0x40ac41['isPermissionRej']));}[_0x186532(0x2a1)](_0x17e30d){var _0xd4d749=_0x186532;return this[_0xd4d749(0x396)]>yi?this[_0xd4d749(0x199)]():(this['_resendTimer']=Ri(this[_0xd4d749(0x396)],{'timeout':this[_0xd4d749(0x396)],'reqId':_0x17e30d[_0xd4d749(0x134)]}),this[_0xd4d749(0x1fd)]=this[_0xd4d749(0x381)][_0xd4d749(0xee)](({reqId:_0x41f8bb,timeout:_0x380c73})=>{this['_resendWithTimeout'](_0x41f8bb,_0x380c73);}),this);}[_0x186532(0x199)](){var _0x56edbc=_0x186532;return this[_0x56edbc(0x37b)](),this['_injector'][_0x56edbc(0x3a0)](de,this['unitID'],this[_0x56edbc(0x3a6)],this['_awaitingChangeset'],this[_0x56edbc(0x2a7)],this[_0x56edbc(0x3ac)]);}['toggleOnline'](){return this;}[_0x186532(0x32a)](){var _0x2b1b9c=_0x186532;this[_0x2b1b9c(0x3ac)]['onSendChangeset'](this[_0x2b1b9c(0x356)]);}[_0x186532(0x1a5)](_0xe0349a){var _0x5f0f02=_0x186532;return this[_0x5f0f02(0x37b)](),this[_0x5f0f02(0x21f)][_0x5f0f02(0x3a0)](ue,this[_0x5f0f02(0x377)],this['type'],null,this[_0x5f0f02(0x2a7)],this[_0x5f0f02(0x3ac)],_0xe0349a);}[_0x186532(0x18d)](_0x1ee7fc,_0x474677){var _0x21795c=_0x186532,_0x263e2c;_0x1ee7fc===((_0x263e2c=this[_0x21795c(0x356)])==null?void 0x0:_0x263e2c[_0x21795c(0x134)])&&(this['resend'](),this[_0x21795c(0x396)]=_0x474677===0x0?0x3e8:_0x474677*0x2);}[_0x186532(0x37b)](){var _0x21f642=_0x186532,_0x5243f1;(_0x5243f1=this[_0x21f642(0x1fd)])==null||_0x5243f1[_0x21f642(0x378)](),this['_resendTimeout']=0x0;}};oe=Te([P(0x6,_0x272a70(_0x293f16)),P(0x7,_0x272a70(_0x1bccff)),P(0x8,_0x598125),P(0x9,_0x223ea5),P(0xa,_0x2fd010),P(0xb,_0x467098),P(0xc,_0x23c069(J))],oe);let ue=class extends Ce{constructor(_0x390250,_0x272571,_0x23f83e,_0x5b3c0f,_0x381365,_0x42c478=!0x1,_0x5964d6,_0x22f60b,_0xd29ddf,_0x46c5ab,_0x1b7eae,_0x5d5a4c,_0x537955){var _0xc2e74=_0x186532;super(_0x390250,_0x272571,_0x23f83e,_0x5b3c0f,_0x381365,_0x22f60b,_0xd29ddf,_0x46c5ab,_0x537955),N(this,_0xc2e74(0x14c),'conflict'),(this[_0xc2e74(0x3ad)]=_0x42c478,this['_permissionService']=_0x5964d6,this[_0xc2e74(0x36c)]=_0x1b7eae,this[_0xc2e74(0x2fc)]=_0x5d5a4c,this[_0xc2e74(0x116)]=_0x537955,this[_0xc2e74(0x210)](),this[_0xc2e74(0x16c)](),this['_disableEditing']());}[_0x186532(0x19d)](){return this;}[_0x186532(0x216)](){return this;}[_0x186532(0x30e)](){return this;}['onRemoteRej'](){return this;}[_0x186532(0x2a1)](){return this;}[_0x186532(0x199)](){return this;}[_0x186532(0x27d)](){return this;}[_0x186532(0x32a)](){var _0xe1c8c1=_0x186532;throw new Error(_0xe1c8c1(0x12e));}[_0x186532(0x16c)](){var _0x343443=_0x186532,_0x8f96a3;(_0x8f96a3=this[_0x343443(0x21e)])==null||_0x8f96a3[_0x343443(0xce)](this['unitID'],this[_0x343443(0x3a6)],null,[]);}[_0x186532(0x210)](){var _0x2ff079=_0x186532;this[_0x2ff079(0x3ad)]?this['_collaborationUIEventService'][_0x2ff079(0x126)]({'id':se[_0x2ff079(0xf3)]}):this[_0x2ff079(0x2fc)][_0x2ff079(0x126)]({'id':se['CONFLICT']});}['_disableEditing'](){var _0x3726c0=_0x186532;this[_0x3726c0(0x2c4)][_0x3726c0(0x352)](new _0x19ad0b(this[_0x3726c0(0x377)])['id'],!0x1);}};ue=Te([P(0x6,_0x272a70(_0x2d0fc1)),P(0x7,_0x598125),P(0x8,_0x467098),P(0x9,_0x272a70(_0x1bccff)),P(0xa,_0x272a70(_0x358a43)),P(0xb,_0x272a70(pe)),P(0xc,_0x23c069(J))],ue);let de=class extends Ce{constructor(_0x1e4159,_0x2bfe25,_0xd447a1,_0x23f714,_0x3faf9d,_0x4179b6,_0xd063be,_0x57ad47,_0x3734c2,_0xb304c7){var _0xea3bd8=_0x186532;super(_0x1e4159,_0x2bfe25,_0xd447a1,_0x23f714,_0x3faf9d,_0x57ad47,_0x3734c2,_0xd063be,_0xb304c7),N(this,_0xea3bd8(0x14c),_0xea3bd8(0x229)),this[_0xea3bd8(0x21f)]=_0x4179b6;}[_0x186532(0x19d)](_0x885709){var _0x52f0fc=_0x186532;return this[_0x52f0fc(0x2a7)]['push'](_0x885709),this[_0x52f0fc(0x2cc)](),this;}[_0x186532(0x216)](_0x4a7bd2){var _0x2c9b53=_0x186532;throw new Error(_0x2c9b53(0x17b));}[_0x186532(0x30e)](){var _0x36fd20=_0x186532;throw new Error(_0x36fd20(0x361));}[_0x186532(0x31d)](){var _0x21d541=_0x186532;throw new Error(_0x21d541(0x2bf));}[_0x186532(0x2a1)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){var _0x55bb17=_0x186532;const {_injector:_0x1fb9c6,_pendingMutations:_0x5f4e5d,_awaitingChangeset:_0x3d2873,unitID:_0x3999a1,_handler:_0x3bb89a,type:_0xbba1e4}=this,_0x177089=Oi(_0x1fb9c6,_0x3999a1,_0xbba1e4,_0x3d2873,_0x5f4e5d,_0x3bb89a);return _0x177089 instanceof ae?_0x177089[_0x55bb17(0x202)]():(_0x177089 instanceof oe||_0x177089 instanceof le)&&_0x177089['resend'](),_0x177089;}[_0x186532(0x32a)](){var _0x4e0081=_0x186532;throw new Error(_0x4e0081(0x26a));}};de=Te([P(0x5,_0x272a70(_0x293f16)),P(0x6,_0x272a70(_0x1bccff)),P(0x7,_0x598125),P(0x8,_0x467098),P(0x9,_0x23c069(J))],de);let ee=class extends Ce{constructor(_0x16fba9,_0x4a7754,_0x4d3421,_0x39990f,_0x537d82,_0x2dfe3b,_0x32c0bb,_0x458860,_0x330ac4,_0x423306,_0x4ca47d,_0x98b191,_0x10819c,_0x265378){var _0x200aad=_0x186532;super(_0x16fba9,_0x4a7754,_0x4d3421,_0x39990f,_0x32c0bb,_0x4ca47d,_0x98b191,_0x330ac4,_0x265378),N(this,_0x200aad(0x14c),_0x200aad(0x360)),(this['_acknowledgedAwaitingChangeset']=_0x537d82,this['_queuedRemoteChangesets']=_0x2dfe3b,this[_0x200aad(0x21f)]=_0x458860,this['_logService']=_0x423306,this[_0x200aad(0x269)]=_0x10819c,this[_0x200aad(0x116)]=_0x265378);}[_0x186532(0x2b7)](_0x47eeff){var _0x51bd5b=_0x186532;try{const _0x26281e=[..._0x47eeff,...this[_0x51bd5b(0x132)]],_0x4d9c45=[this[_0x51bd5b(0x356)]||this[_0x51bd5b(0x2d0)]][_0x51bd5b(0xcd)](_0x2dabe2=>!!_0x2dabe2);let _0x4f6778,_0x352161;if(_0x4d9c45[_0x51bd5b(0x2a2)]){const _0x92ceab=this[_0x51bd5b(0x269)][_0x51bd5b(0x22f)](_0x26281e,_0x4d9c45,!0x1);if(!_0x21d500(_0x92ceab))throw _0x92ceab[_0x51bd5b(0xb3)];_0x4f6778=_0x92ceab[_0x51bd5b(0x363)],_0x352161=_0x92ceab[_0x51bd5b(0x2af)];}else _0x4f6778=_0x26281e,_0x352161=[];let _0x238a25=this[_0x51bd5b(0x2a7)];_0x4f6778[_0x51bd5b(0x299)](_0x31e493=>{var _0x43f9b5=_0x51bd5b;let _0x243318;if(_0x238a25[_0x43f9b5(0x2a2)]){const _0x2071f7=this['_transformService']['transformMutationsWithChangeset'](_0x31e493,_0x238a25);if(!_0x26a39b(_0x2071f7))throw _0x2071f7[_0x43f9b5(0xb3)];_0x243318=_0x2071f7[_0x43f9b5(0x363)],_0x238a25=_0x2071f7['m2Prime'];}else _0x243318=_0x31e493;this[_0x43f9b5(0x376)](_0x243318);}),this[_0x51bd5b(0x2d0)]&&this[_0x51bd5b(0x313)](),this[_0x51bd5b(0x356)]&&_0x352161[_0x51bd5b(0x2a2)]&&(_0x352161[0x0][_0x51bd5b(0x374)]=this['_getCurrentRevision']());let _0x35cd20;if(this[_0x51bd5b(0x356)]&&_0x238a25[_0x51bd5b(0x2a2)]!==0x0)_0x35cd20=this[_0x51bd5b(0x21f)][_0x51bd5b(0x3a0)](oe,this[_0x51bd5b(0x377)],this[_0x51bd5b(0x3a6)],_0x352161[0x0],_0x238a25,this[_0x51bd5b(0x3ac)],void 0x0);else{if(this[_0x51bd5b(0x356)]&&_0x238a25['length']===0x0)_0x352161[0x0][_0x51bd5b(0x374)]=this[_0x51bd5b(0x113)](),_0x35cd20=this['_injector'][_0x51bd5b(0x3a0)](le,this[_0x51bd5b(0x377)],this['type'],_0x352161[0x0],this[_0x51bd5b(0x3ac)]);else{if(_0x238a25[_0x51bd5b(0x2a2)]!==0x0){const _0x20654d=this[_0x51bd5b(0x21f)]['createInstance'](ae,this[_0x51bd5b(0x377)],this[_0x51bd5b(0x3a6)],_0x238a25,this[_0x51bd5b(0x3ac)]);_0x20654d[_0x51bd5b(0x202)](),_0x35cd20=_0x20654d;}else _0x35cd20=this[_0x51bd5b(0x21f)][_0x51bd5b(0x3a0)](Ne,this[_0x51bd5b(0x377)],this[_0x51bd5b(0x3a6)],this[_0x51bd5b(0x3ac)]);}}return _0x35cd20['_updateLocalCache'](),_0x35cd20;}catch(_0x1d000d){return this[_0x51bd5b(0x380)]['error']('[FetchMissState]',_0x51bd5b(0x12f),_0x1d000d),this['_injector'][_0x51bd5b(0x3a0)](ue,this['unitID'],this[_0x51bd5b(0x3a6)],this['_awaitingChangeset'],this[_0x51bd5b(0x2a7)],this[_0x51bd5b(0x3ac)],!0x1);}}[_0x186532(0x32a)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x186532(0x19d)](_0x415914){var _0x3533ed=_0x186532;return this['_pendingMutations'][_0x3533ed(0x282)](_0x415914),this;}[_0x186532(0x216)](_0x3ae118){var _0x447446=_0x186532;return this[_0x447446(0x132)][_0x447446(0x282)](_0x3ae118),this;}['onRemoteAck'](_0x270ffb){var _0x5b6b14=_0x186532;if(this[_0x5b6b14(0x356)])return this[_0x5b6b14(0x2d0)]=this[_0x5b6b14(0x356)],this['_awaitingChangeset']=null,this;throw new Error('[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!');}[_0x186532(0x31d)](_0x2828e8){var _0x50e2c5=_0x186532;return this['_onConflict'](!!(_0x2828e8!=null&&_0x2828e8[_0x50e2c5(0x1bf)]));}[_0x186532(0x2a1)](){return this;}[_0x186532(0x199)](){var _0x49bb0c=_0x186532;return this[_0x49bb0c(0x21f)]['createInstance'](de,this[_0x49bb0c(0x377)],this[_0x49bb0c(0x3a6)],this['_awaitingChangeset'],this[_0x49bb0c(0x2a7)],this['_handler']);}['toggleOnline'](){return this;}['_onConflict'](_0x1bee3a){var _0x212b0b=_0x186532;return this[_0x212b0b(0x21f)][_0x212b0b(0x3a0)](ue,this[_0x212b0b(0x377)],this[_0x212b0b(0x3a6)],this[_0x212b0b(0x356)],this[_0x212b0b(0x2a7)],this[_0x212b0b(0x3ac)],_0x1bee3a);}};ee=Te([P(0x7,_0x272a70(_0x293f16)),P(0x8,_0x272a70(_0x1bccff)),P(0x9,_0x223ea5),P(0xa,_0x598125),P(0xb,_0x467098),P(0xc,_0x2fd010),P(0xd,_0x23c069(J))],ee);function Oi(_0x392fcb,_0x6cd1be,_0x331246,_0x136ed2,_0x2dee22,_0x4c5cbe){var _0x479bc1=_0x186532;return _0x136ed2&&_0x2dee22[_0x479bc1(0x2a2)]?_0x392fcb[_0x479bc1(0x3a0)](oe,_0x6cd1be,_0x331246,_0x136ed2,_0x2dee22,_0x4c5cbe,void 0x0):_0x136ed2?_0x392fcb[_0x479bc1(0x3a0)](le,_0x6cd1be,_0x331246,_0x136ed2,_0x4c5cbe):_0x2dee22[_0x479bc1(0x2a2)]?_0x392fcb['createInstance'](ae,_0x6cd1be,_0x331246,_0x2dee22,_0x4c5cbe):_0x392fcb[_0x479bc1(0x3a0)](Ne,_0x6cd1be,_0x331246,_0x4c5cbe);}var ar=Object[_0x186532(0x101)],xt=(_0x1fa67c,_0x51a90c,_0x427093,_0x21d3b9)=>{var _0x4be5f5=_0x186532;for(var _0xe69305=_0x21d3b9>0x1?void 0x0:_0x21d3b9?ar(_0x51a90c,_0x427093):_0x51a90c,_0x8da497=_0x1fa67c[_0x4be5f5(0x2a2)]-0x1,_0x3c894f;_0x8da497>=0x0;_0x8da497--)(_0x3c894f=_0x1fa67c[_0x8da497])&&(_0xe69305=_0x3c894f(_0xe69305)||_0xe69305);return _0xe69305;},H=(_0x337137,_0x1603c2)=>(_0x3a0e66,_0x5344db)=>_0x1603c2(_0x3a0e66,_0x5344db,_0x337137);let nt=class extends _0x449df0{constructor(_0x359e64,_0x111a96,_0x446ecc,_0x402c58,_0x5c2a6a,_0x54f7c5,_0x3919ca,_0x25cbea,_0x1a5d24,_0x586402,_0x1d4109,_0x51da33,_0x54ab13){var _0x15dac6=_0x186532;super(),N(this,'_state$',new _0x2f97c3(null)),N(this,_0x15dac6(0x277),this[_0x15dac6(0x29c)]['asObservable']()),N(this,_0x15dac6(0x155)),N(this,'_collaborationPaused',!0x1),N(this,_0x15dac6(0x24e),''),N(this,_0x15dac6(0x305),0x0),N(this,_0x15dac6(0x165),this[_0x15dac6(0x277)][_0x15dac6(0x118)](_0x46448d(_0x2cfa9a=>_0x2cfa9a?_0x2cfa9a['status']:bi['OFFLINE']),_0x1f0bbe(0x1))),N(this,_0x15dac6(0x1d9),!0x1),N(this,_0x15dac6(0xfa),[]),(this['unitID']=_0x359e64,this['session']=_0x111a96,this['_type']=_0x446ecc,this['_injector']=_0x402c58,this['_compressMutationService']=_0x5c2a6a,this[_0x15dac6(0x36c)]=_0x54f7c5,this['_revisionService']=_0x3919ca,this[_0x15dac6(0x28a)]=_0x25cbea,this[_0x15dac6(0x380)]=_0x1a5d24,this['_commandService']=_0x586402,this[_0x15dac6(0x2c4)]=_0x1d4109,this[_0x15dac6(0x318)]=_0x51da33,this[_0x15dac6(0x21e)]=_0x54ab13);}get[_0x186532(0x16b)](){return this['_state'];}async[_0x186532(0x194)](){var _0x3eb5de=_0x186532;if(this['state'])throw new Error(_0x3eb5de(0xd9));await this[_0x3eb5de(0x2ea)]();}[_0x186532(0x1fa)](){var _0x21da6b=_0x186532;return this[_0x21da6b(0x23d)]=!0x0,_0x2074ba(()=>{var _0x4de405=_0x21da6b;this[_0x4de405(0x23d)]=!0x1,this[_0x4de405(0x131)]();});}['onLocalMutation'](_0x4a1df7){this['_onLocalMutation'](_0x4a1df7);}[_0x186532(0x1e3)](_0x45c4ba){var _0x2d9e74=_0x186532;this[_0x2d9e74(0x155)]=_0x45c4ba,this['_state$']['next'](_0x45c4ba);}async[_0x186532(0x2ea)](){var _0x428f02=_0x186532,_0x54386f;this[_0x428f02(0x1e3)](await this[_0x428f02(0x3ae)]()),this[_0x428f02(0x318)]&&((_0x54386f=this['_singleActiveUnitService'])==null||_0x54386f[_0x428f02(0x32f)](this[_0x428f02(0x377)]),this[_0x428f02(0x322)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x428f02(0x377)])[_0x428f02(0xee)](_0x4aeba6=>{var _0x348e71=_0x428f02;this[_0x348e71(0x380)][_0x348e71(0x168)]('[CollaborationEntity]',_0x348e71(0x1ca),_0x4aeba6),_0x4aeba6===Ci[_0x348e71(0xed)]?(this[_0x348e71(0x28a)][_0x348e71(0x126)]({'id':se['OTHER_CLIENT_EDITING']}),this[_0x348e71(0x2c4)][_0x348e71(0x352)](new _0x19ad0b(this['unitID'])['id'],!0x1),this[_0x348e71(0x2c4)][_0x348e71(0xb5)](!0x1)):(this[_0x348e71(0x2c4)]['updatePermissionPoint'](new _0x19ad0b(this[_0x348e71(0x377)])['id'],!0x0),this[_0x348e71(0x2c4)][_0x348e71(0xb5)](!0x0));})));let _0x798305=!0x1;return this[_0x428f02(0x322)](this[_0x428f02(0x1e7)][_0x428f02(0x39c)][_0x428f02(0xee)](_0x56124f=>{var _0x48e100=_0x428f02;_0x56124f===Ee[_0x48e100(0x38d)]?this[_0x48e100(0x345)](_0x798305):_0x56124f===Ee['OFFLINE']&&(_0x798305=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x428f02(0x1e7)][_0x428f02(0xe9)]['subscribe'](_0x16e90c=>{var _0x433970=_0x428f02;try{switch(_0x16e90c[_0x433970(0x10b)]){case _0x2cc9d6[_0x433970(0x365)]:{this['_onRemoteChangeset'](_0x24adf4(_0x16e90c[_0x433970(0x28e)]));break;}case _0x2cc9d6[_0x433970(0x24c)]:{this[_0x433970(0x278)](_0x16e90c[_0x433970(0x28e)]);break;}case _0x2cc9d6[_0x433970(0x1da)]:{this[_0x433970(0x1e0)]();break;}case _0x2cc9d6['CHANGESET_SHOULD_RETRY']:{this[_0x433970(0x1df)](_0x16e90c[_0x433970(0x28e)]);break;}case _0x2cc9d6[_0x433970(0x148)]:{this['_onFetchMissResult'](_0x16e90c[_0x433970(0x28e)][_0x433970(0x17d)]['map'](_0x1ce851=>_0x24adf4(_0x1ce851)));break;}case _0x2cc9d6[_0x433970(0x39b)]:{this[_0x433970(0x1e0)]({'isPermissionRej':!0x0});break;}case _0x2cc9d6['UNISCRIPT_RUN']:break;}}catch(_0x2f0e23){throw console[_0x433970(0xb3)]('Error\x20on\x20receiving\x20event',_0x2f0e23),_0x2f0e23;}})),this[_0x428f02(0x155)];}['_unlockTransition'](){var _0x2c6e2a=_0x186532;this[_0x2c6e2a(0x1d9)]=!0x1;}[_0x186532(0x334)](){var _0x4c775e=_0x186532;if(this[_0x4c775e(0x1d9)])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this['_transitionLocked']=!0x0;}[_0x186532(0x306)](_0x315e2e){var _0x539409=_0x186532;this[_0x539409(0x334)](),this[_0x539409(0x1e3)](this[_0x539409(0x155)][_0x539409(0x19d)](_0x315e2e)),this[_0x539409(0x26e)]();}[_0x186532(0x192)](_0x373ca6){var _0x413da5=_0x186532;if(!(_0x373ca6[_0x413da5(0x235)]<=this['_revisionService']['getCurrentRevOfUnit'](this[_0x413da5(0x377)]))){if(this[_0x413da5(0x23d)]){this[_0x413da5(0xfa)][_0x413da5(0x282)](_0x373ca6);return;}this[_0x413da5(0x2f2)](_0x373ca6);}}[_0x186532(0x131)](){var _0x140476=_0x186532;this[_0x140476(0xfa)][_0x140476(0x299)](_0x578c64=>this[_0x140476(0x2f2)](_0x578c64)),this[_0x140476(0xfa)]=[];}['_applyRemoteChangeset'](_0x379065){var _0x1eb759=_0x186532;const _0x228fbf=this['_compressMutationService'][_0x1eb759(0x298)][_0x1eb759(0x21a)](this[_0x1eb759(0x10c)]['interceptor'][_0x1eb759(0x350)]()['COMPRESS_MUTATION_APPLY'])(_0x379065[_0x1eb759(0x1fe)],null)||_0x379065[_0x1eb759(0x1fe)],_0x3a9392={..._0x379065,'mutations':_0x228fbf};this[_0x1eb759(0x334)](),this[_0x1eb759(0x1e3)](this[_0x1eb759(0x155)][_0x1eb759(0x216)](_0x3a9392)),this[_0x1eb759(0x26e)]();}['_onRemoteACK'](_0x9b0c80){var _0x3df372=_0x186532;this[_0x3df372(0x334)](),this['_updateState'](this['_state']['onRemoteAck'](_0x9b0c80)),this[_0x3df372(0x26e)]();}[_0x186532(0x1e0)](_0x2c1fb5){var _0x358cfe=_0x186532;this[_0x358cfe(0x334)](),this[_0x358cfe(0x1e3)](this['_state'][_0x358cfe(0x31d)](_0x2c1fb5)),this[_0x358cfe(0x26e)]();}[_0x186532(0x1df)](_0x46e7c5){var _0x3450e6=_0x186532;this[_0x3450e6(0x334)](),this[_0x3450e6(0x1e3)](this[_0x3450e6(0x155)][_0x3450e6(0x2a1)](_0x46e7c5)),this[_0x3450e6(0x26e)]();}[_0x186532(0xd6)](_0x1f778f){var _0x2f3038=_0x186532;if(!(this[_0x2f3038(0x155)]instanceof ee))throw new TypeError(_0x2f3038(0x16d));const _0x2f0962=_0x1f778f[_0x2f3038(0x23e)](_0x3016c1=>{var _0xc0fcfb=_0x2f3038;const _0x5ab482=this[_0xc0fcfb(0x10c)][_0xc0fcfb(0x298)]['fetchThroughInterceptors'](this[_0xc0fcfb(0x10c)][_0xc0fcfb(0x298)][_0xc0fcfb(0x350)]()[_0xc0fcfb(0x287)])(_0x3016c1[_0xc0fcfb(0x1fe)],null)||_0x3016c1[_0xc0fcfb(0x1fe)];return{..._0x3016c1,'mutations':_0x5ab482};});this[_0x2f3038(0x334)](),this[_0x2f3038(0x1e3)](this[_0x2f3038(0x155)][_0x2f3038(0x2b7)](_0x2f0962)),this[_0x2f3038(0x26e)]();}['_toggleOffline'](){var _0x5946cd=_0x186532;this[_0x5946cd(0x334)](),this[_0x5946cd(0x1e3)](this[_0x5946cd(0x155)][_0x5946cd(0x199)]()),this[_0x5946cd(0x26e)]();}[_0x186532(0x345)](_0x2f0e4c=!0x1){var _0x16335a=_0x186532;this[_0x16335a(0x334)](),this[_0x16335a(0x1e3)](this[_0x16335a(0x155)][_0x16335a(0x27d)]()),this[_0x16335a(0x26e)]();const _0x217bcb=this[_0x16335a(0x155)];_0x2f0e4c&&_0x217bcb instanceof Ne&&(this[_0x16335a(0x334)](),this[_0x16335a(0x1e3)](_0x217bcb['fetchMiss']()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x499f5e=>{var _0x51d8b0=_0x5308;this[_0x51d8b0(0x1e7)]['sessionStatus$'][_0x51d8b0(0x118)](_0x139173(0x1))[_0x51d8b0(0xee)](async _0x57fdcc=>{var _0x2ca50f=_0x51d8b0;_0x499f5e(await this[_0x2ca50f(0x344)](_0x57fdcc===Ee[_0x2ca50f(0x38d)]));});});}[_0x186532(0x219)](){var _0x3065a5=_0x186532;const _0x23ae83=this[_0x3065a5(0x377)];return{'onStateChange':(_0x500bdb,_0x5a96f5)=>{var _0x5afb5e=_0x3065a5;if(_0x500bdb!==this[_0x5afb5e(0x155)])throw new Error(_0x5afb5e(0x2de)+_0x500bdb['status']+_0x5afb5e(0x2db)+_0x5a96f5[_0x5afb5e(0x14c)]+'\x0aCurrent:\x20'+this[_0x5afb5e(0x155)][_0x5afb5e(0x14c)]);this['_updateState'](_0x5a96f5);},'onSendChangeset':_0x478039=>{var _0x97011=_0x3065a5;_0x478039[_0x97011(0x37a)]||(_0x478039[_0x97011(0x37a)]=this[_0x97011(0x24e)],_0x478039['reqId']=++this[_0x97011(0x305)]);const _0x4aebee={'eventID':_0x2cc9d6[_0x97011(0x1d3)],'data':{'unitID':_0x478039[_0x97011(0x377)],'unitType':this['_type'],'changeset':_0x478039,'memberID':this[_0x97011(0x1e7)]['getMemberID']()}};this['session'][_0x97011(0x19a)](_0x4aebee,this[_0x97011(0x377)]);},'onMissingChangesets':({from:_0x83b39d,to:_0x10013e})=>{var _0xb94aaf=_0x3065a5;this[_0xb94aaf(0x380)][_0xb94aaf(0x168)](_0xb94aaf(0x2c8),_0xb94aaf(0x2e5)+_0x83b39d+_0xb94aaf(0x39f)+_0x10013e);const _0xdd03b5={'eventID':_0x2cc9d6[_0xb94aaf(0x375)],'data':{'unitID':_0x23ae83,'unitType':this[_0xb94aaf(0x166)],'from':_0x83b39d,'to':_0x10013e}};this['session'][_0xb94aaf(0x19a)](_0xdd03b5,this[_0xb94aaf(0x377)]);}};}async[_0x186532(0x344)](_0x398fbc){var _0x4965b6=_0x186532,_0x36b4c7,_0x2190af,_0x28f63d;const _0x61f86b=await((_0x36b4c7=this[_0x4965b6(0x21e)])==null?void 0x0:_0x36b4c7[_0x4965b6(0x34e)](this[_0x4965b6(0x377)])),_0x3db356=(_0x2190af=_0x61f86b==null?void 0x0:_0x61f86b[_0x4965b6(0x1fe)])!=null?_0x2190af:[],_0x4e8885=(_0x28f63d=_0x61f86b==null?void 0x0:_0x61f86b[_0x4965b6(0x1eb)])!=null?_0x28f63d:null,_0x4e4d98=!!(_0x4e8885!=null&&_0x4e8885['sid'])&&!!(_0x4e8885!=null&&_0x4e8885[_0x4965b6(0x134)]);this[_0x4965b6(0x24e)]=_0x4e4d98?_0x4e8885[_0x4965b6(0x37a)]:Zn(),this[_0x4965b6(0x305)]=_0x4e4d98?_0x4e8885['reqId']:0x0;const _0x34f5db=this[_0x4965b6(0x377)];try{this[_0x4965b6(0x1ad)](_0x4e8885,_0x3db356);}catch(_0x3f7bab){this['_logService'][_0x4965b6(0xb3)](_0x3f7bab);}const _0x2bef90=this[_0x4965b6(0x219)]();if(_0x398fbc){const _0x1c8ca3=Oi(this[_0x4965b6(0x21f)],_0x34f5db,this[_0x4965b6(0x166)],_0x4e8885,_0x3db356,_0x2bef90);return _0x1c8ca3 instanceof ae?_0x1c8ca3[_0x4965b6(0x202)]():(_0x1c8ca3 instanceof oe||_0x1c8ca3 instanceof le)&&_0x1c8ca3[_0x4965b6(0x32a)](),_0x1c8ca3;}return this[_0x4965b6(0x21f)][_0x4965b6(0x3a0)](de,_0x34f5db,this[_0x4965b6(0x166)],_0x4e8885,_0x3db356,_0x2bef90);}[_0x186532(0x1ad)](_0x4e133b,_0x562d98){var _0x553a93=_0x186532,_0x195d69,_0x531d53;const _0x5fb46c=this[_0x553a93(0x10c)][_0x553a93(0x298)][_0x553a93(0x21a)](this[_0x553a93(0x10c)]['interceptor']['getInterceptPoints']()[_0x553a93(0x287)]);(_0x195d69=_0x5fb46c((_0x4e133b==null?void 0x0:_0x4e133b[_0x553a93(0x1fe)])||[],null))==null||_0x195d69[_0x553a93(0x299)](_0x475ee2=>this[_0x553a93(0xe2)]['executeCommand'](_0x475ee2['id'],_0x475ee2[_0x553a93(0x1b6)])),(_0x531d53=_0x5fb46c(_0x562d98||[],null))==null||_0x531d53[_0x553a93(0x299)](_0x22981c=>this[_0x553a93(0xe2)][_0x553a93(0x34a)](_0x22981c['id'],_0x22981c[_0x553a93(0x1b6)]));}};nt=xt([H(0x3,_0x272a70(_0x293f16)),H(0x4,_0x272a70(_0x6d09e4)),H(0x5,_0x272a70(_0x358a43)),H(0x6,_0x272a70(_0x1bccff)),H(0x7,_0x272a70(pe)),H(0x8,_0x223ea5),H(0x9,_0x598125),H(0xa,_0x2d0fc1),H(0xb,_0x23c069(ht)),H(0xc,_0x23c069(J))],nt);let It=class extends nt{constructor(_0xdc8c6d,_0x340ac9,_0x24a425,_0x29242e,_0x101673,_0x26fb57,_0xf9b1cd,_0x377218,_0x3c838c,_0x549cc2,_0x38183a,_0x515a13,_0x2551a2){var _0x2c751a=_0x186532;super(_0xdc8c6d,_0x24a425,_0x340ac9,_0x29242e,_0x101673,_0x26fb57,_0xf9b1cd,_0x377218,_0x3c838c,_0x549cc2,_0x38183a,_0x515a13,_0x2551a2),N(this,_0x2c751a(0x36f),null),(this[_0x2c751a(0x377)]=_0xdc8c6d,this[_0x2c751a(0x3a6)]=_0x340ac9);}['addHandlerCallback'](_0x5e2c99){this['_handlerCallback']=_0x5e2c99;}['dispose'](){var _0x1c798b=_0x186532;this['_handlerCallback']=null,super[_0x1c798b(0xcc)]();}['_createHandler'](){var _0x36e846=_0x186532;const _0x4690fc=super[_0x36e846(0x219)]();return _0x4690fc[_0x36e846(0x2e3)]=_0x53bf89=>{var _0x220791=_0x36e846,_0x3cbe0a,_0x15fe07;return(_0x15fe07=(_0x3cbe0a=this['_handlerCallback'])==null?void 0x0:_0x3cbe0a[_0x220791(0x2e3)])==null?void 0x0:_0x15fe07[_0x220791(0x189)](_0x3cbe0a,_0x53bf89);},_0x4690fc['onTransformState']=_0x24fbb3=>{var _0x4291c1=_0x36e846,_0x511bc6,_0x80f23d;return(_0x80f23d=(_0x511bc6=this[_0x4291c1(0x36f)])==null?void 0x0:_0x511bc6[_0x4291c1(0x1c2)])==null?void 0x0:_0x80f23d['call'](_0x511bc6,_0x24fbb3);},_0x4690fc[_0x36e846(0xfd)]=_0x3d5dd6=>{var _0x1cd64a=_0x36e846,_0x5b19e3,_0x5efe9d;return(_0x5efe9d=(_0x5b19e3=this[_0x1cd64a(0x36f)])==null?void 0x0:_0x5b19e3['onTransformSelections'])==null?void 0x0:_0x5efe9d[_0x1cd64a(0x189)](_0x5b19e3,_0x3d5dd6);},_0x4690fc[_0x36e846(0x2a4)]=_0x4616b5=>{var _0x39008b=_0x36e846,_0x259b55,_0x277c7b;return(_0x277c7b=(_0x259b55=this[_0x39008b(0x36f)])==null?void 0x0:_0x259b55['onSyncEditingCollabCursor'])==null?void 0x0:_0x277c7b[_0x39008b(0x189)](_0x259b55,_0x4616b5);},_0x4690fc[_0x36e846(0x2b9)]=_0x371b6c=>{var _0x4bd60d=_0x36e846,_0x383cd6,_0x356183,_0x10b416;if(!((_0x383cd6=this[_0x4bd60d(0x36f)])!=null&&_0x383cd6['onTransformRemoteChangesetByIMECache']))throw new Error(_0x4bd60d(0x214));return(_0x10b416=(_0x356183=this['_handlerCallback'])==null?void 0x0:_0x356183['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x10b416[_0x4bd60d(0x189)](_0x356183,_0x371b6c);},_0x4690fc['onTransformRemoteChangesetByStateCache']=_0x1fd7bc=>{var _0x4bdd64=_0x36e846,_0x366018,_0x2018a8,_0x5a246c;if(!((_0x366018=this[_0x4bdd64(0x36f)])!=null&&_0x366018[_0x4bdd64(0x1b4)]))throw new Error(_0x4bdd64(0xbf));return(_0x5a246c=(_0x2018a8=this[_0x4bdd64(0x36f)])==null?void 0x0:_0x2018a8[_0x4bdd64(0x1b4)])==null?void 0x0:_0x5a246c[_0x4bdd64(0x189)](_0x2018a8,_0x1fd7bc);},_0x4690fc;}async[_0x186532(0x2ea)](){var _0x23368c=_0x186532;const _0x4cc618=await super[_0x23368c(0x2ea)]();return this[_0x23368c(0x322)](this[_0x23368c(0xe2)]['onCommandExecuted']((_0x86174f,_0xbd6166)=>{var _0x55deb8=_0x23368c;if(_0x86174f[_0x55deb8(0x3a6)]!==_0x11f49d[_0x55deb8(0x34d)]||_0xbd6166!=null&&_0xbd6166[_0x55deb8(0x24a)]||_0xbd6166!=null&&_0xbd6166[_0x55deb8(0x119)]||_0x86174f['id']===_0x5d2f9c['id'])return;const _0x3f0330=_0x86174f[_0x55deb8(0x1b6)];if((_0x3f0330==null?void 0x0:_0x3f0330[_0x55deb8(0x1e1)])!==this[_0x55deb8(0x377)])return;const _0x4f57b6=_0x86174f,_0x5d48b5=this[_0x55deb8(0x10c)][_0x55deb8(0x298)][_0x55deb8(0x21a)](this[_0x55deb8(0x10c)][_0x55deb8(0x298)][_0x55deb8(0x350)]()[_0x55deb8(0xd5)])([_0x4f57b6],null)||[_0x4f57b6];this['_onLocalMutation'](_0x5d48b5[0x0]);})),_0x4cc618;}};It=xt([H(0x3,_0x272a70(_0x293f16)),H(0x4,_0x272a70(_0x6d09e4)),H(0x5,_0x272a70(_0x358a43)),H(0x6,_0x272a70(_0x1bccff)),H(0x7,_0x272a70(pe)),H(0x8,_0x223ea5),H(0x9,_0x598125),H(0xa,_0x2d0fc1),H(0xb,_0x23c069(ht)),H(0xc,_0x23c069(J))],It);let Tt=class extends nt{constructor(_0x17cd48,_0x5b1361,_0x3cc633,_0x1758fc,_0x4fb934,_0x1a592a,_0x45cc56,_0x4793b6,_0x54968b,_0x4fc679,_0x5068a6,_0xde0058,_0x42bfb7,_0x265657){var _0x343f72=_0x186532;super(_0x17cd48,_0x3cc633,_0x5b1361,_0x1758fc,_0x4fb934,_0x1a592a,_0x45cc56,_0x54968b,_0x4fc679,_0x5068a6,_0xde0058,_0x42bfb7,_0x265657),this[_0x343f72(0x377)]=_0x17cd48,this['type']=_0x5b1361,this[_0x343f72(0x1b0)]=_0x4793b6;}['_createHandler'](){var _0x2561a2=_0x186532;const _0x157a2c=super[_0x2561a2(0x219)]();return _0x157a2c['onTransformSelections']=_0x43ad00=>this[_0x2561a2(0x1b0)][_0x2561a2(0x370)](_0x43ad00),_0x157a2c;}async[_0x186532(0x2ea)](){var _0x27a488=_0x186532;const _0x1b3a8a=await super[_0x27a488(0x2ea)]();return this[_0x27a488(0x322)](this[_0x27a488(0xe2)]['onCommandExecuted']((_0x21f3ae,_0xe26d6)=>{var _0x1013d8=_0x27a488;if(_0x21f3ae[_0x1013d8(0x3a6)]!==_0x11f49d[_0x1013d8(0x34d)]||_0xe26d6!=null&&_0xe26d6['fromCollab']||_0xe26d6!=null&&_0xe26d6['onlyLocal'])return;const _0x2bfcc1=_0x21f3ae[_0x1013d8(0x1b6)];if((_0x2bfcc1==null?void 0x0:_0x2bfcc1[_0x1013d8(0x1e1)])!==this[_0x1013d8(0x377)])return;const _0x581b42=_0x21f3ae,_0x493c34=this[_0x1013d8(0x10c)][_0x1013d8(0x298)]['fetchThroughInterceptors'](this[_0x1013d8(0x10c)]['interceptor'][_0x1013d8(0x350)]()[_0x1013d8(0xd5)])([_0x581b42],null)||[_0x581b42];this[_0x1013d8(0x306)](_0x493c34[0x0]);})),_0x1b3a8a;}};Tt=xt([H(0x3,_0x272a70(_0x293f16)),H(0x4,_0x272a70(_0x6d09e4)),H(0x5,_0x272a70(_0x358a43)),H(0x6,_0x272a70(_0x1bccff)),H(0x7,_0x272a70(it)),H(0x8,_0x272a70(pe)),H(0x9,_0x223ea5),H(0xa,_0x598125),H(0xb,_0x2d0fc1),H(0xc,_0x23c069(ht)),H(0xd,_0x23c069(J))],Tt);var or=Object[_0x186532(0x101)],cr=(_0x5edf25,_0x136015,_0x109efc,_0xc83605)=>{var _0x16f743=_0x186532;for(var _0x5b21a2=_0xc83605>0x1?void 0x0:_0xc83605?or(_0x136015,_0x109efc):_0x136015,_0x3dc826=_0x5edf25[_0x16f743(0x2a2)]-0x1,_0x4a8fb3;_0x3dc826>=0x0;_0x3dc826--)(_0x4a8fb3=_0x5edf25[_0x3dc826])&&(_0x5b21a2=_0x4a8fb3(_0x5b21a2)||_0x5b21a2);return _0x5b21a2;},ft=(_0x25667b,_0x35c391)=>(_0x4bbd83,_0x5457a6)=>_0x35c391(_0x4bbd83,_0x5457a6,_0x25667b);let rt=class extends _0x449df0{constructor(_0x48a299,_0x4c04e5,_0x69363f){var _0xd30455=_0x186532;super(),N(this,_0xd30455(0x24b),new Map()),N(this,_0xd30455(0x2c6),new _0x4088b8()),N(this,_0xd30455(0x17e),this[_0xd30455(0x2c6)][_0xd30455(0x32d)]()),(this[_0xd30455(0x21f)]=_0x48a299,this[_0xd30455(0x213)]=_0x4c04e5,this['_univerInstanceService']=_0x69363f,this[_0xd30455(0x2ea)]());}[_0x186532(0xcc)](){var _0x6444a6=_0x186532;super[_0x6444a6(0xcc)](),this[_0x6444a6(0x24b)]['forEach'](_0x1f0247=>_0x1f0247[_0x6444a6(0xcc)]()),this['_entities'][_0x6444a6(0x250)]();}[_0x186532(0x25d)](_0x515198){var _0x4d325b=_0x186532,_0x2a327a;return(_0x2a327a=this[_0x4d325b(0x24b)][_0x4d325b(0x357)](_0x515198))!=null?_0x2a327a:null;}[_0x186532(0x27c)](_0x1b9cf0){var _0x13310c=_0x186532;const _0x3175b9=this['getCollabEntity'](_0x1b9cf0);return _0x3175b9?_0x15bcc9(_0x3175b9):this[_0x13310c(0x2c6)][_0x13310c(0x118)](_0x569d1b(_0x8b77b2=>_0x8b77b2[_0x13310c(0x377)]===_0x1b9cf0));}['readyForCollab'](_0xa2bee7){var _0x269452=_0x186532;return _0x30ae5c(this[_0x269452(0x27c)](_0xa2bee7)['pipe'](_0x500627(()=>{})));}[_0x186532(0x2ea)](){var _0x38a2ad=_0x186532;this[_0x38a2ad(0x125)][_0x38a2ad(0x153)](_0x1b78a2[_0x38a2ad(0x12b)])[_0x38a2ad(0x118)](_0x1f8b48(this[_0x38a2ad(0x140)]),_0x2ad3e9(0x10))[_0x38a2ad(0xee)](async _0x549aa2=>{var _0x4dfc43=_0x38a2ad;const _0x5046bf=_0x549aa2[_0x4dfc43(0x1f5)](),_0x1b8701=await this[_0x4dfc43(0x22b)](_0x5046bf,Q['UNIVER_SHEET']);this[_0x4dfc43(0x24b)][_0x4dfc43(0x128)](_0x5046bf,_0x1b8701);}),this['_univerInstanceService'][_0x38a2ad(0x153)](_0x1b78a2[_0x38a2ad(0x2b8)])['pipe'](_0x1f8b48(this['dispose$']),_0x2ad3e9(0x10))['pipe'](_0x569d1b(_0x144beb=>!_0x144beb[_0x38a2ad(0x1f5)]()[_0x38a2ad(0x11c)]('__')))[_0x38a2ad(0xee)](async _0x47e1a3=>{var _0x1698c8=_0x38a2ad;const _0x5011aa=_0x47e1a3[_0x1698c8(0x1f5)](),_0x4fa3b0=await this[_0x1698c8(0x22b)](_0x5011aa,Q[_0x1698c8(0x2b8)]);this[_0x1698c8(0x24b)][_0x1698c8(0x128)](_0x5011aa,_0x4fa3b0);}),_0x34a5b4(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1b78a2['UNIVER_SHEET']),this[_0x38a2ad(0x125)][_0x38a2ad(0x236)](_0x1b78a2[_0x38a2ad(0x2b8)]))['pipe'](_0x1f8b48(this[_0x38a2ad(0x140)]))[_0x38a2ad(0xee)](_0x58a026=>{var _0x346b42=_0x38a2ad;const _0x53e286=_0x58a026['getUnitId'](),_0x545338=this[_0x346b42(0x24b)]['get'](_0x53e286);_0x545338&&(_0x545338[_0x346b42(0xcc)](),this[_0x346b42(0x24b)][_0x346b42(0x2da)](_0x53e286));});}async['_startCollaboration'](_0x347cdb,_0x28fed3){var _0xab9aa1=_0x186532;const _0x1492d5=await this[_0xab9aa1(0x213)][_0xab9aa1(0xfc)](_0x347cdb),_0x3e7c14=this[_0xab9aa1(0x21f)][_0xab9aa1(0x3a0)](this['_getCtorByUniverType'](_0x28fed3),_0x347cdb,_0x28fed3,_0x1492d5);return await _0x3e7c14[_0xab9aa1(0x194)](),this['_entityInit$']['next'](_0x3e7c14),_0x3e7c14;}[_0x186532(0x364)](_0x341891){var _0x5dbdd5=_0x186532;switch(_0x341891){case Q[_0x5dbdd5(0x2b8)]:return It;case Q[_0x5dbdd5(0x12b)]:return Tt;default:throw new Error(_0x5dbdd5(0x161)+_0x341891);}}};rt=cr([ft(0x0,_0x272a70(_0x293f16)),ft(0x1,_0x272a70(Le)),ft(0x2,_0x23ebe5)],rt);var hr=Object[_0x186532(0x101)],_r=(_0x2bde75,_0x25c7bc,_0x2e229a,_0x31ad94)=>{for(var _0x221773=_0x31ad94>0x1?void 0x0:_0x31ad94?hr(_0x25c7bc,_0x2e229a):_0x25c7bc,_0x20c768=_0x2bde75['length']-0x1,_0x3550a8;_0x20c768>=0x0;_0x20c768--)(_0x3550a8=_0x2bde75[_0x20c768])&&(_0x221773=_0x3550a8(_0x221773)||_0x221773);return _0x221773;},zt=(_0x18fe29,_0x333008)=>(_0x30476c,_0x4d8550)=>_0x333008(_0x30476c,_0x4d8550,_0x18fe29);const lr=_0x186532(0x264),ur=_0x186532(0x336);let Ct=class extends _0x56cd2c{constructor(_0x5ae783,_0x4e920a){var _0x48fe0c=_0x186532;super(),this[_0x48fe0c(0x125)]=_0x5ae783,this[_0x48fe0c(0xdf)]=_0x4e920a,this[_0x48fe0c(0x2ea)]();}[_0x186532(0x2ea)](){var _0x48a8d4=_0x186532;this['disposeWithMe'](this['_univerInstanceService'][_0x48a8d4(0x309)][_0x48a8d4(0xee)](()=>{var _0x2b49ba=_0x48a8d4,_0x111f23;const _0x1798ea=this[_0x2b49ba(0x125)][_0x2b49ba(0xf9)]();let _0x3c8f28=(_0x111f23=this[_0x2b49ba(0xdf)]['getConfig'](lr))!=null?_0x111f23:ur;_0x1798ea instanceof _0xd88f5f&&(_0x3c8f28=_0x1798ea[_0x2b49ba(0x11b)]),document[_0x2b49ba(0x280)]=_0x3c8f28;}));}};Ct=_r([zt(0x0,_0x23ebe5),zt(0x1,_0xc7a031)],Ct);var dr=Object[_0x186532(0x101)],fr=(_0x2a8738,_0x47cfda,_0x5b9e40,_0x12f397)=>{var _0x30233d=_0x186532;for(var _0x4faa48=_0x12f397>0x1?void 0x0:_0x12f397?dr(_0x47cfda,_0x5b9e40):_0x47cfda,_0x19dce9=_0x2a8738[_0x30233d(0x2a2)]-0x1,_0x2874f0;_0x19dce9>=0x0;_0x19dce9--)(_0x2874f0=_0x2a8738[_0x19dce9])&&(_0x4faa48=_0x2874f0(_0x4faa48)||_0x4faa48);return _0x4faa48;},vt=(_0x1bf5ae,_0x21a7c7)=>(_0xd755e,_0x1ea875)=>_0x21a7c7(_0xd755e,_0x1ea875,_0x1bf5ae);let st=class{constructor(_0x435749,_0x265b41,_0x22ab57){var _0x31499d=_0x186532;this['_configService']=_0x435749,this[_0x31499d(0x26f)]=_0x265b41,this['localeService']=_0x22ab57,this['init']();}['init'](){var _0x4aef57=_0x186532;this['_httpService'][_0x4aef57(0x243)]({'priority':0x1,'interceptor':(_0x1c63f0,_0x1cbb05)=>_0x1cbb05(_0x1c63f0)['pipe'](_0x16bdac(async _0x23d493=>{var _0x521555=_0x4aef57;const _0x3aebb6=_0x23d493;if(_0x3aebb6[_0x521555(0x14c)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x521555(0x181)](this[_0x521555(0x276)]['t'](_0x521555(0xc3)))){const _0xb2d467=window[_0x521555(0x2a3)](window['location'][_0x521555(0x158)]);window[_0x521555(0x391)]['href']=this[_0x521555(0xdd)]()+_0x521555(0x288)+_0xb2d467;}}return _0x3aebb6;}))});}['_getLoginPath'](){var _0x3a7462=_0x186532,_0x45385a,_0x2c4842;const _0x1c15ff=this[_0x3a7462(0xdf)][_0x3a7462(0x3a7)](Un),_0x5ed748=this[_0x3a7462(0xdf)][_0x3a7462(0x3a7)](q);return(_0x2c4842=(_0x45385a=_0x5ed748==null?void 0x0:_0x5ed748[_0x3a7462(0x1f7)])!=null?_0x45385a:_0x1c15ff)!=null?_0x2c4842:wn;}};st=fr([vt(0x0,_0xc7a031),vt(0x1,_0x272a70(_0x2129a6)),vt(0x2,_0x272a70(_0x358a43))],st);var vr=Object[_0x186532(0x101)],pr=(_0x4d2c06,_0x663a96,_0x5098a3,_0x3c394e)=>{var _0x5964ff=_0x186532;for(var _0x3a60eb=_0x3c394e>0x1?void 0x0:_0x3c394e?vr(_0x663a96,_0x5098a3):_0x663a96,_0x57dfe4=_0x4d2c06[_0x5964ff(0x2a2)]-0x1,_0x4ea8b5;_0x57dfe4>=0x0;_0x57dfe4--)(_0x4ea8b5=_0x4d2c06[_0x57dfe4])&&(_0x3a60eb=_0x4ea8b5(_0x3a60eb)||_0x3a60eb);return _0x3a60eb;},Jt=(_0x5cab5a,_0x526df0)=>(_0x243131,_0x22cf45)=>_0x526df0(_0x243131,_0x22cf45,_0x5cab5a);const Ni=_0x186532(0x271),mr=_0x186532(0x2be);let Rt=class extends _0x56cd2c{constructor(_0x29f6b6,_0x74440f){var _0xda6355=_0x186532;super(),this['_HTTPService']=_0x29f6b6,this[_0xda6355(0xdf)]=_0x74440f,this[_0xda6355(0x390)]();}[_0x186532(0x390)](){var _0x2a4ce8=_0x186532;const _0x141e42=this;this[_0x2a4ce8(0x322)](this[_0x2a4ce8(0xe4)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x190efa({'isMatch'(_0x2ba2cc){var _0x510549=_0x2a4ce8,_0x47f370;if(_0x2ba2cc[_0x510549(0x2d8)]==='POST'&&((_0x47f370=_0x2ba2cc[_0x510549(0x2c7)])!=null&&_0x47f370[_0x510549(0x310)])){const {objectID:_0x4205d3,objectType:_0x456b67}=_0x2ba2cc[_0x510549(0x2c7)][_0x510549(0x310)]||{};if(!_0x4205d3||_0x456b67===void 0x0)return!0x1;const _0x2cb03c=_0x141e42['_getAPIPrefixPath']()+'/'+_0x456b67+_0x510549(0xf7)+_0x4205d3+_0x510549(0x122);if(_0x2ba2cc[_0x510549(0x373)]===_0x2cb03c)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x77c7ae){var _0x4a522f=_0x2a4ce8,_0x180aae;return(_0x180aae=_0x77c7ae['requestParams'])==null?void 0x0:_0x180aae[_0x4a522f(0x310)];},'mergeParamsToRequest'(_0x320f12,_0x125612){var _0x31897e=_0x2a4ce8;const _0x533928=_0x141e42[_0x31897e(0x191)]()+_0x31897e(0x2aa),_0x86c27d=_0x320f12[_0x31897e(0xc4)]((_0x68a860,_0x25d8ad)=>{var _0x5521eb=_0x31897e;const {unitID:_0x4eca1a,objectID:_0x52e25d,objectType:_0x56fce0,actions:_0x162ddb}=_0x25d8ad;return _0x68a860[_0x4eca1a]||(_0x68a860[_0x4eca1a]={}),_0x68a860[_0x4eca1a][_0x52e25d]||(_0x68a860[_0x4eca1a][_0x52e25d]={'objectID':_0x52e25d,'objectType':_0x56fce0,'actions':[]}),_0x68a860[_0x4eca1a][_0x52e25d]['actions'][_0x5521eb(0x282)](..._0x162ddb),_0x68a860;},{}),_0x3abaf5=[];for(const _0x34208d in _0x86c27d)for(const _0x58a6a1 in _0x86c27d[_0x34208d]){const {actions:_0x212065,objectType:_0x486ca1}=_0x86c27d[_0x34208d][_0x58a6a1],_0x440107=[...new Set(_0x212065)];_0x3abaf5[_0x31897e(0x282)]({'unitID':_0x34208d,'objectID':_0x58a6a1,'objectType':_0x486ca1,'actions':_0x440107});}return new _0x514671(_0x31897e(0x230),_0x533928,{'headers':_0x125612[_0x31897e(0x2ee)],'withCredentials':_0x125612[_0x31897e(0x36e)],'responseType':_0x125612[_0x31897e(0x23f)],'body':{'requests':_0x3abaf5}});}},{'distributeResult'(_0x4c64f5,_0x4080f7){var _0x50d8d7=_0x2a4ce8;const {objectActions:_0x1c9010}=_0x4c64f5;return _0x4080f7[_0x50d8d7(0x23e)](_0xd5c45a=>{var _0x4b21a8=_0x50d8d7;const {unitID:_0x4d3cd5,objectID:_0x2528b1,actions:_0x3d429e}=_0xd5c45a,_0x571fdc=_0x1c9010[_0x4b21a8(0x2e9)](_0x2b8765=>_0x2b8765[_0x4b21a8(0x377)]===_0x4d3cd5&&_0x2b8765[_0x4b21a8(0x389)]===_0x2528b1),_0x384b54=_0x3d429e['map'](_0xf98a76=>_0x571fdc==null?void 0x0:_0x571fdc[_0x4b21a8(0x152)][_0x4b21a8(0x2e9)](_0x2a95ab=>_0x2a95ab[_0x4b21a8(0x3a1)]===_0xf98a76))[_0x4b21a8(0xcd)](_0x2c07a3=>!!_0x2c07a3);return{'config':_0xd5c45a,'result':{'actions':_0x384b54,'error':_0x4c64f5[_0x4b21a8(0xb3)]}};});}})}));}[_0x186532(0x191)](){var _0x392b2b=_0x186532,_0x524e2e,_0x598c3b;const _0x408fe5=this[_0x392b2b(0xdf)][_0x392b2b(0x3a7)](Ni),_0x5344c1=this[_0x392b2b(0xdf)]['getConfig'](q);return(_0x598c3b=(_0x524e2e=_0x5344c1==null?void 0x0:_0x5344c1['authzUrl'])!=null?_0x524e2e:_0x408fe5)!=null?_0x598c3b:mr;}async[_0x186532(0x1bb)](_0x60cd7a){var _0x5f26b8=_0x186532;const _0x37897c=this[_0x5f26b8(0x191)]()+'/'+_0x60cd7a[_0x5f26b8(0x1c4)]+'/object';return(await this['_HTTPService']['post'](_0x37897c,{'body':_0x60cd7a}))[_0x5f26b8(0x310)][_0x5f26b8(0x389)]||'';}async[_0x186532(0x34c)](_0x259122){var _0x1780d3=_0x186532;const _0x4e2c18=this['_getAPIPrefixPath']()+_0x1780d3(0x180);return(await this[_0x1780d3(0xe4)][_0x1780d3(0x1ab)](_0x4e2c18,{'body':_0x259122}))[_0x1780d3(0x310)][_0x1780d3(0x371)];}async[_0x186532(0x15c)](_0x9dacb3){var _0x1a453f=_0x186532,_0x256908,_0x46443a;const _0x6b8316=this[_0x1a453f(0x191)]()+'/'+_0x9dacb3[_0x1a453f(0x1c4)]+_0x1a453f(0xf7)+_0x9dacb3['objectID'],_0x13b940=await this[_0x1a453f(0xe4)][_0x1a453f(0x159)](_0x6b8316,{'body':_0x9dacb3});if(((_0x46443a=(_0x256908=_0x13b940==null?void 0x0:_0x13b940[_0x1a453f(0x310)])==null?void 0x0:_0x256908['error'])==null?void 0x0:_0x46443a[_0x1a453f(0x195)])!==0x0)throw new Error('Failed\x20to\x20update\x20permission\x20point');}async[_0x186532(0x114)](_0x5230d8){var _0x498176=_0x186532;const _0x57047d=this[_0x498176(0x191)]()+'/'+_0x5230d8[_0x498176(0x1c4)]+_0x498176(0xf7)+_0x5230d8[_0x498176(0x389)]+_0x498176(0x122);return(await this[_0x498176(0xe4)][_0x498176(0x1ab)](_0x57047d,{'body':_0x5230d8}))[_0x498176(0x310)][_0x498176(0x152)];}async['batchAllowed'](_0x3349e9){var _0x141e29=_0x186532;const _0x925e26=this['_getAPIPrefixPath']()+_0x141e29(0x2aa);return(await this[_0x141e29(0xe4)]['post'](_0x925e26,{'body':{'requests':_0x3349e9}}))[_0x141e29(0x310)][_0x141e29(0x349)];}async[_0x186532(0x33e)](_0x228390){var _0x331bc6=_0x186532;const _0x355dc3=this[_0x331bc6(0x191)]()+'/'+_0x228390[_0x331bc6(0x1c4)]+_0x331bc6(0x316),_0x51a837=await this['_HTTPService'][_0x331bc6(0x1ab)](_0x355dc3,{'body':_0x228390});return{'roles':_0x51a837[_0x331bc6(0x310)]['roles'],'actions':_0x51a837['body']['actions']};}async[_0x186532(0x221)](_0x593040){var _0x26471b=_0x186532;const _0x5590a5=this[_0x26471b(0x191)]()+_0x26471b(0x186);await this['_HTTPService'][_0x26471b(0x2da)](_0x5590a5,{'params':{'collaboratorID':_0x593040[_0x26471b(0x3a4)],'objectID':_0x593040[_0x26471b(0x389)],'unitID':_0x593040[_0x26471b(0x377)]}});}async[_0x186532(0x150)](_0x1023b6){var _0x34df39=_0x186532;const _0x5623a6=this['_getAPIPrefixPath']()+_0x34df39(0x186);await this['_HTTPService'][_0x34df39(0x31f)](_0x5623a6,{'body':_0x1023b6});}async[_0x186532(0x35e)](_0x3d91d6){var _0x5e5ecc=_0x186532;const _0x208b2e=this[_0x5e5ecc(0x191)]()+_0x5e5ecc(0x186);await this[_0x5e5ecc(0xe4)]['post'](_0x208b2e,{'body':_0x3d91d6});}async[_0x186532(0x372)](_0x39e057){var _0xaa0bbc=_0x186532;const _0x8b3759=this[_0xaa0bbc(0x191)]()+_0xaa0bbc(0x186);return(await this[_0xaa0bbc(0xe4)]['get'](_0x8b3759,{'params':{'objectID':_0x39e057[_0xaa0bbc(0x389)],'unitID':_0x39e057['unitID']}}))[_0xaa0bbc(0x310)][_0xaa0bbc(0x2ed)];}async[_0x186532(0x285)](_0x35c8fe){var _0x58a3e9=_0x186532;const _0x3b650e=this[_0x58a3e9(0x191)]()+_0x58a3e9(0x186);await this['_HTTPService']['put'](_0x3b650e,{'body':_0x35c8fe});}};Rt=pr([Jt(0x0,_0x272a70(_0x2129a6)),Jt(0x1,_0x272a70(_0xc7a031))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x48fd4f){var _0x2d2da9=_0x186532;return _0x48fd4f&&_0x48fd4f[_0x2d2da9(0x224)]&&Object[_0x2d2da9(0xc2)][_0x2d2da9(0x16a)][_0x2d2da9(0x189)](_0x48fd4f,_0x2d2da9(0x34b))?_0x48fd4f[_0x2d2da9(0x34b)]:_0x48fd4f;}var Ve={'exports':{}};function gr(_0x387b8c){var _0x46becf=_0x186532;throw new Error(_0x46becf(0xc8)+_0x387b8c+_0x46becf(0x117));}var Ge={'exports':{}},Sr=Ge[_0x186532(0x2d1)],Xt;function ie(){var _0x1195d0=_0x186532;return Xt||(Xt=0x1,function(_0x53c9ce,_0x1dbb2c){(function(_0x536402,_0x8ebb8c){_0x53c9ce['exports']=_0x8ebb8c();}(Sr,function(){var _0x4915e7=_0x4915e7||function(_0x3ffe7c,_0x387ca8){var _0x2d4d23=_0x5308,_0x2623bd;if(typeof window<'u'&&window['crypto']&&(_0x2623bd=window[_0x2d4d23(0x2e8)]),typeof self<'u'&&self[_0x2d4d23(0x2e8)]&&(_0x2623bd=self[_0x2d4d23(0x2e8)]),typeof globalThis<'u'&&globalThis[_0x2d4d23(0x2e8)]&&(_0x2623bd=globalThis[_0x2d4d23(0x2e8)]),!_0x2623bd&&typeof window<'u'&&window[_0x2d4d23(0xf1)]&&(_0x2623bd=window[_0x2d4d23(0xf1)]),!_0x2623bd&&typeof pt<'u'&&pt[_0x2d4d23(0x2e8)]&&(_0x2623bd=pt[_0x2d4d23(0x2e8)]),!_0x2623bd&&typeof gr==_0x2d4d23(0x182))try{_0x2623bd=require(_0x2d4d23(0x2e8));}catch{}var _0x2ce5c0=function(){var _0x2c3784=_0x2d4d23;if(_0x2623bd){if(typeof _0x2623bd['getRandomValues']==_0x2c3784(0x182))try{return _0x2623bd[_0x2c3784(0x10e)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2623bd['randomBytes']=='function')try{return _0x2623bd[_0x2c3784(0x19e)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2c3784(0x339));},_0x52284f=Object[_0x2d4d23(0x1bb)]||(function(){function _0x431bb6(){}return function(_0x351e3e){var _0x598cf4=_0x5308,_0x312c58;return _0x431bb6[_0x598cf4(0xc2)]=_0x351e3e,_0x312c58=new _0x431bb6(),_0x431bb6[_0x598cf4(0xc2)]=null,_0x312c58;};}()),_0x54ff50={},_0x2b504b=_0x54ff50['lib']={},_0x1b8f9a=_0x2b504b[_0x2d4d23(0x10f)]=(function(){return{'extend':function(_0x3e8e94){var _0x3f2ffd=_0x5308,_0x40cc76=_0x52284f(this);return _0x3e8e94&&_0x40cc76[_0x3f2ffd(0x1dd)](_0x3e8e94),(!_0x40cc76[_0x3f2ffd(0x16a)](_0x3f2ffd(0x194))||this['init']===_0x40cc76[_0x3f2ffd(0x194)])&&(_0x40cc76[_0x3f2ffd(0x194)]=function(){var _0x201116=_0x3f2ffd;_0x40cc76[_0x201116(0x1db)]['init']['apply'](this,arguments);}),_0x40cc76['init'][_0x3f2ffd(0xc2)]=_0x40cc76,_0x40cc76['$super']=this,_0x40cc76;},'create':function(){var _0x4e26bd=_0x5308,_0x429055=this[_0x4e26bd(0x330)]();return _0x429055[_0x4e26bd(0x194)][_0x4e26bd(0x2bc)](_0x429055,arguments),_0x429055;},'init':function(){},'mixIn':function(_0x33b2f8){var _0x2008bd=_0x5308;for(var _0xaea33d in _0x33b2f8)_0x33b2f8[_0x2008bd(0x16a)](_0xaea33d)&&(this[_0xaea33d]=_0x33b2f8[_0xaea33d]);_0x33b2f8['hasOwnProperty']('toString')&&(this[_0x2008bd(0x2e0)]=_0x33b2f8[_0x2008bd(0x2e0)]);},'clone':function(){var _0xe2c6e7=_0x5308;return this[_0xe2c6e7(0x194)][_0xe2c6e7(0xc2)][_0xe2c6e7(0x330)](this);}};}()),_0x544e71=_0x2b504b[_0x2d4d23(0x15f)]=_0x1b8f9a['extend']({'init':function(_0x174e6b,_0x58bf27){var _0x2e58bc=_0x2d4d23;_0x174e6b=this[_0x2e58bc(0xbc)]=_0x174e6b||[],_0x58bf27!=_0x387ca8?this['sigBytes']=_0x58bf27:this[_0x2e58bc(0x279)]=_0x174e6b[_0x2e58bc(0x2a2)]*0x4;},'toString':function(_0x4ad959){return(_0x4ad959||_0x1249ae)['stringify'](this);},'concat':function(_0xf36267){var _0x4841ca=_0x2d4d23,_0x35d8f5=this['words'],_0x147a89=_0xf36267['words'],_0x57f0ee=this[_0x4841ca(0x279)],_0x440c88=_0xf36267['sigBytes'];if(this[_0x4841ca(0x1cb)](),_0x57f0ee%0x4)for(var _0x3fc30a=0x0;_0x3fc30a<_0x440c88;_0x3fc30a++){var _0x20c3b7=_0x147a89[_0x3fc30a>>>0x2]>>>0x18-_0x3fc30a%0x4*0x8&0xff;_0x35d8f5[_0x57f0ee+_0x3fc30a>>>0x2]|=_0x20c3b7<<0x18-(_0x57f0ee+_0x3fc30a)%0x4*0x8;}else{for(var _0x19f527=0x0;_0x19f527<_0x440c88;_0x19f527+=0x4)_0x35d8f5[_0x57f0ee+_0x19f527>>>0x2]=_0x147a89[_0x19f527>>>0x2];}return this[_0x4841ca(0x279)]+=_0x440c88,this;},'clamp':function(){var _0x379fd9=_0x2d4d23,_0x1941a7=this[_0x379fd9(0xbc)],_0x330fc8=this[_0x379fd9(0x279)];_0x1941a7[_0x330fc8>>>0x2]&=0xffffffff<<0x20-_0x330fc8%0x4*0x8,_0x1941a7[_0x379fd9(0x2a2)]=_0x3ffe7c[_0x379fd9(0x2ac)](_0x330fc8/0x4);},'clone':function(){var _0x57875f=_0x2d4d23,_0x143935=_0x1b8f9a[_0x57875f(0x175)][_0x57875f(0x189)](this);return _0x143935[_0x57875f(0xbc)]=this['words'][_0x57875f(0x217)](0x0),_0x143935;},'random':function(_0x5cedff){var _0x34ed59=_0x2d4d23;for(var _0x210256=[],_0x8f62ba=0x0;_0x8f62ba<_0x5cedff;_0x8f62ba+=0x4)_0x210256[_0x34ed59(0x282)](_0x2ce5c0());return new _0x544e71[(_0x34ed59(0x194))](_0x210256,_0x5cedff);}}),_0x3514b2=_0x54ff50[_0x2d4d23(0x333)]={},_0x1249ae=_0x3514b2[_0x2d4d23(0x25e)]={'stringify':function(_0x4f89e5){var _0x9e19d9=_0x2d4d23;for(var _0x3174d7=_0x4f89e5[_0x9e19d9(0xbc)],_0x513acc=_0x4f89e5[_0x9e19d9(0x279)],_0x5d7cb4=[],_0x29d828=0x0;_0x29d828<_0x513acc;_0x29d828++){var _0x328c7c=_0x3174d7[_0x29d828>>>0x2]>>>0x18-_0x29d828%0x4*0x8&0xff;_0x5d7cb4[_0x9e19d9(0x282)]((_0x328c7c>>>0x4)[_0x9e19d9(0x2e0)](0x10)),_0x5d7cb4[_0x9e19d9(0x282)]((_0x328c7c&0xf)[_0x9e19d9(0x2e0)](0x10));}return _0x5d7cb4[_0x9e19d9(0x2d9)]('');},'parse':function(_0x2c679c){var _0x256fc1=_0x2d4d23;for(var _0x31c784=_0x2c679c['length'],_0x4cff3e=[],_0x5bb3b8=0x0;_0x5bb3b8<_0x31c784;_0x5bb3b8+=0x2)_0x4cff3e[_0x5bb3b8>>>0x3]|=parseInt(_0x2c679c[_0x256fc1(0x2ce)](_0x5bb3b8,0x2),0x10)<<0x18-_0x5bb3b8%0x8*0x4;return new _0x544e71['init'](_0x4cff3e,_0x31c784/0x2);}},_0x1ae484=_0x3514b2[_0x2d4d23(0x2ff)]={'stringify':function(_0x30b453){var _0x278bbb=_0x2d4d23;for(var _0x46d36f=_0x30b453[_0x278bbb(0xbc)],_0x52b1ba=_0x30b453[_0x278bbb(0x279)],_0x485153=[],_0x4e0315=0x0;_0x4e0315<_0x52b1ba;_0x4e0315++){var _0x225926=_0x46d36f[_0x4e0315>>>0x2]>>>0x18-_0x4e0315%0x4*0x8&0xff;_0x485153['push'](String[_0x278bbb(0xde)](_0x225926));}return _0x485153[_0x278bbb(0x2d9)]('');},'parse':function(_0x1083d6){var _0x406b05=_0x2d4d23;for(var _0x1b9194=_0x1083d6['length'],_0x100f4d=[],_0x21c089=0x0;_0x21c089<_0x1b9194;_0x21c089++)_0x100f4d[_0x21c089>>>0x2]|=(_0x1083d6[_0x406b05(0x29f)](_0x21c089)&0xff)<<0x18-_0x21c089%0x4*0x8;return new _0x544e71[(_0x406b05(0x194))](_0x100f4d,_0x1b9194);}},_0x5bb632=_0x3514b2[_0x2d4d23(0x2f9)]={'stringify':function(_0x4d3153){var _0x46e68e=_0x2d4d23;try{return decodeURIComponent(escape(_0x1ae484[_0x46e68e(0x329)](_0x4d3153)));}catch{throw new Error(_0x46e68e(0x1f6));}},'parse':function(_0x31d7be){var _0x156507=_0x2d4d23;return _0x1ae484[_0x156507(0x178)](unescape(encodeURIComponent(_0x31d7be)));}},_0x478e2d=_0x2b504b['BufferedBlockAlgorithm']=_0x1b8f9a[_0x2d4d23(0x330)]({'reset':function(){var _0xc06708=_0x2d4d23;this[_0xc06708(0x2f1)]=new _0x544e71[(_0xc06708(0x194))](),this['_nDataBytes']=0x0;},'_append':function(_0x3568d3){var _0x487bfa=_0x2d4d23;typeof _0x3568d3==_0x487bfa(0x384)&&(_0x3568d3=_0x5bb632[_0x487bfa(0x178)](_0x3568d3)),this[_0x487bfa(0x2f1)][_0x487bfa(0x232)](_0x3568d3),this['_nDataBytes']+=_0x3568d3[_0x487bfa(0x279)];},'_process':function(_0x286b9c){var _0x4b0b95=_0x2d4d23,_0x194038,_0x1b7be1=this['_data'],_0x33cbff=_0x1b7be1[_0x4b0b95(0xbc)],_0x4ab9ed=_0x1b7be1[_0x4b0b95(0x279)],_0x1b706d=this[_0x4b0b95(0x13f)],_0x3666d8=_0x1b706d*0x4,_0x1ad2fb=_0x4ab9ed/_0x3666d8;_0x286b9c?_0x1ad2fb=_0x3ffe7c[_0x4b0b95(0x2ac)](_0x1ad2fb):_0x1ad2fb=_0x3ffe7c[_0x4b0b95(0x14d)]((_0x1ad2fb|0x0)-this['_minBufferSize'],0x0);var _0x24da08=_0x1ad2fb*_0x1b706d,_0x55f4e1=_0x3ffe7c['min'](_0x24da08*0x4,_0x4ab9ed);if(_0x24da08){for(var _0x3fae81=0x0;_0x3fae81<_0x24da08;_0x3fae81+=_0x1b706d)this[_0x4b0b95(0x238)](_0x33cbff,_0x3fae81);_0x194038=_0x33cbff[_0x4b0b95(0x196)](0x0,_0x24da08),_0x1b7be1[_0x4b0b95(0x279)]-=_0x55f4e1;}return new _0x544e71[(_0x4b0b95(0x194))](_0x194038,_0x55f4e1);},'clone':function(){var _0x3893ea=_0x2d4d23,_0x328fab=_0x1b8f9a[_0x3893ea(0x175)]['call'](this);return _0x328fab[_0x3893ea(0x2f1)]=this['_data']['clone'](),_0x328fab;},'_minBufferSize':0x0});_0x2b504b['Hasher']=_0x478e2d[_0x2d4d23(0x330)]({'cfg':_0x1b8f9a['extend'](),'init':function(_0x3402df){var _0x19b24b=_0x2d4d23;this[_0x19b24b(0x2ae)]=this['cfg'][_0x19b24b(0x330)](_0x3402df),this['reset']();},'reset':function(){var _0x1d9a40=_0x2d4d23;_0x478e2d[_0x1d9a40(0x39d)]['call'](this),this[_0x1d9a40(0x398)]();},'update':function(_0x3d2c94){var _0x21fda6=_0x2d4d23;return this[_0x21fda6(0x1dc)](_0x3d2c94),this[_0x21fda6(0x290)](),this;},'finalize':function(_0x1d44d4){_0x1d44d4&&this['_append'](_0x1d44d4);var _0xeb745b=this['_doFinalize']();return _0xeb745b;},'blockSize':0x10,'_createHelper':function(_0x4a150e){return function(_0x893e6f,_0x4027e2){var _0x1ea0f6=_0x5308;return new _0x4a150e['init'](_0x4027e2)[_0x1ea0f6(0xd7)](_0x893e6f);};},'_createHmacHelper':function(_0x49cbe7){return function(_0x3460ff,_0xde1d57){var _0x33a049=_0x5308;return new _0x9ccbec['HMAC'][(_0x33a049(0x194))](_0x49cbe7,_0xde1d57)[_0x33a049(0xd7)](_0x3460ff);};}});var _0x9ccbec=_0x54ff50[_0x2d4d23(0xc5)]={};return _0x54ff50;}(Math);return _0x4915e7;}));}(Ge)),Ge[_0x1195d0(0x2d1)];}var We={'exports':{}},Er=We[_0x186532(0x2d1)],Zt;function Di(){var _0x31495d=_0x186532;return Zt||(Zt=0x1,function(_0x5dde4d,_0x5ca590){(function(_0x50bb24,_0xb52fe9){_0x5dde4d['exports']=_0xb52fe9(ie());}(Er,function(_0x15820d){var _0x4b5b59=_0x5308;return(function(){var _0x231ea2=_0x5308,_0x58563c=_0x15820d,_0x58e8c0=_0x58563c[_0x231ea2(0x19b)],_0x1a519a=_0x58e8c0[_0x231ea2(0x15f)],_0x1a1c68=_0x58563c[_0x231ea2(0x333)];_0x1a1c68['Base64']={'stringify':function(_0x210c3b){var _0x261818=_0x231ea2,_0x28bae4=_0x210c3b['words'],_0x57d314=_0x210c3b[_0x261818(0x279)],_0x1fec4e=this[_0x261818(0x38b)];_0x210c3b['clamp']();for(var _0x434aa4=[],_0x22d986=0x0;_0x22d986<_0x57d314;_0x22d986+=0x3)for(var _0x2d128e=_0x28bae4[_0x22d986>>>0x2]>>>0x18-_0x22d986%0x4*0x8&0xff,_0x58da19=_0x28bae4[_0x22d986+0x1>>>0x2]>>>0x18-(_0x22d986+0x1)%0x4*0x8&0xff,_0x454af4=_0x28bae4[_0x22d986+0x2>>>0x2]>>>0x18-(_0x22d986+0x2)%0x4*0x8&0xff,_0x381f85=_0x2d128e<<0x10|_0x58da19<<0x8|_0x454af4,_0x1a9b09=0x0;_0x1a9b09<0x4&&_0x22d986+_0x1a9b09*0.75<_0x57d314;_0x1a9b09++)_0x434aa4[_0x261818(0x282)](_0x1fec4e[_0x261818(0x36d)](_0x381f85>>>0x6*(0x3-_0x1a9b09)&0x3f));var _0x166669=_0x1fec4e[_0x261818(0x36d)](0x40);if(_0x166669){for(;_0x434aa4[_0x261818(0x2a2)]%0x4;)_0x434aa4[_0x261818(0x282)](_0x166669);}return _0x434aa4[_0x261818(0x2d9)]('');},'parse':function(_0x536363){var _0x4dd875=_0x231ea2,_0x46bab9=_0x536363[_0x4dd875(0x2a2)],_0x5b8e7f=this[_0x4dd875(0x38b)],_0x2bd6d7=this['_reverseMap'];if(!_0x2bd6d7){_0x2bd6d7=this[_0x4dd875(0x351)]=[];for(var _0x314add=0x0;_0x314add<_0x5b8e7f[_0x4dd875(0x2a2)];_0x314add++)_0x2bd6d7[_0x5b8e7f[_0x4dd875(0x29f)](_0x314add)]=_0x314add;}var _0x5b364c=_0x5b8e7f[_0x4dd875(0x36d)](0x40);if(_0x5b364c){var _0x427561=_0x536363[_0x4dd875(0x248)](_0x5b364c);_0x427561!==-0x1&&(_0x46bab9=_0x427561);}return _0x339cd7(_0x536363,_0x46bab9,_0x2bd6d7);},'_map':_0x231ea2(0x2e6)};function _0x339cd7(_0x31a7d8,_0x5ea4aa,_0x7b6c7c){var _0x1ffb8d=_0x231ea2;for(var _0x4cb61c=[],_0x440e1b=0x0,_0x5e54c3=0x0;_0x5e54c3<_0x5ea4aa;_0x5e54c3++)if(_0x5e54c3%0x4){var _0x6d59d8=_0x7b6c7c[_0x31a7d8[_0x1ffb8d(0x29f)](_0x5e54c3-0x1)]<<_0x5e54c3%0x4*0x2,_0x4532c3=_0x7b6c7c[_0x31a7d8[_0x1ffb8d(0x29f)](_0x5e54c3)]>>>0x6-_0x5e54c3%0x4*0x2,_0x589624=_0x6d59d8|_0x4532c3;_0x4cb61c[_0x440e1b>>>0x2]|=_0x589624<<0x18-_0x440e1b%0x4*0x8,_0x440e1b++;}return _0x1a519a[_0x1ffb8d(0x1bb)](_0x4cb61c,_0x440e1b);}}()),_0x15820d[_0x4b5b59(0x333)]['Base64'];}));}(We)),We[_0x31495d(0x2d1)];}var Ke={'exports':{}},Ir=Ke[_0x186532(0x2d1)],Qt;function Tr(){var _0x379e31=_0x186532;return Qt||(Qt=0x1,function(_0x1ca47b,_0x4097ab){(function(_0x25556e,_0x26e7b8){var _0x104d1d=_0x5308;_0x1ca47b[_0x104d1d(0x2d1)]=_0x26e7b8(ie());}(Ir,function(_0x43d377){return function(_0x32b860){var _0x223c23=_0x5308,_0x20d73b=_0x43d377,_0xf71982=_0x20d73b[_0x223c23(0x19b)],_0x19ec44=_0xf71982[_0x223c23(0x15f)],_0x2822c4=_0xf71982[_0x223c23(0x2b1)],_0x31e5d5=_0x20d73b[_0x223c23(0xc5)],_0x2d3144=[];(function(){var _0x298d01=_0x223c23;for(var _0x3096f5=0x0;_0x3096f5<0x40;_0x3096f5++)_0x2d3144[_0x3096f5]=_0x32b860[_0x298d01(0x12a)](_0x32b860[_0x298d01(0x198)](_0x3096f5+0x1))*0x100000000|0x0;}());var _0x179600=_0x31e5d5[_0x223c23(0x240)]=_0x2822c4[_0x223c23(0x330)]({'_doReset':function(){var _0x1727a6=_0x223c23;this[_0x1727a6(0x359)]=new _0x19ec44['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x355898,_0x1f2bbe){var _0x10139b=_0x223c23;for(var _0x289b73=0x0;_0x289b73<0x10;_0x289b73++){var _0x21671a=_0x1f2bbe+_0x289b73,_0x249106=_0x355898[_0x21671a];_0x355898[_0x21671a]=(_0x249106<<0x8|_0x249106>>>0x18)&0xff00ff|(_0x249106<<0x18|_0x249106>>>0x8)&0xff00ff00;}var _0x14690a=this['_hash'][_0x10139b(0xbc)],_0x53d7d5=_0x355898[_0x1f2bbe+0x0],_0x56d900=_0x355898[_0x1f2bbe+0x1],_0x5c8d9c=_0x355898[_0x1f2bbe+0x2],_0x30d7e5=_0x355898[_0x1f2bbe+0x3],_0x352a97=_0x355898[_0x1f2bbe+0x4],_0x31e27c=_0x355898[_0x1f2bbe+0x5],_0x252562=_0x355898[_0x1f2bbe+0x6],_0x2ac287=_0x355898[_0x1f2bbe+0x7],_0x509aec=_0x355898[_0x1f2bbe+0x8],_0xf9d62=_0x355898[_0x1f2bbe+0x9],_0x577f00=_0x355898[_0x1f2bbe+0xa],_0x14116f=_0x355898[_0x1f2bbe+0xb],_0x8f1202=_0x355898[_0x1f2bbe+0xc],_0x54df6a=_0x355898[_0x1f2bbe+0xd],_0x10274a=_0x355898[_0x1f2bbe+0xe],_0xde9d78=_0x355898[_0x1f2bbe+0xf],_0x57248b=_0x14690a[0x0],_0x57986a=_0x14690a[0x1],_0x12f66a=_0x14690a[0x2],_0x59045c=_0x14690a[0x3];_0x57248b=_0x4b26a1(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x53d7d5,0x7,_0x2d3144[0x0]),_0x59045c=_0x4b26a1(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x56d900,0xc,_0x2d3144[0x1]),_0x12f66a=_0x4b26a1(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x5c8d9c,0x11,_0x2d3144[0x2]),_0x57986a=_0x4b26a1(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x30d7e5,0x16,_0x2d3144[0x3]),_0x57248b=_0x4b26a1(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x352a97,0x7,_0x2d3144[0x4]),_0x59045c=_0x4b26a1(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x31e27c,0xc,_0x2d3144[0x5]),_0x12f66a=_0x4b26a1(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x252562,0x11,_0x2d3144[0x6]),_0x57986a=_0x4b26a1(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x2ac287,0x16,_0x2d3144[0x7]),_0x57248b=_0x4b26a1(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x509aec,0x7,_0x2d3144[0x8]),_0x59045c=_0x4b26a1(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0xf9d62,0xc,_0x2d3144[0x9]),_0x12f66a=_0x4b26a1(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x577f00,0x11,_0x2d3144[0xa]),_0x57986a=_0x4b26a1(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x14116f,0x16,_0x2d3144[0xb]),_0x57248b=_0x4b26a1(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x8f1202,0x7,_0x2d3144[0xc]),_0x59045c=_0x4b26a1(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x54df6a,0xc,_0x2d3144[0xd]),_0x12f66a=_0x4b26a1(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x10274a,0x11,_0x2d3144[0xe]),_0x57986a=_0x4b26a1(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0xde9d78,0x16,_0x2d3144[0xf]),_0x57248b=_0xdc2469(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x56d900,0x5,_0x2d3144[0x10]),_0x59045c=_0xdc2469(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x252562,0x9,_0x2d3144[0x11]),_0x12f66a=_0xdc2469(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x14116f,0xe,_0x2d3144[0x12]),_0x57986a=_0xdc2469(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x53d7d5,0x14,_0x2d3144[0x13]),_0x57248b=_0xdc2469(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x31e27c,0x5,_0x2d3144[0x14]),_0x59045c=_0xdc2469(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x577f00,0x9,_0x2d3144[0x15]),_0x12f66a=_0xdc2469(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0xde9d78,0xe,_0x2d3144[0x16]),_0x57986a=_0xdc2469(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x352a97,0x14,_0x2d3144[0x17]),_0x57248b=_0xdc2469(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0xf9d62,0x5,_0x2d3144[0x18]),_0x59045c=_0xdc2469(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x10274a,0x9,_0x2d3144[0x19]),_0x12f66a=_0xdc2469(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x30d7e5,0xe,_0x2d3144[0x1a]),_0x57986a=_0xdc2469(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x509aec,0x14,_0x2d3144[0x1b]),_0x57248b=_0xdc2469(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x54df6a,0x5,_0x2d3144[0x1c]),_0x59045c=_0xdc2469(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x5c8d9c,0x9,_0x2d3144[0x1d]),_0x12f66a=_0xdc2469(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x2ac287,0xe,_0x2d3144[0x1e]),_0x57986a=_0xdc2469(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x8f1202,0x14,_0x2d3144[0x1f]),_0x57248b=_0x37fcd6(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x31e27c,0x4,_0x2d3144[0x20]),_0x59045c=_0x37fcd6(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x509aec,0xb,_0x2d3144[0x21]),_0x12f66a=_0x37fcd6(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x14116f,0x10,_0x2d3144[0x22]),_0x57986a=_0x37fcd6(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x10274a,0x17,_0x2d3144[0x23]),_0x57248b=_0x37fcd6(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x56d900,0x4,_0x2d3144[0x24]),_0x59045c=_0x37fcd6(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x352a97,0xb,_0x2d3144[0x25]),_0x12f66a=_0x37fcd6(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x2ac287,0x10,_0x2d3144[0x26]),_0x57986a=_0x37fcd6(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x577f00,0x17,_0x2d3144[0x27]),_0x57248b=_0x37fcd6(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x54df6a,0x4,_0x2d3144[0x28]),_0x59045c=_0x37fcd6(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x53d7d5,0xb,_0x2d3144[0x29]),_0x12f66a=_0x37fcd6(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x30d7e5,0x10,_0x2d3144[0x2a]),_0x57986a=_0x37fcd6(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x252562,0x17,_0x2d3144[0x2b]),_0x57248b=_0x37fcd6(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0xf9d62,0x4,_0x2d3144[0x2c]),_0x59045c=_0x37fcd6(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x8f1202,0xb,_0x2d3144[0x2d]),_0x12f66a=_0x37fcd6(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0xde9d78,0x10,_0x2d3144[0x2e]),_0x57986a=_0x37fcd6(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x5c8d9c,0x17,_0x2d3144[0x2f]),_0x57248b=_0x2876bd(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x53d7d5,0x6,_0x2d3144[0x30]),_0x59045c=_0x2876bd(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x2ac287,0xa,_0x2d3144[0x31]),_0x12f66a=_0x2876bd(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x10274a,0xf,_0x2d3144[0x32]),_0x57986a=_0x2876bd(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x31e27c,0x15,_0x2d3144[0x33]),_0x57248b=_0x2876bd(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x8f1202,0x6,_0x2d3144[0x34]),_0x59045c=_0x2876bd(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x30d7e5,0xa,_0x2d3144[0x35]),_0x12f66a=_0x2876bd(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x577f00,0xf,_0x2d3144[0x36]),_0x57986a=_0x2876bd(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x56d900,0x15,_0x2d3144[0x37]),_0x57248b=_0x2876bd(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x509aec,0x6,_0x2d3144[0x38]),_0x59045c=_0x2876bd(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0xde9d78,0xa,_0x2d3144[0x39]),_0x12f66a=_0x2876bd(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x252562,0xf,_0x2d3144[0x3a]),_0x57986a=_0x2876bd(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0x54df6a,0x15,_0x2d3144[0x3b]),_0x57248b=_0x2876bd(_0x57248b,_0x57986a,_0x12f66a,_0x59045c,_0x352a97,0x6,_0x2d3144[0x3c]),_0x59045c=_0x2876bd(_0x59045c,_0x57248b,_0x57986a,_0x12f66a,_0x14116f,0xa,_0x2d3144[0x3d]),_0x12f66a=_0x2876bd(_0x12f66a,_0x59045c,_0x57248b,_0x57986a,_0x5c8d9c,0xf,_0x2d3144[0x3e]),_0x57986a=_0x2876bd(_0x57986a,_0x12f66a,_0x59045c,_0x57248b,_0xf9d62,0x15,_0x2d3144[0x3f]),_0x14690a[0x0]=_0x14690a[0x0]+_0x57248b|0x0,_0x14690a[0x1]=_0x14690a[0x1]+_0x57986a|0x0,_0x14690a[0x2]=_0x14690a[0x2]+_0x12f66a|0x0,_0x14690a[0x3]=_0x14690a[0x3]+_0x59045c|0x0;},'_doFinalize':function(){var _0x4a24f2=_0x223c23,_0x1e53c7=this[_0x4a24f2(0x2f1)],_0x37871f=_0x1e53c7['words'],_0x17cd50=this[_0x4a24f2(0x2f3)]*0x8,_0x1df87b=_0x1e53c7['sigBytes']*0x8;_0x37871f[_0x1df87b>>>0x5]|=0x80<<0x18-_0x1df87b%0x20;var _0x116145=_0x32b860['floor'](_0x17cd50/0x100000000),_0x9fd5b7=_0x17cd50;_0x37871f[(_0x1df87b+0x40>>>0x9<<0x4)+0xf]=(_0x116145<<0x8|_0x116145>>>0x18)&0xff00ff|(_0x116145<<0x18|_0x116145>>>0x8)&0xff00ff00,_0x37871f[(_0x1df87b+0x40>>>0x9<<0x4)+0xe]=(_0x9fd5b7<<0x8|_0x9fd5b7>>>0x18)&0xff00ff|(_0x9fd5b7<<0x18|_0x9fd5b7>>>0x8)&0xff00ff00,_0x1e53c7[_0x4a24f2(0x279)]=(_0x37871f['length']+0x1)*0x4,this[_0x4a24f2(0x290)]();for(var _0x4a7b2c=this[_0x4a24f2(0x359)],_0xe39012=_0x4a7b2c[_0x4a24f2(0xbc)],_0x44e45c=0x0;_0x44e45c<0x4;_0x44e45c++){var _0x3f9918=_0xe39012[_0x44e45c];_0xe39012[_0x44e45c]=(_0x3f9918<<0x8|_0x3f9918>>>0x18)&0xff00ff|(_0x3f9918<<0x18|_0x3f9918>>>0x8)&0xff00ff00;}return _0x4a7b2c;},'clone':function(){var _0x31496f=_0x223c23,_0x26b4d0=_0x2822c4[_0x31496f(0x175)]['call'](this);return _0x26b4d0[_0x31496f(0x359)]=this['_hash']['clone'](),_0x26b4d0;}});function _0x4b26a1(_0x35425d,_0x35eb79,_0x28467e,_0x3641e0,_0x1b84e0,_0x1a9e84,_0x4835e9){var _0x3ca0d4=_0x35425d+(_0x35eb79&_0x28467e|~_0x35eb79&_0x3641e0)+_0x1b84e0+_0x4835e9;return(_0x3ca0d4<<_0x1a9e84|_0x3ca0d4>>>0x20-_0x1a9e84)+_0x35eb79;}function _0xdc2469(_0x3128fb,_0x517a55,_0x4596f2,_0xe9e929,_0x325011,_0x18d2d7,_0x158b96){var _0x56d256=_0x3128fb+(_0x517a55&_0xe9e929|_0x4596f2&~_0xe9e929)+_0x325011+_0x158b96;return(_0x56d256<<_0x18d2d7|_0x56d256>>>0x20-_0x18d2d7)+_0x517a55;}function _0x37fcd6(_0x522a67,_0x328d90,_0x17d662,_0x111cbe,_0x39c7e4,_0x56dc01,_0x2c6ed2){var _0x3ee32c=_0x522a67+(_0x328d90^_0x17d662^_0x111cbe)+_0x39c7e4+_0x2c6ed2;return(_0x3ee32c<<_0x56dc01|_0x3ee32c>>>0x20-_0x56dc01)+_0x328d90;}function _0x2876bd(_0x4fc53b,_0x177733,_0x34f4c6,_0x1aaba4,_0x4b17e4,_0x55eb15,_0x4436b5){var _0x433fb1=_0x4fc53b+(_0x34f4c6^(_0x177733|~_0x1aaba4))+_0x4b17e4+_0x4436b5;return(_0x433fb1<<_0x55eb15|_0x433fb1>>>0x20-_0x55eb15)+_0x177733;}_0x20d73b['MD5']=_0x2822c4[_0x223c23(0x395)](_0x179600),_0x20d73b['HmacMD5']=_0x2822c4[_0x223c23(0xe7)](_0x179600);}(Math),_0x43d377['MD5'];}));}(Ke)),Ke[_0x379e31(0x2d1)];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x186532(0x2d1)],ei;function Rr(){return ei||(ei=0x1,function(_0x1715a3,_0x56d350){(function(_0x28a2b2,_0x5d6a58){var _0x2b661e=_0x5308;_0x1715a3[_0x2b661e(0x2d1)]=_0x5d6a58(ie());}(Cr,function(_0x30dda6){var _0x40d5f5=_0x5308;return(function(){var _0x5bf040=_0x5308,_0x3e9687=_0x30dda6,_0x103cc8=_0x3e9687[_0x5bf040(0x19b)],_0x2cd035=_0x103cc8[_0x5bf040(0x15f)],_0x461de9=_0x103cc8[_0x5bf040(0x2b1)],_0x4625a2=_0x3e9687[_0x5bf040(0xc5)],_0x492b7d=[],_0x363f98=_0x4625a2['SHA1']=_0x461de9[_0x5bf040(0x330)]({'_doReset':function(){var _0x396404=_0x5bf040;this['_hash']=new _0x2cd035[(_0x396404(0x194))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x3db309,_0x1191e0){var _0x3f87e8=_0x5bf040;for(var _0x1c16eb=this['_hash'][_0x3f87e8(0xbc)],_0xe90e24=_0x1c16eb[0x0],_0x46c120=_0x1c16eb[0x1],_0x131c27=_0x1c16eb[0x2],_0x58df20=_0x1c16eb[0x3],_0x2f4c1a=_0x1c16eb[0x4],_0x24e0f8=0x0;_0x24e0f8<0x50;_0x24e0f8++){if(_0x24e0f8<0x10)_0x492b7d[_0x24e0f8]=_0x3db309[_0x1191e0+_0x24e0f8]|0x0;else{var _0x2bc3bd=_0x492b7d[_0x24e0f8-0x3]^_0x492b7d[_0x24e0f8-0x8]^_0x492b7d[_0x24e0f8-0xe]^_0x492b7d[_0x24e0f8-0x10];_0x492b7d[_0x24e0f8]=_0x2bc3bd<<0x1|_0x2bc3bd>>>0x1f;}var _0x560295=(_0xe90e24<<0x5|_0xe90e24>>>0x1b)+_0x2f4c1a+_0x492b7d[_0x24e0f8];_0x24e0f8<0x14?_0x560295+=(_0x46c120&_0x131c27|~_0x46c120&_0x58df20)+0x5a827999:_0x24e0f8<0x28?_0x560295+=(_0x46c120^_0x131c27^_0x58df20)+0x6ed9eba1:_0x24e0f8<0x3c?_0x560295+=(_0x46c120&_0x131c27|_0x46c120&_0x58df20|_0x131c27&_0x58df20)-0x70e44324:_0x560295+=(_0x46c120^_0x131c27^_0x58df20)-0x359d3e2a,_0x2f4c1a=_0x58df20,_0x58df20=_0x131c27,_0x131c27=_0x46c120<<0x1e|_0x46c120>>>0x2,_0x46c120=_0xe90e24,_0xe90e24=_0x560295;}_0x1c16eb[0x0]=_0x1c16eb[0x0]+_0xe90e24|0x0,_0x1c16eb[0x1]=_0x1c16eb[0x1]+_0x46c120|0x0,_0x1c16eb[0x2]=_0x1c16eb[0x2]+_0x131c27|0x0,_0x1c16eb[0x3]=_0x1c16eb[0x3]+_0x58df20|0x0,_0x1c16eb[0x4]=_0x1c16eb[0x4]+_0x2f4c1a|0x0;},'_doFinalize':function(){var _0x1547f3=_0x5bf040,_0x3a780a=this['_data'],_0x296f2e=_0x3a780a['words'],_0x6c276=this[_0x1547f3(0x2f3)]*0x8,_0x455d46=_0x3a780a[_0x1547f3(0x279)]*0x8;return _0x296f2e[_0x455d46>>>0x5]|=0x80<<0x18-_0x455d46%0x20,_0x296f2e[(_0x455d46+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x6c276/0x100000000),_0x296f2e[(_0x455d46+0x40>>>0x9<<0x4)+0xf]=_0x6c276,_0x3a780a[_0x1547f3(0x279)]=_0x296f2e[_0x1547f3(0x2a2)]*0x4,this[_0x1547f3(0x290)](),this[_0x1547f3(0x359)];},'clone':function(){var _0x40aec6=_0x5bf040,_0x418f8f=_0x461de9[_0x40aec6(0x175)][_0x40aec6(0x189)](this);return _0x418f8f[_0x40aec6(0x359)]=this[_0x40aec6(0x359)][_0x40aec6(0x175)](),_0x418f8f;}});_0x3e9687['SHA1']=_0x461de9[_0x5bf040(0x395)](_0x363f98),_0x3e9687[_0x5bf040(0x12d)]=_0x461de9[_0x5bf040(0xe7)](_0x363f98);}()),_0x30dda6[_0x40d5f5(0x176)];}));}(qe)),qe['exports'];}var ze={'exports':{}},br=ze[_0x186532(0x2d1)],ti;function yr(){var _0x4d0a02=_0x186532;return ti||(ti=0x1,function(_0x1a0713,_0xe7dd95){(function(_0x288666,_0x29c795){var _0x2befb2=_0x5308;_0x1a0713[_0x2befb2(0x2d1)]=_0x29c795(ie());}(br,function(_0x551928){(function(){var _0x5b929c=_0x5308,_0x79ffcb=_0x551928,_0x1694c3=_0x79ffcb[_0x5b929c(0x19b)],_0x1ea506=_0x1694c3[_0x5b929c(0x10f)],_0x1cc9c8=_0x79ffcb[_0x5b929c(0x333)],_0x4becf9=_0x1cc9c8[_0x5b929c(0x2f9)],_0x3ef1de=_0x79ffcb['algo'];_0x3ef1de[_0x5b929c(0xc0)]=_0x1ea506[_0x5b929c(0x330)]({'init':function(_0x2b31bf,_0x75fe27){var _0x4cd6ba=_0x5b929c;_0x2b31bf=this[_0x4cd6ba(0x1f1)]=new _0x2b31bf[(_0x4cd6ba(0x194))](),typeof _0x75fe27=='string'&&(_0x75fe27=_0x4becf9[_0x4cd6ba(0x178)](_0x75fe27));var _0x323041=_0x2b31bf['blockSize'],_0x346327=_0x323041*0x4;_0x75fe27['sigBytes']>_0x346327&&(_0x75fe27=_0x2b31bf[_0x4cd6ba(0xd7)](_0x75fe27)),_0x75fe27[_0x4cd6ba(0x1cb)]();for(var _0x342b01=this[_0x4cd6ba(0x348)]=_0x75fe27[_0x4cd6ba(0x175)](),_0x1c696c=this[_0x4cd6ba(0x2b4)]=_0x75fe27['clone'](),_0x3c1975=_0x342b01[_0x4cd6ba(0xbc)],_0x3e0777=_0x1c696c[_0x4cd6ba(0xbc)],_0x5b0a0c=0x0;_0x5b0a0c<_0x323041;_0x5b0a0c++)_0x3c1975[_0x5b0a0c]^=0x5c5c5c5c,_0x3e0777[_0x5b0a0c]^=0x36363636;_0x342b01[_0x4cd6ba(0x279)]=_0x1c696c[_0x4cd6ba(0x279)]=_0x346327,this[_0x4cd6ba(0x39d)]();},'reset':function(){var _0x3d7919=_0x5b929c,_0xa79b11=this[_0x3d7919(0x1f1)];_0xa79b11['reset'](),_0xa79b11[_0x3d7919(0x15c)](this['_iKey']);},'update':function(_0x2c497d){var _0x418e77=_0x5b929c;return this[_0x418e77(0x1f1)][_0x418e77(0x15c)](_0x2c497d),this;},'finalize':function(_0x39dc29){var _0x3a7880=_0x5b929c,_0x13fcf0=this['_hasher'],_0x2765de=_0x13fcf0[_0x3a7880(0xd7)](_0x39dc29);_0x13fcf0[_0x3a7880(0x39d)]();var _0x36258f=_0x13fcf0[_0x3a7880(0xd7)](this['_oKey'][_0x3a7880(0x175)]()[_0x3a7880(0x232)](_0x2765de));return _0x36258f;}});}());}));}(ze)),ze[_0x4d0a02(0x2d1)];}var Or=Ye[_0x186532(0x2d1)],ii;function Ui(){return ii||(ii=0x1,function(_0x3eae8c,_0x2736df){(function(_0x5b3598,_0x2f5aa4,_0x227346){_0x3eae8c['exports']=_0x2f5aa4(ie(),Rr(),yr());}(Or,function(_0x15aa2b){var _0x5f500e=_0x5308;return(function(){var _0x4a2240=_0x5308,_0x371553=_0x15aa2b,_0x5c117a=_0x371553[_0x4a2240(0x19b)],_0x15ed01=_0x5c117a[_0x4a2240(0x10f)],_0x2a6b07=_0x5c117a[_0x4a2240(0x15f)],_0x48b495=_0x371553[_0x4a2240(0xc5)],_0x3d32a0=_0x48b495[_0x4a2240(0x240)],_0x2a9a1f=_0x48b495['EvpKDF']=_0x15ed01['extend']({'cfg':_0x15ed01[_0x4a2240(0x330)]({'keySize':0x80/0x20,'hasher':_0x3d32a0,'iterations':0x1}),'init':function(_0x3b4854){var _0x19d2a6=_0x4a2240;this['cfg']=this[_0x19d2a6(0x2ae)][_0x19d2a6(0x330)](_0x3b4854);},'compute':function(_0xde014e,_0x1d0e85){var _0xae98f3=_0x4a2240;for(var _0x135970,_0x2e6538=this[_0xae98f3(0x2ae)],_0x14d56e=_0x2e6538['hasher'][_0xae98f3(0x1bb)](),_0x51672e=_0x2a6b07['create'](),_0x55f873=_0x51672e[_0xae98f3(0xbc)],_0x20f76f=_0x2e6538[_0xae98f3(0x1d6)],_0x497bab=_0x2e6538['iterations'];_0x55f873[_0xae98f3(0x2a2)]<_0x20f76f;){_0x135970&&_0x14d56e[_0xae98f3(0x15c)](_0x135970),_0x135970=_0x14d56e['update'](_0xde014e)[_0xae98f3(0xd7)](_0x1d0e85),_0x14d56e[_0xae98f3(0x39d)]();for(var _0x150ea9=0x1;_0x150ea9<_0x497bab;_0x150ea9++)_0x135970=_0x14d56e['finalize'](_0x135970),_0x14d56e[_0xae98f3(0x39d)]();_0x51672e[_0xae98f3(0x232)](_0x135970);}return _0x51672e[_0xae98f3(0x279)]=_0x20f76f*0x4,_0x51672e;}});_0x371553[_0x4a2240(0xdc)]=function(_0x536e13,_0x7d3b45,_0x34511e){var _0x49994a=_0x4a2240;return _0x2a9a1f[_0x49994a(0x1bb)](_0x34511e)[_0x49994a(0x163)](_0x536e13,_0x7d3b45);};}()),_0x15aa2b[_0x5f500e(0xdc)];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Nr=Je[_0x186532(0x2d1)],ni;function wi(){return ni||(ni=0x1,function(_0x1ed533,_0x45fdba){(function(_0x4feef7,_0x5e1ff0,_0x11c8d3){var _0x3038e3=_0x5308;_0x1ed533[_0x3038e3(0x2d1)]=_0x5e1ff0(ie(),Ui());}(Nr,function(_0x16edec){var _0x570764=_0x5308;_0x16edec['lib'][_0x570764(0xbe)]||function(_0x35969e){var _0x4e98a1=_0x570764,_0x39037f=_0x16edec,_0x39b0c8=_0x39037f['lib'],_0x1aaf53=_0x39b0c8[_0x4e98a1(0x10f)],_0x51d4de=_0x39b0c8[_0x4e98a1(0x15f)],_0x3d186f=_0x39b0c8[_0x4e98a1(0x1d7)],_0x373da3=_0x39037f[_0x4e98a1(0x333)];_0x373da3[_0x4e98a1(0x2f9)];var _0x1c85ac=_0x373da3['Base64'],_0x4a4b28=_0x39037f[_0x4e98a1(0xc5)],_0x2eabeb=_0x4a4b28[_0x4e98a1(0xdc)],_0x817e28=_0x39b0c8[_0x4e98a1(0xbe)]=_0x3d186f[_0x4e98a1(0x330)]({'cfg':_0x1aaf53[_0x4e98a1(0x330)](),'createEncryptor':function(_0xb35b00,_0x44d670){var _0xd7fb90=_0x4e98a1;return this[_0xd7fb90(0x1bb)](this[_0xd7fb90(0xea)],_0xb35b00,_0x44d670);},'createDecryptor':function(_0x488e13,_0x10f4ee){var _0x49e785=_0x4e98a1;return this[_0x49e785(0x1bb)](this[_0x49e785(0x2b0)],_0x488e13,_0x10f4ee);},'init':function(_0xfb86aa,_0x419862,_0x48839e){var _0x23dd40=_0x4e98a1;this[_0x23dd40(0x2ae)]=this[_0x23dd40(0x2ae)]['extend'](_0x48839e),this[_0x23dd40(0x314)]=_0xfb86aa,this[_0x23dd40(0xe1)]=_0x419862,this['reset']();},'reset':function(){var _0x41a601=_0x4e98a1;_0x3d186f[_0x41a601(0x39d)][_0x41a601(0x189)](this),this[_0x41a601(0x398)]();},'process':function(_0x5ce0ab){var _0x1c428d=_0x4e98a1;return this[_0x1c428d(0x1dc)](_0x5ce0ab),this[_0x1c428d(0x290)]();},'finalize':function(_0x1e950a){var _0x5ad2cc=_0x4e98a1;_0x1e950a&&this['_append'](_0x1e950a);var _0x41f16e=this[_0x5ad2cc(0x1a0)]();return _0x41f16e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5b76dc(_0x4c9ade){var _0x15f5f9=_0x5308;return typeof _0x4c9ade==_0x15f5f9(0x384)?_0x490f68:_0x2ca077;}return function(_0x1dccad){return{'encrypt':function(_0x18c891,_0x5bb680,_0x479fc4){var _0x28c0e5=_0x5308;return _0x5b76dc(_0x5bb680)[_0x28c0e5(0x169)](_0x1dccad,_0x18c891,_0x5bb680,_0x479fc4);},'decrypt':function(_0x5dc68b,_0x343c84,_0x529ae2){var _0x5d95fd=_0x5308;return _0x5b76dc(_0x343c84)[_0x5d95fd(0x136)](_0x1dccad,_0x5dc68b,_0x343c84,_0x529ae2);}};};}())});_0x39b0c8['StreamCipher']=_0x817e28['extend']({'_doFinalize':function(){var _0x1c831d=_0x4e98a1,_0x33a96e=this[_0x1c831d(0x290)](!0x0);return _0x33a96e;},'blockSize':0x1});var _0x3f5c8f=_0x39037f['mode']={},_0xf27cc=_0x39b0c8[_0x4e98a1(0x203)]=_0x1aaf53['extend']({'createEncryptor':function(_0x2b6777,_0x9c47b1){var _0x4ed359=_0x4e98a1;return this[_0x4ed359(0x31b)][_0x4ed359(0x1bb)](_0x2b6777,_0x9c47b1);},'createDecryptor':function(_0x7a40f7,_0x51da86){var _0x2a9264=_0x4e98a1;return this['Decryptor'][_0x2a9264(0x1bb)](_0x7a40f7,_0x51da86);},'init':function(_0x5b4c46,_0x3c4e43){var _0x22b6fb=_0x4e98a1;this[_0x22b6fb(0x3a2)]=_0x5b4c46,this[_0x22b6fb(0x35f)]=_0x3c4e43;}}),_0x577112=_0x3f5c8f[_0x4e98a1(0x2ad)]=(function(){var _0x2a1b04=_0x4e98a1,_0x16bf93=_0xf27cc[_0x2a1b04(0x330)]();_0x16bf93[_0x2a1b04(0x31b)]=_0x16bf93[_0x2a1b04(0x330)]({'processBlock':function(_0x76f991,_0x233880){var _0x131396=_0x2a1b04,_0x35e81a=this[_0x131396(0x3a2)],_0x3cd266=_0x35e81a[_0x131396(0x13f)];_0x1bbab0['call'](this,_0x76f991,_0x233880,_0x3cd266),_0x35e81a[_0x131396(0x30d)](_0x76f991,_0x233880),this[_0x131396(0x2c0)]=_0x76f991['slice'](_0x233880,_0x233880+_0x3cd266);}}),_0x16bf93[_0x2a1b04(0x228)]=_0x16bf93[_0x2a1b04(0x330)]({'processBlock':function(_0x469c7e,_0x50c19f){var _0xe38a88=_0x2a1b04,_0x26636c=this[_0xe38a88(0x3a2)],_0x54d002=_0x26636c[_0xe38a88(0x13f)],_0x20312b=_0x469c7e[_0xe38a88(0x217)](_0x50c19f,_0x50c19f+_0x54d002);_0x26636c[_0xe38a88(0x215)](_0x469c7e,_0x50c19f),_0x1bbab0[_0xe38a88(0x189)](this,_0x469c7e,_0x50c19f,_0x54d002),this[_0xe38a88(0x2c0)]=_0x20312b;}});function _0x1bbab0(_0x302704,_0x39248d,_0x1c12fc){var _0x5e7b70=_0x2a1b04,_0x253661,_0xa71fc5=this[_0x5e7b70(0x35f)];_0xa71fc5?(_0x253661=_0xa71fc5,this[_0x5e7b70(0x35f)]=_0x35969e):_0x253661=this[_0x5e7b70(0x2c0)];for(var _0xc539bd=0x0;_0xc539bd<_0x1c12fc;_0xc539bd++)_0x302704[_0x39248d+_0xc539bd]^=_0x253661[_0xc539bd];}return _0x16bf93;}()),_0xc80192=_0x39037f[_0x4e98a1(0x34f)]={},_0x5ea5c8=_0xc80192[_0x4e98a1(0x28b)]={'pad':function(_0x585518,_0x454332){var _0x426855=_0x4e98a1;for(var _0x3bd087=_0x454332*0x4,_0x5047f1=_0x3bd087-_0x585518[_0x426855(0x279)]%_0x3bd087,_0x4e0815=_0x5047f1<<0x18|_0x5047f1<<0x10|_0x5047f1<<0x8|_0x5047f1,_0x2ce122=[],_0x15a9a5=0x0;_0x15a9a5<_0x5047f1;_0x15a9a5+=0x4)_0x2ce122[_0x426855(0x282)](_0x4e0815);var _0x3b32e0=_0x51d4de[_0x426855(0x1bb)](_0x2ce122,_0x5047f1);_0x585518[_0x426855(0x232)](_0x3b32e0);},'unpad':function(_0xb1b76d){var _0x22db55=_0x4e98a1,_0x582505=_0xb1b76d[_0x22db55(0xbc)][_0xb1b76d['sigBytes']-0x1>>>0x2]&0xff;_0xb1b76d[_0x22db55(0x279)]-=_0x582505;}};_0x39b0c8[_0x4e98a1(0x18f)]=_0x817e28[_0x4e98a1(0x330)]({'cfg':_0x817e28[_0x4e98a1(0x2ae)][_0x4e98a1(0x330)]({'mode':_0x577112,'padding':_0x5ea5c8}),'reset':function(){var _0x5019a1=_0x4e98a1,_0x4bae80;_0x817e28['reset'][_0x5019a1(0x189)](this);var _0x4dbe2c=this[_0x5019a1(0x2ae)],_0x47f8d6=_0x4dbe2c['iv'],_0x41c692=_0x4dbe2c[_0x5019a1(0x245)];this[_0x5019a1(0x314)]==this[_0x5019a1(0xea)]?_0x4bae80=_0x41c692[_0x5019a1(0x341)]:(_0x4bae80=_0x41c692['createDecryptor'],this[_0x5019a1(0x324)]=0x1),this['_mode']&&this[_0x5019a1(0x38a)][_0x5019a1(0x346)]==_0x4bae80?this[_0x5019a1(0x38a)]['init'](this,_0x47f8d6&&_0x47f8d6[_0x5019a1(0xbc)]):(this[_0x5019a1(0x38a)]=_0x4bae80[_0x5019a1(0x189)](_0x41c692,this,_0x47f8d6&&_0x47f8d6['words']),this[_0x5019a1(0x38a)][_0x5019a1(0x346)]=_0x4bae80);},'_doProcessBlock':function(_0x454d64,_0x4c35b1){var _0x35dc64=_0x4e98a1;this[_0x35dc64(0x38a)][_0x35dc64(0x30b)](_0x454d64,_0x4c35b1);},'_doFinalize':function(){var _0x5f4f61=_0x4e98a1,_0x1615ef,_0x2d17c7=this['cfg'][_0x5f4f61(0x275)];return this[_0x5f4f61(0x314)]==this[_0x5f4f61(0xea)]?(_0x2d17c7[_0x5f4f61(0x34f)](this['_data'],this[_0x5f4f61(0x13f)]),_0x1615ef=this[_0x5f4f61(0x290)](!0x0)):(_0x1615ef=this[_0x5f4f61(0x290)](!0x0),_0x2d17c7['unpad'](_0x1615ef)),_0x1615ef;},'blockSize':0x80/0x20});var _0x32e048=_0x39b0c8['CipherParams']=_0x1aaf53[_0x4e98a1(0x330)]({'init':function(_0x36badd){var _0x279fcf=_0x4e98a1;this[_0x279fcf(0x1dd)](_0x36badd);},'toString':function(_0x167e51){var _0x2665a1=_0x4e98a1;return(_0x167e51||this[_0x2665a1(0x2d6)])['stringify'](this);}}),_0x5314f4=_0x39037f[_0x4e98a1(0x1ec)]={},_0x1f9690=_0x5314f4['OpenSSL']={'stringify':function(_0x5900fe){var _0x2ff0ec=_0x4e98a1,_0x4c846d,_0x41da87=_0x5900fe[_0x2ff0ec(0x2ab)],_0x194e72=_0x5900fe['salt'];return _0x194e72?_0x4c846d=_0x51d4de[_0x2ff0ec(0x1bb)]([0x53616c74,0x65645f5f])[_0x2ff0ec(0x232)](_0x194e72)[_0x2ff0ec(0x232)](_0x41da87):_0x4c846d=_0x41da87,_0x4c846d['toString'](_0x1c85ac);},'parse':function(_0x5f1503){var _0x44a69c=_0x4e98a1,_0x29e3b7,_0x271c6b=_0x1c85ac['parse'](_0x5f1503),_0x42e687=_0x271c6b[_0x44a69c(0xbc)];return _0x42e687[0x0]==0x53616c74&&_0x42e687[0x1]==0x65645f5f&&(_0x29e3b7=_0x51d4de[_0x44a69c(0x1bb)](_0x42e687[_0x44a69c(0x217)](0x2,0x4)),_0x42e687['splice'](0x0,0x4),_0x271c6b[_0x44a69c(0x279)]-=0x10),_0x32e048[_0x44a69c(0x1bb)]({'ciphertext':_0x271c6b,'salt':_0x29e3b7});}},_0x2ca077=_0x39b0c8[_0x4e98a1(0x102)]=_0x1aaf53[_0x4e98a1(0x330)]({'cfg':_0x1aaf53['extend']({'format':_0x1f9690}),'encrypt':function(_0x33c0f4,_0x381733,_0x1b3af4,_0x595de9){var _0x3e34bd=_0x4e98a1;_0x595de9=this[_0x3e34bd(0x2ae)]['extend'](_0x595de9);var _0x38c65d=_0x33c0f4[_0x3e34bd(0x341)](_0x1b3af4,_0x595de9),_0x460859=_0x38c65d[_0x3e34bd(0xd7)](_0x381733),_0x2a8971=_0x38c65d['cfg'];return _0x32e048[_0x3e34bd(0x1bb)]({'ciphertext':_0x460859,'key':_0x1b3af4,'iv':_0x2a8971['iv'],'algorithm':_0x33c0f4,'mode':_0x2a8971[_0x3e34bd(0x245)],'padding':_0x2a8971[_0x3e34bd(0x275)],'blockSize':_0x33c0f4[_0x3e34bd(0x13f)],'formatter':_0x595de9[_0x3e34bd(0x1ec)]});},'decrypt':function(_0x5431d4,_0x1d9898,_0x38feeb,_0x4d6a74){var _0x4d6593=_0x4e98a1;_0x4d6a74=this['cfg'][_0x4d6593(0x330)](_0x4d6a74),_0x1d9898=this[_0x4d6593(0x263)](_0x1d9898,_0x4d6a74['format']);var _0x28e99a=_0x5431d4[_0x4d6593(0x297)](_0x38feeb,_0x4d6a74)[_0x4d6593(0xd7)](_0x1d9898['ciphertext']);return _0x28e99a;},'_parse':function(_0x466523,_0x388781){var _0x1a3230=_0x4e98a1;return typeof _0x466523==_0x1a3230(0x384)?_0x388781[_0x1a3230(0x178)](_0x466523,this):_0x466523;}}),_0x27bec3=_0x39037f[_0x4e98a1(0x32b)]={},_0x6f350f=_0x27bec3[_0x4e98a1(0x129)]={'execute':function(_0x30831f,_0x5aba54,_0x2817f9,_0x5766da,_0x124e60){var _0x1565e8=_0x4e98a1;if(_0x5766da||(_0x5766da=_0x51d4de['random'](0x40/0x8)),_0x124e60)var _0x494ddd=_0x2eabeb[_0x1565e8(0x1bb)]({'keySize':_0x5aba54+_0x2817f9,'hasher':_0x124e60})[_0x1565e8(0x163)](_0x30831f,_0x5766da);else var _0x494ddd=_0x2eabeb['create']({'keySize':_0x5aba54+_0x2817f9})[_0x1565e8(0x163)](_0x30831f,_0x5766da);var _0x4efb47=_0x51d4de[_0x1565e8(0x1bb)](_0x494ddd[_0x1565e8(0xbc)][_0x1565e8(0x217)](_0x5aba54),_0x2817f9*0x4);return _0x494ddd['sigBytes']=_0x5aba54*0x4,_0x32e048[_0x1565e8(0x1bb)]({'key':_0x494ddd,'iv':_0x4efb47,'salt':_0x5766da});}},_0x490f68=_0x39b0c8['PasswordBasedCipher']=_0x2ca077['extend']({'cfg':_0x2ca077['cfg']['extend']({'kdf':_0x6f350f}),'encrypt':function(_0x13a74d,_0x20e147,_0x3276a3,_0x5c1d0d){var _0x4332a0=_0x4e98a1;_0x5c1d0d=this[_0x4332a0(0x2ae)][_0x4332a0(0x330)](_0x5c1d0d);var _0x15db84=_0x5c1d0d[_0x4332a0(0x32b)][_0x4332a0(0xeb)](_0x3276a3,_0x13a74d[_0x4332a0(0x1d6)],_0x13a74d[_0x4332a0(0x2cd)],_0x5c1d0d[_0x4332a0(0x368)],_0x5c1d0d['hasher']);_0x5c1d0d['iv']=_0x15db84['iv'];var _0x49a74e=_0x2ca077['encrypt']['call'](this,_0x13a74d,_0x20e147,_0x15db84[_0x4332a0(0x18a)],_0x5c1d0d);return _0x49a74e[_0x4332a0(0x1dd)](_0x15db84),_0x49a74e;},'decrypt':function(_0x57fa73,_0x4c78ac,_0x30309d,_0x56cd9d){var _0x5a1e8e=_0x4e98a1;_0x56cd9d=this['cfg'][_0x5a1e8e(0x330)](_0x56cd9d),_0x4c78ac=this[_0x5a1e8e(0x263)](_0x4c78ac,_0x56cd9d[_0x5a1e8e(0x1ec)]);var _0xaceed8=_0x56cd9d['kdf'][_0x5a1e8e(0xeb)](_0x30309d,_0x57fa73[_0x5a1e8e(0x1d6)],_0x57fa73[_0x5a1e8e(0x2cd)],_0x4c78ac[_0x5a1e8e(0x368)],_0x56cd9d[_0x5a1e8e(0x2cb)]);_0x56cd9d['iv']=_0xaceed8['iv'];var _0x334ef=_0x2ca077[_0x5a1e8e(0x136)][_0x5a1e8e(0x189)](this,_0x57fa73,_0x4c78ac,_0xaceed8[_0x5a1e8e(0x18a)],_0x56cd9d);return _0x334ef;}});}();}));}(Je)),Je['exports'];}var Dr=Ve[_0x186532(0x2d1)],ri;function Ur(){var _0x37de44=_0x186532;return ri||(ri=0x1,function(_0x1980da,_0x1cc9c0){(function(_0x282864,_0x11c0ae,_0x5ec530){var _0x5ab7c0=_0x5308;_0x1980da[_0x5ab7c0(0x2d1)]=_0x11c0ae(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x55d855){var _0x529310=_0x5308;return(function(){var _0x1bb0c8=_0x5308,_0x3eb754=_0x55d855,_0x22ed50=_0x3eb754[_0x1bb0c8(0x19b)],_0x54e29a=_0x22ed50['BlockCipher'],_0x42db45=_0x3eb754['algo'],_0x12c72a=[],_0x18d78f=[],_0x4922d2=[],_0xdb5016=[],_0x135a3f=[],_0x51bee9=[],_0xb30d92=[],_0x319250=[],_0x23bdfd=[],_0x520c09=[];(function(){for(var _0x2da1ac=[],_0x326909=0x0;_0x326909<0x100;_0x326909++)_0x326909<0x80?_0x2da1ac[_0x326909]=_0x326909<<0x1:_0x2da1ac[_0x326909]=_0x326909<<0x1^0x11b;for(var _0x2ae956=0x0,_0x428081=0x0,_0x326909=0x0;_0x326909<0x100;_0x326909++){var _0x55b021=_0x428081^_0x428081<<0x1^_0x428081<<0x2^_0x428081<<0x3^_0x428081<<0x4;_0x55b021=_0x55b021>>>0x8^_0x55b021&0xff^0x63,_0x12c72a[_0x2ae956]=_0x55b021,_0x18d78f[_0x55b021]=_0x2ae956;var _0x2168ff=_0x2da1ac[_0x2ae956],_0x4c0a1a=_0x2da1ac[_0x2168ff],_0x234593=_0x2da1ac[_0x4c0a1a],_0x57374b=_0x2da1ac[_0x55b021]*0x101^_0x55b021*0x1010100;_0x4922d2[_0x2ae956]=_0x57374b<<0x18|_0x57374b>>>0x8,_0xdb5016[_0x2ae956]=_0x57374b<<0x10|_0x57374b>>>0x10,_0x135a3f[_0x2ae956]=_0x57374b<<0x8|_0x57374b>>>0x18,_0x51bee9[_0x2ae956]=_0x57374b;var _0x57374b=_0x234593*0x1010101^_0x4c0a1a*0x10001^_0x2168ff*0x101^_0x2ae956*0x1010100;_0xb30d92[_0x55b021]=_0x57374b<<0x18|_0x57374b>>>0x8,_0x319250[_0x55b021]=_0x57374b<<0x10|_0x57374b>>>0x10,_0x23bdfd[_0x55b021]=_0x57374b<<0x8|_0x57374b>>>0x18,_0x520c09[_0x55b021]=_0x57374b,_0x2ae956?(_0x2ae956=_0x2168ff^_0x2da1ac[_0x2da1ac[_0x2da1ac[_0x234593^_0x2168ff]]],_0x428081^=_0x2da1ac[_0x2da1ac[_0x428081]]):_0x2ae956=_0x428081=0x1;}}());var _0x42e355=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x313fea=_0x42db45[_0x1bb0c8(0x332)]=_0x54e29a[_0x1bb0c8(0x330)]({'_doReset':function(){var _0x5cd36a=_0x1bb0c8,_0x4b2696;if(!(this[_0x5cd36a(0xef)]&&this[_0x5cd36a(0x321)]===this[_0x5cd36a(0xe1)])){for(var _0x37b60f=this[_0x5cd36a(0x321)]=this[_0x5cd36a(0xe1)],_0x3a7b67=_0x37b60f[_0x5cd36a(0xbc)],_0x514b08=_0x37b60f[_0x5cd36a(0x279)]/0x4,_0x4541e4=this[_0x5cd36a(0xef)]=_0x514b08+0x6,_0x1e5da4=(_0x4541e4+0x1)*0x4,_0x25bcb7=this[_0x5cd36a(0x1e8)]=[],_0x5c5fda=0x0;_0x5c5fda<_0x1e5da4;_0x5c5fda++)_0x5c5fda<_0x514b08?_0x25bcb7[_0x5c5fda]=_0x3a7b67[_0x5c5fda]:(_0x4b2696=_0x25bcb7[_0x5c5fda-0x1],_0x5c5fda%_0x514b08?_0x514b08>0x6&&_0x5c5fda%_0x514b08==0x4&&(_0x4b2696=_0x12c72a[_0x4b2696>>>0x18]<<0x18|_0x12c72a[_0x4b2696>>>0x10&0xff]<<0x10|_0x12c72a[_0x4b2696>>>0x8&0xff]<<0x8|_0x12c72a[_0x4b2696&0xff]):(_0x4b2696=_0x4b2696<<0x8|_0x4b2696>>>0x18,_0x4b2696=_0x12c72a[_0x4b2696>>>0x18]<<0x18|_0x12c72a[_0x4b2696>>>0x10&0xff]<<0x10|_0x12c72a[_0x4b2696>>>0x8&0xff]<<0x8|_0x12c72a[_0x4b2696&0xff],_0x4b2696^=_0x42e355[_0x5c5fda/_0x514b08|0x0]<<0x18),_0x25bcb7[_0x5c5fda]=_0x25bcb7[_0x5c5fda-_0x514b08]^_0x4b2696);for(var _0x597926=this['_invKeySchedule']=[],_0x3e2191=0x0;_0x3e2191<_0x1e5da4;_0x3e2191++){var _0x5c5fda=_0x1e5da4-_0x3e2191;if(_0x3e2191%0x4)var _0x4b2696=_0x25bcb7[_0x5c5fda];else var _0x4b2696=_0x25bcb7[_0x5c5fda-0x4];_0x3e2191<0x4||_0x5c5fda<=0x4?_0x597926[_0x3e2191]=_0x4b2696:_0x597926[_0x3e2191]=_0xb30d92[_0x12c72a[_0x4b2696>>>0x18]]^_0x319250[_0x12c72a[_0x4b2696>>>0x10&0xff]]^_0x23bdfd[_0x12c72a[_0x4b2696>>>0x8&0xff]]^_0x520c09[_0x12c72a[_0x4b2696&0xff]];}}},'encryptBlock':function(_0x54def0,_0x38b276){var _0x25a8e4=_0x1bb0c8;this[_0x25a8e4(0x24d)](_0x54def0,_0x38b276,this['_keySchedule'],_0x4922d2,_0xdb5016,_0x135a3f,_0x51bee9,_0x12c72a);},'decryptBlock':function(_0x4cfbd3,_0x3781b6){var _0xffa9ca=_0x1bb0c8,_0x5c0614=_0x4cfbd3[_0x3781b6+0x1];_0x4cfbd3[_0x3781b6+0x1]=_0x4cfbd3[_0x3781b6+0x3],_0x4cfbd3[_0x3781b6+0x3]=_0x5c0614,this[_0xffa9ca(0x24d)](_0x4cfbd3,_0x3781b6,this['_invKeySchedule'],_0xb30d92,_0x319250,_0x23bdfd,_0x520c09,_0x18d78f);var _0x5c0614=_0x4cfbd3[_0x3781b6+0x1];_0x4cfbd3[_0x3781b6+0x1]=_0x4cfbd3[_0x3781b6+0x3],_0x4cfbd3[_0x3781b6+0x3]=_0x5c0614;},'_doCryptBlock':function(_0x4da5cc,_0x199c8f,_0x2e5944,_0x554bfb,_0x3cd10e,_0x176d0a,_0x14784e,_0x3923b8){for(var _0x456890=this['_nRounds'],_0x1defe5=_0x4da5cc[_0x199c8f]^_0x2e5944[0x0],_0x36baa4=_0x4da5cc[_0x199c8f+0x1]^_0x2e5944[0x1],_0x20781b=_0x4da5cc[_0x199c8f+0x2]^_0x2e5944[0x2],_0x2c2d6f=_0x4da5cc[_0x199c8f+0x3]^_0x2e5944[0x3],_0x4beef3=0x4,_0x432408=0x1;_0x432408<_0x456890;_0x432408++){var _0x5cab0b=_0x554bfb[_0x1defe5>>>0x18]^_0x3cd10e[_0x36baa4>>>0x10&0xff]^_0x176d0a[_0x20781b>>>0x8&0xff]^_0x14784e[_0x2c2d6f&0xff]^_0x2e5944[_0x4beef3++],_0x45cba8=_0x554bfb[_0x36baa4>>>0x18]^_0x3cd10e[_0x20781b>>>0x10&0xff]^_0x176d0a[_0x2c2d6f>>>0x8&0xff]^_0x14784e[_0x1defe5&0xff]^_0x2e5944[_0x4beef3++],_0x4b86ea=_0x554bfb[_0x20781b>>>0x18]^_0x3cd10e[_0x2c2d6f>>>0x10&0xff]^_0x176d0a[_0x1defe5>>>0x8&0xff]^_0x14784e[_0x36baa4&0xff]^_0x2e5944[_0x4beef3++],_0x1290ba=_0x554bfb[_0x2c2d6f>>>0x18]^_0x3cd10e[_0x1defe5>>>0x10&0xff]^_0x176d0a[_0x36baa4>>>0x8&0xff]^_0x14784e[_0x20781b&0xff]^_0x2e5944[_0x4beef3++];_0x1defe5=_0x5cab0b,_0x36baa4=_0x45cba8,_0x20781b=_0x4b86ea,_0x2c2d6f=_0x1290ba;}var _0x5cab0b=(_0x3923b8[_0x1defe5>>>0x18]<<0x18|_0x3923b8[_0x36baa4>>>0x10&0xff]<<0x10|_0x3923b8[_0x20781b>>>0x8&0xff]<<0x8|_0x3923b8[_0x2c2d6f&0xff])^_0x2e5944[_0x4beef3++],_0x45cba8=(_0x3923b8[_0x36baa4>>>0x18]<<0x18|_0x3923b8[_0x20781b>>>0x10&0xff]<<0x10|_0x3923b8[_0x2c2d6f>>>0x8&0xff]<<0x8|_0x3923b8[_0x1defe5&0xff])^_0x2e5944[_0x4beef3++],_0x4b86ea=(_0x3923b8[_0x20781b>>>0x18]<<0x18|_0x3923b8[_0x2c2d6f>>>0x10&0xff]<<0x10|_0x3923b8[_0x1defe5>>>0x8&0xff]<<0x8|_0x3923b8[_0x36baa4&0xff])^_0x2e5944[_0x4beef3++],_0x1290ba=(_0x3923b8[_0x2c2d6f>>>0x18]<<0x18|_0x3923b8[_0x1defe5>>>0x10&0xff]<<0x10|_0x3923b8[_0x36baa4>>>0x8&0xff]<<0x8|_0x3923b8[_0x20781b&0xff])^_0x2e5944[_0x4beef3++];_0x4da5cc[_0x199c8f]=_0x5cab0b,_0x4da5cc[_0x199c8f+0x1]=_0x45cba8,_0x4da5cc[_0x199c8f+0x2]=_0x4b86ea,_0x4da5cc[_0x199c8f+0x3]=_0x1290ba;},'keySize':0x100/0x20});_0x3eb754[_0x1bb0c8(0x332)]=_0x54e29a[_0x1bb0c8(0x395)](_0x313fea);}()),_0x55d855[_0x529310(0x332)];}));}(Ve)),Ve[_0x37de44(0x2d1)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe[_0x186532(0x2d1)],ai;function Lr(){var _0x1c6547=_0x186532;return ai||(ai=0x1,function(_0x357680,_0x2a1940){(function(_0x529c24,_0x461ac3){var _0x3558b7=_0x5308;_0x357680[_0x3558b7(0x2d1)]=_0x461ac3(ie());}(xr,function(_0x5d661e){return _0x5d661e['enc']['Utf8'];}));}(Xe)),Xe[_0x1c6547(0x2d1)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x186532(0x2d1)],oi;function Hr(){var _0x4295a6=_0x186532;return oi||(oi=0x1,function(_0x7810d7,_0x582907){(function(_0x1e5c2e,_0x45f087){var _0xf9a500=_0x5308;_0x7810d7[_0xf9a500(0x2d1)]=_0x45f087(ie());}($r,function(_0x533e91){var _0x50eb5c=_0x5308;return(function(){var _0x4457f4=_0x5308;if(typeof ArrayBuffer==_0x4457f4(0x182)){var _0x50d970=_0x533e91,_0x5ade6f=_0x50d970[_0x4457f4(0x19b)],_0x562a9d=_0x5ade6f[_0x4457f4(0x15f)],_0x44a9c6=_0x562a9d[_0x4457f4(0x194)],_0x58dbca=_0x562a9d[_0x4457f4(0x194)]=function(_0xe25c92){var _0x43f362=_0x4457f4;if(_0xe25c92 instanceof ArrayBuffer&&(_0xe25c92=new Uint8Array(_0xe25c92)),(_0xe25c92 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0xe25c92 instanceof Uint8ClampedArray||_0xe25c92 instanceof Int16Array||_0xe25c92 instanceof Uint16Array||_0xe25c92 instanceof Int32Array||_0xe25c92 instanceof Uint32Array||_0xe25c92 instanceof Float32Array||_0xe25c92 instanceof Float64Array)&&(_0xe25c92=new Uint8Array(_0xe25c92[_0x43f362(0x105)],_0xe25c92[_0x43f362(0xbb)],_0xe25c92['byteLength'])),_0xe25c92 instanceof Uint8Array){for(var _0x4ba3cd=_0xe25c92['byteLength'],_0x16a642=[],_0x3c81c6=0x0;_0x3c81c6<_0x4ba3cd;_0x3c81c6++)_0x16a642[_0x3c81c6>>>0x2]|=_0xe25c92[_0x3c81c6]<<0x18-_0x3c81c6%0x4*0x8;_0x44a9c6[_0x43f362(0x189)](this,_0x16a642,_0x4ba3cd);}else _0x44a9c6['apply'](this,arguments);};_0x58dbca[_0x4457f4(0xc2)]=_0x562a9d;}}()),_0x533e91[_0x50eb5c(0x19b)]['WordArray'];}));}(Ze)),Ze[_0x4295a6(0x2d1)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x186532(0x2d1)],ci;function Vr(){return ci||(ci=0x1,function(_0x13ac0d,_0x11bbc0){(function(_0x4492ef,_0x4e47c4,_0x5628d6){var _0x30756d=_0x5308;_0x13ac0d[_0x30756d(0x2d1)]=_0x4e47c4(ie(),wi());}(Fr,function(_0x5157ff){var _0x18a245=_0x5308;return _0x5157ff['pad'][_0x18a245(0xf8)]={'pad':function(){},'unpad':function(){}},_0x5157ff['pad'][_0x18a245(0xf8)];}));}(Qe)),Qe['exports'];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x9cb02f,_0x259096){var _0x5cedbb=_0x186532;const _0x517998=_0x259096-_0x9cb02f[_0x5cedbb(0x2a2)]%_0x259096,_0x107830=String[_0x5cedbb(0xde)](_0x517998)[_0x5cedbb(0x111)](_0x517998);return _0x9cb02f+_0x107830;}function Yr(_0xd4957f,_0x54567e){var _0x2c4271=_0x186532;const _0x5a9520=jr[_0x2c4271(0xb1)](0x10),_0x5446af=Kr(_0xd4957f,0x10),_0x57ce75=Ar['encrypt'](kr[_0x2c4271(0x178)](_0x5446af),si[_0x2c4271(0x178)](_0x54567e),{'iv':_0x5a9520,'padding':Wr});return _0x5a9520[_0x2c4271(0x232)](_0x57ce75[_0x2c4271(0x2ab)])['toString'](si);}function qr(){var _0x4d1955=_0x186532;const _0x353dec=_0xe1743b()['__Key__'];if(_0x353dec){const _0x303796={'time':Math[_0x4d1955(0x2ef)](Date[_0x4d1955(0x304)]()/0x3e8),'domain':location[_0x4d1955(0x1a1)]};return Yr(JSON[_0x4d1955(0x329)](_0x303796),_0x353dec);}}var zr=Object[_0x186532(0x101)],Jr=(_0x3e3139,_0x4e27cc,_0x5a0ba9,_0x1c1ef1)=>{var _0x3c5801=_0x186532;for(var _0x154801=_0x1c1ef1>0x1?void 0x0:_0x1c1ef1?zr(_0x4e27cc,_0x5a0ba9):_0x4e27cc,_0x59be4f=_0x3e3139[_0x3c5801(0x2a2)]-0x1,_0xe1b044;_0x59be4f>=0x0;_0x59be4f--)(_0xe1b044=_0x3e3139[_0x59be4f])&&(_0x154801=_0xe1b044(_0x154801)||_0x154801);return _0x154801;},Xr=(_0x1355e6,_0x45add8)=>(_0x208955,_0x5e333c)=>_0x45add8(_0x208955,_0x5e333c,_0x1355e6);let at=class{constructor(_0x571daf){var _0x49a150=_0x186532;this[_0x49a150(0x26f)]=_0x571daf,this[_0x49a150(0x366)]();}[_0x186532(0x366)](){var _0x4e0757=_0x186532;this['_httpService'][_0x4e0757(0x243)]({'interceptor':(_0x1be3f4,_0x1ccd37)=>{var _0x32e027=_0x4e0757;const _0x1562b7=_0x1be3f4[_0x32e027(0x2ee)],_0x20f575=qr();return _0x20f575&&_0x1562b7[_0x32e027(0x128)](_0x32e027(0x242),_0x20f575),_0x1ccd37(_0x1be3f4);}});}};at=Jr([Xr(0x0,_0x272a70(_0x2129a6))],at);var Zr=Object[_0x186532(0x101)],Qr=(_0x31a3b7,_0x3cf2cf,_0x24c113,_0x32b7da)=>{for(var _0x1ddd62=_0x32b7da>0x1?void 0x0:_0x32b7da?Zr(_0x3cf2cf,_0x24c113):_0x3cf2cf,_0x4dfb02=_0x31a3b7['length']-0x1,_0x111375;_0x4dfb02>=0x0;_0x4dfb02--)(_0x111375=_0x31a3b7[_0x4dfb02])&&(_0x1ddd62=_0x111375(_0x1ddd62)||_0x1ddd62);return _0x1ddd62;},mt=(_0x292ce7,_0x35b27b)=>(_0x340c95,_0x49e2a0)=>_0x35b27b(_0x340c95,_0x49e2a0,_0x292ce7);let bt=class extends _0x449df0{constructor(_0x334d6e,_0x5cafb5,_0x1b1a01){var _0x3e2c1f=_0x186532;super(),N(this,'_unitInfo$',new _0x2f97c3(null)),N(this,'unitInfo$',this[_0x3e2c1f(0x144)]['asObservable']()),(this[_0x3e2c1f(0x380)]=_0x334d6e,this[_0x3e2c1f(0x2b2)]=_0x5cafb5,this[_0x3e2c1f(0x21e)]=_0x1b1a01);}async[_0x186532(0x386)](_0x2e198f,_0x3b1786,_0x247e14){var _0x2938a3=_0x186532;this[_0x2938a3(0x144)][_0x2938a3(0x1d4)]({'unitId':_0x2e198f,'type':_0x3b1786,'subUnitId':_0x247e14});let _0x1dc272=null;switch(_0x3b1786){case Q['UNIVER_SHEET']:{_0x1dc272=await this[_0x2938a3(0x25c)](_0x2e198f);break;}case Q[_0x2938a3(0x2b8)]:{_0x1dc272=await this['_loadDoc'](_0x2e198f);break;}default:{this['_logService'][_0x2938a3(0xb3)](_0x2938a3(0x247),_0x2938a3(0x2f0));break;}}return _0x1dc272;}async[_0x186532(0x25c)](_0x5b02fc){var _0x5d0216=_0x186532,_0x5cc5fb;let _0x5b0144=0x0;const _0x355e4b=await((_0x5cc5fb=this[_0x5d0216(0x21e)])==null?void 0x0:_0x5cc5fb['loadOfflineData'](_0x5b02fc));return _0x355e4b&&(_0x355e4b[_0x5d0216(0x1eb)]||_0x355e4b[_0x5d0216(0x1fe)][_0x5d0216(0x2a2)]!==0x0)&&(_0x5b0144=_0x355e4b[_0x5d0216(0xba)]),_0x5b0144===0x0&&this[_0x5d0216(0x380)][_0x5d0216(0x168)](_0x5d0216(0x247),_0x5d0216(0x1cc)),this[_0x5d0216(0x2b2)][_0x5d0216(0x231)](_0x5b02fc,_0x5b0144);}async[_0x186532(0x2dd)](_0x43210c){var _0x2dbfd9=_0x186532,_0x1d537a;let _0x1017a0=0x0;const _0x22387b=await((_0x1d537a=this['_localCacheService'])==null?void 0x0:_0x1d537a[_0x2dbfd9(0x34e)](_0x43210c));return _0x22387b&&(_0x22387b[_0x2dbfd9(0x1eb)]||_0x22387b[_0x2dbfd9(0x1fe)][_0x2dbfd9(0x2a2)]!==0x0)&&(_0x1017a0=_0x22387b[_0x2dbfd9(0xba)]),_0x1017a0===0x0&&this[_0x2dbfd9(0x380)]['debug'](_0x2dbfd9(0x247),_0x2dbfd9(0x1cc)),this['_snapshotService'][_0x2dbfd9(0x2f6)](_0x43210c,_0x1017a0);}};bt=Qr([mt(0x0,_0x223ea5),mt(0x1,_0x272a70(_0x61d876)),mt(0x2,_0x23c069(J))],bt);var es=Object[_0x186532(0x101)],ts=(_0x443232,_0x1ce38f,_0x5dd9e7,_0x9cd32d)=>{var _0x5babe0=_0x186532;for(var _0x76c8a4=_0x9cd32d>0x1?void 0x0:_0x9cd32d?es(_0x1ce38f,_0x5dd9e7):_0x1ce38f,_0x5cc611=_0x443232[_0x5babe0(0x2a2)]-0x1,_0x1fe8e1;_0x5cc611>=0x0;_0x5cc611--)(_0x1fe8e1=_0x443232[_0x5cc611])&&(_0x76c8a4=_0x1fe8e1(_0x76c8a4)||_0x76c8a4);return _0x76c8a4;},gt=(_0x106e8d,_0x4e420d)=>(_0x1a0f5a,_0x364056)=>_0x4e420d(_0x1a0f5a,_0x364056,_0x106e8d);const is=[_0x186532(0x2a5),_0x186532(0x399),_0x186532(0x294),_0x186532(0x283),_0x186532(0x1e6)],ns=0x5*0x400*0x400,rs=_0x186532(0x141),ss='/universer-api/stream/file/upload',as=_0x186532(0x355),os=_0x186532(0x1b9);let yt=class{constructor(_0x22d0b8,_0x4bb892,_0x29db8a){var _0x26456a=_0x186532;N(this,_0x26456a(0x241),0x0),N(this,_0x26456a(0x1fc),new _0x4088b8()),N(this,'change$',this['_change$']),N(this,'_imageSourceCache',new Map()),(this[_0x26456a(0x26f)]=_0x22d0b8,this['_configService']=_0x4bb892,this[_0x26456a(0x125)]=_0x29db8a);}[_0x186532(0x27b)](_0x59ae56){var _0x58c59c=_0x186532;this['_waitCount']=_0x59ae56,this[_0x58c59c(0x1fc)][_0x58c59c(0x1d4)](_0x59ae56);}[_0x186532(0x172)](_0x528020,_0x5d0e66){var _0x3e7f68=_0x186532;if(_0x5d0e66===_0x8a649d['BASE64']){const _0x59324a=new Image();return _0x59324a['src']=_0x528020,_0x59324a;}return this[_0x3e7f68(0x1de)][_0x3e7f68(0x357)](_0x528020);}['addImageSourceCache'](_0x3af415,_0x131a5b,_0x319fdf){var _0x5c5346=_0x186532;_0x131a5b===_0x8a649d[_0x5c5346(0x21c)]||_0x319fdf==null||this[_0x5c5346(0x1de)][_0x5c5346(0x128)](_0x3af415,_0x319fdf);}async['getImage'](_0x2d4084){var _0x4c1f57=_0x186532;try{const _0x4b2b9e=this['_replaceFileID'](this[_0x4c1f57(0x302)](),''+_0x2d4084),_0xc6018=(await this[_0x4c1f57(0x26f)]['get'](_0x4b2b9e))['body'];if(_0xc6018[_0x4c1f57(0xb3)]&&_0xc6018['error'][_0x4c1f57(0x195)]===Si['OK']){const _0xbece61=new URL(_0xc6018[_0x4c1f57(0x373)],this[_0x4c1f57(0x174)]())[_0x4c1f57(0x2e0)]();return Promise['resolve'](_0xbece61);}return Promise[_0x4c1f57(0x143)](_0xc6018['error']);}catch(_0x56391a){return Promise[_0x4c1f57(0x143)](_0x56391a);}}async[_0x186532(0x385)](_0x8d97a2){var _0x5a5a11=_0x186532;let _0x53ff2f='';if(!is['includes'](_0x8d97a2[_0x5a5a11(0x3a6)]))return this[_0x5a5a11(0xe3)](),Promise[_0x5a5a11(0x143)](new Error(_0x2be44f[_0x5a5a11(0x12c)]));if(_0x8d97a2[_0x5a5a11(0x327)]>ns)return this[_0x5a5a11(0xe3)](),Promise[_0x5a5a11(0x143)](new Error(_0x2be44f['ERROR_EXCEED_SIZE']));try{const _0x303983=new FormData();_0x303983[_0x5a5a11(0x307)]('file',_0x8d97a2);const _0x5c7f10=this['_univerInstanceService']['getFocusedUnit'](),_0x49f353=_0x5c7f10==null?void 0x0:_0x5c7f10[_0x5a5a11(0x1f5)]();if(!_0x49f353)throw new Error(_0x5a5a11(0x32e));const _0x11fc0b=this[_0x5a5a11(0xff)]()+_0x5a5a11(0x1f9)+_0x8d97a2[_0x5a5a11(0x327)][_0x5a5a11(0x2e0)]()+'&source='+Ei['UnitEmbedded']+'&assign='+encodeURIComponent(_0x49f353),_0x228d10=await(await fetch(_0x11fc0b,{'method':_0x5a5a11(0x230),'body':_0x303983}))[_0x5a5a11(0xb7)]();if(typeof _0x228d10[_0x5a5a11(0x308)]!='string')return this[_0x5a5a11(0xe3)](),Promise['reject'](new Error(_0x2be44f[_0x5a5a11(0x177)]));_0x53ff2f=_0x228d10[_0x5a5a11(0x308)];}catch{return this[_0x5a5a11(0xe3)](),Promise[_0x5a5a11(0x143)](new Error(_0x2be44f[_0x5a5a11(0x177)]));}return new Promise((_0x219d0f,_0x5b14f0)=>{var _0x206890=_0x5a5a11;const _0x5bb9c3=new FileReader();_0x5bb9c3[_0x206890(0x209)](_0x8d97a2),_0x5bb9c3[_0x206890(0x15a)]=_0x123bfa=>{var _0x35588b=_0x206890,_0x32e68c;const _0x410b2c=(_0x32e68c=_0x123bfa['target'])==null?void 0x0:_0x32e68c[_0x35588b(0x2fa)];if(_0x410b2c==null){this[_0x35588b(0xe3)](),_0x5b14f0(new Error(_0x2be44f[_0x35588b(0x177)]));return;}const _0x2bd1c2=_0x280c3f['generateRandomId'](0x6);_0x219d0f({'imageId':_0x2bd1c2,'imageSourceType':_0x8a649d[_0x35588b(0x246)],'source':_0x53ff2f,'base64Cache':_0x410b2c,'status':_0x2be44f[_0x35588b(0x1c1)]}),this[_0x35588b(0xe3)]();};});}[_0x186532(0xff)](){var _0x7e0cce=_0x186532,_0x557318,_0x433d66;const _0x3fcac8=this[_0x7e0cce(0xdf)]['getConfig'](rs),_0x411508=this[_0x7e0cce(0xdf)][_0x7e0cce(0x3a7)](q);return(_0x433d66=(_0x557318=_0x411508==null?void 0x0:_0x411508[_0x7e0cce(0x233)])!=null?_0x557318:_0x3fcac8)!=null?_0x433d66:ss;}[_0x186532(0x302)](){var _0x4f00ea=_0x186532,_0x1b79e2,_0x1de06c;const _0x3087f0=this['_configService'][_0x4f00ea(0x3a7)](as),_0xa8aee8=this[_0x4f00ea(0xdf)][_0x4f00ea(0x3a7)](q);return(_0x1de06c=(_0x1b79e2=_0xa8aee8==null?void 0x0:_0xa8aee8[_0x4f00ea(0x223)])!=null?_0x1b79e2:_0x3087f0)!=null?_0x1de06c:os;}['_getDownloadEndpointURL'](){var _0x17b4ed=_0x186532,_0x3fce93;const _0x4cfe71=this[_0x17b4ed(0xdf)][_0x17b4ed(0x3a7)](q);return(_0x3fce93=_0x4cfe71==null?void 0x0:_0x4cfe71[_0x17b4ed(0x1ee)])!=null?_0x3fce93:location[_0x17b4ed(0x226)];}[_0x186532(0xf2)](_0x3eee3b,_0x12f1d9){var _0x3f9fa2=_0x186532;return _0x3eee3b[_0x3f9fa2(0x270)]('{fileID}',_0x12f1d9);}[_0x186532(0xe3)](){var _0x310364=_0x186532;this[_0x310364(0x241)]-=0x1,this[_0x310364(0x1fc)][_0x310364(0x1d4)](this[_0x310364(0x241)]);}};yt=ts([gt(0x0,_0x272a70(_0x2129a6)),gt(0x1,_0xc7a031),gt(0x2,_0x272a70(_0x23ebe5))],yt);var cs=Object[_0x186532(0x101)],hs=(_0x3201fe,_0x4fbe08,_0x21ba18,_0x401029)=>{var _0x390cc5=_0x186532;for(var _0x36f48f=_0x401029>0x1?void 0x0:_0x401029?cs(_0x4fbe08,_0x21ba18):_0x4fbe08,_0xd27fae=_0x3201fe[_0x390cc5(0x2a2)]-0x1,_0x1e421d;_0xd27fae>=0x0;_0xd27fae--)(_0x1e421d=_0x3201fe[_0xd27fae])&&(_0x36f48f=_0x1e421d(_0x36f48f)||_0x36f48f);return _0x36f48f;},hi=(_0x11611b,_0x34a0c6)=>(_0x99d655,_0x47c17d)=>_0x34a0c6(_0x99d655,_0x47c17d,_0x11611b);const _s='/universer-api/authz';let Ot=class{constructor(_0x2f7099,_0x21672b){var _0x102894=_0x186532;this[_0x102894(0xdf)]=_0x2f7099,this[_0x102894(0xe4)]=_0x21672b;}[_0x186532(0x191)](){var _0x2e61d9=_0x186532,_0x83f0c4,_0x158b5d;const _0x3eb625=this[_0x2e61d9(0xdf)][_0x2e61d9(0x3a7)](Ni),_0x3cb26c=this[_0x2e61d9(0xdf)][_0x2e61d9(0x3a7)](q);return(_0x158b5d=(_0x83f0c4=_0x3cb26c==null?void 0x0:_0x3cb26c[_0x2e61d9(0x26d)])!=null?_0x83f0c4:_0x3eb625)!=null?_0x158b5d:_s;}async['list'](_0x24ee18){var _0xc221e0=_0x186532;const _0x337153=this[_0xc221e0(0x191)]()+'/collaborator';return{'list':[{'title':_0xc221e0(0x2cf),'mentions':(await this[_0xc221e0(0xe4)][_0xc221e0(0x357)](_0x337153,{'params':{'objectID':_0x24ee18[_0xc221e0(0x1e1)],'unitID':_0x24ee18['unitId']}}))['body'][_0xc221e0(0x2ed)][_0xc221e0(0x23e)](_0x4eab11=>({'objectId':_0x4eab11['id'],'name':_0x4eab11[_0xc221e0(0x123)][_0xc221e0(0x11b)],'metadata':{'icon':_0x4eab11[_0xc221e0(0x123)]['avatar']},'label':_0x4eab11[_0xc221e0(0x123)][_0xc221e0(0x11b)],'objectType':_0x396583[_0xc221e0(0x38e)]})),'metadata':{},'type':_0x396583['PERSON']}]};}};Ot=hs([hi(0x0,_0x272a70(_0xc7a031)),hi(0x1,_0x272a70(_0x2129a6))],Ot);var ls=Object[_0x186532(0x101)],us=(_0x137d29,_0x5d2786,_0x202e58,_0x3dd399)=>{var _0x10a6e1=_0x186532;for(var _0x5acd00=_0x3dd399>0x1?void 0x0:_0x3dd399?ls(_0x5d2786,_0x202e58):_0x5d2786,_0xcf4833=_0x137d29[_0x10a6e1(0x2a2)]-0x1,_0x150d56;_0xcf4833>=0x0;_0xcf4833--)(_0x150d56=_0x137d29[_0xcf4833])&&(_0x5acd00=_0x150d56(_0x5acd00)||_0x5acd00);return _0x5acd00;},Ae=(_0x4ed49b,_0x42ed55)=>(_0x1af712,_0x5440a0)=>_0x42ed55(_0x1af712,_0x5440a0,_0x4ed49b);let ot=class extends _0x449df0{constructor(_0xfd91af,_0x1f2624,_0x52b62c,_0x5603a5,_0x31f096){var _0x298886=_0x186532;super(),this['_injector']=_0xfd91af,this['_univerInstanceService']=_0x1f2624,this['_permissionService']=_0x52b62c,this[_0x298886(0x261)]=_0x5603a5,this[_0x298886(0x2fc)]=_0x31f096,this[_0x298886(0x222)](),this[_0x298886(0x14e)]();}[_0x186532(0x14e)](){var _0x3b1c85=_0x186532;const _0x148116=async _0x5bb5eb=>{var _0x3750d1=_0x5308;(await this[_0x3750d1(0x261)][_0x3750d1(0xfc)](_0x5bb5eb))[_0x3750d1(0xe9)]['pipe'](_0x569d1b(_0xe4ef9b=>_0xe4ef9b[_0x3750d1(0x10b)]===_0x2cc9d6[_0x3750d1(0x135)]),_0x23dccd(this[_0x3750d1(0x140)]))['subscribe'](_0x136388=>{var _0x45986d=_0x3750d1;const _0x16e920=_0x136388,{reason:_0x15fbfe}=_0x16e920[_0x45986d(0x28e)];this['_collaborationUIEventService'][_0x45986d(0x126)]({'id':se[_0x45986d(0xd2)],'data':_0x15fbfe}),this['_permissionService'][_0x45986d(0x352)](new _0x19ad0b(_0x5bb5eb)['id'],!0x1),this[_0x45986d(0x261)][_0x45986d(0x251)](_0x5bb5eb);});};_0x34a5b4(this[_0x3b1c85(0x125)][_0x3b1c85(0x153)](_0x1b78a2[_0x3b1c85(0x12b)]),this[_0x3b1c85(0x125)][_0x3b1c85(0x153)](_0x1b78a2[_0x3b1c85(0x2b8)]))[_0x3b1c85(0x118)](_0x500627(_0xee0f47=>_0xee0f47['getUnitId']()),_0x569d1b(_0x270bbb=>!_0x55eef4(_0x270bbb)),_0x23dccd(this[_0x3b1c85(0x140)]))[_0x3b1c85(0xee)](_0x3501e1=>{_0x148116(_0x3501e1);});}[_0x186532(0x222)](){var _0x3c4414=_0x186532;const _0x18925e=async _0x49eaa9=>{var _0x1609a2=_0x5308;const _0x13a20e=await this['_collaborationSessionService']['requireSession'](_0x49eaa9),_0x213cd5=this[_0x1609a2(0x21f)][_0x1609a2(0x357)](_0x4d360a);_0x13a20e[_0x1609a2(0xe9)][_0x1609a2(0x118)](_0x569d1b(_0x3a5a2d=>_0x3a5a2d[_0x1609a2(0x10b)]===_0x2cc9d6['UPDATE_PERMISSION_OBJ']),_0x23dccd(this[_0x1609a2(0x140)]))[_0x1609a2(0xee)](_0x61edee=>{var _0x2cb29d=_0x1609a2;const _0xf9a96e=_0x61edee,{objectId:_0x37a98d}=_0xf9a96e['data'];_0x37a98d===_0x49eaa9?_0x213cd5['initWorkbookPermissionChange'](_0x49eaa9):_0x213cd5[_0x2cb29d(0x107)](_0x49eaa9,_0x37a98d);});};_0x34a5b4(this[_0x3c4414(0x125)][_0x3c4414(0x153)](_0x1b78a2[_0x3c4414(0x12b)]))[_0x3c4414(0x118)](_0x500627(_0x4863fb=>_0x4863fb[_0x3c4414(0x1f5)]()),_0x569d1b(_0x538118=>!_0x55eef4(_0x538118)),_0x23dccd(this['dispose$']))[_0x3c4414(0xee)](_0x13813a=>{_0x18925e(_0x13813a);});}};ot=us([Ae(0x0,_0x272a70(_0x293f16)),Ae(0x1,_0x23ebe5),Ae(0x2,_0x2d0fc1),Ae(0x3,_0x272a70(Le)),Ae(0x4,_0x272a70(pe))],ot);function _0x25bd(){var _0x464576=['Hex','online$','_emitMembers','_collaborationSessionService','UnitEmbedded','_parse','DEFAULT_FILE_NAME','open$','saveSnapshot','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_unitID','_transformService','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_checkMissing','_getUndoStack','authzUrl','_unlockTransition','_httpService','replace','AUTHZ_URL_KEY','_members','_roomCreated$','getDeserializedSheetBlock','padding','localeService','state$','_onRemoteACK','sigBytes','symbol','setWaitCount','getCollabEntity$','toggleOnline','collaboration-client.local-cache-service','not_collab','title','_clearRetryConnectingTimer','push','image/gif','session.room-permission-denied','putCollaborators','11746107nnTtRk','COMPRESS_MUTATION_APPLY','?url=','_sendHeartbeatTimer','_eventService','Pkcs7','getLatestCsReqIdBySid','LEAVE','data','114450vvqGGs','_process','MSG_FOR_ERROR','_clearRedo','YUUMI_RATE_OVER_LIMIT','image/jpg','1426789FjClLK','startTime','createDecryptor','interceptor','forEach','LICENSE_EXPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','_state$','findIndex','_transformRemoteChangesetByIMECache','charCodeAt','_onUserLeave','onRemoteRetry','length','encodeURIComponent','onSyncEditingCollabCursor','image/png','255BLYcPu','_pendingMutations','_sendHeartbeat','APPLY_REJECT','/-/object/-/batch_allowed','ciphertext','ceil','CBC','cfg','c2Prime','_DEC_XFORM_MODE','Hasher','_snapshotService','_updateStatus','_iKey','infoRsp','_socketMessageSubscription','onMissedChangesetFetched','UNIVER_DOC','onTransformRemoteChangesetByIMECache','FAIL','_tryReconnect','apply','getSnapshotAPIPath','/universer-api/authz','[OfflineState]:\x20received\x20rejection.','_prevBlock','_clearCollaborationTimeoutTimer','conflict','_removeRoom','_permissionService','SUBMIT_CHANGESET_TIMEOUT','_entityInit$','requestParams','[CollaborationEntity]','ALREADY_EXISTS','OFFLINE','hasher','_updateLocalCache','ivSize','substr','People','_acknowledgedAwaitingChangeset','exports','onCommentUpdate','LIVESHARE_REQUEST_HOST','INVITE_CODE_ALREADY_BOUND','LIVESHARE_NEW_HOST','formatter','synced','method','join','delete','\x0aAfter:\x20','joinEvent','_loadDoc','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_onOffline','toString','UNRECOGNIZED','roomInfos','onTransformIME','updatePermissionObjEvent','fetching\x20missing\x20changesets\x20from\x20','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_telemetryService','crypto','find','_init','transformUndoRedo','_getSendChangesetTimeout','collaborators','headers','floor','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_data','_applyRemoteChangeset','_nDataBytes','from','UNISCRIPT_RUN','loadDoc','_onUserJoin','toLowerCase','Utf8','result','[UniverCollaborationClientPlugin]','_collaborationUIEventService','/rev/','_stopTelemetryCollaborationNewChangeset','Latin1','CHANGESET_SHOULD_RETRY','socketService','_getSignURL','_startTelemetryCollaborationNewChangeset','now','_changesetReqId','_onLocalMutation','append','FileId','focused$','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','processBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','encryptBlock','onRemoteAck','liveShareNewHost','body','session.join-failed','getUnitType','_incrementRevisionNumber','_xformMode','_onConnectionFailed','/role','UPDATE_PERMISSION_OBJ','_singleActiveUnitService','awaiting_with_pending','getCurrentSelections','Encryptor','YUUMI_UNABLE_LOAD_URL','onRemoteRej','Undefined','patch','textRanges','_keyPriorReset','disposeWithMe','UNIVER_UNKNOWN','_minBufferSize','resourceIDs','ENSURE_SNAPSHOT_EXECUTION','size','getAllMembers','stringify','resend','kdf','/unit/','asObservable','unitId\x20is\x20not\x20found','editingUnit','extend','JOINING','AES','enc','_lockTransition','getActiveSheet','Univer','capture','enableAuthServer','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','add','retryConnectingInterval','_onMessage','JOIN_ROOM_NOT_EXISTS','listRoles','UnitSnapshot','getMember','createEncryptor','UPDATE_CURSOR','selections','_createInitialStateImpl','_toggleOnline','__creator','/universer-api/snapshot','_oKey','objectActions','executeCommand','default','list','MUTATION','loadOfflineData','pad','getInterceptPoints','_reverseMap','updatePermissionPoint','USER_NOT_INVITED_CODE','message$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','_awaitingChangeset','get','range','_hash','csShouldRetryEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','_transformStack','then','createCollaborator','_iv','fetch_missing','[OfflineState]:\x20received\x20acknowledgement.','enableSingleActiveInstanceLock','c1Prime','_getCtorByUniverType','NEW_CHANGESETS','_initRequestHeader','SNAPSHOT_INVALID_SNAPSHOT','salt','members$','_clearUndo','csRejEvent','_localeService','charAt','withCredentials','_handlerCallback','transformSelections','objects','listCollaborators','url','baseRev','FETCH_MISSING','_executeRemoteChangeset','unitID','unsubscribe','_revisionService','sid','_clearScheduledTask','RECV','_clearHeartbeatTimer','transformMutationsWithChangeset','m2Prime','_logService','_resendTimer','pluginName','/universer-api/snapshot/','string','saveImage','loadUnit','_sessionStatus$','snapshotServerUrl','objectID','_mode','_map','fetchMissingChangesets','ONLINE','PERSON','UNIVER_PROJECT','_initMergeInterceptor','location','_transformRemoteChangesetByStateCache','UNAUTHENTICATED','SOCKET_FAILED','_createHelper','_resendTimeout','INVITE_CODE_HAS_BEEN_UES','_doReset','image/jpeg','pending','PERMISSION_REJ','sessionStatus$','reset','INVITE_CODE_REQUIRED','\x20to\x20','createInstance','action','_cipher','userID','collaboratorID','_candidateSocket','type','getConfig','COMPLETION_FINISHED','_config','YUUMI_SUBSCRIPTION_NOT_FOUND','UNDEFINED','_handler','_isPermissionRej','_createInitialState','getResourcesRequest','_scheduleCollaborationTimeoutTimer','_status$','CONNECTOR_DATA_TOO_LARGE','[PendingState]:\x20received\x20rejection.','_transformIMECache','random','getCurrentRevOfUnit','error','HEARTBEAT_INTERVAL','setShowComponents','UNKNOWN_CMD','json','collaboration-client.config','IDLE','rev','byteOffset','words','ws://127.0.0.1:8000/universer-api/comb/connect','Cipher','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','HMAC','COLLAB_WEB_SOCKET_URL','prototype','auth.needGotoLoginAlert','reduce','algo','_tryEnsureSocket','_sessions','Could\x20not\x20dynamically\x20require\x20\x22','_throwTelemetryCollaborationNewChangeset','LIVESHARE_OPERATION','_timeoutTimer','dispose','filter','updateOfflineData','[PendingState]:\x20received\x20acknowledgement.','unit-cache-','reconnect','CLOSE_ROOM','collaMsg','stopTime','COMPRESS_MUTATION_SEND','_onFetchMissResult','finalize','createSocket','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','HELLO','every','EvpKDF','_getLoginPath','fromCharCode','_configService','_scheduleCompleteTimestamp','_key','_commandService','_decreaseWaiting','_HTTPService','_rescheduleHeartbeat','INVALID_ARGUMENT','_createHmacHelper','transformStack\x20failed!','event$','_ENC_XFORM_MODE','execute','_memberService','OTHER_CLIENTS_EDITING','subscribe','_nRounds','CONFLICT','msCrypto','_replaceFileID','PERMISSION_DENIED','_onConnectionOpen','11181eLbNbJ','APPLY_REVISION_CONFILICT','/object/','NoPadding','getFocusedUnit','_remoteChangesetQueue','YUUMI_URL_COL_OUT_OF_RANGE','requireSession','onTransformSelections','JOIN_ROOM_FULL','_getUploadFileURL','_fetchMissChangesets','getOwnPropertyDescriptor','SerializableCipher','_collaborationTimeoutTimer','_createSocket','buffer','commentUpdateEvent','refreshPermission','getWorkbookSelections','_substituteRedoStack','/universer-api/uniscript','eventID','_compressMutationService','getValue','getRandomValues','Base','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','repeat','defineProperty','_getCurrentRevision','allowed','_sendingTimer','localCacheService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','pipe','onlyLocal','_networkConditionService','name','startsWith','/fetchmissing?from=','[CollaborationSession]','_commentUpdate$','/universer-api/oidc/authpage','encode','/allowed','subject','saveSheetBlock','_univerInstanceService','emitEvent','permissionRejEvent','set','OpenSSL','abs','UNIVER_SHEET','ERROR_IMAGE_TYPE','HmacSHA1','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','failed\x20to\x20apply\x20missed\x20changesets!','SNAPSHOT_HAS_BEEN_REMOVED','_exhaustRemoteChangesetQueue','_queuedRemoteChangesets','APPLY_PERMISSION_DENIED','reqId','SHOULD_CLOSE_CONN','decrypt','_transformStateCache','_getAPIPrefix','[CollaborationSessionService]','&to=','_event$','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_retryConnectingTimer','complete','blockSize','dispose$','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_roomMembers','reject','_unitInfo$','UNIVER_COLLABORATION_CLIENT_PLUGIN','UNIVER_SLIDE','_userManagerService','PSEUDO_FETCH_MISSING_RESULT','awaiting','getTime','USERS_ENTER','status','max','_initCloseConn','catch','updateCollaborator','_instanceService','actions','getTypeOfUnitAdded$','PY_RUNTIME_SCRIPT_ERROR','_state','bind','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','href','put','onload','originalMeta','update','NOT_FOUND','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','WordArray','LOGIN_URL_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','copyFileMeta','compute','_syncEditingCollabCursor','status$','_type','has','debug','encrypt','hasOwnProperty','state','_clearLocalCache','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','randomUUID','removeMember','AWAITING_WITH_PENDING','disableLocalCache','getImageSourceCache','_submitChangeset','_getDownloadEndpointURL','clone','SHA1','ERROR_IMAGE','parse','_joinRoom','getUnitOnRev','[OfflineState]:\x20received\x20changeset.','univer-pro.collaboration-client.single-active-unit-service','changesets','entityInit$','_doCreateSocket','/-/object/list','confirm','function','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','getCurrentUser','APPLY_DUPLICATED','/collaborator','subUnitId','SNAPSHOT_URL_KEY','call','key','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','UNKNOWN_CODE','_resendWithTimeout','COLLAB_SUBMIT_CHANGESET_URL','BlockCipher','COMMENT_UPDATE','_getAPIPrefixPath','_onRemoteChangeset','setCurrentUser','init','code','splice','6228840nubXOE','sin','toggleOffline','send','lib','snapshot','appendMutation','randomBytes','_clearTimeoutTimer','_doFinalize','hostname','collaboration_new_changeset','USERS_LEAVE','_substituteUndoStack','_onConflict','cmd','_members$','OTHER_CLIENT_EDITING','PENDING','/block/','post','RETRY_CONNECTING_MAX_COUNT','_replayCachedMutations','_socket$','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_sheetTransformSelectionsService','[CollaborationUndoRedoService]','onSendChangeset','_redoStacks','onTransformRemoteChangesetByStateCache','[CollaborationState]:\x20apply\x20error!','params','LOGIN_FAILED','close$','/universer-api/file/{fileID}/sign-url','_onCombEvent','create','updateMember','deepClone','submit\x20changeset\x20error!','isPermissionRej','_socketService','SUCCUSS','onTransformState','AWAITING','objectType','sendChangesetTimeout','/new_changes','JOIN','16HSqrYj','_shouldReportTelemetry','editing\x20status\x20changed\x20to','clamp','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','SOCKET_FAILED_RETRY','uniscriptRunEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','shouldCloseConn','_transformUndoredo','_onJoinRoomEvent','SUBMIT_CHANGESET','next','csAckEvent','keySize','BufferedBlockAlgorithm','INGEST','_transitionLocked','CHANGESET_REJ','$super','_append','mixIn','_imageSourceCache','_onRemoteRetry','_onRemoteRejected','unitId','entries','_updateState','33314pepxjg','NO_OTHER_CLIENTS_EDITING','image/bmp','session','_keySchedule','routeKey','CHANGESET_REVISION_CONFILICT','awaitingChangeset','format','memberID','downloadEndpointUrl','APPLY_NON_SEQUENTIAL_REVISION','_waitForHeartbeatResponse','_hasher','sessionStatus','_snapshotServerService','collabSubmitChangesetUrl','getUnitId','Malformed\x20UTF-8\x20data','loginUrlKey','\x20in\x20_schedule.','?size=','pauseCollaboration','values','_change$','_sender','mutations','connection\x20error','61geCsHs','HttpImport','_schedule','BlockCipherMode','collabWebSocketUrl','fetchMiss','LICENSE_DISTRO_REJECTED','getSheetBlock','_getRedoStack','readAsDataURL','4246HvZKzN','_socket','INTERNAL_ERROR','_telemetryInfo','/universer-api/comb','_registerDependencies','_showConflictNotification','INVALID_INVITE_CODE','_commentService','_collabSessionService','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','decryptBlock','onRemoteChangeset','slice','LIVESHARE_FETCH_OPERATIONS','_createHandler','fetchThroughInterceptors','_retryCount','BASE64','HttpExport','_localCacheService','_injector','saveChangeset','deleteCollaborator','_initUnitPermissionChange','signUrlServerUrl','__esModule','GLOBAL_ROOMS_CNT_EXCEEDS','origin','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','Decryptor','offline','LICENSE_IMPORT_SIZE_EXCEEDED','_startCollaboration','_undoRedoService','onStarting','SEND_CHANGESET_TIMEOUT','transformChangesets','POST','loadSheet','concat','uploadFileServerUrl','LOCAL_CACHE_INTERVAL','revision','getTypeOfUnitDisposed$','isArray','_doProcessBlock','onMissingChangesets','LIVESHARE_TERMINATE','HEARTBEAT','unknown','_collaborationPaused','map','responseType','MD5','_waitCount','x-univer-host','registerHTTPInterceptor','enableOfflineEditing','mode','UUID','[DataLoaderService]','indexOf','2230qvvTXW','fromCollab','_entities','CHANGESET_ACK','_doCryptBlock','_changesetSessionId','incrementRevOfUnit','clear','closeSession','close','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','TOO_MANY_REQUESTS','556QcNqFK','_socketReady','JOIN_ROOM_PERMISSION_DENIED','leaveEvent','newCsEvent','waitForRoom$','_loadSheet','getCollabEntity'];_0x25bd=function(){return _0x464576;};return _0x25bd();}var ds=Object['getOwnPropertyDescriptor'],fs=(_0x158fd4,_0x9a2297,_0x3d9b40,_0xc5aa3c)=>{var _0x3c27b2=_0x186532;for(var _0x58cf16=_0xc5aa3c>0x1?void 0x0:_0xc5aa3c?ds(_0x9a2297,_0x3d9b40):_0x9a2297,_0x1ff038=_0x158fd4[_0x3c27b2(0x2a2)]-0x1,_0x44c6d8;_0x1ff038>=0x0;_0x1ff038--)(_0x44c6d8=_0x158fd4[_0x1ff038])&&(_0x58cf16=_0x44c6d8(_0x58cf16)||_0x58cf16);return _0x58cf16;},_i=(_0x395b23,_0x3b7a85)=>(_0x28efbf,_0x48a55)=>_0x3b7a85(_0x28efbf,_0x48a55,_0x395b23);let Nt=class{constructor(_0x46f97b,_0x10911d){var _0x43272e=_0x186532;this[_0x43272e(0xdf)]=_0x46f97b,this[_0x43272e(0x26f)]=_0x10911d;}async[_0x186532(0x17a)](_0x4cde1f,_0x8df814){var _0x44ec4e=_0x186532,_0x40fde2;const {unitID:_0x5c7374,type:_0x23bd90,revision:_0x2f8216=0x0}=_0x8df814,_0x3cbe40=this['getSnapshotAPIPath']()+'/'+_0x23bd90+_0x44ec4e(0x32c)+_0x5c7374+_0x44ec4e(0x2fd)+_0x2f8216,_0x3e1f15=(await this['_httpService']['get'](_0x3cbe40))['body'],_0x31e0d0=(_0x40fde2=_0x3e1f15[_0x44ec4e(0x19c)])==null?void 0x0:_0x40fde2['workbook'];if(_0x31e0d0){const _0x3feaed=_0x31e0d0==null?void 0x0:_0x31e0d0[_0x44ec4e(0x15b)],_0x348385=_0x62fe30[_0x44ec4e(0x121)](_0x538551(_0x3feaed));_0x31e0d0[_0x44ec4e(0x15b)]=_0x348385,Object[_0x44ec4e(0x1e2)](_0x31e0d0['sheets'])[_0x44ec4e(0x299)](([,_0x29bd25])=>{var _0x27c6d8=_0x44ec4e;const _0x27a11e=_0x29bd25[_0x27c6d8(0x15b)],_0x4b5a57=_0x62fe30['encode'](_0x538551(_0x27a11e));_0x29bd25[_0x27c6d8(0x15b)]=_0x4b5a57;});}return _0x3e1f15;}async[_0x186532(0x207)](_0x48e13b,_0x483994){var _0x49d65c=_0x186532;const {unitID:_0x36cab7,type:_0x2d5c83,blockID:_0x41923c}=_0x483994,_0x4e496f=this[_0x49d65c(0x138)]()+'/'+_0x2d5c83+_0x49d65c(0x32c)+_0x36cab7+_0x49d65c(0x1aa)+_0x41923c;return(await this['_httpService'][_0x49d65c(0x357)](_0x4e496f))[_0x49d65c(0x310)];}async[_0x186532(0x274)](_0x16ebf3,_0x57454b){var _0x3f723b=_0x186532;const {unitID:_0x40bf53,type:_0x34e56c,blockID:_0x23112a}=_0x57454b,_0x2383f3=this[_0x3f723b(0x138)]()+'/block/'+_0x34e56c+_0x3f723b(0x32c)+_0x40bf53+_0x3f723b(0x1aa)+_0x23112a;return(await this['_httpService'][_0x3f723b(0x357)](_0x2383f3))[_0x3f723b(0x310)];}async[_0x186532(0x38c)](_0x5170c6,_0x1775fe){var _0xc9706a=_0x186532;const {unitID:_0x8b042a,type:_0x593970,from:_0x1bd6ec,to:_0x1eafa1}=_0x1775fe,_0x4286dd=this[_0xc9706a(0x138)]()+'/'+_0x593970+_0xc9706a(0x32c)+_0x8b042a+_0xc9706a(0x11d)+_0x1bd6ec+_0xc9706a(0x13a)+_0x1eafa1;return(await this[_0xc9706a(0x26f)][_0xc9706a(0x357)](_0x4286dd))['body'];}[_0x186532(0x2bd)](){var _0x47d301=_0x186532,_0xa80cdc;return(_0xa80cdc=this[_0x47d301(0xdf)][_0x47d301(0x3a7)](Sn))!=null?_0xa80cdc:this[_0x47d301(0x138)]();}[_0x186532(0x138)](){var _0x2e879a=_0x186532,_0x57e371,_0x8aa8ef;const _0x380195=this[_0x2e879a(0xdf)]['getConfig'](mn),_0x1c3302=this[_0x2e879a(0xdf)]['getConfig'](q);return(_0x8aa8ef=(_0x57e371=_0x1c3302==null?void 0x0:_0x1c3302[_0x2e879a(0x388)])!=null?_0x57e371:_0x380195)!=null?_0x8aa8ef:gn;}async[_0x186532(0x3af)](_0x375bba,_0x551400){var _0x40c96f=_0x186532;const _0xf6d331=_0x40c96f(0x383)+_0x551400['type']+_0x40c96f(0x32c)+_0x551400[_0x40c96f(0x377)]+'/resources';return(await this['_httpService'][_0x40c96f(0x357)](_0xf6d331,{'params':{'resourceId':JSON[_0x40c96f(0x329)](_0x551400[_0x40c96f(0x325)])}}))[_0x40c96f(0x310)];}[_0x186532(0x266)](){var _0x1987a=_0x186532;throw new Error(_0x1987a(0x227));}[_0x186532(0x124)](){var _0x531ac9=_0x186532;throw new Error(_0x531ac9(0x227));}[_0x186532(0x220)](){var _0x2215e9=_0x186532;throw new Error(_0x2215e9(0x227));}[_0x186532(0x162)](){var _0x5cb5a8=_0x186532;throw new Error(_0x5cb5a8(0x227));}[_0x186532(0x28c)](){var _0x2ad468=_0x186532;throw new Error(_0x2ad468(0x227));}};Nt=fs([_i(0x0,_0xc7a031),_i(0x1,_0x272a70(_0x2129a6))],Nt);var vs=Object['getOwnPropertyDescriptor'],ps=(_0x16e20b,_0x50fa5f,_0x6ec21,_0x14ef71)=>{var _0x1e5822=_0x186532;for(var _0x48f6f9=_0x14ef71>0x1?void 0x0:_0x14ef71?vs(_0x50fa5f,_0x6ec21):_0x50fa5f,_0x28c39c=_0x16e20b[_0x1e5822(0x2a2)]-0x1,_0x487856;_0x28c39c>=0x0;_0x28c39c--)(_0x487856=_0x16e20b[_0x28c39c])&&(_0x48f6f9=_0x487856(_0x48f6f9)||_0x48f6f9);return _0x48f6f9;},Pe=(_0x7dda60,_0x309b05)=>(_0x33b85c,_0x46d05b)=>_0x309b05(_0x33b85c,_0x46d05b,_0x7dda60);let Dt=class extends _0x5d0b82{constructor(_0x37f606,_0x5eedc9,_0x4a5f9f,_0x42c534,_0x708057){var _0x4853e2=_0x186532;super(_0x37f606,_0x5eedc9,_0x4a5f9f),this[_0x4853e2(0x269)]=_0x42c534,this[_0x4853e2(0x380)]=_0x708057;}[_0x186532(0x2eb)](_0x37b63a,_0xce556){var _0x59aaf6=_0x186532;const _0x45aa01=this[_0x59aaf6(0x26c)](_0x37b63a);if(_0x45aa01)try{const _0x2c55cb=this[_0x59aaf6(0x35c)](_0x45aa01,_0xce556);this[_0x59aaf6(0x1a4)](_0x37b63a,_0x2c55cb);}catch(_0x2a476a){this[_0x59aaf6(0x380)][_0x59aaf6(0xb3)]('[CollaborationUndoRedoService]',_0x2a476a),this[_0x59aaf6(0x36a)](_0x37b63a);}const _0x28913e=this['_getRedoStack'](_0x37b63a);if(_0x28913e)try{const _0x153236=this[_0x59aaf6(0x35c)](_0x28913e,_0xce556);this[_0x59aaf6(0x109)](_0x37b63a,_0x153236);}catch(_0xc11680){this[_0x59aaf6(0x380)][_0x59aaf6(0xb3)](_0xc11680),this[_0x59aaf6(0x292)](_0x37b63a);}}[_0x186532(0x36a)](_0x1ebbea){var _0x31e79e=_0x186532;const _0x5f3a5c=this[_0x31e79e(0x26c)](_0x1ebbea);_0x5f3a5c&&(_0x5f3a5c[_0x31e79e(0x2a2)]=0x0,this['_updateStatus']());}[_0x186532(0x292)](_0x221abb){var _0xe085a1=_0x186532;const _0x428afc=this[_0xe085a1(0x208)](_0x221abb);_0x428afc&&(_0x428afc[_0xe085a1(0x2a2)]=0x0,this[_0xe085a1(0x2b3)]());}[_0x186532(0x1a4)](_0x8de2c5,_0x4fcdda){var _0x337e75=_0x186532;this['_undoStacks'][_0x337e75(0x128)](_0x8de2c5,_0x4fcdda),this['_updateStatus']();}['_substituteRedoStack'](_0x4bd309,_0x42135b){var _0x5da019=_0x186532;this[_0x5da019(0x1b3)][_0x5da019(0x128)](_0x4bd309,_0x42135b),this[_0x5da019(0x2b3)]();}[_0x186532(0x35c)](_0x53e1dd,_0x56c763){var _0x103e1e=_0x186532;const _0x21ef02=[];let _0x39e33c=_0x56c763,_0x440b5b=_0x56c763;for(let _0x3fb427=_0x53e1dd[_0x103e1e(0x2a2)]-0x1;_0x3fb427>=0x0;_0x3fb427--){const {unitID:_0x4d9f82,undoMutations:_0x102ccb,redoMutations:_0x38c339}=_0x53e1dd[_0x3fb427],_0x5ec696=this[_0x103e1e(0x269)][_0x103e1e(0x37e)](_0x39e33c,_0x102ccb),_0x4ad9da=this['_transformService'][_0x103e1e(0x37e)](_0x440b5b,_0x38c339);if(_0x4548bf(_0x5ec696)||_0x4548bf(_0x4ad9da)){this[_0x103e1e(0x380)][_0x103e1e(0xb3)](_0x103e1e(0x1b1),_0x103e1e(0xe8),_0x5ec696,_0x4ad9da);break;}_0x39e33c=_0x5ec696[_0x103e1e(0x363)],_0x440b5b=_0x4ad9da['c1Prime'],_0x21ef02[_0x103e1e(0x282)]({'unitID':_0x4d9f82,'undoMutations':_0x5ec696[_0x103e1e(0x37f)],'redoMutations':_0x4ad9da[_0x103e1e(0x37f)]});}return _0x21ef02['reverse']();}};Dt=ps([Pe(0x0,_0x23ebe5),Pe(0x1,_0x598125),Pe(0x2,_0x593bd7),Pe(0x3,_0x2fd010),Pe(0x4,_0x223ea5)],Dt);var ms=Object[_0x186532(0x112)],gs=Object['getOwnPropertyDescriptor'],Ss=(_0x515847,_0x3b9b77,_0x215a71)=>_0x3b9b77 in _0x515847?ms(_0x515847,_0x3b9b77,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x215a71}):_0x515847[_0x3b9b77]=_0x215a71,Es=(_0x234d77,_0x32f0d2,_0x22946e,_0x2d9db8)=>{var _0x3ef05f=_0x186532;for(var _0xa957d0=_0x2d9db8>0x1?void 0x0:_0x2d9db8?gs(_0x32f0d2,_0x22946e):_0x32f0d2,_0xd8218c=_0x234d77[_0x3ef05f(0x2a2)]-0x1,_0x55dbc0;_0xd8218c>=0x0;_0xd8218c--)(_0x55dbc0=_0x234d77[_0xd8218c])&&(_0xa957d0=_0x55dbc0(_0xa957d0)||_0xa957d0);return _0xa957d0;},St=(_0x206334,_0x4ca298)=>(_0x9d2aa6,_0x1f33d4)=>_0x4ca298(_0x9d2aa6,_0x1f33d4,_0x206334),Is=(_0x2df413,_0xffa66e,_0x503706)=>Ss(_0x2df413,_0xffa66e+'',_0x503706);const Ts=_0x186532(0x145);let Ut=class extends _0x5cdaa8{constructor(_0x3ab70d,_0x56038a,_0x4ef4a9,_0xd33634){var _0x272c8c=_0x186532;super(),N(this,_0x272c8c(0x3a9)),(this[_0x272c8c(0x380)]=_0x56038a,this['_injector']=_0x4ef4a9,this[_0x272c8c(0xdf)]=_0xd33634);const {..._0x3643ae}=_0x3b0738({},An,_0x3ab70d);if(!_0x3643ae[_0x272c8c(0x301)])throw new Error(_0x272c8c(0x1af));this['_config']=_0x3643ae,this[_0x272c8c(0xdf)]['setConfig'](q,_0x3643ae);}[_0x186532(0x22d)](){var _0xc0c20f=_0x186532;this[_0xc0c20f(0x20f)](),this[_0xc0c20f(0x254)]();}[_0x186532(0x20f)](){var _0x2c0a82=_0x186532,_0x21207f,_0x386ee5;this['_injector'][_0x2c0a82(0x167)](_0x467098)&&this[_0x2c0a82(0x380)][_0x2c0a82(0xb3)](_0x2c0a82(0x2fb),_0x2c0a82(0x30c));const _0x4bcebc=_0x260e1b([[_0x467098,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2c0a82(0x3a9)][_0x2c0a82(0x301)]}],[_0x10215c,{'useClass':Nt}],[_0x33ed72,{'useClass':Rt}],[_0x2224df,{'useClass':yt}],[_0x5a9777,{'useClass':Ot}],[rt],[Ct]],(_0x21207f=this[_0x2c0a82(0x3a9)])==null?void 0x0:_0x21207f['override']);if(!((_0x386ee5=this[_0x2c0a82(0x3a9)])!=null&&_0x386ee5[_0x2c0a82(0x362)])){const _0x31ae61=_0x4bcebc[_0x2c0a82(0x29d)](([_0x48f2e6])=>_0x48f2e6===ht);_0x31ae61!==-0x1&&_0x4bcebc[_0x2c0a82(0x196)](_0x31ae61,0x1);}_0x5282fa(this['_injector'],_0x4bcebc);}[_0x186532(0x254)](){var _0xcb2333=_0x186532,_0x5e4b13,_0x46fd2a,_0x4aad60;this['_injector'][_0xcb2333(0x357)](_0x2129a6)[_0xcb2333(0x243)]({'priority':0x14,'interceptor':_0x5265ec({'maxParallel':0x6})}),(_0x5e4b13=this[_0xcb2333(0x3a9)])!=null&&_0x5e4b13[_0xcb2333(0x244)]||(_0x46fd2a=this[_0xcb2333(0x21f)][_0xcb2333(0x357)](J,_0x394d61['OPTIONAL']))==null||_0x46fd2a[_0xcb2333(0x171)](),(_0x4aad60=this['_config'])!=null&&_0x4aad60[_0xcb2333(0x338)]&&_0x543bb9(this['_injector'],[[st]]),_0x543bb9(this['_injector'],[[at],[rt],[ot]]);}};Is(Ut,_0x186532(0x382),Ts),Ut=Es([_0x2fd200(_0x53df17,_0x1e2c29),St(0x1,_0x223ea5),St(0x2,_0x272a70(_0x293f16)),St(0x3,_0xc7a031)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|
1
|
+
var _0x28b87b=_0x2643;(function(_0x4415e0,_0x5b1345){var _0x417e54=_0x2643,_0x5f2fa2=_0x4415e0();while(!![]){try{var _0x19357c=parseInt(_0x417e54(0x2e3))/0x1+parseInt(_0x417e54(0x25d))/0x2*(parseInt(_0x417e54(0x2d8))/0x3)+parseInt(_0x417e54(0x218))/0x4*(-parseInt(_0x417e54(0x2ed))/0x5)+-parseInt(_0x417e54(0x3a5))/0x6*(parseInt(_0x417e54(0x1d8))/0x7)+parseInt(_0x417e54(0x233))/0x8+-parseInt(_0x417e54(0x2e8))/0x9+parseInt(_0x417e54(0x222))/0xa;if(_0x19357c===_0x5b1345)break;else _0x5f2fa2['push'](_0x5f2fa2['shift']());}catch(_0x3b91c3){_0x5f2fa2['push'](_0x5f2fa2['shift']());}}}(_0x3ac7,0xb2f7f));var Ai=Object[_0x28b87b(0x3fe)],Pi=(_0x43313e,_0x5b9edf,_0xac5684)=>_0x5b9edf in _0x43313e?Ai(_0x43313e,_0x5b9edf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xac5684}):_0x43313e[_0x5b9edf]=_0xac5684,N=(_0x4ccb5e,_0x319561,_0x56652e)=>Pi(_0x4ccb5e,typeof _0x319561!=_0x28b87b(0x392)?_0x319561+'':_0x319561,_0x56652e);import{createIdentifier as _0x4e8d02,Inject as _0x170ace,Injector as _0x35bd28,IConfigService as _0xad7120,ILogService as _0x1e7fcd,Disposable as _0xa44e97,DisposableCollection as _0x31dfc0,toDisposable as _0x4592cb,IUniverInstanceService as _0xac24c,UserManagerService as _0x57dd1f,UniverInstanceType as _0xb681bd,LocaleService as _0x305ebe,Optional as _0x3adee5,RxDisposable as _0x32442f,Tools as _0x42dd4e,Rectangle as _0x8ae9b7,ICommandService as _0x57f32e,JSONX as _0x9e09b9,CommandType as _0x40e7ee,IUndoRedoService as _0x4a7bb9,IPermissionService as _0x160a69,sequenceExecute as _0x4e0f2a,Workbook as _0x1756ab,MentionType as _0x4ddda6,isInternalEditorID as _0x464b9b,LocalUndoRedoService as _0xb06c5d,IContextService as _0x2209e0,DependentOn as _0x2e84ee,Plugin as _0x5c3acd,merge as _0x183069,mergeOverrideWithDependencies as _0x50bf4,IAuthzIoService as _0x118cb8,IMentionIOService as _0x58bdee,registerDependencies as _0x2f2db5,Quantity as _0x65c40,touchDependencies as _0x545888}from'@univerjs/core';import{Subject as _0x345283,merge as _0x119bd2,of as _0x4362a1,BehaviorSubject as _0x1a110e,takeUntil as _0x263ba0,ReplaySubject as _0x114adc,take as _0x38ce00,map as _0x35d4e4,shareReplay as _0x511857,firstValueFrom as _0x2c5266,concatMap as _0x413e91}from'rxjs';import{map as _0x1f8a6a,take as _0x15cdc4,filter as _0x231ea8,delay as _0x577557,takeUntil as _0x485f83}from'rxjs/operators';import{CollaborationEvent as _0x1af912,ISnapshotServerService as _0x37ba0a,parseChangesetToProtocol as _0x4db84a,ITransformService as _0x46209b,isTransformMutationsWithChangesetSuccess as _0x4015a3,mapDocumentTypeToUniverType as _0x5069af,RevisionService as _0x3d8178,isTransformChangesetsSuccess as _0x73fc5f,CompressMutationService as _0x2ff610,parseProtocolChangeset as _0x48a598,SnapshotService as _0x1cc94f,textEncoder as _0x20c24a,b64DecodeUnicode as _0x25a082,isTransformMutationsWithChangesetFailure as _0x25c0ee,UniverCollaborationPlugin as _0x2d0e8d}from'@univerjs-pro/collaboration';import{HTTPService as _0x343475,ISocketService as _0x2a39dd,MergeInterceptorFactory as _0x2edaed,HTTPRequest as _0x3748e5,UniverNetworkPlugin as _0x267d3f,ThresholdInterceptorFactory as _0x22c5ef}from'@univerjs/network';import{ITelemetryService as _0x144864}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x6a54c2}from'@univerjs/docs';import{SheetsSelectionsService as _0x382e44,SetSelectionsOperation as _0x3d706d,InsertSheetMutation as _0x4a616a,EmptyMutation as _0x5358c1,WorkbookEditablePermission as _0x3aad19,SheetPermissionInitController as _0x1aba0f}from'@univerjs/sheets';import{ImageSourceType as _0x3199d0,ImageUploadStatusType as _0x124621,IImageIoService as _0x4535d0}from'@univerjs/drawing';import{getGlobalObject as _0x30136d}from'@univerjs-pro/license';const mn='SNAPSHOT_SERVER_URL_KEY',gn=_0x28b87b(0x292),Sn=_0x28b87b(0x3aa),xs='SEND_CHANGESET_TIMEOUT',En=0x7d0,In=_0x28b87b(0x415),Tn='ws://127.0.0.1:8000/universer-api/comb/connect',Ls=_0x28b87b(0x20a),Cn='HEARTBEAT_INTERVAL',Rn=0x7530,mi=_0x28b87b(0x41f),gi=0x4e20,bn=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',On=0x3,Ms=_0x28b87b(0x1df),ks=0x3e8,Nn='COLLAB_SUBMIT_CHANGESET_URL',Dn=_0x28b87b(0x345),Un=_0x28b87b(0x261),wn=_0x28b87b(0x38c),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x28b87b(0x412);var Si=(_0x3ff8bd=>(_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x3e4)]=0x0]=_0x28b87b(0x3e4),_0x3ff8bd[_0x3ff8bd['OK']=0x1]='OK',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x14e)]=0x2]=_0x28b87b(0x14e),_0x3ff8bd[_0x3ff8bd['PERMISSION_DENIED']=0x3]=_0x28b87b(0x422),_0x3ff8bd[_0x3ff8bd['NOT_FOUND']=0x4]=_0x28b87b(0x2a9),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x19d)]=0x5]=_0x28b87b(0x19d),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x333)]=0x6]=_0x28b87b(0x333),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x26b)]=0x7]=_0x28b87b(0x26b),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x240)]=0x8]='TOO_MANY_REQUESTS',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x18a)]=0x9]=_0x28b87b(0x18a),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1c6)]=0xa]=_0x28b87b(0x1c6),_0x3ff8bd[_0x3ff8bd['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28b87b(0x197),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x2df)]=0x1771]=_0x28b87b(0x2df),_0x3ff8bd[_0x3ff8bd['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x3ff8bd[_0x3ff8bd['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x26f)]=0x1b59]=_0x28b87b(0x26f),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x13f)]=0x1b5a]=_0x28b87b(0x13f),_0x3ff8bd[_0x3ff8bd['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x28b87b(0x3f8),_0x3ff8bd[_0x3ff8bd['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28b87b(0x18c),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x322)]=0x1b5d]=_0x28b87b(0x322),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x368)]=0x1f41]=_0x28b87b(0x368),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1a4)]=0x2329]=_0x28b87b(0x1a4),_0x3ff8bd[_0x3ff8bd['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x28b87b(0x327),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x16c)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3ff8bd[_0x3ff8bd['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1b5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3ff8bd[_0x3ff8bd['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x28b87b(0x395),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1ae)]=0x2712]=_0x28b87b(0x1ae),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x404)]=0x2714]=_0x28b87b(0x404),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x263)]=0x2af9]=_0x28b87b(0x263),_0x3ff8bd[_0x3ff8bd['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1f6)]=0x2ee2]='INVALID_INVITE_CODE',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x1ee)]=0x2ee3]=_0x28b87b(0x1ee),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x27c)]=0x2ee4]=_0x28b87b(0x27c),_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x2b7)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x3ff8bd[_0x3ff8bd[_0x28b87b(0x3ff)]=-0x1]=_0x28b87b(0x3ff),_0x3ff8bd))(Si||{}),Q=(_0x41de83=>(_0x41de83[_0x41de83[_0x28b87b(0x17f)]=0x0]=_0x28b87b(0x17f),_0x41de83[_0x41de83[_0x28b87b(0x159)]=0x1]=_0x28b87b(0x159),_0x41de83[_0x41de83['UNIVER_SHEET']=0x2]=_0x28b87b(0x41e),_0x41de83[_0x41de83[_0x28b87b(0x40d)]=0x3]='UNIVER_SLIDE',_0x41de83[_0x41de83[_0x28b87b(0x13d)]=0x4]='UNIVER_PROJECT',_0x41de83[_0x41de83[_0x28b87b(0x3ff)]=-0x1]=_0x28b87b(0x3ff),_0x41de83))(Q||{}),F=(_0x1a4ef3=>(_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x30b)]=0x0]='UNKNOWN_CMD',_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x1e7)]=0x1]=_0x28b87b(0x1e7),_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x432)]=0x2]='JOIN',_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x161)]=0x3]=_0x28b87b(0x161),_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x190)]=0x4]='INGEST',_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x291)]=0x5]=_0x28b87b(0x291),_0x1a4ef3[_0x1a4ef3['RECV']=0x6]=_0x28b87b(0x35b),_0x1a4ef3[_0x1a4ef3[_0x28b87b(0x3ff)]=-0x1]=_0x28b87b(0x3ff),_0x1a4ef3))(F||{}),ge=(_0x456939=>(_0x456939[_0x456939[_0x28b87b(0x158)]=0x0]=_0x28b87b(0x158),_0x456939[_0x456939['OK']=0x1]='OK',_0x456939[_0x456939[_0x28b87b(0x28e)]=0x2]=_0x28b87b(0x28e),_0x456939[_0x456939[_0x28b87b(0x2f5)]=0x3e9]=_0x28b87b(0x2f5),_0x456939[_0x456939[_0x28b87b(0x35f)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x456939[_0x456939[_0x28b87b(0x186)]=0x3eb]=_0x28b87b(0x186),_0x456939[_0x456939[_0x28b87b(0x262)]=0x3ec]=_0x28b87b(0x262),_0x456939[_0x456939['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x456939))(ge||{}),Ei=(_0x1304f2=>(_0x1304f2[_0x1304f2[_0x28b87b(0x1f9)]=0x0]=_0x28b87b(0x1f9),_0x1304f2[_0x1304f2[_0x28b87b(0x184)]=0x1]=_0x28b87b(0x184),_0x1304f2[_0x1304f2['HttpExport']=0x2]=_0x28b87b(0x3a4),_0x1304f2[_0x1304f2[_0x28b87b(0x306)]=0x3]='UnitEmbedded',_0x1304f2[_0x1304f2['UnitSnapshot']=0x4]='UnitSnapshot',_0x1304f2[_0x1304f2[_0x28b87b(0x3ff)]=-0x1]=_0x28b87b(0x3ff),_0x1304f2))(Ei||{});const q=_0x28b87b(0x388),An={};var se=(_0x329831=>(_0x329831[_0x28b87b(0x2aa)]=_0x28b87b(0x2aa),_0x329831[_0x28b87b(0x422)]=_0x28b87b(0x422),_0x329831[_0x28b87b(0x260)]=_0x28b87b(0x260),_0x329831[_0x28b87b(0x32d)]=_0x28b87b(0x32d),_0x329831[_0x28b87b(0x314)]=_0x28b87b(0x314),_0x329831[_0x28b87b(0x13e)]=_0x28b87b(0x13e),_0x329831[_0x28b87b(0x24d)]=_0x28b87b(0x24d),_0x329831[_0x28b87b(0x26a)]=_0x28b87b(0x26a),_0x329831))(se||{});class pe{constructor(){var _0x4256d4=_0x28b87b;N(this,_0x4256d4(0x287),new _0x345283()),N(this,_0x4256d4(0x3f6),this[_0x4256d4(0x287)][_0x4256d4(0x3d1)]());}['emitEvent'](_0x20dbc8){var _0x57c920=_0x28b87b;this[_0x57c920(0x287)][_0x57c920(0x36e)](_0x20dbc8);}}const Pn=_0x4e8d02(_0x28b87b(0x19e));function xn(_0x41e9c9){var _0x2c4c88=_0x28b87b,_0x3b1afd,_0x3a9c5e,_0x268f86,_0x20f7a1,_0x42ea41;const _0xf04b9c=_0x41e9c9[_0x2c4c88(0x141)],_0x3e2024=JSON['parse'](_0xf04b9c);switch(_0x3e2024['cmd']){case F['HEARTBEAT']:case F[_0x2c4c88(0x1e7)]:{const _0x458c32=_0x3e2024[_0x2c4c88(0x1ba)];return{..._0x3e2024,'data':_0x458c32,'cmd':_0x3e2024['cmd']};}case F[_0x2c4c88(0x432)]:{const _0x2499d1=_0x3e2024[_0x2c4c88(0x3c0)];return{..._0x3e2024,'data':_0x2499d1,'cmd':_0x3e2024[_0x2c4c88(0x330)]};}case F[_0x2c4c88(0x35b)]:{const _0x544f6d=_0x3e2024[_0x2c4c88(0x405)];switch(_0x544f6d[_0x2c4c88(0x2e1)]){case _0x1af912['PERMISSION_REJ']:return{..._0x3e2024,'data':{..._0x544f6d,'data':(_0x3b1afd=_0x544f6d[_0x2c4c88(0x310)])==null?void 0x0:_0x3b1afd['cs']},'cmd':_0x3e2024['cmd']};case _0x1af912[_0x2c4c88(0x3dd)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':(_0x3a9c5e=_0x544f6d[_0x2c4c88(0x187)])==null?void 0x0:_0x3a9c5e['cs']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x1a1)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':(_0x268f86=_0x544f6d[_0x2c4c88(0x1eb)])==null?void 0x0:_0x268f86['cs']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912['CHANGESET_REJ']:return{..._0x3e2024,'data':{..._0x544f6d,'data':(_0x20f7a1=_0x544f6d[_0x2c4c88(0x2cd)])==null?void 0x0:_0x20f7a1['cs']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x3ab)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':(_0x42ea41=_0x544f6d['csShouldRetryEvent'])==null?void 0x0:_0x42ea41['cs']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x201)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d['updateCursorEvent']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x224)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x23b)]},'cmd':_0x3e2024['cmd']};case _0x1af912['USERS_LEAVE']:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x15e)]},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x18e)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x3bb)]},'cmd':_0x3e2024['cmd']};case _0x1af912[_0x2c4c88(0x434)]:case _0x1af912[_0x2c4c88(0x370)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x433)]},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x397)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x3bb)]},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912['MSG_FOR_ERROR']:return{..._0x3e2024,'data':_0x544f6d,'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x41a)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d['commentUpdateEvent']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x37b)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d[_0x2c4c88(0x171)]},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x166)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d['shouldCloseConn']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};case _0x1af912[_0x2c4c88(0x174)]:return{..._0x3e2024,'data':{..._0x544f6d,'data':_0x544f6d['uniscriptRunEvent']},'cmd':_0x3e2024[_0x2c4c88(0x330)]};default:return _0x3e2024;}}default:return _0x3e2024;}}function Ln(_0x621413){var _0x87119=_0x28b87b;switch(_0x621413[_0x87119(0x330)]){case F['HEARTBEAT']:case F[_0x87119(0x1e7)]:return JSON[_0x87119(0x15b)]({'cmd':_0x621413['cmd'],'routeKey':_0x621413[_0x87119(0x2b5)]});case F[_0x87119(0x190)]:{let _0x5adea2;switch(_0x621413[_0x87119(0x141)]['eventID']){case _0x1af912[_0x87119(0x201)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x201)],'updateCursorEvent':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x3b7)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x3b7)],'leaveEvent':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x224)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x224)],'joinEvent':_0x621413[_0x87119(0x141)]['data']};break;}case _0x1af912[_0x87119(0x18e)]:{_0x5adea2={'eventID':_0x1af912['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x370)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x370)],'liveShareOperation':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x397)]:{_0x5adea2={'eventID':_0x1af912['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x38b)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x38b)],'liveShareRequestHost':_0x621413[_0x87119(0x141)][_0x87119(0x141)]};break;}case _0x1af912[_0x87119(0x434)]:{_0x5adea2={'eventID':_0x1af912[_0x87119(0x434)]};break;}default:_0x5adea2={'eventID':_0x621413[_0x87119(0x141)][_0x87119(0x2e1)]};}return JSON[_0x87119(0x15b)]({'cmd':_0x621413[_0x87119(0x330)],'routeKey':_0x621413[_0x87119(0x2b5)],'collaMsg':_0x5adea2});}case F[_0x87119(0x432)]:return JSON['stringify']({'cmd':_0x621413[_0x87119(0x330)],'routeKey':_0x621413[_0x87119(0x2b5)],'joinReq':_0x621413[_0x87119(0x141)]});case F[_0x87119(0x161)]:return JSON[_0x87119(0x15b)]({'cmd':_0x621413[_0x87119(0x330)],'routeKey':_0x621413[_0x87119(0x2b5)],'leaveReq':_0x621413[_0x87119(0x141)]});default:throw new Error(_0x87119(0x198));}}var Mn=Object[_0x28b87b(0x28a)],kn=(_0x4b9cb6,_0x4e6af5,_0x76e760,_0x392e6e)=>{for(var _0x201133=_0x392e6e>0x1?void 0x0:_0x392e6e?Mn(_0x4e6af5,_0x76e760):_0x4e6af5,_0x92a974=_0x4b9cb6['length']-0x1,_0x195da0;_0x92a974>=0x0;_0x92a974--)(_0x195da0=_0x4b9cb6[_0x92a974])&&(_0x201133=_0x195da0(_0x201133)||_0x201133);return _0x201133;},we=(_0x2e3f75,_0x33639f)=>(_0x1088a2,_0x167016)=>_0x33639f(_0x1088a2,_0x167016,_0x2e3f75);const Ii=_0x4e8d02(_0x28b87b(0x168));function $n(_0x4688b5,_0x350ecc,_0x571c43){var _0x305736=_0x28b87b;return _0x4688b5+'/'+_0x350ecc+'/unit/'+_0x571c43+_0x305736(0x3ee);}let Gt=class extends _0xa44e97{constructor(_0x4f3655,_0x9921f6,_0x5a84d1,_0x63653a,_0x2234d3){var _0x15ccc7=_0x28b87b;super(),this['_injector']=_0x4f3655,this[_0x15ccc7(0x3da)]=_0x9921f6,this[_0x15ccc7(0x2cf)]=_0x5a84d1,this[_0x15ccc7(0x170)]=_0x63653a,this[_0x15ccc7(0x3d9)]=_0x2234d3;}[_0x28b87b(0x427)](_0x5bd26f){var _0x565001=_0x28b87b;const _0x1d88c8=this['_injector']['get'](_0x2a39dd);if(!_0x1d88c8)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x38882e=_0x1d88c8[_0x565001(0x162)](_0x5bd26f);if(!_0x38882e)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x295fec=new _0x31dfc0(),_0x5b5886=new _0x345283();_0x295fec['add'](_0x38882e['close$']['subscribe'](_0x1b53ba=>_0x5b5886[_0x565001(0x36e)](_0x1b53ba))),_0x295fec['add'](_0x4592cb(()=>_0x5b5886[_0x565001(0x24b)]()));const _0xf8305=new _0x345283();_0x295fec[_0x565001(0x2e5)](_0x38882e[_0x565001(0x3e5)][_0x565001(0x213)](_0x29301c=>_0xf8305[_0x565001(0x36e)](_0x29301c))),_0x295fec['add'](_0x4592cb(()=>_0xf8305[_0x565001(0x24b)]()));const _0x457f8a=new _0x345283();_0x295fec[_0x565001(0x2e5)](_0x38882e['message$']['subscribe'](_0x35d6a6=>{var _0x56a0a7=_0x565001;const _0x26d4c8=xn(_0x35d6a6);_0x457f8a[_0x56a0a7(0x36e)](_0x26d4c8);})),_0x295fec['add'](_0x4592cb(()=>_0x457f8a['complete']()));let _0x2b510d;const _0x256c34=()=>{var _0xde2507=_0x565001;_0xf8305[_0xde2507(0x36e)](new Event(_0xde2507(0x307))),_0x5b5886[_0xde2507(0x36e)](new Event(_0xde2507(0x307))),_0x2b510d[_0xde2507(0x294)]();};return _0x2b510d={'memberID':'','close$':_0x5b5886[_0x565001(0x3d1)](),'error$':_0xf8305[_0x565001(0x3d1)](),'open$':_0x38882e['open$'],'message$':_0x457f8a[_0x565001(0x3d1)](),'send':_0x30f001=>{var _0x386c7c=_0x565001;if(_0x30f001[_0x386c7c(0x330)]===F[_0x386c7c(0x190)]){if(_0x30f001[_0x386c7c(0x141)][_0x386c7c(0x2e1)]===_0x1af912[_0x386c7c(0x3bd)]){this[_0x386c7c(0x257)](_0x2b510d,_0x30f001[_0x386c7c(0x141)])[_0x386c7c(0x196)](_0x30b0f5=>{this['_logService']['error'](_0x30b0f5),_0x256c34();});return;}if(_0x30f001[_0x386c7c(0x141)][_0x386c7c(0x2e1)]===_0x1af912[_0x386c7c(0x396)]){const _0x1c20b9=_0x30f001[_0x386c7c(0x141)];this[_0x386c7c(0x2dc)](_0x1c20b9)[_0x386c7c(0x21f)](_0x53dc86=>{var _0x27c309=_0x386c7c;_0x457f8a[_0x27c309(0x36e)]({'cmd':F[_0x27c309(0x35b)],'code':ge['OK'],'routeKey':_0x1c20b9[_0x27c309(0x141)][_0x27c309(0x40c)],'routeType':'','data':{'eventID':_0x1af912[_0x27c309(0x3a0)],'data':{'changesets':_0x53dc86}}});})[_0x386c7c(0x196)](_0x427657=>{var _0x403b4e=_0x386c7c;this[_0x403b4e(0x170)][_0x403b4e(0x3ea)](_0x427657),_0x256c34();});return;}}_0x38882e[_0x386c7c(0x42e)](Ln(_0x30f001));},'close':()=>{var _0x4a9970=_0x565001;_0x38882e['close'](),_0x295fec[_0x4a9970(0x332)]();}},_0x2b510d;}async[_0x28b87b(0x257)](_0xea52be,_0xa4346d){var _0x25a38a=_0x28b87b,_0xd61d59,_0x59479c;const {unitType:_0x5d66bd,unitID:_0x121fb5,changeset:_0x3b4754}=_0xa4346d[_0x25a38a(0x141)],_0xa6016f={'unitID':_0x121fb5,'memberID':_0xea52be[_0x25a38a(0x375)],'type':_0x5d66bd,'changeset':_0x4db84a(_0x3b4754)},_0x304977=this[_0x25a38a(0x2cf)][_0x25a38a(0x2ba)](Nn),_0x304300=this[_0x25a38a(0x2cf)]['getConfig'](q),_0x12f065=$n((_0x59479c=(_0xd61d59=_0x304300==null?void 0x0:_0x304300[_0x25a38a(0x2c5)])!=null?_0xd61d59:_0x304977)!=null?_0x59479c:Dn,_0x5d66bd,_0x121fb5);try{await this['_httpService'][_0x25a38a(0x3df)](_0x12f065,{'body':_0xa6016f});}catch(_0x553938){throw this[_0x25a38a(0x170)][_0x25a38a(0x3ea)](_0x25a38a(0x26c),_0x25a38a(0x3fd)),_0x553938;}}async['_fetchMissChangesets'](_0x3a928d){var _0x58e043=_0x28b87b;const {unitID:_0x310ff3,from:_0x4b57f6,to:_0x1de7f7,unitType:_0xd13e18}=_0x3a928d[_0x58e043(0x141)];return(await this[_0x58e043(0x3d9)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x310ff3,'type':_0xd13e18,'from':_0x4b57f6,'to':_0x1de7f7}))[_0x58e043(0x30e)];}};Gt=kn([we(0x0,_0x170ace(_0x35bd28)),we(0x1,_0x170ace(_0x343475)),we(0x2,_0xad7120),we(0x3,_0x1e7fcd),we(0x4,_0x37ba0a)],Gt);const Hn=_0x28b87b(0x3ca);function Bn(_0x3a495d){var _0xfab6cf=_0x28b87b;return JSON[_0xfab6cf(0x15b)](_0x3a495d)[_0xfab6cf(0x407)];}class Ti{constructor(){var _0x4231af=_0x28b87b;N(this,'_commentUpdate$',new _0x345283()),N(this,_0x4231af(0x274),this[_0x4231af(0x2c6)][_0x4231af(0x3d1)]());}[_0x28b87b(0x1da)](_0x2685a8){var _0x449dad=_0x28b87b;this[_0x449dad(0x2c6)][_0x449dad(0x36e)](_0x2685a8);}}var jn=Object['getOwnPropertyDescriptor'],Fn=(_0x3a10b9,_0x3980a5,_0xd0dc97,_0x1de883)=>{var _0x51eab7=_0x28b87b;for(var _0x32ec56=_0x1de883>0x1?void 0x0:_0x1de883?jn(_0x3980a5,_0xd0dc97):_0x3980a5,_0x13f2c5=_0x3a10b9[_0x51eab7(0x407)]-0x1,_0x1ed8b0;_0x13f2c5>=0x0;_0x13f2c5--)(_0x1ed8b0=_0x3a10b9[_0x13f2c5])&&(_0x32ec56=_0x1ed8b0(_0x32ec56)||_0x32ec56);return _0x32ec56;},Wt=(_0x355168,_0x10673a)=>(_0x621ed3,_0x511d51)=>_0x10673a(_0x621ed3,_0x511d51,_0x355168);let xe=class extends _0xa44e97{constructor(_0xc14399,_0x33c931){var _0x32a4cc=_0x28b87b;super(),N(this,_0x32a4cc(0x324),new Map()),N(this,_0x32a4cc(0x3a6),new _0x345283()),(this[_0x32a4cc(0x3ad)]=_0xc14399,this['_userManagerService']=_0x33c931,this[_0x32a4cc(0x371)](_0x119bd2(this[_0x32a4cc(0x3ad)][_0x32a4cc(0x1b9)](_0xb681bd[_0x32a4cc(0x41e)])[_0x32a4cc(0x280)](_0x1f8a6a(_0x33a179=>_0x33a179[_0x32a4cc(0x3c3)]())),this[_0x32a4cc(0x3ad)][_0x32a4cc(0x1b9)](_0xb681bd['UNIVER_DOC'])[_0x32a4cc(0x280)](_0x1f8a6a(_0xdab17c=>_0xdab17c[_0x32a4cc(0x3c3)]())),this[_0x32a4cc(0x3ad)][_0x32a4cc(0x1b9)](_0xb681bd[_0x32a4cc(0x40d)])[_0x32a4cc(0x280)](_0x1f8a6a(_0x194a08=>_0x194a08['getUnitId']())))[_0x32a4cc(0x213)](_0x4f40f2=>this[_0x32a4cc(0x138)](_0x4f40f2))));}[_0x28b87b(0x3b0)](_0x249539){var _0x3ce2b8=_0x28b87b;return this[_0x3ce2b8(0x324)][_0x3ce2b8(0x1b8)](_0x249539)?_0x4362a1(this[_0x3ce2b8(0x324)][_0x3ce2b8(0x1a3)](_0x249539)):this[_0x3ce2b8(0x3a6)][_0x3ce2b8(0x280)](_0x1f8a6a(_0x512042=>{var _0x384da8=_0x3ce2b8;if(_0x512042===_0x249539)return this[_0x384da8(0x324)][_0x384da8(0x1a3)](_0x512042);}));}[_0x28b87b(0x350)](_0x71c97a){var _0x41ce9e=_0x28b87b;this['_userManagerService'][_0x41ce9e(0x350)](_0x71c97a);}[_0x28b87b(0x3c1)](){var _0x58c62e=_0x28b87b;return this[_0x58c62e(0x256)][_0x58c62e(0x3c1)]();}['updateMember'](_0x20029c,_0x531dac){var _0x288d29=_0x28b87b;let _0x19f29a=this[_0x288d29(0x324)][_0x288d29(0x1a3)](_0x20029c);_0x19f29a||(_0x19f29a=new Vn(),this[_0x288d29(0x324)]['set'](_0x20029c,_0x19f29a),this[_0x288d29(0x3a6)][_0x288d29(0x36e)](_0x20029c)),_0x19f29a[_0x288d29(0x2da)](_0x531dac);}[_0x28b87b(0x31a)](_0x33d052,_0x2bc9a8){var _0x2f1146=_0x28b87b;const _0x42a8a4=this[_0x2f1146(0x324)]['get'](_0x33d052);_0x42a8a4&&_0x42a8a4[_0x2f1146(0x31a)](_0x2bc9a8);}[_0x28b87b(0x254)](_0x43bb49){var _0x52ff21=_0x28b87b;return this[_0x52ff21(0x324)][_0x52ff21(0x1a3)](_0x43bb49);}[_0x28b87b(0x2db)](_0x4240a4,_0x4c1889){var _0x3e59d5=_0x28b87b;const _0x12afbb=this[_0x3e59d5(0x324)][_0x3e59d5(0x1a3)](_0x4240a4);if(_0x12afbb)return _0x12afbb[_0x3e59d5(0x2db)](_0x4c1889);}[_0x28b87b(0x138)](_0x1ff17a){var _0x40b2fd=_0x28b87b;const _0x110ba2=this['_roomMembers'][_0x40b2fd(0x1a3)](_0x1ff17a);_0x110ba2&&(_0x110ba2[_0x40b2fd(0x332)](),this[_0x40b2fd(0x324)][_0x40b2fd(0x22e)](_0x1ff17a));}[_0x28b87b(0x332)](){var _0x43f4b0=_0x28b87b;this[_0x43f4b0(0x324)][_0x43f4b0(0x295)](_0x57b604=>_0x57b604[_0x43f4b0(0x332)]()),this[_0x43f4b0(0x324)][_0x43f4b0(0x2a2)](),this[_0x43f4b0(0x3a6)][_0x43f4b0(0x24b)]();}};xe=Fn([Wt(0x0,_0xac24c),Wt(0x1,_0x170ace(_0x57dd1f))],xe);class Vn extends _0xa44e97{constructor(){var _0x5e6c16=_0x28b87b;super(...arguments),N(this,_0x5e6c16(0x42f),new Map()),N(this,'_members$',new _0x1a110e(this[_0x5e6c16(0x42f)])),N(this,_0x5e6c16(0x1a8),this['_members$'][_0x5e6c16(0x3d1)]());}[_0x28b87b(0x332)](){var _0x4afa28=_0x28b87b;this[_0x4afa28(0x42f)][_0x4afa28(0x2a2)]();}[_0x28b87b(0x2da)](_0x55722b){var _0x21a7ed=_0x28b87b;this[_0x21a7ed(0x42f)]['set'](_0x55722b[_0x21a7ed(0x375)],_0x55722b),this[_0x21a7ed(0x42b)]();}[_0x28b87b(0x31a)](_0x2e09df){var _0x21c9db=_0x28b87b;this[_0x21c9db(0x42f)][_0x21c9db(0x22e)](_0x2e09df);}['getMember'](_0x3ad446){return this['_members']['get'](_0x3ad446);}[_0x28b87b(0x357)](){var _0x49e159=_0x28b87b;return Array[_0x49e159(0x17b)](this['_members'][_0x49e159(0x258)]());}[_0x28b87b(0x42b)](){var _0x550dbb=_0x28b87b;this['_members$']['next'](this[_0x550dbb(0x42f)]);}}var Gn=Object[_0x28b87b(0x28a)],Wn=(_0x545a43,_0x4f272e,_0x517ede,_0x3508a6)=>{var _0x489128=_0x28b87b;for(var _0x3f4ab7=_0x3508a6>0x1?void 0x0:_0x3508a6?Gn(_0x4f272e,_0x517ede):_0x4f272e,_0x833145=_0x545a43[_0x489128(0x407)]-0x1,_0xe6a03e;_0x833145>=0x0;_0x833145--)(_0xe6a03e=_0x545a43[_0x833145])&&(_0x3f4ab7=_0xe6a03e(_0x3f4ab7)||_0x3f4ab7);return _0x3f4ab7;},me=(_0x5a88f6,_0x40fdf0)=>(_0x7a3325,_0x1445a1)=>_0x40fdf0(_0x7a3325,_0x1445a1,_0x5a88f6),Ee=(_0x1ad368=>(_0x1ad368[_0x1ad368[_0x28b87b(0x137)]=0x0]=_0x28b87b(0x137),_0x1ad368[_0x1ad368[_0x28b87b(0x3cb)]=0x1]=_0x28b87b(0x3cb),_0x1ad368[_0x1ad368['OFFLINE']=0x2]=_0x28b87b(0x15d),_0x1ad368[_0x1ad368[_0x28b87b(0x31c)]=0x3]=_0x28b87b(0x31c),_0x1ad368))(Ee||{});const Kt={[ge[_0x28b87b(0x28e)]]:_0x28b87b(0x272),[ge[_0x28b87b(0x2f5)]]:_0x28b87b(0x212),[ge['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[ge[_0x28b87b(0x186)]]:_0x28b87b(0x36f),[ge[_0x28b87b(0x262)]]:_0x28b87b(0x1a0)};let Et=class extends _0x32442f{constructor(_0x57d2aa,_0x134f8e,_0x9ea157,_0x203ea0,_0x3d6de6,_0x162293,_0x49a351,_0x8acfd9,_0x3983bd){var _0x3c7e51=_0x28b87b;super(),N(this,_0x3c7e51(0x32c),new _0x1a110e(0x0)),N(this,'sessionStatus$',this[_0x3c7e51(0x32c)]['asObservable']()),N(this,_0x3c7e51(0x287),new _0x345283()),N(this,_0x3c7e51(0x3f6),this['_event$'][_0x3c7e51(0x3d1)]()),N(this,_0x3c7e51(0x3e7)),N(this,'_socketMessageSubscription'),N(this,_0x3c7e51(0x303)),N(this,_0x3c7e51(0x301),!0x1),N(this,_0x3c7e51(0x247),null),(this[_0x3c7e51(0x1af)]=_0x57d2aa,this[_0x3c7e51(0x170)]=_0x9ea157,this['_configService']=_0x203ea0,this[_0x3c7e51(0x2c3)]=_0x3d6de6,this[_0x3c7e51(0x185)]=_0x162293,this['_commentService']=_0x49a351,this['_collaborationUIEventService']=_0x8acfd9,this[_0x3c7e51(0x36a)]=_0x3983bd,this[_0x3c7e51(0x301)]=!!this[_0x3c7e51(0x36a)],_0x134f8e[_0x3c7e51(0x280)](_0x263ba0(this[_0x3c7e51(0x38f)]))[_0x3c7e51(0x213)](_0x3de338=>{var _0x13ff6e=_0x3c7e51,_0x205247;typeof _0x3de338>'u'||(this[_0x13ff6e(0x3e7)]=_0x3de338,_0x3de338?(this[_0x13ff6e(0x390)](_0x3de338),this[_0x13ff6e(0x2ec)]=_0x3de338['message$'][_0x13ff6e(0x213)](_0x209bfe=>{var _0x4f225b=_0x13ff6e;_0x209bfe['routeKey']===this['_unitID']&&this[_0x4f225b(0x312)](_0x209bfe);})):(this[_0x13ff6e(0x41d)](),this[_0x13ff6e(0x32c)][_0x13ff6e(0x36e)](0x2),(_0x205247=this[_0x13ff6e(0x2ec)])==null||_0x205247['unsubscribe'](),this[_0x13ff6e(0x2ec)]=null));}));}get[_0x28b87b(0x305)](){var _0x1e4576=_0x28b87b;return this[_0x1e4576(0x32c)][_0x1e4576(0x2ad)]();}['getMemberID'](){var _0x2f3386=_0x28b87b,_0x1940fe,_0x2704a4;return(_0x2704a4=(_0x1940fe=this['_socket'])==null?void 0x0:_0x1940fe[_0x2f3386(0x375)])!=null?_0x2704a4:null;}[_0x28b87b(0x332)](){var _0x44fb09=_0x28b87b;super[_0x44fb09(0x332)](),this[_0x44fb09(0x38f)][_0x44fb09(0x36e)](),this[_0x44fb09(0x38f)]['complete']();}['close'](){var _0x149fc5=_0x28b87b,_0x5b6d9c,_0x2b693e;this[_0x149fc5(0x41d)](),(_0x5b6d9c=this['_socket'])==null||_0x5b6d9c[_0x149fc5(0x42e)]({'cmd':F[_0x149fc5(0x161)],'data':{'roomID':this['_unitID']}}),(_0x2b693e=this[_0x149fc5(0x3e7)])==null||_0x2b693e['close'](),this[_0x149fc5(0x287)]['complete'](),this[_0x149fc5(0x32c)][_0x149fc5(0x24b)](),this[_0x149fc5(0x332)]();}[_0x28b87b(0x312)](_0xd0a024){var _0x3ec9eb=_0x28b87b;_0xd0a024[_0x3ec9eb(0x330)]===F[_0x3ec9eb(0x432)]?this[_0x3ec9eb(0x2b9)](_0xd0a024):_0xd0a024[_0x3ec9eb(0x330)]===F[_0x3ec9eb(0x35b)]&&this[_0x3ec9eb(0x2ee)](_0xd0a024);}[_0x28b87b(0x390)](_0x58e7a6){var _0x1466ef=_0x28b87b;this[_0x1466ef(0x32c)][_0x1466ef(0x36e)](0x1),_0x58e7a6[_0x1466ef(0x42e)]({'cmd':F[_0x1466ef(0x432)],'routeKey':this[_0x1466ef(0x1af)],'routeType':'','data':{'rooms':[{'roomID':this[_0x1466ef(0x1af)]}]}});}[_0x28b87b(0x2b9)](_0x1a1c35){var _0x3ee81e=_0x28b87b,_0x558d03;if(_0x1a1c35[_0x3ee81e(0x2ce)]in Kt){this[_0x3ee81e(0x23a)][_0x3ee81e(0x183)]({'id':se[_0x3ee81e(0x314)],'data':Kt[_0x1a1c35[_0x3ee81e(0x2ce)]]}),this['_sessionStatus$'][_0x3ee81e(0x36e)](0x2);return;}this['_sessionStatus$'][_0x3ee81e(0x36e)](0x3);const _0x385097=(_0x558d03=_0x1a1c35[_0x3ee81e(0x141)][_0x3ee81e(0x1a5)][this[_0x3ee81e(0x1af)]])==null?void 0x0:_0x558d03[_0x3ee81e(0x1d3)];_0x385097&&_0x385097['forEach'](_0x3af3f7=>this[_0x3ee81e(0x185)]['updateMember'](this[_0x3ee81e(0x1af)],_0x3af3f7));}[_0x28b87b(0x2ee)](_0x330ed8){var _0x4ff182=_0x28b87b;try{const _0x4345ac=_0x330ed8[_0x4ff182(0x141)];switch(_0x4345ac[_0x4ff182(0x2e1)]){case _0x1af912[_0x4ff182(0x224)]:this[_0x4ff182(0x2a8)](_0x4345ac),this['_event$'][_0x4ff182(0x36e)](_0x4345ac);break;case _0x1af912[_0x4ff182(0x3b7)]:this[_0x4ff182(0x3e8)](_0x4345ac),this[_0x4ff182(0x287)]['next'](_0x4345ac);break;case _0x1af912[_0x4ff182(0x3dd)]:case _0x1af912[_0x4ff182(0x3ab)]:this[_0x4ff182(0x325)](),this['_clearCollaborationTimeoutTimer'](),this['_event$'][_0x4ff182(0x36e)](_0x4345ac);break;case _0x1af912[_0x4ff182(0x16b)]:this[_0x4ff182(0x170)][_0x4ff182(0x3ea)](_0x4ff182(0x2f3)+JSON['stringify'](_0x4345ac)),this['_event$']['next'](_0x4345ac);break;case _0x1af912[_0x4ff182(0x41a)]:this[_0x4ff182(0x42a)][_0x4ff182(0x1da)](_0x4345ac[_0x4ff182(0x141)]),this['_event$'][_0x4ff182(0x36e)](_0x4345ac);break;default:this[_0x4ff182(0x287)][_0x4ff182(0x36e)](_0x4345ac);}}catch(_0x1cf59d){this[_0x4ff182(0x170)]['error'](_0x1cf59d,_0x330ed8);}}[_0x28b87b(0x2a8)](_0x2bfefd){var _0x436adf=_0x28b87b;this[_0x436adf(0x185)][_0x436adf(0x2da)](this[_0x436adf(0x1af)],_0x2bfefd[_0x436adf(0x141)]);}['_onUserLeave'](_0x3364ba){var _0x331711=_0x28b87b;this[_0x331711(0x185)][_0x331711(0x31a)](this[_0x331711(0x1af)],_0x3364ba['data'][_0x331711(0x375)]);}async[_0x28b87b(0x42e)](_0x348468,_0xddad61){var _0x32d997=_0x28b87b;if(this['sessionStatus']!==0x3||!this['_socket'])throw new Error(_0x32d997(0x1ac));try{_0x348468['eventID']===_0x1af912[_0x32d997(0x3bd)]&&(this['_scheduleCollaborationTimeoutTimer'](),this[_0x32d997(0x1f4)](_0x348468)),this[_0x32d997(0x3e7)]['send']({'cmd':F[_0x32d997(0x190)],'routeKey':_0xddad61,'routeType':'','data':_0x348468});}catch(_0x18d88e){this[_0x32d997(0x170)][_0x32d997(0x3ea)](_0x18d88e);}}['_scheduleCollaborationTimeoutTimer'](){var _0x44f658=_0x28b87b,_0xbb533f;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x48094b=_0x2643;this[_0x48094b(0x303)]=null,this['_collaborationUIEventService'][_0x48094b(0x183)]({'id':se[_0x48094b(0x26a)]});},(_0xbb533f=this['_configService'][_0x44f658(0x2ba)](mi))!=null?_0xbb533f:gi);}['_clearCollaborationTimeoutTimer'](){var _0x4807fb=_0x28b87b;this[_0x4807fb(0x303)]&&(clearTimeout(this[_0x4807fb(0x303)]),this[_0x4807fb(0x303)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4d49f0){var _0xc2acc1=_0x28b87b;if(!this[_0xc2acc1(0x301)])return;const {data:_0x48d491}=_0x4d49f0,{unitID:_0x1696ad,changeset:_0x25deb9}=_0x48d491,{mutations:_0x58d57d,type:_0x373910}=_0x25deb9;this['_telemetryInfo']={'unitId':_0x1696ad,'type':_0x373910,'startTime':performance[_0xc2acc1(0x194)](),'stopTime':0x0,'duration':0x0,'size':Bn(_0x58d57d)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x1a3a28=_0x28b87b;if(this['_shouldReportTelemetry']){if(!this[_0x1a3a28(0x247)]){this[_0x1a3a28(0x170)]['error'](_0x1a3a28(0x26c),_0x1a3a28(0x2e9));return;}this['_telemetryInfo'][_0x1a3a28(0x3ec)]=performance['now'](),this[_0x1a3a28(0x247)][_0x1a3a28(0x251)]=this[_0x1a3a28(0x247)][_0x1a3a28(0x3ec)]-this[_0x1a3a28(0x247)][_0x1a3a28(0x2b8)],this[_0x1a3a28(0x36a)][_0x1a3a28(0x242)](Hn,this[_0x1a3a28(0x247)]),this['_telemetryInfo']=null;}}[_0x28b87b(0x41d)](){var _0x8f0c21=_0x28b87b;this[_0x8f0c21(0x247)]=null;}};Et=Wn([me(0x2,_0x1e7fcd),me(0x3,_0xad7120),me(0x4,_0x170ace(_0x305ebe)),me(0x5,_0x170ace(xe)),me(0x6,_0x170ace(Ti)),me(0x7,_0x170ace(pe)),me(0x8,_0x3adee5(_0x144864))],Et);var Kn=Object[_0x28b87b(0x28a)],Yn=(_0x2fb452,_0x45a0be,_0x203162,_0x2d508d)=>{var _0x5a9992=_0x28b87b;for(var _0x49fac5=_0x2d508d>0x1?void 0x0:_0x2d508d?Kn(_0x45a0be,_0x203162):_0x45a0be,_0x1451c8=_0x2fb452[_0x5a9992(0x407)]-0x1,_0x9312ae;_0x1451c8>=0x0;_0x1451c8--)(_0x9312ae=_0x2fb452[_0x1451c8])&&(_0x49fac5=_0x9312ae(_0x49fac5)||_0x49fac5);return _0x49fac5;},be=(_0x42a2fe,_0x92eba1)=>(_0x43d355,_0x2fb8c9)=>_0x92eba1(_0x43d355,_0x2fb8c9,_0x42a2fe);let Le=class extends _0xa44e97{constructor(_0x550f42,_0x234dec,_0x2372d2,_0x5e01d6,_0x1b8d88,_0x3a5f32){var _0x4bec40=_0x28b87b;super(),N(this,_0x4bec40(0x36b),new _0x1a110e(void 0x0)),N(this,_0x4bec40(0x244),this[_0x4bec40(0x36b)][_0x4bec40(0x3d1)]()),N(this,'_candidateSocket',null),N(this,_0x4bec40(0x20c),new Map()),N(this,_0x4bec40(0x1c1),new _0x1a110e(Ee[_0x4bec40(0x137)])),N(this,_0x4bec40(0x29e),this[_0x4bec40(0x1c1)][_0x4bec40(0x3d1)]()),N(this,_0x4bec40(0x21c),!0x1),N(this,_0x4bec40(0x2fc)),N(this,_0x4bec40(0x1e6),0x0),N(this,_0x4bec40(0x241)),N(this,_0x4bec40(0x401)),(this[_0x4bec40(0x32e)]=_0x550f42,this['_logService']=_0x234dec,this['_configService']=_0x2372d2,this[_0x4bec40(0x2b4)]=_0x5e01d6,this[_0x4bec40(0x23a)]=_0x1b8d88,this[_0x4bec40(0x146)]=_0x3a5f32,this[_0x4bec40(0x384)]());}get[_0x28b87b(0x3e7)](){var _0x5815ff=_0x28b87b;return this['_socket$'][_0x5815ff(0x2ad)]();}['_listenToNetworkCondition'](){var _0x12ba0f=_0x28b87b;this['_networkConditionService']&&this[_0x12ba0f(0x371)](this['_networkConditionService'][_0x12ba0f(0x2c8)]['subscribe'](_0x5dca4e=>{var _0x24e173=_0x12ba0f;_0x5dca4e&&!this[_0x24e173(0x3e7)]&&this[_0x24e173(0x354)](),_0x5dca4e||this[_0x24e173(0x143)]();}));}[_0x28b87b(0x332)](){var _0x1b470a=_0x28b87b;super[_0x1b470a(0x332)](),this['_clearRetryConnectingTimer'](),this[_0x1b470a(0x20e)](),this[_0x1b470a(0x382)](),this[_0x1b470a(0x20c)][_0x1b470a(0x295)](_0x177607=>_0x177607[_0x1b470a(0x332)]()),this[_0x1b470a(0x20c)]['clear'](),this[_0x1b470a(0x1c1)][_0x1b470a(0x24b)]();}async[_0x28b87b(0x329)](_0xaabfe0){var _0x597e57=_0x28b87b;if(this['_sessions'][_0x597e57(0x1b8)](_0xaabfe0))return this[_0x597e57(0x20c)][_0x597e57(0x1a3)](_0xaabfe0);this[_0x597e57(0x160)]();const _0xf963aa=this[_0x597e57(0x32e)][_0x597e57(0x3f2)](Et,_0xaabfe0,this[_0x597e57(0x36b)][_0x597e57(0x3d1)]());return this[_0x597e57(0x20c)]['set'](_0xaabfe0,_0xf963aa),_0xf963aa;}['closeSession'](_0x41f928){var _0x1a055a=_0x28b87b,_0x167fd0;const _0xe49939=this[_0x1a055a(0x20c)][_0x1a055a(0x1a3)](_0x41f928);_0xe49939&&(this[_0x1a055a(0x20c)][_0x1a055a(0x22e)](_0x41f928),_0xe49939[_0x1a055a(0x294)]()),this[_0x1a055a(0x20c)]['size']||(_0x167fd0=this['_socket'])==null||_0x167fd0[_0x1a055a(0x294)]();}[_0x28b87b(0x354)](){var _0x4ccb37=_0x28b87b;this[_0x4ccb37(0x1e6)]=0x0,this[_0x4ccb37(0x358)](),this[_0x4ccb37(0x3bc)]();}['_clearRetryConnectingTimer'](){var _0x2382f6=_0x28b87b;this[_0x2382f6(0x2fc)]!=null&&(clearTimeout(this[_0x2382f6(0x2fc)]),this[_0x2382f6(0x2fc)]=null);}async[_0x28b87b(0x29c)](){var _0x574efc=_0x28b87b,_0x12008e,_0x818023;const _0x3d8e85=this[_0x574efc(0x2cf)][_0x574efc(0x2ba)](In),_0x48c1d7=this[_0x574efc(0x2cf)][_0x574efc(0x2ba)](q),_0x107131=(_0x818023=(_0x12008e=_0x48c1d7==null?void 0x0:_0x48c1d7[_0x574efc(0x346)])!=null?_0x12008e:_0x3d8e85)!=null?_0x818023:Tn,_0x4a0a47=await this[_0x574efc(0x2b4)][_0x574efc(0x162)](_0x107131);return this[_0x574efc(0x1b7)]=_0x4a0a47,_0x4a0a47;}async[_0x28b87b(0x160)](){var _0xdbe35b=_0x28b87b,_0x12df7d,_0x143cf2;try{const _0x3629b7=(_0x143cf2=(_0x12df7d=this['_socket'])!=null?_0x12df7d:this[_0xdbe35b(0x1b7)])!=null?_0x143cf2:await this[_0xdbe35b(0x29c)]();if(_0x3629b7){const _0x590899=_0x3629b7[_0xdbe35b(0x42e)];_0x3629b7[_0xdbe35b(0x42e)]=_0x4a4783=>(this[_0xdbe35b(0x1e3)](),_0x590899[_0xdbe35b(0x3b4)](_0x3629b7,[_0x4a4783])),_0x3629b7[_0xdbe35b(0x172)][_0xdbe35b(0x213)](_0x54c8ea=>this[_0xdbe35b(0x2c4)](_0x3629b7,_0x54c8ea)),_0x3629b7[_0xdbe35b(0x3e5)][_0xdbe35b(0x280)](_0x15cdc4(0x1))[_0xdbe35b(0x213)](_0x2258ef=>this[_0xdbe35b(0x170)][_0xdbe35b(0x3ea)](_0xdbe35b(0x283),_0x2258ef)),_0x3629b7['open$']['pipe'](_0x15cdc4(0x1))[_0xdbe35b(0x213)](()=>{this['_onConnectionOpen'](_0x3629b7);}),_0x3629b7[_0xdbe35b(0x2d2)][_0xdbe35b(0x280)](_0x15cdc4(0x1))[_0xdbe35b(0x213)](_0x462509=>{var _0x2e5949=_0xdbe35b;this['_logService']['debug'](_0x2e5949(0x1b0),'socket\x20close',_0x462509),this[_0x2e5949(0x34a)]();});}}catch(_0x16134e){this[_0xdbe35b(0x170)][_0xdbe35b(0x3ea)](_0x16134e),this[_0xdbe35b(0x34a)]();}}[_0x28b87b(0x151)](_0xac2459){var _0x1669da=_0x28b87b;this[_0x1669da(0x170)][_0x1669da(0x265)]('[CollaborationSessionService]','socket\x20open.'),_0xac2459[_0x1669da(0x42e)]({'cmd':F[_0x1669da(0x1e7)]}),this[_0x1669da(0x1e3)]();}[_0x28b87b(0x143)](){var _0x2f92fc=_0x28b87b;this[_0x2f92fc(0x21c)]=!0x1,this[_0x2f92fc(0x1b7)]=null,this['_status$']['next'](Ee[_0x2f92fc(0x15d)]),this['_socket$'][_0x2f92fc(0x36e)](null),this['_clearTimeoutTimer'](),this[_0x2f92fc(0x382)]();}[_0x28b87b(0x34a)](){var _0x339a8e=_0x28b87b,_0xca5dbf;this[_0x339a8e(0x143)](),this[_0x339a8e(0x1e6)]<((_0xca5dbf=this[_0x339a8e(0x2cf)]['getConfig'](yn))!=null?_0xca5dbf:On)?(this[_0x339a8e(0x23a)][_0x339a8e(0x183)]({'id':se[_0x339a8e(0x13e)]}),this[_0x339a8e(0x3bc)]()):this[_0x339a8e(0x23a)][_0x339a8e(0x183)]({'id':se[_0x339a8e(0x24d)]});}[_0x28b87b(0x3bc)](){var _0x40d29e=_0x28b87b,_0x326bd6;const _0x1dda8e=this[_0x40d29e(0x1e6)],_0x3e8679=this[_0x40d29e(0x2cf)][_0x40d29e(0x2ba)](q),_0x4f567b=_0x1dda8e===0x0?0x0:((_0x326bd6=_0x3e8679==null?void 0x0:_0x3e8679[_0x40d29e(0x1f3)])!=null?_0x326bd6:bn)*0x2**_0x1dda8e;this['_retryConnectingTimer']=setTimeout(()=>{var _0x3ead15=_0x40d29e;clearTimeout(this['_retryConnectingTimer']),this[_0x3ead15(0x2fc)]=null,this['_tryEnsureSocket']();},_0x4f567b),this[_0x40d29e(0x1e6)]+=0x1;}[_0x28b87b(0x2c4)](_0x4e8b9d,_0x2bf3a0){var _0x5c77ee=_0x28b87b;const {cmd:_0x2387c0}=_0x2bf3a0;_0x2387c0===F[_0x5c77ee(0x1e7)]&&!this[_0x5c77ee(0x21c)]&&(_0x4e8b9d['memberID']=_0x2bf3a0[_0x5c77ee(0x141)][_0x5c77ee(0x375)],this[_0x5c77ee(0x36b)]['next'](_0x4e8b9d),this[_0x5c77ee(0x1c1)][_0x5c77ee(0x36e)](Ee[_0x5c77ee(0x31c)]),this[_0x5c77ee(0x21c)]=!0x0,this[_0x5c77ee(0x1b7)]=null),_0x2387c0===F[_0x5c77ee(0x291)]&&this[_0x5c77ee(0x20e)](),this[_0x5c77ee(0x1e3)]();}[_0x28b87b(0x1e3)](){var _0x51a8eb=_0x28b87b,_0x22b76c;this[_0x51a8eb(0x382)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x51a8eb(0x219)](),(_0x22b76c=this[_0x51a8eb(0x2cf)][_0x51a8eb(0x2ba)](Cn))!=null?_0x22b76c:Rn);}[_0x28b87b(0x219)](){var _0x353d53=_0x28b87b;this[_0x353d53(0x3e7)]['send']({'cmd':F['HEARTBEAT']}),this[_0x353d53(0x2e0)]();}[_0x28b87b(0x2e0)](){var _0x58f53e=_0x28b87b,_0x259caf;this['_timeoutTimer']=setTimeout(()=>this['_onConnectionFailed'](),(_0x259caf=this[_0x58f53e(0x2cf)][_0x58f53e(0x2ba)](mi))!=null?_0x259caf:gi);}[_0x28b87b(0x382)](){var _0x19a70e=_0x28b87b;this[_0x19a70e(0x241)]!=null&&(clearTimeout(this[_0x19a70e(0x241)]),this[_0x19a70e(0x241)]=null);}[_0x28b87b(0x20e)](){var _0x4ada6b=_0x28b87b;this[_0x4ada6b(0x401)]!=null&&(clearTimeout(this[_0x4ada6b(0x401)]),this[_0x4ada6b(0x401)]=null);}};Le=Yn([be(0x0,_0x170ace(_0x35bd28)),be(0x1,_0x1e7fcd),be(0x2,_0xad7120),be(0x3,Ii),be(0x4,_0x170ace(pe)),be(0x5,_0x3adee5(Pn))],Le);const V=[];for(let t=0x0;t<0x100;++t)V[_0x28b87b(0x40f)]((t+0x100)[_0x28b87b(0x177)](0x10)[_0x28b87b(0x2bb)](0x1));function qn(_0x202bfc,_0x1a6de3=0x0){var _0x29c365=_0x28b87b;return(V[_0x202bfc[_0x1a6de3+0x0]]+V[_0x202bfc[_0x1a6de3+0x1]]+V[_0x202bfc[_0x1a6de3+0x2]]+V[_0x202bfc[_0x1a6de3+0x3]]+'-'+V[_0x202bfc[_0x1a6de3+0x4]]+V[_0x202bfc[_0x1a6de3+0x5]]+'-'+V[_0x202bfc[_0x1a6de3+0x6]]+V[_0x202bfc[_0x1a6de3+0x7]]+'-'+V[_0x202bfc[_0x1a6de3+0x8]]+V[_0x202bfc[_0x1a6de3+0x9]]+'-'+V[_0x202bfc[_0x1a6de3+0xa]]+V[_0x202bfc[_0x1a6de3+0xb]]+V[_0x202bfc[_0x1a6de3+0xc]]+V[_0x202bfc[_0x1a6de3+0xd]]+V[_0x202bfc[_0x1a6de3+0xe]]+V[_0x202bfc[_0x1a6de3+0xf]])[_0x29c365(0x38d)]();}let ut;const zn=new Uint8Array(0x10);function Jn(){var _0xb6343e=_0x28b87b;if(!ut){if(typeof crypto>'u'||!crypto[_0xb6343e(0x2fa)])throw new Error(_0xb6343e(0x235));ut=crypto[_0xb6343e(0x2fa)][_0xb6343e(0x180)](crypto);}return ut(zn);}const Xn=typeof crypto<'u'&&crypto[_0x28b87b(0x293)]&&crypto[_0x28b87b(0x293)]['bind'](crypto),Yt={'randomUUID':Xn};function Zn(_0xaa73fe,_0x3138a3,_0x523d0b){var _0x4c58a6=_0x28b87b,_0x41146f,_0x4eb27a,_0x35dc02;if(Yt[_0x4c58a6(0x293)]&&!_0xaa73fe)return Yt[_0x4c58a6(0x293)]();_0xaa73fe=_0xaa73fe||{};const _0x3a5de6=(_0x35dc02=(_0x4eb27a=_0xaa73fe[_0x4c58a6(0x2c9)])!=null?_0x4eb27a:(_0x41146f=_0xaa73fe[_0x4c58a6(0x431)])==null?void 0x0:_0x41146f[_0x4c58a6(0x3a7)](_0xaa73fe))!=null?_0x35dc02:Jn();if(_0x3a5de6[_0x4c58a6(0x407)]<0x10)throw new Error(_0x4c58a6(0x367));return _0x3a5de6[0x6]=_0x3a5de6[0x6]&0xf|0x40,_0x3a5de6[0x8]=_0x3a5de6[0x8]&0x3f|0x80,qn(_0x3a5de6);}const J=_0x4e8d02('collaboration-client.local-cache-service');function Bs(_0x33c362){var _0x293f09=_0x28b87b;return _0x293f09(0x309)+_0x33c362;}var Qn=Object[_0x28b87b(0x28a)],er=(_0x9b317a,_0x48ea20,_0x207ce3,_0x330b27)=>{for(var _0x25d73a=_0x330b27>0x1?void 0x0:_0x330b27?Qn(_0x48ea20,_0x207ce3):_0x48ea20,_0x1f3053=_0x9b317a['length']-0x1,_0x2a1ccb;_0x1f3053>=0x0;_0x1f3053--)(_0x2a1ccb=_0x9b317a[_0x1f3053])&&(_0x25d73a=_0x2a1ccb(_0x25d73a)||_0x25d73a);return _0x25d73a;},dt=(_0x129f0c,_0x148de4)=>(_0x4d17d1,_0x9c9da1)=>_0x148de4(_0x4d17d1,_0x9c9da1,_0x129f0c);function tr(_0x4b241c){var _0xcd0006=_0x28b87b;const {unitID:_0x24beb1,mutations:_0x790886}=_0x4b241c;return{'unitId':_0x24beb1,'subUnitId':_0x790886[0x0][_0xcd0006(0x33e)][_0xcd0006(0x326)]};}let it=class{constructor(_0x1dcf96,_0x58904e,_0x2f8c5c){var _0x3f9db3=_0x28b87b;this['_injector']=_0x1dcf96,this[_0x3f9db3(0x3b9)]=_0x58904e,this['_instanceService']=_0x2f8c5c;}[_0x28b87b(0x2c2)](_0x3a43ab){var _0x405de9=_0x28b87b,_0x1ae6b3,_0x33e4c8,_0x1a5683,_0x176dc5;const _0x2f9947=this['_injector']['get'](_0x382e44),{unitId:_0x17de06,subUnitId:_0x508e23}=tr(_0x3a43ab),_0x57df1d=_0x2f9947==null?void 0x0:_0x2f9947[_0x405de9(0x181)](_0x17de06)[_0x405de9(0x3d6)](),_0x1b1fc5=(_0x33e4c8=(_0x1ae6b3=this[_0x405de9(0x19a)][_0x405de9(0x426)](_0x17de06))==null?void 0x0:_0x1ae6b3[_0x405de9(0x1fc)]())==null?void 0x0:_0x33e4c8[_0x405de9(0x264)]();if(_0x57df1d[_0x405de9(0x407)]===0x0||!_0x17de06||!_0x508e23)return;const _0x192eaa=[{'id':_0x3d706d['id'],'params':{'unitId':_0x17de06,'subUnitId':_0x1b1fc5,'selections':_0x42dd4e[_0x405de9(0x2f8)](_0x57df1d)}}],_0x22825e=this[_0x405de9(0x3b9)][_0x405de9(0x34b)](_0x3a43ab,_0x192eaa);if(!_0x4015a3(_0x22825e))throw _0x22825e[_0x405de9(0x3ea)];const _0x5a7473=(_0x176dc5=(_0x1a5683=_0x22825e['m2Prime'][0x0])==null?void 0x0:_0x1a5683['params'])==null?void 0x0:_0x176dc5['selections'];if(Array[_0x405de9(0x338)](_0x5a7473)&&_0x5a7473[_0x405de9(0x407)]){if(_0x5a7473[_0x405de9(0x407)]===_0x192eaa[0x0][_0x405de9(0x33e)][_0x405de9(0x3db)][_0x405de9(0x407)]&&_0x5a7473[_0x405de9(0x353)]((_0x204035,_0x2fb3e4)=>_0x8ae9b7[_0x405de9(0x221)](_0x204035[_0x405de9(0x1fe)],_0x192eaa[0x0][_0x405de9(0x33e)]['selections'][_0x2fb3e4][_0x405de9(0x1fe)])))return;this['_injector'][_0x405de9(0x1a3)](_0x57f32e)[_0x405de9(0x2d6)](_0x3d706d['id'],{'unitId':_0x17de06,'subUnitId':_0x1b1fc5,'selections':_0x5a7473});}}};it=er([dt(0x0,_0x170ace(_0x35bd28)),dt(0x1,_0x46209b),dt(0x2,_0xac24c)],it);const ht=_0x4e8d02(_0x28b87b(0x1f2));var Ci=(_0x2e3413=>(_0x2e3413[_0x2e3413['NO_OTHER_CLIENTS_EDITING']=0x0]=_0x28b87b(0x203),_0x2e3413[_0x2e3413[_0x28b87b(0x210)]=0x1]=_0x28b87b(0x210),_0x2e3413))(Ci||{});const ir=new Set([_0x4a616a['id']]);function qt(_0x5d108d,_0x4e3272,_0x32b171,_0x10553e,_0x12f46c){var _0x7c587b=_0x28b87b,_0x134ccd,_0x19262a,_0x304565,_0x2e91ae;const _0x4ea9bd=[];for(const _0x1f4f88 of _0x5d108d)if(ir[_0x7c587b(0x1b8)](_0x1f4f88['id'])){if(_0x4ea9bd[_0x7c587b(0x407)]>0x0)break;_0x4ea9bd[_0x7c587b(0x40f)](_0x1f4f88);break;}else _0x4ea9bd[_0x7c587b(0x40f)](_0x1f4f88);const _0x3e31a7=(_0x19262a=(_0x134ccd=_0x12f46c[_0x7c587b(0x3c1)]())==null?void 0x0:_0x134ccd[_0x7c587b(0x16a)])!=null?_0x19262a:_0x7c587b(0x389),_0x1a8000=(_0x2e91ae=(_0x304565=_0x12f46c[_0x7c587b(0x3c1)]())==null?void 0x0:_0x304565['memberID'])!=null?_0x2e91ae:_0x7c587b(0x389);return{'changeset':{'unitID':_0x4e3272,'type':_0x5069af(_0x32b171[_0x7c587b(0x29b)](_0x4e3272)),'baseRev':_0x10553e[_0x7c587b(0x3e0)](_0x4e3272),'revision':0x0,'userID':_0x3e31a7,'memberID':_0x1a8000,'mutations':_0x4ea9bd},'pendingMutations':_0x5d108d['slice'](_0x4ea9bd[_0x7c587b(0x407)])};}function nr(_0xb377bc,_0x49369f,_0x41b9be,_0x2d640f,_0x394e7a){var _0x11a1e6=_0x28b87b,_0x36aed6,_0x400635,_0x383354,_0x2be990;const _0x1af34e=[_0xb377bc[_0x11a1e6(0x3d5)]((_0x3ff042,_0x3e99cc)=>{var _0x1530b8=_0x11a1e6,_0x3d38c9;const {id:_0x504140}=_0x3ff042,{id:_0x332d89,type:_0x58cd94}=_0x3e99cc,_0x2d124d=(_0x3d38c9=_0x3ff042[_0x1530b8(0x33e)])!=null?_0x3d38c9:{'actions':null},_0x4c94ae=_0x3e99cc[_0x1530b8(0x33e)];if(_0x504140&&_0x504140!==_0x332d89)throw new Error(_0x1530b8(0x24a)+_0x504140+'\x20-\x20'+_0x332d89+'.');return{..._0x3ff042,'id':_0x332d89,'type':_0x58cd94,'params':{'unitId':_0x4c94ae[_0x1530b8(0x1e2)],'textRanges':_0x4c94ae[_0x1530b8(0x273)],'actions':_0x9e09b9[_0x1530b8(0x3de)](_0x2d124d[_0x1530b8(0x356)],_0x4c94ae[_0x1530b8(0x356)])}};},{})],_0x653096=(_0x400635=(_0x36aed6=_0x394e7a[_0x11a1e6(0x3c1)]())==null?void 0x0:_0x36aed6[_0x11a1e6(0x16a)])!=null?_0x400635:_0x11a1e6(0x389),_0x4b0e48=(_0x2be990=(_0x383354=_0x394e7a[_0x11a1e6(0x3c1)]())==null?void 0x0:_0x383354[_0x11a1e6(0x375)])!=null?_0x2be990:_0x11a1e6(0x389);return{'changeset':{'unitID':_0x49369f,'type':_0x5069af(_0x41b9be['getUnitType'](_0x49369f)),'baseRev':_0x2d640f['getCurrentRevOfUnit'](_0x49369f),'revision':0x0,'userID':_0x653096,'memberID':_0x4b0e48,'mutations':_0x1af34e},'pendingMutations':[]};}function Ri(_0x35012c,_0x1dec62){var _0x3e55d8=_0x28b87b;const _0x403ab0=new _0x114adc(0x1);return setTimeout(()=>_0x403ab0['next'](_0x1dec62),_0x35012c),_0x403ab0['asObservable']()[_0x3e55d8(0x280)](_0x38ce00(0x1));}const rr={'id':_0x5358c1['id'],'type':_0x40e7ee[_0x28b87b(0x32b)],'params':{}};var sr=Object[_0x28b87b(0x28a)],Te=(_0x5419c3,_0x37cc6f,_0x52a9b9,_0x347997)=>{for(var _0x219024=_0x347997>0x1?void 0x0:_0x347997?sr(_0x37cc6f,_0x52a9b9):_0x37cc6f,_0x2f976e=_0x5419c3['length']-0x1,_0x4d797a;_0x2f976e>=0x0;_0x2f976e--)(_0x4d797a=_0x5419c3[_0x2f976e])&&(_0x219024=_0x4d797a(_0x219024)||_0x219024);return _0x219024;},P=(_0x5a8c43,_0x42aee4)=>(_0xe50077,_0x23c3f7)=>_0x42aee4(_0xe50077,_0x23c3f7,_0x5a8c43),bi=(_0x3eb419=>(_0x3eb419[_0x28b87b(0x3cd)]=_0x28b87b(0x270),_0x3eb419[_0x28b87b(0x33a)]=_0x28b87b(0x1cc),_0x3eb419[_0x28b87b(0x1b2)]=_0x28b87b(0x15c),_0x3eb419[_0x28b87b(0x2ef)]=_0x28b87b(0x30a),_0x3eb419[_0x28b87b(0x2a7)]=_0x28b87b(0x1bd),_0x3eb419['FETCH_MISS']='fetch_missing',_0x3eb419[_0x28b87b(0x260)]=_0x28b87b(0x2d1),_0x3eb419[_0x28b87b(0x15d)]=_0x28b87b(0x33f),_0x3eb419))(bi||{});const yi=0xea60;class Ce{constructor(_0x53b86b,_0x8d9f,_0x42ba7d,_0x2f9771,_0x3e3f0f,_0x2464e0,_0x1504e5,_0x3ab6d5,_0x2a7bc5){var _0x5755e2=_0x28b87b;N(this,_0x5755e2(0x25e),null),N(this,_0x5755e2(0x154),[]),(this[_0x5755e2(0x40c)]=_0x53b86b,this[_0x5755e2(0x2a4)]=_0x8d9f,this[_0x5755e2(0x176)]=_0x3e3f0f,this[_0x5755e2(0x281)]=_0x2464e0,this['_undoRedoService']=_0x1504e5,this[_0x5755e2(0x26d)]=_0x3ab6d5,this['_localCacheService']=_0x2a7bc5,this[_0x5755e2(0x25e)]=_0x42ba7d,this[_0x5755e2(0x154)]=_0x2f9771);}['_checkMissing'](_0xcb22ab){var _0x5eb162=_0x28b87b;const _0x3e61f8=this[_0x5eb162(0x26d)][_0x5eb162(0x3e0)](this[_0x5eb162(0x40c)]);return _0xcb22ab[_0x5eb162(0x205)]>_0x3e61f8+0x1?(this[_0x5eb162(0x176)]['onMissingChangesets']({'from':_0x3e61f8,'to':_0xcb22ab[_0x5eb162(0x205)]-0x1}),!0x0):!0x1;}[_0x28b87b(0x400)](_0x4ee309){var _0x17f2c2=_0x28b87b;this[_0x17f2c2(0x21b)][_0x17f2c2(0x2d9)](this[_0x17f2c2(0x40c)],_0x4ee309);}[_0x28b87b(0x1f0)](_0xbe2a19){var _0x181252=_0x28b87b,_0x3c6eb1,_0x131ffa;(_0x131ffa=(_0x3c6eb1=this['_handler'])['onTransformSelections'])==null||_0x131ffa[_0x181252(0x3a7)](_0x3c6eb1,_0xbe2a19);}[_0x28b87b(0x337)](_0x40a90e){var _0x14092c=_0x28b87b,_0xab1211,_0x406ec0;return(_0x406ec0=(_0xab1211=this['_handler'])[_0x14092c(0x40a)])==null?void 0x0:_0x406ec0[_0x14092c(0x3a7)](_0xab1211,_0x40a90e);}[_0x28b87b(0x1aa)](_0x262a20){var _0x7953f8=_0x28b87b,_0xbf21c8,_0x9b6af6;return(_0x9b6af6=(_0xbf21c8=this[_0x7953f8(0x176)])[_0x7953f8(0x165)])==null?void 0x0:_0x9b6af6[_0x7953f8(0x3a7)](_0xbf21c8,_0x262a20);}['_transformRemoteChangesetByIMECache'](_0x11df3f){var _0x3a9a07=_0x28b87b,_0x4d7b66,_0xff4c8a,_0x176abe;return(_0x176abe=(_0xff4c8a=(_0x4d7b66=this[_0x3a9a07(0x176)])[_0x3a9a07(0x351)])==null?void 0x0:_0xff4c8a['call'](_0x4d7b66,_0x11df3f))!=null?_0x176abe:_0x11df3f;}['_transformRemoteChangesetByStateCache'](_0x3b0527){var _0x1d15b7=_0x28b87b,_0x22e4f9,_0x199801,_0x2a96df;return(_0x2a96df=(_0x199801=(_0x22e4f9=this['_handler'])[_0x1d15b7(0x319)])==null?void 0x0:_0x199801[_0x1d15b7(0x3a7)](_0x22e4f9,_0x3b0527))!=null?_0x2a96df:_0x3b0527;}[_0x28b87b(0x30c)](_0x19def0){var _0x455687=_0x28b87b,_0x25989e,_0x4f018d;if(this[_0x455687(0x2a4)]===Q['UNIVER_DOC']){const {unitID:_0x48426d,mutations:_0x57ab76,memberID:_0x5881f9}=_0x19def0,_0x264be3=_0x57ab76[0x0][_0x455687(0x33e)][_0x455687(0x273)];Array[_0x455687(0x338)](_0x264be3)&&_0x264be3[_0x455687(0x407)]>0x0&&((_0x4f018d=(_0x25989e=this['_handler'])['onSyncEditingCollabCursor'])==null||_0x4f018d['call'](_0x25989e,{'unitID':_0x48426d,'memberID':_0x5881f9,'textRanges':_0x264be3}));}}[_0x28b87b(0x385)](){var _0x415c49=_0x28b87b,_0x5914a8;(_0x5914a8=this[_0x415c49(0x23c)])==null||_0x5914a8[_0x415c49(0x42d)](this[_0x415c49(0x40c)],this[_0x415c49(0x2a4)],this[_0x415c49(0x25e)],this[_0x415c49(0x154)]);}[_0x28b87b(0x364)](){var _0x3fc015=_0x28b87b;return this[_0x3fc015(0x26d)]['getCurrentRevOfUnit'](this[_0x3fc015(0x40c)]);}[_0x28b87b(0x1e8)](){var _0x59407d=_0x28b87b;this[_0x59407d(0x26d)][_0x59407d(0x35d)](this['unitID']);}[_0x28b87b(0x238)](_0x4dfe72){var _0x21f4c4=_0x28b87b,_0x29f497;let _0x537b22=this[_0x21f4c4(0x276)](_0x4dfe72);_0x537b22=this[_0x21f4c4(0x420)](_0x537b22);const _0x2f8119=_0x4e0f2a(_0x537b22[_0x21f4c4(0x387)],this[_0x21f4c4(0x281)],{'fromCollab':!0x0});if(!_0x2f8119[_0x21f4c4(0x24c)])throw _0x2f8119[_0x21f4c4(0x3ea)]instanceof Error?_0x2f8119['error']:new Error((_0x29f497=_0x2f8119[_0x21f4c4(0x3ea)])!=null?_0x29f497:'[CollaborationState]:\x20apply\x20error!');this[_0x21f4c4(0x337)](_0x537b22),this['_transformStateCache'](_0x537b22),this['_transformUndoredo'](_0x4dfe72),this[_0x21f4c4(0x1f0)](_0x537b22),this[_0x21f4c4(0x30c)](_0x537b22),this[_0x21f4c4(0x1e8)]();}}let Ne=class extends Ce{constructor(_0x2713e7,_0x5822c5,_0x1e241a,_0x496ba1,_0x5aa49f,_0x5ac991,_0x5a5741,_0xe45509,_0x4aad85,_0x1159e6){var _0x2f32a4=_0x28b87b;super(_0x2713e7,_0x5822c5,null,[],_0x1e241a,_0x5a5741,_0x5ac991,_0x496ba1,_0x1159e6),N(this,_0x2f32a4(0x298),'synced'),(this[_0x2f32a4(0x32e)]=_0x5aa49f,this['_logService']=_0xe45509,this[_0x2f32a4(0x3b9)]=_0x4aad85,this[_0x2f32a4(0x15a)]=_0x1159e6);}['appendMutation'](_0x181f45){var _0x49f5e4=_0x28b87b;const _0x1f5b90=this[_0x49f5e4(0x32e)][_0x49f5e4(0x3f2)](ae,this[_0x49f5e4(0x40c)],this['type'],[_0x181f45],this[_0x49f5e4(0x176)]);return _0x1f5b90[_0x49f5e4(0x360)](),_0x1f5b90['_updateLocalCache'](),_0x1f5b90;}[_0x28b87b(0x275)](_0x594f04){var _0x2898f9=_0x28b87b;if(this[_0x2898f9(0x3a3)](_0x594f04))return this[_0x2898f9(0x32e)][_0x2898f9(0x3f2)](ee,this['unitID'],this[_0x2898f9(0x2a4)],null,[],null,[_0x594f04],this[_0x2898f9(0x176)]);try{const _0xeb29e0=this['_transformService'][_0x2898f9(0x34b)](_0x594f04,[rr]);if(_0x4015a3(_0xeb29e0)){const {c1Prime:_0x3153f5}=_0xeb29e0;return this[_0x2898f9(0x238)](_0x3153f5),this;}throw _0xeb29e0['error'];}catch(_0x164dd9){return this['_logService'][_0x2898f9(0x3ea)](_0x164dd9),this[_0x2898f9(0x1bf)](!0x1);}}[_0x28b87b(0x1bf)](_0x27238c){var _0x36c193=_0x28b87b;return this[_0x36c193(0x32e)][_0x36c193(0x3f2)](ue,this[_0x36c193(0x40c)],this[_0x36c193(0x2a4)],null,[],this[_0x36c193(0x176)],_0x27238c);}[_0x28b87b(0x3c5)](){var _0x15152d=_0x28b87b;throw new Error(_0x15152d(0x35c));}[_0x28b87b(0x391)](){var _0x10be52=_0x28b87b;throw new Error(_0x10be52(0x1cd));}[_0x28b87b(0x279)](){return this;}[_0x28b87b(0x153)](){var _0x273d15=_0x28b87b;return this[_0x273d15(0x32e)]['createInstance'](de,this['unitID'],this[_0x273d15(0x2a4)],null,[],this[_0x273d15(0x176)]);}[_0x28b87b(0x1ed)](){return this;}['resend'](){var _0x5e9754=_0x28b87b;throw new Error(_0x5e9754(0x2bd));}[_0x28b87b(0x377)](){var _0x39df16=_0x28b87b;const _0x362fa5=this[_0x39df16(0x26d)][_0x39df16(0x3e0)](this[_0x39df16(0x40c)]);return this['_handler']['onMissingChangesets']({'from':_0x362fa5,'to':0x0}),this['_injector'][_0x39df16(0x3f2)](ee,this[_0x39df16(0x40c)],this[_0x39df16(0x2a4)],null,[],null,[],this[_0x39df16(0x176)]);}};Ne=Te([P(0x3,_0x170ace(_0x3d8178)),P(0x4,_0x170ace(_0x35bd28)),P(0x5,_0x4a7bb9),P(0x6,_0x57f32e),P(0x7,_0x1e7fcd),P(0x8,_0x46209b),P(0x9,_0x3adee5(J))],Ne);let ae=class extends Ce{constructor(_0x31e502,_0x3b71c7,_0x43d370,_0x38c532,_0x27e3de,_0x212649,_0x31ea7d,_0x23f102,_0x16c005,_0x25114a,_0xbc9fe,_0x2c92ab,_0x27ba07,_0xf3305a){var _0x57ca41=_0x28b87b;super(_0x31e502,_0x3b71c7,null,_0x43d370,_0x38c532,_0x16c005,_0x27ba07,_0x212649,_0xf3305a),N(this,'status',_0x57ca41(0x15c)),N(this,_0x57ca41(0x215),null),N(this,_0x57ca41(0x3ac),null),(this['_injector']=_0x27e3de,this[_0x57ca41(0x185)]=_0x31ea7d,this[_0x57ca41(0x170)]=_0x23f102,this[_0x57ca41(0x2cf)]=_0x25114a,this[_0x57ca41(0x3b9)]=_0xbc9fe,this[_0x57ca41(0x3ad)]=_0x2c92ab);}[_0x28b87b(0x302)](_0xc0c201){var _0x4f0ace=_0x28b87b;return this[_0x4f0ace(0x154)]['push'](_0xc0c201),this['_updateLocalCache'](),this;}[_0x28b87b(0x275)](_0x4fcfef){var _0x1ba24c=_0x28b87b;if(this[_0x1ba24c(0x3a3)](_0x4fcfef))return this[_0x1ba24c(0x341)](),this[_0x1ba24c(0x32e)][_0x1ba24c(0x3f2)](ee,this[_0x1ba24c(0x40c)],this[_0x1ba24c(0x2a4)],null,this['_pendingMutations'],null,[_0x4fcfef],this[_0x1ba24c(0x176)]);try{const _0xe2e5c6=this[_0x1ba24c(0x3b9)][_0x1ba24c(0x34b)](_0x4fcfef,this[_0x1ba24c(0x154)]);if(_0x4015a3(_0xe2e5c6)){const {c1Prime:_0x3b7bfc,m2Prime:_0x163f6d}=_0xe2e5c6;this[_0x1ba24c(0x238)](_0x3b7bfc);const _0x5d24a0=this[_0x1ba24c(0x32e)][_0x1ba24c(0x3f2)](ae,this['unitID'],this[_0x1ba24c(0x2a4)],_0x163f6d,this['_handler']);this[_0x1ba24c(0x341)]();const _0x54aab5=new Date()[_0x1ba24c(0x335)](),_0x317238=this['_scheduleCompleteTimestamp']?Math[_0x1ba24c(0x25c)](this[_0x1ba24c(0x215)]-_0x54aab5,0x0):this[_0x1ba24c(0x299)]();return _0x5d24a0[_0x1ba24c(0x360)](_0x317238),_0x5d24a0;}throw _0xe2e5c6[_0x1ba24c(0x3ea)];}catch(_0x241587){return this['_logService'][_0x1ba24c(0x3ea)](_0x241587),this['_onConflict'](!0x1);}}[_0x28b87b(0x3c5)](){throw new Error('[PendingState]:\x20received\x20acknowledgement.');}[_0x28b87b(0x391)](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x28b87b(0x153)](){var _0x4dbfbf=_0x28b87b;return this[_0x4dbfbf(0x341)](),this[_0x4dbfbf(0x32e)][_0x4dbfbf(0x3f2)](de,this[_0x4dbfbf(0x40c)],this['type'],null,this['_pendingMutations'],this[_0x4dbfbf(0x176)]);}[_0x28b87b(0x1ed)](){return this;}[_0x28b87b(0x360)](_0x320fb2){var _0xc348ae=_0x28b87b;const _0x412785=_0x320fb2!=null?_0x320fb2:this[_0xc348ae(0x299)]();this['_scheduleCompleteTimestamp']=new Date()[_0xc348ae(0x335)]()+_0x412785,this[_0xc348ae(0x3ac)]=setTimeout(()=>{var _0x399c1a=_0xc348ae;this[_0x399c1a(0x341)]();let _0xa417ea=null;switch(this[_0x399c1a(0x2a4)]){case Q[_0x399c1a(0x41e)]:{_0xa417ea=qt(this[_0x399c1a(0x154)],this[_0x399c1a(0x40c)],this['_univerInstanceService'],this[_0x399c1a(0x26d)],this['_memberService']);break;}case Q[_0x399c1a(0x159)]:{this[_0x399c1a(0x154)][_0x399c1a(0x353)](_0x2bd6c0=>_0x2bd6c0['id']===_0x6a54c2['id'])?_0xa417ea=nr(this[_0x399c1a(0x154)],this[_0x399c1a(0x40c)],this[_0x399c1a(0x3ad)],this['_revisionService'],this[_0x399c1a(0x185)]):_0xa417ea=qt(this[_0x399c1a(0x154)],this['unitID'],this[_0x399c1a(0x3ad)],this[_0x399c1a(0x26d)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this['type']+'\x20in\x20_schedule.');}const {changeset:_0x2611c2,pendingMutations:_0x325f0b}=_0xa417ea;this[_0x399c1a(0x176)][_0x399c1a(0x2f6)](_0x2611c2);const _0x2f54e8=_0x325f0b[_0x399c1a(0x407)]?this[_0x399c1a(0x32e)][_0x399c1a(0x3f2)](oe,this[_0x399c1a(0x40c)],this[_0x399c1a(0x2a4)],_0x2611c2,_0x325f0b,this['_handler'],void 0x0):this['_injector']['createInstance'](le,this[_0x399c1a(0x40c)],this[_0x399c1a(0x2a4)],_0x2611c2,this[_0x399c1a(0x176)]);_0x2f54e8[_0x399c1a(0x385)](),this[_0x399c1a(0x176)][_0x399c1a(0x359)](this,_0x2f54e8);},_0x412785);}[_0x28b87b(0x299)](){var _0x4bd77a=_0x28b87b,_0x4d5271;const _0x511119=this['_configService'][_0x4bd77a(0x2ba)](q);return(_0x4d5271=_0x511119==null?void 0x0:_0x511119['sendChangesetTimeout'])!=null?_0x4d5271:En;}['resend'](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x28b87b(0x341)](){var _0x4cfc10=_0x28b87b;this[_0x4cfc10(0x3ac)]!=null&&(clearTimeout(this[_0x4cfc10(0x3ac)]),this['_sendingTimer']=null);}['_onConflict'](_0x52b2f2){var _0x1a501b=_0x28b87b;return this[_0x1a501b(0x341)](),this[_0x1a501b(0x32e)][_0x1a501b(0x3f2)](ue,this[_0x1a501b(0x40c)],this[_0x1a501b(0x2a4)],null,this[_0x1a501b(0x154)],this['_handler'],_0x52b2f2);}};ae=Te([P(0x4,_0x170ace(_0x35bd28)),P(0x5,_0x170ace(_0x3d8178)),P(0x6,_0x170ace(xe)),P(0x7,_0x1e7fcd),P(0x8,_0x57f32e),P(0x9,_0xad7120),P(0xa,_0x46209b),P(0xb,_0xac24c),P(0xc,_0x4a7bb9),P(0xd,_0x3adee5(J))],ae);let le=class extends Ce{constructor(_0x52ee66,_0x3b0310,_0x3a7e2a,_0x1f7552,_0x91462f,_0x359c45,_0x5cc6ff,_0x389942,_0x1e3433,_0x3c3e44,_0x549368){var _0x8876be=_0x28b87b;super(_0x52ee66,_0x3b0310,_0x3a7e2a,[],_0x1f7552,_0x5cc6ff,_0x3c3e44,_0x359c45,_0x549368),N(this,_0x8876be(0x298),_0x8876be(0x30a)),N(this,'_resendTimeout',0x0),N(this,_0x8876be(0x28d)),N(this,_0x8876be(0x147)),(this[_0x8876be(0x32e)]=_0x91462f,this[_0x8876be(0x170)]=_0x389942,this['_transformService']=_0x1e3433);}[_0x28b87b(0x302)](_0x2ebea3){var _0x51cb9f=_0x28b87b;this[_0x51cb9f(0x341)]();const _0x457faa=this[_0x51cb9f(0x32e)][_0x51cb9f(0x3f2)](oe,this[_0x51cb9f(0x40c)],this[_0x51cb9f(0x2a4)],this[_0x51cb9f(0x25e)],[_0x2ebea3],this['_handler'],this['_resendTimer']);return _0x457faa[_0x51cb9f(0x385)](),_0x457faa;}[_0x28b87b(0x275)](_0x7241d7){var _0x4fa17d=_0x28b87b;if(this['_checkMissing'](_0x7241d7))return this['_clearScheduledTask'](),this[_0x4fa17d(0x32e)][_0x4fa17d(0x3f2)](ee,this['unitID'],this[_0x4fa17d(0x2a4)],this[_0x4fa17d(0x25e)],[],null,[_0x7241d7],this[_0x4fa17d(0x176)]);try{const _0x4d8ee1=this[_0x4fa17d(0x3b9)][_0x4fa17d(0x14f)]([_0x7241d7],[this[_0x4fa17d(0x25e)]],!0x1);if(_0x73fc5f(_0x4d8ee1)){const {c1Prime:_0x4db99b,c2Prime:_0x339608}=_0x4d8ee1;this['_executeRemoteChangeset'](_0x4db99b[0x0]),_0x339608[0x0][_0x4fa17d(0x2ff)]=this[_0x4fa17d(0x364)](),this[_0x4fa17d(0x341)]();const _0x434b85=this[_0x4fa17d(0x32e)][_0x4fa17d(0x3f2)](le,this[_0x4fa17d(0x40c)],this[_0x4fa17d(0x2a4)],_0x339608[0x0],this[_0x4fa17d(0x176)]);return _0x434b85[_0x4fa17d(0x385)](),_0x434b85;}return this[_0x4fa17d(0x1bf)](!0x1);}catch(_0x3de03a){return this['_logService'][_0x4fa17d(0x3ea)](_0x3de03a),this['_onConflict'](!0x1);}}[_0x28b87b(0x3c5)](_0x28c42c){var _0x3d7b12=_0x28b87b;this['_clearScheduledTask']();const _0x437eaa=this[_0x3d7b12(0x26d)][_0x3d7b12(0x3e0)](this[_0x3d7b12(0x40c)]);if(_0x28c42c[_0x3d7b12(0x205)]<_0x437eaa-0x1)return this;if(this[_0x3d7b12(0x3a3)](_0x28c42c))return this['_injector'][_0x3d7b12(0x3f2)](ee,this[_0x3d7b12(0x40c)],this['type'],null,[],this['_awaitingChangeset'],[],this[_0x3d7b12(0x176)]);this['_incrementRevisionNumber']();const _0x21bb11=this['_injector'][_0x3d7b12(0x3f2)](Ne,this['unitID'],this[_0x3d7b12(0x2a4)],this[_0x3d7b12(0x176)]);return _0x21bb11[_0x3d7b12(0x385)](),_0x21bb11;}[_0x28b87b(0x391)](_0x9691ab){var _0x3add87=_0x28b87b;return this['_onConflict'](!!(_0x9691ab!=null&&_0x9691ab[_0x3add87(0x252)]));}[_0x28b87b(0x279)](_0xef3abe){var _0x521b39=_0x28b87b;return this[_0x521b39(0x33d)]>yi?this[_0x521b39(0x153)]():(this[_0x521b39(0x28d)]=Ri(this['_resendTimeout'],{'timeout':this[_0x521b39(0x33d)],'reqId':_0xef3abe[_0x521b39(0x25b)]}),this[_0x521b39(0x147)]=this[_0x521b39(0x28d)]['subscribe'](({reqId:_0x21bc1d,timeout:_0x3f326a})=>{this['_resendWithTimeout'](_0x21bc1d,_0x3f326a);}),this);}[_0x28b87b(0x153)](){var _0x4c1a18=_0x28b87b;return this[_0x4c1a18(0x341)](),this[_0x4c1a18(0x32e)][_0x4c1a18(0x3f2)](de,this['unitID'],this['type'],this['_awaitingChangeset'],[],this[_0x4c1a18(0x176)]);}[_0x28b87b(0x1ed)](){return this;}[_0x28b87b(0x282)](){var _0x482f35=_0x28b87b;this[_0x482f35(0x176)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x28b87b(0x1bf)](_0x99b9ab){var _0x30c415=_0x28b87b;return this['_clearScheduledTask'](),this['_injector'][_0x30c415(0x3f2)](ue,this[_0x30c415(0x40c)],this[_0x30c415(0x2a4)],this[_0x30c415(0x25e)],[],this[_0x30c415(0x176)],_0x99b9ab);}[_0x28b87b(0x3ce)](_0x10d1ef,_0x513b9c){var _0x5816a8=_0x28b87b,_0x55d51e;_0x10d1ef===((_0x55d51e=this['_awaitingChangeset'])==null?void 0x0:_0x55d51e['reqId'])&&(this[_0x5816a8(0x282)](),this[_0x5816a8(0x33d)]=_0x513b9c===0x0?0x3e8:_0x513b9c*0x2);}[_0x28b87b(0x341)](){var _0x2f2942=_0x28b87b,_0x15142e;(_0x15142e=this['_sender'])==null||_0x15142e[_0x2f2942(0x38a)](),this[_0x2f2942(0x33d)]=0x0;}};le=Te([P(0x4,_0x170ace(_0x35bd28)),P(0x5,_0x170ace(_0x3d8178)),P(0x6,_0x57f32e),P(0x7,_0x1e7fcd),P(0x8,_0x46209b),P(0x9,_0x4a7bb9),P(0xa,_0x3adee5(J))],le);let oe=class extends Ce{constructor(_0x51f07d,_0x3a1a7b,_0x125d2a,_0x4901a8,_0x3b0887,_0x2d0b52,_0x42926d,_0x34ab94,_0x5229f5,_0x58491b,_0x2e5ce9,_0x989d50,_0x364d5d){var _0x349488=_0x28b87b;super(_0x51f07d,_0x3a1a7b,_0x125d2a,_0x4901a8,_0x3b0887,_0x5229f5,_0x989d50,_0x34ab94,_0x364d5d),N(this,_0x349488(0x298),_0x349488(0x1bd)),N(this,'_resendTimeout',0x0),N(this,_0x349488(0x28d)),N(this,_0x349488(0x147)),(this[_0x349488(0x32e)]=_0x42926d,this[_0x349488(0x170)]=_0x58491b,this[_0x349488(0x3b9)]=_0x2e5ce9,this[_0x349488(0x15a)]=_0x364d5d,_0x2d0b52&&(this[_0x349488(0x28d)]=_0x2d0b52,this['_sender']=this[_0x349488(0x28d)][_0x349488(0x213)](({reqId:_0x12891a,timeout:_0x41d73e})=>{var _0xbccb0b=_0x349488;this[_0xbccb0b(0x3ce)](_0x12891a,_0x41d73e);})));}[_0x28b87b(0x302)](_0xcba043){var _0x4207cb=_0x28b87b;return this[_0x4207cb(0x154)][_0x4207cb(0x40f)](_0xcba043),this;}[_0x28b87b(0x275)](_0x137e3a){var _0x486528=_0x28b87b;if(this[_0x486528(0x3a3)](_0x137e3a))return this[_0x486528(0x341)](),this['_injector'][_0x486528(0x3f2)](ee,this[_0x486528(0x40c)],this['type'],this['_awaitingChangeset'],this[_0x486528(0x154)],null,[_0x137e3a],this[_0x486528(0x176)]);try{const _0x58d9e7=this[_0x486528(0x3b9)][_0x486528(0x14f)]([_0x137e3a],[this['_awaitingChangeset']],!0x1);if(_0x73fc5f(_0x58d9e7)){const {c1Prime:_0x289883,c2Prime:_0x6e0727}=_0x58d9e7,_0x1ae1c5=this[_0x486528(0x3b9)]['transformMutationsWithChangeset'](_0x289883[0x0],this['_pendingMutations']);if(_0x4015a3(_0x1ae1c5)){const {c1Prime:_0x2fcacf,m2Prime:_0x4c038f}=_0x1ae1c5;return this[_0x486528(0x238)](_0x2fcacf),_0x6e0727[0x0][_0x486528(0x2ff)]=this[_0x486528(0x364)](),this[_0x486528(0x341)](),this[_0x486528(0x32e)]['createInstance'](oe,this['unitID'],this['type'],_0x6e0727[0x0],_0x4c038f,this[_0x486528(0x176)],void 0x0);}throw _0x1ae1c5[_0x486528(0x3ea)];}throw _0x58d9e7[_0x486528(0x3ea)];}catch(_0x5df125){return this[_0x486528(0x170)][_0x486528(0x3ea)](_0x5df125),this[_0x486528(0x1bf)](!0x1);}}[_0x28b87b(0x3c5)](_0x3ecf6c){var _0x37af1b=_0x28b87b;if(this[_0x37af1b(0x341)](),this['_checkMissing'](_0x3ecf6c))return this[_0x37af1b(0x32e)]['createInstance'](ee,this['unitID'],this[_0x37af1b(0x2a4)],null,this[_0x37af1b(0x154)],this[_0x37af1b(0x25e)],[],this[_0x37af1b(0x176)]);this[_0x37af1b(0x1e8)]();const _0x2bb1f1=this[_0x37af1b(0x32e)][_0x37af1b(0x3f2)](ae,this[_0x37af1b(0x40c)],this['type'],this[_0x37af1b(0x154)],this['_handler']);return _0x2bb1f1[_0x37af1b(0x360)](),_0x2bb1f1['_updateLocalCache'](),_0x2bb1f1;}['onRemoteRej'](_0x2d1f35){var _0x4c6be9=_0x28b87b;return this['_onConflict'](!!(_0x2d1f35!=null&&_0x2d1f35[_0x4c6be9(0x252)]));}[_0x28b87b(0x279)](_0x3b1219){var _0x19d62d=_0x28b87b;return this['_resendTimeout']>yi?this['toggleOffline']():(this['_resendTimer']=Ri(this[_0x19d62d(0x33d)],{'timeout':this['_resendTimeout'],'reqId':_0x3b1219[_0x19d62d(0x25b)]}),this[_0x19d62d(0x147)]=this['_resendTimer'][_0x19d62d(0x213)](({reqId:_0x29b05b,timeout:_0xc806c1})=>{var _0x43eb75=_0x19d62d;this[_0x43eb75(0x3ce)](_0x29b05b,_0xc806c1);}),this);}[_0x28b87b(0x153)](){var _0x56980f=_0x28b87b;return this[_0x56980f(0x341)](),this[_0x56980f(0x32e)]['createInstance'](de,this['unitID'],this['type'],this[_0x56980f(0x25e)],this['_pendingMutations'],this[_0x56980f(0x176)]);}[_0x28b87b(0x1ed)](){return this;}[_0x28b87b(0x282)](){var _0x315680=_0x28b87b;this['_handler'][_0x315680(0x2f6)](this[_0x315680(0x25e)]);}[_0x28b87b(0x1bf)](_0x1b22aa){var _0x23e612=_0x28b87b;return this['_clearScheduledTask'](),this[_0x23e612(0x32e)][_0x23e612(0x3f2)](ue,this[_0x23e612(0x40c)],this[_0x23e612(0x2a4)],null,this[_0x23e612(0x154)],this[_0x23e612(0x176)],_0x1b22aa);}['_resendWithTimeout'](_0x5c2d69,_0x177bbe){var _0x49b55d=_0x28b87b,_0x365a79;_0x5c2d69===((_0x365a79=this[_0x49b55d(0x25e)])==null?void 0x0:_0x365a79[_0x49b55d(0x25b)])&&(this[_0x49b55d(0x282)](),this[_0x49b55d(0x33d)]=_0x177bbe===0x0?0x3e8:_0x177bbe*0x2);}['_clearScheduledTask'](){var _0x4db838=_0x28b87b,_0x29039d;(_0x29039d=this[_0x4db838(0x147)])==null||_0x29039d['unsubscribe'](),this[_0x4db838(0x33d)]=0x0;}};oe=Te([P(0x6,_0x170ace(_0x35bd28)),P(0x7,_0x170ace(_0x3d8178)),P(0x8,_0x57f32e),P(0x9,_0x1e7fcd),P(0xa,_0x46209b),P(0xb,_0x4a7bb9),P(0xc,_0x3adee5(J))],oe);let ue=class extends Ce{constructor(_0x173388,_0x58098c,_0x4e9224,_0x9da99c,_0x91f669,_0x52e478=!0x1,_0x4b62c6,_0x320721,_0x4794e1,_0x108914,_0x5e52ef,_0x3ab079,_0x53e7f7){var _0x530739=_0x28b87b;super(_0x173388,_0x58098c,_0x4e9224,_0x9da99c,_0x91f669,_0x320721,_0x4794e1,_0x108914,_0x53e7f7),N(this,_0x530739(0x298),'conflict'),(this[_0x530739(0x18f)]=_0x52e478,this[_0x530739(0x21d)]=_0x4b62c6,this[_0x530739(0x2c3)]=_0x5e52ef,this[_0x530739(0x23a)]=_0x3ab079,this[_0x530739(0x15a)]=_0x53e7f7,this[_0x530739(0x243)](),this[_0x530739(0x27e)](),this[_0x530739(0x2b1)]());}[_0x28b87b(0x302)](){return this;}[_0x28b87b(0x275)](){return this;}[_0x28b87b(0x3c5)](){return this;}[_0x28b87b(0x391)](){return this;}[_0x28b87b(0x279)](){return this;}[_0x28b87b(0x153)](){return this;}[_0x28b87b(0x1ed)](){return this;}[_0x28b87b(0x282)](){var _0x114201=_0x28b87b;throw new Error(_0x114201(0x1d0));}['_clearLocalCache'](){var _0x47c47f=_0x28b87b,_0x40a4b6;(_0x40a4b6=this[_0x47c47f(0x23c)])==null||_0x40a4b6[_0x47c47f(0x42d)](this[_0x47c47f(0x40c)],this[_0x47c47f(0x2a4)],null,[]);}[_0x28b87b(0x243)](){var _0x3b4e5b=_0x28b87b;this[_0x3b4e5b(0x18f)]?this[_0x3b4e5b(0x23a)]['emitEvent']({'id':se[_0x3b4e5b(0x422)]}):this['_collaborationUIEventService'][_0x3b4e5b(0x183)]({'id':se[_0x3b4e5b(0x260)]});}[_0x28b87b(0x2b1)](){var _0x3d4f29=_0x28b87b;this[_0x3d4f29(0x21d)][_0x3d4f29(0x363)](new _0x3aad19(this[_0x3d4f29(0x40c)])['id'],!0x1);}};ue=Te([P(0x6,_0x170ace(_0x160a69)),P(0x7,_0x57f32e),P(0x8,_0x4a7bb9),P(0x9,_0x170ace(_0x3d8178)),P(0xa,_0x170ace(_0x305ebe)),P(0xb,_0x170ace(pe)),P(0xc,_0x3adee5(J))],ue);let de=class extends Ce{constructor(_0x2959b9,_0x276217,_0x185e59,_0x3c43ab,_0x4d6fe5,_0x2c4ffd,_0x2886c3,_0x2b55ae,_0x3d8526,_0x139b7b){var _0x34e9b3=_0x28b87b;super(_0x2959b9,_0x276217,_0x185e59,_0x3c43ab,_0x4d6fe5,_0x2b55ae,_0x3d8526,_0x2886c3,_0x139b7b),N(this,_0x34e9b3(0x298),_0x34e9b3(0x33f)),this[_0x34e9b3(0x32e)]=_0x2c4ffd;}['appendMutation'](_0x351d27){var _0x320121=_0x28b87b;return this[_0x320121(0x154)]['push'](_0x351d27),this[_0x320121(0x385)](),this;}['onRemoteChangeset'](_0x29a8fe){var _0xd1b849=_0x28b87b;throw new Error(_0xd1b849(0x207));}['onRemoteAck'](){var _0x5306d1=_0x28b87b;throw new Error(_0x5306d1(0x284));}[_0x28b87b(0x391)](){var _0x1ee732=_0x28b87b;throw new Error(_0x1ee732(0x14d));}['onRemoteRetry'](){return this;}['toggleOffline'](){return this;}[_0x28b87b(0x1ed)](){var _0x10f36d=_0x28b87b;const {_injector:_0x3dda41,_pendingMutations:_0x35165f,_awaitingChangeset:_0x4ecc9d,unitID:_0x19634f,_handler:_0x19c406,type:_0x490b4c}=this,_0x47aed5=Oi(_0x3dda41,_0x19634f,_0x490b4c,_0x4ecc9d,_0x35165f,_0x19c406);return _0x47aed5 instanceof ae?_0x47aed5[_0x10f36d(0x360)]():(_0x47aed5 instanceof oe||_0x47aed5 instanceof le)&&_0x47aed5[_0x10f36d(0x282)](),_0x47aed5;}['resend'](){var _0x4c459c=_0x28b87b;throw new Error(_0x4c459c(0x1ef));}};de=Te([P(0x5,_0x170ace(_0x35bd28)),P(0x6,_0x170ace(_0x3d8178)),P(0x7,_0x57f32e),P(0x8,_0x4a7bb9),P(0x9,_0x3adee5(J))],de);let ee=class extends Ce{constructor(_0x1c8b64,_0x4ad5a4,_0x2d59eb,_0x335fa2,_0x185fb4,_0x514f53,_0xf158d5,_0x4bed40,_0x1e07ef,_0x34b12f,_0x5e613d,_0x242f61,_0x43289a,_0x176b91){var _0x1df846=_0x28b87b;super(_0x1c8b64,_0x4ad5a4,_0x2d59eb,_0x335fa2,_0xf158d5,_0x5e613d,_0x242f61,_0x1e07ef,_0x176b91),N(this,_0x1df846(0x298),_0x1df846(0x268)),(this[_0x1df846(0x228)]=_0x185fb4,this[_0x1df846(0x2cb)]=_0x514f53,this['_injector']=_0x4bed40,this[_0x1df846(0x170)]=_0x34b12f,this['_transformService']=_0x43289a,this[_0x1df846(0x15a)]=_0x176b91);}['onMissedChangesetFetched'](_0x1b6ede){var _0xf12b82=_0x28b87b;try{const _0x2c326b=[..._0x1b6ede,...this[_0xf12b82(0x2cb)]],_0x1bcba7=[this[_0xf12b82(0x25e)]||this[_0xf12b82(0x228)]]['filter'](_0x3c0ddb=>!!_0x3c0ddb);let _0x18208a,_0x4c830b;if(_0x1bcba7[_0xf12b82(0x407)]){const _0x2876b2=this[_0xf12b82(0x3b9)][_0xf12b82(0x14f)](_0x2c326b,_0x1bcba7,!0x1);if(!_0x73fc5f(_0x2876b2))throw _0x2876b2[_0xf12b82(0x3ea)];_0x18208a=_0x2876b2[_0xf12b82(0x22d)],_0x4c830b=_0x2876b2[_0xf12b82(0x418)];}else _0x18208a=_0x2c326b,_0x4c830b=[];let _0x3c5f99=this[_0xf12b82(0x154)];_0x18208a[_0xf12b82(0x295)](_0x2d7b19=>{var _0x38fa63=_0xf12b82;let _0x589239;if(_0x3c5f99[_0x38fa63(0x407)]){const _0x5f4ef1=this[_0x38fa63(0x3b9)][_0x38fa63(0x34b)](_0x2d7b19,_0x3c5f99);if(!_0x4015a3(_0x5f4ef1))throw _0x5f4ef1['error'];_0x589239=_0x5f4ef1[_0x38fa63(0x22d)],_0x3c5f99=_0x5f4ef1[_0x38fa63(0x2fb)];}else _0x589239=_0x2d7b19;this['_executeRemoteChangeset'](_0x589239);}),this[_0xf12b82(0x228)]&&this['_incrementRevisionNumber'](),this['_awaitingChangeset']&&_0x4c830b['length']&&(_0x4c830b[0x0][_0xf12b82(0x2ff)]=this[_0xf12b82(0x364)]());let _0x11eabb;if(this[_0xf12b82(0x25e)]&&_0x3c5f99[_0xf12b82(0x407)]!==0x0)_0x11eabb=this['_injector'][_0xf12b82(0x3f2)](oe,this[_0xf12b82(0x40c)],this['type'],_0x4c830b[0x0],_0x3c5f99,this['_handler'],void 0x0);else{if(this[_0xf12b82(0x25e)]&&_0x3c5f99[_0xf12b82(0x407)]===0x0)_0x4c830b[0x0][_0xf12b82(0x2ff)]=this[_0xf12b82(0x364)](),_0x11eabb=this[_0xf12b82(0x32e)][_0xf12b82(0x3f2)](le,this[_0xf12b82(0x40c)],this[_0xf12b82(0x2a4)],_0x4c830b[0x0],this['_handler']);else{if(_0x3c5f99[_0xf12b82(0x407)]!==0x0){const _0x24e0f3=this[_0xf12b82(0x32e)][_0xf12b82(0x3f2)](ae,this[_0xf12b82(0x40c)],this[_0xf12b82(0x2a4)],_0x3c5f99,this[_0xf12b82(0x176)]);_0x24e0f3['_schedule'](),_0x11eabb=_0x24e0f3;}else _0x11eabb=this[_0xf12b82(0x32e)][_0xf12b82(0x3f2)](Ne,this[_0xf12b82(0x40c)],this[_0xf12b82(0x2a4)],this[_0xf12b82(0x176)]);}}return _0x11eabb[_0xf12b82(0x385)](),_0x11eabb;}catch(_0x4b65ff){return this[_0xf12b82(0x170)][_0xf12b82(0x3ea)](_0xf12b82(0x38e),'failed\x20to\x20apply\x20missed\x20changesets!',_0x4b65ff),this[_0xf12b82(0x32e)][_0xf12b82(0x3f2)](ue,this[_0xf12b82(0x40c)],this[_0xf12b82(0x2a4)],this['_awaitingChangeset'],this[_0xf12b82(0x154)],this[_0xf12b82(0x176)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x7d9b35){var _0x3a7e0b=_0x28b87b;return this[_0x3a7e0b(0x154)][_0x3a7e0b(0x40f)](_0x7d9b35),this;}[_0x28b87b(0x275)](_0x3ec082){var _0x2b9e33=_0x28b87b;return this[_0x2b9e33(0x2cb)][_0x2b9e33(0x40f)](_0x3ec082),this;}[_0x28b87b(0x3c5)](_0xf93d6d){var _0x5cae66=_0x28b87b;if(this['_awaitingChangeset'])return this[_0x5cae66(0x228)]=this[_0x5cae66(0x25e)],this['_awaitingChangeset']=null,this;throw new Error(_0x5cae66(0x188));}[_0x28b87b(0x391)](_0x18f67b){var _0x4ab859=_0x28b87b;return this[_0x4ab859(0x1bf)](!!(_0x18f67b!=null&&_0x18f67b['isPermissionRej']));}[_0x28b87b(0x279)](){return this;}['toggleOffline'](){var _0x1026fc=_0x28b87b;return this[_0x1026fc(0x32e)][_0x1026fc(0x3f2)](de,this[_0x1026fc(0x40c)],this[_0x1026fc(0x2a4)],this[_0x1026fc(0x25e)],this[_0x1026fc(0x154)],this['_handler']);}['toggleOnline'](){return this;}[_0x28b87b(0x1bf)](_0x594255){var _0x18918c=_0x28b87b;return this['_injector']['createInstance'](ue,this[_0x18918c(0x40c)],this[_0x18918c(0x2a4)],this[_0x18918c(0x25e)],this[_0x18918c(0x154)],this['_handler'],_0x594255);}};ee=Te([P(0x7,_0x170ace(_0x35bd28)),P(0x8,_0x170ace(_0x3d8178)),P(0x9,_0x1e7fcd),P(0xa,_0x57f32e),P(0xb,_0x4a7bb9),P(0xc,_0x46209b),P(0xd,_0x3adee5(J))],ee);function Oi(_0xd80206,_0x5fae60,_0x58628d,_0x4633d6,_0x4962ca,_0x307243){var _0x359e19=_0x28b87b;return _0x4633d6&&_0x4962ca[_0x359e19(0x407)]?_0xd80206[_0x359e19(0x3f2)](oe,_0x5fae60,_0x58628d,_0x4633d6,_0x4962ca,_0x307243,void 0x0):_0x4633d6?_0xd80206[_0x359e19(0x3f2)](le,_0x5fae60,_0x58628d,_0x4633d6,_0x307243):_0x4962ca[_0x359e19(0x407)]?_0xd80206['createInstance'](ae,_0x5fae60,_0x58628d,_0x4962ca,_0x307243):_0xd80206[_0x359e19(0x3f2)](Ne,_0x5fae60,_0x58628d,_0x307243);}var ar=Object[_0x28b87b(0x28a)],xt=(_0x5ee61b,_0x180730,_0x6d0874,_0x9761f3)=>{var _0x57c1f1=_0x28b87b;for(var _0x819da8=_0x9761f3>0x1?void 0x0:_0x9761f3?ar(_0x180730,_0x6d0874):_0x180730,_0x2b3140=_0x5ee61b[_0x57c1f1(0x407)]-0x1,_0x4c023f;_0x2b3140>=0x0;_0x2b3140--)(_0x4c023f=_0x5ee61b[_0x2b3140])&&(_0x819da8=_0x4c023f(_0x819da8)||_0x819da8);return _0x819da8;},H=(_0xf59d2a,_0x5841fb)=>(_0x31e254,_0x4ccfce)=>_0x5841fb(_0x31e254,_0x4ccfce,_0xf59d2a);let nt=class extends _0x32442f{constructor(_0x22a65b,_0x5b47d2,_0x32fbe3,_0x14c2df,_0x1d82cf,_0x4a3d06,_0x229011,_0x35f66,_0x4c1d06,_0x6b9a38,_0x123636,_0x4c2b89,_0x9524a6){var _0xb2eee6=_0x28b87b;super(),N(this,_0xb2eee6(0x342),new _0x1a110e(null)),N(this,_0xb2eee6(0x1dd),this['_state$'][_0xb2eee6(0x3d1)]()),N(this,'_state'),N(this,_0xb2eee6(0x1f1),!0x1),N(this,_0xb2eee6(0x365),''),N(this,_0xb2eee6(0x3d8),0x0),N(this,_0xb2eee6(0x29e),this['state$'][_0xb2eee6(0x280)](_0x35d4e4(_0x5ee0b3=>_0x5ee0b3?_0x5ee0b3[_0xb2eee6(0x298)]:bi[_0xb2eee6(0x15d)]),_0x511857(0x1))),N(this,_0xb2eee6(0x236),!0x1),N(this,_0xb2eee6(0x1d1),[]),(this['unitID']=_0x22a65b,this['session']=_0x5b47d2,this[_0xb2eee6(0x1e5)]=_0x32fbe3,this[_0xb2eee6(0x32e)]=_0x14c2df,this[_0xb2eee6(0x31e)]=_0x1d82cf,this[_0xb2eee6(0x2c3)]=_0x4a3d06,this['_revisionService']=_0x229011,this[_0xb2eee6(0x156)]=_0x35f66,this[_0xb2eee6(0x170)]=_0x4c1d06,this[_0xb2eee6(0x281)]=_0x6b9a38,this['_permissionService']=_0x123636,this[_0xb2eee6(0x383)]=_0x4c2b89,this[_0xb2eee6(0x23c)]=_0x9524a6);}get[_0x28b87b(0x1a6)](){var _0xb86272=_0x28b87b;return this[_0xb86272(0x2f2)];}async[_0x28b87b(0x1d4)](){var _0x401171=_0x28b87b;if(this[_0x401171(0x1a6)])throw new Error(_0x401171(0x393));await this[_0x401171(0x231)]();}['pauseCollaboration'](){var _0x57356b=_0x28b87b;return this[_0x57356b(0x1f1)]=!0x0,_0x4592cb(()=>{var _0x2b5c5d=_0x57356b;this[_0x2b5c5d(0x1f1)]=!0x1,this[_0x2b5c5d(0x2f0)]();});}[_0x28b87b(0x379)](_0x4223ba){var _0xefd038=_0x28b87b;this[_0xefd038(0x3e9)](_0x4223ba);}[_0x28b87b(0x37d)](_0x2f11ea){var _0x215592=_0x28b87b;this[_0x215592(0x2f2)]=_0x2f11ea,this[_0x215592(0x342)][_0x215592(0x36e)](_0x2f11ea);}async[_0x28b87b(0x231)](){var _0x51eb6e=_0x28b87b,_0x26794a;this['_updateState'](await this[_0x51eb6e(0x19b)]()),this['_singleActiveUnitService']&&((_0x26794a=this[_0x51eb6e(0x383)])==null||_0x26794a['editingUnit'](this[_0x51eb6e(0x40c)]),this[_0x51eb6e(0x371)](this[_0x51eb6e(0x383)][_0x51eb6e(0x22b)](this['unitID'])[_0x51eb6e(0x213)](_0x3fff87=>{var _0x25c87c=_0x51eb6e;this[_0x25c87c(0x170)][_0x25c87c(0x265)](_0x25c87c(0x1c4),_0x25c87c(0x16e),_0x3fff87),_0x3fff87===Ci[_0x25c87c(0x210)]?(this[_0x25c87c(0x156)]['emitEvent']({'id':se[_0x25c87c(0x2aa)]}),this['_permissionService'][_0x25c87c(0x363)](new _0x3aad19(this[_0x25c87c(0x40c)])['id'],!0x1),this[_0x25c87c(0x21d)]['setShowComponents'](!0x1)):(this[_0x25c87c(0x21d)][_0x25c87c(0x363)](new _0x3aad19(this[_0x25c87c(0x40c)])['id'],!0x0),this[_0x25c87c(0x21d)][_0x25c87c(0x2d0)](!0x0));})));let _0x3beda8=!0x1;return this[_0x51eb6e(0x371)](this[_0x51eb6e(0x1f8)][_0x51eb6e(0x189)][_0x51eb6e(0x213)](_0xb4d283=>{var _0x41ade0=_0x51eb6e;_0xb4d283===Ee[_0x41ade0(0x31c)]?this[_0x41ade0(0x1ca)](_0x3beda8):_0xb4d283===Ee['OFFLINE']&&(_0x3beda8=!0x0,this[_0x41ade0(0x1b4)]());})),this[_0x51eb6e(0x371)](this[_0x51eb6e(0x1f8)][_0x51eb6e(0x3f6)][_0x51eb6e(0x213)](_0x41f681=>{var _0x25744e=_0x51eb6e;try{switch(_0x41f681[_0x25744e(0x2e1)]){case _0x1af912[_0x25744e(0x1a1)]:{this[_0x25744e(0x398)](_0x48a598(_0x41f681['data']));break;}case _0x1af912[_0x25744e(0x3dd)]:{this[_0x25744e(0x3e6)](_0x41f681['data']);break;}case _0x1af912['CHANGESET_REJ']:{this[_0x25744e(0x17a)]();break;}case _0x1af912['CHANGESET_SHOULD_RETRY']:{this[_0x25744e(0x369)](_0x41f681[_0x25744e(0x141)]);break;}case _0x1af912[_0x25744e(0x3a0)]:{this[_0x25744e(0x32f)](_0x41f681[_0x25744e(0x141)][_0x25744e(0x30e)][_0x25744e(0x1ff)](_0x5d6edf=>_0x48a598(_0x5d6edf)));break;}case _0x1af912[_0x25744e(0x1ce)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x1af912[_0x25744e(0x174)]:break;}}catch(_0x4c1d13){throw console[_0x25744e(0x3ea)](_0x25744e(0x2b3),_0x4c1d13),_0x4c1d13;}})),this[_0x51eb6e(0x2f2)];}[_0x28b87b(0x304)](){var _0x270fba=_0x28b87b;this[_0x270fba(0x236)]=!0x1;}[_0x28b87b(0x223)](){var _0x1d6f8f=_0x28b87b;if(this[_0x1d6f8f(0x236)])throw new Error(_0x1d6f8f(0x144));this[_0x1d6f8f(0x236)]=!0x0;}[_0x28b87b(0x3e9)](_0x11442d){var _0x5466e2=_0x28b87b;this[_0x5466e2(0x223)](),this[_0x5466e2(0x37d)](this['_state']['appendMutation'](_0x11442d)),this['_unlockTransition']();}[_0x28b87b(0x398)](_0x140ea1){var _0x15f3d6=_0x28b87b;if(!(_0x140ea1[_0x15f3d6(0x205)]<=this['_revisionService']['getCurrentRevOfUnit'](this['unitID']))){if(this[_0x15f3d6(0x1f1)]){this[_0x15f3d6(0x1d1)][_0x15f3d6(0x40f)](_0x140ea1);return;}this['_applyRemoteChangeset'](_0x140ea1);}}[_0x28b87b(0x2f0)](){var _0x40f9e1=_0x28b87b;this[_0x40f9e1(0x1d1)]['forEach'](_0x10ecd8=>this[_0x40f9e1(0x249)](_0x10ecd8)),this['_remoteChangesetQueue']=[];}[_0x28b87b(0x249)](_0x55adf2){var _0x500957=_0x28b87b;const _0x55d38b=this[_0x500957(0x31e)][_0x500957(0x344)][_0x500957(0x2d5)](this[_0x500957(0x31e)]['interceptor'][_0x500957(0x3f7)]()[_0x500957(0x1c0)])(_0x55adf2[_0x500957(0x387)],null)||_0x55adf2[_0x500957(0x387)],_0x2dc677={..._0x55adf2,'mutations':_0x55d38b};this[_0x500957(0x223)](),this[_0x500957(0x37d)](this[_0x500957(0x2f2)][_0x500957(0x275)](_0x2dc677)),this['_unlockTransition']();}[_0x28b87b(0x3e6)](_0x14e1e6){var _0x328c36=_0x28b87b;this[_0x328c36(0x223)](),this['_updateState'](this[_0x328c36(0x2f2)]['onRemoteAck'](_0x14e1e6)),this['_unlockTransition']();}[_0x28b87b(0x17a)](_0x513c8e){var _0x221038=_0x28b87b;this[_0x221038(0x223)](),this['_updateState'](this[_0x221038(0x2f2)][_0x221038(0x391)](_0x513c8e)),this[_0x221038(0x304)]();}[_0x28b87b(0x369)](_0x58f433){var _0x26c08e=_0x28b87b;this[_0x26c08e(0x223)](),this['_updateState'](this['_state'][_0x26c08e(0x279)](_0x58f433)),this[_0x26c08e(0x304)]();}[_0x28b87b(0x32f)](_0x2805fb){var _0x5719f9=_0x28b87b;if(!(this[_0x5719f9(0x2f2)]instanceof ee))throw new TypeError(_0x5719f9(0x315));const _0x116ac8=_0x2805fb['map'](_0x2226f9=>{var _0x2d39ed=_0x5719f9;const _0x3e775f=this[_0x2d39ed(0x31e)]['interceptor'][_0x2d39ed(0x2d5)](this['_compressMutationService'][_0x2d39ed(0x344)][_0x2d39ed(0x3f7)]()[_0x2d39ed(0x1c0)])(_0x2226f9[_0x2d39ed(0x387)],null)||_0x2226f9[_0x2d39ed(0x387)];return{..._0x2226f9,'mutations':_0x3e775f};});this[_0x5719f9(0x223)](),this[_0x5719f9(0x37d)](this[_0x5719f9(0x2f2)][_0x5719f9(0x18b)](_0x116ac8)),this[_0x5719f9(0x304)]();}['_toggleOffline'](){var _0x180574=_0x28b87b;this[_0x180574(0x223)](),this[_0x180574(0x37d)](this[_0x180574(0x2f2)][_0x180574(0x153)]()),this[_0x180574(0x304)]();}[_0x28b87b(0x1ca)](_0x18f708=!0x1){var _0x1b12d5=_0x28b87b;this[_0x1b12d5(0x223)](),this[_0x1b12d5(0x37d)](this[_0x1b12d5(0x2f2)][_0x1b12d5(0x1ed)]()),this[_0x1b12d5(0x304)]();const _0xde1c50=this[_0x1b12d5(0x2f2)];_0x18f708&&_0xde1c50 instanceof Ne&&(this[_0x1b12d5(0x223)](),this['_updateState'](_0xde1c50[_0x1b12d5(0x377)]()),this[_0x1b12d5(0x304)]());}async[_0x28b87b(0x19b)](){return new Promise(_0x5d7146=>{var _0x2be7ce=_0x2643;this[_0x2be7ce(0x1f8)][_0x2be7ce(0x189)][_0x2be7ce(0x280)](_0x38ce00(0x1))[_0x2be7ce(0x213)](async _0xeecd88=>{var _0x22a34d=_0x2be7ce;_0x5d7146(await this[_0x22a34d(0x23f)](_0xeecd88===Ee[_0x22a34d(0x31c)]));});});}[_0x28b87b(0x2c1)](){var _0xa6ef19=_0x28b87b;const _0x20bee2=this[_0xa6ef19(0x40c)];return{'onStateChange':(_0xcf2263,_0x3a2db1)=>{var _0x1b9176=_0xa6ef19;if(_0xcf2263!==this['_state'])throw new Error(_0x1b9176(0x2ea)+_0xcf2263[_0x1b9176(0x298)]+_0x1b9176(0x214)+_0x3a2db1[_0x1b9176(0x298)]+_0x1b9176(0x394)+this['_state'][_0x1b9176(0x298)]);this[_0x1b9176(0x37d)](_0x3a2db1);},'onSendChangeset':_0xc4e1f7=>{var _0x2b4e1f=_0xa6ef19;_0xc4e1f7['sid']||(_0xc4e1f7['sid']=this[_0x2b4e1f(0x365)],_0xc4e1f7[_0x2b4e1f(0x25b)]=++this['_changesetReqId']);const _0x5b94ca={'eventID':_0x1af912[_0x2b4e1f(0x3bd)],'data':{'unitID':_0xc4e1f7[_0x2b4e1f(0x40c)],'unitType':this[_0x2b4e1f(0x1e5)],'changeset':_0xc4e1f7,'memberID':this['session'][_0x2b4e1f(0x1bc)]()}};this[_0x2b4e1f(0x1f8)][_0x2b4e1f(0x42e)](_0x5b94ca,this[_0x2b4e1f(0x40c)]);},'onMissingChangesets':({from:_0x105a65,to:_0x57e224})=>{var _0xd8dff8=_0xa6ef19;this[_0xd8dff8(0x170)]['debug'](_0xd8dff8(0x1c4),_0xd8dff8(0x311)+_0x105a65+_0xd8dff8(0x331)+_0x57e224);const _0x2caf7a={'eventID':_0x1af912[_0xd8dff8(0x396)],'data':{'unitID':_0x20bee2,'unitType':this['_type'],'from':_0x105a65,'to':_0x57e224}};this[_0xd8dff8(0x1f8)][_0xd8dff8(0x42e)](_0x2caf7a,this[_0xd8dff8(0x40c)]);}};}async['_createInitialStateImpl'](_0x4155fe){var _0x16beb8=_0x28b87b,_0x5f0cac,_0x34b122,_0x38cd30;const _0x527050=await((_0x5f0cac=this[_0x16beb8(0x23c)])==null?void 0x0:_0x5f0cac[_0x16beb8(0x2eb)](this[_0x16beb8(0x40c)])),_0x1a195e=(_0x34b122=_0x527050==null?void 0x0:_0x527050['mutations'])!=null?_0x34b122:[],_0x46af7c=(_0x38cd30=_0x527050==null?void 0x0:_0x527050[_0x16beb8(0x36d)])!=null?_0x38cd30:null,_0x4e79a4=!!(_0x46af7c!=null&&_0x46af7c[_0x16beb8(0x24f)])&&!!(_0x46af7c!=null&&_0x46af7c['reqId']);this[_0x16beb8(0x365)]=_0x4e79a4?_0x46af7c[_0x16beb8(0x24f)]:Zn(),this['_changesetReqId']=_0x4e79a4?_0x46af7c[_0x16beb8(0x25b)]:0x0;const _0x2df97f=this[_0x16beb8(0x40c)];try{this[_0x16beb8(0x374)](_0x46af7c,_0x1a195e);}catch(_0x249457){this[_0x16beb8(0x170)][_0x16beb8(0x3ea)](_0x249457);}const _0x2b207e=this[_0x16beb8(0x2c1)]();if(_0x4155fe){const _0x288c6e=Oi(this[_0x16beb8(0x32e)],_0x2df97f,this[_0x16beb8(0x1e5)],_0x46af7c,_0x1a195e,_0x2b207e);return _0x288c6e instanceof ae?_0x288c6e['_schedule']():(_0x288c6e instanceof oe||_0x288c6e instanceof le)&&_0x288c6e[_0x16beb8(0x282)](),_0x288c6e;}return this[_0x16beb8(0x32e)][_0x16beb8(0x3f2)](de,_0x2df97f,this['_type'],_0x46af7c,_0x1a195e,_0x2b207e);}[_0x28b87b(0x374)](_0x39a355,_0x824fec){var _0x2e892d=_0x28b87b,_0x52f1f3,_0x2fc8a8;const _0x28dfd9=this[_0x2e892d(0x31e)][_0x2e892d(0x344)]['fetchThroughInterceptors'](this[_0x2e892d(0x31e)][_0x2e892d(0x344)][_0x2e892d(0x3f7)]()[_0x2e892d(0x1c0)]);(_0x52f1f3=_0x28dfd9((_0x39a355==null?void 0x0:_0x39a355['mutations'])||[],null))==null||_0x52f1f3[_0x2e892d(0x295)](_0xc38525=>this[_0x2e892d(0x281)][_0x2e892d(0x2d6)](_0xc38525['id'],_0xc38525[_0x2e892d(0x33e)])),(_0x2fc8a8=_0x28dfd9(_0x824fec||[],null))==null||_0x2fc8a8[_0x2e892d(0x295)](_0x49426f=>this[_0x2e892d(0x281)][_0x2e892d(0x2d6)](_0x49426f['id'],_0x49426f[_0x2e892d(0x33e)]));}};nt=xt([H(0x3,_0x170ace(_0x35bd28)),H(0x4,_0x170ace(_0x2ff610)),H(0x5,_0x170ace(_0x305ebe)),H(0x6,_0x170ace(_0x3d8178)),H(0x7,_0x170ace(pe)),H(0x8,_0x1e7fcd),H(0x9,_0x57f32e),H(0xa,_0x160a69),H(0xb,_0x3adee5(ht)),H(0xc,_0x3adee5(J))],nt);let It=class extends nt{constructor(_0x2054f2,_0x3a847d,_0x18655e,_0x3c8734,_0x347e58,_0x5bf168,_0x227d02,_0x3f12a9,_0x27a961,_0x40ef26,_0x2ef5b1,_0x29730,_0x5459ba){var _0x3a8b2c=_0x28b87b;super(_0x2054f2,_0x18655e,_0x3a847d,_0x3c8734,_0x347e58,_0x5bf168,_0x227d02,_0x3f12a9,_0x27a961,_0x40ef26,_0x2ef5b1,_0x29730,_0x5459ba),N(this,_0x3a8b2c(0x23d),null),(this['unitID']=_0x2054f2,this['type']=_0x3a847d);}[_0x28b87b(0x191)](_0xe33734){var _0x19c4a8=_0x28b87b;this[_0x19c4a8(0x23d)]=_0xe33734;}[_0x28b87b(0x332)](){var _0x2f4338=_0x28b87b;this[_0x2f4338(0x23d)]=null,super[_0x2f4338(0x332)]();}['_createHandler'](){var _0x453d03=_0x28b87b;const _0x1eb50b=super['_createHandler']();return _0x1eb50b[_0x453d03(0x40a)]=_0x1fe94c=>{var _0x136436=_0x453d03,_0x4d9bc1,_0xffc380;return(_0xffc380=(_0x4d9bc1=this[_0x136436(0x23d)])==null?void 0x0:_0x4d9bc1[_0x136436(0x40a)])==null?void 0x0:_0xffc380[_0x136436(0x3a7)](_0x4d9bc1,_0x1fe94c);},_0x1eb50b[_0x453d03(0x165)]=_0x10e3e7=>{var _0x5da198=_0x453d03,_0x537d76,_0x7cabd8;return(_0x7cabd8=(_0x537d76=this[_0x5da198(0x23d)])==null?void 0x0:_0x537d76[_0x5da198(0x165)])==null?void 0x0:_0x7cabd8[_0x5da198(0x3a7)](_0x537d76,_0x10e3e7);},_0x1eb50b[_0x453d03(0x2b0)]=_0x1a167e=>{var _0xee268f=_0x453d03,_0x4cbfe2,_0x401318;return(_0x401318=(_0x4cbfe2=this[_0xee268f(0x23d)])==null?void 0x0:_0x4cbfe2['onTransformSelections'])==null?void 0x0:_0x401318[_0xee268f(0x3a7)](_0x4cbfe2,_0x1a167e);},_0x1eb50b[_0x453d03(0x313)]=_0x31717b=>{var _0x5528fe=_0x453d03,_0x34c175,_0x52a8cb;return(_0x52a8cb=(_0x34c175=this[_0x5528fe(0x23d)])==null?void 0x0:_0x34c175[_0x5528fe(0x313)])==null?void 0x0:_0x52a8cb[_0x5528fe(0x3a7)](_0x34c175,_0x31717b);},_0x1eb50b[_0x453d03(0x351)]=_0x4f7cc8=>{var _0x5991c8=_0x453d03,_0x230a31,_0x4bfd71,_0xee573a;if(!((_0x230a31=this[_0x5991c8(0x23d)])!=null&&_0x230a31[_0x5991c8(0x351)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xee573a=(_0x4bfd71=this[_0x5991c8(0x23d)])==null?void 0x0:_0x4bfd71['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0xee573a['call'](_0x4bfd71,_0x4f7cc8);},_0x1eb50b[_0x453d03(0x319)]=_0x1b2b2b=>{var _0x14a827=_0x453d03,_0x54393c,_0x243bb2,_0x33a3e0;if(!((_0x54393c=this[_0x14a827(0x23d)])!=null&&_0x54393c[_0x14a827(0x319)]))throw new Error(_0x14a827(0x37c));return(_0x33a3e0=(_0x243bb2=this['_handlerCallback'])==null?void 0x0:_0x243bb2['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x33a3e0[_0x14a827(0x3a7)](_0x243bb2,_0x1b2b2b);},_0x1eb50b;}async[_0x28b87b(0x231)](){var _0x38a378=_0x28b87b;const _0x13000c=await super['_init']();return this[_0x38a378(0x371)](this[_0x38a378(0x281)][_0x38a378(0x216)]((_0x368645,_0x5bf2ef)=>{var _0x307bc2=_0x38a378;if(_0x368645[_0x307bc2(0x2a4)]!==_0x40e7ee[_0x307bc2(0x32b)]||_0x5bf2ef!=null&&_0x5bf2ef['fromCollab']||_0x5bf2ef!=null&&_0x5bf2ef['onlyLocal']||_0x368645['id']===_0x6a54c2['id'])return;const _0x3a0627=_0x368645[_0x307bc2(0x33e)];if((_0x3a0627==null?void 0x0:_0x3a0627[_0x307bc2(0x1e2)])!==this[_0x307bc2(0x40c)])return;const _0x141a1e=_0x368645,_0x3cbaa7=this['_compressMutationService']['interceptor'][_0x307bc2(0x2d5)](this[_0x307bc2(0x31e)][_0x307bc2(0x344)][_0x307bc2(0x3f7)]()['COMPRESS_MUTATION_SEND'])([_0x141a1e],null)||[_0x141a1e];this[_0x307bc2(0x3e9)](_0x3cbaa7[0x0]);})),_0x13000c;}};It=xt([H(0x3,_0x170ace(_0x35bd28)),H(0x4,_0x170ace(_0x2ff610)),H(0x5,_0x170ace(_0x305ebe)),H(0x6,_0x170ace(_0x3d8178)),H(0x7,_0x170ace(pe)),H(0x8,_0x1e7fcd),H(0x9,_0x57f32e),H(0xa,_0x160a69),H(0xb,_0x3adee5(ht)),H(0xc,_0x3adee5(J))],It);let Tt=class extends nt{constructor(_0x11b6cd,_0x339975,_0x1cc5bf,_0x27a84f,_0x1c40bc,_0x784b82,_0x150204,_0x1c2d8e,_0x12a19d,_0x2a9a3e,_0x4d196a,_0xe5e9c6,_0x3fa0a9,_0x115b68){var _0x4e7dae=_0x28b87b;super(_0x11b6cd,_0x1cc5bf,_0x339975,_0x27a84f,_0x1c40bc,_0x784b82,_0x150204,_0x12a19d,_0x2a9a3e,_0x4d196a,_0xe5e9c6,_0x3fa0a9,_0x115b68),this['unitID']=_0x11b6cd,this[_0x4e7dae(0x2a4)]=_0x339975,this[_0x4e7dae(0x423)]=_0x1c2d8e;}[_0x28b87b(0x2c1)](){var _0x110ecf=_0x28b87b;const _0x589bbf=super['_createHandler']();return _0x589bbf['onTransformSelections']=_0x4330c8=>this[_0x110ecf(0x423)]['transformSelections'](_0x4330c8),_0x589bbf;}async[_0x28b87b(0x231)](){var _0x3bf4bc=_0x28b87b;const _0x5118d8=await super[_0x3bf4bc(0x231)]();return this['disposeWithMe'](this['_commandService'][_0x3bf4bc(0x216)]((_0x363f82,_0x409bae)=>{var _0x56eb16=_0x3bf4bc;if(_0x363f82[_0x56eb16(0x2a4)]!==_0x40e7ee['MUTATION']||_0x409bae!=null&&_0x409bae[_0x56eb16(0x2c7)]||_0x409bae!=null&&_0x409bae[_0x56eb16(0x39d)])return;const _0x38de5c=_0x363f82[_0x56eb16(0x33e)];if((_0x38de5c==null?void 0x0:_0x38de5c[_0x56eb16(0x1e2)])!==this[_0x56eb16(0x40c)])return;const _0x56a08b=_0x363f82,_0x1aac78=this[_0x56eb16(0x31e)]['interceptor'][_0x56eb16(0x2d5)](this['_compressMutationService'][_0x56eb16(0x344)]['getInterceptPoints']()['COMPRESS_MUTATION_SEND'])([_0x56a08b],null)||[_0x56a08b];this[_0x56eb16(0x3e9)](_0x1aac78[0x0]);})),_0x5118d8;}};Tt=xt([H(0x3,_0x170ace(_0x35bd28)),H(0x4,_0x170ace(_0x2ff610)),H(0x5,_0x170ace(_0x305ebe)),H(0x6,_0x170ace(_0x3d8178)),H(0x7,_0x170ace(it)),H(0x8,_0x170ace(pe)),H(0x9,_0x1e7fcd),H(0xa,_0x57f32e),H(0xb,_0x160a69),H(0xc,_0x3adee5(ht)),H(0xd,_0x3adee5(J))],Tt);var or=Object[_0x28b87b(0x28a)],cr=(_0x5302f0,_0x314dcc,_0x557b7e,_0x5f1c41)=>{for(var _0x2c5e28=_0x5f1c41>0x1?void 0x0:_0x5f1c41?or(_0x314dcc,_0x557b7e):_0x314dcc,_0x3ff724=_0x5302f0['length']-0x1,_0x1c4935;_0x3ff724>=0x0;_0x3ff724--)(_0x1c4935=_0x5302f0[_0x3ff724])&&(_0x2c5e28=_0x1c4935(_0x2c5e28)||_0x2c5e28);return _0x2c5e28;},ft=(_0x3aa2d2,_0x36523a)=>(_0x5c1d8b,_0x3f7d4b)=>_0x36523a(_0x5c1d8b,_0x3f7d4b,_0x3aa2d2);let rt=class extends _0x32442f{constructor(_0x2a84b3,_0x493cdc,_0x58c87f){var _0xb66e47=_0x28b87b;super(),N(this,_0xb66e47(0x373),new Map()),N(this,_0xb66e47(0x1d9),new _0x345283()),N(this,_0xb66e47(0x28c),this[_0xb66e47(0x1d9)][_0xb66e47(0x3d1)]()),(this['_injector']=_0x2a84b3,this[_0xb66e47(0x140)]=_0x493cdc,this[_0xb66e47(0x3ad)]=_0x58c87f,this[_0xb66e47(0x231)]());}['dispose'](){var _0x470b09=_0x28b87b;super[_0x470b09(0x332)](),this[_0x470b09(0x373)][_0x470b09(0x295)](_0x41b8aa=>_0x41b8aa['dispose']()),this['_entities'][_0x470b09(0x2a2)]();}[_0x28b87b(0x3d7)](_0x4d604){var _0x13c25a=_0x28b87b,_0x40ed1a;return(_0x40ed1a=this[_0x13c25a(0x373)][_0x13c25a(0x1a3)](_0x4d604))!=null?_0x40ed1a:null;}[_0x28b87b(0x414)](_0x38d100){var _0x3fdc9e=_0x28b87b;const _0x47ec39=this[_0x3fdc9e(0x3d7)](_0x38d100);return _0x47ec39?_0x4362a1(_0x47ec39):this[_0x3fdc9e(0x1d9)][_0x3fdc9e(0x280)](_0x231ea8(_0x365eb7=>_0x365eb7['unitID']===_0x38d100));}[_0x28b87b(0x142)](_0x348f93){return _0x2c5266(this['getCollabEntity$'](_0x348f93)['pipe'](_0x1f8a6a(()=>{})));}[_0x28b87b(0x231)](){var _0x539e2b=_0x28b87b;this['_univerInstanceService'][_0x539e2b(0x195)](_0xb681bd[_0x539e2b(0x41e)])[_0x539e2b(0x280)](_0x263ba0(this[_0x539e2b(0x38f)]),_0x577557(0x10))[_0x539e2b(0x213)](async _0x51b4ff=>{var _0x2d7231=_0x539e2b;const _0x5a0086=_0x51b4ff[_0x2d7231(0x3c3)](),_0xa8777f=await this['_startCollaboration'](_0x5a0086,Q['UNIVER_SHEET']);this[_0x2d7231(0x373)]['set'](_0x5a0086,_0xa8777f);}),this[_0x539e2b(0x3ad)][_0x539e2b(0x195)](_0xb681bd[_0x539e2b(0x159)])[_0x539e2b(0x280)](_0x263ba0(this[_0x539e2b(0x38f)]),_0x577557(0x10))['pipe'](_0x231ea8(_0x2375bd=>!_0x2375bd['getUnitId']()['startsWith']('__')))['subscribe'](async _0x204b24=>{var _0x369edb=_0x539e2b;const _0x74094a=_0x204b24['getUnitId'](),_0x29f61f=await this[_0x369edb(0x17d)](_0x74094a,Q[_0x369edb(0x159)]);this['_entities'][_0x369edb(0x1e1)](_0x74094a,_0x29f61f);}),_0x119bd2(this[_0x539e2b(0x3ad)]['getTypeOfUnitDisposed$'](_0xb681bd['UNIVER_SHEET']),this[_0x539e2b(0x3ad)][_0x539e2b(0x1b9)](_0xb681bd[_0x539e2b(0x159)]))['pipe'](_0x263ba0(this['dispose$']))[_0x539e2b(0x213)](_0x144b7d=>{var _0x1ad275=_0x539e2b;const _0x274555=_0x144b7d[_0x1ad275(0x3c3)](),_0x24fa24=this['_entities'][_0x1ad275(0x1a3)](_0x274555);_0x24fa24&&(_0x24fa24[_0x1ad275(0x332)](),this['_entities'][_0x1ad275(0x22e)](_0x274555));});}async[_0x28b87b(0x17d)](_0x306b46,_0x133f6c){var _0x234bb2=_0x28b87b;const _0x43fbfc=await this[_0x234bb2(0x140)][_0x234bb2(0x329)](_0x306b46),_0x1a3ff0=this[_0x234bb2(0x32e)][_0x234bb2(0x3f2)](this[_0x234bb2(0x3ba)](_0x133f6c),_0x306b46,_0x133f6c,_0x43fbfc);return await _0x1a3ff0['init'](),this[_0x234bb2(0x1d9)][_0x234bb2(0x36e)](_0x1a3ff0),_0x1a3ff0;}['_getCtorByUniverType'](_0x45eea9){var _0x4e678c=_0x28b87b;switch(_0x45eea9){case Q['UNIVER_DOC']:return It;case Q[_0x4e678c(0x41e)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x45eea9);}}};rt=cr([ft(0x0,_0x170ace(_0x35bd28)),ft(0x1,_0x170ace(Le)),ft(0x2,_0xac24c)],rt);var hr=Object['getOwnPropertyDescriptor'],_r=(_0x2d1ff8,_0x5e8e4a,_0x2d09fb,_0x1b9804)=>{var _0x56614c=_0x28b87b;for(var _0x18913c=_0x1b9804>0x1?void 0x0:_0x1b9804?hr(_0x5e8e4a,_0x2d09fb):_0x5e8e4a,_0x1d5ff=_0x2d1ff8[_0x56614c(0x407)]-0x1,_0x2287bb;_0x1d5ff>=0x0;_0x1d5ff--)(_0x2287bb=_0x2d1ff8[_0x1d5ff])&&(_0x18913c=_0x2287bb(_0x18913c)||_0x18913c);return _0x18913c;},zt=(_0x5e0f8a,_0x33574a)=>(_0x2bb013,_0xd696f6)=>_0x33574a(_0x2bb013,_0xd696f6,_0x5e0f8a);const lr=_0x28b87b(0x199),ur='Univer';let Ct=class extends _0xa44e97{constructor(_0x1aa436,_0x109666){var _0x2fe5d8=_0x28b87b;super(),this[_0x2fe5d8(0x3ad)]=_0x1aa436,this[_0x2fe5d8(0x2cf)]=_0x109666,this[_0x2fe5d8(0x231)]();}['_init'](){var _0x2eb99a=_0x28b87b;this[_0x2eb99a(0x371)](this[_0x2eb99a(0x3ad)][_0x2eb99a(0x2de)][_0x2eb99a(0x213)](()=>{var _0x2b86e7=_0x2eb99a,_0x2a5d5c;const _0x21e371=this[_0x2b86e7(0x3ad)][_0x2b86e7(0x2a0)]();let _0x2a5cc2=(_0x2a5d5c=this[_0x2b86e7(0x2cf)]['getConfig'](lr))!=null?_0x2a5d5c:ur;_0x21e371 instanceof _0x1756ab&&(_0x2a5cc2=_0x21e371[_0x2b86e7(0x1e9)]),document[_0x2b86e7(0x328)]=_0x2a5cc2;}));}};Ct=_r([zt(0x0,_0xac24c),zt(0x1,_0xad7120)],Ct);var dr=Object[_0x28b87b(0x28a)],fr=(_0x4d901d,_0x530b4b,_0x2adceb,_0x6202b5)=>{for(var _0xf3ffc=_0x6202b5>0x1?void 0x0:_0x6202b5?dr(_0x530b4b,_0x2adceb):_0x530b4b,_0x38dd94=_0x4d901d['length']-0x1,_0x1cd656;_0x38dd94>=0x0;_0x38dd94--)(_0x1cd656=_0x4d901d[_0x38dd94])&&(_0xf3ffc=_0x1cd656(_0xf3ffc)||_0xf3ffc);return _0xf3ffc;},vt=(_0x867fcf,_0x141505)=>(_0x549e81,_0x43b67b)=>_0x141505(_0x549e81,_0x43b67b,_0x867fcf);let st=class{constructor(_0x8781c6,_0x2e0e23,_0x39381d){var _0xb619b3=_0x28b87b;this['_configService']=_0x8781c6,this[_0xb619b3(0x3da)]=_0x2e0e23,this[_0xb619b3(0x3af)]=_0x39381d,this[_0xb619b3(0x1d4)]();}['init'](){var _0x19c163=_0x28b87b;this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x340940,_0x35e55b)=>_0x35e55b(_0x340940)[_0x19c163(0x280)](_0x413e91(async _0x49f0d8=>{var _0x1e2990=_0x19c163;const _0x356428=_0x49f0d8;if(_0x356428['status']===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window[_0x1e2990(0x25a)](this[_0x1e2990(0x3af)]['t'](_0x1e2990(0x2a3)))){const _0x1abc0a=window['encodeURIComponent'](window['location'][_0x1e2990(0x206)]);window[_0x1e2990(0x3bf)][_0x1e2990(0x206)]=this[_0x1e2990(0x1c8)]()+_0x1e2990(0x2d4)+_0x1abc0a;}}return _0x356428;}))});}[_0x28b87b(0x1c8)](){var _0x2e5395=_0x28b87b,_0xb863f9,_0x1f3611;const _0x245bfa=this[_0x2e5395(0x2cf)]['getConfig'](Un),_0x370d42=this[_0x2e5395(0x2cf)][_0x2e5395(0x2ba)](q);return(_0x1f3611=(_0xb863f9=_0x370d42==null?void 0x0:_0x370d42['loginUrlKey'])!=null?_0xb863f9:_0x245bfa)!=null?_0x1f3611:wn;}};function _0x2643(_0x1cbc97,_0x198fea){var _0x3ac73d=_0x3ac7();return _0x2643=function(_0x2643c8,_0x3c5069){_0x2643c8=_0x2643c8-0x136;var _0x239c1c=_0x3ac73d[_0x2643c8];return _0x239c1c;},_0x2643(_0x1cbc97,_0x198fea);}st=fr([vt(0x0,_0xad7120),vt(0x1,_0x170ace(_0x343475)),vt(0x2,_0x170ace(_0x305ebe))],st);var vr=Object['getOwnPropertyDescriptor'],pr=(_0x9f6547,_0x10c3f1,_0x29ca91,_0x3c3ee5)=>{var _0x5325b8=_0x28b87b;for(var _0x4e637b=_0x3c3ee5>0x1?void 0x0:_0x3c3ee5?vr(_0x10c3f1,_0x29ca91):_0x10c3f1,_0x3fa145=_0x9f6547[_0x5325b8(0x407)]-0x1,_0x1fc7a3;_0x3fa145>=0x0;_0x3fa145--)(_0x1fc7a3=_0x9f6547[_0x3fa145])&&(_0x4e637b=_0x1fc7a3(_0x4e637b)||_0x4e637b);return _0x4e637b;},Jt=(_0x4945f0,_0x7d5fae)=>(_0x20611d,_0x2c2fe4)=>_0x7d5fae(_0x20611d,_0x2c2fe4,_0x4945f0);const Ni='AUTHZ_URL_KEY',mr=_0x28b87b(0x3eb);let Rt=class extends _0xa44e97{constructor(_0x1a0136,_0x221953){var _0x2d19fc=_0x28b87b;super(),this[_0x2d19fc(0x2e2)]=_0x1a0136,this[_0x2d19fc(0x2cf)]=_0x221953,this[_0x2d19fc(0x39b)]();}[_0x28b87b(0x39b)](){var _0xf5bcd8=_0x28b87b;const _0x302976=this;this[_0xf5bcd8(0x371)](this[_0xf5bcd8(0x2e2)][_0xf5bcd8(0x424)]({'priority':0x3e7,'interceptor':_0x2edaed({'isMatch'(_0x4b53eb){var _0x379086=_0xf5bcd8,_0x1acf0f;if(_0x4b53eb[_0x379086(0x3ed)]===_0x379086(0x2d3)&&((_0x1acf0f=_0x4b53eb['requestParams'])!=null&&_0x1acf0f[_0x379086(0x267)])){const {objectID:_0x166885,objectType:_0x3a7c81}=_0x4b53eb[_0x379086(0x232)][_0x379086(0x267)]||{};if(!_0x166885||_0x3a7c81===void 0x0)return!0x1;const _0x213985=_0x302976['_getAPIPrefixPath']()+'/'+_0x3a7c81+_0x379086(0x34c)+_0x166885+_0x379086(0x1ab);if(_0x4b53eb['url']===_0x213985)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x5db0f9){var _0x5608b8=_0xf5bcd8,_0x268dbb;return(_0x268dbb=_0x5db0f9[_0x5608b8(0x232)])==null?void 0x0:_0x268dbb['body'];},'mergeParamsToRequest'(_0x4d4010,_0x5d996b){var _0x87373a=_0xf5bcd8;const _0x6f0a49=_0x302976['_getAPIPrefixPath']()+_0x87373a(0x27b),_0x1b9297=_0x4d4010[_0x87373a(0x3d5)]((_0x4508a4,_0x42e2c2)=>{var _0x57f68d=_0x87373a;const {unitID:_0x51db12,objectID:_0x313b23,objectType:_0xe86f10,actions:_0xabfe4}=_0x42e2c2;return _0x4508a4[_0x51db12]||(_0x4508a4[_0x51db12]={}),_0x4508a4[_0x51db12][_0x313b23]||(_0x4508a4[_0x51db12][_0x313b23]={'objectID':_0x313b23,'objectType':_0xe86f10,'actions':[]}),_0x4508a4[_0x51db12][_0x313b23][_0x57f68d(0x356)][_0x57f68d(0x40f)](..._0xabfe4),_0x4508a4;},{}),_0x1954c3=[];for(const _0x40e2a7 in _0x1b9297)for(const _0x30490e in _0x1b9297[_0x40e2a7]){const {actions:_0x1c718b,objectType:_0x18a0a8}=_0x1b9297[_0x40e2a7][_0x30490e],_0x3dffea=[...new Set(_0x1c718b)];_0x1954c3['push']({'unitID':_0x40e2a7,'objectID':_0x30490e,'objectType':_0x18a0a8,'actions':_0x3dffea});}return new _0x3748e5(_0x87373a(0x2d3),_0x6f0a49,{'headers':_0x5d996b['headers'],'withCredentials':_0x5d996b['withCredentials'],'responseType':_0x5d996b['responseType'],'body':{'requests':_0x1954c3}});}},{'distributeResult'(_0x130890,_0x3dace6){var _0x11570a=_0xf5bcd8;const {objectActions:_0x4c61e8}=_0x130890;return _0x3dace6[_0x11570a(0x1ff)](_0x22df77=>{var _0x3b1a93=_0x11570a;const {unitID:_0x2e0000,objectID:_0x22d066,actions:_0x3d49a0}=_0x22df77,_0x1b454b=_0x4c61e8[_0x3b1a93(0x3f0)](_0x383e5b=>_0x383e5b[_0x3b1a93(0x40c)]===_0x2e0000&&_0x383e5b[_0x3b1a93(0x277)]===_0x22d066),_0x5d65d5=_0x3d49a0[_0x3b1a93(0x1ff)](_0x4d4434=>_0x1b454b==null?void 0x0:_0x1b454b[_0x3b1a93(0x356)][_0x3b1a93(0x3f0)](_0x3441e2=>_0x3441e2['action']===_0x4d4434))[_0x3b1a93(0x1e4)](_0x11754c=>!!_0x11754c);return{'config':_0x22df77,'result':{'actions':_0x5d65d5,'error':_0x130890[_0x3b1a93(0x3ea)]}};});}})}));}[_0x28b87b(0x1d5)](){var _0x3ab8f0=_0x28b87b,_0x141b35,_0x444809;const _0x3c8b99=this[_0x3ab8f0(0x2cf)][_0x3ab8f0(0x2ba)](Ni),_0x4c8717=this[_0x3ab8f0(0x2cf)][_0x3ab8f0(0x2ba)](q);return(_0x444809=(_0x141b35=_0x4c8717==null?void 0x0:_0x4c8717[_0x3ab8f0(0x416)])!=null?_0x141b35:_0x3c8b99)!=null?_0x444809:mr;}async['create'](_0x2b801f){var _0x3ab4da=_0x28b87b;const _0x5a644e=this[_0x3ab4da(0x1d5)]()+'/'+_0x2b801f[_0x3ab4da(0x150)]+_0x3ab4da(0x255);return(await this[_0x3ab4da(0x2e2)]['post'](_0x5a644e,{'body':_0x2b801f}))[_0x3ab4da(0x267)]['objectID']||'';}async[_0x28b87b(0x2e4)](_0x30c2e2){var _0x3f2bfe=_0x28b87b;const _0x306eab=this[_0x3f2bfe(0x1d5)]()+_0x3f2bfe(0x1fb);return(await this['_HTTPService'][_0x3f2bfe(0x3df)](_0x306eab,{'body':_0x30c2e2}))[_0x3f2bfe(0x267)]['objects'];}async[_0x28b87b(0x3f9)](_0x5f1458){var _0x467fda=_0x28b87b,_0x5dd51c,_0x3eb35a;const _0x425881=this[_0x467fda(0x1d5)]()+'/'+_0x5f1458[_0x467fda(0x150)]+_0x467fda(0x34c)+_0x5f1458['objectID'],_0x495a36=await this['_HTTPService']['put'](_0x425881,{'body':_0x5f1458});if(((_0x3eb35a=(_0x5dd51c=_0x495a36==null?void 0x0:_0x495a36[_0x467fda(0x267)])==null?void 0x0:_0x5dd51c[_0x467fda(0x3ea)])==null?void 0x0:_0x3eb35a[_0x467fda(0x2ce)])!==0x1)throw new Error(_0x467fda(0x2f9));}async[_0x28b87b(0x278)](_0x419f1e){var _0x2ec709=_0x28b87b;const _0x568965=this[_0x2ec709(0x1d5)]()+'/'+_0x419f1e[_0x2ec709(0x150)]+_0x2ec709(0x34c)+_0x419f1e[_0x2ec709(0x277)]+'/allowed';return(await this[_0x2ec709(0x2e2)][_0x2ec709(0x3df)](_0x568965,{'body':_0x419f1e}))[_0x2ec709(0x267)][_0x2ec709(0x356)];}async[_0x28b87b(0x381)](_0x3381eb){var _0x5a7fca=_0x28b87b;const _0x59dfad=this[_0x5a7fca(0x1d5)]()+'/-/object/-/batch_allowed';return(await this[_0x5a7fca(0x2e2)][_0x5a7fca(0x3df)](_0x59dfad,{'body':{'requests':_0x3381eb}}))['body'][_0x5a7fca(0x13c)];}async['listRoles'](_0x5e9bf8){var _0x5711d9=_0x28b87b;const _0x5c9c30=this[_0x5711d9(0x1d5)]()+'/'+_0x5e9bf8[_0x5711d9(0x150)]+_0x5711d9(0x421),_0x56db07=await this[_0x5711d9(0x2e2)][_0x5711d9(0x3df)](_0x5c9c30,{'body':_0x5e9bf8});return{'roles':_0x56db07[_0x5711d9(0x267)][_0x5711d9(0x164)],'actions':_0x56db07['body'][_0x5711d9(0x356)]};}async[_0x28b87b(0x1cf)](_0x1966d8){var _0x271092=_0x28b87b;const _0xcf53a1=this[_0x271092(0x1d5)]()+_0x271092(0x27a);await this[_0x271092(0x2e2)][_0x271092(0x22e)](_0xcf53a1,{'params':{'collaboratorID':_0x1966d8[_0x271092(0x34d)],'objectID':_0x1966d8[_0x271092(0x277)],'unitID':_0x1966d8[_0x271092(0x40c)]}});}async[_0x28b87b(0x2f7)](_0xb00633){var _0x9b0c93=_0x28b87b;const _0x438488=this[_0x9b0c93(0x1d5)]()+'/collaborator';await this[_0x9b0c93(0x2e2)]['patch'](_0x438488,{'body':_0xb00633});}async[_0x28b87b(0x2bf)](_0x23bb7e){var _0x59aace=_0x28b87b;const _0x54161e=this['_getAPIPrefixPath']()+_0x59aace(0x27a);await this[_0x59aace(0x2e2)][_0x59aace(0x3df)](_0x54161e,{'body':_0x23bb7e});}async[_0x28b87b(0x29f)](_0x5cc885){var _0x430c7c=_0x28b87b;const _0x5822c0=this[_0x430c7c(0x1d5)]()+'/collaborator';return(await this['_HTTPService'][_0x430c7c(0x1a3)](_0x5822c0,{'params':{'objectID':_0x5cc885[_0x430c7c(0x277)],'unitID':_0x5cc885[_0x430c7c(0x40c)]}}))[_0x430c7c(0x267)][_0x430c7c(0x366)];}async['putCollaborators'](_0x3ac429){var _0x5a7c91=_0x28b87b;const _0x16e2da=this[_0x5a7c91(0x1d5)]()+_0x5a7c91(0x27a);await this[_0x5a7c91(0x2e2)][_0x5a7c91(0x285)](_0x16e2da,{'body':_0x3ac429});}};Rt=pr([Jt(0x0,_0x170ace(_0x343475)),Jt(0x1,_0x170ace(_0xad7120))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x42a568){var _0x221445=_0x28b87b;return _0x42a568&&_0x42a568[_0x221445(0x3b2)]&&Object[_0x221445(0x376)][_0x221445(0x1d7)][_0x221445(0x3a7)](_0x42a568,_0x221445(0x27d))?_0x42a568[_0x221445(0x27d)]:_0x42a568;}var Ve={'exports':{}};function gr(_0x312ca1){var _0x3d4653=_0x28b87b;throw new Error(_0x3d4653(0x227)+_0x312ca1+_0x3d4653(0x425));}var Ge={'exports':{}},Sr=Ge[_0x28b87b(0x3b5)],Xt;function ie(){var _0x5eb86f=_0x28b87b;return Xt||(Xt=0x1,function(_0x54b3ef,_0x2cd732){(function(_0x4d95f6,_0x263dfa){_0x54b3ef['exports']=_0x263dfa();}(Sr,function(){var _0x33b640=_0x33b640||function(_0x4a79f4,_0x1ae5f8){var _0x3addb8=_0x2643,_0x35c366;if(typeof window<'u'&&window[_0x3addb8(0x209)]&&(_0x35c366=window[_0x3addb8(0x209)]),typeof self<'u'&&self[_0x3addb8(0x209)]&&(_0x35c366=self[_0x3addb8(0x209)]),typeof globalThis<'u'&&globalThis[_0x3addb8(0x209)]&&(_0x35c366=globalThis[_0x3addb8(0x209)]),!_0x35c366&&typeof window<'u'&&window[_0x3addb8(0x250)]&&(_0x35c366=window[_0x3addb8(0x250)]),!_0x35c366&&typeof pt<'u'&&pt[_0x3addb8(0x209)]&&(_0x35c366=pt[_0x3addb8(0x209)]),!_0x35c366&&typeof gr==_0x3addb8(0x35e))try{_0x35c366=require(_0x3addb8(0x209));}catch{}var _0xf95df1=function(){var _0x34a212=_0x3addb8;if(_0x35c366){if(typeof _0x35c366[_0x34a212(0x2fa)]=='function')try{return _0x35c366['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x35c366['randomBytes']==_0x34a212(0x35e))try{return _0x35c366['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x34a212(0x17e));},_0x15bf4b=Object[_0x3addb8(0x3a8)]||(function(){function _0xa1bbb4(){}return function(_0x5de499){var _0x521266=_0x2643,_0x2a724b;return _0xa1bbb4['prototype']=_0x5de499,_0x2a724b=new _0xa1bbb4(),_0xa1bbb4[_0x521266(0x376)]=null,_0x2a724b;};}()),_0x30dd19={},_0x26b44b=_0x30dd19['lib']={},_0x31bd19=_0x26b44b[_0x3addb8(0x22f)]=(function(){return{'extend':function(_0x39e5fd){var _0x3121be=_0x2643,_0x30fcf0=_0x15bf4b(this);return _0x39e5fd&&_0x30fcf0[_0x3121be(0x29a)](_0x39e5fd),(!_0x30fcf0['hasOwnProperty'](_0x3121be(0x1d4))||this[_0x3121be(0x1d4)]===_0x30fcf0[_0x3121be(0x1d4)])&&(_0x30fcf0[_0x3121be(0x1d4)]=function(){var _0x36c23=_0x3121be;_0x30fcf0[_0x36c23(0x2e7)][_0x36c23(0x1d4)]['apply'](this,arguments);}),_0x30fcf0['init']['prototype']=_0x30fcf0,_0x30fcf0[_0x3121be(0x2e7)]=this,_0x30fcf0;},'create':function(){var _0x1cd07a=_0x2643,_0x283c0b=this['extend']();return _0x283c0b['init'][_0x1cd07a(0x3b4)](_0x283c0b,arguments),_0x283c0b;},'init':function(){},'mixIn':function(_0x3bc412){var _0x1d5d0a=_0x2643;for(var _0x350584 in _0x3bc412)_0x3bc412[_0x1d5d0a(0x1d7)](_0x350584)&&(this[_0x350584]=_0x3bc412[_0x350584]);_0x3bc412['hasOwnProperty'](_0x1d5d0a(0x177))&&(this[_0x1d5d0a(0x177)]=_0x3bc412[_0x1d5d0a(0x177)]);},'clone':function(){var _0x58a561=_0x2643;return this[_0x58a561(0x1d4)][_0x58a561(0x376)][_0x58a561(0x229)](this);}};}()),_0x438fb7=_0x26b44b[_0x3addb8(0x173)]=_0x31bd19['extend']({'init':function(_0xf2084a,_0x421d21){var _0x42c9a1=_0x3addb8;_0xf2084a=this['words']=_0xf2084a||[],_0x421d21!=_0x1ae5f8?this[_0x42c9a1(0x3f4)]=_0x421d21:this[_0x42c9a1(0x3f4)]=_0xf2084a[_0x42c9a1(0x407)]*0x4;},'toString':function(_0x1e5e93){return(_0x1e5e93||_0xbf7941)['stringify'](this);},'concat':function(_0x3c0991){var _0x49da44=_0x3addb8,_0x1f5d17=this['words'],_0x4fc0b7=_0x3c0991[_0x49da44(0x316)],_0x4fa09a=this[_0x49da44(0x3f4)],_0x115600=_0x3c0991[_0x49da44(0x3f4)];if(this[_0x49da44(0x2f1)](),_0x4fa09a%0x4)for(var _0x75fe9c=0x0;_0x75fe9c<_0x115600;_0x75fe9c++){var _0x1c0303=_0x4fc0b7[_0x75fe9c>>>0x2]>>>0x18-_0x75fe9c%0x4*0x8&0xff;_0x1f5d17[_0x4fa09a+_0x75fe9c>>>0x2]|=_0x1c0303<<0x18-(_0x4fa09a+_0x75fe9c)%0x4*0x8;}else{for(var _0x99a4dc=0x0;_0x99a4dc<_0x115600;_0x99a4dc+=0x4)_0x1f5d17[_0x4fa09a+_0x99a4dc>>>0x2]=_0x4fc0b7[_0x99a4dc>>>0x2];}return this['sigBytes']+=_0x115600,this;},'clamp':function(){var _0x2df181=_0x3addb8,_0x5621a7=this[_0x2df181(0x316)],_0xf6c997=this['sigBytes'];_0x5621a7[_0xf6c997>>>0x2]&=0xffffffff<<0x20-_0xf6c997%0x4*0x8,_0x5621a7[_0x2df181(0x407)]=_0x4a79f4['ceil'](_0xf6c997/0x4);},'clone':function(){var _0x2e13fc=_0x3addb8,_0x40460b=_0x31bd19['clone']['call'](this);return _0x40460b[_0x2e13fc(0x316)]=this[_0x2e13fc(0x316)][_0x2e13fc(0x2bb)](0x0),_0x40460b;},'random':function(_0x573cdb){var _0x2c63a2=_0x3addb8;for(var _0x147e52=[],_0x15ce22=0x0;_0x15ce22<_0x573cdb;_0x15ce22+=0x4)_0x147e52[_0x2c63a2(0x40f)](_0xf95df1());return new _0x438fb7[(_0x2c63a2(0x1d4))](_0x147e52,_0x573cdb);}}),_0x35d2ba=_0x30dd19['enc']={},_0xbf7941=_0x35d2ba[_0x3addb8(0x1be)]={'stringify':function(_0x252d44){var _0x574910=_0x3addb8;for(var _0x36b0a7=_0x252d44[_0x574910(0x316)],_0xa56529=_0x252d44['sigBytes'],_0x27de71=[],_0x3cf4c6=0x0;_0x3cf4c6<_0xa56529;_0x3cf4c6++){var _0x31c261=_0x36b0a7[_0x3cf4c6>>>0x2]>>>0x18-_0x3cf4c6%0x4*0x8&0xff;_0x27de71[_0x574910(0x40f)]((_0x31c261>>>0x4)['toString'](0x10)),_0x27de71['push']((_0x31c261&0xf)[_0x574910(0x177)](0x10));}return _0x27de71[_0x574910(0x145)]('');},'parse':function(_0x95b47b){var _0x5a0391=_0x3addb8;for(var _0x361c37=_0x95b47b['length'],_0x32668f=[],_0x5d026d=0x0;_0x5d026d<_0x361c37;_0x5d026d+=0x2)_0x32668f[_0x5d026d>>>0x3]|=parseInt(_0x95b47b['substr'](_0x5d026d,0x2),0x10)<<0x18-_0x5d026d%0x8*0x4;return new _0x438fb7[(_0x5a0391(0x1d4))](_0x32668f,_0x361c37/0x2);}},_0xfb84ba=_0x35d2ba[_0x3addb8(0x3b1)]={'stringify':function(_0x324a1b){var _0x149231=_0x3addb8;for(var _0x1e7ed8=_0x324a1b[_0x149231(0x316)],_0x4e014a=_0x324a1b['sigBytes'],_0x14887b=[],_0x2beaea=0x0;_0x2beaea<_0x4e014a;_0x2beaea++){var _0x305762=_0x1e7ed8[_0x2beaea>>>0x2]>>>0x18-_0x2beaea%0x4*0x8&0xff;_0x14887b['push'](String[_0x149231(0x266)](_0x305762));}return _0x14887b['join']('');},'parse':function(_0x4b501a){var _0x3e6068=_0x3addb8;for(var _0x140e31=_0x4b501a[_0x3e6068(0x407)],_0x2fe660=[],_0x3be7b7=0x0;_0x3be7b7<_0x140e31;_0x3be7b7++)_0x2fe660[_0x3be7b7>>>0x2]|=(_0x4b501a[_0x3e6068(0x3d0)](_0x3be7b7)&0xff)<<0x18-_0x3be7b7%0x4*0x8;return new _0x438fb7[(_0x3e6068(0x1d4))](_0x2fe660,_0x140e31);}},_0x33c5bb=_0x35d2ba[_0x3addb8(0x1a7)]={'stringify':function(_0x50beee){var _0x105236=_0x3addb8;try{return decodeURIComponent(escape(_0xfb84ba[_0x105236(0x15b)](_0x50beee)));}catch{throw new Error(_0x105236(0x40e));}},'parse':function(_0x44fc6a){return _0xfb84ba['parse'](unescape(encodeURIComponent(_0x44fc6a)));}},_0x2f7046=_0x26b44b[_0x3addb8(0x289)]=_0x31bd19['extend']({'reset':function(){var _0x33c8f2=_0x3addb8;this['_data']=new _0x438fb7[(_0x33c8f2(0x1d4))](),this['_nDataBytes']=0x0;},'_append':function(_0x38dad9){var _0x3e6168=_0x3addb8;typeof _0x38dad9==_0x3e6168(0x14b)&&(_0x38dad9=_0x33c5bb[_0x3e6168(0x2fd)](_0x38dad9)),this[_0x3e6168(0x3d2)][_0x3e6168(0x348)](_0x38dad9),this[_0x3e6168(0x226)]+=_0x38dad9[_0x3e6168(0x3f4)];},'_process':function(_0x3c8308){var _0x42b9a7=_0x3addb8,_0x16bf5d,_0x151c65=this[_0x42b9a7(0x3d2)],_0x5acfee=_0x151c65[_0x42b9a7(0x316)],_0x30ba4d=_0x151c65[_0x42b9a7(0x3f4)],_0x12a38a=this[_0x42b9a7(0x419)],_0x33cc07=_0x12a38a*0x4,_0x296411=_0x30ba4d/_0x33cc07;_0x3c8308?_0x296411=_0x4a79f4['ceil'](_0x296411):_0x296411=_0x4a79f4['max']((_0x296411|0x0)-this[_0x42b9a7(0x399)],0x0);var _0x32cabf=_0x296411*_0x12a38a,_0x667d76=_0x4a79f4[_0x42b9a7(0x372)](_0x32cabf*0x4,_0x30ba4d);if(_0x32cabf){for(var _0x5d5245=0x0;_0x5d5245<_0x32cabf;_0x5d5245+=_0x12a38a)this[_0x42b9a7(0x2c0)](_0x5acfee,_0x5d5245);_0x16bf5d=_0x5acfee[_0x42b9a7(0x3f3)](0x0,_0x32cabf),_0x151c65[_0x42b9a7(0x3f4)]-=_0x667d76;}return new _0x438fb7['init'](_0x16bf5d,_0x667d76);},'clone':function(){var _0x4f193a=_0x3addb8,_0x7bce15=_0x31bd19[_0x4f193a(0x2a5)][_0x4f193a(0x3a7)](this);return _0x7bce15[_0x4f193a(0x3d2)]=this[_0x4f193a(0x3d2)]['clone'](),_0x7bce15;},'_minBufferSize':0x0});_0x26b44b[_0x3addb8(0x16f)]=_0x2f7046['extend']({'cfg':_0x31bd19['extend'](),'init':function(_0x21df2d){var _0x24fc06=_0x3addb8;this['cfg']=this[_0x24fc06(0x217)][_0x24fc06(0x229)](_0x21df2d),this[_0x24fc06(0x13b)]();},'reset':function(){var _0x141e97=_0x3addb8;_0x2f7046['reset'][_0x141e97(0x3a7)](this),this[_0x141e97(0x3d3)]();},'update':function(_0x44ee0f){var _0x5b1be8=_0x3addb8;return this[_0x5b1be8(0x435)](_0x44ee0f),this['_process'](),this;},'finalize':function(_0x20c0bf){var _0x4c59b8=_0x3addb8;_0x20c0bf&&this[_0x4c59b8(0x435)](_0x20c0bf);var _0x219810=this[_0x4c59b8(0x182)]();return _0x219810;},'blockSize':0x10,'_createHelper':function(_0x276903){return function(_0x5714aa,_0x59404e){var _0x2784a5=_0x2643;return new _0x276903[(_0x2784a5(0x1d4))](_0x59404e)[_0x2784a5(0x3be)](_0x5714aa);};},'_createHmacHelper':function(_0xe3291f){return function(_0x5eff91,_0x1eeda1){var _0x315f0f=_0x2643;return new _0x41b32a['HMAC'][(_0x315f0f(0x1d4))](_0xe3291f,_0x1eeda1)[_0x315f0f(0x3be)](_0x5eff91);};}});var _0x41b32a=_0x30dd19[_0x3addb8(0x1c3)]={};return _0x30dd19;}(Math);return _0x33b640;}));}(Ge)),Ge[_0x5eb86f(0x3b5)];}var We={'exports':{}},Er=We['exports'],Zt;function Di(){return Zt||(Zt=0x1,function(_0x386a2b,_0x468888){(function(_0x56fdbe,_0x2a1a26){var _0x419a87=_0x2643;_0x386a2b[_0x419a87(0x3b5)]=_0x2a1a26(ie());}(Er,function(_0x47af76){var _0x40ba42=_0x2643;return(function(){var _0x4d1831=_0x2643,_0x504870=_0x47af76,_0x41ad93=_0x504870[_0x4d1831(0x2bc)],_0xc4aa55=_0x41ad93[_0x4d1831(0x173)],_0x410771=_0x504870[_0x4d1831(0x1c5)];_0x410771[_0x4d1831(0x334)]={'stringify':function(_0x2d499d){var _0x552a29=_0x4d1831,_0x2aeb2c=_0x2d499d[_0x552a29(0x316)],_0x1e317f=_0x2d499d[_0x552a29(0x3f4)],_0x6686f2=this['_map'];_0x2d499d['clamp']();for(var _0x19c520=[],_0xd26fc1=0x0;_0xd26fc1<_0x1e317f;_0xd26fc1+=0x3)for(var _0x4f6fb1=_0x2aeb2c[_0xd26fc1>>>0x2]>>>0x18-_0xd26fc1%0x4*0x8&0xff,_0x160276=_0x2aeb2c[_0xd26fc1+0x1>>>0x2]>>>0x18-(_0xd26fc1+0x1)%0x4*0x8&0xff,_0x4a63cd=_0x2aeb2c[_0xd26fc1+0x2>>>0x2]>>>0x18-(_0xd26fc1+0x2)%0x4*0x8&0xff,_0xa75df5=_0x4f6fb1<<0x10|_0x160276<<0x8|_0x4a63cd,_0x3b5b31=0x0;_0x3b5b31<0x4&&_0xd26fc1+_0x3b5b31*0.75<_0x1e317f;_0x3b5b31++)_0x19c520[_0x552a29(0x40f)](_0x6686f2[_0x552a29(0x297)](_0xa75df5>>>0x6*(0x3-_0x3b5b31)&0x3f));var _0x355733=_0x6686f2['charAt'](0x40);if(_0x355733){for(;_0x19c520[_0x552a29(0x407)]%0x4;)_0x19c520[_0x552a29(0x40f)](_0x355733);}return _0x19c520['join']('');},'parse':function(_0x27882a){var _0x54f9bc=_0x4d1831,_0x511cfc=_0x27882a[_0x54f9bc(0x407)],_0x46b2f5=this[_0x54f9bc(0x1ad)],_0x2d87ca=this[_0x54f9bc(0x3c6)];if(!_0x2d87ca){_0x2d87ca=this[_0x54f9bc(0x3c6)]=[];for(var _0x129c89=0x0;_0x129c89<_0x46b2f5[_0x54f9bc(0x407)];_0x129c89++)_0x2d87ca[_0x46b2f5['charCodeAt'](_0x129c89)]=_0x129c89;}var _0x4cc9a9=_0x46b2f5['charAt'](0x40);if(_0x4cc9a9){var _0x52eca6=_0x27882a['indexOf'](_0x4cc9a9);_0x52eca6!==-0x1&&(_0x511cfc=_0x52eca6);}return _0x938be7(_0x27882a,_0x511cfc,_0x2d87ca);},'_map':_0x4d1831(0x411)};function _0x938be7(_0x5be73b,_0x1f1230,_0x4b48e9){var _0x16b51b=_0x4d1831;for(var _0x3f6e11=[],_0x3edc8d=0x0,_0x33807b=0x0;_0x33807b<_0x1f1230;_0x33807b++)if(_0x33807b%0x4){var _0x551383=_0x4b48e9[_0x5be73b[_0x16b51b(0x3d0)](_0x33807b-0x1)]<<_0x33807b%0x4*0x2,_0x650139=_0x4b48e9[_0x5be73b[_0x16b51b(0x3d0)](_0x33807b)]>>>0x6-_0x33807b%0x4*0x2,_0x1e2a0d=_0x551383|_0x650139;_0x3f6e11[_0x3edc8d>>>0x2]|=_0x1e2a0d<<0x18-_0x3edc8d%0x4*0x8,_0x3edc8d++;}return _0xc4aa55[_0x16b51b(0x3a8)](_0x3f6e11,_0x3edc8d);}}()),_0x47af76[_0x40ba42(0x1c5)]['Base64'];}));}(We)),We['exports'];}var Ke={'exports':{}},Ir=Ke[_0x28b87b(0x3b5)],Qt;function Tr(){return Qt||(Qt=0x1,function(_0xae3404,_0x5f1f47){(function(_0x2964a0,_0x328346){var _0x1add51=_0x2643;_0xae3404[_0x1add51(0x3b5)]=_0x328346(ie());}(Ir,function(_0x55b4a9){var _0xa7a9d8=_0x2643;return function(_0x596ea4){var _0x374978=_0x2643,_0x3dd425=_0x55b4a9,_0x256bc6=_0x3dd425[_0x374978(0x2bc)],_0x2c3212=_0x256bc6[_0x374978(0x173)],_0x21a021=_0x256bc6['Hasher'],_0x5d8ec6=_0x3dd425['algo'],_0x19332d=[];(function(){var _0x4e9369=_0x374978;for(var _0x18b765=0x0;_0x18b765<0x40;_0x18b765++)_0x19332d[_0x18b765]=_0x596ea4[_0x4e9369(0x413)](_0x596ea4[_0x4e9369(0x33c)](_0x18b765+0x1))*0x100000000|0x0;}());var _0x2914aa=_0x5d8ec6['MD5']=_0x21a021[_0x374978(0x229)]({'_doReset':function(){var _0x56892d=_0x374978;this[_0x56892d(0x3f5)]=new _0x2c3212['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4808f5,_0x1aa36a){var _0x47db75=_0x374978;for(var _0x597932=0x0;_0x597932<0x10;_0x597932++){var _0x40ba04=_0x1aa36a+_0x597932,_0x5c2fe8=_0x4808f5[_0x40ba04];_0x4808f5[_0x40ba04]=(_0x5c2fe8<<0x8|_0x5c2fe8>>>0x18)&0xff00ff|(_0x5c2fe8<<0x18|_0x5c2fe8>>>0x8)&0xff00ff00;}var _0x566aa1=this[_0x47db75(0x3f5)][_0x47db75(0x316)],_0xb3b214=_0x4808f5[_0x1aa36a+0x0],_0x231fc0=_0x4808f5[_0x1aa36a+0x1],_0x5e7a94=_0x4808f5[_0x1aa36a+0x2],_0x2dd888=_0x4808f5[_0x1aa36a+0x3],_0x420258=_0x4808f5[_0x1aa36a+0x4],_0x306105=_0x4808f5[_0x1aa36a+0x5],_0x549d48=_0x4808f5[_0x1aa36a+0x6],_0xa63d16=_0x4808f5[_0x1aa36a+0x7],_0x322e21=_0x4808f5[_0x1aa36a+0x8],_0x9bb25b=_0x4808f5[_0x1aa36a+0x9],_0x4d1147=_0x4808f5[_0x1aa36a+0xa],_0x3843ca=_0x4808f5[_0x1aa36a+0xb],_0xfedd7e=_0x4808f5[_0x1aa36a+0xc],_0x27a152=_0x4808f5[_0x1aa36a+0xd],_0x153cbd=_0x4808f5[_0x1aa36a+0xe],_0xbf2abe=_0x4808f5[_0x1aa36a+0xf],_0x14e1f8=_0x566aa1[0x0],_0x2deb5d=_0x566aa1[0x1],_0x14a287=_0x566aa1[0x2],_0x4edd07=_0x566aa1[0x3];_0x14e1f8=_0x20561d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0xb3b214,0x7,_0x19332d[0x0]),_0x4edd07=_0x20561d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x231fc0,0xc,_0x19332d[0x1]),_0x14a287=_0x20561d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x5e7a94,0x11,_0x19332d[0x2]),_0x2deb5d=_0x20561d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x2dd888,0x16,_0x19332d[0x3]),_0x14e1f8=_0x20561d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x420258,0x7,_0x19332d[0x4]),_0x4edd07=_0x20561d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x306105,0xc,_0x19332d[0x5]),_0x14a287=_0x20561d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x549d48,0x11,_0x19332d[0x6]),_0x2deb5d=_0x20561d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0xa63d16,0x16,_0x19332d[0x7]),_0x14e1f8=_0x20561d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x322e21,0x7,_0x19332d[0x8]),_0x4edd07=_0x20561d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x9bb25b,0xc,_0x19332d[0x9]),_0x14a287=_0x20561d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x4d1147,0x11,_0x19332d[0xa]),_0x2deb5d=_0x20561d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x3843ca,0x16,_0x19332d[0xb]),_0x14e1f8=_0x20561d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0xfedd7e,0x7,_0x19332d[0xc]),_0x4edd07=_0x20561d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x27a152,0xc,_0x19332d[0xd]),_0x14a287=_0x20561d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x153cbd,0x11,_0x19332d[0xe]),_0x2deb5d=_0x20561d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0xbf2abe,0x16,_0x19332d[0xf]),_0x14e1f8=_0x31139d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x231fc0,0x5,_0x19332d[0x10]),_0x4edd07=_0x31139d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x549d48,0x9,_0x19332d[0x11]),_0x14a287=_0x31139d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x3843ca,0xe,_0x19332d[0x12]),_0x2deb5d=_0x31139d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0xb3b214,0x14,_0x19332d[0x13]),_0x14e1f8=_0x31139d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x306105,0x5,_0x19332d[0x14]),_0x4edd07=_0x31139d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x4d1147,0x9,_0x19332d[0x15]),_0x14a287=_0x31139d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0xbf2abe,0xe,_0x19332d[0x16]),_0x2deb5d=_0x31139d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x420258,0x14,_0x19332d[0x17]),_0x14e1f8=_0x31139d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x9bb25b,0x5,_0x19332d[0x18]),_0x4edd07=_0x31139d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x153cbd,0x9,_0x19332d[0x19]),_0x14a287=_0x31139d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x2dd888,0xe,_0x19332d[0x1a]),_0x2deb5d=_0x31139d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x322e21,0x14,_0x19332d[0x1b]),_0x14e1f8=_0x31139d(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x27a152,0x5,_0x19332d[0x1c]),_0x4edd07=_0x31139d(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x5e7a94,0x9,_0x19332d[0x1d]),_0x14a287=_0x31139d(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0xa63d16,0xe,_0x19332d[0x1e]),_0x2deb5d=_0x31139d(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0xfedd7e,0x14,_0x19332d[0x1f]),_0x14e1f8=_0x3bb67c(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x306105,0x4,_0x19332d[0x20]),_0x4edd07=_0x3bb67c(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x322e21,0xb,_0x19332d[0x21]),_0x14a287=_0x3bb67c(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x3843ca,0x10,_0x19332d[0x22]),_0x2deb5d=_0x3bb67c(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x153cbd,0x17,_0x19332d[0x23]),_0x14e1f8=_0x3bb67c(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x231fc0,0x4,_0x19332d[0x24]),_0x4edd07=_0x3bb67c(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x420258,0xb,_0x19332d[0x25]),_0x14a287=_0x3bb67c(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0xa63d16,0x10,_0x19332d[0x26]),_0x2deb5d=_0x3bb67c(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x4d1147,0x17,_0x19332d[0x27]),_0x14e1f8=_0x3bb67c(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x27a152,0x4,_0x19332d[0x28]),_0x4edd07=_0x3bb67c(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0xb3b214,0xb,_0x19332d[0x29]),_0x14a287=_0x3bb67c(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x2dd888,0x10,_0x19332d[0x2a]),_0x2deb5d=_0x3bb67c(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x549d48,0x17,_0x19332d[0x2b]),_0x14e1f8=_0x3bb67c(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x9bb25b,0x4,_0x19332d[0x2c]),_0x4edd07=_0x3bb67c(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0xfedd7e,0xb,_0x19332d[0x2d]),_0x14a287=_0x3bb67c(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0xbf2abe,0x10,_0x19332d[0x2e]),_0x2deb5d=_0x3bb67c(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x5e7a94,0x17,_0x19332d[0x2f]),_0x14e1f8=_0x4e4cc6(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0xb3b214,0x6,_0x19332d[0x30]),_0x4edd07=_0x4e4cc6(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0xa63d16,0xa,_0x19332d[0x31]),_0x14a287=_0x4e4cc6(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x153cbd,0xf,_0x19332d[0x32]),_0x2deb5d=_0x4e4cc6(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x306105,0x15,_0x19332d[0x33]),_0x14e1f8=_0x4e4cc6(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0xfedd7e,0x6,_0x19332d[0x34]),_0x4edd07=_0x4e4cc6(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x2dd888,0xa,_0x19332d[0x35]),_0x14a287=_0x4e4cc6(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x4d1147,0xf,_0x19332d[0x36]),_0x2deb5d=_0x4e4cc6(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x231fc0,0x15,_0x19332d[0x37]),_0x14e1f8=_0x4e4cc6(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x322e21,0x6,_0x19332d[0x38]),_0x4edd07=_0x4e4cc6(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0xbf2abe,0xa,_0x19332d[0x39]),_0x14a287=_0x4e4cc6(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x549d48,0xf,_0x19332d[0x3a]),_0x2deb5d=_0x4e4cc6(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x27a152,0x15,_0x19332d[0x3b]),_0x14e1f8=_0x4e4cc6(_0x14e1f8,_0x2deb5d,_0x14a287,_0x4edd07,_0x420258,0x6,_0x19332d[0x3c]),_0x4edd07=_0x4e4cc6(_0x4edd07,_0x14e1f8,_0x2deb5d,_0x14a287,_0x3843ca,0xa,_0x19332d[0x3d]),_0x14a287=_0x4e4cc6(_0x14a287,_0x4edd07,_0x14e1f8,_0x2deb5d,_0x5e7a94,0xf,_0x19332d[0x3e]),_0x2deb5d=_0x4e4cc6(_0x2deb5d,_0x14a287,_0x4edd07,_0x14e1f8,_0x9bb25b,0x15,_0x19332d[0x3f]),_0x566aa1[0x0]=_0x566aa1[0x0]+_0x14e1f8|0x0,_0x566aa1[0x1]=_0x566aa1[0x1]+_0x2deb5d|0x0,_0x566aa1[0x2]=_0x566aa1[0x2]+_0x14a287|0x0,_0x566aa1[0x3]=_0x566aa1[0x3]+_0x4edd07|0x0;},'_doFinalize':function(){var _0x189fd8=_0x374978,_0x269d26=this['_data'],_0x66b4e6=_0x269d26[_0x189fd8(0x316)],_0x192ce9=this[_0x189fd8(0x226)]*0x8,_0x3e698c=_0x269d26[_0x189fd8(0x3f4)]*0x8;_0x66b4e6[_0x3e698c>>>0x5]|=0x80<<0x18-_0x3e698c%0x20;var _0x24b0f1=_0x596ea4[_0x189fd8(0x149)](_0x192ce9/0x100000000),_0x15c632=_0x192ce9;_0x66b4e6[(_0x3e698c+0x40>>>0x9<<0x4)+0xf]=(_0x24b0f1<<0x8|_0x24b0f1>>>0x18)&0xff00ff|(_0x24b0f1<<0x18|_0x24b0f1>>>0x8)&0xff00ff00,_0x66b4e6[(_0x3e698c+0x40>>>0x9<<0x4)+0xe]=(_0x15c632<<0x8|_0x15c632>>>0x18)&0xff00ff|(_0x15c632<<0x18|_0x15c632>>>0x8)&0xff00ff00,_0x269d26[_0x189fd8(0x3f4)]=(_0x66b4e6[_0x189fd8(0x407)]+0x1)*0x4,this[_0x189fd8(0x245)]();for(var _0x1627a1=this[_0x189fd8(0x3f5)],_0x995378=_0x1627a1[_0x189fd8(0x316)],_0x435372=0x0;_0x435372<0x4;_0x435372++){var _0x361e57=_0x995378[_0x435372];_0x995378[_0x435372]=(_0x361e57<<0x8|_0x361e57>>>0x18)&0xff00ff|(_0x361e57<<0x18|_0x361e57>>>0x8)&0xff00ff00;}return _0x1627a1;},'clone':function(){var _0x139c87=_0x374978,_0x29b8f6=_0x21a021['clone']['call'](this);return _0x29b8f6[_0x139c87(0x3f5)]=this[_0x139c87(0x3f5)]['clone'](),_0x29b8f6;}});function _0x20561d(_0x2ea502,_0x1dcd77,_0x8da5ca,_0x48f96f,_0x175032,_0xf2845f,_0x50ddad){var _0x4bf9bd=_0x2ea502+(_0x1dcd77&_0x8da5ca|~_0x1dcd77&_0x48f96f)+_0x175032+_0x50ddad;return(_0x4bf9bd<<_0xf2845f|_0x4bf9bd>>>0x20-_0xf2845f)+_0x1dcd77;}function _0x31139d(_0x359dbe,_0x1fe4eb,_0x33bcef,_0x5eb4d8,_0x559341,_0x500529,_0x47d242){var _0x1ceb48=_0x359dbe+(_0x1fe4eb&_0x5eb4d8|_0x33bcef&~_0x5eb4d8)+_0x559341+_0x47d242;return(_0x1ceb48<<_0x500529|_0x1ceb48>>>0x20-_0x500529)+_0x1fe4eb;}function _0x3bb67c(_0x78c513,_0x33c201,_0x505709,_0xebafd0,_0x15ac65,_0x5e98f1,_0x540a5f){var _0x1ae087=_0x78c513+(_0x33c201^_0x505709^_0xebafd0)+_0x15ac65+_0x540a5f;return(_0x1ae087<<_0x5e98f1|_0x1ae087>>>0x20-_0x5e98f1)+_0x33c201;}function _0x4e4cc6(_0x32293b,_0x2695bd,_0x2d3298,_0x1dfc92,_0x1cf84a,_0x1d439e,_0x222316){var _0x2a531f=_0x32293b+(_0x2d3298^(_0x2695bd|~_0x1dfc92))+_0x1cf84a+_0x222316;return(_0x2a531f<<_0x1d439e|_0x2a531f>>>0x20-_0x1d439e)+_0x2695bd;}_0x3dd425[_0x374978(0x39c)]=_0x21a021['_createHelper'](_0x2914aa),_0x3dd425['HmacMD5']=_0x21a021[_0x374978(0x192)](_0x2914aa);}(Math),_0x55b4a9[_0xa7a9d8(0x39c)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Cr=qe[_0x28b87b(0x3b5)],ei;function Rr(){var _0x54eb65=_0x28b87b;return ei||(ei=0x1,function(_0x2f96b1,_0x5d2b8d){(function(_0x151b48,_0x40a346){var _0x353a21=_0x2643;_0x2f96b1[_0x353a21(0x3b5)]=_0x40a346(ie());}(Cr,function(_0x3f7353){var _0x1084c5=_0x2643;return(function(){var _0x2bfa03=_0x2643,_0x554e3e=_0x3f7353,_0x5d9905=_0x554e3e['lib'],_0x47f2e7=_0x5d9905[_0x2bfa03(0x173)],_0x4431d4=_0x5d9905[_0x2bfa03(0x16f)],_0x39ba32=_0x554e3e[_0x2bfa03(0x1c3)],_0x2b17f5=[],_0x1dd9f1=_0x39ba32[_0x2bfa03(0x248)]=_0x4431d4[_0x2bfa03(0x229)]({'_doReset':function(){var _0x3107f0=_0x2bfa03;this[_0x3107f0(0x3f5)]=new _0x47f2e7[(_0x3107f0(0x1d4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x54c9b9,_0x1f1650){var _0x5a7f40=_0x2bfa03;for(var _0x4c9b2e=this[_0x5a7f40(0x3f5)][_0x5a7f40(0x316)],_0x22d263=_0x4c9b2e[0x0],_0x2c9021=_0x4c9b2e[0x1],_0x561f7f=_0x4c9b2e[0x2],_0x1e487e=_0x4c9b2e[0x3],_0x158cb2=_0x4c9b2e[0x4],_0x344e90=0x0;_0x344e90<0x50;_0x344e90++){if(_0x344e90<0x10)_0x2b17f5[_0x344e90]=_0x54c9b9[_0x1f1650+_0x344e90]|0x0;else{var _0x23ead9=_0x2b17f5[_0x344e90-0x3]^_0x2b17f5[_0x344e90-0x8]^_0x2b17f5[_0x344e90-0xe]^_0x2b17f5[_0x344e90-0x10];_0x2b17f5[_0x344e90]=_0x23ead9<<0x1|_0x23ead9>>>0x1f;}var _0x3786dd=(_0x22d263<<0x5|_0x22d263>>>0x1b)+_0x158cb2+_0x2b17f5[_0x344e90];_0x344e90<0x14?_0x3786dd+=(_0x2c9021&_0x561f7f|~_0x2c9021&_0x1e487e)+0x5a827999:_0x344e90<0x28?_0x3786dd+=(_0x2c9021^_0x561f7f^_0x1e487e)+0x6ed9eba1:_0x344e90<0x3c?_0x3786dd+=(_0x2c9021&_0x561f7f|_0x2c9021&_0x1e487e|_0x561f7f&_0x1e487e)-0x70e44324:_0x3786dd+=(_0x2c9021^_0x561f7f^_0x1e487e)-0x359d3e2a,_0x158cb2=_0x1e487e,_0x1e487e=_0x561f7f,_0x561f7f=_0x2c9021<<0x1e|_0x2c9021>>>0x2,_0x2c9021=_0x22d263,_0x22d263=_0x3786dd;}_0x4c9b2e[0x0]=_0x4c9b2e[0x0]+_0x22d263|0x0,_0x4c9b2e[0x1]=_0x4c9b2e[0x1]+_0x2c9021|0x0,_0x4c9b2e[0x2]=_0x4c9b2e[0x2]+_0x561f7f|0x0,_0x4c9b2e[0x3]=_0x4c9b2e[0x3]+_0x1e487e|0x0,_0x4c9b2e[0x4]=_0x4c9b2e[0x4]+_0x158cb2|0x0;},'_doFinalize':function(){var _0x4777b7=_0x2bfa03,_0x104827=this[_0x4777b7(0x3d2)],_0x1d9e77=_0x104827[_0x4777b7(0x316)],_0x196a45=this[_0x4777b7(0x226)]*0x8,_0x1f957b=_0x104827[_0x4777b7(0x3f4)]*0x8;return _0x1d9e77[_0x1f957b>>>0x5]|=0x80<<0x18-_0x1f957b%0x20,_0x1d9e77[(_0x1f957b+0x40>>>0x9<<0x4)+0xe]=Math[_0x4777b7(0x149)](_0x196a45/0x100000000),_0x1d9e77[(_0x1f957b+0x40>>>0x9<<0x4)+0xf]=_0x196a45,_0x104827[_0x4777b7(0x3f4)]=_0x1d9e77[_0x4777b7(0x407)]*0x4,this['_process'](),this['_hash'];},'clone':function(){var _0x151176=_0x2bfa03,_0x24c109=_0x4431d4[_0x151176(0x2a5)]['call'](this);return _0x24c109[_0x151176(0x3f5)]=this[_0x151176(0x3f5)][_0x151176(0x2a5)](),_0x24c109;}});_0x554e3e[_0x2bfa03(0x248)]=_0x4431d4[_0x2bfa03(0x41c)](_0x1dd9f1),_0x554e3e['HmacSHA1']=_0x4431d4[_0x2bfa03(0x192)](_0x1dd9f1);}()),_0x3f7353[_0x1084c5(0x248)];}));}(qe)),qe[_0x54eb65(0x3b5)];}var ze={'exports':{}},br=ze['exports'],ti;function yr(){var _0x3efe8d=_0x28b87b;return ti||(ti=0x1,function(_0x4bb1cd,_0xdbf2b1){(function(_0x2c5b08,_0xe053ec){var _0x49d0fe=_0x2643;_0x4bb1cd[_0x49d0fe(0x3b5)]=_0xe053ec(ie());}(br,function(_0x3dcf0b){(function(){var _0x35404d=_0x2643,_0x3d62c4=_0x3dcf0b,_0x2ed0be=_0x3d62c4[_0x35404d(0x2bc)],_0x203130=_0x2ed0be[_0x35404d(0x22f)],_0x2305e3=_0x3d62c4[_0x35404d(0x1c5)],_0x511c1f=_0x2305e3[_0x35404d(0x1a7)],_0x2612ae=_0x3d62c4[_0x35404d(0x1c3)];_0x2612ae[_0x35404d(0x3c9)]=_0x203130[_0x35404d(0x229)]({'init':function(_0x49898c,_0x3eeaac){var _0xc54baf=_0x35404d;_0x49898c=this['_hasher']=new _0x49898c[(_0xc54baf(0x1d4))](),typeof _0x3eeaac==_0xc54baf(0x14b)&&(_0x3eeaac=_0x511c1f['parse'](_0x3eeaac));var _0xcbd4c5=_0x49898c[_0xc54baf(0x419)],_0x2d9518=_0xcbd4c5*0x4;_0x3eeaac[_0xc54baf(0x3f4)]>_0x2d9518&&(_0x3eeaac=_0x49898c[_0xc54baf(0x3be)](_0x3eeaac)),_0x3eeaac['clamp']();for(var _0x5a65e7=this[_0xc54baf(0x296)]=_0x3eeaac[_0xc54baf(0x2a5)](),_0x284056=this[_0xc54baf(0x2b2)]=_0x3eeaac['clone'](),_0x12263d=_0x5a65e7['words'],_0x270856=_0x284056[_0xc54baf(0x316)],_0xddd884=0x0;_0xddd884<_0xcbd4c5;_0xddd884++)_0x12263d[_0xddd884]^=0x5c5c5c5c,_0x270856[_0xddd884]^=0x36363636;_0x5a65e7[_0xc54baf(0x3f4)]=_0x284056[_0xc54baf(0x3f4)]=_0x2d9518,this['reset']();},'reset':function(){var _0x400fb0=_0x35404d,_0xa66bc8=this[_0x400fb0(0x259)];_0xa66bc8[_0x400fb0(0x13b)](),_0xa66bc8['update'](this[_0x400fb0(0x2b2)]);},'update':function(_0xe4f541){var _0x28fa56=_0x35404d;return this[_0x28fa56(0x259)][_0x28fa56(0x3f9)](_0xe4f541),this;},'finalize':function(_0x59ced0){var _0x4c9bd5=_0x35404d,_0x4d8c69=this[_0x4c9bd5(0x259)],_0x155178=_0x4d8c69[_0x4c9bd5(0x3be)](_0x59ced0);_0x4d8c69['reset']();var _0x108ffc=_0x4d8c69[_0x4c9bd5(0x3be)](this[_0x4c9bd5(0x296)]['clone']()[_0x4c9bd5(0x348)](_0x155178));return _0x108ffc;}});}());}));}(ze)),ze[_0x3efe8d(0x3b5)];}var Or=Ye[_0x28b87b(0x3b5)],ii;function Ui(){var _0x2b1b7d=_0x28b87b;return ii||(ii=0x1,function(_0x4a71a9,_0x4d263a){(function(_0x1486ca,_0x3e60f5,_0x315aba){var _0x500d9=_0x2643;_0x4a71a9[_0x500d9(0x3b5)]=_0x3e60f5(ie(),Rr(),yr());}(Or,function(_0x35e9b8){var _0x5f1c3e=_0x2643;return(function(){var _0x21bd03=_0x2643,_0x425ffd=_0x35e9b8,_0x14cb91=_0x425ffd['lib'],_0x1f9ba0=_0x14cb91[_0x21bd03(0x22f)],_0x5312d9=_0x14cb91[_0x21bd03(0x173)],_0x19e0f7=_0x425ffd['algo'],_0x3c12f9=_0x19e0f7[_0x21bd03(0x39c)],_0x4b1126=_0x19e0f7['EvpKDF']=_0x1f9ba0[_0x21bd03(0x229)]({'cfg':_0x1f9ba0[_0x21bd03(0x229)]({'keySize':0x80/0x20,'hasher':_0x3c12f9,'iterations':0x1}),'init':function(_0x4b742c){var _0x106654=_0x21bd03;this['cfg']=this[_0x106654(0x217)][_0x106654(0x229)](_0x4b742c);},'compute':function(_0x2031a4,_0x5ea17d){var _0x3fb750=_0x21bd03;for(var _0x5e2237,_0x31d215=this[_0x3fb750(0x217)],_0x962e3c=_0x31d215['hasher']['create'](),_0x572f94=_0x5312d9[_0x3fb750(0x3a8)](),_0x1a58a6=_0x572f94[_0x3fb750(0x316)],_0x211168=_0x31d215[_0x3fb750(0x29d)],_0x3aa181=_0x31d215['iterations'];_0x1a58a6[_0x3fb750(0x407)]<_0x211168;){_0x5e2237&&_0x962e3c['update'](_0x5e2237),_0x5e2237=_0x962e3c[_0x3fb750(0x3f9)](_0x2031a4)[_0x3fb750(0x3be)](_0x5ea17d),_0x962e3c[_0x3fb750(0x13b)]();for(var _0x357324=0x1;_0x357324<_0x3aa181;_0x357324++)_0x5e2237=_0x962e3c[_0x3fb750(0x3be)](_0x5e2237),_0x962e3c['reset']();_0x572f94[_0x3fb750(0x348)](_0x5e2237);}return _0x572f94['sigBytes']=_0x211168*0x4,_0x572f94;}});_0x425ffd[_0x21bd03(0x42c)]=function(_0x58b528,_0x430bdc,_0x17edea){var _0x2d5091=_0x21bd03;return _0x4b1126['create'](_0x17edea)[_0x2d5091(0x2f4)](_0x58b528,_0x430bdc);};}()),_0x35e9b8[_0x5f1c3e(0x42c)];}));}(Ye)),Ye[_0x2b1b7d(0x3b5)];}var Je={'exports':{}},Nr=Je[_0x28b87b(0x3b5)],ni;function wi(){var _0x268cb7=_0x28b87b;return ni||(ni=0x1,function(_0x1d33bd,_0x397209){(function(_0xa1a755,_0x27ed29,_0x123ae7){var _0x368f42=_0x2643;_0x1d33bd[_0x368f42(0x3b5)]=_0x27ed29(ie(),Ui());}(Nr,function(_0x2e6a73){var _0x361390=_0x2643;_0x2e6a73[_0x361390(0x2bc)]['Cipher']||function(_0xa20f9a){var _0x3ad721=_0x361390,_0x2b1864=_0x2e6a73,_0x9fe2fd=_0x2b1864['lib'],_0x14cd0d=_0x9fe2fd[_0x3ad721(0x22f)],_0x5441f1=_0x9fe2fd[_0x3ad721(0x173)],_0x19405f=_0x9fe2fd[_0x3ad721(0x289)],_0x4b4c87=_0x2b1864['enc'];_0x4b4c87[_0x3ad721(0x1a7)];var _0x19feba=_0x4b4c87[_0x3ad721(0x334)],_0x106504=_0x2b1864[_0x3ad721(0x1c3)],_0x2b99d7=_0x106504[_0x3ad721(0x42c)],_0x36e15d=_0x9fe2fd['Cipher']=_0x19405f[_0x3ad721(0x229)]({'cfg':_0x14cd0d[_0x3ad721(0x229)](),'createEncryptor':function(_0x1f19ca,_0x2f89f5){var _0x4548ef=_0x3ad721;return this['create'](this[_0x4548ef(0x20b)],_0x1f19ca,_0x2f89f5);},'createDecryptor':function(_0x320f8d,_0x14ead4){var _0x5c1e8f=_0x3ad721;return this[_0x5c1e8f(0x3a8)](this['_DEC_XFORM_MODE'],_0x320f8d,_0x14ead4);},'init':function(_0x84159d,_0xee6cab,_0x15f4b6){var _0x894a3d=_0x3ad721;this[_0x894a3d(0x217)]=this['cfg'][_0x894a3d(0x229)](_0x15f4b6),this[_0x894a3d(0x139)]=_0x84159d,this[_0x894a3d(0x157)]=_0xee6cab,this[_0x894a3d(0x13b)]();},'reset':function(){var _0x98c1d1=_0x3ad721;_0x19405f[_0x98c1d1(0x13b)][_0x98c1d1(0x3a7)](this),this[_0x98c1d1(0x3d3)]();},'process':function(_0x308df2){var _0xed1014=_0x3ad721;return this[_0xed1014(0x435)](_0x308df2),this['_process']();},'finalize':function(_0x1153ca){var _0x8fd82=_0x3ad721;_0x1153ca&&this['_append'](_0x1153ca);var _0x2c11ef=this[_0x8fd82(0x182)]();return _0x2c11ef;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xdaebc8(_0x17c4ef){var _0x9f2b0c=_0x2643;return typeof _0x17c4ef==_0x9f2b0c(0x14b)?_0x2f6793:_0x94c00a;}return function(_0x71a7f5){return{'encrypt':function(_0x28184d,_0x5990f2,_0x453cea){var _0x8fcfe5=_0x2643;return _0xdaebc8(_0x5990f2)[_0x8fcfe5(0x200)](_0x71a7f5,_0x28184d,_0x5990f2,_0x453cea);},'decrypt':function(_0x318f82,_0x2e4560,_0x41acc7){var _0x4511a3=_0x2643;return _0xdaebc8(_0x2e4560)[_0x4511a3(0x1f5)](_0x71a7f5,_0x318f82,_0x2e4560,_0x41acc7);}};};}())});_0x9fe2fd[_0x3ad721(0x3fc)]=_0x36e15d[_0x3ad721(0x229)]({'_doFinalize':function(){var _0x5f2b8f=_0x3ad721,_0x5b9317=this[_0x5f2b8f(0x245)](!0x0);return _0x5b9317;},'blockSize':0x1});var _0x44ccff=_0x2b1864['mode']={},_0x1c56aa=_0x9fe2fd['BlockCipherMode']=_0x14cd0d['extend']({'createEncryptor':function(_0x1ed57e,_0x4c2589){var _0x59c5e5=_0x3ad721;return this['Encryptor'][_0x59c5e5(0x3a8)](_0x1ed57e,_0x4c2589);},'createDecryptor':function(_0x15ab57,_0x4b0633){var _0x3be55e=_0x3ad721;return this[_0x3be55e(0x410)][_0x3be55e(0x3a8)](_0x15ab57,_0x4b0633);},'init':function(_0x395d5b,_0x560a6c){var _0x21ea35=_0x3ad721;this['_cipher']=_0x395d5b,this[_0x21ea35(0x253)]=_0x560a6c;}}),_0x38e5a8=_0x44ccff[_0x3ad721(0x31d)]=(function(){var _0x28354b=_0x3ad721,_0xf1f613=_0x1c56aa['extend']();_0xf1f613[_0x28354b(0x169)]=_0xf1f613[_0x28354b(0x229)]({'processBlock':function(_0x2da5bd,_0x32d103){var _0x471eae=_0x28354b,_0x15daa5=this[_0x471eae(0x269)],_0x3a556e=_0x15daa5[_0x471eae(0x419)];_0x3662d7['call'](this,_0x2da5bd,_0x32d103,_0x3a556e),_0x15daa5['encryptBlock'](_0x2da5bd,_0x32d103),this[_0x471eae(0x179)]=_0x2da5bd[_0x471eae(0x2bb)](_0x32d103,_0x32d103+_0x3a556e);}}),_0xf1f613['Decryptor']=_0xf1f613[_0x28354b(0x229)]({'processBlock':function(_0x4bd09a,_0x4ccc90){var _0x3a45e5=_0x28354b,_0x14f15f=this[_0x3a45e5(0x269)],_0x1cb3e5=_0x14f15f['blockSize'],_0x125ffc=_0x4bd09a[_0x3a45e5(0x2bb)](_0x4ccc90,_0x4ccc90+_0x1cb3e5);_0x14f15f[_0x3a45e5(0x3e3)](_0x4bd09a,_0x4ccc90),_0x3662d7['call'](this,_0x4bd09a,_0x4ccc90,_0x1cb3e5),this[_0x3a45e5(0x179)]=_0x125ffc;}});function _0x3662d7(_0x94c382,_0x175161,_0x5c5cec){var _0x2be765=_0x28354b,_0x14bd75,_0x30f6cb=this[_0x2be765(0x253)];_0x30f6cb?(_0x14bd75=_0x30f6cb,this[_0x2be765(0x253)]=_0xa20f9a):_0x14bd75=this[_0x2be765(0x179)];for(var _0x12c310=0x0;_0x12c310<_0x5c5cec;_0x12c310++)_0x94c382[_0x175161+_0x12c310]^=_0x14bd75[_0x12c310];}return _0xf1f613;}()),_0x2fc101=_0x2b1864['pad']={},_0x11afac=_0x2fc101['Pkcs7']={'pad':function(_0x33e6c0,_0x2c33cc){var _0x20b45e=_0x3ad721;for(var _0x55c084=_0x2c33cc*0x4,_0x77eba5=_0x55c084-_0x33e6c0[_0x20b45e(0x3f4)]%_0x55c084,_0x3100ab=_0x77eba5<<0x18|_0x77eba5<<0x10|_0x77eba5<<0x8|_0x77eba5,_0x253f3e=[],_0x3c768d=0x0;_0x3c768d<_0x77eba5;_0x3c768d+=0x4)_0x253f3e[_0x20b45e(0x40f)](_0x3100ab);var _0x14f5d1=_0x5441f1[_0x20b45e(0x3a8)](_0x253f3e,_0x77eba5);_0x33e6c0[_0x20b45e(0x348)](_0x14f5d1);},'unpad':function(_0x4faed8){var _0xdba358=_0x3ad721,_0x1796df=_0x4faed8[_0xdba358(0x316)][_0x4faed8[_0xdba358(0x3f4)]-0x1>>>0x2]&0xff;_0x4faed8[_0xdba358(0x3f4)]-=_0x1796df;}};_0x9fe2fd['BlockCipher']=_0x36e15d[_0x3ad721(0x229)]({'cfg':_0x36e15d[_0x3ad721(0x217)][_0x3ad721(0x229)]({'mode':_0x38e5a8,'padding':_0x11afac}),'reset':function(){var _0x193f52=_0x3ad721,_0x15bf3a;_0x36e15d[_0x193f52(0x13b)][_0x193f52(0x3a7)](this);var _0x484b2c=this[_0x193f52(0x217)],_0xfd973c=_0x484b2c['iv'],_0x32f81b=_0x484b2c[_0x193f52(0x22a)];this[_0x193f52(0x139)]==this[_0x193f52(0x20b)]?_0x15bf3a=_0x32f81b[_0x193f52(0x300)]:(_0x15bf3a=_0x32f81b[_0x193f52(0x230)],this[_0x193f52(0x399)]=0x1),this['_mode']&&this[_0x193f52(0x339)][_0x193f52(0x39e)]==_0x15bf3a?this[_0x193f52(0x339)][_0x193f52(0x1d4)](this,_0xfd973c&&_0xfd973c[_0x193f52(0x316)]):(this[_0x193f52(0x339)]=_0x15bf3a[_0x193f52(0x3a7)](_0x32f81b,this,_0xfd973c&&_0xfd973c[_0x193f52(0x316)]),this['_mode']['__creator']=_0x15bf3a);},'_doProcessBlock':function(_0x4a694b,_0x358d15){var _0x456cbd=_0x3ad721;this['_mode'][_0x456cbd(0x31b)](_0x4a694b,_0x358d15);},'_doFinalize':function(){var _0x3f21ad=_0x3ad721,_0x3f5ac8,_0x80a582=this['cfg']['padding'];return this[_0x3f21ad(0x139)]==this[_0x3f21ad(0x20b)]?(_0x80a582[_0x3f21ad(0x3dc)](this[_0x3f21ad(0x3d2)],this[_0x3f21ad(0x419)]),_0x3f5ac8=this[_0x3f21ad(0x245)](!0x0)):(_0x3f5ac8=this[_0x3f21ad(0x245)](!0x0),_0x80a582[_0x3f21ad(0x1fd)](_0x3f5ac8)),_0x3f5ac8;},'blockSize':0x80/0x20});var _0x2f6e13=_0x9fe2fd[_0x3ad721(0x41b)]=_0x14cd0d['extend']({'init':function(_0x173add){var _0x280b94=_0x3ad721;this[_0x280b94(0x29a)](_0x173add);},'toString':function(_0x47807a){var _0x28efe3=_0x3ad721;return(_0x47807a||this[_0x28efe3(0x3b6)])[_0x28efe3(0x15b)](this);}}),_0x2d3566=_0x2b1864[_0x3ad721(0x202)]={},_0x1cdc92=_0x2d3566['OpenSSL']={'stringify':function(_0x57efec){var _0x523529=_0x3ad721,_0x1b59b1,_0x2c1450=_0x57efec[_0x523529(0x1a9)],_0x7fcae0=_0x57efec[_0x523529(0x167)];return _0x7fcae0?_0x1b59b1=_0x5441f1['create']([0x53616c74,0x65645f5f])[_0x523529(0x348)](_0x7fcae0)[_0x523529(0x348)](_0x2c1450):_0x1b59b1=_0x2c1450,_0x1b59b1[_0x523529(0x177)](_0x19feba);},'parse':function(_0x258fbd){var _0xdd39b3=_0x3ad721,_0x306190,_0x38e60a=_0x19feba[_0xdd39b3(0x2fd)](_0x258fbd),_0x15e811=_0x38e60a[_0xdd39b3(0x316)];return _0x15e811[0x0]==0x53616c74&&_0x15e811[0x1]==0x65645f5f&&(_0x306190=_0x5441f1[_0xdd39b3(0x3a8)](_0x15e811['slice'](0x2,0x4)),_0x15e811['splice'](0x0,0x4),_0x38e60a[_0xdd39b3(0x3f4)]-=0x10),_0x2f6e13[_0xdd39b3(0x3a8)]({'ciphertext':_0x38e60a,'salt':_0x306190});}},_0x94c00a=_0x9fe2fd[_0x3ad721(0x3f1)]=_0x14cd0d[_0x3ad721(0x229)]({'cfg':_0x14cd0d[_0x3ad721(0x229)]({'format':_0x1cdc92}),'encrypt':function(_0x4528db,_0x1c9cbd,_0x4dd517,_0x51b71e){var _0x10b9be=_0x3ad721;_0x51b71e=this[_0x10b9be(0x217)][_0x10b9be(0x229)](_0x51b71e);var _0x44779d=_0x4528db[_0x10b9be(0x300)](_0x4dd517,_0x51b71e),_0x5de10e=_0x44779d[_0x10b9be(0x3be)](_0x1c9cbd),_0x265d52=_0x44779d['cfg'];return _0x2f6e13['create']({'ciphertext':_0x5de10e,'key':_0x4dd517,'iv':_0x265d52['iv'],'algorithm':_0x4528db,'mode':_0x265d52[_0x10b9be(0x22a)],'padding':_0x265d52[_0x10b9be(0x321)],'blockSize':_0x4528db['blockSize'],'formatter':_0x51b71e[_0x10b9be(0x202)]});},'decrypt':function(_0x54559c,_0x4645d1,_0x3252a5,_0xa3b27e){var _0x3c20b6=_0x3ad721;_0xa3b27e=this[_0x3c20b6(0x217)][_0x3c20b6(0x229)](_0xa3b27e),_0x4645d1=this[_0x3c20b6(0x352)](_0x4645d1,_0xa3b27e[_0x3c20b6(0x202)]);var _0x730ae=_0x54559c[_0x3c20b6(0x230)](_0x3252a5,_0xa3b27e)['finalize'](_0x4645d1['ciphertext']);return _0x730ae;},'_parse':function(_0x3fcfc3,_0x1ebaa4){var _0x221132=_0x3ad721;return typeof _0x3fcfc3==_0x221132(0x14b)?_0x1ebaa4['parse'](_0x3fcfc3,this):_0x3fcfc3;}}),_0x17ba7a=_0x2b1864[_0x3ad721(0x175)]={},_0x540000=_0x17ba7a[_0x3ad721(0x3c2)]={'execute':function(_0x412cee,_0xf5e7a7,_0x2bb04d,_0x4e84c9,_0x327956){var _0x31c836=_0x3ad721;if(_0x4e84c9||(_0x4e84c9=_0x5441f1[_0x31c836(0x2c9)](0x40/0x8)),_0x327956)var _0x4712db=_0x2b99d7[_0x31c836(0x3a8)]({'keySize':_0xf5e7a7+_0x2bb04d,'hasher':_0x327956})[_0x31c836(0x2f4)](_0x412cee,_0x4e84c9);else var _0x4712db=_0x2b99d7['create']({'keySize':_0xf5e7a7+_0x2bb04d})[_0x31c836(0x2f4)](_0x412cee,_0x4e84c9);var _0x9af6ad=_0x5441f1['create'](_0x4712db[_0x31c836(0x316)][_0x31c836(0x2bb)](_0xf5e7a7),_0x2bb04d*0x4);return _0x4712db[_0x31c836(0x3f4)]=_0xf5e7a7*0x4,_0x2f6e13[_0x31c836(0x3a8)]({'key':_0x4712db,'iv':_0x9af6ad,'salt':_0x4e84c9});}},_0x2f6793=_0x9fe2fd['PasswordBasedCipher']=_0x94c00a[_0x3ad721(0x229)]({'cfg':_0x94c00a['cfg'][_0x3ad721(0x229)]({'kdf':_0x540000}),'encrypt':function(_0x58db3f,_0x3f06b0,_0x1720c6,_0x59fb2c){var _0xc1e3a5=_0x3ad721;_0x59fb2c=this[_0xc1e3a5(0x217)][_0xc1e3a5(0x229)](_0x59fb2c);var _0x2cf759=_0x59fb2c[_0xc1e3a5(0x175)][_0xc1e3a5(0x1d6)](_0x1720c6,_0x58db3f[_0xc1e3a5(0x29d)],_0x58db3f['ivSize'],_0x59fb2c[_0xc1e3a5(0x167)],_0x59fb2c[_0xc1e3a5(0x1c2)]);_0x59fb2c['iv']=_0x2cf759['iv'];var _0x117256=_0x94c00a[_0xc1e3a5(0x200)][_0xc1e3a5(0x3a7)](this,_0x58db3f,_0x3f06b0,_0x2cf759['key'],_0x59fb2c);return _0x117256[_0xc1e3a5(0x29a)](_0x2cf759),_0x117256;},'decrypt':function(_0x547d12,_0x40e0c8,_0x4652ca,_0x1a9e62){var _0x236917=_0x3ad721;_0x1a9e62=this['cfg']['extend'](_0x1a9e62),_0x40e0c8=this[_0x236917(0x352)](_0x40e0c8,_0x1a9e62['format']);var _0x2c1a5c=_0x1a9e62['kdf'][_0x236917(0x1d6)](_0x4652ca,_0x547d12[_0x236917(0x29d)],_0x547d12[_0x236917(0x37a)],_0x40e0c8[_0x236917(0x167)],_0x1a9e62['hasher']);_0x1a9e62['iv']=_0x2c1a5c['iv'];var _0x5162d4=_0x94c00a[_0x236917(0x1f5)][_0x236917(0x3a7)](this,_0x547d12,_0x40e0c8,_0x2c1a5c[_0x236917(0x3b8)],_0x1a9e62);return _0x5162d4;}});}();}));}(Je)),Je[_0x268cb7(0x3b5)];}var Dr=Ve[_0x28b87b(0x3b5)],ri;function Ur(){var _0x1178cc=_0x28b87b;return ri||(ri=0x1,function(_0x1b40fa,_0x1ef18f){(function(_0x44c5db,_0x30c45b,_0x342536){var _0x5b4a0f=_0x2643;_0x1b40fa[_0x5b4a0f(0x3b5)]=_0x30c45b(ie(),Di(),Tr(),Ui(),wi());}(Dr,function(_0x3f482f){var _0x429931=_0x2643;return(function(){var _0x20e194=_0x2643,_0x1ad987=_0x3f482f,_0x4648e=_0x1ad987[_0x20e194(0x2bc)],_0x5cb981=_0x4648e[_0x20e194(0x318)],_0x7922bd=_0x1ad987[_0x20e194(0x1c3)],_0x2f2984=[],_0x4196ed=[],_0xe327c0=[],_0x530fd8=[],_0x90fe73=[],_0x1c270d=[],_0x146d2e=[],_0x3394ce=[],_0x5c2c8d=[],_0x5ccaad=[];(function(){for(var _0x20762b=[],_0x4c9f61=0x0;_0x4c9f61<0x100;_0x4c9f61++)_0x4c9f61<0x80?_0x20762b[_0x4c9f61]=_0x4c9f61<<0x1:_0x20762b[_0x4c9f61]=_0x4c9f61<<0x1^0x11b;for(var _0x2f2e96=0x0,_0xb6e9ae=0x0,_0x4c9f61=0x0;_0x4c9f61<0x100;_0x4c9f61++){var _0x5586de=_0xb6e9ae^_0xb6e9ae<<0x1^_0xb6e9ae<<0x2^_0xb6e9ae<<0x3^_0xb6e9ae<<0x4;_0x5586de=_0x5586de>>>0x8^_0x5586de&0xff^0x63,_0x2f2984[_0x2f2e96]=_0x5586de,_0x4196ed[_0x5586de]=_0x2f2e96;var _0x249232=_0x20762b[_0x2f2e96],_0x109fb5=_0x20762b[_0x249232],_0x25aecf=_0x20762b[_0x109fb5],_0x5ea3a4=_0x20762b[_0x5586de]*0x101^_0x5586de*0x1010100;_0xe327c0[_0x2f2e96]=_0x5ea3a4<<0x18|_0x5ea3a4>>>0x8,_0x530fd8[_0x2f2e96]=_0x5ea3a4<<0x10|_0x5ea3a4>>>0x10,_0x90fe73[_0x2f2e96]=_0x5ea3a4<<0x8|_0x5ea3a4>>>0x18,_0x1c270d[_0x2f2e96]=_0x5ea3a4;var _0x5ea3a4=_0x25aecf*0x1010101^_0x109fb5*0x10001^_0x249232*0x101^_0x2f2e96*0x1010100;_0x146d2e[_0x5586de]=_0x5ea3a4<<0x18|_0x5ea3a4>>>0x8,_0x3394ce[_0x5586de]=_0x5ea3a4<<0x10|_0x5ea3a4>>>0x10,_0x5c2c8d[_0x5586de]=_0x5ea3a4<<0x8|_0x5ea3a4>>>0x18,_0x5ccaad[_0x5586de]=_0x5ea3a4,_0x2f2e96?(_0x2f2e96=_0x249232^_0x20762b[_0x20762b[_0x20762b[_0x25aecf^_0x249232]]],_0xb6e9ae^=_0x20762b[_0x20762b[_0xb6e9ae]]):_0x2f2e96=_0xb6e9ae=0x1;}}());var _0xcaaa9f=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x40d1cc=_0x7922bd[_0x20e194(0x3a9)]=_0x5cb981[_0x20e194(0x229)]({'_doReset':function(){var _0x31391e=_0x20e194,_0x14428b;if(!(this['_nRounds']&&this[_0x31391e(0x290)]===this[_0x31391e(0x157)])){for(var _0x445057=this[_0x31391e(0x290)]=this[_0x31391e(0x157)],_0x1db0c3=_0x445057[_0x31391e(0x316)],_0x5d755b=_0x445057[_0x31391e(0x3f4)]/0x4,_0xd9b9af=this[_0x31391e(0x17c)]=_0x5d755b+0x6,_0x1514e6=(_0xd9b9af+0x1)*0x4,_0x14d299=this['_keySchedule']=[],_0x26b670=0x0;_0x26b670<_0x1514e6;_0x26b670++)_0x26b670<_0x5d755b?_0x14d299[_0x26b670]=_0x1db0c3[_0x26b670]:(_0x14428b=_0x14d299[_0x26b670-0x1],_0x26b670%_0x5d755b?_0x5d755b>0x6&&_0x26b670%_0x5d755b==0x4&&(_0x14428b=_0x2f2984[_0x14428b>>>0x18]<<0x18|_0x2f2984[_0x14428b>>>0x10&0xff]<<0x10|_0x2f2984[_0x14428b>>>0x8&0xff]<<0x8|_0x2f2984[_0x14428b&0xff]):(_0x14428b=_0x14428b<<0x8|_0x14428b>>>0x18,_0x14428b=_0x2f2984[_0x14428b>>>0x18]<<0x18|_0x2f2984[_0x14428b>>>0x10&0xff]<<0x10|_0x2f2984[_0x14428b>>>0x8&0xff]<<0x8|_0x2f2984[_0x14428b&0xff],_0x14428b^=_0xcaaa9f[_0x26b670/_0x5d755b|0x0]<<0x18),_0x14d299[_0x26b670]=_0x14d299[_0x26b670-_0x5d755b]^_0x14428b);for(var _0x39990e=this['_invKeySchedule']=[],_0x12923f=0x0;_0x12923f<_0x1514e6;_0x12923f++){var _0x26b670=_0x1514e6-_0x12923f;if(_0x12923f%0x4)var _0x14428b=_0x14d299[_0x26b670];else var _0x14428b=_0x14d299[_0x26b670-0x4];_0x12923f<0x4||_0x26b670<=0x4?_0x39990e[_0x12923f]=_0x14428b:_0x39990e[_0x12923f]=_0x146d2e[_0x2f2984[_0x14428b>>>0x18]]^_0x3394ce[_0x2f2984[_0x14428b>>>0x10&0xff]]^_0x5c2c8d[_0x2f2984[_0x14428b>>>0x8&0xff]]^_0x5ccaad[_0x2f2984[_0x14428b&0xff]];}}},'encryptBlock':function(_0x16d664,_0x1ad244){var _0x1bb4ac=_0x20e194;this['_doCryptBlock'](_0x16d664,_0x1ad244,this[_0x1bb4ac(0x19f)],_0xe327c0,_0x530fd8,_0x90fe73,_0x1c270d,_0x2f2984);},'decryptBlock':function(_0x1f087d,_0x7900ce){var _0xa3f75f=_0x20e194,_0x513d5f=_0x1f087d[_0x7900ce+0x1];_0x1f087d[_0x7900ce+0x1]=_0x1f087d[_0x7900ce+0x3],_0x1f087d[_0x7900ce+0x3]=_0x513d5f,this['_doCryptBlock'](_0x1f087d,_0x7900ce,this[_0xa3f75f(0x37e)],_0x146d2e,_0x3394ce,_0x5c2c8d,_0x5ccaad,_0x4196ed);var _0x513d5f=_0x1f087d[_0x7900ce+0x1];_0x1f087d[_0x7900ce+0x1]=_0x1f087d[_0x7900ce+0x3],_0x1f087d[_0x7900ce+0x3]=_0x513d5f;},'_doCryptBlock':function(_0x192992,_0xc0eb73,_0x42f798,_0x28e3bb,_0xc2248f,_0x2c0ef0,_0x250c3e,_0x52229c){var _0x3ed948=_0x20e194;for(var _0x59b49c=this[_0x3ed948(0x17c)],_0x5d56c7=_0x192992[_0xc0eb73]^_0x42f798[0x0],_0x5e2796=_0x192992[_0xc0eb73+0x1]^_0x42f798[0x1],_0x4848ec=_0x192992[_0xc0eb73+0x2]^_0x42f798[0x2],_0x3a16e1=_0x192992[_0xc0eb73+0x3]^_0x42f798[0x3],_0x46874=0x4,_0x34d9a9=0x1;_0x34d9a9<_0x59b49c;_0x34d9a9++){var _0x2b3ad7=_0x28e3bb[_0x5d56c7>>>0x18]^_0xc2248f[_0x5e2796>>>0x10&0xff]^_0x2c0ef0[_0x4848ec>>>0x8&0xff]^_0x250c3e[_0x3a16e1&0xff]^_0x42f798[_0x46874++],_0x37a9f=_0x28e3bb[_0x5e2796>>>0x18]^_0xc2248f[_0x4848ec>>>0x10&0xff]^_0x2c0ef0[_0x3a16e1>>>0x8&0xff]^_0x250c3e[_0x5d56c7&0xff]^_0x42f798[_0x46874++],_0x458a3e=_0x28e3bb[_0x4848ec>>>0x18]^_0xc2248f[_0x3a16e1>>>0x10&0xff]^_0x2c0ef0[_0x5d56c7>>>0x8&0xff]^_0x250c3e[_0x5e2796&0xff]^_0x42f798[_0x46874++],_0xf5565f=_0x28e3bb[_0x3a16e1>>>0x18]^_0xc2248f[_0x5d56c7>>>0x10&0xff]^_0x2c0ef0[_0x5e2796>>>0x8&0xff]^_0x250c3e[_0x4848ec&0xff]^_0x42f798[_0x46874++];_0x5d56c7=_0x2b3ad7,_0x5e2796=_0x37a9f,_0x4848ec=_0x458a3e,_0x3a16e1=_0xf5565f;}var _0x2b3ad7=(_0x52229c[_0x5d56c7>>>0x18]<<0x18|_0x52229c[_0x5e2796>>>0x10&0xff]<<0x10|_0x52229c[_0x4848ec>>>0x8&0xff]<<0x8|_0x52229c[_0x3a16e1&0xff])^_0x42f798[_0x46874++],_0x37a9f=(_0x52229c[_0x5e2796>>>0x18]<<0x18|_0x52229c[_0x4848ec>>>0x10&0xff]<<0x10|_0x52229c[_0x3a16e1>>>0x8&0xff]<<0x8|_0x52229c[_0x5d56c7&0xff])^_0x42f798[_0x46874++],_0x458a3e=(_0x52229c[_0x4848ec>>>0x18]<<0x18|_0x52229c[_0x3a16e1>>>0x10&0xff]<<0x10|_0x52229c[_0x5d56c7>>>0x8&0xff]<<0x8|_0x52229c[_0x5e2796&0xff])^_0x42f798[_0x46874++],_0xf5565f=(_0x52229c[_0x3a16e1>>>0x18]<<0x18|_0x52229c[_0x5d56c7>>>0x10&0xff]<<0x10|_0x52229c[_0x5e2796>>>0x8&0xff]<<0x8|_0x52229c[_0x4848ec&0xff])^_0x42f798[_0x46874++];_0x192992[_0xc0eb73]=_0x2b3ad7,_0x192992[_0xc0eb73+0x1]=_0x37a9f,_0x192992[_0xc0eb73+0x2]=_0x458a3e,_0x192992[_0xc0eb73+0x3]=_0xf5565f;},'keySize':0x100/0x20});_0x1ad987[_0x20e194(0x3a9)]=_0x5cb981[_0x20e194(0x41c)](_0x40d1cc);}()),_0x3f482f[_0x429931(0x3a9)];}));}(Ve)),Ve[_0x1178cc(0x3b5)];}var wr=Ur();const Ar=He(wr);var Pr=Di();const si=He(Pr);var Xe={'exports':{}},xr=Xe['exports'],ai;function Lr(){var _0x483665=_0x28b87b;return ai||(ai=0x1,function(_0x22d20e,_0x44995b){(function(_0x1d438b,_0x401b82){var _0x123aaa=_0x2643;_0x22d20e[_0x123aaa(0x3b5)]=_0x401b82(ie());}(xr,function(_0x56cd7c){var _0x278dae=_0x2643;return _0x56cd7c[_0x278dae(0x1c5)][_0x278dae(0x1a7)];}));}(Xe)),Xe[_0x483665(0x3b5)];}var Mr=Lr();const kr=He(Mr);var Ze={'exports':{}},$r=Ze[_0x28b87b(0x3b5)],oi;function Hr(){var _0x3c47c0=_0x28b87b;return oi||(oi=0x1,function(_0x559864,_0x44e589){(function(_0x1ee0de,_0x2518ac){var _0x9f64a4=_0x2643;_0x559864[_0x9f64a4(0x3b5)]=_0x2518ac(ie());}($r,function(_0x487acd){var _0x5f240e=_0x2643;return(function(){var _0x34ec96=_0x2643;if(typeof ArrayBuffer=='function'){var _0x584822=_0x487acd,_0x380696=_0x584822[_0x34ec96(0x2bc)],_0x420d58=_0x380696['WordArray'],_0x27f1ed=_0x420d58['init'],_0xb2cef=_0x420d58['init']=function(_0x382c7f){var _0xa62039=_0x34ec96;if(_0x382c7f instanceof ArrayBuffer&&(_0x382c7f=new Uint8Array(_0x382c7f)),(_0x382c7f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x382c7f instanceof Uint8ClampedArray||_0x382c7f instanceof Int16Array||_0x382c7f instanceof Uint16Array||_0x382c7f instanceof Int32Array||_0x382c7f instanceof Uint32Array||_0x382c7f instanceof Float32Array||_0x382c7f instanceof Float64Array)&&(_0x382c7f=new Uint8Array(_0x382c7f[_0xa62039(0x386)],_0x382c7f[_0xa62039(0x211)],_0x382c7f[_0xa62039(0x3c8)])),_0x382c7f instanceof Uint8Array){for(var _0x27fb57=_0x382c7f[_0xa62039(0x3c8)],_0x5054e4=[],_0x57e394=0x0;_0x57e394<_0x27fb57;_0x57e394++)_0x5054e4[_0x57e394>>>0x2]|=_0x382c7f[_0x57e394]<<0x18-_0x57e394%0x4*0x8;_0x27f1ed[_0xa62039(0x3a7)](this,_0x5054e4,_0x27fb57);}else _0x27f1ed[_0xa62039(0x3b4)](this,arguments);};_0xb2cef[_0x34ec96(0x376)]=_0x420d58;}}()),_0x487acd[_0x5f240e(0x2bc)][_0x5f240e(0x173)];}));}(Ze)),Ze[_0x3c47c0(0x3b5)];}var Br=Hr();const jr=He(Br);var Qe={'exports':{}},Fr=Qe[_0x28b87b(0x3b5)],ci;function Vr(){var _0x3100a5=_0x28b87b;return ci||(ci=0x1,function(_0x57bf6b,_0x348453){(function(_0x828424,_0xf61492,_0x53f950){_0x57bf6b['exports']=_0xf61492(ie(),wi());}(Fr,function(_0x5bcf69){var _0x38a51c=_0x2643;return _0x5bcf69[_0x38a51c(0x3dc)][_0x38a51c(0x1ea)]={'pad':function(){},'unpad':function(){}},_0x5bcf69[_0x38a51c(0x3dc)][_0x38a51c(0x1ea)];}));}(Qe)),Qe[_0x3100a5(0x3b5)];}var Gr=Vr();const Wr=He(Gr);function Kr(_0x1a4246,_0x43a428){var _0x336148=_0x28b87b;const _0x176ecd=_0x43a428-_0x1a4246[_0x336148(0x407)]%_0x43a428,_0x4d6014=String[_0x336148(0x266)](_0x176ecd)[_0x336148(0x1fa)](_0x176ecd);return _0x1a4246+_0x4d6014;}function Yr(_0x311b2b,_0x4e9254){var _0xdb0164=_0x28b87b;const _0x4a0a59=jr[_0xdb0164(0x2c9)](0x10),_0x381ad3=Kr(_0x311b2b,0x10),_0x2328ad=Ar['encrypt'](kr[_0xdb0164(0x2fd)](_0x381ad3),si[_0xdb0164(0x2fd)](_0x4e9254),{'iv':_0x4a0a59,'padding':Wr});return _0x4a0a59['concat'](_0x2328ad[_0xdb0164(0x1a9)])[_0xdb0164(0x177)](si);}function qr(){var _0x5533fd=_0x28b87b;const _0x5f4fc0=_0x30136d()['__Key__'];if(_0x5f4fc0){const _0x3ec47c={'time':Math[_0x5533fd(0x149)](Date[_0x5533fd(0x194)]()/0x3e8),'domain':location[_0x5533fd(0x436)]};return Yr(JSON[_0x5533fd(0x15b)](_0x3ec47c),_0x5f4fc0);}}var zr=Object['getOwnPropertyDescriptor'],Jr=(_0x27192c,_0x574c8c,_0x195728,_0x107e90)=>{for(var _0x5d0495=_0x107e90>0x1?void 0x0:_0x107e90?zr(_0x574c8c,_0x195728):_0x574c8c,_0x4e3f5b=_0x27192c['length']-0x1,_0x3f285e;_0x4e3f5b>=0x0;_0x4e3f5b--)(_0x3f285e=_0x27192c[_0x4e3f5b])&&(_0x5d0495=_0x3f285e(_0x5d0495)||_0x5d0495);return _0x5d0495;},Xr=(_0x27825f,_0x2af152)=>(_0x551f4f,_0x1c9b86)=>_0x2af152(_0x551f4f,_0x1c9b86,_0x27825f);let at=class{constructor(_0x2be390){var _0x60a44a=_0x28b87b;this[_0x60a44a(0x3da)]=_0x2be390,this[_0x60a44a(0x271)]();}[_0x28b87b(0x271)](){var _0x3cb15b=_0x28b87b;this['_httpService'][_0x3cb15b(0x424)]({'interceptor':(_0x214e41,_0x1fb090)=>{var _0x20bebf=_0x3cb15b;const _0x469926=_0x214e41[_0x20bebf(0x36c)],_0x45b9b6=qr();return _0x45b9b6&&_0x469926['set'](_0x20bebf(0x2e6),_0x45b9b6),_0x1fb090(_0x214e41);}});}};at=Jr([Xr(0x0,_0x170ace(_0x343475))],at);var Zr=Object[_0x28b87b(0x28a)],Qr=(_0x25a88d,_0x7274c8,_0x129771,_0x42dc7c)=>{var _0x162761=_0x28b87b;for(var _0xf5e293=_0x42dc7c>0x1?void 0x0:_0x42dc7c?Zr(_0x7274c8,_0x129771):_0x7274c8,_0x326e6d=_0x25a88d[_0x162761(0x407)]-0x1,_0x5a1a16;_0x326e6d>=0x0;_0x326e6d--)(_0x5a1a16=_0x25a88d[_0x326e6d])&&(_0xf5e293=_0x5a1a16(_0xf5e293)||_0xf5e293);return _0xf5e293;},mt=(_0x44d77c,_0x328cef)=>(_0x5e578a,_0x1a594c)=>_0x328cef(_0x5e578a,_0x1a594c,_0x44d77c);let bt=class extends _0x32442f{constructor(_0x10d6fd,_0x4d97cf,_0x15ff77){var _0x223e53=_0x28b87b;super(),N(this,_0x223e53(0x3ef),new _0x1a110e(null)),N(this,_0x223e53(0x347),this[_0x223e53(0x3ef)][_0x223e53(0x3d1)]()),(this[_0x223e53(0x170)]=_0x10d6fd,this[_0x223e53(0x37f)]=_0x4d97cf,this['_localCacheService']=_0x15ff77);}async[_0x28b87b(0x22c)](_0x11938a,_0x3090f8,_0x34eee6){var _0x37c0e9=_0x28b87b;this[_0x37c0e9(0x3ef)][_0x37c0e9(0x36e)]({'unitId':_0x11938a,'type':_0x3090f8,'subUnitId':_0x34eee6});let _0x21b816=null;switch(_0x3090f8){case Q[_0x37c0e9(0x41e)]:{_0x21b816=await this[_0x37c0e9(0x234)](_0x11938a);break;}case Q[_0x37c0e9(0x159)]:{_0x21b816=await this[_0x37c0e9(0x208)](_0x11938a);break;}default:{this[_0x37c0e9(0x170)][_0x37c0e9(0x3ea)]('[DataLoaderService]',_0x37c0e9(0x33b));break;}}return _0x21b816;}async[_0x28b87b(0x234)](_0x5a5d4d){var _0x492dad=_0x28b87b,_0x3e8204;let _0x3787c9=0x0;const _0x15c810=await((_0x3e8204=this['_localCacheService'])==null?void 0x0:_0x3e8204[_0x492dad(0x2eb)](_0x5a5d4d));return _0x15c810&&(_0x15c810['awaitingChangeset']||_0x15c810[_0x492dad(0x387)]['length']!==0x0)&&(_0x3787c9=_0x15c810[_0x492dad(0x1dc)]),_0x3787c9===0x0&&this[_0x492dad(0x170)][_0x492dad(0x265)](_0x492dad(0x406),_0x492dad(0x30f)),this['_snapshotService'][_0x492dad(0x19c)](_0x5a5d4d,_0x3787c9);}async[_0x28b87b(0x208)](_0x612391){var _0x514151=_0x28b87b,_0x24cdc2;let _0x89edea=0x0;const _0x5e0f52=await((_0x24cdc2=this['_localCacheService'])==null?void 0x0:_0x24cdc2[_0x514151(0x2eb)](_0x612391));return _0x5e0f52&&(_0x5e0f52[_0x514151(0x36d)]||_0x5e0f52[_0x514151(0x387)][_0x514151(0x407)]!==0x0)&&(_0x89edea=_0x5e0f52[_0x514151(0x1dc)]),_0x89edea===0x0&&this[_0x514151(0x170)][_0x514151(0x265)](_0x514151(0x406),_0x514151(0x30f)),this[_0x514151(0x37f)][_0x514151(0x15f)](_0x612391,_0x89edea);}};bt=Qr([mt(0x0,_0x1e7fcd),mt(0x1,_0x170ace(_0x1cc94f)),mt(0x2,_0x3adee5(J))],bt);var es=Object[_0x28b87b(0x28a)],ts=(_0x4ee5c5,_0x157d36,_0x3cfb6e,_0x30179d)=>{var _0x3b91f3=_0x28b87b;for(var _0x29e485=_0x30179d>0x1?void 0x0:_0x30179d?es(_0x157d36,_0x3cfb6e):_0x157d36,_0x5d2087=_0x4ee5c5[_0x3b91f3(0x407)]-0x1,_0x31c358;_0x5d2087>=0x0;_0x5d2087--)(_0x31c358=_0x4ee5c5[_0x5d2087])&&(_0x29e485=_0x31c358(_0x29e485)||_0x29e485);return _0x29e485;},gt=(_0x3b421a,_0x24edc3)=>(_0x388834,_0x1f4993)=>_0x24edc3(_0x388834,_0x1f4993,_0x3b421a);const is=[_0x28b87b(0x20d),'image/jpeg',_0x28b87b(0x225),_0x28b87b(0x3c7),_0x28b87b(0x1ec)],ns=0x5*0x400*0x400,rs=_0x28b87b(0x3cf),ss='/universer-api/stream/file/upload',as=_0x28b87b(0x193),os=_0x28b87b(0x340);let yt=class{constructor(_0xaee6b8,_0x2223df,_0x3cfcbe){var _0x548211=_0x28b87b;N(this,'_waitCount',0x0),N(this,_0x548211(0x403),new _0x345283()),N(this,_0x548211(0x2a1),this[_0x548211(0x403)]),N(this,'_imageSourceCache',new Map()),(this[_0x548211(0x3da)]=_0xaee6b8,this[_0x548211(0x2cf)]=_0x2223df,this[_0x548211(0x3ad)]=_0x3cfcbe);}[_0x28b87b(0x39f)](_0x230004){var _0x55a5eb=_0x28b87b;this[_0x55a5eb(0x430)]=_0x230004,this[_0x55a5eb(0x403)][_0x55a5eb(0x36e)](_0x230004);}[_0x28b87b(0x28f)](_0x30bcd2,_0x589993){var _0x58ac9e=_0x28b87b;if(_0x589993===_0x3199d0[_0x58ac9e(0x23e)]){const _0x44f2ea=new Image();return _0x44f2ea[_0x58ac9e(0x1a2)]=_0x30bcd2,_0x44f2ea;}return this[_0x58ac9e(0x323)][_0x58ac9e(0x1a3)](_0x30bcd2);}[_0x28b87b(0x239)](_0x40d805,_0x45b734,_0x199d2f){var _0x5e7ce8=_0x28b87b;_0x45b734===_0x3199d0[_0x5e7ce8(0x23e)]||_0x199d2f==null||this['_imageSourceCache'][_0x5e7ce8(0x1e1)](_0x40d805,_0x199d2f);}async[_0x28b87b(0x361)](_0x219ca2){var _0x450c2d=_0x28b87b;try{const _0x4ca0b0=this['_replaceFileID'](this[_0x450c2d(0x2be)](),''+_0x219ca2),_0x3f746f=(await this['_httpService'][_0x450c2d(0x1a3)](_0x4ca0b0))[_0x450c2d(0x267)];if(_0x3f746f[_0x450c2d(0x3ea)]&&_0x3f746f[_0x450c2d(0x3ea)][_0x450c2d(0x2ce)]===Si['OK']){const _0x2fd369=new URL(_0x3f746f['url'],this[_0x450c2d(0x1cb)]())[_0x450c2d(0x177)]();return Promise[_0x450c2d(0x2ac)](_0x2fd369);}return Promise['reject'](_0x3f746f[_0x450c2d(0x3ea)]);}catch(_0x4b40e0){return Promise[_0x450c2d(0x136)](_0x4b40e0);}}async[_0x28b87b(0x349)](_0x43d4c1){var _0x3a1fe8=_0x28b87b;let _0x271e4e='';if(!is[_0x3a1fe8(0x152)](_0x43d4c1['type']))return this[_0x3a1fe8(0x417)](),Promise[_0x3a1fe8(0x136)](new Error(_0x124621['ERROR_IMAGE_TYPE']));if(_0x43d4c1[_0x3a1fe8(0x14c)]>ns)return this[_0x3a1fe8(0x417)](),Promise['reject'](new Error(_0x124621[_0x3a1fe8(0x1b6)]));try{const _0x3cd326=new FormData();_0x3cd326[_0x3a1fe8(0x2ca)]('file',_0x43d4c1);const _0x2e80eb=this[_0x3a1fe8(0x3ad)]['getFocusedUnit'](),_0x583caf=_0x2e80eb==null?void 0x0:_0x2e80eb[_0x3a1fe8(0x3c3)]();if(!_0x583caf)throw new Error(_0x3a1fe8(0x429));const _0x51fb09=this['_getUploadFileURL']()+_0x3a1fe8(0x3c4)+_0x43d4c1[_0x3a1fe8(0x14c)]['toString']()+_0x3a1fe8(0x3e1)+Ei[_0x3a1fe8(0x306)]+_0x3a1fe8(0x428)+encodeURIComponent(_0x583caf),_0x43fafa=await(await fetch(_0x51fb09,{'method':_0x3a1fe8(0x2d3),'body':_0x3cd326}))[_0x3a1fe8(0x336)]();if(typeof _0x43fafa[_0x3a1fe8(0x1c9)]!=_0x3a1fe8(0x14b))return this[_0x3a1fe8(0x417)](),Promise['reject'](new Error(_0x124621[_0x3a1fe8(0x3e2)]));_0x271e4e=_0x43fafa['FileId'];}catch{return this['_decreaseWaiting'](),Promise[_0x3a1fe8(0x136)](new Error(_0x124621[_0x3a1fe8(0x3e2)]));}return new Promise((_0x5a06c3,_0x58dd3a)=>{var _0x4a148b=_0x3a1fe8;const _0x51e87f=new FileReader();_0x51e87f['readAsDataURL'](_0x43d4c1),_0x51e87f[_0x4a148b(0x1e0)]=_0x2da4e3=>{var _0x5422dd=_0x4a148b,_0x2e1334;const _0xfb8789=(_0x2e1334=_0x2da4e3[_0x5422dd(0x24e)])==null?void 0x0:_0x2e1334[_0x5422dd(0x24c)];if(_0xfb8789==null){this['_decreaseWaiting'](),_0x58dd3a(new Error(_0x124621[_0x5422dd(0x3e2)]));return;}const _0x143fa9=_0x42dd4e[_0x5422dd(0x1f7)](0x6);_0x5a06c3({'imageId':_0x143fa9,'imageSourceType':_0x3199d0[_0x5422dd(0x2ae)],'source':_0x271e4e,'base64Cache':_0xfb8789,'status':_0x124621[_0x5422dd(0x21e)]}),this[_0x5422dd(0x417)]();};});}['_getUploadFileURL'](){var _0x1a9286=_0x28b87b,_0x4a0639,_0x5b31d6;const _0x3d4954=this[_0x1a9286(0x2cf)][_0x1a9286(0x2ba)](rs),_0x5eac34=this[_0x1a9286(0x2cf)][_0x1a9286(0x2ba)](q);return(_0x5b31d6=(_0x4a0639=_0x5eac34==null?void 0x0:_0x5eac34['uploadFileServerUrl'])!=null?_0x4a0639:_0x3d4954)!=null?_0x5b31d6:ss;}[_0x28b87b(0x2be)](){var _0xf3c734=_0x28b87b,_0x53425a,_0x49b4fa;const _0x358034=this[_0xf3c734(0x2cf)]['getConfig'](as),_0x214ac2=this[_0xf3c734(0x2cf)][_0xf3c734(0x2ba)](q);return(_0x49b4fa=(_0x53425a=_0x214ac2==null?void 0x0:_0x214ac2[_0xf3c734(0x317)])!=null?_0x53425a:_0x358034)!=null?_0x49b4fa:os;}[_0x28b87b(0x1cb)](){var _0x383266=_0x28b87b,_0x208b9a;const _0x3b825d=this['_configService']['getConfig'](q);return(_0x208b9a=_0x3b825d==null?void 0x0:_0x3b825d['downloadEndpointUrl'])!=null?_0x208b9a:location[_0x383266(0x2b6)];}['_replaceFileID'](_0x3d47d0,_0x59813f){var _0x23b5aa=_0x28b87b;return _0x3d47d0[_0x23b5aa(0x27f)](_0x23b5aa(0x40b),_0x59813f);}['_decreaseWaiting'](){var _0x23d604=_0x28b87b;this['_waitCount']-=0x1,this[_0x23d604(0x403)][_0x23d604(0x36e)](this['_waitCount']);}};yt=ts([gt(0x0,_0x170ace(_0x343475)),gt(0x1,_0xad7120),gt(0x2,_0x170ace(_0xac24c))],yt);var cs=Object[_0x28b87b(0x28a)],hs=(_0x49f964,_0x513b50,_0x30a95e,_0x1c2f98)=>{var _0x928762=_0x28b87b;for(var _0x4f4399=_0x1c2f98>0x1?void 0x0:_0x1c2f98?cs(_0x513b50,_0x30a95e):_0x513b50,_0x108659=_0x49f964[_0x928762(0x407)]-0x1,_0x6326b7;_0x108659>=0x0;_0x108659--)(_0x6326b7=_0x49f964[_0x108659])&&(_0x4f4399=_0x6326b7(_0x4f4399)||_0x4f4399);return _0x4f4399;},hi=(_0x4e2a22,_0x23ba40)=>(_0x2996be,_0xdd5447)=>_0x23ba40(_0x2996be,_0xdd5447,_0x4e2a22);const _s=_0x28b87b(0x3eb);let Ot=class{constructor(_0x3d4bee,_0x21ff1e){var _0xd0e301=_0x28b87b;this[_0xd0e301(0x2cf)]=_0x3d4bee,this[_0xd0e301(0x2e2)]=_0x21ff1e;}[_0x28b87b(0x1d5)](){var _0x2ca8ff=_0x28b87b,_0x4d1bcd,_0x55efb8;const _0x202064=this[_0x2ca8ff(0x2cf)][_0x2ca8ff(0x2ba)](Ni),_0x46f5b0=this[_0x2ca8ff(0x2cf)]['getConfig'](q);return(_0x55efb8=(_0x4d1bcd=_0x46f5b0==null?void 0x0:_0x46f5b0[_0x2ca8ff(0x416)])!=null?_0x4d1bcd:_0x202064)!=null?_0x55efb8:_s;}async[_0x28b87b(0x2e4)](_0x2ad146){var _0x534ef2=_0x28b87b;const _0xb28f7f=this[_0x534ef2(0x1d5)]()+_0x534ef2(0x27a);return{'list':[{'title':_0x534ef2(0x3b3),'mentions':(await this[_0x534ef2(0x2e2)][_0x534ef2(0x1a3)](_0xb28f7f,{'params':{'objectID':_0x2ad146[_0x534ef2(0x1e2)],'unitID':_0x2ad146[_0x534ef2(0x1e2)]}}))[_0x534ef2(0x267)][_0x534ef2(0x366)][_0x534ef2(0x1ff)](_0x3dee0e=>({'objectId':_0x3dee0e['id'],'name':_0x3dee0e['subject'][_0x534ef2(0x1e9)],'metadata':{'icon':_0x3dee0e[_0x534ef2(0x3a1)][_0x534ef2(0x155)]},'label':_0x3dee0e[_0x534ef2(0x3a1)][_0x534ef2(0x1e9)],'objectType':_0x4ddda6[_0x534ef2(0x3cc)]})),'metadata':{},'type':_0x4ddda6[_0x534ef2(0x3cc)]}]};}};Ot=hs([hi(0x0,_0x170ace(_0xad7120)),hi(0x1,_0x170ace(_0x343475))],Ot);var ls=Object[_0x28b87b(0x28a)],us=(_0x5c54f1,_0x44584c,_0x336c67,_0x365ca7)=>{for(var _0x28eee7=_0x365ca7>0x1?void 0x0:_0x365ca7?ls(_0x44584c,_0x336c67):_0x44584c,_0x182712=_0x5c54f1['length']-0x1,_0x41f32b;_0x182712>=0x0;_0x182712--)(_0x41f32b=_0x5c54f1[_0x182712])&&(_0x28eee7=_0x41f32b(_0x28eee7)||_0x28eee7);return _0x28eee7;},Ae=(_0x25afd0,_0x457f89)=>(_0x56f72c,_0x408c35)=>_0x457f89(_0x56f72c,_0x408c35,_0x25afd0);let ot=class extends _0x32442f{constructor(_0x8730c3,_0x30eb35,_0xc341a2,_0x2be283,_0x570522){var _0x4f8204=_0x28b87b;super(),this[_0x4f8204(0x32e)]=_0x8730c3,this[_0x4f8204(0x3ad)]=_0x30eb35,this[_0x4f8204(0x21d)]=_0xc341a2,this[_0x4f8204(0x178)]=_0x2be283,this[_0x4f8204(0x23a)]=_0x570522,this[_0x4f8204(0x1db)](),this[_0x4f8204(0x2d7)]();}[_0x28b87b(0x2d7)](){var _0x38007d=_0x28b87b;const _0x1d962b=async _0x439e8d=>{var _0x226e02=_0x2643;(await this[_0x226e02(0x178)][_0x226e02(0x329)](_0x439e8d))[_0x226e02(0x3f6)][_0x226e02(0x280)](_0x231ea8(_0x288d47=>_0x288d47[_0x226e02(0x2e1)]===_0x1af912[_0x226e02(0x166)]),_0x485f83(this[_0x226e02(0x38f)]))[_0x226e02(0x213)](_0x2214fe=>{var _0x453009=_0x226e02;const _0x267fd4=_0x2214fe,{reason:_0x2cdfd5}=_0x267fd4['data'];this[_0x453009(0x23a)][_0x453009(0x183)]({'id':se[_0x453009(0x32d)],'data':_0x2cdfd5}),this[_0x453009(0x21d)]['updatePermissionPoint'](new _0x3aad19(_0x439e8d)['id'],!0x1),this[_0x453009(0x178)][_0x453009(0x1b1)](_0x439e8d);});};_0x119bd2(this[_0x38007d(0x3ad)][_0x38007d(0x195)](_0xb681bd['UNIVER_SHEET']),this['_univerInstanceService'][_0x38007d(0x195)](_0xb681bd[_0x38007d(0x159)]))[_0x38007d(0x280)](_0x1f8a6a(_0x1b27a1=>_0x1b27a1[_0x38007d(0x3c3)]()),_0x231ea8(_0x1854d5=>!_0x464b9b(_0x1854d5)),_0x485f83(this[_0x38007d(0x38f)]))[_0x38007d(0x213)](_0x35ddd1=>{_0x1d962b(_0x35ddd1);});}[_0x28b87b(0x1db)](){var _0x3c9fd1=_0x28b87b;const _0x44d9b8=async _0x2da437=>{var _0x657582=_0x2643;const _0x3a993c=await this[_0x657582(0x178)]['requireSession'](_0x2da437),_0x156639=this[_0x657582(0x32e)][_0x657582(0x1a3)](_0x1aba0f);_0x3a993c[_0x657582(0x3f6)][_0x657582(0x280)](_0x231ea8(_0x41d89c=>_0x41d89c[_0x657582(0x2e1)]===_0x1af912[_0x657582(0x37b)]),_0x485f83(this[_0x657582(0x38f)]))[_0x657582(0x213)](_0x100964=>{var _0xd54565=_0x657582;const _0x585c21=_0x100964,{objectId:_0xba5fd6}=_0x585c21['data'];_0xba5fd6===_0x2da437?_0x156639[_0xd54565(0x3a2)](_0x2da437):_0x156639[_0xd54565(0x30d)](_0x2da437,_0xba5fd6);});};_0x119bd2(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xb681bd['UNIVER_SHEET']))[_0x3c9fd1(0x280)](_0x1f8a6a(_0x4adb7a=>_0x4adb7a[_0x3c9fd1(0x3c3)]()),_0x231ea8(_0x3ce868=>!_0x464b9b(_0x3ce868)),_0x485f83(this[_0x3c9fd1(0x38f)]))['subscribe'](_0x2b0ca2=>{_0x44d9b8(_0x2b0ca2);});}};ot=us([Ae(0x0,_0x170ace(_0x35bd28)),Ae(0x1,_0xac24c),Ae(0x2,_0x160a69),Ae(0x3,_0x170ace(Le)),Ae(0x4,_0x170ace(pe))],ot);var ds=Object[_0x28b87b(0x28a)],fs=(_0x572703,_0x5176a2,_0x54f4c4,_0x37e867)=>{var _0x2be852=_0x28b87b;for(var _0x3f5e3b=_0x37e867>0x1?void 0x0:_0x37e867?ds(_0x5176a2,_0x54f4c4):_0x5176a2,_0x5d2938=_0x572703[_0x2be852(0x407)]-0x1,_0x378084;_0x5d2938>=0x0;_0x5d2938--)(_0x378084=_0x572703[_0x5d2938])&&(_0x3f5e3b=_0x378084(_0x3f5e3b)||_0x3f5e3b);return _0x3f5e3b;},_i=(_0x30701f,_0x1e5ef1)=>(_0x5aae08,_0x1c3fd9)=>_0x1e5ef1(_0x5aae08,_0x1c3fd9,_0x30701f);let Nt=class{constructor(_0x1de3e8,_0x5ebae4){var _0x10ada2=_0x28b87b;this[_0x10ada2(0x2cf)]=_0x1de3e8,this[_0x10ada2(0x3da)]=_0x5ebae4;}async[_0x28b87b(0x32a)](_0x36dc5d,_0x42f12f){var _0x4051a4=_0x28b87b,_0x40a6de;const {unitID:_0x597bde,type:_0x125f0b,revision:_0x9b80da=0x0}=_0x42f12f,_0x35808e=this[_0x4051a4(0x378)]()+'/'+_0x125f0b+_0x4051a4(0x13a)+_0x597bde+_0x4051a4(0x3d4)+_0x9b80da,_0xeffaf1=(await this[_0x4051a4(0x3da)][_0x4051a4(0x1a3)](_0x35808e))[_0x4051a4(0x267)],_0x42c180=(_0x40a6de=_0xeffaf1['snapshot'])==null?void 0x0:_0x40a6de[_0x4051a4(0x220)];if(_0x42c180){const _0x591d91=_0x42c180==null?void 0x0:_0x42c180[_0x4051a4(0x35a)],_0x18cf67=_0x20c24a[_0x4051a4(0x28b)](_0x25a082(_0x591d91));_0x42c180[_0x4051a4(0x35a)]=_0x18cf67,Object['entries'](_0x42c180[_0x4051a4(0x2dd)])[_0x4051a4(0x295)](([,_0x2fa133])=>{var _0x5e108b=_0x4051a4;const _0x1b207e=_0x2fa133[_0x5e108b(0x35a)],_0x3241c5=_0x20c24a[_0x5e108b(0x28b)](_0x25a082(_0x1b207e));_0x2fa133[_0x5e108b(0x35a)]=_0x3241c5;});}return _0xeffaf1;}async[_0x28b87b(0x163)](_0xe39052,_0x1f680e){var _0x3e4b51=_0x28b87b;const {unitID:_0x1e2cda,type:_0x31242e,blockID:_0x17dc7a}=_0x1f680e,_0x525442=this['_getAPIPrefix']()+'/'+_0x31242e+_0x3e4b51(0x13a)+_0x1e2cda+_0x3e4b51(0x14a)+_0x17dc7a;return(await this[_0x3e4b51(0x3da)][_0x3e4b51(0x1a3)](_0x525442))[_0x3e4b51(0x267)];}async[_0x28b87b(0x2a6)](_0x340097,_0x1f150c){var _0x51b917=_0x28b87b;const {unitID:_0x193735,type:_0x47cc16,blockID:_0x272b98}=_0x1f150c,_0x239660=this[_0x51b917(0x204)]()+_0x51b917(0x14a)+_0x47cc16+_0x51b917(0x13a)+_0x193735+'/block/'+_0x272b98;return(await this[_0x51b917(0x3da)][_0x51b917(0x1a3)](_0x239660))[_0x51b917(0x267)];}async[_0x28b87b(0x20f)](_0x466029,_0x43a65a){var _0x5af6c7=_0x28b87b;const {unitID:_0x76547a,type:_0x1ee843,from:_0x33979f,to:_0x41e273}=_0x43a65a,_0x49d548=this['_getAPIPrefix']()+'/'+_0x1ee843+'/unit/'+_0x76547a+_0x5af6c7(0x25f)+_0x33979f+_0x5af6c7(0x39a)+_0x41e273;return(await this['_httpService']['get'](_0x49d548))[_0x5af6c7(0x267)];}[_0x28b87b(0x378)](){var _0x45c58d=_0x28b87b,_0x4ed7ea;return(_0x4ed7ea=this[_0x45c58d(0x2cf)]['getConfig'](Sn))!=null?_0x4ed7ea:this[_0x45c58d(0x204)]();}[_0x28b87b(0x204)](){var _0x20f922=_0x28b87b,_0xe078bb,_0x552d7b;const _0x2e784d=this[_0x20f922(0x2cf)][_0x20f922(0x2ba)](mn),_0x46bb47=this[_0x20f922(0x2cf)][_0x20f922(0x2ba)](q);return(_0x552d7b=(_0xe078bb=_0x46bb47==null?void 0x0:_0x46bb47['snapshotServerUrl'])!=null?_0xe078bb:_0x2e784d)!=null?_0x552d7b:gn;}async[_0x28b87b(0x3fb)](_0x3b5288,_0x459579){var _0x46995a=_0x28b87b;const _0x200f1d=_0x46995a(0x409)+_0x459579[_0x46995a(0x2a4)]+_0x46995a(0x13a)+_0x459579[_0x46995a(0x40c)]+_0x46995a(0x1b3);return(await this[_0x46995a(0x3da)][_0x46995a(0x1a3)](_0x200f1d,{'params':{'resourceId':JSON['stringify'](_0x459579[_0x46995a(0x308)])}}))[_0x46995a(0x267)];}[_0x28b87b(0x2ab)](){var _0x56d8fa=_0x28b87b;throw new Error(_0x56d8fa(0x21a));}[_0x28b87b(0x1de)](){var _0x283d2e=_0x28b87b;throw new Error(_0x283d2e(0x21a));}['saveChangeset'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x28b87b(0x18d)](){var _0x25b6f0=_0x28b87b;throw new Error(_0x25b6f0(0x21a));}[_0x28b87b(0x2fe)](){var _0x534ad9=_0x28b87b;throw new Error(_0x534ad9(0x21a));}};Nt=fs([_i(0x0,_0xad7120),_i(0x1,_0x170ace(_0x343475))],Nt);var vs=Object[_0x28b87b(0x28a)],ps=(_0x24cb8e,_0x2a2a63,_0x7d64e3,_0xca75a7)=>{var _0x44aa35=_0x28b87b;for(var _0x4b7f6b=_0xca75a7>0x1?void 0x0:_0xca75a7?vs(_0x2a2a63,_0x7d64e3):_0x2a2a63,_0x4f7bf7=_0x24cb8e[_0x44aa35(0x407)]-0x1,_0x2b1f25;_0x4f7bf7>=0x0;_0x4f7bf7--)(_0x2b1f25=_0x24cb8e[_0x4f7bf7])&&(_0x4b7f6b=_0x2b1f25(_0x4b7f6b)||_0x4b7f6b);return _0x4b7f6b;},Pe=(_0xb4f7a4,_0x227ffc)=>(_0x1a4bbe,_0x336516)=>_0x227ffc(_0x1a4bbe,_0x336516,_0xb4f7a4);let Dt=class extends _0xb06c5d{constructor(_0x51f56e,_0x5d23d4,_0x21fd06,_0x5ddadd,_0x4949b0){var _0x2027a2=_0x28b87b;super(_0x51f56e,_0x5d23d4,_0x21fd06),this['_transformService']=_0x5ddadd,this[_0x2027a2(0x170)]=_0x4949b0;}[_0x28b87b(0x2d9)](_0xa32722,_0x4570e2){var _0x5d1631=_0x28b87b;const _0x1fb245=this[_0x5d1631(0x3ae)](_0xa32722);if(_0x1fb245)try{const _0x112636=this[_0x5d1631(0x31f)](_0x1fb245,_0x4570e2);this[_0x5d1631(0x2cc)](_0xa32722,_0x112636);}catch(_0x429bc7){this[_0x5d1631(0x170)][_0x5d1631(0x3ea)]('[CollaborationUndoRedoService]',_0x429bc7),this[_0x5d1631(0x380)](_0xa32722);}const _0x29943f=this[_0x5d1631(0x246)](_0xa32722);if(_0x29943f)try{const _0x25df0a=this[_0x5d1631(0x31f)](_0x29943f,_0x4570e2);this[_0x5d1631(0x34e)](_0xa32722,_0x25df0a);}catch(_0x1ac681){this[_0x5d1631(0x170)][_0x5d1631(0x3ea)](_0x1ac681),this['_clearRedo'](_0xa32722);}}[_0x28b87b(0x380)](_0x16da85){var _0x51ad71=_0x28b87b;const _0x5312cc=this[_0x51ad71(0x3ae)](_0x16da85);_0x5312cc&&(_0x5312cc[_0x51ad71(0x407)]=0x0,this['_updateStatus']());}[_0x28b87b(0x1bb)](_0x2c14f6){var _0x54ca68=_0x28b87b;const _0xd02808=this[_0x54ca68(0x246)](_0x2c14f6);_0xd02808&&(_0xd02808[_0x54ca68(0x407)]=0x0,this[_0x54ca68(0x237)]());}[_0x28b87b(0x2cc)](_0x93999d,_0x43f82b){var _0x4a8ed3=_0x28b87b;this['_undoStacks'][_0x4a8ed3(0x1e1)](_0x93999d,_0x43f82b),this[_0x4a8ed3(0x237)]();}[_0x28b87b(0x34e)](_0x502cf3,_0x557ee1){var _0x3181ed=_0x28b87b;this['_redoStacks'][_0x3181ed(0x1e1)](_0x502cf3,_0x557ee1),this[_0x3181ed(0x237)]();}['_transformStack'](_0x415aeb,_0x4bdd6a){var _0x52e632=_0x28b87b;const _0x558d29=[];let _0x61cfea=_0x4bdd6a,_0x1250f6=_0x4bdd6a;for(let _0x4ec87c=_0x415aeb[_0x52e632(0x407)]-0x1;_0x4ec87c>=0x0;_0x4ec87c--){const {unitID:_0x139e7b,undoMutations:_0x2053e0,redoMutations:_0x228572}=_0x415aeb[_0x4ec87c],_0x1ca075=this[_0x52e632(0x3b9)][_0x52e632(0x34b)](_0x61cfea,_0x2053e0),_0x4b5a58=this[_0x52e632(0x3b9)][_0x52e632(0x34b)](_0x1250f6,_0x228572);if(_0x25c0ee(_0x1ca075)||_0x25c0ee(_0x4b5a58)){this[_0x52e632(0x170)][_0x52e632(0x3ea)](_0x52e632(0x362),_0x52e632(0x2af),_0x1ca075,_0x4b5a58);break;}_0x61cfea=_0x1ca075[_0x52e632(0x22d)],_0x1250f6=_0x4b5a58[_0x52e632(0x22d)],_0x558d29[_0x52e632(0x40f)]({'unitID':_0x139e7b,'undoMutations':_0x1ca075[_0x52e632(0x2fb)],'redoMutations':_0x4b5a58[_0x52e632(0x2fb)]});}return _0x558d29['reverse']();}};Dt=ps([Pe(0x0,_0xac24c),Pe(0x1,_0x57f32e),Pe(0x2,_0x2209e0),Pe(0x3,_0x46209b),Pe(0x4,_0x1e7fcd)],Dt);var ms=Object[_0x28b87b(0x3fe)],gs=Object[_0x28b87b(0x28a)],Ss=(_0x22d01f,_0x3a7902,_0x39bc3b)=>_0x3a7902 in _0x22d01f?ms(_0x22d01f,_0x3a7902,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39bc3b}):_0x22d01f[_0x3a7902]=_0x39bc3b,Es=(_0x15e079,_0x528e98,_0x191674,_0x44adc8)=>{var _0x3370eb=_0x28b87b;for(var _0x539f6b=_0x44adc8>0x1?void 0x0:_0x44adc8?gs(_0x528e98,_0x191674):_0x528e98,_0x1f745d=_0x15e079[_0x3370eb(0x407)]-0x1,_0x4e8fcf;_0x1f745d>=0x0;_0x1f745d--)(_0x4e8fcf=_0x15e079[_0x1f745d])&&(_0x539f6b=_0x4e8fcf(_0x539f6b)||_0x539f6b);return _0x539f6b;},St=(_0x385304,_0x2b9a21)=>(_0x10b702,_0x35366b)=>_0x2b9a21(_0x10b702,_0x35366b,_0x385304),Is=(_0x215a9f,_0x472597,_0x3cfd3f)=>Ss(_0x215a9f,_0x472597+'',_0x3cfd3f);const Ts=_0x28b87b(0x288);function _0x3ac7(){var _0x5ca996=['LIVESHARE_OPERATION','disposeWithMe','min','_entities','_replayCachedMutations','memberID','prototype','fetchMiss','getSnapshotAPIPath','onLocalMutation','ivSize','UPDATE_PERMISSION_OBJ','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_updateState','_invKeySchedule','_snapshotService','_clearUndo','batchAllowed','_clearHeartbeatTimer','_singleActiveUnitService','_listenToNetworkCondition','_updateLocalCache','buffer','mutations','collaboration-client.config','unknown','unsubscribe','LIVESHARE_REQUEST_HOST','/universer-api/oidc/authpage','toLowerCase','[FetchMissState]','dispose$','_joinRoom','onRemoteRej','symbol','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','\x0aCurrent:\x20','YUUMI_UNABLE_LOAD_URL','FETCH_MISSING','LIVESHARE_TERMINATE','_onRemoteChangeset','_minBufferSize','&to=','_initMergeInterceptor','MD5','onlyLocal','__creator','setWaitCount','PSEUDO_FETCH_MISSING_RESULT','subject','initWorkbookPermissionChange','_checkMissing','HttpExport','3435168Rvkbkh','_roomCreated$','call','create','AES','SNAPSHOT_URL_KEY','CHANGESET_SHOULD_RETRY','_sendingTimer','_univerInstanceService','_getUndoStack','localeService','waitForRoom$','Latin1','__esModule','People','apply','exports','formatter','USERS_LEAVE','key','_transformService','_getCtorByUniverType','liveShareNewHost','_tryReconnect','SUBMIT_CHANGESET','finalize','location','joinRsp','getCurrentUser','OpenSSL','getUnitId','?size=','onRemoteAck','_reverseMap','image/gif','byteLength','HMAC','collaboration_new_changeset','JOINING','PERSON','NOT_COLLAB','_resendWithTimeout','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','charCodeAt','asObservable','_data','_doReset','/rev/','reduce','getCurrentSelections','getCollabEntity','_changesetReqId','_snapshotServerService','_httpService','selections','pad','CHANGESET_ACK','compose','post','getCurrentRevOfUnit','&source=','ERROR_IMAGE','decryptBlock','UNDEFINED','error$','_onRemoteACK','_socket','_onUserLeave','_onLocalMutation','error','/universer-api/authz','stopTime','method','/new_changes','_unitInfo$','find','SerializableCipher','createInstance','splice','sigBytes','_hash','event$','getInterceptPoints','APPLY_REVISION_CONFILICT','update','_initDependencies','getResourcesRequest','StreamCipher','submit\x20changeset\x20error!','defineProperty','UNRECOGNIZED','_transformUndoredo','_timeoutTimer','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_change$','YUUMI_SUBSCRIPTION_NOT_FOUND','collaMsg','[DataLoaderService]','length','override','/universer-api/snapshot/','onTransformIME','{fileID}','unitID','UNIVER_SLIDE','Malformed\x20UTF-8\x20data','push','Decryptor','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','/universer-api/uniscript','abs','getCollabEntity$','COLLAB_WEB_SOCKET_URL','authzUrl','_decreaseWaiting','c2Prime','blockSize','COMMENT_UPDATE','CipherParams','_createHelper','_throwTelemetryCollaborationNewChangeset','UNIVER_SHEET','HEARTBEAT_TIMEOUT','_transformRemoteChangesetByStateCache','/role','PERMISSION_DENIED','_sheetTransformSelectionsService','registerHTTPInterceptor','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','getUnit','_doCreateSocket','&assign=','unitId\x20is\x20not\x20found','_commentService','_emitMembers','EvpKDF','updateOfflineData','send','_members','_waitCount','rng','JOIN','liveShareOperation','LIVESHARE_FETCH_OPERATIONS','_append','hostname','reject','IDLE','_removeRoom','_xformMode','/unit/','reset','objectActions','UNIVER_PROJECT','SOCKET_FAILED_RETRY','APPLY_NON_SEQUENTIAL_REVISION','_collabSessionService','data','readyForCollab','_onOffline','[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.','join','_networkConditionService','_sender','enableSingleActiveInstanceLock','floor','/block/','string','size','[OfflineState]:\x20received\x20rejection.','INTERNAL_ERROR','transformChangesets','objectType','_onConnectionOpen','includes','toggleOffline','_pendingMutations','avatar','_eventService','_key','UNKNOWN_CODE','UNIVER_DOC','localCacheService','stringify','pending','OFFLINE','leaveEvent','loadDoc','_tryEnsureSocket','LEAVE','createSocket','getSheetBlock','roles','onTransformState','SHOULD_CLOSE_CONN','salt','univer-pro.collaboration-client-socket-service','Encryptor','userID','MSG_FOR_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','OPTIONAL','editing\x20status\x20changed\x20to','Hasher','_logService','updatePermissionObjEvent','message$','WordArray','UNISCRIPT_RUN','kdf','_handler','toString','_collaborationSessionService','_prevBlock','_onRemoteRejected','from','_nRounds','_startCollaboration','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','UNIVER_UNKNOWN','bind','getWorkbookSelections','_doFinalize','emitEvent','HttpImport','_memberService','JOIN_ROOM_PERMISSION_DENIED','csAckEvent','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','sessionStatus$','COMPLETION_FINISHED','onMissedChangesetFetched','APPLY_PERMISSION_DENIED','copyFileMeta','LIVESHARE_NEW_HOST','_isPermissionRej','INGEST','addHandlerCallback','_createHmacHelper','EXCHANGE_SIGN_URL_SERVER_URL_KEY','now','getTypeOfUnitAdded$','catch','CHANGESET_REVISION_CONFILICT','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','DEFAULT_FILE_NAME','_instanceService','_createInitialState','loadSheet','UNAUTHENTICATED','univer-pro.collaboration-client.network-condition.service','_keySchedule','session.room-cnt-exceeds','NEW_CHANGESETS','src','get','LICENSE_MAX_UNITS_EXCEEDED','roomInfos','state','Utf8','members$','ciphertext','_transformStateCache','/allowed','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_map','YUUMI_URL_COL_OUT_OF_RANGE','_unitID','[CollaborationSessionService]','closeSession','PENDING','/resources','_toggleOffline','LICENSE_DISTRO_REJECTED','ERROR_EXCEED_SIZE','_candidateSocket','has','getTypeOfUnitDisposed$','infoRsp','_clearRedo','getMemberID','awaiting_with_pending','Hex','_onConflict','COMPRESS_MUTATION_APPLY','_status$','hasher','algo','[CollaborationEntity]','enc','LOGIN_FAILED','_registerDependencies','_getLoginPath','FileId','_toggleOnline','_getDownloadEndpointURL','synced','[SyncedState]:\x20received\x20rejection.','PERMISSION_REJ','deleteCollaborator','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_remoteChangesetQueue','YUUMI_RATE_OVER_LIMIT','members','init','_getAPIPrefixPath','execute','hasOwnProperty','7TFSKeR','_entityInit$','onCommentUpdate','_initUnitPermissionChange','rev','state$','saveSheetBlock','LOCAL_CACHE_INTERVAL','onload','set','unitId','_rescheduleHeartbeat','filter','_type','_retryCount','HELLO','_incrementRevisionNumber','name','NoPadding','newCsEvent','image/bmp','toggleOnline','INVITE_CODE_REQUIRED','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformSelections','_collaborationPaused','univer-pro.collaboration-client.single-active-unit-service','retryConnectingInterval','_startTelemetryCollaborationNewChangeset','decrypt','INVALID_INVITE_CODE','generateRandomId','session','Undefined','repeat','/-/object/list','getActiveSheet','unpad','range','map','encrypt','UPDATE_CURSOR','format','NO_OTHER_CLIENTS_EDITING','_getAPIPrefix','revision','href','[OfflineState]:\x20received\x20changeset.','_loadDoc','crypto','/universer-api/user/session-ticket','_ENC_XFORM_MODE','_sessions','image/png','_clearTimeoutTimer','fetchMissingChangesets','OTHER_CLIENTS_EDITING','byteOffset','session.room-full','subscribe','\x0aAfter:\x20','_scheduleCompleteTimestamp','onCommandExecuted','cfg','156yfnMxu','_sendHeartbeat','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_undoRedoService','_socketReady','_permissionService','SUCCUSS','then','workbook','equals','5256240izxAxh','_lockTransition','USERS_ENTER','image/jpg','_nDataBytes','Could\x20not\x20dynamically\x20require\x20\x22','_acknowledgedAwaitingChangeset','extend','mode','getUnitStatus$','loadUnit','c1Prime','delete','Base','createDecryptor','_init','requestParams','4844312ygrBZy','_loadSheet','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_transitionLocked','_updateStatus','_executeRemoteChangeset','addImageSourceCache','_collaborationUIEventService','joinEvent','_localCacheService','_handlerCallback','BASE64','_createInitialStateImpl','TOO_MANY_REQUESTS','_sendHeartbeatTimer','capture','_showConflictNotification','socket$','_process','_getRedoStack','_telemetryInfo','SHA1','_applyRemoteChangeset','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','complete','result','SOCKET_FAILED','target','sid','msCrypto','duration','isPermissionRej','_iv','getRoom','/object','_userManagerService','_submitChangeset','values','_hasher','confirm','reqId','max','17894oDyynP','_awaitingChangeset','/fetchmissing?from=','CONFLICT','LOGIN_URL_KEY','GLOBAL_ROOMS_CNT_EXCEEDS','PY_RUNTIME_SCRIPT_ERROR','getSheetId','debug','fromCharCode','body','fetch_missing','_cipher','SUBMIT_CHANGESET_TIMEOUT','INVALID_ARGUMENT','[CollaborationSession]','_revisionService','pluginName','APPLY_REJECT','not_collab','_initRequestHeader','session.join-failed','textRanges','commentUpdate$','onRemoteChangeset','_transformRemoteChangesetByIMECache','objectID','allowed','onRemoteRetry','/collaborator','/-/object/-/batch_allowed','USER_NOT_INVITED_CODE','default','_clearLocalCache','replace','pipe','_commandService','resend','[CollaborationSessionService]:\x20socket\x20error','[OfflineState]:\x20received\x20acknowledgement.','put','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','_event$','UNIVER_COLLABORATION_CLIENT_PLUGIN','BufferedBlockAlgorithm','getOwnPropertyDescriptor','encode','entityInit$','_resendTimer','FAIL','getImageSourceCache','_keyPriorReset','HEARTBEAT','/universer-api/snapshot','randomUUID','close','forEach','_oKey','charAt','status','_getSendChangesetTimeout','mixIn','getUnitType','_createSocket','keySize','status$','listCollaborators','getFocusedUnit','change$','clear','auth.needGotoLoginAlert','type','clone','getDeserializedSheetBlock','AWAITING_WITH_PENDING','_onUserJoin','NOT_FOUND','OTHER_CLIENT_EDITING','saveSnapshot','resolve','getValue','UUID','transformStack\x20failed!','onTransformSelections','_disableEditing','_iKey','Error\x20on\x20receiving\x20event','_socketService','routeKey','origin','INVITE_CODE_ALREADY_BOUND','startTime','_onJoinRoomEvent','getConfig','slice','lib','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','createCollaborator','_doProcessBlock','_createHandler','transformSelections','_localeService','_onMessage','collabSubmitChangesetUrl','_commentUpdate$','fromCollab','online$','random','append','_queuedRemoteChangesets','_substituteUndoStack','csRejEvent','code','_configService','setShowComponents','conflict','close$','POST','?url=','fetchThroughInterceptors','executeCommand','_initCloseConn','219RBQtaK','transformUndoRedo','updateMember','getMember','_fetchMissChangesets','sheets','focused$','SNAPSHOT_INVALID_SNAPSHOT','_waitForHeartbeatResponse','eventID','_HTTPService','1361272hcWbWI','list','add','x-univer-host','$super','11588283uEIzlx','telemetry\x20info\x20is\x20not\x20initialized','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','loadOfflineData','_socketMessageSubscription','70820McJzvY','_onRecvEvent','AWAITING','_exhaustRemoteChangesetQueue','clamp','_state','save\x20fail\x20reason\x20is\x20','compute','JOIN_ROOM_FULL','onSendChangeset','updateCollaborator','deepClone','Failed\x20to\x20update\x20permission\x20point','getRandomValues','m2Prime','_retryConnectingTimer','parse','getLatestCsReqIdBySid','baseRev','createEncryptor','_shouldReportTelemetry','appendMutation','_collaborationTimeoutTimer','_unlockTransition','sessionStatus','UnitEmbedded','connection\x20error','resourceIDs','unit-cache-','awaiting','UNKNOWN_CMD','_syncEditingCollabCursor','refreshPermission','changesets','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','permissionRejEvent','fetching\x20missing\x20changesets\x20from\x20','_onCombEvent','onSyncEditingCollabCursor','JOIN_ROOM_FAILED','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','words','signUrlServerUrl','BlockCipher','onTransformRemoteChangesetByStateCache','removeMember','processBlock','ONLINE','CBC','_compressMutationService','_transformStack','enableAuthServer','padding','APPLY_DUPLICATED','_imageSourceCache','_roomMembers','_stopTelemetryCollaborationNewChangeset','subUnitId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','title','requireSession','getUnitOnRev','MUTATION','_sessionStatus$','CLOSE_ROOM','_injector','_onFetchMissResult','cmd','\x20to\x20','dispose','ALREADY_EXISTS','Base64','getTime','json','_transformIMECache','isArray','_mode','SYNCED','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','sin','_resendTimeout','params','offline','/universer-api/file/{fileID}/sign-url','_clearScheduledTask','_state$','socketService','interceptor','/universer-api/comb','collabWebSocketUrl','unitInfo$','concat','saveImage','_onConnectionFailed','transformMutationsWithChangeset','/object/','collaboratorID','_substituteRedoStack','onStarting','setCurrentUser','onTransformRemoteChangesetByIMECache','_parse','every','reconnect','_config','actions','getAllMembers','_clearRetryConnectingTimer','onStateChange','originalMeta','RECV','[SyncedState]:\x20received\x20acknowledgement.','incrementRevOfUnit','function','JOIN_ROOM_NOT_EXISTS','_schedule','getImage','[CollaborationUndoRedoService]','updatePermissionPoint','_getCurrentRevision','_changesetSessionId','collaborators','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','CONNECTOR_DATA_TOO_LARGE','_onRemoteRetry','_telemetryService','_socket$','headers','awaitingChangeset','next','session.room-permission-denied'];_0x3ac7=function(){return _0x5ca996;};return _0x3ac7();}let Ut=class extends _0x5c3acd{constructor(_0x2542db,_0x4ca7a7,_0x3347fd,_0x28595d){var _0xc5b7ec=_0x28b87b;super(),N(this,'_config'),(this['_logService']=_0x4ca7a7,this['_injector']=_0x3347fd,this[_0xc5b7ec(0x2cf)]=_0x28595d);const {..._0x96ee74}=_0x183069({},An,_0x2542db);if(!_0x96ee74['socketService'])throw new Error(_0xc5b7ec(0x286));this[_0xc5b7ec(0x355)]=_0x96ee74,this[_0xc5b7ec(0x2cf)]['setConfig'](q,_0x96ee74);}[_0x28b87b(0x34f)](){var _0x39b81b=_0x28b87b;this['_registerDependencies'](),this[_0x39b81b(0x3fa)]();}[_0x28b87b(0x1c7)](){var _0x2e8a1b=_0x28b87b,_0x44e505,_0x2d6c85;this['_injector'][_0x2e8a1b(0x1b8)](_0x4a7bb9)&&this[_0x2e8a1b(0x170)][_0x2e8a1b(0x3ea)]('[UniverCollaborationClientPlugin]',_0x2e8a1b(0x402));const _0x1f7328=_0x50bf4([[_0x4a7bb9,{'useClass':Dt}],[Le],[xe],[it],[st],[at],[Ti],[ot],[pe],[bt],[Ii,{'useClass':this[_0x2e8a1b(0x355)][_0x2e8a1b(0x343)]}],[_0x37ba0a,{'useClass':Nt}],[_0x118cb8,{'useClass':Rt}],[_0x4535d0,{'useClass':yt}],[_0x58bdee,{'useClass':Ot}],[rt],[Ct]],(_0x44e505=this[_0x2e8a1b(0x355)])==null?void 0x0:_0x44e505[_0x2e8a1b(0x408)]);if(!((_0x2d6c85=this[_0x2e8a1b(0x355)])!=null&&_0x2d6c85[_0x2e8a1b(0x148)])){const _0x4b4f38=_0x1f7328['findIndex'](([_0xce2b4b])=>_0xce2b4b===ht);_0x4b4f38!==-0x1&&_0x1f7328['splice'](_0x4b4f38,0x1);}_0x2f2db5(this['_injector'],_0x1f7328);}[_0x28b87b(0x3fa)](){var _0x49bb41=_0x28b87b,_0x51d38b,_0x449999,_0x416b44;this[_0x49bb41(0x32e)]['get'](_0x343475)[_0x49bb41(0x424)]({'priority':0x14,'interceptor':_0x22c5ef({'maxParallel':0x6})}),(_0x51d38b=this['_config'])!=null&&_0x51d38b['enableOfflineEditing']||(_0x449999=this[_0x49bb41(0x32e)][_0x49bb41(0x1a3)](J,_0x65c40[_0x49bb41(0x16d)]))==null||_0x449999['disableLocalCache'](),(_0x416b44=this[_0x49bb41(0x355)])!=null&&_0x416b44[_0x49bb41(0x320)]&&_0x545888(this[_0x49bb41(0x32e)],[[st]]),_0x545888(this['_injector'],[[at],[rt],[ot]]);}};Is(Ut,_0x28b87b(0x26e),Ts),Ut=Es([_0x2e84ee(_0x2d0e8d,_0x267d3f),St(0x1,_0x1e7fcd),St(0x2,_0x170ace(_0x35bd28)),St(0x3,_0xad7120)],Ut);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,oe as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Nn as COLLAB_SUBMIT_CHANGESET_URL_KEY,In as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Gt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Tn as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Cn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Pn as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Un as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,ae as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,mn as SNAPSHOT_SERVER_URL_KEY,Sn as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Ut as UniverCollaborationClientPlugin,xn as deserializeToCombResponse,Bs as getLocalCacheKey,Ln as serializeCombRequest};
|