@univerjs-pro/collaboration-client 0.6.0-nightly.202502141606 → 0.6.0-nightly.202502161605
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 _0x41545e=_0x5230;(function(_0x1d3825,_0x3bdc23){var _0x561940=_0x5230,_0x348750=_0x1d3825();while(!![]){try{var _0x1839b0=parseInt(_0x561940(0x454))/0x1+-parseInt(_0x561940(0x3fe))/0x2*(parseInt(_0x561940(0x3a7))/0x3)+parseInt(_0x561940(0x1c4))/0x4+parseInt(_0x561940(0x35e))/0x5*(-parseInt(_0x561940(0x2dc))/0x6)+-parseInt(_0x561940(0x426))/0x7*(parseInt(_0x561940(0x471))/0x8)+parseInt(_0x561940(0x2c9))/0x9+parseInt(_0x561940(0x20b))/0xa;if(_0x1839b0===_0x3bdc23)break;else _0x348750['push'](_0x348750['shift']());}catch(_0x2c5424){_0x348750['push'](_0x348750['shift']());}}}(_0x5f23,0x915ce));var Ai=Object[_0x41545e(0x27b)],Pi=(_0x55c012,_0x559e11,_0x3d7a29)=>_0x559e11 in _0x55c012?Ai(_0x55c012,_0x559e11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d7a29}):_0x55c012[_0x559e11]=_0x3d7a29,N=(_0x26a9f7,_0x3785cf,_0x196e33)=>Pi(_0x26a9f7,typeof _0x3785cf!=_0x41545e(0x215)?_0x3785cf+'':_0x3785cf,_0x196e33);import{createIdentifier as _0x40779a,Inject as _0x236453,Injector as _0x35ce09,IConfigService as _0x34fb67,ILogService as _0x5b92b1,Disposable as _0x4b1c46,DisposableCollection as _0x548497,toDisposable as _0x1a739e,IUniverInstanceService as _0x214b6f,UserManagerService as _0x5964dc,UniverInstanceType as _0x16fa42,LocaleService as _0xa17142,Optional as _0x1d0f46,RxDisposable as _0x433c2f,Tools as _0x4c19fa,Rectangle as _0x807e68,ICommandService as _0x2c92b5,JSONX as _0x2b4183,CommandType as _0x36bcfe,IUndoRedoService as _0x5a61a5,IPermissionService as _0x4da13f,sequenceExecute as _0xb3a7a3,Workbook as _0xa9a7e0,MentionType as _0x426e6f,isInternalEditorID as _0x3359f1,LocalUndoRedoService as _0x2e41ca,IContextService as _0x5afa9c,DependentOn as _0x189c14,Plugin as _0x4357a2,merge as _0x48c383,mergeOverrideWithDependencies as _0x226ccd,IAuthzIoService as _0x3ac908,IMentionIOService as _0x1f17af,registerDependencies as _0x56bf0d,Quantity as _0x248523,touchDependencies as _0x266d35}from'@univerjs/core';import{Subject as _0x5daeac,merge as _0x14bf95,of as _0x65e3ad,BehaviorSubject as _0x48d6f2,takeUntil as _0x515a44,ReplaySubject as _0x4225a9,take as _0x4774cb,map as _0x5c7050,shareReplay as _0x351670,firstValueFrom as _0x3a72d0,concatMap as _0x5a3729}from'rxjs';import{map as _0x5a18b9,take as _0x118750,filter as _0x1a0aae,delay as _0x3cb60d,takeUntil as _0x48cb79}from'rxjs/operators';import{CollaborationEvent as _0x5cfd61,ISnapshotServerService as _0x1cc5ae,parseChangesetToProtocol as _0x409719,ITransformService as _0x1335c8,isTransformMutationsWithChangesetSuccess as _0x191540,mapDocumentTypeToUniverType as _0x221d05,RevisionService as _0x4fea53,isTransformChangesetsSuccess as _0xab296d,CompressMutationService as _0x4c6f39,parseProtocolChangeset as _0x2cacbb,SnapshotService as _0x460d13,textEncoder as _0x4206cc,b64DecodeUnicode as _0x22f055,isTransformMutationsWithChangesetFailure as _0x5901b0,UniverCollaborationPlugin as _0xf3fa8c}from'@univerjs-pro/collaboration';import{HTTPService as _0x15df20,ISocketService as _0x388dee,MergeInterceptorFactory as _0xf3ee5b,HTTPRequest as _0xa6c8fe,UniverNetworkPlugin as _0xe8c0f4,ThresholdInterceptorFactory as _0x2226bf}from'@univerjs/network';import{ITelemetryService as _0x149af4}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x1ba331}from'@univerjs/docs';import{SheetsSelectionsService as _0xb5c7c4,SetSelectionsOperation as _0x341123,InsertSheetMutation as _0x18838c,EmptyMutation as _0x59316b,WorkbookEditablePermission as _0xeafda4,SheetPermissionInitController as _0x40e8ac}from'@univerjs/sheets';import{ImageSourceType as _0x27b5d1,ImageUploadStatusType as _0x3183f8,IImageIoService as _0x5bffa7}from'@univerjs/drawing';import{getGlobalObject as _0x759dcf}from'@univerjs-pro/license';const pr=_0x41545e(0x382),mr=_0x41545e(0x200),gr=_0x41545e(0x1f5),xs=_0x41545e(0x18f),Sr=0x7d0,Er=_0x41545e(0x21f),Ir=_0x41545e(0x36b),Ls=_0x41545e(0x209),Tr='HEARTBEAT_INTERVAL',Cr=0x7530,mi=_0x41545e(0x213),gi=0x4e20,Rr=0x4e20,br='RETRY_CONNECTING_MAX_COUNT',yr=0x3,Ms=_0x41545e(0x283),ks=0x3e8,Or=_0x41545e(0x37b),Nr=_0x41545e(0x23e),Dr='LOGIN_URL_KEY',wr=_0x41545e(0x1f2),$s='REMOTE_UNISCRIPT_EXECUTION_ENDPOINT',Hs=_0x41545e(0x342);var Si=(_0x517c43=>(_0x517c43[_0x517c43[_0x41545e(0x371)]=0x0]=_0x41545e(0x371),_0x517c43[_0x517c43['OK']=0x1]='OK',_0x517c43[_0x517c43[_0x41545e(0x356)]=0x2]=_0x41545e(0x356),_0x517c43[_0x517c43[_0x41545e(0x2b0)]=0x3]=_0x41545e(0x2b0),_0x517c43[_0x517c43[_0x41545e(0x2cc)]=0x4]=_0x41545e(0x2cc),_0x517c43[_0x517c43[_0x41545e(0x1b6)]=0x5]='UNAUTHENTICATED',_0x517c43[_0x517c43[_0x41545e(0x409)]=0x6]='ALREADY_EXISTS',_0x517c43[_0x517c43[_0x41545e(0x45a)]=0x7]=_0x41545e(0x45a),_0x517c43[_0x517c43[_0x41545e(0x1ba)]=0x8]=_0x41545e(0x1ba),_0x517c43[_0x517c43[_0x41545e(0x1eb)]=0x9]='COMPLETION_FINISHED',_0x517c43[_0x517c43[_0x41545e(0x433)]=0x1389]=_0x41545e(0x433),_0x517c43[_0x517c43[_0x41545e(0x44e)]=0x1771]=_0x41545e(0x44e),_0x517c43[_0x517c43['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x517c43[_0x517c43[_0x41545e(0x457)]=0x1773]=_0x41545e(0x457),_0x517c43[_0x517c43['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x517c43[_0x517c43[_0x41545e(0x2da)]=0x1b5a]=_0x41545e(0x2da),_0x517c43[_0x517c43[_0x41545e(0x2a1)]=0x1b5b]=_0x41545e(0x2a1),_0x517c43[_0x517c43[_0x41545e(0x3cb)]=0x1b5c]=_0x41545e(0x3cb),_0x517c43[_0x517c43[_0x41545e(0x481)]=0x1b5d]=_0x41545e(0x481),_0x517c43[_0x517c43[_0x41545e(0x3c2)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x517c43[_0x517c43[_0x41545e(0x23d)]=0x2329]=_0x41545e(0x23d),_0x517c43[_0x517c43['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x41545e(0x1b9),_0x517c43[_0x517c43['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x517c43[_0x517c43['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x41545e(0x431),_0x517c43[_0x517c43['LICENSE_DISTRO_REJECTED']=0x232d]=_0x41545e(0x2ea),_0x517c43[_0x517c43[_0x41545e(0x2de)]=0x2711]=_0x41545e(0x2de),_0x517c43[_0x517c43[_0x41545e(0x248)]=0x2712]=_0x41545e(0x248),_0x517c43[_0x517c43[_0x41545e(0x2db)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x517c43[_0x517c43[_0x41545e(0x225)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x517c43[_0x517c43['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x517c43[_0x517c43[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x517c43))(Si||{}),Q=(_0x4065f4=>(_0x4065f4[_0x4065f4[_0x41545e(0x33f)]=0x0]=_0x41545e(0x33f),_0x4065f4[_0x4065f4[_0x41545e(0x378)]=0x1]='UNIVER_DOC',_0x4065f4[_0x4065f4[_0x41545e(0x1af)]=0x2]=_0x41545e(0x1af),_0x4065f4[_0x4065f4['UNIVER_SLIDE']=0x3]=_0x41545e(0x301),_0x4065f4[_0x4065f4[_0x41545e(0x269)]=0x4]='UNIVER_PROJECT',_0x4065f4[_0x4065f4[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x4065f4))(Q||{}),F=(_0x6e1f78=>(_0x6e1f78[_0x6e1f78[_0x41545e(0x3f8)]=0x0]=_0x41545e(0x3f8),_0x6e1f78[_0x6e1f78[_0x41545e(0x1d1)]=0x1]='HELLO',_0x6e1f78[_0x6e1f78[_0x41545e(0x270)]=0x2]=_0x41545e(0x270),_0x6e1f78[_0x6e1f78[_0x41545e(0x29b)]=0x3]=_0x41545e(0x29b),_0x6e1f78[_0x6e1f78['INGEST']=0x4]=_0x41545e(0x1b2),_0x6e1f78[_0x6e1f78['HEARTBEAT']=0x5]=_0x41545e(0x373),_0x6e1f78[_0x6e1f78[_0x41545e(0x229)]=0x6]=_0x41545e(0x229),_0x6e1f78[_0x6e1f78['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x6e1f78))(F||{}),ge=(_0x33c588=>(_0x33c588[_0x33c588['UNKNOWN_CODE']=0x0]=_0x41545e(0x1ec),_0x33c588[_0x33c588['OK']=0x1]='OK',_0x33c588[_0x33c588[_0x41545e(0x3b9)]=0x2]=_0x41545e(0x3b9),_0x33c588[_0x33c588[_0x41545e(0x3fc)]=0x3e9]='JOIN_ROOM_FULL',_0x33c588[_0x33c588['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x41545e(0x2a4),_0x33c588[_0x33c588[_0x41545e(0x444)]=0x3eb]=_0x41545e(0x444),_0x33c588[_0x33c588[_0x41545e(0x3e3)]=0x3ec]=_0x41545e(0x3e3),_0x33c588[_0x33c588['UNRECOGNIZED']=-0x1]=_0x41545e(0x28e),_0x33c588))(ge||{}),Ei=(_0x153365=>(_0x153365[_0x153365[_0x41545e(0x20a)]=0x0]=_0x41545e(0x20a),_0x153365[_0x153365[_0x41545e(0x37a)]=0x1]=_0x41545e(0x37a),_0x153365[_0x153365[_0x41545e(0x456)]=0x2]=_0x41545e(0x456),_0x153365[_0x153365[_0x41545e(0x2a5)]=0x3]='UnitEmbedded',_0x153365[_0x153365[_0x41545e(0x245)]=0x4]=_0x41545e(0x245),_0x153365[_0x153365[_0x41545e(0x28e)]=-0x1]=_0x41545e(0x28e),_0x153365))(Ei||{});const q=_0x41545e(0x404),Ur={};var se=(_0x412664=>(_0x412664[_0x41545e(0x2fd)]='OTHER_CLIENT_EDITING',_0x412664[_0x41545e(0x2b0)]=_0x41545e(0x2b0),_0x412664[_0x41545e(0x2cb)]='CONFLICT',_0x412664[_0x41545e(0x3c1)]=_0x41545e(0x3c1),_0x412664[_0x41545e(0x203)]=_0x41545e(0x203),_0x412664[_0x41545e(0x327)]='SOCKET_FAILED_RETRY',_0x412664['SOCKET_FAILED']=_0x41545e(0x2ee),_0x412664[_0x41545e(0x37c)]=_0x41545e(0x37c),_0x412664))(se||{});class pe{constructor(){var _0x4245b0=_0x41545e;N(this,_0x4245b0(0x276),new _0x5daeac()),N(this,_0x4245b0(0x438),this[_0x4245b0(0x276)][_0x4245b0(0x38e)]());}[_0x41545e(0x24f)](_0x5cd50a){var _0x375257=_0x41545e;this[_0x375257(0x276)][_0x375257(0x25e)](_0x5cd50a);}}const Ar=_0x40779a('univer-pro.collaboration-client.network-condition.service');function Pr(_0x116eeb){var _0x321663=_0x41545e,_0xc989fd,_0x1adc8e,_0x132230,_0x5b13c7,_0x5021a0;const _0x3b1860=_0x116eeb[_0x321663(0x226)],_0x385717=JSON[_0x321663(0x3ce)](_0x3b1860);switch(_0x385717[_0x321663(0x3d7)]){case F[_0x321663(0x373)]:case F['HELLO']:{const _0x165e73=_0x385717[_0x321663(0x446)];return{..._0x385717,'data':_0x165e73,'cmd':_0x385717[_0x321663(0x3d7)]};}case F[_0x321663(0x270)]:{const _0x3b4fd0=_0x385717[_0x321663(0x348)];return{..._0x385717,'data':_0x3b4fd0,'cmd':_0x385717['cmd']};}case F[_0x321663(0x229)]:{const _0x502783=_0x385717[_0x321663(0x1d3)];switch(_0x502783['eventID']){case _0x5cfd61[_0x321663(0x255)]:return{..._0x385717,'data':{..._0x502783,'data':(_0xc989fd=_0x502783[_0x321663(0x45d)])==null?void 0x0:_0xc989fd['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3df)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x1adc8e=_0x502783[_0x321663(0x1e3)])==null?void 0x0:_0x1adc8e['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x33b)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x132230=_0x502783[_0x321663(0x42d)])==null?void 0x0:_0x132230['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x3a6)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5b13c7=_0x502783['csRejEvent'])==null?void 0x0:_0x5b13c7['cs']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x3bc)]:return{..._0x385717,'data':{..._0x502783,'data':(_0x5021a0=_0x502783[_0x321663(0x1bf)])==null?void 0x0:_0x5021a0['cs']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x474)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3d0)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['USERS_ENTER']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x3e6)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x218)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['leaveEvent']},'cmd':_0x385717['cmd']};case _0x5cfd61[_0x321663(0x375)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x2ca)]:case _0x5cfd61[_0x321663(0x3c3)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x467)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x463)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47d)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x420)]:return{..._0x385717,'data':_0x502783,'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x315)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783['commentUpdateEvent']},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x306)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x193)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61['SHOULD_CLOSE_CONN']:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x389)]},'cmd':_0x385717[_0x321663(0x3d7)]};case _0x5cfd61[_0x321663(0x1d4)]:return{..._0x385717,'data':{..._0x502783,'data':_0x502783[_0x321663(0x47e)]},'cmd':_0x385717[_0x321663(0x3d7)]};default:return _0x385717;}}default:return _0x385717;}}function xr(_0xdb498c){var _0xcdef3a=_0x41545e;switch(_0xdb498c[_0xcdef3a(0x3d7)]){case F['HEARTBEAT']:case F[_0xcdef3a(0x1d1)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)]});case F[_0xcdef3a(0x1b2)]:{let _0x5a7212;switch(_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x44a)]){case _0x5cfd61[_0xcdef3a(0x474)]:{_0x5a7212={'eventID':_0x5cfd61['UPDATE_CURSOR'],'updateCursorEvent':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x218)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x218)],'leaveEvent':_0xdb498c['data'][_0xcdef3a(0x226)]};break;}case _0x5cfd61['USERS_ENTER']:{_0x5a7212={'eventID':_0x5cfd61['USERS_ENTER'],'joinEvent':_0xdb498c['data']['data']};break;}case _0x5cfd61[_0xcdef3a(0x375)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x375)],'liveShareNewHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x3c3)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x3c3)],'liveShareOperation':_0xdb498c['data']['data']};break;}case _0x5cfd61['LIVESHARE_TERMINATE']:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x463)],'liveShareTerminate':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x1ac)]:{_0x5a7212={'eventID':_0x5cfd61[_0xcdef3a(0x1ac)],'liveShareRequestHost':_0xdb498c[_0xcdef3a(0x226)][_0xcdef3a(0x226)]};break;}case _0x5cfd61[_0xcdef3a(0x2ca)]:{_0x5a7212={'eventID':_0x5cfd61['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x5a7212={'eventID':_0xdb498c[_0xcdef3a(0x226)]['eventID']};}return JSON['stringify']({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'collaMsg':_0x5a7212});}case F[_0xcdef3a(0x270)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c[_0xcdef3a(0x3d7)],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'joinReq':_0xdb498c[_0xcdef3a(0x226)]});case F[_0xcdef3a(0x29b)]:return JSON[_0xcdef3a(0x2cf)]({'cmd':_0xdb498c['cmd'],'routeKey':_0xdb498c[_0xcdef3a(0x1fc)],'leaveReq':_0xdb498c['data']});default:throw new Error(_0xcdef3a(0x224));}}var Lr=Object[_0x41545e(0x271)],Mr=(_0x253a30,_0x26bba4,_0x3b8fe7,_0x3c119c)=>{var _0x36e8a2=_0x41545e;for(var _0x1a453c=_0x3c119c>0x1?void 0x0:_0x3c119c?Lr(_0x26bba4,_0x3b8fe7):_0x26bba4,_0x5264fb=_0x253a30[_0x36e8a2(0x2fa)]-0x1,_0x8f7bb6;_0x5264fb>=0x0;_0x5264fb--)(_0x8f7bb6=_0x253a30[_0x5264fb])&&(_0x1a453c=_0x8f7bb6(_0x1a453c)||_0x1a453c);return _0x1a453c;},Ue=(_0xfdb062,_0x55decc)=>(_0x3f6e9a,_0x58edd2)=>_0x55decc(_0x3f6e9a,_0x58edd2,_0xfdb062);const Ii=_0x40779a(_0x41545e(0x3c7));function kr(_0x4d4f19,_0x3b7247,_0x617d39){var _0x5e24ec=_0x41545e;return _0x4d4f19+'/'+_0x3b7247+_0x5e24ec(0x410)+_0x617d39+_0x5e24ec(0x3e9);}let Vt=class extends _0x4b1c46{constructor(_0x39a154,_0x461e09,_0x4d86b5,_0x11b918,_0x155631){var _0x1fef6e=_0x41545e;super(),this['_injector']=_0x39a154,this[_0x1fef6e(0x365)]=_0x461e09,this['_configService']=_0x4d86b5,this[_0x1fef6e(0x398)]=_0x11b918,this[_0x1fef6e(0x2c4)]=_0x155631;}[_0x41545e(0x336)](_0x55ccee){var _0x4d6bbd=_0x41545e;const _0x27309b=this['_injector'][_0x4d6bbd(0x393)](_0x388dee);if(!_0x27309b)throw new Error(_0x4d6bbd(0x434));const _0x35ceda=_0x27309b[_0x4d6bbd(0x307)](_0x55ccee);if(!_0x35ceda)throw new Error(_0x4d6bbd(0x384));const _0x236043=new _0x548497(),_0x482d77=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x338)]['subscribe'](_0x7250f4=>_0x482d77['next'](_0x7250f4))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x482d77[_0x4d6bbd(0x1c5)]()));const _0x432b8c=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda[_0x4d6bbd(0x31f)]['subscribe'](_0x1a5112=>_0x432b8c[_0x4d6bbd(0x25e)](_0x1a5112))),_0x236043[_0x4d6bbd(0x190)](_0x1a739e(()=>_0x432b8c['complete']()));const _0x165bd5=new _0x5daeac();_0x236043[_0x4d6bbd(0x190)](_0x35ceda['message$']['subscribe'](_0xb1ffbb=>{const _0x1ee18c=Pr(_0xb1ffbb);_0x165bd5['next'](_0x1ee18c);})),_0x236043['add'](_0x1a739e(()=>_0x165bd5[_0x4d6bbd(0x1c5)]()));let _0x2f74d9;const _0x3d7fb6=()=>{var _0x3fc297=_0x4d6bbd;_0x432b8c['next'](new Event(_0x3fc297(0x296))),_0x482d77[_0x3fc297(0x25e)](new Event(_0x3fc297(0x296))),_0x2f74d9[_0x3fc297(0x20d)]();};return _0x2f74d9={'memberID':'','close$':_0x482d77[_0x4d6bbd(0x38e)](),'error$':_0x432b8c['asObservable'](),'open$':_0x35ceda[_0x4d6bbd(0x3f3)],'message$':_0x165bd5[_0x4d6bbd(0x38e)](),'send':_0x1499ab=>{var _0x1175b1=_0x4d6bbd;if(_0x1499ab[_0x1175b1(0x3d7)]===F['INGEST']){if(_0x1499ab[_0x1175b1(0x226)][_0x1175b1(0x44a)]===_0x5cfd61[_0x1175b1(0x339)]){this[_0x1175b1(0x32e)](_0x2f74d9,_0x1499ab['data'])[_0x1175b1(0x196)](_0x5ad906=>{var _0x3afa2e=_0x1175b1;this[_0x3afa2e(0x398)][_0x3afa2e(0x353)](_0x5ad906),_0x3d7fb6();});return;}if(_0x1499ab[_0x1175b1(0x226)]['eventID']===_0x5cfd61[_0x1175b1(0x39c)]){const _0x1515e0=_0x1499ab[_0x1175b1(0x226)];this[_0x1175b1(0x1b7)](_0x1515e0)[_0x1175b1(0x2aa)](_0x2d3a24=>{var _0x4133c2=_0x1175b1;_0x165bd5['next']({'cmd':F[_0x4133c2(0x229)],'code':ge['OK'],'routeKey':_0x1515e0[_0x4133c2(0x226)][_0x4133c2(0x25a)],'routeType':'','data':{'eventID':_0x5cfd61[_0x4133c2(0x1d9)],'data':{'changesets':_0x2d3a24}}});})[_0x1175b1(0x196)](_0x133ff1=>{var _0x5f1c57=_0x1175b1;this[_0x5f1c57(0x398)][_0x5f1c57(0x353)](_0x133ff1),_0x3d7fb6();});return;}}_0x35ceda[_0x1175b1(0x24c)](xr(_0x1499ab));},'close':()=>{var _0x1bd2b5=_0x4d6bbd;_0x35ceda['close'](),_0x236043[_0x1bd2b5(0x293)]();}},_0x2f74d9;}async[_0x41545e(0x32e)](_0x5d6bb4,_0x3eecf6){var _0x4003b2=_0x41545e,_0x19790a,_0x5b6eac;const {unitType:_0x5563a8,unitID:_0x44aac0,changeset:_0x1fe888}=_0x3eecf6[_0x4003b2(0x226)],_0x16d0e5={'unitID':_0x44aac0,'memberID':_0x5d6bb4[_0x4003b2(0x381)],'type':_0x5563a8,'changeset':_0x409719(_0x1fe888)},_0x30480e=this[_0x4003b2(0x2f0)][_0x4003b2(0x222)](Or),_0x133375=this[_0x4003b2(0x2f0)]['getConfig'](q),_0x29d54f=kr((_0x5b6eac=(_0x19790a=_0x133375==null?void 0x0:_0x133375[_0x4003b2(0x1b5)])!=null?_0x19790a:_0x30480e)!=null?_0x5b6eac:Nr,_0x5563a8,_0x44aac0);try{await this[_0x4003b2(0x365)][_0x4003b2(0x3da)](_0x29d54f,{'body':_0x16d0e5});}catch(_0x16575e){throw this[_0x4003b2(0x398)][_0x4003b2(0x353)](_0x4003b2(0x20f),_0x4003b2(0x282)),_0x16575e;}}async['_fetchMissChangesets'](_0x8294d6){var _0x19f50b=_0x41545e;const {unitID:_0x1af665,from:_0x3c69be,to:_0x2459a1,unitType:_0x1cf496}=_0x8294d6[_0x19f50b(0x226)];return(await this[_0x19f50b(0x2c4)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x1af665,'type':_0x1cf496,'from':_0x3c69be,'to':_0x2459a1}))[_0x19f50b(0x40c)];}};Vt=Mr([Ue(0x0,_0x236453(_0x35ce09)),Ue(0x1,_0x236453(_0x15df20)),Ue(0x2,_0x34fb67),Ue(0x3,_0x5b92b1),Ue(0x4,_0x1cc5ae)],Vt);const $r='collaboration_new_changeset';function Hr(_0x568c59){var _0x10773f=_0x41545e;return JSON['stringify'](_0x568c59)[_0x10773f(0x2fa)];}class Ti{constructor(){var _0x2f6aa1=_0x41545e;N(this,'_commentUpdate$',new _0x5daeac()),N(this,_0x2f6aa1(0x21a),this[_0x2f6aa1(0x30e)][_0x2f6aa1(0x38e)]());}[_0x41545e(0x440)](_0x3a3ea0){var _0x32fe5e=_0x41545e;this[_0x32fe5e(0x30e)][_0x32fe5e(0x25e)](_0x3a3ea0);}}var Br=Object[_0x41545e(0x271)],jr=(_0x848e4d,_0x44ae5f,_0x1d4404,_0x260899)=>{var _0x57da4a=_0x41545e;for(var _0x305e60=_0x260899>0x1?void 0x0:_0x260899?Br(_0x44ae5f,_0x1d4404):_0x44ae5f,_0x3d7972=_0x848e4d[_0x57da4a(0x2fa)]-0x1,_0x37e0dd;_0x3d7972>=0x0;_0x3d7972--)(_0x37e0dd=_0x848e4d[_0x3d7972])&&(_0x305e60=_0x37e0dd(_0x305e60)||_0x305e60);return _0x305e60;},Wt=(_0x55aac9,_0x20b997)=>(_0x5cb49b,_0xe24043)=>_0x20b997(_0x5cb49b,_0xe24043,_0x55aac9);let xe=class extends _0x4b1c46{constructor(_0x4b8ed7,_0x588677){var _0x141466=_0x41545e;super(),N(this,'_roomMembers',new Map()),N(this,_0x141466(0x1a3),new _0x5daeac()),(this[_0x141466(0x1f6)]=_0x4b8ed7,this[_0x141466(0x1db)]=_0x588677,this[_0x141466(0x41a)](_0x14bf95(this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x1af)])['pipe'](_0x5a18b9(_0x47b86c=>_0x47b86c[_0x141466(0x32f)]())),this[_0x141466(0x1f6)][_0x141466(0x18c)](_0x16fa42[_0x141466(0x378)])[_0x141466(0x30b)](_0x5a18b9(_0x548cae=>_0x548cae[_0x141466(0x32f)]())),this['_univerInstanceService'][_0x141466(0x18c)](_0x16fa42[_0x141466(0x301)])['pipe'](_0x5a18b9(_0x2c23f2=>_0x2c23f2[_0x141466(0x32f)]())))[_0x141466(0x40b)](_0x450452=>this['_removeRoom'](_0x450452))));}[_0x41545e(0x2e8)](_0x4d017c){var _0x38a5d1=_0x41545e;return this[_0x38a5d1(0x458)][_0x38a5d1(0x46e)](_0x4d017c)?_0x65e3ad(this[_0x38a5d1(0x458)]['get'](_0x4d017c)):this[_0x38a5d1(0x1a3)][_0x38a5d1(0x30b)](_0x5a18b9(_0x4d4caa=>{var _0x44f52d=_0x38a5d1;if(_0x4d4caa===_0x4d017c)return this['_roomMembers'][_0x44f52d(0x393)](_0x4d4caa);}));}['setCurrentUser'](_0x29106d){var _0x197976=_0x41545e;this['_userManagerService'][_0x197976(0x1f8)](_0x29106d);}[_0x41545e(0x267)](){var _0x2174f4=_0x41545e;return this[_0x2174f4(0x1db)]['getCurrentUser']();}[_0x41545e(0x1a4)](_0x3526e1,_0x37aa5f){var _0x2c8c8a=_0x41545e;let _0x12fbc2=this['_roomMembers'][_0x2c8c8a(0x393)](_0x3526e1);_0x12fbc2||(_0x12fbc2=new Fr(),this[_0x2c8c8a(0x458)][_0x2c8c8a(0x3d2)](_0x3526e1,_0x12fbc2),this[_0x2c8c8a(0x1a3)]['next'](_0x3526e1)),_0x12fbc2[_0x2c8c8a(0x1a4)](_0x37aa5f);}[_0x41545e(0x388)](_0x590e1d,_0x32fea1){var _0x2a28cd=_0x41545e;const _0x320bbb=this[_0x2a28cd(0x458)][_0x2a28cd(0x393)](_0x590e1d);_0x320bbb&&_0x320bbb[_0x2a28cd(0x388)](_0x32fea1);}[_0x41545e(0x33c)](_0x4dfae1){var _0x5ca671=_0x41545e;return this[_0x5ca671(0x458)][_0x5ca671(0x393)](_0x4dfae1);}[_0x41545e(0x34b)](_0x4369b5,_0x2733fc){var _0x575310=_0x41545e;const _0x3483a9=this['_roomMembers'][_0x575310(0x393)](_0x4369b5);if(_0x3483a9)return _0x3483a9[_0x575310(0x34b)](_0x2733fc);}[_0x41545e(0x277)](_0x267219){var _0x2e54a4=_0x41545e;const _0x2a8165=this[_0x2e54a4(0x458)]['get'](_0x267219);_0x2a8165&&(_0x2a8165['dispose'](),this[_0x2e54a4(0x458)][_0x2e54a4(0x27a)](_0x267219));}[_0x41545e(0x293)](){var _0x90ae0b=_0x41545e;this[_0x90ae0b(0x458)][_0x90ae0b(0x1d8)](_0x4f9695=>_0x4f9695[_0x90ae0b(0x293)]()),this[_0x90ae0b(0x458)][_0x90ae0b(0x302)](),this[_0x90ae0b(0x1a3)][_0x90ae0b(0x1c5)]();}};xe=jr([Wt(0x0,_0x214b6f),Wt(0x1,_0x236453(_0x5964dc))],xe);class Fr extends _0x4b1c46{constructor(){var _0x232de1=_0x41545e;super(...arguments),N(this,_0x232de1(0x46d),new Map()),N(this,_0x232de1(0x337),new _0x48d6f2(this['_members'])),N(this,_0x232de1(0x18e),this[_0x232de1(0x337)][_0x232de1(0x38e)]());}[_0x41545e(0x293)](){var _0x103fa9=_0x41545e;this[_0x103fa9(0x46d)]['clear']();}[_0x41545e(0x1a4)](_0x33193d){var _0x5d831d=_0x41545e;this[_0x5d831d(0x46d)][_0x5d831d(0x3d2)](_0x33193d[_0x5d831d(0x381)],_0x33193d),this[_0x5d831d(0x2d6)]();}['removeMember'](_0x35441b){var _0x124546=_0x41545e;this[_0x124546(0x46d)][_0x124546(0x27a)](_0x35441b);}[_0x41545e(0x34b)](_0x1b2db6){var _0x4e147a=_0x41545e;return this[_0x4e147a(0x46d)][_0x4e147a(0x393)](_0x1b2db6);}[_0x41545e(0x476)](){var _0x80ab8c=_0x41545e;return Array[_0x80ab8c(0x22c)](this[_0x80ab8c(0x46d)][_0x80ab8c(0x305)]());}[_0x41545e(0x2d6)](){var _0xc3a4f5=_0x41545e;this[_0xc3a4f5(0x337)][_0xc3a4f5(0x25e)](this[_0xc3a4f5(0x46d)]);}}var Gr=Object[_0x41545e(0x271)],Vr=(_0x527b3e,_0x4ee5a4,_0x8c85d9,_0x1b5f16)=>{var _0x6c0456=_0x41545e;for(var _0x1a1e3a=_0x1b5f16>0x1?void 0x0:_0x1b5f16?Gr(_0x4ee5a4,_0x8c85d9):_0x4ee5a4,_0x350a51=_0x527b3e[_0x6c0456(0x2fa)]-0x1,_0x40742d;_0x350a51>=0x0;_0x350a51--)(_0x40742d=_0x527b3e[_0x350a51])&&(_0x1a1e3a=_0x40742d(_0x1a1e3a)||_0x1a1e3a);return _0x1a1e3a;},me=(_0x59d20b,_0x2eac77)=>(_0x10add9,_0x126357)=>_0x2eac77(_0x10add9,_0x126357,_0x59d20b),Ee=(_0x422958=>(_0x422958[_0x422958[_0x41545e(0x450)]=0x0]='IDLE',_0x422958[_0x422958['JOINING']=0x1]=_0x41545e(0x391),_0x422958[_0x422958[_0x41545e(0x1ed)]=0x2]=_0x41545e(0x1ed),_0x422958[_0x422958[_0x41545e(0x280)]=0x3]=_0x41545e(0x280),_0x422958))(Ee||{});const Kt={[ge[_0x41545e(0x3b9)]]:_0x41545e(0x425),[ge[_0x41545e(0x3fc)]]:_0x41545e(0x230),[ge[_0x41545e(0x2a4)]]:'session.room-not-exists',[ge['JOIN_ROOM_PERMISSION_DENIED']]:_0x41545e(0x2b6),[ge['GLOBAL_ROOMS_CNT_EXCEEDS']]:_0x41545e(0x3eb)};let Et=class extends _0x433c2f{constructor(_0x369cc9,_0x49c0ea,_0x377dce,_0x54980d,_0x5820b6,_0x287c22,_0x3c99c9,_0xb51dbb,_0x2a7908){var _0x4c4f25=_0x41545e;super(),N(this,_0x4c4f25(0x247),new _0x48d6f2(0x0)),N(this,_0x4c4f25(0x1d2),this['_sessionStatus$'][_0x4c4f25(0x38e)]()),N(this,'_event$',new _0x5daeac()),N(this,_0x4c4f25(0x438),this[_0x4c4f25(0x276)][_0x4c4f25(0x38e)]()),N(this,_0x4c4f25(0x2eb)),N(this,_0x4c4f25(0x242)),N(this,_0x4c4f25(0x2b3)),N(this,_0x4c4f25(0x39f),!0x1),N(this,_0x4c4f25(0x2a8),null),(this[_0x4c4f25(0x399)]=_0x369cc9,this[_0x4c4f25(0x398)]=_0x377dce,this[_0x4c4f25(0x2f0)]=_0x54980d,this['_localeService']=_0x5820b6,this['_memberService']=_0x287c22,this[_0x4c4f25(0x475)]=_0x3c99c9,this[_0x4c4f25(0x1ae)]=_0xb51dbb,this[_0x4c4f25(0x2f7)]=_0x2a7908,this[_0x4c4f25(0x39f)]=!!this[_0x4c4f25(0x2f7)],_0x49c0ea[_0x4c4f25(0x30b)](_0x515a44(this[_0x4c4f25(0x423)]))['subscribe'](_0x2c81ad=>{var _0x31f372=_0x4c4f25,_0x1374d2;typeof _0x2c81ad>'u'||(this[_0x31f372(0x2eb)]=_0x2c81ad,_0x2c81ad?(this[_0x31f372(0x2e3)](_0x2c81ad),this[_0x31f372(0x242)]=_0x2c81ad[_0x31f372(0x3d4)][_0x31f372(0x40b)](_0x539a5e=>{var _0x1b2252=_0x31f372;_0x539a5e['routeKey']===this[_0x1b2252(0x399)]&&this[_0x1b2252(0x219)](_0x539a5e);})):(this[_0x31f372(0x452)](),this[_0x31f372(0x247)][_0x31f372(0x25e)](0x2),(_0x1374d2=this[_0x31f372(0x242)])==null||_0x1374d2['unsubscribe'](),this[_0x31f372(0x242)]=null));}));}get[_0x41545e(0x1fe)](){var _0x5190e1=_0x41545e;return this['_sessionStatus$'][_0x5190e1(0x370)]();}[_0x41545e(0x35b)](){var _0x48fd36=_0x41545e,_0x281c97,_0x31081e;return(_0x31081e=(_0x281c97=this[_0x48fd36(0x2eb)])==null?void 0x0:_0x281c97[_0x48fd36(0x381)])!=null?_0x31081e:null;}[_0x41545e(0x293)](){var _0x45e6b3=_0x41545e;super['dispose'](),this['dispose$'][_0x45e6b3(0x25e)](),this['dispose$'][_0x45e6b3(0x1c5)]();}[_0x41545e(0x20d)](){var _0x412c8a=_0x41545e,_0x2d8c47,_0x233361;this[_0x412c8a(0x452)](),(_0x2d8c47=this[_0x412c8a(0x2eb)])==null||_0x2d8c47[_0x412c8a(0x24c)]({'cmd':F[_0x412c8a(0x29b)],'data':{'roomID':this[_0x412c8a(0x399)]}}),(_0x233361=this[_0x412c8a(0x2eb)])==null||_0x233361[_0x412c8a(0x20d)](),this['_event$'][_0x412c8a(0x1c5)](),this['_sessionStatus$'][_0x412c8a(0x1c5)](),this[_0x412c8a(0x293)]();}[_0x41545e(0x219)](_0x41ce05){var _0x545f5a=_0x41545e;_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x270)]?this[_0x545f5a(0x332)](_0x41ce05):_0x41ce05[_0x545f5a(0x3d7)]===F[_0x545f5a(0x229)]&&this[_0x545f5a(0x349)](_0x41ce05);}[_0x41545e(0x2e3)](_0x34112f){var _0xb85ef0=_0x41545e;this['_sessionStatus$'][_0xb85ef0(0x25e)](0x1),_0x34112f['send']({'cmd':F[_0xb85ef0(0x270)],'routeKey':this[_0xb85ef0(0x399)],'routeType':'','data':{'rooms':[{'roomID':this[_0xb85ef0(0x399)]}]}});}[_0x41545e(0x332)](_0x212565){var _0x436c25=_0x41545e,_0x5b74b7;if(_0x212565[_0x436c25(0x330)]in Kt){this[_0x436c25(0x1ae)][_0x436c25(0x24f)]({'id':se[_0x436c25(0x203)],'data':Kt[_0x212565[_0x436c25(0x330)]]}),this[_0x436c25(0x247)][_0x436c25(0x25e)](0x2);return;}this[_0x436c25(0x247)][_0x436c25(0x25e)](0x3);const _0x4426a5=(_0x5b74b7=_0x212565[_0x436c25(0x226)][_0x436c25(0x428)][this[_0x436c25(0x399)]])==null?void 0x0:_0x5b74b7[_0x436c25(0x197)];_0x4426a5&&_0x4426a5[_0x436c25(0x1d8)](_0x572fbb=>this['_memberService'][_0x436c25(0x1a4)](this[_0x436c25(0x399)],_0x572fbb));}[_0x41545e(0x349)](_0x4a24af){var _0x3c3a90=_0x41545e;try{const _0x4abcd2=_0x4a24af[_0x3c3a90(0x226)];switch(_0x4abcd2['eventID']){case _0x5cfd61[_0x3c3a90(0x3b6)]:this['_onUserJoin'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x218)]:this['_onUserLeave'](_0x4abcd2),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x3df)]:case _0x5cfd61[_0x3c3a90(0x3bc)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x3c3a90(0x3f9)](),this[_0x3c3a90(0x276)]['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x420)]:this[_0x3c3a90(0x398)][_0x3c3a90(0x353)](_0x3c3a90(0x39e)+JSON['stringify'](_0x4abcd2)),this['_event$']['next'](_0x4abcd2);break;case _0x5cfd61[_0x3c3a90(0x315)]:this[_0x3c3a90(0x475)]['onCommentUpdate'](_0x4abcd2[_0x3c3a90(0x226)]),this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);break;default:this[_0x3c3a90(0x276)][_0x3c3a90(0x25e)](_0x4abcd2);}}catch(_0x16b68e){this['_logService'][_0x3c3a90(0x353)](_0x16b68e,_0x4a24af);}}[_0x41545e(0x383)](_0x57acbd){var _0x2ebe7d=_0x41545e;this[_0x2ebe7d(0x29a)][_0x2ebe7d(0x1a4)](this[_0x2ebe7d(0x399)],_0x57acbd[_0x2ebe7d(0x226)]);}['_onUserLeave'](_0x584af7){var _0x44a31d=_0x41545e;this[_0x44a31d(0x29a)]['removeMember'](this[_0x44a31d(0x399)],_0x584af7['data'][_0x44a31d(0x381)]);}async[_0x41545e(0x24c)](_0x56d256,_0x5f29e6){var _0x1a156a=_0x41545e;if(this[_0x1a156a(0x1fe)]!==0x3||!this[_0x1a156a(0x2eb)])throw new Error(_0x1a156a(0x443));try{_0x56d256['eventID']===_0x5cfd61[_0x1a156a(0x339)]&&(this[_0x1a156a(0x33d)](),this['_startTelemetryCollaborationNewChangeset'](_0x56d256)),this[_0x1a156a(0x2eb)]['send']({'cmd':F[_0x1a156a(0x1b2)],'routeKey':_0x5f29e6,'routeType':'','data':_0x56d256});}catch(_0x224186){this['_logService'][_0x1a156a(0x353)](_0x224186);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4e5c6c=_0x41545e,_0x4ba440;this[_0x4e5c6c(0x2b3)]=setTimeout(()=>{var _0x8b4ec9=_0x4e5c6c;this[_0x8b4ec9(0x2b3)]=null,this[_0x8b4ec9(0x1ae)][_0x8b4ec9(0x24f)]({'id':se[_0x8b4ec9(0x37c)]});},(_0x4ba440=this[_0x4e5c6c(0x2f0)][_0x4e5c6c(0x222)](mi))!=null?_0x4ba440:gi);}[_0x41545e(0x3f9)](){var _0x2e92ad=_0x41545e;this[_0x2e92ad(0x2b3)]&&(clearTimeout(this[_0x2e92ad(0x2b3)]),this[_0x2e92ad(0x2b3)]=null);}['_startTelemetryCollaborationNewChangeset'](_0x4025cc){var _0x4d43e0=_0x41545e;if(!this[_0x4d43e0(0x39f)])return;const {data:_0x27c686}=_0x4025cc,{unitID:_0x3bbacd,changeset:_0x12816f}=_0x27c686,{mutations:_0x15df3e,type:_0x177b42}=_0x12816f;this[_0x4d43e0(0x2a8)]={'unitId':_0x3bbacd,'type':_0x177b42,'startTime':performance[_0x4d43e0(0x2f8)](),'stopTime':0x0,'duration':0x0,'size':Hr(_0x15df3e)};}[_0x41545e(0x3e5)](){var _0x589d0e=_0x41545e;if(this['_shouldReportTelemetry']){if(!this['_telemetryInfo']){this['_logService'][_0x589d0e(0x353)]('[CollaborationSession]',_0x589d0e(0x1ca));return;}this[_0x589d0e(0x2a8)][_0x589d0e(0x19b)]=performance[_0x589d0e(0x2f8)](),this[_0x589d0e(0x2a8)][_0x589d0e(0x1da)]=this['_telemetryInfo'][_0x589d0e(0x19b)]-this['_telemetryInfo'][_0x589d0e(0x3e7)],this[_0x589d0e(0x2f7)][_0x589d0e(0x28b)]($r,this['_telemetryInfo']),this[_0x589d0e(0x2a8)]=null;}}[_0x41545e(0x452)](){var _0x366bd9=_0x41545e;this[_0x366bd9(0x2a8)]=null;}};Et=Vr([me(0x2,_0x5b92b1),me(0x3,_0x34fb67),me(0x4,_0x236453(_0xa17142)),me(0x5,_0x236453(xe)),me(0x6,_0x236453(Ti)),me(0x7,_0x236453(pe)),me(0x8,_0x1d0f46(_0x149af4))],Et);var Wr=Object[_0x41545e(0x271)],Kr=(_0x485e24,_0x203efc,_0x458787,_0x9b92fb)=>{var _0x4fa448=_0x41545e;for(var _0x159dda=_0x9b92fb>0x1?void 0x0:_0x9b92fb?Wr(_0x203efc,_0x458787):_0x203efc,_0x3838bd=_0x485e24[_0x4fa448(0x2fa)]-0x1,_0x3ac896;_0x3838bd>=0x0;_0x3838bd--)(_0x3ac896=_0x485e24[_0x3838bd])&&(_0x159dda=_0x3ac896(_0x159dda)||_0x159dda);return _0x159dda;},be=(_0x30ba00,_0x31991c)=>(_0x39b627,_0x47bd98)=>_0x31991c(_0x39b627,_0x47bd98,_0x30ba00);let Le=class extends _0x4b1c46{constructor(_0x445435,_0x548b60,_0x4ce002,_0x40ac16,_0x19fe4a,_0x4cb766){var _0x2e06fa=_0x41545e;super(),N(this,_0x2e06fa(0x3b7),new _0x48d6f2(void 0x0)),N(this,_0x2e06fa(0x3e4),this[_0x2e06fa(0x3b7)][_0x2e06fa(0x38e)]()),N(this,_0x2e06fa(0x303),null),N(this,_0x2e06fa(0x19e),new Map()),N(this,_0x2e06fa(0x451),new _0x48d6f2(Ee['IDLE'])),N(this,'status$',this[_0x2e06fa(0x451)][_0x2e06fa(0x38e)]()),N(this,'_socketReady',!0x1),N(this,'_retryConnectingTimer'),N(this,_0x2e06fa(0x3b0),0x0),N(this,_0x2e06fa(0x449)),N(this,_0x2e06fa(0x194)),(this[_0x2e06fa(0x367)]=_0x445435,this[_0x2e06fa(0x398)]=_0x548b60,this[_0x2e06fa(0x2f0)]=_0x4ce002,this[_0x2e06fa(0x262)]=_0x40ac16,this[_0x2e06fa(0x1ae)]=_0x19fe4a,this[_0x2e06fa(0x312)]=_0x4cb766,this[_0x2e06fa(0x261)]());}get[_0x41545e(0x2eb)](){var _0x49fcca=_0x41545e;return this['_socket$'][_0x49fcca(0x370)]();}[_0x41545e(0x261)](){var _0x8128fc=_0x41545e;this[_0x8128fc(0x312)]&&this[_0x8128fc(0x41a)](this['_networkConditionService'][_0x8128fc(0x42c)]['subscribe'](_0x3a1315=>{var _0x5b8734=_0x8128fc;_0x3a1315&&!this['_socket']&&this[_0x5b8734(0x34e)](),_0x3a1315||this[_0x5b8734(0x355)]();}));}[_0x41545e(0x293)](){var _0x1a3eab=_0x41545e;super[_0x1a3eab(0x293)](),this[_0x1a3eab(0x19e)][_0x1a3eab(0x1d8)](_0x3b0e45=>_0x3b0e45[_0x1a3eab(0x293)]()),this[_0x1a3eab(0x19e)]['clear'](),this['_status$'][_0x1a3eab(0x1c5)]();}async['requireSession'](_0x4f1b67){var _0x317062=_0x41545e;if(this[_0x317062(0x19e)][_0x317062(0x46e)](_0x4f1b67))return this['_sessions'][_0x317062(0x393)](_0x4f1b67);this[_0x317062(0x2a3)]();const _0xe976a4=this[_0x317062(0x367)][_0x317062(0x34f)](Et,_0x4f1b67,this[_0x317062(0x3b7)]['asObservable']());return this[_0x317062(0x19e)]['set'](_0x4f1b67,_0xe976a4),_0xe976a4;}[_0x41545e(0x246)](_0x1d2e17){var _0x3438e1=_0x41545e,_0x219d81;const _0x29ab1d=this[_0x3438e1(0x19e)][_0x3438e1(0x393)](_0x1d2e17);_0x29ab1d&&(this[_0x3438e1(0x19e)][_0x3438e1(0x27a)](_0x1d2e17),_0x29ab1d[_0x3438e1(0x20d)]()),this[_0x3438e1(0x19e)][_0x3438e1(0x341)]||(_0x219d81=this[_0x3438e1(0x2eb)])==null||_0x219d81['close']();}[_0x41545e(0x34e)](){var _0x7f85bd=_0x41545e;this[_0x7f85bd(0x3b0)]=0x0,this[_0x7f85bd(0x1df)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this[_0x7f85bd(0x1df)]=null),this[_0x7f85bd(0x418)]();}async['_createSocket'](){var _0x321413=_0x41545e,_0x2bf69c,_0x37adfc;const _0x137005=this[_0x321413(0x2f0)][_0x321413(0x222)](Er),_0x45c06d=this[_0x321413(0x2f0)]['getConfig'](q),_0x2a37ab=(_0x37adfc=(_0x2bf69c=_0x45c06d==null?void 0x0:_0x45c06d[_0x321413(0x2d1)])!=null?_0x2bf69c:_0x137005)!=null?_0x37adfc:Ir,_0x202505=await this[_0x321413(0x262)][_0x321413(0x307)](_0x2a37ab);return this['_candidateSocket']=_0x202505,_0x202505;}async[_0x41545e(0x2a3)](){var _0x4ff478=_0x41545e,_0x465f1c,_0x3a5469;try{const _0x29229a=(_0x3a5469=(_0x465f1c=this[_0x4ff478(0x2eb)])!=null?_0x465f1c:this['_candidateSocket'])!=null?_0x3a5469:await this[_0x4ff478(0x25c)]();if(_0x29229a){const _0xd0b1f7=_0x29229a['send'];_0x29229a[_0x4ff478(0x24c)]=_0x48deca=>(this[_0x4ff478(0x3f6)](),_0xd0b1f7[_0x4ff478(0x264)](_0x29229a,[_0x48deca])),_0x29229a['message$'][_0x4ff478(0x40b)](_0x5e4153=>this[_0x4ff478(0x2ff)](_0x29229a,_0x5e4153)),_0x29229a['error$'][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](_0x26f618=>this[_0x4ff478(0x398)][_0x4ff478(0x353)]('[CollaborationSessionService]:\x20socket\x20error',_0x26f618)),_0x29229a[_0x4ff478(0x3f3)][_0x4ff478(0x30b)](_0x118750(0x1))[_0x4ff478(0x40b)](()=>{this['_onConnectionOpen'](_0x29229a);}),_0x29229a[_0x4ff478(0x338)]['pipe'](_0x118750(0x1))[_0x4ff478(0x40b)](_0x4c13fb=>{var _0x3cb525=_0x4ff478;this[_0x3cb525(0x398)][_0x3cb525(0x3ab)](_0x3cb525(0x3b5),_0x3cb525(0x3ee),_0x4c13fb),this[_0x3cb525(0x387)]();});}}catch(_0x46a546){this['_logService'][_0x4ff478(0x353)](_0x46a546),this[_0x4ff478(0x387)]();}}[_0x41545e(0x299)](_0x23b66d){var _0x2de8f8=_0x41545e;this[_0x2de8f8(0x398)][_0x2de8f8(0x3ab)](_0x2de8f8(0x3b5),_0x2de8f8(0x31e)),_0x23b66d[_0x2de8f8(0x24c)]({'cmd':F[_0x2de8f8(0x1d1)]}),this[_0x2de8f8(0x3f6)]();}['_onOffline'](){var _0x133e53=_0x41545e;this[_0x133e53(0x3b8)]=!0x1,this[_0x133e53(0x303)]=null,this[_0x133e53(0x451)][_0x133e53(0x25e)](Ee[_0x133e53(0x1ed)]),this[_0x133e53(0x3b7)][_0x133e53(0x25e)](null),this['_clearTimeoutTimer'](),this['_clearHeartbeatTimer']();}[_0x41545e(0x387)](){var _0x118a6b=_0x41545e,_0x2de7fd;this[_0x118a6b(0x355)](),this[_0x118a6b(0x3b0)]<((_0x2de7fd=this[_0x118a6b(0x2f0)]['getConfig'](br))!=null?_0x2de7fd:yr)?(this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x327)]}),this[_0x118a6b(0x418)]()):this[_0x118a6b(0x1ae)][_0x118a6b(0x24f)]({'id':se[_0x118a6b(0x2ee)]});}[_0x41545e(0x418)](){var _0xe032b=_0x41545e,_0x4e56a0;const _0x185661=this[_0xe032b(0x3b0)],_0x495cb4=this[_0xe032b(0x2f0)][_0xe032b(0x222)](q),_0x5b5139=_0x185661===0x0?0x0:((_0x4e56a0=_0x495cb4==null?void 0x0:_0x495cb4['retryConnectingInterval'])!=null?_0x4e56a0:Rr)*0x2**_0x185661;this[_0xe032b(0x1df)]=setTimeout(()=>{var _0x18d81a=_0xe032b;clearTimeout(this['_retryConnectingTimer']),this[_0x18d81a(0x1df)]=null,this['_tryEnsureSocket']();},_0x5b5139),this[_0xe032b(0x3b0)]+=0x1;}[_0x41545e(0x2ff)](_0x30c816,_0x117d8d){var _0x3849b6=_0x41545e;const {cmd:_0x4ecfe6}=_0x117d8d;_0x4ecfe6===F[_0x3849b6(0x1d1)]&&!this[_0x3849b6(0x3b8)]&&(_0x30c816[_0x3849b6(0x381)]=_0x117d8d[_0x3849b6(0x226)][_0x3849b6(0x381)],this[_0x3849b6(0x3b7)][_0x3849b6(0x25e)](_0x30c816),this[_0x3849b6(0x451)][_0x3849b6(0x25e)](Ee[_0x3849b6(0x280)]),this[_0x3849b6(0x3b8)]=!0x0,this['_candidateSocket']=null),_0x4ecfe6===F['HEARTBEAT']&&this[_0x3849b6(0x1f0)](),this[_0x3849b6(0x3f6)]();}[_0x41545e(0x3f6)](){var _0x44b76f=_0x41545e,_0x175f85;this[_0x44b76f(0x3a2)](),this[_0x44b76f(0x449)]=setTimeout(()=>this[_0x44b76f(0x41f)](),(_0x175f85=this[_0x44b76f(0x2f0)]['getConfig'](Tr))!=null?_0x175f85:Cr);}[_0x41545e(0x41f)](){var _0x100755=_0x41545e;this['_socket'][_0x100755(0x24c)]({'cmd':F['HEARTBEAT']}),this['_waitForHeartbeatResponse']();}[_0x41545e(0x1be)](){var _0x547803=_0x41545e,_0x19abbe;this[_0x547803(0x194)]=setTimeout(()=>this[_0x547803(0x387)](),(_0x19abbe=this[_0x547803(0x2f0)][_0x547803(0x222)](mi))!=null?_0x19abbe:gi);}[_0x41545e(0x3a2)](){var _0xb40fa8=_0x41545e;this[_0xb40fa8(0x449)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0xb40fa8(0x449)]=null);}[_0x41545e(0x1f0)](){var _0x1b20ef=_0x41545e;this[_0x1b20ef(0x194)]!=null&&(clearTimeout(this[_0x1b20ef(0x194)]),this[_0x1b20ef(0x194)]=null);}};Le=Kr([be(0x0,_0x236453(_0x35ce09)),be(0x1,_0x5b92b1),be(0x2,_0x34fb67),be(0x3,Ii),be(0x4,_0x236453(pe)),be(0x5,_0x1d0f46(Ar))],Le);const G=[];for(let i=0x0;i<0x100;++i)G['push']((i+0x100)['toString'](0x10)[_0x41545e(0x377)](0x1));function Yr(_0x2f41fe,_0x20fda4=0x0){var _0x360e29=_0x41545e;return(G[_0x2f41fe[_0x20fda4+0x0]]+G[_0x2f41fe[_0x20fda4+0x1]]+G[_0x2f41fe[_0x20fda4+0x2]]+G[_0x2f41fe[_0x20fda4+0x3]]+'-'+G[_0x2f41fe[_0x20fda4+0x4]]+G[_0x2f41fe[_0x20fda4+0x5]]+'-'+G[_0x2f41fe[_0x20fda4+0x6]]+G[_0x2f41fe[_0x20fda4+0x7]]+'-'+G[_0x2f41fe[_0x20fda4+0x8]]+G[_0x2f41fe[_0x20fda4+0x9]]+'-'+G[_0x2f41fe[_0x20fda4+0xa]]+G[_0x2f41fe[_0x20fda4+0xb]]+G[_0x2f41fe[_0x20fda4+0xc]]+G[_0x2f41fe[_0x20fda4+0xd]]+G[_0x2f41fe[_0x20fda4+0xe]]+G[_0x2f41fe[_0x20fda4+0xf]])[_0x360e29(0x1e7)]();}let ut;const qr=new Uint8Array(0x10);function zr(){var _0x4409af=_0x41545e;if(!ut){if(typeof crypto>'u'||!crypto[_0x4409af(0x1b1)])throw new Error('crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported');ut=crypto[_0x4409af(0x1b1)][_0x4409af(0x46f)](crypto);}return ut(qr);}const Jr=typeof crypto<'u'&&crypto[_0x41545e(0x1e8)]&&crypto[_0x41545e(0x1e8)][_0x41545e(0x46f)](crypto),Yt={'randomUUID':Jr};function Xr(_0x54fdda,_0x242160,_0x5b268e){var _0x4f7bff=_0x41545e,_0xd33db5,_0x49ddae,_0x3243e8;if(Yt[_0x4f7bff(0x1e8)]&&!_0x54fdda)return Yt['randomUUID']();_0x54fdda=_0x54fdda||{};const _0x182ab1=(_0x3243e8=(_0x49ddae=_0x54fdda[_0x4f7bff(0x2f1)])!=null?_0x49ddae:(_0xd33db5=_0x54fdda[_0x4f7bff(0x411)])==null?void 0x0:_0xd33db5[_0x4f7bff(0x33e)](_0x54fdda))!=null?_0x3243e8:zr();if(_0x182ab1['length']<0x10)throw new Error('Random\x20bytes\x20length\x20must\x20be\x20>=\x2016');return _0x182ab1[0x6]=_0x182ab1[0x6]&0xf|0x40,_0x182ab1[0x8]=_0x182ab1[0x8]&0x3f|0x80,Yr(_0x182ab1);}const J=_0x40779a('collaboration-client.local-cache-service');function Bs(_0x136256){var _0x52253d=_0x41545e;return _0x52253d(0x221)+_0x136256;}var Zr=Object[_0x41545e(0x271)],Qr=(_0x4d3d26,_0xe70aad,_0x49db4f,_0xe7f1fc)=>{for(var _0x6bd65c=_0xe7f1fc>0x1?void 0x0:_0xe7f1fc?Zr(_0xe70aad,_0x49db4f):_0xe70aad,_0x5d5c7f=_0x4d3d26['length']-0x1,_0x13aae3;_0x5d5c7f>=0x0;_0x5d5c7f--)(_0x13aae3=_0x4d3d26[_0x5d5c7f])&&(_0x6bd65c=_0x13aae3(_0x6bd65c)||_0x6bd65c);return _0x6bd65c;},dt=(_0x4017cb,_0x2f8294)=>(_0x538e66,_0x543ae6)=>_0x2f8294(_0x538e66,_0x543ae6,_0x4017cb);function en(_0x24b9e5){var _0x3ef42f=_0x41545e;const {unitID:_0x25f220,mutations:_0xe78c41}=_0x24b9e5;return{'unitId':_0x25f220,'subUnitId':_0xe78c41[0x0]['params'][_0x3ef42f(0x2f3)]};}let it=class{constructor(_0x1e5b5b,_0x12ba80,_0x27c187){var _0x3eb548=_0x41545e;this['_injector']=_0x1e5b5b,this[_0x3eb548(0x3ac)]=_0x12ba80,this[_0x3eb548(0x33a)]=_0x27c187;}[_0x41545e(0x188)](_0x451393){var _0x424f90=_0x41545e,_0x3d6be2,_0x5886b7,_0x47afb4,_0x515bff;const _0x306352=this['_injector'][_0x424f90(0x393)](_0xb5c7c4),{unitId:_0x19cf77,subUnitId:_0x28b43e}=en(_0x451393),_0x26f1c8=_0x306352==null?void 0x0:_0x306352[_0x424f90(0x466)](_0x19cf77)['getCurrentSelections'](),_0x38d741=(_0x5886b7=(_0x3d6be2=this[_0x424f90(0x33a)][_0x424f90(0x311)](_0x19cf77))==null?void 0x0:_0x3d6be2[_0x424f90(0x2a0)]())==null?void 0x0:_0x5886b7['getSheetId']();if(_0x26f1c8[_0x424f90(0x2fa)]===0x0||!_0x19cf77||!_0x28b43e)return;const _0x550a6e=[{'id':_0x341123['id'],'params':{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x4c19fa[_0x424f90(0x408)](_0x26f1c8)}}],_0x3134ba=this[_0x424f90(0x3ac)][_0x424f90(0x254)](_0x451393,_0x550a6e);if(!_0x191540(_0x3134ba))throw _0x3134ba[_0x424f90(0x353)];const _0x38f40c=(_0x515bff=(_0x47afb4=_0x3134ba['m2Prime'][0x0])==null?void 0x0:_0x47afb4[_0x424f90(0x436)])==null?void 0x0:_0x515bff[_0x424f90(0x407)];if(Array['isArray'](_0x38f40c)&&_0x38f40c[_0x424f90(0x2fa)]){if(_0x38f40c[_0x424f90(0x2fa)]===_0x550a6e[0x0][_0x424f90(0x436)]['selections']['length']&&_0x38f40c[_0x424f90(0x3d8)]((_0x34dd7e,_0x2e8759)=>_0x807e68['equals'](_0x34dd7e['range'],_0x550a6e[0x0][_0x424f90(0x436)][_0x424f90(0x407)][_0x2e8759][_0x424f90(0x42e)])))return;this[_0x424f90(0x367)][_0x424f90(0x393)](_0x2c92b5)['executeCommand'](_0x341123['id'],{'unitId':_0x19cf77,'subUnitId':_0x38d741,'selections':_0x38f40c});}}};it=Qr([dt(0x0,_0x236453(_0x35ce09)),dt(0x1,_0x1335c8),dt(0x2,_0x214b6f)],it);const ht=_0x40779a(_0x41545e(0x3ed));var Ci=(_0x2282d0=>(_0x2282d0[_0x2282d0[_0x41545e(0x278)]=0x0]='NO_OTHER_CLIENTS_EDITING',_0x2282d0[_0x2282d0[_0x41545e(0x2c3)]=0x1]=_0x41545e(0x2c3),_0x2282d0))(Ci||{});const tn=new Set([_0x18838c['id']]);function qt(_0x34d845,_0x3214ee,_0x5887a5,_0x4a0bde,_0x313306){var _0x1f42cb=_0x41545e,_0x309ea2,_0x356635,_0x40414c,_0x208b49;const _0x1f2938=[];for(const _0x4f4190 of _0x34d845)if(tn['has'](_0x4f4190['id'])){if(_0x1f2938[_0x1f42cb(0x2fa)]>0x0)break;_0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);break;}else _0x1f2938[_0x1f42cb(0x22d)](_0x4f4190);const _0xee9ce=(_0x356635=(_0x309ea2=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x309ea2[_0x1f42cb(0x27d)])!=null?_0x356635:'unknown',_0x89bb40=(_0x208b49=(_0x40414c=_0x313306[_0x1f42cb(0x267)]())==null?void 0x0:_0x40414c[_0x1f42cb(0x381)])!=null?_0x208b49:'unknown';return{'changeset':{'unitID':_0x3214ee,'type':_0x221d05(_0x5887a5[_0x1f42cb(0x331)](_0x3214ee)),'baseRev':_0x4a0bde[_0x1f42cb(0x189)](_0x3214ee),'revision':0x0,'userID':_0xee9ce,'memberID':_0x89bb40,'mutations':_0x1f2938},'pendingMutations':_0x34d845['slice'](_0x1f2938[_0x1f42cb(0x2fa)])};}function rn(_0x167796,_0x594d74,_0x19326e,_0x273201,_0x586c36){var _0x3521fc=_0x41545e,_0x191f17,_0x2979ca,_0x543864,_0x3ecd80;const _0x3e9a0b=[_0x167796['reduce']((_0x4d00f6,_0x19f2ae)=>{var _0x5dc7a7=_0x5230,_0x2678da;const {id:_0x38c386}=_0x4d00f6,{id:_0x34f85f,type:_0xdfafe}=_0x19f2ae,_0x18bb7d=(_0x2678da=_0x4d00f6['params'])!=null?_0x2678da:{'actions':null},_0x51ee85=_0x19f2ae[_0x5dc7a7(0x436)];if(_0x38c386&&_0x38c386!==_0x34f85f)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x38c386+_0x5dc7a7(0x27e)+_0x34f85f+'.');return{..._0x4d00f6,'id':_0x34f85f,'type':_0xdfafe,'params':{'unitId':_0x51ee85[_0x5dc7a7(0x36d)],'textRanges':_0x51ee85[_0x5dc7a7(0x1cb)],'actions':_0x2b4183['compose'](_0x18bb7d[_0x5dc7a7(0x395)],_0x51ee85[_0x5dc7a7(0x395)])}};},{})],_0x118131=(_0x2979ca=(_0x191f17=_0x586c36['getCurrentUser']())==null?void 0x0:_0x191f17['userID'])!=null?_0x2979ca:'unknown',_0x1093f2=(_0x3ecd80=(_0x543864=_0x586c36[_0x3521fc(0x267)]())==null?void 0x0:_0x543864[_0x3521fc(0x381)])!=null?_0x3ecd80:_0x3521fc(0x462);return{'changeset':{'unitID':_0x594d74,'type':_0x221d05(_0x19326e['getUnitType'](_0x594d74)),'baseRev':_0x273201[_0x3521fc(0x189)](_0x594d74),'revision':0x0,'userID':_0x118131,'memberID':_0x1093f2,'mutations':_0x3e9a0b},'pendingMutations':[]};}function Ri(_0x15c45a,_0x4803a8){var _0x18cc4c=_0x41545e;const _0x36632e=new _0x4225a9(0x1);return setTimeout(()=>_0x36632e[_0x18cc4c(0x25e)](_0x4803a8),_0x15c45a),_0x36632e['asObservable']()[_0x18cc4c(0x30b)](_0x4774cb(0x1));}const nn={'id':_0x59316b['id'],'type':_0x36bcfe[_0x41545e(0x1fa)],'params':{}};var sn=Object['getOwnPropertyDescriptor'],Te=(_0x44d2fa,_0x4608d9,_0x439c56,_0x2de0ca)=>{var _0x4ce443=_0x41545e;for(var _0x2d7927=_0x2de0ca>0x1?void 0x0:_0x2de0ca?sn(_0x4608d9,_0x439c56):_0x4608d9,_0x1f3eb6=_0x44d2fa[_0x4ce443(0x2fa)]-0x1,_0x13b6f9;_0x1f3eb6>=0x0;_0x1f3eb6--)(_0x13b6f9=_0x44d2fa[_0x1f3eb6])&&(_0x2d7927=_0x13b6f9(_0x2d7927)||_0x2d7927);return _0x2d7927;},P=(_0x31c886,_0x47c082)=>(_0x41002d,_0x10228d)=>_0x47c082(_0x41002d,_0x10228d,_0x31c886),bi=(_0x40f609=>(_0x40f609[_0x41545e(0x195)]=_0x41545e(0x2ec),_0x40f609[_0x41545e(0x251)]=_0x41545e(0x260),_0x40f609['PENDING']=_0x41545e(0x38a),_0x40f609[_0x41545e(0x266)]=_0x41545e(0x3bb),_0x40f609[_0x41545e(0x34c)]=_0x41545e(0x42a),_0x40f609[_0x41545e(0x2dd)]=_0x41545e(0x346),_0x40f609[_0x41545e(0x2cb)]=_0x41545e(0x447),_0x40f609[_0x41545e(0x1ed)]='offline',_0x40f609))(bi||{});const yi=0xea60;class Ce{constructor(_0x210661,_0x18794d,_0x369e15,_0x838477,_0x1a6179,_0x4761c9,_0x362f17,_0x55eb81,_0x227feb){var _0x3690f4=_0x41545e;N(this,_0x3690f4(0x3bf),null),N(this,_0x3690f4(0x35a),[]),(this[_0x3690f4(0x25a)]=_0x210661,this['type']=_0x18794d,this['_handler']=_0x1a6179,this[_0x3690f4(0x396)]=_0x4761c9,this[_0x3690f4(0x253)]=_0x362f17,this['_revisionService']=_0x55eb81,this[_0x3690f4(0x3d9)]=_0x227feb,this[_0x3690f4(0x3bf)]=_0x369e15,this[_0x3690f4(0x35a)]=_0x838477);}[_0x41545e(0x211)](_0x2fda30){var _0x3b8a41=_0x41545e;const _0x31f9c3=this[_0x3b8a41(0x3ad)][_0x3b8a41(0x189)](this[_0x3b8a41(0x25a)]);return _0x2fda30[_0x3b8a41(0x2a2)]>_0x31f9c3+0x1?(this['_handler']['onMissingChangesets']({'from':_0x31f9c3,'to':_0x2fda30[_0x3b8a41(0x2a2)]-0x1}),!0x0):!0x1;}[_0x41545e(0x2c2)](_0x57e018){var _0x452043=_0x41545e;this['_undoRedoService'][_0x452043(0x29e)](this[_0x452043(0x25a)],_0x57e018);}[_0x41545e(0x43e)](_0x8bdaa9){var _0x2441b5=_0x41545e,_0x6d9a9c,_0x1968a6;(_0x1968a6=(_0x6d9a9c=this['_handler'])[_0x2441b5(0x2bc)])==null||_0x1968a6[_0x2441b5(0x33e)](_0x6d9a9c,_0x8bdaa9);}[_0x41545e(0x3de)](_0x14684b){var _0x41ad7a=_0x41545e,_0x124ec3,_0x15b2dc;return(_0x15b2dc=(_0x124ec3=this[_0x41ad7a(0x412)])['onTransformIME'])==null?void 0x0:_0x15b2dc[_0x41ad7a(0x33e)](_0x124ec3,_0x14684b);}['_transformStateCache'](_0x24857e){var _0x24a16d=_0x41545e,_0x4d4b5,_0x322337;return(_0x322337=(_0x4d4b5=this[_0x24a16d(0x412)])['onTransformState'])==null?void 0x0:_0x322337[_0x24a16d(0x33e)](_0x4d4b5,_0x24857e);}[_0x41545e(0x319)](_0x50e484){var _0x25a629=_0x41545e,_0x3bbdce,_0x8d1b56,_0x3585b4;return(_0x3585b4=(_0x8d1b56=(_0x3bbdce=this['_handler'])['onTransformRemoteChangesetByIMECache'])==null?void 0x0:_0x8d1b56[_0x25a629(0x33e)](_0x3bbdce,_0x50e484))!=null?_0x3585b4:_0x50e484;}[_0x41545e(0x2e7)](_0x72d35){var _0x4ba9e1=_0x41545e,_0x2101e6,_0x5ddf52,_0x2208fb;return(_0x2208fb=(_0x5ddf52=(_0x2101e6=this[_0x4ba9e1(0x412)])[_0x4ba9e1(0x3f2)])==null?void 0x0:_0x5ddf52[_0x4ba9e1(0x33e)](_0x2101e6,_0x72d35))!=null?_0x2208fb:_0x72d35;}[_0x41545e(0x2fc)](_0x58fe2b){var _0xb09758=_0x41545e,_0x1280fa,_0x3f7bef;if(this[_0xb09758(0x1b3)]===Q[_0xb09758(0x378)]){const {unitID:_0x33d4f7,mutations:_0x5192b4,memberID:_0x45cbcf}=_0x58fe2b,_0x620dbe=_0x5192b4[0x0]['params'][_0xb09758(0x1cb)];Array[_0xb09758(0x394)](_0x620dbe)&&_0x620dbe['length']>0x0&&((_0x3f7bef=(_0x1280fa=this[_0xb09758(0x412)])[_0xb09758(0x369)])==null||_0x3f7bef['call'](_0x1280fa,{'unitID':_0x33d4f7,'memberID':_0x45cbcf,'textRanges':_0x620dbe}));}}[_0x41545e(0x3e0)](){var _0x499ac2=_0x41545e,_0x288cf9;(_0x288cf9=this[_0x499ac2(0x3d9)])==null||_0x288cf9[_0x499ac2(0x36f)](this['unitID'],this[_0x499ac2(0x1b3)],this[_0x499ac2(0x3bf)],this[_0x499ac2(0x35a)]);}[_0x41545e(0x314)](){var _0x35a219=_0x41545e;return this[_0x35a219(0x3ad)][_0x35a219(0x189)](this[_0x35a219(0x25a)]);}[_0x41545e(0x2f6)](){var _0x3b8c5c=_0x41545e;this[_0x3b8c5c(0x3ad)][_0x3b8c5c(0x424)](this[_0x3b8c5c(0x25a)]);}[_0x41545e(0x3a4)](_0x5d6d9c){var _0xd8228=_0x41545e,_0x4a0433;let _0x5ddcf5=this[_0xd8228(0x319)](_0x5d6d9c);_0x5ddcf5=this[_0xd8228(0x2e7)](_0x5ddcf5);const _0x1917f9=_0xb3a7a3(_0x5ddcf5[_0xd8228(0x292)],this[_0xd8228(0x396)],{'fromCollab':!0x0});if(!_0x1917f9[_0xd8228(0x361)])throw _0x1917f9[_0xd8228(0x353)]instanceof Error?_0x1917f9[_0xd8228(0x353)]:new Error((_0x4a0433=_0x1917f9[_0xd8228(0x353)])!=null?_0x4a0433:_0xd8228(0x18b));this[_0xd8228(0x3de)](_0x5ddcf5),this[_0xd8228(0x1de)](_0x5ddcf5),this['_transformUndoredo'](_0x5d6d9c),this[_0xd8228(0x43e)](_0x5ddcf5),this[_0xd8228(0x2fc)](_0x5ddcf5),this[_0xd8228(0x2f6)]();}}let Ne=class extends Ce{constructor(_0x3679ab,_0x353131,_0x9ff16,_0x525dd8,_0x17f5eb,_0x296fc4,_0x45f9ef,_0x5aeb82,_0x576384,_0xfda6ea){var _0xaa641f=_0x41545e;super(_0x3679ab,_0x353131,null,[],_0x9ff16,_0x45f9ef,_0x296fc4,_0x525dd8,_0xfda6ea),N(this,_0xaa641f(0x244),_0xaa641f(0x260)),(this[_0xaa641f(0x367)]=_0x17f5eb,this[_0xaa641f(0x398)]=_0x5aeb82,this[_0xaa641f(0x3ac)]=_0x576384,this[_0xaa641f(0x2d3)]=_0xfda6ea);}[_0x41545e(0x45f)](_0x529b27){var _0x2d09c7=_0x41545e;const _0x160892=this[_0x2d09c7(0x367)][_0x2d09c7(0x34f)](oe,this[_0x2d09c7(0x25a)],this['type'],[_0x529b27],this[_0x2d09c7(0x412)]);return _0x160892[_0x2d09c7(0x2b5)](),_0x160892['_updateLocalCache'](),_0x160892;}['onRemoteChangeset'](_0x3a8464){var _0x2be838=_0x41545e;if(this[_0x2be838(0x211)](_0x3a8464))return this[_0x2be838(0x367)][_0x2be838(0x34f)](ee,this[_0x2be838(0x25a)],this[_0x2be838(0x1b3)],null,[],null,[_0x3a8464],this[_0x2be838(0x412)]);try{const _0x2ce957=this['_transformService'][_0x2be838(0x254)](_0x3a8464,[nn]);if(_0x191540(_0x2ce957)){const {c1Prime:_0x4bd2af}=_0x2ce957;return this[_0x2be838(0x3a4)](_0x4bd2af),this;}throw _0x2ce957[_0x2be838(0x353)];}catch(_0x57b99f){return this[_0x2be838(0x398)]['error'](_0x57b99f),this[_0x2be838(0x47f)](!0x1);}}['_onConflict'](_0x3882f9){var _0x164a52=_0x41545e;return this[_0x164a52(0x367)]['createInstance'](ue,this['unitID'],this[_0x164a52(0x1b3)],null,[],this[_0x164a52(0x412)],_0x3882f9);}[_0x41545e(0x3bd)](){var _0x3e1829=_0x41545e;throw new Error(_0x3e1829(0x223));}[_0x41545e(0x439)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){var _0x43bf1f=_0x41545e;return this[_0x43bf1f(0x367)]['createInstance'](de,this[_0x43bf1f(0x25a)],this[_0x43bf1f(0x1b3)],null,[],this[_0x43bf1f(0x412)]);}['toggleOnline'](){return this;}[_0x41545e(0x468)](){throw new Error('[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x3ff)](){var _0x44026a=_0x41545e;const _0x324a85=this[_0x44026a(0x3ad)][_0x44026a(0x189)](this['unitID']);return this[_0x44026a(0x412)][_0x44026a(0x1c7)]({'from':_0x324a85,'to':0x0}),this[_0x44026a(0x367)][_0x44026a(0x34f)](ee,this['unitID'],this[_0x44026a(0x1b3)],null,[],null,[],this['_handler']);}};Ne=Te([P(0x3,_0x236453(_0x4fea53)),P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x5a61a5),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x1d0f46(J))],Ne);let oe=class extends Ce{constructor(_0xbe8c55,_0x85e2e7,_0x411feb,_0x25a851,_0x4ec235,_0x199e0a,_0x13a237,_0x1c67f9,_0x364009,_0x2f8463,_0x113e43,_0x4e6cbc,_0x545b17,_0xf54904){var _0x4a95c5=_0x41545e;super(_0xbe8c55,_0x85e2e7,null,_0x411feb,_0x25a851,_0x364009,_0x545b17,_0x199e0a,_0xf54904),N(this,_0x4a95c5(0x244),_0x4a95c5(0x38a)),N(this,_0x4a95c5(0x1a9),null),N(this,_0x4a95c5(0x325),null),(this[_0x4a95c5(0x367)]=_0x4ec235,this['_memberService']=_0x13a237,this['_logService']=_0x1c67f9,this['_configService']=_0x2f8463,this['_transformService']=_0x113e43,this['_univerInstanceService']=_0x4e6cbc);}[_0x41545e(0x45f)](_0x155c41){var _0x17753d=_0x41545e;return this[_0x17753d(0x35a)]['push'](_0x155c41),this[_0x17753d(0x3e0)](),this;}['onRemoteChangeset'](_0x4bd393){var _0x25a99d=_0x41545e;if(this[_0x25a99d(0x211)](_0x4bd393))return this['_clearScheduledTask'](),this[_0x25a99d(0x367)]['createInstance'](ee,this[_0x25a99d(0x25a)],this['type'],null,this[_0x25a99d(0x35a)],null,[_0x4bd393],this[_0x25a99d(0x412)]);try{const _0x33f59d=this[_0x25a99d(0x3ac)][_0x25a99d(0x254)](_0x4bd393,this[_0x25a99d(0x35a)]);if(_0x191540(_0x33f59d)){const {c1Prime:_0x54ec93,m2Prime:_0x25cda2}=_0x33f59d;this[_0x25a99d(0x3a4)](_0x54ec93);const _0xc4ebca=this[_0x25a99d(0x367)][_0x25a99d(0x34f)](oe,this[_0x25a99d(0x25a)],this[_0x25a99d(0x1b3)],_0x25cda2,this[_0x25a99d(0x412)]);this[_0x25a99d(0x1bb)]();const _0x5a30cb=new Date()[_0x25a99d(0x414)](),_0x505505=this[_0x25a99d(0x1a9)]?Math[_0x25a99d(0x401)](this['_scheduleCompleteTimestamp']-_0x5a30cb,0x0):this[_0x25a99d(0x46b)]();return _0xc4ebca[_0x25a99d(0x2b5)](_0x505505),_0xc4ebca;}throw _0x33f59d[_0x25a99d(0x353)];}catch(_0x3fbad2){return this[_0x25a99d(0x398)][_0x25a99d(0x353)](_0x3fbad2),this[_0x25a99d(0x47f)](!0x1);}}[_0x41545e(0x3bd)](){var _0x1efba9=_0x41545e;throw new Error(_0x1efba9(0x41d));}[_0x41545e(0x439)](){var _0x26b442=_0x41545e;throw new Error(_0x26b442(0x437));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){var _0x1a09f1=_0x41545e;return this[_0x1a09f1(0x1bb)](),this[_0x1a09f1(0x367)]['createInstance'](de,this[_0x1a09f1(0x25a)],this[_0x1a09f1(0x1b3)],null,this[_0x1a09f1(0x35a)],this[_0x1a09f1(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x2b5)](_0x3be163){var _0x59b4c7=_0x41545e;const _0x227278=_0x3be163!=null?_0x3be163:this['_getSendChangesetTimeout']();this[_0x59b4c7(0x1a9)]=new Date()[_0x59b4c7(0x414)]()+_0x227278,this[_0x59b4c7(0x325)]=setTimeout(()=>{var _0x17214f=_0x59b4c7;this['_clearScheduledTask']();let _0x46c281=null;switch(this[_0x17214f(0x1b3)]){case Q[_0x17214f(0x1af)]:{_0x46c281=qt(this[_0x17214f(0x35a)],this[_0x17214f(0x25a)],this[_0x17214f(0x1f6)],this['_revisionService'],this['_memberService']);break;}case Q[_0x17214f(0x378)]:{this[_0x17214f(0x35a)]['every'](_0x5e45f7=>_0x5e45f7['id']===_0x1ba331['id'])?_0x46c281=rn(this[_0x17214f(0x35a)],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this['_memberService']):_0x46c281=qt(this['_pendingMutations'],this['unitID'],this[_0x17214f(0x1f6)],this[_0x17214f(0x3ad)],this[_0x17214f(0x29a)]);break;}default:throw new Error(_0x17214f(0x3f1)+this[_0x17214f(0x1b3)]+_0x17214f(0x45e));}const {changeset:_0x1e694b,pendingMutations:_0x19f0e5}=_0x46c281;this[_0x17214f(0x412)][_0x17214f(0x3c0)](_0x1e694b);const _0x1318a7=_0x19f0e5[_0x17214f(0x2fa)]?this[_0x17214f(0x367)][_0x17214f(0x34f)](ae,this[_0x17214f(0x25a)],this[_0x17214f(0x1b3)],_0x1e694b,_0x19f0e5,this['_handler'],void 0x0):this[_0x17214f(0x367)][_0x17214f(0x34f)](le,this[_0x17214f(0x25a)],this['type'],_0x1e694b,this[_0x17214f(0x412)]);_0x1318a7[_0x17214f(0x3e0)](),this[_0x17214f(0x412)][_0x17214f(0x364)](this,_0x1318a7);},_0x227278);}[_0x41545e(0x46b)](){var _0x10209e=_0x41545e,_0x1e7662;const _0x1af606=this['_configService'][_0x10209e(0x222)](q);return(_0x1e7662=_0x1af606==null?void 0x0:_0x1af606[_0x10209e(0x362)])!=null?_0x1e7662:Sr;}[_0x41545e(0x468)](){var _0x8b815e=_0x41545e;throw new Error(_0x8b815e(0x340));}[_0x41545e(0x1bb)](){var _0x905b07=_0x41545e;this[_0x905b07(0x325)]!=null&&(clearTimeout(this[_0x905b07(0x325)]),this[_0x905b07(0x325)]=null);}[_0x41545e(0x47f)](_0x39e1d6){var _0x5f410e=_0x41545e;return this[_0x5f410e(0x1bb)](),this[_0x5f410e(0x367)]['createInstance'](ue,this[_0x5f410e(0x25a)],this[_0x5f410e(0x1b3)],null,this[_0x5f410e(0x35a)],this[_0x5f410e(0x412)],_0x39e1d6);}};oe=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x236453(xe)),P(0x7,_0x5b92b1),P(0x8,_0x2c92b5),P(0x9,_0x34fb67),P(0xa,_0x1335c8),P(0xb,_0x214b6f),P(0xc,_0x5a61a5),P(0xd,_0x1d0f46(J))],oe);let le=class extends Ce{constructor(_0x2841ec,_0x419f24,_0x534c82,_0x539d94,_0x5a6153,_0x537c09,_0x3b1c6d,_0x1e7f63,_0x3a4f0a,_0x20af54,_0x6abeaf){var _0x5a95b4=_0x41545e;super(_0x2841ec,_0x419f24,_0x534c82,[],_0x539d94,_0x3b1c6d,_0x20af54,_0x537c09,_0x6abeaf),N(this,_0x5a95b4(0x244),_0x5a95b4(0x3bb)),N(this,_0x5a95b4(0x2d0),0x0),N(this,_0x5a95b4(0x2e1)),N(this,_0x5a95b4(0x227)),(this[_0x5a95b4(0x367)]=_0x5a6153,this[_0x5a95b4(0x398)]=_0x1e7f63,this[_0x5a95b4(0x3ac)]=_0x3a4f0a);}[_0x41545e(0x45f)](_0x234baf){var _0x3cb9bc=_0x41545e;this[_0x3cb9bc(0x1bb)]();const _0x333b95=this[_0x3cb9bc(0x367)]['createInstance'](ae,this[_0x3cb9bc(0x25a)],this[_0x3cb9bc(0x1b3)],this[_0x3cb9bc(0x3bf)],[_0x234baf],this[_0x3cb9bc(0x412)],this[_0x3cb9bc(0x2e1)]);return _0x333b95['_updateLocalCache'](),_0x333b95;}[_0x41545e(0x406)](_0x4f7e17){var _0x1dff99=_0x41545e;if(this[_0x1dff99(0x211)](_0x4f7e17))return this[_0x1dff99(0x1bb)](),this['_injector']['createInstance'](ee,this[_0x1dff99(0x25a)],this[_0x1dff99(0x1b3)],this[_0x1dff99(0x3bf)],[],null,[_0x4f7e17],this[_0x1dff99(0x412)]);try{const _0x47d1fe=this[_0x1dff99(0x3ac)][_0x1dff99(0x343)]([_0x4f7e17],[this[_0x1dff99(0x3bf)]],!0x1);if(_0xab296d(_0x47d1fe)){const {c1Prime:_0x19af60,c2Prime:_0x46b0c1}=_0x47d1fe;this[_0x1dff99(0x3a4)](_0x19af60[0x0]),_0x46b0c1[0x0][_0x1dff99(0x2b7)]=this[_0x1dff99(0x314)](),this[_0x1dff99(0x1bb)]();const _0x371e31=this[_0x1dff99(0x367)][_0x1dff99(0x34f)](le,this['unitID'],this['type'],_0x46b0c1[0x0],this[_0x1dff99(0x412)]);return _0x371e31['_updateLocalCache'](),_0x371e31;}return this['_onConflict'](!0x1);}catch(_0x3be83d){return this[_0x1dff99(0x398)][_0x1dff99(0x353)](_0x3be83d),this[_0x1dff99(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0xaf06b3){var _0x88bbef=_0x41545e;this[_0x88bbef(0x1bb)]();const _0xdd4015=this[_0x88bbef(0x3ad)][_0x88bbef(0x189)](this['unitID']);if(_0xaf06b3['revision']<_0xdd4015-0x1)return this;if(this[_0x88bbef(0x211)](_0xaf06b3))return this[_0x88bbef(0x367)][_0x88bbef(0x34f)](ee,this[_0x88bbef(0x25a)],this['type'],null,[],this[_0x88bbef(0x3bf)],[],this[_0x88bbef(0x412)]);this['_incrementRevisionNumber']();const _0x96b38e=this[_0x88bbef(0x367)]['createInstance'](Ne,this[_0x88bbef(0x25a)],this[_0x88bbef(0x1b3)],this[_0x88bbef(0x412)]);return _0x96b38e['_updateLocalCache'](),_0x96b38e;}[_0x41545e(0x439)](_0x56277b){var _0x229567=_0x41545e;return this[_0x229567(0x47f)](!!(_0x56277b!=null&&_0x56277b[_0x229567(0x3c5)]));}[_0x41545e(0x2ab)](_0x4ed98b){var _0x26e989=_0x41545e;return this['_resendTimeout']>yi?this[_0x26e989(0x429)]():(this[_0x26e989(0x2e1)]=Ri(this[_0x26e989(0x2d0)],{'timeout':this[_0x26e989(0x2d0)],'reqId':_0x4ed98b[_0x26e989(0x1e5)]}),this[_0x26e989(0x227)]=this['_resendTimer'][_0x26e989(0x40b)](({reqId:_0x256a29,timeout:_0x54d3dc})=>{var _0x32641c=_0x26e989;this[_0x32641c(0x294)](_0x256a29,_0x54d3dc);}),this);}['toggleOffline'](){var _0x3cc351=_0x41545e;return this['_clearScheduledTask'](),this[_0x3cc351(0x367)][_0x3cc351(0x34f)](de,this[_0x3cc351(0x25a)],this[_0x3cc351(0x1b3)],this['_awaitingChangeset'],[],this[_0x3cc351(0x412)]);}[_0x41545e(0x274)](){return this;}['resend'](){var _0x158097=_0x41545e;this['_handler'][_0x158097(0x3c0)](this[_0x158097(0x3bf)]);}[_0x41545e(0x47f)](_0x3e6f2e){var _0x7bcb4c=_0x41545e;return this[_0x7bcb4c(0x1bb)](),this[_0x7bcb4c(0x367)]['createInstance'](ue,this[_0x7bcb4c(0x25a)],this['type'],this[_0x7bcb4c(0x3bf)],[],this['_handler'],_0x3e6f2e);}['_resendWithTimeout'](_0x4312cb,_0x1c0c64){var _0x3889ce=_0x41545e,_0x1fe902;_0x4312cb===((_0x1fe902=this[_0x3889ce(0x3bf)])==null?void 0x0:_0x1fe902['reqId'])&&(this[_0x3889ce(0x468)](),this[_0x3889ce(0x2d0)]=_0x1c0c64===0x0?0x3e8:_0x1c0c64*0x2);}[_0x41545e(0x1bb)](){var _0x23c257=_0x41545e,_0x5b9dfb;(_0x5b9dfb=this[_0x23c257(0x227)])==null||_0x5b9dfb[_0x23c257(0x2ba)](),this[_0x23c257(0x2d0)]=0x0;}};le=Te([P(0x4,_0x236453(_0x35ce09)),P(0x5,_0x236453(_0x4fea53)),P(0x6,_0x2c92b5),P(0x7,_0x5b92b1),P(0x8,_0x1335c8),P(0x9,_0x5a61a5),P(0xa,_0x1d0f46(J))],le);let ae=class extends Ce{constructor(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0xb5fb03,_0x3fd19d,_0x34d1c4,_0x24cfab,_0xe54dc2,_0x2dabf6,_0x54c1f3,_0x1302f8){var _0x33907d=_0x41545e;super(_0x128611,_0xb61717,_0x3c4c18,_0x406fd9,_0x39bed8,_0x24cfab,_0x54c1f3,_0x34d1c4,_0x1302f8),N(this,_0x33907d(0x244),_0x33907d(0x42a)),N(this,_0x33907d(0x2d0),0x0),N(this,_0x33907d(0x2e1)),N(this,'_sender'),(this[_0x33907d(0x367)]=_0x3fd19d,this[_0x33907d(0x398)]=_0xe54dc2,this[_0x33907d(0x3ac)]=_0x2dabf6,this[_0x33907d(0x2d3)]=_0x1302f8,_0xb5fb03&&(this[_0x33907d(0x2e1)]=_0xb5fb03,this['_sender']=this['_resendTimer'][_0x33907d(0x40b)](({reqId:_0x3cea02,timeout:_0xb11ec6})=>{var _0x25384f=_0x33907d;this[_0x25384f(0x294)](_0x3cea02,_0xb11ec6);})));}[_0x41545e(0x45f)](_0x20ffd1){var _0x4d5832=_0x41545e;return this[_0x4d5832(0x35a)][_0x4d5832(0x22d)](_0x20ffd1),this;}['onRemoteChangeset'](_0x1bffb8){var _0x9dd06c=_0x41545e;if(this[_0x9dd06c(0x211)](_0x1bffb8))return this['_clearScheduledTask'](),this['_injector']['createInstance'](ee,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],this[_0x9dd06c(0x3bf)],this[_0x9dd06c(0x35a)],null,[_0x1bffb8],this[_0x9dd06c(0x412)]);try{const _0x10fbfb=this['_transformService'][_0x9dd06c(0x343)]([_0x1bffb8],[this[_0x9dd06c(0x3bf)]],!0x1);if(_0xab296d(_0x10fbfb)){const {c1Prime:_0x428242,c2Prime:_0x3dfbb0}=_0x10fbfb,_0x1eedb8=this[_0x9dd06c(0x3ac)]['transformMutationsWithChangeset'](_0x428242[0x0],this[_0x9dd06c(0x35a)]);if(_0x191540(_0x1eedb8)){const {c1Prime:_0x3a8f2a,m2Prime:_0x3313de}=_0x1eedb8;return this[_0x9dd06c(0x3a4)](_0x3a8f2a),_0x3dfbb0[0x0][_0x9dd06c(0x2b7)]=this[_0x9dd06c(0x314)](),this[_0x9dd06c(0x1bb)](),this[_0x9dd06c(0x367)][_0x9dd06c(0x34f)](ae,this[_0x9dd06c(0x25a)],this[_0x9dd06c(0x1b3)],_0x3dfbb0[0x0],_0x3313de,this['_handler'],void 0x0);}throw _0x1eedb8[_0x9dd06c(0x353)];}throw _0x10fbfb[_0x9dd06c(0x353)];}catch(_0x22f66a){return this[_0x9dd06c(0x398)][_0x9dd06c(0x353)](_0x22f66a),this[_0x9dd06c(0x47f)](!0x1);}}[_0x41545e(0x3bd)](_0x3cce9d){var _0x1eb1a7=_0x41545e;if(this[_0x1eb1a7(0x1bb)](),this[_0x1eb1a7(0x211)](_0x3cce9d))return this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](ee,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],null,this[_0x1eb1a7(0x35a)],this[_0x1eb1a7(0x3bf)],[],this[_0x1eb1a7(0x412)]);this['_incrementRevisionNumber']();const _0x5bdfbd=this[_0x1eb1a7(0x367)][_0x1eb1a7(0x34f)](oe,this[_0x1eb1a7(0x25a)],this[_0x1eb1a7(0x1b3)],this['_pendingMutations'],this[_0x1eb1a7(0x412)]);return _0x5bdfbd['_schedule'](),_0x5bdfbd[_0x1eb1a7(0x3e0)](),_0x5bdfbd;}[_0x41545e(0x439)](_0x271f5d){var _0x121c39=_0x41545e;return this['_onConflict'](!!(_0x271f5d!=null&&_0x271f5d[_0x121c39(0x3c5)]));}[_0x41545e(0x2ab)](_0x1651f6){var _0x51bf7c=_0x41545e;return this[_0x51bf7c(0x2d0)]>yi?this['toggleOffline']():(this[_0x51bf7c(0x2e1)]=Ri(this[_0x51bf7c(0x2d0)],{'timeout':this[_0x51bf7c(0x2d0)],'reqId':_0x1651f6['reqId']}),this['_sender']=this[_0x51bf7c(0x2e1)][_0x51bf7c(0x40b)](({reqId:_0x721291,timeout:_0x4ad0fe})=>{var _0x438d35=_0x51bf7c;this[_0x438d35(0x294)](_0x721291,_0x4ad0fe);}),this);}[_0x41545e(0x429)](){var _0x466217=_0x41545e;return this[_0x466217(0x1bb)](),this['_injector']['createInstance'](de,this['unitID'],this['type'],this[_0x466217(0x3bf)],this[_0x466217(0x35a)],this[_0x466217(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){var _0x42582e=_0x41545e;this[_0x42582e(0x412)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x41545e(0x47f)](_0x43a90f){var _0x576c71=_0x41545e;return this['_clearScheduledTask'](),this[_0x576c71(0x367)][_0x576c71(0x34f)](ue,this[_0x576c71(0x25a)],this['type'],null,this[_0x576c71(0x35a)],this[_0x576c71(0x412)],_0x43a90f);}[_0x41545e(0x294)](_0x2342c3,_0x1040f1){var _0x4fde51=_0x41545e,_0x1a8829;_0x2342c3===((_0x1a8829=this['_awaitingChangeset'])==null?void 0x0:_0x1a8829['reqId'])&&(this[_0x4fde51(0x468)](),this['_resendTimeout']=_0x1040f1===0x0?0x3e8:_0x1040f1*0x2);}[_0x41545e(0x1bb)](){var _0x5b6d72=_0x41545e,_0x53b479;(_0x53b479=this[_0x5b6d72(0x227)])==null||_0x53b479['unsubscribe'](),this[_0x5b6d72(0x2d0)]=0x0;}};ae=Te([P(0x6,_0x236453(_0x35ce09)),P(0x7,_0x236453(_0x4fea53)),P(0x8,_0x2c92b5),P(0x9,_0x5b92b1),P(0xa,_0x1335c8),P(0xb,_0x5a61a5),P(0xc,_0x1d0f46(J))],ae);let ue=class extends Ce{constructor(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x3b4791=!0x1,_0x4c8eaf,_0x461dc9,_0x216fd5,_0x47a199,_0x3c3b5c,_0x13840f,_0x14052c){var _0x1a1168=_0x41545e;super(_0x5bde95,_0x5083ec,_0x34eee9,_0x2423aa,_0x51e809,_0x461dc9,_0x216fd5,_0x47a199,_0x14052c),N(this,_0x1a1168(0x244),_0x1a1168(0x447)),(this['_isPermissionRej']=_0x3b4791,this['_permissionService']=_0x4c8eaf,this[_0x1a1168(0x357)]=_0x3c3b5c,this[_0x1a1168(0x1ae)]=_0x13840f,this[_0x1a1168(0x2d3)]=_0x14052c,this[_0x1a1168(0x204)](),this[_0x1a1168(0x38f)](),this[_0x1a1168(0x44b)]());}['appendMutation'](){return this;}[_0x41545e(0x406)](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x41545e(0x2ab)](){return this;}['toggleOffline'](){return this;}[_0x41545e(0x274)](){return this;}[_0x41545e(0x468)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x41545e(0x38f)](){var _0x1ec1f9=_0x41545e,_0x52c967;(_0x52c967=this[_0x1ec1f9(0x3d9)])==null||_0x52c967[_0x1ec1f9(0x36f)](this['unitID'],this[_0x1ec1f9(0x1b3)],null,[]);}['_showConflictNotification'](){var _0x422736=_0x41545e;this[_0x422736(0x1d5)]?this['_collaborationUIEventService'][_0x422736(0x24f)]({'id':se[_0x422736(0x2b0)]}):this[_0x422736(0x1ae)]['emitEvent']({'id':se[_0x422736(0x2cb)]});}[_0x41545e(0x44b)](){var _0x4380f4=_0x41545e;this[_0x4380f4(0x26c)][_0x4380f4(0x3e8)](new _0xeafda4(this[_0x4380f4(0x25a)])['id'],!0x1);}};ue=Te([P(0x6,_0x236453(_0x4da13f)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x236453(_0x4fea53)),P(0xa,_0x236453(_0xa17142)),P(0xb,_0x236453(pe)),P(0xc,_0x1d0f46(J))],ue);let de=class extends Ce{constructor(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x50bd44,_0xd215cb,_0x207e1a,_0x2e6c8a,_0x40ab80){var _0x40ec3a=_0x41545e;super(_0x2f5b6f,_0x47acd3,_0x497b88,_0x246ffb,_0x4025fb,_0x207e1a,_0x2e6c8a,_0xd215cb,_0x40ab80),N(this,_0x40ec3a(0x244),'offline'),this[_0x40ec3a(0x367)]=_0x50bd44;}[_0x41545e(0x45f)](_0x149c35){return this['_pendingMutations']['push'](_0x149c35),this['_updateLocalCache'](),this;}[_0x41545e(0x406)](_0x59d620){var _0x52c22a=_0x41545e;throw new Error(_0x52c22a(0x3be));}['onRemoteAck'](){var _0x1e97be=_0x41545e;throw new Error(_0x1e97be(0x47c));}[_0x41545e(0x439)](){var _0x434f2c=_0x41545e;throw new Error(_0x434f2c(0x1aa));}[_0x41545e(0x2ab)](){return this;}[_0x41545e(0x429)](){return this;}[_0x41545e(0x274)](){var _0x32d784=_0x41545e;const {_injector:_0xb8afb4,_pendingMutations:_0x6762c4,_awaitingChangeset:_0x213c39,unitID:_0x4155d9,_handler:_0x158d80,type:_0x23125d}=this,_0x4344e6=Oi(_0xb8afb4,_0x4155d9,_0x23125d,_0x213c39,_0x6762c4,_0x158d80);return _0x4344e6 instanceof oe?_0x4344e6[_0x32d784(0x2b5)]():(_0x4344e6 instanceof ae||_0x4344e6 instanceof le)&&_0x4344e6[_0x32d784(0x468)](),_0x4344e6;}[_0x41545e(0x468)](){var _0x4e9b1d=_0x41545e;throw new Error(_0x4e9b1d(0x35f));}};de=Te([P(0x5,_0x236453(_0x35ce09)),P(0x6,_0x236453(_0x4fea53)),P(0x7,_0x2c92b5),P(0x8,_0x5a61a5),P(0x9,_0x1d0f46(J))],de);let ee=class extends Ce{constructor(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x5bab83,_0x48ed4b,_0x90ec6e,_0x18456e,_0x55ecfb,_0x3595ff,_0x89ade2,_0x351df2,_0x37f892,_0x14526c){var _0x5b77cf=_0x41545e;super(_0x3a4bc1,_0x49d0a0,_0x281dc0,_0x51cbce,_0x90ec6e,_0x89ade2,_0x351df2,_0x55ecfb,_0x14526c),N(this,_0x5b77cf(0x244),_0x5b77cf(0x346)),(this['_acknowledgedAwaitingChangeset']=_0x5bab83,this['_queuedRemoteChangesets']=_0x48ed4b,this[_0x5b77cf(0x367)]=_0x18456e,this[_0x5b77cf(0x398)]=_0x3595ff,this[_0x5b77cf(0x3ac)]=_0x37f892,this[_0x5b77cf(0x2d3)]=_0x14526c);}[_0x41545e(0x252)](_0x3975a9){var _0x301856=_0x41545e;try{const _0x15bc81=[..._0x3975a9,...this[_0x301856(0x473)]],_0x51dee5=[this[_0x301856(0x3bf)]||this['_acknowledgedAwaitingChangeset']][_0x301856(0x38c)](_0x4b0044=>!!_0x4b0044);let _0x38fc38,_0x4307b3;if(_0x51dee5['length']){const _0x340572=this[_0x301856(0x3ac)][_0x301856(0x343)](_0x15bc81,_0x51dee5,!0x1);if(!_0xab296d(_0x340572))throw _0x340572['error'];_0x38fc38=_0x340572['c1Prime'],_0x4307b3=_0x340572[_0x301856(0x21b)];}else _0x38fc38=_0x15bc81,_0x4307b3=[];let _0x8b0481=this[_0x301856(0x35a)];_0x38fc38[_0x301856(0x1d8)](_0x4d8e97=>{var _0x1eeb3d=_0x301856;let _0xd27e74;if(_0x8b0481[_0x1eeb3d(0x2fa)]){const _0x5a839b=this[_0x1eeb3d(0x3ac)]['transformMutationsWithChangeset'](_0x4d8e97,_0x8b0481);if(!_0x191540(_0x5a839b))throw _0x5a839b['error'];_0xd27e74=_0x5a839b[_0x1eeb3d(0x3e1)],_0x8b0481=_0x5a839b[_0x1eeb3d(0x379)];}else _0xd27e74=_0x4d8e97;this[_0x1eeb3d(0x3a4)](_0xd27e74);}),this[_0x301856(0x187)]&&this[_0x301856(0x2f6)](),this[_0x301856(0x3bf)]&&_0x4307b3[_0x301856(0x2fa)]&&(_0x4307b3[0x0][_0x301856(0x2b7)]=this['_getCurrentRevision']());let _0x43f22f;if(this[_0x301856(0x3bf)]&&_0x8b0481[_0x301856(0x2fa)]!==0x0)_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](ae,this[_0x301856(0x25a)],this['type'],_0x4307b3[0x0],_0x8b0481,this[_0x301856(0x412)],void 0x0);else{if(this['_awaitingChangeset']&&_0x8b0481[_0x301856(0x2fa)]===0x0)_0x4307b3[0x0][_0x301856(0x2b7)]=this[_0x301856(0x314)](),_0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](le,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x4307b3[0x0],this[_0x301856(0x412)]);else{if(_0x8b0481[_0x301856(0x2fa)]!==0x0){const _0x1e2e10=this['_injector'][_0x301856(0x34f)](oe,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],_0x8b0481,this['_handler']);_0x1e2e10['_schedule'](),_0x43f22f=_0x1e2e10;}else _0x43f22f=this[_0x301856(0x367)][_0x301856(0x34f)](Ne,this[_0x301856(0x25a)],this['type'],this[_0x301856(0x412)]);}}return _0x43f22f[_0x301856(0x3e0)](),_0x43f22f;}catch(_0x420deb){return this['_logService'][_0x301856(0x353)](_0x301856(0x199),'failed\x20to\x20apply\x20missed\x20changesets!',_0x420deb),this['_injector'][_0x301856(0x34f)](ue,this[_0x301856(0x25a)],this[_0x301856(0x1b3)],this[_0x301856(0x3bf)],this[_0x301856(0x35a)],this['_handler'],!0x1);}}[_0x41545e(0x468)](){var _0x2b195f=_0x41545e;throw new Error(_0x2b195f(0x427));}[_0x41545e(0x45f)](_0x46452b){var _0x56d77f=_0x41545e;return this[_0x56d77f(0x35a)][_0x56d77f(0x22d)](_0x46452b),this;}['onRemoteChangeset'](_0x23174){var _0x3c1e5e=_0x41545e;return this[_0x3c1e5e(0x473)][_0x3c1e5e(0x22d)](_0x23174),this;}[_0x41545e(0x3bd)](_0x5c930f){var _0x3efbcf=_0x41545e;if(this[_0x3efbcf(0x3bf)])return this[_0x3efbcf(0x187)]=this[_0x3efbcf(0x3bf)],this['_awaitingChangeset']=null,this;throw new Error(_0x3efbcf(0x30c));}[_0x41545e(0x439)](_0x5c6151){var _0x1ba752=_0x41545e;return this[_0x1ba752(0x47f)](!!(_0x5c6151!=null&&_0x5c6151[_0x1ba752(0x3c5)]));}['onRemoteRetry'](){return this;}[_0x41545e(0x429)](){var _0x1d135c=_0x41545e;return this['_injector'][_0x1d135c(0x34f)](de,this[_0x1d135c(0x25a)],this[_0x1d135c(0x1b3)],this['_awaitingChangeset'],this['_pendingMutations'],this[_0x1d135c(0x412)]);}[_0x41545e(0x274)](){return this;}[_0x41545e(0x47f)](_0x564646){var _0x5bef30=_0x41545e;return this[_0x5bef30(0x367)][_0x5bef30(0x34f)](ue,this[_0x5bef30(0x25a)],this['type'],this[_0x5bef30(0x3bf)],this[_0x5bef30(0x35a)],this['_handler'],_0x564646);}};ee=Te([P(0x7,_0x236453(_0x35ce09)),P(0x8,_0x236453(_0x4fea53)),P(0x9,_0x5b92b1),P(0xa,_0x2c92b5),P(0xb,_0x5a61a5),P(0xc,_0x1335c8),P(0xd,_0x1d0f46(J))],ee);function Oi(_0x1162e6,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534){var _0x4587b3=_0x41545e;return _0x5bc1e4&&_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](ae,_0x5e53da,_0x299d51,_0x5bc1e4,_0x237a76,_0x9e9534,void 0x0):_0x5bc1e4?_0x1162e6['createInstance'](le,_0x5e53da,_0x299d51,_0x5bc1e4,_0x9e9534):_0x237a76[_0x4587b3(0x2fa)]?_0x1162e6[_0x4587b3(0x34f)](oe,_0x5e53da,_0x299d51,_0x237a76,_0x9e9534):_0x1162e6[_0x4587b3(0x34f)](Ne,_0x5e53da,_0x299d51,_0x9e9534);}var on=Object[_0x41545e(0x271)],xt=(_0x2b8fd0,_0x593a50,_0x498791,_0x2a0a55)=>{var _0x2c178f=_0x41545e;for(var _0x59b973=_0x2a0a55>0x1?void 0x0:_0x2a0a55?on(_0x593a50,_0x498791):_0x593a50,_0x46b67b=_0x2b8fd0[_0x2c178f(0x2fa)]-0x1,_0x239761;_0x46b67b>=0x0;_0x46b67b--)(_0x239761=_0x2b8fd0[_0x46b67b])&&(_0x59b973=_0x239761(_0x59b973)||_0x59b973);return _0x59b973;},H=(_0x15045f,_0x52d66a)=>(_0x2f68aa,_0x54ba7b)=>_0x52d66a(_0x2f68aa,_0x54ba7b,_0x15045f);let rt=class extends _0x433c2f{constructor(_0x2762a8,_0x424aeb,_0x48372e,_0x10187c,_0x2ed847,_0x475315,_0x395f0d,_0x548bfe,_0xea1ba8,_0x11a622,_0x28f7fc,_0xa32a08,_0x21bb83){var _0x3fe557=_0x41545e;super(),N(this,_0x3fe557(0x308),new _0x48d6f2(null)),N(this,_0x3fe557(0x31b),this['_state$'][_0x3fe557(0x38e)]()),N(this,_0x3fe557(0x465)),N(this,_0x3fe557(0x421),!0x1),N(this,_0x3fe557(0x1ff),''),N(this,_0x3fe557(0x1d6),0x0),N(this,'status$',this[_0x3fe557(0x31b)]['pipe'](_0x5c7050(_0x50cc01=>_0x50cc01?_0x50cc01[_0x3fe557(0x244)]:bi[_0x3fe557(0x1ed)]),_0x351670(0x1))),N(this,'_transitionLocked',!0x1),N(this,'_remoteChangesetQueue',[]),(this[_0x3fe557(0x25a)]=_0x2762a8,this['session']=_0x424aeb,this[_0x3fe557(0x3cf)]=_0x48372e,this[_0x3fe557(0x367)]=_0x10187c,this[_0x3fe557(0x2ad)]=_0x2ed847,this[_0x3fe557(0x357)]=_0x475315,this['_revisionService']=_0x395f0d,this[_0x3fe557(0x2f9)]=_0x548bfe,this[_0x3fe557(0x398)]=_0xea1ba8,this[_0x3fe557(0x396)]=_0x11a622,this['_permissionService']=_0x28f7fc,this[_0x3fe557(0x3b3)]=_0xa32a08,this[_0x3fe557(0x3d9)]=_0x21bb83);}get['state'](){var _0x560f33=_0x41545e;return this[_0x560f33(0x465)];}async['init'](){var _0x28597e=_0x41545e;if(this[_0x28597e(0x2a7)])throw new Error(_0x28597e(0x2be));await this['_init']();}['pauseCollaboration'](){return this['_collaborationPaused']=!0x0,_0x1a739e(()=>{var _0x2c9065=_0x5230;this['_collaborationPaused']=!0x1,this[_0x2c9065(0x2d7)]();});}['onLocalMutation'](_0x1e648a){var _0x3c01eb=_0x41545e;this[_0x3c01eb(0x3cc)](_0x1e648a);}['_updateState'](_0x2ce4cc){var _0x229796=_0x41545e;this[_0x229796(0x465)]=_0x2ce4cc,this['_state$'][_0x229796(0x25e)](_0x2ce4cc);}async[_0x41545e(0x397)](){var _0x3ab50c=_0x41545e,_0x54a1d1;this[_0x3ab50c(0x1dd)](await this[_0x3ab50c(0x24b)]()),this['_singleActiveUnitService']&&((_0x54a1d1=this[_0x3ab50c(0x3b3)])==null||_0x54a1d1['editingUnit'](this[_0x3ab50c(0x25a)]),this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x3b3)][_0x3ab50c(0x31d)](this['unitID'])[_0x3ab50c(0x40b)](_0x5887c8=>{var _0x1e8651=_0x3ab50c;this['_logService']['debug'](_0x1e8651(0x354),_0x1e8651(0x3a0),_0x5887c8),_0x5887c8===Ci[_0x1e8651(0x2c3)]?(this[_0x1e8651(0x2f9)]['emitEvent']({'id':se['OTHER_CLIENT_EDITING']}),this[_0x1e8651(0x26c)][_0x1e8651(0x3e8)](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x1),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new _0xeafda4(this[_0x1e8651(0x25a)])['id'],!0x0),this[_0x1e8651(0x26c)][_0x1e8651(0x28f)](!0x0));})));let _0x1df30b=!0x1;return this[_0x3ab50c(0x41a)](this[_0x3ab50c(0x1a6)][_0x3ab50c(0x1d2)][_0x3ab50c(0x40b)](_0x5df5ef=>{var _0x59f815=_0x3ab50c;_0x5df5ef===Ee[_0x59f815(0x280)]?this[_0x59f815(0x26a)](_0x1df30b):_0x5df5ef===Ee[_0x59f815(0x1ed)]&&(_0x1df30b=!0x0,this[_0x59f815(0x26b)]());})),this['disposeWithMe'](this[_0x3ab50c(0x1a6)]['event$'][_0x3ab50c(0x40b)](_0x1ad99f=>{var _0x25ade5=_0x3ab50c;try{switch(_0x1ad99f[_0x25ade5(0x44a)]){case _0x5cfd61[_0x25ade5(0x33b)]:{this['_onRemoteChangeset'](_0x2cacbb(_0x1ad99f[_0x25ade5(0x226)]));break;}case _0x5cfd61[_0x25ade5(0x3df)]:{this[_0x25ade5(0x1cc)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x3a6)]:{this[_0x25ade5(0x22b)]();break;}case _0x5cfd61['CHANGESET_SHOULD_RETRY']:{this[_0x25ade5(0x3af)](_0x1ad99f[_0x25ade5(0x226)]);break;}case _0x5cfd61[_0x25ade5(0x1d9)]:{this['_onFetchMissResult'](_0x1ad99f['data']['changesets'][_0x25ade5(0x400)](_0x4f2138=>_0x2cacbb(_0x4f2138)));break;}case _0x5cfd61[_0x25ade5(0x255)]:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x5cfd61[_0x25ade5(0x1d4)]:break;}}catch(_0x10f840){throw console['error']('Error\x20on\x20receiving\x20event',_0x10f840),_0x10f840;}})),this[_0x3ab50c(0x465)];}[_0x41545e(0x2b8)](){var _0x14653e=_0x41545e;this[_0x14653e(0x417)]=!0x1;}['_lockTransition'](){var _0x2beee6=_0x41545e;if(this[_0x2beee6(0x417)])throw new Error(_0x2beee6(0x1f9));this[_0x2beee6(0x417)]=!0x0;}[_0x41545e(0x3cc)](_0x5b1566){var _0x520a3c=_0x41545e;this[_0x520a3c(0x217)](),this[_0x520a3c(0x1dd)](this[_0x520a3c(0x465)][_0x520a3c(0x45f)](_0x5b1566)),this[_0x520a3c(0x2b8)]();}[_0x41545e(0x445)](_0x382b23){var _0xac10d2=_0x41545e;if(!(_0x382b23[_0xac10d2(0x2a2)]<=this[_0xac10d2(0x3ad)]['getCurrentRevOfUnit'](this[_0xac10d2(0x25a)]))){if(this[_0xac10d2(0x421)]){this['_remoteChangesetQueue']['push'](_0x382b23);return;}this['_applyRemoteChangeset'](_0x382b23);}}[_0x41545e(0x2d7)](){var _0x72db=_0x41545e;this[_0x72db(0x37e)][_0x72db(0x1d8)](_0x55021d=>this[_0x72db(0x256)](_0x55021d)),this[_0x72db(0x37e)]=[];}[_0x41545e(0x256)](_0x1570c2){var _0x3ed476=_0x41545e;const _0x232443=this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)][_0x3ed476(0x419)](this[_0x3ed476(0x2ad)][_0x3ed476(0x3b4)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x1570c2[_0x3ed476(0x292)],null)||_0x1570c2[_0x3ed476(0x292)],_0x4b6aa7={..._0x1570c2,'mutations':_0x232443};this[_0x3ed476(0x217)](),this[_0x3ed476(0x1dd)](this['_state']['onRemoteChangeset'](_0x4b6aa7)),this['_unlockTransition']();}[_0x41545e(0x1cc)](_0x250371){var _0x6d1992=_0x41545e;this[_0x6d1992(0x217)](),this[_0x6d1992(0x1dd)](this[_0x6d1992(0x465)][_0x6d1992(0x3bd)](_0x250371)),this[_0x6d1992(0x2b8)]();}[_0x41545e(0x22b)](_0x2d11de){var _0x1f199d=_0x41545e;this[_0x1f199d(0x217)](),this['_updateState'](this[_0x1f199d(0x465)][_0x1f199d(0x439)](_0x2d11de)),this[_0x1f199d(0x2b8)]();}['_onRemoteRetry'](_0x2b23d9){var _0x1d2f55=_0x41545e;this[_0x1d2f55(0x217)](),this[_0x1d2f55(0x1dd)](this[_0x1d2f55(0x465)]['onRemoteRetry'](_0x2b23d9)),this[_0x1d2f55(0x2b8)]();}[_0x41545e(0x403)](_0x3e03e4){var _0x44cbb7=_0x41545e;if(!(this['_state']instanceof ee))throw new TypeError(_0x44cbb7(0x344));const _0x21ad04=_0x3e03e4[_0x44cbb7(0x400)](_0x307a0e=>{var _0x24a95f=_0x44cbb7;const _0x2c122e=this['_compressMutationService'][_0x24a95f(0x3b4)][_0x24a95f(0x419)](this[_0x24a95f(0x2ad)][_0x24a95f(0x3b4)][_0x24a95f(0x47a)]()[_0x24a95f(0x2d9)])(_0x307a0e[_0x24a95f(0x292)],null)||_0x307a0e[_0x24a95f(0x292)];return{..._0x307a0e,'mutations':_0x2c122e};});this[_0x44cbb7(0x217)](),this['_updateState'](this[_0x44cbb7(0x465)][_0x44cbb7(0x252)](_0x21ad04)),this[_0x44cbb7(0x2b8)]();}[_0x41545e(0x26b)](){var _0x1070ad=_0x41545e;this[_0x1070ad(0x217)](),this['_updateState'](this['_state'][_0x1070ad(0x429)]()),this[_0x1070ad(0x2b8)]();}[_0x41545e(0x26a)](_0x1b3b71=!0x1){var _0x2a2834=_0x41545e;this[_0x2a2834(0x217)](),this[_0x2a2834(0x1dd)](this[_0x2a2834(0x465)][_0x2a2834(0x274)]()),this[_0x2a2834(0x2b8)]();const _0xe99ba4=this[_0x2a2834(0x465)];_0x1b3b71&&_0xe99ba4 instanceof Ne&&(this[_0x2a2834(0x217)](),this['_updateState'](_0xe99ba4['fetchMiss']()),this[_0x2a2834(0x2b8)]());}async['_createInitialState'](){return new Promise(_0x1ff691=>{var _0x3994b6=_0x5230;this[_0x3994b6(0x1a6)][_0x3994b6(0x1d2)]['pipe'](_0x4774cb(0x1))[_0x3994b6(0x40b)](async _0x3354a9=>{var _0x3342c8=_0x3994b6;_0x1ff691(await this[_0x3342c8(0x1c2)](_0x3354a9===Ee[_0x3342c8(0x280)]));});});}[_0x41545e(0x448)](){const _0x4f3e1e=this['unitID'];return{'onStateChange':(_0x4607b5,_0x214d8f)=>{var _0x2d9392=_0x5230;if(_0x4607b5!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x4607b5[_0x2d9392(0x244)]+_0x2d9392(0x43d)+_0x214d8f[_0x2d9392(0x244)]+_0x2d9392(0x2cd)+this[_0x2d9392(0x465)][_0x2d9392(0x244)]);this['_updateState'](_0x214d8f);},'onSendChangeset':_0x31718d=>{var _0x44a6ab=_0x5230;_0x31718d['sid']||(_0x31718d[_0x44a6ab(0x363)]=this[_0x44a6ab(0x1ff)],_0x31718d['reqId']=++this[_0x44a6ab(0x1d6)]);const _0x4ee0eb={'eventID':_0x5cfd61[_0x44a6ab(0x339)],'data':{'unitID':_0x31718d[_0x44a6ab(0x25a)],'unitType':this['_type'],'changeset':_0x31718d,'memberID':this[_0x44a6ab(0x1a6)]['getMemberID']()}};this[_0x44a6ab(0x1a6)][_0x44a6ab(0x24c)](_0x4ee0eb,this[_0x44a6ab(0x25a)]);},'onMissingChangesets':({from:_0x4ee626,to:_0x31a1ef})=>{var _0xb7cae8=_0x5230;this['_logService']['debug'](_0xb7cae8(0x354),_0xb7cae8(0x477)+_0x4ee626+_0xb7cae8(0x40a)+_0x31a1ef);const _0x55f064={'eventID':_0x5cfd61[_0xb7cae8(0x39c)],'data':{'unitID':_0x4f3e1e,'unitType':this[_0xb7cae8(0x3cf)],'from':_0x4ee626,'to':_0x31a1ef}};this[_0xb7cae8(0x1a6)][_0xb7cae8(0x24c)](_0x55f064,this['unitID']);}};}async[_0x41545e(0x1c2)](_0xe733b4){var _0x11c8ef=_0x41545e,_0x2246b0,_0x578816,_0x48c387;const _0x3c9e6a=await((_0x2246b0=this['_localCacheService'])==null?void 0x0:_0x2246b0['loadOfflineData'](this[_0x11c8ef(0x25a)])),_0x13ab7d=(_0x578816=_0x3c9e6a==null?void 0x0:_0x3c9e6a['mutations'])!=null?_0x578816:[],_0xdb00c7=(_0x48c387=_0x3c9e6a==null?void 0x0:_0x3c9e6a[_0x11c8ef(0x279)])!=null?_0x48c387:null,_0x409467=!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x363)])&&!!(_0xdb00c7!=null&&_0xdb00c7[_0x11c8ef(0x1e5)]);this['_changesetSessionId']=_0x409467?_0xdb00c7[_0x11c8ef(0x363)]:Xr(),this[_0x11c8ef(0x1d6)]=_0x409467?_0xdb00c7['reqId']:0x0;const _0x19ff0a=this[_0x11c8ef(0x25a)];try{this['_replayCachedMutations'](_0xdb00c7,_0x13ab7d);}catch(_0x3df08f){this[_0x11c8ef(0x398)][_0x11c8ef(0x353)](_0x3df08f);}const _0x19775b=this[_0x11c8ef(0x448)]();if(_0xe733b4){const _0x1ed19e=Oi(this[_0x11c8ef(0x367)],_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);return _0x1ed19e instanceof oe?_0x1ed19e['_schedule']():(_0x1ed19e instanceof ae||_0x1ed19e instanceof le)&&_0x1ed19e[_0x11c8ef(0x468)](),_0x1ed19e;}return this[_0x11c8ef(0x367)]['createInstance'](de,_0x19ff0a,this[_0x11c8ef(0x3cf)],_0xdb00c7,_0x13ab7d,_0x19775b);}[_0x41545e(0x1c8)](_0x26a34e,_0x57d32a){var _0x32a6f3=_0x41545e,_0x302e8f,_0x2b9192;const _0x477e71=this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x419)](this[_0x32a6f3(0x2ad)][_0x32a6f3(0x3b4)][_0x32a6f3(0x47a)]()[_0x32a6f3(0x2d9)]);(_0x302e8f=_0x477e71((_0x26a34e==null?void 0x0:_0x26a34e['mutations'])||[],null))==null||_0x302e8f['forEach'](_0x1e78e4=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x1e78e4['id'],_0x1e78e4[_0x32a6f3(0x436)])),(_0x2b9192=_0x477e71(_0x57d32a||[],null))==null||_0x2b9192[_0x32a6f3(0x1d8)](_0x32f0e1=>this[_0x32a6f3(0x396)][_0x32a6f3(0x20c)](_0x32f0e1['id'],_0x32f0e1[_0x32a6f3(0x436)]));}};rt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],rt);let It=class extends rt{constructor(_0x19c2ef,_0x32bb22,_0x2f1a89,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881){var _0x59940a=_0x41545e;super(_0x19c2ef,_0x2f1a89,_0x32bb22,_0x58ee2c,_0x3171a6,_0xfc8061,_0x5454a0,_0x2ac914,_0x7564f4,_0x4b758d,_0x885d42,_0x499c16,_0x2fd881),N(this,_0x59940a(0x455),null),(this[_0x59940a(0x25a)]=_0x19c2ef,this[_0x59940a(0x1b3)]=_0x32bb22);}[_0x41545e(0x366)](_0xccdd3c){var _0x28e476=_0x41545e;this[_0x28e476(0x455)]=_0xccdd3c;}[_0x41545e(0x293)](){var _0x2c7fe1=_0x41545e;this[_0x2c7fe1(0x455)]=null,super['dispose']();}[_0x41545e(0x448)](){var _0x48b4f8=_0x41545e;const _0x427c33=super[_0x48b4f8(0x448)]();return _0x427c33[_0x48b4f8(0x3a1)]=_0x183b98=>{var _0x4433b8=_0x48b4f8,_0x44a599,_0x3e8117;return(_0x3e8117=(_0x44a599=this['_handlerCallback'])==null?void 0x0:_0x44a599[_0x4433b8(0x3a1)])==null?void 0x0:_0x3e8117['call'](_0x44a599,_0x183b98);},_0x427c33[_0x48b4f8(0x216)]=_0x7a3fa=>{var _0x1e025b=_0x48b4f8,_0x2813fe,_0x5cb171;return(_0x5cb171=(_0x2813fe=this[_0x1e025b(0x455)])==null?void 0x0:_0x2813fe[_0x1e025b(0x216)])==null?void 0x0:_0x5cb171[_0x1e025b(0x33e)](_0x2813fe,_0x7a3fa);},_0x427c33[_0x48b4f8(0x2bc)]=_0x52369a=>{var _0xffe352=_0x48b4f8,_0x3748ff,_0x27bffa;return(_0x27bffa=(_0x3748ff=this[_0xffe352(0x455)])==null?void 0x0:_0x3748ff['onTransformSelections'])==null?void 0x0:_0x27bffa[_0xffe352(0x33e)](_0x3748ff,_0x52369a);},_0x427c33[_0x48b4f8(0x369)]=_0x34d311=>{var _0x2ce79a=_0x48b4f8,_0x5610ff,_0x3ff190;return(_0x3ff190=(_0x5610ff=this[_0x2ce79a(0x455)])==null?void 0x0:_0x5610ff[_0x2ce79a(0x369)])==null?void 0x0:_0x3ff190[_0x2ce79a(0x33e)](_0x5610ff,_0x34d311);},_0x427c33[_0x48b4f8(0x272)]=_0x37ad6f=>{var _0x4b167e=_0x48b4f8,_0x417a23,_0x97cad7,_0xc9b723;if(!((_0x417a23=this[_0x4b167e(0x455)])!=null&&_0x417a23[_0x4b167e(0x272)]))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0xc9b723=(_0x97cad7=this[_0x4b167e(0x455)])==null?void 0x0:_0x97cad7[_0x4b167e(0x272)])==null?void 0x0:_0xc9b723[_0x4b167e(0x33e)](_0x97cad7,_0x37ad6f);},_0x427c33['onTransformRemoteChangesetByStateCache']=_0xd0a0f5=>{var _0x5b8f22=_0x48b4f8,_0x6fcde4,_0x42d9b3,_0x327746;if(!((_0x6fcde4=this[_0x5b8f22(0x455)])!=null&&_0x6fcde4[_0x5b8f22(0x3f2)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x327746=(_0x42d9b3=this['_handlerCallback'])==null?void 0x0:_0x42d9b3[_0x5b8f22(0x3f2)])==null?void 0x0:_0x327746['call'](_0x42d9b3,_0xd0a0f5);},_0x427c33;}async[_0x41545e(0x397)](){var _0x7677dd=_0x41545e;const _0x1a8a60=await super[_0x7677dd(0x397)]();return this[_0x7677dd(0x41a)](this[_0x7677dd(0x396)]['onCommandExecuted']((_0x1cc5f5,_0x2b7694)=>{var _0x4cd93e=_0x7677dd;if(_0x1cc5f5['type']!==_0x36bcfe[_0x4cd93e(0x1fa)]||_0x2b7694!=null&&_0x2b7694[_0x4cd93e(0x1a7)]||_0x2b7694!=null&&_0x2b7694['onlyLocal']||_0x1cc5f5['id']===_0x1ba331['id'])return;const _0x4c5913=_0x1cc5f5[_0x4cd93e(0x436)];if((_0x4c5913==null?void 0x0:_0x4c5913[_0x4cd93e(0x36d)])!==this['unitID'])return;const _0x531ee5=_0x1cc5f5,_0x1e1846=this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x419)](this[_0x4cd93e(0x2ad)]['interceptor'][_0x4cd93e(0x47a)]()['COMPRESS_MUTATION_SEND'])([_0x531ee5],null)||[_0x531ee5];this[_0x4cd93e(0x3cc)](_0x1e1846[0x0]);})),_0x1a8a60;}};It=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(pe)),H(0x8,_0x5b92b1),H(0x9,_0x2c92b5),H(0xa,_0x4da13f),H(0xb,_0x1d0f46(ht)),H(0xc,_0x1d0f46(J))],It);let Tt=class extends rt{constructor(_0x66c8e9,_0x538651,_0x3871b9,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x536a62,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98){var _0x586cd5=_0x41545e;super(_0x66c8e9,_0x3871b9,_0x538651,_0x198010,_0xb735de,_0x390399,_0x2eede3,_0x4b5547,_0x731672,_0x1f86da,_0x22e7b9,_0x5b6e7d,_0x359c98),this[_0x586cd5(0x25a)]=_0x66c8e9,this[_0x586cd5(0x1b3)]=_0x538651,this[_0x586cd5(0x3ca)]=_0x536a62;}[_0x41545e(0x448)](){var _0x50d777=_0x41545e;const _0xbdddb1=super[_0x50d777(0x448)]();return _0xbdddb1[_0x50d777(0x2bc)]=_0x75faba=>this[_0x50d777(0x3ca)]['transformSelections'](_0x75faba),_0xbdddb1;}async['_init'](){var _0x3d14b9=_0x41545e;const _0x2cb9a5=await super['_init']();return this[_0x3d14b9(0x41a)](this[_0x3d14b9(0x396)][_0x3d14b9(0x1c1)]((_0x104875,_0x3bff8b)=>{var _0x5f3a7b=_0x3d14b9;if(_0x104875['type']!==_0x36bcfe['MUTATION']||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x1a7)]||_0x3bff8b!=null&&_0x3bff8b[_0x5f3a7b(0x386)])return;const _0x40c9cf=_0x104875[_0x5f3a7b(0x436)];if((_0x40c9cf==null?void 0x0:_0x40c9cf[_0x5f3a7b(0x36d)])!==this[_0x5f3a7b(0x25a)])return;const _0xd97319=_0x104875,_0x11f74e=this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x419)](this[_0x5f3a7b(0x2ad)][_0x5f3a7b(0x3b4)][_0x5f3a7b(0x47a)]()[_0x5f3a7b(0x228)])([_0xd97319],null)||[_0xd97319];this[_0x5f3a7b(0x3cc)](_0x11f74e[0x0]);})),_0x2cb9a5;}};Tt=xt([H(0x3,_0x236453(_0x35ce09)),H(0x4,_0x236453(_0x4c6f39)),H(0x5,_0x236453(_0xa17142)),H(0x6,_0x236453(_0x4fea53)),H(0x7,_0x236453(it)),H(0x8,_0x236453(pe)),H(0x9,_0x5b92b1),H(0xa,_0x2c92b5),H(0xb,_0x4da13f),H(0xc,_0x1d0f46(ht)),H(0xd,_0x1d0f46(J))],Tt);var an=Object[_0x41545e(0x271)],cn=(_0x5e2f5d,_0x42c243,_0x8bd62d,_0x30fc5e)=>{var _0x1651fb=_0x41545e;for(var _0x2ddfc0=_0x30fc5e>0x1?void 0x0:_0x30fc5e?an(_0x42c243,_0x8bd62d):_0x42c243,_0x9b41f8=_0x5e2f5d[_0x1651fb(0x2fa)]-0x1,_0x39520b;_0x9b41f8>=0x0;_0x9b41f8--)(_0x39520b=_0x5e2f5d[_0x9b41f8])&&(_0x2ddfc0=_0x39520b(_0x2ddfc0)||_0x2ddfc0);return _0x2ddfc0;},ft=(_0x31c1f4,_0x597010)=>(_0x3d9efe,_0x1111e9)=>_0x597010(_0x3d9efe,_0x1111e9,_0x31c1f4);let nt=class extends _0x433c2f{constructor(_0x4f17f1,_0x56d04e,_0x350631){var _0x492556=_0x41545e;super(),N(this,_0x492556(0x3b1),new Map()),N(this,_0x492556(0x422),new _0x5daeac()),N(this,_0x492556(0x27f),this[_0x492556(0x422)][_0x492556(0x38e)]()),(this[_0x492556(0x367)]=_0x4f17f1,this['_collabSessionService']=_0x56d04e,this[_0x492556(0x1f6)]=_0x350631,this[_0x492556(0x397)]());}[_0x41545e(0x293)](){var _0x1eb32e=_0x41545e;super[_0x1eb32e(0x293)](),this['_entities'][_0x1eb32e(0x1d8)](_0x329920=>_0x329920['dispose']()),this[_0x1eb32e(0x3b1)][_0x1eb32e(0x302)]();}[_0x41545e(0x19a)](_0x3742d4){var _0x200541=_0x41545e,_0xcbf11e;return(_0xcbf11e=this['_entities'][_0x200541(0x393)](_0x3742d4))!=null?_0xcbf11e:null;}[_0x41545e(0x416)](_0x3d2213){var _0x314f0c=_0x41545e;const _0x593bb1=this[_0x314f0c(0x19a)](_0x3d2213);return _0x593bb1?_0x65e3ad(_0x593bb1):this[_0x314f0c(0x422)][_0x314f0c(0x30b)](_0x1a0aae(_0x542f62=>_0x542f62[_0x314f0c(0x25a)]===_0x3d2213));}['readyForCollab'](_0x562672){var _0x5820c6=_0x41545e;return _0x3a72d0(this[_0x5820c6(0x416)](_0x562672)[_0x5820c6(0x30b)](_0x5a18b9(()=>{})));}[_0x41545e(0x397)](){var _0x4faecf=_0x41545e;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x16fa42[_0x4faecf(0x1af)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['subscribe'](async _0x357f74=>{var _0x30f18d=_0x4faecf;const _0x3c29a8=_0x357f74[_0x30f18d(0x32f)](),_0x1842be=await this[_0x30f18d(0x32b)](_0x3c29a8,Q['UNIVER_SHEET']);this['_entities'][_0x30f18d(0x3d2)](_0x3c29a8,_0x1842be);}),this[_0x4faecf(0x1f6)][_0x4faecf(0x29d)](_0x16fa42[_0x4faecf(0x378)])[_0x4faecf(0x30b)](_0x515a44(this[_0x4faecf(0x423)]),_0x3cb60d(0x10))['pipe'](_0x1a0aae(_0x3c7db2=>!_0x3c7db2['getUnitId']()[_0x4faecf(0x3cd)]('__')))[_0x4faecf(0x40b)](async _0x3cd2bd=>{var _0x5d4bba=_0x4faecf;const _0x248b6b=_0x3cd2bd['getUnitId'](),_0x372f4f=await this[_0x5d4bba(0x32b)](_0x248b6b,Q[_0x5d4bba(0x378)]);this['_entities'][_0x5d4bba(0x3d2)](_0x248b6b,_0x372f4f);}),_0x14bf95(this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42['UNIVER_SHEET']),this[_0x4faecf(0x1f6)][_0x4faecf(0x18c)](_0x16fa42[_0x4faecf(0x378)]))[_0x4faecf(0x30b)](_0x515a44(this['dispose$']))['subscribe'](_0xef7f66=>{var _0x43169b=_0x4faecf;const _0x2acd00=_0xef7f66[_0x43169b(0x32f)](),_0x27019a=this['_entities'][_0x43169b(0x393)](_0x2acd00);_0x27019a&&(_0x27019a[_0x43169b(0x293)](),this[_0x43169b(0x3b1)][_0x43169b(0x27a)](_0x2acd00));});}async['_startCollaboration'](_0x1cf97e,_0x509526){var _0x36d94b=_0x41545e;const _0x254a82=await this[_0x36d94b(0x442)][_0x36d94b(0x44c)](_0x1cf97e),_0x11e231=this['_injector'][_0x36d94b(0x34f)](this['_getCtorByUniverType'](_0x509526),_0x1cf97e,_0x509526,_0x254a82);return await _0x11e231[_0x36d94b(0x1b4)](),this['_entityInit$']['next'](_0x11e231),_0x11e231;}[_0x41545e(0x41e)](_0x526930){var _0x1f39ea=_0x41545e;switch(_0x526930){case Q[_0x1f39ea(0x378)]:return It;case Q[_0x1f39ea(0x1af)]:return Tt;default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x526930);}}};nt=cn([ft(0x0,_0x236453(_0x35ce09)),ft(0x1,_0x236453(Le)),ft(0x2,_0x214b6f)],nt);var hn=Object[_0x41545e(0x271)],_n=(_0xce486a,_0x1458c7,_0x2dff21,_0x54ca3a)=>{var _0xcb170=_0x41545e;for(var _0x3caa7b=_0x54ca3a>0x1?void 0x0:_0x54ca3a?hn(_0x1458c7,_0x2dff21):_0x1458c7,_0x16da0d=_0xce486a[_0xcb170(0x2fa)]-0x1,_0x230ba2;_0x16da0d>=0x0;_0x16da0d--)(_0x230ba2=_0xce486a[_0x16da0d])&&(_0x3caa7b=_0x230ba2(_0x3caa7b)||_0x3caa7b);return _0x3caa7b;},zt=(_0x445df1,_0x220108)=>(_0x4e569b,_0x343833)=>_0x220108(_0x4e569b,_0x343833,_0x445df1);const ln=_0x41545e(0x1f3),un=_0x41545e(0x380);let Ct=class extends _0x4b1c46{constructor(_0x54c40b,_0x4ca619){var _0x1d890a=_0x41545e;super(),this[_0x1d890a(0x1f6)]=_0x54c40b,this[_0x1d890a(0x2f0)]=_0x4ca619,this['_init']();}[_0x41545e(0x397)](){var _0x1e079a=_0x41545e;this['disposeWithMe'](this['_univerInstanceService'][_0x1e079a(0x25b)]['subscribe'](()=>{var _0x9d1cd4=_0x1e079a,_0x135038;const _0x43a470=this['_univerInstanceService'][_0x9d1cd4(0x3fb)]();let _0x48f73f=(_0x135038=this['_configService'][_0x9d1cd4(0x222)](ln))!=null?_0x135038:un;_0x43a470 instanceof _0xa9a7e0&&(_0x48f73f=_0x43a470[_0x9d1cd4(0x1a5)]),document[_0x9d1cd4(0x298)]=_0x48f73f;}));}};Ct=_n([zt(0x0,_0x214b6f),zt(0x1,_0x34fb67)],Ct);var dn=Object[_0x41545e(0x271)],fn=(_0x106c1d,_0x4bc79f,_0xa960c6,_0x165a34)=>{var _0x134411=_0x41545e;for(var _0x449df8=_0x165a34>0x1?void 0x0:_0x165a34?dn(_0x4bc79f,_0xa960c6):_0x4bc79f,_0x20ffbc=_0x106c1d[_0x134411(0x2fa)]-0x1,_0x4d3ed9;_0x20ffbc>=0x0;_0x20ffbc--)(_0x4d3ed9=_0x106c1d[_0x20ffbc])&&(_0x449df8=_0x4d3ed9(_0x449df8)||_0x449df8);return _0x449df8;},vt=(_0x4ab21f,_0x2414ac)=>(_0x9cac78,_0x1c8087)=>_0x2414ac(_0x9cac78,_0x1c8087,_0x4ab21f);let st=class{constructor(_0x5bbfa7,_0x498a48,_0x17afc2){var _0x3b36ca=_0x41545e;this[_0x3b36ca(0x2f0)]=_0x5bbfa7,this[_0x3b36ca(0x365)]=_0x498a48,this[_0x3b36ca(0x26f)]=_0x17afc2,this[_0x3b36ca(0x1b4)]();}[_0x41545e(0x1b4)](){var _0x3e74f4=_0x41545e;this[_0x3e74f4(0x365)][_0x3e74f4(0x1f4)]({'priority':0x1,'interceptor':(_0x40a9e1,_0x51b0e2)=>_0x51b0e2(_0x40a9e1)[_0x3e74f4(0x30b)](_0x5a3729(async _0x5113f8=>{var _0x3ea3f8=_0x3e74f4;const _0x279616=_0x5113f8;if(_0x279616[_0x3ea3f8(0x244)]===0x191){if(typeof window>'u')throw new Error('[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.');if(window['confirm'](this[_0x3ea3f8(0x26f)]['t'](_0x3ea3f8(0x3fd)))){const _0x19b900=window[_0x3ea3f8(0x2d4)](window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]);window[_0x3ea3f8(0x233)][_0x3ea3f8(0x2c1)]=this[_0x3ea3f8(0x1d7)]()+_0x3ea3f8(0x43c)+_0x19b900;}}return _0x279616;}))});}[_0x41545e(0x1d7)](){var _0x4363cd=_0x41545e,_0x5c8f21,_0x45f542;const _0x4c4219=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](Dr),_0x41e6e1=this[_0x4363cd(0x2f0)][_0x4363cd(0x222)](q);return(_0x45f542=(_0x5c8f21=_0x41e6e1==null?void 0x0:_0x41e6e1[_0x4363cd(0x1e6)])!=null?_0x5c8f21:_0x4c4219)!=null?_0x45f542:wr;}};st=fn([vt(0x0,_0x34fb67),vt(0x1,_0x236453(_0x15df20)),vt(0x2,_0x236453(_0xa17142))],st);var vn=Object['getOwnPropertyDescriptor'],pn=(_0x239ec4,_0x24d791,_0x4482fa,_0x9bd1a2)=>{var _0xf5d84e=_0x41545e;for(var _0x5f2f86=_0x9bd1a2>0x1?void 0x0:_0x9bd1a2?vn(_0x24d791,_0x4482fa):_0x24d791,_0x51e6eb=_0x239ec4[_0xf5d84e(0x2fa)]-0x1,_0x253d27;_0x51e6eb>=0x0;_0x51e6eb--)(_0x253d27=_0x239ec4[_0x51e6eb])&&(_0x5f2f86=_0x253d27(_0x5f2f86)||_0x5f2f86);return _0x5f2f86;},Jt=(_0x178fe5,_0x41669b)=>(_0x23016a,_0x1ac4d4)=>_0x41669b(_0x23016a,_0x1ac4d4,_0x178fe5);const Ni='AUTHZ_URL_KEY',mn=_0x41545e(0x1d0);let Rt=class extends _0x4b1c46{constructor(_0x3950af,_0x1feb05){var _0x13a488=_0x41545e;super(),this[_0x13a488(0x25d)]=_0x3950af,this[_0x13a488(0x2f0)]=_0x1feb05,this[_0x13a488(0x2e2)]();}[_0x41545e(0x2e2)](){var _0x21f0d4=_0x41545e;const _0x5f8cae=this;this['disposeWithMe'](this[_0x21f0d4(0x25d)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0xf3ee5b({'isMatch'(_0xd30a0a){var _0x4cd32d=_0x21f0d4,_0x2131e2;if(_0xd30a0a[_0x4cd32d(0x478)]==='POST'&&((_0x2131e2=_0xd30a0a[_0x4cd32d(0x1bc)])!=null&&_0x2131e2['body'])){const {objectID:_0x453a27,objectType:_0x21ee67}=_0xd30a0a[_0x4cd32d(0x1bc)][_0x4cd32d(0x323)]||{};if(!_0x453a27||_0x21ee67===void 0x0)return!0x1;const _0xe37d95=_0x5f8cae[_0x4cd32d(0x28a)]()+'/'+_0x21ee67+_0x4cd32d(0x2bf)+_0x453a27+_0x4cd32d(0x310);if(_0xd30a0a[_0x4cd32d(0x35c)]===_0xe37d95)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x309c4f){var _0x425c93;return(_0x425c93=_0x309c4f['requestParams'])==null?void 0x0:_0x425c93['body'];},'mergeParamsToRequest'(_0x23dc72,_0x3a4ddf){var _0x1fe013=_0x21f0d4;const _0x2ea7ef=_0x5f8cae[_0x1fe013(0x28a)]()+'/-/object/-/batch_allowed',_0x333338=_0x23dc72[_0x1fe013(0x313)]((_0x5ee80d,_0x1c661f)=>{var _0x4dc5d4=_0x1fe013;const {unitID:_0x4103e8,objectID:_0x2895a7,objectType:_0x5a61c4,actions:_0x158cb9}=_0x1c661f;return _0x5ee80d[_0x4103e8]||(_0x5ee80d[_0x4103e8]={}),_0x5ee80d[_0x4103e8][_0x2895a7]||(_0x5ee80d[_0x4103e8][_0x2895a7]={'objectID':_0x2895a7,'objectType':_0x5a61c4,'actions':[]}),_0x5ee80d[_0x4103e8][_0x2895a7][_0x4dc5d4(0x395)][_0x4dc5d4(0x22d)](..._0x158cb9),_0x5ee80d;},{}),_0x494f48=[];for(const _0x3804e8 in _0x333338)for(const _0x4179ec in _0x333338[_0x3804e8]){const {actions:_0x38e3a3,objectType:_0x4c2c36}=_0x333338[_0x3804e8][_0x4179ec],_0x26795c=[...new Set(_0x38e3a3)];_0x494f48[_0x1fe013(0x22d)]({'unitID':_0x3804e8,'objectID':_0x4179ec,'objectType':_0x4c2c36,'actions':_0x26795c});}return new _0xa6c8fe(_0x1fe013(0x3d1),_0x2ea7ef,{'headers':_0x3a4ddf[_0x1fe013(0x257)],'withCredentials':_0x3a4ddf[_0x1fe013(0x27c)],'responseType':_0x3a4ddf[_0x1fe013(0x2af)],'body':{'requests':_0x494f48}});}},{'distributeResult'(_0x51da6e,_0x4a2773){var _0x3867f8=_0x21f0d4;const {objectActions:_0x356e06}=_0x51da6e;return _0x4a2773[_0x3867f8(0x400)](_0x4de115=>{var _0x209b12=_0x3867f8;const {unitID:_0x7d8afc,objectID:_0x8734a4,actions:_0x3e5d16}=_0x4de115,_0x4b10b8=_0x356e06[_0x209b12(0x286)](_0x46c0e5=>_0x46c0e5['unitID']===_0x7d8afc&&_0x46c0e5[_0x209b12(0x26d)]===_0x8734a4),_0x1ff12d=_0x3e5d16[_0x209b12(0x400)](_0x2f391c=>_0x4b10b8==null?void 0x0:_0x4b10b8[_0x209b12(0x395)][_0x209b12(0x286)](_0x12eb5a=>_0x12eb5a[_0x209b12(0x3d5)]===_0x2f391c))[_0x209b12(0x38c)](_0x1ad760=>!!_0x1ad760);return{'config':_0x4de115,'result':{'actions':_0x1ff12d,'error':_0x51da6e[_0x209b12(0x353)]}};});}})}));}['_getAPIPrefixPath'](){var _0x136fa8=_0x41545e,_0x392995,_0x5aba8a;const _0x11db39=this['_configService'][_0x136fa8(0x222)](Ni),_0x8cd2d=this[_0x136fa8(0x2f0)][_0x136fa8(0x222)](q);return(_0x5aba8a=(_0x392995=_0x8cd2d==null?void 0x0:_0x8cd2d['authzUrl'])!=null?_0x392995:_0x11db39)!=null?_0x5aba8a:mn;}async[_0x41545e(0x23c)](_0x15dcc4){var _0x305e81=_0x41545e;const _0x4bb9a4=this[_0x305e81(0x28a)]()+'/'+_0x15dcc4[_0x305e81(0x1ea)]+_0x305e81(0x1f7);return(await this[_0x305e81(0x25d)][_0x305e81(0x3da)](_0x4bb9a4,{'body':_0x15dcc4}))[_0x305e81(0x323)][_0x305e81(0x26d)]||'';}async['list'](_0x2c9994){var _0x481f78=_0x41545e;const _0x5c743e=this[_0x481f78(0x28a)]()+_0x481f78(0x1e0);return(await this[_0x481f78(0x25d)][_0x481f78(0x3da)](_0x5c743e,{'body':_0x2c9994}))[_0x481f78(0x323)]['objects'];}async[_0x41545e(0x3e2)](_0x5093c4){var _0x41c780=_0x41545e;const _0x32e87c=this[_0x41c780(0x28a)]()+'/'+_0x5093c4['objectType']+'/object/'+_0x5093c4[_0x41c780(0x26d)];await this[_0x41c780(0x25d)]['put'](_0x32e87c,{'body':_0x5093c4});}async['allowed'](_0x1e4a37){var _0x19b050=_0x41545e;const _0x2d8329=this[_0x19b050(0x28a)]()+'/'+_0x1e4a37['objectType']+'/object/'+_0x1e4a37[_0x19b050(0x26d)]+_0x19b050(0x310);return(await this[_0x19b050(0x25d)][_0x19b050(0x3da)](_0x2d8329,{'body':_0x1e4a37}))[_0x19b050(0x323)][_0x19b050(0x395)];}async[_0x41545e(0x1fd)](_0x529e4d){var _0x224def=_0x41545e;const _0x3638dc=this[_0x224def(0x28a)]()+_0x224def(0x1a8);return(await this[_0x224def(0x25d)]['post'](_0x3638dc,{'body':{'requests':_0x529e4d}}))[_0x224def(0x323)][_0x224def(0x390)];}async['listRoles'](_0x2d5be8){var _0x20ecd9=_0x41545e;const _0x59c203=this[_0x20ecd9(0x28a)]()+'/'+_0x2d5be8[_0x20ecd9(0x1ea)]+_0x20ecd9(0x212),_0x3e922e=await this['_HTTPService']['post'](_0x59c203,{'body':_0x2d5be8});return{'roles':_0x3e922e[_0x20ecd9(0x323)]['roles'],'actions':_0x3e922e[_0x20ecd9(0x323)][_0x20ecd9(0x395)]};}async['deleteCollaborator'](_0x7d720d){var _0x450fc2=_0x41545e;const _0x1f9928=this[_0x450fc2(0x28a)]()+_0x450fc2(0x1f1);await this['_HTTPService'][_0x450fc2(0x27a)](_0x1f9928,{'params':{'collaboratorID':_0x7d720d[_0x450fc2(0x18a)],'objectID':_0x7d720d[_0x450fc2(0x26d)],'unitID':_0x7d720d['unitID']}});}async[_0x41545e(0x316)](_0x5068b1){var _0x5cd115=_0x41545e;const _0x1d4c0b=this[_0x5cd115(0x28a)]()+_0x5cd115(0x1f1);await this['_HTTPService'][_0x5cd115(0x1e4)](_0x1d4c0b,{'body':_0x5068b1});}async[_0x41545e(0x2e0)](_0x4f5159){var _0x5ecf68=_0x41545e;const _0x213a53=this[_0x5ecf68(0x28a)]()+'/collaborator';await this[_0x5ecf68(0x25d)][_0x5ecf68(0x3da)](_0x213a53,{'body':_0x4f5159});}async[_0x41545e(0x41b)](_0x245bf8){var _0x5ac50f=_0x41545e;const _0x2bef85=this['_getAPIPrefixPath']()+_0x5ac50f(0x1f1);return(await this[_0x5ac50f(0x25d)][_0x5ac50f(0x393)](_0x2bef85,{'params':{'objectID':_0x245bf8[_0x5ac50f(0x26d)],'unitID':_0x245bf8[_0x5ac50f(0x25a)]}}))[_0x5ac50f(0x323)][_0x5ac50f(0x42b)];}async['putCollaborators'](_0x2528c2){var _0x26e01a=_0x41545e;const _0x30dac7=this['_getAPIPrefixPath']()+_0x26e01a(0x1f1);await this[_0x26e01a(0x25d)][_0x26e01a(0x232)](_0x30dac7,{'body':_0x2528c2});}};Rt=pn([Jt(0x0,_0x236453(_0x15df20)),Jt(0x1,_0x236453(_0x34fb67))],Rt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function He(_0x4f9bb6){var _0x207d41=_0x41545e;return _0x4f9bb6&&_0x4f9bb6[_0x207d41(0x38b)]&&Object['prototype']['hasOwnProperty'][_0x207d41(0x33e)](_0x4f9bb6,_0x207d41(0x39b))?_0x4f9bb6['default']:_0x4f9bb6;}var Ge={'exports':{}};function gn(_0x1644fc){var _0x187cb3=_0x41545e;throw new Error(_0x187cb3(0x206)+_0x1644fc+_0x187cb3(0x210));}var Ve={'exports':{}},Sn=Ve[_0x41545e(0x1e1)],Xt;function ie(){var _0x395bc0=_0x41545e;return Xt||(Xt=0x1,function(_0x4f5176,_0x5f3e75){(function(_0x2bd5b3,_0x53befb){_0x4f5176['exports']=_0x53befb();}(Sn,function(){var _0x4fbad9=_0x4fbad9||function(_0x1a2490,_0x1a5d3d){var _0x43350f=_0x5230,_0x52a10e;if(typeof window<'u'&&window['crypto']&&(_0x52a10e=window[_0x43350f(0x3f5)]),typeof self<'u'&&self['crypto']&&(_0x52a10e=self['crypto']),typeof globalThis<'u'&&globalThis[_0x43350f(0x3f5)]&&(_0x52a10e=globalThis[_0x43350f(0x3f5)]),!_0x52a10e&&typeof window<'u'&&window[_0x43350f(0x2df)]&&(_0x52a10e=window['msCrypto']),!_0x52a10e&&typeof pt<'u'&&pt[_0x43350f(0x3f5)]&&(_0x52a10e=pt[_0x43350f(0x3f5)]),!_0x52a10e&&typeof gn=='function')try{_0x52a10e=require('crypto');}catch{}var _0x268afd=function(){var _0x2236bc=_0x43350f;if(_0x52a10e){if(typeof _0x52a10e['getRandomValues']==_0x2236bc(0x19c))try{return _0x52a10e['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x52a10e['randomBytes']==_0x2236bc(0x19c))try{return _0x52a10e[_0x2236bc(0x295)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x2236bc(0x1c6));},_0x444ada=Object[_0x43350f(0x23c)]||(function(){function _0x2b6caa(){}return function(_0x2607ff){var _0x563634=_0x5230,_0x11cf81;return _0x2b6caa[_0x563634(0x405)]=_0x2607ff,_0x11cf81=new _0x2b6caa(),_0x2b6caa[_0x563634(0x405)]=null,_0x11cf81;};}()),_0x9dcf43={},_0x1a51ea=_0x9dcf43[_0x43350f(0x3fa)]={},_0xd7d6b3=_0x1a51ea[_0x43350f(0x47b)]=(function(){return{'extend':function(_0x49083b){var _0xa9d5fd=_0x5230,_0x427671=_0x444ada(this);return _0x49083b&&_0x427671['mixIn'](_0x49083b),(!_0x427671[_0xa9d5fd(0x1a0)](_0xa9d5fd(0x1b4))||this[_0xa9d5fd(0x1b4)]===_0x427671['init'])&&(_0x427671['init']=function(){var _0x404b43=_0xa9d5fd;_0x427671[_0x404b43(0x464)]['init'][_0x404b43(0x264)](this,arguments);}),_0x427671['init']['prototype']=_0x427671,_0x427671[_0xa9d5fd(0x464)]=this,_0x427671;},'create':function(){var _0x404611=_0x5230,_0x57d870=this['extend']();return _0x57d870[_0x404611(0x1b4)][_0x404611(0x264)](_0x57d870,arguments),_0x57d870;},'init':function(){},'mixIn':function(_0x1956a4){var _0x439af6=_0x5230;for(var _0x349c44 in _0x1956a4)_0x1956a4[_0x439af6(0x1a0)](_0x349c44)&&(this[_0x349c44]=_0x1956a4[_0x349c44]);_0x1956a4[_0x439af6(0x1a0)](_0x439af6(0x273))&&(this[_0x439af6(0x273)]=_0x1956a4[_0x439af6(0x273)]);},'clone':function(){var _0x6cd396=_0x5230;return this['init'][_0x6cd396(0x405)][_0x6cd396(0x23a)](this);}};}()),_0x3e1c29=_0x1a51ea[_0x43350f(0x3a9)]=_0xd7d6b3[_0x43350f(0x23a)]({'init':function(_0x735e7d,_0x10da05){var _0x211913=_0x43350f;_0x735e7d=this[_0x211913(0x318)]=_0x735e7d||[],_0x10da05!=_0x1a5d3d?this[_0x211913(0x2b9)]=_0x10da05:this['sigBytes']=_0x735e7d['length']*0x4;},'toString':function(_0x1dd920){var _0x53557d=_0x43350f;return(_0x1dd920||_0x37f97c)[_0x53557d(0x2cf)](this);},'concat':function(_0x4ffeb0){var _0x28aef0=_0x43350f,_0x1d40dd=this[_0x28aef0(0x318)],_0x14572c=_0x4ffeb0[_0x28aef0(0x318)],_0x29b9fe=this[_0x28aef0(0x2b9)],_0x2bbe81=_0x4ffeb0[_0x28aef0(0x2b9)];if(this[_0x28aef0(0x243)](),_0x29b9fe%0x4)for(var _0x325040=0x0;_0x325040<_0x2bbe81;_0x325040++){var _0x1b3f4f=_0x14572c[_0x325040>>>0x2]>>>0x18-_0x325040%0x4*0x8&0xff;_0x1d40dd[_0x29b9fe+_0x325040>>>0x2]|=_0x1b3f4f<<0x18-(_0x29b9fe+_0x325040)%0x4*0x8;}else{for(var _0x3021b7=0x0;_0x3021b7<_0x2bbe81;_0x3021b7+=0x4)_0x1d40dd[_0x29b9fe+_0x3021b7>>>0x2]=_0x14572c[_0x3021b7>>>0x2];}return this[_0x28aef0(0x2b9)]+=_0x2bbe81,this;},'clamp':function(){var _0x19404c=_0x43350f,_0xc8cce3=this['words'],_0x178f54=this[_0x19404c(0x2b9)];_0xc8cce3[_0x178f54>>>0x2]&=0xffffffff<<0x20-_0x178f54%0x4*0x8,_0xc8cce3['length']=_0x1a2490['ceil'](_0x178f54/0x4);},'clone':function(){var _0x153c35=_0x43350f,_0x1c3213=_0xd7d6b3[_0x153c35(0x198)][_0x153c35(0x33e)](this);return _0x1c3213[_0x153c35(0x318)]=this[_0x153c35(0x318)][_0x153c35(0x377)](0x0),_0x1c3213;},'random':function(_0x32d1d8){var _0x2a8ff2=_0x43350f;for(var _0x4c5171=[],_0x5932c9=0x0;_0x5932c9<_0x32d1d8;_0x5932c9+=0x4)_0x4c5171[_0x2a8ff2(0x22d)](_0x268afd());return new _0x3e1c29['init'](_0x4c5171,_0x32d1d8);}}),_0x11d324=_0x9dcf43[_0x43350f(0x1cf)]={},_0x37f97c=_0x11d324['Hex']={'stringify':function(_0xc33dbd){var _0x1cf1a7=_0x43350f;for(var _0x2c0009=_0xc33dbd[_0x1cf1a7(0x318)],_0x825da2=_0xc33dbd['sigBytes'],_0x394d05=[],_0x5da1c2=0x0;_0x5da1c2<_0x825da2;_0x5da1c2++){var _0x1bcf28=_0x2c0009[_0x5da1c2>>>0x2]>>>0x18-_0x5da1c2%0x4*0x8&0xff;_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28>>>0x4)['toString'](0x10)),_0x394d05[_0x1cf1a7(0x22d)]((_0x1bcf28&0xf)[_0x1cf1a7(0x273)](0x10));}return _0x394d05[_0x1cf1a7(0x205)]('');},'parse':function(_0x68949c){var _0x9c30a0=_0x43350f;for(var _0x3dc70a=_0x68949c['length'],_0x1d460e=[],_0x27965f=0x0;_0x27965f<_0x3dc70a;_0x27965f+=0x2)_0x1d460e[_0x27965f>>>0x3]|=parseInt(_0x68949c[_0x9c30a0(0x2f5)](_0x27965f,0x2),0x10)<<0x18-_0x27965f%0x8*0x4;return new _0x3e1c29[(_0x9c30a0(0x1b4))](_0x1d460e,_0x3dc70a/0x2);}},_0x51b49c=_0x11d324[_0x43350f(0x2b4)]={'stringify':function(_0x12f2d4){var _0x34dff2=_0x43350f;for(var _0x1bfc50=_0x12f2d4[_0x34dff2(0x318)],_0x4668ad=_0x12f2d4[_0x34dff2(0x2b9)],_0x1483dc=[],_0x43b0c1=0x0;_0x43b0c1<_0x4668ad;_0x43b0c1++){var _0x285cc1=_0x1bfc50[_0x43b0c1>>>0x2]>>>0x18-_0x43b0c1%0x4*0x8&0xff;_0x1483dc[_0x34dff2(0x22d)](String[_0x34dff2(0x29c)](_0x285cc1));}return _0x1483dc[_0x34dff2(0x205)]('');},'parse':function(_0x27c52f){var _0x18cc7b=_0x43350f;for(var _0x5b40d6=_0x27c52f[_0x18cc7b(0x2fa)],_0x543f00=[],_0x472d68=0x0;_0x472d68<_0x5b40d6;_0x472d68++)_0x543f00[_0x472d68>>>0x2]|=(_0x27c52f[_0x18cc7b(0x329)](_0x472d68)&0xff)<<0x18-_0x472d68%0x4*0x8;return new _0x3e1c29[(_0x18cc7b(0x1b4))](_0x543f00,_0x5b40d6);}},_0x557b25=_0x11d324[_0x43350f(0x22f)]={'stringify':function(_0x1bbd68){var _0x55b9ac=_0x43350f;try{return decodeURIComponent(escape(_0x51b49c[_0x55b9ac(0x2cf)](_0x1bbd68)));}catch{throw new Error(_0x55b9ac(0x201));}},'parse':function(_0x55637f){var _0x49d22e=_0x43350f;return _0x51b49c[_0x49d22e(0x3ce)](unescape(encodeURIComponent(_0x55637f)));}},_0x3cf461=_0x1a51ea[_0x43350f(0x1bd)]=_0xd7d6b3[_0x43350f(0x23a)]({'reset':function(){var _0xcfe34c=_0x43350f;this[_0xcfe34c(0x2c5)]=new _0x3e1c29['init'](),this[_0xcfe34c(0x304)]=0x0;},'_append':function(_0x57a96a){var _0x2fa8e0=_0x43350f;typeof _0x57a96a==_0x2fa8e0(0x2e4)&&(_0x57a96a=_0x557b25['parse'](_0x57a96a)),this['_data'][_0x2fa8e0(0x435)](_0x57a96a),this['_nDataBytes']+=_0x57a96a[_0x2fa8e0(0x2b9)];},'_process':function(_0x5d8ca7){var _0x4817ae=_0x43350f,_0x4307bf,_0x329937=this[_0x4817ae(0x2c5)],_0x526c34=_0x329937[_0x4817ae(0x318)],_0x3422c6=_0x329937[_0x4817ae(0x2b9)],_0xfa3706=this[_0x4817ae(0x3c8)],_0x35efdd=_0xfa3706*0x4,_0x31cb56=_0x3422c6/_0x35efdd;_0x5d8ca7?_0x31cb56=_0x1a2490[_0x4817ae(0x2ac)](_0x31cb56):_0x31cb56=_0x1a2490[_0x4817ae(0x401)]((_0x31cb56|0x0)-this[_0x4817ae(0x441)],0x0);var _0x19f87f=_0x31cb56*_0xfa3706,_0x223940=_0x1a2490['min'](_0x19f87f*0x4,_0x3422c6);if(_0x19f87f){for(var _0x4be823=0x0;_0x4be823<_0x19f87f;_0x4be823+=_0xfa3706)this[_0x4817ae(0x18d)](_0x526c34,_0x4be823);_0x4307bf=_0x526c34[_0x4817ae(0x300)](0x0,_0x19f87f),_0x329937['sigBytes']-=_0x223940;}return new _0x3e1c29[(_0x4817ae(0x1b4))](_0x4307bf,_0x223940);},'clone':function(){var _0xd17e9c=_0x43350f,_0x446295=_0xd7d6b3[_0xd17e9c(0x198)]['call'](this);return _0x446295[_0xd17e9c(0x2c5)]=this['_data'][_0xd17e9c(0x198)](),_0x446295;},'_minBufferSize':0x0});_0x1a51ea[_0x43350f(0x234)]=_0x3cf461[_0x43350f(0x23a)]({'cfg':_0xd7d6b3[_0x43350f(0x23a)](),'init':function(_0x21df07){var _0x1a78bd=_0x43350f;this['cfg']=this['cfg'][_0x1a78bd(0x23a)](_0x21df07),this[_0x1a78bd(0x25f)]();},'reset':function(){var _0x405df0=_0x43350f;_0x3cf461[_0x405df0(0x25f)]['call'](this),this[_0x405df0(0x46c)]();},'update':function(_0x374e72){var _0x53432e=_0x43350f;return this['_append'](_0x374e72),this[_0x53432e(0x2f4)](),this;},'finalize':function(_0x2f4772){var _0x365c6a=_0x43350f;_0x2f4772&&this[_0x365c6a(0x258)](_0x2f4772);var _0x26b582=this[_0x365c6a(0x28c)]();return _0x26b582;},'blockSize':0x10,'_createHelper':function(_0x8f5fa8){return function(_0x5d1550,_0x494f41){var _0x2541db=_0x5230;return new _0x8f5fa8['init'](_0x494f41)[_0x2541db(0x30a)](_0x5d1550);};},'_createHmacHelper':function(_0xfa3a42){return function(_0x3e18cf,_0x518028){var _0x2003ee=_0x5230;return new _0x148dc4[(_0x2003ee(0x43a))][(_0x2003ee(0x1b4))](_0xfa3a42,_0x518028)[_0x2003ee(0x30a)](_0x3e18cf);};}});var _0x148dc4=_0x9dcf43[_0x43350f(0x34d)]={};return _0x9dcf43;}(Math);return _0x4fbad9;}));}(Ve)),Ve[_0x395bc0(0x1e1)];}var We={'exports':{}},En=We[_0x41545e(0x1e1)],Zt;function Di(){var _0x1374b8=_0x41545e;return Zt||(Zt=0x1,function(_0x5cb41a,_0x53a108){(function(_0x31df4f,_0x2b8cee){var _0x2ff8c7=_0x5230;_0x5cb41a[_0x2ff8c7(0x1e1)]=_0x2b8cee(ie());}(En,function(_0x596b42){var _0x5ef0d7=_0x5230;return(function(){var _0x53b383=_0x5230,_0xad6de0=_0x596b42,_0x215c03=_0xad6de0[_0x53b383(0x3fa)],_0x4d2e8e=_0x215c03['WordArray'],_0x4da136=_0xad6de0['enc'];_0x4da136['Base64']={'stringify':function(_0x178d70){var _0xcf9e5e=_0x53b383,_0x696c8b=_0x178d70[_0xcf9e5e(0x318)],_0x448f7=_0x178d70[_0xcf9e5e(0x2b9)],_0x151644=this[_0xcf9e5e(0x385)];_0x178d70['clamp']();for(var _0x1ec1fb=[],_0x3bcff7=0x0;_0x3bcff7<_0x448f7;_0x3bcff7+=0x3)for(var _0x2f4710=_0x696c8b[_0x3bcff7>>>0x2]>>>0x18-_0x3bcff7%0x4*0x8&0xff,_0x122728=_0x696c8b[_0x3bcff7+0x1>>>0x2]>>>0x18-(_0x3bcff7+0x1)%0x4*0x8&0xff,_0x3f5776=_0x696c8b[_0x3bcff7+0x2>>>0x2]>>>0x18-(_0x3bcff7+0x2)%0x4*0x8&0xff,_0x24fcd3=_0x2f4710<<0x10|_0x122728<<0x8|_0x3f5776,_0x378fe0=0x0;_0x378fe0<0x4&&_0x3bcff7+_0x378fe0*0.75<_0x448f7;_0x378fe0++)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x151644['charAt'](_0x24fcd3>>>0x6*(0x3-_0x378fe0)&0x3f));var _0x2f0e0d=_0x151644['charAt'](0x40);if(_0x2f0e0d){for(;_0x1ec1fb['length']%0x4;)_0x1ec1fb[_0xcf9e5e(0x22d)](_0x2f0e0d);}return _0x1ec1fb[_0xcf9e5e(0x205)]('');},'parse':function(_0x295c92){var _0x5d4b42=_0x53b383,_0x453ebc=_0x295c92[_0x5d4b42(0x2fa)],_0x114ce5=this['_map'],_0x851e9d=this[_0x5d4b42(0x3a3)];if(!_0x851e9d){_0x851e9d=this[_0x5d4b42(0x3a3)]=[];for(var _0xe2c3a0=0x0;_0xe2c3a0<_0x114ce5[_0x5d4b42(0x2fa)];_0xe2c3a0++)_0x851e9d[_0x114ce5[_0x5d4b42(0x329)](_0xe2c3a0)]=_0xe2c3a0;}var _0x3b30ca=_0x114ce5[_0x5d4b42(0x3ae)](0x40);if(_0x3b30ca){var _0x3253cc=_0x295c92[_0x5d4b42(0x430)](_0x3b30ca);_0x3253cc!==-0x1&&(_0x453ebc=_0x3253cc);}return _0x584b85(_0x295c92,_0x453ebc,_0x851e9d);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x584b85(_0x131604,_0x4791b1,_0x521817){var _0x1abbbc=_0x53b383;for(var _0x5b7756=[],_0x4800a0=0x0,_0x41b53b=0x0;_0x41b53b<_0x4791b1;_0x41b53b++)if(_0x41b53b%0x4){var _0x14da40=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b-0x1)]<<_0x41b53b%0x4*0x2,_0x1784c8=_0x521817[_0x131604[_0x1abbbc(0x329)](_0x41b53b)]>>>0x6-_0x41b53b%0x4*0x2,_0x5d5946=_0x14da40|_0x1784c8;_0x5b7756[_0x4800a0>>>0x2]|=_0x5d5946<<0x18-_0x4800a0%0x4*0x8,_0x4800a0++;}return _0x4d2e8e[_0x1abbbc(0x23c)](_0x5b7756,_0x4800a0);}}()),_0x596b42[_0x5ef0d7(0x1cf)][_0x5ef0d7(0x44f)];}));}(We)),We[_0x1374b8(0x1e1)];}var Ke={'exports':{}},In=Ke['exports'],Qt;function Tn(){var _0x45fda3=_0x41545e;return Qt||(Qt=0x1,function(_0x280fcc,_0x5b0e12){(function(_0x4c10f7,_0x56654c){var _0x545242=_0x5230;_0x280fcc[_0x545242(0x1e1)]=_0x56654c(ie());}(In,function(_0x2e8891){var _0x4511d4=_0x5230;return function(_0x316325){var _0x3edb48=_0x5230,_0x1d92af=_0x2e8891,_0x4bf1b3=_0x1d92af[_0x3edb48(0x3fa)],_0x447507=_0x4bf1b3['WordArray'],_0x53dc63=_0x4bf1b3[_0x3edb48(0x234)],_0x378ab1=_0x1d92af[_0x3edb48(0x34d)],_0x959f8=[];(function(){var _0x56dac3=_0x3edb48;for(var _0x2154e0=0x0;_0x2154e0<0x40;_0x2154e0++)_0x959f8[_0x2154e0]=_0x316325['abs'](_0x316325[_0x56dac3(0x3c9)](_0x2154e0+0x1))*0x100000000|0x0;}());var _0x58bcc4=_0x378ab1[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x23a)]({'_doReset':function(){var _0x39a9dd=_0x3edb48;this[_0x39a9dd(0x2ef)]=new _0x447507[(_0x39a9dd(0x1b4))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1224bd,_0x3644b5){var _0x5b055e=_0x3edb48;for(var _0x5d8220=0x0;_0x5d8220<0x10;_0x5d8220++){var _0x44a072=_0x3644b5+_0x5d8220,_0xcaac5=_0x1224bd[_0x44a072];_0x1224bd[_0x44a072]=(_0xcaac5<<0x8|_0xcaac5>>>0x18)&0xff00ff|(_0xcaac5<<0x18|_0xcaac5>>>0x8)&0xff00ff00;}var _0x378205=this[_0x5b055e(0x2ef)][_0x5b055e(0x318)],_0x19a4b3=_0x1224bd[_0x3644b5+0x0],_0x437ef8=_0x1224bd[_0x3644b5+0x1],_0x48a8fc=_0x1224bd[_0x3644b5+0x2],_0x1d167b=_0x1224bd[_0x3644b5+0x3],_0x11ca6e=_0x1224bd[_0x3644b5+0x4],_0x37c056=_0x1224bd[_0x3644b5+0x5],_0x53d39d=_0x1224bd[_0x3644b5+0x6],_0x25ea65=_0x1224bd[_0x3644b5+0x7],_0x550de8=_0x1224bd[_0x3644b5+0x8],_0x357911=_0x1224bd[_0x3644b5+0x9],_0x11361f=_0x1224bd[_0x3644b5+0xa],_0x2931cd=_0x1224bd[_0x3644b5+0xb],_0x3c32df=_0x1224bd[_0x3644b5+0xc],_0x3ee4fe=_0x1224bd[_0x3644b5+0xd],_0x52427c=_0x1224bd[_0x3644b5+0xe],_0xf5157a=_0x1224bd[_0x3644b5+0xf],_0x51ed8b=_0x378205[0x0],_0xa97616=_0x378205[0x1],_0x5c5fe8=_0x378205[0x2],_0x8f06bc=_0x378205[0x3];_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x7,_0x959f8[0x0]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x437ef8,0xc,_0x959f8[0x1]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0x11,_0x959f8[0x2]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x1d167b,0x16,_0x959f8[0x3]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x7,_0x959f8[0x4]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x37c056,0xc,_0x959f8[0x5]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0x11,_0x959f8[0x6]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x25ea65,0x16,_0x959f8[0x7]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x7,_0x959f8[0x8]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x357911,0xc,_0x959f8[0x9]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0x11,_0x959f8[0xa]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x2931cd,0x16,_0x959f8[0xb]),_0x51ed8b=_0x90c342(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x7,_0x959f8[0xc]),_0x8f06bc=_0x90c342(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3ee4fe,0xc,_0x959f8[0xd]),_0x5c5fe8=_0x90c342(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0x11,_0x959f8[0xe]),_0xa97616=_0x90c342(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xf5157a,0x16,_0x959f8[0xf]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x5,_0x959f8[0x10]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x53d39d,0x9,_0x959f8[0x11]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0xe,_0x959f8[0x12]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x19a4b3,0x14,_0x959f8[0x13]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x5,_0x959f8[0x14]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11361f,0x9,_0x959f8[0x15]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0xe,_0x959f8[0x16]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11ca6e,0x14,_0x959f8[0x17]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x5,_0x959f8[0x18]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x52427c,0x9,_0x959f8[0x19]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0xe,_0x959f8[0x1a]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x550de8,0x14,_0x959f8[0x1b]),_0x51ed8b=_0x42de85(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x5,_0x959f8[0x1c]),_0x8f06bc=_0x42de85(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x48a8fc,0x9,_0x959f8[0x1d]),_0x5c5fe8=_0x42de85(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0xe,_0x959f8[0x1e]),_0xa97616=_0x42de85(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3c32df,0x14,_0x959f8[0x1f]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x37c056,0x4,_0x959f8[0x20]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x550de8,0xb,_0x959f8[0x21]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x2931cd,0x10,_0x959f8[0x22]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x52427c,0x17,_0x959f8[0x23]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x437ef8,0x4,_0x959f8[0x24]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x11ca6e,0xb,_0x959f8[0x25]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x25ea65,0x10,_0x959f8[0x26]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x11361f,0x17,_0x959f8[0x27]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3ee4fe,0x4,_0x959f8[0x28]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x19a4b3,0xb,_0x959f8[0x29]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x1d167b,0x10,_0x959f8[0x2a]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x53d39d,0x17,_0x959f8[0x2b]),_0x51ed8b=_0x4e1ef6(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x357911,0x4,_0x959f8[0x2c]),_0x8f06bc=_0x4e1ef6(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x3c32df,0xb,_0x959f8[0x2d]),_0x5c5fe8=_0x4e1ef6(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0xf5157a,0x10,_0x959f8[0x2e]),_0xa97616=_0x4e1ef6(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x48a8fc,0x17,_0x959f8[0x2f]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x19a4b3,0x6,_0x959f8[0x30]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x25ea65,0xa,_0x959f8[0x31]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x52427c,0xf,_0x959f8[0x32]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x37c056,0x15,_0x959f8[0x33]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x3c32df,0x6,_0x959f8[0x34]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x1d167b,0xa,_0x959f8[0x35]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x11361f,0xf,_0x959f8[0x36]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x437ef8,0x15,_0x959f8[0x37]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x550de8,0x6,_0x959f8[0x38]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0xf5157a,0xa,_0x959f8[0x39]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x53d39d,0xf,_0x959f8[0x3a]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x3ee4fe,0x15,_0x959f8[0x3b]),_0x51ed8b=_0x566c98(_0x51ed8b,_0xa97616,_0x5c5fe8,_0x8f06bc,_0x11ca6e,0x6,_0x959f8[0x3c]),_0x8f06bc=_0x566c98(_0x8f06bc,_0x51ed8b,_0xa97616,_0x5c5fe8,_0x2931cd,0xa,_0x959f8[0x3d]),_0x5c5fe8=_0x566c98(_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0xa97616,_0x48a8fc,0xf,_0x959f8[0x3e]),_0xa97616=_0x566c98(_0xa97616,_0x5c5fe8,_0x8f06bc,_0x51ed8b,_0x357911,0x15,_0x959f8[0x3f]),_0x378205[0x0]=_0x378205[0x0]+_0x51ed8b|0x0,_0x378205[0x1]=_0x378205[0x1]+_0xa97616|0x0,_0x378205[0x2]=_0x378205[0x2]+_0x5c5fe8|0x0,_0x378205[0x3]=_0x378205[0x3]+_0x8f06bc|0x0;},'_doFinalize':function(){var _0x4d19c6=_0x3edb48,_0x294471=this[_0x4d19c6(0x2c5)],_0x392f02=_0x294471['words'],_0x537d3c=this[_0x4d19c6(0x304)]*0x8,_0x18ddc4=_0x294471[_0x4d19c6(0x2b9)]*0x8;_0x392f02[_0x18ddc4>>>0x5]|=0x80<<0x18-_0x18ddc4%0x20;var _0x2e8511=_0x316325[_0x4d19c6(0x480)](_0x537d3c/0x100000000),_0x3b7154=_0x537d3c;_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xf]=(_0x2e8511<<0x8|_0x2e8511>>>0x18)&0xff00ff|(_0x2e8511<<0x18|_0x2e8511>>>0x8)&0xff00ff00,_0x392f02[(_0x18ddc4+0x40>>>0x9<<0x4)+0xe]=(_0x3b7154<<0x8|_0x3b7154>>>0x18)&0xff00ff|(_0x3b7154<<0x18|_0x3b7154>>>0x8)&0xff00ff00,_0x294471['sigBytes']=(_0x392f02[_0x4d19c6(0x2fa)]+0x1)*0x4,this[_0x4d19c6(0x2f4)]();for(var _0x2f7eb7=this['_hash'],_0x409a4a=_0x2f7eb7[_0x4d19c6(0x318)],_0x2a624b=0x0;_0x2a624b<0x4;_0x2a624b++){var _0x2d8df3=_0x409a4a[_0x2a624b];_0x409a4a[_0x2a624b]=(_0x2d8df3<<0x8|_0x2d8df3>>>0x18)&0xff00ff|(_0x2d8df3<<0x18|_0x2d8df3>>>0x8)&0xff00ff00;}return _0x2f7eb7;},'clone':function(){var _0x2bc511=_0x3edb48,_0x3c7e38=_0x53dc63[_0x2bc511(0x198)][_0x2bc511(0x33e)](this);return _0x3c7e38[_0x2bc511(0x2ef)]=this[_0x2bc511(0x2ef)]['clone'](),_0x3c7e38;}});function _0x90c342(_0x55750b,_0x43623e,_0x2b6371,_0x1b6e6,_0x29cb99,_0xea7220,_0x5203d6){var _0x590d62=_0x55750b+(_0x43623e&_0x2b6371|~_0x43623e&_0x1b6e6)+_0x29cb99+_0x5203d6;return(_0x590d62<<_0xea7220|_0x590d62>>>0x20-_0xea7220)+_0x43623e;}function _0x42de85(_0xca24ed,_0x10fc33,_0x2724cd,_0x5e1db7,_0x4be1e7,_0xd057dc,_0x386d0b){var _0x24585e=_0xca24ed+(_0x10fc33&_0x5e1db7|_0x2724cd&~_0x5e1db7)+_0x4be1e7+_0x386d0b;return(_0x24585e<<_0xd057dc|_0x24585e>>>0x20-_0xd057dc)+_0x10fc33;}function _0x4e1ef6(_0x3a925a,_0x1aad3f,_0x27af32,_0x332f97,_0xf21e99,_0x1a436d,_0x35e2f4){var _0xb7ad53=_0x3a925a+(_0x1aad3f^_0x27af32^_0x332f97)+_0xf21e99+_0x35e2f4;return(_0xb7ad53<<_0x1a436d|_0xb7ad53>>>0x20-_0x1a436d)+_0x1aad3f;}function _0x566c98(_0x5960e4,_0x5e0245,_0x3d1a5,_0x1bd9bf,_0x1fae51,_0x53e2db,_0x534591){var _0x5b6e71=_0x5960e4+(_0x3d1a5^(_0x5e0245|~_0x1bd9bf))+_0x1fae51+_0x534591;return(_0x5b6e71<<_0x53e2db|_0x5b6e71>>>0x20-_0x53e2db)+_0x5e0245;}_0x1d92af[_0x3edb48(0x347)]=_0x53dc63[_0x3edb48(0x2fb)](_0x58bcc4),_0x1d92af['HmacMD5']=_0x53dc63[_0x3edb48(0x37f)](_0x58bcc4);}(Math),_0x2e8891[_0x4511d4(0x347)];}));}(Ke)),Ke[_0x45fda3(0x1e1)];}var Ye={'exports':{}},qe={'exports':{}},Cn=qe[_0x41545e(0x1e1)],ei;function Rn(){var _0x596090=_0x41545e;return ei||(ei=0x1,function(_0x5af6b0,_0x291776){(function(_0x1d5df3,_0x303291){var _0x2e2d25=_0x5230;_0x5af6b0[_0x2e2d25(0x1e1)]=_0x303291(ie());}(Cn,function(_0x433e6a){var _0x44278e=_0x5230;return(function(){var _0x334e14=_0x5230,_0x537710=_0x433e6a,_0x325a2d=_0x537710[_0x334e14(0x3fa)],_0x5e532f=_0x325a2d[_0x334e14(0x3a9)],_0x55317f=_0x325a2d[_0x334e14(0x234)],_0x54f70d=_0x537710[_0x334e14(0x34d)],_0x3c63b4=[],_0x255435=_0x54f70d['SHA1']=_0x55317f[_0x334e14(0x23a)]({'_doReset':function(){var _0x5f5465=_0x334e14;this[_0x5f5465(0x2ef)]=new _0x5e532f['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x1ed4c6,_0x8ca380){var _0x22a60d=_0x334e14;for(var _0x44d08d=this[_0x22a60d(0x2ef)]['words'],_0xf5f14=_0x44d08d[0x0],_0x51cb5f=_0x44d08d[0x1],_0xdab8e8=_0x44d08d[0x2],_0x58bc9a=_0x44d08d[0x3],_0xeda9c1=_0x44d08d[0x4],_0xefad6f=0x0;_0xefad6f<0x50;_0xefad6f++){if(_0xefad6f<0x10)_0x3c63b4[_0xefad6f]=_0x1ed4c6[_0x8ca380+_0xefad6f]|0x0;else{var _0x4116de=_0x3c63b4[_0xefad6f-0x3]^_0x3c63b4[_0xefad6f-0x8]^_0x3c63b4[_0xefad6f-0xe]^_0x3c63b4[_0xefad6f-0x10];_0x3c63b4[_0xefad6f]=_0x4116de<<0x1|_0x4116de>>>0x1f;}var _0x541a2c=(_0xf5f14<<0x5|_0xf5f14>>>0x1b)+_0xeda9c1+_0x3c63b4[_0xefad6f];_0xefad6f<0x14?_0x541a2c+=(_0x51cb5f&_0xdab8e8|~_0x51cb5f&_0x58bc9a)+0x5a827999:_0xefad6f<0x28?_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)+0x6ed9eba1:_0xefad6f<0x3c?_0x541a2c+=(_0x51cb5f&_0xdab8e8|_0x51cb5f&_0x58bc9a|_0xdab8e8&_0x58bc9a)-0x70e44324:_0x541a2c+=(_0x51cb5f^_0xdab8e8^_0x58bc9a)-0x359d3e2a,_0xeda9c1=_0x58bc9a,_0x58bc9a=_0xdab8e8,_0xdab8e8=_0x51cb5f<<0x1e|_0x51cb5f>>>0x2,_0x51cb5f=_0xf5f14,_0xf5f14=_0x541a2c;}_0x44d08d[0x0]=_0x44d08d[0x0]+_0xf5f14|0x0,_0x44d08d[0x1]=_0x44d08d[0x1]+_0x51cb5f|0x0,_0x44d08d[0x2]=_0x44d08d[0x2]+_0xdab8e8|0x0,_0x44d08d[0x3]=_0x44d08d[0x3]+_0x58bc9a|0x0,_0x44d08d[0x4]=_0x44d08d[0x4]+_0xeda9c1|0x0;},'_doFinalize':function(){var _0x3453bc=_0x334e14,_0x49ef79=this['_data'],_0x5ed673=_0x49ef79['words'],_0x4a1e83=this['_nDataBytes']*0x8,_0x5dfd0a=_0x49ef79['sigBytes']*0x8;return _0x5ed673[_0x5dfd0a>>>0x5]|=0x80<<0x18-_0x5dfd0a%0x20,_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xe]=Math[_0x3453bc(0x480)](_0x4a1e83/0x100000000),_0x5ed673[(_0x5dfd0a+0x40>>>0x9<<0x4)+0xf]=_0x4a1e83,_0x49ef79['sigBytes']=_0x5ed673[_0x3453bc(0x2fa)]*0x4,this[_0x3453bc(0x2f4)](),this[_0x3453bc(0x2ef)];},'clone':function(){var _0x9fdf05=_0x334e14,_0x564d48=_0x55317f[_0x9fdf05(0x198)]['call'](this);return _0x564d48[_0x9fdf05(0x2ef)]=this[_0x9fdf05(0x2ef)][_0x9fdf05(0x198)](),_0x564d48;}});_0x537710[_0x334e14(0x40f)]=_0x55317f[_0x334e14(0x2fb)](_0x255435),_0x537710[_0x334e14(0x350)]=_0x55317f['_createHmacHelper'](_0x255435);}()),_0x433e6a[_0x44278e(0x40f)];}));}(qe)),qe[_0x596090(0x1e1)];}var ze={'exports':{}},bn=ze[_0x41545e(0x1e1)],ti;function yn(){var _0x2ad6c4=_0x41545e;return ti||(ti=0x1,function(_0x564f1,_0x106a03){(function(_0x41533f,_0x100357){var _0x56c83e=_0x5230;_0x564f1[_0x56c83e(0x1e1)]=_0x100357(ie());}(bn,function(_0x57ce4b){(function(){var _0xdefe0f=_0x5230,_0x4745eb=_0x57ce4b,_0x3e4b26=_0x4745eb[_0xdefe0f(0x3fa)],_0x43fce1=_0x3e4b26['Base'],_0x457b72=_0x4745eb[_0xdefe0f(0x1cf)],_0x1fb897=_0x457b72[_0xdefe0f(0x22f)],_0xaa32b4=_0x4745eb[_0xdefe0f(0x34d)];_0xaa32b4[_0xdefe0f(0x43a)]=_0x43fce1[_0xdefe0f(0x23a)]({'init':function(_0x39e070,_0x1baee2){var _0x4ff181=_0xdefe0f;_0x39e070=this[_0x4ff181(0x40d)]=new _0x39e070[(_0x4ff181(0x1b4))](),typeof _0x1baee2==_0x4ff181(0x2e4)&&(_0x1baee2=_0x1fb897[_0x4ff181(0x3ce)](_0x1baee2));var _0x1cfc48=_0x39e070[_0x4ff181(0x3c8)],_0x13363e=_0x1cfc48*0x4;_0x1baee2[_0x4ff181(0x2b9)]>_0x13363e&&(_0x1baee2=_0x39e070[_0x4ff181(0x30a)](_0x1baee2)),_0x1baee2[_0x4ff181(0x243)]();for(var _0x547235=this[_0x4ff181(0x413)]=_0x1baee2['clone'](),_0x54f4a7=this['_iKey']=_0x1baee2[_0x4ff181(0x198)](),_0x3124da=_0x547235['words'],_0x5a4ddc=_0x54f4a7[_0x4ff181(0x318)],_0x56cfae=0x0;_0x56cfae<_0x1cfc48;_0x56cfae++)_0x3124da[_0x56cfae]^=0x5c5c5c5c,_0x5a4ddc[_0x56cfae]^=0x36363636;_0x547235['sigBytes']=_0x54f4a7[_0x4ff181(0x2b9)]=_0x13363e,this[_0x4ff181(0x25f)]();},'reset':function(){var _0x1de49f=_0xdefe0f,_0x4f4f5d=this[_0x1de49f(0x40d)];_0x4f4f5d[_0x1de49f(0x25f)](),_0x4f4f5d['update'](this[_0x1de49f(0x2a9)]);},'update':function(_0x1d736b){var _0x19b93d=_0xdefe0f;return this[_0x19b93d(0x40d)][_0x19b93d(0x3e2)](_0x1d736b),this;},'finalize':function(_0x9d64d9){var _0x2888d3=_0xdefe0f,_0x34d91c=this[_0x2888d3(0x40d)],_0xf70cfd=_0x34d91c[_0x2888d3(0x30a)](_0x9d64d9);_0x34d91c['reset']();var _0x52142a=_0x34d91c['finalize'](this[_0x2888d3(0x413)][_0x2888d3(0x198)]()[_0x2888d3(0x435)](_0xf70cfd));return _0x52142a;}});}());}));}(ze)),ze[_0x2ad6c4(0x1e1)];}var On=Ye[_0x41545e(0x1e1)],ii;function wi(){var _0x3b3531=_0x41545e;return ii||(ii=0x1,function(_0x1b583f,_0xaa3db4){(function(_0x5b45d5,_0x5d6500,_0x5b48b9){var _0x2d84c2=_0x5230;_0x1b583f[_0x2d84c2(0x1e1)]=_0x5d6500(ie(),Rn(),yn());}(On,function(_0x46d697){var _0x128406=_0x5230;return(function(){var _0x41db3=_0x5230,_0x125917=_0x46d697,_0x217c56=_0x125917[_0x41db3(0x3fa)],_0x1c584d=_0x217c56[_0x41db3(0x47b)],_0x61ebdd=_0x217c56[_0x41db3(0x3a9)],_0x159ad4=_0x125917[_0x41db3(0x34d)],_0x386db5=_0x159ad4['MD5'],_0x46757d=_0x159ad4[_0x41db3(0x352)]=_0x1c584d[_0x41db3(0x23a)]({'cfg':_0x1c584d[_0x41db3(0x23a)]({'keySize':0x80/0x20,'hasher':_0x386db5,'iterations':0x1}),'init':function(_0x3dda25){var _0x558b9d=_0x41db3;this[_0x558b9d(0x32c)]=this[_0x558b9d(0x32c)][_0x558b9d(0x23a)](_0x3dda25);},'compute':function(_0x288c16,_0x142a4b){var _0x559558=_0x41db3;for(var _0x4422c9,_0x2d9508=this['cfg'],_0x5e09b0=_0x2d9508[_0x559558(0x45c)][_0x559558(0x23c)](),_0x4c0dc2=_0x61ebdd['create'](),_0x2a6634=_0x4c0dc2[_0x559558(0x318)],_0x6a0ae0=_0x2d9508['keySize'],_0x4c5484=_0x2d9508[_0x559558(0x3f4)];_0x2a6634['length']<_0x6a0ae0;){_0x4422c9&&_0x5e09b0[_0x559558(0x3e2)](_0x4422c9),_0x4422c9=_0x5e09b0[_0x559558(0x3e2)](_0x288c16)[_0x559558(0x30a)](_0x142a4b),_0x5e09b0[_0x559558(0x25f)]();for(var _0x5f38ff=0x1;_0x5f38ff<_0x4c5484;_0x5f38ff++)_0x4422c9=_0x5e09b0[_0x559558(0x30a)](_0x4422c9),_0x5e09b0[_0x559558(0x25f)]();_0x4c0dc2[_0x559558(0x435)](_0x4422c9);}return _0x4c0dc2[_0x559558(0x2b9)]=_0x6a0ae0*0x4,_0x4c0dc2;}});_0x125917[_0x41db3(0x352)]=function(_0x489210,_0x38cfca,_0x25149e){var _0x46db9b=_0x41db3;return _0x46757d[_0x46db9b(0x23c)](_0x25149e)[_0x46db9b(0x250)](_0x489210,_0x38cfca);};}()),_0x46d697[_0x128406(0x352)];}));}(Ye)),Ye[_0x3b3531(0x1e1)];}var Je={'exports':{}},Nn=Je[_0x41545e(0x1e1)],ri;function Ui(){var _0x209641=_0x41545e;return ri||(ri=0x1,function(_0x51381b,_0x1ac0e1){(function(_0x46ae7c,_0x2d68ac,_0x3823f5){_0x51381b['exports']=_0x2d68ac(ie(),wi());}(Nn,function(_0x444b71){_0x444b71['lib']['Cipher']||function(_0x25acab){var _0x4457ba=_0x5230,_0x554c8a=_0x444b71,_0x48ced5=_0x554c8a[_0x4457ba(0x3fa)],_0x3bf036=_0x48ced5[_0x4457ba(0x47b)],_0x301f0c=_0x48ced5['WordArray'],_0x313f77=_0x48ced5['BufferedBlockAlgorithm'],_0x1e23e9=_0x554c8a[_0x4457ba(0x1cf)];_0x1e23e9['Utf8'];var _0x2f2267=_0x1e23e9[_0x4457ba(0x44f)],_0x3e9f8d=_0x554c8a[_0x4457ba(0x34d)],_0x10df95=_0x3e9f8d[_0x4457ba(0x352)],_0x11e0a9=_0x48ced5[_0x4457ba(0x220)]=_0x313f77[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)](),'createEncryptor':function(_0x262481,_0x38b6bb){var _0x3c2f3a=_0x4457ba;return this[_0x3c2f3a(0x23c)](this[_0x3c2f3a(0x1fb)],_0x262481,_0x38b6bb);},'createDecryptor':function(_0x2a5462,_0x1ba840){var _0x3c9af1=_0x4457ba;return this['create'](this[_0x3c9af1(0x231)],_0x2a5462,_0x1ba840);},'init':function(_0x349bff,_0x19419b,_0x4e36bb){var _0x38e5d4=_0x4457ba;this[_0x38e5d4(0x32c)]=this[_0x38e5d4(0x32c)][_0x38e5d4(0x23a)](_0x4e36bb),this[_0x38e5d4(0x19f)]=_0x349bff,this[_0x38e5d4(0x30d)]=_0x19419b,this[_0x38e5d4(0x25f)]();},'reset':function(){var _0x1a303f=_0x4457ba;_0x313f77[_0x1a303f(0x25f)][_0x1a303f(0x33e)](this),this[_0x1a303f(0x46c)]();},'process':function(_0x39f5ea){var _0x5d34c1=_0x4457ba;return this[_0x5d34c1(0x258)](_0x39f5ea),this['_process']();},'finalize':function(_0x22107c){var _0x957c5=_0x4457ba;_0x22107c&&this[_0x957c5(0x258)](_0x22107c);var _0x3c4c51=this['_doFinalize']();return _0x3c4c51;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x6e0c92(_0x5810bb){var _0x5594a2=_0x5230;return typeof _0x5810bb==_0x5594a2(0x2e4)?_0x56134d:_0x209255;}return function(_0x5e2724){return{'encrypt':function(_0x1eaea8,_0x586ebb,_0x3750bc){var _0x4ccd92=_0x5230;return _0x6e0c92(_0x586ebb)[_0x4ccd92(0x237)](_0x5e2724,_0x1eaea8,_0x586ebb,_0x3750bc);},'decrypt':function(_0x4102f3,_0x143ef1,_0x149043){var _0x48ae93=_0x5230;return _0x6e0c92(_0x143ef1)[_0x48ae93(0x1a2)](_0x5e2724,_0x4102f3,_0x143ef1,_0x149043);}};};}())});_0x48ced5[_0x4457ba(0x265)]=_0x11e0a9['extend']({'_doFinalize':function(){var _0x4088d2=this['_process'](!0x0);return _0x4088d2;},'blockSize':0x1});var _0x258150=_0x554c8a[_0x4457ba(0x3c4)]={},_0xfa8b08=_0x48ced5['BlockCipherMode']=_0x3bf036[_0x4457ba(0x23a)]({'createEncryptor':function(_0x71d3e0,_0x225fd0){var _0x4f0d9c=_0x4457ba;return this[_0x4f0d9c(0x334)]['create'](_0x71d3e0,_0x225fd0);},'createDecryptor':function(_0x46482e,_0x2e6ac8){var _0x312706=_0x4457ba;return this['Decryptor'][_0x312706(0x23c)](_0x46482e,_0x2e6ac8);},'init':function(_0x108d6a,_0x499a4a){var _0x5819c9=_0x4457ba;this[_0x5819c9(0x291)]=_0x108d6a,this[_0x5819c9(0x479)]=_0x499a4a;}}),_0x54a027=_0x258150[_0x4457ba(0x2fe)]=(function(){var _0x36509b=_0x4457ba,_0x4ab17d=_0xfa8b08[_0x36509b(0x23a)]();_0x4ab17d[_0x36509b(0x334)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x4f5f8d,_0x34fab4){var _0x33bea6=_0x36509b,_0xbaecf=this['_cipher'],_0x182660=_0xbaecf[_0x33bea6(0x3c8)];_0x26bd95[_0x33bea6(0x33e)](this,_0x4f5f8d,_0x34fab4,_0x182660),_0xbaecf['encryptBlock'](_0x4f5f8d,_0x34fab4),this[_0x33bea6(0x469)]=_0x4f5f8d[_0x33bea6(0x377)](_0x34fab4,_0x34fab4+_0x182660);}}),_0x4ab17d[_0x36509b(0x275)]=_0x4ab17d[_0x36509b(0x23a)]({'processBlock':function(_0x22a414,_0x55f84f){var _0xe9643c=_0x36509b,_0x378cfe=this[_0xe9643c(0x291)],_0xd69ba2=_0x378cfe['blockSize'],_0x3205d4=_0x22a414['slice'](_0x55f84f,_0x55f84f+_0xd69ba2);_0x378cfe['decryptBlock'](_0x22a414,_0x55f84f),_0x26bd95[_0xe9643c(0x33e)](this,_0x22a414,_0x55f84f,_0xd69ba2),this[_0xe9643c(0x469)]=_0x3205d4;}});function _0x26bd95(_0x565bb7,_0x1e436e,_0x59dcdb){var _0x16ce1b=_0x36509b,_0x346969,_0x50d41b=this[_0x16ce1b(0x479)];_0x50d41b?(_0x346969=_0x50d41b,this[_0x16ce1b(0x479)]=_0x25acab):_0x346969=this[_0x16ce1b(0x469)];for(var _0x32300e=0x0;_0x32300e<_0x59dcdb;_0x32300e++)_0x565bb7[_0x1e436e+_0x32300e]^=_0x346969[_0x32300e];}return _0x4ab17d;}()),_0x55d3b8=_0x554c8a[_0x4457ba(0x402)]={},_0x3fa291=_0x55d3b8[_0x4457ba(0x345)]={'pad':function(_0x3722a1,_0x42fe0f){var _0x31d4e4=_0x4457ba;for(var _0x54519a=_0x42fe0f*0x4,_0x24c6f4=_0x54519a-_0x3722a1['sigBytes']%_0x54519a,_0x3bf9f0=_0x24c6f4<<0x18|_0x24c6f4<<0x10|_0x24c6f4<<0x8|_0x24c6f4,_0x16ffdf=[],_0x2b0158=0x0;_0x2b0158<_0x24c6f4;_0x2b0158+=0x4)_0x16ffdf[_0x31d4e4(0x22d)](_0x3bf9f0);var _0x10c94d=_0x301f0c[_0x31d4e4(0x23c)](_0x16ffdf,_0x24c6f4);_0x3722a1[_0x31d4e4(0x435)](_0x10c94d);},'unpad':function(_0x5e404a){var _0x11ad3d=_0x4457ba,_0x4c09e9=_0x5e404a['words'][_0x5e404a[_0x11ad3d(0x2b9)]-0x1>>>0x2]&0xff;_0x5e404a['sigBytes']-=_0x4c09e9;}};_0x48ced5[_0x4457ba(0x415)]=_0x11e0a9[_0x4457ba(0x23a)]({'cfg':_0x11e0a9[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'mode':_0x54a027,'padding':_0x3fa291}),'reset':function(){var _0x395818=_0x4457ba,_0x303dbc;_0x11e0a9[_0x395818(0x25f)][_0x395818(0x33e)](this);var _0x4790a1=this[_0x395818(0x32c)],_0x8e5c58=_0x4790a1['iv'],_0x40d379=_0x4790a1[_0x395818(0x3c4)];this[_0x395818(0x19f)]==this[_0x395818(0x1fb)]?_0x303dbc=_0x40d379[_0x395818(0x2b1)]:(_0x303dbc=_0x40d379[_0x395818(0x21e)],this[_0x395818(0x441)]=0x1),this[_0x395818(0x235)]&&this[_0x395818(0x235)][_0x395818(0x1cd)]==_0x303dbc?this[_0x395818(0x235)][_0x395818(0x1b4)](this,_0x8e5c58&&_0x8e5c58[_0x395818(0x318)]):(this[_0x395818(0x235)]=_0x303dbc[_0x395818(0x33e)](_0x40d379,this,_0x8e5c58&&_0x8e5c58['words']),this[_0x395818(0x235)][_0x395818(0x1cd)]=_0x303dbc);},'_doProcessBlock':function(_0x1da3aa,_0x4f3213){this['_mode']['processBlock'](_0x1da3aa,_0x4f3213);},'_doFinalize':function(){var _0x54d9fd=_0x4457ba,_0x5124b4,_0x1bc845=this[_0x54d9fd(0x32c)][_0x54d9fd(0x268)];return this[_0x54d9fd(0x19f)]==this['_ENC_XFORM_MODE']?(_0x1bc845[_0x54d9fd(0x402)](this[_0x54d9fd(0x2c5)],this[_0x54d9fd(0x3c8)]),_0x5124b4=this['_process'](!0x0)):(_0x5124b4=this[_0x54d9fd(0x2f4)](!0x0),_0x1bc845[_0x54d9fd(0x241)](_0x5124b4)),_0x5124b4;},'blockSize':0x80/0x20});var _0x263185=_0x48ced5[_0x4457ba(0x24a)]=_0x3bf036['extend']({'init':function(_0x53d7c6){var _0x3f2909=_0x4457ba;this[_0x3f2909(0x326)](_0x53d7c6);},'toString':function(_0x2762b6){var _0x36ad0c=_0x4457ba;return(_0x2762b6||this[_0x36ad0c(0x320)])[_0x36ad0c(0x2cf)](this);}}),_0x2bcbea=_0x554c8a[_0x4457ba(0x3d3)]={},_0x214f3c=_0x2bcbea['OpenSSL']={'stringify':function(_0x4c725f){var _0x3b7281=_0x4457ba,_0x99ee23,_0x23ee95=_0x4c725f['ciphertext'],_0x4afbc6=_0x4c725f['salt'];return _0x4afbc6?_0x99ee23=_0x301f0c[_0x3b7281(0x23c)]([0x53616c74,0x65645f5f])[_0x3b7281(0x435)](_0x4afbc6)[_0x3b7281(0x435)](_0x23ee95):_0x99ee23=_0x23ee95,_0x99ee23[_0x3b7281(0x273)](_0x2f2267);},'parse':function(_0x1a60a1){var _0x57753=_0x4457ba,_0x576d54,_0x44e82b=_0x2f2267['parse'](_0x1a60a1),_0x12dc2b=_0x44e82b[_0x57753(0x318)];return _0x12dc2b[0x0]==0x53616c74&&_0x12dc2b[0x1]==0x65645f5f&&(_0x576d54=_0x301f0c[_0x57753(0x23c)](_0x12dc2b[_0x57753(0x377)](0x2,0x4)),_0x12dc2b['splice'](0x0,0x4),_0x44e82b[_0x57753(0x2b9)]-=0x10),_0x263185[_0x57753(0x23c)]({'ciphertext':_0x44e82b,'salt':_0x576d54});}},_0x209255=_0x48ced5[_0x4457ba(0x3db)]=_0x3bf036[_0x4457ba(0x23a)]({'cfg':_0x3bf036[_0x4457ba(0x23a)]({'format':_0x214f3c}),'encrypt':function(_0x16f0e5,_0x455a4c,_0x284656,_0x522462){var _0x445a00=_0x4457ba;_0x522462=this[_0x445a00(0x32c)]['extend'](_0x522462);var _0x2a106f=_0x16f0e5[_0x445a00(0x2b1)](_0x284656,_0x522462),_0x32a0a0=_0x2a106f['finalize'](_0x455a4c),_0x37f085=_0x2a106f['cfg'];return _0x263185[_0x445a00(0x23c)]({'ciphertext':_0x32a0a0,'key':_0x284656,'iv':_0x37f085['iv'],'algorithm':_0x16f0e5,'mode':_0x37f085[_0x445a00(0x3c4)],'padding':_0x37f085['padding'],'blockSize':_0x16f0e5[_0x445a00(0x3c8)],'formatter':_0x522462['format']});},'decrypt':function(_0x1242a1,_0x1c0b51,_0x59d150,_0x48ac83){var _0x11c286=_0x4457ba;_0x48ac83=this[_0x11c286(0x32c)][_0x11c286(0x23a)](_0x48ac83),_0x1c0b51=this[_0x11c286(0x2c8)](_0x1c0b51,_0x48ac83[_0x11c286(0x3d3)]);var _0x3eae54=_0x1242a1[_0x11c286(0x21e)](_0x59d150,_0x48ac83)[_0x11c286(0x30a)](_0x1c0b51[_0x11c286(0x1dc)]);return _0x3eae54;},'_parse':function(_0x5ee569,_0xcf3b3a){var _0x1688dd=_0x4457ba;return typeof _0x5ee569==_0x1688dd(0x2e4)?_0xcf3b3a[_0x1688dd(0x3ce)](_0x5ee569,this):_0x5ee569;}}),_0x2ca3b2=_0x554c8a[_0x4457ba(0x1ad)]={},_0x48f6f6=_0x2ca3b2['OpenSSL']={'execute':function(_0x1467e2,_0x235ba9,_0x149050,_0x5b2cf1,_0x464467){var _0x58e24e=_0x4457ba;if(_0x5b2cf1||(_0x5b2cf1=_0x301f0c['random'](0x40/0x8)),_0x464467)var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050,'hasher':_0x464467})[_0x58e24e(0x250)](_0x1467e2,_0x5b2cf1);else var _0x3934ea=_0x10df95[_0x58e24e(0x23c)]({'keySize':_0x235ba9+_0x149050})['compute'](_0x1467e2,_0x5b2cf1);var _0x5aa018=_0x301f0c[_0x58e24e(0x23c)](_0x3934ea[_0x58e24e(0x318)][_0x58e24e(0x377)](_0x235ba9),_0x149050*0x4);return _0x3934ea[_0x58e24e(0x2b9)]=_0x235ba9*0x4,_0x263185['create']({'key':_0x3934ea,'iv':_0x5aa018,'salt':_0x5b2cf1});}},_0x56134d=_0x48ced5['PasswordBasedCipher']=_0x209255['extend']({'cfg':_0x209255[_0x4457ba(0x32c)][_0x4457ba(0x23a)]({'kdf':_0x48f6f6}),'encrypt':function(_0x3ca5d8,_0x451965,_0x746c55,_0x4fd460){var _0x33ec05=_0x4457ba;_0x4fd460=this[_0x33ec05(0x32c)]['extend'](_0x4fd460);var _0x5c45e0=_0x4fd460[_0x33ec05(0x1ad)][_0x33ec05(0x39d)](_0x746c55,_0x3ca5d8['keySize'],_0x3ca5d8[_0x33ec05(0x40e)],_0x4fd460['salt'],_0x4fd460['hasher']);_0x4fd460['iv']=_0x5c45e0['iv'];var _0x604ba=_0x209255[_0x33ec05(0x237)]['call'](this,_0x3ca5d8,_0x451965,_0x5c45e0[_0x33ec05(0x3aa)],_0x4fd460);return _0x604ba[_0x33ec05(0x326)](_0x5c45e0),_0x604ba;},'decrypt':function(_0x3d15ff,_0x2464be,_0x5ad333,_0x923d38){var _0xea81de=_0x4457ba;_0x923d38=this['cfg']['extend'](_0x923d38),_0x2464be=this['_parse'](_0x2464be,_0x923d38[_0xea81de(0x3d3)]);var _0x36ddae=_0x923d38['kdf']['execute'](_0x5ad333,_0x3d15ff[_0xea81de(0x249)],_0x3d15ff[_0xea81de(0x40e)],_0x2464be[_0xea81de(0x42f)],_0x923d38['hasher']);_0x923d38['iv']=_0x36ddae['iv'];var _0x39bf8a=_0x209255[_0xea81de(0x1a2)][_0xea81de(0x33e)](this,_0x3d15ff,_0x2464be,_0x36ddae[_0xea81de(0x3aa)],_0x923d38);return _0x39bf8a;}});}();}));}(Je)),Je[_0x209641(0x1e1)];}var Dn=Ge[_0x41545e(0x1e1)],ni;function wn(){return ni||(ni=0x1,function(_0x56b20e,_0x293635){(function(_0xaacb16,_0x36fde4,_0x146631){var _0x281a28=_0x5230;_0x56b20e[_0x281a28(0x1e1)]=_0x36fde4(ie(),Di(),Tn(),wi(),Ui());}(Dn,function(_0x5ac62d){var _0x4149fd=_0x5230;return(function(){var _0x59230a=_0x5230,_0xbd5f70=_0x5ac62d,_0x1f47ad=_0xbd5f70[_0x59230a(0x3fa)],_0x2319ed=_0x1f47ad[_0x59230a(0x415)],_0x295012=_0xbd5f70[_0x59230a(0x34d)],_0x4b2276=[],_0x29373f=[],_0x376864=[],_0x335f83=[],_0x4ad315=[],_0x2722a6=[],_0x4d43f5=[],_0x40c087=[],_0x18f76b=[],_0x148ec1=[];(function(){for(var _0x34fcb3=[],_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++)_0x57fa2a<0x80?_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1:_0x34fcb3[_0x57fa2a]=_0x57fa2a<<0x1^0x11b;for(var _0x1d29c7=0x0,_0xccc119=0x0,_0x57fa2a=0x0;_0x57fa2a<0x100;_0x57fa2a++){var _0x58f6e2=_0xccc119^_0xccc119<<0x1^_0xccc119<<0x2^_0xccc119<<0x3^_0xccc119<<0x4;_0x58f6e2=_0x58f6e2>>>0x8^_0x58f6e2&0xff^0x63,_0x4b2276[_0x1d29c7]=_0x58f6e2,_0x29373f[_0x58f6e2]=_0x1d29c7;var _0x152889=_0x34fcb3[_0x1d29c7],_0x3c7c8a=_0x34fcb3[_0x152889],_0x153d70=_0x34fcb3[_0x3c7c8a],_0x3fc50b=_0x34fcb3[_0x58f6e2]*0x101^_0x58f6e2*0x1010100;_0x376864[_0x1d29c7]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x335f83[_0x1d29c7]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x4ad315[_0x1d29c7]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x2722a6[_0x1d29c7]=_0x3fc50b;var _0x3fc50b=_0x153d70*0x1010101^_0x3c7c8a*0x10001^_0x152889*0x101^_0x1d29c7*0x1010100;_0x4d43f5[_0x58f6e2]=_0x3fc50b<<0x18|_0x3fc50b>>>0x8,_0x40c087[_0x58f6e2]=_0x3fc50b<<0x10|_0x3fc50b>>>0x10,_0x18f76b[_0x58f6e2]=_0x3fc50b<<0x8|_0x3fc50b>>>0x18,_0x148ec1[_0x58f6e2]=_0x3fc50b,_0x1d29c7?(_0x1d29c7=_0x152889^_0x34fcb3[_0x34fcb3[_0x34fcb3[_0x153d70^_0x152889]]],_0xccc119^=_0x34fcb3[_0x34fcb3[_0xccc119]]):_0x1d29c7=_0xccc119=0x1;}}());var _0x1a7b01=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x7970a7=_0x295012[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x23a)]({'_doReset':function(){var _0x1ecede=_0x59230a,_0xf4ecbe;if(!(this[_0x1ecede(0x2b2)]&&this[_0x1ecede(0x2ae)]===this[_0x1ecede(0x30d)])){for(var _0x1316af=this[_0x1ecede(0x2ae)]=this[_0x1ecede(0x30d)],_0x1549fd=_0x1316af[_0x1ecede(0x318)],_0x5d1d44=_0x1316af[_0x1ecede(0x2b9)]/0x4,_0x2d7703=this[_0x1ecede(0x2b2)]=_0x5d1d44+0x6,_0x27c86d=(_0x2d7703+0x1)*0x4,_0x257008=this[_0x1ecede(0x3ec)]=[],_0x208ddb=0x0;_0x208ddb<_0x27c86d;_0x208ddb++)_0x208ddb<_0x5d1d44?_0x257008[_0x208ddb]=_0x1549fd[_0x208ddb]:(_0xf4ecbe=_0x257008[_0x208ddb-0x1],_0x208ddb%_0x5d1d44?_0x5d1d44>0x6&&_0x208ddb%_0x5d1d44==0x4&&(_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff]):(_0xf4ecbe=_0xf4ecbe<<0x8|_0xf4ecbe>>>0x18,_0xf4ecbe=_0x4b2276[_0xf4ecbe>>>0x18]<<0x18|_0x4b2276[_0xf4ecbe>>>0x10&0xff]<<0x10|_0x4b2276[_0xf4ecbe>>>0x8&0xff]<<0x8|_0x4b2276[_0xf4ecbe&0xff],_0xf4ecbe^=_0x1a7b01[_0x208ddb/_0x5d1d44|0x0]<<0x18),_0x257008[_0x208ddb]=_0x257008[_0x208ddb-_0x5d1d44]^_0xf4ecbe);for(var _0x43fdd7=this[_0x1ecede(0x22e)]=[],_0x5b83ae=0x0;_0x5b83ae<_0x27c86d;_0x5b83ae++){var _0x208ddb=_0x27c86d-_0x5b83ae;if(_0x5b83ae%0x4)var _0xf4ecbe=_0x257008[_0x208ddb];else var _0xf4ecbe=_0x257008[_0x208ddb-0x4];_0x5b83ae<0x4||_0x208ddb<=0x4?_0x43fdd7[_0x5b83ae]=_0xf4ecbe:_0x43fdd7[_0x5b83ae]=_0x4d43f5[_0x4b2276[_0xf4ecbe>>>0x18]]^_0x40c087[_0x4b2276[_0xf4ecbe>>>0x10&0xff]]^_0x18f76b[_0x4b2276[_0xf4ecbe>>>0x8&0xff]]^_0x148ec1[_0x4b2276[_0xf4ecbe&0xff]];}}},'encryptBlock':function(_0x379126,_0x4dad1b){var _0x5e3fb4=_0x59230a;this[_0x5e3fb4(0x285)](_0x379126,_0x4dad1b,this[_0x5e3fb4(0x3ec)],_0x376864,_0x335f83,_0x4ad315,_0x2722a6,_0x4b2276);},'decryptBlock':function(_0x49abe7,_0x5b37c2){var _0xa6f1cf=_0x59230a,_0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640,this[_0xa6f1cf(0x285)](_0x49abe7,_0x5b37c2,this[_0xa6f1cf(0x22e)],_0x4d43f5,_0x40c087,_0x18f76b,_0x148ec1,_0x29373f);var _0x45f640=_0x49abe7[_0x5b37c2+0x1];_0x49abe7[_0x5b37c2+0x1]=_0x49abe7[_0x5b37c2+0x3],_0x49abe7[_0x5b37c2+0x3]=_0x45f640;},'_doCryptBlock':function(_0x2d40c9,_0x1fb104,_0x201f2e,_0x21b39d,_0x30c3bf,_0x5bca0b,_0x482cd4,_0x3451ed){var _0x226506=_0x59230a;for(var _0x4f49f2=this[_0x226506(0x2b2)],_0x2c7946=_0x2d40c9[_0x1fb104]^_0x201f2e[0x0],_0x163695=_0x2d40c9[_0x1fb104+0x1]^_0x201f2e[0x1],_0x28d73f=_0x2d40c9[_0x1fb104+0x2]^_0x201f2e[0x2],_0x5e6f14=_0x2d40c9[_0x1fb104+0x3]^_0x201f2e[0x3],_0x3f095f=0x4,_0x2cbcc0=0x1;_0x2cbcc0<_0x4f49f2;_0x2cbcc0++){var _0x450519=_0x21b39d[_0x2c7946>>>0x18]^_0x30c3bf[_0x163695>>>0x10&0xff]^_0x5bca0b[_0x28d73f>>>0x8&0xff]^_0x482cd4[_0x5e6f14&0xff]^_0x201f2e[_0x3f095f++],_0x5a7665=_0x21b39d[_0x163695>>>0x18]^_0x30c3bf[_0x28d73f>>>0x10&0xff]^_0x5bca0b[_0x5e6f14>>>0x8&0xff]^_0x482cd4[_0x2c7946&0xff]^_0x201f2e[_0x3f095f++],_0x30184e=_0x21b39d[_0x28d73f>>>0x18]^_0x30c3bf[_0x5e6f14>>>0x10&0xff]^_0x5bca0b[_0x2c7946>>>0x8&0xff]^_0x482cd4[_0x163695&0xff]^_0x201f2e[_0x3f095f++],_0xd14409=_0x21b39d[_0x5e6f14>>>0x18]^_0x30c3bf[_0x2c7946>>>0x10&0xff]^_0x5bca0b[_0x163695>>>0x8&0xff]^_0x482cd4[_0x28d73f&0xff]^_0x201f2e[_0x3f095f++];_0x2c7946=_0x450519,_0x163695=_0x5a7665,_0x28d73f=_0x30184e,_0x5e6f14=_0xd14409;}var _0x450519=(_0x3451ed[_0x2c7946>>>0x18]<<0x18|_0x3451ed[_0x163695>>>0x10&0xff]<<0x10|_0x3451ed[_0x28d73f>>>0x8&0xff]<<0x8|_0x3451ed[_0x5e6f14&0xff])^_0x201f2e[_0x3f095f++],_0x5a7665=(_0x3451ed[_0x163695>>>0x18]<<0x18|_0x3451ed[_0x28d73f>>>0x10&0xff]<<0x10|_0x3451ed[_0x5e6f14>>>0x8&0xff]<<0x8|_0x3451ed[_0x2c7946&0xff])^_0x201f2e[_0x3f095f++],_0x30184e=(_0x3451ed[_0x28d73f>>>0x18]<<0x18|_0x3451ed[_0x5e6f14>>>0x10&0xff]<<0x10|_0x3451ed[_0x2c7946>>>0x8&0xff]<<0x8|_0x3451ed[_0x163695&0xff])^_0x201f2e[_0x3f095f++],_0xd14409=(_0x3451ed[_0x5e6f14>>>0x18]<<0x18|_0x3451ed[_0x2c7946>>>0x10&0xff]<<0x10|_0x3451ed[_0x163695>>>0x8&0xff]<<0x8|_0x3451ed[_0x28d73f&0xff])^_0x201f2e[_0x3f095f++];_0x2d40c9[_0x1fb104]=_0x450519,_0x2d40c9[_0x1fb104+0x1]=_0x5a7665,_0x2d40c9[_0x1fb104+0x2]=_0x30184e,_0x2d40c9[_0x1fb104+0x3]=_0xd14409;},'keySize':0x100/0x20});_0xbd5f70[_0x59230a(0x43b)]=_0x2319ed[_0x59230a(0x2fb)](_0x7970a7);}()),_0x5ac62d[_0x4149fd(0x43b)];}));}(Ge)),Ge['exports'];}var Un=wn();const An=He(Un);var Pn=Di();function _0x5f23(){var _0x43d962=['_httpService','addHandlerCallback','_injector','onStarting','onSyncEditingCollabCursor','originalMeta','ws://127.0.0.1:8000/universer-api/comb/connect','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','unitId','onload','updateOfflineData','getValue','UNDEFINED','rev','HEARTBEAT','/block/','LIVESHARE_NEW_HOST','repeat','slice','UNIVER_DOC','m2Prime','HttpImport','COLLAB_SUBMIT_CHANGESET_URL','SUBMIT_CHANGESET_TIMEOUT','/universer-api/snapshot/','_remoteChangesetQueue','_createHmacHelper','Univer','memberID','SNAPSHOT_SERVER_URL_KEY','_onUserJoin','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_map','onlyLocal','_onConnectionFailed','removeMember','shouldCloseConn','pending','__esModule','filter','loadSheet','asObservable','_clearLocalCache','objectActions','JOINING','ERROR_EXCEED_SIZE','get','isArray','actions','_commandService','_init','_logService','_unitID','loadUnit','default','FETCH_MISSING','execute','save\x20fail\x20reason\x20is\x20','_shouldReportTelemetry','editing\x20status\x20changed\x20to','onTransformIME','_clearHeartbeatTimer','_reverseMap','_executeRemoteChangeset','fetchMissingChangesets','CHANGESET_REJ','189870NwWNRb','snapshotServerUrl','WordArray','key','debug','_transformService','_revisionService','charAt','_onRemoteRetry','_retryCount','_entities','_initDependencies','_singleActiveUnitService','interceptor','[CollaborationSessionService]','USERS_ENTER','_socket$','_socketReady','FAIL','encode','awaiting','CHANGESET_SHOULD_RETRY','onRemoteAck','[OfflineState]:\x20received\x20changeset.','_awaitingChangeset','onSendChangeset','CLOSE_ROOM','CONNECTOR_DATA_TOO_LARGE','LIVESHARE_OPERATION','mode','isPermissionRej','NoPadding','univer-pro.collaboration-client-socket-service','blockSize','sin','_sheetTransformSelectionsService','APPLY_PERMISSION_DENIED','_onLocalMutation','startsWith','parse','_type','updateCursorEvent','POST','set','format','message$','action','saveSheetBlock','cmd','every','_localCacheService','post','SerializableCipher','addImageSourceCache','[CollaborationUndoRedoService]','_transformIMECache','CHANGESET_ACK','_updateLocalCache','c1Prime','update','GLOBAL_ROOMS_CNT_EXCEEDS','socket$','_stopTelemetryCollaborationNewChangeset','joinEvent','startTime','updatePermissionPoint','/new_changes','PERSON','session.room-cnt-exceeds','_keySchedule','univer-pro.collaboration-client.single-active-unit-service','socket\x20close','_clearRedo','_getUploadFileURL','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformRemoteChangesetByStateCache','open$','iterations','crypto','_rescheduleHeartbeat','_replaceFileID','UNKNOWN_CMD','_clearCollaborationTimeoutTimer','lib','getFocusedUnit','JOIN_ROOM_FULL','auth.needGotoLoginAlert','6TxOhoO','fetchMiss','map','max','pad','_onFetchMissResult','collaboration-client.config','prototype','onRemoteChangeset','selections','deepClone','ALREADY_EXISTS','\x20to\x20','subscribe','changesets','_hasher','ivSize','SHA1','/unit/','rng','_handler','_oKey','getTime','BlockCipher','getCollabEntity$','_transitionLocked','_tryReconnect','fetchThroughInterceptors','disposeWithMe','listCollaborators','loadDoc','[PendingState]:\x20received\x20acknowledgement.','_getCtorByUniverType','_sendHeartbeat','MSG_FOR_ERROR','_collaborationPaused','_entityInit$','dispose$','incrementRevOfUnit','session.join-failed','21SjhuIU','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','roomInfos','toggleOffline','awaiting_with_pending','collaborators','online$','newCsEvent','range','salt','indexOf','LICENSE_EXPORT_SIZE_EXCEEDED','_getAPIPrefix','CHANGESET_REVISION_CONFILICT','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','concat','params','[PendingState]:\x20received\x20rejection.','event$','onRemoteRej','HMAC','AES','?url=','\x0aAfter:\x20','_transformSelections','_substituteRedoStack','onCommentUpdate','_minBufferSize','_collabSessionService','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','JOIN_ROOM_PERMISSION_DENIED','_onRemoteChangeset','infoRsp','conflict','_createHandler','_sendHeartbeatTimer','eventID','_disableEditing','requireSession','_updateStatus','SNAPSHOT_INVALID_SNAPSHOT','Base64','IDLE','_status$','_throwTelemetryCollaborationNewChangeset','target','68481XiVlKB','_handlerCallback','HttpExport','ENSURE_SNAPSHOT_EXECUTION','_roomMembers','loadOfflineData','INVALID_ARGUMENT','sheets','hasher','permissionRejEvent','\x20in\x20_schedule.','appendMutation','_clearUndo','getImage','unknown','LIVESHARE_TERMINATE','$super','_state','getWorkbookSelections','liveShareOperation','resend','_prevBlock','_decreaseWaiting','_getSendChangesetTimeout','_doReset','_members','has','bind','_loadDoc','2741072Hzyhke','_redoStacks','_queuedRemoteChangesets','UPDATE_CURSOR','_commentService','getAllMembers','fetching\x20missing\x20changesets\x20from\x20','method','_iv','getInterceptPoints','Base','[OfflineState]:\x20received\x20acknowledgement.','liveShareNewHost','uniscriptRunEvent','_onConflict','floor','APPLY_DUPLICATED','image/bmp','_acknowledgedAwaitingChangeset','transformSelections','getCurrentRevOfUnit','collaboratorID','[CollaborationState]:\x20apply\x20error!','getTypeOfUnitDisposed$','_doProcessBlock','members$','SEND_CHANGESET_TIMEOUT','add','getSheetBlock','generateRandomId','updatePermissionObjEvent','_timeoutTimer','NOT_COLLAB','catch','members','clone','[FetchMissState]','getCollabEntity','stopTime','function','initWorkbookPermissionChange','_sessions','_xformMode','hasOwnProperty','_collaborationSessionService','decrypt','_roomCreated$','updateMember','name','session','fromCollab','/-/object/-/batch_allowed','_scheduleCompleteTimestamp','[OfflineState]:\x20received\x20rejection.','refreshPermission','LIVESHARE_REQUEST_HOST','kdf','_collaborationUIEventService','UNIVER_SHEET','/universer-api/stream/file/upload','getRandomValues','INGEST','type','init','collabSubmitChangesetUrl','UNAUTHENTICATED','_fetchMissChangesets','file','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TOO_MANY_REQUESTS','_clearScheduledTask','requestParams','BufferedBlockAlgorithm','_waitForHeartbeatResponse','csShouldRetryEvent','buffer','onCommandExecuted','_createInitialStateImpl','_imageSourceCache','51748AHsXfc','complete','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','onMissingChangesets','_replayCachedMutations','_unitInfo$','telemetry\x20info\x20is\x20not\x20initialized','textRanges','_onRemoteACK','__creator','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','enc','/universer-api/authz','HELLO','sessionStatus$','collaMsg','UNISCRIPT_RUN','_isPermissionRej','_changesetReqId','_getLoginPath','forEach','PSEUDO_FETCH_MISSING_RESULT','duration','_userManagerService','ciphertext','_updateState','_transformStateCache','_retryConnectingTimer','/-/object/list','exports','findIndex','csAckEvent','patch','reqId','loginUrlKey','toLowerCase','randomUUID','_substituteUndoStack','objectType','COMPLETION_FINISHED','UNKNOWN_CODE','OFFLINE','UNIVER_COLLABORATION_CLIENT_PLUGIN','avatar','_clearTimeoutTimer','/collaborator','/universer-api/oidc/authpage','DEFAULT_FILE_NAME','registerHTTPInterceptor','SNAPSHOT_URL_KEY','_univerInstanceService','/object','setCurrentUser','[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.','MUTATION','_ENC_XFORM_MODE','routeKey','batchAllowed','sessionStatus','_changesetSessionId','/universer-api/snapshot','Malformed\x20UTF-8\x20data','_initCloseConn','JOIN_ROOM_FAILED','_showConflictNotification','join','Could\x20not\x20dynamically\x20require\x20\x22','setConfig','getSnapshotAPIPath','/universer-api/user/session-ticket','Undefined','13077340DvOcwf','executeCommand','close','_getSignURL','[CollaborationSession]','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','_checkMissing','/role','HEARTBEAT_TIMEOUT','pluginName','symbol','onTransformState','_lockTransition','USERS_LEAVE','_onCombEvent','commentUpdate$','c2Prime','getImageSourceCache','[DataLoaderService]','createDecryptor','COLLAB_WEB_SOCKET_URL','Cipher','unit-cache-','getConfig','[SyncedState]:\x20received\x20acknowledgement.','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','YUUMI_SUBSCRIPTION_NOT_FOUND','data','_sender','COMPRESS_MUTATION_SEND','RECV','/universer-api/file/{fileID}/sign-url','_onRemoteRejected','from','push','_invKeySchedule','Utf8','session.room-full','_DEC_XFORM_MODE','put','location','Hasher','_mode','resolve','encrypt','enableSingleActiveInstanceLock','origin','extend','append','create','LICENSE_MAX_UNITS_EXCEEDED','/universer-api/comb','change$','reject','unpad','_socketMessageSubscription','clamp','status','UnitSnapshot','closeSession','_sessionStatus$','YUUMI_URL_COL_OUT_OF_RANGE','keySize','CipherParams','_createInitialState','send','_transformStack','getUnitOnRev','emitEvent','compute','SYNCED','onMissedChangesetFetched','_undoRedoService','transformMutationsWithChangeset','PERMISSION_REJ','_applyRemoteChangeset','headers','_append','_getUndoStack','unitID','focused$','_createSocket','_HTTPService','next','reset','synced','_listenToNetworkCondition','_socketService','signUrlServerUrl','apply','StreamCipher','AWAITING','getCurrentUser','padding','UNIVER_PROJECT','_toggleOnline','_toggleOffline','_permissionService','objectID','socketService','localeService','JOIN','getOwnPropertyDescriptor','onTransformRemoteChangesetByIMECache','toString','toggleOnline','Decryptor','_event$','_removeRoom','NO_OTHER_CLIENTS_EDITING','awaitingChangeset','delete','defineProperty','withCredentials','userID','\x20-\x20','entityInit$','ONLINE','transformStack\x20failed!','submit\x20changeset\x20error!','LOCAL_CACHE_INTERVAL','byteLength','_doCryptBlock','find','__Key__','_undoStacks','copyFileMeta','_getAPIPrefixPath','capture','_doFinalize','image/png','UNRECOGNIZED','setShowComponents','getDeserializedSheetBlock','_cipher','mutations','dispose','_resendWithTimeout','randomBytes','connection\x20error','image/jpg','title','_onConnectionOpen','_memberService','LEAVE','fromCharCode','getTypeOfUnitAdded$','transformUndoRedo','_registerDependencies','getActiveSheet','APPLY_REVISION_CONFILICT','revision','_tryEnsureSocket','JOIN_ROOM_NOT_EXISTS','UnitEmbedded','downloadEndpointUrl','state','_telemetryInfo','_iKey','then','onRemoteRetry','ceil','_compressMutationService','_keyPriorReset','responseType','PERMISSION_DENIED','createEncryptor','_nRounds','_collaborationTimeoutTimer','Latin1','_schedule','session.room-permission-denied','baseRev','_unlockTransition','sigBytes','unsubscribe','?size=','onTransformSelections','enableAuthServer','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','/object/','getResourcesRequest','href','_transformUndoredo','OTHER_CLIENTS_EDITING','_snapshotServerService','_data','json','/fetchmissing?from=','_parse','7471422ABomCU','LIVESHARE_FETCH_OPERATIONS','CONFLICT','NOT_FOUND','\x0aCurrent:\x20','workbook','stringify','_resendTimeout','collabWebSocketUrl','People','localCacheService','encodeURIComponent','_snapshotService','_emitMembers','_exhaustRemoteChangesetQueue','list','COMPRESS_MUTATION_APPLY','APPLY_NON_SEQUENTIAL_REVISION','YUUMI_RATE_OVER_LIMIT','609198WLRqhN','FETCH_MISS','YUUMI_UNABLE_LOAD_URL','msCrypto','createCollaborator','_resendTimer','_initMergeInterceptor','_joinRoom','string','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','enableOfflineEditing','_transformRemoteChangesetByStateCache','waitForRoom$','_initRequestHeader','LICENSE_DISTRO_REJECTED','_socket','not_collab','BASE64','SOCKET_FAILED','_hash','_configService','random','saveChangeset','subUnitId','_process','substr','_incrementRevisionNumber','_telemetryService','now','_eventService','length','_createHelper','_syncEditingCollabCursor','OTHER_CLIENT_EDITING','CBC','_onMessage','splice','UNIVER_SLIDE','clear','_candidateSocket','_nDataBytes','values','UPDATE_PERMISSION_OBJ','createSocket','_state$','SUCCUSS','finalize','pipe','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_key','_commentUpdate$','{fileID}','/allowed','getUnit','_networkConditionService','reduce','_getCurrentRevision','COMMENT_UPDATE','updateCollaborator','OPTIONAL','words','_transformRemoteChangesetByIMECache','src','state$','ERROR_IMAGE','getUnitStatus$','socket\x20open.','error$','formatter','unitId\x20is\x20not\x20found','_initUnitPermissionChange','body','hostname','_sendingTimer','mixIn','SOCKET_FAILED_RETRY','saveImage','charCodeAt','authzUrl','_startCollaboration','cfg','_getDownloadEndpointURL','_submitChangeset','getUnitId','code','getUnitType','_onJoinRoomEvent','FileId','Encryptor','_waitCount','_doCreateSocket','_members$','close$','SUBMIT_CHANGESET','_instanceService','NEW_CHANGESETS','getRoom','_scheduleCollaborationTimeoutTimer','call','UNIVER_UNKNOWN','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','size','/universer-api/uniscript','transformChangesets','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','Pkcs7','fetch_missing','MD5','joinRsp','_onRecvEvent','readAsDataURL','getMember','AWAITING_WITH_PENDING','algo','reconnect','createInstance','HmacSHA1','_getRedoStack','EvpKDF','error','[CollaborationEntity]','_onOffline','INTERNAL_ERROR','_localeService','_change$','disableLocalCache','_pendingMutations','getMemberID','url','_config','20RHdJVL','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','snapshot','result','sendChangesetTimeout','sid','onStateChange'];_0x5f23=function(){return _0x43d962;};return _0x5f23();}const si=He(Pn);var Xe={'exports':{}},xn=Xe[_0x41545e(0x1e1)],oi;function Ln(){var _0x436968=_0x41545e;return oi||(oi=0x1,function(_0x1fd50a,_0x164710){(function(_0x465791,_0xbae3d6){var _0x2acef5=_0x5230;_0x1fd50a[_0x2acef5(0x1e1)]=_0xbae3d6(ie());}(xn,function(_0xed0b17){var _0x1bd8ee=_0x5230;return _0xed0b17[_0x1bd8ee(0x1cf)][_0x1bd8ee(0x22f)];}));}(Xe)),Xe[_0x436968(0x1e1)];}var Mn=Ln();const kn=He(Mn);var Ze={'exports':{}},$n=Ze['exports'],ai;function Hn(){return ai||(ai=0x1,function(_0x5068b7,_0x2077e7){(function(_0x142697,_0x5db9fa){_0x5068b7['exports']=_0x5db9fa(ie());}($n,function(_0x10e506){var _0x29e447=_0x5230;return(function(){var _0x4efab7=_0x5230;if(typeof ArrayBuffer=='function'){var _0x527e98=_0x10e506,_0x4cdb3a=_0x527e98['lib'],_0x4264e1=_0x4cdb3a[_0x4efab7(0x3a9)],_0x361ba9=_0x4264e1['init'],_0x65defe=_0x4264e1[_0x4efab7(0x1b4)]=function(_0x1e1b7a){var _0x3638ba=_0x4efab7;if(_0x1e1b7a instanceof ArrayBuffer&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a)),(_0x1e1b7a instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1e1b7a instanceof Uint8ClampedArray||_0x1e1b7a instanceof Int16Array||_0x1e1b7a instanceof Uint16Array||_0x1e1b7a instanceof Int32Array||_0x1e1b7a instanceof Uint32Array||_0x1e1b7a instanceof Float32Array||_0x1e1b7a instanceof Float64Array)&&(_0x1e1b7a=new Uint8Array(_0x1e1b7a[_0x3638ba(0x1c0)],_0x1e1b7a['byteOffset'],_0x1e1b7a[_0x3638ba(0x284)])),_0x1e1b7a instanceof Uint8Array){for(var _0x3707e7=_0x1e1b7a['byteLength'],_0x160d9d=[],_0x912e7e=0x0;_0x912e7e<_0x3707e7;_0x912e7e++)_0x160d9d[_0x912e7e>>>0x2]|=_0x1e1b7a[_0x912e7e]<<0x18-_0x912e7e%0x4*0x8;_0x361ba9[_0x3638ba(0x33e)](this,_0x160d9d,_0x3707e7);}else _0x361ba9[_0x3638ba(0x264)](this,arguments);};_0x65defe['prototype']=_0x4264e1;}}()),_0x10e506['lib'][_0x29e447(0x3a9)];}));}(Ze)),Ze['exports'];}var Bn=Hn();const jn=He(Bn);var Qe={'exports':{}},Fn=Qe[_0x41545e(0x1e1)],ci;function Gn(){var _0x5b4a53=_0x41545e;return ci||(ci=0x1,function(_0x12fda3,_0x565bdf){(function(_0x5c91f6,_0x465490,_0x3f2891){_0x12fda3['exports']=_0x465490(ie(),Ui());}(Fn,function(_0x4bd803){var _0x45c6cb=_0x5230;return _0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)]={'pad':function(){},'unpad':function(){}},_0x4bd803[_0x45c6cb(0x402)][_0x45c6cb(0x3c6)];}));}(Qe)),Qe[_0x5b4a53(0x1e1)];}var Vn=Gn();function _0x5230(_0x418b52,_0x5b5cbf){var _0x5f2325=_0x5f23();return _0x5230=function(_0x5230cb,_0x316be2){_0x5230cb=_0x5230cb-0x186;var _0x411e59=_0x5f2325[_0x5230cb];return _0x411e59;},_0x5230(_0x418b52,_0x5b5cbf);}const Wn=He(Vn);function Kn(_0x57fd07,_0x24eb43){var _0x2ea66a=_0x41545e;const _0x1ec29b=_0x24eb43-_0x57fd07[_0x2ea66a(0x2fa)]%_0x24eb43,_0x2feb60=String[_0x2ea66a(0x29c)](_0x1ec29b)[_0x2ea66a(0x376)](_0x1ec29b);return _0x57fd07+_0x2feb60;}function Yn(_0x6619d2,_0x173955){var _0x51228f=_0x41545e;const _0xa58ffe=jn['random'](0x10),_0x519e48=Kn(_0x6619d2,0x10),_0x5aa0a2=An[_0x51228f(0x237)](kn['parse'](_0x519e48),si[_0x51228f(0x3ce)](_0x173955),{'iv':_0xa58ffe,'padding':Wn});return _0xa58ffe[_0x51228f(0x435)](_0x5aa0a2[_0x51228f(0x1dc)])[_0x51228f(0x273)](si);}function qn(){var _0x5c40ca=_0x41545e;const _0x1f4426=_0x759dcf()[_0x5c40ca(0x287)];if(_0x1f4426){const _0x4bca3c={'time':Math[_0x5c40ca(0x480)](Date[_0x5c40ca(0x2f8)]()/0x3e8),'domain':location[_0x5c40ca(0x324)]};return Yn(JSON['stringify'](_0x4bca3c),_0x1f4426);}}var zn=Object[_0x41545e(0x271)],Jn=(_0x22e622,_0xacae23,_0x364a1e,_0x525980)=>{var _0x8a07be=_0x41545e;for(var _0x31966a=_0x525980>0x1?void 0x0:_0x525980?zn(_0xacae23,_0x364a1e):_0xacae23,_0x1a6707=_0x22e622[_0x8a07be(0x2fa)]-0x1,_0x4e89c5;_0x1a6707>=0x0;_0x1a6707--)(_0x4e89c5=_0x22e622[_0x1a6707])&&(_0x31966a=_0x4e89c5(_0x31966a)||_0x31966a);return _0x31966a;},Xn=(_0x1e2e1f,_0x41e981)=>(_0x3082d4,_0x284e59)=>_0x41e981(_0x3082d4,_0x284e59,_0x1e2e1f);let ot=class{constructor(_0x2b03f0){var _0x4b4cfb=_0x41545e;this[_0x4b4cfb(0x365)]=_0x2b03f0,this['_initRequestHeader']();}[_0x41545e(0x2e9)](){var _0x59c4ad=_0x41545e;this['_httpService'][_0x59c4ad(0x1f4)]({'interceptor':(_0x5594e3,_0x44c9d2)=>{var _0xfdc36c=_0x59c4ad;const _0x331161=_0x5594e3['headers'],_0x713896=qn();return _0x713896&&_0x331161[_0xfdc36c(0x3d2)]('x-univer-host',_0x713896),_0x44c9d2(_0x5594e3);}});}};ot=Jn([Xn(0x0,_0x236453(_0x15df20))],ot);var Zn=Object[_0x41545e(0x271)],Qn=(_0x4433a2,_0x39a7cf,_0x141ad0,_0x14cfd1)=>{var _0x2f265d=_0x41545e;for(var _0x26e3c9=_0x14cfd1>0x1?void 0x0:_0x14cfd1?Zn(_0x39a7cf,_0x141ad0):_0x39a7cf,_0x3ae8e6=_0x4433a2[_0x2f265d(0x2fa)]-0x1,_0xbcefb;_0x3ae8e6>=0x0;_0x3ae8e6--)(_0xbcefb=_0x4433a2[_0x3ae8e6])&&(_0x26e3c9=_0xbcefb(_0x26e3c9)||_0x26e3c9);return _0x26e3c9;},mt=(_0x4c2e0f,_0x456496)=>(_0x9e48c8,_0x4d8685)=>_0x456496(_0x9e48c8,_0x4d8685,_0x4c2e0f);let bt=class extends _0x433c2f{constructor(_0x4f6de8,_0x5c043c,_0x53acde){var _0x45a8d3=_0x41545e;super(),N(this,'_unitInfo$',new _0x48d6f2(null)),N(this,'unitInfo$',this['_unitInfo$'][_0x45a8d3(0x38e)]()),(this[_0x45a8d3(0x398)]=_0x4f6de8,this[_0x45a8d3(0x2d5)]=_0x5c043c,this[_0x45a8d3(0x3d9)]=_0x53acde);}async[_0x41545e(0x39a)](_0x30fc20,_0x3323fe,_0x2265db){var _0x591e0d=_0x41545e;this[_0x591e0d(0x1c9)][_0x591e0d(0x25e)]({'unitId':_0x30fc20,'type':_0x3323fe,'subUnitId':_0x2265db});let _0xcb438=null;switch(_0x3323fe){case Q[_0x591e0d(0x1af)]:{_0xcb438=await this['_loadSheet'](_0x30fc20);break;}case Q['UNIVER_DOC']:{_0xcb438=await this[_0x591e0d(0x470)](_0x30fc20);break;}default:{this[_0x591e0d(0x398)]['error'](_0x591e0d(0x21d),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0xcb438;}async['_loadSheet'](_0x2677ea){var _0x382cea=_0x41545e,_0x59bb4b;let _0x50aa8b=0x0;const _0xc1c4=await((_0x59bb4b=this[_0x382cea(0x3d9)])==null?void 0x0:_0x59bb4b[_0x382cea(0x459)](_0x2677ea));return _0xc1c4&&(_0xc1c4[_0x382cea(0x279)]||_0xc1c4['mutations'][_0x382cea(0x2fa)]!==0x0)&&(_0x50aa8b=_0xc1c4[_0x382cea(0x372)]),_0x50aa8b===0x0&&this[_0x382cea(0x398)][_0x382cea(0x3ab)](_0x382cea(0x21d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x382cea(0x38d)](_0x2677ea,_0x50aa8b);}async[_0x41545e(0x470)](_0x575b74){var _0xc90565=_0x41545e,_0x2270a6;let _0x20d82e=0x0;const _0x25a739=await((_0x2270a6=this['_localCacheService'])==null?void 0x0:_0x2270a6[_0xc90565(0x459)](_0x575b74));return _0x25a739&&(_0x25a739[_0xc90565(0x279)]||_0x25a739[_0xc90565(0x292)]['length']!==0x0)&&(_0x20d82e=_0x25a739[_0xc90565(0x372)]),_0x20d82e===0x0&&this[_0xc90565(0x398)][_0xc90565(0x3ab)](_0xc90565(0x21d),_0xc90565(0x36c)),this['_snapshotService'][_0xc90565(0x41c)](_0x575b74,_0x20d82e);}};bt=Qn([mt(0x0,_0x5b92b1),mt(0x1,_0x236453(_0x460d13)),mt(0x2,_0x1d0f46(J))],bt);var es=Object[_0x41545e(0x271)],ts=(_0x45d38d,_0x442e42,_0xf5bb6a,_0x337b61)=>{var _0x1919c7=_0x41545e;for(var _0x3cc363=_0x337b61>0x1?void 0x0:_0x337b61?es(_0x442e42,_0xf5bb6a):_0x442e42,_0x5f56c7=_0x45d38d[_0x1919c7(0x2fa)]-0x1,_0x2f113c;_0x5f56c7>=0x0;_0x5f56c7--)(_0x2f113c=_0x45d38d[_0x5f56c7])&&(_0x3cc363=_0x2f113c(_0x3cc363)||_0x3cc363);return _0x3cc363;},gt=(_0x38154b,_0x51d9d8)=>(_0x566495,_0x310321)=>_0x51d9d8(_0x566495,_0x310321,_0x38154b);const is=[_0x41545e(0x28d),'image/jpeg',_0x41545e(0x297),'image/gif',_0x41545e(0x186)],rs=0x5*0x400*0x400,ns='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',ss=_0x41545e(0x1b0),os='EXCHANGE_SIGN_URL_SERVER_URL_KEY',as=_0x41545e(0x22a);let yt=class{constructor(_0x31edee,_0x4ac557,_0x5ac6cf){var _0x4481e1=_0x41545e;N(this,_0x4481e1(0x335),0x0),N(this,_0x4481e1(0x358),new _0x5daeac()),N(this,_0x4481e1(0x23f),this[_0x4481e1(0x358)]),N(this,_0x4481e1(0x1c3),new Map()),(this['_httpService']=_0x31edee,this[_0x4481e1(0x2f0)]=_0x4ac557,this[_0x4481e1(0x1f6)]=_0x5ac6cf);}['setWaitCount'](_0x52a873){this['_waitCount']=_0x52a873,this['_change$']['next'](_0x52a873);}[_0x41545e(0x21c)](_0x45a86d,_0x538be1){var _0x3772a2=_0x41545e;if(_0x538be1===_0x27b5d1[_0x3772a2(0x2ed)]){const _0x2d2a60=new Image();return _0x2d2a60[_0x3772a2(0x31a)]=_0x45a86d,_0x2d2a60;}return this['_imageSourceCache'][_0x3772a2(0x393)](_0x45a86d);}[_0x41545e(0x3dc)](_0x3edc57,_0x5371a8,_0x440d6e){var _0x35dac2=_0x41545e;_0x5371a8===_0x27b5d1[_0x35dac2(0x2ed)]||_0x440d6e==null||this['_imageSourceCache']['set'](_0x3edc57,_0x440d6e);}async[_0x41545e(0x461)](_0x58a985){var _0x5671c5=_0x41545e;try{const _0x451ff3=this[_0x5671c5(0x3f7)](this[_0x5671c5(0x20e)](),''+_0x58a985),_0x597f40=(await this['_httpService']['get'](_0x451ff3))[_0x5671c5(0x323)];if(_0x597f40[_0x5671c5(0x353)]&&_0x597f40['error'][_0x5671c5(0x330)]===Si['OK']){const _0x132007=new URL(_0x597f40[_0x5671c5(0x35c)],this[_0x5671c5(0x32d)]())[_0x5671c5(0x273)]();return Promise[_0x5671c5(0x236)](_0x132007);}return Promise[_0x5671c5(0x240)](_0x597f40['error']);}catch(_0x54c826){return Promise[_0x5671c5(0x240)](_0x54c826);}}async[_0x41545e(0x328)](_0x198ca1){var _0x2875e7=_0x41545e;let _0x1ca9f3='';if(!is['includes'](_0x198ca1[_0x2875e7(0x1b3)]))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8['ERROR_IMAGE_TYPE']));if(_0x198ca1['size']>rs)return this[_0x2875e7(0x46a)](),Promise['reject'](new Error(_0x3183f8[_0x2875e7(0x392)]));try{const _0x3aa317=new FormData();_0x3aa317[_0x2875e7(0x23b)](_0x2875e7(0x1b8),_0x198ca1);const _0x4c14e2=this[_0x2875e7(0x1f6)][_0x2875e7(0x3fb)](),_0x4ab372=_0x4c14e2==null?void 0x0:_0x4c14e2[_0x2875e7(0x32f)]();if(!_0x4ab372)throw new Error(_0x2875e7(0x321));const _0x293012=this['_getUploadFileURL']()+_0x2875e7(0x2bb)+_0x198ca1['size']['toString']()+'&source='+Ei[_0x2875e7(0x2a5)]+'&assign='+encodeURIComponent(_0x4ab372),_0x59c150=await(await fetch(_0x293012,{'method':_0x2875e7(0x3d1),'body':_0x3aa317}))[_0x2875e7(0x2c6)]();if(typeof _0x59c150[_0x2875e7(0x333)]!=_0x2875e7(0x2e4))return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));_0x1ca9f3=_0x59c150[_0x2875e7(0x333)];}catch{return this[_0x2875e7(0x46a)](),Promise[_0x2875e7(0x240)](new Error(_0x3183f8[_0x2875e7(0x31c)]));}return new Promise((_0x4f1c77,_0x255f73)=>{var _0x39f3ad=_0x2875e7;const _0x530784=new FileReader();_0x530784[_0x39f3ad(0x34a)](_0x198ca1),_0x530784[_0x39f3ad(0x36e)]=_0x4ef886=>{var _0x1d895b=_0x39f3ad,_0x5381bc;const _0x53f250=(_0x5381bc=_0x4ef886[_0x1d895b(0x453)])==null?void 0x0:_0x5381bc[_0x1d895b(0x361)];if(_0x53f250==null){this[_0x1d895b(0x46a)](),_0x255f73(new Error(_0x3183f8[_0x1d895b(0x31c)]));return;}const _0x37be63=_0x4c19fa[_0x1d895b(0x192)](0x6);_0x4f1c77({'imageId':_0x37be63,'imageSourceType':_0x27b5d1['UUID'],'source':_0x1ca9f3,'base64Cache':_0x53f250,'status':_0x3183f8[_0x1d895b(0x309)]}),this['_decreaseWaiting']();};});}[_0x41545e(0x3f0)](){var _0x43caa8=_0x41545e,_0x4e9661,_0x302327;const _0x1ea01b=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](ns),_0x528b22=this[_0x43caa8(0x2f0)][_0x43caa8(0x222)](q);return(_0x302327=(_0x4e9661=_0x528b22==null?void 0x0:_0x528b22['uploadFileServerUrl'])!=null?_0x4e9661:_0x1ea01b)!=null?_0x302327:ss;}[_0x41545e(0x20e)](){var _0x467356=_0x41545e,_0x544cb6,_0x5d682a;const _0x4c2123=this[_0x467356(0x2f0)][_0x467356(0x222)](os),_0x3a037b=this[_0x467356(0x2f0)][_0x467356(0x222)](q);return(_0x5d682a=(_0x544cb6=_0x3a037b==null?void 0x0:_0x3a037b[_0x467356(0x263)])!=null?_0x544cb6:_0x4c2123)!=null?_0x5d682a:as;}[_0x41545e(0x32d)](){var _0x41a087=_0x41545e,_0x100555;const _0x547bc3=this[_0x41a087(0x2f0)]['getConfig'](q);return(_0x100555=_0x547bc3==null?void 0x0:_0x547bc3[_0x41a087(0x2a6)])!=null?_0x100555:location[_0x41a087(0x239)];}[_0x41545e(0x3f7)](_0x3442df,_0x5043d8){var _0x197ab8=_0x41545e;return _0x3442df['replace'](_0x197ab8(0x30f),_0x5043d8);}[_0x41545e(0x46a)](){var _0x1a2acf=_0x41545e;this[_0x1a2acf(0x335)]-=0x1,this['_change$'][_0x1a2acf(0x25e)](this[_0x1a2acf(0x335)]);}};yt=ts([gt(0x0,_0x236453(_0x15df20)),gt(0x1,_0x34fb67),gt(0x2,_0x236453(_0x214b6f))],yt);var cs=Object[_0x41545e(0x271)],hs=(_0x3ee556,_0x5439e4,_0x3dc281,_0x10ffe2)=>{for(var _0x42a80c=_0x10ffe2>0x1?void 0x0:_0x10ffe2?cs(_0x5439e4,_0x3dc281):_0x5439e4,_0x1c2321=_0x3ee556['length']-0x1,_0x13b675;_0x1c2321>=0x0;_0x1c2321--)(_0x13b675=_0x3ee556[_0x1c2321])&&(_0x42a80c=_0x13b675(_0x42a80c)||_0x42a80c);return _0x42a80c;},hi=(_0x277747,_0x5525bb)=>(_0x2ae171,_0x21f885)=>_0x5525bb(_0x2ae171,_0x21f885,_0x277747);const _s='/universer-api/authz';let Ot=class{constructor(_0x26d245,_0x35e328){var _0x5b2aac=_0x41545e;this['_configService']=_0x26d245,this[_0x5b2aac(0x25d)]=_0x35e328;}[_0x41545e(0x28a)](){var _0x256c16=_0x41545e,_0x514e05,_0x978865;const _0x55d5e2=this[_0x256c16(0x2f0)][_0x256c16(0x222)](Ni),_0x1c4eb7=this[_0x256c16(0x2f0)][_0x256c16(0x222)](q);return(_0x978865=(_0x514e05=_0x1c4eb7==null?void 0x0:_0x1c4eb7[_0x256c16(0x32a)])!=null?_0x514e05:_0x55d5e2)!=null?_0x978865:_s;}async[_0x41545e(0x2d8)](_0x13c84f){var _0x42fcb0=_0x41545e;const _0x1e1ab7=this[_0x42fcb0(0x28a)]()+'/collaborator';return{'list':[{'title':_0x42fcb0(0x2d2),'mentions':(await this[_0x42fcb0(0x25d)][_0x42fcb0(0x393)](_0x1e1ab7,{'params':{'objectID':_0x13c84f[_0x42fcb0(0x36d)],'unitID':_0x13c84f['unitId']}}))[_0x42fcb0(0x323)][_0x42fcb0(0x42b)][_0x42fcb0(0x400)](_0x33956a=>({'objectId':_0x33956a['id'],'name':_0x33956a['subject'][_0x42fcb0(0x1a5)],'metadata':{'icon':_0x33956a['subject'][_0x42fcb0(0x1ef)]},'label':_0x33956a['subject']['name'],'objectType':_0x426e6f[_0x42fcb0(0x3ea)]})),'metadata':{},'type':_0x426e6f[_0x42fcb0(0x3ea)]}]};}};Ot=hs([hi(0x0,_0x236453(_0x34fb67)),hi(0x1,_0x236453(_0x15df20))],Ot);var ls=Object[_0x41545e(0x271)],us=(_0x6c106d,_0x4fb73b,_0x29f605,_0x1b6a55)=>{var _0x48ca45=_0x41545e;for(var _0x408a50=_0x1b6a55>0x1?void 0x0:_0x1b6a55?ls(_0x4fb73b,_0x29f605):_0x4fb73b,_0x4a3770=_0x6c106d[_0x48ca45(0x2fa)]-0x1,_0x3b3abc;_0x4a3770>=0x0;_0x4a3770--)(_0x3b3abc=_0x6c106d[_0x4a3770])&&(_0x408a50=_0x3b3abc(_0x408a50)||_0x408a50);return _0x408a50;},Ae=(_0x58f731,_0x83d87f)=>(_0x4ab47a,_0x14ad40)=>_0x83d87f(_0x4ab47a,_0x14ad40,_0x58f731);let at=class extends _0x433c2f{constructor(_0x528e37,_0x1fd749,_0x474082,_0x329997,_0x1640f3){var _0x137125=_0x41545e;super(),this[_0x137125(0x367)]=_0x528e37,this['_univerInstanceService']=_0x1fd749,this['_permissionService']=_0x474082,this[_0x137125(0x1a1)]=_0x329997,this[_0x137125(0x1ae)]=_0x1640f3,this[_0x137125(0x322)](),this[_0x137125(0x202)]();}['_initCloseConn'](){var _0x3e7f93=_0x41545e;const _0x1de592=async _0x16f969=>{var _0x3c2da9=_0x5230;(await this[_0x3c2da9(0x1a1)][_0x3c2da9(0x44c)](_0x16f969))[_0x3c2da9(0x438)][_0x3c2da9(0x30b)](_0x1a0aae(_0x1824c9=>_0x1824c9['eventID']===_0x5cfd61['SHOULD_CLOSE_CONN']),_0x48cb79(this[_0x3c2da9(0x423)]))['subscribe'](_0x2c1a67=>{var _0x141dc6=_0x3c2da9;const _0x4972ba=_0x2c1a67,{reason:_0x5bcb9b}=_0x4972ba['data'];this['_collaborationUIEventService'][_0x141dc6(0x24f)]({'id':se[_0x141dc6(0x3c1)],'data':_0x5bcb9b}),this[_0x141dc6(0x26c)][_0x141dc6(0x3e8)](new _0xeafda4(_0x16f969)['id'],!0x1),this[_0x141dc6(0x1a1)]['closeSession'](_0x16f969);});};_0x14bf95(this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x1af)]),this['_univerInstanceService'][_0x3e7f93(0x29d)](_0x16fa42[_0x3e7f93(0x378)]))[_0x3e7f93(0x30b)](_0x5a18b9(_0x57c2db=>_0x57c2db['getUnitId']()),_0x1a0aae(_0x553795=>!_0x3359f1(_0x553795)),_0x48cb79(this[_0x3e7f93(0x423)]))[_0x3e7f93(0x40b)](_0x335c51=>{_0x1de592(_0x335c51);});}[_0x41545e(0x322)](){var _0x110b47=_0x41545e;const _0x42dd81=async _0x1d2a63=>{var _0x5b7bfc=_0x5230;const _0x56e72c=await this['_collaborationSessionService'][_0x5b7bfc(0x44c)](_0x1d2a63),_0x4a672c=this[_0x5b7bfc(0x367)][_0x5b7bfc(0x393)](_0x40e8ac);_0x56e72c[_0x5b7bfc(0x438)][_0x5b7bfc(0x30b)](_0x1a0aae(_0x4801d6=>_0x4801d6[_0x5b7bfc(0x44a)]===_0x5cfd61[_0x5b7bfc(0x306)]),_0x48cb79(this[_0x5b7bfc(0x423)]))[_0x5b7bfc(0x40b)](_0x586e9c=>{var _0x15ecef=_0x5b7bfc;const _0x3003db=_0x586e9c,{objectId:_0x12f78d}=_0x3003db[_0x15ecef(0x226)];_0x12f78d===_0x1d2a63?_0x4a672c[_0x15ecef(0x19d)](_0x1d2a63):_0x4a672c[_0x15ecef(0x1ab)](_0x1d2a63,_0x12f78d);});};_0x14bf95(this[_0x110b47(0x1f6)][_0x110b47(0x29d)](_0x16fa42[_0x110b47(0x1af)]))[_0x110b47(0x30b)](_0x5a18b9(_0x4a9d72=>_0x4a9d72[_0x110b47(0x32f)]()),_0x1a0aae(_0x3fe46e=>!_0x3359f1(_0x3fe46e)),_0x48cb79(this[_0x110b47(0x423)]))[_0x110b47(0x40b)](_0x4b46e8=>{_0x42dd81(_0x4b46e8);});}};at=us([Ae(0x0,_0x236453(_0x35ce09)),Ae(0x1,_0x214b6f),Ae(0x2,_0x4da13f),Ae(0x3,_0x236453(Le)),Ae(0x4,_0x236453(pe))],at);var ds=Object[_0x41545e(0x271)],fs=(_0x218d18,_0x142779,_0x3d6652,_0x233cb0)=>{var _0xa8bdd7=_0x41545e;for(var _0x56fd16=_0x233cb0>0x1?void 0x0:_0x233cb0?ds(_0x142779,_0x3d6652):_0x142779,_0x47b397=_0x218d18[_0xa8bdd7(0x2fa)]-0x1,_0x49d7d5;_0x47b397>=0x0;_0x47b397--)(_0x49d7d5=_0x218d18[_0x47b397])&&(_0x56fd16=_0x49d7d5(_0x56fd16)||_0x56fd16);return _0x56fd16;},_i=(_0x28cd46,_0x5994e5)=>(_0xdbe801,_0x47f787)=>_0x5994e5(_0xdbe801,_0x47f787,_0x28cd46);let Nt=class{constructor(_0x384701,_0x5b48ef){var _0x32408c=_0x41545e;this[_0x32408c(0x2f0)]=_0x384701,this['_httpService']=_0x5b48ef;}async[_0x41545e(0x24e)](_0x1f9c15,_0x4415f5){var _0xed8dd9=_0x41545e,_0x163c2c;const {unitID:_0x42ffee,type:_0x9610b2,revision:_0x20235c=0x0}=_0x4415f5,_0x1900ee=this[_0xed8dd9(0x208)]()+'/'+_0x9610b2+_0xed8dd9(0x410)+_0x42ffee+'/rev/'+_0x20235c,_0xa5fece=(await this[_0xed8dd9(0x365)][_0xed8dd9(0x393)](_0x1900ee))[_0xed8dd9(0x323)],_0x12730a=(_0x163c2c=_0xa5fece[_0xed8dd9(0x360)])==null?void 0x0:_0x163c2c[_0xed8dd9(0x2ce)];if(_0x12730a){const _0x1e7d21=_0x12730a==null?void 0x0:_0x12730a['originalMeta'],_0x2e6641=_0x4206cc[_0xed8dd9(0x3ba)](_0x22f055(_0x1e7d21));_0x12730a[_0xed8dd9(0x36a)]=_0x2e6641,Object['entries'](_0x12730a[_0xed8dd9(0x45b)])['forEach'](([,_0x953221])=>{var _0x1bcc83=_0xed8dd9;const _0x345a0c=_0x953221['originalMeta'],_0xb27dee=_0x4206cc[_0x1bcc83(0x3ba)](_0x22f055(_0x345a0c));_0x953221[_0x1bcc83(0x36a)]=_0xb27dee;});}return _0xa5fece;}async[_0x41545e(0x191)](_0x19feff,_0x3c00a6){var _0x485883=_0x41545e;const {unitID:_0x313c9d,type:_0x586517,blockID:_0x453882}=_0x3c00a6,_0x267e60=this['_getAPIPrefix']()+'/'+_0x586517+_0x485883(0x410)+_0x313c9d+_0x485883(0x374)+_0x453882;return(await this[_0x485883(0x365)][_0x485883(0x393)](_0x267e60))['body'];}async[_0x41545e(0x290)](_0x1fb8f1,_0x58f76f){var _0x830e8f=_0x41545e;const {unitID:_0x490ad5,type:_0x2db9b3,blockID:_0x295af3}=_0x58f76f,_0xc75750=this[_0x830e8f(0x432)]()+_0x830e8f(0x374)+_0x2db9b3+_0x830e8f(0x410)+_0x490ad5+_0x830e8f(0x374)+_0x295af3;return(await this[_0x830e8f(0x365)]['get'](_0xc75750))[_0x830e8f(0x323)];}async[_0x41545e(0x3a5)](_0x34046b,_0x11105b){var _0x501b5b=_0x41545e;const {unitID:_0x24c028,type:_0x5bbb7c,from:_0x35d277,to:_0x4a6cbc}=_0x11105b,_0x1360b1=this[_0x501b5b(0x432)]()+'/'+_0x5bbb7c+'/unit/'+_0x24c028+_0x501b5b(0x2c7)+_0x35d277+'&to='+_0x4a6cbc;return(await this[_0x501b5b(0x365)][_0x501b5b(0x393)](_0x1360b1))['body'];}[_0x41545e(0x208)](){var _0x143233=_0x41545e,_0x152d95;return(_0x152d95=this[_0x143233(0x2f0)]['getConfig'](gr))!=null?_0x152d95:this[_0x143233(0x432)]();}['_getAPIPrefix'](){var _0x18f5de=_0x41545e,_0x5054fc,_0x5b3793;const _0x29e6de=this['_configService'][_0x18f5de(0x222)](pr),_0x558448=this['_configService'][_0x18f5de(0x222)](q);return(_0x5b3793=(_0x5054fc=_0x558448==null?void 0x0:_0x558448[_0x18f5de(0x3a8)])!=null?_0x5054fc:_0x29e6de)!=null?_0x5b3793:mr;}async[_0x41545e(0x2c0)](_0x546064,_0x2fb5a4){var _0x1ace7b=_0x41545e;const _0x50a9d7=_0x1ace7b(0x37d)+_0x2fb5a4[_0x1ace7b(0x1b3)]+_0x1ace7b(0x410)+_0x2fb5a4[_0x1ace7b(0x25a)]+'/resources';return(await this[_0x1ace7b(0x365)][_0x1ace7b(0x393)](_0x50a9d7,{'params':{'resourceId':JSON[_0x1ace7b(0x2cf)](_0x2fb5a4['resourceIDs'])}}))[_0x1ace7b(0x323)];}['saveSnapshot'](){var _0x2e1cb1=_0x41545e;throw new Error(_0x2e1cb1(0x2e5));}[_0x41545e(0x3d6)](){var _0x332e57=_0x41545e;throw new Error(_0x332e57(0x2e5));}[_0x41545e(0x2f2)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x41545e(0x289)](){var _0x4bd225=_0x41545e;throw new Error(_0x4bd225(0x2e5));}['getLatestCsReqIdBySid'](){var _0x386343=_0x41545e;throw new Error(_0x386343(0x2e5));}};Nt=fs([_i(0x0,_0x34fb67),_i(0x1,_0x236453(_0x15df20))],Nt);var vs=Object[_0x41545e(0x271)],ps=(_0x2c8c25,_0x20c6d2,_0x40c9e8,_0x423993)=>{var _0x3bff30=_0x41545e;for(var _0x2834b6=_0x423993>0x1?void 0x0:_0x423993?vs(_0x20c6d2,_0x40c9e8):_0x20c6d2,_0x4bb3b6=_0x2c8c25[_0x3bff30(0x2fa)]-0x1,_0x3141db;_0x4bb3b6>=0x0;_0x4bb3b6--)(_0x3141db=_0x2c8c25[_0x4bb3b6])&&(_0x2834b6=_0x3141db(_0x2834b6)||_0x2834b6);return _0x2834b6;},Pe=(_0x341e2f,_0x34b7eb)=>(_0x1bf9b8,_0x416f41)=>_0x34b7eb(_0x1bf9b8,_0x416f41,_0x341e2f);let Dt=class extends _0x2e41ca{constructor(_0x3967bc,_0x4bce30,_0x135c5b,_0x2c6ffe,_0x2e161a){var _0x27e665=_0x41545e;super(_0x3967bc,_0x4bce30,_0x135c5b),this[_0x27e665(0x3ac)]=_0x2c6ffe,this[_0x27e665(0x398)]=_0x2e161a;}[_0x41545e(0x29e)](_0x88e054,_0x3dc7e2){var _0x2a4f18=_0x41545e;const _0x2ef399=this[_0x2a4f18(0x259)](_0x88e054);if(_0x2ef399)try{const _0x56f8ac=this[_0x2a4f18(0x24d)](_0x2ef399,_0x3dc7e2);this[_0x2a4f18(0x1e9)](_0x88e054,_0x56f8ac);}catch(_0x29dd3f){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x2a4f18(0x3dd),_0x29dd3f),this[_0x2a4f18(0x460)](_0x88e054);}const _0x17a06a=this[_0x2a4f18(0x351)](_0x88e054);if(_0x17a06a)try{const _0x85bb37=this[_0x2a4f18(0x24d)](_0x17a06a,_0x3dc7e2);this[_0x2a4f18(0x43f)](_0x88e054,_0x85bb37);}catch(_0x29a373){this[_0x2a4f18(0x398)][_0x2a4f18(0x353)](_0x29a373),this[_0x2a4f18(0x3ef)](_0x88e054);}}[_0x41545e(0x460)](_0x4d8be1){var _0x1f4f00=_0x41545e;const _0x2549e3=this[_0x1f4f00(0x259)](_0x4d8be1);_0x2549e3&&(_0x2549e3[_0x1f4f00(0x2fa)]=0x0,this[_0x1f4f00(0x44d)]());}[_0x41545e(0x3ef)](_0x48a8a5){var _0x3b058b=_0x41545e;const _0x415f64=this[_0x3b058b(0x351)](_0x48a8a5);_0x415f64&&(_0x415f64['length']=0x0,this[_0x3b058b(0x44d)]());}[_0x41545e(0x1e9)](_0x4743dd,_0xe94f8){var _0xa7fb26=_0x41545e;this[_0xa7fb26(0x288)][_0xa7fb26(0x3d2)](_0x4743dd,_0xe94f8),this[_0xa7fb26(0x44d)]();}[_0x41545e(0x43f)](_0x5da9d9,_0x4d6ce0){var _0x2cefe8=_0x41545e;this[_0x2cefe8(0x472)][_0x2cefe8(0x3d2)](_0x5da9d9,_0x4d6ce0),this[_0x2cefe8(0x44d)]();}['_transformStack'](_0x4a81e6,_0x123b1d){var _0x2daa88=_0x41545e;const _0x3bd0af=[];let _0x2c61d5=_0x123b1d,_0x446117=_0x123b1d;for(let _0x810f09=_0x4a81e6[_0x2daa88(0x2fa)]-0x1;_0x810f09>=0x0;_0x810f09--){const {unitID:_0x5201f9,undoMutations:_0x5d4727,redoMutations:_0x322cf1}=_0x4a81e6[_0x810f09],_0x3386b6=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x2c61d5,_0x5d4727),_0x17e895=this[_0x2daa88(0x3ac)][_0x2daa88(0x254)](_0x446117,_0x322cf1);if(_0x5901b0(_0x3386b6)||_0x5901b0(_0x17e895)){this[_0x2daa88(0x398)][_0x2daa88(0x353)](_0x2daa88(0x3dd),_0x2daa88(0x281),_0x3386b6,_0x17e895);break;}_0x2c61d5=_0x3386b6['c1Prime'],_0x446117=_0x17e895[_0x2daa88(0x3e1)],_0x3bd0af[_0x2daa88(0x22d)]({'unitID':_0x5201f9,'undoMutations':_0x3386b6[_0x2daa88(0x379)],'redoMutations':_0x17e895[_0x2daa88(0x379)]});}return _0x3bd0af['reverse']();}};Dt=ps([Pe(0x0,_0x214b6f),Pe(0x1,_0x2c92b5),Pe(0x2,_0x5afa9c),Pe(0x3,_0x1335c8),Pe(0x4,_0x5b92b1)],Dt);var ms=Object['defineProperty'],gs=Object[_0x41545e(0x271)],Ss=(_0x73e59f,_0x21c6e0,_0x5bbd2b)=>_0x21c6e0 in _0x73e59f?ms(_0x73e59f,_0x21c6e0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5bbd2b}):_0x73e59f[_0x21c6e0]=_0x5bbd2b,Es=(_0x5a3af4,_0x1e1ddd,_0x3fd386,_0x50de17)=>{var _0x448b75=_0x41545e;for(var _0x5a4993=_0x50de17>0x1?void 0x0:_0x50de17?gs(_0x1e1ddd,_0x3fd386):_0x1e1ddd,_0x4805fe=_0x5a3af4[_0x448b75(0x2fa)]-0x1,_0x5a6e56;_0x4805fe>=0x0;_0x4805fe--)(_0x5a6e56=_0x5a3af4[_0x4805fe])&&(_0x5a4993=_0x5a6e56(_0x5a4993)||_0x5a4993);return _0x5a4993;},St=(_0x47b334,_0x5ea69c)=>(_0x5dba48,_0x46de6a)=>_0x5ea69c(_0x5dba48,_0x46de6a,_0x47b334),Is=(_0x3340c9,_0x4eda8e,_0x1ba7d7)=>Ss(_0x3340c9,_0x4eda8e+'',_0x1ba7d7);const Ts=_0x41545e(0x1ee);let wt=class extends _0x4357a2{constructor(_0x5b29e9,_0x59f218,_0x2ff502,_0x89ca7f){var _0x23cce8=_0x41545e;super(),N(this,_0x23cce8(0x35d)),(this[_0x23cce8(0x398)]=_0x59f218,this[_0x23cce8(0x367)]=_0x2ff502,this[_0x23cce8(0x2f0)]=_0x89ca7f);const {..._0x48cdbe}=_0x48c383({},Ur,_0x5b29e9);if(!_0x48cdbe[_0x23cce8(0x26e)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x23cce8(0x35d)]=_0x48cdbe,this[_0x23cce8(0x2f0)][_0x23cce8(0x207)](q,_0x48cdbe);}[_0x41545e(0x368)](){var _0x17a602=_0x41545e;this[_0x17a602(0x29f)](),this['_initDependencies']();}[_0x41545e(0x29f)](){var _0x442d21=_0x41545e,_0x45b12d,_0x56c13a;this[_0x442d21(0x367)][_0x442d21(0x46e)](_0x5a61a5)&&this[_0x442d21(0x398)]['error']('[UniverCollaborationClientPlugin]',_0x442d21(0x1ce));const _0x1962a6=_0x226ccd([[_0x5a61a5,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[bt],[Ii,{'useClass':this[_0x442d21(0x35d)][_0x442d21(0x26e)]}],[_0x1cc5ae,{'useClass':Nt}],[_0x3ac908,{'useClass':Rt}],[_0x5bffa7,{'useClass':yt}],[_0x1f17af,{'useClass':Ot}],[nt],[Ct]],(_0x45b12d=this[_0x442d21(0x35d)])==null?void 0x0:_0x45b12d['override']);if(!((_0x56c13a=this['_config'])!=null&&_0x56c13a[_0x442d21(0x238)])){const _0x3f34e1=_0x1962a6[_0x442d21(0x1e2)](([_0x2eda13])=>_0x2eda13===ht);_0x3f34e1!==-0x1&&_0x1962a6['splice'](_0x3f34e1,0x1);}_0x56bf0d(this[_0x442d21(0x367)],_0x1962a6);}[_0x41545e(0x3b2)](){var _0x23ebec=_0x41545e,_0x306a7a,_0x535dc8,_0x21e78b;this['_injector'][_0x23ebec(0x393)](_0x15df20)[_0x23ebec(0x1f4)]({'priority':0x14,'interceptor':_0x2226bf({'maxParallel':0x6})}),(_0x306a7a=this[_0x23ebec(0x35d)])!=null&&_0x306a7a[_0x23ebec(0x2e6)]||(_0x535dc8=this[_0x23ebec(0x367)][_0x23ebec(0x393)](J,_0x248523[_0x23ebec(0x317)]))==null||_0x535dc8[_0x23ebec(0x359)](),(_0x21e78b=this['_config'])!=null&&_0x21e78b[_0x23ebec(0x2bd)]&&_0x266d35(this['_injector'],[[st]]),_0x266d35(this['_injector'],[[ot],[nt],[at]]);}};Is(wt,_0x41545e(0x214),Ts),wt=Es([_0x189c14(_0xf3fa8c,_0xe8c0f4),St(0x1,_0x5b92b1),St(0x2,_0x236453(_0x35ce09)),St(0x3,_0x34fb67)],wt);export{Ni as AUTHZ_URL_KEY,Rt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Or as COLLAB_SUBMIT_CHANGESET_URL_KEY,Er as COLLAB_WEB_SOCKET_URL_KEY,nt as CollaborationController,rt as CollaborationEntity,yt as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,bi as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Ir as DEFAULT_COLLAB_WEB_SOCKET_URL,Hs as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Ls as DEFAULT_WS_SESSION_TICKET_URL,bt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,Tr as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,Ar as INetworkConditionService,ht as ISingleActiveUnitService,ks as LOCAL_CACHE_INTERVAL,Ms as LOCAL_CACHE_INTERVAL_KEY,Dr as LOGIN_URL_KEY,xe as MemberService,Ot as MentionIoHttpService,de as OfflineState,oe as PendingState,$s as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,br as RETRY_CONNECTING_MAX_COUNT_KEY,xs as SEND_CHANGESET_TIMEOUT_KEY,pr as SNAPSHOT_SERVER_URL_KEY,gr as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,wt as UniverCollaborationClientPlugin,Pr as deserializeToCombResponse,Bs as getLocalCacheKey,xr as serializeCombRequest};
|
1
|
+
var _0x5f281c=_0x5eda;(function(_0x43a5a9,_0x1ff884){var _0x1bd50b=_0x5eda,_0x4d41ba=_0x43a5a9();while(!![]){try{var _0x1c27ec=parseInt(_0x1bd50b(0x345))/0x1*(parseInt(_0x1bd50b(0x402))/0x2)+-parseInt(_0x1bd50b(0x361))/0x3*(parseInt(_0x1bd50b(0x3dc))/0x4)+-parseInt(_0x1bd50b(0x1e4))/0x5*(parseInt(_0x1bd50b(0x1d2))/0x6)+parseInt(_0x1bd50b(0x2d0))/0x7*(parseInt(_0x1bd50b(0x2d1))/0x8)+-parseInt(_0x1bd50b(0x2ce))/0x9+-parseInt(_0x1bd50b(0x3f1))/0xa+parseInt(_0x1bd50b(0x31f))/0xb;if(_0x1c27ec===_0x1ff884)break;else _0x4d41ba['push'](_0x4d41ba['shift']());}catch(_0x2cd546){_0x4d41ba['push'](_0x4d41ba['shift']());}}}(_0x938e,0xbd9a9));var Ai=Object[_0x5f281c(0x348)],xi=(_0x2c8fd5,_0x192706,_0x13f2c8)=>_0x192706 in _0x2c8fd5?Ai(_0x2c8fd5,_0x192706,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13f2c8}):_0x2c8fd5[_0x192706]=_0x13f2c8,N=(_0x346691,_0x2c42f7,_0x3309c8)=>xi(_0x346691,typeof _0x2c42f7!='symbol'?_0x2c42f7+'':_0x2c42f7,_0x3309c8);import{createIdentifier as _0x1a0676,Inject as _0x9558f9,Injector as _0xd634d6,Disposable as _0x52a4ec,DisposableCollection as _0x460d4b,toDisposable as _0x5f82e5,IConfigService as _0x3b2da1,ILogService as _0x29c204,UserManagerService as _0x1b7731,UniverInstanceType as _0xd6875a,IUniverInstanceService as _0x34f8d6,LocaleService as _0x1aa64a,Optional as _0x1a79f6,RxDisposable as _0x23be52,Tools as _0x26a23c,Rectangle as _0x19d27e,ICommandService as _0xda747d,JSONX as _0x59206b,CommandType as _0x3e1461,IPermissionService as _0x254153,IUndoRedoService as _0x2f573f,sequenceExecute as _0x41bde1,Workbook as _0xe8f172,MentionType as _0x425e8a,isInternalEditorID as _0x505571,LocalUndoRedoService as _0x779597,IContextService as _0x1b4fb0,DependentOn as _0x50e39f,Plugin as _0x3b786d,merge as _0x346504,mergeOverrideWithDependencies as _0x3c8ec6,IAuthzIoService as _0x2e258a,IMentionIOService as _0x365228,registerDependencies as _0x558302,Quantity as _0x41a519,touchDependencies as _0x514054}from'@univerjs/core';import{Subject as _0x39b4f1,merge as _0x2f7b48,of as _0x3f1059,BehaviorSubject as _0x28a5cc,takeUntil as _0x5106b7,ReplaySubject as _0x40b24f,take as _0x281660,map as _0x2c4aae,shareReplay as _0x3647db,firstValueFrom as _0x3e7711,concatMap as _0x324461}from'rxjs';import{map as _0x213c72,take as _0x2f617b,filter as _0xd6b0bd,delay as _0x5e9c7c,takeUntil as _0x3db57b}from'rxjs/operators';import{CollaborationEvent as _0x54c335,parseChangesetToProtocol as _0x353ded,ISnapshotServerService as _0x4a66d0,isTransformMutationsWithChangesetSuccess as _0x32fab9,ITransformService as _0x1b9c4f,mapDocumentTypeToUniverType as _0x4e7a73,RevisionService as _0x33a96b,isTransformChangesetsSuccess as _0x3fa21a,CompressMutationService as _0x53d69e,parseProtocolChangeset as _0xfdb415,SnapshotService as _0x502971,textEncoder as _0x21ae81,b64DecodeUnicode as _0x451b2a,isTransformMutationsWithChangesetFailure as _0x5d6ab2,UniverCollaborationPlugin as _0xf47e8f}from'@univerjs-pro/collaboration';function _0x5eda(_0x1ca7b1,_0x570b3a){var _0x938ee7=_0x938e();return _0x5eda=function(_0x5edace,_0x574119){_0x5edace=_0x5edace-0x173;var _0x467a63=_0x938ee7[_0x5edace];return _0x467a63;},_0x5eda(_0x1ca7b1,_0x570b3a);}import{HTTPService as _0x30b05c,ISocketService as _0x1f7895,MergeInterceptorFactory as _0x4d712b,HTTPRequest as _0xb13e74,UniverNetworkPlugin as _0x197451,ThresholdInterceptorFactory as _0x591972}from'@univerjs/network';import{ITelemetryService as _0x96d161}from'@univerjs/telemetry';import{RichTextEditingMutation as _0x2f7b64}from'@univerjs/docs';import{SheetsSelectionsService as _0x1a006a,SetSelectionsOperation as _0x170d3a,InsertSheetMutation as _0x4d6b49,EmptyMutation as _0x351999,WorkbookEditablePermission as _0x20c3ca,SheetPermissionInitController as _0x2f2d41}from'@univerjs/sheets';import{ImageSourceType as _0x2b975e,ImageUploadStatusType as _0x585772,IImageIoService as _0xda2ae5}from'@univerjs/drawing';import{getGlobalObject as _0x16104a}from'@univerjs-pro/license';const gn=_0x5f281c(0x44f),Sn='/universer-api/snapshot',En=_0x5f281c(0x367),Zs=_0x5f281c(0x2b0),In=0x7d0,Tn=_0x5f281c(0x1ca),Cn=_0x5f281c(0x1e0),Qs=_0x5f281c(0x373),bn=_0x5f281c(0x1c5),Rn=0x7530,mi=_0x5f281c(0x468),gi=0x4e20,On=0x4e20,yn='RETRY_CONNECTING_MAX_COUNT',Nn=0x3,eo=_0x5f281c(0x3ff),to=0x3e8,Dn=_0x5f281c(0x439),Pn=_0x5f281c(0x30e),wn='LOGIN_URL_KEY',Un=_0x5f281c(0x436),io=_0x5f281c(0x314),no=_0x5f281c(0x403);var Si=(_0x126596=>(_0x126596[_0x126596[_0x5f281c(0x341)]=0x0]='UNDEFINED',_0x126596[_0x126596['OK']=0x1]='OK',_0x126596[_0x126596['INTERNAL_ERROR']=0x2]=_0x5f281c(0x209),_0x126596[_0x126596['PERMISSION_DENIED']=0x3]=_0x5f281c(0x26a),_0x126596[_0x126596[_0x5f281c(0x234)]=0x4]=_0x5f281c(0x234),_0x126596[_0x126596[_0x5f281c(0x186)]=0x5]=_0x5f281c(0x186),_0x126596[_0x126596[_0x5f281c(0x376)]=0x6]=_0x5f281c(0x376),_0x126596[_0x126596[_0x5f281c(0x211)]=0x7]=_0x5f281c(0x211),_0x126596[_0x126596[_0x5f281c(0x324)]=0x8]=_0x5f281c(0x324),_0x126596[_0x126596['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x126596[_0x126596['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5f281c(0x34f),_0x126596[_0x126596[_0x5f281c(0x38f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x126596[_0x126596[_0x5f281c(0x26c)]=0x1772]=_0x5f281c(0x26c),_0x126596[_0x126596[_0x5f281c(0x35c)]=0x1773]=_0x5f281c(0x35c),_0x126596[_0x126596[_0x5f281c(0x303)]=0x1b59]=_0x5f281c(0x303),_0x126596[_0x126596[_0x5f281c(0x3cb)]=0x1b5a]=_0x5f281c(0x3cb),_0x126596[_0x126596[_0x5f281c(0x37c)]=0x1b5b]=_0x5f281c(0x37c),_0x126596[_0x126596['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5f281c(0x235),_0x126596[_0x126596[_0x5f281c(0x298)]=0x1b5d]=_0x5f281c(0x298),_0x126596[_0x126596[_0x5f281c(0x38d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x126596[_0x126596[_0x5f281c(0x273)]=0x2329]=_0x5f281c(0x273),_0x126596[_0x126596[_0x5f281c(0x233)]=0x232a]=_0x5f281c(0x233),_0x126596[_0x126596[_0x5f281c(0x360)]=0x232b]=_0x5f281c(0x360),_0x126596[_0x126596['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5f281c(0x2c2),_0x126596[_0x126596[_0x5f281c(0x416)]=0x232d]=_0x5f281c(0x416),_0x126596[_0x126596[_0x5f281c(0x19f)]=0x2711]=_0x5f281c(0x19f),_0x126596[_0x126596[_0x5f281c(0x1fb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x126596[_0x126596['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5f281c(0x22b),_0x126596[_0x126596['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5f281c(0x359),_0x126596[_0x126596[_0x5f281c(0x36f)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x126596[_0x126596[_0x5f281c(0x214)]=-0x1]='UNRECOGNIZED',_0x126596))(Si||{}),Q=(_0x5f54a6=>(_0x5f54a6[_0x5f54a6['UNIVER_UNKNOWN']=0x0]=_0x5f281c(0x31b),_0x5f54a6[_0x5f54a6[_0x5f281c(0x1e9)]=0x1]=_0x5f281c(0x1e9),_0x5f54a6[_0x5f54a6[_0x5f281c(0x2e0)]=0x2]=_0x5f281c(0x2e0),_0x5f54a6[_0x5f54a6['UNIVER_SLIDE']=0x3]=_0x5f281c(0x426),_0x5f54a6[_0x5f54a6['UNIVER_PROJECT']=0x4]=_0x5f281c(0x2a6),_0x5f54a6[_0x5f54a6[_0x5f281c(0x214)]=-0x1]='UNRECOGNIZED',_0x5f54a6))(Q||{}),F=(_0x42fa95=>(_0x42fa95[_0x42fa95[_0x5f281c(0x34e)]=0x0]=_0x5f281c(0x34e),_0x42fa95[_0x42fa95[_0x5f281c(0x202)]=0x1]=_0x5f281c(0x202),_0x42fa95[_0x42fa95[_0x5f281c(0x3e1)]=0x2]=_0x5f281c(0x3e1),_0x42fa95[_0x42fa95[_0x5f281c(0x296)]=0x3]=_0x5f281c(0x296),_0x42fa95[_0x42fa95[_0x5f281c(0x1f9)]=0x4]=_0x5f281c(0x1f9),_0x42fa95[_0x42fa95['HEARTBEAT']=0x5]='HEARTBEAT',_0x42fa95[_0x42fa95[_0x5f281c(0x3d5)]=0x6]=_0x5f281c(0x3d5),_0x42fa95[_0x42fa95[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0x42fa95))(F||{}),ge=(_0x5151f4=>(_0x5151f4[_0x5151f4['UNKNOWN_CODE']=0x0]=_0x5f281c(0x3b9),_0x5151f4[_0x5151f4['OK']=0x1]='OK',_0x5151f4[_0x5151f4['FAIL']=0x2]=_0x5f281c(0x35a),_0x5151f4[_0x5151f4[_0x5f281c(0x1a5)]=0x3e9]=_0x5f281c(0x1a5),_0x5151f4[_0x5151f4['JOIN_ROOM_NOT_EXISTS']=0x3ea]=_0x5f281c(0x205),_0x5151f4[_0x5151f4[_0x5f281c(0x44a)]=0x3eb]=_0x5f281c(0x44a),_0x5151f4[_0x5151f4[_0x5f281c(0x2b6)]=0x3ec]=_0x5f281c(0x2b6),_0x5151f4[_0x5151f4[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0x5151f4))(ge||{}),Ei=(_0xcf854f=>(_0xcf854f[_0xcf854f[_0x5f281c(0x2dd)]=0x0]=_0x5f281c(0x2dd),_0xcf854f[_0xcf854f[_0x5f281c(0x2a9)]=0x1]=_0x5f281c(0x2a9),_0xcf854f[_0xcf854f['HttpExport']=0x2]=_0x5f281c(0x3e5),_0xcf854f[_0xcf854f['UnitEmbedded']=0x3]=_0x5f281c(0x304),_0xcf854f[_0xcf854f[_0x5f281c(0x337)]=0x4]=_0x5f281c(0x337),_0xcf854f[_0xcf854f[_0x5f281c(0x214)]=-0x1]=_0x5f281c(0x214),_0xcf854f))(Ei||{});const q=_0x5f281c(0x2f6),An={};var se=(_0x39695c=>(_0x39695c['OTHER_CLIENT_EDITING']='OTHER_CLIENT_EDITING',_0x39695c['PERMISSION_DENIED']=_0x5f281c(0x26a),_0x39695c[_0x5f281c(0x42d)]=_0x5f281c(0x42d),_0x39695c[_0x5f281c(0x460)]=_0x5f281c(0x460),_0x39695c[_0x5f281c(0x3bd)]='JOIN_ROOM_FAILED',_0x39695c['SOCKET_FAILED_RETRY']=_0x5f281c(0x201),_0x39695c[_0x5f281c(0x3b4)]=_0x5f281c(0x3b4),_0x39695c[_0x5f281c(0x21e)]=_0x5f281c(0x21e),_0x39695c))(se||{});function _0x938e(){var _0x446f3e=['getTime','type','FETCH_MISSING','mixIn','UNDEFINED','resolve','Error\x20on\x20receiving\x20event','NoPadding','5HtFWXz','next','reject','defineProperty','_commentUpdate$','onCommandExecuted','_resendWithTimeout','_resendTimeout','onRemoteAck','UNKNOWN_CMD','CHANGESET_REVISION_CONFILICT','_minBufferSize','body','textRanges','objects','_transformRemoteChangesetByIMECache','transformChangesets','getDeserializedSheetBlock','Hasher','_keyPriorReset','YUUMI_SUBSCRIPTION_NOT_FOUND','FAIL','reduce','ENSURE_SNAPSHOT_EXECUTION','/resources','avatar','objectType','LICENSE_IMPORT_SIZE_EXCEEDED','4097454QpcfZC','asObservable','localeService','socket\x20open.','dispose$','SerializableCipher','SNAPSHOT_URL_KEY','session.room-full','userID','save\x20fail\x20reason\x20is\x20','_toggleOnline','newCsEvent','[CollaborationSession]','[OfflineState]:\x20received\x20rejection.','PY_RUNTIME_SCRIPT_ERROR','getTypeOfUnitAdded$','function','_invKeySchedule','/universer-api/user/session-ticket','confirm','_getLoginPath','ALREADY_EXISTS','getImageSourceCache','floor','clear','[OfflineState]:\x20received\x20acknowledgement.','_commandService','APPLY_REVISION_CONFILICT','duration','fromCollab','_userManagerService','onRemoteRej','/collaborator','_initCloseConn','deepClone','[PendingState]:\x20unhandled\x20univer\x20type:\x20','updateCollaborator','transformStack\x20failed!','localCacheService','univer-pro.collaboration-client.network-condition.service','format','getConfig','compute','title','CONNECTOR_DATA_TOO_LARGE','_collabSessionService','SNAPSHOT_INVALID_SNAPSHOT','unitInfo$','toLowerCase','_xformMode','onStateChange','BlockCipher','cmd','_updateStatus','enableAuthServer','_nRounds','sid','pad','pluginName','SHOULD_CLOSE_CONN','fetch_missing','MUTATION','ONLINE','UPDATE_PERMISSION_OBJ','collaborators','BufferedBlockAlgorithm','_clearScheduledTask','readAsDataURL','_sessionStatus$','_transformStateCache','BASE64','fromCharCode','charCodeAt','origin','reset','csRejEvent','_updateLocalCache','_sender','_rescheduleHeartbeat','enc','[PendingState]:\x20received\x20rejection.','padding','/new_changes','SOCKET_FAILED','_getRedoStack','COMPRESS_MUTATION_APPLY','replace','_sessions','UNKNOWN_CODE','exports','_replaceFileID','csAckEvent','JOIN_ROOM_FAILED','_onRemoteRejected','put','words','fetchThroughInterceptors','get','_scheduleCompleteTimestamp','Hex','fetching\x20missing\x20changesets\x20from\x20','_hash','_oKey','image/jpg','url','subscribe','APPLY_NON_SEQUENTIAL_REVISION','setShowComponents','extend','LIVESHARE_FETCH_OPERATIONS','default','getCurrentRevOfUnit','code','startsWith','_replayCachedMutations','substr','RECV','OTHER_CLIENTS_EDITING','getInterceptPoints','socketService','onRemoteRetry','isPermissionRej','selections','4FEHuvl','from','_redoStacks','/universer-api/file/{fileID}/sign-url','_sendHeartbeat','JOIN','set','requireSession','onTransformSelections','HttpExport','execute','_schedule','session.room-permission-denied','state','/block/','_httpService','_keySchedule','uploadFileServerUrl','submit\x20changeset\x20error!','parse','_awaitingChangeset','6344070GMvDmh','?size=','loginUrlKey','__creator','saveChangeset','createSocket','_unlockTransition','UPDATE_CURSOR','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_emitMembers','[OfflineState]:\x20received\x20changeset.','_process','LIVESHARE_REQUEST_HOST','retryConnectingInterval','LOCAL_CACHE_INTERVAL','removeMember','fetchMiss','576222KAodPy','/universer-api/uniscript','_onFetchMissResult','_state','editing\x20status\x20changed\x20to','[CollaborationUndoRedoService]','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','conflict','_DEC_XFORM_MODE','_HTTPService','USERS_LEAVE','CHANGESET_ACK','transformSelections','PENDING','awaiting_with_pending','sigBytes','connection\x20error','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','CHANGESET_REJ','generateRandomId','LICENSE_DISTRO_REJECTED','_showConflictNotification','_type','setCurrentUser','mode','href','_unitInfo$','max','_onRemoteRetry','_sendingTimer','c1Prime','updateOfflineData','_timeoutTimer','MD5','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','UNIVER_SLIDE','registerHTTPInterceptor','_socketReady','range','error$','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','_onCombEvent','CONFLICT','onRemoteChangeset','clone','_members','\x20in\x20_schedule.','_executeRemoteChangeset','subject','hostname','PasswordBasedCipher','/universer-api/oidc/authpage','change$','_undoStacks','COLLAB_SUBMIT_CHANGESET_URL','stopTime','dispose','COMPRESS_MUTATION_SEND','IDLE','getMember','prototype','ivSize','SYNCED','_initUnitPermissionChange','_iKey','randomUUID','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','disableLocalCache','charAt','closeSession','_handlerCallback','JOIN_ROOM_PERMISSION_DENIED','getCollabEntity$','_lockTransition','map','equals','SNAPSHOT_SERVER_URL_KEY','_waitForHeartbeatResponse','random','lib','saveImage','/fetchmissing?from=','_applyRemoteChangeset','roles','key','debug','_clearCollaborationTimeoutTimer','image/jpeg','_substituteRedoStack','_getAPIPrefix','memberID','getSheetBlock','session.room-not-exists','CLOSE_ROOM','HEARTBEAT','objectID','transformMutationsWithChangeset','[PendingState]:\x20received\x20acknowledgement.','_transformUndoredo','_tryEnsureSocket','_entities','HEARTBEAT_TIMEOUT','collaboratorID','_roomCreated$','workbook','_instanceService','compose','_onUserLeave','_startTelemetryCollaborationNewChangeset','_sendHeartbeatTimer','size','update','commentUpdateEvent','saveSheetBlock','_listenToNetworkCondition','OTHER_CLIENT_EDITING','_key','downloadEndpointUrl','copyFileMeta','readInt32LE','_clearRedo','encodeURIComponent','decryptBlock','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','_state$','_localeService','cfg','onStarting','msCrypto','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_createHmacHelper','_roomMembers','_createHandler','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','__esModule','_disableEditing','requestParams','offline','getCurrentUser','UNAUTHENTICATED','Univer','addHandlerCallback','getWorkbookSelections','pipe','executeCommand','getAllMembers','authzUrl','blockSize','collaboration_new_changeset','_onOffline','clamp','createEncryptor','_transformRemoteChangesetByStateCache','string','_handler','slice','_compressMutationService','_imageSourceCache','HMAC','_event$','[CollaborationSessionService]:\x20socket\x20error','_onJoinRoomEvent','[DataLoaderService]','synced','YUUMI_UNABLE_LOAD_URL','append','_tryReconnect','onlyLocal','_data','_univerInstanceService','JOIN_ROOM_FULL','ERROR_IMAGE','_unitID','_getUndoStack','_waitCount','_cipher','repeat','putCollaborators','POST','onSendChangeset','_resendTimer','[UniverCollaborationClientPlugin]','_networkConditionService','_onLocalMutation','PERSON','_getCtorByUniverType','findIndex','univer-pro.collaboration-client-socket-service','_undoRedoService','LIVESHARE_NEW_HOST','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','params','_loadDoc','_getUploadFileURL','_getCurrentRevision','session.room-cnt-exceeds','FETCH_MISS','indexOf','_getSignURL','not_collab','_mode','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','HEARTBEAT_INTERVAL','NO_OTHER_CLIENTS_EDITING','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_decreaseWaiting','event$','COLLAB_WEB_SOCKET_URL','status','onCommentUpdate','_initRequestHeader','ciphertext','_createInitialState','complete','keySize','16890ILbZrB','_transitionLocked','send','/role','_snapshotServerService','_isPermissionRej','_doFinalize','add','&assign=','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','data','ERROR_EXCEED_SIZE','getFocusedUnit','revision','ws://127.0.0.1:8000/universer-api/comb/connect','_initDependencies','file','_members$','1175MDbjxJ','kdf','members','commentUpdate$','listRoles','UNIVER_DOC','WordArray','_retryCount','mutations','sessionStatus','_onConnectionOpen','signUrlServerUrl','call','waitForRoom$','_config','x-univer-host','headers','Base64','unknown','/universer-api/authz','now','INGEST','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','YUUMI_URL_COL_OUT_OF_RANGE','_append','failed\x20to\x20apply\x20missed\x20changesets!','reqId','onTransformRemoteChangesetByStateCache','collabSubmitChangesetUrl','SOCKET_FAILED_RETRY','HELLO','_clearTimeoutTimer','_fetchMissChangesets','JOIN_ROOM_NOT_EXISTS','session','_prevBlock','loadOfflineData','INTERNAL_ERROR','members$','min','sheets','join','list','byteOffset','_scheduleCollaborationTimeoutTimer','INVALID_ARGUMENT','finalize','[CollaborationSessionService]','UNRECOGNIZED','_hasher','json','collabWebSocketUrl','_startCollaboration','_submitChangeset','getUnitOnRev','_clearLocalCache','Random\x20bytes\x20length\x20must\x20be\x20>=\x2016','_status$','SUBMIT_CHANGESET_TIMEOUT','_snapshotService','_pendingMutations','_sheetTransformSelectionsService','createDecryptor','JOINING','AUTHZ_URL_KEY','routeKey','_initMergeInterceptor','_onRecvEvent','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','_createInitialStateImpl','Decryptor','YUUMI_RATE_OVER_LIMIT','image/gif','_onRemoteACK','onTransformState','_updateState','_telemetryService','onMissingChangesets','[FetchMissState]','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','NOT_FOUND','APPLY_PERMISSION_DENIED','OpenSSL','catch','isArray','push','AWAITING_WITH_PENDING','[SyncedState]:\x20received\x20acknowledgement.','crypto','Base','OFFLINE','getUnitType','objectActions','m2Prime','_transformSelections','snapshot','auth.needGotoLoginAlert','_transformIMECache','decrypt','_ENC_XFORM_MODE','BlockCipherMode','_entityInit$','length','_shouldReportTelemetry','_socketMessageSubscription','changesets','patch','getImage','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CipherParams','delete','csShouldRetryEvent','[CollaborationState]:\x20apply\x20error!','override','shouldCloseConn','entityInit$','_registerDependencies','People','FileId','onSyncEditingCollabCursor','_changesetReqId','_getDownloadEndpointURL','apply','pauseCollaboration','\x0aCurrent:\x20','Pkcs7','StreamCipher','awaitingChangeset','getTypeOfUnitDisposed$','getValue','transformUndoRedo','_joinRoom','CHANGESET_SHOULD_RETRY','has','PERMISSION_DENIED','ceil','SNAPSHOT_HAS_BEEN_REMOVED','toggleOnline','NEW_CHANGESETS','/object/','abs','_revisionService','_collaborationTimeoutTimer','LICENSE_MAX_UNITS_EXCEEDED','sin','_getSendChangesetTimeout','subUnitId','encode','error','?url=','_socket$','deleteCollaborator','infoRsp','_stopTelemetryCollaborationNewChangeset','_syncEditingCollabCursor','_checkMissing','_reverseMap','getUnitId','onload','Utf8','every','saveSnapshot','hasher','rng','liveShareOperation','NOT_COLLAB','splice','hasOwnProperty','iterations','encryptBlock','AWAITING','create','_queuedRemoteChangesets','/-/object/-/batch_allowed','interceptor','SHA1','onTransformRemoteChangesetByIMECache','_onConnectionFailed','LEAVE','LIVESHARE_OPERATION','APPLY_DUPLICATED','unitId','_init','/rev/','_injector','_getAPIPrefixPath','_incrementRevisionNumber','stringify','rev','EvpKDF','createInstance','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','sessionStatus$','SUBMIT_CHANGESET','UNIVER_PROJECT','socket\x20close','_collaborationPaused','HttpImport','getMemberID','UUID','post','state$','filter','updatePermissionObjEvent','SEND_CHANGESET_TIMEOUT','target','ERROR_IMAGE_TYPE','\x20to\x20','bind','_remoteChangesetQueue','GLOBAL_ROOMS_CNT_EXCEEDS','setWaitCount','Encryptor','[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.','_permissionService','_iv','close$','getRandomValues','src','encrypt','/allowed','location','LICENSE_EXPORT_SIZE_EXCEEDED','forEach','_change$','_onRemoteChangeset','_retryConnectingTimer','_clearUndo','setConfig','Cipher','UNIVER_COLLABORATION_CLIENT_PLUGIN','_nDataBytes','awaiting','readyForCollab','9736200RAplwB','status$','7FrPYCR','341528tEPPgf','resend','sendChangesetTimeout','getCurrentSelections','emitEvent','_removeRoom','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','telemetry\x20info\x20is\x20not\x20initialized','withCredentials','eventID','onLocalMutation','_doReset','Undefined','_onMessage','toString','UNIVER_SHEET','EXCHANGE_SIGN_URL_SERVER_URL_KEY','getRoom','getCollabEntity','salt','LIVESHARE_TERMINATE','unsubscribe','_transformService','pending','disposeWithMe','Malformed\x20UTF-8\x20data','_memberService','_onUserJoin','algo','[CollaborationEntity]','_collaborationUIEventService','univer-pro.collaboration-client.single-active-unit-service','buffer','joinRsp','DEFAULT_FILE_NAME','_telemetryInfo','loadSheet','collaboration-client.config','UNISCRIPT_RUN','resourceIDs','_onConflict','_collaborationSessionService','_doCryptBlock','init','startTime','_eventService','HmacMD5','_configService','_map','_logService','APPLY_REJECT','UnitEmbedded','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','$super','/object','_exhaustRemoteChangesetQueue','originalMeta','Could\x20not\x20dynamically\x20require\x20\x22','getOwnPropertyDescriptor','_toggleOffline','_acknowledgedAwaitingChangeset','/universer-api/comb','_transformStack','USERS_ENTER','AES','refreshPermission','_commentService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_socketService','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','close','roomInfos','updateMember','/unit/','UNIVER_UNKNOWN','SUCCUSS','_singleActiveUnitService','_localCacheService','33406131RJTJia','_clearHeartbeatTimer','open$','find','getSheetId','TOO_MANY_REQUESTS','baseRev','byteLength','_candidateSocket','_socket','updatePermissionPoint','liveShareNewHost','onTransformIME','COMMENT_UPDATE','includes','actions','unitID','entries','_changesetSessionId','appendMutation','_parse','MSG_FOR_ERROR','focused$','concat','UnitSnapshot','_doProcessBlock','toggleOffline','_createSocket','name','_createHelper'];_0x938e=function(){return _0x446f3e;};return _0x938e();}class pe{constructor(){var _0x4a898d=_0x5f281c;N(this,_0x4a898d(0x19a),new _0x39b4f1()),N(this,_0x4a898d(0x1c9),this[_0x4a898d(0x19a)][_0x4a898d(0x362)]());}[_0x5f281c(0x2d5)](_0x24cb82){var _0x2565a4=_0x5f281c;this[_0x2565a4(0x19a)]['next'](_0x24cb82);}}const xn=_0x1a0676(_0x5f281c(0x388));function Ln(_0x1bcc68){var _0x48dc06=_0x5f281c,_0x5734de,_0x27f52b,_0x56a246,_0x59ad81,_0x292d52;const _0x5e500b=_0x1bcc68[_0x48dc06(0x1dc)],_0x1c2238=JSON[_0x48dc06(0x3ef)](_0x5e500b);switch(_0x1c2238[_0x48dc06(0x395)]){case F[_0x48dc06(0x461)]:case F[_0x48dc06(0x202)]:{const _0x1d99b8=_0x1c2238[_0x48dc06(0x27c)];return{..._0x1c2238,'data':_0x1d99b8,'cmd':_0x1c2238[_0x48dc06(0x395)]};}case F[_0x48dc06(0x3e1)]:{const _0x14dc63=_0x1c2238[_0x48dc06(0x2f2)];return{..._0x1c2238,'data':_0x14dc63,'cmd':_0x1c2238[_0x48dc06(0x395)]};}case F[_0x48dc06(0x3d5)]:{const _0x4bd9c7=_0x1c2238['collaMsg'];switch(_0x4bd9c7[_0x48dc06(0x2da)]){case _0x54c335['PERMISSION_REJ']:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x5734de=_0x4bd9c7['permissionRejEvent'])==null?void 0x0:_0x5734de['cs']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x40d)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x27f52b=_0x4bd9c7[_0x48dc06(0x3bc)])==null?void 0x0:_0x27f52b['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x26e)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x56a246=_0x4bd9c7[_0x48dc06(0x36c)])==null?void 0x0:_0x56a246['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x414)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x59ad81=_0x4bd9c7[_0x48dc06(0x3ac)])==null?void 0x0:_0x59ad81['cs']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x268)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':(_0x292d52=_0x4bd9c7[_0x48dc06(0x253)])==null?void 0x0:_0x292d52['cs']},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x3f8)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['updateCursorEvent']},'cmd':_0x1c2238['cmd']};case _0x54c335['USERS_ENTER']:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['joinEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x40c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['leaveEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x1b8)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['liveShareNewHost']},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x3ce)]:case _0x54c335[_0x48dc06(0x297)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x288)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x2e5)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x32a)]},'cmd':_0x1c2238['cmd']};case _0x54c335[_0x48dc06(0x334)]:return{..._0x1c2238,'data':_0x4bd9c7,'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x32c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x473)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x3a0)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x2af)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x39c)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7[_0x48dc06(0x256)]},'cmd':_0x1c2238[_0x48dc06(0x395)]};case _0x54c335[_0x48dc06(0x2f7)]:return{..._0x1c2238,'data':{..._0x4bd9c7,'data':_0x4bd9c7['uniscriptRunEvent']},'cmd':_0x1c2238[_0x48dc06(0x395)]};default:return _0x1c2238;}}default:return _0x1c2238;}}function Mn(_0x25c4f7){var _0x308ed3=_0x5f281c;switch(_0x25c4f7[_0x308ed3(0x395)]){case F[_0x308ed3(0x461)]:case F['HELLO']:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)]});case F[_0x308ed3(0x1f9)]:{let _0x64ad6b;switch(_0x25c4f7[_0x308ed3(0x1dc)]['eventID']){case _0x54c335[_0x308ed3(0x3f8)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3f8)],'updateCursorEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335['USERS_LEAVE']:{_0x64ad6b={'eventID':_0x54c335['USERS_LEAVE'],'leaveEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x310)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x310)],'joinEvent':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x1b8)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x1b8)],'liveShareNewHost':_0x25c4f7['data']['data']};break;}case _0x54c335['LIVESHARE_OPERATION']:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x297)],'liveShareOperation':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335['LIVESHARE_TERMINATE']:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x2e5)],'liveShareTerminate':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x3fd)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3fd)],'liveShareRequestHost':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x1dc)]};break;}case _0x54c335[_0x308ed3(0x3ce)]:{_0x64ad6b={'eventID':_0x54c335[_0x308ed3(0x3ce)]};break;}default:_0x64ad6b={'eventID':_0x25c4f7[_0x308ed3(0x1dc)][_0x308ed3(0x2da)]};}return JSON['stringify']({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)],'collaMsg':_0x64ad6b});}case F[_0x308ed3(0x3e1)]:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7[_0x308ed3(0x225)],'joinReq':_0x25c4f7[_0x308ed3(0x1dc)]});case F[_0x308ed3(0x296)]:return JSON[_0x308ed3(0x29f)]({'cmd':_0x25c4f7[_0x308ed3(0x395)],'routeKey':_0x25c4f7['routeKey'],'leaveReq':_0x25c4f7[_0x308ed3(0x1dc)]});default:throw new Error(_0x308ed3(0x17c));}}var $n=Object[_0x5f281c(0x348)],Hn=Object[_0x5f281c(0x30b)],kn=(_0x1c72ef,_0x44b7ee,_0xff47ef,_0x45178a)=>{var _0x50fd01=_0x5f281c;for(var _0x34a410=_0x45178a>0x1?void 0x0:_0x45178a?Hn(_0x44b7ee,_0xff47ef):_0x44b7ee,_0x3e10a0=_0x1c72ef[_0x50fd01(0x24a)]-0x1,_0x477bf5;_0x3e10a0>=0x0;_0x3e10a0--)(_0x477bf5=_0x1c72ef[_0x3e10a0])&&(_0x34a410=(_0x45178a?_0x477bf5(_0x44b7ee,_0xff47ef,_0x34a410):_0x477bf5(_0x34a410))||_0x34a410);return _0x45178a&&_0x34a410&&$n(_0x44b7ee,_0xff47ef,_0x34a410),_0x34a410;},we=(_0x1a5cba,_0x234c6d)=>(_0x3c0dfd,_0x259f06)=>_0x234c6d(_0x3c0dfd,_0x259f06,_0x1a5cba);const Ii=_0x1a0676(_0x5f281c(0x1b6));function jn(_0x8ef0dc,_0x5e9e12,_0x9bb703){var _0x20b8c3=_0x5f281c;return _0x8ef0dc+'/'+_0x5e9e12+_0x20b8c3(0x31a)+_0x9bb703+_0x20b8c3(0x3b3);}let Vt=class extends _0x52a4ec{constructor(_0x4e307f,_0x31ab86,_0x4d2f1b,_0x167218,_0x56710e){var _0x16c7de=_0x5f281c;super(),this[_0x16c7de(0x29c)]=_0x4e307f,this[_0x16c7de(0x3eb)]=_0x31ab86,this[_0x16c7de(0x300)]=_0x4d2f1b,this[_0x16c7de(0x302)]=_0x167218,this[_0x16c7de(0x1d6)]=_0x56710e;}['_doCreateSocket'](_0x34f3f3){var _0x49ad6e=_0x5f281c;const _0xa8d3c2=this['_injector'][_0x49ad6e(0x3c2)](_0x1f7895);if(!_0xa8d3c2)throw new Error(_0x49ad6e(0x1b9));const _0x27bb5a=_0xa8d3c2['createSocket'](_0x34f3f3);if(!_0x27bb5a)throw new Error(_0x49ad6e(0x228));const _0x994db7=new _0x460d4b(),_0x3accd3=new _0x39b4f1();_0x994db7['add'](_0x27bb5a[_0x49ad6e(0x2bc)][_0x49ad6e(0x3ca)](_0x4575e9=>_0x3accd3[_0x49ad6e(0x346)](_0x4575e9))),_0x994db7['add'](_0x5f82e5(()=>_0x3accd3['complete']()));const _0x3fc1b=new _0x39b4f1();_0x994db7[_0x49ad6e(0x1d9)](_0x27bb5a['error$'][_0x49ad6e(0x3ca)](_0x1cfe10=>_0x3fc1b['next'](_0x1cfe10))),_0x994db7[_0x49ad6e(0x1d9)](_0x5f82e5(()=>_0x3fc1b[_0x49ad6e(0x1d0)]()));const _0x466c06=new _0x39b4f1();_0x994db7[_0x49ad6e(0x1d9)](_0x27bb5a['message$'][_0x49ad6e(0x3ca)](_0x4f7b26=>{var _0x5681a4=_0x49ad6e;const _0x2f9500=Ln(_0x4f7b26);_0x466c06[_0x5681a4(0x346)](_0x2f9500);})),_0x994db7[_0x49ad6e(0x1d9)](_0x5f82e5(()=>_0x466c06[_0x49ad6e(0x1d0)]()));let _0x490c26;const _0x45be76=()=>{var _0x3dba8c=_0x49ad6e;_0x3fc1b[_0x3dba8c(0x346)](new Event(_0x3dba8c(0x412))),_0x3accd3[_0x3dba8c(0x346)](new Event(_0x3dba8c(0x412))),_0x490c26[_0x3dba8c(0x317)]();};return _0x490c26={'memberID':'','close$':_0x3accd3['asObservable'](),'error$':_0x3fc1b['asObservable'](),'open$':_0x27bb5a[_0x49ad6e(0x321)],'message$':_0x466c06[_0x49ad6e(0x362)](),'send':_0x3bd9d6=>{var _0x581247=_0x49ad6e;if(_0x3bd9d6['cmd']===F[_0x581247(0x1f9)]){if(_0x3bd9d6['data'][_0x581247(0x2da)]===_0x54c335[_0x581247(0x2a5)]){this[_0x581247(0x219)](_0x490c26,_0x3bd9d6['data'])[_0x581247(0x237)](_0x198e83=>{var _0x31cfeb=_0x581247;this[_0x31cfeb(0x302)][_0x31cfeb(0x278)](_0x198e83),_0x45be76();});return;}if(_0x3bd9d6[_0x581247(0x1dc)][_0x581247(0x2da)]===_0x54c335['FETCH_MISSING']){const _0x4b1c71=_0x3bd9d6[_0x581247(0x1dc)];this[_0x581247(0x204)](_0x4b1c71)['then'](_0x1e0650=>{var _0x365e46=_0x581247;_0x466c06['next']({'cmd':F[_0x365e46(0x3d5)],'code':ge['OK'],'routeKey':_0x4b1c71['data'][_0x365e46(0x32f)],'routeType':'','data':{'eventID':_0x54c335['PSEUDO_FETCH_MISSING_RESULT'],'data':{'changesets':_0x1e0650}}});})[_0x581247(0x237)](_0x5287fb=>{var _0x38c3d0=_0x581247;this[_0x38c3d0(0x302)][_0x38c3d0(0x278)](_0x5287fb),_0x45be76();});return;}}_0x27bb5a[_0x581247(0x1d4)](Mn(_0x3bd9d6));},'close':()=>{var _0x37d1bc=_0x49ad6e;_0x27bb5a[_0x37d1bc(0x317)](),_0x994db7['dispose']();}},_0x490c26;}async[_0x5f281c(0x219)](_0x40ed23,_0x7ff7d8){var _0x963719=_0x5f281c,_0x4f4d22,_0x52e5d2;const {unitType:_0x18dff4,unitID:_0x5f17c4,changeset:_0x184d8e}=_0x7ff7d8[_0x963719(0x1dc)],_0x204598={'unitID':_0x5f17c4,'memberID':_0x40ed23['memberID'],'type':_0x18dff4,'changeset':_0x353ded(_0x184d8e)},_0x2507ee=this['_configService'][_0x963719(0x38a)](Dn),_0x509930=this[_0x963719(0x300)]['getConfig'](q),_0x344895=jn((_0x52e5d2=(_0x4f4d22=_0x509930==null?void 0x0:_0x509930[_0x963719(0x200)])!=null?_0x4f4d22:_0x2507ee)!=null?_0x52e5d2:Pn,_0x18dff4,_0x5f17c4);try{await this[_0x963719(0x3eb)][_0x963719(0x2ac)](_0x344895,{'body':_0x204598});}catch(_0x5a4163){throw this['_logService'][_0x963719(0x278)](_0x963719(0x36d),_0x963719(0x3ee)),_0x5a4163;}}async[_0x5f281c(0x204)](_0x3f3b8e){var _0xa59c2a=_0x5f281c;const {unitID:_0x376ddc,from:_0x4cd61b,to:_0x32238d,unitType:_0x472726}=_0x3f3b8e[_0xa59c2a(0x1dc)];return(await this[_0xa59c2a(0x1d6)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x376ddc,'type':_0x472726,'from':_0x4cd61b,'to':_0x32238d}))[_0xa59c2a(0x24d)];}};Vt=kn([we(0x0,_0x9558f9(_0xd634d6)),we(0x1,_0x9558f9(_0x30b05c)),we(0x2,_0x3b2da1),we(0x3,_0x29c204),we(0x4,_0x4a66d0)],Vt);const Bn=_0x5f281c(0x18f);function Fn(_0x39e3e9){var _0x3af783=_0x5f281c;return JSON[_0x3af783(0x29f)](_0x39e3e9)[_0x3af783(0x24a)];}class Ti{constructor(){var _0x5b78a5=_0x5f281c;N(this,_0x5b78a5(0x349),new _0x39b4f1()),N(this,_0x5b78a5(0x1e7),this[_0x5b78a5(0x349)][_0x5b78a5(0x362)]());}['onCommentUpdate'](_0x4e6725){var _0x4c6779=_0x5f281c;this[_0x4c6779(0x349)][_0x4c6779(0x346)](_0x4e6725);}}var Gn=Object[_0x5f281c(0x348)],Vn=Object[_0x5f281c(0x30b)],Wn=(_0x80cb19,_0x459e23,_0x4bf07a,_0x9f4d79)=>{var _0x1fb029=_0x5f281c;for(var _0x51b05a=_0x9f4d79>0x1?void 0x0:_0x9f4d79?Vn(_0x459e23,_0x4bf07a):_0x459e23,_0x1f96f9=_0x80cb19[_0x1fb029(0x24a)]-0x1,_0x297724;_0x1f96f9>=0x0;_0x1f96f9--)(_0x297724=_0x80cb19[_0x1f96f9])&&(_0x51b05a=(_0x9f4d79?_0x297724(_0x459e23,_0x4bf07a,_0x51b05a):_0x297724(_0x51b05a))||_0x51b05a);return _0x9f4d79&&_0x51b05a&&Gn(_0x459e23,_0x4bf07a,_0x51b05a),_0x51b05a;},Wt=(_0x13ac2e,_0x373cfc)=>(_0x1b553,_0x5d2aad)=>_0x373cfc(_0x1b553,_0x5d2aad,_0x13ac2e);let xe=class extends _0x52a4ec{constructor(_0x171999,_0x3e3a53){var _0x1d4bbc=_0x5f281c;super(),N(this,_0x1d4bbc(0x17e),new Map()),N(this,_0x1d4bbc(0x46a),new _0x39b4f1()),(this['_univerInstanceService']=_0x171999,this[_0x1d4bbc(0x37f)]=_0x3e3a53,this[_0x1d4bbc(0x2e9)](_0x2f7b48(this[_0x1d4bbc(0x1a4)]['getTypeOfUnitDisposed$'](_0xd6875a[_0x1d4bbc(0x2e0)])['pipe'](_0x213c72(_0x51d39b=>_0x51d39b['getUnitId']())),this[_0x1d4bbc(0x1a4)][_0x1d4bbc(0x264)](_0xd6875a[_0x1d4bbc(0x1e9)])[_0x1d4bbc(0x18a)](_0x213c72(_0x3b270e=>_0x3b270e['getUnitId']())),this['_univerInstanceService'][_0x1d4bbc(0x264)](_0xd6875a[_0x1d4bbc(0x426)])['pipe'](_0x213c72(_0x1e983e=>_0x1e983e['getUnitId']())))[_0x1d4bbc(0x3ca)](_0x2af458=>this[_0x1d4bbc(0x2d6)](_0x2af458))));}[_0x5f281c(0x1f1)](_0x37b1e5){var _0x3210ea=_0x5f281c;return this[_0x3210ea(0x17e)]['has'](_0x37b1e5)?_0x3f1059(this[_0x3210ea(0x17e)][_0x3210ea(0x3c2)](_0x37b1e5)):this['_roomCreated$']['pipe'](_0x213c72(_0x53e2d2=>{var _0x4968a0=_0x3210ea;if(_0x53e2d2===_0x37b1e5)return this[_0x4968a0(0x17e)]['get'](_0x53e2d2);}));}[_0x5f281c(0x419)](_0x215b62){var _0x9ba152=_0x5f281c;this[_0x9ba152(0x37f)]['setCurrentUser'](_0x215b62);}['getCurrentUser'](){var _0x3f15c0=_0x5f281c;return this['_userManagerService'][_0x3f15c0(0x185)]();}[_0x5f281c(0x319)](_0x545212,_0x3e3a01){var _0x2207eb=_0x5f281c;let _0x4ad76e=this[_0x2207eb(0x17e)][_0x2207eb(0x3c2)](_0x545212);_0x4ad76e||(_0x4ad76e=new Kn(),this[_0x2207eb(0x17e)][_0x2207eb(0x3e2)](_0x545212,_0x4ad76e),this['_roomCreated$'][_0x2207eb(0x346)](_0x545212)),_0x4ad76e['updateMember'](_0x3e3a01);}[_0x5f281c(0x400)](_0x181abf,_0x37ef6b){var _0x2773c9=_0x5f281c;const _0x4c0935=this[_0x2773c9(0x17e)][_0x2773c9(0x3c2)](_0x181abf);_0x4c0935&&_0x4c0935['removeMember'](_0x37ef6b);}[_0x5f281c(0x2e2)](_0x20eec7){var _0xab8b11=_0x5f281c;return this[_0xab8b11(0x17e)][_0xab8b11(0x3c2)](_0x20eec7);}['getMember'](_0x10470c,_0x13534e){var _0x18abf3=_0x5f281c;const _0xb8034f=this[_0x18abf3(0x17e)][_0x18abf3(0x3c2)](_0x10470c);if(_0xb8034f)return _0xb8034f[_0x18abf3(0x43e)](_0x13534e);}[_0x5f281c(0x2d6)](_0x3c1818){var _0x201761=_0x5f281c;const _0x18b3f6=this[_0x201761(0x17e)]['get'](_0x3c1818);_0x18b3f6&&(_0x18b3f6[_0x201761(0x43b)](),this['_roomMembers'][_0x201761(0x252)](_0x3c1818));}['dispose'](){var _0x122a7e=_0x5f281c;this['_roomMembers'][_0x122a7e(0x2c3)](_0x18dc62=>_0x18dc62['dispose']()),this[_0x122a7e(0x17e)][_0x122a7e(0x379)](),this[_0x122a7e(0x46a)][_0x122a7e(0x1d0)]();}};xe=Wn([Wt(0x0,_0x34f8d6),Wt(0x1,_0x9558f9(_0x1b7731))],xe);class Kn extends _0x52a4ec{constructor(){var _0x39e9f3=_0x5f281c;super(...arguments),N(this,'_members',new Map()),N(this,_0x39e9f3(0x1e3),new _0x28a5cc(this['_members'])),N(this,_0x39e9f3(0x20a),this['_members$']['asObservable']());}['dispose'](){var _0x520e10=_0x5f281c;this[_0x520e10(0x430)][_0x520e10(0x379)]();}[_0x5f281c(0x319)](_0x5ee542){var _0x4249cd=_0x5f281c;this['_members'][_0x4249cd(0x3e2)](_0x5ee542['memberID'],_0x5ee542),this['_emitMembers']();}[_0x5f281c(0x400)](_0x3acd96){var _0x70b69a=_0x5f281c;this['_members'][_0x70b69a(0x252)](_0x3acd96);}[_0x5f281c(0x43e)](_0x15a460){var _0x2584f2=_0x5f281c;return this[_0x2584f2(0x430)][_0x2584f2(0x3c2)](_0x15a460);}[_0x5f281c(0x18c)](){var _0x20ae61=_0x5f281c;return Array[_0x20ae61(0x3dd)](this[_0x20ae61(0x430)]['values']());}[_0x5f281c(0x3fa)](){var _0xbda007=_0x5f281c;this[_0xbda007(0x1e3)][_0xbda007(0x346)](this[_0xbda007(0x430)]);}}var Yn=Object[_0x5f281c(0x348)],qn=Object[_0x5f281c(0x30b)],zn=(_0x49ded5,_0x45e8fb,_0x309137,_0x2da751)=>{var _0x4c9851=_0x5f281c;for(var _0x2cd8fd=_0x2da751>0x1?void 0x0:_0x2da751?qn(_0x45e8fb,_0x309137):_0x45e8fb,_0x3c537d=_0x49ded5[_0x4c9851(0x24a)]-0x1,_0x17aae4;_0x3c537d>=0x0;_0x3c537d--)(_0x17aae4=_0x49ded5[_0x3c537d])&&(_0x2cd8fd=(_0x2da751?_0x17aae4(_0x45e8fb,_0x309137,_0x2cd8fd):_0x17aae4(_0x2cd8fd))||_0x2cd8fd);return _0x2da751&&_0x2cd8fd&&Yn(_0x45e8fb,_0x309137,_0x2cd8fd),_0x2cd8fd;},me=(_0x635a1a,_0x54bd4a)=>(_0x35ce0c,_0x5dec2a)=>_0x54bd4a(_0x35ce0c,_0x5dec2a,_0x635a1a),Ee=(_0x307ae0=>(_0x307ae0[_0x307ae0['IDLE']=0x0]=_0x5f281c(0x43d),_0x307ae0[_0x307ae0['JOINING']=0x1]=_0x5f281c(0x223),_0x307ae0[_0x307ae0['OFFLINE']=0x2]=_0x5f281c(0x23e),_0x307ae0[_0x307ae0[_0x5f281c(0x39f)]=0x3]=_0x5f281c(0x39f),_0x307ae0))(Ee||{});const Kt={[ge[_0x5f281c(0x35a)]]:'session.join-failed',[ge[_0x5f281c(0x1a5)]]:_0x5f281c(0x368),[ge[_0x5f281c(0x205)]]:_0x5f281c(0x45f),[ge[_0x5f281c(0x44a)]]:_0x5f281c(0x3e8),[ge[_0x5f281c(0x2b6)]]:_0x5f281c(0x1be)};let Et=class extends _0x23be52{constructor(_0x3d5dde,_0x486f35,_0x466bef,_0x5802d8,_0x4c5fd3,_0x5192dd,_0xdc179a,_0x310e33,_0x569558){var _0x37df95=_0x5f281c;super(),N(this,_0x37df95(0x3a5),new _0x28a5cc(0x0)),N(this,'sessionStatus$',this[_0x37df95(0x3a5)]['asObservable']()),N(this,_0x37df95(0x19a),new _0x39b4f1()),N(this,'event$',this['_event$'][_0x37df95(0x362)]()),N(this,_0x37df95(0x328)),N(this,_0x37df95(0x24c)),N(this,_0x37df95(0x272)),N(this,_0x37df95(0x24b),!0x1),N(this,_0x37df95(0x2f4),null),(this[_0x37df95(0x1a7)]=_0x3d5dde,this[_0x37df95(0x302)]=_0x466bef,this[_0x37df95(0x300)]=_0x5802d8,this['_localeService']=_0x4c5fd3,this[_0x37df95(0x2eb)]=_0x5192dd,this[_0x37df95(0x313)]=_0xdc179a,this[_0x37df95(0x2ef)]=_0x310e33,this[_0x37df95(0x230)]=_0x569558,this['_shouldReportTelemetry']=!!this[_0x37df95(0x230)],_0x486f35['pipe'](_0x5106b7(this[_0x37df95(0x365)]))[_0x37df95(0x3ca)](_0x316075=>{var _0x3bb43e=_0x37df95,_0xaa35a7;typeof _0x316075>'u'||(this[_0x3bb43e(0x328)]=_0x316075,_0x316075?(this[_0x3bb43e(0x267)](_0x316075),this['_socketMessageSubscription']=_0x316075['message$'][_0x3bb43e(0x3ca)](_0x11791f=>{var _0x32a379=_0x3bb43e;_0x11791f[_0x32a379(0x225)]===this[_0x32a379(0x1a7)]&&this[_0x32a379(0x42c)](_0x11791f);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x3bb43e(0x3a5)][_0x3bb43e(0x346)](0x2),(_0xaa35a7=this[_0x3bb43e(0x24c)])==null||_0xaa35a7[_0x3bb43e(0x2e6)](),this[_0x3bb43e(0x24c)]=null));}));}get['sessionStatus'](){var _0x5d8afe=_0x5f281c;return this['_sessionStatus$'][_0x5d8afe(0x265)]();}[_0x5f281c(0x2aa)](){var _0x5c6ef6=_0x5f281c,_0x121495,_0x386dd7;return(_0x386dd7=(_0x121495=this[_0x5c6ef6(0x328)])==null?void 0x0:_0x121495[_0x5c6ef6(0x45d)])!=null?_0x386dd7:null;}['dispose'](){var _0x18b4eb=_0x5f281c;super[_0x18b4eb(0x43b)](),this[_0x18b4eb(0x365)]['next'](),this[_0x18b4eb(0x365)][_0x18b4eb(0x1d0)]();}[_0x5f281c(0x317)](){var _0x52ef6a=_0x5f281c,_0x43bf5d,_0x39020c;this['_throwTelemetryCollaborationNewChangeset'](),(_0x43bf5d=this[_0x52ef6a(0x328)])==null||_0x43bf5d[_0x52ef6a(0x1d4)]({'cmd':F[_0x52ef6a(0x296)],'data':{'roomID':this[_0x52ef6a(0x1a7)]}}),(_0x39020c=this[_0x52ef6a(0x328)])==null||_0x39020c[_0x52ef6a(0x317)](),this[_0x52ef6a(0x19a)][_0x52ef6a(0x1d0)](),this[_0x52ef6a(0x3a5)][_0x52ef6a(0x1d0)](),this[_0x52ef6a(0x43b)]();}[_0x5f281c(0x42c)](_0x39bc55){var _0x2ecbe7=_0x5f281c;_0x39bc55['cmd']===F['JOIN']?this[_0x2ecbe7(0x19c)](_0x39bc55):_0x39bc55[_0x2ecbe7(0x395)]===F[_0x2ecbe7(0x3d5)]&&this[_0x2ecbe7(0x227)](_0x39bc55);}['_joinRoom'](_0x489952){var _0x24b99f=_0x5f281c;this['_sessionStatus$'][_0x24b99f(0x346)](0x1),_0x489952[_0x24b99f(0x1d4)]({'cmd':F['JOIN'],'routeKey':this[_0x24b99f(0x1a7)],'routeType':'','data':{'rooms':[{'roomID':this[_0x24b99f(0x1a7)]}]}});}[_0x5f281c(0x19c)](_0xb2b2f){var _0x16225d=_0x5f281c,_0x2c0126;if(_0xb2b2f[_0x16225d(0x3d1)]in Kt){this[_0x16225d(0x2ef)]['emitEvent']({'id':se[_0x16225d(0x3bd)],'data':Kt[_0xb2b2f['code']]}),this[_0x16225d(0x3a5)][_0x16225d(0x346)](0x2);return;}this[_0x16225d(0x3a5)][_0x16225d(0x346)](0x3);const _0x3a69bb=(_0x2c0126=_0xb2b2f['data'][_0x16225d(0x318)][this[_0x16225d(0x1a7)]])==null?void 0x0:_0x2c0126[_0x16225d(0x1e6)];_0x3a69bb&&_0x3a69bb[_0x16225d(0x2c3)](_0x555d35=>this[_0x16225d(0x2eb)][_0x16225d(0x319)](this['_unitID'],_0x555d35));}[_0x5f281c(0x227)](_0x2c81a8){var _0x4e4f9a=_0x5f281c;try{const _0x2d125b=_0x2c81a8[_0x4e4f9a(0x1dc)];switch(_0x2d125b[_0x4e4f9a(0x2da)]){case _0x54c335[_0x4e4f9a(0x310)]:this[_0x4e4f9a(0x2ec)](_0x2d125b),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335[_0x4e4f9a(0x40c)]:this[_0x4e4f9a(0x46e)](_0x2d125b),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335[_0x4e4f9a(0x40d)]:case _0x54c335[_0x4e4f9a(0x268)]:this['_stopTelemetryCollaborationNewChangeset'](),this['_clearCollaborationTimeoutTimer'](),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335['MSG_FOR_ERROR']:this[_0x4e4f9a(0x302)][_0x4e4f9a(0x278)](_0x4e4f9a(0x36a)+JSON[_0x4e4f9a(0x29f)](_0x2d125b)),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;case _0x54c335['COMMENT_UPDATE']:this[_0x4e4f9a(0x313)][_0x4e4f9a(0x1cc)](_0x2d125b[_0x4e4f9a(0x1dc)]),this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);break;default:this[_0x4e4f9a(0x19a)][_0x4e4f9a(0x346)](_0x2d125b);}}catch(_0x389966){this[_0x4e4f9a(0x302)][_0x4e4f9a(0x278)](_0x389966,_0x2c81a8);}}[_0x5f281c(0x2ec)](_0x400ce2){var _0x8718a7=_0x5f281c;this[_0x8718a7(0x2eb)][_0x8718a7(0x319)](this[_0x8718a7(0x1a7)],_0x400ce2[_0x8718a7(0x1dc)]);}[_0x5f281c(0x46e)](_0x56ba36){var _0x563f7b=_0x5f281c;this[_0x563f7b(0x2eb)][_0x563f7b(0x400)](this[_0x563f7b(0x1a7)],_0x56ba36['data'][_0x563f7b(0x45d)]);}async[_0x5f281c(0x1d4)](_0x215dbe,_0x62267){var _0x7ded43=_0x5f281c;if(this[_0x7ded43(0x1ed)]!==0x3||!this['_socket'])throw new Error(_0x7ded43(0x413));try{_0x215dbe[_0x7ded43(0x2da)]===_0x54c335[_0x7ded43(0x2a5)]&&(this[_0x7ded43(0x210)](),this[_0x7ded43(0x46f)](_0x215dbe)),this['_socket']['send']({'cmd':F['INGEST'],'routeKey':_0x62267,'routeType':'','data':_0x215dbe});}catch(_0x882db){this[_0x7ded43(0x302)][_0x7ded43(0x278)](_0x882db);}}[_0x5f281c(0x210)](){var _0xdabb9e=_0x5f281c,_0x1acc41;this[_0xdabb9e(0x272)]=setTimeout(()=>{var _0x5ad638=_0xdabb9e;this[_0x5ad638(0x272)]=null,this[_0x5ad638(0x2ef)][_0x5ad638(0x2d5)]({'id':se['SUBMIT_CHANGESET_TIMEOUT']});},(_0x1acc41=this[_0xdabb9e(0x300)]['getConfig'](mi))!=null?_0x1acc41:gi);}[_0x5f281c(0x459)](){var _0x497b66=_0x5f281c;this[_0x497b66(0x272)]&&(clearTimeout(this[_0x497b66(0x272)]),this[_0x497b66(0x272)]=null);}[_0x5f281c(0x46f)](_0x284d81){var _0x53c3d0=_0x5f281c;if(!this['_shouldReportTelemetry'])return;const {data:_0x58d818}=_0x284d81,{unitID:_0x211416,changeset:_0x1ed309}=_0x58d818,{mutations:_0x184948,type:_0x453387}=_0x1ed309;this['_telemetryInfo']={'unitId':_0x211416,'type':_0x453387,'startTime':performance[_0x53c3d0(0x1f8)](),'stopTime':0x0,'duration':0x0,'size':Fn(_0x184948)};}[_0x5f281c(0x27d)](){var _0x3267e5=_0x5f281c;if(this[_0x3267e5(0x24b)]){if(!this[_0x3267e5(0x2f4)]){this[_0x3267e5(0x302)][_0x3267e5(0x278)](_0x3267e5(0x36d),_0x3267e5(0x2d8));return;}this['_telemetryInfo'][_0x3267e5(0x43a)]=performance[_0x3267e5(0x1f8)](),this[_0x3267e5(0x2f4)][_0x3267e5(0x37d)]=this[_0x3267e5(0x2f4)][_0x3267e5(0x43a)]-this[_0x3267e5(0x2f4)][_0x3267e5(0x2fd)],this['_telemetryService']['capture'](Bn,this[_0x3267e5(0x2f4)]),this[_0x3267e5(0x2f4)]=null;}}['_throwTelemetryCollaborationNewChangeset'](){var _0xf5c235=_0x5f281c;this[_0xf5c235(0x2f4)]=null;}};Et=zn([me(0x2,_0x29c204),me(0x3,_0x3b2da1),me(0x4,_0x9558f9(_0x1aa64a)),me(0x5,_0x9558f9(xe)),me(0x6,_0x9558f9(Ti)),me(0x7,_0x9558f9(pe)),me(0x8,_0x1a79f6(_0x96d161))],Et);var Jn=Object['defineProperty'],Xn=Object['getOwnPropertyDescriptor'],Zn=(_0x3d4f59,_0x2ae2cd,_0x50b308,_0x2449f1)=>{var _0x4e101d=_0x5f281c;for(var _0x32d9e2=_0x2449f1>0x1?void 0x0:_0x2449f1?Xn(_0x2ae2cd,_0x50b308):_0x2ae2cd,_0x18173a=_0x3d4f59[_0x4e101d(0x24a)]-0x1,_0x19a055;_0x18173a>=0x0;_0x18173a--)(_0x19a055=_0x3d4f59[_0x18173a])&&(_0x32d9e2=(_0x2449f1?_0x19a055(_0x2ae2cd,_0x50b308,_0x32d9e2):_0x19a055(_0x32d9e2))||_0x32d9e2);return _0x2449f1&&_0x32d9e2&&Jn(_0x2ae2cd,_0x50b308,_0x32d9e2),_0x32d9e2;},Re=(_0x2c3aab,_0x43bba1)=>(_0x5f158f,_0x1b0532)=>_0x43bba1(_0x5f158f,_0x1b0532,_0x2c3aab);let Le=class extends _0x52a4ec{constructor(_0x5ef07b,_0x431590,_0x2a87d7,_0x3a5673,_0x49fc46,_0x241f14){var _0x38ba4a=_0x5f281c;super(),N(this,'_socket$',new _0x28a5cc(void 0x0)),N(this,'socket$',this[_0x38ba4a(0x27a)]['asObservable']()),N(this,_0x38ba4a(0x327),null),N(this,_0x38ba4a(0x3b8),new Map()),N(this,_0x38ba4a(0x21d),new _0x28a5cc(Ee['IDLE'])),N(this,_0x38ba4a(0x2cf),this[_0x38ba4a(0x21d)][_0x38ba4a(0x362)]()),N(this,'_socketReady',!0x1),N(this,_0x38ba4a(0x2c6)),N(this,_0x38ba4a(0x1eb),0x0),N(this,'_sendHeartbeatTimer'),N(this,_0x38ba4a(0x422)),(this[_0x38ba4a(0x29c)]=_0x5ef07b,this['_logService']=_0x431590,this[_0x38ba4a(0x300)]=_0x2a87d7,this[_0x38ba4a(0x315)]=_0x3a5673,this[_0x38ba4a(0x2ef)]=_0x49fc46,this[_0x38ba4a(0x1b1)]=_0x241f14,this[_0x38ba4a(0x475)]());}get[_0x5f281c(0x328)](){var _0xe78c58=_0x5f281c;return this['_socket$'][_0xe78c58(0x265)]();}['_listenToNetworkCondition'](){var _0x22d7f3=_0x5f281c;this[_0x22d7f3(0x1b1)]&&this['disposeWithMe'](this['_networkConditionService']['online$']['subscribe'](_0x416182=>{var _0x1fd359=_0x22d7f3;_0x416182&&!this[_0x1fd359(0x328)]&&this['reconnect'](),_0x416182||this['_onOffline']();}));}[_0x5f281c(0x43b)](){var _0x3a36cf=_0x5f281c;super['dispose'](),this[_0x3a36cf(0x3b8)][_0x3a36cf(0x2c3)](_0xdc9a19=>_0xdc9a19['dispose']()),this[_0x3a36cf(0x3b8)][_0x3a36cf(0x379)](),this['_status$'][_0x3a36cf(0x1d0)]();}async[_0x5f281c(0x3e3)](_0x2beaf6){var _0x489839=_0x5f281c;if(this[_0x489839(0x3b8)]['has'](_0x2beaf6))return this[_0x489839(0x3b8)][_0x489839(0x3c2)](_0x2beaf6);this[_0x489839(0x466)]();const _0x572e23=this[_0x489839(0x29c)][_0x489839(0x2a2)](Et,_0x2beaf6,this[_0x489839(0x27a)][_0x489839(0x362)]());return this[_0x489839(0x3b8)][_0x489839(0x3e2)](_0x2beaf6,_0x572e23),_0x572e23;}[_0x5f281c(0x448)](_0x2d0e85){var _0x5cc268=_0x5f281c,_0x4a3bb;const _0x25c935=this['_sessions'][_0x5cc268(0x3c2)](_0x2d0e85);_0x25c935&&(this[_0x5cc268(0x3b8)][_0x5cc268(0x252)](_0x2d0e85),_0x25c935[_0x5cc268(0x317)]()),this[_0x5cc268(0x3b8)][_0x5cc268(0x471)]||(_0x4a3bb=this['_socket'])==null||_0x4a3bb[_0x5cc268(0x317)]();}['reconnect'](){var _0x548014=_0x5f281c;this[_0x548014(0x1eb)]=0x0,this[_0x548014(0x2c6)]!=null&&(clearTimeout(this['_retryConnectingTimer']),this['_retryConnectingTimer']=null),this[_0x548014(0x1a1)]();}async['_createSocket'](){var _0x1c90b2=_0x5f281c,_0xbeead7,_0xa53647;const _0x466547=this[_0x1c90b2(0x300)]['getConfig'](Tn),_0x1a10db=this['_configService'][_0x1c90b2(0x38a)](q),_0x53fd49=(_0xa53647=(_0xbeead7=_0x1a10db==null?void 0x0:_0x1a10db[_0x1c90b2(0x217)])!=null?_0xbeead7:_0x466547)!=null?_0xa53647:Cn,_0x3c92a5=await this[_0x1c90b2(0x315)][_0x1c90b2(0x3f6)](_0x53fd49);return this[_0x1c90b2(0x327)]=_0x3c92a5,_0x3c92a5;}async[_0x5f281c(0x466)](){var _0x37026c=_0x5f281c,_0x5617b8,_0x388a5c;try{const _0x6db8c5=(_0x388a5c=(_0x5617b8=this[_0x37026c(0x328)])!=null?_0x5617b8:this[_0x37026c(0x327)])!=null?_0x388a5c:await this[_0x37026c(0x33a)]();if(_0x6db8c5){const _0x296bec=_0x6db8c5['send'];_0x6db8c5['send']=_0x456b78=>(this[_0x37026c(0x3af)](),_0x296bec[_0x37026c(0x25e)](_0x6db8c5,[_0x456b78])),_0x6db8c5['message$'][_0x37026c(0x3ca)](_0x127338=>this[_0x37026c(0x2de)](_0x6db8c5,_0x127338)),_0x6db8c5[_0x37026c(0x42a)][_0x37026c(0x18a)](_0x2f617b(0x1))['subscribe'](_0x46c842=>this[_0x37026c(0x302)]['error'](_0x37026c(0x19b),_0x46c842)),_0x6db8c5[_0x37026c(0x321)]['pipe'](_0x2f617b(0x1))[_0x37026c(0x3ca)](()=>{var _0x58a6c2=_0x37026c;this[_0x58a6c2(0x1ee)](_0x6db8c5);}),_0x6db8c5[_0x37026c(0x2bc)][_0x37026c(0x18a)](_0x2f617b(0x1))[_0x37026c(0x3ca)](_0x535746=>{var _0x390118=_0x37026c;this[_0x390118(0x302)]['debug'](_0x390118(0x213),_0x390118(0x2a7),_0x535746),this[_0x390118(0x295)]();});}}catch(_0x426079){this[_0x37026c(0x302)][_0x37026c(0x278)](_0x426079),this['_onConnectionFailed']();}}['_onConnectionOpen'](_0x24599e){var _0x1362b0=_0x5f281c;this[_0x1362b0(0x302)]['debug'](_0x1362b0(0x213),_0x1362b0(0x364)),_0x24599e[_0x1362b0(0x1d4)]({'cmd':F['HELLO']}),this[_0x1362b0(0x3af)]();}[_0x5f281c(0x190)](){var _0x448ee8=_0x5f281c;this[_0x448ee8(0x428)]=!0x1,this[_0x448ee8(0x327)]=null,this['_status$'][_0x448ee8(0x346)](Ee[_0x448ee8(0x23e)]),this[_0x448ee8(0x27a)][_0x448ee8(0x346)](null),this[_0x448ee8(0x203)](),this[_0x448ee8(0x320)]();}['_onConnectionFailed'](){var _0x2b2d62=_0x5f281c,_0xecf4b7;this[_0x2b2d62(0x190)](),this['_retryCount']<((_0xecf4b7=this[_0x2b2d62(0x300)][_0x2b2d62(0x38a)](yn))!=null?_0xecf4b7:Nn)?(this[_0x2b2d62(0x2ef)][_0x2b2d62(0x2d5)]({'id':se[_0x2b2d62(0x201)]}),this[_0x2b2d62(0x1a1)]()):this[_0x2b2d62(0x2ef)][_0x2b2d62(0x2d5)]({'id':se['SOCKET_FAILED']});}[_0x5f281c(0x1a1)](){var _0x37736d=_0x5f281c,_0x54556c;const _0x4c657c=this['_retryCount'],_0x44aa97=this[_0x37736d(0x300)]['getConfig'](q),_0x5db166=_0x4c657c===0x0?0x0:((_0x54556c=_0x44aa97==null?void 0x0:_0x44aa97[_0x37736d(0x3fe)])!=null?_0x54556c:On)*0x2**_0x4c657c;this[_0x37736d(0x2c6)]=setTimeout(()=>{var _0x5b14b6=_0x37736d;clearTimeout(this[_0x5b14b6(0x2c6)]),this[_0x5b14b6(0x2c6)]=null,this[_0x5b14b6(0x466)]();},_0x5db166),this['_retryCount']+=0x1;}['_onMessage'](_0xf68d51,_0x576a0f){var _0x18276a=_0x5f281c;const {cmd:_0x25fab3}=_0x576a0f;_0x25fab3===F[_0x18276a(0x202)]&&!this[_0x18276a(0x428)]&&(_0xf68d51['memberID']=_0x576a0f['data'][_0x18276a(0x45d)],this['_socket$']['next'](_0xf68d51),this[_0x18276a(0x21d)][_0x18276a(0x346)](Ee[_0x18276a(0x39f)]),this[_0x18276a(0x428)]=!0x0,this[_0x18276a(0x327)]=null),_0x25fab3===F[_0x18276a(0x461)]&&this[_0x18276a(0x203)](),this[_0x18276a(0x3af)]();}['_rescheduleHeartbeat'](){var _0x3bd622=_0x5f281c,_0x5d5134;this[_0x3bd622(0x320)](),this['_sendHeartbeatTimer']=setTimeout(()=>this[_0x3bd622(0x3e0)](),(_0x5d5134=this[_0x3bd622(0x300)][_0x3bd622(0x38a)](bn))!=null?_0x5d5134:Rn);}['_sendHeartbeat'](){var _0x48951f=_0x5f281c;this[_0x48951f(0x328)][_0x48951f(0x1d4)]({'cmd':F[_0x48951f(0x461)]}),this[_0x48951f(0x450)]();}['_waitForHeartbeatResponse'](){var _0x510d89=_0x5f281c,_0x5a3c3b;this[_0x510d89(0x422)]=setTimeout(()=>this[_0x510d89(0x295)](),(_0x5a3c3b=this[_0x510d89(0x300)][_0x510d89(0x38a)](mi))!=null?_0x5a3c3b:gi);}[_0x5f281c(0x320)](){var _0x439d7e=_0x5f281c;this[_0x439d7e(0x470)]!=null&&(clearTimeout(this[_0x439d7e(0x470)]),this[_0x439d7e(0x470)]=null);}[_0x5f281c(0x203)](){var _0x2a97b3=_0x5f281c;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2a97b3(0x422)]=null);}};Le=Zn([Re(0x0,_0x9558f9(_0xd634d6)),Re(0x1,_0x29c204),Re(0x2,_0x3b2da1),Re(0x3,Ii),Re(0x4,_0x9558f9(pe)),Re(0x5,_0x1a79f6(xn))],Le);const G=[];for(let n=0x0;n<0x100;++n)G[_0x5f281c(0x239)]((n+0x100)[_0x5f281c(0x2df)](0x10)[_0x5f281c(0x196)](0x1));function Qn(_0x2d7563,_0x4e82be=0x0){var _0x31fcf1=_0x5f281c;return(G[_0x2d7563[_0x4e82be+0x0]]+G[_0x2d7563[_0x4e82be+0x1]]+G[_0x2d7563[_0x4e82be+0x2]]+G[_0x2d7563[_0x4e82be+0x3]]+'-'+G[_0x2d7563[_0x4e82be+0x4]]+G[_0x2d7563[_0x4e82be+0x5]]+'-'+G[_0x2d7563[_0x4e82be+0x6]]+G[_0x2d7563[_0x4e82be+0x7]]+'-'+G[_0x2d7563[_0x4e82be+0x8]]+G[_0x2d7563[_0x4e82be+0x9]]+'-'+G[_0x2d7563[_0x4e82be+0xa]]+G[_0x2d7563[_0x4e82be+0xb]]+G[_0x2d7563[_0x4e82be+0xc]]+G[_0x2d7563[_0x4e82be+0xd]]+G[_0x2d7563[_0x4e82be+0xe]]+G[_0x2d7563[_0x4e82be+0xf]])[_0x31fcf1(0x391)]();}let ut;const er=new Uint8Array(0x10);function tr(){var _0x4a3434=_0x5f281c;if(!ut){if(typeof crypto>'u'||!crypto['getRandomValues'])throw new Error(_0x4a3434(0x408));ut=crypto['getRandomValues'][_0x4a3434(0x2b4)](crypto);}return ut(er);}const ir=typeof crypto<'u'&&crypto[_0x5f281c(0x444)]&&crypto['randomUUID'][_0x5f281c(0x2b4)](crypto),Yt={'randomUUID':ir};function nr(_0x53285b,_0x33b784,_0x1ba6ad){var _0x53f858=_0x5f281c,_0x31cb96,_0x17f5f2,_0x3069c2;if(Yt[_0x53f858(0x444)]&&!_0x53285b)return Yt[_0x53f858(0x444)]();_0x53285b=_0x53285b||{};const _0x1157bc=(_0x3069c2=(_0x17f5f2=_0x53285b[_0x53f858(0x451)])!=null?_0x17f5f2:(_0x31cb96=_0x53285b[_0x53f858(0x287)])==null?void 0x0:_0x31cb96['call'](_0x53285b))!=null?_0x3069c2:tr();if(_0x1157bc['length']<0x10)throw new Error(_0x53f858(0x21c));return _0x1157bc[0x6]=_0x1157bc[0x6]&0xf|0x40,_0x1157bc[0x8]=_0x1157bc[0x8]&0x3f|0x80,Qn(_0x1157bc);}const J=_0x1a0676('collaboration-client.local-cache-service');function ro(_0x4b9332){return'unit-cache-'+_0x4b9332;}var rr=Object['defineProperty'],sr=Object[_0x5f281c(0x30b)],or=(_0x3dd5bb,_0x192195,_0x69f616,_0x3fbd63)=>{var _0x547bf1=_0x5f281c;for(var _0x3806ee=_0x3fbd63>0x1?void 0x0:_0x3fbd63?sr(_0x192195,_0x69f616):_0x192195,_0x3a1fe0=_0x3dd5bb[_0x547bf1(0x24a)]-0x1,_0x32c23b;_0x3a1fe0>=0x0;_0x3a1fe0--)(_0x32c23b=_0x3dd5bb[_0x3a1fe0])&&(_0x3806ee=(_0x3fbd63?_0x32c23b(_0x192195,_0x69f616,_0x3806ee):_0x32c23b(_0x3806ee))||_0x3806ee);return _0x3fbd63&&_0x3806ee&&rr(_0x192195,_0x69f616,_0x3806ee),_0x3806ee;},dt=(_0x355731,_0x99c36a)=>(_0x25fc0d,_0x3d3c78)=>_0x99c36a(_0x25fc0d,_0x3d3c78,_0x355731);function ar(_0xb665b7){var _0x35cc00=_0x5f281c;const {unitID:_0x32229d,mutations:_0x1347b0}=_0xb665b7;return{'unitId':_0x32229d,'subUnitId':_0x1347b0[0x0]['params'][_0x35cc00(0x276)]};}let it=class{constructor(_0x3c695d,_0x1662b7,_0x476b3e){var _0x421f83=_0x5f281c;this[_0x421f83(0x29c)]=_0x3c695d,this[_0x421f83(0x2e7)]=_0x1662b7,this[_0x421f83(0x46c)]=_0x476b3e;}['transformSelections'](_0x2d39cf){var _0x37416d=_0x5f281c,_0x5e8d2a,_0x2c0bce,_0x423139,_0x12355c;const _0x332d6b=this[_0x37416d(0x29c)][_0x37416d(0x3c2)](_0x1a006a),{unitId:_0x3424fe,subUnitId:_0x3b4f49}=ar(_0x2d39cf),_0x1a1ae2=_0x332d6b==null?void 0x0:_0x332d6b[_0x37416d(0x189)](_0x3424fe)[_0x37416d(0x2d4)](),_0x5368c9=(_0x2c0bce=(_0x5e8d2a=this[_0x37416d(0x46c)]['getUnit'](_0x3424fe))==null?void 0x0:_0x5e8d2a['getActiveSheet']())==null?void 0x0:_0x2c0bce[_0x37416d(0x323)]();if(_0x1a1ae2[_0x37416d(0x24a)]===0x0||!_0x3424fe||!_0x3b4f49)return;const _0x1f31a8=[{'id':_0x170d3a['id'],'params':{'unitId':_0x3424fe,'subUnitId':_0x5368c9,'selections':_0x26a23c[_0x37416d(0x383)](_0x1a1ae2)}}],_0x4a4330=this[_0x37416d(0x2e7)][_0x37416d(0x463)](_0x2d39cf,_0x1f31a8);if(!_0x32fab9(_0x4a4330))throw _0x4a4330['error'];const _0xee8ac5=(_0x12355c=(_0x423139=_0x4a4330[_0x37416d(0x241)][0x0])==null?void 0x0:_0x423139[_0x37416d(0x1ba)])==null?void 0x0:_0x12355c[_0x37416d(0x3db)];if(Array[_0x37416d(0x238)](_0xee8ac5)&&_0xee8ac5[_0x37416d(0x24a)]){if(_0xee8ac5[_0x37416d(0x24a)]===_0x1f31a8[0x0][_0x37416d(0x1ba)][_0x37416d(0x3db)][_0x37416d(0x24a)]&&_0xee8ac5[_0x37416d(0x284)]((_0x281bde,_0x1ee947)=>_0x19d27e[_0x37416d(0x44e)](_0x281bde[_0x37416d(0x429)],_0x1f31a8[0x0]['params']['selections'][_0x1ee947][_0x37416d(0x429)])))return;this['_injector'][_0x37416d(0x3c2)](_0xda747d)[_0x37416d(0x18b)](_0x170d3a['id'],{'unitId':_0x3424fe,'subUnitId':_0x5368c9,'selections':_0xee8ac5});}}};it=or([dt(0x0,_0x9558f9(_0xd634d6)),dt(0x1,_0x1b9c4f),dt(0x2,_0x34f8d6)],it);const ht=_0x1a0676(_0x5f281c(0x2f0));var Ci=(_0x418837=>(_0x418837[_0x418837[_0x5f281c(0x1c6)]=0x0]=_0x5f281c(0x1c6),_0x418837[_0x418837[_0x5f281c(0x3d6)]=0x1]=_0x5f281c(0x3d6),_0x418837))(Ci||{});const cr=new Set([_0x4d6b49['id']]);function qt(_0x458d1f,_0xc6a8b,_0x55d924,_0x3cfa4f,_0x142ade){var _0x129cef=_0x5f281c,_0x3a7fd2,_0x5785ed,_0x5bdd73,_0x1f0a1e;const _0x1058b8=[];for(const _0x7261c4 of _0x458d1f)if(cr[_0x129cef(0x269)](_0x7261c4['id'])){if(_0x1058b8[_0x129cef(0x24a)]>0x0)break;_0x1058b8[_0x129cef(0x239)](_0x7261c4);break;}else _0x1058b8['push'](_0x7261c4);const _0x214e66=(_0x5785ed=(_0x3a7fd2=_0x142ade[_0x129cef(0x185)]())==null?void 0x0:_0x3a7fd2[_0x129cef(0x369)])!=null?_0x5785ed:_0x129cef(0x1f6),_0x3236c9=(_0x1f0a1e=(_0x5bdd73=_0x142ade[_0x129cef(0x185)]())==null?void 0x0:_0x5bdd73['memberID'])!=null?_0x1f0a1e:_0x129cef(0x1f6);return{'changeset':{'unitID':_0xc6a8b,'type':_0x4e7a73(_0x55d924[_0x129cef(0x23f)](_0xc6a8b)),'baseRev':_0x3cfa4f['getCurrentRevOfUnit'](_0xc6a8b),'revision':0x0,'userID':_0x214e66,'memberID':_0x3236c9,'mutations':_0x1058b8},'pendingMutations':_0x458d1f[_0x129cef(0x196)](_0x1058b8['length'])};}function hr(_0x4ef913,_0x359c50,_0x5baf30,_0x43cc8d,_0x443e99){var _0x86a6ef=_0x5f281c,_0x4acecb,_0x3c0ea0,_0x2d09d5,_0x387843;const _0x1c338d=[_0x4ef913['reduce']((_0x258049,_0x147f16)=>{var _0x263ad7=_0x5eda,_0x590beb;const {id:_0x4138d9}=_0x258049,{id:_0x5ae941,type:_0xcbe290}=_0x147f16,_0x415299=(_0x590beb=_0x258049[_0x263ad7(0x1ba)])!=null?_0x590beb:{'actions':null},_0x5c7c7f=_0x147f16[_0x263ad7(0x1ba)];if(_0x4138d9&&_0x4138d9!==_0x5ae941)throw new Error('Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20'+_0x4138d9+'\x20-\x20'+_0x5ae941+'.');return{..._0x258049,'id':_0x5ae941,'type':_0xcbe290,'params':{'unitId':_0x5c7c7f[_0x263ad7(0x299)],'textRanges':_0x5c7c7f[_0x263ad7(0x352)],'actions':_0x59206b[_0x263ad7(0x46d)](_0x415299[_0x263ad7(0x32e)],_0x5c7c7f['actions'])}};},{})],_0x2c020a=(_0x3c0ea0=(_0x4acecb=_0x443e99[_0x86a6ef(0x185)]())==null?void 0x0:_0x4acecb[_0x86a6ef(0x369)])!=null?_0x3c0ea0:'unknown',_0x27134f=(_0x387843=(_0x2d09d5=_0x443e99[_0x86a6ef(0x185)]())==null?void 0x0:_0x2d09d5[_0x86a6ef(0x45d)])!=null?_0x387843:_0x86a6ef(0x1f6);return{'changeset':{'unitID':_0x359c50,'type':_0x4e7a73(_0x5baf30['getUnitType'](_0x359c50)),'baseRev':_0x43cc8d[_0x86a6ef(0x3d0)](_0x359c50),'revision':0x0,'userID':_0x2c020a,'memberID':_0x27134f,'mutations':_0x1c338d},'pendingMutations':[]};}function bi(_0x42abca,_0x1c3eb1){var _0x464430=_0x5f281c;const _0x15f998=new _0x40b24f(0x1);return setTimeout(()=>_0x15f998[_0x464430(0x346)](_0x1c3eb1),_0x42abca),_0x15f998['asObservable']()['pipe'](_0x281660(0x1));}const _r={'id':_0x351999['id'],'type':_0x3e1461[_0x5f281c(0x39e)],'params':{}};var lr=Object[_0x5f281c(0x348)],ur=Object[_0x5f281c(0x30b)],Te=(_0x173972,_0x21dc07,_0x22f4eb,_0x57e7a8)=>{var _0x5d0f00=_0x5f281c;for(var _0x44219d=_0x57e7a8>0x1?void 0x0:_0x57e7a8?ur(_0x21dc07,_0x22f4eb):_0x21dc07,_0x390286=_0x173972[_0x5d0f00(0x24a)]-0x1,_0x17e5d0;_0x390286>=0x0;_0x390286--)(_0x17e5d0=_0x173972[_0x390286])&&(_0x44219d=(_0x57e7a8?_0x17e5d0(_0x21dc07,_0x22f4eb,_0x44219d):_0x17e5d0(_0x44219d))||_0x44219d);return _0x57e7a8&&_0x44219d&&lr(_0x21dc07,_0x22f4eb,_0x44219d),_0x44219d;},A=(_0x5d9d22,_0x4c0a14)=>(_0x50aa62,_0x3cb3e9)=>_0x4c0a14(_0x50aa62,_0x3cb3e9,_0x5d9d22),Ri=(_0x5686ee=>(_0x5686ee[_0x5f281c(0x289)]=_0x5f281c(0x1c2),_0x5686ee[_0x5f281c(0x441)]=_0x5f281c(0x19e),_0x5686ee[_0x5f281c(0x40f)]=_0x5f281c(0x2e8),_0x5686ee[_0x5f281c(0x28e)]=_0x5f281c(0x2cc),_0x5686ee[_0x5f281c(0x23a)]=_0x5f281c(0x410),_0x5686ee[_0x5f281c(0x1bf)]='fetch_missing',_0x5686ee[_0x5f281c(0x42d)]=_0x5f281c(0x409),_0x5686ee[_0x5f281c(0x23e)]=_0x5f281c(0x184),_0x5686ee))(Ri||{});const Oi=0xea60;class Ce{constructor(_0x47ff9d,_0x275ceb,_0x4bb871,_0x34fbf4,_0x23b74f,_0x15f3ba,_0x4bcc5f,_0x279f1d,_0x5b7715){var _0x2060d1=_0x5f281c;N(this,'_awaitingChangeset',null),N(this,_0x2060d1(0x220),[]),(this[_0x2060d1(0x32f)]=_0x47ff9d,this[_0x2060d1(0x33e)]=_0x275ceb,this[_0x2060d1(0x195)]=_0x23b74f,this[_0x2060d1(0x37b)]=_0x15f3ba,this[_0x2060d1(0x1b7)]=_0x4bcc5f,this[_0x2060d1(0x271)]=_0x279f1d,this['_localCacheService']=_0x5b7715,this[_0x2060d1(0x3f0)]=_0x4bb871,this[_0x2060d1(0x220)]=_0x34fbf4);}[_0x5f281c(0x27f)](_0x2ab4fd){var _0xf4e708=_0x5f281c;const _0x135888=this[_0xf4e708(0x271)][_0xf4e708(0x3d0)](this[_0xf4e708(0x32f)]);return _0x2ab4fd[_0xf4e708(0x1df)]>_0x135888+0x1?(this[_0xf4e708(0x195)]['onMissingChangesets']({'from':_0x135888,'to':_0x2ab4fd['revision']-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x3929eb){var _0x190a15=_0x5f281c;this[_0x190a15(0x1b7)][_0x190a15(0x266)](this[_0x190a15(0x32f)],_0x3929eb);}[_0x5f281c(0x242)](_0x58c1b9){var _0x2ba514=_0x5f281c,_0x1953c9,_0xf5dbdf;(_0xf5dbdf=(_0x1953c9=this['_handler'])[_0x2ba514(0x3e4)])==null||_0xf5dbdf[_0x2ba514(0x1f0)](_0x1953c9,_0x58c1b9);}[_0x5f281c(0x245)](_0x4f9fda){var _0x33a897=_0x5f281c,_0x36af6e,_0xa28938;return(_0xa28938=(_0x36af6e=this[_0x33a897(0x195)])[_0x33a897(0x32b)])==null?void 0x0:_0xa28938['call'](_0x36af6e,_0x4f9fda);}[_0x5f281c(0x3a6)](_0x5ec433){var _0x2aa89b=_0x5f281c,_0x1a155d,_0x4d8fe5;return(_0x4d8fe5=(_0x1a155d=this[_0x2aa89b(0x195)])[_0x2aa89b(0x22e)])==null?void 0x0:_0x4d8fe5[_0x2aa89b(0x1f0)](_0x1a155d,_0x5ec433);}[_0x5f281c(0x354)](_0x43edf3){var _0x2f0578=_0x5f281c,_0x28ec9d,_0x4aa1fb,_0x5946d2;return(_0x5946d2=(_0x4aa1fb=(_0x28ec9d=this[_0x2f0578(0x195)])[_0x2f0578(0x294)])==null?void 0x0:_0x4aa1fb[_0x2f0578(0x1f0)](_0x28ec9d,_0x43edf3))!=null?_0x5946d2:_0x43edf3;}[_0x5f281c(0x193)](_0x4499fe){var _0x5def82=_0x5f281c,_0x3d85a0,_0x47bad7,_0x3c0235;return(_0x3c0235=(_0x47bad7=(_0x3d85a0=this['_handler'])[_0x5def82(0x1ff)])==null?void 0x0:_0x47bad7[_0x5def82(0x1f0)](_0x3d85a0,_0x4499fe))!=null?_0x3c0235:_0x4499fe;}[_0x5f281c(0x27e)](_0x228223){var _0x724749=_0x5f281c,_0x2dcd8e,_0x91ca9e;if(this[_0x724749(0x33e)]===Q[_0x724749(0x1e9)]){const {unitID:_0x38a877,mutations:_0x1578ed,memberID:_0x1b1c28}=_0x228223,_0xe445d7=_0x1578ed[0x0]['params'][_0x724749(0x352)];Array[_0x724749(0x238)](_0xe445d7)&&_0xe445d7['length']>0x0&&((_0x91ca9e=(_0x2dcd8e=this['_handler'])[_0x724749(0x25b)])==null||_0x91ca9e[_0x724749(0x1f0)](_0x2dcd8e,{'unitID':_0x38a877,'memberID':_0x1b1c28,'textRanges':_0xe445d7}));}}['_updateLocalCache'](){var _0x3be280=_0x5f281c,_0xe578f9;(_0xe578f9=this[_0x3be280(0x31e)])==null||_0xe578f9[_0x3be280(0x421)](this[_0x3be280(0x32f)],this[_0x3be280(0x33e)],this['_awaitingChangeset'],this['_pendingMutations']);}['_getCurrentRevision'](){var _0x4ccceb=_0x5f281c;return this[_0x4ccceb(0x271)][_0x4ccceb(0x3d0)](this['unitID']);}['_incrementRevisionNumber'](){var _0x37424e=_0x5f281c;this[_0x37424e(0x271)]['incrementRevOfUnit'](this[_0x37424e(0x32f)]);}[_0x5f281c(0x432)](_0x5ac5ce){var _0x5040a8=_0x5f281c,_0x582df4;let _0x17373a=this[_0x5040a8(0x354)](_0x5ac5ce);_0x17373a=this[_0x5040a8(0x193)](_0x17373a);const _0x565776=_0x41bde1(_0x17373a[_0x5040a8(0x1ec)],this[_0x5040a8(0x37b)],{'fromCollab':!0x0});if(!_0x565776['result'])throw _0x565776[_0x5040a8(0x278)]instanceof Error?_0x565776[_0x5040a8(0x278)]:new Error((_0x582df4=_0x565776['error'])!=null?_0x582df4:_0x5040a8(0x254));this[_0x5040a8(0x245)](_0x17373a),this[_0x5040a8(0x3a6)](_0x17373a),this[_0x5040a8(0x465)](_0x5ac5ce),this[_0x5040a8(0x242)](_0x17373a),this['_syncEditingCollabCursor'](_0x17373a),this['_incrementRevisionNumber']();}}let Ne=class extends Ce{constructor(_0x2fbc14,_0x566a18,_0x5ed16b,_0x315fe3,_0x116530,_0x363517,_0x577207,_0x360863,_0x1a2ebe,_0xf83d72){var _0x17a787=_0x5f281c;super(_0x2fbc14,_0x566a18,null,[],_0x5ed16b,_0x577207,_0x363517,_0x315fe3,_0xf83d72),N(this,_0x17a787(0x1cb),_0x17a787(0x19e)),(this[_0x17a787(0x29c)]=_0x116530,this[_0x17a787(0x302)]=_0x360863,this[_0x17a787(0x2e7)]=_0x1a2ebe,this['localCacheService']=_0xf83d72);}[_0x5f281c(0x332)](_0x8f6214){var _0x576923=_0x5f281c;const _0x164304=this[_0x576923(0x29c)]['createInstance'](oe,this[_0x576923(0x32f)],this['type'],[_0x8f6214],this[_0x576923(0x195)]);return _0x164304[_0x576923(0x3e7)](),_0x164304[_0x576923(0x3ad)](),_0x164304;}[_0x5f281c(0x42e)](_0x1a5ce6){var _0x224bc5=_0x5f281c;if(this[_0x224bc5(0x27f)](_0x1a5ce6))return this['_injector'][_0x224bc5(0x2a2)](ee,this[_0x224bc5(0x32f)],this[_0x224bc5(0x33e)],null,[],null,[_0x1a5ce6],this[_0x224bc5(0x195)]);try{const _0x5cfe5a=this['_transformService'][_0x224bc5(0x463)](_0x1a5ce6,[_r]);if(_0x32fab9(_0x5cfe5a)){const {c1Prime:_0x4c365d}=_0x5cfe5a;return this['_executeRemoteChangeset'](_0x4c365d),this;}throw _0x5cfe5a['error'];}catch(_0x5a0d4f){return this[_0x224bc5(0x302)]['error'](_0x5a0d4f),this[_0x224bc5(0x2f9)](!0x1);}}[_0x5f281c(0x2f9)](_0x35ad89){var _0x383822=_0x5f281c;return this['_injector'][_0x383822(0x2a2)](ue,this[_0x383822(0x32f)],this[_0x383822(0x33e)],null,[],this['_handler'],_0x35ad89);}[_0x5f281c(0x34d)](){var _0x4b555d=_0x5f281c;throw new Error(_0x4b555d(0x23b));}['onRemoteRej'](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){var _0x25a24e=_0x5f281c;return this[_0x25a24e(0x29c)][_0x25a24e(0x2a2)](de,this[_0x25a24e(0x32f)],this['type'],null,[],this[_0x25a24e(0x195)]);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x1ebeec=_0x5f281c;throw new Error(_0x1ebeec(0x1c4));}['fetchMiss'](){var _0x7b6ab2=_0x5f281c;const _0x59c9a3=this[_0x7b6ab2(0x271)][_0x7b6ab2(0x3d0)](this[_0x7b6ab2(0x32f)]);return this[_0x7b6ab2(0x195)][_0x7b6ab2(0x231)]({'from':_0x59c9a3,'to':0x0}),this[_0x7b6ab2(0x29c)][_0x7b6ab2(0x2a2)](ee,this['unitID'],this['type'],null,[],null,[],this[_0x7b6ab2(0x195)]);}};Ne=Te([A(0x3,_0x9558f9(_0x33a96b)),A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x2f573f),A(0x6,_0xda747d),A(0x7,_0x29c204),A(0x8,_0x1b9c4f),A(0x9,_0x1a79f6(J))],Ne);let oe=class extends Ce{constructor(_0x22db08,_0x28c1c7,_0x1cc55f,_0x35a2f8,_0x589e31,_0xa680fd,_0x4cd26d,_0x356603,_0x2724ac,_0x190b4f,_0x37f57e,_0x3896d9,_0x42af11,_0x737f1a){var _0x18e421=_0x5f281c;super(_0x22db08,_0x28c1c7,null,_0x1cc55f,_0x35a2f8,_0x2724ac,_0x42af11,_0xa680fd,_0x737f1a),N(this,_0x18e421(0x1cb),_0x18e421(0x2e8)),N(this,_0x18e421(0x3c3),null),N(this,_0x18e421(0x41f),null),(this['_injector']=_0x589e31,this[_0x18e421(0x2eb)]=_0x4cd26d,this[_0x18e421(0x302)]=_0x356603,this[_0x18e421(0x300)]=_0x190b4f,this['_transformService']=_0x37f57e,this[_0x18e421(0x1a4)]=_0x3896d9);}[_0x5f281c(0x332)](_0x277e38){var _0x53043b=_0x5f281c;return this[_0x53043b(0x220)][_0x53043b(0x239)](_0x277e38),this['_updateLocalCache'](),this;}[_0x5f281c(0x42e)](_0x39a83e){var _0x266cb6=_0x5f281c;if(this[_0x266cb6(0x27f)](_0x39a83e))return this[_0x266cb6(0x3a3)](),this['_injector']['createInstance'](ee,this[_0x266cb6(0x32f)],this[_0x266cb6(0x33e)],null,this[_0x266cb6(0x220)],null,[_0x39a83e],this['_handler']);try{const _0x55baf1=this[_0x266cb6(0x2e7)][_0x266cb6(0x463)](_0x39a83e,this[_0x266cb6(0x220)]);if(_0x32fab9(_0x55baf1)){const {c1Prime:_0x1e2708,m2Prime:_0x3c2256}=_0x55baf1;this[_0x266cb6(0x432)](_0x1e2708);const _0x176d4d=this[_0x266cb6(0x29c)][_0x266cb6(0x2a2)](oe,this['unitID'],this[_0x266cb6(0x33e)],_0x3c2256,this['_handler']);this[_0x266cb6(0x3a3)]();const _0xc49f79=new Date()[_0x266cb6(0x33d)](),_0x5cb62e=this[_0x266cb6(0x3c3)]?Math['max'](this[_0x266cb6(0x3c3)]-_0xc49f79,0x0):this['_getSendChangesetTimeout']();return _0x176d4d[_0x266cb6(0x3e7)](_0x5cb62e),_0x176d4d;}throw _0x55baf1[_0x266cb6(0x278)];}catch(_0x48cbc2){return this[_0x266cb6(0x302)][_0x266cb6(0x278)](_0x48cbc2),this['_onConflict'](!0x1);}}[_0x5f281c(0x34d)](){var _0x5681f5=_0x5f281c;throw new Error(_0x5681f5(0x464));}[_0x5f281c(0x380)](){var _0x5c9d87=_0x5f281c;throw new Error(_0x5c9d87(0x3b1));}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){var _0x348453=_0x5f281c;return this[_0x348453(0x3a3)](),this['_injector'][_0x348453(0x2a2)](de,this['unitID'],this[_0x348453(0x33e)],null,this[_0x348453(0x220)],this[_0x348453(0x195)]);}[_0x5f281c(0x26d)](){return this;}['_schedule'](_0x26cca5){var _0x35bc01=_0x5f281c;const _0x5c027a=_0x26cca5!=null?_0x26cca5:this[_0x35bc01(0x275)]();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x5c027a,this[_0x35bc01(0x41f)]=setTimeout(()=>{var _0x8cb5f0=_0x35bc01;this['_clearScheduledTask']();let _0x48c5d5=null;switch(this['type']){case Q[_0x8cb5f0(0x2e0)]:{_0x48c5d5=qt(this[_0x8cb5f0(0x220)],this['unitID'],this['_univerInstanceService'],this[_0x8cb5f0(0x271)],this[_0x8cb5f0(0x2eb)]);break;}case Q[_0x8cb5f0(0x1e9)]:{this[_0x8cb5f0(0x220)][_0x8cb5f0(0x284)](_0x15d205=>_0x15d205['id']===_0x2f7b64['id'])?_0x48c5d5=hr(this['_pendingMutations'],this['unitID'],this[_0x8cb5f0(0x1a4)],this['_revisionService'],this[_0x8cb5f0(0x2eb)]):_0x48c5d5=qt(this['_pendingMutations'],this[_0x8cb5f0(0x32f)],this[_0x8cb5f0(0x1a4)],this[_0x8cb5f0(0x271)],this[_0x8cb5f0(0x2eb)]);break;}default:throw new Error(_0x8cb5f0(0x384)+this['type']+_0x8cb5f0(0x431));}const {changeset:_0x50cd70,pendingMutations:_0x12dd7e}=_0x48c5d5;this[_0x8cb5f0(0x195)]['onSendChangeset'](_0x50cd70);const _0x38420e=_0x12dd7e['length']?this[_0x8cb5f0(0x29c)][_0x8cb5f0(0x2a2)](ae,this['unitID'],this[_0x8cb5f0(0x33e)],_0x50cd70,_0x12dd7e,this[_0x8cb5f0(0x195)],void 0x0):this['_injector'][_0x8cb5f0(0x2a2)](le,this['unitID'],this[_0x8cb5f0(0x33e)],_0x50cd70,this[_0x8cb5f0(0x195)]);_0x38420e[_0x8cb5f0(0x3ad)](),this[_0x8cb5f0(0x195)][_0x8cb5f0(0x393)](this,_0x38420e);},_0x5c027a);}[_0x5f281c(0x275)](){var _0x2c2d3c=_0x5f281c,_0xa191e6;const _0x29f5cf=this[_0x2c2d3c(0x300)][_0x2c2d3c(0x38a)](q);return(_0xa191e6=_0x29f5cf==null?void 0x0:_0x29f5cf[_0x2c2d3c(0x2d3)])!=null?_0xa191e6:In;}[_0x5f281c(0x2d2)](){var _0x454ab2=_0x5f281c;throw new Error(_0x454ab2(0x176));}['_clearScheduledTask'](){var _0x25b485=_0x5f281c;this['_sendingTimer']!=null&&(clearTimeout(this['_sendingTimer']),this[_0x25b485(0x41f)]=null);}[_0x5f281c(0x2f9)](_0x2f3bc3){var _0x2ad54e=_0x5f281c;return this[_0x2ad54e(0x3a3)](),this['_injector']['createInstance'](ue,this[_0x2ad54e(0x32f)],this[_0x2ad54e(0x33e)],null,this['_pendingMutations'],this['_handler'],_0x2f3bc3);}};oe=Te([A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x9558f9(_0x33a96b)),A(0x6,_0x9558f9(xe)),A(0x7,_0x29c204),A(0x8,_0xda747d),A(0x9,_0x3b2da1),A(0xa,_0x1b9c4f),A(0xb,_0x34f8d6),A(0xc,_0x2f573f),A(0xd,_0x1a79f6(J))],oe);let le=class extends Ce{constructor(_0x806b0a,_0x4c52bc,_0x143216,_0x34fbbd,_0x1c5a66,_0x465dcf,_0x9ffc01,_0x1c61ff,_0x5e4a75,_0x2e750c,_0x49119e){var _0x1a7071=_0x5f281c;super(_0x806b0a,_0x4c52bc,_0x143216,[],_0x34fbbd,_0x9ffc01,_0x2e750c,_0x465dcf,_0x49119e),N(this,_0x1a7071(0x1cb),_0x1a7071(0x2cc)),N(this,'_resendTimeout',0x0),N(this,_0x1a7071(0x1af)),N(this,_0x1a7071(0x3ae)),(this['_injector']=_0x1c5a66,this[_0x1a7071(0x302)]=_0x1c61ff,this[_0x1a7071(0x2e7)]=_0x5e4a75);}['appendMutation'](_0x2f9ee3){var _0x51c17f=_0x5f281c;this[_0x51c17f(0x3a3)]();const _0x325703=this[_0x51c17f(0x29c)][_0x51c17f(0x2a2)](ae,this[_0x51c17f(0x32f)],this[_0x51c17f(0x33e)],this[_0x51c17f(0x3f0)],[_0x2f9ee3],this[_0x51c17f(0x195)],this[_0x51c17f(0x1af)]);return _0x325703[_0x51c17f(0x3ad)](),_0x325703;}['onRemoteChangeset'](_0x5848ce){var _0x243695=_0x5f281c;if(this[_0x243695(0x27f)](_0x5848ce))return this[_0x243695(0x3a3)](),this['_injector'][_0x243695(0x2a2)](ee,this[_0x243695(0x32f)],this[_0x243695(0x33e)],this[_0x243695(0x3f0)],[],null,[_0x5848ce],this['_handler']);try{const _0x34186d=this[_0x243695(0x2e7)][_0x243695(0x355)]([_0x5848ce],[this['_awaitingChangeset']],!0x1);if(_0x3fa21a(_0x34186d)){const {c1Prime:_0x559018,c2Prime:_0x3e44c2}=_0x34186d;this['_executeRemoteChangeset'](_0x559018[0x0]),_0x3e44c2[0x0][_0x243695(0x325)]=this[_0x243695(0x1bd)](),this[_0x243695(0x3a3)]();const _0x29a597=this['_injector']['createInstance'](le,this[_0x243695(0x32f)],this['type'],_0x3e44c2[0x0],this[_0x243695(0x195)]);return _0x29a597['_updateLocalCache'](),_0x29a597;}return this[_0x243695(0x2f9)](!0x1);}catch(_0xbb0051){return this['_logService'][_0x243695(0x278)](_0xbb0051),this['_onConflict'](!0x1);}}[_0x5f281c(0x34d)](_0x1468bb){var _0x26faa3=_0x5f281c;this[_0x26faa3(0x3a3)]();const _0x34e2dc=this[_0x26faa3(0x271)][_0x26faa3(0x3d0)](this[_0x26faa3(0x32f)]);if(_0x1468bb[_0x26faa3(0x1df)]<_0x34e2dc-0x1)return this;if(this[_0x26faa3(0x27f)](_0x1468bb))return this[_0x26faa3(0x29c)]['createInstance'](ee,this[_0x26faa3(0x32f)],this[_0x26faa3(0x33e)],null,[],this[_0x26faa3(0x3f0)],[],this[_0x26faa3(0x195)]);this[_0x26faa3(0x29e)]();const _0x3ee906=this[_0x26faa3(0x29c)][_0x26faa3(0x2a2)](Ne,this[_0x26faa3(0x32f)],this['type'],this[_0x26faa3(0x195)]);return _0x3ee906['_updateLocalCache'](),_0x3ee906;}[_0x5f281c(0x380)](_0x123885){var _0x61a6e=_0x5f281c;return this[_0x61a6e(0x2f9)](!!(_0x123885!=null&&_0x123885[_0x61a6e(0x3da)]));}['onRemoteRetry'](_0x3c80c1){var _0x2b50cb=_0x5f281c;return this['_resendTimeout']>Oi?this[_0x2b50cb(0x339)]():(this['_resendTimer']=bi(this[_0x2b50cb(0x34c)],{'timeout':this['_resendTimeout'],'reqId':_0x3c80c1[_0x2b50cb(0x1fe)]}),this['_sender']=this[_0x2b50cb(0x1af)][_0x2b50cb(0x3ca)](({reqId:_0x20439f,timeout:_0x40b8e1})=>{this['_resendWithTimeout'](_0x20439f,_0x40b8e1);}),this);}[_0x5f281c(0x339)](){var _0x3d8369=_0x5f281c;return this['_clearScheduledTask'](),this[_0x3d8369(0x29c)][_0x3d8369(0x2a2)](de,this[_0x3d8369(0x32f)],this[_0x3d8369(0x33e)],this[_0x3d8369(0x3f0)],[],this['_handler']);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x3d7220=_0x5f281c;this[_0x3d7220(0x195)][_0x3d7220(0x1ae)](this['_awaitingChangeset']);}[_0x5f281c(0x2f9)](_0x756150){var _0x31b5dd=_0x5f281c;return this['_clearScheduledTask'](),this[_0x31b5dd(0x29c)]['createInstance'](ue,this['unitID'],this['type'],this[_0x31b5dd(0x3f0)],[],this['_handler'],_0x756150);}[_0x5f281c(0x34b)](_0x5a70f2,_0x3d115f){var _0x46bf21=_0x5f281c,_0x11b286;_0x5a70f2===((_0x11b286=this[_0x46bf21(0x3f0)])==null?void 0x0:_0x11b286[_0x46bf21(0x1fe)])&&(this['resend'](),this['_resendTimeout']=_0x3d115f===0x0?0x3e8:_0x3d115f*0x2);}[_0x5f281c(0x3a3)](){var _0x241754=_0x5f281c,_0x589eeb;(_0x589eeb=this[_0x241754(0x3ae)])==null||_0x589eeb[_0x241754(0x2e6)](),this[_0x241754(0x34c)]=0x0;}};le=Te([A(0x4,_0x9558f9(_0xd634d6)),A(0x5,_0x9558f9(_0x33a96b)),A(0x6,_0xda747d),A(0x7,_0x29c204),A(0x8,_0x1b9c4f),A(0x9,_0x2f573f),A(0xa,_0x1a79f6(J))],le);let ae=class extends Ce{constructor(_0x49cf9c,_0x480584,_0x2bebbf,_0x4ba453,_0x31656,_0x2747ff,_0x48de3b,_0x1b1489,_0x28867a,_0x8d6603,_0x385a15,_0x2ab649,_0x22d247){var _0x7c5e51=_0x5f281c;super(_0x49cf9c,_0x480584,_0x2bebbf,_0x4ba453,_0x31656,_0x28867a,_0x2ab649,_0x1b1489,_0x22d247),N(this,_0x7c5e51(0x1cb),'awaiting_with_pending'),N(this,_0x7c5e51(0x34c),0x0),N(this,_0x7c5e51(0x1af)),N(this,_0x7c5e51(0x3ae)),(this[_0x7c5e51(0x29c)]=_0x48de3b,this['_logService']=_0x8d6603,this['_transformService']=_0x385a15,this['localCacheService']=_0x22d247,_0x2747ff&&(this['_resendTimer']=_0x2747ff,this['_sender']=this[_0x7c5e51(0x1af)][_0x7c5e51(0x3ca)](({reqId:_0x501501,timeout:_0x3f570b})=>{var _0x14e8e4=_0x7c5e51;this[_0x14e8e4(0x34b)](_0x501501,_0x3f570b);})));}[_0x5f281c(0x332)](_0x5024d6){var _0x1b86c4=_0x5f281c;return this[_0x1b86c4(0x220)][_0x1b86c4(0x239)](_0x5024d6),this;}[_0x5f281c(0x42e)](_0x52b31a){var _0x10f100=_0x5f281c;if(this[_0x10f100(0x27f)](_0x52b31a))return this[_0x10f100(0x3a3)](),this[_0x10f100(0x29c)][_0x10f100(0x2a2)](ee,this[_0x10f100(0x32f)],this[_0x10f100(0x33e)],this[_0x10f100(0x3f0)],this['_pendingMutations'],null,[_0x52b31a],this[_0x10f100(0x195)]);try{const _0x36802d=this[_0x10f100(0x2e7)]['transformChangesets']([_0x52b31a],[this[_0x10f100(0x3f0)]],!0x1);if(_0x3fa21a(_0x36802d)){const {c1Prime:_0x136c69,c2Prime:_0x1e382e}=_0x36802d,_0xd8f4bd=this[_0x10f100(0x2e7)][_0x10f100(0x463)](_0x136c69[0x0],this[_0x10f100(0x220)]);if(_0x32fab9(_0xd8f4bd)){const {c1Prime:_0x22df63,m2Prime:_0x13b8eb}=_0xd8f4bd;return this[_0x10f100(0x432)](_0x22df63),_0x1e382e[0x0][_0x10f100(0x325)]=this[_0x10f100(0x1bd)](),this[_0x10f100(0x3a3)](),this['_injector'][_0x10f100(0x2a2)](ae,this[_0x10f100(0x32f)],this['type'],_0x1e382e[0x0],_0x13b8eb,this['_handler'],void 0x0);}throw _0xd8f4bd[_0x10f100(0x278)];}throw _0x36802d['error'];}catch(_0x5eaded){return this['_logService'][_0x10f100(0x278)](_0x5eaded),this['_onConflict'](!0x1);}}['onRemoteAck'](_0x575c41){var _0x482373=_0x5f281c;if(this[_0x482373(0x3a3)](),this[_0x482373(0x27f)](_0x575c41))return this[_0x482373(0x29c)][_0x482373(0x2a2)](ee,this[_0x482373(0x32f)],this[_0x482373(0x33e)],null,this[_0x482373(0x220)],this[_0x482373(0x3f0)],[],this['_handler']);this[_0x482373(0x29e)]();const _0x4d2c1f=this[_0x482373(0x29c)]['createInstance'](oe,this['unitID'],this[_0x482373(0x33e)],this['_pendingMutations'],this[_0x482373(0x195)]);return _0x4d2c1f['_schedule'](),_0x4d2c1f['_updateLocalCache'](),_0x4d2c1f;}['onRemoteRej'](_0x580d1c){var _0x5cf26d=_0x5f281c;return this['_onConflict'](!!(_0x580d1c!=null&&_0x580d1c[_0x5cf26d(0x3da)]));}['onRemoteRetry'](_0x1c8150){var _0x4381b5=_0x5f281c;return this[_0x4381b5(0x34c)]>Oi?this[_0x4381b5(0x339)]():(this['_resendTimer']=bi(this[_0x4381b5(0x34c)],{'timeout':this[_0x4381b5(0x34c)],'reqId':_0x1c8150[_0x4381b5(0x1fe)]}),this[_0x4381b5(0x3ae)]=this[_0x4381b5(0x1af)][_0x4381b5(0x3ca)](({reqId:_0x1e63f9,timeout:_0x493215})=>{var _0x598cf3=_0x4381b5;this[_0x598cf3(0x34b)](_0x1e63f9,_0x493215);}),this);}['toggleOffline'](){var _0x11bf33=_0x5f281c;return this['_clearScheduledTask'](),this['_injector'][_0x11bf33(0x2a2)](de,this['unitID'],this['type'],this[_0x11bf33(0x3f0)],this[_0x11bf33(0x220)],this[_0x11bf33(0x195)]);}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){var _0x12a0ce=_0x5f281c;this[_0x12a0ce(0x195)]['onSendChangeset'](this['_awaitingChangeset']);}[_0x5f281c(0x2f9)](_0x495bbe){var _0x17edc1=_0x5f281c;return this['_clearScheduledTask'](),this[_0x17edc1(0x29c)][_0x17edc1(0x2a2)](ue,this[_0x17edc1(0x32f)],this[_0x17edc1(0x33e)],null,this[_0x17edc1(0x220)],this[_0x17edc1(0x195)],_0x495bbe);}[_0x5f281c(0x34b)](_0x4b3968,_0x447384){var _0x1d67a2=_0x5f281c,_0x25fbb6;_0x4b3968===((_0x25fbb6=this[_0x1d67a2(0x3f0)])==null?void 0x0:_0x25fbb6[_0x1d67a2(0x1fe)])&&(this[_0x1d67a2(0x2d2)](),this['_resendTimeout']=_0x447384===0x0?0x3e8:_0x447384*0x2);}[_0x5f281c(0x3a3)](){var _0xfb5c62=_0x5f281c,_0x1de4de;(_0x1de4de=this[_0xfb5c62(0x3ae)])==null||_0x1de4de['unsubscribe'](),this['_resendTimeout']=0x0;}};ae=Te([A(0x6,_0x9558f9(_0xd634d6)),A(0x7,_0x9558f9(_0x33a96b)),A(0x8,_0xda747d),A(0x9,_0x29c204),A(0xa,_0x1b9c4f),A(0xb,_0x2f573f),A(0xc,_0x1a79f6(J))],ae);let ue=class extends Ce{constructor(_0x304324,_0x5ee1b2,_0x135fe2,_0x2355a0,_0x3b2609,_0x4bca4a=!0x1,_0x41b920,_0x2c3039,_0x2db14f,_0x500d02,_0x51bad4,_0x3de06c,_0x5732a0){var _0x2d3803=_0x5f281c;super(_0x304324,_0x5ee1b2,_0x135fe2,_0x2355a0,_0x3b2609,_0x2c3039,_0x2db14f,_0x500d02,_0x5732a0),N(this,_0x2d3803(0x1cb),'conflict'),(this[_0x2d3803(0x1d7)]=_0x4bca4a,this['_permissionService']=_0x41b920,this[_0x2d3803(0x178)]=_0x51bad4,this[_0x2d3803(0x2ef)]=_0x3de06c,this[_0x2d3803(0x387)]=_0x5732a0,this['_showConflictNotification'](),this[_0x2d3803(0x21b)](),this['_disableEditing']());}[_0x5f281c(0x332)](){return this;}['onRemoteChangeset'](){return this;}['onRemoteAck'](){return this;}['onRemoteRej'](){return this;}[_0x5f281c(0x3d9)](){return this;}['toggleOffline'](){return this;}[_0x5f281c(0x26d)](){return this;}[_0x5f281c(0x2d2)](){throw new Error('[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.');}['_clearLocalCache'](){var _0x1ed83d=_0x5f281c,_0x2b83ab;(_0x2b83ab=this['_localCacheService'])==null||_0x2b83ab[_0x1ed83d(0x421)](this[_0x1ed83d(0x32f)],this[_0x1ed83d(0x33e)],null,[]);}[_0x5f281c(0x417)](){var _0x4a2bf7=_0x5f281c;this[_0x4a2bf7(0x1d7)]?this[_0x4a2bf7(0x2ef)][_0x4a2bf7(0x2d5)]({'id':se[_0x4a2bf7(0x26a)]}):this[_0x4a2bf7(0x2ef)][_0x4a2bf7(0x2d5)]({'id':se[_0x4a2bf7(0x42d)]});}[_0x5f281c(0x182)](){var _0x4f9d60=_0x5f281c;this['_permissionService']['updatePermissionPoint'](new _0x20c3ca(this[_0x4f9d60(0x32f)])['id'],!0x1);}};ue=Te([A(0x6,_0x9558f9(_0x254153)),A(0x7,_0xda747d),A(0x8,_0x2f573f),A(0x9,_0x9558f9(_0x33a96b)),A(0xa,_0x9558f9(_0x1aa64a)),A(0xb,_0x9558f9(pe)),A(0xc,_0x1a79f6(J))],ue);let de=class extends Ce{constructor(_0x829a19,_0x3b23cf,_0x2373b6,_0x4bd4d0,_0x34f632,_0x17233d,_0x5be858,_0x275eb0,_0x14185b,_0x49b20e){var _0x4a6276=_0x5f281c;super(_0x829a19,_0x3b23cf,_0x2373b6,_0x4bd4d0,_0x34f632,_0x275eb0,_0x14185b,_0x5be858,_0x49b20e),N(this,'status',_0x4a6276(0x184)),this[_0x4a6276(0x29c)]=_0x17233d;}[_0x5f281c(0x332)](_0x3a45e2){var _0x34d5ff=_0x5f281c;return this[_0x34d5ff(0x220)]['push'](_0x3a45e2),this['_updateLocalCache'](),this;}[_0x5f281c(0x42e)](_0x25fafa){var _0x175546=_0x5f281c;throw new Error(_0x175546(0x3fb));}[_0x5f281c(0x34d)](){var _0xaeaf04=_0x5f281c;throw new Error(_0xaeaf04(0x37a));}[_0x5f281c(0x380)](){var _0x203f5f=_0x5f281c;throw new Error(_0x203f5f(0x36e));}[_0x5f281c(0x3d9)](){return this;}[_0x5f281c(0x339)](){return this;}[_0x5f281c(0x26d)](){var _0x5d0e9=_0x5f281c;const {_injector:_0x5d328e,_pendingMutations:_0x5ec72a,_awaitingChangeset:_0x5ef18a,unitID:_0x179e4c,_handler:_0x2a8b1c,type:_0x2f1608}=this,_0x4c41a6=yi(_0x5d328e,_0x179e4c,_0x2f1608,_0x5ef18a,_0x5ec72a,_0x2a8b1c);return _0x4c41a6 instanceof oe?_0x4c41a6['_schedule']():(_0x4c41a6 instanceof ae||_0x4c41a6 instanceof le)&&_0x4c41a6[_0x5d0e9(0x2d2)](),_0x4c41a6;}[_0x5f281c(0x2d2)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};de=Te([A(0x5,_0x9558f9(_0xd634d6)),A(0x6,_0x9558f9(_0x33a96b)),A(0x7,_0xda747d),A(0x8,_0x2f573f),A(0x9,_0x1a79f6(J))],de);let ee=class extends Ce{constructor(_0x2f5244,_0x191835,_0x33eb03,_0xa46d83,_0x718ca,_0x2d188d,_0x5d3e12,_0x2783b7,_0x27d2b7,_0xad7568,_0x3af2a4,_0x118b9f,_0x2d1d6b,_0x212bcb){var _0xde9613=_0x5f281c;super(_0x2f5244,_0x191835,_0x33eb03,_0xa46d83,_0x5d3e12,_0x3af2a4,_0x118b9f,_0x27d2b7,_0x212bcb),N(this,'status',_0xde9613(0x39d)),(this['_acknowledgedAwaitingChangeset']=_0x718ca,this[_0xde9613(0x290)]=_0x2d188d,this['_injector']=_0x2783b7,this[_0xde9613(0x302)]=_0xad7568,this['_transformService']=_0x2d1d6b,this['localCacheService']=_0x212bcb);}['onMissedChangesetFetched'](_0x1e560c){var _0x43c245=_0x5f281c;try{const _0x142288=[..._0x1e560c,...this[_0x43c245(0x290)]],_0x6bc9d3=[this[_0x43c245(0x3f0)]||this[_0x43c245(0x30d)]][_0x43c245(0x2ae)](_0xea76b7=>!!_0xea76b7);let _0x2d873d,_0x21927d;if(_0x6bc9d3[_0x43c245(0x24a)]){const _0x9d808a=this[_0x43c245(0x2e7)][_0x43c245(0x355)](_0x142288,_0x6bc9d3,!0x1);if(!_0x3fa21a(_0x9d808a))throw _0x9d808a[_0x43c245(0x278)];_0x2d873d=_0x9d808a[_0x43c245(0x420)],_0x21927d=_0x9d808a['c2Prime'];}else _0x2d873d=_0x142288,_0x21927d=[];let _0x4df68=this[_0x43c245(0x220)];_0x2d873d[_0x43c245(0x2c3)](_0x2a8424=>{var _0xf6668=_0x43c245;let _0x536f37;if(_0x4df68[_0xf6668(0x24a)]){const _0x2d7e95=this[_0xf6668(0x2e7)]['transformMutationsWithChangeset'](_0x2a8424,_0x4df68);if(!_0x32fab9(_0x2d7e95))throw _0x2d7e95['error'];_0x536f37=_0x2d7e95[_0xf6668(0x420)],_0x4df68=_0x2d7e95[_0xf6668(0x241)];}else _0x536f37=_0x2a8424;this['_executeRemoteChangeset'](_0x536f37);}),this[_0x43c245(0x30d)]&&this['_incrementRevisionNumber'](),this[_0x43c245(0x3f0)]&&_0x21927d[_0x43c245(0x24a)]&&(_0x21927d[0x0][_0x43c245(0x325)]=this['_getCurrentRevision']());let _0x32d19c;if(this[_0x43c245(0x3f0)]&&_0x4df68[_0x43c245(0x24a)]!==0x0)_0x32d19c=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](ae,this['unitID'],this[_0x43c245(0x33e)],_0x21927d[0x0],_0x4df68,this[_0x43c245(0x195)],void 0x0);else{if(this[_0x43c245(0x3f0)]&&_0x4df68[_0x43c245(0x24a)]===0x0)_0x21927d[0x0][_0x43c245(0x325)]=this[_0x43c245(0x1bd)](),_0x32d19c=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](le,this['unitID'],this[_0x43c245(0x33e)],_0x21927d[0x0],this[_0x43c245(0x195)]);else{if(_0x4df68[_0x43c245(0x24a)]!==0x0){const _0x16c629=this[_0x43c245(0x29c)][_0x43c245(0x2a2)](oe,this['unitID'],this['type'],_0x4df68,this[_0x43c245(0x195)]);_0x16c629[_0x43c245(0x3e7)](),_0x32d19c=_0x16c629;}else _0x32d19c=this[_0x43c245(0x29c)]['createInstance'](Ne,this[_0x43c245(0x32f)],this['type'],this[_0x43c245(0x195)]);}}return _0x32d19c['_updateLocalCache'](),_0x32d19c;}catch(_0xb99cb9){return this[_0x43c245(0x302)][_0x43c245(0x278)](_0x43c245(0x232),_0x43c245(0x1fd),_0xb99cb9),this['_injector'][_0x43c245(0x2a2)](ue,this['unitID'],this[_0x43c245(0x33e)],this['_awaitingChangeset'],this[_0x43c245(0x220)],this[_0x43c245(0x195)],!0x1);}}['resend'](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5f281c(0x332)](_0x4f2375){var _0xfb9ab=_0x5f281c;return this[_0xfb9ab(0x220)][_0xfb9ab(0x239)](_0x4f2375),this;}[_0x5f281c(0x42e)](_0xcd08e4){var _0x5e3394=_0x5f281c;return this[_0x5e3394(0x290)][_0x5e3394(0x239)](_0xcd08e4),this;}[_0x5f281c(0x34d)](_0x5e985a){var _0x1982d3=_0x5f281c;if(this[_0x1982d3(0x3f0)])return this[_0x1982d3(0x30d)]=this[_0x1982d3(0x3f0)],this[_0x1982d3(0x3f0)]=null,this;throw new Error(_0x1982d3(0x1c7));}[_0x5f281c(0x380)](_0x30a938){var _0x3a74bc=_0x5f281c;return this[_0x3a74bc(0x2f9)](!!(_0x30a938!=null&&_0x30a938[_0x3a74bc(0x3da)]));}[_0x5f281c(0x3d9)](){return this;}[_0x5f281c(0x339)](){var _0x428466=_0x5f281c;return this[_0x428466(0x29c)][_0x428466(0x2a2)](de,this[_0x428466(0x32f)],this[_0x428466(0x33e)],this[_0x428466(0x3f0)],this[_0x428466(0x220)],this['_handler']);}[_0x5f281c(0x26d)](){return this;}['_onConflict'](_0x20e468){var _0x3e83cb=_0x5f281c;return this[_0x3e83cb(0x29c)][_0x3e83cb(0x2a2)](ue,this[_0x3e83cb(0x32f)],this['type'],this[_0x3e83cb(0x3f0)],this[_0x3e83cb(0x220)],this[_0x3e83cb(0x195)],_0x20e468);}};ee=Te([A(0x7,_0x9558f9(_0xd634d6)),A(0x8,_0x9558f9(_0x33a96b)),A(0x9,_0x29c204),A(0xa,_0xda747d),A(0xb,_0x2f573f),A(0xc,_0x1b9c4f),A(0xd,_0x1a79f6(J))],ee);function yi(_0x1c9f63,_0x3253e7,_0xf28271,_0x577008,_0x84a577,_0x227002){var _0x3317d0=_0x5f281c;return _0x577008&&_0x84a577[_0x3317d0(0x24a)]?_0x1c9f63[_0x3317d0(0x2a2)](ae,_0x3253e7,_0xf28271,_0x577008,_0x84a577,_0x227002,void 0x0):_0x577008?_0x1c9f63[_0x3317d0(0x2a2)](le,_0x3253e7,_0xf28271,_0x577008,_0x227002):_0x84a577[_0x3317d0(0x24a)]?_0x1c9f63[_0x3317d0(0x2a2)](oe,_0x3253e7,_0xf28271,_0x84a577,_0x227002):_0x1c9f63[_0x3317d0(0x2a2)](Ne,_0x3253e7,_0xf28271,_0x227002);}var dr=Object[_0x5f281c(0x348)],fr=Object[_0x5f281c(0x30b)],xt=(_0x2588c7,_0x4a6fc9,_0x431421,_0x110284)=>{var _0x2de5fd=_0x5f281c;for(var _0x5365c0=_0x110284>0x1?void 0x0:_0x110284?fr(_0x4a6fc9,_0x431421):_0x4a6fc9,_0x4719d3=_0x2588c7[_0x2de5fd(0x24a)]-0x1,_0x241c7e;_0x4719d3>=0x0;_0x4719d3--)(_0x241c7e=_0x2588c7[_0x4719d3])&&(_0x5365c0=(_0x110284?_0x241c7e(_0x4a6fc9,_0x431421,_0x5365c0):_0x241c7e(_0x5365c0))||_0x5365c0);return _0x110284&&_0x5365c0&&dr(_0x4a6fc9,_0x431421,_0x5365c0),_0x5365c0;},k=(_0x374fc6,_0x1dd64c)=>(_0x1351cf,_0x50dbed)=>_0x1dd64c(_0x1351cf,_0x50dbed,_0x374fc6);let nt=class extends _0x23be52{constructor(_0x5ce2de,_0x4fffaa,_0x2b4f12,_0x326309,_0x2bedfa,_0x5357a0,_0x139c9e,_0x34c6ff,_0x4cbcb5,_0x507d52,_0x381451,_0xbda400,_0x2d52c0){var _0x519926=_0x5f281c;super(),N(this,_0x519926(0x177),new _0x28a5cc(null)),N(this,_0x519926(0x2ad),this['_state$'][_0x519926(0x362)]()),N(this,_0x519926(0x405)),N(this,_0x519926(0x2a8),!0x1),N(this,_0x519926(0x331),''),N(this,'_changesetReqId',0x0),N(this,_0x519926(0x2cf),this[_0x519926(0x2ad)]['pipe'](_0x2c4aae(_0x2193d1=>_0x2193d1?_0x2193d1[_0x519926(0x1cb)]:Ri[_0x519926(0x23e)]),_0x3647db(0x1))),N(this,_0x519926(0x1d3),!0x1),N(this,_0x519926(0x2b5),[]),(this[_0x519926(0x32f)]=_0x5ce2de,this['session']=_0x4fffaa,this['_type']=_0x2b4f12,this[_0x519926(0x29c)]=_0x326309,this['_compressMutationService']=_0x2bedfa,this['_localeService']=_0x5357a0,this['_revisionService']=_0x139c9e,this[_0x519926(0x2fe)]=_0x34c6ff,this['_logService']=_0x4cbcb5,this[_0x519926(0x37b)]=_0x507d52,this[_0x519926(0x2ba)]=_0x381451,this[_0x519926(0x31d)]=_0xbda400,this[_0x519926(0x31e)]=_0x2d52c0);}get['state'](){var _0x3eddb4=_0x5f281c;return this[_0x3eddb4(0x405)];}async['init'](){var _0x26ad0=_0x5f281c;if(this[_0x26ad0(0x3e9)])throw new Error(_0x26ad0(0x425));await this[_0x26ad0(0x29a)]();}[_0x5f281c(0x25f)](){var _0xda52f6=_0x5f281c;return this[_0xda52f6(0x2a8)]=!0x0,_0x5f82e5(()=>{var _0x3cdd62=_0xda52f6;this[_0x3cdd62(0x2a8)]=!0x1,this[_0x3cdd62(0x308)]();});}[_0x5f281c(0x2db)](_0x7c7af0){this['_onLocalMutation'](_0x7c7af0);}[_0x5f281c(0x22f)](_0x31dc23){var _0x5b3b5c=_0x5f281c;this[_0x5b3b5c(0x405)]=_0x31dc23,this['_state$']['next'](_0x31dc23);}async[_0x5f281c(0x29a)](){var _0x4b40dd=_0x5f281c,_0x37b54f;this['_updateState'](await this[_0x4b40dd(0x1cf)]()),this[_0x4b40dd(0x31d)]&&((_0x37b54f=this[_0x4b40dd(0x31d)])==null||_0x37b54f['editingUnit'](this[_0x4b40dd(0x32f)]),this[_0x4b40dd(0x2e9)](this[_0x4b40dd(0x31d)]['getUnitStatus$'](this['unitID'])['subscribe'](_0x3b2c99=>{var _0x2f81c8=_0x4b40dd;this[_0x2f81c8(0x302)]['debug'](_0x2f81c8(0x2ee),_0x2f81c8(0x406),_0x3b2c99),_0x3b2c99===Ci[_0x2f81c8(0x3d6)]?(this[_0x2f81c8(0x2fe)][_0x2f81c8(0x2d5)]({'id':se[_0x2f81c8(0x476)]}),this[_0x2f81c8(0x2ba)]['updatePermissionPoint'](new _0x20c3ca(this[_0x2f81c8(0x32f)])['id'],!0x1),this[_0x2f81c8(0x2ba)]['setShowComponents'](!0x1)):(this[_0x2f81c8(0x2ba)][_0x2f81c8(0x329)](new _0x20c3ca(this[_0x2f81c8(0x32f)])['id'],!0x0),this[_0x2f81c8(0x2ba)][_0x2f81c8(0x3cc)](!0x0));})));let _0x5b27ba=!0x1;return this[_0x4b40dd(0x2e9)](this[_0x4b40dd(0x206)][_0x4b40dd(0x2a4)][_0x4b40dd(0x3ca)](_0x99d8c1=>{var _0x28b27b=_0x4b40dd;_0x99d8c1===Ee[_0x28b27b(0x39f)]?this['_toggleOnline'](_0x5b27ba):_0x99d8c1===Ee[_0x28b27b(0x23e)]&&(_0x5b27ba=!0x0,this[_0x28b27b(0x30c)]());})),this[_0x4b40dd(0x2e9)](this['session'][_0x4b40dd(0x1c9)]['subscribe'](_0x40184d=>{var _0xcfa30c=_0x4b40dd;try{switch(_0x40184d['eventID']){case _0x54c335[_0xcfa30c(0x26e)]:{this[_0xcfa30c(0x2c5)](_0xfdb415(_0x40184d[_0xcfa30c(0x1dc)]));break;}case _0x54c335['CHANGESET_ACK']:{this[_0xcfa30c(0x22d)](_0x40184d['data']);break;}case _0x54c335[_0xcfa30c(0x414)]:{this[_0xcfa30c(0x3be)]();break;}case _0x54c335[_0xcfa30c(0x268)]:{this[_0xcfa30c(0x41e)](_0x40184d[_0xcfa30c(0x1dc)]);break;}case _0x54c335['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xcfa30c(0x404)](_0x40184d[_0xcfa30c(0x1dc)][_0xcfa30c(0x24d)][_0xcfa30c(0x44d)](_0x58d894=>_0xfdb415(_0x58d894)));break;}case _0x54c335['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case _0x54c335['UNISCRIPT_RUN']:break;}}catch(_0x362d14){throw console[_0xcfa30c(0x278)](_0xcfa30c(0x343),_0x362d14),_0x362d14;}})),this[_0x4b40dd(0x405)];}[_0x5f281c(0x3f7)](){this['_transitionLocked']=!0x1;}[_0x5f281c(0x44c)](){var _0x4e8590=_0x5f281c;if(this[_0x4e8590(0x1d3)])throw new Error(_0x4e8590(0x2b9));this[_0x4e8590(0x1d3)]=!0x0;}[_0x5f281c(0x1b2)](_0x59f2a2){var _0x5b3797=_0x5f281c;this[_0x5b3797(0x44c)](),this[_0x5b3797(0x22f)](this[_0x5b3797(0x405)][_0x5b3797(0x332)](_0x59f2a2)),this[_0x5b3797(0x3f7)]();}[_0x5f281c(0x2c5)](_0xc17b4e){var _0x3031ee=_0x5f281c;if(!(_0xc17b4e['revision']<=this[_0x3031ee(0x271)]['getCurrentRevOfUnit'](this[_0x3031ee(0x32f)]))){if(this[_0x3031ee(0x2a8)]){this[_0x3031ee(0x2b5)][_0x3031ee(0x239)](_0xc17b4e);return;}this[_0x3031ee(0x455)](_0xc17b4e);}}['_exhaustRemoteChangesetQueue'](){var _0x11e26e=_0x5f281c;this[_0x11e26e(0x2b5)]['forEach'](_0x7f2c53=>this['_applyRemoteChangeset'](_0x7f2c53)),this[_0x11e26e(0x2b5)]=[];}[_0x5f281c(0x455)](_0x218fcf){var _0x27f72a=_0x5f281c;const _0xc45448=this[_0x27f72a(0x197)][_0x27f72a(0x292)][_0x27f72a(0x3c1)](this['_compressMutationService'][_0x27f72a(0x292)]['getInterceptPoints']()['COMPRESS_MUTATION_APPLY'])(_0x218fcf['mutations'],null)||_0x218fcf['mutations'],_0x530679={..._0x218fcf,'mutations':_0xc45448};this[_0x27f72a(0x44c)](),this[_0x27f72a(0x22f)](this[_0x27f72a(0x405)][_0x27f72a(0x42e)](_0x530679)),this[_0x27f72a(0x3f7)]();}[_0x5f281c(0x22d)](_0x23d29d){var _0x4ca91d=_0x5f281c;this['_lockTransition'](),this[_0x4ca91d(0x22f)](this[_0x4ca91d(0x405)]['onRemoteAck'](_0x23d29d)),this[_0x4ca91d(0x3f7)]();}[_0x5f281c(0x3be)](_0x17b31d){var _0x47d8ed=_0x5f281c;this[_0x47d8ed(0x44c)](),this[_0x47d8ed(0x22f)](this['_state']['onRemoteRej'](_0x17b31d)),this[_0x47d8ed(0x3f7)]();}[_0x5f281c(0x41e)](_0x368ec9){var _0x2c9034=_0x5f281c;this[_0x2c9034(0x44c)](),this['_updateState'](this[_0x2c9034(0x405)][_0x2c9034(0x3d9)](_0x368ec9)),this[_0x2c9034(0x3f7)]();}['_onFetchMissResult'](_0x28d15c){var _0x16d590=_0x5f281c;if(!(this[_0x16d590(0x405)]instanceof ee))throw new TypeError(_0x16d590(0x3f9));const _0x59e44b=_0x28d15c[_0x16d590(0x44d)](_0x265bc0=>{var _0x1d39ec=_0x16d590;const _0x129db6=this[_0x1d39ec(0x197)][_0x1d39ec(0x292)][_0x1d39ec(0x3c1)](this[_0x1d39ec(0x197)][_0x1d39ec(0x292)]['getInterceptPoints']()[_0x1d39ec(0x3b6)])(_0x265bc0[_0x1d39ec(0x1ec)],null)||_0x265bc0['mutations'];return{..._0x265bc0,'mutations':_0x129db6};});this[_0x16d590(0x44c)](),this[_0x16d590(0x22f)](this[_0x16d590(0x405)]['onMissedChangesetFetched'](_0x59e44b)),this[_0x16d590(0x3f7)]();}[_0x5f281c(0x30c)](){var _0x93f1c=_0x5f281c;this[_0x93f1c(0x44c)](),this['_updateState'](this[_0x93f1c(0x405)][_0x93f1c(0x339)]()),this['_unlockTransition']();}[_0x5f281c(0x36b)](_0x4d057f=!0x1){var _0x5df2cd=_0x5f281c;this[_0x5df2cd(0x44c)](),this['_updateState'](this[_0x5df2cd(0x405)][_0x5df2cd(0x26d)]()),this[_0x5df2cd(0x3f7)]();const _0x1403ab=this[_0x5df2cd(0x405)];_0x4d057f&&_0x1403ab instanceof Ne&&(this[_0x5df2cd(0x44c)](),this['_updateState'](_0x1403ab[_0x5df2cd(0x401)]()),this[_0x5df2cd(0x3f7)]());}async['_createInitialState'](){return new Promise(_0x198d51=>{var _0x14bf7b=_0x5eda;this[_0x14bf7b(0x206)][_0x14bf7b(0x2a4)]['pipe'](_0x281660(0x1))[_0x14bf7b(0x3ca)](async _0xb3d0f=>{var _0x28830d=_0x14bf7b;_0x198d51(await this[_0x28830d(0x229)](_0xb3d0f===Ee['ONLINE']));});});}[_0x5f281c(0x17f)](){const _0x6ced2b=this['unitID'];return{'onStateChange':(_0x5ec8bb,_0x2ae42c)=>{var _0x469115=_0x5eda;if(_0x5ec8bb!==this[_0x469115(0x405)])throw new Error(_0x469115(0x2d7)+_0x5ec8bb[_0x469115(0x1cb)]+'\x0aAfter:\x20'+_0x2ae42c[_0x469115(0x1cb)]+_0x469115(0x260)+this['_state']['status']);this[_0x469115(0x22f)](_0x2ae42c);},'onSendChangeset':_0x520afc=>{var _0x11ad34=_0x5eda;_0x520afc[_0x11ad34(0x399)]||(_0x520afc[_0x11ad34(0x399)]=this['_changesetSessionId'],_0x520afc[_0x11ad34(0x1fe)]=++this[_0x11ad34(0x25c)]);const _0xc4ff40={'eventID':_0x54c335['SUBMIT_CHANGESET'],'data':{'unitID':_0x520afc[_0x11ad34(0x32f)],'unitType':this[_0x11ad34(0x418)],'changeset':_0x520afc,'memberID':this[_0x11ad34(0x206)]['getMemberID']()}};this[_0x11ad34(0x206)][_0x11ad34(0x1d4)](_0xc4ff40,this['unitID']);},'onMissingChangesets':({from:_0x271fc8,to:_0x4685d3})=>{var _0x4d64e4=_0x5eda;this[_0x4d64e4(0x302)][_0x4d64e4(0x458)](_0x4d64e4(0x2ee),_0x4d64e4(0x3c5)+_0x271fc8+_0x4d64e4(0x2b3)+_0x4685d3);const _0x297522={'eventID':_0x54c335[_0x4d64e4(0x33f)],'data':{'unitID':_0x6ced2b,'unitType':this['_type'],'from':_0x271fc8,'to':_0x4685d3}};this[_0x4d64e4(0x206)][_0x4d64e4(0x1d4)](_0x297522,this['unitID']);}};}async[_0x5f281c(0x229)](_0x5dc609){var _0x16da82=_0x5f281c,_0x544499,_0x413390,_0x5eff44;const _0x5b24d4=await((_0x544499=this[_0x16da82(0x31e)])==null?void 0x0:_0x544499['loadOfflineData'](this[_0x16da82(0x32f)])),_0x340929=(_0x413390=_0x5b24d4==null?void 0x0:_0x5b24d4[_0x16da82(0x1ec)])!=null?_0x413390:[],_0x40a95c=(_0x5eff44=_0x5b24d4==null?void 0x0:_0x5b24d4[_0x16da82(0x263)])!=null?_0x5eff44:null,_0xe95905=!!(_0x40a95c!=null&&_0x40a95c[_0x16da82(0x399)])&&!!(_0x40a95c!=null&&_0x40a95c[_0x16da82(0x1fe)]);this[_0x16da82(0x331)]=_0xe95905?_0x40a95c[_0x16da82(0x399)]:nr(),this['_changesetReqId']=_0xe95905?_0x40a95c[_0x16da82(0x1fe)]:0x0;const _0x41412e=this[_0x16da82(0x32f)];try{this[_0x16da82(0x3d3)](_0x40a95c,_0x340929);}catch(_0x5dad5e){this['_logService'][_0x16da82(0x278)](_0x5dad5e);}const _0x4c48f5=this['_createHandler']();if(_0x5dc609){const _0x78c276=yi(this[_0x16da82(0x29c)],_0x41412e,this[_0x16da82(0x418)],_0x40a95c,_0x340929,_0x4c48f5);return _0x78c276 instanceof oe?_0x78c276[_0x16da82(0x3e7)]():(_0x78c276 instanceof ae||_0x78c276 instanceof le)&&_0x78c276[_0x16da82(0x2d2)](),_0x78c276;}return this['_injector'][_0x16da82(0x2a2)](de,_0x41412e,this[_0x16da82(0x418)],_0x40a95c,_0x340929,_0x4c48f5);}[_0x5f281c(0x3d3)](_0x1c8f0c,_0x1c471b){var _0x7d6aeb=_0x5f281c,_0x68a490,_0x5b5a93;const _0x3e79ae=this[_0x7d6aeb(0x197)][_0x7d6aeb(0x292)][_0x7d6aeb(0x3c1)](this[_0x7d6aeb(0x197)]['interceptor'][_0x7d6aeb(0x3d7)]()[_0x7d6aeb(0x3b6)]);(_0x68a490=_0x3e79ae((_0x1c8f0c==null?void 0x0:_0x1c8f0c[_0x7d6aeb(0x1ec)])||[],null))==null||_0x68a490[_0x7d6aeb(0x2c3)](_0x238898=>this[_0x7d6aeb(0x37b)][_0x7d6aeb(0x18b)](_0x238898['id'],_0x238898['params'])),(_0x5b5a93=_0x3e79ae(_0x1c471b||[],null))==null||_0x5b5a93['forEach'](_0x316db1=>this[_0x7d6aeb(0x37b)][_0x7d6aeb(0x18b)](_0x316db1['id'],_0x316db1['params']));}};nt=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(pe)),k(0x8,_0x29c204),k(0x9,_0xda747d),k(0xa,_0x254153),k(0xb,_0x1a79f6(ht)),k(0xc,_0x1a79f6(J))],nt);let It=class extends nt{constructor(_0x50414d,_0x4d47f2,_0x40a518,_0x8a1a3d,_0x21df95,_0x31f486,_0x5db1f9,_0x45f1fb,_0xc7dd7,_0x2542c0,_0x4fd905,_0x2accce,_0x36ec98){var _0x5d4e58=_0x5f281c;super(_0x50414d,_0x40a518,_0x4d47f2,_0x8a1a3d,_0x21df95,_0x31f486,_0x5db1f9,_0x45f1fb,_0xc7dd7,_0x2542c0,_0x4fd905,_0x2accce,_0x36ec98),N(this,_0x5d4e58(0x449),null),(this['unitID']=_0x50414d,this[_0x5d4e58(0x33e)]=_0x4d47f2);}[_0x5f281c(0x188)](_0x3315cf){var _0x34e4b1=_0x5f281c;this[_0x34e4b1(0x449)]=_0x3315cf;}[_0x5f281c(0x43b)](){var _0xeed5a0=_0x5f281c;this[_0xeed5a0(0x449)]=null,super[_0xeed5a0(0x43b)]();}['_createHandler'](){var _0xcb79d0=_0x5f281c;const _0x822d8e=super[_0xcb79d0(0x17f)]();return _0x822d8e[_0xcb79d0(0x32b)]=_0x3d35f2=>{var _0x53b09d=_0xcb79d0,_0x3a51fb,_0x54f020;return(_0x54f020=(_0x3a51fb=this[_0x53b09d(0x449)])==null?void 0x0:_0x3a51fb[_0x53b09d(0x32b)])==null?void 0x0:_0x54f020['call'](_0x3a51fb,_0x3d35f2);},_0x822d8e[_0xcb79d0(0x22e)]=_0x2c5df9=>{var _0x170608=_0xcb79d0,_0x1616f5,_0x6c414a;return(_0x6c414a=(_0x1616f5=this[_0x170608(0x449)])==null?void 0x0:_0x1616f5[_0x170608(0x22e)])==null?void 0x0:_0x6c414a['call'](_0x1616f5,_0x2c5df9);},_0x822d8e['onTransformSelections']=_0x23de67=>{var _0xef9a4b=_0xcb79d0,_0x94e919,_0x421e28;return(_0x421e28=(_0x94e919=this[_0xef9a4b(0x449)])==null?void 0x0:_0x94e919['onTransformSelections'])==null?void 0x0:_0x421e28[_0xef9a4b(0x1f0)](_0x94e919,_0x23de67);},_0x822d8e[_0xcb79d0(0x25b)]=_0x481a71=>{var _0x3f9332=_0xcb79d0,_0x56ea79,_0x119fa7;return(_0x119fa7=(_0x56ea79=this['_handlerCallback'])==null?void 0x0:_0x56ea79[_0x3f9332(0x25b)])==null?void 0x0:_0x119fa7[_0x3f9332(0x1f0)](_0x56ea79,_0x481a71);},_0x822d8e[_0xcb79d0(0x294)]=_0x508a8f=>{var _0x3b1b76=_0xcb79d0,_0x4121a7,_0x366eb0,_0x3b3224;if(!((_0x4121a7=this[_0x3b1b76(0x449)])!=null&&_0x4121a7['onTransformRemoteChangesetByIMECache']))throw new Error('onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x3b3224=(_0x366eb0=this[_0x3b1b76(0x449)])==null?void 0x0:_0x366eb0[_0x3b1b76(0x294)])==null?void 0x0:_0x3b3224[_0x3b1b76(0x1f0)](_0x366eb0,_0x508a8f);},_0x822d8e['onTransformRemoteChangesetByStateCache']=_0x21039f=>{var _0x4069be=_0xcb79d0,_0x7b00e4,_0x5a7a11,_0x194662;if(!((_0x7b00e4=this[_0x4069be(0x449)])!=null&&_0x7b00e4[_0x4069be(0x1ff)]))throw new Error('onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.');return(_0x194662=(_0x5a7a11=this[_0x4069be(0x449)])==null?void 0x0:_0x5a7a11[_0x4069be(0x1ff)])==null?void 0x0:_0x194662['call'](_0x5a7a11,_0x21039f);},_0x822d8e;}async[_0x5f281c(0x29a)](){var _0x2cb33f=_0x5f281c;const _0x15ec57=await super[_0x2cb33f(0x29a)]();return this[_0x2cb33f(0x2e9)](this[_0x2cb33f(0x37b)][_0x2cb33f(0x34a)]((_0x3cf292,_0x4a9729)=>{var _0x11cd6a=_0x2cb33f;if(_0x3cf292[_0x11cd6a(0x33e)]!==_0x3e1461['MUTATION']||_0x4a9729!=null&&_0x4a9729[_0x11cd6a(0x37e)]||_0x4a9729!=null&&_0x4a9729['onlyLocal']||_0x3cf292['id']===_0x2f7b64['id'])return;const _0x47f26e=_0x3cf292[_0x11cd6a(0x1ba)];if((_0x47f26e==null?void 0x0:_0x47f26e[_0x11cd6a(0x299)])!==this[_0x11cd6a(0x32f)])return;const _0x1d203f=_0x3cf292,_0x1558b8=this[_0x11cd6a(0x197)]['interceptor'][_0x11cd6a(0x3c1)](this[_0x11cd6a(0x197)][_0x11cd6a(0x292)][_0x11cd6a(0x3d7)]()[_0x11cd6a(0x43c)])([_0x1d203f],null)||[_0x1d203f];this[_0x11cd6a(0x1b2)](_0x1558b8[0x0]);})),_0x15ec57;}};It=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(pe)),k(0x8,_0x29c204),k(0x9,_0xda747d),k(0xa,_0x254153),k(0xb,_0x1a79f6(ht)),k(0xc,_0x1a79f6(J))],It);let Tt=class extends nt{constructor(_0x3ed117,_0x408e6b,_0x3e7509,_0x2be82b,_0x43e8a3,_0x2d9498,_0x5490d2,_0x1d5dd1,_0x4de432,_0x13d90f,_0x32b0c3,_0x56f1a4,_0x4ba504,_0xfbb6af){var _0x1b8b5a=_0x5f281c;super(_0x3ed117,_0x3e7509,_0x408e6b,_0x2be82b,_0x43e8a3,_0x2d9498,_0x5490d2,_0x4de432,_0x13d90f,_0x32b0c3,_0x56f1a4,_0x4ba504,_0xfbb6af),this[_0x1b8b5a(0x32f)]=_0x3ed117,this[_0x1b8b5a(0x33e)]=_0x408e6b,this[_0x1b8b5a(0x221)]=_0x1d5dd1;}[_0x5f281c(0x17f)](){var _0x3e4f90=_0x5f281c;const _0x124e70=super[_0x3e4f90(0x17f)]();return _0x124e70[_0x3e4f90(0x3e4)]=_0xa11c0e=>this[_0x3e4f90(0x221)][_0x3e4f90(0x40e)](_0xa11c0e),_0x124e70;}async['_init'](){var _0x57c48f=_0x5f281c;const _0x57618d=await super['_init']();return this[_0x57c48f(0x2e9)](this[_0x57c48f(0x37b)][_0x57c48f(0x34a)]((_0x1e5956,_0x4b1a6a)=>{var _0x17fa4d=_0x57c48f;if(_0x1e5956['type']!==_0x3e1461[_0x17fa4d(0x39e)]||_0x4b1a6a!=null&&_0x4b1a6a[_0x17fa4d(0x37e)]||_0x4b1a6a!=null&&_0x4b1a6a[_0x17fa4d(0x1a2)])return;const _0x2d93fd=_0x1e5956[_0x17fa4d(0x1ba)];if((_0x2d93fd==null?void 0x0:_0x2d93fd['unitId'])!==this['unitID'])return;const _0x4bd83a=_0x1e5956,_0xa0322c=this[_0x17fa4d(0x197)]['interceptor'][_0x17fa4d(0x3c1)](this[_0x17fa4d(0x197)][_0x17fa4d(0x292)][_0x17fa4d(0x3d7)]()[_0x17fa4d(0x43c)])([_0x4bd83a],null)||[_0x4bd83a];this[_0x17fa4d(0x1b2)](_0xa0322c[0x0]);})),_0x57618d;}};Tt=xt([k(0x3,_0x9558f9(_0xd634d6)),k(0x4,_0x9558f9(_0x53d69e)),k(0x5,_0x9558f9(_0x1aa64a)),k(0x6,_0x9558f9(_0x33a96b)),k(0x7,_0x9558f9(it)),k(0x8,_0x9558f9(pe)),k(0x9,_0x29c204),k(0xa,_0xda747d),k(0xb,_0x254153),k(0xc,_0x1a79f6(ht)),k(0xd,_0x1a79f6(J))],Tt);var vr=Object['defineProperty'],pr=Object[_0x5f281c(0x30b)],mr=(_0x149637,_0x20e50d,_0x53a372,_0x396c34)=>{var _0x5759f3=_0x5f281c;for(var _0x5ae8af=_0x396c34>0x1?void 0x0:_0x396c34?pr(_0x20e50d,_0x53a372):_0x20e50d,_0x16300a=_0x149637[_0x5759f3(0x24a)]-0x1,_0x4ae575;_0x16300a>=0x0;_0x16300a--)(_0x4ae575=_0x149637[_0x16300a])&&(_0x5ae8af=(_0x396c34?_0x4ae575(_0x20e50d,_0x53a372,_0x5ae8af):_0x4ae575(_0x5ae8af))||_0x5ae8af);return _0x396c34&&_0x5ae8af&&vr(_0x20e50d,_0x53a372,_0x5ae8af),_0x5ae8af;},ft=(_0x266bf3,_0x3cef7c)=>(_0x5e009a,_0x202261)=>_0x3cef7c(_0x5e009a,_0x202261,_0x266bf3);let rt=class extends _0x23be52{constructor(_0x36705b,_0x5dcd5d,_0x133d66){var _0x34c142=_0x5f281c;super(),N(this,_0x34c142(0x467),new Map()),N(this,'_entityInit$',new _0x39b4f1()),N(this,_0x34c142(0x257),this['_entityInit$'][_0x34c142(0x362)]()),(this[_0x34c142(0x29c)]=_0x36705b,this[_0x34c142(0x38e)]=_0x5dcd5d,this[_0x34c142(0x1a4)]=_0x133d66,this[_0x34c142(0x29a)]());}[_0x5f281c(0x43b)](){var _0x2375fa=_0x5f281c;super[_0x2375fa(0x43b)](),this[_0x2375fa(0x467)][_0x2375fa(0x2c3)](_0x77284e=>_0x77284e[_0x2375fa(0x43b)]()),this[_0x2375fa(0x467)]['clear']();}[_0x5f281c(0x2e3)](_0x12bf71){var _0x187639=_0x5f281c,_0x22d083;return(_0x22d083=this[_0x187639(0x467)][_0x187639(0x3c2)](_0x12bf71))!=null?_0x22d083:null;}[_0x5f281c(0x44b)](_0x371ba8){var _0xa1c9f9=_0x5f281c;const _0x1e4761=this[_0xa1c9f9(0x2e3)](_0x371ba8);return _0x1e4761?_0x3f1059(_0x1e4761):this[_0xa1c9f9(0x249)]['pipe'](_0xd6b0bd(_0x3784ab=>_0x3784ab[_0xa1c9f9(0x32f)]===_0x371ba8));}[_0x5f281c(0x2cd)](_0x383a1d){var _0x197161=_0x5f281c;return _0x3e7711(this['getCollabEntity$'](_0x383a1d)[_0x197161(0x18a)](_0x213c72(()=>{})));}[_0x5f281c(0x29a)](){var _0x57095f=_0x5f281c;this[_0x57095f(0x1a4)]['getTypeOfUnitAdded$'](_0xd6875a[_0x57095f(0x2e0)])['pipe'](_0x5106b7(this['dispose$']),_0x5e9c7c(0x10))[_0x57095f(0x3ca)](async _0x33ead1=>{var _0x45d5a2=_0x57095f;const _0xabd6bc=_0x33ead1[_0x45d5a2(0x281)](),_0x2fbbea=await this[_0x45d5a2(0x218)](_0xabd6bc,Q[_0x45d5a2(0x2e0)]);this[_0x45d5a2(0x467)][_0x45d5a2(0x3e2)](_0xabd6bc,_0x2fbbea);}),this[_0x57095f(0x1a4)][_0x57095f(0x370)](_0xd6875a[_0x57095f(0x1e9)])[_0x57095f(0x18a)](_0x5106b7(this[_0x57095f(0x365)]),_0x5e9c7c(0x10))[_0x57095f(0x18a)](_0xd6b0bd(_0x1bd1da=>!_0x1bd1da['getUnitId']()[_0x57095f(0x3d2)]('__')))[_0x57095f(0x3ca)](async _0x27fdea=>{var _0x21391d=_0x57095f;const _0x3f96cc=_0x27fdea['getUnitId'](),_0x28438b=await this[_0x21391d(0x218)](_0x3f96cc,Q[_0x21391d(0x1e9)]);this[_0x21391d(0x467)][_0x21391d(0x3e2)](_0x3f96cc,_0x28438b);}),_0x2f7b48(this[_0x57095f(0x1a4)][_0x57095f(0x264)](_0xd6875a[_0x57095f(0x2e0)]),this[_0x57095f(0x1a4)][_0x57095f(0x264)](_0xd6875a[_0x57095f(0x1e9)]))[_0x57095f(0x18a)](_0x5106b7(this[_0x57095f(0x365)]))[_0x57095f(0x3ca)](_0x4687da=>{var _0x139e3c=_0x57095f;const _0x175f07=_0x4687da[_0x139e3c(0x281)](),_0x2a82de=this[_0x139e3c(0x467)][_0x139e3c(0x3c2)](_0x175f07);_0x2a82de&&(_0x2a82de[_0x139e3c(0x43b)](),this[_0x139e3c(0x467)][_0x139e3c(0x252)](_0x175f07));});}async['_startCollaboration'](_0x319589,_0x333da6){var _0x5715a4=_0x5f281c;const _0x1f60a1=await this[_0x5715a4(0x38e)][_0x5715a4(0x3e3)](_0x319589),_0x27d881=this[_0x5715a4(0x29c)][_0x5715a4(0x2a2)](this[_0x5715a4(0x1b4)](_0x333da6),_0x319589,_0x333da6,_0x1f60a1);return await _0x27d881[_0x5715a4(0x2fc)](),this[_0x5715a4(0x249)]['next'](_0x27d881),_0x27d881;}[_0x5f281c(0x1b4)](_0x280d2d){var _0x2a67e4=_0x5f281c;switch(_0x280d2d){case Q[_0x2a67e4(0x1e9)]:return It;case Q[_0x2a67e4(0x2e0)]:return Tt;default:throw new Error(_0x2a67e4(0x305)+_0x280d2d);}}};rt=mr([ft(0x0,_0x9558f9(_0xd634d6)),ft(0x1,_0x9558f9(Le)),ft(0x2,_0x34f8d6)],rt);var gr=Object[_0x5f281c(0x348)],Sr=Object[_0x5f281c(0x30b)],Er=(_0x280dcc,_0x4e6174,_0x56e0a5,_0x55e8e2)=>{for(var _0x3e2e65=_0x55e8e2>0x1?void 0x0:_0x55e8e2?Sr(_0x4e6174,_0x56e0a5):_0x4e6174,_0x402fd0=_0x280dcc['length']-0x1,_0xb94df0;_0x402fd0>=0x0;_0x402fd0--)(_0xb94df0=_0x280dcc[_0x402fd0])&&(_0x3e2e65=(_0x55e8e2?_0xb94df0(_0x4e6174,_0x56e0a5,_0x3e2e65):_0xb94df0(_0x3e2e65))||_0x3e2e65);return _0x55e8e2&&_0x3e2e65&&gr(_0x4e6174,_0x56e0a5,_0x3e2e65),_0x3e2e65;},zt=(_0x1fc255,_0x59e256)=>(_0x3e1928,_0x4f8180)=>_0x59e256(_0x3e1928,_0x4f8180,_0x1fc255);const Ir=_0x5f281c(0x2f3),Tr=_0x5f281c(0x187);let Ct=class extends _0x52a4ec{constructor(_0x3a1b08,_0x1a5207){var _0x3d98e3=_0x5f281c;super(),this[_0x3d98e3(0x1a4)]=_0x3a1b08,this[_0x3d98e3(0x300)]=_0x1a5207,this[_0x3d98e3(0x29a)]();}[_0x5f281c(0x29a)](){var _0x4e8825=_0x5f281c;this[_0x4e8825(0x2e9)](this['_univerInstanceService'][_0x4e8825(0x335)][_0x4e8825(0x3ca)](()=>{var _0x44b0d5=_0x4e8825,_0x4a7b5a;const _0x24fd86=this[_0x44b0d5(0x1a4)][_0x44b0d5(0x1de)]();let _0xb0181d=(_0x4a7b5a=this[_0x44b0d5(0x300)][_0x44b0d5(0x38a)](Ir))!=null?_0x4a7b5a:Tr;_0x24fd86 instanceof _0xe8f172&&(_0xb0181d=_0x24fd86[_0x44b0d5(0x33b)]),document[_0x44b0d5(0x38c)]=_0xb0181d;}));}};Ct=Er([zt(0x0,_0x34f8d6),zt(0x1,_0x3b2da1)],Ct);var Cr=Object[_0x5f281c(0x348)],br=Object[_0x5f281c(0x30b)],Rr=(_0x5b6e3c,_0x46db87,_0x5edd92,_0x132f58)=>{var _0x2ae5b6=_0x5f281c;for(var _0x5e3016=_0x132f58>0x1?void 0x0:_0x132f58?br(_0x46db87,_0x5edd92):_0x46db87,_0x43dce5=_0x5b6e3c[_0x2ae5b6(0x24a)]-0x1,_0x3d8512;_0x43dce5>=0x0;_0x43dce5--)(_0x3d8512=_0x5b6e3c[_0x43dce5])&&(_0x5e3016=(_0x132f58?_0x3d8512(_0x46db87,_0x5edd92,_0x5e3016):_0x3d8512(_0x5e3016))||_0x5e3016);return _0x132f58&&_0x5e3016&&Cr(_0x46db87,_0x5edd92,_0x5e3016),_0x5e3016;},vt=(_0x31bf41,_0x4cbf26)=>(_0x12323b,_0x4eb903)=>_0x4cbf26(_0x12323b,_0x4eb903,_0x31bf41);let st=class{constructor(_0x43bb9d,_0x2ce99b,_0x4071b3){var _0x5161d4=_0x5f281c;this['_configService']=_0x43bb9d,this[_0x5161d4(0x3eb)]=_0x2ce99b,this[_0x5161d4(0x363)]=_0x4071b3,this[_0x5161d4(0x2fc)]();}[_0x5f281c(0x2fc)](){var _0x4d6ef2=_0x5f281c;this[_0x4d6ef2(0x3eb)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x5cf28b,_0x3539b0)=>_0x3539b0(_0x5cf28b)[_0x4d6ef2(0x18a)](_0x324461(async _0x287951=>{var _0x164afa=_0x4d6ef2;const _0x3f0417=_0x287951;if(_0x3f0417[_0x164afa(0x1cb)]===0x191){if(typeof window>'u')throw new Error(_0x164afa(0x1fa));if(window[_0x164afa(0x374)](this[_0x164afa(0x363)]['t'](_0x164afa(0x244)))){const _0xaf058c=window[_0x164afa(0x174)](window[_0x164afa(0x2c1)]['href']);window[_0x164afa(0x2c1)][_0x164afa(0x41b)]=this[_0x164afa(0x375)]()+_0x164afa(0x279)+_0xaf058c;}}return _0x3f0417;}))});}[_0x5f281c(0x375)](){var _0x420f3d=_0x5f281c,_0x5a68a0,_0x4760be;const _0x110002=this['_configService'][_0x420f3d(0x38a)](wn),_0x2b10f6=this[_0x420f3d(0x300)][_0x420f3d(0x38a)](q);return(_0x4760be=(_0x5a68a0=_0x2b10f6==null?void 0x0:_0x2b10f6[_0x420f3d(0x3f3)])!=null?_0x5a68a0:_0x110002)!=null?_0x4760be:Un;}};st=Rr([vt(0x0,_0x3b2da1),vt(0x1,_0x9558f9(_0x30b05c)),vt(0x2,_0x9558f9(_0x1aa64a))],st);var Or=Object[_0x5f281c(0x348)],yr=Object[_0x5f281c(0x30b)],Nr=(_0xac79ec,_0x383cd6,_0xf45f30,_0x46602e)=>{for(var _0x312495=_0x46602e>0x1?void 0x0:_0x46602e?yr(_0x383cd6,_0xf45f30):_0x383cd6,_0x2ae531=_0xac79ec['length']-0x1,_0x445993;_0x2ae531>=0x0;_0x2ae531--)(_0x445993=_0xac79ec[_0x2ae531])&&(_0x312495=(_0x46602e?_0x445993(_0x383cd6,_0xf45f30,_0x312495):_0x445993(_0x312495))||_0x312495);return _0x46602e&&_0x312495&&Or(_0x383cd6,_0xf45f30,_0x312495),_0x312495;},Jt=(_0x5404a9,_0x32bc80)=>(_0x4b8675,_0x5e8181)=>_0x32bc80(_0x4b8675,_0x5e8181,_0x5404a9);const Ni=_0x5f281c(0x224),Dr=_0x5f281c(0x1f7);let bt=class extends _0x52a4ec{constructor(_0x406edd,_0xd53de6){var _0x2aafc9=_0x5f281c;super(),this[_0x2aafc9(0x40b)]=_0x406edd,this[_0x2aafc9(0x300)]=_0xd53de6,this['_initMergeInterceptor']();}[_0x5f281c(0x226)](){var _0x34c780=_0x5f281c;const _0x334f05=this;this[_0x34c780(0x2e9)](this['_HTTPService'][_0x34c780(0x427)]({'priority':0x3e7,'interceptor':_0x4d712b({'isMatch'(_0x4d5d00){var _0x29598f=_0x34c780,_0x369db7;if(_0x4d5d00['method']==='POST'&&((_0x369db7=_0x4d5d00[_0x29598f(0x183)])!=null&&_0x369db7[_0x29598f(0x351)])){const {objectID:_0x15fa81,objectType:_0x4e7c2b}=_0x4d5d00['requestParams'][_0x29598f(0x351)]||{};if(!_0x15fa81||_0x4e7c2b===void 0x0)return!0x1;const _0x4a0031=_0x334f05[_0x29598f(0x29d)]()+'/'+_0x4e7c2b+'/object/'+_0x15fa81+_0x29598f(0x2c0);if(_0x4d5d00['url']===_0x4a0031)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x56e1d0){var _0x5ebaaa=_0x34c780,_0x102f95;return(_0x102f95=_0x56e1d0[_0x5ebaaa(0x183)])==null?void 0x0:_0x102f95[_0x5ebaaa(0x351)];},'mergeParamsToRequest'(_0xf815d8,_0xa9c8b7){var _0x2a218f=_0x34c780;const _0x19a69b=_0x334f05[_0x2a218f(0x29d)]()+_0x2a218f(0x291),_0x344b01=_0xf815d8[_0x2a218f(0x35b)]((_0x43620d,_0x102ddb)=>{var _0x59d382=_0x2a218f;const {unitID:_0x4ebd41,objectID:_0xa905e1,objectType:_0xd23cd8,actions:_0xd06268}=_0x102ddb;return _0x43620d[_0x4ebd41]||(_0x43620d[_0x4ebd41]={}),_0x43620d[_0x4ebd41][_0xa905e1]||(_0x43620d[_0x4ebd41][_0xa905e1]={'objectID':_0xa905e1,'objectType':_0xd23cd8,'actions':[]}),_0x43620d[_0x4ebd41][_0xa905e1][_0x59d382(0x32e)]['push'](..._0xd06268),_0x43620d;},{}),_0x221284=[];for(const _0x39a9b8 in _0x344b01)for(const _0x3771f4 in _0x344b01[_0x39a9b8]){const {actions:_0x44e709,objectType:_0x396703}=_0x344b01[_0x39a9b8][_0x3771f4],_0x227182=[...new Set(_0x44e709)];_0x221284[_0x2a218f(0x239)]({'unitID':_0x39a9b8,'objectID':_0x3771f4,'objectType':_0x396703,'actions':_0x227182});}return new _0xb13e74(_0x2a218f(0x1ad),_0x19a69b,{'headers':_0xa9c8b7['headers'],'withCredentials':_0xa9c8b7[_0x2a218f(0x2d9)],'responseType':_0xa9c8b7['responseType'],'body':{'requests':_0x221284}});}},{'distributeResult'(_0x29156e,_0xcb95d4){var _0x3ddf69=_0x34c780;const {objectActions:_0x382e50}=_0x29156e;return _0xcb95d4[_0x3ddf69(0x44d)](_0x58b863=>{var _0x2bedaf=_0x3ddf69;const {unitID:_0x18d8ba,objectID:_0x499011,actions:_0x11f38f}=_0x58b863,_0x4d9635=_0x382e50[_0x2bedaf(0x322)](_0x5c2902=>_0x5c2902[_0x2bedaf(0x32f)]===_0x18d8ba&&_0x5c2902[_0x2bedaf(0x462)]===_0x499011),_0x4e65c0=_0x11f38f[_0x2bedaf(0x44d)](_0x5377a3=>_0x4d9635==null?void 0x0:_0x4d9635[_0x2bedaf(0x32e)][_0x2bedaf(0x322)](_0x23f160=>_0x23f160['action']===_0x5377a3))[_0x2bedaf(0x2ae)](_0x1d0415=>!!_0x1d0415);return{'config':_0x58b863,'result':{'actions':_0x4e65c0,'error':_0x29156e[_0x2bedaf(0x278)]}};});}})}));}[_0x5f281c(0x29d)](){var _0x30ded2=_0x5f281c,_0x4e8649,_0x2ce329;const _0x267b4b=this[_0x30ded2(0x300)][_0x30ded2(0x38a)](Ni),_0xfbc47c=this['_configService']['getConfig'](q);return(_0x2ce329=(_0x4e8649=_0xfbc47c==null?void 0x0:_0xfbc47c[_0x30ded2(0x18d)])!=null?_0x4e8649:_0x267b4b)!=null?_0x2ce329:Dr;}async[_0x5f281c(0x28f)](_0x4577c3){var _0x1a0d92=_0x5f281c;const _0x4331e=this[_0x1a0d92(0x29d)]()+'/'+_0x4577c3[_0x1a0d92(0x35f)]+_0x1a0d92(0x307);return(await this[_0x1a0d92(0x40b)][_0x1a0d92(0x2ac)](_0x4331e,{'body':_0x4577c3}))[_0x1a0d92(0x351)][_0x1a0d92(0x462)]||'';}async['list'](_0x4706df){var _0x2f6143=_0x5f281c;const _0x4e29f7=this[_0x2f6143(0x29d)]()+'/-/object/list';return(await this[_0x2f6143(0x40b)]['post'](_0x4e29f7,{'body':_0x4706df}))[_0x2f6143(0x351)][_0x2f6143(0x353)];}async['update'](_0x59c115){var _0x173ee5=_0x5f281c;const _0x34195f=this[_0x173ee5(0x29d)]()+'/'+_0x59c115[_0x173ee5(0x35f)]+_0x173ee5(0x26f)+_0x59c115[_0x173ee5(0x462)];await this['_HTTPService'][_0x173ee5(0x3bf)](_0x34195f,{'body':_0x59c115});}async['allowed'](_0x57aa70){var _0xb4414b=_0x5f281c;const _0x44bcea=this[_0xb4414b(0x29d)]()+'/'+_0x57aa70['objectType']+_0xb4414b(0x26f)+_0x57aa70[_0xb4414b(0x462)]+_0xb4414b(0x2c0);return(await this[_0xb4414b(0x40b)][_0xb4414b(0x2ac)](_0x44bcea,{'body':_0x57aa70}))[_0xb4414b(0x351)][_0xb4414b(0x32e)];}async['batchAllowed'](_0x25aa5e){var _0x29088c=_0x5f281c;const _0x2499c6=this[_0x29088c(0x29d)]()+_0x29088c(0x291);return(await this[_0x29088c(0x40b)]['post'](_0x2499c6,{'body':{'requests':_0x25aa5e}}))[_0x29088c(0x351)][_0x29088c(0x240)];}async[_0x5f281c(0x1e8)](_0x2767a0){var _0x2abd5f=_0x5f281c;const _0x168480=this[_0x2abd5f(0x29d)]()+'/'+_0x2767a0[_0x2abd5f(0x35f)]+_0x2abd5f(0x1d5),_0x32638a=await this['_HTTPService'][_0x2abd5f(0x2ac)](_0x168480,{'body':_0x2767a0});return{'roles':_0x32638a[_0x2abd5f(0x351)][_0x2abd5f(0x456)],'actions':_0x32638a[_0x2abd5f(0x351)][_0x2abd5f(0x32e)]};}async[_0x5f281c(0x27b)](_0x5dc8d1){var _0x4038c3=_0x5f281c;const _0x2e70bb=this[_0x4038c3(0x29d)]()+_0x4038c3(0x381);await this[_0x4038c3(0x40b)][_0x4038c3(0x252)](_0x2e70bb,{'params':{'collaboratorID':_0x5dc8d1[_0x4038c3(0x469)],'objectID':_0x5dc8d1[_0x4038c3(0x462)],'unitID':_0x5dc8d1[_0x4038c3(0x32f)]}});}async[_0x5f281c(0x385)](_0x31a7d0){var _0x443be6=_0x5f281c;const _0x604daa=this[_0x443be6(0x29d)]()+_0x443be6(0x381);await this[_0x443be6(0x40b)][_0x443be6(0x24e)](_0x604daa,{'body':_0x31a7d0});}async['createCollaborator'](_0x5c07b5){var _0x315029=_0x5f281c;const _0x391b90=this[_0x315029(0x29d)]()+_0x315029(0x381);await this[_0x315029(0x40b)][_0x315029(0x2ac)](_0x391b90,{'body':_0x5c07b5});}async['listCollaborators'](_0x196d14){var _0x29994c=_0x5f281c;const _0x19f0d3=this[_0x29994c(0x29d)]()+_0x29994c(0x381);return(await this[_0x29994c(0x40b)][_0x29994c(0x3c2)](_0x19f0d3,{'params':{'objectID':_0x196d14[_0x29994c(0x462)],'unitID':_0x196d14['unitID']}}))[_0x29994c(0x351)][_0x29994c(0x3a1)];}async[_0x5f281c(0x1ac)](_0x16ef82){var _0x550afa=_0x5f281c;const _0x5949c4=this['_getAPIPrefixPath']()+_0x550afa(0x381);await this[_0x550afa(0x40b)]['put'](_0x5949c4,{'body':_0x16ef82});}};bt=Nr([Jt(0x0,_0x9558f9(_0x30b05c)),Jt(0x1,_0x9558f9(_0x3b2da1))],bt);var pt=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ke(_0x4f8d91){var _0x2f013c=_0x5f281c;return _0x4f8d91&&_0x4f8d91[_0x2f013c(0x181)]&&Object['prototype']['hasOwnProperty'][_0x2f013c(0x1f0)](_0x4f8d91,'default')?_0x4f8d91[_0x2f013c(0x3cf)]:_0x4f8d91;}var Ge={'exports':{}};function Pr(_0x4d4b26){var _0x353964=_0x5f281c;throw new Error(_0x353964(0x30a)+_0x4d4b26+_0x353964(0x316));}var Ve={'exports':{}},wr=Ve['exports'],Xt;function ie(){var _0x47da94=_0x5f281c;return Xt||(Xt=0x1,function(_0x4f9cc0,_0x487c5a){(function(_0x2a065d,_0x57722b){var _0x25c38c=_0x5eda;_0x4f9cc0[_0x25c38c(0x3ba)]=_0x57722b();}(wr,function(){var _0x5b6ed3=_0x5b6ed3||function(_0x28634c,_0x2b1e09){var _0x302ac7=_0x5eda,_0x367db7;if(typeof window<'u'&&window[_0x302ac7(0x23c)]&&(_0x367db7=window['crypto']),typeof self<'u'&&self['crypto']&&(_0x367db7=self['crypto']),typeof globalThis<'u'&&globalThis['crypto']&&(_0x367db7=globalThis[_0x302ac7(0x23c)]),!_0x367db7&&typeof window<'u'&&window['msCrypto']&&(_0x367db7=window[_0x302ac7(0x17b)]),!_0x367db7&&typeof pt<'u'&&pt[_0x302ac7(0x23c)]&&(_0x367db7=pt[_0x302ac7(0x23c)]),!_0x367db7&&typeof Pr=='function')try{_0x367db7=require(_0x302ac7(0x23c));}catch{}var _0x38360=function(){var _0x468a77=_0x302ac7;if(_0x367db7){if(typeof _0x367db7[_0x468a77(0x2bd)]==_0x468a77(0x371))try{return _0x367db7[_0x468a77(0x2bd)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x367db7['randomBytes']=='function')try{return _0x367db7['randomBytes'](0x4)[_0x468a77(0x47a)]();}catch{}}throw new Error(_0x468a77(0x445));},_0x495609=Object[_0x302ac7(0x28f)]||(function(){function _0x4d37fd(){}return function(_0x354aeb){var _0x3a8593=_0x5eda,_0x58d36e;return _0x4d37fd[_0x3a8593(0x43f)]=_0x354aeb,_0x58d36e=new _0x4d37fd(),_0x4d37fd[_0x3a8593(0x43f)]=null,_0x58d36e;};}()),_0x5044bf={},_0x18ef59=_0x5044bf[_0x302ac7(0x452)]={},_0x391f38=_0x18ef59[_0x302ac7(0x23d)]=(function(){return{'extend':function(_0x4bf470){var _0x424943=_0x5eda,_0x2859b2=_0x495609(this);return _0x4bf470&&_0x2859b2[_0x424943(0x340)](_0x4bf470),(!_0x2859b2[_0x424943(0x28b)](_0x424943(0x2fc))||this[_0x424943(0x2fc)]===_0x2859b2[_0x424943(0x2fc)])&&(_0x2859b2[_0x424943(0x2fc)]=function(){var _0x35615c=_0x424943;_0x2859b2[_0x35615c(0x306)]['init'][_0x35615c(0x25e)](this,arguments);}),_0x2859b2['init'][_0x424943(0x43f)]=_0x2859b2,_0x2859b2[_0x424943(0x306)]=this,_0x2859b2;},'create':function(){var _0x5aff1f=_0x5eda,_0x5cc28b=this['extend']();return _0x5cc28b[_0x5aff1f(0x2fc)][_0x5aff1f(0x25e)](_0x5cc28b,arguments),_0x5cc28b;},'init':function(){},'mixIn':function(_0x4a8298){var _0x10d3f7=_0x5eda;for(var _0x162e55 in _0x4a8298)_0x4a8298[_0x10d3f7(0x28b)](_0x162e55)&&(this[_0x162e55]=_0x4a8298[_0x162e55]);_0x4a8298[_0x10d3f7(0x28b)](_0x10d3f7(0x2df))&&(this[_0x10d3f7(0x2df)]=_0x4a8298[_0x10d3f7(0x2df)]);},'clone':function(){var _0x1bffc7=_0x5eda;return this[_0x1bffc7(0x2fc)][_0x1bffc7(0x43f)][_0x1bffc7(0x3cd)](this);}};}()),_0x261a46=_0x18ef59[_0x302ac7(0x1ea)]=_0x391f38[_0x302ac7(0x3cd)]({'init':function(_0x2a64cc,_0x4e6bf4){var _0x3916b7=_0x302ac7;_0x2a64cc=this['words']=_0x2a64cc||[],_0x4e6bf4!=_0x2b1e09?this[_0x3916b7(0x411)]=_0x4e6bf4:this[_0x3916b7(0x411)]=_0x2a64cc[_0x3916b7(0x24a)]*0x4;},'toString':function(_0x4af715){var _0x2b5595=_0x302ac7;return(_0x4af715||_0x9afff)[_0x2b5595(0x29f)](this);},'concat':function(_0x2449c8){var _0x41e7df=_0x302ac7,_0x1f0cd3=this[_0x41e7df(0x3c0)],_0x56d0b0=_0x2449c8[_0x41e7df(0x3c0)],_0x48b0d9=this[_0x41e7df(0x411)],_0x492375=_0x2449c8['sigBytes'];if(this['clamp'](),_0x48b0d9%0x4)for(var _0x961b22=0x0;_0x961b22<_0x492375;_0x961b22++){var _0x839cb1=_0x56d0b0[_0x961b22>>>0x2]>>>0x18-_0x961b22%0x4*0x8&0xff;_0x1f0cd3[_0x48b0d9+_0x961b22>>>0x2]|=_0x839cb1<<0x18-(_0x48b0d9+_0x961b22)%0x4*0x8;}else{for(var _0x5bd318=0x0;_0x5bd318<_0x492375;_0x5bd318+=0x4)_0x1f0cd3[_0x48b0d9+_0x5bd318>>>0x2]=_0x56d0b0[_0x5bd318>>>0x2];}return this['sigBytes']+=_0x492375,this;},'clamp':function(){var _0x4b99c3=_0x302ac7,_0xfff057=this[_0x4b99c3(0x3c0)],_0x2d35ef=this['sigBytes'];_0xfff057[_0x2d35ef>>>0x2]&=0xffffffff<<0x20-_0x2d35ef%0x4*0x8,_0xfff057['length']=_0x28634c['ceil'](_0x2d35ef/0x4);},'clone':function(){var _0x129854=_0x302ac7,_0x5bda39=_0x391f38[_0x129854(0x42f)][_0x129854(0x1f0)](this);return _0x5bda39['words']=this[_0x129854(0x3c0)]['slice'](0x0),_0x5bda39;},'random':function(_0xd738e9){var _0x3682c6=_0x302ac7;for(var _0x35d6cd=[],_0x57e6e7=0x0;_0x57e6e7<_0xd738e9;_0x57e6e7+=0x4)_0x35d6cd['push'](_0x38360());return new _0x261a46[(_0x3682c6(0x2fc))](_0x35d6cd,_0xd738e9);}}),_0x814cba=_0x5044bf['enc']={},_0x9afff=_0x814cba[_0x302ac7(0x3c4)]={'stringify':function(_0x261525){var _0x13d5bf=_0x302ac7;for(var _0x465b09=_0x261525['words'],_0x1d145e=_0x261525[_0x13d5bf(0x411)],_0x2ebd11=[],_0x4bc62a=0x0;_0x4bc62a<_0x1d145e;_0x4bc62a++){var _0x524854=_0x465b09[_0x4bc62a>>>0x2]>>>0x18-_0x4bc62a%0x4*0x8&0xff;_0x2ebd11['push']((_0x524854>>>0x4)[_0x13d5bf(0x2df)](0x10)),_0x2ebd11[_0x13d5bf(0x239)]((_0x524854&0xf)[_0x13d5bf(0x2df)](0x10));}return _0x2ebd11['join']('');},'parse':function(_0x5449fc){var _0x274c2b=_0x302ac7;for(var _0x31f2aa=_0x5449fc[_0x274c2b(0x24a)],_0x5384c1=[],_0x39625b=0x0;_0x39625b<_0x31f2aa;_0x39625b+=0x2)_0x5384c1[_0x39625b>>>0x3]|=parseInt(_0x5449fc[_0x274c2b(0x3d4)](_0x39625b,0x2),0x10)<<0x18-_0x39625b%0x8*0x4;return new _0x261a46[(_0x274c2b(0x2fc))](_0x5384c1,_0x31f2aa/0x2);}},_0x551c40=_0x814cba['Latin1']={'stringify':function(_0x27feb3){var _0x3d9854=_0x302ac7;for(var _0x4bbdad=_0x27feb3[_0x3d9854(0x3c0)],_0x4eb7b3=_0x27feb3[_0x3d9854(0x411)],_0x188fec=[],_0x18168b=0x0;_0x18168b<_0x4eb7b3;_0x18168b++){var _0x55102b=_0x4bbdad[_0x18168b>>>0x2]>>>0x18-_0x18168b%0x4*0x8&0xff;_0x188fec['push'](String[_0x3d9854(0x3a8)](_0x55102b));}return _0x188fec[_0x3d9854(0x20d)]('');},'parse':function(_0xed1db6){var _0x2a1cdb=_0x302ac7;for(var _0x41fa3f=_0xed1db6[_0x2a1cdb(0x24a)],_0x823742=[],_0x1f722d=0x0;_0x1f722d<_0x41fa3f;_0x1f722d++)_0x823742[_0x1f722d>>>0x2]|=(_0xed1db6[_0x2a1cdb(0x3a9)](_0x1f722d)&0xff)<<0x18-_0x1f722d%0x4*0x8;return new _0x261a46[(_0x2a1cdb(0x2fc))](_0x823742,_0x41fa3f);}},_0x22bede=_0x814cba[_0x302ac7(0x283)]={'stringify':function(_0x3ae44f){var _0x1f64fc=_0x302ac7;try{return decodeURIComponent(escape(_0x551c40[_0x1f64fc(0x29f)](_0x3ae44f)));}catch{throw new Error(_0x1f64fc(0x2ea));}},'parse':function(_0x2bf7e6){var _0x18cea6=_0x302ac7;return _0x551c40[_0x18cea6(0x3ef)](unescape(encodeURIComponent(_0x2bf7e6)));}},_0x410988=_0x18ef59[_0x302ac7(0x3a2)]=_0x391f38[_0x302ac7(0x3cd)]({'reset':function(){var _0x4d6b30=_0x302ac7;this[_0x4d6b30(0x1a3)]=new _0x261a46['init'](),this[_0x4d6b30(0x2cb)]=0x0;},'_append':function(_0xa44129){var _0x4c28af=_0x302ac7;typeof _0xa44129==_0x4c28af(0x194)&&(_0xa44129=_0x22bede[_0x4c28af(0x3ef)](_0xa44129)),this['_data'][_0x4c28af(0x336)](_0xa44129),this['_nDataBytes']+=_0xa44129[_0x4c28af(0x411)];},'_process':function(_0xa63d30){var _0x19ec44=_0x302ac7,_0x2a61b5,_0x1ba6c7=this[_0x19ec44(0x1a3)],_0x47d5db=_0x1ba6c7[_0x19ec44(0x3c0)],_0x4e1cf7=_0x1ba6c7[_0x19ec44(0x411)],_0x5992c5=this[_0x19ec44(0x18e)],_0x1fe587=_0x5992c5*0x4,_0x956b00=_0x4e1cf7/_0x1fe587;_0xa63d30?_0x956b00=_0x28634c[_0x19ec44(0x26b)](_0x956b00):_0x956b00=_0x28634c[_0x19ec44(0x41d)]((_0x956b00|0x0)-this[_0x19ec44(0x350)],0x0);var _0x11fb7b=_0x956b00*_0x5992c5,_0x36f0fe=_0x28634c[_0x19ec44(0x20b)](_0x11fb7b*0x4,_0x4e1cf7);if(_0x11fb7b){for(var _0x3fb19e=0x0;_0x3fb19e<_0x11fb7b;_0x3fb19e+=_0x5992c5)this[_0x19ec44(0x338)](_0x47d5db,_0x3fb19e);_0x2a61b5=_0x47d5db[_0x19ec44(0x28a)](0x0,_0x11fb7b),_0x1ba6c7[_0x19ec44(0x411)]-=_0x36f0fe;}return new _0x261a46[(_0x19ec44(0x2fc))](_0x2a61b5,_0x36f0fe);},'clone':function(){var _0x3350fd=_0x302ac7,_0x4210a2=_0x391f38['clone'][_0x3350fd(0x1f0)](this);return _0x4210a2[_0x3350fd(0x1a3)]=this[_0x3350fd(0x1a3)]['clone'](),_0x4210a2;},'_minBufferSize':0x0});_0x18ef59['Hasher']=_0x410988[_0x302ac7(0x3cd)]({'cfg':_0x391f38['extend'](),'init':function(_0x19d324){var _0x3d3fc8=_0x302ac7;this[_0x3d3fc8(0x179)]=this[_0x3d3fc8(0x179)]['extend'](_0x19d324),this['reset']();},'reset':function(){var _0x2220d5=_0x302ac7;_0x410988[_0x2220d5(0x3ab)][_0x2220d5(0x1f0)](this),this['_doReset']();},'update':function(_0x42ac2e){var _0x249152=_0x302ac7;return this['_append'](_0x42ac2e),this[_0x249152(0x3fc)](),this;},'finalize':function(_0x2e46eb){var _0x5f1c88=_0x302ac7;_0x2e46eb&&this[_0x5f1c88(0x1fc)](_0x2e46eb);var _0x1b1f66=this[_0x5f1c88(0x1d8)]();return _0x1b1f66;},'blockSize':0x10,'_createHelper':function(_0x5bdec8){return function(_0x12c20a,_0x29c958){var _0x42b8b0=_0x5eda;return new _0x5bdec8[(_0x42b8b0(0x2fc))](_0x29c958)['finalize'](_0x12c20a);};},'_createHmacHelper':function(_0x5e2aab){return function(_0x303b04,_0x36343b){var _0x2f9504=_0x5eda;return new _0xbdf6ac[(_0x2f9504(0x199))][(_0x2f9504(0x2fc))](_0x5e2aab,_0x36343b)['finalize'](_0x303b04);};}});var _0xbdf6ac=_0x5044bf[_0x302ac7(0x2ed)]={};return _0x5044bf;}(Math);return _0x5b6ed3;}));}(Ve)),Ve[_0x47da94(0x3ba)];}var We={'exports':{}},Ur=We[_0x5f281c(0x3ba)],Zt;function Di(){var _0x3a2ead=_0x5f281c;return Zt||(Zt=0x1,function(_0x501223,_0x552d72){(function(_0x29254d,_0x527a5f){var _0x6beb73=_0x5eda;_0x501223[_0x6beb73(0x3ba)]=_0x527a5f(ie());}(Ur,function(_0x485488){var _0x3ac187=_0x5eda;return(function(){var _0x50b814=_0x5eda,_0x12f6da=_0x485488,_0x302dd3=_0x12f6da['lib'],_0x34b7fd=_0x302dd3[_0x50b814(0x1ea)],_0x3d846a=_0x12f6da['enc'];_0x3d846a[_0x50b814(0x1f5)]={'stringify':function(_0x31280c){var _0x1ec4cb=_0x50b814,_0x5031e0=_0x31280c['words'],_0x5e964b=_0x31280c[_0x1ec4cb(0x411)],_0x523904=this[_0x1ec4cb(0x301)];_0x31280c[_0x1ec4cb(0x191)]();for(var _0x1a566d=[],_0xb3b5b3=0x0;_0xb3b5b3<_0x5e964b;_0xb3b5b3+=0x3)for(var _0x4b1f7f=_0x5031e0[_0xb3b5b3>>>0x2]>>>0x18-_0xb3b5b3%0x4*0x8&0xff,_0x43da56=_0x5031e0[_0xb3b5b3+0x1>>>0x2]>>>0x18-(_0xb3b5b3+0x1)%0x4*0x8&0xff,_0x1ccefc=_0x5031e0[_0xb3b5b3+0x2>>>0x2]>>>0x18-(_0xb3b5b3+0x2)%0x4*0x8&0xff,_0x253003=_0x4b1f7f<<0x10|_0x43da56<<0x8|_0x1ccefc,_0x1f7a08=0x0;_0x1f7a08<0x4&&_0xb3b5b3+_0x1f7a08*0.75<_0x5e964b;_0x1f7a08++)_0x1a566d[_0x1ec4cb(0x239)](_0x523904[_0x1ec4cb(0x447)](_0x253003>>>0x6*(0x3-_0x1f7a08)&0x3f));var _0x509ea8=_0x523904[_0x1ec4cb(0x447)](0x40);if(_0x509ea8){for(;_0x1a566d[_0x1ec4cb(0x24a)]%0x4;)_0x1a566d[_0x1ec4cb(0x239)](_0x509ea8);}return _0x1a566d['join']('');},'parse':function(_0x2142ac){var _0x14613b=_0x50b814,_0x175db6=_0x2142ac[_0x14613b(0x24a)],_0x3797c5=this[_0x14613b(0x301)],_0x4f0089=this[_0x14613b(0x280)];if(!_0x4f0089){_0x4f0089=this[_0x14613b(0x280)]=[];for(var _0x103668=0x0;_0x103668<_0x3797c5[_0x14613b(0x24a)];_0x103668++)_0x4f0089[_0x3797c5[_0x14613b(0x3a9)](_0x103668)]=_0x103668;}var _0x400b39=_0x3797c5[_0x14613b(0x447)](0x40);if(_0x400b39){var _0x5024d0=_0x2142ac[_0x14613b(0x1c0)](_0x400b39);_0x5024d0!==-0x1&&(_0x175db6=_0x5024d0);}return _0x281333(_0x2142ac,_0x175db6,_0x4f0089);},'_map':_0x50b814(0x42b)};function _0x281333(_0xed2c5b,_0x165c57,_0x4d5386){var _0xa7f241=_0x50b814;for(var _0x4de587=[],_0x282524=0x0,_0x1e90d2=0x0;_0x1e90d2<_0x165c57;_0x1e90d2++)if(_0x1e90d2%0x4){var _0x3e627e=_0x4d5386[_0xed2c5b[_0xa7f241(0x3a9)](_0x1e90d2-0x1)]<<_0x1e90d2%0x4*0x2,_0x23d3af=_0x4d5386[_0xed2c5b[_0xa7f241(0x3a9)](_0x1e90d2)]>>>0x6-_0x1e90d2%0x4*0x2,_0x42e9bf=_0x3e627e|_0x23d3af;_0x4de587[_0x282524>>>0x2]|=_0x42e9bf<<0x18-_0x282524%0x4*0x8,_0x282524++;}return _0x34b7fd['create'](_0x4de587,_0x282524);}}()),_0x485488[_0x3ac187(0x3b0)][_0x3ac187(0x1f5)];}));}(We)),We[_0x3a2ead(0x3ba)];}var Ke={'exports':{}},Ar=Ke[_0x5f281c(0x3ba)],Qt;function xr(){return Qt||(Qt=0x1,function(_0x26f272,_0x2651f2){(function(_0x398770,_0x188924){var _0x4ef841=_0x5eda;_0x26f272[_0x4ef841(0x3ba)]=_0x188924(ie());}(Ar,function(_0x9f0bf7){var _0x3f9c91=_0x5eda;return function(_0x427f8f){var _0x4ebcf3=_0x5eda,_0x2123c7=_0x9f0bf7,_0xe2aaf=_0x2123c7['lib'],_0x1c670e=_0xe2aaf['WordArray'],_0xbc1da8=_0xe2aaf[_0x4ebcf3(0x357)],_0x3718d6=_0x2123c7[_0x4ebcf3(0x2ed)],_0x5932de=[];(function(){var _0x57e271=_0x4ebcf3;for(var _0x14e4c5=0x0;_0x14e4c5<0x40;_0x14e4c5++)_0x5932de[_0x14e4c5]=_0x427f8f[_0x57e271(0x270)](_0x427f8f[_0x57e271(0x274)](_0x14e4c5+0x1))*0x100000000|0x0;}());var _0x2b225a=_0x3718d6[_0x4ebcf3(0x423)]=_0xbc1da8[_0x4ebcf3(0x3cd)]({'_doReset':function(){var _0x362584=_0x4ebcf3;this[_0x362584(0x3c6)]=new _0x1c670e[(_0x362584(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x37b6ec,_0x2624d8){var _0x540556=_0x4ebcf3;for(var _0x48b0e2=0x0;_0x48b0e2<0x10;_0x48b0e2++){var _0x3ef9ee=_0x2624d8+_0x48b0e2,_0x380631=_0x37b6ec[_0x3ef9ee];_0x37b6ec[_0x3ef9ee]=(_0x380631<<0x8|_0x380631>>>0x18)&0xff00ff|(_0x380631<<0x18|_0x380631>>>0x8)&0xff00ff00;}var _0x542a11=this[_0x540556(0x3c6)][_0x540556(0x3c0)],_0x42756b=_0x37b6ec[_0x2624d8+0x0],_0x45ef0a=_0x37b6ec[_0x2624d8+0x1],_0x53c040=_0x37b6ec[_0x2624d8+0x2],_0x5cfeb6=_0x37b6ec[_0x2624d8+0x3],_0x36652a=_0x37b6ec[_0x2624d8+0x4],_0x4c562a=_0x37b6ec[_0x2624d8+0x5],_0x265c24=_0x37b6ec[_0x2624d8+0x6],_0x520bdf=_0x37b6ec[_0x2624d8+0x7],_0x5484f1=_0x37b6ec[_0x2624d8+0x8],_0x1a79f5=_0x37b6ec[_0x2624d8+0x9],_0x26a16e=_0x37b6ec[_0x2624d8+0xa],_0x48e768=_0x37b6ec[_0x2624d8+0xb],_0x9eb6e8=_0x37b6ec[_0x2624d8+0xc],_0x7b1448=_0x37b6ec[_0x2624d8+0xd],_0x3dde48=_0x37b6ec[_0x2624d8+0xe],_0x2ac478=_0x37b6ec[_0x2624d8+0xf],_0x10189c=_0x542a11[0x0],_0x54e818=_0x542a11[0x1],_0x150397=_0x542a11[0x2],_0x4bc4b6=_0x542a11[0x3];_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x42756b,0x7,_0x5932de[0x0]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x45ef0a,0xc,_0x5932de[0x1]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x53c040,0x11,_0x5932de[0x2]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x5cfeb6,0x16,_0x5932de[0x3]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x36652a,0x7,_0x5932de[0x4]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x4c562a,0xc,_0x5932de[0x5]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x265c24,0x11,_0x5932de[0x6]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x520bdf,0x16,_0x5932de[0x7]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x5484f1,0x7,_0x5932de[0x8]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x1a79f5,0xc,_0x5932de[0x9]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x26a16e,0x11,_0x5932de[0xa]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x48e768,0x16,_0x5932de[0xb]),_0x10189c=_0x1d4128(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x9eb6e8,0x7,_0x5932de[0xc]),_0x4bc4b6=_0x1d4128(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x7b1448,0xc,_0x5932de[0xd]),_0x150397=_0x1d4128(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x3dde48,0x11,_0x5932de[0xe]),_0x54e818=_0x1d4128(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x2ac478,0x16,_0x5932de[0xf]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x45ef0a,0x5,_0x5932de[0x10]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x265c24,0x9,_0x5932de[0x11]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x48e768,0xe,_0x5932de[0x12]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x42756b,0x14,_0x5932de[0x13]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x4c562a,0x5,_0x5932de[0x14]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x26a16e,0x9,_0x5932de[0x15]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x2ac478,0xe,_0x5932de[0x16]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x36652a,0x14,_0x5932de[0x17]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x1a79f5,0x5,_0x5932de[0x18]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x3dde48,0x9,_0x5932de[0x19]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x5cfeb6,0xe,_0x5932de[0x1a]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x5484f1,0x14,_0x5932de[0x1b]),_0x10189c=_0x2693ab(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x7b1448,0x5,_0x5932de[0x1c]),_0x4bc4b6=_0x2693ab(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x53c040,0x9,_0x5932de[0x1d]),_0x150397=_0x2693ab(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x520bdf,0xe,_0x5932de[0x1e]),_0x54e818=_0x2693ab(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x9eb6e8,0x14,_0x5932de[0x1f]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x4c562a,0x4,_0x5932de[0x20]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x5484f1,0xb,_0x5932de[0x21]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x48e768,0x10,_0x5932de[0x22]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x3dde48,0x17,_0x5932de[0x23]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x45ef0a,0x4,_0x5932de[0x24]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x36652a,0xb,_0x5932de[0x25]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x520bdf,0x10,_0x5932de[0x26]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x26a16e,0x17,_0x5932de[0x27]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x7b1448,0x4,_0x5932de[0x28]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x42756b,0xb,_0x5932de[0x29]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x5cfeb6,0x10,_0x5932de[0x2a]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x265c24,0x17,_0x5932de[0x2b]),_0x10189c=_0xe30a48(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x1a79f5,0x4,_0x5932de[0x2c]),_0x4bc4b6=_0xe30a48(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x9eb6e8,0xb,_0x5932de[0x2d]),_0x150397=_0xe30a48(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x2ac478,0x10,_0x5932de[0x2e]),_0x54e818=_0xe30a48(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x53c040,0x17,_0x5932de[0x2f]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x42756b,0x6,_0x5932de[0x30]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x520bdf,0xa,_0x5932de[0x31]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x3dde48,0xf,_0x5932de[0x32]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x4c562a,0x15,_0x5932de[0x33]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x9eb6e8,0x6,_0x5932de[0x34]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x5cfeb6,0xa,_0x5932de[0x35]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x26a16e,0xf,_0x5932de[0x36]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x45ef0a,0x15,_0x5932de[0x37]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x5484f1,0x6,_0x5932de[0x38]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x2ac478,0xa,_0x5932de[0x39]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x265c24,0xf,_0x5932de[0x3a]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x7b1448,0x15,_0x5932de[0x3b]),_0x10189c=_0x4c1d86(_0x10189c,_0x54e818,_0x150397,_0x4bc4b6,_0x36652a,0x6,_0x5932de[0x3c]),_0x4bc4b6=_0x4c1d86(_0x4bc4b6,_0x10189c,_0x54e818,_0x150397,_0x48e768,0xa,_0x5932de[0x3d]),_0x150397=_0x4c1d86(_0x150397,_0x4bc4b6,_0x10189c,_0x54e818,_0x53c040,0xf,_0x5932de[0x3e]),_0x54e818=_0x4c1d86(_0x54e818,_0x150397,_0x4bc4b6,_0x10189c,_0x1a79f5,0x15,_0x5932de[0x3f]),_0x542a11[0x0]=_0x542a11[0x0]+_0x10189c|0x0,_0x542a11[0x1]=_0x542a11[0x1]+_0x54e818|0x0,_0x542a11[0x2]=_0x542a11[0x2]+_0x150397|0x0,_0x542a11[0x3]=_0x542a11[0x3]+_0x4bc4b6|0x0;},'_doFinalize':function(){var _0x984c5a=_0x4ebcf3,_0x2b162e=this[_0x984c5a(0x1a3)],_0x2e8159=_0x2b162e[_0x984c5a(0x3c0)],_0x8c34f1=this[_0x984c5a(0x2cb)]*0x8,_0x168b8d=_0x2b162e[_0x984c5a(0x411)]*0x8;_0x2e8159[_0x168b8d>>>0x5]|=0x80<<0x18-_0x168b8d%0x20;var _0x552c65=_0x427f8f[_0x984c5a(0x378)](_0x8c34f1/0x100000000),_0x54bb13=_0x8c34f1;_0x2e8159[(_0x168b8d+0x40>>>0x9<<0x4)+0xf]=(_0x552c65<<0x8|_0x552c65>>>0x18)&0xff00ff|(_0x552c65<<0x18|_0x552c65>>>0x8)&0xff00ff00,_0x2e8159[(_0x168b8d+0x40>>>0x9<<0x4)+0xe]=(_0x54bb13<<0x8|_0x54bb13>>>0x18)&0xff00ff|(_0x54bb13<<0x18|_0x54bb13>>>0x8)&0xff00ff00,_0x2b162e[_0x984c5a(0x411)]=(_0x2e8159[_0x984c5a(0x24a)]+0x1)*0x4,this[_0x984c5a(0x3fc)]();for(var _0x5292ac=this[_0x984c5a(0x3c6)],_0x3b4509=_0x5292ac[_0x984c5a(0x3c0)],_0x599d2c=0x0;_0x599d2c<0x4;_0x599d2c++){var _0x132b8f=_0x3b4509[_0x599d2c];_0x3b4509[_0x599d2c]=(_0x132b8f<<0x8|_0x132b8f>>>0x18)&0xff00ff|(_0x132b8f<<0x18|_0x132b8f>>>0x8)&0xff00ff00;}return _0x5292ac;},'clone':function(){var _0x3dd43a=_0x4ebcf3,_0x1046f1=_0xbc1da8['clone'][_0x3dd43a(0x1f0)](this);return _0x1046f1[_0x3dd43a(0x3c6)]=this[_0x3dd43a(0x3c6)][_0x3dd43a(0x42f)](),_0x1046f1;}});function _0x1d4128(_0x4fdde5,_0x5afa20,_0x2ccbf6,_0x1006a1,_0x4881cc,_0x2c3923,_0x4f6633){var _0x1e1253=_0x4fdde5+(_0x5afa20&_0x2ccbf6|~_0x5afa20&_0x1006a1)+_0x4881cc+_0x4f6633;return(_0x1e1253<<_0x2c3923|_0x1e1253>>>0x20-_0x2c3923)+_0x5afa20;}function _0x2693ab(_0x400e2c,_0x3508f0,_0x3fe462,_0x5671ec,_0x119f38,_0x570add,_0x4030ad){var _0x37aa8a=_0x400e2c+(_0x3508f0&_0x5671ec|_0x3fe462&~_0x5671ec)+_0x119f38+_0x4030ad;return(_0x37aa8a<<_0x570add|_0x37aa8a>>>0x20-_0x570add)+_0x3508f0;}function _0xe30a48(_0x225295,_0x2eefd2,_0x35002e,_0x54ebc2,_0x42f349,_0xc38e0b,_0x22aa7b){var _0x5e531b=_0x225295+(_0x2eefd2^_0x35002e^_0x54ebc2)+_0x42f349+_0x22aa7b;return(_0x5e531b<<_0xc38e0b|_0x5e531b>>>0x20-_0xc38e0b)+_0x2eefd2;}function _0x4c1d86(_0x4cc9e6,_0x56fb9c,_0x3ea129,_0x53e7a6,_0xc86fc1,_0x78ffbf,_0x44ddb8){var _0x2a5c5f=_0x4cc9e6+(_0x3ea129^(_0x56fb9c|~_0x53e7a6))+_0xc86fc1+_0x44ddb8;return(_0x2a5c5f<<_0x78ffbf|_0x2a5c5f>>>0x20-_0x78ffbf)+_0x56fb9c;}_0x2123c7[_0x4ebcf3(0x423)]=_0xbc1da8['_createHelper'](_0x2b225a),_0x2123c7[_0x4ebcf3(0x2ff)]=_0xbc1da8[_0x4ebcf3(0x17d)](_0x2b225a);}(Math),_0x9f0bf7[_0x3f9c91(0x423)];}));}(Ke)),Ke['exports'];}var Ye={'exports':{}},qe={'exports':{}},Lr=qe[_0x5f281c(0x3ba)],ei;function Mr(){var _0x4fed5b=_0x5f281c;return ei||(ei=0x1,function(_0x29c848,_0x9849f6){(function(_0x54df92,_0x1ef80d){var _0x24a7ae=_0x5eda;_0x29c848[_0x24a7ae(0x3ba)]=_0x1ef80d(ie());}(Lr,function(_0x107ce0){var _0x15774a=_0x5eda;return(function(){var _0x3937f2=_0x5eda,_0x501c53=_0x107ce0,_0x540b31=_0x501c53[_0x3937f2(0x452)],_0xc3c88d=_0x540b31['WordArray'],_0x3e72e3=_0x540b31['Hasher'],_0x29214f=_0x501c53[_0x3937f2(0x2ed)],_0x4c2a03=[],_0x376e1f=_0x29214f[_0x3937f2(0x293)]=_0x3e72e3['extend']({'_doReset':function(){var _0x5a7e21=_0x3937f2;this[_0x5a7e21(0x3c6)]=new _0xc3c88d[(_0x5a7e21(0x2fc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2118a4,_0x4be46b){var _0x1e3298=_0x3937f2;for(var _0x1ce34b=this[_0x1e3298(0x3c6)][_0x1e3298(0x3c0)],_0x27e100=_0x1ce34b[0x0],_0x90280f=_0x1ce34b[0x1],_0x1344c1=_0x1ce34b[0x2],_0x248261=_0x1ce34b[0x3],_0x799949=_0x1ce34b[0x4],_0x30c03e=0x0;_0x30c03e<0x50;_0x30c03e++){if(_0x30c03e<0x10)_0x4c2a03[_0x30c03e]=_0x2118a4[_0x4be46b+_0x30c03e]|0x0;else{var _0x23d596=_0x4c2a03[_0x30c03e-0x3]^_0x4c2a03[_0x30c03e-0x8]^_0x4c2a03[_0x30c03e-0xe]^_0x4c2a03[_0x30c03e-0x10];_0x4c2a03[_0x30c03e]=_0x23d596<<0x1|_0x23d596>>>0x1f;}var _0x4f3a92=(_0x27e100<<0x5|_0x27e100>>>0x1b)+_0x799949+_0x4c2a03[_0x30c03e];_0x30c03e<0x14?_0x4f3a92+=(_0x90280f&_0x1344c1|~_0x90280f&_0x248261)+0x5a827999:_0x30c03e<0x28?_0x4f3a92+=(_0x90280f^_0x1344c1^_0x248261)+0x6ed9eba1:_0x30c03e<0x3c?_0x4f3a92+=(_0x90280f&_0x1344c1|_0x90280f&_0x248261|_0x1344c1&_0x248261)-0x70e44324:_0x4f3a92+=(_0x90280f^_0x1344c1^_0x248261)-0x359d3e2a,_0x799949=_0x248261,_0x248261=_0x1344c1,_0x1344c1=_0x90280f<<0x1e|_0x90280f>>>0x2,_0x90280f=_0x27e100,_0x27e100=_0x4f3a92;}_0x1ce34b[0x0]=_0x1ce34b[0x0]+_0x27e100|0x0,_0x1ce34b[0x1]=_0x1ce34b[0x1]+_0x90280f|0x0,_0x1ce34b[0x2]=_0x1ce34b[0x2]+_0x1344c1|0x0,_0x1ce34b[0x3]=_0x1ce34b[0x3]+_0x248261|0x0,_0x1ce34b[0x4]=_0x1ce34b[0x4]+_0x799949|0x0;},'_doFinalize':function(){var _0x5cc740=_0x3937f2,_0x281f3a=this['_data'],_0x3c378d=_0x281f3a['words'],_0x451b18=this[_0x5cc740(0x2cb)]*0x8,_0x5448c6=_0x281f3a[_0x5cc740(0x411)]*0x8;return _0x3c378d[_0x5448c6>>>0x5]|=0x80<<0x18-_0x5448c6%0x20,_0x3c378d[(_0x5448c6+0x40>>>0x9<<0x4)+0xe]=Math[_0x5cc740(0x378)](_0x451b18/0x100000000),_0x3c378d[(_0x5448c6+0x40>>>0x9<<0x4)+0xf]=_0x451b18,_0x281f3a[_0x5cc740(0x411)]=_0x3c378d[_0x5cc740(0x24a)]*0x4,this[_0x5cc740(0x3fc)](),this['_hash'];},'clone':function(){var _0x5919e2=_0x3937f2,_0x5c4e64=_0x3e72e3[_0x5919e2(0x42f)][_0x5919e2(0x1f0)](this);return _0x5c4e64[_0x5919e2(0x3c6)]=this[_0x5919e2(0x3c6)]['clone'](),_0x5c4e64;}});_0x501c53[_0x3937f2(0x293)]=_0x3e72e3[_0x3937f2(0x33c)](_0x376e1f),_0x501c53['HmacSHA1']=_0x3e72e3[_0x3937f2(0x17d)](_0x376e1f);}()),_0x107ce0[_0x15774a(0x293)];}));}(qe)),qe[_0x4fed5b(0x3ba)];}var ze={'exports':{}},$r=ze[_0x5f281c(0x3ba)],ti;function Hr(){var _0x50121b=_0x5f281c;return ti||(ti=0x1,function(_0x7e054d,_0x11ac6f){(function(_0x2ca7e8,_0xfb4b7){var _0x33a718=_0x5eda;_0x7e054d[_0x33a718(0x3ba)]=_0xfb4b7(ie());}($r,function(_0x11c91b){(function(){var _0x523426=_0x5eda,_0x4308b1=_0x11c91b,_0x334b73=_0x4308b1['lib'],_0x177fbb=_0x334b73[_0x523426(0x23d)],_0x5a35b7=_0x4308b1['enc'],_0x587026=_0x5a35b7[_0x523426(0x283)],_0x561a52=_0x4308b1[_0x523426(0x2ed)];_0x561a52[_0x523426(0x199)]=_0x177fbb['extend']({'init':function(_0x2892a6,_0xd2e45e){var _0x173f98=_0x523426;_0x2892a6=this[_0x173f98(0x215)]=new _0x2892a6['init'](),typeof _0xd2e45e=='string'&&(_0xd2e45e=_0x587026[_0x173f98(0x3ef)](_0xd2e45e));var _0x5e9938=_0x2892a6[_0x173f98(0x18e)],_0x3a3836=_0x5e9938*0x4;_0xd2e45e[_0x173f98(0x411)]>_0x3a3836&&(_0xd2e45e=_0x2892a6['finalize'](_0xd2e45e)),_0xd2e45e[_0x173f98(0x191)]();for(var _0x1bbe60=this['_oKey']=_0xd2e45e['clone'](),_0x2357b8=this[_0x173f98(0x443)]=_0xd2e45e[_0x173f98(0x42f)](),_0x1a778c=_0x1bbe60[_0x173f98(0x3c0)],_0x2786f7=_0x2357b8[_0x173f98(0x3c0)],_0x4ce799=0x0;_0x4ce799<_0x5e9938;_0x4ce799++)_0x1a778c[_0x4ce799]^=0x5c5c5c5c,_0x2786f7[_0x4ce799]^=0x36363636;_0x1bbe60['sigBytes']=_0x2357b8[_0x173f98(0x411)]=_0x3a3836,this['reset']();},'reset':function(){var _0x21fea0=_0x523426,_0x206a42=this[_0x21fea0(0x215)];_0x206a42[_0x21fea0(0x3ab)](),_0x206a42['update'](this[_0x21fea0(0x443)]);},'update':function(_0x5dc4c0){var _0x29bf58=_0x523426;return this['_hasher'][_0x29bf58(0x472)](_0x5dc4c0),this;},'finalize':function(_0x43ac85){var _0x3a15e2=_0x523426,_0x4550c4=this[_0x3a15e2(0x215)],_0x4acc76=_0x4550c4[_0x3a15e2(0x212)](_0x43ac85);_0x4550c4[_0x3a15e2(0x3ab)]();var _0x5a7229=_0x4550c4['finalize'](this[_0x3a15e2(0x3c7)]['clone']()[_0x3a15e2(0x336)](_0x4acc76));return _0x5a7229;}});}());}));}(ze)),ze[_0x50121b(0x3ba)];}var kr=Ye[_0x5f281c(0x3ba)],ii;function Pi(){var _0x48c811=_0x5f281c;return ii||(ii=0x1,function(_0x38bc79,_0x243809){(function(_0x5582c5,_0x3ed2f1,_0x1e9aa6){var _0xc61b4c=_0x5eda;_0x38bc79[_0xc61b4c(0x3ba)]=_0x3ed2f1(ie(),Mr(),Hr());}(kr,function(_0x4cc712){return(function(){var _0x3cab85=_0x5eda,_0x225d76=_0x4cc712,_0x2ed838=_0x225d76['lib'],_0x331e16=_0x2ed838[_0x3cab85(0x23d)],_0x253660=_0x2ed838['WordArray'],_0x5d532a=_0x225d76[_0x3cab85(0x2ed)],_0x1cc2b0=_0x5d532a['MD5'],_0x407cc3=_0x5d532a[_0x3cab85(0x2a1)]=_0x331e16[_0x3cab85(0x3cd)]({'cfg':_0x331e16[_0x3cab85(0x3cd)]({'keySize':0x80/0x20,'hasher':_0x1cc2b0,'iterations':0x1}),'init':function(_0x45d0fd){var _0x163ad9=_0x3cab85;this[_0x163ad9(0x179)]=this['cfg'][_0x163ad9(0x3cd)](_0x45d0fd);},'compute':function(_0x3aeb7a,_0xd3d90){var _0x339814=_0x3cab85;for(var _0x423759,_0x1a6c0a=this[_0x339814(0x179)],_0x20da37=_0x1a6c0a[_0x339814(0x286)][_0x339814(0x28f)](),_0x31cf81=_0x253660['create'](),_0x208369=_0x31cf81[_0x339814(0x3c0)],_0x367e01=_0x1a6c0a[_0x339814(0x1d1)],_0x35d218=_0x1a6c0a[_0x339814(0x28c)];_0x208369['length']<_0x367e01;){_0x423759&&_0x20da37['update'](_0x423759),_0x423759=_0x20da37[_0x339814(0x472)](_0x3aeb7a)[_0x339814(0x212)](_0xd3d90),_0x20da37[_0x339814(0x3ab)]();for(var _0x3375d2=0x1;_0x3375d2<_0x35d218;_0x3375d2++)_0x423759=_0x20da37[_0x339814(0x212)](_0x423759),_0x20da37['reset']();_0x31cf81[_0x339814(0x336)](_0x423759);}return _0x31cf81['sigBytes']=_0x367e01*0x4,_0x31cf81;}});_0x225d76['EvpKDF']=function(_0x5df42e,_0xb4c27,_0x40e304){var _0x4b475d=_0x3cab85;return _0x407cc3[_0x4b475d(0x28f)](_0x40e304)[_0x4b475d(0x38b)](_0x5df42e,_0xb4c27);};}()),_0x4cc712['EvpKDF'];}));}(Ye)),Ye[_0x48c811(0x3ba)];}var Je={'exports':{}},jr=Je[_0x5f281c(0x3ba)],ni;function wi(){var _0x1abf5e=_0x5f281c;return ni||(ni=0x1,function(_0x2e9739,_0x5d9196){(function(_0x160c3e,_0x2baded,_0xec4255){var _0x4b50ef=_0x5eda;_0x2e9739[_0x4b50ef(0x3ba)]=_0x2baded(ie(),Pi());}(jr,function(_0x35048c){var _0x164994=_0x5eda;_0x35048c[_0x164994(0x452)][_0x164994(0x2c9)]||function(_0x125288){var _0x3d4480=_0x164994,_0x5b0d5d=_0x35048c,_0x5edc2f=_0x5b0d5d[_0x3d4480(0x452)],_0x2e56b9=_0x5edc2f[_0x3d4480(0x23d)],_0x32a39e=_0x5edc2f[_0x3d4480(0x1ea)],_0x54f2b9=_0x5edc2f['BufferedBlockAlgorithm'],_0x1b02d7=_0x5b0d5d[_0x3d4480(0x3b0)];_0x1b02d7[_0x3d4480(0x283)];var _0x1e98bb=_0x1b02d7['Base64'],_0x3c0526=_0x5b0d5d[_0x3d4480(0x2ed)],_0x49d6f1=_0x3c0526[_0x3d4480(0x2a1)],_0x309c4b=_0x5edc2f['Cipher']=_0x54f2b9[_0x3d4480(0x3cd)]({'cfg':_0x2e56b9[_0x3d4480(0x3cd)](),'createEncryptor':function(_0x2d91dd,_0x32f351){var _0x17e4f2=_0x3d4480;return this[_0x17e4f2(0x28f)](this['_ENC_XFORM_MODE'],_0x2d91dd,_0x32f351);},'createDecryptor':function(_0x48f912,_0x42d769){var _0x3f51ff=_0x3d4480;return this[_0x3f51ff(0x28f)](this[_0x3f51ff(0x40a)],_0x48f912,_0x42d769);},'init':function(_0x3b1b40,_0xaed4e6,_0x352b54){var _0x1d1dfa=_0x3d4480;this['cfg']=this[_0x1d1dfa(0x179)][_0x1d1dfa(0x3cd)](_0x352b54),this['_xformMode']=_0x3b1b40,this[_0x1d1dfa(0x477)]=_0xaed4e6,this[_0x1d1dfa(0x3ab)]();},'reset':function(){var _0x2d1316=_0x3d4480;_0x54f2b9[_0x2d1316(0x3ab)][_0x2d1316(0x1f0)](this),this[_0x2d1316(0x2dc)]();},'process':function(_0x1acfd5){var _0x4aa800=_0x3d4480;return this[_0x4aa800(0x1fc)](_0x1acfd5),this['_process']();},'finalize':function(_0x569d9c){var _0x1b7933=_0x3d4480;_0x569d9c&&this[_0x1b7933(0x1fc)](_0x569d9c);var _0x19a6dc=this[_0x1b7933(0x1d8)]();return _0x19a6dc;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x12bd24(_0x339f84){var _0x465fd1=_0x5eda;return typeof _0x339f84==_0x465fd1(0x194)?_0x2e4cff:_0x4fe7fb;}return function(_0x78e6ff){return{'encrypt':function(_0x589a5a,_0x3218d1,_0x5426c3){var _0x229cc0=_0x5eda;return _0x12bd24(_0x3218d1)[_0x229cc0(0x2bf)](_0x78e6ff,_0x589a5a,_0x3218d1,_0x5426c3);},'decrypt':function(_0x2ca041,_0x2fccce,_0x39ed95){var _0x4d8eac=_0x5eda;return _0x12bd24(_0x2fccce)[_0x4d8eac(0x246)](_0x78e6ff,_0x2ca041,_0x2fccce,_0x39ed95);}};};}())});_0x5edc2f[_0x3d4480(0x262)]=_0x309c4b[_0x3d4480(0x3cd)]({'_doFinalize':function(){var _0x59af73=this['_process'](!0x0);return _0x59af73;},'blockSize':0x1});var _0x2c498a=_0x5b0d5d[_0x3d4480(0x41a)]={},_0x2a841b=_0x5edc2f[_0x3d4480(0x248)]=_0x2e56b9['extend']({'createEncryptor':function(_0x25c2e1,_0x2f8d9b){var _0x5da1de=_0x3d4480;return this[_0x5da1de(0x2b8)]['create'](_0x25c2e1,_0x2f8d9b);},'createDecryptor':function(_0x457267,_0x5afcbf){var _0x4db489=_0x3d4480;return this[_0x4db489(0x22a)][_0x4db489(0x28f)](_0x457267,_0x5afcbf);},'init':function(_0x452aea,_0x2bf1eb){var _0x28a4cf=_0x3d4480;this[_0x28a4cf(0x1aa)]=_0x452aea,this[_0x28a4cf(0x2bb)]=_0x2bf1eb;}}),_0x3965c3=_0x2c498a['CBC']=(function(){var _0x120228=_0x3d4480,_0x3327fb=_0x2a841b[_0x120228(0x3cd)]();_0x3327fb[_0x120228(0x2b8)]=_0x3327fb['extend']({'processBlock':function(_0x461faa,_0x1ccdb4){var _0x4818ad=_0x120228,_0x16caa0=this[_0x4818ad(0x1aa)],_0x3e9e09=_0x16caa0[_0x4818ad(0x18e)];_0x339568[_0x4818ad(0x1f0)](this,_0x461faa,_0x1ccdb4,_0x3e9e09),_0x16caa0[_0x4818ad(0x28d)](_0x461faa,_0x1ccdb4),this[_0x4818ad(0x207)]=_0x461faa['slice'](_0x1ccdb4,_0x1ccdb4+_0x3e9e09);}}),_0x3327fb['Decryptor']=_0x3327fb[_0x120228(0x3cd)]({'processBlock':function(_0x17132f,_0x2c21ab){var _0x27951a=_0x120228,_0x5607d9=this[_0x27951a(0x1aa)],_0x140919=_0x5607d9[_0x27951a(0x18e)],_0x5e0ea7=_0x17132f['slice'](_0x2c21ab,_0x2c21ab+_0x140919);_0x5607d9[_0x27951a(0x175)](_0x17132f,_0x2c21ab),_0x339568[_0x27951a(0x1f0)](this,_0x17132f,_0x2c21ab,_0x140919),this[_0x27951a(0x207)]=_0x5e0ea7;}});function _0x339568(_0x34c7e0,_0x3fa472,_0xe5f57){var _0x11cdb1=_0x120228,_0x5a0c60,_0x3148d1=this[_0x11cdb1(0x2bb)];_0x3148d1?(_0x5a0c60=_0x3148d1,this[_0x11cdb1(0x2bb)]=_0x125288):_0x5a0c60=this[_0x11cdb1(0x207)];for(var _0x5e9ec7=0x0;_0x5e9ec7<_0xe5f57;_0x5e9ec7++)_0x34c7e0[_0x3fa472+_0x5e9ec7]^=_0x5a0c60[_0x5e9ec7];}return _0x3327fb;}()),_0x3f55d9=_0x5b0d5d[_0x3d4480(0x39a)]={},_0x4495ab=_0x3f55d9[_0x3d4480(0x261)]={'pad':function(_0x3c7c09,_0x570fca){var _0x3f6d8c=_0x3d4480;for(var _0x317048=_0x570fca*0x4,_0x1fb4ba=_0x317048-_0x3c7c09[_0x3f6d8c(0x411)]%_0x317048,_0x88f122=_0x1fb4ba<<0x18|_0x1fb4ba<<0x10|_0x1fb4ba<<0x8|_0x1fb4ba,_0x5b2d6a=[],_0x5c0b2c=0x0;_0x5c0b2c<_0x1fb4ba;_0x5c0b2c+=0x4)_0x5b2d6a[_0x3f6d8c(0x239)](_0x88f122);var _0x24fad0=_0x32a39e[_0x3f6d8c(0x28f)](_0x5b2d6a,_0x1fb4ba);_0x3c7c09[_0x3f6d8c(0x336)](_0x24fad0);},'unpad':function(_0x132b4a){var _0x3406cd=_0x3d4480,_0x4b3626=_0x132b4a[_0x3406cd(0x3c0)][_0x132b4a['sigBytes']-0x1>>>0x2]&0xff;_0x132b4a[_0x3406cd(0x411)]-=_0x4b3626;}};_0x5edc2f[_0x3d4480(0x394)]=_0x309c4b['extend']({'cfg':_0x309c4b[_0x3d4480(0x179)][_0x3d4480(0x3cd)]({'mode':_0x3965c3,'padding':_0x4495ab}),'reset':function(){var _0x3cbfe7=_0x3d4480,_0x23f837;_0x309c4b[_0x3cbfe7(0x3ab)][_0x3cbfe7(0x1f0)](this);var _0x522ad0=this[_0x3cbfe7(0x179)],_0x4c4e8d=_0x522ad0['iv'],_0x3165e2=_0x522ad0[_0x3cbfe7(0x41a)];this[_0x3cbfe7(0x392)]==this[_0x3cbfe7(0x247)]?_0x23f837=_0x3165e2['createEncryptor']:(_0x23f837=_0x3165e2[_0x3cbfe7(0x222)],this[_0x3cbfe7(0x350)]=0x1),this[_0x3cbfe7(0x1c3)]&&this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x3f4)]==_0x23f837?this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x2fc)](this,_0x4c4e8d&&_0x4c4e8d[_0x3cbfe7(0x3c0)]):(this[_0x3cbfe7(0x1c3)]=_0x23f837[_0x3cbfe7(0x1f0)](_0x3165e2,this,_0x4c4e8d&&_0x4c4e8d[_0x3cbfe7(0x3c0)]),this[_0x3cbfe7(0x1c3)][_0x3cbfe7(0x3f4)]=_0x23f837);},'_doProcessBlock':function(_0x35fe7f,_0x28e7b4){var _0xc59eb2=_0x3d4480;this[_0xc59eb2(0x1c3)]['processBlock'](_0x35fe7f,_0x28e7b4);},'_doFinalize':function(){var _0x3b75c2=_0x3d4480,_0x1f8bbb,_0xb55984=this[_0x3b75c2(0x179)][_0x3b75c2(0x3b2)];return this[_0x3b75c2(0x392)]==this['_ENC_XFORM_MODE']?(_0xb55984[_0x3b75c2(0x39a)](this[_0x3b75c2(0x1a3)],this[_0x3b75c2(0x18e)]),_0x1f8bbb=this[_0x3b75c2(0x3fc)](!0x0)):(_0x1f8bbb=this[_0x3b75c2(0x3fc)](!0x0),_0xb55984['unpad'](_0x1f8bbb)),_0x1f8bbb;},'blockSize':0x80/0x20});var _0x191556=_0x5edc2f[_0x3d4480(0x251)]=_0x2e56b9[_0x3d4480(0x3cd)]({'init':function(_0x831d17){var _0x54d903=_0x3d4480;this[_0x54d903(0x340)](_0x831d17);},'toString':function(_0xd97093){var _0x35ecc2=_0x3d4480;return(_0xd97093||this['formatter'])[_0x35ecc2(0x29f)](this);}}),_0x274eed=_0x5b0d5d[_0x3d4480(0x389)]={},_0x43a73e=_0x274eed['OpenSSL']={'stringify':function(_0x49fa76){var _0x4ba5e0=_0x3d4480,_0x302fd8,_0x9aa838=_0x49fa76['ciphertext'],_0x1f1890=_0x49fa76[_0x4ba5e0(0x2e4)];return _0x1f1890?_0x302fd8=_0x32a39e['create']([0x53616c74,0x65645f5f])['concat'](_0x1f1890)[_0x4ba5e0(0x336)](_0x9aa838):_0x302fd8=_0x9aa838,_0x302fd8[_0x4ba5e0(0x2df)](_0x1e98bb);},'parse':function(_0x289f7b){var _0x28f4f2=_0x3d4480,_0x3a524c,_0x282bf9=_0x1e98bb[_0x28f4f2(0x3ef)](_0x289f7b),_0x10dfcc=_0x282bf9[_0x28f4f2(0x3c0)];return _0x10dfcc[0x0]==0x53616c74&&_0x10dfcc[0x1]==0x65645f5f&&(_0x3a524c=_0x32a39e[_0x28f4f2(0x28f)](_0x10dfcc[_0x28f4f2(0x196)](0x2,0x4)),_0x10dfcc[_0x28f4f2(0x28a)](0x0,0x4),_0x282bf9[_0x28f4f2(0x411)]-=0x10),_0x191556[_0x28f4f2(0x28f)]({'ciphertext':_0x282bf9,'salt':_0x3a524c});}},_0x4fe7fb=_0x5edc2f[_0x3d4480(0x366)]=_0x2e56b9[_0x3d4480(0x3cd)]({'cfg':_0x2e56b9[_0x3d4480(0x3cd)]({'format':_0x43a73e}),'encrypt':function(_0x563fd0,_0x1854e2,_0x178a1d,_0x25d140){var _0x25038d=_0x3d4480;_0x25d140=this[_0x25038d(0x179)][_0x25038d(0x3cd)](_0x25d140);var _0x55772a=_0x563fd0[_0x25038d(0x192)](_0x178a1d,_0x25d140),_0x1f5d6d=_0x55772a[_0x25038d(0x212)](_0x1854e2),_0x23ff6a=_0x55772a[_0x25038d(0x179)];return _0x191556[_0x25038d(0x28f)]({'ciphertext':_0x1f5d6d,'key':_0x178a1d,'iv':_0x23ff6a['iv'],'algorithm':_0x563fd0,'mode':_0x23ff6a[_0x25038d(0x41a)],'padding':_0x23ff6a[_0x25038d(0x3b2)],'blockSize':_0x563fd0[_0x25038d(0x18e)],'formatter':_0x25d140[_0x25038d(0x389)]});},'decrypt':function(_0x4ae065,_0x40d1ad,_0x2c6b69,_0x1b95aa){var _0x223fcc=_0x3d4480;_0x1b95aa=this[_0x223fcc(0x179)][_0x223fcc(0x3cd)](_0x1b95aa),_0x40d1ad=this[_0x223fcc(0x333)](_0x40d1ad,_0x1b95aa[_0x223fcc(0x389)]);var _0x101bdb=_0x4ae065['createDecryptor'](_0x2c6b69,_0x1b95aa)[_0x223fcc(0x212)](_0x40d1ad[_0x223fcc(0x1ce)]);return _0x101bdb;},'_parse':function(_0x5573ef,_0x3c3ee4){return typeof _0x5573ef=='string'?_0x3c3ee4['parse'](_0x5573ef,this):_0x5573ef;}}),_0x2e037b=_0x5b0d5d['kdf']={},_0x591d8e=_0x2e037b[_0x3d4480(0x236)]={'execute':function(_0xe56814,_0x24a700,_0x1bb161,_0x18a45d,_0x58f546){var _0x55ef8d=_0x3d4480;if(_0x18a45d||(_0x18a45d=_0x32a39e[_0x55ef8d(0x451)](0x40/0x8)),_0x58f546)var _0x23fe0a=_0x49d6f1[_0x55ef8d(0x28f)]({'keySize':_0x24a700+_0x1bb161,'hasher':_0x58f546})[_0x55ef8d(0x38b)](_0xe56814,_0x18a45d);else var _0x23fe0a=_0x49d6f1[_0x55ef8d(0x28f)]({'keySize':_0x24a700+_0x1bb161})['compute'](_0xe56814,_0x18a45d);var _0x509caf=_0x32a39e[_0x55ef8d(0x28f)](_0x23fe0a['words'][_0x55ef8d(0x196)](_0x24a700),_0x1bb161*0x4);return _0x23fe0a[_0x55ef8d(0x411)]=_0x24a700*0x4,_0x191556[_0x55ef8d(0x28f)]({'key':_0x23fe0a,'iv':_0x509caf,'salt':_0x18a45d});}},_0x2e4cff=_0x5edc2f[_0x3d4480(0x435)]=_0x4fe7fb[_0x3d4480(0x3cd)]({'cfg':_0x4fe7fb[_0x3d4480(0x179)]['extend']({'kdf':_0x591d8e}),'encrypt':function(_0x2d5207,_0x593f95,_0x13bc32,_0x19aa63){var _0x46bf6a=_0x3d4480;_0x19aa63=this['cfg'][_0x46bf6a(0x3cd)](_0x19aa63);var _0x3c744d=_0x19aa63[_0x46bf6a(0x1e5)]['execute'](_0x13bc32,_0x2d5207[_0x46bf6a(0x1d1)],_0x2d5207[_0x46bf6a(0x440)],_0x19aa63[_0x46bf6a(0x2e4)],_0x19aa63[_0x46bf6a(0x286)]);_0x19aa63['iv']=_0x3c744d['iv'];var _0x129fd2=_0x4fe7fb[_0x46bf6a(0x2bf)][_0x46bf6a(0x1f0)](this,_0x2d5207,_0x593f95,_0x3c744d[_0x46bf6a(0x457)],_0x19aa63);return _0x129fd2[_0x46bf6a(0x340)](_0x3c744d),_0x129fd2;},'decrypt':function(_0x44f6de,_0x583756,_0x52c795,_0x52cdf8){var _0x38f9e5=_0x3d4480;_0x52cdf8=this[_0x38f9e5(0x179)][_0x38f9e5(0x3cd)](_0x52cdf8),_0x583756=this[_0x38f9e5(0x333)](_0x583756,_0x52cdf8['format']);var _0x57bbc0=_0x52cdf8['kdf'][_0x38f9e5(0x3e6)](_0x52c795,_0x44f6de[_0x38f9e5(0x1d1)],_0x44f6de[_0x38f9e5(0x440)],_0x583756[_0x38f9e5(0x2e4)],_0x52cdf8[_0x38f9e5(0x286)]);_0x52cdf8['iv']=_0x57bbc0['iv'];var _0x4350b4=_0x4fe7fb[_0x38f9e5(0x246)]['call'](this,_0x44f6de,_0x583756,_0x57bbc0[_0x38f9e5(0x457)],_0x52cdf8);return _0x4350b4;}});}();}));}(Je)),Je[_0x1abf5e(0x3ba)];}var Br=Ge[_0x5f281c(0x3ba)],ri;function Fr(){return ri||(ri=0x1,function(_0x9bf9d3,_0x25140){(function(_0x1f504d,_0x6f0f8b,_0x37ee48){var _0x41b1ab=_0x5eda;_0x9bf9d3[_0x41b1ab(0x3ba)]=_0x6f0f8b(ie(),Di(),xr(),Pi(),wi());}(Br,function(_0x597ab3){var _0x36ce83=_0x5eda;return(function(){var _0x569b35=_0x5eda,_0x320501=_0x597ab3,_0x5c03e8=_0x320501[_0x569b35(0x452)],_0x4a29a8=_0x5c03e8[_0x569b35(0x394)],_0x43eeca=_0x320501['algo'],_0x56fcbf=[],_0x30aab8=[],_0x5054cb=[],_0xf589cd=[],_0x4417e9=[],_0x147a77=[],_0x2c4ee7=[],_0x1e907a=[],_0x240255=[],_0x150b17=[];(function(){for(var _0x58f2cc=[],_0x3ccb0a=0x0;_0x3ccb0a<0x100;_0x3ccb0a++)_0x3ccb0a<0x80?_0x58f2cc[_0x3ccb0a]=_0x3ccb0a<<0x1:_0x58f2cc[_0x3ccb0a]=_0x3ccb0a<<0x1^0x11b;for(var _0x275a51=0x0,_0x42abcc=0x0,_0x3ccb0a=0x0;_0x3ccb0a<0x100;_0x3ccb0a++){var _0x350a85=_0x42abcc^_0x42abcc<<0x1^_0x42abcc<<0x2^_0x42abcc<<0x3^_0x42abcc<<0x4;_0x350a85=_0x350a85>>>0x8^_0x350a85&0xff^0x63,_0x56fcbf[_0x275a51]=_0x350a85,_0x30aab8[_0x350a85]=_0x275a51;var _0x145b2b=_0x58f2cc[_0x275a51],_0x234aae=_0x58f2cc[_0x145b2b],_0x4248e0=_0x58f2cc[_0x234aae],_0x40d03e=_0x58f2cc[_0x350a85]*0x101^_0x350a85*0x1010100;_0x5054cb[_0x275a51]=_0x40d03e<<0x18|_0x40d03e>>>0x8,_0xf589cd[_0x275a51]=_0x40d03e<<0x10|_0x40d03e>>>0x10,_0x4417e9[_0x275a51]=_0x40d03e<<0x8|_0x40d03e>>>0x18,_0x147a77[_0x275a51]=_0x40d03e;var _0x40d03e=_0x4248e0*0x1010101^_0x234aae*0x10001^_0x145b2b*0x101^_0x275a51*0x1010100;_0x2c4ee7[_0x350a85]=_0x40d03e<<0x18|_0x40d03e>>>0x8,_0x1e907a[_0x350a85]=_0x40d03e<<0x10|_0x40d03e>>>0x10,_0x240255[_0x350a85]=_0x40d03e<<0x8|_0x40d03e>>>0x18,_0x150b17[_0x350a85]=_0x40d03e,_0x275a51?(_0x275a51=_0x145b2b^_0x58f2cc[_0x58f2cc[_0x58f2cc[_0x4248e0^_0x145b2b]]],_0x42abcc^=_0x58f2cc[_0x58f2cc[_0x42abcc]]):_0x275a51=_0x42abcc=0x1;}}());var _0x141b0b=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4966d0=_0x43eeca['AES']=_0x4a29a8[_0x569b35(0x3cd)]({'_doReset':function(){var _0x2b2a8a=_0x569b35,_0x4c9cc2;if(!(this['_nRounds']&&this[_0x2b2a8a(0x358)]===this[_0x2b2a8a(0x477)])){for(var _0xd3c74e=this['_keyPriorReset']=this['_key'],_0x50f297=_0xd3c74e[_0x2b2a8a(0x3c0)],_0xd6f94c=_0xd3c74e['sigBytes']/0x4,_0x5d9d6a=this[_0x2b2a8a(0x398)]=_0xd6f94c+0x6,_0x12ab5b=(_0x5d9d6a+0x1)*0x4,_0x19fb4b=this[_0x2b2a8a(0x3ec)]=[],_0x16c4c0=0x0;_0x16c4c0<_0x12ab5b;_0x16c4c0++)_0x16c4c0<_0xd6f94c?_0x19fb4b[_0x16c4c0]=_0x50f297[_0x16c4c0]:(_0x4c9cc2=_0x19fb4b[_0x16c4c0-0x1],_0x16c4c0%_0xd6f94c?_0xd6f94c>0x6&&_0x16c4c0%_0xd6f94c==0x4&&(_0x4c9cc2=_0x56fcbf[_0x4c9cc2>>>0x18]<<0x18|_0x56fcbf[_0x4c9cc2>>>0x10&0xff]<<0x10|_0x56fcbf[_0x4c9cc2>>>0x8&0xff]<<0x8|_0x56fcbf[_0x4c9cc2&0xff]):(_0x4c9cc2=_0x4c9cc2<<0x8|_0x4c9cc2>>>0x18,_0x4c9cc2=_0x56fcbf[_0x4c9cc2>>>0x18]<<0x18|_0x56fcbf[_0x4c9cc2>>>0x10&0xff]<<0x10|_0x56fcbf[_0x4c9cc2>>>0x8&0xff]<<0x8|_0x56fcbf[_0x4c9cc2&0xff],_0x4c9cc2^=_0x141b0b[_0x16c4c0/_0xd6f94c|0x0]<<0x18),_0x19fb4b[_0x16c4c0]=_0x19fb4b[_0x16c4c0-_0xd6f94c]^_0x4c9cc2);for(var _0x5aa0ff=this[_0x2b2a8a(0x372)]=[],_0x1c2f63=0x0;_0x1c2f63<_0x12ab5b;_0x1c2f63++){var _0x16c4c0=_0x12ab5b-_0x1c2f63;if(_0x1c2f63%0x4)var _0x4c9cc2=_0x19fb4b[_0x16c4c0];else var _0x4c9cc2=_0x19fb4b[_0x16c4c0-0x4];_0x1c2f63<0x4||_0x16c4c0<=0x4?_0x5aa0ff[_0x1c2f63]=_0x4c9cc2:_0x5aa0ff[_0x1c2f63]=_0x2c4ee7[_0x56fcbf[_0x4c9cc2>>>0x18]]^_0x1e907a[_0x56fcbf[_0x4c9cc2>>>0x10&0xff]]^_0x240255[_0x56fcbf[_0x4c9cc2>>>0x8&0xff]]^_0x150b17[_0x56fcbf[_0x4c9cc2&0xff]];}}},'encryptBlock':function(_0x26108c,_0x4bc482){var _0xbe0691=_0x569b35;this[_0xbe0691(0x2fb)](_0x26108c,_0x4bc482,this[_0xbe0691(0x3ec)],_0x5054cb,_0xf589cd,_0x4417e9,_0x147a77,_0x56fcbf);},'decryptBlock':function(_0x4d7abe,_0x5dc588){var _0x2d08a2=_0x569b35,_0x1b80f2=_0x4d7abe[_0x5dc588+0x1];_0x4d7abe[_0x5dc588+0x1]=_0x4d7abe[_0x5dc588+0x3],_0x4d7abe[_0x5dc588+0x3]=_0x1b80f2,this[_0x2d08a2(0x2fb)](_0x4d7abe,_0x5dc588,this['_invKeySchedule'],_0x2c4ee7,_0x1e907a,_0x240255,_0x150b17,_0x30aab8);var _0x1b80f2=_0x4d7abe[_0x5dc588+0x1];_0x4d7abe[_0x5dc588+0x1]=_0x4d7abe[_0x5dc588+0x3],_0x4d7abe[_0x5dc588+0x3]=_0x1b80f2;},'_doCryptBlock':function(_0x5957d5,_0x36f930,_0x51b0e9,_0x55de65,_0x25a86b,_0x5a2018,_0x2bfe72,_0x224606){var _0x94caa6=_0x569b35;for(var _0x1f2514=this[_0x94caa6(0x398)],_0x14bdff=_0x5957d5[_0x36f930]^_0x51b0e9[0x0],_0x536117=_0x5957d5[_0x36f930+0x1]^_0x51b0e9[0x1],_0x41159b=_0x5957d5[_0x36f930+0x2]^_0x51b0e9[0x2],_0x2d3e95=_0x5957d5[_0x36f930+0x3]^_0x51b0e9[0x3],_0x205b49=0x4,_0x2cd237=0x1;_0x2cd237<_0x1f2514;_0x2cd237++){var _0x789916=_0x55de65[_0x14bdff>>>0x18]^_0x25a86b[_0x536117>>>0x10&0xff]^_0x5a2018[_0x41159b>>>0x8&0xff]^_0x2bfe72[_0x2d3e95&0xff]^_0x51b0e9[_0x205b49++],_0x546afb=_0x55de65[_0x536117>>>0x18]^_0x25a86b[_0x41159b>>>0x10&0xff]^_0x5a2018[_0x2d3e95>>>0x8&0xff]^_0x2bfe72[_0x14bdff&0xff]^_0x51b0e9[_0x205b49++],_0x2c5f46=_0x55de65[_0x41159b>>>0x18]^_0x25a86b[_0x2d3e95>>>0x10&0xff]^_0x5a2018[_0x14bdff>>>0x8&0xff]^_0x2bfe72[_0x536117&0xff]^_0x51b0e9[_0x205b49++],_0x3c0ec=_0x55de65[_0x2d3e95>>>0x18]^_0x25a86b[_0x14bdff>>>0x10&0xff]^_0x5a2018[_0x536117>>>0x8&0xff]^_0x2bfe72[_0x41159b&0xff]^_0x51b0e9[_0x205b49++];_0x14bdff=_0x789916,_0x536117=_0x546afb,_0x41159b=_0x2c5f46,_0x2d3e95=_0x3c0ec;}var _0x789916=(_0x224606[_0x14bdff>>>0x18]<<0x18|_0x224606[_0x536117>>>0x10&0xff]<<0x10|_0x224606[_0x41159b>>>0x8&0xff]<<0x8|_0x224606[_0x2d3e95&0xff])^_0x51b0e9[_0x205b49++],_0x546afb=(_0x224606[_0x536117>>>0x18]<<0x18|_0x224606[_0x41159b>>>0x10&0xff]<<0x10|_0x224606[_0x2d3e95>>>0x8&0xff]<<0x8|_0x224606[_0x14bdff&0xff])^_0x51b0e9[_0x205b49++],_0x2c5f46=(_0x224606[_0x41159b>>>0x18]<<0x18|_0x224606[_0x2d3e95>>>0x10&0xff]<<0x10|_0x224606[_0x14bdff>>>0x8&0xff]<<0x8|_0x224606[_0x536117&0xff])^_0x51b0e9[_0x205b49++],_0x3c0ec=(_0x224606[_0x2d3e95>>>0x18]<<0x18|_0x224606[_0x14bdff>>>0x10&0xff]<<0x10|_0x224606[_0x536117>>>0x8&0xff]<<0x8|_0x224606[_0x41159b&0xff])^_0x51b0e9[_0x205b49++];_0x5957d5[_0x36f930]=_0x789916,_0x5957d5[_0x36f930+0x1]=_0x546afb,_0x5957d5[_0x36f930+0x2]=_0x2c5f46,_0x5957d5[_0x36f930+0x3]=_0x3c0ec;},'keySize':0x100/0x20});_0x320501[_0x569b35(0x311)]=_0x4a29a8['_createHelper'](_0x4966d0);}()),_0x597ab3[_0x36ce83(0x311)];}));}(Ge)),Ge['exports'];}var Gr=Fr();const Vr=ke(Gr);var Wr=Di();const si=ke(Wr);var Xe={'exports':{}},Kr=Xe[_0x5f281c(0x3ba)],oi;function Yr(){return oi||(oi=0x1,function(_0x3866f1,_0x50b2d3){(function(_0x44e200,_0x2a92a1){var _0x345238=_0x5eda;_0x3866f1[_0x345238(0x3ba)]=_0x2a92a1(ie());}(Kr,function(_0x5d1335){var _0x437c7d=_0x5eda;return _0x5d1335[_0x437c7d(0x3b0)][_0x437c7d(0x283)];}));}(Xe)),Xe['exports'];}var qr=Yr();const zr=ke(qr);var Ze={'exports':{}},Jr=Ze[_0x5f281c(0x3ba)],ai;function Xr(){var _0x1e7860=_0x5f281c;return ai||(ai=0x1,function(_0x147bfc,_0x152968){(function(_0x5a70d9,_0x3c8eb6){var _0x190a41=_0x5eda;_0x147bfc[_0x190a41(0x3ba)]=_0x3c8eb6(ie());}(Jr,function(_0x3c9ec6){var _0x29247a=_0x5eda;return(function(){var _0x3bcabb=_0x5eda;if(typeof ArrayBuffer==_0x3bcabb(0x371)){var _0x4b115d=_0x3c9ec6,_0x3cdd86=_0x4b115d[_0x3bcabb(0x452)],_0x3923b8=_0x3cdd86[_0x3bcabb(0x1ea)],_0x101641=_0x3923b8[_0x3bcabb(0x2fc)],_0x4ef987=_0x3923b8['init']=function(_0x5662bd){var _0x402dbf=_0x3bcabb;if(_0x5662bd instanceof ArrayBuffer&&(_0x5662bd=new Uint8Array(_0x5662bd)),(_0x5662bd instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x5662bd instanceof Uint8ClampedArray||_0x5662bd instanceof Int16Array||_0x5662bd instanceof Uint16Array||_0x5662bd instanceof Int32Array||_0x5662bd instanceof Uint32Array||_0x5662bd instanceof Float32Array||_0x5662bd instanceof Float64Array)&&(_0x5662bd=new Uint8Array(_0x5662bd[_0x402dbf(0x2f1)],_0x5662bd[_0x402dbf(0x20f)],_0x5662bd['byteLength'])),_0x5662bd instanceof Uint8Array){for(var _0x1136e4=_0x5662bd[_0x402dbf(0x326)],_0x3305d6=[],_0x36e5b7=0x0;_0x36e5b7<_0x1136e4;_0x36e5b7++)_0x3305d6[_0x36e5b7>>>0x2]|=_0x5662bd[_0x36e5b7]<<0x18-_0x36e5b7%0x4*0x8;_0x101641[_0x402dbf(0x1f0)](this,_0x3305d6,_0x1136e4);}else _0x101641[_0x402dbf(0x25e)](this,arguments);};_0x4ef987[_0x3bcabb(0x43f)]=_0x3923b8;}}()),_0x3c9ec6['lib'][_0x29247a(0x1ea)];}));}(Ze)),Ze[_0x1e7860(0x3ba)];}var Zr=Xr();const Qr=ke(Zr);var Qe={'exports':{}},es=Qe[_0x5f281c(0x3ba)],ci;function ts(){var _0x3ca438=_0x5f281c;return ci||(ci=0x1,function(_0x241b6b,_0x54a7be){(function(_0x18f1fe,_0x4b418a,_0x1e2b5e){var _0x2ffc44=_0x5eda;_0x241b6b[_0x2ffc44(0x3ba)]=_0x4b418a(ie(),wi());}(es,function(_0x17f4e9){var _0x864ef6=_0x5eda;return _0x17f4e9[_0x864ef6(0x39a)][_0x864ef6(0x344)]={'pad':function(){},'unpad':function(){}},_0x17f4e9[_0x864ef6(0x39a)][_0x864ef6(0x344)];}));}(Qe)),Qe[_0x3ca438(0x3ba)];}var is=ts();const ns=ke(is);function rs(_0x2e31cb,_0x23881b){var _0xa242a7=_0x5f281c;const _0x21d81c=_0x23881b-_0x2e31cb[_0xa242a7(0x24a)]%_0x23881b,_0x43d3e1=String[_0xa242a7(0x3a8)](_0x21d81c)[_0xa242a7(0x1ab)](_0x21d81c);return _0x2e31cb+_0x43d3e1;}function ss(_0x519ddb,_0x4773cb){var _0x422620=_0x5f281c;const _0x5abc30=Qr[_0x422620(0x451)](0x10),_0xead9cf=rs(_0x519ddb,0x10),_0x2c0f66=Vr[_0x422620(0x2bf)](zr[_0x422620(0x3ef)](_0xead9cf),si[_0x422620(0x3ef)](_0x4773cb),{'iv':_0x5abc30,'padding':ns});return _0x5abc30[_0x422620(0x336)](_0x2c0f66['ciphertext'])['toString'](si);}function os(){var _0x43f7c8=_0x5f281c;const _0x4c5f37=_0x16104a()['__Key__'];if(_0x4c5f37){const _0x1bea4d={'time':Math[_0x43f7c8(0x378)](Date['now']()/0x3e8),'domain':location[_0x43f7c8(0x434)]};return ss(JSON[_0x43f7c8(0x29f)](_0x1bea4d),_0x4c5f37);}}var as=Object[_0x5f281c(0x348)],cs=Object[_0x5f281c(0x30b)],hs=(_0x219d93,_0x4ef3e0,_0x1659bc,_0x349b53)=>{var _0xb7a873=_0x5f281c;for(var _0x3493e8=_0x349b53>0x1?void 0x0:_0x349b53?cs(_0x4ef3e0,_0x1659bc):_0x4ef3e0,_0x3402f3=_0x219d93[_0xb7a873(0x24a)]-0x1,_0x3b9355;_0x3402f3>=0x0;_0x3402f3--)(_0x3b9355=_0x219d93[_0x3402f3])&&(_0x3493e8=(_0x349b53?_0x3b9355(_0x4ef3e0,_0x1659bc,_0x3493e8):_0x3b9355(_0x3493e8))||_0x3493e8);return _0x349b53&&_0x3493e8&&as(_0x4ef3e0,_0x1659bc,_0x3493e8),_0x3493e8;},_s=(_0x4792c0,_0x374ca0)=>(_0x4fabd0,_0x2f904b)=>_0x374ca0(_0x4fabd0,_0x2f904b,_0x4792c0);let ot=class{constructor(_0x5e3792){var _0x2785f0=_0x5f281c;this[_0x2785f0(0x3eb)]=_0x5e3792,this[_0x2785f0(0x1cd)]();}[_0x5f281c(0x1cd)](){var _0x4fea26=_0x5f281c;this[_0x4fea26(0x3eb)][_0x4fea26(0x427)]({'interceptor':(_0x3344e8,_0x166b00)=>{var _0x3ebaaf=_0x4fea26;const _0x27cef3=_0x3344e8[_0x3ebaaf(0x1f4)],_0x4aa225=os();return _0x4aa225&&_0x27cef3[_0x3ebaaf(0x3e2)](_0x3ebaaf(0x1f3),_0x4aa225),_0x166b00(_0x3344e8);}});}};ot=hs([_s(0x0,_0x9558f9(_0x30b05c))],ot);var ls=Object[_0x5f281c(0x348)],us=Object[_0x5f281c(0x30b)],ds=(_0x116d8a,_0x5a3275,_0x14c2ff,_0x43bb47)=>{var _0x453574=_0x5f281c;for(var _0xa9b919=_0x43bb47>0x1?void 0x0:_0x43bb47?us(_0x5a3275,_0x14c2ff):_0x5a3275,_0x3fc420=_0x116d8a[_0x453574(0x24a)]-0x1,_0x2bd560;_0x3fc420>=0x0;_0x3fc420--)(_0x2bd560=_0x116d8a[_0x3fc420])&&(_0xa9b919=(_0x43bb47?_0x2bd560(_0x5a3275,_0x14c2ff,_0xa9b919):_0x2bd560(_0xa9b919))||_0xa9b919);return _0x43bb47&&_0xa9b919&&ls(_0x5a3275,_0x14c2ff,_0xa9b919),_0xa9b919;},mt=(_0x2a02fa,_0x3418b8)=>(_0x101be3,_0x3bcc9f)=>_0x3418b8(_0x101be3,_0x3bcc9f,_0x2a02fa);let Rt=class extends _0x23be52{constructor(_0x3b8f6c,_0x3293fd,_0x2baeda){var _0x5258d0=_0x5f281c;super(),N(this,_0x5258d0(0x41c),new _0x28a5cc(null)),N(this,_0x5258d0(0x390),this[_0x5258d0(0x41c)][_0x5258d0(0x362)]()),(this[_0x5258d0(0x302)]=_0x3b8f6c,this[_0x5258d0(0x21f)]=_0x3293fd,this[_0x5258d0(0x31e)]=_0x2baeda);}async['loadUnit'](_0x265d3a,_0x4ca00a,_0x55d2b5){var _0x4e5b9f=_0x5f281c;this[_0x4e5b9f(0x41c)]['next']({'unitId':_0x265d3a,'type':_0x4ca00a,'subUnitId':_0x55d2b5});let _0x20ee94=null;switch(_0x4ca00a){case Q['UNIVER_SHEET']:{_0x20ee94=await this['_loadSheet'](_0x265d3a);break;}case Q['UNIVER_DOC']:{_0x20ee94=await this['_loadDoc'](_0x265d3a);break;}default:{this[_0x4e5b9f(0x302)][_0x4e5b9f(0x278)](_0x4e5b9f(0x19d),_0x4e5b9f(0x250));break;}}return _0x20ee94;}async['_loadSheet'](_0x39f910){var _0x14ef70=_0x5f281c,_0x27dfa3;let _0xe01993=0x0;const _0x301809=await((_0x27dfa3=this[_0x14ef70(0x31e)])==null?void 0x0:_0x27dfa3['loadOfflineData'](_0x39f910));return _0x301809&&(_0x301809[_0x14ef70(0x263)]||_0x301809['mutations'][_0x14ef70(0x24a)]!==0x0)&&(_0xe01993=_0x301809[_0x14ef70(0x2a0)]),_0xe01993===0x0&&this[_0x14ef70(0x302)][_0x14ef70(0x458)]('[DataLoaderService]',_0x14ef70(0x424)),this[_0x14ef70(0x21f)][_0x14ef70(0x2f5)](_0x39f910,_0xe01993);}async[_0x5f281c(0x1bb)](_0x38a7e1){var _0x3300ef=_0x5f281c,_0x47e406;let _0x64ee03=0x0;const _0x59c702=await((_0x47e406=this[_0x3300ef(0x31e)])==null?void 0x0:_0x47e406[_0x3300ef(0x208)](_0x38a7e1));return _0x59c702&&(_0x59c702[_0x3300ef(0x263)]||_0x59c702['mutations'][_0x3300ef(0x24a)]!==0x0)&&(_0x64ee03=_0x59c702[_0x3300ef(0x2a0)]),_0x64ee03===0x0&&this['_logService'][_0x3300ef(0x458)](_0x3300ef(0x19d),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService']['loadDoc'](_0x38a7e1,_0x64ee03);}};Rt=ds([mt(0x0,_0x29c204),mt(0x1,_0x9558f9(_0x502971)),mt(0x2,_0x1a79f6(J))],Rt);var fs=Object[_0x5f281c(0x348)],vs=Object[_0x5f281c(0x30b)],ps=(_0x304090,_0x1dfb64,_0x2a91d5,_0x2dad19)=>{var _0x51dd8e=_0x5f281c;for(var _0x39852e=_0x2dad19>0x1?void 0x0:_0x2dad19?vs(_0x1dfb64,_0x2a91d5):_0x1dfb64,_0xcad1ed=_0x304090[_0x51dd8e(0x24a)]-0x1,_0x87103f;_0xcad1ed>=0x0;_0xcad1ed--)(_0x87103f=_0x304090[_0xcad1ed])&&(_0x39852e=(_0x2dad19?_0x87103f(_0x1dfb64,_0x2a91d5,_0x39852e):_0x87103f(_0x39852e))||_0x39852e);return _0x2dad19&&_0x39852e&&fs(_0x1dfb64,_0x2a91d5,_0x39852e),_0x39852e;},gt=(_0x21cdbc,_0x3677cd)=>(_0x109636,_0x16ce7f)=>_0x3677cd(_0x109636,_0x16ce7f,_0x21cdbc);const ms=['image/png',_0x5f281c(0x45a),_0x5f281c(0x3c8),_0x5f281c(0x22c),'image/bmp'],gs=0x5*0x400*0x400,Ss=_0x5f281c(0x180),Es='/universer-api/stream/file/upload',Is=_0x5f281c(0x2e1),Ts=_0x5f281c(0x3df);let Ot=class{constructor(_0xce5281,_0x26d7c4,_0x34944b){var _0xebda7a=_0x5f281c;N(this,_0xebda7a(0x1a9),0x0),N(this,_0xebda7a(0x2c4),new _0x39b4f1()),N(this,_0xebda7a(0x437),this[_0xebda7a(0x2c4)]),N(this,'_imageSourceCache',new Map()),(this[_0xebda7a(0x3eb)]=_0xce5281,this['_configService']=_0x26d7c4,this['_univerInstanceService']=_0x34944b);}[_0x5f281c(0x2b7)](_0x4d1093){var _0x70c5d4=_0x5f281c;this[_0x70c5d4(0x1a9)]=_0x4d1093,this[_0x70c5d4(0x2c4)][_0x70c5d4(0x346)](_0x4d1093);}[_0x5f281c(0x377)](_0x5c1285,_0xf107e6){var _0x580793=_0x5f281c;if(_0xf107e6===_0x2b975e[_0x580793(0x3a7)]){const _0x705fba=new Image();return _0x705fba[_0x580793(0x2be)]=_0x5c1285,_0x705fba;}return this[_0x580793(0x198)][_0x580793(0x3c2)](_0x5c1285);}['addImageSourceCache'](_0x88421a,_0x2d3655,_0x3c7ca2){var _0x1c4cca=_0x5f281c;_0x2d3655===_0x2b975e[_0x1c4cca(0x3a7)]||_0x3c7ca2==null||this[_0x1c4cca(0x198)][_0x1c4cca(0x3e2)](_0x88421a,_0x3c7ca2);}async[_0x5f281c(0x24f)](_0x4de88c){var _0x5b3f28=_0x5f281c;try{const _0xc4b4e=this[_0x5b3f28(0x3bb)](this['_getSignURL'](),''+_0x4de88c),_0x51e850=(await this[_0x5b3f28(0x3eb)][_0x5b3f28(0x3c2)](_0xc4b4e))[_0x5b3f28(0x351)];if(_0x51e850['error']&&_0x51e850[_0x5b3f28(0x278)]['code']===Si['OK']){const _0x53530f=new URL(_0x51e850[_0x5b3f28(0x3c9)],this['_getDownloadEndpointURL']())['toString']();return Promise[_0x5b3f28(0x342)](_0x53530f);}return Promise[_0x5b3f28(0x347)](_0x51e850[_0x5b3f28(0x278)]);}catch(_0x28df75){return Promise[_0x5b3f28(0x347)](_0x28df75);}}async[_0x5f281c(0x453)](_0xb62c2f){var _0x43aead=_0x5f281c;let _0xd97875='';if(!ms[_0x43aead(0x32d)](_0xb62c2f[_0x43aead(0x33e)]))return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x2b2)]));if(_0xb62c2f[_0x43aead(0x471)]>gs)return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x1dd)]));try{const _0x30258a=new FormData();_0x30258a[_0x43aead(0x1a0)](_0x43aead(0x1e2),_0xb62c2f);const _0xefed02=this['_univerInstanceService']['getFocusedUnit'](),_0x3ebfcd=_0xefed02==null?void 0x0:_0xefed02['getUnitId']();if(!_0x3ebfcd)throw new Error('unitId\x20is\x20not\x20found');const _0x377c67=this[_0x43aead(0x1bc)]()+_0x43aead(0x3f2)+_0xb62c2f[_0x43aead(0x471)][_0x43aead(0x2df)]()+'&source='+Ei['UnitEmbedded']+_0x43aead(0x1da)+encodeURIComponent(_0x3ebfcd),_0x37255c=await(await fetch(_0x377c67,{'method':'POST','body':_0x30258a}))[_0x43aead(0x216)]();if(typeof _0x37255c[_0x43aead(0x25a)]!='string')return this[_0x43aead(0x1c8)](),Promise[_0x43aead(0x347)](new Error(_0x585772[_0x43aead(0x1a6)]));_0xd97875=_0x37255c[_0x43aead(0x25a)];}catch{return this[_0x43aead(0x1c8)](),Promise['reject'](new Error(_0x585772[_0x43aead(0x1a6)]));}return new Promise((_0x5a16a7,_0x4ab0ec)=>{var _0x5f19d3=_0x43aead;const _0x21a316=new FileReader();_0x21a316[_0x5f19d3(0x3a4)](_0xb62c2f),_0x21a316[_0x5f19d3(0x282)]=_0x32e672=>{var _0x1b6a4a=_0x5f19d3,_0x6400bf;const _0x171916=(_0x6400bf=_0x32e672[_0x1b6a4a(0x2b1)])==null?void 0x0:_0x6400bf['result'];if(_0x171916==null){this[_0x1b6a4a(0x1c8)](),_0x4ab0ec(new Error(_0x585772[_0x1b6a4a(0x1a6)]));return;}const _0x1c785b=_0x26a23c[_0x1b6a4a(0x415)](0x6);_0x5a16a7({'imageId':_0x1c785b,'imageSourceType':_0x2b975e[_0x1b6a4a(0x2ab)],'source':_0xd97875,'base64Cache':_0x171916,'status':_0x585772[_0x1b6a4a(0x31c)]}),this[_0x1b6a4a(0x1c8)]();};});}['_getUploadFileURL'](){var _0x35aa5e=_0x5f281c,_0x261c69,_0x59adfc;const _0x12dc3b=this[_0x35aa5e(0x300)]['getConfig'](Ss),_0x2a2069=this[_0x35aa5e(0x300)][_0x35aa5e(0x38a)](q);return(_0x59adfc=(_0x261c69=_0x2a2069==null?void 0x0:_0x2a2069[_0x35aa5e(0x3ed)])!=null?_0x261c69:_0x12dc3b)!=null?_0x59adfc:Es;}[_0x5f281c(0x1c1)](){var _0xf91823=_0x5f281c,_0x17b263,_0x3db8f0;const _0x44d568=this[_0xf91823(0x300)][_0xf91823(0x38a)](Is),_0x4ba54a=this['_configService']['getConfig'](q);return(_0x3db8f0=(_0x17b263=_0x4ba54a==null?void 0x0:_0x4ba54a[_0xf91823(0x1ef)])!=null?_0x17b263:_0x44d568)!=null?_0x3db8f0:Ts;}[_0x5f281c(0x25d)](){var _0x1a963f=_0x5f281c,_0x1103aa;const _0x1328ec=this[_0x1a963f(0x300)][_0x1a963f(0x38a)](q);return(_0x1103aa=_0x1328ec==null?void 0x0:_0x1328ec[_0x1a963f(0x478)])!=null?_0x1103aa:location[_0x1a963f(0x3aa)];}[_0x5f281c(0x3bb)](_0x37040b,_0x3d9a70){var _0x2dc77c=_0x5f281c;return _0x37040b[_0x2dc77c(0x3b7)]('{fileID}',_0x3d9a70);}[_0x5f281c(0x1c8)](){var _0x339cb2=_0x5f281c;this[_0x339cb2(0x1a9)]-=0x1,this[_0x339cb2(0x2c4)][_0x339cb2(0x346)](this['_waitCount']);}};Ot=ps([gt(0x0,_0x9558f9(_0x30b05c)),gt(0x1,_0x3b2da1),gt(0x2,_0x9558f9(_0x34f8d6))],Ot);var Cs=Object['defineProperty'],bs=Object['getOwnPropertyDescriptor'],Rs=(_0x22ed1b,_0x404f8c,_0x44abe4,_0x5cafd7)=>{var _0x4b802d=_0x5f281c;for(var _0x34b431=_0x5cafd7>0x1?void 0x0:_0x5cafd7?bs(_0x404f8c,_0x44abe4):_0x404f8c,_0x4291be=_0x22ed1b[_0x4b802d(0x24a)]-0x1,_0x28eec6;_0x4291be>=0x0;_0x4291be--)(_0x28eec6=_0x22ed1b[_0x4291be])&&(_0x34b431=(_0x5cafd7?_0x28eec6(_0x404f8c,_0x44abe4,_0x34b431):_0x28eec6(_0x34b431))||_0x34b431);return _0x5cafd7&&_0x34b431&&Cs(_0x404f8c,_0x44abe4,_0x34b431),_0x34b431;},hi=(_0x3be7e,_0x4a4235)=>(_0x53d5a3,_0xc3a4dc)=>_0x4a4235(_0x53d5a3,_0xc3a4dc,_0x3be7e);const Os=_0x5f281c(0x1f7);let yt=class{constructor(_0x29b200,_0x30269b){var _0x360d6b=_0x5f281c;this[_0x360d6b(0x300)]=_0x29b200,this['_HTTPService']=_0x30269b;}[_0x5f281c(0x29d)](){var _0x3f50b8=_0x5f281c,_0x383006,_0xfa83ad;const _0x230da0=this[_0x3f50b8(0x300)][_0x3f50b8(0x38a)](Ni),_0x3dddbb=this[_0x3f50b8(0x300)][_0x3f50b8(0x38a)](q);return(_0xfa83ad=(_0x383006=_0x3dddbb==null?void 0x0:_0x3dddbb['authzUrl'])!=null?_0x383006:_0x230da0)!=null?_0xfa83ad:Os;}async[_0x5f281c(0x20e)](_0x2550ff){var _0x333ead=_0x5f281c;const _0x3bf014=this['_getAPIPrefixPath']()+'/collaborator';return{'list':[{'title':_0x333ead(0x259),'mentions':(await this['_HTTPService'][_0x333ead(0x3c2)](_0x3bf014,{'params':{'objectID':_0x2550ff[_0x333ead(0x299)],'unitID':_0x2550ff[_0x333ead(0x299)]}}))[_0x333ead(0x351)][_0x333ead(0x3a1)][_0x333ead(0x44d)](_0x4a00e4=>({'objectId':_0x4a00e4['id'],'name':_0x4a00e4['subject'][_0x333ead(0x33b)],'metadata':{'icon':_0x4a00e4['subject'][_0x333ead(0x35e)]},'label':_0x4a00e4[_0x333ead(0x433)][_0x333ead(0x33b)],'objectType':_0x425e8a[_0x333ead(0x1b3)]})),'metadata':{},'type':_0x425e8a['PERSON']}]};}};yt=Rs([hi(0x0,_0x9558f9(_0x3b2da1)),hi(0x1,_0x9558f9(_0x30b05c))],yt);var ys=Object[_0x5f281c(0x348)],Ns=Object['getOwnPropertyDescriptor'],Ds=(_0x8328c,_0x4bbf6a,_0x2429d8,_0x2cb713)=>{var _0x256e45=_0x5f281c;for(var _0x8dfe73=_0x2cb713>0x1?void 0x0:_0x2cb713?Ns(_0x4bbf6a,_0x2429d8):_0x4bbf6a,_0x24e34d=_0x8328c[_0x256e45(0x24a)]-0x1,_0x5067a3;_0x24e34d>=0x0;_0x24e34d--)(_0x5067a3=_0x8328c[_0x24e34d])&&(_0x8dfe73=(_0x2cb713?_0x5067a3(_0x4bbf6a,_0x2429d8,_0x8dfe73):_0x5067a3(_0x8dfe73))||_0x8dfe73);return _0x2cb713&&_0x8dfe73&&ys(_0x4bbf6a,_0x2429d8,_0x8dfe73),_0x8dfe73;},Ue=(_0x2c1653,_0x58951b)=>(_0x33e6c8,_0x2050ab)=>_0x58951b(_0x33e6c8,_0x2050ab,_0x2c1653);let at=class extends _0x23be52{constructor(_0x51ce0f,_0x16e7ff,_0x3a6d7e,_0x2a9be9,_0x1174df){var _0x1b6e54=_0x5f281c;super(),this['_injector']=_0x51ce0f,this['_univerInstanceService']=_0x16e7ff,this[_0x1b6e54(0x2ba)]=_0x3a6d7e,this[_0x1b6e54(0x2fa)]=_0x2a9be9,this[_0x1b6e54(0x2ef)]=_0x1174df,this['_initUnitPermissionChange'](),this[_0x1b6e54(0x382)]();}[_0x5f281c(0x382)](){var _0x204870=_0x5f281c;const _0x160b82=async _0x17fef3=>{var _0x1b9a63=_0x5eda;(await this[_0x1b9a63(0x2fa)][_0x1b9a63(0x3e3)](_0x17fef3))[_0x1b9a63(0x1c9)][_0x1b9a63(0x18a)](_0xd6b0bd(_0x421508=>_0x421508['eventID']===_0x54c335['SHOULD_CLOSE_CONN']),_0x3db57b(this['dispose$']))[_0x1b9a63(0x3ca)](_0x464ef0=>{var _0x3dcc25=_0x1b9a63;const _0xa59da=_0x464ef0,{reason:_0xdbc8be}=_0xa59da['data'];this[_0x3dcc25(0x2ef)][_0x3dcc25(0x2d5)]({'id':se[_0x3dcc25(0x460)],'data':_0xdbc8be}),this[_0x3dcc25(0x2ba)][_0x3dcc25(0x329)](new _0x20c3ca(_0x17fef3)['id'],!0x1),this[_0x3dcc25(0x2fa)][_0x3dcc25(0x448)](_0x17fef3);});};_0x2f7b48(this['_univerInstanceService']['getTypeOfUnitAdded$'](_0xd6875a[_0x204870(0x2e0)]),this[_0x204870(0x1a4)][_0x204870(0x370)](_0xd6875a[_0x204870(0x1e9)]))[_0x204870(0x18a)](_0x213c72(_0x3650e6=>_0x3650e6[_0x204870(0x281)]()),_0xd6b0bd(_0x31fbe0=>!_0x505571(_0x31fbe0)),_0x3db57b(this[_0x204870(0x365)]))[_0x204870(0x3ca)](_0x1c209a=>{_0x160b82(_0x1c209a);});}[_0x5f281c(0x442)](){var _0x160d40=_0x5f281c;const _0x1b2805=async _0x31bb33=>{var _0x1ff6b8=_0x5eda;const _0x9f3b1=await this[_0x1ff6b8(0x2fa)][_0x1ff6b8(0x3e3)](_0x31bb33),_0x44cab8=this[_0x1ff6b8(0x29c)][_0x1ff6b8(0x3c2)](_0x2f2d41);_0x9f3b1[_0x1ff6b8(0x1c9)]['pipe'](_0xd6b0bd(_0x1971b1=>_0x1971b1[_0x1ff6b8(0x2da)]===_0x54c335[_0x1ff6b8(0x3a0)]),_0x3db57b(this[_0x1ff6b8(0x365)]))['subscribe'](_0x297395=>{var _0x153e9b=_0x1ff6b8;const _0x54882e=_0x297395,{objectId:_0x5e8506}=_0x54882e[_0x153e9b(0x1dc)];_0x5e8506===_0x31bb33?_0x44cab8['initWorkbookPermissionChange'](_0x31bb33):_0x44cab8[_0x153e9b(0x312)](_0x31bb33,_0x5e8506);});};_0x2f7b48(this[_0x160d40(0x1a4)][_0x160d40(0x370)](_0xd6875a[_0x160d40(0x2e0)]))['pipe'](_0x213c72(_0x42d8b2=>_0x42d8b2[_0x160d40(0x281)]()),_0xd6b0bd(_0x35cf66=>!_0x505571(_0x35cf66)),_0x3db57b(this[_0x160d40(0x365)]))[_0x160d40(0x3ca)](_0x314cf5=>{_0x1b2805(_0x314cf5);});}};at=Ds([Ue(0x0,_0x9558f9(_0xd634d6)),Ue(0x1,_0x34f8d6),Ue(0x2,_0x254153),Ue(0x3,_0x9558f9(Le)),Ue(0x4,_0x9558f9(pe))],at);var Ps=Object[_0x5f281c(0x348)],ws=Object[_0x5f281c(0x30b)],Us=(_0x4adff2,_0x5b08b7,_0x5ac502,_0x8f1ffd)=>{var _0x21f7eb=_0x5f281c;for(var _0x4ee0bc=_0x8f1ffd>0x1?void 0x0:_0x8f1ffd?ws(_0x5b08b7,_0x5ac502):_0x5b08b7,_0x45a667=_0x4adff2[_0x21f7eb(0x24a)]-0x1,_0x360d22;_0x45a667>=0x0;_0x45a667--)(_0x360d22=_0x4adff2[_0x45a667])&&(_0x4ee0bc=(_0x8f1ffd?_0x360d22(_0x5b08b7,_0x5ac502,_0x4ee0bc):_0x360d22(_0x4ee0bc))||_0x4ee0bc);return _0x8f1ffd&&_0x4ee0bc&&Ps(_0x5b08b7,_0x5ac502,_0x4ee0bc),_0x4ee0bc;},_i=(_0x3f33ba,_0x4bec28)=>(_0x2dae59,_0x271263)=>_0x4bec28(_0x2dae59,_0x271263,_0x3f33ba);let Nt=class{constructor(_0x1d5ec0,_0x42cc60){var _0x23ea24=_0x5f281c;this[_0x23ea24(0x300)]=_0x1d5ec0,this[_0x23ea24(0x3eb)]=_0x42cc60;}async[_0x5f281c(0x21a)](_0x41aec3,_0x4d6d28){var _0x390343=_0x5f281c,_0x4ee5ab;const {unitID:_0x61a26d,type:_0x1bcadc,revision:_0x170974=0x0}=_0x4d6d28,_0x24aadf=this['getSnapshotAPIPath']()+'/'+_0x1bcadc+'/unit/'+_0x61a26d+_0x390343(0x29b)+_0x170974,_0x4924c0=(await this[_0x390343(0x3eb)]['get'](_0x24aadf))[_0x390343(0x351)],_0x4ce7ad=(_0x4ee5ab=_0x4924c0[_0x390343(0x243)])==null?void 0x0:_0x4ee5ab[_0x390343(0x46b)];if(_0x4ce7ad){const _0x7e86f0=_0x4ce7ad==null?void 0x0:_0x4ce7ad[_0x390343(0x309)],_0x5af5ac=_0x21ae81[_0x390343(0x277)](_0x451b2a(_0x7e86f0));_0x4ce7ad[_0x390343(0x309)]=_0x5af5ac,Object[_0x390343(0x330)](_0x4ce7ad[_0x390343(0x20c)])['forEach'](([,_0x589f34])=>{var _0x22aa91=_0x390343;const _0x20b3d9=_0x589f34[_0x22aa91(0x309)],_0x5c553a=_0x21ae81[_0x22aa91(0x277)](_0x451b2a(_0x20b3d9));_0x589f34[_0x22aa91(0x309)]=_0x5c553a;});}return _0x4924c0;}async[_0x5f281c(0x45e)](_0x551fa4,_0x328c15){var _0x68610c=_0x5f281c;const {unitID:_0x69c99c,type:_0x3a4633,blockID:_0x3c8ba3}=_0x328c15,_0xfb91a2=this[_0x68610c(0x45c)]()+'/'+_0x3a4633+'/unit/'+_0x69c99c+'/block/'+_0x3c8ba3;return(await this[_0x68610c(0x3eb)][_0x68610c(0x3c2)](_0xfb91a2))[_0x68610c(0x351)];}async[_0x5f281c(0x356)](_0x208630,_0x40e5cf){var _0x52f3e1=_0x5f281c;const {unitID:_0x552955,type:_0x2e35f8,blockID:_0xa40e41}=_0x40e5cf,_0x5443da=this[_0x52f3e1(0x45c)]()+_0x52f3e1(0x3ea)+_0x2e35f8+_0x52f3e1(0x31a)+_0x552955+'/block/'+_0xa40e41;return(await this[_0x52f3e1(0x3eb)]['get'](_0x5443da))[_0x52f3e1(0x351)];}async['fetchMissingChangesets'](_0x2548ed,_0x5a6006){var _0x250e69=_0x5f281c;const {unitID:_0x5f0856,type:_0x1c218a,from:_0x3933d4,to:_0xcd7cad}=_0x5a6006,_0x5d30b8=this[_0x250e69(0x45c)]()+'/'+_0x1c218a+'/unit/'+_0x5f0856+_0x250e69(0x454)+_0x3933d4+'&to='+_0xcd7cad;return(await this['_httpService'][_0x250e69(0x3c2)](_0x5d30b8))[_0x250e69(0x351)];}['getSnapshotAPIPath'](){var _0x376b94=_0x5f281c,_0x2ea2da;return(_0x2ea2da=this['_configService'][_0x376b94(0x38a)](En))!=null?_0x2ea2da:this['_getAPIPrefix']();}[_0x5f281c(0x45c)](){var _0x5b62e2=_0x5f281c,_0x3fc527,_0x4de3ee;const _0x4ccdae=this[_0x5b62e2(0x300)][_0x5b62e2(0x38a)](gn),_0xb6e9cd=this[_0x5b62e2(0x300)][_0x5b62e2(0x38a)](q);return(_0x4de3ee=(_0x3fc527=_0xb6e9cd==null?void 0x0:_0xb6e9cd['snapshotServerUrl'])!=null?_0x3fc527:_0x4ccdae)!=null?_0x4de3ee:Sn;}async['getResourcesRequest'](_0x3ae7c2,_0x4391b0){var _0xa06470=_0x5f281c;const _0x57cbbc='/universer-api/snapshot/'+_0x4391b0[_0xa06470(0x33e)]+_0xa06470(0x31a)+_0x4391b0[_0xa06470(0x32f)]+_0xa06470(0x35d);return(await this[_0xa06470(0x3eb)][_0xa06470(0x3c2)](_0x57cbbc,{'params':{'resourceId':JSON['stringify'](_0x4391b0[_0xa06470(0x2f8)])}}))[_0xa06470(0x351)];}[_0x5f281c(0x285)](){var _0xa576e2=_0x5f281c;throw new Error(_0xa576e2(0x2a3));}[_0x5f281c(0x474)](){var _0x2b121a=_0x5f281c;throw new Error(_0x2b121a(0x2a3));}[_0x5f281c(0x3f5)](){var _0x4088e9=_0x5f281c;throw new Error(_0x4088e9(0x2a3));}[_0x5f281c(0x479)](){var _0x417929=_0x5f281c;throw new Error(_0x417929(0x2a3));}['getLatestCsReqIdBySid'](){var _0x57802a=_0x5f281c;throw new Error(_0x57802a(0x2a3));}};Nt=Us([_i(0x0,_0x3b2da1),_i(0x1,_0x9558f9(_0x30b05c))],Nt);var As=Object[_0x5f281c(0x348)],xs=Object[_0x5f281c(0x30b)],Ls=(_0x27e41e,_0x1fd281,_0x149f69,_0xd3b322)=>{var _0x393ad1=_0x5f281c;for(var _0x161ef5=_0xd3b322>0x1?void 0x0:_0xd3b322?xs(_0x1fd281,_0x149f69):_0x1fd281,_0x1ff2b4=_0x27e41e[_0x393ad1(0x24a)]-0x1,_0x1f2ab5;_0x1ff2b4>=0x0;_0x1ff2b4--)(_0x1f2ab5=_0x27e41e[_0x1ff2b4])&&(_0x161ef5=(_0xd3b322?_0x1f2ab5(_0x1fd281,_0x149f69,_0x161ef5):_0x1f2ab5(_0x161ef5))||_0x161ef5);return _0xd3b322&&_0x161ef5&&As(_0x1fd281,_0x149f69,_0x161ef5),_0x161ef5;},Ae=(_0xc21513,_0x1dcad3)=>(_0x212777,_0x47ed31)=>_0x1dcad3(_0x212777,_0x47ed31,_0xc21513);let Dt=class extends _0x779597{constructor(_0x25c96f,_0x5da059,_0x1e273e,_0x369866,_0x2e8ad6){var _0x59c8d6=_0x5f281c;super(_0x25c96f,_0x5da059,_0x1e273e),this[_0x59c8d6(0x2e7)]=_0x369866,this['_logService']=_0x2e8ad6;}[_0x5f281c(0x266)](_0x2b212b,_0x1c5358){var _0x4cec1b=_0x5f281c;const _0x3aec07=this[_0x4cec1b(0x1a8)](_0x2b212b);if(_0x3aec07)try{const _0x8f7c11=this[_0x4cec1b(0x30f)](_0x3aec07,_0x1c5358);this['_substituteUndoStack'](_0x2b212b,_0x8f7c11);}catch(_0x1b3b44){this['_logService'][_0x4cec1b(0x278)](_0x4cec1b(0x407),_0x1b3b44),this['_clearUndo'](_0x2b212b);}const _0x47ddf1=this['_getRedoStack'](_0x2b212b);if(_0x47ddf1)try{const _0x5bc38c=this[_0x4cec1b(0x30f)](_0x47ddf1,_0x1c5358);this[_0x4cec1b(0x45b)](_0x2b212b,_0x5bc38c);}catch(_0x80edcf){this[_0x4cec1b(0x302)][_0x4cec1b(0x278)](_0x80edcf),this[_0x4cec1b(0x173)](_0x2b212b);}}[_0x5f281c(0x2c7)](_0x3ce236){var _0x765cf7=_0x5f281c;const _0x24fbef=this[_0x765cf7(0x1a8)](_0x3ce236);_0x24fbef&&(_0x24fbef[_0x765cf7(0x24a)]=0x0,this['_updateStatus']());}['_clearRedo'](_0x5e8990){var _0x5709aa=_0x5f281c;const _0x3b76f1=this[_0x5709aa(0x3b5)](_0x5e8990);_0x3b76f1&&(_0x3b76f1[_0x5709aa(0x24a)]=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0x3856de,_0xf896){var _0x2dd1a3=_0x5f281c;this[_0x2dd1a3(0x438)][_0x2dd1a3(0x3e2)](_0x3856de,_0xf896),this[_0x2dd1a3(0x396)]();}[_0x5f281c(0x45b)](_0x7dcf5d,_0x2b8a16){var _0x3db321=_0x5f281c;this[_0x3db321(0x3de)]['set'](_0x7dcf5d,_0x2b8a16),this['_updateStatus']();}[_0x5f281c(0x30f)](_0x4eafc7,_0x370f0b){var _0x89ce59=_0x5f281c;const _0xf650b3=[];let _0x38b432=_0x370f0b,_0xae1e1b=_0x370f0b;for(let _0x50b0b4=_0x4eafc7[_0x89ce59(0x24a)]-0x1;_0x50b0b4>=0x0;_0x50b0b4--){const {unitID:_0x152d17,undoMutations:_0x42b79c,redoMutations:_0x3204c5}=_0x4eafc7[_0x50b0b4],_0x5169d1=this[_0x89ce59(0x2e7)]['transformMutationsWithChangeset'](_0x38b432,_0x42b79c),_0x2a7ec3=this[_0x89ce59(0x2e7)][_0x89ce59(0x463)](_0xae1e1b,_0x3204c5);if(_0x5d6ab2(_0x5169d1)||_0x5d6ab2(_0x2a7ec3)){this[_0x89ce59(0x302)][_0x89ce59(0x278)](_0x89ce59(0x407),_0x89ce59(0x386),_0x5169d1,_0x2a7ec3);break;}_0x38b432=_0x5169d1[_0x89ce59(0x420)],_0xae1e1b=_0x2a7ec3['c1Prime'],_0xf650b3['push']({'unitID':_0x152d17,'undoMutations':_0x5169d1['m2Prime'],'redoMutations':_0x2a7ec3[_0x89ce59(0x241)]});}return _0xf650b3['reverse']();}};Dt=Ls([Ae(0x0,_0x34f8d6),Ae(0x1,_0xda747d),Ae(0x2,_0x1b4fb0),Ae(0x3,_0x1b9c4f),Ae(0x4,_0x29c204)],Dt);var Ui=Object[_0x5f281c(0x348)],Ms=Object[_0x5f281c(0x30b)],$s=(_0x1df7fb,_0x12ee74,_0x4fa800)=>_0x12ee74 in _0x1df7fb?Ui(_0x1df7fb,_0x12ee74,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fa800}):_0x1df7fb[_0x12ee74]=_0x4fa800,Hs=(_0x73a0d1,_0x5d713c,_0x2517db,_0x16c1cb)=>{for(var _0x1418e1=_0x16c1cb>0x1?void 0x0:_0x16c1cb?Ms(_0x5d713c,_0x2517db):_0x5d713c,_0x1169ac=_0x73a0d1['length']-0x1,_0x181e32;_0x1169ac>=0x0;_0x1169ac--)(_0x181e32=_0x73a0d1[_0x1169ac])&&(_0x1418e1=(_0x16c1cb?_0x181e32(_0x5d713c,_0x2517db,_0x1418e1):_0x181e32(_0x1418e1))||_0x1418e1);return _0x16c1cb&&_0x1418e1&&Ui(_0x5d713c,_0x2517db,_0x1418e1),_0x1418e1;},St=(_0x2a8284,_0x3f0f32)=>(_0x10cd82,_0x28d4b8)=>_0x3f0f32(_0x10cd82,_0x28d4b8,_0x2a8284),ks=(_0x5ce9b8,_0x544df5,_0x330917)=>$s(_0x5ce9b8,_0x544df5+'',_0x330917);const js=_0x5f281c(0x2ca);let Pt=class extends _0x3b786d{constructor(_0x35eb60,_0xd4b645,_0x15877b,_0x9140f5){var _0x9204db=_0x5f281c;super(),N(this,_0x9204db(0x1f2)),(this[_0x9204db(0x302)]=_0xd4b645,this[_0x9204db(0x29c)]=_0x15877b,this['_configService']=_0x9140f5);const {..._0x28774d}=_0x346504({},An,_0x35eb60);if(!_0x28774d[_0x9204db(0x3d8)])throw new Error(_0x9204db(0x1db));this['_config']=_0x28774d,this['_configService'][_0x9204db(0x2c8)](q,_0x28774d);}[_0x5f281c(0x17a)](){var _0x37d288=_0x5f281c;this[_0x37d288(0x258)](),this[_0x37d288(0x1e1)]();}[_0x5f281c(0x258)](){var _0x3eaace=_0x5f281c,_0x2c4b8a,_0x5a595f;this['_injector']['has'](_0x2f573f)&&this[_0x3eaace(0x302)][_0x3eaace(0x278)](_0x3eaace(0x1b0),'you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!');const _0x57d40f=_0x3c8ec6([[_0x2f573f,{'useClass':Dt}],[Le],[xe],[it],[st],[ot],[Ti],[at],[pe],[Rt],[Ii,{'useClass':this[_0x3eaace(0x1f2)][_0x3eaace(0x3d8)]}],[_0x4a66d0,{'useClass':Nt}],[_0x2e258a,{'useClass':bt}],[_0xda2ae5,{'useClass':Ot}],[_0x365228,{'useClass':yt}],[rt],[Ct]],(_0x2c4b8a=this['_config'])==null?void 0x0:_0x2c4b8a[_0x3eaace(0x255)]);if(!((_0x5a595f=this[_0x3eaace(0x1f2)])!=null&&_0x5a595f['enableSingleActiveInstanceLock'])){const _0x212de4=_0x57d40f[_0x3eaace(0x1b5)](([_0x591eea])=>_0x591eea===ht);_0x212de4!==-0x1&&_0x57d40f[_0x3eaace(0x28a)](_0x212de4,0x1);}_0x558302(this['_injector'],_0x57d40f);}[_0x5f281c(0x1e1)](){var _0x50184e=_0x5f281c,_0x168d48,_0x3684ae,_0x5340d9;this[_0x50184e(0x29c)][_0x50184e(0x3c2)](_0x30b05c)['registerHTTPInterceptor']({'priority':0x14,'interceptor':_0x591972({'maxParallel':0x6})}),(_0x168d48=this[_0x50184e(0x1f2)])!=null&&_0x168d48['enableOfflineEditing']||(_0x3684ae=this[_0x50184e(0x29c)][_0x50184e(0x3c2)](J,_0x41a519['OPTIONAL']))==null||_0x3684ae[_0x50184e(0x446)](),(_0x5340d9=this[_0x50184e(0x1f2)])!=null&&_0x5340d9[_0x50184e(0x397)]&&_0x514054(this[_0x50184e(0x29c)],[[st]]),_0x514054(this[_0x50184e(0x29c)],[[ot],[rt],[at]]);}};ks(Pt,_0x5f281c(0x39b),js),Pt=Hs([_0x50e39f(_0xf47e8f,_0x197451),St(0x1,_0x29c204),St(0x2,_0x9558f9(_0xd634d6)),St(0x3,_0x3b2da1)],Pt);export{Ni as AUTHZ_URL_KEY,bt as AuthzIoHttpService,le as AwaitingState,ae as AwaitingWithPendingState,q as COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY,Dn as COLLAB_SUBMIT_CHANGESET_URL_KEY,Tn as COLLAB_WEB_SOCKET_URL_KEY,rt as CollaborationController,nt as CollaborationEntity,Ot as CollaborationImageIoService,Et as CollaborationSession,Le as CollaborationSessionService,Vt as CollaborationSocketService,Ri as CollaborationStatus,se as CollaborationUIEventId,pe as CollaborationUIEventService,Dt as CollaborativeUndoRedoService,Ti as CommentService,ue as ConflictState,Cn as DEFAULT_COLLAB_WEB_SOCKET_URL,no as DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT,Qs as DEFAULT_WS_SESSION_TICKET_URL,Rt as DataLoaderService,It as DocCollaborationEntity,ee as FetchingMissState,bn as HEARTBEAT_INTERVAL_KEY,mi as HEARTBEAT_TIMEOUT_KEY,Ii as ICollaborationSocketService,J as ILocalCacheService,xn as INetworkConditionService,ht as ISingleActiveUnitService,to as LOCAL_CACHE_INTERVAL,eo as LOCAL_CACHE_INTERVAL_KEY,wn as LOGIN_URL_KEY,xe as MemberService,yt as MentionIoHttpService,de as OfflineState,oe as PendingState,io as REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY,yn as RETRY_CONNECTING_MAX_COUNT_KEY,Zs as SEND_CHANGESET_TIMEOUT_KEY,gn as SNAPSHOT_SERVER_URL_KEY,En as SNAPSHOT_URL_KEY,Ee as SessionStatus,Tt as SheetCollaborationEntity,it as SheetTransformSelectionsService,Nt as SnapshotServerOverHTTPService,Ne as SyncedState,Ci as UnitStatus,Pt as UniverCollaborationClientPlugin,Ln as deserializeToCombResponse,ro as getLocalCacheKey,Mn as serializeCombRequest};
|