@univerjs-pro/collaboration-client 0.4.2-nightly.202411021605 → 0.4.2-nightly.202411041606
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/es/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/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/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 +16 -16
package/lib/es/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
const _0xb7df44=_0x16eb;(function(_0x195713,_0x480030){const _0x4c7ff1=_0x16eb,_0x1d429a=_0x195713();while(!![]){try{const _0x23746a=parseInt(_0x4c7ff1(0x578))/0x1+parseInt(_0x4c7ff1(0x2f7))/0x2+-parseInt(_0x4c7ff1(0x49a))/0x3*(parseInt(_0x4c7ff1(0x53b))/0x4)+-parseInt(_0x4c7ff1(0x3a2))/0x5*(parseInt(_0x4c7ff1(0x1c8))/0x6)+-parseInt(_0x4c7ff1(0x403))/0x7+-parseInt(_0x4c7ff1(0x36a))/0x8*(-parseInt(_0x4c7ff1(0x1b5))/0x9)+-parseInt(_0x4c7ff1(0x487))/0xa;if(_0x23746a===_0x480030)break;else _0x1d429a['push'](_0x1d429a['shift']());}catch(_0x268fd8){_0x1d429a['push'](_0x1d429a['shift']());}}}(_0x1c34,0x75cf3));var Ki=Object['defineProperty'],zi=(_0x4a1f87,_0x18ef71,_0x227d76)=>_0x18ef71 in _0x4a1f87?Ki(_0x4a1f87,_0x18ef71,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x227d76}):_0x4a1f87[_0x18ef71]=_0x227d76,g=(_0x2d0f56,_0x4d4d9c,_0x1a51f4)=>zi(_0x2d0f56,typeof _0x4d4d9c!=_0xb7df44(0x337)?_0x4d4d9c+'':_0x4d4d9c,_0x1a51f4);import{createIdentifier as _0x36b00b,Inject as _0x380ba9,Disposable as _0x55ef45,DisposableCollection as _0x4eaacf,toDisposable as _0x1ae8eb,IConfigService as _0x25a779,ILogService as _0x23bd67,UserManagerService as _0x405b62,UniverInstanceType as _0x5d9c1d,IUniverInstanceService as _0xf81bb9,LocaleService as _0x5ccb65,Optional as _0xdde8b7,RxDisposable as _0x3431ab,Injector as _0x41c43c,Tools as _0xb81a94,ILocalStorageService as _0x3b6f9f,Rectangle as _0x1d7a17,ICommandService as _0x461f8f,DOC_RANGE_TYPE as _0x51d1cd,JSONX as _0x5821ee,CommandType as _0x41392e,IPermissionService as _0x60a8ad,IUndoRedoService as _0x1bdd68,sequenceExecute as _0x13d82a,debounce as _0x3a88e2,COLORS as _0x5799c6,ColorKit as _0x2b46cd,ThemeService as _0x3a8de9,fromEventSubject as _0x13d8c1,useDependency as _0x58cc01,connectInjector as _0x33108a,Workbook as _0x11e78c,isInternalEditorID as _0xc654c7,LocalUndoRedoService as _0x3852e7,IContextService as _0x19c5a2,DependentOn as _0x258de0,Plugin as _0x2fd91a,touchDependencies as _0x5df76b,IAuthzIoService as _0x5b9c66,registerDependencies as _0x2ed3db,mergeOverrideWithDependencies as _0x51ab1e}from'@univerjs/core';import{Subject as _0xbbcc86,merge as _0x446ede,takeUntil as _0x5c3c82,BehaviorSubject as _0x230431,distinctUntilChanged as _0x2bb2de,fromEvent as _0xb50e9,ReplaySubject as _0x304899,take as _0x1b6c03,map as _0x28c6ba,shareReplay as _0x1f5fb1,of as _0x4a5a0f,debounceTime as _0x2f2fee,filter as _0x2b44ab,switchMap as _0x54d5d9,combineLatest as _0x31796e,concatMap as _0x332a2a,mapTo as _0x2675d6}from'rxjs';import{map as _0x41a95e,take as _0x481ad1,filter as _0x4620cd,delay as _0x362969,throttleTime as _0x51a6bc,takeUntil as _0x5a8e54,switchMap as _0x7a46c2}from'rxjs/operators';import{MessageType as _0x4bff77,Tooltip as _0x4acbca}from'@univerjs/design';import{IBeforeCloseService as _0x184a05,IMessageService as _0xff713e,INotificationService as _0x5829ef,useObservable as _0x4a4236,BuiltInUIPart as _0x4664c4,IUIPartsService as _0x44a93d}from'@univerjs/ui';import{HTTPService as _0x429bbf,WebSocketService as _0x2956b7,MergeInterceptorFactory as _0x62bc31,HTTPRequest as _0x196f47,UniverNetworkPlugin as _0x318df7,ThresholdInterceptorFactory as _0x419a10}from'@univerjs/network';import{CollaborationEvent as _0x5104a7,parseChangesetToProtocol as _0x2348ab,ISnapshotServerService as _0x54ca2e,isTransformMutationFailure as _0x51b7ca,isTransformMutationsWithChangesetSuccess as _0x3aa1c2,ITransformService as _0x5dcca2,RevisionService as _0x2ab1a0,mapDocumentTypeToUniverType as _0xbdf5a1,isTransformChangesetsSuccess as _0x2e9077,CompressMutationService as _0x56b491,parseProtocolChangeset as _0x2feadd,SnapshotService as _0x4bd76a,textEncoder as _0x58a671,b64DecodeUnicode as _0x3dd4e8,isTransformMutationsWithChangesetFailure as _0x28bc4f,UniverCollaborationPlugin as _0x4bc6b2}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x229b64}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x337a72,DocStateChangeManagerService as _0x844e78,NodePositionConvertToCursor as _0x5d0814,NodePositionConvertToRectRange as _0x3321d3,TEXT_RANGE_LAYER_INDEX as _0x14c12f,SetDocZoomRatioOperation as _0x46e832}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x1412c1,SetSelectionsOperation as _0x357bb7,InsertSheetMutation as _0x31efb2,EmptyMutation as _0x4fe764,WorkbookEditablePermission as _0x44ab74,RefRangeService as _0x53687c,EffectRefRangId as _0x1a7f28,handleIRemoveRow as _0x2e137c,handleIRemoveCol as _0x5c072d,handleMoveRange as _0x1babc8,handleInsertRow as _0x1c5b47,handleInsertRangeMoveRight as _0x363e7e,handleInsertRangeMoveDown as _0x20ab19,handleInsertCol as _0x49e57a,handleDeleteRangeMoveUp as _0x162252,handleDeleteRangeMoveLeft as _0x2d7739,runRefRangeMutations as _0x12db2d,SetWorksheetActivateCommand as _0x56e1a9}from'@univerjs/sheets';import{IRenderManagerService as _0x2618ce,Shape as _0x176759,Rect as _0xfbec4b,getColor as _0x479e33,RegularPolygon as _0x45525f,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4237c6,Vector2 as _0x9c6ad7}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x44edfb,RichTextEditingMutation as _0x391680,SetTextSelectionsOperation as _0x39f0b9,DocSkeletonManagerService as _0x5d5172}from'@univerjs/docs';import{ImageSourceType as _0x1992f8,ImageUploadStatusType as _0x1c0bfe,IImageIoService as _0x250780}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x5d5ad4,serializeRangeWithSheet as _0x4bbbc0}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x15b8f5,VIEWPORT_KEY as _0x4b5410,getCoordByCell as _0x245e06,getSheetObject as _0x3f1e0d,SheetPermissionInitController as _0x1dd603}from'@univerjs/sheets-ui';import _0x1a8809,{forwardRef as _0x42a783,useRef as _0x1b3616,createElement as _0x444ffc,useCallback as _0x390108}from'react';import{IRemoteInstanceService as _0x2ba697}from'@univerjs/rpc';const rr=_0xb7df44(0x2ae),or=_0xb7df44(0x4b0),ar=_0xb7df44(0x2e9),kc='SEND_CHANGESET_TIMEOUT',cr=0x7d0,hr='COLLAB_WEB_SOCKET_URL',lr=_0xb7df44(0x271),_r=_0xb7df44(0x50c),ur=0x7530,bi=_0xb7df44(0x471),Ti=0x4e20,dr=0x4e20,fr='RETRY_CONNECTING_MAX_COUNT',vr=0x3,mr=_0xb7df44(0x3f2),pr=0x3e8,gr=_0xb7df44(0x1fa),Sr='/universer-api/comb',Ir=_0xb7df44(0x318),Cr=_0xb7df44(0x2b4);var Ri=(_0x3504a2=>(_0x3504a2[_0x3504a2[_0xb7df44(0x2f5)]=0x0]='UNDEFINED',_0x3504a2[_0x3504a2['OK']=0x1]='OK',_0x3504a2[_0x3504a2[_0xb7df44(0x30e)]=0x2]=_0xb7df44(0x30e),_0x3504a2[_0x3504a2[_0xb7df44(0x543)]=0x3]='PERMISSION_DENIED',_0x3504a2[_0x3504a2[_0xb7df44(0x4d2)]=0x4]=_0xb7df44(0x4d2),_0x3504a2[_0x3504a2[_0xb7df44(0x1c6)]=0x5]=_0xb7df44(0x1c6),_0x3504a2[_0x3504a2[_0xb7df44(0x20a)]=0x6]=_0xb7df44(0x20a),_0x3504a2[_0x3504a2[_0xb7df44(0x235)]=0x7]=_0xb7df44(0x235),_0x3504a2[_0x3504a2['TOO_MANY_REQUESTS']=0x8]=_0xb7df44(0x1ce),_0x3504a2[_0x3504a2['COMPLETION_FINISHED']=0x9]=_0xb7df44(0x556),_0x3504a2[_0x3504a2[_0xb7df44(0x4e2)]=0x1389]=_0xb7df44(0x4e2),_0x3504a2[_0x3504a2[_0xb7df44(0x473)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3504a2[_0x3504a2[_0xb7df44(0x2ab)]=0x1772]=_0xb7df44(0x2ab),_0x3504a2[_0x3504a2[_0xb7df44(0x4f9)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3504a2[_0x3504a2[_0xb7df44(0x2c0)]=0x1b59]='APPLY_REJECT',_0x3504a2[_0x3504a2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3504a2[_0x3504a2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xb7df44(0x1be),_0x3504a2[_0x3504a2[_0xb7df44(0x331)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3504a2[_0x3504a2['APPLY_DUPLICATED']=0x1b5d]=_0xb7df44(0x217),_0x3504a2[_0x3504a2[_0xb7df44(0x269)]=0x1f41]=_0xb7df44(0x269),_0x3504a2[_0x3504a2[_0xb7df44(0x553)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3504a2[_0x3504a2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3504a2[_0x3504a2[_0xb7df44(0x4e0)]=0x232b]=_0xb7df44(0x4e0),_0x3504a2[_0x3504a2[_0xb7df44(0x293)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3504a2[_0x3504a2['LICENSE_DISTRO_REJECTED']=0x232d]=_0xb7df44(0x40e),_0x3504a2[_0x3504a2[_0xb7df44(0x3d4)]=0x2711]=_0xb7df44(0x3d4),_0x3504a2[_0x3504a2[_0xb7df44(0x379)]=0x2712]=_0xb7df44(0x379),_0x3504a2[_0x3504a2['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3504a2[_0x3504a2[_0xb7df44(0x30c)]=0x2714]=_0xb7df44(0x30c),_0x3504a2[_0x3504a2[_0xb7df44(0x4b1)]=-0x1]='UNRECOGNIZED',_0x3504a2))(Ri||{}),ce=(_0x25a368=>(_0x25a368[_0x25a368['UNIVER_UNKNOWN']=0x0]=_0xb7df44(0x4d6),_0x25a368[_0x25a368[_0xb7df44(0x1cf)]=0x1]=_0xb7df44(0x1cf),_0x25a368[_0x25a368['UNIVER_SHEET']=0x2]=_0xb7df44(0x37b),_0x25a368[_0x25a368[_0xb7df44(0x448)]=0x3]=_0xb7df44(0x448),_0x25a368[_0x25a368['UNIVER_PROJECT']=0x4]='UNIVER_PROJECT',_0x25a368[_0x25a368['UNRECOGNIZED']=-0x1]=_0xb7df44(0x4b1),_0x25a368))(ce||{}),W=(_0x45ad52=>(_0x45ad52[_0x45ad52[_0xb7df44(0x454)]=0x0]=_0xb7df44(0x454),_0x45ad52[_0x45ad52[_0xb7df44(0x50d)]=0x1]='HELLO',_0x45ad52[_0x45ad52[_0xb7df44(0x224)]=0x2]=_0xb7df44(0x224),_0x45ad52[_0x45ad52[_0xb7df44(0x338)]=0x3]=_0xb7df44(0x338),_0x45ad52[_0x45ad52[_0xb7df44(0x4c7)]=0x4]='INGEST',_0x45ad52[_0x45ad52[_0xb7df44(0x434)]=0x5]=_0xb7df44(0x434),_0x45ad52[_0x45ad52[_0xb7df44(0x22b)]=0x6]=_0xb7df44(0x22b),_0x45ad52[_0x45ad52['UNRECOGNIZED']=-0x1]=_0xb7df44(0x4b1),_0x45ad52))(W||{}),Is=(_0x22a158=>(_0x22a158[_0x22a158['UNKNOWN_CODE']=0x0]=_0xb7df44(0x528),_0x22a158[_0x22a158['OK']=0x1]='OK',_0x22a158[_0x22a158['FAIL']=0x2]=_0xb7df44(0x31d),_0x22a158[_0x22a158[_0xb7df44(0x4b1)]=-0x1]=_0xb7df44(0x4b1),_0x22a158))(Is||{}),yi=(_0x59cb58=>(_0x59cb58[_0x59cb58[_0xb7df44(0x55f)]=0x0]=_0xb7df44(0x55f),_0x59cb58[_0x59cb58[_0xb7df44(0x2e6)]=0x1]='HttpImport',_0x59cb58[_0x59cb58[_0xb7df44(0x384)]=0x2]=_0xb7df44(0x384),_0x59cb58[_0x59cb58[_0xb7df44(0x437)]=0x3]=_0xb7df44(0x437),_0x59cb58[_0x59cb58[_0xb7df44(0x228)]=0x4]='UnitSnapshot',_0x59cb58[_0x59cb58[_0xb7df44(0x4b1)]=-0x1]=_0xb7df44(0x4b1),_0x59cb58))(yi||{});const ie=_0xb7df44(0x1a5),Er={};function br(_0x526573){const _0x26f4f0=_0xb7df44;var _0x59fe1e,_0x4fff7b,_0x5318bb,_0xa9f7d2,_0x256487;const _0x4e2933=_0x526573['data'],_0x3a9042=JSON[_0x26f4f0(0x272)](_0x4e2933);switch(_0x3a9042[_0x26f4f0(0x25d)]){case W[_0x26f4f0(0x434)]:case W[_0x26f4f0(0x50d)]:{const _0x4a9d60=_0x3a9042['infoRsp'];return{..._0x3a9042,'data':_0x4a9d60,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};}case W[_0x26f4f0(0x224)]:{const _0x20ae56=_0x3a9042[_0x26f4f0(0x409)];return{..._0x3a9042,'data':_0x20ae56,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};}case W[_0x26f4f0(0x22b)]:{const _0x53a44e=_0x3a9042['collaMsg'];switch(_0x53a44e['eventID']){case _0x5104a7[_0x26f4f0(0x1d9)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x59fe1e=_0x53a44e[_0x26f4f0(0x52f)])==null?void 0x0:_0x59fe1e['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x530)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x4fff7b=_0x53a44e['csAckEvent'])==null?void 0x0:_0x4fff7b['cs']},'cmd':_0x3a9042['cmd']};case _0x5104a7['NEW_CHANGESETS']:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x5318bb=_0x53a44e[_0x26f4f0(0x3ed)])==null?void 0x0:_0x5318bb['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['CHANGESET_REJ']:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0xa9f7d2=_0x53a44e[_0x26f4f0(0x39b)])==null?void 0x0:_0xa9f7d2['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x540)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':(_0x256487=_0x53a44e[_0x26f4f0(0x25e)])==null?void 0x0:_0x256487['cs']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x4b9)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x3c9)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x2ac)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x255)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x20d)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e['leaveEvent']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x55c)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x538)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x3a1)]:case _0x5104a7[_0x26f4f0(0x3d1)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x508)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['LIVESHARE_TERMINATE']:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x538)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7['MSG_FOR_ERROR']:return{..._0x3a9042,'data':_0x53a44e,'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x4b8)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x2cd)]},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};case _0x5104a7[_0x26f4f0(0x2cc)]:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e[_0x26f4f0(0x4fa)]},'cmd':_0x3a9042['cmd']};case _0x5104a7['SHOULD_CLOSE_CONN']:return{..._0x3a9042,'data':{..._0x53a44e,'data':_0x53a44e['shouldCloseConn']},'cmd':_0x3a9042[_0x26f4f0(0x25d)]};default:return _0x3a9042;}}default:return _0x3a9042;}}function Tr(_0x3efb82){const _0x4f2489=_0xb7df44;switch(_0x3efb82['cmd']){case W[_0x4f2489(0x434)]:case W[_0x4f2489(0x50d)]:return JSON['stringify']({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82[_0x4f2489(0x33f)]});case W['INGEST']:{let _0x2039ee;switch(_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x306)]){case _0x5104a7[_0x4f2489(0x4b9)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x4b9)],'updateCursorEvent':_0x3efb82[_0x4f2489(0x32a)]['data']};break;}case _0x5104a7['USERS_LEAVE']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x20d)],'leaveEvent':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x2ac)]:{_0x2039ee={'eventID':_0x5104a7['USERS_ENTER'],'joinEvent':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x55c)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x55c)],'liveShareNewHost':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x3d1)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x3d1)],'liveShareOperation':_0x3efb82['data'][_0x4f2489(0x32a)]};break;}case _0x5104a7['LIVESHARE_TERMINATE']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x453)],'liveShareTerminate':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7[_0x4f2489(0x38d)]:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x38d)],'liveShareRequestHost':_0x3efb82[_0x4f2489(0x32a)][_0x4f2489(0x32a)]};break;}case _0x5104a7['LIVESHARE_FETCH_OPERATIONS']:{_0x2039ee={'eventID':_0x5104a7[_0x4f2489(0x3a1)]};break;}default:_0x2039ee={'eventID':_0x3efb82[_0x4f2489(0x32a)]['eventID']};}return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82['cmd'],'routeKey':_0x3efb82[_0x4f2489(0x33f)],'collaMsg':_0x2039ee});}case W['JOIN']:return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82[_0x4f2489(0x33f)],'joinReq':_0x3efb82[_0x4f2489(0x32a)]});case W[_0x4f2489(0x338)]:return JSON[_0x4f2489(0x41d)]({'cmd':_0x3efb82[_0x4f2489(0x25d)],'routeKey':_0x3efb82['routeKey'],'leaveReq':_0x3efb82[_0x4f2489(0x32a)]});default:throw new Error(_0x4f2489(0x4e7));}}var Rr=Object['defineProperty'],yr=Object[_0xb7df44(0x250)],Or=(_0x3934aa,_0x14fc1b,_0x53fac2,_0x5e9882)=>{const _0x2a5fb7=_0xb7df44;for(var _0x4509a8=_0x5e9882>0x1?void 0x0:_0x5e9882?yr(_0x14fc1b,_0x53fac2):_0x14fc1b,_0x49b0f8=_0x3934aa[_0x2a5fb7(0x3f7)]-0x1,_0x32c28e;_0x49b0f8>=0x0;_0x49b0f8--)(_0x32c28e=_0x3934aa[_0x49b0f8])&&(_0x4509a8=(_0x5e9882?_0x32c28e(_0x14fc1b,_0x53fac2,_0x4509a8):_0x32c28e(_0x4509a8))||_0x4509a8);return _0x5e9882&&_0x4509a8&&Rr(_0x14fc1b,_0x53fac2,_0x4509a8),_0x4509a8;},qe=(_0x147175,_0x5b3564)=>(_0x435c26,_0x39e3b4)=>_0x5b3564(_0x435c26,_0x39e3b4,_0x147175);const Oi=_0x36b00b('univer-pro.collaboration-client-socket-service');function wr(_0x204007,_0x1d7557,_0x5ca24b){const _0x58015c=_0xb7df44;return _0x204007+'/'+_0x1d7557+'/unit/'+_0x5ca24b+_0x58015c(0x56c);}let es=class extends _0x55ef45{constructor(_0xddb709,_0x2ced07,_0x2efb0d,_0x4bc3d6,_0x264486){const _0x1c54fa=_0xb7df44;super(),this['_http']=_0xddb709,this['_ws']=_0x2ced07,this['_configService']=_0x2efb0d,this[_0x1c54fa(0x362)]=_0x4bc3d6,this['_snapshotServerService']=_0x264486;}[_0xb7df44(0x48f)](_0x446b20){const _0x5312b0=_0xb7df44,_0x39d70e=this['_ws'][_0x5312b0(0x48f)](_0x446b20);if(!_0x39d70e)throw new Error(_0x5312b0(0x346));const _0x10bfb8=new _0x4eaacf(),_0x2365f9=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e[_0x5312b0(0x22a)]['subscribe'](_0x5d8409=>_0x2365f9[_0x5312b0(0x28b)](_0x5d8409))),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0x2365f9[_0x5312b0(0x225)]()));const _0xc4d60=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e['error$'][_0x5312b0(0x41a)](_0x2be2cc=>_0xc4d60[_0x5312b0(0x28b)](_0x2be2cc))),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0xc4d60[_0x5312b0(0x225)]()));const _0x480670=new _0xbbcc86();_0x10bfb8[_0x5312b0(0x364)](_0x39d70e[_0x5312b0(0x360)][_0x5312b0(0x41a)](_0x754456=>{const _0x18b3f2=_0x5312b0,_0x595bdf=br(_0x754456);_0x480670[_0x18b3f2(0x28b)](_0x595bdf);})),_0x10bfb8[_0x5312b0(0x364)](_0x1ae8eb(()=>_0x480670[_0x5312b0(0x225)]()));let _0x3d5122;const _0xb21c20=()=>{const _0x1d8621=_0x5312b0;_0xc4d60[_0x1d8621(0x28b)](new Event(_0x1d8621(0x406))),_0x2365f9[_0x1d8621(0x28b)](new CloseEvent('connection\x20error')),_0x3d5122[_0x1d8621(0x3c3)]();};return _0x3d5122={'memberID':'','close$':_0x2365f9[_0x5312b0(0x234)](),'error$':_0xc4d60['asObservable'](),'open$':_0x39d70e['open$'],'message$':_0x480670['asObservable'](),'send':_0x428bcd=>{const _0x542f83=_0x5312b0;if(_0x428bcd[_0x542f83(0x25d)]===W[_0x542f83(0x4c7)]){if(_0x428bcd[_0x542f83(0x32a)]['eventID']===_0x5104a7[_0x542f83(0x3ac)]){this[_0x542f83(0x516)](_0x3d5122,_0x428bcd[_0x542f83(0x32a)])[_0x542f83(0x385)](_0x18ed96=>{const _0x1b1ca3=_0x542f83;this[_0x1b1ca3(0x362)][_0x1b1ca3(0x1d7)](_0x18ed96),_0xb21c20();});return;}if(_0x428bcd[_0x542f83(0x32a)]['eventID']===_0x5104a7[_0x542f83(0x28c)]){const _0x2e83c4=_0x428bcd['data'];this['_fetchMissChangesets'](_0x2e83c4)[_0x542f83(0x4bc)](_0x3267f9=>{const _0x3c7bba=_0x542f83;_0x480670['next']({'cmd':W[_0x3c7bba(0x22b)],'code':Is['OK'],'routeKey':_0x2e83c4[_0x3c7bba(0x32a)][_0x3c7bba(0x37e)],'routeType':'','data':{'eventID':_0x5104a7[_0x3c7bba(0x491)],'data':{'changesets':_0x3267f9}}});})[_0x542f83(0x385)](_0x325470=>{const _0x52d060=_0x542f83;this['_logService'][_0x52d060(0x1d7)](_0x325470),_0xb21c20();});return;}}_0x39d70e[_0x542f83(0x413)](Tr(_0x428bcd));},'close':()=>{const _0x1e5b25=_0x5312b0;_0x39d70e['close'](),_0x10bfb8[_0x1e5b25(0x211)]();}},_0x3d5122;}async[_0xb7df44(0x516)](_0x582a28,_0x1cd8c2){const _0xad74a9=_0xb7df44;var _0x4b6657,_0x5cd0c1;const {unitType:_0x34be92,unitID:_0x1e60f0,changeset:_0x537401}=_0x1cd8c2[_0xad74a9(0x32a)],_0x4d05d3={'unitID':_0x1e60f0,'memberID':_0x582a28['memberID'],'type':_0x34be92,'changeset':_0x2348ab(_0x537401)},_0x57dac7=this['_configService'][_0xad74a9(0x2b8)](gr),_0x3b5a02=this[_0xad74a9(0x216)][_0xad74a9(0x2b8)](ie),_0x1073f3=wr((_0x5cd0c1=(_0x4b6657=_0x3b5a02==null?void 0x0:_0x3b5a02[_0xad74a9(0x3f5)])!=null?_0x4b6657:_0x57dac7)!=null?_0x5cd0c1:Sr,_0x34be92,_0x1e60f0);try{await this[_0xad74a9(0x4d4)][_0xad74a9(0x4ea)](_0x1073f3,{'body':_0x4d05d3});}catch(_0x56ead4){throw this['_logService'][_0xad74a9(0x1d7)](_0xad74a9(0x3f1),_0xad74a9(0x37a)),_0x56ead4;}}async[_0xb7df44(0x304)](_0x466ac3){const _0x975bb9=_0xb7df44,{unitID:_0x371588,from:_0xf443,to:_0x541ead,unitType:_0x222e30}=_0x466ac3[_0x975bb9(0x32a)];return(await this[_0x975bb9(0x4a1)][_0x975bb9(0x2a5)]({'metadata':void 0x0},{'unitID':_0x371588,'type':_0x222e30,'from':_0xf443,'to':_0x541ead}))['changesets'];}};es=Or([qe(0x0,_0x380ba9(_0x429bbf)),qe(0x1,_0x380ba9(_0x2956b7)),qe(0x2,_0x25a779),qe(0x3,_0x23bd67),qe(0x4,_0x54ca2e)],es);const Dr=_0xb7df44(0x2f6);function Pr(_0x519e02){const _0x324ab6=_0xb7df44;return JSON[_0x324ab6(0x41d)](_0x519e02)[_0x324ab6(0x3f7)];}class wi{constructor(){const _0x5c4686=_0xb7df44;g(this,'_commentUpdate$',new _0xbbcc86()),g(this,_0x5c4686(0x280),this['_commentUpdate$'][_0x5c4686(0x234)]());}['onCommentUpdate'](_0xcfac2c){const _0xad9cf8=_0xb7df44;this[_0xad9cf8(0x2a4)][_0xad9cf8(0x28b)](_0xcfac2c);}}var Ur=Object['defineProperty'],Nr=Object[_0xb7df44(0x250)],Ar=(_0x952560,_0x507471,_0x3076c2,_0x499d58)=>{const _0x507ec8=_0xb7df44;for(var _0x136a33=_0x499d58>0x1?void 0x0:_0x499d58?Nr(_0x507471,_0x3076c2):_0x507471,_0x4f307c=_0x952560[_0x507ec8(0x3f7)]-0x1,_0x41ab68;_0x4f307c>=0x0;_0x4f307c--)(_0x41ab68=_0x952560[_0x4f307c])&&(_0x136a33=(_0x499d58?_0x41ab68(_0x507471,_0x3076c2,_0x136a33):_0x41ab68(_0x136a33))||_0x136a33);return _0x499d58&&_0x136a33&&Ur(_0x507471,_0x3076c2,_0x136a33),_0x136a33;},Hs=(_0x4da526,_0x178f39)=>(_0x4cda14,_0x2b6e8f)=>_0x178f39(_0x4cda14,_0x2b6e8f,_0x4da526);let Ne=class extends _0x55ef45{constructor(_0x13d711,_0x47b5af){const _0x315a9b=_0xb7df44;super(),g(this,_0x315a9b(0x3e5),new Map()),(this[_0x315a9b(0x3d6)]=_0x13d711,this['_userManagerService']=_0x47b5af,this[_0x315a9b(0x55a)](_0x1ae8eb(_0x446ede(this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d['UNIVER_SHEET'])[_0x315a9b(0x51d)](_0x41a95e(_0x5a8411=>_0x5a8411[_0x315a9b(0x432)]())),this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d[_0x315a9b(0x1cf)])[_0x315a9b(0x51d)](_0x41a95e(_0x414461=>_0x414461[_0x315a9b(0x432)]())),this[_0x315a9b(0x3d6)][_0x315a9b(0x4cd)](_0x5d9c1d[_0x315a9b(0x448)])['pipe'](_0x41a95e(_0x36f86a=>_0x36f86a[_0x315a9b(0x432)]())))[_0x315a9b(0x41a)](_0x3d101a=>this['_removeRoom'](_0x3d101a)))));}[_0xb7df44(0x3a8)](_0x20510a){const _0x212b63=_0xb7df44;this[_0x212b63(0x21e)][_0x212b63(0x3a8)](_0x20510a);}[_0xb7df44(0x1e9)](){const _0x1c07c0=_0xb7df44;return this[_0x1c07c0(0x21e)][_0x1c07c0(0x1e9)]();}['updateMember'](_0x3b403f,_0x4c4a84){const _0x518d58=_0xb7df44;let _0x1a3466=this[_0x518d58(0x3e5)][_0x518d58(0x339)](_0x3b403f);_0x1a3466||(_0x1a3466=new Mr(),this[_0x518d58(0x3e5)][_0x518d58(0x1f3)](_0x3b403f,_0x1a3466)),_0x1a3466[_0x518d58(0x1f0)](_0x4c4a84);}[_0xb7df44(0x1c7)](_0x108c9c,_0x13e97a){const _0xfe47b0=_0xb7df44,_0x3618a7=this['_roomMembers'][_0xfe47b0(0x339)](_0x108c9c);_0x3618a7&&_0x3618a7['removeMember'](_0x13e97a);}[_0xb7df44(0x23e)](_0x2bc309){const _0x2caff0=_0xb7df44;return this[_0x2caff0(0x3e5)][_0x2caff0(0x339)](_0x2bc309);}[_0xb7df44(0x18c)](_0x3d4069,_0x561226){const _0x331767=_0xb7df44,_0xa172ad=this[_0x331767(0x3e5)][_0x331767(0x339)](_0x3d4069);if(_0xa172ad)return _0xa172ad['getMember'](_0x561226);}[_0xb7df44(0x2bb)](_0x371736){const _0x180921=_0xb7df44,_0x26a2b0=this['_roomMembers'][_0x180921(0x339)](_0x371736);_0x26a2b0&&(_0x26a2b0[_0x180921(0x211)](),this['_roomMembers'][_0x180921(0x37f)](_0x371736));}[_0xb7df44(0x211)](){const _0x4271c4=_0xb7df44;this[_0x4271c4(0x3e5)][_0x4271c4(0x3d9)](_0x5918d6=>_0x5918d6[_0x4271c4(0x211)]()),this['_roomMembers'][_0x4271c4(0x1b6)]();}};Ne=Ar([Hs(0x0,_0xf81bb9),Hs(0x1,_0x380ba9(_0x405b62))],Ne);class Mr extends _0x55ef45{constructor(){const _0x2a5c30=_0xb7df44;super(...arguments),g(this,_0x2a5c30(0x329),new Map());}['dispose'](){const _0x397841=_0xb7df44;this[_0x397841(0x329)][_0x397841(0x1b6)]();}[_0xb7df44(0x1f0)](_0x122896){const _0x3d22e9=_0xb7df44;this['_members'][_0x3d22e9(0x1f3)](_0x122896[_0x3d22e9(0x446)],_0x122896);}[_0xb7df44(0x1c7)](_0x3435a6){const _0x391e3f=_0xb7df44;this['_members'][_0x391e3f(0x37f)](_0x3435a6);}[_0xb7df44(0x18c)](_0x594077){return this['_members']['get'](_0x594077);}[_0xb7df44(0x2de)](){const _0x2bbbe1=_0xb7df44;return Array[_0x2bbbe1(0x537)](this[_0x2bbbe1(0x329)][_0x2bbbe1(0x252)]());}}var xr=Object[_0xb7df44(0x441)],Lr=Object[_0xb7df44(0x250)],$r=(_0x25b7d7,_0x5b86ab,_0x56b37a,_0x19b700)=>{for(var _0xe322df=_0x19b700>0x1?void 0x0:_0x19b700?Lr(_0x5b86ab,_0x56b37a):_0x5b86ab,_0x550e15=_0x25b7d7['length']-0x1,_0x1096ac;_0x550e15>=0x0;_0x550e15--)(_0x1096ac=_0x25b7d7[_0x550e15])&&(_0xe322df=(_0x19b700?_0x1096ac(_0x5b86ab,_0x56b37a,_0xe322df):_0x1096ac(_0xe322df))||_0xe322df);return _0x19b700&&_0xe322df&&xr(_0x5b86ab,_0x56b37a,_0xe322df),_0xe322df;},Ee=(_0x3e982e,_0x4a4a65)=>(_0x109d50,_0x437400)=>_0x4a4a65(_0x109d50,_0x437400,_0x3e982e),ve=(_0xf6fef6=>(_0xf6fef6[_0xf6fef6['IDLE']=0x0]='IDLE',_0xf6fef6[_0xf6fef6['JOINING']=0x1]=_0xb7df44(0x542),_0xf6fef6[_0xf6fef6[_0xb7df44(0x4ed)]=0x2]=_0xb7df44(0x4ed),_0xf6fef6[_0xf6fef6[_0xb7df44(0x372)]=0x3]='ONLINE',_0xf6fef6))(ve||{});let ts=class extends _0x3431ab{constructor(_0x77dae8,_0x5c3eb0,_0x1e8d1e,_0x3bb5ce,_0x89b6e8,_0x1b9c5d,_0x59bc8e,_0x4bf33d,_0x3984c1,_0x563f7b){const _0x2c78bb=_0xb7df44;super(),g(this,'_sessionStatus$',new _0x230431(0x0)),g(this,_0x2c78bb(0x27b),this[_0x2c78bb(0x512)][_0x2c78bb(0x234)]()),g(this,'_event$',new _0xbbcc86()),g(this,_0x2c78bb(0x507),this[_0x2c78bb(0x1af)][_0x2c78bb(0x234)]()),g(this,'_socket'),g(this,_0x2c78bb(0x510)),g(this,_0x2c78bb(0x4a5)),g(this,_0x2c78bb(0x44d),!0x1),g(this,_0x2c78bb(0x2af),null),(this[_0x2c78bb(0x3e4)]=_0x77dae8,this[_0x2c78bb(0x362)]=_0x1e8d1e,this[_0x2c78bb(0x30a)]=_0x3bb5ce,this[_0x2c78bb(0x490)]=_0x89b6e8,this[_0x2c78bb(0x216)]=_0x1b9c5d,this['_localeService']=_0x59bc8e,this[_0x2c78bb(0x503)]=_0x4bf33d,this[_0x2c78bb(0x568)]=_0x3984c1,this[_0x2c78bb(0x3d3)]=_0x563f7b,this[_0x2c78bb(0x44d)]=!!this['_telemetryService'],_0x5c3eb0[_0x2c78bb(0x51d)](_0x5c3c82(this[_0x2c78bb(0x561)]))['subscribe'](_0x171e1a=>{const _0x1a6a12=_0x2c78bb;var _0x1a2d33;typeof _0x171e1a>'u'||(this[_0x1a6a12(0x552)]=_0x171e1a,_0x171e1a?(this[_0x1a6a12(0x196)](_0x171e1a),this[_0x1a6a12(0x510)]=_0x171e1a[_0x1a6a12(0x360)]['subscribe'](_0x149b4b=>{const _0x3c17f9=_0x1a6a12;_0x149b4b['routeKey']===this[_0x3c17f9(0x3e4)]&&this[_0x3c17f9(0x4c2)](_0x149b4b);})):(this[_0x1a6a12(0x461)](),this['_sessionStatus$'][_0x1a6a12(0x28b)](0x2),(_0x1a2d33=this[_0x1a6a12(0x510)])==null||_0x1a2d33[_0x1a6a12(0x1d6)](),this[_0x1a6a12(0x510)]=null));}),this[_0x2c78bb(0x55a)](this[_0x2c78bb(0x30a)][_0x2c78bb(0x4f0)](()=>{const _0x1a6134=_0x2c78bb;var _0x2253a5;(_0x2253a5=this[_0x1a6134(0x552)])==null||_0x2253a5[_0x1a6134(0x413)]({'cmd':W[_0x1a6134(0x338)],'data':{'roomID':this[_0x1a6134(0x3e4)]}});})));}get[_0xb7df44(0x2e4)](){const _0x4c4440=_0xb7df44;return this[_0x4c4440(0x512)][_0x4c4440(0x1b9)]();}[_0xb7df44(0x1e7)](){const _0x34c0b5=_0xb7df44;var _0x3c0a90,_0x56d5f2;return(_0x56d5f2=(_0x3c0a90=this[_0x34c0b5(0x552)])==null?void 0x0:_0x3c0a90['memberID'])!=null?_0x56d5f2:null;}[_0xb7df44(0x211)](){const _0x540c1a=_0xb7df44;super[_0x540c1a(0x211)](),this['dispose$'][_0x540c1a(0x28b)](),this[_0x540c1a(0x561)][_0x540c1a(0x225)]();}[_0xb7df44(0x3c3)](){const _0x878110=_0xb7df44;var _0xa4da04,_0x382c83;this['_throwTelemetryCollaborationNewChangeset'](),(_0xa4da04=this[_0x878110(0x552)])==null||_0xa4da04['send']({'cmd':W[_0x878110(0x338)],'data':{'roomID':this['_unitID']}}),(_0x382c83=this[_0x878110(0x552)])==null||_0x382c83[_0x878110(0x3c3)](),this[_0x878110(0x1af)]['complete'](),this['_sessionStatus$'][_0x878110(0x225)](),this[_0x878110(0x211)]();}['_onCombEvent'](_0x55d93e){const _0x340504=_0xb7df44;_0x55d93e[_0x340504(0x25d)]===W[_0x340504(0x224)]?this['_onJoinRoomEvent'](_0x55d93e):_0x55d93e['cmd']===W[_0x340504(0x22b)]&&this[_0x340504(0x21d)](_0x55d93e);}[_0xb7df44(0x196)](_0x5a8a74){const _0x153ee8=_0xb7df44;this[_0x153ee8(0x512)][_0x153ee8(0x28b)](0x1),_0x5a8a74['send']({'cmd':W[_0x153ee8(0x224)],'routeKey':this['_unitID'],'routeType':'','data':{'rooms':[{'roomID':this[_0x153ee8(0x3e4)]}]}});}[_0xb7df44(0x3c2)](_0x42352a){const _0x281ec4=_0xb7df44;var _0x233d8b;if(_0x42352a[_0x281ec4(0x389)]===Is['FAIL']){this[_0x281ec4(0x490)][_0x281ec4(0x39d)]({'type':_0x4bff77[_0x281ec4(0x2f4)],'content':this['_localeService']['t']('session.room-full')}),this[_0x281ec4(0x512)][_0x281ec4(0x28b)](0x2);return;}this[_0x281ec4(0x512)]['next'](0x3);const _0x35cddb=(_0x233d8b=_0x42352a[_0x281ec4(0x32a)][_0x281ec4(0x4c5)][this['_unitID']])==null?void 0x0:_0x233d8b[_0x281ec4(0x484)];_0x35cddb&&_0x35cddb[_0x281ec4(0x3d9)](_0x1afcc4=>this[_0x281ec4(0x503)][_0x281ec4(0x1f0)](this[_0x281ec4(0x3e4)],_0x1afcc4));}[_0xb7df44(0x21d)](_0x83b63a){const _0x34af4c=_0xb7df44;try{const _0x3e67fa=_0x83b63a[_0x34af4c(0x32a)];switch(_0x3e67fa['eventID']){case _0x5104a7[_0x34af4c(0x2ac)]:this[_0x34af4c(0x41e)](_0x3e67fa),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x20d)]:this['_onUserLeave'](_0x3e67fa),this[_0x34af4c(0x1af)]['next'](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x530)]:case _0x5104a7[_0x34af4c(0x540)]:this[_0x34af4c(0x2d6)](),this[_0x34af4c(0x3db)](),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x4db)]:this[_0x34af4c(0x362)][_0x34af4c(0x1d7)](_0x34af4c(0x1a2)+JSON[_0x34af4c(0x41d)](_0x3e67fa)),this['_event$'][_0x34af4c(0x28b)](_0x3e67fa);break;case _0x5104a7[_0x34af4c(0x4b8)]:this['_commentService'][_0x34af4c(0x20f)](_0x3e67fa['data']),this[_0x34af4c(0x1af)][_0x34af4c(0x28b)](_0x3e67fa);break;default:this['_event$'][_0x34af4c(0x28b)](_0x3e67fa);}}catch(_0x413cd9){this[_0x34af4c(0x362)][_0x34af4c(0x1d7)](_0x413cd9,_0x83b63a);}}[_0xb7df44(0x41e)](_0x3ae546){const _0x928b63=_0xb7df44;this[_0x928b63(0x503)][_0x928b63(0x1f0)](this[_0x928b63(0x3e4)],_0x3ae546[_0x928b63(0x32a)]);}[_0xb7df44(0x33d)](_0x1801d1){const _0x52cb32=_0xb7df44;this[_0x52cb32(0x503)]['removeMember'](this['_unitID'],_0x1801d1[_0x52cb32(0x32a)][_0x52cb32(0x446)]);}async['send'](_0x447515,_0x4e4ce9){const _0x188d7a=_0xb7df44;if(this[_0x188d7a(0x2e4)]!==0x3||!this[_0x188d7a(0x552)])throw new Error(_0x188d7a(0x260));try{_0x447515[_0x188d7a(0x306)]===_0x5104a7[_0x188d7a(0x3ac)]&&(this[_0x188d7a(0x477)](),this['_startTelemetryCollaborationNewChangeset'](_0x447515)),this[_0x188d7a(0x552)][_0x188d7a(0x413)]({'cmd':W[_0x188d7a(0x4c7)],'routeKey':_0x4e4ce9,'routeType':'','data':_0x447515});}catch(_0x390416){this['_logService']['error'](_0x390416);}}[_0xb7df44(0x477)](){const _0x393516=_0xb7df44;var _0x443ab4;this[_0x393516(0x4a5)]=window[_0x393516(0x38a)](()=>{const _0x6035cc=_0x393516;this[_0x6035cc(0x4a5)]=null,this[_0x6035cc(0x490)][_0x6035cc(0x39d)]({'type':_0x4bff77[_0x6035cc(0x24b)],'content':this[_0x6035cc(0x51b)]['t'](_0x6035cc(0x1e4))});},(_0x443ab4=this['_configService']['getConfig'](bi))!=null?_0x443ab4:Ti);}[_0xb7df44(0x3db)](){const _0x28f58b=_0xb7df44;this[_0x28f58b(0x4a5)]&&(clearTimeout(this[_0x28f58b(0x4a5)]),this[_0x28f58b(0x4a5)]=null);}[_0xb7df44(0x1ca)](_0x95c48f){const _0x153620=_0xb7df44;if(!this[_0x153620(0x44d)])return;const {data:_0x5116ed}=_0x95c48f,{unitID:_0x477146,changeset:_0x23c278}=_0x5116ed,{mutations:_0x7ca9c6,type:_0xdda87e}=_0x23c278;this['_telemetryInfo']={'unitId':_0x477146,'type':_0xdda87e,'startTime':performance[_0x153620(0x349)](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x7ca9c6)};}[_0xb7df44(0x2d6)](){const _0x415953=_0xb7df44;if(this[_0x415953(0x44d)]){if(!this[_0x415953(0x2af)]){this['_logService'][_0x415953(0x1d7)](_0x415953(0x3f1),_0x415953(0x32d));return;}this['_telemetryInfo']['stopTime']=performance[_0x415953(0x349)](),this[_0x415953(0x2af)][_0x415953(0x53e)]=this[_0x415953(0x2af)][_0x415953(0x393)]-this[_0x415953(0x2af)][_0x415953(0x544)],this['_telemetryService'][_0x415953(0x451)](Dr,this['_telemetryInfo']),this[_0x415953(0x2af)]=null;}}[_0xb7df44(0x461)](){const _0x1a3429=_0xb7df44;this[_0x1a3429(0x2af)]=null;}};ts=$r([Ee(0x2,_0x23bd67),Ee(0x3,_0x184a05),Ee(0x4,_0xff713e),Ee(0x5,_0x25a779),Ee(0x6,_0x380ba9(_0x5ccb65)),Ee(0x7,_0x380ba9(Ne)),Ee(0x8,_0x380ba9(wi)),Ee(0x9,_0xdde8b7(_0x229b64))],ts);var Hr=Object['defineProperty'],jr=Object[_0xb7df44(0x250)],Br=(_0x3da869,_0x57c177,_0x3f4e9f,_0x1664ca)=>{for(var _0x68d374=_0x1664ca>0x1?void 0x0:_0x1664ca?jr(_0x57c177,_0x3f4e9f):_0x57c177,_0x59f957=_0x3da869['length']-0x1,_0x28be00;_0x59f957>=0x0;_0x59f957--)(_0x28be00=_0x3da869[_0x59f957])&&(_0x68d374=(_0x1664ca?_0x28be00(_0x57c177,_0x3f4e9f,_0x68d374):_0x28be00(_0x68d374))||_0x68d374);return _0x1664ca&&_0x68d374&&Hr(_0x57c177,_0x3f4e9f,_0x68d374),_0x68d374;},je=(_0x3a46d7,_0x37c66f)=>(_0x296fec,_0x55bd3c)=>_0x37c66f(_0x296fec,_0x55bd3c,_0x3a46d7);let Ae=class extends _0x55ef45{constructor(_0x22030a,_0x5e7d76,_0x177499,_0xa7d91e,_0x17164b,_0x178342){const _0x5897b1=_0xb7df44;super(),g(this,_0x5897b1(0x2c1),new _0x230431(void 0x0)),g(this,_0x5897b1(0x311),this['_socket$'][_0x5897b1(0x234)]()),g(this,'_candidateSocket',null),g(this,_0x5897b1(0x47d),new Map()),g(this,'_status$',new _0x230431(ve['IDLE'])),g(this,_0x5897b1(0x281),this['_status$'][_0x5897b1(0x234)]()),g(this,'_socketReady',!0x1),g(this,_0x5897b1(0x262)),g(this,_0x5897b1(0x3ae),0x0),g(this,_0x5897b1(0x42e)),g(this,_0x5897b1(0x1bb)),(this['_injector']=_0x22030a,this[_0x5897b1(0x51b)]=_0x5e7d76,this[_0x5897b1(0x490)]=_0x177499,this[_0x5897b1(0x362)]=_0xa7d91e,this[_0x5897b1(0x216)]=_0x17164b,this[_0x5897b1(0x397)]=_0x178342,this[_0x5897b1(0x361)]());}get['_socket'](){const _0x1c5aac=_0xb7df44;return this[_0x1c5aac(0x2c1)][_0x1c5aac(0x1b9)]();}[_0xb7df44(0x361)](){const _0x246cc3=_0xb7df44;this[_0x246cc3(0x41c)](),this[_0x246cc3(0x363)]();}[_0xb7df44(0x211)](){const _0x212ade=_0xb7df44;super[_0x212ade(0x211)](),this[_0x212ade(0x47d)][_0x212ade(0x3d9)](_0x4832fe=>_0x4832fe[_0x212ade(0x211)]()),this[_0x212ade(0x47d)][_0x212ade(0x1b6)](),this[_0x212ade(0x445)]['complete']();}async[_0xb7df44(0x4d8)](_0x3681cc){const _0x5b52f7=_0xb7df44;if(this[_0x5b52f7(0x47d)]['has'](_0x3681cc))return this['_sessions']['get'](_0x3681cc);this[_0x5b52f7(0x2ee)]();const _0x4acbf0=this[_0x5b52f7(0x526)][_0x5b52f7(0x3fe)](ts,_0x3681cc,this['_socket$'][_0x5b52f7(0x234)]());return this[_0x5b52f7(0x47d)][_0x5b52f7(0x1f3)](_0x3681cc,_0x4acbf0),_0x4acbf0;}[_0xb7df44(0x254)](_0x1c1077){const _0xe3343d=_0xb7df44;var _0x3b62e4;const _0x1f6edf=this[_0xe3343d(0x47d)][_0xe3343d(0x339)](_0x1c1077);_0x1f6edf&&(this['_sessions'][_0xe3343d(0x37f)](_0x1c1077),_0x1f6edf['close']()),this['_sessions'][_0xe3343d(0x548)]||(_0x3b62e4=this[_0xe3343d(0x552)])==null||_0x3b62e4[_0xe3343d(0x3c3)]();}[_0xb7df44(0x1a3)](){const _0x404738=_0xb7df44;this[_0x404738(0x3ae)]=0x0,this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x404738(0x262)]),this[_0x404738(0x262)]=null),this[_0x404738(0x459)]();}[_0xb7df44(0x2e8)](){const _0x451922=_0xb7df44;var _0x345438,_0x1f9508;const _0x214a83=this[_0x451922(0x216)][_0x451922(0x2b8)](hr),_0x461c10=this[_0x451922(0x216)][_0x451922(0x2b8)](ie),_0xba608a=(_0x1f9508=(_0x345438=_0x461c10==null?void 0x0:_0x461c10['collabWebSocketUrl'])!=null?_0x345438:_0x214a83)!=null?_0x1f9508:lr,_0x19c1d2=this['_socketService'][_0x451922(0x48f)](_0xba608a);return this[_0x451922(0x1c3)]=_0x19c1d2,_0x19c1d2;}['_tryEnsureSocket'](){const _0x4c7cc0=_0xb7df44;var _0x25ec85,_0x3b7e03;try{const _0x36afce=(_0x3b7e03=(_0x25ec85=this[_0x4c7cc0(0x552)])!=null?_0x25ec85:this[_0x4c7cc0(0x1c3)])!=null?_0x3b7e03:this[_0x4c7cc0(0x2e8)]();if(_0x36afce){const _0x5c86a2=_0x36afce[_0x4c7cc0(0x413)];_0x36afce['send']=_0xd3a46b=>(this[_0x4c7cc0(0x3c6)](),_0x5c86a2['apply'](_0x36afce,[_0xd3a46b])),_0x36afce[_0x4c7cc0(0x360)]['subscribe'](_0x827157=>this[_0x4c7cc0(0x4bd)](_0x36afce,_0x827157)),_0x36afce[_0x4c7cc0(0x48e)]['pipe'](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](_0x277c95=>this['_logService'][_0x4c7cc0(0x1d7)](_0x4c7cc0(0x4c8),_0x277c95)),_0x36afce[_0x4c7cc0(0x43b)][_0x4c7cc0(0x51d)](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](()=>{const _0x1153d4=_0x4c7cc0;this[_0x1153d4(0x4d3)](_0x36afce);}),_0x36afce[_0x4c7cc0(0x22a)][_0x4c7cc0(0x51d)](_0x481ad1(0x1))[_0x4c7cc0(0x41a)](_0x2132fa=>{const _0x321c91=_0x4c7cc0;this['_logService'][_0x321c91(0x20c)](_0x321c91(0x369),_0x321c91(0x520),_0x2132fa),this[_0x321c91(0x414)]();});}}catch(_0x1e469){this[_0x4c7cc0(0x362)][_0x4c7cc0(0x1d7)](_0x1e469),this[_0x4c7cc0(0x414)]();}}[_0xb7df44(0x4d3)](_0x1d7ad3){const _0x387339=_0xb7df44;this[_0x387339(0x362)][_0x387339(0x20c)](_0x387339(0x369),_0x387339(0x37d)),_0x1d7ad3[_0x387339(0x413)]({'cmd':W[_0x387339(0x50d)]}),this[_0x387339(0x3c6)]();}['_listenToOfflineEvent'](){const _0x40f317=_0xb7df44;window['addEventListener'](_0x40f317(0x43f),()=>this[_0x40f317(0x184)]());}[_0xb7df44(0x184)](){const _0x3df46b=_0xb7df44;this[_0x3df46b(0x44a)]=!0x1,this[_0x3df46b(0x1c3)]=null,this[_0x3df46b(0x445)][_0x3df46b(0x28b)](ve['OFFLINE']),this[_0x3df46b(0x2c1)]['next'](null),this['_clearTimeoutTimer'](),this[_0x3df46b(0x34a)]();}[_0xb7df44(0x414)](){const _0x1c9c1e=_0xb7df44;var _0x36662a;this[_0x1c9c1e(0x184)](),this[_0x1c9c1e(0x3ae)]<((_0x36662a=this[_0x1c9c1e(0x216)][_0x1c9c1e(0x2b8)](fr))!=null?_0x36662a:vr)?(this[_0x1c9c1e(0x490)][_0x1c9c1e(0x39d)]({'key':_0x1c9c1e(0x1e3),'type':_0x4bff77[_0x1c9c1e(0x2f4)],'content':this[_0x1c9c1e(0x51b)]['t'](_0x1c9c1e(0x547))}),this[_0x1c9c1e(0x459)]()):this[_0x1c9c1e(0x490)][_0x1c9c1e(0x39d)]({'key':_0x1c9c1e(0x1e3),'type':_0x4bff77[_0x1c9c1e(0x24b)],'content':this['_localeService']['t'](_0x1c9c1e(0x46e))});}['_listenToOnlineEvent'](){const _0x3fb506=_0xb7df44,_0x1910e6=()=>{const _0x1a3f05=_0x16eb;this[_0x1a3f05(0x552)]||this[_0x1a3f05(0x1a3)]();},_0x4a7716=()=>{const _0x4c0480=_0x16eb;this[_0x4c0480(0x552)]||document[_0x4c0480(0x30d)]===_0x4c0480(0x49b)||this[_0x4c0480(0x1a3)]();};window['addEventListener']('online',_0x1910e6),document[_0x3fb506(0x2c9)](_0x3fb506(0x4e3),_0x4a7716);}['_tryReconnect'](){const _0x22d557=_0xb7df44;var _0x268d2b;const _0x122733=this['_retryCount'],_0x948d21=this['_configService']['getConfig'](ie),_0x31a494=_0x122733===0x0?0x0:((_0x268d2b=_0x948d21==null?void 0x0:_0x948d21[_0x22d557(0x2a0)])!=null?_0x268d2b:dr)*0x2**_0x122733;this[_0x22d557(0x262)]=window[_0x22d557(0x38a)](()=>{const _0x486dce=_0x22d557;clearTimeout(this[_0x486dce(0x262)]),this[_0x486dce(0x262)]=null,this[_0x486dce(0x2ee)]();},_0x31a494),this[_0x22d557(0x3ae)]+=0x1;}[_0xb7df44(0x4bd)](_0x3e1051,_0x3dfb60){const _0x569633=_0xb7df44,{cmd:_0x122132}=_0x3dfb60;_0x122132===W['HELLO']&&!this[_0x569633(0x44a)]&&(_0x3e1051[_0x569633(0x446)]=_0x3dfb60[_0x569633(0x32a)][_0x569633(0x446)],this[_0x569633(0x2c1)][_0x569633(0x28b)](_0x3e1051),this[_0x569633(0x445)][_0x569633(0x28b)](ve[_0x569633(0x372)]),this['_socketReady']=!0x0,this[_0x569633(0x1c3)]=null),_0x122132===W[_0x569633(0x434)]&&this[_0x569633(0x4dd)](),this[_0x569633(0x3c6)]();}[_0xb7df44(0x3c6)](){const _0x4ea7b2=_0xb7df44;var _0x2431ad;this[_0x4ea7b2(0x34a)](),this['_sendHeartbeatTimer']=window[_0x4ea7b2(0x38a)](()=>this[_0x4ea7b2(0x3be)](),(_0x2431ad=this[_0x4ea7b2(0x216)][_0x4ea7b2(0x2b8)](_r))!=null?_0x2431ad:ur);}[_0xb7df44(0x3be)](){const _0x129489=_0xb7df44;this[_0x129489(0x552)][_0x129489(0x413)]({'cmd':W[_0x129489(0x434)]}),this[_0x129489(0x387)]();}[_0xb7df44(0x387)](){const _0x36a315=_0xb7df44;var _0x468598;this['_timeoutTimer']=window[_0x36a315(0x38a)](()=>this[_0x36a315(0x414)](),(_0x468598=this[_0x36a315(0x216)][_0x36a315(0x2b8)](bi))!=null?_0x468598:Ti);}[_0xb7df44(0x34a)](){const _0x1ea786=_0xb7df44;this[_0x1ea786(0x42e)]!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this['_sendHeartbeatTimer']=null);}[_0xb7df44(0x4dd)](){const _0x16dda2=_0xb7df44;this['_timeoutTimer']!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x16dda2(0x1bb)]=null);}};Ae=Br([je(0x0,_0x380ba9(_0x41c43c)),je(0x1,_0x380ba9(_0x5ccb65)),je(0x2,_0xff713e),je(0x3,_0x23bd67),je(0x4,_0x25a779),je(0x5,Oi)],Ae);var Y=[];for(var Nt=0x0;Nt<0x100;++Nt)Y[_0xb7df44(0x1c5)]((Nt+0x100)['toString'](0x10)[_0xb7df44(0x230)](0x1));function kr(_0x5b89ad,_0x12c1ce=0x0){const _0x1328c7=_0xb7df44;return(Y[_0x5b89ad[_0x12c1ce+0x0]]+Y[_0x5b89ad[_0x12c1ce+0x1]]+Y[_0x5b89ad[_0x12c1ce+0x2]]+Y[_0x5b89ad[_0x12c1ce+0x3]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x4]]+Y[_0x5b89ad[_0x12c1ce+0x5]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x6]]+Y[_0x5b89ad[_0x12c1ce+0x7]]+'-'+Y[_0x5b89ad[_0x12c1ce+0x8]]+Y[_0x5b89ad[_0x12c1ce+0x9]]+'-'+Y[_0x5b89ad[_0x12c1ce+0xa]]+Y[_0x5b89ad[_0x12c1ce+0xb]]+Y[_0x5b89ad[_0x12c1ce+0xc]]+Y[_0x5b89ad[_0x12c1ce+0xd]]+Y[_0x5b89ad[_0x12c1ce+0xe]]+Y[_0x5b89ad[_0x12c1ce+0xf]])[_0x1328c7(0x57c)]();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0x1ab843=_0xb7df44;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0x1ab843(0x38e)]&&crypto[_0x1ab843(0x38e)][_0x1ab843(0x23f)](crypto),!ct))throw new Error(_0x1ab843(0x285));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0xb7df44(0x1d2)]&&crypto[_0xb7df44(0x1d2)][_0xb7df44(0x23f)](crypto);const js={'randomUUID':Vr};function Gr(_0x25b798,_0x54022b,_0x50e10b){const _0x3f8874=_0xb7df44;if(js[_0x3f8874(0x1d2)]&&!_0x54022b&&!_0x25b798)return js[_0x3f8874(0x1d2)]();_0x25b798=_0x25b798||{};var _0x56d04b=_0x25b798['random']||(_0x25b798[_0x3f8874(0x273)]||Fr)();return _0x56d04b[0x6]=_0x56d04b[0x6]&0xf|0x40,_0x56d04b[0x8]=_0x56d04b[0x8]&0x3f|0x80,kr(_0x56d04b);}var Yr=Object[_0xb7df44(0x441)],Kr=Object[_0xb7df44(0x250)],zr=(_0x28f3f2,_0x500ceb,_0x24abc,_0x33761f)=>{const _0x2f5ed1=_0xb7df44;for(var _0x44bf71=_0x33761f>0x1?void 0x0:_0x33761f?Kr(_0x500ceb,_0x24abc):_0x500ceb,_0xfeecf7=_0x28f3f2[_0x2f5ed1(0x3f7)]-0x1,_0x5256be;_0xfeecf7>=0x0;_0xfeecf7--)(_0x5256be=_0x28f3f2[_0xfeecf7])&&(_0x44bf71=(_0x33761f?_0x5256be(_0x500ceb,_0x24abc,_0x44bf71):_0x5256be(_0x44bf71))||_0x44bf71);return _0x33761f&&_0x44bf71&&Yr(_0x500ceb,_0x24abc,_0x44bf71),_0x44bf71;},At=(_0x33805f,_0x2d4e13)=>(_0x1cb042,_0x5668f2)=>_0x2d4e13(_0x1cb042,_0x5668f2,_0x33805f);let vt=class{constructor(_0x57eb34,_0x3ac9e0,_0x245579){const _0x400c38=_0xb7df44;this[_0x400c38(0x526)]=_0x57eb34,this[_0x400c38(0x242)]=_0x3ac9e0,this[_0x400c38(0x29f)]=_0x245579;}[_0xb7df44(0x1e8)](_0xf909c){const _0x1da954=_0xb7df44;this['_transformUndoRedoStack'](_0xf909c),this[_0x1da954(0x4af)](_0xf909c);}['transformRemoteChangeset'](_0x118bd3){const _0xfcf02f=_0xb7df44,{unitID:_0x2fc362}=_0x118bd3,_0x52d2e8=this['_renderManagerService'][_0xfcf02f(0x341)](_0x2fc362)[_0xfcf02f(0x213)](_0x337a72),{redoCache:_0xa0cb97}=_0x52d2e8[_0xfcf02f(0x328)]();if(_0xa0cb97[_0xfcf02f(0x3f7)]===0x0)return _0x118bd3;let _0xcc990e=_0xb81a94[_0xfcf02f(0x463)](_0x118bd3[_0xfcf02f(0x27c)][0x0]);for(let _0x27b70f=0x0;_0x27b70f<_0xa0cb97['length'];_0x27b70f++){const _0x169a72={'id':_0xfcf02f(0x4d7),'params':{..._0xa0cb97[_0x27b70f]}},_0x565c94=this['_transformService'][_0xfcf02f(0x253)](_0xcc990e,_0x169a72,!0x1);if(_0x51b7ca(_0x565c94))throw _0x565c94['error'];_0xcc990e=_0x565c94[_0xfcf02f(0x427)];}return{..._0xb81a94[_0xfcf02f(0x463)](_0x118bd3),'mutations':[_0xcc990e]};}[_0xb7df44(0x2c5)](_0x541692){const _0x5c0a96=_0xb7df44,{unitID:_0x46c726}=_0x541692,_0x4e81ec=this[_0x5c0a96(0x29f)]['getRenderById'](_0x46c726)[_0x5c0a96(0x213)](_0x337a72),{undoCache:_0x5d14fa,redoCache:_0x24534e}=_0x4e81ec[_0x5c0a96(0x328)]();if(_0x5d14fa[_0x5c0a96(0x3f7)]===0x0||_0x24534e[_0x5c0a96(0x3f7)]===0x0)return;const _0x548e18=[],_0x27dfb2=[];let _0x537beb=_0xb81a94[_0x5c0a96(0x463)](_0x541692[_0x5c0a96(0x27c)][0x0]),_0x1b061a=_0xb81a94['deepClone'](_0x541692[_0x5c0a96(0x27c)][0x0]);for(let _0x3be3ba=_0x5d14fa[_0x5c0a96(0x3f7)]-0x1;_0x3be3ba>=0x0;_0x3be3ba--){const _0x14d1ae={'id':_0x5c0a96(0x4d7),'params':{..._0x5d14fa[_0x3be3ba]}},_0xa6e7de={'id':_0x5c0a96(0x4d7),'params':{..._0x24534e[_0x3be3ba]}},_0x48f078=this[_0x5c0a96(0x242)][_0x5c0a96(0x253)](_0x537beb,_0x14d1ae,!0x1),_0x210242=this[_0x5c0a96(0x242)][_0x5c0a96(0x253)](_0x1b061a,_0xa6e7de,!0x1);if(_0x51b7ca(_0x48f078))throw _0x48f078[_0x5c0a96(0x1d7)];if(_0x51b7ca(_0x210242))throw _0x210242[_0x5c0a96(0x1d7)];_0x548e18[_0x5c0a96(0x4f6)](_0x48f078['m2Prime'][_0x5c0a96(0x494)]),_0x27dfb2[_0x5c0a96(0x4f6)](_0x210242[_0x5c0a96(0x4f7)][_0x5c0a96(0x494)]),_0x537beb=_0x48f078[_0x5c0a96(0x427)],_0x1b061a=_0x210242[_0x5c0a96(0x427)];}_0x4e81ec['setUndoRedoMutationParamsCache']({'undoCache':_0x548e18,'redoCache':_0x27dfb2});}[_0xb7df44(0x4af)](_0x4da1a2){const _0x38216a=_0xb7df44,{unitID:_0x4db035}=_0x4da1a2,_0x1600b4=this[_0x38216a(0x29f)][_0x38216a(0x341)](_0x4db035)['with'](_0x337a72),_0x34e84a=_0x1600b4[_0x38216a(0x424)]();if(_0x34e84a==null)return;const _0x24d37c=[{'id':_0x38216a(0x4d7),'params':{'unitId':_0x4da1a2['unitID'],'actions':null,'textRanges':[_0x34e84a]}}],_0x4b1b20=this[_0x38216a(0x242)]['transformMutationsWithChangeset'](_0x4da1a2,_0x24d37c);if(!_0x3aa1c2(_0x4b1b20))throw _0x4b1b20['error'];const _0x9e3988=_0x4b1b20[_0x38216a(0x4f7)][0x0][_0x38216a(0x494)][_0x38216a(0x233)];Array[_0x38216a(0x340)](_0x9e3988)&&_0x9e3988[_0x38216a(0x3f7)]&&_0x1600b4[_0x38216a(0x29e)](_0x9e3988[0x0]);}};vt=zr([At(0x0,_0x380ba9(_0x41c43c)),At(0x1,_0x5dcca2),At(0x2,_0x2618ce)],vt);var qr=Object[_0xb7df44(0x441)],Xr=Object[_0xb7df44(0x250)],Jr=(_0x3586fa,_0x5a04ee,_0x561411,_0x3c51ed)=>{const _0x386921=_0xb7df44;for(var _0x1f577a=_0x3c51ed>0x1?void 0x0:_0x3c51ed?Xr(_0x5a04ee,_0x561411):_0x5a04ee,_0x550d8e=_0x3586fa[_0x386921(0x3f7)]-0x1,_0x179b9c;_0x550d8e>=0x0;_0x550d8e--)(_0x179b9c=_0x3586fa[_0x550d8e])&&(_0x1f577a=(_0x3c51ed?_0x179b9c(_0x5a04ee,_0x561411,_0x1f577a):_0x179b9c(_0x1f577a))||_0x1f577a);return _0x3c51ed&&_0x1f577a&&qr(_0x5a04ee,_0x561411,_0x1f577a),_0x1f577a;},Xe=(_0x18e402,_0x2af490)=>(_0x3991f2,_0x9786ea)=>_0x2af490(_0x3991f2,_0x9786ea,_0x18e402);let q=class extends _0x55ef45{constructor(_0x3ee539,_0xbf4b81,_0x1b50b3,_0x4068d1,_0xdd31a7){const _0x2e6549=_0xb7df44;super(),g(this,_0x2e6549(0x3c5),new Map()),g(this,_0x2e6549(0x2d8),new Map()),g(this,_0x2e6549(0x433),!0x1),(this[_0x2e6549(0x216)]=_0x3ee539,this[_0x2e6549(0x2d4)]=_0xbf4b81,this[_0x2e6549(0x30a)]=_0x1b50b3,this[_0x2e6549(0x51b)]=_0x4068d1,this[_0x2e6549(0x2b1)]=_0xdd31a7,this[_0x2e6549(0x377)]());}['disableLocalCache'](){const _0x9f89e9=_0xb7df44;this[_0x9f89e9(0x433)]=!0x0;}['enableLocalCache'](){const _0x4ad1be=_0xb7df44;this[_0x4ad1be(0x433)]=!0x1;}[_0xb7df44(0x211)](){const _0x5e1882=_0xb7df44;this[_0x5e1882(0x56b)]()[_0x5e1882(0x4bc)](()=>super['dispose']());}async[_0xb7df44(0x492)](_0x9627d4){const _0x3d66de=_0xb7df44;return this[_0x3d66de(0x433)]?null:this[_0x3d66de(0x2d4)]['getItem'](Bs(_0x9627d4));}async['saveOfflineData'](_0x111515,_0x4b4dc9){const _0x4aee96=_0xb7df44;return!!this[_0x4aee96(0x2d4)]['setItem'](_0x111515,_0x4b4dc9);}[_0xb7df44(0x215)](_0x42e10e,_0x54d4a1,_0x3fd6e9,_0x3f9ad5){const _0x241838=_0xb7df44,_0x42b65d=this[_0x241838(0x2b1)][_0x241838(0x493)](_0x42e10e);this[_0x241838(0x3c5)][_0x241838(0x1f3)](_0x42e10e,{'unitID':_0x42e10e,'type':_0x54d4a1,'awaitingChangeset':_0x3fd6e9,'mutations':_0x3f9ad5,'rev':_0x42b65d}),this[_0x241838(0x2d8)][_0x241838(0x1df)](_0x42e10e)||this[_0x241838(0x3ab)](_0x42e10e);}[_0xb7df44(0x3ab)](_0x181537){const _0x4bed69=_0xb7df44,_0x209a76=this[_0x4bed69(0x336)]();_0x209a76===0x0?this['_saveCache'](_0x181537):this[_0x4bed69(0x2d8)][_0x4bed69(0x1f3)](_0x181537,setTimeout(()=>this[_0x4bed69(0x44b)](_0x181537),_0x209a76));}[_0xb7df44(0x336)](){const _0x20d823=_0xb7df44;var _0x470ee2;return(_0x470ee2=this[_0x20d823(0x216)][_0x20d823(0x2b8)](mr))!=null?_0x470ee2:pr;}['_saveCache'](_0x40e2ac){const _0x34a52c=_0xb7df44,_0xe980d0=this[_0x34a52c(0x2d8)][_0x34a52c(0x339)](_0x40e2ac);return _0xe980d0!==void 0x0&&window['clearTimeout'](_0xe980d0),this[_0x34a52c(0x2d4)][_0x34a52c(0x18b)](Bs(_0x40e2ac),this['_cachedData']['get'](_0x40e2ac))[_0x34a52c(0x4bc)](()=>this[_0x34a52c(0x2d8)][_0x34a52c(0x37f)](_0x40e2ac));}async[_0xb7df44(0x56b)](){const _0x15efc7=_0xb7df44,_0x1186c0=[];this[_0x15efc7(0x2d8)]['forEach']((_0x26c32f,_0x5923bf)=>{const _0x3f97d8=_0x15efc7;window[_0x3f97d8(0x1b4)](_0x26c32f),_0x1186c0[_0x3f97d8(0x1c5)](this[_0x3f97d8(0x44b)](_0x5923bf)[_0x3f97d8(0x4bc)](()=>{const _0x17ce7e=_0x3f97d8;this[_0x17ce7e(0x2d8)][_0x17ce7e(0x37f)](_0x5923bf);}));}),await Promise[_0x15efc7(0x55b)](_0x1186c0);}[_0xb7df44(0x377)](){const _0x1e557f=_0xb7df44;this[_0x1e557f(0x55a)](this['_beforeCloseService'][_0x1e557f(0x580)](()=>{const _0x33b5f8=_0x1e557f;if(this[_0x33b5f8(0x2d8)][_0x33b5f8(0x548)])return this['_localeService']['t'](_0x33b5f8(0x24c));}));}};q=Jr([Xe(0x0,_0x25a779),Xe(0x1,_0x3b6f9f),Xe(0x2,_0x184a05),Xe(0x3,_0x380ba9(_0x5ccb65)),Xe(0x4,_0x380ba9(_0x2ab1a0))],q);function Bs(_0x24af73){const _0x120233=_0xb7df44;return _0x120233(0x421)+_0x24af73;}var Zr=Object[_0xb7df44(0x441)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x9b01fa,_0xe90c1c,_0x40f8e3,_0x57cdc7)=>{for(var _0x45ebd0=_0x57cdc7>0x1?void 0x0:_0x57cdc7?Qr(_0xe90c1c,_0x40f8e3):_0xe90c1c,_0x6974e3=_0x9b01fa['length']-0x1,_0x5b476a;_0x6974e3>=0x0;_0x6974e3--)(_0x5b476a=_0x9b01fa[_0x6974e3])&&(_0x45ebd0=(_0x57cdc7?_0x5b476a(_0xe90c1c,_0x40f8e3,_0x45ebd0):_0x5b476a(_0x45ebd0))||_0x45ebd0);return _0x57cdc7&&_0x45ebd0&&Zr(_0xe90c1c,_0x40f8e3,_0x45ebd0),_0x45ebd0;},Mt=(_0x4da91b,_0xe532f4)=>(_0x527e99,_0x97d755)=>_0xe532f4(_0x527e99,_0x97d755,_0x4da91b);function to(_0x41254a){const _0x174830=_0xb7df44,{unitID:_0x2d3957,mutations:_0x4cc958}=_0x41254a;return{'unitId':_0x2d3957,'subUnitId':_0x4cc958[0x0]['params'][_0x174830(0x256)]};}let mt=class{constructor(_0x1a0381,_0x1a1756,_0x904ca5){const _0x286785=_0xb7df44;this[_0x286785(0x526)]=_0x1a0381,this[_0x286785(0x242)]=_0x1a1756,this[_0x286785(0x1a9)]=_0x904ca5;}[_0xb7df44(0x206)](_0x269f3c){const _0x1129a4=_0xb7df44;var _0xb8794d,_0x24b6cc,_0x33c787,_0x35e52d;const _0x326d8b=this[_0x1129a4(0x526)]['get'](_0x1412c1),{unitId:_0x18d1a3,subUnitId:_0x31280c}=to(_0x269f3c),_0x5ae792=_0x326d8b[_0x1129a4(0x354)](_0x18d1a3)[_0x1129a4(0x44e)](),_0x14c1b4=(_0x24b6cc=(_0xb8794d=this[_0x1129a4(0x1a9)][_0x1129a4(0x3b8)](_0x18d1a3))==null?void 0x0:_0xb8794d['getActiveSheet']())==null?void 0x0:_0x24b6cc[_0x1129a4(0x40a)]();if(_0x5ae792[_0x1129a4(0x3f7)]===0x0||!_0x18d1a3||!_0x31280c)return;const _0x96b072=[{'id':_0x357bb7['id'],'params':{'unitId':_0x18d1a3,'subUnitId':_0x14c1b4,'selections':_0xb81a94[_0x1129a4(0x463)](_0x5ae792)}}],_0x4bd97a=this[_0x1129a4(0x242)][_0x1129a4(0x3aa)](_0x269f3c,_0x96b072);if(!_0x3aa1c2(_0x4bd97a))throw _0x4bd97a[_0x1129a4(0x1d7)];const _0xf2c8d2=(_0x35e52d=(_0x33c787=_0x4bd97a[_0x1129a4(0x4f7)][0x0])==null?void 0x0:_0x33c787['params'])==null?void 0x0:_0x35e52d[_0x1129a4(0x4ff)];if(Array[_0x1129a4(0x340)](_0xf2c8d2)&&_0xf2c8d2[_0x1129a4(0x3f7)]){if(_0xf2c8d2[_0x1129a4(0x3f7)]===_0x96b072[0x0][_0x1129a4(0x494)][_0x1129a4(0x4ff)][_0x1129a4(0x3f7)]&&_0xf2c8d2[_0x1129a4(0x2cf)]((_0x3abc07,_0x28a0ac)=>_0x1d7a17[_0x1129a4(0x238)](_0x3abc07[_0x1129a4(0x4e9)],_0x96b072[0x0][_0x1129a4(0x494)][_0x1129a4(0x4ff)][_0x28a0ac][_0x1129a4(0x4e9)])))return;this[_0x1129a4(0x526)][_0x1129a4(0x339)](_0x461f8f)[_0x1129a4(0x567)](_0x357bb7['id'],{'unitId':_0x18d1a3,'subUnitId':_0x14c1b4,'selections':_0xf2c8d2});}}};mt=eo([Mt(0x0,_0x380ba9(_0x41c43c)),Mt(0x1,_0x5dcca2),Mt(0x2,_0xf81bb9)],mt);const yt=_0x36b00b(_0xb7df44(0x209));var Di=(_0x17018b=>(_0x17018b[_0x17018b[_0xb7df44(0x50b)]=0x0]=_0xb7df44(0x50b),_0x17018b[_0x17018b[_0xb7df44(0x189)]=0x1]=_0xb7df44(0x189),_0x17018b))(Di||{});const ks=0x7530,Ws=_0xb7df44(0x4ca);class so extends _0x55ef45{constructor(){const _0x182bb4=_0xb7df44;super(),g(this,_0x182bb4(0x240),_0xb81a94['generateRandomId']()),g(this,'_selfUnitIDs',new Set()),g(this,_0x182bb4(0x3c0),new Map()),g(this,_0x182bb4(0x2b7),null),g(this,_0x182bb4(0x41f),new Map()),g(this,'_unitStatus',new Map()),this[_0x182bb4(0x4a2)]();}['dispose'](){const _0x7677bb=_0xb7df44;super[_0x7677bb(0x211)](),this['_clearOtherTimers'][_0x7677bb(0x3d9)]((_0x103fd2,_0x6f4498)=>this[_0x7677bb(0x297)](_0x6f4498)),this[_0x7677bb(0x2b7)]&&window[_0x7677bb(0x344)](this[_0x7677bb(0x2b7)]);}[_0xb7df44(0x371)](_0x53371c){const _0x2d1044=_0xb7df44;return this[_0x2d1044(0x3f8)](_0x53371c)['pipe'](_0x2bb2de());}['editingUnit'](_0x304b4a){const _0x47388e=_0xb7df44;this[_0x47388e(0x472)]['size']===0x0&&this[_0x47388e(0x1e1)](),this[_0x47388e(0x472)][_0x47388e(0x364)](_0x304b4a),this[_0x47388e(0x449)]({'type':0x0,'memberID':this[_0x47388e(0x240)],'unitIDs':[_0x304b4a],'isForwarded':!0x1});}[_0xb7df44(0x32f)](_0x18a937){const _0x4f69b0=_0xb7df44;this[_0x4f69b0(0x472)][_0x4f69b0(0x37f)](_0x18a937),this[_0x4f69b0(0x472)][_0x4f69b0(0x548)]===0x0&&this[_0x4f69b0(0x2b7)]&&window[_0x4f69b0(0x344)](this[_0x4f69b0(0x2b7)]);}[_0xb7df44(0x4a2)](){const _0x52f295=_0xb7df44;this[_0x52f295(0x55a)](_0x1ae8eb(_0xb50e9(window,_0x52f295(0x572))[_0x52f295(0x41a)](_0x23272d=>{const _0x534e07=_0x52f295;if(_0x23272d[_0x534e07(0x574)]!==Ws||!_0x23272d[_0x534e07(0x21c)])return;const _0x86ef44=JSON[_0x534e07(0x272)](_0x23272d[_0x534e07(0x21c)]);this['_handleEvent'](_0x86ef44);}))),window[_0x52f295(0x2c9)](_0x52f295(0x597),()=>this['_send']({'type':0x1,'memberID':this[_0x52f295(0x240)],'unitIDs':Array[_0x52f295(0x537)](this[_0x52f295(0x472)])}));}[_0xb7df44(0x51a)](_0x160a98){const _0x4ebee3=_0xb7df44;switch(_0x160a98['type']){case 0x0:this['_handleJoinEvent'](_0x160a98);break;case 0x1:this['_handleLeaveEvent'](_0x160a98);break;case 0x2:this[_0x4ebee3(0x18d)](_0x160a98);break;}}['_handleJoinEvent'](_0x5ee748){const _0x4c62fd=_0xb7df44,{unitIDs:_0x155654,memberID:_0x26b444,isForwarded:_0xb73095}=_0x5ee748;_0x155654[_0x4c62fd(0x3d9)](_0x2ef863=>{const _0x17b4a5=_0x4c62fd;if(!_0xb73095&&this[_0x17b4a5(0x3c0)][_0x17b4a5(0x1df)](_0x2ef863)&&this[_0x17b4a5(0x3f8)](_0x2ef863)[_0x17b4a5(0x28b)](0x1),!this[_0x17b4a5(0x3c0)][_0x17b4a5(0x1df)](_0x2ef863)||!this['_unitOnClients']['get'](_0x2ef863)[_0x17b4a5(0x1df)](_0x26b444)){const _0x301414=this[_0x17b4a5(0x3c0)]['get'](_0x2ef863)||new Set();_0x301414[_0x17b4a5(0x364)](_0x26b444),this['_unitOnClients'][_0x17b4a5(0x1f3)](_0x2ef863,_0x301414),this[_0x17b4a5(0x21f)](_0x26b444);}}),_0xb73095||this[_0x4c62fd(0x449)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4c62fd(0x472)]],'isForwarded':!0x0});}[_0xb7df44(0x21f)](_0x322cd4){const _0x28a124=_0xb7df44;this['_removeClearOtherTimer'](_0x322cd4);const _0x5e479b=window['setTimeout'](()=>{const _0x16cafc=_0x16eb;this[_0x16cafc(0x3c0)]['forEach'](_0x342f06=>{const _0xb26bdc=_0x16cafc;_0x342f06[_0xb26bdc(0x37f)](_0x322cd4);});},ks*0x2);this[_0x28a124(0x41f)][_0x28a124(0x1f3)](_0x322cd4,_0x5e479b);}[_0xb7df44(0x297)](_0x1c32ae){const _0x585920=_0xb7df44;if(this['_clearOtherTimers']['has'](_0x1c32ae)){const _0x39ca56=this[_0x585920(0x41f)][_0x585920(0x339)](_0x1c32ae);_0x39ca56&&window[_0x585920(0x1b4)](_0x39ca56),this[_0x585920(0x41f)]['set'](_0x1c32ae,null);}}[_0xb7df44(0x38c)](_0x5c2db3){const _0x11875f=_0xb7df44,{memberID:_0x28bb03,unitIDs:_0x5c4dd8}=_0x5c2db3;_0x5c4dd8[_0x11875f(0x3d9)](_0x2b12c5=>{const _0x4fbc11=_0x11875f;var _0x3b5db2;const _0x46e8c7=this['_unitOnClients'][_0x4fbc11(0x339)](_0x2b12c5);_0x46e8c7&&(_0x46e8c7[_0x4fbc11(0x37f)](_0x28bb03),(_0x3b5db2=this['_ensureSubject'](_0x2b12c5))==null||_0x3b5db2[_0x4fbc11(0x28b)](_0x46e8c7[_0x4fbc11(0x548)]===0x0?0x0:0x1));}),this[_0x11875f(0x297)](_0x28bb03);}['_handleHeartbeatEvent'](_0x8791f9){const _0x497dc1=_0xb7df44;this[_0x497dc1(0x21f)](_0x8791f9[_0x497dc1(0x446)]);}[_0xb7df44(0x449)](_0x5188b2){const _0x4aa4=_0xb7df44;localStorage[_0x4aa4(0x18b)](Ws,JSON[_0x4aa4(0x41d)](_0x5188b2));}[_0xb7df44(0x1e1)](){const _0x4f524e=_0xb7df44;this[_0x4f524e(0x2b7)]=window[_0x4f524e(0x4aa)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},ks);}[_0xb7df44(0x3f8)](_0x29b190){const _0x3f433a=_0xb7df44;return this[_0x3f433a(0x54f)]['has'](_0x29b190)||this['_unitStatus'][_0x3f433a(0x1f3)](_0x29b190,new _0x230431(0x0)),this[_0x3f433a(0x54f)][_0x3f433a(0x339)](_0x29b190);}}var io=Object[_0xb7df44(0x441)],no=Object[_0xb7df44(0x250)],ro=(_0x4b654c,_0x372c57,_0xd8f01b,_0x415e9d)=>{const _0x3d1652=_0xb7df44;for(var _0x502ddd=_0x415e9d>0x1?void 0x0:_0x415e9d?no(_0x372c57,_0xd8f01b):_0x372c57,_0x130178=_0x4b654c[_0x3d1652(0x3f7)]-0x1,_0x277cbf;_0x130178>=0x0;_0x130178--)(_0x277cbf=_0x4b654c[_0x130178])&&(_0x502ddd=(_0x415e9d?_0x277cbf(_0x372c57,_0xd8f01b,_0x502ddd):_0x277cbf(_0x502ddd))||_0x502ddd);return _0x415e9d&&_0x502ddd&&io(_0x372c57,_0xd8f01b,_0x502ddd),_0x502ddd;},xt=(_0x40b5cc,_0x166aba)=>(_0x5a2248,_0x1dfa25)=>_0x166aba(_0x5a2248,_0x1dfa25,_0x40b5cc);let pt=class{constructor(_0x882a52,_0x4edfbe,_0x1ea9aa){const _0x2f5cc5=_0xb7df44;this[_0x2f5cc5(0x526)]=_0x882a52,this[_0x2f5cc5(0x242)]=_0x4edfbe,this[_0x2f5cc5(0x3fb)]=_0x1ea9aa;}[_0xb7df44(0x1ab)](_0x4d9fba){const _0x5b0f3e=_0xb7df44;this[_0x5b0f3e(0x480)](_0x4d9fba);}[_0xb7df44(0x3e0)](_0x3bf0a2){const _0x49d91d=_0xb7df44,{unitID:_0x20ce19}=_0x3bf0a2,{collaboration:_0xe08edd}=this['_docStateChangeManagerService']['getStateCache'](_0x20ce19);if(_0xe08edd[_0x49d91d(0x3f7)]===0x0)return _0x3bf0a2;let _0xe06376=_0xb81a94[_0x49d91d(0x463)](_0x3bf0a2[_0x49d91d(0x27c)][0x0]);for(let _0x19f186=0x0;_0x19f186<_0xe08edd[_0x49d91d(0x3f7)];_0x19f186++){const _0x1dca67={'id':_0x49d91d(0x4d7),'params':{'unitId':_0xe08edd[_0x19f186]['unitId'],..._0xe08edd[_0x19f186][_0x49d91d(0x54a)]}},_0x46b70e=this[_0x49d91d(0x242)][_0x49d91d(0x253)](_0xe06376,_0x1dca67,!0x1);if(_0x51b7ca(_0x46b70e))throw _0x46b70e['error'];_0xe06376=_0x46b70e[_0x49d91d(0x427)];}return{..._0xb81a94[_0x49d91d(0x463)](_0x3bf0a2),'mutations':[_0xe06376]};}[_0xb7df44(0x480)](_0x10d5bc){const _0x3288dc=_0xb7df44,{unitID:_0x1463fe}=_0x10d5bc,{history:_0x2a7acf,collaboration:_0x2be25d}=this[_0x3288dc(0x3fb)][_0x3288dc(0x190)](_0x1463fe);if(_0x2a7acf[_0x3288dc(0x3f7)]===0x0&&_0x2be25d[_0x3288dc(0x3f7)]===0x0)return;const _0x421fc9=[],_0x212dac=[];let _0x4fb802=_0xb81a94['deepClone'](_0x10d5bc[_0x3288dc(0x27c)][0x0]),_0x22b7d2=_0xb81a94[_0x3288dc(0x463)](_0x10d5bc[_0x3288dc(0x27c)][0x0]);for(let _0x8e0499=_0x2a7acf['length']-0x1;_0x8e0499>=0x0;_0x8e0499--){const _0x46f92b={'id':_0x3288dc(0x4d7),'params':{'unitId':_0x2a7acf[_0x8e0499][_0x3288dc(0x4ec)],..._0x2a7acf[_0x8e0499][_0x3288dc(0x287)]}},_0x4aead7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2a7acf[_0x8e0499][_0x3288dc(0x4ec)],..._0x2a7acf[_0x8e0499][_0x3288dc(0x54a)]}},_0x4e996d=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x4fb802,_0x46f92b,!0x1),_0x2fe2ad=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x22b7d2,_0x4aead7,!0x1);if(_0x51b7ca(_0x4e996d))throw _0x4e996d[_0x3288dc(0x1d7)];if(_0x51b7ca(_0x2fe2ad))throw _0x2fe2ad[_0x3288dc(0x1d7)];_0x421fc9[_0x3288dc(0x4f6)]({..._0x2a7acf[_0x8e0499],'undoState':_0x4e996d['m2Prime'][_0x3288dc(0x494)],'redoState':_0x2fe2ad[_0x3288dc(0x4f7)][_0x3288dc(0x494)]}),_0x4fb802=_0x4e996d[_0x3288dc(0x427)],_0x22b7d2=_0x2fe2ad[_0x3288dc(0x427)];}_0x4fb802=_0xb81a94['deepClone'](_0x10d5bc['mutations'][0x0]),_0x22b7d2=_0xb81a94[_0x3288dc(0x463)](_0x10d5bc[_0x3288dc(0x27c)][0x0]);for(let _0x48b0f3=_0x2be25d['length']-0x1;_0x48b0f3>=0x0;_0x48b0f3--){const _0x5c72bc={'id':_0x3288dc(0x4d7),'params':{'unitId':_0x2be25d[_0x48b0f3][_0x3288dc(0x4ec)],..._0x2be25d[_0x48b0f3][_0x3288dc(0x287)]}},_0x3add53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2be25d[_0x48b0f3][_0x3288dc(0x4ec)],..._0x2be25d[_0x48b0f3][_0x3288dc(0x54a)]}},_0x5d81e4=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x4fb802,_0x5c72bc,!0x1),_0x1e04c2=this[_0x3288dc(0x242)][_0x3288dc(0x253)](_0x22b7d2,_0x3add53,!0x1);if(_0x51b7ca(_0x5d81e4))throw _0x5d81e4[_0x3288dc(0x1d7)];if(_0x51b7ca(_0x1e04c2))throw _0x1e04c2[_0x3288dc(0x1d7)];_0x212dac[_0x3288dc(0x4f6)]({..._0x2be25d[_0x48b0f3],'undoState':_0x5d81e4[_0x3288dc(0x4f7)][_0x3288dc(0x494)],'redoState':_0x1e04c2[_0x3288dc(0x4f7)][_0x3288dc(0x494)]}),_0x4fb802=_0x5d81e4[_0x3288dc(0x427)],_0x22b7d2=_0x1e04c2[_0x3288dc(0x427)];}this[_0x3288dc(0x3fb)][_0x3288dc(0x2ea)](_0x1463fe,{'history':_0x421fc9,'collaboration':_0x212dac});}};pt=ro([xt(0x0,_0x380ba9(_0x41c43c)),xt(0x1,_0x5dcca2),xt(0x2,_0x380ba9(_0x844e78))],pt);function Pi(_0x263299){const _0x18c705=_0xb7df44;let _0x116ac7='';for(const _0x41064f of _0x263299){const {startOffset:_0x4f811b,endOffset:_0x57a642,isActive:_0x72a3e1,rangeType:_0x5f18b0,segmentId:_0x17cf03,segmentPage:_0x591942}=_0x41064f;_0x116ac7[_0x18c705(0x3f7)]&&(_0x116ac7+=','),_0x116ac7+=_0x4f811b+':'+_0x57a642+':'+(_0x72a3e1?'1':'0')+':'+_0x5f18b0+':'+_0x17cf03+':'+_0x591942;}return _0x116ac7;}function oo(_0x3c3f40){const _0x1f91a8=_0xb7df44,_0x6de752=_0x3c3f40['split'](','),_0x4b39f1=[];for(const _0x5f59a6 of _0x6de752){const [_0xc75c00,_0x49821c,_0x37f540,_0x342859,_0x31e9e2,_0x24a757]=_0x5f59a6['split'](':');_0x4b39f1[_0x1f91a8(0x1c5)]({'startOffset':Number(_0xc75c00),'endOffset':Number(_0x49821c),'collapsed':_0xc75c00===_0x49821c,'isActive':_0x37f540==='1','rangeType':_0x342859===_0x51d1cd[_0x1f91a8(0x40b)]?_0x51d1cd[_0x1f91a8(0x40b)]:_0x51d1cd[_0x1f91a8(0x4a0)],'segmentId':typeof _0x31e9e2==_0x1f91a8(0x22d)?String(_0x31e9e2):'','segmentPage':Number(_0x24a757!=null?_0x24a757:-0x1)});}return _0x4b39f1[_0x1f91a8(0x456)](_0x473c26=>_0x473c26[_0x1f91a8(0x2ed)])||(_0x4b39f1[0x0]['isActive']=!0x0),_0x4b39f1;}class Cs extends _0x3431ab{constructor(){const _0x3bf75f=_0xb7df44;super(...arguments),g(this,_0x3bf75f(0x1c2),new _0x230431(null)),g(this,_0x3bf75f(0x39a),this['_collabCursorState$'][_0x3bf75f(0x234)]());}['syncEditingCollabCursor'](_0x115bd0){const _0x52ed33=_0xb7df44,{unitID:_0x3b27d5,memberID:_0x463a5c,textRanges:_0x31537c}=_0x115bd0,_0x3fe4e0=Pi(_0x31537c);if(_0x3fe4e0==='')return;const _0x2c3155={'unitID':_0x3b27d5,'memberID':_0x463a5c,'selection':_0x3fe4e0};this[_0x52ed33(0x1c2)][_0x52ed33(0x28b)](_0x2c3155);}}var ao=Object[_0xb7df44(0x441)],co=Object[_0xb7df44(0x250)],ho=(_0x206138,_0x6adac6,_0x1e2189,_0xa77d6e)=>{const _0x101126=_0xb7df44;for(var _0xa583d7=_0xa77d6e>0x1?void 0x0:_0xa77d6e?co(_0x6adac6,_0x1e2189):_0x6adac6,_0x839bfa=_0x206138[_0x101126(0x3f7)]-0x1,_0x2cfc8b;_0x839bfa>=0x0;_0x839bfa--)(_0x2cfc8b=_0x206138[_0x839bfa])&&(_0xa583d7=(_0xa77d6e?_0x2cfc8b(_0x6adac6,_0x1e2189,_0xa583d7):_0x2cfc8b(_0xa583d7))||_0xa583d7);return _0xa77d6e&&_0xa583d7&&ao(_0x6adac6,_0x1e2189,_0xa583d7),_0xa583d7;},Fs=(_0x1c95ad,_0x2bd86d)=>(_0x2a1a6f,_0x264b64)=>_0x2bd86d(_0x2a1a6f,_0x264b64,_0x1c95ad);let gt=class{constructor(_0xe4b0c0,_0x42af4f){const _0x286a2b=_0xb7df44;this[_0x286a2b(0x526)]=_0xe4b0c0,this[_0x286a2b(0x242)]=_0x42af4f;}[_0xb7df44(0x206)](_0x3f366d){const _0x381cba=_0xb7df44;var _0x271192;const _0xd64788=this['_injector'][_0x381cba(0x339)](_0x44edfb),_0x17c556=(_0x271192=_0xd64788[_0x381cba(0x31c)]())!=null?_0x271192:[];if(_0x17c556[_0x381cba(0x3f7)]===0x0)return;const _0x38c644=[{'id':_0x381cba(0x4d7),'params':{'unitId':_0x3f366d[_0x381cba(0x37e)],'actions':null,'textRanges':_0x17c556}}],_0x7f8fcf=this[_0x381cba(0x242)][_0x381cba(0x3aa)](_0x3f366d,_0x38c644);if(!_0x3aa1c2(_0x7f8fcf))throw _0x7f8fcf[_0x381cba(0x1d7)];const _0x52119a=_0x7f8fcf[_0x381cba(0x4f7)][0x0][_0x381cba(0x494)][_0x381cba(0x233)];Array['isArray'](_0x52119a)&&_0x52119a[_0x381cba(0x3f7)]&&_0xd64788[_0x381cba(0x4d0)](_0x52119a,!0x1);}};gt=ho([Fs(0x0,_0x380ba9(_0x41c43c)),Fs(0x1,_0x5dcca2)],gt);const lo=new Set([_0x31efb2['id']]);function Vs(_0x3dfdde,_0x182791,_0x2e2f5f,_0xfa6ef6,_0x161aa3){const _0xb4d851=_0xb7df44;var _0x462959,_0x46205a,_0x22a462,_0x47aa18;const _0x4ae437=[];for(const _0x3c9bf0 of _0x3dfdde)if(lo[_0xb4d851(0x1df)](_0x3c9bf0['id'])){if(_0x4ae437[_0xb4d851(0x3f7)]>0x0)break;_0x4ae437[_0xb4d851(0x1c5)](_0x3c9bf0);break;}else _0x4ae437['push'](_0x3c9bf0);const _0x27d74f=(_0x46205a=(_0x462959=_0x161aa3[_0xb4d851(0x1e9)]())==null?void 0x0:_0x462959[_0xb4d851(0x270)])!=null?_0x46205a:_0xb4d851(0x417),_0x2e31a4=(_0x47aa18=(_0x22a462=_0x161aa3['getCurrentUser']())==null?void 0x0:_0x22a462['memberID'])!=null?_0x47aa18:_0xb4d851(0x417);return{'changeset':{'unitID':_0x182791,'type':_0xbdf5a1(_0x2e2f5f[_0xb4d851(0x308)](_0x182791)),'baseRev':_0xfa6ef6['getCurrentRevOfUnit'](_0x182791),'revision':0x0,'userID':_0x27d74f,'memberID':_0x2e31a4,'mutations':_0x4ae437},'pendingMutations':_0x3dfdde[_0xb4d851(0x230)](_0x4ae437[_0xb4d851(0x3f7)])};}function _o(_0x27c9f5,_0x3eb043,_0x55813f,_0x4373ad,_0x4dc474){const _0x442dd1=_0xb7df44;var _0x3989bd,_0x1e1f6e,_0x5cc64a,_0xba13d9;const _0xae7f0b=[_0x27c9f5[_0x442dd1(0x3d7)]((_0x5395a5,_0x4a653b)=>{const _0x4968dc=_0x442dd1;var _0x1c35cf;const {id:_0x574592}=_0x5395a5,{id:_0x1a75ba,type:_0x355e31}=_0x4a653b,_0x432752=(_0x1c35cf=_0x5395a5[_0x4968dc(0x494)])!=null?_0x1c35cf:{'actions':null},_0xd62483=_0x4a653b['params'];if(_0x574592&&_0x574592!==_0x1a75ba)throw new Error(_0x4968dc(0x3b3)+_0x574592+_0x4968dc(0x1dd)+_0x1a75ba+'.');return{..._0x5395a5,'id':_0x1a75ba,'type':_0x355e31,'params':{'unitId':_0xd62483[_0x4968dc(0x4ec)],'textRanges':_0xd62483[_0x4968dc(0x233)],'actions':_0x5821ee[_0x4968dc(0x2f0)](_0x432752[_0x4968dc(0x2b2)],_0xd62483[_0x4968dc(0x2b2)])}};},{})],_0x400ada=(_0x1e1f6e=(_0x3989bd=_0x4dc474[_0x442dd1(0x1e9)]())==null?void 0x0:_0x3989bd['userID'])!=null?_0x1e1f6e:_0x442dd1(0x417),_0x494c4d=(_0xba13d9=(_0x5cc64a=_0x4dc474[_0x442dd1(0x1e9)]())==null?void 0x0:_0x5cc64a['memberID'])!=null?_0xba13d9:_0x442dd1(0x417);return{'changeset':{'unitID':_0x3eb043,'type':_0xbdf5a1(_0x55813f[_0x442dd1(0x308)](_0x3eb043)),'baseRev':_0x4373ad['getCurrentRevOfUnit'](_0x3eb043),'revision':0x0,'userID':_0x400ada,'memberID':_0x494c4d,'mutations':_0xae7f0b},'pendingMutations':[]};}function Ui(_0x3fa435,_0x55cc1f){const _0xd1fbf8=_0xb7df44,_0x1ba20d=new _0x304899(0x1);return setTimeout(()=>_0x1ba20d[_0xd1fbf8(0x28b)](_0x55cc1f),_0x3fa435),_0x1ba20d[_0xd1fbf8(0x234)]()[_0xd1fbf8(0x51d)](_0x1b6c03(0x1));}const uo={'id':_0x4fe764['id'],'type':_0x41392e[_0xb7df44(0x4fc)],'params':{}};var fo=Object[_0xb7df44(0x441)],vo=Object[_0xb7df44(0x250)],Le=(_0x3a1ef3,_0x3ab41c,_0x590c12,_0x1d2909)=>{const _0x5f19a7=_0xb7df44;for(var _0x67dd34=_0x1d2909>0x1?void 0x0:_0x1d2909?vo(_0x3ab41c,_0x590c12):_0x3ab41c,_0x4daeeb=_0x3a1ef3[_0x5f19a7(0x3f7)]-0x1,_0x1f00fe;_0x4daeeb>=0x0;_0x4daeeb--)(_0x1f00fe=_0x3a1ef3[_0x4daeeb])&&(_0x67dd34=(_0x1d2909?_0x1f00fe(_0x3ab41c,_0x590c12,_0x67dd34):_0x1f00fe(_0x67dd34))||_0x67dd34);return _0x1d2909&&_0x67dd34&&fo(_0x3ab41c,_0x590c12,_0x67dd34),_0x67dd34;},A=(_0x1fc587,_0xd7dfbd)=>(_0x59091e,_0x30ee67)=>_0xd7dfbd(_0x59091e,_0x30ee67,_0x1fc587),J=(_0xbda4c9=>(_0xbda4c9['NOT_COLLAB']=_0xb7df44(0x558),_0xbda4c9[_0xb7df44(0x202)]=_0xb7df44(0x4dc),_0xbda4c9[_0xb7df44(0x28d)]=_0xb7df44(0x195),_0xbda4c9[_0xb7df44(0x52d)]=_0xb7df44(0x2e3),_0xbda4c9[_0xb7df44(0x3c8)]='awaiting_with_pending',_0xbda4c9[_0xb7df44(0x1c1)]=_0xb7df44(0x36e),_0xbda4c9[_0xb7df44(0x565)]=_0xb7df44(0x498),_0xbda4c9[_0xb7df44(0x4ed)]=_0xb7df44(0x43f),_0xbda4c9))(J||{});const Ni=0xea60;class $e{constructor(_0x2bac94,_0x18e6c6,_0x5584aa,_0x52fe82,_0x154054,_0x46db88,_0x18b676,_0x56c14b,_0x3237ba){const _0xcd6ddf=_0xb7df44;g(this,'_awaitingChangeset',null),g(this,_0xcd6ddf(0x458),[]),(this['unitID']=_0x2bac94,this['type']=_0x18e6c6,this[_0xcd6ddf(0x468)]=_0x154054,this['_commandService']=_0x46db88,this['_undoRedoService']=_0x18b676,this['_revisionService']=_0x56c14b,this[_0xcd6ddf(0x4ad)]=_0x3237ba,this[_0xcd6ddf(0x239)]=_0x5584aa,this[_0xcd6ddf(0x458)]=_0x52fe82);}[_0xb7df44(0x34e)](_0x10bbcd){const _0x57c7d8=_0xb7df44,_0xbc2277=this[_0x57c7d8(0x2b1)][_0x57c7d8(0x493)](this[_0x57c7d8(0x37e)]);return _0x10bbcd['revision']>_0xbc2277+0x1?(this[_0x57c7d8(0x468)][_0x57c7d8(0x442)]({'from':_0xbc2277,'to':_0x10bbcd[_0x57c7d8(0x193)]-0x1}),!0x0):!0x1;}['_transformUndoredo'](_0x535aa1){const _0x208e04=_0xb7df44;this['_undoRedoService'][_0x208e04(0x26f)](this[_0x208e04(0x37e)],_0x535aa1);}['_transformSelections'](_0x3d78e9){const _0x2ae6f2=_0xb7df44;var _0x5604d6,_0x479aef;(_0x479aef=(_0x5604d6=this[_0x2ae6f2(0x468)])[_0x2ae6f2(0x291)])==null||_0x479aef[_0x2ae6f2(0x4c9)](_0x5604d6,_0x3d78e9);}['_transformIMECache'](_0x2e3bff){const _0x5e4a13=_0xb7df44;var _0x13bd67,_0x408824;return(_0x408824=(_0x13bd67=this[_0x5e4a13(0x468)])[_0x5e4a13(0x2d9)])==null?void 0x0:_0x408824[_0x5e4a13(0x4c9)](_0x13bd67,_0x2e3bff);}[_0xb7df44(0x4a7)](_0x1b37e8){const _0x26f191=_0xb7df44;var _0x4ca8ec,_0x2d50d4;return(_0x2d50d4=(_0x4ca8ec=this[_0x26f191(0x468)])[_0x26f191(0x28a)])==null?void 0x0:_0x2d50d4[_0x26f191(0x4c9)](_0x4ca8ec,_0x1b37e8);}[_0xb7df44(0x2a2)](_0x1ca66c){const _0x434ef2=_0xb7df44;var _0x5a171c,_0x2dec76,_0x4bc7c6;return(_0x4bc7c6=(_0x2dec76=(_0x5a171c=this[_0x434ef2(0x468)])[_0x434ef2(0x54c)])==null?void 0x0:_0x2dec76[_0x434ef2(0x4c9)](_0x5a171c,_0x1ca66c))!=null?_0x4bc7c6:_0x1ca66c;}[_0xb7df44(0x4c1)](_0x26adcf){const _0x4e5ee2=_0xb7df44;var _0x22b271,_0x45432f,_0x13112a;return(_0x13112a=(_0x45432f=(_0x22b271=this[_0x4e5ee2(0x468)])[_0x4e5ee2(0x4bf)])==null?void 0x0:_0x45432f[_0x4e5ee2(0x4c9)](_0x22b271,_0x26adcf))!=null?_0x13112a:_0x26adcf;}[_0xb7df44(0x366)](_0x23c990){const _0x381ce8=_0xb7df44;var _0x7b667f,_0x2d4bae;if(this[_0x381ce8(0x1f8)]===ce[_0x381ce8(0x1cf)]){const {unitID:_0x35280c,mutations:_0x5befe2,memberID:_0x509aa0}=_0x23c990,_0x4c366b=_0x5befe2[0x0][_0x381ce8(0x494)][_0x381ce8(0x233)];Array[_0x381ce8(0x340)](_0x4c366b)&&_0x4c366b[_0x381ce8(0x3f7)]>0x0&&((_0x2d4bae=(_0x7b667f=this[_0x381ce8(0x468)])['onSyncEditingCollabCursor'])==null||_0x2d4bae['call'](_0x7b667f,{'unitID':_0x35280c,'memberID':_0x509aa0,'textRanges':_0x4c366b}));}}['_updateLocalCache'](){const _0x5c0e70=_0xb7df44;this['_localCacheService']['updateOfflineData'](this[_0x5c0e70(0x37e)],this[_0x5c0e70(0x1f8)],this['_awaitingChangeset'],this[_0x5c0e70(0x458)]);}[_0xb7df44(0x19b)](){const _0x27a1b6=_0xb7df44;return this['_revisionService']['getCurrentRevOfUnit'](this[_0x27a1b6(0x37e)]);}[_0xb7df44(0x200)](){const _0x258f92=_0xb7df44;this[_0x258f92(0x2b1)][_0x258f92(0x40d)](this[_0x258f92(0x37e)]);}[_0xb7df44(0x3a5)](_0x2e2c9f){const _0x501533=_0xb7df44;var _0x58a6cd;let _0x5c864d=this[_0x501533(0x2a2)](_0x2e2c9f);_0x5c864d=this[_0x501533(0x4c1)](_0x5c864d);const _0x3affc7=_0x13d82a(_0x5c864d[_0x501533(0x27c)],this[_0x501533(0x4fd)],{'fromCollab':!0x0});if(!_0x3affc7[_0x501533(0x4be)])throw _0x3affc7[_0x501533(0x1d7)]instanceof Error?_0x3affc7[_0x501533(0x1d7)]:new Error((_0x58a6cd=_0x3affc7[_0x501533(0x1d7)])!=null?_0x58a6cd:_0x501533(0x222));this[_0x501533(0x4cf)](_0x5c864d),this[_0x501533(0x4a7)](_0x5c864d),this[_0x501533(0x48c)](_0x2e2c9f),this[_0x501533(0x283)](_0x5c864d),this[_0x501533(0x366)](_0x5c864d),this[_0x501533(0x200)]();}}let Fe=class extends $e{constructor(_0x5e4378,_0xce83fe,_0x2b0f98,_0x285601,_0x1eab7b,_0xaba02a,_0x6eb5aa,_0x33f4ba,_0x3c409c,_0x4b2ba8){const _0x526a9b=_0xb7df44;super(_0x5e4378,_0xce83fe,null,[],_0x2b0f98,_0x33f4ba,_0x6eb5aa,_0x285601,_0x1eab7b),g(this,_0x526a9b(0x50e),_0x526a9b(0x4dc)),(this['_injector']=_0xaba02a,this['_logService']=_0x3c409c,this[_0x526a9b(0x242)]=_0x4b2ba8);}[_0xb7df44(0x315)](_0x559183){const _0x4f53cb=_0xb7df44,_0x409830=this[_0x4f53cb(0x526)][_0x4f53cb(0x3fe)](pe,this[_0x4f53cb(0x37e)],this['type'],[_0x559183],this[_0x4f53cb(0x468)]);return _0x409830['_schedule'](),_0x409830[_0x4f53cb(0x407)](),_0x409830;}[_0xb7df44(0x2c3)](_0x4e1df6){const _0x255a9a=_0xb7df44;if(this[_0x255a9a(0x34e)](_0x4e1df6))return this[_0x255a9a(0x526)][_0x255a9a(0x3fe)](he,this[_0x255a9a(0x37e)],this['type'],null,[],null,[_0x4e1df6],this[_0x255a9a(0x468)]);try{const _0x10fe4d=this[_0x255a9a(0x242)][_0x255a9a(0x3aa)](_0x4e1df6,[uo]);if(_0x3aa1c2(_0x10fe4d)){const {c1Prime:_0x51de77}=_0x10fe4d;return this[_0x255a9a(0x3a5)](_0x51de77),this;}throw _0x10fe4d[_0x255a9a(0x1d7)];}catch(_0x2cbe98){return this['_logService']['error'](_0x2cbe98),this[_0x255a9a(0x246)](!0x1);}}[_0xb7df44(0x246)](_0x263fa1){const _0x5d8718=_0xb7df44;return this[_0x5d8718(0x526)]['createInstance'](Re,this['unitID'],this[_0x5d8718(0x1f8)],null,[],this['_handler'],_0x263fa1);}[_0xb7df44(0x591)](){const _0x269129=_0xb7df44;throw new Error(_0x269129(0x571));}[_0xb7df44(0x48b)](){throw new Error('[SyncedState]:\x20received\x20rejection.');}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){const _0x1a58b2=_0xb7df44;return this[_0x1a58b2(0x526)][_0x1a58b2(0x3fe)](ye,this[_0x1a58b2(0x37e)],this['type'],null,[],this[_0x1a58b2(0x468)]);}['toggleOnline'](){return this;}[_0xb7df44(0x579)](){const _0x5c6a89=_0xb7df44;throw new Error(_0x5c6a89(0x28e));}[_0xb7df44(0x37c)](){const _0x235d33=_0xb7df44,_0xdcd7ce=this[_0x235d33(0x2b1)][_0x235d33(0x493)](this[_0x235d33(0x37e)]);return this[_0x235d33(0x468)][_0x235d33(0x442)]({'from':_0xdcd7ce,'to':0x0}),this[_0x235d33(0x526)][_0x235d33(0x3fe)](he,this[_0x235d33(0x37e)],this[_0x235d33(0x1f8)],null,[],null,[],this[_0x235d33(0x468)]);}};Fe=Le([A(0x3,_0x380ba9(_0x2ab1a0)),A(0x4,_0x380ba9(q)),A(0x5,_0x380ba9(_0x41c43c)),A(0x6,_0x1bdd68),A(0x7,_0x461f8f),A(0x8,_0x23bd67),A(0x9,_0x5dcca2)],Fe);let pe=class extends $e{constructor(_0xeb495b,_0x29210d,_0x29b92e,_0x447e84,_0xe09d35,_0x5ba657,_0x3cc871,_0x2cf62a,_0x20317a,_0x534a9c,_0x519d2f,_0x33bfab,_0x3bfacc,_0x16e5c4){const _0x26bab0=_0xb7df44;super(_0xeb495b,_0x29210d,null,_0x29b92e,_0x447e84,_0x534a9c,_0x16e5c4,_0x5ba657,_0x3cc871),g(this,_0x26bab0(0x50e),'pending'),g(this,'_scheduleTimestamp',null),g(this,_0x26bab0(0x35c),null),(this[_0x26bab0(0x526)]=_0xe09d35,this[_0x26bab0(0x503)]=_0x2cf62a,this[_0x26bab0(0x362)]=_0x20317a,this['_configService']=_0x519d2f,this['_transformService']=_0x33bfab,this[_0x26bab0(0x3d6)]=_0x3bfacc);}[_0xb7df44(0x315)](_0x558197){const _0x48d84b=_0xb7df44;return this[_0x48d84b(0x458)][_0x48d84b(0x1c5)](_0x558197),this[_0x48d84b(0x407)](),this;}[_0xb7df44(0x2c3)](_0x21133f){const _0x58e84f=_0xb7df44;if(this[_0x58e84f(0x34e)](_0x21133f))return this['_clearScheduledTask'](),this[_0x58e84f(0x526)][_0x58e84f(0x3fe)](he,this[_0x58e84f(0x37e)],this[_0x58e84f(0x1f8)],null,this['_pendingMutations'],null,[_0x21133f],this['_handler']);try{const _0xb30b5d=this[_0x58e84f(0x242)][_0x58e84f(0x3aa)](_0x21133f,this[_0x58e84f(0x458)]);if(_0x3aa1c2(_0xb30b5d)){const {c1Prime:_0x51fe25,m2Prime:_0x56777a}=_0xb30b5d;this[_0x58e84f(0x3a5)](_0x51fe25);const _0x1f4049=this['_injector'][_0x58e84f(0x3fe)](pe,this[_0x58e84f(0x37e)],this[_0x58e84f(0x1f8)],_0x56777a,this[_0x58e84f(0x468)]);return this[_0x58e84f(0x4e1)](),_0x1f4049[_0x58e84f(0x551)](this[_0x58e84f(0x241)]?Math['max'](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this[_0x58e84f(0x412)]()),_0x1f4049;}throw _0xb30b5d[_0x58e84f(0x1d7)];}catch(_0x36d404){return this[_0x58e84f(0x362)]['error'](_0x36d404),this[_0x58e84f(0x246)](!0x1);}}[_0xb7df44(0x591)](){const _0x539cb9=_0xb7df44;throw new Error(_0x539cb9(0x4a8));}[_0xb7df44(0x48b)](){const _0x3eb9b6=_0xb7df44;throw new Error(_0x3eb9b6(0x2df));}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){const _0x2ad887=_0xb7df44;return this[_0x2ad887(0x4e1)](),this['_injector'][_0x2ad887(0x3fe)](ye,this[_0x2ad887(0x37e)],this[_0x2ad887(0x1f8)],null,this[_0x2ad887(0x458)],this['_handler']);}['toggleOnline'](){return this;}[_0xb7df44(0x551)](_0x46c955){const _0x2eac3b=_0xb7df44,_0x3d2394=_0x46c955!=null?_0x46c955:this['_getSendChangesetTimeout']();this[_0x2eac3b(0x241)]=new Date()[_0x2eac3b(0x367)](),this[_0x2eac3b(0x35c)]=window[_0x2eac3b(0x38a)](()=>{const _0x3a96b5=_0x2eac3b;this[_0x3a96b5(0x4e1)]();let _0x37975e=null;switch(this['type']){case ce['UNIVER_SHEET']:{_0x37975e=Vs(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this['_revisionService'],this['_memberService']);break;}case ce[_0x3a96b5(0x1cf)]:{this[_0x3a96b5(0x458)][_0x3a96b5(0x2cf)](_0x3e9f82=>_0x3e9f82['id']===_0x391680['id'])?_0x37975e=_o(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this[_0x3a96b5(0x2b1)],this[_0x3a96b5(0x503)]):_0x37975e=Vs(this[_0x3a96b5(0x458)],this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x3d6)],this[_0x3a96b5(0x2b1)],this[_0x3a96b5(0x503)]);break;}default:throw new Error(_0x3a96b5(0x564)+this[_0x3a96b5(0x1f8)]+_0x3a96b5(0x25f));}const {changeset:_0x2af685,pendingMutations:_0x3c59c7}=_0x37975e;this['_handler'][_0x3a96b5(0x416)](_0x2af685);const _0x3df473=_0x3c59c7['length']?this[_0x3a96b5(0x526)][_0x3a96b5(0x3fe)](ge,this[_0x3a96b5(0x37e)],this[_0x3a96b5(0x1f8)],_0x2af685,_0x3c59c7,this[_0x3a96b5(0x468)],void 0x0):this[_0x3a96b5(0x526)][_0x3a96b5(0x3fe)](Te,this['unitID'],this['type'],_0x2af685,this[_0x3a96b5(0x468)]);_0x3df473[_0x3a96b5(0x407)](),this['_handler'][_0x3a96b5(0x22f)](this,_0x3df473);},_0x3d2394);}[_0xb7df44(0x412)](){const _0xe5f6e9=_0xb7df44;var _0x2753cc;const _0x5db943=this[_0xe5f6e9(0x216)]['getConfig'](ie);return(_0x2753cc=_0x5db943==null?void 0x0:_0x5db943[_0xe5f6e9(0x483)])!=null?_0x2753cc:cr;}[_0xb7df44(0x579)](){const _0x25fb40=_0xb7df44;throw new Error(_0x25fb40(0x3cb));}['_clearScheduledTask'](){const _0x18e933=_0xb7df44;this[_0x18e933(0x35c)]!=null&&(clearTimeout(this[_0x18e933(0x35c)]),this[_0x18e933(0x35c)]=null);}[_0xb7df44(0x246)](_0x413605){const _0x554082=_0xb7df44;return this['_clearScheduledTask'](),this[_0x554082(0x526)]['createInstance'](Re,this[_0x554082(0x37e)],this['type'],null,this['_pendingMutations'],this[_0x554082(0x468)],_0x413605);}};pe=Le([A(0x4,_0x380ba9(_0x41c43c)),A(0x5,_0x380ba9(_0x2ab1a0)),A(0x6,_0x380ba9(q)),A(0x7,_0x380ba9(Ne)),A(0x8,_0x23bd67),A(0x9,_0x461f8f),A(0xa,_0x25a779),A(0xb,_0x5dcca2),A(0xc,_0xf81bb9),A(0xd,_0x1bdd68)],pe);let Te=class extends $e{constructor(_0x167186,_0x53905a,_0x4efc7b,_0x1ac741,_0x387d89,_0x5cc1b4,_0xdeb937,_0x34f7f2,_0x5a4219,_0x2f93ab,_0x3dafdd){const _0x2139f9=_0xb7df44;super(_0x167186,_0x53905a,_0x4efc7b,[],_0x1ac741,_0x34f7f2,_0x3dafdd,_0x5cc1b4,_0xdeb937),g(this,_0x2139f9(0x50e),_0x2139f9(0x2e3)),g(this,_0x2139f9(0x326),0x0),g(this,'_resendTimer'),g(this,_0x2139f9(0x58b)),(this[_0x2139f9(0x526)]=_0x387d89,this[_0x2139f9(0x362)]=_0x5a4219,this[_0x2139f9(0x242)]=_0x2f93ab);}[_0xb7df44(0x315)](_0x842146){const _0x24f3fc=_0xb7df44;this[_0x24f3fc(0x4e1)]();const _0x3a0692=this[_0x24f3fc(0x526)][_0x24f3fc(0x3fe)](ge,this[_0x24f3fc(0x37e)],this[_0x24f3fc(0x1f8)],this['_awaitingChangeset'],[_0x842146],this[_0x24f3fc(0x468)],this[_0x24f3fc(0x595)]);return _0x3a0692[_0x24f3fc(0x407)](),_0x3a0692;}[_0xb7df44(0x2c3)](_0x4a45db){const _0x16af35=_0xb7df44;if(this[_0x16af35(0x34e)](_0x4a45db))return this['_clearScheduledTask'](),this['_injector'][_0x16af35(0x3fe)](he,this[_0x16af35(0x37e)],this[_0x16af35(0x1f8)],this[_0x16af35(0x239)],[],null,[_0x4a45db],this[_0x16af35(0x468)]);try{const _0x213ead=this[_0x16af35(0x242)]['transformChangesets']([_0x4a45db],[this[_0x16af35(0x239)]],!0x1);if(_0x2e9077(_0x213ead)){const {c1Prime:_0x4d97c3,c2Prime:_0x588abb}=_0x213ead;this[_0x16af35(0x3a5)](_0x4d97c3[0x0]),_0x588abb[0x0][_0x16af35(0x3cd)]=this[_0x16af35(0x19b)](),this[_0x16af35(0x4e1)]();const _0x1a8f53=this[_0x16af35(0x526)]['createInstance'](Te,this[_0x16af35(0x37e)],this['type'],_0x588abb[0x0],this[_0x16af35(0x468)]);return _0x1a8f53[_0x16af35(0x407)](),_0x1a8f53;}return this['_onConflict'](!0x1);}catch(_0x42712a){return this[_0x16af35(0x362)]['error'](_0x42712a),this[_0x16af35(0x246)](!0x1);}}[_0xb7df44(0x591)](_0x438aac){const _0x2f2c4a=_0xb7df44;this[_0x2f2c4a(0x4e1)]();const _0x274b86=this[_0x2f2c4a(0x2b1)][_0x2f2c4a(0x493)](this[_0x2f2c4a(0x37e)]);if(_0x438aac[_0x2f2c4a(0x193)]<_0x274b86-0x1)return this;if(this[_0x2f2c4a(0x34e)](_0x438aac))return this['_injector']['createInstance'](he,this[_0x2f2c4a(0x37e)],this[_0x2f2c4a(0x1f8)],null,[],this[_0x2f2c4a(0x239)],[],this[_0x2f2c4a(0x468)]);this[_0x2f2c4a(0x200)]();const _0x455788=this['_injector'][_0x2f2c4a(0x3fe)](Fe,this[_0x2f2c4a(0x37e)],this[_0x2f2c4a(0x1f8)],this[_0x2f2c4a(0x468)]);return _0x455788['_updateLocalCache'](),_0x455788;}['onRemoteRej'](_0x275872){const _0x4f12ca=_0xb7df44;return this[_0x4f12ca(0x246)](!!(_0x275872!=null&&_0x275872['isPermissionRej']));}[_0xb7df44(0x50a)](_0x244ad2){const _0x2094e1=_0xb7df44;return this[_0x2094e1(0x326)]>Ni?this['toggleOffline']():(this[_0x2094e1(0x595)]=Ui(this[_0x2094e1(0x326)],{'timeout':this[_0x2094e1(0x326)],'reqId':_0x244ad2[_0x2094e1(0x352)]}),this[_0x2094e1(0x58b)]=this[_0x2094e1(0x595)][_0x2094e1(0x41a)](({reqId:_0x217094,timeout:_0x45a761})=>{const _0x1b8860=_0x2094e1;this[_0x1b8860(0x229)](_0x217094,_0x45a761);}),this);}[_0xb7df44(0x38f)](){const _0x424312=_0xb7df44;return this[_0x424312(0x4e1)](),this['_injector'][_0x424312(0x3fe)](ye,this[_0x424312(0x37e)],this[_0x424312(0x1f8)],this['_awaitingChangeset'],[],this[_0x424312(0x468)]);}[_0xb7df44(0x4e5)](){return this;}['resend'](){const _0x532ae0=_0xb7df44;this[_0x532ae0(0x468)]['onSendChangeset'](this['_awaitingChangeset']);}[_0xb7df44(0x246)](_0x54fb40){const _0x46a4dd=_0xb7df44;return this[_0x46a4dd(0x4e1)](),this[_0x46a4dd(0x526)][_0x46a4dd(0x3fe)](Re,this[_0x46a4dd(0x37e)],this['type'],this[_0x46a4dd(0x239)],[],this[_0x46a4dd(0x468)],_0x54fb40);}['_resendWithTimeout'](_0x2b327d,_0x2ee584){const _0x9c6f96=_0xb7df44;var _0x4c4beb;_0x2b327d===((_0x4c4beb=this['_awaitingChangeset'])==null?void 0x0:_0x4c4beb[_0x9c6f96(0x352)])&&(this[_0x9c6f96(0x579)](),this[_0x9c6f96(0x326)]=_0x2ee584===0x0?0x3e8:_0x2ee584*0x2);}[_0xb7df44(0x4e1)](){const _0x4d0286=_0xb7df44;var _0x1a2a62;(_0x1a2a62=this[_0x4d0286(0x58b)])==null||_0x1a2a62[_0x4d0286(0x1d6)](),this[_0x4d0286(0x326)]=0x0;}};Te=Le([A(0x4,_0x380ba9(_0x41c43c)),A(0x5,_0x380ba9(_0x2ab1a0)),A(0x6,_0x380ba9(q)),A(0x7,_0x461f8f),A(0x8,_0x23bd67),A(0x9,_0x5dcca2),A(0xa,_0x1bdd68)],Te);let ge=class extends $e{constructor(_0x4cd9b4,_0x9ca61a,_0xb93a74,_0x5168d7,_0xa537ad,_0x46d277,_0x2c71fa,_0x1db2ef,_0x39e79d,_0x8ff2b0,_0xba70bb,_0x6dfc71,_0x5ec4af){const _0x1fdfdc=_0xb7df44;super(_0x4cd9b4,_0x9ca61a,_0xb93a74,_0x5168d7,_0xa537ad,_0x8ff2b0,_0x5ec4af,_0x1db2ef,_0x39e79d),g(this,'status',_0x1fdfdc(0x24f)),g(this,_0x1fdfdc(0x326),0x0),g(this,_0x1fdfdc(0x595)),g(this,_0x1fdfdc(0x58b)),(this['_injector']=_0x2c71fa,this[_0x1fdfdc(0x362)]=_0xba70bb,this[_0x1fdfdc(0x242)]=_0x6dfc71,_0x46d277&&(this['_resendTimer']=_0x46d277,this[_0x1fdfdc(0x58b)]=this['_resendTimer'][_0x1fdfdc(0x41a)](({reqId:_0x304a70,timeout:_0x5a22e7})=>{const _0x398612=_0x1fdfdc;this[_0x398612(0x229)](_0x304a70,_0x5a22e7);})));}[_0xb7df44(0x315)](_0x2fe1d2){const _0x5938e5=_0xb7df44;return this[_0x5938e5(0x458)][_0x5938e5(0x1c5)](_0x2fe1d2),this;}['onRemoteChangeset'](_0x44949b){const _0x40fe28=_0xb7df44;if(this['_checkMissing'](_0x44949b))return this[_0x40fe28(0x4e1)](),this[_0x40fe28(0x526)][_0x40fe28(0x3fe)](he,this[_0x40fe28(0x37e)],this[_0x40fe28(0x1f8)],this[_0x40fe28(0x239)],this[_0x40fe28(0x458)],null,[_0x44949b],this[_0x40fe28(0x468)]);try{const _0x414e19=this[_0x40fe28(0x242)]['transformChangesets']([_0x44949b],[this[_0x40fe28(0x239)]],!0x1);if(_0x2e9077(_0x414e19)){const {c1Prime:_0x40e2ce,c2Prime:_0x1b8d2f}=_0x414e19,_0x566158=this['_transformService']['transformMutationsWithChangeset'](_0x40e2ce[0x0],this['_pendingMutations']);if(_0x3aa1c2(_0x566158)){const {c1Prime:_0x118d96,m2Prime:_0x115d81}=_0x566158;return this[_0x40fe28(0x3a5)](_0x118d96),_0x1b8d2f[0x0][_0x40fe28(0x3cd)]=this[_0x40fe28(0x19b)](),this[_0x40fe28(0x4e1)](),this[_0x40fe28(0x526)][_0x40fe28(0x3fe)](ge,this[_0x40fe28(0x37e)],this['type'],_0x1b8d2f[0x0],_0x115d81,this[_0x40fe28(0x468)],void 0x0);}throw _0x566158[_0x40fe28(0x1d7)];}throw _0x414e19[_0x40fe28(0x1d7)];}catch(_0x338c6b){return this['_logService'][_0x40fe28(0x1d7)](_0x338c6b),this[_0x40fe28(0x246)](!0x1);}}['onRemoteAck'](_0x5d1b6d){const _0x8c1f2b=_0xb7df44;if(this[_0x8c1f2b(0x4e1)](),this[_0x8c1f2b(0x34e)](_0x5d1b6d))return this[_0x8c1f2b(0x526)]['createInstance'](he,this['unitID'],this[_0x8c1f2b(0x1f8)],null,this[_0x8c1f2b(0x458)],this[_0x8c1f2b(0x239)],[],this[_0x8c1f2b(0x468)]);this[_0x8c1f2b(0x200)]();const _0x5c6f31=this[_0x8c1f2b(0x526)]['createInstance'](pe,this[_0x8c1f2b(0x37e)],this['type'],this[_0x8c1f2b(0x458)],this[_0x8c1f2b(0x468)]);return _0x5c6f31['_schedule'](),_0x5c6f31[_0x8c1f2b(0x407)](),_0x5c6f31;}[_0xb7df44(0x48b)](_0x36d20c){const _0x4ab50b=_0xb7df44;return this[_0x4ab50b(0x246)](!!(_0x36d20c!=null&&_0x36d20c[_0x4ab50b(0x541)]));}[_0xb7df44(0x50a)](_0x56e374){const _0x29e1d0=_0xb7df44;return this[_0x29e1d0(0x326)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this[_0x29e1d0(0x326)],{'timeout':this[_0x29e1d0(0x326)],'reqId':_0x56e374[_0x29e1d0(0x352)]}),this[_0x29e1d0(0x58b)]=this[_0x29e1d0(0x595)]['subscribe'](({reqId:_0x368c46,timeout:_0x2664cc})=>{this['_resendWithTimeout'](_0x368c46,_0x2664cc);}),this);}[_0xb7df44(0x38f)](){const _0x3de70b=_0xb7df44;return this[_0x3de70b(0x4e1)](),this[_0x3de70b(0x526)][_0x3de70b(0x3fe)](ye,this[_0x3de70b(0x37e)],this['type'],this['_awaitingChangeset'],this[_0x3de70b(0x458)],this['_handler']);}['toggleOnline'](){return this;}[_0xb7df44(0x579)](){const _0x116763=_0xb7df44;this['_handler'][_0x116763(0x416)](this[_0x116763(0x239)]);}[_0xb7df44(0x246)](_0x1b1e07){const _0xc9268d=_0xb7df44;return this[_0xc9268d(0x4e1)](),this['_injector']['createInstance'](Re,this[_0xc9268d(0x37e)],this[_0xc9268d(0x1f8)],null,this['_pendingMutations'],this[_0xc9268d(0x468)],_0x1b1e07);}[_0xb7df44(0x229)](_0x1665e1,_0x9d0595){const _0x1731ed=_0xb7df44;var _0x4a2a3c;_0x1665e1===((_0x4a2a3c=this[_0x1731ed(0x239)])==null?void 0x0:_0x4a2a3c['reqId'])&&(this[_0x1731ed(0x579)](),this[_0x1731ed(0x326)]=_0x9d0595===0x0?0x3e8:_0x9d0595*0x2);}['_clearScheduledTask'](){const _0x28950b=_0xb7df44;var _0x38990a;(_0x38990a=this[_0x28950b(0x58b)])==null||_0x38990a[_0x28950b(0x1d6)](),this['_resendTimeout']=0x0;}};ge=Le([A(0x6,_0x380ba9(_0x41c43c)),A(0x7,_0x380ba9(_0x2ab1a0)),A(0x8,_0x380ba9(q)),A(0x9,_0x461f8f),A(0xa,_0x23bd67),A(0xb,_0x5dcca2),A(0xc,_0x1bdd68)],ge);let Re=class extends $e{constructor(_0x17fe4a,_0x28f78f,_0x5905c2,_0x2b170e,_0x5bf81f,_0x53dc32=!0x1,_0x335abc,_0x3bfdac,_0x504f7c,_0x49b18d,_0x29d49c,_0x203c26,_0x3fe250){const _0x37f5bf=_0xb7df44;super(_0x17fe4a,_0x28f78f,_0x5905c2,_0x2b170e,_0x5bf81f,_0x3bfdac,_0x504f7c,_0x29d49c,_0x49b18d),g(this,_0x37f5bf(0x50e),_0x37f5bf(0x498)),(this[_0x37f5bf(0x54b)]=_0x53dc32,this[_0x37f5bf(0x350)]=_0x335abc,this[_0x37f5bf(0x51b)]=_0x203c26,this[_0x37f5bf(0x554)]=_0x3fe250,this[_0x37f5bf(0x2bf)](),this[_0x37f5bf(0x3fc)](),this[_0x37f5bf(0x1f2)]());}[_0xb7df44(0x315)](){return this;}[_0xb7df44(0x2c3)](){return this;}[_0xb7df44(0x591)](){return this;}[_0xb7df44(0x48b)](){return this;}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){return this;}[_0xb7df44(0x4e5)](){return this;}['resend'](){const _0xa19f6c=_0xb7df44;throw new Error(_0xa19f6c(0x515));}[_0xb7df44(0x3fc)](){const _0x2233ad=_0xb7df44;this[_0x2233ad(0x4ad)][_0x2233ad(0x215)](this[_0x2233ad(0x37e)],this[_0x2233ad(0x1f8)],null,[]);}[_0xb7df44(0x2bf)](){const _0x36c94c=_0xb7df44;this['_isPermissionRej']?this[_0x36c94c(0x554)]['show']({'title':this[_0x36c94c(0x51b)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x36c94c(0x1d7),'duration':0x0}):this['_notificationService'][_0x36c94c(0x39d)]({'title':this[_0x36c94c(0x51b)]['t'](_0x36c94c(0x348)),'content':this[_0x36c94c(0x51b)]['t'](_0x36c94c(0x223)),'type':_0x36c94c(0x1d7),'duration':0x0});}['_disableEditing'](){const _0x14521f=_0xb7df44;this[_0x14521f(0x350)]['updatePermissionPoint'](new _0x44ab74(this[_0x14521f(0x37e)])['id'],!0x1);}};Re=Le([A(0x6,_0x380ba9(_0x60a8ad)),A(0x7,_0x461f8f),A(0x8,_0x1bdd68),A(0x9,_0x380ba9(q)),A(0xa,_0x380ba9(_0x2ab1a0)),A(0xb,_0x380ba9(_0x5ccb65)),A(0xc,_0x5829ef)],Re);let ye=class extends $e{constructor(_0x4f5b78,_0x23dc74,_0x64717b,_0x21e246,_0x5d5485,_0x19cf94,_0x26960f,_0x2d2bd4,_0x642243,_0x401372){const _0x257d9d=_0xb7df44;super(_0x4f5b78,_0x23dc74,_0x64717b,_0x21e246,_0x5d5485,_0x642243,_0x401372,_0x26960f,_0x2d2bd4),g(this,_0x257d9d(0x50e),'offline'),this[_0x257d9d(0x526)]=_0x19cf94;}[_0xb7df44(0x315)](_0x5ec2ea){const _0xf7afda=_0xb7df44;return this[_0xf7afda(0x458)]['push'](_0x5ec2ea),this[_0xf7afda(0x407)](),this;}['onRemoteChangeset'](_0x22ef29){throw new Error('[OfflineState]:\x20received\x20changeset.');}['onRemoteAck'](){const _0xaf6646=_0xb7df44;throw new Error(_0xaf6646(0x268));}[_0xb7df44(0x48b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0xb7df44(0x50a)](){return this;}[_0xb7df44(0x38f)](){return this;}[_0xb7df44(0x4e5)](){const {_injector:_0x2c9573,_pendingMutations:_0x4f7754,_awaitingChangeset:_0x398c00,unitID:_0x57a0ec,_handler:_0x30104e,type:_0x13a59e}=this,_0x54ce3f=Ai(_0x2c9573,_0x57a0ec,_0x13a59e,_0x398c00,_0x4f7754,_0x30104e);return _0x54ce3f instanceof pe?_0x54ce3f['_schedule']():(_0x54ce3f instanceof ge||_0x54ce3f instanceof Te)&&_0x54ce3f['resend'](),_0x54ce3f;}[_0xb7df44(0x579)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}};ye=Le([A(0x5,_0x380ba9(_0x41c43c)),A(0x6,_0x380ba9(_0x2ab1a0)),A(0x7,_0x380ba9(q)),A(0x8,_0x461f8f),A(0x9,_0x1bdd68)],ye);let he=class extends $e{constructor(_0x46df47,_0x152691,_0x4856da,_0xa4ba1f,_0x915003,_0x1d493a,_0x32d8e6,_0x392239,_0x22dfa7,_0x4bc779,_0x281934,_0x130919,_0x433ccc,_0x4445e5){const _0x4620a1=_0xb7df44;super(_0x46df47,_0x152691,_0x4856da,_0xa4ba1f,_0x32d8e6,_0x130919,_0x433ccc,_0x22dfa7,_0x4bc779),g(this,_0x4620a1(0x50e),_0x4620a1(0x36e)),(this[_0x4620a1(0x485)]=_0x915003,this[_0x4620a1(0x18a)]=_0x1d493a,this[_0x4620a1(0x526)]=_0x392239,this[_0x4620a1(0x362)]=_0x281934,this[_0x4620a1(0x242)]=_0x4445e5);}['onMissedChangesetFetched'](_0x283bdf){const _0x585c7e=_0xb7df44;try{const _0x4bf0ea=[..._0x283bdf,...this['_queuedRemoteChangesets']],_0x4e1052=[this[_0x585c7e(0x239)]||this[_0x585c7e(0x485)]][_0x585c7e(0x18e)](_0x3845be=>!!_0x3845be);let _0x320a29,_0x2c7f8c;if(_0x4e1052['length']){const _0x5a75a2=this['_transformService'][_0x585c7e(0x3af)](_0x4bf0ea,_0x4e1052,!0x1);if(!_0x2e9077(_0x5a75a2))throw _0x5a75a2['error'];_0x320a29=_0x5a75a2[_0x585c7e(0x201)],_0x2c7f8c=_0x5a75a2[_0x585c7e(0x34f)];}else _0x320a29=_0x4bf0ea,_0x2c7f8c=[];let _0x359c7e=this[_0x585c7e(0x458)];_0x320a29['forEach'](_0x493217=>{const _0x4a40ab=_0x585c7e;let _0xa1ee32;if(_0x359c7e['length']){const _0x26d37c=this['_transformService'][_0x4a40ab(0x3aa)](_0x493217,_0x359c7e);if(!_0x3aa1c2(_0x26d37c))throw _0x26d37c['error'];_0xa1ee32=_0x26d37c[_0x4a40ab(0x201)],_0x359c7e=_0x26d37c[_0x4a40ab(0x4f7)];}else _0xa1ee32=_0x493217;this['_executeRemoteChangeset'](_0xa1ee32);}),this[_0x585c7e(0x485)]&&this[_0x585c7e(0x200)](),this[_0x585c7e(0x239)]&&_0x2c7f8c[_0x585c7e(0x3f7)]&&(_0x2c7f8c[0x0][_0x585c7e(0x3cd)]=this[_0x585c7e(0x19b)]());let _0x289561;if(this[_0x585c7e(0x239)]&&_0x359c7e[_0x585c7e(0x3f7)]!==0x0)_0x289561=this['_injector'][_0x585c7e(0x3fe)](ge,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],_0x2c7f8c[0x0],_0x359c7e,this[_0x585c7e(0x468)],void 0x0);else{if(this[_0x585c7e(0x239)]&&_0x359c7e[_0x585c7e(0x3f7)]===0x0)_0x2c7f8c[0x0][_0x585c7e(0x3cd)]=this[_0x585c7e(0x19b)](),_0x289561=this['_injector'][_0x585c7e(0x3fe)](Te,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],_0x2c7f8c[0x0],this[_0x585c7e(0x468)]);else{if(_0x359c7e[_0x585c7e(0x3f7)]!==0x0){const _0x3229a7=this['_injector'][_0x585c7e(0x3fe)](pe,this[_0x585c7e(0x37e)],this['type'],_0x359c7e,this[_0x585c7e(0x468)]);_0x3229a7[_0x585c7e(0x551)](),_0x289561=_0x3229a7;}else _0x289561=this[_0x585c7e(0x526)][_0x585c7e(0x3fe)](Fe,this[_0x585c7e(0x37e)],this[_0x585c7e(0x1f8)],this[_0x585c7e(0x468)]);}}return _0x289561[_0x585c7e(0x407)](),_0x289561;}catch(_0x9c302e){return this['_logService'][_0x585c7e(0x1d7)](_0x585c7e(0x1bd),_0x585c7e(0x3b1),_0x9c302e),this[_0x585c7e(0x526)][_0x585c7e(0x3fe)](Re,this[_0x585c7e(0x37e)],this['type'],this[_0x585c7e(0x239)],this[_0x585c7e(0x458)],this['_handler'],!0x1);}}[_0xb7df44(0x579)](){const _0x55eaab=_0xb7df44;throw new Error(_0x55eaab(0x185));}[_0xb7df44(0x315)](_0x31baf0){const _0x573580=_0xb7df44;return this[_0x573580(0x458)][_0x573580(0x1c5)](_0x31baf0),this;}[_0xb7df44(0x2c3)](_0xff099){const _0x38c7be=_0xb7df44;return this['_queuedRemoteChangesets'][_0x38c7be(0x1c5)](_0xff099),this;}[_0xb7df44(0x591)](_0x1e000f){const _0x3f117b=_0xb7df44;if(this[_0x3f117b(0x239)])return this['_acknowledgedAwaitingChangeset']=this[_0x3f117b(0x239)],this['_awaitingChangeset']=null,this;throw new Error(_0x3f117b(0x298));}[_0xb7df44(0x48b)](_0x19cc0b){const _0x25a6f5=_0xb7df44;return this[_0x25a6f5(0x246)](!!(_0x19cc0b!=null&&_0x19cc0b['isPermissionRej']));}['onRemoteRetry'](){return this;}[_0xb7df44(0x38f)](){const _0x410b45=_0xb7df44;return this['_injector'][_0x410b45(0x3fe)](ye,this[_0x410b45(0x37e)],this[_0x410b45(0x1f8)],this[_0x410b45(0x239)],this[_0x410b45(0x458)],this[_0x410b45(0x468)]);}[_0xb7df44(0x4e5)](){return this;}[_0xb7df44(0x246)](_0x995cef){const _0x59f762=_0xb7df44;return this[_0x59f762(0x526)][_0x59f762(0x3fe)](Re,this[_0x59f762(0x37e)],this[_0x59f762(0x1f8)],this[_0x59f762(0x239)],this[_0x59f762(0x458)],this[_0x59f762(0x468)],_0x995cef);}};he=Le([A(0x7,_0x380ba9(_0x41c43c)),A(0x8,_0x380ba9(_0x2ab1a0)),A(0x9,_0x380ba9(q)),A(0xa,_0x23bd67),A(0xb,_0x461f8f),A(0xc,_0x1bdd68),A(0xd,_0x5dcca2)],he);function Ai(_0x38b853,_0x5ac17f,_0xe7c90d,_0x382460,_0x41a092,_0xc28168){const _0x495907=_0xb7df44;return _0x382460&&_0x41a092[_0x495907(0x3f7)]?_0x38b853['createInstance'](ge,_0x5ac17f,_0xe7c90d,_0x382460,_0x41a092,_0xc28168,void 0x0):_0x382460?_0x38b853[_0x495907(0x3fe)](Te,_0x5ac17f,_0xe7c90d,_0x382460,_0xc28168):_0x41a092[_0x495907(0x3f7)]?_0x38b853[_0x495907(0x3fe)](pe,_0x5ac17f,_0xe7c90d,_0x41a092,_0xc28168):_0x38b853[_0x495907(0x3fe)](Fe,_0x5ac17f,_0xe7c90d,_0xc28168);}var mo=Object[_0xb7df44(0x441)],po=Object[_0xb7df44(0x250)],Es=(_0x22b575,_0x4c3861,_0x62083d,_0x30ea63)=>{const _0x516310=_0xb7df44;for(var _0x20f3fe=_0x30ea63>0x1?void 0x0:_0x30ea63?po(_0x4c3861,_0x62083d):_0x4c3861,_0x38f761=_0x22b575[_0x516310(0x3f7)]-0x1,_0xe6ae09;_0x38f761>=0x0;_0x38f761--)(_0xe6ae09=_0x22b575[_0x38f761])&&(_0x20f3fe=(_0x30ea63?_0xe6ae09(_0x4c3861,_0x62083d,_0x20f3fe):_0xe6ae09(_0x20f3fe))||_0x20f3fe);return _0x30ea63&&_0x20f3fe&&mo(_0x4c3861,_0x62083d,_0x20f3fe),_0x20f3fe;},H=(_0x557fdf,_0x1db937)=>(_0x1b95ce,_0x1ab8a7)=>_0x1db937(_0x1b95ce,_0x1ab8a7,_0x557fdf);let St=class extends _0x3431ab{constructor(_0x381fac,_0x5a7997,_0x321454,_0x1cf8d5,_0x2c9012,_0x5e3f0f,_0xc98a59,_0xc8d99b,_0x1aa3eb,_0x285e5e,_0xfee838,_0x187480,_0x1e08cc){const _0x2f9e36=_0xb7df44;super(),g(this,_0x2f9e36(0x1cc),new _0x230431(null)),g(this,_0x2f9e36(0x1fd),this[_0x2f9e36(0x1cc)][_0x2f9e36(0x234)]()),g(this,_0x2f9e36(0x243)),g(this,_0x2f9e36(0x1bc),!0x1),g(this,_0x2f9e36(0x245),''),g(this,_0x2f9e36(0x4e4),0x0),g(this,_0x2f9e36(0x281),this[_0x2f9e36(0x1fd)][_0x2f9e36(0x51d)](_0x28c6ba(_0x4ef38a=>_0x4ef38a?_0x4ef38a[_0x2f9e36(0x50e)]:J[_0x2f9e36(0x4ed)]),_0x1f5fb1(0x1))),g(this,_0x2f9e36(0x33c),!0x1),g(this,_0x2f9e36(0x2d3),[]),(this[_0x2f9e36(0x37e)]=_0x381fac,this[_0x2f9e36(0x422)]=_0x5a7997,this['_type']=_0x321454,this[_0x2f9e36(0x526)]=_0x1cf8d5,this[_0x2f9e36(0x4ad)]=_0x2c9012,this[_0x2f9e36(0x1ea)]=_0x5e3f0f,this[_0x2f9e36(0x51b)]=_0xc98a59,this[_0x2f9e36(0x2b1)]=_0xc8d99b,this[_0x2f9e36(0x362)]=_0x1aa3eb,this['_commandService']=_0x285e5e,this['_messageService']=_0xfee838,this[_0x2f9e36(0x350)]=_0x187480,this[_0x2f9e36(0x1d5)]=_0x1e08cc);}get['state'](){const _0x25066b=_0xb7df44;return this[_0x25066b(0x243)];}async[_0xb7df44(0x509)](){const _0x54c771=_0xb7df44;if(this[_0x54c771(0x2c4)])throw new Error(_0x54c771(0x303));await this[_0x54c771(0x4a2)]();}[_0xb7df44(0x3c4)](){return this['_collaborationPaused']=!0x0,_0x1ae8eb(()=>{const _0x52d996=_0x16eb;this[_0x52d996(0x1bc)]=!0x1,this[_0x52d996(0x33e)]();});}['_updateState'](_0x49c303){const _0x271866=_0xb7df44;this[_0x271866(0x243)]=_0x49c303,this[_0x271866(0x1cc)]['next'](_0x49c303);}async[_0xb7df44(0x4a2)](){const _0x1b1a90=_0xb7df44;var _0x5092d4;this[_0x1b1a90(0x31b)](await this['_createInitialState']()),this[_0x1b1a90(0x1d5)]&&((_0x5092d4=this[_0x1b1a90(0x1d5)])==null||_0x5092d4[_0x1b1a90(0x1c4)](this[_0x1b1a90(0x37e)]),this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x1d5)][_0x1b1a90(0x371)](this[_0x1b1a90(0x37e)])['subscribe'](_0x3bfdfd=>{const _0x2dd9e8=_0x1b1a90;this['_logService'][_0x2dd9e8(0x20c)]('[CollaborationEntity]',_0x2dd9e8(0x545),_0x3bfdfd),_0x3bfdfd===Di[_0x2dd9e8(0x189)]?(this['_messageService'][_0x2dd9e8(0x39d)]({'content':this[_0x2dd9e8(0x51b)]['t'](_0x2dd9e8(0x555)),'type':_0x4bff77[_0x2dd9e8(0x2f4)]}),this['_permissionService'][_0x2dd9e8(0x2c2)](new _0x44ab74(this['unitID'])['id'],!0x1),this[_0x2dd9e8(0x350)][_0x2dd9e8(0x474)](!0x1)):(this[_0x2dd9e8(0x350)]['updatePermissionPoint'](new _0x44ab74(this[_0x2dd9e8(0x37e)])['id'],!0x0),this[_0x2dd9e8(0x350)][_0x2dd9e8(0x474)](!0x0));})));let _0x11ac6e=!0x1;return this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x422)][_0x1b1a90(0x27b)][_0x1b1a90(0x41a)](_0x13b951=>{const _0x4e21e3=_0x1b1a90;_0x13b951===ve[_0x4e21e3(0x372)]?this['_toggleOnline'](_0x11ac6e):_0x13b951===ve[_0x4e21e3(0x4ed)]&&(_0x11ac6e=!0x0,this[_0x4e21e3(0x588)]());})),this[_0x1b1a90(0x55a)](this[_0x1b1a90(0x422)][_0x1b1a90(0x507)][_0x1b1a90(0x41a)](_0x32aabf=>{const _0x2c8574=_0x1b1a90;try{switch(_0x32aabf[_0x2c8574(0x306)]){case _0x5104a7['NEW_CHANGESETS']:{this[_0x2c8574(0x4fb)](_0x2feadd(_0x32aabf[_0x2c8574(0x32a)]));break;}case _0x5104a7[_0x2c8574(0x530)]:{this[_0x2c8574(0x279)](_0x32aabf['data']);break;}case _0x5104a7[_0x2c8574(0x231)]:{this[_0x2c8574(0x1a8)]();break;}case _0x5104a7[_0x2c8574(0x540)]:{this[_0x2c8574(0x319)](_0x32aabf['data']);break;}case _0x5104a7[_0x2c8574(0x491)]:{this[_0x2c8574(0x2ec)](_0x32aabf['data'][_0x2c8574(0x226)][_0x2c8574(0x2aa)](_0x512d67=>_0x2feadd(_0x512d67)));break;}case _0x5104a7[_0x2c8574(0x1d9)]:this['_onRemoteRejected']({'isPermissionRej':!0x0});}}catch(_0x2da217){throw console[_0x2c8574(0x1d7)](_0x2c8574(0x586),_0x2da217),_0x2da217;}})),this[_0x1b1a90(0x243)];}['_unlockTransition'](){const _0x114088=_0xb7df44;this[_0x114088(0x33c)]=!0x1;}['_lockTransition'](){const _0x35cafb=_0xb7df44;if(this['_transitionLocked'])throw new Error('[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.');this[_0x35cafb(0x33c)]=!0x0;}[_0xb7df44(0x593)](_0x21cc13){const _0x6d2285=_0xb7df44;this[_0x6d2285(0x1d8)](),this['_updateState'](this['_state'][_0x6d2285(0x315)](_0x21cc13)),this['_unlockTransition']();}['_onRemoteChangeset'](_0x2e9b84){const _0x2c8192=_0xb7df44;if(!(_0x2e9b84[_0x2c8192(0x193)]<=this[_0x2c8192(0x2b1)][_0x2c8192(0x493)](this['unitID']))){if(this[_0x2c8192(0x1bc)]){this[_0x2c8192(0x2d3)]['push'](_0x2e9b84);return;}this['_applyRemoteChangeset'](_0x2e9b84);}}['_exhaustRemoteChangesetQueue'](){const _0x39ad8f=_0xb7df44;this[_0x39ad8f(0x2d3)][_0x39ad8f(0x3d9)](_0x3e270a=>this[_0x39ad8f(0x2f9)](_0x3e270a)),this['_remoteChangesetQueue']=[];}['_applyRemoteChangeset'](_0x1aa61d){const _0x15d9fe=_0xb7df44,_0x1818cb=this[_0x15d9fe(0x1ea)][_0x15d9fe(0x351)]['fetchThroughInterceptors'](this[_0x15d9fe(0x1ea)][_0x15d9fe(0x351)][_0x15d9fe(0x401)]()[_0x15d9fe(0x1bf)])(_0x1aa61d[_0x15d9fe(0x27c)],null)||_0x1aa61d[_0x15d9fe(0x27c)],_0x1488ef={..._0x1aa61d,'mutations':_0x1818cb};this[_0x15d9fe(0x1d8)](),this[_0x15d9fe(0x31b)](this[_0x15d9fe(0x243)][_0x15d9fe(0x2c3)](_0x1488ef)),this[_0x15d9fe(0x207)]();}[_0xb7df44(0x279)](_0x37e9e8){const _0x45a0a3=_0xb7df44;this[_0x45a0a3(0x1d8)](),this[_0x45a0a3(0x31b)](this[_0x45a0a3(0x243)][_0x45a0a3(0x591)](_0x37e9e8)),this[_0x45a0a3(0x207)]();}['_onRemoteRejected'](_0x1e9269){const _0xe1c06c=_0xb7df44;this[_0xe1c06c(0x1d8)](),this['_updateState'](this[_0xe1c06c(0x243)][_0xe1c06c(0x48b)](_0x1e9269)),this[_0xe1c06c(0x207)]();}[_0xb7df44(0x319)](_0x3d5402){const _0x56e684=_0xb7df44;this[_0x56e684(0x1d8)](),this['_updateState'](this[_0x56e684(0x243)][_0x56e684(0x50a)](_0x3d5402)),this[_0x56e684(0x207)]();}[_0xb7df44(0x2ec)](_0xc69052){const _0x48b3d2=_0xb7df44;if(!(this['_state']instanceof he))throw new TypeError(_0x48b3d2(0x4b5));const _0x2c71bd=_0xc69052[_0x48b3d2(0x2aa)](_0x4ebc3a=>{const _0xa5610f=_0x48b3d2,_0x277ca6=this[_0xa5610f(0x1ea)][_0xa5610f(0x351)][_0xa5610f(0x4f4)](this['_compressMutationService']['interceptor'][_0xa5610f(0x401)]()[_0xa5610f(0x1bf)])(_0x4ebc3a[_0xa5610f(0x27c)],null)||_0x4ebc3a[_0xa5610f(0x27c)];return{..._0x4ebc3a,'mutations':_0x277ca6};});this[_0x48b3d2(0x1d8)](),this[_0x48b3d2(0x31b)](this['_state'][_0x48b3d2(0x4eb)](_0x2c71bd)),this[_0x48b3d2(0x207)]();}['_toggleOffline'](){const _0x34b50d=_0xb7df44;this[_0x34b50d(0x1d8)](),this[_0x34b50d(0x31b)](this[_0x34b50d(0x243)][_0x34b50d(0x38f)]()),this['_unlockTransition']();}[_0xb7df44(0x536)](_0x104888=!0x1){const _0xee4e4e=_0xb7df44;this['_lockTransition'](),this[_0xee4e4e(0x31b)](this[_0xee4e4e(0x243)]['toggleOnline']()),this['_unlockTransition']();const _0x2d5d23=this[_0xee4e4e(0x243)];_0x104888&&_0x2d5d23 instanceof Fe&&(this[_0xee4e4e(0x1d8)](),this[_0xee4e4e(0x31b)](_0x2d5d23[_0xee4e4e(0x37c)]()),this[_0xee4e4e(0x207)]());}async[_0xb7df44(0x438)](){return new Promise(_0x4a8547=>{const _0x40647e=_0x16eb;this[_0x40647e(0x422)][_0x40647e(0x27b)][_0x40647e(0x51d)](_0x1b6c03(0x1))[_0x40647e(0x41a)](async _0x5995c3=>{const _0x41b42d=_0x40647e;_0x4a8547(await this[_0x41b42d(0x282)](_0x5995c3===ve['ONLINE']));});});}[_0xb7df44(0x3d5)](){const _0x2f4371=_0xb7df44,_0x50f77e=this[_0x2f4371(0x37e)];return{'onStateChange':(_0x1400a6,_0x56e38a)=>{const _0x2577b0=_0x2f4371;if(_0x1400a6!==this[_0x2577b0(0x243)])throw new Error(_0x2577b0(0x1c9)+_0x1400a6[_0x2577b0(0x50e)]+_0x2577b0(0x4ce)+_0x56e38a[_0x2577b0(0x50e)]+_0x2577b0(0x566)+this[_0x2577b0(0x243)][_0x2577b0(0x50e)]);this[_0x2577b0(0x31b)](_0x56e38a);},'onSendChangeset':_0x2c2e2c=>{const _0x5e1148=_0x2f4371;_0x2c2e2c[_0x5e1148(0x1a4)]||(_0x2c2e2c[_0x5e1148(0x1a4)]=this[_0x5e1148(0x245)],_0x2c2e2c[_0x5e1148(0x352)]=++this[_0x5e1148(0x4e4)]);const _0x1ed579={'eventID':_0x5104a7[_0x5e1148(0x3ac)],'data':{'unitID':_0x2c2e2c[_0x5e1148(0x37e)],'unitType':this[_0x5e1148(0x3e9)],'changeset':_0x2c2e2c,'memberID':this[_0x5e1148(0x422)]['getMemberID']()}};this[_0x5e1148(0x422)]['send'](_0x1ed579,this[_0x5e1148(0x37e)]);},'onMissingChangesets':({from:_0x447d35,to:_0x31c8f9})=>{const _0x3d6e5c=_0x2f4371;this['_logService'][_0x3d6e5c(0x20c)](_0x3d6e5c(0x333),_0x3d6e5c(0x1a7)+_0x447d35+_0x3d6e5c(0x19c)+_0x31c8f9);const _0x486cdb={'eventID':_0x5104a7[_0x3d6e5c(0x28c)],'data':{'unitID':_0x50f77e,'unitType':this[_0x3d6e5c(0x3e9)],'from':_0x447d35,'to':_0x31c8f9}};this[_0x3d6e5c(0x422)][_0x3d6e5c(0x413)](_0x486cdb,this[_0x3d6e5c(0x37e)]);}};}async[_0xb7df44(0x282)](_0x3d3c0d){const _0x2d86ee=_0xb7df44;var _0x1e6ff3,_0x141284;const _0x3c12f2=await this[_0x2d86ee(0x4ad)][_0x2d86ee(0x492)](this[_0x2d86ee(0x37e)]),_0x3b831f=(_0x1e6ff3=_0x3c12f2==null?void 0x0:_0x3c12f2[_0x2d86ee(0x27c)])!=null?_0x1e6ff3:[],_0x32386d=(_0x141284=_0x3c12f2==null?void 0x0:_0x3c12f2['awaitingChangeset'])!=null?_0x141284:null,_0x1a7f19=!!(_0x32386d!=null&&_0x32386d['sid'])&&!!(_0x32386d!=null&&_0x32386d[_0x2d86ee(0x352)]);this[_0x2d86ee(0x245)]=_0x1a7f19?_0x32386d[_0x2d86ee(0x1a4)]:Gr(),this['_changesetReqId']=_0x1a7f19?_0x32386d[_0x2d86ee(0x352)]:0x0;const _0x53c4e1=this[_0x2d86ee(0x37e)];try{this[_0x2d86ee(0x4a9)](_0x32386d,_0x3b831f);}catch(_0x48c76e){this[_0x2d86ee(0x362)][_0x2d86ee(0x1d7)](_0x48c76e);}const _0x21aa34=this[_0x2d86ee(0x3d5)]();if(_0x3d3c0d){const _0x512e05=Ai(this[_0x2d86ee(0x526)],_0x53c4e1,this[_0x2d86ee(0x3e9)],_0x32386d,_0x3b831f,_0x21aa34);return _0x512e05 instanceof pe?_0x512e05['_schedule']():(_0x512e05 instanceof ge||_0x512e05 instanceof Te)&&_0x512e05[_0x2d86ee(0x579)](),_0x512e05;}return this['_injector']['createInstance'](ye,_0x53c4e1,this[_0x2d86ee(0x3e9)],_0x32386d,_0x3b831f,_0x21aa34);}[_0xb7df44(0x4a9)](_0x3f00da,_0x529515){const _0x4f2513=_0xb7df44;var _0x1ec7fe,_0x544662;const _0x5df481=this['_compressMutationService'][_0x4f2513(0x351)][_0x4f2513(0x4f4)](this[_0x4f2513(0x1ea)][_0x4f2513(0x351)][_0x4f2513(0x401)]()[_0x4f2513(0x1bf)]);(_0x1ec7fe=_0x5df481((_0x3f00da==null?void 0x0:_0x3f00da[_0x4f2513(0x27c)])||[],null))==null||_0x1ec7fe[_0x4f2513(0x3d9)](_0x407fc1=>this[_0x4f2513(0x4fd)][_0x4f2513(0x567)](_0x407fc1['id'],_0x407fc1[_0x4f2513(0x494)])),(_0x544662=_0x5df481(_0x529515||[],null))==null||_0x544662[_0x4f2513(0x3d9)](_0x4f16bc=>this[_0x4f2513(0x4fd)][_0x4f2513(0x567)](_0x4f16bc['id'],_0x4f16bc[_0x4f2513(0x494)]));}};St=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x23bd67),H(0x9,_0x461f8f),H(0xa,_0xff713e),H(0xb,_0x60a8ad),H(0xc,_0xdde8b7(yt))],St);let ss=class extends St{constructor(_0x2193fa,_0x1e92b3,_0x150bae,_0x163e79,_0x2d972a,_0x1f9fa3,_0x33f192,_0x1daf11,_0x369068,_0x2660e8,_0x47d112,_0xc03048,_0xb83234,_0x3b9190,_0x5250d3,_0x5b7132,_0x1241b2,_0x16a9c5){const _0x3b7498=_0xb7df44;super(_0x2193fa,_0x150bae,_0x1e92b3,_0x163e79,_0x2d972a,_0x1f9fa3,_0x33f192,_0x1daf11,_0x3b9190,_0x5250d3,_0x5b7132,_0x1241b2,_0x16a9c5),this[_0x3b7498(0x37e)]=_0x2193fa,this['type']=_0x1e92b3,this['_docStateChangeManagerService']=_0x369068,this['_docTransformIMECacheService']=_0x2660e8,this[_0x3b7498(0x320)]=_0x47d112,this['_docTransformSelectionsService']=_0xc03048,this['_docSyncEditingCollabCursorService']=_0xb83234;}[_0xb7df44(0x3d5)](){const _0x1c1983=_0xb7df44,_0x18f508=super[_0x1c1983(0x3d5)]();return _0x18f508['onTransformIME']=_0x1e30a5=>this[_0x1c1983(0x398)][_0x1c1983(0x1e8)](_0x1e30a5),_0x18f508[_0x1c1983(0x28a)]=_0x5d42f0=>this[_0x1c1983(0x320)][_0x1c1983(0x1ab)](_0x5d42f0),_0x18f508['onTransformSelections']=_0xd46956=>this['_docTransformSelectionsService'][_0x1c1983(0x206)](_0xd46956),_0x18f508[_0x1c1983(0x383)]=_0x2abda9=>this[_0x1c1983(0x4ef)]['syncEditingCollabCursor'](_0x2abda9),_0x18f508[_0x1c1983(0x54c)]=_0x113e41=>this[_0x1c1983(0x398)][_0x1c1983(0x3e0)](_0x113e41),_0x18f508[_0x1c1983(0x4bf)]=_0x5adaf1=>this[_0x1c1983(0x320)][_0x1c1983(0x3e0)](_0x5adaf1),_0x18f508;}async[_0xb7df44(0x4a2)](){const _0x5110a4=_0xb7df44,_0x23bc8d=await super[_0x5110a4(0x4a2)]();return this[_0x5110a4(0x3fb)][_0x5110a4(0x214)][_0x5110a4(0x51d)](_0x5c3c82(this['dispose$']))[_0x5110a4(0x41a)](_0x250526=>{const _0x39441e=_0x5110a4;if(_0x250526==null)return;const {unitId:_0x2d57e7,redoState:_0x259a8c,commandId:_0x46a9f7}=_0x250526;if(_0x2d57e7!==this[_0x39441e(0x37e)])return;const _0x40420f={'id':_0x46a9f7,'type':_0x41392e[_0x39441e(0x4fc)],'params':{'unitId':_0x2d57e7,'actions':_0x259a8c[_0x39441e(0x2b2)],'textRanges':null}};this['_onLocalMutation'](_0x40420f);}),_0x23bc8d;}};ss=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x380ba9(_0x844e78)),H(0x9,_0x380ba9(vt)),H(0xa,_0x380ba9(pt)),H(0xb,_0x380ba9(gt)),H(0xc,_0x380ba9(Cs)),H(0xd,_0x23bd67),H(0xe,_0x461f8f),H(0xf,_0xff713e),H(0x10,_0x60a8ad),H(0x11,_0xdde8b7(yt))],ss);let is=class extends St{constructor(_0x303afe,_0x270e8d,_0x2c7064,_0x5474ce,_0x2373ba,_0x5397de,_0x2b9cab,_0x5951dd,_0x5f631d,_0x40b8a6,_0x57d232,_0x4d50d3,_0x425ab2,_0x2756e2){const _0x2431ec=_0xb7df44;super(_0x303afe,_0x2c7064,_0x270e8d,_0x5474ce,_0x2373ba,_0x5397de,_0x2b9cab,_0x5951dd,_0x40b8a6,_0x57d232,_0x4d50d3,_0x425ab2,_0x2756e2),this[_0x2431ec(0x37e)]=_0x303afe,this[_0x2431ec(0x1f8)]=_0x270e8d,this[_0x2431ec(0x4ba)]=_0x5f631d;}[_0xb7df44(0x3d5)](){const _0x354900=_0xb7df44,_0x177c64=super['_createHandler']();return _0x177c64[_0x354900(0x291)]=_0x73b3e4=>this[_0x354900(0x4ba)][_0x354900(0x206)](_0x73b3e4),_0x177c64;}async['_init'](){const _0x2cd46a=_0xb7df44,_0x25f383=await super['_init']();return this[_0x2cd46a(0x55a)](this[_0x2cd46a(0x4fd)][_0x2cd46a(0x575)]((_0x39ddbe,_0x1dcc7d)=>{const _0x4d952b=_0x2cd46a;if(_0x39ddbe[_0x4d952b(0x1f8)]!==_0x41392e[_0x4d952b(0x4fc)]||_0x1dcc7d!=null&&_0x1dcc7d[_0x4d952b(0x405)]||_0x1dcc7d!=null&&_0x1dcc7d[_0x4d952b(0x504)])return;const _0x20b573=_0x39ddbe[_0x4d952b(0x494)];if((_0x20b573==null?void 0x0:_0x20b573[_0x4d952b(0x4ec)])!==this[_0x4d952b(0x37e)])return;const _0xe8185a=_0x39ddbe,_0x337e82=this[_0x4d952b(0x1ea)][_0x4d952b(0x351)][_0x4d952b(0x4f4)](this['_compressMutationService'][_0x4d952b(0x351)]['getInterceptPoints']()[_0x4d952b(0x3d2)])([_0xe8185a],null)||[_0xe8185a];this[_0x4d952b(0x593)](_0x337e82[0x0]);})),_0x25f383;}};is=Es([H(0x3,_0x380ba9(_0x41c43c)),H(0x4,_0x380ba9(q)),H(0x5,_0x380ba9(_0x56b491)),H(0x6,_0x380ba9(_0x5ccb65)),H(0x7,_0x380ba9(_0x2ab1a0)),H(0x8,_0x380ba9(mt)),H(0x9,_0x23bd67),H(0xa,_0x461f8f),H(0xb,_0xff713e),H(0xc,_0x60a8ad),H(0xd,_0xdde8b7(yt))],is);var go=Object['defineProperty'],So=Object[_0xb7df44(0x250)],Io=(_0x597538,_0x35c1e0,_0x4a0092,_0x50d423)=>{const _0x20d3ef=_0xb7df44;for(var _0x22cc82=_0x50d423>0x1?void 0x0:_0x50d423?So(_0x35c1e0,_0x4a0092):_0x35c1e0,_0x362fff=_0x597538[_0x20d3ef(0x3f7)]-0x1,_0xd01b13;_0x362fff>=0x0;_0x362fff--)(_0xd01b13=_0x597538[_0x362fff])&&(_0x22cc82=(_0x50d423?_0xd01b13(_0x35c1e0,_0x4a0092,_0x22cc82):_0xd01b13(_0x22cc82))||_0x22cc82);return _0x50d423&&_0x22cc82&&go(_0x35c1e0,_0x4a0092,_0x22cc82),_0x22cc82;},Lt=(_0x56151b,_0x536bb6)=>(_0x2924be,_0xd116f0)=>_0x536bb6(_0x2924be,_0xd116f0,_0x56151b);let it=class extends _0x3431ab{constructor(_0x1facdb,_0x28c55a,_0x43e491){const _0x45b7be=_0xb7df44;super(),g(this,_0x45b7be(0x381),new Map()),g(this,'_entityInit$',new _0xbbcc86()),(this['_injector']=_0x1facdb,this[_0x45b7be(0x49f)]=_0x28c55a,this['_univerInstanceService']=_0x43e491,this[_0x45b7be(0x4a2)]());}[_0xb7df44(0x211)](){const _0x355adf=_0xb7df44;super['dispose'](),this[_0x355adf(0x381)][_0x355adf(0x3d9)](_0xa65879=>_0xa65879['dispose']()),this[_0x355adf(0x381)]['clear']();}['getCollabEntity'](_0x484b2e){const _0x10df4a=_0xb7df44;var _0x363a73;return(_0x363a73=this[_0x10df4a(0x381)][_0x10df4a(0x339)](_0x484b2e))!=null?_0x363a73:null;}[_0xb7df44(0x3b9)](_0x3aa472){const _0x402c07=_0xb7df44,_0x3b4b13=this[_0x402c07(0x431)](_0x3aa472);return _0x3b4b13?_0x4a5a0f(_0x3b4b13):this['_entityInit$'][_0x402c07(0x51d)](_0x4620cd(_0xebdda4=>_0xebdda4[_0x402c07(0x37e)]===_0x3aa472));}[_0xb7df44(0x4a2)](){const _0x5d9ee6=_0xb7df44;this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4a4)](_0x5d9c1d[_0x5d9ee6(0x37b)])[_0x5d9ee6(0x51d)](_0x5c3c82(this[_0x5d9ee6(0x561)]),_0x362969(0x10))['subscribe'](async _0x91811=>{const _0x205f57=_0x5d9ee6,_0xaf9a55=_0x91811[_0x205f57(0x432)](),_0x44a286=await this['_startCollaboration'](_0xaf9a55,ce[_0x205f57(0x37b)]);this[_0x205f57(0x381)][_0x205f57(0x1f3)](_0xaf9a55,_0x44a286);}),this['_univerInstanceService'][_0x5d9ee6(0x4a4)](_0x5d9c1d[_0x5d9ee6(0x1cf)])[_0x5d9ee6(0x51d)](_0x5c3c82(this['dispose$']),_0x362969(0x10))[_0x5d9ee6(0x51d)](_0x4620cd(_0x28d0d0=>!_0x28d0d0[_0x5d9ee6(0x432)]()['startsWith']('__')))[_0x5d9ee6(0x41a)](async _0x1b5086=>{const _0x51ad1f=_0x5d9ee6,_0x4a94b2=_0x1b5086[_0x51ad1f(0x432)](),_0x56c497=await this[_0x51ad1f(0x19f)](_0x4a94b2,ce[_0x51ad1f(0x1cf)]);this[_0x51ad1f(0x381)][_0x51ad1f(0x1f3)](_0x4a94b2,_0x56c497);}),_0x446ede(this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4cd)](_0x5d9c1d[_0x5d9ee6(0x37b)]),this[_0x5d9ee6(0x3d6)][_0x5d9ee6(0x4cd)](_0x5d9c1d[_0x5d9ee6(0x1cf)]))[_0x5d9ee6(0x51d)](_0x5c3c82(this[_0x5d9ee6(0x561)]))['subscribe'](_0x3737bf=>{const _0xb2247d=_0x5d9ee6,_0x307ad2=_0x3737bf[_0xb2247d(0x432)](),_0x42f17f=this[_0xb2247d(0x381)][_0xb2247d(0x339)](_0x307ad2);_0x42f17f&&(_0x42f17f['dispose'](),this[_0xb2247d(0x381)][_0xb2247d(0x37f)](_0x307ad2));});}async['_startCollaboration'](_0x351b41,_0x1de22d){const _0x68b083=_0xb7df44,_0x4b17c2=await this['_collabSessionService'][_0x68b083(0x4d8)](_0x351b41),_0x4d4fc0=this[_0x68b083(0x526)][_0x68b083(0x3fe)](this[_0x68b083(0x386)](_0x1de22d),_0x351b41,_0x1de22d,_0x4b17c2);return await _0x4d4fc0['init'](),this[_0x68b083(0x457)][_0x68b083(0x28b)](_0x4d4fc0),_0x4d4fc0;}['_getCtorByUniverType'](_0x12d623){const _0x2e0a83=_0xb7df44;switch(_0x12d623){case ce[_0x2e0a83(0x1cf)]:return ss;case ce['UNIVER_SHEET']:return is;default:throw new Error(_0x2e0a83(0x531)+_0x12d623);}}};it=Io([Lt(0x0,_0x380ba9(_0x41c43c)),Lt(0x1,_0x380ba9(Ae)),Lt(0x2,_0xf81bb9)],it);const Gs=[_0xb7df44(0x589),_0xb7df44(0x475),_0xb7df44(0x2d5),_0xb7df44(0x428),_0xb7df44(0x264),'gold400'];class bs extends _0x55ef45{constructor(){const _0x5b0d19=_0xb7df44;super(...arguments),g(this,'_assignedColors',new Map()),g(this,_0x5b0d19(0x51e),0x0);}['assignAColorForMemberID'](_0x5d2345){const _0x4affdb=_0xb7df44;if(this[_0x4affdb(0x2c7)][_0x4affdb(0x1df)](_0x5d2345))return this[_0x4affdb(0x2c7)][_0x4affdb(0x339)](_0x5d2345);const _0x56c3cf=Gs[this['_colorIndex']];return this[_0x4affdb(0x51e)]=(this[_0x4affdb(0x51e)]+0x1)%Gs[_0x4affdb(0x3f7)],this[_0x4affdb(0x2c7)][_0x4affdb(0x1f3)](_0x5d2345,_0x56c3cf),_0x56c3cf;}}var Co=Object[_0xb7df44(0x441)],Eo=Object[_0xb7df44(0x250)],bo=(_0x1566ad,_0x4bde88,_0x3099e7,_0x2a2d5f)=>{const _0xffaacf=_0xb7df44;for(var _0x215bc7=_0x2a2d5f>0x1?void 0x0:_0x2a2d5f?Eo(_0x4bde88,_0x3099e7):_0x4bde88,_0x333dad=_0x1566ad[_0xffaacf(0x3f7)]-0x1,_0x5537dc;_0x333dad>=0x0;_0x333dad--)(_0x5537dc=_0x1566ad[_0x333dad])&&(_0x215bc7=(_0x2a2d5f?_0x5537dc(_0x4bde88,_0x3099e7,_0x215bc7):_0x5537dc(_0x215bc7))||_0x215bc7);return _0x2a2d5f&&_0x215bc7&&Co(_0x4bde88,_0x3099e7,_0x215bc7),_0x215bc7;},Oe=(_0xec208e,_0x2000e1)=>(_0x3ea330,_0x9d4f35)=>_0x2000e1(_0x3ea330,_0x9d4f35,_0xec208e);const To=0x12c,Ro=0x64;let ns=class extends _0x3431ab{constructor(_0x5c58d9,_0x2df1bc,_0x282cf9,_0x4987ae,_0x511ff5,_0x21113c,_0x4ca688,_0x514420,_0x2484ad){const _0x2fc174=_0xb7df44;super(),g(this,'_online',!0x1),g(this,'_init',!0x1),g(this,_0x2fc174(0x559),new _0x230431(new Map())),g(this,_0x2fc174(0x31e),this['_cursorInfo$'][_0x2fc174(0x234)]()),g(this,_0x2fc174(0x26c),new _0x230431([])),g(this,'roomMembers$',this[_0x2fc174(0x26c)]['pipe'](_0x2f2fee(To))),g(this,_0x2fc174(0x38b),_0x3a88e2(_0x2b89b0=>{const _0x32aa39=_0x2fc174,_0x5a61ad={'eventID':_0x5104a7[_0x32aa39(0x4b9)],'data':{'unitID':this['unitID'],'memberID':this[_0x32aa39(0x1f4)][_0x32aa39(0x1e7)](),'selection':Pi(_0x2b89b0)}};this[_0x32aa39(0x1f4)][_0x32aa39(0x413)](_0x5a61ad,this[_0x32aa39(0x37e)]);},Ro)),(this[_0x2fc174(0x37e)]=_0x5c58d9,this[_0x2fc174(0x1f4)]=_0x2df1bc,this[_0x2fc174(0x526)]=_0x282cf9,this[_0x2fc174(0x374)]=_0x4987ae,this[_0x2fc174(0x503)]=_0x511ff5,this[_0x2fc174(0x1d1)]=_0x21113c,this[_0x2fc174(0x242)]=_0x4ca688,this[_0x2fc174(0x3d6)]=_0x514420,this['_commandService']=_0x2484ad);}get[_0xb7df44(0x4d9)](){const _0x46464c=_0xb7df44;return this[_0x46464c(0x559)][_0x46464c(0x1b9)]();}get[_0xb7df44(0x36f)](){const _0x278c6f=_0xb7df44;return this[_0x278c6f(0x26c)][_0x278c6f(0x1b9)]();}[_0xb7df44(0x211)](){const _0x518645=_0xb7df44;super['dispose'](),this[_0x518645(0x559)][_0x518645(0x28b)](new Map()),this[_0x518645(0x559)]['complete'](),this[_0x518645(0x26c)][_0x518645(0x28b)]([]),this[_0x518645(0x26c)][_0x518645(0x225)]();}['init'](){const _0xa5f6e3=_0xb7df44;this[_0xa5f6e3(0x4a2)]||(this[_0xa5f6e3(0x4a2)]=!0x0,this[_0xa5f6e3(0x1f4)][_0xa5f6e3(0x27b)][_0xa5f6e3(0x51d)](_0x5c3c82(this[_0xa5f6e3(0x561)]))[_0xa5f6e3(0x41a)](_0xa212b6=>{const _0x193e77=_0xa5f6e3;_0xa212b6===ve[_0x193e77(0x372)]?this[_0x193e77(0x536)]():this['_toggleOffline']();}),this[_0xa5f6e3(0x1f4)][_0xa5f6e3(0x507)][_0xa5f6e3(0x51d)](_0x5c3c82(this[_0xa5f6e3(0x561)]))[_0xa5f6e3(0x41a)](_0x19f434=>{const _0x3638a4=_0xa5f6e3,_0x1ee4da=_0x19f434['eventID'];_0x1ee4da===_0x5104a7['UPDATE_CURSOR']&&this[_0x3638a4(0x205)](_0x19f434),_0x1ee4da===_0x5104a7['USERS_LEAVE']&&this[_0x3638a4(0x408)](_0x19f434);}),this[_0xa5f6e3(0x55a)](this[_0xa5f6e3(0x4fd)]['onCommandExecuted'](_0x192dc5=>{const _0x7c6130=_0xa5f6e3,_0x29d7ee=_0x192dc5[_0x7c6130(0x494)];_0x29d7ee!=null&&this[_0x7c6130(0x452)]&&_0x192dc5['id']===_0x39f0b9['id']&&_0x29d7ee[_0x7c6130(0x4ec)]===this[_0x7c6130(0x37e)]&&_0x29d7ee[_0x7c6130(0x45a)]===!0x1&&_0x29d7ee[_0x7c6130(0x4b4)][_0x7c6130(0x3f7)]>0x0&&this[_0x7c6130(0x38b)](_0x29d7ee['ranges']);})),this[_0xa5f6e3(0x1d1)][_0xa5f6e3(0x39a)]['pipe'](_0x5c3c82(this['dispose$']))['subscribe'](_0x1e1d83=>{const _0x3a65ae=_0xa5f6e3;if((_0x1e1d83==null?void 0x0:_0x1e1d83[_0x3a65ae(0x37e)])!==this[_0x3a65ae(0x37e)])return;const _0x50f033={'eventID':_0x5104a7[_0x3a65ae(0x4b9)],'data':_0x1e1d83};this['_onCursorUpdate'](_0x50f033);}),this[_0xa5f6e3(0x55a)](this[_0xa5f6e3(0x4fd)]['onCommandExecuted'](_0x2fb08f=>{const _0x395bfb=_0xa5f6e3;if(_0x2fb08f[_0x395bfb(0x494)]==null)return;const _0x59ece8=_0x2fb08f[_0x395bfb(0x494)];if(_0x2fb08f['id']!==_0x391680['id']||_0x59ece8[_0x395bfb(0x4ec)]!==this[_0x395bfb(0x37e)])return;const _0x3ae7db={'id':_0x395bfb(0x4d7),'params':_0x59ece8},_0x321868=this[_0x395bfb(0x4d9)];for(const [_0x304396,_0x179b18]of _0x321868){const _0x4ccbed={'id':_0x395bfb(0x4d7),'params':{'unitId':this[_0x395bfb(0x37e)],'actions':null,'textRanges':_0x179b18['ranges']}},_0x55e4ef=this[_0x395bfb(0x242)][_0x395bfb(0x253)](_0x3ae7db,_0x4ccbed,!0x1);if(_0x51b7ca(_0x55e4ef))throw _0x55e4ef[_0x395bfb(0x1d7)];_0x321868[_0x395bfb(0x1f3)](_0x304396,{..._0x179b18,'ranges':_0x55e4ef[_0x395bfb(0x4f7)][_0x395bfb(0x494)][_0x395bfb(0x233)]});}queueMicrotask(()=>{const _0x35e1d5=_0x395bfb;this[_0x35e1d5(0x559)][_0x35e1d5(0x28b)](_0x321868);});})));}[_0xb7df44(0x205)](_0xd4fe19){const _0x57a6f0=_0xb7df44;var _0x5a3037,_0x572167;const {memberID:_0x57898,selection:_0x5ace7b}=_0xd4fe19[_0x57a6f0(0x32a)],_0x36be1e=oo(_0x5ace7b),_0x3b5a69=(_0x572167=(_0x5a3037=this[_0x57a6f0(0x503)][_0x57a6f0(0x18c)](this[_0x57a6f0(0x37e)],_0x57898))==null?void 0x0:_0x5a3037['name'])!=null?_0x572167:_0x57a6f0(0x251),_0x3967f8={'color':this[_0x57a6f0(0x374)][_0x57a6f0(0x20e)](_0x57898),'name':_0x3b5a69,'ranges':_0x36be1e},_0x48a24b=this[_0x57a6f0(0x4d9)];_0x48a24b[_0x57a6f0(0x1f3)](_0x57898,_0x3967f8),this[_0x57a6f0(0x559)][_0x57a6f0(0x28b)](_0x48a24b);}[_0xb7df44(0x408)](_0x2fa516){const _0x494a9d=_0xb7df44,{memberID:_0x1de839}=_0x2fa516[_0x494a9d(0x32a)],_0xff4025=this['cursorInfo'];_0xff4025[_0x494a9d(0x37f)](_0x1de839),this[_0x494a9d(0x559)][_0x494a9d(0x28b)](_0xff4025);}[_0xb7df44(0x536)](){const _0x31a71d=_0xb7df44;var _0x2c117d;if(this[_0x31a71d(0x452)]=!0x0,((_0x2c117d=this[_0x31a71d(0x3d6)][_0x31a71d(0x1ae)]())==null?void 0x0:_0x2c117d[_0x31a71d(0x432)]())!==this['unitID'])return;const _0x42bd37=this[_0x31a71d(0x526)][_0x31a71d(0x339)](_0x44edfb)['getDocRanges']();Array[_0x31a71d(0x340)](_0x42bd37)&&_0x42bd37[_0x31a71d(0x3f7)]>0x0&&this['_updateLocalCursor'](_0x42bd37);}[_0xb7df44(0x588)](){const _0x549066=_0xb7df44;this[_0x549066(0x452)]=!0x1;}};ns=bo([Oe(0x2,_0x380ba9(_0x41c43c)),Oe(0x3,_0x380ba9(bs)),Oe(0x4,_0x380ba9(Ne)),Oe(0x5,_0x380ba9(Cs)),Oe(0x6,_0x5dcca2),Oe(0x7,_0xf81bb9),Oe(0x8,_0x461f8f)],ns);var yo=Object[_0xb7df44(0x441)],Oo=Object[_0xb7df44(0x250)],wo=(_0x2e4ace,_0x5d318f,_0x4efb31,_0x4f1e6b)=>{const _0x5ace90=_0xb7df44;for(var _0x38b409=_0x4f1e6b>0x1?void 0x0:_0x4f1e6b?Oo(_0x5d318f,_0x4efb31):_0x5d318f,_0x255bac=_0x2e4ace[_0x5ace90(0x3f7)]-0x1,_0x32b4a9;_0x255bac>=0x0;_0x255bac--)(_0x32b4a9=_0x2e4ace[_0x255bac])&&(_0x38b409=(_0x4f1e6b?_0x32b4a9(_0x5d318f,_0x4efb31,_0x38b409):_0x32b4a9(_0x38b409))||_0x38b409);return _0x4f1e6b&&_0x38b409&&yo(_0x5d318f,_0x4efb31,_0x38b409),_0x38b409;},Be=(_0x2d9bc3,_0x463d03)=>(_0x5c12d9,_0x2a3c80)=>_0x463d03(_0x5c12d9,_0x2a3c80,_0x2d9bc3);const Do=0x12c,Po=0x64,Uo=()=>{let _0x2c56e8=[],_0x450269=!0x1;return _0x4bd4b9=>{const _0x40d31c=_0x16eb;_0x2c56e8[_0x40d31c(0x1c5)](_0x4bd4b9),_0x450269||(_0x450269=!0x0,setTimeout(()=>{_0x2c56e8['forEach'](_0x193acb=>_0x193acb()),_0x2c56e8=[],_0x450269=!0x1;}));};};let rs=class extends _0x3431ab{constructor(_0x37bcba,_0x64761,_0x3194fc,_0x2fc50e,_0x3855e5,_0x3ddc03,_0x32897d,_0x444b73){const _0x4c45b5=_0xb7df44;super(),g(this,_0x4c45b5(0x452),!0x1),g(this,_0x4c45b5(0x4a2),!0x1),g(this,_0x4c45b5(0x559),new _0x230431(new Map())),g(this,_0x4c45b5(0x31e),this[_0x4c45b5(0x559)]['asObservable']()),g(this,_0x4c45b5(0x26c),new _0x230431([])),g(this,_0x4c45b5(0x4ae),this[_0x4c45b5(0x26c)][_0x4c45b5(0x51d)](_0x2f2fee(Do))),g(this,_0x4c45b5(0x38b),_0x3a88e2((_0x77d1cc,_0x46544f)=>{const _0x4ddd07=_0x4c45b5,_0x2d1be9={'eventID':_0x5104a7['UPDATE_CURSOR'],'data':{'unitID':this[_0x4ddd07(0x37e)],'memberID':this[_0x4ddd07(0x1f4)][_0x4ddd07(0x1e7)](),'selection':_0x4bbbc0(_0x77d1cc,_0x46544f[_0x4ddd07(0x4e9)])}};this[_0x4ddd07(0x1f4)]['send'](_0x2d1be9,this[_0x4ddd07(0x37e)]);},Po)),(this[_0x4c45b5(0x37e)]=_0x37bcba,this['_session']=_0x64761,this[_0x4c45b5(0x526)]=_0x3194fc,this[_0x4c45b5(0x374)]=_0x2fc50e,this['_memberService']=_0x3855e5,this['_univerInstanceService']=_0x3ddc03,this['_commandService']=_0x32897d,this[_0x4c45b5(0x2b3)]=_0x444b73);}get[_0xb7df44(0x4d9)](){const _0x5ac23a=_0xb7df44;return this[_0x5ac23a(0x559)][_0x5ac23a(0x1b9)]();}get[_0xb7df44(0x36f)](){const _0x3a284b=_0xb7df44;return this[_0x3a284b(0x26c)][_0x3a284b(0x1b9)]();}[_0xb7df44(0x211)](){const _0x4f2078=_0xb7df44;super[_0x4f2078(0x211)](),this[_0x4f2078(0x559)][_0x4f2078(0x28b)](new Map()),this[_0x4f2078(0x559)][_0x4f2078(0x225)](),this[_0x4f2078(0x26c)][_0x4f2078(0x28b)]([]),this[_0x4f2078(0x26c)][_0x4f2078(0x225)]();}[_0xb7df44(0x509)](){const _0x410991=_0xb7df44;this['_init']||(this['_init']=!0x0,this['_session'][_0x410991(0x27b)][_0x410991(0x51d)](_0x5c3c82(this['dispose$']))[_0x410991(0x41a)](_0x14ed59=>{const _0x5bcb7b=_0x410991;_0x14ed59===ve['ONLINE']?this[_0x5bcb7b(0x536)]():this['_toggleOffline']();}),this[_0x410991(0x1f4)][_0x410991(0x507)][_0x410991(0x51d)](_0x5c3c82(this[_0x410991(0x561)]))[_0x410991(0x41a)](_0x2c45b3=>{const _0x8a4adf=_0x410991,_0x546321=_0x2c45b3[_0x8a4adf(0x306)];_0x546321===_0x5104a7['UPDATE_CURSOR']&&this[_0x8a4adf(0x205)](_0x2c45b3),_0x546321===_0x5104a7[_0x8a4adf(0x20d)]&&this['_onCursorDelete'](_0x2c45b3);}),this[_0x410991(0x204)](),this[_0x410991(0x55a)](this[_0x410991(0x4fd)][_0x410991(0x575)](_0x527e9b=>{const _0x465757=_0x410991;if(this[_0x465757(0x452)]&&_0x527e9b['id']===_0x357bb7['id']&&_0x527e9b[_0x465757(0x494)]['unitId']===this[_0x465757(0x37e)]){const _0x5b4060=_0x527e9b['params'];this[_0x465757(0x38b)](_0x5b4060['subUnitId'],_0x5b4060[_0x465757(0x4ff)][0x0]);}})));}[_0xb7df44(0x205)](_0x2a8273){const _0x3a1d68=_0xb7df44;var _0x3c14da,_0x128625;const {memberID:_0x49e520,selection:_0x2127a0}=_0x2a8273[_0x3a1d68(0x32a)],{sheetName:_0x117f72,range:_0x687f1f}=_0x5d5ad4(_0x2127a0),_0x4270a6={'name':(_0x128625=(_0x3c14da=this[_0x3a1d68(0x503)][_0x3a1d68(0x18c)](this[_0x3a1d68(0x37e)],_0x49e520))==null?void 0x0:_0x3c14da['name'])!=null?_0x128625:_0x3a1d68(0x251),'range':this[_0x3a1d68(0x58a)](_0x117f72,_0x687f1f),'sheetID':_0x117f72,'color':this['_colorAssignService'][_0x3a1d68(0x20e)](_0x49e520),'selection':_0x2127a0},_0x3f477b=this[_0x3a1d68(0x4d9)];_0x3f477b[_0x3a1d68(0x1f3)](_0x49e520,_0x4270a6),this['_cursorInfo$'][_0x3a1d68(0x28b)](_0x3f477b);}[_0xb7df44(0x408)](_0x304e88){const _0x12c6c5=_0xb7df44,{memberID:_0x16fad4}=_0x304e88[_0x12c6c5(0x32a)],_0x3efa9e=this[_0x12c6c5(0x4d9)];_0x3efa9e[_0x12c6c5(0x37f)](_0x16fad4),this[_0x12c6c5(0x559)]['next'](_0x3efa9e);}[_0xb7df44(0x58a)](_0x4949fb,_0x14ea11){const _0x33eb5e=_0xb7df44;var _0x158fcc,_0x4a181d;const _0x828dbf=(_0x4a181d=(_0x158fcc=this[_0x33eb5e(0x3d6)][_0x33eb5e(0x307)](this[_0x33eb5e(0x37e)]))==null?void 0x0:_0x158fcc['getSheetBySheetId'](_0x4949fb))==null?void 0x0:_0x4a181d['getMergeData']();return(_0x828dbf==null?void 0x0:_0x828dbf[_0x33eb5e(0x2f1)](_0x395947=>_0x1d7a17[_0x33eb5e(0x29b)](_0x395947,_0x14ea11)))||_0x14ea11;}[_0xb7df44(0x204)](){const _0x5db892=_0xb7df44,_0x1afcd1=new _0x4eaacf(),_0x13dcc5=Uo(),_0x419052=()=>{const _0x1f9a1f=_0x16eb;_0x1afcd1[_0x1f9a1f(0x211)]();const _0x5ead83=(_0x393efc,_0x3533d1,_0x44ccff,_0x3b52f3)=>{const _0x542432=_0x1f9a1f;let _0x28bd60=[];switch(_0x393efc['id']){case _0x1a7f28[_0x542432(0x489)]:{_0x28bd60=_0x2d7739(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x376)]:{_0x28bd60=_0x162252(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x436)]:{_0x28bd60=_0x49e57a(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x296)]:{_0x28bd60=_0x20ab19(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x18f)]:{_0x28bd60=_0x363e7e(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x58e)]:{_0x28bd60=_0x1c5b47(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x43a)]:{_0x28bd60=_0x1babc8(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x447)]:{_0x28bd60=_0x5c072d(_0x393efc,_0x3b52f3);break;}case _0x1a7f28[_0x542432(0x506)]:{_0x28bd60=_0x2e137c(_0x393efc,_0x3b52f3);break;}}const _0x2173bd=_0x12db2d(_0x28bd60,_0x3b52f3),_0x12e1aa=this[_0x542432(0x4d9)][_0x542432(0x339)](_0x3533d1);if(_0x12e1aa&&_0x2173bd){const _0x462246={..._0x12e1aa,'range':_0x2173bd};this[_0x542432(0x4d9)]['set'](_0x3533d1,_0x462246),_0x13dcc5(()=>{const _0x5d25ce=_0x542432,_0x543d37=this[_0x5d25ce(0x2b3)][_0x5d25ce(0x1de)](_0x2173bd,_0x59fb1f=>(_0x543d37[_0x5d25ce(0x211)](),_0x5ead83(_0x59fb1f,_0x3533d1,_0x44ccff,_0x2173bd)));_0x1afcd1['add'](_0x543d37);});}return{'redos':[],'undos':[]};};this[_0x1f9a1f(0x4d9)]['forEach']((_0x4efdf0,_0x391c35)=>{const _0x142b5b=_0x1f9a1f,{range:_0x157992,sheetID:_0x30c0fa}=_0x4efdf0,_0x59da50=this['_refRangeService'][_0x142b5b(0x1de)](_0x157992,_0x1efad2=>(_0x59da50[_0x142b5b(0x211)](),_0x5ead83(_0x1efad2,_0x391c35,_0x30c0fa,_0x157992)));_0x1afcd1[_0x142b5b(0x364)](_0x59da50);});};this['disposeWithMe'](_0x1ae8eb(this[_0x5db892(0x559)][_0x5db892(0x41a)](()=>{_0x419052();})));}[_0xb7df44(0x536)](){const _0x358d06=_0xb7df44;var _0x18e9f6,_0x42ecab;if(this[_0x358d06(0x452)]=!0x0,((_0x18e9f6=this[_0x358d06(0x3d6)]['getFocusedUnit']())==null?void 0x0:_0x18e9f6[_0x358d06(0x432)]())!==this[_0x358d06(0x37e)])return;const _0x356cb3=(_0x42ecab=this[_0x358d06(0x526)][_0x358d06(0x339)](_0x1412c1)[_0x358d06(0x44e)]())==null?void 0x0:_0x42ecab[0x0],_0x2fb786=this['_univerInstanceService'][_0x358d06(0x3dc)](_0x5d9c1d[_0x358d06(0x37b)])[_0x358d06(0x36d)]();_0x356cb3&&_0x2fb786&&this['_updateLocalCursor'](_0x2fb786[_0x358d06(0x40a)](),_0x356cb3);}['_toggleOffline'](){this['_online']=!0x1;}};rs=wo([Be(0x2,_0x380ba9(_0x41c43c)),Be(0x3,_0x380ba9(bs)),Be(0x4,_0x380ba9(Ne)),Be(0x5,_0xf81bb9),Be(0x6,_0x461f8f),Be(0x7,_0x380ba9(_0x53687c))],rs);var No=Object[_0xb7df44(0x441)],Ao=Object[_0xb7df44(0x250)],Mo=(_0x50e12f,_0x50636f,_0x237879,_0x5f413f)=>{const _0x499090=_0xb7df44;for(var _0x387c2f=_0x5f413f>0x1?void 0x0:_0x5f413f?Ao(_0x50636f,_0x237879):_0x50636f,_0x4bec88=_0x50e12f[_0x499090(0x3f7)]-0x1,_0x212b92;_0x4bec88>=0x0;_0x4bec88--)(_0x212b92=_0x50e12f[_0x4bec88])&&(_0x387c2f=(_0x5f413f?_0x212b92(_0x50636f,_0x237879,_0x387c2f):_0x212b92(_0x387c2f))||_0x387c2f);return _0x5f413f&&_0x387c2f&&No(_0x50636f,_0x237879,_0x387c2f),_0x387c2f;},$t=(_0xc9acab,_0x3ecc1e)=>(_0x424a61,_0x168cfd)=>_0x3ecc1e(_0x424a61,_0x168cfd,_0xc9acab);let Ve=class extends _0x3431ab{constructor(_0x62b99,_0x3742c7,_0x569e60){const _0x131c57=_0xb7df44;super(),g(this,_0x131c57(0x381),new Map()),g(this,_0x131c57(0x457),new _0xbbcc86()),(this['_univerInstanceService']=_0x62b99,this[_0x131c57(0x526)]=_0x3742c7,this[_0x131c57(0x49f)]=_0x569e60,this[_0x131c57(0x4a2)]());}[_0xb7df44(0x211)](){const _0x3ce088=_0xb7df44;super[_0x3ce088(0x211)](),this['_entityInit$'][_0x3ce088(0x225)](),this[_0x3ce088(0x381)][_0x3ce088(0x3d9)](_0x2e0478=>_0x2e0478[_0x3ce088(0x211)]());}['getCollabCursors$'](_0x4f97a3){const _0x26ec0f=_0xb7df44;return this[_0x26ec0f(0x381)][_0x26ec0f(0x1df)](_0x4f97a3)?this[_0x26ec0f(0x381)][_0x26ec0f(0x339)](_0x4f97a3)['cursorInfo$']:this[_0x26ec0f(0x457)][_0x26ec0f(0x51d)](_0x2b44ab(_0x413aca=>_0x413aca['unitID']===_0x4f97a3),_0x54d5d9(_0x3f23f8=>_0x3f23f8[_0x26ec0f(0x31e)]));}['_init'](){const _0x3ef35c=_0xb7df44;this[_0x3ef35c(0x3d6)][_0x3ef35c(0x4a4)](_0x5d9c1d['UNIVER_SHEET'])[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x41a)](async _0x354b65=>{const _0x47ab71=_0x3ef35c,_0x3da481=_0x354b65[_0x47ab71(0x432)](),_0x2ccf9b=await this['_startSheetCollabCursor'](_0x3da481);this['_entityInit$']['next'](_0x2ccf9b),this[_0x47ab71(0x381)][_0x47ab71(0x1f3)](_0x3da481,_0x2ccf9b);}),this[_0x3ef35c(0x3d6)][_0x3ef35c(0x4a4)](_0x5d9c1d[_0x3ef35c(0x1cf)])[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x51d)](_0x2b44ab(_0x3299d6=>!_0x3299d6[_0x3ef35c(0x432)]()[_0x3ef35c(0x419)]('__')))[_0x3ef35c(0x41a)](async _0x212968=>{const _0x351513=_0x3ef35c,_0x5eb32b=_0x212968[_0x351513(0x432)](),_0x30508c=await this[_0x351513(0x410)](_0x5eb32b);this[_0x351513(0x457)][_0x351513(0x28b)](_0x30508c),this[_0x351513(0x381)]['set'](_0x5eb32b,_0x30508c);}),_0x446ede(this[_0x3ef35c(0x3d6)]['getTypeOfUnitDisposed$'](_0x5d9c1d[_0x3ef35c(0x1cf)]),this['_univerInstanceService'][_0x3ef35c(0x4cd)](_0x5d9c1d[_0x3ef35c(0x37b)]))[_0x3ef35c(0x51d)](_0x5c3c82(this[_0x3ef35c(0x561)]))[_0x3ef35c(0x41a)](_0x2e2c14=>{const _0x4e96b8=_0x3ef35c,_0x242e87=_0x2e2c14[_0x4e96b8(0x432)](),_0x1a79bb=this[_0x4e96b8(0x381)]['get'](_0x242e87);_0x1a79bb&&(_0x1a79bb[_0x4e96b8(0x211)](),this[_0x4e96b8(0x381)][_0x4e96b8(0x37f)](_0x242e87));});}async[_0xb7df44(0x2f8)](_0x4fc8ba){const _0x1915c4=_0xb7df44,_0x544b3a=await this[_0x1915c4(0x49f)][_0x1915c4(0x4d8)](_0x4fc8ba),_0x385ace=this[_0x1915c4(0x526)][_0x1915c4(0x3fe)](rs,_0x4fc8ba,_0x544b3a);return _0x385ace[_0x1915c4(0x509)](),_0x385ace;}async[_0xb7df44(0x410)](_0x5f584d){const _0x71ef2e=_0xb7df44,_0x446c61=await this[_0x71ef2e(0x49f)][_0x71ef2e(0x4d8)](_0x5f584d),_0x41c17f=this['_injector'][_0x71ef2e(0x3fe)](ns,_0x5f584d,_0x446c61);return _0x41c17f[_0x71ef2e(0x509)](),_0x41c17f;}};Ve=Mo([$t(0x0,_0xf81bb9),$t(0x1,_0x380ba9(_0x41c43c)),$t(0x2,_0x380ba9(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x499956,_0x182f18){const _0x2b65be=_0xb7df44;let {radius:_0x2ffd26,width:_0x5eb107,height:_0x33db55}=_0x182f18;_0x2ffd26=_0x2ffd26!=null?_0x2ffd26:0x0,_0x5eb107=_0x5eb107!=null?_0x5eb107:0x1e,_0x33db55=_0x33db55!=null?_0x33db55:0x1e;let _0x5b9cc0=0x0,_0x4dd22a=0x0,_0x109866=0x0;_0x5b9cc0=_0x4dd22a=_0x109866=Math['min'](_0x2ffd26,_0x5eb107/0x2,_0x33db55/0x2),_0x499956[_0x2b65be(0x4e6)](),_0x499956[_0x2b65be(0x278)](_0x5b9cc0,0x0),_0x499956[_0x2b65be(0x1c0)](_0x5eb107-_0x4dd22a,0x0),_0x499956['arc'](_0x5eb107-_0x4dd22a,_0x4dd22a,_0x4dd22a,Math['PI']*0x3/0x2,0x0,!0x1),_0x499956['lineTo'](_0x5eb107,_0x33db55-_0x109866),_0x499956[_0x2b65be(0x3ee)](_0x5eb107-_0x109866,_0x33db55-_0x109866,_0x109866,0x0,Math['PI']/0x2,!0x1),_0x499956['lineTo'](0x0,_0x33db55),_0x499956[_0x2b65be(0x1c0)](0x0,_0x5b9cc0),_0x499956['arc'](_0x5b9cc0,_0x5b9cc0,_0x5b9cc0,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x499956[_0x2b65be(0x3bf)](),_0x182f18[_0x2b65be(0x2da)]&&(_0x499956['save'](),_0x499956['fillStyle']=_0x182f18[_0x2b65be(0x2da)],_0x182f18[_0x2b65be(0x373)]===_0x2b65be(0x4f3)?_0x499956[_0x2b65be(0x2da)]('evenodd'):_0x499956[_0x2b65be(0x2da)](),_0x499956['restore']());}class Ot extends _0x176759{constructor(_0x2e7b9e,_0x5ea0cd){const _0x5103d6=_0xb7df44;super(_0x2e7b9e,_0x5ea0cd),g(this,_0x5103d6(0x2e2)),g(this,_0x5103d6(0x368)),(this[_0x5103d6(0x2e2)]=_0x5ea0cd==null?void 0x0:_0x5ea0cd[_0x5103d6(0x2e2)],this[_0x5103d6(0x368)]=_0x5ea0cd==null?void 0x0:_0x5ea0cd[_0x5103d6(0x368)]);}static[_0xb7df44(0x23c)](_0x4ab0c7,_0x206daa){const _0x2ab49c=_0xb7df44,{text:_0x497694,color:_0x53ff4b}=_0x206daa;_0x4ab0c7[_0x2ab49c(0x220)](),_0x4ab0c7['font']=_0x2ab49c(0x32e);const _0x52bce3=_0x4ab0c7[_0x2ab49c(0x22c)](_0x497694)[_0x2ab49c(0x265)],_0x3abda0=Math['min'](_0x52bce3+0x2*Ht,Ys);Lo(_0x4ab0c7,{'height':nt,'radius':0x4,'width':_0x3abda0,'fill':_0x53ff4b,'evented':!0x1}),_0x4ab0c7[_0x2ab49c(0x3a3)]=_0x2ab49c(0x192);const _0x4ee148=Ht,_0x248fb8=nt-xo,_0x2f8316=Ys-0x2*Ht;if(_0x52bce3>_0x2f8316){let _0x5c1062='',_0x7bc335=0x0;for(const _0x40a3c5 of _0x497694){const _0x56ccc0=_0x4ab0c7['measureText'](_0x40a3c5)[_0x2ab49c(0x265)];if(_0x7bc335+_0x56ccc0<=_0x2f8316-_0x4ab0c7[_0x2ab49c(0x22c)]('...')[_0x2ab49c(0x265)])_0x5c1062+=_0x40a3c5,_0x7bc335+=_0x56ccc0;else{_0x5c1062+=_0x2ab49c(0x52b);break;}}_0x4ab0c7[_0x2ab49c(0x4c0)](_0x5c1062,_0x4ee148,_0x248fb8);}else _0x4ab0c7['fillText'](_0x497694,_0x4ee148,_0x248fb8);_0x4ab0c7[_0x2ab49c(0x248)]();}['_draw'](_0x141852){Ot['drawWith'](_0x141852,this);}}const jt='collab-text-anchor-',$o=_0xb7df44(0x2f3),Ho=_0xb7df44(0x1a0),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0xb7df44(0x3f6);class Ks{constructor(_0x4dcb04,_0xa87287,_0x85b21b,_0x577f42){const _0x5474cc=_0xb7df44;g(this,_0x5474cc(0x1f6),[]),g(this,_0x5474cc(0x465),null),g(this,_0x5474cc(0x325),null),g(this,_0x5474cc(0x244),null),g(this,_0x5474cc(0x186),null),g(this,_0x5474cc(0x302),null),(this[_0x5474cc(0x1e0)]=_0x4dcb04,this[_0x5474cc(0x43d)]=_0xa87287,this[_0x5474cc(0x1b1)]=_0x85b21b,this[_0x5474cc(0x583)]=_0x577f42,this[_0x5474cc(0x359)]());}set[_0xb7df44(0x3ca)](_0x2a43d5){const _0x445519=_0xb7df44;_0x2a43d5?(this[_0x445519(0x244)]&&this[_0x445519(0x244)][_0x445519(0x499)](),this[_0x445519(0x325)]&&this[_0x445519(0x325)][_0x445519(0x39d)]()):(this[_0x445519(0x244)]&&this[_0x445519(0x244)]['show'](),this['_textBubble']&&this['_textBubble'][_0x445519(0x499)]());}[_0xb7df44(0x211)](){const _0x4c1bb0=_0xb7df44;for(const _0x9b7333 of this[_0x4c1bb0(0x1f6)])_0x9b7333[_0x4c1bb0(0x211)]();this[_0x4c1bb0(0x325)]&&this[_0x4c1bb0(0x325)][_0x4c1bb0(0x211)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x4c1bb0(0x465)]&&this[_0x4c1bb0(0x465)][_0x4c1bb0(0x211)](),this[_0x4c1bb0(0x302)]&&this[_0x4c1bb0(0x302)]();}[_0xb7df44(0x359)](){const _0x56fdbf=_0xb7df44;var _0x46e831;const {_docSkeleton:_0x3c8b48,_document:_0x45c5ff}=this,{color:_0x5c3d2e,name:_0x1f5652,ranges:_0x357d98}=this['_cursor'],_0x370f19=_0x45c5ff[_0x56fdbf(0x42f)](),{docsLeft:_0x45de2f,docsTop:_0x18db5e}=_0x370f19,_0x101bee=new _0x5d0814(_0x370f19,_0x3c8b48);for(const {startOffset:_0x325d4e,endOffset:_0x483953,rangeType:_0x585330,segmentId:_0x57da1b,segmentPage:_0x489209,collapsed:_0x14ea3b,isActive:_0x5e9be7}of _0x357d98){const _0x1c78bc=_0x3c8b48[_0x56fdbf(0x313)](_0x325d4e,!0x0,_0x57da1b,_0x489209);let _0x291581=_0x3c8b48[_0x56fdbf(0x313)](_0x483953,!0x0,_0x57da1b,_0x489209);if(_0x291581==null&&(_0x291581=_0x3c8b48[_0x56fdbf(0x313)](_0x483953-0x1,!0x1,_0x57da1b,_0x489209)),_0x5e9be7){const {contentBoxPointGroup:_0x4b7ab5}=_0x101bee[_0x56fdbf(0x330)](_0x291581,_0x291581);if(_0x4b7ab5['length']===0x0)continue;this[_0x56fdbf(0x4bb)](_0x5c3d2e,_0x4b7ab5,_0x45de2f,_0x18db5e,_0x1f5652),this[_0x56fdbf(0x302)]=this[_0x56fdbf(0x500)]();}if(!_0x14ea3b&&_0x1c78bc&&_0x291581){if(_0x585330===_0x51d1cd[_0x56fdbf(0x4a0)]){const _0x54e571=new _0x3321d3(_0x370f19,_0x3c8b48),{pointGroup:_0x1a2f94}=(_0x46e831=_0x54e571[_0x56fdbf(0x330)](_0x1c78bc,_0x291581))!=null?_0x46e831:{};if(_0x1a2f94==null||_0x1a2f94['length']===0x0)continue;this[_0x56fdbf(0x312)](_0x5c3d2e,_0x1a2f94,_0x45de2f,_0x18db5e);}else{const {borderBoxPointGroup:_0x1fb6f6}=_0x101bee['getRangePointData'](_0x1c78bc,_0x291581);if(_0x1fb6f6[_0x56fdbf(0x3f7)]===0x0)continue;this[_0x56fdbf(0x546)](_0x5c3d2e,_0x1fb6f6,_0x45de2f,_0x18db5e);}}}}['_drawAnchor'](_0x3a2920,_0x416b8d,_0x5bdbaa,_0x4928a3,_0x42f23b){const _0x38acd8=_0xb7df44,_0x8c0299=this[_0x38acd8(0x3dd)](_0x416b8d),{left:_0x322d7c,top:_0x1b6b9f,height:_0x236699}=_0x8c0299,_0xb2c117=this[_0x38acd8(0x596)](),_0x165c95=Bo/_0xb2c117,_0x33dfc6=new _0xfbec4b(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3,'height':_0x236699,'width':jo,'fill':_0x3a2920||_0x479e33(_0x5799c6[_0x38acd8(0x25c)],0x0),'strokeWidth':_0x165c95,'stroke':ko,'evented':!0x0});this[_0x38acd8(0x465)]=_0x33dfc6,this['_scene']['addObject'](_0x33dfc6,_0x14c12f);const _0x5aca26=new _0xfbec4b(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x3a2920||_0x479e33(_0x5799c6[_0x38acd8(0x25c)],0x0),'strokeWidth':0x0,'stroke':_0x3a2920||_0x479e33(_0x5799c6['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x5aca26,this['_scene'][_0x38acd8(0x418)](_0x5aca26,_0x14c12f);const _0x1f84fa=new Ot(jt+_0xb81a94[_0x38acd8(0x4a3)](Je),{'left':_0x322d7c+_0x5bdbaa-_0x165c95,'top':_0x1b6b9f+_0x4928a3-nt,'text':_0x42f23b,'color':_0x3a2920});this['_textBubble']=_0x1f84fa,this[_0x38acd8(0x43d)][_0x38acd8(0x418)](_0x1f84fa,_0x14c12f),this[_0x38acd8(0x3ca)]=!0x1;}[_0xb7df44(0x500)](){const _0x16a8b9=_0xb7df44,_0x341c4f=this[_0x16a8b9(0x465)][_0x16a8b9(0x3ef)][_0x16a8b9(0x1db)](()=>{const _0x5e0877=_0x16a8b9;this[_0x5e0877(0x3ca)]=!0x0;}),_0x53579=this[_0x16a8b9(0x465)][_0x16a8b9(0x24a)]['subscribeEvent'](()=>{const _0x46e10b=_0x16a8b9;this[_0x46e10b(0x186)]&&clearTimeout(this[_0x46e10b(0x186)]),this[_0x46e10b(0x186)]=setTimeout(()=>{const _0x1ce751=_0x46e10b;this[_0x1ce751(0x3ca)]=!0x1;},0x7d0);});return()=>{const _0x52214e=_0x16a8b9;_0x341c4f[_0x52214e(0x1d6)](),_0x53579[_0x52214e(0x1d6)]();};}[_0xb7df44(0x546)](_0xffbdd6,_0xaccf8c,_0x3c207e,_0x3d4b9a){const _0x1043bf=_0xb7df44,_0x67d506=new _0x2b46cd(_0xffbdd6)[_0x1043bf(0x2bd)](0.2)['toRgbString'](),_0x36cfcd=new _0x45525f($o+_0xb81a94[_0x1043bf(0x4a3)](Je),{'pointsGroup':_0xaccf8c,'fill':_0x67d506||_0x479e33(_0x5799c6[_0x1043bf(0x25c)],0.2),'left':_0x3c207e,'top':_0x3d4b9a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1043bf(0x1f6)][_0x1043bf(0x1c5)](_0x36cfcd),this[_0x1043bf(0x43d)][_0x1043bf(0x418)](_0x36cfcd,_0x14c12f);}['_drawRectRange'](_0x24a2af,_0x18d94e,_0x15507d,_0x36311f){const _0x5e7d93=_0xb7df44,_0x19d74b=new _0x2b46cd(_0x24a2af)[_0x5e7d93(0x2bd)](0.2)['toRgbString'](),_0x2a2a94=new _0x45525f(Ho+_0xb81a94['generateRandomId'](Je),{'pointsGroup':_0x18d94e,'fill':_0x19d74b||_0x479e33(_0x5799c6[_0x5e7d93(0x25c)],0.2),'left':_0x15507d,'top':_0x36311f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e7d93(0x1f6)][_0x5e7d93(0x1c5)](_0x2a2a94),this['_scene'][_0x5e7d93(0x418)](_0x2a2a94,_0x14c12f);}[_0xb7df44(0x3dd)](_0x515194){const _0x78a57e=_0x515194[0x0],_0x36e62e=_0x78a57e[0x0],_0x3cd192=_0x78a57e[0x2],{x:_0x5baec5,y:_0x355a1d}=_0x36e62e,{x:_0x1b5239,y:_0x193e79}=_0x3cd192;return{'left':_0x5baec5,'top':_0x355a1d,'width':_0x1b5239-_0x5baec5,'height':_0x193e79-_0x355a1d};}[_0xb7df44(0x596)](){const _0x149778=_0xb7df44,{scaleX:_0xb56a41,scaleY:_0x525e03}=this[_0x149778(0x43d)][_0x149778(0x3d0)]();return Math[_0x149778(0x332)](_0xb56a41,_0x525e03);}}var Wo=Object['defineProperty'],Fo=Object[_0xb7df44(0x250)],Vo=(_0x1b437b,_0x268139,_0x1b89fc,_0x4af129)=>{const _0x102e9e=_0xb7df44;for(var _0x464675=_0x4af129>0x1?void 0x0:_0x4af129?Fo(_0x268139,_0x1b89fc):_0x268139,_0x42ebe1=_0x1b437b[_0x102e9e(0x3f7)]-0x1,_0x2fec8d;_0x42ebe1>=0x0;_0x42ebe1--)(_0x2fec8d=_0x1b437b[_0x42ebe1])&&(_0x464675=(_0x4af129?_0x2fec8d(_0x268139,_0x1b89fc,_0x464675):_0x2fec8d(_0x464675))||_0x464675);return _0x4af129&&_0x464675&&Wo(_0x268139,_0x1b89fc,_0x464675),_0x464675;},ht=(_0x4a127a,_0x1f939a)=>(_0x3302f7,_0x1510f7)=>_0x1f939a(_0x3302f7,_0x1510f7,_0x4a127a);let os=class extends _0x3431ab{constructor(_0x49c0f9,_0x216948,_0x275736,_0x585bca,_0x352032){const _0x392528=_0xb7df44;super(),g(this,_0x392528(0x289),[]),g(this,'_cursors',[]),(this[_0x392528(0x4b6)]=_0x49c0f9,this[_0x392528(0x2fe)]=_0x216948,this[_0x392528(0x549)]=_0x275736,this['_commandService']=_0x585bca,this[_0x392528(0x3ec)]=_0x352032,this['_init']());}[_0xb7df44(0x4a2)](){const _0x1629c5=_0xb7df44,_0x367661=this[_0x1629c5(0x4b6)][_0x1629c5(0x4ec)],_0x28b840=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x31796e([this[_0x1629c5(0x549)][_0x1629c5(0x347)](_0x367661),this['_themeService']['currentTheme$']])[_0x1629c5(0x51d)](_0x41a95e(([_0x4f4c1e,_0x500eb1])=>({'skeleton':_0x28b840[_0x1629c5(0x39c)](),'cursors':[..._0x4f4c1e[_0x1629c5(0x252)]()][_0x1629c5(0x1ee)](_0x108b16=>({..._0x108b16,'color':_0x500eb1[_0x108b16['color']]}))})))[_0x1629c5(0x41a)](_0x31f509=>{const _0x57396e=_0x1629c5;if(this[_0x57396e(0x440)](),_0x31f509){const {skeleton:_0x13a365,cursors:_0x2c0fef}=_0x31f509;this['_updateCollabCursors'](_0x13a365,_0x2c0fef);}})),this['_initResize'](),this[_0x1629c5(0x1b7)]();}[_0xb7df44(0x1ef)](_0x4fdc91,_0x2afc16){const _0x22318=_0xb7df44,{scene:_0x588067,mainComponent:_0x4cc18d}=this['_context'],_0x3c5427=_0x2afc16[_0x22318(0x2aa)](_0x33d100=>new Ks(_0x33d100,_0x588067,_0x4fdc91,_0x4cc18d));this[_0x22318(0x289)]=_0x3c5427,this[_0x22318(0x183)]=_0x2afc16;}[_0xb7df44(0x58f)](){const _0x555b9e=_0xb7df44;this[_0x555b9e(0x440)]();const {scene:_0x1acc4a,mainComponent:_0x3bbc14}=this[_0x555b9e(0x4b6)],_0x14d43b=this[_0x555b9e(0x2fe)]['getSkeleton'](),_0x256f1f=this[_0x555b9e(0x183)][_0x555b9e(0x2aa)](_0x58a7d0=>new Ks(_0x58a7d0,_0x1acc4a,_0x14d43b,_0x3bbc14));this[_0x555b9e(0x289)]=_0x256f1f;}[_0xb7df44(0x440)](){const _0x5c46ba=_0xb7df44;this[_0x5c46ba(0x289)][_0x5c46ba(0x3d9)](_0x105385=>_0x105385['dispose']()),this[_0x5c46ba(0x289)]=[];}['_initCommandExecutedListener'](){const _0x37ad16=_0xb7df44,_0x480086=[_0x46e832['id']];this[_0x37ad16(0x55a)](this['_commandService']['onCommandExecuted'](_0x48e832=>{const _0x30a39b=_0x37ad16;_0x480086[_0x30a39b(0x29a)](_0x48e832['id'])&&_0x48e832['params'][_0x30a39b(0x4ec)]===this[_0x30a39b(0x4b6)][_0x30a39b(0x4ec)]&&this[_0x30a39b(0x58f)]();}));}[_0xb7df44(0x19a)](){const _0x2e6afd=_0xb7df44;this[_0x2e6afd(0x55a)](_0x13d8c1(this[_0x2e6afd(0x4b6)][_0x2e6afd(0x464)][_0x2e6afd(0x488)])[_0x2e6afd(0x51d)](_0x4620cd(_0x47e88a=>_0x47e88a[_0x2e6afd(0x1f8)]===_0x4237c6[_0x2e6afd(0x395)]),_0x51a6bc(0x10))['subscribe'](()=>{const _0x10a592=_0x2e6afd;this[_0x10a592(0x58f)]();}));}};os=Vo([ht(0x1,_0x380ba9(_0x5d5172)),ht(0x2,_0x380ba9(Ve)),ht(0x3,_0x461f8f),ht(0x4,_0x380ba9(_0x3a8de9))],os);const Go=0x1,Yo=1.5;class Ko extends _0x176759{constructor(_0x23ea6d,_0x5342e3){const _0xd595e6=_0xb7df44;super(_0x23ea6d,_0x5342e3),g(this,'_color'),g(this,'_hovered',!0x1),g(this,_0xd595e6(0x3f9)),g(this,_0xd595e6(0x2a9),''),g(this,_0xd595e6(0x4f1),_0xd595e6(0x527)),g(this,'_backgroundColor'),(_0x5342e3&&this[_0xd595e6(0x592)](_0x5342e3),this[_0xd595e6(0x3ef)][_0xd595e6(0x1db)](()=>this[_0xd595e6(0x592)]({'hovered':!0x0})),this['onPointerLeave$'][_0xd595e6(0x1db)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xb7df44(0x592)](_0x1e61d1){const _0x11d6e3=_0xb7df44;var _0x45f0c9,_0x59ce3b,_0x429604,_0x519135,_0x58acee,_0x2d479b;this['_color']=(_0x45f0c9=_0x1e61d1[_0x11d6e3(0x2e2)])!=null?_0x45f0c9:this[_0x11d6e3(0x335)],this[_0x11d6e3(0x30b)]=(_0x59ce3b=_0x1e61d1['hovered'])!=null?_0x59ce3b:this[_0x11d6e3(0x30b)],this[_0x11d6e3(0x3f9)]=(_0x429604=_0x1e61d1[_0x11d6e3(0x4e9)])!=null?_0x429604:this[_0x11d6e3(0x3f9)],this[_0x11d6e3(0x2a9)]=(_0x519135=_0x1e61d1[_0x11d6e3(0x1ba)])!=null?_0x519135:this[_0x11d6e3(0x2a9)],this['_labelPosition']=(_0x58acee=_0x1e61d1[_0x11d6e3(0x34c)])!=null?_0x58acee:this[_0x11d6e3(0x4f1)],this[_0x11d6e3(0x569)]=(_0x2d479b=_0x1e61d1['backgroundColor'])!=null?_0x2d479b:this[_0x11d6e3(0x569)],this[_0x11d6e3(0x1ed)]({'width':_0x1e61d1[_0x11d6e3(0x265)],'height':_0x1e61d1[_0x11d6e3(0x1eb)]});}[_0xb7df44(0x1fc)](_0x4fac56){const _0x5d5bf3=_0xb7df44,{row:_0x162858,column:_0x314f76}=_0x4fac56;if(_0x162858>=this['_range'][_0x5d5bf3(0x290)]&&_0x162858<=this['_range'][_0x5d5bf3(0x535)]&&_0x314f76>=this[_0x5d5bf3(0x3f9)][_0x5d5bf3(0x2cb)]&&_0x314f76<=this[_0x5d5bf3(0x3f9)][_0x5d5bf3(0x35d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5d5bf3(0x592)]({'hovered':!0x1});}[_0xb7df44(0x27e)](_0x5d6193){return!0x1;}['_draw'](_0x95fd6f){const _0x5e7421=_0xb7df44;_0xfbec4b[_0x5e7421(0x23c)](_0x95fd6f,{'width':this[_0x5e7421(0x265)],'height':this[_0x5e7421(0x1eb)],'strokeWidth':Yo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5e7421(0x569)]}),this['_hovered']&&(_0x95fd6f[_0x5e7421(0x220)](),_0x95fd6f['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x5e7421(0x4f1)]==='bottom'?0x0:-nt),Ot['drawWith'](_0x95fd6f,{'text':this[_0x5e7421(0x2a9)],'color':this[_0x5e7421(0x335)]}),_0x95fd6f[_0x5e7421(0x248)]());}}var zo=Object['defineProperty'],qo=Object['getOwnPropertyDescriptor'],Xo=(_0x4d32b1,_0x560210,_0x5b8dee,_0x10e33e)=>{const _0x431b89=_0xb7df44;for(var _0x383a4b=_0x10e33e>0x1?void 0x0:_0x10e33e?qo(_0x560210,_0x5b8dee):_0x560210,_0x1fddbe=_0x4d32b1[_0x431b89(0x3f7)]-0x1,_0x14d46b;_0x1fddbe>=0x0;_0x1fddbe--)(_0x14d46b=_0x4d32b1[_0x1fddbe])&&(_0x383a4b=(_0x10e33e?_0x14d46b(_0x560210,_0x5b8dee,_0x383a4b):_0x14d46b(_0x383a4b))||_0x383a4b);return _0x10e33e&&_0x383a4b&&zo(_0x560210,_0x5b8dee,_0x383a4b),_0x383a4b;},kt=(_0x2757ed,_0x5c0889)=>(_0x4ff452,_0x5350ae)=>_0x5c0889(_0x4ff452,_0x5350ae,_0x2757ed);const Jo=0x1389;let as=class extends _0x3431ab{constructor(_0x33cb56,_0x39d5fc,_0x11d6e1,_0xd87c04){const _0x48faf1=_0xb7df44;super(),g(this,_0x48faf1(0x183),new Set()),g(this,_0x48faf1(0x232),null),(this[_0x48faf1(0x4b6)]=_0x33cb56,this[_0x48faf1(0x2fd)]=_0x39d5fc,this[_0x48faf1(0x549)]=_0x11d6e1,this[_0x48faf1(0x3ec)]=_0xd87c04,this[_0x48faf1(0x4a2)]());}['_init'](){const _0x2361e8=_0xb7df44;this[_0x2361e8(0x2fd)][_0x2361e8(0x517)]['pipe'](_0x5a8e54(this[_0x2361e8(0x561)]),_0x7a46c2(_0x591d57=>{const _0x4e7d7d=_0x2361e8;if(_0x591d57){const _0x49c335=_0x591d57['sheetId'];return _0x31796e(this[_0x4e7d7d(0x549)]['getCollabCursors$'](this['_context']['unitId']),this[_0x4e7d7d(0x3ec)]['currentTheme$'])[_0x4e7d7d(0x51d)](_0x41a95e(([_0x355594,_0x14370e])=>{const _0x68b3a9=_0x4e7d7d,_0x3e9fb3=new Map();return _0x355594[_0x68b3a9(0x3d9)]((_0x36c7ba,_0x2d1ce3)=>{const _0x30dfad=_0x68b3a9;if(_0x36c7ba[_0x30dfad(0x1b3)]===_0x49c335){const _0x585828={..._0x36c7ba};_0x585828['color']=_0x14370e[_0x36c7ba[_0x30dfad(0x2e2)]],_0x3e9fb3['set'](_0x2d1ce3,_0x585828);}}),{'skeleton':_0x591d57,'cursors':_0x3e9fb3};}));}return _0x4a5a0f({'skeleton':null,'cursors':new Map()});}))[_0x2361e8(0x41a)](({skeleton:_0x38e59b,cursors:_0x41e426})=>{const _0x43fc0f=_0x2361e8;this[_0x43fc0f(0x440)](),_0x38e59b&&this[_0x43fc0f(0x1ef)](_0x38e59b,_0x41e426);}),this[_0x2361e8(0x2fd)][_0x2361e8(0x517)][_0x2361e8(0x41a)](_0x184c36=>{const _0xdd2f25=_0x2361e8;if(_0x184c36==null)return;const {skeleton:_0x1d4a76}=_0x184c36,{scene:_0x578c12}=this['_context'];_0x578c12[_0xdd2f25(0x573)][_0xdd2f25(0x1db)](_0x3a88e2(_0x89170d=>{const _0x498d2f=_0xdd2f25;var _0x16d393,_0x5ccb16;const {offsetX:_0x4f4aff,offsetY:_0x239944}=_0x89170d,{x:_0x41539c,y:_0x3cb30f}=_0x578c12['getRelativeToViewportCoord'](_0x9c6ad7[_0x498d2f(0x4a6)]([_0x4f4aff,_0x239944])),{scaleX:_0x37c8fb,scaleY:_0x5bdb88}=_0x578c12['getAncestorScale'](),_0x5d7927=_0x578c12[_0x498d2f(0x343)](_0x4b5410[_0x498d2f(0x24e)]),_0x27e960=_0x578c12['getVpScrollXYInfoByPosToVp'](_0x9c6ad7['FromArray']([_0x41539c,_0x3cb30f]),_0x5d7927),_0x589a33=_0x1d4a76['getCellPositionByOffset'](_0x4f4aff,_0x239944,_0x37c8fb,_0x5bdb88,_0x27e960);((_0x16d393=this[_0x498d2f(0x232)])==null?void 0x0:_0x16d393['column'])===_0x589a33[_0x498d2f(0x316)]&&((_0x5ccb16=this[_0x498d2f(0x232)])==null?void 0x0:_0x5ccb16[_0x498d2f(0x51f)])===_0x589a33[_0x498d2f(0x51f)]||this[_0x498d2f(0x183)][_0x498d2f(0x3d9)](_0x4333ce=>{_0x4333ce['onMouseMove'](_0x589a33);});},0x64));});}['_updateCollabCursors'](_0x3053a6,_0xe11bb7){const _0x33c1a3=_0xb7df44;var _0x320964;const _0x2a5ac6=(_0x320964=this[_0x33c1a3(0x2fd)][_0x33c1a3(0x27d)]())==null?void 0x0:_0x320964[_0x33c1a3(0x496)];if(!_0x2a5ac6)return;const _0x5453b5=this[_0x33c1a3(0x598)]();if(!_0x5453b5)return;this[_0x33c1a3(0x183)][_0x33c1a3(0x3d9)](_0xe229c9=>{_0xe229c9['makeDirty']();});const {scene:_0x9bc4d7}=_0x5453b5,_0x4e6029=Zo(Array['from'](_0xe11bb7[_0x33c1a3(0x252)]()))[_0x33c1a3(0x2aa)](_0x1de722=>{const _0x5a3aba=_0x33c1a3,{color:_0x17bc7a,range:_0x2d97e0,name:_0x1df69b,selection:_0x2199cc,sheetID:_0x152281}=_0x1de722,{startColumn:_0x5f4c9e,startRow:_0x5dc381,endColumn:_0x1146a8,endRow:_0x4dacc4}=_0x2d97e0,_0x391fea=_0x245e06(_0x5dc381,_0x5f4c9e,_0x9bc4d7,_0x2a5ac6),_0x1786f8=_0x245e06(_0x4dacc4,_0x1146a8,_0x9bc4d7,_0x2a5ac6),{columnHeaderHeightAndMarginTop:_0x4c20bc}=_0x2a5ac6,{startX:_0x4a8606,startY:_0x27c417}=_0x391fea,{endX:_0x4e40fb,endY:_0xf3a74d}=_0x1786f8,_0x494ef7=_0x4e40fb-_0x4a8606,_0x4ed067=_0xf3a74d-_0x27c417,_0x699f99={'labelPosition':_0x27c417-_0x4c20bc>=nt?_0x5a3aba(0x527):_0x5a3aba(0x3a7),'sheetID':_0x152281,'range':_0x2d97e0,'color':_0x17bc7a,'name':_0x1df69b,'selection':_0x2199cc,'left':_0x4a8606,'top':_0x27c417,'width':_0x494ef7,'height':_0x4ed067,'evented':!0x1,'zIndex':Jo};return new Ko(_0x1df69b,_0x699f99);});_0x9bc4d7[_0x33c1a3(0x2ca)](_0x4e6029,Go),this[_0x33c1a3(0x183)]=new Set(_0x4e6029);}[_0xb7df44(0x440)](){const _0x293a6b=_0xb7df44;var _0x464cd0;(_0x464cd0=this[_0x293a6b(0x183)])==null||_0x464cd0[_0x293a6b(0x3d9)](_0x2c75d5=>_0x2c75d5[_0x293a6b(0x211)]());}['_getSheetObject'](){const _0x34bc09=_0xb7df44;return _0x3f1e0d(this[_0x34bc09(0x4b6)][_0x34bc09(0x599)],this[_0x34bc09(0x4b6)]);}};as=Xo([kt(0x1,_0x380ba9(_0x15b8f5)),kt(0x2,_0x380ba9(Ve)),kt(0x3,_0x380ba9(_0x3a8de9))],as);function Zo(_0x52a835){const _0x55785c=_0xb7df44,_0x55a569=new Map();return _0x52a835[_0x55785c(0x3d9)](_0x41a688=>{const _0x109e83=_0x55785c;if(_0x55a569[_0x109e83(0x1df)](_0x41a688['selection'])){const _0x474e8a=_0x55a569[_0x109e83(0x339)](_0x41a688[_0x109e83(0x570)]);_0x474e8a[_0x109e83(0x1ba)]+=',\x20'+_0x41a688[_0x109e83(0x1ba)];}else _0x55a569[_0x109e83(0x1f3)](_0x41a688[_0x109e83(0x570)],_0x41a688);}),Array['from'](_0x55a569[_0x55785c(0x252)]());}var ee=function(){const _0x1daf16=_0xb7df44;return ee=Object['assign']||function(_0x45bf14){const _0x101be7=_0x16eb;for(var _0x287515,_0x433d58=0x1,_0x12d8aa=arguments['length'];_0x433d58<_0x12d8aa;_0x433d58++){_0x287515=arguments[_0x433d58];for(var _0x620da1 in _0x287515)Object[_0x101be7(0x46d)][_0x101be7(0x30f)][_0x101be7(0x4c9)](_0x287515,_0x620da1)&&(_0x45bf14[_0x620da1]=_0x287515[_0x620da1]);}return _0x45bf14;},ee[_0x1daf16(0x324)](this,arguments);},Qo=function(_0x270d46,_0x34908d){const _0x4235c7=_0xb7df44;var _0x5e579d={};for(var _0x7b7e36 in _0x270d46)Object[_0x4235c7(0x46d)][_0x4235c7(0x30f)][_0x4235c7(0x4c9)](_0x270d46,_0x7b7e36)&&_0x34908d[_0x4235c7(0x1fb)](_0x7b7e36)<0x0&&(_0x5e579d[_0x7b7e36]=_0x270d46[_0x7b7e36]);if(_0x270d46!=null&&typeof Object[_0x4235c7(0x497)]=='function'){for(var _0x218861=0x0,_0x7b7e36=Object[_0x4235c7(0x497)](_0x270d46);_0x218861<_0x7b7e36[_0x4235c7(0x3f7)];_0x218861++)_0x34908d[_0x4235c7(0x1fb)](_0x7b7e36[_0x218861])<0x0&&Object[_0x4235c7(0x46d)]['propertyIsEnumerable']['call'](_0x270d46,_0x7b7e36[_0x218861])&&(_0x5e579d[_0x7b7e36[_0x218861]]=_0x270d46[_0x7b7e36[_0x218861]]);}return _0x5e579d;},Ts=_0x42a783(function(_0x4bfd29,_0x35c621){const _0x4ed6ac=_0xb7df44;var _0x133f83=_0x4bfd29[_0x4ed6ac(0x258)],_0x15d99b=_0x4bfd29['id'],_0x2a2658=_0x4bfd29[_0x4ed6ac(0x2d2)],_0x433c49=_0x4bfd29['extend'],_0x1c049a=Qo(_0x4bfd29,[_0x4ed6ac(0x258),'id',_0x4ed6ac(0x2d2),_0x4ed6ac(0x41b)]),_0x1b427e='univerjs-icon\x20univerjs-icon-'[_0x4ed6ac(0x391)](_0x15d99b,'\x20')[_0x4ed6ac(0x391)](_0x2a2658||'')['trim'](),_0x35e952=_0x1b3616('_'['concat'](sa()));return Mi(_0x133f83,''['concat'](_0x15d99b),{'defIds':_0x133f83['defIds'],'idSuffix':_0x35e952[_0x4ed6ac(0x3ba)]},ee({'ref':_0x35c621,'className':_0x1b427e},_0x1c049a),_0x433c49);});function Mi(_0xe3a039,_0x5c8526,_0x1c8b05,_0x1215b3,_0x2350f0){const _0x1003f8=_0xb7df44;return _0x444ffc(_0xe3a039['tag'],ee(ee({'key':_0x5c8526},ea(_0xe3a039,_0x1c8b05,_0x2350f0)),_0x1215b3),(ta(_0xe3a039,_0x1c8b05)[_0x1003f8(0x4fe)]||[])[_0x1003f8(0x2aa)](function(_0x25fd8a,_0x2297e1){const _0xe8586c=_0x1003f8;return Mi(_0x25fd8a,''[_0xe8586c(0x391)](_0x5c8526,'-')[_0xe8586c(0x391)](_0xe3a039[_0xe8586c(0x3e7)],'-')['concat'](_0x2297e1),_0x1c8b05,void 0x0,_0x2350f0);}));}function ea(_0x1a3539,_0x3855ab,_0x582e57){const _0x5b28a7=_0xb7df44;var _0x280a8d=ee({},_0x1a3539[_0x5b28a7(0x467)]);_0x582e57!=null&&_0x582e57[_0x5b28a7(0x1b0)]&&_0x280a8d[_0x5b28a7(0x2da)]===_0x5b28a7(0x1b0)&&(_0x280a8d[_0x5b28a7(0x2da)]=_0x582e57[_0x5b28a7(0x1b0)]);var _0x5e8a29=_0x3855ab[_0x5b28a7(0x533)];return!_0x5e8a29||_0x5e8a29[_0x5b28a7(0x3f7)]===0x0||(_0x1a3539[_0x5b28a7(0x3e7)]==='use'&&_0x280a8d['xlink:href']&&(_0x280a8d['xlink:href']=_0x280a8d[_0x5b28a7(0x3b7)]+_0x3855ab[_0x5b28a7(0x51c)]),Object[_0x5b28a7(0x560)](_0x280a8d)[_0x5b28a7(0x3d9)](function(_0x452899){const _0x85b338=_0x5b28a7;var _0x6b560=_0x452899[0x0],_0x82f1e0=_0x452899[0x1];typeof _0x82f1e0=='string'&&(_0x280a8d[_0x6b560]=_0x82f1e0[_0x85b338(0x532)](/url\(#(.*)\)/,_0x85b338(0x53a)[_0x85b338(0x391)](_0x3855ab[_0x85b338(0x51c)],')')));})),_0x280a8d;}function ta(_0x2c22b6,_0x3d1481){const _0x423a78=_0xb7df44;var _0x4bb89f,_0x515a4b=_0x3d1481[_0x423a78(0x533)];return!_0x515a4b||_0x515a4b[_0x423a78(0x3f7)]===0x0?_0x2c22b6:_0x2c22b6['tag']===_0x423a78(0x519)&&(!((_0x4bb89f=_0x2c22b6[_0x423a78(0x4fe)])===null||_0x4bb89f===void 0x0)&&_0x4bb89f[_0x423a78(0x3f7)])?ee(ee({},_0x2c22b6),{'children':_0x2c22b6['children']['map'](function(_0xfb0f3b){const _0x2d53fc=_0x423a78;return typeof _0xfb0f3b[_0x2d53fc(0x467)]['id']==_0x2d53fc(0x22d)&&_0x515a4b&&_0x515a4b['indexOf'](_0xfb0f3b[_0x2d53fc(0x467)]['id'])>-0x1?ee(ee({},_0xfb0f3b),{'attrs':ee(ee({},_0xfb0f3b[_0x2d53fc(0x467)]),{'id':_0xfb0f3b[_0x2d53fc(0x467)]['id']+_0x3d1481[_0x2d53fc(0x51c)]})}):_0xfb0f3b;})}):_0x2c22b6;}function sa(){const _0xcb9b72=_0xb7df44;return Math[_0xcb9b72(0x462)]()[_0xcb9b72(0x450)](0x24)['substring'](0x2,0x8);}Ts[_0xb7df44(0x466)]=_0xb7df44(0x3a9);var ia={'tag':_0xb7df44(0x49d),'attrs':{'fill':_0xb7df44(0x3a6),'viewBox':_0xb7df44(0x23a),'width':_0xb7df44(0x1e2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xb7df44(0x1e6)},'children':[{'tag':'path','attrs':{'stroke':_0xb7df44(0x55e),'d':_0xb7df44(0x236),'strokeLinecap':_0xb7df44(0x476),'strokeLinejoin':_0xb7df44(0x476),'strokeWidth':1.2}}]},{'tag':_0xb7df44(0x519),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'fill':_0xb7df44(0x181),'d':_0xb7df44(0x3b6)}}]}]}],'defIds':['off-line-single_clip0_910_343']},xi=_0x42a783(function(_0xb01258,_0x5a939b){const _0x3aef67=_0xb7df44;return _0x444ffc(Ts,Object[_0x3aef67(0x295)]({},_0xb01258,{'id':'off-line-single','ref':_0x5a939b,'icon':ia}));});xi['displayName']=_0xb7df44(0x299);var na={'tag':_0xb7df44(0x49d),'attrs':{'fill':_0xb7df44(0x3a6),'viewBox':_0xb7df44(0x52a),'width':_0xb7df44(0x1e2),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'stroke':_0xb7df44(0x55e),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0xb7df44(0x476),'strokeLinejoin':_0xb7df44(0x476),'strokeWidth':1.2}}]},{'tag':_0xb7df44(0x519),'attrs':{},'children':[{'tag':_0xb7df44(0x257),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xb7df44(0x522),'attrs':{'fill':_0xb7df44(0x181),'d':_0xb7df44(0x3b6),'transform':_0xb7df44(0x29c)}}]}]}],'defIds':[_0xb7df44(0x22e)]},Li=_0x42a783(function(_0x1bddea,_0x22441a){const _0x4b01d8=_0xb7df44;return _0x444ffc(Ts,Object[_0x4b01d8(0x295)]({},_0x1bddea,{'id':'on-line-single','ref':_0x22441a,'icon':na}));});Li[_0xb7df44(0x466)]=_0xb7df44(0x23d);function $i(_0x31e0dd){const _0x75cf37=_0xb7df44;var _0x4a318c,_0xe41ba8,_0x12f6d0='';if(typeof _0x31e0dd==_0x75cf37(0x22d)||typeof _0x31e0dd=='number')_0x12f6d0+=_0x31e0dd;else{if(typeof _0x31e0dd=='object'){if(Array[_0x75cf37(0x340)](_0x31e0dd)){var _0x3f7807=_0x31e0dd[_0x75cf37(0x3f7)];for(_0x4a318c=0x0;_0x4a318c<_0x3f7807;_0x4a318c++)_0x31e0dd[_0x4a318c]&&(_0xe41ba8=$i(_0x31e0dd[_0x4a318c]))&&(_0x12f6d0&&(_0x12f6d0+='\x20'),_0x12f6d0+=_0xe41ba8);}else{for(_0xe41ba8 in _0x31e0dd)_0x31e0dd[_0xe41ba8]&&(_0x12f6d0&&(_0x12f6d0+='\x20'),_0x12f6d0+=_0xe41ba8);}}}return _0x12f6d0;}function ra(){const _0x33a8fe=_0xb7df44;for(var _0x4eb0b2,_0x2137eb,_0xbd7ec0=0x0,_0x422eba='',_0x260108=arguments[_0x33a8fe(0x3f7)];_0xbd7ec0<_0x260108;_0xbd7ec0++)(_0x4eb0b2=arguments[_0xbd7ec0])&&(_0x2137eb=$i(_0x4eb0b2))&&(_0x422eba&&(_0x422eba+='\x20'),_0x422eba+=_0x2137eb);return _0x422eba;}const oa='univer-online-status-icon',aa=_0xb7df44(0x356),ca=_0xb7df44(0x3bd),ha='univer-online',la=_0xb7df44(0x59b),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x181f8f){const _0x3d612e=_0xb7df44;switch(_0x181f8f){case J[_0x3d612e(0x4ed)]:return _0x3d612e(0x539);case J['CONFLICT']:return _0x3d612e(0x31f);case J[_0x3d612e(0x1c1)]:return'collabStatus.fetchMiss';case J['NOT_COLLAB']:return _0x3d612e(0x513);case J['AWAITING']:case J[_0x3d612e(0x3c8)]:return _0x3d612e(0x317);case J['SYNCED']:case J[_0x3d612e(0x28d)]:return'collabStatus.synced';}}function ua(_0x1d1925){const _0x34b398=_0xb7df44,{status$:_0x592553}=_0x1d1925,_0x43b559=_0x4a4236(_0x592553,J[_0x34b398(0x4d5)]),_0x1b1e68=_0x58cc01(_0x5ccb65),_0x2202ea=_0x58cc01(Ae),_0x36fb4b=_0x43b559!==J[_0x34b398(0x4ed)],_0x23c991=_0x1b1e68['t'](_a(_0x43b559)),_0x8b820b=ra(Ze[_0x34b398(0x47a)],{[Ze[_0x34b398(0x358)]]:_0x36fb4b,[Ze['offline']]:!_0x36fb4b}),_0x5bb691=_0x36fb4b?_0x1a8809['createElement'](Li,null):_0x1a8809[_0x34b398(0x4ee)](xi,null),_0x5669f6=_0x390108(()=>{const _0x2d5d5a=_0x34b398;_0x36fb4b||_0x2202ea[_0x2d5d5a(0x1a3)]();},[_0x36fb4b,_0x2202ea]);function _0x542c66(){const _0x2c8914=_0x34b398;return _0x1a8809['createElement'](_0x2c8914(0x470),{'className':_0x8b820b,'onClick':_0x5669f6},_0x1a8809[_0x2c8914(0x4ee)](_0x2c8914(0x470),{'className':Ze['onlineStatusIcon']},_0x5bb691),_0x1a8809[_0x2c8914(0x4ee)](_0x2c8914(0x470),{'className':Ze['onlineStatusTitle']},_0x23c991));}return _0x36fb4b?_0x542c66():_0x1a8809['createElement'](_0x4acbca,{'title':_0x1b1e68['t']('collab-client.tooltip.reconnect')},_0x542c66());}var da=Object[_0xb7df44(0x441)],fa=Object[_0xb7df44(0x250)],va=(_0x1ebe5d,_0x2ecefc,_0x11e77a,_0x113326)=>{for(var _0x4ddf0a=_0x113326>0x1?void 0x0:_0x113326?fa(_0x2ecefc,_0x11e77a):_0x2ecefc,_0x2f3e65=_0x1ebe5d['length']-0x1,_0x1ecc68;_0x2f3e65>=0x0;_0x2f3e65--)(_0x1ecc68=_0x1ebe5d[_0x2f3e65])&&(_0x4ddf0a=(_0x113326?_0x1ecc68(_0x2ecefc,_0x11e77a,_0x4ddf0a):_0x1ecc68(_0x4ddf0a))||_0x4ddf0a);return _0x113326&&_0x4ddf0a&&da(_0x2ecefc,_0x11e77a,_0x4ddf0a),_0x4ddf0a;},lt=(_0x579dbf,_0x5a5c62)=>(_0x4256f8,_0x3a7fb2)=>_0x5a5c62(_0x4256f8,_0x3a7fb2,_0x579dbf);let It=class extends _0x55ef45{constructor(_0x13fd57,_0x2da241,_0x3d6959,_0x87df97){const _0x3c8029=_0xb7df44;super(),g(this,_0x3c8029(0x445),new _0x230431(J['NOT_COLLAB'])),(this['_univerInstanceService']=_0x13fd57,this[_0x3c8029(0x58d)]=_0x2da241,this[_0x3c8029(0x526)]=_0x3d6959,this[_0x3c8029(0x1f5)]=_0x87df97,this[_0x3c8029(0x39e)](),this[_0x3c8029(0x57b)]());}[_0xb7df44(0x57b)](){const _0x3ee4d5=_0xb7df44;this[_0x3ee4d5(0x55a)](this[_0x3ee4d5(0x3d6)][_0x3ee4d5(0x261)][_0x3ee4d5(0x51d)](_0x54d5d9(()=>{const _0x12a46e=_0x3ee4d5,_0x3e17d5=this[_0x12a46e(0x3d6)][_0x12a46e(0x1ae)]();return _0x3e17d5?this[_0x12a46e(0x1f5)][_0x12a46e(0x3b9)](_0x3e17d5[_0x12a46e(0x432)]()):_0x4a5a0f(null);}),_0x54d5d9(_0x444065=>_0x444065?_0x444065[_0x3ee4d5(0x281)]:_0x4a5a0f(J[_0x3ee4d5(0x4d5)])))[_0x3ee4d5(0x41a)](_0x45708a=>{const _0x49e198=_0x3ee4d5;this[_0x49e198(0x445)][_0x49e198(0x28b)](_0x45708a);}));}['_initStatusComponent'](){const _0x1bd699=_0xb7df44;this['disposeWithMe'](this['_uiPartsService'][_0x1bd699(0x187)](_0x4664c4[_0x1bd699(0x345)],()=>_0x33108a(ma({'status$':this[_0x1bd699(0x445)][_0x1bd699(0x234)]()}),this['_injector'])));}};It=va([lt(0x0,_0xf81bb9),lt(0x1,_0x44a93d),lt(0x2,_0x380ba9(_0x41c43c)),lt(0x3,_0x380ba9(it))],It);function ma(_0x58c12b){const {status$:_0x3f8b2}=_0x58c12b;return function(){const _0xe423a=_0x16eb;return _0x1a8809[_0xe423a(0x4ee)](ua,{'status$':_0x3f8b2});};}const Hi=_0x36b00b(_0xb7df44(0x2fb));var pa=Object[_0xb7df44(0x441)],ga=Object['getOwnPropertyDescriptor'],Sa=(_0x3ba9f2,_0x51081b,_0x5f5566,_0x23b2a7)=>{const _0xb31e14=_0xb7df44;for(var _0x546a05=_0x23b2a7>0x1?void 0x0:_0x23b2a7?ga(_0x51081b,_0x5f5566):_0x51081b,_0x37ab50=_0x3ba9f2[_0xb31e14(0x3f7)]-0x1,_0xe187ac;_0x37ab50>=0x0;_0x37ab50--)(_0xe187ac=_0x3ba9f2[_0x37ab50])&&(_0x546a05=(_0x23b2a7?_0xe187ac(_0x51081b,_0x5f5566,_0x546a05):_0xe187ac(_0x546a05))||_0x546a05);return _0x23b2a7&&_0x546a05&&pa(_0x51081b,_0x5f5566,_0x546a05),_0x546a05;},ke=(_0x234cc3,_0x27c10f)=>(_0x59d84f,_0x538991)=>_0x27c10f(_0x59d84f,_0x538991,_0x234cc3);let Ct=class extends _0x3431ab{constructor(_0x336a24,_0x2bdffb,_0xe388f1,_0xaf49c6,_0x3db41e,_0x454c16){const _0x4863d7=_0xb7df44;super(),this[_0x4863d7(0x353)]=_0x336a24,this['_logService']=_0x2bdffb,this[_0x4863d7(0x4fd)]=_0xe388f1,this[_0x4863d7(0x4ad)]=_0xaf49c6,this[_0x4863d7(0x267)]=_0x3db41e,_0x454c16?_0x454c16==null||_0x454c16[_0x4863d7(0x48d)]()[_0x4863d7(0x4bc)](()=>this['_init']()):(this[_0x4863d7(0x362)][_0x4863d7(0x20c)](_0x4863d7(0x57a),_0x4863d7(0x3e3)),this[_0x4863d7(0x4a2)]());}async['_init'](){const _0xa849db=_0xb7df44,_0x58d575=this['_urlService'][_0xa849db(0x479)](_0xa849db(0x599)),_0x34ea60=this[_0xa849db(0x353)][_0xa849db(0x479)](_0xa849db(0x1f8));if(!_0x58d575||!_0x34ea60){this[_0xa849db(0x362)][_0xa849db(0x20c)](_0xa849db(0x57a),_0xa849db(0x59a));return;}switch(Number(_0x34ea60)){case ce[_0xa849db(0x37b)]:{const _0x42d919=await this[_0xa849db(0x444)](_0x58d575);this['_setupSubUnitSync'](_0x42d919);break;}case ce['UNIVER_DOC']:{await this['_loadDoc'](_0x58d575);break;}default:{this['_logService'][_0xa849db(0x1d7)](_0xa849db(0x57a),_0xa849db(0x505));break;}}}async[_0xb7df44(0x2e5)](_0x5b10ea){const _0x31a1ab=_0xb7df44;await this['_updateSubUnitFromURLParams'](_0x5b10ea),_0x5b10ea['activeSheet$']['pipe'](_0x5c3c82(this[_0x31a1ab(0x561)]))[_0x31a1ab(0x41a)](_0x3de1b0=>{const _0x5a3702=_0x31a1ab;_0x3de1b0&&this[_0x5a3702(0x582)](_0x3de1b0);}),this[_0x31a1ab(0x353)][_0x31a1ab(0x52c)][_0x31a1ab(0x51d)](_0x5c3c82(this[_0x31a1ab(0x561)]))[_0x31a1ab(0x41a)](()=>this['_updateSubUnitFromURLParams'](_0x5b10ea));}[_0xb7df44(0x582)](_0x18dcad,_0x5338cb=!0x1){const _0x4fb673=_0xb7df44,_0x32e039=this[_0x4fb673(0x353)]['getParam'](_0x4fb673(0x46c));_0x18dcad['getSheetId']()!==_0x32e039&&this[_0x4fb673(0x353)][_0x4fb673(0x2b6)]('subunit',_0x18dcad[_0x4fb673(0x40a)](),_0x5338cb);}async['_updateSubUnitFromURLParams'](_0x19bdd1){const _0x4c896f=_0xb7df44;var _0x482e46;const _0x1bd5e2=this['_urlService']['getParam']('subunit');if(!_0x1bd5e2||!_0x19bdd1[_0x4c896f(0x55d)](_0x1bd5e2)){const _0x149d4b=_0x19bdd1[_0x4c896f(0x58c)]()[0x0],_0x26e8c5=_0x19bdd1[_0x4c896f(0x55d)](_0x149d4b);if(!_0x26e8c5)return;this[_0x4c896f(0x582)](_0x26e8c5,!0x0),await this[_0x4c896f(0x4fd)][_0x4c896f(0x567)](_0x56e1a9['id'],{'unitId':_0x19bdd1[_0x4c896f(0x432)](),'subUnitId':_0x149d4b});return;}((_0x482e46=_0x19bdd1[_0x4c896f(0x36d)]())==null?void 0x0:_0x482e46[_0x4c896f(0x40a)]())!==_0x1bd5e2&&await this[_0x4c896f(0x4fd)][_0x4c896f(0x567)](_0x56e1a9['id'],{'unitId':_0x19bdd1['getUnitId'](),'subUnitId':_0x1bd5e2});}async[_0xb7df44(0x444)](_0x3008c1){const _0x1420ae=_0xb7df44;let _0x4a42ba=0x0;const _0x2de9a3=await this[_0x1420ae(0x4ad)][_0x1420ae(0x492)](_0x3008c1);return _0x2de9a3&&(_0x2de9a3[_0x1420ae(0x210)]||_0x2de9a3[_0x1420ae(0x27c)]['length']!==0x0)&&(_0x4a42ba=_0x2de9a3[_0x1420ae(0x188)]),_0x4a42ba===0x0&&this['_logService'][_0x1420ae(0x20c)](_0x1420ae(0x57a),'fetching\x20the\x20latest\x20document\x20from\x20the\x20server.'),this['_snapshotService'][_0x1420ae(0x182)](_0x3008c1,_0x4a42ba);}async[_0xb7df44(0x585)](_0x396423){const _0xfc2c3d=_0xb7df44;let _0x403e32=0x0;const _0x358167=await this[_0xfc2c3d(0x4ad)][_0xfc2c3d(0x492)](_0x396423);return _0x358167&&(_0x358167[_0xfc2c3d(0x210)]||_0x358167[_0xfc2c3d(0x27c)][_0xfc2c3d(0x3f7)]!==0x0)&&(_0x403e32=_0x358167[_0xfc2c3d(0x188)]),_0x403e32===0x0&&this[_0xfc2c3d(0x362)]['debug'](_0xfc2c3d(0x57a),_0xfc2c3d(0x521)),this[_0xfc2c3d(0x267)][_0xfc2c3d(0x2be)](_0x396423,_0x403e32);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x23bd67),ke(0x2,_0x461f8f),ke(0x3,_0x380ba9(q)),ke(0x4,_0x380ba9(_0x4bd76a)),ke(0x5,_0xdde8b7(_0x2ba697))],Ct);var Ia=Object[_0xb7df44(0x441)],Ca=Object[_0xb7df44(0x250)],Ea=(_0xa207bc,_0x2314ab,_0x611ed6,_0x565e17)=>{const _0xca50d8=_0xb7df44;for(var _0x3fe95c=_0x565e17>0x1?void 0x0:_0x565e17?Ca(_0x2314ab,_0x611ed6):_0x2314ab,_0x312bd4=_0xa207bc[_0xca50d8(0x3f7)]-0x1,_0x2135dc;_0x312bd4>=0x0;_0x312bd4--)(_0x2135dc=_0xa207bc[_0x312bd4])&&(_0x3fe95c=(_0x565e17?_0x2135dc(_0x2314ab,_0x611ed6,_0x3fe95c):_0x2135dc(_0x3fe95c))||_0x3fe95c);return _0x565e17&&_0x3fe95c&&Ia(_0x2314ab,_0x611ed6,_0x3fe95c),_0x3fe95c;},zs=(_0x2ff136,_0x5be098)=>(_0x4b026f,_0x1752cf)=>_0x5be098(_0x4b026f,_0x1752cf,_0x2ff136);const ba=_0xb7df44(0x4da),Ta='Univer';let Et=class extends _0x55ef45{constructor(_0x1661e2,_0x2060aa){const _0x225475=_0xb7df44;super(),this[_0x225475(0x3d6)]=_0x1661e2,this[_0x225475(0x216)]=_0x2060aa,this[_0x225475(0x4a2)]();}['_init'](){const _0x14219b=_0xb7df44;this[_0x14219b(0x55a)](this[_0x14219b(0x3d6)][_0x14219b(0x261)][_0x14219b(0x41a)](()=>{const _0x64a695=_0x14219b;var _0x22f070;const _0x43a3d8=this[_0x64a695(0x3d6)][_0x64a695(0x1ae)]();let _0x25b65a=(_0x22f070=this[_0x64a695(0x216)][_0x64a695(0x2b8)](ba))!=null?_0x22f070:Ta;_0x43a3d8 instanceof _0x11e78c&&(_0x25b65a=_0x43a3d8[_0x64a695(0x1ba)]),document['title']=_0x25b65a;}));}};Et=Ea([zs(0x0,_0xf81bb9),zs(0x1,_0x25a779)],Et);var Ra=Object[_0xb7df44(0x441)],ya=Object[_0xb7df44(0x250)],Oa=(_0x139d9d,_0xc874fd,_0x3ba125,_0x26720b)=>{for(var _0x338dc0=_0x26720b>0x1?void 0x0:_0x26720b?ya(_0xc874fd,_0x3ba125):_0xc874fd,_0x50d883=_0x139d9d['length']-0x1,_0xc85c52;_0x50d883>=0x0;_0x50d883--)(_0xc85c52=_0x139d9d[_0x50d883])&&(_0x338dc0=(_0x26720b?_0xc85c52(_0xc874fd,_0x3ba125,_0x338dc0):_0xc85c52(_0x338dc0))||_0x338dc0);return _0x26720b&&_0x338dc0&&Ra(_0xc874fd,_0x3ba125,_0x338dc0),_0x338dc0;},Wt=(_0xe0f064,_0x345229)=>(_0x26beda,_0xfe9685)=>_0x345229(_0x26beda,_0xfe9685,_0xe0f064);let bt=class{constructor(_0x52c3be,_0x4d3178,_0x4a6cc9){const _0x12559c=_0xb7df44;this[_0x12559c(0x216)]=_0x52c3be,this[_0x12559c(0x4c4)]=_0x4d3178,this[_0x12559c(0x292)]=_0x4a6cc9,this[_0x12559c(0x509)]();}[_0xb7df44(0x509)](){const _0x44d27b=_0xb7df44;this[_0x44d27b(0x4c4)]['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x4b2f94,_0x2db07d)=>_0x2db07d(_0x4b2f94)[_0x44d27b(0x51d)](_0x332a2a(async _0x1346c1=>{const _0x3e7215=_0x44d27b,_0xe96642=_0x1346c1;if(_0xe96642['status']===0x191&&window['confirm'](this['localeService']['t'](_0x3e7215(0x2e0)))){const _0x1eae63=window['encodeURIComponent'](window[_0x3e7215(0x355)][_0x3e7215(0x40c)]);window['location']['href']=this[_0x3e7215(0x57e)]()+_0x3e7215(0x478)+_0x1eae63;}return _0xe96642;}))});}[_0xb7df44(0x57e)](){const _0x2b628b=_0xb7df44;var _0xcf9c6f,_0x50add0;const _0xe511d1=this[_0x2b628b(0x216)][_0x2b628b(0x2b8)](Ir),_0x2e5078=this[_0x2b628b(0x216)][_0x2b628b(0x2b8)](ie);return(_0x50add0=(_0xcf9c6f=_0x2e5078==null?void 0x0:_0x2e5078[_0x2b628b(0x3cc)])!=null?_0xcf9c6f:_0xe511d1)!=null?_0x50add0:Cr;}};bt=Oa([Wt(0x0,_0x25a779),Wt(0x1,_0x380ba9(_0x429bbf)),Wt(0x2,_0x380ba9(_0x5ccb65))],bt);var wa=Object[_0xb7df44(0x441)],Da=Object[_0xb7df44(0x250)],Pa=(_0x3fc5ed,_0x58f8fa,_0x5a991b,_0x4a67fe)=>{const _0x359a15=_0xb7df44;for(var _0x616216=_0x4a67fe>0x1?void 0x0:_0x4a67fe?Da(_0x58f8fa,_0x5a991b):_0x58f8fa,_0x3ff8b9=_0x3fc5ed[_0x359a15(0x3f7)]-0x1,_0x46310e;_0x3ff8b9>=0x0;_0x3ff8b9--)(_0x46310e=_0x3fc5ed[_0x3ff8b9])&&(_0x616216=(_0x4a67fe?_0x46310e(_0x58f8fa,_0x5a991b,_0x616216):_0x46310e(_0x616216))||_0x616216);return _0x4a67fe&&_0x616216&&wa(_0x58f8fa,_0x5a991b,_0x616216),_0x616216;},qs=(_0x5e9f1f,_0x1846b9)=>(_0x2c8302,_0x102c9c)=>_0x1846b9(_0x2c8302,_0x102c9c,_0x5e9f1f);function _0x1c34(){const _0x17bb77=['endRow','_toggleOnline','from','liveShareNewHost','collabStatus.offline','url(#$1','548cRgQXg','refreshPermission','pad','duration','UUID','CHANGESET_SHOULD_RETRY','isPermissionRej','JOINING','PERMISSION_DENIED','startTime','editing\x20status\x20changed\x20to','_drawTextRange','session.will-retry','size','_collabCursorController','redoState','_isPermissionRej','onTransformRemoteChangesetByIMECache','/fetchmissing?from=','&source=','_unitStatus','Utf8','_schedule','_socket','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','collaboration.single-unit.warning','COMPLETION_FINISHED','finalize','not_collab','_cursorInfo$','disposeWithMe','all','LIVESHARE_NEW_HOST','getSheetBySheetId','currentColor','Undefined','entries','dispose$','{fileID}','BASE64','[PendingState]:\x20unhandled\x20univer\x20type:\x20','CONFLICT','\x0aCurrent:\x20','executeCommand','_commentService','_backgroundColor','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','exhaustSavingTask','/new_changes','byteLength','min','body','selection','[SyncedState]:\x20received\x20acknowledgement.','storage','onPointerMove$','key','onCommandExecuted','function','_HTTPService','936404ZTOGhJ','resend','[DataLoaderController]','_initStatusListener','toLowerCase','readAsDataURL','_getLoginPath','requestParams','registerBeforeClose','_imageSourceCache','_updateURLWithCurrentState','_document','charAt','_loadDoc','Error\x20on\x20receiving\x20event','WordArray','_toggleOffline','purple300','_getMergeRange','_sender','getUnhiddenWorksheets','_uiPartsService','InsertRowCommandId','_refreshCollabCursors','deleteCollaborator','onRemoteAck','setShapeProps','_onLocalMutation','NoPadding','_resendTimer','_getScale','unload','_getSheetObject','unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','univer-offline','_mode','target','#fff','loadSheet','_cursors','_onOffline','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','_hideTimer','registerComponent','rev','OTHER_CLIENTS_EDITING','_queuedRemoteChangesets','setItem','getMember','_handleHeartbeatEvent','filter','InsertRangeMoveRightCommandId','getStateCache','_getRedoStack','#FFF','revision','getDeserializedSheetBlock','pending','_joinRoom','_initDependencies','_key','image/png','_initResize','_getCurrentRevision','\x20to\x20','authzUrl','create','_startCollaboration','collab-rect-range-','/object','save\x20fail\x20reason\x20is\x20','reconnect','sid','collaboration-client.config','_getUndoStack','fetching\x20missing\x20changesets\x20from\x20','_onRemoteRejected','_instanceService','createEncryptor','transformStateCache','listCollaborators','onload','getFocusedUnit','_event$','colorChannel1','_docSkeleton','abs','sheetID','clearTimeout','9hPXxJh','clear','_initCommandExecutedListener','_redoStacks','getValue','name','_timeoutTimer','_collaborationPaused','[FetchMissState]','APPLY_REVISION_CONFILICT','COMPRESS_MUTATION_APPLY','lineTo','FETCH_MISS','_collabCursorState$','_candidateSocket','editingUnit','push','UNAUTHENTICATED','removeMember','1113600CffyzJ','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','_startTelemetryCollaborationNewChangeset','buffer','_state$','cfg','TOO_MANY_REQUESTS','UNIVER_DOC','replaceState','_syncEditingCollabCursorService','randomUUID','decrypt','createDecryptor','_singleActiveUnitService','unsubscribe','error','_lockTransition','PERMISSION_REJ','_oKey','subscribeEvent','SHA1','\x20-\x20','registerRefRange','has','_cursor','_scheduleHeartbeat','1em','collaboration-session-retry','session.collaboration-timeout','reset','url(#off-line-single_clip0_910_343)','getMemberID','transformIMECache','getCurrentUser','_compressMutationService','height','_undoStacks','transformByState','flatMap','_updateCollabCursors','updateMember','default','_disableEditing','set','_session','_collaborationController','_shapes','Hex','type','hostname','COLLAB_SUBMIT_CHANGESET_URL','indexOf','onMouseMove','state$','originalMeta','crypto','_incrementRevisionNumber','c1Prime','SYNCED','keySize','_onRefRangeChange','_onCursorUpdate','transformSelections','_unlockTransition','objectActions','univer-pro.collaboration-client.single-active-unit-service','ALREADY_EXISTS','uploadFileServerUrl','debug','USERS_LEAVE','assignAColorForMemberID','onCommentUpdate','awaitingChangeset','dispose','_append','with','docStateChange$','updateOfflineData','_configService','APPLY_DUPLICATED','saveChangeset','SerializableCipher','processBlock','msCrypto','newValue','_onRecvEvent','_userManagerService','_scheduleClearOtherTimer','save','_doCryptBlock','[CollaborationState]:\x20apply\x20error!','conflict.content','JOIN','complete','changesets','override','UnitSnapshot','_resendWithTimeout','close$','RECV','measureText','string','on-line-single_clip0_910_349','onStateChange','slice','CHANGESET_REJ','_lastPointer','textRanges','asObservable','INVALID_ARGUMENT','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','ceil','equals','_awaitingChangeset','0\x200\x2016\x2016','HmacSHA1','drawWith','OnLineSingle','getRoom','bind','_id','_scheduleTimestamp','_transformService','_state','_anchorDot','_changesetSessionId','_onConflict','_keyPriorReset','restore','mode','onPointerLeave$','Error','collaboration-client.offline-data-not-saved','BlockCipher','VIEW_MAIN','awaiting_with_pending','getOwnPropertyDescriptor','Unknown\x20user','values','transformMutation','closeSession','joinEvent','subUnitId','clipPath','icon','onStarting','encrypt','Could\x20not\x20dynamically\x20require\x20\x22','black','cmd','csShouldRetryEvent','\x20in\x20_schedule.','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','focused$','_retryConnectingTimer','_createHmacHelper','blue400','width','_initRequestHeader','_snapshotService','[OfflineState]:\x20received\x20acknowledgement.','CONNECTOR_DATA_TOO_LARGE','roles','CipherParams','_roomMembers$','formatter','image/jpg','transformUndoRedo','userID','ws://127.0.0.1:8000/universer-api/comb/connect','parse','rng','_substituteUndoStack','resourceIDs','_nDataBytes','collaboratorID','moveTo','_onRemoteACK','getResourcesRequest','sessionStatus$','mutations','getCurrent','triggerDblclick','listRoles','commentUpdate$','status$','_createInitialStateImpl','_transformSelections','_reverseMap','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','encryptBlock','undoState','addImageSourceCache','_cursorShapes','onTransformState','next','FETCH_MISSING','PENDING','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_getSignURL','startRow','onTransformSelections','localeService','LICENSE_EXPORT_SIZE_EXCEEDED','_process','assign','InsertRangeMoveDownCommandId','_removeClearOtherTimer','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','OffLineSingle','includes','contains','translate(.97)','/object/','setActiveRange','_renderManagerService','retryConnectingInterval','_doFinalize','_transformRemoteChangesetByIMECache','mixIn','_commentUpdate$','fetchMissingChangesets','_doReset','batchAllowed','compute','_name','map','SNAPSHOT_HAS_BEEN_REMOVED','USERS_ENTER','history','SNAPSHOT_SERVER_URL_KEY','_telemetryInfo','/allowed','_revisionService','actions','_refRangeService','/universer-api/oidc/authpage','byteOffset','setParam','_heartbeatTimer','getConfig','EvpKDF','kdf','_removeRoom','_decreaseWaiting','setAlpha','loadDoc','_showConflictNotification','APPLY_REJECT','_socket$','updatePermissionPoint','onRemoteChangeset','state','_transformUndoRedoStack','put','_assignedColors','_registerDependencies','addEventListener','addObjects','startColumn','UPDATE_PERMISSION_OBJ','commentUpdateEvent','&assign=','every','clone','objects','className','_remoteChangesetQueue','_localStorageService','verdancy600','_stopTelemetryCollaborationNewChangeset','POST','_saveTaskMap','onTransformIME','fill','AES','SHOULD_CLOSE_CONN','/unit/','getAllMembers','[PendingState]:\x20received\x20rejection.','auth.needGotoLoginAlert','saveSheetBlock','color','awaiting','sessionStatus','_setupSubUnitSync','HttpImport','update','_createSocket','SNAPSHOT_URL_KEY','setStateCache','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','_onFetchMissResult','isActive','_tryEnsureSocket','_initCloseConn','compose','find','iterations','collab-text-range-','Warning','UNDEFINED','collaboration_new_changeset','954938sJTZQW','_startSheetCollabCursor','_applyRemoteChangeset','_iKey','uni.network.url-service','/block/','_sheetSkeletonManagerService','_docSkeletonManagerService','/-/object/-/batch_allowed','origin','Base64','_eventUnsubscribe','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_fetchMissChangesets','ERROR_EXCEED_SIZE','eventID','getUniverSheetInstance','getUnitType','_map','_beforeCloseService','_hovered','YUUMI_SUBSCRIPTION_NOT_FOUND','visibilityState','INTERNAL_ERROR','hasOwnProperty','getUnitOnRev','socket$','_drawRectRange','findNodePositionByCharIndex','_doProcessBlock','appendMutation','column','collabStatus.syncing','LOGIN_URL_KEY','_onRemoteRetry','onRendered','_updateState','getDocRanges','FAIL','cursorInfo$','collabStatus.conflict','_docTransformStateCacheService','allowed','_getAPIPrefixPath','enc','apply','_textBubble','_resendTimeout','_createHelper','getUndoRedoMutationParamsCache','_members','data','/universer-api/authz','_getUploadFileURL','telemetry\x20info\x20is\x20not\x20initialized','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','disposeUnit','getRangePointData','APPLY_PERMISSION_DENIED','max','[CollaborationEntity]','_getSnapshotAPIPrefix','_color','_getSaveTimeout','symbol','LEAVE','get','encode','PasswordBasedCipher','_transitionLocked','_onUserLeave','_exhaustRemoteChangesetQueue','routeKey','isArray','getRenderById','fromCharCode','getViewport','clearInterval','HEADER_MENU','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','getCollabCursors$','conflict.title','now','_clearHeartbeatTimer','randomBytes','labelPosition','Latin1','_checkMissing','c2Prime','_permissionService','interceptor','reqId','_urlService','getWorkbookSelections','location','univer-online-status-title','exports','online','_render','SUCCUSS','_nRounds','_sendingTimer','endColumn','_DEC_XFORM_MODE','__esModule','message$','_initEventListeners','_logService','_listenToOnlineEvent','add','enableOfflineEditing','_syncEditingCollabCursor','getTime','text','[CollaborationSessionService]','4408552nrOMxS','ciphertext','enableSingleActiveInstanceLock','getActiveSheet','fetch_missing','roomMembers','pushState','getUnitStatus$','ONLINE','fillRule','_colorAssignService','OpenSSL','DeleteRangeMoveUpCommandId','_setupBeforeClosingHandler','padding','YUUMI_URL_COL_OUT_OF_RANGE','submit\x20changeset\x20error!','UNIVER_SHEET','fetchMiss','socket\x20open.','unitID','delete','$super','_entities','reject','onSyncEditingCollabCursor','HttpExport','catch','_getCtorByUniverType','_waitForHeartbeatResponse','createCollaborator','code','setTimeout','_updateLocalCursor','_handleLeaveEvent','LIVESHARE_REQUEST_HOST','getRandomValues','toggleOffline','objectType','concat','MD5','stopTime','disableLocalCache','resize','_hash','_socketService','_docTransformIMECacheService','/-/object/list','collabCursorState$','csRejEvent','getSkeleton','show','_initStatusComponent','_config','onReady','LIVESHARE_FETCH_OPERATIONS','10MKTCps','fillStyle','repeat','_executeRemoteChangeset','none','bottom','setCurrentUser','UniverIcon','transformMutationsWithChangeset','_scheduleSaving','SUBMIT_CHANGESET','ivSize','_retryCount','transformChangesets','_initMergeInterceptor','failed\x20to\x20apply\x20missed\x20changesets!','action','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','getSheetBlock','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','M0\x200H16V16H0z','xlink:href','getUnit','getCollabEntity$','current','setConfig','BlockCipherMode','univer-online-status','_sendHeartbeat','closePath','_unitOnClients','Encryptor','_onJoinRoomEvent','close','pauseCollaboration','_cachedData','_rescheduleHeartbeat','lib','AWAITING_WITH_PENDING','updateCursorEvent','_hover','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','loginUrlKey','baseRev','_ENC_XFORM_MODE','Malformed\x20UTF-8\x20data','getAncestorScale','LIVESHARE_OPERATION','COMPRESS_MUTATION_SEND','_telemetryService','YUUMI_UNABLE_LOAD_URL','_createHandler','_univerInstanceService','reduce','append','forEach','setWaitCount','_clearCollaborationTimeoutTimer','getCurrentUnitForType','_getAnchorBounding','format','HMAC','transformRemoteChangeset','[CollaborationUndoRedoService]','_initUnitPermissionChange','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_unitID','_roomMembers','ERROR_IMAGE','tag','_registerRenderDependencies','_type','words','/collaborator','_themeService','newCsEvent','arc','onPointerEnter$','reverse','[CollaborationSession]','LOCAL_CACHE_INTERVAL','BufferedBlockAlgorithm','HmacMD5','collabSubmitChangesetUrl','rgba(255,\x20255,\x20255,\x200.01)','length','_ensureSubject','_range','saveImage','_docStateChangeManagerService','_clearLocalCache','headers','createInstance','&to=','copyFileMeta','getInterceptPoints','_minBufferSize','1924328mGpotu','clamp','fromCollab','connection\x20error','_updateLocalCache','_onCursorDelete','joinRsp','getSheetId','TEXT','href','incrementRevOfUnit','LICENSE_DISTRO_REJECTED','FileId','_startDocCollabCursor','__creator','_getSendChangesetTimeout','send','_onConnectionFailed','_prevBlock','onSendChangeset','unknown','addObject','startsWith','subscribe','extend','_listenToOfflineEvent','stringify','_onUserJoin','_clearOtherTimers','sigBytes','unit-cache-','session','downloadEndpointUrl','getActiveRange','/resources','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','m1Prime','red300','json','Base','_hasher','Decryptor','join','_sendHeartbeatTimer','getOffsetConfig','_invKeySchedule','getCollabEntity','getUnitId','_disabled','HEARTBEAT','getImageSourceCache','InsertColCommandId','UnitEmbedded','_createInitialState','x-univer-host','MoveRangeCommandId','open$','removeParam','_scene','image/gif','offline','_removeCollabCursors','defineProperty','onMissingChangesets','snapshot','_loadSheet','_status$','memberID','RemoveColCommandId','UNIVER_SLIDE','_send','_socketReady','_saveCache','image/jpeg','_shouldReportTelemetry','getCurrentSelections','_iv','toString','capture','_online','LIVESHARE_TERMINATE','UNKNOWN_CMD','_cipher','some','_entityInit$','_pendingMutations','_tryReconnect','isEditing','registerRenderModule','objectID','CBC','_getDownloadEndpointURL','collaboration.closeRoom','_data','_throwTelemetryCollaborationNewChangeset','random','deepClone','engine','_anchor','displayName','attrs','_handler','execute','_updateStatus','updateCollaborator','subunit','prototype','session.connection-failed','salt','div','HEARTBEAT_TIMEOUT','_selfUnitIDs','SNAPSHOT_INVALID_SNAPSHOT','setShowComponents','jiqing500','round','_scheduleCollaborationTimeoutTimer','?url=','getParam','onlineStatus','enableAuthServer','initWorkbookPermissionChange','_sessions','_xformMode','getImage','_transformHistoryAndStateStack','transformStack\x20failed!','Hasher','sendChangesetTimeout','members','_acknowledgedAwaitingChangeset','_getAPIPrefix','688170pMXQon','onTransformChange$','DeleteRangeMoveLeftCommandId','AUTHZ_URL_KEY','onRemoteRej','_transformUndoredo','whenReady','error$','createSocket','_messageService','PSEUDO_FETCH_MISSING_RESULT','loadOfflineData','getCurrentRevOfUnit','params','_change$','skeleton','getOwnPropertySymbols','conflict','hide','16806aIYQhM','hidden','_collaborationSessionService','svg','saveSnapshot','_collabSessionService','RECT','_snapshotServerService','_init','generateRandomId','getTypeOfUnitAdded$','_collaborationTimeoutTimer','FromArray','_transformStateCache','[PendingState]:\x20received\x20acknowledgement.','_replayCachedMutations','setInterval','StreamCipher','_keySchedule','_localCacheService','roomMembers$','_transformPreviousActiveRange','/universer-api/snapshot','UNRECOGNIZED','popstate','/universer-api/snapshot/','ranges','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','_context','_waitCount','COMMENT_UPDATE','UPDATE_CURSOR','_sheetTransformSelectionsService','_drawAnchor','then','_onMessage','result','onTransformRemoteChangesetByStateCache','fillText','_transformRemoteChangesetByStateCache','_onCombEvent','resolve','_httpService','roomInfos','EXCHANGE_SIGN_URL_SERVER_URL_KEY','INGEST','[CollaborationSessionService]:\x20socket\x20error','call','ACTIVE_UNIT_EVENT_CHANNEL','algo','floor','getTypeOfUnitDisposed$','\x0aAfter:\x20','_transformIMECache','replaceTextRanges','list','NOT_FOUND','_onConnectionOpen','_http','NOT_COLLAB','UNIVER_UNKNOWN','doc.mutation.rich-text-editing','requireSession','cursorInfo','DEFAULT_FILE_NAME','MSG_FOR_ERROR','synced','_clearTimeoutTimer','Pkcs7','registerHTTPInterceptor','LICENSE_IMPORT_SIZE_EXCEEDED','_clearScheduledTask','CHANGESET_REVISION_CONFILICT','visibilitychange','_changesetReqId','toggleOnline','beginPath','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','signUrlServerUrl','range','post','onMissedChangesetFetched','unitId','OFFLINE','createElement','_docSyncEditingCollabCursorService','registerOnClose','_labelPosition','_clearRedo','evenodd','fetchThroughInterceptors','searchParams','unshift','m2Prime','socketService','ENSURE_SNAPSHOT_EXECUTION','updatePermissionObjEvent','_onRemoteChangeset','MUTATION','_commandService','children','selections','_handleHover','blockSize','charCodeAt','_memberService','onlyLocal','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RemoveRowCommandId','event$','liveShareOperation','init','onRemoteRetry','NO_OTHER_CLIENTS_EDITING','HEARTBEAT_INTERVAL','HELLO','status','/rev/','_socketMessageSubscription','file','_sessionStatus$','collabStatus.notCollab','hasher','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_submitChangeset','currentSkeleton$','_transformStack','defs','_handleEvent','_localeService','idSuffix','pipe','_colorIndex','row','socket\x20close','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','path','withCredentials','_replaceFileID','src','_injector','top','UNKNOWN_CODE','patch','0\x200\x2017\x2016','...','urlChange$','AWAITING','unpad','permissionRejEvent','CHANGESET_ACK','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','replace','defIds','?size='];_0x1c34=function(){return _0x17bb77;};return _0x1c34();}const Ua=_0xb7df44(0x48a),Na=_0xb7df44(0x32b);let cs=class extends _0x55ef45{constructor(_0x1f3b75,_0x1b6262){const _0x13a158=_0xb7df44;super(),this['_HTTPService']=_0x1f3b75,this['_configService']=_0x1b6262,this[_0x13a158(0x3b0)]();}[_0xb7df44(0x3b0)](){const _0x1f21c5=_0xb7df44,_0x15550e=this;this[_0x1f21c5(0x55a)](this[_0x1f21c5(0x577)]['registerHTTPInterceptor']({'priority':0x3e7,'interceptor':_0x62bc31({'isMatch'(_0x119de5){const _0x2b5e6e=_0x1f21c5;var _0x564d5b;if(_0x119de5['method']===_0x2b5e6e(0x2d7)&&((_0x564d5b=_0x119de5[_0x2b5e6e(0x57f)])!=null&&_0x564d5b[_0x2b5e6e(0x56f)])){const {objectID:_0x364f40,objectType:_0x5a4e3c}=_0x119de5[_0x2b5e6e(0x57f)]['body']||{};if(!_0x364f40||_0x5a4e3c===void 0x0)return!0x1;const _0x132702=_0x15550e['_getAPIPrefixPath']()+'/'+_0x5a4e3c+_0x2b5e6e(0x29d)+_0x364f40+_0x2b5e6e(0x2b0);if(_0x119de5['url']===_0x132702)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x222cbc){const _0x32927d=_0x1f21c5;var _0x40dd47;return(_0x40dd47=_0x222cbc[_0x32927d(0x57f)])==null?void 0x0:_0x40dd47[_0x32927d(0x56f)];},'mergeParamsToRequest'(_0x2ae60e,_0x5a8f60){const _0x5b8b8f=_0x1f21c5,_0x504dbe=_0x15550e[_0x5b8b8f(0x322)]()+_0x5b8b8f(0x2ff),_0x78eb4c=_0x2ae60e['reduce']((_0x181131,_0x35071d)=>{const _0x40bb29=_0x5b8b8f,{unitID:_0x100db1,objectID:_0x31e925,objectType:_0x23b9c3,actions:_0x3b61ab}=_0x35071d;return _0x181131[_0x100db1]||(_0x181131[_0x100db1]={}),_0x181131[_0x100db1][_0x31e925]||(_0x181131[_0x100db1][_0x31e925]={'objectID':_0x31e925,'objectType':_0x23b9c3,'actions':[]}),_0x181131[_0x100db1][_0x31e925]['actions'][_0x40bb29(0x1c5)](..._0x3b61ab),_0x181131;},{}),_0x4ef0fd=[];for(const _0x321867 in _0x78eb4c)for(const _0x1f26ca in _0x78eb4c[_0x321867]){const {actions:_0x454e4d,objectType:_0x3d4219}=_0x78eb4c[_0x321867][_0x1f26ca],_0x15aef8=[...new Set(_0x454e4d)];_0x4ef0fd[_0x5b8b8f(0x1c5)]({'unitID':_0x321867,'objectID':_0x1f26ca,'objectType':_0x3d4219,'actions':_0x15aef8});}return new _0x196f47(_0x5b8b8f(0x2d7),_0x504dbe,{'headers':_0x5a8f60[_0x5b8b8f(0x3fd)],'withCredentials':_0x5a8f60[_0x5b8b8f(0x523)],'responseType':_0x5a8f60['responseType'],'body':{'requests':_0x4ef0fd}});}},{'distributeResult'(_0x53e165,_0x4b10c9){const _0x50b160=_0x1f21c5,{objectActions:_0x164ee4}=_0x53e165;return _0x4b10c9[_0x50b160(0x2aa)](_0x3aaa43=>{const _0x1789a1=_0x50b160,{unitID:_0x151e51,objectID:_0x57240e,actions:_0x3df383}=_0x3aaa43,_0x594650=_0x164ee4[_0x1789a1(0x2f1)](_0x4a427f=>_0x4a427f['unitID']===_0x151e51&&_0x4a427f[_0x1789a1(0x45c)]===_0x57240e),_0x11bb9a=_0x3df383[_0x1789a1(0x2aa)](_0x117b50=>_0x594650==null?void 0x0:_0x594650['actions'][_0x1789a1(0x2f1)](_0x4c2fd7=>_0x4c2fd7[_0x1789a1(0x3b2)]===_0x117b50))['filter'](_0x18f006=>!!_0x18f006);return{'config':_0x3aaa43,'result':{'actions':_0x11bb9a,'error':_0x53e165['error']}};});}})}));}[_0xb7df44(0x322)](){const _0x31ec67=_0xb7df44;var _0x2c4e3e,_0x40d741;const _0x586b4e=this[_0x31ec67(0x216)][_0x31ec67(0x2b8)](Ua),_0x1ea07f=this['_configService'][_0x31ec67(0x2b8)](ie);return(_0x40d741=(_0x2c4e3e=_0x1ea07f==null?void 0x0:_0x1ea07f[_0x31ec67(0x19d)])!=null?_0x2c4e3e:_0x586b4e)!=null?_0x40d741:Na;}async['create'](_0x4f7808){const _0x5bab8b=_0xb7df44,_0xd0493e=this[_0x5bab8b(0x322)]()+'/'+_0x4f7808[_0x5bab8b(0x390)]+_0x5bab8b(0x1a1);return(await this[_0x5bab8b(0x577)]['post'](_0xd0493e,{'body':_0x4f7808}))[_0x5bab8b(0x56f)]['objectID']||'';}async[_0xb7df44(0x4d1)](_0x2eb650){const _0x552242=_0xb7df44,_0xadb574=this[_0x552242(0x322)]()+_0x552242(0x399);return(await this[_0x552242(0x577)][_0x552242(0x4ea)](_0xadb574,{'body':_0x2eb650}))[_0x552242(0x56f)][_0x552242(0x2d1)];}async[_0xb7df44(0x2e7)](_0x40243e){const _0x51b33f=_0xb7df44,_0x2f17db=this['_getAPIPrefixPath']()+'/'+_0x40243e['objectType']+_0x51b33f(0x29d)+_0x40243e['objectID'];await this[_0x51b33f(0x577)]['put'](_0x2f17db,{'body':_0x40243e});}async[_0xb7df44(0x321)](_0x2403c2){const _0x19370e=_0xb7df44,_0x32d347=this[_0x19370e(0x322)]()+'/'+_0x2403c2[_0x19370e(0x390)]+_0x19370e(0x29d)+_0x2403c2[_0x19370e(0x45c)]+_0x19370e(0x2b0);return(await this[_0x19370e(0x577)][_0x19370e(0x4ea)](_0x32d347,{'body':_0x2403c2}))['body']['actions'];}async[_0xb7df44(0x2a7)](_0x46c965){const _0x57a146=_0xb7df44,_0x58c721=this[_0x57a146(0x322)]()+_0x57a146(0x2ff);return(await this['_HTTPService'][_0x57a146(0x4ea)](_0x58c721,{'body':{'requests':_0x46c965}}))[_0x57a146(0x56f)][_0x57a146(0x208)];}async[_0xb7df44(0x27f)](_0x13c941){const _0x5e8884=_0xb7df44,_0x2d78ed=this[_0x5e8884(0x322)]()+'/'+_0x13c941[_0x5e8884(0x390)]+'/role',_0x30b823=await this[_0x5e8884(0x577)][_0x5e8884(0x4ea)](_0x2d78ed,{'body':_0x13c941});return{'roles':_0x30b823[_0x5e8884(0x56f)][_0x5e8884(0x26a)],'actions':_0x30b823['body'][_0x5e8884(0x2b2)]};}async[_0xb7df44(0x590)](_0x18866f){const _0x316b39=_0xb7df44,_0x2b5863=this[_0x316b39(0x322)]()+_0x316b39(0x3eb);await this[_0x316b39(0x577)]['delete'](_0x2b5863,{'params':{'collaboratorID':_0x18866f[_0x316b39(0x277)],'objectID':_0x18866f[_0x316b39(0x45c)],'unitID':_0x18866f[_0x316b39(0x37e)]}});}async[_0xb7df44(0x46b)](_0x2ffded){const _0x5b69a3=_0xb7df44,_0x354419=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x5b69a3(0x577)][_0x5b69a3(0x529)](_0x354419,{'body':_0x2ffded});}async[_0xb7df44(0x388)](_0x2c767a){const _0x437ef3=_0xb7df44,_0x4fa28e=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x437ef3(0x577)][_0x437ef3(0x4ea)](_0x4fa28e,{'body':_0x2c767a});}async[_0xb7df44(0x1ac)](_0x1bb59e){const _0x1416e4=_0xb7df44,_0x2eaa9f=this['_getAPIPrefixPath']()+_0x1416e4(0x3eb);return(await this['_HTTPService'][_0x1416e4(0x339)](_0x2eaa9f,{'params':{'objectID':_0x1bb59e['objectID'],'unitID':_0x1bb59e['unitID']}}))['body']['collaborators'];}async['putCollaborators'](_0x2e00cd){const _0x34d61e=_0xb7df44,_0x2d7c7a=this['_getAPIPrefixPath']()+_0x34d61e(0x3eb);await this['_HTTPService'][_0x34d61e(0x2c6)](_0x2d7c7a,{'body':_0x2e00cd});}};cs=Pa([qs(0x0,_0x380ba9(_0x429bbf)),qs(0x1,_0x380ba9(_0x25a779))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x4cccc4){const _0x122eff=_0xb7df44;return _0x4cccc4&&_0x4cccc4[_0x122eff(0x35f)]&&Object['prototype']['hasOwnProperty'][_0x122eff(0x4c9)](_0x4cccc4,_0x122eff(0x1f1))?_0x4cccc4[_0x122eff(0x1f1)]:_0x4cccc4;}var ji={'exports':{}};function Aa(_0x2caadc){const _0xacb4b9=_0xb7df44;throw new Error(_0xacb4b9(0x25b)+_0x2caadc+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ft={'exports':{}},Xs;function ue(){const _0x3b15e5=_0xb7df44;return Xs||(Xs=0x1,function(_0x8d1b09,_0x404281){(function(_0x50e634,_0xb56e93){const _0x4c19d2=_0x16eb;_0x8d1b09[_0x4c19d2(0x357)]=_0xb56e93();}(Z,function(){var _0x5ef85e=_0x5ef85e||function(_0x592bc5,_0x1b0352){const _0x6ea1e3=_0x16eb;var _0x42fdc3;if(typeof window<'u'&&window['crypto']&&(_0x42fdc3=window['crypto']),typeof self<'u'&&self[_0x6ea1e3(0x1ff)]&&(_0x42fdc3=self[_0x6ea1e3(0x1ff)]),typeof globalThis<'u'&&globalThis['crypto']&&(_0x42fdc3=globalThis['crypto']),!_0x42fdc3&&typeof window<'u'&&window[_0x6ea1e3(0x21b)]&&(_0x42fdc3=window[_0x6ea1e3(0x21b)]),!_0x42fdc3&&typeof Z<'u'&&Z[_0x6ea1e3(0x1ff)]&&(_0x42fdc3=Z[_0x6ea1e3(0x1ff)]),!_0x42fdc3&&typeof Aa==_0x6ea1e3(0x576))try{_0x42fdc3=require(_0x6ea1e3(0x1ff));}catch{}var _0x1706f7=function(){const _0x38a628=_0x6ea1e3;if(_0x42fdc3){if(typeof _0x42fdc3[_0x38a628(0x38e)]=='function')try{return _0x42fdc3['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x42fdc3[_0x38a628(0x34b)]==_0x38a628(0x576))try{return _0x42fdc3['randomBytes'](0x4)['readInt32LE']();}catch{}}throw new Error(_0x38a628(0x2eb));},_0x540ae4=Object[_0x6ea1e3(0x19e)]||(function(){function _0x1532ff(){}return function(_0x165472){const _0x4a59f5=_0x16eb;var _0x3eed4b;return _0x1532ff[_0x4a59f5(0x46d)]=_0x165472,_0x3eed4b=new _0x1532ff(),_0x1532ff[_0x4a59f5(0x46d)]=null,_0x3eed4b;};}()),_0x2fbddf={},_0x5e61b4=_0x2fbddf[_0x6ea1e3(0x3c7)]={},_0x469651=_0x5e61b4[_0x6ea1e3(0x42a)]=(function(){return{'extend':function(_0x6661d1){const _0x1a5859=_0x16eb;var _0x304dbf=_0x540ae4(this);return _0x6661d1&&_0x304dbf[_0x1a5859(0x2a3)](_0x6661d1),(!_0x304dbf[_0x1a5859(0x30f)](_0x1a5859(0x509))||this[_0x1a5859(0x509)]===_0x304dbf[_0x1a5859(0x509)])&&(_0x304dbf[_0x1a5859(0x509)]=function(){const _0x17c3a5=_0x1a5859;_0x304dbf['$super'][_0x17c3a5(0x509)][_0x17c3a5(0x324)](this,arguments);}),_0x304dbf[_0x1a5859(0x509)]['prototype']=_0x304dbf,_0x304dbf[_0x1a5859(0x380)]=this,_0x304dbf;},'create':function(){const _0x29d1a9=_0x16eb;var _0xebe945=this[_0x29d1a9(0x41b)]();return _0xebe945[_0x29d1a9(0x509)][_0x29d1a9(0x324)](_0xebe945,arguments),_0xebe945;},'init':function(){},'mixIn':function(_0x4ae9bb){const _0x19e8fc=_0x16eb;for(var _0x5d830c in _0x4ae9bb)_0x4ae9bb[_0x19e8fc(0x30f)](_0x5d830c)&&(this[_0x5d830c]=_0x4ae9bb[_0x5d830c]);_0x4ae9bb[_0x19e8fc(0x30f)]('toString')&&(this['toString']=_0x4ae9bb[_0x19e8fc(0x450)]);},'clone':function(){const _0x3add4c=_0x16eb;return this['init'][_0x3add4c(0x46d)][_0x3add4c(0x41b)](this);}};}()),_0x2afad1=_0x5e61b4['WordArray']=_0x469651[_0x6ea1e3(0x41b)]({'init':function(_0x39268b,_0x43d5c8){const _0x527b18=_0x6ea1e3;_0x39268b=this[_0x527b18(0x3ea)]=_0x39268b||[],_0x43d5c8!=_0x1b0352?this[_0x527b18(0x420)]=_0x43d5c8:this['sigBytes']=_0x39268b[_0x527b18(0x3f7)]*0x4;},'toString':function(_0x4eaad9){const _0x2fee67=_0x6ea1e3;return(_0x4eaad9||_0x41d388)[_0x2fee67(0x41d)](this);},'concat':function(_0x311e44){const _0x8ed12d=_0x6ea1e3;var _0x5e64b1=this['words'],_0x10fab7=_0x311e44[_0x8ed12d(0x3ea)],_0x41d682=this[_0x8ed12d(0x420)],_0x2f38b4=_0x311e44[_0x8ed12d(0x420)];if(this[_0x8ed12d(0x404)](),_0x41d682%0x4)for(var _0x37331b=0x0;_0x37331b<_0x2f38b4;_0x37331b++){var _0x5a0597=_0x10fab7[_0x37331b>>>0x2]>>>0x18-_0x37331b%0x4*0x8&0xff;_0x5e64b1[_0x41d682+_0x37331b>>>0x2]|=_0x5a0597<<0x18-(_0x41d682+_0x37331b)%0x4*0x8;}else{for(var _0x745308=0x0;_0x745308<_0x2f38b4;_0x745308+=0x4)_0x5e64b1[_0x41d682+_0x745308>>>0x2]=_0x10fab7[_0x745308>>>0x2];}return this['sigBytes']+=_0x2f38b4,this;},'clamp':function(){const _0x3c8225=_0x6ea1e3;var _0x4b969a=this[_0x3c8225(0x3ea)],_0xc23ad5=this['sigBytes'];_0x4b969a[_0xc23ad5>>>0x2]&=0xffffffff<<0x20-_0xc23ad5%0x4*0x8,_0x4b969a[_0x3c8225(0x3f7)]=_0x592bc5[_0x3c8225(0x237)](_0xc23ad5/0x4);},'clone':function(){const _0x528442=_0x6ea1e3;var _0x9854d1=_0x469651['clone'][_0x528442(0x4c9)](this);return _0x9854d1[_0x528442(0x3ea)]=this[_0x528442(0x3ea)]['slice'](0x0),_0x9854d1;},'random':function(_0x304e36){const _0x447783=_0x6ea1e3;for(var _0x4067f4=[],_0x55212c=0x0;_0x55212c<_0x304e36;_0x55212c+=0x4)_0x4067f4[_0x447783(0x1c5)](_0x1706f7());return new _0x2afad1[(_0x447783(0x509))](_0x4067f4,_0x304e36);}}),_0xe4d601=_0x2fbddf[_0x6ea1e3(0x323)]={},_0x41d388=_0xe4d601[_0x6ea1e3(0x1f7)]={'stringify':function(_0x592d14){const _0x569fcb=_0x6ea1e3;for(var _0x52c388=_0x592d14[_0x569fcb(0x3ea)],_0x191bdd=_0x592d14['sigBytes'],_0x5d030f=[],_0x46fd6b=0x0;_0x46fd6b<_0x191bdd;_0x46fd6b++){var _0x43384d=_0x52c388[_0x46fd6b>>>0x2]>>>0x18-_0x46fd6b%0x4*0x8&0xff;_0x5d030f[_0x569fcb(0x1c5)]((_0x43384d>>>0x4)['toString'](0x10)),_0x5d030f[_0x569fcb(0x1c5)]((_0x43384d&0xf)[_0x569fcb(0x450)](0x10));}return _0x5d030f[_0x569fcb(0x42d)]('');},'parse':function(_0x4174e8){const _0x15e948=_0x6ea1e3;for(var _0x2a22b4=_0x4174e8[_0x15e948(0x3f7)],_0x7ba937=[],_0x4b92c4=0x0;_0x4b92c4<_0x2a22b4;_0x4b92c4+=0x2)_0x7ba937[_0x4b92c4>>>0x3]|=parseInt(_0x4174e8['substr'](_0x4b92c4,0x2),0x10)<<0x18-_0x4b92c4%0x8*0x4;return new _0x2afad1[(_0x15e948(0x509))](_0x7ba937,_0x2a22b4/0x2);}},_0xd78d8f=_0xe4d601[_0x6ea1e3(0x34d)]={'stringify':function(_0xfb58cb){const _0xb28b00=_0x6ea1e3;for(var _0x3dc039=_0xfb58cb['words'],_0x49fd59=_0xfb58cb[_0xb28b00(0x420)],_0x524440=[],_0x532f52=0x0;_0x532f52<_0x49fd59;_0x532f52++){var _0x14db61=_0x3dc039[_0x532f52>>>0x2]>>>0x18-_0x532f52%0x4*0x8&0xff;_0x524440['push'](String[_0xb28b00(0x342)](_0x14db61));}return _0x524440[_0xb28b00(0x42d)]('');},'parse':function(_0x4cfbbd){const _0xdb34fb=_0x6ea1e3;for(var _0x376303=_0x4cfbbd['length'],_0xe737ac=[],_0x406852=0x0;_0x406852<_0x376303;_0x406852++)_0xe737ac[_0x406852>>>0x2]|=(_0x4cfbbd[_0xdb34fb(0x502)](_0x406852)&0xff)<<0x18-_0x406852%0x4*0x8;return new _0x2afad1[(_0xdb34fb(0x509))](_0xe737ac,_0x376303);}},_0x10b186=_0xe4d601['Utf8']={'stringify':function(_0x27ca41){const _0x388769=_0x6ea1e3;try{return decodeURIComponent(escape(_0xd78d8f[_0x388769(0x41d)](_0x27ca41)));}catch{throw new Error(_0x388769(0x3cf));}},'parse':function(_0x555d94){const _0x566583=_0x6ea1e3;return _0xd78d8f[_0x566583(0x272)](unescape(encodeURIComponent(_0x555d94)));}},_0x4a2ae3=_0x5e61b4['BufferedBlockAlgorithm']=_0x469651['extend']({'reset':function(){const _0x445178=_0x6ea1e3;this[_0x445178(0x460)]=new _0x2afad1[(_0x445178(0x509))](),this[_0x445178(0x276)]=0x0;},'_append':function(_0x30a3f6){const _0x1022c5=_0x6ea1e3;typeof _0x30a3f6=='string'&&(_0x30a3f6=_0x10b186[_0x1022c5(0x272)](_0x30a3f6)),this['_data']['concat'](_0x30a3f6),this['_nDataBytes']+=_0x30a3f6[_0x1022c5(0x420)];},'_process':function(_0x4c78bd){const _0x4526d5=_0x6ea1e3;var _0x5b213d,_0xe0ea13=this['_data'],_0x4dfb59=_0xe0ea13[_0x4526d5(0x3ea)],_0x540c05=_0xe0ea13[_0x4526d5(0x420)],_0x5d38ed=this['blockSize'],_0x2b20ab=_0x5d38ed*0x4,_0x11a6f4=_0x540c05/_0x2b20ab;_0x4c78bd?_0x11a6f4=_0x592bc5[_0x4526d5(0x237)](_0x11a6f4):_0x11a6f4=_0x592bc5[_0x4526d5(0x332)]((_0x11a6f4|0x0)-this['_minBufferSize'],0x0);var _0x53a069=_0x11a6f4*_0x5d38ed,_0xb6c487=_0x592bc5[_0x4526d5(0x56e)](_0x53a069*0x4,_0x540c05);if(_0x53a069){for(var _0x4cfebd=0x0;_0x4cfebd<_0x53a069;_0x4cfebd+=_0x5d38ed)this[_0x4526d5(0x314)](_0x4dfb59,_0x4cfebd);_0x5b213d=_0x4dfb59['splice'](0x0,_0x53a069),_0xe0ea13[_0x4526d5(0x420)]-=_0xb6c487;}return new _0x2afad1['init'](_0x5b213d,_0xb6c487);},'clone':function(){const _0x4ba69e=_0x6ea1e3;var _0x75abb8=_0x469651[_0x4ba69e(0x2d0)][_0x4ba69e(0x4c9)](this);return _0x75abb8[_0x4ba69e(0x460)]=this[_0x4ba69e(0x460)][_0x4ba69e(0x2d0)](),_0x75abb8;},'_minBufferSize':0x0});_0x5e61b4[_0x6ea1e3(0x482)]=_0x4a2ae3['extend']({'cfg':_0x469651[_0x6ea1e3(0x41b)](),'init':function(_0x269a42){const _0x40503e=_0x6ea1e3;this['cfg']=this[_0x40503e(0x1cd)][_0x40503e(0x41b)](_0x269a42),this[_0x40503e(0x1e5)]();},'reset':function(){const _0x922851=_0x6ea1e3;_0x4a2ae3[_0x922851(0x1e5)][_0x922851(0x4c9)](this),this[_0x922851(0x2a6)]();},'update':function(_0x527d7d){const _0x4c3821=_0x6ea1e3;return this['_append'](_0x527d7d),this[_0x4c3821(0x294)](),this;},'finalize':function(_0x40ab3d){const _0x269001=_0x6ea1e3;_0x40ab3d&&this[_0x269001(0x212)](_0x40ab3d);var _0x224c1d=this['_doFinalize']();return _0x224c1d;},'blockSize':0x10,'_createHelper':function(_0x3815f9){return function(_0x2d1c26,_0x308683){const _0x264cd4=_0x16eb;return new _0x3815f9[(_0x264cd4(0x509))](_0x308683)['finalize'](_0x2d1c26);};},'_createHmacHelper':function(_0x2ae378){return function(_0xd02d0c,_0x39fc09){const _0x20a22a=_0x16eb;return new _0x2ea0c4['HMAC']['init'](_0x2ae378,_0x39fc09)[_0x20a22a(0x557)](_0xd02d0c);};}});var _0x2ea0c4=_0x2fbddf['algo']={};return _0x2fbddf;}(Math);return _0x5ef85e;}));}(Ft)),Ft[_0x3b15e5(0x357)];}var Vt={'exports':{}},Js;function Bi(){const _0xd24a5d=_0xb7df44;return Js||(Js=0x1,function(_0x3ebc10,_0x5e3ee5){(function(_0x11d4fd,_0x21b2a1){const _0x37f879=_0x16eb;_0x3ebc10[_0x37f879(0x357)]=_0x21b2a1(ue());}(Z,function(_0x46b5cd){const _0x29b0a6=_0x16eb;return(function(){const _0x5e66ab=_0x16eb;var _0x2d7128=_0x46b5cd,_0x4101d6=_0x2d7128[_0x5e66ab(0x3c7)],_0x279e75=_0x4101d6[_0x5e66ab(0x587)],_0x26eca8=_0x2d7128['enc'];_0x26eca8[_0x5e66ab(0x301)]={'stringify':function(_0x25f4d5){const _0x11ce31=_0x5e66ab;var _0x462674=_0x25f4d5[_0x11ce31(0x3ea)],_0x3e0adb=_0x25f4d5[_0x11ce31(0x420)],_0x27f768=this[_0x11ce31(0x309)];_0x25f4d5[_0x11ce31(0x404)]();for(var _0x4abf4b=[],_0x23a305=0x0;_0x23a305<_0x3e0adb;_0x23a305+=0x3)for(var _0x295328=_0x462674[_0x23a305>>>0x2]>>>0x18-_0x23a305%0x4*0x8&0xff,_0x5eb467=_0x462674[_0x23a305+0x1>>>0x2]>>>0x18-(_0x23a305+0x1)%0x4*0x8&0xff,_0x1a4465=_0x462674[_0x23a305+0x2>>>0x2]>>>0x18-(_0x23a305+0x2)%0x4*0x8&0xff,_0xd727ae=_0x295328<<0x10|_0x5eb467<<0x8|_0x1a4465,_0x15da9d=0x0;_0x15da9d<0x4&&_0x23a305+_0x15da9d*0.75<_0x3e0adb;_0x15da9d++)_0x4abf4b[_0x11ce31(0x1c5)](_0x27f768['charAt'](_0xd727ae>>>0x6*(0x3-_0x15da9d)&0x3f));var _0x54c12d=_0x27f768[_0x11ce31(0x584)](0x40);if(_0x54c12d){for(;_0x4abf4b[_0x11ce31(0x3f7)]%0x4;)_0x4abf4b[_0x11ce31(0x1c5)](_0x54c12d);}return _0x4abf4b[_0x11ce31(0x42d)]('');},'parse':function(_0x306788){const _0x54472b=_0x5e66ab;var _0x34509f=_0x306788[_0x54472b(0x3f7)],_0x45e6f8=this[_0x54472b(0x309)],_0x271176=this[_0x54472b(0x284)];if(!_0x271176){_0x271176=this['_reverseMap']=[];for(var _0x45e5c9=0x0;_0x45e5c9<_0x45e6f8[_0x54472b(0x3f7)];_0x45e5c9++)_0x271176[_0x45e6f8[_0x54472b(0x502)](_0x45e5c9)]=_0x45e5c9;}var _0x4ef320=_0x45e6f8[_0x54472b(0x584)](0x40);if(_0x4ef320){var _0x212ede=_0x306788['indexOf'](_0x4ef320);_0x212ede!==-0x1&&(_0x34509f=_0x212ede);}return _0x3be234(_0x306788,_0x34509f,_0x271176);},'_map':_0x5e66ab(0x426)};function _0x3be234(_0x4ae33e,_0x3fa915,_0x824f5a){const _0x2b8b6f=_0x5e66ab;for(var _0x46b87c=[],_0x3d4264=0x0,_0xb3d4a=0x0;_0xb3d4a<_0x3fa915;_0xb3d4a++)if(_0xb3d4a%0x4){var _0x44ca05=_0x824f5a[_0x4ae33e[_0x2b8b6f(0x502)](_0xb3d4a-0x1)]<<_0xb3d4a%0x4*0x2,_0x1baafa=_0x824f5a[_0x4ae33e[_0x2b8b6f(0x502)](_0xb3d4a)]>>>0x6-_0xb3d4a%0x4*0x2,_0x2ee696=_0x44ca05|_0x1baafa;_0x46b87c[_0x3d4264>>>0x2]|=_0x2ee696<<0x18-_0x3d4264%0x4*0x8,_0x3d4264++;}return _0x279e75['create'](_0x46b87c,_0x3d4264);}}()),_0x46b5cd['enc'][_0x29b0a6(0x301)];}));}(Vt)),Vt[_0xd24a5d(0x357)];}var Gt={'exports':{}},Zs;function Ma(){const _0x2e268e=_0xb7df44;return Zs||(Zs=0x1,function(_0x27eb92,_0x1fabd1){(function(_0x1929ca,_0x151c14){const _0x159197=_0x16eb;_0x27eb92[_0x159197(0x357)]=_0x151c14(ue());}(Z,function(_0x5a5902){const _0xab0662=_0x16eb;return function(_0x3495c9){const _0x51a7a1=_0x16eb;var _0x448b46=_0x5a5902,_0x3368bd=_0x448b46[_0x51a7a1(0x3c7)],_0x2ed59b=_0x3368bd[_0x51a7a1(0x587)],_0x5cc5ba=_0x3368bd['Hasher'],_0x15575d=_0x448b46[_0x51a7a1(0x4cb)],_0x29c50c=[];(function(){const _0x5b0eb2=_0x51a7a1;for(var _0x23120a=0x0;_0x23120a<0x40;_0x23120a++)_0x29c50c[_0x23120a]=_0x3495c9[_0x5b0eb2(0x1b2)](_0x3495c9['sin'](_0x23120a+0x1))*0x100000000|0x0;}());var _0x43e178=_0x15575d[_0x51a7a1(0x392)]=_0x5cc5ba['extend']({'_doReset':function(){const _0x3a9292=_0x51a7a1;this['_hash']=new _0x2ed59b[(_0x3a9292(0x509))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x53b4f6,_0x2632bc){const _0x475a7a=_0x51a7a1;for(var _0x24a840=0x0;_0x24a840<0x10;_0x24a840++){var _0x270073=_0x2632bc+_0x24a840,_0x4c1f08=_0x53b4f6[_0x270073];_0x53b4f6[_0x270073]=(_0x4c1f08<<0x8|_0x4c1f08>>>0x18)&0xff00ff|(_0x4c1f08<<0x18|_0x4c1f08>>>0x8)&0xff00ff00;}var _0x444588=this[_0x475a7a(0x396)][_0x475a7a(0x3ea)],_0x333eee=_0x53b4f6[_0x2632bc+0x0],_0x39f577=_0x53b4f6[_0x2632bc+0x1],_0x30da56=_0x53b4f6[_0x2632bc+0x2],_0x418e92=_0x53b4f6[_0x2632bc+0x3],_0x50decb=_0x53b4f6[_0x2632bc+0x4],_0x14903b=_0x53b4f6[_0x2632bc+0x5],_0x555975=_0x53b4f6[_0x2632bc+0x6],_0x2b38c0=_0x53b4f6[_0x2632bc+0x7],_0x180c43=_0x53b4f6[_0x2632bc+0x8],_0x542813=_0x53b4f6[_0x2632bc+0x9],_0x424961=_0x53b4f6[_0x2632bc+0xa],_0x254853=_0x53b4f6[_0x2632bc+0xb],_0x206c37=_0x53b4f6[_0x2632bc+0xc],_0x302270=_0x53b4f6[_0x2632bc+0xd],_0x40c041=_0x53b4f6[_0x2632bc+0xe],_0x4d85b6=_0x53b4f6[_0x2632bc+0xf],_0x3ab8d5=_0x444588[0x0],_0x28e2a9=_0x444588[0x1],_0x2ee270=_0x444588[0x2],_0x570908=_0x444588[0x3];_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x333eee,0x7,_0x29c50c[0x0]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x39f577,0xc,_0x29c50c[0x1]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x30da56,0x11,_0x29c50c[0x2]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x418e92,0x16,_0x29c50c[0x3]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x50decb,0x7,_0x29c50c[0x4]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x14903b,0xc,_0x29c50c[0x5]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x555975,0x11,_0x29c50c[0x6]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x2b38c0,0x16,_0x29c50c[0x7]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x180c43,0x7,_0x29c50c[0x8]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x542813,0xc,_0x29c50c[0x9]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x424961,0x11,_0x29c50c[0xa]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x254853,0x16,_0x29c50c[0xb]),_0x3ab8d5=_0x19fe53(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x206c37,0x7,_0x29c50c[0xc]),_0x570908=_0x19fe53(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x302270,0xc,_0x29c50c[0xd]),_0x2ee270=_0x19fe53(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x40c041,0x11,_0x29c50c[0xe]),_0x28e2a9=_0x19fe53(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x4d85b6,0x16,_0x29c50c[0xf]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x39f577,0x5,_0x29c50c[0x10]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x555975,0x9,_0x29c50c[0x11]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x254853,0xe,_0x29c50c[0x12]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x333eee,0x14,_0x29c50c[0x13]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x14903b,0x5,_0x29c50c[0x14]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x424961,0x9,_0x29c50c[0x15]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x4d85b6,0xe,_0x29c50c[0x16]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x50decb,0x14,_0x29c50c[0x17]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x542813,0x5,_0x29c50c[0x18]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x40c041,0x9,_0x29c50c[0x19]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x418e92,0xe,_0x29c50c[0x1a]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x180c43,0x14,_0x29c50c[0x1b]),_0x3ab8d5=_0x2c7a83(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x302270,0x5,_0x29c50c[0x1c]),_0x570908=_0x2c7a83(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x30da56,0x9,_0x29c50c[0x1d]),_0x2ee270=_0x2c7a83(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x2b38c0,0xe,_0x29c50c[0x1e]),_0x28e2a9=_0x2c7a83(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x206c37,0x14,_0x29c50c[0x1f]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x14903b,0x4,_0x29c50c[0x20]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x180c43,0xb,_0x29c50c[0x21]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x254853,0x10,_0x29c50c[0x22]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x40c041,0x17,_0x29c50c[0x23]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x39f577,0x4,_0x29c50c[0x24]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x50decb,0xb,_0x29c50c[0x25]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x2b38c0,0x10,_0x29c50c[0x26]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x424961,0x17,_0x29c50c[0x27]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x302270,0x4,_0x29c50c[0x28]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x333eee,0xb,_0x29c50c[0x29]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x418e92,0x10,_0x29c50c[0x2a]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x555975,0x17,_0x29c50c[0x2b]),_0x3ab8d5=_0x89bf2b(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x542813,0x4,_0x29c50c[0x2c]),_0x570908=_0x89bf2b(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x206c37,0xb,_0x29c50c[0x2d]),_0x2ee270=_0x89bf2b(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x4d85b6,0x10,_0x29c50c[0x2e]),_0x28e2a9=_0x89bf2b(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x30da56,0x17,_0x29c50c[0x2f]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x333eee,0x6,_0x29c50c[0x30]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x2b38c0,0xa,_0x29c50c[0x31]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x40c041,0xf,_0x29c50c[0x32]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x14903b,0x15,_0x29c50c[0x33]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x206c37,0x6,_0x29c50c[0x34]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x418e92,0xa,_0x29c50c[0x35]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x424961,0xf,_0x29c50c[0x36]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x39f577,0x15,_0x29c50c[0x37]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x180c43,0x6,_0x29c50c[0x38]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x4d85b6,0xa,_0x29c50c[0x39]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x555975,0xf,_0x29c50c[0x3a]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x302270,0x15,_0x29c50c[0x3b]),_0x3ab8d5=_0x60fd80(_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x570908,_0x50decb,0x6,_0x29c50c[0x3c]),_0x570908=_0x60fd80(_0x570908,_0x3ab8d5,_0x28e2a9,_0x2ee270,_0x254853,0xa,_0x29c50c[0x3d]),_0x2ee270=_0x60fd80(_0x2ee270,_0x570908,_0x3ab8d5,_0x28e2a9,_0x30da56,0xf,_0x29c50c[0x3e]),_0x28e2a9=_0x60fd80(_0x28e2a9,_0x2ee270,_0x570908,_0x3ab8d5,_0x542813,0x15,_0x29c50c[0x3f]),_0x444588[0x0]=_0x444588[0x0]+_0x3ab8d5|0x0,_0x444588[0x1]=_0x444588[0x1]+_0x28e2a9|0x0,_0x444588[0x2]=_0x444588[0x2]+_0x2ee270|0x0,_0x444588[0x3]=_0x444588[0x3]+_0x570908|0x0;},'_doFinalize':function(){const _0x5d3ee4=_0x51a7a1;var _0x539dc0=this[_0x5d3ee4(0x460)],_0x13d08b=_0x539dc0['words'],_0x4a565f=this[_0x5d3ee4(0x276)]*0x8,_0xee78ed=_0x539dc0['sigBytes']*0x8;_0x13d08b[_0xee78ed>>>0x5]|=0x80<<0x18-_0xee78ed%0x20;var _0x23b48f=_0x3495c9[_0x5d3ee4(0x4cc)](_0x4a565f/0x100000000),_0x234ec8=_0x4a565f;_0x13d08b[(_0xee78ed+0x40>>>0x9<<0x4)+0xf]=(_0x23b48f<<0x8|_0x23b48f>>>0x18)&0xff00ff|(_0x23b48f<<0x18|_0x23b48f>>>0x8)&0xff00ff00,_0x13d08b[(_0xee78ed+0x40>>>0x9<<0x4)+0xe]=(_0x234ec8<<0x8|_0x234ec8>>>0x18)&0xff00ff|(_0x234ec8<<0x18|_0x234ec8>>>0x8)&0xff00ff00,_0x539dc0[_0x5d3ee4(0x420)]=(_0x13d08b['length']+0x1)*0x4,this['_process']();for(var _0x2564c5=this[_0x5d3ee4(0x396)],_0x92842a=_0x2564c5[_0x5d3ee4(0x3ea)],_0x52f356=0x0;_0x52f356<0x4;_0x52f356++){var _0x19e7d7=_0x92842a[_0x52f356];_0x92842a[_0x52f356]=(_0x19e7d7<<0x8|_0x19e7d7>>>0x18)&0xff00ff|(_0x19e7d7<<0x18|_0x19e7d7>>>0x8)&0xff00ff00;}return _0x2564c5;},'clone':function(){const _0x19cce8=_0x51a7a1;var _0x1275b8=_0x5cc5ba[_0x19cce8(0x2d0)]['call'](this);return _0x1275b8[_0x19cce8(0x396)]=this[_0x19cce8(0x396)]['clone'](),_0x1275b8;}});function _0x19fe53(_0x4b7d77,_0x598662,_0x1935c2,_0x5836bb,_0x5acf70,_0x5a547,_0x206d95){var _0xee586c=_0x4b7d77+(_0x598662&_0x1935c2|~_0x598662&_0x5836bb)+_0x5acf70+_0x206d95;return(_0xee586c<<_0x5a547|_0xee586c>>>0x20-_0x5a547)+_0x598662;}function _0x2c7a83(_0x215c39,_0x4d36e8,_0x532a4b,_0x4daba6,_0x207602,_0x51f5b6,_0x55dc83){var _0x32665a=_0x215c39+(_0x4d36e8&_0x4daba6|_0x532a4b&~_0x4daba6)+_0x207602+_0x55dc83;return(_0x32665a<<_0x51f5b6|_0x32665a>>>0x20-_0x51f5b6)+_0x4d36e8;}function _0x89bf2b(_0x17db78,_0x530e42,_0x5169c3,_0x1dcb8a,_0x36cd54,_0x345a7c,_0x13601d){var _0x5934e5=_0x17db78+(_0x530e42^_0x5169c3^_0x1dcb8a)+_0x36cd54+_0x13601d;return(_0x5934e5<<_0x345a7c|_0x5934e5>>>0x20-_0x345a7c)+_0x530e42;}function _0x60fd80(_0x193f8a,_0x579d43,_0x4c2ed0,_0x518b92,_0x1ce453,_0x1904cc,_0x35f08e){var _0x113286=_0x193f8a+(_0x4c2ed0^(_0x579d43|~_0x518b92))+_0x1ce453+_0x35f08e;return(_0x113286<<_0x1904cc|_0x113286>>>0x20-_0x1904cc)+_0x579d43;}_0x448b46['MD5']=_0x5cc5ba[_0x51a7a1(0x327)](_0x43e178),_0x448b46[_0x51a7a1(0x3f4)]=_0x5cc5ba[_0x51a7a1(0x263)](_0x43e178);}(Math),_0x5a5902[_0xab0662(0x392)];}));}(Gt)),Gt[_0x2e268e(0x357)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){return Qs||(Qs=0x1,function(_0x243a78,_0x392d38){(function(_0x8305c,_0x35a101){const _0x27c4bc=_0x16eb;_0x243a78[_0x27c4bc(0x357)]=_0x35a101(ue());}(Z,function(_0x149b21){const _0x33283d=_0x16eb;return(function(){const _0x329d71=_0x16eb;var _0x3eaa03=_0x149b21,_0x443dcd=_0x3eaa03[_0x329d71(0x3c7)],_0x5288fe=_0x443dcd[_0x329d71(0x587)],_0x1782f7=_0x443dcd['Hasher'],_0x42d25c=_0x3eaa03[_0x329d71(0x4cb)],_0x3b9c88=[],_0x1ac72d=_0x42d25c[_0x329d71(0x1dc)]=_0x1782f7['extend']({'_doReset':function(){this['_hash']=new _0x5288fe['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2a3357,_0x24d9ce){const _0x5b91bd=_0x329d71;for(var _0x33366f=this['_hash'][_0x5b91bd(0x3ea)],_0x5524fd=_0x33366f[0x0],_0x513eab=_0x33366f[0x1],_0x15e951=_0x33366f[0x2],_0xc1a699=_0x33366f[0x3],_0x5c0126=_0x33366f[0x4],_0x50d035=0x0;_0x50d035<0x50;_0x50d035++){if(_0x50d035<0x10)_0x3b9c88[_0x50d035]=_0x2a3357[_0x24d9ce+_0x50d035]|0x0;else{var _0x304d21=_0x3b9c88[_0x50d035-0x3]^_0x3b9c88[_0x50d035-0x8]^_0x3b9c88[_0x50d035-0xe]^_0x3b9c88[_0x50d035-0x10];_0x3b9c88[_0x50d035]=_0x304d21<<0x1|_0x304d21>>>0x1f;}var _0x2272da=(_0x5524fd<<0x5|_0x5524fd>>>0x1b)+_0x5c0126+_0x3b9c88[_0x50d035];_0x50d035<0x14?_0x2272da+=(_0x513eab&_0x15e951|~_0x513eab&_0xc1a699)+0x5a827999:_0x50d035<0x28?_0x2272da+=(_0x513eab^_0x15e951^_0xc1a699)+0x6ed9eba1:_0x50d035<0x3c?_0x2272da+=(_0x513eab&_0x15e951|_0x513eab&_0xc1a699|_0x15e951&_0xc1a699)-0x70e44324:_0x2272da+=(_0x513eab^_0x15e951^_0xc1a699)-0x359d3e2a,_0x5c0126=_0xc1a699,_0xc1a699=_0x15e951,_0x15e951=_0x513eab<<0x1e|_0x513eab>>>0x2,_0x513eab=_0x5524fd,_0x5524fd=_0x2272da;}_0x33366f[0x0]=_0x33366f[0x0]+_0x5524fd|0x0,_0x33366f[0x1]=_0x33366f[0x1]+_0x513eab|0x0,_0x33366f[0x2]=_0x33366f[0x2]+_0x15e951|0x0,_0x33366f[0x3]=_0x33366f[0x3]+_0xc1a699|0x0,_0x33366f[0x4]=_0x33366f[0x4]+_0x5c0126|0x0;},'_doFinalize':function(){const _0x1ab8cd=_0x329d71;var _0x546460=this[_0x1ab8cd(0x460)],_0x32f502=_0x546460['words'],_0x5900e3=this['_nDataBytes']*0x8,_0x4af1b4=_0x546460[_0x1ab8cd(0x420)]*0x8;return _0x32f502[_0x4af1b4>>>0x5]|=0x80<<0x18-_0x4af1b4%0x20,_0x32f502[(_0x4af1b4+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x5900e3/0x100000000),_0x32f502[(_0x4af1b4+0x40>>>0x9<<0x4)+0xf]=_0x5900e3,_0x546460[_0x1ab8cd(0x420)]=_0x32f502[_0x1ab8cd(0x3f7)]*0x4,this['_process'](),this[_0x1ab8cd(0x396)];},'clone':function(){const _0x44d3a8=_0x329d71;var _0x3acbe4=_0x1782f7[_0x44d3a8(0x2d0)][_0x44d3a8(0x4c9)](this);return _0x3acbe4[_0x44d3a8(0x396)]=this[_0x44d3a8(0x396)]['clone'](),_0x3acbe4;}});_0x3eaa03[_0x329d71(0x1dc)]=_0x1782f7[_0x329d71(0x327)](_0x1ac72d),_0x3eaa03[_0x329d71(0x23b)]=_0x1782f7[_0x329d71(0x263)](_0x1ac72d);}()),_0x149b21[_0x33283d(0x1dc)];}));}(Kt)),Kt['exports'];}var zt={'exports':{}},ei;function La(){const _0x434e94=_0xb7df44;return ei||(ei=0x1,function(_0x255962,_0xfeb108){(function(_0x402e08,_0x285111){const _0xbabf66=_0x16eb;_0x255962[_0xbabf66(0x357)]=_0x285111(ue());}(Z,function(_0x1bbea7){(function(){const _0x2f7f1f=_0x16eb;var _0x3ba65a=_0x1bbea7,_0x4eb0a1=_0x3ba65a[_0x2f7f1f(0x3c7)],_0x4edad7=_0x4eb0a1[_0x2f7f1f(0x42a)],_0xb9817=_0x3ba65a[_0x2f7f1f(0x323)],_0x2bc528=_0xb9817[_0x2f7f1f(0x550)],_0x4eece6=_0x3ba65a['algo'];_0x4eece6[_0x2f7f1f(0x3df)]=_0x4edad7[_0x2f7f1f(0x41b)]({'init':function(_0xab36b4,_0x4a81a6){const _0x46e825=_0x2f7f1f;_0xab36b4=this[_0x46e825(0x42b)]=new _0xab36b4[(_0x46e825(0x509))](),typeof _0x4a81a6==_0x46e825(0x22d)&&(_0x4a81a6=_0x2bc528[_0x46e825(0x272)](_0x4a81a6));var _0x2a68bd=_0xab36b4['blockSize'],_0x21319c=_0x2a68bd*0x4;_0x4a81a6[_0x46e825(0x420)]>_0x21319c&&(_0x4a81a6=_0xab36b4[_0x46e825(0x557)](_0x4a81a6)),_0x4a81a6['clamp']();for(var _0x11eb70=this['_oKey']=_0x4a81a6[_0x46e825(0x2d0)](),_0x173a4a=this[_0x46e825(0x2fa)]=_0x4a81a6['clone'](),_0x357f93=_0x11eb70['words'],_0x3d20ef=_0x173a4a[_0x46e825(0x3ea)],_0x40856b=0x0;_0x40856b<_0x2a68bd;_0x40856b++)_0x357f93[_0x40856b]^=0x5c5c5c5c,_0x3d20ef[_0x40856b]^=0x36363636;_0x11eb70[_0x46e825(0x420)]=_0x173a4a[_0x46e825(0x420)]=_0x21319c,this['reset']();},'reset':function(){const _0x3bffdd=_0x2f7f1f;var _0x102ed1=this['_hasher'];_0x102ed1[_0x3bffdd(0x1e5)](),_0x102ed1[_0x3bffdd(0x2e7)](this[_0x3bffdd(0x2fa)]);},'update':function(_0x307a4b){const _0x5d4503=_0x2f7f1f;return this[_0x5d4503(0x42b)][_0x5d4503(0x2e7)](_0x307a4b),this;},'finalize':function(_0x3a02a7){const _0x588ab4=_0x2f7f1f;var _0x55c2ef=this[_0x588ab4(0x42b)],_0x5f3bf2=_0x55c2ef[_0x588ab4(0x557)](_0x3a02a7);_0x55c2ef[_0x588ab4(0x1e5)]();var _0xc0c59c=_0x55c2ef[_0x588ab4(0x557)](this[_0x588ab4(0x1da)][_0x588ab4(0x2d0)]()['concat'](_0x5f3bf2));return _0xc0c59c;}});}());}));}(zt)),zt[_0x434e94(0x357)];}var ti;function ki(){const _0x1e35c2=_0xb7df44;return ti||(ti=0x1,function(_0x259507,_0x4a14da){(function(_0x19889b,_0x44124d,_0x172a7a){const _0x3f500d=_0x16eb;_0x259507[_0x3f500d(0x357)]=_0x44124d(ue(),xa(),La());}(Z,function(_0x25b296){const _0x34d878=_0x16eb;return(function(){const _0x5559cf=_0x16eb;var _0x4e3837=_0x25b296,_0x4d921b=_0x4e3837[_0x5559cf(0x3c7)],_0x1cfa9f=_0x4d921b['Base'],_0x3cc856=_0x4d921b[_0x5559cf(0x587)],_0x104a86=_0x4e3837[_0x5559cf(0x4cb)],_0x159452=_0x104a86['MD5'],_0x2a58b8=_0x104a86[_0x5559cf(0x2b9)]=_0x1cfa9f['extend']({'cfg':_0x1cfa9f[_0x5559cf(0x41b)]({'keySize':0x80/0x20,'hasher':_0x159452,'iterations':0x1}),'init':function(_0x227f0a){const _0x52d686=_0x5559cf;this[_0x52d686(0x1cd)]=this[_0x52d686(0x1cd)]['extend'](_0x227f0a);},'compute':function(_0x56a1bd,_0x10bffb){const _0x4af2c4=_0x5559cf;for(var _0x30e50d,_0x8034f4=this[_0x4af2c4(0x1cd)],_0x345576=_0x8034f4['hasher'][_0x4af2c4(0x19e)](),_0x3e2777=_0x3cc856[_0x4af2c4(0x19e)](),_0x355e43=_0x3e2777[_0x4af2c4(0x3ea)],_0x500953=_0x8034f4[_0x4af2c4(0x203)],_0x48a14b=_0x8034f4[_0x4af2c4(0x2f2)];_0x355e43[_0x4af2c4(0x3f7)]<_0x500953;){_0x30e50d&&_0x345576[_0x4af2c4(0x2e7)](_0x30e50d),_0x30e50d=_0x345576[_0x4af2c4(0x2e7)](_0x56a1bd)[_0x4af2c4(0x557)](_0x10bffb),_0x345576['reset']();for(var _0x362c90=0x1;_0x362c90<_0x48a14b;_0x362c90++)_0x30e50d=_0x345576['finalize'](_0x30e50d),_0x345576['reset']();_0x3e2777[_0x4af2c4(0x391)](_0x30e50d);}return _0x3e2777[_0x4af2c4(0x420)]=_0x500953*0x4,_0x3e2777;}});_0x4e3837[_0x5559cf(0x2b9)]=function(_0x2af1c4,_0x331c33,_0xc88b15){const _0x206be4=_0x5559cf;return _0x2a58b8[_0x206be4(0x19e)](_0xc88b15)[_0x206be4(0x2a8)](_0x2af1c4,_0x331c33);};}()),_0x25b296[_0x34d878(0x2b9)];}));}(Yt)),Yt[_0x1e35c2(0x357)];}var qt={'exports':{}},si;function Wi(){const _0x5efdc5=_0xb7df44;return si||(si=0x1,function(_0x53d7c4,_0x432ca6){(function(_0x10ec39,_0x14b80e,_0x426e89){const _0x4dbb16=_0x16eb;_0x53d7c4[_0x4dbb16(0x357)]=_0x14b80e(ue(),ki());}(Z,function(_0x4d6283){const _0x534cc2=_0x16eb;_0x4d6283[_0x534cc2(0x3c7)]['Cipher']||function(_0x9b08f2){const _0x2e5bfd=_0x534cc2;var _0x27e55b=_0x4d6283,_0x504729=_0x27e55b[_0x2e5bfd(0x3c7)],_0xddafd3=_0x504729[_0x2e5bfd(0x42a)],_0x3bed6a=_0x504729[_0x2e5bfd(0x587)],_0x3afed0=_0x504729[_0x2e5bfd(0x3f3)],_0x585a56=_0x27e55b[_0x2e5bfd(0x323)];_0x585a56[_0x2e5bfd(0x550)];var _0x35f6c1=_0x585a56[_0x2e5bfd(0x301)],_0x1bbd72=_0x27e55b[_0x2e5bfd(0x4cb)],_0x3e4150=_0x1bbd72[_0x2e5bfd(0x2b9)],_0x49f70a=_0x504729['Cipher']=_0x3afed0[_0x2e5bfd(0x41b)]({'cfg':_0xddafd3[_0x2e5bfd(0x41b)](),'createEncryptor':function(_0x1df9f0,_0x3bcacb){const _0x21a8bf=_0x2e5bfd;return this[_0x21a8bf(0x19e)](this['_ENC_XFORM_MODE'],_0x1df9f0,_0x3bcacb);},'createDecryptor':function(_0x533fbf,_0x53108c){const _0x116835=_0x2e5bfd;return this[_0x116835(0x19e)](this[_0x116835(0x35e)],_0x533fbf,_0x53108c);},'init':function(_0xb7b834,_0x3eb805,_0x46a842){const _0x1a992c=_0x2e5bfd;this['cfg']=this[_0x1a992c(0x1cd)]['extend'](_0x46a842),this[_0x1a992c(0x47e)]=_0xb7b834,this['_key']=_0x3eb805,this['reset']();},'reset':function(){const _0x3f8d62=_0x2e5bfd;_0x3afed0['reset'][_0x3f8d62(0x4c9)](this),this[_0x3f8d62(0x2a6)]();},'process':function(_0x3b26c4){const _0x489133=_0x2e5bfd;return this[_0x489133(0x212)](_0x3b26c4),this['_process']();},'finalize':function(_0x362e52){const _0x4dec5a=_0x2e5bfd;_0x362e52&&this[_0x4dec5a(0x212)](_0x362e52);var _0x381f1e=this[_0x4dec5a(0x2a1)]();return _0x381f1e;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xc6ea24(_0x2209ef){const _0x31d227=_0x16eb;return typeof _0x2209ef==_0x31d227(0x22d)?_0x57977e:_0x4a0d05;}return function(_0x1f1da7){return{'encrypt':function(_0x476dea,_0xbac270,_0x53d0c1){const _0x4382db=_0x16eb;return _0xc6ea24(_0xbac270)[_0x4382db(0x25a)](_0x1f1da7,_0x476dea,_0xbac270,_0x53d0c1);},'decrypt':function(_0x1fed0c,_0x5e11a3,_0x88e7b9){const _0xd0cd28=_0x16eb;return _0xc6ea24(_0x5e11a3)[_0xd0cd28(0x1d3)](_0x1f1da7,_0x1fed0c,_0x5e11a3,_0x88e7b9);}};};}())});_0x504729[_0x2e5bfd(0x4ab)]=_0x49f70a[_0x2e5bfd(0x41b)]({'_doFinalize':function(){const _0x30c6d1=_0x2e5bfd;var _0x226937=this[_0x30c6d1(0x294)](!0x0);return _0x226937;},'blockSize':0x1});var _0x45793a=_0x27e55b[_0x2e5bfd(0x249)]={},_0x475dff=_0x504729[_0x2e5bfd(0x3bc)]=_0xddafd3['extend']({'createEncryptor':function(_0x268d45,_0x21007e){const _0x2f57ba=_0x2e5bfd;return this[_0x2f57ba(0x3c1)][_0x2f57ba(0x19e)](_0x268d45,_0x21007e);},'createDecryptor':function(_0x221949,_0x3b4b0b){const _0x366dd5=_0x2e5bfd;return this[_0x366dd5(0x42c)][_0x366dd5(0x19e)](_0x221949,_0x3b4b0b);},'init':function(_0x167286,_0x4b9448){const _0x2c3afb=_0x2e5bfd;this['_cipher']=_0x167286,this[_0x2c3afb(0x44f)]=_0x4b9448;}}),_0x331264=_0x45793a[_0x2e5bfd(0x45d)]=(function(){const _0x24d5eb=_0x2e5bfd;var _0x581369=_0x475dff[_0x24d5eb(0x41b)]();_0x581369[_0x24d5eb(0x3c1)]=_0x581369[_0x24d5eb(0x41b)]({'processBlock':function(_0x20fc2e,_0x153238){const _0x4b62d6=_0x24d5eb;var _0x127073=this[_0x4b62d6(0x455)],_0x11ece1=_0x127073['blockSize'];_0x44ef50['call'](this,_0x20fc2e,_0x153238,_0x11ece1),_0x127073[_0x4b62d6(0x286)](_0x20fc2e,_0x153238),this['_prevBlock']=_0x20fc2e['slice'](_0x153238,_0x153238+_0x11ece1);}}),_0x581369['Decryptor']=_0x581369[_0x24d5eb(0x41b)]({'processBlock':function(_0x5836cf,_0x4809c4){const _0x437221=_0x24d5eb;var _0x1d88ee=this[_0x437221(0x455)],_0x583fbd=_0x1d88ee[_0x437221(0x501)],_0x259cfb=_0x5836cf[_0x437221(0x230)](_0x4809c4,_0x4809c4+_0x583fbd);_0x1d88ee['decryptBlock'](_0x5836cf,_0x4809c4),_0x44ef50[_0x437221(0x4c9)](this,_0x5836cf,_0x4809c4,_0x583fbd),this['_prevBlock']=_0x259cfb;}});function _0x44ef50(_0x5465b7,_0x1a2ff0,_0x1a500d){const _0x3b31a2=_0x24d5eb;var _0x3d9eb9,_0x1dcf2b=this[_0x3b31a2(0x44f)];_0x1dcf2b?(_0x3d9eb9=_0x1dcf2b,this[_0x3b31a2(0x44f)]=_0x9b08f2):_0x3d9eb9=this[_0x3b31a2(0x415)];for(var _0x448f01=0x0;_0x448f01<_0x1a500d;_0x448f01++)_0x5465b7[_0x1a2ff0+_0x448f01]^=_0x3d9eb9[_0x448f01];}return _0x581369;}()),_0x2f6c99=_0x27e55b[_0x2e5bfd(0x53d)]={},_0x299935=_0x2f6c99[_0x2e5bfd(0x4de)]={'pad':function(_0xb277e1,_0xcbd958){const _0x5b6359=_0x2e5bfd;for(var _0x5b0e9f=_0xcbd958*0x4,_0x32740b=_0x5b0e9f-_0xb277e1['sigBytes']%_0x5b0e9f,_0xabc08e=_0x32740b<<0x18|_0x32740b<<0x10|_0x32740b<<0x8|_0x32740b,_0x1207e4=[],_0x5927f9=0x0;_0x5927f9<_0x32740b;_0x5927f9+=0x4)_0x1207e4[_0x5b6359(0x1c5)](_0xabc08e);var _0x24eb9b=_0x3bed6a[_0x5b6359(0x19e)](_0x1207e4,_0x32740b);_0xb277e1[_0x5b6359(0x391)](_0x24eb9b);},'unpad':function(_0x51758a){const _0x2846ec=_0x2e5bfd;var _0x38004a=_0x51758a[_0x2846ec(0x3ea)][_0x51758a[_0x2846ec(0x420)]-0x1>>>0x2]&0xff;_0x51758a[_0x2846ec(0x420)]-=_0x38004a;}};_0x504729[_0x2e5bfd(0x24d)]=_0x49f70a[_0x2e5bfd(0x41b)]({'cfg':_0x49f70a[_0x2e5bfd(0x1cd)]['extend']({'mode':_0x331264,'padding':_0x299935}),'reset':function(){const _0x18b2da=_0x2e5bfd;var _0x164e53;_0x49f70a[_0x18b2da(0x1e5)][_0x18b2da(0x4c9)](this);var _0x133617=this['cfg'],_0x32302c=_0x133617['iv'],_0x4df1e8=_0x133617[_0x18b2da(0x249)];this[_0x18b2da(0x47e)]==this[_0x18b2da(0x3ce)]?_0x164e53=_0x4df1e8[_0x18b2da(0x1aa)]:(_0x164e53=_0x4df1e8[_0x18b2da(0x1d4)],this[_0x18b2da(0x402)]=0x1),this[_0x18b2da(0x17f)]&&this[_0x18b2da(0x17f)]['__creator']==_0x164e53?this[_0x18b2da(0x17f)][_0x18b2da(0x509)](this,_0x32302c&&_0x32302c['words']):(this['_mode']=_0x164e53[_0x18b2da(0x4c9)](_0x4df1e8,this,_0x32302c&&_0x32302c[_0x18b2da(0x3ea)]),this[_0x18b2da(0x17f)][_0x18b2da(0x411)]=_0x164e53);},'_doProcessBlock':function(_0x496eac,_0x5d39e0){const _0x5a5db9=_0x2e5bfd;this[_0x5a5db9(0x17f)][_0x5a5db9(0x21a)](_0x496eac,_0x5d39e0);},'_doFinalize':function(){const _0xc7f04=_0x2e5bfd;var _0xcf33d4,_0x1e22e4=this[_0xc7f04(0x1cd)][_0xc7f04(0x378)];return this[_0xc7f04(0x47e)]==this[_0xc7f04(0x3ce)]?(_0x1e22e4[_0xc7f04(0x53d)](this[_0xc7f04(0x460)],this[_0xc7f04(0x501)]),_0xcf33d4=this[_0xc7f04(0x294)](!0x0)):(_0xcf33d4=this[_0xc7f04(0x294)](!0x0),_0x1e22e4[_0xc7f04(0x52e)](_0xcf33d4)),_0xcf33d4;},'blockSize':0x80/0x20});var _0x5485a3=_0x504729[_0x2e5bfd(0x26b)]=_0xddafd3[_0x2e5bfd(0x41b)]({'init':function(_0x5ab33b){const _0x565991=_0x2e5bfd;this[_0x565991(0x2a3)](_0x5ab33b);},'toString':function(_0xd73c95){const _0x2d0ad4=_0x2e5bfd;return(_0xd73c95||this[_0x2d0ad4(0x26d)])[_0x2d0ad4(0x41d)](this);}}),_0x209c98=_0x27e55b[_0x2e5bfd(0x3de)]={},_0x898e22=_0x209c98[_0x2e5bfd(0x375)]={'stringify':function(_0x270583){const _0x3a2da0=_0x2e5bfd;var _0x565a4e,_0x31461a=_0x270583[_0x3a2da0(0x36b)],_0x47f54e=_0x270583[_0x3a2da0(0x46f)];return _0x47f54e?_0x565a4e=_0x3bed6a[_0x3a2da0(0x19e)]([0x53616c74,0x65645f5f])[_0x3a2da0(0x391)](_0x47f54e)['concat'](_0x31461a):_0x565a4e=_0x31461a,_0x565a4e['toString'](_0x35f6c1);},'parse':function(_0x1c06e4){const _0x4f39d8=_0x2e5bfd;var _0x1553e2,_0x4a68bc=_0x35f6c1['parse'](_0x1c06e4),_0x542513=_0x4a68bc[_0x4f39d8(0x3ea)];return _0x542513[0x0]==0x53616c74&&_0x542513[0x1]==0x65645f5f&&(_0x1553e2=_0x3bed6a[_0x4f39d8(0x19e)](_0x542513['slice'](0x2,0x4)),_0x542513['splice'](0x0,0x4),_0x4a68bc[_0x4f39d8(0x420)]-=0x10),_0x5485a3['create']({'ciphertext':_0x4a68bc,'salt':_0x1553e2});}},_0x4a0d05=_0x504729[_0x2e5bfd(0x219)]=_0xddafd3[_0x2e5bfd(0x41b)]({'cfg':_0xddafd3['extend']({'format':_0x898e22}),'encrypt':function(_0xf25812,_0x2055f0,_0x4a1e41,_0x5e8fe9){const _0x13b3d2=_0x2e5bfd;_0x5e8fe9=this['cfg'][_0x13b3d2(0x41b)](_0x5e8fe9);var _0x28ae00=_0xf25812[_0x13b3d2(0x1aa)](_0x4a1e41,_0x5e8fe9),_0x2b1334=_0x28ae00[_0x13b3d2(0x557)](_0x2055f0),_0x302b4f=_0x28ae00[_0x13b3d2(0x1cd)];return _0x5485a3['create']({'ciphertext':_0x2b1334,'key':_0x4a1e41,'iv':_0x302b4f['iv'],'algorithm':_0xf25812,'mode':_0x302b4f[_0x13b3d2(0x249)],'padding':_0x302b4f[_0x13b3d2(0x378)],'blockSize':_0xf25812[_0x13b3d2(0x501)],'formatter':_0x5e8fe9['format']});},'decrypt':function(_0x3548e4,_0x3a2ef4,_0x264b63,_0x10d5d2){const _0x36be3c=_0x2e5bfd;_0x10d5d2=this[_0x36be3c(0x1cd)][_0x36be3c(0x41b)](_0x10d5d2),_0x3a2ef4=this['_parse'](_0x3a2ef4,_0x10d5d2[_0x36be3c(0x3de)]);var _0x42ef35=_0x3548e4[_0x36be3c(0x1d4)](_0x264b63,_0x10d5d2)[_0x36be3c(0x557)](_0x3a2ef4['ciphertext']);return _0x42ef35;},'_parse':function(_0x54d483,_0x1c36d3){const _0xf6989c=_0x2e5bfd;return typeof _0x54d483==_0xf6989c(0x22d)?_0x1c36d3[_0xf6989c(0x272)](_0x54d483,this):_0x54d483;}}),_0x22af25=_0x27e55b[_0x2e5bfd(0x2ba)]={},_0x57fd61=_0x22af25['OpenSSL']={'execute':function(_0x2879ad,_0x517523,_0x53c1ee,_0x3fac84,_0x11b2fd){const _0x241167=_0x2e5bfd;if(_0x3fac84||(_0x3fac84=_0x3bed6a[_0x241167(0x462)](0x40/0x8)),_0x11b2fd)var _0x15d9ed=_0x3e4150[_0x241167(0x19e)]({'keySize':_0x517523+_0x53c1ee,'hasher':_0x11b2fd})[_0x241167(0x2a8)](_0x2879ad,_0x3fac84);else var _0x15d9ed=_0x3e4150[_0x241167(0x19e)]({'keySize':_0x517523+_0x53c1ee})['compute'](_0x2879ad,_0x3fac84);var _0xc1c18d=_0x3bed6a[_0x241167(0x19e)](_0x15d9ed[_0x241167(0x3ea)][_0x241167(0x230)](_0x517523),_0x53c1ee*0x4);return _0x15d9ed[_0x241167(0x420)]=_0x517523*0x4,_0x5485a3[_0x241167(0x19e)]({'key':_0x15d9ed,'iv':_0xc1c18d,'salt':_0x3fac84});}},_0x57977e=_0x504729[_0x2e5bfd(0x33b)]=_0x4a0d05['extend']({'cfg':_0x4a0d05['cfg']['extend']({'kdf':_0x57fd61}),'encrypt':function(_0x11c17d,_0x4d5c97,_0xc48d5d,_0x565ae7){const _0x41610e=_0x2e5bfd;_0x565ae7=this[_0x41610e(0x1cd)]['extend'](_0x565ae7);var _0x544fc3=_0x565ae7[_0x41610e(0x2ba)][_0x41610e(0x469)](_0xc48d5d,_0x11c17d[_0x41610e(0x203)],_0x11c17d[_0x41610e(0x3ad)],_0x565ae7[_0x41610e(0x46f)],_0x565ae7[_0x41610e(0x514)]);_0x565ae7['iv']=_0x544fc3['iv'];var _0x3cf088=_0x4a0d05[_0x41610e(0x25a)][_0x41610e(0x4c9)](this,_0x11c17d,_0x4d5c97,_0x544fc3[_0x41610e(0x574)],_0x565ae7);return _0x3cf088[_0x41610e(0x2a3)](_0x544fc3),_0x3cf088;},'decrypt':function(_0x26a7d4,_0x28de93,_0x22637f,_0x57ab3c){const _0x29ba29=_0x2e5bfd;_0x57ab3c=this[_0x29ba29(0x1cd)][_0x29ba29(0x41b)](_0x57ab3c),_0x28de93=this['_parse'](_0x28de93,_0x57ab3c[_0x29ba29(0x3de)]);var _0x4860b2=_0x57ab3c[_0x29ba29(0x2ba)][_0x29ba29(0x469)](_0x22637f,_0x26a7d4[_0x29ba29(0x203)],_0x26a7d4[_0x29ba29(0x3ad)],_0x28de93[_0x29ba29(0x46f)],_0x57ab3c[_0x29ba29(0x514)]);_0x57ab3c['iv']=_0x4860b2['iv'];var _0x4b9553=_0x4a0d05[_0x29ba29(0x1d3)]['call'](this,_0x26a7d4,_0x28de93,_0x4860b2[_0x29ba29(0x574)],_0x57ab3c);return _0x4b9553;}});}();}));}(qt)),qt[_0x5efdc5(0x357)];}(function(_0x30fac3,_0x4832c0){(function(_0x3abe48,_0x2f3c31,_0x44149f){const _0x26f373=_0x16eb;_0x30fac3[_0x26f373(0x357)]=_0x2f3c31(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2bd097){const _0x4eb7ff=_0x16eb;return(function(){const _0x3c5010=_0x16eb;var _0x5837a7=_0x2bd097,_0x2ea9a6=_0x5837a7[_0x3c5010(0x3c7)],_0x583b66=_0x2ea9a6[_0x3c5010(0x24d)],_0x11d72e=_0x5837a7[_0x3c5010(0x4cb)],_0x2301d4=[],_0x1886af=[],_0xfe9f54=[],_0xc54566=[],_0x2846cf=[],_0xa2b2f5=[],_0x48f430=[],_0x4f05f9=[],_0x11cfc7=[],_0x18e330=[];(function(){for(var _0x240fa9=[],_0x13f7f3=0x0;_0x13f7f3<0x100;_0x13f7f3++)_0x13f7f3<0x80?_0x240fa9[_0x13f7f3]=_0x13f7f3<<0x1:_0x240fa9[_0x13f7f3]=_0x13f7f3<<0x1^0x11b;for(var _0x3c6862=0x0,_0x280c8e=0x0,_0x13f7f3=0x0;_0x13f7f3<0x100;_0x13f7f3++){var _0x488397=_0x280c8e^_0x280c8e<<0x1^_0x280c8e<<0x2^_0x280c8e<<0x3^_0x280c8e<<0x4;_0x488397=_0x488397>>>0x8^_0x488397&0xff^0x63,_0x2301d4[_0x3c6862]=_0x488397,_0x1886af[_0x488397]=_0x3c6862;var _0x28cd65=_0x240fa9[_0x3c6862],_0x34e858=_0x240fa9[_0x28cd65],_0x78bcc2=_0x240fa9[_0x34e858],_0x506abd=_0x240fa9[_0x488397]*0x101^_0x488397*0x1010100;_0xfe9f54[_0x3c6862]=_0x506abd<<0x18|_0x506abd>>>0x8,_0xc54566[_0x3c6862]=_0x506abd<<0x10|_0x506abd>>>0x10,_0x2846cf[_0x3c6862]=_0x506abd<<0x8|_0x506abd>>>0x18,_0xa2b2f5[_0x3c6862]=_0x506abd;var _0x506abd=_0x78bcc2*0x1010101^_0x34e858*0x10001^_0x28cd65*0x101^_0x3c6862*0x1010100;_0x48f430[_0x488397]=_0x506abd<<0x18|_0x506abd>>>0x8,_0x4f05f9[_0x488397]=_0x506abd<<0x10|_0x506abd>>>0x10,_0x11cfc7[_0x488397]=_0x506abd<<0x8|_0x506abd>>>0x18,_0x18e330[_0x488397]=_0x506abd,_0x3c6862?(_0x3c6862=_0x28cd65^_0x240fa9[_0x240fa9[_0x240fa9[_0x78bcc2^_0x28cd65]]],_0x280c8e^=_0x240fa9[_0x240fa9[_0x280c8e]]):_0x3c6862=_0x280c8e=0x1;}}());var _0x28ba37=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x1c9e16=_0x11d72e[_0x3c5010(0x2db)]=_0x583b66[_0x3c5010(0x41b)]({'_doReset':function(){const _0xcea2c7=_0x3c5010;var _0x23d853;if(!(this[_0xcea2c7(0x35b)]&&this['_keyPriorReset']===this[_0xcea2c7(0x198)])){for(var _0x37ec3f=this[_0xcea2c7(0x247)]=this[_0xcea2c7(0x198)],_0x437e80=_0x37ec3f['words'],_0x43e92b=_0x37ec3f[_0xcea2c7(0x420)]/0x4,_0x2a9d33=this[_0xcea2c7(0x35b)]=_0x43e92b+0x6,_0x2f977f=(_0x2a9d33+0x1)*0x4,_0x47876d=this[_0xcea2c7(0x4ac)]=[],_0x20a61c=0x0;_0x20a61c<_0x2f977f;_0x20a61c++)_0x20a61c<_0x43e92b?_0x47876d[_0x20a61c]=_0x437e80[_0x20a61c]:(_0x23d853=_0x47876d[_0x20a61c-0x1],_0x20a61c%_0x43e92b?_0x43e92b>0x6&&_0x20a61c%_0x43e92b==0x4&&(_0x23d853=_0x2301d4[_0x23d853>>>0x18]<<0x18|_0x2301d4[_0x23d853>>>0x10&0xff]<<0x10|_0x2301d4[_0x23d853>>>0x8&0xff]<<0x8|_0x2301d4[_0x23d853&0xff]):(_0x23d853=_0x23d853<<0x8|_0x23d853>>>0x18,_0x23d853=_0x2301d4[_0x23d853>>>0x18]<<0x18|_0x2301d4[_0x23d853>>>0x10&0xff]<<0x10|_0x2301d4[_0x23d853>>>0x8&0xff]<<0x8|_0x2301d4[_0x23d853&0xff],_0x23d853^=_0x28ba37[_0x20a61c/_0x43e92b|0x0]<<0x18),_0x47876d[_0x20a61c]=_0x47876d[_0x20a61c-_0x43e92b]^_0x23d853);for(var _0x9f07ad=this[_0xcea2c7(0x430)]=[],_0x522aae=0x0;_0x522aae<_0x2f977f;_0x522aae++){var _0x20a61c=_0x2f977f-_0x522aae;if(_0x522aae%0x4)var _0x23d853=_0x47876d[_0x20a61c];else var _0x23d853=_0x47876d[_0x20a61c-0x4];_0x522aae<0x4||_0x20a61c<=0x4?_0x9f07ad[_0x522aae]=_0x23d853:_0x9f07ad[_0x522aae]=_0x48f430[_0x2301d4[_0x23d853>>>0x18]]^_0x4f05f9[_0x2301d4[_0x23d853>>>0x10&0xff]]^_0x11cfc7[_0x2301d4[_0x23d853>>>0x8&0xff]]^_0x18e330[_0x2301d4[_0x23d853&0xff]];}}},'encryptBlock':function(_0x27e0ea,_0x52b3bf){const _0x4dd84b=_0x3c5010;this['_doCryptBlock'](_0x27e0ea,_0x52b3bf,this[_0x4dd84b(0x4ac)],_0xfe9f54,_0xc54566,_0x2846cf,_0xa2b2f5,_0x2301d4);},'decryptBlock':function(_0x83d66c,_0x5c2ba0){const _0x1b059c=_0x3c5010;var _0x37b0d0=_0x83d66c[_0x5c2ba0+0x1];_0x83d66c[_0x5c2ba0+0x1]=_0x83d66c[_0x5c2ba0+0x3],_0x83d66c[_0x5c2ba0+0x3]=_0x37b0d0,this[_0x1b059c(0x221)](_0x83d66c,_0x5c2ba0,this[_0x1b059c(0x430)],_0x48f430,_0x4f05f9,_0x11cfc7,_0x18e330,_0x1886af);var _0x37b0d0=_0x83d66c[_0x5c2ba0+0x1];_0x83d66c[_0x5c2ba0+0x1]=_0x83d66c[_0x5c2ba0+0x3],_0x83d66c[_0x5c2ba0+0x3]=_0x37b0d0;},'_doCryptBlock':function(_0x35dd52,_0x58806a,_0x3100ef,_0x40aef9,_0x18a0fe,_0x4112b9,_0x3f789b,_0x2839ff){const _0x4e2a1a=_0x3c5010;for(var _0x353ba6=this[_0x4e2a1a(0x35b)],_0x48bd08=_0x35dd52[_0x58806a]^_0x3100ef[0x0],_0x45b06a=_0x35dd52[_0x58806a+0x1]^_0x3100ef[0x1],_0x1be03d=_0x35dd52[_0x58806a+0x2]^_0x3100ef[0x2],_0x19b195=_0x35dd52[_0x58806a+0x3]^_0x3100ef[0x3],_0x245d5b=0x4,_0x5814ca=0x1;_0x5814ca<_0x353ba6;_0x5814ca++){var _0x56c81a=_0x40aef9[_0x48bd08>>>0x18]^_0x18a0fe[_0x45b06a>>>0x10&0xff]^_0x4112b9[_0x1be03d>>>0x8&0xff]^_0x3f789b[_0x19b195&0xff]^_0x3100ef[_0x245d5b++],_0x3a68fb=_0x40aef9[_0x45b06a>>>0x18]^_0x18a0fe[_0x1be03d>>>0x10&0xff]^_0x4112b9[_0x19b195>>>0x8&0xff]^_0x3f789b[_0x48bd08&0xff]^_0x3100ef[_0x245d5b++],_0x1e4514=_0x40aef9[_0x1be03d>>>0x18]^_0x18a0fe[_0x19b195>>>0x10&0xff]^_0x4112b9[_0x48bd08>>>0x8&0xff]^_0x3f789b[_0x45b06a&0xff]^_0x3100ef[_0x245d5b++],_0x39a429=_0x40aef9[_0x19b195>>>0x18]^_0x18a0fe[_0x48bd08>>>0x10&0xff]^_0x4112b9[_0x45b06a>>>0x8&0xff]^_0x3f789b[_0x1be03d&0xff]^_0x3100ef[_0x245d5b++];_0x48bd08=_0x56c81a,_0x45b06a=_0x3a68fb,_0x1be03d=_0x1e4514,_0x19b195=_0x39a429;}var _0x56c81a=(_0x2839ff[_0x48bd08>>>0x18]<<0x18|_0x2839ff[_0x45b06a>>>0x10&0xff]<<0x10|_0x2839ff[_0x1be03d>>>0x8&0xff]<<0x8|_0x2839ff[_0x19b195&0xff])^_0x3100ef[_0x245d5b++],_0x3a68fb=(_0x2839ff[_0x45b06a>>>0x18]<<0x18|_0x2839ff[_0x1be03d>>>0x10&0xff]<<0x10|_0x2839ff[_0x19b195>>>0x8&0xff]<<0x8|_0x2839ff[_0x48bd08&0xff])^_0x3100ef[_0x245d5b++],_0x1e4514=(_0x2839ff[_0x1be03d>>>0x18]<<0x18|_0x2839ff[_0x19b195>>>0x10&0xff]<<0x10|_0x2839ff[_0x48bd08>>>0x8&0xff]<<0x8|_0x2839ff[_0x45b06a&0xff])^_0x3100ef[_0x245d5b++],_0x39a429=(_0x2839ff[_0x19b195>>>0x18]<<0x18|_0x2839ff[_0x48bd08>>>0x10&0xff]<<0x10|_0x2839ff[_0x45b06a>>>0x8&0xff]<<0x8|_0x2839ff[_0x1be03d&0xff])^_0x3100ef[_0x245d5b++];_0x35dd52[_0x58806a]=_0x56c81a,_0x35dd52[_0x58806a+0x1]=_0x3a68fb,_0x35dd52[_0x58806a+0x2]=_0x1e4514,_0x35dd52[_0x58806a+0x3]=_0x39a429;},'keySize':0x100/0x20});_0x5837a7['AES']=_0x583b66[_0x3c5010(0x327)](_0x1c9e16);}()),_0x2bd097[_0x4eb7ff(0x2db)];}));}(ji));var $a=ji['exports'];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x360eaa,_0x1beb1f){(function(_0xdecf20,_0x13c766){const _0x2945be=_0x16eb;_0x360eaa[_0x2945be(0x357)]=_0x13c766(ue());}(Z,function(_0x59f45e){const _0x2709ae=_0x16eb;return _0x59f45e['enc'][_0x2709ae(0x550)];}));}(Fi));var Ba=Fi[_0xb7df44(0x357)];const ka=at(Ba);var Vi={'exports':{}};(function(_0xe43156,_0x2b8649){(function(_0x4122b5,_0x4177fc){_0xe43156['exports']=_0x4177fc(ue());}(Z,function(_0x39f124){const _0x1a92fd=_0x16eb;return(function(){const _0x48eae5=_0x16eb;if(typeof ArrayBuffer=='function'){var _0x51e6f2=_0x39f124,_0x5a490a=_0x51e6f2['lib'],_0x1ced7f=_0x5a490a[_0x48eae5(0x587)],_0x3e222d=_0x1ced7f['init'],_0x2087c0=_0x1ced7f[_0x48eae5(0x509)]=function(_0x1ca39f){const _0x5246af=_0x48eae5;if(_0x1ca39f instanceof ArrayBuffer&&(_0x1ca39f=new Uint8Array(_0x1ca39f)),(_0x1ca39f instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x1ca39f instanceof Uint8ClampedArray||_0x1ca39f instanceof Int16Array||_0x1ca39f instanceof Uint16Array||_0x1ca39f instanceof Int32Array||_0x1ca39f instanceof Uint32Array||_0x1ca39f instanceof Float32Array||_0x1ca39f instanceof Float64Array)&&(_0x1ca39f=new Uint8Array(_0x1ca39f[_0x5246af(0x1cb)],_0x1ca39f[_0x5246af(0x2b5)],_0x1ca39f[_0x5246af(0x56d)])),_0x1ca39f instanceof Uint8Array){for(var _0x2f603c=_0x1ca39f['byteLength'],_0x4693bc=[],_0x478518=0x0;_0x478518<_0x2f603c;_0x478518++)_0x4693bc[_0x478518>>>0x2]|=_0x1ca39f[_0x478518]<<0x18-_0x478518%0x4*0x8;_0x3e222d[_0x5246af(0x4c9)](this,_0x4693bc,_0x2f603c);}else _0x3e222d['apply'](this,arguments);};_0x2087c0[_0x48eae5(0x46d)]=_0x1ced7f;}}()),_0x39f124[_0x1a92fd(0x3c7)][_0x1a92fd(0x587)];}));}(Vi));var Wa=Vi[_0xb7df44(0x357)];function _0x16eb(_0x14d06e,_0xf75a63){const _0x1c3438=_0x1c34();return _0x16eb=function(_0x16eb58,_0xa5784a){_0x16eb58=_0x16eb58-0x17f;let _0x446562=_0x1c3438[_0x16eb58];return _0x446562;},_0x16eb(_0x14d06e,_0xf75a63);}const Fa=at(Wa);var Gi={'exports':{}};(function(_0x30adfc,_0x55027a){(function(_0x4d113e,_0x512492,_0x40fa72){const _0x5130ad=_0x16eb;_0x30adfc[_0x5130ad(0x357)]=_0x512492(ue(),Wi());}(Z,function(_0x1eae21){const _0x1f9aa5=_0x16eb;return _0x1eae21[_0x1f9aa5(0x53d)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x1eae21[_0x1f9aa5(0x53d)][_0x1f9aa5(0x594)];}));}(Gi));var Va=Gi[_0xb7df44(0x357)];const Ga=at(Va);function Ya(_0x8d4810,_0x451631){const _0x448dd4=_0xb7df44,_0x344681=_0x451631-_0x8d4810[_0x448dd4(0x3f7)]%_0x451631,_0x3aa201=String['fromCharCode'](_0x344681)[_0x448dd4(0x3a4)](_0x344681);return _0x8d4810+_0x3aa201;}function Ka(_0x2a8e18,_0x486d5e){const _0x5401ff=_0xb7df44,_0x2a9db9=Fa[_0x5401ff(0x462)](0x10),_0x480606=Ya(_0x2a8e18,0x10),_0x154929=Ha[_0x5401ff(0x25a)](ka[_0x5401ff(0x272)](_0x480606),ii[_0x5401ff(0x272)](_0x486d5e),{'iv':_0x2a9db9,'padding':Ga});return _0x2a9db9[_0x5401ff(0x391)](_0x154929[_0x5401ff(0x36b)])['toString'](ii);}function za(){const _0x1b9348=_0xb7df44,_0x508a12=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)['__Key__'];if(_0x508a12){const _0x119346={'time':Math[_0x1b9348(0x4cc)](Date[_0x1b9348(0x349)]()/0x3e8),'domain':location[_0x1b9348(0x1f9)]};return Ka(JSON[_0x1b9348(0x41d)](_0x119346),_0x508a12);}}var qa=Object[_0xb7df44(0x441)],Xa=Object['getOwnPropertyDescriptor'],Ja=(_0x46a934,_0x2650a6,_0x3a5bf0,_0x525e7f)=>{const _0xaed75=_0xb7df44;for(var _0xc412f0=_0x525e7f>0x1?void 0x0:_0x525e7f?Xa(_0x2650a6,_0x3a5bf0):_0x2650a6,_0x1cf09f=_0x46a934[_0xaed75(0x3f7)]-0x1,_0x5ed1c7;_0x1cf09f>=0x0;_0x1cf09f--)(_0x5ed1c7=_0x46a934[_0x1cf09f])&&(_0xc412f0=(_0x525e7f?_0x5ed1c7(_0x2650a6,_0x3a5bf0,_0xc412f0):_0x5ed1c7(_0xc412f0))||_0xc412f0);return _0x525e7f&&_0xc412f0&&qa(_0x2650a6,_0x3a5bf0,_0xc412f0),_0xc412f0;},Za=(_0x246370,_0x35541d)=>(_0x1b6a40,_0x57e353)=>_0x35541d(_0x1b6a40,_0x57e353,_0x246370);let Tt=class{constructor(_0x3878ff){const _0x14bc6a=_0xb7df44;this[_0x14bc6a(0x4c4)]=_0x3878ff,this[_0x14bc6a(0x266)]();}['_initRequestHeader'](){const _0x3a9dac=_0xb7df44;this[_0x3a9dac(0x4c4)][_0x3a9dac(0x4df)]({'interceptor':(_0x182b8c,_0x46ffe6)=>{const _0x48cfa7=_0x3a9dac,_0x267ac9=_0x182b8c[_0x48cfa7(0x3fd)],_0xfd2033=za();return _0xfd2033&&_0x267ac9[_0x48cfa7(0x1f3)](_0x48cfa7(0x439),_0xfd2033),_0x46ffe6(_0x182b8c);}});}};Tt=Ja([Za(0x0,_0x380ba9(_0x429bbf))],Tt);var Qa=Object[_0xb7df44(0x441)],ec=Object[_0xb7df44(0x250)],tc=(_0x4abcb7,_0x4d4ad2,_0x4c3e5c,_0x4d1693)=>{const _0x5e186d=_0xb7df44;for(var _0x3cc6eb=_0x4d1693>0x1?void 0x0:_0x4d1693?ec(_0x4d4ad2,_0x4c3e5c):_0x4d4ad2,_0x1b342b=_0x4abcb7[_0x5e186d(0x3f7)]-0x1,_0x11e1b5;_0x1b342b>=0x0;_0x1b342b--)(_0x11e1b5=_0x4abcb7[_0x1b342b])&&(_0x3cc6eb=(_0x4d1693?_0x11e1b5(_0x4d4ad2,_0x4c3e5c,_0x3cc6eb):_0x11e1b5(_0x3cc6eb))||_0x3cc6eb);return _0x4d1693&&_0x3cc6eb&&Qa(_0x4d4ad2,_0x4c3e5c,_0x3cc6eb),_0x3cc6eb;},Xt=(_0x12717a,_0x171fea)=>(_0x51543f,_0x12b7a6)=>_0x171fea(_0x51543f,_0x12b7a6,_0x12717a);const sc=[_0xb7df44(0x199),_0xb7df44(0x44c),_0xb7df44(0x26e),_0xb7df44(0x43e),'image/bmp'],ic=0x5*0x400*0x400,nc='EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY',rc='/universer-api/stream/file/upload',oc=_0xb7df44(0x4c6),ac='/universer-api/file/{fileID}/sign-url';let hs=class{constructor(_0x17d9fc,_0x4f7c32,_0x2d4613){const _0x39f4a4=_0xb7df44;g(this,'_waitCount',0x0),g(this,_0x39f4a4(0x495),new _0xbbcc86()),g(this,'change$',this[_0x39f4a4(0x495)]),g(this,_0x39f4a4(0x581),new Map()),(this['_httpService']=_0x17d9fc,this[_0x39f4a4(0x216)]=_0x4f7c32,this[_0x39f4a4(0x3d6)]=_0x2d4613);}[_0xb7df44(0x3da)](_0x357121){const _0x251e4b=_0xb7df44;this[_0x251e4b(0x4b7)]=_0x357121,this[_0x251e4b(0x495)][_0x251e4b(0x28b)](_0x357121);}[_0xb7df44(0x435)](_0x2bc681,_0x50ec7a){const _0x3bd4e8=_0xb7df44;if(_0x50ec7a===_0x1992f8[_0x3bd4e8(0x563)]){const _0x1a993e=new Image();return _0x1a993e[_0x3bd4e8(0x525)]=_0x2bc681,_0x1a993e;}return this['_imageSourceCache']['get'](_0x2bc681);}[_0xb7df44(0x288)](_0x268111,_0x2793c7,_0x98240){const _0x54e3b5=_0xb7df44;_0x2793c7===_0x1992f8[_0x54e3b5(0x563)]||_0x98240==null||this[_0x54e3b5(0x581)]['set'](_0x268111,_0x98240);}async[_0xb7df44(0x47f)](_0x30af88){const _0x1352d2=_0xb7df44;try{const _0x36c980=this['_replaceFileID'](this[_0x1352d2(0x28f)](),''+_0x30af88),_0x19c054=(await this['_httpService'][_0x1352d2(0x339)](_0x36c980))[_0x1352d2(0x56f)];if(_0x19c054['error']&&_0x19c054['error'][_0x1352d2(0x389)]===Ri['OK']){const _0x5647d2=new URL(_0x19c054['url'],this[_0x1352d2(0x45e)]())[_0x1352d2(0x450)]();return Promise[_0x1352d2(0x4c3)](_0x5647d2);}return Promise[_0x1352d2(0x382)](_0x19c054[_0x1352d2(0x1d7)]);}catch(_0x36edc4){return Promise[_0x1352d2(0x382)](_0x36edc4);}}async[_0xb7df44(0x3fa)](_0xd316a6){const _0x57d3f0=_0xb7df44;let _0x4e9d56='';if(!sc[_0x57d3f0(0x29a)](_0xd316a6[_0x57d3f0(0x1f8)]))return this[_0x57d3f0(0x2bc)](),Promise[_0x57d3f0(0x382)](new Error(_0x1c0bfe['ERROR_IMAGE_TYPE']));if(_0xd316a6['size']>ic)return this[_0x57d3f0(0x2bc)](),Promise['reject'](new Error(_0x1c0bfe[_0x57d3f0(0x305)]));try{const _0x216f5c=new FormData();_0x216f5c[_0x57d3f0(0x3d8)](_0x57d3f0(0x511),_0xd316a6);const _0x2308a4=this[_0x57d3f0(0x3d6)][_0x57d3f0(0x1ae)](),_0xda2455=_0x2308a4==null?void 0x0:_0x2308a4[_0x57d3f0(0x432)]();if(!_0xda2455)throw new Error('unitId\x20is\x20not\x20found');const _0x3d8268=this[_0x57d3f0(0x32c)]()+_0x57d3f0(0x534)+_0xd316a6[_0x57d3f0(0x548)][_0x57d3f0(0x450)]()+_0x57d3f0(0x54e)+yi[_0x57d3f0(0x437)]+_0x57d3f0(0x2ce)+encodeURIComponent(_0xda2455),_0x99b899=await(await fetch(_0x3d8268,{'method':_0x57d3f0(0x2d7),'body':_0x216f5c}))[_0x57d3f0(0x429)]();if(typeof _0x99b899[_0x57d3f0(0x40f)]!=_0x57d3f0(0x22d))return this[_0x57d3f0(0x2bc)](),Promise['reject'](new Error(_0x1c0bfe[_0x57d3f0(0x3e6)]));_0x4e9d56=_0x99b899['FileId'];}catch{return this[_0x57d3f0(0x2bc)](),Promise[_0x57d3f0(0x382)](new Error(_0x1c0bfe['ERROR_IMAGE']));}return new Promise((_0x380e8d,_0x3e2e71)=>{const _0x45c056=_0x57d3f0,_0x18528f=new FileReader();_0x18528f[_0x45c056(0x57d)](_0xd316a6),_0x18528f[_0x45c056(0x1ad)]=_0x5e44d3=>{const _0x4ab06c=_0x45c056;var _0x19fe7a;const _0x1ef77d=(_0x19fe7a=_0x5e44d3[_0x4ab06c(0x180)])==null?void 0x0:_0x19fe7a['result'];if(_0x1ef77d==null){this['_decreaseWaiting'](),_0x3e2e71(new Error(_0x1c0bfe[_0x4ab06c(0x3e6)]));return;}const _0x210665=_0xb81a94[_0x4ab06c(0x4a3)](0x6);_0x380e8d({'imageId':_0x210665,'imageSourceType':_0x1992f8[_0x4ab06c(0x53f)],'source':_0x4e9d56,'base64Cache':_0x1ef77d,'status':_0x1c0bfe[_0x4ab06c(0x35a)]}),this[_0x4ab06c(0x2bc)]();};});}[_0xb7df44(0x32c)](){const _0x52bad4=_0xb7df44;var _0x36b8a0,_0x4d849b;const _0x27aed3=this[_0x52bad4(0x216)][_0x52bad4(0x2b8)](nc),_0xa27b24=this[_0x52bad4(0x216)]['getConfig'](ie);return(_0x4d849b=(_0x36b8a0=_0xa27b24==null?void 0x0:_0xa27b24[_0x52bad4(0x20b)])!=null?_0x36b8a0:_0x27aed3)!=null?_0x4d849b:rc;}[_0xb7df44(0x28f)](){const _0x58d121=_0xb7df44;var _0x12d713,_0x5a6790;const _0x2767e4=this[_0x58d121(0x216)]['getConfig'](oc),_0xcd4421=this[_0x58d121(0x216)]['getConfig'](ie);return(_0x5a6790=(_0x12d713=_0xcd4421==null?void 0x0:_0xcd4421[_0x58d121(0x4e8)])!=null?_0x12d713:_0x2767e4)!=null?_0x5a6790:ac;}[_0xb7df44(0x45e)](){const _0x22d9fc=_0xb7df44;var _0x5cddc4;const _0x5f0d11=this[_0x22d9fc(0x216)][_0x22d9fc(0x2b8)](ie);return(_0x5cddc4=_0x5f0d11==null?void 0x0:_0x5f0d11[_0x22d9fc(0x423)])!=null?_0x5cddc4:location[_0x22d9fc(0x300)];}[_0xb7df44(0x524)](_0x61f12c,_0x582079){const _0xf36544=_0xb7df44;return _0x61f12c[_0xf36544(0x532)](_0xf36544(0x562),_0x582079);}[_0xb7df44(0x2bc)](){const _0x12d24d=_0xb7df44;this['_waitCount']-=0x1,this[_0x12d24d(0x495)][_0x12d24d(0x28b)](this['_waitCount']);}};hs=tc([Xt(0x0,_0x380ba9(_0x429bbf)),Xt(0x1,_0x25a779),Xt(0x2,_0x380ba9(_0xf81bb9))],hs);var cc=Object['defineProperty'],hc=Object[_0xb7df44(0x250)],lc=(_0x59af07,_0xd588e7,_0x1168f2,_0x239e4b)=>{const _0x512281=_0xb7df44;for(var _0x4ed60d=_0x239e4b>0x1?void 0x0:_0x239e4b?hc(_0xd588e7,_0x1168f2):_0xd588e7,_0x13c368=_0x59af07[_0x512281(0x3f7)]-0x1,_0x17cc3c;_0x13c368>=0x0;_0x13c368--)(_0x17cc3c=_0x59af07[_0x13c368])&&(_0x4ed60d=(_0x239e4b?_0x17cc3c(_0xd588e7,_0x1168f2,_0x4ed60d):_0x17cc3c(_0x4ed60d))||_0x4ed60d);return _0x239e4b&&_0x4ed60d&&cc(_0xd588e7,_0x1168f2,_0x4ed60d),_0x4ed60d;},Qe=(_0x3e5602,_0x3c293b)=>(_0x3ddbb5,_0x55aecc)=>_0x3c293b(_0x3ddbb5,_0x55aecc,_0x3e5602);let Rt=class extends _0x3431ab{constructor(_0x416d04,_0x38cd97,_0xa2581d,_0x1844f2,_0x5e6008){const _0x40118f=_0xb7df44;super(),this['_injector']=_0x416d04,this[_0x40118f(0x3d6)]=_0x38cd97,this[_0x40118f(0x350)]=_0xa2581d,this['_collaborationSessionService']=_0x1844f2,this[_0x40118f(0x51b)]=_0x5e6008,this['_initUnitPermissionChange'](),this[_0x40118f(0x2ef)]();}['_initCloseConn'](){const _0x2b3bf3=_0xb7df44,_0x36e96f=async _0x44e1b3=>{const _0x13ed1c=_0x16eb;(await this['_collaborationSessionService'][_0x13ed1c(0x4d8)](_0x44e1b3))[_0x13ed1c(0x507)]['pipe'](_0x4620cd(_0x27388e=>_0x27388e[_0x13ed1c(0x306)]===_0x5104a7[_0x13ed1c(0x2dc)]),_0x5a8e54(this[_0x13ed1c(0x561)]))[_0x13ed1c(0x41a)](_0x2a6c79=>{const _0x5f7158=_0x13ed1c,_0x5af435=_0x2a6c79,{reason:_0x1a52e4}=_0x5af435[_0x5f7158(0x32a)];this['_injector'][_0x5f7158(0x339)](_0xff713e)[_0x5f7158(0x39d)]({'type':_0x4bff77['Error'],'content':this['_localeService']['t'](_0x5f7158(0x45f))+'('+_0x1a52e4+')'}),this[_0x5f7158(0x350)]['updatePermissionPoint'](new _0x44ab74(_0x44e1b3)['id'],!0x1),this[_0x5f7158(0x49c)][_0x5f7158(0x254)](_0x44e1b3);});};_0x446ede(this[_0x2b3bf3(0x3d6)][_0x2b3bf3(0x4a4)](_0x5d9c1d[_0x2b3bf3(0x37b)]),this[_0x2b3bf3(0x3d6)]['getTypeOfUnitAdded$'](_0x5d9c1d[_0x2b3bf3(0x1cf)]))[_0x2b3bf3(0x51d)](_0x41a95e(_0x3cdca7=>_0x3cdca7[_0x2b3bf3(0x432)]()),_0x4620cd(_0x58b6d8=>!_0xc654c7(_0x58b6d8)),_0x5a8e54(this[_0x2b3bf3(0x561)]))[_0x2b3bf3(0x41a)](_0x3604f4=>{_0x36e96f(_0x3604f4);});}[_0xb7df44(0x3e2)](){const _0x5b68e4=_0xb7df44,_0x2d7067=async _0x3afcc6=>{const _0x5cb791=_0x16eb;(await this[_0x5cb791(0x49c)][_0x5cb791(0x4d8)](_0x3afcc6))[_0x5cb791(0x507)][_0x5cb791(0x51d)](_0x4620cd(_0x5ed0e2=>_0x5ed0e2['eventID']===_0x5104a7[_0x5cb791(0x2cc)]),_0x5a8e54(this[_0x5cb791(0x561)]))['subscribe'](_0x47703f=>{const _0x244a06=_0x5cb791,_0x2ee84a=_0x47703f,{objectId:_0x55dcd5}=_0x2ee84a['data'],_0xaab02e=this[_0x244a06(0x526)][_0x244a06(0x339)](_0x1dd603);_0x55dcd5===_0x3afcc6?_0xaab02e[_0x244a06(0x47c)](_0x3afcc6):_0xaab02e[_0x244a06(0x53c)](_0x3afcc6,_0x55dcd5);});};_0x446ede(this[_0x5b68e4(0x3d6)][_0x5b68e4(0x4a4)](_0x5d9c1d[_0x5b68e4(0x37b)]),this[_0x5b68e4(0x3d6)]['getTypeOfUnitAdded$'](_0x5d9c1d[_0x5b68e4(0x1cf)]))[_0x5b68e4(0x51d)](_0x41a95e(_0x234424=>_0x234424['getUnitId']()),_0x4620cd(_0x9f1024=>!_0xc654c7(_0x9f1024)),_0x5a8e54(this[_0x5b68e4(0x561)]))[_0x5b68e4(0x41a)](_0x4c4ab4=>{_0x2d7067(_0x4c4ab4);});}};Rt=lc([Qe(0x0,_0x380ba9(_0x41c43c)),Qe(0x1,_0xf81bb9),Qe(0x2,_0x60a8ad),Qe(0x3,_0x380ba9(Ae)),Qe(0x4,_0x380ba9(_0x5ccb65))],Rt);var _c=Object[_0xb7df44(0x441)],uc=Object['getOwnPropertyDescriptor'],dc=(_0x1a1465,_0x114e71,_0x51516c,_0x5b43fb)=>{const _0x276a2a=_0xb7df44;for(var _0x2b4799=_0x5b43fb>0x1?void 0x0:_0x5b43fb?uc(_0x114e71,_0x51516c):_0x114e71,_0x268d63=_0x1a1465[_0x276a2a(0x3f7)]-0x1,_0xca048d;_0x268d63>=0x0;_0x268d63--)(_0xca048d=_0x1a1465[_0x268d63])&&(_0x2b4799=(_0x5b43fb?_0xca048d(_0x114e71,_0x51516c,_0x2b4799):_0xca048d(_0x2b4799))||_0x2b4799);return _0x5b43fb&&_0x2b4799&&_c(_0x114e71,_0x51516c,_0x2b4799),_0x2b4799;},ni=(_0x3c1e76,_0x47b4ba)=>(_0x345e86,_0x5b8ae2)=>_0x47b4ba(_0x345e86,_0x5b8ae2,_0x3c1e76);let ls=class{constructor(_0x4ca941,_0x2d8f7c){const _0x28c96d=_0xb7df44;this[_0x28c96d(0x216)]=_0x4ca941,this[_0x28c96d(0x4c4)]=_0x2d8f7c;}async[_0xb7df44(0x310)](_0x1ffb81,_0x4a328b){const _0x294586=_0xb7df44;var _0x1a9ec9;const {unitID:_0x5160ae,type:_0x42550d,revision:_0x4ff893=0x0}=_0x4a328b,_0x161d73=this['_getSnapshotAPIPrefix']()+'/'+_0x42550d+'/unit/'+_0x5160ae+_0x294586(0x50f)+_0x4ff893,_0x20d23b=(await this['_httpService']['get'](_0x161d73))[_0x294586(0x56f)],_0x315ff2=(_0x1a9ec9=_0x20d23b[_0x294586(0x443)])==null?void 0x0:_0x1a9ec9['workbook'];if(_0x315ff2){const _0x4ba347=_0x315ff2==null?void 0x0:_0x315ff2[_0x294586(0x1fe)],_0x1e972f=_0x58a671['encode'](_0x3dd4e8(_0x4ba347));_0x315ff2[_0x294586(0x1fe)]=_0x1e972f,Object['entries'](_0x315ff2['sheets'])[_0x294586(0x3d9)](([,_0x738c02])=>{const _0x5eeb7c=_0x294586,_0x2c189e=_0x738c02['originalMeta'],_0x37dce8=_0x58a671[_0x5eeb7c(0x33a)](_0x3dd4e8(_0x2c189e));_0x738c02['originalMeta']=_0x37dce8;});}return _0x20d23b;}async[_0xb7df44(0x3b4)](_0x2dc063,_0x31cd58){const _0x2fea84=_0xb7df44,{unitID:_0x345dbe,type:_0x282226,blockID:_0x23e9cf}=_0x31cd58,_0x1c4a57=this[_0x2fea84(0x486)]()+'/'+_0x282226+'/unit/'+_0x345dbe+_0x2fea84(0x2fc)+_0x23e9cf;return(await this[_0x2fea84(0x4c4)][_0x2fea84(0x339)](_0x1c4a57))['body'];}async[_0xb7df44(0x194)](_0x25f2f2,_0x2d6c4d){const _0x4ebcd0=_0xb7df44,{unitID:_0x1f72f6,type:_0x5abb53,blockID:_0x5ae625}=_0x2d6c4d,_0x5934f3=this['_getAPIPrefix']()+_0x4ebcd0(0x2fc)+_0x5abb53+_0x4ebcd0(0x2dd)+_0x1f72f6+'/block/'+_0x5ae625;return(await this[_0x4ebcd0(0x4c4)][_0x4ebcd0(0x339)](_0x5934f3))['body'];}async[_0xb7df44(0x2a5)](_0xfbc8a4,_0x17ca49){const _0xcf06a9=_0xb7df44,{unitID:_0xdf3258,type:_0x1089ed,from:_0x35d998,to:_0x377bd2}=_0x17ca49,_0x3c2d15=this['_getAPIPrefix']()+'/'+_0x1089ed+_0xcf06a9(0x2dd)+_0xdf3258+_0xcf06a9(0x54d)+_0x35d998+_0xcf06a9(0x3ff)+_0x377bd2;return(await this['_httpService'][_0xcf06a9(0x339)](_0x3c2d15))[_0xcf06a9(0x56f)];}[_0xb7df44(0x334)](){const _0x4f4af3=_0xb7df44;var _0x1a4bc2;return(_0x1a4bc2=this[_0x4f4af3(0x216)]['getConfig'](ar))!=null?_0x1a4bc2:this[_0x4f4af3(0x486)]();}[_0xb7df44(0x486)](){const _0x15cc53=_0xb7df44;var _0x4fbbad,_0xaa5703;const _0x9bb7c=this[_0x15cc53(0x216)]['getConfig'](rr),_0x570428=this[_0x15cc53(0x216)][_0x15cc53(0x2b8)](ie);return(_0xaa5703=(_0x4fbbad=_0x570428==null?void 0x0:_0x570428['snapshotServerUrl'])!=null?_0x4fbbad:_0x9bb7c)!=null?_0xaa5703:or;}async[_0xb7df44(0x27a)](_0x2bb94e,_0x2d7e8c){const _0x5258ef=_0xb7df44,_0x166738=_0x5258ef(0x4b3)+_0x2d7e8c[_0x5258ef(0x1f8)]+'/unit/'+_0x2d7e8c[_0x5258ef(0x37e)]+_0x5258ef(0x425);return(await this[_0x5258ef(0x4c4)]['get'](_0x166738,{'params':{'resourceId':JSON[_0x5258ef(0x41d)](_0x2d7e8c[_0x5258ef(0x275)])}}))['body'];}[_0xb7df44(0x49e)](){const _0x3759d4=_0xb7df44;throw new Error(_0x3759d4(0x56a));}[_0xb7df44(0x2e1)](){const _0x1666b2=_0xb7df44;throw new Error(_0x1666b2(0x56a));}[_0xb7df44(0x218)](){const _0x54f587=_0xb7df44;throw new Error(_0x54f587(0x56a));}[_0xb7df44(0x400)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['getLatestCsReqIdBySid'](){const _0x1e5faf=_0xb7df44;throw new Error(_0x1e5faf(0x56a));}};ls=dc([ni(0x0,_0x25a779),ni(0x1,_0x380ba9(_0x429bbf))],ls);var fc=Object[_0xb7df44(0x441)],vc=Object[_0xb7df44(0x250)],mc=(_0x325251,_0x43b7d7,_0x3de9ac,_0x54c7e0)=>{const _0x114edf=_0xb7df44;for(var _0x582990=_0x54c7e0>0x1?void 0x0:_0x54c7e0?vc(_0x43b7d7,_0x3de9ac):_0x43b7d7,_0x9e9378=_0x325251[_0x114edf(0x3f7)]-0x1,_0x19f3a3;_0x9e9378>=0x0;_0x9e9378--)(_0x19f3a3=_0x325251[_0x9e9378])&&(_0x582990=(_0x54c7e0?_0x19f3a3(_0x43b7d7,_0x3de9ac,_0x582990):_0x19f3a3(_0x582990))||_0x582990);return _0x54c7e0&&_0x582990&&fc(_0x43b7d7,_0x3de9ac,_0x582990),_0x582990;},et=(_0xa8a157,_0x4f3227)=>(_0x73205e,_0x114e96)=>_0x4f3227(_0x73205e,_0x114e96,_0xa8a157);let _s=class extends _0x3852e7{constructor(_0x397e1a,_0x7e0170,_0x64497c,_0x5de16a,_0x3aea60){const _0x4c9a9b=_0xb7df44;super(_0x397e1a,_0x7e0170,_0x64497c),this[_0x4c9a9b(0x242)]=_0x5de16a,this[_0x4c9a9b(0x362)]=_0x3aea60;}[_0xb7df44(0x26f)](_0x20c082,_0x4ba7a4){const _0x2330f2=_0xb7df44,_0x46b1ee=this[_0x2330f2(0x1a6)](_0x20c082);if(_0x46b1ee)try{const _0x556105=this[_0x2330f2(0x518)](_0x46b1ee,_0x4ba7a4);this[_0x2330f2(0x274)](_0x20c082,_0x556105);}catch(_0x56db2a){this[_0x2330f2(0x362)][_0x2330f2(0x1d7)](_0x2330f2(0x3e1),_0x56db2a),this['_clearUndo'](_0x20c082);}const _0x2861e9=this[_0x2330f2(0x191)](_0x20c082);if(_0x2861e9)try{const _0x4ed7a2=this[_0x2330f2(0x518)](_0x2861e9,_0x4ba7a4);this['_substituteRedoStack'](_0x20c082,_0x4ed7a2);}catch(_0x3d9a15){this[_0x2330f2(0x362)][_0x2330f2(0x1d7)](_0x3d9a15),this['_clearRedo'](_0x20c082);}}['_clearUndo'](_0x34dd5e){const _0xb37bc5=_0xb7df44,_0x62d2e6=this[_0xb37bc5(0x1a6)](_0x34dd5e);_0x62d2e6&&(_0x62d2e6['length']=0x0,this[_0xb37bc5(0x46a)]());}[_0xb7df44(0x4f2)](_0x524be6){const _0x314752=_0xb7df44,_0x4afac4=this[_0x314752(0x191)](_0x524be6);_0x4afac4&&(_0x4afac4['length']=0x0,this['_updateStatus']());}[_0xb7df44(0x274)](_0x4ff992,_0x3b0b37){const _0x5e1849=_0xb7df44;this[_0x5e1849(0x1ec)][_0x5e1849(0x1f3)](_0x4ff992,_0x3b0b37),this[_0x5e1849(0x46a)]();}['_substituteRedoStack'](_0x443d38,_0x2b6605){const _0x52d2ea=_0xb7df44;this[_0x52d2ea(0x1b8)][_0x52d2ea(0x1f3)](_0x443d38,_0x2b6605),this[_0x52d2ea(0x46a)]();}['_transformStack'](_0x42cf22,_0x2ef10d){const _0x3be0b4=_0xb7df44,_0x5c96f0=[];let _0x3f5f2e=_0x2ef10d,_0x46dbd1=_0x2ef10d;for(let _0x555ab6=_0x42cf22[_0x3be0b4(0x3f7)]-0x1;_0x555ab6>=0x0;_0x555ab6--){const {unitID:_0x2db436,undoMutations:_0x4eab4f,redoMutations:_0x177c91}=_0x42cf22[_0x555ab6],_0x45c847=this[_0x3be0b4(0x242)][_0x3be0b4(0x3aa)](_0x3f5f2e,_0x4eab4f),_0x476563=this[_0x3be0b4(0x242)]['transformMutationsWithChangeset'](_0x46dbd1,_0x177c91);if(_0x28bc4f(_0x45c847)||_0x28bc4f(_0x476563)){this[_0x3be0b4(0x362)][_0x3be0b4(0x1d7)](_0x3be0b4(0x3e1),_0x3be0b4(0x481),_0x45c847,_0x476563);break;}_0x3f5f2e=_0x45c847['c1Prime'],_0x46dbd1=_0x476563[_0x3be0b4(0x201)],_0x5c96f0[_0x3be0b4(0x1c5)]({'unitID':_0x2db436,'undoMutations':_0x45c847['m2Prime'],'redoMutations':_0x476563[_0x3be0b4(0x4f7)]});}return _0x5c96f0[_0x3be0b4(0x3f0)]();}};_s=mc([et(0x0,_0xf81bb9),et(0x1,_0x461f8f),et(0x2,_0x19c5a2),et(0x3,_0x5dcca2),et(0x4,_0x23bd67)],_s);class pc extends _0x3431ab{constructor(){const _0x71e608=_0xb7df44;super(),g(this,_0x71e608(0x52c)),this[_0x71e608(0x52c)]=_0xb50e9(window,_0x71e608(0x4b2))['pipe'](_0x5c3c82(this[_0x71e608(0x561)]),_0x1f5fb1(0x1),_0x2675d6(void 0x0));}[_0xb7df44(0x2b6)](_0x2da4bc,_0x33147b,_0x276b9e=!0x1){const _0x243bd1=_0xb7df44,_0x36a766=new URL(window[_0x243bd1(0x355)][_0x243bd1(0x40c)]);_0x36a766[_0x243bd1(0x4f5)][_0x243bd1(0x1f3)](_0x2da4bc,_0x33147b),_0x276b9e?window[_0x243bd1(0x2ad)][_0x243bd1(0x1d0)]('','',_0x36a766[_0x243bd1(0x450)]()):window[_0x243bd1(0x2ad)]['pushState']('','',_0x36a766[_0x243bd1(0x450)]());}[_0xb7df44(0x43c)](_0x469d2c,_0x15773f=!0x1){const _0x97bc3a=_0xb7df44,_0x2abee6=new URL(window[_0x97bc3a(0x355)][_0x97bc3a(0x40c)]);_0x2abee6[_0x97bc3a(0x4f5)][_0x97bc3a(0x37f)](_0x469d2c),_0x15773f?window[_0x97bc3a(0x2ad)][_0x97bc3a(0x1d0)]('','',_0x2abee6[_0x97bc3a(0x450)]()):window['history'][_0x97bc3a(0x370)]('','',_0x2abee6['toString']());}[_0xb7df44(0x479)](_0xb3f3d3){const _0x44c99f=_0xb7df44;var _0x44ca30;return(_0x44ca30=new URL(window[_0x44c99f(0x355)][_0x44c99f(0x40c)])[_0x44c99f(0x4f5)][_0x44c99f(0x339)](_0xb3f3d3))!=null?_0x44ca30:void 0x0;}}var Yi=Object[_0xb7df44(0x441)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x3fc578,_0x4439b9,_0x2b76d6)=>_0x4439b9 in _0x3fc578?Yi(_0x3fc578,_0x4439b9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b76d6}):_0x3fc578[_0x4439b9]=_0x2b76d6,Ic=(_0x2f6600,_0x2a19cb,_0x8f69ab,_0x33d7b1)=>{for(var _0x391946=_0x33d7b1>0x1?void 0x0:_0x33d7b1?gc(_0x2a19cb,_0x8f69ab):_0x2a19cb,_0x335ada=_0x2f6600['length']-0x1,_0x3f9abe;_0x335ada>=0x0;_0x335ada--)(_0x3f9abe=_0x2f6600[_0x335ada])&&(_0x391946=(_0x33d7b1?_0x3f9abe(_0x2a19cb,_0x8f69ab,_0x391946):_0x3f9abe(_0x391946))||_0x391946);return _0x33d7b1&&_0x391946&&Yi(_0x2a19cb,_0x8f69ab,_0x391946),_0x391946;},_t=(_0x364ab2,_0x4b4b0d)=>(_0x2288e0,_0x19e18a)=>_0x4b4b0d(_0x2288e0,_0x19e18a,_0x364ab2),Cc=(_0x2879af,_0x558648,_0x2ecd6a)=>Sc(_0x2879af,_0x558648+'',_0x2ecd6a);const Ec='UNIVER_COLLABORATION_CLIENT_PLUGIN';let us=class extends _0x2fd91a{constructor(_0xe3970e=Er,_0x596093,_0x1a1e17,_0x30dc45,_0x238d32){const _0x231004=_0xb7df44;super(),this['_config']=_0xe3970e,this[_0x231004(0x362)]=_0x596093,this[_0x231004(0x29f)]=_0x1a1e17,this[_0x231004(0x526)]=_0x30dc45,this[_0x231004(0x216)]=_0x238d32;const {..._0x6ee722}=this[_0x231004(0x39f)];this['_configService'][_0x231004(0x3bb)](ie,_0x6ee722);}[_0xb7df44(0x259)](){const _0x21001d=_0xb7df44;this[_0x21001d(0x2c8)](),this[_0x21001d(0x197)]();}[_0xb7df44(0x3a0)](){const _0x1a366c=_0xb7df44;_0x5df76b(this[_0x1a366c(0x526)],[[Et]]);}[_0xb7df44(0x31a)](){const _0x36dde2=_0xb7df44;this[_0x36dde2(0x3e8)]();}['_registerDependencies'](){const _0x194695=_0xb7df44;var _0x7b932,_0x11205a,_0x551973,_0x466c38;this[_0x194695(0x526)]['has'](_0x1bdd68)&&this['_logService'][_0x194695(0x1d7)]('[UniverCollaborationClientPlugin]',_0x194695(0x3b5));const _0x511903=[[_0x1bdd68,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x2956b7],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x11205a=(_0x7b932=this[_0x194695(0x39f)])==null?void 0x0:_0x7b932[_0x194695(0x4f8)])!=null?_0x11205a:es}],[_0x54ca2e,{'useClass':ls}],[_0x5b9c66,{'useClass':cs}],[_0x250780,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x551973=this['_config'])!=null&&_0x551973[_0x194695(0x36c)]&&_0x511903[_0x194695(0x1c5)]([yt,{'useClass':so}]),_0x2ed3db(this[_0x194695(0x526)],_0x51ab1e(_0x511903,(_0x466c38=this[_0x194695(0x39f)])==null?void 0x0:_0x466c38[_0x194695(0x227)]));}['_registerRenderDependencies'](){const _0xb11757=_0xb7df44;this[_0xb11757(0x55a)](this[_0xb11757(0x29f)]['registerRenderModule'](_0x5d9c1d[_0xb11757(0x1cf)],[os])),this[_0xb11757(0x55a)](this[_0xb11757(0x29f)][_0xb11757(0x45b)](_0x5d9c1d[_0xb11757(0x37b)],[as]));}[_0xb7df44(0x197)](){const _0x4168e2=_0xb7df44;var _0xa997bf,_0x541633;this[_0x4168e2(0x526)][_0x4168e2(0x339)](_0x429bbf)[_0x4168e2(0x4df)]({'priority':0x14,'interceptor':_0x419a10({'maxParallel':0x6})}),(_0xa997bf=this[_0x4168e2(0x39f)])!=null&&_0xa997bf[_0x4168e2(0x365)]||this['_injector']['get'](q)[_0x4168e2(0x394)](),(_0x541633=this[_0x4168e2(0x39f)])!=null&&_0x541633[_0x4168e2(0x47b)]&&_0x5df76b(this[_0x4168e2(0x526)],[[bt]]),_0x5df76b(this[_0x4168e2(0x526)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,'pluginName',Ec),us=Ic([_0x258de0(_0x4bc6b2,_0x318df7),_t(0x1,_0x23bd67),_t(0x2,_0x2618ce),_t(0x3,_0x380ba9(_0x41c43c)),_t(0x4,_0x25a779)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|
1
|
+
const _0x5b1a3a=_0xa0d1;(function(_0xe3590a,_0x4f4236){const _0x45e148=_0xa0d1,_0x273fbf=_0xe3590a();while(!![]){try{const _0x8cf1c4=parseInt(_0x45e148(0x1a5))/0x1*(parseInt(_0x45e148(0x29b))/0x2)+parseInt(_0x45e148(0x1d0))/0x3+-parseInt(_0x45e148(0x45d))/0x4+-parseInt(_0x45e148(0x309))/0x5+-parseInt(_0x45e148(0x2ce))/0x6+-parseInt(_0x45e148(0x453))/0x7*(parseInt(_0x45e148(0x51a))/0x8)+-parseInt(_0x45e148(0x3d0))/0x9*(-parseInt(_0x45e148(0x228))/0xa);if(_0x8cf1c4===_0x4f4236)break;else _0x273fbf['push'](_0x273fbf['shift']());}catch(_0x4feef8){_0x273fbf['push'](_0x273fbf['shift']());}}}(_0xb447,0xf3ac9));var Ki=Object[_0x5b1a3a(0x3dc)],zi=(_0x46fe78,_0x1e0880,_0x3ab269)=>_0x1e0880 in _0x46fe78?Ki(_0x46fe78,_0x1e0880,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ab269}):_0x46fe78[_0x1e0880]=_0x3ab269,g=(_0x1d845d,_0xd15239,_0x528533)=>zi(_0x1d845d,typeof _0xd15239!=_0x5b1a3a(0x412)?_0xd15239+'':_0xd15239,_0x528533);import{createIdentifier as _0x25a723,Inject as _0x28839c,Disposable as _0x45951d,DisposableCollection as _0x322cfa,toDisposable as _0x529295,IConfigService as _0x5d6cbd,ILogService as _0x418a3e,UserManagerService as _0x74dff6,UniverInstanceType as _0x1bbc53,IUniverInstanceService as _0x578cb,LocaleService as _0x173a06,Optional as _0x3c705a,RxDisposable as _0x203b2a,Injector as _0x1027b3,Tools as _0x9e8b08,ILocalStorageService as _0x31630e,Rectangle as _0x118546,ICommandService as _0x10ec6b,DOC_RANGE_TYPE as _0x59f56c,JSONX as _0x266fd1,CommandType as _0x4aa13b,IPermissionService as _0x2da20a,IUndoRedoService as _0x1ffd7c,sequenceExecute as _0x38e9f3,debounce as _0x5ca691,COLORS as _0xf1f058,ColorKit as _0x6b83db,ThemeService as _0x3c9480,fromEventSubject as _0x1d2736,useDependency as _0x243e1f,connectInjector as _0x30cf07,Workbook as _0x2adeef,isInternalEditorID as _0x1a81fa,LocalUndoRedoService as _0x274670,IContextService as _0x3f60de,DependentOn as _0xc3155c,Plugin as _0xa4cbe6,touchDependencies as _0x40637e,IAuthzIoService as _0x35c722,registerDependencies as _0x2d8432,mergeOverrideWithDependencies as _0x1aae49}from'@univerjs/core';import{Subject as _0x3709f3,merge as _0x28a5b0,takeUntil as _0x3b6332,BehaviorSubject as _0x1ce182,distinctUntilChanged as _0x89f648,fromEvent as _0xcd07a4,ReplaySubject as _0x1dda0f,take as _0x4725fb,map as _0x124199,shareReplay as _0x16cb04,of as _0x323ee7,debounceTime as _0x4983c1,filter as _0x3b94f0,switchMap as _0x3a75f3,combineLatest as _0x20173f,concatMap as _0x77341e,mapTo as _0x6f237d}from'rxjs';import{map as _0xd46654,take as _0x28008e,filter as _0x63bf9c,delay as _0x1b61d4,throttleTime as _0x3bbffb,takeUntil as _0x3c36f4,switchMap as _0x280f00}from'rxjs/operators';import{MessageType as _0x47c858,Tooltip as _0x3dbbdc}from'@univerjs/design';import{IBeforeCloseService as _0x758b44,IMessageService as _0x496a91,INotificationService as _0x46687a,useObservable as _0x22bb33,BuiltInUIPart as _0x5879a4,IUIPartsService as _0x39aaa5}from'@univerjs/ui';import{HTTPService as _0xcd006c,WebSocketService as _0x159ac7,MergeInterceptorFactory as _0x209b54,HTTPRequest as _0x1f6bc0,UniverNetworkPlugin as _0x1a0e26,ThresholdInterceptorFactory as _0x44ad5f}from'@univerjs/network';import{CollaborationEvent as _0x2f5341,parseChangesetToProtocol as _0x467a95,ISnapshotServerService as _0x5c5d27,isTransformMutationFailure as _0x321ec1,isTransformMutationsWithChangesetSuccess as _0x582252,ITransformService as _0xef8dcd,RevisionService as _0x137cc2,mapDocumentTypeToUniverType as _0x50cfb0,isTransformChangesetsSuccess as _0x4d5d49,CompressMutationService as _0x367fa9,parseProtocolChangeset as _0xb8de49,SnapshotService as _0x410fdc,textEncoder as _0xe06896,b64DecodeUnicode as _0x4043bf,isTransformMutationsWithChangesetFailure as _0x514ce0,UniverCollaborationPlugin as _0x2bcdf9}from'@univerjs-pro/collaboration';import{ITelemetryService as _0x34f530}from'@univerjs/telemetry';import{DocIMEInputManagerService as _0x1622d6,DocStateChangeManagerService as _0x55250f,NodePositionConvertToCursor as _0x39e0b4,NodePositionConvertToRectRange as _0x55fd43,TEXT_RANGE_LAYER_INDEX as _0x40d80b,SetDocZoomRatioOperation as _0x235f72}from'@univerjs/docs-ui';import{SheetsSelectionsService as _0x424a0f,SetSelectionsOperation as _0x3b3cfe,InsertSheetMutation as _0x28fda5,EmptyMutation as _0x464c30,WorkbookEditablePermission as _0x192248,RefRangeService as _0x275627,EffectRefRangId as _0x2414f2,handleIRemoveRow as _0xd7d8ab,handleIRemoveCol as _0x2389b8,handleMoveRange as _0x41aa69,handleInsertRow as _0x2cd466,handleInsertRangeMoveRight as _0x299092,handleInsertRangeMoveDown as _0x333208,handleInsertCol as _0x15a177,handleDeleteRangeMoveUp as _0x2658a8,handleDeleteRangeMoveLeft as _0x5da107,runRefRangeMutations as _0x388cb8,SetWorksheetActivateCommand as _0x79ca6c}from'@univerjs/sheets';import{IRenderManagerService as _0x47f498,Shape as _0x1bb0ee,Rect as _0x1d9554,getColor as _0x16898a,RegularPolygon as _0x249e70,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5a5654,Vector2 as _0x432251}from'@univerjs/engine-render';import{DocSelectionManagerService as _0x5b11b1,RichTextEditingMutation as _0x3ba450,SetTextSelectionsOperation as _0x3e4470,DocSkeletonManagerService as _0x4be44e}from'@univerjs/docs';import{ImageSourceType as _0x547351,ImageUploadStatusType as _0x26018c,IImageIoService as _0x56a5b0}from'@univerjs/drawing';import{deserializeRangeWithSheet as _0x42d12b,serializeRangeWithSheet as _0x82dca8}from'@univerjs/engine-formula';import{SheetSkeletonManagerService as _0x58f32f,VIEWPORT_KEY as _0x373d88,getCoordByCell as _0x5003e7,getSheetObject as _0xb86afb,SheetPermissionInitController as _0x3f0d67}from'@univerjs/sheets-ui';import _0x3718ff,{forwardRef as _0x61bf00,useRef as _0x3646dc,createElement as _0xbb55a3,useCallback as _0x5f371c}from'react';import{IRemoteInstanceService as _0x201acf}from'@univerjs/rpc';const rr=_0x5b1a3a(0x398),or=_0x5b1a3a(0x447),ar='SNAPSHOT_URL_KEY',kc=_0x5b1a3a(0x2fb),cr=0x7d0,hr=_0x5b1a3a(0x35a),lr=_0x5b1a3a(0x20b),_r=_0x5b1a3a(0x364),ur=0x7530,bi=_0x5b1a3a(0x250),Ti=0x4e20,dr=0x4e20,fr=_0x5b1a3a(0x274),vr=0x3,mr='LOCAL_CACHE_INTERVAL',pr=0x3e8,gr='COLLAB_SUBMIT_CHANGESET_URL',Sr='/universer-api/comb',Ir=_0x5b1a3a(0x245),Cr=_0x5b1a3a(0x345);var Ri=(_0x2aad5b=>(_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x1fd)]=0x0]=_0x5b1a3a(0x1fd),_0x2aad5b[_0x2aad5b['OK']=0x1]='OK',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x513)]=0x2]='INTERNAL_ERROR',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x500)]=0x3]=_0x5b1a3a(0x500),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x525)]=0x4]=_0x5b1a3a(0x525),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2e2)]=0x5]=_0x5b1a3a(0x2e2),_0x2aad5b[_0x2aad5b['ALREADY_EXISTS']=0x6]=_0x5b1a3a(0x238),_0x2aad5b[_0x2aad5b['INVALID_ARGUMENT']=0x7]=_0x5b1a3a(0x2f7),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x417)]=0x8]='TOO_MANY_REQUESTS',_0x2aad5b[_0x2aad5b['COMPLETION_FINISHED']=0x9]=_0x5b1a3a(0x544),_0x2aad5b[_0x2aad5b['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5b1a3a(0x1a2),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x20f)]=0x1771]=_0x5b1a3a(0x20f),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x546)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x4e9)]=0x1773]=_0x5b1a3a(0x4e9),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x552)]=0x1b59]='APPLY_REJECT',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x40f)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2d9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x359)]=0x1b5c]=_0x5b1a3a(0x359),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x22b)]=0x1b5d]='APPLY_DUPLICATED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x57a)]=0x1f41]=_0x5b1a3a(0x57a),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x463)]=0x2329]=_0x5b1a3a(0x463),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x33c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x4a3)]=0x232b]=_0x5b1a3a(0x4a3),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x42b)]=0x232c]=_0x5b1a3a(0x42b),_0x2aad5b[_0x2aad5b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5b1a3a(0x3dd),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x217)]=0x2711]=_0x5b1a3a(0x217),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x36e)]=0x2712]=_0x5b1a3a(0x36e),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x51c)]=0x2713]=_0x5b1a3a(0x51c),_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x485)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2aad5b[_0x2aad5b[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x2aad5b))(Ri||{}),ce=(_0x158317=>(_0x158317[_0x158317[_0x5b1a3a(0x267)]=0x0]='UNIVER_UNKNOWN',_0x158317[_0x158317[_0x5b1a3a(0x1f2)]=0x1]=_0x5b1a3a(0x1f2),_0x158317[_0x158317[_0x5b1a3a(0x24e)]=0x2]='UNIVER_SHEET',_0x158317[_0x158317[_0x5b1a3a(0x226)]=0x3]=_0x5b1a3a(0x226),_0x158317[_0x158317[_0x5b1a3a(0x489)]=0x4]=_0x5b1a3a(0x489),_0x158317[_0x158317[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x158317))(ce||{}),W=(_0x3dd716=>(_0x3dd716[_0x3dd716[_0x5b1a3a(0x295)]=0x0]=_0x5b1a3a(0x295),_0x3dd716[_0x3dd716[_0x5b1a3a(0x355)]=0x1]=_0x5b1a3a(0x355),_0x3dd716[_0x3dd716[_0x5b1a3a(0x4da)]=0x2]=_0x5b1a3a(0x4da),_0x3dd716[_0x3dd716[_0x5b1a3a(0x49d)]=0x3]=_0x5b1a3a(0x49d),_0x3dd716[_0x3dd716[_0x5b1a3a(0x19f)]=0x4]=_0x5b1a3a(0x19f),_0x3dd716[_0x3dd716['HEARTBEAT']=0x5]='HEARTBEAT',_0x3dd716[_0x3dd716[_0x5b1a3a(0x3a8)]=0x6]=_0x5b1a3a(0x3a8),_0x3dd716[_0x3dd716[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0x3dd716))(W||{}),Is=(_0xdd1bff=>(_0xdd1bff[_0xdd1bff[_0x5b1a3a(0x195)]=0x0]=_0x5b1a3a(0x195),_0xdd1bff[_0xdd1bff['OK']=0x1]='OK',_0xdd1bff[_0xdd1bff['FAIL']=0x2]=_0x5b1a3a(0x4e2),_0xdd1bff[_0xdd1bff[_0x5b1a3a(0x2bc)]=-0x1]=_0x5b1a3a(0x2bc),_0xdd1bff))(Is||{}),yi=(_0x28ddcc=>(_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x548)]=0x0]=_0x5b1a3a(0x548),_0x28ddcc[_0x28ddcc['HttpImport']=0x1]='HttpImport',_0x28ddcc[_0x28ddcc['HttpExport']=0x2]=_0x5b1a3a(0x46c),_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x247)]=0x3]=_0x5b1a3a(0x247),_0x28ddcc[_0x28ddcc[_0x5b1a3a(0x243)]=0x4]=_0x5b1a3a(0x243),_0x28ddcc[_0x28ddcc['UNRECOGNIZED']=-0x1]=_0x5b1a3a(0x2bc),_0x28ddcc))(yi||{});const ie=_0x5b1a3a(0x374),Er={};function br(_0x3d1e45){const _0x34b349=_0x5b1a3a;var _0x18e60b,_0x227888,_0x142fc2,_0x252cfa,_0x2512f2;const _0x3fdeae=_0x3d1e45[_0x34b349(0x529)],_0x4300ba=JSON[_0x34b349(0x2e1)](_0x3fdeae);switch(_0x4300ba[_0x34b349(0x205)]){case W['HEARTBEAT']:case W[_0x34b349(0x355)]:{const _0x4fde85=_0x4300ba['infoRsp'];return{..._0x4300ba,'data':_0x4fde85,'cmd':_0x4300ba['cmd']};}case W[_0x34b349(0x4da)]:{const _0x1fca69=_0x4300ba[_0x34b349(0x55a)];return{..._0x4300ba,'data':_0x1fca69,'cmd':_0x4300ba['cmd']};}case W[_0x34b349(0x3a8)]:{const _0xc1ad4a=_0x4300ba[_0x34b349(0x45e)];switch(_0xc1ad4a[_0x34b349(0x3b5)]){case _0x2f5341['PERMISSION_REJ']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x18e60b=_0xc1ad4a['permissionRejEvent'])==null?void 0x0:_0x18e60b['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['CHANGESET_ACK']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x227888=_0xc1ad4a[_0x34b349(0x3cb)])==null?void 0x0:_0x227888['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['NEW_CHANGESETS']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x142fc2=_0xc1ad4a['newCsEvent'])==null?void 0x0:_0x142fc2['cs']},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x281)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x252cfa=_0xc1ad4a[_0x34b349(0x530)])==null?void 0x0:_0x252cfa['cs']},'cmd':_0x4300ba['cmd']};case _0x2f5341['CHANGESET_SHOULD_RETRY']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':(_0x2512f2=_0xc1ad4a[_0x34b349(0x363)])==null?void 0x0:_0x2512f2['cs']},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x4ec)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a['updateCursorEvent']},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x2e7)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x56c)]},'cmd':_0x4300ba['cmd']};case _0x2f5341['USERS_LEAVE']:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x4dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x2fe)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x1dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x2a8)]:case _0x2f5341[_0x34b349(0x4a0)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x23e)]},'cmd':_0x4300ba['cmd']};case _0x2f5341[_0x34b349(0x583)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x1dc)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341['MSG_FOR_ERROR']:return{..._0x4300ba,'data':_0xc1ad4a,'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x252)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x3b1)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x527)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x571)]},'cmd':_0x4300ba[_0x34b349(0x205)]};case _0x2f5341[_0x34b349(0x477)]:return{..._0x4300ba,'data':{..._0xc1ad4a,'data':_0xc1ad4a[_0x34b349(0x30a)]},'cmd':_0x4300ba[_0x34b349(0x205)]};default:return _0x4300ba;}}default:return _0x4300ba;}}function Tr(_0x30ccf5){const _0x496885=_0x5b1a3a;switch(_0x30ccf5['cmd']){case W[_0x496885(0x23b)]:case W[_0x496885(0x355)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)]});case W[_0x496885(0x19f)]:{let _0x40896b;switch(_0x30ccf5[_0x496885(0x529)][_0x496885(0x3b5)]){case _0x2f5341[_0x496885(0x4ec)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x4ec)],'updateCursorEvent':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2e0)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2e0)],'leaveEvent':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2e7)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2e7)],'joinEvent':_0x30ccf5[_0x496885(0x529)]['data']};break;}case _0x2f5341[_0x496885(0x2fe)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2fe)],'liveShareNewHost':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341['LIVESHARE_OPERATION']:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x4a0)],'liveShareOperation':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x583)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x583)],'liveShareTerminate':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x53d)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x53d)],'liveShareRequestHost':_0x30ccf5[_0x496885(0x529)][_0x496885(0x529)]};break;}case _0x2f5341[_0x496885(0x2a8)]:{_0x40896b={'eventID':_0x2f5341[_0x496885(0x2a8)]};break;}default:_0x40896b={'eventID':_0x30ccf5[_0x496885(0x529)][_0x496885(0x3b5)]};}return JSON['stringify']({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'collaMsg':_0x40896b});}case W[_0x496885(0x4da)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'joinReq':_0x30ccf5['data']});case W[_0x496885(0x49d)]:return JSON[_0x496885(0x3d4)]({'cmd':_0x30ccf5[_0x496885(0x205)],'routeKey':_0x30ccf5[_0x496885(0x51b)],'leaveReq':_0x30ccf5['data']});default:throw new Error(_0x496885(0x1ac));}}var Rr=Object['defineProperty'],yr=Object[_0x5b1a3a(0x42f)],Or=(_0x1345c0,_0x2111c,_0x58f6f3,_0x532652)=>{const _0x3ed2f4=_0x5b1a3a;for(var _0x291058=_0x532652>0x1?void 0x0:_0x532652?yr(_0x2111c,_0x58f6f3):_0x2111c,_0x579732=_0x1345c0[_0x3ed2f4(0x29a)]-0x1,_0x54b351;_0x579732>=0x0;_0x579732--)(_0x54b351=_0x1345c0[_0x579732])&&(_0x291058=(_0x532652?_0x54b351(_0x2111c,_0x58f6f3,_0x291058):_0x54b351(_0x291058))||_0x291058);return _0x532652&&_0x291058&&Rr(_0x2111c,_0x58f6f3,_0x291058),_0x291058;},qe=(_0x593698,_0x80cbb5)=>(_0x2a6776,_0x40bf23)=>_0x80cbb5(_0x2a6776,_0x40bf23,_0x593698);const Oi=_0x25a723(_0x5b1a3a(0x46a));function wr(_0x1a5178,_0x20d2ba,_0x526b58){const _0x332bc3=_0x5b1a3a;return _0x1a5178+'/'+_0x20d2ba+_0x332bc3(0x1f3)+_0x526b58+'/new_changes';}let es=class extends _0x45951d{constructor(_0x4ee14f,_0x360983,_0x496acc,_0x429e4d,_0x1e999a){const _0x47c832=_0x5b1a3a;super(),this[_0x47c832(0x332)]=_0x4ee14f,this[_0x47c832(0x54b)]=_0x360983,this[_0x47c832(0x4c4)]=_0x496acc,this['_logService']=_0x429e4d,this['_snapshotServerService']=_0x1e999a;}[_0x5b1a3a(0x256)](_0x55da76){const _0x25811f=_0x5b1a3a,_0x69abb9=this[_0x25811f(0x54b)]['createSocket'](_0x55da76);if(!_0x69abb9)throw new Error('[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!');const _0x471104=new _0x322cfa(),_0x2d24d2=new _0x3709f3();_0x471104[_0x25811f(0x49f)](_0x69abb9[_0x25811f(0x3a5)][_0x25811f(0x570)](_0x30fc7a=>_0x2d24d2[_0x25811f(0x424)](_0x30fc7a))),_0x471104['add'](_0x529295(()=>_0x2d24d2[_0x25811f(0x496)]()));const _0xf08bf8=new _0x3709f3();_0x471104['add'](_0x69abb9[_0x25811f(0x4d5)][_0x25811f(0x570)](_0x34355a=>_0xf08bf8[_0x25811f(0x424)](_0x34355a))),_0x471104['add'](_0x529295(()=>_0xf08bf8[_0x25811f(0x496)]()));const _0x1107a5=new _0x3709f3();_0x471104[_0x25811f(0x49f)](_0x69abb9[_0x25811f(0x2c8)][_0x25811f(0x570)](_0x55b7c2=>{const _0x3c0707=br(_0x55b7c2);_0x1107a5['next'](_0x3c0707);})),_0x471104[_0x25811f(0x49f)](_0x529295(()=>_0x1107a5[_0x25811f(0x496)]()));let _0x56e55d;const _0x50992c=()=>{const _0x2f6006=_0x25811f;_0xf08bf8[_0x2f6006(0x424)](new Event('connection\x20error')),_0x2d24d2['next'](new CloseEvent(_0x2f6006(0x1e8))),_0x56e55d['close']();};return _0x56e55d={'memberID':'','close$':_0x2d24d2[_0x25811f(0x319)](),'error$':_0xf08bf8[_0x25811f(0x319)](),'open$':_0x69abb9[_0x25811f(0x239)],'message$':_0x1107a5[_0x25811f(0x319)](),'send':_0x20ce2d=>{const _0x54f4ee=_0x25811f;if(_0x20ce2d[_0x54f4ee(0x205)]===W[_0x54f4ee(0x19f)]){if(_0x20ce2d[_0x54f4ee(0x529)][_0x54f4ee(0x3b5)]===_0x2f5341[_0x54f4ee(0x1bd)]){this[_0x54f4ee(0x1ab)](_0x56e55d,_0x20ce2d[_0x54f4ee(0x529)])[_0x54f4ee(0x443)](_0x658e19=>{const _0x46c2c7=_0x54f4ee;this[_0x46c2c7(0x2b5)]['error'](_0x658e19),_0x50992c();});return;}if(_0x20ce2d['data'][_0x54f4ee(0x3b5)]===_0x2f5341[_0x54f4ee(0x2a9)]){const _0x108f2e=_0x20ce2d['data'];this[_0x54f4ee(0x3e9)](_0x108f2e)[_0x54f4ee(0x381)](_0x2df767=>{const _0x135fff=_0x54f4ee;_0x1107a5[_0x135fff(0x424)]({'cmd':W[_0x135fff(0x3a8)],'code':Is['OK'],'routeKey':_0x108f2e[_0x135fff(0x529)][_0x135fff(0x41c)],'routeType':'','data':{'eventID':_0x2f5341[_0x135fff(0x1a0)],'data':{'changesets':_0x2df767}}});})['catch'](_0x19c0c8=>{const _0x1ffec3=_0x54f4ee;this[_0x1ffec3(0x2b5)][_0x1ffec3(0x237)](_0x19c0c8),_0x50992c();});return;}}_0x69abb9['send'](Tr(_0x20ce2d));},'close':()=>{const _0x4edf50=_0x25811f;_0x69abb9['close'](),_0x471104[_0x4edf50(0x257)]();}},_0x56e55d;}async[_0x5b1a3a(0x1ab)](_0x5c22ef,_0x26e6e7){const _0xac1f82=_0x5b1a3a;var _0xe4c421,_0x443a14;const {unitType:_0x5ec151,unitID:_0x831f11,changeset:_0x39ca7c}=_0x26e6e7[_0xac1f82(0x529)],_0x69d7e8={'unitID':_0x831f11,'memberID':_0x5c22ef[_0xac1f82(0x4e6)],'type':_0x5ec151,'changeset':_0x467a95(_0x39ca7c)},_0x47487b=this[_0xac1f82(0x4c4)][_0xac1f82(0x451)](gr),_0x5ea07c=this[_0xac1f82(0x4c4)][_0xac1f82(0x451)](ie),_0x1ab9c3=wr((_0x443a14=(_0xe4c421=_0x5ea07c==null?void 0x0:_0x5ea07c[_0xac1f82(0x268)])!=null?_0xe4c421:_0x47487b)!=null?_0x443a14:Sr,_0x5ec151,_0x831f11);try{await this['_http'][_0xac1f82(0x493)](_0x1ab9c3,{'body':_0x69d7e8});}catch(_0x2bf577){throw this[_0xac1f82(0x2b5)][_0xac1f82(0x237)]('[CollaborationSession]',_0xac1f82(0x25a)),_0x2bf577;}}async[_0x5b1a3a(0x3e9)](_0x5b02e3){const _0x2c3f53=_0x5b1a3a,{unitID:_0x20f1e4,from:_0x62775c,to:_0x7bff4f,unitType:_0x561391}=_0x5b02e3[_0x2c3f53(0x529)];return(await this[_0x2c3f53(0x2f5)][_0x2c3f53(0x578)]({'metadata':void 0x0},{'unitID':_0x20f1e4,'type':_0x561391,'from':_0x62775c,'to':_0x7bff4f}))[_0x2c3f53(0x4c6)];}};es=Or([qe(0x0,_0x28839c(_0xcd006c)),qe(0x1,_0x28839c(_0x159ac7)),qe(0x2,_0x5d6cbd),qe(0x3,_0x418a3e),qe(0x4,_0x5c5d27)],es);const Dr=_0x5b1a3a(0x2f3);function Pr(_0x59c7b5){return JSON['stringify'](_0x59c7b5)['length'];}class wi{constructor(){const _0x46cea0=_0x5b1a3a;g(this,_0x46cea0(0x2d2),new _0x3709f3()),g(this,_0x46cea0(0x484),this[_0x46cea0(0x2d2)][_0x46cea0(0x319)]());}[_0x5b1a3a(0x3ea)](_0x5658ad){const _0x4d68bf=_0x5b1a3a;this[_0x4d68bf(0x2d2)][_0x4d68bf(0x424)](_0x5658ad);}}var Ur=Object[_0x5b1a3a(0x3dc)],Nr=Object[_0x5b1a3a(0x42f)],Ar=(_0x19f406,_0x16efcc,_0x11486d,_0x19346a)=>{for(var _0x5c9b3c=_0x19346a>0x1?void 0x0:_0x19346a?Nr(_0x16efcc,_0x11486d):_0x16efcc,_0x3c5172=_0x19f406['length']-0x1,_0x540610;_0x3c5172>=0x0;_0x3c5172--)(_0x540610=_0x19f406[_0x3c5172])&&(_0x5c9b3c=(_0x19346a?_0x540610(_0x16efcc,_0x11486d,_0x5c9b3c):_0x540610(_0x5c9b3c))||_0x5c9b3c);return _0x19346a&&_0x5c9b3c&&Ur(_0x16efcc,_0x11486d,_0x5c9b3c),_0x5c9b3c;},Hs=(_0x419a6c,_0x896b2a)=>(_0x3f55fd,_0x430251)=>_0x896b2a(_0x3f55fd,_0x430251,_0x419a6c);let Ne=class extends _0x45951d{constructor(_0x7a5bf6,_0x26f8a7){const _0x41adb0=_0x5b1a3a;super(),g(this,_0x41adb0(0x38f),new Map()),(this[_0x41adb0(0x212)]=_0x7a5bf6,this[_0x41adb0(0x2f1)]=_0x26f8a7,this[_0x41adb0(0x4b9)](_0x529295(_0x28a5b0(this['_univerInstanceService'][_0x41adb0(0x40b)](_0x1bbc53[_0x41adb0(0x24e)])['pipe'](_0xd46654(_0x2625e2=>_0x2625e2[_0x41adb0(0x510)]())),this['_univerInstanceService'][_0x41adb0(0x40b)](_0x1bbc53['UNIVER_DOC'])[_0x41adb0(0x1ff)](_0xd46654(_0x37bcf8=>_0x37bcf8[_0x41adb0(0x510)]())),this[_0x41adb0(0x212)][_0x41adb0(0x40b)](_0x1bbc53['UNIVER_SLIDE'])['pipe'](_0xd46654(_0x34265d=>_0x34265d['getUnitId']())))[_0x41adb0(0x570)](_0x3664a1=>this[_0x41adb0(0x311)](_0x3664a1)))));}[_0x5b1a3a(0x289)](_0x2f2aee){const _0x43b143=_0x5b1a3a;this[_0x43b143(0x2f1)]['setCurrentUser'](_0x2f2aee);}[_0x5b1a3a(0x242)](){const _0x4b1a1f=_0x5b1a3a;return this[_0x4b1a1f(0x2f1)][_0x4b1a1f(0x242)]();}['updateMember'](_0x1822aa,_0x3951bd){const _0x1ada5c=_0x5b1a3a;let _0x3f54ff=this[_0x1ada5c(0x38f)][_0x1ada5c(0x50f)](_0x1822aa);_0x3f54ff||(_0x3f54ff=new Mr(),this[_0x1ada5c(0x38f)][_0x1ada5c(0x18b)](_0x1822aa,_0x3f54ff)),_0x3f54ff[_0x1ada5c(0x2dd)](_0x3951bd);}[_0x5b1a3a(0x46e)](_0x2b3d73,_0x538325){const _0x32fd83=_0x5b1a3a,_0x848fe2=this[_0x32fd83(0x38f)][_0x32fd83(0x50f)](_0x2b3d73);_0x848fe2&&_0x848fe2[_0x32fd83(0x46e)](_0x538325);}[_0x5b1a3a(0x354)](_0x1dfe37){const _0x3eaafb=_0x5b1a3a;return this[_0x3eaafb(0x38f)][_0x3eaafb(0x50f)](_0x1dfe37);}[_0x5b1a3a(0x1d9)](_0x113bee,_0x4841de){const _0x2f51ba=_0x5b1a3a,_0x5cdc1a=this['_roomMembers'][_0x2f51ba(0x50f)](_0x113bee);if(_0x5cdc1a)return _0x5cdc1a[_0x2f51ba(0x1d9)](_0x4841de);}[_0x5b1a3a(0x311)](_0x2dc36d){const _0x3bc708=_0x5b1a3a,_0x3aab9e=this[_0x3bc708(0x38f)][_0x3bc708(0x50f)](_0x2dc36d);_0x3aab9e&&(_0x3aab9e['dispose'](),this[_0x3bc708(0x38f)][_0x3bc708(0x3a1)](_0x2dc36d));}[_0x5b1a3a(0x257)](){const _0x32cfe6=_0x5b1a3a;this[_0x32cfe6(0x38f)]['forEach'](_0x571496=>_0x571496[_0x32cfe6(0x257)]()),this[_0x32cfe6(0x38f)][_0x32cfe6(0x4d4)]();}};Ne=Ar([Hs(0x0,_0x578cb),Hs(0x1,_0x28839c(_0x74dff6))],Ne);class Mr extends _0x45951d{constructor(){super(...arguments),g(this,'_members',new Map());}['dispose'](){const _0x3dff8d=_0x5b1a3a;this[_0x3dff8d(0x2f6)][_0x3dff8d(0x4d4)]();}['updateMember'](_0x38b30c){const _0xfa306d=_0x5b1a3a;this[_0xfa306d(0x2f6)][_0xfa306d(0x18b)](_0x38b30c[_0xfa306d(0x4e6)],_0x38b30c);}[_0x5b1a3a(0x46e)](_0x112c4c){const _0x1e04b0=_0x5b1a3a;this[_0x1e04b0(0x2f6)][_0x1e04b0(0x3a1)](_0x112c4c);}[_0x5b1a3a(0x1d9)](_0x56d388){const _0x1012ee=_0x5b1a3a;return this[_0x1012ee(0x2f6)]['get'](_0x56d388);}['getAllMembers'](){const _0xb4f52d=_0x5b1a3a;return Array[_0xb4f52d(0x337)](this[_0xb4f52d(0x2f6)][_0xb4f52d(0x327)]());}}var xr=Object[_0x5b1a3a(0x3dc)],Lr=Object[_0x5b1a3a(0x42f)],$r=(_0xb3fde1,_0x283b20,_0x2db6db,_0x320d27)=>{const _0x53a643=_0x5b1a3a;for(var _0x14f9cb=_0x320d27>0x1?void 0x0:_0x320d27?Lr(_0x283b20,_0x2db6db):_0x283b20,_0x3103e7=_0xb3fde1[_0x53a643(0x29a)]-0x1,_0x3083ae;_0x3103e7>=0x0;_0x3103e7--)(_0x3083ae=_0xb3fde1[_0x3103e7])&&(_0x14f9cb=(_0x320d27?_0x3083ae(_0x283b20,_0x2db6db,_0x14f9cb):_0x3083ae(_0x14f9cb))||_0x14f9cb);return _0x320d27&&_0x14f9cb&&xr(_0x283b20,_0x2db6db,_0x14f9cb),_0x14f9cb;},Ee=(_0x2c1aa5,_0x3a53b1)=>(_0x4fa4a2,_0x5f5d3d)=>_0x3a53b1(_0x4fa4a2,_0x5f5d3d,_0x2c1aa5),ve=(_0x1b7a59=>(_0x1b7a59[_0x1b7a59['IDLE']=0x0]='IDLE',_0x1b7a59[_0x1b7a59[_0x5b1a3a(0x383)]=0x1]='JOINING',_0x1b7a59[_0x1b7a59[_0x5b1a3a(0x405)]=0x2]=_0x5b1a3a(0x405),_0x1b7a59[_0x1b7a59['ONLINE']=0x3]='ONLINE',_0x1b7a59))(ve||{});let ts=class extends _0x203b2a{constructor(_0x52929d,_0x59204d,_0xf21448,_0x434605,_0x3d4a52,_0x25f6b6,_0x253a54,_0x1a1971,_0x1aa5de,_0x2bde93){const _0x3ccc0=_0x5b1a3a;super(),g(this,_0x3ccc0(0x52c),new _0x1ce182(0x0)),g(this,_0x3ccc0(0x494),this['_sessionStatus$']['asObservable']()),g(this,_0x3ccc0(0x22d),new _0x3709f3()),g(this,'event$',this['_event$'][_0x3ccc0(0x319)]()),g(this,_0x3ccc0(0x4f1)),g(this,'_socketMessageSubscription'),g(this,_0x3ccc0(0x1e2)),g(this,_0x3ccc0(0x1dd),!0x1),g(this,_0x3ccc0(0x1e5),null),(this[_0x3ccc0(0x538)]=_0x52929d,this[_0x3ccc0(0x2b5)]=_0xf21448,this['_beforeCloseService']=_0x434605,this[_0x3ccc0(0x402)]=_0x3d4a52,this[_0x3ccc0(0x4c4)]=_0x25f6b6,this['_localeService']=_0x253a54,this[_0x3ccc0(0x579)]=_0x1a1971,this['_commentService']=_0x1aa5de,this['_telemetryService']=_0x2bde93,this['_shouldReportTelemetry']=!!this['_telemetryService'],_0x59204d[_0x3ccc0(0x1ff)](_0x3b6332(this[_0x3ccc0(0x431)]))[_0x3ccc0(0x570)](_0x40cd84=>{const _0x57e94a=_0x3ccc0;var _0x59ca38;typeof _0x40cd84>'u'||(this[_0x57e94a(0x4f1)]=_0x40cd84,_0x40cd84?(this[_0x57e94a(0x3b0)](_0x40cd84),this[_0x57e94a(0x1ce)]=_0x40cd84[_0x57e94a(0x2c8)][_0x57e94a(0x570)](_0x424885=>{const _0x208772=_0x57e94a;_0x424885[_0x208772(0x51b)]===this[_0x208772(0x538)]&&this[_0x208772(0x3a3)](_0x424885);})):(this['_throwTelemetryCollaborationNewChangeset'](),this[_0x57e94a(0x52c)][_0x57e94a(0x424)](0x2),(_0x59ca38=this[_0x57e94a(0x1ce)])==null||_0x59ca38[_0x57e94a(0x403)](),this['_socketMessageSubscription']=null));}),this[_0x3ccc0(0x4b9)](this[_0x3ccc0(0x37a)][_0x3ccc0(0x31d)](()=>{const _0x403ec3=_0x3ccc0;var _0x4991b2;(_0x4991b2=this[_0x403ec3(0x4f1)])==null||_0x4991b2[_0x403ec3(0x4a1)]({'cmd':W['LEAVE'],'data':{'roomID':this[_0x403ec3(0x538)]}});})));}get[_0x5b1a3a(0x4b4)](){const _0x107d9d=_0x5b1a3a;return this['_sessionStatus$'][_0x107d9d(0x45b)]();}['getMemberID'](){const _0x1b7897=_0x5b1a3a;var _0xf0d8c9,_0x311c25;return(_0x311c25=(_0xf0d8c9=this['_socket'])==null?void 0x0:_0xf0d8c9[_0x1b7897(0x4e6)])!=null?_0x311c25:null;}[_0x5b1a3a(0x257)](){const _0x5c8a93=_0x5b1a3a;super[_0x5c8a93(0x257)](),this[_0x5c8a93(0x431)]['next'](),this[_0x5c8a93(0x431)][_0x5c8a93(0x496)]();}[_0x5b1a3a(0x3c4)](){const _0x751cb=_0x5b1a3a;var _0x347905,_0x52d0db;this['_throwTelemetryCollaborationNewChangeset'](),(_0x347905=this[_0x751cb(0x4f1)])==null||_0x347905['send']({'cmd':W[_0x751cb(0x49d)],'data':{'roomID':this['_unitID']}}),(_0x52d0db=this[_0x751cb(0x4f1)])==null||_0x52d0db['close'](),this['_event$'][_0x751cb(0x496)](),this[_0x751cb(0x52c)]['complete'](),this[_0x751cb(0x257)]();}['_onCombEvent'](_0xe4cb17){const _0x26942f=_0x5b1a3a;_0xe4cb17[_0x26942f(0x205)]===W[_0x26942f(0x4da)]?this[_0x26942f(0x27c)](_0xe4cb17):_0xe4cb17[_0x26942f(0x205)]===W[_0x26942f(0x3a8)]&&this[_0x26942f(0x26a)](_0xe4cb17);}[_0x5b1a3a(0x3b0)](_0x3824d7){const _0x108655=_0x5b1a3a;this[_0x108655(0x52c)]['next'](0x1),_0x3824d7[_0x108655(0x4a1)]({'cmd':W['JOIN'],'routeKey':this[_0x108655(0x538)],'routeType':'','data':{'rooms':[{'roomID':this['_unitID']}]}});}[_0x5b1a3a(0x27c)](_0x48b60f){const _0xfed7b0=_0x5b1a3a;var _0x179942;if(_0x48b60f[_0xfed7b0(0x2dc)]===Is[_0xfed7b0(0x4e2)]){this[_0xfed7b0(0x402)][_0xfed7b0(0x3c1)]({'type':_0x47c858[_0xfed7b0(0x3f4)],'content':this[_0xfed7b0(0x273)]['t'](_0xfed7b0(0x40d))}),this[_0xfed7b0(0x52c)][_0xfed7b0(0x424)](0x2);return;}this[_0xfed7b0(0x52c)][_0xfed7b0(0x424)](0x3);const _0xf0e978=(_0x179942=_0x48b60f['data'][_0xfed7b0(0x439)][this['_unitID']])==null?void 0x0:_0x179942[_0xfed7b0(0x483)];_0xf0e978&&_0xf0e978[_0xfed7b0(0x2a1)](_0x3a2c3b=>this[_0xfed7b0(0x579)][_0xfed7b0(0x2dd)](this[_0xfed7b0(0x538)],_0x3a2c3b));}[_0x5b1a3a(0x26a)](_0x3cedeb){const _0x7e6b1b=_0x5b1a3a;try{const _0x3472c8=_0x3cedeb[_0x7e6b1b(0x529)];switch(_0x3472c8[_0x7e6b1b(0x3b5)]){case _0x2f5341['USERS_ENTER']:this[_0x7e6b1b(0x531)](_0x3472c8),this['_event$']['next'](_0x3472c8);break;case _0x2f5341['USERS_LEAVE']:this[_0x7e6b1b(0x56d)](_0x3472c8),this[_0x7e6b1b(0x22d)]['next'](_0x3472c8);break;case _0x2f5341['CHANGESET_ACK']:case _0x2f5341['CHANGESET_SHOULD_RETRY']:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x7e6b1b(0x4d2)](),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;case _0x2f5341[_0x7e6b1b(0x1f8)]:this[_0x7e6b1b(0x2b5)]['error'](_0x7e6b1b(0x285)+JSON['stringify'](_0x3472c8)),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;case _0x2f5341[_0x7e6b1b(0x252)]:this[_0x7e6b1b(0x519)][_0x7e6b1b(0x3ea)](_0x3472c8[_0x7e6b1b(0x529)]),this[_0x7e6b1b(0x22d)][_0x7e6b1b(0x424)](_0x3472c8);break;default:this[_0x7e6b1b(0x22d)]['next'](_0x3472c8);}}catch(_0x12d595){this[_0x7e6b1b(0x2b5)]['error'](_0x12d595,_0x3cedeb);}}[_0x5b1a3a(0x531)](_0x10709a){const _0x3e596c=_0x5b1a3a;this['_memberService'][_0x3e596c(0x2dd)](this[_0x3e596c(0x538)],_0x10709a[_0x3e596c(0x529)]);}['_onUserLeave'](_0x389e23){const _0x4150b6=_0x5b1a3a;this[_0x4150b6(0x579)][_0x4150b6(0x46e)](this[_0x4150b6(0x538)],_0x389e23['data']['memberID']);}async['send'](_0x2afed0,_0x3ad7cc){const _0x22a843=_0x5b1a3a;if(this['sessionStatus']!==0x3||!this[_0x22a843(0x4f1)])throw new Error(_0x22a843(0x517));try{_0x2afed0[_0x22a843(0x3b5)]===_0x2f5341[_0x22a843(0x1bd)]&&(this[_0x22a843(0x542)](),this['_startTelemetryCollaborationNewChangeset'](_0x2afed0)),this['_socket'][_0x22a843(0x4a1)]({'cmd':W['INGEST'],'routeKey':_0x3ad7cc,'routeType':'','data':_0x2afed0});}catch(_0x3984df){this[_0x22a843(0x2b5)][_0x22a843(0x237)](_0x3984df);}}[_0x5b1a3a(0x542)](){const _0x3c449a=_0x5b1a3a;var _0x477bb9;this[_0x3c449a(0x1e2)]=window[_0x3c449a(0x180)](()=>{const _0x1468f9=_0x3c449a;this[_0x1468f9(0x1e2)]=null,this[_0x1468f9(0x402)]['show']({'type':_0x47c858['Error'],'content':this[_0x1468f9(0x273)]['t']('session.collaboration-timeout')});},(_0x477bb9=this[_0x3c449a(0x4c4)][_0x3c449a(0x451)](bi))!=null?_0x477bb9:Ti);}[_0x5b1a3a(0x4d2)](){const _0x193b3e=_0x5b1a3a;this[_0x193b3e(0x1e2)]&&(clearTimeout(this[_0x193b3e(0x1e2)]),this[_0x193b3e(0x1e2)]=null);}[_0x5b1a3a(0x1c5)](_0x26d9d7){const _0x173be6=_0x5b1a3a;if(!this['_shouldReportTelemetry'])return;const {data:_0x50fcc5}=_0x26d9d7,{unitID:_0x1f538b,changeset:_0x740f85}=_0x50fcc5,{mutations:_0x218472,type:_0x28d824}=_0x740f85;this[_0x173be6(0x1e5)]={'unitId':_0x1f538b,'type':_0x28d824,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Pr(_0x218472)};}[_0x5b1a3a(0x258)](){const _0x511ae4=_0x5b1a3a;if(this[_0x511ae4(0x1dd)]){if(!this[_0x511ae4(0x1e5)]){this[_0x511ae4(0x2b5)][_0x511ae4(0x237)](_0x511ae4(0x4ff),_0x511ae4(0x21c));return;}this['_telemetryInfo'][_0x511ae4(0x569)]=performance['now'](),this[_0x511ae4(0x1e5)]['duration']=this[_0x511ae4(0x1e5)][_0x511ae4(0x569)]-this['_telemetryInfo']['startTime'],this[_0x511ae4(0x4d9)][_0x511ae4(0x549)](Dr,this[_0x511ae4(0x1e5)]),this['_telemetryInfo']=null;}}[_0x5b1a3a(0x2f4)](){this['_telemetryInfo']=null;}};function _0xa0d1(_0x2c25de,_0x1aaa75){const _0xb44798=_0xb447();return _0xa0d1=function(_0xa0d1df,_0x1b1438){_0xa0d1df=_0xa0d1df-0x17c;let _0x376920=_0xb44798[_0xa0d1df];return _0x376920;},_0xa0d1(_0x2c25de,_0x1aaa75);}ts=$r([Ee(0x2,_0x418a3e),Ee(0x3,_0x758b44),Ee(0x4,_0x496a91),Ee(0x5,_0x5d6cbd),Ee(0x6,_0x28839c(_0x173a06)),Ee(0x7,_0x28839c(Ne)),Ee(0x8,_0x28839c(wi)),Ee(0x9,_0x3c705a(_0x34f530))],ts);var Hr=Object[_0x5b1a3a(0x3dc)],jr=Object[_0x5b1a3a(0x42f)],Br=(_0x23ae47,_0x1305cf,_0x430be9,_0x3c4b4f)=>{for(var _0x40e298=_0x3c4b4f>0x1?void 0x0:_0x3c4b4f?jr(_0x1305cf,_0x430be9):_0x1305cf,_0xf18431=_0x23ae47['length']-0x1,_0x2f4298;_0xf18431>=0x0;_0xf18431--)(_0x2f4298=_0x23ae47[_0xf18431])&&(_0x40e298=(_0x3c4b4f?_0x2f4298(_0x1305cf,_0x430be9,_0x40e298):_0x2f4298(_0x40e298))||_0x40e298);return _0x3c4b4f&&_0x40e298&&Hr(_0x1305cf,_0x430be9,_0x40e298),_0x40e298;},je=(_0x2d0bfe,_0xf84269)=>(_0x73bed,_0x26fe1b)=>_0xf84269(_0x73bed,_0x26fe1b,_0x2d0bfe);let Ae=class extends _0x45951d{constructor(_0x5efeb1,_0x1340b4,_0x21275f,_0x4fd476,_0x4dabbe,_0xc02a22){const _0x5e0cf3=_0x5b1a3a;super(),g(this,'_socket$',new _0x1ce182(void 0x0)),g(this,_0x5e0cf3(0x1c1),this[_0x5e0cf3(0x300)][_0x5e0cf3(0x319)]()),g(this,_0x5e0cf3(0x55b),null),g(this,_0x5e0cf3(0x4af),new Map()),g(this,_0x5e0cf3(0x2ef),new _0x1ce182(ve[_0x5e0cf3(0x4ba)])),g(this,_0x5e0cf3(0x433),this[_0x5e0cf3(0x2ef)]['asObservable']()),g(this,_0x5e0cf3(0x41e),!0x1),g(this,'_retryConnectingTimer'),g(this,'_retryCount',0x0),g(this,'_sendHeartbeatTimer'),g(this,'_timeoutTimer'),(this[_0x5e0cf3(0x4e1)]=_0x5efeb1,this['_localeService']=_0x1340b4,this[_0x5e0cf3(0x402)]=_0x21275f,this[_0x5e0cf3(0x2b5)]=_0x4fd476,this[_0x5e0cf3(0x4c4)]=_0x4dabbe,this[_0x5e0cf3(0x3de)]=_0xc02a22,this[_0x5e0cf3(0x1d4)]());}get[_0x5b1a3a(0x4f1)](){const _0xafc356=_0x5b1a3a;return this['_socket$'][_0xafc356(0x45b)]();}[_0x5b1a3a(0x1d4)](){const _0x29d91b=_0x5b1a3a;this[_0x29d91b(0x365)](),this['_listenToOnlineEvent']();}[_0x5b1a3a(0x257)](){const _0x17bf26=_0x5b1a3a;super['dispose'](),this[_0x17bf26(0x4af)][_0x17bf26(0x2a1)](_0x544437=>_0x544437['dispose']()),this[_0x17bf26(0x4af)][_0x17bf26(0x4d4)](),this[_0x17bf26(0x2ef)][_0x17bf26(0x496)]();}async[_0x5b1a3a(0x312)](_0x41fd6b){const _0xf2619d=_0x5b1a3a;if(this[_0xf2619d(0x4af)][_0xf2619d(0x2fd)](_0x41fd6b))return this[_0xf2619d(0x4af)]['get'](_0x41fd6b);this['_tryEnsureSocket']();const _0x3f9aa6=this[_0xf2619d(0x4e1)]['createInstance'](ts,_0x41fd6b,this[_0xf2619d(0x300)][_0xf2619d(0x319)]());return this[_0xf2619d(0x4af)]['set'](_0x41fd6b,_0x3f9aa6),_0x3f9aa6;}[_0x5b1a3a(0x2e3)](_0x10fadf){const _0x177d59=_0x5b1a3a;var _0x537d2b;const _0x354ac6=this[_0x177d59(0x4af)]['get'](_0x10fadf);_0x354ac6&&(this[_0x177d59(0x4af)][_0x177d59(0x3a1)](_0x10fadf),_0x354ac6[_0x177d59(0x3c4)]()),this[_0x177d59(0x4af)][_0x177d59(0x388)]||(_0x537d2b=this[_0x177d59(0x4f1)])==null||_0x537d2b[_0x177d59(0x3c4)]();}[_0x5b1a3a(0x3e0)](){const _0x265a4f=_0x5b1a3a;this['_retryCount']=0x0,this[_0x265a4f(0x389)]!=null&&(clearTimeout(this[_0x265a4f(0x389)]),this[_0x265a4f(0x389)]=null),this['_tryReconnect']();}[_0x5b1a3a(0x545)](){const _0x14cfd1=_0x5b1a3a;var _0x74939d,_0x579149;const _0x193980=this[_0x14cfd1(0x4c4)][_0x14cfd1(0x451)](hr),_0x19015d=this[_0x14cfd1(0x4c4)][_0x14cfd1(0x451)](ie),_0x197cbe=(_0x579149=(_0x74939d=_0x19015d==null?void 0x0:_0x19015d['collabWebSocketUrl'])!=null?_0x74939d:_0x193980)!=null?_0x579149:lr,_0xd00391=this[_0x14cfd1(0x3de)][_0x14cfd1(0x256)](_0x197cbe);return this[_0x14cfd1(0x55b)]=_0xd00391,_0xd00391;}[_0x5b1a3a(0x42d)](){const _0x1979fb=_0x5b1a3a;var _0x19cd22,_0x32c3c5;try{const _0x47149a=(_0x32c3c5=(_0x19cd22=this['_socket'])!=null?_0x19cd22:this[_0x1979fb(0x55b)])!=null?_0x32c3c5:this[_0x1979fb(0x545)]();if(_0x47149a){const _0x1b1bff=_0x47149a[_0x1979fb(0x4a1)];_0x47149a['send']=_0x78a0b6=>(this[_0x1979fb(0x29f)](),_0x1b1bff['apply'](_0x47149a,[_0x78a0b6])),_0x47149a[_0x1979fb(0x2c8)][_0x1979fb(0x570)](_0xb9cb31=>this[_0x1979fb(0x318)](_0x47149a,_0xb9cb31)),_0x47149a['error$'][_0x1979fb(0x1ff)](_0x28008e(0x1))[_0x1979fb(0x570)](_0x3e5d83=>this[_0x1979fb(0x2b5)][_0x1979fb(0x237)](_0x1979fb(0x39f),_0x3e5d83)),_0x47149a[_0x1979fb(0x239)][_0x1979fb(0x1ff)](_0x28008e(0x1))[_0x1979fb(0x570)](()=>{const _0x19859a=_0x1979fb;this[_0x19859a(0x4bd)](_0x47149a);}),_0x47149a[_0x1979fb(0x3a5)][_0x1979fb(0x1ff)](_0x28008e(0x1))['subscribe'](_0x2a16c1=>{const _0x34baeb=_0x1979fb;this['_logService']['debug'](_0x34baeb(0x1ba),'socket\x20close',_0x2a16c1),this[_0x34baeb(0x48b)]();});}}catch(_0x5df3b5){this[_0x1979fb(0x2b5)][_0x1979fb(0x237)](_0x5df3b5),this[_0x1979fb(0x48b)]();}}[_0x5b1a3a(0x4bd)](_0x5371e7){const _0x39e543=_0x5b1a3a;this['_logService'][_0x39e543(0x1b6)]('[CollaborationSessionService]',_0x39e543(0x3ca)),_0x5371e7['send']({'cmd':W[_0x39e543(0x355)]}),this[_0x39e543(0x29f)]();}['_listenToOfflineEvent'](){const _0x3bfcf4=_0x5b1a3a;window['addEventListener'](_0x3bfcf4(0x328),()=>this[_0x3bfcf4(0x1af)]());}[_0x5b1a3a(0x1af)](){const _0xe816ab=_0x5b1a3a;this[_0xe816ab(0x41e)]=!0x1,this[_0xe816ab(0x55b)]=null,this[_0xe816ab(0x2ef)][_0xe816ab(0x424)](ve[_0xe816ab(0x405)]),this[_0xe816ab(0x300)][_0xe816ab(0x424)](null),this['_clearTimeoutTimer'](),this[_0xe816ab(0x459)]();}['_onConnectionFailed'](){const _0x2f6235=_0x5b1a3a;var _0x58be18;this[_0x2f6235(0x1af)](),this['_retryCount']<((_0x58be18=this[_0x2f6235(0x4c4)][_0x2f6235(0x451)](fr))!=null?_0x58be18:vr)?(this[_0x2f6235(0x402)][_0x2f6235(0x3c1)]({'key':_0x2f6235(0x352),'type':_0x47c858[_0x2f6235(0x3f4)],'content':this[_0x2f6235(0x273)]['t'](_0x2f6235(0x304))}),this[_0x2f6235(0x557)]()):this[_0x2f6235(0x402)][_0x2f6235(0x3c1)]({'key':_0x2f6235(0x352),'type':_0x47c858[_0x2f6235(0x559)],'content':this[_0x2f6235(0x273)]['t']('session.connection-failed')});}['_listenToOnlineEvent'](){const _0x5bcfb9=_0x5b1a3a,_0x500960=()=>{const _0x38f0df=_0xa0d1;this[_0x38f0df(0x4f1)]||this['reconnect']();},_0x4323e0=()=>{const _0x44b4e0=_0xa0d1;this[_0x44b4e0(0x4f1)]||document[_0x44b4e0(0x4de)]===_0x44b4e0(0x438)||this['reconnect']();};window[_0x5bcfb9(0x2be)](_0x5bcfb9(0x567),_0x500960),document[_0x5bcfb9(0x2be)]('visibilitychange',_0x4323e0);}[_0x5b1a3a(0x557)](){const _0x15f83c=_0x5b1a3a;var _0xdad1c9;const _0x2c552d=this['_retryCount'],_0x12ec86=this[_0x15f83c(0x4c4)][_0x15f83c(0x451)](ie),_0x181323=_0x2c552d===0x0?0x0:((_0xdad1c9=_0x12ec86==null?void 0x0:_0x12ec86[_0x15f83c(0x556)])!=null?_0xdad1c9:dr)*0x2**_0x2c552d;this[_0x15f83c(0x389)]=window['setTimeout'](()=>{const _0x4aa777=_0x15f83c;clearTimeout(this['_retryConnectingTimer']),this[_0x4aa777(0x389)]=null,this[_0x4aa777(0x42d)]();},_0x181323),this[_0x15f83c(0x1da)]+=0x1;}[_0x5b1a3a(0x318)](_0x2018d8,_0x561595){const _0x2be632=_0x5b1a3a,{cmd:_0x41dec3}=_0x561595;_0x41dec3===W['HELLO']&&!this[_0x2be632(0x41e)]&&(_0x2018d8[_0x2be632(0x4e6)]=_0x561595['data'][_0x2be632(0x4e6)],this['_socket$']['next'](_0x2018d8),this[_0x2be632(0x2ef)]['next'](ve[_0x2be632(0x3c5)]),this[_0x2be632(0x41e)]=!0x0,this[_0x2be632(0x55b)]=null),_0x41dec3===W[_0x2be632(0x23b)]&&this[_0x2be632(0x26f)](),this[_0x2be632(0x29f)]();}[_0x5b1a3a(0x29f)](){const _0x283dec=_0x5b1a3a;var _0x4c3118;this[_0x283dec(0x459)](),this['_sendHeartbeatTimer']=window[_0x283dec(0x180)](()=>this[_0x283dec(0x3cf)](),(_0x4c3118=this[_0x283dec(0x4c4)][_0x283dec(0x451)](_r))!=null?_0x4c3118:ur);}['_sendHeartbeat'](){const _0x1419cd=_0x5b1a3a;this[_0x1419cd(0x4f1)]['send']({'cmd':W[_0x1419cd(0x23b)]}),this[_0x1419cd(0x28e)]();}[_0x5b1a3a(0x28e)](){const _0x3b3bcd=_0x5b1a3a;var _0xc6bfed;this[_0x3b3bcd(0x231)]=window['setTimeout'](()=>this[_0x3b3bcd(0x48b)](),(_0xc6bfed=this[_0x3b3bcd(0x4c4)][_0x3b3bcd(0x451)](bi))!=null?_0xc6bfed:Ti);}['_clearHeartbeatTimer'](){const _0x2c7172=_0x5b1a3a;this[_0x2c7172(0x446)]!=null&&(clearTimeout(this[_0x2c7172(0x446)]),this['_sendHeartbeatTimer']=null);}[_0x5b1a3a(0x26f)](){const _0x2075d4=_0x5b1a3a;this[_0x2075d4(0x231)]!=null&&(clearTimeout(this['_timeoutTimer']),this[_0x2075d4(0x231)]=null);}};Ae=Br([je(0x0,_0x28839c(_0x1027b3)),je(0x1,_0x28839c(_0x173a06)),je(0x2,_0x496a91),je(0x3,_0x418a3e),je(0x4,_0x5d6cbd),je(0x5,Oi)],Ae);var Y=[];function _0xb447(){const _0x1dd6f2=['Base','replaceState','LICENSE_EXPORT_SIZE_EXCEEDED','setShapeProps','_tryEnsureSocket','onlineStatusTitle','getOwnPropertyDescriptor','RECT','dispose$','/allowed','status$','padding','_cursors','EXCHANGE_UPLOAD_FILE_SERVER_URL_KEY','_initCommandExecutedListener','hidden','roomInfos','[PendingState]:\x20received\x20acknowledgement.','_updateStatus','_onFetchMissResult','getWorkbookSelections','_undoStacks','Malformed\x20UTF-8\x20data','_updateState','newValue','indexOf','catch','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','_transitionLocked','_sendHeartbeatTimer','/universer-api/snapshot','_drawTextRange','onMouseMove','push','sheetId','_getRedoStack','sigBytes','userID','_eventUnsubscribe','getInterceptPoints','getConfig','univer-offline','13671357RqbIXj','_registerDependencies','session','actions','_exhaustRemoteChangesetQueue','registerRefRange','_clearHeartbeatTimer','c1Prime','getValue','_scheduleClearOtherTimer','2314360lQKcUG','collaMsg','_replayCachedMutations','Unknown\x20user','column','backgroundColor','LICENSE_MAX_UNITS_EXCEEDED','conflict.title','copyFileMeta','getResourcesRequest','transformStack\x20failed!','_disableEditing','NoPadding','univer-pro.collaboration-client-socket-service','transformMutation','HttpExport','beginPath','removeMember','makeDirty','EvpKDF','height','_cursorShapes','saveImage','_change$','trim','lib','SHOULD_CLOSE_CONN','snapshotServerUrl','onlineStatus','getUnitOnRev','RemoveColCommandId','[OfflineState]:\x20received\x20changeset.','NO_OTHER_CLIENTS_EDITING','getOwnPropertySymbols','pauseCollaboration','[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.','onSendChangeset','_send','members','commentUpdate$','YUUMI_SUBSCRIPTION_NOT_FOUND','reqId','getTime','collab-text-anchor-','UNIVER_PROJECT','fetchMiss','_onConnectionFailed','/universer-api/snapshot/','baseRev','_cursorInfo$','join','method','MUTATION','selection','post','sessionStatus$','initWorkbookPermissionChange','complete','origin','row','engine','_colorAssignService','iterations','revision','LEAVE','[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.','add','LIVESHARE_OPERATION','send','_oKey','LICENSE_IMPORT_SIZE_EXCEEDED','_initStatusListener','objectID','title','[CollaborationState]:\x20apply\x20error!','_doProcessBlock','createInstance','put','toggleOnline','pluginName','now','min','_sessions','closePath','#fff','deleteCollaborator','moveTo','sessionStatus','/-/object/list','_saveTaskMap','onPointerLeave$','AES','disposeWithMe','IDLE','MD5','resourceIDs','_onConnectionOpen','FETCH_MISS','_session','_collaborationPaused','Utf8','_drawRectRange','location','_configService','_color','changesets','PasswordBasedCipher','m2Prime','pending','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','_getSignURL','_startCollaboration','getSheetBySheetId','getCollabEntity$','_collaborationSessionService','[CollaborationUndoRedoService]','bottom','_clearCollaborationTimeoutTimer','headers','clear','error$','image/bmp','create','roomMembers$','_telemetryService','JOIN','_lastPointer','leaveEvent','[DataLoaderController]','visibilityState','_onCursorDelete','_map','_injector','FAIL','mixIn','permission.content','InsertRangeMoveRightCommandId','memberID','onRemoteAck','status','ENSURE_SNAPSHOT_EXECUTION','localeService','_clearUndo','UPDATE_CURSOR','disposeUnit','encodeURIComponent','none','_loadSheet','_socket','_revisionService','onTransformRemoteChangesetByStateCache','subscribeEvent','clipPath','blockSize','SHA1','listCollaborators','resolve','string','toString','_updateSubUnitFromURLParams','hide','_queuedRemoteChangesets','[CollaborationSession]','PERMISSION_DENIED','_roomMembers$','sid','unit','_handleHover','isEditing','COMPRESS_MUTATION_SEND','incrementRevOfUnit','find','getParam','displayName','[SyncedState]:\x20received\x20acknowledgement.','_createHmacHelper','_commandService','_createInitialStateImpl','get','getUnitId','_docSkeleton','InsertRowCommandId','INTERNAL_ERROR','_remoteChangesetQueue','__esModule','_changesetSessionId','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','_httpService','_commentService','8NeNDXt','routeKey','YUUMI_RATE_OVER_LIMIT','mode','_refRangeService','collaboratorID','NOT_COLLAB','triggerDblclick','\x20in\x20_schedule.','encryptBlock','CBC','NOT_FOUND','charCodeAt','UPDATE_PERMISSION_OBJ','onPointerMove$','data','transformChangesets','fillRule','_sessionStatus$','reverse','key','idSuffix','csRejEvent','_onUserJoin','_labelPosition','OnLineSingle','contains','icon','_cipher','prototype','_unitID','HmacSHA1','restore','Hex','round','LIVESHARE_REQUEST_HOST','socketService','_HTTPService','createElement','setShowComponents','_scheduleCollaborationTimeoutTimer','objects','COMPLETION_FINISHED','_createSocket','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Undefined','capture','AWAITING','_ws','Unknown\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','snapshot','decrypt','onTransformRemoteChangesetByIMECache','clearTimeout','UNIVER_COLLABORATION_CLIENT_PLUGIN','APPLY_REJECT','getCurrentUnitForType','awaiting_with_pending','getFocusedUnit','retryConnectingInterval','_tryReconnect','0\x200\x2017\x2016','Error','joinRsp','_candidateSocket','/fetchmissing?from=','transformSelections','awaiting','url(#on-line-single_clip0_910_349)','getStateCache','apply','_themeService','append','_initStatusComponent','#FFF','addImageSourceCache','online','createEncryptor','stopTime','univer-online','_resendTimeout','joinEvent','_onUserLeave','_clearOtherTimers','disableLocalCache','subscribe','updatePermissionObjEvent','collabStatus.fetchMiss','_docSkeletonManagerService','top','_waitCount','_state','exports','fetchMissingChangesets','_memberService','CONNECTOR_DATA_TOO_LARGE','ranges','BASE64','PERMISSION_REJ','_hover','_range','width','clone','image/gif','LIVESHARE_TERMINATE','reduce','_prevBlock','off-line-single_clip0_910_343','CONFLICT','setTimeout','registerHTTPInterceptor','_updateLocalCursor','_iv','_lockTransition','downloadEndpointUrl','POST','onTransformChange$','substring','_unitOnClients','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','set','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','clearInterval','_key','encrypt','_localStorageService','_imageSourceCache','skeleton','url(#off-line-single_clip0_910_343)','MoveRangeCommandId','UNKNOWN_CODE','univer-online-status-icon','buffer','getUnitStatus$','updatePermissionPoint','generateRandomId','_doReset','rng','attrs','colorChannel1','INGEST','PSEUDO_FETCH_MISSING_RESULT','toggleOffline','CHANGESET_REVISION_CONFILICT','words','addObjects','93dihsYA','collab-text-range-','includes','startsWith','_document','_applyRemoteChangeset','_submitChangeset','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','unitId','_onRefRangeChange','_onOffline','getTypeOfUnitAdded$','getCurrent','_startDocCollabCursor','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','_data','use','debug','getLatestCsReqIdBySid','on-line-single_clip0_910_349','getDocRanges','[CollaborationSessionService]','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','init','SUBMIT_CHANGESET','NEW_CHANGESETS','_updateCollabCursors','_onLocalMutation','socket$','assign','_resendTimer','enc','_startTelemetryCollaborationNewChangeset','onRemoteChangeset','_reverseMap','readAsDataURL','/block/','name','encode','FromArray','setItem','_socketMessageSubscription','_initUnitPermissionChange','5871576xEHmQh','setParam','collabStatus.synced','_clearRedo','_initEventListeners','getUnhiddenWorksheets','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','undoState','hasOwnProperty','getMember','_retryCount','_context','liveShareNewHost','_shouldReportTelemetry','arc','BlockCipher','M0\x200H16V16H0z','_incrementRevisionNumber','_collaborationTimeoutTimer','image/jpg','entries','_telemetryInfo','_changesetReqId','compose','connection\x20error','_docStateChangeManagerService','transformUndoRedo','_hash','fillStyle','onStateChange','crypto.getRandomValues()\x20not\x20supported.\x20See\x20https://github.com/uuidjs/uuid#getrandomvalues-not-supported','_setupSubUnitSync','json','ceil','UNIVER_DOC','/unit/','roles','getImageSourceCache','&to=','_doFinalize','MSG_FOR_ERROR','Decryptor','_state$','_pendingMutations','_docTransformSelectionsService','UNDEFINED','Error\x20on\x20receiving\x20event','pipe','concat','onSyncEditingCollabCursor','getSheetId','split','FileId','cmd','_collabCursorController','getActiveRange','map','c2Prime','_getLoginPath','ws://127.0.0.1:8000/universer-api/comb/connect','_colorIndex','\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.','flatMap','SNAPSHOT_INVALID_SNAPSHOT','bind','permission.title','_univerInstanceService','awaitingChangeset','collabStatus.syncing','_anchorDot','[FetchMissState]','YUUMI_UNABLE_LOAD_URL','_permissionService','interceptor','activeSheet$','/universer-api/file/{fileID}/sign-url','telemetry\x20info\x20is\x20not\x20initialized','_onRemoteACK','batchAllowed','sendChangesetTimeout','collabCursorState$','formatter','_sender','slice','_collabSessionService','_setupBeforeClosingHandler','UNIVER_SLIDE','_invKeySchedule','150zTVMjy','_updateLocalCache','_hasher','APPLY_DUPLICATED','getCellPositionByOffset','_event$','_entities','blue400','_shapes','_timeoutTimer','objectActions','getRenderById','propertyIsEnumerable','_append','uploadFileServerUrl','error','ALREADY_EXISTS','open$','executeCommand','HEARTBEAT','_onRemoteRetry','_minBufferSize','liveShareOperation','type','CipherParams','_initCloseConn','getCurrentUser','UnitSnapshot','_transformStack','LOGIN_URL_KEY','_scene','UnitEmbedded','rgba(255,\x20255,\x20255,\x200.01)','AUTHZ_URL_KEY','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','onRemoteRej','default','resend','UNIVER_SHEET','result','HEARTBEAT_TIMEOUT','PENDING','COMMENT_UPDATE','_transformUndoRedoStack','sin','m1Prime','createSocket','dispose','_stopTelemetryCollaborationNewChangeset','getCurrentRevOfUnit','submit\x20changeset\x20error!','SYNCED','isArray','loadOfflineData','_docSyncEditingCollabCursorService','reset','mutations','_ENC_XFORM_MODE','not_collab','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','charAt','Hasher','_draw','UNIVER_UNKNOWN','collabSubmitChangesetUrl','save','_onRecvEvent','_init','collaboration.closeRoom','_schedule','abs','_clearTimeoutTimer','getRangePointData','ERROR_EXCEED_SIZE','Base64','_localeService','RETRY_CONNECTING_MAX_COUNT','_executeRemoteChangeset','CHANGESET_SHOULD_RETRY','Pkcs7','isPermissionRej','_disabled','unpad','_name','_onJoinRoomEvent','_transformUndoredo','enableOfflineEditing','call','transformMutationsWithChangeset','CHANGESET_REJ','/collaborator','font','HmacMD5','save\x20fail\x20reason\x20is\x20','_process','roomMembers','?size=','setCurrentUser','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_onRemoteRejected','saveChangeset','_handleJoinEvent','_waitForHeartbeatResponse','_hideTimer','getCurrentSelections','repeat','collaboration-client.offline-data-not-saved','withCredentials','div','UNKNOWN_CMD','lineTo','kdf','doc.mutation.rich-text-editing','enableAuthServer','length','30284fTZyMH','WordArray','isActive','finalize','_rescheduleHeartbeat','_createHandler','forEach','current','findNodePositionByCharIndex','_acknowledgedAwaitingChangeset','_handler','onRendered','measureText','LIVESHARE_FETCH_OPERATIONS','FETCH_MISSING','text','__Key__','\x20-\x20','CHANGESET_ACK','params','_localCacheService','filter','_hovered','requestParams','saveSheetBlock','collab-client.tooltip.reconnect','_logService','some','defIds','msCrypto','pushState','getSheetBlock','urlChange$','UNRECOGNIZED','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','addEventListener','Encryptor','conflict','_entityInit$','_mode','purple300','history','_getAnchorBounding','setUndoRedoMutationParamsCache','body','message$','appendMutation','onCommandExecuted','jiqing500','1em','createCollaborator','8972094SDFxSp','keySize','color','defs','_commentUpdate$','_online','_transformStateCache','\x0aCurrent:\x20','...','_collabCursorState$','_onRemoteChangeset','APPLY_REVISION_CONFILICT','getCollabEntity','_nRounds','code','updateMember','?url=','_scheduleTimestamp','USERS_LEAVE','parse','UNAUTHENTICATED','closeSession','format','editing\x20status\x20changed\x20to','file','USERS_ENTER','_syncEditingCollabCursor','_collaborationController','_unitStatus','_removeCollabCursors','getMergeData','url','DeleteRangeMoveLeftCommandId','_status$','extend','_userManagerService','transform','collaboration_new_changeset','_throwTelemetryCollaborationNewChangeset','_snapshotServerService','_members','INVALID_ARGUMENT','onTransformIME','_toggleOnline','Cipher','SEND_CHANGESET_TIMEOUT','_transformRemoteChangesetByIMECache','has','LIVESHARE_NEW_HOST','updateOfflineData','_socket$','_showConflictNotification','[UniverCollaborationClientPlugin]','_type','session.will-retry','endColumn','_render','path','floor','5619120jljBut','shouldCloseConn','_cachedData','_initMergeInterceptor','_sheetSkeletonManagerService','_getCurrentRevision','_DEC_XFORM_MODE','_ensureSubject','_removeRoom','requireSession','_clearScheduledTask','_anchor','/resources','AWAITING_WITH_PENDING','_singleActiveUnitService','_onMessage','asObservable','_replaceFileID','_getDownloadEndpointURL','_textBubble','registerOnClose','drawWith','SUCCUSS','_keySchedule','getUndoRedoMutationParamsCache','DeleteRangeMoveUpCommandId','tag','listRoles','target','loginUrlKey','values','offline','with','onMissingChangesets','assignAColorForMemberID','currentTheme$','endRow','updateCollaborator','evenodd','sheets','_transformIMECache','_http','_doCryptBlock','getOffsetConfig','getRelativeToViewportCoord','_getScale','from','compute','all','RemoveRowCommandId','originalMeta','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','transformIMECache','byteOffset','_decreaseWaiting','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','crypto','fetching\x20missing\x20changesets\x20from\x20','[PendingState]:\x20unhandled\x20univer\x20type:\x20','/universer-api/oidc/authpage','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','Univer','failed\x20to\x20apply\x20missed\x20changesets!','\x0aAfter:\x20','_checkMissing','_id','_syncEditingCollabCursorService','COMPRESS_MUTATION_APPLY','_getSnapshotAPIPrefix','_unlockTransition','synced','_nDataBytes','collaboration-session-retry','_scheduleHeartbeat','getRoom','HELLO','BlockCipherMode','_undoRedoService','currentSkeleton$','APPLY_PERMISSION_DENIED','COLLAB_WEB_SOCKET_URL','TEXT','className','collaborators','_saveCache','fetch_missing','_initResize','conflict.content','_scheduleSaving','csShouldRetryEvent','HEARTBEAT_INTERVAL','_listenToOfflineEvent','collaboration.single-unit.warning','_docTransformIMECacheService','_transformPreviousActiveRange','_getSheetObject','allowed','on-line-single','_heartbeatTimer','HMAC','YUUMI_URL_COL_OUT_OF_RANGE','every','_registerRenderDependencies','InsertColCommandId','random','hasher','collaboration-client.config','unshift','SerializableCipher','clamp','DEFAULT_FILE_NAME','_getSaveTimeout','_beforeCloseService','objectType','byteLength','InsertRangeMoveDownCommandId','setInterval','searchParams','_xformMode','then','randomBytes','JOINING','black','getAncestorScale','_onConflict','transformRemoteChangeset','size','_retryConnectingTimer','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','currentColor','replace','_compressMutationService','UUID','_roomMembers','uni.network.url-service','_transformHistoryAndStateStack','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','randomUUID','getVpScrollXYInfoByPosToVp','OTHER_CLIENTS_EDITING','fillText','ERROR_IMAGE_TYPE','SNAPSHOT_SERVER_URL_KEY','_getCtorByUniverType','_substituteUndoStack','confirm','&assign=','_docTransformStateCacheService','collab-rect-range-','[CollaborationSessionService]:\x20socket\x20error','_transformSelections','delete','getCollabCursors$','_onCombEvent','cursorInfo$','close$','_config','fill','RECV','fromCharCode','_sendingTimer','_getMergeRange','/universer-api/authz','href','_sheetTransformSelectionsService','ivSize','_joinRoom','commentUpdateEvent','/universer-api/stream/file/upload','_updateURLWithCurrentState','onTransformState','eventID','redoState','function','_getAPIPrefixPath','algo','_initDependencies','_initRequestHeader','xlink:href','unitId\x20is\x20not\x20found','getMemberID','_getUndoStack','getRandomValues','show','editingUnit','_renderManagerService','close','ONLINE','getUnit','onRemoteRetry','[SyncedState]:\x20received\x20rejection.','cfg','socket\x20open.','csAckEvent','gold400','textRanges','hostname','_sendHeartbeat','1670103xAyqCL','addObject','_resendWithTimeout','onTransformSelections','stringify','_urlService','popstate','_notificationService','transformStateCache','subunit','_onCursorUpdate','ciphertext','defineProperty','LICENSE_DISTRO_REJECTED','_socketService','getActiveSheet','reconnect','svg','children','_getSendChangesetTimeout','_clearLocalCache','_createInitialState','/-/object/-/batch_allowed','authzUrl','_awaitingChangeset','_fetchMissChangesets','onCommentUpdate','getSkeleton','max','_backgroundColor','setStateCache','getUniverSheetInstance','_createHelper','saveSnapshot','_assignedColors','_refreshCollabCursors','Warning','labelPosition','ERROR_IMAGE','$super','range','_transformRemoteChangesetByStateCache','_removeClearOtherTimer','_startSheetCollabCursor','readInt32LE','selections','_handleEvent','_drawAnchor','responseType','_keyPriorReset','_messageService','unsubscribe','/object/','OFFLINE','reject','_getAPIPrefix','unknown','getImage','_snapshotService','getTypeOfUnitDisposed$','substr','session.room-full','VIEW_MAIN','APPLY_NON_SEQUENTIAL_REVISION','_toggleOffline','createDecryptor','symbol','registerRenderModule','pad','subUnitId','OpenSSL','TOO_MANY_REQUESTS','_instanceService','processBlock','_selfUnitIDs','setAlpha','unitID','deepClone','_socketReady','fetchThroughInterceptors','execute','saveOfflineData','_parse','patch','next','event$','update','_transformService','cursorInfo'];_0xb447=function(){return _0x1dd6f2;};return _0xb447();}for(var Nt=0x0;Nt<0x100;++Nt)Y[_0x5b1a3a(0x44a)]((Nt+0x100)['toString'](0x10)[_0x5b1a3a(0x223)](0x1));function kr(_0x1e9117,_0x3c7c60=0x0){return(Y[_0x1e9117[_0x3c7c60+0x0]]+Y[_0x1e9117[_0x3c7c60+0x1]]+Y[_0x1e9117[_0x3c7c60+0x2]]+Y[_0x1e9117[_0x3c7c60+0x3]]+'-'+Y[_0x1e9117[_0x3c7c60+0x4]]+Y[_0x1e9117[_0x3c7c60+0x5]]+'-'+Y[_0x1e9117[_0x3c7c60+0x6]]+Y[_0x1e9117[_0x3c7c60+0x7]]+'-'+Y[_0x1e9117[_0x3c7c60+0x8]]+Y[_0x1e9117[_0x3c7c60+0x9]]+'-'+Y[_0x1e9117[_0x3c7c60+0xa]]+Y[_0x1e9117[_0x3c7c60+0xb]]+Y[_0x1e9117[_0x3c7c60+0xc]]+Y[_0x1e9117[_0x3c7c60+0xd]]+Y[_0x1e9117[_0x3c7c60+0xe]]+Y[_0x1e9117[_0x3c7c60+0xf]])['toLowerCase']();}var ct,Wr=new Uint8Array(0x10);function Fr(){const _0xd3884e=_0x5b1a3a;if(!ct&&(ct=typeof crypto<'u'&&crypto[_0xd3884e(0x3c0)]&&crypto[_0xd3884e(0x3c0)][_0xd3884e(0x210)](crypto),!ct))throw new Error(_0xd3884e(0x1ee));return ct(Wr);}var Vr=typeof crypto<'u'&&crypto[_0x5b1a3a(0x393)]&&crypto[_0x5b1a3a(0x393)]['bind'](crypto);const js={'randomUUID':Vr};function Gr(_0x5b23f4,_0x239608,_0x5e0035){const _0x1a3cb7=_0x5b1a3a;if(js[_0x1a3cb7(0x393)]&&!_0x239608&&!_0x5b23f4)return js['randomUUID']();_0x5b23f4=_0x5b23f4||{};var _0x52c1df=_0x5b23f4[_0x1a3cb7(0x372)]||(_0x5b23f4[_0x1a3cb7(0x19c)]||Fr)();return _0x52c1df[0x6]=_0x52c1df[0x6]&0xf|0x40,_0x52c1df[0x8]=_0x52c1df[0x8]&0x3f|0x80,kr(_0x52c1df);}var Yr=Object['defineProperty'],Kr=Object['getOwnPropertyDescriptor'],zr=(_0x274bed,_0x148a86,_0x1d603d,_0x4505db)=>{const _0x105d53=_0x5b1a3a;for(var _0x59da4c=_0x4505db>0x1?void 0x0:_0x4505db?Kr(_0x148a86,_0x1d603d):_0x148a86,_0x1b6ebe=_0x274bed[_0x105d53(0x29a)]-0x1,_0x354ed8;_0x1b6ebe>=0x0;_0x1b6ebe--)(_0x354ed8=_0x274bed[_0x1b6ebe])&&(_0x59da4c=(_0x4505db?_0x354ed8(_0x148a86,_0x1d603d,_0x59da4c):_0x354ed8(_0x59da4c))||_0x59da4c);return _0x4505db&&_0x59da4c&&Yr(_0x148a86,_0x1d603d,_0x59da4c),_0x59da4c;},At=(_0x4626d2,_0x30f8de)=>(_0x333b05,_0x30807d)=>_0x30f8de(_0x333b05,_0x30807d,_0x4626d2);let vt=class{constructor(_0x48acb2,_0x36e1f6,_0x9ac58a){const _0x221194=_0x5b1a3a;this[_0x221194(0x4e1)]=_0x48acb2,this[_0x221194(0x427)]=_0x36e1f6,this['_renderManagerService']=_0x9ac58a;}[_0x5b1a3a(0x33e)](_0x1f2cf0){const _0x15a8a9=_0x5b1a3a;this[_0x15a8a9(0x253)](_0x1f2cf0),this[_0x15a8a9(0x368)](_0x1f2cf0);}[_0x5b1a3a(0x387)](_0x2d28f8){const _0x229ee8=_0x5b1a3a,{unitID:_0x26a347}=_0x2d28f8,_0x2720b4=this[_0x229ee8(0x3c3)]['getRenderById'](_0x26a347)[_0x229ee8(0x329)](_0x1622d6),{redoCache:_0x508802}=_0x2720b4['getUndoRedoMutationParamsCache']();if(_0x508802['length']===0x0)return _0x2d28f8;let _0x25a6ac=_0x9e8b08['deepClone'](_0x2d28f8[_0x229ee8(0x260)][0x0]);for(let _0x76b7ba=0x0;_0x76b7ba<_0x508802[_0x229ee8(0x29a)];_0x76b7ba++){const _0x3e8c50={'id':'doc.mutation.rich-text-editing','params':{..._0x508802[_0x76b7ba]}},_0x56dc86=this[_0x229ee8(0x427)][_0x229ee8(0x46b)](_0x25a6ac,_0x3e8c50,!0x1);if(_0x321ec1(_0x56dc86))throw _0x56dc86[_0x229ee8(0x237)];_0x25a6ac=_0x56dc86[_0x229ee8(0x255)];}return{..._0x9e8b08[_0x229ee8(0x41d)](_0x2d28f8),'mutations':[_0x25a6ac]};}[_0x5b1a3a(0x253)](_0x8b76f7){const _0x2dd749=_0x5b1a3a,{unitID:_0x515d4d}=_0x8b76f7,_0x320b34=this[_0x2dd749(0x3c3)][_0x2dd749(0x233)](_0x515d4d)[_0x2dd749(0x329)](_0x1622d6),{undoCache:_0x46d728,redoCache:_0x3c9bf3}=_0x320b34[_0x2dd749(0x321)]();if(_0x46d728['length']===0x0||_0x3c9bf3[_0x2dd749(0x29a)]===0x0)return;const _0x25bad9=[],_0x5f2a36=[];let _0x5b007c=_0x9e8b08[_0x2dd749(0x41d)](_0x8b76f7[_0x2dd749(0x260)][0x0]),_0x1461b7=_0x9e8b08[_0x2dd749(0x41d)](_0x8b76f7[_0x2dd749(0x260)][0x0]);for(let _0x1dfea1=_0x46d728[_0x2dd749(0x29a)]-0x1;_0x1dfea1>=0x0;_0x1dfea1--){const _0x5348da={'id':'doc.mutation.rich-text-editing','params':{..._0x46d728[_0x1dfea1]}},_0x224c75={'id':_0x2dd749(0x298),'params':{..._0x3c9bf3[_0x1dfea1]}},_0xad2ee=this[_0x2dd749(0x427)]['transformMutation'](_0x5b007c,_0x5348da,!0x1),_0x3bd3ee=this['_transformService'][_0x2dd749(0x46b)](_0x1461b7,_0x224c75,!0x1);if(_0x321ec1(_0xad2ee))throw _0xad2ee[_0x2dd749(0x237)];if(_0x321ec1(_0x3bd3ee))throw _0x3bd3ee[_0x2dd749(0x237)];_0x25bad9['unshift'](_0xad2ee[_0x2dd749(0x4c8)][_0x2dd749(0x2ae)]),_0x5f2a36[_0x2dd749(0x375)](_0x3bd3ee[_0x2dd749(0x4c8)]['params']),_0x5b007c=_0xad2ee[_0x2dd749(0x255)],_0x1461b7=_0x3bd3ee[_0x2dd749(0x255)];}_0x320b34[_0x2dd749(0x2c6)]({'undoCache':_0x25bad9,'redoCache':_0x5f2a36});}['_transformPreviousActiveRange'](_0x532b42){const _0x53d5ea=_0x5b1a3a,{unitID:_0x58985b}=_0x532b42,_0x54f75a=this[_0x53d5ea(0x3c3)][_0x53d5ea(0x233)](_0x58985b)[_0x53d5ea(0x329)](_0x1622d6),_0xf38b27=_0x54f75a[_0x53d5ea(0x207)]();if(_0xf38b27==null)return;const _0x4b0a06=[{'id':_0x53d5ea(0x298),'params':{'unitId':_0x532b42[_0x53d5ea(0x41c)],'actions':null,'textRanges':[_0xf38b27]}}],_0x7d23e3=this['_transformService'][_0x53d5ea(0x280)](_0x532b42,_0x4b0a06);if(!_0x582252(_0x7d23e3))throw _0x7d23e3['error'];const _0x4151b3=_0x7d23e3[_0x53d5ea(0x4c8)][0x0][_0x53d5ea(0x2ae)][_0x53d5ea(0x3cd)];Array['isArray'](_0x4151b3)&&_0x4151b3[_0x53d5ea(0x29a)]&&_0x54f75a['setActiveRange'](_0x4151b3[0x0]);}};vt=zr([At(0x0,_0x28839c(_0x1027b3)),At(0x1,_0xef8dcd),At(0x2,_0x47f498)],vt);var qr=Object['defineProperty'],Xr=Object['getOwnPropertyDescriptor'],Jr=(_0x37d81d,_0x21692f,_0x4b4b1b,_0x355918)=>{const _0x51acf3=_0x5b1a3a;for(var _0x173766=_0x355918>0x1?void 0x0:_0x355918?Xr(_0x21692f,_0x4b4b1b):_0x21692f,_0x1b41ac=_0x37d81d[_0x51acf3(0x29a)]-0x1,_0x4bdbc9;_0x1b41ac>=0x0;_0x1b41ac--)(_0x4bdbc9=_0x37d81d[_0x1b41ac])&&(_0x173766=(_0x355918?_0x4bdbc9(_0x21692f,_0x4b4b1b,_0x173766):_0x4bdbc9(_0x173766))||_0x173766);return _0x355918&&_0x173766&&qr(_0x21692f,_0x4b4b1b,_0x173766),_0x173766;},Xe=(_0x45f94f,_0x3f9851)=>(_0x2a3d53,_0x49ff12)=>_0x3f9851(_0x2a3d53,_0x49ff12,_0x45f94f);let q=class extends _0x45951d{constructor(_0x5829d1,_0x5d6034,_0x4a0d8b,_0x29e8f7,_0x5107a4){const _0x49fb64=_0x5b1a3a;super(),g(this,_0x49fb64(0x30b),new Map()),g(this,_0x49fb64(0x4b6),new Map()),g(this,_0x49fb64(0x279),!0x1),(this[_0x49fb64(0x4c4)]=_0x5829d1,this[_0x49fb64(0x190)]=_0x5d6034,this[_0x49fb64(0x37a)]=_0x4a0d8b,this[_0x49fb64(0x273)]=_0x29e8f7,this['_revisionService']=_0x5107a4,this[_0x49fb64(0x225)]());}[_0x5b1a3a(0x56f)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x19261d=_0x5b1a3a;this[_0x19261d(0x279)]=!0x1;}['dispose'](){const _0x47ad3a=_0x5b1a3a;this['exhaustSavingTask']()[_0x47ad3a(0x381)](()=>super['dispose']());}async['loadOfflineData'](_0x1070f6){const _0x174290=_0x5b1a3a;return this[_0x174290(0x279)]?null:this[_0x174290(0x190)]['getItem'](Bs(_0x1070f6));}async[_0x5b1a3a(0x421)](_0x25a044,_0x1e3cad){const _0x30980f=_0x5b1a3a;return!!this['_localStorageService'][_0x30980f(0x1cd)](_0x25a044,_0x1e3cad);}[_0x5b1a3a(0x2ff)](_0x1d7a4b,_0xd57b3d,_0x241d37,_0x39743b){const _0x42049a=_0x5b1a3a,_0x5ea0ba=this['_revisionService'][_0x42049a(0x259)](_0x1d7a4b);this['_cachedData'][_0x42049a(0x18b)](_0x1d7a4b,{'unitID':_0x1d7a4b,'type':_0xd57b3d,'awaitingChangeset':_0x241d37,'mutations':_0x39743b,'rev':_0x5ea0ba}),this['_saveTaskMap'][_0x42049a(0x2fd)](_0x1d7a4b)||this['_scheduleSaving'](_0x1d7a4b);}[_0x5b1a3a(0x362)](_0x2fbb02){const _0x207627=_0x5b1a3a,_0xbe9f39=this['_getSaveTimeout']();_0xbe9f39===0x0?this['_saveCache'](_0x2fbb02):this['_saveTaskMap'][_0x207627(0x18b)](_0x2fbb02,setTimeout(()=>this[_0x207627(0x35e)](_0x2fbb02),_0xbe9f39));}[_0x5b1a3a(0x379)](){const _0x61e5ab=_0x5b1a3a;var _0x39adc;return(_0x39adc=this[_0x61e5ab(0x4c4)][_0x61e5ab(0x451)](mr))!=null?_0x39adc:pr;}[_0x5b1a3a(0x35e)](_0x5973a7){const _0x581fc1=_0x5b1a3a,_0xedd040=this[_0x581fc1(0x4b6)][_0x581fc1(0x50f)](_0x5973a7);return _0xedd040!==void 0x0&&window[_0x581fc1(0x550)](_0xedd040),this[_0x581fc1(0x190)]['setItem'](Bs(_0x5973a7),this[_0x581fc1(0x30b)][_0x581fc1(0x50f)](_0x5973a7))[_0x581fc1(0x381)](()=>this['_saveTaskMap'][_0x581fc1(0x3a1)](_0x5973a7));}async['exhaustSavingTask'](){const _0x32aae4=_0x5b1a3a,_0x4c4670=[];this['_saveTaskMap']['forEach']((_0x21d9ac,_0x6a935)=>{const _0xb84e4f=_0xa0d1;window['clearTimeout'](_0x21d9ac),_0x4c4670[_0xb84e4f(0x44a)](this[_0xb84e4f(0x35e)](_0x6a935)[_0xb84e4f(0x381)](()=>{const _0x335c42=_0xb84e4f;this[_0x335c42(0x4b6)][_0x335c42(0x3a1)](_0x6a935);}));}),await Promise[_0x32aae4(0x339)](_0x4c4670);}['_setupBeforeClosingHandler'](){const _0x311867=_0x5b1a3a;this[_0x311867(0x4b9)](this[_0x311867(0x37a)]['registerBeforeClose'](()=>{const _0x2cc358=_0x311867;if(this[_0x2cc358(0x4b6)][_0x2cc358(0x388)])return this[_0x2cc358(0x273)]['t'](_0x2cc358(0x292));}));}};q=Jr([Xe(0x0,_0x5d6cbd),Xe(0x1,_0x31630e),Xe(0x2,_0x758b44),Xe(0x3,_0x28839c(_0x173a06)),Xe(0x4,_0x28839c(_0x137cc2))],q);function Bs(_0x1ed3d4){return'unit-cache-'+_0x1ed3d4;}var Zr=Object[_0x5b1a3a(0x3dc)],Qr=Object['getOwnPropertyDescriptor'],eo=(_0x2b59b8,_0xcd1dac,_0x1f13be,_0x279cd6)=>{const _0x74c3a2=_0x5b1a3a;for(var _0x17c14b=_0x279cd6>0x1?void 0x0:_0x279cd6?Qr(_0xcd1dac,_0x1f13be):_0xcd1dac,_0x10d57d=_0x2b59b8[_0x74c3a2(0x29a)]-0x1,_0x5e3e9f;_0x10d57d>=0x0;_0x10d57d--)(_0x5e3e9f=_0x2b59b8[_0x10d57d])&&(_0x17c14b=(_0x279cd6?_0x5e3e9f(_0xcd1dac,_0x1f13be,_0x17c14b):_0x5e3e9f(_0x17c14b))||_0x17c14b);return _0x279cd6&&_0x17c14b&&Zr(_0xcd1dac,_0x1f13be,_0x17c14b),_0x17c14b;},Mt=(_0x2ed5b7,_0x1313ad)=>(_0x3fc018,_0x2fbf85)=>_0x1313ad(_0x3fc018,_0x2fbf85,_0x2ed5b7);function to(_0xb5ac02){const _0x26e63a=_0x5b1a3a,{unitID:_0x2b5445,mutations:_0x542513}=_0xb5ac02;return{'unitId':_0x2b5445,'subUnitId':_0x542513[0x0][_0x26e63a(0x2ae)][_0x26e63a(0x415)]};}let mt=class{constructor(_0xbe8465,_0x1a50bc,_0x1dc0ab){const _0x297465=_0x5b1a3a;this['_injector']=_0xbe8465,this[_0x297465(0x427)]=_0x1a50bc,this[_0x297465(0x418)]=_0x1dc0ab;}[_0x5b1a3a(0x55d)](_0xa5b77e){const _0x11537e=_0x5b1a3a;var _0x409f34,_0x490c63,_0x19d867,_0x5827bc;const _0x322f55=this['_injector'][_0x11537e(0x50f)](_0x424a0f),{unitId:_0x4b318f,subUnitId:_0x986360}=to(_0xa5b77e),_0x46e415=_0x322f55[_0x11537e(0x43d)](_0x4b318f)[_0x11537e(0x290)](),_0xe32b86=(_0x490c63=(_0x409f34=this[_0x11537e(0x418)][_0x11537e(0x3c6)](_0x4b318f))==null?void 0x0:_0x409f34[_0x11537e(0x3df)]())==null?void 0x0:_0x490c63[_0x11537e(0x202)]();if(_0x46e415[_0x11537e(0x29a)]===0x0||!_0x4b318f||!_0x986360)return;const _0x3b9cf8=[{'id':_0x3b3cfe['id'],'params':{'unitId':_0x4b318f,'subUnitId':_0xe32b86,'selections':_0x9e8b08['deepClone'](_0x46e415)}}],_0xb44396=this[_0x11537e(0x427)][_0x11537e(0x280)](_0xa5b77e,_0x3b9cf8);if(!_0x582252(_0xb44396))throw _0xb44396[_0x11537e(0x237)];const _0x27b78e=(_0x5827bc=(_0x19d867=_0xb44396[_0x11537e(0x4c8)][0x0])==null?void 0x0:_0x19d867[_0x11537e(0x2ae)])==null?void 0x0:_0x5827bc[_0x11537e(0x3fd)];if(Array[_0x11537e(0x25c)](_0x27b78e)&&_0x27b78e[_0x11537e(0x29a)]){if(_0x27b78e['length']===_0x3b9cf8[0x0][_0x11537e(0x2ae)][_0x11537e(0x3fd)][_0x11537e(0x29a)]&&_0x27b78e[_0x11537e(0x36f)]((_0x110f6f,_0x353e1a)=>_0x118546['equals'](_0x110f6f[_0x11537e(0x3f8)],_0x3b9cf8[0x0]['params']['selections'][_0x353e1a][_0x11537e(0x3f8)])))return;this[_0x11537e(0x4e1)][_0x11537e(0x50f)](_0x10ec6b)[_0x11537e(0x23a)](_0x3b3cfe['id'],{'unitId':_0x4b318f,'subUnitId':_0xe32b86,'selections':_0x27b78e});}}};mt=eo([Mt(0x0,_0x28839c(_0x1027b3)),Mt(0x1,_0xef8dcd),Mt(0x2,_0x578cb)],mt);const yt=_0x25a723('univer-pro.collaboration-client.single-active-unit-service');var Di=(_0x25e4be=>(_0x25e4be[_0x25e4be[_0x5b1a3a(0x47d)]=0x0]=_0x5b1a3a(0x47d),_0x25e4be[_0x25e4be[_0x5b1a3a(0x395)]=0x1]=_0x5b1a3a(0x395),_0x25e4be))(Di||{});const ks=0x7530,Ws='ACTIVE_UNIT_EVENT_CHANNEL';class so extends _0x45951d{constructor(){const _0x2c0628=_0x5b1a3a;super(),g(this,_0x2c0628(0x34b),_0x9e8b08[_0x2c0628(0x19a)]()),g(this,_0x2c0628(0x41a),new Set()),g(this,_0x2c0628(0x189),new Map()),g(this,_0x2c0628(0x36c),null),g(this,'_clearOtherTimers',new Map()),g(this,_0x2c0628(0x2ea),new Map()),this[_0x2c0628(0x26b)]();}[_0x5b1a3a(0x257)](){const _0x397a8d=_0x5b1a3a;super[_0x397a8d(0x257)](),this[_0x397a8d(0x56e)][_0x397a8d(0x2a1)]((_0x4a4e42,_0x13cdc4)=>this[_0x397a8d(0x3fa)](_0x13cdc4)),this[_0x397a8d(0x36c)]&&window[_0x397a8d(0x18d)](this[_0x397a8d(0x36c)]);}[_0x5b1a3a(0x198)](_0xf32a7){const _0x5364ce=_0x5b1a3a;return this[_0x5364ce(0x310)](_0xf32a7)[_0x5364ce(0x1ff)](_0x89f648());}[_0x5b1a3a(0x3c2)](_0x39020b){const _0x4a853e=_0x5b1a3a;this[_0x4a853e(0x41a)][_0x4a853e(0x388)]===0x0&&this[_0x4a853e(0x353)](),this[_0x4a853e(0x41a)][_0x4a853e(0x49f)](_0x39020b),this[_0x4a853e(0x482)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x39020b],'isForwarded':!0x1});}[_0x5b1a3a(0x4ed)](_0x210bc2){const _0x27915a=_0x5b1a3a;this['_selfUnitIDs']['delete'](_0x210bc2),this[_0x27915a(0x41a)][_0x27915a(0x388)]===0x0&&this[_0x27915a(0x36c)]&&window[_0x27915a(0x18d)](this[_0x27915a(0x36c)]);}[_0x5b1a3a(0x26b)](){const _0x34570e=_0x5b1a3a;this['disposeWithMe'](_0x529295(_0xcd07a4(window,'storage')[_0x34570e(0x570)](_0x5b0ddd=>{const _0x43b513=_0x34570e;if(_0x5b0ddd['key']!==Ws||!_0x5b0ddd[_0x43b513(0x441)])return;const _0x562923=JSON[_0x43b513(0x2e1)](_0x5b0ddd[_0x43b513(0x441)]);this[_0x43b513(0x3fe)](_0x562923);}))),window['addEventListener']('unload',()=>this[_0x34570e(0x482)]({'type':0x1,'memberID':this[_0x34570e(0x34b)],'unitIDs':Array[_0x34570e(0x337)](this[_0x34570e(0x41a)])}));}[_0x5b1a3a(0x3fe)](_0x3e2d30){const _0x3c6e26=_0x5b1a3a;switch(_0x3e2d30[_0x3c6e26(0x23f)]){case 0x0:this[_0x3c6e26(0x28d)](_0x3e2d30);break;case 0x1:this['_handleLeaveEvent'](_0x3e2d30);break;case 0x2:this['_handleHeartbeatEvent'](_0x3e2d30);break;}}[_0x5b1a3a(0x28d)](_0x793db7){const _0x4d3304=_0x5b1a3a,{unitIDs:_0x2bb009,memberID:_0x52fb36,isForwarded:_0x43d015}=_0x793db7;_0x2bb009[_0x4d3304(0x2a1)](_0x56ecb8=>{const _0x30aab8=_0x4d3304;if(!_0x43d015&&this[_0x30aab8(0x189)]['has'](_0x56ecb8)&&this[_0x30aab8(0x310)](_0x56ecb8)[_0x30aab8(0x424)](0x1),!this[_0x30aab8(0x189)][_0x30aab8(0x2fd)](_0x56ecb8)||!this['_unitOnClients'][_0x30aab8(0x50f)](_0x56ecb8)['has'](_0x52fb36)){const _0x1c9116=this[_0x30aab8(0x189)][_0x30aab8(0x50f)](_0x56ecb8)||new Set();_0x1c9116[_0x30aab8(0x49f)](_0x52fb36),this[_0x30aab8(0x189)][_0x30aab8(0x18b)](_0x56ecb8,_0x1c9116),this[_0x30aab8(0x45c)](_0x52fb36);}}),_0x43d015||this[_0x4d3304(0x482)]({'type':0x0,'memberID':this[_0x4d3304(0x34b)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b1a3a(0x45c)](_0x99e339){const _0x1da1f1=_0x5b1a3a;this[_0x1da1f1(0x3fa)](_0x99e339);const _0x407b49=window['setTimeout'](()=>{const _0x2de395=_0x1da1f1;this['_unitOnClients'][_0x2de395(0x2a1)](_0x519a5c=>{const _0x4790fa=_0x2de395;_0x519a5c[_0x4790fa(0x3a1)](_0x99e339);});},ks*0x2);this['_clearOtherTimers'][_0x1da1f1(0x18b)](_0x99e339,_0x407b49);}[_0x5b1a3a(0x3fa)](_0x590614){const _0x4f630b=_0x5b1a3a;if(this[_0x4f630b(0x56e)][_0x4f630b(0x2fd)](_0x590614)){const _0x12cd54=this[_0x4f630b(0x56e)][_0x4f630b(0x50f)](_0x590614);_0x12cd54&&window[_0x4f630b(0x550)](_0x12cd54),this[_0x4f630b(0x56e)][_0x4f630b(0x18b)](_0x590614,null);}}['_handleLeaveEvent'](_0x507605){const _0xd6b412=_0x5b1a3a,{memberID:_0x23de0f,unitIDs:_0x5b9cb9}=_0x507605;_0x5b9cb9['forEach'](_0xc61929=>{const _0xf3a306=_0xa0d1;var _0x1e83d2;const _0x582881=this[_0xf3a306(0x189)][_0xf3a306(0x50f)](_0xc61929);_0x582881&&(_0x582881[_0xf3a306(0x3a1)](_0x23de0f),(_0x1e83d2=this['_ensureSubject'](_0xc61929))==null||_0x1e83d2[_0xf3a306(0x424)](_0x582881[_0xf3a306(0x388)]===0x0?0x0:0x1));}),this[_0xd6b412(0x3fa)](_0x23de0f);}['_handleHeartbeatEvent'](_0x4fd79){const _0x586ae4=_0x5b1a3a;this[_0x586ae4(0x45c)](_0x4fd79[_0x586ae4(0x4e6)]);}[_0x5b1a3a(0x482)](_0x2f8a04){const _0x11abb5=_0x5b1a3a;localStorage['setItem'](Ws,JSON[_0x11abb5(0x3d4)](_0x2f8a04));}[_0x5b1a3a(0x353)](){const _0x15550d=_0x5b1a3a;this['_heartbeatTimer']=window[_0x15550d(0x37e)](()=>{const _0x10d106=_0x15550d;this['_send']({'type':0x2,'memberID':this[_0x10d106(0x34b)]});},ks);}[_0x5b1a3a(0x310)](_0x3cc15b){const _0x48ffe3=_0x5b1a3a;return this['_unitStatus'][_0x48ffe3(0x2fd)](_0x3cc15b)||this[_0x48ffe3(0x2ea)][_0x48ffe3(0x18b)](_0x3cc15b,new _0x1ce182(0x0)),this['_unitStatus'][_0x48ffe3(0x50f)](_0x3cc15b);}}var io=Object[_0x5b1a3a(0x3dc)],no=Object['getOwnPropertyDescriptor'],ro=(_0x4cbc6d,_0x48e848,_0x4e5d4d,_0x3025e5)=>{const _0x24a1d9=_0x5b1a3a;for(var _0x5b284a=_0x3025e5>0x1?void 0x0:_0x3025e5?no(_0x48e848,_0x4e5d4d):_0x48e848,_0x5c608e=_0x4cbc6d[_0x24a1d9(0x29a)]-0x1,_0x2c8151;_0x5c608e>=0x0;_0x5c608e--)(_0x2c8151=_0x4cbc6d[_0x5c608e])&&(_0x5b284a=(_0x3025e5?_0x2c8151(_0x48e848,_0x4e5d4d,_0x5b284a):_0x2c8151(_0x5b284a))||_0x5b284a);return _0x3025e5&&_0x5b284a&&io(_0x48e848,_0x4e5d4d,_0x5b284a),_0x5b284a;},xt=(_0x2a69e9,_0x576068)=>(_0x2a4e1f,_0x4c6114)=>_0x576068(_0x2a4e1f,_0x4c6114,_0x2a69e9);let pt=class{constructor(_0x1b416e,_0x37c7e9,_0xc4b038){const _0x42cf02=_0x5b1a3a;this[_0x42cf02(0x4e1)]=_0x1b416e,this[_0x42cf02(0x427)]=_0x37c7e9,this[_0x42cf02(0x1e9)]=_0xc4b038;}['transformStateCache'](_0x58621f){const _0x16a87d=_0x5b1a3a;this[_0x16a87d(0x391)](_0x58621f);}[_0x5b1a3a(0x387)](_0x214dc7){const _0x1f400c=_0x5b1a3a,{unitID:_0x6a5e04}=_0x214dc7,{collaboration:_0x3dd999}=this['_docStateChangeManagerService'][_0x1f400c(0x560)](_0x6a5e04);if(_0x3dd999[_0x1f400c(0x29a)]===0x0)return _0x214dc7;let _0x2e60c8=_0x9e8b08[_0x1f400c(0x41d)](_0x214dc7[_0x1f400c(0x260)][0x0]);for(let _0x199bd3=0x0;_0x199bd3<_0x3dd999[_0x1f400c(0x29a)];_0x199bd3++){const _0x436a1c={'id':_0x1f400c(0x298),'params':{'unitId':_0x3dd999[_0x199bd3]['unitId'],..._0x3dd999[_0x199bd3][_0x1f400c(0x3b6)]}},_0x18dd5f=this[_0x1f400c(0x427)][_0x1f400c(0x46b)](_0x2e60c8,_0x436a1c,!0x1);if(_0x321ec1(_0x18dd5f))throw _0x18dd5f[_0x1f400c(0x237)];_0x2e60c8=_0x18dd5f['m1Prime'];}return{..._0x9e8b08['deepClone'](_0x214dc7),'mutations':[_0x2e60c8]};}[_0x5b1a3a(0x391)](_0x3faefd){const _0x47f36f=_0x5b1a3a,{unitID:_0x394155}=_0x3faefd,{history:_0x466203,collaboration:_0x169bda}=this['_docStateChangeManagerService'][_0x47f36f(0x560)](_0x394155);if(_0x466203[_0x47f36f(0x29a)]===0x0&&_0x169bda[_0x47f36f(0x29a)]===0x0)return;const _0x5c2709=[],_0x4a75dc=[];let _0x3fadf2=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]),_0x4f6a5a=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]);for(let _0x5c87f5=_0x466203['length']-0x1;_0x5c87f5>=0x0;_0x5c87f5--){const _0x3075c5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x466203[_0x5c87f5]['unitId'],..._0x466203[_0x5c87f5]['undoState']}},_0x20cc1d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x466203[_0x5c87f5][_0x47f36f(0x1ad)],..._0x466203[_0x5c87f5][_0x47f36f(0x3b6)]}},_0x50c988=this[_0x47f36f(0x427)]['transformMutation'](_0x3fadf2,_0x3075c5,!0x1),_0x31167b=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x4f6a5a,_0x20cc1d,!0x1);if(_0x321ec1(_0x50c988))throw _0x50c988[_0x47f36f(0x237)];if(_0x321ec1(_0x31167b))throw _0x31167b['error'];_0x5c2709[_0x47f36f(0x375)]({..._0x466203[_0x5c87f5],'undoState':_0x50c988[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)],'redoState':_0x31167b['m2Prime'][_0x47f36f(0x2ae)]}),_0x3fadf2=_0x50c988[_0x47f36f(0x255)],_0x4f6a5a=_0x31167b[_0x47f36f(0x255)];}_0x3fadf2=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd['mutations'][0x0]),_0x4f6a5a=_0x9e8b08[_0x47f36f(0x41d)](_0x3faefd[_0x47f36f(0x260)][0x0]);for(let _0x3455ab=_0x169bda[_0x47f36f(0x29a)]-0x1;_0x3455ab>=0x0;_0x3455ab--){const _0x26e3ed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x169bda[_0x3455ab][_0x47f36f(0x1ad)],..._0x169bda[_0x3455ab][_0x47f36f(0x1d7)]}},_0x267e80={'id':_0x47f36f(0x298),'params':{'unitId':_0x169bda[_0x3455ab]['unitId'],..._0x169bda[_0x3455ab]['redoState']}},_0x44d0eb=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x3fadf2,_0x26e3ed,!0x1),_0x1b9dcc=this[_0x47f36f(0x427)][_0x47f36f(0x46b)](_0x4f6a5a,_0x267e80,!0x1);if(_0x321ec1(_0x44d0eb))throw _0x44d0eb[_0x47f36f(0x237)];if(_0x321ec1(_0x1b9dcc))throw _0x1b9dcc[_0x47f36f(0x237)];_0x4a75dc[_0x47f36f(0x375)]({..._0x169bda[_0x3455ab],'undoState':_0x44d0eb[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)],'redoState':_0x1b9dcc[_0x47f36f(0x4c8)][_0x47f36f(0x2ae)]}),_0x3fadf2=_0x44d0eb[_0x47f36f(0x255)],_0x4f6a5a=_0x1b9dcc[_0x47f36f(0x255)];}this['_docStateChangeManagerService'][_0x47f36f(0x3ee)](_0x394155,{'history':_0x5c2709,'collaboration':_0x4a75dc});}};pt=ro([xt(0x0,_0x28839c(_0x1027b3)),xt(0x1,_0xef8dcd),xt(0x2,_0x28839c(_0x55250f))],pt);function Pi(_0xa269c){const _0x114410=_0x5b1a3a;let _0x19133e='';for(const _0xf0e9af of _0xa269c){const {startOffset:_0x3f2279,endOffset:_0x3f1c35,isActive:_0x4900ad,rangeType:_0x42f0a7,segmentId:_0x59b15c,segmentPage:_0x17ea9e}=_0xf0e9af;_0x19133e[_0x114410(0x29a)]&&(_0x19133e+=','),_0x19133e+=_0x3f2279+':'+_0x3f1c35+':'+(_0x4900ad?'1':'0')+':'+_0x42f0a7+':'+_0x59b15c+':'+_0x17ea9e;}return _0x19133e;}function oo(_0x97e6f9){const _0x487918=_0x5b1a3a,_0x320f49=_0x97e6f9[_0x487918(0x203)](','),_0x8b45ff=[];for(const _0x3617fe of _0x320f49){const [_0x2c3abb,_0x50c79e,_0x5181ca,_0x583780,_0x379f03,_0xe0c3a1]=_0x3617fe[_0x487918(0x203)](':');_0x8b45ff[_0x487918(0x44a)]({'startOffset':Number(_0x2c3abb),'endOffset':Number(_0x50c79e),'collapsed':_0x2c3abb===_0x50c79e,'isActive':_0x5181ca==='1','rangeType':_0x583780===_0x59f56c['TEXT']?_0x59f56c[_0x487918(0x35b)]:_0x59f56c[_0x487918(0x430)],'segmentId':typeof _0x379f03==_0x487918(0x4fa)?String(_0x379f03):'','segmentPage':Number(_0xe0c3a1!=null?_0xe0c3a1:-0x1)});}return _0x8b45ff[_0x487918(0x2b6)](_0x5b1ae3=>_0x5b1ae3[_0x487918(0x29d)])||(_0x8b45ff[0x0][_0x487918(0x29d)]=!0x0),_0x8b45ff;}class Cs extends _0x203b2a{constructor(){const _0x124e5f=_0x5b1a3a;super(...arguments),g(this,_0x124e5f(0x2d7),new _0x1ce182(null)),g(this,_0x124e5f(0x220),this[_0x124e5f(0x2d7)]['asObservable']());}['syncEditingCollabCursor'](_0x1e94e4){const _0x3e2a5e=_0x5b1a3a,{unitID:_0x2fc706,memberID:_0x70c0ed,textRanges:_0x3e7352}=_0x1e94e4,_0x506133=Pi(_0x3e7352);if(_0x506133==='')return;const _0x58377b={'unitID':_0x2fc706,'memberID':_0x70c0ed,'selection':_0x506133};this[_0x3e2a5e(0x2d7)][_0x3e2a5e(0x424)](_0x58377b);}}var ao=Object['defineProperty'],co=Object['getOwnPropertyDescriptor'],ho=(_0x4b1f00,_0x8e5345,_0x152ea8,_0x361251)=>{for(var _0x5d3629=_0x361251>0x1?void 0x0:_0x361251?co(_0x8e5345,_0x152ea8):_0x8e5345,_0x538a9a=_0x4b1f00['length']-0x1,_0x4bcb4d;_0x538a9a>=0x0;_0x538a9a--)(_0x4bcb4d=_0x4b1f00[_0x538a9a])&&(_0x5d3629=(_0x361251?_0x4bcb4d(_0x8e5345,_0x152ea8,_0x5d3629):_0x4bcb4d(_0x5d3629))||_0x5d3629);return _0x361251&&_0x5d3629&&ao(_0x8e5345,_0x152ea8,_0x5d3629),_0x5d3629;},Fs=(_0x4996ab,_0x2cf7eb)=>(_0x409060,_0xa8213a)=>_0x2cf7eb(_0x409060,_0xa8213a,_0x4996ab);let gt=class{constructor(_0x35431b,_0xef3fdb){const _0x2180d2=_0x5b1a3a;this[_0x2180d2(0x4e1)]=_0x35431b,this[_0x2180d2(0x427)]=_0xef3fdb;}[_0x5b1a3a(0x55d)](_0x250227){const _0x5ac91a=_0x5b1a3a;var _0x4c7aa9;const _0x456657=this['_injector']['get'](_0x5b11b1),_0x26360c=(_0x4c7aa9=_0x456657[_0x5ac91a(0x1b9)]())!=null?_0x4c7aa9:[];if(_0x26360c[_0x5ac91a(0x29a)]===0x0)return;const _0x22ca94=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x250227['unitID'],'actions':null,'textRanges':_0x26360c}}],_0x5d7361=this['_transformService'][_0x5ac91a(0x280)](_0x250227,_0x22ca94);if(!_0x582252(_0x5d7361))throw _0x5d7361[_0x5ac91a(0x237)];const _0x53adb6=_0x5d7361['m2Prime'][0x0]['params'][_0x5ac91a(0x3cd)];Array[_0x5ac91a(0x25c)](_0x53adb6)&&_0x53adb6[_0x5ac91a(0x29a)]&&_0x456657['replaceTextRanges'](_0x53adb6,!0x1);}};gt=ho([Fs(0x0,_0x28839c(_0x1027b3)),Fs(0x1,_0xef8dcd)],gt);const lo=new Set([_0x28fda5['id']]);function Vs(_0x413ad7,_0x143947,_0x55d16b,_0xda0bf0,_0x2e0eca){const _0x2d45d8=_0x5b1a3a;var _0x3d5c5b,_0x28c431,_0x3c5dbe,_0x3260df;const _0x534469=[];for(const _0xc846f3 of _0x413ad7)if(lo[_0x2d45d8(0x2fd)](_0xc846f3['id'])){if(_0x534469[_0x2d45d8(0x29a)]>0x0)break;_0x534469[_0x2d45d8(0x44a)](_0xc846f3);break;}else _0x534469[_0x2d45d8(0x44a)](_0xc846f3);const _0x3e8f51=(_0x28c431=(_0x3d5c5b=_0x2e0eca['getCurrentUser']())==null?void 0x0:_0x3d5c5b['userID'])!=null?_0x28c431:_0x2d45d8(0x408),_0x5f1135=(_0x3260df=(_0x3c5dbe=_0x2e0eca['getCurrentUser']())==null?void 0x0:_0x3c5dbe['memberID'])!=null?_0x3260df:'unknown';return{'changeset':{'unitID':_0x143947,'type':_0x50cfb0(_0x55d16b['getUnitType'](_0x143947)),'baseRev':_0xda0bf0['getCurrentRevOfUnit'](_0x143947),'revision':0x0,'userID':_0x3e8f51,'memberID':_0x5f1135,'mutations':_0x534469},'pendingMutations':_0x413ad7[_0x2d45d8(0x223)](_0x534469[_0x2d45d8(0x29a)])};}function _o(_0x3924b5,_0x2aff12,_0x961d3c,_0x585a08,_0x40387e){const _0x3b72a0=_0x5b1a3a;var _0x2c2a65,_0x509025,_0xec81b2,_0x1f91f9;const _0x59fbb6=[_0x3924b5['reduce']((_0x52837d,_0x5a1c2b)=>{const _0x255e42=_0xa0d1;var _0x2a8d8f;const {id:_0x471453}=_0x52837d,{id:_0x790414,type:_0x42610b}=_0x5a1c2b,_0x206f16=(_0x2a8d8f=_0x52837d['params'])!=null?_0x2a8d8f:{'actions':null},_0x5e4d6a=_0x5a1c2b['params'];if(_0x471453&&_0x471453!==_0x790414)throw new Error(_0x255e42(0x1bb)+_0x471453+_0x255e42(0x2ac)+_0x790414+'.');return{..._0x52837d,'id':_0x790414,'type':_0x42610b,'params':{'unitId':_0x5e4d6a[_0x255e42(0x1ad)],'textRanges':_0x5e4d6a[_0x255e42(0x3cd)],'actions':_0x266fd1[_0x255e42(0x1e7)](_0x206f16[_0x255e42(0x456)],_0x5e4d6a[_0x255e42(0x456)])}};},{})],_0x3e2497=(_0x509025=(_0x2c2a65=_0x40387e[_0x3b72a0(0x242)]())==null?void 0x0:_0x2c2a65[_0x3b72a0(0x44e)])!=null?_0x509025:_0x3b72a0(0x408),_0x41f625=(_0x1f91f9=(_0xec81b2=_0x40387e['getCurrentUser']())==null?void 0x0:_0xec81b2[_0x3b72a0(0x4e6)])!=null?_0x1f91f9:'unknown';return{'changeset':{'unitID':_0x2aff12,'type':_0x50cfb0(_0x961d3c['getUnitType'](_0x2aff12)),'baseRev':_0x585a08[_0x3b72a0(0x259)](_0x2aff12),'revision':0x0,'userID':_0x3e2497,'memberID':_0x41f625,'mutations':_0x59fbb6},'pendingMutations':[]};}function Ui(_0x54e525,_0x3e1532){const _0xb7204f=_0x5b1a3a,_0x399f52=new _0x1dda0f(0x1);return setTimeout(()=>_0x399f52[_0xb7204f(0x424)](_0x3e1532),_0x54e525),_0x399f52['asObservable']()['pipe'](_0x4725fb(0x1));}const uo={'id':_0x464c30['id'],'type':_0x4aa13b[_0x5b1a3a(0x491)],'params':{}};var fo=Object['defineProperty'],vo=Object['getOwnPropertyDescriptor'],Le=(_0x3ca9fc,_0x27612f,_0x1ac738,_0x1bed62)=>{const _0x2caefc=_0x5b1a3a;for(var _0x7a6b7d=_0x1bed62>0x1?void 0x0:_0x1bed62?vo(_0x27612f,_0x1ac738):_0x27612f,_0x208b81=_0x3ca9fc[_0x2caefc(0x29a)]-0x1,_0x4d1bae;_0x208b81>=0x0;_0x208b81--)(_0x4d1bae=_0x3ca9fc[_0x208b81])&&(_0x7a6b7d=(_0x1bed62?_0x4d1bae(_0x27612f,_0x1ac738,_0x7a6b7d):_0x4d1bae(_0x7a6b7d))||_0x7a6b7d);return _0x1bed62&&_0x7a6b7d&&fo(_0x27612f,_0x1ac738,_0x7a6b7d),_0x7a6b7d;},A=(_0x2e6630,_0x31c60c)=>(_0x2c3ab0,_0xac2ca8)=>_0x31c60c(_0x2c3ab0,_0xac2ca8,_0x2e6630),J=(_0x43ed73=>(_0x43ed73[_0x5b1a3a(0x520)]=_0x5b1a3a(0x262),_0x43ed73[_0x5b1a3a(0x25b)]=_0x5b1a3a(0x350),_0x43ed73[_0x5b1a3a(0x251)]=_0x5b1a3a(0x4c9),_0x43ed73[_0x5b1a3a(0x54a)]=_0x5b1a3a(0x55e),_0x43ed73[_0x5b1a3a(0x316)]=_0x5b1a3a(0x554),_0x43ed73[_0x5b1a3a(0x4be)]=_0x5b1a3a(0x35f),_0x43ed73[_0x5b1a3a(0x17f)]='conflict',_0x43ed73[_0x5b1a3a(0x405)]=_0x5b1a3a(0x328),_0x43ed73))(J||{});const Ni=0xea60;class $e{constructor(_0x1d0723,_0x3bea4e,_0x547aef,_0x4d70f2,_0x48bed3,_0x4d613e,_0x24158f,_0x619b7d,_0x677d5b){const _0x40b4c7=_0x5b1a3a;g(this,_0x40b4c7(0x3e8),null),g(this,_0x40b4c7(0x1fb),[]),(this['unitID']=_0x1d0723,this[_0x40b4c7(0x23f)]=_0x3bea4e,this['_handler']=_0x48bed3,this[_0x40b4c7(0x50d)]=_0x4d613e,this[_0x40b4c7(0x357)]=_0x24158f,this[_0x40b4c7(0x4f2)]=_0x619b7d,this[_0x40b4c7(0x2af)]=_0x677d5b,this[_0x40b4c7(0x3e8)]=_0x547aef,this[_0x40b4c7(0x1fb)]=_0x4d70f2);}[_0x5b1a3a(0x34a)](_0x2fe589){const _0x15a67c=_0x5b1a3a,_0x3a0efd=this[_0x15a67c(0x4f2)][_0x15a67c(0x259)](this[_0x15a67c(0x41c)]);return _0x2fe589[_0x15a67c(0x49c)]>_0x3a0efd+0x1?(this[_0x15a67c(0x2a5)][_0x15a67c(0x32a)]({'from':_0x3a0efd,'to':_0x2fe589[_0x15a67c(0x49c)]-0x1}),!0x0):!0x1;}[_0x5b1a3a(0x27d)](_0x2469b8){const _0x5c37a9=_0x5b1a3a;this[_0x5c37a9(0x357)][_0x5c37a9(0x1ea)](this['unitID'],_0x2469b8);}[_0x5b1a3a(0x3a0)](_0x3aad76){const _0x4f6bbe=_0x5b1a3a;var _0x175656,_0x574d55;(_0x574d55=(_0x175656=this['_handler'])['onTransformSelections'])==null||_0x574d55[_0x4f6bbe(0x27f)](_0x175656,_0x3aad76);}[_0x5b1a3a(0x331)](_0xcb7d22){const _0x345eb5=_0x5b1a3a;var _0x9df698,_0x5979a3;return(_0x5979a3=(_0x9df698=this[_0x345eb5(0x2a5)])[_0x345eb5(0x2f8)])==null?void 0x0:_0x5979a3[_0x345eb5(0x27f)](_0x9df698,_0xcb7d22);}[_0x5b1a3a(0x2d4)](_0x383a31){const _0x51411a=_0x5b1a3a;var _0x2b6d89,_0x4c00f6;return(_0x4c00f6=(_0x2b6d89=this[_0x51411a(0x2a5)])['onTransformState'])==null?void 0x0:_0x4c00f6[_0x51411a(0x27f)](_0x2b6d89,_0x383a31);}[_0x5b1a3a(0x2fc)](_0x2d265a){const _0x3a5ecb=_0x5b1a3a;var _0x8af71a,_0x3be2f3,_0x527df0;return(_0x527df0=(_0x3be2f3=(_0x8af71a=this[_0x3a5ecb(0x2a5)])[_0x3a5ecb(0x54f)])==null?void 0x0:_0x3be2f3[_0x3a5ecb(0x27f)](_0x8af71a,_0x2d265a))!=null?_0x527df0:_0x2d265a;}[_0x5b1a3a(0x3f9)](_0x2d2ffe){const _0x3fb329=_0x5b1a3a;var _0x588831,_0x46965a,_0x5ada63;return(_0x5ada63=(_0x46965a=(_0x588831=this[_0x3fb329(0x2a5)])[_0x3fb329(0x4f3)])==null?void 0x0:_0x46965a[_0x3fb329(0x27f)](_0x588831,_0x2d2ffe))!=null?_0x5ada63:_0x2d2ffe;}['_syncEditingCollabCursor'](_0x35f92b){const _0x20bee1=_0x5b1a3a;var _0x4e97cc,_0x5c5fa8;if(this['type']===ce[_0x20bee1(0x1f2)]){const {unitID:_0x266094,mutations:_0x4b17d1,memberID:_0x456e29}=_0x35f92b,_0x11673f=_0x4b17d1[0x0]['params'][_0x20bee1(0x3cd)];Array[_0x20bee1(0x25c)](_0x11673f)&&_0x11673f[_0x20bee1(0x29a)]>0x0&&((_0x5c5fa8=(_0x4e97cc=this[_0x20bee1(0x2a5)])[_0x20bee1(0x201)])==null||_0x5c5fa8['call'](_0x4e97cc,{'unitID':_0x266094,'memberID':_0x456e29,'textRanges':_0x11673f}));}}[_0x5b1a3a(0x229)](){const _0x433ae4=_0x5b1a3a;this['_localCacheService'][_0x433ae4(0x2ff)](this['unitID'],this[_0x433ae4(0x23f)],this['_awaitingChangeset'],this[_0x433ae4(0x1fb)]);}[_0x5b1a3a(0x30e)](){return this['_revisionService']['getCurrentRevOfUnit'](this['unitID']);}[_0x5b1a3a(0x1e1)](){const _0x544259=_0x5b1a3a;this[_0x544259(0x4f2)][_0x544259(0x507)](this[_0x544259(0x41c)]);}[_0x5b1a3a(0x275)](_0x40eb26){const _0x53c09a=_0x5b1a3a;var _0x3fc6f0;let _0x299aec=this[_0x53c09a(0x2fc)](_0x40eb26);_0x299aec=this[_0x53c09a(0x3f9)](_0x299aec);const _0xd1e16e=_0x38e9f3(_0x299aec[_0x53c09a(0x260)],this['_commandService'],{'fromCollab':!0x0});if(!_0xd1e16e['result'])throw _0xd1e16e[_0x53c09a(0x237)]instanceof Error?_0xd1e16e['error']:new Error((_0x3fc6f0=_0xd1e16e[_0x53c09a(0x237)])!=null?_0x3fc6f0:_0x53c09a(0x4a7));this['_transformIMECache'](_0x299aec),this[_0x53c09a(0x2d4)](_0x299aec),this['_transformUndoredo'](_0x40eb26),this[_0x53c09a(0x3a0)](_0x299aec),this[_0x53c09a(0x2e8)](_0x299aec),this[_0x53c09a(0x1e1)]();}}let Fe=class extends $e{constructor(_0x349373,_0x556a03,_0x528867,_0x1df11f,_0x5b8f5a,_0x50be1b,_0x497aea,_0x2b6dd6,_0x1e5e8c,_0x49a4dc){const _0x597246=_0x5b1a3a;super(_0x349373,_0x556a03,null,[],_0x528867,_0x2b6dd6,_0x497aea,_0x1df11f,_0x5b8f5a),g(this,_0x597246(0x4e8),'synced'),(this['_injector']=_0x50be1b,this[_0x597246(0x2b5)]=_0x1e5e8c,this[_0x597246(0x427)]=_0x49a4dc);}[_0x5b1a3a(0x2c9)](_0x14ca11){const _0xf7b554=_0x5b1a3a,_0x2cb955=this[_0xf7b554(0x4e1)]['createInstance'](pe,this[_0xf7b554(0x41c)],this[_0xf7b554(0x23f)],[_0x14ca11],this['_handler']);return _0x2cb955[_0xf7b554(0x26d)](),_0x2cb955[_0xf7b554(0x229)](),_0x2cb955;}[_0x5b1a3a(0x1c6)](_0x333b57){const _0x3f7c93=_0x5b1a3a;if(this[_0x3f7c93(0x34a)](_0x333b57))return this['_injector']['createInstance'](he,this['unitID'],this[_0x3f7c93(0x23f)],null,[],null,[_0x333b57],this[_0x3f7c93(0x2a5)]);try{const _0x2c2f77=this[_0x3f7c93(0x427)][_0x3f7c93(0x280)](_0x333b57,[uo]);if(_0x582252(_0x2c2f77)){const {c1Prime:_0x22c1e6}=_0x2c2f77;return this[_0x3f7c93(0x275)](_0x22c1e6),this;}throw _0x2c2f77[_0x3f7c93(0x237)];}catch(_0x564acc){return this['_logService'][_0x3f7c93(0x237)](_0x564acc),this[_0x3f7c93(0x386)](!0x1);}}[_0x5b1a3a(0x386)](_0xedd5dc){const _0x38cf90=_0x5b1a3a;return this[_0x38cf90(0x4e1)][_0x38cf90(0x4a9)](Re,this[_0x38cf90(0x41c)],this[_0x38cf90(0x23f)],null,[],this[_0x38cf90(0x2a5)],_0xedd5dc);}[_0x5b1a3a(0x4e7)](){const _0x5f133c=_0x5b1a3a;throw new Error(_0x5f133c(0x50b));}[_0x5b1a3a(0x24b)](){const _0x6d5260=_0x5b1a3a;throw new Error(_0x6d5260(0x3c8));}[_0x5b1a3a(0x3c7)](){return this;}[_0x5b1a3a(0x1a1)](){const _0x44fd42=_0x5b1a3a;return this[_0x44fd42(0x4e1)]['createInstance'](ye,this[_0x44fd42(0x41c)],this['type'],null,[],this[_0x44fd42(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}[_0x5b1a3a(0x24d)](){const _0x287948=_0x5b1a3a;throw new Error(_0x287948(0x444));}[_0x5b1a3a(0x48a)](){const _0x15b218=_0x5b1a3a,_0x156876=this[_0x15b218(0x4f2)][_0x15b218(0x259)](this['unitID']);return this[_0x15b218(0x2a5)][_0x15b218(0x32a)]({'from':_0x156876,'to':0x0}),this[_0x15b218(0x4e1)]['createInstance'](he,this[_0x15b218(0x41c)],this[_0x15b218(0x23f)],null,[],null,[],this[_0x15b218(0x2a5)]);}};Fe=Le([A(0x3,_0x28839c(_0x137cc2)),A(0x4,_0x28839c(q)),A(0x5,_0x28839c(_0x1027b3)),A(0x6,_0x1ffd7c),A(0x7,_0x10ec6b),A(0x8,_0x418a3e),A(0x9,_0xef8dcd)],Fe);let pe=class extends $e{constructor(_0x50aaad,_0x454b1a,_0x2ebfa8,_0x42dd11,_0x4107ab,_0x33761e,_0x1a2888,_0x27650b,_0x10ebd7,_0x190abc,_0x91cd9e,_0x33f36a,_0x57eb68,_0x3f2b46){const _0x2a2c09=_0x5b1a3a;super(_0x50aaad,_0x454b1a,null,_0x2ebfa8,_0x42dd11,_0x190abc,_0x3f2b46,_0x33761e,_0x1a2888),g(this,_0x2a2c09(0x4e8),_0x2a2c09(0x4c9)),g(this,_0x2a2c09(0x2df),null),g(this,_0x2a2c09(0x3aa),null),(this[_0x2a2c09(0x4e1)]=_0x4107ab,this[_0x2a2c09(0x579)]=_0x27650b,this['_logService']=_0x10ebd7,this[_0x2a2c09(0x4c4)]=_0x91cd9e,this[_0x2a2c09(0x427)]=_0x33f36a,this['_univerInstanceService']=_0x57eb68);}[_0x5b1a3a(0x2c9)](_0xe90893){const _0x15f7f0=_0x5b1a3a;return this[_0x15f7f0(0x1fb)][_0x15f7f0(0x44a)](_0xe90893),this[_0x15f7f0(0x229)](),this;}[_0x5b1a3a(0x1c6)](_0x2903c5){const _0x269bce=_0x5b1a3a;if(this['_checkMissing'](_0x2903c5))return this['_clearScheduledTask'](),this[_0x269bce(0x4e1)]['createInstance'](he,this[_0x269bce(0x41c)],this[_0x269bce(0x23f)],null,this[_0x269bce(0x1fb)],null,[_0x2903c5],this[_0x269bce(0x2a5)]);try{const _0x3d5b7c=this[_0x269bce(0x427)][_0x269bce(0x280)](_0x2903c5,this[_0x269bce(0x1fb)]);if(_0x582252(_0x3d5b7c)){const {c1Prime:_0x283141,m2Prime:_0x154ac3}=_0x3d5b7c;this[_0x269bce(0x275)](_0x283141);const _0x16e6bd=this['_injector'][_0x269bce(0x4a9)](pe,this[_0x269bce(0x41c)],this['type'],_0x154ac3,this[_0x269bce(0x2a5)]);return this[_0x269bce(0x313)](),_0x16e6bd['_schedule'](this[_0x269bce(0x2df)]?Math[_0x269bce(0x3ec)](0x0,new Date()['getTime']()-this['_scheduleTimestamp']):this['_getSendChangesetTimeout']()),_0x16e6bd;}throw _0x3d5b7c['error'];}catch(_0x5f5df9){return this[_0x269bce(0x2b5)]['error'](_0x5f5df9),this['_onConflict'](!0x1);}}[_0x5b1a3a(0x4e7)](){const _0x2abf6d=_0x5b1a3a;throw new Error(_0x2abf6d(0x43a));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x5b1a3a(0x1a1)](){const _0x886094=_0x5b1a3a;return this[_0x886094(0x313)](),this[_0x886094(0x4e1)][_0x886094(0x4a9)](ye,this[_0x886094(0x41c)],this[_0x886094(0x23f)],null,this[_0x886094(0x1fb)],this['_handler']);}['toggleOnline'](){return this;}[_0x5b1a3a(0x26d)](_0xaa652){const _0x116cf2=_0x5b1a3a,_0x5373bc=_0xaa652!=null?_0xaa652:this[_0x116cf2(0x3e3)]();this[_0x116cf2(0x2df)]=new Date()[_0x116cf2(0x487)](),this['_sendingTimer']=window[_0x116cf2(0x180)](()=>{const _0x207032=_0x116cf2;this[_0x207032(0x313)]();let _0x5596ce=null;switch(this[_0x207032(0x23f)]){case ce[_0x207032(0x24e)]:{_0x5596ce=Vs(this[_0x207032(0x1fb)],this[_0x207032(0x41c)],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this['_memberService']);break;}case ce[_0x207032(0x1f2)]:{this[_0x207032(0x1fb)][_0x207032(0x36f)](_0x2d8316=>_0x2d8316['id']===_0x3ba450['id'])?_0x5596ce=_o(this[_0x207032(0x1fb)],this['unitID'],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this[_0x207032(0x579)]):_0x5596ce=Vs(this[_0x207032(0x1fb)],this[_0x207032(0x41c)],this[_0x207032(0x212)],this[_0x207032(0x4f2)],this[_0x207032(0x579)]);break;}default:throw new Error(_0x207032(0x344)+this[_0x207032(0x23f)]+_0x207032(0x522));}const {changeset:_0x3f0a3c,pendingMutations:_0x1f2c23}=_0x5596ce;this[_0x207032(0x2a5)][_0x207032(0x481)](_0x3f0a3c);const _0x1a952f=_0x1f2c23[_0x207032(0x29a)]?this[_0x207032(0x4e1)]['createInstance'](ge,this[_0x207032(0x41c)],this[_0x207032(0x23f)],_0x3f0a3c,_0x1f2c23,this[_0x207032(0x2a5)],void 0x0):this[_0x207032(0x4e1)][_0x207032(0x4a9)](Te,this[_0x207032(0x41c)],this['type'],_0x3f0a3c,this[_0x207032(0x2a5)]);_0x1a952f[_0x207032(0x229)](),this[_0x207032(0x2a5)][_0x207032(0x1ed)](this,_0x1a952f);},_0x5373bc);}['_getSendChangesetTimeout'](){const _0x160c90=_0x5b1a3a;var _0x489727;const _0x10236a=this[_0x160c90(0x4c4)]['getConfig'](ie);return(_0x489727=_0x10236a==null?void 0x0:_0x10236a[_0x160c90(0x21f)])!=null?_0x489727:cr;}[_0x5b1a3a(0x24d)](){const _0x37f744=_0x5b1a3a;throw new Error(_0x37f744(0x346));}[_0x5b1a3a(0x313)](){const _0x4a8594=_0x5b1a3a;this['_sendingTimer']!=null&&(clearTimeout(this[_0x4a8594(0x3aa)]),this[_0x4a8594(0x3aa)]=null);}[_0x5b1a3a(0x386)](_0x15ce56){const _0x332c76=_0x5b1a3a;return this[_0x332c76(0x313)](),this[_0x332c76(0x4e1)][_0x332c76(0x4a9)](Re,this[_0x332c76(0x41c)],this[_0x332c76(0x23f)],null,this[_0x332c76(0x1fb)],this['_handler'],_0x15ce56);}};pe=Le([A(0x4,_0x28839c(_0x1027b3)),A(0x5,_0x28839c(_0x137cc2)),A(0x6,_0x28839c(q)),A(0x7,_0x28839c(Ne)),A(0x8,_0x418a3e),A(0x9,_0x10ec6b),A(0xa,_0x5d6cbd),A(0xb,_0xef8dcd),A(0xc,_0x578cb),A(0xd,_0x1ffd7c)],pe);let Te=class extends $e{constructor(_0x4bf5f9,_0x2db7a1,_0x3aa3ea,_0x250770,_0x46ed7a,_0x5cda4e,_0x31f210,_0x3ad55f,_0x2127b9,_0x2f9143,_0x2e8b6e){const _0x36b564=_0x5b1a3a;super(_0x4bf5f9,_0x2db7a1,_0x3aa3ea,[],_0x250770,_0x3ad55f,_0x2e8b6e,_0x5cda4e,_0x31f210),g(this,_0x36b564(0x4e8),_0x36b564(0x55e)),g(this,'_resendTimeout',0x0),g(this,_0x36b564(0x1c3)),g(this,'_sender'),(this[_0x36b564(0x4e1)]=_0x46ed7a,this[_0x36b564(0x2b5)]=_0x2127b9,this[_0x36b564(0x427)]=_0x2f9143);}['appendMutation'](_0x52ef1f){const _0x5df48f=_0x5b1a3a;this[_0x5df48f(0x313)]();const _0x1bb637=this[_0x5df48f(0x4e1)]['createInstance'](ge,this[_0x5df48f(0x41c)],this['type'],this[_0x5df48f(0x3e8)],[_0x52ef1f],this[_0x5df48f(0x2a5)],this[_0x5df48f(0x1c3)]);return _0x1bb637[_0x5df48f(0x229)](),_0x1bb637;}[_0x5b1a3a(0x1c6)](_0x46fe8d){const _0xb8e2d5=_0x5b1a3a;if(this[_0xb8e2d5(0x34a)](_0x46fe8d))return this[_0xb8e2d5(0x313)](),this[_0xb8e2d5(0x4e1)][_0xb8e2d5(0x4a9)](he,this[_0xb8e2d5(0x41c)],this[_0xb8e2d5(0x23f)],this[_0xb8e2d5(0x3e8)],[],null,[_0x46fe8d],this['_handler']);try{const _0x21af79=this['_transformService'][_0xb8e2d5(0x52a)]([_0x46fe8d],[this[_0xb8e2d5(0x3e8)]],!0x1);if(_0x4d5d49(_0x21af79)){const {c1Prime:_0x3f82f8,c2Prime:_0x562f3a}=_0x21af79;this['_executeRemoteChangeset'](_0x3f82f8[0x0]),_0x562f3a[0x0][_0xb8e2d5(0x48d)]=this[_0xb8e2d5(0x30e)](),this[_0xb8e2d5(0x313)]();const _0x29460a=this['_injector'][_0xb8e2d5(0x4a9)](Te,this[_0xb8e2d5(0x41c)],this['type'],_0x562f3a[0x0],this[_0xb8e2d5(0x2a5)]);return _0x29460a[_0xb8e2d5(0x229)](),_0x29460a;}return this[_0xb8e2d5(0x386)](!0x1);}catch(_0xd2df76){return this[_0xb8e2d5(0x2b5)][_0xb8e2d5(0x237)](_0xd2df76),this['_onConflict'](!0x1);}}[_0x5b1a3a(0x4e7)](_0x43910d){const _0x44bb38=_0x5b1a3a;this[_0x44bb38(0x313)]();const _0xa8f578=this[_0x44bb38(0x4f2)]['getCurrentRevOfUnit'](this[_0x44bb38(0x41c)]);if(_0x43910d[_0x44bb38(0x49c)]<_0xa8f578-0x1)return this;if(this[_0x44bb38(0x34a)](_0x43910d))return this['_injector'][_0x44bb38(0x4a9)](he,this['unitID'],this[_0x44bb38(0x23f)],null,[],this[_0x44bb38(0x3e8)],[],this[_0x44bb38(0x2a5)]);this[_0x44bb38(0x1e1)]();const _0x4782e0=this[_0x44bb38(0x4e1)][_0x44bb38(0x4a9)](Fe,this[_0x44bb38(0x41c)],this[_0x44bb38(0x23f)],this['_handler']);return _0x4782e0[_0x44bb38(0x229)](),_0x4782e0;}['onRemoteRej'](_0x5bdc4c){return this['_onConflict'](!!(_0x5bdc4c!=null&&_0x5bdc4c['isPermissionRej']));}['onRemoteRetry'](_0x3d5d37){const _0xa49bd7=_0x5b1a3a;return this[_0xa49bd7(0x56b)]>Ni?this['toggleOffline']():(this['_resendTimer']=Ui(this['_resendTimeout'],{'timeout':this['_resendTimeout'],'reqId':_0x3d5d37[_0xa49bd7(0x486)]}),this[_0xa49bd7(0x222)]=this['_resendTimer']['subscribe'](({reqId:_0x5792d6,timeout:_0x5a2b8c})=>{const _0x27fe0d=_0xa49bd7;this[_0x27fe0d(0x3d2)](_0x5792d6,_0x5a2b8c);}),this);}[_0x5b1a3a(0x1a1)](){const _0x259c22=_0x5b1a3a;return this[_0x259c22(0x313)](),this[_0x259c22(0x4e1)]['createInstance'](ye,this[_0x259c22(0x41c)],this[_0x259c22(0x23f)],this[_0x259c22(0x3e8)],[],this[_0x259c22(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}['resend'](){const _0x3cb880=_0x5b1a3a;this[_0x3cb880(0x2a5)][_0x3cb880(0x481)](this['_awaitingChangeset']);}[_0x5b1a3a(0x386)](_0x18b731){const _0x48bc5a=_0x5b1a3a;return this[_0x48bc5a(0x313)](),this[_0x48bc5a(0x4e1)][_0x48bc5a(0x4a9)](Re,this[_0x48bc5a(0x41c)],this[_0x48bc5a(0x23f)],this[_0x48bc5a(0x3e8)],[],this[_0x48bc5a(0x2a5)],_0x18b731);}[_0x5b1a3a(0x3d2)](_0x3db1e1,_0x5a280f){var _0xc69fcf;_0x3db1e1===((_0xc69fcf=this['_awaitingChangeset'])==null?void 0x0:_0xc69fcf['reqId'])&&(this['resend'](),this['_resendTimeout']=_0x5a280f===0x0?0x3e8:_0x5a280f*0x2);}['_clearScheduledTask'](){const _0x189a42=_0x5b1a3a;var _0x2770a6;(_0x2770a6=this[_0x189a42(0x222)])==null||_0x2770a6[_0x189a42(0x403)](),this[_0x189a42(0x56b)]=0x0;}};Te=Le([A(0x4,_0x28839c(_0x1027b3)),A(0x5,_0x28839c(_0x137cc2)),A(0x6,_0x28839c(q)),A(0x7,_0x10ec6b),A(0x8,_0x418a3e),A(0x9,_0xef8dcd),A(0xa,_0x1ffd7c)],Te);let ge=class extends $e{constructor(_0xdc3226,_0xa9f1cf,_0x3bc274,_0x5b2b45,_0x30e13c,_0x292328,_0x1207f3,_0x4cb605,_0x5e3cd1,_0x509985,_0x38c3cf,_0x5bb19e,_0x3a3cb6){const _0xde0606=_0x5b1a3a;super(_0xdc3226,_0xa9f1cf,_0x3bc274,_0x5b2b45,_0x30e13c,_0x509985,_0x3a3cb6,_0x4cb605,_0x5e3cd1),g(this,'status',_0xde0606(0x554)),g(this,_0xde0606(0x56b),0x0),g(this,_0xde0606(0x1c3)),g(this,_0xde0606(0x222)),(this[_0xde0606(0x4e1)]=_0x1207f3,this[_0xde0606(0x2b5)]=_0x38c3cf,this['_transformService']=_0x5bb19e,_0x292328&&(this['_resendTimer']=_0x292328,this[_0xde0606(0x222)]=this[_0xde0606(0x1c3)][_0xde0606(0x570)](({reqId:_0x4f53e6,timeout:_0xf951e0})=>{const _0x5e703b=_0xde0606;this[_0x5e703b(0x3d2)](_0x4f53e6,_0xf951e0);})));}[_0x5b1a3a(0x2c9)](_0x494108){const _0x55fb44=_0x5b1a3a;return this['_pendingMutations'][_0x55fb44(0x44a)](_0x494108),this;}['onRemoteChangeset'](_0xd317b1){const _0x2a9274=_0x5b1a3a;if(this[_0x2a9274(0x34a)](_0xd317b1))return this[_0x2a9274(0x313)](),this[_0x2a9274(0x4e1)][_0x2a9274(0x4a9)](he,this[_0x2a9274(0x41c)],this[_0x2a9274(0x23f)],this[_0x2a9274(0x3e8)],this[_0x2a9274(0x1fb)],null,[_0xd317b1],this[_0x2a9274(0x2a5)]);try{const _0x15db13=this[_0x2a9274(0x427)][_0x2a9274(0x52a)]([_0xd317b1],[this['_awaitingChangeset']],!0x1);if(_0x4d5d49(_0x15db13)){const {c1Prime:_0x4c6553,c2Prime:_0x53dc78}=_0x15db13,_0x53eb84=this[_0x2a9274(0x427)][_0x2a9274(0x280)](_0x4c6553[0x0],this[_0x2a9274(0x1fb)]);if(_0x582252(_0x53eb84)){const {c1Prime:_0x20ca24,m2Prime:_0x3bbfb5}=_0x53eb84;return this[_0x2a9274(0x275)](_0x20ca24),_0x53dc78[0x0][_0x2a9274(0x48d)]=this[_0x2a9274(0x30e)](),this[_0x2a9274(0x313)](),this[_0x2a9274(0x4e1)]['createInstance'](ge,this[_0x2a9274(0x41c)],this[_0x2a9274(0x23f)],_0x53dc78[0x0],_0x3bbfb5,this[_0x2a9274(0x2a5)],void 0x0);}throw _0x53eb84[_0x2a9274(0x237)];}throw _0x15db13[_0x2a9274(0x237)];}catch(_0x446d4b){return this['_logService'][_0x2a9274(0x237)](_0x446d4b),this[_0x2a9274(0x386)](!0x1);}}[_0x5b1a3a(0x4e7)](_0x42aaf8){const _0x56cabd=_0x5b1a3a;if(this['_clearScheduledTask'](),this[_0x56cabd(0x34a)](_0x42aaf8))return this[_0x56cabd(0x4e1)]['createInstance'](he,this[_0x56cabd(0x41c)],this[_0x56cabd(0x23f)],null,this[_0x56cabd(0x1fb)],this[_0x56cabd(0x3e8)],[],this['_handler']);this[_0x56cabd(0x1e1)]();const _0x40be86=this['_injector'][_0x56cabd(0x4a9)](pe,this[_0x56cabd(0x41c)],this[_0x56cabd(0x23f)],this['_pendingMutations'],this[_0x56cabd(0x2a5)]);return _0x40be86[_0x56cabd(0x26d)](),_0x40be86[_0x56cabd(0x229)](),_0x40be86;}['onRemoteRej'](_0x422d6c){return this['_onConflict'](!!(_0x422d6c!=null&&_0x422d6c['isPermissionRej']));}[_0x5b1a3a(0x3c7)](_0x4f8ceb){const _0x3668bd=_0x5b1a3a;return this['_resendTimeout']>Ni?this[_0x3668bd(0x1a1)]():(this[_0x3668bd(0x1c3)]=Ui(this[_0x3668bd(0x56b)],{'timeout':this[_0x3668bd(0x56b)],'reqId':_0x4f8ceb[_0x3668bd(0x486)]}),this[_0x3668bd(0x222)]=this['_resendTimer'][_0x3668bd(0x570)](({reqId:_0x548304,timeout:_0x3bdfd7})=>{const _0x3ccaca=_0x3668bd;this[_0x3ccaca(0x3d2)](_0x548304,_0x3bdfd7);}),this);}[_0x5b1a3a(0x1a1)](){const _0x311378=_0x5b1a3a;return this[_0x311378(0x313)](),this['_injector'][_0x311378(0x4a9)](ye,this[_0x311378(0x41c)],this[_0x311378(0x23f)],this[_0x311378(0x3e8)],this[_0x311378(0x1fb)],this[_0x311378(0x2a5)]);}['toggleOnline'](){return this;}[_0x5b1a3a(0x24d)](){const _0x248d2b=_0x5b1a3a;this[_0x248d2b(0x2a5)][_0x248d2b(0x481)](this[_0x248d2b(0x3e8)]);}[_0x5b1a3a(0x386)](_0x20ec09){const _0x4f8577=_0x5b1a3a;return this[_0x4f8577(0x313)](),this['_injector'][_0x4f8577(0x4a9)](Re,this[_0x4f8577(0x41c)],this[_0x4f8577(0x23f)],null,this[_0x4f8577(0x1fb)],this[_0x4f8577(0x2a5)],_0x20ec09);}[_0x5b1a3a(0x3d2)](_0x32909c,_0x1487b2){const _0x310f69=_0x5b1a3a;var _0x1fbd97;_0x32909c===((_0x1fbd97=this['_awaitingChangeset'])==null?void 0x0:_0x1fbd97[_0x310f69(0x486)])&&(this[_0x310f69(0x24d)](),this[_0x310f69(0x56b)]=_0x1487b2===0x0?0x3e8:_0x1487b2*0x2);}[_0x5b1a3a(0x313)](){const _0x354438=_0x5b1a3a;var _0x1718f6;(_0x1718f6=this[_0x354438(0x222)])==null||_0x1718f6[_0x354438(0x403)](),this[_0x354438(0x56b)]=0x0;}};ge=Le([A(0x6,_0x28839c(_0x1027b3)),A(0x7,_0x28839c(_0x137cc2)),A(0x8,_0x28839c(q)),A(0x9,_0x10ec6b),A(0xa,_0x418a3e),A(0xb,_0xef8dcd),A(0xc,_0x1ffd7c)],ge);let Re=class extends $e{constructor(_0x5da672,_0xc1a8f2,_0x1168fa,_0x35e407,_0x49e130,_0x463703=!0x1,_0x72df2b,_0x5daba7,_0x2df124,_0x2242e1,_0x431442,_0x5aef64,_0x59d42e){const _0x1c7bdf=_0x5b1a3a;super(_0x5da672,_0xc1a8f2,_0x1168fa,_0x35e407,_0x49e130,_0x5daba7,_0x2df124,_0x431442,_0x2242e1),g(this,_0x1c7bdf(0x4e8),_0x1c7bdf(0x2c0)),(this['_isPermissionRej']=_0x463703,this[_0x1c7bdf(0x218)]=_0x72df2b,this['_localeService']=_0x5aef64,this[_0x1c7bdf(0x3d7)]=_0x59d42e,this[_0x1c7bdf(0x301)](),this[_0x1c7bdf(0x3e4)](),this[_0x1c7bdf(0x468)]());}[_0x5b1a3a(0x2c9)](){return this;}[_0x5b1a3a(0x1c6)](){return this;}[_0x5b1a3a(0x4e7)](){return this;}[_0x5b1a3a(0x24b)](){return this;}[_0x5b1a3a(0x3c7)](){return this;}[_0x5b1a3a(0x1a1)](){return this;}['toggleOnline'](){return this;}['resend'](){const _0x46faa3=_0x5b1a3a;throw new Error(_0x46faa3(0x38a));}[_0x5b1a3a(0x3e4)](){const _0x33be0b=_0x5b1a3a;this[_0x33be0b(0x2af)][_0x33be0b(0x2ff)](this[_0x33be0b(0x41c)],this['type'],null,[]);}[_0x5b1a3a(0x301)](){const _0x53a748=_0x5b1a3a;this['_isPermissionRej']?this[_0x53a748(0x3d7)]['show']({'title':this[_0x53a748(0x273)]['t'](_0x53a748(0x211)),'content':this[_0x53a748(0x273)]['t'](_0x53a748(0x4e4)),'type':_0x53a748(0x237),'duration':0x0}):this[_0x53a748(0x3d7)]['show']({'title':this[_0x53a748(0x273)]['t'](_0x53a748(0x464)),'content':this[_0x53a748(0x273)]['t'](_0x53a748(0x361)),'type':_0x53a748(0x237),'duration':0x0});}[_0x5b1a3a(0x468)](){const _0x31199a=_0x5b1a3a;this[_0x31199a(0x218)][_0x31199a(0x199)](new _0x192248(this[_0x31199a(0x41c)])['id'],!0x1);}};Re=Le([A(0x6,_0x28839c(_0x2da20a)),A(0x7,_0x10ec6b),A(0x8,_0x1ffd7c),A(0x9,_0x28839c(q)),A(0xa,_0x28839c(_0x137cc2)),A(0xb,_0x28839c(_0x173a06)),A(0xc,_0x46687a)],Re);let ye=class extends $e{constructor(_0x210f0b,_0x79c447,_0x1a3aeb,_0x171def,_0x32b272,_0x1854ad,_0x2b3c49,_0x1a659e,_0x1e2f6a,_0x206b28){const _0x180b3d=_0x5b1a3a;super(_0x210f0b,_0x79c447,_0x1a3aeb,_0x171def,_0x32b272,_0x1e2f6a,_0x206b28,_0x2b3c49,_0x1a659e),g(this,'status',_0x180b3d(0x328)),this['_injector']=_0x1854ad;}['appendMutation'](_0x11d8af){const _0x333b40=_0x5b1a3a;return this[_0x333b40(0x1fb)][_0x333b40(0x44a)](_0x11d8af),this[_0x333b40(0x229)](),this;}[_0x5b1a3a(0x1c6)](_0x128a48){const _0x2b1b2d=_0x5b1a3a;throw new Error(_0x2b1b2d(0x47c));}['onRemoteAck'](){throw new Error('[OfflineState]:\x20received\x20acknowledgement.');}[_0x5b1a3a(0x24b)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x5b1a3a(0x3c7)](){return this;}['toggleOffline'](){return this;}[_0x5b1a3a(0x4ab)](){const _0xb10133=_0x5b1a3a,{_injector:_0x2aac04,_pendingMutations:_0x3eeb48,_awaitingChangeset:_0x169b3a,unitID:_0x2cc4ff,_handler:_0xdecc2b,type:_0x3396bf}=this,_0x3dc454=Ai(_0x2aac04,_0x2cc4ff,_0x3396bf,_0x169b3a,_0x3eeb48,_0xdecc2b);return _0x3dc454 instanceof pe?_0x3dc454[_0xb10133(0x26d)]():(_0x3dc454 instanceof ge||_0x3dc454 instanceof Te)&&_0x3dc454[_0xb10133(0x24d)](),_0x3dc454;}[_0x5b1a3a(0x24d)](){const _0x11fc4c=_0x5b1a3a;throw new Error(_0x11fc4c(0x49e));}};ye=Le([A(0x5,_0x28839c(_0x1027b3)),A(0x6,_0x28839c(_0x137cc2)),A(0x7,_0x28839c(q)),A(0x8,_0x10ec6b),A(0x9,_0x1ffd7c)],ye);let he=class extends $e{constructor(_0x65d82f,_0x33b75b,_0x255e0e,_0x28df1e,_0x3940df,_0x48e23c,_0x44d57a,_0x1ac946,_0x3531bf,_0x143eb1,_0x3147bc,_0x46634f,_0x33a949,_0x1d131a){const _0x30270d=_0x5b1a3a;super(_0x65d82f,_0x33b75b,_0x255e0e,_0x28df1e,_0x44d57a,_0x46634f,_0x33a949,_0x3531bf,_0x143eb1),g(this,'status','fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x3940df,this[_0x30270d(0x4fe)]=_0x48e23c,this['_injector']=_0x1ac946,this['_logService']=_0x3147bc,this[_0x30270d(0x427)]=_0x1d131a);}['onMissedChangesetFetched'](_0x38b24b){const _0x297dc0=_0x5b1a3a;try{const _0x5e27b5=[..._0x38b24b,...this[_0x297dc0(0x4fe)]],_0x546b4e=[this[_0x297dc0(0x3e8)]||this[_0x297dc0(0x2a4)]][_0x297dc0(0x2b0)](_0x217cf8=>!!_0x217cf8);let _0x2063a4,_0x4e7c07;if(_0x546b4e[_0x297dc0(0x29a)]){const _0x20a3da=this[_0x297dc0(0x427)][_0x297dc0(0x52a)](_0x5e27b5,_0x546b4e,!0x1);if(!_0x4d5d49(_0x20a3da))throw _0x20a3da[_0x297dc0(0x237)];_0x2063a4=_0x20a3da['c1Prime'],_0x4e7c07=_0x20a3da[_0x297dc0(0x209)];}else _0x2063a4=_0x5e27b5,_0x4e7c07=[];let _0x3f91e7=this[_0x297dc0(0x1fb)];_0x2063a4[_0x297dc0(0x2a1)](_0x38ec33=>{const _0x4992ba=_0x297dc0;let _0x30367d;if(_0x3f91e7[_0x4992ba(0x29a)]){const _0x3dea0d=this[_0x4992ba(0x427)][_0x4992ba(0x280)](_0x38ec33,_0x3f91e7);if(!_0x582252(_0x3dea0d))throw _0x3dea0d[_0x4992ba(0x237)];_0x30367d=_0x3dea0d[_0x4992ba(0x45a)],_0x3f91e7=_0x3dea0d['m2Prime'];}else _0x30367d=_0x38ec33;this[_0x4992ba(0x275)](_0x30367d);}),this[_0x297dc0(0x2a4)]&&this[_0x297dc0(0x1e1)](),this[_0x297dc0(0x3e8)]&&_0x4e7c07['length']&&(_0x4e7c07[0x0][_0x297dc0(0x48d)]=this[_0x297dc0(0x30e)]());let _0x50bf4d;if(this[_0x297dc0(0x3e8)]&&_0x3f91e7['length']!==0x0)_0x50bf4d=this[_0x297dc0(0x4e1)]['createInstance'](ge,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x4e7c07[0x0],_0x3f91e7,this[_0x297dc0(0x2a5)],void 0x0);else{if(this[_0x297dc0(0x3e8)]&&_0x3f91e7[_0x297dc0(0x29a)]===0x0)_0x4e7c07[0x0]['baseRev']=this[_0x297dc0(0x30e)](),_0x50bf4d=this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Te,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x4e7c07[0x0],this[_0x297dc0(0x2a5)]);else{if(_0x3f91e7[_0x297dc0(0x29a)]!==0x0){const _0x2454bd=this['_injector'][_0x297dc0(0x4a9)](pe,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],_0x3f91e7,this['_handler']);_0x2454bd[_0x297dc0(0x26d)](),_0x50bf4d=_0x2454bd;}else _0x50bf4d=this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Fe,this[_0x297dc0(0x41c)],this[_0x297dc0(0x23f)],this['_handler']);}}return _0x50bf4d[_0x297dc0(0x229)](),_0x50bf4d;}catch(_0x4467a8){return this[_0x297dc0(0x2b5)]['error'](_0x297dc0(0x216),_0x297dc0(0x348),_0x4467a8),this[_0x297dc0(0x4e1)][_0x297dc0(0x4a9)](Re,this['unitID'],this[_0x297dc0(0x23f)],this[_0x297dc0(0x3e8)],this[_0x297dc0(0x1fb)],this[_0x297dc0(0x2a5)],!0x1);}}[_0x5b1a3a(0x24d)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x5b1a3a(0x2c9)](_0xc445a1){const _0x470bf6=_0x5b1a3a;return this[_0x470bf6(0x1fb)][_0x470bf6(0x44a)](_0xc445a1),this;}[_0x5b1a3a(0x1c6)](_0x3a136e){const _0x497747=_0x5b1a3a;return this[_0x497747(0x4fe)]['push'](_0x3a136e),this;}['onRemoteAck'](_0x364ee9){const _0x1ca6f5=_0x5b1a3a;if(this['_awaitingChangeset'])return this['_acknowledgedAwaitingChangeset']=this[_0x1ca6f5(0x3e8)],this[_0x1ca6f5(0x3e8)]=null,this;throw new Error(_0x1ca6f5(0x28a));}[_0x5b1a3a(0x24b)](_0x43328f){const _0x32b969=_0x5b1a3a;return this['_onConflict'](!!(_0x43328f!=null&&_0x43328f[_0x32b969(0x278)]));}['onRemoteRetry'](){return this;}[_0x5b1a3a(0x1a1)](){const _0x3eb822=_0x5b1a3a;return this[_0x3eb822(0x4e1)]['createInstance'](ye,this[_0x3eb822(0x41c)],this[_0x3eb822(0x23f)],this['_awaitingChangeset'],this[_0x3eb822(0x1fb)],this[_0x3eb822(0x2a5)]);}[_0x5b1a3a(0x4ab)](){return this;}[_0x5b1a3a(0x386)](_0x3a6e4a){const _0x55ecbf=_0x5b1a3a;return this['_injector'][_0x55ecbf(0x4a9)](Re,this[_0x55ecbf(0x41c)],this[_0x55ecbf(0x23f)],this[_0x55ecbf(0x3e8)],this[_0x55ecbf(0x1fb)],this[_0x55ecbf(0x2a5)],_0x3a6e4a);}};he=Le([A(0x7,_0x28839c(_0x1027b3)),A(0x8,_0x28839c(_0x137cc2)),A(0x9,_0x28839c(q)),A(0xa,_0x418a3e),A(0xb,_0x10ec6b),A(0xc,_0x1ffd7c),A(0xd,_0xef8dcd)],he);function Ai(_0x154a5c,_0x23c213,_0x121448,_0x3459ea,_0x54e3f9,_0x30e6a1){const _0x4c4021=_0x5b1a3a;return _0x3459ea&&_0x54e3f9[_0x4c4021(0x29a)]?_0x154a5c[_0x4c4021(0x4a9)](ge,_0x23c213,_0x121448,_0x3459ea,_0x54e3f9,_0x30e6a1,void 0x0):_0x3459ea?_0x154a5c[_0x4c4021(0x4a9)](Te,_0x23c213,_0x121448,_0x3459ea,_0x30e6a1):_0x54e3f9[_0x4c4021(0x29a)]?_0x154a5c[_0x4c4021(0x4a9)](pe,_0x23c213,_0x121448,_0x54e3f9,_0x30e6a1):_0x154a5c['createInstance'](Fe,_0x23c213,_0x121448,_0x30e6a1);}var mo=Object[_0x5b1a3a(0x3dc)],po=Object['getOwnPropertyDescriptor'],Es=(_0x2a5141,_0x57e274,_0x3eac21,_0x1fac2a)=>{const _0x3f7e7b=_0x5b1a3a;for(var _0x5e0031=_0x1fac2a>0x1?void 0x0:_0x1fac2a?po(_0x57e274,_0x3eac21):_0x57e274,_0x267fd2=_0x2a5141[_0x3f7e7b(0x29a)]-0x1,_0x37ac26;_0x267fd2>=0x0;_0x267fd2--)(_0x37ac26=_0x2a5141[_0x267fd2])&&(_0x5e0031=(_0x1fac2a?_0x37ac26(_0x57e274,_0x3eac21,_0x5e0031):_0x37ac26(_0x5e0031))||_0x5e0031);return _0x1fac2a&&_0x5e0031&&mo(_0x57e274,_0x3eac21,_0x5e0031),_0x5e0031;},H=(_0x4667c0,_0xc295e)=>(_0x4f72f4,_0x983c40)=>_0xc295e(_0x4f72f4,_0x983c40,_0x4667c0);let St=class extends _0x203b2a{constructor(_0x327010,_0x3ebb06,_0x4304a5,_0x119964,_0x3cf8c3,_0x3f8185,_0x4b44d1,_0x1897f6,_0x22da9a,_0x12a16b,_0x4577ad,_0x5d5cd5,_0x36a41f){const _0x251d4d=_0x5b1a3a;super(),g(this,_0x251d4d(0x1fa),new _0x1ce182(null)),g(this,'state$',this[_0x251d4d(0x1fa)][_0x251d4d(0x319)]()),g(this,'_state'),g(this,_0x251d4d(0x4c0),!0x1),g(this,_0x251d4d(0x516),''),g(this,_0x251d4d(0x1e6),0x0),g(this,_0x251d4d(0x433),this['state$'][_0x251d4d(0x1ff)](_0x124199(_0x2e1b28=>_0x2e1b28?_0x2e1b28[_0x251d4d(0x4e8)]:J[_0x251d4d(0x405)]),_0x16cb04(0x1))),g(this,_0x251d4d(0x445),!0x1),g(this,'_remoteChangesetQueue',[]),(this[_0x251d4d(0x41c)]=_0x327010,this['session']=_0x3ebb06,this[_0x251d4d(0x303)]=_0x4304a5,this[_0x251d4d(0x4e1)]=_0x119964,this[_0x251d4d(0x2af)]=_0x3cf8c3,this[_0x251d4d(0x38d)]=_0x3f8185,this[_0x251d4d(0x273)]=_0x4b44d1,this[_0x251d4d(0x4f2)]=_0x1897f6,this[_0x251d4d(0x2b5)]=_0x22da9a,this[_0x251d4d(0x50d)]=_0x12a16b,this[_0x251d4d(0x402)]=_0x4577ad,this['_permissionService']=_0x5d5cd5,this[_0x251d4d(0x317)]=_0x36a41f);}get['state'](){const _0x5e0f61=_0x5b1a3a;return this[_0x5e0f61(0x576)];}async[_0x5b1a3a(0x1bc)](){const _0x152371=_0x5b1a3a;if(this['state'])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this[_0x152371(0x26b)]();}[_0x5b1a3a(0x47f)](){const _0x4a7f1a=_0x5b1a3a;return this[_0x4a7f1a(0x4c0)]=!0x0,_0x529295(()=>{const _0x225790=_0x4a7f1a;this[_0x225790(0x4c0)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x5b1a3a(0x440)](_0x51a4c1){const _0x8b54ac=_0x5b1a3a;this[_0x8b54ac(0x576)]=_0x51a4c1,this[_0x8b54ac(0x1fa)][_0x8b54ac(0x424)](_0x51a4c1);}async[_0x5b1a3a(0x26b)](){const _0x1aec23=_0x5b1a3a;var _0x2ddfe1;this[_0x1aec23(0x440)](await this[_0x1aec23(0x3e5)]()),this[_0x1aec23(0x317)]&&((_0x2ddfe1=this[_0x1aec23(0x317)])==null||_0x2ddfe1[_0x1aec23(0x3c2)](this[_0x1aec23(0x41c)]),this[_0x1aec23(0x4b9)](this['_singleActiveUnitService']['getUnitStatus$'](this[_0x1aec23(0x41c)])[_0x1aec23(0x570)](_0x2175b1=>{const _0x56071a=_0x1aec23;this[_0x56071a(0x2b5)][_0x56071a(0x1b6)]('[CollaborationEntity]',_0x56071a(0x2e5),_0x2175b1),_0x2175b1===Di['OTHER_CLIENTS_EDITING']?(this[_0x56071a(0x402)][_0x56071a(0x3c1)]({'content':this[_0x56071a(0x273)]['t'](_0x56071a(0x366)),'type':_0x47c858[_0x56071a(0x3f4)]}),this[_0x56071a(0x218)][_0x56071a(0x199)](new _0x192248(this[_0x56071a(0x41c)])['id'],!0x1),this[_0x56071a(0x218)][_0x56071a(0x541)](!0x1)):(this[_0x56071a(0x218)]['updatePermissionPoint'](new _0x192248(this['unitID'])['id'],!0x0),this[_0x56071a(0x218)][_0x56071a(0x541)](!0x0));})));let _0x2dcc25=!0x1;return this['disposeWithMe'](this[_0x1aec23(0x455)]['sessionStatus$']['subscribe'](_0x5c17dd=>{const _0x35807f=_0x1aec23;_0x5c17dd===ve[_0x35807f(0x3c5)]?this[_0x35807f(0x2f9)](_0x2dcc25):_0x5c17dd===ve['OFFLINE']&&(_0x2dcc25=!0x0,this['_toggleOffline']());})),this['disposeWithMe'](this[_0x1aec23(0x455)]['event$']['subscribe'](_0x49817c=>{const _0x370dc2=_0x1aec23;try{switch(_0x49817c['eventID']){case _0x2f5341[_0x370dc2(0x1be)]:{this[_0x370dc2(0x2d8)](_0xb8de49(_0x49817c[_0x370dc2(0x529)]));break;}case _0x2f5341[_0x370dc2(0x2ad)]:{this[_0x370dc2(0x21d)](_0x49817c[_0x370dc2(0x529)]);break;}case _0x2f5341[_0x370dc2(0x281)]:{this[_0x370dc2(0x28b)]();break;}case _0x2f5341[_0x370dc2(0x276)]:{this['_onRemoteRetry'](_0x49817c[_0x370dc2(0x529)]);break;}case _0x2f5341['PSEUDO_FETCH_MISSING_RESULT']:{this[_0x370dc2(0x43c)](_0x49817c[_0x370dc2(0x529)][_0x370dc2(0x4c6)][_0x370dc2(0x208)](_0x322b4b=>_0xb8de49(_0x322b4b)));break;}case _0x2f5341[_0x370dc2(0x57d)]:this[_0x370dc2(0x28b)]({'isPermissionRej':!0x0});}}catch(_0x29ecf7){throw console[_0x370dc2(0x237)](_0x370dc2(0x1fe),_0x29ecf7),_0x29ecf7;}})),this[_0x1aec23(0x576)];}['_unlockTransition'](){const _0x3f0918=_0x5b1a3a;this[_0x3f0918(0x445)]=!0x1;}['_lockTransition'](){const _0x3a7161=_0x5b1a3a;if(this[_0x3a7161(0x445)])throw new Error(_0x3a7161(0x480));this[_0x3a7161(0x445)]=!0x0;}[_0x5b1a3a(0x1c0)](_0x4ad5fb){const _0x22f125=_0x5b1a3a;this[_0x22f125(0x184)](),this[_0x22f125(0x440)](this['_state'][_0x22f125(0x2c9)](_0x4ad5fb)),this[_0x22f125(0x34f)]();}[_0x5b1a3a(0x2d8)](_0x539038){const _0x379c9b=_0x5b1a3a;if(!(_0x539038[_0x379c9b(0x49c)]<=this['_revisionService'][_0x379c9b(0x259)](this[_0x379c9b(0x41c)]))){if(this[_0x379c9b(0x4c0)]){this['_remoteChangesetQueue'][_0x379c9b(0x44a)](_0x539038);return;}this[_0x379c9b(0x1aa)](_0x539038);}}[_0x5b1a3a(0x457)](){const _0x3ca0a8=_0x5b1a3a;this[_0x3ca0a8(0x514)][_0x3ca0a8(0x2a1)](_0x2f02d3=>this[_0x3ca0a8(0x1aa)](_0x2f02d3)),this['_remoteChangesetQueue']=[];}[_0x5b1a3a(0x1aa)](_0x1e9a42){const _0x5df064=_0x5b1a3a,_0x4e7c05=this[_0x5df064(0x38d)]['interceptor'][_0x5df064(0x41f)](this[_0x5df064(0x38d)]['interceptor'][_0x5df064(0x450)]()[_0x5df064(0x34d)])(_0x1e9a42[_0x5df064(0x260)],null)||_0x1e9a42['mutations'],_0x2cfa05={..._0x1e9a42,'mutations':_0x4e7c05};this[_0x5df064(0x184)](),this[_0x5df064(0x440)](this['_state']['onRemoteChangeset'](_0x2cfa05)),this[_0x5df064(0x34f)]();}[_0x5b1a3a(0x21d)](_0x811c66){const _0x279d8a=_0x5b1a3a;this[_0x279d8a(0x184)](),this[_0x279d8a(0x440)](this[_0x279d8a(0x576)]['onRemoteAck'](_0x811c66)),this['_unlockTransition']();}[_0x5b1a3a(0x28b)](_0x2c4319){const _0x2a1eb1=_0x5b1a3a;this[_0x2a1eb1(0x184)](),this['_updateState'](this[_0x2a1eb1(0x576)][_0x2a1eb1(0x24b)](_0x2c4319)),this[_0x2a1eb1(0x34f)]();}[_0x5b1a3a(0x23c)](_0x1af0d8){const _0xf4f516=_0x5b1a3a;this[_0xf4f516(0x184)](),this[_0xf4f516(0x440)](this[_0xf4f516(0x576)][_0xf4f516(0x3c7)](_0x1af0d8)),this[_0xf4f516(0x34f)]();}[_0x5b1a3a(0x43c)](_0x3ecbe1){const _0x2471b2=_0x5b1a3a;if(!(this[_0x2471b2(0x576)]instanceof he))throw new TypeError(_0x2471b2(0x18a));const _0x1dacbd=_0x3ecbe1['map'](_0x4074c1=>{const _0x4ccc09=_0x2471b2,_0x326f69=this[_0x4ccc09(0x38d)][_0x4ccc09(0x219)][_0x4ccc09(0x41f)](this[_0x4ccc09(0x38d)][_0x4ccc09(0x219)][_0x4ccc09(0x450)]()[_0x4ccc09(0x34d)])(_0x4074c1[_0x4ccc09(0x260)],null)||_0x4074c1[_0x4ccc09(0x260)];return{..._0x4074c1,'mutations':_0x326f69};});this['_lockTransition'](),this[_0x2471b2(0x440)](this[_0x2471b2(0x576)]['onMissedChangesetFetched'](_0x1dacbd)),this['_unlockTransition']();}[_0x5b1a3a(0x410)](){const _0x21e3e1=_0x5b1a3a;this[_0x21e3e1(0x184)](),this['_updateState'](this[_0x21e3e1(0x576)]['toggleOffline']()),this[_0x21e3e1(0x34f)]();}[_0x5b1a3a(0x2f9)](_0x4a1625=!0x1){const _0x41977e=_0x5b1a3a;this[_0x41977e(0x184)](),this['_updateState'](this['_state'][_0x41977e(0x4ab)]()),this[_0x41977e(0x34f)]();const _0x3e9e8b=this[_0x41977e(0x576)];_0x4a1625&&_0x3e9e8b instanceof Fe&&(this['_lockTransition'](),this[_0x41977e(0x440)](_0x3e9e8b[_0x41977e(0x48a)]()),this[_0x41977e(0x34f)]());}async[_0x5b1a3a(0x3e5)](){return new Promise(_0x4ca772=>{const _0x10cde1=_0xa0d1;this[_0x10cde1(0x455)][_0x10cde1(0x494)][_0x10cde1(0x1ff)](_0x4725fb(0x1))[_0x10cde1(0x570)](async _0x3a3ae8=>{const _0x535fbb=_0x10cde1;_0x4ca772(await this[_0x535fbb(0x50e)](_0x3a3ae8===ve[_0x535fbb(0x3c5)]));});});}[_0x5b1a3a(0x2a0)](){const _0x26174a=_0x5b1a3a,_0x854670=this[_0x26174a(0x41c)];return{'onStateChange':(_0x2a9862,_0x18f234)=>{const _0x1b8a47=_0x26174a;if(_0x2a9862!==this[_0x1b8a47(0x576)])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x2a9862['status']+_0x1b8a47(0x349)+_0x18f234[_0x1b8a47(0x4e8)]+_0x1b8a47(0x2d5)+this['_state'][_0x1b8a47(0x4e8)]);this[_0x1b8a47(0x440)](_0x18f234);},'onSendChangeset':_0x37724a=>{const _0x13660b=_0x26174a;_0x37724a[_0x13660b(0x502)]||(_0x37724a[_0x13660b(0x502)]=this[_0x13660b(0x516)],_0x37724a[_0x13660b(0x486)]=++this[_0x13660b(0x1e6)]);const _0x3263a5={'eventID':_0x2f5341[_0x13660b(0x1bd)],'data':{'unitID':_0x37724a[_0x13660b(0x41c)],'unitType':this[_0x13660b(0x303)],'changeset':_0x37724a,'memberID':this[_0x13660b(0x455)][_0x13660b(0x3be)]()}};this['session'][_0x13660b(0x4a1)](_0x3263a5,this[_0x13660b(0x41c)]);},'onMissingChangesets':({from:_0x222b4b,to:_0x4cd989})=>{const _0x5aea24=_0x26174a;this[_0x5aea24(0x2b5)][_0x5aea24(0x1b6)]('[CollaborationEntity]',_0x5aea24(0x343)+_0x222b4b+'\x20to\x20'+_0x4cd989);const _0x24068f={'eventID':_0x2f5341[_0x5aea24(0x2a9)],'data':{'unitID':_0x854670,'unitType':this[_0x5aea24(0x303)],'from':_0x222b4b,'to':_0x4cd989}};this[_0x5aea24(0x455)]['send'](_0x24068f,this['unitID']);}};}async['_createInitialStateImpl'](_0x5ec86f){const _0x15a2c8=_0x5b1a3a;var _0x5781ca,_0x41a27f;const _0x4d7d04=await this[_0x15a2c8(0x2af)]['loadOfflineData'](this[_0x15a2c8(0x41c)]),_0x2a8082=(_0x5781ca=_0x4d7d04==null?void 0x0:_0x4d7d04[_0x15a2c8(0x260)])!=null?_0x5781ca:[],_0x2f4107=(_0x41a27f=_0x4d7d04==null?void 0x0:_0x4d7d04[_0x15a2c8(0x213)])!=null?_0x41a27f:null,_0x3de053=!!(_0x2f4107!=null&&_0x2f4107[_0x15a2c8(0x502)])&&!!(_0x2f4107!=null&&_0x2f4107[_0x15a2c8(0x486)]);this[_0x15a2c8(0x516)]=_0x3de053?_0x2f4107[_0x15a2c8(0x502)]:Gr(),this[_0x15a2c8(0x1e6)]=_0x3de053?_0x2f4107[_0x15a2c8(0x486)]:0x0;const _0x343a0d=this['unitID'];try{this[_0x15a2c8(0x45f)](_0x2f4107,_0x2a8082);}catch(_0x3d0073){this['_logService'][_0x15a2c8(0x237)](_0x3d0073);}const _0x50afa3=this[_0x15a2c8(0x2a0)]();if(_0x5ec86f){const _0x1bb434=Ai(this[_0x15a2c8(0x4e1)],_0x343a0d,this['_type'],_0x2f4107,_0x2a8082,_0x50afa3);return _0x1bb434 instanceof pe?_0x1bb434[_0x15a2c8(0x26d)]():(_0x1bb434 instanceof ge||_0x1bb434 instanceof Te)&&_0x1bb434[_0x15a2c8(0x24d)](),_0x1bb434;}return this['_injector']['createInstance'](ye,_0x343a0d,this[_0x15a2c8(0x303)],_0x2f4107,_0x2a8082,_0x50afa3);}[_0x5b1a3a(0x45f)](_0x3520c2,_0x5dbf86){const _0x443c1e=_0x5b1a3a;var _0x249e4e,_0x301418;const _0x3626df=this['_compressMutationService'][_0x443c1e(0x219)][_0x443c1e(0x41f)](this[_0x443c1e(0x38d)]['interceptor'][_0x443c1e(0x450)]()[_0x443c1e(0x34d)]);(_0x249e4e=_0x3626df((_0x3520c2==null?void 0x0:_0x3520c2[_0x443c1e(0x260)])||[],null))==null||_0x249e4e[_0x443c1e(0x2a1)](_0x73870=>this[_0x443c1e(0x50d)]['executeCommand'](_0x73870['id'],_0x73870['params'])),(_0x301418=_0x3626df(_0x5dbf86||[],null))==null||_0x301418[_0x443c1e(0x2a1)](_0x3f4b4a=>this[_0x443c1e(0x50d)][_0x443c1e(0x23a)](_0x3f4b4a['id'],_0x3f4b4a[_0x443c1e(0x2ae)]));}};St=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x418a3e),H(0x9,_0x10ec6b),H(0xa,_0x496a91),H(0xb,_0x2da20a),H(0xc,_0x3c705a(yt))],St);let ss=class extends St{constructor(_0x438050,_0x34dd1b,_0x130bfc,_0xf0e258,_0x3aa6bb,_0x5ba86e,_0xe527d0,_0x487bd3,_0x3b8bd0,_0x32d917,_0x336535,_0x211da1,_0x1ee605,_0xbc7d0f,_0x2dc4aa,_0x47031f,_0x161187,_0x3a748e){const _0x19b6cb=_0x5b1a3a;super(_0x438050,_0x130bfc,_0x34dd1b,_0xf0e258,_0x3aa6bb,_0x5ba86e,_0xe527d0,_0x487bd3,_0xbc7d0f,_0x2dc4aa,_0x47031f,_0x161187,_0x3a748e),this['unitID']=_0x438050,this['type']=_0x34dd1b,this['_docStateChangeManagerService']=_0x3b8bd0,this[_0x19b6cb(0x367)]=_0x32d917,this[_0x19b6cb(0x39d)]=_0x336535,this['_docTransformSelectionsService']=_0x211da1,this[_0x19b6cb(0x25e)]=_0x1ee605;}['_createHandler'](){const _0x90ea5=_0x5b1a3a,_0x45c616=super[_0x90ea5(0x2a0)]();return _0x45c616[_0x90ea5(0x2f8)]=_0x31d047=>this[_0x90ea5(0x367)][_0x90ea5(0x33e)](_0x31d047),_0x45c616[_0x90ea5(0x3b4)]=_0x447db4=>this[_0x90ea5(0x39d)][_0x90ea5(0x3d8)](_0x447db4),_0x45c616[_0x90ea5(0x3d3)]=_0x6ab996=>this[_0x90ea5(0x1fc)][_0x90ea5(0x55d)](_0x6ab996),_0x45c616[_0x90ea5(0x201)]=_0x2da5a7=>this[_0x90ea5(0x25e)]['syncEditingCollabCursor'](_0x2da5a7),_0x45c616['onTransformRemoteChangesetByIMECache']=_0x1e9f5b=>this[_0x90ea5(0x367)][_0x90ea5(0x387)](_0x1e9f5b),_0x45c616['onTransformRemoteChangesetByStateCache']=_0x2cc1ca=>this[_0x90ea5(0x39d)][_0x90ea5(0x387)](_0x2cc1ca),_0x45c616;}async['_init'](){const _0x50ee73=_0x5b1a3a,_0x2fabaf=await super[_0x50ee73(0x26b)]();return this[_0x50ee73(0x1e9)]['docStateChange$']['pipe'](_0x3b6332(this[_0x50ee73(0x431)]))[_0x50ee73(0x570)](_0x5c88bb=>{const _0x5df281=_0x50ee73;if(_0x5c88bb==null)return;const {unitId:_0x5d7bc5,redoState:_0x4a926c,commandId:_0x5e108f}=_0x5c88bb;if(_0x5d7bc5!==this[_0x5df281(0x41c)])return;const _0x39e043={'id':_0x5e108f,'type':_0x4aa13b['MUTATION'],'params':{'unitId':_0x5d7bc5,'actions':_0x4a926c['actions'],'textRanges':null}};this[_0x5df281(0x1c0)](_0x39e043);}),_0x2fabaf;}};ss=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x28839c(_0x55250f)),H(0x9,_0x28839c(vt)),H(0xa,_0x28839c(pt)),H(0xb,_0x28839c(gt)),H(0xc,_0x28839c(Cs)),H(0xd,_0x418a3e),H(0xe,_0x10ec6b),H(0xf,_0x496a91),H(0x10,_0x2da20a),H(0x11,_0x3c705a(yt))],ss);let is=class extends St{constructor(_0x2742ef,_0x4359aa,_0x59aaa4,_0x52a80f,_0x218e25,_0x1c91f8,_0x2b5b0d,_0x5edf1b,_0x570057,_0x5199e5,_0x21ba07,_0x38fd4c,_0x3d1bc6,_0x3235e5){const _0x498e85=_0x5b1a3a;super(_0x2742ef,_0x59aaa4,_0x4359aa,_0x52a80f,_0x218e25,_0x1c91f8,_0x2b5b0d,_0x5edf1b,_0x5199e5,_0x21ba07,_0x38fd4c,_0x3d1bc6,_0x3235e5),this[_0x498e85(0x41c)]=_0x2742ef,this[_0x498e85(0x23f)]=_0x4359aa,this['_sheetTransformSelectionsService']=_0x570057;}[_0x5b1a3a(0x2a0)](){const _0x5290eb=_0x5b1a3a,_0x3cb73c=super[_0x5290eb(0x2a0)]();return _0x3cb73c[_0x5290eb(0x3d3)]=_0x509499=>this[_0x5290eb(0x3ae)][_0x5290eb(0x55d)](_0x509499),_0x3cb73c;}async['_init'](){const _0x171d5f=_0x5b1a3a,_0x35b808=await super['_init']();return this[_0x171d5f(0x4b9)](this[_0x171d5f(0x50d)]['onCommandExecuted']((_0x107ef8,_0x8bcbee)=>{const _0x49e57e=_0x171d5f;if(_0x107ef8[_0x49e57e(0x23f)]!==_0x4aa13b[_0x49e57e(0x491)]||_0x8bcbee!=null&&_0x8bcbee['fromCollab']||_0x8bcbee!=null&&_0x8bcbee['onlyLocal'])return;const _0x1af95d=_0x107ef8[_0x49e57e(0x2ae)];if((_0x1af95d==null?void 0x0:_0x1af95d[_0x49e57e(0x1ad)])!==this['unitID'])return;const _0xbdbdee=_0x107ef8,_0x1e57a6=this[_0x49e57e(0x38d)][_0x49e57e(0x219)]['fetchThroughInterceptors'](this[_0x49e57e(0x38d)][_0x49e57e(0x219)]['getInterceptPoints']()[_0x49e57e(0x506)])([_0xbdbdee],null)||[_0xbdbdee];this['_onLocalMutation'](_0x1e57a6[0x0]);})),_0x35b808;}};is=Es([H(0x3,_0x28839c(_0x1027b3)),H(0x4,_0x28839c(q)),H(0x5,_0x28839c(_0x367fa9)),H(0x6,_0x28839c(_0x173a06)),H(0x7,_0x28839c(_0x137cc2)),H(0x8,_0x28839c(mt)),H(0x9,_0x418a3e),H(0xa,_0x10ec6b),H(0xb,_0x496a91),H(0xc,_0x2da20a),H(0xd,_0x3c705a(yt))],is);var go=Object[_0x5b1a3a(0x3dc)],So=Object[_0x5b1a3a(0x42f)],Io=(_0x236c73,_0x57b6ba,_0x3f0c27,_0x22df5d)=>{for(var _0x4059ea=_0x22df5d>0x1?void 0x0:_0x22df5d?So(_0x57b6ba,_0x3f0c27):_0x57b6ba,_0x370f31=_0x236c73['length']-0x1,_0x380848;_0x370f31>=0x0;_0x370f31--)(_0x380848=_0x236c73[_0x370f31])&&(_0x4059ea=(_0x22df5d?_0x380848(_0x57b6ba,_0x3f0c27,_0x4059ea):_0x380848(_0x4059ea))||_0x4059ea);return _0x22df5d&&_0x4059ea&&go(_0x57b6ba,_0x3f0c27,_0x4059ea),_0x4059ea;},Lt=(_0x427236,_0x46ce41)=>(_0x488d75,_0x559e29)=>_0x46ce41(_0x488d75,_0x559e29,_0x427236);let it=class extends _0x203b2a{constructor(_0x22c2c5,_0x5eac14,_0x342f57){const _0x162cd9=_0x5b1a3a;super(),g(this,_0x162cd9(0x22e),new Map()),g(this,_0x162cd9(0x2c1),new _0x3709f3()),(this[_0x162cd9(0x4e1)]=_0x22c2c5,this[_0x162cd9(0x224)]=_0x5eac14,this[_0x162cd9(0x212)]=_0x342f57,this['_init']());}[_0x5b1a3a(0x257)](){const _0xa6b87=_0x5b1a3a;super[_0xa6b87(0x257)](),this[_0xa6b87(0x22e)][_0xa6b87(0x2a1)](_0x4db9b4=>_0x4db9b4['dispose']()),this[_0xa6b87(0x22e)][_0xa6b87(0x4d4)]();}[_0x5b1a3a(0x2da)](_0x20fd02){const _0x126f5f=_0x5b1a3a;var _0x2aae8d;return(_0x2aae8d=this[_0x126f5f(0x22e)][_0x126f5f(0x50f)](_0x20fd02))!=null?_0x2aae8d:null;}['getCollabEntity$'](_0x196116){const _0x2023b5=_0x5b1a3a,_0x35b43a=this['getCollabEntity'](_0x196116);return _0x35b43a?_0x323ee7(_0x35b43a):this[_0x2023b5(0x2c1)][_0x2023b5(0x1ff)](_0x63bf9c(_0x131e4f=>_0x131e4f[_0x2023b5(0x41c)]===_0x196116));}[_0x5b1a3a(0x26b)](){const _0x16cce2=_0x5b1a3a;this['_univerInstanceService'][_0x16cce2(0x1b0)](_0x1bbc53[_0x16cce2(0x24e)])[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']),_0x1b61d4(0x10))[_0x16cce2(0x570)](async _0x4c1aa1=>{const _0x4d02a7=_0x16cce2,_0x5bb7cf=_0x4c1aa1['getUnitId'](),_0x131427=await this[_0x4d02a7(0x4cc)](_0x5bb7cf,ce['UNIVER_SHEET']);this[_0x4d02a7(0x22e)][_0x4d02a7(0x18b)](_0x5bb7cf,_0x131427);}),this[_0x16cce2(0x212)][_0x16cce2(0x1b0)](_0x1bbc53[_0x16cce2(0x1f2)])[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']),_0x1b61d4(0x10))['pipe'](_0x63bf9c(_0x4ae01c=>!_0x4ae01c[_0x16cce2(0x510)]()[_0x16cce2(0x1a8)]('__')))[_0x16cce2(0x570)](async _0x54303c=>{const _0x228786=_0x16cce2,_0x5f4ced=_0x54303c[_0x228786(0x510)](),_0x29f95a=await this[_0x228786(0x4cc)](_0x5f4ced,ce['UNIVER_DOC']);this[_0x228786(0x22e)]['set'](_0x5f4ced,_0x29f95a);}),_0x28a5b0(this['_univerInstanceService'][_0x16cce2(0x40b)](_0x1bbc53[_0x16cce2(0x24e)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1bbc53[_0x16cce2(0x1f2)]))[_0x16cce2(0x1ff)](_0x3b6332(this['dispose$']))[_0x16cce2(0x570)](_0xd36f98=>{const _0x511d2c=_0x16cce2,_0x4ce3b0=_0xd36f98[_0x511d2c(0x510)](),_0x48c28d=this[_0x511d2c(0x22e)][_0x511d2c(0x50f)](_0x4ce3b0);_0x48c28d&&(_0x48c28d['dispose'](),this[_0x511d2c(0x22e)][_0x511d2c(0x3a1)](_0x4ce3b0));});}async['_startCollaboration'](_0x4facd3,_0x4e41a5){const _0x3b0d59=_0x5b1a3a,_0x44ba46=await this[_0x3b0d59(0x224)][_0x3b0d59(0x312)](_0x4facd3),_0x484ef6=this[_0x3b0d59(0x4e1)]['createInstance'](this[_0x3b0d59(0x399)](_0x4e41a5),_0x4facd3,_0x4e41a5,_0x44ba46);return await _0x484ef6[_0x3b0d59(0x1bc)](),this[_0x3b0d59(0x2c1)][_0x3b0d59(0x424)](_0x484ef6),_0x484ef6;}[_0x5b1a3a(0x399)](_0x7b137b){const _0x8733dd=_0x5b1a3a;switch(_0x7b137b){case ce['UNIVER_DOC']:return ss;case ce[_0x8733dd(0x24e)]:return is;default:throw new Error(_0x8733dd(0x24a)+_0x7b137b);}}};it=Io([Lt(0x0,_0x28839c(_0x1027b3)),Lt(0x1,_0x28839c(Ae)),Lt(0x2,_0x578cb)],it);const Gs=[_0x5b1a3a(0x2c3),_0x5b1a3a(0x2cb),'verdancy600','red300',_0x5b1a3a(0x22f),_0x5b1a3a(0x3cc)];class bs extends _0x45951d{constructor(){const _0x2a0637=_0x5b1a3a;super(...arguments),g(this,_0x2a0637(0x3f2),new Map()),g(this,_0x2a0637(0x20c),0x0);}[_0x5b1a3a(0x32b)](_0x2fd211){const _0x535c4e=_0x5b1a3a;if(this[_0x535c4e(0x3f2)][_0x535c4e(0x2fd)](_0x2fd211))return this['_assignedColors'][_0x535c4e(0x50f)](_0x2fd211);const _0x456810=Gs[this[_0x535c4e(0x20c)]];return this[_0x535c4e(0x20c)]=(this[_0x535c4e(0x20c)]+0x1)%Gs['length'],this[_0x535c4e(0x3f2)][_0x535c4e(0x18b)](_0x2fd211,_0x456810),_0x456810;}}var Co=Object['defineProperty'],Eo=Object[_0x5b1a3a(0x42f)],bo=(_0x3546fb,_0x58a4d1,_0x5e2daa,_0x27178e)=>{for(var _0xf65b7f=_0x27178e>0x1?void 0x0:_0x27178e?Eo(_0x58a4d1,_0x5e2daa):_0x58a4d1,_0xc801d=_0x3546fb['length']-0x1,_0x2453b0;_0xc801d>=0x0;_0xc801d--)(_0x2453b0=_0x3546fb[_0xc801d])&&(_0xf65b7f=(_0x27178e?_0x2453b0(_0x58a4d1,_0x5e2daa,_0xf65b7f):_0x2453b0(_0xf65b7f))||_0xf65b7f);return _0x27178e&&_0xf65b7f&&Co(_0x58a4d1,_0x5e2daa,_0xf65b7f),_0xf65b7f;},Oe=(_0x452bb7,_0x4c11b8)=>(_0x1d0c3e,_0x98c0b7)=>_0x4c11b8(_0x1d0c3e,_0x98c0b7,_0x452bb7);const To=0x12c,Ro=0x64;let ns=class extends _0x203b2a{constructor(_0x180417,_0xbdbfee,_0x464d7d,_0x4fbbfc,_0x19623f,_0x33e862,_0x28a6e1,_0x29d3bc,_0xbfe548){const _0x559b9a=_0x5b1a3a;super(),g(this,_0x559b9a(0x2d3),!0x1),g(this,_0x559b9a(0x26b),!0x1),g(this,'_cursorInfo$',new _0x1ce182(new Map())),g(this,_0x559b9a(0x3a4),this[_0x559b9a(0x48e)][_0x559b9a(0x319)]()),g(this,_0x559b9a(0x501),new _0x1ce182([])),g(this,_0x559b9a(0x4d8),this[_0x559b9a(0x501)]['pipe'](_0x4983c1(To))),g(this,_0x559b9a(0x182),_0x5ca691(_0x1f90da=>{const _0x4d489a=_0x559b9a,_0x35be36={'eventID':_0x2f5341[_0x4d489a(0x4ec)],'data':{'unitID':this[_0x4d489a(0x41c)],'memberID':this[_0x4d489a(0x4bf)][_0x4d489a(0x3be)](),'selection':Pi(_0x1f90da)}};this[_0x4d489a(0x4bf)]['send'](_0x35be36,this['unitID']);},Ro)),(this[_0x559b9a(0x41c)]=_0x180417,this['_session']=_0xbdbfee,this[_0x559b9a(0x4e1)]=_0x464d7d,this[_0x559b9a(0x49a)]=_0x4fbbfc,this[_0x559b9a(0x579)]=_0x19623f,this[_0x559b9a(0x34c)]=_0x33e862,this[_0x559b9a(0x427)]=_0x28a6e1,this[_0x559b9a(0x212)]=_0x29d3bc,this[_0x559b9a(0x50d)]=_0xbfe548);}get[_0x5b1a3a(0x428)](){const _0x5d37cd=_0x5b1a3a;return this[_0x5d37cd(0x48e)]['getValue']();}get[_0x5b1a3a(0x287)](){const _0x4811e5=_0x5b1a3a;return this[_0x4811e5(0x501)][_0x4811e5(0x45b)]();}[_0x5b1a3a(0x257)](){const _0x5796f6=_0x5b1a3a;super[_0x5796f6(0x257)](),this['_cursorInfo$'][_0x5796f6(0x424)](new Map()),this[_0x5796f6(0x48e)][_0x5796f6(0x496)](),this[_0x5796f6(0x501)][_0x5796f6(0x424)]([]),this[_0x5796f6(0x501)][_0x5796f6(0x496)]();}['init'](){const _0x4f6bf9=_0x5b1a3a;this[_0x4f6bf9(0x26b)]||(this[_0x4f6bf9(0x26b)]=!0x0,this[_0x4f6bf9(0x4bf)][_0x4f6bf9(0x494)][_0x4f6bf9(0x1ff)](_0x3b6332(this[_0x4f6bf9(0x431)]))[_0x4f6bf9(0x570)](_0x22e8c9=>{const _0x4c7889=_0x4f6bf9;_0x22e8c9===ve[_0x4c7889(0x3c5)]?this[_0x4c7889(0x2f9)]():this[_0x4c7889(0x410)]();}),this[_0x4f6bf9(0x4bf)]['event$']['pipe'](_0x3b6332(this[_0x4f6bf9(0x431)]))[_0x4f6bf9(0x570)](_0x14d813=>{const _0x587da1=_0x4f6bf9,_0x1a71b8=_0x14d813['eventID'];_0x1a71b8===_0x2f5341['UPDATE_CURSOR']&&this[_0x587da1(0x3da)](_0x14d813),_0x1a71b8===_0x2f5341[_0x587da1(0x2e0)]&&this[_0x587da1(0x4df)](_0x14d813);}),this['disposeWithMe'](this[_0x4f6bf9(0x50d)][_0x4f6bf9(0x2ca)](_0x15d27c=>{const _0x31fced=_0x4f6bf9,_0x1f2366=_0x15d27c[_0x31fced(0x2ae)];_0x1f2366!=null&&this[_0x31fced(0x2d3)]&&_0x15d27c['id']===_0x3e4470['id']&&_0x1f2366[_0x31fced(0x1ad)]===this[_0x31fced(0x41c)]&&_0x1f2366[_0x31fced(0x505)]===!0x1&&_0x1f2366[_0x31fced(0x57b)][_0x31fced(0x29a)]>0x0&&this[_0x31fced(0x182)](_0x1f2366['ranges']);})),this[_0x4f6bf9(0x34c)][_0x4f6bf9(0x220)][_0x4f6bf9(0x1ff)](_0x3b6332(this['dispose$']))['subscribe'](_0x5cb168=>{const _0x38ffd5=_0x4f6bf9;if((_0x5cb168==null?void 0x0:_0x5cb168[_0x38ffd5(0x41c)])!==this['unitID'])return;const _0x2b83ae={'eventID':_0x2f5341[_0x38ffd5(0x4ec)],'data':_0x5cb168};this[_0x38ffd5(0x3da)](_0x2b83ae);}),this[_0x4f6bf9(0x4b9)](this['_commandService'][_0x4f6bf9(0x2ca)](_0x450403=>{const _0xf3825a=_0x4f6bf9;if(_0x450403[_0xf3825a(0x2ae)]==null)return;const _0x1e3ea4=_0x450403[_0xf3825a(0x2ae)];if(_0x450403['id']!==_0x3ba450['id']||_0x1e3ea4[_0xf3825a(0x1ad)]!==this[_0xf3825a(0x41c)])return;const _0x3c001c={'id':_0xf3825a(0x298),'params':_0x1e3ea4},_0x16e50f=this[_0xf3825a(0x428)];for(const [_0x225e75,_0x4c8a67]of _0x16e50f){const _0x572098={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xf3825a(0x41c)],'actions':null,'textRanges':_0x4c8a67['ranges']}},_0x551497=this[_0xf3825a(0x427)]['transformMutation'](_0x3c001c,_0x572098,!0x1);if(_0x321ec1(_0x551497))throw _0x551497[_0xf3825a(0x237)];_0x16e50f[_0xf3825a(0x18b)](_0x225e75,{..._0x4c8a67,'ranges':_0x551497[_0xf3825a(0x4c8)][_0xf3825a(0x2ae)][_0xf3825a(0x3cd)]});}queueMicrotask(()=>{const _0x590fc0=_0xf3825a;this[_0x590fc0(0x48e)][_0x590fc0(0x424)](_0x16e50f);});})));}[_0x5b1a3a(0x3da)](_0xff10ff){const _0x3801ab=_0x5b1a3a;var _0x28dc28,_0x40f085;const {memberID:_0x2ee672,selection:_0x133e5f}=_0xff10ff[_0x3801ab(0x529)],_0x3c77ac=oo(_0x133e5f),_0xc08227=(_0x40f085=(_0x28dc28=this[_0x3801ab(0x579)][_0x3801ab(0x1d9)](this['unitID'],_0x2ee672))==null?void 0x0:_0x28dc28[_0x3801ab(0x1ca)])!=null?_0x40f085:_0x3801ab(0x460),_0x115d2d={'color':this['_colorAssignService'][_0x3801ab(0x32b)](_0x2ee672),'name':_0xc08227,'ranges':_0x3c77ac},_0x359a10=this[_0x3801ab(0x428)];_0x359a10[_0x3801ab(0x18b)](_0x2ee672,_0x115d2d),this[_0x3801ab(0x48e)][_0x3801ab(0x424)](_0x359a10);}[_0x5b1a3a(0x4df)](_0x1321d6){const _0x5d6a0b=_0x5b1a3a,{memberID:_0xa0deaa}=_0x1321d6[_0x5d6a0b(0x529)],_0x289d04=this[_0x5d6a0b(0x428)];_0x289d04['delete'](_0xa0deaa),this['_cursorInfo$'][_0x5d6a0b(0x424)](_0x289d04);}[_0x5b1a3a(0x2f9)](){const _0x2d5919=_0x5b1a3a;var _0x16fb24;if(this[_0x2d5919(0x2d3)]=!0x0,((_0x16fb24=this[_0x2d5919(0x212)][_0x2d5919(0x555)]())==null?void 0x0:_0x16fb24[_0x2d5919(0x510)]())!==this[_0x2d5919(0x41c)])return;const _0x21ed4b=this['_injector']['get'](_0x5b11b1)[_0x2d5919(0x1b9)]();Array[_0x2d5919(0x25c)](_0x21ed4b)&&_0x21ed4b[_0x2d5919(0x29a)]>0x0&&this[_0x2d5919(0x182)](_0x21ed4b);}['_toggleOffline'](){const _0x3fb0ee=_0x5b1a3a;this[_0x3fb0ee(0x2d3)]=!0x1;}};ns=bo([Oe(0x2,_0x28839c(_0x1027b3)),Oe(0x3,_0x28839c(bs)),Oe(0x4,_0x28839c(Ne)),Oe(0x5,_0x28839c(Cs)),Oe(0x6,_0xef8dcd),Oe(0x7,_0x578cb),Oe(0x8,_0x10ec6b)],ns);var yo=Object[_0x5b1a3a(0x3dc)],Oo=Object['getOwnPropertyDescriptor'],wo=(_0x6cb128,_0x21ae0a,_0x492b3a,_0x2b1480)=>{for(var _0x3675cd=_0x2b1480>0x1?void 0x0:_0x2b1480?Oo(_0x21ae0a,_0x492b3a):_0x21ae0a,_0x4d36d8=_0x6cb128['length']-0x1,_0x95126;_0x4d36d8>=0x0;_0x4d36d8--)(_0x95126=_0x6cb128[_0x4d36d8])&&(_0x3675cd=(_0x2b1480?_0x95126(_0x21ae0a,_0x492b3a,_0x3675cd):_0x95126(_0x3675cd))||_0x3675cd);return _0x2b1480&&_0x3675cd&&yo(_0x21ae0a,_0x492b3a,_0x3675cd),_0x3675cd;},Be=(_0x2d1c49,_0x29f352)=>(_0x3f180f,_0x1c725f)=>_0x29f352(_0x3f180f,_0x1c725f,_0x2d1c49);const Do=0x12c,Po=0x64,Uo=()=>{let _0x2cb291=[],_0x5eb18b=!0x1;return _0x192faf=>{const _0x56ec13=_0xa0d1;_0x2cb291[_0x56ec13(0x44a)](_0x192faf),_0x5eb18b||(_0x5eb18b=!0x0,setTimeout(()=>{const _0x336464=_0x56ec13;_0x2cb291[_0x336464(0x2a1)](_0x4e7ae1=>_0x4e7ae1()),_0x2cb291=[],_0x5eb18b=!0x1;}));};};let rs=class extends _0x203b2a{constructor(_0x2aeece,_0x3a4306,_0x566940,_0xe9ba0f,_0xae1677,_0x28503c,_0x1e5bb9,_0x6eec9a){const _0x797d73=_0x5b1a3a;super(),g(this,_0x797d73(0x2d3),!0x1),g(this,'_init',!0x1),g(this,_0x797d73(0x48e),new _0x1ce182(new Map())),g(this,_0x797d73(0x3a4),this['_cursorInfo$'][_0x797d73(0x319)]()),g(this,_0x797d73(0x501),new _0x1ce182([])),g(this,_0x797d73(0x4d8),this['_roomMembers$'][_0x797d73(0x1ff)](_0x4983c1(Do))),g(this,_0x797d73(0x182),_0x5ca691((_0x623279,_0x1385fd)=>{const _0x18fb04=_0x797d73,_0x5e5ad5={'eventID':_0x2f5341[_0x18fb04(0x4ec)],'data':{'unitID':this[_0x18fb04(0x41c)],'memberID':this[_0x18fb04(0x4bf)][_0x18fb04(0x3be)](),'selection':_0x82dca8(_0x623279,_0x1385fd[_0x18fb04(0x3f8)])}};this['_session']['send'](_0x5e5ad5,this[_0x18fb04(0x41c)]);},Po)),(this[_0x797d73(0x41c)]=_0x2aeece,this['_session']=_0x3a4306,this[_0x797d73(0x4e1)]=_0x566940,this[_0x797d73(0x49a)]=_0xe9ba0f,this['_memberService']=_0xae1677,this[_0x797d73(0x212)]=_0x28503c,this[_0x797d73(0x50d)]=_0x1e5bb9,this['_refRangeService']=_0x6eec9a);}get[_0x5b1a3a(0x428)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x46013d=_0x5b1a3a;return this[_0x46013d(0x501)][_0x46013d(0x45b)]();}[_0x5b1a3a(0x257)](){const _0x11223b=_0x5b1a3a;super[_0x11223b(0x257)](),this[_0x11223b(0x48e)][_0x11223b(0x424)](new Map()),this[_0x11223b(0x48e)][_0x11223b(0x496)](),this['_roomMembers$'][_0x11223b(0x424)]([]),this[_0x11223b(0x501)][_0x11223b(0x496)]();}[_0x5b1a3a(0x1bc)](){const _0x5204f2=_0x5b1a3a;this[_0x5204f2(0x26b)]||(this[_0x5204f2(0x26b)]=!0x0,this['_session'][_0x5204f2(0x494)]['pipe'](_0x3b6332(this['dispose$']))[_0x5204f2(0x570)](_0x1d2c5f=>{const _0x53144a=_0x5204f2;_0x1d2c5f===ve[_0x53144a(0x3c5)]?this[_0x53144a(0x2f9)]():this[_0x53144a(0x410)]();}),this['_session'][_0x5204f2(0x425)][_0x5204f2(0x1ff)](_0x3b6332(this[_0x5204f2(0x431)]))[_0x5204f2(0x570)](_0x9db4f5=>{const _0x98ae03=_0x5204f2,_0x5cd663=_0x9db4f5[_0x98ae03(0x3b5)];_0x5cd663===_0x2f5341[_0x98ae03(0x4ec)]&&this['_onCursorUpdate'](_0x9db4f5),_0x5cd663===_0x2f5341['USERS_LEAVE']&&this['_onCursorDelete'](_0x9db4f5);}),this[_0x5204f2(0x1ae)](),this['disposeWithMe'](this[_0x5204f2(0x50d)][_0x5204f2(0x2ca)](_0x23bd3d=>{const _0x4c2775=_0x5204f2;if(this[_0x4c2775(0x2d3)]&&_0x23bd3d['id']===_0x3b3cfe['id']&&_0x23bd3d[_0x4c2775(0x2ae)][_0x4c2775(0x1ad)]===this[_0x4c2775(0x41c)]){const _0x5287e9=_0x23bd3d[_0x4c2775(0x2ae)];this['_updateLocalCursor'](_0x5287e9[_0x4c2775(0x415)],_0x5287e9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x454042){const _0x525acf=_0x5b1a3a;var _0x1ac230,_0x3f6ed6;const {memberID:_0x5dbd7f,selection:_0x344cd4}=_0x454042[_0x525acf(0x529)],{sheetName:_0x5a0b76,range:_0x462d8e}=_0x42d12b(_0x344cd4),_0x22f917={'name':(_0x3f6ed6=(_0x1ac230=this[_0x525acf(0x579)][_0x525acf(0x1d9)](this[_0x525acf(0x41c)],_0x5dbd7f))==null?void 0x0:_0x1ac230['name'])!=null?_0x3f6ed6:'Unknown\x20user','range':this[_0x525acf(0x3ab)](_0x5a0b76,_0x462d8e),'sheetID':_0x5a0b76,'color':this[_0x525acf(0x49a)][_0x525acf(0x32b)](_0x5dbd7f),'selection':_0x344cd4},_0x450ce3=this[_0x525acf(0x428)];_0x450ce3[_0x525acf(0x18b)](_0x5dbd7f,_0x22f917),this[_0x525acf(0x48e)][_0x525acf(0x424)](_0x450ce3);}[_0x5b1a3a(0x4df)](_0x260c0c){const _0x48a3ef=_0x5b1a3a,{memberID:_0x5155c2}=_0x260c0c['data'],_0x2f1d29=this['cursorInfo'];_0x2f1d29[_0x48a3ef(0x3a1)](_0x5155c2),this['_cursorInfo$'][_0x48a3ef(0x424)](_0x2f1d29);}['_getMergeRange'](_0x38007e,_0x4062cd){const _0x1662b7=_0x5b1a3a;var _0x3bc675,_0x11bf3e;const _0x59f75a=(_0x11bf3e=(_0x3bc675=this[_0x1662b7(0x212)][_0x1662b7(0x3ef)](this['unitID']))==null?void 0x0:_0x3bc675[_0x1662b7(0x4cd)](_0x38007e))==null?void 0x0:_0x11bf3e[_0x1662b7(0x2ec)]();return(_0x59f75a==null?void 0x0:_0x59f75a[_0x1662b7(0x508)](_0x10d764=>_0x118546[_0x1662b7(0x534)](_0x10d764,_0x4062cd)))||_0x4062cd;}[_0x5b1a3a(0x1ae)](){const _0x31c69b=_0x5b1a3a,_0x381f0a=new _0x322cfa(),_0x35c1b3=Uo(),_0x17d9de=()=>{const _0x355cda=_0xa0d1;_0x381f0a[_0x355cda(0x257)]();const _0x17d40a=(_0x16d570,_0x569fa3,_0x5a4261,_0x2d57ec)=>{const _0x17f6d3=_0x355cda;let _0x2db582=[];switch(_0x16d570['id']){case _0x2414f2[_0x17f6d3(0x2ee)]:{_0x2db582=_0x5da107(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x322)]:{_0x2db582=_0x2658a8(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x371)]:{_0x2db582=_0x15a177(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x37d)]:{_0x2db582=_0x333208(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x4e5)]:{_0x2db582=_0x299092(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x512)]:{_0x2db582=_0x2cd466(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x194)]:{_0x2db582=_0x41aa69(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x47b)]:{_0x2db582=_0x2389b8(_0x16d570,_0x2d57ec);break;}case _0x2414f2[_0x17f6d3(0x33a)]:{_0x2db582=_0xd7d8ab(_0x16d570,_0x2d57ec);break;}}const _0x5c0039=_0x388cb8(_0x2db582,_0x2d57ec),_0x45d619=this[_0x17f6d3(0x428)][_0x17f6d3(0x50f)](_0x569fa3);if(_0x45d619&&_0x5c0039){const _0x1ba287={..._0x45d619,'range':_0x5c0039};this[_0x17f6d3(0x428)]['set'](_0x569fa3,_0x1ba287),_0x35c1b3(()=>{const _0x1929f9=_0x17f6d3,_0x597cb2=this[_0x1929f9(0x51e)][_0x1929f9(0x458)](_0x5c0039,_0x37ed79=>(_0x597cb2[_0x1929f9(0x257)](),_0x17d40a(_0x37ed79,_0x569fa3,_0x5a4261,_0x5c0039)));_0x381f0a[_0x1929f9(0x49f)](_0x597cb2);});}return{'redos':[],'undos':[]};};this[_0x355cda(0x428)][_0x355cda(0x2a1)]((_0x2aa3d5,_0x547a25)=>{const _0x497e68=_0x355cda,{range:_0x35f2cf,sheetID:_0x23d59d}=_0x2aa3d5,_0x1fa29e=this[_0x497e68(0x51e)][_0x497e68(0x458)](_0x35f2cf,_0x197c2a=>(_0x1fa29e[_0x497e68(0x257)](),_0x17d40a(_0x197c2a,_0x547a25,_0x23d59d,_0x35f2cf)));_0x381f0a[_0x497e68(0x49f)](_0x1fa29e);});};this[_0x31c69b(0x4b9)](_0x529295(this['_cursorInfo$'][_0x31c69b(0x570)](()=>{_0x17d9de();})));}[_0x5b1a3a(0x2f9)](){const _0x22aed2=_0x5b1a3a;var _0x555805,_0xfdfa92;if(this['_online']=!0x0,((_0x555805=this[_0x22aed2(0x212)]['getFocusedUnit']())==null?void 0x0:_0x555805[_0x22aed2(0x510)]())!==this['unitID'])return;const _0x27376a=(_0xfdfa92=this[_0x22aed2(0x4e1)][_0x22aed2(0x50f)](_0x424a0f)['getCurrentSelections']())==null?void 0x0:_0xfdfa92[0x0],_0x2e2f3c=this[_0x22aed2(0x212)][_0x22aed2(0x553)](_0x1bbc53['UNIVER_SHEET'])[_0x22aed2(0x3df)]();_0x27376a&&_0x2e2f3c&&this['_updateLocalCursor'](_0x2e2f3c['getSheetId'](),_0x27376a);}[_0x5b1a3a(0x410)](){const _0x5506b0=_0x5b1a3a;this[_0x5506b0(0x2d3)]=!0x1;}};rs=wo([Be(0x2,_0x28839c(_0x1027b3)),Be(0x3,_0x28839c(bs)),Be(0x4,_0x28839c(Ne)),Be(0x5,_0x578cb),Be(0x6,_0x10ec6b),Be(0x7,_0x28839c(_0x275627))],rs);var No=Object[_0x5b1a3a(0x3dc)],Ao=Object[_0x5b1a3a(0x42f)],Mo=(_0x23800a,_0x2df7dd,_0x2b82ee,_0x8fd16a)=>{const _0x4d0287=_0x5b1a3a;for(var _0x326564=_0x8fd16a>0x1?void 0x0:_0x8fd16a?Ao(_0x2df7dd,_0x2b82ee):_0x2df7dd,_0x4e660c=_0x23800a[_0x4d0287(0x29a)]-0x1,_0x4aabbd;_0x4e660c>=0x0;_0x4e660c--)(_0x4aabbd=_0x23800a[_0x4e660c])&&(_0x326564=(_0x8fd16a?_0x4aabbd(_0x2df7dd,_0x2b82ee,_0x326564):_0x4aabbd(_0x326564))||_0x326564);return _0x8fd16a&&_0x326564&&No(_0x2df7dd,_0x2b82ee,_0x326564),_0x326564;},$t=(_0x56719c,_0x168f47)=>(_0x4b3c0a,_0x1aadd4)=>_0x168f47(_0x4b3c0a,_0x1aadd4,_0x56719c);let Ve=class extends _0x203b2a{constructor(_0x286067,_0x29eb9b,_0x3080f8){const _0x9c0fff=_0x5b1a3a;super(),g(this,_0x9c0fff(0x22e),new Map()),g(this,_0x9c0fff(0x2c1),new _0x3709f3()),(this[_0x9c0fff(0x212)]=_0x286067,this[_0x9c0fff(0x4e1)]=_0x29eb9b,this['_collabSessionService']=_0x3080f8,this['_init']());}['dispose'](){const _0x4bd14c=_0x5b1a3a;super[_0x4bd14c(0x257)](),this[_0x4bd14c(0x2c1)][_0x4bd14c(0x496)](),this[_0x4bd14c(0x22e)][_0x4bd14c(0x2a1)](_0x376a02=>_0x376a02[_0x4bd14c(0x257)]());}[_0x5b1a3a(0x3a2)](_0x458d9e){const _0x5dc4a8=_0x5b1a3a;return this[_0x5dc4a8(0x22e)][_0x5dc4a8(0x2fd)](_0x458d9e)?this[_0x5dc4a8(0x22e)][_0x5dc4a8(0x50f)](_0x458d9e)['cursorInfo$']:this[_0x5dc4a8(0x2c1)]['pipe'](_0x3b94f0(_0x131f4d=>_0x131f4d[_0x5dc4a8(0x41c)]===_0x458d9e),_0x3a75f3(_0x459bc0=>_0x459bc0[_0x5dc4a8(0x3a4)]));}[_0x5b1a3a(0x26b)](){const _0xec74c0=_0x5b1a3a;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1bbc53['UNIVER_SHEET'])['pipe'](_0x3b6332(this[_0xec74c0(0x431)]))[_0xec74c0(0x570)](async _0x2bb4a4=>{const _0x3e3983=_0xec74c0,_0x5c9caa=_0x2bb4a4['getUnitId'](),_0x1d44cc=await this['_startSheetCollabCursor'](_0x5c9caa);this[_0x3e3983(0x2c1)][_0x3e3983(0x424)](_0x1d44cc),this[_0x3e3983(0x22e)][_0x3e3983(0x18b)](_0x5c9caa,_0x1d44cc);}),this[_0xec74c0(0x212)][_0xec74c0(0x1b0)](_0x1bbc53['UNIVER_DOC'])['pipe'](_0x3b6332(this[_0xec74c0(0x431)]))[_0xec74c0(0x1ff)](_0x3b94f0(_0x3bceb4=>!_0x3bceb4[_0xec74c0(0x510)]()[_0xec74c0(0x1a8)]('__')))[_0xec74c0(0x570)](async _0x7b4860=>{const _0x4da7b1=_0xec74c0,_0x75a8cd=_0x7b4860[_0x4da7b1(0x510)](),_0x14037d=await this['_startDocCollabCursor'](_0x75a8cd);this['_entityInit$']['next'](_0x14037d),this[_0x4da7b1(0x22e)][_0x4da7b1(0x18b)](_0x75a8cd,_0x14037d);}),_0x28a5b0(this['_univerInstanceService'][_0xec74c0(0x40b)](_0x1bbc53[_0xec74c0(0x1f2)]),this['_univerInstanceService'][_0xec74c0(0x40b)](_0x1bbc53[_0xec74c0(0x24e)]))[_0xec74c0(0x1ff)](_0x3b6332(this['dispose$']))[_0xec74c0(0x570)](_0x45448a=>{const _0xd4cd3=_0xec74c0,_0x464c7c=_0x45448a[_0xd4cd3(0x510)](),_0x297495=this[_0xd4cd3(0x22e)][_0xd4cd3(0x50f)](_0x464c7c);_0x297495&&(_0x297495[_0xd4cd3(0x257)](),this[_0xd4cd3(0x22e)][_0xd4cd3(0x3a1)](_0x464c7c));});}async[_0x5b1a3a(0x3fb)](_0x1ce826){const _0x51fc40=_0x5b1a3a,_0x60d3e9=await this[_0x51fc40(0x224)][_0x51fc40(0x312)](_0x1ce826),_0x3e82e0=this[_0x51fc40(0x4e1)][_0x51fc40(0x4a9)](rs,_0x1ce826,_0x60d3e9);return _0x3e82e0['init'](),_0x3e82e0;}async[_0x5b1a3a(0x1b2)](_0x40332b){const _0x10fa59=_0x5b1a3a,_0xa0f9ed=await this[_0x10fa59(0x224)][_0x10fa59(0x312)](_0x40332b),_0x3fdfe4=this['_injector']['createInstance'](ns,_0x40332b,_0xa0f9ed);return _0x3fdfe4[_0x10fa59(0x1bc)](),_0x3fdfe4;}};Ve=Mo([$t(0x0,_0x578cb),$t(0x1,_0x28839c(_0x1027b3)),$t(0x2,_0x28839c(Ae))],Ve);const nt=0x14,Ys=0xc8,Ht=0x4,xo=0x5;function Lo(_0x4ea424,_0x6f8d89){const _0x14394a=_0x5b1a3a;let {radius:_0x14662a,width:_0x61a6f3,height:_0x583e00}=_0x6f8d89;_0x14662a=_0x14662a!=null?_0x14662a:0x0,_0x61a6f3=_0x61a6f3!=null?_0x61a6f3:0x1e,_0x583e00=_0x583e00!=null?_0x583e00:0x1e;let _0x11fae8=0x0,_0x3eb37f=0x0,_0x2996b6=0x0;_0x11fae8=_0x3eb37f=_0x2996b6=Math[_0x14394a(0x4ae)](_0x14662a,_0x61a6f3/0x2,_0x583e00/0x2),_0x4ea424[_0x14394a(0x46d)](),_0x4ea424[_0x14394a(0x4b3)](_0x11fae8,0x0),_0x4ea424[_0x14394a(0x296)](_0x61a6f3-_0x3eb37f,0x0),_0x4ea424['arc'](_0x61a6f3-_0x3eb37f,_0x3eb37f,_0x3eb37f,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ea424[_0x14394a(0x296)](_0x61a6f3,_0x583e00-_0x2996b6),_0x4ea424[_0x14394a(0x1de)](_0x61a6f3-_0x2996b6,_0x583e00-_0x2996b6,_0x2996b6,0x0,Math['PI']/0x2,!0x1),_0x4ea424[_0x14394a(0x296)](0x0,_0x583e00),_0x4ea424[_0x14394a(0x296)](0x0,_0x11fae8),_0x4ea424[_0x14394a(0x1de)](_0x11fae8,_0x11fae8,_0x11fae8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ea424[_0x14394a(0x4b0)](),_0x6f8d89[_0x14394a(0x3a7)]&&(_0x4ea424[_0x14394a(0x269)](),_0x4ea424['fillStyle']=_0x6f8d89[_0x14394a(0x3a7)],_0x6f8d89[_0x14394a(0x52b)]==='evenodd'?_0x4ea424[_0x14394a(0x3a7)](_0x14394a(0x32f)):_0x4ea424[_0x14394a(0x3a7)](),_0x4ea424['restore']());}class Ot extends _0x1bb0ee{constructor(_0x4791f8,_0x5969fc){const _0x111434=_0x5b1a3a;super(_0x4791f8,_0x5969fc),g(this,_0x111434(0x2d0)),g(this,_0x111434(0x2aa)),(this['color']=_0x5969fc==null?void 0x0:_0x5969fc[_0x111434(0x2d0)],this[_0x111434(0x2aa)]=_0x5969fc==null?void 0x0:_0x5969fc['text']);}static[_0x5b1a3a(0x31e)](_0x220002,_0x3cba18){const _0x384417=_0x5b1a3a,{text:_0x4e4aef,color:_0x5f280b}=_0x3cba18;_0x220002[_0x384417(0x269)](),_0x220002[_0x384417(0x283)]=_0x384417(0x547);const _0x593781=_0x220002[_0x384417(0x2a7)](_0x4e4aef)[_0x384417(0x580)],_0x5ad67e=Math[_0x384417(0x4ae)](_0x593781+0x2*Ht,Ys);Lo(_0x220002,{'height':nt,'radius':0x4,'width':_0x5ad67e,'fill':_0x5f280b,'evented':!0x1}),_0x220002[_0x384417(0x1ec)]=_0x384417(0x565);const _0x58d75d=Ht,_0x426b66=nt-xo,_0x3204ac=Ys-0x2*Ht;if(_0x593781>_0x3204ac){let _0x1505ea='',_0x30661c=0x0;for(const _0x12590d of _0x4e4aef){const _0x5869e5=_0x220002[_0x384417(0x2a7)](_0x12590d)[_0x384417(0x580)];if(_0x30661c+_0x5869e5<=_0x3204ac-_0x220002[_0x384417(0x2a7)](_0x384417(0x2d6))[_0x384417(0x580)])_0x1505ea+=_0x12590d,_0x30661c+=_0x5869e5;else{_0x1505ea+='...';break;}}_0x220002[_0x384417(0x396)](_0x1505ea,_0x58d75d,_0x426b66);}else _0x220002[_0x384417(0x396)](_0x4e4aef,_0x58d75d,_0x426b66);_0x220002[_0x384417(0x53a)]();}['_draw'](_0x5949af){const _0xeaea96=_0x5b1a3a;Ot[_0xeaea96(0x31e)](_0x5949af,this);}}const jt=_0x5b1a3a(0x488),$o=_0x5b1a3a(0x1a6),Ho=_0x5b1a3a(0x39e),Je=0x6,jo=1.5,Bt=0x4,Bo=1.5,ko=_0x5b1a3a(0x248);class Ks{constructor(_0x3684e2,_0x5658b7,_0x252630,_0x571bca){const _0x711620=_0x5b1a3a;g(this,_0x711620(0x230),[]),g(this,_0x711620(0x314),null),g(this,_0x711620(0x31c),null),g(this,_0x711620(0x215),null),g(this,_0x711620(0x28f),null),g(this,_0x711620(0x44f),null),(this['_cursor']=_0x3684e2,this[_0x711620(0x246)]=_0x5658b7,this[_0x711620(0x511)]=_0x252630,this[_0x711620(0x1a9)]=_0x571bca,this[_0x711620(0x306)]());}set[_0x5b1a3a(0x57e)](_0x1aa0f0){const _0x4721fa=_0x5b1a3a;_0x1aa0f0?(this[_0x4721fa(0x215)]&&this[_0x4721fa(0x215)][_0x4721fa(0x4fd)](),this[_0x4721fa(0x31c)]&&this[_0x4721fa(0x31c)][_0x4721fa(0x3c1)]()):(this['_anchorDot']&&this['_anchorDot'][_0x4721fa(0x3c1)](),this[_0x4721fa(0x31c)]&&this['_textBubble']['hide']());}[_0x5b1a3a(0x257)](){const _0x18d641=_0x5b1a3a;for(const _0x284e4a of this[_0x18d641(0x230)])_0x284e4a['dispose']();this['_textBubble']&&this[_0x18d641(0x31c)][_0x18d641(0x257)](),this['_anchorDot']&&this[_0x18d641(0x215)][_0x18d641(0x257)](),this[_0x18d641(0x314)]&&this[_0x18d641(0x314)]['dispose'](),this[_0x18d641(0x44f)]&&this[_0x18d641(0x44f)]();}[_0x5b1a3a(0x306)](){const _0x176e4e=_0x5b1a3a;var _0x1bd9e5;const {_docSkeleton:_0x4986c8,_document:_0x599a07}=this,{color:_0x185ffc,name:_0x1f1395,ranges:_0x1e3a29}=this['_cursor'],_0x553c3a=_0x599a07[_0x176e4e(0x334)](),{docsLeft:_0x38b764,docsTop:_0x28da22}=_0x553c3a,_0x2e2932=new _0x39e0b4(_0x553c3a,_0x4986c8);for(const {startOffset:_0x214b60,endOffset:_0x1c63e3,rangeType:_0x435abb,segmentId:_0xa1080a,segmentPage:_0x165772,collapsed:_0x14dc66,isActive:_0x83d0a9}of _0x1e3a29){const _0x1adc0a=_0x4986c8[_0x176e4e(0x2a3)](_0x214b60,!0x0,_0xa1080a,_0x165772);let _0x4d1244=_0x4986c8[_0x176e4e(0x2a3)](_0x1c63e3,!0x0,_0xa1080a,_0x165772);if(_0x4d1244==null&&(_0x4d1244=_0x4986c8[_0x176e4e(0x2a3)](_0x1c63e3-0x1,!0x1,_0xa1080a,_0x165772)),_0x83d0a9){const {contentBoxPointGroup:_0x3c1a43}=_0x2e2932[_0x176e4e(0x270)](_0x4d1244,_0x4d1244);if(_0x3c1a43['length']===0x0)continue;this['_drawAnchor'](_0x185ffc,_0x3c1a43,_0x38b764,_0x28da22,_0x1f1395),this['_eventUnsubscribe']=this[_0x176e4e(0x504)]();}if(!_0x14dc66&&_0x1adc0a&&_0x4d1244){if(_0x435abb===_0x59f56c[_0x176e4e(0x430)]){const _0x5890a5=new _0x55fd43(_0x553c3a,_0x4986c8),{pointGroup:_0x34cbb8}=(_0x1bd9e5=_0x5890a5['getRangePointData'](_0x1adc0a,_0x4d1244))!=null?_0x1bd9e5:{};if(_0x34cbb8==null||_0x34cbb8['length']===0x0)continue;this[_0x176e4e(0x4c2)](_0x185ffc,_0x34cbb8,_0x38b764,_0x28da22);}else{const {borderBoxPointGroup:_0x50b317}=_0x2e2932['getRangePointData'](_0x1adc0a,_0x4d1244);if(_0x50b317[_0x176e4e(0x29a)]===0x0)continue;this[_0x176e4e(0x448)](_0x185ffc,_0x50b317,_0x38b764,_0x28da22);}}}}[_0x5b1a3a(0x3ff)](_0x5d835f,_0x5ef170,_0x3af273,_0x481b6f,_0x584d1c){const _0x1777e3=_0x5b1a3a,_0x4e50f4=this['_getAnchorBounding'](_0x5ef170),{left:_0x57399f,top:_0x199d36,height:_0x30d7bf}=_0x4e50f4,_0x4fb73f=this[_0x1777e3(0x336)](),_0x1703cc=Bo/_0x4fb73f,_0x32fb9c=new _0x1d9554(jt+_0x9e8b08['generateRandomId'](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f,'height':_0x30d7bf,'width':jo,'fill':_0x5d835f||_0x16898a(_0xf1f058[_0x1777e3(0x384)],0x0),'strokeWidth':_0x1703cc,'stroke':ko,'evented':!0x0});this['_anchor']=_0x32fb9c,this[_0x1777e3(0x246)][_0x1777e3(0x3d1)](_0x32fb9c,_0x40d80b);const _0x13247e=new _0x1d9554(jt+_0x9e8b08['generateRandomId'](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f-Bt/0x2,'height':Bt,'width':Bt,'fill':_0x5d835f||_0x16898a(_0xf1f058['black'],0x0),'strokeWidth':0x0,'stroke':_0x5d835f||_0x16898a(_0xf1f058[_0x1777e3(0x384)],0x0),'evented':!0x1});this[_0x1777e3(0x215)]=_0x13247e,this[_0x1777e3(0x246)]['addObject'](_0x13247e,_0x40d80b);const _0x345c3d=new Ot(jt+_0x9e8b08[_0x1777e3(0x19a)](Je),{'left':_0x57399f+_0x3af273-_0x1703cc,'top':_0x199d36+_0x481b6f-nt,'text':_0x584d1c,'color':_0x5d835f});this[_0x1777e3(0x31c)]=_0x345c3d,this[_0x1777e3(0x246)]['addObject'](_0x345c3d,_0x40d80b),this[_0x1777e3(0x57e)]=!0x1;}[_0x5b1a3a(0x504)](){const _0x451f41=_0x5b1a3a,_0x43665e=this[_0x451f41(0x314)]['onPointerEnter$'][_0x451f41(0x4f4)](()=>{this['_hover']=!0x0;}),_0x387799=this['_anchor'][_0x451f41(0x4b7)][_0x451f41(0x4f4)](()=>{const _0x56a7b8=_0x451f41;this[_0x56a7b8(0x28f)]&&clearTimeout(this[_0x56a7b8(0x28f)]),this[_0x56a7b8(0x28f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2fb503=_0x451f41;_0x43665e[_0x2fb503(0x403)](),_0x387799['unsubscribe']();};}[_0x5b1a3a(0x448)](_0x1f6d04,_0x5118a0,_0x5baf82,_0x99e2c8){const _0x2655c4=_0x5b1a3a,_0xd07849=new _0x6b83db(_0x1f6d04)['setAlpha'](0.2)['toRgbString'](),_0x66aa10=new _0x249e70($o+_0x9e8b08['generateRandomId'](Je),{'pointsGroup':_0x5118a0,'fill':_0xd07849||_0x16898a(_0xf1f058[_0x2655c4(0x384)],0.2),'left':_0x5baf82,'top':_0x99e2c8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2655c4(0x230)][_0x2655c4(0x44a)](_0x66aa10),this['_scene'][_0x2655c4(0x3d1)](_0x66aa10,_0x40d80b);}[_0x5b1a3a(0x4c2)](_0x31fb66,_0x8441a7,_0x27aeeb,_0x58daae){const _0x4045a0=_0x5b1a3a,_0x4b4df1=new _0x6b83db(_0x31fb66)[_0x4045a0(0x41b)](0.2)['toRgbString'](),_0x9799e4=new _0x249e70(Ho+_0x9e8b08[_0x4045a0(0x19a)](Je),{'pointsGroup':_0x8441a7,'fill':_0x4b4df1||_0x16898a(_0xf1f058[_0x4045a0(0x384)],0.2),'left':_0x27aeeb,'top':_0x58daae,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4045a0(0x44a)](_0x9799e4),this[_0x4045a0(0x246)]['addObject'](_0x9799e4,_0x40d80b);}[_0x5b1a3a(0x2c5)](_0x39578d){const _0xb78015=_0x39578d[0x0],_0x36f8ef=_0xb78015[0x0],_0x2c710a=_0xb78015[0x2],{x:_0x28f67a,y:_0x179256}=_0x36f8ef,{x:_0x1a333f,y:_0x2ef3a9}=_0x2c710a;return{'left':_0x28f67a,'top':_0x179256,'width':_0x1a333f-_0x28f67a,'height':_0x2ef3a9-_0x179256};}[_0x5b1a3a(0x336)](){const _0x8c3c12=_0x5b1a3a,{scaleX:_0x3ec756,scaleY:_0x2c490a}=this['_scene'][_0x8c3c12(0x385)]();return Math[_0x8c3c12(0x3ec)](_0x3ec756,_0x2c490a);}}var Wo=Object['defineProperty'],Fo=Object[_0x5b1a3a(0x42f)],Vo=(_0x331366,_0x8cf879,_0x11c25e,_0x456087)=>{const _0x4675fa=_0x5b1a3a;for(var _0x3478f5=_0x456087>0x1?void 0x0:_0x456087?Fo(_0x8cf879,_0x11c25e):_0x8cf879,_0x3e6aed=_0x331366[_0x4675fa(0x29a)]-0x1,_0x16eb97;_0x3e6aed>=0x0;_0x3e6aed--)(_0x16eb97=_0x331366[_0x3e6aed])&&(_0x3478f5=(_0x456087?_0x16eb97(_0x8cf879,_0x11c25e,_0x3478f5):_0x16eb97(_0x3478f5))||_0x3478f5);return _0x456087&&_0x3478f5&&Wo(_0x8cf879,_0x11c25e,_0x3478f5),_0x3478f5;},ht=(_0xac96c8,_0x3a2e2a)=>(_0x5e0b88,_0x4cb1c0)=>_0x3a2e2a(_0x5e0b88,_0x4cb1c0,_0xac96c8);let os=class extends _0x203b2a{constructor(_0x24e115,_0x1f347c,_0x4c43fc,_0x4606d7,_0x159f96){const _0x47f1f2=_0x5b1a3a;super(),g(this,_0x47f1f2(0x472),[]),g(this,_0x47f1f2(0x435),[]),(this[_0x47f1f2(0x1db)]=_0x24e115,this[_0x47f1f2(0x573)]=_0x1f347c,this[_0x47f1f2(0x206)]=_0x4c43fc,this['_commandService']=_0x4606d7,this['_themeService']=_0x159f96,this[_0x47f1f2(0x26b)]());}[_0x5b1a3a(0x26b)](){const _0x23587b=_0x5b1a3a,_0x4c2540=this[_0x23587b(0x1db)][_0x23587b(0x1ad)],_0x48fbc0=this[_0x23587b(0x573)];this['disposeWithMe'](_0x20173f([this['_collabCursorController'][_0x23587b(0x3a2)](_0x4c2540),this[_0x23587b(0x562)][_0x23587b(0x32c)]])[_0x23587b(0x1ff)](_0xd46654(([_0x11ae83,_0x357745])=>({'skeleton':_0x48fbc0[_0x23587b(0x3eb)](),'cursors':[..._0x11ae83[_0x23587b(0x327)]()][_0x23587b(0x20e)](_0x3dec70=>({..._0x3dec70,'color':_0x357745[_0x3dec70[_0x23587b(0x2d0)]]}))})))[_0x23587b(0x570)](_0x298dda=>{const _0x537463=_0x23587b;if(this[_0x537463(0x2eb)](),_0x298dda){const {skeleton:_0x507522,cursors:_0x418d36}=_0x298dda;this[_0x537463(0x1bf)](_0x507522,_0x418d36);}})),this[_0x23587b(0x360)](),this[_0x23587b(0x437)]();}[_0x5b1a3a(0x1bf)](_0x530a1d,_0x4b2e87){const _0x4cd4ec=_0x5b1a3a,{scene:_0x3aeee2,mainComponent:_0x4a6bbb}=this[_0x4cd4ec(0x1db)],_0x39d72a=_0x4b2e87[_0x4cd4ec(0x208)](_0x17f13a=>new Ks(_0x17f13a,_0x3aeee2,_0x530a1d,_0x4a6bbb));this[_0x4cd4ec(0x472)]=_0x39d72a,this[_0x4cd4ec(0x435)]=_0x4b2e87;}['_refreshCollabCursors'](){const _0x719b27=_0x5b1a3a;this[_0x719b27(0x2eb)]();const {scene:_0x40fe67,mainComponent:_0x2a70fc}=this[_0x719b27(0x1db)],_0x2b148a=this[_0x719b27(0x573)][_0x719b27(0x3eb)](),_0x1948f5=this[_0x719b27(0x435)][_0x719b27(0x208)](_0x3a5316=>new Ks(_0x3a5316,_0x40fe67,_0x2b148a,_0x2a70fc));this['_cursorShapes']=_0x1948f5;}['_removeCollabCursors'](){const _0x46ea07=_0x5b1a3a;this['_cursorShapes']['forEach'](_0x2cbe0a=>_0x2cbe0a[_0x46ea07(0x257)]()),this[_0x46ea07(0x472)]=[];}[_0x5b1a3a(0x437)](){const _0x1646ba=_0x5b1a3a,_0x151435=[_0x235f72['id']];this[_0x1646ba(0x4b9)](this[_0x1646ba(0x50d)]['onCommandExecuted'](_0x5b86d9=>{const _0x23c8f8=_0x1646ba;_0x151435[_0x23c8f8(0x1a7)](_0x5b86d9['id'])&&_0x5b86d9['params'][_0x23c8f8(0x1ad)]===this[_0x23c8f8(0x1db)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x5b1a3a(0x360)](){const _0x4757a2=_0x5b1a3a;this[_0x4757a2(0x4b9)](_0x1d2736(this[_0x4757a2(0x1db)][_0x4757a2(0x499)][_0x4757a2(0x187)])[_0x4757a2(0x1ff)](_0x63bf9c(_0x52cc0e=>_0x52cc0e[_0x4757a2(0x23f)]===_0x5a5654['resize']),_0x3bbffb(0x10))[_0x4757a2(0x570)](()=>{const _0x1b6b5d=_0x4757a2;this[_0x1b6b5d(0x3f3)]();}));}};os=Vo([ht(0x1,_0x28839c(_0x4be44e)),ht(0x2,_0x28839c(Ve)),ht(0x3,_0x10ec6b),ht(0x4,_0x28839c(_0x3c9480))],os);const Go=0x1,Yo=1.5;class Ko extends _0x1bb0ee{constructor(_0x2c3e94,_0x99ab26){const _0x3bd22f=_0x5b1a3a;super(_0x2c3e94,_0x99ab26),g(this,_0x3bd22f(0x4c5)),g(this,_0x3bd22f(0x2b1),!0x1),g(this,_0x3bd22f(0x57f)),g(this,_0x3bd22f(0x27b),''),g(this,_0x3bd22f(0x532),_0x3bd22f(0x574)),g(this,'_backgroundColor'),(_0x99ab26&&this[_0x3bd22f(0x42c)](_0x99ab26),this['onPointerEnter$'][_0x3bd22f(0x4f4)](()=>this[_0x3bd22f(0x42c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3bd22f(0x4f4)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5b1a3a(0x42c)](_0x2d3feb){const _0x34c1ae=_0x5b1a3a;var _0x5de46a,_0x416612,_0x4bf958,_0x4ec503,_0x4a501b,_0x908435;this[_0x34c1ae(0x4c5)]=(_0x5de46a=_0x2d3feb[_0x34c1ae(0x2d0)])!=null?_0x5de46a:this[_0x34c1ae(0x4c5)],this[_0x34c1ae(0x2b1)]=(_0x416612=_0x2d3feb['hovered'])!=null?_0x416612:this[_0x34c1ae(0x2b1)],this[_0x34c1ae(0x57f)]=(_0x4bf958=_0x2d3feb[_0x34c1ae(0x3f8)])!=null?_0x4bf958:this[_0x34c1ae(0x57f)],this[_0x34c1ae(0x27b)]=(_0x4ec503=_0x2d3feb[_0x34c1ae(0x1ca)])!=null?_0x4ec503:this[_0x34c1ae(0x27b)],this[_0x34c1ae(0x532)]=(_0x4a501b=_0x2d3feb[_0x34c1ae(0x3f5)])!=null?_0x4a501b:this[_0x34c1ae(0x532)],this[_0x34c1ae(0x3ed)]=(_0x908435=_0x2d3feb[_0x34c1ae(0x462)])!=null?_0x908435:this['_backgroundColor'],this['transformByState']({'width':_0x2d3feb['width'],'height':_0x2d3feb[_0x34c1ae(0x471)]});}[_0x5b1a3a(0x449)](_0x41f89e){const _0xc50671=_0x5b1a3a,{row:_0xca4bb2,column:_0x569316}=_0x41f89e;if(_0xca4bb2>=this[_0xc50671(0x57f)]['startRow']&&_0xca4bb2<=this[_0xc50671(0x57f)][_0xc50671(0x32d)]&&_0x569316>=this[_0xc50671(0x57f)]['startColumn']&&_0x569316<=this[_0xc50671(0x57f)][_0xc50671(0x305)]){this[_0xc50671(0x42c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5b1a3a(0x521)](_0x1e408d){return!0x1;}[_0x5b1a3a(0x266)](_0x36f53c){const _0x4e639d=_0x5b1a3a;_0x1d9554[_0x4e639d(0x31e)](_0x36f53c,{'width':this['width'],'height':this[_0x4e639d(0x471)],'strokeWidth':Yo,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4e639d(0x3ed)]}),this[_0x4e639d(0x2b1)]&&(_0x36f53c[_0x4e639d(0x269)](),_0x36f53c[_0x4e639d(0x2f2)](0x1,0x0,0x0,0x1,this[_0x4e639d(0x580)],this[_0x4e639d(0x532)]===_0x4e639d(0x4d1)?0x0:-nt),Ot[_0x4e639d(0x31e)](_0x36f53c,{'text':this[_0x4e639d(0x27b)],'color':this['_color']}),_0x36f53c['restore']());}}var zo=Object[_0x5b1a3a(0x3dc)],qo=Object[_0x5b1a3a(0x42f)],Xo=(_0xdf3876,_0x184b50,_0x2f497e,_0x1aca6d)=>{const _0xb0b5fa=_0x5b1a3a;for(var _0x340f3b=_0x1aca6d>0x1?void 0x0:_0x1aca6d?qo(_0x184b50,_0x2f497e):_0x184b50,_0x5c93c9=_0xdf3876[_0xb0b5fa(0x29a)]-0x1,_0x17754a;_0x5c93c9>=0x0;_0x5c93c9--)(_0x17754a=_0xdf3876[_0x5c93c9])&&(_0x340f3b=(_0x1aca6d?_0x17754a(_0x184b50,_0x2f497e,_0x340f3b):_0x17754a(_0x340f3b))||_0x340f3b);return _0x1aca6d&&_0x340f3b&&zo(_0x184b50,_0x2f497e,_0x340f3b),_0x340f3b;},kt=(_0x2076a1,_0x3459a1)=>(_0x537c3c,_0x11499f)=>_0x3459a1(_0x537c3c,_0x11499f,_0x2076a1);const Jo=0x1389;let as=class extends _0x203b2a{constructor(_0x3a80a0,_0xa48839,_0x561419,_0x790632){const _0x1f5a80=_0x5b1a3a;super(),g(this,_0x1f5a80(0x435),new Set()),g(this,'_lastPointer',null),(this['_context']=_0x3a80a0,this['_sheetSkeletonManagerService']=_0xa48839,this[_0x1f5a80(0x206)]=_0x561419,this[_0x1f5a80(0x562)]=_0x790632,this[_0x1f5a80(0x26b)]());}['_init'](){const _0xf9271c=_0x5b1a3a;this[_0xf9271c(0x30d)][_0xf9271c(0x358)][_0xf9271c(0x1ff)](_0x3c36f4(this[_0xf9271c(0x431)]),_0x280f00(_0x52c2a7=>{const _0x1d119e=_0xf9271c;if(_0x52c2a7){const _0x20c0f4=_0x52c2a7[_0x1d119e(0x44b)];return _0x20173f(this[_0x1d119e(0x206)][_0x1d119e(0x3a2)](this[_0x1d119e(0x1db)]['unitId']),this['_themeService'][_0x1d119e(0x32c)])[_0x1d119e(0x1ff)](_0xd46654(([_0x1c5eda,_0x4a6cb4])=>{const _0x2cbd9d=new Map();return _0x1c5eda['forEach']((_0xad09b2,_0x3af05b)=>{const _0x2a3f0c=_0xa0d1;if(_0xad09b2['sheetID']===_0x20c0f4){const _0x3bb91d={..._0xad09b2};_0x3bb91d[_0x2a3f0c(0x2d0)]=_0x4a6cb4[_0xad09b2[_0x2a3f0c(0x2d0)]],_0x2cbd9d[_0x2a3f0c(0x18b)](_0x3af05b,_0x3bb91d);}}),{'skeleton':_0x52c2a7,'cursors':_0x2cbd9d};}));}return _0x323ee7({'skeleton':null,'cursors':new Map()});}))[_0xf9271c(0x570)](({skeleton:_0x4ce2c1,cursors:_0x22111a})=>{const _0x50a403=_0xf9271c;this[_0x50a403(0x2eb)](),_0x4ce2c1&&this['_updateCollabCursors'](_0x4ce2c1,_0x22111a);}),this['_sheetSkeletonManagerService'][_0xf9271c(0x358)][_0xf9271c(0x570)](_0xdec6db=>{const _0x12c2d9=_0xf9271c;if(_0xdec6db==null)return;const {skeleton:_0x542a74}=_0xdec6db,{scene:_0x544c71}=this[_0x12c2d9(0x1db)];_0x544c71[_0x12c2d9(0x528)][_0x12c2d9(0x4f4)](_0x5ca691(_0x2959d1=>{const _0xad12b3=_0x12c2d9;var _0x331020,_0x4d4412;const {offsetX:_0x1880de,offsetY:_0x4b2d26}=_0x2959d1,{x:_0x2f64fe,y:_0x41b105}=_0x544c71[_0xad12b3(0x335)](_0x432251[_0xad12b3(0x1cc)]([_0x1880de,_0x4b2d26])),{scaleX:_0x2af2b0,scaleY:_0x1641bd}=_0x544c71[_0xad12b3(0x385)](),_0x52bbe7=_0x544c71['getViewport'](_0x373d88[_0xad12b3(0x40e)]),_0x19027e=_0x544c71[_0xad12b3(0x394)](_0x432251['FromArray']([_0x2f64fe,_0x41b105]),_0x52bbe7),_0x25ee54=_0x542a74[_0xad12b3(0x22c)](_0x1880de,_0x4b2d26,_0x2af2b0,_0x1641bd,_0x19027e);((_0x331020=this['_lastPointer'])==null?void 0x0:_0x331020[_0xad12b3(0x461)])===_0x25ee54['column']&&((_0x4d4412=this[_0xad12b3(0x4db)])==null?void 0x0:_0x4d4412[_0xad12b3(0x498)])===_0x25ee54[_0xad12b3(0x498)]||this[_0xad12b3(0x435)]['forEach'](_0x9daac5=>{_0x9daac5['onMouseMove'](_0x25ee54);});},0x64));});}[_0x5b1a3a(0x1bf)](_0x187ef4,_0x35aee9){const _0x2e157a=_0x5b1a3a;var _0x5215f9;const _0xad8844=(_0x5215f9=this['_sheetSkeletonManagerService'][_0x2e157a(0x1b1)]())==null?void 0x0:_0x5215f9[_0x2e157a(0x192)];if(!_0xad8844)return;const _0x2d36aa=this[_0x2e157a(0x369)]();if(!_0x2d36aa)return;this['_cursors']['forEach'](_0x2276c5=>{const _0xfc129e=_0x2e157a;_0x2276c5[_0xfc129e(0x46f)]();});const {scene:_0x5083e4}=_0x2d36aa,_0x48f93f=Zo(Array['from'](_0x35aee9[_0x2e157a(0x327)]()))[_0x2e157a(0x208)](_0x144705=>{const _0x712691=_0x2e157a,{color:_0xb67bc5,range:_0x422f7c,name:_0x2f7679,selection:_0x5ec6cf,sheetID:_0x132b0e}=_0x144705,{startColumn:_0x5b98ef,startRow:_0x4978b9,endColumn:_0x526556,endRow:_0x534020}=_0x422f7c,_0x395d52=_0x5003e7(_0x4978b9,_0x5b98ef,_0x5083e4,_0xad8844),_0x4e928d=_0x5003e7(_0x534020,_0x526556,_0x5083e4,_0xad8844),{columnHeaderHeightAndMarginTop:_0x29aee0}=_0xad8844,{startX:_0x4e21a4,startY:_0x2a1b73}=_0x395d52,{endX:_0x3cd002,endY:_0x16f669}=_0x4e928d,_0x57edcb=_0x3cd002-_0x4e21a4,_0x526d5c=_0x16f669-_0x2a1b73,_0xf87539={'labelPosition':_0x2a1b73-_0x29aee0>=nt?_0x712691(0x574):_0x712691(0x4d1),'sheetID':_0x132b0e,'range':_0x422f7c,'color':_0xb67bc5,'name':_0x2f7679,'selection':_0x5ec6cf,'left':_0x4e21a4,'top':_0x2a1b73,'width':_0x57edcb,'height':_0x526d5c,'evented':!0x1,'zIndex':Jo};return new Ko(_0x2f7679,_0xf87539);});_0x5083e4[_0x2e157a(0x1a4)](_0x48f93f,Go),this[_0x2e157a(0x435)]=new Set(_0x48f93f);}[_0x5b1a3a(0x2eb)](){const _0x6fbc61=_0x5b1a3a;var _0x205407;(_0x205407=this['_cursors'])==null||_0x205407[_0x6fbc61(0x2a1)](_0x12ce0d=>_0x12ce0d['dispose']());}[_0x5b1a3a(0x369)](){const _0x4cfd53=_0x5b1a3a;return _0xb86afb(this['_context'][_0x4cfd53(0x503)],this[_0x4cfd53(0x1db)]);}};as=Xo([kt(0x1,_0x28839c(_0x58f32f)),kt(0x2,_0x28839c(Ve)),kt(0x3,_0x28839c(_0x3c9480))],as);function Zo(_0x6ab2ae){const _0x130399=_0x5b1a3a,_0x2d7a8a=new Map();return _0x6ab2ae[_0x130399(0x2a1)](_0x57db0c=>{const _0x997c36=_0x130399;if(_0x2d7a8a[_0x997c36(0x2fd)](_0x57db0c[_0x997c36(0x492)])){const _0x241832=_0x2d7a8a[_0x997c36(0x50f)](_0x57db0c[_0x997c36(0x492)]);_0x241832[_0x997c36(0x1ca)]+=',\x20'+_0x57db0c[_0x997c36(0x1ca)];}else _0x2d7a8a['set'](_0x57db0c[_0x997c36(0x492)],_0x57db0c);}),Array[_0x130399(0x337)](_0x2d7a8a[_0x130399(0x327)]());}var ee=function(){const _0x3235fe=_0x5b1a3a;return ee=Object[_0x3235fe(0x1c2)]||function(_0x347dea){const _0x3af3cd=_0x3235fe;for(var _0x2234b5,_0x295c85=0x1,_0x210e61=arguments[_0x3af3cd(0x29a)];_0x295c85<_0x210e61;_0x295c85++){_0x2234b5=arguments[_0x295c85];for(var _0x2f5598 in _0x2234b5)Object[_0x3af3cd(0x537)][_0x3af3cd(0x1d8)][_0x3af3cd(0x27f)](_0x2234b5,_0x2f5598)&&(_0x347dea[_0x2f5598]=_0x2234b5[_0x2f5598]);}return _0x347dea;},ee[_0x3235fe(0x561)](this,arguments);},Qo=function(_0x12f203,_0x46560a){const _0x2d2814=_0x5b1a3a;var _0x10ab85={};for(var _0x284e9d in _0x12f203)Object[_0x2d2814(0x537)][_0x2d2814(0x1d8)][_0x2d2814(0x27f)](_0x12f203,_0x284e9d)&&_0x46560a[_0x2d2814(0x442)](_0x284e9d)<0x0&&(_0x10ab85[_0x284e9d]=_0x12f203[_0x284e9d]);if(_0x12f203!=null&&typeof Object[_0x2d2814(0x47e)]==_0x2d2814(0x3b7)){for(var _0x4b3986=0x0,_0x284e9d=Object[_0x2d2814(0x47e)](_0x12f203);_0x4b3986<_0x284e9d[_0x2d2814(0x29a)];_0x4b3986++)_0x46560a[_0x2d2814(0x442)](_0x284e9d[_0x4b3986])<0x0&&Object[_0x2d2814(0x537)][_0x2d2814(0x234)][_0x2d2814(0x27f)](_0x12f203,_0x284e9d[_0x4b3986])&&(_0x10ab85[_0x284e9d[_0x4b3986]]=_0x12f203[_0x284e9d[_0x4b3986]]);}return _0x10ab85;},Ts=_0x61bf00(function(_0x44fcee,_0x218d27){const _0x477e66=_0x5b1a3a;var _0x454ffb=_0x44fcee['icon'],_0x4adf88=_0x44fcee['id'],_0x102da0=_0x44fcee[_0x477e66(0x35c)],_0x85aa2b=_0x44fcee[_0x477e66(0x2f0)],_0x1f03f0=Qo(_0x44fcee,[_0x477e66(0x535),'id',_0x477e66(0x35c),_0x477e66(0x2f0)]),_0x3fc970='univerjs-icon\x20univerjs-icon-'[_0x477e66(0x200)](_0x4adf88,'\x20')[_0x477e66(0x200)](_0x102da0||'')[_0x477e66(0x475)](),_0x302ae8=_0x3646dc('_'[_0x477e66(0x200)](sa()));return Mi(_0x454ffb,''['concat'](_0x4adf88),{'defIds':_0x454ffb['defIds'],'idSuffix':_0x302ae8[_0x477e66(0x2a2)]},ee({'ref':_0x218d27,'className':_0x3fc970},_0x1f03f0),_0x85aa2b);});function Mi(_0x38ab50,_0x462308,_0xb33802,_0x4ad66f,_0x14a11d){const _0x29edb4=_0x5b1a3a;return _0xbb55a3(_0x38ab50[_0x29edb4(0x323)],ee(ee({'key':_0x462308},ea(_0x38ab50,_0xb33802,_0x14a11d)),_0x4ad66f),(ta(_0x38ab50,_0xb33802)[_0x29edb4(0x3e2)]||[])[_0x29edb4(0x208)](function(_0x56548f,_0x391394){const _0x8354aa=_0x29edb4;return Mi(_0x56548f,''[_0x8354aa(0x200)](_0x462308,'-')['concat'](_0x38ab50[_0x8354aa(0x323)],'-')[_0x8354aa(0x200)](_0x391394),_0xb33802,void 0x0,_0x14a11d);}));}function ea(_0x1ea4a2,_0x598528,_0x3bd5e3){const _0x4d9375=_0x5b1a3a;var _0x53e442=ee({},_0x1ea4a2['attrs']);_0x3bd5e3!=null&&_0x3bd5e3[_0x4d9375(0x19e)]&&_0x53e442[_0x4d9375(0x3a7)]===_0x4d9375(0x19e)&&(_0x53e442[_0x4d9375(0x3a7)]=_0x3bd5e3[_0x4d9375(0x19e)]);var _0x48f3d4=_0x598528['defIds'];return!_0x48f3d4||_0x48f3d4[_0x4d9375(0x29a)]===0x0||(_0x1ea4a2[_0x4d9375(0x323)]===_0x4d9375(0x1b5)&&_0x53e442['xlink:href']&&(_0x53e442['xlink:href']=_0x53e442[_0x4d9375(0x3bc)]+_0x598528[_0x4d9375(0x52f)]),Object['entries'](_0x53e442)['forEach'](function(_0x2aaf76){const _0x3f326c=_0x4d9375;var _0x249468=_0x2aaf76[0x0],_0xfea952=_0x2aaf76[0x1];typeof _0xfea952=='string'&&(_0x53e442[_0x249468]=_0xfea952['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3f326c(0x200)](_0x598528['idSuffix'],')')));})),_0x53e442;}function ta(_0x2859fc,_0x4b7e0b){const _0xc0e61a=_0x5b1a3a;var _0x1b91da,_0x5dcd49=_0x4b7e0b[_0xc0e61a(0x2b7)];return!_0x5dcd49||_0x5dcd49[_0xc0e61a(0x29a)]===0x0?_0x2859fc:_0x2859fc['tag']==='defs'&&(!((_0x1b91da=_0x2859fc[_0xc0e61a(0x3e2)])===null||_0x1b91da===void 0x0)&&_0x1b91da[_0xc0e61a(0x29a)])?ee(ee({},_0x2859fc),{'children':_0x2859fc['children'][_0xc0e61a(0x208)](function(_0x5eef35){const _0xc63c49=_0xc0e61a;return typeof _0x5eef35[_0xc63c49(0x19d)]['id']==_0xc63c49(0x4fa)&&_0x5dcd49&&_0x5dcd49[_0xc63c49(0x442)](_0x5eef35[_0xc63c49(0x19d)]['id'])>-0x1?ee(ee({},_0x5eef35),{'attrs':ee(ee({},_0x5eef35['attrs']),{'id':_0x5eef35[_0xc63c49(0x19d)]['id']+_0x4b7e0b[_0xc63c49(0x52f)]})}):_0x5eef35;})}):_0x2859fc;}function sa(){const _0x1a8630=_0x5b1a3a;return Math[_0x1a8630(0x372)]()['toString'](0x24)[_0x1a8630(0x188)](0x2,0x8);}Ts[_0x5b1a3a(0x50a)]='UniverIcon';var ia={'tag':_0x5b1a3a(0x3e1),'attrs':{'fill':_0x5b1a3a(0x4ef),'viewBox':'0\x200\x2016\x2016','width':_0x5b1a3a(0x2cc),'height':_0x5b1a3a(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b1a3a(0x193)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'stroke':'currentColor','d':_0x5b1a3a(0x2bd),'strokeLinecap':_0x5b1a3a(0x53c),'strokeLinejoin':_0x5b1a3a(0x53c),'strokeWidth':1.2}}]},{'tag':_0x5b1a3a(0x2d1),'attrs':{},'children':[{'tag':_0x5b1a3a(0x4f5),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'fill':_0x5b1a3a(0x4b1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5b1a3a(0x17e)]},xi=_0x61bf00(function(_0x406595,_0x5a96d0){return _0xbb55a3(Ts,Object['assign']({},_0x406595,{'id':'off-line-single','ref':_0x5a96d0,'icon':ia}));});xi[_0x5b1a3a(0x50a)]='OffLineSingle';var na={'tag':_0x5b1a3a(0x3e1),'attrs':{'fill':_0x5b1a3a(0x4ef),'viewBox':_0x5b1a3a(0x558),'width':_0x5b1a3a(0x2cc),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5b1a3a(0x55f)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'stroke':_0x5b1a3a(0x38b),'d':_0x5b1a3a(0x1d6),'strokeLinecap':_0x5b1a3a(0x53c),'strokeLinejoin':_0x5b1a3a(0x53c),'strokeWidth':1.2}}]},{'tag':_0x5b1a3a(0x2d1),'attrs':{},'children':[{'tag':_0x5b1a3a(0x4f5),'attrs':{'id':_0x5b1a3a(0x1b8)},'children':[{'tag':_0x5b1a3a(0x307),'attrs':{'fill':_0x5b1a3a(0x4b1),'d':_0x5b1a3a(0x1e0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5b1a3a(0x1b8)]},Li=_0x61bf00(function(_0x16e175,_0x1488d4){const _0xbddb71=_0x5b1a3a;return _0xbb55a3(Ts,Object[_0xbddb71(0x1c2)]({},_0x16e175,{'id':_0xbddb71(0x36b),'ref':_0x1488d4,'icon':na}));});Li[_0x5b1a3a(0x50a)]=_0x5b1a3a(0x533);function $i(_0x417751){const _0x405116=_0x5b1a3a;var _0x34c84e,_0xdb1bbe,_0x457c30='';if(typeof _0x417751==_0x405116(0x4fa)||typeof _0x417751=='number')_0x457c30+=_0x417751;else{if(typeof _0x417751=='object'){if(Array[_0x405116(0x25c)](_0x417751)){var _0x54b56b=_0x417751[_0x405116(0x29a)];for(_0x34c84e=0x0;_0x34c84e<_0x54b56b;_0x34c84e++)_0x417751[_0x34c84e]&&(_0xdb1bbe=$i(_0x417751[_0x34c84e]))&&(_0x457c30&&(_0x457c30+='\x20'),_0x457c30+=_0xdb1bbe);}else{for(_0xdb1bbe in _0x417751)_0x417751[_0xdb1bbe]&&(_0x457c30&&(_0x457c30+='\x20'),_0x457c30+=_0xdb1bbe);}}}return _0x457c30;}function ra(){for(var _0x129353,_0x29b9f5,_0x38d489=0x0,_0x76fe6c='',_0x561d52=arguments['length'];_0x38d489<_0x561d52;_0x38d489++)(_0x129353=arguments[_0x38d489])&&(_0x29b9f5=$i(_0x129353))&&(_0x76fe6c&&(_0x76fe6c+='\x20'),_0x76fe6c+=_0x29b9f5);return _0x76fe6c;}const oa=_0x5b1a3a(0x196),aa='univer-online-status-title',ca='univer-online-status',ha=_0x5b1a3a(0x56a),la=_0x5b1a3a(0x452),Ze={'onlineStatusIcon':oa,'onlineStatusTitle':aa,'onlineStatus':ca,'online':ha,'offline':la};function _a(_0x3abeb6){const _0x30e5aa=_0x5b1a3a;switch(_0x3abeb6){case J[_0x30e5aa(0x405)]:return'collabStatus.offline';case J[_0x30e5aa(0x17f)]:return'collabStatus.conflict';case J[_0x30e5aa(0x4be)]:return _0x30e5aa(0x572);case J[_0x30e5aa(0x520)]:return'collabStatus.notCollab';case J[_0x30e5aa(0x54a)]:case J['AWAITING_WITH_PENDING']:return _0x30e5aa(0x214);case J['SYNCED']:case J['PENDING']:return _0x30e5aa(0x1d2);}}function ua(_0x594126){const _0x5c5859=_0x5b1a3a,{status$:_0x2ac77d}=_0x594126,_0x55f417=_0x22bb33(_0x2ac77d,J[_0x5c5859(0x520)]),_0x38bd00=_0x243e1f(_0x173a06),_0x37da15=_0x243e1f(Ae),_0x1891c7=_0x55f417!==J[_0x5c5859(0x405)],_0x4df538=_0x38bd00['t'](_a(_0x55f417)),_0x1901ef=ra(Ze[_0x5c5859(0x479)],{[Ze[_0x5c5859(0x567)]]:_0x1891c7,[Ze['offline']]:!_0x1891c7}),_0x67fdd0=_0x1891c7?_0x3718ff[_0x5c5859(0x540)](Li,null):_0x3718ff[_0x5c5859(0x540)](xi,null),_0x2b3907=_0x5f371c(()=>{const _0x379dd4=_0x5c5859;_0x1891c7||_0x37da15[_0x379dd4(0x3e0)]();},[_0x1891c7,_0x37da15]);function _0x42b71f(){const _0x2b8a9d=_0x5c5859;return _0x3718ff[_0x2b8a9d(0x540)](_0x2b8a9d(0x294),{'className':_0x1901ef,'onClick':_0x2b3907},_0x3718ff['createElement'](_0x2b8a9d(0x294),{'className':Ze['onlineStatusIcon']},_0x67fdd0),_0x3718ff['createElement'](_0x2b8a9d(0x294),{'className':Ze[_0x2b8a9d(0x42e)]},_0x4df538));}return _0x1891c7?_0x42b71f():_0x3718ff[_0x5c5859(0x540)](_0x3dbbdc,{'title':_0x38bd00['t'](_0x5c5859(0x2b4))},_0x42b71f());}var da=Object[_0x5b1a3a(0x3dc)],fa=Object[_0x5b1a3a(0x42f)],va=(_0x36b69b,_0x5da118,_0x2d1164,_0x42b018)=>{for(var _0x4e3b8d=_0x42b018>0x1?void 0x0:_0x42b018?fa(_0x5da118,_0x2d1164):_0x5da118,_0x5b26a1=_0x36b69b['length']-0x1,_0x1a334d;_0x5b26a1>=0x0;_0x5b26a1--)(_0x1a334d=_0x36b69b[_0x5b26a1])&&(_0x4e3b8d=(_0x42b018?_0x1a334d(_0x5da118,_0x2d1164,_0x4e3b8d):_0x1a334d(_0x4e3b8d))||_0x4e3b8d);return _0x42b018&&_0x4e3b8d&&da(_0x5da118,_0x2d1164,_0x4e3b8d),_0x4e3b8d;},lt=(_0x511392,_0x5df326)=>(_0x5d11dc,_0x19eaa9)=>_0x5df326(_0x5d11dc,_0x19eaa9,_0x511392);let It=class extends _0x45951d{constructor(_0x4a528b,_0x119eda,_0x41203b,_0x2608b4){const _0x48ad09=_0x5b1a3a;super(),g(this,_0x48ad09(0x2ef),new _0x1ce182(J[_0x48ad09(0x520)])),(this[_0x48ad09(0x212)]=_0x4a528b,this['_uiPartsService']=_0x119eda,this[_0x48ad09(0x4e1)]=_0x41203b,this[_0x48ad09(0x2e9)]=_0x2608b4,this['_initStatusComponent'](),this[_0x48ad09(0x4a4)]());}[_0x5b1a3a(0x4a4)](){const _0x1cd193=_0x5b1a3a;this[_0x1cd193(0x4b9)](this[_0x1cd193(0x212)][_0x1cd193(0x33d)][_0x1cd193(0x1ff)](_0x3a75f3(()=>{const _0x5a55d7=_0x1cd193,_0x14dc22=this['_univerInstanceService'][_0x5a55d7(0x555)]();return _0x14dc22?this[_0x5a55d7(0x2e9)][_0x5a55d7(0x4ce)](_0x14dc22[_0x5a55d7(0x510)]()):_0x323ee7(null);}),_0x3a75f3(_0x1fa64d=>_0x1fa64d?_0x1fa64d['status$']:_0x323ee7(J[_0x1cd193(0x520)])))[_0x1cd193(0x570)](_0x4b0564=>{const _0x232b2e=_0x1cd193;this[_0x232b2e(0x2ef)][_0x232b2e(0x424)](_0x4b0564);}));}[_0x5b1a3a(0x564)](){const _0x4cd14b=_0x5b1a3a;this[_0x4cd14b(0x4b9)](this['_uiPartsService']['registerComponent'](_0x5879a4['HEADER_MENU'],()=>_0x30cf07(ma({'status$':this[_0x4cd14b(0x2ef)][_0x4cd14b(0x319)]()}),this[_0x4cd14b(0x4e1)])));}};It=va([lt(0x0,_0x578cb),lt(0x1,_0x39aaa5),lt(0x2,_0x28839c(_0x1027b3)),lt(0x3,_0x28839c(it))],It);function ma(_0x24e6b8){const {status$:_0x4bfa8f}=_0x24e6b8;return function(){return _0x3718ff['createElement'](ua,{'status$':_0x4bfa8f});};}const Hi=_0x25a723(_0x5b1a3a(0x390));var pa=Object[_0x5b1a3a(0x3dc)],ga=Object[_0x5b1a3a(0x42f)],Sa=(_0x5b5bf9,_0x347b67,_0x3b80d1,_0x3f8cba)=>{const _0x1a8c6c=_0x5b1a3a;for(var _0x211fa9=_0x3f8cba>0x1?void 0x0:_0x3f8cba?ga(_0x347b67,_0x3b80d1):_0x347b67,_0x491012=_0x5b5bf9[_0x1a8c6c(0x29a)]-0x1,_0x4bebb9;_0x491012>=0x0;_0x491012--)(_0x4bebb9=_0x5b5bf9[_0x491012])&&(_0x211fa9=(_0x3f8cba?_0x4bebb9(_0x347b67,_0x3b80d1,_0x211fa9):_0x4bebb9(_0x211fa9))||_0x211fa9);return _0x3f8cba&&_0x211fa9&&pa(_0x347b67,_0x3b80d1,_0x211fa9),_0x211fa9;},ke=(_0x5afac7,_0x15dcff)=>(_0x4b62ef,_0x28db71)=>_0x15dcff(_0x4b62ef,_0x28db71,_0x5afac7);let Ct=class extends _0x203b2a{constructor(_0x8381ea,_0x322e0a,_0x3fde0a,_0x2a5744,_0x1e1755,_0x104c65){const _0x5d56d9=_0x5b1a3a;super(),this[_0x5d56d9(0x3d5)]=_0x8381ea,this[_0x5d56d9(0x2b5)]=_0x322e0a,this[_0x5d56d9(0x50d)]=_0x3fde0a,this[_0x5d56d9(0x2af)]=_0x2a5744,this['_snapshotService']=_0x1e1755,_0x104c65?_0x104c65==null||_0x104c65['whenReady']()[_0x5d56d9(0x381)](()=>this[_0x5d56d9(0x26b)]()):(this['_logService'][_0x5d56d9(0x1b6)](_0x5d56d9(0x4dd),_0x5d56d9(0x18c)),this['_init']());}async[_0x5b1a3a(0x26b)](){const _0x2c7125=_0x5b1a3a,_0xf2ccf9=this['_urlService']['getParam'](_0x2c7125(0x503)),_0x2f8d44=this[_0x2c7125(0x3d5)][_0x2c7125(0x509)](_0x2c7125(0x23f));if(!_0xf2ccf9||!_0x2f8d44){this[_0x2c7125(0x2b5)]['debug'](_0x2c7125(0x4dd),_0x2c7125(0x263));return;}switch(Number(_0x2f8d44)){case ce[_0x2c7125(0x24e)]:{const _0x5d333c=await this[_0x2c7125(0x4f0)](_0xf2ccf9);this[_0x2c7125(0x1ef)](_0x5d333c);break;}case ce[_0x2c7125(0x1f2)]:{await this['_loadDoc'](_0xf2ccf9);break;}default:{this[_0x2c7125(0x2b5)][_0x2c7125(0x237)](_0x2c7125(0x4dd),_0x2c7125(0x54c));break;}}}async[_0x5b1a3a(0x1ef)](_0x42b512){const _0x788139=_0x5b1a3a;await this[_0x788139(0x4fc)](_0x42b512),_0x42b512[_0x788139(0x21a)][_0x788139(0x1ff)](_0x3b6332(this[_0x788139(0x431)]))[_0x788139(0x570)](_0x4df2a4=>{const _0x2927c1=_0x788139;_0x4df2a4&&this[_0x2927c1(0x3b3)](_0x4df2a4);}),this['_urlService']['urlChange$'][_0x788139(0x1ff)](_0x3b6332(this[_0x788139(0x431)]))[_0x788139(0x570)](()=>this[_0x788139(0x4fc)](_0x42b512));}[_0x5b1a3a(0x3b3)](_0x1954b4,_0x3d1152=!0x1){const _0x144740=_0x5b1a3a,_0x1a8366=this[_0x144740(0x3d5)][_0x144740(0x509)](_0x144740(0x3d9));_0x1954b4[_0x144740(0x202)]()!==_0x1a8366&&this[_0x144740(0x3d5)][_0x144740(0x1d1)](_0x144740(0x3d9),_0x1954b4[_0x144740(0x202)](),_0x3d1152);}async[_0x5b1a3a(0x4fc)](_0x5de4e0){const _0x33d373=_0x5b1a3a;var _0x228643;const _0x3bcf72=this[_0x33d373(0x3d5)][_0x33d373(0x509)](_0x33d373(0x3d9));if(!_0x3bcf72||!_0x5de4e0[_0x33d373(0x4cd)](_0x3bcf72)){const _0x4afc01=_0x5de4e0[_0x33d373(0x1d5)]()[0x0],_0x182d7d=_0x5de4e0[_0x33d373(0x4cd)](_0x4afc01);if(!_0x182d7d)return;this[_0x33d373(0x3b3)](_0x182d7d,!0x0),await this['_commandService'][_0x33d373(0x23a)](_0x79ca6c['id'],{'unitId':_0x5de4e0[_0x33d373(0x510)](),'subUnitId':_0x4afc01});return;}((_0x228643=_0x5de4e0[_0x33d373(0x3df)]())==null?void 0x0:_0x228643[_0x33d373(0x202)]())!==_0x3bcf72&&await this[_0x33d373(0x50d)]['executeCommand'](_0x79ca6c['id'],{'unitId':_0x5de4e0[_0x33d373(0x510)](),'subUnitId':_0x3bcf72});}async['_loadSheet'](_0x259816){const _0x58e741=_0x5b1a3a;let _0x44926c=0x0;const _0x328490=await this[_0x58e741(0x2af)]['loadOfflineData'](_0x259816);return _0x328490&&(_0x328490[_0x58e741(0x213)]||_0x328490['mutations'][_0x58e741(0x29a)]!==0x0)&&(_0x44926c=_0x328490['rev']),_0x44926c===0x0&&this[_0x58e741(0x2b5)][_0x58e741(0x1b6)](_0x58e741(0x4dd),_0x58e741(0x1b3)),this[_0x58e741(0x40a)]['loadSheet'](_0x259816,_0x44926c);}async['_loadDoc'](_0x31091c){const _0x21b687=_0x5b1a3a;let _0x37bd49=0x0;const _0x14aace=await this[_0x21b687(0x2af)][_0x21b687(0x25d)](_0x31091c);return _0x14aace&&(_0x14aace['awaitingChangeset']||_0x14aace[_0x21b687(0x260)]['length']!==0x0)&&(_0x37bd49=_0x14aace['rev']),_0x37bd49===0x0&&this[_0x21b687(0x2b5)][_0x21b687(0x1b6)](_0x21b687(0x4dd),_0x21b687(0x1b3)),this[_0x21b687(0x40a)]['loadDoc'](_0x31091c,_0x37bd49);}};Ct=Sa([ke(0x0,Hi),ke(0x1,_0x418a3e),ke(0x2,_0x10ec6b),ke(0x3,_0x28839c(q)),ke(0x4,_0x28839c(_0x410fdc)),ke(0x5,_0x3c705a(_0x201acf))],Ct);var Ia=Object[_0x5b1a3a(0x3dc)],Ca=Object[_0x5b1a3a(0x42f)],Ea=(_0x1fb25c,_0x25d44c,_0x16923f,_0x1f5c41)=>{const _0x35e197=_0x5b1a3a;for(var _0x101887=_0x1f5c41>0x1?void 0x0:_0x1f5c41?Ca(_0x25d44c,_0x16923f):_0x25d44c,_0x414345=_0x1fb25c[_0x35e197(0x29a)]-0x1,_0x1b6dbc;_0x414345>=0x0;_0x414345--)(_0x1b6dbc=_0x1fb25c[_0x414345])&&(_0x101887=(_0x1f5c41?_0x1b6dbc(_0x25d44c,_0x16923f,_0x101887):_0x1b6dbc(_0x101887))||_0x101887);return _0x1f5c41&&_0x101887&&Ia(_0x25d44c,_0x16923f,_0x101887),_0x101887;},zs=(_0x41c075,_0x2eea1)=>(_0x21fc61,_0x21c68f)=>_0x2eea1(_0x21fc61,_0x21c68f,_0x41c075);const ba=_0x5b1a3a(0x378),Ta=_0x5b1a3a(0x347);let Et=class extends _0x45951d{constructor(_0x9b059e,_0x4efd56){const _0x428fc3=_0x5b1a3a;super(),this['_univerInstanceService']=_0x9b059e,this[_0x428fc3(0x4c4)]=_0x4efd56,this[_0x428fc3(0x26b)]();}[_0x5b1a3a(0x26b)](){const _0x4d99a6=_0x5b1a3a;this[_0x4d99a6(0x4b9)](this['_univerInstanceService'][_0x4d99a6(0x33d)][_0x4d99a6(0x570)](()=>{const _0x529c56=_0x4d99a6;var _0x125584;const _0x45daa9=this[_0x529c56(0x212)]['getFocusedUnit']();let _0x2568ae=(_0x125584=this[_0x529c56(0x4c4)]['getConfig'](ba))!=null?_0x125584:Ta;_0x45daa9 instanceof _0x2adeef&&(_0x2568ae=_0x45daa9[_0x529c56(0x1ca)]),document[_0x529c56(0x4a6)]=_0x2568ae;}));}};Et=Ea([zs(0x0,_0x578cb),zs(0x1,_0x5d6cbd)],Et);var Ra=Object[_0x5b1a3a(0x3dc)],ya=Object['getOwnPropertyDescriptor'],Oa=(_0xf7274d,_0x190b91,_0x481164,_0x43725a)=>{const _0x43eab4=_0x5b1a3a;for(var _0x27a985=_0x43725a>0x1?void 0x0:_0x43725a?ya(_0x190b91,_0x481164):_0x190b91,_0x4922eb=_0xf7274d[_0x43eab4(0x29a)]-0x1,_0x25e877;_0x4922eb>=0x0;_0x4922eb--)(_0x25e877=_0xf7274d[_0x4922eb])&&(_0x27a985=(_0x43725a?_0x25e877(_0x190b91,_0x481164,_0x27a985):_0x25e877(_0x27a985))||_0x27a985);return _0x43725a&&_0x27a985&&Ra(_0x190b91,_0x481164,_0x27a985),_0x27a985;},Wt=(_0x555947,_0x4aa824)=>(_0x224a44,_0x102953)=>_0x4aa824(_0x224a44,_0x102953,_0x555947);let bt=class{constructor(_0x23821b,_0x25764e,_0x3ca22c){const _0x5b4796=_0x5b1a3a;this[_0x5b4796(0x4c4)]=_0x23821b,this[_0x5b4796(0x518)]=_0x25764e,this[_0x5b4796(0x4ea)]=_0x3ca22c,this[_0x5b4796(0x1bc)]();}[_0x5b1a3a(0x1bc)](){const _0x16d0b5=_0x5b1a3a;this['_httpService'][_0x16d0b5(0x181)]({'priority':0x1,'interceptor':(_0x5b5398,_0x5bdedd)=>_0x5bdedd(_0x5b5398)[_0x16d0b5(0x1ff)](_0x77341e(async _0x5a584f=>{const _0x367000=_0x16d0b5,_0x131708=_0x5a584f;if(_0x131708['status']===0x191&&window[_0x367000(0x39b)](this[_0x367000(0x4ea)]['t']('auth.needGotoLoginAlert'))){const _0x3c96ae=window[_0x367000(0x4ee)](window[_0x367000(0x4c3)]['href']);window['location'][_0x367000(0x3ad)]=this[_0x367000(0x20a)]()+_0x367000(0x2de)+_0x3c96ae;}return _0x131708;}))});}[_0x5b1a3a(0x20a)](){const _0x1ce632=_0x5b1a3a;var _0x268e25,_0x48285b;const _0x55d646=this[_0x1ce632(0x4c4)][_0x1ce632(0x451)](Ir),_0x1a7508=this[_0x1ce632(0x4c4)][_0x1ce632(0x451)](ie);return(_0x48285b=(_0x268e25=_0x1a7508==null?void 0x0:_0x1a7508[_0x1ce632(0x326)])!=null?_0x268e25:_0x55d646)!=null?_0x48285b:Cr;}};bt=Oa([Wt(0x0,_0x5d6cbd),Wt(0x1,_0x28839c(_0xcd006c)),Wt(0x2,_0x28839c(_0x173a06))],bt);var wa=Object[_0x5b1a3a(0x3dc)],Da=Object['getOwnPropertyDescriptor'],Pa=(_0x4cc0fc,_0x36ccb6,_0x1f4b19,_0x5d3c7b)=>{for(var _0x458259=_0x5d3c7b>0x1?void 0x0:_0x5d3c7b?Da(_0x36ccb6,_0x1f4b19):_0x36ccb6,_0x1cb719=_0x4cc0fc['length']-0x1,_0x141bc3;_0x1cb719>=0x0;_0x1cb719--)(_0x141bc3=_0x4cc0fc[_0x1cb719])&&(_0x458259=(_0x5d3c7b?_0x141bc3(_0x36ccb6,_0x1f4b19,_0x458259):_0x141bc3(_0x458259))||_0x458259);return _0x5d3c7b&&_0x458259&&wa(_0x36ccb6,_0x1f4b19,_0x458259),_0x458259;},qs=(_0x1a3f6c,_0x37784b)=>(_0x3030c6,_0xa545d0)=>_0x37784b(_0x3030c6,_0xa545d0,_0x1a3f6c);const Ua=_0x5b1a3a(0x249),Na=_0x5b1a3a(0x3ac);let cs=class extends _0x45951d{constructor(_0x30e0cf,_0x4bbfa7){const _0x7f918a=_0x5b1a3a;super(),this['_HTTPService']=_0x30e0cf,this[_0x7f918a(0x4c4)]=_0x4bbfa7,this[_0x7f918a(0x30c)]();}[_0x5b1a3a(0x30c)](){const _0xe9d7c2=_0x5b1a3a,_0x4a808d=this;this[_0xe9d7c2(0x4b9)](this[_0xe9d7c2(0x53f)][_0xe9d7c2(0x181)]({'priority':0x3e7,'interceptor':_0x209b54({'isMatch'(_0xe6aa35){const _0x549210=_0xe9d7c2;var _0x1e96b2;if(_0xe6aa35[_0x549210(0x490)]===_0x549210(0x186)&&((_0x1e96b2=_0xe6aa35[_0x549210(0x2b2)])!=null&&_0x1e96b2[_0x549210(0x2c7)])){const {objectID:_0x496de7,objectType:_0x227149}=_0xe6aa35['requestParams'][_0x549210(0x2c7)]||{};if(!_0x496de7||_0x227149===void 0x0)return!0x1;const _0x2faac5=_0x4a808d['_getAPIPrefixPath']()+'/'+_0x227149+'/object/'+_0x496de7+_0x549210(0x432);if(_0xe6aa35[_0x549210(0x2ed)]===_0x2faac5)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x4b6a00){const _0x97628e=_0xe9d7c2;var _0x9e1370;return(_0x9e1370=_0x4b6a00[_0x97628e(0x2b2)])==null?void 0x0:_0x9e1370[_0x97628e(0x2c7)];},'mergeParamsToRequest'(_0x57df22,_0x341cfa){const _0x235875=_0xe9d7c2,_0x6d68f3=_0x4a808d['_getAPIPrefixPath']()+_0x235875(0x3e6),_0x58defd=_0x57df22[_0x235875(0x17c)]((_0x12f4fc,_0x325250)=>{const _0xac7aaa=_0x235875,{unitID:_0x2234f5,objectID:_0x2d73f3,objectType:_0x8d3bd3,actions:_0x3a487c}=_0x325250;return _0x12f4fc[_0x2234f5]||(_0x12f4fc[_0x2234f5]={}),_0x12f4fc[_0x2234f5][_0x2d73f3]||(_0x12f4fc[_0x2234f5][_0x2d73f3]={'objectID':_0x2d73f3,'objectType':_0x8d3bd3,'actions':[]}),_0x12f4fc[_0x2234f5][_0x2d73f3]['actions'][_0xac7aaa(0x44a)](..._0x3a487c),_0x12f4fc;},{}),_0x51e891=[];for(const _0x20504f in _0x58defd)for(const _0x1c4e18 in _0x58defd[_0x20504f]){const {actions:_0x4995ef,objectType:_0xb6484f}=_0x58defd[_0x20504f][_0x1c4e18],_0x27eada=[...new Set(_0x4995ef)];_0x51e891[_0x235875(0x44a)]({'unitID':_0x20504f,'objectID':_0x1c4e18,'objectType':_0xb6484f,'actions':_0x27eada});}return new _0x1f6bc0(_0x235875(0x186),_0x6d68f3,{'headers':_0x341cfa[_0x235875(0x4d3)],'withCredentials':_0x341cfa[_0x235875(0x293)],'responseType':_0x341cfa[_0x235875(0x400)],'body':{'requests':_0x51e891}});}},{'distributeResult'(_0x5cf752,_0x4d125b){const _0x12b92c=_0xe9d7c2,{objectActions:_0x626c1b}=_0x5cf752;return _0x4d125b[_0x12b92c(0x208)](_0x356cea=>{const _0x4f6dd2=_0x12b92c,{unitID:_0x29d310,objectID:_0x314502,actions:_0x5b9851}=_0x356cea,_0x4994ae=_0x626c1b[_0x4f6dd2(0x508)](_0x3f5de3=>_0x3f5de3[_0x4f6dd2(0x41c)]===_0x29d310&&_0x3f5de3['objectID']===_0x314502),_0x46d69f=_0x5b9851['map'](_0x15e7b7=>_0x4994ae==null?void 0x0:_0x4994ae[_0x4f6dd2(0x456)][_0x4f6dd2(0x508)](_0x57cbab=>_0x57cbab['action']===_0x15e7b7))[_0x4f6dd2(0x2b0)](_0x40ddb0=>!!_0x40ddb0);return{'config':_0x356cea,'result':{'actions':_0x46d69f,'error':_0x5cf752[_0x4f6dd2(0x237)]}};});}})}));}[_0x5b1a3a(0x3b8)](){const _0x1fcca2=_0x5b1a3a;var _0x264b21,_0x5dda26;const _0x181e1c=this['_configService'][_0x1fcca2(0x451)](Ua),_0x3cc9f5=this[_0x1fcca2(0x4c4)][_0x1fcca2(0x451)](ie);return(_0x5dda26=(_0x264b21=_0x3cc9f5==null?void 0x0:_0x3cc9f5[_0x1fcca2(0x3e7)])!=null?_0x264b21:_0x181e1c)!=null?_0x5dda26:Na;}async['create'](_0x32c1a9){const _0x2ac07e=_0x5b1a3a,_0x36b866=this[_0x2ac07e(0x3b8)]()+'/'+_0x32c1a9[_0x2ac07e(0x37b)]+'/object';return(await this[_0x2ac07e(0x53f)]['post'](_0x36b866,{'body':_0x32c1a9}))[_0x2ac07e(0x2c7)][_0x2ac07e(0x4a5)]||'';}async['list'](_0x199462){const _0x16be3e=_0x5b1a3a,_0x44df99=this[_0x16be3e(0x3b8)]()+_0x16be3e(0x4b5);return(await this[_0x16be3e(0x53f)][_0x16be3e(0x493)](_0x44df99,{'body':_0x199462}))[_0x16be3e(0x2c7)][_0x16be3e(0x543)];}async[_0x5b1a3a(0x426)](_0x18752b){const _0x1696cc=_0x5b1a3a,_0x21939c=this[_0x1696cc(0x3b8)]()+'/'+_0x18752b[_0x1696cc(0x37b)]+_0x1696cc(0x404)+_0x18752b['objectID'];await this[_0x1696cc(0x53f)]['put'](_0x21939c,{'body':_0x18752b});}async[_0x5b1a3a(0x36a)](_0x2732bf){const _0x177de2=_0x5b1a3a,_0xc343c5=this[_0x177de2(0x3b8)]()+'/'+_0x2732bf[_0x177de2(0x37b)]+_0x177de2(0x404)+_0x2732bf[_0x177de2(0x4a5)]+'/allowed';return(await this[_0x177de2(0x53f)]['post'](_0xc343c5,{'body':_0x2732bf}))[_0x177de2(0x2c7)][_0x177de2(0x456)];}async[_0x5b1a3a(0x21e)](_0x2e8a26){const _0xa547d7=_0x5b1a3a,_0x541dd1=this[_0xa547d7(0x3b8)]()+_0xa547d7(0x3e6);return(await this[_0xa547d7(0x53f)][_0xa547d7(0x493)](_0x541dd1,{'body':{'requests':_0x2e8a26}}))['body'][_0xa547d7(0x232)];}async[_0x5b1a3a(0x324)](_0x635c24){const _0x19beec=_0x5b1a3a,_0x3bec34=this[_0x19beec(0x3b8)]()+'/'+_0x635c24['objectType']+'/role',_0x44a921=await this[_0x19beec(0x53f)][_0x19beec(0x493)](_0x3bec34,{'body':_0x635c24});return{'roles':_0x44a921['body'][_0x19beec(0x1f4)],'actions':_0x44a921[_0x19beec(0x2c7)][_0x19beec(0x456)]};}async[_0x5b1a3a(0x4b2)](_0x56c5b6){const _0x47ff76=_0x5b1a3a,_0xca911c=this[_0x47ff76(0x3b8)]()+_0x47ff76(0x282);await this[_0x47ff76(0x53f)][_0x47ff76(0x3a1)](_0xca911c,{'params':{'collaboratorID':_0x56c5b6[_0x47ff76(0x51f)],'objectID':_0x56c5b6[_0x47ff76(0x4a5)],'unitID':_0x56c5b6[_0x47ff76(0x41c)]}});}async[_0x5b1a3a(0x32e)](_0x59b348){const _0x284a6e=_0x5b1a3a,_0x8f37e2=this[_0x284a6e(0x3b8)]()+_0x284a6e(0x282);await this[_0x284a6e(0x53f)][_0x284a6e(0x423)](_0x8f37e2,{'body':_0x59b348});}async[_0x5b1a3a(0x2cd)](_0x2d0243){const _0x5c33f0=_0x5b1a3a,_0x25f144=this[_0x5c33f0(0x3b8)]()+_0x5c33f0(0x282);await this[_0x5c33f0(0x53f)][_0x5c33f0(0x493)](_0x25f144,{'body':_0x2d0243});}async[_0x5b1a3a(0x4f8)](_0x2c69d9){const _0x16be69=_0x5b1a3a,_0x1ab6e9=this[_0x16be69(0x3b8)]()+_0x16be69(0x282);return(await this['_HTTPService'][_0x16be69(0x50f)](_0x1ab6e9,{'params':{'objectID':_0x2c69d9[_0x16be69(0x4a5)],'unitID':_0x2c69d9[_0x16be69(0x41c)]}}))[_0x16be69(0x2c7)][_0x16be69(0x35d)];}async['putCollaborators'](_0x478434){const _0x5724b5=_0x5b1a3a,_0x1efca1=this['_getAPIPrefixPath']()+_0x5724b5(0x282);await this[_0x5724b5(0x53f)][_0x5724b5(0x4aa)](_0x1efca1,{'body':_0x478434});}};cs=Pa([qs(0x0,_0x28839c(_0xcd006c)),qs(0x1,_0x28839c(_0x5d6cbd))],cs);var Z=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function at(_0x42fd43){const _0x133deb=_0x5b1a3a;return _0x42fd43&&_0x42fd43[_0x133deb(0x515)]&&Object[_0x133deb(0x537)][_0x133deb(0x1d8)]['call'](_0x42fd43,_0x133deb(0x24c))?_0x42fd43[_0x133deb(0x24c)]:_0x42fd43;}var ji={'exports':{}};function Aa(_0x1ec51a){const _0xb33227=_0x5b1a3a;throw new Error('Could\x20not\x20dynamically\x20require\x20\x22'+_0x1ec51a+_0xb33227(0x20d));}var Ft={'exports':{}},Xs;function ue(){const _0x433d22=_0x5b1a3a;return Xs||(Xs=0x1,function(_0x316024,_0x2e1e5f){(function(_0x152a51,_0x33dc76){const _0x16499d=_0xa0d1;_0x316024[_0x16499d(0x577)]=_0x33dc76();}(Z,function(){var _0x423f5f=_0x423f5f||function(_0x5e0584,_0x49c93d){const _0x25eae1=_0xa0d1;var _0x5d071c;if(typeof window<'u'&&window[_0x25eae1(0x342)]&&(_0x5d071c=window['crypto']),typeof self<'u'&&self[_0x25eae1(0x342)]&&(_0x5d071c=self[_0x25eae1(0x342)]),typeof globalThis<'u'&&globalThis[_0x25eae1(0x342)]&&(_0x5d071c=globalThis[_0x25eae1(0x342)]),!_0x5d071c&&typeof window<'u'&&window[_0x25eae1(0x2b8)]&&(_0x5d071c=window[_0x25eae1(0x2b8)]),!_0x5d071c&&typeof Z<'u'&&Z[_0x25eae1(0x342)]&&(_0x5d071c=Z[_0x25eae1(0x342)]),!_0x5d071c&&typeof Aa==_0x25eae1(0x3b7))try{_0x5d071c=require(_0x25eae1(0x342));}catch{}var _0x23c77a=function(){const _0x6d6e79=_0x25eae1;if(_0x5d071c){if(typeof _0x5d071c[_0x6d6e79(0x3c0)]==_0x6d6e79(0x3b7))try{return _0x5d071c[_0x6d6e79(0x3c0)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x5d071c[_0x6d6e79(0x382)]==_0x6d6e79(0x3b7))try{return _0x5d071c[_0x6d6e79(0x382)](0x4)[_0x6d6e79(0x3fc)]();}catch{}}throw new Error('Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.');},_0x3ad9d4=Object[_0x25eae1(0x4d7)]||(function(){function _0x38adcd(){}return function(_0xb37ba){const _0x28a0ea=_0xa0d1;var _0x5802af;return _0x38adcd['prototype']=_0xb37ba,_0x5802af=new _0x38adcd(),_0x38adcd[_0x28a0ea(0x537)]=null,_0x5802af;};}()),_0xbee058={},_0x372cab=_0xbee058[_0x25eae1(0x476)]={},_0x1df354=_0x372cab['Base']=(function(){return{'extend':function(_0x491f61){const _0x1e4793=_0xa0d1;var _0x1cafae=_0x3ad9d4(this);return _0x491f61&&_0x1cafae[_0x1e4793(0x4e3)](_0x491f61),(!_0x1cafae[_0x1e4793(0x1d8)](_0x1e4793(0x1bc))||this[_0x1e4793(0x1bc)]===_0x1cafae[_0x1e4793(0x1bc)])&&(_0x1cafae[_0x1e4793(0x1bc)]=function(){const _0x59cfd5=_0x1e4793;_0x1cafae[_0x59cfd5(0x3f7)]['init'][_0x59cfd5(0x561)](this,arguments);}),_0x1cafae[_0x1e4793(0x1bc)][_0x1e4793(0x537)]=_0x1cafae,_0x1cafae[_0x1e4793(0x3f7)]=this,_0x1cafae;},'create':function(){const _0x5d6ea7=_0xa0d1;var _0x5017c6=this[_0x5d6ea7(0x2f0)]();return _0x5017c6[_0x5d6ea7(0x1bc)][_0x5d6ea7(0x561)](_0x5017c6,arguments),_0x5017c6;},'init':function(){},'mixIn':function(_0x2746d5){const _0x42a8ac=_0xa0d1;for(var _0x4efba6 in _0x2746d5)_0x2746d5[_0x42a8ac(0x1d8)](_0x4efba6)&&(this[_0x4efba6]=_0x2746d5[_0x4efba6]);_0x2746d5['hasOwnProperty']('toString')&&(this[_0x42a8ac(0x4fb)]=_0x2746d5[_0x42a8ac(0x4fb)]);},'clone':function(){const _0xa9d9b4=_0xa0d1;return this['init'][_0xa9d9b4(0x537)][_0xa9d9b4(0x2f0)](this);}};}()),_0x2940e3=_0x372cab[_0x25eae1(0x29c)]=_0x1df354[_0x25eae1(0x2f0)]({'init':function(_0x13a8f5,_0x56eba9){const _0x5af6e6=_0x25eae1;_0x13a8f5=this['words']=_0x13a8f5||[],_0x56eba9!=_0x49c93d?this[_0x5af6e6(0x44d)]=_0x56eba9:this[_0x5af6e6(0x44d)]=_0x13a8f5[_0x5af6e6(0x29a)]*0x4;},'toString':function(_0x3d91fd){return(_0x3d91fd||_0x49ad19)['stringify'](this);},'concat':function(_0xc65571){const _0x225485=_0x25eae1;var _0x152ff7=this[_0x225485(0x1a3)],_0x2a8ccf=_0xc65571['words'],_0x1f5778=this[_0x225485(0x44d)],_0x1623a8=_0xc65571[_0x225485(0x44d)];if(this['clamp'](),_0x1f5778%0x4)for(var _0x563f82=0x0;_0x563f82<_0x1623a8;_0x563f82++){var _0x351b43=_0x2a8ccf[_0x563f82>>>0x2]>>>0x18-_0x563f82%0x4*0x8&0xff;_0x152ff7[_0x1f5778+_0x563f82>>>0x2]|=_0x351b43<<0x18-(_0x1f5778+_0x563f82)%0x4*0x8;}else{for(var _0x9310e1=0x0;_0x9310e1<_0x1623a8;_0x9310e1+=0x4)_0x152ff7[_0x1f5778+_0x9310e1>>>0x2]=_0x2a8ccf[_0x9310e1>>>0x2];}return this[_0x225485(0x44d)]+=_0x1623a8,this;},'clamp':function(){const _0x665e91=_0x25eae1;var _0xa1bbf7=this['words'],_0x105733=this[_0x665e91(0x44d)];_0xa1bbf7[_0x105733>>>0x2]&=0xffffffff<<0x20-_0x105733%0x4*0x8,_0xa1bbf7[_0x665e91(0x29a)]=_0x5e0584[_0x665e91(0x1f1)](_0x105733/0x4);},'clone':function(){const _0x325636=_0x25eae1;var _0x1a3489=_0x1df354['clone'][_0x325636(0x27f)](this);return _0x1a3489[_0x325636(0x1a3)]=this[_0x325636(0x1a3)]['slice'](0x0),_0x1a3489;},'random':function(_0x1ee9df){const _0xc14a9b=_0x25eae1;for(var _0x540b42=[],_0x2603a9=0x0;_0x2603a9<_0x1ee9df;_0x2603a9+=0x4)_0x540b42[_0xc14a9b(0x44a)](_0x23c77a());return new _0x2940e3[(_0xc14a9b(0x1bc))](_0x540b42,_0x1ee9df);}}),_0x317d7c=_0xbee058['enc']={},_0x49ad19=_0x317d7c[_0x25eae1(0x53b)]={'stringify':function(_0x59ff74){const _0x142209=_0x25eae1;for(var _0x1bb0af=_0x59ff74[_0x142209(0x1a3)],_0x3af584=_0x59ff74['sigBytes'],_0x13b158=[],_0x3a3468=0x0;_0x3a3468<_0x3af584;_0x3a3468++){var _0x5c25ff=_0x1bb0af[_0x3a3468>>>0x2]>>>0x18-_0x3a3468%0x4*0x8&0xff;_0x13b158['push']((_0x5c25ff>>>0x4)[_0x142209(0x4fb)](0x10)),_0x13b158['push']((_0x5c25ff&0xf)[_0x142209(0x4fb)](0x10));}return _0x13b158['join']('');},'parse':function(_0x420ee9){const _0x310eca=_0x25eae1;for(var _0x18b8a8=_0x420ee9['length'],_0x72c06a=[],_0x33b431=0x0;_0x33b431<_0x18b8a8;_0x33b431+=0x2)_0x72c06a[_0x33b431>>>0x3]|=parseInt(_0x420ee9[_0x310eca(0x40c)](_0x33b431,0x2),0x10)<<0x18-_0x33b431%0x8*0x4;return new _0x2940e3['init'](_0x72c06a,_0x18b8a8/0x2);}},_0x5bb60b=_0x317d7c['Latin1']={'stringify':function(_0x2ac6b0){const _0xd72849=_0x25eae1;for(var _0x1b21fa=_0x2ac6b0[_0xd72849(0x1a3)],_0x4ca755=_0x2ac6b0[_0xd72849(0x44d)],_0x1a3843=[],_0x3a1489=0x0;_0x3a1489<_0x4ca755;_0x3a1489++){var _0x4ec267=_0x1b21fa[_0x3a1489>>>0x2]>>>0x18-_0x3a1489%0x4*0x8&0xff;_0x1a3843[_0xd72849(0x44a)](String[_0xd72849(0x3a9)](_0x4ec267));}return _0x1a3843[_0xd72849(0x48f)]('');},'parse':function(_0x2bc7f4){const _0x2f459a=_0x25eae1;for(var _0xaa03cd=_0x2bc7f4[_0x2f459a(0x29a)],_0x232860=[],_0x143aa8=0x0;_0x143aa8<_0xaa03cd;_0x143aa8++)_0x232860[_0x143aa8>>>0x2]|=(_0x2bc7f4['charCodeAt'](_0x143aa8)&0xff)<<0x18-_0x143aa8%0x4*0x8;return new _0x2940e3[(_0x2f459a(0x1bc))](_0x232860,_0xaa03cd);}},_0x3f6afc=_0x317d7c[_0x25eae1(0x4c1)]={'stringify':function(_0x105c34){const _0x25166a=_0x25eae1;try{return decodeURIComponent(escape(_0x5bb60b[_0x25166a(0x3d4)](_0x105c34)));}catch{throw new Error(_0x25166a(0x43f));}},'parse':function(_0x1098f2){const _0x5c21eb=_0x25eae1;return _0x5bb60b[_0x5c21eb(0x2e1)](unescape(encodeURIComponent(_0x1098f2)));}},_0x102409=_0x372cab['BufferedBlockAlgorithm']=_0x1df354[_0x25eae1(0x2f0)]({'reset':function(){const _0x9aa139=_0x25eae1;this[_0x9aa139(0x1b4)]=new _0x2940e3[(_0x9aa139(0x1bc))](),this['_nDataBytes']=0x0;},'_append':function(_0x3edd30){const _0x1078d7=_0x25eae1;typeof _0x3edd30==_0x1078d7(0x4fa)&&(_0x3edd30=_0x3f6afc[_0x1078d7(0x2e1)](_0x3edd30)),this[_0x1078d7(0x1b4)][_0x1078d7(0x200)](_0x3edd30),this[_0x1078d7(0x351)]+=_0x3edd30[_0x1078d7(0x44d)];},'_process':function(_0x4502c3){const _0x47d94a=_0x25eae1;var _0x324dcb,_0x1f3a42=this[_0x47d94a(0x1b4)],_0x1db45e=_0x1f3a42[_0x47d94a(0x1a3)],_0x554c1f=_0x1f3a42['sigBytes'],_0xcedeec=this[_0x47d94a(0x4f6)],_0x4685e8=_0xcedeec*0x4,_0x3b6ae6=_0x554c1f/_0x4685e8;_0x4502c3?_0x3b6ae6=_0x5e0584[_0x47d94a(0x1f1)](_0x3b6ae6):_0x3b6ae6=_0x5e0584[_0x47d94a(0x3ec)]((_0x3b6ae6|0x0)-this[_0x47d94a(0x23d)],0x0);var _0x583755=_0x3b6ae6*_0xcedeec,_0x3b47f1=_0x5e0584['min'](_0x583755*0x4,_0x554c1f);if(_0x583755){for(var _0x3ed508=0x0;_0x3ed508<_0x583755;_0x3ed508+=_0xcedeec)this[_0x47d94a(0x4a8)](_0x1db45e,_0x3ed508);_0x324dcb=_0x1db45e['splice'](0x0,_0x583755),_0x1f3a42[_0x47d94a(0x44d)]-=_0x3b47f1;}return new _0x2940e3[(_0x47d94a(0x1bc))](_0x324dcb,_0x3b47f1);},'clone':function(){const _0x61c9be=_0x25eae1;var _0x3adacf=_0x1df354[_0x61c9be(0x581)]['call'](this);return _0x3adacf[_0x61c9be(0x1b4)]=this[_0x61c9be(0x1b4)][_0x61c9be(0x581)](),_0x3adacf;},'_minBufferSize':0x0});_0x372cab['Hasher']=_0x102409[_0x25eae1(0x2f0)]({'cfg':_0x1df354['extend'](),'init':function(_0x4915be){const _0x45515a=_0x25eae1;this[_0x45515a(0x3c9)]=this['cfg'][_0x45515a(0x2f0)](_0x4915be),this[_0x45515a(0x25f)]();},'reset':function(){const _0x1f56da=_0x25eae1;_0x102409['reset']['call'](this),this[_0x1f56da(0x19b)]();},'update':function(_0x6bfa44){const _0x423f45=_0x25eae1;return this[_0x423f45(0x235)](_0x6bfa44),this[_0x423f45(0x286)](),this;},'finalize':function(_0x5dab36){const _0x2454ff=_0x25eae1;_0x5dab36&&this['_append'](_0x5dab36);var _0x15725c=this[_0x2454ff(0x1f7)]();return _0x15725c;},'blockSize':0x10,'_createHelper':function(_0x298f04){return function(_0xf2d577,_0x2a9971){const _0x427ba7=_0xa0d1;return new _0x298f04['init'](_0x2a9971)[_0x427ba7(0x29e)](_0xf2d577);};},'_createHmacHelper':function(_0x5d5331){return function(_0x1d5d07,_0x34bc83){const _0x24bca0=_0xa0d1;return new _0x29b74c[(_0x24bca0(0x36d))][(_0x24bca0(0x1bc))](_0x5d5331,_0x34bc83)[_0x24bca0(0x29e)](_0x1d5d07);};}});var _0x29b74c=_0xbee058['algo']={};return _0xbee058;}(Math);return _0x423f5f;}));}(Ft)),Ft[_0x433d22(0x577)];}var Vt={'exports':{}},Js;function Bi(){return Js||(Js=0x1,function(_0x3c2aca,_0x22a137){(function(_0x2cfabf,_0x7b966){const _0x2c8323=_0xa0d1;_0x3c2aca[_0x2c8323(0x577)]=_0x7b966(ue());}(Z,function(_0x4476a5){const _0x4caff3=_0xa0d1;return(function(){const _0x4c7ca6=_0xa0d1;var _0x3b5545=_0x4476a5,_0x37a069=_0x3b5545[_0x4c7ca6(0x476)],_0x544836=_0x37a069[_0x4c7ca6(0x29c)],_0x2f3fda=_0x3b5545['enc'];_0x2f3fda[_0x4c7ca6(0x272)]={'stringify':function(_0x295f1e){const _0x17c26d=_0x4c7ca6;var _0x3bc02a=_0x295f1e['words'],_0x2d70bf=_0x295f1e[_0x17c26d(0x44d)],_0x51bf88=this['_map'];_0x295f1e[_0x17c26d(0x377)]();for(var _0x519544=[],_0x40928e=0x0;_0x40928e<_0x2d70bf;_0x40928e+=0x3)for(var _0x236820=_0x3bc02a[_0x40928e>>>0x2]>>>0x18-_0x40928e%0x4*0x8&0xff,_0x3cd8f2=_0x3bc02a[_0x40928e+0x1>>>0x2]>>>0x18-(_0x40928e+0x1)%0x4*0x8&0xff,_0x194c07=_0x3bc02a[_0x40928e+0x2>>>0x2]>>>0x18-(_0x40928e+0x2)%0x4*0x8&0xff,_0x56ae1=_0x236820<<0x10|_0x3cd8f2<<0x8|_0x194c07,_0x2a4a83=0x0;_0x2a4a83<0x4&&_0x40928e+_0x2a4a83*0.75<_0x2d70bf;_0x2a4a83++)_0x519544[_0x17c26d(0x44a)](_0x51bf88[_0x17c26d(0x264)](_0x56ae1>>>0x6*(0x3-_0x2a4a83)&0x3f));var _0x33eb34=_0x51bf88[_0x17c26d(0x264)](0x40);if(_0x33eb34){for(;_0x519544[_0x17c26d(0x29a)]%0x4;)_0x519544[_0x17c26d(0x44a)](_0x33eb34);}return _0x519544[_0x17c26d(0x48f)]('');},'parse':function(_0x32ede4){const _0x48e567=_0x4c7ca6;var _0x36d99a=_0x32ede4[_0x48e567(0x29a)],_0x189d7e=this[_0x48e567(0x4e0)],_0x13fa52=this['_reverseMap'];if(!_0x13fa52){_0x13fa52=this[_0x48e567(0x1c7)]=[];for(var _0x3ca536=0x0;_0x3ca536<_0x189d7e['length'];_0x3ca536++)_0x13fa52[_0x189d7e['charCodeAt'](_0x3ca536)]=_0x3ca536;}var _0x1e6816=_0x189d7e['charAt'](0x40);if(_0x1e6816){var _0xeab0c5=_0x32ede4[_0x48e567(0x442)](_0x1e6816);_0xeab0c5!==-0x1&&(_0x36d99a=_0xeab0c5);}return _0x374145(_0x32ede4,_0x36d99a,_0x13fa52);},'_map':_0x4c7ca6(0x392)};function _0x374145(_0x3ab8c0,_0x4a4422,_0x533e12){const _0x11505c=_0x4c7ca6;for(var _0x15f1cd=[],_0xced1d1=0x0,_0x5dd599=0x0;_0x5dd599<_0x4a4422;_0x5dd599++)if(_0x5dd599%0x4){var _0x4abf1c=_0x533e12[_0x3ab8c0[_0x11505c(0x526)](_0x5dd599-0x1)]<<_0x5dd599%0x4*0x2,_0x3df7e3=_0x533e12[_0x3ab8c0[_0x11505c(0x526)](_0x5dd599)]>>>0x6-_0x5dd599%0x4*0x2,_0x33a88c=_0x4abf1c|_0x3df7e3;_0x15f1cd[_0xced1d1>>>0x2]|=_0x33a88c<<0x18-_0xced1d1%0x4*0x8,_0xced1d1++;}return _0x544836[_0x11505c(0x4d7)](_0x15f1cd,_0xced1d1);}}()),_0x4476a5[_0x4caff3(0x1c4)][_0x4caff3(0x272)];}));}(Vt)),Vt['exports'];}var Gt={'exports':{}},Zs;function Ma(){const _0x1c0bac=_0x5b1a3a;return Zs||(Zs=0x1,function(_0x23a35e,_0x5c5579){(function(_0x166df6,_0x264c6){const _0x44b4cd=_0xa0d1;_0x23a35e[_0x44b4cd(0x577)]=_0x264c6(ue());}(Z,function(_0x5ef98c){return function(_0x1f6ae4){const _0x44ba32=_0xa0d1;var _0x3fd186=_0x5ef98c,_0x1d93cd=_0x3fd186[_0x44ba32(0x476)],_0x274c28=_0x1d93cd[_0x44ba32(0x29c)],_0xeeb231=_0x1d93cd[_0x44ba32(0x265)],_0x201283=_0x3fd186[_0x44ba32(0x3b9)],_0x3c6b3a=[];(function(){const _0x16b551=_0x44ba32;for(var _0x243b9e=0x0;_0x243b9e<0x40;_0x243b9e++)_0x3c6b3a[_0x243b9e]=_0x1f6ae4[_0x16b551(0x26e)](_0x1f6ae4[_0x16b551(0x254)](_0x243b9e+0x1))*0x100000000|0x0;}());var _0x57fb37=_0x201283[_0x44ba32(0x4bb)]=_0xeeb231[_0x44ba32(0x2f0)]({'_doReset':function(){const _0x2fc9e4=_0x44ba32;this['_hash']=new _0x274c28[(_0x2fc9e4(0x1bc))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x1f56c1,_0x572090){const _0x512a1c=_0x44ba32;for(var _0xfd463f=0x0;_0xfd463f<0x10;_0xfd463f++){var _0x2fa6db=_0x572090+_0xfd463f,_0x3e9f27=_0x1f56c1[_0x2fa6db];_0x1f56c1[_0x2fa6db]=(_0x3e9f27<<0x8|_0x3e9f27>>>0x18)&0xff00ff|(_0x3e9f27<<0x18|_0x3e9f27>>>0x8)&0xff00ff00;}var _0x2dec97=this[_0x512a1c(0x1eb)][_0x512a1c(0x1a3)],_0x2a1e26=_0x1f56c1[_0x572090+0x0],_0x4dae66=_0x1f56c1[_0x572090+0x1],_0x4bcdd0=_0x1f56c1[_0x572090+0x2],_0x59c3ea=_0x1f56c1[_0x572090+0x3],_0x2e4a3e=_0x1f56c1[_0x572090+0x4],_0x4a27ef=_0x1f56c1[_0x572090+0x5],_0x850966=_0x1f56c1[_0x572090+0x6],_0x59ec48=_0x1f56c1[_0x572090+0x7],_0x281903=_0x1f56c1[_0x572090+0x8],_0x4783ba=_0x1f56c1[_0x572090+0x9],_0x554029=_0x1f56c1[_0x572090+0xa],_0x530fa3=_0x1f56c1[_0x572090+0xb],_0x12100d=_0x1f56c1[_0x572090+0xc],_0x52c042=_0x1f56c1[_0x572090+0xd],_0x7cc3e3=_0x1f56c1[_0x572090+0xe],_0x400acc=_0x1f56c1[_0x572090+0xf],_0x24f48b=_0x2dec97[0x0],_0xe6aebb=_0x2dec97[0x1],_0x587f56=_0x2dec97[0x2],_0x4f6476=_0x2dec97[0x3];_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2a1e26,0x7,_0x3c6b3a[0x0]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4dae66,0xc,_0x3c6b3a[0x1]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x4bcdd0,0x11,_0x3c6b3a[0x2]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x59c3ea,0x16,_0x3c6b3a[0x3]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2e4a3e,0x7,_0x3c6b3a[0x4]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4a27ef,0xc,_0x3c6b3a[0x5]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x850966,0x11,_0x3c6b3a[0x6]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x59ec48,0x16,_0x3c6b3a[0x7]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x281903,0x7,_0x3c6b3a[0x8]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4783ba,0xc,_0x3c6b3a[0x9]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x554029,0x11,_0x3c6b3a[0xa]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x530fa3,0x16,_0x3c6b3a[0xb]),_0x24f48b=_0x4be9c5(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x12100d,0x7,_0x3c6b3a[0xc]),_0x4f6476=_0x4be9c5(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x52c042,0xc,_0x3c6b3a[0xd]),_0x587f56=_0x4be9c5(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x7cc3e3,0x11,_0x3c6b3a[0xe]),_0xe6aebb=_0x4be9c5(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x400acc,0x16,_0x3c6b3a[0xf]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4dae66,0x5,_0x3c6b3a[0x10]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x850966,0x9,_0x3c6b3a[0x11]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x530fa3,0xe,_0x3c6b3a[0x12]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x2a1e26,0x14,_0x3c6b3a[0x13]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4a27ef,0x5,_0x3c6b3a[0x14]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x554029,0x9,_0x3c6b3a[0x15]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x400acc,0xe,_0x3c6b3a[0x16]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x2e4a3e,0x14,_0x3c6b3a[0x17]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4783ba,0x5,_0x3c6b3a[0x18]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x7cc3e3,0x9,_0x3c6b3a[0x19]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59c3ea,0xe,_0x3c6b3a[0x1a]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x281903,0x14,_0x3c6b3a[0x1b]),_0x24f48b=_0x160f2a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x52c042,0x5,_0x3c6b3a[0x1c]),_0x4f6476=_0x160f2a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x4bcdd0,0x9,_0x3c6b3a[0x1d]),_0x587f56=_0x160f2a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59ec48,0xe,_0x3c6b3a[0x1e]),_0xe6aebb=_0x160f2a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x12100d,0x14,_0x3c6b3a[0x1f]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4a27ef,0x4,_0x3c6b3a[0x20]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x281903,0xb,_0x3c6b3a[0x21]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x530fa3,0x10,_0x3c6b3a[0x22]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x7cc3e3,0x17,_0x3c6b3a[0x23]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4dae66,0x4,_0x3c6b3a[0x24]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x2e4a3e,0xb,_0x3c6b3a[0x25]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59ec48,0x10,_0x3c6b3a[0x26]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x554029,0x17,_0x3c6b3a[0x27]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x52c042,0x4,_0x3c6b3a[0x28]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x2a1e26,0xb,_0x3c6b3a[0x29]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x59c3ea,0x10,_0x3c6b3a[0x2a]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x850966,0x17,_0x3c6b3a[0x2b]),_0x24f48b=_0x43945a(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x4783ba,0x4,_0x3c6b3a[0x2c]),_0x4f6476=_0x43945a(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x12100d,0xb,_0x3c6b3a[0x2d]),_0x587f56=_0x43945a(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x400acc,0x10,_0x3c6b3a[0x2e]),_0xe6aebb=_0x43945a(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4bcdd0,0x17,_0x3c6b3a[0x2f]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2a1e26,0x6,_0x3c6b3a[0x30]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x59ec48,0xa,_0x3c6b3a[0x31]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x7cc3e3,0xf,_0x3c6b3a[0x32]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4a27ef,0x15,_0x3c6b3a[0x33]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x12100d,0x6,_0x3c6b3a[0x34]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x59c3ea,0xa,_0x3c6b3a[0x35]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x554029,0xf,_0x3c6b3a[0x36]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4dae66,0x15,_0x3c6b3a[0x37]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x281903,0x6,_0x3c6b3a[0x38]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x400acc,0xa,_0x3c6b3a[0x39]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x850966,0xf,_0x3c6b3a[0x3a]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x52c042,0x15,_0x3c6b3a[0x3b]),_0x24f48b=_0x4444de(_0x24f48b,_0xe6aebb,_0x587f56,_0x4f6476,_0x2e4a3e,0x6,_0x3c6b3a[0x3c]),_0x4f6476=_0x4444de(_0x4f6476,_0x24f48b,_0xe6aebb,_0x587f56,_0x530fa3,0xa,_0x3c6b3a[0x3d]),_0x587f56=_0x4444de(_0x587f56,_0x4f6476,_0x24f48b,_0xe6aebb,_0x4bcdd0,0xf,_0x3c6b3a[0x3e]),_0xe6aebb=_0x4444de(_0xe6aebb,_0x587f56,_0x4f6476,_0x24f48b,_0x4783ba,0x15,_0x3c6b3a[0x3f]),_0x2dec97[0x0]=_0x2dec97[0x0]+_0x24f48b|0x0,_0x2dec97[0x1]=_0x2dec97[0x1]+_0xe6aebb|0x0,_0x2dec97[0x2]=_0x2dec97[0x2]+_0x587f56|0x0,_0x2dec97[0x3]=_0x2dec97[0x3]+_0x4f6476|0x0;},'_doFinalize':function(){const _0x33ea57=_0x44ba32;var _0x588c2b=this[_0x33ea57(0x1b4)],_0x31ef8a=_0x588c2b[_0x33ea57(0x1a3)],_0x312dd1=this['_nDataBytes']*0x8,_0x170421=_0x588c2b['sigBytes']*0x8;_0x31ef8a[_0x170421>>>0x5]|=0x80<<0x18-_0x170421%0x20;var _0x28f7bc=_0x1f6ae4[_0x33ea57(0x308)](_0x312dd1/0x100000000),_0x2dbaa9=_0x312dd1;_0x31ef8a[(_0x170421+0x40>>>0x9<<0x4)+0xf]=(_0x28f7bc<<0x8|_0x28f7bc>>>0x18)&0xff00ff|(_0x28f7bc<<0x18|_0x28f7bc>>>0x8)&0xff00ff00,_0x31ef8a[(_0x170421+0x40>>>0x9<<0x4)+0xe]=(_0x2dbaa9<<0x8|_0x2dbaa9>>>0x18)&0xff00ff|(_0x2dbaa9<<0x18|_0x2dbaa9>>>0x8)&0xff00ff00,_0x588c2b[_0x33ea57(0x44d)]=(_0x31ef8a['length']+0x1)*0x4,this[_0x33ea57(0x286)]();for(var _0x49036a=this['_hash'],_0x301b70=_0x49036a['words'],_0x4daa4a=0x0;_0x4daa4a<0x4;_0x4daa4a++){var _0x590d19=_0x301b70[_0x4daa4a];_0x301b70[_0x4daa4a]=(_0x590d19<<0x8|_0x590d19>>>0x18)&0xff00ff|(_0x590d19<<0x18|_0x590d19>>>0x8)&0xff00ff00;}return _0x49036a;},'clone':function(){const _0x569acc=_0x44ba32;var _0x354f9d=_0xeeb231[_0x569acc(0x581)][_0x569acc(0x27f)](this);return _0x354f9d['_hash']=this[_0x569acc(0x1eb)]['clone'](),_0x354f9d;}});function _0x4be9c5(_0x2e07f2,_0x2cac80,_0x245057,_0xf07653,_0x1bb575,_0x27f7ac,_0x4fbfcb){var _0x572cf9=_0x2e07f2+(_0x2cac80&_0x245057|~_0x2cac80&_0xf07653)+_0x1bb575+_0x4fbfcb;return(_0x572cf9<<_0x27f7ac|_0x572cf9>>>0x20-_0x27f7ac)+_0x2cac80;}function _0x160f2a(_0x22a72a,_0x19f780,_0x271aec,_0x162162,_0x3de1ff,_0x45e36e,_0x1f381e){var _0x2f5cce=_0x22a72a+(_0x19f780&_0x162162|_0x271aec&~_0x162162)+_0x3de1ff+_0x1f381e;return(_0x2f5cce<<_0x45e36e|_0x2f5cce>>>0x20-_0x45e36e)+_0x19f780;}function _0x43945a(_0x2e8e7f,_0x149df2,_0x30f764,_0xaa8854,_0x1cf795,_0x36a592,_0x4914df){var _0x5d510b=_0x2e8e7f+(_0x149df2^_0x30f764^_0xaa8854)+_0x1cf795+_0x4914df;return(_0x5d510b<<_0x36a592|_0x5d510b>>>0x20-_0x36a592)+_0x149df2;}function _0x4444de(_0x5b0a62,_0x492d46,_0xd2596e,_0x2c3444,_0x3838d5,_0x29213d,_0x15b926){var _0x44fe77=_0x5b0a62+(_0xd2596e^(_0x492d46|~_0x2c3444))+_0x3838d5+_0x15b926;return(_0x44fe77<<_0x29213d|_0x44fe77>>>0x20-_0x29213d)+_0x492d46;}_0x3fd186[_0x44ba32(0x4bb)]=_0xeeb231['_createHelper'](_0x57fb37),_0x3fd186[_0x44ba32(0x284)]=_0xeeb231[_0x44ba32(0x50c)](_0x57fb37);}(Math),_0x5ef98c['MD5'];}));}(Gt)),Gt[_0x1c0bac(0x577)];}var Yt={'exports':{}},Kt={'exports':{}},Qs;function xa(){const _0x3ec5e9=_0x5b1a3a;return Qs||(Qs=0x1,function(_0x2a8fe5,_0x148f15){(function(_0x84c0d5,_0x4a6476){const _0x191755=_0xa0d1;_0x2a8fe5[_0x191755(0x577)]=_0x4a6476(ue());}(Z,function(_0x683159){const _0x2e1ac2=_0xa0d1;return(function(){const _0x32795c=_0xa0d1;var _0xe1d6cc=_0x683159,_0x1a7274=_0xe1d6cc[_0x32795c(0x476)],_0x5cacc9=_0x1a7274['WordArray'],_0xe24c56=_0x1a7274[_0x32795c(0x265)],_0x501912=_0xe1d6cc[_0x32795c(0x3b9)],_0x5e2971=[],_0x170dec=_0x501912[_0x32795c(0x4f7)]=_0xe24c56[_0x32795c(0x2f0)]({'_doReset':function(){const _0x53583c=_0x32795c;this[_0x53583c(0x1eb)]=new _0x5cacc9['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x2c3330,_0x1f58b0){const _0x19b7ad=_0x32795c;for(var _0x2e03b8=this[_0x19b7ad(0x1eb)][_0x19b7ad(0x1a3)],_0x2da9df=_0x2e03b8[0x0],_0x34d0a2=_0x2e03b8[0x1],_0x28a2bb=_0x2e03b8[0x2],_0x2ce691=_0x2e03b8[0x3],_0x252b49=_0x2e03b8[0x4],_0x554737=0x0;_0x554737<0x50;_0x554737++){if(_0x554737<0x10)_0x5e2971[_0x554737]=_0x2c3330[_0x1f58b0+_0x554737]|0x0;else{var _0x41882f=_0x5e2971[_0x554737-0x3]^_0x5e2971[_0x554737-0x8]^_0x5e2971[_0x554737-0xe]^_0x5e2971[_0x554737-0x10];_0x5e2971[_0x554737]=_0x41882f<<0x1|_0x41882f>>>0x1f;}var _0xeb06ec=(_0x2da9df<<0x5|_0x2da9df>>>0x1b)+_0x252b49+_0x5e2971[_0x554737];_0x554737<0x14?_0xeb06ec+=(_0x34d0a2&_0x28a2bb|~_0x34d0a2&_0x2ce691)+0x5a827999:_0x554737<0x28?_0xeb06ec+=(_0x34d0a2^_0x28a2bb^_0x2ce691)+0x6ed9eba1:_0x554737<0x3c?_0xeb06ec+=(_0x34d0a2&_0x28a2bb|_0x34d0a2&_0x2ce691|_0x28a2bb&_0x2ce691)-0x70e44324:_0xeb06ec+=(_0x34d0a2^_0x28a2bb^_0x2ce691)-0x359d3e2a,_0x252b49=_0x2ce691,_0x2ce691=_0x28a2bb,_0x28a2bb=_0x34d0a2<<0x1e|_0x34d0a2>>>0x2,_0x34d0a2=_0x2da9df,_0x2da9df=_0xeb06ec;}_0x2e03b8[0x0]=_0x2e03b8[0x0]+_0x2da9df|0x0,_0x2e03b8[0x1]=_0x2e03b8[0x1]+_0x34d0a2|0x0,_0x2e03b8[0x2]=_0x2e03b8[0x2]+_0x28a2bb|0x0,_0x2e03b8[0x3]=_0x2e03b8[0x3]+_0x2ce691|0x0,_0x2e03b8[0x4]=_0x2e03b8[0x4]+_0x252b49|0x0;},'_doFinalize':function(){const _0x2039c0=_0x32795c;var _0x3245eb=this[_0x2039c0(0x1b4)],_0xa6c24a=_0x3245eb[_0x2039c0(0x1a3)],_0x2c5388=this['_nDataBytes']*0x8,_0x2bb7e8=_0x3245eb[_0x2039c0(0x44d)]*0x8;return _0xa6c24a[_0x2bb7e8>>>0x5]|=0x80<<0x18-_0x2bb7e8%0x20,_0xa6c24a[(_0x2bb7e8+0x40>>>0x9<<0x4)+0xe]=Math['floor'](_0x2c5388/0x100000000),_0xa6c24a[(_0x2bb7e8+0x40>>>0x9<<0x4)+0xf]=_0x2c5388,_0x3245eb[_0x2039c0(0x44d)]=_0xa6c24a[_0x2039c0(0x29a)]*0x4,this['_process'](),this['_hash'];},'clone':function(){const _0x1987bf=_0x32795c;var _0x1d3315=_0xe24c56[_0x1987bf(0x581)]['call'](this);return _0x1d3315[_0x1987bf(0x1eb)]=this[_0x1987bf(0x1eb)][_0x1987bf(0x581)](),_0x1d3315;}});_0xe1d6cc[_0x32795c(0x4f7)]=_0xe24c56[_0x32795c(0x3f0)](_0x170dec),_0xe1d6cc[_0x32795c(0x539)]=_0xe24c56['_createHmacHelper'](_0x170dec);}()),_0x683159[_0x2e1ac2(0x4f7)];}));}(Kt)),Kt[_0x3ec5e9(0x577)];}var zt={'exports':{}},ei;function La(){return ei||(ei=0x1,function(_0x5527bd,_0x2f4f3f){(function(_0x29f49d,_0x558aa9){const _0x291372=_0xa0d1;_0x5527bd[_0x291372(0x577)]=_0x558aa9(ue());}(Z,function(_0x52eecd){(function(){const _0x3fc234=_0xa0d1;var _0x3fbeb1=_0x52eecd,_0x1bb2f7=_0x3fbeb1[_0x3fc234(0x476)],_0x16512d=_0x1bb2f7['Base'],_0x5c0033=_0x3fbeb1[_0x3fc234(0x1c4)],_0x3b8b1e=_0x5c0033[_0x3fc234(0x4c1)],_0x2ae147=_0x3fbeb1[_0x3fc234(0x3b9)];_0x2ae147['HMAC']=_0x16512d[_0x3fc234(0x2f0)]({'init':function(_0x16a1cd,_0x33d8d8){const _0x465e68=_0x3fc234;_0x16a1cd=this[_0x465e68(0x22a)]=new _0x16a1cd[(_0x465e68(0x1bc))](),typeof _0x33d8d8=='string'&&(_0x33d8d8=_0x3b8b1e[_0x465e68(0x2e1)](_0x33d8d8));var _0x35f841=_0x16a1cd['blockSize'],_0x32b223=_0x35f841*0x4;_0x33d8d8[_0x465e68(0x44d)]>_0x32b223&&(_0x33d8d8=_0x16a1cd[_0x465e68(0x29e)](_0x33d8d8)),_0x33d8d8['clamp']();for(var _0x969be9=this[_0x465e68(0x4a2)]=_0x33d8d8[_0x465e68(0x581)](),_0x546291=this['_iKey']=_0x33d8d8[_0x465e68(0x581)](),_0x2ee626=_0x969be9['words'],_0x1ff8df=_0x546291[_0x465e68(0x1a3)],_0x23a7e1=0x0;_0x23a7e1<_0x35f841;_0x23a7e1++)_0x2ee626[_0x23a7e1]^=0x5c5c5c5c,_0x1ff8df[_0x23a7e1]^=0x36363636;_0x969be9[_0x465e68(0x44d)]=_0x546291[_0x465e68(0x44d)]=_0x32b223,this['reset']();},'reset':function(){const _0x3614a9=_0x3fc234;var _0x358a1b=this['_hasher'];_0x358a1b[_0x3614a9(0x25f)](),_0x358a1b[_0x3614a9(0x426)](this['_iKey']);},'update':function(_0x198ab5){const _0x5a814b=_0x3fc234;return this[_0x5a814b(0x22a)][_0x5a814b(0x426)](_0x198ab5),this;},'finalize':function(_0x4a3c6a){const _0x3682ce=_0x3fc234;var _0x1b1b0a=this[_0x3682ce(0x22a)],_0x25d6ba=_0x1b1b0a[_0x3682ce(0x29e)](_0x4a3c6a);_0x1b1b0a[_0x3682ce(0x25f)]();var _0x1b65a6=_0x1b1b0a['finalize'](this['_oKey'][_0x3682ce(0x581)]()[_0x3682ce(0x200)](_0x25d6ba));return _0x1b65a6;}});}());}));}(zt)),zt['exports'];}var ti;function ki(){const _0x807292=_0x5b1a3a;return ti||(ti=0x1,function(_0x532377,_0x33d385){(function(_0x249851,_0xa0b370,_0x433a38){const _0x4b3c4e=_0xa0d1;_0x532377[_0x4b3c4e(0x577)]=_0xa0b370(ue(),xa(),La());}(Z,function(_0x31f6ca){const _0x5c8bb3=_0xa0d1;return(function(){const _0x369623=_0xa0d1;var _0x4bd175=_0x31f6ca,_0x56a187=_0x4bd175[_0x369623(0x476)],_0x2cf331=_0x56a187[_0x369623(0x429)],_0x3efde2=_0x56a187[_0x369623(0x29c)],_0x33f54c=_0x4bd175[_0x369623(0x3b9)],_0x70847e=_0x33f54c[_0x369623(0x4bb)],_0xdb6fc0=_0x33f54c[_0x369623(0x470)]=_0x2cf331[_0x369623(0x2f0)]({'cfg':_0x2cf331[_0x369623(0x2f0)]({'keySize':0x80/0x20,'hasher':_0x70847e,'iterations':0x1}),'init':function(_0x5e67f0){const _0x2df349=_0x369623;this['cfg']=this[_0x2df349(0x3c9)][_0x2df349(0x2f0)](_0x5e67f0);},'compute':function(_0x451a32,_0x3984e1){const _0x4b347f=_0x369623;for(var _0x4946bc,_0x854442=this[_0x4b347f(0x3c9)],_0x3b6d45=_0x854442[_0x4b347f(0x373)]['create'](),_0x1d6865=_0x3efde2[_0x4b347f(0x4d7)](),_0x16cca4=_0x1d6865[_0x4b347f(0x1a3)],_0x44ad57=_0x854442[_0x4b347f(0x2cf)],_0x152006=_0x854442[_0x4b347f(0x49b)];_0x16cca4[_0x4b347f(0x29a)]<_0x44ad57;){_0x4946bc&&_0x3b6d45['update'](_0x4946bc),_0x4946bc=_0x3b6d45['update'](_0x451a32)[_0x4b347f(0x29e)](_0x3984e1),_0x3b6d45['reset']();for(var _0x549c1d=0x1;_0x549c1d<_0x152006;_0x549c1d++)_0x4946bc=_0x3b6d45[_0x4b347f(0x29e)](_0x4946bc),_0x3b6d45[_0x4b347f(0x25f)]();_0x1d6865[_0x4b347f(0x200)](_0x4946bc);}return _0x1d6865[_0x4b347f(0x44d)]=_0x44ad57*0x4,_0x1d6865;}});_0x4bd175[_0x369623(0x470)]=function(_0x3e4273,_0x559074,_0x1b4745){const _0x586a27=_0x369623;return _0xdb6fc0[_0x586a27(0x4d7)](_0x1b4745)[_0x586a27(0x338)](_0x3e4273,_0x559074);};}()),_0x31f6ca[_0x5c8bb3(0x470)];}));}(Yt)),Yt[_0x807292(0x577)];}var qt={'exports':{}},si;function Wi(){const _0x11a661=_0x5b1a3a;return si||(si=0x1,function(_0x2d60fc,_0x30dc89){(function(_0x50b49d,_0x247f4c,_0x189006){const _0x4a0191=_0xa0d1;_0x2d60fc[_0x4a0191(0x577)]=_0x247f4c(ue(),ki());}(Z,function(_0x1af35c){const _0x57dbd9=_0xa0d1;_0x1af35c[_0x57dbd9(0x476)][_0x57dbd9(0x2fa)]||function(_0x10ceda){const _0x51d3dc=_0x57dbd9;var _0x3c33f2=_0x1af35c,_0x2add35=_0x3c33f2['lib'],_0x4e1f2e=_0x2add35[_0x51d3dc(0x429)],_0x3ae9dc=_0x2add35[_0x51d3dc(0x29c)],_0x2d2ef2=_0x2add35['BufferedBlockAlgorithm'],_0x368b84=_0x3c33f2['enc'];_0x368b84[_0x51d3dc(0x4c1)];var _0x575c5d=_0x368b84[_0x51d3dc(0x272)],_0x5aae56=_0x3c33f2[_0x51d3dc(0x3b9)],_0xecf364=_0x5aae56[_0x51d3dc(0x470)],_0x24e78f=_0x2add35[_0x51d3dc(0x2fa)]=_0x2d2ef2[_0x51d3dc(0x2f0)]({'cfg':_0x4e1f2e[_0x51d3dc(0x2f0)](),'createEncryptor':function(_0x8b89f7,_0x5d20fe){const _0x29db7b=_0x51d3dc;return this[_0x29db7b(0x4d7)](this[_0x29db7b(0x261)],_0x8b89f7,_0x5d20fe);},'createDecryptor':function(_0x3c9ba6,_0x3ae5b7){const _0x557c65=_0x51d3dc;return this[_0x557c65(0x4d7)](this[_0x557c65(0x30f)],_0x3c9ba6,_0x3ae5b7);},'init':function(_0x559a42,_0x229cf2,_0x4af33b){const _0x491667=_0x51d3dc;this[_0x491667(0x3c9)]=this['cfg'][_0x491667(0x2f0)](_0x4af33b),this[_0x491667(0x380)]=_0x559a42,this[_0x491667(0x18e)]=_0x229cf2,this[_0x491667(0x25f)]();},'reset':function(){const _0x582827=_0x51d3dc;_0x2d2ef2[_0x582827(0x25f)][_0x582827(0x27f)](this),this[_0x582827(0x19b)]();},'process':function(_0x1a8200){const _0x3f8f3b=_0x51d3dc;return this[_0x3f8f3b(0x235)](_0x1a8200),this[_0x3f8f3b(0x286)]();},'finalize':function(_0x5b5a08){_0x5b5a08&&this['_append'](_0x5b5a08);var _0x2c6896=this['_doFinalize']();return _0x2c6896;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x5113dc(_0x3964a9){const _0x487570=_0xa0d1;return typeof _0x3964a9==_0x487570(0x4fa)?_0x5643b9:_0x4e7f2c;}return function(_0x5f12d4){return{'encrypt':function(_0x5ab79b,_0x9cff8b,_0x2aa136){const _0x43fade=_0xa0d1;return _0x5113dc(_0x9cff8b)[_0x43fade(0x18f)](_0x5f12d4,_0x5ab79b,_0x9cff8b,_0x2aa136);},'decrypt':function(_0x5ba163,_0x5ab6a4,_0x4e01a2){const _0x4be90a=_0xa0d1;return _0x5113dc(_0x5ab6a4)[_0x4be90a(0x54e)](_0x5f12d4,_0x5ba163,_0x5ab6a4,_0x4e01a2);}};};}())});_0x2add35['StreamCipher']=_0x24e78f[_0x51d3dc(0x2f0)]({'_doFinalize':function(){var _0x3e6c04=this['_process'](!0x0);return _0x3e6c04;},'blockSize':0x1});var _0x164b49=_0x3c33f2[_0x51d3dc(0x51d)]={},_0x20471e=_0x2add35[_0x51d3dc(0x356)]=_0x4e1f2e[_0x51d3dc(0x2f0)]({'createEncryptor':function(_0x1bb9d1,_0x458fb5){const _0x91c9bf=_0x51d3dc;return this[_0x91c9bf(0x2bf)][_0x91c9bf(0x4d7)](_0x1bb9d1,_0x458fb5);},'createDecryptor':function(_0x4b5492,_0x49f2d9){const _0x8f7743=_0x51d3dc;return this[_0x8f7743(0x1f9)][_0x8f7743(0x4d7)](_0x4b5492,_0x49f2d9);},'init':function(_0x390486,_0x240344){const _0x180aa3=_0x51d3dc;this[_0x180aa3(0x536)]=_0x390486,this['_iv']=_0x240344;}}),_0x516638=_0x164b49[_0x51d3dc(0x524)]=(function(){const _0x43e972=_0x51d3dc;var _0x1d50f8=_0x20471e[_0x43e972(0x2f0)]();_0x1d50f8['Encryptor']=_0x1d50f8['extend']({'processBlock':function(_0x303c42,_0x2575fb){const _0xa86454=_0x43e972;var _0x44bf1f=this[_0xa86454(0x536)],_0x5f0cc3=_0x44bf1f[_0xa86454(0x4f6)];_0x52070[_0xa86454(0x27f)](this,_0x303c42,_0x2575fb,_0x5f0cc3),_0x44bf1f[_0xa86454(0x523)](_0x303c42,_0x2575fb),this[_0xa86454(0x17d)]=_0x303c42['slice'](_0x2575fb,_0x2575fb+_0x5f0cc3);}}),_0x1d50f8['Decryptor']=_0x1d50f8[_0x43e972(0x2f0)]({'processBlock':function(_0x4a3aa9,_0x5a2b5a){const _0x41e86b=_0x43e972;var _0xeed8e2=this[_0x41e86b(0x536)],_0x148b37=_0xeed8e2[_0x41e86b(0x4f6)],_0x445649=_0x4a3aa9[_0x41e86b(0x223)](_0x5a2b5a,_0x5a2b5a+_0x148b37);_0xeed8e2['decryptBlock'](_0x4a3aa9,_0x5a2b5a),_0x52070['call'](this,_0x4a3aa9,_0x5a2b5a,_0x148b37),this[_0x41e86b(0x17d)]=_0x445649;}});function _0x52070(_0x301561,_0x50a410,_0x3653f2){const _0x2af76a=_0x43e972;var _0x1c40b4,_0xc08802=this[_0x2af76a(0x183)];_0xc08802?(_0x1c40b4=_0xc08802,this[_0x2af76a(0x183)]=_0x10ceda):_0x1c40b4=this['_prevBlock'];for(var _0x102e5f=0x0;_0x102e5f<_0x3653f2;_0x102e5f++)_0x301561[_0x50a410+_0x102e5f]^=_0x1c40b4[_0x102e5f];}return _0x1d50f8;}()),_0x2a5f08=_0x3c33f2['pad']={},_0xbe140d=_0x2a5f08[_0x51d3dc(0x277)]={'pad':function(_0x561acb,_0x46898a){const _0x294964=_0x51d3dc;for(var _0x2693cf=_0x46898a*0x4,_0x105b3f=_0x2693cf-_0x561acb[_0x294964(0x44d)]%_0x2693cf,_0x435052=_0x105b3f<<0x18|_0x105b3f<<0x10|_0x105b3f<<0x8|_0x105b3f,_0x2c96b9=[],_0x4bc81d=0x0;_0x4bc81d<_0x105b3f;_0x4bc81d+=0x4)_0x2c96b9[_0x294964(0x44a)](_0x435052);var _0x5936ff=_0x3ae9dc['create'](_0x2c96b9,_0x105b3f);_0x561acb['concat'](_0x5936ff);},'unpad':function(_0x73ffea){const _0x33e7a9=_0x51d3dc;var _0x397e7a=_0x73ffea[_0x33e7a9(0x1a3)][_0x73ffea[_0x33e7a9(0x44d)]-0x1>>>0x2]&0xff;_0x73ffea[_0x33e7a9(0x44d)]-=_0x397e7a;}};_0x2add35[_0x51d3dc(0x1df)]=_0x24e78f[_0x51d3dc(0x2f0)]({'cfg':_0x24e78f[_0x51d3dc(0x3c9)][_0x51d3dc(0x2f0)]({'mode':_0x516638,'padding':_0xbe140d}),'reset':function(){const _0x8ad3e5=_0x51d3dc;var _0x31b44e;_0x24e78f[_0x8ad3e5(0x25f)][_0x8ad3e5(0x27f)](this);var _0x395f3d=this[_0x8ad3e5(0x3c9)],_0x26673d=_0x395f3d['iv'],_0x3deba8=_0x395f3d[_0x8ad3e5(0x51d)];this['_xformMode']==this[_0x8ad3e5(0x261)]?_0x31b44e=_0x3deba8[_0x8ad3e5(0x568)]:(_0x31b44e=_0x3deba8[_0x8ad3e5(0x411)],this[_0x8ad3e5(0x23d)]=0x1),this[_0x8ad3e5(0x2c2)]&&this['_mode']['__creator']==_0x31b44e?this['_mode']['init'](this,_0x26673d&&_0x26673d[_0x8ad3e5(0x1a3)]):(this[_0x8ad3e5(0x2c2)]=_0x31b44e[_0x8ad3e5(0x27f)](_0x3deba8,this,_0x26673d&&_0x26673d[_0x8ad3e5(0x1a3)]),this[_0x8ad3e5(0x2c2)]['__creator']=_0x31b44e);},'_doProcessBlock':function(_0xa86406,_0x4afc63){const _0x2c7298=_0x51d3dc;this[_0x2c7298(0x2c2)][_0x2c7298(0x419)](_0xa86406,_0x4afc63);},'_doFinalize':function(){const _0x2bf261=_0x51d3dc;var _0xfb1752,_0x16cdc5=this[_0x2bf261(0x3c9)][_0x2bf261(0x434)];return this['_xformMode']==this['_ENC_XFORM_MODE']?(_0x16cdc5[_0x2bf261(0x414)](this[_0x2bf261(0x1b4)],this[_0x2bf261(0x4f6)]),_0xfb1752=this['_process'](!0x0)):(_0xfb1752=this[_0x2bf261(0x286)](!0x0),_0x16cdc5[_0x2bf261(0x27a)](_0xfb1752)),_0xfb1752;},'blockSize':0x80/0x20});var _0xd00bb9=_0x2add35[_0x51d3dc(0x240)]=_0x4e1f2e['extend']({'init':function(_0x1d0b3f){const _0x213734=_0x51d3dc;this[_0x213734(0x4e3)](_0x1d0b3f);},'toString':function(_0x306032){const _0xf175a4=_0x51d3dc;return(_0x306032||this[_0xf175a4(0x221)])[_0xf175a4(0x3d4)](this);}}),_0x6ec5e6=_0x3c33f2[_0x51d3dc(0x2e4)]={},_0x1fb68e=_0x6ec5e6[_0x51d3dc(0x416)]={'stringify':function(_0x3c3de2){const _0x270b87=_0x51d3dc;var _0x23c03e,_0x23b65c=_0x3c3de2[_0x270b87(0x3db)],_0x883b40=_0x3c3de2['salt'];return _0x883b40?_0x23c03e=_0x3ae9dc[_0x270b87(0x4d7)]([0x53616c74,0x65645f5f])['concat'](_0x883b40)[_0x270b87(0x200)](_0x23b65c):_0x23c03e=_0x23b65c,_0x23c03e[_0x270b87(0x4fb)](_0x575c5d);},'parse':function(_0x556f11){const _0x49e576=_0x51d3dc;var _0x4a2d79,_0x3e6395=_0x575c5d[_0x49e576(0x2e1)](_0x556f11),_0x351b5e=_0x3e6395[_0x49e576(0x1a3)];return _0x351b5e[0x0]==0x53616c74&&_0x351b5e[0x1]==0x65645f5f&&(_0x4a2d79=_0x3ae9dc[_0x49e576(0x4d7)](_0x351b5e[_0x49e576(0x223)](0x2,0x4)),_0x351b5e['splice'](0x0,0x4),_0x3e6395['sigBytes']-=0x10),_0xd00bb9[_0x49e576(0x4d7)]({'ciphertext':_0x3e6395,'salt':_0x4a2d79});}},_0x4e7f2c=_0x2add35[_0x51d3dc(0x376)]=_0x4e1f2e[_0x51d3dc(0x2f0)]({'cfg':_0x4e1f2e[_0x51d3dc(0x2f0)]({'format':_0x1fb68e}),'encrypt':function(_0x2bcacd,_0x149314,_0x335a1f,_0x3a7eb7){const _0x3c5444=_0x51d3dc;_0x3a7eb7=this[_0x3c5444(0x3c9)]['extend'](_0x3a7eb7);var _0x89e8ba=_0x2bcacd[_0x3c5444(0x568)](_0x335a1f,_0x3a7eb7),_0x52a2f0=_0x89e8ba[_0x3c5444(0x29e)](_0x149314),_0x555862=_0x89e8ba['cfg'];return _0xd00bb9[_0x3c5444(0x4d7)]({'ciphertext':_0x52a2f0,'key':_0x335a1f,'iv':_0x555862['iv'],'algorithm':_0x2bcacd,'mode':_0x555862[_0x3c5444(0x51d)],'padding':_0x555862[_0x3c5444(0x434)],'blockSize':_0x2bcacd['blockSize'],'formatter':_0x3a7eb7[_0x3c5444(0x2e4)]});},'decrypt':function(_0x4274e3,_0x1b7cc0,_0x28fd0c,_0x1f7184){const _0x1baf91=_0x51d3dc;_0x1f7184=this[_0x1baf91(0x3c9)][_0x1baf91(0x2f0)](_0x1f7184),_0x1b7cc0=this[_0x1baf91(0x422)](_0x1b7cc0,_0x1f7184['format']);var _0x1d5dc2=_0x4274e3[_0x1baf91(0x411)](_0x28fd0c,_0x1f7184)[_0x1baf91(0x29e)](_0x1b7cc0[_0x1baf91(0x3db)]);return _0x1d5dc2;},'_parse':function(_0x476292,_0x360438){const _0x442ec6=_0x51d3dc;return typeof _0x476292==_0x442ec6(0x4fa)?_0x360438['parse'](_0x476292,this):_0x476292;}}),_0x136960=_0x3c33f2['kdf']={},_0x1a3408=_0x136960[_0x51d3dc(0x416)]={'execute':function(_0x3b7d51,_0x41fa96,_0x3b0527,_0x28b45c,_0x40c7bd){const _0x13de20=_0x51d3dc;if(_0x28b45c||(_0x28b45c=_0x3ae9dc['random'](0x40/0x8)),_0x40c7bd)var _0x420679=_0xecf364[_0x13de20(0x4d7)]({'keySize':_0x41fa96+_0x3b0527,'hasher':_0x40c7bd})[_0x13de20(0x338)](_0x3b7d51,_0x28b45c);else var _0x420679=_0xecf364[_0x13de20(0x4d7)]({'keySize':_0x41fa96+_0x3b0527})[_0x13de20(0x338)](_0x3b7d51,_0x28b45c);var _0x37a2be=_0x3ae9dc['create'](_0x420679[_0x13de20(0x1a3)]['slice'](_0x41fa96),_0x3b0527*0x4);return _0x420679['sigBytes']=_0x41fa96*0x4,_0xd00bb9[_0x13de20(0x4d7)]({'key':_0x420679,'iv':_0x37a2be,'salt':_0x28b45c});}},_0x5643b9=_0x2add35[_0x51d3dc(0x4c7)]=_0x4e7f2c[_0x51d3dc(0x2f0)]({'cfg':_0x4e7f2c['cfg'][_0x51d3dc(0x2f0)]({'kdf':_0x1a3408}),'encrypt':function(_0x3e890d,_0x3a78e8,_0x383e9c,_0x3a82c0){const _0x1865f7=_0x51d3dc;_0x3a82c0=this[_0x1865f7(0x3c9)]['extend'](_0x3a82c0);var _0x162d2f=_0x3a82c0[_0x1865f7(0x297)][_0x1865f7(0x420)](_0x383e9c,_0x3e890d[_0x1865f7(0x2cf)],_0x3e890d[_0x1865f7(0x3af)],_0x3a82c0['salt'],_0x3a82c0[_0x1865f7(0x373)]);_0x3a82c0['iv']=_0x162d2f['iv'];var _0x14206d=_0x4e7f2c['encrypt'][_0x1865f7(0x27f)](this,_0x3e890d,_0x3a78e8,_0x162d2f[_0x1865f7(0x52e)],_0x3a82c0);return _0x14206d[_0x1865f7(0x4e3)](_0x162d2f),_0x14206d;},'decrypt':function(_0x20a242,_0x86c11e,_0x19ddfd,_0x132c06){const _0xff735d=_0x51d3dc;_0x132c06=this[_0xff735d(0x3c9)]['extend'](_0x132c06),_0x86c11e=this['_parse'](_0x86c11e,_0x132c06[_0xff735d(0x2e4)]);var _0x2e6d93=_0x132c06[_0xff735d(0x297)][_0xff735d(0x420)](_0x19ddfd,_0x20a242[_0xff735d(0x2cf)],_0x20a242[_0xff735d(0x3af)],_0x86c11e['salt'],_0x132c06[_0xff735d(0x373)]);_0x132c06['iv']=_0x2e6d93['iv'];var _0x1763b4=_0x4e7f2c[_0xff735d(0x54e)][_0xff735d(0x27f)](this,_0x20a242,_0x86c11e,_0x2e6d93[_0xff735d(0x52e)],_0x132c06);return _0x1763b4;}});}();}));}(qt)),qt[_0x11a661(0x577)];}(function(_0x512a51,_0x4c937c){(function(_0x378a0d,_0x34f217,_0x318d9a){const _0x2279f5=_0xa0d1;_0x512a51[_0x2279f5(0x577)]=_0x34f217(ue(),Bi(),Ma(),ki(),Wi());}(Z,function(_0x2829cb){const _0x3e5016=_0xa0d1;return(function(){const _0x2cc2a2=_0xa0d1;var _0x13c637=_0x2829cb,_0x1d17de=_0x13c637[_0x2cc2a2(0x476)],_0x591854=_0x1d17de[_0x2cc2a2(0x1df)],_0x3ed922=_0x13c637[_0x2cc2a2(0x3b9)],_0x506f4a=[],_0x1901b7=[],_0x2fa002=[],_0x5ae46e=[],_0x582ae0=[],_0x1f18e8=[],_0x1315e6=[],_0xa7016=[],_0xdbe9f7=[],_0x41d8b6=[];(function(){for(var _0x303e57=[],_0x568289=0x0;_0x568289<0x100;_0x568289++)_0x568289<0x80?_0x303e57[_0x568289]=_0x568289<<0x1:_0x303e57[_0x568289]=_0x568289<<0x1^0x11b;for(var _0x405a33=0x0,_0x4817c7=0x0,_0x568289=0x0;_0x568289<0x100;_0x568289++){var _0x193e60=_0x4817c7^_0x4817c7<<0x1^_0x4817c7<<0x2^_0x4817c7<<0x3^_0x4817c7<<0x4;_0x193e60=_0x193e60>>>0x8^_0x193e60&0xff^0x63,_0x506f4a[_0x405a33]=_0x193e60,_0x1901b7[_0x193e60]=_0x405a33;var _0x70f6e9=_0x303e57[_0x405a33],_0x5f3a38=_0x303e57[_0x70f6e9],_0xe79423=_0x303e57[_0x5f3a38],_0x3e8760=_0x303e57[_0x193e60]*0x101^_0x193e60*0x1010100;_0x2fa002[_0x405a33]=_0x3e8760<<0x18|_0x3e8760>>>0x8,_0x5ae46e[_0x405a33]=_0x3e8760<<0x10|_0x3e8760>>>0x10,_0x582ae0[_0x405a33]=_0x3e8760<<0x8|_0x3e8760>>>0x18,_0x1f18e8[_0x405a33]=_0x3e8760;var _0x3e8760=_0xe79423*0x1010101^_0x5f3a38*0x10001^_0x70f6e9*0x101^_0x405a33*0x1010100;_0x1315e6[_0x193e60]=_0x3e8760<<0x18|_0x3e8760>>>0x8,_0xa7016[_0x193e60]=_0x3e8760<<0x10|_0x3e8760>>>0x10,_0xdbe9f7[_0x193e60]=_0x3e8760<<0x8|_0x3e8760>>>0x18,_0x41d8b6[_0x193e60]=_0x3e8760,_0x405a33?(_0x405a33=_0x70f6e9^_0x303e57[_0x303e57[_0x303e57[_0xe79423^_0x70f6e9]]],_0x4817c7^=_0x303e57[_0x303e57[_0x4817c7]]):_0x405a33=_0x4817c7=0x1;}}());var _0x2c7924=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x12618a=_0x3ed922[_0x2cc2a2(0x4b8)]=_0x591854[_0x2cc2a2(0x2f0)]({'_doReset':function(){const _0x5d15b1=_0x2cc2a2;var _0x4e67ae;if(!(this[_0x5d15b1(0x2db)]&&this[_0x5d15b1(0x401)]===this[_0x5d15b1(0x18e)])){for(var _0x52393f=this[_0x5d15b1(0x401)]=this['_key'],_0x181151=_0x52393f['words'],_0xe4e72e=_0x52393f['sigBytes']/0x4,_0x121211=this[_0x5d15b1(0x2db)]=_0xe4e72e+0x6,_0x40dc87=(_0x121211+0x1)*0x4,_0x45ac9d=this[_0x5d15b1(0x320)]=[],_0x5d80f9=0x0;_0x5d80f9<_0x40dc87;_0x5d80f9++)_0x5d80f9<_0xe4e72e?_0x45ac9d[_0x5d80f9]=_0x181151[_0x5d80f9]:(_0x4e67ae=_0x45ac9d[_0x5d80f9-0x1],_0x5d80f9%_0xe4e72e?_0xe4e72e>0x6&&_0x5d80f9%_0xe4e72e==0x4&&(_0x4e67ae=_0x506f4a[_0x4e67ae>>>0x18]<<0x18|_0x506f4a[_0x4e67ae>>>0x10&0xff]<<0x10|_0x506f4a[_0x4e67ae>>>0x8&0xff]<<0x8|_0x506f4a[_0x4e67ae&0xff]):(_0x4e67ae=_0x4e67ae<<0x8|_0x4e67ae>>>0x18,_0x4e67ae=_0x506f4a[_0x4e67ae>>>0x18]<<0x18|_0x506f4a[_0x4e67ae>>>0x10&0xff]<<0x10|_0x506f4a[_0x4e67ae>>>0x8&0xff]<<0x8|_0x506f4a[_0x4e67ae&0xff],_0x4e67ae^=_0x2c7924[_0x5d80f9/_0xe4e72e|0x0]<<0x18),_0x45ac9d[_0x5d80f9]=_0x45ac9d[_0x5d80f9-_0xe4e72e]^_0x4e67ae);for(var _0xa6eddc=this[_0x5d15b1(0x227)]=[],_0x5dd963=0x0;_0x5dd963<_0x40dc87;_0x5dd963++){var _0x5d80f9=_0x40dc87-_0x5dd963;if(_0x5dd963%0x4)var _0x4e67ae=_0x45ac9d[_0x5d80f9];else var _0x4e67ae=_0x45ac9d[_0x5d80f9-0x4];_0x5dd963<0x4||_0x5d80f9<=0x4?_0xa6eddc[_0x5dd963]=_0x4e67ae:_0xa6eddc[_0x5dd963]=_0x1315e6[_0x506f4a[_0x4e67ae>>>0x18]]^_0xa7016[_0x506f4a[_0x4e67ae>>>0x10&0xff]]^_0xdbe9f7[_0x506f4a[_0x4e67ae>>>0x8&0xff]]^_0x41d8b6[_0x506f4a[_0x4e67ae&0xff]];}}},'encryptBlock':function(_0x2d57d6,_0x3e6cf4){const _0x561cf0=_0x2cc2a2;this[_0x561cf0(0x333)](_0x2d57d6,_0x3e6cf4,this['_keySchedule'],_0x2fa002,_0x5ae46e,_0x582ae0,_0x1f18e8,_0x506f4a);},'decryptBlock':function(_0x115649,_0x34cac9){const _0x43d070=_0x2cc2a2;var _0x3f2713=_0x115649[_0x34cac9+0x1];_0x115649[_0x34cac9+0x1]=_0x115649[_0x34cac9+0x3],_0x115649[_0x34cac9+0x3]=_0x3f2713,this[_0x43d070(0x333)](_0x115649,_0x34cac9,this['_invKeySchedule'],_0x1315e6,_0xa7016,_0xdbe9f7,_0x41d8b6,_0x1901b7);var _0x3f2713=_0x115649[_0x34cac9+0x1];_0x115649[_0x34cac9+0x1]=_0x115649[_0x34cac9+0x3],_0x115649[_0x34cac9+0x3]=_0x3f2713;},'_doCryptBlock':function(_0x380dde,_0x5a5e6b,_0x1f61bc,_0xaa45c8,_0x440059,_0xaa6e47,_0x2e9bde,_0x391482){for(var _0x4fd718=this['_nRounds'],_0x4710e8=_0x380dde[_0x5a5e6b]^_0x1f61bc[0x0],_0xb855b0=_0x380dde[_0x5a5e6b+0x1]^_0x1f61bc[0x1],_0x52e60d=_0x380dde[_0x5a5e6b+0x2]^_0x1f61bc[0x2],_0x33c306=_0x380dde[_0x5a5e6b+0x3]^_0x1f61bc[0x3],_0x311643=0x4,_0x2bbfdb=0x1;_0x2bbfdb<_0x4fd718;_0x2bbfdb++){var _0x1b7fe2=_0xaa45c8[_0x4710e8>>>0x18]^_0x440059[_0xb855b0>>>0x10&0xff]^_0xaa6e47[_0x52e60d>>>0x8&0xff]^_0x2e9bde[_0x33c306&0xff]^_0x1f61bc[_0x311643++],_0x5f3596=_0xaa45c8[_0xb855b0>>>0x18]^_0x440059[_0x52e60d>>>0x10&0xff]^_0xaa6e47[_0x33c306>>>0x8&0xff]^_0x2e9bde[_0x4710e8&0xff]^_0x1f61bc[_0x311643++],_0x48d34c=_0xaa45c8[_0x52e60d>>>0x18]^_0x440059[_0x33c306>>>0x10&0xff]^_0xaa6e47[_0x4710e8>>>0x8&0xff]^_0x2e9bde[_0xb855b0&0xff]^_0x1f61bc[_0x311643++],_0x3d23f1=_0xaa45c8[_0x33c306>>>0x18]^_0x440059[_0x4710e8>>>0x10&0xff]^_0xaa6e47[_0xb855b0>>>0x8&0xff]^_0x2e9bde[_0x52e60d&0xff]^_0x1f61bc[_0x311643++];_0x4710e8=_0x1b7fe2,_0xb855b0=_0x5f3596,_0x52e60d=_0x48d34c,_0x33c306=_0x3d23f1;}var _0x1b7fe2=(_0x391482[_0x4710e8>>>0x18]<<0x18|_0x391482[_0xb855b0>>>0x10&0xff]<<0x10|_0x391482[_0x52e60d>>>0x8&0xff]<<0x8|_0x391482[_0x33c306&0xff])^_0x1f61bc[_0x311643++],_0x5f3596=(_0x391482[_0xb855b0>>>0x18]<<0x18|_0x391482[_0x52e60d>>>0x10&0xff]<<0x10|_0x391482[_0x33c306>>>0x8&0xff]<<0x8|_0x391482[_0x4710e8&0xff])^_0x1f61bc[_0x311643++],_0x48d34c=(_0x391482[_0x52e60d>>>0x18]<<0x18|_0x391482[_0x33c306>>>0x10&0xff]<<0x10|_0x391482[_0x4710e8>>>0x8&0xff]<<0x8|_0x391482[_0xb855b0&0xff])^_0x1f61bc[_0x311643++],_0x3d23f1=(_0x391482[_0x33c306>>>0x18]<<0x18|_0x391482[_0x4710e8>>>0x10&0xff]<<0x10|_0x391482[_0xb855b0>>>0x8&0xff]<<0x8|_0x391482[_0x52e60d&0xff])^_0x1f61bc[_0x311643++];_0x380dde[_0x5a5e6b]=_0x1b7fe2,_0x380dde[_0x5a5e6b+0x1]=_0x5f3596,_0x380dde[_0x5a5e6b+0x2]=_0x48d34c,_0x380dde[_0x5a5e6b+0x3]=_0x3d23f1;},'keySize':0x100/0x20});_0x13c637[_0x2cc2a2(0x4b8)]=_0x591854[_0x2cc2a2(0x3f0)](_0x12618a);}()),_0x2829cb[_0x3e5016(0x4b8)];}));}(ji));var $a=ji[_0x5b1a3a(0x577)];const Ha=at($a);var ja=Bi();const ii=at(ja);var Fi={'exports':{}};(function(_0x267850,_0x5b8b2d){(function(_0x526861,_0x2f0d27){_0x267850['exports']=_0x2f0d27(ue());}(Z,function(_0x4a23fe){const _0x48ec9b=_0xa0d1;return _0x4a23fe[_0x48ec9b(0x1c4)][_0x48ec9b(0x4c1)];}));}(Fi));var Ba=Fi['exports'];const ka=at(Ba);var Vi={'exports':{}};(function(_0x1ff709,_0x48a0f4){(function(_0x5414a2,_0x401b2a){const _0x3b12a0=_0xa0d1;_0x1ff709[_0x3b12a0(0x577)]=_0x401b2a(ue());}(Z,function(_0x53610e){const _0xe8aa46=_0xa0d1;return(function(){const _0x1ae285=_0xa0d1;if(typeof ArrayBuffer==_0x1ae285(0x3b7)){var _0x5a337e=_0x53610e,_0x4c3e61=_0x5a337e['lib'],_0x3bc4f1=_0x4c3e61[_0x1ae285(0x29c)],_0x1186e5=_0x3bc4f1[_0x1ae285(0x1bc)],_0x15f7b4=_0x3bc4f1[_0x1ae285(0x1bc)]=function(_0x3cd29e){const _0x37cb0e=_0x1ae285;if(_0x3cd29e instanceof ArrayBuffer&&(_0x3cd29e=new Uint8Array(_0x3cd29e)),(_0x3cd29e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x3cd29e instanceof Uint8ClampedArray||_0x3cd29e instanceof Int16Array||_0x3cd29e instanceof Uint16Array||_0x3cd29e instanceof Int32Array||_0x3cd29e instanceof Uint32Array||_0x3cd29e instanceof Float32Array||_0x3cd29e instanceof Float64Array)&&(_0x3cd29e=new Uint8Array(_0x3cd29e[_0x37cb0e(0x197)],_0x3cd29e[_0x37cb0e(0x33f)],_0x3cd29e[_0x37cb0e(0x37c)])),_0x3cd29e instanceof Uint8Array){for(var _0x18bea8=_0x3cd29e['byteLength'],_0x4b53b4=[],_0x63aeaf=0x0;_0x63aeaf<_0x18bea8;_0x63aeaf++)_0x4b53b4[_0x63aeaf>>>0x2]|=_0x3cd29e[_0x63aeaf]<<0x18-_0x63aeaf%0x4*0x8;_0x1186e5[_0x37cb0e(0x27f)](this,_0x4b53b4,_0x18bea8);}else _0x1186e5[_0x37cb0e(0x561)](this,arguments);};_0x15f7b4[_0x1ae285(0x537)]=_0x3bc4f1;}}()),_0x53610e['lib'][_0xe8aa46(0x29c)];}));}(Vi));var Wa=Vi[_0x5b1a3a(0x577)];const Fa=at(Wa);var Gi={'exports':{}};(function(_0x1c3aa9,_0x5f0a82){(function(_0x44ab60,_0x5595a3,_0x3728d8){const _0xf48bec=_0xa0d1;_0x1c3aa9[_0xf48bec(0x577)]=_0x5595a3(ue(),Wi());}(Z,function(_0x3f5316){const _0x16d6d9=_0xa0d1;return _0x3f5316[_0x16d6d9(0x414)][_0x16d6d9(0x469)]={'pad':function(){},'unpad':function(){}},_0x3f5316[_0x16d6d9(0x414)]['NoPadding'];}));}(Gi));var Va=Gi['exports'];const Ga=at(Va);function Ya(_0x8bfd3d,_0x4647d5){const _0x1276d8=_0x5b1a3a,_0x270ad9=_0x4647d5-_0x8bfd3d[_0x1276d8(0x29a)]%_0x4647d5,_0x13bd1d=String[_0x1276d8(0x3a9)](_0x270ad9)[_0x1276d8(0x291)](_0x270ad9);return _0x8bfd3d+_0x13bd1d;}function Ka(_0xee8274,_0x4da9ca){const _0x566df1=_0x5b1a3a,_0x1e861a=Fa[_0x566df1(0x372)](0x10),_0x323761=Ya(_0xee8274,0x10),_0x3f9460=Ha['encrypt'](ka['parse'](_0x323761),ii[_0x566df1(0x2e1)](_0x4da9ca),{'iv':_0x1e861a,'padding':Ga});return _0x1e861a['concat'](_0x3f9460[_0x566df1(0x3db)])[_0x566df1(0x4fb)](ii);}function za(){const _0x79635e=_0x5b1a3a,_0x27997d=(typeof WorkerGlobalScope<'u'&&self instanceof WorkerGlobalScope?self:window)[_0x79635e(0x2ab)];if(_0x27997d){const _0x1f3920={'time':Math[_0x79635e(0x308)](Date[_0x79635e(0x4ad)]()/0x3e8),'domain':location[_0x79635e(0x3ce)]};return Ka(JSON['stringify'](_0x1f3920),_0x27997d);}}var qa=Object[_0x5b1a3a(0x3dc)],Xa=Object[_0x5b1a3a(0x42f)],Ja=(_0x19d708,_0x47b458,_0xa796,_0x21c091)=>{for(var _0xb8414d=_0x21c091>0x1?void 0x0:_0x21c091?Xa(_0x47b458,_0xa796):_0x47b458,_0x3d2941=_0x19d708['length']-0x1,_0x38382f;_0x3d2941>=0x0;_0x3d2941--)(_0x38382f=_0x19d708[_0x3d2941])&&(_0xb8414d=(_0x21c091?_0x38382f(_0x47b458,_0xa796,_0xb8414d):_0x38382f(_0xb8414d))||_0xb8414d);return _0x21c091&&_0xb8414d&&qa(_0x47b458,_0xa796,_0xb8414d),_0xb8414d;},Za=(_0x15f692,_0x24f926)=>(_0x3a8809,_0x2b8ba0)=>_0x24f926(_0x3a8809,_0x2b8ba0,_0x15f692);let Tt=class{constructor(_0x2d6182){const _0xfe837f=_0x5b1a3a;this['_httpService']=_0x2d6182,this[_0xfe837f(0x3bb)]();}[_0x5b1a3a(0x3bb)](){const _0x12f291=_0x5b1a3a;this[_0x12f291(0x518)][_0x12f291(0x181)]({'interceptor':(_0x2778f3,_0x2995c7)=>{const _0x29493a=_0x12f291,_0x3ef0d4=_0x2778f3[_0x29493a(0x4d3)],_0x42dc2b=za();return _0x42dc2b&&_0x3ef0d4[_0x29493a(0x18b)]('x-univer-host',_0x42dc2b),_0x2995c7(_0x2778f3);}});}};Tt=Ja([Za(0x0,_0x28839c(_0xcd006c))],Tt);var Qa=Object[_0x5b1a3a(0x3dc)],ec=Object[_0x5b1a3a(0x42f)],tc=(_0x5a91db,_0x258251,_0xe387b0,_0x5d3be2)=>{const _0x131027=_0x5b1a3a;for(var _0x51fff3=_0x5d3be2>0x1?void 0x0:_0x5d3be2?ec(_0x258251,_0xe387b0):_0x258251,_0x2c80a6=_0x5a91db[_0x131027(0x29a)]-0x1,_0x347bee;_0x2c80a6>=0x0;_0x2c80a6--)(_0x347bee=_0x5a91db[_0x2c80a6])&&(_0x51fff3=(_0x5d3be2?_0x347bee(_0x258251,_0xe387b0,_0x51fff3):_0x347bee(_0x51fff3))||_0x51fff3);return _0x5d3be2&&_0x51fff3&&Qa(_0x258251,_0xe387b0,_0x51fff3),_0x51fff3;},Xt=(_0x3ba2cd,_0x3b157e)=>(_0x212b3b,_0x54edc2)=>_0x3b157e(_0x212b3b,_0x54edc2,_0x3ba2cd);const sc=['image/png','image/jpeg',_0x5b1a3a(0x1e3),_0x5b1a3a(0x582),_0x5b1a3a(0x4d6)],ic=0x5*0x400*0x400,nc=_0x5b1a3a(0x436),rc=_0x5b1a3a(0x3b2),oc='EXCHANGE_SIGN_URL_SERVER_URL_KEY',ac=_0x5b1a3a(0x21b);let hs=class{constructor(_0x3aaa9f,_0x409a20,_0x188f12){const _0x236137=_0x5b1a3a;g(this,_0x236137(0x575),0x0),g(this,_0x236137(0x474),new _0x3709f3()),g(this,'change$',this[_0x236137(0x474)]),g(this,_0x236137(0x191),new Map()),(this[_0x236137(0x518)]=_0x3aaa9f,this['_configService']=_0x409a20,this[_0x236137(0x212)]=_0x188f12);}['setWaitCount'](_0x2be45){const _0x31f76d=_0x5b1a3a;this[_0x31f76d(0x575)]=_0x2be45,this['_change$']['next'](_0x2be45);}[_0x5b1a3a(0x1f5)](_0x157b15,_0x49e700){const _0x3ea892=_0x5b1a3a;if(_0x49e700===_0x547351[_0x3ea892(0x57c)]){const _0x2c4365=new Image();return _0x2c4365['src']=_0x157b15,_0x2c4365;}return this[_0x3ea892(0x191)][_0x3ea892(0x50f)](_0x157b15);}[_0x5b1a3a(0x566)](_0x34e441,_0x3e8920,_0x5b1acf){const _0x5e385b=_0x5b1a3a;_0x3e8920===_0x547351['BASE64']||_0x5b1acf==null||this[_0x5e385b(0x191)][_0x5e385b(0x18b)](_0x34e441,_0x5b1acf);}async[_0x5b1a3a(0x409)](_0x13f394){const _0x2c5cfd=_0x5b1a3a;try{const _0xfafca7=this[_0x2c5cfd(0x31a)](this[_0x2c5cfd(0x4cb)](),''+_0x13f394),_0x5d505e=(await this[_0x2c5cfd(0x518)][_0x2c5cfd(0x50f)](_0xfafca7))[_0x2c5cfd(0x2c7)];if(_0x5d505e[_0x2c5cfd(0x237)]&&_0x5d505e[_0x2c5cfd(0x237)]['code']===Ri['OK']){const _0x53343a=new URL(_0x5d505e[_0x2c5cfd(0x2ed)],this[_0x2c5cfd(0x31b)]())[_0x2c5cfd(0x4fb)]();return Promise[_0x2c5cfd(0x4f9)](_0x53343a);}return Promise['reject'](_0x5d505e[_0x2c5cfd(0x237)]);}catch(_0x2192d2){return Promise[_0x2c5cfd(0x406)](_0x2192d2);}}async[_0x5b1a3a(0x473)](_0x458257){const _0x36652d=_0x5b1a3a;let _0x17b648='';if(!sc['includes'](_0x458257['type']))return this[_0x36652d(0x340)](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x397)]));if(_0x458257['size']>ic)return this['_decreaseWaiting'](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x271)]));try{const _0x57f7e0=new FormData();_0x57f7e0[_0x36652d(0x563)](_0x36652d(0x2e6),_0x458257);const _0x269ca4=this[_0x36652d(0x212)]['getFocusedUnit'](),_0x31e99a=_0x269ca4==null?void 0x0:_0x269ca4[_0x36652d(0x510)]();if(!_0x31e99a)throw new Error(_0x36652d(0x3bd));const _0x2e32fa=this['_getUploadFileURL']()+_0x36652d(0x288)+_0x458257[_0x36652d(0x388)][_0x36652d(0x4fb)]()+'&source='+yi[_0x36652d(0x247)]+_0x36652d(0x39c)+encodeURIComponent(_0x31e99a),_0x242471=await(await fetch(_0x2e32fa,{'method':_0x36652d(0x186),'body':_0x57f7e0}))[_0x36652d(0x1f0)]();if(typeof _0x242471[_0x36652d(0x204)]!='string')return this[_0x36652d(0x340)](),Promise[_0x36652d(0x406)](new Error(_0x26018c[_0x36652d(0x3f6)]));_0x17b648=_0x242471[_0x36652d(0x204)];}catch{return this[_0x36652d(0x340)](),Promise['reject'](new Error(_0x26018c[_0x36652d(0x3f6)]));}return new Promise((_0x2391d9,_0x2fb828)=>{const _0x2e3c52=_0x36652d,_0x281f39=new FileReader();_0x281f39[_0x2e3c52(0x1c8)](_0x458257),_0x281f39['onload']=_0x3adef8=>{const _0x5d5a6c=_0x2e3c52;var _0x188cd2;const _0x1b8eb6=(_0x188cd2=_0x3adef8[_0x5d5a6c(0x325)])==null?void 0x0:_0x188cd2[_0x5d5a6c(0x24f)];if(_0x1b8eb6==null){this['_decreaseWaiting'](),_0x2fb828(new Error(_0x26018c['ERROR_IMAGE']));return;}const _0x1d0932=_0x9e8b08[_0x5d5a6c(0x19a)](0x6);_0x2391d9({'imageId':_0x1d0932,'imageSourceType':_0x547351[_0x5d5a6c(0x38e)],'source':_0x17b648,'base64Cache':_0x1b8eb6,'status':_0x26018c[_0x5d5a6c(0x31f)]}),this['_decreaseWaiting']();};});}['_getUploadFileURL'](){const _0x2a0e98=_0x5b1a3a;var _0xc89707,_0x239597;const _0x5f2db3=this[_0x2a0e98(0x4c4)]['getConfig'](nc),_0x2e4f64=this[_0x2a0e98(0x4c4)]['getConfig'](ie);return(_0x239597=(_0xc89707=_0x2e4f64==null?void 0x0:_0x2e4f64[_0x2a0e98(0x236)])!=null?_0xc89707:_0x5f2db3)!=null?_0x239597:rc;}[_0x5b1a3a(0x4cb)](){const _0x15da80=_0x5b1a3a;var _0x342794,_0x4b8d8f;const _0x59d1fa=this[_0x15da80(0x4c4)][_0x15da80(0x451)](oc),_0x194cc0=this[_0x15da80(0x4c4)][_0x15da80(0x451)](ie);return(_0x4b8d8f=(_0x342794=_0x194cc0==null?void 0x0:_0x194cc0['signUrlServerUrl'])!=null?_0x342794:_0x59d1fa)!=null?_0x4b8d8f:ac;}[_0x5b1a3a(0x31b)](){const _0x1601f4=_0x5b1a3a;var _0x28140c;const _0x59c7c3=this[_0x1601f4(0x4c4)][_0x1601f4(0x451)](ie);return(_0x28140c=_0x59c7c3==null?void 0x0:_0x59c7c3[_0x1601f4(0x185)])!=null?_0x28140c:location[_0x1601f4(0x497)];}[_0x5b1a3a(0x31a)](_0x2f6458,_0x4232b6){const _0x560bc4=_0x5b1a3a;return _0x2f6458[_0x560bc4(0x38c)]('{fileID}',_0x4232b6);}[_0x5b1a3a(0x340)](){const _0x430e93=_0x5b1a3a;this[_0x430e93(0x575)]-=0x1,this['_change$']['next'](this[_0x430e93(0x575)]);}};hs=tc([Xt(0x0,_0x28839c(_0xcd006c)),Xt(0x1,_0x5d6cbd),Xt(0x2,_0x28839c(_0x578cb))],hs);var cc=Object[_0x5b1a3a(0x3dc)],hc=Object[_0x5b1a3a(0x42f)],lc=(_0x49967d,_0x405b9e,_0x599a69,_0x5ee853)=>{const _0x41cdec=_0x5b1a3a;for(var _0x10d10b=_0x5ee853>0x1?void 0x0:_0x5ee853?hc(_0x405b9e,_0x599a69):_0x405b9e,_0x4748da=_0x49967d[_0x41cdec(0x29a)]-0x1,_0xc7e380;_0x4748da>=0x0;_0x4748da--)(_0xc7e380=_0x49967d[_0x4748da])&&(_0x10d10b=(_0x5ee853?_0xc7e380(_0x405b9e,_0x599a69,_0x10d10b):_0xc7e380(_0x10d10b))||_0x10d10b);return _0x5ee853&&_0x10d10b&&cc(_0x405b9e,_0x599a69,_0x10d10b),_0x10d10b;},Qe=(_0x2161c6,_0x4395bf)=>(_0x4fab91,_0x67bf6e)=>_0x4395bf(_0x4fab91,_0x67bf6e,_0x2161c6);let Rt=class extends _0x203b2a{constructor(_0x27373c,_0x27be44,_0x5d1da0,_0x359c14,_0x474ae9){const _0x25814f=_0x5b1a3a;super(),this[_0x25814f(0x4e1)]=_0x27373c,this[_0x25814f(0x212)]=_0x27be44,this[_0x25814f(0x218)]=_0x5d1da0,this['_collaborationSessionService']=_0x359c14,this[_0x25814f(0x273)]=_0x474ae9,this[_0x25814f(0x1cf)](),this['_initCloseConn']();}[_0x5b1a3a(0x241)](){const _0x3c46aa=_0x5b1a3a,_0x29909f=async _0x3f2a51=>{const _0x14fef4=_0xa0d1;(await this[_0x14fef4(0x4cf)][_0x14fef4(0x312)](_0x3f2a51))['event$'][_0x14fef4(0x1ff)](_0x63bf9c(_0x185bd9=>_0x185bd9[_0x14fef4(0x3b5)]===_0x2f5341[_0x14fef4(0x477)]),_0x3c36f4(this['dispose$']))[_0x14fef4(0x570)](_0x20bbf2=>{const _0x5830a9=_0x14fef4,_0x2bbc13=_0x20bbf2,{reason:_0x52c4fe}=_0x2bbc13[_0x5830a9(0x529)];this['_injector'][_0x5830a9(0x50f)](_0x496a91)[_0x5830a9(0x3c1)]({'type':_0x47c858['Error'],'content':this[_0x5830a9(0x273)]['t'](_0x5830a9(0x26c))+'('+_0x52c4fe+')'}),this[_0x5830a9(0x218)][_0x5830a9(0x199)](new _0x192248(_0x3f2a51)['id'],!0x1),this[_0x5830a9(0x4cf)][_0x5830a9(0x2e3)](_0x3f2a51);});};_0x28a5b0(this[_0x3c46aa(0x212)][_0x3c46aa(0x1b0)](_0x1bbc53[_0x3c46aa(0x24e)]),this[_0x3c46aa(0x212)][_0x3c46aa(0x1b0)](_0x1bbc53['UNIVER_DOC']))['pipe'](_0xd46654(_0x13dedd=>_0x13dedd[_0x3c46aa(0x510)]()),_0x63bf9c(_0x39e58b=>!_0x1a81fa(_0x39e58b)),_0x3c36f4(this['dispose$']))[_0x3c46aa(0x570)](_0x7c1dec=>{_0x29909f(_0x7c1dec);});}[_0x5b1a3a(0x1cf)](){const _0x20267e=_0x5b1a3a,_0x1f7188=async _0x1b365d=>{const _0x4dc086=_0xa0d1;(await this['_collaborationSessionService'][_0x4dc086(0x312)](_0x1b365d))[_0x4dc086(0x425)]['pipe'](_0x63bf9c(_0x1d69f7=>_0x1d69f7[_0x4dc086(0x3b5)]===_0x2f5341[_0x4dc086(0x527)]),_0x3c36f4(this['dispose$']))[_0x4dc086(0x570)](_0x1e78be=>{const _0x58e642=_0x4dc086,_0x4971f9=_0x1e78be,{objectId:_0x2b3a07}=_0x4971f9[_0x58e642(0x529)],_0x16deb4=this[_0x58e642(0x4e1)][_0x58e642(0x50f)](_0x3f0d67);_0x2b3a07===_0x1b365d?_0x16deb4[_0x58e642(0x495)](_0x1b365d):_0x16deb4['refreshPermission'](_0x1b365d,_0x2b3a07);});};_0x28a5b0(this[_0x20267e(0x212)][_0x20267e(0x1b0)](_0x1bbc53[_0x20267e(0x24e)]),this[_0x20267e(0x212)]['getTypeOfUnitAdded$'](_0x1bbc53[_0x20267e(0x1f2)]))['pipe'](_0xd46654(_0x3564ce=>_0x3564ce[_0x20267e(0x510)]()),_0x63bf9c(_0x30c212=>!_0x1a81fa(_0x30c212)),_0x3c36f4(this[_0x20267e(0x431)]))[_0x20267e(0x570)](_0x4424ce=>{_0x1f7188(_0x4424ce);});}};Rt=lc([Qe(0x0,_0x28839c(_0x1027b3)),Qe(0x1,_0x578cb),Qe(0x2,_0x2da20a),Qe(0x3,_0x28839c(Ae)),Qe(0x4,_0x28839c(_0x173a06))],Rt);var _c=Object[_0x5b1a3a(0x3dc)],uc=Object[_0x5b1a3a(0x42f)],dc=(_0x23c4d5,_0x4e34c6,_0x5ca3a9,_0x22e4e5)=>{const _0x26b235=_0x5b1a3a;for(var _0x5376c6=_0x22e4e5>0x1?void 0x0:_0x22e4e5?uc(_0x4e34c6,_0x5ca3a9):_0x4e34c6,_0x33678b=_0x23c4d5[_0x26b235(0x29a)]-0x1,_0x173f18;_0x33678b>=0x0;_0x33678b--)(_0x173f18=_0x23c4d5[_0x33678b])&&(_0x5376c6=(_0x22e4e5?_0x173f18(_0x4e34c6,_0x5ca3a9,_0x5376c6):_0x173f18(_0x5376c6))||_0x5376c6);return _0x22e4e5&&_0x5376c6&&_c(_0x4e34c6,_0x5ca3a9,_0x5376c6),_0x5376c6;},ni=(_0x3a1aa7,_0x239dfd)=>(_0x4404e3,_0x3cb1df)=>_0x239dfd(_0x4404e3,_0x3cb1df,_0x3a1aa7);let ls=class{constructor(_0x3b03b2,_0x4ebdf6){const _0x549d06=_0x5b1a3a;this['_configService']=_0x3b03b2,this[_0x549d06(0x518)]=_0x4ebdf6;}async[_0x5b1a3a(0x47a)](_0x3bfea7,_0xfec778){const _0x1e9ca6=_0x5b1a3a;var _0x267db9;const {unitID:_0x1ec0dc,type:_0x2e6c98,revision:_0x1f8b15=0x0}=_0xfec778,_0x1b9138=this[_0x1e9ca6(0x34e)]()+'/'+_0x2e6c98+_0x1e9ca6(0x1f3)+_0x1ec0dc+'/rev/'+_0x1f8b15,_0xad299e=(await this[_0x1e9ca6(0x518)][_0x1e9ca6(0x50f)](_0x1b9138))['body'],_0xa14a4f=(_0x267db9=_0xad299e[_0x1e9ca6(0x54d)])==null?void 0x0:_0x267db9['workbook'];if(_0xa14a4f){const _0x2880d7=_0xa14a4f==null?void 0x0:_0xa14a4f[_0x1e9ca6(0x33b)],_0x204778=_0xe06896[_0x1e9ca6(0x1cb)](_0x4043bf(_0x2880d7));_0xa14a4f[_0x1e9ca6(0x33b)]=_0x204778,Object[_0x1e9ca6(0x1e4)](_0xa14a4f[_0x1e9ca6(0x330)])[_0x1e9ca6(0x2a1)](([,_0x2097a8])=>{const _0x33e113=_0x1e9ca6,_0x513700=_0x2097a8[_0x33e113(0x33b)],_0x3baf69=_0xe06896[_0x33e113(0x1cb)](_0x4043bf(_0x513700));_0x2097a8['originalMeta']=_0x3baf69;});}return _0xad299e;}async[_0x5b1a3a(0x2ba)](_0x176abe,_0x3223cb){const _0x43777b=_0x5b1a3a,{unitID:_0x5edfc0,type:_0x18cc01,blockID:_0x3bda15}=_0x3223cb,_0x3ca963=this[_0x43777b(0x407)]()+'/'+_0x18cc01+_0x43777b(0x1f3)+_0x5edfc0+_0x43777b(0x1c9)+_0x3bda15;return(await this['_httpService']['get'](_0x3ca963))[_0x43777b(0x2c7)];}async['getDeserializedSheetBlock'](_0xd79f17,_0x17b427){const _0x4ed643=_0x5b1a3a,{unitID:_0x1534af,type:_0x463604,blockID:_0x2a47a3}=_0x17b427,_0x5adde6=this[_0x4ed643(0x407)]()+'/block/'+_0x463604+'/unit/'+_0x1534af+'/block/'+_0x2a47a3;return(await this[_0x4ed643(0x518)][_0x4ed643(0x50f)](_0x5adde6))[_0x4ed643(0x2c7)];}async['fetchMissingChangesets'](_0xe68e02,_0x58b447){const _0x10d238=_0x5b1a3a,{unitID:_0x270f29,type:_0x442afd,from:_0x435ac3,to:_0x47408e}=_0x58b447,_0x5469d5=this[_0x10d238(0x407)]()+'/'+_0x442afd+_0x10d238(0x1f3)+_0x270f29+_0x10d238(0x55c)+_0x435ac3+_0x10d238(0x1f6)+_0x47408e;return(await this[_0x10d238(0x518)][_0x10d238(0x50f)](_0x5469d5))[_0x10d238(0x2c7)];}[_0x5b1a3a(0x34e)](){const _0xeeeed5=_0x5b1a3a;var _0x18bebb;return(_0x18bebb=this[_0xeeeed5(0x4c4)][_0xeeeed5(0x451)](ar))!=null?_0x18bebb:this['_getAPIPrefix']();}[_0x5b1a3a(0x407)](){const _0x1041e3=_0x5b1a3a;var _0x13554b,_0x30d164;const _0x11d541=this['_configService'][_0x1041e3(0x451)](rr),_0x42a38b=this[_0x1041e3(0x4c4)][_0x1041e3(0x451)](ie);return(_0x30d164=(_0x13554b=_0x42a38b==null?void 0x0:_0x42a38b[_0x1041e3(0x478)])!=null?_0x13554b:_0x11d541)!=null?_0x30d164:or;}async[_0x5b1a3a(0x466)](_0x1068f1,_0x535e1a){const _0x38a738=_0x5b1a3a,_0x321c78=_0x38a738(0x48c)+_0x535e1a['type']+_0x38a738(0x1f3)+_0x535e1a[_0x38a738(0x41c)]+_0x38a738(0x315);return(await this[_0x38a738(0x518)][_0x38a738(0x50f)](_0x321c78,{'params':{'resourceId':JSON[_0x38a738(0x3d4)](_0x535e1a[_0x38a738(0x4bc)])}}))[_0x38a738(0x2c7)];}[_0x5b1a3a(0x3f1)](){const _0x3fdf61=_0x5b1a3a;throw new Error(_0x3fdf61(0x4ca));}[_0x5b1a3a(0x2b3)](){const _0x1bf3ff=_0x5b1a3a;throw new Error(_0x1bf3ff(0x4ca));}[_0x5b1a3a(0x28c)](){const _0x51efa7=_0x5b1a3a;throw new Error(_0x51efa7(0x4ca));}[_0x5b1a3a(0x465)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x5b1a3a(0x1b7)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}};ls=dc([ni(0x0,_0x5d6cbd),ni(0x1,_0x28839c(_0xcd006c))],ls);var fc=Object['defineProperty'],vc=Object[_0x5b1a3a(0x42f)],mc=(_0x8f0a1,_0x46a6d4,_0xc7cd2f,_0x14fd8d)=>{const _0x4ad87c=_0x5b1a3a;for(var _0x53e0b4=_0x14fd8d>0x1?void 0x0:_0x14fd8d?vc(_0x46a6d4,_0xc7cd2f):_0x46a6d4,_0x4be772=_0x8f0a1[_0x4ad87c(0x29a)]-0x1,_0x1ef7cb;_0x4be772>=0x0;_0x4be772--)(_0x1ef7cb=_0x8f0a1[_0x4be772])&&(_0x53e0b4=(_0x14fd8d?_0x1ef7cb(_0x46a6d4,_0xc7cd2f,_0x53e0b4):_0x1ef7cb(_0x53e0b4))||_0x53e0b4);return _0x14fd8d&&_0x53e0b4&&fc(_0x46a6d4,_0xc7cd2f,_0x53e0b4),_0x53e0b4;},et=(_0x32b8f6,_0x4c8f32)=>(_0x56cda2,_0x595d37)=>_0x4c8f32(_0x56cda2,_0x595d37,_0x32b8f6);let _s=class extends _0x274670{constructor(_0x195247,_0x4ae914,_0x223d20,_0x183015,_0x3ea160){const _0xc933bb=_0x5b1a3a;super(_0x195247,_0x4ae914,_0x223d20),this[_0xc933bb(0x427)]=_0x183015,this['_logService']=_0x3ea160;}[_0x5b1a3a(0x1ea)](_0x392346,_0x554aa7){const _0x746f77=_0x5b1a3a,_0x3881e7=this[_0x746f77(0x3bf)](_0x392346);if(_0x3881e7)try{const _0x5894f6=this['_transformStack'](_0x3881e7,_0x554aa7);this['_substituteUndoStack'](_0x392346,_0x5894f6);}catch(_0xd49ac0){this[_0x746f77(0x2b5)]['error'](_0x746f77(0x4d0),_0xd49ac0),this[_0x746f77(0x4eb)](_0x392346);}const _0x203aa3=this[_0x746f77(0x44c)](_0x392346);if(_0x203aa3)try{const _0x25b0ee=this[_0x746f77(0x244)](_0x203aa3,_0x554aa7);this['_substituteRedoStack'](_0x392346,_0x25b0ee);}catch(_0x33d163){this[_0x746f77(0x2b5)][_0x746f77(0x237)](_0x33d163),this[_0x746f77(0x1d3)](_0x392346);}}[_0x5b1a3a(0x4eb)](_0x14a5b8){const _0xa8bf14=_0x5b1a3a,_0x19612f=this[_0xa8bf14(0x3bf)](_0x14a5b8);_0x19612f&&(_0x19612f['length']=0x0,this[_0xa8bf14(0x43b)]());}[_0x5b1a3a(0x1d3)](_0x1569ca){const _0x5c529d=_0x5b1a3a,_0x19b7a2=this[_0x5c529d(0x44c)](_0x1569ca);_0x19b7a2&&(_0x19b7a2[_0x5c529d(0x29a)]=0x0,this[_0x5c529d(0x43b)]());}[_0x5b1a3a(0x39a)](_0x10745e,_0x4a9e55){const _0x41ef7d=_0x5b1a3a;this[_0x41ef7d(0x43e)][_0x41ef7d(0x18b)](_0x10745e,_0x4a9e55),this[_0x41ef7d(0x43b)]();}['_substituteRedoStack'](_0x4e2396,_0x4074b3){const _0x19d493=_0x5b1a3a;this['_redoStacks'][_0x19d493(0x18b)](_0x4e2396,_0x4074b3),this[_0x19d493(0x43b)]();}['_transformStack'](_0x29efa4,_0x162404){const _0x79ef49=_0x5b1a3a,_0x253298=[];let _0x81be79=_0x162404,_0x20e0d0=_0x162404;for(let _0x748365=_0x29efa4['length']-0x1;_0x748365>=0x0;_0x748365--){const {unitID:_0x21186b,undoMutations:_0x149e57,redoMutations:_0xba637e}=_0x29efa4[_0x748365],_0x43accc=this[_0x79ef49(0x427)]['transformMutationsWithChangeset'](_0x81be79,_0x149e57),_0x43e448=this['_transformService'][_0x79ef49(0x280)](_0x20e0d0,_0xba637e);if(_0x514ce0(_0x43accc)||_0x514ce0(_0x43e448)){this[_0x79ef49(0x2b5)][_0x79ef49(0x237)](_0x79ef49(0x4d0),_0x79ef49(0x467),_0x43accc,_0x43e448);break;}_0x81be79=_0x43accc['c1Prime'],_0x20e0d0=_0x43e448[_0x79ef49(0x45a)],_0x253298[_0x79ef49(0x44a)]({'unitID':_0x21186b,'undoMutations':_0x43accc[_0x79ef49(0x4c8)],'redoMutations':_0x43e448[_0x79ef49(0x4c8)]});}return _0x253298[_0x79ef49(0x52d)]();}};_s=mc([et(0x0,_0x578cb),et(0x1,_0x10ec6b),et(0x2,_0x3f60de),et(0x3,_0xef8dcd),et(0x4,_0x418a3e)],_s);class pc extends _0x203b2a{constructor(){const _0x5bab46=_0x5b1a3a;super(),g(this,'urlChange$'),this[_0x5bab46(0x2bb)]=_0xcd07a4(window,_0x5bab46(0x3d6))[_0x5bab46(0x1ff)](_0x3b6332(this['dispose$']),_0x16cb04(0x1),_0x6f237d(void 0x0));}[_0x5b1a3a(0x1d1)](_0x1bd36e,_0x57eb80,_0x4f722b=!0x1){const _0x51e717=_0x5b1a3a,_0x51728e=new URL(window[_0x51e717(0x4c3)][_0x51e717(0x3ad)]);_0x51728e['searchParams'][_0x51e717(0x18b)](_0x1bd36e,_0x57eb80),_0x4f722b?window[_0x51e717(0x2c4)][_0x51e717(0x42a)]('','',_0x51728e[_0x51e717(0x4fb)]()):window['history'][_0x51e717(0x2b9)]('','',_0x51728e[_0x51e717(0x4fb)]());}['removeParam'](_0x2af169,_0x1cc57d=!0x1){const _0x2d7882=_0x5b1a3a,_0x37ec65=new URL(window[_0x2d7882(0x4c3)][_0x2d7882(0x3ad)]);_0x37ec65['searchParams'][_0x2d7882(0x3a1)](_0x2af169),_0x1cc57d?window[_0x2d7882(0x2c4)][_0x2d7882(0x42a)]('','',_0x37ec65[_0x2d7882(0x4fb)]()):window['history'][_0x2d7882(0x2b9)]('','',_0x37ec65[_0x2d7882(0x4fb)]());}[_0x5b1a3a(0x509)](_0x40a4e3){const _0x3b1503=_0x5b1a3a;var _0x49d1f0;return(_0x49d1f0=new URL(window['location'][_0x3b1503(0x3ad)])[_0x3b1503(0x37f)][_0x3b1503(0x50f)](_0x40a4e3))!=null?_0x49d1f0:void 0x0;}}var Yi=Object[_0x5b1a3a(0x3dc)],gc=Object['getOwnPropertyDescriptor'],Sc=(_0x5a17c8,_0x1f4588,_0x9934fa)=>_0x1f4588 in _0x5a17c8?Yi(_0x5a17c8,_0x1f4588,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9934fa}):_0x5a17c8[_0x1f4588]=_0x9934fa,Ic=(_0x479fd7,_0x247eef,_0x2a158b,_0xca1da3)=>{const _0x180409=_0x5b1a3a;for(var _0x5c67d5=_0xca1da3>0x1?void 0x0:_0xca1da3?gc(_0x247eef,_0x2a158b):_0x247eef,_0x49d2ff=_0x479fd7[_0x180409(0x29a)]-0x1,_0x3b9b49;_0x49d2ff>=0x0;_0x49d2ff--)(_0x3b9b49=_0x479fd7[_0x49d2ff])&&(_0x5c67d5=(_0xca1da3?_0x3b9b49(_0x247eef,_0x2a158b,_0x5c67d5):_0x3b9b49(_0x5c67d5))||_0x5c67d5);return _0xca1da3&&_0x5c67d5&&Yi(_0x247eef,_0x2a158b,_0x5c67d5),_0x5c67d5;},_t=(_0xad6b54,_0x10d359)=>(_0x1836a4,_0x300452)=>_0x10d359(_0x1836a4,_0x300452,_0xad6b54),Cc=(_0x44cef8,_0x16c6c7,_0x1ad695)=>Sc(_0x44cef8,_0x16c6c7+'',_0x1ad695);const Ec=_0x5b1a3a(0x551);let us=class extends _0xa4cbe6{constructor(_0x26c041=Er,_0x2d790f,_0x8052a9,_0x884f26,_0x256fc5){const _0x4e8083=_0x5b1a3a;super(),this['_config']=_0x26c041,this[_0x4e8083(0x2b5)]=_0x2d790f,this[_0x4e8083(0x3c3)]=_0x8052a9,this['_injector']=_0x884f26,this[_0x4e8083(0x4c4)]=_0x256fc5;const {..._0x1d8102}=this[_0x4e8083(0x3a6)];this[_0x4e8083(0x4c4)]['setConfig'](ie,_0x1d8102);}['onStarting'](){const _0x107baa=_0x5b1a3a;this[_0x107baa(0x454)](),this[_0x107baa(0x3ba)]();}['onReady'](){const _0x2d41f2=_0x5b1a3a;_0x40637e(this[_0x2d41f2(0x4e1)],[[Et]]);}[_0x5b1a3a(0x2a6)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x5632ec=_0x5b1a3a;var _0x4d93d0,_0x52937d,_0x217888,_0x1928b9;this['_injector'][_0x5632ec(0x2fd)](_0x1ffd7c)&&this[_0x5632ec(0x2b5)][_0x5632ec(0x237)](_0x5632ec(0x302),_0x5632ec(0x341));const _0x18c2f6=[[_0x1ffd7c,{'useClass':_s}],[Ae],[bs],[Hi,{'useClass':pc}],[Ne],[q],[_0x159ac7],[mt],[gt],[vt],[pt],[Cs],[bt],[Tt],[wi],[Rt],[Oi,{'useClass':(_0x52937d=(_0x4d93d0=this['_config'])==null?void 0x0:_0x4d93d0[_0x5632ec(0x53e)])!=null?_0x52937d:es}],[_0x5c5d27,{'useClass':ls}],[_0x35c722,{'useClass':cs}],[_0x56a5b0,{'useClass':hs}],[it],[Ct],[It],[Et],[Ve]];(_0x217888=this[_0x5632ec(0x3a6)])!=null&&_0x217888['enableSingleActiveInstanceLock']&&_0x18c2f6[_0x5632ec(0x44a)]([yt,{'useClass':so}]),_0x2d8432(this['_injector'],_0x1aae49(_0x18c2f6,(_0x1928b9=this['_config'])==null?void 0x0:_0x1928b9['override']));}[_0x5b1a3a(0x370)](){const _0x5b527c=_0x5b1a3a;this[_0x5b527c(0x4b9)](this[_0x5b527c(0x3c3)]['registerRenderModule'](_0x1bbc53[_0x5b527c(0x1f2)],[os])),this[_0x5b527c(0x4b9)](this[_0x5b527c(0x3c3)][_0x5b527c(0x413)](_0x1bbc53[_0x5b527c(0x24e)],[as]));}[_0x5b1a3a(0x3ba)](){const _0x40675d=_0x5b1a3a;var _0x4cc70d,_0x3cec78;this['_injector']['get'](_0xcd006c)[_0x40675d(0x181)]({'priority':0x14,'interceptor':_0x44ad5f({'maxParallel':0x6})}),(_0x4cc70d=this['_config'])!=null&&_0x4cc70d[_0x40675d(0x27e)]||this[_0x40675d(0x4e1)][_0x40675d(0x50f)](q)[_0x40675d(0x56f)](),(_0x3cec78=this[_0x40675d(0x3a6)])!=null&&_0x3cec78[_0x40675d(0x299)]&&_0x40637e(this[_0x40675d(0x4e1)],[[bt]]),_0x40637e(this[_0x40675d(0x4e1)],[[Tt],[Ve],[Ct],[it],[It],[Rt]]);}};Cc(us,_0x5b1a3a(0x4ac),Ec),us=Ic([_0xc3155c(_0x2bcdf9,_0x1a0e26),_t(0x1,_0x418a3e),_t(0x2,_0x47f498),_t(0x3,_0x28839c(_0x1027b3)),_t(0x4,_0x5d6cbd)],us);export{Ua as AUTHZ_URL_KEY,cs as AuthzIoHttpService,gr as COLLAB_SUBMIT_CHANGESET_URL_KEY,hr as COLLAB_WEB_SOCKET_URL_KEY,it as CollaborationController,St as CollaborationEntity,ts as CollaborationSession,Ae as CollaborationSessionService,es as CollaborationSocketService,J as CollaborationStatus,ua as CollaborationStatusDisplay,wi as CommentService,Ct as DataLoaderController,It as DesktopCollaborationStatusDisplayController,ss as DocCollaborationEntity,_r as HEARTBEAT_INTERVAL_KEY,bi as HEARTBEAT_TIMEOUT_KEY,Oi as ICollaborationSocketService,Hi as IURLService,hs as ImageIoService,mr as LOCAL_CACHE_INTERVAL_KEY,Ir as LOGIN_URL_KEY,q as LocalCacheService,Ne as MemberService,fr as RETRY_CONNECTING_MAX_COUNT_KEY,kc as SEND_CHANGESET_TIMEOUT_KEY,rr as SNAPSHOT_SERVER_URL_KEY,ar as SNAPSHOT_URL_KEY,ve as SessionStatus,Ko as SheetCollabCursorShape,is as SheetCollaborationEntity,ls as SnapshotServerOverHTTPService,us as UniverCollaborationClientPlugin,pc as WebURLService,br as deserializeToCombResponse,Tr as serializeCombRequest};
|