@univerjs-pro/collaboration-client 0.5.4-nightly.202501171120 → 0.5.4-nightly.202501181312
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +9 -9
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
var _0x567f8e=_0x1e98;(function(_0x7e19f9,_0x1e0e75){var _0x3c4b3c=_0x1e98,_0x89ca3c=_0x7e19f9();while(!![]){try{var _0x1a604f=-parseInt(_0x3c4b3c(0x38a))/0x1+parseInt(_0x3c4b3c(0x435))/0x2*(parseInt(_0x3c4b3c(0x37f))/0x3)+-parseInt(_0x3c4b3c(0x32b))/0x4+parseInt(_0x3c4b3c(0x2e7))/0x5+-parseInt(_0x3c4b3c(0x1b0))/0x6*(-parseInt(_0x3c4b3c(0x27b))/0x7)+parseInt(_0x3c4b3c(0x2e6))/0x8*(parseInt(_0x3c4b3c(0x3e8))/0x9)+-parseInt(_0x3c4b3c(0x3fd))/0xa;if(_0x1a604f===_0x1e0e75)break;else _0x89ca3c['push'](_0x89ca3c['shift']());}catch(_0x159885){_0x89ca3c['push'](_0x89ca3c['shift']());}}}(_0x4dfb,0xeea3f));var Li=Object[_0x567f8e(0x1cc)],Mi=(_0x374400,_0x18f61f,_0x1f7dde)=>_0x18f61f in _0x374400?Li(_0x374400,_0x18f61f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f7dde}):_0x374400[_0x18f61f]=_0x1f7dde,N=(_0x4d60ff,_0x58332d,_0x140ca0)=>Mi(_0x4d60ff,typeof _0x58332d!=_0x567f8e(0x301)?_0x58332d+'':_0x58332d,_0x140ca0);import{createIdentifier as _0x48ee6b,Inject as _0x4a37af,Injector as _0x2baf1e,Disposable as _0x1c474f,DisposableCollection as _0x43c00e,toDisposable as _0x58d839,IConfigService as _0x50fa1b,ILogService as _0x5994dd,UserManagerService as _0x3eb7c7,UniverInstanceType as _0xfcd74d,IUniverInstanceService as _0x30dc1f,LocaleService as _0x53a40f,Optional as _0xb1a102,RxDisposable as _0x56a922,Tools as _0x175f16,Rectangle as _0x3f7068,ICommandService as _0x38686f,JSONX as _0x58991b,CommandType as _0x53c6d0,IPermissionService as _0x4beed7,IUndoRedoService as _0x334148,sequenceExecute as _0x132ffa,Workbook as _0xae41d6,MentionType as _0x269f65,IAuthzIoService as _0x19a090,isInternalEditorID as _0x17a975,LocalUndoRedoService as _0xd3d868,IContextService as _0x3c1a46,DependentOn as _0x5378dc,Plugin as _0x2ba457,merge as _0x29a5f6,mergeOverrideWithDependencies as _0x5932ed,IMentionIOService as _0x49efd7,registerDependencies as _0xb99fa2,Quantity as _0x57f7ea,touchDependencies as _0x42bd3d}from'@univerjs/core';import{Subject as _0x241ec3,merge as _0x39f393,of as _0x2ee864,BehaviorSubject as _0x3d7229,takeUntil as _0x5d94db,ReplaySubject as _0x4ea224,take as _0x440834,map as _0x509eed,shareReplay as _0x4ba498,firstValueFrom as _0x28df6c,concatMap as _0x3d7067}from'rxjs';import{map as _0x275ba6,take as _0x3ca583,filter as _0x9acd45,delay as _0x4bf435,takeUntil as _0x12de8e}from'rxjs/operators';import{HTTPService as _0x470993,ISocketService as _0x24b21d,MergeInterceptorFactory as _0x4e7802,HTTPRequest as _0x24d727,UniverNetworkPlugin as _0x23741b,ThresholdInterceptorFactory as _0x40052f}from'@univerjs/network';import{CollaborationEvent as _0x1b86f2,parseChangesetToProtocol as _0x366c29,ISnapshotServerService as _0x373a50,isTransformMutationsWithChangesetSuccess as _0x1dc95c,ITransformService as _0x500db7,mapDocumentTypeToUniverType as _0x5a1376,RevisionService as _0x4284c4,isTransformChangesetsSuccess as _0x28c7c9,CompressMutationService as _0x55a20c,parseProtocolChangeset as _0x18bd66,SnapshotService as _0x368d69,textEncoder as _0x399006,b64DecodeUnicode as _0x3e3ecc,isTransformMutationsWithChangesetFailure as _0x36748f,UniverCollaborationPlugin as _0xeb2de4}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x5cdddd}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x83d214}from'@univerjs/docs';import{SheetsSelectionsService as _0x4bf0e8,SetSelectionsOperation as _0x15f1ef,InsertSheetMutation as _0x4c979f,EmptyMutation as _0x2acbcc,WorkbookEditablePermission as _0x41129b,SheetPermissionInitController as _0x467075,UniverSheetsPlugin as _0x3fb630}from'@univerjs/sheets';import{ImageSourceType as _0x455b5c,ImageUploadStatusType as _0x1f7829,IImageIoService as _0x47c26e}from'@univerjs/drawing';import{getGlobalObject as _0x5375ad}from'@univerjs-pro/license';const En=_0x567f8e(0x1c0),In=_0x567f8e(0x300),Tn='SNAPSHOT_URL_KEY',eo=_0x567f8e(0x1c1),Cn=0x7d0,Rn=_0x567f8e(0x1ea),bn=_0x567f8e(0x1e7),On=_0x567f8e(0x44d),yn=_0x567f8e(0x264),Nn=0x7530,Si=_0x567f8e(0x250),Ei=0x4e20,Dn=0x4e20,Pn=_0x567f8e(0x3ad),wn=0x3,to=_0x567f8e(0x279),io=0x3e8,Un=_0x567f8e(0x348),An=_0x567f8e(0x28f),xn=_0x567f8e(0x1f3),Ln='/universer-api/oidc/authpage',no=_0x567f8e(0x3bf),ro='/universer-api/uniscript';var Ii=(_0x31de4c=>(_0x31de4c[_0x31de4c[_0x567f8e(0x1e9)]=0x0]=_0x567f8e(0x1e9),_0x31de4c[_0x31de4c['OK']=0x1]='OK',_0x31de4c[_0x31de4c[_0x567f8e(0x3be)]=0x2]=_0x567f8e(0x3be),_0x31de4c[_0x31de4c[_0x567f8e(0x2a9)]=0x3]='PERMISSION_DENIED',_0x31de4c[_0x31de4c[_0x567f8e(0x359)]=0x4]=_0x567f8e(0x359),_0x31de4c[_0x31de4c[_0x567f8e(0x36b)]=0x5]='UNAUTHENTICATED',_0x31de4c[_0x31de4c[_0x567f8e(0x20c)]=0x6]=_0x567f8e(0x20c),_0x31de4c[_0x31de4c['INVALID_ARGUMENT']=0x7]=_0x567f8e(0x3c0),_0x31de4c[_0x31de4c[_0x567f8e(0x374)]=0x8]='TOO_MANY_REQUESTS',_0x31de4c[_0x31de4c[_0x567f8e(0x1c8)]=0x9]=_0x567f8e(0x1c8),_0x31de4c[_0x31de4c[_0x567f8e(0x46d)]=0x1389]=_0x567f8e(0x46d),_0x31de4c[_0x31de4c[_0x567f8e(0x42f)]=0x1771]=_0x567f8e(0x42f),_0x31de4c[_0x31de4c[_0x567f8e(0x2f1)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x31de4c[_0x31de4c[_0x567f8e(0x410)]=0x1773]=_0x567f8e(0x410),_0x31de4c[_0x31de4c['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x31de4c[_0x31de4c[_0x567f8e(0x31b)]=0x1b5a]=_0x567f8e(0x31b),_0x31de4c[_0x31de4c[_0x567f8e(0x4a1)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x31de4c[_0x31de4c[_0x567f8e(0x3b2)]=0x1b5c]=_0x567f8e(0x3b2),_0x31de4c[_0x31de4c[_0x567f8e(0x40b)]=0x1b5d]=_0x567f8e(0x40b),_0x31de4c[_0x31de4c[_0x567f8e(0x215)]=0x1f41]=_0x567f8e(0x215),_0x31de4c[_0x31de4c[_0x567f8e(0x396)]=0x2329]=_0x567f8e(0x396),_0x31de4c[_0x31de4c[_0x567f8e(0x483)]=0x232a]=_0x567f8e(0x483),_0x31de4c[_0x31de4c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x567f8e(0x43e),_0x31de4c[_0x31de4c[_0x567f8e(0x32e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x31de4c[_0x31de4c['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x31de4c[_0x31de4c[_0x567f8e(0x288)]=0x2711]=_0x567f8e(0x288),_0x31de4c[_0x31de4c[_0x567f8e(0x29d)]=0x2712]=_0x567f8e(0x29d),_0x31de4c[_0x31de4c['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x31de4c[_0x31de4c[_0x567f8e(0x256)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x31de4c[_0x31de4c[_0x567f8e(0x253)]=0x2af9]=_0x567f8e(0x253),_0x31de4c[_0x31de4c[_0x567f8e(0x1dc)]=-0x1]=_0x567f8e(0x1dc),_0x31de4c))(Ii||{}),Q=(_0x4ba242=>(_0x4ba242[_0x4ba242[_0x567f8e(0x477)]=0x0]=_0x567f8e(0x477),_0x4ba242[_0x4ba242[_0x567f8e(0x2a2)]=0x1]=_0x567f8e(0x2a2),_0x4ba242[_0x4ba242[_0x567f8e(0x31a)]=0x2]=_0x567f8e(0x31a),_0x4ba242[_0x4ba242[_0x567f8e(0x431)]=0x3]=_0x567f8e(0x431),_0x4ba242[_0x4ba242[_0x567f8e(0x40e)]=0x4]='UNIVER_PROJECT',_0x4ba242[_0x4ba242[_0x567f8e(0x1dc)]=-0x1]='UNRECOGNIZED',_0x4ba242))(Q||{}),F=(_0x589459=>(_0x589459[_0x589459[_0x567f8e(0x3d8)]=0x0]='UNKNOWN_CMD',_0x589459[_0x589459[_0x567f8e(0x3ee)]=0x1]='HELLO',_0x589459[_0x589459['JOIN']=0x2]=_0x567f8e(0x2b4),_0x589459[_0x589459['LEAVE']=0x3]='LEAVE',_0x589459[_0x589459[_0x567f8e(0x2d9)]=0x4]=_0x567f8e(0x2d9),_0x589459[_0x589459[_0x567f8e(0x3cf)]=0x5]=_0x567f8e(0x3cf),_0x589459[_0x589459[_0x567f8e(0x3d4)]=0x6]='RECV',_0x589459[_0x589459[_0x567f8e(0x1dc)]=-0x1]=_0x567f8e(0x1dc),_0x589459))(F||{}),Ee=(_0x2fb164=>(_0x2fb164[_0x2fb164[_0x567f8e(0x3b8)]=0x0]='UNKNOWN_CODE',_0x2fb164[_0x2fb164['OK']=0x1]='OK',_0x2fb164[_0x2fb164['FAIL']=0x2]='FAIL',_0x2fb164[_0x2fb164[_0x567f8e(0x3d2)]=0x3e9]='JOIN_ROOM_FULL',_0x2fb164[_0x2fb164[_0x567f8e(0x46b)]=0x3ea]=_0x567f8e(0x46b),_0x2fb164[_0x2fb164[_0x567f8e(0x417)]=0x3eb]='JOIN_ROOM_PERMISSION_DENIED',_0x2fb164[_0x2fb164[_0x567f8e(0x31d)]=0x3ec]=_0x567f8e(0x31d),_0x2fb164[_0x2fb164['UNRECOGNIZED']=-0x1]=_0x567f8e(0x1dc),_0x2fb164))(Ee||{}),Ti=(_0x1fde46=>(_0x1fde46[_0x1fde46[_0x567f8e(0x316)]=0x0]=_0x567f8e(0x316),_0x1fde46[_0x1fde46[_0x567f8e(0x35a)]=0x1]='HttpImport',_0x1fde46[_0x1fde46[_0x567f8e(0x268)]=0x2]=_0x567f8e(0x268),_0x1fde46[_0x1fde46[_0x567f8e(0x3b9)]=0x3]=_0x567f8e(0x3b9),_0x1fde46[_0x1fde46[_0x567f8e(0x377)]=0x4]='UnitSnapshot',_0x1fde46[_0x1fde46[_0x567f8e(0x1dc)]=-0x1]=_0x567f8e(0x1dc),_0x1fde46))(Ti||{});const q='collaboration-client.config',Wt={};var se=(_0x1c7bfb=>(_0x1c7bfb[_0x567f8e(0x31f)]=_0x567f8e(0x31f),_0x1c7bfb[_0x567f8e(0x2a9)]=_0x567f8e(0x2a9),_0x1c7bfb[_0x567f8e(0x2ad)]=_0x567f8e(0x2ad),_0x1c7bfb[_0x567f8e(0x2df)]=_0x567f8e(0x2df),_0x1c7bfb['JOIN_ROOM_FAILED']=_0x567f8e(0x1c3),_0x1c7bfb[_0x567f8e(0x1de)]=_0x567f8e(0x1de),_0x1c7bfb['SOCKET_FAILED']='SOCKET_FAILED',_0x1c7bfb[_0x567f8e(0x312)]=_0x567f8e(0x312),_0x1c7bfb))(se||{});class pe{constructor(){var _0x1ce66b=_0x567f8e;N(this,_0x1ce66b(0x1d0),new _0x241ec3()),N(this,_0x1ce66b(0x2ea),this['_event$'][_0x1ce66b(0x36d)]());}[_0x567f8e(0x444)](_0x98b49e){var _0x2acef3=_0x567f8e;this['_event$'][_0x2acef3(0x298)](_0x98b49e);}}const Mn=_0x48ee6b(_0x567f8e(0x3ca));function $n(_0x16b375){var _0x4bee0f=_0x567f8e,_0x22710b,_0x89dda9,_0x442110,_0x2fe6a4,_0x232c53;const _0x5da790=_0x16b375[_0x4bee0f(0x40f)],_0x19f048=JSON[_0x4bee0f(0x262)](_0x5da790);switch(_0x19f048[_0x4bee0f(0x270)]){case F[_0x4bee0f(0x3cf)]:case F[_0x4bee0f(0x3ee)]:{const _0x3a462b=_0x19f048[_0x4bee0f(0x1d9)];return{..._0x19f048,'data':_0x3a462b,'cmd':_0x19f048[_0x4bee0f(0x270)]};}case F[_0x4bee0f(0x2b4)]:{const _0x44b43b=_0x19f048[_0x4bee0f(0x3a5)];return{..._0x19f048,'data':_0x44b43b,'cmd':_0x19f048['cmd']};}case F['RECV']:{const _0x5ca7ac=_0x19f048[_0x4bee0f(0x3c9)];switch(_0x5ca7ac[_0x4bee0f(0x379)]){case _0x1b86f2[_0x4bee0f(0x47e)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':(_0x22710b=_0x5ca7ac[_0x4bee0f(0x408)])==null?void 0x0:_0x22710b['cs']},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2['CHANGESET_ACK']:return{..._0x19f048,'data':{..._0x5ca7ac,'data':(_0x89dda9=_0x5ca7ac['csAckEvent'])==null?void 0x0:_0x89dda9['cs']},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2['NEW_CHANGESETS']:return{..._0x19f048,'data':{..._0x5ca7ac,'data':(_0x442110=_0x5ca7ac['newCsEvent'])==null?void 0x0:_0x442110['cs']},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x3c4)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':(_0x2fe6a4=_0x5ca7ac['csRejEvent'])==null?void 0x0:_0x2fe6a4['cs']},'cmd':_0x19f048['cmd']};case _0x1b86f2[_0x4bee0f(0x2a1)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':(_0x232c53=_0x5ca7ac[_0x4bee0f(0x2ae)])==null?void 0x0:_0x232c53['cs']},'cmd':_0x19f048['cmd']};case _0x1b86f2[_0x4bee0f(0x42a)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac['updateCursorEvent']},'cmd':_0x19f048['cmd']};case _0x1b86f2[_0x4bee0f(0x479)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x399)]},'cmd':_0x19f048['cmd']};case _0x1b86f2[_0x4bee0f(0x1da)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x278)]},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x3e1)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x428)]},'cmd':_0x19f048['cmd']};case _0x1b86f2[_0x4bee0f(0x341)]:case _0x1b86f2[_0x4bee0f(0x1fe)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac['liveShareOperation']},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x234)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x428)]},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x318)]:return{..._0x19f048,'data':_0x5ca7ac,'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x3c1)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x461)]},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x463)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac[_0x4bee0f(0x464)]},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2[_0x4bee0f(0x289)]:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac['shouldCloseConn']},'cmd':_0x19f048[_0x4bee0f(0x270)]};case _0x1b86f2['UNISCRIPT_RUN']:return{..._0x19f048,'data':{..._0x5ca7ac,'data':_0x5ca7ac['uniscriptRunEvent']},'cmd':_0x19f048[_0x4bee0f(0x270)]};default:return _0x19f048;}}default:return _0x19f048;}}function Hn(_0x4b02a6){var _0x411754=_0x567f8e;switch(_0x4b02a6[_0x411754(0x270)]){case F['HEARTBEAT']:case F['HELLO']:return JSON[_0x411754(0x342)]({'cmd':_0x4b02a6['cmd'],'routeKey':_0x4b02a6[_0x411754(0x2a0)]});case F[_0x411754(0x2d9)]:{let _0x397ed4;switch(_0x4b02a6['data'][_0x411754(0x379)]){case _0x1b86f2[_0x411754(0x42a)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x42a)],'updateCursorEvent':_0x4b02a6[_0x411754(0x40f)][_0x411754(0x40f)]};break;}case _0x1b86f2[_0x411754(0x1da)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x1da)],'leaveEvent':_0x4b02a6['data'][_0x411754(0x40f)]};break;}case _0x1b86f2['USERS_ENTER']:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x479)],'joinEvent':_0x4b02a6[_0x411754(0x40f)]['data']};break;}case _0x1b86f2['LIVESHARE_NEW_HOST']:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x3e1)],'liveShareNewHost':_0x4b02a6[_0x411754(0x40f)][_0x411754(0x40f)]};break;}case _0x1b86f2[_0x411754(0x1fe)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x1fe)],'liveShareOperation':_0x4b02a6[_0x411754(0x40f)]['data']};break;}case _0x1b86f2[_0x411754(0x234)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x234)],'liveShareTerminate':_0x4b02a6[_0x411754(0x40f)][_0x411754(0x40f)]};break;}case _0x1b86f2[_0x411754(0x1c9)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x1c9)],'liveShareRequestHost':_0x4b02a6['data'][_0x411754(0x40f)]};break;}case _0x1b86f2[_0x411754(0x341)]:{_0x397ed4={'eventID':_0x1b86f2[_0x411754(0x341)]};break;}default:_0x397ed4={'eventID':_0x4b02a6[_0x411754(0x40f)]['eventID']};}return JSON['stringify']({'cmd':_0x4b02a6[_0x411754(0x270)],'routeKey':_0x4b02a6['routeKey'],'collaMsg':_0x397ed4});}case F[_0x411754(0x2b4)]:return JSON[_0x411754(0x342)]({'cmd':_0x4b02a6[_0x411754(0x270)],'routeKey':_0x4b02a6[_0x411754(0x2a0)],'joinReq':_0x4b02a6[_0x411754(0x40f)]});case F['LEAVE']:return JSON[_0x411754(0x342)]({'cmd':_0x4b02a6[_0x411754(0x270)],'routeKey':_0x4b02a6['routeKey'],'leaveReq':_0x4b02a6[_0x411754(0x40f)]});default:throw new Error(_0x411754(0x4a7));}}var kn=Object[_0x567f8e(0x1cc)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0x4a1468,_0x5abcf0,_0x5a1f81,_0x39396e)=>{var _0x417bf3=_0x567f8e;for(var _0x3c2028=_0x39396e>0x1?void 0x0:_0x39396e?jn(_0x5abcf0,_0x5a1f81):_0x5abcf0,_0x3d9013=_0x4a1468[_0x417bf3(0x41d)]-0x1,_0x552ca9;_0x3d9013>=0x0;_0x3d9013--)(_0x552ca9=_0x4a1468[_0x3d9013])&&(_0x3c2028=(_0x39396e?_0x552ca9(_0x5abcf0,_0x5a1f81,_0x3c2028):_0x552ca9(_0x3c2028))||_0x3c2028);return _0x39396e&&_0x3c2028&&kn(_0x5abcf0,_0x5a1f81,_0x3c2028),_0x3c2028;},Ue=(_0x5f2c1d,_0x46db75)=>(_0x3e5112,_0x172fa3)=>_0x46db75(_0x3e5112,_0x172fa3,_0x5f2c1d);const Ci=_0x48ee6b(_0x567f8e(0x38b));function Fn(_0x5c2cc5,_0x289c8b,_0x4c58e7){var _0x6414de=_0x567f8e;return _0x5c2cc5+'/'+_0x289c8b+'/unit/'+_0x4c58e7+_0x6414de(0x49f);}let Et=class extends _0x1c474f{constructor(_0x5c647c,_0x2b59d4,_0x92fab8,_0x57a8ec,_0x4daf24){var _0x292523=_0x567f8e;super(),this[_0x292523(0x226)]=_0x5c647c,this[_0x292523(0x414)]=_0x2b59d4,this[_0x292523(0x424)]=_0x92fab8,this['_logService']=_0x57a8ec,this['_snapshotServerService']=_0x4daf24;}['createSocket'](_0x3285a8){var _0x5d8071=_0x567f8e;const _0x2cce7a=this['_injector'][_0x5d8071(0x33f)](_0x24b21d);if(!_0x2cce7a)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!');const _0x2df862=_0x2cce7a[_0x5d8071(0x43a)](_0x3285a8);if(!_0x2df862)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0xd6383d=new _0x43c00e(),_0x4be72e=new _0x241ec3();_0xd6383d[_0x5d8071(0x3a6)](_0x2df862[_0x5d8071(0x2f3)][_0x5d8071(0x21b)](_0x51a420=>_0x4be72e[_0x5d8071(0x298)](_0x51a420))),_0xd6383d['add'](_0x58d839(()=>_0x4be72e[_0x5d8071(0x202)]()));const _0x4e4dc6=new _0x241ec3();_0xd6383d[_0x5d8071(0x3a6)](_0x2df862['error$'][_0x5d8071(0x21b)](_0x26886a=>_0x4e4dc6[_0x5d8071(0x298)](_0x26886a))),_0xd6383d[_0x5d8071(0x3a6)](_0x58d839(()=>_0x4e4dc6[_0x5d8071(0x202)]()));const _0x25a864=new _0x241ec3();_0xd6383d[_0x5d8071(0x3a6)](_0x2df862['message$'][_0x5d8071(0x21b)](_0x10a90c=>{const _0xa4db1c=$n(_0x10a90c);_0x25a864['next'](_0xa4db1c);})),_0xd6383d[_0x5d8071(0x3a6)](_0x58d839(()=>_0x25a864[_0x5d8071(0x202)]()));let _0x510d62;const _0x74f1ca=()=>{var _0x1ac07d=_0x5d8071;_0x4e4dc6[_0x1ac07d(0x298)](new Event(_0x1ac07d(0x2d6))),_0x4be72e['next'](new CloseEvent(_0x1ac07d(0x2d6))),_0x510d62['close']();};return _0x510d62={'memberID':'','close$':_0x4be72e[_0x5d8071(0x36d)](),'error$':_0x4e4dc6[_0x5d8071(0x36d)](),'open$':_0x2df862['open$'],'message$':_0x25a864[_0x5d8071(0x36d)](),'send':_0x87a9dd=>{var _0x3f8a1d=_0x5d8071;if(_0x87a9dd[_0x3f8a1d(0x270)]===F[_0x3f8a1d(0x2d9)]){if(_0x87a9dd[_0x3f8a1d(0x40f)][_0x3f8a1d(0x379)]===_0x1b86f2[_0x3f8a1d(0x1f9)]){this[_0x3f8a1d(0x471)](_0x510d62,_0x87a9dd[_0x3f8a1d(0x40f)])['catch'](_0x3f3fb5=>{var _0x2e834e=_0x3f8a1d;this['_logService'][_0x2e834e(0x2c4)](_0x3f3fb5),_0x74f1ca();});return;}if(_0x87a9dd[_0x3f8a1d(0x40f)][_0x3f8a1d(0x379)]===_0x1b86f2['FETCH_MISSING']){const _0x33827b=_0x87a9dd['data'];this[_0x3f8a1d(0x2b3)](_0x33827b)['then'](_0x4c89aa=>{var _0x216683=_0x3f8a1d;_0x25a864[_0x216683(0x298)]({'cmd':F['RECV'],'code':Ee['OK'],'routeKey':_0x33827b[_0x216683(0x40f)][_0x216683(0x34f)],'routeType':'','data':{'eventID':_0x1b86f2[_0x216683(0x28b)],'data':{'changesets':_0x4c89aa}}});})['catch'](_0x51569f=>{var _0x52bce5=_0x3f8a1d;this[_0x52bce5(0x30f)][_0x52bce5(0x2c4)](_0x51569f),_0x74f1ca();});return;}}_0x2df862[_0x3f8a1d(0x456)](Hn(_0x87a9dd));},'close':()=>{var _0x26e920=_0x5d8071;_0x2df862[_0x26e920(0x3e4)](),_0xd6383d[_0x26e920(0x480)]();}},_0x510d62;}async[_0x567f8e(0x471)](_0x43d032,_0x516717){var _0x469337=_0x567f8e,_0x279f81,_0x3d594e;const {unitType:_0x138a92,unitID:_0x389e77,changeset:_0x144f84}=_0x516717[_0x469337(0x40f)],_0x479526={'unitID':_0x389e77,'memberID':_0x43d032[_0x469337(0x27e)],'type':_0x138a92,'changeset':_0x366c29(_0x144f84)},_0x3e8679=this[_0x469337(0x424)][_0x469337(0x4a2)](Un),_0x230aa9=this['_configService']['getConfig'](q),_0x38ec6f=Fn((_0x3d594e=(_0x279f81=_0x230aa9==null?void 0x0:_0x230aa9['collabSubmitChangesetUrl'])!=null?_0x279f81:_0x3e8679)!=null?_0x3d594e:An,_0x138a92,_0x389e77);try{await this[_0x469337(0x414)]['post'](_0x38ec6f,{'body':_0x479526});}catch(_0x1439db){throw this[_0x469337(0x30f)][_0x469337(0x2c4)](_0x469337(0x427),'submit\x20changeset\x20error!'),_0x1439db;}}async['_fetchMissChangesets'](_0x33bdc0){var _0x113dd7=_0x567f8e;const {unitID:_0x520a6e,from:_0x35fb44,to:_0x108be4,unitType:_0x3da45e}=_0x33bdc0[_0x113dd7(0x40f)];return(await this[_0x113dd7(0x426)][_0x113dd7(0x2c5)]({'metadata':void 0x0},{'unitID':_0x520a6e,'type':_0x3da45e,'from':_0x35fb44,'to':_0x108be4}))[_0x113dd7(0x20e)];}};Et=Bn([Ue(0x0,_0x4a37af(_0x2baf1e)),Ue(0x1,_0x4a37af(_0x470993)),Ue(0x2,_0x50fa1b),Ue(0x3,_0x5994dd),Ue(0x4,_0x373a50)],Et);const Vn='collaboration_new_changeset';function Gn(_0xfb711b){var _0x264fd6=_0x567f8e;return JSON['stringify'](_0xfb711b)[_0x264fd6(0x41d)];}class Ri{constructor(){var _0x40aeb5=_0x567f8e;N(this,_0x40aeb5(0x2cf),new _0x241ec3()),N(this,_0x40aeb5(0x203),this[_0x40aeb5(0x2cf)][_0x40aeb5(0x36d)]());}[_0x567f8e(0x2db)](_0x2c81ed){var _0x2a6851=_0x567f8e;this[_0x2a6851(0x2cf)][_0x2a6851(0x298)](_0x2c81ed);}}var Wn=Object['defineProperty'],Kn=Object[_0x567f8e(0x33a)],Yn=(_0x2ba4fe,_0x35eaf0,_0x19a328,_0x3a72c0)=>{var _0x4b74e6=_0x567f8e;for(var _0x320975=_0x3a72c0>0x1?void 0x0:_0x3a72c0?Kn(_0x35eaf0,_0x19a328):_0x35eaf0,_0x5d0a39=_0x2ba4fe[_0x4b74e6(0x41d)]-0x1,_0x3fa5d8;_0x5d0a39>=0x0;_0x5d0a39--)(_0x3fa5d8=_0x2ba4fe[_0x5d0a39])&&(_0x320975=(_0x3a72c0?_0x3fa5d8(_0x35eaf0,_0x19a328,_0x320975):_0x3fa5d8(_0x320975))||_0x320975);return _0x3a72c0&&_0x320975&&Wn(_0x35eaf0,_0x19a328,_0x320975),_0x320975;},Kt=(_0x257e8d,_0x1f0c12)=>(_0x73f3ca,_0x5d78c9)=>_0x1f0c12(_0x73f3ca,_0x5d78c9,_0x257e8d);let xe=class extends _0x1c474f{constructor(_0x3dac17,_0x40d0af){var _0x154532=_0x567f8e;super(),N(this,_0x154532(0x304),new Map()),N(this,_0x154532(0x40c),new _0x241ec3()),(this[_0x154532(0x366)]=_0x3dac17,this[_0x154532(0x3f6)]=_0x40d0af,this[_0x154532(0x2bb)](_0x39f393(this[_0x154532(0x366)][_0x154532(0x1d7)](_0xfcd74d[_0x154532(0x31a)])[_0x154532(0x441)](_0x275ba6(_0x2c39e1=>_0x2c39e1[_0x154532(0x41a)]())),this[_0x154532(0x366)][_0x154532(0x1d7)](_0xfcd74d['UNIVER_DOC'])[_0x154532(0x441)](_0x275ba6(_0x23bf43=>_0x23bf43[_0x154532(0x41a)]())),this[_0x154532(0x366)][_0x154532(0x1d7)](_0xfcd74d[_0x154532(0x431)])[_0x154532(0x441)](_0x275ba6(_0x496c23=>_0x496c23[_0x154532(0x41a)]())))[_0x154532(0x21b)](_0x224cf5=>this[_0x154532(0x369)](_0x224cf5))));}[_0x567f8e(0x453)](_0x180d7d){var _0x2dc157=_0x567f8e;return this[_0x2dc157(0x304)][_0x2dc157(0x39b)](_0x180d7d)?_0x2ee864(this[_0x2dc157(0x304)][_0x2dc157(0x33f)](_0x180d7d)):this['_roomCreated$'][_0x2dc157(0x441)](_0x275ba6(_0x358e2f=>{var _0x21e319=_0x2dc157;if(_0x358e2f===_0x180d7d)return this[_0x21e319(0x304)][_0x21e319(0x33f)](_0x358e2f);}));}[_0x567f8e(0x263)](_0x23a06b){this['_userManagerService']['setCurrentUser'](_0x23a06b);}[_0x567f8e(0x466)](){var _0xcd4a=_0x567f8e;return this[_0xcd4a(0x3f6)][_0xcd4a(0x466)]();}[_0x567f8e(0x48f)](_0x3263ba,_0x53a711){var _0x264d7c=_0x567f8e;let _0x5a43e0=this[_0x264d7c(0x304)]['get'](_0x3263ba);_0x5a43e0||(_0x5a43e0=new qn(),this[_0x264d7c(0x304)]['set'](_0x3263ba,_0x5a43e0),this[_0x264d7c(0x40c)][_0x264d7c(0x298)](_0x3263ba)),_0x5a43e0[_0x264d7c(0x48f)](_0x53a711);}[_0x567f8e(0x3f8)](_0x54efd2,_0x4a6e6d){var _0xa219c9=_0x567f8e;const _0x42b215=this[_0xa219c9(0x304)]['get'](_0x54efd2);_0x42b215&&_0x42b215['removeMember'](_0x4a6e6d);}[_0x567f8e(0x1ab)](_0x1d9d17){var _0x5a0bc6=_0x567f8e;return this[_0x5a0bc6(0x304)][_0x5a0bc6(0x33f)](_0x1d9d17);}['getMember'](_0x72e82e,_0x542cd5){var _0x6bfdf3=_0x567f8e;const _0x3e15d1=this[_0x6bfdf3(0x304)][_0x6bfdf3(0x33f)](_0x72e82e);if(_0x3e15d1)return _0x3e15d1[_0x6bfdf3(0x2f8)](_0x542cd5);}[_0x567f8e(0x369)](_0x261487){var _0x5d1861=_0x567f8e;const _0x5d4ad0=this[_0x5d1861(0x304)][_0x5d1861(0x33f)](_0x261487);_0x5d4ad0&&(_0x5d4ad0[_0x5d1861(0x480)](),this[_0x5d1861(0x304)][_0x5d1861(0x46e)](_0x261487));}['dispose'](){var _0x15b361=_0x567f8e;this[_0x15b361(0x304)][_0x15b361(0x416)](_0x21e7c4=>_0x21e7c4[_0x15b361(0x480)]()),this[_0x15b361(0x304)]['clear'](),this[_0x15b361(0x40c)][_0x15b361(0x202)]();}};xe=Yn([Kt(0x0,_0x30dc1f),Kt(0x1,_0x4a37af(_0x3eb7c7))],xe);class qn extends _0x1c474f{constructor(){var _0x4e8a17=_0x567f8e;super(...arguments),N(this,_0x4e8a17(0x47b),new Map()),N(this,_0x4e8a17(0x2e0),new _0x3d7229(this[_0x4e8a17(0x47b)])),N(this,_0x4e8a17(0x307),this[_0x4e8a17(0x2e0)]['asObservable']());}[_0x567f8e(0x480)](){var _0x47d4e1=_0x567f8e;this['_members'][_0x47d4e1(0x325)]();}['updateMember'](_0x3141ac){var _0x4c07d1=_0x567f8e;this['_members'][_0x4c07d1(0x2d2)](_0x3141ac[_0x4c07d1(0x27e)],_0x3141ac),this[_0x4c07d1(0x44c)]();}[_0x567f8e(0x3f8)](_0x23c676){var _0x28c6d3=_0x567f8e;this[_0x28c6d3(0x47b)]['delete'](_0x23c676);}[_0x567f8e(0x2f8)](_0x53e1f0){var _0x524b48=_0x567f8e;return this[_0x524b48(0x47b)]['get'](_0x53e1f0);}['getAllMembers'](){var _0x3196e1=_0x567f8e;return Array[_0x3196e1(0x3c2)](this[_0x3196e1(0x47b)][_0x3196e1(0x39e)]());}['_emitMembers'](){var _0x4dfe3b=_0x567f8e;this[_0x4dfe3b(0x2e0)][_0x4dfe3b(0x298)](this['_members']);}}var zn=Object[_0x567f8e(0x1cc)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x52bb70,_0x2de79c,_0x29cb08,_0x14c034)=>{var _0x205062=_0x567f8e;for(var _0x3d1159=_0x14c034>0x1?void 0x0:_0x14c034?Jn(_0x2de79c,_0x29cb08):_0x2de79c,_0x3bea96=_0x52bb70[_0x205062(0x41d)]-0x1,_0xee6b50;_0x3bea96>=0x0;_0x3bea96--)(_0xee6b50=_0x52bb70[_0x3bea96])&&(_0x3d1159=(_0x14c034?_0xee6b50(_0x2de79c,_0x29cb08,_0x3d1159):_0xee6b50(_0x3d1159))||_0x3d1159);return _0x14c034&&_0x3d1159&&zn(_0x2de79c,_0x29cb08,_0x3d1159),_0x3d1159;},me=(_0x5a0a90,_0x4ff7ab)=>(_0x44060e,_0x145c3b)=>_0x4ff7ab(_0x44060e,_0x145c3b,_0x5a0a90),Te=(_0x3c6493=>(_0x3c6493[_0x3c6493['IDLE']=0x0]='IDLE',_0x3c6493[_0x3c6493[_0x567f8e(0x3ed)]=0x1]=_0x567f8e(0x3ed),_0x3c6493[_0x3c6493[_0x567f8e(0x485)]=0x2]='OFFLINE',_0x3c6493[_0x3c6493['ONLINE']=0x3]=_0x567f8e(0x236),_0x3c6493))(Te||{});const Yt={[Ee[_0x567f8e(0x360)]]:_0x567f8e(0x3a4),[Ee[_0x567f8e(0x3d2)]]:'session.room-full',[Ee['JOIN_ROOM_NOT_EXISTS']]:'session.room-not-exists',[Ee[_0x567f8e(0x417)]]:_0x567f8e(0x447),[Ee[_0x567f8e(0x31d)]]:_0x567f8e(0x290)};let It=class extends _0x56a922{constructor(_0x57aa4f,_0x3a236d,_0x2882a0,_0x595498,_0x2f835e,_0x98efe3,_0x8e4888,_0xf76a1c,_0x1be1e4){var _0x46317b=_0x567f8e;super(),N(this,_0x46317b(0x4a5),new _0x3d7229(0x0)),N(this,_0x46317b(0x30b),this[_0x46317b(0x4a5)]['asObservable']()),N(this,_0x46317b(0x1d0),new _0x241ec3()),N(this,_0x46317b(0x2ea),this[_0x46317b(0x1d0)][_0x46317b(0x36d)]()),N(this,_0x46317b(0x400)),N(this,_0x46317b(0x49c)),N(this,_0x46317b(0x354)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0x46317b(0x385),null),(this['_unitID']=_0x57aa4f,this[_0x46317b(0x30f)]=_0x2882a0,this[_0x46317b(0x424)]=_0x595498,this[_0x46317b(0x49d)]=_0x2f835e,this[_0x46317b(0x439)]=_0x98efe3,this[_0x46317b(0x1ec)]=_0x8e4888,this[_0x46317b(0x3cc)]=_0xf76a1c,this[_0x46317b(0x3bd)]=_0x1be1e4,this['_shouldReportTelemetry']=!!this[_0x46317b(0x3bd)],_0x3a236d[_0x46317b(0x441)](_0x5d94db(this[_0x46317b(0x35d)]))[_0x46317b(0x21b)](_0x1d0320=>{var _0x3cfe63=_0x46317b,_0x100c35;typeof _0x1d0320>'u'||(this[_0x3cfe63(0x400)]=_0x1d0320,_0x1d0320?(this['_joinRoom'](_0x1d0320),this['_socketMessageSubscription']=_0x1d0320[_0x3cfe63(0x36f)][_0x3cfe63(0x21b)](_0x2cc4c1=>{var _0x163366=_0x3cfe63;_0x2cc4c1[_0x163366(0x2a0)]===this[_0x163366(0x1b2)]&&this[_0x163366(0x3db)](_0x2cc4c1);})):(this[_0x3cfe63(0x415)](),this['_sessionStatus$']['next'](0x2),(_0x100c35=this[_0x3cfe63(0x49c)])==null||_0x100c35[_0x3cfe63(0x339)](),this['_socketMessageSubscription']=null));}));}get[_0x567f8e(0x404)](){var _0x187fb0=_0x567f8e;return this[_0x187fb0(0x4a5)][_0x187fb0(0x3da)]();}[_0x567f8e(0x3ae)](){var _0x2efaac=_0x567f8e,_0x25556d,_0x9e712e;return(_0x9e712e=(_0x25556d=this[_0x2efaac(0x400)])==null?void 0x0:_0x25556d[_0x2efaac(0x27e)])!=null?_0x9e712e:null;}[_0x567f8e(0x480)](){var _0x286b8f=_0x567f8e;super[_0x286b8f(0x480)](),this[_0x286b8f(0x35d)][_0x286b8f(0x298)](),this[_0x286b8f(0x35d)]['complete']();}[_0x567f8e(0x3e4)](){var _0x293af4=_0x567f8e,_0x9d47cc,_0x5dc28c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x9d47cc=this[_0x293af4(0x400)])==null||_0x9d47cc['send']({'cmd':F['LEAVE'],'data':{'roomID':this[_0x293af4(0x1b2)]}}),(_0x5dc28c=this[_0x293af4(0x400)])==null||_0x5dc28c[_0x293af4(0x3e4)](),this[_0x293af4(0x1d0)][_0x293af4(0x202)](),this[_0x293af4(0x4a5)][_0x293af4(0x202)](),this['dispose']();}[_0x567f8e(0x3db)](_0x5a1040){var _0x9f0e49=_0x567f8e;_0x5a1040[_0x9f0e49(0x270)]===F[_0x9f0e49(0x2b4)]?this[_0x9f0e49(0x497)](_0x5a1040):_0x5a1040[_0x9f0e49(0x270)]===F[_0x9f0e49(0x3d4)]&&this['_onRecvEvent'](_0x5a1040);}[_0x567f8e(0x306)](_0x5587c4){var _0x28e370=_0x567f8e;this['_sessionStatus$']['next'](0x1),_0x5587c4['send']({'cmd':F['JOIN'],'routeKey':this[_0x28e370(0x1b2)],'routeType':'','data':{'rooms':[{'roomID':this[_0x28e370(0x1b2)]}]}});}['_onJoinRoomEvent'](_0x17b22f){var _0x522ceb=_0x567f8e,_0x3ca57e;if(_0x17b22f[_0x522ceb(0x2e5)]in Yt){this[_0x522ceb(0x3cc)]['emitEvent']({'id':se[_0x522ceb(0x1c3)],'data':Yt[_0x17b22f['code']]}),this[_0x522ceb(0x4a5)][_0x522ceb(0x298)](0x2);return;}this[_0x522ceb(0x4a5)][_0x522ceb(0x298)](0x3);const _0x57462f=(_0x3ca57e=_0x17b22f[_0x522ceb(0x40f)][_0x522ceb(0x239)][this['_unitID']])==null?void 0x0:_0x3ca57e['members'];_0x57462f&&_0x57462f[_0x522ceb(0x416)](_0x4af468=>this[_0x522ceb(0x439)]['updateMember'](this['_unitID'],_0x4af468));}[_0x567f8e(0x2e2)](_0x316ec1){var _0x293682=_0x567f8e;try{const _0x49fe00=_0x316ec1[_0x293682(0x40f)];switch(_0x49fe00[_0x293682(0x379)]){case _0x1b86f2[_0x293682(0x479)]:this[_0x293682(0x3cd)](_0x49fe00),this[_0x293682(0x1d0)]['next'](_0x49fe00);break;case _0x1b86f2[_0x293682(0x1da)]:this['_onUserLeave'](_0x49fe00),this[_0x293682(0x1d0)][_0x293682(0x298)](_0x49fe00);break;case _0x1b86f2[_0x293682(0x2b5)]:case _0x1b86f2[_0x293682(0x2a1)]:this[_0x293682(0x1d6)](),this['_clearCollaborationTimeoutTimer'](),this[_0x293682(0x1d0)][_0x293682(0x298)](_0x49fe00);break;case _0x1b86f2['MSG_FOR_ERROR']:this[_0x293682(0x30f)][_0x293682(0x2c4)](_0x293682(0x2bf)+JSON['stringify'](_0x49fe00)),this[_0x293682(0x1d0)][_0x293682(0x298)](_0x49fe00);break;case _0x1b86f2[_0x293682(0x3c1)]:this[_0x293682(0x1ec)][_0x293682(0x2db)](_0x49fe00[_0x293682(0x40f)]),this[_0x293682(0x1d0)][_0x293682(0x298)](_0x49fe00);break;default:this[_0x293682(0x1d0)][_0x293682(0x298)](_0x49fe00);}}catch(_0x3a3b8d){this[_0x293682(0x30f)][_0x293682(0x2c4)](_0x3a3b8d,_0x316ec1);}}['_onUserJoin'](_0x11fbd4){var _0x45b1fc=_0x567f8e;this['_memberService'][_0x45b1fc(0x48f)](this['_unitID'],_0x11fbd4[_0x45b1fc(0x40f)]);}['_onUserLeave'](_0x387e81){var _0xd2487b=_0x567f8e;this['_memberService'][_0xd2487b(0x3f8)](this[_0xd2487b(0x1b2)],_0x387e81['data'][_0xd2487b(0x27e)]);}async[_0x567f8e(0x456)](_0x54fed4,_0x28f6ea){var _0x2725dc=_0x567f8e;if(this[_0x2725dc(0x404)]!==0x3||!this['_socket'])throw new Error(_0x2725dc(0x372));try{_0x54fed4[_0x2725dc(0x379)]===_0x1b86f2[_0x2725dc(0x1f9)]&&(this['_scheduleCollaborationTimeoutTimer'](),this['_startTelemetryCollaborationNewChangeset'](_0x54fed4)),this[_0x2725dc(0x400)][_0x2725dc(0x456)]({'cmd':F[_0x2725dc(0x2d9)],'routeKey':_0x28f6ea,'routeType':'','data':_0x54fed4});}catch(_0x2b7f76){this[_0x2725dc(0x30f)][_0x2725dc(0x2c4)](_0x2b7f76);}}['_scheduleCollaborationTimeoutTimer'](){var _0x51ad22=_0x567f8e,_0x460d8e;this[_0x51ad22(0x354)]=setTimeout(()=>{var _0xeb8464=_0x51ad22;this[_0xeb8464(0x354)]=null,this[_0xeb8464(0x3cc)][_0xeb8464(0x444)]({'id':se[_0xeb8464(0x312)]});},(_0x460d8e=this[_0x51ad22(0x424)][_0x51ad22(0x4a2)](Si))!=null?_0x460d8e:Ei);}[_0x567f8e(0x3f1)](){var _0x123a7b=_0x567f8e;this[_0x123a7b(0x354)]&&(clearTimeout(this[_0x123a7b(0x354)]),this['_collaborationTimeoutTimer']=null);}[_0x567f8e(0x1fa)](_0x216127){var _0x216839=_0x567f8e;if(!this[_0x216839(0x384)])return;const {data:_0x5cb21b}=_0x216127,{unitID:_0x53ff34,changeset:_0x572b82}=_0x5cb21b,{mutations:_0x5f1481,type:_0x43139e}=_0x572b82;this[_0x216839(0x385)]={'unitId':_0x53ff34,'type':_0x43139e,'startTime':performance[_0x216839(0x282)](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x5f1481)};}[_0x567f8e(0x1d6)](){var _0x5979a3=_0x567f8e;if(this['_shouldReportTelemetry']){if(!this[_0x5979a3(0x385)]){this['_logService']['error'](_0x5979a3(0x427),'telemetry\x20info\x20is\x20not\x20initialized');return;}this['_telemetryInfo'][_0x5979a3(0x2b7)]=performance['now'](),this[_0x5979a3(0x385)]['duration']=this[_0x5979a3(0x385)][_0x5979a3(0x2b7)]-this[_0x5979a3(0x385)][_0x5979a3(0x487)],this[_0x5979a3(0x3bd)][_0x5979a3(0x34e)](Vn,this[_0x5979a3(0x385)]),this['_telemetryInfo']=null;}}[_0x567f8e(0x415)](){var _0x4fa5c3=_0x567f8e;this[_0x4fa5c3(0x385)]=null;}};It=Xn([me(0x2,_0x5994dd),me(0x3,_0x50fa1b),me(0x4,_0x4a37af(_0x53a40f)),me(0x5,_0x4a37af(xe)),me(0x6,_0x4a37af(Ri)),me(0x7,_0x4a37af(pe)),me(0x8,_0xb1a102(_0x5cdddd))],It);var Zn=Object[_0x567f8e(0x1cc)],Qn=Object[_0x567f8e(0x33a)],er=(_0x59539d,_0x22defc,_0x301068,_0xe26841)=>{var _0x31814a=_0x567f8e;for(var _0x147b6b=_0xe26841>0x1?void 0x0:_0xe26841?Qn(_0x22defc,_0x301068):_0x22defc,_0x32dec8=_0x59539d[_0x31814a(0x41d)]-0x1,_0x55e103;_0x32dec8>=0x0;_0x32dec8--)(_0x55e103=_0x59539d[_0x32dec8])&&(_0x147b6b=(_0xe26841?_0x55e103(_0x22defc,_0x301068,_0x147b6b):_0x55e103(_0x147b6b))||_0x147b6b);return _0xe26841&&_0x147b6b&&Zn(_0x22defc,_0x301068,_0x147b6b),_0x147b6b;},ge=(_0x1c133c,_0x3968d7)=>(_0x5824f7,_0x139de3)=>_0x3968d7(_0x5824f7,_0x139de3,_0x1c133c);let Le=class extends _0x1c474f{constructor(_0x129791,_0x594730,_0x5c4136,_0xb96ee,_0x245c01,_0x6640d3,_0x4cf656){var _0xa3c31d=_0x567f8e;super(),N(this,_0xa3c31d(0x308),new _0x3d7229(void 0x0)),N(this,_0xa3c31d(0x1b3),this[_0xa3c31d(0x308)][_0xa3c31d(0x36d)]()),N(this,_0xa3c31d(0x30a),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x3d7229(Te[_0xa3c31d(0x23f)])),N(this,_0xa3c31d(0x467),this[_0xa3c31d(0x2cb)]['asObservable']()),N(this,'_socketReady',!0x1),N(this,_0xa3c31d(0x30c)),N(this,_0xa3c31d(0x20f),0x0),N(this,_0xa3c31d(0x3cb)),N(this,_0xa3c31d(0x1e3)),(this[_0xa3c31d(0x226)]=_0x129791,this['_logService']=_0x594730,this['_configService']=_0x5c4136,this[_0xa3c31d(0x36e)]=_0xb96ee,this[_0xa3c31d(0x331)]=_0x245c01,this['_collaborationUIEventService']=_0x6640d3,this[_0xa3c31d(0x274)]=_0x4cf656,this[_0xa3c31d(0x1d4)]());}get[_0x567f8e(0x400)](){var _0x29e44e=_0x567f8e;return this['_socket$'][_0x29e44e(0x3da)]();}[_0x567f8e(0x1d4)](){var _0x275857=_0x567f8e;this[_0x275857(0x274)]&&this['disposeWithMe'](this['_networkConditionService']['online$'][_0x275857(0x21b)](_0x486aed=>{var _0x29df8f=_0x275857;_0x486aed&&!this[_0x29df8f(0x400)]&&this[_0x29df8f(0x286)](),_0x486aed||this[_0x29df8f(0x3c8)]();}));}[_0x567f8e(0x480)](){var _0x48c59d=_0x567f8e;super[_0x48c59d(0x480)](),this[_0x48c59d(0x29b)][_0x48c59d(0x416)](_0x278112=>_0x278112[_0x48c59d(0x480)]()),this[_0x48c59d(0x29b)][_0x48c59d(0x325)](),this[_0x48c59d(0x2cb)][_0x48c59d(0x202)]();}async[_0x567f8e(0x412)](_0x121318){var _0x466b95=_0x567f8e;if(this[_0x466b95(0x29b)][_0x466b95(0x39b)](_0x121318))return this[_0x466b95(0x29b)][_0x466b95(0x33f)](_0x121318);this[_0x466b95(0x493)]();const _0x4502f4=this[_0x466b95(0x226)]['createInstance'](It,_0x121318,this[_0x466b95(0x308)]['asObservable']());return this['_sessions']['set'](_0x121318,_0x4502f4),_0x4502f4;}['closeSession'](_0x2e71ce){var _0x53e242=_0x567f8e,_0x55a3f5;const _0x1625e2=this['_sessions'][_0x53e242(0x33f)](_0x2e71ce);_0x1625e2&&(this['_sessions'][_0x53e242(0x46e)](_0x2e71ce),_0x1625e2[_0x53e242(0x3e4)]()),this[_0x53e242(0x29b)]['size']||(_0x55a3f5=this[_0x53e242(0x400)])==null||_0x55a3f5[_0x53e242(0x3e4)]();}[_0x567f8e(0x286)](){var _0x34f881=_0x567f8e;this[_0x34f881(0x20f)]=0x0,this[_0x34f881(0x30c)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x34f881(0x30c)]=null),this[_0x34f881(0x49e)]();}async['_getSessionTicket'](){var _0x3b81a2=_0x567f8e,_0x2934e5,_0x14752f,_0x17d747;const _0x2d0485=this['_configService'][_0x3b81a2(0x4a2)](q),_0x2ecdad=(_0x2934e5=_0x2d0485==null?void 0x0:_0x2d0485[_0x3b81a2(0x391)])!=null?_0x2934e5:On;return(_0x17d747=(_0x14752f=(await this[_0x3b81a2(0x331)][_0x3b81a2(0x33f)](_0x2ecdad,{'headers':{'Content-Type':_0x3b81a2(0x452)}}))[_0x3b81a2(0x29f)])==null?void 0x0:_0x14752f[_0x3b81a2(0x1ff)])!=null?_0x17d747:'';}['_createSocketURL'](_0x45e856){var _0x4c9ff9=_0x567f8e,_0x2ddb10,_0x2662e9;const _0x1f8b82=this[_0x4c9ff9(0x424)][_0x4c9ff9(0x4a2)](Rn),_0x5511ff=this[_0x4c9ff9(0x424)][_0x4c9ff9(0x4a2)](q),_0x5d8ed5=(_0x2662e9=(_0x2ddb10=_0x5511ff==null?void 0x0:_0x5511ff[_0x4c9ff9(0x1ca)])!=null?_0x2ddb10:_0x1f8b82)!=null?_0x2662e9:bn,_0x1250c2=typeof window>'u'?new URL(_0x5d8ed5):new URL(_0x5d8ed5,window[_0x4c9ff9(0x38d)]['origin']);_0x1250c2[_0x4c9ff9(0x420)][_0x4c9ff9(0x2d2)](_0x4c9ff9(0x25a),_0x45e856);const _0x9cb070=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4c9ff9(0x496)]);return _0x9cb070[_0x4c9ff9(0x33f)](_0x4c9ff9(0x4a6))&&_0x1250c2[_0x4c9ff9(0x420)][_0x4c9ff9(0x2d2)](_0x4c9ff9(0x4a6),_0x9cb070[_0x4c9ff9(0x33f)](_0x4c9ff9(0x4a6))),_0x1250c2[_0x4c9ff9(0x363)]();}async[_0x567f8e(0x258)](){var _0x515803=_0x567f8e;const _0x45a328=await this[_0x515803(0x387)](),_0x22a4bb=this[_0x515803(0x401)](_0x45a328),_0x333511=this[_0x515803(0x36e)][_0x515803(0x43a)](_0x22a4bb);return this['_candidateSocket']=_0x333511,_0x333511;}async[_0x567f8e(0x493)](){var _0x2fc509=_0x567f8e,_0x284862,_0x40b2c7;try{const _0x55ecf2=(_0x40b2c7=(_0x284862=this[_0x2fc509(0x400)])!=null?_0x284862:this['_candidateSocket'])!=null?_0x40b2c7:await this[_0x2fc509(0x258)]();if(_0x55ecf2){const _0x2e7943=_0x55ecf2[_0x2fc509(0x456)];_0x55ecf2[_0x2fc509(0x456)]=_0x3ecd08=>(this[_0x2fc509(0x237)](),_0x2e7943[_0x2fc509(0x488)](_0x55ecf2,[_0x3ecd08])),_0x55ecf2[_0x2fc509(0x36f)][_0x2fc509(0x21b)](_0x3193b0=>this[_0x2fc509(0x260)](_0x55ecf2,_0x3193b0)),_0x55ecf2[_0x2fc509(0x4a8)]['pipe'](_0x3ca583(0x1))[_0x2fc509(0x21b)](_0x1d2c7b=>this[_0x2fc509(0x30f)]['error'](_0x2fc509(0x436),_0x1d2c7b)),_0x55ecf2[_0x2fc509(0x324)][_0x2fc509(0x441)](_0x3ca583(0x1))['subscribe'](()=>{var _0x535cbd=_0x2fc509;this[_0x535cbd(0x47c)](_0x55ecf2);}),_0x55ecf2[_0x2fc509(0x2f3)]['pipe'](_0x3ca583(0x1))['subscribe'](_0xfd081c=>{var _0x3fae6f=_0x2fc509;this[_0x3fae6f(0x30f)][_0x3fae6f(0x1f5)](_0x3fae6f(0x451),_0x3fae6f(0x3f5),_0xfd081c),this['_onConnectionFailed']();});}}catch(_0x3d542f){this[_0x2fc509(0x30f)][_0x2fc509(0x2c4)](_0x3d542f),this[_0x2fc509(0x2c6)]();}}[_0x567f8e(0x47c)](_0x1b14b4){var _0x206568=_0x567f8e;this[_0x206568(0x30f)][_0x206568(0x1f5)]('[CollaborationSessionService]',_0x206568(0x311)),_0x1b14b4[_0x206568(0x456)]({'cmd':F[_0x206568(0x3ee)]}),this[_0x206568(0x237)]();}[_0x567f8e(0x3c8)](){var _0x451ede=_0x567f8e;this[_0x451ede(0x231)]=!0x1,this[_0x451ede(0x30a)]=null,this[_0x451ede(0x2cb)][_0x451ede(0x298)](Te[_0x451ede(0x485)]),this[_0x451ede(0x308)][_0x451ede(0x298)](null),this[_0x451ede(0x3c5)](),this[_0x451ede(0x449)]();}[_0x567f8e(0x2c6)](){var _0x51e054=_0x567f8e,_0x206525;this[_0x51e054(0x3c8)](),this[_0x51e054(0x20f)]<((_0x206525=this[_0x51e054(0x424)][_0x51e054(0x4a2)](Pn))!=null?_0x206525:wn)?(this['_collaborationUIEventService'][_0x51e054(0x444)]({'id':se[_0x51e054(0x1de)]}),this[_0x51e054(0x49e)]()):this[_0x51e054(0x3cc)][_0x51e054(0x444)]({'id':se[_0x51e054(0x2ab)]});}['_tryReconnect'](){var _0xbd6a86=_0x567f8e,_0x4eb239;const _0x59406b=this[_0xbd6a86(0x20f)],_0x334573=this[_0xbd6a86(0x424)][_0xbd6a86(0x4a2)](q),_0x4bdd81=_0x59406b===0x0?0x0:((_0x4eb239=_0x334573==null?void 0x0:_0x334573[_0xbd6a86(0x230)])!=null?_0x4eb239:Dn)*0x2**_0x59406b;this['_retryConnectingTimer']=setTimeout(()=>{var _0x6ecd=_0xbd6a86;clearTimeout(this['_retryConnectingTimer']),this[_0x6ecd(0x30c)]=null,this['_tryEnsureSocket']();},_0x4bdd81),this['_retryCount']+=0x1;}[_0x567f8e(0x260)](_0x116de8,_0x5c1846){var _0x52cc6c=_0x567f8e;const {cmd:_0x510906}=_0x5c1846;_0x510906===F[_0x52cc6c(0x3ee)]&&!this['_socketReady']&&(_0x116de8[_0x52cc6c(0x27e)]=_0x5c1846[_0x52cc6c(0x40f)][_0x52cc6c(0x27e)],this[_0x52cc6c(0x308)][_0x52cc6c(0x298)](_0x116de8),this['_status$']['next'](Te[_0x52cc6c(0x236)]),this[_0x52cc6c(0x231)]=!0x0,this[_0x52cc6c(0x30a)]=null),_0x510906===F[_0x52cc6c(0x3cf)]&&this['_clearTimeoutTimer'](),this['_rescheduleHeartbeat']();}[_0x567f8e(0x237)](){var _0x3c540e=_0x567f8e,_0xc8bcb;this['_clearHeartbeatTimer'](),this[_0x3c540e(0x3cb)]=setTimeout(()=>this[_0x3c540e(0x1c5)](),(_0xc8bcb=this[_0x3c540e(0x424)][_0x3c540e(0x4a2)](yn))!=null?_0xc8bcb:Nn);}[_0x567f8e(0x1c5)](){var _0x5a2570=_0x567f8e;this[_0x5a2570(0x400)][_0x5a2570(0x456)]({'cmd':F[_0x5a2570(0x3cf)]}),this[_0x5a2570(0x201)]();}[_0x567f8e(0x201)](){var _0x4ca587=_0x567f8e,_0xe61197;this[_0x4ca587(0x1e3)]=setTimeout(()=>this[_0x4ca587(0x2c6)](),(_0xe61197=this['_configService']['getConfig'](Si))!=null?_0xe61197:Ei);}[_0x567f8e(0x449)](){var _0x1e8de9=_0x567f8e;this[_0x1e8de9(0x3cb)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1e8de9(0x3cb)]=null);}[_0x567f8e(0x3c5)](){var _0x1c21c9=_0x567f8e;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x1c21c9(0x1e3)]),this[_0x1c21c9(0x1e3)]=null);}};Le=er([ge(0x0,_0x4a37af(_0x2baf1e)),ge(0x1,_0x5994dd),ge(0x2,_0x50fa1b),ge(0x3,Ci),ge(0x4,_0x4a37af(_0x470993)),ge(0x5,_0x4a37af(pe)),ge(0x6,_0xb1a102(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x567f8e(0x430)]((n+0x100)[_0x567f8e(0x363)](0x10)[_0x567f8e(0x448)](0x1));function tr(_0x3eff7d,_0x3cf0f0=0x0){var _0x3b7884=_0x567f8e;return(V[_0x3eff7d[_0x3cf0f0+0x0]]+V[_0x3eff7d[_0x3cf0f0+0x1]]+V[_0x3eff7d[_0x3cf0f0+0x2]]+V[_0x3eff7d[_0x3cf0f0+0x3]]+'-'+V[_0x3eff7d[_0x3cf0f0+0x4]]+V[_0x3eff7d[_0x3cf0f0+0x5]]+'-'+V[_0x3eff7d[_0x3cf0f0+0x6]]+V[_0x3eff7d[_0x3cf0f0+0x7]]+'-'+V[_0x3eff7d[_0x3cf0f0+0x8]]+V[_0x3eff7d[_0x3cf0f0+0x9]]+'-'+V[_0x3eff7d[_0x3cf0f0+0xa]]+V[_0x3eff7d[_0x3cf0f0+0xb]]+V[_0x3eff7d[_0x3cf0f0+0xc]]+V[_0x3eff7d[_0x3cf0f0+0xd]]+V[_0x3eff7d[_0x3cf0f0+0xe]]+V[_0x3eff7d[_0x3cf0f0+0xf]])[_0x3b7884(0x2ca)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x3d9684=_0x567f8e;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x3d9684(0x2c7));ut=crypto['getRandomValues'][_0x3d9684(0x393)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x567f8e(0x44f)]&&crypto[_0x567f8e(0x44f)][_0x567f8e(0x393)](crypto),qt={'randomUUID':rr};function sr(_0x38e85a,_0x106c62,_0x34fed1){var _0x5aae5b=_0x567f8e,_0xa3fe92,_0x414c33,_0x3cb657;if(qt['randomUUID']&&!_0x38e85a)return qt[_0x5aae5b(0x44f)]();_0x38e85a=_0x38e85a||{};const _0x3ac05e=(_0x3cb657=(_0x414c33=_0x38e85a['random'])!=null?_0x414c33:(_0xa3fe92=_0x38e85a[_0x5aae5b(0x317)])==null?void 0x0:_0xa3fe92[_0x5aae5b(0x3b0)](_0x38e85a))!=null?_0x3cb657:nr();if(_0x3ac05e[_0x5aae5b(0x41d)]<0x10)throw new Error(_0x5aae5b(0x49b));return _0x3ac05e[0x6]=_0x3ac05e[0x6]&0xf|0x40,_0x3ac05e[0x8]=_0x3ac05e[0x8]&0x3f|0x80,tr(_0x3ac05e);}const J=_0x48ee6b(_0x567f8e(0x32f));function so(_0x4fae21){var _0x5713ac=_0x567f8e;return _0x5713ac(0x2fe)+_0x4fae21;}var or=Object['defineProperty'],ar=Object[_0x567f8e(0x33a)],cr=(_0x49d9a2,_0x15c650,_0x58dbd3,_0x48342d)=>{var _0x58c6be=_0x567f8e;for(var _0x46b7a2=_0x48342d>0x1?void 0x0:_0x48342d?ar(_0x15c650,_0x58dbd3):_0x15c650,_0x24e33b=_0x49d9a2[_0x58c6be(0x41d)]-0x1,_0x2d5d25;_0x24e33b>=0x0;_0x24e33b--)(_0x2d5d25=_0x49d9a2[_0x24e33b])&&(_0x46b7a2=(_0x48342d?_0x2d5d25(_0x15c650,_0x58dbd3,_0x46b7a2):_0x2d5d25(_0x46b7a2))||_0x46b7a2);return _0x48342d&&_0x46b7a2&&or(_0x15c650,_0x58dbd3,_0x46b7a2),_0x46b7a2;},dt=(_0x39267e,_0x4bf896)=>(_0x572964,_0x253733)=>_0x4bf896(_0x572964,_0x253733,_0x39267e);function hr(_0x116530){var _0x3f9957=_0x567f8e;const {unitID:_0x41fcba,mutations:_0x320192}=_0x116530;return{'unitId':_0x41fcba,'subUnitId':_0x320192[0x0][_0x3f9957(0x2af)][_0x3f9957(0x22e)]};}let it=class{constructor(_0x25bfa7,_0x5a7871,_0x5e0f50){var _0x4fec5e=_0x567f8e;this[_0x4fec5e(0x226)]=_0x25bfa7,this[_0x4fec5e(0x2e9)]=_0x5a7871,this[_0x4fec5e(0x2f2)]=_0x5e0f50;}[_0x567f8e(0x25d)](_0x4157d1){var _0x17d2f7=_0x567f8e,_0x5f31c4,_0x389f07,_0x452241,_0x59d040;const _0x39d361=this['_injector'][_0x17d2f7(0x33f)](_0x4bf0e8),{unitId:_0x4a7624,subUnitId:_0x41d300}=hr(_0x4157d1),_0x59ce10=_0x39d361==null?void 0x0:_0x39d361[_0x17d2f7(0x259)](_0x4a7624)[_0x17d2f7(0x4a4)](),_0x424389=(_0x389f07=(_0x5f31c4=this[_0x17d2f7(0x2f2)][_0x17d2f7(0x337)](_0x4a7624))==null?void 0x0:_0x5f31c4['getActiveSheet']())==null?void 0x0:_0x389f07[_0x17d2f7(0x313)]();if(_0x59ce10['length']===0x0||!_0x4a7624||!_0x41d300)return;const _0xd315dc=[{'id':_0x15f1ef['id'],'params':{'unitId':_0x4a7624,'subUnitId':_0x424389,'selections':_0x175f16[_0x17d2f7(0x3a1)](_0x59ce10)}}],_0x43b19c=this[_0x17d2f7(0x2e9)][_0x17d2f7(0x3d6)](_0x4157d1,_0xd315dc);if(!_0x1dc95c(_0x43b19c))throw _0x43b19c[_0x17d2f7(0x2c4)];const _0x4d8824=(_0x59d040=(_0x452241=_0x43b19c[_0x17d2f7(0x437)][0x0])==null?void 0x0:_0x452241[_0x17d2f7(0x2af)])==null?void 0x0:_0x59d040[_0x17d2f7(0x43f)];if(Array[_0x17d2f7(0x25e)](_0x4d8824)&&_0x4d8824[_0x17d2f7(0x41d)]){if(_0x4d8824[_0x17d2f7(0x41d)]===_0xd315dc[0x0][_0x17d2f7(0x2af)][_0x17d2f7(0x43f)][_0x17d2f7(0x41d)]&&_0x4d8824[_0x17d2f7(0x1d1)]((_0x10c8da,_0x36461d)=>_0x3f7068[_0x17d2f7(0x3ba)](_0x10c8da[_0x17d2f7(0x371)],_0xd315dc[0x0][_0x17d2f7(0x2af)][_0x17d2f7(0x43f)][_0x36461d][_0x17d2f7(0x371)])))return;this['_injector'][_0x17d2f7(0x33f)](_0x38686f)[_0x17d2f7(0x23b)](_0x15f1ef['id'],{'unitId':_0x4a7624,'subUnitId':_0x424389,'selections':_0x4d8824});}}};it=cr([dt(0x0,_0x4a37af(_0x2baf1e)),dt(0x1,_0x500db7),dt(0x2,_0x30dc1f)],it);const ht=_0x48ee6b(_0x567f8e(0x3e7));var bi=(_0x16b268=>(_0x16b268[_0x16b268[_0x567f8e(0x22c)]=0x0]=_0x567f8e(0x22c),_0x16b268[_0x16b268['OTHER_CLIENTS_EDITING']=0x1]=_0x567f8e(0x225),_0x16b268))(bi||{});const _r=new Set([_0x4c979f['id']]);function zt(_0x246055,_0x1bdcc5,_0x577765,_0x55efdc,_0x106d7c){var _0x596518=_0x567f8e,_0x437aeb,_0x48715c,_0x5a5447,_0x2a6800;const _0x1e21d1=[];for(const _0x304d3a of _0x246055)if(_r[_0x596518(0x39b)](_0x304d3a['id'])){if(_0x1e21d1[_0x596518(0x41d)]>0x0)break;_0x1e21d1[_0x596518(0x430)](_0x304d3a);break;}else _0x1e21d1[_0x596518(0x430)](_0x304d3a);const _0x54ace3=(_0x48715c=(_0x437aeb=_0x106d7c[_0x596518(0x466)]())==null?void 0x0:_0x437aeb[_0x596518(0x368)])!=null?_0x48715c:'unknown',_0x5706a8=(_0x2a6800=(_0x5a5447=_0x106d7c[_0x596518(0x466)]())==null?void 0x0:_0x5a5447['memberID'])!=null?_0x2a6800:'unknown';return{'changeset':{'unitID':_0x1bdcc5,'type':_0x5a1376(_0x577765['getUnitType'](_0x1bdcc5)),'baseRev':_0x55efdc['getCurrentRevOfUnit'](_0x1bdcc5),'revision':0x0,'userID':_0x54ace3,'memberID':_0x5706a8,'mutations':_0x1e21d1},'pendingMutations':_0x246055[_0x596518(0x448)](_0x1e21d1[_0x596518(0x41d)])};}function lr(_0x4fb7c9,_0x513e95,_0x37c2c1,_0x5bc221,_0x30084e){var _0x6881b=_0x567f8e,_0xac816c,_0x1cbf83,_0x11be60,_0x47515f;const _0x27f6fe=[_0x4fb7c9['reduce']((_0xc2adcb,_0x543949)=>{var _0x43368f=_0x1e98,_0x5b8f8e;const {id:_0x396d47}=_0xc2adcb,{id:_0x3fc92a,type:_0x1b6cb8}=_0x543949,_0x23f638=(_0x5b8f8e=_0xc2adcb['params'])!=null?_0x5b8f8e:{'actions':null},_0x28ad1c=_0x543949['params'];if(_0x396d47&&_0x396d47!==_0x3fc92a)throw new Error(_0x43368f(0x2dc)+_0x396d47+'\x20-\x20'+_0x3fc92a+'.');return{..._0xc2adcb,'id':_0x3fc92a,'type':_0x1b6cb8,'params':{'unitId':_0x28ad1c['unitId'],'textRanges':_0x28ad1c[_0x43368f(0x36a)],'actions':_0x58991b[_0x43368f(0x336)](_0x23f638['actions'],_0x28ad1c['actions'])}};},{})],_0x103b06=(_0x1cbf83=(_0xac816c=_0x30084e['getCurrentUser']())==null?void 0x0:_0xac816c[_0x6881b(0x368)])!=null?_0x1cbf83:_0x6881b(0x206),_0x329ca9=(_0x47515f=(_0x11be60=_0x30084e['getCurrentUser']())==null?void 0x0:_0x11be60[_0x6881b(0x27e)])!=null?_0x47515f:'unknown';return{'changeset':{'unitID':_0x513e95,'type':_0x5a1376(_0x37c2c1[_0x6881b(0x1e1)](_0x513e95)),'baseRev':_0x5bc221['getCurrentRevOfUnit'](_0x513e95),'revision':0x0,'userID':_0x103b06,'memberID':_0x329ca9,'mutations':_0x27f6fe},'pendingMutations':[]};}function Oi(_0xb918fa,_0xcd8c98){var _0x15301a=_0x567f8e;const _0x760b1b=new _0x4ea224(0x1);return setTimeout(()=>_0x760b1b[_0x15301a(0x298)](_0xcd8c98),_0xb918fa),_0x760b1b['asObservable']()[_0x15301a(0x441)](_0x440834(0x1));}const ur={'id':_0x2acbcc['id'],'type':_0x53c6d0[_0x567f8e(0x44b)],'params':{}};var dr=Object[_0x567f8e(0x1cc)],fr=Object[_0x567f8e(0x33a)],Re=(_0x5f1a43,_0x261858,_0x26bbfd,_0x36b39e)=>{var _0x171ce6=_0x567f8e;for(var _0x2b231b=_0x36b39e>0x1?void 0x0:_0x36b39e?fr(_0x261858,_0x26bbfd):_0x261858,_0x2a5906=_0x5f1a43[_0x171ce6(0x41d)]-0x1,_0x288bed;_0x2a5906>=0x0;_0x2a5906--)(_0x288bed=_0x5f1a43[_0x2a5906])&&(_0x2b231b=(_0x36b39e?_0x288bed(_0x261858,_0x26bbfd,_0x2b231b):_0x288bed(_0x2b231b))||_0x2b231b);return _0x36b39e&&_0x2b231b&&dr(_0x261858,_0x26bbfd,_0x2b231b),_0x2b231b;},A=(_0x14d5ea,_0x59614e)=>(_0x252cf1,_0x2bb3e6)=>_0x59614e(_0x252cf1,_0x2bb3e6,_0x14d5ea),yi=(_0x35ba98=>(_0x35ba98['NOT_COLLAB']=_0x567f8e(0x28e),_0x35ba98[_0x567f8e(0x207)]='synced',_0x35ba98[_0x567f8e(0x39f)]='pending',_0x35ba98['AWAITING']=_0x567f8e(0x28d),_0x35ba98[_0x567f8e(0x2cd)]='awaiting_with_pending',_0x35ba98[_0x567f8e(0x1eb)]=_0x567f8e(0x49a),_0x35ba98[_0x567f8e(0x2ad)]=_0x567f8e(0x429),_0x35ba98[_0x567f8e(0x485)]=_0x567f8e(0x460),_0x35ba98))(yi||{});const Ni=0xea60;class be{constructor(_0x3b7e2b,_0xcbb109,_0x1163ab,_0x42ea00,_0x120a90,_0x291d83,_0x2e746b,_0x62150,_0x16fff3){var _0x544a26=_0x567f8e;N(this,_0x544a26(0x3e3),null),N(this,'_pendingMutations',[]),(this[_0x544a26(0x34f)]=_0x3b7e2b,this['type']=_0xcbb109,this[_0x544a26(0x37d)]=_0x120a90,this[_0x544a26(0x24e)]=_0x291d83,this['_undoRedoService']=_0x2e746b,this[_0x544a26(0x2fb)]=_0x62150,this[_0x544a26(0x469)]=_0x16fff3,this[_0x544a26(0x3e3)]=_0x1163ab,this['_pendingMutations']=_0x42ea00);}[_0x567f8e(0x346)](_0x3157d3){var _0x35c50a=_0x567f8e;const _0x333b06=this['_revisionService'][_0x35c50a(0x2ef)](this[_0x35c50a(0x34f)]);return _0x3157d3[_0x35c50a(0x1ed)]>_0x333b06+0x1?(this['_handler']['onMissingChangesets']({'from':_0x333b06,'to':_0x3157d3[_0x35c50a(0x1ed)]-0x1}),!0x0):!0x1;}[_0x567f8e(0x406)](_0x1e3de2){var _0x159f48=_0x567f8e;this[_0x159f48(0x2b6)]['transformUndoRedo'](this[_0x159f48(0x34f)],_0x1e3de2);}[_0x567f8e(0x3d3)](_0x59b551){var _0x2f7a11=_0x567f8e,_0x173a90,_0x202291;(_0x202291=(_0x173a90=this[_0x2f7a11(0x37d)])[_0x2f7a11(0x1b6)])==null||_0x202291[_0x2f7a11(0x3b0)](_0x173a90,_0x59b551);}[_0x567f8e(0x42c)](_0x2c6bcd){var _0x29e9a8=_0x567f8e,_0x45d6dd,_0x186abf;return(_0x186abf=(_0x45d6dd=this['_handler'])[_0x29e9a8(0x3ce)])==null?void 0x0:_0x186abf[_0x29e9a8(0x3b0)](_0x45d6dd,_0x2c6bcd);}[_0x567f8e(0x3ea)](_0x3c7887){var _0x452fc9=_0x567f8e,_0x379d37,_0x384c16;return(_0x384c16=(_0x379d37=this[_0x452fc9(0x37d)])[_0x452fc9(0x407)])==null?void 0x0:_0x384c16[_0x452fc9(0x3b0)](_0x379d37,_0x3c7887);}[_0x567f8e(0x211)](_0x3a4bcc){var _0x1d9812=_0x567f8e,_0x5127ef,_0x2972a8,_0x192fa9;return(_0x192fa9=(_0x2972a8=(_0x5127ef=this[_0x1d9812(0x37d)])[_0x1d9812(0x1f7)])==null?void 0x0:_0x2972a8[_0x1d9812(0x3b0)](_0x5127ef,_0x3a4bcc))!=null?_0x192fa9:_0x3a4bcc;}[_0x567f8e(0x1cd)](_0x1cc7da){var _0x2cfa45=_0x567f8e,_0x52bacc,_0x4c3c3a,_0x3e3e89;return(_0x3e3e89=(_0x4c3c3a=(_0x52bacc=this[_0x2cfa45(0x37d)])[_0x2cfa45(0x484)])==null?void 0x0:_0x4c3c3a[_0x2cfa45(0x3b0)](_0x52bacc,_0x1cc7da))!=null?_0x3e3e89:_0x1cc7da;}[_0x567f8e(0x25f)](_0x4c928e){var _0x4a47a4=_0x567f8e,_0xda7c7c,_0x3302fa;if(this[_0x4a47a4(0x219)]===Q[_0x4a47a4(0x2a2)]){const {unitID:_0x43ca09,mutations:_0x2c0ed9,memberID:_0x3a76ef}=_0x4c928e,_0x29ed86=_0x2c0ed9[0x0]['params']['textRanges'];Array[_0x4a47a4(0x25e)](_0x29ed86)&&_0x29ed86[_0x4a47a4(0x41d)]>0x0&&((_0x3302fa=(_0xda7c7c=this[_0x4a47a4(0x37d)])[_0x4a47a4(0x252)])==null||_0x3302fa[_0x4a47a4(0x3b0)](_0xda7c7c,{'unitID':_0x43ca09,'memberID':_0x3a76ef,'textRanges':_0x29ed86}));}}[_0x567f8e(0x1ef)](){var _0x33dc62=_0x567f8e,_0x269fb1;(_0x269fb1=this['_localCacheService'])==null||_0x269fb1[_0x33dc62(0x345)](this[_0x33dc62(0x34f)],this[_0x33dc62(0x219)],this[_0x33dc62(0x3e3)],this[_0x33dc62(0x445)]);}[_0x567f8e(0x329)](){var _0x320057=_0x567f8e;return this['_revisionService'][_0x320057(0x2ef)](this[_0x320057(0x34f)]);}['_incrementRevisionNumber'](){var _0x3107ce=_0x567f8e;this[_0x3107ce(0x2fb)][_0x3107ce(0x402)](this['unitID']);}['_executeRemoteChangeset'](_0x4e22aa){var _0x3ce58f=_0x567f8e,_0x31f952;let _0xe36e0e=this[_0x3ce58f(0x211)](_0x4e22aa);_0xe36e0e=this[_0x3ce58f(0x1cd)](_0xe36e0e);const _0x21bed6=_0x132ffa(_0xe36e0e[_0x3ce58f(0x251)],this['_commandService'],{'fromCollab':!0x0});if(!_0x21bed6[_0x3ce58f(0x1c4)])throw _0x21bed6['error']instanceof Error?_0x21bed6['error']:new Error((_0x31f952=_0x21bed6[_0x3ce58f(0x2c4)])!=null?_0x31f952:_0x3ce58f(0x46a));this['_transformIMECache'](_0xe36e0e),this[_0x3ce58f(0x3ea)](_0xe36e0e),this[_0x3ce58f(0x406)](_0x4e22aa),this[_0x3ce58f(0x3d3)](_0xe36e0e),this[_0x3ce58f(0x25f)](_0xe36e0e),this[_0x3ce58f(0x3d7)]();}}let De=class extends be{constructor(_0x1d0a18,_0xa30dab,_0x340635,_0x109227,_0x3231d0,_0x342781,_0x1226be,_0x2820a4,_0x1a5389,_0x336cf4){var _0x119718=_0x567f8e;super(_0x1d0a18,_0xa30dab,null,[],_0x340635,_0x1226be,_0x342781,_0x109227,_0x336cf4),N(this,_0x119718(0x356),'synced'),(this[_0x119718(0x226)]=_0x3231d0,this[_0x119718(0x30f)]=_0x2820a4,this[_0x119718(0x2e9)]=_0x1a5389,this[_0x119718(0x43d)]=_0x336cf4);}[_0x567f8e(0x224)](_0x2bb687){var _0x5d9dea=_0x567f8e;const _0x47d1d1=this[_0x5d9dea(0x226)][_0x5d9dea(0x1e2)](oe,this[_0x5d9dea(0x34f)],this[_0x5d9dea(0x219)],[_0x2bb687],this[_0x5d9dea(0x37d)]);return _0x47d1d1[_0x5d9dea(0x255)](),_0x47d1d1['_updateLocalCache'](),_0x47d1d1;}[_0x567f8e(0x472)](_0x42a7ae){var _0x3b6278=_0x567f8e;if(this[_0x3b6278(0x346)](_0x42a7ae))return this[_0x3b6278(0x226)]['createInstance'](te,this['unitID'],this['type'],null,[],null,[_0x42a7ae],this['_handler']);try{const _0x356e5b=this['_transformService'][_0x3b6278(0x3d6)](_0x42a7ae,[ur]);if(_0x1dc95c(_0x356e5b)){const {c1Prime:_0xbab6f6}=_0x356e5b;return this[_0x3b6278(0x2bd)](_0xbab6f6),this;}throw _0x356e5b[_0x3b6278(0x2c4)];}catch(_0x2db81f){return this['_logService'][_0x3b6278(0x2c4)](_0x2db81f),this[_0x3b6278(0x3b1)](!0x1);}}['_onConflict'](_0x7e4289){var _0x17f51e=_0x567f8e;return this[_0x17f51e(0x226)]['createInstance'](de,this[_0x17f51e(0x34f)],this[_0x17f51e(0x219)],null,[],this['_handler'],_0x7e4289);}['onRemoteAck'](){var _0x197090=_0x567f8e;throw new Error(_0x197090(0x27c));}['onRemoteRej'](){var _0x3d5118=_0x567f8e;throw new Error(_0x3d5118(0x1ad));}[_0x567f8e(0x43c)](){return this;}[_0x567f8e(0x205)](){var _0x5d0cd2=_0x567f8e;return this['_injector'][_0x5d0cd2(0x1e2)](fe,this[_0x5d0cd2(0x34f)],this[_0x5d0cd2(0x219)],null,[],this['_handler']);}[_0x567f8e(0x2d8)](){return this;}[_0x567f8e(0x3ab)](){var _0xf40e2d=_0x567f8e;throw new Error(_0xf40e2d(0x32c));}['fetchMiss'](){var _0x2b1277=_0x567f8e;const _0x263392=this[_0x2b1277(0x2fb)][_0x2b1277(0x2ef)](this[_0x2b1277(0x34f)]);return this[_0x2b1277(0x37d)][_0x2b1277(0x2fc)]({'from':_0x263392,'to':0x0}),this[_0x2b1277(0x226)][_0x2b1277(0x1e2)](te,this[_0x2b1277(0x34f)],this['type'],null,[],null,[],this[_0x2b1277(0x37d)]);}};De=Re([A(0x3,_0x4a37af(_0x4284c4)),A(0x4,_0x4a37af(_0x2baf1e)),A(0x5,_0x334148),A(0x6,_0x38686f),A(0x7,_0x5994dd),A(0x8,_0x500db7),A(0x9,_0xb1a102(J))],De);let oe=class extends be{constructor(_0xfccdcf,_0x1e08a4,_0x4716f1,_0x2dfabf,_0x44d2a5,_0x5f0b5f,_0x273f2d,_0x5966ae,_0xf01d2e,_0x538261,_0xc1c97b,_0x30c375,_0x57496b,_0x5dbcde){var _0xa4578c=_0x567f8e;super(_0xfccdcf,_0x1e08a4,null,_0x4716f1,_0x2dfabf,_0xf01d2e,_0x57496b,_0x5f0b5f,_0x5dbcde),N(this,'status','pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,_0xa4578c(0x45f),null),(this[_0xa4578c(0x226)]=_0x44d2a5,this[_0xa4578c(0x439)]=_0x273f2d,this['_logService']=_0x5966ae,this[_0xa4578c(0x424)]=_0x538261,this[_0xa4578c(0x2e9)]=_0xc1c97b,this[_0xa4578c(0x366)]=_0x30c375);}[_0x567f8e(0x224)](_0x1af279){var _0x402c76=_0x567f8e;return this[_0x402c76(0x445)][_0x402c76(0x430)](_0x1af279),this[_0x402c76(0x1ef)](),this;}[_0x567f8e(0x472)](_0x2d8bc8){var _0x3a014d=_0x567f8e;if(this['_checkMissing'](_0x2d8bc8))return this[_0x3a014d(0x462)](),this[_0x3a014d(0x226)][_0x3a014d(0x1e2)](te,this['unitID'],this[_0x3a014d(0x219)],null,this[_0x3a014d(0x445)],null,[_0x2d8bc8],this[_0x3a014d(0x37d)]);try{const _0x2116a4=this[_0x3a014d(0x2e9)][_0x3a014d(0x3d6)](_0x2d8bc8,this['_pendingMutations']);if(_0x1dc95c(_0x2116a4)){const {c1Prime:_0x3daf8e,m2Prime:_0x20c344}=_0x2116a4;this[_0x3a014d(0x2bd)](_0x3daf8e);const _0xc41d46=this[_0x3a014d(0x226)]['createInstance'](oe,this[_0x3a014d(0x34f)],this['type'],_0x20c344,this[_0x3a014d(0x37d)]);this[_0x3a014d(0x462)]();const _0x57eb38=new Date()['getTime'](),_0x5e4884=this[_0x3a014d(0x1af)]?Math[_0x3a014d(0x287)](this[_0x3a014d(0x1af)]-_0x57eb38,0x0):this[_0x3a014d(0x3d0)]();return _0xc41d46[_0x3a014d(0x255)](_0x5e4884),_0xc41d46;}throw _0x2116a4[_0x3a014d(0x2c4)];}catch(_0x3934dc){return this[_0x3a014d(0x30f)]['error'](_0x3934dc),this[_0x3a014d(0x3b1)](!0x1);}}[_0x567f8e(0x2eb)](){var _0x56c8b7=_0x567f8e;throw new Error(_0x56c8b7(0x353));}[_0x567f8e(0x499)](){var _0x341ef3=_0x567f8e;throw new Error(_0x341ef3(0x440));}['onRemoteRetry'](){return this;}['toggleOffline'](){var _0x4e88e8=_0x567f8e;return this['_clearScheduledTask'](),this[_0x4e88e8(0x226)][_0x4e88e8(0x1e2)](fe,this[_0x4e88e8(0x34f)],this[_0x4e88e8(0x219)],null,this[_0x4e88e8(0x445)],this[_0x4e88e8(0x37d)]);}[_0x567f8e(0x2d8)](){return this;}[_0x567f8e(0x255)](_0x55322c){var _0x537473=_0x567f8e;const _0x5f017e=_0x55322c!=null?_0x55322c:this[_0x537473(0x3d0)]();this[_0x537473(0x1af)]=new Date()[_0x537473(0x2a3)]()+_0x5f017e,this[_0x537473(0x45f)]=setTimeout(()=>{var _0x56c6e8=_0x537473;this[_0x56c6e8(0x462)]();let _0x21ccc5=null;switch(this['type']){case Q['UNIVER_SHEET']:{_0x21ccc5=zt(this['_pendingMutations'],this['unitID'],this[_0x56c6e8(0x366)],this[_0x56c6e8(0x2fb)],this[_0x56c6e8(0x439)]);break;}case Q[_0x56c6e8(0x2a2)]:{this[_0x56c6e8(0x445)][_0x56c6e8(0x1d1)](_0x251c72=>_0x251c72['id']===_0x83d214['id'])?_0x21ccc5=lr(this[_0x56c6e8(0x445)],this[_0x56c6e8(0x34f)],this['_univerInstanceService'],this[_0x56c6e8(0x2fb)],this[_0x56c6e8(0x439)]):_0x21ccc5=zt(this['_pendingMutations'],this[_0x56c6e8(0x34f)],this[_0x56c6e8(0x366)],this[_0x56c6e8(0x2fb)],this['_memberService']);break;}default:throw new Error('[PendingState]:\x20unhandled\x20univer\x20type:\x20'+this[_0x56c6e8(0x219)]+'\x20in\x20_schedule.');}const {changeset:_0x9a9201,pendingMutations:_0x4d554f}=_0x21ccc5;this['_handler'][_0x56c6e8(0x22a)](_0x9a9201);const _0xab341b=_0x4d554f[_0x56c6e8(0x41d)]?this[_0x56c6e8(0x226)][_0x56c6e8(0x1e2)](ae,this[_0x56c6e8(0x34f)],this['type'],_0x9a9201,_0x4d554f,this[_0x56c6e8(0x37d)],void 0x0):this[_0x56c6e8(0x226)]['createInstance'](ue,this[_0x56c6e8(0x34f)],this[_0x56c6e8(0x219)],_0x9a9201,this['_handler']);_0xab341b['_updateLocalCache'](),this[_0x56c6e8(0x37d)]['onStateChange'](this,_0xab341b);},_0x5f017e);}[_0x567f8e(0x3d0)](){var _0x2ba3ab=_0x567f8e,_0x5e72be;const _0x44db2c=this[_0x2ba3ab(0x424)]['getConfig'](q);return(_0x5e72be=_0x44db2c==null?void 0x0:_0x44db2c[_0x2ba3ab(0x3f4)])!=null?_0x5e72be:Cn;}[_0x567f8e(0x3ab)](){var _0x449c2f=_0x567f8e;throw new Error(_0x449c2f(0x44a));}[_0x567f8e(0x462)](){var _0x438fa9=_0x567f8e;this[_0x438fa9(0x45f)]!=null&&(clearTimeout(this[_0x438fa9(0x45f)]),this['_sendingTimer']=null);}['_onConflict'](_0x2bd9f9){var _0x59823b=_0x567f8e;return this[_0x59823b(0x462)](),this[_0x59823b(0x226)][_0x59823b(0x1e2)](de,this[_0x59823b(0x34f)],this[_0x59823b(0x219)],null,this[_0x59823b(0x445)],this[_0x59823b(0x37d)],_0x2bd9f9);}};oe=Re([A(0x4,_0x4a37af(_0x2baf1e)),A(0x5,_0x4a37af(_0x4284c4)),A(0x6,_0x4a37af(xe)),A(0x7,_0x5994dd),A(0x8,_0x38686f),A(0x9,_0x50fa1b),A(0xa,_0x500db7),A(0xb,_0x30dc1f),A(0xc,_0x334148),A(0xd,_0xb1a102(J))],oe);let ue=class extends be{constructor(_0x2e1e24,_0x15647a,_0x17c3a5,_0x1bf8ea,_0x6f6e5c,_0x5af65f,_0x10223e,_0x2be59f,_0x4f005a,_0x35b877,_0x239951){var _0x19da53=_0x567f8e;super(_0x2e1e24,_0x15647a,_0x17c3a5,[],_0x1bf8ea,_0x10223e,_0x35b877,_0x5af65f,_0x239951),N(this,_0x19da53(0x356),_0x19da53(0x28d)),N(this,_0x19da53(0x350),0x0),N(this,'_resendTimer'),N(this,'_sender'),(this['_injector']=_0x6f6e5c,this[_0x19da53(0x30f)]=_0x2be59f,this[_0x19da53(0x2e9)]=_0x4f005a);}['appendMutation'](_0x403787){var _0x2efb8f=_0x567f8e;this['_clearScheduledTask']();const _0x14df70=this[_0x2efb8f(0x226)][_0x2efb8f(0x1e2)](ae,this['unitID'],this[_0x2efb8f(0x219)],this[_0x2efb8f(0x3e3)],[_0x403787],this[_0x2efb8f(0x37d)],this[_0x2efb8f(0x2de)]);return _0x14df70[_0x2efb8f(0x1ef)](),_0x14df70;}[_0x567f8e(0x472)](_0x4cfae3){var _0x520d56=_0x567f8e;if(this[_0x520d56(0x346)](_0x4cfae3))return this[_0x520d56(0x462)](),this[_0x520d56(0x226)][_0x520d56(0x1e2)](te,this['unitID'],this[_0x520d56(0x219)],this['_awaitingChangeset'],[],null,[_0x4cfae3],this[_0x520d56(0x37d)]);try{const _0x5b0e11=this[_0x520d56(0x2e9)][_0x520d56(0x30e)]([_0x4cfae3],[this[_0x520d56(0x3e3)]],!0x1);if(_0x28c7c9(_0x5b0e11)){const {c1Prime:_0x9f342c,c2Prime:_0x16dc50}=_0x5b0e11;this[_0x520d56(0x2bd)](_0x9f342c[0x0]),_0x16dc50[0x0][_0x520d56(0x48e)]=this[_0x520d56(0x329)](),this[_0x520d56(0x462)]();const _0x6ca3fe=this[_0x520d56(0x226)][_0x520d56(0x1e2)](ue,this[_0x520d56(0x34f)],this[_0x520d56(0x219)],_0x16dc50[0x0],this[_0x520d56(0x37d)]);return _0x6ca3fe[_0x520d56(0x1ef)](),_0x6ca3fe;}return this['_onConflict'](!0x1);}catch(_0x49177a){return this[_0x520d56(0x30f)][_0x520d56(0x2c4)](_0x49177a),this['_onConflict'](!0x1);}}[_0x567f8e(0x2eb)](_0x1a295e){var _0x1cf303=_0x567f8e;this[_0x1cf303(0x462)]();const _0x39236c=this['_revisionService']['getCurrentRevOfUnit'](this[_0x1cf303(0x34f)]);if(_0x1a295e['revision']<_0x39236c-0x1)return this;if(this[_0x1cf303(0x346)](_0x1a295e))return this[_0x1cf303(0x226)][_0x1cf303(0x1e2)](te,this['unitID'],this[_0x1cf303(0x219)],null,[],this[_0x1cf303(0x3e3)],[],this[_0x1cf303(0x37d)]);this[_0x1cf303(0x3d7)]();const _0x26b1dc=this[_0x1cf303(0x226)][_0x1cf303(0x1e2)](De,this[_0x1cf303(0x34f)],this[_0x1cf303(0x219)],this[_0x1cf303(0x37d)]);return _0x26b1dc[_0x1cf303(0x1ef)](),_0x26b1dc;}[_0x567f8e(0x499)](_0x7857f){var _0x282d3c=_0x567f8e;return this[_0x282d3c(0x3b1)](!!(_0x7857f!=null&&_0x7857f[_0x282d3c(0x22f)]));}[_0x567f8e(0x43c)](_0x1df23a){var _0x12fb2a=_0x567f8e;return this['_resendTimeout']>Ni?this[_0x12fb2a(0x205)]():(this['_resendTimer']=Oi(this['_resendTimeout'],{'timeout':this[_0x12fb2a(0x350)],'reqId':_0x1df23a['reqId']}),this[_0x12fb2a(0x2c9)]=this[_0x12fb2a(0x2de)][_0x12fb2a(0x21b)](({reqId:_0xa7607b,timeout:_0x505c6e})=>{var _0x523e91=_0x12fb2a;this[_0x523e91(0x1c6)](_0xa7607b,_0x505c6e);}),this);}['toggleOffline'](){var _0xdb6b3c=_0x567f8e;return this[_0xdb6b3c(0x462)](),this[_0xdb6b3c(0x226)][_0xdb6b3c(0x1e2)](fe,this[_0xdb6b3c(0x34f)],this[_0xdb6b3c(0x219)],this[_0xdb6b3c(0x3e3)],[],this[_0xdb6b3c(0x37d)]);}[_0x567f8e(0x2d8)](){return this;}[_0x567f8e(0x3ab)](){var _0x194ce6=_0x567f8e;this[_0x194ce6(0x37d)]['onSendChangeset'](this[_0x194ce6(0x3e3)]);}['_onConflict'](_0x18d784){var _0x546e73=_0x567f8e;return this['_clearScheduledTask'](),this[_0x546e73(0x226)]['createInstance'](de,this[_0x546e73(0x34f)],this[_0x546e73(0x219)],this[_0x546e73(0x3e3)],[],this[_0x546e73(0x37d)],_0x18d784);}[_0x567f8e(0x1c6)](_0x571065,_0x268a33){var _0x351f12=_0x567f8e,_0x53541d;_0x571065===((_0x53541d=this['_awaitingChangeset'])==null?void 0x0:_0x53541d['reqId'])&&(this[_0x351f12(0x3ab)](),this[_0x351f12(0x350)]=_0x268a33===0x0?0x3e8:_0x268a33*0x2);}[_0x567f8e(0x462)](){var _0x5f0784=_0x567f8e,_0xa88ece;(_0xa88ece=this[_0x5f0784(0x2c9)])==null||_0xa88ece[_0x5f0784(0x339)](),this[_0x5f0784(0x350)]=0x0;}};ue=Re([A(0x4,_0x4a37af(_0x2baf1e)),A(0x5,_0x4a37af(_0x4284c4)),A(0x6,_0x38686f),A(0x7,_0x5994dd),A(0x8,_0x500db7),A(0x9,_0x334148),A(0xa,_0xb1a102(J))],ue);let ae=class extends be{constructor(_0x5cbc5f,_0x4c8e6b,_0x1f1b73,_0x34e038,_0x23b4d7,_0x3be7eb,_0x42a9e0,_0x321088,_0x1f42f9,_0x2bcbcf,_0x2fa561,_0x583d2f,_0x398506){var _0x14b3bb=_0x567f8e;super(_0x5cbc5f,_0x4c8e6b,_0x1f1b73,_0x34e038,_0x23b4d7,_0x1f42f9,_0x583d2f,_0x321088,_0x398506),N(this,'status',_0x14b3bb(0x36c)),N(this,'_resendTimeout',0x0),N(this,_0x14b3bb(0x2de)),N(this,_0x14b3bb(0x2c9)),(this['_injector']=_0x42a9e0,this[_0x14b3bb(0x30f)]=_0x2bcbcf,this[_0x14b3bb(0x2e9)]=_0x2fa561,this['localCacheService']=_0x398506,_0x3be7eb&&(this[_0x14b3bb(0x2de)]=_0x3be7eb,this[_0x14b3bb(0x2c9)]=this['_resendTimer'][_0x14b3bb(0x21b)](({reqId:_0x12b3d1,timeout:_0x17fd6d})=>{var _0xe078a7=_0x14b3bb;this[_0xe078a7(0x1c6)](_0x12b3d1,_0x17fd6d);})));}['appendMutation'](_0x3496e3){var _0xff1d43=_0x567f8e;return this[_0xff1d43(0x445)][_0xff1d43(0x430)](_0x3496e3),this;}['onRemoteChangeset'](_0x2108f3){var _0x3cd201=_0x567f8e;if(this[_0x3cd201(0x346)](_0x2108f3))return this[_0x3cd201(0x462)](),this['_injector'][_0x3cd201(0x1e2)](te,this['unitID'],this[_0x3cd201(0x219)],this[_0x3cd201(0x3e3)],this['_pendingMutations'],null,[_0x2108f3],this['_handler']);try{const _0x33f7be=this['_transformService'][_0x3cd201(0x30e)]([_0x2108f3],[this[_0x3cd201(0x3e3)]],!0x1);if(_0x28c7c9(_0x33f7be)){const {c1Prime:_0x16f79a,c2Prime:_0x155160}=_0x33f7be,_0x12c59d=this[_0x3cd201(0x2e9)][_0x3cd201(0x3d6)](_0x16f79a[0x0],this[_0x3cd201(0x445)]);if(_0x1dc95c(_0x12c59d)){const {c1Prime:_0x27aa6a,m2Prime:_0x4ae17a}=_0x12c59d;return this[_0x3cd201(0x2bd)](_0x27aa6a),_0x155160[0x0]['baseRev']=this[_0x3cd201(0x329)](),this[_0x3cd201(0x462)](),this['_injector'][_0x3cd201(0x1e2)](ae,this[_0x3cd201(0x34f)],this[_0x3cd201(0x219)],_0x155160[0x0],_0x4ae17a,this[_0x3cd201(0x37d)],void 0x0);}throw _0x12c59d[_0x3cd201(0x2c4)];}throw _0x33f7be['error'];}catch(_0x496342){return this[_0x3cd201(0x30f)][_0x3cd201(0x2c4)](_0x496342),this['_onConflict'](!0x1);}}[_0x567f8e(0x2eb)](_0x45ab1f){var _0x3e5010=_0x567f8e;if(this[_0x3e5010(0x462)](),this[_0x3e5010(0x346)](_0x45ab1f))return this[_0x3e5010(0x226)][_0x3e5010(0x1e2)](te,this['unitID'],this[_0x3e5010(0x219)],null,this[_0x3e5010(0x445)],this[_0x3e5010(0x3e3)],[],this[_0x3e5010(0x37d)]);this[_0x3e5010(0x3d7)]();const _0x454eb1=this['_injector']['createInstance'](oe,this[_0x3e5010(0x34f)],this[_0x3e5010(0x219)],this[_0x3e5010(0x445)],this[_0x3e5010(0x37d)]);return _0x454eb1['_schedule'](),_0x454eb1['_updateLocalCache'](),_0x454eb1;}[_0x567f8e(0x499)](_0x1fd772){var _0x214152=_0x567f8e;return this[_0x214152(0x3b1)](!!(_0x1fd772!=null&&_0x1fd772[_0x214152(0x22f)]));}[_0x567f8e(0x43c)](_0x539ece){var _0xe31527=_0x567f8e;return this['_resendTimeout']>Ni?this[_0xe31527(0x205)]():(this[_0xe31527(0x2de)]=Oi(this[_0xe31527(0x350)],{'timeout':this[_0xe31527(0x350)],'reqId':_0x539ece[_0xe31527(0x291)]}),this[_0xe31527(0x2c9)]=this['_resendTimer'][_0xe31527(0x21b)](({reqId:_0x2cb51b,timeout:_0xfdcd9a})=>{var _0x44eed9=_0xe31527;this[_0x44eed9(0x1c6)](_0x2cb51b,_0xfdcd9a);}),this);}['toggleOffline'](){var _0x2c3e06=_0x567f8e;return this['_clearScheduledTask'](),this[_0x2c3e06(0x226)][_0x2c3e06(0x1e2)](fe,this[_0x2c3e06(0x34f)],this[_0x2c3e06(0x219)],this[_0x2c3e06(0x3e3)],this['_pendingMutations'],this[_0x2c3e06(0x37d)]);}[_0x567f8e(0x2d8)](){return this;}[_0x567f8e(0x3ab)](){var _0xd4d4c7=_0x567f8e;this['_handler'][_0xd4d4c7(0x22a)](this[_0xd4d4c7(0x3e3)]);}[_0x567f8e(0x3b1)](_0x1f588c){var _0x115595=_0x567f8e;return this[_0x115595(0x462)](),this[_0x115595(0x226)][_0x115595(0x1e2)](de,this[_0x115595(0x34f)],this[_0x115595(0x219)],null,this['_pendingMutations'],this[_0x115595(0x37d)],_0x1f588c);}['_resendWithTimeout'](_0xbecf0,_0x3c4c34){var _0x37208c=_0x567f8e,_0x242a47;_0xbecf0===((_0x242a47=this[_0x37208c(0x3e3)])==null?void 0x0:_0x242a47[_0x37208c(0x291)])&&(this[_0x37208c(0x3ab)](),this['_resendTimeout']=_0x3c4c34===0x0?0x3e8:_0x3c4c34*0x2);}[_0x567f8e(0x462)](){var _0x673308=_0x567f8e,_0x23ae5f;(_0x23ae5f=this[_0x673308(0x2c9)])==null||_0x23ae5f[_0x673308(0x339)](),this['_resendTimeout']=0x0;}};ae=Re([A(0x6,_0x4a37af(_0x2baf1e)),A(0x7,_0x4a37af(_0x4284c4)),A(0x8,_0x38686f),A(0x9,_0x5994dd),A(0xa,_0x500db7),A(0xb,_0x334148),A(0xc,_0xb1a102(J))],ae);let de=class extends be{constructor(_0x2374de,_0xdee783,_0x499629,_0x6b0ee2,_0x507d39,_0x3a1761=!0x1,_0x158b20,_0x2cc407,_0x296403,_0x50cfbb,_0xf1d03e,_0x360c22,_0x1faf21){var _0x408bec=_0x567f8e;super(_0x2374de,_0xdee783,_0x499629,_0x6b0ee2,_0x507d39,_0x2cc407,_0x296403,_0x50cfbb,_0x1faf21),N(this,'status',_0x408bec(0x429)),(this['_isPermissionRej']=_0x3a1761,this[_0x408bec(0x3e0)]=_0x158b20,this[_0x408bec(0x49d)]=_0xf1d03e,this[_0x408bec(0x3cc)]=_0x360c22,this[_0x408bec(0x43d)]=_0x1faf21,this[_0x408bec(0x33c)](),this[_0x408bec(0x238)](),this[_0x408bec(0x31c)]());}[_0x567f8e(0x224)](){return this;}['onRemoteChangeset'](){return this;}[_0x567f8e(0x2eb)](){return this;}[_0x567f8e(0x499)](){return this;}[_0x567f8e(0x43c)](){return this;}[_0x567f8e(0x205)](){return this;}[_0x567f8e(0x2d8)](){return this;}[_0x567f8e(0x3ab)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x567f8e(0x238)](){var _0x419afb=_0x567f8e,_0x2b520c;(_0x2b520c=this[_0x419afb(0x469)])==null||_0x2b520c[_0x419afb(0x345)](this['unitID'],this['type'],null,[]);}[_0x567f8e(0x33c)](){var _0x117b73=_0x567f8e;this[_0x117b73(0x1e4)]?this['_collaborationUIEventService']['emitEvent']({'id':se[_0x117b73(0x2a9)]}):this[_0x117b73(0x3cc)]['emitEvent']({'id':se[_0x117b73(0x2ad)]});}[_0x567f8e(0x31c)](){var _0xc4cc35=_0x567f8e;this['_permissionService'][_0xc4cc35(0x335)](new _0x41129b(this[_0xc4cc35(0x34f)])['id'],!0x1);}};de=Re([A(0x6,_0x4a37af(_0x4beed7)),A(0x7,_0x38686f),A(0x8,_0x334148),A(0x9,_0x4a37af(_0x4284c4)),A(0xa,_0x4a37af(_0x53a40f)),A(0xb,_0x4a37af(pe)),A(0xc,_0xb1a102(J))],de);let fe=class extends be{constructor(_0x22566e,_0x2c1e6e,_0x5af2b0,_0x42be9c,_0x45fc21,_0x469760,_0x272c79,_0x2618de,_0x22e8ad,_0x3971c9){var _0x16707b=_0x567f8e;super(_0x22566e,_0x2c1e6e,_0x5af2b0,_0x42be9c,_0x45fc21,_0x2618de,_0x22e8ad,_0x272c79,_0x3971c9),N(this,_0x16707b(0x356),_0x16707b(0x460)),this[_0x16707b(0x226)]=_0x469760;}[_0x567f8e(0x224)](_0x481d51){var _0x3448ef=_0x567f8e;return this[_0x3448ef(0x445)][_0x3448ef(0x430)](_0x481d51),this[_0x3448ef(0x1ef)](),this;}[_0x567f8e(0x472)](_0x52af8f){var _0x17c33c=_0x567f8e;throw new Error(_0x17c33c(0x418));}[_0x567f8e(0x2eb)](){var _0x5420af=_0x567f8e;throw new Error(_0x5420af(0x373));}[_0x567f8e(0x499)](){var _0x45d950=_0x567f8e;throw new Error(_0x45d950(0x3dd));}['onRemoteRetry'](){return this;}[_0x567f8e(0x205)](){return this;}[_0x567f8e(0x2d8)](){var _0x3e1efe=_0x567f8e;const {_injector:_0x4384d5,_pendingMutations:_0x1b171c,_awaitingChangeset:_0x2060aa,unitID:_0x1812c7,_handler:_0x557259,type:_0x3f9835}=this,_0x1e0ed2=Di(_0x4384d5,_0x1812c7,_0x3f9835,_0x2060aa,_0x1b171c,_0x557259);return _0x1e0ed2 instanceof oe?_0x1e0ed2[_0x3e1efe(0x255)]():(_0x1e0ed2 instanceof ae||_0x1e0ed2 instanceof ue)&&_0x1e0ed2[_0x3e1efe(0x3ab)](),_0x1e0ed2;}[_0x567f8e(0x3ab)](){var _0xd3eddd=_0x567f8e;throw new Error(_0xd3eddd(0x42b));}};fe=Re([A(0x5,_0x4a37af(_0x2baf1e)),A(0x6,_0x4a37af(_0x4284c4)),A(0x7,_0x38686f),A(0x8,_0x334148),A(0x9,_0xb1a102(J))],fe);let te=class extends be{constructor(_0xf29ce7,_0x50bbca,_0x26e499,_0x21a5b6,_0x534bef,_0x3ef342,_0x2c467b,_0x1c47b4,_0x29c932,_0x11685e,_0x5d56d7,_0x2534ee,_0x64dfcf,_0x4c0478){var _0x29cafe=_0x567f8e;super(_0xf29ce7,_0x50bbca,_0x26e499,_0x21a5b6,_0x2c467b,_0x5d56d7,_0x2534ee,_0x29c932,_0x4c0478),N(this,_0x29cafe(0x356),_0x29cafe(0x49a)),(this[_0x29cafe(0x25b)]=_0x534bef,this[_0x29cafe(0x41f)]=_0x3ef342,this[_0x29cafe(0x226)]=_0x1c47b4,this['_logService']=_0x11685e,this[_0x29cafe(0x2e9)]=_0x64dfcf,this[_0x29cafe(0x43d)]=_0x4c0478);}['onMissedChangesetFetched'](_0x1dc82f){var _0x5635cb=_0x567f8e;try{const _0x12bbb6=[..._0x1dc82f,...this[_0x5635cb(0x41f)]],_0xf5e9d8=[this[_0x5635cb(0x3e3)]||this['_acknowledgedAwaitingChangeset']][_0x5635cb(0x321)](_0x2d3588=>!!_0x2d3588);let _0x43c47a,_0x439c73;if(_0xf5e9d8['length']){const _0x81f5e4=this[_0x5635cb(0x2e9)][_0x5635cb(0x30e)](_0x12bbb6,_0xf5e9d8,!0x1);if(!_0x28c7c9(_0x81f5e4))throw _0x81f5e4[_0x5635cb(0x2c4)];_0x43c47a=_0x81f5e4[_0x5635cb(0x246)],_0x439c73=_0x81f5e4['c2Prime'];}else _0x43c47a=_0x12bbb6,_0x439c73=[];let _0x3caa3b=this['_pendingMutations'];_0x43c47a['forEach'](_0x32cf5c=>{var _0x324fe5=_0x5635cb;let _0x1f3fde;if(_0x3caa3b[_0x324fe5(0x41d)]){const _0x13ebf4=this['_transformService'][_0x324fe5(0x3d6)](_0x32cf5c,_0x3caa3b);if(!_0x1dc95c(_0x13ebf4))throw _0x13ebf4['error'];_0x1f3fde=_0x13ebf4[_0x324fe5(0x246)],_0x3caa3b=_0x13ebf4[_0x324fe5(0x437)];}else _0x1f3fde=_0x32cf5c;this[_0x324fe5(0x2bd)](_0x1f3fde);}),this[_0x5635cb(0x25b)]&&this[_0x5635cb(0x3d7)](),this['_awaitingChangeset']&&_0x439c73[_0x5635cb(0x41d)]&&(_0x439c73[0x0][_0x5635cb(0x48e)]=this[_0x5635cb(0x329)]());let _0x57c8b0;if(this[_0x5635cb(0x3e3)]&&_0x3caa3b[_0x5635cb(0x41d)]!==0x0)_0x57c8b0=this[_0x5635cb(0x226)][_0x5635cb(0x1e2)](ae,this[_0x5635cb(0x34f)],this['type'],_0x439c73[0x0],_0x3caa3b,this[_0x5635cb(0x37d)],void 0x0);else{if(this['_awaitingChangeset']&&_0x3caa3b[_0x5635cb(0x41d)]===0x0)_0x439c73[0x0][_0x5635cb(0x48e)]=this['_getCurrentRevision'](),_0x57c8b0=this[_0x5635cb(0x226)]['createInstance'](ue,this['unitID'],this[_0x5635cb(0x219)],_0x439c73[0x0],this['_handler']);else{if(_0x3caa3b[_0x5635cb(0x41d)]!==0x0){const _0x292cbf=this[_0x5635cb(0x226)][_0x5635cb(0x1e2)](oe,this[_0x5635cb(0x34f)],this[_0x5635cb(0x219)],_0x3caa3b,this[_0x5635cb(0x37d)]);_0x292cbf['_schedule'](),_0x57c8b0=_0x292cbf;}else _0x57c8b0=this[_0x5635cb(0x226)]['createInstance'](De,this[_0x5635cb(0x34f)],this[_0x5635cb(0x219)],this[_0x5635cb(0x37d)]);}}return _0x57c8b0['_updateLocalCache'](),_0x57c8b0;}catch(_0x4b5dff){return this[_0x5635cb(0x30f)]['error'](_0x5635cb(0x27d),_0x5635cb(0x45b),_0x4b5dff),this['_injector'][_0x5635cb(0x1e2)](de,this[_0x5635cb(0x34f)],this[_0x5635cb(0x219)],this['_awaitingChangeset'],this[_0x5635cb(0x445)],this[_0x5635cb(0x37d)],!0x1);}}[_0x567f8e(0x3ab)](){var _0x12bf4f=_0x567f8e;throw new Error(_0x12bf4f(0x34a));}[_0x567f8e(0x224)](_0x3ad87d){var _0x2bb089=_0x567f8e;return this[_0x2bb089(0x445)][_0x2bb089(0x430)](_0x3ad87d),this;}['onRemoteChangeset'](_0x4b610c){var _0x449d4a=_0x567f8e;return this[_0x449d4a(0x41f)][_0x449d4a(0x430)](_0x4b610c),this;}['onRemoteAck'](_0x3f61e5){var _0x5e81fd=_0x567f8e;if(this['_awaitingChangeset'])return this[_0x5e81fd(0x25b)]=this[_0x5e81fd(0x3e3)],this[_0x5e81fd(0x3e3)]=null,this;throw new Error(_0x5e81fd(0x292));}[_0x567f8e(0x499)](_0x35349d){var _0xf2306e=_0x567f8e;return this[_0xf2306e(0x3b1)](!!(_0x35349d!=null&&_0x35349d[_0xf2306e(0x22f)]));}[_0x567f8e(0x43c)](){return this;}[_0x567f8e(0x205)](){var _0x1be1c7=_0x567f8e;return this[_0x1be1c7(0x226)]['createInstance'](fe,this[_0x1be1c7(0x34f)],this['type'],this[_0x1be1c7(0x3e3)],this['_pendingMutations'],this[_0x1be1c7(0x37d)]);}[_0x567f8e(0x2d8)](){return this;}['_onConflict'](_0x4b4d17){var _0x3618a2=_0x567f8e;return this[_0x3618a2(0x226)][_0x3618a2(0x1e2)](de,this[_0x3618a2(0x34f)],this[_0x3618a2(0x219)],this['_awaitingChangeset'],this[_0x3618a2(0x445)],this['_handler'],_0x4b4d17);}};te=Re([A(0x7,_0x4a37af(_0x2baf1e)),A(0x8,_0x4a37af(_0x4284c4)),A(0x9,_0x5994dd),A(0xa,_0x38686f),A(0xb,_0x334148),A(0xc,_0x500db7),A(0xd,_0xb1a102(J))],te);function Di(_0x1575a1,_0x21f4a7,_0x1bdd9b,_0x3186da,_0x176669,_0x56b871){var _0x1cd37d=_0x567f8e;return _0x3186da&&_0x176669['length']?_0x1575a1['createInstance'](ae,_0x21f4a7,_0x1bdd9b,_0x3186da,_0x176669,_0x56b871,void 0x0):_0x3186da?_0x1575a1['createInstance'](ue,_0x21f4a7,_0x1bdd9b,_0x3186da,_0x56b871):_0x176669[_0x1cd37d(0x41d)]?_0x1575a1[_0x1cd37d(0x1e2)](oe,_0x21f4a7,_0x1bdd9b,_0x176669,_0x56b871):_0x1575a1['createInstance'](De,_0x21f4a7,_0x1bdd9b,_0x56b871);}var vr=Object['defineProperty'],pr=Object[_0x567f8e(0x33a)],Lt=(_0x98bfad,_0xc246e2,_0x2f0731,_0x187788)=>{var _0x5ec3b3=_0x567f8e;for(var _0x25b2de=_0x187788>0x1?void 0x0:_0x187788?pr(_0xc246e2,_0x2f0731):_0xc246e2,_0x311be9=_0x98bfad[_0x5ec3b3(0x41d)]-0x1,_0x2440f9;_0x311be9>=0x0;_0x311be9--)(_0x2440f9=_0x98bfad[_0x311be9])&&(_0x25b2de=(_0x187788?_0x2440f9(_0xc246e2,_0x2f0731,_0x25b2de):_0x2440f9(_0x25b2de))||_0x25b2de);return _0x187788&&_0x25b2de&&vr(_0xc246e2,_0x2f0731,_0x25b2de),_0x25b2de;},k=(_0x4d2128,_0x3b18c2)=>(_0x1bebb5,_0x16d5e9)=>_0x3b18c2(_0x1bebb5,_0x16d5e9,_0x4d2128);let nt=class extends _0x56a922{constructor(_0x64c17c,_0x3b26be,_0x3c82e5,_0x257b82,_0xe21069,_0x2c08a2,_0x3b6b1e,_0x234d1c,_0xd302bb,_0x9df943,_0x651bee,_0x3b5cdb,_0x3c7c0e){var _0x70651d=_0x567f8e;super(),N(this,_0x70651d(0x2a8),new _0x3d7229(null)),N(this,_0x70651d(0x397),this['_state$'][_0x70651d(0x36d)]()),N(this,_0x70651d(0x1ee)),N(this,_0x70651d(0x303),!0x1),N(this,_0x70651d(0x2a7),''),N(this,_0x70651d(0x29e),0x0),N(this,_0x70651d(0x467),this['state$'][_0x70651d(0x441)](_0x509eed(_0x357f6d=>_0x357f6d?_0x357f6d[_0x70651d(0x356)]:yi['OFFLINE']),_0x4ba498(0x1))),N(this,'_transitionLocked',!0x1),N(this,_0x70651d(0x39c),[]),(this[_0x70651d(0x34f)]=_0x64c17c,this[_0x70651d(0x272)]=_0x3b26be,this[_0x70651d(0x3bc)]=_0x3c82e5,this['_injector']=_0x257b82,this[_0x70651d(0x3fb)]=_0xe21069,this[_0x70651d(0x49d)]=_0x2c08a2,this[_0x70651d(0x2fb)]=_0x3b6b1e,this['_eventService']=_0x234d1c,this[_0x70651d(0x30f)]=_0xd302bb,this[_0x70651d(0x24e)]=_0x9df943,this['_permissionService']=_0x651bee,this[_0x70651d(0x492)]=_0x3b5cdb,this[_0x70651d(0x469)]=_0x3c7c0e);}get[_0x567f8e(0x1be)](){var _0xce591b=_0x567f8e;return this[_0xce591b(0x1ee)];}async['init'](){var _0xaaadea=_0x567f8e;if(this[_0xaaadea(0x1be)])throw new Error(_0xaaadea(0x45e));await this[_0xaaadea(0x1d3)]();}[_0x567f8e(0x40a)](){var _0x43a9a2=_0x567f8e;return this[_0x43a9a2(0x303)]=!0x0,_0x58d839(()=>{var _0x10e489=_0x43a9a2;this['_collaborationPaused']=!0x1,this[_0x10e489(0x214)]();});}[_0x567f8e(0x455)](_0x559826){var _0x2eee63=_0x567f8e;this[_0x2eee63(0x3c3)](_0x559826);}[_0x567f8e(0x413)](_0x500b1a){var _0x2a3c1d=_0x567f8e;this[_0x2a3c1d(0x1ee)]=_0x500b1a,this['_state$'][_0x2a3c1d(0x298)](_0x500b1a);}async[_0x567f8e(0x1d3)](){var _0x298f40=_0x567f8e,_0x13c2e2;this[_0x298f40(0x413)](await this[_0x298f40(0x4a3)]()),this[_0x298f40(0x492)]&&((_0x13c2e2=this[_0x298f40(0x492)])==null||_0x13c2e2['editingUnit'](this[_0x298f40(0x34f)]),this[_0x298f40(0x2bb)](this[_0x298f40(0x492)][_0x298f40(0x227)](this['unitID'])[_0x298f40(0x21b)](_0x5ef559=>{var _0x1eeaf0=_0x298f40;this[_0x1eeaf0(0x30f)][_0x1eeaf0(0x1f5)](_0x1eeaf0(0x21c),'editing\x20status\x20changed\x20to',_0x5ef559),_0x5ef559===bi[_0x1eeaf0(0x225)]?(this[_0x1eeaf0(0x3f7)][_0x1eeaf0(0x444)]({'id':se[_0x1eeaf0(0x31f)]}),this[_0x1eeaf0(0x3e0)][_0x1eeaf0(0x335)](new _0x41129b(this['unitID'])['id'],!0x1),this[_0x1eeaf0(0x3e0)][_0x1eeaf0(0x332)](!0x1)):(this[_0x1eeaf0(0x3e0)][_0x1eeaf0(0x335)](new _0x41129b(this['unitID'])['id'],!0x0),this[_0x1eeaf0(0x3e0)][_0x1eeaf0(0x332)](!0x0));})));let _0x2d8a26=!0x1;return this[_0x298f40(0x2bb)](this['session']['sessionStatus$'][_0x298f40(0x21b)](_0x3addd6=>{var _0x1d503e=_0x298f40;_0x3addd6===Te[_0x1d503e(0x236)]?this[_0x1d503e(0x2e3)](_0x2d8a26):_0x3addd6===Te[_0x1d503e(0x485)]&&(_0x2d8a26=!0x0,this[_0x1d503e(0x2c0)]());})),this['disposeWithMe'](this['session'][_0x298f40(0x2ea)][_0x298f40(0x21b)](_0x2657ce=>{var _0x4c0748=_0x298f40;try{switch(_0x2657ce['eventID']){case _0x1b86f2[_0x4c0748(0x2d0)]:{this['_onRemoteChangeset'](_0x18bd66(_0x2657ce['data']));break;}case _0x1b86f2[_0x4c0748(0x2b5)]:{this[_0x4c0748(0x1f2)](_0x2657ce[_0x4c0748(0x40f)]);break;}case _0x1b86f2[_0x4c0748(0x3c4)]:{this['_onRemoteRejected']();break;}case _0x1b86f2[_0x4c0748(0x2a1)]:{this['_onRemoteRetry'](_0x2657ce['data']);break;}case _0x1b86f2[_0x4c0748(0x28b)]:{this[_0x4c0748(0x2b8)](_0x2657ce[_0x4c0748(0x40f)][_0x4c0748(0x20e)][_0x4c0748(0x26d)](_0x3b58c1=>_0x18bd66(_0x3b58c1)));break;}case _0x1b86f2[_0x4c0748(0x47e)]:{this[_0x4c0748(0x2b1)]({'isPermissionRej':!0x0});break;}case _0x1b86f2[_0x4c0748(0x2c8)]:break;}}catch(_0x2273b5){throw console[_0x4c0748(0x2c4)](_0x4c0748(0x1b1),_0x2273b5),_0x2273b5;}})),this[_0x298f40(0x1ee)];}[_0x567f8e(0x200)](){var _0x1960e3=_0x567f8e;this[_0x1960e3(0x367)]=!0x1;}[_0x567f8e(0x386)](){var _0x184c34=_0x567f8e;if(this['_transitionLocked'])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[_0x184c34(0x367)]=!0x0;}[_0x567f8e(0x3c3)](_0x246e6e){var _0x5e9fdc=_0x567f8e;this[_0x5e9fdc(0x386)](),this[_0x5e9fdc(0x413)](this[_0x5e9fdc(0x1ee)]['appendMutation'](_0x246e6e)),this[_0x5e9fdc(0x200)]();}['_onRemoteChangeset'](_0x5e9918){var _0x4be673=_0x567f8e;if(!(_0x5e9918['revision']<=this['_revisionService'][_0x4be673(0x2ef)](this[_0x4be673(0x34f)]))){if(this[_0x4be673(0x303)]){this[_0x4be673(0x39c)][_0x4be673(0x430)](_0x5e9918);return;}this[_0x4be673(0x343)](_0x5e9918);}}[_0x567f8e(0x214)](){var _0x24742a=_0x567f8e;this['_remoteChangesetQueue'][_0x24742a(0x416)](_0x35959e=>this[_0x24742a(0x343)](_0x35959e)),this[_0x24742a(0x39c)]=[];}[_0x567f8e(0x343)](_0x8b5756){var _0x4602f5=_0x567f8e;const _0x4ff584=this['_compressMutationService']['interceptor'][_0x4602f5(0x21a)](this['_compressMutationService'][_0x4602f5(0x1db)][_0x4602f5(0x409)]()['COMPRESS_MUTATION_APPLY'])(_0x8b5756['mutations'],null)||_0x8b5756[_0x4602f5(0x251)],_0x5a5aec={..._0x8b5756,'mutations':_0x4ff584};this[_0x4602f5(0x386)](),this['_updateState'](this[_0x4602f5(0x1ee)][_0x4602f5(0x472)](_0x5a5aec)),this[_0x4602f5(0x200)]();}[_0x567f8e(0x1f2)](_0x272732){this['_lockTransition'](),this['_updateState'](this['_state']['onRemoteAck'](_0x272732)),this['_unlockTransition']();}['_onRemoteRejected'](_0x53e21){var _0x565fba=_0x567f8e;this[_0x565fba(0x386)](),this[_0x565fba(0x413)](this[_0x565fba(0x1ee)][_0x565fba(0x499)](_0x53e21)),this['_unlockTransition']();}['_onRemoteRetry'](_0xfaedae){var _0x4e384c=_0x567f8e;this[_0x4e384c(0x386)](),this[_0x4e384c(0x413)](this[_0x4e384c(0x1ee)][_0x4e384c(0x43c)](_0xfaedae)),this['_unlockTransition']();}['_onFetchMissResult'](_0x10e022){var _0x2b5330=_0x567f8e;if(!(this[_0x2b5330(0x1ee)]instanceof te))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x272006=_0x10e022[_0x2b5330(0x26d)](_0x13286a=>{var _0x3c8cf9=_0x2b5330;const _0xf4e864=this[_0x3c8cf9(0x3fb)][_0x3c8cf9(0x1db)][_0x3c8cf9(0x21a)](this[_0x3c8cf9(0x3fb)][_0x3c8cf9(0x1db)][_0x3c8cf9(0x409)]()[_0x3c8cf9(0x459)])(_0x13286a['mutations'],null)||_0x13286a[_0x3c8cf9(0x251)];return{..._0x13286a,'mutations':_0xf4e864};});this[_0x2b5330(0x386)](),this[_0x2b5330(0x413)](this[_0x2b5330(0x1ee)]['onMissedChangesetFetched'](_0x272006)),this[_0x2b5330(0x200)]();}[_0x567f8e(0x2c0)](){var _0xf8dafe=_0x567f8e;this[_0xf8dafe(0x386)](),this[_0xf8dafe(0x413)](this[_0xf8dafe(0x1ee)][_0xf8dafe(0x205)]()),this[_0xf8dafe(0x200)]();}[_0x567f8e(0x2e3)](_0x584e21=!0x1){var _0x57f08b=_0x567f8e;this[_0x57f08b(0x386)](),this[_0x57f08b(0x413)](this['_state'][_0x57f08b(0x2d8)]()),this['_unlockTransition']();const _0x5e9e6f=this[_0x57f08b(0x1ee)];_0x584e21&&_0x5e9e6f instanceof De&&(this[_0x57f08b(0x386)](),this[_0x57f08b(0x413)](_0x5e9e6f[_0x57f08b(0x3e5)]()),this[_0x57f08b(0x200)]());}async[_0x567f8e(0x4a3)](){return new Promise(_0x2e7434=>{var _0x122618=_0x1e98;this[_0x122618(0x272)][_0x122618(0x30b)][_0x122618(0x441)](_0x440834(0x1))[_0x122618(0x21b)](async _0x4eb714=>{var _0x2bbd60=_0x122618;_0x2e7434(await this['_createInitialStateImpl'](_0x4eb714===Te[_0x2bbd60(0x236)]));});});}[_0x567f8e(0x34d)](){var _0x10eeec=_0x567f8e;const _0x32813d=this[_0x10eeec(0x34f)];return{'onStateChange':(_0x22dfc1,_0x237cd1)=>{var _0x55f85f=_0x10eeec;if(_0x22dfc1!==this['_state'])throw new Error(_0x55f85f(0x1ac)+_0x22dfc1['status']+_0x55f85f(0x2e1)+_0x237cd1[_0x55f85f(0x356)]+_0x55f85f(0x2ee)+this[_0x55f85f(0x1ee)]['status']);this[_0x55f85f(0x413)](_0x237cd1);},'onSendChangeset':_0x14279f=>{var _0x5d1a6c=_0x10eeec;_0x14279f[_0x5d1a6c(0x314)]||(_0x14279f['sid']=this[_0x5d1a6c(0x2a7)],_0x14279f[_0x5d1a6c(0x291)]=++this[_0x5d1a6c(0x29e)]);const _0x57e579={'eventID':_0x1b86f2[_0x5d1a6c(0x1f9)],'data':{'unitID':_0x14279f[_0x5d1a6c(0x34f)],'unitType':this[_0x5d1a6c(0x3bc)],'changeset':_0x14279f,'memberID':this[_0x5d1a6c(0x272)]['getMemberID']()}};this[_0x5d1a6c(0x272)][_0x5d1a6c(0x456)](_0x57e579,this['unitID']);},'onMissingChangesets':({from:_0x4c2666,to:_0x4f733e})=>{var _0x2d06c5=_0x10eeec;this['_logService'][_0x2d06c5(0x1f5)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0x4c2666+_0x2d06c5(0x247)+_0x4f733e);const _0x9fbfd7={'eventID':_0x1b86f2['FETCH_MISSING'],'data':{'unitID':_0x32813d,'unitType':this[_0x2d06c5(0x3bc)],'from':_0x4c2666,'to':_0x4f733e}};this['session']['send'](_0x9fbfd7,this['unitID']);}};}async['_createInitialStateImpl'](_0x77301c){var _0x466144=_0x567f8e,_0x2db12d,_0x267b2a,_0x216b56;const _0x1b5d56=await((_0x2db12d=this['_localCacheService'])==null?void 0x0:_0x2db12d['loadOfflineData'](this[_0x466144(0x34f)])),_0x716723=(_0x267b2a=_0x1b5d56==null?void 0x0:_0x1b5d56[_0x466144(0x251)])!=null?_0x267b2a:[],_0x3d432e=(_0x216b56=_0x1b5d56==null?void 0x0:_0x1b5d56[_0x466144(0x1f6)])!=null?_0x216b56:null,_0x879154=!!(_0x3d432e!=null&&_0x3d432e['sid'])&&!!(_0x3d432e!=null&&_0x3d432e['reqId']);this['_changesetSessionId']=_0x879154?_0x3d432e['sid']:sr(),this['_changesetReqId']=_0x879154?_0x3d432e[_0x466144(0x291)]:0x0;const _0x4ab7d1=this[_0x466144(0x34f)];try{this['_replayCachedMutations'](_0x3d432e,_0x716723);}catch(_0x2797b6){this[_0x466144(0x30f)]['error'](_0x2797b6);}const _0x2419d4=this[_0x466144(0x34d)]();if(_0x77301c){const _0x2a5391=Di(this[_0x466144(0x226)],_0x4ab7d1,this[_0x466144(0x3bc)],_0x3d432e,_0x716723,_0x2419d4);return _0x2a5391 instanceof oe?_0x2a5391[_0x466144(0x255)]():(_0x2a5391 instanceof ae||_0x2a5391 instanceof ue)&&_0x2a5391[_0x466144(0x3ab)](),_0x2a5391;}return this['_injector']['createInstance'](fe,_0x4ab7d1,this[_0x466144(0x3bc)],_0x3d432e,_0x716723,_0x2419d4);}[_0x567f8e(0x338)](_0x466b6f,_0x1d16d0){var _0x58a28a=_0x567f8e,_0x12a8ef,_0x587e28;const _0x2a12ef=this[_0x58a28a(0x3fb)][_0x58a28a(0x1db)]['fetchThroughInterceptors'](this[_0x58a28a(0x3fb)][_0x58a28a(0x1db)][_0x58a28a(0x409)]()[_0x58a28a(0x459)]);(_0x12a8ef=_0x2a12ef((_0x466b6f==null?void 0x0:_0x466b6f['mutations'])||[],null))==null||_0x12a8ef[_0x58a28a(0x416)](_0x21f97d=>this[_0x58a28a(0x24e)][_0x58a28a(0x23b)](_0x21f97d['id'],_0x21f97d[_0x58a28a(0x2af)])),(_0x587e28=_0x2a12ef(_0x1d16d0||[],null))==null||_0x587e28[_0x58a28a(0x416)](_0x374968=>this['_commandService'][_0x58a28a(0x23b)](_0x374968['id'],_0x374968[_0x58a28a(0x2af)]));}};nt=Lt([k(0x3,_0x4a37af(_0x2baf1e)),k(0x4,_0x4a37af(_0x55a20c)),k(0x5,_0x4a37af(_0x53a40f)),k(0x6,_0x4a37af(_0x4284c4)),k(0x7,_0x4a37af(pe)),k(0x8,_0x5994dd),k(0x9,_0x38686f),k(0xa,_0x4beed7),k(0xb,_0xb1a102(ht)),k(0xc,_0xb1a102(J))],nt);let Tt=class extends nt{constructor(_0x4e3cfa,_0x273529,_0x2ac69e,_0x29d29f,_0x32552f,_0x30136d,_0x3504a1,_0x315970,_0x3d1c99,_0x1be8d0,_0x30583c,_0x2e7588,_0x27c9a1){var _0x56bc2d=_0x567f8e;super(_0x4e3cfa,_0x2ac69e,_0x273529,_0x29d29f,_0x32552f,_0x30136d,_0x3504a1,_0x315970,_0x3d1c99,_0x1be8d0,_0x30583c,_0x2e7588,_0x27c9a1),N(this,'_handlerCallback',null),(this[_0x56bc2d(0x34f)]=_0x4e3cfa,this[_0x56bc2d(0x219)]=_0x273529);}[_0x567f8e(0x38e)](_0xa5948b){var _0x45caa1=_0x567f8e;this[_0x45caa1(0x1d2)]=_0xa5948b;}['dispose'](){var _0x11bab5=_0x567f8e;this[_0x11bab5(0x1d2)]=null,super[_0x11bab5(0x480)]();}[_0x567f8e(0x34d)](){var _0x34bf1f=_0x567f8e;const _0x430214=super[_0x34bf1f(0x34d)]();return _0x430214[_0x34bf1f(0x3ce)]=_0x23710e=>{var _0x18ee37=_0x34bf1f,_0x1921ac,_0x48a0dc;return(_0x48a0dc=(_0x1921ac=this[_0x18ee37(0x1d2)])==null?void 0x0:_0x1921ac[_0x18ee37(0x3ce)])==null?void 0x0:_0x48a0dc[_0x18ee37(0x3b0)](_0x1921ac,_0x23710e);},_0x430214['onTransformState']=_0x1d384d=>{var _0x25b0be=_0x34bf1f,_0x2c2167,_0x2af4d5;return(_0x2af4d5=(_0x2c2167=this[_0x25b0be(0x1d2)])==null?void 0x0:_0x2c2167[_0x25b0be(0x407)])==null?void 0x0:_0x2af4d5[_0x25b0be(0x3b0)](_0x2c2167,_0x1d384d);},_0x430214[_0x34bf1f(0x1b6)]=_0x5ea728=>{var _0x2802a9=_0x34bf1f,_0x3d28c2,_0x52c331;return(_0x52c331=(_0x3d28c2=this[_0x2802a9(0x1d2)])==null?void 0x0:_0x3d28c2['onTransformSelections'])==null?void 0x0:_0x52c331[_0x2802a9(0x3b0)](_0x3d28c2,_0x5ea728);},_0x430214[_0x34bf1f(0x252)]=_0x1c4653=>{var _0x45d561=_0x34bf1f,_0x5cca00,_0x39c5cd;return(_0x39c5cd=(_0x5cca00=this[_0x45d561(0x1d2)])==null?void 0x0:_0x5cca00[_0x45d561(0x252)])==null?void 0x0:_0x39c5cd['call'](_0x5cca00,_0x1c4653);},_0x430214[_0x34bf1f(0x1f7)]=_0x53154a=>{var _0x108032=_0x34bf1f,_0x4b6636,_0xeadf9a,_0x273e3b;if(!((_0x4b6636=this[_0x108032(0x1d2)])!=null&&_0x4b6636[_0x108032(0x1f7)]))throw new Error(_0x108032(0x411));return(_0x273e3b=(_0xeadf9a=this[_0x108032(0x1d2)])==null?void 0x0:_0xeadf9a[_0x108032(0x1f7)])==null?void 0x0:_0x273e3b[_0x108032(0x3b0)](_0xeadf9a,_0x53154a);},_0x430214[_0x34bf1f(0x484)]=_0x409982=>{var _0x2111d3=_0x34bf1f,_0x236f5a,_0x146598,_0x587d07;if(!((_0x236f5a=this[_0x2111d3(0x1d2)])!=null&&_0x236f5a['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2111d3(0x243));return(_0x587d07=(_0x146598=this[_0x2111d3(0x1d2)])==null?void 0x0:_0x146598[_0x2111d3(0x484)])==null?void 0x0:_0x587d07[_0x2111d3(0x3b0)](_0x146598,_0x409982);},_0x430214;}async[_0x567f8e(0x1d3)](){var _0x4d3fb4=_0x567f8e;const _0x1180cc=await super[_0x4d3fb4(0x1d3)]();return this[_0x4d3fb4(0x2bb)](this[_0x4d3fb4(0x24e)][_0x4d3fb4(0x283)]((_0x168366,_0x89961a)=>{var _0x2b5ceb=_0x4d3fb4;if(_0x168366[_0x2b5ceb(0x219)]!==_0x53c6d0[_0x2b5ceb(0x44b)]||_0x89961a!=null&&_0x89961a[_0x2b5ceb(0x208)]||_0x89961a!=null&&_0x89961a[_0x2b5ceb(0x4a0)]||_0x168366['id']===_0x83d214['id'])return;const _0x80f423=_0x168366['params'];if((_0x80f423==null?void 0x0:_0x80f423[_0x2b5ceb(0x422)])!==this[_0x2b5ceb(0x34f)])return;const _0x20f1d1=_0x168366,_0x52de11=this['_compressMutationService']['interceptor'][_0x2b5ceb(0x21a)](this[_0x2b5ceb(0x3fb)][_0x2b5ceb(0x1db)][_0x2b5ceb(0x409)]()[_0x2b5ceb(0x1d5)])([_0x20f1d1],null)||[_0x20f1d1];this[_0x2b5ceb(0x3c3)](_0x52de11[0x0]);})),_0x1180cc;}};Tt=Lt([k(0x3,_0x4a37af(_0x2baf1e)),k(0x4,_0x4a37af(_0x55a20c)),k(0x5,_0x4a37af(_0x53a40f)),k(0x6,_0x4a37af(_0x4284c4)),k(0x7,_0x4a37af(pe)),k(0x8,_0x5994dd),k(0x9,_0x38686f),k(0xa,_0x4beed7),k(0xb,_0xb1a102(ht)),k(0xc,_0xb1a102(J))],Tt);let Ct=class extends nt{constructor(_0x189d8f,_0x2ebe9d,_0x2a1987,_0x5934f5,_0x209067,_0x285532,_0x35e240,_0x198135,_0xa9a689,_0x57f221,_0x28b58f,_0x6ee032,_0x3ceeb2,_0x3557f9){var _0xef37b2=_0x567f8e;super(_0x189d8f,_0x2a1987,_0x2ebe9d,_0x5934f5,_0x209067,_0x285532,_0x35e240,_0xa9a689,_0x57f221,_0x28b58f,_0x6ee032,_0x3ceeb2,_0x3557f9),this[_0xef37b2(0x34f)]=_0x189d8f,this[_0xef37b2(0x219)]=_0x2ebe9d,this[_0xef37b2(0x48c)]=_0x198135;}[_0x567f8e(0x34d)](){var _0x3c5300=_0x567f8e;const _0x689b92=super[_0x3c5300(0x34d)]();return _0x689b92[_0x3c5300(0x1b6)]=_0x14282a=>this[_0x3c5300(0x48c)][_0x3c5300(0x25d)](_0x14282a),_0x689b92;}async['_init'](){var _0x201498=_0x567f8e;const _0x23d5fe=await super[_0x201498(0x1d3)]();return this['disposeWithMe'](this['_commandService']['onCommandExecuted']((_0x30217b,_0x1e2572)=>{var _0x102fa1=_0x201498;if(_0x30217b[_0x102fa1(0x219)]!==_0x53c6d0[_0x102fa1(0x44b)]||_0x1e2572!=null&&_0x1e2572[_0x102fa1(0x208)]||_0x1e2572!=null&&_0x1e2572[_0x102fa1(0x4a0)])return;const _0x3c2e03=_0x30217b[_0x102fa1(0x2af)];if((_0x3c2e03==null?void 0x0:_0x3c2e03[_0x102fa1(0x422)])!==this[_0x102fa1(0x34f)])return;const _0x4d653a=_0x30217b,_0x4031bf=this[_0x102fa1(0x3fb)][_0x102fa1(0x1db)][_0x102fa1(0x21a)](this[_0x102fa1(0x3fb)][_0x102fa1(0x1db)][_0x102fa1(0x409)]()['COMPRESS_MUTATION_SEND'])([_0x4d653a],null)||[_0x4d653a];this['_onLocalMutation'](_0x4031bf[0x0]);})),_0x23d5fe;}};Ct=Lt([k(0x3,_0x4a37af(_0x2baf1e)),k(0x4,_0x4a37af(_0x55a20c)),k(0x5,_0x4a37af(_0x53a40f)),k(0x6,_0x4a37af(_0x4284c4)),k(0x7,_0x4a37af(it)),k(0x8,_0x4a37af(pe)),k(0x9,_0x5994dd),k(0xa,_0x38686f),k(0xb,_0x4beed7),k(0xc,_0xb1a102(ht)),k(0xd,_0xb1a102(J))],Ct);var mr=Object[_0x567f8e(0x1cc)],gr=Object[_0x567f8e(0x33a)],Sr=(_0x300f73,_0x23db82,_0xf44c59,_0x5ca14f)=>{var _0x56832a=_0x567f8e;for(var _0x5c24b2=_0x5ca14f>0x1?void 0x0:_0x5ca14f?gr(_0x23db82,_0xf44c59):_0x23db82,_0x3fb72b=_0x300f73[_0x56832a(0x41d)]-0x1,_0x240dad;_0x3fb72b>=0x0;_0x3fb72b--)(_0x240dad=_0x300f73[_0x3fb72b])&&(_0x5c24b2=(_0x5ca14f?_0x240dad(_0x23db82,_0xf44c59,_0x5c24b2):_0x240dad(_0x5c24b2))||_0x5c24b2);return _0x5ca14f&&_0x5c24b2&&mr(_0x23db82,_0xf44c59,_0x5c24b2),_0x5c24b2;},ft=(_0x142c8d,_0x29b1b6)=>(_0xcb7d87,_0x592775)=>_0x29b1b6(_0xcb7d87,_0x592775,_0x142c8d);let rt=class extends _0x56a922{constructor(_0x3cf69d,_0x40977d,_0x1f28b8){var _0x2d505d=_0x567f8e;super(),N(this,'_entities',new Map()),N(this,_0x2d505d(0x275),new _0x241ec3()),N(this,_0x2d505d(0x1c2),this[_0x2d505d(0x275)][_0x2d505d(0x36d)]()),(this['_injector']=_0x3cf69d,this['_collabSessionService']=_0x40977d,this[_0x2d505d(0x366)]=_0x1f28b8,this[_0x2d505d(0x1d3)]());}[_0x567f8e(0x480)](){var _0x160755=_0x567f8e;super['dispose'](),this[_0x160755(0x1df)]['forEach'](_0x100680=>_0x100680[_0x160755(0x480)]()),this['_entities'][_0x160755(0x325)]();}[_0x567f8e(0x2ce)](_0x341c60){var _0x77652a=_0x567f8e,_0x13cc04;return(_0x13cc04=this[_0x77652a(0x1df)][_0x77652a(0x33f)](_0x341c60))!=null?_0x13cc04:null;}[_0x567f8e(0x481)](_0x28a032){var _0x350845=_0x567f8e;const _0x24829d=this[_0x350845(0x2ce)](_0x28a032);return _0x24829d?_0x2ee864(_0x24829d):this[_0x350845(0x275)][_0x350845(0x441)](_0x9acd45(_0x24f69e=>_0x24f69e['unitID']===_0x28a032));}[_0x567f8e(0x218)](_0x56d760){var _0x4e10e2=_0x567f8e;return _0x28df6c(this[_0x4e10e2(0x481)](_0x56d760)['pipe'](_0x275ba6(()=>{})));}[_0x567f8e(0x1d3)](){var _0x460a70=_0x567f8e;this[_0x460a70(0x366)][_0x460a70(0x465)](_0xfcd74d[_0x460a70(0x31a)])['pipe'](_0x5d94db(this[_0x460a70(0x35d)]),_0x4bf435(0x10))[_0x460a70(0x21b)](async _0x55d430=>{var _0x5a9497=_0x460a70;const _0x4b0f5a=_0x55d430[_0x5a9497(0x41a)](),_0x2eef06=await this['_startCollaboration'](_0x4b0f5a,Q['UNIVER_SHEET']);this[_0x5a9497(0x1df)][_0x5a9497(0x2d2)](_0x4b0f5a,_0x2eef06);}),this[_0x460a70(0x366)]['getTypeOfUnitAdded$'](_0xfcd74d[_0x460a70(0x2a2)])[_0x460a70(0x441)](_0x5d94db(this[_0x460a70(0x35d)]),_0x4bf435(0x10))[_0x460a70(0x441)](_0x9acd45(_0x5b1e80=>!_0x5b1e80[_0x460a70(0x41a)]()[_0x460a70(0x1ce)]('__')))[_0x460a70(0x21b)](async _0x45a905=>{var _0x4cec4a=_0x460a70;const _0x483140=_0x45a905[_0x4cec4a(0x41a)](),_0x31d723=await this[_0x4cec4a(0x280)](_0x483140,Q[_0x4cec4a(0x2a2)]);this[_0x4cec4a(0x1df)]['set'](_0x483140,_0x31d723);}),_0x39f393(this[_0x460a70(0x366)][_0x460a70(0x1d7)](_0xfcd74d[_0x460a70(0x31a)]),this['_univerInstanceService'][_0x460a70(0x1d7)](_0xfcd74d[_0x460a70(0x2a2)]))[_0x460a70(0x441)](_0x5d94db(this[_0x460a70(0x35d)]))[_0x460a70(0x21b)](_0x3bb4ef=>{var _0x5789c3=_0x460a70;const _0x51b14f=_0x3bb4ef[_0x5789c3(0x41a)](),_0x356b00=this[_0x5789c3(0x1df)][_0x5789c3(0x33f)](_0x51b14f);_0x356b00&&(_0x356b00[_0x5789c3(0x480)](),this['_entities'][_0x5789c3(0x46e)](_0x51b14f));});}async[_0x567f8e(0x280)](_0x4b3054,_0x97537a){var _0x56a42f=_0x567f8e;const _0x52cb00=await this[_0x56a42f(0x26f)][_0x56a42f(0x412)](_0x4b3054),_0x276330=this['_injector'][_0x56a42f(0x1e2)](this[_0x56a42f(0x20b)](_0x97537a),_0x4b3054,_0x97537a,_0x52cb00);return await _0x276330[_0x56a42f(0x302)](),this[_0x56a42f(0x275)][_0x56a42f(0x298)](_0x276330),_0x276330;}[_0x567f8e(0x20b)](_0x5f23c0){var _0x1fbda2=_0x567f8e;switch(_0x5f23c0){case Q[_0x1fbda2(0x2a2)]:return Tt;case Q[_0x1fbda2(0x31a)]:return Ct;default:throw new Error(_0x1fbda2(0x327)+_0x5f23c0);}}};rt=Sr([ft(0x0,_0x4a37af(_0x2baf1e)),ft(0x1,_0x4a37af(Le)),ft(0x2,_0x30dc1f)],rt);var Er=Object[_0x567f8e(0x1cc)],Ir=Object[_0x567f8e(0x33a)],Tr=(_0x363783,_0x561c48,_0x299d76,_0x39b4f0)=>{var _0x5cbca1=_0x567f8e;for(var _0x20be43=_0x39b4f0>0x1?void 0x0:_0x39b4f0?Ir(_0x561c48,_0x299d76):_0x561c48,_0x54b218=_0x363783[_0x5cbca1(0x41d)]-0x1,_0x344779;_0x54b218>=0x0;_0x54b218--)(_0x344779=_0x363783[_0x54b218])&&(_0x20be43=(_0x39b4f0?_0x344779(_0x561c48,_0x299d76,_0x20be43):_0x344779(_0x20be43))||_0x20be43);return _0x39b4f0&&_0x20be43&&Er(_0x561c48,_0x299d76,_0x20be43),_0x20be43;},Jt=(_0x39bb76,_0x414feb)=>(_0x318aa0,_0x4510b4)=>_0x414feb(_0x318aa0,_0x4510b4,_0x39bb76);const Cr=_0x567f8e(0x3a2),Rr=_0x567f8e(0x398);let Rt=class extends _0x1c474f{constructor(_0x5b8004,_0x24ccaa){var _0x5cd06c=_0x567f8e;super(),this['_univerInstanceService']=_0x5b8004,this[_0x5cd06c(0x424)]=_0x24ccaa,this[_0x5cd06c(0x1d3)]();}[_0x567f8e(0x1d3)](){var _0x275e50=_0x567f8e;this[_0x275e50(0x2bb)](this[_0x275e50(0x366)]['focused$'][_0x275e50(0x21b)](()=>{var _0x3f4fc3=_0x275e50,_0x3a59ba;const _0x4254df=this['_univerInstanceService'][_0x3f4fc3(0x491)]();let _0x18ac56=(_0x3a59ba=this[_0x3f4fc3(0x424)][_0x3f4fc3(0x4a2)](Cr))!=null?_0x3a59ba:Rr;_0x4254df instanceof _0xae41d6&&(_0x18ac56=_0x4254df['name']),document['title']=_0x18ac56;}));}};Rt=Tr([Jt(0x0,_0x30dc1f),Jt(0x1,_0x50fa1b)],Rt);var br=Object['defineProperty'],Or=Object[_0x567f8e(0x33a)],yr=(_0x3f0dfa,_0x4daff3,_0x391fb0,_0x20b699)=>{for(var _0x141fc6=_0x20b699>0x1?void 0x0:_0x20b699?Or(_0x4daff3,_0x391fb0):_0x4daff3,_0xfc9532=_0x3f0dfa['length']-0x1,_0x452942;_0xfc9532>=0x0;_0xfc9532--)(_0x452942=_0x3f0dfa[_0xfc9532])&&(_0x141fc6=(_0x20b699?_0x452942(_0x4daff3,_0x391fb0,_0x141fc6):_0x452942(_0x141fc6))||_0x141fc6);return _0x20b699&&_0x141fc6&&br(_0x4daff3,_0x391fb0,_0x141fc6),_0x141fc6;},vt=(_0x109fd3,_0x32171e)=>(_0x1a0c89,_0xba9c04)=>_0x32171e(_0x1a0c89,_0xba9c04,_0x109fd3);let st=class{constructor(_0x1dbd34,_0x14e147,_0x47c966){var _0x5c3f54=_0x567f8e;this[_0x5c3f54(0x424)]=_0x1dbd34,this[_0x5c3f54(0x331)]=_0x14e147,this[_0x5c3f54(0x221)]=_0x47c966,this[_0x5c3f54(0x302)]();}[_0x567f8e(0x302)](){var _0x4127af=_0x567f8e;this[_0x4127af(0x331)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0xa3f077,_0x417031)=>_0x417031(_0xa3f077)[_0x4127af(0x441)](_0x3d7067(async _0x22ffe5=>{var _0x55de9b=_0x4127af;const _0x1cbf6a=_0x22ffe5;if(_0x1cbf6a['status']===0x191){if(typeof window>'u')throw new Error(_0x55de9b(0x46c));if(window[_0x55de9b(0x2f0)](this[_0x55de9b(0x221)]['t'](_0x55de9b(0x217)))){const _0x571899=window['encodeURIComponent'](window[_0x55de9b(0x38d)]['href']);window['location'][_0x55de9b(0x47f)]=this[_0x55de9b(0x261)]()+'?url='+_0x571899;}}return _0x1cbf6a;}))});}[_0x567f8e(0x261)](){var _0x547b10=_0x567f8e,_0x2a3ea7,_0x1d4663;const _0x36b6a0=this['_configService'][_0x547b10(0x4a2)](xn),_0x249546=this['_configService'][_0x547b10(0x4a2)](q);return(_0x1d4663=(_0x2a3ea7=_0x249546==null?void 0x0:_0x249546[_0x547b10(0x333)])!=null?_0x2a3ea7:_0x36b6a0)!=null?_0x1d4663:Ln;}};st=yr([vt(0x0,_0x50fa1b),vt(0x1,_0x4a37af(_0x470993)),vt(0x2,_0x4a37af(_0x53a40f))],st);var Nr=Object['defineProperty'],Dr=Object[_0x567f8e(0x33a)],Pr=(_0x24596d,_0x12af8c,_0x5cf9bf,_0x361450)=>{var _0x575aed=_0x567f8e;for(var _0x2ebd47=_0x361450>0x1?void 0x0:_0x361450?Dr(_0x12af8c,_0x5cf9bf):_0x12af8c,_0x1c88d5=_0x24596d[_0x575aed(0x41d)]-0x1,_0x2f14b9;_0x1c88d5>=0x0;_0x1c88d5--)(_0x2f14b9=_0x24596d[_0x1c88d5])&&(_0x2ebd47=(_0x361450?_0x2f14b9(_0x12af8c,_0x5cf9bf,_0x2ebd47):_0x2f14b9(_0x2ebd47))||_0x2ebd47);return _0x361450&&_0x2ebd47&&Nr(_0x12af8c,_0x5cf9bf,_0x2ebd47),_0x2ebd47;},Xt=(_0x2128de,_0x56cca5)=>(_0x2a3b7d,_0x26b276)=>_0x56cca5(_0x2a3b7d,_0x26b276,_0x2128de);const Pi=_0x567f8e(0x3b6),wr='/universer-api/authz';let bt=class extends _0x1c474f{constructor(_0x576360,_0x3e12b1){var _0x3b62e2=_0x567f8e;super(),this[_0x3b62e2(0x1cf)]=_0x576360,this[_0x3b62e2(0x424)]=_0x3e12b1,this['_initMergeInterceptor']();}['_initMergeInterceptor'](){const _0x4c96bb=this;this['disposeWithMe'](this['_HTTPService']['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x4e7802({'isMatch'(_0x37e6ab){var _0x580f56=_0x1e98,_0x3999eb;if(_0x37e6ab[_0x580f56(0x473)]===_0x580f56(0x357)&&((_0x3999eb=_0x37e6ab[_0x580f56(0x23e)])!=null&&_0x3999eb[_0x580f56(0x29f)])){const {objectID:_0x59be12,objectType:_0x4a9547}=_0x37e6ab[_0x580f56(0x23e)][_0x580f56(0x29f)]||{};if(!_0x59be12||_0x4a9547===void 0x0)return!0x1;const _0x9eabaa=_0x4c96bb['_getAPIPrefixPath']()+'/'+_0x4a9547+_0x580f56(0x323)+_0x59be12+_0x580f56(0x20a);if(_0x37e6ab['url']===_0x9eabaa)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d484b){var _0x3b13e1=_0x1e98,_0x46e568;return(_0x46e568=_0x3d484b[_0x3b13e1(0x23e)])==null?void 0x0:_0x46e568[_0x3b13e1(0x29f)];},'mergeParamsToRequest'(_0x4a3e0d,_0x3d454c){var _0x396f6a=_0x1e98;const _0xad37ed=_0x4c96bb['_getAPIPrefixPath']()+_0x396f6a(0x1aa),_0x4ee5b8=_0x4a3e0d['reduce']((_0x347ed9,_0x2ebe3c)=>{var _0x155e44=_0x396f6a;const {unitID:_0x3cc455,objectID:_0x14dbe5,objectType:_0x470ca8,actions:_0x1d7adf}=_0x2ebe3c;return _0x347ed9[_0x3cc455]||(_0x347ed9[_0x3cc455]={}),_0x347ed9[_0x3cc455][_0x14dbe5]||(_0x347ed9[_0x3cc455][_0x14dbe5]={'objectID':_0x14dbe5,'objectType':_0x470ca8,'actions':[]}),_0x347ed9[_0x3cc455][_0x14dbe5][_0x155e44(0x3fc)][_0x155e44(0x430)](..._0x1d7adf),_0x347ed9;},{}),_0xaadb9e=[];for(const _0x1d8523 in _0x4ee5b8)for(const _0x15fff9 in _0x4ee5b8[_0x1d8523]){const {actions:_0x250bf6,objectType:_0x26c34d}=_0x4ee5b8[_0x1d8523][_0x15fff9],_0x299ab7=[...new Set(_0x250bf6)];_0xaadb9e[_0x396f6a(0x430)]({'unitID':_0x1d8523,'objectID':_0x15fff9,'objectType':_0x26c34d,'actions':_0x299ab7});}return new _0x24d727(_0x396f6a(0x357),_0xad37ed,{'headers':_0x3d454c[_0x396f6a(0x47a)],'withCredentials':_0x3d454c['withCredentials'],'responseType':_0x3d454c[_0x396f6a(0x2d3)],'body':{'requests':_0xaadb9e}});}},{'distributeResult'(_0x49bb73,_0x4b0064){var _0x147604=_0x1e98;const {objectActions:_0xa5d688}=_0x49bb73;return _0x4b0064[_0x147604(0x26d)](_0x519505=>{var _0x54e967=_0x147604;const {unitID:_0x50f0eb,objectID:_0x1a8f22,actions:_0x319d83}=_0x519505,_0x5ca92d=_0xa5d688[_0x54e967(0x220)](_0x1cb8e0=>_0x1cb8e0['unitID']===_0x50f0eb&&_0x1cb8e0[_0x54e967(0x2b2)]===_0x1a8f22),_0x1946ec=_0x319d83['map'](_0x48b67f=>_0x5ca92d==null?void 0x0:_0x5ca92d[_0x54e967(0x3fc)]['find'](_0x29b1ce=>_0x29b1ce[_0x54e967(0x3d9)]===_0x48b67f))[_0x54e967(0x321)](_0x585770=>!!_0x585770);return{'config':_0x519505,'result':{'actions':_0x1946ec,'error':_0x49bb73['error']}};});}})}));}[_0x567f8e(0x222)](){var _0x33866c=_0x567f8e,_0x461624,_0x4bc060;const _0x2b9f84=this[_0x33866c(0x424)]['getConfig'](Pi),_0x49a7ee=this[_0x33866c(0x424)][_0x33866c(0x4a2)](q);return(_0x4bc060=(_0x461624=_0x49a7ee==null?void 0x0:_0x49a7ee[_0x33866c(0x432)])!=null?_0x461624:_0x2b9f84)!=null?_0x4bc060:wr;}async['create'](_0x4cc18c){var _0x1e9384=_0x567f8e;const _0xf9a628=this[_0x1e9384(0x222)]()+'/'+_0x4cc18c[_0x1e9384(0x405)]+_0x1e9384(0x285);return(await this['_HTTPService'][_0x1e9384(0x41b)](_0xf9a628,{'body':_0x4cc18c}))[_0x1e9384(0x29f)][_0x1e9384(0x2b2)]||'';}async[_0x567f8e(0x33b)](_0x5b447b){var _0x169ac4=_0x567f8e;const _0x376d3f=this[_0x169ac4(0x222)]()+_0x169ac4(0x305);return(await this[_0x169ac4(0x1cf)][_0x169ac4(0x41b)](_0x376d3f,{'body':_0x5b447b}))[_0x169ac4(0x29f)][_0x169ac4(0x3fe)];}async[_0x567f8e(0x273)](_0x1ed5a1){var _0x535c97=_0x567f8e;const _0x5cf8af=this[_0x535c97(0x222)]()+'/'+_0x1ed5a1[_0x535c97(0x405)]+_0x535c97(0x323)+_0x1ed5a1[_0x535c97(0x2b2)];await this['_HTTPService'][_0x535c97(0x271)](_0x5cf8af,{'body':_0x1ed5a1});}async[_0x567f8e(0x355)](_0x5ea2a2){var _0x4d408a=_0x567f8e;const _0x22dff9=this['_getAPIPrefixPath']()+'/'+_0x5ea2a2[_0x4d408a(0x405)]+_0x4d408a(0x323)+_0x5ea2a2['objectID']+_0x4d408a(0x20a);return(await this['_HTTPService'][_0x4d408a(0x41b)](_0x22dff9,{'body':_0x5ea2a2}))['body'][_0x4d408a(0x3fc)];}async[_0x567f8e(0x349)](_0x34768a){var _0x2f81da=_0x567f8e;const _0x1e060b=this[_0x2f81da(0x222)]()+_0x2f81da(0x1aa);return(await this[_0x2f81da(0x1cf)][_0x2f81da(0x41b)](_0x1e060b,{'body':{'requests':_0x34768a}}))['body'][_0x2f81da(0x1ba)];}async['listRoles'](_0x5ce0ed){var _0x5585d=_0x567f8e;const _0x14eab3=this[_0x5585d(0x222)]()+'/'+_0x5ce0ed[_0x5585d(0x405)]+_0x5585d(0x32d),_0x3b9dda=await this['_HTTPService'][_0x5585d(0x41b)](_0x14eab3,{'body':_0x5ce0ed});return{'roles':_0x3b9dda['body'][_0x5585d(0x3f9)],'actions':_0x3b9dda[_0x5585d(0x29f)][_0x5585d(0x3fc)]};}async[_0x567f8e(0x3a9)](_0x5d0936){var _0x5e98b3=_0x567f8e;const _0x34ab1a=this[_0x5e98b3(0x222)]()+'/collaborator';await this[_0x5e98b3(0x1cf)]['delete'](_0x34ab1a,{'params':{'collaboratorID':_0x5d0936[_0x5e98b3(0x22d)],'objectID':_0x5d0936[_0x5e98b3(0x2b2)],'unitID':_0x5d0936[_0x5e98b3(0x34f)]}});}async[_0x567f8e(0x37e)](_0xc0ebcc){var _0x4db085=_0x567f8e;const _0x3d99c4=this[_0x4db085(0x222)]()+_0x4db085(0x438);await this[_0x4db085(0x1cf)]['patch'](_0x3d99c4,{'body':_0xc0ebcc});}async[_0x567f8e(0x334)](_0x493278){var _0xf14168=_0x567f8e;const _0xe2f13c=this[_0xf14168(0x222)]()+_0xf14168(0x438);await this['_HTTPService']['post'](_0xe2f13c,{'body':_0x493278});}async['listCollaborators'](_0x39cb40){var _0x29018b=_0x567f8e;const _0x76ba52=this[_0x29018b(0x222)]()+_0x29018b(0x438);return(await this[_0x29018b(0x1cf)][_0x29018b(0x33f)](_0x76ba52,{'params':{'objectID':_0x39cb40[_0x29018b(0x2b2)],'unitID':_0x39cb40[_0x29018b(0x34f)]}}))['body'][_0x29018b(0x1bf)];}async['putCollaborators'](_0x3a08a3){var _0x2c76ee=_0x567f8e;const _0x4f4cc8=this[_0x2c76ee(0x222)]()+_0x2c76ee(0x438);await this[_0x2c76ee(0x1cf)][_0x2c76ee(0x271)](_0x4f4cc8,{'body':_0x3a08a3});}};bt=Pr([Xt(0x0,_0x4a37af(_0x470993)),Xt(0x1,_0x4a37af(_0x50fa1b))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x1fefb6){var _0x1f249e=_0x567f8e;return _0x1fefb6&&_0x1fefb6['__esModule']&&Object[_0x1f249e(0x204)][_0x1f249e(0x320)][_0x1f249e(0x3b0)](_0x1fefb6,'default')?_0x1fefb6['default']:_0x1fefb6;}var Ve={'exports':{}};function Ur(_0x532160){var _0x272584=_0x567f8e;throw new Error(_0x272584(0x21d)+_0x532160+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ge={'exports':{}},Ar=Ge[_0x567f8e(0x284)],Zt;function ne(){var _0x4469ce=_0x567f8e;return Zt||(Zt=0x1,function(_0x564aa5,_0x2c51f5){(function(_0x343b9a,_0x47adfe){_0x564aa5['exports']=_0x47adfe();}(Ar,function(){var _0x3e0207=_0x3e0207||function(_0x571600,_0x39abb3){var _0x1f7580=_0x1e98,_0x2f135d;if(typeof window<'u'&&window[_0x1f7580(0x45d)]&&(_0x2f135d=window[_0x1f7580(0x45d)]),typeof self<'u'&&self[_0x1f7580(0x45d)]&&(_0x2f135d=self['crypto']),typeof globalThis<'u'&&globalThis[_0x1f7580(0x45d)]&&(_0x2f135d=globalThis['crypto']),!_0x2f135d&&typeof window<'u'&&window['msCrypto']&&(_0x2f135d=window[_0x1f7580(0x296)]),!_0x2f135d&&typeof pt<'u'&&pt[_0x1f7580(0x45d)]&&(_0x2f135d=pt['crypto']),!_0x2f135d&&typeof Ur==_0x1f7580(0x482))try{_0x2f135d=require(_0x1f7580(0x45d));}catch{}var _0x3d5123=function(){var _0x2bb14d=_0x1f7580;if(_0x2f135d){if(typeof _0x2f135d['getRandomValues']=='function')try{return _0x2f135d[_0x2bb14d(0x48a)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x2f135d[_0x2bb14d(0x3a0)]=='function')try{return _0x2f135d['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2bb14d(0x29a));},_0x2f4358=Object[_0x1f7580(0x3b4)]||(function(){function _0x542f0a(){}return function(_0x5c0050){var _0x1f545a=_0x1e98,_0x1ce174;return _0x542f0a[_0x1f545a(0x204)]=_0x5c0050,_0x1ce174=new _0x542f0a(),_0x542f0a['prototype']=null,_0x1ce174;};}()),_0x3d332a={},_0x507960=_0x3d332a['lib']={},_0x39562f=_0x507960[_0x1f7580(0x490)]=(function(){return{'extend':function(_0x2e1bb2){var _0x312643=_0x1e98,_0x31e9bf=_0x2f4358(this);return _0x2e1bb2&&_0x31e9bf[_0x312643(0x326)](_0x2e1bb2),(!_0x31e9bf[_0x312643(0x320)](_0x312643(0x302))||this[_0x312643(0x302)]===_0x31e9bf[_0x312643(0x302)])&&(_0x31e9bf[_0x312643(0x302)]=function(){var _0x1776f9=_0x312643;_0x31e9bf[_0x1776f9(0x3d1)][_0x1776f9(0x302)]['apply'](this,arguments);}),_0x31e9bf['init'][_0x312643(0x204)]=_0x31e9bf,_0x31e9bf[_0x312643(0x3d1)]=this,_0x31e9bf;},'create':function(){var _0x19bd8e=_0x1e98,_0x2a2900=this['extend']();return _0x2a2900[_0x19bd8e(0x302)][_0x19bd8e(0x488)](_0x2a2900,arguments),_0x2a2900;},'init':function(){},'mixIn':function(_0x678293){var _0x130ec2=_0x1e98;for(var _0x191814 in _0x678293)_0x678293[_0x130ec2(0x320)](_0x191814)&&(this[_0x191814]=_0x678293[_0x191814]);_0x678293['hasOwnProperty']('toString')&&(this['toString']=_0x678293[_0x130ec2(0x363)]);},'clone':function(){var _0x173d54=_0x1e98;return this[_0x173d54(0x302)][_0x173d54(0x204)]['extend'](this);}};}()),_0x50b11d=_0x507960[_0x1f7580(0x425)]=_0x39562f[_0x1f7580(0x42d)]({'init':function(_0x5bac4e,_0x5c4f45){var _0x2ebdf3=_0x1f7580;_0x5bac4e=this[_0x2ebdf3(0x3dc)]=_0x5bac4e||[],_0x5c4f45!=_0x39abb3?this[_0x2ebdf3(0x423)]=_0x5c4f45:this['sigBytes']=_0x5bac4e['length']*0x4;},'toString':function(_0x4ac13b){var _0x5db276=_0x1f7580;return(_0x4ac13b||_0xe199eb)[_0x5db276(0x342)](this);},'concat':function(_0x535b76){var _0x3779d4=_0x1f7580,_0x53f622=this[_0x3779d4(0x3dc)],_0x2e2bb0=_0x535b76[_0x3779d4(0x3dc)],_0x3c1e76=this[_0x3779d4(0x423)],_0x55e69e=_0x535b76['sigBytes'];if(this[_0x3779d4(0x3f0)](),_0x3c1e76%0x4)for(var _0x5ba78f=0x0;_0x5ba78f<_0x55e69e;_0x5ba78f++){var _0x358e0b=_0x2e2bb0[_0x5ba78f>>>0x2]>>>0x18-_0x5ba78f%0x4*0x8&0xff;_0x53f622[_0x3c1e76+_0x5ba78f>>>0x2]|=_0x358e0b<<0x18-(_0x3c1e76+_0x5ba78f)%0x4*0x8;}else{for(var _0x4e38a4=0x0;_0x4e38a4<_0x55e69e;_0x4e38a4+=0x4)_0x53f622[_0x3c1e76+_0x4e38a4>>>0x2]=_0x2e2bb0[_0x4e38a4>>>0x2];}return this[_0x3779d4(0x423)]+=_0x55e69e,this;},'clamp':function(){var _0x4c9e27=_0x1f7580,_0x3ab4c5=this[_0x4c9e27(0x3dc)],_0x56b878=this[_0x4c9e27(0x423)];_0x3ab4c5[_0x56b878>>>0x2]&=0xffffffff<<0x20-_0x56b878%0x4*0x8,_0x3ab4c5['length']=_0x571600[_0x4c9e27(0x26b)](_0x56b878/0x4);},'clone':function(){var _0x443e36=_0x1f7580,_0x587ccd=_0x39562f[_0x443e36(0x494)]['call'](this);return _0x587ccd[_0x443e36(0x3dc)]=this[_0x443e36(0x3dc)][_0x443e36(0x448)](0x0),_0x587ccd;},'random':function(_0x3b2c5a){var _0x5e1842=_0x1f7580;for(var _0x106eda=[],_0x552e6a=0x0;_0x552e6a<_0x3b2c5a;_0x552e6a+=0x4)_0x106eda[_0x5e1842(0x430)](_0x3d5123());return new _0x50b11d[(_0x5e1842(0x302))](_0x106eda,_0x3b2c5a);}}),_0x3f9b52=_0x3d332a['enc']={},_0xe199eb=_0x3f9b52[_0x1f7580(0x1e5)]={'stringify':function(_0x4de1b3){var _0xa3441c=_0x1f7580;for(var _0x2e0a64=_0x4de1b3[_0xa3441c(0x3dc)],_0x541501=_0x4de1b3[_0xa3441c(0x423)],_0xb4be9f=[],_0x1cfcee=0x0;_0x1cfcee<_0x541501;_0x1cfcee++){var _0x1583df=_0x2e0a64[_0x1cfcee>>>0x2]>>>0x18-_0x1cfcee%0x4*0x8&0xff;_0xb4be9f[_0xa3441c(0x430)]((_0x1583df>>>0x4)[_0xa3441c(0x363)](0x10)),_0xb4be9f[_0xa3441c(0x430)]((_0x1583df&0xf)[_0xa3441c(0x363)](0x10));}return _0xb4be9f['join']('');},'parse':function(_0x284a2b){var _0x2c3920=_0x1f7580;for(var _0x32afcf=_0x284a2b[_0x2c3920(0x41d)],_0x18d8e0=[],_0x355276=0x0;_0x355276<_0x32afcf;_0x355276+=0x2)_0x18d8e0[_0x355276>>>0x3]|=parseInt(_0x284a2b[_0x2c3920(0x3bb)](_0x355276,0x2),0x10)<<0x18-_0x355276%0x8*0x4;return new _0x50b11d[(_0x2c3920(0x302))](_0x18d8e0,_0x32afcf/0x2);}},_0x1301ef=_0x3f9b52[_0x1f7580(0x319)]={'stringify':function(_0x1d6b54){var _0x8d2b50=_0x1f7580;for(var _0x4703a5=_0x1d6b54[_0x8d2b50(0x3dc)],_0x22ee8f=_0x1d6b54[_0x8d2b50(0x423)],_0x5c7291=[],_0x196f12=0x0;_0x196f12<_0x22ee8f;_0x196f12++){var _0x5311df=_0x4703a5[_0x196f12>>>0x2]>>>0x18-_0x196f12%0x4*0x8&0xff;_0x5c7291['push'](String[_0x8d2b50(0x39a)](_0x5311df));}return _0x5c7291[_0x8d2b50(0x330)]('');},'parse':function(_0x116910){var _0x5c0fb1=_0x1f7580;for(var _0x33105f=_0x116910[_0x5c0fb1(0x41d)],_0x4142e9=[],_0x255724=0x0;_0x255724<_0x33105f;_0x255724++)_0x4142e9[_0x255724>>>0x2]|=(_0x116910[_0x5c0fb1(0x352)](_0x255724)&0xff)<<0x18-_0x255724%0x4*0x8;return new _0x50b11d[(_0x5c0fb1(0x302))](_0x4142e9,_0x33105f);}},_0x1a1934=_0x3f9b52[_0x1f7580(0x244)]={'stringify':function(_0x2e2a84){var _0x439638=_0x1f7580;try{return decodeURIComponent(escape(_0x1301ef[_0x439638(0x342)](_0x2e2a84)));}catch{throw new Error(_0x439638(0x232));}},'parse':function(_0x5a4b13){var _0x10d0de=_0x1f7580;return _0x1301ef[_0x10d0de(0x262)](unescape(encodeURIComponent(_0x5a4b13)));}},_0x22aa3=_0x507960['BufferedBlockAlgorithm']=_0x39562f[_0x1f7580(0x42d)]({'reset':function(){var _0x386128=_0x1f7580;this[_0x386128(0x28c)]=new _0x50b11d['init'](),this[_0x386128(0x267)]=0x0;},'_append':function(_0x461ccf){var _0x108ffd=_0x1f7580;typeof _0x461ccf==_0x108ffd(0x210)&&(_0x461ccf=_0x1a1934[_0x108ffd(0x262)](_0x461ccf)),this[_0x108ffd(0x28c)][_0x108ffd(0x2f7)](_0x461ccf),this[_0x108ffd(0x267)]+=_0x461ccf[_0x108ffd(0x423)];},'_process':function(_0x54b919){var _0x4249fb=_0x1f7580,_0x531a53,_0x26cbd9=this[_0x4249fb(0x28c)],_0x5dd36e=_0x26cbd9[_0x4249fb(0x3dc)],_0x36f2f4=_0x26cbd9[_0x4249fb(0x423)],_0x9f0f36=this[_0x4249fb(0x34c)],_0xde552d=_0x9f0f36*0x4,_0xac35cd=_0x36f2f4/_0xde552d;_0x54b919?_0xac35cd=_0x571600['ceil'](_0xac35cd):_0xac35cd=_0x571600[_0x4249fb(0x287)]((_0xac35cd|0x0)-this[_0x4249fb(0x3eb)],0x0);var _0x25033=_0xac35cd*_0x9f0f36,_0xb99c35=_0x571600[_0x4249fb(0x1c7)](_0x25033*0x4,_0x36f2f4);if(_0x25033){for(var _0x9f43fa=0x0;_0x9f43fa<_0x25033;_0x9f43fa+=_0x9f0f36)this['_doProcessBlock'](_0x5dd36e,_0x9f43fa);_0x531a53=_0x5dd36e[_0x4249fb(0x24b)](0x0,_0x25033),_0x26cbd9[_0x4249fb(0x423)]-=_0xb99c35;}return new _0x50b11d[(_0x4249fb(0x302))](_0x531a53,_0xb99c35);},'clone':function(){var _0x21d0b6=_0x1f7580,_0x276917=_0x39562f[_0x21d0b6(0x494)][_0x21d0b6(0x3b0)](this);return _0x276917[_0x21d0b6(0x28c)]=this[_0x21d0b6(0x28c)][_0x21d0b6(0x494)](),_0x276917;},'_minBufferSize':0x0});_0x507960[_0x1f7580(0x1f0)]=_0x22aa3[_0x1f7580(0x42d)]({'cfg':_0x39562f[_0x1f7580(0x42d)](),'init':function(_0x504a7e){var _0xced67d=_0x1f7580;this['cfg']=this[_0xced67d(0x3f2)][_0xced67d(0x42d)](_0x504a7e),this[_0xced67d(0x458)]();},'reset':function(){var _0x34bb70=_0x1f7580;_0x22aa3[_0x34bb70(0x458)]['call'](this),this['_doReset']();},'update':function(_0x9756bf){var _0x358acd=_0x1f7580;return this[_0x358acd(0x23a)](_0x9756bf),this[_0x358acd(0x421)](),this;},'finalize':function(_0x3a91ea){var _0x111e10=_0x1f7580;_0x3a91ea&&this[_0x111e10(0x23a)](_0x3a91ea);var _0x505b08=this[_0x111e10(0x3aa)]();return _0x505b08;},'blockSize':0x10,'_createHelper':function(_0x3cf771){return function(_0xf59f7b,_0x3d9622){var _0x2c80d9=_0x1e98;return new _0x3cf771[(_0x2c80d9(0x302))](_0x3d9622)[_0x2c80d9(0x2d4)](_0xf59f7b);};},'_createHmacHelper':function(_0x28abaf){return function(_0x274262,_0x5b429f){var _0x1a0809=_0x1e98;return new _0x3d5d02[(_0x1a0809(0x31e))]['init'](_0x28abaf,_0x5b429f)[_0x1a0809(0x2d4)](_0x274262);};}});var _0x3d5d02=_0x3d332a[_0x1f7580(0x1bb)]={};return _0x3d332a;}(Math);return _0x3e0207;}));}(Ge)),Ge[_0x4469ce(0x284)];}var We={'exports':{}},xr=We[_0x567f8e(0x284)],Qt;function wi(){return Qt||(Qt=0x1,function(_0x2d0af4,_0x47d4f4){(function(_0x5b3a39,_0x13888e){var _0x1dfb52=_0x1e98;_0x2d0af4[_0x1dfb52(0x284)]=_0x13888e(ne());}(xr,function(_0x58fdb6){var _0x3f54ed=_0x1e98;return(function(){var _0x48fef1=_0x1e98,_0x58aafe=_0x58fdb6,_0x52b606=_0x58aafe['lib'],_0x111e6d=_0x52b606[_0x48fef1(0x425)],_0x25cc79=_0x58aafe[_0x48fef1(0x3b7)];_0x25cc79[_0x48fef1(0x39d)]={'stringify':function(_0x4e63b9){var _0x45c987=_0x48fef1,_0x1507cf=_0x4e63b9[_0x45c987(0x3dc)],_0xb0141b=_0x4e63b9[_0x45c987(0x423)],_0x23b42e=this[_0x45c987(0x470)];_0x4e63b9['clamp']();for(var _0x26b6d3=[],_0xec6062=0x0;_0xec6062<_0xb0141b;_0xec6062+=0x3)for(var _0xf2c5b2=_0x1507cf[_0xec6062>>>0x2]>>>0x18-_0xec6062%0x4*0x8&0xff,_0xd44f60=_0x1507cf[_0xec6062+0x1>>>0x2]>>>0x18-(_0xec6062+0x1)%0x4*0x8&0xff,_0x3f5b1d=_0x1507cf[_0xec6062+0x2>>>0x2]>>>0x18-(_0xec6062+0x2)%0x4*0x8&0xff,_0xe6204d=_0xf2c5b2<<0x10|_0xd44f60<<0x8|_0x3f5b1d,_0x4ea2af=0x0;_0x4ea2af<0x4&&_0xec6062+_0x4ea2af*0.75<_0xb0141b;_0x4ea2af++)_0x26b6d3[_0x45c987(0x430)](_0x23b42e[_0x45c987(0x443)](_0xe6204d>>>0x6*(0x3-_0x4ea2af)&0x3f));var _0x66e12d=_0x23b42e['charAt'](0x40);if(_0x66e12d){for(;_0x26b6d3[_0x45c987(0x41d)]%0x4;)_0x26b6d3[_0x45c987(0x430)](_0x66e12d);}return _0x26b6d3[_0x45c987(0x330)]('');},'parse':function(_0x5ccd37){var _0xc6a7df=_0x48fef1,_0x5a04f3=_0x5ccd37[_0xc6a7df(0x41d)],_0x5d8970=this[_0xc6a7df(0x470)],_0x1b22fb=this['_reverseMap'];if(!_0x1b22fb){_0x1b22fb=this[_0xc6a7df(0x457)]=[];for(var _0xed5928=0x0;_0xed5928<_0x5d8970['length'];_0xed5928++)_0x1b22fb[_0x5d8970['charCodeAt'](_0xed5928)]=_0xed5928;}var _0x150995=_0x5d8970[_0xc6a7df(0x443)](0x40);if(_0x150995){var _0x3e0122=_0x5ccd37['indexOf'](_0x150995);_0x3e0122!==-0x1&&(_0x5a04f3=_0x3e0122);}return _0x443251(_0x5ccd37,_0x5a04f3,_0x1b22fb);},'_map':_0x48fef1(0x37b)};function _0x443251(_0xf2439b,_0x4fc263,_0x59cbed){var _0x4f4476=_0x48fef1;for(var _0xc4305e=[],_0x43b236=0x0,_0x2a9315=0x0;_0x2a9315<_0x4fc263;_0x2a9315++)if(_0x2a9315%0x4){var _0x512ab2=_0x59cbed[_0xf2439b[_0x4f4476(0x352)](_0x2a9315-0x1)]<<_0x2a9315%0x4*0x2,_0x36e86d=_0x59cbed[_0xf2439b[_0x4f4476(0x352)](_0x2a9315)]>>>0x6-_0x2a9315%0x4*0x2,_0x5bdad7=_0x512ab2|_0x36e86d;_0xc4305e[_0x43b236>>>0x2]|=_0x5bdad7<<0x18-_0x43b236%0x4*0x8,_0x43b236++;}return _0x111e6d[_0x4f4476(0x3b4)](_0xc4305e,_0x43b236);}}()),_0x58fdb6[_0x3f54ed(0x3b7)][_0x3f54ed(0x39d)];}));}(We)),We['exports'];}var Ke={'exports':{}},Lr=Ke['exports'],ei;function Mr(){return ei||(ei=0x1,function(_0x109e24,_0x413492){(function(_0x577609,_0x48e5f3){var _0x333087=_0x1e98;_0x109e24[_0x333087(0x284)]=_0x48e5f3(ne());}(Lr,function(_0xb7f23c){var _0x475482=_0x1e98;return function(_0x15e81e){var _0x50dba9=_0x1e98,_0x58bc01=_0xb7f23c,_0xbad6a7=_0x58bc01[_0x50dba9(0x38f)],_0x927729=_0xbad6a7[_0x50dba9(0x425)],_0x1a15e9=_0xbad6a7[_0x50dba9(0x1f0)],_0x49ce56=_0x58bc01[_0x50dba9(0x1bb)],_0x16d92a=[];(function(){var _0x57d4a1=_0x50dba9;for(var _0x4d69bf=0x0;_0x4d69bf<0x40;_0x4d69bf++)_0x16d92a[_0x4d69bf]=_0x15e81e[_0x57d4a1(0x388)](_0x15e81e[_0x57d4a1(0x1d8)](_0x4d69bf+0x1))*0x100000000|0x0;}());var _0x562803=_0x49ce56[_0x50dba9(0x41e)]=_0x1a15e9['extend']({'_doReset':function(){var _0x11b444=_0x50dba9;this['_hash']=new _0x927729[(_0x11b444(0x302))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x29cd65,_0x5d813){var _0x593c4f=_0x50dba9;for(var _0x10c77f=0x0;_0x10c77f<0x10;_0x10c77f++){var _0x434c38=_0x5d813+_0x10c77f,_0x40eb15=_0x29cd65[_0x434c38];_0x29cd65[_0x434c38]=(_0x40eb15<<0x8|_0x40eb15>>>0x18)&0xff00ff|(_0x40eb15<<0x18|_0x40eb15>>>0x8)&0xff00ff00;}var _0x57b619=this[_0x593c4f(0x1e8)]['words'],_0x484739=_0x29cd65[_0x5d813+0x0],_0x21aeb9=_0x29cd65[_0x5d813+0x1],_0x3dd0cb=_0x29cd65[_0x5d813+0x2],_0x23ba55=_0x29cd65[_0x5d813+0x3],_0x1a1efb=_0x29cd65[_0x5d813+0x4],_0x5760cb=_0x29cd65[_0x5d813+0x5],_0x2a1182=_0x29cd65[_0x5d813+0x6],_0x1ec371=_0x29cd65[_0x5d813+0x7],_0x2c2d52=_0x29cd65[_0x5d813+0x8],_0x1f9bff=_0x29cd65[_0x5d813+0x9],_0x5de87c=_0x29cd65[_0x5d813+0xa],_0x1635b2=_0x29cd65[_0x5d813+0xb],_0x1331d5=_0x29cd65[_0x5d813+0xc],_0x1042ff=_0x29cd65[_0x5d813+0xd],_0x4822f9=_0x29cd65[_0x5d813+0xe],_0x44014c=_0x29cd65[_0x5d813+0xf],_0x21b9ce=_0x57b619[0x0],_0x132531=_0x57b619[0x1],_0x4319c9=_0x57b619[0x2],_0x2dbd8f=_0x57b619[0x3];_0x21b9ce=_0x19e891(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x484739,0x7,_0x16d92a[0x0]),_0x2dbd8f=_0x19e891(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x21aeb9,0xc,_0x16d92a[0x1]),_0x4319c9=_0x19e891(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x3dd0cb,0x11,_0x16d92a[0x2]),_0x132531=_0x19e891(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x23ba55,0x16,_0x16d92a[0x3]),_0x21b9ce=_0x19e891(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1a1efb,0x7,_0x16d92a[0x4]),_0x2dbd8f=_0x19e891(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x5760cb,0xc,_0x16d92a[0x5]),_0x4319c9=_0x19e891(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x2a1182,0x11,_0x16d92a[0x6]),_0x132531=_0x19e891(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1ec371,0x16,_0x16d92a[0x7]),_0x21b9ce=_0x19e891(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x2c2d52,0x7,_0x16d92a[0x8]),_0x2dbd8f=_0x19e891(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1f9bff,0xc,_0x16d92a[0x9]),_0x4319c9=_0x19e891(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x5de87c,0x11,_0x16d92a[0xa]),_0x132531=_0x19e891(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1635b2,0x16,_0x16d92a[0xb]),_0x21b9ce=_0x19e891(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1331d5,0x7,_0x16d92a[0xc]),_0x2dbd8f=_0x19e891(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1042ff,0xc,_0x16d92a[0xd]),_0x4319c9=_0x19e891(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x4822f9,0x11,_0x16d92a[0xe]),_0x132531=_0x19e891(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x44014c,0x16,_0x16d92a[0xf]),_0x21b9ce=_0xc7b341(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x21aeb9,0x5,_0x16d92a[0x10]),_0x2dbd8f=_0xc7b341(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x2a1182,0x9,_0x16d92a[0x11]),_0x4319c9=_0xc7b341(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x1635b2,0xe,_0x16d92a[0x12]),_0x132531=_0xc7b341(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x484739,0x14,_0x16d92a[0x13]),_0x21b9ce=_0xc7b341(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x5760cb,0x5,_0x16d92a[0x14]),_0x2dbd8f=_0xc7b341(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x5de87c,0x9,_0x16d92a[0x15]),_0x4319c9=_0xc7b341(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x44014c,0xe,_0x16d92a[0x16]),_0x132531=_0xc7b341(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1a1efb,0x14,_0x16d92a[0x17]),_0x21b9ce=_0xc7b341(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1f9bff,0x5,_0x16d92a[0x18]),_0x2dbd8f=_0xc7b341(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x4822f9,0x9,_0x16d92a[0x19]),_0x4319c9=_0xc7b341(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x23ba55,0xe,_0x16d92a[0x1a]),_0x132531=_0xc7b341(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x2c2d52,0x14,_0x16d92a[0x1b]),_0x21b9ce=_0xc7b341(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1042ff,0x5,_0x16d92a[0x1c]),_0x2dbd8f=_0xc7b341(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x3dd0cb,0x9,_0x16d92a[0x1d]),_0x4319c9=_0xc7b341(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x1ec371,0xe,_0x16d92a[0x1e]),_0x132531=_0xc7b341(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1331d5,0x14,_0x16d92a[0x1f]),_0x21b9ce=_0x27dee4(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x5760cb,0x4,_0x16d92a[0x20]),_0x2dbd8f=_0x27dee4(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x2c2d52,0xb,_0x16d92a[0x21]),_0x4319c9=_0x27dee4(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x1635b2,0x10,_0x16d92a[0x22]),_0x132531=_0x27dee4(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x4822f9,0x17,_0x16d92a[0x23]),_0x21b9ce=_0x27dee4(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x21aeb9,0x4,_0x16d92a[0x24]),_0x2dbd8f=_0x27dee4(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1a1efb,0xb,_0x16d92a[0x25]),_0x4319c9=_0x27dee4(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x1ec371,0x10,_0x16d92a[0x26]),_0x132531=_0x27dee4(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x5de87c,0x17,_0x16d92a[0x27]),_0x21b9ce=_0x27dee4(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1042ff,0x4,_0x16d92a[0x28]),_0x2dbd8f=_0x27dee4(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x484739,0xb,_0x16d92a[0x29]),_0x4319c9=_0x27dee4(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x23ba55,0x10,_0x16d92a[0x2a]),_0x132531=_0x27dee4(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x2a1182,0x17,_0x16d92a[0x2b]),_0x21b9ce=_0x27dee4(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1f9bff,0x4,_0x16d92a[0x2c]),_0x2dbd8f=_0x27dee4(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1331d5,0xb,_0x16d92a[0x2d]),_0x4319c9=_0x27dee4(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x44014c,0x10,_0x16d92a[0x2e]),_0x132531=_0x27dee4(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x3dd0cb,0x17,_0x16d92a[0x2f]),_0x21b9ce=_0x8d3ecd(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x484739,0x6,_0x16d92a[0x30]),_0x2dbd8f=_0x8d3ecd(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1ec371,0xa,_0x16d92a[0x31]),_0x4319c9=_0x8d3ecd(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x4822f9,0xf,_0x16d92a[0x32]),_0x132531=_0x8d3ecd(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x5760cb,0x15,_0x16d92a[0x33]),_0x21b9ce=_0x8d3ecd(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1331d5,0x6,_0x16d92a[0x34]),_0x2dbd8f=_0x8d3ecd(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x23ba55,0xa,_0x16d92a[0x35]),_0x4319c9=_0x8d3ecd(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x5de87c,0xf,_0x16d92a[0x36]),_0x132531=_0x8d3ecd(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x21aeb9,0x15,_0x16d92a[0x37]),_0x21b9ce=_0x8d3ecd(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x2c2d52,0x6,_0x16d92a[0x38]),_0x2dbd8f=_0x8d3ecd(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x44014c,0xa,_0x16d92a[0x39]),_0x4319c9=_0x8d3ecd(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x2a1182,0xf,_0x16d92a[0x3a]),_0x132531=_0x8d3ecd(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1042ff,0x15,_0x16d92a[0x3b]),_0x21b9ce=_0x8d3ecd(_0x21b9ce,_0x132531,_0x4319c9,_0x2dbd8f,_0x1a1efb,0x6,_0x16d92a[0x3c]),_0x2dbd8f=_0x8d3ecd(_0x2dbd8f,_0x21b9ce,_0x132531,_0x4319c9,_0x1635b2,0xa,_0x16d92a[0x3d]),_0x4319c9=_0x8d3ecd(_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x132531,_0x3dd0cb,0xf,_0x16d92a[0x3e]),_0x132531=_0x8d3ecd(_0x132531,_0x4319c9,_0x2dbd8f,_0x21b9ce,_0x1f9bff,0x15,_0x16d92a[0x3f]),_0x57b619[0x0]=_0x57b619[0x0]+_0x21b9ce|0x0,_0x57b619[0x1]=_0x57b619[0x1]+_0x132531|0x0,_0x57b619[0x2]=_0x57b619[0x2]+_0x4319c9|0x0,_0x57b619[0x3]=_0x57b619[0x3]+_0x2dbd8f|0x0;},'_doFinalize':function(){var _0x2874dd=_0x50dba9,_0x219d5c=this[_0x2874dd(0x28c)],_0xbef7e1=_0x219d5c[_0x2874dd(0x3dc)],_0x1d2de8=this[_0x2874dd(0x267)]*0x8,_0x1ebc9f=_0x219d5c[_0x2874dd(0x423)]*0x8;_0xbef7e1[_0x1ebc9f>>>0x5]|=0x80<<0x18-_0x1ebc9f%0x20;var _0x501066=_0x15e81e[_0x2874dd(0x3ac)](_0x1d2de8/0x100000000),_0x55ad51=_0x1d2de8;_0xbef7e1[(_0x1ebc9f+0x40>>>0x9<<0x4)+0xf]=(_0x501066<<0x8|_0x501066>>>0x18)&0xff00ff|(_0x501066<<0x18|_0x501066>>>0x8)&0xff00ff00,_0xbef7e1[(_0x1ebc9f+0x40>>>0x9<<0x4)+0xe]=(_0x55ad51<<0x8|_0x55ad51>>>0x18)&0xff00ff|(_0x55ad51<<0x18|_0x55ad51>>>0x8)&0xff00ff00,_0x219d5c[_0x2874dd(0x423)]=(_0xbef7e1[_0x2874dd(0x41d)]+0x1)*0x4,this[_0x2874dd(0x421)]();for(var _0x12fbcc=this[_0x2874dd(0x1e8)],_0x312759=_0x12fbcc[_0x2874dd(0x3dc)],_0x21a5e0=0x0;_0x21a5e0<0x4;_0x21a5e0++){var _0x1620f7=_0x312759[_0x21a5e0];_0x312759[_0x21a5e0]=(_0x1620f7<<0x8|_0x1620f7>>>0x18)&0xff00ff|(_0x1620f7<<0x18|_0x1620f7>>>0x8)&0xff00ff00;}return _0x12fbcc;},'clone':function(){var _0x51708c=_0x50dba9,_0x1e2231=_0x1a15e9[_0x51708c(0x494)][_0x51708c(0x3b0)](this);return _0x1e2231[_0x51708c(0x1e8)]=this['_hash'][_0x51708c(0x494)](),_0x1e2231;}});function _0x19e891(_0x4f565c,_0x462e45,_0x178ca1,_0x95b247,_0x2ced36,_0x4dadfb,_0x20b454){var _0x296010=_0x4f565c+(_0x462e45&_0x178ca1|~_0x462e45&_0x95b247)+_0x2ced36+_0x20b454;return(_0x296010<<_0x4dadfb|_0x296010>>>0x20-_0x4dadfb)+_0x462e45;}function _0xc7b341(_0x1f5fff,_0x3115bb,_0x31aa52,_0x19f90c,_0x2a3069,_0xb83008,_0x4fb0d3){var _0x565f60=_0x1f5fff+(_0x3115bb&_0x19f90c|_0x31aa52&~_0x19f90c)+_0x2a3069+_0x4fb0d3;return(_0x565f60<<_0xb83008|_0x565f60>>>0x20-_0xb83008)+_0x3115bb;}function _0x27dee4(_0x2bf956,_0x283232,_0x4bae39,_0x485a22,_0x1a2e9a,_0x1a7cfc,_0x157eed){var _0x228e0a=_0x2bf956+(_0x283232^_0x4bae39^_0x485a22)+_0x1a2e9a+_0x157eed;return(_0x228e0a<<_0x1a7cfc|_0x228e0a>>>0x20-_0x1a7cfc)+_0x283232;}function _0x8d3ecd(_0x2fb048,_0xf50011,_0x46e3ab,_0x24a064,_0xc4eef0,_0x2e167f,_0x3b8371){var _0x44a4d5=_0x2fb048+(_0x46e3ab^(_0xf50011|~_0x24a064))+_0xc4eef0+_0x3b8371;return(_0x44a4d5<<_0x2e167f|_0x44a4d5>>>0x20-_0x2e167f)+_0xf50011;}_0x58bc01[_0x50dba9(0x41e)]=_0x1a15e9[_0x50dba9(0x2c3)](_0x562803),_0x58bc01['HmacMD5']=_0x1a15e9['_createHmacHelper'](_0x562803);}(Math),_0xb7f23c[_0x475482(0x41e)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){return ti||(ti=0x1,function(_0x569408,_0x3a7439){(function(_0x34b123,_0x58c78d){var _0x3a2329=_0x1e98;_0x569408[_0x3a2329(0x284)]=_0x58c78d(ne());}($r,function(_0x3c1af7){var _0x263e6b=_0x1e98;return(function(){var _0x25c2a5=_0x1e98,_0x46867a=_0x3c1af7,_0x5cd758=_0x46867a[_0x25c2a5(0x38f)],_0x53bd11=_0x5cd758[_0x25c2a5(0x425)],_0x48f894=_0x5cd758[_0x25c2a5(0x1f0)],_0x5275ed=_0x46867a[_0x25c2a5(0x1bb)],_0x391e7b=[],_0x347022=_0x5275ed[_0x25c2a5(0x434)]=_0x48f894[_0x25c2a5(0x42d)]({'_doReset':function(){var _0x5dac83=_0x25c2a5;this[_0x5dac83(0x1e8)]=new _0x53bd11['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x126302,_0x1a5a76){var _0x148f89=_0x25c2a5;for(var _0x36d798=this[_0x148f89(0x1e8)][_0x148f89(0x3dc)],_0x5d372a=_0x36d798[0x0],_0x2fc895=_0x36d798[0x1],_0x3466e1=_0x36d798[0x2],_0xc6a778=_0x36d798[0x3],_0x5f58c5=_0x36d798[0x4],_0x138b46=0x0;_0x138b46<0x50;_0x138b46++){if(_0x138b46<0x10)_0x391e7b[_0x138b46]=_0x126302[_0x1a5a76+_0x138b46]|0x0;else{var _0x5e534d=_0x391e7b[_0x138b46-0x3]^_0x391e7b[_0x138b46-0x8]^_0x391e7b[_0x138b46-0xe]^_0x391e7b[_0x138b46-0x10];_0x391e7b[_0x138b46]=_0x5e534d<<0x1|_0x5e534d>>>0x1f;}var _0x5035fd=(_0x5d372a<<0x5|_0x5d372a>>>0x1b)+_0x5f58c5+_0x391e7b[_0x138b46];_0x138b46<0x14?_0x5035fd+=(_0x2fc895&_0x3466e1|~_0x2fc895&_0xc6a778)+0x5a827999:_0x138b46<0x28?_0x5035fd+=(_0x2fc895^_0x3466e1^_0xc6a778)+0x6ed9eba1:_0x138b46<0x3c?_0x5035fd+=(_0x2fc895&_0x3466e1|_0x2fc895&_0xc6a778|_0x3466e1&_0xc6a778)-0x70e44324:_0x5035fd+=(_0x2fc895^_0x3466e1^_0xc6a778)-0x359d3e2a,_0x5f58c5=_0xc6a778,_0xc6a778=_0x3466e1,_0x3466e1=_0x2fc895<<0x1e|_0x2fc895>>>0x2,_0x2fc895=_0x5d372a,_0x5d372a=_0x5035fd;}_0x36d798[0x0]=_0x36d798[0x0]+_0x5d372a|0x0,_0x36d798[0x1]=_0x36d798[0x1]+_0x2fc895|0x0,_0x36d798[0x2]=_0x36d798[0x2]+_0x3466e1|0x0,_0x36d798[0x3]=_0x36d798[0x3]+_0xc6a778|0x0,_0x36d798[0x4]=_0x36d798[0x4]+_0x5f58c5|0x0;},'_doFinalize':function(){var _0xa07357=_0x25c2a5,_0x2fdb4b=this[_0xa07357(0x28c)],_0x34a71d=_0x2fdb4b[_0xa07357(0x3dc)],_0x50e2ca=this[_0xa07357(0x267)]*0x8,_0x2e0dec=_0x2fdb4b[_0xa07357(0x423)]*0x8;return _0x34a71d[_0x2e0dec>>>0x5]|=0x80<<0x18-_0x2e0dec%0x20,_0x34a71d[(_0x2e0dec+0x40>>>0x9<<0x4)+0xe]=Math[_0xa07357(0x3ac)](_0x50e2ca/0x100000000),_0x34a71d[(_0x2e0dec+0x40>>>0x9<<0x4)+0xf]=_0x50e2ca,_0x2fdb4b[_0xa07357(0x423)]=_0x34a71d[_0xa07357(0x41d)]*0x4,this[_0xa07357(0x421)](),this[_0xa07357(0x1e8)];},'clone':function(){var _0x3432f0=_0x25c2a5,_0x54ae60=_0x48f894['clone'][_0x3432f0(0x3b0)](this);return _0x54ae60[_0x3432f0(0x1e8)]=this[_0x3432f0(0x1e8)][_0x3432f0(0x494)](),_0x54ae60;}});_0x46867a[_0x25c2a5(0x434)]=_0x48f894['_createHelper'](_0x347022),_0x46867a[_0x25c2a5(0x378)]=_0x48f894[_0x25c2a5(0x30d)](_0x347022);}()),_0x3c1af7[_0x263e6b(0x434)];}));}(qe)),qe['exports'];}var ze={'exports':{}},kr=ze[_0x567f8e(0x284)],ii;function jr(){var _0x51d23e=_0x567f8e;return ii||(ii=0x1,function(_0x2b48e6,_0x42951a){(function(_0xfd4316,_0x2012f0){var _0x33dae5=_0x1e98;_0x2b48e6[_0x33dae5(0x284)]=_0x2012f0(ne());}(kr,function(_0x286f7b){(function(){var _0x485c3a=_0x1e98,_0xe3290a=_0x286f7b,_0x3be189=_0xe3290a[_0x485c3a(0x38f)],_0x1a4ebb=_0x3be189['Base'],_0x1003cb=_0xe3290a[_0x485c3a(0x3b7)],_0x14f28b=_0x1003cb['Utf8'],_0x68cca6=_0xe3290a[_0x485c3a(0x1bb)];_0x68cca6['HMAC']=_0x1a4ebb[_0x485c3a(0x42d)]({'init':function(_0x40cb36,_0x3ee1de){var _0x50ab61=_0x485c3a;_0x40cb36=this['_hasher']=new _0x40cb36[(_0x50ab61(0x302))](),typeof _0x3ee1de==_0x50ab61(0x210)&&(_0x3ee1de=_0x14f28b[_0x50ab61(0x262)](_0x3ee1de));var _0x1af3e2=_0x40cb36[_0x50ab61(0x34c)],_0x5508ba=_0x1af3e2*0x4;_0x3ee1de[_0x50ab61(0x423)]>_0x5508ba&&(_0x3ee1de=_0x40cb36[_0x50ab61(0x2d4)](_0x3ee1de)),_0x3ee1de[_0x50ab61(0x3f0)]();for(var _0x55df95=this['_oKey']=_0x3ee1de[_0x50ab61(0x494)](),_0x1ed54c=this[_0x50ab61(0x212)]=_0x3ee1de[_0x50ab61(0x494)](),_0x18e268=_0x55df95[_0x50ab61(0x3dc)],_0x5e31e9=_0x1ed54c[_0x50ab61(0x3dc)],_0x4d644b=0x0;_0x4d644b<_0x1af3e2;_0x4d644b++)_0x18e268[_0x4d644b]^=0x5c5c5c5c,_0x5e31e9[_0x4d644b]^=0x36363636;_0x55df95[_0x50ab61(0x423)]=_0x1ed54c['sigBytes']=_0x5508ba,this['reset']();},'reset':function(){var _0x40e9fe=_0x485c3a,_0x2d8064=this[_0x40e9fe(0x242)];_0x2d8064[_0x40e9fe(0x458)](),_0x2d8064[_0x40e9fe(0x273)](this[_0x40e9fe(0x212)]);},'update':function(_0x1d0ec5){var _0x412938=_0x485c3a;return this[_0x412938(0x242)][_0x412938(0x273)](_0x1d0ec5),this;},'finalize':function(_0x1b7c3e){var _0x3e049e=_0x485c3a,_0x125d66=this[_0x3e049e(0x242)],_0x23b3e6=_0x125d66[_0x3e049e(0x2d4)](_0x1b7c3e);_0x125d66[_0x3e049e(0x458)]();var _0x37827a=_0x125d66['finalize'](this[_0x3e049e(0x310)]['clone']()[_0x3e049e(0x2f7)](_0x23b3e6));return _0x37827a;}});}());}));}(ze)),ze[_0x51d23e(0x284)];}var Br=Ye['exports'],ni;function Ui(){return ni||(ni=0x1,function(_0x34f85e,_0x1f9fb8){(function(_0x57f6f2,_0x921626,_0x4d5f60){var _0x5d822c=_0x1e98;_0x34f85e[_0x5d822c(0x284)]=_0x921626(ne(),Hr(),jr());}(Br,function(_0x5e8217){var _0x51569a=_0x1e98;return(function(){var _0xdf8b4a=_0x1e98,_0x2b7a51=_0x5e8217,_0x4d3708=_0x2b7a51[_0xdf8b4a(0x38f)],_0x25a03a=_0x4d3708[_0xdf8b4a(0x490)],_0x49d002=_0x4d3708[_0xdf8b4a(0x425)],_0x5a740f=_0x2b7a51[_0xdf8b4a(0x1bb)],_0x3b0d65=_0x5a740f[_0xdf8b4a(0x41e)],_0x545799=_0x5a740f[_0xdf8b4a(0x1f1)]=_0x25a03a[_0xdf8b4a(0x42d)]({'cfg':_0x25a03a['extend']({'keySize':0x80/0x20,'hasher':_0x3b0d65,'iterations':0x1}),'init':function(_0x3f37f4){var _0x3396e0=_0xdf8b4a;this[_0x3396e0(0x3f2)]=this['cfg'][_0x3396e0(0x42d)](_0x3f37f4);},'compute':function(_0x21e10d,_0x840235){var _0x3fcb99=_0xdf8b4a;for(var _0x163461,_0x160526=this['cfg'],_0x52e5e6=_0x160526['hasher'][_0x3fcb99(0x3b4)](),_0x4bf109=_0x49d002['create'](),_0x4f09b1=_0x4bf109[_0x3fcb99(0x3dc)],_0x2b3bcf=_0x160526[_0x3fcb99(0x2f5)],_0x283562=_0x160526[_0x3fcb99(0x27f)];_0x4f09b1[_0x3fcb99(0x41d)]<_0x2b3bcf;){_0x163461&&_0x52e5e6['update'](_0x163461),_0x163461=_0x52e5e6[_0x3fcb99(0x273)](_0x21e10d)[_0x3fcb99(0x2d4)](_0x840235),_0x52e5e6[_0x3fcb99(0x458)]();for(var _0x2f63d1=0x1;_0x2f63d1<_0x283562;_0x2f63d1++)_0x163461=_0x52e5e6[_0x3fcb99(0x2d4)](_0x163461),_0x52e5e6[_0x3fcb99(0x458)]();_0x4bf109[_0x3fcb99(0x2f7)](_0x163461);}return _0x4bf109[_0x3fcb99(0x423)]=_0x2b3bcf*0x4,_0x4bf109;}});_0x2b7a51[_0xdf8b4a(0x1f1)]=function(_0x304432,_0x3bab54,_0x24d35e){var _0x5b62f2=_0xdf8b4a;return _0x545799[_0x5b62f2(0x3b4)](_0x24d35e)[_0x5b62f2(0x2c1)](_0x304432,_0x3bab54);};}()),_0x5e8217[_0x51569a(0x1f1)];}));}(Ye)),Ye['exports'];}function _0x1e98(_0x362861,_0x59f794){var _0x4dfbae=_0x4dfb();return _0x1e98=function(_0x1e9869,_0xeda8b2){_0x1e9869=_0x1e9869-0x1aa;var _0x5f07a4=_0x4dfbae[_0x1e9869];return _0x5f07a4;},_0x1e98(_0x362861,_0x59f794);}var Je={'exports':{}},Fr=Je[_0x567f8e(0x284)],ri;function Ai(){var _0x30e5c1=_0x567f8e;return ri||(ri=0x1,function(_0xba781,_0x1ffe1c){(function(_0x1fd44e,_0x8e136f,_0x310702){var _0x1be848=_0x1e98;_0xba781[_0x1be848(0x284)]=_0x8e136f(ne(),Ui());}(Fr,function(_0xf91dde){var _0x317cd8=_0x1e98;_0xf91dde[_0x317cd8(0x38f)][_0x317cd8(0x45a)]||function(_0x2f7f9f){var _0x3f1609=_0x317cd8,_0x48ce7b=_0xf91dde,_0x11c419=_0x48ce7b['lib'],_0x90d15d=_0x11c419[_0x3f1609(0x490)],_0x52ac21=_0x11c419[_0x3f1609(0x425)],_0x2f11e3=_0x11c419['BufferedBlockAlgorithm'],_0xdbb1d7=_0x48ce7b['enc'];_0xdbb1d7[_0x3f1609(0x244)];var _0x5514b7=_0xdbb1d7[_0x3f1609(0x39d)],_0x5c010a=_0x48ce7b[_0x3f1609(0x1bb)],_0x3555d6=_0x5c010a[_0x3f1609(0x1f1)],_0x24bcf8=_0x11c419['Cipher']=_0x2f11e3[_0x3f1609(0x42d)]({'cfg':_0x90d15d[_0x3f1609(0x42d)](),'createEncryptor':function(_0x2c9fa2,_0x2ae3a4){var _0x289a14=_0x3f1609;return this[_0x289a14(0x3b4)](this['_ENC_XFORM_MODE'],_0x2c9fa2,_0x2ae3a4);},'createDecryptor':function(_0x577c5c,_0x264f79){var _0x234bcd=_0x3f1609;return this[_0x234bcd(0x3b4)](this[_0x234bcd(0x45c)],_0x577c5c,_0x264f79);},'init':function(_0x308cbf,_0x4a9142,_0x24e423){var _0x38c3b5=_0x3f1609;this[_0x38c3b5(0x3f2)]=this[_0x38c3b5(0x3f2)]['extend'](_0x24e423),this[_0x38c3b5(0x33e)]=_0x308cbf,this['_key']=_0x4a9142,this['reset']();},'reset':function(){var _0x59dc86=_0x3f1609;_0x2f11e3[_0x59dc86(0x458)][_0x59dc86(0x3b0)](this),this['_doReset']();},'process':function(_0x5c1a96){var _0x9b56b0=_0x3f1609;return this['_append'](_0x5c1a96),this[_0x9b56b0(0x421)]();},'finalize':function(_0x590230){var _0x232df5=_0x3f1609;_0x590230&&this[_0x232df5(0x23a)](_0x590230);var _0x38b418=this[_0x232df5(0x3aa)]();return _0x38b418;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x10dafc(_0x4459fe){var _0x5dcabc=_0x1e98;return typeof _0x4459fe==_0x5dcabc(0x210)?_0x98116f:_0x126b49;}return function(_0x4b7708){return{'encrypt':function(_0x3c3f73,_0x242fbf,_0x8c3100){var _0x3354bb=_0x1e98;return _0x10dafc(_0x242fbf)[_0x3354bb(0x3de)](_0x4b7708,_0x3c3f73,_0x242fbf,_0x8c3100);},'decrypt':function(_0x511a4e,_0x31ada1,_0x53d04b){var _0x1c5882=_0x1e98;return _0x10dafc(_0x31ada1)[_0x1c5882(0x3a7)](_0x4b7708,_0x511a4e,_0x31ada1,_0x53d04b);}};};}())});_0x11c419[_0x3f1609(0x24a)]=_0x24bcf8[_0x3f1609(0x42d)]({'_doFinalize':function(){var _0x15e977=_0x3f1609,_0x54c909=this[_0x15e977(0x421)](!0x0);return _0x54c909;},'blockSize':0x1});var _0x5a4160=_0x48ce7b['mode']={},_0x2afcf2=_0x11c419[_0x3f1609(0x20d)]=_0x90d15d[_0x3f1609(0x42d)]({'createEncryptor':function(_0x5c5a56,_0x4d6b79){var _0x34621d=_0x3f1609;return this[_0x34621d(0x281)][_0x34621d(0x3b4)](_0x5c5a56,_0x4d6b79);},'createDecryptor':function(_0x3b40e4,_0x22bc5d){var _0xae888=_0x3f1609;return this[_0xae888(0x364)]['create'](_0x3b40e4,_0x22bc5d);},'init':function(_0x3f7d92,_0x4ed292){this['_cipher']=_0x3f7d92,this['_iv']=_0x4ed292;}}),_0x2dc72a=_0x5a4160[_0x3f1609(0x34b)]=(function(){var _0x135372=_0x3f1609,_0x4c29cc=_0x2afcf2[_0x135372(0x42d)]();_0x4c29cc['Encryptor']=_0x4c29cc['extend']({'processBlock':function(_0xa42404,_0x165748){var _0x92dd8c=_0x135372,_0x17344a=this[_0x92dd8c(0x475)],_0x1e204b=_0x17344a[_0x92dd8c(0x34c)];_0x4c4cc4[_0x92dd8c(0x3b0)](this,_0xa42404,_0x165748,_0x1e204b),_0x17344a[_0x92dd8c(0x394)](_0xa42404,_0x165748),this[_0x92dd8c(0x419)]=_0xa42404[_0x92dd8c(0x448)](_0x165748,_0x165748+_0x1e204b);}}),_0x4c29cc['Decryptor']=_0x4c29cc[_0x135372(0x42d)]({'processBlock':function(_0x5714aa,_0x371f47){var _0x4d870c=_0x135372,_0x34fcca=this[_0x4d870c(0x475)],_0x7826ca=_0x34fcca['blockSize'],_0x3ac6f5=_0x5714aa['slice'](_0x371f47,_0x371f47+_0x7826ca);_0x34fcca['decryptBlock'](_0x5714aa,_0x371f47),_0x4c4cc4[_0x4d870c(0x3b0)](this,_0x5714aa,_0x371f47,_0x7826ca),this['_prevBlock']=_0x3ac6f5;}});function _0x4c4cc4(_0xa15346,_0x9c14e,_0xeb4014){var _0x1d4838=_0x135372,_0x50dc51,_0x2497f7=this[_0x1d4838(0x2ac)];_0x2497f7?(_0x50dc51=_0x2497f7,this[_0x1d4838(0x2ac)]=_0x2f7f9f):_0x50dc51=this[_0x1d4838(0x419)];for(var _0x53de9d=0x0;_0x53de9d<_0xeb4014;_0x53de9d++)_0xa15346[_0x9c14e+_0x53de9d]^=_0x50dc51[_0x53de9d];}return _0x4c29cc;}()),_0x37a22a=_0x48ce7b[_0x3f1609(0x3b5)]={},_0x842d36=_0x37a22a[_0x3f1609(0x1fb)]={'pad':function(_0x3c8d2a,_0x476780){var _0x2adc24=_0x3f1609;for(var _0x318672=_0x476780*0x4,_0x3777e5=_0x318672-_0x3c8d2a[_0x2adc24(0x423)]%_0x318672,_0x1f5f98=_0x3777e5<<0x18|_0x3777e5<<0x10|_0x3777e5<<0x8|_0x3777e5,_0x31df32=[],_0x2b8163=0x0;_0x2b8163<_0x3777e5;_0x2b8163+=0x4)_0x31df32[_0x2adc24(0x430)](_0x1f5f98);var _0x2f1f61=_0x52ac21[_0x2adc24(0x3b4)](_0x31df32,_0x3777e5);_0x3c8d2a[_0x2adc24(0x2f7)](_0x2f1f61);},'unpad':function(_0x4fed88){var _0x23d432=_0x3f1609,_0x3ce04d=_0x4fed88[_0x23d432(0x3dc)][_0x4fed88[_0x23d432(0x423)]-0x1>>>0x2]&0xff;_0x4fed88[_0x23d432(0x423)]-=_0x3ce04d;}};_0x11c419[_0x3f1609(0x498)]=_0x24bcf8[_0x3f1609(0x42d)]({'cfg':_0x24bcf8[_0x3f1609(0x3f2)]['extend']({'mode':_0x2dc72a,'padding':_0x842d36}),'reset':function(){var _0xab7a8d=_0x3f1609,_0x52e4bf;_0x24bcf8[_0xab7a8d(0x458)][_0xab7a8d(0x3b0)](this);var _0x338f37=this[_0xab7a8d(0x3f2)],_0x83b88e=_0x338f37['iv'],_0x3348d5=_0x338f37['mode'];this[_0xab7a8d(0x33e)]==this[_0xab7a8d(0x257)]?_0x52e4bf=_0x3348d5[_0xab7a8d(0x2c2)]:(_0x52e4bf=_0x3348d5[_0xab7a8d(0x245)],this[_0xab7a8d(0x3eb)]=0x1),this[_0xab7a8d(0x2d1)]&&this[_0xab7a8d(0x2d1)][_0xab7a8d(0x28a)]==_0x52e4bf?this[_0xab7a8d(0x2d1)][_0xab7a8d(0x302)](this,_0x83b88e&&_0x83b88e[_0xab7a8d(0x3dc)]):(this[_0xab7a8d(0x2d1)]=_0x52e4bf[_0xab7a8d(0x3b0)](_0x3348d5,this,_0x83b88e&&_0x83b88e[_0xab7a8d(0x3dc)]),this[_0xab7a8d(0x2d1)][_0xab7a8d(0x28a)]=_0x52e4bf);},'_doProcessBlock':function(_0x462436,_0x30a233){var _0x521c13=_0x3f1609;this['_mode'][_0x521c13(0x42e)](_0x462436,_0x30a233);},'_doFinalize':function(){var _0x400cea=_0x3f1609,_0x59f19a,_0x8fbf68=this[_0x400cea(0x3f2)]['padding'];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x8fbf68[_0x400cea(0x3b5)](this['_data'],this[_0x400cea(0x34c)]),_0x59f19a=this['_process'](!0x0)):(_0x59f19a=this[_0x400cea(0x421)](!0x0),_0x8fbf68[_0x400cea(0x24c)](_0x59f19a)),_0x59f19a;},'blockSize':0x80/0x20});var _0x54170c=_0x11c419['CipherParams']=_0x90d15d[_0x3f1609(0x42d)]({'init':function(_0x27c311){var _0x2c8c85=_0x3f1609;this[_0x2c8c85(0x326)](_0x27c311);},'toString':function(_0x92880){var _0x15b955=_0x3f1609;return(_0x92880||this[_0x15b955(0x21e)])[_0x15b955(0x342)](this);}}),_0x30b88d=_0x48ce7b['format']={},_0x396d2f=_0x30b88d[_0x3f1609(0x1fd)]={'stringify':function(_0x20fb38){var _0x24e3ed=_0x3f1609,_0x5441a3,_0x503eb1=_0x20fb38['ciphertext'],_0x38a261=_0x20fb38[_0x24e3ed(0x48d)];return _0x38a261?_0x5441a3=_0x52ac21['create']([0x53616c74,0x65645f5f])[_0x24e3ed(0x2f7)](_0x38a261)[_0x24e3ed(0x2f7)](_0x503eb1):_0x5441a3=_0x503eb1,_0x5441a3[_0x24e3ed(0x363)](_0x5514b7);},'parse':function(_0x3eb8c8){var _0x37e3bc=_0x3f1609,_0x16b15a,_0x12f779=_0x5514b7['parse'](_0x3eb8c8),_0x37249c=_0x12f779['words'];return _0x37249c[0x0]==0x53616c74&&_0x37249c[0x1]==0x65645f5f&&(_0x16b15a=_0x52ac21[_0x37e3bc(0x3b4)](_0x37249c[_0x37e3bc(0x448)](0x2,0x4)),_0x37249c[_0x37e3bc(0x24b)](0x0,0x4),_0x12f779[_0x37e3bc(0x423)]-=0x10),_0x54170c[_0x37e3bc(0x3b4)]({'ciphertext':_0x12f779,'salt':_0x16b15a});}},_0x126b49=_0x11c419['SerializableCipher']=_0x90d15d[_0x3f1609(0x42d)]({'cfg':_0x90d15d[_0x3f1609(0x42d)]({'format':_0x396d2f}),'encrypt':function(_0x2a3885,_0x1b1732,_0x172f14,_0xfaffca){var _0x57df1c=_0x3f1609;_0xfaffca=this[_0x57df1c(0x3f2)]['extend'](_0xfaffca);var _0x4bb41e=_0x2a3885[_0x57df1c(0x2c2)](_0x172f14,_0xfaffca),_0x3f93fa=_0x4bb41e['finalize'](_0x1b1732),_0x5ece4d=_0x4bb41e[_0x57df1c(0x3f2)];return _0x54170c['create']({'ciphertext':_0x3f93fa,'key':_0x172f14,'iv':_0x5ece4d['iv'],'algorithm':_0x2a3885,'mode':_0x5ece4d['mode'],'padding':_0x5ece4d[_0x57df1c(0x358)],'blockSize':_0x2a3885[_0x57df1c(0x34c)],'formatter':_0xfaffca[_0x57df1c(0x21f)]});},'decrypt':function(_0x503c21,_0x576b31,_0x1f1c8d,_0x34a521){var _0x55ecd3=_0x3f1609;_0x34a521=this[_0x55ecd3(0x3f2)][_0x55ecd3(0x42d)](_0x34a521),_0x576b31=this[_0x55ecd3(0x1bd)](_0x576b31,_0x34a521[_0x55ecd3(0x21f)]);var _0x40eb71=_0x503c21[_0x55ecd3(0x245)](_0x1f1c8d,_0x34a521)[_0x55ecd3(0x2d4)](_0x576b31[_0x55ecd3(0x228)]);return _0x40eb71;},'_parse':function(_0x370980,_0x1a1266){var _0x1ec10c=_0x3f1609;return typeof _0x370980=='string'?_0x1a1266[_0x1ec10c(0x262)](_0x370980,this):_0x370980;}}),_0x32e085=_0x48ce7b[_0x3f1609(0x446)]={},_0x446309=_0x32e085[_0x3f1609(0x1fd)]={'execute':function(_0x75b878,_0xca342,_0x252ea1,_0x326883,_0x1f9893){var _0x4bf835=_0x3f1609;if(_0x326883||(_0x326883=_0x52ac21[_0x4bf835(0x248)](0x40/0x8)),_0x1f9893)var _0x1852b9=_0x3555d6[_0x4bf835(0x3b4)]({'keySize':_0xca342+_0x252ea1,'hasher':_0x1f9893})[_0x4bf835(0x2c1)](_0x75b878,_0x326883);else var _0x1852b9=_0x3555d6[_0x4bf835(0x3b4)]({'keySize':_0xca342+_0x252ea1})[_0x4bf835(0x2c1)](_0x75b878,_0x326883);var _0x426698=_0x52ac21[_0x4bf835(0x3b4)](_0x1852b9['words'][_0x4bf835(0x448)](_0xca342),_0x252ea1*0x4);return _0x1852b9['sigBytes']=_0xca342*0x4,_0x54170c[_0x4bf835(0x3b4)]({'key':_0x1852b9,'iv':_0x426698,'salt':_0x326883});}},_0x98116f=_0x11c419[_0x3f1609(0x3e6)]=_0x126b49[_0x3f1609(0x42d)]({'cfg':_0x126b49['cfg'][_0x3f1609(0x42d)]({'kdf':_0x446309}),'encrypt':function(_0x8026f8,_0x50c666,_0x2134f4,_0x4abca9){var _0x470082=_0x3f1609;_0x4abca9=this['cfg'][_0x470082(0x42d)](_0x4abca9);var _0x384f8f=_0x4abca9[_0x470082(0x446)][_0x470082(0x209)](_0x2134f4,_0x8026f8[_0x470082(0x2f5)],_0x8026f8[_0x470082(0x3c6)],_0x4abca9[_0x470082(0x48d)],_0x4abca9[_0x470082(0x3e9)]);_0x4abca9['iv']=_0x384f8f['iv'];var _0x1d0ff5=_0x126b49[_0x470082(0x3de)]['call'](this,_0x8026f8,_0x50c666,_0x384f8f[_0x470082(0x37a)],_0x4abca9);return _0x1d0ff5[_0x470082(0x326)](_0x384f8f),_0x1d0ff5;},'decrypt':function(_0x15ca81,_0x4152a8,_0x16f06e,_0xd28260){var _0x29f34f=_0x3f1609;_0xd28260=this[_0x29f34f(0x3f2)][_0x29f34f(0x42d)](_0xd28260),_0x4152a8=this['_parse'](_0x4152a8,_0xd28260[_0x29f34f(0x21f)]);var _0xbe376c=_0xd28260['kdf'][_0x29f34f(0x209)](_0x16f06e,_0x15ca81['keySize'],_0x15ca81[_0x29f34f(0x3c6)],_0x4152a8[_0x29f34f(0x48d)],_0xd28260[_0x29f34f(0x3e9)]);_0xd28260['iv']=_0xbe376c['iv'];var _0x1cf2cb=_0x126b49[_0x29f34f(0x3a7)][_0x29f34f(0x3b0)](this,_0x15ca81,_0x4152a8,_0xbe376c[_0x29f34f(0x37a)],_0xd28260);return _0x1cf2cb;}});}();}));}(Je)),Je[_0x30e5c1(0x284)];}var Vr=Ve[_0x567f8e(0x284)],si;function Gr(){return si||(si=0x1,function(_0xdefd95,_0x4d78b7){(function(_0x4469ea,_0x4cbf15,_0x1383c1){var _0x3fc3d2=_0x1e98;_0xdefd95[_0x3fc3d2(0x284)]=_0x4cbf15(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x55fed1){return(function(){var _0x464ec0=_0x1e98,_0x5a42fe=_0x55fed1,_0x5992cf=_0x5a42fe[_0x464ec0(0x38f)],_0x2be4b7=_0x5992cf['BlockCipher'],_0x971a4a=_0x5a42fe[_0x464ec0(0x1bb)],_0x57a855=[],_0x3e9c24=[],_0x373924=[],_0x384cd5=[],_0x3a0de5=[],_0x23f807=[],_0x156719=[],_0x231742=[],_0x4daac2=[],_0xde7107=[];(function(){for(var _0x32d14c=[],_0x3fe398=0x0;_0x3fe398<0x100;_0x3fe398++)_0x3fe398<0x80?_0x32d14c[_0x3fe398]=_0x3fe398<<0x1:_0x32d14c[_0x3fe398]=_0x3fe398<<0x1^0x11b;for(var _0xd38cd=0x0,_0x1c2a0c=0x0,_0x3fe398=0x0;_0x3fe398<0x100;_0x3fe398++){var _0x5d8362=_0x1c2a0c^_0x1c2a0c<<0x1^_0x1c2a0c<<0x2^_0x1c2a0c<<0x3^_0x1c2a0c<<0x4;_0x5d8362=_0x5d8362>>>0x8^_0x5d8362&0xff^0x63,_0x57a855[_0xd38cd]=_0x5d8362,_0x3e9c24[_0x5d8362]=_0xd38cd;var _0x1e93cd=_0x32d14c[_0xd38cd],_0x13d41c=_0x32d14c[_0x1e93cd],_0x5e98ed=_0x32d14c[_0x13d41c],_0x4390af=_0x32d14c[_0x5d8362]*0x101^_0x5d8362*0x1010100;_0x373924[_0xd38cd]=_0x4390af<<0x18|_0x4390af>>>0x8,_0x384cd5[_0xd38cd]=_0x4390af<<0x10|_0x4390af>>>0x10,_0x3a0de5[_0xd38cd]=_0x4390af<<0x8|_0x4390af>>>0x18,_0x23f807[_0xd38cd]=_0x4390af;var _0x4390af=_0x5e98ed*0x1010101^_0x13d41c*0x10001^_0x1e93cd*0x101^_0xd38cd*0x1010100;_0x156719[_0x5d8362]=_0x4390af<<0x18|_0x4390af>>>0x8,_0x231742[_0x5d8362]=_0x4390af<<0x10|_0x4390af>>>0x10,_0x4daac2[_0x5d8362]=_0x4390af<<0x8|_0x4390af>>>0x18,_0xde7107[_0x5d8362]=_0x4390af,_0xd38cd?(_0xd38cd=_0x1e93cd^_0x32d14c[_0x32d14c[_0x32d14c[_0x5e98ed^_0x1e93cd]]],_0x1c2a0c^=_0x32d14c[_0x32d14c[_0x1c2a0c]]):_0xd38cd=_0x1c2a0c=0x1;}}());var _0x4b8c52=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x10f6c8=_0x971a4a[_0x464ec0(0x1b5)]=_0x2be4b7[_0x464ec0(0x42d)]({'_doReset':function(){var _0x190f02=_0x464ec0,_0x115d00;if(!(this[_0x190f02(0x294)]&&this[_0x190f02(0x3df)]===this['_key'])){for(var _0x4c6a5a=this[_0x190f02(0x3df)]=this[_0x190f02(0x2b9)],_0x1a440b=_0x4c6a5a[_0x190f02(0x3dc)],_0x4e0f8f=_0x4c6a5a[_0x190f02(0x423)]/0x4,_0xd1ee1e=this[_0x190f02(0x294)]=_0x4e0f8f+0x6,_0x5c8990=(_0xd1ee1e+0x1)*0x4,_0x140a7c=this[_0x190f02(0x392)]=[],_0x531790=0x0;_0x531790<_0x5c8990;_0x531790++)_0x531790<_0x4e0f8f?_0x140a7c[_0x531790]=_0x1a440b[_0x531790]:(_0x115d00=_0x140a7c[_0x531790-0x1],_0x531790%_0x4e0f8f?_0x4e0f8f>0x6&&_0x531790%_0x4e0f8f==0x4&&(_0x115d00=_0x57a855[_0x115d00>>>0x18]<<0x18|_0x57a855[_0x115d00>>>0x10&0xff]<<0x10|_0x57a855[_0x115d00>>>0x8&0xff]<<0x8|_0x57a855[_0x115d00&0xff]):(_0x115d00=_0x115d00<<0x8|_0x115d00>>>0x18,_0x115d00=_0x57a855[_0x115d00>>>0x18]<<0x18|_0x57a855[_0x115d00>>>0x10&0xff]<<0x10|_0x57a855[_0x115d00>>>0x8&0xff]<<0x8|_0x57a855[_0x115d00&0xff],_0x115d00^=_0x4b8c52[_0x531790/_0x4e0f8f|0x0]<<0x18),_0x140a7c[_0x531790]=_0x140a7c[_0x531790-_0x4e0f8f]^_0x115d00);for(var _0xef9c5e=this[_0x190f02(0x3a3)]=[],_0x14fbd9=0x0;_0x14fbd9<_0x5c8990;_0x14fbd9++){var _0x531790=_0x5c8990-_0x14fbd9;if(_0x14fbd9%0x4)var _0x115d00=_0x140a7c[_0x531790];else var _0x115d00=_0x140a7c[_0x531790-0x4];_0x14fbd9<0x4||_0x531790<=0x4?_0xef9c5e[_0x14fbd9]=_0x115d00:_0xef9c5e[_0x14fbd9]=_0x156719[_0x57a855[_0x115d00>>>0x18]]^_0x231742[_0x57a855[_0x115d00>>>0x10&0xff]]^_0x4daac2[_0x57a855[_0x115d00>>>0x8&0xff]]^_0xde7107[_0x57a855[_0x115d00&0xff]];}}},'encryptBlock':function(_0x5aec38,_0x1ac091){var _0x3680e4=_0x464ec0;this[_0x3680e4(0x2be)](_0x5aec38,_0x1ac091,this[_0x3680e4(0x392)],_0x373924,_0x384cd5,_0x3a0de5,_0x23f807,_0x57a855);},'decryptBlock':function(_0x1f739b,_0x3da3c7){var _0xe8d735=_0x464ec0,_0x24ee47=_0x1f739b[_0x3da3c7+0x1];_0x1f739b[_0x3da3c7+0x1]=_0x1f739b[_0x3da3c7+0x3],_0x1f739b[_0x3da3c7+0x3]=_0x24ee47,this['_doCryptBlock'](_0x1f739b,_0x3da3c7,this[_0xe8d735(0x3a3)],_0x156719,_0x231742,_0x4daac2,_0xde7107,_0x3e9c24);var _0x24ee47=_0x1f739b[_0x3da3c7+0x1];_0x1f739b[_0x3da3c7+0x1]=_0x1f739b[_0x3da3c7+0x3],_0x1f739b[_0x3da3c7+0x3]=_0x24ee47;},'_doCryptBlock':function(_0x3a77b6,_0x38ba9f,_0x189464,_0xdb23fa,_0xfab228,_0x2c6bd4,_0x227ef8,_0x1ea5ca){var _0x287859=_0x464ec0;for(var _0x2f8b50=this[_0x287859(0x294)],_0x477c83=_0x3a77b6[_0x38ba9f]^_0x189464[0x0],_0x20fbd3=_0x3a77b6[_0x38ba9f+0x1]^_0x189464[0x1],_0x2a3f6c=_0x3a77b6[_0x38ba9f+0x2]^_0x189464[0x2],_0x556e7e=_0x3a77b6[_0x38ba9f+0x3]^_0x189464[0x3],_0x10ce14=0x4,_0x406025=0x1;_0x406025<_0x2f8b50;_0x406025++){var _0xca9aa6=_0xdb23fa[_0x477c83>>>0x18]^_0xfab228[_0x20fbd3>>>0x10&0xff]^_0x2c6bd4[_0x2a3f6c>>>0x8&0xff]^_0x227ef8[_0x556e7e&0xff]^_0x189464[_0x10ce14++],_0x2fabcf=_0xdb23fa[_0x20fbd3>>>0x18]^_0xfab228[_0x2a3f6c>>>0x10&0xff]^_0x2c6bd4[_0x556e7e>>>0x8&0xff]^_0x227ef8[_0x477c83&0xff]^_0x189464[_0x10ce14++],_0x2151df=_0xdb23fa[_0x2a3f6c>>>0x18]^_0xfab228[_0x556e7e>>>0x10&0xff]^_0x2c6bd4[_0x477c83>>>0x8&0xff]^_0x227ef8[_0x20fbd3&0xff]^_0x189464[_0x10ce14++],_0x30a817=_0xdb23fa[_0x556e7e>>>0x18]^_0xfab228[_0x477c83>>>0x10&0xff]^_0x2c6bd4[_0x20fbd3>>>0x8&0xff]^_0x227ef8[_0x2a3f6c&0xff]^_0x189464[_0x10ce14++];_0x477c83=_0xca9aa6,_0x20fbd3=_0x2fabcf,_0x2a3f6c=_0x2151df,_0x556e7e=_0x30a817;}var _0xca9aa6=(_0x1ea5ca[_0x477c83>>>0x18]<<0x18|_0x1ea5ca[_0x20fbd3>>>0x10&0xff]<<0x10|_0x1ea5ca[_0x2a3f6c>>>0x8&0xff]<<0x8|_0x1ea5ca[_0x556e7e&0xff])^_0x189464[_0x10ce14++],_0x2fabcf=(_0x1ea5ca[_0x20fbd3>>>0x18]<<0x18|_0x1ea5ca[_0x2a3f6c>>>0x10&0xff]<<0x10|_0x1ea5ca[_0x556e7e>>>0x8&0xff]<<0x8|_0x1ea5ca[_0x477c83&0xff])^_0x189464[_0x10ce14++],_0x2151df=(_0x1ea5ca[_0x2a3f6c>>>0x18]<<0x18|_0x1ea5ca[_0x556e7e>>>0x10&0xff]<<0x10|_0x1ea5ca[_0x477c83>>>0x8&0xff]<<0x8|_0x1ea5ca[_0x20fbd3&0xff])^_0x189464[_0x10ce14++],_0x30a817=(_0x1ea5ca[_0x556e7e>>>0x18]<<0x18|_0x1ea5ca[_0x477c83>>>0x10&0xff]<<0x10|_0x1ea5ca[_0x20fbd3>>>0x8&0xff]<<0x8|_0x1ea5ca[_0x2a3f6c&0xff])^_0x189464[_0x10ce14++];_0x3a77b6[_0x38ba9f]=_0xca9aa6,_0x3a77b6[_0x38ba9f+0x1]=_0x2fabcf,_0x3a77b6[_0x38ba9f+0x2]=_0x2151df,_0x3a77b6[_0x38ba9f+0x3]=_0x30a817;},'keySize':0x100/0x20});_0x5a42fe['AES']=_0x2be4b7[_0x464ec0(0x2c3)](_0x10f6c8);}()),_0x55fed1['AES'];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x567f8e(0x284)],ai;function zr(){var _0xea9c96=_0x567f8e;return ai||(ai=0x1,function(_0x239c0a,_0x1ea7ea){(function(_0x32beaf,_0x1fafc9){var _0x21f9c1=_0x1e98;_0x239c0a[_0x21f9c1(0x284)]=_0x1fafc9(ne());}(qr,function(_0x4e49a5){var _0x5310f1=_0x1e98;return _0x4e49a5[_0x5310f1(0x3b7)][_0x5310f1(0x244)];}));}(Xe)),Xe[_0xea9c96(0x284)];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x567f8e(0x284)],ci;function Qr(){var _0x2efb34=_0x567f8e;return ci||(ci=0x1,function(_0x4ebf2c,_0x57f6b1){(function(_0x21c7b2,_0x23126e){var _0x9a26b2=_0x1e98;_0x4ebf2c[_0x9a26b2(0x284)]=_0x23126e(ne());}(Zr,function(_0x56b769){var _0x5b5616=_0x1e98;return(function(){var _0x11c13a=_0x1e98;if(typeof ArrayBuffer=='function'){var _0xefc41=_0x56b769,_0xe66f87=_0xefc41[_0x11c13a(0x38f)],_0xb38f04=_0xe66f87[_0x11c13a(0x425)],_0x269ebc=_0xb38f04[_0x11c13a(0x302)],_0x3ca7ce=_0xb38f04[_0x11c13a(0x302)]=function(_0x489b6f){var _0x2c3cf3=_0x11c13a;if(_0x489b6f instanceof ArrayBuffer&&(_0x489b6f=new Uint8Array(_0x489b6f)),(_0x489b6f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x489b6f instanceof Uint8ClampedArray||_0x489b6f instanceof Int16Array||_0x489b6f instanceof Uint16Array||_0x489b6f instanceof Int32Array||_0x489b6f instanceof Uint32Array||_0x489b6f instanceof Float32Array||_0x489b6f instanceof Float64Array)&&(_0x489b6f=new Uint8Array(_0x489b6f['buffer'],_0x489b6f['byteOffset'],_0x489b6f[_0x2c3cf3(0x2d5)])),_0x489b6f instanceof Uint8Array){for(var _0x1911c7=_0x489b6f[_0x2c3cf3(0x2d5)],_0x11e2aa=[],_0x32a488=0x0;_0x32a488<_0x1911c7;_0x32a488++)_0x11e2aa[_0x32a488>>>0x2]|=_0x489b6f[_0x32a488]<<0x18-_0x32a488%0x4*0x8;_0x269ebc[_0x2c3cf3(0x3b0)](this,_0x11e2aa,_0x1911c7);}else _0x269ebc[_0x2c3cf3(0x488)](this,arguments);};_0x3ca7ce[_0x11c13a(0x204)]=_0xb38f04;}}()),_0x56b769[_0x5b5616(0x38f)]['WordArray'];}));}(Ze)),Ze[_0x2efb34(0x284)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x567f8e(0x284)],hi;function ns(){var _0x3ed794=_0x567f8e;return hi||(hi=0x1,function(_0x4e2152,_0x3331ba){(function(_0xdb6799,_0x3f86d1,_0x40708d){var _0x423c8a=_0x1e98;_0x4e2152[_0x423c8a(0x284)]=_0x3f86d1(ne(),Ai());}(is,function(_0x5db87d){var _0x4d38e3=_0x1e98;return _0x5db87d[_0x4d38e3(0x3b5)][_0x4d38e3(0x322)]={'pad':function(){},'unpad':function(){}},_0x5db87d[_0x4d38e3(0x3b5)][_0x4d38e3(0x322)];}));}(Qe)),Qe[_0x3ed794(0x284)];}var rs=ns();const ss=ke(rs);function os(_0xbb4df5,_0x49765f){var _0x401acd=_0x567f8e;const _0x9e3f58=_0x49765f-_0xbb4df5[_0x401acd(0x41d)]%_0x49765f,_0x4105a6=String['fromCharCode'](_0x9e3f58)[_0x401acd(0x2f4)](_0x9e3f58);return _0xbb4df5+_0x4105a6;}function as(_0x3970d6,_0x323579){var _0x2ccdde=_0x567f8e;const _0x241673=ts[_0x2ccdde(0x248)](0x10),_0x17a065=os(_0x3970d6,0x10),_0x15e8f5=Kr[_0x2ccdde(0x3de)](Xr['parse'](_0x17a065),oi[_0x2ccdde(0x262)](_0x323579),{'iv':_0x241673,'padding':ss});return _0x241673[_0x2ccdde(0x2f7)](_0x15e8f5[_0x2ccdde(0x228)])['toString'](oi);}function cs(){var _0x3790bd=_0x567f8e;const _0x329a43=_0x5375ad()[_0x3790bd(0x474)];if(_0x329a43){const _0x181c82={'time':Math[_0x3790bd(0x3ac)](Date[_0x3790bd(0x282)]()/0x3e8),'domain':location[_0x3790bd(0x3fa)]};return as(JSON['stringify'](_0x181c82),_0x329a43);}}var hs=Object[_0x567f8e(0x1cc)],_s=Object[_0x567f8e(0x33a)],ls=(_0x501c42,_0x4ae2d8,_0x510193,_0x1bfe2e)=>{var _0x2eeb6d=_0x567f8e;for(var _0x1f581c=_0x1bfe2e>0x1?void 0x0:_0x1bfe2e?_s(_0x4ae2d8,_0x510193):_0x4ae2d8,_0x30319a=_0x501c42[_0x2eeb6d(0x41d)]-0x1,_0xc330db;_0x30319a>=0x0;_0x30319a--)(_0xc330db=_0x501c42[_0x30319a])&&(_0x1f581c=(_0x1bfe2e?_0xc330db(_0x4ae2d8,_0x510193,_0x1f581c):_0xc330db(_0x1f581c))||_0x1f581c);return _0x1bfe2e&&_0x1f581c&&hs(_0x4ae2d8,_0x510193,_0x1f581c),_0x1f581c;},us=(_0x5afab7,_0x1628a4)=>(_0x2fdbe3,_0x3ad965)=>_0x1628a4(_0x2fdbe3,_0x3ad965,_0x5afab7);let ot=class{constructor(_0x568d9d){var _0x11a85a=_0x567f8e;this[_0x11a85a(0x331)]=_0x568d9d,this[_0x11a85a(0x47d)]();}[_0x567f8e(0x47d)](){var _0x143e89=_0x567f8e;this['_httpService'][_0x143e89(0x3e2)]({'interceptor':(_0x1487c0,_0x1d08dc)=>{var _0x37e860=_0x143e89;const _0xc863cd=_0x1487c0[_0x37e860(0x47a)],_0x5579c8=cs();return _0x5579c8&&_0xc863cd['set'](_0x37e860(0x2ed),_0x5579c8),_0x1d08dc(_0x1487c0);}});}};ot=ls([us(0x0,_0x4a37af(_0x470993))],ot);var ds=Object['defineProperty'],fs=Object[_0x567f8e(0x33a)],vs=(_0x4600d9,_0x1faafd,_0x1adb40,_0x3ead9b)=>{for(var _0x3b221f=_0x3ead9b>0x1?void 0x0:_0x3ead9b?fs(_0x1faafd,_0x1adb40):_0x1faafd,_0x3277d2=_0x4600d9['length']-0x1,_0x44148c;_0x3277d2>=0x0;_0x3277d2--)(_0x44148c=_0x4600d9[_0x3277d2])&&(_0x3b221f=(_0x3ead9b?_0x44148c(_0x1faafd,_0x1adb40,_0x3b221f):_0x44148c(_0x3b221f))||_0x3b221f);return _0x3ead9b&&_0x3b221f&&ds(_0x1faafd,_0x1adb40,_0x3b221f),_0x3b221f;},mt=(_0xb60b6,_0x2dde9f)=>(_0x4f34c9,_0x33b84a)=>_0x2dde9f(_0x4f34c9,_0x33b84a,_0xb60b6);let Ot=class extends _0x56a922{constructor(_0x1f0655,_0x2f76a7,_0x3532b2){var _0x13b682=_0x567f8e;super(),N(this,_0x13b682(0x2ff),new _0x3d7229(null)),N(this,'unitInfo$',this[_0x13b682(0x2ff)]['asObservable']()),(this['_logService']=_0x1f0655,this[_0x13b682(0x254)]=_0x2f76a7,this['_localCacheService']=_0x3532b2);}async[_0x567f8e(0x340)](_0x44fa0d,_0x25808e,_0x501f5d){var _0x2873ab=_0x567f8e;this[_0x2873ab(0x2ff)][_0x2873ab(0x298)]({'unitId':_0x44fa0d,'type':_0x25808e,'subUnitId':_0x501f5d});let _0x110105=null;switch(_0x25808e){case Q[_0x2873ab(0x31a)]:{_0x110105=await this[_0x2873ab(0x2fd)](_0x44fa0d);break;}case Q[_0x2873ab(0x2a2)]:{_0x110105=await this[_0x2873ab(0x3ff)](_0x44fa0d);break;}default:{this[_0x2873ab(0x30f)]['error'](_0x2873ab(0x229),_0x2873ab(0x376));break;}}return _0x110105;}async[_0x567f8e(0x2fd)](_0x3bdbf0){var _0x2dbb1a=_0x567f8e,_0x453b9b;let _0x32db9e=0x0;const _0x4f587f=await((_0x453b9b=this[_0x2dbb1a(0x469)])==null?void 0x0:_0x453b9b['loadOfflineData'](_0x3bdbf0));return _0x4f587f&&(_0x4f587f[_0x2dbb1a(0x1f6)]||_0x4f587f[_0x2dbb1a(0x251)][_0x2dbb1a(0x41d)]!==0x0)&&(_0x32db9e=_0x4f587f['rev']),_0x32db9e===0x0&&this[_0x2dbb1a(0x30f)][_0x2dbb1a(0x1f5)](_0x2dbb1a(0x229),_0x2dbb1a(0x35c)),this[_0x2dbb1a(0x254)][_0x2dbb1a(0x1e6)](_0x3bdbf0,_0x32db9e);}async[_0x567f8e(0x3ff)](_0x38fa36){var _0x1a90fb=_0x567f8e,_0x1c81ce;let _0x2764aa=0x0;const _0x396523=await((_0x1c81ce=this[_0x1a90fb(0x469)])==null?void 0x0:_0x1c81ce[_0x1a90fb(0x3a8)](_0x38fa36));return _0x396523&&(_0x396523['awaitingChangeset']||_0x396523['mutations'][_0x1a90fb(0x41d)]!==0x0)&&(_0x2764aa=_0x396523[_0x1a90fb(0x266)]),_0x2764aa===0x0&&this[_0x1a90fb(0x30f)][_0x1a90fb(0x1f5)](_0x1a90fb(0x229),_0x1a90fb(0x35c)),this[_0x1a90fb(0x254)]['loadDoc'](_0x38fa36,_0x2764aa);}};Ot=vs([mt(0x0,_0x5994dd),mt(0x1,_0x4a37af(_0x368d69)),mt(0x2,_0xb1a102(J))],Ot);var ps=Object[_0x567f8e(0x1cc)],ms=Object[_0x567f8e(0x33a)],gs=(_0x5d75f1,_0x5095e6,_0x6b9870,_0x43069c)=>{var _0x49d740=_0x567f8e;for(var _0x374486=_0x43069c>0x1?void 0x0:_0x43069c?ms(_0x5095e6,_0x6b9870):_0x5095e6,_0x3f9c22=_0x5d75f1[_0x49d740(0x41d)]-0x1,_0x269304;_0x3f9c22>=0x0;_0x3f9c22--)(_0x269304=_0x5d75f1[_0x3f9c22])&&(_0x374486=(_0x43069c?_0x269304(_0x5095e6,_0x6b9870,_0x374486):_0x269304(_0x374486))||_0x374486);return _0x43069c&&_0x374486&&ps(_0x5095e6,_0x6b9870,_0x374486),_0x374486;},gt=(_0x47ff5c,_0xc0bb59)=>(_0x4d0ee9,_0x4fc6ed)=>_0xc0bb59(_0x4d0ee9,_0x4fc6ed,_0x47ff5c);const Ss=[_0x567f8e(0x347),_0x567f8e(0x2a5),'image/jpg',_0x567f8e(0x2cc),'image/bmp'],Es=0x5*0x400*0x400,Is=_0x567f8e(0x3b3),Ts=_0x567f8e(0x2a4),Cs=_0x567f8e(0x1b4),Rs=_0x567f8e(0x2da);let yt=class{constructor(_0x4d7f9d,_0x58370a,_0x814e08){var _0x19a439=_0x567f8e;N(this,_0x19a439(0x35b),0x0),N(this,_0x19a439(0x1dd),new _0x241ec3()),N(this,_0x19a439(0x37c),this[_0x19a439(0x1dd)]),N(this,'_imageSourceCache',new Map()),(this[_0x19a439(0x331)]=_0x4d7f9d,this[_0x19a439(0x424)]=_0x58370a,this[_0x19a439(0x366)]=_0x814e08);}[_0x567f8e(0x1e0)](_0x3915bb){var _0x183d59=_0x567f8e;this[_0x183d59(0x35b)]=_0x3915bb,this['_change$'][_0x183d59(0x298)](_0x3915bb);}['getImageSourceCache'](_0x1ea8fa,_0x4cfad5){var _0x2dc8d2=_0x567f8e;if(_0x4cfad5===_0x455b5c[_0x2dc8d2(0x38c)]){const _0x175ae4=new Image();return _0x175ae4[_0x2dc8d2(0x2b0)]=_0x1ea8fa,_0x175ae4;}return this[_0x2dc8d2(0x216)][_0x2dc8d2(0x33f)](_0x1ea8fa);}[_0x567f8e(0x344)](_0x112dd1,_0x299754,_0xf69154){var _0x1ef314=_0x567f8e;_0x299754===_0x455b5c[_0x1ef314(0x38c)]||_0xf69154==null||this[_0x1ef314(0x216)][_0x1ef314(0x2d2)](_0x112dd1,_0xf69154);}async[_0x567f8e(0x315)](_0x9ca62){var _0x53e4eb=_0x567f8e;try{const _0x323bf4=this[_0x53e4eb(0x2dd)](this[_0x53e4eb(0x2a6)](),''+_0x9ca62),_0x1b34ae=(await this['_httpService'][_0x53e4eb(0x33f)](_0x323bf4))[_0x53e4eb(0x29f)];if(_0x1b34ae[_0x53e4eb(0x2c4)]&&_0x1b34ae[_0x53e4eb(0x2c4)][_0x53e4eb(0x2e5)]===Ii['OK']){const _0x38f3fb=new URL(_0x1b34ae[_0x53e4eb(0x1fc)],this[_0x53e4eb(0x450)]())[_0x53e4eb(0x363)]();return Promise['resolve'](_0x38f3fb);}return Promise[_0x53e4eb(0x40d)](_0x1b34ae[_0x53e4eb(0x2c4)]);}catch(_0x2bd952){return Promise[_0x53e4eb(0x40d)](_0x2bd952);}}async[_0x567f8e(0x44e)](_0x2d0e38){var _0x561c30=_0x567f8e;let _0x15254a='';if(!Ss[_0x561c30(0x26c)](_0x2d0e38['type']))return this[_0x561c30(0x213)](),Promise['reject'](new Error(_0x1f7829['ERROR_IMAGE_TYPE']));if(_0x2d0e38[_0x561c30(0x2d7)]>Es)return this['_decreaseWaiting'](),Promise[_0x561c30(0x40d)](new Error(_0x1f7829['ERROR_EXCEED_SIZE']));try{const _0x4ba668=new FormData();_0x4ba668[_0x561c30(0x478)](_0x561c30(0x249),_0x2d0e38);const _0x4badfc=this[_0x561c30(0x366)][_0x561c30(0x491)](),_0x34cdc0=_0x4badfc==null?void 0x0:_0x4badfc['getUnitId']();if(!_0x34cdc0)throw new Error(_0x561c30(0x3f3));const _0x5e5d94=this['_getUploadFileURL']()+_0x561c30(0x269)+_0x2d0e38[_0x561c30(0x2d7)]['toString']()+_0x561c30(0x32a)+Ti['UnitEmbedded']+_0x561c30(0x241)+encodeURIComponent(_0x34cdc0),_0x42f9f1=await(await fetch(_0x5e5d94,{'method':'POST','body':_0x4ba668}))[_0x561c30(0x370)]();if(typeof _0x42f9f1[_0x561c30(0x235)]!=_0x561c30(0x210))return this[_0x561c30(0x213)](),Promise[_0x561c30(0x40d)](new Error(_0x1f7829[_0x561c30(0x2aa)]));_0x15254a=_0x42f9f1[_0x561c30(0x235)];}catch{return this['_decreaseWaiting'](),Promise['reject'](new Error(_0x1f7829[_0x561c30(0x2aa)]));}return new Promise((_0x1ff3cd,_0x118cd9)=>{var _0x1cc123=_0x561c30;const _0x32164a=new FileReader();_0x32164a[_0x1cc123(0x476)](_0x2d0e38),_0x32164a[_0x1cc123(0x22b)]=_0x167f90=>{var _0x50fcf0=_0x1cc123,_0x56fe81;const _0x237aab=(_0x56fe81=_0x167f90[_0x50fcf0(0x2ba)])==null?void 0x0:_0x56fe81[_0x50fcf0(0x1c4)];if(_0x237aab==null){this[_0x50fcf0(0x213)](),_0x118cd9(new Error(_0x1f7829[_0x50fcf0(0x2aa)]));return;}const _0x44dd9b=_0x175f16[_0x50fcf0(0x395)](0x6);_0x1ff3cd({'imageId':_0x44dd9b,'imageSourceType':_0x455b5c[_0x50fcf0(0x3c7)],'source':_0x15254a,'base64Cache':_0x237aab,'status':_0x1f7829[_0x50fcf0(0x381)]}),this[_0x50fcf0(0x213)]();};});}['_getUploadFileURL'](){var _0x441daf=_0x567f8e,_0x580418,_0x25eb18;const _0x3ade9f=this['_configService'][_0x441daf(0x4a2)](Is),_0xc19055=this[_0x441daf(0x424)]['getConfig'](q);return(_0x25eb18=(_0x580418=_0xc19055==null?void 0x0:_0xc19055[_0x441daf(0x41c)])!=null?_0x580418:_0x3ade9f)!=null?_0x25eb18:Ts;}[_0x567f8e(0x2a6)](){var _0x2f31cf=_0x567f8e,_0xcfd530,_0x5cfe9d;const _0x3fe1d8=this[_0x2f31cf(0x424)][_0x2f31cf(0x4a2)](Cs),_0x110fad=this['_configService']['getConfig'](q);return(_0x5cfe9d=(_0xcfd530=_0x110fad==null?void 0x0:_0x110fad['signUrlServerUrl'])!=null?_0xcfd530:_0x3fe1d8)!=null?_0x5cfe9d:Rs;}['_getDownloadEndpointURL'](){var _0xaf058a=_0x567f8e,_0x7e2ea3;const _0x4a1224=this[_0xaf058a(0x424)][_0xaf058a(0x4a2)](q);return(_0x7e2ea3=_0x4a1224==null?void 0x0:_0x4a1224[_0xaf058a(0x46f)])!=null?_0x7e2ea3:location[_0xaf058a(0x468)];}[_0x567f8e(0x2dd)](_0x5a3de7,_0x14c682){var _0x3cd96a=_0x567f8e;return _0x5a3de7[_0x3cd96a(0x240)](_0x3cd96a(0x1bc),_0x14c682);}[_0x567f8e(0x213)](){var _0x34f8f7=_0x567f8e;this[_0x34f8f7(0x35b)]-=0x1,this[_0x34f8f7(0x1dd)][_0x34f8f7(0x298)](this[_0x34f8f7(0x35b)]);}};yt=gs([gt(0x0,_0x4a37af(_0x470993)),gt(0x1,_0x50fa1b),gt(0x2,_0x4a37af(_0x30dc1f))],yt);var bs=Object[_0x567f8e(0x1cc)],Os=Object[_0x567f8e(0x33a)],ys=(_0x4c2369,_0x23b662,_0x13dc2e,_0x9c41ec)=>{var _0x5eb909=_0x567f8e;for(var _0x4b4d45=_0x9c41ec>0x1?void 0x0:_0x9c41ec?Os(_0x23b662,_0x13dc2e):_0x23b662,_0x3c83d9=_0x4c2369[_0x5eb909(0x41d)]-0x1,_0x1c20e4;_0x3c83d9>=0x0;_0x3c83d9--)(_0x1c20e4=_0x4c2369[_0x3c83d9])&&(_0x4b4d45=(_0x9c41ec?_0x1c20e4(_0x23b662,_0x13dc2e,_0x4b4d45):_0x1c20e4(_0x4b4d45))||_0x4b4d45);return _0x9c41ec&&_0x4b4d45&&bs(_0x23b662,_0x13dc2e,_0x4b4d45),_0x4b4d45;},_i=(_0x4330c3,_0x1d46a6)=>(_0x94fcf5,_0x1d2e10)=>_0x1d46a6(_0x94fcf5,_0x1d2e10,_0x4330c3);const Ns=_0x567f8e(0x1ae);let Nt=class{constructor(_0x4e5760,_0xd9906a){var _0x3d413a=_0x567f8e;this[_0x3d413a(0x424)]=_0x4e5760,this[_0x3d413a(0x1cf)]=_0xd9906a;}[_0x567f8e(0x222)](){var _0x599e63=_0x567f8e,_0x12f0b6,_0x438cb9;const _0xb65ece=this['_configService']['getConfig'](Pi),_0x13f6ea=this[_0x599e63(0x424)][_0x599e63(0x4a2)](q);return(_0x438cb9=(_0x12f0b6=_0x13f6ea==null?void 0x0:_0x13f6ea[_0x599e63(0x432)])!=null?_0x12f0b6:_0xb65ece)!=null?_0x438cb9:Ns;}async[_0x567f8e(0x33b)](_0x58c89b){var _0x270513=_0x567f8e;const _0xe82319=this[_0x270513(0x222)]()+_0x270513(0x438);return{'list':[{'title':'People','mentions':(await this['_HTTPService'][_0x270513(0x33f)](_0xe82319,{'params':{'objectID':_0x58c89b['unitId'],'unitID':_0x58c89b['unitId']}}))[_0x270513(0x29f)][_0x270513(0x1bf)]['map'](_0x58c730=>({'objectId':_0x58c730['id'],'name':_0x58c730['subject'][_0x270513(0x3d5)],'metadata':{'icon':_0x58c730['subject'][_0x270513(0x27a)]},'label':_0x58c730['subject']['name'],'objectType':_0x269f65[_0x270513(0x403)]})),'metadata':{},'type':_0x269f65['PERSON']}]};}};Nt=ys([_i(0x0,_0x4a37af(_0x50fa1b)),_i(0x1,_0x4a37af(_0x470993))],Nt);var Ds=Object[_0x567f8e(0x1cc)],Ps=Object['getOwnPropertyDescriptor'],ws=(_0x3f6d1c,_0x176dbd,_0x5c21a4,_0x24fc53)=>{var _0x198771=_0x567f8e;for(var _0x2a19f0=_0x24fc53>0x1?void 0x0:_0x24fc53?Ps(_0x176dbd,_0x5c21a4):_0x176dbd,_0x470e30=_0x3f6d1c[_0x198771(0x41d)]-0x1,_0x15a80f;_0x470e30>=0x0;_0x470e30--)(_0x15a80f=_0x3f6d1c[_0x470e30])&&(_0x2a19f0=(_0x24fc53?_0x15a80f(_0x176dbd,_0x5c21a4,_0x2a19f0):_0x15a80f(_0x2a19f0))||_0x2a19f0);return _0x24fc53&&_0x2a19f0&&Ds(_0x176dbd,_0x5c21a4,_0x2a19f0),_0x2a19f0;},Se=(_0x11724a,_0x51e148)=>(_0x2533ea,_0x127013)=>_0x51e148(_0x2533ea,_0x127013,_0x11724a);let at=class extends _0x56a922{constructor(_0x5cd4e0,_0x464e99,_0x15feaa,_0x47159a,_0x36e7df,_0x10b24f,_0x205583){var _0x211887=_0x567f8e;super(),this[_0x211887(0x226)]=_0x5cd4e0,this[_0x211887(0x366)]=_0x464e99,this[_0x211887(0x3e0)]=_0x15feaa,this[_0x211887(0x382)]=_0x47159a,this['_collaborationUIEventService']=_0x36e7df,this[_0x211887(0x43b)]=_0x10b24f,this[_0x211887(0x2b6)]=_0x205583,this[_0x211887(0x33d)](),this[_0x211887(0x299)]();}[_0x567f8e(0x299)](){var _0x56289a=_0x567f8e;const _0x235cf3=async _0x433495=>{var _0x3d777a=_0x1e98;(await this[_0x3d777a(0x382)][_0x3d777a(0x412)](_0x433495))[_0x3d777a(0x2ea)]['pipe'](_0x9acd45(_0x2561e9=>_0x2561e9['eventID']===_0x1b86f2[_0x3d777a(0x289)]),_0x12de8e(this[_0x3d777a(0x35d)]))[_0x3d777a(0x21b)](_0x4d2b14=>{var _0x551f56=_0x3d777a;const _0xa06f13=_0x4d2b14,{reason:_0x4612e1}=_0xa06f13[_0x551f56(0x40f)];this[_0x551f56(0x3cc)][_0x551f56(0x444)]({'id':se[_0x551f56(0x2df)],'data':_0x4612e1}),this[_0x551f56(0x3e0)][_0x551f56(0x335)](new _0x41129b(_0x433495)['id'],!0x1),this[_0x551f56(0x382)][_0x551f56(0x23c)](_0x433495);});};_0x39f393(this[_0x56289a(0x366)][_0x56289a(0x465)](_0xfcd74d[_0x56289a(0x31a)]),this[_0x56289a(0x366)][_0x56289a(0x465)](_0xfcd74d[_0x56289a(0x2a2)]))[_0x56289a(0x441)](_0x275ba6(_0x54e226=>_0x54e226[_0x56289a(0x41a)]()),_0x9acd45(_0x4c29cb=>!_0x17a975(_0x4c29cb)),_0x12de8e(this[_0x56289a(0x35d)]))[_0x56289a(0x21b)](_0x2016d4=>{_0x235cf3(_0x2016d4);});}[_0x567f8e(0x33d)](){var _0x417986=_0x567f8e;const _0x390861=async _0x250e67=>{var _0x232916=_0x1e98;const _0x449a13=await this['_collaborationSessionService'][_0x232916(0x412)](_0x250e67),_0x5612f8=this[_0x232916(0x226)][_0x232916(0x33f)](_0x467075);_0x449a13[_0x232916(0x2ea)][_0x232916(0x441)](_0x9acd45(_0x13e151=>_0x13e151[_0x232916(0x379)]===_0x1b86f2['UPDATE_PERMISSION_OBJ']),_0x12de8e(this[_0x232916(0x35d)]))[_0x232916(0x21b)](_0x2bd0da=>{var _0x4c8774=_0x232916;const _0x264535=_0x2bd0da,{objectId:_0x4c721c}=_0x264535[_0x4c8774(0x40f)];_0x4c721c===_0x250e67?_0x5612f8['initWorkbookPermissionChange'](_0x250e67):_0x5612f8[_0x4c8774(0x309)](_0x250e67,_0x4c721c);});};_0x39f393(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xfcd74d[_0x417986(0x31a)]),this[_0x417986(0x366)][_0x417986(0x465)](_0xfcd74d[_0x417986(0x2a2)]))[_0x417986(0x441)](_0x275ba6(_0x2531a4=>_0x2531a4[_0x417986(0x41a)]()),_0x9acd45(_0x12c955=>!_0x17a975(_0x12c955)),_0x12de8e(this[_0x417986(0x35d)]))[_0x417986(0x21b)](_0x38f880=>{_0x390861(_0x38f880);});}};at=ws([Se(0x0,_0x4a37af(_0x2baf1e)),Se(0x1,_0x30dc1f),Se(0x2,_0x4beed7),Se(0x3,_0x4a37af(Le)),Se(0x4,_0x4a37af(pe)),Se(0x5,_0x19a090),Se(0x6,_0x334148)],at);var Us=Object[_0x567f8e(0x1cc)],As=Object[_0x567f8e(0x33a)],xs=(_0x319b9e,_0xae3516,_0x969466,_0x5d30bc)=>{var _0x4d50f6=_0x567f8e;for(var _0x36bfbd=_0x5d30bc>0x1?void 0x0:_0x5d30bc?As(_0xae3516,_0x969466):_0xae3516,_0x5df6c0=_0x319b9e[_0x4d50f6(0x41d)]-0x1,_0x3dde3e;_0x5df6c0>=0x0;_0x5df6c0--)(_0x3dde3e=_0x319b9e[_0x5df6c0])&&(_0x36bfbd=(_0x5d30bc?_0x3dde3e(_0xae3516,_0x969466,_0x36bfbd):_0x3dde3e(_0x36bfbd))||_0x36bfbd);return _0x5d30bc&&_0x36bfbd&&Us(_0xae3516,_0x969466,_0x36bfbd),_0x36bfbd;},li=(_0x1b1db7,_0x3b09cf)=>(_0x3089cf,_0x4e2667)=>_0x3b09cf(_0x3089cf,_0x4e2667,_0x1b1db7);let Dt=class{constructor(_0x21395b,_0x2aad03){var _0x22e74e=_0x567f8e;this[_0x22e74e(0x424)]=_0x21395b,this['_httpService']=_0x2aad03;}async[_0x567f8e(0x233)](_0x15ac13,_0x40cc3f){var _0x52b44c=_0x567f8e,_0x42aed1;const {unitID:_0x317565,type:_0x1663a5,revision:_0x5620d4=0x0}=_0x40cc3f,_0x1b569f=this[_0x52b44c(0x489)]()+'/'+_0x1663a5+_0x52b44c(0x362)+_0x317565+_0x52b44c(0x375)+_0x5620d4,_0x323331=(await this['_httpService'][_0x52b44c(0x33f)](_0x1b569f))[_0x52b44c(0x29f)],_0x445e6d=(_0x42aed1=_0x323331[_0x52b44c(0x35e)])==null?void 0x0:_0x42aed1[_0x52b44c(0x2e4)];if(_0x445e6d){const _0x125524=_0x445e6d==null?void 0x0:_0x445e6d[_0x52b44c(0x25c)],_0x5243d2=_0x399006[_0x52b44c(0x361)](_0x3e3ecc(_0x125524));_0x445e6d[_0x52b44c(0x25c)]=_0x5243d2,Object[_0x52b44c(0x2f6)](_0x445e6d[_0x52b44c(0x380)])[_0x52b44c(0x416)](([,_0x5a779f])=>{var _0x3cdf3b=_0x52b44c;const _0x4a0f58=_0x5a779f[_0x3cdf3b(0x25c)],_0x4b6f5d=_0x399006[_0x3cdf3b(0x361)](_0x3e3ecc(_0x4a0f58));_0x5a779f[_0x3cdf3b(0x25c)]=_0x4b6f5d;});}return _0x323331;}async[_0x567f8e(0x1b9)](_0x614ba7,_0x5caef6){var _0x5e43bf=_0x567f8e;const {unitID:_0x52cae2,type:_0x402da3,blockID:_0x446872}=_0x5caef6,_0x53b62f=this[_0x5e43bf(0x265)]()+'/'+_0x402da3+_0x5e43bf(0x362)+_0x52cae2+_0x5e43bf(0x454)+_0x446872;return(await this[_0x5e43bf(0x331)][_0x5e43bf(0x33f)](_0x53b62f))[_0x5e43bf(0x29f)];}async[_0x567f8e(0x486)](_0x49b6e8,_0x4c47f3){var _0x58f1c7=_0x567f8e;const {unitID:_0x591f66,type:_0x4d594c,blockID:_0x143d9c}=_0x4c47f3,_0x5dc838=this[_0x58f1c7(0x265)]()+_0x58f1c7(0x454)+_0x4d594c+_0x58f1c7(0x362)+_0x591f66+'/block/'+_0x143d9c;return(await this[_0x58f1c7(0x331)][_0x58f1c7(0x33f)](_0x5dc838))[_0x58f1c7(0x29f)];}async['fetchMissingChangesets'](_0x1bc438,_0x4fad61){var _0x3d4430=_0x567f8e;const {unitID:_0x416599,type:_0x3667d1,from:_0x23b552,to:_0x46bda4}=_0x4fad61,_0x519fee=this[_0x3d4430(0x265)]()+'/'+_0x3667d1+_0x3d4430(0x362)+_0x416599+_0x3d4430(0x365)+_0x23b552+'&to='+_0x46bda4;return(await this['_httpService'][_0x3d4430(0x33f)](_0x519fee))[_0x3d4430(0x29f)];}[_0x567f8e(0x489)](){var _0x111b62=_0x567f8e,_0x282642;return(_0x282642=this[_0x111b62(0x424)]['getConfig'](Tn))!=null?_0x282642:this[_0x111b62(0x265)]();}['_getAPIPrefix'](){var _0x32b7ff=_0x567f8e,_0x572358,_0x13a7f4;const _0xaba29f=this['_configService'][_0x32b7ff(0x4a2)](En),_0x16be16=this['_configService'][_0x32b7ff(0x4a2)](q);return(_0x13a7f4=(_0x572358=_0x16be16==null?void 0x0:_0x16be16[_0x32b7ff(0x442)])!=null?_0x572358:_0xaba29f)!=null?_0x13a7f4:In;}async['getResourcesRequest'](_0x179405,_0x3fd0dc){var _0x51a4e2=_0x567f8e;const _0x2f1a1e=_0x51a4e2(0x3ec)+_0x3fd0dc[_0x51a4e2(0x219)]+_0x51a4e2(0x362)+_0x3fd0dc[_0x51a4e2(0x34f)]+_0x51a4e2(0x390);return(await this['_httpService']['get'](_0x2f1a1e,{'params':{'resourceId':JSON['stringify'](_0x3fd0dc[_0x51a4e2(0x2e8)])}}))['body'];}[_0x567f8e(0x26e)](){var _0x2f4964=_0x567f8e;throw new Error(_0x2f4964(0x328));}[_0x567f8e(0x1cb)](){var _0x3b35e8=_0x567f8e;throw new Error(_0x3b35e8(0x328));}[_0x567f8e(0x2bc)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x567f8e(0x351)](){var _0x59b048=_0x567f8e;throw new Error(_0x59b048(0x328));}[_0x567f8e(0x35f)](){var _0x3ac6ca=_0x567f8e;throw new Error(_0x3ac6ca(0x328));}};function _0x4dfb(){var _0x3bb8e2=['padding','NOT_FOUND','HttpImport','_waitCount','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','dispose$','snapshot','getLatestCsReqIdBySid','FAIL','encode','/unit/','toString','Decryptor','/fetchmissing?from=','_univerInstanceService','_transitionLocked','userID','_removeRoom','textRanges','UNAUTHENTICATED','awaiting_with_pending','asObservable','_socketService','message$','json','range','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','[OfflineState]:\x20received\x20acknowledgement.','TOO_MANY_REQUESTS','/rev/','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UnitSnapshot','HmacSHA1','eventID','key','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','change$','_handler','updateCollaborator','6pAhRNv','sheets','SUCCUSS','_collaborationSessionService','enableSingleActiveInstanceLock','_shouldReportTelemetry','_telemetryInfo','_lockTransition','_getSessionTicket','abs','OPTIONAL','1640144DzBtfe','univer-pro.collaboration-client-socket-service','BASE64','location','addHandlerCallback','lib','/resources','wsSessionTicketUrl','_keySchedule','bind','encryptBlock','generateRandomId','LICENSE_MAX_UNITS_EXCEEDED','state$','Univer','joinEvent','fromCharCode','has','_remoteChangesetQueue','Base64','values','PENDING','randomBytes','deepClone','DEFAULT_FILE_NAME','_invKeySchedule','session.join-failed','joinRsp','add','decrypt','loadOfflineData','deleteCollaborator','_doFinalize','resend','floor','RETRY_CONNECTING_MAX_COUNT','getMemberID','_updateStatus','call','_onConflict','APPLY_PERMISSION_DENIED','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','create','pad','AUTHZ_URL_KEY','enc','UNKNOWN_CODE','UnitEmbedded','equals','substr','_type','_telemetryService','INTERNAL_ERROR','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','INVALID_ARGUMENT','COMMENT_UPDATE','from','_onLocalMutation','CHANGESET_REJ','_clearTimeoutTimer','ivSize','UUID','_onOffline','collaMsg','univer-pro.collaboration-client.network-condition.service','_sendHeartbeatTimer','_collaborationUIEventService','_onUserJoin','onTransformIME','HEARTBEAT','_getSendChangesetTimeout','$super','JOIN_ROOM_FULL','_transformSelections','RECV','name','transformMutationsWithChangeset','_incrementRevisionNumber','UNKNOWN_CMD','action','getValue','_onCombEvent','words','[OfflineState]:\x20received\x20rejection.','encrypt','_keyPriorReset','_permissionService','LIVESHARE_NEW_HOST','registerHTTPInterceptor','_awaitingChangeset','close','fetchMiss','PasswordBasedCipher','univer-pro.collaboration-client.single-active-unit-service','18ouKuop','hasher','_transformStateCache','_minBufferSize','/universer-api/snapshot/','JOINING','HELLO','_getUndoStack','clamp','_clearCollaborationTimeoutTimer','cfg','unitId\x20is\x20not\x20found','sendChangesetTimeout','socket\x20close','_userManagerService','_eventService','removeMember','roles','hostname','_compressMutationService','actions','13717180EtgXDG','objects','_loadDoc','_socket','_createSocketURL','incrementRevOfUnit','PERSON','sessionStatus','objectType','_transformUndoredo','onTransformState','permissionRejEvent','getInterceptPoints','pauseCollaboration','APPLY_DUPLICATED','_roomCreated$','reject','UNIVER_PROJECT','data','ENSURE_SNAPSHOT_EXECUTION','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','requireSession','_updateState','_http','_throwTelemetryCollaborationNewChangeset','forEach','JOIN_ROOM_PERMISSION_DENIED','[OfflineState]:\x20received\x20changeset.','_prevBlock','getUnitId','post','uploadFileServerUrl','length','MD5','_queuedRemoteChangesets','searchParams','_process','unitId','sigBytes','_configService','WordArray','_snapshotServerService','[CollaborationSession]','liveShareNewHost','conflict','UPDATE_CURSOR','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','_transformIMECache','extend','processBlock','SNAPSHOT_INVALID_SNAPSHOT','push','UNIVER_SLIDE','authzUrl','pluginName','SHA1','132274EsgcrY','[CollaborationSessionService]:\x20socket\x20error','m2Prime','/collaborator','_memberService','createSocket','_authzIoService','onRemoteRetry','localCacheService','LICENSE_IMPORT_SIZE_EXCEEDED','selections','[PendingState]:\x20received\x20rejection.','pipe','snapshotServerUrl','charAt','emitEvent','_pendingMutations','kdf','session.room-permission-denied','slice','_clearHeartbeatTimer','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','MUTATION','_emitMembers','/universer-api/user/session-ticket','saveImage','randomUUID','_getDownloadEndpointURL','[CollaborationSessionService]','application/json','waitForRoom$','/block/','onLocalMutation','send','_reverseMap','reset','COMPRESS_MUTATION_APPLY','Cipher','failed\x20to\x20apply\x20missed\x20changesets!','_DEC_XFORM_MODE','crypto','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_sendingTimer','offline','commentUpdateEvent','_clearScheduledTask','UPDATE_PERMISSION_OBJ','updatePermissionObjEvent','getTypeOfUnitAdded$','getCurrentUser','status$','origin','_localCacheService','[CollaborationState]:\x20apply\x20error!','JOIN_ROOM_NOT_EXISTS','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','CHANGESET_REVISION_CONFILICT','delete','downloadEndpointUrl','_map','_submitChangeset','onRemoteChangeset','method','__Key__','_cipher','readAsDataURL','UNIVER_UNKNOWN','append','USERS_ENTER','headers','_members','_onConnectionOpen','_initRequestHeader','PERMISSION_REJ','href','dispose','getCollabEntity$','function','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','onTransformRemoteChangesetByStateCache','OFFLINE','getDeserializedSheetBlock','startTime','apply','getSnapshotAPIPath','getRandomValues','_redoStacks','_sheetTransformSelectionsService','salt','baseRev','updateMember','Base','getFocusedUnit','_singleActiveUnitService','_tryEnsureSocket','clone','disableLocalCache','search','_onJoinRoomEvent','BlockCipher','onRemoteRej','fetch_missing','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_socketMessageSubscription','_localeService','_tryReconnect','/new_changes','onlyLocal','APPLY_REVISION_CONFILICT','getConfig','_createInitialState','getCurrentSelections','_sessionStatus$','runId','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','error$','/-/object/-/batch_allowed','getRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','[SyncedState]:\x20received\x20rejection.','/universer-api/authz','_scheduleCompleteTimestamp','9923874ThQBco','Error\x20on\x20receiving\x20event','_unitID','socket$','EXCHANGE_SIGN_URL_SERVER_URL_KEY','AES','onTransformSelections','override','_clearUndo','getSheetBlock','objectActions','algo','{fileID}','_parse','state','collaborators','SNAPSHOT_SERVER_URL_KEY','SEND_CHANGESET_TIMEOUT','entityInit$','JOIN_ROOM_FAILED','result','_sendHeartbeat','_resendWithTimeout','min','COMPLETION_FINISHED','LIVESHARE_REQUEST_HOST','collabWebSocketUrl','saveSheetBlock','defineProperty','_transformRemoteChangesetByStateCache','startsWith','_HTTPService','_event$','every','_handlerCallback','_init','_listenToNetworkCondition','COMPRESS_MUTATION_SEND','_stopTelemetryCollaborationNewChangeset','getTypeOfUnitDisposed$','sin','infoRsp','USERS_LEAVE','interceptor','UNRECOGNIZED','_change$','SOCKET_FAILED_RETRY','_entities','setWaitCount','getUnitType','createInstance','_timeoutTimer','_isPermissionRej','Hex','loadSheet','ws://127.0.0.1:8000/universer-api/comb/connect','_hash','UNDEFINED','COLLAB_WEB_SOCKET_URL','FETCH_MISS','_commentService','revision','_state','_updateLocalCache','Hasher','EvpKDF','_onRemoteACK','LOGIN_URL_KEY','transformStack\x20failed!','debug','awaitingChangeset','onTransformRemoteChangesetByIMECache','findIndex','SUBMIT_CHANGESET','_startTelemetryCollaborationNewChangeset','Pkcs7','url','OpenSSL','LIVESHARE_OPERATION','ticket','_unlockTransition','_waitForHeartbeatResponse','complete','commentUpdate$','prototype','toggleOffline','unknown','SYNCED','fromCollab','execute','/allowed','_getCtorByUniverType','ALREADY_EXISTS','BlockCipherMode','changesets','_retryCount','string','_transformRemoteChangesetByIMECache','_iKey','_decreaseWaiting','_exhaustRemoteChangesetQueue','CONNECTOR_DATA_TOO_LARGE','_imageSourceCache','auth.needGotoLoginAlert','readyForCollab','type','fetchThroughInterceptors','subscribe','[CollaborationEntity]','Could\x20not\x20dynamically\x20require\x20\x22','formatter','format','find','localeService','_getAPIPrefixPath','_registerDependencies','appendMutation','OTHER_CLIENTS_EDITING','_injector','getUnitStatus$','ciphertext','[DataLoaderService]','onSendChangeset','onload','NO_OTHER_CLIENTS_EDITING','collaboratorID','subUnitId','isPermissionRej','retryConnectingInterval','_socketReady','Malformed\x20UTF-8\x20data','getUnitOnRev','LIVESHARE_TERMINATE','FileId','ONLINE','_rescheduleHeartbeat','_clearLocalCache','roomInfos','_append','executeCommand','closeSession','_clearRedo','requestParams','IDLE','replace','&assign=','_hasher','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','Utf8','createDecryptor','c1Prime','\x20to\x20','random','file','StreamCipher','splice','unpad','_config','_commandService','_transformStack','HEARTBEAT_TIMEOUT','mutations','onSyncEditingCollabCursor','PY_RUNTIME_SCRIPT_ERROR','_snapshotService','_schedule','YUUMI_SUBSCRIPTION_NOT_FOUND','_ENC_XFORM_MODE','_createSocket','getWorkbookSelections','sessionTicket','_acknowledgedAwaitingChangeset','originalMeta','transformSelections','isArray','_syncEditingCollabCursor','_onMessage','_getLoginPath','parse','setCurrentUser','HEARTBEAT_INTERVAL','_getAPIPrefix','rev','_nDataBytes','HttpExport','?size=','[UniverCollaborationClientPlugin]','ceil','includes','map','saveSnapshot','_collabSessionService','cmd','put','session','update','_networkConditionService','_entityInit$','onStarting','_getRedoStack','leaveEvent','LOCAL_CACHE_INTERVAL','avatar','7suIMkT','[SyncedState]:\x20received\x20acknowledgement.','[FetchMissState]','memberID','iterations','_startCollaboration','Encryptor','now','onCommandExecuted','exports','/object','reconnect','max','YUUMI_UNABLE_LOAD_URL','SHOULD_CLOSE_CONN','__creator','PSEUDO_FETCH_MISSING_RESULT','_data','awaiting','not_collab','/universer-api/comb','session.room-cnt-exceeds','reqId','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_substituteUndoStack','_nRounds','_initDependencies','msCrypto','_undoStacks','next','_initCloseConn','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_sessions','setConfig','YUUMI_URL_COL_OUT_OF_RANGE','_changesetReqId','body','routeKey','CHANGESET_SHOULD_RETRY','UNIVER_DOC','getTime','/universer-api/stream/file/upload','image/jpeg','_getSignURL','_changesetSessionId','_state$','PERMISSION_DENIED','ERROR_IMAGE','SOCKET_FAILED','_iv','CONFLICT','csShouldRetryEvent','params','src','_onRemoteRejected','objectID','_fetchMissChangesets','JOIN','CHANGESET_ACK','_undoRedoService','stopTime','_onFetchMissResult','_key','target','disposeWithMe','saveChangeset','_executeRemoteChangeset','_doCryptBlock','save\x20fail\x20reason\x20is\x20','_toggleOffline','compute','createEncryptor','_createHelper','error','fetchMissingChangesets','_onConnectionFailed','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','UNISCRIPT_RUN','_sender','toLowerCase','_status$','image/gif','AWAITING_WITH_PENDING','getCollabEntity','_commentUpdate$','NEW_CHANGESETS','_mode','set','responseType','finalize','byteLength','connection\x20error','size','toggleOnline','INGEST','/universer-api/file/{fileID}/sign-url','onCommentUpdate','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','_replaceFileID','_resendTimer','CLOSE_ROOM','_members$','\x0aAfter:\x20','_onRecvEvent','_toggleOnline','workbook','code','7247256ojkDMS','4905145hAqVZb','resourceIDs','_transformService','event$','onRemoteAck','socketService','x-univer-host','\x0aCurrent:\x20','getCurrentRevOfUnit','confirm','SNAPSHOT_HAS_BEEN_REMOVED','_instanceService','close$','repeat','keySize','entries','concat','getMember','[CollaborationUndoRedoService]','_substituteRedoStack','_revisionService','onMissingChangesets','_loadSheet','unit-cache-','_unitInfo$','/universer-api/snapshot','symbol','init','_collaborationPaused','_roomMembers','/-/object/list','_joinRoom','members$','_socket$','refreshPermission','_candidateSocket','sessionStatus$','_retryConnectingTimer','_createHmacHelper','transformChangesets','_logService','_oKey','socket\x20open.','SUBMIT_CHANGESET_TIMEOUT','getSheetId','sid','getImage','Undefined','rng','MSG_FOR_ERROR','Latin1','UNIVER_SHEET','APPLY_NON_SEQUENTIAL_REVISION','_disableEditing','GLOBAL_ROOMS_CNT_EXCEEDS','HMAC','OTHER_CLIENT_EDITING','hasOwnProperty','filter','NoPadding','/object/','open$','clear','mixIn','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getCurrentRevision','&source=','2359052ELukeP','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','/role','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration-client.local-cache-service','join','_httpService','setShowComponents','loginUrlKey','createCollaborator','updatePermissionPoint','compose','getUnit','_replayCachedMutations','unsubscribe','getOwnPropertyDescriptor','list','_showConflictNotification','_initUnitPermissionChange','_xformMode','get','loadUnit','LIVESHARE_FETCH_OPERATIONS','stringify','_applyRemoteChangeset','addImageSourceCache','updateOfflineData','_checkMissing','image/png','COLLAB_SUBMIT_CHANGESET_URL','batchAllowed','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','CBC','blockSize','_createHandler','capture','unitID','_resendTimeout','copyFileMeta','charCodeAt','[PendingState]:\x20received\x20acknowledgement.','_collaborationTimeoutTimer','allowed','status','POST'];_0x4dfb=function(){return _0x3bb8e2;};return _0x4dfb();}Dt=xs([li(0x0,_0x50fa1b),li(0x1,_0x4a37af(_0x470993))],Dt);var Ls=Object[_0x567f8e(0x1cc)],Ms=Object[_0x567f8e(0x33a)],$s=(_0x59c3f8,_0x3798b4,_0x3fba1b,_0x30b916)=>{var _0x40a49d=_0x567f8e;for(var _0x19b712=_0x30b916>0x1?void 0x0:_0x30b916?Ms(_0x3798b4,_0x3fba1b):_0x3798b4,_0x592f54=_0x59c3f8[_0x40a49d(0x41d)]-0x1,_0x34cdc1;_0x592f54>=0x0;_0x592f54--)(_0x34cdc1=_0x59c3f8[_0x592f54])&&(_0x19b712=(_0x30b916?_0x34cdc1(_0x3798b4,_0x3fba1b,_0x19b712):_0x34cdc1(_0x19b712))||_0x19b712);return _0x30b916&&_0x19b712&&Ls(_0x3798b4,_0x3fba1b,_0x19b712),_0x19b712;},Ae=(_0x48dc15,_0x4a6008)=>(_0x30ec67,_0x5b1a69)=>_0x4a6008(_0x30ec67,_0x5b1a69,_0x48dc15);let Pt=class extends _0xd3d868{constructor(_0xfba81b,_0xc8d0ad,_0x5970af,_0x1f334d,_0x2fda59){var _0x1de04a=_0x567f8e;super(_0xfba81b,_0xc8d0ad,_0x5970af),this['_transformService']=_0x1f334d,this[_0x1de04a(0x30f)]=_0x2fda59;}['transformUndoRedo'](_0x5f5785,_0x56f8be){var _0xdc3e36=_0x567f8e;const _0x3fb8b3=this[_0xdc3e36(0x3ef)](_0x5f5785);if(_0x3fb8b3)try{const _0x1fcb54=this[_0xdc3e36(0x24f)](_0x3fb8b3,_0x56f8be);this[_0xdc3e36(0x293)](_0x5f5785,_0x1fcb54);}catch(_0x4363f5){this[_0xdc3e36(0x30f)][_0xdc3e36(0x2c4)](_0xdc3e36(0x2f9),_0x4363f5),this[_0xdc3e36(0x1b8)](_0x5f5785);}const _0x514973=this[_0xdc3e36(0x277)](_0x5f5785);if(_0x514973)try{const _0x44e08b=this[_0xdc3e36(0x24f)](_0x514973,_0x56f8be);this[_0xdc3e36(0x2fa)](_0x5f5785,_0x44e08b);}catch(_0x240c90){this[_0xdc3e36(0x30f)][_0xdc3e36(0x2c4)](_0x240c90),this[_0xdc3e36(0x23d)](_0x5f5785);}}[_0x567f8e(0x1b8)](_0x38c4ab){var _0x472257=_0x567f8e;const _0x2a2bae=this[_0x472257(0x3ef)](_0x38c4ab);_0x2a2bae&&(_0x2a2bae['length']=0x0,this[_0x472257(0x3af)]());}[_0x567f8e(0x23d)](_0xf03cf3){var _0x27075c=_0x567f8e;const _0x327948=this[_0x27075c(0x277)](_0xf03cf3);_0x327948&&(_0x327948[_0x27075c(0x41d)]=0x0,this[_0x27075c(0x3af)]());}[_0x567f8e(0x293)](_0x434d97,_0x168378){var _0x23d3f1=_0x567f8e;this[_0x23d3f1(0x297)][_0x23d3f1(0x2d2)](_0x434d97,_0x168378),this[_0x23d3f1(0x3af)]();}[_0x567f8e(0x2fa)](_0xc942bf,_0x34d19c){var _0x5ad57b=_0x567f8e;this[_0x5ad57b(0x48b)][_0x5ad57b(0x2d2)](_0xc942bf,_0x34d19c),this[_0x5ad57b(0x3af)]();}[_0x567f8e(0x24f)](_0x317a70,_0x1fb812){var _0x29391e=_0x567f8e;const _0xef523b=[];let _0x4fb6ab=_0x1fb812,_0x1651e6=_0x1fb812;for(let _0x5e1dfb=_0x317a70['length']-0x1;_0x5e1dfb>=0x0;_0x5e1dfb--){const {unitID:_0x35f72a,undoMutations:_0x328ada,redoMutations:_0x17560d}=_0x317a70[_0x5e1dfb],_0x48de0f=this[_0x29391e(0x2e9)]['transformMutationsWithChangeset'](_0x4fb6ab,_0x328ada),_0xdbdd1c=this[_0x29391e(0x2e9)][_0x29391e(0x3d6)](_0x1651e6,_0x17560d);if(_0x36748f(_0x48de0f)||_0x36748f(_0xdbdd1c)){this['_logService'][_0x29391e(0x2c4)](_0x29391e(0x2f9),_0x29391e(0x1f4),_0x48de0f,_0xdbdd1c);break;}_0x4fb6ab=_0x48de0f[_0x29391e(0x246)],_0x1651e6=_0xdbdd1c[_0x29391e(0x246)],_0xef523b[_0x29391e(0x430)]({'unitID':_0x35f72a,'undoMutations':_0x48de0f[_0x29391e(0x437)],'redoMutations':_0xdbdd1c[_0x29391e(0x437)]});}return _0xef523b['reverse']();}};Pt=$s([Ae(0x0,_0x30dc1f),Ae(0x1,_0x38686f),Ae(0x2,_0x3c1a46),Ae(0x3,_0x500db7),Ae(0x4,_0x5994dd)],Pt);var xi=Object[_0x567f8e(0x1cc)],Hs=Object[_0x567f8e(0x33a)],ks=(_0x374ff8,_0x5cdb30,_0x51508f)=>_0x5cdb30 in _0x374ff8?xi(_0x374ff8,_0x5cdb30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51508f}):_0x374ff8[_0x5cdb30]=_0x51508f,js=(_0x6c6321,_0x2cc61c,_0x5e77c4,_0x499bee)=>{for(var _0x30abea=_0x499bee>0x1?void 0x0:_0x499bee?Hs(_0x2cc61c,_0x5e77c4):_0x2cc61c,_0x24e61f=_0x6c6321['length']-0x1,_0xbcb632;_0x24e61f>=0x0;_0x24e61f--)(_0xbcb632=_0x6c6321[_0x24e61f])&&(_0x30abea=(_0x499bee?_0xbcb632(_0x2cc61c,_0x5e77c4,_0x30abea):_0xbcb632(_0x30abea))||_0x30abea);return _0x499bee&&_0x30abea&&xi(_0x2cc61c,_0x5e77c4,_0x30abea),_0x30abea;},St=(_0x1e0534,_0x583287)=>(_0x29c0d9,_0x4bfb80)=>_0x583287(_0x29c0d9,_0x4bfb80,_0x1e0534),Bs=(_0x34d3c5,_0x4c7f1d,_0x5b5f98)=>ks(_0x34d3c5,_0x4c7f1d+'',_0x5b5f98);const Fs='UNIVER_COLLABORATION_CLIENT_PLUGIN';let wt=class extends _0x2ba457{constructor(_0x58bff9=Wt,_0x2c0b97,_0x1dc978,_0x38705d){var _0x18b077=_0x567f8e;super(),this[_0x18b077(0x24d)]=_0x58bff9,this['_logService']=_0x2c0b97,this[_0x18b077(0x226)]=_0x1dc978,this[_0x18b077(0x424)]=_0x38705d;const {..._0x23bc72}=_0x29a5f6({},Wt,this['_config']);this[_0x18b077(0x424)][_0x18b077(0x29c)](q,_0x23bc72);}[_0x567f8e(0x276)](){var _0x8cd570=_0x567f8e;this[_0x8cd570(0x223)](),this[_0x8cd570(0x295)]();}[_0x567f8e(0x223)](){var _0x23351e=_0x567f8e,_0x5e74d9,_0x9103c5,_0x3297ca,_0x48dfc7;this[_0x23351e(0x226)][_0x23351e(0x39b)](_0x334148)&&this[_0x23351e(0x30f)]['error'](_0x23351e(0x26a),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x129725=_0x5932ed([[_0x334148,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x9103c5=(_0x5e74d9=this['_config'])==null?void 0x0:_0x5e74d9[_0x23351e(0x2ec)])!=null?_0x9103c5:Et}],[_0x373a50,{'useClass':Dt}],[_0x19a090,{'useClass':bt}],[_0x47c26e,{'useClass':yt}],[_0x49efd7,{'useClass':Nt}],[rt],[Rt]],(_0x3297ca=this[_0x23351e(0x24d)])==null?void 0x0:_0x3297ca[_0x23351e(0x1b7)]);if(!((_0x48dfc7=this[_0x23351e(0x24d)])!=null&&_0x48dfc7[_0x23351e(0x383)])){const _0x18ceec=_0x129725[_0x23351e(0x1f8)](([_0x4db776])=>_0x4db776===ht);_0x18ceec!==-0x1&&_0x129725['splice'](_0x18ceec,0x1);}_0xb99fa2(this[_0x23351e(0x226)],_0x129725);}[_0x567f8e(0x295)](){var _0x58e219=_0x567f8e,_0x44bc8b,_0x1e32cc,_0x33ae1b;this[_0x58e219(0x226)][_0x58e219(0x33f)](_0x470993)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x40052f({'maxParallel':0x6})}),(_0x44bc8b=this[_0x58e219(0x24d)])!=null&&_0x44bc8b['enableOfflineEditing']||(_0x1e32cc=this[_0x58e219(0x226)][_0x58e219(0x33f)](J,_0x57f7ea[_0x58e219(0x389)]))==null||_0x1e32cc[_0x58e219(0x495)](),(_0x33ae1b=this[_0x58e219(0x24d)])!=null&&_0x33ae1b['enableAuthServer']&&_0x42bd3d(this[_0x58e219(0x226)],[[st]]),_0x42bd3d(this[_0x58e219(0x226)],[[ot],[rt],[at]]);}};Bs(wt,_0x567f8e(0x433),Fs),wt=js([_0x5378dc(_0xeb2de4,_0x3fb630,_0x23741b),St(0x1,_0x5994dd),St(0x2,_0x4a37af(_0x2baf1e)),St(0x3,_0x50fa1b)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|
1
|
+
var _0x59924f=_0x2b46;(function(_0x56c2cd,_0x1ec661){var _0x3accc7=_0x2b46,_0x233a42=_0x56c2cd();while(!![]){try{var _0x25d30c=parseInt(_0x3accc7(0x161))/0x1+parseInt(_0x3accc7(0x132))/0x2*(-parseInt(_0x3accc7(0x35a))/0x3)+-parseInt(_0x3accc7(0x400))/0x4*(parseInt(_0x3accc7(0x1a7))/0x5)+-parseInt(_0x3accc7(0x3aa))/0x6*(parseInt(_0x3accc7(0x405))/0x7)+-parseInt(_0x3accc7(0x14b))/0x8*(-parseInt(_0x3accc7(0x23b))/0x9)+-parseInt(_0x3accc7(0x1c7))/0xa*(-parseInt(_0x3accc7(0x40e))/0xb)+parseInt(_0x3accc7(0x21d))/0xc;if(_0x25d30c===_0x1ec661)break;else _0x233a42['push'](_0x233a42['shift']());}catch(_0x1a68c6){_0x233a42['push'](_0x233a42['shift']());}}}(_0x8331,0x2edee));var Li=Object[_0x59924f(0x385)],Mi=(_0x146c57,_0x467a7d,_0x2910da)=>_0x467a7d in _0x146c57?Li(_0x146c57,_0x467a7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2910da}):_0x146c57[_0x467a7d]=_0x2910da,N=(_0x3c68e9,_0x47045b,_0x50d5b8)=>Mi(_0x3c68e9,typeof _0x47045b!=_0x59924f(0x2ed)?_0x47045b+'':_0x47045b,_0x50d5b8);import{createIdentifier as _0x1a5277,Inject as _0x1bc764,Injector as _0x305299,Disposable as _0xfc6e5,DisposableCollection as _0x598c54,toDisposable as _0x22d2a9,IConfigService as _0x30c313,ILogService as _0x54d1e0,UserManagerService as _0x3016f9,UniverInstanceType as _0x51bed3,IUniverInstanceService as _0x4844be,LocaleService as _0x436289,Optional as _0x4e682c,RxDisposable as _0x2d45c2,Tools as _0x541b83,Rectangle as _0x239908,ICommandService as _0x138ae6,JSONX as _0x3e3981,CommandType as _0x1a1be5,IPermissionService as _0xb52dec,IUndoRedoService as _0x1d3917,sequenceExecute as _0x368920,Workbook as _0x12fdcf,MentionType as _0x439b82,IAuthzIoService as _0x29bb4e,isInternalEditorID as _0x3fdc3c,LocalUndoRedoService as _0x329d94,IContextService as _0x21d5ea,DependentOn as _0x4e34e1,Plugin as _0x581649,merge as _0x242ea6,mergeOverrideWithDependencies as _0x44c8c5,IMentionIOService as _0x58bb71,registerDependencies as _0x2a5538,Quantity as _0x2b7a3e,touchDependencies as _0x498568}from'@univerjs/core';import{Subject as _0x524606,merge as _0x4166c5,of as _0x815db8,BehaviorSubject as _0x1684f8,takeUntil as _0x3b11d7,ReplaySubject as _0x4111a3,take as _0x4b3b13,map as _0x617683,shareReplay as _0x69203a,firstValueFrom as _0x2b4fca,concatMap as _0x2f3673}from'rxjs';import{map as _0x23545a,take as _0x26095a,filter as _0xca8f0,delay as _0x264413,takeUntil as _0x412f17}from'rxjs/operators';import{HTTPService as _0x3edb0a,ISocketService as _0x2bfe6b,MergeInterceptorFactory as _0x450d4d,HTTPRequest as _0x29a0dd,UniverNetworkPlugin as _0x5d82ec,ThresholdInterceptorFactory as _0x244b97}from'@univerjs/network';import{CollaborationEvent as _0x2872d1,parseChangesetToProtocol as _0x11e097,ISnapshotServerService as _0x52101f,isTransformMutationsWithChangesetSuccess as _0x150ebb,ITransformService as _0x3511a4,mapDocumentTypeToUniverType as _0x25fbac,RevisionService as _0x55a265,isTransformChangesetsSuccess as _0x2c2188,CompressMutationService as _0x1b0178,parseProtocolChangeset as _0x241d74,SnapshotService as _0x566934,textEncoder as _0x1626ef,b64DecodeUnicode as _0x5d84db,isTransformMutationsWithChangesetFailure as _0x51b41b,UniverCollaborationPlugin as _0xb7ee05}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x235d78}from'@univerjs/telemetry';import{RichTextEditingMutation as _0xf6a1e8}from'@univerjs/docs';function _0x2b46(_0xb1596c,_0x1356d3){var _0x833112=_0x8331();return _0x2b46=function(_0x2b4693,_0x311ae9){_0x2b4693=_0x2b4693-0x117;var _0xbc72b2=_0x833112[_0x2b4693];return _0xbc72b2;},_0x2b46(_0xb1596c,_0x1356d3);}import{SheetsSelectionsService as _0x49983d,SetSelectionsOperation as _0x2d20d8,InsertSheetMutation as _0x40acf0,EmptyMutation as _0x2ce20d,WorkbookEditablePermission as _0x28e48e,SheetPermissionInitController as _0x565119,UniverSheetsPlugin as _0x272fa0}from'@univerjs/sheets';import{ImageSourceType as _0x543e52,ImageUploadStatusType as _0x2c1caa,IImageIoService as _0x277dfa}from'@univerjs/drawing';import{getGlobalObject as _0x512f0c}from'@univerjs-pro/license';const En=_0x59924f(0x2a2),In=_0x59924f(0x19d),Tn=_0x59924f(0x3a7),eo=_0x59924f(0x277),Cn=0x7d0,Rn=_0x59924f(0x20b),bn=_0x59924f(0x2b8),On=_0x59924f(0x3d1),yn=_0x59924f(0x409),Nn=0x7530,Si=_0x59924f(0x29f),Ei=0x4e20,Dn=0x4e20,Pn='RETRY_CONNECTING_MAX_COUNT',wn=0x3,to=_0x59924f(0x416),io=0x3e8,Un=_0x59924f(0x3c2),An=_0x59924f(0x363),xn=_0x59924f(0x25c),Ln=_0x59924f(0x1b6),no='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',ro=_0x59924f(0x2c9);var Ii=(_0x46c208=>(_0x46c208[_0x46c208['UNDEFINED']=0x0]=_0x59924f(0x337),_0x46c208[_0x46c208['OK']=0x1]='OK',_0x46c208[_0x46c208[_0x59924f(0x1c8)]=0x2]=_0x59924f(0x1c8),_0x46c208[_0x46c208[_0x59924f(0x16c)]=0x3]=_0x59924f(0x16c),_0x46c208[_0x46c208[_0x59924f(0x2ac)]=0x4]=_0x59924f(0x2ac),_0x46c208[_0x46c208['UNAUTHENTICATED']=0x5]=_0x59924f(0x284),_0x46c208[_0x46c208['ALREADY_EXISTS']=0x6]=_0x59924f(0x222),_0x46c208[_0x46c208['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x46c208[_0x46c208['TOO_MANY_REQUESTS']=0x8]=_0x59924f(0x20f),_0x46c208[_0x46c208['COMPLETION_FINISHED']=0x9]=_0x59924f(0x373),_0x46c208[_0x46c208[_0x59924f(0x1dd)]=0x1389]=_0x59924f(0x1dd),_0x46c208[_0x46c208[_0x59924f(0x343)]=0x1771]=_0x59924f(0x343),_0x46c208[_0x46c208[_0x59924f(0x230)]=0x1772]=_0x59924f(0x230),_0x46c208[_0x46c208['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x59924f(0x411),_0x46c208[_0x46c208[_0x59924f(0x366)]=0x1b59]='APPLY_REJECT',_0x46c208[_0x46c208['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x59924f(0x39f),_0x46c208[_0x46c208['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x59924f(0x223),_0x46c208[_0x46c208[_0x59924f(0x3c6)]=0x1b5c]=_0x59924f(0x3c6),_0x46c208[_0x46c208[_0x59924f(0x293)]=0x1b5d]=_0x59924f(0x293),_0x46c208[_0x46c208[_0x59924f(0x3ec)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x46c208[_0x46c208[_0x59924f(0x379)]=0x2329]=_0x59924f(0x379),_0x46c208[_0x46c208['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x59924f(0x288),_0x46c208[_0x46c208[_0x59924f(0x160)]=0x232b]=_0x59924f(0x160),_0x46c208[_0x46c208[_0x59924f(0x165)]=0x232c]=_0x59924f(0x165),_0x46c208[_0x46c208[_0x59924f(0x3a6)]=0x232d]=_0x59924f(0x3a6),_0x46c208[_0x46c208[_0x59924f(0x2e7)]=0x2711]=_0x59924f(0x2e7),_0x46c208[_0x46c208['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x59924f(0x389),_0x46c208[_0x46c208[_0x59924f(0x36d)]=0x2713]=_0x59924f(0x36d),_0x46c208[_0x46c208[_0x59924f(0x26a)]=0x2714]=_0x59924f(0x26a),_0x46c208[_0x46c208[_0x59924f(0x348)]=0x2af9]=_0x59924f(0x348),_0x46c208[_0x46c208[_0x59924f(0x386)]=-0x1]=_0x59924f(0x386),_0x46c208))(Ii||{}),Q=(_0x30cfa1=>(_0x30cfa1[_0x30cfa1[_0x59924f(0x371)]=0x0]=_0x59924f(0x371),_0x30cfa1[_0x30cfa1['UNIVER_DOC']=0x1]=_0x59924f(0x3fa),_0x30cfa1[_0x30cfa1[_0x59924f(0x14c)]=0x2]=_0x59924f(0x14c),_0x30cfa1[_0x30cfa1[_0x59924f(0x37a)]=0x3]=_0x59924f(0x37a),_0x30cfa1[_0x30cfa1['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x30cfa1[_0x30cfa1[_0x59924f(0x386)]=-0x1]=_0x59924f(0x386),_0x30cfa1))(Q||{}),F=(_0x5df77c=>(_0x5df77c[_0x5df77c[_0x59924f(0x2e4)]=0x0]='UNKNOWN_CMD',_0x5df77c[_0x5df77c[_0x59924f(0x193)]=0x1]=_0x59924f(0x193),_0x5df77c[_0x5df77c['JOIN']=0x2]='JOIN',_0x5df77c[_0x5df77c['LEAVE']=0x3]='LEAVE',_0x5df77c[_0x5df77c[_0x59924f(0x286)]=0x4]='INGEST',_0x5df77c[_0x5df77c[_0x59924f(0x41a)]=0x5]='HEARTBEAT',_0x5df77c[_0x5df77c[_0x59924f(0x345)]=0x6]=_0x59924f(0x345),_0x5df77c[_0x5df77c[_0x59924f(0x386)]=-0x1]='UNRECOGNIZED',_0x5df77c))(F||{}),Ee=(_0x524975=>(_0x524975[_0x524975['UNKNOWN_CODE']=0x0]=_0x59924f(0x3a8),_0x524975[_0x524975['OK']=0x1]='OK',_0x524975[_0x524975['FAIL']=0x2]=_0x59924f(0x3a9),_0x524975[_0x524975['JOIN_ROOM_FULL']=0x3e9]=_0x59924f(0x2e5),_0x524975[_0x524975[_0x59924f(0x3da)]=0x3ea]=_0x59924f(0x3da),_0x524975[_0x524975[_0x59924f(0x3d7)]=0x3eb]=_0x59924f(0x3d7),_0x524975[_0x524975[_0x59924f(0x418)]=0x3ec]=_0x59924f(0x418),_0x524975[_0x524975['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x524975))(Ee||{}),Ti=(_0x2ff5d3=>(_0x2ff5d3[_0x2ff5d3[_0x59924f(0x2ad)]=0x0]=_0x59924f(0x2ad),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x1ea)]=0x1]='HttpImport',_0x2ff5d3[_0x2ff5d3[_0x59924f(0x13e)]=0x2]=_0x59924f(0x13e),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x3a0)]=0x3]=_0x59924f(0x3a0),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x1c9)]=0x4]=_0x59924f(0x1c9),_0x2ff5d3[_0x2ff5d3[_0x59924f(0x386)]=-0x1]='UNRECOGNIZED',_0x2ff5d3))(Ti||{});const q=_0x59924f(0x1ed),Wt={};var se=(_0x2e2962=>(_0x2e2962[_0x59924f(0x26d)]=_0x59924f(0x26d),_0x2e2962[_0x59924f(0x16c)]='PERMISSION_DENIED',_0x2e2962['CONFLICT']='CONFLICT',_0x2e2962['CLOSE_ROOM']='CLOSE_ROOM',_0x2e2962[_0x59924f(0x3bf)]=_0x59924f(0x3bf),_0x2e2962[_0x59924f(0x3ba)]='SOCKET_FAILED_RETRY',_0x2e2962[_0x59924f(0x1e9)]='SOCKET_FAILED',_0x2e2962[_0x59924f(0x2f9)]='SUBMIT_CHANGESET_TIMEOUT',_0x2e2962))(se||{});class pe{constructor(){var _0x226a95=_0x59924f;N(this,_0x226a95(0x240),new _0x524606()),N(this,_0x226a95(0x1ae),this[_0x226a95(0x240)]['asObservable']());}[_0x59924f(0x1fa)](_0x1c3c65){var _0x4f7e3e=_0x59924f;this['_event$'][_0x4f7e3e(0x268)](_0x1c3c65);}}const Mn=_0x1a5277('univer-pro.collaboration-client.network-condition.service');function $n(_0x66cbcd){var _0x2ab016=_0x59924f,_0x15a833,_0x41f3fe,_0x42634e,_0x3dac67,_0xb13afc;const _0x42431a=_0x66cbcd[_0x2ab016(0x27b)],_0xedd05f=JSON[_0x2ab016(0x272)](_0x42431a);switch(_0xedd05f[_0x2ab016(0x2b6)]){case F['HEARTBEAT']:case F[_0x2ab016(0x193)]:{const _0x2460cf=_0xedd05f[_0x2ab016(0x24c)];return{..._0xedd05f,'data':_0x2460cf,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};}case F[_0x2ab016(0x2d4)]:{const _0x63d6bf=_0xedd05f[_0x2ab016(0x296)];return{..._0xedd05f,'data':_0x63d6bf,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};}case F[_0x2ab016(0x345)]:{const _0x207a4e=_0xedd05f[_0x2ab016(0x35b)];switch(_0x207a4e[_0x2ab016(0x35c)]){case _0x2872d1[_0x2ab016(0x23e)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x15a833=_0x207a4e[_0x2ab016(0x407)])==null?void 0x0:_0x15a833['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x1bd)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x41f3fe=_0x207a4e[_0x2ab016(0x38d)])==null?void 0x0:_0x41f3fe['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['NEW_CHANGESETS']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x42634e=_0x207a4e[_0x2ab016(0x25e)])==null?void 0x0:_0x42634e['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['CHANGESET_REJ']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0x3dac67=_0x207a4e[_0x2ab016(0x300)])==null?void 0x0:_0x3dac67['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['CHANGESET_SHOULD_RETRY']:return{..._0xedd05f,'data':{..._0x207a4e,'data':(_0xb13afc=_0x207a4e[_0x2ab016(0x297)])==null?void 0x0:_0xb13afc['cs']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['UPDATE_CURSOR']:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x22d)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x1ca)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x3db)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x372)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x1d5)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x266)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x1c0)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x36f)]:case _0x2872d1[_0x2ab016(0x2b9)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x15e)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x267)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e['liveShareNewHost']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x26f)]:return{..._0xedd05f,'data':_0x207a4e,'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1['COMMENT_UPDATE']:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x332)]},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};case _0x2872d1[_0x2ab016(0x13b)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x142)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x221)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e[_0x2ab016(0x26b)]},'cmd':_0xedd05f['cmd']};case _0x2872d1[_0x2ab016(0x134)]:return{..._0xedd05f,'data':{..._0x207a4e,'data':_0x207a4e['uniscriptRunEvent']},'cmd':_0xedd05f[_0x2ab016(0x2b6)]};default:return _0xedd05f;}}default:return _0xedd05f;}}function Hn(_0x18c58f){var _0x5e895d=_0x59924f;switch(_0x18c58f[_0x5e895d(0x2b6)]){case F[_0x5e895d(0x41a)]:case F[_0x5e895d(0x193)]:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f['routeKey']});case F[_0x5e895d(0x286)]:{let _0x3f9e09;switch(_0x18c58f['data'][_0x5e895d(0x35c)]){case _0x2872d1['UPDATE_CURSOR']:{_0x3f9e09={'eventID':_0x2872d1['UPDATE_CURSOR'],'updateCursorEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1['USERS_LEAVE']:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x372)],'leaveEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x1ca)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x1ca)],'joinEvent':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x266)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x266)],'liveShareNewHost':_0x18c58f[_0x5e895d(0x27b)]['data']};break;}case _0x2872d1[_0x5e895d(0x2b9)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x2b9)],'liveShareOperation':_0x18c58f['data'][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x267)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x267)],'liveShareTerminate':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x243)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x243)],'liveShareRequestHost':_0x18c58f['data'][_0x5e895d(0x27b)]};break;}case _0x2872d1[_0x5e895d(0x36f)]:{_0x3f9e09={'eventID':_0x2872d1[_0x5e895d(0x36f)]};break;}default:_0x3f9e09={'eventID':_0x18c58f[_0x5e895d(0x27b)][_0x5e895d(0x35c)]};}return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f['cmd'],'routeKey':_0x18c58f[_0x5e895d(0x36e)],'collaMsg':_0x3f9e09});}case F[_0x5e895d(0x2d4)]:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f['routeKey'],'joinReq':_0x18c58f[_0x5e895d(0x27b)]});case F['LEAVE']:return JSON[_0x5e895d(0x3ce)]({'cmd':_0x18c58f[_0x5e895d(0x2b6)],'routeKey':_0x18c58f[_0x5e895d(0x36e)],'leaveReq':_0x18c58f['data']});default:throw new Error(_0x5e895d(0x3ea));}}var kn=Object[_0x59924f(0x385)],jn=Object['getOwnPropertyDescriptor'],Bn=(_0xf56ee3,_0x26fd39,_0x3c539c,_0x31a276)=>{for(var _0x2ec2df=_0x31a276>0x1?void 0x0:_0x31a276?jn(_0x26fd39,_0x3c539c):_0x26fd39,_0x5edaf9=_0xf56ee3['length']-0x1,_0x1731b6;_0x5edaf9>=0x0;_0x5edaf9--)(_0x1731b6=_0xf56ee3[_0x5edaf9])&&(_0x2ec2df=(_0x31a276?_0x1731b6(_0x26fd39,_0x3c539c,_0x2ec2df):_0x1731b6(_0x2ec2df))||_0x2ec2df);return _0x31a276&&_0x2ec2df&&kn(_0x26fd39,_0x3c539c,_0x2ec2df),_0x2ec2df;},Ue=(_0x387018,_0x283803)=>(_0x32ed62,_0x2ac9a4)=>_0x283803(_0x32ed62,_0x2ac9a4,_0x387018);const Ci=_0x1a5277(_0x59924f(0x412));function Fn(_0x343154,_0x4786e8,_0x52982c){var _0x2cb471=_0x59924f;return _0x343154+'/'+_0x4786e8+_0x2cb471(0x3e2)+_0x52982c+_0x2cb471(0x122);}let Et=class extends _0xfc6e5{constructor(_0x4c8e06,_0x2a6e9a,_0x22e306,_0x16d840,_0x50e4be){var _0x5be68f=_0x59924f;super(),this[_0x5be68f(0x3c3)]=_0x4c8e06,this['_http']=_0x2a6e9a,this[_0x5be68f(0x3c1)]=_0x22e306,this[_0x5be68f(0x11d)]=_0x16d840,this[_0x5be68f(0x1b2)]=_0x50e4be;}[_0x59924f(0x35f)](_0x3657b1){var _0x384ce1=_0x59924f;const _0x1aad76=this['_injector'][_0x384ce1(0x13d)](_0x2bfe6b);if(!_0x1aad76)throw new Error(_0x384ce1(0x269));const _0x285c8f=_0x1aad76[_0x384ce1(0x35f)](_0x3657b1);if(!_0x285c8f)throw new Error(_0x384ce1(0x167));const _0x57c56d=new _0x598c54(),_0x8d508=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f['close$'][_0x384ce1(0x387)](_0x1b3822=>_0x8d508['next'](_0x1b3822))),_0x57c56d[_0x384ce1(0x393)](_0x22d2a9(()=>_0x8d508['complete']()));const _0x736d70=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f[_0x384ce1(0x265)]['subscribe'](_0xdd431a=>_0x736d70[_0x384ce1(0x268)](_0xdd431a))),_0x57c56d['add'](_0x22d2a9(()=>_0x736d70[_0x384ce1(0x3cd)]()));const _0x3530c9=new _0x524606();_0x57c56d[_0x384ce1(0x393)](_0x285c8f[_0x384ce1(0x117)][_0x384ce1(0x387)](_0x357d00=>{var _0x166c5d=_0x384ce1;const _0x5e66f3=$n(_0x357d00);_0x3530c9[_0x166c5d(0x268)](_0x5e66f3);})),_0x57c56d['add'](_0x22d2a9(()=>_0x3530c9['complete']()));let _0x493c1a;const _0x4a7563=()=>{var _0x3cc131=_0x384ce1;_0x736d70[_0x3cc131(0x268)](new Event(_0x3cc131(0x3c8))),_0x8d508['next'](new CloseEvent('connection\x20error')),_0x493c1a[_0x3cc131(0x1bc)]();};return _0x493c1a={'memberID':'','close$':_0x8d508[_0x384ce1(0x3b7)](),'error$':_0x736d70[_0x384ce1(0x3b7)](),'open$':_0x285c8f['open$'],'message$':_0x3530c9[_0x384ce1(0x3b7)](),'send':_0x4843a7=>{var _0x56e26e=_0x384ce1;if(_0x4843a7[_0x56e26e(0x2b6)]===F[_0x56e26e(0x286)]){if(_0x4843a7[_0x56e26e(0x27b)]['eventID']===_0x2872d1[_0x56e26e(0x172)]){this[_0x56e26e(0x1c1)](_0x493c1a,_0x4843a7[_0x56e26e(0x27b)])[_0x56e26e(0x2c0)](_0x4b50f7=>{var _0x26962c=_0x56e26e;this[_0x26962c(0x11d)]['error'](_0x4b50f7),_0x4a7563();});return;}if(_0x4843a7['data'][_0x56e26e(0x35c)]===_0x2872d1[_0x56e26e(0x39e)]){const _0xec7dd7=_0x4843a7[_0x56e26e(0x27b)];this[_0x56e26e(0x28a)](_0xec7dd7)[_0x56e26e(0x2fa)](_0x5422a=>{var _0x5d3224=_0x56e26e;_0x3530c9['next']({'cmd':F[_0x5d3224(0x345)],'code':Ee['OK'],'routeKey':_0xec7dd7[_0x5d3224(0x27b)][_0x5d3224(0x307)],'routeType':'','data':{'eventID':_0x2872d1['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x5422a}}});})[_0x56e26e(0x2c0)](_0x53b7b5=>{var _0x3a3c0f=_0x56e26e;this[_0x3a3c0f(0x11d)][_0x3a3c0f(0x289)](_0x53b7b5),_0x4a7563();});return;}}_0x285c8f['send'](Hn(_0x4843a7));},'close':()=>{var _0x1c4628=_0x384ce1;_0x285c8f[_0x1c4628(0x1bc)](),_0x57c56d['dispose']();}},_0x493c1a;}async[_0x59924f(0x1c1)](_0x39598e,_0x1774ac){var _0x35f0fb=_0x59924f,_0x8fb2da,_0x411401;const {unitType:_0x18801a,unitID:_0x27048e,changeset:_0x5bd3d4}=_0x1774ac[_0x35f0fb(0x27b)],_0x505405={'unitID':_0x27048e,'memberID':_0x39598e['memberID'],'type':_0x18801a,'changeset':_0x11e097(_0x5bd3d4)},_0x541b5d=this[_0x35f0fb(0x3c1)][_0x35f0fb(0x180)](Un),_0x4d407e=this[_0x35f0fb(0x3c1)][_0x35f0fb(0x180)](q),_0x4a0c11=Fn((_0x411401=(_0x8fb2da=_0x4d407e==null?void 0x0:_0x4d407e[_0x35f0fb(0x20a)])!=null?_0x8fb2da:_0x541b5d)!=null?_0x411401:An,_0x18801a,_0x27048e);try{await this[_0x35f0fb(0x1c5)]['post'](_0x4a0c11,{'body':_0x505405});}catch(_0x2b6b54){throw this['_logService']['error'](_0x35f0fb(0x212),_0x35f0fb(0x390)),_0x2b6b54;}}async['_fetchMissChangesets'](_0x2a88ca){var _0x93a9f8=_0x59924f;const {unitID:_0xc3a941,from:_0x4e26af,to:_0x2e93e0,unitType:_0x452ad2}=_0x2a88ca[_0x93a9f8(0x27b)];return(await this['_snapshotServerService'][_0x93a9f8(0x1d2)]({'metadata':void 0x0},{'unitID':_0xc3a941,'type':_0x452ad2,'from':_0x4e26af,'to':_0x2e93e0}))[_0x93a9f8(0x3e7)];}};Et=Bn([Ue(0x0,_0x1bc764(_0x305299)),Ue(0x1,_0x1bc764(_0x3edb0a)),Ue(0x2,_0x30c313),Ue(0x3,_0x54d1e0),Ue(0x4,_0x52101f)],Et);const Vn=_0x59924f(0x30e);function Gn(_0x48dc0b){var _0x496c14=_0x59924f;return JSON['stringify'](_0x48dc0b)[_0x496c14(0x351)];}class Ri{constructor(){var _0x3cd0ae=_0x59924f;N(this,'_commentUpdate$',new _0x524606()),N(this,_0x3cd0ae(0x121),this[_0x3cd0ae(0x295)]['asObservable']());}[_0x59924f(0x251)](_0x3a2e32){this['_commentUpdate$']['next'](_0x3a2e32);}}var Wn=Object[_0x59924f(0x385)],Kn=Object[_0x59924f(0x33e)],Yn=(_0x253189,_0xc3132d,_0x31278b,_0x14eec8)=>{var _0x32d0d7=_0x59924f;for(var _0x376f23=_0x14eec8>0x1?void 0x0:_0x14eec8?Kn(_0xc3132d,_0x31278b):_0xc3132d,_0x4deb91=_0x253189[_0x32d0d7(0x351)]-0x1,_0x50fa5d;_0x4deb91>=0x0;_0x4deb91--)(_0x50fa5d=_0x253189[_0x4deb91])&&(_0x376f23=(_0x14eec8?_0x50fa5d(_0xc3132d,_0x31278b,_0x376f23):_0x50fa5d(_0x376f23))||_0x376f23);return _0x14eec8&&_0x376f23&&Wn(_0xc3132d,_0x31278b,_0x376f23),_0x376f23;},Kt=(_0x517b78,_0x2ab492)=>(_0x10c1ed,_0x59ed25)=>_0x2ab492(_0x10c1ed,_0x59ed25,_0x517b78);let xe=class extends _0xfc6e5{constructor(_0x5f1798,_0x418a3b){var _0x123fa6=_0x59924f;super(),N(this,_0x123fa6(0x1cc),new Map()),N(this,_0x123fa6(0x3d6),new _0x524606()),(this[_0x123fa6(0x2d7)]=_0x5f1798,this[_0x123fa6(0x3d5)]=_0x418a3b,this['disposeWithMe'](_0x4166c5(this[_0x123fa6(0x2d7)][_0x123fa6(0x2ca)](_0x51bed3['UNIVER_SHEET'])[_0x123fa6(0x25b)](_0x23545a(_0x278231=>_0x278231[_0x123fa6(0x201)]())),this[_0x123fa6(0x2d7)][_0x123fa6(0x2ca)](_0x51bed3[_0x123fa6(0x3fa)])[_0x123fa6(0x25b)](_0x23545a(_0x2aa298=>_0x2aa298['getUnitId']())),this['_univerInstanceService'][_0x123fa6(0x2ca)](_0x51bed3['UNIVER_SLIDE'])[_0x123fa6(0x25b)](_0x23545a(_0x5e588d=>_0x5e588d[_0x123fa6(0x201)]())))[_0x123fa6(0x387)](_0x11b2fa=>this['_removeRoom'](_0x11b2fa))));}[_0x59924f(0x225)](_0x2ae903){var _0x13edf7=_0x59924f;return this[_0x13edf7(0x1cc)]['has'](_0x2ae903)?_0x815db8(this[_0x13edf7(0x1cc)][_0x13edf7(0x13d)](_0x2ae903)):this[_0x13edf7(0x3d6)][_0x13edf7(0x25b)](_0x23545a(_0x10fc8d=>{var _0x4357cb=_0x13edf7;if(_0x10fc8d===_0x2ae903)return this[_0x4357cb(0x1cc)][_0x4357cb(0x13d)](_0x10fc8d);}));}['setCurrentUser'](_0x5cd177){var _0x5c86f4=_0x59924f;this[_0x5c86f4(0x3d5)][_0x5c86f4(0x1d3)](_0x5cd177);}[_0x59924f(0x38a)](){var _0x12ac00=_0x59924f;return this['_userManagerService'][_0x12ac00(0x38a)]();}[_0x59924f(0x37d)](_0x2095e3,_0x3f0110){var _0x1fb05d=_0x59924f;let _0x371648=this[_0x1fb05d(0x1cc)]['get'](_0x2095e3);_0x371648||(_0x371648=new qn(),this[_0x1fb05d(0x1cc)][_0x1fb05d(0x2d3)](_0x2095e3,_0x371648),this['_roomCreated$'][_0x1fb05d(0x268)](_0x2095e3)),_0x371648[_0x1fb05d(0x37d)](_0x3f0110);}['removeMember'](_0x18465c,_0xd7769c){var _0x4840e0=_0x59924f;const _0x372b9b=this[_0x4840e0(0x1cc)][_0x4840e0(0x13d)](_0x18465c);_0x372b9b&&_0x372b9b[_0x4840e0(0x3b5)](_0xd7769c);}[_0x59924f(0x1e1)](_0x2ad5ac){return this['_roomMembers']['get'](_0x2ad5ac);}[_0x59924f(0x19e)](_0x1f9a56,_0x59be4c){var _0x481806=_0x59924f;const _0x5dbc68=this[_0x481806(0x1cc)][_0x481806(0x13d)](_0x1f9a56);if(_0x5dbc68)return _0x5dbc68[_0x481806(0x19e)](_0x59be4c);}['_removeRoom'](_0x424612){var _0x230baa=_0x59924f;const _0x16c42d=this[_0x230baa(0x1cc)]['get'](_0x424612);_0x16c42d&&(_0x16c42d[_0x230baa(0x2c6)](),this[_0x230baa(0x1cc)][_0x230baa(0x255)](_0x424612));}['dispose'](){var _0x212484=_0x59924f;this['_roomMembers'][_0x212484(0x3be)](_0x4c8ef4=>_0x4c8ef4[_0x212484(0x2c6)]()),this[_0x212484(0x1cc)][_0x212484(0x392)](),this[_0x212484(0x3d6)][_0x212484(0x3cd)]();}};xe=Yn([Kt(0x0,_0x4844be),Kt(0x1,_0x1bc764(_0x3016f9))],xe);class qn extends _0xfc6e5{constructor(){var _0x58e3da=_0x59924f;super(...arguments),N(this,_0x58e3da(0x3bb),new Map()),N(this,_0x58e3da(0x2d1),new _0x1684f8(this[_0x58e3da(0x3bb)])),N(this,_0x58e3da(0x423),this[_0x58e3da(0x2d1)][_0x58e3da(0x3b7)]());}[_0x59924f(0x2c6)](){var _0x53b6ea=_0x59924f;this[_0x53b6ea(0x3bb)][_0x53b6ea(0x392)]();}['updateMember'](_0xcbd52b){var _0x106634=_0x59924f;this[_0x106634(0x3bb)][_0x106634(0x2d3)](_0xcbd52b['memberID'],_0xcbd52b),this['_emitMembers']();}['removeMember'](_0x526684){var _0x1e0aea=_0x59924f;this[_0x1e0aea(0x3bb)][_0x1e0aea(0x255)](_0x526684);}[_0x59924f(0x19e)](_0x39e335){var _0x255ac3=_0x59924f;return this[_0x255ac3(0x3bb)][_0x255ac3(0x13d)](_0x39e335);}[_0x59924f(0x358)](){var _0x2ad6b0=_0x59924f;return Array['from'](this[_0x2ad6b0(0x3bb)][_0x2ad6b0(0x1df)]());}[_0x59924f(0x1b8)](){var _0x19cdf9=_0x59924f;this['_members$'][_0x19cdf9(0x268)](this['_members']);}}var zn=Object[_0x59924f(0x385)],Jn=Object['getOwnPropertyDescriptor'],Xn=(_0x5ea19c,_0x568a8a,_0x2bbeb7,_0x34aa9d)=>{var _0x37e89a=_0x59924f;for(var _0x433dfd=_0x34aa9d>0x1?void 0x0:_0x34aa9d?Jn(_0x568a8a,_0x2bbeb7):_0x568a8a,_0x16d7bd=_0x5ea19c[_0x37e89a(0x351)]-0x1,_0x2df4a0;_0x16d7bd>=0x0;_0x16d7bd--)(_0x2df4a0=_0x5ea19c[_0x16d7bd])&&(_0x433dfd=(_0x34aa9d?_0x2df4a0(_0x568a8a,_0x2bbeb7,_0x433dfd):_0x2df4a0(_0x433dfd))||_0x433dfd);return _0x34aa9d&&_0x433dfd&&zn(_0x568a8a,_0x2bbeb7,_0x433dfd),_0x433dfd;},me=(_0x5a6e49,_0x32d217)=>(_0x29b3b3,_0x3323cb)=>_0x32d217(_0x29b3b3,_0x3323cb,_0x5a6e49),Te=(_0x693c7c=>(_0x693c7c[_0x693c7c['IDLE']=0x0]=_0x59924f(0x40b),_0x693c7c[_0x693c7c['JOINING']=0x1]='JOINING',_0x693c7c[_0x693c7c[_0x59924f(0x39c)]=0x2]=_0x59924f(0x39c),_0x693c7c[_0x693c7c[_0x59924f(0x321)]=0x3]=_0x59924f(0x321),_0x693c7c))(Te||{});const Yt={[Ee['FAIL']]:_0x59924f(0x2f0),[Ee['JOIN_ROOM_FULL']]:_0x59924f(0x329),[Ee['JOIN_ROOM_NOT_EXISTS']]:_0x59924f(0x25f),[Ee[_0x59924f(0x3d7)]]:'session.room-permission-denied',[Ee[_0x59924f(0x418)]]:'session.room-cnt-exceeds'};let It=class extends _0x2d45c2{constructor(_0x265d3a,_0x254f8e,_0x1f5f73,_0x149e17,_0x2d25fa,_0x25987f,_0x5542d9,_0x468715,_0x216d44){var _0xb1b37a=_0x59924f;super(),N(this,_0xb1b37a(0x17f),new _0x1684f8(0x0)),N(this,_0xb1b37a(0x406),this[_0xb1b37a(0x17f)][_0xb1b37a(0x3b7)]()),N(this,_0xb1b37a(0x240),new _0x524606()),N(this,_0xb1b37a(0x1ae),this[_0xb1b37a(0x240)][_0xb1b37a(0x3b7)]()),N(this,'_socket'),N(this,_0xb1b37a(0x22e)),N(this,_0xb1b37a(0x30d)),N(this,'_shouldReportTelemetry',!0x1),N(this,_0xb1b37a(0x1f1),null),(this[_0xb1b37a(0x11e)]=_0x265d3a,this['_logService']=_0x1f5f73,this[_0xb1b37a(0x3c1)]=_0x149e17,this[_0xb1b37a(0x14f)]=_0x2d25fa,this[_0xb1b37a(0x364)]=_0x25987f,this['_commentService']=_0x5542d9,this[_0xb1b37a(0x146)]=_0x468715,this[_0xb1b37a(0x259)]=_0x216d44,this['_shouldReportTelemetry']=!!this[_0xb1b37a(0x259)],_0x254f8e[_0xb1b37a(0x25b)](_0x3b11d7(this[_0xb1b37a(0x217)]))['subscribe'](_0x3fdf5b=>{var _0x5976ee=_0xb1b37a,_0x10765e;typeof _0x3fdf5b>'u'||(this[_0x5976ee(0x338)]=_0x3fdf5b,_0x3fdf5b?(this[_0x5976ee(0x1f4)](_0x3fdf5b),this[_0x5976ee(0x22e)]=_0x3fdf5b['message$'][_0x5976ee(0x387)](_0x38936b=>{var _0xd65786=_0x5976ee;_0x38936b[_0xd65786(0x36e)]===this['_unitID']&&this[_0xd65786(0x34d)](_0x38936b);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x5976ee(0x17f)][_0x5976ee(0x268)](0x2),(_0x10765e=this['_socketMessageSubscription'])==null||_0x10765e[_0x5976ee(0x1ee)](),this[_0x5976ee(0x22e)]=null));}));}get['sessionStatus'](){var _0x340c05=_0x59924f;return this[_0x340c05(0x17f)][_0x340c05(0x153)]();}['getMemberID'](){var _0x3d8f0b=_0x59924f,_0x5c0c8e,_0x575075;return(_0x575075=(_0x5c0c8e=this[_0x3d8f0b(0x338)])==null?void 0x0:_0x5c0c8e[_0x3d8f0b(0x331)])!=null?_0x575075:null;}['dispose'](){var _0x5bb200=_0x59924f;super[_0x5bb200(0x2c6)](),this[_0x5bb200(0x217)][_0x5bb200(0x268)](),this[_0x5bb200(0x217)][_0x5bb200(0x3cd)]();}['close'](){var _0x547ec6=_0x59924f,_0x288870,_0x5aba3f;this[_0x547ec6(0x2cf)](),(_0x288870=this[_0x547ec6(0x338)])==null||_0x288870[_0x547ec6(0x3e0)]({'cmd':F[_0x547ec6(0x203)],'data':{'roomID':this[_0x547ec6(0x11e)]}}),(_0x5aba3f=this[_0x547ec6(0x338)])==null||_0x5aba3f[_0x547ec6(0x1bc)](),this[_0x547ec6(0x240)][_0x547ec6(0x3cd)](),this[_0x547ec6(0x17f)]['complete'](),this[_0x547ec6(0x2c6)]();}[_0x59924f(0x34d)](_0x163fbd){var _0x64fbf5=_0x59924f;_0x163fbd[_0x64fbf5(0x2b6)]===F['JOIN']?this[_0x64fbf5(0x299)](_0x163fbd):_0x163fbd[_0x64fbf5(0x2b6)]===F[_0x64fbf5(0x345)]&&this[_0x64fbf5(0x394)](_0x163fbd);}['_joinRoom'](_0x6b3827){var _0x21d56d=_0x59924f;this[_0x21d56d(0x17f)][_0x21d56d(0x268)](0x1),_0x6b3827[_0x21d56d(0x3e0)]({'cmd':F[_0x21d56d(0x2d4)],'routeKey':this[_0x21d56d(0x11e)],'routeType':'','data':{'rooms':[{'roomID':this[_0x21d56d(0x11e)]}]}});}[_0x59924f(0x299)](_0x1ffdaa){var _0x5a1c35=_0x59924f,_0x571c24;if(_0x1ffdaa[_0x5a1c35(0x3e9)]in Yt){this[_0x5a1c35(0x146)]['emitEvent']({'id':se[_0x5a1c35(0x3bf)],'data':Yt[_0x1ffdaa[_0x5a1c35(0x3e9)]]}),this['_sessionStatus$'][_0x5a1c35(0x268)](0x2);return;}this[_0x5a1c35(0x17f)][_0x5a1c35(0x268)](0x3);const _0x55fe16=(_0x571c24=_0x1ffdaa[_0x5a1c35(0x27b)][_0x5a1c35(0x2f6)][this[_0x5a1c35(0x11e)]])==null?void 0x0:_0x571c24[_0x5a1c35(0x3a5)];_0x55fe16&&_0x55fe16['forEach'](_0x3f8407=>this[_0x5a1c35(0x364)][_0x5a1c35(0x37d)](this[_0x5a1c35(0x11e)],_0x3f8407));}['_onRecvEvent'](_0x5f4eba){var _0x9d8122=_0x59924f;try{const _0x1d70d4=_0x5f4eba[_0x9d8122(0x27b)];switch(_0x1d70d4[_0x9d8122(0x35c)]){case _0x2872d1[_0x9d8122(0x1ca)]:this[_0x9d8122(0x17b)](_0x1d70d4),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x372)]:this[_0x9d8122(0x2c8)](_0x1d70d4),this['_event$']['next'](_0x1d70d4);break;case _0x2872d1['CHANGESET_ACK']:case _0x2872d1[_0x9d8122(0x247)]:this[_0x9d8122(0x3a3)](),this[_0x9d8122(0x315)](),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x26f)]:this[_0x9d8122(0x11d)][_0x9d8122(0x289)](_0x9d8122(0x414)+JSON['stringify'](_0x1d70d4)),this[_0x9d8122(0x240)][_0x9d8122(0x268)](_0x1d70d4);break;case _0x2872d1[_0x9d8122(0x3bc)]:this[_0x9d8122(0x261)][_0x9d8122(0x251)](_0x1d70d4[_0x9d8122(0x27b)]),this['_event$'][_0x9d8122(0x268)](_0x1d70d4);break;default:this['_event$']['next'](_0x1d70d4);}}catch(_0x18810d){this[_0x9d8122(0x11d)][_0x9d8122(0x289)](_0x18810d,_0x5f4eba);}}[_0x59924f(0x17b)](_0x168d9f){var _0x12e466=_0x59924f;this['_memberService'][_0x12e466(0x37d)](this[_0x12e466(0x11e)],_0x168d9f[_0x12e466(0x27b)]);}[_0x59924f(0x2c8)](_0x213aa5){var _0x397a53=_0x59924f;this[_0x397a53(0x364)][_0x397a53(0x3b5)](this[_0x397a53(0x11e)],_0x213aa5[_0x397a53(0x27b)][_0x397a53(0x331)]);}async[_0x59924f(0x3e0)](_0x104432,_0x524ec7){var _0x231d98=_0x59924f;if(this[_0x231d98(0x1aa)]!==0x3||!this[_0x231d98(0x338)])throw new Error(_0x231d98(0x32d));try{_0x104432[_0x231d98(0x35c)]===_0x2872d1[_0x231d98(0x172)]&&(this[_0x231d98(0x233)](),this[_0x231d98(0x249)](_0x104432)),this[_0x231d98(0x338)][_0x231d98(0x3e0)]({'cmd':F[_0x231d98(0x286)],'routeKey':_0x524ec7,'routeType':'','data':_0x104432});}catch(_0x57a8c4){this[_0x231d98(0x11d)]['error'](_0x57a8c4);}}[_0x59924f(0x233)](){var _0xede0e3=_0x59924f,_0xe9529d;this[_0xede0e3(0x30d)]=setTimeout(()=>{var _0x1f03cd=_0xede0e3;this[_0x1f03cd(0x30d)]=null,this['_collaborationUIEventService'][_0x1f03cd(0x1fa)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0xe9529d=this[_0xede0e3(0x3c1)][_0xede0e3(0x180)](Si))!=null?_0xe9529d:Ei);}[_0x59924f(0x315)](){var _0x266142=_0x59924f;this[_0x266142(0x30d)]&&(clearTimeout(this[_0x266142(0x30d)]),this[_0x266142(0x30d)]=null);}[_0x59924f(0x249)](_0xc5b944){var _0x45576a=_0x59924f;if(!this[_0x45576a(0x3b0)])return;const {data:_0x58738f}=_0xc5b944,{unitID:_0x5aef7b,changeset:_0x1e29f6}=_0x58738f,{mutations:_0x1c27d0,type:_0x2f8a07}=_0x1e29f6;this[_0x45576a(0x1f1)]={'unitId':_0x5aef7b,'type':_0x2f8a07,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Gn(_0x1c27d0)};}[_0x59924f(0x3a3)](){var _0x79866b=_0x59924f;if(this['_shouldReportTelemetry']){if(!this[_0x79866b(0x1f1)]){this[_0x79866b(0x11d)][_0x79866b(0x289)](_0x79866b(0x212),_0x79866b(0x22b));return;}this[_0x79866b(0x1f1)][_0x79866b(0x31d)]=performance[_0x79866b(0x290)](),this['_telemetryInfo'][_0x79866b(0x21e)]=this[_0x79866b(0x1f1)][_0x79866b(0x31d)]-this[_0x79866b(0x1f1)][_0x79866b(0x191)],this['_telemetryService'][_0x79866b(0x2c2)](Vn,this[_0x79866b(0x1f1)]),this[_0x79866b(0x1f1)]=null;}}[_0x59924f(0x2cf)](){var _0x3c1779=_0x59924f;this[_0x3c1779(0x1f1)]=null;}};It=Xn([me(0x2,_0x54d1e0),me(0x3,_0x30c313),me(0x4,_0x1bc764(_0x436289)),me(0x5,_0x1bc764(xe)),me(0x6,_0x1bc764(Ri)),me(0x7,_0x1bc764(pe)),me(0x8,_0x4e682c(_0x235d78))],It);var Zn=Object[_0x59924f(0x385)],Qn=Object['getOwnPropertyDescriptor'],er=(_0x11674b,_0x52785d,_0x473409,_0x1c4a6b)=>{var _0x1c946e=_0x59924f;for(var _0x2878b9=_0x1c4a6b>0x1?void 0x0:_0x1c4a6b?Qn(_0x52785d,_0x473409):_0x52785d,_0x638c5c=_0x11674b[_0x1c946e(0x351)]-0x1,_0x312100;_0x638c5c>=0x0;_0x638c5c--)(_0x312100=_0x11674b[_0x638c5c])&&(_0x2878b9=(_0x1c4a6b?_0x312100(_0x52785d,_0x473409,_0x2878b9):_0x312100(_0x2878b9))||_0x2878b9);return _0x1c4a6b&&_0x2878b9&&Zn(_0x52785d,_0x473409,_0x2878b9),_0x2878b9;},ge=(_0x4b29d3,_0x1fb0c3)=>(_0x3701cc,_0x569bec)=>_0x1fb0c3(_0x3701cc,_0x569bec,_0x4b29d3);let Le=class extends _0xfc6e5{constructor(_0x41d08d,_0x36fb9e,_0x5d89dd,_0x44ca28,_0x4a3b64,_0x2a5c16,_0x2015fa){var _0x5adb54=_0x59924f;super(),N(this,_0x5adb54(0x39a),new _0x1684f8(void 0x0)),N(this,'socket$',this['_socket$'][_0x5adb54(0x3b7)]()),N(this,_0x5adb54(0x1e3),null),N(this,'_sessions',new Map()),N(this,'_status$',new _0x1684f8(Te[_0x5adb54(0x40b)])),N(this,_0x5adb54(0x402),this[_0x5adb54(0x1ff)][_0x5adb54(0x3b7)]()),N(this,_0x5adb54(0x2a8),!0x1),N(this,_0x5adb54(0x41b)),N(this,_0x5adb54(0x1eb),0x0),N(this,_0x5adb54(0x190)),N(this,_0x5adb54(0x419)),(this[_0x5adb54(0x3c3)]=_0x41d08d,this[_0x5adb54(0x11d)]=_0x36fb9e,this['_configService']=_0x5d89dd,this[_0x5adb54(0x328)]=_0x44ca28,this[_0x5adb54(0x252)]=_0x4a3b64,this['_collaborationUIEventService']=_0x2a5c16,this[_0x5adb54(0x3b3)]=_0x2015fa,this['_listenToNetworkCondition']());}get[_0x59924f(0x338)](){var _0x1e3c5e=_0x59924f;return this[_0x1e3c5e(0x39a)]['getValue']();}[_0x59924f(0x32b)](){var _0x4c1a97=_0x59924f;this[_0x4c1a97(0x3b3)]&&this['disposeWithMe'](this[_0x4c1a97(0x3b3)][_0x4c1a97(0x14e)][_0x4c1a97(0x387)](_0x450294=>{var _0x1611e3=_0x4c1a97;_0x450294&&!this[_0x1611e3(0x338)]&&this[_0x1611e3(0x1a1)](),_0x450294||this[_0x1611e3(0x1f3)]();}));}[_0x59924f(0x2c6)](){var _0x226c89=_0x59924f;super[_0x226c89(0x2c6)](),this[_0x226c89(0x2a4)][_0x226c89(0x3be)](_0x541140=>_0x541140[_0x226c89(0x2c6)]()),this[_0x226c89(0x2a4)][_0x226c89(0x392)](),this[_0x226c89(0x1ff)][_0x226c89(0x3cd)]();}async['requireSession'](_0x5f0257){var _0x2c6c22=_0x59924f;if(this['_sessions'][_0x2c6c22(0x2bd)](_0x5f0257))return this[_0x2c6c22(0x2a4)][_0x2c6c22(0x13d)](_0x5f0257);this[_0x2c6c22(0x2df)]();const _0x1e9b0c=this[_0x2c6c22(0x3c3)][_0x2c6c22(0x151)](It,_0x5f0257,this[_0x2c6c22(0x39a)][_0x2c6c22(0x3b7)]());return this['_sessions']['set'](_0x5f0257,_0x1e9b0c),_0x1e9b0c;}[_0x59924f(0x1de)](_0x5b67dc){var _0x221533=_0x59924f,_0x4f1062;const _0x1e4bff=this[_0x221533(0x2a4)][_0x221533(0x13d)](_0x5b67dc);_0x1e4bff&&(this[_0x221533(0x2a4)][_0x221533(0x255)](_0x5b67dc),_0x1e4bff[_0x221533(0x1bc)]()),this[_0x221533(0x2a4)][_0x221533(0x1ba)]||(_0x4f1062=this['_socket'])==null||_0x4f1062['close']();}[_0x59924f(0x1a1)](){var _0x4ca56a=_0x59924f;this[_0x4ca56a(0x1eb)]=0x0,this[_0x4ca56a(0x41b)]!=null&&(clearTimeout(this[_0x4ca56a(0x41b)]),this['_retryConnectingTimer']=null),this[_0x4ca56a(0x15f)]();}async[_0x59924f(0x12a)](){var _0x26cf8a=_0x59924f,_0x5df8ee,_0x45806e,_0x16a404;const _0x72a6dc=this[_0x26cf8a(0x3c1)][_0x26cf8a(0x180)](q),_0x56c851=(_0x5df8ee=_0x72a6dc==null?void 0x0:_0x72a6dc['wsSessionTicketUrl'])!=null?_0x5df8ee:On;return(_0x16a404=(_0x45806e=(await this[_0x26cf8a(0x252)]['get'](_0x56c851,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x45806e[_0x26cf8a(0x1f6)])!=null?_0x16a404:'';}['_createSocketURL'](_0x42617a){var _0x2e0d4f=_0x59924f,_0x50d29f,_0x5c659a;const _0x37ea3c=this[_0x2e0d4f(0x3c1)][_0x2e0d4f(0x180)](Rn),_0x2437be=this[_0x2e0d4f(0x3c1)]['getConfig'](q),_0x18f6b3=(_0x5c659a=(_0x50d29f=_0x2437be==null?void 0x0:_0x2437be[_0x2e0d4f(0x3ae)])!=null?_0x50d29f:_0x37ea3c)!=null?_0x5c659a:bn,_0x11d07b=typeof window>'u'?new URL(_0x18f6b3):new URL(_0x18f6b3,window['location'][_0x2e0d4f(0x2ba)]);_0x11d07b[_0x2e0d4f(0x3f2)][_0x2e0d4f(0x2d3)](_0x2e0d4f(0x1e2),_0x42617a);const _0x138b6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2e0d4f(0x210)]);return _0x138b6f[_0x2e0d4f(0x13d)](_0x2e0d4f(0x327))&&_0x11d07b[_0x2e0d4f(0x3f2)][_0x2e0d4f(0x2d3)](_0x2e0d4f(0x327),_0x138b6f[_0x2e0d4f(0x13d)](_0x2e0d4f(0x327))),_0x11d07b[_0x2e0d4f(0x1b1)]();}async['_createSocket'](){var _0x467344=_0x59924f;const _0x543c14=await this[_0x467344(0x12a)](),_0x53b475=this[_0x467344(0x16b)](_0x543c14),_0x184e70=this[_0x467344(0x328)][_0x467344(0x35f)](_0x53b475);return this['_candidateSocket']=_0x184e70,_0x184e70;}async[_0x59924f(0x2df)](){var _0x472ba5=_0x59924f,_0x266bdc,_0x7c9c4f;try{const _0x2516fc=(_0x7c9c4f=(_0x266bdc=this[_0x472ba5(0x338)])!=null?_0x266bdc:this['_candidateSocket'])!=null?_0x7c9c4f:await this[_0x472ba5(0x368)]();if(_0x2516fc){const _0x151231=_0x2516fc[_0x472ba5(0x3e0)];_0x2516fc[_0x472ba5(0x3e0)]=_0x4d9262=>(this['_rescheduleHeartbeat'](),_0x151231[_0x472ba5(0x2dc)](_0x2516fc,[_0x4d9262])),_0x2516fc['message$'][_0x472ba5(0x387)](_0x43f99c=>this[_0x472ba5(0x30f)](_0x2516fc,_0x43f99c)),_0x2516fc['error$']['pipe'](_0x26095a(0x1))[_0x472ba5(0x387)](_0x3fbc21=>this[_0x472ba5(0x11d)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x3fbc21)),_0x2516fc[_0x472ba5(0x1bf)][_0x472ba5(0x25b)](_0x26095a(0x1))[_0x472ba5(0x387)](()=>{var _0x3609a4=_0x472ba5;this[_0x3609a4(0x28d)](_0x2516fc);}),_0x2516fc[_0x472ba5(0x12c)][_0x472ba5(0x25b)](_0x26095a(0x1))[_0x472ba5(0x387)](_0x48a224=>{var _0x2ccdbe=_0x472ba5;this['_logService'][_0x2ccdbe(0x1d4)](_0x2ccdbe(0x168),_0x2ccdbe(0x164),_0x48a224),this[_0x2ccdbe(0x17e)]();});}}catch(_0x513ff9){this[_0x472ba5(0x11d)][_0x472ba5(0x289)](_0x513ff9),this['_onConnectionFailed']();}}[_0x59924f(0x28d)](_0x2da49a){var _0x316949=_0x59924f;this[_0x316949(0x11d)]['debug']('[CollaborationSessionService]',_0x316949(0x226)),_0x2da49a[_0x316949(0x3e0)]({'cmd':F[_0x316949(0x193)]}),this[_0x316949(0x158)]();}[_0x59924f(0x1f3)](){var _0x3d869f=_0x59924f;this[_0x3d869f(0x2a8)]=!0x1,this[_0x3d869f(0x1e3)]=null,this[_0x3d869f(0x1ff)][_0x3d869f(0x268)](Te['OFFLINE']),this[_0x3d869f(0x39a)][_0x3d869f(0x268)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x59924f(0x17e)](){var _0x2d8f21=_0x59924f,_0x46a68d;this[_0x2d8f21(0x1f3)](),this['_retryCount']<((_0x46a68d=this[_0x2d8f21(0x3c1)][_0x2d8f21(0x180)](Pn))!=null?_0x46a68d:wn)?(this['_collaborationUIEventService'][_0x2d8f21(0x1fa)]({'id':se[_0x2d8f21(0x3ba)]}),this[_0x2d8f21(0x15f)]()):this['_collaborationUIEventService']['emitEvent']({'id':se[_0x2d8f21(0x1e9)]});}[_0x59924f(0x15f)](){var _0x335ba9=_0x59924f,_0x2b91d8;const _0xe68edc=this['_retryCount'],_0x9c25f1=this[_0x335ba9(0x3c1)][_0x335ba9(0x180)](q),_0x52b58b=_0xe68edc===0x0?0x0:((_0x2b91d8=_0x9c25f1==null?void 0x0:_0x9c25f1['retryConnectingInterval'])!=null?_0x2b91d8:Dn)*0x2**_0xe68edc;this[_0x335ba9(0x41b)]=setTimeout(()=>{var _0x2e7a26=_0x335ba9;clearTimeout(this['_retryConnectingTimer']),this[_0x2e7a26(0x41b)]=null,this[_0x2e7a26(0x2df)]();},_0x52b58b),this[_0x335ba9(0x1eb)]+=0x1;}[_0x59924f(0x30f)](_0x5b0d72,_0x4f4fa7){var _0x281863=_0x59924f;const {cmd:_0x2775c2}=_0x4f4fa7;_0x2775c2===F[_0x281863(0x193)]&&!this[_0x281863(0x2a8)]&&(_0x5b0d72['memberID']=_0x4f4fa7[_0x281863(0x27b)]['memberID'],this[_0x281863(0x39a)][_0x281863(0x268)](_0x5b0d72),this[_0x281863(0x1ff)][_0x281863(0x268)](Te['ONLINE']),this[_0x281863(0x2a8)]=!0x0,this[_0x281863(0x1e3)]=null),_0x2775c2===F[_0x281863(0x41a)]&&this[_0x281863(0x403)](),this['_rescheduleHeartbeat']();}[_0x59924f(0x158)](){var _0x182ac8=_0x59924f,_0x4edb92;this[_0x182ac8(0x3e4)](),this[_0x182ac8(0x190)]=setTimeout(()=>this[_0x182ac8(0x3f3)](),(_0x4edb92=this[_0x182ac8(0x3c1)][_0x182ac8(0x180)](yn))!=null?_0x4edb92:Nn);}[_0x59924f(0x3f3)](){var _0x5dd984=_0x59924f;this[_0x5dd984(0x338)][_0x5dd984(0x3e0)]({'cmd':F[_0x5dd984(0x41a)]}),this[_0x5dd984(0x404)]();}[_0x59924f(0x404)](){var _0x41edbb=_0x59924f,_0x5b2e64;this[_0x41edbb(0x419)]=setTimeout(()=>this[_0x41edbb(0x17e)](),(_0x5b2e64=this[_0x41edbb(0x3c1)][_0x41edbb(0x180)](Si))!=null?_0x5b2e64:Ei);}['_clearHeartbeatTimer'](){var _0x1037a3=_0x59924f;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x1037a3(0x190)]=null);}[_0x59924f(0x403)](){var _0x3be0b6=_0x59924f;this[_0x3be0b6(0x419)]!=null&&(clearTimeout(this[_0x3be0b6(0x419)]),this[_0x3be0b6(0x419)]=null);}};Le=er([ge(0x0,_0x1bc764(_0x305299)),ge(0x1,_0x54d1e0),ge(0x2,_0x30c313),ge(0x3,Ci),ge(0x4,_0x1bc764(_0x3edb0a)),ge(0x5,_0x1bc764(pe)),ge(0x6,_0x4e682c(Mn))],Le);const V=[];for(let n=0x0;n<0x100;++n)V[_0x59924f(0x1f7)]((n+0x100)['toString'](0x10)[_0x59924f(0x2aa)](0x1));function tr(_0x7be615,_0x2d4def=0x0){var _0x121ea3=_0x59924f;return(V[_0x7be615[_0x2d4def+0x0]]+V[_0x7be615[_0x2d4def+0x1]]+V[_0x7be615[_0x2d4def+0x2]]+V[_0x7be615[_0x2d4def+0x3]]+'-'+V[_0x7be615[_0x2d4def+0x4]]+V[_0x7be615[_0x2d4def+0x5]]+'-'+V[_0x7be615[_0x2d4def+0x6]]+V[_0x7be615[_0x2d4def+0x7]]+'-'+V[_0x7be615[_0x2d4def+0x8]]+V[_0x7be615[_0x2d4def+0x9]]+'-'+V[_0x7be615[_0x2d4def+0xa]]+V[_0x7be615[_0x2d4def+0xb]]+V[_0x7be615[_0x2d4def+0xc]]+V[_0x7be615[_0x2d4def+0xd]]+V[_0x7be615[_0x2d4def+0xe]]+V[_0x7be615[_0x2d4def+0xf]])[_0x121ea3(0x147)]();}let ut;const ir=new Uint8Array(0x10);function nr(){var _0x138e3a=_0x59924f;if(!ut){if(typeof crypto>'u'||!crypto[_0x138e3a(0x171)])throw new Error(_0x138e3a(0x232));ut=crypto['getRandomValues'][_0x138e3a(0x139)](crypto);}return ut(ir);}const rr=typeof crypto<'u'&&crypto[_0x59924f(0x391)]&&crypto[_0x59924f(0x391)]['bind'](crypto),qt={'randomUUID':rr};function sr(_0x1e13ee,_0x2317c1,_0x51c3b3){var _0x48ba74=_0x59924f,_0x4e4c97,_0x3c070e,_0x7e3561;if(qt[_0x48ba74(0x391)]&&!_0x1e13ee)return qt[_0x48ba74(0x391)]();_0x1e13ee=_0x1e13ee||{};const _0x23e8d5=(_0x7e3561=(_0x3c070e=_0x1e13ee[_0x48ba74(0x279)])!=null?_0x3c070e:(_0x4e4c97=_0x1e13ee['rng'])==null?void 0x0:_0x4e4c97['call'](_0x1e13ee))!=null?_0x7e3561:nr();if(_0x23e8d5[_0x48ba74(0x351)]<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x23e8d5[0x6]=_0x23e8d5[0x6]&0xf|0x40,_0x23e8d5[0x8]=_0x23e8d5[0x8]&0x3f|0x80,tr(_0x23e8d5);}const J=_0x1a5277(_0x59924f(0x2e3));function so(_0x19cfe0){var _0x5852e9=_0x59924f;return _0x5852e9(0x36c)+_0x19cfe0;}var or=Object['defineProperty'],ar=Object[_0x59924f(0x33e)],cr=(_0x16b5b8,_0x51d8fe,_0x304d4a,_0x49ff04)=>{for(var _0x2dbb6a=_0x49ff04>0x1?void 0x0:_0x49ff04?ar(_0x51d8fe,_0x304d4a):_0x51d8fe,_0x3ab17d=_0x16b5b8['length']-0x1,_0x4a773a;_0x3ab17d>=0x0;_0x3ab17d--)(_0x4a773a=_0x16b5b8[_0x3ab17d])&&(_0x2dbb6a=(_0x49ff04?_0x4a773a(_0x51d8fe,_0x304d4a,_0x2dbb6a):_0x4a773a(_0x2dbb6a))||_0x2dbb6a);return _0x49ff04&&_0x2dbb6a&&or(_0x51d8fe,_0x304d4a,_0x2dbb6a),_0x2dbb6a;},dt=(_0x49d24c,_0x308b51)=>(_0x2b36a7,_0x416f75)=>_0x308b51(_0x2b36a7,_0x416f75,_0x49d24c);function hr(_0x460f04){var _0x33c3af=_0x59924f;const {unitID:_0x442f5d,mutations:_0x165ed6}=_0x460f04;return{'unitId':_0x442f5d,'subUnitId':_0x165ed6[0x0][_0x33c3af(0x3e3)][_0x33c3af(0x31f)]};}let it=class{constructor(_0x255d04,_0x315ec2,_0x56fe9d){var _0xff291a=_0x59924f;this[_0xff291a(0x3c3)]=_0x255d04,this[_0xff291a(0x2fc)]=_0x315ec2,this[_0xff291a(0x2f3)]=_0x56fe9d;}['transformSelections'](_0x44c0b7){var _0x2fd3fc=_0x59924f,_0x1decd3,_0x2ce617,_0x13a533,_0xe3aa82;const _0x4df315=this[_0x2fd3fc(0x3c3)]['get'](_0x49983d),{unitId:_0x198b67,subUnitId:_0x3eea40}=hr(_0x44c0b7),_0x3b00bb=_0x4df315==null?void 0x0:_0x4df315[_0x2fd3fc(0x1a2)](_0x198b67)['getCurrentSelections'](),_0xe1c435=(_0x2ce617=(_0x1decd3=this[_0x2fd3fc(0x2f3)]['getUnit'](_0x198b67))==null?void 0x0:_0x1decd3[_0x2fd3fc(0x271)]())==null?void 0x0:_0x2ce617[_0x2fd3fc(0x2d2)]();if(_0x3b00bb[_0x2fd3fc(0x351)]===0x0||!_0x198b67||!_0x3eea40)return;const _0x3db5e7=[{'id':_0x2d20d8['id'],'params':{'unitId':_0x198b67,'subUnitId':_0xe1c435,'selections':_0x541b83[_0x2fd3fc(0x18e)](_0x3b00bb)}}],_0x18645f=this['_transformService'][_0x2fd3fc(0x2e0)](_0x44c0b7,_0x3db5e7);if(!_0x150ebb(_0x18645f))throw _0x18645f['error'];const _0x654380=(_0xe3aa82=(_0x13a533=_0x18645f[_0x2fd3fc(0x3f9)][0x0])==null?void 0x0:_0x13a533[_0x2fd3fc(0x3e3)])==null?void 0x0:_0xe3aa82[_0x2fd3fc(0x11b)];if(Array[_0x2fd3fc(0x22a)](_0x654380)&&_0x654380[_0x2fd3fc(0x351)]){if(_0x654380['length']===_0x3db5e7[0x0][_0x2fd3fc(0x3e3)][_0x2fd3fc(0x11b)]['length']&&_0x654380[_0x2fd3fc(0x1b4)]((_0x13869f,_0x36e6e6)=>_0x239908[_0x2fd3fc(0x3a2)](_0x13869f[_0x2fd3fc(0x2ea)],_0x3db5e7[0x0]['params']['selections'][_0x36e6e6][_0x2fd3fc(0x2ea)])))return;this[_0x2fd3fc(0x3c3)][_0x2fd3fc(0x13d)](_0x138ae6)[_0x2fd3fc(0x13c)](_0x2d20d8['id'],{'unitId':_0x198b67,'subUnitId':_0xe1c435,'selections':_0x654380});}}};it=cr([dt(0x0,_0x1bc764(_0x305299)),dt(0x1,_0x3511a4),dt(0x2,_0x4844be)],it);const ht=_0x1a5277(_0x59924f(0x2c3));var bi=(_0x47f461=>(_0x47f461[_0x47f461[_0x59924f(0x145)]=0x0]=_0x59924f(0x145),_0x47f461[_0x47f461[_0x59924f(0x2e6)]=0x1]=_0x59924f(0x2e6),_0x47f461))(bi||{});const _r=new Set([_0x40acf0['id']]);function zt(_0x1eb972,_0x40d04a,_0x4ece66,_0x48140f,_0x18da34){var _0x40fc8c=_0x59924f,_0x574298,_0x1973fc,_0x2942a8,_0x279c7d;const _0x1c2433=[];for(const _0x4fcfaa of _0x1eb972)if(_r[_0x40fc8c(0x2bd)](_0x4fcfaa['id'])){if(_0x1c2433[_0x40fc8c(0x351)]>0x0)break;_0x1c2433['push'](_0x4fcfaa);break;}else _0x1c2433[_0x40fc8c(0x1f7)](_0x4fcfaa);const _0x52bc43=(_0x1973fc=(_0x574298=_0x18da34[_0x40fc8c(0x38a)]())==null?void 0x0:_0x574298['userID'])!=null?_0x1973fc:'unknown',_0x2d7967=(_0x279c7d=(_0x2942a8=_0x18da34[_0x40fc8c(0x38a)]())==null?void 0x0:_0x2942a8[_0x40fc8c(0x331)])!=null?_0x279c7d:_0x40fc8c(0x280);return{'changeset':{'unitID':_0x40d04a,'type':_0x25fbac(_0x4ece66[_0x40fc8c(0x3cf)](_0x40d04a)),'baseRev':_0x48140f[_0x40fc8c(0x3d4)](_0x40d04a),'revision':0x0,'userID':_0x52bc43,'memberID':_0x2d7967,'mutations':_0x1c2433},'pendingMutations':_0x1eb972[_0x40fc8c(0x2aa)](_0x1c2433['length'])};}function lr(_0x31e481,_0x422516,_0x2904b9,_0x52d075,_0x4b5eb5){var _0x3e8b01=_0x59924f,_0x17df48,_0x44b82f,_0xa5ef8c,_0x583fbf;const _0x25e40=[_0x31e481[_0x3e8b01(0x2d6)]((_0x396e52,_0x1a9e15)=>{var _0x5d3138=_0x3e8b01,_0x5d8946;const {id:_0x15b0db}=_0x396e52,{id:_0x5e2f42,type:_0x18f647}=_0x1a9e15,_0xdc27b=(_0x5d8946=_0x396e52['params'])!=null?_0x5d8946:{'actions':null},_0x1c7be3=_0x1a9e15[_0x5d3138(0x3e3)];if(_0x15b0db&&_0x15b0db!==_0x5e2f42)throw new Error(_0x5d3138(0x2a9)+_0x15b0db+'\x20-\x20'+_0x5e2f42+'.');return{..._0x396e52,'id':_0x5e2f42,'type':_0x18f647,'params':{'unitId':_0x1c7be3['unitId'],'textRanges':_0x1c7be3[_0x5d3138(0x29d)],'actions':_0x3e3981['compose'](_0xdc27b['actions'],_0x1c7be3['actions'])}};},{})],_0x378f57=(_0x44b82f=(_0x17df48=_0x4b5eb5[_0x3e8b01(0x38a)]())==null?void 0x0:_0x17df48['userID'])!=null?_0x44b82f:_0x3e8b01(0x280),_0x2d4e71=(_0x583fbf=(_0xa5ef8c=_0x4b5eb5[_0x3e8b01(0x38a)]())==null?void 0x0:_0xa5ef8c['memberID'])!=null?_0x583fbf:'unknown';return{'changeset':{'unitID':_0x422516,'type':_0x25fbac(_0x2904b9[_0x3e8b01(0x3cf)](_0x422516)),'baseRev':_0x52d075[_0x3e8b01(0x3d4)](_0x422516),'revision':0x0,'userID':_0x378f57,'memberID':_0x2d4e71,'mutations':_0x25e40},'pendingMutations':[]};}function Oi(_0xacc9c2,_0x28bfd2){var _0x25bb85=_0x59924f;const _0x252c88=new _0x4111a3(0x1);return setTimeout(()=>_0x252c88['next'](_0x28bfd2),_0xacc9c2),_0x252c88[_0x25bb85(0x3b7)]()[_0x25bb85(0x25b)](_0x4b3b13(0x1));}const ur={'id':_0x2ce20d['id'],'type':_0x1a1be5[_0x59924f(0x39d)],'params':{}};var dr=Object[_0x59924f(0x385)],fr=Object[_0x59924f(0x33e)],Re=(_0x163cef,_0x582bae,_0x309ce2,_0x4b581a)=>{for(var _0x1a7377=_0x4b581a>0x1?void 0x0:_0x4b581a?fr(_0x582bae,_0x309ce2):_0x582bae,_0x3f2ae7=_0x163cef['length']-0x1,_0x2e1131;_0x3f2ae7>=0x0;_0x3f2ae7--)(_0x2e1131=_0x163cef[_0x3f2ae7])&&(_0x1a7377=(_0x4b581a?_0x2e1131(_0x582bae,_0x309ce2,_0x1a7377):_0x2e1131(_0x1a7377))||_0x1a7377);return _0x4b581a&&_0x1a7377&&dr(_0x582bae,_0x309ce2,_0x1a7377),_0x1a7377;},A=(_0x762f1b,_0x4a6b54)=>(_0x2d9aa1,_0x54522e)=>_0x4a6b54(_0x2d9aa1,_0x54522e,_0x762f1b),yi=(_0x3145b7=>(_0x3145b7[_0x59924f(0x31a)]=_0x59924f(0x24b),_0x3145b7[_0x59924f(0x224)]='synced',_0x3145b7[_0x59924f(0x3de)]='pending',_0x3145b7[_0x59924f(0x2b4)]=_0x59924f(0x1d0),_0x3145b7[_0x59924f(0x3f0)]=_0x59924f(0x154),_0x3145b7[_0x59924f(0x1d7)]='fetch_missing',_0x3145b7[_0x59924f(0x312)]=_0x59924f(0x3f1),_0x3145b7['OFFLINE']=_0x59924f(0x357),_0x3145b7))(yi||{});const Ni=0xea60;class be{constructor(_0x2578b2,_0x58d552,_0x51250e,_0x4bca05,_0x1f478b,_0x38e578,_0x33e15a,_0x278466,_0xe1c624){var _0x16d160=_0x59924f;N(this,_0x16d160(0x2d8),null),N(this,_0x16d160(0x356),[]),(this[_0x16d160(0x307)]=_0x2578b2,this[_0x16d160(0x38c)]=_0x58d552,this[_0x16d160(0x34e)]=_0x1f478b,this[_0x16d160(0x395)]=_0x38e578,this[_0x16d160(0x1ce)]=_0x33e15a,this['_revisionService']=_0x278466,this[_0x16d160(0x1ac)]=_0xe1c624,this[_0x16d160(0x2d8)]=_0x51250e,this[_0x16d160(0x356)]=_0x4bca05);}[_0x59924f(0x2c7)](_0x1df2bd){var _0x85f45=_0x59924f;const _0x287d5f=this[_0x85f45(0x179)]['getCurrentRevOfUnit'](this['unitID']);return _0x1df2bd['revision']>_0x287d5f+0x1?(this[_0x85f45(0x34e)]['onMissingChangesets']({'from':_0x287d5f,'to':_0x1df2bd['revision']-0x1}),!0x0):!0x1;}[_0x59924f(0x206)](_0x5559f6){var _0xe1d675=_0x59924f;this['_undoRedoService']['transformUndoRedo'](this[_0xe1d675(0x307)],_0x5559f6);}['_transformSelections'](_0x3c4a9e){var _0x47a154=_0x59924f,_0x15047a,_0x51816e;(_0x51816e=(_0x15047a=this[_0x47a154(0x34e)])['onTransformSelections'])==null||_0x51816e[_0x47a154(0x401)](_0x15047a,_0x3c4a9e);}[_0x59924f(0x2d0)](_0x303a5c){var _0xd17d2c=_0x59924f,_0x23c137,_0x31f074;return(_0x31f074=(_0x23c137=this['_handler'])[_0xd17d2c(0x1cd)])==null?void 0x0:_0x31f074[_0xd17d2c(0x401)](_0x23c137,_0x303a5c);}['_transformStateCache'](_0x2cd125){var _0x43e63e=_0x59924f,_0x5b3480,_0x373630;return(_0x373630=(_0x5b3480=this[_0x43e63e(0x34e)])[_0x43e63e(0x3f6)])==null?void 0x0:_0x373630['call'](_0x5b3480,_0x2cd125);}[_0x59924f(0x16e)](_0x4f2d9e){var _0x3e7ddb=_0x59924f,_0x220af7,_0x389c8e,_0x25c91a;return(_0x25c91a=(_0x389c8e=(_0x220af7=this[_0x3e7ddb(0x34e)])[_0x3e7ddb(0x199)])==null?void 0x0:_0x389c8e['call'](_0x220af7,_0x4f2d9e))!=null?_0x25c91a:_0x4f2d9e;}[_0x59924f(0x3fc)](_0x461875){var _0x11fd99=_0x59924f,_0x41cdfb,_0x103c40,_0x290e16;return(_0x290e16=(_0x103c40=(_0x41cdfb=this[_0x11fd99(0x34e)])[_0x11fd99(0x234)])==null?void 0x0:_0x103c40[_0x11fd99(0x401)](_0x41cdfb,_0x461875))!=null?_0x290e16:_0x461875;}[_0x59924f(0x1bb)](_0x390843){var _0x560a23=_0x59924f,_0xa9e8d3,_0x49e332;if(this['type']===Q[_0x560a23(0x3fa)]){const {unitID:_0xa295fe,mutations:_0x37b16b,memberID:_0x183fe1}=_0x390843,_0x5130dd=_0x37b16b[0x0][_0x560a23(0x3e3)][_0x560a23(0x29d)];Array[_0x560a23(0x22a)](_0x5130dd)&&_0x5130dd['length']>0x0&&((_0x49e332=(_0xa9e8d3=this[_0x560a23(0x34e)])['onSyncEditingCollabCursor'])==null||_0x49e332[_0x560a23(0x401)](_0xa9e8d3,{'unitID':_0xa295fe,'memberID':_0x183fe1,'textRanges':_0x5130dd}));}}[_0x59924f(0x219)](){var _0x15e943=_0x59924f,_0x4cc87c;(_0x4cc87c=this[_0x15e943(0x1ac)])==null||_0x4cc87c[_0x15e943(0x124)](this[_0x15e943(0x307)],this['type'],this[_0x15e943(0x2d8)],this[_0x15e943(0x356)]);}[_0x59924f(0x29a)](){var _0x2a8a40=_0x59924f;return this[_0x2a8a40(0x179)][_0x2a8a40(0x3d4)](this[_0x2a8a40(0x307)]);}[_0x59924f(0x166)](){var _0x3e2ced=_0x59924f;this[_0x3e2ced(0x179)][_0x3e2ced(0x3e1)](this[_0x3e2ced(0x307)]);}[_0x59924f(0x3f8)](_0x2b19ed){var _0x536d62=_0x59924f,_0x2013b7;let _0x2cd4a6=this[_0x536d62(0x16e)](_0x2b19ed);_0x2cd4a6=this[_0x536d62(0x3fc)](_0x2cd4a6);const _0x323abe=_0x368920(_0x2cd4a6['mutations'],this['_commandService'],{'fromCollab':!0x0});if(!_0x323abe[_0x536d62(0x23f)])throw _0x323abe[_0x536d62(0x289)]instanceof Error?_0x323abe['error']:new Error((_0x2013b7=_0x323abe[_0x536d62(0x289)])!=null?_0x2013b7:_0x536d62(0x2eb));this[_0x536d62(0x2d0)](_0x2cd4a6),this['_transformStateCache'](_0x2cd4a6),this[_0x536d62(0x206)](_0x2b19ed),this['_transformSelections'](_0x2cd4a6),this[_0x536d62(0x1bb)](_0x2cd4a6),this[_0x536d62(0x166)]();}}let De=class extends be{constructor(_0x42f1c8,_0x32e90d,_0x2996bb,_0x1732e0,_0x3c4962,_0x4b5dd1,_0x5da543,_0xb2c5e2,_0x48f6ef,_0x5bb6b4){var _0x1d8ca3=_0x59924f;super(_0x42f1c8,_0x32e90d,null,[],_0x2996bb,_0x5da543,_0x4b5dd1,_0x1732e0,_0x5bb6b4),N(this,_0x1d8ca3(0x3cb),_0x1d8ca3(0x30b)),(this[_0x1d8ca3(0x3c3)]=_0x3c4962,this[_0x1d8ca3(0x11d)]=_0xb2c5e2,this[_0x1d8ca3(0x2fc)]=_0x48f6ef,this[_0x1d8ca3(0x29e)]=_0x5bb6b4);}['appendMutation'](_0x2f6193){var _0x457653=_0x59924f;const _0x34fc32=this['_injector']['createInstance'](oe,this['unitID'],this[_0x457653(0x38c)],[_0x2f6193],this['_handler']);return _0x34fc32['_schedule'](),_0x34fc32[_0x457653(0x219)](),_0x34fc32;}[_0x59924f(0x359)](_0x5b23ca){var _0x1f4b37=_0x59924f;if(this[_0x1f4b37(0x2c7)](_0x5b23ca))return this[_0x1f4b37(0x3c3)][_0x1f4b37(0x151)](te,this[_0x1f4b37(0x307)],this[_0x1f4b37(0x38c)],null,[],null,[_0x5b23ca],this[_0x1f4b37(0x34e)]);try{const _0x1789aa=this['_transformService'][_0x1f4b37(0x2e0)](_0x5b23ca,[ur]);if(_0x150ebb(_0x1789aa)){const {c1Prime:_0x50bf78}=_0x1789aa;return this[_0x1f4b37(0x3f8)](_0x50bf78),this;}throw _0x1789aa[_0x1f4b37(0x289)];}catch(_0x140f99){return this[_0x1f4b37(0x11d)][_0x1f4b37(0x289)](_0x140f99),this[_0x1f4b37(0x374)](!0x1);}}[_0x59924f(0x374)](_0x389907){var _0x3786de=_0x59924f;return this[_0x3786de(0x3c3)][_0x3786de(0x151)](de,this[_0x3786de(0x307)],this['type'],null,[],this['_handler'],_0x389907);}[_0x59924f(0x3af)](){throw new Error('[SyncedState]:\x20received\x20acknowledgement.');}[_0x59924f(0x256)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x59924f(0x127)](){return this;}['toggleOffline'](){var _0x3b873a=_0x59924f;return this[_0x3b873a(0x3c3)][_0x3b873a(0x151)](fe,this[_0x3b873a(0x307)],this[_0x3b873a(0x38c)],null,[],this['_handler']);}[_0x59924f(0x2fe)](){return this;}[_0x59924f(0x1b9)](){var _0x471685=_0x59924f;throw new Error(_0x471685(0x188));}['fetchMiss'](){var _0xf48c95=_0x59924f;const _0xade556=this[_0xf48c95(0x179)]['getCurrentRevOfUnit'](this[_0xf48c95(0x307)]);return this[_0xf48c95(0x34e)][_0xf48c95(0x194)]({'from':_0xade556,'to':0x0}),this[_0xf48c95(0x3c3)][_0xf48c95(0x151)](te,this[_0xf48c95(0x307)],this['type'],null,[],null,[],this[_0xf48c95(0x34e)]);}};De=Re([A(0x3,_0x1bc764(_0x55a265)),A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1d3917),A(0x6,_0x138ae6),A(0x7,_0x54d1e0),A(0x8,_0x3511a4),A(0x9,_0x4e682c(J))],De);let oe=class extends be{constructor(_0x19e6d8,_0x4e953e,_0x2d50cb,_0x2e21,_0x695ef3,_0x22f08b,_0x2e5d6a,_0x56d4d2,_0x1ee5cd,_0x3968b3,_0x3e3d29,_0x34686c,_0x2f641e,_0x159eb6){var _0x22f2f2=_0x59924f;super(_0x19e6d8,_0x4e953e,null,_0x2d50cb,_0x2e21,_0x1ee5cd,_0x2f641e,_0x22f08b,_0x159eb6),N(this,_0x22f2f2(0x3cb),'pending'),N(this,'_scheduleCompleteTimestamp',null),N(this,'_sendingTimer',null),(this[_0x22f2f2(0x3c3)]=_0x695ef3,this['_memberService']=_0x2e5d6a,this['_logService']=_0x56d4d2,this[_0x22f2f2(0x3c1)]=_0x3968b3,this[_0x22f2f2(0x2fc)]=_0x3e3d29,this[_0x22f2f2(0x2d7)]=_0x34686c);}[_0x59924f(0x396)](_0xb8acd1){var _0x1a0b42=_0x59924f;return this[_0x1a0b42(0x356)][_0x1a0b42(0x1f7)](_0xb8acd1),this[_0x1a0b42(0x219)](),this;}['onRemoteChangeset'](_0x5f5cb6){var _0x51e231=_0x59924f;if(this[_0x51e231(0x2c7)](_0x5f5cb6))return this[_0x51e231(0x16a)](),this[_0x51e231(0x3c3)]['createInstance'](te,this[_0x51e231(0x307)],this['type'],null,this[_0x51e231(0x356)],null,[_0x5f5cb6],this[_0x51e231(0x34e)]);try{const _0x17c9fe=this[_0x51e231(0x2fc)][_0x51e231(0x2e0)](_0x5f5cb6,this[_0x51e231(0x356)]);if(_0x150ebb(_0x17c9fe)){const {c1Prime:_0x464d2e,m2Prime:_0x50cfbf}=_0x17c9fe;this[_0x51e231(0x3f8)](_0x464d2e);const _0x232314=this[_0x51e231(0x3c3)][_0x51e231(0x151)](oe,this[_0x51e231(0x307)],this[_0x51e231(0x38c)],_0x50cfbf,this[_0x51e231(0x34e)]);this[_0x51e231(0x16a)]();const _0x32aa67=new Date()[_0x51e231(0x33f)](),_0x4d55e1=this[_0x51e231(0x186)]?Math[_0x51e231(0x28c)](this['_scheduleCompleteTimestamp']-_0x32aa67,0x0):this[_0x51e231(0x369)]();return _0x232314[_0x51e231(0x37b)](_0x4d55e1),_0x232314;}throw _0x17c9fe['error'];}catch(_0x2220fb){return this[_0x51e231(0x11d)]['error'](_0x2220fb),this['_onConflict'](!0x1);}}[_0x59924f(0x3af)](){var _0xcf8e36=_0x59924f;throw new Error(_0xcf8e36(0x1d9));}[_0x59924f(0x256)](){var _0x36a858=_0x59924f;throw new Error(_0x36a858(0x352));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){var _0x386905=_0x59924f;return this[_0x386905(0x16a)](),this[_0x386905(0x3c3)][_0x386905(0x151)](fe,this[_0x386905(0x307)],this[_0x386905(0x38c)],null,this[_0x386905(0x356)],this[_0x386905(0x34e)]);}[_0x59924f(0x2fe)](){return this;}['_schedule'](_0x234e20){var _0x12214e=_0x59924f;const _0x73d201=_0x234e20!=null?_0x234e20:this['_getSendChangesetTimeout']();this[_0x12214e(0x186)]=new Date()[_0x12214e(0x33f)]()+_0x73d201,this['_sendingTimer']=setTimeout(()=>{var _0x524541=_0x12214e;this[_0x524541(0x16a)]();let _0x11989c=null;switch(this['type']){case Q[_0x524541(0x14c)]:{_0x11989c=zt(this[_0x524541(0x356)],this[_0x524541(0x307)],this[_0x524541(0x2d7)],this[_0x524541(0x179)],this[_0x524541(0x364)]);break;}case Q[_0x524541(0x3fa)]:{this[_0x524541(0x356)][_0x524541(0x1b4)](_0x35b94d=>_0x35b94d['id']===_0xf6a1e8['id'])?_0x11989c=lr(this[_0x524541(0x356)],this[_0x524541(0x307)],this[_0x524541(0x2d7)],this[_0x524541(0x179)],this[_0x524541(0x364)]):_0x11989c=zt(this[_0x524541(0x356)],this['unitID'],this['_univerInstanceService'],this[_0x524541(0x179)],this[_0x524541(0x364)]);break;}default:throw new Error(_0x524541(0x301)+this[_0x524541(0x38c)]+'\x20in\x20_schedule.');}const {changeset:_0x6f2eb1,pendingMutations:_0x178b11}=_0x11989c;this[_0x524541(0x34e)][_0x524541(0x2ee)](_0x6f2eb1);const _0x466142=_0x178b11[_0x524541(0x351)]?this[_0x524541(0x3c3)][_0x524541(0x151)](ae,this[_0x524541(0x307)],this[_0x524541(0x38c)],_0x6f2eb1,_0x178b11,this[_0x524541(0x34e)],void 0x0):this[_0x524541(0x3c3)][_0x524541(0x151)](ue,this[_0x524541(0x307)],this[_0x524541(0x38c)],_0x6f2eb1,this[_0x524541(0x34e)]);_0x466142['_updateLocalCache'](),this[_0x524541(0x34e)][_0x524541(0x311)](this,_0x466142);},_0x73d201);}[_0x59924f(0x369)](){var _0x39a0f8=_0x59924f,_0x31ed59;const _0x299b7c=this[_0x39a0f8(0x3c1)]['getConfig'](q);return(_0x31ed59=_0x299b7c==null?void 0x0:_0x299b7c[_0x39a0f8(0x260)])!=null?_0x31ed59:Cn;}[_0x59924f(0x1b9)](){var _0x2c25a7=_0x59924f;throw new Error(_0x2c25a7(0x1a3));}[_0x59924f(0x16a)](){var _0x1cd7fa=_0x59924f;this['_sendingTimer']!=null&&(clearTimeout(this[_0x1cd7fa(0x367)]),this['_sendingTimer']=null);}['_onConflict'](_0x3afd0d){var _0x340f99=_0x59924f;return this[_0x340f99(0x16a)](),this[_0x340f99(0x3c3)][_0x340f99(0x151)](de,this[_0x340f99(0x307)],this[_0x340f99(0x38c)],null,this[_0x340f99(0x356)],this[_0x340f99(0x34e)],_0x3afd0d);}};oe=Re([A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1bc764(_0x55a265)),A(0x6,_0x1bc764(xe)),A(0x7,_0x54d1e0),A(0x8,_0x138ae6),A(0x9,_0x30c313),A(0xa,_0x3511a4),A(0xb,_0x4844be),A(0xc,_0x1d3917),A(0xd,_0x4e682c(J))],oe);let ue=class extends be{constructor(_0x4afebf,_0x29be44,_0x4730b5,_0x14d7a2,_0x4abceb,_0x138118,_0x13ef34,_0x5bbeb3,_0xd70a7f,_0xc3204e,_0xf7c013){var _0x2f70e6=_0x59924f;super(_0x4afebf,_0x29be44,_0x4730b5,[],_0x14d7a2,_0x13ef34,_0xc3204e,_0x138118,_0xf7c013),N(this,_0x2f70e6(0x3cb),_0x2f70e6(0x1d0)),N(this,_0x2f70e6(0x27e),0x0),N(this,'_resendTimer'),N(this,_0x2f70e6(0x175)),(this[_0x2f70e6(0x3c3)]=_0x4abceb,this[_0x2f70e6(0x11d)]=_0x5bbeb3,this['_transformService']=_0xd70a7f);}[_0x59924f(0x396)](_0x4eab83){var _0xc9aad3=_0x59924f;this[_0xc9aad3(0x16a)]();const _0x311a6d=this[_0xc9aad3(0x3c3)][_0xc9aad3(0x151)](ae,this[_0xc9aad3(0x307)],this[_0xc9aad3(0x38c)],this[_0xc9aad3(0x2d8)],[_0x4eab83],this['_handler'],this[_0xc9aad3(0x22f)]);return _0x311a6d[_0xc9aad3(0x219)](),_0x311a6d;}[_0x59924f(0x359)](_0x4b8302){var _0x2e0a73=_0x59924f;if(this[_0x2e0a73(0x2c7)](_0x4b8302))return this['_clearScheduledTask'](),this['_injector'][_0x2e0a73(0x151)](te,this[_0x2e0a73(0x307)],this[_0x2e0a73(0x38c)],this[_0x2e0a73(0x2d8)],[],null,[_0x4b8302],this[_0x2e0a73(0x34e)]);try{const _0x27cdb1=this[_0x2e0a73(0x2fc)]['transformChangesets']([_0x4b8302],[this[_0x2e0a73(0x2d8)]],!0x1);if(_0x2c2188(_0x27cdb1)){const {c1Prime:_0x59082e,c2Prime:_0x52a3ba}=_0x27cdb1;this[_0x2e0a73(0x3f8)](_0x59082e[0x0]),_0x52a3ba[0x0][_0x2e0a73(0x1e4)]=this[_0x2e0a73(0x29a)](),this[_0x2e0a73(0x16a)]();const _0x33e00a=this[_0x2e0a73(0x3c3)][_0x2e0a73(0x151)](ue,this[_0x2e0a73(0x307)],this[_0x2e0a73(0x38c)],_0x52a3ba[0x0],this[_0x2e0a73(0x34e)]);return _0x33e00a[_0x2e0a73(0x219)](),_0x33e00a;}return this[_0x2e0a73(0x374)](!0x1);}catch(_0x537d6f){return this['_logService'][_0x2e0a73(0x289)](_0x537d6f),this[_0x2e0a73(0x374)](!0x1);}}[_0x59924f(0x3af)](_0x57eed9){var _0x219b5c=_0x59924f;this['_clearScheduledTask']();const _0x5a34e6=this[_0x219b5c(0x179)][_0x219b5c(0x3d4)](this[_0x219b5c(0x307)]);if(_0x57eed9[_0x219b5c(0x40d)]<_0x5a34e6-0x1)return this;if(this['_checkMissing'](_0x57eed9))return this[_0x219b5c(0x3c3)]['createInstance'](te,this[_0x219b5c(0x307)],this[_0x219b5c(0x38c)],null,[],this[_0x219b5c(0x2d8)],[],this[_0x219b5c(0x34e)]);this[_0x219b5c(0x166)]();const _0x406ff8=this[_0x219b5c(0x3c3)]['createInstance'](De,this[_0x219b5c(0x307)],this[_0x219b5c(0x38c)],this['_handler']);return _0x406ff8[_0x219b5c(0x219)](),_0x406ff8;}[_0x59924f(0x256)](_0x34287d){var _0x255846=_0x59924f;return this[_0x255846(0x374)](!!(_0x34287d!=null&&_0x34287d[_0x255846(0x24e)]));}[_0x59924f(0x127)](_0x1958ce){var _0x1e6d1a=_0x59924f;return this[_0x1e6d1a(0x27e)]>Ni?this[_0x1e6d1a(0x41c)]():(this[_0x1e6d1a(0x22f)]=Oi(this[_0x1e6d1a(0x27e)],{'timeout':this[_0x1e6d1a(0x27e)],'reqId':_0x1958ce[_0x1e6d1a(0x235)]}),this[_0x1e6d1a(0x175)]=this[_0x1e6d1a(0x22f)][_0x1e6d1a(0x387)](({reqId:_0x2a7bd1,timeout:_0x31231f})=>{var _0x4a30e2=_0x1e6d1a;this[_0x4a30e2(0x24d)](_0x2a7bd1,_0x31231f);}),this);}[_0x59924f(0x41c)](){var _0x4cb8e3=_0x59924f;return this[_0x4cb8e3(0x16a)](),this[_0x4cb8e3(0x3c3)]['createInstance'](fe,this[_0x4cb8e3(0x307)],this[_0x4cb8e3(0x38c)],this[_0x4cb8e3(0x2d8)],[],this['_handler']);}['toggleOnline'](){return this;}[_0x59924f(0x1b9)](){var _0x38df4b=_0x59924f;this[_0x38df4b(0x34e)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x59924f(0x374)](_0x199970){var _0x3b2a73=_0x59924f;return this[_0x3b2a73(0x16a)](),this[_0x3b2a73(0x3c3)][_0x3b2a73(0x151)](de,this[_0x3b2a73(0x307)],this['type'],this[_0x3b2a73(0x2d8)],[],this[_0x3b2a73(0x34e)],_0x199970);}[_0x59924f(0x24d)](_0x205ee8,_0x1663e1){var _0x5b64aa=_0x59924f,_0x4f0671;_0x205ee8===((_0x4f0671=this['_awaitingChangeset'])==null?void 0x0:_0x4f0671[_0x5b64aa(0x235)])&&(this['resend'](),this[_0x5b64aa(0x27e)]=_0x1663e1===0x0?0x3e8:_0x1663e1*0x2);}[_0x59924f(0x16a)](){var _0x4a6759=_0x59924f,_0x2690de;(_0x2690de=this[_0x4a6759(0x175)])==null||_0x2690de[_0x4a6759(0x1ee)](),this[_0x4a6759(0x27e)]=0x0;}};ue=Re([A(0x4,_0x1bc764(_0x305299)),A(0x5,_0x1bc764(_0x55a265)),A(0x6,_0x138ae6),A(0x7,_0x54d1e0),A(0x8,_0x3511a4),A(0x9,_0x1d3917),A(0xa,_0x4e682c(J))],ue);let ae=class extends be{constructor(_0x59ee72,_0xaddbdd,_0x4a0841,_0x137cd9,_0x591fdc,_0xb77533,_0x21eea4,_0x26d62d,_0x417b4d,_0x5cb028,_0x3bf277,_0x276d77,_0x30b1a5){var _0x9320f0=_0x59924f;super(_0x59ee72,_0xaddbdd,_0x4a0841,_0x137cd9,_0x591fdc,_0x417b4d,_0x276d77,_0x26d62d,_0x30b1a5),N(this,_0x9320f0(0x3cb),'awaiting_with_pending'),N(this,'_resendTimeout',0x0),N(this,_0x9320f0(0x22f)),N(this,'_sender'),(this['_injector']=_0x21eea4,this[_0x9320f0(0x11d)]=_0x5cb028,this[_0x9320f0(0x2fc)]=_0x3bf277,this[_0x9320f0(0x29e)]=_0x30b1a5,_0xb77533&&(this[_0x9320f0(0x22f)]=_0xb77533,this['_sender']=this['_resendTimer'][_0x9320f0(0x387)](({reqId:_0x4160cd,timeout:_0x41b7d6})=>{var _0x12237c=_0x9320f0;this[_0x12237c(0x24d)](_0x4160cd,_0x41b7d6);})));}[_0x59924f(0x396)](_0x2f4b32){var _0x5cc362=_0x59924f;return this[_0x5cc362(0x356)][_0x5cc362(0x1f7)](_0x2f4b32),this;}[_0x59924f(0x359)](_0xe5627c){var _0x56910f=_0x59924f;if(this['_checkMissing'](_0xe5627c))return this['_clearScheduledTask'](),this[_0x56910f(0x3c3)][_0x56910f(0x151)](te,this[_0x56910f(0x307)],this[_0x56910f(0x38c)],this[_0x56910f(0x2d8)],this[_0x56910f(0x356)],null,[_0xe5627c],this[_0x56910f(0x34e)]);try{const _0x40cbe2=this[_0x56910f(0x2fc)]['transformChangesets']([_0xe5627c],[this[_0x56910f(0x2d8)]],!0x1);if(_0x2c2188(_0x40cbe2)){const {c1Prime:_0x2956ef,c2Prime:_0x4f5090}=_0x40cbe2,_0x32dd2=this[_0x56910f(0x2fc)][_0x56910f(0x2e0)](_0x2956ef[0x0],this[_0x56910f(0x356)]);if(_0x150ebb(_0x32dd2)){const {c1Prime:_0x8cd368,m2Prime:_0x300560}=_0x32dd2;return this[_0x56910f(0x3f8)](_0x8cd368),_0x4f5090[0x0][_0x56910f(0x1e4)]=this[_0x56910f(0x29a)](),this['_clearScheduledTask'](),this[_0x56910f(0x3c3)][_0x56910f(0x151)](ae,this[_0x56910f(0x307)],this['type'],_0x4f5090[0x0],_0x300560,this[_0x56910f(0x34e)],void 0x0);}throw _0x32dd2[_0x56910f(0x289)];}throw _0x40cbe2[_0x56910f(0x289)];}catch(_0x49b845){return this[_0x56910f(0x11d)][_0x56910f(0x289)](_0x49b845),this['_onConflict'](!0x1);}}[_0x59924f(0x3af)](_0x39df06){var _0x45174e=_0x59924f;if(this[_0x45174e(0x16a)](),this['_checkMissing'](_0x39df06))return this['_injector'][_0x45174e(0x151)](te,this[_0x45174e(0x307)],this[_0x45174e(0x38c)],null,this['_pendingMutations'],this[_0x45174e(0x2d8)],[],this[_0x45174e(0x34e)]);this[_0x45174e(0x166)]();const _0x14d389=this[_0x45174e(0x3c3)][_0x45174e(0x151)](oe,this[_0x45174e(0x307)],this[_0x45174e(0x38c)],this['_pendingMutations'],this[_0x45174e(0x34e)]);return _0x14d389[_0x45174e(0x37b)](),_0x14d389[_0x45174e(0x219)](),_0x14d389;}[_0x59924f(0x256)](_0xb144f8){var _0x2671b9=_0x59924f;return this[_0x2671b9(0x374)](!!(_0xb144f8!=null&&_0xb144f8[_0x2671b9(0x24e)]));}[_0x59924f(0x127)](_0x919564){var _0x7b7833=_0x59924f;return this[_0x7b7833(0x27e)]>Ni?this['toggleOffline']():(this[_0x7b7833(0x22f)]=Oi(this[_0x7b7833(0x27e)],{'timeout':this[_0x7b7833(0x27e)],'reqId':_0x919564[_0x7b7833(0x235)]}),this[_0x7b7833(0x175)]=this[_0x7b7833(0x22f)][_0x7b7833(0x387)](({reqId:_0x5789a0,timeout:_0x593eca})=>{var _0x5651ca=_0x7b7833;this[_0x5651ca(0x24d)](_0x5789a0,_0x593eca);}),this);}[_0x59924f(0x41c)](){var _0x3f5131=_0x59924f;return this['_clearScheduledTask'](),this[_0x3f5131(0x3c3)][_0x3f5131(0x151)](fe,this['unitID'],this[_0x3f5131(0x38c)],this[_0x3f5131(0x2d8)],this['_pendingMutations'],this['_handler']);}[_0x59924f(0x2fe)](){return this;}[_0x59924f(0x1b9)](){var _0x3a26df=_0x59924f;this[_0x3a26df(0x34e)]['onSendChangeset'](this[_0x3a26df(0x2d8)]);}['_onConflict'](_0x458bdb){var _0x1a94e9=_0x59924f;return this[_0x1a94e9(0x16a)](),this[_0x1a94e9(0x3c3)][_0x1a94e9(0x151)](de,this[_0x1a94e9(0x307)],this[_0x1a94e9(0x38c)],null,this[_0x1a94e9(0x356)],this[_0x1a94e9(0x34e)],_0x458bdb);}[_0x59924f(0x24d)](_0x3302ca,_0x44b2a2){var _0x1b40f7=_0x59924f,_0x58eb17;_0x3302ca===((_0x58eb17=this['_awaitingChangeset'])==null?void 0x0:_0x58eb17[_0x1b40f7(0x235)])&&(this[_0x1b40f7(0x1b9)](),this['_resendTimeout']=_0x44b2a2===0x0?0x3e8:_0x44b2a2*0x2);}[_0x59924f(0x16a)](){var _0x7806a8=_0x59924f,_0x4dd30c;(_0x4dd30c=this[_0x7806a8(0x175)])==null||_0x4dd30c['unsubscribe'](),this[_0x7806a8(0x27e)]=0x0;}};ae=Re([A(0x6,_0x1bc764(_0x305299)),A(0x7,_0x1bc764(_0x55a265)),A(0x8,_0x138ae6),A(0x9,_0x54d1e0),A(0xa,_0x3511a4),A(0xb,_0x1d3917),A(0xc,_0x4e682c(J))],ae);let de=class extends be{constructor(_0xcb5aff,_0x33c3a,_0x4e46ac,_0x10c2ee,_0xcf7c23,_0xbac068=!0x1,_0x178364,_0x3717c4,_0x2aba82,_0x464ad3,_0x4d6b47,_0x1d6bd2,_0xd19034){var _0x4eecee=_0x59924f;super(_0xcb5aff,_0x33c3a,_0x4e46ac,_0x10c2ee,_0xcf7c23,_0x3717c4,_0x2aba82,_0x464ad3,_0xd19034),N(this,_0x4eecee(0x3cb),_0x4eecee(0x3f1)),(this[_0x4eecee(0x3fb)]=_0xbac068,this['_permissionService']=_0x178364,this[_0x4eecee(0x14f)]=_0x4d6b47,this['_collaborationUIEventService']=_0x1d6bd2,this[_0x4eecee(0x29e)]=_0xd19034,this[_0x4eecee(0x250)](),this[_0x4eecee(0x2a0)](),this[_0x4eecee(0x157)]());}[_0x59924f(0x396)](){return this;}[_0x59924f(0x359)](){return this;}[_0x59924f(0x3af)](){return this;}[_0x59924f(0x256)](){return this;}[_0x59924f(0x127)](){return this;}['toggleOffline'](){return this;}['toggleOnline'](){return this;}[_0x59924f(0x1b9)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x59924f(0x2a0)](){var _0x36d6fb=_0x59924f,_0x493b06;(_0x493b06=this[_0x36d6fb(0x1ac)])==null||_0x493b06['updateOfflineData'](this[_0x36d6fb(0x307)],this[_0x36d6fb(0x38c)],null,[]);}['_showConflictNotification'](){var _0x10651e=_0x59924f;this[_0x10651e(0x3fb)]?this[_0x10651e(0x146)][_0x10651e(0x1fa)]({'id':se['PERMISSION_DENIED']}):this[_0x10651e(0x146)][_0x10651e(0x1fa)]({'id':se[_0x10651e(0x312)]});}['_disableEditing'](){var _0x372311=_0x59924f;this[_0x372311(0x1e5)][_0x372311(0x119)](new _0x28e48e(this[_0x372311(0x307)])['id'],!0x1);}};de=Re([A(0x6,_0x1bc764(_0xb52dec)),A(0x7,_0x138ae6),A(0x8,_0x1d3917),A(0x9,_0x1bc764(_0x55a265)),A(0xa,_0x1bc764(_0x436289)),A(0xb,_0x1bc764(pe)),A(0xc,_0x4e682c(J))],de);let fe=class extends be{constructor(_0x36db4d,_0x5c40e7,_0x3f3251,_0x2dca29,_0xd27c29,_0x3ff0f9,_0x3f793d,_0x297b4b,_0x44ef17,_0x25a02d){var _0x7d345d=_0x59924f;super(_0x36db4d,_0x5c40e7,_0x3f3251,_0x2dca29,_0xd27c29,_0x297b4b,_0x44ef17,_0x3f793d,_0x25a02d),N(this,_0x7d345d(0x3cb),_0x7d345d(0x357)),this[_0x7d345d(0x3c3)]=_0x3ff0f9;}['appendMutation'](_0x19ae61){var _0x36fad0=_0x59924f;return this['_pendingMutations'][_0x36fad0(0x1f7)](_0x19ae61),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x2da12e){var _0x3228f2=_0x59924f;throw new Error(_0x3228f2(0x135));}[_0x59924f(0x3af)](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x59924f(0x256)](){var _0x52a37a=_0x59924f;throw new Error(_0x52a37a(0x213));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){return this;}['toggleOnline'](){var _0x568299=_0x59924f;const {_injector:_0x358411,_pendingMutations:_0x19b090,_awaitingChangeset:_0x424e73,unitID:_0x221162,_handler:_0x54e0c0,type:_0x714975}=this,_0x299c71=Di(_0x358411,_0x221162,_0x714975,_0x424e73,_0x19b090,_0x54e0c0);return _0x299c71 instanceof oe?_0x299c71['_schedule']():(_0x299c71 instanceof ae||_0x299c71 instanceof ue)&&_0x299c71[_0x568299(0x1b9)](),_0x299c71;}['resend'](){var _0x10f55c=_0x59924f;throw new Error(_0x10f55c(0x340));}};fe=Re([A(0x5,_0x1bc764(_0x305299)),A(0x6,_0x1bc764(_0x55a265)),A(0x7,_0x138ae6),A(0x8,_0x1d3917),A(0x9,_0x4e682c(J))],fe);let te=class extends be{constructor(_0x488ab5,_0x292add,_0x52002f,_0x4379a1,_0x4a05fb,_0x3314b5,_0x3f3d7f,_0x528c07,_0x2df6b1,_0x381672,_0x2cfa08,_0x470f6c,_0xf3a018,_0x5cd9d8){var _0x128176=_0x59924f;super(_0x488ab5,_0x292add,_0x52002f,_0x4379a1,_0x3f3d7f,_0x2cfa08,_0x470f6c,_0x2df6b1,_0x5cd9d8),N(this,_0x128176(0x3cb),_0x128176(0x3d8)),(this['_acknowledgedAwaitingChangeset']=_0x4a05fb,this[_0x128176(0x1a4)]=_0x3314b5,this[_0x128176(0x3c3)]=_0x528c07,this['_logService']=_0x381672,this['_transformService']=_0xf3a018,this[_0x128176(0x29e)]=_0x5cd9d8);}[_0x59924f(0x1fc)](_0x36f140){var _0x2807d4=_0x59924f;try{const _0x243c6f=[..._0x36f140,...this[_0x2807d4(0x1a4)]],_0x5c2301=[this[_0x2807d4(0x2d8)]||this[_0x2807d4(0x16f)]][_0x2807d4(0x20d)](_0x2fabe6=>!!_0x2fabe6);let _0x20e41e,_0x45b642;if(_0x5c2301[_0x2807d4(0x351)]){const _0x5a0881=this[_0x2807d4(0x2fc)][_0x2807d4(0x138)](_0x243c6f,_0x5c2301,!0x1);if(!_0x2c2188(_0x5a0881))throw _0x5a0881['error'];_0x20e41e=_0x5a0881['c1Prime'],_0x45b642=_0x5a0881['c2Prime'];}else _0x20e41e=_0x243c6f,_0x45b642=[];let _0x2fb0d5=this[_0x2807d4(0x356)];_0x20e41e[_0x2807d4(0x3be)](_0x310efa=>{var _0x36b106=_0x2807d4;let _0x4db28a;if(_0x2fb0d5[_0x36b106(0x351)]){const _0x4a92f1=this['_transformService'][_0x36b106(0x2e0)](_0x310efa,_0x2fb0d5);if(!_0x150ebb(_0x4a92f1))throw _0x4a92f1['error'];_0x4db28a=_0x4a92f1['c1Prime'],_0x2fb0d5=_0x4a92f1[_0x36b106(0x3f9)];}else _0x4db28a=_0x310efa;this[_0x36b106(0x3f8)](_0x4db28a);}),this['_acknowledgedAwaitingChangeset']&&this[_0x2807d4(0x166)](),this[_0x2807d4(0x2d8)]&&_0x45b642['length']&&(_0x45b642[0x0][_0x2807d4(0x1e4)]=this[_0x2807d4(0x29a)]());let _0x46a5b9;if(this[_0x2807d4(0x2d8)]&&_0x2fb0d5[_0x2807d4(0x351)]!==0x0)_0x46a5b9=this[_0x2807d4(0x3c3)]['createInstance'](ae,this['unitID'],this[_0x2807d4(0x38c)],_0x45b642[0x0],_0x2fb0d5,this[_0x2807d4(0x34e)],void 0x0);else{if(this['_awaitingChangeset']&&_0x2fb0d5[_0x2807d4(0x351)]===0x0)_0x45b642[0x0][_0x2807d4(0x1e4)]=this[_0x2807d4(0x29a)](),_0x46a5b9=this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](ue,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],_0x45b642[0x0],this[_0x2807d4(0x34e)]);else{if(_0x2fb0d5[_0x2807d4(0x351)]!==0x0){const _0x15d2fd=this['_injector'][_0x2807d4(0x151)](oe,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],_0x2fb0d5,this['_handler']);_0x15d2fd[_0x2807d4(0x37b)](),_0x46a5b9=_0x15d2fd;}else _0x46a5b9=this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](De,this[_0x2807d4(0x307)],this[_0x2807d4(0x38c)],this['_handler']);}}return _0x46a5b9[_0x2807d4(0x219)](),_0x46a5b9;}catch(_0x326135){return this[_0x2807d4(0x11d)]['error']('[FetchMissState]',_0x2807d4(0x24f),_0x326135),this[_0x2807d4(0x3c3)][_0x2807d4(0x151)](de,this['unitID'],this['type'],this[_0x2807d4(0x2d8)],this[_0x2807d4(0x356)],this[_0x2807d4(0x34e)],!0x1);}}['resend'](){var _0x3f6272=_0x59924f;throw new Error(_0x3f6272(0x2ef));}[_0x59924f(0x396)](_0x22bb92){var _0x2b76ca=_0x59924f;return this[_0x2b76ca(0x356)]['push'](_0x22bb92),this;}[_0x59924f(0x359)](_0x587b58){var _0x49ed1a=_0x59924f;return this[_0x49ed1a(0x1a4)][_0x49ed1a(0x1f7)](_0x587b58),this;}[_0x59924f(0x3af)](_0x3eb8fa){var _0x363036=_0x59924f;if(this[_0x363036(0x2d8)])return this['_acknowledgedAwaitingChangeset']=this[_0x363036(0x2d8)],this[_0x363036(0x2d8)]=null,this;throw new Error(_0x363036(0x25a));}[_0x59924f(0x256)](_0x4a8b84){var _0x258723=_0x59924f;return this[_0x258723(0x374)](!!(_0x4a8b84!=null&&_0x4a8b84[_0x258723(0x24e)]));}[_0x59924f(0x127)](){return this;}[_0x59924f(0x41c)](){var _0x39899d=_0x59924f;return this[_0x39899d(0x3c3)][_0x39899d(0x151)](fe,this[_0x39899d(0x307)],this[_0x39899d(0x38c)],this[_0x39899d(0x2d8)],this[_0x39899d(0x356)],this[_0x39899d(0x34e)]);}[_0x59924f(0x2fe)](){return this;}['_onConflict'](_0x5b1cad){var _0x30dd21=_0x59924f;return this['_injector'][_0x30dd21(0x151)](de,this[_0x30dd21(0x307)],this[_0x30dd21(0x38c)],this[_0x30dd21(0x2d8)],this['_pendingMutations'],this['_handler'],_0x5b1cad);}};te=Re([A(0x7,_0x1bc764(_0x305299)),A(0x8,_0x1bc764(_0x55a265)),A(0x9,_0x54d1e0),A(0xa,_0x138ae6),A(0xb,_0x1d3917),A(0xc,_0x3511a4),A(0xd,_0x4e682c(J))],te);function Di(_0x3dd998,_0x4eba77,_0x32b498,_0x4f9fc4,_0x35485c,_0x5e4dc4){var _0x2ca337=_0x59924f;return _0x4f9fc4&&_0x35485c[_0x2ca337(0x351)]?_0x3dd998[_0x2ca337(0x151)](ae,_0x4eba77,_0x32b498,_0x4f9fc4,_0x35485c,_0x5e4dc4,void 0x0):_0x4f9fc4?_0x3dd998[_0x2ca337(0x151)](ue,_0x4eba77,_0x32b498,_0x4f9fc4,_0x5e4dc4):_0x35485c['length']?_0x3dd998[_0x2ca337(0x151)](oe,_0x4eba77,_0x32b498,_0x35485c,_0x5e4dc4):_0x3dd998[_0x2ca337(0x151)](De,_0x4eba77,_0x32b498,_0x5e4dc4);}var vr=Object['defineProperty'],pr=Object['getOwnPropertyDescriptor'],Lt=(_0x27140c,_0x4bc9a1,_0x403088,_0xf19a92)=>{var _0xfa03dc=_0x59924f;for(var _0x3ab3ec=_0xf19a92>0x1?void 0x0:_0xf19a92?pr(_0x4bc9a1,_0x403088):_0x4bc9a1,_0x20b98d=_0x27140c[_0xfa03dc(0x351)]-0x1,_0x4c93f9;_0x20b98d>=0x0;_0x20b98d--)(_0x4c93f9=_0x27140c[_0x20b98d])&&(_0x3ab3ec=(_0xf19a92?_0x4c93f9(_0x4bc9a1,_0x403088,_0x3ab3ec):_0x4c93f9(_0x3ab3ec))||_0x3ab3ec);return _0xf19a92&&_0x3ab3ec&&vr(_0x4bc9a1,_0x403088,_0x3ab3ec),_0x3ab3ec;},k=(_0xfb4457,_0x3afe80)=>(_0xf16308,_0x231be3)=>_0x3afe80(_0xf16308,_0x231be3,_0xfb4457);let nt=class extends _0x2d45c2{constructor(_0x25d755,_0x5ac2eb,_0x27a3d4,_0x44226c,_0x371fb9,_0x520c9b,_0x989bd7,_0x3e7333,_0x195dfa,_0x1f3b75,_0x540a5f,_0x13dbbf,_0x119e68){var _0x270537=_0x59924f;super(),N(this,'_state$',new _0x1684f8(null)),N(this,_0x270537(0x2e9),this[_0x270537(0x303)][_0x270537(0x3b7)]()),N(this,'_state'),N(this,_0x270537(0x388),!0x1),N(this,_0x270537(0x3c9),''),N(this,_0x270537(0x1a8),0x0),N(this,_0x270537(0x402),this['state$'][_0x270537(0x25b)](_0x617683(_0x4d2db0=>_0x4d2db0?_0x4d2db0[_0x270537(0x3cb)]:yi['OFFLINE']),_0x69203a(0x1))),N(this,_0x270537(0x178),!0x1),N(this,_0x270537(0x2de),[]),(this['unitID']=_0x25d755,this[_0x270537(0x1f8)]=_0x5ac2eb,this['_type']=_0x27a3d4,this['_injector']=_0x44226c,this[_0x270537(0x20c)]=_0x371fb9,this[_0x270537(0x14f)]=_0x520c9b,this[_0x270537(0x179)]=_0x989bd7,this[_0x270537(0x35d)]=_0x3e7333,this[_0x270537(0x11d)]=_0x195dfa,this[_0x270537(0x395)]=_0x1f3b75,this['_permissionService']=_0x540a5f,this[_0x270537(0x2be)]=_0x13dbbf,this['_localCacheService']=_0x119e68);}get['state'](){var _0x2d06b2=_0x59924f;return this[_0x2d06b2(0x242)];}async[_0x59924f(0x336)](){var _0x43521d=_0x59924f;if(this[_0x43521d(0x18d)])throw new Error(_0x43521d(0x384));await this[_0x43521d(0x309)]();}[_0x59924f(0x2e2)](){return this['_collaborationPaused']=!0x0,_0x22d2a9(()=>{var _0x5b75c7=_0x2b46;this[_0x5b75c7(0x388)]=!0x1,this[_0x5b75c7(0x41d)]();});}[_0x59924f(0x26c)](_0x2e0427){var _0x10206c=_0x59924f;this[_0x10206c(0x375)](_0x2e0427);}['_updateState'](_0x49f1b5){var _0x48f2a4=_0x59924f;this['_state']=_0x49f1b5,this[_0x48f2a4(0x303)][_0x48f2a4(0x268)](_0x49f1b5);}async[_0x59924f(0x309)](){var _0x3040a7=_0x59924f,_0x1db675;this[_0x3040a7(0x209)](await this[_0x3040a7(0x21a)]()),this['_singleActiveUnitService']&&((_0x1db675=this[_0x3040a7(0x2be)])==null||_0x1db675[_0x3040a7(0x398)](this[_0x3040a7(0x307)]),this[_0x3040a7(0x237)](this[_0x3040a7(0x2be)]['getUnitStatus$'](this['unitID'])[_0x3040a7(0x387)](_0x1c91b1=>{var _0x1f53db=_0x3040a7;this[_0x1f53db(0x11d)][_0x1f53db(0x1d4)](_0x1f53db(0x198),_0x1f53db(0x229),_0x1c91b1),_0x1c91b1===bi[_0x1f53db(0x2e6)]?(this[_0x1f53db(0x35d)][_0x1f53db(0x1fa)]({'id':se[_0x1f53db(0x26d)]}),this[_0x1f53db(0x1e5)][_0x1f53db(0x119)](new _0x28e48e(this['unitID'])['id'],!0x1),this[_0x1f53db(0x1e5)][_0x1f53db(0x27c)](!0x1)):(this['_permissionService'][_0x1f53db(0x119)](new _0x28e48e(this['unitID'])['id'],!0x0),this[_0x1f53db(0x1e5)][_0x1f53db(0x27c)](!0x0));})));let _0x41ff06=!0x1;return this['disposeWithMe'](this['session'][_0x3040a7(0x406)][_0x3040a7(0x387)](_0x56a578=>{var _0x2c6038=_0x3040a7;_0x56a578===Te[_0x2c6038(0x321)]?this['_toggleOnline'](_0x41ff06):_0x56a578===Te[_0x2c6038(0x39c)]&&(_0x41ff06=!0x0,this[_0x2c6038(0x3b8)]());})),this[_0x3040a7(0x237)](this[_0x3040a7(0x1f8)][_0x3040a7(0x1ae)]['subscribe'](_0x1848bf=>{var _0x3a9ff5=_0x3040a7;try{switch(_0x1848bf[_0x3a9ff5(0x35c)]){case _0x2872d1[_0x3a9ff5(0x228)]:{this[_0x3a9ff5(0x3f4)](_0x241d74(_0x1848bf[_0x3a9ff5(0x27b)]));break;}case _0x2872d1[_0x3a9ff5(0x1bd)]:{this[_0x3a9ff5(0x3c7)](_0x1848bf[_0x3a9ff5(0x27b)]);break;}case _0x2872d1[_0x3a9ff5(0x355)]:{this[_0x3a9ff5(0x15d)]();break;}case _0x2872d1[_0x3a9ff5(0x247)]:{this['_onRemoteRetry'](_0x1848bf['data']);break;}case _0x2872d1[_0x3a9ff5(0x1e7)]:{this['_onFetchMissResult'](_0x1848bf['data'][_0x3a9ff5(0x3e7)][_0x3a9ff5(0x30a)](_0x166ef1=>_0x241d74(_0x166ef1)));break;}case _0x2872d1['PERMISSION_REJ']:{this[_0x3a9ff5(0x15d)]({'isPermissionRej':!0x0});break;}case _0x2872d1[_0x3a9ff5(0x134)]:break;}}catch(_0x413aa1){throw console['error'](_0x3a9ff5(0x176),_0x413aa1),_0x413aa1;}})),this[_0x3040a7(0x242)];}['_unlockTransition'](){var _0x5a2c80=_0x59924f;this[_0x5a2c80(0x178)]=!0x1;}[_0x59924f(0x14a)](){var _0x433122=_0x59924f;if(this[_0x433122(0x178)])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[_0x433122(0x178)]=!0x0;}[_0x59924f(0x375)](_0x31221b){var _0x5eb737=_0x59924f;this[_0x5eb737(0x14a)](),this[_0x5eb737(0x209)](this['_state'][_0x5eb737(0x396)](_0x31221b)),this[_0x5eb737(0x184)]();}[_0x59924f(0x3f4)](_0x84a5c1){var _0x4d60f7=_0x59924f;if(!(_0x84a5c1['revision']<=this[_0x4d60f7(0x179)][_0x4d60f7(0x3d4)](this['unitID']))){if(this[_0x4d60f7(0x388)]){this[_0x4d60f7(0x2de)][_0x4d60f7(0x1f7)](_0x84a5c1);return;}this['_applyRemoteChangeset'](_0x84a5c1);}}[_0x59924f(0x41d)](){var _0x140ca9=_0x59924f;this[_0x140ca9(0x2de)][_0x140ca9(0x3be)](_0x28f3e6=>this[_0x140ca9(0x318)](_0x28f3e6)),this[_0x140ca9(0x2de)]=[];}[_0x59924f(0x318)](_0x5da0e0){var _0x1d4224=_0x59924f;const _0x2728b9=this[_0x1d4224(0x20c)][_0x1d4224(0x341)][_0x1d4224(0x2ae)](this[_0x1d4224(0x20c)][_0x1d4224(0x341)][_0x1d4224(0x1b0)]()[_0x1d4224(0x320)])(_0x5da0e0[_0x1d4224(0x29c)],null)||_0x5da0e0['mutations'],_0x10892c={..._0x5da0e0,'mutations':_0x2728b9};this[_0x1d4224(0x14a)](),this[_0x1d4224(0x209)](this[_0x1d4224(0x242)][_0x1d4224(0x359)](_0x10892c)),this[_0x1d4224(0x184)]();}[_0x59924f(0x3c7)](_0x3d4d87){var _0x443a7d=_0x59924f;this[_0x443a7d(0x14a)](),this[_0x443a7d(0x209)](this[_0x443a7d(0x242)]['onRemoteAck'](_0x3d4d87)),this['_unlockTransition']();}[_0x59924f(0x15d)](_0x62e211){var _0x33c248=_0x59924f;this[_0x33c248(0x14a)](),this[_0x33c248(0x209)](this[_0x33c248(0x242)][_0x33c248(0x256)](_0x62e211)),this[_0x33c248(0x184)]();}[_0x59924f(0x183)](_0x169af7){var _0x450d90=_0x59924f;this[_0x450d90(0x14a)](),this[_0x450d90(0x209)](this[_0x450d90(0x242)][_0x450d90(0x127)](_0x169af7)),this[_0x450d90(0x184)]();}[_0x59924f(0x40a)](_0x3bd465){var _0x2da2e5=_0x59924f;if(!(this['_state']instanceof te))throw new TypeError(_0x2da2e5(0x1af));const _0x23fe77=_0x3bd465['map'](_0xe4e69c=>{var _0x266dc7=_0x2da2e5;const _0x25bc89=this[_0x266dc7(0x20c)]['interceptor'][_0x266dc7(0x2ae)](this['_compressMutationService'][_0x266dc7(0x341)]['getInterceptPoints']()[_0x266dc7(0x320)])(_0xe4e69c[_0x266dc7(0x29c)],null)||_0xe4e69c[_0x266dc7(0x29c)];return{..._0xe4e69c,'mutations':_0x25bc89};});this[_0x2da2e5(0x14a)](),this[_0x2da2e5(0x209)](this[_0x2da2e5(0x242)][_0x2da2e5(0x1fc)](_0x23fe77)),this[_0x2da2e5(0x184)]();}[_0x59924f(0x3b8)](){var _0x3686c2=_0x59924f;this['_lockTransition'](),this[_0x3686c2(0x209)](this['_state'][_0x3686c2(0x41c)]()),this[_0x3686c2(0x184)]();}[_0x59924f(0x3f5)](_0x2fa7f1=!0x1){var _0x547864=_0x59924f;this['_lockTransition'](),this['_updateState'](this[_0x547864(0x242)][_0x547864(0x2fe)]()),this['_unlockTransition']();const _0x1bfe83=this['_state'];_0x2fa7f1&&_0x1bfe83 instanceof De&&(this[_0x547864(0x14a)](),this[_0x547864(0x209)](_0x1bfe83[_0x547864(0x36a)]()),this[_0x547864(0x184)]());}async[_0x59924f(0x21a)](){return new Promise(_0x9486cc=>{var _0x4a4ecd=_0x2b46;this['session'][_0x4a4ecd(0x406)][_0x4a4ecd(0x25b)](_0x4b3b13(0x1))[_0x4a4ecd(0x387)](async _0x26b385=>{var _0x59d4c6=_0x4a4ecd;_0x9486cc(await this[_0x59d4c6(0x325)](_0x26b385===Te['ONLINE']));});});}[_0x59924f(0x30c)](){var _0x2bfdd5=_0x59924f;const _0x43c530=this[_0x2bfdd5(0x307)];return{'onStateChange':(_0x598b78,_0x497ff6)=>{var _0x226e59=_0x2bfdd5;if(_0x598b78!==this[_0x226e59(0x242)])throw new Error(_0x226e59(0x1f5)+_0x598b78[_0x226e59(0x3cb)]+_0x226e59(0x2f8)+_0x497ff6[_0x226e59(0x3cb)]+_0x226e59(0x34b)+this['_state']['status']);this[_0x226e59(0x209)](_0x497ff6);},'onSendChangeset':_0x126e55=>{var _0x59b18e=_0x2bfdd5;_0x126e55[_0x59b18e(0x1b3)]||(_0x126e55[_0x59b18e(0x1b3)]=this[_0x59b18e(0x3c9)],_0x126e55[_0x59b18e(0x235)]=++this[_0x59b18e(0x1a8)]);const _0x4718d7={'eventID':_0x2872d1['SUBMIT_CHANGESET'],'data':{'unitID':_0x126e55[_0x59b18e(0x307)],'unitType':this[_0x59b18e(0x12d)],'changeset':_0x126e55,'memberID':this['session']['getMemberID']()}};this['session']['send'](_0x4718d7,this['unitID']);},'onMissingChangesets':({from:_0x55676e,to:_0x2592ea})=>{var _0x5e187c=_0x2bfdd5;this['_logService'][_0x5e187c(0x1d4)](_0x5e187c(0x198),'fetching\x20missing\x20changesets\x20from\x20'+_0x55676e+_0x5e187c(0x383)+_0x2592ea);const _0x4a7a5e={'eventID':_0x2872d1['FETCH_MISSING'],'data':{'unitID':_0x43c530,'unitType':this[_0x5e187c(0x12d)],'from':_0x55676e,'to':_0x2592ea}};this['session'][_0x5e187c(0x3e0)](_0x4a7a5e,this['unitID']);}};}async[_0x59924f(0x325)](_0x488a62){var _0xb5394e=_0x59924f,_0x408512,_0x1aba54,_0x9dc6b6;const _0x17959b=await((_0x408512=this[_0xb5394e(0x1ac)])==null?void 0x0:_0x408512['loadOfflineData'](this[_0xb5394e(0x307)])),_0x29c87c=(_0x1aba54=_0x17959b==null?void 0x0:_0x17959b[_0xb5394e(0x29c)])!=null?_0x1aba54:[],_0x2a0e03=(_0x9dc6b6=_0x17959b==null?void 0x0:_0x17959b[_0xb5394e(0x2f7)])!=null?_0x9dc6b6:null,_0x2d9ca0=!!(_0x2a0e03!=null&&_0x2a0e03[_0xb5394e(0x1b3)])&&!!(_0x2a0e03!=null&&_0x2a0e03[_0xb5394e(0x235)]);this[_0xb5394e(0x3c9)]=_0x2d9ca0?_0x2a0e03[_0xb5394e(0x1b3)]:sr(),this[_0xb5394e(0x1a8)]=_0x2d9ca0?_0x2a0e03['reqId']:0x0;const _0x5ca289=this[_0xb5394e(0x307)];try{this[_0xb5394e(0x3e6)](_0x2a0e03,_0x29c87c);}catch(_0xe8f2e7){this[_0xb5394e(0x11d)][_0xb5394e(0x289)](_0xe8f2e7);}const _0x212aea=this[_0xb5394e(0x30c)]();if(_0x488a62){const _0x5a1e8e=Di(this[_0xb5394e(0x3c3)],_0x5ca289,this[_0xb5394e(0x12d)],_0x2a0e03,_0x29c87c,_0x212aea);return _0x5a1e8e instanceof oe?_0x5a1e8e[_0xb5394e(0x37b)]():(_0x5a1e8e instanceof ae||_0x5a1e8e instanceof ue)&&_0x5a1e8e[_0xb5394e(0x1b9)](),_0x5a1e8e;}return this[_0xb5394e(0x3c3)][_0xb5394e(0x151)](fe,_0x5ca289,this[_0xb5394e(0x12d)],_0x2a0e03,_0x29c87c,_0x212aea);}[_0x59924f(0x3e6)](_0x3b041e,_0x129a15){var _0x4b3c3f=_0x59924f,_0x549246,_0xd901bd;const _0x183fd=this[_0x4b3c3f(0x20c)][_0x4b3c3f(0x341)][_0x4b3c3f(0x2ae)](this[_0x4b3c3f(0x20c)]['interceptor']['getInterceptPoints']()['COMPRESS_MUTATION_APPLY']);(_0x549246=_0x183fd((_0x3b041e==null?void 0x0:_0x3b041e[_0x4b3c3f(0x29c)])||[],null))==null||_0x549246['forEach'](_0x3bd502=>this['_commandService'][_0x4b3c3f(0x13c)](_0x3bd502['id'],_0x3bd502[_0x4b3c3f(0x3e3)])),(_0xd901bd=_0x183fd(_0x129a15||[],null))==null||_0xd901bd[_0x4b3c3f(0x3be)](_0x3ae600=>this[_0x4b3c3f(0x395)][_0x4b3c3f(0x13c)](_0x3ae600['id'],_0x3ae600['params']));}};nt=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(pe)),k(0x8,_0x54d1e0),k(0x9,_0x138ae6),k(0xa,_0xb52dec),k(0xb,_0x4e682c(ht)),k(0xc,_0x4e682c(J))],nt);let Tt=class extends nt{constructor(_0x2a7810,_0x2a237f,_0x50d641,_0x420805,_0x1e4ae1,_0xc8f057,_0x1bed98,_0x116736,_0x32ab55,_0x1a5e31,_0x50172f,_0x28656d,_0x21b63f){var _0x3cdcd9=_0x59924f;super(_0x2a7810,_0x50d641,_0x2a237f,_0x420805,_0x1e4ae1,_0xc8f057,_0x1bed98,_0x116736,_0x32ab55,_0x1a5e31,_0x50172f,_0x28656d,_0x21b63f),N(this,_0x3cdcd9(0x3ad),null),(this[_0x3cdcd9(0x307)]=_0x2a7810,this[_0x3cdcd9(0x38c)]=_0x2a237f);}[_0x59924f(0x324)](_0x4ef37d){var _0x1b73ee=_0x59924f;this[_0x1b73ee(0x3ad)]=_0x4ef37d;}[_0x59924f(0x2c6)](){var _0xd16a93=_0x59924f;this[_0xd16a93(0x3ad)]=null,super[_0xd16a93(0x2c6)]();}['_createHandler'](){var _0x1d627d=_0x59924f;const _0x247594=super[_0x1d627d(0x30c)]();return _0x247594[_0x1d627d(0x1cd)]=_0x8b1ff5=>{var _0x3c9226=_0x1d627d,_0xa38321,_0x28a954;return(_0x28a954=(_0xa38321=this['_handlerCallback'])==null?void 0x0:_0xa38321[_0x3c9226(0x1cd)])==null?void 0x0:_0x28a954['call'](_0xa38321,_0x8b1ff5);},_0x247594[_0x1d627d(0x3f6)]=_0x24bcf6=>{var _0x514ca2=_0x1d627d,_0x226b4c,_0x29c649;return(_0x29c649=(_0x226b4c=this[_0x514ca2(0x3ad)])==null?void 0x0:_0x226b4c[_0x514ca2(0x3f6)])==null?void 0x0:_0x29c649['call'](_0x226b4c,_0x24bcf6);},_0x247594[_0x1d627d(0x1f0)]=_0x534206=>{var _0x468e86=_0x1d627d,_0x21efa7,_0x114f81;return(_0x114f81=(_0x21efa7=this['_handlerCallback'])==null?void 0x0:_0x21efa7['onTransformSelections'])==null?void 0x0:_0x114f81[_0x468e86(0x401)](_0x21efa7,_0x534206);},_0x247594['onSyncEditingCollabCursor']=_0x15f6e8=>{var _0x198f9c=_0x1d627d,_0x34d261,_0x4d2447;return(_0x4d2447=(_0x34d261=this[_0x198f9c(0x3ad)])==null?void 0x0:_0x34d261[_0x198f9c(0x123)])==null?void 0x0:_0x4d2447[_0x198f9c(0x401)](_0x34d261,_0x15f6e8);},_0x247594['onTransformRemoteChangesetByIMECache']=_0x3e88aa=>{var _0x2d688a=_0x1d627d,_0x348998,_0x46ad7e,_0x31742c;if(!((_0x348998=this[_0x2d688a(0x3ad)])!=null&&_0x348998[_0x2d688a(0x199)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x31742c=(_0x46ad7e=this[_0x2d688a(0x3ad)])==null?void 0x0:_0x46ad7e['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x31742c[_0x2d688a(0x401)](_0x46ad7e,_0x3e88aa);},_0x247594[_0x1d627d(0x234)]=_0x4d8d7a=>{var _0x1e4239=_0x1d627d,_0x1dcef3,_0x29581c,_0x287b60;if(!((_0x1dcef3=this[_0x1e4239(0x3ad)])!=null&&_0x1dcef3[_0x1e4239(0x234)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x287b60=(_0x29581c=this[_0x1e4239(0x3ad)])==null?void 0x0:_0x29581c[_0x1e4239(0x234)])==null?void 0x0:_0x287b60['call'](_0x29581c,_0x4d8d7a);},_0x247594;}async[_0x59924f(0x309)](){var _0x3810f2=_0x59924f;const _0x33ba51=await super['_init']();return this[_0x3810f2(0x237)](this['_commandService'][_0x3810f2(0x3d9)]((_0x11f962,_0x3a6ec9)=>{var _0x5ba213=_0x3810f2;if(_0x11f962[_0x5ba213(0x38c)]!==_0x1a1be5[_0x5ba213(0x39d)]||_0x3a6ec9!=null&&_0x3a6ec9[_0x5ba213(0x1db)]||_0x3a6ec9!=null&&_0x3a6ec9[_0x5ba213(0x313)]||_0x11f962['id']===_0xf6a1e8['id'])return;const _0x4feca7=_0x11f962[_0x5ba213(0x3e3)];if((_0x4feca7==null?void 0x0:_0x4feca7[_0x5ba213(0x3d2)])!==this[_0x5ba213(0x307)])return;const _0x38c1cc=_0x11f962,_0x51a577=this[_0x5ba213(0x20c)][_0x5ba213(0x341)]['fetchThroughInterceptors'](this[_0x5ba213(0x20c)]['interceptor'][_0x5ba213(0x1b0)]()[_0x5ba213(0x196)])([_0x38c1cc],null)||[_0x38c1cc];this[_0x5ba213(0x375)](_0x51a577[0x0]);})),_0x33ba51;}};Tt=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(pe)),k(0x8,_0x54d1e0),k(0x9,_0x138ae6),k(0xa,_0xb52dec),k(0xb,_0x4e682c(ht)),k(0xc,_0x4e682c(J))],Tt);let Ct=class extends nt{constructor(_0x2b0453,_0x515c67,_0x6c6e71,_0x25fd7c,_0x270608,_0x9195df,_0x35a93c,_0x296a99,_0x70da89,_0x275948,_0x47f7a9,_0x29d67e,_0x4ff352,_0x4cb74b){var _0xb9114=_0x59924f;super(_0x2b0453,_0x6c6e71,_0x515c67,_0x25fd7c,_0x270608,_0x9195df,_0x35a93c,_0x70da89,_0x275948,_0x47f7a9,_0x29d67e,_0x4ff352,_0x4cb74b),this[_0xb9114(0x307)]=_0x2b0453,this['type']=_0x515c67,this[_0xb9114(0x294)]=_0x296a99;}[_0x59924f(0x30c)](){var _0x59f417=_0x59924f;const _0x19292f=super['_createHandler']();return _0x19292f[_0x59f417(0x1f0)]=_0x189add=>this[_0x59f417(0x294)][_0x59f417(0x216)](_0x189add),_0x19292f;}async[_0x59924f(0x309)](){var _0x384955=_0x59924f;const _0x40aed1=await super[_0x384955(0x309)]();return this['disposeWithMe'](this[_0x384955(0x395)][_0x384955(0x3d9)]((_0x4611e6,_0x4868be)=>{var _0x1db99f=_0x384955;if(_0x4611e6[_0x1db99f(0x38c)]!==_0x1a1be5[_0x1db99f(0x39d)]||_0x4868be!=null&&_0x4868be[_0x1db99f(0x1db)]||_0x4868be!=null&&_0x4868be[_0x1db99f(0x313)])return;const _0x1f8406=_0x4611e6[_0x1db99f(0x3e3)];if((_0x1f8406==null?void 0x0:_0x1f8406['unitId'])!==this[_0x1db99f(0x307)])return;const _0x246dfc=_0x4611e6,_0x53ec79=this[_0x1db99f(0x20c)]['interceptor']['fetchThroughInterceptors'](this[_0x1db99f(0x20c)][_0x1db99f(0x341)][_0x1db99f(0x1b0)]()[_0x1db99f(0x196)])([_0x246dfc],null)||[_0x246dfc];this[_0x1db99f(0x375)](_0x53ec79[0x0]);})),_0x40aed1;}};Ct=Lt([k(0x3,_0x1bc764(_0x305299)),k(0x4,_0x1bc764(_0x1b0178)),k(0x5,_0x1bc764(_0x436289)),k(0x6,_0x1bc764(_0x55a265)),k(0x7,_0x1bc764(it)),k(0x8,_0x1bc764(pe)),k(0x9,_0x54d1e0),k(0xa,_0x138ae6),k(0xb,_0xb52dec),k(0xc,_0x4e682c(ht)),k(0xd,_0x4e682c(J))],Ct);var mr=Object[_0x59924f(0x385)],gr=Object['getOwnPropertyDescriptor'],Sr=(_0x109e9f,_0x65763e,_0x133239,_0x20580f)=>{var _0x410c3e=_0x59924f;for(var _0x563391=_0x20580f>0x1?void 0x0:_0x20580f?gr(_0x65763e,_0x133239):_0x65763e,_0x9ecf74=_0x109e9f[_0x410c3e(0x351)]-0x1,_0x53e2e2;_0x9ecf74>=0x0;_0x9ecf74--)(_0x53e2e2=_0x109e9f[_0x9ecf74])&&(_0x563391=(_0x20580f?_0x53e2e2(_0x65763e,_0x133239,_0x563391):_0x53e2e2(_0x563391))||_0x563391);return _0x20580f&&_0x563391&&mr(_0x65763e,_0x133239,_0x563391),_0x563391;},ft=(_0x5e4224,_0x5a431f)=>(_0x24053d,_0x541953)=>_0x5a431f(_0x24053d,_0x541953,_0x5e4224);let rt=class extends _0x2d45c2{constructor(_0x25ecc7,_0x51ec30,_0x3e8803){var _0x198864=_0x59924f;super(),N(this,_0x198864(0x276),new Map()),N(this,_0x198864(0x424),new _0x524606()),N(this,_0x198864(0x3e5),this[_0x198864(0x424)][_0x198864(0x3b7)]()),(this[_0x198864(0x3c3)]=_0x25ecc7,this[_0x198864(0x310)]=_0x51ec30,this[_0x198864(0x2d7)]=_0x3e8803,this[_0x198864(0x309)]());}[_0x59924f(0x2c6)](){var _0x26b5c4=_0x59924f;super['dispose'](),this['_entities'][_0x26b5c4(0x3be)](_0x4b60b9=>_0x4b60b9[_0x26b5c4(0x2c6)]()),this[_0x26b5c4(0x276)][_0x26b5c4(0x392)]();}[_0x59924f(0x1ef)](_0x3b17bb){var _0x4eb83c=_0x59924f,_0x33521f;return(_0x33521f=this[_0x4eb83c(0x276)][_0x4eb83c(0x13d)](_0x3b17bb))!=null?_0x33521f:null;}[_0x59924f(0x236)](_0x2191ee){var _0xb0e3ad=_0x59924f;const _0x1c6455=this['getCollabEntity'](_0x2191ee);return _0x1c6455?_0x815db8(_0x1c6455):this['_entityInit$'][_0xb0e3ad(0x25b)](_0xca8f0(_0x5f2055=>_0x5f2055[_0xb0e3ad(0x307)]===_0x2191ee));}[_0x59924f(0x2b5)](_0x7e67ec){var _0x51ccab=_0x59924f;return _0x2b4fca(this[_0x51ccab(0x236)](_0x7e67ec)[_0x51ccab(0x25b)](_0x23545a(()=>{})));}[_0x59924f(0x309)](){var _0x100be8=_0x59924f;this[_0x100be8(0x2d7)][_0x100be8(0x3ed)](_0x51bed3[_0x100be8(0x14c)])[_0x100be8(0x25b)](_0x3b11d7(this[_0x100be8(0x217)]),_0x264413(0x10))[_0x100be8(0x387)](async _0x39879b=>{var _0x38d07c=_0x100be8;const _0x4e8893=_0x39879b[_0x38d07c(0x201)](),_0x3c1a67=await this[_0x38d07c(0x1ab)](_0x4e8893,Q[_0x38d07c(0x14c)]);this['_entities'][_0x38d07c(0x2d3)](_0x4e8893,_0x3c1a67);}),this[_0x100be8(0x2d7)][_0x100be8(0x3ed)](_0x51bed3[_0x100be8(0x3fa)])[_0x100be8(0x25b)](_0x3b11d7(this[_0x100be8(0x217)]),_0x264413(0x10))[_0x100be8(0x25b)](_0xca8f0(_0x3b4c39=>!_0x3b4c39[_0x100be8(0x201)]()[_0x100be8(0x361)]('__')))[_0x100be8(0x387)](async _0x462d68=>{var _0xe3b82f=_0x100be8;const _0x207cfb=_0x462d68[_0xe3b82f(0x201)](),_0x123a56=await this['_startCollaboration'](_0x207cfb,Q['UNIVER_DOC']);this['_entities']['set'](_0x207cfb,_0x123a56);}),_0x4166c5(this[_0x100be8(0x2d7)][_0x100be8(0x2ca)](_0x51bed3[_0x100be8(0x14c)]),this[_0x100be8(0x2d7)]['getTypeOfUnitDisposed$'](_0x51bed3['UNIVER_DOC']))['pipe'](_0x3b11d7(this['dispose$']))[_0x100be8(0x387)](_0x559580=>{var _0x10a31d=_0x100be8;const _0x4b6fd4=_0x559580[_0x10a31d(0x201)](),_0x20dc25=this[_0x10a31d(0x276)][_0x10a31d(0x13d)](_0x4b6fd4);_0x20dc25&&(_0x20dc25[_0x10a31d(0x2c6)](),this['_entities'][_0x10a31d(0x255)](_0x4b6fd4));});}async[_0x59924f(0x1ab)](_0x4b8385,_0x2c6510){var _0x183af5=_0x59924f;const _0xce4c55=await this[_0x183af5(0x310)][_0x183af5(0x205)](_0x4b8385),_0x270772=this['_injector'][_0x183af5(0x151)](this[_0x183af5(0x1d8)](_0x2c6510),_0x4b8385,_0x2c6510,_0xce4c55);return await _0x270772[_0x183af5(0x336)](),this[_0x183af5(0x424)][_0x183af5(0x268)](_0x270772),_0x270772;}['_getCtorByUniverType'](_0x4fc774){var _0x1483b5=_0x59924f;switch(_0x4fc774){case Q[_0x1483b5(0x3fa)]:return Tt;case Q[_0x1483b5(0x14c)]:return Ct;default:throw new Error(_0x1483b5(0x148)+_0x4fc774);}}};rt=Sr([ft(0x0,_0x1bc764(_0x305299)),ft(0x1,_0x1bc764(Le)),ft(0x2,_0x4844be)],rt);var Er=Object['defineProperty'],Ir=Object[_0x59924f(0x33e)],Tr=(_0x4e7778,_0xc284ed,_0x25a44f,_0x5ded5a)=>{var _0x20614c=_0x59924f;for(var _0x577894=_0x5ded5a>0x1?void 0x0:_0x5ded5a?Ir(_0xc284ed,_0x25a44f):_0xc284ed,_0x311a15=_0x4e7778[_0x20614c(0x351)]-0x1,_0x588180;_0x311a15>=0x0;_0x311a15--)(_0x588180=_0x4e7778[_0x311a15])&&(_0x577894=(_0x5ded5a?_0x588180(_0xc284ed,_0x25a44f,_0x577894):_0x588180(_0x577894))||_0x577894);return _0x5ded5a&&_0x577894&&Er(_0xc284ed,_0x25a44f,_0x577894),_0x577894;},Jt=(_0x5745dc,_0x586830)=>(_0x36470d,_0x245326)=>_0x586830(_0x36470d,_0x245326,_0x5745dc);const Cr=_0x59924f(0x2f2),Rr=_0x59924f(0x323);let Rt=class extends _0xfc6e5{constructor(_0x318e99,_0x35421a){var _0x20a3ab=_0x59924f;super(),this[_0x20a3ab(0x2d7)]=_0x318e99,this[_0x20a3ab(0x3c1)]=_0x35421a,this[_0x20a3ab(0x309)]();}[_0x59924f(0x309)](){var _0x490a94=_0x59924f;this[_0x490a94(0x237)](this[_0x490a94(0x2d7)][_0x490a94(0x26e)][_0x490a94(0x387)](()=>{var _0x43a1c5=_0x490a94,_0x5f20a2;const _0xbd4b73=this['_univerInstanceService'][_0x43a1c5(0x360)]();let _0x853859=(_0x5f20a2=this['_configService'][_0x43a1c5(0x180)](Cr))!=null?_0x5f20a2:Rr;_0xbd4b73 instanceof _0x12fdcf&&(_0x853859=_0xbd4b73[_0x43a1c5(0x38b)]),document[_0x43a1c5(0x1ec)]=_0x853859;}));}};Rt=Tr([Jt(0x0,_0x4844be),Jt(0x1,_0x30c313)],Rt);var br=Object[_0x59924f(0x385)],Or=Object[_0x59924f(0x33e)],yr=(_0x1df549,_0x3e0915,_0x3289d7,_0x3ff336)=>{var _0xdaf875=_0x59924f;for(var _0x4890ac=_0x3ff336>0x1?void 0x0:_0x3ff336?Or(_0x3e0915,_0x3289d7):_0x3e0915,_0x1c5f6c=_0x1df549[_0xdaf875(0x351)]-0x1,_0x4a7004;_0x1c5f6c>=0x0;_0x1c5f6c--)(_0x4a7004=_0x1df549[_0x1c5f6c])&&(_0x4890ac=(_0x3ff336?_0x4a7004(_0x3e0915,_0x3289d7,_0x4890ac):_0x4a7004(_0x4890ac))||_0x4890ac);return _0x3ff336&&_0x4890ac&&br(_0x3e0915,_0x3289d7,_0x4890ac),_0x4890ac;},vt=(_0x3cff87,_0x115f6b)=>(_0x1bd312,_0x57d545)=>_0x115f6b(_0x1bd312,_0x57d545,_0x3cff87);let st=class{constructor(_0x112bcd,_0x5897fb,_0x3fe60f){var _0x3c4ef6=_0x59924f;this[_0x3c4ef6(0x3c1)]=_0x112bcd,this[_0x3c4ef6(0x252)]=_0x5897fb,this[_0x3c4ef6(0x1be)]=_0x3fe60f,this[_0x3c4ef6(0x336)]();}[_0x59924f(0x336)](){var _0x2bb37a=_0x59924f;this[_0x2bb37a(0x252)][_0x2bb37a(0x29b)]({'priority':0x1,'interceptor':(_0x1ce265,_0x5acdc7)=>_0x5acdc7(_0x1ce265)[_0x2bb37a(0x25b)](_0x2f3673(async _0x33228e=>{var _0x24253a=_0x2bb37a;const _0x5f0b9c=_0x33228e;if(_0x5f0b9c['status']===0x191){if(typeof window>'u')throw new Error(_0x24253a(0x3b4));if(window['confirm'](this[_0x24253a(0x1be)]['t'](_0x24253a(0x3b2)))){const _0x32f979=window[_0x24253a(0x258)](window[_0x24253a(0x2a7)][_0x24253a(0x319)]);window[_0x24253a(0x2a7)][_0x24253a(0x319)]=this[_0x24253a(0x2cd)]()+_0x24253a(0x25d)+_0x32f979;}}return _0x5f0b9c;}))});}[_0x59924f(0x2cd)](){var _0x49a2b2=_0x59924f,_0x4196e6,_0x489b4f;const _0x4e3ceb=this[_0x49a2b2(0x3c1)][_0x49a2b2(0x180)](xn),_0x529ba5=this[_0x49a2b2(0x3c1)][_0x49a2b2(0x180)](q);return(_0x489b4f=(_0x4196e6=_0x529ba5==null?void 0x0:_0x529ba5['loginUrlKey'])!=null?_0x4196e6:_0x4e3ceb)!=null?_0x489b4f:Ln;}};st=yr([vt(0x0,_0x30c313),vt(0x1,_0x1bc764(_0x3edb0a)),vt(0x2,_0x1bc764(_0x436289))],st);var Nr=Object['defineProperty'],Dr=Object['getOwnPropertyDescriptor'],Pr=(_0x229689,_0x1da93a,_0x1728d7,_0x2c3c23)=>{var _0x4e330c=_0x59924f;for(var _0x4fd6dd=_0x2c3c23>0x1?void 0x0:_0x2c3c23?Dr(_0x1da93a,_0x1728d7):_0x1da93a,_0x4717e3=_0x229689[_0x4e330c(0x351)]-0x1,_0x5674ad;_0x4717e3>=0x0;_0x4717e3--)(_0x5674ad=_0x229689[_0x4717e3])&&(_0x4fd6dd=(_0x2c3c23?_0x5674ad(_0x1da93a,_0x1728d7,_0x4fd6dd):_0x5674ad(_0x4fd6dd))||_0x4fd6dd);return _0x2c3c23&&_0x4fd6dd&&Nr(_0x1da93a,_0x1728d7,_0x4fd6dd),_0x4fd6dd;},Xt=(_0x3acde6,_0x560ae7)=>(_0x213c54,_0x54c79a)=>_0x560ae7(_0x213c54,_0x54c79a,_0x3acde6);const Pi=_0x59924f(0x378),wr=_0x59924f(0x365);let bt=class extends _0xfc6e5{constructor(_0xc8c050,_0x22a020){var _0x4ba29a=_0x59924f;super(),this[_0x4ba29a(0x2bc)]=_0xc8c050,this[_0x4ba29a(0x3c1)]=_0x22a020,this['_initMergeInterceptor']();}[_0x59924f(0x1c2)](){var _0x5ef497=_0x59924f;const _0x44d9a2=this;this['disposeWithMe'](this[_0x5ef497(0x2bc)][_0x5ef497(0x29b)]({'priority':0x3e7,'interceptor':_0x450d4d({'isMatch'(_0x66ac2a){var _0x5304d9=_0x5ef497,_0x2249e1;if(_0x66ac2a['method']==='POST'&&((_0x2249e1=_0x66ac2a[_0x5304d9(0x41f)])!=null&&_0x2249e1[_0x5304d9(0x413)])){const {objectID:_0x137db3,objectType:_0x5e7606}=_0x66ac2a[_0x5304d9(0x41f)][_0x5304d9(0x413)]||{};if(!_0x137db3||_0x5e7606===void 0x0)return!0x1;const _0xb2957e=_0x44d9a2[_0x5304d9(0x17a)]()+'/'+_0x5e7606+_0x5304d9(0x27a)+_0x137db3+_0x5304d9(0x317);if(_0x66ac2a[_0x5304d9(0x34f)]===_0xb2957e)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b64d6){var _0x171236=_0x5ef497,_0x285783;return(_0x285783=_0x4b64d6[_0x171236(0x41f)])==null?void 0x0:_0x285783['body'];},'mergeParamsToRequest'(_0x1bf385,_0x2186f0){var _0x3d6e0c=_0x5ef497;const _0x5556d1=_0x44d9a2[_0x3d6e0c(0x17a)]()+_0x3d6e0c(0x1fb),_0x1b1393=_0x1bf385[_0x3d6e0c(0x2d6)]((_0x1ca7fa,_0x1285cc)=>{var _0xf647b1=_0x3d6e0c;const {unitID:_0x421544,objectID:_0x5d26ad,objectType:_0x45ee98,actions:_0x4844c4}=_0x1285cc;return _0x1ca7fa[_0x421544]||(_0x1ca7fa[_0x421544]={}),_0x1ca7fa[_0x421544][_0x5d26ad]||(_0x1ca7fa[_0x421544][_0x5d26ad]={'objectID':_0x5d26ad,'objectType':_0x45ee98,'actions':[]}),_0x1ca7fa[_0x421544][_0x5d26ad][_0xf647b1(0x1d6)][_0xf647b1(0x1f7)](..._0x4844c4),_0x1ca7fa;},{}),_0x6d60b2=[];for(const _0x2d44de in _0x1b1393)for(const _0x1315e4 in _0x1b1393[_0x2d44de]){const {actions:_0x43d16e,objectType:_0x39a2ed}=_0x1b1393[_0x2d44de][_0x1315e4],_0x74d87e=[...new Set(_0x43d16e)];_0x6d60b2[_0x3d6e0c(0x1f7)]({'unitID':_0x2d44de,'objectID':_0x1315e4,'objectType':_0x39a2ed,'actions':_0x74d87e});}return new _0x29a0dd('POST',_0x5556d1,{'headers':_0x2186f0[_0x3d6e0c(0x32f)],'withCredentials':_0x2186f0['withCredentials'],'responseType':_0x2186f0[_0x3d6e0c(0x15a)],'body':{'requests':_0x6d60b2}});}},{'distributeResult'(_0x1a67b4,_0x20e56b){var _0x3c5617=_0x5ef497;const {objectActions:_0x50857e}=_0x1a67b4;return _0x20e56b[_0x3c5617(0x30a)](_0x33b545=>{var _0x542389=_0x3c5617;const {unitID:_0x3f498a,objectID:_0x3fa981,actions:_0x1868f6}=_0x33b545,_0x43dde0=_0x50857e[_0x542389(0x2a3)](_0x4b046e=>_0x4b046e[_0x542389(0x307)]===_0x3f498a&&_0x4b046e[_0x542389(0x2c4)]===_0x3fa981),_0x40907a=_0x1868f6[_0x542389(0x30a)](_0xe6e0e7=>_0x43dde0==null?void 0x0:_0x43dde0[_0x542389(0x1d6)][_0x542389(0x2a3)](_0x2ed6bc=>_0x2ed6bc[_0x542389(0x347)]===_0xe6e0e7))['filter'](_0x2121e3=>!!_0x2121e3);return{'config':_0x33b545,'result':{'actions':_0x40907a,'error':_0x1a67b4[_0x542389(0x289)]}};});}})}));}[_0x59924f(0x17a)](){var _0x311946=_0x59924f,_0x3dc26f,_0x40f145;const _0x846d0a=this[_0x311946(0x3c1)]['getConfig'](Pi),_0xe06058=this[_0x311946(0x3c1)]['getConfig'](q);return(_0x40f145=(_0x3dc26f=_0xe06058==null?void 0x0:_0xe06058[_0x311946(0x241)])!=null?_0x3dc26f:_0x846d0a)!=null?_0x40f145:wr;}async[_0x59924f(0x133)](_0x510383){var _0x10cd96=_0x59924f;const _0x62a415=this[_0x10cd96(0x17a)]()+'/'+_0x510383[_0x10cd96(0x130)]+_0x10cd96(0x2a1);return(await this[_0x10cd96(0x2bc)][_0x10cd96(0x285)](_0x62a415,{'body':_0x510383}))[_0x10cd96(0x413)]['objectID']||'';}async[_0x59924f(0x287)](_0x6e2090){var _0x1d722b=_0x59924f;const _0x4fd1e8=this['_getAPIPrefixPath']()+_0x1d722b(0x2af);return(await this[_0x1d722b(0x2bc)][_0x1d722b(0x285)](_0x4fd1e8,{'body':_0x6e2090}))[_0x1d722b(0x413)][_0x1d722b(0x31c)];}async[_0x59924f(0x1c4)](_0x1116df){var _0x534923=_0x59924f;const _0x12c742=this['_getAPIPrefixPath']()+'/'+_0x1116df[_0x534923(0x130)]+_0x534923(0x27a)+_0x1116df[_0x534923(0x2c4)];await this['_HTTPService']['put'](_0x12c742,{'body':_0x1116df});}async['allowed'](_0x5d916b){var _0x3e03d6=_0x59924f;const _0x5228e3=this['_getAPIPrefixPath']()+'/'+_0x5d916b['objectType']+_0x3e03d6(0x27a)+_0x5d916b[_0x3e03d6(0x2c4)]+'/allowed';return(await this[_0x3e03d6(0x2bc)][_0x3e03d6(0x285)](_0x5228e3,{'body':_0x5d916b}))[_0x3e03d6(0x413)][_0x3e03d6(0x1d6)];}async['batchAllowed'](_0x4098e4){var _0x5b3bc4=_0x59924f;const _0x3263a9=this['_getAPIPrefixPath']()+_0x5b3bc4(0x1fb);return(await this[_0x5b3bc4(0x2bc)]['post'](_0x3263a9,{'body':{'requests':_0x4098e4}}))['body'][_0x5b3bc4(0x3bd)];}async[_0x59924f(0x17d)](_0x18a2aa){var _0x81bb1c=_0x59924f;const _0x1341f7=this['_getAPIPrefixPath']()+'/'+_0x18a2aa['objectType']+_0x81bb1c(0x2b1),_0x53114f=await this[_0x81bb1c(0x2bc)][_0x81bb1c(0x285)](_0x1341f7,{'body':_0x18a2aa});return{'roles':_0x53114f[_0x81bb1c(0x413)][_0x81bb1c(0x37c)],'actions':_0x53114f[_0x81bb1c(0x413)]['actions']};}async[_0x59924f(0x421)](_0x3c0598){var _0x37f014=_0x59924f;const _0x5d4b24=this[_0x37f014(0x17a)]()+_0x37f014(0x136);await this[_0x37f014(0x2bc)][_0x37f014(0x255)](_0x5d4b24,{'params':{'collaboratorID':_0x3c0598[_0x37f014(0x298)],'objectID':_0x3c0598['objectID'],'unitID':_0x3c0598[_0x37f014(0x307)]}});}async[_0x59924f(0x20e)](_0x5240a6){var _0x262381=_0x59924f;const _0x2d523d=this[_0x262381(0x17a)]()+'/collaborator';await this['_HTTPService'][_0x262381(0x32e)](_0x2d523d,{'body':_0x5240a6});}async[_0x59924f(0x15c)](_0x2b7de2){var _0x391cd9=_0x59924f;const _0x4a8b3d=this[_0x391cd9(0x17a)]()+'/collaborator';await this[_0x391cd9(0x2bc)][_0x391cd9(0x285)](_0x4a8b3d,{'body':_0x2b7de2});}async[_0x59924f(0x2c1)](_0x40dd19){var _0x485757=_0x59924f;const _0x10db39=this[_0x485757(0x17a)]()+_0x485757(0x136);return(await this['_HTTPService'][_0x485757(0x13d)](_0x10db39,{'params':{'objectID':_0x40dd19['objectID'],'unitID':_0x40dd19[_0x485757(0x307)]}}))[_0x485757(0x413)]['collaborators'];}async[_0x59924f(0x173)](_0x5a7556){var _0x3148c3=_0x59924f;const _0x2a914d=this[_0x3148c3(0x17a)]()+_0x3148c3(0x136);await this[_0x3148c3(0x2bc)][_0x3148c3(0x2d9)](_0x2a914d,{'body':_0x5a7556});}};bt=Pr([Xt(0x0,_0x1bc764(_0x3edb0a)),Xt(0x1,_0x1bc764(_0x30c313))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x2bf1b8){var _0x507c08=_0x59924f;return _0x2bf1b8&&_0x2bf1b8[_0x507c08(0x27f)]&&Object[_0x507c08(0x3fe)]['hasOwnProperty'][_0x507c08(0x401)](_0x2bf1b8,'default')?_0x2bf1b8[_0x507c08(0x2f5)]:_0x2bf1b8;}var Ve={'exports':{}};function Ur(_0x4b86c7){var _0x4e2671=_0x59924f;throw new Error(_0x4e2671(0x2f1)+_0x4b86c7+_0x4e2671(0x264));}var Ge={'exports':{}},Ar=Ge['exports'],Zt;function ne(){var _0x4a3583=_0x59924f;return Zt||(Zt=0x1,function(_0x30b294,_0x214512){(function(_0x4ff251,_0x3ef543){var _0xf47161=_0x2b46;_0x30b294[_0xf47161(0x33c)]=_0x3ef543();}(Ar,function(){var _0x59ce5f=_0x59ce5f||function(_0x162eb0,_0x40b4f3){var _0x4bfdff=_0x2b46,_0x11aeaf;if(typeof window<'u'&&window['crypto']&&(_0x11aeaf=window['crypto']),typeof self<'u'&&self[_0x4bfdff(0x3ca)]&&(_0x11aeaf=self[_0x4bfdff(0x3ca)]),typeof globalThis<'u'&&globalThis[_0x4bfdff(0x3ca)]&&(_0x11aeaf=globalThis['crypto']),!_0x11aeaf&&typeof window<'u'&&window[_0x4bfdff(0x2a5)]&&(_0x11aeaf=window[_0x4bfdff(0x2a5)]),!_0x11aeaf&&typeof pt<'u'&&pt[_0x4bfdff(0x3ca)]&&(_0x11aeaf=pt[_0x4bfdff(0x3ca)]),!_0x11aeaf&&typeof Ur==_0x4bfdff(0x380))try{_0x11aeaf=require(_0x4bfdff(0x3ca));}catch{}var _0x12d963=function(){var _0x4d57bd=_0x4bfdff;if(_0x11aeaf){if(typeof _0x11aeaf[_0x4d57bd(0x171)]==_0x4d57bd(0x380))try{return _0x11aeaf['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x11aeaf[_0x4d57bd(0x1da)]=='function')try{return _0x11aeaf[_0x4d57bd(0x1da)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x4d57bd(0x23a));},_0x35a72e=Object['create']||(function(){function _0xab959b(){}return function(_0x1cae52){var _0x9c910d=_0x2b46,_0x2c6580;return _0xab959b[_0x9c910d(0x3fe)]=_0x1cae52,_0x2c6580=new _0xab959b(),_0xab959b[_0x9c910d(0x3fe)]=null,_0x2c6580;};}()),_0x3ce4a6={},_0x36e4ef=_0x3ce4a6['lib']={},_0x4ed0a4=_0x36e4ef[_0x4bfdff(0x181)]=(function(){return{'extend':function(_0xd1d53f){var _0x1a44f3=_0x2b46,_0x443722=_0x35a72e(this);return _0xd1d53f&&_0x443722[_0x1a44f3(0x3c0)](_0xd1d53f),(!_0x443722[_0x1a44f3(0x28e)](_0x1a44f3(0x336))||this[_0x1a44f3(0x336)]===_0x443722['init'])&&(_0x443722['init']=function(){var _0xc63b1a=_0x1a44f3;_0x443722[_0xc63b1a(0x34c)][_0xc63b1a(0x336)][_0xc63b1a(0x2dc)](this,arguments);}),_0x443722[_0x1a44f3(0x336)]['prototype']=_0x443722,_0x443722[_0x1a44f3(0x34c)]=this,_0x443722;},'create':function(){var _0xc1dc1e=_0x2b46,_0xcd7e0f=this[_0xc1dc1e(0x410)]();return _0xcd7e0f['init']['apply'](_0xcd7e0f,arguments),_0xcd7e0f;},'init':function(){},'mixIn':function(_0x2c6dd0){var _0x4d5aed=_0x2b46;for(var _0x5d9edf in _0x2c6dd0)_0x2c6dd0[_0x4d5aed(0x28e)](_0x5d9edf)&&(this[_0x5d9edf]=_0x2c6dd0[_0x5d9edf]);_0x2c6dd0[_0x4d5aed(0x28e)](_0x4d5aed(0x1b1))&&(this[_0x4d5aed(0x1b1)]=_0x2c6dd0['toString']);},'clone':function(){var _0x55af93=_0x2b46;return this[_0x55af93(0x336)][_0x55af93(0x3fe)][_0x55af93(0x410)](this);}};}()),_0x3eb564=_0x36e4ef[_0x4bfdff(0x13a)]=_0x4ed0a4[_0x4bfdff(0x410)]({'init':function(_0x57bd51,_0x544f4e){var _0x2fa5d0=_0x4bfdff;_0x57bd51=this[_0x2fa5d0(0x211)]=_0x57bd51||[],_0x544f4e!=_0x40b4f3?this[_0x2fa5d0(0x2db)]=_0x544f4e:this[_0x2fa5d0(0x2db)]=_0x57bd51[_0x2fa5d0(0x351)]*0x4;},'toString':function(_0x1e1901){return(_0x1e1901||_0x346a65)['stringify'](this);},'concat':function(_0x283c85){var _0x585ce6=_0x4bfdff,_0x3101d3=this['words'],_0x33470a=_0x283c85['words'],_0x1c8d2f=this[_0x585ce6(0x2db)],_0x2274fd=_0x283c85['sigBytes'];if(this['clamp'](),_0x1c8d2f%0x4)for(var _0x2a7feb=0x0;_0x2a7feb<_0x2274fd;_0x2a7feb++){var _0x124584=_0x33470a[_0x2a7feb>>>0x2]>>>0x18-_0x2a7feb%0x4*0x8&0xff;_0x3101d3[_0x1c8d2f+_0x2a7feb>>>0x2]|=_0x124584<<0x18-(_0x1c8d2f+_0x2a7feb)%0x4*0x8;}else{for(var _0x1b3aa3=0x0;_0x1b3aa3<_0x2274fd;_0x1b3aa3+=0x4)_0x3101d3[_0x1c8d2f+_0x1b3aa3>>>0x2]=_0x33470a[_0x1b3aa3>>>0x2];}return this[_0x585ce6(0x2db)]+=_0x2274fd,this;},'clamp':function(){var _0x4d0378=_0x4bfdff,_0x343bf1=this[_0x4d0378(0x211)],_0x436d5f=this[_0x4d0378(0x2db)];_0x343bf1[_0x436d5f>>>0x2]&=0xffffffff<<0x20-_0x436d5f%0x4*0x8,_0x343bf1[_0x4d0378(0x351)]=_0x162eb0['ceil'](_0x436d5f/0x4);},'clone':function(){var _0xb452d7=_0x4bfdff,_0xde254=_0x4ed0a4[_0xb452d7(0x36b)][_0xb452d7(0x401)](this);return _0xde254['words']=this['words'][_0xb452d7(0x2aa)](0x0),_0xde254;},'random':function(_0xc25fbf){var _0x482be4=_0x4bfdff;for(var _0x4dc002=[],_0x207802=0x0;_0x207802<_0xc25fbf;_0x207802+=0x4)_0x4dc002[_0x482be4(0x1f7)](_0x12d963());return new _0x3eb564[(_0x482be4(0x336))](_0x4dc002,_0xc25fbf);}}),_0x5af4d8=_0x3ce4a6[_0x4bfdff(0x246)]={},_0x346a65=_0x5af4d8[_0x4bfdff(0x128)]={'stringify':function(_0x3fb838){var _0x28acd2=_0x4bfdff;for(var _0x361c3=_0x3fb838['words'],_0x18c109=_0x3fb838[_0x28acd2(0x2db)],_0x217595=[],_0x4f302e=0x0;_0x4f302e<_0x18c109;_0x4f302e++){var _0x261d72=_0x361c3[_0x4f302e>>>0x2]>>>0x18-_0x4f302e%0x4*0x8&0xff;_0x217595['push']((_0x261d72>>>0x4)['toString'](0x10)),_0x217595['push']((_0x261d72&0xf)[_0x28acd2(0x1b1)](0x10));}return _0x217595[_0x28acd2(0x155)]('');},'parse':function(_0x5bf893){var _0x1e3786=_0x4bfdff;for(var _0x550f4f=_0x5bf893[_0x1e3786(0x351)],_0x5815ca=[],_0x1c7790=0x0;_0x1c7790<_0x550f4f;_0x1c7790+=0x2)_0x5815ca[_0x1c7790>>>0x3]|=parseInt(_0x5bf893[_0x1e3786(0x3c5)](_0x1c7790,0x2),0x10)<<0x18-_0x1c7790%0x8*0x4;return new _0x3eb564[(_0x1e3786(0x336))](_0x5815ca,_0x550f4f/0x2);}},_0x81b5d4=_0x5af4d8[_0x4bfdff(0x370)]={'stringify':function(_0x4ebb80){var _0x6c4a76=_0x4bfdff;for(var _0xccf0c4=_0x4ebb80[_0x6c4a76(0x211)],_0x30f4dd=_0x4ebb80[_0x6c4a76(0x2db)],_0x557299=[],_0x5367a7=0x0;_0x5367a7<_0x30f4dd;_0x5367a7++){var _0x47aeca=_0xccf0c4[_0x5367a7>>>0x2]>>>0x18-_0x5367a7%0x4*0x8&0xff;_0x557299['push'](String['fromCharCode'](_0x47aeca));}return _0x557299[_0x6c4a76(0x155)]('');},'parse':function(_0x91fe5){var _0xbc5ce6=_0x4bfdff;for(var _0xd8f2cf=_0x91fe5[_0xbc5ce6(0x351)],_0x375239=[],_0x14b0d9=0x0;_0x14b0d9<_0xd8f2cf;_0x14b0d9++)_0x375239[_0x14b0d9>>>0x2]|=(_0x91fe5['charCodeAt'](_0x14b0d9)&0xff)<<0x18-_0x14b0d9%0x4*0x8;return new _0x3eb564[(_0xbc5ce6(0x336))](_0x375239,_0xd8f2cf);}},_0x125c7a=_0x5af4d8[_0x4bfdff(0x2fb)]={'stringify':function(_0x4e1e0e){var _0x42835f=_0x4bfdff;try{return decodeURIComponent(escape(_0x81b5d4[_0x42835f(0x3ce)](_0x4e1e0e)));}catch{throw new Error(_0x42835f(0x38e));}},'parse':function(_0x3ca3e6){var _0x5607e5=_0x4bfdff;return _0x81b5d4[_0x5607e5(0x272)](unescape(encodeURIComponent(_0x3ca3e6)));}},_0xe0491c=_0x36e4ef['BufferedBlockAlgorithm']=_0x4ed0a4[_0x4bfdff(0x410)]({'reset':function(){var _0x18aadf=_0x4bfdff;this[_0x18aadf(0x2bb)]=new _0x3eb564['init'](),this[_0x18aadf(0x197)]=0x0;},'_append':function(_0x27299d){var _0x1f5993=_0x4bfdff;typeof _0x27299d=='string'&&(_0x27299d=_0x125c7a[_0x1f5993(0x272)](_0x27299d)),this[_0x1f5993(0x2bb)][_0x1f5993(0x316)](_0x27299d),this[_0x1f5993(0x197)]+=_0x27299d['sigBytes'];},'_process':function(_0x7c4f44){var _0x51776f=_0x4bfdff,_0x4d5911,_0x44ab35=this['_data'],_0x3e084c=_0x44ab35['words'],_0xc395cb=_0x44ab35[_0x51776f(0x2db)],_0x51848c=this[_0x51776f(0x278)],_0x12dbb2=_0x51848c*0x4,_0x17fad8=_0xc395cb/_0x12dbb2;_0x7c4f44?_0x17fad8=_0x162eb0[_0x51776f(0x248)](_0x17fad8):_0x17fad8=_0x162eb0[_0x51776f(0x28c)]((_0x17fad8|0x0)-this[_0x51776f(0x40c)],0x0);var _0x5514cc=_0x17fad8*_0x51848c,_0x561181=_0x162eb0['min'](_0x5514cc*0x4,_0xc395cb);if(_0x5514cc){for(var _0x276982=0x0;_0x276982<_0x5514cc;_0x276982+=_0x51848c)this[_0x51776f(0x202)](_0x3e084c,_0x276982);_0x4d5911=_0x3e084c['splice'](0x0,_0x5514cc),_0x44ab35[_0x51776f(0x2db)]-=_0x561181;}return new _0x3eb564[(_0x51776f(0x336))](_0x4d5911,_0x561181);},'clone':function(){var _0x3499d9=_0x4bfdff,_0x50e53c=_0x4ed0a4[_0x3499d9(0x36b)][_0x3499d9(0x401)](this);return _0x50e53c[_0x3499d9(0x2bb)]=this[_0x3499d9(0x2bb)][_0x3499d9(0x36b)](),_0x50e53c;},'_minBufferSize':0x0});_0x36e4ef[_0x4bfdff(0x144)]=_0xe0491c[_0x4bfdff(0x410)]({'cfg':_0x4ed0a4[_0x4bfdff(0x410)](),'init':function(_0x4ea4da){var _0x3223db=_0x4bfdff;this[_0x3223db(0x3d3)]=this[_0x3223db(0x3d3)]['extend'](_0x4ea4da),this[_0x3223db(0x1a9)]();},'reset':function(){var _0x41714e=_0x4bfdff;_0xe0491c[_0x41714e(0x1a9)][_0x41714e(0x401)](this),this[_0x41714e(0x3df)]();},'update':function(_0x1687a1){var _0x1577c5=_0x4bfdff;return this['_append'](_0x1687a1),this[_0x1577c5(0x32c)](),this;},'finalize':function(_0x3ebaed){var _0x58410c=_0x4bfdff;_0x3ebaed&&this[_0x58410c(0x18c)](_0x3ebaed);var _0x4d5d35=this[_0x58410c(0x349)]();return _0x4d5d35;},'blockSize':0x10,'_createHelper':function(_0x21d83f){return function(_0x5d28b6,_0x598838){var _0x50fe85=_0x2b46;return new _0x21d83f[(_0x50fe85(0x336))](_0x598838)['finalize'](_0x5d28b6);};},'_createHmacHelper':function(_0x517498){return function(_0x590e34,_0x1c873d){var _0x4a1bae=_0x2b46;return new _0xc000af[(_0x4a1bae(0x177))][(_0x4a1bae(0x336))](_0x517498,_0x1c873d)[_0x4a1bae(0x37f)](_0x590e34);};}});var _0xc000af=_0x3ce4a6['algo']={};return _0x3ce4a6;}(Math);return _0x59ce5f;}));}(Ge)),Ge[_0x4a3583(0x33c)];}var We={'exports':{}},xr=We['exports'],Qt;function wi(){var _0x134455=_0x59924f;return Qt||(Qt=0x1,function(_0x6ef32a,_0x55722d){(function(_0x304cb5,_0x1f4aff){var _0x4129b0=_0x2b46;_0x6ef32a[_0x4129b0(0x33c)]=_0x1f4aff(ne());}(xr,function(_0x423ea6){var _0x47d6a8=_0x2b46;return(function(){var _0x39ed75=_0x2b46,_0x4efa41=_0x423ea6,_0x2c7512=_0x4efa41[_0x39ed75(0x3ee)],_0x397ec4=_0x2c7512[_0x39ed75(0x13a)],_0x1ef7ab=_0x4efa41[_0x39ed75(0x246)];_0x1ef7ab['Base64']={'stringify':function(_0x587cc4){var _0x2a1858=_0x39ed75,_0x25e3af=_0x587cc4[_0x2a1858(0x211)],_0x4e8484=_0x587cc4[_0x2a1858(0x2db)],_0x213dbb=this[_0x2a1858(0x2cc)];_0x587cc4[_0x2a1858(0x2d5)]();for(var _0x378c76=[],_0x580eb7=0x0;_0x580eb7<_0x4e8484;_0x580eb7+=0x3)for(var _0xfdc2d2=_0x25e3af[_0x580eb7>>>0x2]>>>0x18-_0x580eb7%0x4*0x8&0xff,_0x478c7f=_0x25e3af[_0x580eb7+0x1>>>0x2]>>>0x18-(_0x580eb7+0x1)%0x4*0x8&0xff,_0x31eed4=_0x25e3af[_0x580eb7+0x2>>>0x2]>>>0x18-(_0x580eb7+0x2)%0x4*0x8&0xff,_0x22dcd9=_0xfdc2d2<<0x10|_0x478c7f<<0x8|_0x31eed4,_0x53cd53=0x0;_0x53cd53<0x4&&_0x580eb7+_0x53cd53*0.75<_0x4e8484;_0x53cd53++)_0x378c76[_0x2a1858(0x1f7)](_0x213dbb[_0x2a1858(0x187)](_0x22dcd9>>>0x6*(0x3-_0x53cd53)&0x3f));var _0x685f40=_0x213dbb[_0x2a1858(0x187)](0x40);if(_0x685f40){for(;_0x378c76['length']%0x4;)_0x378c76[_0x2a1858(0x1f7)](_0x685f40);}return _0x378c76[_0x2a1858(0x155)]('');},'parse':function(_0x1d398e){var _0x8dfa83=_0x39ed75,_0x11d53f=_0x1d398e[_0x8dfa83(0x351)],_0x44bbe2=this[_0x8dfa83(0x2cc)],_0x76106e=this[_0x8dfa83(0x24a)];if(!_0x76106e){_0x76106e=this[_0x8dfa83(0x24a)]=[];for(var _0x149325=0x0;_0x149325<_0x44bbe2['length'];_0x149325++)_0x76106e[_0x44bbe2[_0x8dfa83(0x220)](_0x149325)]=_0x149325;}var _0x5100ba=_0x44bbe2['charAt'](0x40);if(_0x5100ba){var _0x269334=_0x1d398e[_0x8dfa83(0x3cc)](_0x5100ba);_0x269334!==-0x1&&(_0x11d53f=_0x269334);}return _0x5417bc(_0x1d398e,_0x11d53f,_0x76106e);},'_map':_0x39ed75(0x344)};function _0x5417bc(_0x522911,_0x42cc47,_0x2899dd){var _0x40c621=_0x39ed75;for(var _0x3fa9cd=[],_0x75a03a=0x0,_0x5e15e2=0x0;_0x5e15e2<_0x42cc47;_0x5e15e2++)if(_0x5e15e2%0x4){var _0x1a36b7=_0x2899dd[_0x522911[_0x40c621(0x220)](_0x5e15e2-0x1)]<<_0x5e15e2%0x4*0x2,_0x17671a=_0x2899dd[_0x522911[_0x40c621(0x220)](_0x5e15e2)]>>>0x6-_0x5e15e2%0x4*0x2,_0x27cce5=_0x1a36b7|_0x17671a;_0x3fa9cd[_0x75a03a>>>0x2]|=_0x27cce5<<0x18-_0x75a03a%0x4*0x8,_0x75a03a++;}return _0x397ec4[_0x40c621(0x133)](_0x3fa9cd,_0x75a03a);}}()),_0x423ea6[_0x47d6a8(0x246)]['Base64'];}));}(We)),We[_0x134455(0x33c)];}var Ke={'exports':{}},Lr=Ke[_0x59924f(0x33c)],ei;function Mr(){return ei||(ei=0x1,function(_0x4be435,_0x3bb48a){(function(_0x490b99,_0x1961fe){var _0x18a192=_0x2b46;_0x4be435[_0x18a192(0x33c)]=_0x1961fe(ne());}(Lr,function(_0x52f508){var _0x5894e2=_0x2b46;return function(_0x17e4aa){var _0x3ae6d5=_0x2b46,_0x5d0df8=_0x52f508,_0xa18264=_0x5d0df8[_0x3ae6d5(0x3ee)],_0x153c32=_0xa18264['WordArray'],_0x228b85=_0xa18264['Hasher'],_0x3e1038=_0x5d0df8['algo'],_0x38bbc9=[];(function(){var _0x4a6366=_0x3ae6d5;for(var _0x5d92b9=0x0;_0x5d92b9<0x40;_0x5d92b9++)_0x38bbc9[_0x5d92b9]=_0x17e4aa[_0x4a6366(0x3ff)](_0x17e4aa[_0x4a6366(0x18f)](_0x5d92b9+0x1))*0x100000000|0x0;}());var _0x28c5aa=_0x3e1038['MD5']=_0x228b85['extend']({'_doReset':function(){var _0x3d05d9=_0x3ae6d5;this['_hash']=new _0x153c32[(_0x3d05d9(0x336))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x4a95d0,_0x21c3e4){var _0x54afa1=_0x3ae6d5;for(var _0x1a281f=0x0;_0x1a281f<0x10;_0x1a281f++){var _0xd5ef0a=_0x21c3e4+_0x1a281f,_0x332afe=_0x4a95d0[_0xd5ef0a];_0x4a95d0[_0xd5ef0a]=(_0x332afe<<0x8|_0x332afe>>>0x18)&0xff00ff|(_0x332afe<<0x18|_0x332afe>>>0x8)&0xff00ff00;}var _0x258481=this[_0x54afa1(0x3dc)]['words'],_0x253f98=_0x4a95d0[_0x21c3e4+0x0],_0x3d6ad3=_0x4a95d0[_0x21c3e4+0x1],_0x4e93ad=_0x4a95d0[_0x21c3e4+0x2],_0x56affc=_0x4a95d0[_0x21c3e4+0x3],_0x365642=_0x4a95d0[_0x21c3e4+0x4],_0x49a442=_0x4a95d0[_0x21c3e4+0x5],_0x1683bd=_0x4a95d0[_0x21c3e4+0x6],_0x255f70=_0x4a95d0[_0x21c3e4+0x7],_0x9150c1=_0x4a95d0[_0x21c3e4+0x8],_0x1e830e=_0x4a95d0[_0x21c3e4+0x9],_0x1c7267=_0x4a95d0[_0x21c3e4+0xa],_0x19524b=_0x4a95d0[_0x21c3e4+0xb],_0x52040a=_0x4a95d0[_0x21c3e4+0xc],_0xa248de=_0x4a95d0[_0x21c3e4+0xd],_0x5725fb=_0x4a95d0[_0x21c3e4+0xe],_0x907398=_0x4a95d0[_0x21c3e4+0xf],_0x4ec78c=_0x258481[0x0],_0x1b2fa0=_0x258481[0x1],_0x53339f=_0x258481[0x2],_0x5c1b56=_0x258481[0x3];_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x253f98,0x7,_0x38bbc9[0x0]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x3d6ad3,0xc,_0x38bbc9[0x1]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x4e93ad,0x11,_0x38bbc9[0x2]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x56affc,0x16,_0x38bbc9[0x3]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x365642,0x7,_0x38bbc9[0x4]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x49a442,0xc,_0x38bbc9[0x5]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1683bd,0x11,_0x38bbc9[0x6]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x255f70,0x16,_0x38bbc9[0x7]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x9150c1,0x7,_0x38bbc9[0x8]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1e830e,0xc,_0x38bbc9[0x9]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1c7267,0x11,_0x38bbc9[0xa]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x19524b,0x16,_0x38bbc9[0xb]),_0x4ec78c=_0x426ca1(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x52040a,0x7,_0x38bbc9[0xc]),_0x5c1b56=_0x426ca1(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0xa248de,0xc,_0x38bbc9[0xd]),_0x53339f=_0x426ca1(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x5725fb,0x11,_0x38bbc9[0xe]),_0x1b2fa0=_0x426ca1(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x907398,0x16,_0x38bbc9[0xf]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x3d6ad3,0x5,_0x38bbc9[0x10]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1683bd,0x9,_0x38bbc9[0x11]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x19524b,0xe,_0x38bbc9[0x12]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x253f98,0x14,_0x38bbc9[0x13]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x49a442,0x5,_0x38bbc9[0x14]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x1c7267,0x9,_0x38bbc9[0x15]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x907398,0xe,_0x38bbc9[0x16]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x365642,0x14,_0x38bbc9[0x17]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x1e830e,0x5,_0x38bbc9[0x18]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5725fb,0x9,_0x38bbc9[0x19]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x56affc,0xe,_0x38bbc9[0x1a]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x9150c1,0x14,_0x38bbc9[0x1b]),_0x4ec78c=_0x1fea07(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0xa248de,0x5,_0x38bbc9[0x1c]),_0x5c1b56=_0x1fea07(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x4e93ad,0x9,_0x38bbc9[0x1d]),_0x53339f=_0x1fea07(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x255f70,0xe,_0x38bbc9[0x1e]),_0x1b2fa0=_0x1fea07(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x52040a,0x14,_0x38bbc9[0x1f]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x49a442,0x4,_0x38bbc9[0x20]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x9150c1,0xb,_0x38bbc9[0x21]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x19524b,0x10,_0x38bbc9[0x22]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x5725fb,0x17,_0x38bbc9[0x23]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x3d6ad3,0x4,_0x38bbc9[0x24]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x365642,0xb,_0x38bbc9[0x25]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x255f70,0x10,_0x38bbc9[0x26]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1c7267,0x17,_0x38bbc9[0x27]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0xa248de,0x4,_0x38bbc9[0x28]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x253f98,0xb,_0x38bbc9[0x29]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x56affc,0x10,_0x38bbc9[0x2a]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1683bd,0x17,_0x38bbc9[0x2b]),_0x4ec78c=_0x121f99(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x1e830e,0x4,_0x38bbc9[0x2c]),_0x5c1b56=_0x121f99(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x52040a,0xb,_0x38bbc9[0x2d]),_0x53339f=_0x121f99(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x907398,0x10,_0x38bbc9[0x2e]),_0x1b2fa0=_0x121f99(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x4e93ad,0x17,_0x38bbc9[0x2f]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x253f98,0x6,_0x38bbc9[0x30]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x255f70,0xa,_0x38bbc9[0x31]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x5725fb,0xf,_0x38bbc9[0x32]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x49a442,0x15,_0x38bbc9[0x33]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x52040a,0x6,_0x38bbc9[0x34]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x56affc,0xa,_0x38bbc9[0x35]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1c7267,0xf,_0x38bbc9[0x36]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x3d6ad3,0x15,_0x38bbc9[0x37]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x9150c1,0x6,_0x38bbc9[0x38]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x907398,0xa,_0x38bbc9[0x39]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x1683bd,0xf,_0x38bbc9[0x3a]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0xa248de,0x15,_0x38bbc9[0x3b]),_0x4ec78c=_0x52083e(_0x4ec78c,_0x1b2fa0,_0x53339f,_0x5c1b56,_0x365642,0x6,_0x38bbc9[0x3c]),_0x5c1b56=_0x52083e(_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x53339f,_0x19524b,0xa,_0x38bbc9[0x3d]),_0x53339f=_0x52083e(_0x53339f,_0x5c1b56,_0x4ec78c,_0x1b2fa0,_0x4e93ad,0xf,_0x38bbc9[0x3e]),_0x1b2fa0=_0x52083e(_0x1b2fa0,_0x53339f,_0x5c1b56,_0x4ec78c,_0x1e830e,0x15,_0x38bbc9[0x3f]),_0x258481[0x0]=_0x258481[0x0]+_0x4ec78c|0x0,_0x258481[0x1]=_0x258481[0x1]+_0x1b2fa0|0x0,_0x258481[0x2]=_0x258481[0x2]+_0x53339f|0x0,_0x258481[0x3]=_0x258481[0x3]+_0x5c1b56|0x0;},'_doFinalize':function(){var _0x470cab=_0x3ae6d5,_0x3762b0=this[_0x470cab(0x2bb)],_0x403456=_0x3762b0[_0x470cab(0x211)],_0x32dab4=this[_0x470cab(0x197)]*0x8,_0x4bba28=_0x3762b0[_0x470cab(0x2db)]*0x8;_0x403456[_0x4bba28>>>0x5]|=0x80<<0x18-_0x4bba28%0x20;var _0x5a355a=_0x17e4aa['floor'](_0x32dab4/0x100000000),_0x15f2ac=_0x32dab4;_0x403456[(_0x4bba28+0x40>>>0x9<<0x4)+0xf]=(_0x5a355a<<0x8|_0x5a355a>>>0x18)&0xff00ff|(_0x5a355a<<0x18|_0x5a355a>>>0x8)&0xff00ff00,_0x403456[(_0x4bba28+0x40>>>0x9<<0x4)+0xe]=(_0x15f2ac<<0x8|_0x15f2ac>>>0x18)&0xff00ff|(_0x15f2ac<<0x18|_0x15f2ac>>>0x8)&0xff00ff00,_0x3762b0[_0x470cab(0x2db)]=(_0x403456[_0x470cab(0x351)]+0x1)*0x4,this[_0x470cab(0x32c)]();for(var _0xc91bc3=this[_0x470cab(0x3dc)],_0x23a67c=_0xc91bc3[_0x470cab(0x211)],_0x47da20=0x0;_0x47da20<0x4;_0x47da20++){var _0x51e307=_0x23a67c[_0x47da20];_0x23a67c[_0x47da20]=(_0x51e307<<0x8|_0x51e307>>>0x18)&0xff00ff|(_0x51e307<<0x18|_0x51e307>>>0x8)&0xff00ff00;}return _0xc91bc3;},'clone':function(){var _0x168448=_0x3ae6d5,_0x39b523=_0x228b85[_0x168448(0x36b)][_0x168448(0x401)](this);return _0x39b523[_0x168448(0x3dc)]=this[_0x168448(0x3dc)][_0x168448(0x36b)](),_0x39b523;}});function _0x426ca1(_0x3e96b3,_0x49e3f3,_0x105218,_0x376cd4,_0x4323dc,_0x40d954,_0xd9cd1){var _0x254a54=_0x3e96b3+(_0x49e3f3&_0x105218|~_0x49e3f3&_0x376cd4)+_0x4323dc+_0xd9cd1;return(_0x254a54<<_0x40d954|_0x254a54>>>0x20-_0x40d954)+_0x49e3f3;}function _0x1fea07(_0x40202d,_0x156021,_0x500e8c,_0x4eb671,_0x2a8c17,_0xd8eb42,_0x199ddd){var _0x5f79ae=_0x40202d+(_0x156021&_0x4eb671|_0x500e8c&~_0x4eb671)+_0x2a8c17+_0x199ddd;return(_0x5f79ae<<_0xd8eb42|_0x5f79ae>>>0x20-_0xd8eb42)+_0x156021;}function _0x121f99(_0xb77dc6,_0x23c669,_0x1545ba,_0xb29219,_0x434695,_0x51315d,_0x5473df){var _0x2e8cf6=_0xb77dc6+(_0x23c669^_0x1545ba^_0xb29219)+_0x434695+_0x5473df;return(_0x2e8cf6<<_0x51315d|_0x2e8cf6>>>0x20-_0x51315d)+_0x23c669;}function _0x52083e(_0x121d33,_0x271032,_0x4c6bca,_0x1dc88e,_0x2e0eb3,_0x4d2539,_0x3674ef){var _0x3f1bc9=_0x121d33+(_0x4c6bca^(_0x271032|~_0x1dc88e))+_0x2e0eb3+_0x3674ef;return(_0x3f1bc9<<_0x4d2539|_0x3f1bc9>>>0x20-_0x4d2539)+_0x271032;}_0x5d0df8[_0x3ae6d5(0x408)]=_0x228b85[_0x3ae6d5(0x218)](_0x28c5aa),_0x5d0df8['HmacMD5']=_0x228b85[_0x3ae6d5(0x19c)](_0x28c5aa);}(Math),_0x52f508[_0x5894e2(0x408)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},$r=qe['exports'],ti;function Hr(){var _0x348dcb=_0x59924f;return ti||(ti=0x1,function(_0x462946,_0x58daa0){(function(_0x58c13f,_0x44b5c9){var _0x13c935=_0x2b46;_0x462946[_0x13c935(0x33c)]=_0x44b5c9(ne());}($r,function(_0x2c1846){return(function(){var _0x1dcb34=_0x2b46,_0x33b7e3=_0x2c1846,_0x1cb0f7=_0x33b7e3[_0x1dcb34(0x3ee)],_0x33d89e=_0x1cb0f7[_0x1dcb34(0x13a)],_0x1a94e3=_0x1cb0f7[_0x1dcb34(0x144)],_0x50ab6d=_0x33b7e3[_0x1dcb34(0x195)],_0x3989bb=[],_0x3f2190=_0x50ab6d[_0x1dcb34(0x253)]=_0x1a94e3['extend']({'_doReset':function(){var _0x5b269c=_0x1dcb34;this['_hash']=new _0x33d89e[(_0x5b269c(0x336))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2ad648,_0x66305e){var _0x4fc552=_0x1dcb34;for(var _0x1f1616=this[_0x4fc552(0x3dc)][_0x4fc552(0x211)],_0x1f65fa=_0x1f1616[0x0],_0x3c7580=_0x1f1616[0x1],_0x537c00=_0x1f1616[0x2],_0x3ab2d4=_0x1f1616[0x3],_0x27296d=_0x1f1616[0x4],_0x572753=0x0;_0x572753<0x50;_0x572753++){if(_0x572753<0x10)_0x3989bb[_0x572753]=_0x2ad648[_0x66305e+_0x572753]|0x0;else{var _0x23fd67=_0x3989bb[_0x572753-0x3]^_0x3989bb[_0x572753-0x8]^_0x3989bb[_0x572753-0xe]^_0x3989bb[_0x572753-0x10];_0x3989bb[_0x572753]=_0x23fd67<<0x1|_0x23fd67>>>0x1f;}var _0x353fa5=(_0x1f65fa<<0x5|_0x1f65fa>>>0x1b)+_0x27296d+_0x3989bb[_0x572753];_0x572753<0x14?_0x353fa5+=(_0x3c7580&_0x537c00|~_0x3c7580&_0x3ab2d4)+0x5a827999:_0x572753<0x28?_0x353fa5+=(_0x3c7580^_0x537c00^_0x3ab2d4)+0x6ed9eba1:_0x572753<0x3c?_0x353fa5+=(_0x3c7580&_0x537c00|_0x3c7580&_0x3ab2d4|_0x537c00&_0x3ab2d4)-0x70e44324:_0x353fa5+=(_0x3c7580^_0x537c00^_0x3ab2d4)-0x359d3e2a,_0x27296d=_0x3ab2d4,_0x3ab2d4=_0x537c00,_0x537c00=_0x3c7580<<0x1e|_0x3c7580>>>0x2,_0x3c7580=_0x1f65fa,_0x1f65fa=_0x353fa5;}_0x1f1616[0x0]=_0x1f1616[0x0]+_0x1f65fa|0x0,_0x1f1616[0x1]=_0x1f1616[0x1]+_0x3c7580|0x0,_0x1f1616[0x2]=_0x1f1616[0x2]+_0x537c00|0x0,_0x1f1616[0x3]=_0x1f1616[0x3]+_0x3ab2d4|0x0,_0x1f1616[0x4]=_0x1f1616[0x4]+_0x27296d|0x0;},'_doFinalize':function(){var _0x4af762=_0x1dcb34,_0x543240=this[_0x4af762(0x2bb)],_0x3a8af0=_0x543240[_0x4af762(0x211)],_0x5530f9=this[_0x4af762(0x197)]*0x8,_0x316325=_0x543240[_0x4af762(0x2db)]*0x8;return _0x3a8af0[_0x316325>>>0x5]|=0x80<<0x18-_0x316325%0x20,_0x3a8af0[(_0x316325+0x40>>>0x9<<0x4)+0xe]=Math[_0x4af762(0x291)](_0x5530f9/0x100000000),_0x3a8af0[(_0x316325+0x40>>>0x9<<0x4)+0xf]=_0x5530f9,_0x543240[_0x4af762(0x2db)]=_0x3a8af0[_0x4af762(0x351)]*0x4,this['_process'](),this[_0x4af762(0x3dc)];},'clone':function(){var _0xe4303d=_0x1dcb34,_0x2eb359=_0x1a94e3[_0xe4303d(0x36b)][_0xe4303d(0x401)](this);return _0x2eb359['_hash']=this[_0xe4303d(0x3dc)][_0xe4303d(0x36b)](),_0x2eb359;}});_0x33b7e3[_0x1dcb34(0x253)]=_0x1a94e3['_createHelper'](_0x3f2190),_0x33b7e3['HmacSHA1']=_0x1a94e3[_0x1dcb34(0x19c)](_0x3f2190);}()),_0x2c1846['SHA1'];}));}(qe)),qe[_0x348dcb(0x33c)];}var ze={'exports':{}},kr=ze[_0x59924f(0x33c)],ii;function jr(){var _0x5049fc=_0x59924f;return ii||(ii=0x1,function(_0x82e17,_0x3f6017){(function(_0x2cf475,_0x3a3f54){var _0x1afccf=_0x2b46;_0x82e17[_0x1afccf(0x33c)]=_0x3a3f54(ne());}(kr,function(_0x4aff82){(function(){var _0x4b4961=_0x2b46,_0x4290b2=_0x4aff82,_0x38078f=_0x4290b2[_0x4b4961(0x3ee)],_0x32b41e=_0x38078f[_0x4b4961(0x181)],_0x18aa85=_0x4290b2['enc'],_0x443295=_0x18aa85[_0x4b4961(0x2fb)],_0x4f696b=_0x4290b2[_0x4b4961(0x195)];_0x4f696b[_0x4b4961(0x177)]=_0x32b41e[_0x4b4961(0x410)]({'init':function(_0x3d8d79,_0x589b0f){var _0x4b9e66=_0x4b4961;_0x3d8d79=this[_0x4b9e66(0x257)]=new _0x3d8d79[(_0x4b9e66(0x336))](),typeof _0x589b0f=='string'&&(_0x589b0f=_0x443295[_0x4b9e66(0x272)](_0x589b0f));var _0x25a69d=_0x3d8d79['blockSize'],_0x34f6e6=_0x25a69d*0x4;_0x589b0f[_0x4b9e66(0x2db)]>_0x34f6e6&&(_0x589b0f=_0x3d8d79[_0x4b9e66(0x37f)](_0x589b0f)),_0x589b0f[_0x4b9e66(0x2d5)]();for(var _0x4f7661=this[_0x4b9e66(0x174)]=_0x589b0f[_0x4b9e66(0x36b)](),_0x4d7929=this[_0x4b9e66(0x40f)]=_0x589b0f[_0x4b9e66(0x36b)](),_0x354e62=_0x4f7661[_0x4b9e66(0x211)],_0x167a58=_0x4d7929[_0x4b9e66(0x211)],_0x1e805d=0x0;_0x1e805d<_0x25a69d;_0x1e805d++)_0x354e62[_0x1e805d]^=0x5c5c5c5c,_0x167a58[_0x1e805d]^=0x36363636;_0x4f7661[_0x4b9e66(0x2db)]=_0x4d7929[_0x4b9e66(0x2db)]=_0x34f6e6,this[_0x4b9e66(0x1a9)]();},'reset':function(){var _0x12450a=_0x4b4961,_0x2ad8a3=this[_0x12450a(0x257)];_0x2ad8a3[_0x12450a(0x1a9)](),_0x2ad8a3[_0x12450a(0x1c4)](this[_0x12450a(0x40f)]);},'update':function(_0x44ce4f){var _0x26d439=_0x4b4961;return this[_0x26d439(0x257)][_0x26d439(0x1c4)](_0x44ce4f),this;},'finalize':function(_0x269ffa){var _0x54c305=_0x4b4961,_0x5ccd50=this[_0x54c305(0x257)],_0x2da84c=_0x5ccd50[_0x54c305(0x37f)](_0x269ffa);_0x5ccd50[_0x54c305(0x1a9)]();var _0x3dff5c=_0x5ccd50['finalize'](this[_0x54c305(0x174)][_0x54c305(0x36b)]()[_0x54c305(0x316)](_0x2da84c));return _0x3dff5c;}});}());}));}(ze)),ze[_0x5049fc(0x33c)];}var Br=Ye[_0x59924f(0x33c)],ni;function Ui(){return ni||(ni=0x1,function(_0x869a01,_0x4dea97){(function(_0x52aa46,_0x1f2a6a,_0x50518a){var _0x3be577=_0x2b46;_0x869a01[_0x3be577(0x33c)]=_0x1f2a6a(ne(),Hr(),jr());}(Br,function(_0x1afe82){return(function(){var _0x3a76e4=_0x2b46,_0x35862d=_0x1afe82,_0x50e32d=_0x35862d['lib'],_0x38259f=_0x50e32d[_0x3a76e4(0x181)],_0x1112f6=_0x50e32d[_0x3a76e4(0x13a)],_0x4d425e=_0x35862d[_0x3a76e4(0x195)],_0x68c3ec=_0x4d425e['MD5'],_0x30195e=_0x4d425e['EvpKDF']=_0x38259f[_0x3a76e4(0x410)]({'cfg':_0x38259f['extend']({'keySize':0x80/0x20,'hasher':_0x68c3ec,'iterations':0x1}),'init':function(_0x2fa173){var _0x3314dd=_0x3a76e4;this['cfg']=this[_0x3314dd(0x3d3)][_0x3314dd(0x410)](_0x2fa173);},'compute':function(_0x2d45f3,_0xd1a005){var _0x3be5de=_0x3a76e4;for(var _0x576ef4,_0x2aa499=this['cfg'],_0x14154f=_0x2aa499[_0x3be5de(0x3b9)][_0x3be5de(0x133)](),_0x13ed93=_0x1112f6['create'](),_0x35c503=_0x13ed93[_0x3be5de(0x211)],_0x4b296d=_0x2aa499['keySize'],_0x288e36=_0x2aa499[_0x3be5de(0x12b)];_0x35c503['length']<_0x4b296d;){_0x576ef4&&_0x14154f[_0x3be5de(0x1c4)](_0x576ef4),_0x576ef4=_0x14154f[_0x3be5de(0x1c4)](_0x2d45f3)[_0x3be5de(0x37f)](_0xd1a005),_0x14154f[_0x3be5de(0x1a9)]();for(var _0x9ef2dc=0x1;_0x9ef2dc<_0x288e36;_0x9ef2dc++)_0x576ef4=_0x14154f[_0x3be5de(0x37f)](_0x576ef4),_0x14154f[_0x3be5de(0x1a9)]();_0x13ed93['concat'](_0x576ef4);}return _0x13ed93[_0x3be5de(0x2db)]=_0x4b296d*0x4,_0x13ed93;}});_0x35862d[_0x3a76e4(0x377)]=function(_0x431617,_0x180efe,_0x1896d8){var _0x4e53e5=_0x3a76e4;return _0x30195e[_0x4e53e5(0x133)](_0x1896d8)[_0x4e53e5(0x2da)](_0x431617,_0x180efe);};}()),_0x1afe82['EvpKDF'];}));}(Ye)),Ye['exports'];}var Je={'exports':{}},Fr=Je[_0x59924f(0x33c)],ri;function Ai(){var _0x8cf2db=_0x59924f;return ri||(ri=0x1,function(_0x3914a1,_0x2497ee){(function(_0x21fb00,_0x1cc1c7,_0x4b77ac){var _0xb87b81=_0x2b46;_0x3914a1[_0xb87b81(0x33c)]=_0x1cc1c7(ne(),Ui());}(Fr,function(_0x3d6f4f){_0x3d6f4f['lib']['Cipher']||function(_0x178c83){var _0x1a5270=_0x2b46,_0x49d1d0=_0x3d6f4f,_0x35a1c9=_0x49d1d0[_0x1a5270(0x3ee)],_0x2ec902=_0x35a1c9[_0x1a5270(0x181)],_0x31cece=_0x35a1c9[_0x1a5270(0x13a)],_0x4965f5=_0x35a1c9[_0x1a5270(0x3a1)],_0x500d02=_0x49d1d0[_0x1a5270(0x246)];_0x500d02['Utf8'];var _0x5e8bb8=_0x500d02['Base64'],_0x345cc8=_0x49d1d0[_0x1a5270(0x195)],_0x5e6c1f=_0x345cc8[_0x1a5270(0x377)],_0x2e8b0d=_0x35a1c9[_0x1a5270(0x182)]=_0x4965f5[_0x1a5270(0x410)]({'cfg':_0x2ec902['extend'](),'createEncryptor':function(_0x2ceb2d,_0x1b9847){var _0x3b45ae=_0x1a5270;return this['create'](this[_0x3b45ae(0x1d1)],_0x2ceb2d,_0x1b9847);},'createDecryptor':function(_0x38e0ad,_0x540d84){return this['create'](this['_DEC_XFORM_MODE'],_0x38e0ad,_0x540d84);},'init':function(_0x2d2f77,_0xaf8494,_0xc8d3de){var _0x54a055=_0x1a5270;this['cfg']=this[_0x54a055(0x3d3)][_0x54a055(0x410)](_0xc8d3de),this['_xformMode']=_0x2d2f77,this[_0x54a055(0x3c4)]=_0xaf8494,this[_0x54a055(0x1a9)]();},'reset':function(){var _0x499d74=_0x1a5270;_0x4965f5[_0x499d74(0x1a9)][_0x499d74(0x401)](this),this[_0x499d74(0x3df)]();},'process':function(_0x3c7c7c){var _0x2452ed=_0x1a5270;return this[_0x2452ed(0x18c)](_0x3c7c7c),this[_0x2452ed(0x32c)]();},'finalize':function(_0x46dff4){var _0x195377=_0x1a5270;_0x46dff4&&this['_append'](_0x46dff4);var _0x481df7=this[_0x195377(0x349)]();return _0x481df7;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x1e32fc(_0x302c01){var _0x213c0f=_0x2b46;return typeof _0x302c01==_0x213c0f(0x422)?_0x17ad42:_0x40633f;}return function(_0x2f8d67){return{'encrypt':function(_0x143352,_0x57f152,_0x73c4e4){return _0x1e32fc(_0x57f152)['encrypt'](_0x2f8d67,_0x143352,_0x57f152,_0x73c4e4);},'decrypt':function(_0x1436ce,_0x4fe202,_0x31809f){var _0x200530=_0x2b46;return _0x1e32fc(_0x4fe202)[_0x200530(0x292)](_0x2f8d67,_0x1436ce,_0x4fe202,_0x31809f);}};};}())});_0x35a1c9[_0x1a5270(0x143)]=_0x2e8b0d[_0x1a5270(0x410)]({'_doFinalize':function(){var _0x3de299=_0x1a5270,_0x5032eb=this[_0x3de299(0x32c)](!0x0);return _0x5032eb;},'blockSize':0x1});var _0x52acd9=_0x49d1d0['mode']={},_0x478f3d=_0x35a1c9[_0x1a5270(0x2b7)]=_0x2ec902[_0x1a5270(0x410)]({'createEncryptor':function(_0x1604b3,_0x5209f6){return this['Encryptor']['create'](_0x1604b3,_0x5209f6);},'createDecryptor':function(_0x13a330,_0x2e57a8){var _0x48b37e=_0x1a5270;return this[_0x48b37e(0x282)][_0x48b37e(0x133)](_0x13a330,_0x2e57a8);},'init':function(_0x4a7f86,_0x53d2c8){var _0x2062d4=_0x1a5270;this[_0x2062d4(0x11f)]=_0x4a7f86,this[_0x2062d4(0x214)]=_0x53d2c8;}}),_0x357a2c=_0x52acd9['CBC']=(function(){var _0x38c256=_0x1a5270,_0x5eff31=_0x478f3d[_0x38c256(0x410)]();_0x5eff31[_0x38c256(0x204)]=_0x5eff31['extend']({'processBlock':function(_0x4cc198,_0x40f469){var _0x4fcebb=_0x38c256,_0x5091f4=this[_0x4fcebb(0x11f)],_0x434d88=_0x5091f4['blockSize'];_0x274951['call'](this,_0x4cc198,_0x40f469,_0x434d88),_0x5091f4['encryptBlock'](_0x4cc198,_0x40f469),this[_0x4fcebb(0x254)]=_0x4cc198['slice'](_0x40f469,_0x40f469+_0x434d88);}}),_0x5eff31[_0x38c256(0x282)]=_0x5eff31[_0x38c256(0x410)]({'processBlock':function(_0xf23a59,_0x38a16c){var _0x2bbca9=_0x38c256,_0x31c676=this[_0x2bbca9(0x11f)],_0x1108d0=_0x31c676[_0x2bbca9(0x278)],_0x97137c=_0xf23a59[_0x2bbca9(0x2aa)](_0x38a16c,_0x38a16c+_0x1108d0);_0x31c676[_0x2bbca9(0x33b)](_0xf23a59,_0x38a16c),_0x274951['call'](this,_0xf23a59,_0x38a16c,_0x1108d0),this[_0x2bbca9(0x254)]=_0x97137c;}});function _0x274951(_0xaa6aab,_0x465892,_0x1ea38b){var _0x4c18b6=_0x38c256,_0x4fad57,_0x4f47b3=this['_iv'];_0x4f47b3?(_0x4fad57=_0x4f47b3,this['_iv']=_0x178c83):_0x4fad57=this[_0x4c18b6(0x254)];for(var _0x35f351=0x0;_0x35f351<_0x1ea38b;_0x35f351++)_0xaa6aab[_0x465892+_0x35f351]^=_0x4fad57[_0x35f351];}return _0x5eff31;}()),_0x34ba6b=_0x49d1d0['pad']={},_0x536576=_0x34ba6b[_0x1a5270(0x17c)]={'pad':function(_0xd40c40,_0x42a73c){var _0x2c5746=_0x1a5270;for(var _0x5aa8b1=_0x42a73c*0x4,_0x3a5270=_0x5aa8b1-_0xd40c40[_0x2c5746(0x2db)]%_0x5aa8b1,_0x640535=_0x3a5270<<0x18|_0x3a5270<<0x10|_0x3a5270<<0x8|_0x3a5270,_0x585c01=[],_0x51949d=0x0;_0x51949d<_0x3a5270;_0x51949d+=0x4)_0x585c01[_0x2c5746(0x1f7)](_0x640535);var _0x34a3de=_0x31cece[_0x2c5746(0x133)](_0x585c01,_0x3a5270);_0xd40c40['concat'](_0x34a3de);},'unpad':function(_0x1515aa){var _0x4e8298=_0x1a5270,_0x4482aa=_0x1515aa[_0x4e8298(0x211)][_0x1515aa['sigBytes']-0x1>>>0x2]&0xff;_0x1515aa[_0x4e8298(0x2db)]-=_0x4482aa;}};_0x35a1c9['BlockCipher']=_0x2e8b0d[_0x1a5270(0x410)]({'cfg':_0x2e8b0d[_0x1a5270(0x3d3)][_0x1a5270(0x410)]({'mode':_0x357a2c,'padding':_0x536576}),'reset':function(){var _0x330f6a=_0x1a5270,_0x99d5db;_0x2e8b0d[_0x330f6a(0x1a9)][_0x330f6a(0x401)](this);var _0x22e1fa=this[_0x330f6a(0x3d3)],_0x5e4fb7=_0x22e1fa['iv'],_0x1ee8f2=_0x22e1fa[_0x330f6a(0x3ef)];this[_0x330f6a(0x2ff)]==this[_0x330f6a(0x1d1)]?_0x99d5db=_0x1ee8f2[_0x330f6a(0x207)]:(_0x99d5db=_0x1ee8f2[_0x330f6a(0x2ce)],this[_0x330f6a(0x40c)]=0x1),this[_0x330f6a(0x1e8)]&&this['_mode']['__creator']==_0x99d5db?this['_mode'][_0x330f6a(0x336)](this,_0x5e4fb7&&_0x5e4fb7['words']):(this[_0x330f6a(0x1e8)]=_0x99d5db[_0x330f6a(0x401)](_0x1ee8f2,this,_0x5e4fb7&&_0x5e4fb7[_0x330f6a(0x211)]),this[_0x330f6a(0x1e8)][_0x330f6a(0x2dd)]=_0x99d5db);},'_doProcessBlock':function(_0x1b467e,_0x48a6f8){var _0x17c0a7=_0x1a5270;this[_0x17c0a7(0x1e8)][_0x17c0a7(0x163)](_0x1b467e,_0x48a6f8);},'_doFinalize':function(){var _0xbd8bcb=_0x1a5270,_0x4d08b1,_0x53641d=this['cfg']['padding'];return this[_0xbd8bcb(0x2ff)]==this[_0xbd8bcb(0x1d1)]?(_0x53641d['pad'](this[_0xbd8bcb(0x2bb)],this['blockSize']),_0x4d08b1=this['_process'](!0x0)):(_0x4d08b1=this[_0xbd8bcb(0x32c)](!0x0),_0x53641d[_0xbd8bcb(0x399)](_0x4d08b1)),_0x4d08b1;},'blockSize':0x80/0x20});var _0x157fe6=_0x35a1c9[_0x1a5270(0x415)]=_0x2ec902['extend']({'init':function(_0x2c1576){var _0x17f01b=_0x1a5270;this[_0x17f01b(0x3c0)](_0x2c1576);},'toString':function(_0x594710){var _0x4c0623=_0x1a5270;return(_0x594710||this['formatter'])[_0x4c0623(0x3ce)](this);}}),_0x4fec2f=_0x49d1d0['format']={},_0x41c789=_0x4fec2f[_0x1a5270(0x333)]={'stringify':function(_0x366263){var _0x2f6af5=_0x1a5270,_0x4646de,_0xc686c6=_0x366263[_0x2f6af5(0x19f)],_0x3c827b=_0x366263[_0x2f6af5(0x3fd)];return _0x3c827b?_0x4646de=_0x31cece[_0x2f6af5(0x133)]([0x53616c74,0x65645f5f])[_0x2f6af5(0x316)](_0x3c827b)[_0x2f6af5(0x316)](_0xc686c6):_0x4646de=_0xc686c6,_0x4646de[_0x2f6af5(0x1b1)](_0x5e8bb8);},'parse':function(_0x5b9599){var _0x3e4aa2=_0x1a5270,_0x699997,_0x260e81=_0x5e8bb8[_0x3e4aa2(0x272)](_0x5b9599),_0x43bb36=_0x260e81[_0x3e4aa2(0x211)];return _0x43bb36[0x0]==0x53616c74&&_0x43bb36[0x1]==0x65645f5f&&(_0x699997=_0x31cece['create'](_0x43bb36[_0x3e4aa2(0x2aa)](0x2,0x4)),_0x43bb36[_0x3e4aa2(0x2a6)](0x0,0x4),_0x260e81[_0x3e4aa2(0x2db)]-=0x10),_0x157fe6['create']({'ciphertext':_0x260e81,'salt':_0x699997});}},_0x40633f=_0x35a1c9['SerializableCipher']=_0x2ec902[_0x1a5270(0x410)]({'cfg':_0x2ec902['extend']({'format':_0x41c789}),'encrypt':function(_0x354cf7,_0x550dfc,_0x35d5e1,_0x2e543b){var _0x1611a4=_0x1a5270;_0x2e543b=this['cfg'][_0x1611a4(0x410)](_0x2e543b);var _0x197114=_0x354cf7[_0x1611a4(0x207)](_0x35d5e1,_0x2e543b),_0x14abf6=_0x197114[_0x1611a4(0x37f)](_0x550dfc),_0x1e6c25=_0x197114['cfg'];return _0x157fe6[_0x1611a4(0x133)]({'ciphertext':_0x14abf6,'key':_0x35d5e1,'iv':_0x1e6c25['iv'],'algorithm':_0x354cf7,'mode':_0x1e6c25[_0x1611a4(0x3ef)],'padding':_0x1e6c25['padding'],'blockSize':_0x354cf7['blockSize'],'formatter':_0x2e543b['format']});},'decrypt':function(_0x40ffb2,_0x4bf969,_0x433bac,_0x3d9dbc){var _0x547b50=_0x1a5270;_0x3d9dbc=this[_0x547b50(0x3d3)][_0x547b50(0x410)](_0x3d9dbc),_0x4bf969=this[_0x547b50(0x353)](_0x4bf969,_0x3d9dbc['format']);var _0x26d156=_0x40ffb2['createDecryptor'](_0x433bac,_0x3d9dbc)[_0x547b50(0x37f)](_0x4bf969[_0x547b50(0x19f)]);return _0x26d156;},'_parse':function(_0x219099,_0x12397c){var _0x3a783f=_0x1a5270;return typeof _0x219099==_0x3a783f(0x422)?_0x12397c['parse'](_0x219099,this):_0x219099;}}),_0x109f2a=_0x49d1d0[_0x1a5270(0x38f)]={},_0x5a8c56=_0x109f2a['OpenSSL']={'execute':function(_0x43cbff,_0x22d109,_0xf7a845,_0x5a9bb,_0x42add8){var _0x20bab3=_0x1a5270;if(_0x5a9bb||(_0x5a9bb=_0x31cece['random'](0x40/0x8)),_0x42add8)var _0xe545c4=_0x5e6c1f[_0x20bab3(0x133)]({'keySize':_0x22d109+_0xf7a845,'hasher':_0x42add8})['compute'](_0x43cbff,_0x5a9bb);else var _0xe545c4=_0x5e6c1f['create']({'keySize':_0x22d109+_0xf7a845})['compute'](_0x43cbff,_0x5a9bb);var _0x29054e=_0x31cece['create'](_0xe545c4['words']['slice'](_0x22d109),_0xf7a845*0x4);return _0xe545c4['sigBytes']=_0x22d109*0x4,_0x157fe6[_0x20bab3(0x133)]({'key':_0xe545c4,'iv':_0x29054e,'salt':_0x5a9bb});}},_0x17ad42=_0x35a1c9[_0x1a5270(0x156)]=_0x40633f[_0x1a5270(0x410)]({'cfg':_0x40633f[_0x1a5270(0x3d3)][_0x1a5270(0x410)]({'kdf':_0x5a8c56}),'encrypt':function(_0x5850ef,_0x525619,_0x14f782,_0x1d96d8){var _0x390895=_0x1a5270;_0x1d96d8=this[_0x390895(0x3d3)][_0x390895(0x410)](_0x1d96d8);var _0x2a7709=_0x1d96d8[_0x390895(0x38f)][_0x390895(0x354)](_0x14f782,_0x5850ef[_0x390895(0x31b)],_0x5850ef[_0x390895(0x417)],_0x1d96d8[_0x390895(0x3fd)],_0x1d96d8['hasher']);_0x1d96d8['iv']=_0x2a7709['iv'];var _0x36bc7d=_0x40633f[_0x390895(0x1fe)]['call'](this,_0x5850ef,_0x525619,_0x2a7709[_0x390895(0x23c)],_0x1d96d8);return _0x36bc7d[_0x390895(0x3c0)](_0x2a7709),_0x36bc7d;},'decrypt':function(_0x3e1f22,_0x24def1,_0x270954,_0xbd4a84){var _0x30e89b=_0x1a5270;_0xbd4a84=this['cfg']['extend'](_0xbd4a84),_0x24def1=this[_0x30e89b(0x353)](_0x24def1,_0xbd4a84[_0x30e89b(0x39b)]);var _0x127543=_0xbd4a84[_0x30e89b(0x38f)][_0x30e89b(0x354)](_0x270954,_0x3e1f22[_0x30e89b(0x31b)],_0x3e1f22[_0x30e89b(0x417)],_0x24def1[_0x30e89b(0x3fd)],_0xbd4a84[_0x30e89b(0x3b9)]);_0xbd4a84['iv']=_0x127543['iv'];var _0x3b96fb=_0x40633f[_0x30e89b(0x292)][_0x30e89b(0x401)](this,_0x3e1f22,_0x24def1,_0x127543[_0x30e89b(0x23c)],_0xbd4a84);return _0x3b96fb;}});}();}));}(Je)),Je[_0x8cf2db(0x33c)];}var Vr=Ve['exports'],si;function Gr(){return si||(si=0x1,function(_0x47912c,_0x817d57){(function(_0x5bffa9,_0x3e35b3,_0x46c13e){var _0x5874bd=_0x2b46;_0x47912c[_0x5874bd(0x33c)]=_0x3e35b3(ne(),wi(),Mr(),Ui(),Ai());}(Vr,function(_0x1b96ec){var _0x1f1874=_0x2b46;return(function(){var _0x3caea7=_0x2b46,_0x341328=_0x1b96ec,_0x4ed73a=_0x341328[_0x3caea7(0x3ee)],_0x65fda8=_0x4ed73a['BlockCipher'],_0xb9032c=_0x341328[_0x3caea7(0x195)],_0x162d1a=[],_0x1a982c=[],_0x523b01=[],_0x127ba3=[],_0x115e75=[],_0x3647b8=[],_0x5771b2=[],_0x15e863=[],_0x231812=[],_0x5733dd=[];(function(){for(var _0x5404e9=[],_0x19e2c3=0x0;_0x19e2c3<0x100;_0x19e2c3++)_0x19e2c3<0x80?_0x5404e9[_0x19e2c3]=_0x19e2c3<<0x1:_0x5404e9[_0x19e2c3]=_0x19e2c3<<0x1^0x11b;for(var _0x5c2d51=0x0,_0x444351=0x0,_0x19e2c3=0x0;_0x19e2c3<0x100;_0x19e2c3++){var _0x58bb1a=_0x444351^_0x444351<<0x1^_0x444351<<0x2^_0x444351<<0x3^_0x444351<<0x4;_0x58bb1a=_0x58bb1a>>>0x8^_0x58bb1a&0xff^0x63,_0x162d1a[_0x5c2d51]=_0x58bb1a,_0x1a982c[_0x58bb1a]=_0x5c2d51;var _0x5f22e0=_0x5404e9[_0x5c2d51],_0x93118f=_0x5404e9[_0x5f22e0],_0x28fe03=_0x5404e9[_0x93118f],_0x3ee98b=_0x5404e9[_0x58bb1a]*0x101^_0x58bb1a*0x1010100;_0x523b01[_0x5c2d51]=_0x3ee98b<<0x18|_0x3ee98b>>>0x8,_0x127ba3[_0x5c2d51]=_0x3ee98b<<0x10|_0x3ee98b>>>0x10,_0x115e75[_0x5c2d51]=_0x3ee98b<<0x8|_0x3ee98b>>>0x18,_0x3647b8[_0x5c2d51]=_0x3ee98b;var _0x3ee98b=_0x28fe03*0x1010101^_0x93118f*0x10001^_0x5f22e0*0x101^_0x5c2d51*0x1010100;_0x5771b2[_0x58bb1a]=_0x3ee98b<<0x18|_0x3ee98b>>>0x8,_0x15e863[_0x58bb1a]=_0x3ee98b<<0x10|_0x3ee98b>>>0x10,_0x231812[_0x58bb1a]=_0x3ee98b<<0x8|_0x3ee98b>>>0x18,_0x5733dd[_0x58bb1a]=_0x3ee98b,_0x5c2d51?(_0x5c2d51=_0x5f22e0^_0x5404e9[_0x5404e9[_0x5404e9[_0x28fe03^_0x5f22e0]]],_0x444351^=_0x5404e9[_0x5404e9[_0x444351]]):_0x5c2d51=_0x444351=0x1;}}());var _0x3019c2=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x255ccb=_0xb9032c['AES']=_0x65fda8['extend']({'_doReset':function(){var _0x501949=_0x3caea7,_0x228d36;if(!(this['_nRounds']&&this[_0x501949(0x1f2)]===this[_0x501949(0x3c4)])){for(var _0x5004b2=this[_0x501949(0x1f2)]=this[_0x501949(0x3c4)],_0x35a570=_0x5004b2[_0x501949(0x211)],_0x317796=_0x5004b2['sigBytes']/0x4,_0x5ba6e3=this['_nRounds']=_0x317796+0x6,_0x116cfa=(_0x5ba6e3+0x1)*0x4,_0x4d19c8=this[_0x501949(0x3d0)]=[],_0x12a287=0x0;_0x12a287<_0x116cfa;_0x12a287++)_0x12a287<_0x317796?_0x4d19c8[_0x12a287]=_0x35a570[_0x12a287]:(_0x228d36=_0x4d19c8[_0x12a287-0x1],_0x12a287%_0x317796?_0x317796>0x6&&_0x12a287%_0x317796==0x4&&(_0x228d36=_0x162d1a[_0x228d36>>>0x18]<<0x18|_0x162d1a[_0x228d36>>>0x10&0xff]<<0x10|_0x162d1a[_0x228d36>>>0x8&0xff]<<0x8|_0x162d1a[_0x228d36&0xff]):(_0x228d36=_0x228d36<<0x8|_0x228d36>>>0x18,_0x228d36=_0x162d1a[_0x228d36>>>0x18]<<0x18|_0x162d1a[_0x228d36>>>0x10&0xff]<<0x10|_0x162d1a[_0x228d36>>>0x8&0xff]<<0x8|_0x162d1a[_0x228d36&0xff],_0x228d36^=_0x3019c2[_0x12a287/_0x317796|0x0]<<0x18),_0x4d19c8[_0x12a287]=_0x4d19c8[_0x12a287-_0x317796]^_0x228d36);for(var _0x5196a0=this[_0x501949(0x37e)]=[],_0x2a8963=0x0;_0x2a8963<_0x116cfa;_0x2a8963++){var _0x12a287=_0x116cfa-_0x2a8963;if(_0x2a8963%0x4)var _0x228d36=_0x4d19c8[_0x12a287];else var _0x228d36=_0x4d19c8[_0x12a287-0x4];_0x2a8963<0x4||_0x12a287<=0x4?_0x5196a0[_0x2a8963]=_0x228d36:_0x5196a0[_0x2a8963]=_0x5771b2[_0x162d1a[_0x228d36>>>0x18]]^_0x15e863[_0x162d1a[_0x228d36>>>0x10&0xff]]^_0x231812[_0x162d1a[_0x228d36>>>0x8&0xff]]^_0x5733dd[_0x162d1a[_0x228d36&0xff]];}}},'encryptBlock':function(_0x3542ea,_0x4cb6a4){var _0x1e8fe9=_0x3caea7;this[_0x1e8fe9(0x275)](_0x3542ea,_0x4cb6a4,this[_0x1e8fe9(0x3d0)],_0x523b01,_0x127ba3,_0x115e75,_0x3647b8,_0x162d1a);},'decryptBlock':function(_0x29dbc3,_0x34545c){var _0x315853=_0x3caea7,_0xcfc440=_0x29dbc3[_0x34545c+0x1];_0x29dbc3[_0x34545c+0x1]=_0x29dbc3[_0x34545c+0x3],_0x29dbc3[_0x34545c+0x3]=_0xcfc440,this[_0x315853(0x275)](_0x29dbc3,_0x34545c,this[_0x315853(0x37e)],_0x5771b2,_0x15e863,_0x231812,_0x5733dd,_0x1a982c);var _0xcfc440=_0x29dbc3[_0x34545c+0x1];_0x29dbc3[_0x34545c+0x1]=_0x29dbc3[_0x34545c+0x3],_0x29dbc3[_0x34545c+0x3]=_0xcfc440;},'_doCryptBlock':function(_0x31a6b3,_0x7c4264,_0xe57ea8,_0x4832e7,_0x45e66a,_0x504c72,_0x5ca779,_0x19922b){var _0x42cc11=_0x3caea7;for(var _0x3a8de0=this[_0x42cc11(0x231)],_0x27d587=_0x31a6b3[_0x7c4264]^_0xe57ea8[0x0],_0x5469bc=_0x31a6b3[_0x7c4264+0x1]^_0xe57ea8[0x1],_0x168a06=_0x31a6b3[_0x7c4264+0x2]^_0xe57ea8[0x2],_0x5e3cf7=_0x31a6b3[_0x7c4264+0x3]^_0xe57ea8[0x3],_0x48cd57=0x4,_0x7aa4a9=0x1;_0x7aa4a9<_0x3a8de0;_0x7aa4a9++){var _0x2009c2=_0x4832e7[_0x27d587>>>0x18]^_0x45e66a[_0x5469bc>>>0x10&0xff]^_0x504c72[_0x168a06>>>0x8&0xff]^_0x5ca779[_0x5e3cf7&0xff]^_0xe57ea8[_0x48cd57++],_0x3e241d=_0x4832e7[_0x5469bc>>>0x18]^_0x45e66a[_0x168a06>>>0x10&0xff]^_0x504c72[_0x5e3cf7>>>0x8&0xff]^_0x5ca779[_0x27d587&0xff]^_0xe57ea8[_0x48cd57++],_0x5eac4a=_0x4832e7[_0x168a06>>>0x18]^_0x45e66a[_0x5e3cf7>>>0x10&0xff]^_0x504c72[_0x27d587>>>0x8&0xff]^_0x5ca779[_0x5469bc&0xff]^_0xe57ea8[_0x48cd57++],_0x469dff=_0x4832e7[_0x5e3cf7>>>0x18]^_0x45e66a[_0x27d587>>>0x10&0xff]^_0x504c72[_0x5469bc>>>0x8&0xff]^_0x5ca779[_0x168a06&0xff]^_0xe57ea8[_0x48cd57++];_0x27d587=_0x2009c2,_0x5469bc=_0x3e241d,_0x168a06=_0x5eac4a,_0x5e3cf7=_0x469dff;}var _0x2009c2=(_0x19922b[_0x27d587>>>0x18]<<0x18|_0x19922b[_0x5469bc>>>0x10&0xff]<<0x10|_0x19922b[_0x168a06>>>0x8&0xff]<<0x8|_0x19922b[_0x5e3cf7&0xff])^_0xe57ea8[_0x48cd57++],_0x3e241d=(_0x19922b[_0x5469bc>>>0x18]<<0x18|_0x19922b[_0x168a06>>>0x10&0xff]<<0x10|_0x19922b[_0x5e3cf7>>>0x8&0xff]<<0x8|_0x19922b[_0x27d587&0xff])^_0xe57ea8[_0x48cd57++],_0x5eac4a=(_0x19922b[_0x168a06>>>0x18]<<0x18|_0x19922b[_0x5e3cf7>>>0x10&0xff]<<0x10|_0x19922b[_0x27d587>>>0x8&0xff]<<0x8|_0x19922b[_0x5469bc&0xff])^_0xe57ea8[_0x48cd57++],_0x469dff=(_0x19922b[_0x5e3cf7>>>0x18]<<0x18|_0x19922b[_0x27d587>>>0x10&0xff]<<0x10|_0x19922b[_0x5469bc>>>0x8&0xff]<<0x8|_0x19922b[_0x168a06&0xff])^_0xe57ea8[_0x48cd57++];_0x31a6b3[_0x7c4264]=_0x2009c2,_0x31a6b3[_0x7c4264+0x1]=_0x3e241d,_0x31a6b3[_0x7c4264+0x2]=_0x5eac4a,_0x31a6b3[_0x7c4264+0x3]=_0x469dff;},'keySize':0x100/0x20});_0x341328[_0x3caea7(0x21c)]=_0x65fda8['_createHelper'](_0x255ccb);}()),_0x1b96ec[_0x1f1874(0x21c)];}));}(Ve)),Ve['exports'];}var Wr=Gr();const Kr=ke(Wr);var Yr=wi();const oi=ke(Yr);var Xe={'exports':{}},qr=Xe[_0x59924f(0x33c)],ai;function zr(){return ai||(ai=0x1,function(_0x488301,_0x5f03a5){(function(_0x9d4c06,_0x33b6f0){_0x488301['exports']=_0x33b6f0(ne());}(qr,function(_0x34140f){var _0x422506=_0x2b46;return _0x34140f[_0x422506(0x246)][_0x422506(0x2fb)];}));}(Xe)),Xe['exports'];}var Jr=zr();const Xr=ke(Jr);var Ze={'exports':{}},Zr=Ze[_0x59924f(0x33c)],ci;function Qr(){var _0x90bf82=_0x59924f;return ci||(ci=0x1,function(_0x1ee4ad,_0x110d6e){(function(_0x133c72,_0x3e978d){var _0x3d90a0=_0x2b46;_0x1ee4ad[_0x3d90a0(0x33c)]=_0x3e978d(ne());}(Zr,function(_0x3fadc8){var _0x7f5bf2=_0x2b46;return(function(){var _0x41b6c2=_0x2b46;if(typeof ArrayBuffer==_0x41b6c2(0x380)){var _0x57056b=_0x3fadc8,_0x5da8ec=_0x57056b[_0x41b6c2(0x3ee)],_0x33479b=_0x5da8ec['WordArray'],_0x51e0ec=_0x33479b[_0x41b6c2(0x336)],_0x5f148d=_0x33479b['init']=function(_0x1a284d){var _0x31531a=_0x41b6c2;if(_0x1a284d instanceof ArrayBuffer&&(_0x1a284d=new Uint8Array(_0x1a284d)),(_0x1a284d instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1a284d instanceof Uint8ClampedArray||_0x1a284d instanceof Int16Array||_0x1a284d instanceof Uint16Array||_0x1a284d instanceof Int32Array||_0x1a284d instanceof Uint32Array||_0x1a284d instanceof Float32Array||_0x1a284d instanceof Float64Array)&&(_0x1a284d=new Uint8Array(_0x1a284d[_0x31531a(0x16d)],_0x1a284d['byteOffset'],_0x1a284d[_0x31531a(0x2f4)])),_0x1a284d instanceof Uint8Array){for(var _0x4f7556=_0x1a284d[_0x31531a(0x2f4)],_0x41d9b2=[],_0x10d9e8=0x0;_0x10d9e8<_0x4f7556;_0x10d9e8++)_0x41d9b2[_0x10d9e8>>>0x2]|=_0x1a284d[_0x10d9e8]<<0x18-_0x10d9e8%0x4*0x8;_0x51e0ec['call'](this,_0x41d9b2,_0x4f7556);}else _0x51e0ec[_0x31531a(0x2dc)](this,arguments);};_0x5f148d['prototype']=_0x33479b;}}()),_0x3fadc8[_0x7f5bf2(0x3ee)][_0x7f5bf2(0x13a)];}));}(Ze)),Ze[_0x90bf82(0x33c)];}var es=Qr();const ts=ke(es);var Qe={'exports':{}},is=Qe[_0x59924f(0x33c)],hi;function ns(){return hi||(hi=0x1,function(_0x1feba9,_0x598ae4){(function(_0x3161c3,_0x5ed9dc,_0x54f08d){var _0x4f04fe=_0x2b46;_0x1feba9[_0x4f04fe(0x33c)]=_0x5ed9dc(ne(),Ai());}(is,function(_0x2b220a){var _0x48c0f5=_0x2b46;return _0x2b220a[_0x48c0f5(0x21b)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x2b220a['pad'][_0x48c0f5(0x27d)];}));}(Qe)),Qe['exports'];}function _0x8331(){var _0x351114=['_getLoginPath','createDecryptor','_throwTelemetryCollaborationNewChangeset','_transformIMECache','_members$','getSheetId','set','JOIN','clamp','reduce','_univerInstanceService','_awaitingChangeset','put','compute','sigBytes','apply','__creator','_remoteChangesetQueue','_tryEnsureSocket','transformMutationsWithChangeset','snapshotServerUrl','pauseCollaboration','collaboration-client.local-cache-service','UNKNOWN_CMD','JOIN_ROOM_FULL','OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','_initDependencies','state$','range','[CollaborationState]:\x20apply\x20error!','_config','symbol','onSendChangeset','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','session.join-failed','Could\x20not\x20dynamically\x20require\x20\x22','DEFAULT_FILE_NAME','_instanceService','byteLength','default','roomInfos','awaitingChangeset','\x0aAfter:\x20','SUBMIT_CHANGESET_TIMEOUT','then','Utf8','_transformService','override','toggleOnline','_xformMode','csRejEvent','[PendingState]:\x20unhandled\x20univer\x20type:\x20','PERSON','_state$','onStarting','getImage','target','unitID','__Key__','_init','map','synced','_createHandler','_collaborationTimeoutTimer','collaboration_new_changeset','_onMessage','_collabSessionService','onStateChange','CONFLICT','onlyLocal','/fetchmissing?from=','_clearCollaborationTimeoutTimer','concat','/allowed','_applyRemoteChangeset','href','NOT_COLLAB','keySize','objects','stopTime','generateRandomId','subUnitId','COMPRESS_MUTATION_APPLY','ONLINE','/universer-api/file/{fileID}/sign-url','Univer','addHandlerCallback','_createInitialStateImpl','resolve','runId','_socketService','session.room-full','_substituteRedoStack','_listenToNetworkCondition','_process','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','patch','headers','_substituteUndoStack','memberID','commentUpdateEvent','OpenSSL','sheets','_decreaseWaiting','init','UNDEFINED','_socket','resourceIDs','_clearUndo','decryptBlock','exports','reverse','getOwnPropertyDescriptor','getTime','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','interceptor','_replaceFileID','SNAPSHOT_INVALID_SNAPSHOT','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','RECV','_initCloseConn','action','PY_RUNTIME_SCRIPT_ERROR','_doFinalize','/block/','\x0aCurrent:\x20','$super','_onCombEvent','_handler','url','json','length','[PendingState]:\x20received\x20rejection.','_parse','execute','CHANGESET_REJ','_pendingMutations','offline','getAllMembers','onRemoteChangeset','24159auwMBX','collaMsg','eventID','_eventService','[UniverCollaborationClientPlugin]','createSocket','getFocusedUnit','startsWith','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','/universer-api/comb','_memberService','/universer-api/authz','APPLY_REJECT','_sendingTimer','_createSocket','_getSendChangesetTimeout','fetchMiss','clone','unit-cache-','YUUMI_RATE_OVER_LIMIT','routeKey','LIVESHARE_FETCH_OPERATIONS','Latin1','UNIVER_UNKNOWN','USERS_LEAVE','COMPLETION_FINISHED','_onConflict','_onLocalMutation','?size=','EvpKDF','AUTHZ_URL_KEY','LICENSE_MAX_UNITS_EXCEEDED','UNIVER_SLIDE','_schedule','roles','updateMember','_invKeySchedule','finalize','function','enableAuthServer','change$','\x20to\x20','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','defineProperty','UNRECOGNIZED','subscribe','_collaborationPaused','YUUMI_URL_COL_OUT_OF_RANGE','getCurrentUser','name','type','csAckEvent','Malformed\x20UTF-8\x20data','kdf','submit\x20changeset\x20error!','randomUUID','clear','add','_onRecvEvent','_commandService','appendMutation','SUCCUSS','editingUnit','unpad','_socket$','format','OFFLINE','MUTATION','FETCH_MISSING','APPLY_NON_SEQUENTIAL_REVISION','UnitEmbedded','BufferedBlockAlgorithm','equals','_stopTelemetryCollaborationNewChangeset','getLatestCsReqIdBySid','members','LICENSE_DISTRO_REJECTED','SNAPSHOT_URL_KEY','UNKNOWN_CODE','FAIL','9666AAMxga','ERROR_IMAGE_TYPE','_clearRedo','_handlerCallback','collabWebSocketUrl','onRemoteAck','_shouldReportTelemetry','transformUndoRedo','auth.needGotoLoginAlert','_networkConditionService','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','removeMember','rev','asObservable','_toggleOffline','hasher','SOCKET_FAILED_RETRY','_members','COMMENT_UPDATE','objectActions','forEach','JOIN_ROOM_FAILED','mixIn','_configService','COLLAB_SUBMIT_CHANGESET_URL','_injector','_key','substr','APPLY_PERMISSION_DENIED','_onRemoteACK','connection\x20error','_changesetSessionId','crypto','status','indexOf','complete','stringify','getUnitType','_keySchedule','/universer-api/user/session-ticket','unitId','cfg','getCurrentRevOfUnit','_userManagerService','_roomCreated$','JOIN_ROOM_PERMISSION_DENIED','fetch_missing','onCommandExecuted','JOIN_ROOM_NOT_EXISTS','joinEvent','_hash','_getUploadFileURL','PENDING','_doReset','send','incrementRevOfUnit','/unit/','params','_clearHeartbeatTimer','entityInit$','_replayCachedMutations','changesets','getUnitOnRev','code','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_transformStack','CONNECTOR_DATA_TOO_LARGE','getTypeOfUnitAdded$','lib','mode','AWAITING_WITH_PENDING','conflict','searchParams','_sendHeartbeat','_onRemoteChangeset','_toggleOnline','onTransformState','POST','_executeRemoteChangeset','m2Prime','UNIVER_DOC','_isPermissionRej','_transformRemoteChangesetByStateCache','salt','prototype','abs','4gzYQTV','call','status$','_clearTimeoutTimer','_waitForHeartbeatResponse','763leMuwr','sessionStatus$','permissionRejEvent','MD5','HEARTBEAT_INTERVAL','_onFetchMissResult','IDLE','_minBufferSize','revision','913yNgVLp','_iKey','extend','ENSURE_SNAPSHOT_EXECUTION','univer-pro.collaboration-client-socket-service','body','save\x20fail\x20reason\x20is\x20','CipherParams','LOCAL_CACHE_INTERVAL','ivSize','GLOBAL_ROOMS_CNT_EXCEEDS','_timeoutTimer','HEARTBEAT','_retryConnectingTimer','toggleOffline','_exhaustRemoteChangesetQueue','enableSingleActiveInstanceLock','requestParams','/universer-api/snapshot/','deleteCollaborator','string','members$','_entityInit$','message$','image/bmp','updatePermissionPoint','_registerDependencies','selections','_initRequestHeader','_logService','_unitID','_cipher','/rev/','commentUpdate$','/new_changes','onSyncEditingCollabCursor','updateOfflineData','originalMeta','getImageSourceCache','onRemoteRetry','Hex','onload','_getSessionTicket','iterations','close$','_type','unitId\x20is\x20not\x20found','signUrlServerUrl','objectType','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','90uUlfEz','create','UNISCRIPT_RUN','[OfflineState]:\x20received\x20changeset.','/collaborator','getDeserializedSheetBlock','transformChangesets','bind','WordArray','UPDATE_PERMISSION_OBJ','executeCommand','get','HttpExport','addImageSourceCache','_snapshotService','avatar','updatePermissionObjEvent','StreamCipher','Hasher','NO_OTHER_CLIENTS_EDITING','_collaborationUIEventService','toLowerCase','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','enableOfflineEditing','_lockTransition','1492256ZkugZu','UNIVER_SHEET','_updateStatus','online$','_localeService','repeat','createInstance','_getUndoStack','getValue','awaiting_with_pending','join','PasswordBasedCipher','_disableEditing','_rescheduleHeartbeat','{fileID}','responseType','disableLocalCache','createCollaborator','_onRemoteRejected','liveShareOperation','_tryReconnect','LICENSE_IMPORT_SIZE_EXCEEDED','60132dMnJvt','c1Prime','processBlock','socket\x20close','LICENSE_EXPORT_SIZE_EXCEEDED','_incrementRevisionNumber','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','[CollaborationSessionService]','UNIVER_COLLABORATION_CLIENT_PLUGIN','_clearScheduledTask','_createSocketURL','PERMISSION_DENIED','buffer','_transformRemoteChangesetByIMECache','_acknowledgedAwaitingChangeset','image/jpg','getRandomValues','SUBMIT_CHANGESET','putCollaborators','_oKey','_sender','Error\x20on\x20receiving\x20event','HMAC','_transitionLocked','_revisionService','_getAPIPrefixPath','_onUserJoin','Pkcs7','listRoles','_onConnectionFailed','_sessionStatus$','getConfig','Base','Cipher','_onRemoteRetry','_unlockTransition','_redoStacks','_scheduleCompleteTimestamp','charAt','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_imageSourceCache','_initUnitPermissionChange','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_append','state','deepClone','sin','_sendHeartbeatTimer','startTime','loadDoc','HELLO','onMissingChangesets','algo','COMPRESS_MUTATION_SEND','_nDataBytes','[CollaborationEntity]','onTransformRemoteChangesetByIMECache','loadUnit','image/jpeg','_createHmacHelper','/universer-api/snapshot','getMember','ciphertext','_loadDoc','reconnect','getWorkbookSelections','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_queuedRemoteChangesets','_getRedoStack','snapshot','1493705BFkgzW','_changesetReqId','reset','sessionStatus','_startCollaboration','_localCacheService','_getDownloadEndpointURL','event$','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','getInterceptPoints','toString','_snapshotServerService','sid','every','_waitCount','/universer-api/oidc/authpage','transformStack\x20failed!','_emitMembers','resend','size','_syncEditingCollabCursor','close','CHANGESET_ACK','localeService','open$','liveShareNewHost','_submitChangeset','_initMergeInterceptor','file','update','_http','findIndex','2360QJYIjx','INTERNAL_ERROR','UnitSnapshot','USERS_ENTER','[CollaborationUndoRedoService]','_roomMembers','onTransformIME','_undoRedoService','getResourcesRequest','awaiting','_ENC_XFORM_MODE','fetchMissingChangesets','setCurrentUser','debug','leaveEvent','actions','FETCH_MISS','_getCtorByUniverType','[PendingState]:\x20received\x20acknowledgement.','randomBytes','fromCollab','reject','CHANGESET_REVISION_CONFILICT','closeSession','values','saveSheetBlock','getRoom','sessionTicket','_candidateSocket','baseRev','_permissionService','saveChangeset','PSEUDO_FETCH_MISSING_RESULT','_mode','SOCKET_FAILED','HttpImport','_retryCount','title','collaboration-client.config','unsubscribe','getCollabEntity','onTransformSelections','_telemetryInfo','_keyPriorReset','_onOffline','_joinRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','ticket','push','session','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','emitEvent','/-/object/-/batch_allowed','onMissedChangesetFetched','getSheetBlock','encrypt','_status$','loadOfflineData','getUnitId','_doProcessBlock','LEAVE','Encryptor','requireSession','_transformUndoredo','createEncryptor','hostname','_updateState','collabSubmitChangesetUrl','COLLAB_WEB_SOCKET_URL','_compressMutationService','filter','updateCollaborator','TOO_MANY_REQUESTS','search','words','[CollaborationSession]','[OfflineState]:\x20received\x20rejection.','_iv','fromCharCode','transformSelections','dispose$','_createHelper','_updateLocalCache','_createInitialState','pad','AES','9149460DgxGfI','duration','copyFileMeta','charCodeAt','SHOULD_CLOSE_CONN','ALREADY_EXISTS','APPLY_REVISION_CONFILICT','SYNCED','waitForRoom$','socket\x20open.','&assign=','NEW_CHANGESETS','editing\x20status\x20changed\x20to','isArray','telemetry\x20info\x20is\x20not\x20initialized','_unitInfo$','updateCursorEvent','_socketMessageSubscription','_resendTimer','SNAPSHOT_HAS_BEEN_REMOVED','_nRounds','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_scheduleCollaborationTimeoutTimer','onTransformRemoteChangesetByStateCache','reqId','getCollabEntity$','disposeWithMe','initWorkbookPermissionChange','setWaitCount','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','9VyJsbz','key','/universer-api/stream/file/upload','PERMISSION_REJ','result','_event$','authzUrl','_state','LIVESHARE_REQUEST_HOST','_change$','downloadEndpointUrl','enc','CHANGESET_SHOULD_RETRY','ceil','_startTelemetryCollaborationNewChangeset','_reverseMap','not_collab','infoRsp','_resendWithTimeout','isPermissionRej','failed\x20to\x20apply\x20missed\x20changesets!','_showConflictNotification','onCommentUpdate','_httpService','SHA1','_prevBlock','delete','onRemoteRej','_hasher','encodeURIComponent','_telemetryService','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','pipe','LOGIN_URL_KEY','?url=','newCsEvent','session.room-not-exists','sendChangesetTimeout','_commentService','FileId','unitInfo$','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','error$','LIVESHARE_NEW_HOST','LIVESHARE_TERMINATE','next','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','YUUMI_SUBSCRIPTION_NOT_FOUND','shouldCloseConn','onLocalMutation','OTHER_CLIENT_EDITING','focused$','MSG_FOR_ERROR','_loadSheet','getActiveSheet','parse','subject','getSnapshotAPIPath','_doCryptBlock','_entities','SEND_CHANGESET_TIMEOUT','blockSize','random','/object/','data','setShowComponents','NoPadding','_resendTimeout','__esModule','unknown','ERROR_IMAGE','Decryptor','[DataLoaderService]','UNAUTHENTICATED','post','INGEST','list','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','error','_fetchMissChangesets','&to=','max','_onConnectionOpen','hasOwnProperty','_collaborationSessionService','now','floor','decrypt','APPLY_DUPLICATED','_sheetTransformSelectionsService','_commentUpdate$','joinRsp','csShouldRetryEvent','collaboratorID','_onJoinRoomEvent','_getCurrentRevision','registerHTTPInterceptor','mutations','textRanges','localCacheService','HEARTBEAT_TIMEOUT','_clearLocalCache','/object','SNAPSHOT_SERVER_URL_KEY','find','_sessions','msCrypto','splice','location','_socketReady','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','slice','uploadFileServerUrl','NOT_FOUND','Undefined','fetchThroughInterceptors','/-/object/list','BASE64','/role','socketService','_getSignURL','AWAITING','readyForCollab','cmd','BlockCipherMode','ws://127.0.0.1:8000/universer-api/comb/connect','LIVESHARE_OPERATION','origin','_data','_HTTPService','has','_singleActiveUnitService','image/gif','catch','listCollaborators','capture','univer-pro.collaboration-client.single-active-unit-service','objectID','encode','dispose','_checkMissing','_onUserLeave','/universer-api/uniscript','getTypeOfUnitDisposed$','_getAPIPrefix','_map'];_0x8331=function(){return _0x351114;};return _0x8331();}var rs=ns();const ss=ke(rs);function os(_0x4420e3,_0x6226f7){var _0x15269c=_0x59924f;const _0x31b961=_0x6226f7-_0x4420e3[_0x15269c(0x351)]%_0x6226f7,_0x33ffca=String[_0x15269c(0x215)](_0x31b961)[_0x15269c(0x150)](_0x31b961);return _0x4420e3+_0x33ffca;}function as(_0xd2ff70,_0x484eec){var _0xfda0e3=_0x59924f;const _0x48c58c=ts[_0xfda0e3(0x279)](0x10),_0xe3c07a=os(_0xd2ff70,0x10),_0x1f28ac=Kr['encrypt'](Xr['parse'](_0xe3c07a),oi[_0xfda0e3(0x272)](_0x484eec),{'iv':_0x48c58c,'padding':ss});return _0x48c58c[_0xfda0e3(0x316)](_0x1f28ac[_0xfda0e3(0x19f)])['toString'](oi);}function cs(){var _0x220d5d=_0x59924f;const _0x31b020=_0x512f0c()[_0x220d5d(0x308)];if(_0x31b020){const _0x42c8e7={'time':Math['floor'](Date[_0x220d5d(0x290)]()/0x3e8),'domain':location[_0x220d5d(0x208)]};return as(JSON['stringify'](_0x42c8e7),_0x31b020);}}var hs=Object['defineProperty'],_s=Object[_0x59924f(0x33e)],ls=(_0x3594e1,_0x35093b,_0x240636,_0x16c258)=>{var _0x4ee837=_0x59924f;for(var _0x201242=_0x16c258>0x1?void 0x0:_0x16c258?_s(_0x35093b,_0x240636):_0x35093b,_0x55febe=_0x3594e1[_0x4ee837(0x351)]-0x1,_0x2e8221;_0x55febe>=0x0;_0x55febe--)(_0x2e8221=_0x3594e1[_0x55febe])&&(_0x201242=(_0x16c258?_0x2e8221(_0x35093b,_0x240636,_0x201242):_0x2e8221(_0x201242))||_0x201242);return _0x16c258&&_0x201242&&hs(_0x35093b,_0x240636,_0x201242),_0x201242;},us=(_0x331cd8,_0x3d7ef0)=>(_0x366b9e,_0x5d8e54)=>_0x3d7ef0(_0x366b9e,_0x5d8e54,_0x331cd8);let ot=class{constructor(_0x1250ab){var _0x246144=_0x59924f;this[_0x246144(0x252)]=_0x1250ab,this['_initRequestHeader']();}[_0x59924f(0x11c)](){this['_httpService']['registerHTTPInterceptor']({'interceptor':(_0x1ddb10,_0x28cf6b)=>{var _0x32f015=_0x2b46;const _0x5f08e0=_0x1ddb10[_0x32f015(0x32f)],_0xc8c406=cs();return _0xc8c406&&_0x5f08e0[_0x32f015(0x2d3)]('x-univer-host',_0xc8c406),_0x28cf6b(_0x1ddb10);}});}};ot=ls([us(0x0,_0x1bc764(_0x3edb0a))],ot);var ds=Object['defineProperty'],fs=Object['getOwnPropertyDescriptor'],vs=(_0x223103,_0x3a7a33,_0x1abe69,_0x5c23d9)=>{var _0x56fb5b=_0x59924f;for(var _0x4c1cd3=_0x5c23d9>0x1?void 0x0:_0x5c23d9?fs(_0x3a7a33,_0x1abe69):_0x3a7a33,_0x25d7a1=_0x223103[_0x56fb5b(0x351)]-0x1,_0x236538;_0x25d7a1>=0x0;_0x25d7a1--)(_0x236538=_0x223103[_0x25d7a1])&&(_0x4c1cd3=(_0x5c23d9?_0x236538(_0x3a7a33,_0x1abe69,_0x4c1cd3):_0x236538(_0x4c1cd3))||_0x4c1cd3);return _0x5c23d9&&_0x4c1cd3&&ds(_0x3a7a33,_0x1abe69,_0x4c1cd3),_0x4c1cd3;},mt=(_0x3c14b0,_0x7d6167)=>(_0x17fbee,_0x43e763)=>_0x7d6167(_0x17fbee,_0x43e763,_0x3c14b0);let Ot=class extends _0x2d45c2{constructor(_0x32d2f6,_0x1a66ce,_0x364f76){var _0x445513=_0x59924f;super(),N(this,_0x445513(0x22c),new _0x1684f8(null)),N(this,_0x445513(0x263),this[_0x445513(0x22c)][_0x445513(0x3b7)]()),(this[_0x445513(0x11d)]=_0x32d2f6,this[_0x445513(0x140)]=_0x1a66ce,this[_0x445513(0x1ac)]=_0x364f76);}async[_0x59924f(0x19a)](_0xd1fd10,_0x55da99,_0x432e22){var _0xc2bcd6=_0x59924f;this['_unitInfo$']['next']({'unitId':_0xd1fd10,'type':_0x55da99,'subUnitId':_0x432e22});let _0x5284d9=null;switch(_0x55da99){case Q[_0xc2bcd6(0x14c)]:{_0x5284d9=await this[_0xc2bcd6(0x270)](_0xd1fd10);break;}case Q[_0xc2bcd6(0x3fa)]:{_0x5284d9=await this[_0xc2bcd6(0x1a0)](_0xd1fd10);break;}default:{this['_logService'][_0xc2bcd6(0x289)](_0xc2bcd6(0x283),_0xc2bcd6(0x131));break;}}return _0x5284d9;}async[_0x59924f(0x270)](_0x246faf){var _0x1045ac=_0x59924f,_0x2517d3;let _0x454eb9=0x0;const _0x214b0c=await((_0x2517d3=this[_0x1045ac(0x1ac)])==null?void 0x0:_0x2517d3[_0x1045ac(0x200)](_0x246faf));return _0x214b0c&&(_0x214b0c['awaitingChangeset']||_0x214b0c[_0x1045ac(0x29c)][_0x1045ac(0x351)]!==0x0)&&(_0x454eb9=_0x214b0c['rev']),_0x454eb9===0x0&&this[_0x1045ac(0x11d)]['debug'](_0x1045ac(0x283),_0x1045ac(0x1f9)),this[_0x1045ac(0x140)]['loadSheet'](_0x246faf,_0x454eb9);}async[_0x59924f(0x1a0)](_0x12888a){var _0x4f9112=_0x59924f,_0x441c68;let _0x3f7571=0x0;const _0x4fe20a=await((_0x441c68=this[_0x4f9112(0x1ac)])==null?void 0x0:_0x441c68[_0x4f9112(0x200)](_0x12888a));return _0x4fe20a&&(_0x4fe20a['awaitingChangeset']||_0x4fe20a[_0x4f9112(0x29c)][_0x4f9112(0x351)]!==0x0)&&(_0x3f7571=_0x4fe20a[_0x4f9112(0x3b6)]),_0x3f7571===0x0&&this[_0x4f9112(0x11d)][_0x4f9112(0x1d4)](_0x4f9112(0x283),_0x4f9112(0x1f9)),this['_snapshotService'][_0x4f9112(0x192)](_0x12888a,_0x3f7571);}};Ot=vs([mt(0x0,_0x54d1e0),mt(0x1,_0x1bc764(_0x566934)),mt(0x2,_0x4e682c(J))],Ot);var ps=Object[_0x59924f(0x385)],ms=Object['getOwnPropertyDescriptor'],gs=(_0x1e6efa,_0x1821c2,_0x42193a,_0x3ad9c2)=>{var _0x192ad0=_0x59924f;for(var _0x390ea0=_0x3ad9c2>0x1?void 0x0:_0x3ad9c2?ms(_0x1821c2,_0x42193a):_0x1821c2,_0x7ba1e5=_0x1e6efa[_0x192ad0(0x351)]-0x1,_0x3c1ebf;_0x7ba1e5>=0x0;_0x7ba1e5--)(_0x3c1ebf=_0x1e6efa[_0x7ba1e5])&&(_0x390ea0=(_0x3ad9c2?_0x3c1ebf(_0x1821c2,_0x42193a,_0x390ea0):_0x3c1ebf(_0x390ea0))||_0x390ea0);return _0x3ad9c2&&_0x390ea0&&ps(_0x1821c2,_0x42193a,_0x390ea0),_0x390ea0;},gt=(_0x5440ed,_0x57a5e7)=>(_0x2c36b0,_0x1a5142)=>_0x57a5e7(_0x2c36b0,_0x1a5142,_0x5440ed);const Ss=['image/png',_0x59924f(0x19b),_0x59924f(0x170),_0x59924f(0x2bf),_0x59924f(0x118)],Es=0x5*0x400*0x400,Is='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',Ts=_0x59924f(0x23d),Cs='EXCHANGE_SIGN_URL_SERVER_URL_KEY',Rs=_0x59924f(0x322);let yt=class{constructor(_0x3be99e,_0x56de73,_0xb7719){var _0x40b5ad=_0x59924f;N(this,_0x40b5ad(0x1b5),0x0),N(this,_0x40b5ad(0x244),new _0x524606()),N(this,_0x40b5ad(0x382),this[_0x40b5ad(0x244)]),N(this,_0x40b5ad(0x189),new Map()),(this[_0x40b5ad(0x252)]=_0x3be99e,this[_0x40b5ad(0x3c1)]=_0x56de73,this[_0x40b5ad(0x2d7)]=_0xb7719);}[_0x59924f(0x239)](_0x25550a){var _0x16d314=_0x59924f;this[_0x16d314(0x1b5)]=_0x25550a,this['_change$'][_0x16d314(0x268)](_0x25550a);}[_0x59924f(0x126)](_0x5ad12a,_0x8807a){var _0x5b5660=_0x59924f;if(_0x8807a===_0x543e52[_0x5b5660(0x2b0)]){const _0xfce53f=new Image();return _0xfce53f['src']=_0x5ad12a,_0xfce53f;}return this['_imageSourceCache'][_0x5b5660(0x13d)](_0x5ad12a);}[_0x59924f(0x13f)](_0x22b8ae,_0x2d6bb4,_0x44349e){var _0x3334d9=_0x59924f;_0x2d6bb4===_0x543e52[_0x3334d9(0x2b0)]||_0x44349e==null||this[_0x3334d9(0x189)][_0x3334d9(0x2d3)](_0x22b8ae,_0x44349e);}async[_0x59924f(0x305)](_0x78c220){var _0x4030ac=_0x59924f;try{const _0x2c042b=this[_0x4030ac(0x342)](this['_getSignURL'](),''+_0x78c220),_0x143f45=(await this['_httpService'][_0x4030ac(0x13d)](_0x2c042b))[_0x4030ac(0x413)];if(_0x143f45[_0x4030ac(0x289)]&&_0x143f45[_0x4030ac(0x289)]['code']===Ii['OK']){const _0x33be8b=new URL(_0x143f45[_0x4030ac(0x34f)],this[_0x4030ac(0x1ad)]())[_0x4030ac(0x1b1)]();return Promise[_0x4030ac(0x326)](_0x33be8b);}return Promise[_0x4030ac(0x1dc)](_0x143f45['error']);}catch(_0x88191){return Promise[_0x4030ac(0x1dc)](_0x88191);}}async['saveImage'](_0xac841a){var _0x10e518=_0x59924f;let _0x413d9d='';if(!Ss['includes'](_0xac841a[_0x10e518(0x38c)]))return this[_0x10e518(0x335)](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa[_0x10e518(0x3ab)]));if(_0xac841a[_0x10e518(0x1ba)]>Es)return this['_decreaseWaiting'](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa['ERROR_EXCEED_SIZE']));try{const _0xc2b279=new FormData();_0xc2b279['append'](_0x10e518(0x1c3),_0xac841a);const _0x4cbf44=this['_univerInstanceService'][_0x10e518(0x360)](),_0x2a6bd1=_0x4cbf44==null?void 0x0:_0x4cbf44[_0x10e518(0x201)]();if(!_0x2a6bd1)throw new Error(_0x10e518(0x12e));const _0x5b74ce=this[_0x10e518(0x3dd)]()+_0x10e518(0x376)+_0xac841a['size'][_0x10e518(0x1b1)]()+'&source='+Ti['UnitEmbedded']+_0x10e518(0x227)+encodeURIComponent(_0x2a6bd1),_0x365b3d=await(await fetch(_0x5b74ce,{'method':_0x10e518(0x3f7),'body':_0xc2b279}))[_0x10e518(0x350)]();if(typeof _0x365b3d[_0x10e518(0x262)]!=_0x10e518(0x422))return this[_0x10e518(0x335)](),Promise['reject'](new Error(_0x2c1caa[_0x10e518(0x281)]));_0x413d9d=_0x365b3d[_0x10e518(0x262)];}catch{return this[_0x10e518(0x335)](),Promise[_0x10e518(0x1dc)](new Error(_0x2c1caa[_0x10e518(0x281)]));}return new Promise((_0x5d06f5,_0xfa4b2f)=>{var _0x407148=_0x10e518;const _0xcf9003=new FileReader();_0xcf9003['readAsDataURL'](_0xac841a),_0xcf9003[_0x407148(0x129)]=_0x4058c0=>{var _0xe889bd=_0x407148,_0x1fc5d2;const _0x5d250a=(_0x1fc5d2=_0x4058c0[_0xe889bd(0x306)])==null?void 0x0:_0x1fc5d2['result'];if(_0x5d250a==null){this[_0xe889bd(0x335)](),_0xfa4b2f(new Error(_0x2c1caa[_0xe889bd(0x281)]));return;}const _0x5c133a=_0x541b83[_0xe889bd(0x31e)](0x6);_0x5d06f5({'imageId':_0x5c133a,'imageSourceType':_0x543e52['UUID'],'source':_0x413d9d,'base64Cache':_0x5d250a,'status':_0x2c1caa[_0xe889bd(0x397)]}),this[_0xe889bd(0x335)]();};});}[_0x59924f(0x3dd)](){var _0x1fbad2=_0x59924f,_0x2efbb3,_0xc603fe;const _0xe81255=this[_0x1fbad2(0x3c1)][_0x1fbad2(0x180)](Is),_0x2f7996=this[_0x1fbad2(0x3c1)][_0x1fbad2(0x180)](q);return(_0xc603fe=(_0x2efbb3=_0x2f7996==null?void 0x0:_0x2f7996[_0x1fbad2(0x2ab)])!=null?_0x2efbb3:_0xe81255)!=null?_0xc603fe:Ts;}[_0x59924f(0x2b3)](){var _0x42eddb=_0x59924f,_0x145639,_0x5f0dde;const _0x233b1f=this[_0x42eddb(0x3c1)][_0x42eddb(0x180)](Cs),_0x4d408e=this[_0x42eddb(0x3c1)][_0x42eddb(0x180)](q);return(_0x5f0dde=(_0x145639=_0x4d408e==null?void 0x0:_0x4d408e[_0x42eddb(0x12f)])!=null?_0x145639:_0x233b1f)!=null?_0x5f0dde:Rs;}[_0x59924f(0x1ad)](){var _0x549fe2=_0x59924f,_0x517abf;const _0x51efd6=this[_0x549fe2(0x3c1)][_0x549fe2(0x180)](q);return(_0x517abf=_0x51efd6==null?void 0x0:_0x51efd6[_0x549fe2(0x245)])!=null?_0x517abf:location[_0x549fe2(0x2ba)];}[_0x59924f(0x342)](_0x18f0f5,_0x1fec69){var _0x24a2f4=_0x59924f;return _0x18f0f5['replace'](_0x24a2f4(0x159),_0x1fec69);}['_decreaseWaiting'](){var _0x121d1c=_0x59924f;this['_waitCount']-=0x1,this[_0x121d1c(0x244)][_0x121d1c(0x268)](this['_waitCount']);}};yt=gs([gt(0x0,_0x1bc764(_0x3edb0a)),gt(0x1,_0x30c313),gt(0x2,_0x1bc764(_0x4844be))],yt);var bs=Object[_0x59924f(0x385)],Os=Object[_0x59924f(0x33e)],ys=(_0x17b820,_0x41fe88,_0x2f4f43,_0x49c174)=>{var _0x2d8cda=_0x59924f;for(var _0x24e355=_0x49c174>0x1?void 0x0:_0x49c174?Os(_0x41fe88,_0x2f4f43):_0x41fe88,_0x3f21e3=_0x17b820[_0x2d8cda(0x351)]-0x1,_0x139523;_0x3f21e3>=0x0;_0x3f21e3--)(_0x139523=_0x17b820[_0x3f21e3])&&(_0x24e355=(_0x49c174?_0x139523(_0x41fe88,_0x2f4f43,_0x24e355):_0x139523(_0x24e355))||_0x24e355);return _0x49c174&&_0x24e355&&bs(_0x41fe88,_0x2f4f43,_0x24e355),_0x24e355;},_i=(_0x4ba9da,_0x3f7b02)=>(_0x16826c,_0xcee4bb)=>_0x3f7b02(_0x16826c,_0xcee4bb,_0x4ba9da);const Ns='/universer-api/authz';let Nt=class{constructor(_0x3fb55c,_0x3fca2d){var _0x179cbf=_0x59924f;this['_configService']=_0x3fb55c,this[_0x179cbf(0x2bc)]=_0x3fca2d;}[_0x59924f(0x17a)](){var _0x1c4ded=_0x59924f,_0x4b7bf2,_0x24d094;const _0x19c128=this[_0x1c4ded(0x3c1)][_0x1c4ded(0x180)](Pi),_0xfbca6d=this[_0x1c4ded(0x3c1)][_0x1c4ded(0x180)](q);return(_0x24d094=(_0x4b7bf2=_0xfbca6d==null?void 0x0:_0xfbca6d['authzUrl'])!=null?_0x4b7bf2:_0x19c128)!=null?_0x24d094:Ns;}async[_0x59924f(0x287)](_0x2a212e){var _0x501570=_0x59924f;const _0x3d29e3=this[_0x501570(0x17a)]()+_0x501570(0x136);return{'list':[{'title':'People','mentions':(await this[_0x501570(0x2bc)][_0x501570(0x13d)](_0x3d29e3,{'params':{'objectID':_0x2a212e[_0x501570(0x3d2)],'unitID':_0x2a212e[_0x501570(0x3d2)]}}))[_0x501570(0x413)]['collaborators'][_0x501570(0x30a)](_0x2f2d02=>({'objectId':_0x2f2d02['id'],'name':_0x2f2d02[_0x501570(0x273)]['name'],'metadata':{'icon':_0x2f2d02['subject'][_0x501570(0x141)]},'label':_0x2f2d02[_0x501570(0x273)]['name'],'objectType':_0x439b82[_0x501570(0x302)]})),'metadata':{},'type':_0x439b82[_0x501570(0x302)]}]};}};Nt=ys([_i(0x0,_0x1bc764(_0x30c313)),_i(0x1,_0x1bc764(_0x3edb0a))],Nt);var Ds=Object[_0x59924f(0x385)],Ps=Object[_0x59924f(0x33e)],ws=(_0x428584,_0x434654,_0x288d1a,_0x24b532)=>{for(var _0x1c345c=_0x24b532>0x1?void 0x0:_0x24b532?Ps(_0x434654,_0x288d1a):_0x434654,_0x518bf3=_0x428584['length']-0x1,_0x17499c;_0x518bf3>=0x0;_0x518bf3--)(_0x17499c=_0x428584[_0x518bf3])&&(_0x1c345c=(_0x24b532?_0x17499c(_0x434654,_0x288d1a,_0x1c345c):_0x17499c(_0x1c345c))||_0x1c345c);return _0x24b532&&_0x1c345c&&Ds(_0x434654,_0x288d1a,_0x1c345c),_0x1c345c;},Se=(_0x5f59bd,_0x165c1f)=>(_0x1cfcf9,_0x3b638e)=>_0x165c1f(_0x1cfcf9,_0x3b638e,_0x5f59bd);let at=class extends _0x2d45c2{constructor(_0x689e8c,_0x355d2a,_0x279ee5,_0x349b42,_0x3be413,_0x4594be,_0x3bfd3c){var _0x16be7c=_0x59924f;super(),this[_0x16be7c(0x3c3)]=_0x689e8c,this[_0x16be7c(0x2d7)]=_0x355d2a,this[_0x16be7c(0x1e5)]=_0x279ee5,this[_0x16be7c(0x28f)]=_0x349b42,this['_collaborationUIEventService']=_0x3be413,this['_authzIoService']=_0x4594be,this['_undoRedoService']=_0x3bfd3c,this['_initUnitPermissionChange'](),this[_0x16be7c(0x346)]();}[_0x59924f(0x346)](){var _0x1cefa3=_0x59924f;const _0x1656b1=async _0x4c6aef=>{var _0x1b5da6=_0x2b46;(await this['_collaborationSessionService'][_0x1b5da6(0x205)](_0x4c6aef))[_0x1b5da6(0x1ae)][_0x1b5da6(0x25b)](_0xca8f0(_0x58e19f=>_0x58e19f[_0x1b5da6(0x35c)]===_0x2872d1['SHOULD_CLOSE_CONN']),_0x412f17(this[_0x1b5da6(0x217)]))[_0x1b5da6(0x387)](_0x415568=>{var _0x1b9160=_0x1b5da6;const _0x246a2f=_0x415568,{reason:_0x30a712}=_0x246a2f[_0x1b9160(0x27b)];this[_0x1b9160(0x146)]['emitEvent']({'id':se['CLOSE_ROOM'],'data':_0x30a712}),this[_0x1b9160(0x1e5)][_0x1b9160(0x119)](new _0x28e48e(_0x4c6aef)['id'],!0x1),this[_0x1b9160(0x28f)][_0x1b9160(0x1de)](_0x4c6aef);});};_0x4166c5(this[_0x1cefa3(0x2d7)][_0x1cefa3(0x3ed)](_0x51bed3[_0x1cefa3(0x14c)]),this[_0x1cefa3(0x2d7)][_0x1cefa3(0x3ed)](_0x51bed3[_0x1cefa3(0x3fa)]))['pipe'](_0x23545a(_0xc6f78d=>_0xc6f78d['getUnitId']()),_0xca8f0(_0x4c5e86=>!_0x3fdc3c(_0x4c5e86)),_0x412f17(this['dispose$']))[_0x1cefa3(0x387)](_0x52182e=>{_0x1656b1(_0x52182e);});}[_0x59924f(0x18a)](){var _0x4883a3=_0x59924f;const _0x5302ae=async _0x59523b=>{var _0x350ced=_0x2b46;const _0x3a432d=await this['_collaborationSessionService']['requireSession'](_0x59523b),_0x130d22=this[_0x350ced(0x3c3)][_0x350ced(0x13d)](_0x565119);_0x3a432d[_0x350ced(0x1ae)][_0x350ced(0x25b)](_0xca8f0(_0x490957=>_0x490957[_0x350ced(0x35c)]===_0x2872d1[_0x350ced(0x13b)]),_0x412f17(this['dispose$']))['subscribe'](_0x3a44b8=>{var _0x40d514=_0x350ced;const _0x40793a=_0x3a44b8,{objectId:_0x5e925f}=_0x40793a['data'];_0x5e925f===_0x59523b?_0x130d22[_0x40d514(0x238)](_0x59523b):_0x130d22['refreshPermission'](_0x59523b,_0x5e925f);});};_0x4166c5(this[_0x4883a3(0x2d7)][_0x4883a3(0x3ed)](_0x51bed3[_0x4883a3(0x14c)]),this[_0x4883a3(0x2d7)][_0x4883a3(0x3ed)](_0x51bed3[_0x4883a3(0x3fa)]))['pipe'](_0x23545a(_0x5a7d86=>_0x5a7d86[_0x4883a3(0x201)]()),_0xca8f0(_0x4ffbcc=>!_0x3fdc3c(_0x4ffbcc)),_0x412f17(this['dispose$']))[_0x4883a3(0x387)](_0x1d7680=>{_0x5302ae(_0x1d7680);});}};at=ws([Se(0x0,_0x1bc764(_0x305299)),Se(0x1,_0x4844be),Se(0x2,_0xb52dec),Se(0x3,_0x1bc764(Le)),Se(0x4,_0x1bc764(pe)),Se(0x5,_0x29bb4e),Se(0x6,_0x1d3917)],at);var Us=Object[_0x59924f(0x385)],As=Object[_0x59924f(0x33e)],xs=(_0x529f7f,_0x1ab857,_0x44114e,_0x59a6ae)=>{for(var _0x1bd149=_0x59a6ae>0x1?void 0x0:_0x59a6ae?As(_0x1ab857,_0x44114e):_0x1ab857,_0xdcadb6=_0x529f7f['length']-0x1,_0x1857a9;_0xdcadb6>=0x0;_0xdcadb6--)(_0x1857a9=_0x529f7f[_0xdcadb6])&&(_0x1bd149=(_0x59a6ae?_0x1857a9(_0x1ab857,_0x44114e,_0x1bd149):_0x1857a9(_0x1bd149))||_0x1bd149);return _0x59a6ae&&_0x1bd149&&Us(_0x1ab857,_0x44114e,_0x1bd149),_0x1bd149;},li=(_0x36eb00,_0x33c075)=>(_0x155832,_0x4648fd)=>_0x33c075(_0x155832,_0x4648fd,_0x36eb00);let Dt=class{constructor(_0x543afd,_0x40444e){var _0x3d83ab=_0x59924f;this[_0x3d83ab(0x3c1)]=_0x543afd,this[_0x3d83ab(0x252)]=_0x40444e;}async[_0x59924f(0x3e8)](_0x5afc60,_0x1603f9){var _0x3e016e=_0x59924f,_0x3cc617;const {unitID:_0x3d021c,type:_0x2099e1,revision:_0x545c10=0x0}=_0x1603f9,_0x14933c=this[_0x3e016e(0x274)]()+'/'+_0x2099e1+_0x3e016e(0x3e2)+_0x3d021c+_0x3e016e(0x120)+_0x545c10,_0x111257=(await this[_0x3e016e(0x252)][_0x3e016e(0x13d)](_0x14933c))[_0x3e016e(0x413)],_0x404af4=(_0x3cc617=_0x111257[_0x3e016e(0x1a6)])==null?void 0x0:_0x3cc617['workbook'];if(_0x404af4){const _0x1b3c48=_0x404af4==null?void 0x0:_0x404af4[_0x3e016e(0x125)],_0x43fb19=_0x1626ef[_0x3e016e(0x2c5)](_0x5d84db(_0x1b3c48));_0x404af4[_0x3e016e(0x125)]=_0x43fb19,Object['entries'](_0x404af4[_0x3e016e(0x334)])['forEach'](([,_0x14849e])=>{var _0x466cae=_0x3e016e;const _0x4b6655=_0x14849e[_0x466cae(0x125)],_0x523a14=_0x1626ef[_0x466cae(0x2c5)](_0x5d84db(_0x4b6655));_0x14849e[_0x466cae(0x125)]=_0x523a14;});}return _0x111257;}async[_0x59924f(0x1fd)](_0xcd2ad4,_0x244e5a){var _0x59db9f=_0x59924f;const {unitID:_0x3775e8,type:_0xec9312,blockID:_0x440a65}=_0x244e5a,_0x5c3eea=this[_0x59db9f(0x2cb)]()+'/'+_0xec9312+_0x59db9f(0x3e2)+_0x3775e8+'/block/'+_0x440a65;return(await this[_0x59db9f(0x252)][_0x59db9f(0x13d)](_0x5c3eea))['body'];}async[_0x59924f(0x137)](_0x1c5bc7,_0xe94f53){var _0x45193c=_0x59924f;const {unitID:_0x46d156,type:_0x37810c,blockID:_0x8e3c06}=_0xe94f53,_0x4cde14=this[_0x45193c(0x2cb)]()+_0x45193c(0x34a)+_0x37810c+_0x45193c(0x3e2)+_0x46d156+_0x45193c(0x34a)+_0x8e3c06;return(await this[_0x45193c(0x252)][_0x45193c(0x13d)](_0x4cde14))[_0x45193c(0x413)];}async[_0x59924f(0x1d2)](_0x2e0151,_0x5955b6){var _0x205133=_0x59924f;const {unitID:_0x19c3ac,type:_0x2d32ac,from:_0x412a12,to:_0x5e46e3}=_0x5955b6,_0x87d3b=this['_getAPIPrefix']()+'/'+_0x2d32ac+_0x205133(0x3e2)+_0x19c3ac+_0x205133(0x314)+_0x412a12+_0x205133(0x28b)+_0x5e46e3;return(await this['_httpService'][_0x205133(0x13d)](_0x87d3b))[_0x205133(0x413)];}[_0x59924f(0x274)](){var _0x341241=_0x59924f,_0x9c9975;return(_0x9c9975=this[_0x341241(0x3c1)][_0x341241(0x180)](Tn))!=null?_0x9c9975:this[_0x341241(0x2cb)]();}['_getAPIPrefix'](){var _0x117fbd=_0x59924f,_0x104caf,_0x5c3b18;const _0x3a640e=this[_0x117fbd(0x3c1)][_0x117fbd(0x180)](En),_0x31e3cc=this[_0x117fbd(0x3c1)][_0x117fbd(0x180)](q);return(_0x5c3b18=(_0x104caf=_0x31e3cc==null?void 0x0:_0x31e3cc[_0x117fbd(0x2e1)])!=null?_0x104caf:_0x3a640e)!=null?_0x5c3b18:In;}async[_0x59924f(0x1cf)](_0x2b9125,_0x742f81){var _0x188c07=_0x59924f;const _0x9849fb=_0x188c07(0x420)+_0x742f81[_0x188c07(0x38c)]+_0x188c07(0x3e2)+_0x742f81[_0x188c07(0x307)]+'/resources';return(await this[_0x188c07(0x252)][_0x188c07(0x13d)](_0x9849fb,{'params':{'resourceId':JSON['stringify'](_0x742f81[_0x188c07(0x339)])}}))['body'];}['saveSnapshot'](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x59924f(0x1e0)](){var _0x3b82ff=_0x59924f;throw new Error(_0x3b82ff(0x362));}[_0x59924f(0x1e6)](){var _0x898bfc=_0x59924f;throw new Error(_0x898bfc(0x362));}[_0x59924f(0x21f)](){var _0x37f857=_0x59924f;throw new Error(_0x37f857(0x362));}[_0x59924f(0x3a4)](){var _0x26d718=_0x59924f;throw new Error(_0x26d718(0x362));}};Dt=xs([li(0x0,_0x30c313),li(0x1,_0x1bc764(_0x3edb0a))],Dt);var Ls=Object['defineProperty'],Ms=Object[_0x59924f(0x33e)],$s=(_0x46ff0d,_0xbe5ed8,_0x5a1ed2,_0x59f5b5)=>{var _0x50359c=_0x59924f;for(var _0x427cdb=_0x59f5b5>0x1?void 0x0:_0x59f5b5?Ms(_0xbe5ed8,_0x5a1ed2):_0xbe5ed8,_0x197209=_0x46ff0d[_0x50359c(0x351)]-0x1,_0x278bf7;_0x197209>=0x0;_0x197209--)(_0x278bf7=_0x46ff0d[_0x197209])&&(_0x427cdb=(_0x59f5b5?_0x278bf7(_0xbe5ed8,_0x5a1ed2,_0x427cdb):_0x278bf7(_0x427cdb))||_0x427cdb);return _0x59f5b5&&_0x427cdb&&Ls(_0xbe5ed8,_0x5a1ed2,_0x427cdb),_0x427cdb;},Ae=(_0x3f1d4c,_0x3c4353)=>(_0x20f1d1,_0x475914)=>_0x3c4353(_0x20f1d1,_0x475914,_0x3f1d4c);let Pt=class extends _0x329d94{constructor(_0x3c14f6,_0x83736a,_0x59b0d1,_0x18bd12,_0x398842){var _0x140163=_0x59924f;super(_0x3c14f6,_0x83736a,_0x59b0d1),this[_0x140163(0x2fc)]=_0x18bd12,this['_logService']=_0x398842;}[_0x59924f(0x3b1)](_0x378ea,_0x285774){var _0x8205d8=_0x59924f;const _0x870533=this[_0x8205d8(0x152)](_0x378ea);if(_0x870533)try{const _0x467264=this['_transformStack'](_0x870533,_0x285774);this['_substituteUndoStack'](_0x378ea,_0x467264);}catch(_0x5c0527){this[_0x8205d8(0x11d)][_0x8205d8(0x289)]('[CollaborationUndoRedoService]',_0x5c0527),this['_clearUndo'](_0x378ea);}const _0xf96241=this[_0x8205d8(0x1a5)](_0x378ea);if(_0xf96241)try{const _0x132cf0=this[_0x8205d8(0x3eb)](_0xf96241,_0x285774);this[_0x8205d8(0x32a)](_0x378ea,_0x132cf0);}catch(_0x435474){this['_logService'][_0x8205d8(0x289)](_0x435474),this[_0x8205d8(0x3ac)](_0x378ea);}}[_0x59924f(0x33a)](_0x1691d7){var _0x204cdd=_0x59924f;const _0x574a40=this[_0x204cdd(0x152)](_0x1691d7);_0x574a40&&(_0x574a40['length']=0x0,this['_updateStatus']());}[_0x59924f(0x3ac)](_0x7e761b){var _0x2d14bf=_0x59924f;const _0x3406de=this[_0x2d14bf(0x1a5)](_0x7e761b);_0x3406de&&(_0x3406de['length']=0x0,this[_0x2d14bf(0x14d)]());}[_0x59924f(0x330)](_0x1ac24a,_0x2b04a7){var _0x236ebd=_0x59924f;this['_undoStacks'][_0x236ebd(0x2d3)](_0x1ac24a,_0x2b04a7),this['_updateStatus']();}[_0x59924f(0x32a)](_0x52df2b,_0x28ac48){var _0x1c74d2=_0x59924f;this[_0x1c74d2(0x185)][_0x1c74d2(0x2d3)](_0x52df2b,_0x28ac48),this['_updateStatus']();}[_0x59924f(0x3eb)](_0x149991,_0x39f636){var _0x2191ca=_0x59924f;const _0x43e2d2=[];let _0x11d8e4=_0x39f636,_0x4338dd=_0x39f636;for(let _0x4b6f9a=_0x149991[_0x2191ca(0x351)]-0x1;_0x4b6f9a>=0x0;_0x4b6f9a--){const {unitID:_0x3b8f90,undoMutations:_0x567f5b,redoMutations:_0x16f2e2}=_0x149991[_0x4b6f9a],_0x2ae364=this['_transformService'][_0x2191ca(0x2e0)](_0x11d8e4,_0x567f5b),_0x2c09c2=this['_transformService'][_0x2191ca(0x2e0)](_0x4338dd,_0x16f2e2);if(_0x51b41b(_0x2ae364)||_0x51b41b(_0x2c09c2)){this[_0x2191ca(0x11d)][_0x2191ca(0x289)](_0x2191ca(0x1cb),_0x2191ca(0x1b7),_0x2ae364,_0x2c09c2);break;}_0x11d8e4=_0x2ae364[_0x2191ca(0x162)],_0x4338dd=_0x2c09c2['c1Prime'],_0x43e2d2[_0x2191ca(0x1f7)]({'unitID':_0x3b8f90,'undoMutations':_0x2ae364[_0x2191ca(0x3f9)],'redoMutations':_0x2c09c2[_0x2191ca(0x3f9)]});}return _0x43e2d2[_0x2191ca(0x33d)]();}};Pt=$s([Ae(0x0,_0x4844be),Ae(0x1,_0x138ae6),Ae(0x2,_0x21d5ea),Ae(0x3,_0x3511a4),Ae(0x4,_0x54d1e0)],Pt);var xi=Object[_0x59924f(0x385)],Hs=Object[_0x59924f(0x33e)],ks=(_0x5d803c,_0x4c032f,_0x4f57f6)=>_0x4c032f in _0x5d803c?xi(_0x5d803c,_0x4c032f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4f57f6}):_0x5d803c[_0x4c032f]=_0x4f57f6,js=(_0x4ab098,_0x2db1ef,_0x581fcb,_0x39ed72)=>{var _0x47ec44=_0x59924f;for(var _0x38b32e=_0x39ed72>0x1?void 0x0:_0x39ed72?Hs(_0x2db1ef,_0x581fcb):_0x2db1ef,_0xd445=_0x4ab098[_0x47ec44(0x351)]-0x1,_0x5c3ab3;_0xd445>=0x0;_0xd445--)(_0x5c3ab3=_0x4ab098[_0xd445])&&(_0x38b32e=(_0x39ed72?_0x5c3ab3(_0x2db1ef,_0x581fcb,_0x38b32e):_0x5c3ab3(_0x38b32e))||_0x38b32e);return _0x39ed72&&_0x38b32e&&xi(_0x2db1ef,_0x581fcb,_0x38b32e),_0x38b32e;},St=(_0x23024a,_0x41d7ee)=>(_0x2232ee,_0xc43e0c)=>_0x41d7ee(_0x2232ee,_0xc43e0c,_0x23024a),Bs=(_0x160a21,_0x4cbd06,_0x21ccd6)=>ks(_0x160a21,_0x4cbd06+'',_0x21ccd6);const Fs=_0x59924f(0x169);let wt=class extends _0x581649{constructor(_0x59a0d7=Wt,_0x444a0b,_0xf5ea51,_0x235905){var _0x36d33a=_0x59924f;super(),this['_config']=_0x59a0d7,this[_0x36d33a(0x11d)]=_0x444a0b,this[_0x36d33a(0x3c3)]=_0xf5ea51,this[_0x36d33a(0x3c1)]=_0x235905;const {..._0x6ba660}=_0x242ea6({},Wt,this[_0x36d33a(0x2ec)]);this[_0x36d33a(0x3c1)]['setConfig'](q,_0x6ba660);}[_0x59924f(0x304)](){var _0xa55706=_0x59924f;this[_0xa55706(0x11a)](),this[_0xa55706(0x2e8)]();}[_0x59924f(0x11a)](){var _0x15a979=_0x59924f,_0x161899,_0x5da668,_0x178793,_0x38b892;this[_0x15a979(0x3c3)]['has'](_0x1d3917)&&this[_0x15a979(0x11d)][_0x15a979(0x289)](_0x15a979(0x35e),_0x15a979(0x18b));const _0x310fe1=_0x44c8c5([[_0x1d3917,{'useClass':Pt}],[Le],[xe],[it],[st],[ot],[Ri],[at],[pe],[Ot],[Ci,{'useClass':(_0x5da668=(_0x161899=this[_0x15a979(0x2ec)])==null?void 0x0:_0x161899[_0x15a979(0x2b2)])!=null?_0x5da668:Et}],[_0x52101f,{'useClass':Dt}],[_0x29bb4e,{'useClass':bt}],[_0x277dfa,{'useClass':yt}],[_0x58bb71,{'useClass':Nt}],[rt],[Rt]],(_0x178793=this[_0x15a979(0x2ec)])==null?void 0x0:_0x178793[_0x15a979(0x2fd)]);if(!((_0x38b892=this[_0x15a979(0x2ec)])!=null&&_0x38b892[_0x15a979(0x41e)])){const _0x284f63=_0x310fe1[_0x15a979(0x1c6)](([_0x2e4923])=>_0x2e4923===ht);_0x284f63!==-0x1&&_0x310fe1[_0x15a979(0x2a6)](_0x284f63,0x1);}_0x2a5538(this[_0x15a979(0x3c3)],_0x310fe1);}[_0x59924f(0x2e8)](){var _0x130252=_0x59924f,_0x20b96f,_0x5e940f,_0x200ee7;this[_0x130252(0x3c3)][_0x130252(0x13d)](_0x3edb0a)[_0x130252(0x29b)]({'priority':0x14,'interceptor':_0x244b97({'maxParallel':0x6})}),(_0x20b96f=this[_0x130252(0x2ec)])!=null&&_0x20b96f[_0x130252(0x149)]||(_0x5e940f=this[_0x130252(0x3c3)][_0x130252(0x13d)](J,_0x2b7a3e['OPTIONAL']))==null||_0x5e940f[_0x130252(0x15b)](),(_0x200ee7=this[_0x130252(0x2ec)])!=null&&_0x200ee7[_0x130252(0x381)]&&_0x498568(this[_0x130252(0x3c3)],[[st]]),_0x498568(this[_0x130252(0x3c3)],[[ot],[rt],[at]]);}};Bs(wt,'pluginName',Fs),wt=js([_0x4e34e1(_0xb7ee05,_0x272fa0,_0x5d82ec),St(0x1,_0x54d1e0),St(0x2,_0x1bc764(_0x305299)),St(0x3,_0x30c313)],wt);export{Pi as AUTHZ_URL_KEY,bt as AuthzIoHttpService,ue as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Un as COLLAB_SUBMIT_CHANGESET_URL_KEY,Rn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,yt as CollaborationImageIoService,It as CollaborationSession,Le as CollaborationSessionService,Et as CollaborationSocketService,yi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Pt as CollaborativeUndoRedoService,Ri as CommentService,de as ConflictState,bn as DEFAULT_COLLAB_WEB_SOCKET_URL,ro as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ot as DataLoaderService,Tt as DocCollaborationEntity,te as FetchingMissState,yn as HEARTBEAT_INTERVAL_KEY,Si as HEARTBEAT_TIMEOUT_KEY,Ci as ICollaborationSocketService,J as ILocalCacheService,Mn as INetworkConditionService,ht as ISingleActiveUnitService,io as LOCAL_CACHE_INTERVAL,to as LOCAL_CACHE_INTERVAL_KEY,xn as LOGIN_URL_KEY,xe as MemberService,Nt as MentionIoHttpService,fe as OfflineState,oe as PendingState,no as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,Pn as RETRY_CONNECTING_MAX_COUNT_KEY,eo as SEND_CHANGESET_TIMEOUT_KEY,En as SNAPSHOT_SERVER_URL_KEY,Tn as SNAPSHOT_URL_KEY,Te as SessionStatus,Ct as SheetCollaborationEntity,it as SheetTransformSelectionsService,Dt as SnapshotServerOverHTTPService,De as SyncedState,bi as UnitStatus,wt as UniverCollaborationClientPlugin,$n as deserializeToCombResponse,so as getLocalCacheKey,Hn as serializeCombRequest};
|